@oiz/stzh-components 2.6.0-beta → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/dist/cjs/{app-globals-b9f31c77.js → app-globals-4dcdf160.js} +2 -2
  2. package/dist/cjs/{app-globals-b9f31c77.js.map → app-globals-4dcdf160.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-actions.cjs.entry.js +1 -5
  6. package/dist/cjs/stzh-actions.cjs.entry.js.map +1 -1
  7. package/dist/cjs/stzh-actionset.cjs.entry.js +2 -2
  8. package/dist/cjs/stzh-actionset.cjs.entry.js.map +1 -1
  9. package/dist/cjs/stzh-amount.cjs.entry.js +43 -13
  10. package/dist/cjs/stzh-amount.cjs.entry.js.map +1 -1
  11. package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -2
  12. package/dist/cjs/stzh-badge_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/stzh-checkbox.cjs.entry.js.map +1 -1
  14. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js.map +1 -1
  15. package/dist/cjs/stzh-components.cjs.js +2 -2
  16. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  17. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
  19. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js.map +1 -1
  21. package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
  22. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-invert.cjs.entry.js.map +1 -1
  24. package/dist/cjs/stzh-toggle.cjs.entry.js.map +1 -1
  25. package/dist/cjs/stzh-upload.cjs.entry.js +19 -7
  26. package/dist/cjs/stzh-upload.cjs.entry.js.map +1 -1
  27. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -5
  28. package/dist/collection/components/stzh-actions/stzh-actions.js.map +1 -1
  29. package/dist/collection/components/stzh-actionset/stzh-actionset.js +2 -2
  30. package/dist/collection/components/stzh-actionset/stzh-actionset.js.map +1 -1
  31. package/dist/collection/components/stzh-amount/stzh-amount.css +1 -0
  32. package/dist/collection/components/stzh-amount/stzh-amount.js +75 -23
  33. package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
  34. package/dist/collection/components/stzh-amount/stzh-amount.stories.js +15 -1
  35. package/dist/collection/components/stzh-button/stzh-button.css +2 -2
  36. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  37. package/dist/collection/components/stzh-button/stzh-button.js.map +1 -1
  38. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +1 -1
  39. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js.map +1 -1
  40. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +1 -1
  41. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js.map +1 -1
  42. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -1
  43. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
  44. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1 -1
  45. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  46. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +4 -4
  47. package/dist/collection/components/stzh-input/stzh-input.js +1 -1
  48. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  49. package/dist/collection/components/stzh-invert/stzh-invert.css +2 -2
  50. package/dist/collection/components/stzh-radio/stzh-radio.js +1 -1
  51. package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
  52. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +1 -1
  53. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
  54. package/dist/collection/components/stzh-toggle/stzh-toggle.js +1 -1
  55. package/dist/collection/components/stzh-toggle/stzh-toggle.js.map +1 -1
  56. package/dist/collection/components/stzh-upload/stzh-upload.js +53 -3
  57. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  58. package/dist/collection/index.js.map +1 -1
  59. package/dist/collection/libraries/dropzone/dropzone-amd-module.js +11 -5
  60. package/dist/collection/libraries/dropzone/dropzone.js +11 -5
  61. package/dist/collection/libraries/dropzone/min/dropzone-amd-module.min.js +1 -1
  62. package/dist/collection/libraries/dropzone/min/dropzone.min.js +1 -1
  63. package/dist/components/index.js +1 -1
  64. package/dist/components/index2.js.map +1 -1
  65. package/dist/components/stzh-actions.js +1 -5
  66. package/dist/components/stzh-actions.js.map +1 -1
  67. package/dist/components/stzh-actionset2.js +2 -2
  68. package/dist/components/stzh-actionset2.js.map +1 -1
  69. package/dist/components/stzh-amount.js +52 -22
  70. package/dist/components/stzh-amount.js.map +1 -1
  71. package/dist/components/stzh-button2.js +2 -2
  72. package/dist/components/stzh-button2.js.map +1 -1
  73. package/dist/components/stzh-checkbox.js.map +1 -1
  74. package/dist/components/stzh-checkboxgroup.js.map +1 -1
  75. package/dist/components/stzh-datepicker2.js.map +1 -1
  76. package/dist/components/stzh-dropdown2.js +1 -1
  77. package/dist/components/stzh-dropdown2.js.map +1 -1
  78. package/dist/components/stzh-ghettobox2.js +1 -1
  79. package/dist/components/stzh-ghettobox2.js.map +1 -1
  80. package/dist/components/stzh-input2.js.map +1 -1
  81. package/dist/components/stzh-invert.js +1 -1
  82. package/dist/components/stzh-invert.js.map +1 -1
  83. package/dist/components/stzh-radio2.js.map +1 -1
  84. package/dist/components/stzh-radiogroup2.js.map +1 -1
  85. package/dist/components/stzh-toggle.js.map +1 -1
  86. package/dist/components/stzh-upload.js +22 -8
  87. package/dist/components/stzh-upload.js.map +1 -1
  88. package/dist/esm/{app-globals-0c7feedc.js → app-globals-91875913.js} +2 -2
  89. package/dist/esm/{app-globals-0c7feedc.js.map → app-globals-91875913.js.map} +1 -1
  90. package/dist/esm/index.js.map +1 -1
  91. package/dist/esm/loader.js +2 -2
  92. package/dist/esm/stzh-actions.entry.js +1 -5
  93. package/dist/esm/stzh-actions.entry.js.map +1 -1
  94. package/dist/esm/stzh-actionset.entry.js +2 -2
  95. package/dist/esm/stzh-actionset.entry.js.map +1 -1
  96. package/dist/esm/stzh-amount.entry.js +44 -14
  97. package/dist/esm/stzh-amount.entry.js.map +1 -1
  98. package/dist/esm/stzh-badge_3.entry.js +2 -2
  99. package/dist/esm/stzh-badge_3.entry.js.map +1 -1
  100. package/dist/esm/stzh-checkbox.entry.js.map +1 -1
  101. package/dist/esm/stzh-checkboxgroup.entry.js.map +1 -1
  102. package/dist/esm/stzh-components.js +2 -2
  103. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  104. package/dist/esm/stzh-dropdown.entry.js +1 -1
  105. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  106. package/dist/esm/stzh-ghettobox_2.entry.js +1 -1
  107. package/dist/esm/stzh-ghettobox_2.entry.js.map +1 -1
  108. package/dist/esm/stzh-input.entry.js.map +1 -1
  109. package/dist/esm/stzh-invert.entry.js +1 -1
  110. package/dist/esm/stzh-invert.entry.js.map +1 -1
  111. package/dist/esm/stzh-toggle.entry.js.map +1 -1
  112. package/dist/esm/stzh-upload.entry.js +19 -7
  113. package/dist/esm/stzh-upload.entry.js.map +1 -1
  114. package/dist/esm-es5/{app-globals-0c7feedc.js → app-globals-91875913.js} +2 -2
  115. package/dist/esm-es5/{app-globals-0c7feedc.js.map → app-globals-91875913.js.map} +1 -1
  116. package/dist/esm-es5/index.js.map +1 -1
  117. package/dist/esm-es5/loader.js +1 -1
  118. package/dist/esm-es5/loader.js.map +1 -1
  119. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  120. package/dist/esm-es5/stzh-actions.entry.js.map +1 -1
  121. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  122. package/dist/esm-es5/stzh-actionset.entry.js.map +1 -1
  123. package/dist/esm-es5/stzh-amount.entry.js +1 -1
  124. package/dist/esm-es5/stzh-amount.entry.js.map +1 -1
  125. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  126. package/dist/esm-es5/stzh-badge_3.entry.js.map +1 -1
  127. package/dist/esm-es5/stzh-checkbox.entry.js.map +1 -1
  128. package/dist/esm-es5/stzh-checkboxgroup.entry.js.map +1 -1
  129. package/dist/esm-es5/stzh-components.js +1 -1
  130. package/dist/esm-es5/stzh-components.js.map +1 -1
  131. package/dist/esm-es5/stzh-datepicker_3.entry.js.map +1 -1
  132. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  133. package/dist/esm-es5/stzh-dropdown.entry.js.map +1 -1
  134. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  135. package/dist/esm-es5/stzh-ghettobox_2.entry.js.map +1 -1
  136. package/dist/esm-es5/stzh-input.entry.js.map +1 -1
  137. package/dist/esm-es5/stzh-invert.entry.js +1 -1
  138. package/dist/esm-es5/stzh-invert.entry.js.map +1 -1
  139. package/dist/esm-es5/stzh-toggle.entry.js.map +1 -1
  140. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  141. package/dist/esm-es5/stzh-upload.entry.js.map +1 -1
  142. package/dist/stzh-components/index.esm.js.map +1 -1
  143. package/dist/stzh-components/{p-8228cd4c.system.entry.js → p-09191103.system.entry.js} +2 -2
  144. package/dist/stzh-components/{p-8228cd4c.system.entry.js.map → p-09191103.system.entry.js.map} +1 -1
  145. package/dist/stzh-components/p-0f328a2d.system.entry.js +2 -0
  146. package/dist/stzh-components/{p-12964da2.system.entry.js.map → p-0f328a2d.system.entry.js.map} +1 -1
  147. package/dist/stzh-components/{p-c4503250.entry.js → p-1cc48f98.entry.js} +2 -2
  148. package/dist/stzh-components/{p-c4503250.entry.js.map → p-1cc48f98.entry.js.map} +1 -1
  149. package/dist/stzh-components/p-2615433f.system.entry.js +2 -0
  150. package/dist/stzh-components/p-2615433f.system.entry.js.map +1 -0
  151. package/dist/stzh-components/p-2907f1b5.entry.js +2 -0
  152. package/dist/stzh-components/{p-72da8eba.entry.js.map → p-2907f1b5.entry.js.map} +1 -1
  153. package/dist/stzh-components/{p-728cc738.entry.js → p-2d25bcc8.entry.js} +2 -2
  154. package/dist/stzh-components/p-2d25bcc8.entry.js.map +1 -0
  155. package/dist/stzh-components/p-2f3add2f.system.entry.js +2 -0
  156. package/dist/stzh-components/{p-0fa1dc9b.system.entry.js.map → p-2f3add2f.system.entry.js.map} +1 -1
  157. package/dist/stzh-components/{p-a226d634.js → p-362af013.js} +2 -2
  158. package/dist/stzh-components/{p-a226d634.js.map → p-362af013.js.map} +1 -1
  159. package/dist/stzh-components/p-39a4904e.system.entry.js.map +1 -1
  160. package/dist/stzh-components/p-3aa5623c.entry.js.map +1 -1
  161. package/dist/stzh-components/p-3cb43903.entry.js.map +1 -1
  162. package/dist/stzh-components/p-3e10addb.system.js +2 -0
  163. package/dist/stzh-components/{p-8ebb6058.system.js.map → p-3e10addb.system.js.map} +1 -1
  164. package/dist/stzh-components/p-49a0420a.entry.js +2 -0
  165. package/dist/stzh-components/{p-8bbb27f2.entry.js.map → p-49a0420a.entry.js.map} +1 -1
  166. package/dist/stzh-components/p-5d8ad1f4.system.entry.js.map +1 -1
  167. package/dist/stzh-components/{p-37cfb2b2.system.js → p-61b66e55.system.js} +2 -2
  168. package/dist/stzh-components/{p-37cfb2b2.system.js.map → p-61b66e55.system.js.map} +1 -1
  169. package/dist/stzh-components/{p-6ee544b4.entry.js → p-62188444.entry.js} +2 -2
  170. package/dist/stzh-components/{p-6ee544b4.entry.js.map → p-62188444.entry.js.map} +1 -1
  171. package/dist/stzh-components/p-67b11b03.system.entry.js +2 -0
  172. package/dist/stzh-components/p-67b11b03.system.entry.js.map +1 -0
  173. package/dist/stzh-components/{p-09a8bcde.system.entry.js → p-6bb83b30.system.entry.js} +4 -4
  174. package/dist/stzh-components/{p-09a8bcde.system.entry.js.map → p-6bb83b30.system.entry.js.map} +1 -1
  175. package/dist/stzh-components/{p-e683abe3.system.entry.js → p-6d097e82.system.entry.js} +2 -2
  176. package/dist/stzh-components/p-6d097e82.system.entry.js.map +1 -0
  177. package/dist/stzh-components/p-82e886d4.entry.js.map +1 -1
  178. package/dist/stzh-components/{p-d69b11ec.system.entry.js → p-94a5e295.system.entry.js} +2 -2
  179. package/dist/stzh-components/p-94a5e295.system.entry.js.map +1 -0
  180. package/dist/stzh-components/p-9b7d4e8d.entry.js.map +1 -1
  181. package/dist/stzh-components/p-9d46101e.entry.js +2 -0
  182. package/dist/stzh-components/p-9d46101e.entry.js.map +1 -0
  183. package/dist/stzh-components/p-b05c240b.system.entry.js.map +1 -1
  184. package/dist/stzh-components/p-b8ad5f47.system.entry.js.map +1 -1
  185. package/dist/stzh-components/{p-5e09547b.entry.js → p-bcd5b20e.entry.js} +2 -2
  186. package/dist/stzh-components/p-bcd5b20e.entry.js.map +1 -0
  187. package/dist/stzh-components/p-c94f7331.entry.js +2 -0
  188. package/dist/stzh-components/p-c94f7331.entry.js.map +1 -0
  189. package/dist/stzh-components/p-cc35e963.entry.js.map +1 -1
  190. package/dist/stzh-components/p-eaa65f52.system.js.map +1 -1
  191. package/dist/stzh-components/p-f2d74491.system.entry.js.map +1 -1
  192. package/dist/stzh-components/stzh-components.esm.js +1 -1
  193. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  194. package/dist/stzh-components/stzh-components.js +1 -1
  195. package/dist/types/components.d.ts +28 -18
  196. package/dist/types/index.d.ts +5 -0
  197. package/dist/vscode-data.json +19 -7
  198. package/package.json +1 -1
  199. package/dist/stzh-components/p-0fa1dc9b.system.entry.js +0 -2
  200. package/dist/stzh-components/p-12964da2.system.entry.js +0 -2
  201. package/dist/stzh-components/p-2ee0d173.system.entry.js +0 -2
  202. package/dist/stzh-components/p-2ee0d173.system.entry.js.map +0 -1
  203. package/dist/stzh-components/p-30e04d53.entry.js +0 -2
  204. package/dist/stzh-components/p-30e04d53.entry.js.map +0 -1
  205. package/dist/stzh-components/p-427461c5.system.entry.js +0 -2
  206. package/dist/stzh-components/p-427461c5.system.entry.js.map +0 -1
  207. package/dist/stzh-components/p-5e09547b.entry.js.map +0 -1
  208. package/dist/stzh-components/p-66c1942a.entry.js +0 -2
  209. package/dist/stzh-components/p-66c1942a.entry.js.map +0 -1
  210. package/dist/stzh-components/p-728cc738.entry.js.map +0 -1
  211. package/dist/stzh-components/p-72da8eba.entry.js +0 -2
  212. package/dist/stzh-components/p-8bbb27f2.entry.js +0 -2
  213. package/dist/stzh-components/p-8ebb6058.system.js +0 -2
  214. package/dist/stzh-components/p-d69b11ec.system.entry.js.map +0 -1
  215. package/dist/stzh-components/p-e683abe3.system.entry.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{r,c as e,h as t,a as n,g as i}from"./p-9e02896c.js";import{i as a,h as o}from"./p-5c697491.js";import{f as u}from"./p-25a09313.js";import{S as f}from"./p-ea61b128.js";(function r(e,t){if(typeof exports==="object"&&typeof module==="object")module.exports=t();else if(typeof define==="function"&&define.amd)define([],t);else{var n=t();for(var i in n)(typeof exports==="object"?exports:e)[i]=n[i]}})(self,(function(){return function(){var r={3099:function(r){r.exports=function(r){if(typeof r!="function"){throw TypeError(String(r)+" is not a function")}return r}},6077:function(r,e,t){var n=t(111);r.exports=function(r){if(!n(r)&&r!==null){throw TypeError("Can't set "+String(r)+" as a prototype")}return r}},1223:function(r,e,t){var n=t(5112);var i=t(30);var a=t(3070);var o=n("unscopables");var u=Array.prototype;if(u[o]==undefined){a.f(u,o,{configurable:true,value:i(null)})}r.exports=function(r){u[o][r]=true}},1530:function(r,e,t){var n=t(8710).charAt;r.exports=function(r,e,t){return e+(t?n(r,e).length:1)}},5787:function(r){r.exports=function(r,e,t){if(!(r instanceof e)){throw TypeError("Incorrect "+(t?t+" ":"")+"invocation")}return r}},9670:function(r,e,t){var n=t(111);r.exports=function(r){if(!n(r)){throw TypeError(String(r)+" is not an object")}return r}},4019:function(r){r.exports=typeof ArrayBuffer!=="undefined"&&typeof DataView!=="undefined"},260:function(r,e,t){var n=t(4019);var i=t(9781);var a=t(7854);var o=t(111);var u=t(6656);var f=t(648);var s=t(8880);var v=t(1320);var l=t(3070).f;var c=t(9518);var h=t(7674);var d=t(5112);var p=t(9711);var y=a.Int8Array;var m=y&&y.prototype;var g=a.Uint8ClampedArray;var b=g&&g.prototype;var z=y&&c(y);var w=m&&c(m);var A=Object.prototype;var x=A.isPrototypeOf;var _=d("toStringTag");var k=p("TYPED_ARRAY_TAG");var S=n&&!!h&&f(a.opera)!=="Opera";var E=false;var R;var F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};var T={BigInt64Array:8,BigUint64Array:8};var C=function r(e){if(!o(e))return false;var t=f(e);return t==="DataView"||u(F,t)||u(T,t)};var j=function(r){if(!o(r))return false;var e=f(r);return u(F,e)||u(T,e)};var M=function(r){if(j(r))return r;throw TypeError("Target is not a typed array")};var U=function(r){if(h){if(x.call(z,r))return r}else for(var e in F)if(u(F,R)){var t=a[e];if(t&&(r===t||x.call(t,r))){return r}}throw TypeError("Target is not a typed array constructor")};var O=function(r,e,t){if(!i)return;if(t)for(var n in F){var o=a[n];if(o&&u(o.prototype,r)){delete o.prototype[r]}}if(!w[r]||t){v(w,r,t?e:S&&m[r]||e)}};var I=function(r,e,t){var n,o;if(!i)return;if(h){if(t)for(n in F){o=a[n];if(o&&u(o,r)){delete o[r]}}if(!z[r]||t){try{return v(z,r,t?e:S&&y[r]||e)}catch(r){}}else return}for(n in F){o=a[n];if(o&&(!o[r]||t)){v(o,r,e)}}};for(R in F){if(!a[R])S=false}if(!S||typeof z!="function"||z===Function.prototype){z=function r(){throw TypeError("Incorrect invocation")};if(S)for(R in F){if(a[R])h(a[R],z)}}if(!S||!w||w===A){w=z.prototype;if(S)for(R in F){if(a[R])h(a[R].prototype,w)}}if(S&&c(b)!==w){h(b,w)}if(i&&!u(w,_)){E=true;l(w,_,{get:function(){return o(this)?this[k]:undefined}});for(R in F)if(a[R]){s(a[R],k,R)}}r.exports={NATIVE_ARRAY_BUFFER_VIEWS:S,TYPED_ARRAY_TAG:E&&k,aTypedArray:M,aTypedArrayConstructor:U,exportTypedArrayMethod:O,exportTypedArrayStaticMethod:I,isView:C,isTypedArray:j,TypedArray:z,TypedArrayPrototype:w}},3331:function(r,e,t){var n=t(7854);var i=t(9781);var a=t(4019);var o=t(8880);var u=t(2248);var f=t(7293);var s=t(5787);var v=t(9958);var l=t(7466);var c=t(7067);var h=t(1179);var d=t(9518);var p=t(7674);var y=t(8006).f;var m=t(3070).f;var g=t(1285);var b=t(8003);var z=t(9909);var w=z.get;var A=z.set;var x="ArrayBuffer";var _="DataView";var k="prototype";var S="Wrong length";var E="Wrong index";var R=n[x];var F=R;var T=n[_];var C=T&&T[k];var j=Object.prototype;var M=n.RangeError;var U=h.pack;var O=h.unpack;var I=function(r){return[r&255]};var L=function(r){return[r&255,r>>8&255]};var B=function(r){return[r&255,r>>8&255,r>>16&255,r>>24&255]};var P=function(r){return r[3]<<24|r[2]<<16|r[1]<<8|r[0]};var D=function(r){return U(r,23,4)};var N=function(r){return U(r,52,8)};var Q=function(r,e){m(r[k],e,{get:function(){return w(this)[e]}})};var q=function(r,e,t,n){var i=c(t);var a=w(r);if(i+e>a.byteLength)throw M(E);var o=w(a.buffer).bytes;var u=i+a.byteOffset;var f=o.slice(u,u+e);return n?f:f.reverse()};var Y=function(r,e,t,n,i,a){var o=c(t);var u=w(r);if(o+e>u.byteLength)throw M(E);var f=w(u.buffer).bytes;var s=o+u.byteOffset;var v=n(+i);for(var l=0;l<e;l++)f[s+l]=v[a?l:e-l-1]};if(!a){F=function r(e){s(this,F,x);var t=c(e);A(this,{bytes:g.call(new Array(t),0),byteLength:t});if(!i)this.byteLength=t};T=function r(e,t,n){s(this,T,_);s(e,F,_);var a=w(e).byteLength;var o=v(t);if(o<0||o>a)throw M("Wrong offset");n=n===undefined?a-o:l(n);if(o+n>a)throw M(S);A(this,{buffer:e,byteLength:n,byteOffset:o});if(!i){this.buffer=e;this.byteLength=n;this.byteOffset=o}};if(i){Q(F,"byteLength");Q(T,"buffer");Q(T,"byteLength");Q(T,"byteOffset")}u(T[k],{getInt8:function r(e){return q(this,1,e)[0]<<24>>24},getUint8:function r(e){return q(this,1,e)[0]},getInt16:function r(e){var t=q(this,2,e,arguments.length>1?arguments[1]:undefined);return(t[1]<<8|t[0])<<16>>16},getUint16:function r(e){var t=q(this,2,e,arguments.length>1?arguments[1]:undefined);return t[1]<<8|t[0]},getInt32:function r(e){return P(q(this,4,e,arguments.length>1?arguments[1]:undefined))},getUint32:function r(e){return P(q(this,4,e,arguments.length>1?arguments[1]:undefined))>>>0},getFloat32:function r(e){return O(q(this,4,e,arguments.length>1?arguments[1]:undefined),23)},getFloat64:function r(e){return O(q(this,8,e,arguments.length>1?arguments[1]:undefined),52)},setInt8:function r(e,t){Y(this,1,e,I,t)},setUint8:function r(e,t){Y(this,1,e,I,t)},setInt16:function r(e,t){Y(this,2,e,L,t,arguments.length>2?arguments[2]:undefined)},setUint16:function r(e,t){Y(this,2,e,L,t,arguments.length>2?arguments[2]:undefined)},setInt32:function r(e,t){Y(this,4,e,B,t,arguments.length>2?arguments[2]:undefined)},setUint32:function r(e,t){Y(this,4,e,B,t,arguments.length>2?arguments[2]:undefined)},setFloat32:function r(e,t){Y(this,4,e,D,t,arguments.length>2?arguments[2]:undefined)},setFloat64:function r(e,t){Y(this,8,e,N,t,arguments.length>2?arguments[2]:undefined)}})}else{if(!f((function(){R(1)}))||!f((function(){new R(-1)}))||f((function(){new R;new R(1.5);new R(NaN);return R.name!=x}))){F=function r(e){s(this,F);return new R(c(e))};var $=F[k]=R[k];for(var G=y(R),V=0,W;G.length>V;){if(!((W=G[V++])in F)){o(F,W,R[W])}}$.constructor=F}if(p&&d(C)!==j){p(C,j)}var X=new T(new F(2));var H=C.setInt8;X.setInt8(0,2147483648);X.setInt8(1,2147483649);if(X.getInt8(0)||!X.getInt8(1))u(C,{setInt8:function r(e,t){H.call(this,e,t<<24>>24)},setUint8:function r(e,t){H.call(this,e,t<<24>>24)}},{unsafe:true})}b(F,x);b(T,_);r.exports={ArrayBuffer:F,DataView:T}},1048:function(r,e,t){var n=t(7908);var i=t(1400);var a=t(7466);var o=Math.min;r.exports=[].copyWithin||function r(e,t){var u=n(this);var f=a(u.length);var s=i(e,f);var v=i(t,f);var l=arguments.length>2?arguments[2]:undefined;var c=o((l===undefined?f:i(l,f))-v,f-s);var h=1;if(v<s&&s<v+c){h=-1;v+=c-1;s+=c-1}while(c-- >0){if(v in u)u[s]=u[v];else delete u[s];s+=h;v+=h}return u}},1285:function(r,e,t){var n=t(7908);var i=t(1400);var a=t(7466);r.exports=function r(e){var t=n(this);var o=a(t.length);var u=arguments.length;var f=i(u>1?arguments[1]:undefined,o);var s=u>2?arguments[2]:undefined;var v=s===undefined?o:i(s,o);while(v>f)t[f++]=e;return t}},8533:function(r,e,t){var n=t(2092).forEach;var i=t(9341);var a=i("forEach");r.exports=!a?function r(e){return n(this,e,arguments.length>1?arguments[1]:undefined)}:[].forEach},8457:function(r,e,t){var n=t(9974);var i=t(7908);var a=t(3411);var o=t(7659);var u=t(7466);var f=t(6135);var s=t(1246);r.exports=function r(e){var t=i(e);var v=typeof this=="function"?this:Array;var l=arguments.length;var c=l>1?arguments[1]:undefined;var h=c!==undefined;var d=s(t);var p=0;var y,m,g,b,z,w;if(h)c=n(c,l>2?arguments[2]:undefined,2);if(d!=undefined&&!(v==Array&&o(d))){b=d.call(t);z=b.next;m=new v;for(;!(g=z.call(b)).done;p++){w=h?a(b,c,[g.value,p],true):g.value;f(m,p,w)}}else{y=u(t.length);m=new v(y);for(;y>p;p++){w=h?c(t[p],p):t[p];f(m,p,w)}}m.length=p;return m}},1318:function(r,e,t){var n=t(5656);var i=t(7466);var a=t(1400);var o=function(r){return function(e,t,o){var u=n(e);var f=i(u.length);var s=a(o,f);var v;if(r&&t!=t)while(f>s){v=u[s++];if(v!=v)return true}else for(;f>s;s++){if((r||s in u)&&u[s]===t)return r||s||0}return!r&&-1}};r.exports={includes:o(true),indexOf:o(false)}},2092:function(r,e,t){var n=t(9974);var i=t(8361);var a=t(7908);var o=t(7466);var u=t(5417);var f=[].push;var s=function(r){var e=r==1;var t=r==2;var s=r==3;var v=r==4;var l=r==6;var c=r==7;var h=r==5||l;return function(d,p,y,m){var g=a(d);var b=i(g);var z=n(p,y,3);var w=o(b.length);var A=0;var x=m||u;var _=e?x(d,w):t||c?x(d,0):undefined;var k,S;for(;w>A;A++)if(h||A in b){k=b[A];S=z(k,A,g);if(r){if(e)_[A]=S;else if(S)switch(r){case 3:return true;case 5:return k;case 6:return A;case 2:f.call(_,k)}else switch(r){case 4:return false;case 7:f.call(_,k)}}}return l?-1:s||v?v:_}};r.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},6583:function(r,e,t){var n=t(5656);var i=t(9958);var a=t(7466);var o=t(9341);var u=Math.min;var f=[].lastIndexOf;var s=!!f&&1/[1].lastIndexOf(1,-0)<0;var v=o("lastIndexOf");var l=s||!v;r.exports=l?function r(e){if(s)return f.apply(this,arguments)||0;var t=n(this);var o=a(t.length);var v=o-1;if(arguments.length>1)v=u(v,i(arguments[1]));if(v<0)v=o+v;for(;v>=0;v--)if(v in t&&t[v]===e)return v||0;return-1}:f},1194:function(r,e,t){var n=t(7293);var i=t(5112);var a=t(7392);var o=i("species");r.exports=function(r){return a>=51||!n((function(){var e=[];var t=e.constructor={};t[o]=function(){return{foo:1}};return e[r](Boolean).foo!==1}))}},9341:function(r,e,t){var n=t(7293);r.exports=function(r,e){var t=[][r];return!!t&&n((function(){t.call(null,e||function(){throw 1},1)}))}},3671:function(r,e,t){var n=t(3099);var i=t(7908);var a=t(8361);var o=t(7466);var u=function(r){return function(e,t,u,f){n(t);var s=i(e);var v=a(s);var l=o(s.length);var c=r?l-1:0;var h=r?-1:1;if(u<2)while(true){if(c in v){f=v[c];c+=h;break}c+=h;if(r?c<0:l<=c){throw TypeError("Reduce of empty array with no initial value")}}for(;r?c>=0:l>c;c+=h)if(c in v){f=t(f,v[c],c,s)}return f}};r.exports={left:u(false),right:u(true)}},5417:function(r,e,t){var n=t(111);var i=t(3157);var a=t(5112);var o=a("species");r.exports=function(r,e){var t;if(i(r)){t=r.constructor;if(typeof t=="function"&&(t===Array||i(t.prototype)))t=undefined;else if(n(t)){t=t[o];if(t===null)t=undefined}}return new(t===undefined?Array:t)(e===0?0:e)}},3411:function(r,e,t){var n=t(9670);var i=t(9212);r.exports=function(r,e,t,a){try{return a?e(n(t)[0],t[1]):e(t)}catch(e){i(r);throw e}}},7072:function(r,e,t){var n=t(5112);var i=n("iterator");var a=false;try{var o=0;var u={next:function(){return{done:!!o++}},return:function(){a=true}};u[i]=function(){return this};Array.from(u,(function(){throw 2}))}catch(r){}r.exports=function(r,e){if(!e&&!a)return false;var t=false;try{var n={};n[i]=function(){return{next:function(){return{done:t=true}}}};r(n)}catch(r){}return t}},4326:function(r){var e={}.toString;r.exports=function(r){return e.call(r).slice(8,-1)}},648:function(r,e,t){var n=t(1694);var i=t(4326);var a=t(5112);var o=a("toStringTag");var u=i(function(){return arguments}())=="Arguments";var f=function(r,e){try{return r[e]}catch(r){}};r.exports=n?i:function(r){var e,t,n;return r===undefined?"Undefined":r===null?"Null":typeof(t=f(e=Object(r),o))=="string"?t:u?i(e):(n=i(e))=="Object"&&typeof e.callee=="function"?"Arguments":n}},9920:function(r,e,t){var n=t(6656);var i=t(3887);var a=t(1236);var o=t(3070);r.exports=function(r,e){var t=i(e);var u=o.f;var f=a.f;for(var s=0;s<t.length;s++){var v=t[s];if(!n(r,v))u(r,v,f(e,v))}}},8544:function(r,e,t){var n=t(7293);r.exports=!n((function(){function r(){}r.prototype.constructor=null;return Object.getPrototypeOf(new r)!==r.prototype}))},4994:function(r,e,t){var n=t(3383).IteratorPrototype;var i=t(30);var a=t(9114);var o=t(8003);var u=t(7497);var f=function(){return this};r.exports=function(r,e,t){var s=e+" Iterator";r.prototype=i(n,{next:a(1,t)});o(r,s,false,true);u[s]=f;return r}},8880:function(r,e,t){var n=t(9781);var i=t(3070);var a=t(9114);r.exports=n?function(r,e,t){return i.f(r,e,a(1,t))}:function(r,e,t){r[e]=t;return r}},9114:function(r){r.exports=function(r,e){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:e}}},6135:function(r,e,t){var n=t(7593);var i=t(3070);var a=t(9114);r.exports=function(r,e,t){var o=n(e);if(o in r)i.f(r,o,a(0,t));else r[o]=t}},654:function(r,e,t){var n=t(2109);var i=t(4994);var a=t(9518);var o=t(7674);var u=t(8003);var f=t(8880);var s=t(1320);var v=t(5112);var l=t(1913);var c=t(7497);var h=t(3383);var d=h.IteratorPrototype;var p=h.BUGGY_SAFARI_ITERATORS;var y=v("iterator");var m="keys";var g="values";var b="entries";var z=function(){return this};r.exports=function(r,e,t,v,h,w,A){i(t,e,v);var x=function(r){if(r===h&&R)return R;if(!p&&r in S)return S[r];switch(r){case m:return function e(){return new t(this,r)};case g:return function e(){return new t(this,r)};case b:return function e(){return new t(this,r)}}return function(){return new t(this)}};var _=e+" Iterator";var k=false;var S=r.prototype;var E=S[y]||S["@@iterator"]||h&&S[h];var R=!p&&E||x(h);var F=e=="Array"?S.entries||E:E;var T,C,j;if(F){T=a(F.call(new r));if(d!==Object.prototype&&T.next){if(!l&&a(T)!==d){if(o){o(T,d)}else if(typeof T[y]!="function"){f(T,y,z)}}u(T,_,true,true);if(l)c[_]=z}}if(h==g&&E&&E.name!==g){k=true;R=function r(){return E.call(this)}}if((!l||A)&&S[y]!==R){f(S,y,R)}c[e]=R;if(h){C={values:x(g),keys:w?R:x(m),entries:x(b)};if(A)for(j in C){if(p||k||!(j in S)){s(S,j,C[j])}}else n({target:e,proto:true,forced:p||k},C)}return C}},9781:function(r,e,t){var n=t(7293);r.exports=!n((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}))},317:function(r,e,t){var n=t(7854);var i=t(111);var a=n.document;var o=i(a)&&i(a.createElement);r.exports=function(r){return o?a.createElement(r):{}}},8324:function(r){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:function(r,e,t){var n=t(5005);r.exports=n("navigator","userAgent")||""},7392:function(r,e,t){var n=t(7854);var i=t(8113);var a=n.process;var o=a&&a.versions;var u=o&&o.v8;var f,s;if(u){f=u.split(".");s=f[0]+f[1]}else if(i){f=i.match(/Edge\/(\d+)/);if(!f||f[1]>=74){f=i.match(/Chrome\/(\d+)/);if(f)s=f[1]}}r.exports=s&&+s},748:function(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(r,e,t){var n=t(7854);var i=t(1236).f;var a=t(8880);var o=t(1320);var u=t(3505);var f=t(9920);var s=t(4705);r.exports=function(r,e){var t=r.target;var v=r.global;var l=r.stat;var c,h,d,p,y,m;if(v){h=n}else if(l){h=n[t]||u(t,{})}else{h=(n[t]||{}).prototype}if(h)for(d in e){y=e[d];if(r.noTargetGet){m=i(h,d);p=m&&m.value}else p=h[d];c=s(v?d:t+(l?".":"#")+d,r.forced);if(!c&&p!==undefined){if(typeof y===typeof p)continue;f(y,p)}if(r.sham||p&&p.sham){a(y,"sham",true)}o(h,d,y,r)}}},7293:function(r){r.exports=function(r){try{return!!r()}catch(r){return true}}},7007:function(r,e,t){t(4916);var n=t(1320);var i=t(7293);var a=t(5112);var o=t(2261);var u=t(8880);var f=a("species");var s=!i((function(){var r=/./;r.exec=function(){var r=[];r.groups={a:"7"};return r};return"".replace(r,"$<a>")!=="7"}));var v=function(){return"a".replace(/./,"$0")==="$0"}();var l=a("replace");var c=function(){if(/./[l]){return/./[l]("a","$0")===""}return false}();var h=!i((function(){var r=/(?:)/;var e=r.exec;r.exec=function(){return e.apply(this,arguments)};var t="ab".split(r);return t.length!==2||t[0]!=="a"||t[1]!=="b"}));r.exports=function(r,e,t,l){var d=a(r);var p=!i((function(){var e={};e[d]=function(){return 7};return""[r](e)!=7}));var y=p&&!i((function(){var e=false;var t=/a/;if(r==="split"){t={};t.constructor={};t.constructor[f]=function(){return t};t.flags="";t[d]=/./[d]}t.exec=function(){e=true;return null};t[d]("");return!e}));if(!p||!y||r==="replace"&&!(s&&v&&!c)||r==="split"&&!h){var m=/./[d];var g=t(d,""[r],(function(r,e,t,n,i){if(e.exec===o){if(p&&!i){return{done:true,value:m.call(e,t,n)}}return{done:true,value:r.call(t,e,n)}}return{done:false}}),{REPLACE_KEEPS_$0:v,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:c});var b=g[0];var z=g[1];n(String.prototype,r,b);n(RegExp.prototype,d,e==2?function(r,e){return z.call(r,this,e)}:function(r){return z.call(r,this)})}if(l)u(RegExp.prototype[d],"sham",true)}},9974:function(r,e,t){var n=t(3099);r.exports=function(r,e,t){n(r);if(e===undefined)return r;switch(t){case 0:return function(){return r.call(e)};case 1:return function(t){return r.call(e,t)};case 2:return function(t,n){return r.call(e,t,n)};case 3:return function(t,n,i){return r.call(e,t,n,i)}}return function(){return r.apply(e,arguments)}}},5005:function(r,e,t){var n=t(857);var i=t(7854);var a=function(r){return typeof r=="function"?r:undefined};r.exports=function(r,e){return arguments.length<2?a(n[r])||a(i[r]):n[r]&&n[r][e]||i[r]&&i[r][e]}},1246:function(r,e,t){var n=t(648);var i=t(7497);var a=t(5112);var o=a("iterator");r.exports=function(r){if(r!=undefined)return r[o]||r["@@iterator"]||i[n(r)]}},8554:function(r,e,t){var n=t(9670);var i=t(1246);r.exports=function(r){var e=i(r);if(typeof e!="function"){throw TypeError(String(r)+" is not iterable")}return n(e.call(r))}},647:function(r,e,t){var n=t(7908);var i=Math.floor;var a="".replace;var o=/\$([$&'`]|\d\d?|<[^>]*>)/g;var u=/\$([$&'`]|\d\d?)/g;r.exports=function(r,e,t,f,s,v){var l=t+r.length;var c=f.length;var h=u;if(s!==undefined){s=n(s);h=o}return a.call(v,h,(function(n,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return r;case"`":return e.slice(0,t);case"'":return e.slice(l);case"<":o=s[a.slice(1,-1)];break;default:var u=+a;if(u===0)return n;if(u>c){var v=i(u/10);if(v===0)return n;if(v<=c)return f[v-1]===undefined?a.charAt(1):f[v-1]+a.charAt(1);return n}o=f[u-1]}return o===undefined?"":o}))}},7854:function(r,e,t){var n=function(r){return r&&r.Math==Math&&r};r.exports=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof t.g=="object"&&t.g)||function(){return this}()||Function("return this")()},6656:function(r){var e={}.hasOwnProperty;r.exports=function(r,t){return e.call(r,t)}},3501:function(r){r.exports={}},490:function(r,e,t){var n=t(5005);r.exports=n("document","documentElement")},4664:function(r,e,t){var n=t(9781);var i=t(7293);var a=t(317);r.exports=!n&&!i((function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7}))},1179:function(r){var e=Math.abs;var t=Math.pow;var n=Math.floor;var i=Math.log;var a=Math.LN2;var o=function(r,o,u){var f=new Array(u);var s=u*8-o-1;var v=(1<<s)-1;var l=v>>1;var c=o===23?t(2,-24)-t(2,-77):0;var h=r<0||r===0&&1/r<0?1:0;var d=0;var p,y,m;r=e(r);if(r!=r||r===Infinity){y=r!=r?1:0;p=v}else{p=n(i(r)/a);if(r*(m=t(2,-p))<1){p--;m*=2}if(p+l>=1){r+=c/m}else{r+=c*t(2,1-l)}if(r*m>=2){p++;m/=2}if(p+l>=v){y=0;p=v}else if(p+l>=1){y=(r*m-1)*t(2,o);p=p+l}else{y=r*t(2,l-1)*t(2,o);p=0}}for(;o>=8;f[d++]=y&255,y/=256,o-=8);p=p<<o|y;s+=o;for(;s>0;f[d++]=p&255,p/=256,s-=8);f[--d]|=h*128;return f};var u=function(r,e){var n=r.length;var i=n*8-e-1;var a=(1<<i)-1;var o=a>>1;var u=i-7;var f=n-1;var s=r[f--];var v=s&127;var l;s>>=7;for(;u>0;v=v*256+r[f],f--,u-=8);l=v&(1<<-u)-1;v>>=-u;u+=e;for(;u>0;l=l*256+r[f],f--,u-=8);if(v===0){v=1-o}else if(v===a){return l?NaN:s?-Infinity:Infinity}else{l=l+t(2,e);v=v-o}return(s?-1:1)*l*t(2,v-e)};r.exports={pack:o,unpack:u}},8361:function(r,e,t){var n=t(7293);var i=t(4326);var a="".split;r.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(r){return i(r)=="String"?a.call(r,""):Object(r)}:Object},9587:function(r,e,t){var n=t(111);var i=t(7674);r.exports=function(r,e,t){var a,o;if(i&&typeof(a=e.constructor)=="function"&&a!==t&&n(o=a.prototype)&&o!==t.prototype)i(r,o);return r}},2788:function(r,e,t){var n=t(5465);var i=Function.toString;if(typeof n.inspectSource!="function"){n.inspectSource=function(r){return i.call(r)}}r.exports=n.inspectSource},9909:function(r,e,t){var n=t(8536);var i=t(7854);var a=t(111);var o=t(8880);var u=t(6656);var f=t(5465);var s=t(6200);var v=t(3501);var l=i.WeakMap;var c,h,d;var p=function(r){return d(r)?h(r):c(r,{})};var y=function(r){return function(e){var t;if(!a(e)||(t=h(e)).type!==r){throw TypeError("Incompatible receiver, "+r+" required")}return t}};if(n){var m=f.state||(f.state=new l);var g=m.get;var b=m.has;var z=m.set;c=function(r,e){e.facade=r;z.call(m,r,e);return e};h=function(r){return g.call(m,r)||{}};d=function(r){return b.call(m,r)}}else{var w=s("state");v[w]=true;c=function(r,e){e.facade=r;o(r,w,e);return e};h=function(r){return u(r,w)?r[w]:{}};d=function(r){return u(r,w)}}r.exports={set:c,get:h,has:d,enforce:p,getterFor:y}},7659:function(r,e,t){var n=t(5112);var i=t(7497);var a=n("iterator");var o=Array.prototype;r.exports=function(r){return r!==undefined&&(i.Array===r||o[a]===r)}},3157:function(r,e,t){var n=t(4326);r.exports=Array.isArray||function r(e){return n(e)=="Array"}},4705:function(r,e,t){var n=t(7293);var i=/#|\.prototype\./;var a=function(r,e){var t=u[o(r)];return t==s?true:t==f?false:typeof e=="function"?n(e):!!e};var o=a.normalize=function(r){return String(r).replace(i,".").toLowerCase()};var u=a.data={};var f=a.NATIVE="N";var s=a.POLYFILL="P";r.exports=a},111:function(r){r.exports=function(r){return typeof r==="object"?r!==null:typeof r==="function"}},1913:function(r){r.exports=false},7850:function(r,e,t){var n=t(111);var i=t(4326);var a=t(5112);var o=a("match");r.exports=function(r){var e;return n(r)&&((e=r[o])!==undefined?!!e:i(r)=="RegExp")}},9212:function(r,e,t){var n=t(9670);r.exports=function(r){var e=r["return"];if(e!==undefined){return n(e.call(r)).value}}},3383:function(r,e,t){var n=t(7293);var i=t(9518);var a=t(8880);var o=t(6656);var u=t(5112);var f=t(1913);var s=u("iterator");var v=false;var l=function(){return this};var c,h,d;if([].keys){d=[].keys();if(!("next"in d))v=true;else{h=i(i(d));if(h!==Object.prototype)c=h}}var p=c==undefined||n((function(){var r={};return c[s].call(r)!==r}));if(p)c={};if((!f||p)&&!o(c,s)){a(c,s,l)}r.exports={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:v}},7497:function(r){r.exports={}},133:function(r,e,t){var n=t(7293);r.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},590:function(r,e,t){var n=t(7293);var i=t(5112);var a=t(1913);var o=i("iterator");r.exports=!n((function(){var r=new URL("b?a=1&b=2&c=3","http://a");var e=r.searchParams;var t="";r.pathname="c%20d";e.forEach((function(r,n){e["delete"]("b");t+=n+r}));return a&&!r.toJSON||!e.sort||r.href!=="http://a/c%20d?a=1&c=3"||e.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!e[o]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||t!=="a1c3"||new URL("http://x",undefined).host!=="x"}))},8536:function(r,e,t){var n=t(7854);var i=t(2788);var a=n.WeakMap;r.exports=typeof a==="function"&&/native code/.test(i(a))},1574:function(r,e,t){var n=t(9781);var i=t(7293);var a=t(1956);var o=t(5181);var u=t(5296);var f=t(7908);var s=t(8361);var v=Object.assign;var l=Object.defineProperty;r.exports=!v||i((function(){if(n&&v({b:1},v(l({},"a",{enumerable:true,get:function(){l(this,"b",{value:3,enumerable:false})}}),{b:2})).b!==1)return true;var r={};var e={};var t=Symbol();var i="abcdefghijklmnopqrst";r[t]=7;i.split("").forEach((function(r){e[r]=r}));return v({},r)[t]!=7||a(v({},e)).join("")!=i}))?function r(e,t){var i=f(e);var v=arguments.length;var l=1;var c=o.f;var h=u.f;while(v>l){var d=s(arguments[l++]);var p=c?a(d).concat(c(d)):a(d);var y=p.length;var m=0;var g;while(y>m){g=p[m++];if(!n||h.call(d,g))i[g]=d[g]}}return i}:v},30:function(r,e,t){var n=t(9670);var i=t(6048);var a=t(748);var o=t(3501);var u=t(490);var f=t(317);var s=t(6200);var v=">";var l="<";var c="prototype";var h="script";var d=s("IE_PROTO");var p=function(){};var y=function(r){return l+h+v+r+l+"/"+h+v};var m=function(r){r.write(y(""));r.close();var e=r.parentWindow.Object;r=null;return e};var g=function(){var r=f("iframe");var e="java"+h+":";var t;r.style.display="none";u.appendChild(r);r.src=String(e);t=r.contentWindow.document;t.open();t.write(y("document.F=Object"));t.close();return t.F};var b;var z=function(){try{b=document.domain&&new ActiveXObject("htmlfile")}catch(r){}z=b?m(b):g();var r=a.length;while(r--)delete z[c][a[r]];return z()};o[d]=true;r.exports=Object.create||function r(e,t){var a;if(e!==null){p[c]=n(e);a=new p;p[c]=null;a[d]=e}else a=z();return t===undefined?a:i(a,t)}},6048:function(r,e,t){var n=t(9781);var i=t(3070);var a=t(9670);var o=t(1956);r.exports=n?Object.defineProperties:function r(e,t){a(e);var n=o(t);var u=n.length;var f=0;var s;while(u>f)i.f(e,s=n[f++],t[s]);return e}},3070:function(r,e,t){var n=t(9781);var i=t(4664);var a=t(9670);var o=t(7593);var u=Object.defineProperty;e.f=n?u:function r(e,t,n){a(e);t=o(t,true);a(n);if(i)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");if("value"in n)e[t]=n.value;return e}},1236:function(r,e,t){var n=t(9781);var i=t(5296);var a=t(9114);var o=t(5656);var u=t(7593);var f=t(6656);var s=t(4664);var v=Object.getOwnPropertyDescriptor;e.f=n?v:function r(e,t){e=o(e);t=u(t,true);if(s)try{return v(e,t)}catch(r){}if(f(e,t))return a(!i.f.call(e,t),e[t])}},8006:function(r,e,t){var n=t(6324);var i=t(748);var a=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function r(e){return n(e,a)}},5181:function(r,e){e.f=Object.getOwnPropertySymbols},9518:function(r,e,t){var n=t(6656);var i=t(7908);var a=t(6200);var o=t(8544);var u=a("IE_PROTO");var f=Object.prototype;r.exports=o?Object.getPrototypeOf:function(r){r=i(r);if(n(r,u))return r[u];if(typeof r.constructor=="function"&&r instanceof r.constructor){return r.constructor.prototype}return r instanceof Object?f:null}},6324:function(r,e,t){var n=t(6656);var i=t(5656);var a=t(1318).indexOf;var o=t(3501);r.exports=function(r,e){var t=i(r);var u=0;var f=[];var s;for(s in t)!n(o,s)&&n(t,s)&&f.push(s);while(e.length>u)if(n(t,s=e[u++])){~a(f,s)||f.push(s)}return f}},1956:function(r,e,t){var n=t(6324);var i=t(748);r.exports=Object.keys||function r(e){return n(e,i)}},5296:function(r,e){var t={}.propertyIsEnumerable;var n=Object.getOwnPropertyDescriptor;var i=n&&!t.call({1:2},1);e.f=i?function r(e){var t=n(this,e);return!!t&&t.enumerable}:t},7674:function(r,e,t){var n=t(9670);var i=t(6077);r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r=false;var e={};var t;try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set;t.call(e,[]);r=e instanceof Array}catch(r){}return function e(a,o){n(a);i(o);if(r)t.call(a,o);else a.__proto__=o;return a}}():undefined)},288:function(r,e,t){var n=t(1694);var i=t(648);r.exports=n?{}.toString:function r(){return"[object "+i(this)+"]"}},3887:function(r,e,t){var n=t(5005);var i=t(8006);var a=t(5181);var o=t(9670);r.exports=n("Reflect","ownKeys")||function r(e){var t=i.f(o(e));var n=a.f;return n?t.concat(n(e)):t}},857:function(r,e,t){var n=t(7854);r.exports=n},2248:function(r,e,t){var n=t(1320);r.exports=function(r,e,t){for(var i in e)n(r,i,e[i],t);return r}},1320:function(r,e,t){var n=t(7854);var i=t(8880);var a=t(6656);var o=t(3505);var u=t(2788);var f=t(9909);var s=f.get;var v=f.enforce;var l=String(String).split("String");(r.exports=function(r,e,t,u){var f=u?!!u.unsafe:false;var s=u?!!u.enumerable:false;var c=u?!!u.noTargetGet:false;var h;if(typeof t=="function"){if(typeof e=="string"&&!a(t,"name")){i(t,"name",e)}h=v(t);if(!h.source){h.source=l.join(typeof e=="string"?e:"")}}if(r===n){if(s)r[e]=t;else o(e,t);return}else if(!f){delete r[e]}else if(!c&&r[e]){s=true}if(s)r[e]=t;else i(r,e,t)})(Function.prototype,"toString",(function r(){return typeof this=="function"&&s(this).source||u(this)}))},7651:function(r,e,t){var n=t(4326);var i=t(2261);r.exports=function(r,e){var t=r.exec;if(typeof t==="function"){var a=t.call(r,e);if(typeof a!=="object"){throw TypeError("RegExp exec method returned something other than an Object or null")}return a}if(n(r)!=="RegExp"){throw TypeError("RegExp#exec called on incompatible receiver")}return i.call(r,e)}},2261:function(r,e,t){var n=t(7066);var i=t(2999);var a=RegExp.prototype.exec;var o=String.prototype.replace;var u=a;var f=function(){var r=/a/;var e=/b*/g;a.call(r,"a");a.call(e,"a");return r.lastIndex!==0||e.lastIndex!==0}();var s=i.UNSUPPORTED_Y||i.BROKEN_CARET;var v=/()??/.exec("")[1]!==undefined;var l=f||v||s;if(l){u=function r(e){var t=this;var i,u,l,c;var h=s&&t.sticky;var d=n.call(t);var p=t.source;var y=0;var m=e;if(h){d=d.replace("y","");if(d.indexOf("g")===-1){d+="g"}m=String(e).slice(t.lastIndex);if(t.lastIndex>0&&(!t.multiline||t.multiline&&e[t.lastIndex-1]!=="\n")){p="(?: "+p+")";m=" "+m;y++}u=new RegExp("^(?:"+p+")",d)}if(v){u=new RegExp("^"+p+"$(?!\\s)",d)}if(f)i=t.lastIndex;l=a.call(h?u:t,m);if(h){if(l){l.input=l.input.slice(y);l[0]=l[0].slice(y);l.index=t.lastIndex;t.lastIndex+=l[0].length}else t.lastIndex=0}else if(f&&l){t.lastIndex=t.global?l.index+l[0].length:i}if(v&&l&&l.length>1){o.call(l[0],u,(function(){for(c=1;c<arguments.length-2;c++){if(arguments[c]===undefined)l[c]=undefined}}))}return l}}r.exports=u},7066:function(r,e,t){var n=t(9670);r.exports=function(){var r=n(this);var e="";if(r.global)e+="g";if(r.ignoreCase)e+="i";if(r.multiline)e+="m";if(r.dotAll)e+="s";if(r.unicode)e+="u";if(r.sticky)e+="y";return e}},2999:function(r,e,t){var n=t(7293);function i(r,e){return RegExp(r,e)}e.UNSUPPORTED_Y=n((function(){var r=i("a","y");r.lastIndex=2;return r.exec("abcd")!=null}));e.BROKEN_CARET=n((function(){var r=i("^r","gy");r.lastIndex=2;return r.exec("str")!=null}))},4488:function(r){r.exports=function(r){if(r==undefined)throw TypeError("Can't call method on "+r);return r}},3505:function(r,e,t){var n=t(7854);var i=t(8880);r.exports=function(r,e){try{i(n,r,e)}catch(t){n[r]=e}return e}},6340:function(r,e,t){var n=t(5005);var i=t(3070);var a=t(5112);var o=t(9781);var u=a("species");r.exports=function(r){var e=n(r);var t=i.f;if(o&&e&&!e[u]){t(e,u,{configurable:true,get:function(){return this}})}}},8003:function(r,e,t){var n=t(3070).f;var i=t(6656);var a=t(5112);var o=a("toStringTag");r.exports=function(r,e,t){if(r&&!i(r=t?r:r.prototype,o)){n(r,o,{configurable:true,value:e})}}},6200:function(r,e,t){var n=t(2309);var i=t(9711);var a=n("keys");r.exports=function(r){return a[r]||(a[r]=i(r))}},5465:function(r,e,t){var n=t(7854);var i=t(3505);var a="__core-js_shared__";var o=n[a]||i(a,{});r.exports=o},2309:function(r,e,t){var n=t(1913);var i=t(5465);(r.exports=function(r,e){return i[r]||(i[r]=e!==undefined?e:{})})("versions",[]).push({version:"3.9.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(r,e,t){var n=t(9670);var i=t(3099);var a=t(5112);var o=a("species");r.exports=function(r,e){var t=n(r).constructor;var a;return t===undefined||(a=n(t)[o])==undefined?e:i(a)}},8710:function(r,e,t){var n=t(9958);var i=t(4488);var a=function(r){return function(e,t){var a=String(i(e));var o=n(t);var u=a.length;var f,s;if(o<0||o>=u)return r?"":undefined;f=a.charCodeAt(o);return f<55296||f>56319||o+1===u||(s=a.charCodeAt(o+1))<56320||s>57343?r?a.charAt(o):f:r?a.slice(o,o+2):(f-55296<<10)+(s-56320)+65536}};r.exports={codeAt:a(false),charAt:a(true)}},3197:function(r){var e=2147483647;var t=36;var n=1;var i=26;var a=38;var o=700;var u=72;var f=128;var s="-";var v=/[^\0-\u007E]/;var l=/[.\u3002\uFF0E\uFF61]/g;var c="Overflow: input needs wider integers to process";var h=t-n;var d=Math.floor;var p=String.fromCharCode;var y=function(r){var e=[];var t=0;var n=r.length;while(t<n){var i=r.charCodeAt(t++);if(i>=55296&&i<=56319&&t<n){var a=r.charCodeAt(t++);if((a&64512)==56320){e.push(((i&1023)<<10)+(a&1023)+65536)}else{e.push(i);t--}}else{e.push(i)}}return e};var m=function(r){return r+22+75*(r<26)};var g=function(r,e,n){var u=0;r=n?d(r/o):r>>1;r+=d(r/e);for(;r>h*i>>1;u+=t){r=d(r/h)}return d(u+(h+1)*r/(r+a))};var b=function(r){var a=[];r=y(r);var o=r.length;var v=f;var l=0;var h=u;var b,z;for(b=0;b<r.length;b++){z=r[b];if(z<128){a.push(p(z))}}var w=a.length;var A=w;if(w){a.push(s)}while(A<o){var x=e;for(b=0;b<r.length;b++){z=r[b];if(z>=v&&z<x){x=z}}var _=A+1;if(x-v>d((e-l)/_)){throw RangeError(c)}l+=(x-v)*_;v=x;for(b=0;b<r.length;b++){z=r[b];if(z<v&&++l>e){throw RangeError(c)}if(z==v){var k=l;for(var S=t;;S+=t){var E=S<=h?n:S>=h+i?i:S-h;if(k<E)break;var R=k-E;var F=t-E;a.push(p(m(E+R%F)));k=d(R/F)}a.push(p(m(k)));h=g(l,_,A==w);l=0;++A}}++l;++v}return a.join("")};r.exports=function(r){var e=[];var t=r.toLowerCase().replace(l,".").split(".");var n,i;for(n=0;n<t.length;n++){i=t[n];e.push(v.test(i)?"xn--"+b(i):i)}return e.join(".")}},6091:function(r,e,t){var n=t(7293);var i=t(1361);var a="​…᠎";r.exports=function(r){return n((function(){return!!i[r]()||a[r]()!=a||i[r].name!==r}))}},3111:function(r,e,t){var n=t(4488);var i=t(1361);var a="["+i+"]";var o=RegExp("^"+a+a+"*");var u=RegExp(a+a+"*$");var f=function(r){return function(e){var t=String(n(e));if(r&1)t=t.replace(o,"");if(r&2)t=t.replace(u,"");return t}};r.exports={start:f(1),end:f(2),trim:f(3)}},1400:function(r,e,t){var n=t(9958);var i=Math.max;var a=Math.min;r.exports=function(r,e){var t=n(r);return t<0?i(t+e,0):a(t,e)}},7067:function(r,e,t){var n=t(9958);var i=t(7466);r.exports=function(r){if(r===undefined)return 0;var e=n(r);var t=i(e);if(e!==t)throw RangeError("Wrong length or index");return t}},5656:function(r,e,t){var n=t(8361);var i=t(4488);r.exports=function(r){return n(i(r))}},9958:function(r){var e=Math.ceil;var t=Math.floor;r.exports=function(r){return isNaN(r=+r)?0:(r>0?t:e)(r)}},7466:function(r,e,t){var n=t(9958);var i=Math.min;r.exports=function(r){return r>0?i(n(r),9007199254740991):0}},7908:function(r,e,t){var n=t(4488);r.exports=function(r){return Object(n(r))}},4590:function(r,e,t){var n=t(3002);r.exports=function(r,e){var t=n(r);if(t%e)throw RangeError("Wrong offset");return t}},3002:function(r,e,t){var n=t(9958);r.exports=function(r){var e=n(r);if(e<0)throw RangeError("The argument can't be less than 0");return e}},7593:function(r,e,t){var n=t(111);r.exports=function(r,e){if(!n(r))return r;var t,i;if(e&&typeof(t=r.toString)=="function"&&!n(i=t.call(r)))return i;if(typeof(t=r.valueOf)=="function"&&!n(i=t.call(r)))return i;if(!e&&typeof(t=r.toString)=="function"&&!n(i=t.call(r)))return i;throw TypeError("Can't convert object to primitive value")}},1694:function(r,e,t){var n=t(5112);var i=n("toStringTag");var a={};a[i]="z";r.exports=String(a)==="[object z]"},9843:function(r,e,t){var n=t(2109);var i=t(7854);var a=t(9781);var o=t(3832);var u=t(260);var f=t(3331);var s=t(5787);var v=t(9114);var l=t(8880);var c=t(7466);var h=t(7067);var d=t(4590);var p=t(7593);var y=t(6656);var m=t(648);var g=t(111);var b=t(30);var z=t(7674);var w=t(8006).f;var A=t(7321);var x=t(2092).forEach;var _=t(6340);var k=t(3070);var S=t(1236);var E=t(9909);var R=t(9587);var F=E.get;var T=E.set;var C=k.f;var j=S.f;var M=Math.round;var U=i.RangeError;var O=f.ArrayBuffer;var I=f.DataView;var L=u.NATIVE_ARRAY_BUFFER_VIEWS;var B=u.TYPED_ARRAY_TAG;var P=u.TypedArray;var D=u.TypedArrayPrototype;var N=u.aTypedArrayConstructor;var Q=u.isTypedArray;var q="BYTES_PER_ELEMENT";var Y="Wrong length";var $=function(r,e){var t=0;var n=e.length;var i=new(N(r))(n);while(n>t)i[t]=e[t++];return i};var G=function(r,e){C(r,e,{get:function(){return F(this)[e]}})};var V=function(r){var e;return r instanceof O||(e=m(r))=="ArrayBuffer"||e=="SharedArrayBuffer"};var W=function(r,e){return Q(r)&&typeof e!="symbol"&&e in r&&String(+e)==String(e)};var X=function r(e,t){return W(e,t=p(t,true))?v(2,e[t]):j(e,t)};var H=function r(e,t,n){if(W(e,t=p(t,true))&&g(n)&&y(n,"value")&&!y(n,"get")&&!y(n,"set")&&!n.configurable&&(!y(n,"writable")||n.writable)&&(!y(n,"enumerable")||n.enumerable)){e[t]=n.value;return e}return C(e,t,n)};if(a){if(!L){S.f=X;k.f=H;G(D,"buffer");G(D,"byteOffset");G(D,"byteLength");G(D,"length")}n({target:"Object",stat:true,forced:!L},{getOwnPropertyDescriptor:X,defineProperty:H});r.exports=function(r,e,t){var a=r.match(/\d+$/)[0]/8;var u=r+(t?"Clamped":"")+"Array";var f="get"+r;var v="set"+r;var p=i[u];var y=p;var m=y&&y.prototype;var k={};var S=function(r,e){var t=F(r);return t.view[f](e*a+t.byteOffset,true)};var E=function(r,e,n){var i=F(r);if(t)n=(n=M(n))<0?0:n>255?255:n&255;i.view[v](e*a+i.byteOffset,n,true)};var j=function(r,e){C(r,e,{get:function(){return S(this,e)},set:function(r){return E(this,e,r)},enumerable:true})};if(!L){y=e((function(r,e,t,n){s(r,y,u);var i=0;var o=0;var f,v,l;if(!g(e)){l=h(e);v=l*a;f=new O(v)}else if(V(e)){f=e;o=d(t,a);var p=e.byteLength;if(n===undefined){if(p%a)throw U(Y);v=p-o;if(v<0)throw U(Y)}else{v=c(n)*a;if(v+o>p)throw U(Y)}l=v/a}else if(Q(e)){return $(y,e)}else{return A.call(y,e)}T(r,{buffer:f,byteOffset:o,byteLength:v,length:l,view:new I(f)});while(i<l)j(r,i++)}));if(z)z(y,P);m=y.prototype=b(D)}else if(o){y=e((function(r,e,t,n){s(r,y,u);return R(function(){if(!g(e))return new p(h(e));if(V(e))return n!==undefined?new p(e,d(t,a),n):t!==undefined?new p(e,d(t,a)):new p(e);if(Q(e))return $(y,e);return A.call(y,e)}(),r,y)}));if(z)z(y,P);x(w(p),(function(r){if(!(r in y)){l(y,r,p[r])}}));y.prototype=m}if(m.constructor!==y){l(m,"constructor",y)}if(B){l(m,B,u)}k[u]=y;n({global:true,forced:y!=p,sham:!L},k);if(!(q in y)){l(y,q,a)}if(!(q in m)){l(m,q,a)}_(u)}}else r.exports=function(){}},3832:function(r,e,t){var n=t(7854);var i=t(7293);var a=t(7072);var o=t(260).NATIVE_ARRAY_BUFFER_VIEWS;var u=n.ArrayBuffer;var f=n.Int8Array;r.exports=!o||!i((function(){f(1)}))||!i((function(){new f(-1)}))||!a((function(r){new f;new f(null);new f(1.5);new f(r)}),true)||i((function(){return new f(new u(2),1,undefined).length!==1}))},3074:function(r,e,t){var n=t(260).aTypedArrayConstructor;var i=t(6707);r.exports=function(r,e){var t=i(r,r.constructor);var a=0;var o=e.length;var u=new(n(t))(o);while(o>a)u[a]=e[a++];return u}},7321:function(r,e,t){var n=t(7908);var i=t(7466);var a=t(1246);var o=t(7659);var u=t(9974);var f=t(260).aTypedArrayConstructor;r.exports=function r(e){var t=n(e);var s=arguments.length;var v=s>1?arguments[1]:undefined;var l=v!==undefined;var c=a(t);var h,d,p,y,m,g;if(c!=undefined&&!o(c)){m=c.call(t);g=m.next;t=[];while(!(y=g.call(m)).done){t.push(y.value)}}if(l&&s>2){v=u(v,arguments[2],2)}d=i(t.length);p=new(f(this))(d);for(h=0;d>h;h++){p[h]=l?v(t[h],h):t[h]}return p}},9711:function(r){var e=0;var t=Math.random();r.exports=function(r){return"Symbol("+String(r===undefined?"":r)+")_"+(++e+t).toString(36)}},3307:function(r,e,t){var n=t(133);r.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},5112:function(r,e,t){var n=t(7854);var i=t(2309);var a=t(6656);var o=t(9711);var u=t(133);var f=t(3307);var s=i("wks");var v=n.Symbol;var l=f?v:v&&v.withoutSetter||o;r.exports=function(r){if(!a(s,r)){if(u&&a(v,r))s[r]=v[r];else s[r]=l("Symbol."+r)}return s[r]}},1361:function(r){r.exports="\t\n\v\f\r      "+"           \u2028\u2029\ufeff"},8264:function(r,e,t){var n=t(2109);var i=t(7854);var a=t(3331);var o=t(6340);var u="ArrayBuffer";var f=a[u];var s=i[u];n({global:true,forced:s!==f},{ArrayBuffer:f});o(u)},2222:function(r,e,t){var n=t(2109);var i=t(7293);var a=t(3157);var o=t(111);var u=t(7908);var f=t(7466);var s=t(6135);var v=t(5417);var l=t(1194);var c=t(5112);var h=t(7392);var d=c("isConcatSpreadable");var p=9007199254740991;var y="Maximum allowed index exceeded";var m=h>=51||!i((function(){var r=[];r[d]=false;return r.concat()[0]!==r}));var g=l("concat");var b=function(r){if(!o(r))return false;var e=r[d];return e!==undefined?!!e:a(r)};var z=!m||!g;n({target:"Array",proto:true,forced:z},{concat:function r(e){var t=u(this);var n=v(t,0);var i=0;var a,o,l,c,h;for(a=-1,l=arguments.length;a<l;a++){h=a===-1?t:arguments[a];if(b(h)){c=f(h.length);if(i+c>p)throw TypeError(y);for(o=0;o<c;o++,i++)if(o in h)s(n,i,h[o])}else{if(i>=p)throw TypeError(y);s(n,i++,h)}}n.length=i;return n}})},7327:function(r,e,t){var n=t(2109);var i=t(2092).filter;var a=t(1194);var o=a("filter");n({target:"Array",proto:true,forced:!o},{filter:function r(e){return i(this,e,arguments.length>1?arguments[1]:undefined)}})},2772:function(r,e,t){var n=t(2109);var i=t(1318).indexOf;var a=t(9341);var o=[].indexOf;var u=!!o&&1/[1].indexOf(1,-0)<0;var f=a("indexOf");n({target:"Array",proto:true,forced:u||!f},{indexOf:function r(e){return u?o.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:undefined)}})},6992:function(r,e,t){var n=t(5656);var i=t(1223);var a=t(7497);var o=t(9909);var u=t(654);var f="Array Iterator";var s=o.set;var v=o.getterFor(f);r.exports=u(Array,"Array",(function(r,e){s(this,{type:f,target:n(r),index:0,kind:e})}),(function(){var r=v(this);var e=r.target;var t=r.kind;var n=r.index++;if(!e||n>=e.length){r.target=undefined;return{value:undefined,done:true}}if(t=="keys")return{value:n,done:false};if(t=="values")return{value:e[n],done:false};return{value:[n,e[n]],done:false}}),"values");a.Arguments=a.Array;i("keys");i("values");i("entries")},1249:function(r,e,t){var n=t(2109);var i=t(2092).map;var a=t(1194);var o=a("map");n({target:"Array",proto:true,forced:!o},{map:function r(e){return i(this,e,arguments.length>1?arguments[1]:undefined)}})},7042:function(r,e,t){var n=t(2109);var i=t(111);var a=t(3157);var o=t(1400);var u=t(7466);var f=t(5656);var s=t(6135);var v=t(5112);var l=t(1194);var c=l("slice");var h=v("species");var d=[].slice;var p=Math.max;n({target:"Array",proto:true,forced:!c},{slice:function r(e,t){var n=f(this);var v=u(n.length);var l=o(e,v);var c=o(t===undefined?v:t,v);var y,m,g;if(a(n)){y=n.constructor;if(typeof y=="function"&&(y===Array||a(y.prototype))){y=undefined}else if(i(y)){y=y[h];if(y===null)y=undefined}if(y===Array||y===undefined){return d.call(n,l,c)}}m=new(y===undefined?Array:y)(p(c-l,0));for(g=0;l<c;l++,g++)if(l in n)s(m,g,n[l]);m.length=g;return m}})},561:function(r,e,t){var n=t(2109);var i=t(1400);var a=t(9958);var o=t(7466);var u=t(7908);var f=t(5417);var s=t(6135);var v=t(1194);var l=v("splice");var c=Math.max;var h=Math.min;var d=9007199254740991;var p="Maximum allowed length exceeded";n({target:"Array",proto:true,forced:!l},{splice:function r(e,t){var n=u(this);var v=o(n.length);var l=i(e,v);var y=arguments.length;var m,g,b,z,w,A;if(y===0){m=g=0}else if(y===1){m=0;g=v-l}else{m=y-2;g=h(c(a(t),0),v-l)}if(v+m-g>d){throw TypeError(p)}b=f(n,g);for(z=0;z<g;z++){w=l+z;if(w in n)s(b,z,n[w])}b.length=g;if(m<g){for(z=l;z<v-g;z++){w=z+g;A=z+m;if(w in n)n[A]=n[w];else delete n[A]}for(z=v;z>v-g+m;z--)delete n[z-1]}else if(m>g){for(z=v-g;z>l;z--){w=z+g-1;A=z+m-1;if(w in n)n[A]=n[w];else delete n[A]}}for(z=0;z<m;z++){n[z+l]=arguments[z+2]}n.length=v-g+m;return b}})},8309:function(r,e,t){var n=t(9781);var i=t(3070).f;var a=Function.prototype;var o=a.toString;var u=/^\s*function ([^ (]*)/;var f="name";if(n&&!(f in a)){i(a,f,{configurable:true,get:function(){try{return o.call(this).match(u)[1]}catch(r){return""}}})}},489:function(r,e,t){var n=t(2109);var i=t(7293);var a=t(7908);var o=t(9518);var u=t(8544);var f=i((function(){o(1)}));n({target:"Object",stat:true,forced:f,sham:!u},{getPrototypeOf:function r(e){return o(a(e))}})},1539:function(r,e,t){var n=t(1694);var i=t(1320);var a=t(288);if(!n){i(Object.prototype,"toString",a,{unsafe:true})}},4916:function(r,e,t){var n=t(2109);var i=t(2261);n({target:"RegExp",proto:true,forced:/./.exec!==i},{exec:i})},9714:function(r,e,t){var n=t(1320);var i=t(9670);var a=t(7293);var o=t(7066);var u="toString";var f=RegExp.prototype;var s=f[u];var v=a((function(){return s.call({source:"a",flags:"b"})!="/a/b"}));var l=s.name!=u;if(v||l){n(RegExp.prototype,u,(function r(){var e=i(this);var t=String(e.source);var n=e.flags;var a=String(n===undefined&&e instanceof RegExp&&!("flags"in f)?o.call(e):n);return"/"+t+"/"+a}),{unsafe:true})}},8783:function(r,e,t){var n=t(8710).charAt;var i=t(9909);var a=t(654);var o="String Iterator";var u=i.set;var f=i.getterFor(o);a(String,"String",(function(r){u(this,{type:o,string:String(r),index:0})}),(function r(){var e=f(this);var t=e.string;var i=e.index;var a;if(i>=t.length)return{value:undefined,done:true};a=n(t,i);e.index+=a.length;return{value:a,done:false}}))},4723:function(r,e,t){var n=t(7007);var i=t(9670);var a=t(7466);var o=t(4488);var u=t(1530);var f=t(7651);n("match",1,(function(r,e,t){return[function e(t){var n=o(this);var i=t==undefined?undefined:t[r];return i!==undefined?i.call(t,n):new RegExp(t)[r](String(n))},function(r){var n=t(e,r,this);if(n.done)return n.value;var o=i(r);var s=String(this);if(!o.global)return f(o,s);var v=o.unicode;o.lastIndex=0;var l=[];var c=0;var h;while((h=f(o,s))!==null){var d=String(h[0]);l[c]=d;if(d==="")o.lastIndex=u(s,a(o.lastIndex),v);c++}return c===0?null:l}]}))},5306:function(r,e,t){var n=t(7007);var i=t(9670);var a=t(7466);var o=t(9958);var u=t(4488);var f=t(1530);var s=t(647);var v=t(7651);var l=Math.max;var c=Math.min;var h=function(r){return r===undefined?r:String(r)};n("replace",2,(function(r,e,t,n){var d=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;var p=n.REPLACE_KEEPS_$0;var y=d?"$":"$0";return[function t(n,i){var a=u(this);var o=n==undefined?undefined:n[r];return o!==undefined?o.call(n,a,i):e.call(String(a),n,i)},function(r,n){if(!d&&p||typeof n==="string"&&n.indexOf(y)===-1){var u=t(e,r,this,n);if(u.done)return u.value}var m=i(r);var g=String(this);var b=typeof n==="function";if(!b)n=String(n);var z=m.global;if(z){var w=m.unicode;m.lastIndex=0}var A=[];while(true){var x=v(m,g);if(x===null)break;A.push(x);if(!z)break;var _=String(x[0]);if(_==="")m.lastIndex=f(g,a(m.lastIndex),w)}var k="";var S=0;for(var E=0;E<A.length;E++){x=A[E];var R=String(x[0]);var F=l(c(o(x.index),g.length),0);var T=[];for(var C=1;C<x.length;C++)T.push(h(x[C]));var j=x.groups;if(b){var M=[R].concat(T,F,g);if(j!==undefined)M.push(j);var U=String(n.apply(undefined,M))}else{U=s(R,g,F,T,j,n)}if(F>=S){k+=g.slice(S,F)+U;S=F+R.length}}return k+g.slice(S)}]}))},3123:function(r,e,t){var n=t(7007);var i=t(7850);var a=t(9670);var o=t(4488);var u=t(6707);var f=t(1530);var s=t(7466);var v=t(7651);var l=t(2261);var c=t(7293);var h=[].push;var d=Math.min;var p=4294967295;var y=!c((function(){return!RegExp(p,"y")}));n("split",2,(function(r,e,t){var n;if("abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length){n=function(r,t){var n=String(o(this));var a=t===undefined?p:t>>>0;if(a===0)return[];if(r===undefined)return[n];if(!i(r)){return e.call(n,r,a)}var u=[];var f=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(r.sticky?"y":"");var s=0;var v=new RegExp(r.source,f+"g");var c,d,y;while(c=l.call(v,n)){d=v.lastIndex;if(d>s){u.push(n.slice(s,c.index));if(c.length>1&&c.index<n.length)h.apply(u,c.slice(1));y=c[0].length;s=d;if(u.length>=a)break}if(v.lastIndex===c.index)v.lastIndex++}if(s===n.length){if(y||!v.test(""))u.push("")}else u.push(n.slice(s));return u.length>a?u.slice(0,a):u}}else if("0".split(undefined,0).length){n=function(r,t){return r===undefined&&t===0?[]:e.call(this,r,t)}}else n=e;return[function e(t,i){var a=o(this);var u=t==undefined?undefined:t[r];return u!==undefined?u.call(t,a,i):n.call(String(a),t,i)},function(r,i){var o=t(n,r,this,i,n!==e);if(o.done)return o.value;var l=a(r);var c=String(this);var h=u(l,RegExp);var m=l.unicode;var g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(y?"y":"g");var b=new h(y?l:"^(?:"+l.source+")",g);var z=i===undefined?p:i>>>0;if(z===0)return[];if(c.length===0)return v(b,c)===null?[c]:[];var w=0;var A=0;var x=[];while(A<c.length){b.lastIndex=y?A:0;var _=v(b,y?c:c.slice(A));var k;if(_===null||(k=d(s(b.lastIndex+(y?0:A)),c.length))===w){A=f(c,A,m)}else{x.push(c.slice(w,A));if(x.length===z)return x;for(var S=1;S<=_.length-1;S++){x.push(_[S]);if(x.length===z)return x}A=w=k}}x.push(c.slice(w));return x}]}),!y)},3210:function(r,e,t){var n=t(2109);var i=t(3111).trim;var a=t(6091);n({target:"String",proto:true,forced:a("trim")},{trim:function r(){return i(this)}})},2990:function(r,e,t){var n=t(260);var i=t(1048);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("copyWithin",(function r(e,t){return i.call(a(this),e,t,arguments.length>2?arguments[2]:undefined)}))},8927:function(r,e,t){var n=t(260);var i=t(2092).every;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("every",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},3105:function(r,e,t){var n=t(260);var i=t(1285);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("fill",(function r(e){return i.apply(a(this),arguments)}))},5035:function(r,e,t){var n=t(260);var i=t(2092).filter;var a=t(3074);var o=n.aTypedArray;var u=n.exportTypedArrayMethod;u("filter",(function r(e){var t=i(o(this),e,arguments.length>1?arguments[1]:undefined);return a(this,t)}))},7174:function(r,e,t){var n=t(260);var i=t(2092).findIndex;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("findIndex",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},4345:function(r,e,t){var n=t(260);var i=t(2092).find;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("find",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},2846:function(r,e,t){var n=t(260);var i=t(2092).forEach;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("forEach",(function r(e){i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},4731:function(r,e,t){var n=t(260);var i=t(1318).includes;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("includes",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},7209:function(r,e,t){var n=t(260);var i=t(1318).indexOf;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("indexOf",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},6319:function(r,e,t){var n=t(7854);var i=t(260);var a=t(6992);var o=t(5112);var u=o("iterator");var f=n.Uint8Array;var s=a.values;var v=a.keys;var l=a.entries;var c=i.aTypedArray;var h=i.exportTypedArrayMethod;var d=f&&f.prototype[u];var p=!!d&&(d.name=="values"||d.name==undefined);var y=function r(){return s.call(c(this))};h("entries",(function r(){return l.call(c(this))}));h("keys",(function r(){return v.call(c(this))}));h("values",y,!p);h(u,y,!p)},8867:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=[].join;a("join",(function r(e){return o.apply(i(this),arguments)}))},7789:function(r,e,t){var n=t(260);var i=t(6583);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("lastIndexOf",(function r(e){return i.apply(a(this),arguments)}))},3739:function(r,e,t){var n=t(260);var i=t(2092).map;var a=t(6707);var o=n.aTypedArray;var u=n.aTypedArrayConstructor;var f=n.exportTypedArrayMethod;f("map",(function r(e){return i(o(this),e,arguments.length>1?arguments[1]:undefined,(function(r,e){return new(u(a(r,r.constructor)))(e)}))}))},4483:function(r,e,t){var n=t(260);var i=t(3671).right;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("reduceRight",(function r(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},9368:function(r,e,t){var n=t(260);var i=t(3671).left;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("reduce",(function r(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},2056:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=Math.floor;a("reverse",(function r(){var e=this;var t=i(e).length;var n=o(t/2);var a=0;var u;while(a<n){u=e[a];e[a++]=e[--t];e[t]=u}return e}))},3462:function(r,e,t){var n=t(260);var i=t(7466);var a=t(4590);var o=t(7908);var u=t(7293);var f=n.aTypedArray;var s=n.exportTypedArrayMethod;var v=u((function(){new Int8Array(1).set({})}));s("set",(function r(e){f(this);var t=a(arguments.length>1?arguments[1]:undefined,1);var n=this.length;var u=o(e);var s=i(u.length);var v=0;if(s+t>n)throw RangeError("Wrong length");while(v<s)this[t+v]=u[v++]}),v)},678:function(r,e,t){var n=t(260);var i=t(6707);var a=t(7293);var o=n.aTypedArray;var u=n.aTypedArrayConstructor;var f=n.exportTypedArrayMethod;var s=[].slice;var v=a((function(){new Int8Array(1).slice()}));f("slice",(function r(e,t){var n=s.call(o(this),e,t);var a=i(this,this.constructor);var f=0;var v=n.length;var l=new(u(a))(v);while(v>f)l[f]=n[f++];return l}),v)},7462:function(r,e,t){var n=t(260);var i=t(2092).some;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("some",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},3824:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=[].sort;a("sort",(function r(e){return o.call(i(this),e)}))},5021:function(r,e,t){var n=t(260);var i=t(7466);var a=t(1400);var o=t(6707);var u=n.aTypedArray;var f=n.exportTypedArrayMethod;f("subarray",(function r(e,t){var n=u(this);var f=n.length;var s=a(e,f);return new(o(n,n.constructor))(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,i((t===undefined?f:a(t,f))-s))}))},2974:function(r,e,t){var n=t(7854);var i=t(260);var a=t(7293);var o=n.Int8Array;var u=i.aTypedArray;var f=i.exportTypedArrayMethod;var s=[].toLocaleString;var v=[].slice;var l=!!o&&a((function(){s.call(new o(1))}));var c=a((function(){return[1,2].toLocaleString()!=new o([1,2]).toLocaleString()}))||!a((function(){o.prototype.toLocaleString.call([1,2])}));f("toLocaleString",(function r(){return s.apply(l?v.call(u(this)):u(this),arguments)}),c)},5016:function(r,e,t){var n=t(260).exportTypedArrayMethod;var i=t(7293);var a=t(7854);var o=a.Uint8Array;var u=o&&o.prototype||{};var f=[].toString;var s=[].join;if(i((function(){f.call({})}))){f=function r(){return s.call(this)}}var v=u.toString!=f;n("toString",f,v)},2472:function(r,e,t){var n=t(9843);n("Uint8",(function(r){return function e(t,n,i){return r(this,t,n,i)}}))},4747:function(r,e,t){var n=t(7854);var i=t(8324);var a=t(8533);var o=t(8880);for(var u in i){var f=n[u];var s=f&&f.prototype;if(s&&s.forEach!==a)try{o(s,"forEach",a)}catch(r){s.forEach=a}}},3948:function(r,e,t){var n=t(7854);var i=t(8324);var a=t(6992);var o=t(8880);var u=t(5112);var f=u("iterator");var s=u("toStringTag");var v=a.values;for(var l in i){var c=n[l];var h=c&&c.prototype;if(h){if(h[f]!==v)try{o(h,f,v)}catch(r){h[f]=v}if(!h[s]){o(h,s,l)}if(i[l])for(var d in a){if(h[d]!==a[d])try{o(h,d,a[d])}catch(r){h[d]=a[d]}}}}},1637:function(r,e,t){t(6992);var n=t(2109);var i=t(5005);var a=t(590);var o=t(1320);var u=t(2248);var f=t(8003);var s=t(4994);var v=t(9909);var l=t(5787);var c=t(6656);var h=t(9974);var d=t(648);var p=t(9670);var y=t(111);var m=t(30);var g=t(9114);var b=t(8554);var z=t(1246);var w=t(5112);var A=i("fetch");var x=i("Headers");var _=w("iterator");var k="URLSearchParams";var S=k+"Iterator";var E=v.set;var R=v.getterFor(k);var F=v.getterFor(S);var T=/\+/g;var C=Array(4);var j=function(r){return C[r-1]||(C[r-1]=RegExp("((?:%[\\da-f]{2}){"+r+"})","gi"))};var M=function(r){try{return decodeURIComponent(r)}catch(e){return r}};var U=function(r){var e=r.replace(T," ");var t=4;try{return decodeURIComponent(e)}catch(r){while(t){e=e.replace(j(t--),M)}return e}};var O=/[!'()~]|%20/g;var I={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};var L=function(r){return I[r]};var B=function(r){return encodeURIComponent(r).replace(O,L)};var P=function(r,e){if(e){var t=e.split("&");var n=0;var i,a;while(n<t.length){i=t[n++];if(i.length){a=i.split("=");r.push({key:U(a.shift()),value:U(a.join("="))})}}}};var D=function(r){this.entries.length=0;P(this.entries,r)};var N=function(r,e){if(r<e)throw TypeError("Not enough arguments")};var Q=s((function r(e,t){E(this,{type:S,iterator:b(R(e).entries),kind:t})}),"Iterator",(function r(){var e=F(this);var t=e.kind;var n=e.iterator.next();var i=n.value;if(!n.done){n.value=t==="keys"?i.key:t==="values"?i.value:[i.key,i.value]}return n}));var q=function r(){l(this,q,k);var e=arguments.length>0?arguments[0]:undefined;var t=this;var n=[];var i,a,o,u,f,s,v,h,d;E(t,{type:k,entries:n,updateURL:function(){},updateSearchParams:D});if(e!==undefined){if(y(e)){i=z(e);if(typeof i==="function"){a=i.call(e);o=a.next;while(!(u=o.call(a)).done){f=b(p(u.value));s=f.next;if((v=s.call(f)).done||(h=s.call(f)).done||!s.call(f).done)throw TypeError("Expected sequence with length 2");n.push({key:v.value+"",value:h.value+""})}}else for(d in e)if(c(e,d))n.push({key:d,value:e[d]+""})}else{P(n,typeof e==="string"?e.charAt(0)==="?"?e.slice(1):e:e+"")}}};var Y=q.prototype;u(Y,{append:function r(e,t){N(arguments.length,2);var n=R(this);n.entries.push({key:e+"",value:t+""});n.updateURL()},delete:function(r){N(arguments.length,1);var e=R(this);var t=e.entries;var n=r+"";var i=0;while(i<t.length){if(t[i].key===n)t.splice(i,1);else i++}e.updateURL()},get:function r(e){N(arguments.length,1);var t=R(this).entries;var n=e+"";var i=0;for(;i<t.length;i++){if(t[i].key===n)return t[i].value}return null},getAll:function r(e){N(arguments.length,1);var t=R(this).entries;var n=e+"";var i=[];var a=0;for(;a<t.length;a++){if(t[a].key===n)i.push(t[a].value)}return i},has:function r(e){N(arguments.length,1);var t=R(this).entries;var n=e+"";var i=0;while(i<t.length){if(t[i++].key===n)return true}return false},set:function r(e,t){N(arguments.length,1);var n=R(this);var i=n.entries;var a=false;var o=e+"";var u=t+"";var f=0;var s;for(;f<i.length;f++){s=i[f];if(s.key===o){if(a)i.splice(f--,1);else{a=true;s.value=u}}}if(!a)i.push({key:o,value:u});n.updateURL()},sort:function r(){var e=R(this);var t=e.entries;var n=t.slice();var i,a,o;t.length=0;for(o=0;o<n.length;o++){i=n[o];for(a=0;a<o;a++){if(t[a].key>i.key){t.splice(a,0,i);break}}if(a===o)t.push(i)}e.updateURL()},forEach:function r(e){var t=R(this).entries;var n=h(e,arguments.length>1?arguments[1]:undefined,3);var i=0;var a;while(i<t.length){a=t[i++];n(a.value,a.key,this)}},keys:function r(){return new Q(this,"keys")},values:function r(){return new Q(this,"values")},entries:function r(){return new Q(this,"entries")}},{enumerable:true});o(Y,_,Y.entries);o(Y,"toString",(function r(){var e=R(this).entries;var t=[];var n=0;var i;while(n<e.length){i=e[n++];t.push(B(i.key)+"="+B(i.value))}return t.join("&")}),{enumerable:true});f(q,k);n({global:true,forced:!a},{URLSearchParams:q});if(!a&&typeof A=="function"&&typeof x=="function"){n({global:true,enumerable:true,forced:true},{fetch:function r(e){var t=[e];var n,i,a;if(arguments.length>1){n=arguments[1];if(y(n)){i=n.body;if(d(i)===k){a=n.headers?new x(n.headers):new x;if(!a.has("content-type")){a.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")}n=m(n,{body:g(0,String(i)),headers:g(0,a)})}}t.push(n)}return A.apply(this,t)}})}r.exports={URLSearchParams:q,getState:R}},285:function(r,e,t){t(8783);var n=t(2109);var i=t(9781);var a=t(590);var o=t(7854);var u=t(6048);var f=t(1320);var s=t(5787);var v=t(6656);var l=t(1574);var c=t(8457);var h=t(8710).codeAt;var d=t(3197);var p=t(8003);var y=t(1637);var m=t(9909);var g=o.URL;var b=y.URLSearchParams;var z=y.getState;var w=m.set;var A=m.getterFor("URL");var x=Math.floor;var _=Math.pow;var k="Invalid authority";var S="Invalid scheme";var E="Invalid host";var R="Invalid port";var F=/[A-Za-z]/;var T=/[\d+-.A-Za-z]/;var C=/\d/;var j=/^(0x|0X)/;var M=/^[0-7]+$/;var U=/^\d+$/;var O=/^[\dA-Fa-f]+$/;var I=/[\u0000\t\u000A\u000D #%/:?@[\\]]/;var L=/[\u0000\t\u000A\u000D #/:?@[\\]]/;var B=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g;var P=/[\t\u000A\u000D]/g;var D;var N=function(r,e){var t,n,i;if(e.charAt(0)=="["){if(e.charAt(e.length-1)!="]")return E;t=q(e.slice(1,-1));if(!t)return E;r.host=t}else if(!J(r)){if(L.test(e))return E;t="";n=c(e);for(i=0;i<n.length;i++){t+=H(n[i],G)}r.host=t}else{e=d(e);if(I.test(e))return E;t=Q(e);if(t===null)return E;r.host=t}};var Q=function(r){var e=r.split(".");var t,n,i,a,o,u,f;if(e.length&&e[e.length-1]==""){e.pop()}t=e.length;if(t>4)return r;n=[];for(i=0;i<t;i++){a=e[i];if(a=="")return r;o=10;if(a.length>1&&a.charAt(0)=="0"){o=j.test(a)?16:8;a=a.slice(o==8?1:2)}if(a===""){u=0}else{if(!(o==10?U:o==8?M:O).test(a))return r;u=parseInt(a,o)}n.push(u)}for(i=0;i<t;i++){u=n[i];if(i==t-1){if(u>=_(256,5-t))return null}else if(u>255)return null}f=n.pop();for(i=0;i<n.length;i++){f+=n[i]*_(256,3-i)}return f};var q=function(r){var e=[0,0,0,0,0,0,0,0];var t=0;var n=null;var i=0;var a,o,u,f,s,v,l;var c=function(){return r.charAt(i)};if(c()==":"){if(r.charAt(1)!=":")return;i+=2;t++;n=t}while(c()){if(t==8)return;if(c()==":"){if(n!==null)return;i++;t++;n=t;continue}a=o=0;while(o<4&&O.test(c())){a=a*16+parseInt(c(),16);i++;o++}if(c()=="."){if(o==0)return;i-=o;if(t>6)return;u=0;while(c()){f=null;if(u>0){if(c()=="."&&u<4)i++;else return}if(!C.test(c()))return;while(C.test(c())){s=parseInt(c(),10);if(f===null)f=s;else if(f==0)return;else f=f*10+s;if(f>255)return;i++}e[t]=e[t]*256+f;u++;if(u==2||u==4)t++}if(u!=4)return;break}else if(c()==":"){i++;if(!c())return}else if(c())return;e[t++]=a}if(n!==null){v=t-n;t=7;while(t!=0&&v>0){l=e[t];e[t--]=e[n+v-1];e[n+--v]=l}}else if(t!=8)return;return e};var Y=function(r){var e=null;var t=1;var n=null;var i=0;var a=0;for(;a<8;a++){if(r[a]!==0){if(i>t){e=n;t=i}n=null;i=0}else{if(n===null)n=a;++i}}if(i>t){e=n;t=i}return e};var $=function(r){var e,t,n,i;if(typeof r=="number"){e=[];for(t=0;t<4;t++){e.unshift(r%256);r=x(r/256)}return e.join(".")}else if(typeof r=="object"){e="";n=Y(r);for(t=0;t<8;t++){if(i&&r[t]===0)continue;if(i)i=false;if(n===t){e+=t?":":"::";i=true}else{e+=r[t].toString(16);if(t<7)e+=":"}}return"["+e+"]"}return r};var G={};var V=l({},G,{" ":1,'"':1,"<":1,">":1,"`":1});var W=l({},V,{"#":1,"?":1,"{":1,"}":1});var X=l({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1});var H=function(r,e){var t=h(r,0);return t>32&&t<127&&!v(e,r)?r:encodeURIComponent(r)};var K={ftp:21,file:null,http:80,https:443,ws:80,wss:443};var J=function(r){return v(K,r.scheme)};var Z=function(r){return r.username!=""||r.password!=""};var rr=function(r){return!r.host||r.cannotBeABaseURL||r.scheme=="file"};var er=function(r,e){var t;return r.length==2&&F.test(r.charAt(0))&&((t=r.charAt(1))==":"||!e&&t=="|")};var tr=function(r){var e;return r.length>1&&er(r.slice(0,2))&&(r.length==2||((e=r.charAt(2))==="/"||e==="\\"||e==="?"||e==="#"))};var nr=function(r){var e=r.path;var t=e.length;if(t&&(r.scheme!="file"||t!=1||!er(e[0],true))){e.pop()}};var ir=function(r){return r==="."||r.toLowerCase()==="%2e"};var ar=function(r){r=r.toLowerCase();return r===".."||r==="%2e."||r===".%2e"||r==="%2e%2e"};var or={};var ur={};var fr={};var sr={};var vr={};var lr={};var cr={};var hr={};var dr={};var pr={};var yr={};var mr={};var gr={};var br={};var zr={};var wr={};var Ar={};var xr={};var _r={};var kr={};var Sr={};var Er=function(r,e,t,n){var i=t||or;var a=0;var o="";var u=false;var f=false;var s=false;var l,h,d,p;if(!t){r.scheme="";r.username="";r.password="";r.host=null;r.port=null;r.path=[];r.query=null;r.fragment=null;r.cannotBeABaseURL=false;e=e.replace(B,"")}e=e.replace(P,"");l=c(e);while(a<=l.length){h=l[a];switch(i){case or:if(h&&F.test(h)){o+=h.toLowerCase();i=ur}else if(!t){i=fr;continue}else return S;break;case ur:if(h&&(T.test(h)||h=="+"||h=="-"||h==".")){o+=h.toLowerCase()}else if(h==":"){if(t&&(J(r)!=v(K,o)||o=="file"&&(Z(r)||r.port!==null)||r.scheme=="file"&&!r.host))return;r.scheme=o;if(t){if(J(r)&&K[r.scheme]==r.port)r.port=null;return}o="";if(r.scheme=="file"){i=br}else if(J(r)&&n&&n.scheme==r.scheme){i=sr}else if(J(r)){i=hr}else if(l[a+1]=="/"){i=vr;a++}else{r.cannotBeABaseURL=true;r.path.push("");i=_r}}else if(!t){o="";i=fr;a=0;continue}else return S;break;case fr:if(!n||n.cannotBeABaseURL&&h!="#")return S;if(n.cannotBeABaseURL&&h=="#"){r.scheme=n.scheme;r.path=n.path.slice();r.query=n.query;r.fragment="";r.cannotBeABaseURL=true;i=Sr;break}i=n.scheme=="file"?br:lr;continue;case sr:if(h=="/"&&l[a+1]=="/"){i=dr;a++}else{i=lr;continue}break;case vr:if(h=="/"){i=pr;break}else{i=xr;continue}case lr:r.scheme=n.scheme;if(h==D){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query=n.query}else if(h=="/"||h=="\\"&&J(r)){i=cr}else if(h=="?"){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query="";i=kr}else if(h=="#"){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query=n.query;r.fragment="";i=Sr}else{r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.path.pop();i=xr;continue}break;case cr:if(J(r)&&(h=="/"||h=="\\")){i=dr}else if(h=="/"){i=pr}else{r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;i=xr;continue}break;case hr:i=dr;if(h!="/"||o.charAt(a+1)!="/")continue;a++;break;case dr:if(h!="/"&&h!="\\"){i=pr;continue}break;case pr:if(h=="@"){if(u)o="%40"+o;u=true;d=c(o);for(var y=0;y<d.length;y++){var m=d[y];if(m==":"&&!s){s=true;continue}var g=H(m,X);if(s)r.password+=g;else r.username+=g}o=""}else if(h==D||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)){if(u&&o=="")return k;a-=c(o).length+1;o="";i=yr}else o+=h;break;case yr:case mr:if(t&&r.scheme=="file"){i=wr;continue}else if(h==":"&&!f){if(o=="")return E;p=N(r,o);if(p)return p;o="";i=gr;if(t==mr)return}else if(h==D||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)){if(J(r)&&o=="")return E;if(t&&o==""&&(Z(r)||r.port!==null))return;p=N(r,o);if(p)return p;o="";i=Ar;if(t)return;continue}else{if(h=="[")f=true;else if(h=="]")f=false;o+=h}break;case gr:if(C.test(h)){o+=h}else if(h==D||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)||t){if(o!=""){var b=parseInt(o,10);if(b>65535)return R;r.port=J(r)&&b===K[r.scheme]?null:b;o=""}if(t)return;i=Ar;continue}else return R;break;case br:r.scheme="file";if(h=="/"||h=="\\")i=zr;else if(n&&n.scheme=="file"){if(h==D){r.host=n.host;r.path=n.path.slice();r.query=n.query}else if(h=="?"){r.host=n.host;r.path=n.path.slice();r.query="";i=kr}else if(h=="#"){r.host=n.host;r.path=n.path.slice();r.query=n.query;r.fragment="";i=Sr}else{if(!tr(l.slice(a).join(""))){r.host=n.host;r.path=n.path.slice();nr(r)}i=xr;continue}}else{i=xr;continue}break;case zr:if(h=="/"||h=="\\"){i=wr;break}if(n&&n.scheme=="file"&&!tr(l.slice(a).join(""))){if(er(n.path[0],true))r.path.push(n.path[0]);else r.host=n.host}i=xr;continue;case wr:if(h==D||h=="/"||h=="\\"||h=="?"||h=="#"){if(!t&&er(o)){i=xr}else if(o==""){r.host="";if(t)return;i=Ar}else{p=N(r,o);if(p)return p;if(r.host=="localhost")r.host="";if(t)return;o="";i=Ar}continue}else o+=h;break;case Ar:if(J(r)){i=xr;if(h!="/"&&h!="\\")continue}else if(!t&&h=="?"){r.query="";i=kr}else if(!t&&h=="#"){r.fragment="";i=Sr}else if(h!=D){i=xr;if(h!="/")continue}break;case xr:if(h==D||h=="/"||h=="\\"&&J(r)||!t&&(h=="?"||h=="#")){if(ar(o)){nr(r);if(h!="/"&&!(h=="\\"&&J(r))){r.path.push("")}}else if(ir(o)){if(h!="/"&&!(h=="\\"&&J(r))){r.path.push("")}}else{if(r.scheme=="file"&&!r.path.length&&er(o)){if(r.host)r.host="";o=o.charAt(0)+":"}r.path.push(o)}o="";if(r.scheme=="file"&&(h==D||h=="?"||h=="#")){while(r.path.length>1&&r.path[0]===""){r.path.shift()}}if(h=="?"){r.query="";i=kr}else if(h=="#"){r.fragment="";i=Sr}}else{o+=H(h,W)}break;case _r:if(h=="?"){r.query="";i=kr}else if(h=="#"){r.fragment="";i=Sr}else if(h!=D){r.path[0]+=H(h,G)}break;case kr:if(!t&&h=="#"){r.fragment="";i=Sr}else if(h!=D){if(h=="'"&&J(r))r.query+="%27";else if(h=="#")r.query+="%23";else r.query+=H(h,G)}break;case Sr:if(h!=D)r.fragment+=H(h,V);break}a++}};var Rr=function r(e){var t=s(this,Rr,"URL");var n=arguments.length>1?arguments[1]:undefined;var a=String(e);var o=w(t,{type:"URL"});var u,f;if(n!==undefined){if(n instanceof Rr)u=A(n);else{f=Er(u={},String(n));if(f)throw TypeError(f)}}f=Er(o,a,null,u);if(f)throw TypeError(f);var v=o.searchParams=new b;var l=z(v);l.updateSearchParams(o.query);l.updateURL=function(){o.query=String(v)||null};if(!i){t.href=Tr.call(t);t.origin=Cr.call(t);t.protocol=jr.call(t);t.username=Mr.call(t);t.password=Ur.call(t);t.host=Or.call(t);t.hostname=Ir.call(t);t.port=Lr.call(t);t.pathname=Br.call(t);t.search=Pr.call(t);t.searchParams=Dr.call(t);t.hash=Nr.call(t)}};var Fr=Rr.prototype;var Tr=function(){var r=A(this);var e=r.scheme;var t=r.username;var n=r.password;var i=r.host;var a=r.port;var o=r.path;var u=r.query;var f=r.fragment;var s=e+":";if(i!==null){s+="//";if(Z(r)){s+=t+(n?":"+n:"")+"@"}s+=$(i);if(a!==null)s+=":"+a}else if(e=="file")s+="//";s+=r.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"";if(u!==null)s+="?"+u;if(f!==null)s+="#"+f;return s};var Cr=function(){var r=A(this);var e=r.scheme;var t=r.port;if(e=="blob")try{return new URL(e.path[0]).origin}catch(r){return"null"}if(e=="file"||!J(r))return"null";return e+"://"+$(r.host)+(t!==null?":"+t:"")};var jr=function(){return A(this).scheme+":"};var Mr=function(){return A(this).username};var Ur=function(){return A(this).password};var Or=function(){var r=A(this);var e=r.host;var t=r.port;return e===null?"":t===null?$(e):$(e)+":"+t};var Ir=function(){var r=A(this).host;return r===null?"":$(r)};var Lr=function(){var r=A(this).port;return r===null?"":String(r)};var Br=function(){var r=A(this);var e=r.path;return r.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""};var Pr=function(){var r=A(this).query;return r?"?"+r:""};var Dr=function(){return A(this).searchParams};var Nr=function(){var r=A(this).fragment;return r?"#"+r:""};var Qr=function(r,e){return{get:r,set:e,configurable:true,enumerable:true}};if(i){u(Fr,{href:Qr(Tr,(function(r){var e=A(this);var t=String(r);var n=Er(e,t);if(n)throw TypeError(n);z(e.searchParams).updateSearchParams(e.query)})),origin:Qr(Cr),protocol:Qr(jr,(function(r){var e=A(this);Er(e,String(r)+":",or)})),username:Qr(Mr,(function(r){var e=A(this);var t=c(String(r));if(rr(e))return;e.username="";for(var n=0;n<t.length;n++){e.username+=H(t[n],X)}})),password:Qr(Ur,(function(r){var e=A(this);var t=c(String(r));if(rr(e))return;e.password="";for(var n=0;n<t.length;n++){e.password+=H(t[n],X)}})),host:Qr(Or,(function(r){var e=A(this);if(e.cannotBeABaseURL)return;Er(e,String(r),yr)})),hostname:Qr(Ir,(function(r){var e=A(this);if(e.cannotBeABaseURL)return;Er(e,String(r),mr)})),port:Qr(Lr,(function(r){var e=A(this);if(rr(e))return;r=String(r);if(r=="")e.port=null;else Er(e,r,gr)})),pathname:Qr(Br,(function(r){var e=A(this);if(e.cannotBeABaseURL)return;e.path=[];Er(e,r+"",Ar)})),search:Qr(Pr,(function(r){var e=A(this);r=String(r);if(r==""){e.query=null}else{if("?"==r.charAt(0))r=r.slice(1);e.query="";Er(e,r,kr)}z(e.searchParams).updateSearchParams(e.query)})),searchParams:Qr(Dr),hash:Qr(Nr,(function(r){var e=A(this);r=String(r);if(r==""){e.fragment=null;return}if("#"==r.charAt(0))r=r.slice(1);e.fragment="";Er(e,r,Sr)}))})}f(Fr,"toJSON",(function r(){return Tr.call(this)}),{enumerable:true});f(Fr,"toString",(function r(){return Tr.call(this)}),{enumerable:true});if(g){var qr=g.createObjectURL;var Yr=g.revokeObjectURL;if(qr)f(Rr,"createObjectURL",(function r(e){return qr.apply(g,arguments)}));if(Yr)f(Rr,"revokeObjectURL",(function r(e){return Yr.apply(g,arguments)}))}p(Rr,"URL");n({global:true,forced:!a,sham:!i},{URL:Rr})}};var e={};function t(n){if(e[n]){return e[n].exports}var i=e[n]={exports:{}};r[n](i,i.exports,t);return i.exports}!function(){t.d=function(r,e){for(var n in e){if(t.o(e,n)&&!t.o(r,n)){Object.defineProperty(r,n,{enumerable:true,get:e[n]})}}}}();!function(){t.g=function(){if(typeof globalThis==="object")return globalThis;try{return this||new Function("return this")()}catch(r){if(typeof window==="object")return window}}()}();!function(){t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)}}();!function(){t.r=function(r){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(r,"__esModule",{value:true})}}();var n={};!function(){t.r(n);t.d(n,{Dropzone:function(){return T},default:function(){return P}});t(2222);t(7327);t(2772);t(6992);t(1249);t(7042);t(561);t(8264);t(8309);t(489);t(1539);t(4916);t(9714);t(8783);t(4723);t(5306);t(3123);t(3210);t(2472);t(2990);t(8927);t(3105);t(5035);t(4345);t(7174);t(2846);t(4731);t(7209);t(6319);t(8867);t(7789);t(3739);t(9368);t(4483);t(2056);t(3462);t(678);t(7462);t(3824);t(5021);t(2974);t(5016);t(4747);t(3948);t(285);function r(r,t){var n;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(n=e(r))||t&&r&&typeof r.length==="number"){if(n)r=n;var i=0;var a=function r(){};return{s:a,n:function e(){if(i>=r.length)return{done:true};return{done:false,value:r[i++]}},e:function r(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o=true,u=false,f;return{s:function e(){n=r[Symbol.iterator]()},n:function r(){var e=n.next();o=e.done;return e},e:function r(e){u=true;f=e},f:function r(){try{if(!o&&n.return!=null)n.return()}finally{if(u)throw f}}}}function e(r,e){if(!r)return;if(typeof r==="string")return i(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(r,e)}function i(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}function a(r,e){if(!(r instanceof e)){throw new TypeError("Cannot call a class as a function")}}function o(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(r,n.key,n)}}function u(r,e,t){if(e)o(r.prototype,e);if(t)o(r,t);return r}var f=function(){function e(){a(this,e)}u(e,[{key:"on",value:function r(e,t){this._callbacks=this._callbacks||{};if(!this._callbacks[e]){this._callbacks[e]=[]}this._callbacks[e].push(t);return this}},{key:"emit",value:function e(t){this._callbacks=this._callbacks||{};var n=this._callbacks[t];var i=true;var a=true;for(var o=arguments.length,u=new Array(o>1?o-1:0),f=1;f<o;f++){u[f-1]=arguments[f]}if(n){var s=r(n,true),v;try{for(s.s();!(v=s.n()).done;){var l=v.value;if(l.apply(this,u)===false){i=false}}}catch(r){s.e(r)}finally{s.f()}}if(this.element){a=this.element.dispatchEvent(this.makeEvent("dropzone:"+t,{args:u}))}return i&&a}},{key:"makeEvent",value:function r(e,t){var n={bubbles:true,cancelable:true,detail:t};if(typeof window.CustomEvent==="function"){return new CustomEvent(e,n)}else{var i=document.createEvent("CustomEvent");i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail);return i}}},{key:"off",value:function r(e,t){if(!this._callbacks||arguments.length===0){this._callbacks={};return this}var n=this._callbacks[e];if(!n){return this}if(arguments.length===1){delete this._callbacks[e];return this}for(var i=0;i<n.length;i++){var a=n[i];if(a===t){n.splice(i,1);break}}return this}}]);return e}();var s='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ';var v=s;function l(r,e){var t;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(t=c(r))||e&&r&&typeof r.length==="number"){if(t)r=t;var n=0;var i=function r(){};return{s:i,n:function e(){if(n>=r.length)return{done:true};return{done:false,value:r[n++]}},e:function r(e){throw e},f: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.")}var a=true,o=false,u;return{s:function e(){t=r[Symbol.iterator]()},n:function r(){var e=t.next();a=e.done;return e},e:function r(e){o=true;u=e},f:function r(){try{if(!a&&t.return!=null)t.return()}finally{if(o)throw u}}}}function c(r,e){if(!r)return;if(typeof r==="string")return h(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return h(r,e)}function h(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}var d={url:null,method:"post",withCredentials:false,timeout:null,parallelUploads:2,uploadMultiple:false,chunking:false,forceChunking:false,chunkSize:2e6,parallelChunkUploads:false,retryChunks:false,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:true,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:true,ignoreHiddenFiles:true,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:true,autoQueue:true,addRemoveLinks:false,previewsContainer:null,disablePreviews:false,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:false,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function r(){},params:function r(e,t,n){if(n){return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}}},accept:function r(e,t){return t()},chunksUploaded:function r(e,t){t()},fallback:function r(){var e;this.element.className="".concat(this.element.className," dz-browser-not-supported");var t=l(this.element.getElementsByTagName("div"),true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(/(^| )dz-message($| )/.test(i.className)){e=i;i.className="dz-message";break}}}catch(r){t.e(r)}finally{t.f()}if(!e){e=T.createElement('<div class="dz-message"><span></span></div>');this.element.appendChild(e)}var a=e.getElementsByTagName("span")[0];if(a){if(a.textContent!=null){a.textContent=this.options.dictFallbackMessage}else if(a.innerText!=null){a.innerText=this.options.dictFallbackMessage}}return this.element.appendChild(this.getFallbackForm())},resize:function r(e,t,n,i){var a={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height};var o=e.width/e.height;if(t==null&&n==null){t=a.srcWidth;n=a.srcHeight}else if(t==null){t=n*o}else if(n==null){n=t/o}t=Math.min(t,a.srcWidth);n=Math.min(n,a.srcHeight);var u=t/n;if(a.srcWidth>t||a.srcHeight>n){if(i==="crop"){if(o>u){a.srcHeight=e.height;a.srcWidth=a.srcHeight*u}else{a.srcWidth=e.width;a.srcHeight=a.srcWidth/u}}else if(i==="contain"){if(o>u){n=t/o}else{t=n*o}}else{throw new Error("Unknown resizeMethod '".concat(i,"'"))}}a.srcX=(e.width-a.srcWidth)/2;a.srcY=(e.height-a.srcHeight)/2;a.trgWidth=t;a.trgHeight=n;return a},transformFile:function r(e,t){if((this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)){return this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t)}else{return t(e)}},previewTemplate:v,drop:function r(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function r(e){},dragend:function r(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function r(e){return this.element.classList.add("dz-drag-hover")},dragover:function r(e){return this.element.classList.add("dz-drag-hover")},dragleave:function r(e){return this.element.classList.remove("dz-drag-hover")},paste:function r(e){},reset:function r(){return this.element.classList.remove("dz-started")},addedfile:function r(e){var t=this;if(this.element===this.previewsContainer){this.element.classList.add("dz-started")}if(this.previewsContainer&&!this.options.disablePreviews){e.previewElement=T.createElement(this.options.previewTemplate.trim());e.previewTemplate=e.previewElement;this.previewsContainer.appendChild(e.previewElement);var n=l(e.previewElement.querySelectorAll("[data-dz-name]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.textContent=e.name}}catch(r){n.e(r)}finally{n.f()}var o=l(e.previewElement.querySelectorAll("[data-dz-size]"),true),u;try{for(o.s();!(u=o.n()).done;){a=u.value;a.innerHTML=this.filesize(e.size)}}catch(r){o.e(r)}finally{o.f()}if(this.options.addRemoveLinks){e._removeLink=T.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>"));e.previewElement.appendChild(e._removeLink)}var f=function r(n){n.preventDefault();n.stopPropagation();if(e.status===T.UPLOADING){return T.confirm(t.options.dictCancelUploadConfirmation,(function(){return t.removeFile(e)}))}else{if(t.options.dictRemoveFileConfirmation){return T.confirm(t.options.dictRemoveFileConfirmation,(function(){return t.removeFile(e)}))}else{return t.removeFile(e)}}};var s=l(e.previewElement.querySelectorAll("[data-dz-remove]"),true),v;try{for(s.s();!(v=s.n()).done;){var c=v.value;c.addEventListener("click",f)}}catch(r){s.e(r)}finally{s.f()}}},removefile:function r(e){},removedfile:function r(e){if(e.previewElement!=null&&e.previewElement.parentNode!=null){e.previewElement.parentNode.removeChild(e.previewElement)}return this._updateMaxFilesReachedClass()},thumbnail:function r(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");var n=l(e.previewElement.querySelectorAll("[data-dz-thumbnail]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.alt=e.name;a.src=t}}catch(r){n.e(r)}finally{n.f()}return setTimeout((function(){return e.previewElement.classList.add("dz-image-preview")}),1)}},error:function r(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error");if(typeof t!=="string"&&t.error){t=t.error}var n=l(e.previewElement.querySelectorAll("[data-dz-errormessage]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.textContent=t}}catch(r){n.e(r)}finally{n.f()}}},errormultiple:function r(){},processing:function r(e){if(e.previewElement){e.previewElement.classList.add("dz-processing");if(e._removeLink){return e._removeLink.innerHTML=this.options.dictCancelUpload}}},processingmultiple:function r(){},uploadprogress:function r(e,t,n){if(e.previewElement){var i=l(e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.nodeName==="PROGRESS"?o.value=t:o.style.width="".concat(t,"%")}}catch(r){i.e(r)}finally{i.f()}}},totaluploadprogress:function r(){},sending:function r(){},sendingmultiple:function r(){},success:function r(e){if(e.previewElement){return e.previewElement.classList.add("dz-success")}},successmultiple:function r(){},canceled:function r(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function r(){},complete:function r(e){if(e._removeLink){e._removeLink.innerHTML=this.options.dictRemoveFile}if(e.previewElement){return e.previewElement.classList.add("dz-complete")}},completemultiple:function r(){},maxfilesexceeded:function r(){},maxfilesreached:function r(){},queuecomplete:function r(){},addedfiles:function r(){}};var p=d;function y(r){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){y=function r(e){return typeof e}}else{y=function r(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return y(r)}function m(r,e){var t;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(t=g(r))||e&&r&&typeof r.length==="number"){if(t)r=t;var n=0;var i=function r(){};return{s:i,n:function e(){if(n>=r.length)return{done:true};return{done:false,value:r[n++]}},e:function r(e){throw e},f: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.")}var a=true,o=false,u;return{s:function e(){t=r[Symbol.iterator]()},n:function r(){var e=t.next();a=e.done;return e},e:function r(e){o=true;u=e},f:function r(){try{if(!a&&t.return!=null)t.return()}finally{if(o)throw u}}}}function g(r,e){if(!r)return;if(typeof r==="string")return b(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(r,e)}function b(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}function z(r,e){if(!(r instanceof e)){throw new TypeError("Cannot call a class as a function")}}function w(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(r,n.key,n)}}function A(r,e,t){if(e)w(r.prototype,e);if(t)w(r,t);return r}function x(r,e){if(typeof e!=="function"&&e!==null){throw new TypeError("Super expression must either be null or a function")}r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:true,configurable:true}});if(e)_(r,e)}function _(r,e){_=Object.setPrototypeOf||function r(e,t){e.__proto__=t;return e};return _(r,e)}function k(r){var e=R();return function t(){var n=F(r),i;if(e){var a=F(this).constructor;i=Reflect.construct(n,arguments,a)}else{i=n.apply(this,arguments)}return S(this,i)}}function S(r,e){if(e&&(y(e)==="object"||typeof e==="function")){return e}return E(r)}function E(r){if(r===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r}function R(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Date.prototype.toString.call(Reflect.construct(Date,[],(function(){})));return true}catch(r){return false}}function F(r){F=Object.setPrototypeOf?Object.getPrototypeOf:function r(e){return e.__proto__||Object.getPrototypeOf(e)};return F(r)}var T=function(r){x(t,r);var e=k(t);function t(r,n){var i;z(this,t);i=e.call(this);var a,o;i.element=r;i.version=t.version;i.clickableElements=[];i.listeners=[];i.files=[];if(typeof i.element==="string"){i.element=document.querySelector(i.element)}if(!i.element||i.element.nodeType==null){throw new Error("Invalid dropzone element.")}if(i.element.dropzone){throw new Error("Dropzone already attached.")}t.instances.push(E(i));i.element.dropzone=E(i);var u=(o=t.optionsForElement(i.element))!=null?o:{};i.options=t.extend({},p,u,n!=null?n:{});i.options.previewTemplate=i.options.previewTemplate.replace(/\n*/g,"");if(i.options.forceFallback||!t.isBrowserSupported()){return S(i,i.options.fallback.call(E(i)))}if(i.options.url==null){i.options.url=i.element.getAttribute("action")}if(!i.options.url){throw new Error("No URL provided.")}if(i.options.acceptedFiles&&i.options.acceptedMimeTypes){throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.")}if(i.options.uploadMultiple&&i.options.chunking){throw new Error("You cannot set both: uploadMultiple and chunking.")}if(i.options.acceptedMimeTypes){i.options.acceptedFiles=i.options.acceptedMimeTypes;delete i.options.acceptedMimeTypes}if(i.options.renameFilename!=null){i.options.renameFile=function(r){return i.options.renameFilename.call(E(i),r.name,r)}}if(typeof i.options.method==="string"){i.options.method=i.options.method.toUpperCase()}if((a=i.getExistingFallback())&&a.parentNode){a.parentNode.removeChild(a)}if(i.options.previewsContainer!==false){if(i.options.previewsContainer){i.previewsContainer=t.getElement(i.options.previewsContainer,"previewsContainer")}else{i.previewsContainer=i.element}}if(i.options.clickable){if(i.options.clickable===true){i.clickableElements=[i.element]}else{i.clickableElements=t.getElements(i.options.clickable,"clickable")}}i.init();return i}A(t,[{key:"getAcceptedFiles",value:function r(){return this.files.filter((function(r){return r.accepted})).map((function(r){return r}))}},{key:"getRejectedFiles",value:function r(){return this.files.filter((function(r){return!r.accepted})).map((function(r){return r}))}},{key:"getFilesWithStatus",value:function r(e){return this.files.filter((function(r){return r.status===e})).map((function(r){return r}))}},{key:"getQueuedFiles",value:function r(){return this.getFilesWithStatus(t.QUEUED)}},{key:"getUploadingFiles",value:function r(){return this.getFilesWithStatus(t.UPLOADING)}},{key:"getAddedFiles",value:function r(){return this.getFilesWithStatus(t.ADDED)}},{key:"getActiveFiles",value:function r(){return this.files.filter((function(r){return r.status===t.UPLOADING||r.status===t.QUEUED})).map((function(r){return r}))}},{key:"init",value:function r(){var e=this;if(this.element.tagName==="form"){this.element.setAttribute("enctype","multipart/form-data")}if(this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")){this.element.appendChild(t.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>")))}if(this.clickableElements.length){var n=function r(){if(e.hiddenFileInput){e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput)}e.hiddenFileInput=document.createElement("input");e.hiddenFileInput.setAttribute("type","file");if(e.options.maxFiles===null||e.options.maxFiles>1){e.hiddenFileInput.setAttribute("multiple","multiple")}e.hiddenFileInput.className="dz-hidden-input";if(e.options.acceptedFiles!==null){e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles)}if(e.options.capture!==null){e.hiddenFileInput.setAttribute("capture",e.options.capture)}e.hiddenFileInput.setAttribute("tabindex","-1");e.hiddenFileInput.style.visibility="hidden";e.hiddenFileInput.style.position="absolute";e.hiddenFileInput.style.top="0";e.hiddenFileInput.style.left="0";e.hiddenFileInput.style.height="0";e.hiddenFileInput.style.width="0";t.getElement(e.options.hiddenInputContainer,"hiddenInputContainer").appendChild(e.hiddenFileInput);e.hiddenFileInput.addEventListener("change",(function(){var t=e.hiddenFileInput.files;if(t.length){var n=m(t,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;e.addFile(a)}}catch(r){n.e(r)}finally{n.f()}}e.emit("addedfiles",t);r()}))};n()}this.URL=window.URL!==null?window.URL:window.webkitURL;var i=m(this.events,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;this.on(o,this.options[o])}}catch(r){i.e(r)}finally{i.f()}this.on("uploadprogress",(function(){return e.updateTotalUploadProgress()}));this.on("removedfile",(function(){return e.updateTotalUploadProgress()}));this.on("canceled",(function(r){return e.emit("complete",r)}));this.on("complete",(function(r){if(e.getAddedFiles().length===0&&e.getUploadingFiles().length===0&&e.getQueuedFiles().length===0){return setTimeout((function(){return e.emit("queuecomplete")}),0)}}));var u=function r(e){if(e.dataTransfer.types){for(var t=0;t<e.dataTransfer.types.length;t++){if(e.dataTransfer.types[t]==="Files")return true}}return false};var f=function r(e){if(!u(e))return;e.stopPropagation();if(e.preventDefault){return e.preventDefault()}else{return e.returnValue=false}};this.listeners=[{element:this.element,events:{dragstart:function r(t){e.emit("dragstart",t);return e},dragenter:function r(t){f(t);e.emit("dragenter",t);return e},dragover:function r(t){var n;try{n=t.dataTransfer.effectAllowed}catch(r){}t.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy";f(t);e.emit("dragover",t);return e},dragleave:function r(t){e.emit("dragleave",t);return e},drop:function r(t){f(t);e.drop(t);return e},dragend:function r(t){e.emit("dragend",t);return e}}}];this.clickableElements.forEach((function(r){return e.listeners.push({element:r,events:{click:function n(i){if(r!==e.element||i.target===e.element||t.elementInside(i.target,e.element.querySelector(".dz-message"))){e.hiddenFileInput.click()}return true}}})}));this.enable();return this.options.init.call(this)}},{key:"destroy",value:function r(){this.disable();this.removeAllFiles(true);if(this.hiddenFileInput!=null?this.hiddenFileInput.parentNode:undefined){this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput);this.hiddenFileInput=null}delete this.element.dropzone;return t.instances.splice(t.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function r(){var e;var t=0;var n=0;var i=this.getActiveFiles();if(i.length){var a=m(this.getActiveFiles(),true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;t+=u.upload.bytesSent;n+=u.upload.total}}catch(r){a.e(r)}finally{a.f()}e=100*t/n}else{e=100}this.emit("totaluploadprogress",e,n,t);return this}},{key:"_getParamName",value:function r(e){if(typeof this.options.paramName==="function"){return this.options.paramName(e)}else{return"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(e,"]"):"")}}},{key:"_renameFile",value:function r(e){if(typeof this.options.renameFile!=="function"){return e.name}return this.options.renameFile(e)}},{key:"getFallbackForm",value:function r(){var e,n;if(e=this.getExistingFallback()){return e}var i='<div class="dz-fallback">';if(this.options.dictFallbackText){i+="<p>".concat(this.options.dictFallbackText,"</p>")}i+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':undefined,' /><input type="submit" value="Upload!"></div>');var a=t.createElement(i);if(this.element.tagName!=="FORM"){n=t.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'));n.appendChild(a)}else{this.element.setAttribute("enctype","multipart/form-data");this.element.setAttribute("method",this.options.method)}return n!=null?n:a}},{key:"getExistingFallback",value:function r(){var e=function r(e){var t=m(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(/(^| )fallback($| )/.test(i.className)){return i}}}catch(r){t.e(r)}finally{t.f()}};for(var t=0,n=["div","form"];t<n.length;t++){var i=n[t];var a;if(a=e(this.element.getElementsByTagName(i))){return a}}}},{key:"setupEventListeners",value:function r(){return this.listeners.map((function(r){return function(){var e=[];for(var t in r.events){var n=r.events[t];e.push(r.element.addEventListener(t,n,false))}return e}()}))}},{key:"removeEventListeners",value:function r(){return this.listeners.map((function(r){return function(){var e=[];for(var t in r.events){var n=r.events[t];e.push(r.element.removeEventListener(t,n,false))}return e}()}))}},{key:"disable",value:function r(){var e=this;this.clickableElements.forEach((function(r){return r.classList.remove("dz-clickable")}));this.removeEventListeners();this.disabled=true;return this.files.map((function(r){return e.cancelUpload(r)}))}},{key:"enable",value:function r(){delete this.disabled;this.clickableElements.forEach((function(r){return r.classList.add("dz-clickable")}));return this.setupEventListeners()}},{key:"filesize",value:function r(e){var t=0;var n="b";if(e>0){var i=["tb","gb","mb","kb","b"];for(var a=0;a<i.length;a++){var o=i[a];var u=Math.pow(this.options.filesizeBase,4-a)/10;if(e>=u){t=e/Math.pow(this.options.filesizeBase,4-a);n=o;break}}t=Math.round(10*t)/10}return"<strong>".concat(t,"</strong> ").concat(this.options.dictFileSizeUnits[n])}},{key:"_updateMaxFilesReachedClass",value:function r(){if(this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles){if(this.getAcceptedFiles().length===this.options.maxFiles){this.emit("maxfilesreached",this.files)}return this.element.classList.add("dz-max-files-reached")}else{return this.element.classList.remove("dz-max-files-reached")}}},{key:"drop",value:function r(e){if(!e.dataTransfer){return}this.emit("drop",e);var t=[];for(var n=0;n<e.dataTransfer.files.length;n++){t[n]=e.dataTransfer.files[n]}if(t.length){var i=e.dataTransfer.items;if(i&&i.length&&i[0].webkitGetAsEntry!=null){this._addFilesFromItems(i)}else{this.handleFiles(t)}}this.emit("addedfiles",t)}},{key:"paste",value:function r(e){if(L(e!=null?e.clipboardData:undefined,(function(r){return r.items}))==null){return}this.emit("paste",e);var t=e.clipboardData.items;if(t.length){return this._addFilesFromItems(t)}}},{key:"handleFiles",value:function r(e){var t=m(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;this.addFile(i)}}catch(r){t.e(r)}finally{t.f()}}},{key:"_addFilesFromItems",value:function r(e){var t=this;return function(){var r=[];var n=m(e,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;var o;if(a.webkitGetAsEntry!=null&&(o=a.webkitGetAsEntry())){if(o.isFile){r.push(t.addFile(a.getAsFile()))}else if(o.isDirectory){r.push(t._addFilesFromDirectory(o,o.name))}else{r.push(undefined)}}else if(a.getAsFile!=null){if(a.kind==null||a.kind==="file"){r.push(t.addFile(a.getAsFile()))}else{r.push(undefined)}}else{r.push(undefined)}}}catch(r){n.e(r)}finally{n.f()}return r}()}},{key:"_addFilesFromDirectory",value:function r(e,t){var n=this;var i=e.createReader();var a=function r(e){return B(console,"log",(function(r){return r.log(e)}))};var o=function r(){return i.readEntries((function(e){if(e.length>0){var i=m(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.isFile){o.file((function(r){if(n.options.ignoreHiddenFiles&&r.name.substring(0,1)==="."){return}r.fullPath="".concat(t,"/").concat(r.name);return n.addFile(r)}))}else if(o.isDirectory){n._addFilesFromDirectory(o,"".concat(t,"/").concat(o.name))}}}catch(r){i.e(r)}finally{i.f()}r()}return null}),a)};return o()}},{key:"accept",value:function r(e,n){if(this.options.maxFilesize&&e.size>this.options.maxFilesize*1024*1024){n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize))}else if(!t.isValidFile(e,this.options.acceptedFiles)){n(this.options.dictInvalidFileType)}else if(this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles){n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles));this.emit("maxfilesexceeded",e)}else{this.options.accept.call(this,e,n)}}},{key:"addFile",value:function r(e){var n=this;e.upload={uuid:t.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e)};this.files.push(e);e.status=t.ADDED;this.emit("addedfile",e);this._enqueueThumbnail(e);this.accept(e,(function(r){if(r){e.accepted=false;n._errorProcessing([e],r)}else{e.accepted=true;if(n.options.autoQueue){n.enqueueFile(e)}}n._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function r(e){var t=m(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;this.enqueueFile(i)}}catch(r){t.e(r)}finally{t.f()}return null}},{key:"enqueueFile",value:function r(e){var n=this;if(e.status===t.ADDED&&e.accepted===true){e.status=t.QUEUED;if(this.options.autoProcessQueue){return setTimeout((function(){return n.processQueue()}),0)}}else{throw new Error("This file can't be queued because it has already been processed or was rejected.")}}},{key:"_enqueueThumbnail",value:function r(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=this.options.maxThumbnailFilesize*1024*1024){this._thumbnailQueue.push(e);return setTimeout((function(){return t._processThumbnailQueue()}),0)}}},{key:"_processThumbnailQueue",value:function r(){var e=this;if(this._processingThumbnail||this._thumbnailQueue.length===0){return}this._processingThumbnail=true;var t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,true,(function(r){e.emit("thumbnail",t,r);e._processingThumbnail=false;return e._processThumbnailQueue()}))}},{key:"removeFile",value:function r(e){var n=this.emit("removefile",e);if(!n){return false}if(e.status===t.UPLOADING){this.cancelUpload(e)}this.files=C(this.files,e);this.emit("removedfile",e);if(this.files.length===0){this.emit("reset")}return true}},{key:"removeAllFiles",value:function r(e){if(e==null){e=false}var n=m(this.files.slice(),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;if(a.status!==t.UPLOADING||e){this.removeFile(a)}}}catch(r){n.e(r)}finally{n.f()}return null}},{key:"resizeImage",value:function r(e,n,i,a,o){var u=this;return this.createThumbnail(e,n,i,a,true,(function(r,n){if(n==null){return o(e)}else{var i=u.options.resizeMimeType;if(i==null){i=e.type}var a=n.toDataURL(i,u.options.resizeQuality);if(i==="image/jpeg"||i==="image/jpg"){a=O.restore(e.dataURL,a)}return o(t.dataURItoBlob(a))}}))}},{key:"createThumbnail",value:function r(e,t,n,i,a,o){var u=this;var f=new FileReader;f.onload=function(){e.dataURL=f.result;if(e.type==="image/svg+xml"){if(o!=null){o(f.result)}return}u.createThumbnailFromUrl(e,t,n,i,a,o)};f.readAsDataURL(e)}},{key:"displayExistingFile",value:function r(e,t,n,i){var a=this;var o=arguments.length>4&&arguments[4]!==undefined?arguments[4]:true;this.emit("addedfile",e);this.emit("complete",e);if(!o){this.emit("thumbnail",e,t);if(n)n()}else{var u=function r(t){a.emit("thumbnail",e,t);if(n)n()};e.dataURL=t;this.createThumbnailFromUrl(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,u,i)}}},{key:"createThumbnailFromUrl",value:function r(e,t,n,i,a,o,u){var f=this;var s=document.createElement("img");if(u){s.crossOrigin=u}a=getComputedStyle(document.body)["imageOrientation"]=="from-image"?false:a;s.onload=function(){var r=function r(e){return e(1)};if(typeof EXIF!=="undefined"&&EXIF!==null&&a){r=function r(e){return EXIF.getData(s,(function(){return e(EXIF.getTag(this,"Orientation"))}))}}return r((function(r){e.width=s.width;e.height=s.height;var a=f.options.resize.call(f,e,t,n,i);var u=document.createElement("canvas");var v=u.getContext("2d");u.width=a.trgWidth;u.height=a.trgHeight;if(r>4){u.width=a.trgHeight;u.height=a.trgWidth}switch(r){case 2:v.translate(u.width,0);v.scale(-1,1);break;case 3:v.translate(u.width,u.height);v.rotate(Math.PI);break;case 4:v.translate(0,u.height);v.scale(1,-1);break;case 5:v.rotate(.5*Math.PI);v.scale(1,-1);break;case 6:v.rotate(.5*Math.PI);v.translate(0,-u.width);break;case 7:v.rotate(.5*Math.PI);v.translate(u.height,-u.width);v.scale(-1,1);break;case 8:v.rotate(-.5*Math.PI);v.translate(-u.height,0);break}U(v,s,a.srcX!=null?a.srcX:0,a.srcY!=null?a.srcY:0,a.srcWidth,a.srcHeight,a.trgX!=null?a.trgX:0,a.trgY!=null?a.trgY:0,a.trgWidth,a.trgHeight);var l=u.toDataURL("image/png");if(o!=null){return o(l,u)}}))};if(o!=null){s.onerror=o}return s.src=e.dataURL}},{key:"processQueue",value:function r(){var e=this.options.parallelUploads;var t=this.getUploadingFiles().length;var n=t;if(t>=e){return}var i=this.getQueuedFiles();if(!(i.length>0)){return}if(this.options.uploadMultiple){return this.processFiles(i.slice(0,e-t))}else{while(n<e){if(!i.length){return}this.processFile(i.shift());n++}}}},{key:"processFile",value:function r(e){return this.processFiles([e])}},{key:"processFiles",value:function r(e){var n=m(e,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.processing=true;a.status=t.UPLOADING;this.emit("processing",a)}}catch(r){n.e(r)}finally{n.f()}if(this.options.uploadMultiple){this.emit("processingmultiple",e)}return this.uploadFiles(e)}},{key:"_getFilesWithXhr",value:function r(e){return this.files.filter((function(r){return r.xhr===e})).map((function(r){return r}))}},{key:"cancelUpload",value:function r(e){if(e.status===t.UPLOADING){var n=this._getFilesWithXhr(e.xhr);var i=m(n,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.status=t.CANCELED}}catch(r){i.e(r)}finally{i.f()}if(typeof e.xhr!=="undefined"){e.xhr.abort()}var u=m(n,true),f;try{for(u.s();!(f=u.n()).done;){var s=f.value;this.emit("canceled",s)}}catch(r){u.e(r)}finally{u.f()}if(this.options.uploadMultiple){this.emit("canceledmultiple",n)}}else if(e.status===t.ADDED||e.status===t.QUEUED){e.status=t.CANCELED;this.emit("canceled",e);if(this.options.uploadMultiple){this.emit("canceledmultiple",[e])}}if(this.options.autoProcessQueue){return this.processQueue()}}},{key:"resolveOption",value:function r(e){if(typeof e==="function"){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++){n[i-1]=arguments[i]}return e.apply(this,n)}return e}},{key:"uploadFile",value:function r(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function r(e){var n=this;this._transformFiles(e,(function(r){if(n.options.chunking){var i=r[0];e[0].upload.chunked=n.options.chunking&&(n.options.forceChunking||i.size>n.options.chunkSize);e[0].upload.totalChunkCount=Math.ceil(i.size/n.options.chunkSize)}if(e[0].upload.chunked){var a=e[0];var o=r[0];a.upload.chunks=[];var u=function r(){var i=0;while(a.upload.chunks[i]!==undefined){i++}if(i>=a.upload.totalChunkCount)return;var u=i*n.options.chunkSize;var f=Math.min(u+n.options.chunkSize,o.size);var s={name:n._getParamName(0),data:o.webkitSlice?o.webkitSlice(u,f):o.slice(u,f),filename:a.upload.filename,chunkIndex:i};a.upload.chunks[i]={file:a,index:i,dataBlock:s,status:t.UPLOADING,progress:0,retries:0};n._uploadData(e,[s])};a.upload.finishedChunkUpload=function(r,i){var o=true;r.status=t.SUCCESS;r.dataBlock=null;r.xhr=null;for(var f=0;f<a.upload.totalChunkCount;f++){if(a.upload.chunks[f]===undefined){return u()}if(a.upload.chunks[f].status!==t.SUCCESS){o=false}}if(o){n.options.chunksUploaded(a,(function(){n._finished(e,i,null)}))}};if(n.options.parallelChunkUploads){for(var f=0;f<a.upload.totalChunkCount;f++){u()}}else{u()}}else{var s=[];for(var v=0;v<e.length;v++){s[v]={name:n._getParamName(v),data:r[v],filename:e[v].upload.filename}}n._uploadData(e,s)}}))}},{key:"_getChunk",value:function r(e,t){for(var n=0;n<e.upload.totalChunkCount;n++){if(e.upload.chunks[n]!==undefined&&e.upload.chunks[n].xhr===t){return e.upload.chunks[n]}}}},{key:"_uploadData",value:function r(e,n){var i=this;var a=new XMLHttpRequest;var o=m(e,true),u;try{for(o.s();!(u=o.n()).done;){var f=u.value;f.xhr=a}}catch(r){o.e(r)}finally{o.f()}if(e[0].upload.chunked){e[0].upload.chunks[n[0].chunkIndex].xhr=a}var s=this.resolveOption(this.options.method,e);var v=this.resolveOption(this.options.url,e);a.open(s,v,true);var l=this.resolveOption(this.options.timeout,e);if(l)a.timeout=this.resolveOption(this.options.timeout,e);a.withCredentials=!!this.options.withCredentials;a.onload=function(r){i._finishedUploading(e,a,r)};a.ontimeout=function(){i._handleUploadError(e,a,"Request timedout after ".concat(i.options.timeout/1e3," seconds"))};a.onerror=function(){i._handleUploadError(e,a)};var c=a.upload!=null?a.upload:a;c.onprogress=function(r){return i._updateFilesUploadProgress(e,a,r)};var h={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};if(this.options.headers){t.extend(h,this.options.headers)}for(var d in h){var p=h[d];if(p){a.setRequestHeader(d,p)}}var y=new FormData;if(this.options.params){var g=this.options.params;if(typeof g==="function"){g=g.call(this,e,a,e[0].upload.chunked?this._getChunk(e[0],a):null)}for(var b in g){var z=g[b];if(Array.isArray(z)){for(var w=0;w<z.length;w++){y.append(b,z[w])}}else{y.append(b,z)}}}var A=m(e,true),x;try{for(A.s();!(x=A.n()).done;){var _=x.value;this.emit("sending",_,a,y)}}catch(r){A.e(r)}finally{A.f()}if(this.options.uploadMultiple){this.emit("sendingmultiple",e,a,y)}this._addFormElementData(y);for(var k=0;k<n.length;k++){var S=n[k];y.append(S.name,S.data,S.filename)}this.submitRequest(a,y,e)}},{key:"_transformFiles",value:function r(e,t){var n=this;var i=[];var a=0;var o=function r(o){n.options.transformFile.call(n,e[o],(function(r){i[o]=r;if(++a===e.length){t(i)}}))};for(var u=0;u<e.length;u++){o(u)}}},{key:"_addFormElementData",value:function r(e){if(this.element.tagName==="FORM"){var t=m(this.element.querySelectorAll("input, textarea, select, button"),true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;var a=i.getAttribute("name");var o=i.getAttribute("type");if(o)o=o.toLowerCase();if(typeof a==="undefined"||a===null)continue;if(i.tagName==="SELECT"&&i.hasAttribute("multiple")){var u=m(i.options,true),f;try{for(u.s();!(f=u.n()).done;){var s=f.value;if(s.selected){e.append(a,s.value)}}}catch(r){u.e(r)}finally{u.f()}}else if(!o||o!=="checkbox"&&o!=="radio"||i.checked){e.append(a,i.value)}}}catch(r){t.e(r)}finally{t.f()}}}},{key:"_updateFilesUploadProgress",value:function r(e,t,n){if(!e[0].upload.chunked){var i=m(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.upload.total&&o.upload.bytesSent&&o.upload.bytesSent==o.upload.total){continue}if(n){o.upload.progress=100*n.loaded/n.total;o.upload.total=n.total;o.upload.bytesSent=n.loaded}else{o.upload.progress=100;o.upload.bytesSent=o.upload.total}this.emit("uploadprogress",o,o.upload.progress,o.upload.bytesSent)}}catch(r){i.e(r)}finally{i.f()}}else{var u=e[0];var f=this._getChunk(u,t);if(n){f.progress=100*n.loaded/n.total;f.total=n.total;f.bytesSent=n.loaded}else{f.progress=100;f.bytesSent=f.total}u.upload.progress=0;u.upload.total=0;u.upload.bytesSent=0;for(var s=0;s<u.upload.totalChunkCount;s++){if(u.upload.chunks[s]&&typeof u.upload.chunks[s].progress!=="undefined"){u.upload.progress+=u.upload.chunks[s].progress;u.upload.total+=u.upload.chunks[s].total;u.upload.bytesSent+=u.upload.chunks[s].bytesSent}}u.upload.progress=u.upload.progress/u.upload.totalChunkCount;this.emit("uploadprogress",u,u.upload.progress,u.upload.bytesSent)}}},{key:"_finishedUploading",value:function r(e,n,i){var a;if(e[0].status===t.CANCELED){return}if(n.readyState!==4){return}if(n.responseType!=="arraybuffer"&&n.responseType!=="blob"){a=n.responseText;if(n.getResponseHeader("content-type")&&~n.getResponseHeader("content-type").indexOf("application/json")){try{a=JSON.parse(a)}catch(r){i=r;a="Invalid JSON response from server."}}}this._updateFilesUploadProgress(e,n);if(!(200<=n.status&&n.status<300)){this._handleUploadError(e,n,a)}else{if(e[0].upload.chunked){e[0].upload.finishedChunkUpload(this._getChunk(e[0],n),a)}else{this._finished(e,a,i)}}}},{key:"_handleUploadError",value:function r(e,n,i){if(e[0].status===t.CANCELED){return}if(e[0].upload.chunked&&this.options.retryChunks){var a=this._getChunk(e[0],n);if(a.retries++<this.options.retryChunksLimit){this._uploadData(e,[a.dataBlock]);return}else{console.warn("Retried this chunk too often. Giving up.")}}this._errorProcessing(e,i||this.options.dictResponseError.replace("{{statusCode}}",n.status),n)}},{key:"submitRequest",value:function r(e,t,n){if(e.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}e.send(t)}},{key:"_finished",value:function r(e,n,i){var a=m(e,true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;u.status=t.SUCCESS;this.emit("success",u,n,i);this.emit("complete",u)}}catch(r){a.e(r)}finally{a.f()}if(this.options.uploadMultiple){this.emit("successmultiple",e,n,i);this.emit("completemultiple",e)}if(this.options.autoProcessQueue){return this.processQueue()}}},{key:"_errorProcessing",value:function r(e,n,i){var a=m(e,true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;u.status=t.ERROR;this.emit("error",u,n,i);this.emit("complete",u)}}catch(r){a.e(r)}finally{a.f()}if(this.options.uploadMultiple){this.emit("errormultiple",e,n,i);this.emit("completemultiple",e)}if(this.options.autoProcessQueue){return this.processQueue()}}}],[{key:"initClass",value:function r(){this.prototype.Emitter=f;this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removefile","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"];this.prototype._thumbnailQueue=[];this.prototype._processingThumbnail=false}},{key:"extend",value:function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++){n[i-1]=arguments[i]}for(var a=0,o=n;a<o.length;a++){var u=o[a];for(var f in u){var s=u[f];e[f]=s}}return e}},{key:"uuidv4",value:function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(r){var e=Math.random()*16|0,t=r==="x"?e:e&3|8;return t.toString(16)}))}}]);return t}(f);T.initClass();T.version="dev";T.options={};T.optionsForElement=function(r){if(r.getAttribute("id")){return T.options[j(r.getAttribute("id"))]}else{return undefined}};T.instances=[];T.forElement=function(r){if(typeof r==="string"){r=document.querySelector(r)}if((r!=null?r.dropzone:undefined)==null){throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.")}return r.dropzone};T.autoDiscover=true;T.discover=function(){var r;if(document.querySelectorAll){r=document.querySelectorAll(".dropzone")}else{r=[];var e=function e(t){return function(){var e=[];var n=m(t,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;if(/(^| )dropzone($| )/.test(a.className)){e.push(r.push(a))}else{e.push(undefined)}}}catch(r){n.e(r)}finally{n.f()}return e}()};e(document.getElementsByTagName("div"));e(document.getElementsByTagName("form"))}return function(){var e=[];var t=m(r,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(T.optionsForElement(i)!==false){e.push(new T(i))}else{e.push(undefined)}}}catch(r){t.e(r)}finally{t.f()}return e}()};T.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i];T.isBrowserSupported=function(){var r=true;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector){if(!("classList"in document.createElement("a"))){r=false}else{if(T.blacklistedBrowsers!==undefined){T.blockedBrowsers=T.blacklistedBrowsers}var e=m(T.blockedBrowsers,true),t;try{for(e.s();!(t=e.n()).done;){var n=t.value;if(n.test(navigator.userAgent)){r=false;continue}}}catch(r){e.e(r)}finally{e.f()}}}else{r=false}return r};T.dataURItoBlob=function(r){var e=atob(r.split(",")[1]);var t=r.split(",")[0].split(":")[1].split(";")[0];var n=new ArrayBuffer(e.length);var i=new Uint8Array(n);for(var a=0,o=e.length,u=0<=o;u?a<=o:a>=o;u?a++:a--){i[a]=e.charCodeAt(a)}return new Blob([n],{type:t})};var C=function r(e,t){return e.filter((function(r){return r!==t})).map((function(r){return r}))};var j=function r(e){return e.replace(/[\-_](\w)/g,(function(r){return r.charAt(1).toUpperCase()}))};T.createElement=function(r){var e=document.createElement("div");e.innerHTML=r;return e.childNodes[0]};T.elementInside=function(r,e){if(r===e){return true}while(r=r.parentNode){if(r===e){return true}}return false};T.getElement=function(r,e){var t;if(typeof r==="string"){t=document.querySelector(r)}else if(r.nodeType!=null){t=r}if(t==null){throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector or a plain HTML element."))}return t};T.getElements=function(r,e){var t,n;if(r instanceof Array){n=[];try{var i=m(r,true),a;try{for(i.s();!(a=i.n()).done;){t=a.value;n.push(this.getElement(t,e))}}catch(r){i.e(r)}finally{i.f()}}catch(r){n=null}}else if(typeof r==="string"){n=[];var o=m(document.querySelectorAll(r),true),u;try{for(o.s();!(u=o.n()).done;){t=u.value;n.push(t)}}catch(r){o.e(r)}finally{o.f()}}else if(r.nodeType!=null){n=[r]}if(n==null||!n.length){throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."))}return n};T.confirm=function(r,e,t){if(window.confirm(r)){return e()}else if(t!=null){return t()}};T.isValidFile=function(r,e){if(!e){return true}e=e.split(",");var t=r.type;var n=t.replace(/\/.*$/,"");var i=m(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o=o.trim();if(o.charAt(0)==="."){if(r.name.toLowerCase().indexOf(o.toLowerCase(),r.name.length-o.length)!==-1){return true}}else if(/\/\*$/.test(o)){if(n===o.replace(/\/.*$/,"")){return true}}else{if(t===o){return true}}}}catch(r){i.e(r)}finally{i.f()}return false};if(typeof jQuery!=="undefined"&&jQuery!==null){jQuery.fn.dropzone=function(r){return this.each((function(){return new T(this,r)}))}}T.ADDED="added";T.QUEUED="queued";T.ACCEPTED=T.QUEUED;T.UPLOADING="uploading";T.PROCESSING=T.UPLOADING;T.CANCELED="canceled";T.ERROR="error";T.SUCCESS="success";var M=function r(e){var t=e.naturalHeight;var n=document.createElement("canvas");n.width=1;n.height=t;var i=n.getContext("2d");i.drawImage(e,0,0);var a=i.getImageData(1,0,1,t),o=a.data;var u=0;var f=t;var s=t;while(s>u){var v=o[(s-1)*4+3];if(v===0){f=s}else{u=s}s=f+u>>1}var l=s/t;if(l===0){return 1}else{return l}};var U=function r(e,t,n,i,a,o,u,f,s,v){var l=M(t);return e.drawImage(t,n,i,a,o,u,f,s,v/l)};var O=function(){function r(){z(this,r)}A(r,null,[{key:"initClass",value:function r(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function r(e){var t="";var n=undefined;var i=undefined;var a="";var o=undefined;var u=undefined;var f=undefined;var s="";var v=0;while(true){n=e[v++];i=e[v++];a=e[v++];o=n>>2;u=(n&3)<<4|i>>4;f=(i&15)<<2|a>>6;s=a&63;if(isNaN(i)){f=s=64}else if(isNaN(a)){s=64}t=t+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(u)+this.KEY_STR.charAt(f)+this.KEY_STR.charAt(s);n=i=a="";o=u=f=s="";if(!(v<e.length)){break}}return t}},{key:"restore",value:function r(e,t){if(!e.match("data:image/jpeg;base64,")){return t}var n=this.decode64(e.replace("data:image/jpeg;base64,",""));var i=this.slice2Segments(n);var a=this.exifManipulation(t,i);return"data:image/jpeg;base64,".concat(this.encode64(a))}},{key:"exifManipulation",value:function r(e,t){var n=this.getExifArray(t);var i=this.insertExif(e,n);var a=new Uint8Array(i);return a}},{key:"getExifArray",value:function r(e){var t=undefined;var n=0;while(n<e.length){t=e[n];if(t[0]===255&t[1]===225){return t}n++}return[]}},{key:"insertExif",value:function r(e,t){var n=e.replace("data:image/jpeg;base64,","");var i=this.decode64(n);var a=i.indexOf(255,3);var o=i.slice(0,a);var u=i.slice(a);var f=o;f=f.concat(t);f=f.concat(u);return f}},{key:"slice2Segments",value:function r(e){var t=0;var n=[];while(true){var i;if(e[t]===255&e[t+1]===218){break}if(e[t]===255&e[t+1]===216){t+=2}else{i=e[t+2]*256+e[t+3];var a=t+i+2;var o=e.slice(t,a);n.push(o);t=a}if(t>e.length){break}}return n}},{key:"decode64",value:function r(e){var t=undefined;var n=undefined;var i="";var a=undefined;var o=undefined;var u=undefined;var f="";var s=0;var v=[];var l=/[^A-Za-z0-9\+\/\=]/g;if(l.exec(e)){console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding.")}e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(true){a=this.KEY_STR.indexOf(e.charAt(s++));o=this.KEY_STR.indexOf(e.charAt(s++));u=this.KEY_STR.indexOf(e.charAt(s++));f=this.KEY_STR.indexOf(e.charAt(s++));t=a<<2|o>>4;n=(o&15)<<4|u>>2;i=(u&3)<<6|f;v.push(t);if(u!==64){v.push(n)}if(f!==64){v.push(i)}t=n=i="";a=o=u=f="";if(!(s<e.length)){break}}return v}}]);return r}();O.initClass();var I=function r(e,t){var n=false;var i=true;var a=e.document;var o=a.documentElement;var u=a.addEventListener?"addEventListener":"attachEvent";var f=a.addEventListener?"removeEventListener":"detachEvent";var s=a.addEventListener?"":"on";var v=function r(i){if(i.type==="readystatechange"&&a.readyState!=="complete"){return}(i.type==="load"?e:a)[f](s+i.type,r,false);if(!n&&(n=true)){return t.call(e,i.type||i)}};var l=function r(){try{o.doScroll("left")}catch(e){setTimeout(r,50);return}return v("poll")};if(a.readyState!=="complete"){if(a.createEventObject&&o.doScroll){try{i=!e.frameElement}catch(r){}if(i){l()}}a[u](s+"DOMContentLoaded",v,false);a[u](s+"readystatechange",v,false);return e[u](s+"load",v,false)}};T._autoDiscoverFunction=function(){if(T.autoDiscover){return T.discover()}};I(window,T._autoDiscoverFunction);function L(r,e){return typeof r!=="undefined"&&r!==null?e(r):undefined}function B(r,e,t){if(typeof r!=="undefined"&&r!==null&&typeof r[e]==="function"){return t(r,e)}else{return undefined}}window.Dropzone=T;var P=T}();return n}()}));const s=":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}stzh-upload[hidden]{display:none}stzh-upload *,stzh-upload *::before,stzh-upload *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;position:relative;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;}.stzh-upload__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__marker-text{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-upload__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-upload__error,.stzh-upload__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-upload__error{color:var(--stzh-color-error)}.stzh-upload__error-list{list-style:none;margin:0;padding:0}.stzh-upload__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-upload__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-upload__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-upload__description-long-popover[open]:not([open=false]) .stzh-upload__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__description-long-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-upload__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload stzh-icon.stzh-upload__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-xxsmall)}.stzh-upload__label{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__label{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-upload__clickarea{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);padding:var(--stzh-space-xxlarge);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center;border:0.0625rem solid var(--stzh-base-border-color);border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD4SURBVHgB7dlBCoMwEAXQSXqBHsUj9ChWdK2eoN6gdi/W3shjtLssWxDTmZKFFGqhphDhPxBDIOEbJAyMIpYkSay1PvJwSxPjOO7btu1oBq8t3NqPFuxj+Dk1TVOpNE0PwzBcZLLrOkMBieNYDm7LH7DTPCgowJDCZTKvk+YTtRQ4yahpJRDUNwlaUuDkeiMAAFhGalEKXJZlOVdQ+kyBs9bWKEp8Q1DfENQ3VPg+ocIHAPAAFb5HqPD/YVVBjes+BMllM5soim78s175TX3f3ykgk/bNQ8kEdx0qDpsrpd5PtuRmVD23mWumfbs5ftqHMxl+SmmmPQHYcmyn56UnaQAAAABJRU5ErkJggg==');border-image-slice:12;border-image-width:0.75rem;border-image-repeat:round;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 1024px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxxlarge)}}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIpSURBVHgB7d3BbeJAFMbxsYXFlRLYDtgKllIsC0vcEiqIU8EmB04glu2EdEAHYTvgbgv2vawdcdokni/ikP9Pwp6YyB59YCcej/SS0MrzfDQYDG6sOW1fb2qa5tt2uz2ECHbcsR33OQhcoT/70+n0uNlstt2G9LWRprmtqvCOMM/n89FWi9jOu3Yf9yHCFfszsdx+zWaz225D4ouyLG9Wq9WjfzpZlo3quj7Yjo8B/2VBTpMkOVp2e8/QcvudFEWRe8r2xnd/I+DDLi4T95Zl6tdNP21GAX112f3wa+jEW+v1ehfQ16FdT9OAaJd/bwhUjEDFCFSMQMUIVIxAxQhU5+Vfpy7QqMEJhGCjTv8ynM/n4wAJv6cPAAAAAAAAAPBVMCiq44P1qc8au5zfiH4sw7umaZ67Z0p3AbEqX3SBMpVRhMfIYgQqRqBiBCpGoGIEKkagYgQqRqBiBCpGoGIEKkagYgSqwxx7JebYfwIeJwEAAAAAAAD4UhgU1WGOvRBz7PUqXzDHXozHyGIEKkagYgQqRqBiBCr2GqhXqwmI5oHuvJFl2TigFy+y0jb3HuiTt+q6pjpNT3bL+ZKd11Ya2A8Pdj9/9DpCZVlOvMgKdUHe5pdIP6v9i2jZ7e1buvBCVUn3C0VR3KZp+vMD+6wseMm8Uq9FZB9kFeJuga/Zn4Ud+8EbyeXWtraSlwOavGcvw+FwvFwu/4QIyhJqV+jPzl5PfpZ3BVb+AjID1CfgWYnZAAAAAElFTkSuQmCC');border-image-slice:24}}.stzh-upload__button{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__button{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-upload__button{margin-top:var(--stzh-space-large)}}.stzh-upload stzh-icon.stzh-upload__delete-icon-error{display:none}.stzh-upload__preview{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border:0.0625rem solid var(--stzh-base-border-color);border-bottom:none;padding:var(--stzh-space-xsmall);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-small)}.stzh-upload__preview:not(.dz-error):last-child,.stzh-upload__errors:last-child .stzh-upload__preview:last-child{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-upload__errors .stzh-upload__preview:first-child,.stzh-upload__errors:empty+.stzh-upload__preview{border-top-left-radius:var(--stzh-button-border-radius);border-top-right-radius:var(--stzh-button-border-radius)}.stzh-upload__preview:last-child{border-bottom-left-radius:var(--stzh-button-border-radius);border-bottom-right-radius:var(--stzh-button-border-radius)}.stzh-upload:has(>.stzh-upload__preview) .stzh-upload__errors .stzh-upload__preview:last-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.stzh-upload__preview.dz-error .stzh-upload__title{color:var(--stzh-color-error)}.stzh-upload__preview.dz-error .stzh-upload__error-message{display:block}.stzh-upload__preview.dz-error .stzh-upload__meta,.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon{display:none}.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon-error{display:-ms-inline-flexbox;display:inline-flex}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-processing{display:none}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete{display:-ms-flexbox;display:flex}.stzh-upload__preview.dz-empty .stzh-upload__extension::after{content:\"\"}.stzh-upload__preview.dz-empty .stzh-upload__size{display:none}.stzh-upload__details{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;overflow:hidden}.stzh-upload__info-wrapper-processing,.stzh-upload__info-wrapper-complete{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.stzh-upload__info-wrapper-complete{display:none}.stzh-upload__actions{-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-upload__infos{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:var(--stzh-space-xxsmall)}.stzh-upload__title,.stzh-upload__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-upload__title{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__link[href]{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__link[href]:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload__meta{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em}.stzh-upload__size strong{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__image{display:none}.stzh-upload__progress{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--stzh-color-grey13)}.stzh-upload__progress-bar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__progress-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}.stzh-upload__extension{text-transform:uppercase}.stzh-upload__extension::after{content:\" | \"}.stzh-upload__download,.stzh-upload__delete{margin-left:var(--stzh-space-xsmall)}.stzh-upload__download[variant=tertiary][icon-only],.stzh-upload__delete[variant=tertiary][icon-only]{--color:var(--stzh-color-grey70)}.stzh-upload__download[variant=tertiary]{display:none}.stzh-upload__download[variant=tertiary][href]{display:-ms-flexbox;display:flex}.stzh-upload__error-message{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;color:var(--stzh-color-error);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);display:none}.stzh-upload.dz-started .stzh-upload__errors{margin-top:var(--stzh-space-small)}.stzh-upload:has(.stzh-upload__preview) .stzh-upload__errors{margin-top:var(--stzh-space-small)}.stzh-upload.dz-drag-hover .stzh-upload__clickarea{background-color:var(--stzh-color-primary4)}.stzh-upload.dz-drag-hover .stzh-upload__button{--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD/SURBVHgB7dlBasJAFAbg/71supy16aI9Qm7Qo7QnsDlBvUHrCdqeKPUEXbUunY0gCPOcMQgimIWOMOL/bRJC8vgJITz4BVFX1c9ieI+nDnss4KXB3xcGdKhfRbfPHnXGHG+waRP+JzLT0VsI4RtY+QbeoyAdXHxxdw5V9SQ/Wi8sLB9LC7nT4cGJrn8RgxoKlzIqrgSD5qbxA21RuPR7AxERnSftoijcTO/H3J5yY9DcGDQ3Bs2NGz4R0a3ghp8RN/xLuKqgvm8fypTKhnjwGleoNlUkJYbtM62cQaayvaCjiZiMIQeFGELbhPnH4LC+TPscuufkORYLMUObyrQNlY5lla7HUdEAAAAASUVORK5CYII=')}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIwSURBVHgB7d1NUhNBGIfxf3dKrdJNNlaJYTFu3Zg5gTlKbjByAuAEwgn0KHKCTk4gLhCrXJiFKy3mdXomCeoCQuYFFjy/DZOhauh6CGE+uqqDlpKGwxifVmZhoqCJNmD1xatS307VQ9KLIsTBZzm48/GYZhZ1XF6cfVztipfffTY1hYONYpoWJu31HXyWj9H83EP1cV/jCRoH04eknXf/7J/HnSp/zb+dpNE4v1uFayXtTnKvvD2Pu1XuFtJgNM2Vrf5Vlvo+E25s9TFhssPYxKy63U94V25t0LYLFt6GWRxZfjGuz4KwlaRiGOLvH3k7Cr2VOl2stgnqjKDOCOqMoM4I6oygzgjqpz11aoP2vjmB5k6XuobNWX4huMjX9AIAAAAAAACAh4Kbon5yy5hnjaX43/xG3Ng8vtzPLdtnSkFxX+ilnaysy6eeTGV0wmNkZwR1RlBnBHVGUGcEdUZQZwR1RlBnBHVGUGcEdUZQZwT1wxx7T8yxvwU8TgIAAAAAAADwoHBT1A9z7B0xx94Zc+xvCY+RnRHUGUGdEdQZQZ0R1Nk6KOt/+IjNGemnbvNRIWylueSctBtms2jBTrrdg4Wwpa6dWThu17FIcdReyyc9H69r40r5I3LZq2hfLxuuF1TJO5oX7zc9YJAdvKm/uswrzWsRWXM89bgEvs/xmOq9sj4/6sbxl6TRNARVeSWrTQ70uK6L1zr/oh48l1C78/E0/38shBPVP49KLdo/+z+8SbPi8H5KCQAAAABJRU5ErkJggg==')}}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-small)}.stzh-upload--is-disabled .stzh-upload__clickarea{cursor:not-allowed;background-color:var(--stzh-color-black8)}";window.Dropzone.autoDiscover=false;const v="data-dz-name";const l="data-dz-type";const c="data-dz-size";const h="data-dz-link";const d="data-dz-extension";const p="data-dz-progress-text";let y=0;const m=class{constructor(t){r(this,t);this.stzhFileAdded=e(this,"stzhFileAdded",7);this.stzhFilesAdded=e(this,"stzhFilesAdded",7);this.stzhFileRemove=e(this,"stzhFileRemove",7);this.stzhFileRemoved=e(this,"stzhFileRemoved",7);this.stzhSending=e(this,"stzhSending",7);this.stzhSendingMultiple=e(this,"stzhSendingMultiple",7);this.stzhProcessing=e(this,"stzhProcessing",7);this.stzhProcessingMultiple=e(this,"stzhProcessingMultiple",7);this.stzhProgress=e(this,"stzhProgress",7);this.stzhProgressTotal=e(this,"stzhProgressTotal",7);this.stzhError=e(this,"stzhError",7);this.stzhErrorMultiple=e(this,"stzhErrorMultiple",7);this.stzhSuccess=e(this,"stzhSuccess",7);this.stzhSuccessMultiple=e(this,"stzhSuccessMultiple",7);this.stzhCanceled=e(this,"stzhCanceled",7);this.stzhCanceledMultiple=e(this,"stzhCanceledMultiple",7);this.stzhComplete=e(this,"stzhComplete",7);this.stzhCompleteMultiple=e(this,"stzhCompleteMultiple",7);this._existingFiles=[];this.filesize=function(r){let e=0;let t="b";if(r>0){let n=["tb","gb","mb","kb","b"];for(let i=0;i<n.length;i++){let a=n[i];let o=Math.pow(this.options.filesizeBase,4-i)/10;if(r>=o){e=r/Math.pow(this.options.filesizeBase,4-i);t=a;break}}e=Math.round(e*100)/100}return`<strong>${e}</strong> ${this.options.dictFileSizeUnits[t]}`};this.existingFiles=[];this.label="";this.description="";this.button="";this.url="";this.method="post";this.withCredentials=false;this.disabled=false;this.invalid=false;this.downloadDisabled=false;this.error=undefined;this.acceptedFiles=null;this.autoProcessQueue=true;this.maxFiles=null;this.maxFilesize=25;this.parallelUploads=2;this.uploadMultiple=false;this.chunking=false;this.forceChunking=false;this.chunkSize=2*1024*1024;this.parallelChunkUploads=false;this.retryChunks=false;this.retryChunksLimit=3;this.filesizeBase=1024;this.headers=null;this.defaultHeaders=true;this.accept=function(r,e){return e()};this.chunksUploaded=function(r,e){e()};this.hiddenInputContainer=undefined;this.localization=undefined}existingFilesWatcher(r){if(typeof r==="string"){this._existingFiles=JSON.parse(r)}else{this._existingFiles=r}}disabledWatcher(){if(!this.dropzone){return}if(this.disabled){this.dropzone.disable()}else{this.dropzone.enable()}}errorWatcher(r){if(typeof r==="string"){try{this._error=JSON.parse(r)}catch(e){if(r){this._error=[r]}else{this._error=[]}}}else if(r){this._error=r}else{this._error=[]}this.invalid=this._error.length>0}async processQueue(){return this.dropzone.processQueue()}async componentWillLoad(){this.uploadId=`stzh-upload-${y++}`;this.existingFilesWatcher(this.existingFiles);this.errorWatcher(this.error);if(!this.localization){this.localization=await u(this.element,"upload")}}componentDidRender(){if(this.dropzone){return}const r=this;this.dropzone=new window.Dropzone(this.dropzoneElement,{url:this.url,method:this.method,withCredentials:this.withCredentials,clickable:[this.clickareaElement],acceptedFiles:this.acceptedFiles,accept:this.accept,maxFiles:this.maxFiles,maxFilesize:this.maxFilesize,filesizeBase:this.filesizeBase,parallelUploads:this.parallelUploads,uploadMultiple:this.uploadMultiple,autoProcessQueue:this.autoProcessQueue,headers:this.headers,defaultHeaders:this.defaultHeaders,chunking:this.chunking,chunkSize:this.chunkSize,chunksUploaded:this.chunksUploaded,forceChunking:this.forceChunking,parallelChunkUploads:this.parallelChunkUploads,retryChunks:this.retryChunks,retryChunksLimit:this.retryChunksLimit,createImageThumbnails:false,hiddenInputContainer:this.hiddenInputContainer?this.hiddenInputContainer:this.hiddenInputContainerElement,dictFileSizeUnits:{tb:"TiB",gb:"GiB",mb:"MiB",kb:"KiB",b:"b"},dictRemoveFileConfirmation:null,dictMaxFilesExceeded:this.localization.maxFilesExceeded,dictRemoveFile:this.localization.removeFile,dictCancelUploadConfirmation:this.localization.cancelUploadConfirmation,dictUploadCanceled:this.localization.uploadCanceled,dictCancelUpload:this.localization.cancelUpload,dictResponseError:this.localization.responseError,dictInvalidFileType:this.localization.invalidFileType,dictFileTooBig:this.localization.fileTooBig,addedfile(e){if(this.element===this.previewsContainer){this.element.classList.add("dz-started")}if(this.previewsContainer&&!this.options.disablePreviews){e.previewElement=window.Dropzone.createElement(this.options.previewTemplate.trim());e.previewTemplate=e.previewElement;this.previewsContainer.appendChild(e.previewElement);if(!e.size){e.previewElement.classList.add("dz-empty")}for(var t of e.previewElement.querySelectorAll(`[${v}]`)){t.textContent=e.name}for(t of e.previewElement.querySelectorAll(`[${c}]`)){t.innerHTML=r.filesize.call(this,e.size)}if(this.options.addRemoveLinks){e._removeLink=window.Dropzone.createElement(`<a class="dz-remove" href="javascript:undefined;" data-dz-remove>\n ${this.options.dictRemoveFile}\n </a>`);e.previewElement.appendChild(e._removeLink)}let n=r=>{r.preventDefault();r.stopPropagation();if(e.status===window.Dropzone.UPLOADING){return window.Dropzone.confirm(this.options.dictCancelUploadConfirmation,(()=>this.removeFile(e)))}else{if(this.options.dictRemoveFileConfirmation){return window.Dropzone.confirm(this.options.dictRemoveFileConfirmation,(()=>this.removeFile(e)))}else{return this.removeFile(e)}}};for(let r of e.previewElement.querySelectorAll("[data-dz-remove]")){r.addEventListener("click",n);const t=a(r);r.setAttribute(t?"analytics-id":"s-object-id",`${this.options.dictRemoveFile} ${e.name}`)}}},complete(e){for(let r of e.previewElement.querySelectorAll("[data-dz-remove]")){r.setAttribute("title",this.options.dictRemoveFile);r.setAttribute("aria-label",this.options.dictRemoveFile)}if(e.status==="error"){r.errorsElement.appendChild(e.previewElement)}else{if(!r.downloadDisabled){let n=e.url||"";if(e.upload){n=URL.createObjectURL(e)}if(n){for(var t of e.previewElement.querySelectorAll(`[${h}]`)){t.setAttribute("href",n);t.setAttribute("download",e.name);const i=a(t);t.setAttribute(i?"analytics-id":"s-object-id",`${r.localization.download} ${e.name}`)}}}}if(e._removeLink){e._removeLink.innerHTML=this.options.dictRemoveFile}if(e.previewElement){return e.previewElement.classList.add("dz-complete")}},removedfile(e){if(e.previewElement!=null&&e.previewElement.parentNode!=null){e.previewElement.parentNode.removeChild(e.previewElement)}r.buttonElement.setFocus();return this._updateMaxFilesReachedClass()},error(e,t,n){if(e.previewElement){e.previewElement.classList.add("dz-error");if(typeof t!=="string"&&t.error){t=t.error}else if(n){if(n.status===401||n.status===403){t=r.localization.accessError}else if(n.status===413){t=r.localization.fileTooBigServer}else if(n.status===415){t=r.localization.invalidFileType}else if(n.status>=500){t=r.localization.serverError}else{const e=r.localization.responseError.replace("{{statusCode}}",n.status);t=e}}for(let r of e.previewElement.querySelectorAll("[data-dz-errormessage]")){r.textContent=t}}},previewTemplate:`\n <div class="stzh-upload__preview">\n <div class="stzh-upload__image">\n <img data-dz-thumbnail />\n </div>\n\n <div class="stzh-upload__details">\n <div class="stzh-upload__info-wrapper-processing">\n <div class="stzh-upload__infos">\n <div class="stzh-upload__subtitle">\n <span ${v}></span>\n </div>\n <div class="stzh-upload__progress-text">\n <span ${p}></span>\n </div>\n </div>\n <div class="stzh-upload__progress">\n <span class="stzh-upload__progress-bar" data-dz-uploadprogress></span>\n </div>\n </div>\n <div class="stzh-upload__info-wrapper-complete">\n <div class="stzh-upload__title">\n <a class="stzh-upload__link" ${v} ${h}></a>\n </div>\n <div class="stzh-upload__meta">\n <span class="stzh-upload__extension" ${d}></span>\n <span class="stzh-upload__size" ${c}></span>\n </div>\n <div class="stzh-upload__error-message">\n <span data-dz-errormessage></span>\n </div>\n </div>\n <div class="stzh-upload__actions">\n <stzh-button variant="tertiary" size="tiny" icon-only icon="download" class="stzh-upload__download" ${h} aria-label="${this.localization.download}" title="${this.localization.download}"></stzh-button>\n <stzh-button variant="tertiary" size="tiny" icon-only class="stzh-upload__delete" data-dz-remove aria-label="${this.localization.cancelUpload}" title="${this.localization.cancelUpload}">\n <stzh-icon slot="icon" class="stzh-upload__delete-icon" name="delete"></stzh-icon>\n <stzh-icon slot="icon" class="stzh-upload__delete-icon-error" name="close"></stzh-icon>\n </stzh-button>\n </div>\n </div>\n </div>\n `});this.disabledWatcher();this.dropzone.on("addedfile",(r=>this.stzhFileAdded.emit({component:"stzh-upload",file:r})));this.dropzone.on("addedfiles",(r=>this.stzhFilesAdded.emit({component:"stzh-upload",files:r})));this.dropzone.on("removefile",(r=>this.stzhFileRemove.emit({component:"stzh-upload",file:r}).defaultPrevented===false));this.dropzone.on("removedfile",(r=>this.stzhFileRemoved.emit({component:"stzh-upload",file:r})));this.dropzone.on("sending",((r,e,t)=>this.stzhSending.emit({component:"stzh-upload",file:r,xhr:e,formData:t})));this.dropzone.on("sendingmultiple",((r,e,t)=>this.stzhSendingMultiple.emit({component:"stzh-upload",files:r,xhr:e,formData:t})));this.dropzone.on("processing",(r=>this.stzhProcessing.emit({component:"stzh-upload",file:r})));this.dropzone.on("processingmultiple",(r=>this.stzhProcessingMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("uploadprogress",((r,e,t)=>this.stzhProgress.emit({component:"stzh-upload",file:r,progress:e,bytesSent:t})));this.dropzone.on("totaluploadprogress",((r,e,t)=>this.stzhProgressTotal.emit({component:"stzh-upload",totalUploadProgress:r,totalBytes:e,totalBytesSent:t})));this.dropzone.on("error",((r,e,t)=>this.stzhError.emit({component:"stzh-upload",file:r,message:e,xhr:t})));this.dropzone.on("errormultiple",((r,e,t)=>this.stzhErrorMultiple.emit({component:"stzh-upload",files:r,message:e,xhr:t})));this.dropzone.on("success",((r,e,t)=>this.stzhSuccess.emit({component:"stzh-upload",file:r,responseText:e,event:t})));this.dropzone.on("successmultiple",((r,e,t)=>this.stzhSuccessMultiple.emit({component:"stzh-upload",files:r,responseText:e,event:t})));this.dropzone.on("canceled",(r=>this.stzhCanceled.emit({component:"stzh-upload",file:r})));this.dropzone.on("canceledmultiple",(r=>this.stzhCanceledMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("complete",(r=>this.stzhComplete.emit({component:"stzh-upload",file:r})));this.dropzone.on("completemultiple",(r=>this.stzhCompleteMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("addedfile",(r=>{r.previewElement.querySelectorAll(`[${v}]`).forEach((e=>{e.setAttribute("title",r.name)}));r.previewElement.querySelectorAll(`[${l}]`).forEach((e=>{e.innerText=r.type}));r.previewElement.querySelectorAll(`[${d}]`).forEach((e=>{e.innerText=r.name.split(".").pop()}))}));this.dropzone.on("uploadprogress",((r,e)=>{r.previewElement.querySelectorAll(`[${p}]`).forEach((r=>{r.innerText=`${e.toString()}%`}))}));this._existingFiles.forEach((r=>{this.dropzone.displayExistingFile(r,null,null,null,null)}))}disconnectedCallback(){if(this.dropzone){this.dropzone.destroy();this.dropzone=null}}render(){const r=o(this.element,"error")||!!this.error;const e={"stzh-upload":true,"stzh-upload--is-invalid":this.invalid,"stzh-upload--is-disabled":this.disabled,"stzh-upload--has-error":r,"stzh-upload--has-instructions":!!this.description||!!this.localization.description};return t(n,null,t("div",{class:e,ref:r=>this.dropzoneElement=r},t("div",{ref:r=>this.hiddenInputContainerElement=r}),t("div",{id:`${this.uploadId}-label`},this.label&&t("div",{class:"stzh-upload__label"},this.label)),t("div",{class:"stzh-upload__clickarea",ref:r=>this.clickareaElement=r},t("div",{class:"stzh-upload__instructions",id:`${this.uploadId}-instruction`},this.description?this.description:this.localization.description),t("stzh-button",{size:"small",class:"stzh-upload__button",ref:r=>this.buttonElement=r,a11yDescribedby:`${this.uploadId}-label ${this.uploadId}-instruction ${this.uploadId}-description`,disabled:this.disabled},this.button?this.button:this.localization.button)),t(f,{classPrefix:"stzh-upload",id:`${this.uploadId}-description`,error:this._error}),t("div",{class:"stzh-upload__errors",ref:r=>this.errorsElement=r})))}get element(){return i(this)}static get watchers(){return{existingFiles:["existingFilesWatcher"],disabled:["disabledWatcher"],error:["errorWatcher"]}}};m.style=s;export{m as stzh_upload};
2
- //# sourceMappingURL=p-728cc738.entry.js.map
1
+ import{r,c as e,h as t,a as n,g as i}from"./p-9e02896c.js";import{i as a,h as o}from"./p-5c697491.js";import{f as u}from"./p-25a09313.js";import{S as f}from"./p-ea61b128.js";(function r(e,t){if(typeof exports==="object"&&typeof module==="object")module.exports=t();else if(typeof define==="function"&&define.amd)define([],t);else{var n=t();for(var i in n)(typeof exports==="object"?exports:e)[i]=n[i]}})(self,(function(){return function(){var r={3099:function(r){r.exports=function(r){if(typeof r!="function"){throw TypeError(String(r)+" is not a function")}return r}},6077:function(r,e,t){var n=t(111);r.exports=function(r){if(!n(r)&&r!==null){throw TypeError("Can't set "+String(r)+" as a prototype")}return r}},1223:function(r,e,t){var n=t(5112);var i=t(30);var a=t(3070);var o=n("unscopables");var u=Array.prototype;if(u[o]==undefined){a.f(u,o,{configurable:true,value:i(null)})}r.exports=function(r){u[o][r]=true}},1530:function(r,e,t){var n=t(8710).charAt;r.exports=function(r,e,t){return e+(t?n(r,e).length:1)}},5787:function(r){r.exports=function(r,e,t){if(!(r instanceof e)){throw TypeError("Incorrect "+(t?t+" ":"")+"invocation")}return r}},9670:function(r,e,t){var n=t(111);r.exports=function(r){if(!n(r)){throw TypeError(String(r)+" is not an object")}return r}},4019:function(r){r.exports=typeof ArrayBuffer!=="undefined"&&typeof DataView!=="undefined"},260:function(r,e,t){var n=t(4019);var i=t(9781);var a=t(7854);var o=t(111);var u=t(6656);var f=t(648);var s=t(8880);var v=t(1320);var l=t(3070).f;var c=t(9518);var h=t(7674);var d=t(5112);var p=t(9711);var y=a.Int8Array;var m=y&&y.prototype;var g=a.Uint8ClampedArray;var b=g&&g.prototype;var z=y&&c(y);var w=m&&c(m);var A=Object.prototype;var x=A.isPrototypeOf;var _=d("toStringTag");var k=p("TYPED_ARRAY_TAG");var S=n&&!!h&&f(a.opera)!=="Opera";var E=false;var R;var F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};var T={BigInt64Array:8,BigUint64Array:8};var C=function r(e){if(!o(e))return false;var t=f(e);return t==="DataView"||u(F,t)||u(T,t)};var j=function(r){if(!o(r))return false;var e=f(r);return u(F,e)||u(T,e)};var M=function(r){if(j(r))return r;throw TypeError("Target is not a typed array")};var U=function(r){if(h){if(x.call(z,r))return r}else for(var e in F)if(u(F,R)){var t=a[e];if(t&&(r===t||x.call(t,r))){return r}}throw TypeError("Target is not a typed array constructor")};var O=function(r,e,t){if(!i)return;if(t)for(var n in F){var o=a[n];if(o&&u(o.prototype,r)){delete o.prototype[r]}}if(!w[r]||t){v(w,r,t?e:S&&m[r]||e)}};var I=function(r,e,t){var n,o;if(!i)return;if(h){if(t)for(n in F){o=a[n];if(o&&u(o,r)){delete o[r]}}if(!z[r]||t){try{return v(z,r,t?e:S&&y[r]||e)}catch(r){}}else return}for(n in F){o=a[n];if(o&&(!o[r]||t)){v(o,r,e)}}};for(R in F){if(!a[R])S=false}if(!S||typeof z!="function"||z===Function.prototype){z=function r(){throw TypeError("Incorrect invocation")};if(S)for(R in F){if(a[R])h(a[R],z)}}if(!S||!w||w===A){w=z.prototype;if(S)for(R in F){if(a[R])h(a[R].prototype,w)}}if(S&&c(b)!==w){h(b,w)}if(i&&!u(w,_)){E=true;l(w,_,{get:function(){return o(this)?this[k]:undefined}});for(R in F)if(a[R]){s(a[R],k,R)}}r.exports={NATIVE_ARRAY_BUFFER_VIEWS:S,TYPED_ARRAY_TAG:E&&k,aTypedArray:M,aTypedArrayConstructor:U,exportTypedArrayMethod:O,exportTypedArrayStaticMethod:I,isView:C,isTypedArray:j,TypedArray:z,TypedArrayPrototype:w}},3331:function(r,e,t){var n=t(7854);var i=t(9781);var a=t(4019);var o=t(8880);var u=t(2248);var f=t(7293);var s=t(5787);var v=t(9958);var l=t(7466);var c=t(7067);var h=t(1179);var d=t(9518);var p=t(7674);var y=t(8006).f;var m=t(3070).f;var g=t(1285);var b=t(8003);var z=t(9909);var w=z.get;var A=z.set;var x="ArrayBuffer";var _="DataView";var k="prototype";var S="Wrong length";var E="Wrong index";var R=n[x];var F=R;var T=n[_];var C=T&&T[k];var j=Object.prototype;var M=n.RangeError;var U=h.pack;var O=h.unpack;var I=function(r){return[r&255]};var L=function(r){return[r&255,r>>8&255]};var B=function(r){return[r&255,r>>8&255,r>>16&255,r>>24&255]};var P=function(r){return r[3]<<24|r[2]<<16|r[1]<<8|r[0]};var D=function(r){return U(r,23,4)};var N=function(r){return U(r,52,8)};var Q=function(r,e){m(r[k],e,{get:function(){return w(this)[e]}})};var q=function(r,e,t,n){var i=c(t);var a=w(r);if(i+e>a.byteLength)throw M(E);var o=w(a.buffer).bytes;var u=i+a.byteOffset;var f=o.slice(u,u+e);return n?f:f.reverse()};var Y=function(r,e,t,n,i,a){var o=c(t);var u=w(r);if(o+e>u.byteLength)throw M(E);var f=w(u.buffer).bytes;var s=o+u.byteOffset;var v=n(+i);for(var l=0;l<e;l++)f[s+l]=v[a?l:e-l-1]};if(!a){F=function r(e){s(this,F,x);var t=c(e);A(this,{bytes:g.call(new Array(t),0),byteLength:t});if(!i)this.byteLength=t};T=function r(e,t,n){s(this,T,_);s(e,F,_);var a=w(e).byteLength;var o=v(t);if(o<0||o>a)throw M("Wrong offset");n=n===undefined?a-o:l(n);if(o+n>a)throw M(S);A(this,{buffer:e,byteLength:n,byteOffset:o});if(!i){this.buffer=e;this.byteLength=n;this.byteOffset=o}};if(i){Q(F,"byteLength");Q(T,"buffer");Q(T,"byteLength");Q(T,"byteOffset")}u(T[k],{getInt8:function r(e){return q(this,1,e)[0]<<24>>24},getUint8:function r(e){return q(this,1,e)[0]},getInt16:function r(e){var t=q(this,2,e,arguments.length>1?arguments[1]:undefined);return(t[1]<<8|t[0])<<16>>16},getUint16:function r(e){var t=q(this,2,e,arguments.length>1?arguments[1]:undefined);return t[1]<<8|t[0]},getInt32:function r(e){return P(q(this,4,e,arguments.length>1?arguments[1]:undefined))},getUint32:function r(e){return P(q(this,4,e,arguments.length>1?arguments[1]:undefined))>>>0},getFloat32:function r(e){return O(q(this,4,e,arguments.length>1?arguments[1]:undefined),23)},getFloat64:function r(e){return O(q(this,8,e,arguments.length>1?arguments[1]:undefined),52)},setInt8:function r(e,t){Y(this,1,e,I,t)},setUint8:function r(e,t){Y(this,1,e,I,t)},setInt16:function r(e,t){Y(this,2,e,L,t,arguments.length>2?arguments[2]:undefined)},setUint16:function r(e,t){Y(this,2,e,L,t,arguments.length>2?arguments[2]:undefined)},setInt32:function r(e,t){Y(this,4,e,B,t,arguments.length>2?arguments[2]:undefined)},setUint32:function r(e,t){Y(this,4,e,B,t,arguments.length>2?arguments[2]:undefined)},setFloat32:function r(e,t){Y(this,4,e,D,t,arguments.length>2?arguments[2]:undefined)},setFloat64:function r(e,t){Y(this,8,e,N,t,arguments.length>2?arguments[2]:undefined)}})}else{if(!f((function(){R(1)}))||!f((function(){new R(-1)}))||f((function(){new R;new R(1.5);new R(NaN);return R.name!=x}))){F=function r(e){s(this,F);return new R(c(e))};var $=F[k]=R[k];for(var G=y(R),V=0,W;G.length>V;){if(!((W=G[V++])in F)){o(F,W,R[W])}}$.constructor=F}if(p&&d(C)!==j){p(C,j)}var X=new T(new F(2));var H=C.setInt8;X.setInt8(0,2147483648);X.setInt8(1,2147483649);if(X.getInt8(0)||!X.getInt8(1))u(C,{setInt8:function r(e,t){H.call(this,e,t<<24>>24)},setUint8:function r(e,t){H.call(this,e,t<<24>>24)}},{unsafe:true})}b(F,x);b(T,_);r.exports={ArrayBuffer:F,DataView:T}},1048:function(r,e,t){var n=t(7908);var i=t(1400);var a=t(7466);var o=Math.min;r.exports=[].copyWithin||function r(e,t){var u=n(this);var f=a(u.length);var s=i(e,f);var v=i(t,f);var l=arguments.length>2?arguments[2]:undefined;var c=o((l===undefined?f:i(l,f))-v,f-s);var h=1;if(v<s&&s<v+c){h=-1;v+=c-1;s+=c-1}while(c-- >0){if(v in u)u[s]=u[v];else delete u[s];s+=h;v+=h}return u}},1285:function(r,e,t){var n=t(7908);var i=t(1400);var a=t(7466);r.exports=function r(e){var t=n(this);var o=a(t.length);var u=arguments.length;var f=i(u>1?arguments[1]:undefined,o);var s=u>2?arguments[2]:undefined;var v=s===undefined?o:i(s,o);while(v>f)t[f++]=e;return t}},8533:function(r,e,t){var n=t(2092).forEach;var i=t(9341);var a=i("forEach");r.exports=!a?function r(e){return n(this,e,arguments.length>1?arguments[1]:undefined)}:[].forEach},8457:function(r,e,t){var n=t(9974);var i=t(7908);var a=t(3411);var o=t(7659);var u=t(7466);var f=t(6135);var s=t(1246);r.exports=function r(e){var t=i(e);var v=typeof this=="function"?this:Array;var l=arguments.length;var c=l>1?arguments[1]:undefined;var h=c!==undefined;var d=s(t);var p=0;var y,m,g,b,z,w;if(h)c=n(c,l>2?arguments[2]:undefined,2);if(d!=undefined&&!(v==Array&&o(d))){b=d.call(t);z=b.next;m=new v;for(;!(g=z.call(b)).done;p++){w=h?a(b,c,[g.value,p],true):g.value;f(m,p,w)}}else{y=u(t.length);m=new v(y);for(;y>p;p++){w=h?c(t[p],p):t[p];f(m,p,w)}}m.length=p;return m}},1318:function(r,e,t){var n=t(5656);var i=t(7466);var a=t(1400);var o=function(r){return function(e,t,o){var u=n(e);var f=i(u.length);var s=a(o,f);var v;if(r&&t!=t)while(f>s){v=u[s++];if(v!=v)return true}else for(;f>s;s++){if((r||s in u)&&u[s]===t)return r||s||0}return!r&&-1}};r.exports={includes:o(true),indexOf:o(false)}},2092:function(r,e,t){var n=t(9974);var i=t(8361);var a=t(7908);var o=t(7466);var u=t(5417);var f=[].push;var s=function(r){var e=r==1;var t=r==2;var s=r==3;var v=r==4;var l=r==6;var c=r==7;var h=r==5||l;return function(d,p,y,m){var g=a(d);var b=i(g);var z=n(p,y,3);var w=o(b.length);var A=0;var x=m||u;var _=e?x(d,w):t||c?x(d,0):undefined;var k,S;for(;w>A;A++)if(h||A in b){k=b[A];S=z(k,A,g);if(r){if(e)_[A]=S;else if(S)switch(r){case 3:return true;case 5:return k;case 6:return A;case 2:f.call(_,k)}else switch(r){case 4:return false;case 7:f.call(_,k)}}}return l?-1:s||v?v:_}};r.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},6583:function(r,e,t){var n=t(5656);var i=t(9958);var a=t(7466);var o=t(9341);var u=Math.min;var f=[].lastIndexOf;var s=!!f&&1/[1].lastIndexOf(1,-0)<0;var v=o("lastIndexOf");var l=s||!v;r.exports=l?function r(e){if(s)return f.apply(this,arguments)||0;var t=n(this);var o=a(t.length);var v=o-1;if(arguments.length>1)v=u(v,i(arguments[1]));if(v<0)v=o+v;for(;v>=0;v--)if(v in t&&t[v]===e)return v||0;return-1}:f},1194:function(r,e,t){var n=t(7293);var i=t(5112);var a=t(7392);var o=i("species");r.exports=function(r){return a>=51||!n((function(){var e=[];var t=e.constructor={};t[o]=function(){return{foo:1}};return e[r](Boolean).foo!==1}))}},9341:function(r,e,t){var n=t(7293);r.exports=function(r,e){var t=[][r];return!!t&&n((function(){t.call(null,e||function(){throw 1},1)}))}},3671:function(r,e,t){var n=t(3099);var i=t(7908);var a=t(8361);var o=t(7466);var u=function(r){return function(e,t,u,f){n(t);var s=i(e);var v=a(s);var l=o(s.length);var c=r?l-1:0;var h=r?-1:1;if(u<2)while(true){if(c in v){f=v[c];c+=h;break}c+=h;if(r?c<0:l<=c){throw TypeError("Reduce of empty array with no initial value")}}for(;r?c>=0:l>c;c+=h)if(c in v){f=t(f,v[c],c,s)}return f}};r.exports={left:u(false),right:u(true)}},5417:function(r,e,t){var n=t(111);var i=t(3157);var a=t(5112);var o=a("species");r.exports=function(r,e){var t;if(i(r)){t=r.constructor;if(typeof t=="function"&&(t===Array||i(t.prototype)))t=undefined;else if(n(t)){t=t[o];if(t===null)t=undefined}}return new(t===undefined?Array:t)(e===0?0:e)}},3411:function(r,e,t){var n=t(9670);var i=t(9212);r.exports=function(r,e,t,a){try{return a?e(n(t)[0],t[1]):e(t)}catch(e){i(r);throw e}}},7072:function(r,e,t){var n=t(5112);var i=n("iterator");var a=false;try{var o=0;var u={next:function(){return{done:!!o++}},return:function(){a=true}};u[i]=function(){return this};Array.from(u,(function(){throw 2}))}catch(r){}r.exports=function(r,e){if(!e&&!a)return false;var t=false;try{var n={};n[i]=function(){return{next:function(){return{done:t=true}}}};r(n)}catch(r){}return t}},4326:function(r){var e={}.toString;r.exports=function(r){return e.call(r).slice(8,-1)}},648:function(r,e,t){var n=t(1694);var i=t(4326);var a=t(5112);var o=a("toStringTag");var u=i(function(){return arguments}())=="Arguments";var f=function(r,e){try{return r[e]}catch(r){}};r.exports=n?i:function(r){var e,t,n;return r===undefined?"Undefined":r===null?"Null":typeof(t=f(e=Object(r),o))=="string"?t:u?i(e):(n=i(e))=="Object"&&typeof e.callee=="function"?"Arguments":n}},9920:function(r,e,t){var n=t(6656);var i=t(3887);var a=t(1236);var o=t(3070);r.exports=function(r,e){var t=i(e);var u=o.f;var f=a.f;for(var s=0;s<t.length;s++){var v=t[s];if(!n(r,v))u(r,v,f(e,v))}}},8544:function(r,e,t){var n=t(7293);r.exports=!n((function(){function r(){}r.prototype.constructor=null;return Object.getPrototypeOf(new r)!==r.prototype}))},4994:function(r,e,t){var n=t(3383).IteratorPrototype;var i=t(30);var a=t(9114);var o=t(8003);var u=t(7497);var f=function(){return this};r.exports=function(r,e,t){var s=e+" Iterator";r.prototype=i(n,{next:a(1,t)});o(r,s,false,true);u[s]=f;return r}},8880:function(r,e,t){var n=t(9781);var i=t(3070);var a=t(9114);r.exports=n?function(r,e,t){return i.f(r,e,a(1,t))}:function(r,e,t){r[e]=t;return r}},9114:function(r){r.exports=function(r,e){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:e}}},6135:function(r,e,t){var n=t(7593);var i=t(3070);var a=t(9114);r.exports=function(r,e,t){var o=n(e);if(o in r)i.f(r,o,a(0,t));else r[o]=t}},654:function(r,e,t){var n=t(2109);var i=t(4994);var a=t(9518);var o=t(7674);var u=t(8003);var f=t(8880);var s=t(1320);var v=t(5112);var l=t(1913);var c=t(7497);var h=t(3383);var d=h.IteratorPrototype;var p=h.BUGGY_SAFARI_ITERATORS;var y=v("iterator");var m="keys";var g="values";var b="entries";var z=function(){return this};r.exports=function(r,e,t,v,h,w,A){i(t,e,v);var x=function(r){if(r===h&&R)return R;if(!p&&r in S)return S[r];switch(r){case m:return function e(){return new t(this,r)};case g:return function e(){return new t(this,r)};case b:return function e(){return new t(this,r)}}return function(){return new t(this)}};var _=e+" Iterator";var k=false;var S=r.prototype;var E=S[y]||S["@@iterator"]||h&&S[h];var R=!p&&E||x(h);var F=e=="Array"?S.entries||E:E;var T,C,j;if(F){T=a(F.call(new r));if(d!==Object.prototype&&T.next){if(!l&&a(T)!==d){if(o){o(T,d)}else if(typeof T[y]!="function"){f(T,y,z)}}u(T,_,true,true);if(l)c[_]=z}}if(h==g&&E&&E.name!==g){k=true;R=function r(){return E.call(this)}}if((!l||A)&&S[y]!==R){f(S,y,R)}c[e]=R;if(h){C={values:x(g),keys:w?R:x(m),entries:x(b)};if(A)for(j in C){if(p||k||!(j in S)){s(S,j,C[j])}}else n({target:e,proto:true,forced:p||k},C)}return C}},9781:function(r,e,t){var n=t(7293);r.exports=!n((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}))},317:function(r,e,t){var n=t(7854);var i=t(111);var a=n.document;var o=i(a)&&i(a.createElement);r.exports=function(r){return o?a.createElement(r):{}}},8324:function(r){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:function(r,e,t){var n=t(5005);r.exports=n("navigator","userAgent")||""},7392:function(r,e,t){var n=t(7854);var i=t(8113);var a=n.process;var o=a&&a.versions;var u=o&&o.v8;var f,s;if(u){f=u.split(".");s=f[0]+f[1]}else if(i){f=i.match(/Edge\/(\d+)/);if(!f||f[1]>=74){f=i.match(/Chrome\/(\d+)/);if(f)s=f[1]}}r.exports=s&&+s},748:function(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(r,e,t){var n=t(7854);var i=t(1236).f;var a=t(8880);var o=t(1320);var u=t(3505);var f=t(9920);var s=t(4705);r.exports=function(r,e){var t=r.target;var v=r.global;var l=r.stat;var c,h,d,p,y,m;if(v){h=n}else if(l){h=n[t]||u(t,{})}else{h=(n[t]||{}).prototype}if(h)for(d in e){y=e[d];if(r.noTargetGet){m=i(h,d);p=m&&m.value}else p=h[d];c=s(v?d:t+(l?".":"#")+d,r.forced);if(!c&&p!==undefined){if(typeof y===typeof p)continue;f(y,p)}if(r.sham||p&&p.sham){a(y,"sham",true)}o(h,d,y,r)}}},7293:function(r){r.exports=function(r){try{return!!r()}catch(r){return true}}},7007:function(r,e,t){t(4916);var n=t(1320);var i=t(7293);var a=t(5112);var o=t(2261);var u=t(8880);var f=a("species");var s=!i((function(){var r=/./;r.exec=function(){var r=[];r.groups={a:"7"};return r};return"".replace(r,"$<a>")!=="7"}));var v=function(){return"a".replace(/./,"$0")==="$0"}();var l=a("replace");var c=function(){if(/./[l]){return/./[l]("a","$0")===""}return false}();var h=!i((function(){var r=/(?:)/;var e=r.exec;r.exec=function(){return e.apply(this,arguments)};var t="ab".split(r);return t.length!==2||t[0]!=="a"||t[1]!=="b"}));r.exports=function(r,e,t,l){var d=a(r);var p=!i((function(){var e={};e[d]=function(){return 7};return""[r](e)!=7}));var y=p&&!i((function(){var e=false;var t=/a/;if(r==="split"){t={};t.constructor={};t.constructor[f]=function(){return t};t.flags="";t[d]=/./[d]}t.exec=function(){e=true;return null};t[d]("");return!e}));if(!p||!y||r==="replace"&&!(s&&v&&!c)||r==="split"&&!h){var m=/./[d];var g=t(d,""[r],(function(r,e,t,n,i){if(e.exec===o){if(p&&!i){return{done:true,value:m.call(e,t,n)}}return{done:true,value:r.call(t,e,n)}}return{done:false}}),{REPLACE_KEEPS_$0:v,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:c});var b=g[0];var z=g[1];n(String.prototype,r,b);n(RegExp.prototype,d,e==2?function(r,e){return z.call(r,this,e)}:function(r){return z.call(r,this)})}if(l)u(RegExp.prototype[d],"sham",true)}},9974:function(r,e,t){var n=t(3099);r.exports=function(r,e,t){n(r);if(e===undefined)return r;switch(t){case 0:return function(){return r.call(e)};case 1:return function(t){return r.call(e,t)};case 2:return function(t,n){return r.call(e,t,n)};case 3:return function(t,n,i){return r.call(e,t,n,i)}}return function(){return r.apply(e,arguments)}}},5005:function(r,e,t){var n=t(857);var i=t(7854);var a=function(r){return typeof r=="function"?r:undefined};r.exports=function(r,e){return arguments.length<2?a(n[r])||a(i[r]):n[r]&&n[r][e]||i[r]&&i[r][e]}},1246:function(r,e,t){var n=t(648);var i=t(7497);var a=t(5112);var o=a("iterator");r.exports=function(r){if(r!=undefined)return r[o]||r["@@iterator"]||i[n(r)]}},8554:function(r,e,t){var n=t(9670);var i=t(1246);r.exports=function(r){var e=i(r);if(typeof e!="function"){throw TypeError(String(r)+" is not iterable")}return n(e.call(r))}},647:function(r,e,t){var n=t(7908);var i=Math.floor;var a="".replace;var o=/\$([$&'`]|\d\d?|<[^>]*>)/g;var u=/\$([$&'`]|\d\d?)/g;r.exports=function(r,e,t,f,s,v){var l=t+r.length;var c=f.length;var h=u;if(s!==undefined){s=n(s);h=o}return a.call(v,h,(function(n,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return r;case"`":return e.slice(0,t);case"'":return e.slice(l);case"<":o=s[a.slice(1,-1)];break;default:var u=+a;if(u===0)return n;if(u>c){var v=i(u/10);if(v===0)return n;if(v<=c)return f[v-1]===undefined?a.charAt(1):f[v-1]+a.charAt(1);return n}o=f[u-1]}return o===undefined?"":o}))}},7854:function(r,e,t){var n=function(r){return r&&r.Math==Math&&r};r.exports=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof t.g=="object"&&t.g)||function(){return this}()||Function("return this")()},6656:function(r){var e={}.hasOwnProperty;r.exports=function(r,t){return e.call(r,t)}},3501:function(r){r.exports={}},490:function(r,e,t){var n=t(5005);r.exports=n("document","documentElement")},4664:function(r,e,t){var n=t(9781);var i=t(7293);var a=t(317);r.exports=!n&&!i((function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7}))},1179:function(r){var e=Math.abs;var t=Math.pow;var n=Math.floor;var i=Math.log;var a=Math.LN2;var o=function(r,o,u){var f=new Array(u);var s=u*8-o-1;var v=(1<<s)-1;var l=v>>1;var c=o===23?t(2,-24)-t(2,-77):0;var h=r<0||r===0&&1/r<0?1:0;var d=0;var p,y,m;r=e(r);if(r!=r||r===Infinity){y=r!=r?1:0;p=v}else{p=n(i(r)/a);if(r*(m=t(2,-p))<1){p--;m*=2}if(p+l>=1){r+=c/m}else{r+=c*t(2,1-l)}if(r*m>=2){p++;m/=2}if(p+l>=v){y=0;p=v}else if(p+l>=1){y=(r*m-1)*t(2,o);p=p+l}else{y=r*t(2,l-1)*t(2,o);p=0}}for(;o>=8;f[d++]=y&255,y/=256,o-=8);p=p<<o|y;s+=o;for(;s>0;f[d++]=p&255,p/=256,s-=8);f[--d]|=h*128;return f};var u=function(r,e){var n=r.length;var i=n*8-e-1;var a=(1<<i)-1;var o=a>>1;var u=i-7;var f=n-1;var s=r[f--];var v=s&127;var l;s>>=7;for(;u>0;v=v*256+r[f],f--,u-=8);l=v&(1<<-u)-1;v>>=-u;u+=e;for(;u>0;l=l*256+r[f],f--,u-=8);if(v===0){v=1-o}else if(v===a){return l?NaN:s?-Infinity:Infinity}else{l=l+t(2,e);v=v-o}return(s?-1:1)*l*t(2,v-e)};r.exports={pack:o,unpack:u}},8361:function(r,e,t){var n=t(7293);var i=t(4326);var a="".split;r.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(r){return i(r)=="String"?a.call(r,""):Object(r)}:Object},9587:function(r,e,t){var n=t(111);var i=t(7674);r.exports=function(r,e,t){var a,o;if(i&&typeof(a=e.constructor)=="function"&&a!==t&&n(o=a.prototype)&&o!==t.prototype)i(r,o);return r}},2788:function(r,e,t){var n=t(5465);var i=Function.toString;if(typeof n.inspectSource!="function"){n.inspectSource=function(r){return i.call(r)}}r.exports=n.inspectSource},9909:function(r,e,t){var n=t(8536);var i=t(7854);var a=t(111);var o=t(8880);var u=t(6656);var f=t(5465);var s=t(6200);var v=t(3501);var l=i.WeakMap;var c,h,d;var p=function(r){return d(r)?h(r):c(r,{})};var y=function(r){return function(e){var t;if(!a(e)||(t=h(e)).type!==r){throw TypeError("Incompatible receiver, "+r+" required")}return t}};if(n){var m=f.state||(f.state=new l);var g=m.get;var b=m.has;var z=m.set;c=function(r,e){e.facade=r;z.call(m,r,e);return e};h=function(r){return g.call(m,r)||{}};d=function(r){return b.call(m,r)}}else{var w=s("state");v[w]=true;c=function(r,e){e.facade=r;o(r,w,e);return e};h=function(r){return u(r,w)?r[w]:{}};d=function(r){return u(r,w)}}r.exports={set:c,get:h,has:d,enforce:p,getterFor:y}},7659:function(r,e,t){var n=t(5112);var i=t(7497);var a=n("iterator");var o=Array.prototype;r.exports=function(r){return r!==undefined&&(i.Array===r||o[a]===r)}},3157:function(r,e,t){var n=t(4326);r.exports=Array.isArray||function r(e){return n(e)=="Array"}},4705:function(r,e,t){var n=t(7293);var i=/#|\.prototype\./;var a=function(r,e){var t=u[o(r)];return t==s?true:t==f?false:typeof e=="function"?n(e):!!e};var o=a.normalize=function(r){return String(r).replace(i,".").toLowerCase()};var u=a.data={};var f=a.NATIVE="N";var s=a.POLYFILL="P";r.exports=a},111:function(r){r.exports=function(r){return typeof r==="object"?r!==null:typeof r==="function"}},1913:function(r){r.exports=false},7850:function(r,e,t){var n=t(111);var i=t(4326);var a=t(5112);var o=a("match");r.exports=function(r){var e;return n(r)&&((e=r[o])!==undefined?!!e:i(r)=="RegExp")}},9212:function(r,e,t){var n=t(9670);r.exports=function(r){var e=r["return"];if(e!==undefined){return n(e.call(r)).value}}},3383:function(r,e,t){var n=t(7293);var i=t(9518);var a=t(8880);var o=t(6656);var u=t(5112);var f=t(1913);var s=u("iterator");var v=false;var l=function(){return this};var c,h,d;if([].keys){d=[].keys();if(!("next"in d))v=true;else{h=i(i(d));if(h!==Object.prototype)c=h}}var p=c==undefined||n((function(){var r={};return c[s].call(r)!==r}));if(p)c={};if((!f||p)&&!o(c,s)){a(c,s,l)}r.exports={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:v}},7497:function(r){r.exports={}},133:function(r,e,t){var n=t(7293);r.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},590:function(r,e,t){var n=t(7293);var i=t(5112);var a=t(1913);var o=i("iterator");r.exports=!n((function(){var r=new URL("b?a=1&b=2&c=3","http://a");var e=r.searchParams;var t="";r.pathname="c%20d";e.forEach((function(r,n){e["delete"]("b");t+=n+r}));return a&&!r.toJSON||!e.sort||r.href!=="http://a/c%20d?a=1&c=3"||e.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!e[o]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||t!=="a1c3"||new URL("http://x",undefined).host!=="x"}))},8536:function(r,e,t){var n=t(7854);var i=t(2788);var a=n.WeakMap;r.exports=typeof a==="function"&&/native code/.test(i(a))},1574:function(r,e,t){var n=t(9781);var i=t(7293);var a=t(1956);var o=t(5181);var u=t(5296);var f=t(7908);var s=t(8361);var v=Object.assign;var l=Object.defineProperty;r.exports=!v||i((function(){if(n&&v({b:1},v(l({},"a",{enumerable:true,get:function(){l(this,"b",{value:3,enumerable:false})}}),{b:2})).b!==1)return true;var r={};var e={};var t=Symbol();var i="abcdefghijklmnopqrst";r[t]=7;i.split("").forEach((function(r){e[r]=r}));return v({},r)[t]!=7||a(v({},e)).join("")!=i}))?function r(e,t){var i=f(e);var v=arguments.length;var l=1;var c=o.f;var h=u.f;while(v>l){var d=s(arguments[l++]);var p=c?a(d).concat(c(d)):a(d);var y=p.length;var m=0;var g;while(y>m){g=p[m++];if(!n||h.call(d,g))i[g]=d[g]}}return i}:v},30:function(r,e,t){var n=t(9670);var i=t(6048);var a=t(748);var o=t(3501);var u=t(490);var f=t(317);var s=t(6200);var v=">";var l="<";var c="prototype";var h="script";var d=s("IE_PROTO");var p=function(){};var y=function(r){return l+h+v+r+l+"/"+h+v};var m=function(r){r.write(y(""));r.close();var e=r.parentWindow.Object;r=null;return e};var g=function(){var r=f("iframe");var e="java"+h+":";var t;r.style.display="none";u.appendChild(r);r.src=String(e);t=r.contentWindow.document;t.open();t.write(y("document.F=Object"));t.close();return t.F};var b;var z=function(){try{b=document.domain&&new ActiveXObject("htmlfile")}catch(r){}z=b?m(b):g();var r=a.length;while(r--)delete z[c][a[r]];return z()};o[d]=true;r.exports=Object.create||function r(e,t){var a;if(e!==null){p[c]=n(e);a=new p;p[c]=null;a[d]=e}else a=z();return t===undefined?a:i(a,t)}},6048:function(r,e,t){var n=t(9781);var i=t(3070);var a=t(9670);var o=t(1956);r.exports=n?Object.defineProperties:function r(e,t){a(e);var n=o(t);var u=n.length;var f=0;var s;while(u>f)i.f(e,s=n[f++],t[s]);return e}},3070:function(r,e,t){var n=t(9781);var i=t(4664);var a=t(9670);var o=t(7593);var u=Object.defineProperty;e.f=n?u:function r(e,t,n){a(e);t=o(t,true);a(n);if(i)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");if("value"in n)e[t]=n.value;return e}},1236:function(r,e,t){var n=t(9781);var i=t(5296);var a=t(9114);var o=t(5656);var u=t(7593);var f=t(6656);var s=t(4664);var v=Object.getOwnPropertyDescriptor;e.f=n?v:function r(e,t){e=o(e);t=u(t,true);if(s)try{return v(e,t)}catch(r){}if(f(e,t))return a(!i.f.call(e,t),e[t])}},8006:function(r,e,t){var n=t(6324);var i=t(748);var a=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function r(e){return n(e,a)}},5181:function(r,e){e.f=Object.getOwnPropertySymbols},9518:function(r,e,t){var n=t(6656);var i=t(7908);var a=t(6200);var o=t(8544);var u=a("IE_PROTO");var f=Object.prototype;r.exports=o?Object.getPrototypeOf:function(r){r=i(r);if(n(r,u))return r[u];if(typeof r.constructor=="function"&&r instanceof r.constructor){return r.constructor.prototype}return r instanceof Object?f:null}},6324:function(r,e,t){var n=t(6656);var i=t(5656);var a=t(1318).indexOf;var o=t(3501);r.exports=function(r,e){var t=i(r);var u=0;var f=[];var s;for(s in t)!n(o,s)&&n(t,s)&&f.push(s);while(e.length>u)if(n(t,s=e[u++])){~a(f,s)||f.push(s)}return f}},1956:function(r,e,t){var n=t(6324);var i=t(748);r.exports=Object.keys||function r(e){return n(e,i)}},5296:function(r,e){var t={}.propertyIsEnumerable;var n=Object.getOwnPropertyDescriptor;var i=n&&!t.call({1:2},1);e.f=i?function r(e){var t=n(this,e);return!!t&&t.enumerable}:t},7674:function(r,e,t){var n=t(9670);var i=t(6077);r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r=false;var e={};var t;try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set;t.call(e,[]);r=e instanceof Array}catch(r){}return function e(a,o){n(a);i(o);if(r)t.call(a,o);else a.__proto__=o;return a}}():undefined)},288:function(r,e,t){var n=t(1694);var i=t(648);r.exports=n?{}.toString:function r(){return"[object "+i(this)+"]"}},3887:function(r,e,t){var n=t(5005);var i=t(8006);var a=t(5181);var o=t(9670);r.exports=n("Reflect","ownKeys")||function r(e){var t=i.f(o(e));var n=a.f;return n?t.concat(n(e)):t}},857:function(r,e,t){var n=t(7854);r.exports=n},2248:function(r,e,t){var n=t(1320);r.exports=function(r,e,t){for(var i in e)n(r,i,e[i],t);return r}},1320:function(r,e,t){var n=t(7854);var i=t(8880);var a=t(6656);var o=t(3505);var u=t(2788);var f=t(9909);var s=f.get;var v=f.enforce;var l=String(String).split("String");(r.exports=function(r,e,t,u){var f=u?!!u.unsafe:false;var s=u?!!u.enumerable:false;var c=u?!!u.noTargetGet:false;var h;if(typeof t=="function"){if(typeof e=="string"&&!a(t,"name")){i(t,"name",e)}h=v(t);if(!h.source){h.source=l.join(typeof e=="string"?e:"")}}if(r===n){if(s)r[e]=t;else o(e,t);return}else if(!f){delete r[e]}else if(!c&&r[e]){s=true}if(s)r[e]=t;else i(r,e,t)})(Function.prototype,"toString",(function r(){return typeof this=="function"&&s(this).source||u(this)}))},7651:function(r,e,t){var n=t(4326);var i=t(2261);r.exports=function(r,e){var t=r.exec;if(typeof t==="function"){var a=t.call(r,e);if(typeof a!=="object"){throw TypeError("RegExp exec method returned something other than an Object or null")}return a}if(n(r)!=="RegExp"){throw TypeError("RegExp#exec called on incompatible receiver")}return i.call(r,e)}},2261:function(r,e,t){var n=t(7066);var i=t(2999);var a=RegExp.prototype.exec;var o=String.prototype.replace;var u=a;var f=function(){var r=/a/;var e=/b*/g;a.call(r,"a");a.call(e,"a");return r.lastIndex!==0||e.lastIndex!==0}();var s=i.UNSUPPORTED_Y||i.BROKEN_CARET;var v=/()??/.exec("")[1]!==undefined;var l=f||v||s;if(l){u=function r(e){var t=this;var i,u,l,c;var h=s&&t.sticky;var d=n.call(t);var p=t.source;var y=0;var m=e;if(h){d=d.replace("y","");if(d.indexOf("g")===-1){d+="g"}m=String(e).slice(t.lastIndex);if(t.lastIndex>0&&(!t.multiline||t.multiline&&e[t.lastIndex-1]!=="\n")){p="(?: "+p+")";m=" "+m;y++}u=new RegExp("^(?:"+p+")",d)}if(v){u=new RegExp("^"+p+"$(?!\\s)",d)}if(f)i=t.lastIndex;l=a.call(h?u:t,m);if(h){if(l){l.input=l.input.slice(y);l[0]=l[0].slice(y);l.index=t.lastIndex;t.lastIndex+=l[0].length}else t.lastIndex=0}else if(f&&l){t.lastIndex=t.global?l.index+l[0].length:i}if(v&&l&&l.length>1){o.call(l[0],u,(function(){for(c=1;c<arguments.length-2;c++){if(arguments[c]===undefined)l[c]=undefined}}))}return l}}r.exports=u},7066:function(r,e,t){var n=t(9670);r.exports=function(){var r=n(this);var e="";if(r.global)e+="g";if(r.ignoreCase)e+="i";if(r.multiline)e+="m";if(r.dotAll)e+="s";if(r.unicode)e+="u";if(r.sticky)e+="y";return e}},2999:function(r,e,t){var n=t(7293);function i(r,e){return RegExp(r,e)}e.UNSUPPORTED_Y=n((function(){var r=i("a","y");r.lastIndex=2;return r.exec("abcd")!=null}));e.BROKEN_CARET=n((function(){var r=i("^r","gy");r.lastIndex=2;return r.exec("str")!=null}))},4488:function(r){r.exports=function(r){if(r==undefined)throw TypeError("Can't call method on "+r);return r}},3505:function(r,e,t){var n=t(7854);var i=t(8880);r.exports=function(r,e){try{i(n,r,e)}catch(t){n[r]=e}return e}},6340:function(r,e,t){var n=t(5005);var i=t(3070);var a=t(5112);var o=t(9781);var u=a("species");r.exports=function(r){var e=n(r);var t=i.f;if(o&&e&&!e[u]){t(e,u,{configurable:true,get:function(){return this}})}}},8003:function(r,e,t){var n=t(3070).f;var i=t(6656);var a=t(5112);var o=a("toStringTag");r.exports=function(r,e,t){if(r&&!i(r=t?r:r.prototype,o)){n(r,o,{configurable:true,value:e})}}},6200:function(r,e,t){var n=t(2309);var i=t(9711);var a=n("keys");r.exports=function(r){return a[r]||(a[r]=i(r))}},5465:function(r,e,t){var n=t(7854);var i=t(3505);var a="__core-js_shared__";var o=n[a]||i(a,{});r.exports=o},2309:function(r,e,t){var n=t(1913);var i=t(5465);(r.exports=function(r,e){return i[r]||(i[r]=e!==undefined?e:{})})("versions",[]).push({version:"3.9.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(r,e,t){var n=t(9670);var i=t(3099);var a=t(5112);var o=a("species");r.exports=function(r,e){var t=n(r).constructor;var a;return t===undefined||(a=n(t)[o])==undefined?e:i(a)}},8710:function(r,e,t){var n=t(9958);var i=t(4488);var a=function(r){return function(e,t){var a=String(i(e));var o=n(t);var u=a.length;var f,s;if(o<0||o>=u)return r?"":undefined;f=a.charCodeAt(o);return f<55296||f>56319||o+1===u||(s=a.charCodeAt(o+1))<56320||s>57343?r?a.charAt(o):f:r?a.slice(o,o+2):(f-55296<<10)+(s-56320)+65536}};r.exports={codeAt:a(false),charAt:a(true)}},3197:function(r){var e=2147483647;var t=36;var n=1;var i=26;var a=38;var o=700;var u=72;var f=128;var s="-";var v=/[^\0-\u007E]/;var l=/[.\u3002\uFF0E\uFF61]/g;var c="Overflow: input needs wider integers to process";var h=t-n;var d=Math.floor;var p=String.fromCharCode;var y=function(r){var e=[];var t=0;var n=r.length;while(t<n){var i=r.charCodeAt(t++);if(i>=55296&&i<=56319&&t<n){var a=r.charCodeAt(t++);if((a&64512)==56320){e.push(((i&1023)<<10)+(a&1023)+65536)}else{e.push(i);t--}}else{e.push(i)}}return e};var m=function(r){return r+22+75*(r<26)};var g=function(r,e,n){var u=0;r=n?d(r/o):r>>1;r+=d(r/e);for(;r>h*i>>1;u+=t){r=d(r/h)}return d(u+(h+1)*r/(r+a))};var b=function(r){var a=[];r=y(r);var o=r.length;var v=f;var l=0;var h=u;var b,z;for(b=0;b<r.length;b++){z=r[b];if(z<128){a.push(p(z))}}var w=a.length;var A=w;if(w){a.push(s)}while(A<o){var x=e;for(b=0;b<r.length;b++){z=r[b];if(z>=v&&z<x){x=z}}var _=A+1;if(x-v>d((e-l)/_)){throw RangeError(c)}l+=(x-v)*_;v=x;for(b=0;b<r.length;b++){z=r[b];if(z<v&&++l>e){throw RangeError(c)}if(z==v){var k=l;for(var S=t;;S+=t){var E=S<=h?n:S>=h+i?i:S-h;if(k<E)break;var R=k-E;var F=t-E;a.push(p(m(E+R%F)));k=d(R/F)}a.push(p(m(k)));h=g(l,_,A==w);l=0;++A}}++l;++v}return a.join("")};r.exports=function(r){var e=[];var t=r.toLowerCase().replace(l,".").split(".");var n,i;for(n=0;n<t.length;n++){i=t[n];e.push(v.test(i)?"xn--"+b(i):i)}return e.join(".")}},6091:function(r,e,t){var n=t(7293);var i=t(1361);var a="​…᠎";r.exports=function(r){return n((function(){return!!i[r]()||a[r]()!=a||i[r].name!==r}))}},3111:function(r,e,t){var n=t(4488);var i=t(1361);var a="["+i+"]";var o=RegExp("^"+a+a+"*");var u=RegExp(a+a+"*$");var f=function(r){return function(e){var t=String(n(e));if(r&1)t=t.replace(o,"");if(r&2)t=t.replace(u,"");return t}};r.exports={start:f(1),end:f(2),trim:f(3)}},1400:function(r,e,t){var n=t(9958);var i=Math.max;var a=Math.min;r.exports=function(r,e){var t=n(r);return t<0?i(t+e,0):a(t,e)}},7067:function(r,e,t){var n=t(9958);var i=t(7466);r.exports=function(r){if(r===undefined)return 0;var e=n(r);var t=i(e);if(e!==t)throw RangeError("Wrong length or index");return t}},5656:function(r,e,t){var n=t(8361);var i=t(4488);r.exports=function(r){return n(i(r))}},9958:function(r){var e=Math.ceil;var t=Math.floor;r.exports=function(r){return isNaN(r=+r)?0:(r>0?t:e)(r)}},7466:function(r,e,t){var n=t(9958);var i=Math.min;r.exports=function(r){return r>0?i(n(r),9007199254740991):0}},7908:function(r,e,t){var n=t(4488);r.exports=function(r){return Object(n(r))}},4590:function(r,e,t){var n=t(3002);r.exports=function(r,e){var t=n(r);if(t%e)throw RangeError("Wrong offset");return t}},3002:function(r,e,t){var n=t(9958);r.exports=function(r){var e=n(r);if(e<0)throw RangeError("The argument can't be less than 0");return e}},7593:function(r,e,t){var n=t(111);r.exports=function(r,e){if(!n(r))return r;var t,i;if(e&&typeof(t=r.toString)=="function"&&!n(i=t.call(r)))return i;if(typeof(t=r.valueOf)=="function"&&!n(i=t.call(r)))return i;if(!e&&typeof(t=r.toString)=="function"&&!n(i=t.call(r)))return i;throw TypeError("Can't convert object to primitive value")}},1694:function(r,e,t){var n=t(5112);var i=n("toStringTag");var a={};a[i]="z";r.exports=String(a)==="[object z]"},9843:function(r,e,t){var n=t(2109);var i=t(7854);var a=t(9781);var o=t(3832);var u=t(260);var f=t(3331);var s=t(5787);var v=t(9114);var l=t(8880);var c=t(7466);var h=t(7067);var d=t(4590);var p=t(7593);var y=t(6656);var m=t(648);var g=t(111);var b=t(30);var z=t(7674);var w=t(8006).f;var A=t(7321);var x=t(2092).forEach;var _=t(6340);var k=t(3070);var S=t(1236);var E=t(9909);var R=t(9587);var F=E.get;var T=E.set;var C=k.f;var j=S.f;var M=Math.round;var U=i.RangeError;var O=f.ArrayBuffer;var I=f.DataView;var L=u.NATIVE_ARRAY_BUFFER_VIEWS;var B=u.TYPED_ARRAY_TAG;var P=u.TypedArray;var D=u.TypedArrayPrototype;var N=u.aTypedArrayConstructor;var Q=u.isTypedArray;var q="BYTES_PER_ELEMENT";var Y="Wrong length";var $=function(r,e){var t=0;var n=e.length;var i=new(N(r))(n);while(n>t)i[t]=e[t++];return i};var G=function(r,e){C(r,e,{get:function(){return F(this)[e]}})};var V=function(r){var e;return r instanceof O||(e=m(r))=="ArrayBuffer"||e=="SharedArrayBuffer"};var W=function(r,e){return Q(r)&&typeof e!="symbol"&&e in r&&String(+e)==String(e)};var X=function r(e,t){return W(e,t=p(t,true))?v(2,e[t]):j(e,t)};var H=function r(e,t,n){if(W(e,t=p(t,true))&&g(n)&&y(n,"value")&&!y(n,"get")&&!y(n,"set")&&!n.configurable&&(!y(n,"writable")||n.writable)&&(!y(n,"enumerable")||n.enumerable)){e[t]=n.value;return e}return C(e,t,n)};if(a){if(!L){S.f=X;k.f=H;G(D,"buffer");G(D,"byteOffset");G(D,"byteLength");G(D,"length")}n({target:"Object",stat:true,forced:!L},{getOwnPropertyDescriptor:X,defineProperty:H});r.exports=function(r,e,t){var a=r.match(/\d+$/)[0]/8;var u=r+(t?"Clamped":"")+"Array";var f="get"+r;var v="set"+r;var p=i[u];var y=p;var m=y&&y.prototype;var k={};var S=function(r,e){var t=F(r);return t.view[f](e*a+t.byteOffset,true)};var E=function(r,e,n){var i=F(r);if(t)n=(n=M(n))<0?0:n>255?255:n&255;i.view[v](e*a+i.byteOffset,n,true)};var j=function(r,e){C(r,e,{get:function(){return S(this,e)},set:function(r){return E(this,e,r)},enumerable:true})};if(!L){y=e((function(r,e,t,n){s(r,y,u);var i=0;var o=0;var f,v,l;if(!g(e)){l=h(e);v=l*a;f=new O(v)}else if(V(e)){f=e;o=d(t,a);var p=e.byteLength;if(n===undefined){if(p%a)throw U(Y);v=p-o;if(v<0)throw U(Y)}else{v=c(n)*a;if(v+o>p)throw U(Y)}l=v/a}else if(Q(e)){return $(y,e)}else{return A.call(y,e)}T(r,{buffer:f,byteOffset:o,byteLength:v,length:l,view:new I(f)});while(i<l)j(r,i++)}));if(z)z(y,P);m=y.prototype=b(D)}else if(o){y=e((function(r,e,t,n){s(r,y,u);return R(function(){if(!g(e))return new p(h(e));if(V(e))return n!==undefined?new p(e,d(t,a),n):t!==undefined?new p(e,d(t,a)):new p(e);if(Q(e))return $(y,e);return A.call(y,e)}(),r,y)}));if(z)z(y,P);x(w(p),(function(r){if(!(r in y)){l(y,r,p[r])}}));y.prototype=m}if(m.constructor!==y){l(m,"constructor",y)}if(B){l(m,B,u)}k[u]=y;n({global:true,forced:y!=p,sham:!L},k);if(!(q in y)){l(y,q,a)}if(!(q in m)){l(m,q,a)}_(u)}}else r.exports=function(){}},3832:function(r,e,t){var n=t(7854);var i=t(7293);var a=t(7072);var o=t(260).NATIVE_ARRAY_BUFFER_VIEWS;var u=n.ArrayBuffer;var f=n.Int8Array;r.exports=!o||!i((function(){f(1)}))||!i((function(){new f(-1)}))||!a((function(r){new f;new f(null);new f(1.5);new f(r)}),true)||i((function(){return new f(new u(2),1,undefined).length!==1}))},3074:function(r,e,t){var n=t(260).aTypedArrayConstructor;var i=t(6707);r.exports=function(r,e){var t=i(r,r.constructor);var a=0;var o=e.length;var u=new(n(t))(o);while(o>a)u[a]=e[a++];return u}},7321:function(r,e,t){var n=t(7908);var i=t(7466);var a=t(1246);var o=t(7659);var u=t(9974);var f=t(260).aTypedArrayConstructor;r.exports=function r(e){var t=n(e);var s=arguments.length;var v=s>1?arguments[1]:undefined;var l=v!==undefined;var c=a(t);var h,d,p,y,m,g;if(c!=undefined&&!o(c)){m=c.call(t);g=m.next;t=[];while(!(y=g.call(m)).done){t.push(y.value)}}if(l&&s>2){v=u(v,arguments[2],2)}d=i(t.length);p=new(f(this))(d);for(h=0;d>h;h++){p[h]=l?v(t[h],h):t[h]}return p}},9711:function(r){var e=0;var t=Math.random();r.exports=function(r){return"Symbol("+String(r===undefined?"":r)+")_"+(++e+t).toString(36)}},3307:function(r,e,t){var n=t(133);r.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},5112:function(r,e,t){var n=t(7854);var i=t(2309);var a=t(6656);var o=t(9711);var u=t(133);var f=t(3307);var s=i("wks");var v=n.Symbol;var l=f?v:v&&v.withoutSetter||o;r.exports=function(r){if(!a(s,r)){if(u&&a(v,r))s[r]=v[r];else s[r]=l("Symbol."+r)}return s[r]}},1361:function(r){r.exports="\t\n\v\f\r      "+"           \u2028\u2029\ufeff"},8264:function(r,e,t){var n=t(2109);var i=t(7854);var a=t(3331);var o=t(6340);var u="ArrayBuffer";var f=a[u];var s=i[u];n({global:true,forced:s!==f},{ArrayBuffer:f});o(u)},2222:function(r,e,t){var n=t(2109);var i=t(7293);var a=t(3157);var o=t(111);var u=t(7908);var f=t(7466);var s=t(6135);var v=t(5417);var l=t(1194);var c=t(5112);var h=t(7392);var d=c("isConcatSpreadable");var p=9007199254740991;var y="Maximum allowed index exceeded";var m=h>=51||!i((function(){var r=[];r[d]=false;return r.concat()[0]!==r}));var g=l("concat");var b=function(r){if(!o(r))return false;var e=r[d];return e!==undefined?!!e:a(r)};var z=!m||!g;n({target:"Array",proto:true,forced:z},{concat:function r(e){var t=u(this);var n=v(t,0);var i=0;var a,o,l,c,h;for(a=-1,l=arguments.length;a<l;a++){h=a===-1?t:arguments[a];if(b(h)){c=f(h.length);if(i+c>p)throw TypeError(y);for(o=0;o<c;o++,i++)if(o in h)s(n,i,h[o])}else{if(i>=p)throw TypeError(y);s(n,i++,h)}}n.length=i;return n}})},7327:function(r,e,t){var n=t(2109);var i=t(2092).filter;var a=t(1194);var o=a("filter");n({target:"Array",proto:true,forced:!o},{filter:function r(e){return i(this,e,arguments.length>1?arguments[1]:undefined)}})},2772:function(r,e,t){var n=t(2109);var i=t(1318).indexOf;var a=t(9341);var o=[].indexOf;var u=!!o&&1/[1].indexOf(1,-0)<0;var f=a("indexOf");n({target:"Array",proto:true,forced:u||!f},{indexOf:function r(e){return u?o.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:undefined)}})},6992:function(r,e,t){var n=t(5656);var i=t(1223);var a=t(7497);var o=t(9909);var u=t(654);var f="Array Iterator";var s=o.set;var v=o.getterFor(f);r.exports=u(Array,"Array",(function(r,e){s(this,{type:f,target:n(r),index:0,kind:e})}),(function(){var r=v(this);var e=r.target;var t=r.kind;var n=r.index++;if(!e||n>=e.length){r.target=undefined;return{value:undefined,done:true}}if(t=="keys")return{value:n,done:false};if(t=="values")return{value:e[n],done:false};return{value:[n,e[n]],done:false}}),"values");a.Arguments=a.Array;i("keys");i("values");i("entries")},1249:function(r,e,t){var n=t(2109);var i=t(2092).map;var a=t(1194);var o=a("map");n({target:"Array",proto:true,forced:!o},{map:function r(e){return i(this,e,arguments.length>1?arguments[1]:undefined)}})},7042:function(r,e,t){var n=t(2109);var i=t(111);var a=t(3157);var o=t(1400);var u=t(7466);var f=t(5656);var s=t(6135);var v=t(5112);var l=t(1194);var c=l("slice");var h=v("species");var d=[].slice;var p=Math.max;n({target:"Array",proto:true,forced:!c},{slice:function r(e,t){var n=f(this);var v=u(n.length);var l=o(e,v);var c=o(t===undefined?v:t,v);var y,m,g;if(a(n)){y=n.constructor;if(typeof y=="function"&&(y===Array||a(y.prototype))){y=undefined}else if(i(y)){y=y[h];if(y===null)y=undefined}if(y===Array||y===undefined){return d.call(n,l,c)}}m=new(y===undefined?Array:y)(p(c-l,0));for(g=0;l<c;l++,g++)if(l in n)s(m,g,n[l]);m.length=g;return m}})},561:function(r,e,t){var n=t(2109);var i=t(1400);var a=t(9958);var o=t(7466);var u=t(7908);var f=t(5417);var s=t(6135);var v=t(1194);var l=v("splice");var c=Math.max;var h=Math.min;var d=9007199254740991;var p="Maximum allowed length exceeded";n({target:"Array",proto:true,forced:!l},{splice:function r(e,t){var n=u(this);var v=o(n.length);var l=i(e,v);var y=arguments.length;var m,g,b,z,w,A;if(y===0){m=g=0}else if(y===1){m=0;g=v-l}else{m=y-2;g=h(c(a(t),0),v-l)}if(v+m-g>d){throw TypeError(p)}b=f(n,g);for(z=0;z<g;z++){w=l+z;if(w in n)s(b,z,n[w])}b.length=g;if(m<g){for(z=l;z<v-g;z++){w=z+g;A=z+m;if(w in n)n[A]=n[w];else delete n[A]}for(z=v;z>v-g+m;z--)delete n[z-1]}else if(m>g){for(z=v-g;z>l;z--){w=z+g-1;A=z+m-1;if(w in n)n[A]=n[w];else delete n[A]}}for(z=0;z<m;z++){n[z+l]=arguments[z+2]}n.length=v-g+m;return b}})},8309:function(r,e,t){var n=t(9781);var i=t(3070).f;var a=Function.prototype;var o=a.toString;var u=/^\s*function ([^ (]*)/;var f="name";if(n&&!(f in a)){i(a,f,{configurable:true,get:function(){try{return o.call(this).match(u)[1]}catch(r){return""}}})}},489:function(r,e,t){var n=t(2109);var i=t(7293);var a=t(7908);var o=t(9518);var u=t(8544);var f=i((function(){o(1)}));n({target:"Object",stat:true,forced:f,sham:!u},{getPrototypeOf:function r(e){return o(a(e))}})},1539:function(r,e,t){var n=t(1694);var i=t(1320);var a=t(288);if(!n){i(Object.prototype,"toString",a,{unsafe:true})}},4916:function(r,e,t){var n=t(2109);var i=t(2261);n({target:"RegExp",proto:true,forced:/./.exec!==i},{exec:i})},9714:function(r,e,t){var n=t(1320);var i=t(9670);var a=t(7293);var o=t(7066);var u="toString";var f=RegExp.prototype;var s=f[u];var v=a((function(){return s.call({source:"a",flags:"b"})!="/a/b"}));var l=s.name!=u;if(v||l){n(RegExp.prototype,u,(function r(){var e=i(this);var t=String(e.source);var n=e.flags;var a=String(n===undefined&&e instanceof RegExp&&!("flags"in f)?o.call(e):n);return"/"+t+"/"+a}),{unsafe:true})}},8783:function(r,e,t){var n=t(8710).charAt;var i=t(9909);var a=t(654);var o="String Iterator";var u=i.set;var f=i.getterFor(o);a(String,"String",(function(r){u(this,{type:o,string:String(r),index:0})}),(function r(){var e=f(this);var t=e.string;var i=e.index;var a;if(i>=t.length)return{value:undefined,done:true};a=n(t,i);e.index+=a.length;return{value:a,done:false}}))},4723:function(r,e,t){var n=t(7007);var i=t(9670);var a=t(7466);var o=t(4488);var u=t(1530);var f=t(7651);n("match",1,(function(r,e,t){return[function e(t){var n=o(this);var i=t==undefined?undefined:t[r];return i!==undefined?i.call(t,n):new RegExp(t)[r](String(n))},function(r){var n=t(e,r,this);if(n.done)return n.value;var o=i(r);var s=String(this);if(!o.global)return f(o,s);var v=o.unicode;o.lastIndex=0;var l=[];var c=0;var h;while((h=f(o,s))!==null){var d=String(h[0]);l[c]=d;if(d==="")o.lastIndex=u(s,a(o.lastIndex),v);c++}return c===0?null:l}]}))},5306:function(r,e,t){var n=t(7007);var i=t(9670);var a=t(7466);var o=t(9958);var u=t(4488);var f=t(1530);var s=t(647);var v=t(7651);var l=Math.max;var c=Math.min;var h=function(r){return r===undefined?r:String(r)};n("replace",2,(function(r,e,t,n){var d=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;var p=n.REPLACE_KEEPS_$0;var y=d?"$":"$0";return[function t(n,i){var a=u(this);var o=n==undefined?undefined:n[r];return o!==undefined?o.call(n,a,i):e.call(String(a),n,i)},function(r,n){if(!d&&p||typeof n==="string"&&n.indexOf(y)===-1){var u=t(e,r,this,n);if(u.done)return u.value}var m=i(r);var g=String(this);var b=typeof n==="function";if(!b)n=String(n);var z=m.global;if(z){var w=m.unicode;m.lastIndex=0}var A=[];while(true){var x=v(m,g);if(x===null)break;A.push(x);if(!z)break;var _=String(x[0]);if(_==="")m.lastIndex=f(g,a(m.lastIndex),w)}var k="";var S=0;for(var E=0;E<A.length;E++){x=A[E];var R=String(x[0]);var F=l(c(o(x.index),g.length),0);var T=[];for(var C=1;C<x.length;C++)T.push(h(x[C]));var j=x.groups;if(b){var M=[R].concat(T,F,g);if(j!==undefined)M.push(j);var U=String(n.apply(undefined,M))}else{U=s(R,g,F,T,j,n)}if(F>=S){k+=g.slice(S,F)+U;S=F+R.length}}return k+g.slice(S)}]}))},3123:function(r,e,t){var n=t(7007);var i=t(7850);var a=t(9670);var o=t(4488);var u=t(6707);var f=t(1530);var s=t(7466);var v=t(7651);var l=t(2261);var c=t(7293);var h=[].push;var d=Math.min;var p=4294967295;var y=!c((function(){return!RegExp(p,"y")}));n("split",2,(function(r,e,t){var n;if("abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length){n=function(r,t){var n=String(o(this));var a=t===undefined?p:t>>>0;if(a===0)return[];if(r===undefined)return[n];if(!i(r)){return e.call(n,r,a)}var u=[];var f=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(r.sticky?"y":"");var s=0;var v=new RegExp(r.source,f+"g");var c,d,y;while(c=l.call(v,n)){d=v.lastIndex;if(d>s){u.push(n.slice(s,c.index));if(c.length>1&&c.index<n.length)h.apply(u,c.slice(1));y=c[0].length;s=d;if(u.length>=a)break}if(v.lastIndex===c.index)v.lastIndex++}if(s===n.length){if(y||!v.test(""))u.push("")}else u.push(n.slice(s));return u.length>a?u.slice(0,a):u}}else if("0".split(undefined,0).length){n=function(r,t){return r===undefined&&t===0?[]:e.call(this,r,t)}}else n=e;return[function e(t,i){var a=o(this);var u=t==undefined?undefined:t[r];return u!==undefined?u.call(t,a,i):n.call(String(a),t,i)},function(r,i){var o=t(n,r,this,i,n!==e);if(o.done)return o.value;var l=a(r);var c=String(this);var h=u(l,RegExp);var m=l.unicode;var g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(y?"y":"g");var b=new h(y?l:"^(?:"+l.source+")",g);var z=i===undefined?p:i>>>0;if(z===0)return[];if(c.length===0)return v(b,c)===null?[c]:[];var w=0;var A=0;var x=[];while(A<c.length){b.lastIndex=y?A:0;var _=v(b,y?c:c.slice(A));var k;if(_===null||(k=d(s(b.lastIndex+(y?0:A)),c.length))===w){A=f(c,A,m)}else{x.push(c.slice(w,A));if(x.length===z)return x;for(var S=1;S<=_.length-1;S++){x.push(_[S]);if(x.length===z)return x}A=w=k}}x.push(c.slice(w));return x}]}),!y)},3210:function(r,e,t){var n=t(2109);var i=t(3111).trim;var a=t(6091);n({target:"String",proto:true,forced:a("trim")},{trim:function r(){return i(this)}})},2990:function(r,e,t){var n=t(260);var i=t(1048);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("copyWithin",(function r(e,t){return i.call(a(this),e,t,arguments.length>2?arguments[2]:undefined)}))},8927:function(r,e,t){var n=t(260);var i=t(2092).every;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("every",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},3105:function(r,e,t){var n=t(260);var i=t(1285);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("fill",(function r(e){return i.apply(a(this),arguments)}))},5035:function(r,e,t){var n=t(260);var i=t(2092).filter;var a=t(3074);var o=n.aTypedArray;var u=n.exportTypedArrayMethod;u("filter",(function r(e){var t=i(o(this),e,arguments.length>1?arguments[1]:undefined);return a(this,t)}))},7174:function(r,e,t){var n=t(260);var i=t(2092).findIndex;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("findIndex",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},4345:function(r,e,t){var n=t(260);var i=t(2092).find;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("find",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},2846:function(r,e,t){var n=t(260);var i=t(2092).forEach;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("forEach",(function r(e){i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},4731:function(r,e,t){var n=t(260);var i=t(1318).includes;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("includes",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},7209:function(r,e,t){var n=t(260);var i=t(1318).indexOf;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("indexOf",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},6319:function(r,e,t){var n=t(7854);var i=t(260);var a=t(6992);var o=t(5112);var u=o("iterator");var f=n.Uint8Array;var s=a.values;var v=a.keys;var l=a.entries;var c=i.aTypedArray;var h=i.exportTypedArrayMethod;var d=f&&f.prototype[u];var p=!!d&&(d.name=="values"||d.name==undefined);var y=function r(){return s.call(c(this))};h("entries",(function r(){return l.call(c(this))}));h("keys",(function r(){return v.call(c(this))}));h("values",y,!p);h(u,y,!p)},8867:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=[].join;a("join",(function r(e){return o.apply(i(this),arguments)}))},7789:function(r,e,t){var n=t(260);var i=t(6583);var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("lastIndexOf",(function r(e){return i.apply(a(this),arguments)}))},3739:function(r,e,t){var n=t(260);var i=t(2092).map;var a=t(6707);var o=n.aTypedArray;var u=n.aTypedArrayConstructor;var f=n.exportTypedArrayMethod;f("map",(function r(e){return i(o(this),e,arguments.length>1?arguments[1]:undefined,(function(r,e){return new(u(a(r,r.constructor)))(e)}))}))},4483:function(r,e,t){var n=t(260);var i=t(3671).right;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("reduceRight",(function r(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},9368:function(r,e,t){var n=t(260);var i=t(3671).left;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("reduce",(function r(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},2056:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=Math.floor;a("reverse",(function r(){var e=this;var t=i(e).length;var n=o(t/2);var a=0;var u;while(a<n){u=e[a];e[a++]=e[--t];e[t]=u}return e}))},3462:function(r,e,t){var n=t(260);var i=t(7466);var a=t(4590);var o=t(7908);var u=t(7293);var f=n.aTypedArray;var s=n.exportTypedArrayMethod;var v=u((function(){new Int8Array(1).set({})}));s("set",(function r(e){f(this);var t=a(arguments.length>1?arguments[1]:undefined,1);var n=this.length;var u=o(e);var s=i(u.length);var v=0;if(s+t>n)throw RangeError("Wrong length");while(v<s)this[t+v]=u[v++]}),v)},678:function(r,e,t){var n=t(260);var i=t(6707);var a=t(7293);var o=n.aTypedArray;var u=n.aTypedArrayConstructor;var f=n.exportTypedArrayMethod;var s=[].slice;var v=a((function(){new Int8Array(1).slice()}));f("slice",(function r(e,t){var n=s.call(o(this),e,t);var a=i(this,this.constructor);var f=0;var v=n.length;var l=new(u(a))(v);while(v>f)l[f]=n[f++];return l}),v)},7462:function(r,e,t){var n=t(260);var i=t(2092).some;var a=n.aTypedArray;var o=n.exportTypedArrayMethod;o("some",(function r(e){return i(a(this),e,arguments.length>1?arguments[1]:undefined)}))},3824:function(r,e,t){var n=t(260);var i=n.aTypedArray;var a=n.exportTypedArrayMethod;var o=[].sort;a("sort",(function r(e){return o.call(i(this),e)}))},5021:function(r,e,t){var n=t(260);var i=t(7466);var a=t(1400);var o=t(6707);var u=n.aTypedArray;var f=n.exportTypedArrayMethod;f("subarray",(function r(e,t){var n=u(this);var f=n.length;var s=a(e,f);return new(o(n,n.constructor))(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,i((t===undefined?f:a(t,f))-s))}))},2974:function(r,e,t){var n=t(7854);var i=t(260);var a=t(7293);var o=n.Int8Array;var u=i.aTypedArray;var f=i.exportTypedArrayMethod;var s=[].toLocaleString;var v=[].slice;var l=!!o&&a((function(){s.call(new o(1))}));var c=a((function(){return[1,2].toLocaleString()!=new o([1,2]).toLocaleString()}))||!a((function(){o.prototype.toLocaleString.call([1,2])}));f("toLocaleString",(function r(){return s.apply(l?v.call(u(this)):u(this),arguments)}),c)},5016:function(r,e,t){var n=t(260).exportTypedArrayMethod;var i=t(7293);var a=t(7854);var o=a.Uint8Array;var u=o&&o.prototype||{};var f=[].toString;var s=[].join;if(i((function(){f.call({})}))){f=function r(){return s.call(this)}}var v=u.toString!=f;n("toString",f,v)},2472:function(r,e,t){var n=t(9843);n("Uint8",(function(r){return function e(t,n,i){return r(this,t,n,i)}}))},4747:function(r,e,t){var n=t(7854);var i=t(8324);var a=t(8533);var o=t(8880);for(var u in i){var f=n[u];var s=f&&f.prototype;if(s&&s.forEach!==a)try{o(s,"forEach",a)}catch(r){s.forEach=a}}},3948:function(r,e,t){var n=t(7854);var i=t(8324);var a=t(6992);var o=t(8880);var u=t(5112);var f=u("iterator");var s=u("toStringTag");var v=a.values;for(var l in i){var c=n[l];var h=c&&c.prototype;if(h){if(h[f]!==v)try{o(h,f,v)}catch(r){h[f]=v}if(!h[s]){o(h,s,l)}if(i[l])for(var d in a){if(h[d]!==a[d])try{o(h,d,a[d])}catch(r){h[d]=a[d]}}}}},1637:function(r,e,t){t(6992);var n=t(2109);var i=t(5005);var a=t(590);var o=t(1320);var u=t(2248);var f=t(8003);var s=t(4994);var v=t(9909);var l=t(5787);var c=t(6656);var h=t(9974);var d=t(648);var p=t(9670);var y=t(111);var m=t(30);var g=t(9114);var b=t(8554);var z=t(1246);var w=t(5112);var A=i("fetch");var x=i("Headers");var _=w("iterator");var k="URLSearchParams";var S=k+"Iterator";var E=v.set;var R=v.getterFor(k);var F=v.getterFor(S);var T=/\+/g;var C=Array(4);var j=function(r){return C[r-1]||(C[r-1]=RegExp("((?:%[\\da-f]{2}){"+r+"})","gi"))};var M=function(r){try{return decodeURIComponent(r)}catch(e){return r}};var U=function(r){var e=r.replace(T," ");var t=4;try{return decodeURIComponent(e)}catch(r){while(t){e=e.replace(j(t--),M)}return e}};var O=/[!'()~]|%20/g;var I={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};var L=function(r){return I[r]};var B=function(r){return encodeURIComponent(r).replace(O,L)};var P=function(r,e){if(e){var t=e.split("&");var n=0;var i,a;while(n<t.length){i=t[n++];if(i.length){a=i.split("=");r.push({key:U(a.shift()),value:U(a.join("="))})}}}};var D=function(r){this.entries.length=0;P(this.entries,r)};var N=function(r,e){if(r<e)throw TypeError("Not enough arguments")};var Q=s((function r(e,t){E(this,{type:S,iterator:b(R(e).entries),kind:t})}),"Iterator",(function r(){var e=F(this);var t=e.kind;var n=e.iterator.next();var i=n.value;if(!n.done){n.value=t==="keys"?i.key:t==="values"?i.value:[i.key,i.value]}return n}));var q=function r(){l(this,q,k);var e=arguments.length>0?arguments[0]:undefined;var t=this;var n=[];var i,a,o,u,f,s,v,h,d;E(t,{type:k,entries:n,updateURL:function(){},updateSearchParams:D});if(e!==undefined){if(y(e)){i=z(e);if(typeof i==="function"){a=i.call(e);o=a.next;while(!(u=o.call(a)).done){f=b(p(u.value));s=f.next;if((v=s.call(f)).done||(h=s.call(f)).done||!s.call(f).done)throw TypeError("Expected sequence with length 2");n.push({key:v.value+"",value:h.value+""})}}else for(d in e)if(c(e,d))n.push({key:d,value:e[d]+""})}else{P(n,typeof e==="string"?e.charAt(0)==="?"?e.slice(1):e:e+"")}}};var Y=q.prototype;u(Y,{append:function r(e,t){N(arguments.length,2);var n=R(this);n.entries.push({key:e+"",value:t+""});n.updateURL()},delete:function(r){N(arguments.length,1);var e=R(this);var t=e.entries;var n=r+"";var i=0;while(i<t.length){if(t[i].key===n)t.splice(i,1);else i++}e.updateURL()},get:function r(e){N(arguments.length,1);var t=R(this).entries;var n=e+"";var i=0;for(;i<t.length;i++){if(t[i].key===n)return t[i].value}return null},getAll:function r(e){N(arguments.length,1);var t=R(this).entries;var n=e+"";var i=[];var a=0;for(;a<t.length;a++){if(t[a].key===n)i.push(t[a].value)}return i},has:function r(e){N(arguments.length,1);var t=R(this).entries;var n=e+"";var i=0;while(i<t.length){if(t[i++].key===n)return true}return false},set:function r(e,t){N(arguments.length,1);var n=R(this);var i=n.entries;var a=false;var o=e+"";var u=t+"";var f=0;var s;for(;f<i.length;f++){s=i[f];if(s.key===o){if(a)i.splice(f--,1);else{a=true;s.value=u}}}if(!a)i.push({key:o,value:u});n.updateURL()},sort:function r(){var e=R(this);var t=e.entries;var n=t.slice();var i,a,o;t.length=0;for(o=0;o<n.length;o++){i=n[o];for(a=0;a<o;a++){if(t[a].key>i.key){t.splice(a,0,i);break}}if(a===o)t.push(i)}e.updateURL()},forEach:function r(e){var t=R(this).entries;var n=h(e,arguments.length>1?arguments[1]:undefined,3);var i=0;var a;while(i<t.length){a=t[i++];n(a.value,a.key,this)}},keys:function r(){return new Q(this,"keys")},values:function r(){return new Q(this,"values")},entries:function r(){return new Q(this,"entries")}},{enumerable:true});o(Y,_,Y.entries);o(Y,"toString",(function r(){var e=R(this).entries;var t=[];var n=0;var i;while(n<e.length){i=e[n++];t.push(B(i.key)+"="+B(i.value))}return t.join("&")}),{enumerable:true});f(q,k);n({global:true,forced:!a},{URLSearchParams:q});if(!a&&typeof A=="function"&&typeof x=="function"){n({global:true,enumerable:true,forced:true},{fetch:function r(e){var t=[e];var n,i,a;if(arguments.length>1){n=arguments[1];if(y(n)){i=n.body;if(d(i)===k){a=n.headers?new x(n.headers):new x;if(!a.has("content-type")){a.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")}n=m(n,{body:g(0,String(i)),headers:g(0,a)})}}t.push(n)}return A.apply(this,t)}})}r.exports={URLSearchParams:q,getState:R}},285:function(r,e,t){t(8783);var n=t(2109);var i=t(9781);var a=t(590);var o=t(7854);var u=t(6048);var f=t(1320);var s=t(5787);var v=t(6656);var l=t(1574);var c=t(8457);var h=t(8710).codeAt;var d=t(3197);var p=t(8003);var y=t(1637);var m=t(9909);var g=o.URL;var b=y.URLSearchParams;var z=y.getState;var w=m.set;var A=m.getterFor("URL");var x=Math.floor;var _=Math.pow;var k="Invalid authority";var S="Invalid scheme";var E="Invalid host";var R="Invalid port";var F=/[A-Za-z]/;var T=/[\d+-.A-Za-z]/;var C=/\d/;var j=/^(0x|0X)/;var M=/^[0-7]+$/;var U=/^\d+$/;var O=/^[\dA-Fa-f]+$/;var I=/[\u0000\t\u000A\u000D #%/:?@[\\]]/;var L=/[\u0000\t\u000A\u000D #/:?@[\\]]/;var B=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g;var P=/[\t\u000A\u000D]/g;var D;var N=function(r,e){var t,n,i;if(e.charAt(0)=="["){if(e.charAt(e.length-1)!="]")return E;t=q(e.slice(1,-1));if(!t)return E;r.host=t}else if(!J(r)){if(L.test(e))return E;t="";n=c(e);for(i=0;i<n.length;i++){t+=H(n[i],G)}r.host=t}else{e=d(e);if(I.test(e))return E;t=Q(e);if(t===null)return E;r.host=t}};var Q=function(r){var e=r.split(".");var t,n,i,a,o,u,f;if(e.length&&e[e.length-1]==""){e.pop()}t=e.length;if(t>4)return r;n=[];for(i=0;i<t;i++){a=e[i];if(a=="")return r;o=10;if(a.length>1&&a.charAt(0)=="0"){o=j.test(a)?16:8;a=a.slice(o==8?1:2)}if(a===""){u=0}else{if(!(o==10?U:o==8?M:O).test(a))return r;u=parseInt(a,o)}n.push(u)}for(i=0;i<t;i++){u=n[i];if(i==t-1){if(u>=_(256,5-t))return null}else if(u>255)return null}f=n.pop();for(i=0;i<n.length;i++){f+=n[i]*_(256,3-i)}return f};var q=function(r){var e=[0,0,0,0,0,0,0,0];var t=0;var n=null;var i=0;var a,o,u,f,s,v,l;var c=function(){return r.charAt(i)};if(c()==":"){if(r.charAt(1)!=":")return;i+=2;t++;n=t}while(c()){if(t==8)return;if(c()==":"){if(n!==null)return;i++;t++;n=t;continue}a=o=0;while(o<4&&O.test(c())){a=a*16+parseInt(c(),16);i++;o++}if(c()=="."){if(o==0)return;i-=o;if(t>6)return;u=0;while(c()){f=null;if(u>0){if(c()=="."&&u<4)i++;else return}if(!C.test(c()))return;while(C.test(c())){s=parseInt(c(),10);if(f===null)f=s;else if(f==0)return;else f=f*10+s;if(f>255)return;i++}e[t]=e[t]*256+f;u++;if(u==2||u==4)t++}if(u!=4)return;break}else if(c()==":"){i++;if(!c())return}else if(c())return;e[t++]=a}if(n!==null){v=t-n;t=7;while(t!=0&&v>0){l=e[t];e[t--]=e[n+v-1];e[n+--v]=l}}else if(t!=8)return;return e};var Y=function(r){var e=null;var t=1;var n=null;var i=0;var a=0;for(;a<8;a++){if(r[a]!==0){if(i>t){e=n;t=i}n=null;i=0}else{if(n===null)n=a;++i}}if(i>t){e=n;t=i}return e};var $=function(r){var e,t,n,i;if(typeof r=="number"){e=[];for(t=0;t<4;t++){e.unshift(r%256);r=x(r/256)}return e.join(".")}else if(typeof r=="object"){e="";n=Y(r);for(t=0;t<8;t++){if(i&&r[t]===0)continue;if(i)i=false;if(n===t){e+=t?":":"::";i=true}else{e+=r[t].toString(16);if(t<7)e+=":"}}return"["+e+"]"}return r};var G={};var V=l({},G,{" ":1,'"':1,"<":1,">":1,"`":1});var W=l({},V,{"#":1,"?":1,"{":1,"}":1});var X=l({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1});var H=function(r,e){var t=h(r,0);return t>32&&t<127&&!v(e,r)?r:encodeURIComponent(r)};var K={ftp:21,file:null,http:80,https:443,ws:80,wss:443};var J=function(r){return v(K,r.scheme)};var Z=function(r){return r.username!=""||r.password!=""};var rr=function(r){return!r.host||r.cannotBeABaseURL||r.scheme=="file"};var er=function(r,e){var t;return r.length==2&&F.test(r.charAt(0))&&((t=r.charAt(1))==":"||!e&&t=="|")};var tr=function(r){var e;return r.length>1&&er(r.slice(0,2))&&(r.length==2||((e=r.charAt(2))==="/"||e==="\\"||e==="?"||e==="#"))};var nr=function(r){var e=r.path;var t=e.length;if(t&&(r.scheme!="file"||t!=1||!er(e[0],true))){e.pop()}};var ir=function(r){return r==="."||r.toLowerCase()==="%2e"};var ar=function(r){r=r.toLowerCase();return r===".."||r==="%2e."||r===".%2e"||r==="%2e%2e"};var or={};var ur={};var fr={};var sr={};var vr={};var lr={};var cr={};var hr={};var dr={};var pr={};var yr={};var mr={};var gr={};var br={};var zr={};var wr={};var Ar={};var xr={};var _r={};var kr={};var Sr={};var Er=function(r,e,t,n){var i=t||or;var a=0;var o="";var u=false;var f=false;var s=false;var l,h,d,p;if(!t){r.scheme="";r.username="";r.password="";r.host=null;r.port=null;r.path=[];r.query=null;r.fragment=null;r.cannotBeABaseURL=false;e=e.replace(B,"")}e=e.replace(P,"");l=c(e);while(a<=l.length){h=l[a];switch(i){case or:if(h&&F.test(h)){o+=h.toLowerCase();i=ur}else if(!t){i=fr;continue}else return S;break;case ur:if(h&&(T.test(h)||h=="+"||h=="-"||h==".")){o+=h.toLowerCase()}else if(h==":"){if(t&&(J(r)!=v(K,o)||o=="file"&&(Z(r)||r.port!==null)||r.scheme=="file"&&!r.host))return;r.scheme=o;if(t){if(J(r)&&K[r.scheme]==r.port)r.port=null;return}o="";if(r.scheme=="file"){i=br}else if(J(r)&&n&&n.scheme==r.scheme){i=sr}else if(J(r)){i=hr}else if(l[a+1]=="/"){i=vr;a++}else{r.cannotBeABaseURL=true;r.path.push("");i=_r}}else if(!t){o="";i=fr;a=0;continue}else return S;break;case fr:if(!n||n.cannotBeABaseURL&&h!="#")return S;if(n.cannotBeABaseURL&&h=="#"){r.scheme=n.scheme;r.path=n.path.slice();r.query=n.query;r.fragment="";r.cannotBeABaseURL=true;i=Sr;break}i=n.scheme=="file"?br:lr;continue;case sr:if(h=="/"&&l[a+1]=="/"){i=dr;a++}else{i=lr;continue}break;case vr:if(h=="/"){i=pr;break}else{i=xr;continue}case lr:r.scheme=n.scheme;if(h==D){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query=n.query}else if(h=="/"||h=="\\"&&J(r)){i=cr}else if(h=="?"){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query="";i=kr}else if(h=="#"){r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.query=n.query;r.fragment="";i=Sr}else{r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;r.path=n.path.slice();r.path.pop();i=xr;continue}break;case cr:if(J(r)&&(h=="/"||h=="\\")){i=dr}else if(h=="/"){i=pr}else{r.username=n.username;r.password=n.password;r.host=n.host;r.port=n.port;i=xr;continue}break;case hr:i=dr;if(h!="/"||o.charAt(a+1)!="/")continue;a++;break;case dr:if(h!="/"&&h!="\\"){i=pr;continue}break;case pr:if(h=="@"){if(u)o="%40"+o;u=true;d=c(o);for(var y=0;y<d.length;y++){var m=d[y];if(m==":"&&!s){s=true;continue}var g=H(m,X);if(s)r.password+=g;else r.username+=g}o=""}else if(h==D||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)){if(u&&o=="")return k;a-=c(o).length+1;o="";i=yr}else o+=h;break;case yr:case mr:if(t&&r.scheme=="file"){i=wr;continue}else if(h==":"&&!f){if(o=="")return E;p=N(r,o);if(p)return p;o="";i=gr;if(t==mr)return}else if(h==D||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)){if(J(r)&&o=="")return E;if(t&&o==""&&(Z(r)||r.port!==null))return;p=N(r,o);if(p)return p;o="";i=Ar;if(t)return;continue}else{if(h=="[")f=true;else if(h=="]")f=false;o+=h}break;case gr:if(C.test(h)){o+=h}else if(h==D||h=="/"||h=="?"||h=="#"||h=="\\"&&J(r)||t){if(o!=""){var b=parseInt(o,10);if(b>65535)return R;r.port=J(r)&&b===K[r.scheme]?null:b;o=""}if(t)return;i=Ar;continue}else return R;break;case br:r.scheme="file";if(h=="/"||h=="\\")i=zr;else if(n&&n.scheme=="file"){if(h==D){r.host=n.host;r.path=n.path.slice();r.query=n.query}else if(h=="?"){r.host=n.host;r.path=n.path.slice();r.query="";i=kr}else if(h=="#"){r.host=n.host;r.path=n.path.slice();r.query=n.query;r.fragment="";i=Sr}else{if(!tr(l.slice(a).join(""))){r.host=n.host;r.path=n.path.slice();nr(r)}i=xr;continue}}else{i=xr;continue}break;case zr:if(h=="/"||h=="\\"){i=wr;break}if(n&&n.scheme=="file"&&!tr(l.slice(a).join(""))){if(er(n.path[0],true))r.path.push(n.path[0]);else r.host=n.host}i=xr;continue;case wr:if(h==D||h=="/"||h=="\\"||h=="?"||h=="#"){if(!t&&er(o)){i=xr}else if(o==""){r.host="";if(t)return;i=Ar}else{p=N(r,o);if(p)return p;if(r.host=="localhost")r.host="";if(t)return;o="";i=Ar}continue}else o+=h;break;case Ar:if(J(r)){i=xr;if(h!="/"&&h!="\\")continue}else if(!t&&h=="?"){r.query="";i=kr}else if(!t&&h=="#"){r.fragment="";i=Sr}else if(h!=D){i=xr;if(h!="/")continue}break;case xr:if(h==D||h=="/"||h=="\\"&&J(r)||!t&&(h=="?"||h=="#")){if(ar(o)){nr(r);if(h!="/"&&!(h=="\\"&&J(r))){r.path.push("")}}else if(ir(o)){if(h!="/"&&!(h=="\\"&&J(r))){r.path.push("")}}else{if(r.scheme=="file"&&!r.path.length&&er(o)){if(r.host)r.host="";o=o.charAt(0)+":"}r.path.push(o)}o="";if(r.scheme=="file"&&(h==D||h=="?"||h=="#")){while(r.path.length>1&&r.path[0]===""){r.path.shift()}}if(h=="?"){r.query="";i=kr}else if(h=="#"){r.fragment="";i=Sr}}else{o+=H(h,W)}break;case _r:if(h=="?"){r.query="";i=kr}else if(h=="#"){r.fragment="";i=Sr}else if(h!=D){r.path[0]+=H(h,G)}break;case kr:if(!t&&h=="#"){r.fragment="";i=Sr}else if(h!=D){if(h=="'"&&J(r))r.query+="%27";else if(h=="#")r.query+="%23";else r.query+=H(h,G)}break;case Sr:if(h!=D)r.fragment+=H(h,V);break}a++}};var Rr=function r(e){var t=s(this,Rr,"URL");var n=arguments.length>1?arguments[1]:undefined;var a=String(e);var o=w(t,{type:"URL"});var u,f;if(n!==undefined){if(n instanceof Rr)u=A(n);else{f=Er(u={},String(n));if(f)throw TypeError(f)}}f=Er(o,a,null,u);if(f)throw TypeError(f);var v=o.searchParams=new b;var l=z(v);l.updateSearchParams(o.query);l.updateURL=function(){o.query=String(v)||null};if(!i){t.href=Tr.call(t);t.origin=Cr.call(t);t.protocol=jr.call(t);t.username=Mr.call(t);t.password=Ur.call(t);t.host=Or.call(t);t.hostname=Ir.call(t);t.port=Lr.call(t);t.pathname=Br.call(t);t.search=Pr.call(t);t.searchParams=Dr.call(t);t.hash=Nr.call(t)}};var Fr=Rr.prototype;var Tr=function(){var r=A(this);var e=r.scheme;var t=r.username;var n=r.password;var i=r.host;var a=r.port;var o=r.path;var u=r.query;var f=r.fragment;var s=e+":";if(i!==null){s+="//";if(Z(r)){s+=t+(n?":"+n:"")+"@"}s+=$(i);if(a!==null)s+=":"+a}else if(e=="file")s+="//";s+=r.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"";if(u!==null)s+="?"+u;if(f!==null)s+="#"+f;return s};var Cr=function(){var r=A(this);var e=r.scheme;var t=r.port;if(e=="blob")try{return new URL(e.path[0]).origin}catch(r){return"null"}if(e=="file"||!J(r))return"null";return e+"://"+$(r.host)+(t!==null?":"+t:"")};var jr=function(){return A(this).scheme+":"};var Mr=function(){return A(this).username};var Ur=function(){return A(this).password};var Or=function(){var r=A(this);var e=r.host;var t=r.port;return e===null?"":t===null?$(e):$(e)+":"+t};var Ir=function(){var r=A(this).host;return r===null?"":$(r)};var Lr=function(){var r=A(this).port;return r===null?"":String(r)};var Br=function(){var r=A(this);var e=r.path;return r.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""};var Pr=function(){var r=A(this).query;return r?"?"+r:""};var Dr=function(){return A(this).searchParams};var Nr=function(){var r=A(this).fragment;return r?"#"+r:""};var Qr=function(r,e){return{get:r,set:e,configurable:true,enumerable:true}};if(i){u(Fr,{href:Qr(Tr,(function(r){var e=A(this);var t=String(r);var n=Er(e,t);if(n)throw TypeError(n);z(e.searchParams).updateSearchParams(e.query)})),origin:Qr(Cr),protocol:Qr(jr,(function(r){var e=A(this);Er(e,String(r)+":",or)})),username:Qr(Mr,(function(r){var e=A(this);var t=c(String(r));if(rr(e))return;e.username="";for(var n=0;n<t.length;n++){e.username+=H(t[n],X)}})),password:Qr(Ur,(function(r){var e=A(this);var t=c(String(r));if(rr(e))return;e.password="";for(var n=0;n<t.length;n++){e.password+=H(t[n],X)}})),host:Qr(Or,(function(r){var e=A(this);if(e.cannotBeABaseURL)return;Er(e,String(r),yr)})),hostname:Qr(Ir,(function(r){var e=A(this);if(e.cannotBeABaseURL)return;Er(e,String(r),mr)})),port:Qr(Lr,(function(r){var e=A(this);if(rr(e))return;r=String(r);if(r=="")e.port=null;else Er(e,r,gr)})),pathname:Qr(Br,(function(r){var e=A(this);if(e.cannotBeABaseURL)return;e.path=[];Er(e,r+"",Ar)})),search:Qr(Pr,(function(r){var e=A(this);r=String(r);if(r==""){e.query=null}else{if("?"==r.charAt(0))r=r.slice(1);e.query="";Er(e,r,kr)}z(e.searchParams).updateSearchParams(e.query)})),searchParams:Qr(Dr),hash:Qr(Nr,(function(r){var e=A(this);r=String(r);if(r==""){e.fragment=null;return}if("#"==r.charAt(0))r=r.slice(1);e.fragment="";Er(e,r,Sr)}))})}f(Fr,"toJSON",(function r(){return Tr.call(this)}),{enumerable:true});f(Fr,"toString",(function r(){return Tr.call(this)}),{enumerable:true});if(g){var qr=g.createObjectURL;var Yr=g.revokeObjectURL;if(qr)f(Rr,"createObjectURL",(function r(e){return qr.apply(g,arguments)}));if(Yr)f(Rr,"revokeObjectURL",(function r(e){return Yr.apply(g,arguments)}))}p(Rr,"URL");n({global:true,forced:!a,sham:!i},{URL:Rr})}};var e={};function t(n){if(e[n]){return e[n].exports}var i=e[n]={exports:{}};r[n](i,i.exports,t);return i.exports}!function(){t.d=function(r,e){for(var n in e){if(t.o(e,n)&&!t.o(r,n)){Object.defineProperty(r,n,{enumerable:true,get:e[n]})}}}}();!function(){t.g=function(){if(typeof globalThis==="object")return globalThis;try{return this||new Function("return this")()}catch(r){if(typeof window==="object")return window}}()}();!function(){t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)}}();!function(){t.r=function(r){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(r,"__esModule",{value:true})}}();var n={};!function(){t.r(n);t.d(n,{Dropzone:function(){return T},default:function(){return P}});t(2222);t(7327);t(2772);t(6992);t(1249);t(7042);t(561);t(8264);t(8309);t(489);t(1539);t(4916);t(9714);t(8783);t(4723);t(5306);t(3123);t(3210);t(2472);t(2990);t(8927);t(3105);t(5035);t(4345);t(7174);t(2846);t(4731);t(7209);t(6319);t(8867);t(7789);t(3739);t(9368);t(4483);t(2056);t(3462);t(678);t(7462);t(3824);t(5021);t(2974);t(5016);t(4747);t(3948);t(285);function r(r,t){var n;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(n=e(r))||t&&r&&typeof r.length==="number"){if(n)r=n;var i=0;var a=function r(){};return{s:a,n:function e(){if(i>=r.length)return{done:true};return{done:false,value:r[i++]}},e:function r(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o=true,u=false,f;return{s:function e(){n=r[Symbol.iterator]()},n:function r(){var e=n.next();o=e.done;return e},e:function r(e){u=true;f=e},f:function r(){try{if(!o&&n.return!=null)n.return()}finally{if(u)throw f}}}}function e(r,e){if(!r)return;if(typeof r==="string")return i(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(r,e)}function i(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}function a(r,e){if(!(r instanceof e)){throw new TypeError("Cannot call a class as a function")}}function o(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(r,n.key,n)}}function u(r,e,t){if(e)o(r.prototype,e);if(t)o(r,t);return r}var f=function(){function e(){a(this,e)}u(e,[{key:"on",value:function r(e,t){this._callbacks=this._callbacks||{};if(!this._callbacks[e]){this._callbacks[e]=[]}this._callbacks[e].push(t);return this}},{key:"emit",value:function e(t){this._callbacks=this._callbacks||{};var n=this._callbacks[t];var i=true;var a=true;for(var o=arguments.length,u=new Array(o>1?o-1:0),f=1;f<o;f++){u[f-1]=arguments[f]}if(n){var s=r(n,true),v;try{for(s.s();!(v=s.n()).done;){var l=v.value;if(l.apply(this,u)===false){i=false}}}catch(r){s.e(r)}finally{s.f()}}if(this.element){a=this.element.dispatchEvent(this.makeEvent("dropzone:"+t,{args:u}))}return i&&a}},{key:"makeEvent",value:function r(e,t){var n={bubbles:true,cancelable:true,detail:t};if(typeof window.CustomEvent==="function"){return new CustomEvent(e,n)}else{var i=document.createEvent("CustomEvent");i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail);return i}}},{key:"off",value:function r(e,t){if(!this._callbacks||arguments.length===0){this._callbacks={};return this}var n=this._callbacks[e];if(!n){return this}if(arguments.length===1){delete this._callbacks[e];return this}for(var i=0;i<n.length;i++){var a=n[i];if(a===t){n.splice(i,1);break}}return this}}]);return e}();var s='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ';var v=s;function l(r,e){var t;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(t=c(r))||e&&r&&typeof r.length==="number"){if(t)r=t;var n=0;var i=function r(){};return{s:i,n:function e(){if(n>=r.length)return{done:true};return{done:false,value:r[n++]}},e:function r(e){throw e},f: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.")}var a=true,o=false,u;return{s:function e(){t=r[Symbol.iterator]()},n:function r(){var e=t.next();a=e.done;return e},e:function r(e){o=true;u=e},f:function r(){try{if(!a&&t.return!=null)t.return()}finally{if(o)throw u}}}}function c(r,e){if(!r)return;if(typeof r==="string")return h(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return h(r,e)}function h(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}var d={url:null,method:"post",withCredentials:false,timeout:null,parallelUploads:2,uploadMultiple:false,chunking:false,forceChunking:false,chunkSize:2e6,parallelChunkUploads:false,retryChunks:false,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:true,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:true,ignoreHiddenFiles:true,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:true,autoQueue:true,addRemoveLinks:false,previewsContainer:null,disablePreviews:false,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:false,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function r(){},params:function r(e,t,n){if(n){return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}}},accept:function r(e,t){return t()},chunksUploaded:function r(e,t){t()},fallback:function r(){var e;this.element.className="".concat(this.element.className," dz-browser-not-supported");var t=l(this.element.getElementsByTagName("div"),true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(/(^| )dz-message($| )/.test(i.className)){e=i;i.className="dz-message";break}}}catch(r){t.e(r)}finally{t.f()}if(!e){e=T.createElement('<div class="dz-message"><span></span></div>');this.element.appendChild(e)}var a=e.getElementsByTagName("span")[0];if(a){if(a.textContent!=null){a.textContent=this.options.dictFallbackMessage}else if(a.innerText!=null){a.innerText=this.options.dictFallbackMessage}}return this.element.appendChild(this.getFallbackForm())},resize:function r(e,t,n,i){var a={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height};var o=e.width/e.height;if(t==null&&n==null){t=a.srcWidth;n=a.srcHeight}else if(t==null){t=n*o}else if(n==null){n=t/o}t=Math.min(t,a.srcWidth);n=Math.min(n,a.srcHeight);var u=t/n;if(a.srcWidth>t||a.srcHeight>n){if(i==="crop"){if(o>u){a.srcHeight=e.height;a.srcWidth=a.srcHeight*u}else{a.srcWidth=e.width;a.srcHeight=a.srcWidth/u}}else if(i==="contain"){if(o>u){n=t/o}else{t=n*o}}else{throw new Error("Unknown resizeMethod '".concat(i,"'"))}}a.srcX=(e.width-a.srcWidth)/2;a.srcY=(e.height-a.srcHeight)/2;a.trgWidth=t;a.trgHeight=n;return a},transformFile:function r(e,t){if((this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)){return this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t)}else{return t(e)}},previewTemplate:v,drop:function r(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function r(e){},dragend:function r(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function r(e){return this.element.classList.add("dz-drag-hover")},dragover:function r(e){return this.element.classList.add("dz-drag-hover")},dragleave:function r(e){return this.element.classList.remove("dz-drag-hover")},paste:function r(e){},reset:function r(){return this.element.classList.remove("dz-started")},addedfile:function r(e){var t=this;if(this.element===this.previewsContainer){this.element.classList.add("dz-started")}if(this.previewsContainer&&!this.options.disablePreviews){e.previewElement=T.createElement(this.options.previewTemplate.trim());e.previewTemplate=e.previewElement;this.previewsContainer.appendChild(e.previewElement);var n=l(e.previewElement.querySelectorAll("[data-dz-name]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.textContent=e.name}}catch(r){n.e(r)}finally{n.f()}var o=l(e.previewElement.querySelectorAll("[data-dz-size]"),true),u;try{for(o.s();!(u=o.n()).done;){a=u.value;a.innerHTML=this.filesize(e.size)}}catch(r){o.e(r)}finally{o.f()}if(this.options.addRemoveLinks){e._removeLink=T.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>"));e.previewElement.appendChild(e._removeLink)}var f=function r(n){n.preventDefault();n.stopPropagation();if(e.status===T.UPLOADING){return T.confirm(t.options.dictCancelUploadConfirmation,(function(){return t.removeFile(e)}))}else{if(t.options.dictRemoveFileConfirmation){return T.confirm(t.options.dictRemoveFileConfirmation,(function(){return t.removeFile(e)}))}else{return t.removeFile(e)}}};var s=l(e.previewElement.querySelectorAll("[data-dz-remove]"),true),v;try{for(s.s();!(v=s.n()).done;){var c=v.value;c.addEventListener("click",f)}}catch(r){s.e(r)}finally{s.f()}}},removefile:function r(e){},removedfile:function r(e){if(e.previewElement!=null&&e.previewElement.parentNode!=null){e.previewElement.parentNode.removeChild(e.previewElement)}return this._updateMaxFilesReachedClass()},thumbnail:function r(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");var n=l(e.previewElement.querySelectorAll("[data-dz-thumbnail]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.alt=e.name;a.src=t}}catch(r){n.e(r)}finally{n.f()}return setTimeout((function(){return e.previewElement.classList.add("dz-image-preview")}),1)}},error:function r(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error");if(typeof t!=="string"&&t.error){t=t.error}var n=l(e.previewElement.querySelectorAll("[data-dz-errormessage]"),true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.textContent=t}}catch(r){n.e(r)}finally{n.f()}}},errormultiple:function r(){},processing:function r(e){if(e.previewElement){e.previewElement.classList.add("dz-processing");if(e._removeLink){return e._removeLink.innerHTML=this.options.dictCancelUpload}}},processingmultiple:function r(){},uploadprogress:function r(e,t,n){if(e.previewElement){var i=l(e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.nodeName==="PROGRESS"?o.value=t:o.style.width="".concat(t,"%")}}catch(r){i.e(r)}finally{i.f()}}},totaluploadprogress:function r(){},sending:function r(){},sendingmultiple:function r(){},success:function r(e){if(e.previewElement){return e.previewElement.classList.add("dz-success")}},successmultiple:function r(){},canceled:function r(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function r(){},complete:function r(e){if(e._removeLink){e._removeLink.innerHTML=this.options.dictRemoveFile}if(e.previewElement){return e.previewElement.classList.add("dz-complete")}},completemultiple:function r(){},maxfilesexceeded:function r(){},maxfilesreached:function r(){},queuecomplete:function r(){},addedfiles:function r(){}};var p=d;function y(r){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){y=function r(e){return typeof e}}else{y=function r(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return y(r)}function m(r,e){var t;if(typeof Symbol==="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(t=g(r))||e&&r&&typeof r.length==="number"){if(t)r=t;var n=0;var i=function r(){};return{s:i,n:function e(){if(n>=r.length)return{done:true};return{done:false,value:r[n++]}},e:function r(e){throw e},f: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.")}var a=true,o=false,u;return{s:function e(){t=r[Symbol.iterator]()},n:function r(){var e=t.next();a=e.done;return e},e:function r(e){o=true;u=e},f:function r(){try{if(!a&&t.return!=null)t.return()}finally{if(o)throw u}}}}function g(r,e){if(!r)return;if(typeof r==="string")return b(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor)t=r.constructor.name;if(t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(r,e)}function b(r,e){if(e==null||e>r.length)e=r.length;for(var t=0,n=new Array(e);t<e;t++){n[t]=r[t]}return n}function z(r,e){if(!(r instanceof e)){throw new TypeError("Cannot call a class as a function")}}function w(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(r,n.key,n)}}function A(r,e,t){if(e)w(r.prototype,e);if(t)w(r,t);return r}function x(r,e){if(typeof e!=="function"&&e!==null){throw new TypeError("Super expression must either be null or a function")}r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:true,configurable:true}});if(e)_(r,e)}function _(r,e){_=Object.setPrototypeOf||function r(e,t){e.__proto__=t;return e};return _(r,e)}function k(r){var e=R();return function t(){var n=F(r),i;if(e){var a=F(this).constructor;i=Reflect.construct(n,arguments,a)}else{i=n.apply(this,arguments)}return S(this,i)}}function S(r,e){if(e&&(y(e)==="object"||typeof e==="function")){return e}return E(r)}function E(r){if(r===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return r}function R(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Date.prototype.toString.call(Reflect.construct(Date,[],(function(){})));return true}catch(r){return false}}function F(r){F=Object.setPrototypeOf?Object.getPrototypeOf:function r(e){return e.__proto__||Object.getPrototypeOf(e)};return F(r)}var T=function(r){x(t,r);var e=k(t);function t(r,n){var i;z(this,t);i=e.call(this);var a,o;i.element=r;i.version=t.version;i.clickableElements=[];i.listeners=[];i.files=[];if(typeof i.element==="string"){i.element=document.querySelector(i.element)}if(!i.element||i.element.nodeType==null){throw new Error("Invalid dropzone element.")}if(i.element.dropzone){throw new Error("Dropzone already attached.")}t.instances.push(E(i));i.element.dropzone=E(i);var u=(o=t.optionsForElement(i.element))!=null?o:{};i.options=t.extend({},p,u,n!=null?n:{});i.options.previewTemplate=i.options.previewTemplate.replace(/\n*/g,"");if(i.options.forceFallback||!t.isBrowserSupported()){return S(i,i.options.fallback.call(E(i)))}if(i.options.url==null){i.options.url=i.element.getAttribute("action")}if(!i.options.url){throw new Error("No URL provided.")}if(i.options.acceptedFiles&&i.options.acceptedMimeTypes){throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.")}if(i.options.uploadMultiple&&i.options.chunking){throw new Error("You cannot set both: uploadMultiple and chunking.")}if(i.options.acceptedMimeTypes){i.options.acceptedFiles=i.options.acceptedMimeTypes;delete i.options.acceptedMimeTypes}if(i.options.renameFilename!=null){i.options.renameFile=function(r){return i.options.renameFilename.call(E(i),r.name,r)}}if(typeof i.options.method==="string"){i.options.method=i.options.method.toUpperCase()}if((a=i.getExistingFallback())&&a.parentNode){a.parentNode.removeChild(a)}if(i.options.previewsContainer!==false){if(i.options.previewsContainer){i.previewsContainer=t.getElement(i.options.previewsContainer,"previewsContainer")}else{i.previewsContainer=i.element}}if(i.options.clickable){if(i.options.clickable===true){i.clickableElements=[i.element]}else{i.clickableElements=t.getElements(i.options.clickable,"clickable")}}i.init();return i}A(t,[{key:"getAcceptedFiles",value:function r(){return this.files.filter((function(r){return r.accepted})).map((function(r){return r}))}},{key:"getRejectedFiles",value:function r(){return this.files.filter((function(r){return!r.accepted})).map((function(r){return r}))}},{key:"getFilesWithStatus",value:function r(e){return this.files.filter((function(r){return r.status===e})).map((function(r){return r}))}},{key:"getQueuedFiles",value:function r(){return this.getFilesWithStatus(t.QUEUED)}},{key:"getUploadingFiles",value:function r(){return this.getFilesWithStatus(t.UPLOADING)}},{key:"getAddedFiles",value:function r(){return this.getFilesWithStatus(t.ADDED)}},{key:"getActiveFiles",value:function r(){return this.files.filter((function(r){return r.status===t.UPLOADING||r.status===t.QUEUED})).map((function(r){return r}))}},{key:"init",value:function r(){var e=this;if(this.element.tagName==="form"){this.element.setAttribute("enctype","multipart/form-data")}if(this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")){this.element.appendChild(t.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>")))}if(this.clickableElements.length){var n=function r(){if(e.hiddenFileInput){e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput)}e.hiddenFileInput=document.createElement("input");e.hiddenFileInput.setAttribute("type","file");if(e.options.maxFiles===null||e.options.maxFiles>1){e.hiddenFileInput.setAttribute("multiple","multiple")}e.hiddenFileInput.className="dz-hidden-input";if(e.options.acceptedFiles!==null){e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles)}if(e.options.capture!==null){e.hiddenFileInput.setAttribute("capture",e.options.capture)}e.hiddenFileInput.setAttribute("tabindex","-1");e.hiddenFileInput.style.visibility="hidden";e.hiddenFileInput.style.position="absolute";e.hiddenFileInput.style.top="0";e.hiddenFileInput.style.left="0";e.hiddenFileInput.style.height="0";e.hiddenFileInput.style.width="0";t.getElement(e.options.hiddenInputContainer,"hiddenInputContainer").appendChild(e.hiddenFileInput);e.hiddenFileInput.addEventListener("change",(function(){var t=e.hiddenFileInput.files;if(t.length){var n=m(t,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;e.addFile(a)}}catch(r){n.e(r)}finally{n.f()}}e.emit("addedfiles",t);r()}))};n()}this.URL=window.URL!==null?window.URL:window.webkitURL;var i=m(this.events,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;this.on(o,this.options[o])}}catch(r){i.e(r)}finally{i.f()}this.on("uploadprogress",(function(){return e.updateTotalUploadProgress()}));this.on("removedfile",(function(){return e.updateTotalUploadProgress()}));this.on("canceled",(function(r){return e.emit("complete",r)}));this.on("complete",(function(r){if(e.getAddedFiles().length===0&&e.getUploadingFiles().length===0&&e.getQueuedFiles().length===0){return setTimeout((function(){return e.emit("queuecomplete")}),0)}}));var u=function r(e){if(e.dataTransfer.types){for(var t=0;t<e.dataTransfer.types.length;t++){if(e.dataTransfer.types[t]==="Files")return true}}return false};var f=function r(e){if(!u(e))return;e.stopPropagation();if(e.preventDefault){return e.preventDefault()}else{return e.returnValue=false}};this.listeners=[{element:this.element,events:{dragstart:function r(t){e.emit("dragstart",t);return e},dragenter:function r(t){f(t);e.emit("dragenter",t);return e},dragover:function r(t){var n;try{n=t.dataTransfer.effectAllowed}catch(r){}t.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy";f(t);e.emit("dragover",t);return e},dragleave:function r(t){e.emit("dragleave",t);return e},drop:function r(t){f(t);e.drop(t);return e},dragend:function r(t){e.emit("dragend",t);return e}}}];this.clickableElements.forEach((function(r){return e.listeners.push({element:r,events:{click:function n(i){if(r!==e.element||i.target===e.element||t.elementInside(i.target,e.element.querySelector(".dz-message"))){e.hiddenFileInput.click()}return true}}})}));this.enable();return this.options.init.call(this)}},{key:"destroy",value:function r(){this.disable();this.removeAllFiles(true);if(this.hiddenFileInput!=null?this.hiddenFileInput.parentNode:undefined){this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput);this.hiddenFileInput=null}delete this.element.dropzone;return t.instances.splice(t.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function r(){var e;var t=0;var n=0;var i=this.getActiveFiles();if(i.length){var a=m(this.getActiveFiles(),true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;t+=u.upload.bytesSent;n+=u.upload.total}}catch(r){a.e(r)}finally{a.f()}e=100*t/n}else{e=100}this.emit("totaluploadprogress",e,n,t);return this}},{key:"_getParamName",value:function r(e){if(typeof this.options.paramName==="function"){return this.options.paramName(e)}else{return"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(e,"]"):"")}}},{key:"_renameFile",value:function r(e){if(typeof this.options.renameFile!=="function"){return e.name}return this.options.renameFile(e)}},{key:"getFallbackForm",value:function r(){var e,n;if(e=this.getExistingFallback()){return e}var i='<div class="dz-fallback">';if(this.options.dictFallbackText){i+="<p>".concat(this.options.dictFallbackText,"</p>")}i+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':undefined,' /><input type="submit" value="Upload!"></div>');var a=t.createElement(i);if(this.element.tagName!=="FORM"){n=t.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'));n.appendChild(a)}else{this.element.setAttribute("enctype","multipart/form-data");this.element.setAttribute("method",this.options.method)}return n!=null?n:a}},{key:"getExistingFallback",value:function r(){var e=function r(e){var t=m(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(/(^| )fallback($| )/.test(i.className)){return i}}}catch(r){t.e(r)}finally{t.f()}};for(var t=0,n=["div","form"];t<n.length;t++){var i=n[t];var a;if(a=e(this.element.getElementsByTagName(i))){return a}}}},{key:"setupEventListeners",value:function r(){return this.listeners.map((function(r){return function(){var e=[];for(var t in r.events){var n=r.events[t];e.push(r.element.addEventListener(t,n,false))}return e}()}))}},{key:"removeEventListeners",value:function r(){return this.listeners.map((function(r){return function(){var e=[];for(var t in r.events){var n=r.events[t];e.push(r.element.removeEventListener(t,n,false))}return e}()}))}},{key:"disable",value:function r(){var e=this;this.clickableElements.forEach((function(r){return r.classList.remove("dz-clickable")}));this.removeEventListeners();this.disabled=true;return this.files.map((function(r){return e.cancelUpload(r)}))}},{key:"enable",value:function r(){delete this.disabled;this.clickableElements.forEach((function(r){return r.classList.add("dz-clickable")}));return this.setupEventListeners()}},{key:"filesize",value:function r(e){var t=0;var n="b";if(e>0){var i=["tb","gb","mb","kb","b"];for(var a=0;a<i.length;a++){var o=i[a];var u=Math.pow(this.options.filesizeBase,4-a)/10;if(e>=u){t=e/Math.pow(this.options.filesizeBase,4-a);n=o;break}}t=Math.round(10*t)/10}return"<strong>".concat(t,"</strong> ").concat(this.options.dictFileSizeUnits[n])}},{key:"_updateMaxFilesReachedClass",value:function r(){if(this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles){if(this.getAcceptedFiles().length===this.options.maxFiles){this.emit("maxfilesreached",this.files)}return this.element.classList.add("dz-max-files-reached")}else{return this.element.classList.remove("dz-max-files-reached")}}},{key:"drop",value:function r(e){if(!e.dataTransfer){return}this.emit("drop",e);var t=[];for(var n=0;n<e.dataTransfer.files.length;n++){t[n]=e.dataTransfer.files[n]}if(t.length){var i=e.dataTransfer.items;if(i&&i.length&&i[0].webkitGetAsEntry!=null){this._addFilesFromItems(i)}else{this.handleFiles(t)}}this.emit("addedfiles",t)}},{key:"paste",value:function r(e){if(L(e!=null?e.clipboardData:undefined,(function(r){return r.items}))==null){return}this.emit("paste",e);var t=e.clipboardData.items;if(t.length){return this._addFilesFromItems(t)}}},{key:"handleFiles",value:function r(e){var t=m(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;this.addFile(i)}}catch(r){t.e(r)}finally{t.f()}}},{key:"_addFilesFromItems",value:function r(e){var t=this;return function(){var r=[];var n=m(e,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;var o;if(a.webkitGetAsEntry!=null&&(o=a.webkitGetAsEntry())){if(o.isFile){r.push(t.addFile(a.getAsFile()))}else if(o.isDirectory){r.push(t._addFilesFromDirectory(o,o.name))}else{r.push(undefined)}}else if(a.getAsFile!=null){if(a.kind==null||a.kind==="file"){r.push(t.addFile(a.getAsFile()))}else{r.push(undefined)}}else{r.push(undefined)}}}catch(r){n.e(r)}finally{n.f()}return r}()}},{key:"_addFilesFromDirectory",value:function r(e,t){var n=this;var i=e.createReader();var a=function r(e){return B(console,"log",(function(r){return r.log(e)}))};var o=function r(){return i.readEntries((function(e){if(e.length>0){var i=m(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.isFile){o.file((function(r){if(n.options.ignoreHiddenFiles&&r.name.substring(0,1)==="."){return}r.fullPath="".concat(t,"/").concat(r.name);return n.addFile(r)}))}else if(o.isDirectory){n._addFilesFromDirectory(o,"".concat(t,"/").concat(o.name))}}}catch(r){i.e(r)}finally{i.f()}r()}return null}),a)};return o()}},{key:"accept",value:function r(e,n){if(this.options.maxFilesize&&e.size>this.options.maxFilesize*1024*1024){n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize))}else if(!t.isValidFile(e,this.options.acceptedFiles)){n(this.options.dictInvalidFileType)}else if(this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles){n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles));this.emit("maxfilesexceeded",e)}else{this.options.accept.call(this,e,n)}}},{key:"addFile",value:function r(e){var n=this;e.upload={uuid:t.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e)};this.files.push(e);e.status=t.ADDED;this.emit("addedfile",e);this._enqueueThumbnail(e);this.accept(e,(function(r){if(r){e.accepted=false;n._errorProcessing([e],r)}else{e.accepted=true;if(n.options.autoQueue){n.enqueueFile(e)}}n._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function r(e){var t=m(e,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;this.enqueueFile(i)}}catch(r){t.e(r)}finally{t.f()}return null}},{key:"enqueueFile",value:function r(e){var n=this;if(e.status===t.ADDED&&e.accepted===true){e.status=t.QUEUED;if(this.options.autoProcessQueue){return setTimeout((function(){return n.processQueue()}),0)}}else{throw new Error("This file can't be queued because it has already been processed or was rejected.")}}},{key:"_enqueueThumbnail",value:function r(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=this.options.maxThumbnailFilesize*1024*1024){this._thumbnailQueue.push(e);return setTimeout((function(){return t._processThumbnailQueue()}),0)}}},{key:"_processThumbnailQueue",value:function r(){var e=this;if(this._processingThumbnail||this._thumbnailQueue.length===0){return}this._processingThumbnail=true;var t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,true,(function(r){e.emit("thumbnail",t,r);e._processingThumbnail=false;return e._processThumbnailQueue()}))}},{key:"removeFile",value:function r(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;if(!n){var i=this.emit("removefile",e);if(!i){return false}}if(e.status===t.UPLOADING){this.cancelUpload(e)}this.files=C(this.files,e);this.emit("removedfile",e,n);if(this.files.length===0){this.emit("reset")}return true}},{key:"removeAllFiles",value:function r(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;if(e==null){e=false}var i=m(this.files.slice(),true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.status!==t.UPLOADING||e){this.removeFile(o,n)}}}catch(r){i.e(r)}finally{i.f()}return null}},{key:"resizeImage",value:function r(e,n,i,a,o){var u=this;return this.createThumbnail(e,n,i,a,true,(function(r,n){if(n==null){return o(e)}else{var i=u.options.resizeMimeType;if(i==null){i=e.type}var a=n.toDataURL(i,u.options.resizeQuality);if(i==="image/jpeg"||i==="image/jpg"){a=O.restore(e.dataURL,a)}return o(t.dataURItoBlob(a))}}))}},{key:"createThumbnail",value:function r(e,t,n,i,a,o){var u=this;var f=new FileReader;f.onload=function(){e.dataURL=f.result;if(e.type==="image/svg+xml"){if(o!=null){o(f.result)}return}u.createThumbnailFromUrl(e,t,n,i,a,o)};f.readAsDataURL(e)}},{key:"displayExistingFile",value:function r(e,t,n,i){var a=this;var o=arguments.length>4&&arguments[4]!==undefined?arguments[4]:true;this.emit("addedfile",e);this.emit("complete",e);if(!o){this.emit("thumbnail",e,t);if(n)n()}else{var u=function r(t){a.emit("thumbnail",e,t);if(n)n()};e.dataURL=t;this.createThumbnailFromUrl(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,u,i)}}},{key:"createThumbnailFromUrl",value:function r(e,t,n,i,a,o,u){var f=this;var s=document.createElement("img");if(u){s.crossOrigin=u}a=getComputedStyle(document.body)["imageOrientation"]=="from-image"?false:a;s.onload=function(){var r=function r(e){return e(1)};if(typeof EXIF!=="undefined"&&EXIF!==null&&a){r=function r(e){return EXIF.getData(s,(function(){return e(EXIF.getTag(this,"Orientation"))}))}}return r((function(r){e.width=s.width;e.height=s.height;var a=f.options.resize.call(f,e,t,n,i);var u=document.createElement("canvas");var v=u.getContext("2d");u.width=a.trgWidth;u.height=a.trgHeight;if(r>4){u.width=a.trgHeight;u.height=a.trgWidth}switch(r){case 2:v.translate(u.width,0);v.scale(-1,1);break;case 3:v.translate(u.width,u.height);v.rotate(Math.PI);break;case 4:v.translate(0,u.height);v.scale(1,-1);break;case 5:v.rotate(.5*Math.PI);v.scale(1,-1);break;case 6:v.rotate(.5*Math.PI);v.translate(0,-u.width);break;case 7:v.rotate(.5*Math.PI);v.translate(u.height,-u.width);v.scale(-1,1);break;case 8:v.rotate(-.5*Math.PI);v.translate(-u.height,0);break}U(v,s,a.srcX!=null?a.srcX:0,a.srcY!=null?a.srcY:0,a.srcWidth,a.srcHeight,a.trgX!=null?a.trgX:0,a.trgY!=null?a.trgY:0,a.trgWidth,a.trgHeight);var l=u.toDataURL("image/png");if(o!=null){return o(l,u)}}))};if(o!=null){s.onerror=o}return s.src=e.dataURL}},{key:"processQueue",value:function r(){var e=this.options.parallelUploads;var t=this.getUploadingFiles().length;var n=t;if(t>=e){return}var i=this.getQueuedFiles();if(!(i.length>0)){return}if(this.options.uploadMultiple){return this.processFiles(i.slice(0,e-t))}else{while(n<e){if(!i.length){return}this.processFile(i.shift());n++}}}},{key:"processFile",value:function r(e){return this.processFiles([e])}},{key:"processFiles",value:function r(e){var n=m(e,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a.processing=true;a.status=t.UPLOADING;this.emit("processing",a)}}catch(r){n.e(r)}finally{n.f()}if(this.options.uploadMultiple){this.emit("processingmultiple",e)}return this.uploadFiles(e)}},{key:"_getFilesWithXhr",value:function r(e){return this.files.filter((function(r){return r.xhr===e})).map((function(r){return r}))}},{key:"cancelUpload",value:function r(e){if(e.status===t.UPLOADING){var n=this._getFilesWithXhr(e.xhr);var i=m(n,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.status=t.CANCELED}}catch(r){i.e(r)}finally{i.f()}if(typeof e.xhr!=="undefined"){e.xhr.abort()}var u=m(n,true),f;try{for(u.s();!(f=u.n()).done;){var s=f.value;this.emit("canceled",s)}}catch(r){u.e(r)}finally{u.f()}if(this.options.uploadMultiple){this.emit("canceledmultiple",n)}}else if(e.status===t.ADDED||e.status===t.QUEUED){e.status=t.CANCELED;this.emit("canceled",e);if(this.options.uploadMultiple){this.emit("canceledmultiple",[e])}}if(this.options.autoProcessQueue){return this.processQueue()}}},{key:"resolveOption",value:function r(e){if(typeof e==="function"){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++){n[i-1]=arguments[i]}return e.apply(this,n)}return e}},{key:"uploadFile",value:function r(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function r(e){var n=this;this._transformFiles(e,(function(r){if(n.options.chunking){var i=r[0];e[0].upload.chunked=n.options.chunking&&(n.options.forceChunking||i.size>n.options.chunkSize);e[0].upload.totalChunkCount=Math.ceil(i.size/n.options.chunkSize)}if(e[0].upload.chunked){var a=e[0];var o=r[0];a.upload.chunks=[];var u=function r(){var i=0;while(a.upload.chunks[i]!==undefined){i++}if(i>=a.upload.totalChunkCount)return;var u=i*n.options.chunkSize;var f=Math.min(u+n.options.chunkSize,o.size);var s={name:n._getParamName(0),data:o.webkitSlice?o.webkitSlice(u,f):o.slice(u,f),filename:a.upload.filename,chunkIndex:i};a.upload.chunks[i]={file:a,index:i,dataBlock:s,status:t.UPLOADING,progress:0,retries:0};n._uploadData(e,[s])};a.upload.finishedChunkUpload=function(r,i){var o=true;r.status=t.SUCCESS;r.dataBlock=null;r.xhr=null;for(var f=0;f<a.upload.totalChunkCount;f++){if(a.upload.chunks[f]===undefined){return u()}if(a.upload.chunks[f].status!==t.SUCCESS){o=false}}if(o){n.options.chunksUploaded(a,(function(){n._finished(e,i,null)}))}};if(n.options.parallelChunkUploads){for(var f=0;f<a.upload.totalChunkCount;f++){u()}}else{u()}}else{var s=[];for(var v=0;v<e.length;v++){s[v]={name:n._getParamName(v),data:r[v],filename:e[v].upload.filename}}n._uploadData(e,s)}}))}},{key:"_getChunk",value:function r(e,t){for(var n=0;n<e.upload.totalChunkCount;n++){if(e.upload.chunks[n]!==undefined&&e.upload.chunks[n].xhr===t){return e.upload.chunks[n]}}}},{key:"_uploadData",value:function r(e,n){var i=this;var a=new XMLHttpRequest;var o=m(e,true),u;try{for(o.s();!(u=o.n()).done;){var f=u.value;f.xhr=a}}catch(r){o.e(r)}finally{o.f()}if(e[0].upload.chunked){e[0].upload.chunks[n[0].chunkIndex].xhr=a}var s=this.resolveOption(this.options.method,e);var v=this.resolveOption(this.options.url,e);a.open(s,v,true);var l=this.resolveOption(this.options.timeout,e);if(l)a.timeout=this.resolveOption(this.options.timeout,e);a.withCredentials=!!this.options.withCredentials;a.onload=function(r){i._finishedUploading(e,a,r)};a.ontimeout=function(){i._handleUploadError(e,a,"Request timedout after ".concat(i.options.timeout/1e3," seconds"))};a.onerror=function(){i._handleUploadError(e,a)};var c=a.upload!=null?a.upload:a;c.onprogress=function(r){return i._updateFilesUploadProgress(e,a,r)};var h={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};if(this.options.headers){t.extend(h,this.options.headers)}for(var d in h){var p=h[d];if(p){a.setRequestHeader(d,p)}}var y=new FormData;if(this.options.params){var g=this.options.params;if(typeof g==="function"){g=g.call(this,e,a,e[0].upload.chunked?this._getChunk(e[0],a):null)}for(var b in g){var z=g[b];if(Array.isArray(z)){for(var w=0;w<z.length;w++){y.append(b,z[w])}}else{y.append(b,z)}}}var A=m(e,true),x;try{for(A.s();!(x=A.n()).done;){var _=x.value;this.emit("sending",_,a,y)}}catch(r){A.e(r)}finally{A.f()}if(this.options.uploadMultiple){this.emit("sendingmultiple",e,a,y)}this._addFormElementData(y);for(var k=0;k<n.length;k++){var S=n[k];y.append(S.name,S.data,S.filename)}this.submitRequest(a,y,e)}},{key:"_transformFiles",value:function r(e,t){var n=this;var i=[];var a=0;var o=function r(o){n.options.transformFile.call(n,e[o],(function(r){i[o]=r;if(++a===e.length){t(i)}}))};for(var u=0;u<e.length;u++){o(u)}}},{key:"_addFormElementData",value:function r(e){if(this.element.tagName==="FORM"){var t=m(this.element.querySelectorAll("input, textarea, select, button"),true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;var a=i.getAttribute("name");var o=i.getAttribute("type");if(o)o=o.toLowerCase();if(typeof a==="undefined"||a===null)continue;if(i.tagName==="SELECT"&&i.hasAttribute("multiple")){var u=m(i.options,true),f;try{for(u.s();!(f=u.n()).done;){var s=f.value;if(s.selected){e.append(a,s.value)}}}catch(r){u.e(r)}finally{u.f()}}else if(!o||o!=="checkbox"&&o!=="radio"||i.checked){e.append(a,i.value)}}}catch(r){t.e(r)}finally{t.f()}}}},{key:"_updateFilesUploadProgress",value:function r(e,t,n){if(!e[0].upload.chunked){var i=m(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.upload.total&&o.upload.bytesSent&&o.upload.bytesSent==o.upload.total){continue}if(n){o.upload.progress=100*n.loaded/n.total;o.upload.total=n.total;o.upload.bytesSent=n.loaded}else{o.upload.progress=100;o.upload.bytesSent=o.upload.total}this.emit("uploadprogress",o,o.upload.progress,o.upload.bytesSent)}}catch(r){i.e(r)}finally{i.f()}}else{var u=e[0];var f=this._getChunk(u,t);if(n){f.progress=100*n.loaded/n.total;f.total=n.total;f.bytesSent=n.loaded}else{f.progress=100;f.bytesSent=f.total}u.upload.progress=0;u.upload.total=0;u.upload.bytesSent=0;for(var s=0;s<u.upload.totalChunkCount;s++){if(u.upload.chunks[s]&&typeof u.upload.chunks[s].progress!=="undefined"){u.upload.progress+=u.upload.chunks[s].progress;u.upload.total+=u.upload.chunks[s].total;u.upload.bytesSent+=u.upload.chunks[s].bytesSent}}u.upload.progress=u.upload.progress/u.upload.totalChunkCount;this.emit("uploadprogress",u,u.upload.progress,u.upload.bytesSent)}}},{key:"_finishedUploading",value:function r(e,n,i){var a;if(e[0].status===t.CANCELED){return}if(n.readyState!==4){return}if(n.responseType!=="arraybuffer"&&n.responseType!=="blob"){a=n.responseText;if(n.getResponseHeader("content-type")&&~n.getResponseHeader("content-type").indexOf("application/json")){try{a=JSON.parse(a)}catch(r){i=r;a="Invalid JSON response from server."}}}this._updateFilesUploadProgress(e,n);if(!(200<=n.status&&n.status<300)){this._handleUploadError(e,n,a)}else{if(e[0].upload.chunked){e[0].upload.finishedChunkUpload(this._getChunk(e[0],n),a)}else{this._finished(e,a,i)}}}},{key:"_handleUploadError",value:function r(e,n,i){if(e[0].status===t.CANCELED){return}if(e[0].upload.chunked&&this.options.retryChunks){var a=this._getChunk(e[0],n);if(a.retries++<this.options.retryChunksLimit){this._uploadData(e,[a.dataBlock]);return}else{console.warn("Retried this chunk too often. Giving up.")}}this._errorProcessing(e,i||this.options.dictResponseError.replace("{{statusCode}}",n.status),n)}},{key:"submitRequest",value:function r(e,t,n){if(e.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}e.send(t)}},{key:"_finished",value:function r(e,n,i){var a=m(e,true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;u.status=t.SUCCESS;this.emit("success",u,n,i);this.emit("complete",u)}}catch(r){a.e(r)}finally{a.f()}if(this.options.uploadMultiple){this.emit("successmultiple",e,n,i);this.emit("completemultiple",e)}if(this.options.autoProcessQueue){return this.processQueue()}}},{key:"_errorProcessing",value:function r(e,n,i){var a=m(e,true),o;try{for(a.s();!(o=a.n()).done;){var u=o.value;u.status=t.ERROR;this.emit("error",u,n,i);this.emit("complete",u)}}catch(r){a.e(r)}finally{a.f()}if(this.options.uploadMultiple){this.emit("errormultiple",e,n,i);this.emit("completemultiple",e)}if(this.options.autoProcessQueue){return this.processQueue()}}}],[{key:"initClass",value:function r(){this.prototype.Emitter=f;this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removefile","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"];this.prototype._thumbnailQueue=[];this.prototype._processingThumbnail=false}},{key:"extend",value:function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++){n[i-1]=arguments[i]}for(var a=0,o=n;a<o.length;a++){var u=o[a];for(var f in u){var s=u[f];e[f]=s}}return e}},{key:"uuidv4",value:function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(r){var e=Math.random()*16|0,t=r==="x"?e:e&3|8;return t.toString(16)}))}}]);return t}(f);T.initClass();T.version="dev";T.options={};T.optionsForElement=function(r){if(r.getAttribute("id")){return T.options[j(r.getAttribute("id"))]}else{return undefined}};T.instances=[];T.forElement=function(r){if(typeof r==="string"){r=document.querySelector(r)}if((r!=null?r.dropzone:undefined)==null){throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.")}return r.dropzone};T.autoDiscover=true;T.discover=function(){var r;if(document.querySelectorAll){r=document.querySelectorAll(".dropzone")}else{r=[];var e=function e(t){return function(){var e=[];var n=m(t,true),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;if(/(^| )dropzone($| )/.test(a.className)){e.push(r.push(a))}else{e.push(undefined)}}}catch(r){n.e(r)}finally{n.f()}return e}()};e(document.getElementsByTagName("div"));e(document.getElementsByTagName("form"))}return function(){var e=[];var t=m(r,true),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(T.optionsForElement(i)!==false){e.push(new T(i))}else{e.push(undefined)}}}catch(r){t.e(r)}finally{t.f()}return e}()};T.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i];T.isBrowserSupported=function(){var r=true;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector){if(!("classList"in document.createElement("a"))){r=false}else{if(T.blacklistedBrowsers!==undefined){T.blockedBrowsers=T.blacklistedBrowsers}var e=m(T.blockedBrowsers,true),t;try{for(e.s();!(t=e.n()).done;){var n=t.value;if(n.test(navigator.userAgent)){r=false;continue}}}catch(r){e.e(r)}finally{e.f()}}}else{r=false}return r};T.dataURItoBlob=function(r){var e=atob(r.split(",")[1]);var t=r.split(",")[0].split(":")[1].split(";")[0];var n=new ArrayBuffer(e.length);var i=new Uint8Array(n);for(var a=0,o=e.length,u=0<=o;u?a<=o:a>=o;u?a++:a--){i[a]=e.charCodeAt(a)}return new Blob([n],{type:t})};var C=function r(e,t){return e.filter((function(r){return r!==t})).map((function(r){return r}))};var j=function r(e){return e.replace(/[\-_](\w)/g,(function(r){return r.charAt(1).toUpperCase()}))};T.createElement=function(r){var e=document.createElement("div");e.innerHTML=r;return e.childNodes[0]};T.elementInside=function(r,e){if(r===e){return true}while(r=r.parentNode){if(r===e){return true}}return false};T.getElement=function(r,e){var t;if(typeof r==="string"){t=document.querySelector(r)}else if(r.nodeType!=null){t=r}if(t==null){throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector or a plain HTML element."))}return t};T.getElements=function(r,e){var t,n;if(r instanceof Array){n=[];try{var i=m(r,true),a;try{for(i.s();!(a=i.n()).done;){t=a.value;n.push(this.getElement(t,e))}}catch(r){i.e(r)}finally{i.f()}}catch(r){n=null}}else if(typeof r==="string"){n=[];var o=m(document.querySelectorAll(r),true),u;try{for(o.s();!(u=o.n()).done;){t=u.value;n.push(t)}}catch(r){o.e(r)}finally{o.f()}}else if(r.nodeType!=null){n=[r]}if(n==null||!n.length){throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."))}return n};T.confirm=function(r,e,t){if(window.confirm(r)){return e()}else if(t!=null){return t()}};T.isValidFile=function(r,e){if(!e){return true}e=e.split(",");var t=r.type;var n=t.replace(/\/.*$/,"");var i=m(e,true),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o=o.trim();if(o.charAt(0)==="."){if(r.name.toLowerCase().indexOf(o.toLowerCase(),r.name.length-o.length)!==-1){return true}}else if(/\/\*$/.test(o)){if(n===o.replace(/\/.*$/,"")){return true}}else{if(t===o){return true}}}}catch(r){i.e(r)}finally{i.f()}return false};if(typeof jQuery!=="undefined"&&jQuery!==null){jQuery.fn.dropzone=function(r){return this.each((function(){return new T(this,r)}))}}T.ADDED="added";T.QUEUED="queued";T.ACCEPTED=T.QUEUED;T.UPLOADING="uploading";T.PROCESSING=T.UPLOADING;T.CANCELED="canceled";T.ERROR="error";T.SUCCESS="success";var M=function r(e){var t=e.naturalHeight;var n=document.createElement("canvas");n.width=1;n.height=t;var i=n.getContext("2d");i.drawImage(e,0,0);var a=i.getImageData(1,0,1,t),o=a.data;var u=0;var f=t;var s=t;while(s>u){var v=o[(s-1)*4+3];if(v===0){f=s}else{u=s}s=f+u>>1}var l=s/t;if(l===0){return 1}else{return l}};var U=function r(e,t,n,i,a,o,u,f,s,v){var l=M(t);return e.drawImage(t,n,i,a,o,u,f,s,v/l)};var O=function(){function r(){z(this,r)}A(r,null,[{key:"initClass",value:function r(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function r(e){var t="";var n=undefined;var i=undefined;var a="";var o=undefined;var u=undefined;var f=undefined;var s="";var v=0;while(true){n=e[v++];i=e[v++];a=e[v++];o=n>>2;u=(n&3)<<4|i>>4;f=(i&15)<<2|a>>6;s=a&63;if(isNaN(i)){f=s=64}else if(isNaN(a)){s=64}t=t+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(u)+this.KEY_STR.charAt(f)+this.KEY_STR.charAt(s);n=i=a="";o=u=f=s="";if(!(v<e.length)){break}}return t}},{key:"restore",value:function r(e,t){if(!e.match("data:image/jpeg;base64,")){return t}var n=this.decode64(e.replace("data:image/jpeg;base64,",""));var i=this.slice2Segments(n);var a=this.exifManipulation(t,i);return"data:image/jpeg;base64,".concat(this.encode64(a))}},{key:"exifManipulation",value:function r(e,t){var n=this.getExifArray(t);var i=this.insertExif(e,n);var a=new Uint8Array(i);return a}},{key:"getExifArray",value:function r(e){var t=undefined;var n=0;while(n<e.length){t=e[n];if(t[0]===255&t[1]===225){return t}n++}return[]}},{key:"insertExif",value:function r(e,t){var n=e.replace("data:image/jpeg;base64,","");var i=this.decode64(n);var a=i.indexOf(255,3);var o=i.slice(0,a);var u=i.slice(a);var f=o;f=f.concat(t);f=f.concat(u);return f}},{key:"slice2Segments",value:function r(e){var t=0;var n=[];while(true){var i;if(e[t]===255&e[t+1]===218){break}if(e[t]===255&e[t+1]===216){t+=2}else{i=e[t+2]*256+e[t+3];var a=t+i+2;var o=e.slice(t,a);n.push(o);t=a}if(t>e.length){break}}return n}},{key:"decode64",value:function r(e){var t=undefined;var n=undefined;var i="";var a=undefined;var o=undefined;var u=undefined;var f="";var s=0;var v=[];var l=/[^A-Za-z0-9\+\/\=]/g;if(l.exec(e)){console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding.")}e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(true){a=this.KEY_STR.indexOf(e.charAt(s++));o=this.KEY_STR.indexOf(e.charAt(s++));u=this.KEY_STR.indexOf(e.charAt(s++));f=this.KEY_STR.indexOf(e.charAt(s++));t=a<<2|o>>4;n=(o&15)<<4|u>>2;i=(u&3)<<6|f;v.push(t);if(u!==64){v.push(n)}if(f!==64){v.push(i)}t=n=i="";a=o=u=f="";if(!(s<e.length)){break}}return v}}]);return r}();O.initClass();var I=function r(e,t){var n=false;var i=true;var a=e.document;var o=a.documentElement;var u=a.addEventListener?"addEventListener":"attachEvent";var f=a.addEventListener?"removeEventListener":"detachEvent";var s=a.addEventListener?"":"on";var v=function r(i){if(i.type==="readystatechange"&&a.readyState!=="complete"){return}(i.type==="load"?e:a)[f](s+i.type,r,false);if(!n&&(n=true)){return t.call(e,i.type||i)}};var l=function r(){try{o.doScroll("left")}catch(e){setTimeout(r,50);return}return v("poll")};if(a.readyState!=="complete"){if(a.createEventObject&&o.doScroll){try{i=!e.frameElement}catch(r){}if(i){l()}}a[u](s+"DOMContentLoaded",v,false);a[u](s+"readystatechange",v,false);return e[u](s+"load",v,false)}};T._autoDiscoverFunction=function(){if(T.autoDiscover){return T.discover()}};I(window,T._autoDiscoverFunction);function L(r,e){return typeof r!=="undefined"&&r!==null?e(r):undefined}function B(r,e,t){if(typeof r!=="undefined"&&r!==null&&typeof r[e]==="function"){return t(r,e)}else{return undefined}}window.Dropzone=T;var P=T}();return n}()}));const s=":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}stzh-upload[hidden]{display:none}stzh-upload *,stzh-upload *::before,stzh-upload *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;position:relative;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;}.stzh-upload__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__marker-text{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-upload__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-upload__error,.stzh-upload__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-upload__error{color:var(--stzh-color-error)}.stzh-upload__error-list{list-style:none;margin:0;padding:0}.stzh-upload__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-upload__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-upload__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-upload__description-long-popover[open]:not([open=false]) .stzh-upload__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__description-long-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-upload__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload stzh-icon.stzh-upload__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-xxsmall)}.stzh-upload__label{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__label{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-upload__clickarea{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);padding:var(--stzh-space-xxlarge);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center;border:0.0625rem solid var(--stzh-base-border-color);border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD4SURBVHgB7dlBCoMwEAXQSXqBHsUj9ChWdK2eoN6gdi/W3shjtLssWxDTmZKFFGqhphDhPxBDIOEbJAyMIpYkSay1PvJwSxPjOO7btu1oBq8t3NqPFuxj+Dk1TVOpNE0PwzBcZLLrOkMBieNYDm7LH7DTPCgowJDCZTKvk+YTtRQ4yahpJRDUNwlaUuDkeiMAAFhGalEKXJZlOVdQ+kyBs9bWKEp8Q1DfENQ3VPg+ocIHAPAAFb5HqPD/YVVBjes+BMllM5soim78s175TX3f3ykgk/bNQ8kEdx0qDpsrpd5PtuRmVD23mWumfbs5ftqHMxl+SmmmPQHYcmyn56UnaQAAAABJRU5ErkJggg==');border-image-slice:12;border-image-width:0.75rem;border-image-repeat:round;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 1024px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxxlarge)}}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIpSURBVHgB7d3BbeJAFMbxsYXFlRLYDtgKllIsC0vcEiqIU8EmB04glu2EdEAHYTvgbgv2vawdcdokni/ikP9Pwp6YyB59YCcej/SS0MrzfDQYDG6sOW1fb2qa5tt2uz2ECHbcsR33OQhcoT/70+n0uNlstt2G9LWRprmtqvCOMM/n89FWi9jOu3Yf9yHCFfszsdx+zWaz225D4ouyLG9Wq9WjfzpZlo3quj7Yjo8B/2VBTpMkOVp2e8/QcvudFEWRe8r2xnd/I+DDLi4T95Zl6tdNP21GAX112f3wa+jEW+v1ehfQ16FdT9OAaJd/bwhUjEDFCFSMQMUIVIxAxQhU5+Vfpy7QqMEJhGCjTv8ynM/n4wAJv6cPAAAAAAAAAPBVMCiq44P1qc8au5zfiH4sw7umaZ67Z0p3AbEqX3SBMpVRhMfIYgQqRqBiBCpGoGIEKkagYgQqRqBiBCpGoGIEKkagYgSqwxx7JebYfwIeJwEAAAAAAAD4UhgU1WGOvRBz7PUqXzDHXozHyGIEKkagYgQqRqBiBCr2GqhXqwmI5oHuvJFl2TigFy+y0jb3HuiTt+q6pjpNT3bL+ZKd11Ya2A8Pdj9/9DpCZVlOvMgKdUHe5pdIP6v9i2jZ7e1buvBCVUn3C0VR3KZp+vMD+6wseMm8Uq9FZB9kFeJuga/Zn4Ud+8EbyeXWtraSlwOavGcvw+FwvFwu/4QIyhJqV+jPzl5PfpZ3BVb+AjID1CfgWYnZAAAAAElFTkSuQmCC');border-image-slice:24}}.stzh-upload__button{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__button{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-upload__button{margin-top:var(--stzh-space-large)}}.stzh-upload stzh-icon.stzh-upload__delete-icon-error{display:none}.stzh-upload__preview{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border:0.0625rem solid var(--stzh-base-border-color);border-bottom:none;padding:var(--stzh-space-xsmall);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-small)}.stzh-upload__preview:not(.dz-error):last-child,.stzh-upload__errors:last-child .stzh-upload__preview:last-child{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-upload__errors .stzh-upload__preview:first-child,.stzh-upload__errors:empty+.stzh-upload__preview{border-top-left-radius:var(--stzh-button-border-radius);border-top-right-radius:var(--stzh-button-border-radius)}.stzh-upload__preview:last-child{border-bottom-left-radius:var(--stzh-button-border-radius);border-bottom-right-radius:var(--stzh-button-border-radius)}.stzh-upload:has(>.stzh-upload__preview) .stzh-upload__errors .stzh-upload__preview:last-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.stzh-upload__preview.dz-error .stzh-upload__title{color:var(--stzh-color-error)}.stzh-upload__preview.dz-error .stzh-upload__error-message{display:block}.stzh-upload__preview.dz-error .stzh-upload__meta,.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon{display:none}.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon-error{display:-ms-inline-flexbox;display:inline-flex}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-processing{display:none}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete{display:-ms-flexbox;display:flex}.stzh-upload__preview.dz-empty .stzh-upload__extension::after{content:\"\"}.stzh-upload__preview.dz-empty .stzh-upload__size{display:none}.stzh-upload__details{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;overflow:hidden}.stzh-upload__info-wrapper-processing,.stzh-upload__info-wrapper-complete{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.stzh-upload__info-wrapper-complete{display:none}.stzh-upload__actions{-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-upload__infos{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:var(--stzh-space-xxsmall)}.stzh-upload__title,.stzh-upload__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-upload__title{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__link[href]{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__link[href]:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload__meta{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em}.stzh-upload__size strong{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__image{display:none}.stzh-upload__progress{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--stzh-color-grey13)}.stzh-upload__progress-bar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__progress-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}.stzh-upload__extension{text-transform:uppercase}.stzh-upload__extension::after{content:\" | \"}.stzh-upload__download,.stzh-upload__delete{margin-left:var(--stzh-space-xsmall)}.stzh-upload__download[variant=tertiary][icon-only],.stzh-upload__delete[variant=tertiary][icon-only]{--color:var(--stzh-color-grey70)}.stzh-upload__download[variant=tertiary]{display:none}.stzh-upload__download[variant=tertiary][href]{display:-ms-flexbox;display:flex}.stzh-upload__error-message{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;color:var(--stzh-color-error);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);display:none}.stzh-upload.dz-started .stzh-upload__errors{margin-top:var(--stzh-space-small)}.stzh-upload:has(.stzh-upload__preview) .stzh-upload__errors{margin-top:var(--stzh-space-small)}.stzh-upload.dz-drag-hover .stzh-upload__clickarea{background-color:var(--stzh-color-primary4)}.stzh-upload.dz-drag-hover .stzh-upload__button{--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD/SURBVHgB7dlBasJAFAbg/71supy16aI9Qm7Qo7QnsDlBvUHrCdqeKPUEXbUunY0gCPOcMQgimIWOMOL/bRJC8vgJITz4BVFX1c9ieI+nDnss4KXB3xcGdKhfRbfPHnXGHG+waRP+JzLT0VsI4RtY+QbeoyAdXHxxdw5V9SQ/Wi8sLB9LC7nT4cGJrn8RgxoKlzIqrgSD5qbxA21RuPR7AxERnSftoijcTO/H3J5yY9DcGDQ3Bs2NGz4R0a3ghp8RN/xLuKqgvm8fypTKhnjwGleoNlUkJYbtM62cQaayvaCjiZiMIQeFGELbhPnH4LC+TPscuufkORYLMUObyrQNlY5lla7HUdEAAAAASUVORK5CYII=')}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIwSURBVHgB7d1NUhNBGIfxf3dKrdJNNlaJYTFu3Zg5gTlKbjByAuAEwgn0KHKCTk4gLhCrXJiFKy3mdXomCeoCQuYFFjy/DZOhauh6CGE+uqqDlpKGwxifVmZhoqCJNmD1xatS307VQ9KLIsTBZzm48/GYZhZ1XF6cfVztipfffTY1hYONYpoWJu31HXyWj9H83EP1cV/jCRoH04eknXf/7J/HnSp/zb+dpNE4v1uFayXtTnKvvD2Pu1XuFtJgNM2Vrf5Vlvo+E25s9TFhssPYxKy63U94V25t0LYLFt6GWRxZfjGuz4KwlaRiGOLvH3k7Cr2VOl2stgnqjKDOCOqMoM4I6oygzgjqpz11aoP2vjmB5k6XuobNWX4huMjX9AIAAAAAAACAh4Kbon5yy5hnjaX43/xG3Ng8vtzPLdtnSkFxX+ilnaysy6eeTGV0wmNkZwR1RlBnBHVGUGcEdUZQZwR1RlBnBHVGUGcEdUZQZwT1wxx7T8yxvwU8TgIAAAAAAADwoHBT1A9z7B0xx94Zc+xvCY+RnRHUGUGdEdQZQZ0R1Nk6KOt/+IjNGemnbvNRIWylueSctBtms2jBTrrdg4Wwpa6dWThu17FIcdReyyc9H69r40r5I3LZq2hfLxuuF1TJO5oX7zc9YJAdvKm/uswrzWsRWXM89bgEvs/xmOq9sj4/6sbxl6TRNARVeSWrTQ70uK6L1zr/oh48l1C78/E0/38shBPVP49KLdo/+z+8SbPi8H5KCQAAAABJRU5ErkJggg==')}}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-small)}.stzh-upload--is-disabled .stzh-upload__clickarea{cursor:not-allowed;background-color:var(--stzh-color-black8)}";window.Dropzone.autoDiscover=false;const v="data-dz-name";const l="data-dz-type";const c="data-dz-size";const h="data-dz-link";const d="data-dz-extension";const p="data-dz-progress-text";let y=0;const m=class{constructor(t){r(this,t);this.stzhFileAdded=e(this,"stzhFileAdded",7);this.stzhFilesAdded=e(this,"stzhFilesAdded",7);this.stzhFileRemove=e(this,"stzhFileRemove",7);this.stzhFileRemoved=e(this,"stzhFileRemoved",7);this.stzhSending=e(this,"stzhSending",7);this.stzhSendingMultiple=e(this,"stzhSendingMultiple",7);this.stzhProcessing=e(this,"stzhProcessing",7);this.stzhProcessingMultiple=e(this,"stzhProcessingMultiple",7);this.stzhProgress=e(this,"stzhProgress",7);this.stzhProgressTotal=e(this,"stzhProgressTotal",7);this.stzhError=e(this,"stzhError",7);this.stzhErrorMultiple=e(this,"stzhErrorMultiple",7);this.stzhSuccess=e(this,"stzhSuccess",7);this.stzhSuccessMultiple=e(this,"stzhSuccessMultiple",7);this.stzhCanceled=e(this,"stzhCanceled",7);this.stzhCanceledMultiple=e(this,"stzhCanceledMultiple",7);this.stzhComplete=e(this,"stzhComplete",7);this.stzhCompleteMultiple=e(this,"stzhCompleteMultiple",7);this._existingFiles=[];this.filesize=function(r){let e=0;let t="b";if(r>0){let n=["tb","gb","mb","kb","b"];for(let i=0;i<n.length;i++){let a=n[i];let o=Math.pow(this.options.filesizeBase,4-i)/10;if(r>=o){e=r/Math.pow(this.options.filesizeBase,4-i);t=a;break}}e=Math.round(e*100)/100}return`<strong>${e}</strong> ${this.options.dictFileSizeUnits[t]}`};this.existingFiles=[];this.label="";this.description="";this.button="";this.url="";this.method="post";this.withCredentials=false;this.disabled=false;this.invalid=false;this.downloadDisabled=false;this.error=undefined;this.acceptedFiles=null;this.autoProcessQueue=true;this.maxFiles=null;this.maxFilesize=25;this.parallelUploads=2;this.uploadMultiple=false;this.chunking=false;this.forceChunking=false;this.chunkSize=2*1024*1024;this.parallelChunkUploads=false;this.retryChunks=false;this.retryChunksLimit=3;this.filesizeBase=1024;this.headers=null;this.defaultHeaders=true;this.accept=function(r,e){return e()};this.chunksUploaded=function(r,e){e()};this.hiddenInputContainer=undefined;this.localization=undefined}existingFilesWatcher(r){if(typeof r==="string"){this._existingFiles=JSON.parse(r)}else{this._existingFiles=r}}disabledWatcher(){if(!this.dropzone){return}if(this.disabled){this.dropzone.disable()}else{this.dropzone.enable()}}errorWatcher(r){if(typeof r==="string"){try{this._error=JSON.parse(r)}catch(e){if(r){this._error=[r]}else{this._error=[]}}}else if(r){this._error=r}else{this._error=[]}this.invalid=this._error.length>0}async processQueue(){return this.dropzone.processQueue()}async removeFile(r,e=false){return this.dropzone.removeFile(r,e)}async removeAllFiles(r=false,e=false){return this.dropzone.removeAllFiles(r,e)}async componentWillLoad(){this.uploadId=`stzh-upload-${y++}`;this.existingFilesWatcher(this.existingFiles);this.errorWatcher(this.error);if(!this.localization){this.localization=await u(this.element,"upload")}}componentDidRender(){if(this.dropzone){return}const r=this;this.dropzone=new window.Dropzone(this.dropzoneElement,{url:this.url,method:this.method,withCredentials:this.withCredentials,clickable:[this.clickareaElement],acceptedFiles:this.acceptedFiles,accept:this.accept,maxFiles:this.maxFiles,maxFilesize:this.maxFilesize,filesizeBase:this.filesizeBase,parallelUploads:this.parallelUploads,uploadMultiple:this.uploadMultiple,autoProcessQueue:this.autoProcessQueue,headers:this.headers,defaultHeaders:this.defaultHeaders,chunking:this.chunking,chunkSize:this.chunkSize,chunksUploaded:this.chunksUploaded,forceChunking:this.forceChunking,parallelChunkUploads:this.parallelChunkUploads,retryChunks:this.retryChunks,retryChunksLimit:this.retryChunksLimit,createImageThumbnails:false,hiddenInputContainer:this.hiddenInputContainer?this.hiddenInputContainer:this.hiddenInputContainerElement,dictFileSizeUnits:{tb:"TiB",gb:"GiB",mb:"MiB",kb:"KiB",b:"b"},dictRemoveFileConfirmation:null,dictMaxFilesExceeded:this.localization.maxFilesExceeded,dictRemoveFile:this.localization.removeFile,dictCancelUploadConfirmation:this.localization.cancelUploadConfirmation,dictUploadCanceled:this.localization.uploadCanceled,dictCancelUpload:this.localization.cancelUpload,dictResponseError:this.localization.responseError,dictInvalidFileType:this.localization.invalidFileType,dictFileTooBig:this.localization.fileTooBig,addedfile(e){if(this.element===this.previewsContainer){this.element.classList.add("dz-started")}if(this.previewsContainer&&!this.options.disablePreviews){e.previewElement=window.Dropzone.createElement(this.options.previewTemplate.trim());e.previewTemplate=e.previewElement;this.previewsContainer.appendChild(e.previewElement);if(!e.size){e.previewElement.classList.add("dz-empty")}for(var t of e.previewElement.querySelectorAll(`[${v}]`)){t.textContent=e.name}for(t of e.previewElement.querySelectorAll(`[${c}]`)){t.innerHTML=r.filesize.call(this,e.size)}if(this.options.addRemoveLinks){e._removeLink=window.Dropzone.createElement(`<a class="dz-remove" href="javascript:undefined;" data-dz-remove>\n ${this.options.dictRemoveFile}\n </a>`);e.previewElement.appendChild(e._removeLink)}let n=r=>{r.preventDefault();r.stopPropagation();if(e.status===window.Dropzone.UPLOADING){return window.Dropzone.confirm(this.options.dictCancelUploadConfirmation,(()=>this.removeFile(e)))}else{if(this.options.dictRemoveFileConfirmation){return window.Dropzone.confirm(this.options.dictRemoveFileConfirmation,(()=>this.removeFile(e)))}else{return this.removeFile(e)}}};for(let r of e.previewElement.querySelectorAll("[data-dz-remove]")){r.addEventListener("click",n);const t=a(r);r.setAttribute(t?"analytics-id":"s-object-id",`${this.options.dictRemoveFile} ${e.name}`)}}},complete(e){for(let r of e.previewElement.querySelectorAll("[data-dz-remove]")){r.setAttribute("title",this.options.dictRemoveFile);r.setAttribute("aria-label",this.options.dictRemoveFile)}if(e.status==="error"){r.errorsElement.appendChild(e.previewElement)}else{if(!r.downloadDisabled){let n=e.url||"";if(e.upload){n=URL.createObjectURL(e)}if(n){for(var t of e.previewElement.querySelectorAll(`[${h}]`)){t.setAttribute("href",n);t.setAttribute("download",e.name);const i=a(t);t.setAttribute(i?"analytics-id":"s-object-id",`${r.localization.download} ${e.name}`)}}}}if(e._removeLink){e._removeLink.innerHTML=this.options.dictRemoveFile}if(e.previewElement){return e.previewElement.classList.add("dz-complete")}},removedfile(e){if(e.previewElement!=null&&e.previewElement.parentNode!=null){e.previewElement.parentNode.removeChild(e.previewElement)}r.buttonElement.setFocus();return this._updateMaxFilesReachedClass()},error(e,t,n){if(e.previewElement){e.previewElement.classList.add("dz-error");if(typeof t!=="string"&&t.error){t=t.error}else if(n){if(n.status===401||n.status===403){t=r.localization.accessError}else if(n.status===413){t=r.localization.fileTooBigServer}else if(n.status===415){t=r.localization.invalidFileType}else if(n.status>=500){t=r.localization.serverError}else{const e=r.localization.responseError.replace("{{statusCode}}",n.status);t=e}}for(let r of e.previewElement.querySelectorAll("[data-dz-errormessage]")){r.textContent=t}}},previewTemplate:`\n <div class="stzh-upload__preview">\n <div class="stzh-upload__image">\n <img data-dz-thumbnail />\n </div>\n\n <div class="stzh-upload__details">\n <div class="stzh-upload__info-wrapper-processing">\n <div class="stzh-upload__infos">\n <div class="stzh-upload__subtitle">\n <span ${v}></span>\n </div>\n <div class="stzh-upload__progress-text">\n <span ${p}></span>\n </div>\n </div>\n <div class="stzh-upload__progress">\n <span class="stzh-upload__progress-bar" data-dz-uploadprogress></span>\n </div>\n </div>\n <div class="stzh-upload__info-wrapper-complete">\n <div class="stzh-upload__title">\n <a class="stzh-upload__link" ${v} ${h}></a>\n </div>\n <div class="stzh-upload__meta">\n <span class="stzh-upload__extension" ${d}></span>\n <span class="stzh-upload__size" ${c}></span>\n </div>\n <div class="stzh-upload__error-message">\n <span data-dz-errormessage></span>\n </div>\n </div>\n <div class="stzh-upload__actions">\n <stzh-button variant="tertiary" size="tiny" icon-only icon="download" class="stzh-upload__download" ${h} aria-label="${this.localization.download}" title="${this.localization.download}"></stzh-button>\n <stzh-button variant="tertiary" size="tiny" icon-only class="stzh-upload__delete" data-dz-remove aria-label="${this.localization.cancelUpload}" title="${this.localization.cancelUpload}">\n <stzh-icon slot="icon" class="stzh-upload__delete-icon" name="delete"></stzh-icon>\n <stzh-icon slot="icon" class="stzh-upload__delete-icon-error" name="close"></stzh-icon>\n </stzh-button>\n </div>\n </div>\n </div>\n `});this.disabledWatcher();this.dropzone.on("addedfile",(r=>this.stzhFileAdded.emit({component:"stzh-upload",file:r})));this.dropzone.on("addedfiles",(r=>this.stzhFilesAdded.emit({component:"stzh-upload",files:r})));this.dropzone.on("removefile",(r=>this.stzhFileRemove.emit({component:"stzh-upload",file:r}).defaultPrevented===false));this.dropzone.on("removedfile",((r,e)=>this.stzhFileRemoved.emit({component:"stzh-upload",file:r,force:e})));this.dropzone.on("sending",((r,e,t)=>this.stzhSending.emit({component:"stzh-upload",file:r,xhr:e,formData:t})));this.dropzone.on("sendingmultiple",((r,e,t)=>this.stzhSendingMultiple.emit({component:"stzh-upload",files:r,xhr:e,formData:t})));this.dropzone.on("processing",(r=>this.stzhProcessing.emit({component:"stzh-upload",file:r})));this.dropzone.on("processingmultiple",(r=>this.stzhProcessingMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("uploadprogress",((r,e,t)=>this.stzhProgress.emit({component:"stzh-upload",file:r,progress:e,bytesSent:t})));this.dropzone.on("totaluploadprogress",((r,e,t)=>this.stzhProgressTotal.emit({component:"stzh-upload",totalUploadProgress:r,totalBytes:e,totalBytesSent:t})));this.dropzone.on("error",((r,e,t)=>this.stzhError.emit({component:"stzh-upload",file:r,message:e,xhr:t})));this.dropzone.on("errormultiple",((r,e,t)=>this.stzhErrorMultiple.emit({component:"stzh-upload",files:r,message:e,xhr:t})));this.dropzone.on("success",((r,e,t)=>this.stzhSuccess.emit({component:"stzh-upload",file:r,responseText:e,event:t})));this.dropzone.on("successmultiple",((r,e,t)=>this.stzhSuccessMultiple.emit({component:"stzh-upload",files:r,responseText:e,event:t})));this.dropzone.on("canceled",(r=>this.stzhCanceled.emit({component:"stzh-upload",file:r})));this.dropzone.on("canceledmultiple",(r=>this.stzhCanceledMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("complete",(r=>this.stzhComplete.emit({component:"stzh-upload",file:r})));this.dropzone.on("completemultiple",(r=>this.stzhCompleteMultiple.emit({component:"stzh-upload",files:r})));this.dropzone.on("addedfile",(r=>{r.previewElement.querySelectorAll(`[${v}]`).forEach((e=>{e.setAttribute("title",r.name)}));r.previewElement.querySelectorAll(`[${l}]`).forEach((e=>{e.innerText=r.type}));r.previewElement.querySelectorAll(`[${d}]`).forEach((e=>{e.innerText=r.name.split(".").pop()}))}));this.dropzone.on("uploadprogress",((r,e)=>{r.previewElement.querySelectorAll(`[${p}]`).forEach((r=>{r.innerText=`${e.toString()}%`}))}));this._existingFiles.forEach((r=>{this.dropzone.displayExistingFile(r,null,null,null,null)}))}disconnectedCallback(){if(this.dropzone){this.dropzone.destroy();this.dropzone=null}}render(){const r=o(this.element,"error")||!!this.error;const e={"stzh-upload":true,"stzh-upload--is-invalid":this.invalid,"stzh-upload--is-disabled":this.disabled,"stzh-upload--has-error":r,"stzh-upload--has-instructions":!!this.description||!!this.localization.description};return t(n,null,t("div",{class:e,ref:r=>this.dropzoneElement=r},t("div",{ref:r=>this.hiddenInputContainerElement=r}),t("div",{id:`${this.uploadId}-label`},this.label&&t("div",{class:"stzh-upload__label"},this.label)),t("div",{class:"stzh-upload__clickarea",ref:r=>this.clickareaElement=r},t("div",{class:"stzh-upload__instructions",id:`${this.uploadId}-instruction`},this.description?this.description:this.localization.description),t("stzh-button",{size:"small",class:"stzh-upload__button",ref:r=>this.buttonElement=r,a11yDescribedby:`${this.uploadId}-label ${this.uploadId}-instruction ${this.uploadId}-description`,disabled:this.disabled},this.button?this.button:this.localization.button)),t(f,{classPrefix:"stzh-upload",id:`${this.uploadId}-description`,error:this._error}),t("div",{class:"stzh-upload__errors",ref:r=>this.errorsElement=r})))}get element(){return i(this)}static get watchers(){return{existingFiles:["existingFilesWatcher"],disabled:["disabledWatcher"],error:["errorWatcher"]}}};m.style=s;export{m as stzh_upload};
2
+ //# sourceMappingURL=p-2d25bcc8.entry.js.map