@digabi/exam-engine-core 16.2.3 → 16.4.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  2. package/dist/components/AttachmentContext.d.ts +14 -0
  3. package/dist/components/AttachmentContext.d.ts.map +1 -0
  4. package/dist/components/AttachmentContext.js +12 -0
  5. package/dist/components/AttachmentContext.js.map +1 -0
  6. package/dist/components/AttachmentLink.d.ts +5 -0
  7. package/dist/components/AttachmentLink.d.ts.map +1 -0
  8. package/dist/components/AttachmentLink.js +28 -0
  9. package/dist/components/AttachmentLink.js.map +1 -0
  10. package/dist/components/AttachmentLinkAnchor.d.ts +7 -0
  11. package/dist/components/AttachmentLinkAnchor.d.ts.map +1 -0
  12. package/dist/components/AttachmentLinkAnchor.js +4 -0
  13. package/dist/components/AttachmentLinkAnchor.js.map +1 -0
  14. package/dist/components/AttachmentLinks.d.ts +5 -0
  15. package/dist/components/AttachmentLinks.d.ts.map +1 -0
  16. package/dist/components/AttachmentLinks.js +62 -0
  17. package/dist/components/AttachmentLinks.js.map +1 -0
  18. package/dist/components/Attachments.d.ts +6 -0
  19. package/dist/components/Attachments.d.ts.map +1 -0
  20. package/dist/components/Attachments.js +55 -0
  21. package/dist/components/Attachments.js.map +1 -0
  22. package/dist/components/AttachmentsAttachment.d.ts +5 -0
  23. package/dist/components/AttachmentsAttachment.d.ts.map +1 -0
  24. package/dist/components/AttachmentsAttachment.js +8 -0
  25. package/dist/components/AttachmentsAttachment.js.map +1 -0
  26. package/dist/components/AttachmentsAttachmentTitle.d.ts +6 -0
  27. package/dist/components/AttachmentsAttachmentTitle.d.ts.map +1 -0
  28. package/dist/components/AttachmentsAttachmentTitle.js +12 -0
  29. package/dist/components/AttachmentsAttachmentTitle.js.map +1 -0
  30. package/dist/components/AttachmentsExternalMaterial.d.ts +9 -0
  31. package/dist/components/AttachmentsExternalMaterial.d.ts.map +1 -0
  32. package/dist/components/AttachmentsExternalMaterial.js +40 -0
  33. package/dist/components/AttachmentsExternalMaterial.js.map +1 -0
  34. package/dist/components/AttachmentsQuestion.d.ts +5 -0
  35. package/dist/components/AttachmentsQuestion.d.ts.map +1 -0
  36. package/dist/components/AttachmentsQuestion.js +17 -0
  37. package/dist/components/AttachmentsQuestion.js.map +1 -0
  38. package/dist/components/AttachmentsQuestionTitle.d.ts +6 -0
  39. package/dist/components/AttachmentsQuestionTitle.d.ts.map +1 -0
  40. package/dist/components/AttachmentsQuestionTitle.js +13 -0
  41. package/dist/components/AttachmentsQuestionTitle.js.map +1 -0
  42. package/dist/components/Audio.d.ts +6 -0
  43. package/dist/components/Audio.d.ts.map +1 -0
  44. package/dist/components/Audio.js +31 -0
  45. package/dist/components/Audio.js.map +1 -0
  46. package/dist/components/AudioGroup.d.ts +6 -0
  47. package/dist/components/AudioGroup.d.ts.map +1 -0
  48. package/dist/components/AudioGroup.js +9 -0
  49. package/dist/components/AudioGroup.js.map +1 -0
  50. package/dist/components/AudioPlaybackError.d.ts +7 -0
  51. package/dist/components/AudioPlaybackError.d.ts.map +1 -0
  52. package/dist/components/AudioPlaybackError.js +13 -0
  53. package/dist/components/AudioPlaybackError.js.map +1 -0
  54. package/dist/components/AudioTest.d.ts +6 -0
  55. package/dist/components/AudioTest.d.ts.map +1 -0
  56. package/dist/components/AudioTest.js +29 -0
  57. package/dist/components/AudioTest.js.map +1 -0
  58. package/dist/components/ChoiceAnswer.d.ts +12 -0
  59. package/dist/components/ChoiceAnswer.d.ts.map +1 -0
  60. package/dist/components/ChoiceAnswer.js +62 -0
  61. package/dist/components/ChoiceAnswer.js.map +1 -0
  62. package/dist/components/CommonExamContext.d.ts +19 -0
  63. package/dist/components/CommonExamContext.d.ts.map +1 -0
  64. package/dist/components/CommonExamContext.js +25 -0
  65. package/dist/components/CommonExamContext.js.map +1 -0
  66. package/dist/components/DropdownAnswer.d.ts +12 -0
  67. package/dist/components/DropdownAnswer.d.ts.map +1 -0
  68. package/dist/components/DropdownAnswer.js +100 -0
  69. package/dist/components/DropdownAnswer.js.map +1 -0
  70. package/dist/components/ErrorIndicator.d.ts +4 -0
  71. package/dist/components/ErrorIndicator.d.ts.map +1 -0
  72. package/dist/components/ErrorIndicator.js +43 -0
  73. package/dist/components/ErrorIndicator.js.map +1 -0
  74. package/dist/components/Exam.d.ts +32 -0
  75. package/dist/components/Exam.d.ts.map +1 -0
  76. package/dist/components/Exam.js +103 -0
  77. package/dist/components/Exam.js.map +1 -0
  78. package/dist/components/ExamAttachment.d.ts +5 -0
  79. package/dist/components/ExamAttachment.d.ts.map +1 -0
  80. package/dist/components/ExamAttachment.js +8 -0
  81. package/dist/components/ExamAttachment.js.map +1 -0
  82. package/dist/components/ExamContext.d.ts +10 -0
  83. package/dist/components/ExamContext.d.ts.map +1 -0
  84. package/dist/components/ExamContext.js +11 -0
  85. package/dist/components/ExamContext.js.map +1 -0
  86. package/dist/components/ExamFooter.d.ts +6 -0
  87. package/dist/components/ExamFooter.d.ts.map +1 -0
  88. package/dist/components/ExamFooter.js +7 -0
  89. package/dist/components/ExamFooter.js.map +1 -0
  90. package/dist/components/ExamInstruction.d.ts +6 -0
  91. package/dist/components/ExamInstruction.d.ts.map +1 -0
  92. package/dist/components/ExamInstruction.js +6 -0
  93. package/dist/components/ExamInstruction.js.map +1 -0
  94. package/dist/components/ExamQuestion.d.ts +5 -0
  95. package/dist/components/ExamQuestion.d.ts.map +1 -0
  96. package/dist/components/ExamQuestion.js +16 -0
  97. package/dist/components/ExamQuestion.js.map +1 -0
  98. package/dist/components/ExamQuestionInstruction.d.ts +6 -0
  99. package/dist/components/ExamQuestionInstruction.d.ts.map +1 -0
  100. package/dist/components/ExamQuestionInstruction.js +6 -0
  101. package/dist/components/ExamQuestionInstruction.js.map +1 -0
  102. package/dist/components/ExamQuestionTitle.d.ts +5 -0
  103. package/dist/components/ExamQuestionTitle.d.ts.map +1 -0
  104. package/dist/components/ExamQuestionTitle.js +24 -0
  105. package/dist/components/ExamQuestionTitle.js.map +1 -0
  106. package/dist/components/ExamSection.d.ts +5 -0
  107. package/dist/components/ExamSection.d.ts.map +1 -0
  108. package/dist/components/ExamSection.js +31 -0
  109. package/dist/components/ExamSection.js.map +1 -0
  110. package/dist/components/ExamSectionTitle.d.ts +6 -0
  111. package/dist/components/ExamSectionTitle.d.ts.map +1 -0
  112. package/dist/components/ExamSectionTitle.js +22 -0
  113. package/dist/components/ExamSectionTitle.js.map +1 -0
  114. package/dist/components/ExternalMaterialList.d.ts +10 -0
  115. package/dist/components/ExternalMaterialList.d.ts.map +1 -0
  116. package/dist/components/ExternalMaterialList.js +33 -0
  117. package/dist/components/ExternalMaterialList.js.map +1 -0
  118. package/dist/components/File.d.ts +6 -0
  119. package/dist/components/File.d.ts.map +1 -0
  120. package/dist/components/File.js +15 -0
  121. package/dist/components/File.js.map +1 -0
  122. package/dist/components/Formula.d.ts +6 -0
  123. package/dist/components/Formula.d.ts.map +1 -0
  124. package/dist/components/Formula.js +13 -0
  125. package/dist/components/Formula.js.map +1 -0
  126. package/dist/components/Hints.d.ts +5 -0
  127. package/dist/components/Hints.d.ts.map +1 -0
  128. package/dist/components/Hints.js +30 -0
  129. package/dist/components/Hints.js.map +1 -0
  130. package/dist/components/Image.d.ts +6 -0
  131. package/dist/components/Image.d.ts.map +1 -0
  132. package/dist/components/Image.js +28 -0
  133. package/dist/components/Image.js.map +1 -0
  134. package/dist/components/ImageOverlay.d.ts +6 -0
  135. package/dist/components/ImageOverlay.d.ts.map +1 -0
  136. package/dist/components/ImageOverlay.js +44 -0
  137. package/dist/components/ImageOverlay.js.map +1 -0
  138. package/dist/components/ProgressBar.d.ts +7 -0
  139. package/dist/components/ProgressBar.d.ts.map +1 -0
  140. package/dist/components/ProgressBar.js +19 -0
  141. package/dist/components/ProgressBar.js.map +1 -0
  142. package/dist/components/QuestionContext.d.ts +14 -0
  143. package/dist/components/QuestionContext.d.ts.map +1 -0
  144. package/dist/components/QuestionContext.js +20 -0
  145. package/dist/components/QuestionContext.js.map +1 -0
  146. package/dist/components/Reference.d.ts +6 -0
  147. package/dist/components/Reference.d.ts.map +1 -0
  148. package/dist/components/Reference.js +71 -0
  149. package/dist/components/Reference.js.map +1 -0
  150. package/dist/components/References.d.ts +6 -0
  151. package/dist/components/References.d.ts.map +1 -0
  152. package/dist/components/References.js +25 -0
  153. package/dist/components/References.js.map +1 -0
  154. package/dist/components/ResponsiveMediaContainer.d.ts +18 -0
  155. package/dist/components/ResponsiveMediaContainer.d.ts.map +1 -0
  156. package/dist/components/ResponsiveMediaContainer.js +21 -0
  157. package/dist/components/ResponsiveMediaContainer.js.map +1 -0
  158. package/dist/components/RestrictedAudioPlayer.d.ts +12 -0
  159. package/dist/components/RestrictedAudioPlayer.d.ts.map +1 -0
  160. package/dist/components/RestrictedAudioPlayer.js +32 -0
  161. package/dist/components/RestrictedAudioPlayer.js.map +1 -0
  162. package/dist/components/RichTextAnswer.d.ts +33 -0
  163. package/dist/components/RichTextAnswer.d.ts.map +1 -0
  164. package/dist/components/RichTextAnswer.js +61 -0
  165. package/dist/components/RichTextAnswer.js.map +1 -0
  166. package/dist/components/SaveIndicator.d.ts +5 -0
  167. package/dist/components/SaveIndicator.d.ts.map +1 -0
  168. package/dist/components/SaveIndicator.js +16 -0
  169. package/dist/components/SaveIndicator.js.map +1 -0
  170. package/dist/components/Score.d.ts +8 -0
  171. package/dist/components/Score.d.ts.map +1 -0
  172. package/dist/components/Score.js +13 -0
  173. package/dist/components/Score.js.map +1 -0
  174. package/dist/components/Section.d.ts +4 -0
  175. package/dist/components/Section.d.ts.map +1 -0
  176. package/dist/components/Section.js +8 -0
  177. package/dist/components/Section.js.map +1 -0
  178. package/dist/components/SectionContext.d.ts +13 -0
  179. package/dist/components/SectionContext.d.ts.map +1 -0
  180. package/dist/components/SectionContext.js +21 -0
  181. package/dist/components/SectionContext.js.map +1 -0
  182. package/dist/components/SectionInstruction.d.ts +6 -0
  183. package/dist/components/SectionInstruction.d.ts.map +1 -0
  184. package/dist/components/SectionInstruction.js +6 -0
  185. package/dist/components/SectionInstruction.js.map +1 -0
  186. package/dist/components/TableOfContents.d.ts +13 -0
  187. package/dist/components/TableOfContents.d.ts.map +1 -0
  188. package/dist/components/TableOfContents.js +66 -0
  189. package/dist/components/TableOfContents.js.map +1 -0
  190. package/dist/components/TextAnswer.d.ts +6 -0
  191. package/dist/components/TextAnswer.d.ts.map +1 -0
  192. package/dist/components/TextAnswer.js +17 -0
  193. package/dist/components/TextAnswer.js.map +1 -0
  194. package/dist/components/TextAnswerInput.d.ts +36 -0
  195. package/dist/components/TextAnswerInput.d.ts.map +1 -0
  196. package/dist/components/TextAnswerInput.js +145 -0
  197. package/dist/components/TextAnswerInput.js.map +1 -0
  198. package/dist/components/Video.d.ts +6 -0
  199. package/dist/components/Video.d.ts.map +1 -0
  200. package/dist/components/Video.js +15 -0
  201. package/dist/components/Video.js.map +1 -0
  202. package/dist/components/exam/RichTextAnswer.d.ts.map +1 -1
  203. package/dist/components/exam/RichTextAnswer.js +7 -9
  204. package/dist/components/exam/RichTextAnswer.js.map +1 -1
  205. package/dist/components/exam/TableOfContents.d.ts +13 -0
  206. package/dist/components/exam/TableOfContents.d.ts.map +1 -0
  207. package/dist/components/exam/TableOfContents.js +66 -0
  208. package/dist/components/exam/TableOfContents.js.map +1 -0
  209. package/dist/components/grading-instruction/AnswerGradingInstruction.d.ts +5 -0
  210. package/dist/components/grading-instruction/AnswerGradingInstruction.d.ts.map +1 -0
  211. package/dist/components/grading-instruction/AnswerGradingInstruction.js +6 -0
  212. package/dist/components/grading-instruction/AnswerGradingInstruction.js.map +1 -0
  213. package/dist/components/grading-instruction/Audio.d.ts +5 -0
  214. package/dist/components/grading-instruction/Audio.d.ts.map +1 -0
  215. package/dist/components/grading-instruction/Audio.js +6 -0
  216. package/dist/components/grading-instruction/Audio.js.map +1 -0
  217. package/dist/components/grading-instruction/AudioTitle.d.ts +5 -0
  218. package/dist/components/grading-instruction/AudioTitle.d.ts.map +1 -0
  219. package/dist/components/grading-instruction/AudioTitle.js +10 -0
  220. package/dist/components/grading-instruction/AudioTitle.js.map +1 -0
  221. package/dist/components/grading-instruction/AutogradedAnswer.d.ts +5 -0
  222. package/dist/components/grading-instruction/AutogradedAnswer.d.ts.map +1 -0
  223. package/dist/components/grading-instruction/AutogradedAnswer.js +31 -0
  224. package/dist/components/grading-instruction/AutogradedAnswer.js.map +1 -0
  225. package/dist/components/grading-instruction/AutogradedAnswerOption.d.ts +5 -0
  226. package/dist/components/grading-instruction/AutogradedAnswerOption.d.ts.map +1 -0
  227. package/dist/components/grading-instruction/AutogradedAnswerOption.js +14 -0
  228. package/dist/components/grading-instruction/AutogradedAnswerOption.js.map +1 -0
  229. package/dist/components/grading-instruction/ExamGradingInstruction.d.ts +5 -0
  230. package/dist/components/grading-instruction/ExamGradingInstruction.d.ts.map +1 -0
  231. package/dist/components/grading-instruction/ExamGradingInstruction.js +6 -0
  232. package/dist/components/grading-instruction/ExamGradingInstruction.js.map +1 -0
  233. package/dist/components/grading-instruction/GradingInstruction.d.ts +5 -0
  234. package/dist/components/grading-instruction/GradingInstruction.d.ts.map +1 -0
  235. package/dist/components/grading-instruction/GradingInstruction.js +85 -0
  236. package/dist/components/grading-instruction/GradingInstruction.js.map +1 -0
  237. package/dist/components/grading-instruction/Question.d.ts +5 -0
  238. package/dist/components/grading-instruction/Question.d.ts.map +1 -0
  239. package/dist/components/grading-instruction/Question.js +12 -0
  240. package/dist/components/grading-instruction/Question.js.map +1 -0
  241. package/dist/components/grading-instruction/QuestionTitle.d.ts +5 -0
  242. package/dist/components/grading-instruction/QuestionTitle.d.ts.map +1 -0
  243. package/dist/components/grading-instruction/QuestionTitle.js +19 -0
  244. package/dist/components/grading-instruction/QuestionTitle.js.map +1 -0
  245. package/dist/components/grading-instruction/Section.d.ts +5 -0
  246. package/dist/components/grading-instruction/Section.d.ts.map +1 -0
  247. package/dist/components/grading-instruction/Section.js +10 -0
  248. package/dist/components/grading-instruction/Section.js.map +1 -0
  249. package/dist/components/grading-instruction/SectionTitle.d.ts +5 -0
  250. package/dist/components/grading-instruction/SectionTitle.d.ts.map +1 -0
  251. package/dist/components/grading-instruction/SectionTitle.js +16 -0
  252. package/dist/components/grading-instruction/SectionTitle.js.map +1 -0
  253. package/dist/components/results/AnnotationList.d.ts +5 -0
  254. package/dist/components/results/AnnotationList.d.ts.map +1 -0
  255. package/dist/components/results/AnnotationList.js +43 -0
  256. package/dist/components/results/AnnotationList.js.map +1 -0
  257. package/dist/components/results/GradingStructure.d.ts +5 -0
  258. package/dist/components/results/GradingStructure.d.ts.map +1 -0
  259. package/dist/components/results/GradingStructure.js +21 -0
  260. package/dist/components/results/GradingStructure.js.map +1 -0
  261. package/dist/components/results/Hvp.d.ts +15 -0
  262. package/dist/components/results/Hvp.d.ts.map +1 -0
  263. package/dist/components/results/Hvp.js +73 -0
  264. package/dist/components/results/Hvp.js.map +1 -0
  265. package/dist/components/results/HvpTextAnswer.d.ts +6 -0
  266. package/dist/components/results/HvpTextAnswer.d.ts.map +1 -0
  267. package/dist/components/results/HvpTextAnswer.js +51 -0
  268. package/dist/components/results/HvpTextAnswer.js.map +1 -0
  269. package/dist/components/results/ResultsChoiceAnswer.d.ts +6 -0
  270. package/dist/components/results/ResultsChoiceAnswer.d.ts.map +1 -0
  271. package/dist/components/results/ResultsChoiceAnswer.js +57 -0
  272. package/dist/components/results/ResultsChoiceAnswer.js.map +1 -0
  273. package/dist/components/results/ResultsContext.d.ts +18 -0
  274. package/dist/components/results/ResultsContext.d.ts.map +1 -0
  275. package/dist/components/results/ResultsContext.js +68 -0
  276. package/dist/components/results/ResultsContext.js.map +1 -0
  277. package/dist/components/results/ResultsDropdownAnswer.d.ts +6 -0
  278. package/dist/components/results/ResultsDropdownAnswer.d.ts.map +1 -0
  279. package/dist/components/results/ResultsDropdownAnswer.js +43 -0
  280. package/dist/components/results/ResultsDropdownAnswer.js.map +1 -0
  281. package/dist/components/results/ResultsExamQuestion.d.ts +5 -0
  282. package/dist/components/results/ResultsExamQuestion.d.ts.map +1 -0
  283. package/dist/components/results/ResultsExamQuestion.js +23 -0
  284. package/dist/components/results/ResultsExamQuestion.js.map +1 -0
  285. package/dist/components/results/ResultsExamQuestionAutoScore.d.ts +10 -0
  286. package/dist/components/results/ResultsExamQuestionAutoScore.d.ts.map +1 -0
  287. package/dist/components/results/ResultsExamQuestionAutoScore.js +17 -0
  288. package/dist/components/results/ResultsExamQuestionAutoScore.js.map +1 -0
  289. package/dist/components/results/ResultsExamQuestionManualScore.d.ts +12 -0
  290. package/dist/components/results/ResultsExamQuestionManualScore.d.ts.map +1 -0
  291. package/dist/components/results/ResultsExamQuestionManualScore.js +61 -0
  292. package/dist/components/results/ResultsExamQuestionManualScore.js.map +1 -0
  293. package/dist/components/results/ResultsExamQuestionScoresContainer.d.ts +10 -0
  294. package/dist/components/results/ResultsExamQuestionScoresContainer.d.ts.map +1 -0
  295. package/dist/components/results/ResultsExamQuestionScoresContainer.js +12 -0
  296. package/dist/components/results/ResultsExamQuestionScoresContainer.js.map +1 -0
  297. package/dist/components/results/ResultsExamQuestionTitle.d.ts +6 -0
  298. package/dist/components/results/ResultsExamQuestionTitle.d.ts.map +1 -0
  299. package/dist/components/results/ResultsExamQuestionTitle.js +21 -0
  300. package/dist/components/results/ResultsExamQuestionTitle.js.map +1 -0
  301. package/dist/components/results/ResultsExamSection.d.ts +5 -0
  302. package/dist/components/results/ResultsExamSection.d.ts.map +1 -0
  303. package/dist/components/results/ResultsExamSection.js +18 -0
  304. package/dist/components/results/ResultsExamSection.js.map +1 -0
  305. package/dist/components/results/ResultsMultiLineAnswer.d.ts +8 -0
  306. package/dist/components/results/ResultsMultiLineAnswer.d.ts.map +1 -0
  307. package/dist/components/results/ResultsMultiLineAnswer.js +19 -0
  308. package/dist/components/results/ResultsMultiLineAnswer.js.map +1 -0
  309. package/dist/components/results/ResultsScoredTextAnswer.d.ts +6 -0
  310. package/dist/components/results/ResultsScoredTextAnswer.d.ts.map +1 -0
  311. package/dist/components/results/ResultsScoredTextAnswer.js +22 -0
  312. package/dist/components/results/ResultsScoredTextAnswer.js.map +1 -0
  313. package/dist/components/results/ResultsSingleLineAnswer.d.ts +12 -0
  314. package/dist/components/results/ResultsSingleLineAnswer.d.ts.map +1 -0
  315. package/dist/components/results/ResultsSingleLineAnswer.js +23 -0
  316. package/dist/components/results/ResultsSingleLineAnswer.js.map +1 -0
  317. package/dist/components/results/ResultsTextAnswer.d.ts +6 -0
  318. package/dist/components/results/ResultsTextAnswer.d.ts.map +1 -0
  319. package/dist/components/results/ResultsTextAnswer.js +50 -0
  320. package/dist/components/results/ResultsTextAnswer.js.map +1 -0
  321. package/dist/components/results/helpers.d.ts +9 -0
  322. package/dist/components/results/helpers.d.ts.map +1 -0
  323. package/dist/components/results/helpers.js +11 -0
  324. package/dist/components/results/helpers.js.map +1 -0
  325. package/dist/components/withContext.d.ts +3 -0
  326. package/dist/components/withContext.d.ts.map +1 -0
  327. package/dist/components/withContext.js +12 -0
  328. package/dist/components/withContext.js.map +1 -0
  329. package/dist/main-bundle.js +9 -17
  330. package/dist/main.css +1 -1
  331. package/dist/types/GradingStructure.d.ts +1 -0
  332. package/dist/types/GradingStructure.d.ts.map +1 -1
  333. package/package.json +3 -3
  334. package/dist/components/grading-instructions/RecordingTitle.d.ts +0 -5
  335. package/dist/components/grading-instructions/RecordingTitle.d.ts.map +0 -1
  336. package/dist/components/grading-instructions/RecordingTitle.js +0 -11
  337. package/dist/components/grading-instructions/RecordingTitle.js.map +0 -1
  338. package/dist/components/shared/ImageTitle.d.ts +0 -5
  339. package/dist/components/shared/ImageTitle.d.ts.map +0 -1
  340. package/dist/components/shared/ImageTitle.js +0 -7
  341. package/dist/components/shared/ImageTitle.js.map +0 -1
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define?define(["react"],t):"object"==typeof exports?exports.ExamBundle=t(require("react")):e.ExamBundle=t(e.React)}(this,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=122)}([function(t,n){t.exports=e},function(e,t,n){e.exports=n(83)()},function(e,t,n){var r;
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define?define(["react"],t):"object"==typeof exports?exports.ExamBundle=t(require("react")):e.ExamBundle=t(e.React)}(this,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=119)}([function(t,n){t.exports=e},function(e,t,n){e.exports=n(90)()},function(e,t,n){var r;
2
2
  /*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
@@ -27,19 +27,19 @@
27
27
  *
28
28
  * Date: 2021-02-16
29
29
  */
30
- function(e){var t,n,r,i,a,o,s,l,c,u,d,f,p,h,g,m,y,v,b,I="sizzle"+1*new Date,x=e.document,w=0,T=0,M=le(),A=le(),C=le(),E=le(),N=function(e,t){return e===t&&(d=!0),0},S={}.hasOwnProperty,k=[],j=k.pop,D=k.push,L=k.push,O=k.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="[\\x20\\t\\r\\n\\f]",_="(?:\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\["+z+"*("+_+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+_+"))|)"+z+"*\\]",F=":("+_+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",Z=new RegExp(z+"+","g"),G=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),B=new RegExp("^"+z+"*,"+z+"*"),Y=new RegExp("^"+z+"*([>+~]|"+z+")"+z+"*"),W=new RegExp(z+"|>"),H=new RegExp(F),V=new RegExp("^"+_+"$"),q={ID:new RegExp("^#("+_+")"),CLASS:new RegExp("^\\.("+_+")"),TAG:new RegExp("^("+_+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){f()},oe=Ie((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{L.apply(k=O.call(x.childNodes),x.childNodes),k[x.childNodes.length].nodeType}catch(e){L={apply:k.length?function(e,t){D.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var a,s,c,u,d,h,y,v=t&&t.ownerDocument,x=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return r;if(!i&&(f(t),t=t||p,g)){if(11!==x&&(d=$.exec(e)))if(a=d[1]){if(9===x){if(!(c=t.getElementById(a)))return r;if(c.id===a)return r.push(c),r}else if(v&&(c=v.getElementById(a))&&b(t,c)&&c.id===a)return r.push(c),r}else{if(d[2])return L.apply(r,t.getElementsByTagName(e)),r;if((a=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&!E[e+" "]&&(!m||!m.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(y=e,v=t,1===x&&(W.test(e)||Y.test(e))){for((v=ee.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ie):t.setAttribute("id",u=I)),s=(h=o(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+be(h[s]);y=h.join(",")}try{return L.apply(r,v.querySelectorAll(y)),r}catch(t){E(e,!0)}finally{u===I&&t.removeAttribute("id")}}}return l(e.replace(G,"$1"),t,r,i)}function le(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[I]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},a=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:x;return o!=p&&9===o.nodeType&&o.documentElement?(h=(p=o).documentElement,g=!a(p),x!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ae,!1):i.attachEvent&&i.attachEvent("onunload",ae)),n.scope=ue((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(p.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=I,!p.getElementsByName||!p.getElementsByName(I).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(i=t.getElementsByName(e),r=0;a=i[r++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],m=[],(n.qsa=K.test(p.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+z+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+z+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+I+"-]").length||m.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+z+"*name"+z+"*="+z+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+I+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+z+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=K.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),y.push("!=",F)})),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),t=K.test(h.compareDocumentPosition),b=t||K.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},N=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==x&&b(x,e)?-1:t==p||t.ownerDocument==x&&b(x,t)?1:u?P(u,e)-P(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!i||!a)return e==p?-1:t==p?1:i?-1:a?1:u?P(u,e)-P(u,t):0;if(i===a)return fe(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?fe(o[r],s[r]):o[r]==x?-1:s[r]==x?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&g&&!E[t+" "]&&(!y||!y.test(t))&&(!m||!m.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){E(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var i=r.attrHandle[t.toLowerCase()],a=i&&S.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==a?a:n.attributes||!g?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,a=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(N),d){for(;t=e[a++];)t===e[a]&&(i=r.push(a));for(;i--;)e.splice(r[i],1)}return u=null,e},i=se.getText=function(e){var t,n="",r=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&H.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=M[e+" "];return t||(t=new RegExp("(^|"+z+")"+e+"("+z+"|$)"))&&M(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(Z," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h,g=a!==o?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s,b=!1;if(m){if(a){for(;g;){for(f=t;f=f[g];)if(s?f.nodeName.toLowerCase()===y:1===f.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?m.firstChild:m.lastChild],o&&v){for(b=(p=(c=(u=(d=(f=m)[I]||(f[I]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===w&&c[1])&&c[2],f=p&&m.childNodes[p];f=++p&&f&&f[g]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){u[e]=[w,p,b];break}}else if(v&&(b=p=(c=(u=(d=(f=t)[I]||(f[I]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===w&&c[1]),!1===b)for(;(f=++p&&f&&f[g]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==y:1!==f.nodeType)||!++b||(v&&((u=(d=f[I]||(f[I]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[w,b]),f!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[I]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,a=i(e,t),o=a.length;o--;)e[r=P(e,a[o])]=!(n[r]=a[o])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(G,"$1"));return r[I]?ce((function(e,t,n,i){for(var a,o=r(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))})):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return V.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,n){return[n<0?n+t:n]})),even:me((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:me((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:me((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:me((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ve(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function Ie(e,t,n){var r=t.dir,i=t.next,a=i||r,o=n&&"parentNode"===a,s=T++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i);return!1}:function(t,n,l){var c,u,d,f=[w,s];if(l){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||o)if(u=(d=t[I]||(t[I]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[a])&&c[0]===w&&c[1]===s)return f[2]=c[2];if(u[a]=f,f[2]=e(t,n,l))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,i){for(var a,o=[],s=0,l=e.length,c=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,r,i)||(o.push(a),c&&t.push(s)));return o}function Te(e,t,n,r,i,a){return r&&!r[I]&&(r=Te(r)),i&&!i[I]&&(i=Te(i,a)),ce((function(a,o,s,l){var c,u,d,f=[],p=[],h=o.length,g=a||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!a&&t?g:we(g,f,e,s,l),y=n?i||(a?e:h||r)?[]:o:m;if(n&&n(m,y,s,l),r)for(c=we(y,p),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(y[p[u]]=!(m[p[u]]=d));if(a){if(i||e){if(i){for(c=[],u=y.length;u--;)(d=y[u])&&c.push(m[u]=d);i(null,y=[],c,l)}for(u=y.length;u--;)(d=y[u])&&(c=i?P(a,d):f[u])>-1&&(a[c]=!(o[c]=d))}}else y=we(y===o?y.splice(h,y.length):y),i?i(null,o,y,l):L.apply(o,y)}))}function Me(e){for(var t,n,i,a=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],l=o?1:0,u=Ie((function(e){return e===t}),s,!0),d=Ie((function(e){return P(t,e)>-1}),s,!0),f=[function(e,n,r){var i=!o&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,i}];l<a;l++)if(n=r.relative[e[l].type])f=[Ie(xe(f),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[I]){for(i=++l;i<a&&!r.relative[e[i].type];i++);return Te(l>1&&xe(f),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(G,"$1"),n,l<i&&Me(e.slice(l,i)),i<a&&Me(e=e.slice(i)),i<a&&be(e))}f.push(n)}return xe(f)}return ve.prototype=r.filters=r.pseudos,r.setFilters=new ve,o=se.tokenize=function(e,t){var n,i,a,o,s,l,c,u=A[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=r.preFilter;s;){for(o in n&&!(i=B.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(a=[])),n=!1,(i=Y.exec(s))&&(n=i.shift(),a.push({value:n,type:i[0].replace(G," ")}),s=s.slice(n.length)),r.filter)!(i=q[o].exec(s))||c[o]&&!(i=c[o](i))||(n=i.shift(),a.push({value:n,type:o,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):A(e,l).slice(0)},s=se.compile=function(e,t){var n,i=[],a=[],s=C[e+" "];if(!s){for(t||(t=o(e)),n=t.length;n--;)(s=Me(t[n]))[I]?i.push(s):a.push(s);(s=C(e,function(e,t){var n=t.length>0,i=e.length>0,a=function(a,o,s,l,u){var d,h,m,y=0,v="0",b=a&&[],I=[],x=c,T=a||i&&r.find.TAG("*",u),M=w+=null==x?1:Math.random()||.1,A=T.length;for(u&&(c=o==p||o||u);v!==A&&null!=(d=T[v]);v++){if(i&&d){for(h=0,o||d.ownerDocument==p||(f(d),s=!g);m=e[h++];)if(m(d,o||p,s)){l.push(d);break}u&&(w=M)}n&&((d=!m&&d)&&y--,a&&b.push(d))}if(y+=v,n&&v!==y){for(h=0;m=t[h++];)m(b,I,o,s);if(a){if(y>0)for(;v--;)b[v]||I[v]||(I[v]=j.call(l));I=we(I)}L.apply(l,I),u&&!a&&I.length>0&&y+t.length>1&&se.uniqueSort(l)}return u&&(w=M,c=x),b};return n?ce(a):a}(a,i))).selector=e}return s},l=se.select=function(e,t,n,i){var a,l,c,u,d,f="function"==typeof e&&e,p=!i&&o(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&g&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(a=q.needsContext.test(e)?0:l.length;a--&&(c=l[a],!r.relative[u=c.type]);)if((d=r.find[u])&&(i=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ye(t.parentNode)||t))){if(l.splice(a,1),!(e=i.length&&be(l)))return L.apply(n,i),n;break}}return(f||s(e,p))(i,t,!g,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=I.split("").sort(N).join("")===I,n.detectDuplicates=!!d,f(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(R,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);T.find=A,T.expr=A.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=A.uniqueSort,T.text=A.getText,T.isXMLDoc=A.isXML,T.contains=A.contains,T.escapeSelector=A.escape;var C=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(n))break;r.push(e)}return r},E=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=T.expr.match.needsContext;function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var k=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return y(t)?T.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return u.call(t,e)>-1!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<r;t++)if(T.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,i[t],n);return r>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&N.test(e)?T(e):e||[],!1).length}});var D,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),k.test(r[1])&&T.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,D=T(b);var O=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,a=[],o="string"!=typeof e&&T(e);if(!N.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?T.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?u.call(T(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return E((e.parentNode||{}).firstChild,e)},children:function(e){return E(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,r){var i=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=T.filter(r,i)),this.length>1&&(P[e]||T.uniqueSort(i),O.test(e)&&i.reverse()),this.pushStack(i)}}));var z=/[^\x20\t\r\n\f]+/g;function _(e){return e}function U(e){throw e}function F(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(z)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,i,a=[],o=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s<a.length;)!1===a[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:"")},c={add:function(){return a&&(n&&!t&&(s=a.length-1,o.push(n)),function t(n){T.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||a.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;(n=T.inArray(t,a,n))>-1;)a.splice(n,1),n<=s&&s--})),this},has:function(e){return e?T.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=o=[],n||t||(a=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(n){T.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];a[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var a=0;function o(e,t,r,i){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<a)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(c)?i?c.call(n,o(a,t,_,i),o(a,t,U,i)):(a++,c.call(n,o(a,t,_,i),o(a,t,U,i),o(a,t,_,t.notifyWith))):(r!==_&&(s=void 0,l=[n]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,u.stackTrace),e+1>=a&&(r!==U&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(T.Deferred.getStackHook&&(u.stackTrace=T.Deferred.getStackHook()),n.setTimeout(u))}}return T.Deferred((function(n){t[0][3].add(o(0,n,y(i)?i:_,n.notifyWith)),t[1][3].add(o(0,n,y(e)?e:_)),t[2][3].add(o(0,n,y(r)?r:U))})).promise()},promise:function(e){return null!=e?T.extend(e,i):i}},a={};return T.each(t,(function(e,n){var o=n[2],s=n[5];i[n[1]]=o.add,s&&o.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith})),i.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),a=T.Deferred(),o=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&(F(e,a.done(o(n)).resolve,a.reject,!t),"pending"===a.state()||y(i[n]&&i[n].then)))return a.then();for(;n--;)F(i[n],o(n),a.reject);return a.promise()}});var Z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Z.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){n.setTimeout((function(){throw e}))};var G=T.Deferred();function B(){b.removeEventListener("DOMContentLoaded",B),n.removeEventListener("load",B),T.ready()}T.fn.ready=function(e){return G.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||G.resolveWith(b,[T]))}}),T.ready.then=G.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",B),n.addEventListener("load",B));var Y=function(e,t,n,r,i,a,o){var s=0,l=e.length,c=null==n;if("object"===w(n))for(s in i=!0,n)Y(e,t,s,n[s],!0,a,o);else if(void 0!==r&&(i=!0,y(r)||(o=!0),c&&(o?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(T(e),n)})),t))for(;s<l;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):a},W=/^-ms-/,H=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function q(e){return e.replace(W,"ms-").replace(H,V)}var Q=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function J(){this.expando=T.expando+J.uid++}J.uid=1,J.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[q(t)]=n;else for(r in t)i[q(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][q(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(q):(t=q(t))in r?[t]:t.match(z)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var X=new J,K=new J,$=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:$.test(e)?JSON.parse(e):e)}(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return K.hasData(e)||X.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return X.access(e,t,n)},_removeData:function(e,t){X.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=K.get(a),1===a.nodeType&&!X.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(r=o[n].name).indexOf("data-")&&(r=q(r.slice(5)),te(a,r,i[r]));X.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){K.set(this,e)})):Y(this,(function(t){var n;if(a&&void 0===t)return void 0!==(n=K.get(a,e))||void 0!==(n=te(a,e))?n:void 0;this.each((function(){K.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){K.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=X.get(e,t),n&&(!r||Array.isArray(n)?r=X.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,i=n.shift(),a=T._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,(function(){T.dequeue(e,t)}),a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return X.get(e,n)||X.access(e,n,{empty:T.Callbacks("once memory").add((function(){X.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=T.Deferred(),a=this,o=this.length,s=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=X.get(a[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,oe=function(e){return T.contains(e.ownerDocument,e)},se={composed:!0};ae.getRootNode&&(oe=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===T.css(e,"display")};function ce(e,t,n,r){var i,a,o=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},l=s(),c=n&&n[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==c&&+l)&&re.exec(T.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;o--;)T.style(e,t,u+c),(1-a)*(1-(a=s()/l||.5))<=0&&(o=0),u/=a;u*=2,T.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var ue={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,i=ue[r];return i||(t=n.body.appendChild(n.createElement(r)),i=T.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ue[r]=i,i)}function fe(e,t){for(var n,r,i=[],a=0,o=e.length;a<o;a++)(r=e[a]).style&&(n=r.style.display,t?("none"===n&&(i[a]=X.get(r,"display")||null,i[a]||(r.style.display="")),""===r.style.display&&le(r)&&(i[a]=de(r))):"none"!==n&&(i[a]="none",X.set(r,"display",n)));for(a=0;a<o;a++)null!=i[a]&&(e[a].style.display=i[a]);return e}T.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?T(this).show():T(this).hide()}))}});var pe,he,ge=/^(?:checkbox|radio)$/i,me=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;pe=b.createDocumentFragment().appendChild(b.createElement("div")),(he=b.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),pe.appendChild(he),m.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="<option></option>",m.option=!!pe.lastChild;var ve={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?T.merge([e],n):n}function Ie(e,t){for(var n=0,r=e.length;n<r;n++)X.set(e[n],"globalEval",!t||X.get(t[n],"globalEval"))}ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td,m.option||(ve.optgroup=ve.option=[1,"<select multiple='multiple'>","</select>"]);var xe=/<|&#?\w+;/;function we(e,t,n,r,i){for(var a,o,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((a=e[p])||0===a)if("object"===w(a))T.merge(f,a.nodeType?[a]:a);else if(xe.test(a)){for(o=o||d.appendChild(t.createElement("div")),s=(me.exec(a)||["",""])[1].toLowerCase(),l=ve[s]||ve._default,o.innerHTML=l[1]+T.htmlPrefilter(a)+l[2],u=l[0];u--;)o=o.lastChild;T.merge(f,o.childNodes),(o=d.firstChild).textContent=""}else f.push(t.createTextNode(a));for(d.textContent="",p=0;a=f[p++];)if(r&&T.inArray(a,r)>-1)i&&i.push(a);else if(c=oe(a),o=be(d.appendChild(a),"script"),c&&Ie(o),n)for(u=0;a=o[u++];)ye.test(a.type||"")&&n.push(a);return d}var Te=/^([^.]*)(?:\.(.+)|)/;function Me(){return!0}function Ae(){return!1}function Ce(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,i,a){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ae;else if(!i)return e;return 1===a&&(o=i,(i=function(e){return T().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=T.guid++)),e.each((function(){T.event.add(this,t,i,r,n)}))}function Ne(e,t,n){n?(X.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,i,a=X.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=s.call(arguments),X.set(this,t,a),r=n(this,t),this[t](),a!==(i=X.get(this,t))||r?X.set(this,t,!1):i={},a!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else a.length&&(X.set(this,t,{value:T.event.trigger(T.extend(a[0],T.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===X.get(e,t)&&T.event.add(e,t,Me)}T.event={global:{},add:function(e,t,n,r,i){var a,o,s,l,c,u,d,f,p,h,g,m=X.get(e);if(Q(e))for(n.handler&&(n=(a=n).handler,i=a.selector),i&&T.find.matchesSelector(ae,i),n.guid||(n.guid=T.guid++),(l=m.events)||(l=m.events=Object.create(null)),(o=m.handle)||(o=m.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(z)||[""]).length;c--;)p=g=(s=Te.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=T.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=T.event.special[p]||{},u=T.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:h.join(".")},a),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,u):f.push(u),T.event.global[p]=!0)},remove:function(e,t,n,r,i){var a,o,s,l,c,u,d,f,p,h,g,m=X.hasData(e)&&X.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(z)||[""]).length;c--;)if(p=g=(s=Te.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=T.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=f.length;a--;)u=f[a],!i&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(a,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));o&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||T.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)T.event.remove(e,p+t[c],n,r,!0);T.isEmptyObject(l)&&X.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,a,o,s=new Array(arguments.length),l=T.event.fix(e),c=(X.get(this,"events")||Object.create(null))[l.type]||[],u=T.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(o=T.event.handlers.call(this,l,c),t=0;(i=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==a.namespace&&!l.rnamespace.test(a.namespace)||(l.handleObj=a,l.data=a.data,void 0!==(r=((T.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,a,o,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],o={},n=0;n<l;n++)void 0===o[i=(r=t[n]).selector+" "]&&(o[i]=r.needsContext?T(i,this).index(c)>-1:T.find(i,this,null,[c]).length),o[i]&&a.push(r);a.length&&s.push({elem:c,handlers:a})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&S(t,"input")&&Ne(t,"click",Me),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&S(t,"input")&&Ne(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&S(t,"input")&&X.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Me:Ae,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Ae,isPropagationStopped:Ae,isImmediatePropagationStopped:Ae,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Me,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Me,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Me,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){T.event.special[e]={setup:function(){return Ne(this,e,Ce),!1},trigger:function(){return Ne(this,e),!0},_default:function(){return!0},delegateType:t}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===r||T.contains(r,i))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ae),this.each((function(){T.event.remove(this,e,n,t)}))}});var Se=/<script|<style|<link/i,ke=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function De(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,a,o,s;if(1===t.nodeType){if(X.hasData(e)&&(s=X.get(e).events))for(i in X.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)T.event.add(t,i,s[i][n]);K.hasData(e)&&(a=K.access(e),o=T.extend({},a),K.set(t,o))}}function Re(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function ze(e,t,n,r){t=l(t);var i,a,o,s,c,u,d=0,f=e.length,p=f-1,h=t[0],g=y(h);if(g||f>1&&"string"==typeof h&&!m.checkClone&&ke.test(h))return e.each((function(i){var a=e.eq(i);g&&(t[0]=h.call(this,i,a.html())),ze(a,t,n,r)}));if(f&&(a=(i=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(s=(o=T.map(be(i,"script"),Le)).length;d<f;d++)c=i,d!==p&&(c=T.clone(c,!0,!0),s&&T.merge(o,be(c,"script"))),n.call(e[d],c,d);if(s)for(u=o[o.length-1].ownerDocument,T.map(o,Oe),d=0;d<s;d++)c=o[d],ye.test(c.type||"")&&!X.access(c,"globalEval")&&T.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?T._evalUrl&&!c.noModule&&T._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(je,""),c,u))}return e}function _e(e,t,n){for(var r,i=t?T.filter(t,e):e,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||T.cleanData(be(r)),r.parentNode&&(n&&oe(r)&&Ie(be(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,a,o,s=e.cloneNode(!0),l=oe(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(o=be(s),r=0,i=(a=be(e)).length;r<i;r++)Re(a[r],o[r]);if(t)if(n)for(a=a||be(e),o=o||be(s),r=0,i=a.length;r<i;r++)Pe(a[r],o[r]);else Pe(e,s);return(o=be(s,"script")).length>0&&Ie(o,!l&&be(e,"script")),s},cleanData:function(e){for(var t,n,r,i=T.event.special,a=0;void 0!==(n=e[a]);a++)if(Q(n)){if(t=n[X.expando]){if(t.events)for(r in t.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[X.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),T.fn.extend({detach:function(e){return _e(this,e,!0)},remove:function(e){return _e(this,e)},text:function(e){return Y(this,(function(e){return void 0===e?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return ze(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)}))},prepend:function(){return ze(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return Y(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Se.test(e)&&!ve[(me.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return ze(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(be(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=[],i=T(e),a=i.length-1,o=0;o<=a;o++)n=o===a?this:this.clone(!0),T(i[o])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Ue=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Fe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ze=function(e,t,n){var r,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=a[i];return r},Ge=new RegExp(ie.join("|"),"i");function Be(e,t,n){var r,i,a,o,s=e.style;return(n=n||Fe(e))&&(""!==(o=n.getPropertyValue(t)||n[t])||oe(e)||(o=T.style(e,t)),!m.pixelBoxStyles()&&Ue.test(o)&&Ge.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a)),void 0!==o?o+"":o}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",o=36===t(e.right),i=36===t(e.width),u.style.position="absolute",a=12===t(u.offsetWidth/3),ae.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,i,a,o,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,T.extend(m,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),a},reliableTrDimensions:function(){var e,t,r,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),r=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",ae.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var We=["Webkit","Moz","ms"],He=b.createElement("div").style,Ve={};function qe(e){var t=T.cssProps[e]||Ve[e];return t||(e in He?e:Ve[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=We.length;n--;)if((e=We[n]+t)in He)return e}(e)||e)}var Qe=/^(none|table(?!-c[ea]).+)/,Je=/^--/,Xe={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function $e(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,i,a){var o="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(l+=T.css(e,n+ie[o],!0,i)),r?("content"===n&&(l-=T.css(e,"padding"+ie[o],!0,i)),"margin"!==n&&(l-=T.css(e,"border"+ie[o]+"Width",!0,i))):(l+=T.css(e,"padding"+ie[o],!0,i),"padding"!==n?l+=T.css(e,"border"+ie[o]+"Width",!0,i):s+=T.css(e,"border"+ie[o]+"Width",!0,i));return!r&&a>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l}function tt(e,t,n){var r=Fe(e),i=(!m.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),a=i,o=Be(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(o)){if(!n)return o;o="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&S(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===T.css(e,"boxSizing",!1,r),(a=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+et(e,t,n||(i?"border":"content"),a,r,o)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Be(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=q(t),l=Je.test(t),c=e.style;if(l||(t=qe(s)),o=T.cssHooks[t]||T.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:c[t];"string"===(a=typeof n)&&(i=re.exec(n))&&i[1]&&(n=ce(e,t,i),a="number"),null!=n&&n==n&&("number"!==a||l||(n+=i&&i[3]||(T.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,a,o,s=q(t);return Je.test(t)||(t=qe(s)),(o=T.cssHooks[t]||T.cssHooks[s])&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=Be(e,t,r)),"normal"===i&&t in Ke&&(i=Ke[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!Qe.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):Ze(e,Xe,(function(){return tt(e,t,r)}))},set:function(e,n,r){var i,a=Fe(e),o=!m.scrollboxSize()&&"absolute"===a.position,s=(o||r)&&"border-box"===T.css(e,"boxSizing",!1,a),l=r?et(e,t,r,s,a):0;return s&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-et(e,t,"border",!1,a)-.5)),l&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),$e(0,n,l)}}})),T.cssHooks.marginLeft=Ye(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=a[r]||a[r-2]||a[0];return i}},"margin"!==e&&(T.cssHooks[e+t].set=$e)})),T.fn.extend({css:function(e,t){return Y(this,(function(e,t,n){var r,i,a={},o=0;if(Array.isArray(t)){for(r=Fe(e),i=t.length;o<i;o++)a[t[o]]=T.css(e,t[o],!1,r);return a}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(T.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[qe(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=nt.prototype.init,T.fx.step={};var rt,it,at=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function st(){it&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(st):n.setTimeout(st,T.fx.interval),T.fx.tick())}function lt(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,t,e))return r}function dt(e,t,n){var r,i,a=0,o=dt.prefilters.length,s=T.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=rt||lt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),a=0,o=c.tweens.length;a<o;a++)c.tweens[a].run(r);return s.notifyWith(e,[c,r,n]),r<1&&o?n:(o||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,i,a,o;for(n in e)if(i=t[r=q(n)],a=e[n],Array.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),(o=T.cssHooks[r])&&"expand"in o)for(n in a=o.expand(a),delete e[r],a)n in e||(e[n]=a[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);a<o;a++)if(r=dt.prefilters[a].call(c,e,u,c.opts))return y(r.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return T.map(u,ut,c),y(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),T.fx.timer(T.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(z);for(var n,r=0,i=e.length;r<i;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,a,o,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,g=e.nodeType&&le(e),m=X.get(e,"fxshow");for(r in n.queue||(null==(o=T._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,f.always((function(){f.always((function(){o.unqueued--,T.queue(e,"fx").length||o.empty.fire()}))}))),t)if(i=t[r],at.test(i)){if(delete t[r],a=a||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||T.style(e,r)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=X.get(e,"display")),"none"===(u=T.css(e,"display"))&&(c?u=c:(fe([e],!0),c=e.style.display||c,u=T.css(e,"display"),fe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===T.css(e,"float")&&(l||(f.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=X.access(e,"fxshow",{display:c}),a&&(m.hidden=!g),g&&fe([e],!0),f.done((function(){for(r in g||fe([e]),X.remove(e,"fxshow"),p)T.style(e,r,p[r])}))),l=ut(g?m[r]:0,r,f),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=T.isEmptyObject(e),a=T.speed(t,n,r),o=function(){var t=dt(this,T.extend({},e),a);(i||X.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",a=T.timers,o=X.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&ot.test(i)&&r(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(n),t=!1,a.splice(i,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=X.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],a=T.timers,o=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,i)}})),T.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),rt=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){it||(it=!0,st())},T.fx.stop=function(){it=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var ft,pt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return Y(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?T.prop(e,t,n):(1===a&&T.isXMLDoc(e)||(i=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&S(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(z);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||T.find.attr;pt[t]=function(e,t,r){var i,a,o=t.toLowerCase();return r||(a=pt[o],pt[o]=i,i=null!=n(e,t,r)?o:null,pt[o]=a),i}}));var ht=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function mt(e){return(e.match(z)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(z)||[]}T.fn.extend({prop:function(e,t){return Y(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,r,i,a,o,s,l=0;if(y(e))return this.each((function(t){T(this).addClass(e.call(this,t,yt(this)))}));if((t=vt(e)).length)for(;n=this[l++];)if(i=yt(n),r=1===n.nodeType&&" "+mt(i)+" "){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");i!==(s=mt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,a,o,s,l=0;if(y(e))return this.each((function(t){T(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;n=this[l++];)if(i=yt(n),r=1===n.nodeType&&" "+mt(i)+" "){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");i!==(s=mt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,i,a,o;if(r)for(i=0,a=T(this),o=vt(e);t=o[i++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&X.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":X.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+mt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;T.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,T(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:mt(T.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?a+1:i.length;for(r=a<0?l:o?a:0;r<l;r++)if(((n=i[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(t=T(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,a=T.makeArray(t),o=i.length;o--;)((r=i[o]).selected=T.inArray(T.valHooks.option.get(r),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},m.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),m.focusin="onfocusin"in n;var It=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,r,i){var a,o,s,l,c,u,d,f,h=[r||b],g=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(o=f=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!It.test(g+T.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[T.expando]?e:new T.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:T.makeArray(t,[e]),d=T.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!v(r)){for(l=d.delegateType||g,It.test(l+g)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(r.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||n)}for(a=0;(o=h[a++])&&!e.isPropagationStopped();)f=o,e.type=a>1?l:d.bindType||g,(u=(X.get(o,"events")||Object.create(null))[e.type]&&X.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&Q(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!Q(r)||c&&y(r[g])&&!v(r)&&((s=r[c])&&(r[c]=null),T.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,xt),r[g](),e.isPropagationStopped()&&f.removeEventListener(g,xt),T.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),m.focusin||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=X.access(r,t);i||r.addEventListener(e,n,!0),X.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=X.access(r,t)-1;i?X.access(r,t,i):(r.removeEventListener(e,n,!0),X.remove(r,t))}}}));var wt=n.location,Tt={guid:Date.now()},Mt=/\?/;T.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||T.error("Invalid XML: "+(r?T.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var At=/\[\]$/,Ct=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function St(e,t,n,r){var i;if(Array.isArray(t))T.each(t,(function(t,i){n||At.test(e)?r(e,i):St(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==w(t))r(e,t);else for(i in t)St(e+"["+i+"]",t[i],n,r)}T.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){i(this.name,this.value)}));else for(n in e)St(n,e[n],t,i);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Nt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}})):{name:t.name,value:n.replace(Ct,"\r\n")}})).get()}});var kt=/%20/g,jt=/#.*$/,Dt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},zt={},_t="*/".concat("*"),Ut=b.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(z)||[];if(y(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Zt(e,t,n,r){var i={},a=e===zt;function o(s){var l;return i[s]=!0,T.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||i[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}return o(t.dataTypes[0])||!i["*"]&&o("*")}function Gt(e,t){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}Ut.href=wt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":_t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,T.ajaxSettings),t):Gt(T.ajaxSettings,e)},ajaxPrefilter:Ft(Rt),ajaxTransport:Ft(zt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,a,o,s,l,c,u,d,f,p=T.ajaxSetup({},t),h=p.context||p,g=p.context&&(h.nodeType||h.jquery)?T(h):T.event,m=T.Deferred(),y=T.Callbacks("once memory"),v=p.statusCode||{},I={},x={},w="canceled",M={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o)for(o={};t=Lt.exec(a);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,I[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)M.always(e[M.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||w;return r&&r.abort(t),A(0,t),this}};if(m.promise(M),p.url=((e||p.url||wt.href)+"").replace(Pt,wt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(z)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ut.protocol+"//"+Ut.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=T.param(p.data,p.traditional)),Zt(Rt,p,t,M),c)return M;for(d in(u=T.event&&p.global)&&0==T.active++&&T.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ot.test(p.type),i=p.url.replace(jt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(kt,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Mt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Dt,"$1"),f=(Mt.test(i)?"&":"?")+"_="+Tt.guid+++f),p.url=i+f),p.ifModified&&(T.lastModified[i]&&M.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&M.setRequestHeader("If-None-Match",T.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&M.setRequestHeader("Content-Type",p.contentType),M.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+_t+"; q=0.01":""):p.accepts["*"]),p.headers)M.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,M,p)||c))return M.abort();if(w="abort",y.add(p.complete),M.done(p.success),M.fail(p.error),r=Zt(zt,p,t,M)){if(M.readyState=1,u&&g.trigger("ajaxSend",[M,p]),c)return M;p.async&&p.timeout>0&&(s=n.setTimeout((function(){M.abort("timeout")}),p.timeout));try{c=!1,r.send(I,A)}catch(e){if(c)throw e;A(-1,e)}}else A(-1,"No Transport");function A(e,t,o,l){var d,f,b,I,x,w=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,a=l||"",M.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(I=function(e,t,n){for(var r,i,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)a=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==l[0]&&l.unshift(a),n[a]}(p,M,o)),!d&&T.inArray("script",p.dataTypes)>-1&&T.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),I=function(e,t,n,r){var i,a,o,s,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(a=u.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=c[l+" "+a]||c["* "+a]))for(i in c)if((s=i.split(" "))[1]===a&&(o=c[l+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[i]:!0!==c[i]&&(a=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(p,I,M,d),d?(p.ifModified&&((x=M.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=x),(x=M.getResponseHeader("etag"))&&(T.etag[i]=x)),204===e||"HEAD"===p.type?w="nocontent":304===e?w="notmodified":(w=I.state,f=I.data,d=!(b=I.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),M.status=e,M.statusText=(t||w)+"",d?m.resolveWith(h,[f,w,M]):m.rejectWith(h,[M,w,b]),M.statusCode(v),v=void 0,u&&g.trigger(d?"ajaxSuccess":"ajaxError",[M,p,d?f:b]),y.fireWith(h,[M,w]),u&&(g.trigger("ajaxComplete",[M,p]),--T.active||T.event.trigger("ajaxStop")))}return M},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:i,data:n,success:r},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Yt=T.ajaxSettings.xhr();m.cors=!!Yt&&"withCredentials"in Yt,m.ajax=Yt=!!Yt,T.ajaxTransport((function(e){var t,r;if(m.cors||Yt&&!e.crossDomain)return{send:function(i,a){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(o,i[o]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Bt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Wt,Ht=[],Vt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ht.pop()||T.expando+"_"+Tt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,r){var i,a,o,s=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Vt,"$1"+i):!1!==e.jsonp&&(e.url+=(Mt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||T.error(i+" was not called"),o[0]},e.dataTypes[0]="json",a=n[i],n[i]=function(){o=arguments},r.always((function(){void 0===a?T(n).removeProp(i):n[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,Ht.push(i)),o&&y(a)&&a(o[0]),o=a=void 0})),"script"})),m.createHTMLDocument=((Wt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Wt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),a=!n&&[],(i=k.exec(e))?[t.createElement(i[1])]:(i=we([e],t,a),a&&a.length&&T(a).remove(),T.merge([],i.childNodes)));var r,i,a},T.fn.load=function(e,t,n){var r,i,a,o=this,s=e.indexOf(" ");return s>-1&&(r=mt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),o.length>0&&T.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){a=arguments,o.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){o.each((function(){n.apply(this,a||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var r,i,a,o,s,l,c=T.css(e,"position"),u=T(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),a=T.css(e,"top"),l=T.css(e,"left"),("absolute"===c||"fixed"===c)&&(a+l).indexOf("auto")>-1?(o=(r=u.position()).top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(l)||0),y(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(d.top=t.top-s.top+o),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),i.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-T.css(r,"marginTop",!0),left:t.left-i.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ae}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return Y(this,(function(e,r,i){var a;if(v(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===i)return a?a[t]:e[r];a?a.scrollTo(n?a.pageXOffset:i,n?i:a.pageYOffset):e[r]=i}),e,r,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=Ye(m.pixelPosition,(function(e,n){if(n)return n=Be(e,t),Ue.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(i,a){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===a?"margin":"border");return Y(this,(function(t,n,i){var a;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?T.css(t,n,s):T.style(t,n,i,s)}),t,o?i:void 0,o)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var qt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||T.guid++,i},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=S,T.isFunction=y,T.isWindow=v,T.camelCase=q,T.type=w,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(qt,"")},void 0===(r=function(){return T}.apply(t,[]))||(e.exports=r);var Qt=n.jQuery,Jt=n.$;return T.noConflict=function(e){return n.$===T&&(n.$=Jt),e&&n.jQuery===T&&(n.jQuery=Qt),T},void 0===i&&(n.jQuery=n.$=T),T}))},function(e,t,n){"use strict";var r=n(23),i="object"==typeof self&&self&&self.Object===Object&&self,a=r.a||i||Function("return this")();t.a=a},function(e,t,n){!function(e){"use strict";function t(e){return null==e}function n(e){throw new Error("Argument "+e+" is empty.")}function r(e){return"function"==typeof e&&"getType"in e}function i(e){throw new Error("Argument "+e+' is invalid, it should be an action-creator instance from "typesafe-actions"')}function a(e,t){if(null==e)throw new Error("Argument contains array with empty element at index "+t);if(null==e.getType)throw new Error("Argument contains array with invalid element at index "+t+', it should be an action-creator instance from "typesafe-actions"')}function o(e){return"string"==typeof e||"symbol"==typeof e}function s(e){return!o(e)}function l(e){throw new Error("Argument "+e+" is invalid, it should be an action type of type: string | symbol")}function c(e,t){if(null==e)throw new Error("Argument contains array with empty element at index "+t);if("string"!=typeof e&&"symbol"!=typeof e)throw new Error("Argument contains array with invalid element at index "+t+", it should be of type: string | symbol")}function u(e,r,a,o){return t(e)&&n(1),s(e)&&i(1),{type:e,payload:r,meta:a,error:o}}function d(e,r){return t(e)&&n(1),s(e)&&l(1),Object.assign((function(){var t=null!=r?r.apply(void 0,arguments):void 0;return Object.assign({type:e},t)}),{getType:function(){return e},toString:function(){return e}})}function f(e,r,i){return t(e)&&n(1),s(e)&&l(1),function(){return d(e,(function(){var e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1];return null==r&&null==i||(e=null!=r?r.apply(void 0,arguments):void 0,t=null!=i?i.apply(void 0,arguments):void 0),Object.assign({},void 0!==e&&{payload:e},{},void 0!==t&&{meta:t})}))}}function p(e){return t(e)&&n(1),r(e)||i(1),e.getType()}function h(e,r){t(e)&&n(1),s(e)&&l(1);var i=null!=r?r(e):function(){return{type:e}};return Object.assign(i,{getType:function(){return e},toString:function(){return e}})}var g={createAction:function(e,t){var n=null==t?function(){return u(e)}:t(u.bind(null,e));return Object.assign(n,{getType:function(){return e},toString:function(){return e}})},createCustomAction:h,createStandardAction:function(e){return t(e)&&n(1),s(e)&&l(1),Object.assign((function(){return h(e,(function(e){return function(t,n){return{type:e,payload:t,meta:n}}}))}),{map:function(t){return h(e,(function(e){return function(n,r){return Object.assign(t(n,r),{type:e})}}))}})}};e.action=u,e.createAction=f,e.createAsyncAction=function(e,t,n,r){return function(){var i=[e,t,n,r].map((function(e,t){return Array.isArray(e)?f(e[0],e[1],e[2])():"string"==typeof e||"symbol"==typeof e?f(e)():void(t<3&&function(e){throw new Error("Argument "+e+' is invalid, it should be an action type of "string | symbol" or a tuple of "[string | symbol, Function, Function?]"')}(t))}));return{request:i[0],success:i[1],failure:i[2],cancel:i[3]}}},e.createCustomAction=d,e.createReducer=function e(t,n){void 0===n&&(n={});var i=Object.assign({},n),a=function(n,a){var s=Array.isArray(n)?n:[n],l={};return s.map((function(e,t){return r(e)?p(e):o(e)?e:function(e){throw new Error("Argument "+e+' is invalid, it should be an action-creator instance from "typesafe-actions" or action type of type: string | symbol')}(t+1)})).forEach((function(e){return l[e]=a})),e(t,Object.assign({},i,{},l))};return Object.assign((function(e,n){if(void 0===e&&(e=t),i.hasOwnProperty(n.type)){var r=i[n.type];if("function"!=typeof r)throw Error('Reducer under "'+n.type+'" key is not a valid reducer');return r(e,n)}return e}),{handlers:Object.assign({},i),handleAction:a,handleType:a})},e.deprecated=g,e.getType=p,e.isActionOf=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(a);var o=function(e){return i.some((function(t){return e.type===t.getType()}))};return void 0===r?o:o(r)},e.isOfType=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(c);var a=function(e){return i.includes(e.type)};return void 0===r?a:a(r)}}(t)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"f",(function(){return f})),n.d(t,"b",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return g})),n.d(t,"g",(function(){return v})),n.d(t,"i",(function(){return I})),n.d(t,"h",(function(){return x}));var r=n(3),i=n.n(r),a=n(40),o=n.n(a);const s={allowedTags:["img","br"],allowedAttributes:{img:["src","alt"]},allowedSchemes:["data"],exclusiveFilter:e=>"mathEditor"===e.attribs["data-js"]},l='img[src^="/math.svg?latex="]:not(img[src="/math.svg?latex="]), img[src^="data:image/svg+xml"]',c='img[src^="/screenshot/"], img[src^="data:image/png"], img[src^="data:image/gif"], img[src^="data:image/jpeg"]',u='img:not(img[src^="data"], img[src^="/math.svg?latex="], img[src^="/screenshot/"])';function d(e){return"DIV"===e.nodeName||"P"===e.nodeName}function f(e){return o()(function(e){const t=document.createElement("div");t.innerHTML=e;do{let e;for(let n=0;n<t.childNodes.length;n++){const r=t.childNodes[n];if(d(r)){for(e&&e.nodeType===Node.TEXT_NODE&&/\S/.test(e.textContent)&&t.insertBefore(document.createElement("br"),r),r.lastChild&&"BR"!==r.lastChild.nodeName&&r.insertBefore(document.createElement("br"),null);r.childNodes.length;)t.insertBefore(r.firstChild,r);t.removeChild(r)}e=r}}while(Array.prototype.some.call(t.childNodes,e=>d(e)));return t.innerHTML}(o()(function(e){return e.replace(new RegExp(document.location.origin,"g"),"")}(e),Object.assign(Object.assign({},s),{allowedTags:["div","p","img","br"]}))),s)}function p(e,t){const n=e.selectionStart,r=e.selectionEnd;let i=e.value;e.value=i.substring(0,n)+t+i.substring(r,i.length),e.selectionStart=e.selectionEnd=n+t.length}function h(e,t){return y(e,!e.altKey&&!e.shiftKey&&!e.ctrlKey&&m(e,t))}function g(e,t){return y(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&m(e,t))}function m(e,t){return"string"==typeof t?e.key===t:e.keyCode===t}function y(e,t){return t&&e.preventDefault(),t}function v(e){const t=i()(e),n=t.find('[data-js="mathEditor"]');n.hide();const r=t.get(0).innerText;n.show();const a=f(t.html());return{answerHTML:r.trim().length+t.find(l).length+t.find(c).length===0?"":(s=a,s.replace(/^(\n|<br ?\/?>)*/g,"").replace(/(\s|<br ?\/?>)*$/g,"")),answerText:b(r),imageCount:(o=i()(`<div>${a}</div>`),o.find(c).length)};var o,s}function b(e){return e.replace(/^(\n)*/g,"").replace(/(\s)*$/g,"")}function I(e){const t=document.createRange(),n=e.get(0);t.setStartAfter(n);const r=window.getSelection();r.removeAllRanges(),r.addRange(t)}function x(e){const t=i()(window),n=t.height()-40,r=n+t.scrollTop(),a=e.offset().top+e.height();r<a&&t.scrollTop(a-n)}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(88)},function(e,t,n){"use strict";(function(e){var r=n(23),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===i&&r.a.process,s=function(){try{var e=a&&a.require&&a.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();t.a=s}).call(this,n(17)(e))},function(e,t,n){"use strict";let r,i,a,{isClean:o,my:s}=n(29),l=n(18),c=n(22),u=n(19);class d extends u{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],n=e(this.proxyOf.nodes[t],t),!1!==n);)this.indexes[r]+=1;return delete this.indexes[r],n}walk(e){return this.each((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)}):this.walk((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("decl"===e.type)return t(e,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)}):this.walk((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("rule"===e.type)return t(e,n)}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)}):this.walk((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("atrule"===e.type)return t(e,n)}))}walkComments(e){return this.walk((t,n)=>{if("comment"===t.type)return e(t,n)})}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let n,r=0===(e=this.index(e))&&"prepend",i=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of i)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)n=this.indexes[t],e<=n&&(this.indexes[t]=n+i.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let n,r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)n=this.indexes[t],e<n&&(this.indexes[t]=n+r.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(r(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new a(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new c(e)]}return e.map(e=>(e[s]||d.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[o]&&function e(t){if(t[o]=!1,t.proxyOf.nodes)for(let n of t.proxyOf.nodes)e(n)}(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this,e))}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map(e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e)):"every"===t||"some"===t?n=>e[t]((e,...t)=>n(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}d.registerParse=e=>{r=e},d.registerRule=e=>{i=e},d.registerAtRule=e=>{a=e},e.exports=d,d.default=d,d.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,a.prototype):"rule"===e.type?Object.setPrototypeOf(e,i.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type&&Object.setPrototypeOf(e,c.prototype),e[s]=!0,e.nodes&&e.nodes.forEach(e=>{d.rebuild(e)})}},function(e,t,n){"use strict";(function(e){var r=n(4),i=n(66),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===a?r.a.Buffer:void 0,l=(s?s.isBuffer:void 0)||i.a;t.a=l}).call(this,n(17)(e))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isComment=t.isText=t.isCDATA=t.isTag=void 0;var r=n(53);t.isTag=function(e){return r.isTag(e)},t.isCDATA=function(e){return"cdata"===e.type},t.isText=function(e){return"text"===e.type},t.isComment=function(e){return"comment"===e.type},t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")}},function(e,t,n){"use strict";let r,i,a=n(10);class o extends a{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}toResult(e={}){return new r(new i,this,e).stringify()}}o.registerLazyResult=e=>{r=e},o.registerProcessor=e=>{i=e},e.exports=o,o.default=o},function(e,t,n){"use strict";(function(e,r){
30
+ function(e){var t,n,r,i,a,o,s,l,c,u,d,f,p,h,g,m,y,v,b,I="sizzle"+1*new Date,x=e.document,w=0,T=0,M=le(),A=le(),C=le(),E=le(),N=function(e,t){return e===t&&(d=!0),0},S={}.hasOwnProperty,k=[],j=k.pop,D=k.push,L=k.push,O=k.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="[\\x20\\t\\r\\n\\f]",_="(?:\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\["+z+"*("+_+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+_+"))|)"+z+"*\\]",Z=":("+_+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",F=new RegExp(z+"+","g"),G=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),B=new RegExp("^"+z+"*,"+z+"*"),Y=new RegExp("^"+z+"*([>+~]|"+z+")"+z+"*"),W=new RegExp(z+"|>"),H=new RegExp(Z),V=new RegExp("^"+_+"$"),q={ID:new RegExp("^#("+_+")"),CLASS:new RegExp("^\\.("+_+")"),TAG:new RegExp("^("+_+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){f()},oe=Ie((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{L.apply(k=O.call(x.childNodes),x.childNodes),k[x.childNodes.length].nodeType}catch(e){L={apply:k.length?function(e,t){D.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var a,s,c,u,d,h,y,v=t&&t.ownerDocument,x=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return r;if(!i&&(f(t),t=t||p,g)){if(11!==x&&(d=$.exec(e)))if(a=d[1]){if(9===x){if(!(c=t.getElementById(a)))return r;if(c.id===a)return r.push(c),r}else if(v&&(c=v.getElementById(a))&&b(t,c)&&c.id===a)return r.push(c),r}else{if(d[2])return L.apply(r,t.getElementsByTagName(e)),r;if((a=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&!E[e+" "]&&(!m||!m.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(y=e,v=t,1===x&&(W.test(e)||Y.test(e))){for((v=ee.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ie):t.setAttribute("id",u=I)),s=(h=o(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+be(h[s]);y=h.join(",")}try{return L.apply(r,v.querySelectorAll(y)),r}catch(t){E(e,!0)}finally{u===I&&t.removeAttribute("id")}}}return l(e.replace(G,"$1"),t,r,i)}function le(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[I]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},a=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:x;return o!=p&&9===o.nodeType&&o.documentElement?(h=(p=o).documentElement,g=!a(p),x!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ae,!1):i.attachEvent&&i.attachEvent("onunload",ae)),n.scope=ue((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(p.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=I,!p.getElementsByName||!p.getElementsByName(I).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(i=t.getElementsByName(e),r=0;a=i[r++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],m=[],(n.qsa=K.test(p.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+z+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+z+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+I+"-]").length||m.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+z+"*name"+z+"*="+z+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+I+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+z+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=K.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),y.push("!=",Z)})),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),t=K.test(h.compareDocumentPosition),b=t||K.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},N=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==x&&b(x,e)?-1:t==p||t.ownerDocument==x&&b(x,t)?1:u?P(u,e)-P(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!i||!a)return e==p?-1:t==p?1:i?-1:a?1:u?P(u,e)-P(u,t):0;if(i===a)return fe(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?fe(o[r],s[r]):o[r]==x?-1:s[r]==x?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&g&&!E[t+" "]&&(!y||!y.test(t))&&(!m||!m.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){E(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var i=r.attrHandle[t.toLowerCase()],a=i&&S.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==a?a:n.attributes||!g?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,a=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(N),d){for(;t=e[a++];)t===e[a]&&(i=r.push(a));for(;i--;)e.splice(r[i],1)}return u=null,e},i=se.getText=function(e){var t,n="",r=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&H.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=M[e+" "];return t||(t=new RegExp("(^|"+z+")"+e+"("+z+"|$)"))&&M(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h,g=a!==o?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s,b=!1;if(m){if(a){for(;g;){for(f=t;f=f[g];)if(s?f.nodeName.toLowerCase()===y:1===f.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?m.firstChild:m.lastChild],o&&v){for(b=(p=(c=(u=(d=(f=m)[I]||(f[I]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===w&&c[1])&&c[2],f=p&&m.childNodes[p];f=++p&&f&&f[g]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){u[e]=[w,p,b];break}}else if(v&&(b=p=(c=(u=(d=(f=t)[I]||(f[I]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===w&&c[1]),!1===b)for(;(f=++p&&f&&f[g]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==y:1!==f.nodeType)||!++b||(v&&((u=(d=f[I]||(f[I]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[w,b]),f!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[I]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,a=i(e,t),o=a.length;o--;)e[r=P(e,a[o])]=!(n[r]=a[o])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(G,"$1"));return r[I]?ce((function(e,t,n,i){for(var a,o=r(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))})):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return V.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,n){return[n<0?n+t:n]})),even:me((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:me((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:me((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:me((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ve(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function Ie(e,t,n){var r=t.dir,i=t.next,a=i||r,o=n&&"parentNode"===a,s=T++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i);return!1}:function(t,n,l){var c,u,d,f=[w,s];if(l){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||o)if(u=(d=t[I]||(t[I]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[a])&&c[0]===w&&c[1]===s)return f[2]=c[2];if(u[a]=f,f[2]=e(t,n,l))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,i){for(var a,o=[],s=0,l=e.length,c=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,r,i)||(o.push(a),c&&t.push(s)));return o}function Te(e,t,n,r,i,a){return r&&!r[I]&&(r=Te(r)),i&&!i[I]&&(i=Te(i,a)),ce((function(a,o,s,l){var c,u,d,f=[],p=[],h=o.length,g=a||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!a&&t?g:we(g,f,e,s,l),y=n?i||(a?e:h||r)?[]:o:m;if(n&&n(m,y,s,l),r)for(c=we(y,p),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(y[p[u]]=!(m[p[u]]=d));if(a){if(i||e){if(i){for(c=[],u=y.length;u--;)(d=y[u])&&c.push(m[u]=d);i(null,y=[],c,l)}for(u=y.length;u--;)(d=y[u])&&(c=i?P(a,d):f[u])>-1&&(a[c]=!(o[c]=d))}}else y=we(y===o?y.splice(h,y.length):y),i?i(null,o,y,l):L.apply(o,y)}))}function Me(e){for(var t,n,i,a=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],l=o?1:0,u=Ie((function(e){return e===t}),s,!0),d=Ie((function(e){return P(t,e)>-1}),s,!0),f=[function(e,n,r){var i=!o&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,i}];l<a;l++)if(n=r.relative[e[l].type])f=[Ie(xe(f),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[I]){for(i=++l;i<a&&!r.relative[e[i].type];i++);return Te(l>1&&xe(f),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(G,"$1"),n,l<i&&Me(e.slice(l,i)),i<a&&Me(e=e.slice(i)),i<a&&be(e))}f.push(n)}return xe(f)}return ve.prototype=r.filters=r.pseudos,r.setFilters=new ve,o=se.tokenize=function(e,t){var n,i,a,o,s,l,c,u=A[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=r.preFilter;s;){for(o in n&&!(i=B.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(a=[])),n=!1,(i=Y.exec(s))&&(n=i.shift(),a.push({value:n,type:i[0].replace(G," ")}),s=s.slice(n.length)),r.filter)!(i=q[o].exec(s))||c[o]&&!(i=c[o](i))||(n=i.shift(),a.push({value:n,type:o,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):A(e,l).slice(0)},s=se.compile=function(e,t){var n,i=[],a=[],s=C[e+" "];if(!s){for(t||(t=o(e)),n=t.length;n--;)(s=Me(t[n]))[I]?i.push(s):a.push(s);(s=C(e,function(e,t){var n=t.length>0,i=e.length>0,a=function(a,o,s,l,u){var d,h,m,y=0,v="0",b=a&&[],I=[],x=c,T=a||i&&r.find.TAG("*",u),M=w+=null==x?1:Math.random()||.1,A=T.length;for(u&&(c=o==p||o||u);v!==A&&null!=(d=T[v]);v++){if(i&&d){for(h=0,o||d.ownerDocument==p||(f(d),s=!g);m=e[h++];)if(m(d,o||p,s)){l.push(d);break}u&&(w=M)}n&&((d=!m&&d)&&y--,a&&b.push(d))}if(y+=v,n&&v!==y){for(h=0;m=t[h++];)m(b,I,o,s);if(a){if(y>0)for(;v--;)b[v]||I[v]||(I[v]=j.call(l));I=we(I)}L.apply(l,I),u&&!a&&I.length>0&&y+t.length>1&&se.uniqueSort(l)}return u&&(w=M,c=x),b};return n?ce(a):a}(a,i))).selector=e}return s},l=se.select=function(e,t,n,i){var a,l,c,u,d,f="function"==typeof e&&e,p=!i&&o(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&g&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(a=q.needsContext.test(e)?0:l.length;a--&&(c=l[a],!r.relative[u=c.type]);)if((d=r.find[u])&&(i=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ye(t.parentNode)||t))){if(l.splice(a,1),!(e=i.length&&be(l)))return L.apply(n,i),n;break}}return(f||s(e,p))(i,t,!g,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=I.split("").sort(N).join("")===I,n.detectDuplicates=!!d,f(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(R,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);T.find=A,T.expr=A.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=A.uniqueSort,T.text=A.getText,T.isXMLDoc=A.isXML,T.contains=A.contains,T.escapeSelector=A.escape;var C=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(n))break;r.push(e)}return r},E=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=T.expr.match.needsContext;function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var k=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return y(t)?T.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return u.call(t,e)>-1!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<r;t++)if(T.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,i[t],n);return r>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&N.test(e)?T(e):e||[],!1).length}});var D,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),k.test(r[1])&&T.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,D=T(b);var O=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,a=[],o="string"!=typeof e&&T(e);if(!N.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?T.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?u.call(T(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return E((e.parentNode||{}).firstChild,e)},children:function(e){return E(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,r){var i=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=T.filter(r,i)),this.length>1&&(P[e]||T.uniqueSort(i),O.test(e)&&i.reverse()),this.pushStack(i)}}));var z=/[^\x20\t\r\n\f]+/g;function _(e){return e}function U(e){throw e}function Z(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(z)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,i,a=[],o=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s<a.length;)!1===a[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:"")},c={add:function(){return a&&(n&&!t&&(s=a.length-1,o.push(n)),function t(n){T.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||a.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;(n=T.inArray(t,a,n))>-1;)a.splice(n,1),n<=s&&s--})),this},has:function(e){return e?T.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=o=[],n||t||(a=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(n){T.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];a[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var a=0;function o(e,t,r,i){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<a)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(c)?i?c.call(n,o(a,t,_,i),o(a,t,U,i)):(a++,c.call(n,o(a,t,_,i),o(a,t,U,i),o(a,t,_,t.notifyWith))):(r!==_&&(s=void 0,l=[n]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,u.stackTrace),e+1>=a&&(r!==U&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(T.Deferred.getStackHook&&(u.stackTrace=T.Deferred.getStackHook()),n.setTimeout(u))}}return T.Deferred((function(n){t[0][3].add(o(0,n,y(i)?i:_,n.notifyWith)),t[1][3].add(o(0,n,y(e)?e:_)),t[2][3].add(o(0,n,y(r)?r:U))})).promise()},promise:function(e){return null!=e?T.extend(e,i):i}},a={};return T.each(t,(function(e,n){var o=n[2],s=n[5];i[n[1]]=o.add,s&&o.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith})),i.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),a=T.Deferred(),o=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&(Z(e,a.done(o(n)).resolve,a.reject,!t),"pending"===a.state()||y(i[n]&&i[n].then)))return a.then();for(;n--;)Z(i[n],o(n),a.reject);return a.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&F.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){n.setTimeout((function(){throw e}))};var G=T.Deferred();function B(){b.removeEventListener("DOMContentLoaded",B),n.removeEventListener("load",B),T.ready()}T.fn.ready=function(e){return G.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||G.resolveWith(b,[T]))}}),T.ready.then=G.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",B),n.addEventListener("load",B));var Y=function(e,t,n,r,i,a,o){var s=0,l=e.length,c=null==n;if("object"===w(n))for(s in i=!0,n)Y(e,t,s,n[s],!0,a,o);else if(void 0!==r&&(i=!0,y(r)||(o=!0),c&&(o?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(T(e),n)})),t))for(;s<l;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):a},W=/^-ms-/,H=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function q(e){return e.replace(W,"ms-").replace(H,V)}var Q=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function J(){this.expando=T.expando+J.uid++}J.uid=1,J.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[q(t)]=n;else for(r in t)i[q(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][q(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(q):(t=q(t))in r?[t]:t.match(z)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var X=new J,K=new J,$=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:$.test(e)?JSON.parse(e):e)}(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return K.hasData(e)||X.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return X.access(e,t,n)},_removeData:function(e,t){X.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=K.get(a),1===a.nodeType&&!X.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(r=o[n].name).indexOf("data-")&&(r=q(r.slice(5)),te(a,r,i[r]));X.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){K.set(this,e)})):Y(this,(function(t){var n;if(a&&void 0===t)return void 0!==(n=K.get(a,e))||void 0!==(n=te(a,e))?n:void 0;this.each((function(){K.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){K.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=X.get(e,t),n&&(!r||Array.isArray(n)?r=X.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,i=n.shift(),a=T._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,(function(){T.dequeue(e,t)}),a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return X.get(e,n)||X.access(e,n,{empty:T.Callbacks("once memory").add((function(){X.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=T.Deferred(),a=this,o=this.length,s=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=X.get(a[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,oe=function(e){return T.contains(e.ownerDocument,e)},se={composed:!0};ae.getRootNode&&(oe=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===T.css(e,"display")};function ce(e,t,n,r){var i,a,o=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},l=s(),c=n&&n[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==c&&+l)&&re.exec(T.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;o--;)T.style(e,t,u+c),(1-a)*(1-(a=s()/l||.5))<=0&&(o=0),u/=a;u*=2,T.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var ue={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,i=ue[r];return i||(t=n.body.appendChild(n.createElement(r)),i=T.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ue[r]=i,i)}function fe(e,t){for(var n,r,i=[],a=0,o=e.length;a<o;a++)(r=e[a]).style&&(n=r.style.display,t?("none"===n&&(i[a]=X.get(r,"display")||null,i[a]||(r.style.display="")),""===r.style.display&&le(r)&&(i[a]=de(r))):"none"!==n&&(i[a]="none",X.set(r,"display",n)));for(a=0;a<o;a++)null!=i[a]&&(e[a].style.display=i[a]);return e}T.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?T(this).show():T(this).hide()}))}});var pe,he,ge=/^(?:checkbox|radio)$/i,me=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;pe=b.createDocumentFragment().appendChild(b.createElement("div")),(he=b.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),pe.appendChild(he),m.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="<option></option>",m.option=!!pe.lastChild;var ve={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?T.merge([e],n):n}function Ie(e,t){for(var n=0,r=e.length;n<r;n++)X.set(e[n],"globalEval",!t||X.get(t[n],"globalEval"))}ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td,m.option||(ve.optgroup=ve.option=[1,"<select multiple='multiple'>","</select>"]);var xe=/<|&#?\w+;/;function we(e,t,n,r,i){for(var a,o,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((a=e[p])||0===a)if("object"===w(a))T.merge(f,a.nodeType?[a]:a);else if(xe.test(a)){for(o=o||d.appendChild(t.createElement("div")),s=(me.exec(a)||["",""])[1].toLowerCase(),l=ve[s]||ve._default,o.innerHTML=l[1]+T.htmlPrefilter(a)+l[2],u=l[0];u--;)o=o.lastChild;T.merge(f,o.childNodes),(o=d.firstChild).textContent=""}else f.push(t.createTextNode(a));for(d.textContent="",p=0;a=f[p++];)if(r&&T.inArray(a,r)>-1)i&&i.push(a);else if(c=oe(a),o=be(d.appendChild(a),"script"),c&&Ie(o),n)for(u=0;a=o[u++];)ye.test(a.type||"")&&n.push(a);return d}var Te=/^([^.]*)(?:\.(.+)|)/;function Me(){return!0}function Ae(){return!1}function Ce(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,i,a){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ae;else if(!i)return e;return 1===a&&(o=i,(i=function(e){return T().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=T.guid++)),e.each((function(){T.event.add(this,t,i,r,n)}))}function Ne(e,t,n){n?(X.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,i,a=X.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=s.call(arguments),X.set(this,t,a),r=n(this,t),this[t](),a!==(i=X.get(this,t))||r?X.set(this,t,!1):i={},a!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else a.length&&(X.set(this,t,{value:T.event.trigger(T.extend(a[0],T.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===X.get(e,t)&&T.event.add(e,t,Me)}T.event={global:{},add:function(e,t,n,r,i){var a,o,s,l,c,u,d,f,p,h,g,m=X.get(e);if(Q(e))for(n.handler&&(n=(a=n).handler,i=a.selector),i&&T.find.matchesSelector(ae,i),n.guid||(n.guid=T.guid++),(l=m.events)||(l=m.events=Object.create(null)),(o=m.handle)||(o=m.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(z)||[""]).length;c--;)p=g=(s=Te.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=T.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=T.event.special[p]||{},u=T.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:h.join(".")},a),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,u):f.push(u),T.event.global[p]=!0)},remove:function(e,t,n,r,i){var a,o,s,l,c,u,d,f,p,h,g,m=X.hasData(e)&&X.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(z)||[""]).length;c--;)if(p=g=(s=Te.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=T.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=f.length;a--;)u=f[a],!i&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(a,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));o&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||T.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)T.event.remove(e,p+t[c],n,r,!0);T.isEmptyObject(l)&&X.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,a,o,s=new Array(arguments.length),l=T.event.fix(e),c=(X.get(this,"events")||Object.create(null))[l.type]||[],u=T.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(o=T.event.handlers.call(this,l,c),t=0;(i=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==a.namespace&&!l.rnamespace.test(a.namespace)||(l.handleObj=a,l.data=a.data,void 0!==(r=((T.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,a,o,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],o={},n=0;n<l;n++)void 0===o[i=(r=t[n]).selector+" "]&&(o[i]=r.needsContext?T(i,this).index(c)>-1:T.find(i,this,null,[c]).length),o[i]&&a.push(r);a.length&&s.push({elem:c,handlers:a})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&S(t,"input")&&Ne(t,"click",Me),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&S(t,"input")&&Ne(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&S(t,"input")&&X.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Me:Ae,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Ae,isPropagationStopped:Ae,isImmediatePropagationStopped:Ae,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Me,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Me,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Me,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){T.event.special[e]={setup:function(){return Ne(this,e,Ce),!1},trigger:function(){return Ne(this,e),!0},_default:function(){return!0},delegateType:t}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===r||T.contains(r,i))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ae),this.each((function(){T.event.remove(this,e,n,t)}))}});var Se=/<script|<style|<link/i,ke=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function De(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,a,o,s;if(1===t.nodeType){if(X.hasData(e)&&(s=X.get(e).events))for(i in X.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)T.event.add(t,i,s[i][n]);K.hasData(e)&&(a=K.access(e),o=T.extend({},a),K.set(t,o))}}function Re(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function ze(e,t,n,r){t=l(t);var i,a,o,s,c,u,d=0,f=e.length,p=f-1,h=t[0],g=y(h);if(g||f>1&&"string"==typeof h&&!m.checkClone&&ke.test(h))return e.each((function(i){var a=e.eq(i);g&&(t[0]=h.call(this,i,a.html())),ze(a,t,n,r)}));if(f&&(a=(i=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(s=(o=T.map(be(i,"script"),Le)).length;d<f;d++)c=i,d!==p&&(c=T.clone(c,!0,!0),s&&T.merge(o,be(c,"script"))),n.call(e[d],c,d);if(s)for(u=o[o.length-1].ownerDocument,T.map(o,Oe),d=0;d<s;d++)c=o[d],ye.test(c.type||"")&&!X.access(c,"globalEval")&&T.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?T._evalUrl&&!c.noModule&&T._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(je,""),c,u))}return e}function _e(e,t,n){for(var r,i=t?T.filter(t,e):e,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||T.cleanData(be(r)),r.parentNode&&(n&&oe(r)&&Ie(be(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,a,o,s=e.cloneNode(!0),l=oe(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(o=be(s),r=0,i=(a=be(e)).length;r<i;r++)Re(a[r],o[r]);if(t)if(n)for(a=a||be(e),o=o||be(s),r=0,i=a.length;r<i;r++)Pe(a[r],o[r]);else Pe(e,s);return(o=be(s,"script")).length>0&&Ie(o,!l&&be(e,"script")),s},cleanData:function(e){for(var t,n,r,i=T.event.special,a=0;void 0!==(n=e[a]);a++)if(Q(n)){if(t=n[X.expando]){if(t.events)for(r in t.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[X.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),T.fn.extend({detach:function(e){return _e(this,e,!0)},remove:function(e){return _e(this,e)},text:function(e){return Y(this,(function(e){return void 0===e?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return ze(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)}))},prepend:function(){return ze(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return Y(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Se.test(e)&&!ve[(me.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return ze(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(be(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=[],i=T(e),a=i.length-1,o=0;o<=a;o++)n=o===a?this:this.clone(!0),T(i[o])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Ue=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Fe=function(e,t,n){var r,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=a[i];return r},Ge=new RegExp(ie.join("|"),"i");function Be(e,t,n){var r,i,a,o,s=e.style;return(n=n||Ze(e))&&(""!==(o=n.getPropertyValue(t)||n[t])||oe(e)||(o=T.style(e,t)),!m.pixelBoxStyles()&&Ue.test(o)&&Ge.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a)),void 0!==o?o+"":o}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",o=36===t(e.right),i=36===t(e.width),u.style.position="absolute",a=12===t(u.offsetWidth/3),ae.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,i,a,o,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,T.extend(m,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),a},reliableTrDimensions:function(){var e,t,r,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),r=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",ae.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var We=["Webkit","Moz","ms"],He=b.createElement("div").style,Ve={};function qe(e){var t=T.cssProps[e]||Ve[e];return t||(e in He?e:Ve[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=We.length;n--;)if((e=We[n]+t)in He)return e}(e)||e)}var Qe=/^(none|table(?!-c[ea]).+)/,Je=/^--/,Xe={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function $e(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,i,a){var o="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(l+=T.css(e,n+ie[o],!0,i)),r?("content"===n&&(l-=T.css(e,"padding"+ie[o],!0,i)),"margin"!==n&&(l-=T.css(e,"border"+ie[o]+"Width",!0,i))):(l+=T.css(e,"padding"+ie[o],!0,i),"padding"!==n?l+=T.css(e,"border"+ie[o]+"Width",!0,i):s+=T.css(e,"border"+ie[o]+"Width",!0,i));return!r&&a>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l}function tt(e,t,n){var r=Ze(e),i=(!m.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),a=i,o=Be(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(o)){if(!n)return o;o="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&S(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===T.css(e,"boxSizing",!1,r),(a=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+et(e,t,n||(i?"border":"content"),a,r,o)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Be(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=q(t),l=Je.test(t),c=e.style;if(l||(t=qe(s)),o=T.cssHooks[t]||T.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:c[t];"string"===(a=typeof n)&&(i=re.exec(n))&&i[1]&&(n=ce(e,t,i),a="number"),null!=n&&n==n&&("number"!==a||l||(n+=i&&i[3]||(T.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,a,o,s=q(t);return Je.test(t)||(t=qe(s)),(o=T.cssHooks[t]||T.cssHooks[s])&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=Be(e,t,r)),"normal"===i&&t in Ke&&(i=Ke[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!Qe.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):Fe(e,Xe,(function(){return tt(e,t,r)}))},set:function(e,n,r){var i,a=Ze(e),o=!m.scrollboxSize()&&"absolute"===a.position,s=(o||r)&&"border-box"===T.css(e,"boxSizing",!1,a),l=r?et(e,t,r,s,a):0;return s&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-et(e,t,"border",!1,a)-.5)),l&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),$e(0,n,l)}}})),T.cssHooks.marginLeft=Ye(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-Fe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=a[r]||a[r-2]||a[0];return i}},"margin"!==e&&(T.cssHooks[e+t].set=$e)})),T.fn.extend({css:function(e,t){return Y(this,(function(e,t,n){var r,i,a={},o=0;if(Array.isArray(t)){for(r=Ze(e),i=t.length;o<i;o++)a[t[o]]=T.css(e,t[o],!1,r);return a}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(T.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[qe(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=nt.prototype.init,T.fx.step={};var rt,it,at=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function st(){it&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(st):n.setTimeout(st,T.fx.interval),T.fx.tick())}function lt(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,t,e))return r}function dt(e,t,n){var r,i,a=0,o=dt.prefilters.length,s=T.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=rt||lt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),a=0,o=c.tweens.length;a<o;a++)c.tweens[a].run(r);return s.notifyWith(e,[c,r,n]),r<1&&o?n:(o||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,i,a,o;for(n in e)if(i=t[r=q(n)],a=e[n],Array.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),(o=T.cssHooks[r])&&"expand"in o)for(n in a=o.expand(a),delete e[r],a)n in e||(e[n]=a[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);a<o;a++)if(r=dt.prefilters[a].call(c,e,u,c.opts))return y(r.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return T.map(u,ut,c),y(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),T.fx.timer(T.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(z);for(var n,r=0,i=e.length;r<i;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,a,o,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,g=e.nodeType&&le(e),m=X.get(e,"fxshow");for(r in n.queue||(null==(o=T._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,f.always((function(){f.always((function(){o.unqueued--,T.queue(e,"fx").length||o.empty.fire()}))}))),t)if(i=t[r],at.test(i)){if(delete t[r],a=a||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||T.style(e,r)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=X.get(e,"display")),"none"===(u=T.css(e,"display"))&&(c?u=c:(fe([e],!0),c=e.style.display||c,u=T.css(e,"display"),fe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===T.css(e,"float")&&(l||(f.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=X.access(e,"fxshow",{display:c}),a&&(m.hidden=!g),g&&fe([e],!0),f.done((function(){for(r in g||fe([e]),X.remove(e,"fxshow"),p)T.style(e,r,p[r])}))),l=ut(g?m[r]:0,r,f),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=T.isEmptyObject(e),a=T.speed(t,n,r),o=function(){var t=dt(this,T.extend({},e),a);(i||X.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",a=T.timers,o=X.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&ot.test(i)&&r(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(n),t=!1,a.splice(i,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=X.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],a=T.timers,o=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,i)}})),T.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),rt=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){it||(it=!0,st())},T.fx.stop=function(){it=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var ft,pt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return Y(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?T.prop(e,t,n):(1===a&&T.isXMLDoc(e)||(i=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&S(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(z);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||T.find.attr;pt[t]=function(e,t,r){var i,a,o=t.toLowerCase();return r||(a=pt[o],pt[o]=i,i=null!=n(e,t,r)?o:null,pt[o]=a),i}}));var ht=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function mt(e){return(e.match(z)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(z)||[]}T.fn.extend({prop:function(e,t){return Y(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,r,i,a,o,s,l=0;if(y(e))return this.each((function(t){T(this).addClass(e.call(this,t,yt(this)))}));if((t=vt(e)).length)for(;n=this[l++];)if(i=yt(n),r=1===n.nodeType&&" "+mt(i)+" "){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");i!==(s=mt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,a,o,s,l=0;if(y(e))return this.each((function(t){T(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;n=this[l++];)if(i=yt(n),r=1===n.nodeType&&" "+mt(i)+" "){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");i!==(s=mt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,i,a,o;if(r)for(i=0,a=T(this),o=vt(e);t=o[i++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&X.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":X.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+mt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;T.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,T(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:mt(T.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?a+1:i.length;for(r=a<0?l:o?a:0;r<l;r++)if(((n=i[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(t=T(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,a=T.makeArray(t),o=i.length;o--;)((r=i[o]).selected=T.inArray(T.valHooks.option.get(r),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},m.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),m.focusin="onfocusin"in n;var It=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,r,i){var a,o,s,l,c,u,d,f,h=[r||b],g=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(o=f=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!It.test(g+T.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[T.expando]?e:new T.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:T.makeArray(t,[e]),d=T.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!v(r)){for(l=d.delegateType||g,It.test(l+g)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(r.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||n)}for(a=0;(o=h[a++])&&!e.isPropagationStopped();)f=o,e.type=a>1?l:d.bindType||g,(u=(X.get(o,"events")||Object.create(null))[e.type]&&X.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&Q(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!Q(r)||c&&y(r[g])&&!v(r)&&((s=r[c])&&(r[c]=null),T.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,xt),r[g](),e.isPropagationStopped()&&f.removeEventListener(g,xt),T.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),m.focusin||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=X.access(r,t);i||r.addEventListener(e,n,!0),X.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=X.access(r,t)-1;i?X.access(r,t,i):(r.removeEventListener(e,n,!0),X.remove(r,t))}}}));var wt=n.location,Tt={guid:Date.now()},Mt=/\?/;T.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||T.error("Invalid XML: "+(r?T.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var At=/\[\]$/,Ct=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function St(e,t,n,r){var i;if(Array.isArray(t))T.each(t,(function(t,i){n||At.test(e)?r(e,i):St(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==w(t))r(e,t);else for(i in t)St(e+"["+i+"]",t[i],n,r)}T.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){i(this.name,this.value)}));else for(n in e)St(n,e[n],t,i);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Nt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}})):{name:t.name,value:n.replace(Ct,"\r\n")}})).get()}});var kt=/%20/g,jt=/#.*$/,Dt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},zt={},_t="*/".concat("*"),Ut=b.createElement("a");function Zt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(z)||[];if(y(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ft(e,t,n,r){var i={},a=e===zt;function o(s){var l;return i[s]=!0,T.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||i[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}return o(t.dataTypes[0])||!i["*"]&&o("*")}function Gt(e,t){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}Ut.href=wt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":_t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,T.ajaxSettings),t):Gt(T.ajaxSettings,e)},ajaxPrefilter:Zt(Rt),ajaxTransport:Zt(zt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,a,o,s,l,c,u,d,f,p=T.ajaxSetup({},t),h=p.context||p,g=p.context&&(h.nodeType||h.jquery)?T(h):T.event,m=T.Deferred(),y=T.Callbacks("once memory"),v=p.statusCode||{},I={},x={},w="canceled",M={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o)for(o={};t=Lt.exec(a);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,I[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)M.always(e[M.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||w;return r&&r.abort(t),A(0,t),this}};if(m.promise(M),p.url=((e||p.url||wt.href)+"").replace(Pt,wt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(z)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ut.protocol+"//"+Ut.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=T.param(p.data,p.traditional)),Ft(Rt,p,t,M),c)return M;for(d in(u=T.event&&p.global)&&0==T.active++&&T.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ot.test(p.type),i=p.url.replace(jt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(kt,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Mt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Dt,"$1"),f=(Mt.test(i)?"&":"?")+"_="+Tt.guid+++f),p.url=i+f),p.ifModified&&(T.lastModified[i]&&M.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&M.setRequestHeader("If-None-Match",T.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&M.setRequestHeader("Content-Type",p.contentType),M.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+_t+"; q=0.01":""):p.accepts["*"]),p.headers)M.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,M,p)||c))return M.abort();if(w="abort",y.add(p.complete),M.done(p.success),M.fail(p.error),r=Ft(zt,p,t,M)){if(M.readyState=1,u&&g.trigger("ajaxSend",[M,p]),c)return M;p.async&&p.timeout>0&&(s=n.setTimeout((function(){M.abort("timeout")}),p.timeout));try{c=!1,r.send(I,A)}catch(e){if(c)throw e;A(-1,e)}}else A(-1,"No Transport");function A(e,t,o,l){var d,f,b,I,x,w=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,a=l||"",M.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(I=function(e,t,n){for(var r,i,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)a=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==l[0]&&l.unshift(a),n[a]}(p,M,o)),!d&&T.inArray("script",p.dataTypes)>-1&&T.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),I=function(e,t,n,r){var i,a,o,s,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(a=u.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=c[l+" "+a]||c["* "+a]))for(i in c)if((s=i.split(" "))[1]===a&&(o=c[l+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[i]:!0!==c[i]&&(a=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(p,I,M,d),d?(p.ifModified&&((x=M.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=x),(x=M.getResponseHeader("etag"))&&(T.etag[i]=x)),204===e||"HEAD"===p.type?w="nocontent":304===e?w="notmodified":(w=I.state,f=I.data,d=!(b=I.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),M.status=e,M.statusText=(t||w)+"",d?m.resolveWith(h,[f,w,M]):m.rejectWith(h,[M,w,b]),M.statusCode(v),v=void 0,u&&g.trigger(d?"ajaxSuccess":"ajaxError",[M,p,d?f:b]),y.fireWith(h,[M,w]),u&&(g.trigger("ajaxComplete",[M,p]),--T.active||T.event.trigger("ajaxStop")))}return M},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:i,data:n,success:r},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Yt=T.ajaxSettings.xhr();m.cors=!!Yt&&"withCredentials"in Yt,m.ajax=Yt=!!Yt,T.ajaxTransport((function(e){var t,r;if(m.cors||Yt&&!e.crossDomain)return{send:function(i,a){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(o,i[o]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Bt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Wt,Ht=[],Vt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ht.pop()||T.expando+"_"+Tt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,r){var i,a,o,s=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Vt,"$1"+i):!1!==e.jsonp&&(e.url+=(Mt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||T.error(i+" was not called"),o[0]},e.dataTypes[0]="json",a=n[i],n[i]=function(){o=arguments},r.always((function(){void 0===a?T(n).removeProp(i):n[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,Ht.push(i)),o&&y(a)&&a(o[0]),o=a=void 0})),"script"})),m.createHTMLDocument=((Wt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Wt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),a=!n&&[],(i=k.exec(e))?[t.createElement(i[1])]:(i=we([e],t,a),a&&a.length&&T(a).remove(),T.merge([],i.childNodes)));var r,i,a},T.fn.load=function(e,t,n){var r,i,a,o=this,s=e.indexOf(" ");return s>-1&&(r=mt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),o.length>0&&T.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){a=arguments,o.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){o.each((function(){n.apply(this,a||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var r,i,a,o,s,l,c=T.css(e,"position"),u=T(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),a=T.css(e,"top"),l=T.css(e,"left"),("absolute"===c||"fixed"===c)&&(a+l).indexOf("auto")>-1?(o=(r=u.position()).top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(l)||0),y(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(d.top=t.top-s.top+o),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),i.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-T.css(r,"marginTop",!0),left:t.left-i.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ae}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return Y(this,(function(e,r,i){var a;if(v(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===i)return a?a[t]:e[r];a?a.scrollTo(n?a.pageXOffset:i,n?i:a.pageYOffset):e[r]=i}),e,r,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=Ye(m.pixelPosition,(function(e,n){if(n)return n=Be(e,t),Ue.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(i,a){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===a?"margin":"border");return Y(this,(function(t,n,i){var a;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?T.css(t,n,s):T.style(t,n,i,s)}),t,o?i:void 0,o)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var qt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||T.guid++,i},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=S,T.isFunction=y,T.isWindow=v,T.camelCase=q,T.type=w,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(qt,"")},void 0===(r=function(){return T}.apply(t,[]))||(e.exports=r);var Qt=n.jQuery,Jt=n.$;return T.noConflict=function(e){return n.$===T&&(n.$=Jt),e&&n.jQuery===T&&(n.jQuery=Qt),T},void 0===i&&(n.jQuery=n.$=T),T}))},function(e,t,n){"use strict";var r=n(23),i="object"==typeof self&&self&&self.Object===Object&&self,a=r.a||i||Function("return this")();t.a=a},function(e,t,n){!function(e){"use strict";function t(e){return null==e}function n(e){throw new Error("Argument "+e+" is empty.")}function r(e){return"function"==typeof e&&"getType"in e}function i(e){throw new Error("Argument "+e+' is invalid, it should be an action-creator instance from "typesafe-actions"')}function a(e,t){if(null==e)throw new Error("Argument contains array with empty element at index "+t);if(null==e.getType)throw new Error("Argument contains array with invalid element at index "+t+', it should be an action-creator instance from "typesafe-actions"')}function o(e){return"string"==typeof e||"symbol"==typeof e}function s(e){return!o(e)}function l(e){throw new Error("Argument "+e+" is invalid, it should be an action type of type: string | symbol")}function c(e,t){if(null==e)throw new Error("Argument contains array with empty element at index "+t);if("string"!=typeof e&&"symbol"!=typeof e)throw new Error("Argument contains array with invalid element at index "+t+", it should be of type: string | symbol")}function u(e,r,a,o){return t(e)&&n(1),s(e)&&i(1),{type:e,payload:r,meta:a,error:o}}function d(e,r){return t(e)&&n(1),s(e)&&l(1),Object.assign((function(){var t=null!=r?r.apply(void 0,arguments):void 0;return Object.assign({type:e},t)}),{getType:function(){return e},toString:function(){return e}})}function f(e,r,i){return t(e)&&n(1),s(e)&&l(1),function(){return d(e,(function(){var e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1];return null==r&&null==i||(e=null!=r?r.apply(void 0,arguments):void 0,t=null!=i?i.apply(void 0,arguments):void 0),Object.assign({},void 0!==e&&{payload:e},{},void 0!==t&&{meta:t})}))}}function p(e){return t(e)&&n(1),r(e)||i(1),e.getType()}function h(e,r){t(e)&&n(1),s(e)&&l(1);var i=null!=r?r(e):function(){return{type:e}};return Object.assign(i,{getType:function(){return e},toString:function(){return e}})}var g={createAction:function(e,t){var n=null==t?function(){return u(e)}:t(u.bind(null,e));return Object.assign(n,{getType:function(){return e},toString:function(){return e}})},createCustomAction:h,createStandardAction:function(e){return t(e)&&n(1),s(e)&&l(1),Object.assign((function(){return h(e,(function(e){return function(t,n){return{type:e,payload:t,meta:n}}}))}),{map:function(t){return h(e,(function(e){return function(n,r){return Object.assign(t(n,r),{type:e})}}))}})}};e.action=u,e.createAction=f,e.createAsyncAction=function(e,t,n,r){return function(){var i=[e,t,n,r].map((function(e,t){return Array.isArray(e)?f(e[0],e[1],e[2])():"string"==typeof e||"symbol"==typeof e?f(e)():void(t<3&&function(e){throw new Error("Argument "+e+' is invalid, it should be an action type of "string | symbol" or a tuple of "[string | symbol, Function, Function?]"')}(t))}));return{request:i[0],success:i[1],failure:i[2],cancel:i[3]}}},e.createCustomAction=d,e.createReducer=function e(t,n){void 0===n&&(n={});var i=Object.assign({},n),a=function(n,a){var s=Array.isArray(n)?n:[n],l={};return s.map((function(e,t){return r(e)?p(e):o(e)?e:function(e){throw new Error("Argument "+e+' is invalid, it should be an action-creator instance from "typesafe-actions" or action type of type: string | symbol')}(t+1)})).forEach((function(e){return l[e]=a})),e(t,Object.assign({},i,{},l))};return Object.assign((function(e,n){if(void 0===e&&(e=t),i.hasOwnProperty(n.type)){var r=i[n.type];if("function"!=typeof r)throw Error('Reducer under "'+n.type+'" key is not a valid reducer');return r(e,n)}return e}),{handlers:Object.assign({},i),handleAction:a,handleType:a})},e.deprecated=g,e.getType=p,e.isActionOf=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(a);var o=function(e){return i.some((function(t){return e.type===t.getType()}))};return void 0===r?o:o(r)},e.isOfType=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(c);var a=function(e){return i.includes(e.type)};return void 0===r?a:a(r)}}(t)},,function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(84)},function(e,t,n){"use strict";(function(e){var r=n(23),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===i&&r.a.process,s=function(){try{var e=a&&a.require&&a.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();t.a=s}).call(this,n(17)(e))},function(e,t,n){"use strict";let r,i,a,{isClean:o,my:s}=n(29),l=n(18),c=n(22),u=n(19);class d extends u{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],n=e(this.proxyOf.nodes[t],t),!1!==n);)this.indexes[r]+=1;return delete this.indexes[r],n}walk(e){return this.each((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)}):this.walk((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("decl"===e.type)return t(e,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)}):this.walk((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("rule"===e.type)return t(e,n)}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)}):this.walk((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("atrule"===e.type)return t(e,n)}))}walkComments(e){return this.walk((t,n)=>{if("comment"===t.type)return e(t,n)})}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let n,r=0===(e=this.index(e))&&"prepend",i=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of i)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)n=this.indexes[t],e<=n&&(this.indexes[t]=n+i.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let n,r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)n=this.indexes[t],e<n&&(this.indexes[t]=n+r.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(r(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new a(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new c(e)]}return e.map(e=>(e[s]||d.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[o]&&function e(t){if(t[o]=!1,t.proxyOf.nodes)for(let n of t.proxyOf.nodes)e(n)}(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this,e))}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map(e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e)):"every"===t||"some"===t?n=>e[t]((e,...t)=>n(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}d.registerParse=e=>{r=e},d.registerRule=e=>{i=e},d.registerAtRule=e=>{a=e},e.exports=d,d.default=d,d.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,a.prototype):"rule"===e.type?Object.setPrototypeOf(e,i.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type&&Object.setPrototypeOf(e,c.prototype),e[s]=!0,e.nodes&&e.nodes.forEach(e=>{d.rebuild(e)})}},function(e,t,n){"use strict";(function(e){var r=n(4),i=n(65),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===a?r.a.Buffer:void 0,l=(s?s.isBuffer:void 0)||i.a;t.a=l}).call(this,n(17)(e))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isComment=t.isText=t.isCDATA=t.isTag=void 0;var r=n(52);t.isTag=function(e){return r.isTag(e)},t.isCDATA=function(e){return"cdata"===e.type},t.isText=function(e){return"text"===e.type},t.isComment=function(e){return"comment"===e.type},t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")}},function(e,t,n){"use strict";let r,i,a=n(9);class o extends a{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}toResult(e={}){return new r(new i,this,e).stringify()}}o.registerLazyResult=e=>{r=e},o.registerProcessor=e=>{i=e},e.exports=o,o.default=o},function(e,t,n){"use strict";e.exports=n(83)},function(e,t,n){"use strict";(function(e,r){
31
31
  /*!
32
32
  * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
33
33
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
34
34
  */
35
- function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return Me})),n.d(t,"b",(function(){return Te}));var c=function(){},u={},d={},f={mark:c,measure:c};try{"undefined"!=typeof window&&(u=window),"undefined"!=typeof document&&(d=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(f=performance)}catch(e){}var p=(u.navigator||{}).userAgent,h=void 0===p?"":p,g=u,m=d,y=f,v=(g.document,!!m.documentElement&&!!m.head&&"function"==typeof m.addEventListener&&"function"==typeof m.createElement),b=(~h.indexOf("MSIE")||h.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),I=b.concat([11,12,13,14,15,16,17,18,19,20]),x={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},w=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",x.GROUP,x.SWAP_OPACITY,x.PRIMARY,x.SECONDARY].concat(b.map((function(e){return"".concat(e,"x")}))).concat(I.map((function(e){return"w-".concat(e)}))),g.FontAwesomeConfig||{});if(m&&"function"==typeof m.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=l(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=m.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(w[r]=i)}))}var T=s({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},w);T.autoReplaceSvg||(T.observeMutations=!1);var M=s({},T);g.FontAwesomeConfig=M;var A=g||{};A.___FONT_AWESOME___||(A.___FONT_AWESOME___={}),A.___FONT_AWESOME___.styles||(A.___FONT_AWESOME___.styles={}),A.___FONT_AWESOME___.hooks||(A.___FONT_AWESOME___.hooks={}),A.___FONT_AWESOME___.shims||(A.___FONT_AWESOME___.shims=[]);var C=A.___FONT_AWESOME___,E=[];v&&((m.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(m.readyState)||m.addEventListener("DOMContentLoaded",(function e(){m.removeEventListener("DOMContentLoaded",e),1,E.map((function(e){return e()}))})));var N,S=function(){},k=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,j=void 0===r?setTimeout:r,D=[];function L(){for(var e=0;e<D.length;e++)D[e][0](D[e][1]);D=[],N=!1}function O(e,t){D.push([e,t]),N||(N=!0,j(L,0))}function P(e){var t=e.owner,n=t._state,r=t._data,i=e[n],a=e.then;if("function"==typeof i){n="fulfilled";try{r=i(r)}catch(e){U(a,e)}}R(a,r)||("fulfilled"===n&&z(a,r),"rejected"===n&&U(a,r))}function R(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===i(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?_(e,r):z(e,r))}),(function(t){n||(n=!0,U(e,t))})),!0}}catch(t){return n||U(e,t),!0}return!1}function z(e,t){e!==t&&R(e,t)||_(e,t)}function _(e,t){"pending"===e._state&&(e._state="settled",e._data=t,O(Z,e))}function U(e,t){"pending"===e._state&&(e._state="settled",e._data=t,O(G,e))}function F(e){e._then=e._then.forEach(P)}function Z(e){e._state="fulfilled",F(e)}function G(t){t._state="rejected",F(t),!t._handled&&k&&e.process.emit("unhandledRejection",t._data,t)}function B(t){e.process.emit("rejectionHandled",t)}function Y(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof Y==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){U(t,e)}try{e((function(e){z(t,e)}),n)}catch(e){n(e)}}(e,this)}Y.prototype={constructor:Y,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(S),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&k&&O(B,this)),"fulfilled"===this._state||"rejected"===this._state?O(P,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},Y.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new Y((function(t,n){var r=[],i=0;function a(e){return i++,function(n){r[e]=n,--i||t(r)}}for(var o,s=0;s<e.length;s++)(o=e[s])&&"function"==typeof o.then?o.then(a(s),n):r[s]=o;i||t(r)}))},Y.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new Y((function(t,n){for(var r,i=0;i<e.length;i++)(r=e[i])&&"function"==typeof r.then?r.then(t,n):t(r)}))},Y.resolve=function(e){return e&&"object"===i(e)&&e.constructor===Y?e:new Y((function(t){t(e)}))},Y.reject=function(e){return new Y((function(t,n){n(e)}))};var W={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function H(e){if(e&&v){var t=m.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=m.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return m.head.insertBefore(t,r),e}}function V(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function q(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Q(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function J(e){return e.size!==W.size||e.x!==W.x||e.y!==W.y||e.rotate!==W.rotate||e.flipX||e.flipY}function X(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(a," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var K={x:0,y:0,width:"100%",height:"100%"};function $(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ee(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,l=e.symbol,c=e.title,u=e.maskId,d=e.titleId,f=e.extra,p=e.watchable,h=void 0!==p&&p,g=r.found?r:n,m=g.width,y=g.height,v="fak"===i,b=v?"":"fa-w-".concat(Math.ceil(m/y*16)),I=[M.replacementClass,a?"".concat(M.familyPrefix,"-").concat(a):"",b].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),x={children:[],attributes:s({},f.attributes,{"data-prefix":i,"data-icon":a,class:I,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(y)})},w=v&&!~f.classes.indexOf("fa-fw")?{width:"".concat(m/y*16*.0625,"em")}:{};h&&(x.attributes["data-fa-i2svg"]=""),c&&x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(d||V())},children:[c]});var T=s({},x,{prefix:i,iconName:a,main:n,mask:r,maskId:u,transform:o,symbol:l,styles:s({},w,f.styles)}),A=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,a=e.mask,o=e.maskId,l=e.transform,c=i.width,u=i.icon,d=a.width,f=a.icon,p=X({transform:l,containerWidth:d,iconWidth:c}),h={tag:"rect",attributes:s({},K,{fill:"white"})},g=u.children?{children:u.children.map($)}:{},m={tag:"g",attributes:s({},p.inner),children:[$(s({tag:u.tag,attributes:s({},u.attributes,p.path)},g))]},y={tag:"g",attributes:s({},p.outer),children:[m]},v="mask-".concat(o||V()),b="clip-".concat(o||V()),I={tag:"mask",attributes:s({},K,{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,y]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=f,"g"===t.tag?t.children:[t])},I]};return n.push(x,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},K)}),{children:n,attributes:r}}(T):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,a=Q(e.styles);if(a.length>0&&(n.style=a),J(i)){var o=X({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:s({},o.outer),children:[{tag:"g",attributes:s({},o.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:s({},r.icon.attributes,o.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(T),C=A.children,E=A.attributes;return T.children=C,T.attributes=E,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:s({},i,{id:!0===a?"".concat(t,"-").concat(M.familyPrefix,"-").concat(n):a}),children:r}]}]}(T):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(J(o)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};i.style=Q(s({},a,{"transform-origin":"".concat(l.x+o.x/16,"em ").concat(l.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(T)}var te=function(){},ne=(M.measurePerformance&&y&&y.mark&&y.measure,function(e,t,n,r){var i,a,o,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,i,a){return e.call(t,n,r,i,a)}}(t,r):t;for(void 0===n?(i=1,o=e[s[0]]):(i=0,o=n);i<l;i++)o=c(o,e[a=s[i]],a,e);return o});function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,a=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof C.hooks.addPack||i?C.styles[e]=s({},C.styles[e]||{},a):C.hooks.addPack(e,a),"fas"===e&&re("fa",t)}var ie=C.styles,ae=C.shims,oe=function(){var e=function(e){return ne(ie,(function(t,n,r){return t[r]=ne(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in ie;ne(ae,(function(e,n){var r=n[0],i=n[1],a=n[2];return"far"!==i||t||(i="fas"),e[r]={prefix:i,iconName:a},e}),{})};oe();C.styles;function se(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function le(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,a=void 0===i?[]:i;return"string"==typeof e?q(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(q(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(le).join(""),"</").concat(t,">")}var ce=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),t):t};function ue(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}ue.prototype=Object.create(Error.prototype),ue.prototype.constructor=ue;var de={fill:"currentColor"},fe={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},pe={tag:"path",attributes:s({},de,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},he=s({},fe,{attributeName:"opacity"});s({},de,{cx:"256",cy:"364",r:"28"}),s({},fe,{attributeName:"r",values:"28;14;28;28;14;28;"}),s({},he,{values:"1;0;1;1;0;1;"}),s({},de,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),s({},he,{values:"1;0;0;0;0;1;"}),s({},de,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),s({},he,{values:"0;0;1;1;0;0;"}),C.styles;function ge(e){var t=e[0],n=e[1],r=l(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(M.familyPrefix,"-").concat(x.GROUP)},children:[{tag:"path",attributes:{class:"".concat(M.familyPrefix,"-").concat(x.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(M.familyPrefix,"-").concat(x.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}C.styles;function me(){var e="svg-inline--fa",t=M.familyPrefix,n=M.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==t||n!==e){var i=new RegExp("\\.".concat("fa","\\-"),"g"),a=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(e),"g");r=r.replace(i,".".concat(t,"-")).replace(a,"--".concat(t,"-")).replace(o,".".concat(n))}return r}function ye(){M.autoAddCss&&!we&&(H(me()),we=!0)}function ve(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return le(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(v){var t=m.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function be(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return se(xe.definitions,n,r)||se(C.styles,n,r)}var Ie,xe=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=s({},e.definitions[t]||{},i[t]),re(t,i[t]),oe()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,a=r.iconName,o=r.icon;e[i]||(e[i]={}),e[i][a]=o})),e}}])&&a(t.prototype,n),r&&a(t,r),e}()),we=!1,Te={transform:function(e){return ce(e)}},Me=(Ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?W:n,i=t.symbol,a=void 0!==i&&i,o=t.mask,l=void 0===o?null:o,c=t.maskId,u=void 0===c?null:c,d=t.title,f=void 0===d?null:d,p=t.titleId,h=void 0===p?null:p,g=t.classes,m=void 0===g?[]:g,y=t.attributes,v=void 0===y?{}:y,b=t.styles,I=void 0===b?{}:b;if(e){var x=e.prefix,w=e.iconName,T=e.icon;return ve(s({type:"icon"},e),(function(){return ye(),M.autoA11y&&(f?v["aria-labelledby"]="".concat(M.replacementClass,"-title-").concat(h||V()):(v["aria-hidden"]="true",v.focusable="false")),ee({icons:{main:ge(T),mask:l?ge(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:w,transform:s({},W,r),symbol:a,title:f,maskId:u,titleId:h,extra:{attributes:v,styles:I,classes:m}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:be(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:be(r||{})),Ie(n,s({},t,{mask:r}))})}).call(this,n(12),n(92).setImmediate)},,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";let r=n(19);class i extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=i,i.default=i},function(e,t,n){"use strict";let{isClean:r,my:i}=n(29),a=n(28),o=n(58),s=n(20);class l{constructor(e={}){this.raws={},this[r]=!1,this[i]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:n,end:r}=this.rangeBy(t);return this.source.input.error(e,{line:n.line,column:n.column},{line:r.line,column:r.column},t)}return new a(e)}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=function e(t,n){let r=new t.constructor;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;if("proxyCache"===i)continue;let a=t[i],o=typeof a;"parent"===i&&"object"===o?n&&(r[i]=n):"source"===i?r[i]=a:Array.isArray(a)?r[i]=a.map(t=>e(t,r)):("object"===o&&null!==a&&(a=e(a)),r[i]=a)}return r}(this);for(let n in e)t[n]=e[n];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new o).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let n={},r=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let r=this[e];if(Array.isArray(r))n[e]=r.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof r&&r.toJSON)n[e]=r.toJSON(null,t);else if("source"===e){let a=t.get(r.input);null==a&&(a=i,t.set(r.input,i),i++),n[e]={inputId:a,start:r.start,end:r.end}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map(e=>e.toJSON())),n}positionInside(e){let t=this.toString(),n=this.source.start.column,r=this.source.start.line;for(let i=0;i<e;i++)"\n"===t[i]?(n=1,r+=1):n+=1;return{line:r,column:n}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},n=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r),n=this.positionInside(r+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?n={line:e.end.line,column:e.end.column}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={line:t.line,column:t.column+1}),{start:t,end:n}}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}get proxyOf(){return this}}e.exports=l,l.default=l},function(e,t,n){"use strict";let r=n(58);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},function(e,t,n){"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(31),{fileURLToPath:a,pathToFileURL:o}=n(61),{resolve:s,isAbsolute:l}=n(32),{nanoid:c}=n(115),u=n(57),d=n(28),f=n(62),p=Symbol("fromOffsetCache"),h=Boolean(r&&i),g=Boolean(s&&l);class m{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!g||/^\w+:\/\//.test(t.from)||l(t.from)?this.file=t.from:this.file=s(t.from)),g&&h){let e=new f(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+c(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,n;if(this[p])n=this[p];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let r=0,i=e.length;r<i;r++)n[r]=t,t+=e[r].length+1;this[p]=n}t=n[n.length-1];let r=0;if(e>=t)r=n.length-1;else{let t,i=n.length-2;for(;r<i;)if(t=r+(i-r>>1),e<n[t])i=t-1;else{if(!(e>=n[t+1])){r=t;break}r=t+1}}return{line:r+1,col:e-n[r]+1}}error(e,t,n,r={}){let i,a,s;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof t.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);a=e.line,s=e.col}else a=r.line,s=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let l=this.origin(t,n,a,s);return i=l?new d(e,void 0===l.endLine?l.line:{line:l.line,column:l.column},void 0===l.endLine?l.column:{line:l.endLine,column:l.endColumn},l.source,l.file,r.plugin):new d(e,void 0===a?t:{line:t,column:n},void 0===a?n:{line:a,column:s},this.css,this.file,r.plugin),i.input={line:t,column:n,endLine:a,endColumn:s,source:this.css},this.file&&(o&&(i.input.url=o(this.file).toString()),i.input.file=this.file),i}origin(e,t,n,r){if(!this.map)return!1;let i,s,c=this.map.consumer(),u=c.originalPositionFor({line:e,column:t});if(!u.source)return!1;"number"==typeof n&&(i=c.originalPositionFor({line:n,column:r})),s=l(u.source)?o(u.source):new URL(u.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let d={url:s.toString(),line:u.line,column:u.column,endLine:i&&i.line,endColumn:i&&i.column};if("file:"===s.protocol){if(!a)throw new Error("file: protocol is not available in this PostCSS build");d.file=a(s)}let f=c.sourceContentFor(u.source);return f&&(d.source=f),d}mapResolve(e){return/^\w+:\/\//.test(e)?e:s(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=m,m.default=m,u&&u.registerInput&&u.registerInput(m)},function(e,t,n){"use strict";let r=n(19);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(12))},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function r(e,t){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.a.offsetWidth,n=t+100;return e.f.style.width=n+"px",e.c.scrollLeft=n,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==t&&(e.g=t,!0)}function a(e,n){function r(){var e=a;i(e)&&e.a.parentNode&&n(e.g)}var a=e;t(e.b,r),t(e.c,r),i(e)}function o(e,t){var n=t||{};this.family=e,this.style=n.style||"normal",this.weight=n.weight||"normal",this.stretch=n.stretch||"normal"}var s=null,l=null,c=null,u=null;function d(){return null===u&&(u=!!document.fonts),u}function f(){if(null===c){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}c=""!==e.style.font}return c}function p(e,t){return[e.style,e.weight,f()?e.stretch:"","100px",t].join(" ")}o.prototype.load=function(e,t){var i=this,o=e||"BESbswy",c=0,u=t||3e3,f=(new Date).getTime();return new Promise((function(e,t){if(d()&&!function(){if(null===l)if(d()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);l=!!e&&603>parseInt(e[1],10)}else l=!1;return l}()){var h=new Promise((function(e,t){!function n(){(new Date).getTime()-f>=u?t(Error(u+"ms timeout exceeded")):document.fonts.load(p(i,'"'+i.family+'"'),o).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),g=new Promise((function(e,t){c=setTimeout((function(){t(Error(u+"ms timeout exceeded"))}),u)}));Promise.race([g,h]).then((function(){clearTimeout(c),e(i)}),t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function l(){var t;(t=-1!=m&&-1!=y||-1!=m&&-1!=v||-1!=y&&-1!=v)&&((t=m!=y&&m!=v&&y!=v)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(m==b&&y==b&&v==b||m==I&&y==I&&v==I||m==x&&y==x&&v==x)),t=!t),t&&(w.parentNode&&w.parentNode.removeChild(w),clearTimeout(c),e(i))}var d=new n(o),h=new n(o),g=new n(o),m=-1,y=-1,v=-1,b=-1,I=-1,x=-1,w=document.createElement("div");w.dir="ltr",r(d,p(i,"sans-serif")),r(h,p(i,"serif")),r(g,p(i,"monospace")),w.appendChild(d.a),w.appendChild(h.a),w.appendChild(g.a),document.body.appendChild(w),b=d.a.offsetWidth,I=h.a.offsetWidth,x=g.a.offsetWidth,function e(){if((new Date).getTime()-f>=u)w.parentNode&&w.parentNode.removeChild(w),t(Error(u+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(m=d.a.offsetWidth,y=h.a.offsetWidth,v=g.a.offsetWidth,l()),c=setTimeout(e,50)}}(),a(d,(function(e){m=e,l()})),r(d,p(i,'"'+i.family+'",sans-serif')),a(h,(function(e){y=e,l()})),r(h,p(i,'"'+i.family+'",serif')),a(g,(function(e){v=e,l()})),r(g,p(i,'"'+i.family+'",monospace'))}))}))},e.exports=o}()},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(e,t,n){"use strict";let r=n(111),i=n(57);class a extends Error{constructor(e,t,n,r,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),o&&(this.plugin=o),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,a)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported),i&&e&&(t=i(t));let n,a,o=t.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,o.length),c=String(l).length;if(e){let{bold:e,red:t,gray:i}=r.createColors(!0);n=n=>e(t(n)),a=e=>i(e)}else n=a=e=>e;return o.slice(s,l).map((e,t)=>{let r=s+1+t,i=" "+(" "+r).slice(-c)+" | ";if(r===this.line){let t=a(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+a(i)+e+"\n "+t+n("^")}return" "+a(i)+e}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=a,a.default=a},function(e,t,n){"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},function(e,t,n){"use strict";(function(e){
35
+ function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return Me})),n.d(t,"b",(function(){return Te}));var c=function(){},u={},d={},f={mark:c,measure:c};try{"undefined"!=typeof window&&(u=window),"undefined"!=typeof document&&(d=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(f=performance)}catch(e){}var p=(u.navigator||{}).userAgent,h=void 0===p?"":p,g=u,m=d,y=f,v=(g.document,!!m.documentElement&&!!m.head&&"function"==typeof m.addEventListener&&"function"==typeof m.createElement),b=(~h.indexOf("MSIE")||h.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),I=b.concat([11,12,13,14,15,16,17,18,19,20]),x={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},w=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",x.GROUP,x.SWAP_OPACITY,x.PRIMARY,x.SECONDARY].concat(b.map((function(e){return"".concat(e,"x")}))).concat(I.map((function(e){return"w-".concat(e)}))),g.FontAwesomeConfig||{});if(m&&"function"==typeof m.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=l(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=m.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(w[r]=i)}))}var T=s({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},w);T.autoReplaceSvg||(T.observeMutations=!1);var M=s({},T);g.FontAwesomeConfig=M;var A=g||{};A.___FONT_AWESOME___||(A.___FONT_AWESOME___={}),A.___FONT_AWESOME___.styles||(A.___FONT_AWESOME___.styles={}),A.___FONT_AWESOME___.hooks||(A.___FONT_AWESOME___.hooks={}),A.___FONT_AWESOME___.shims||(A.___FONT_AWESOME___.shims=[]);var C=A.___FONT_AWESOME___,E=[];v&&((m.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(m.readyState)||m.addEventListener("DOMContentLoaded",(function e(){m.removeEventListener("DOMContentLoaded",e),1,E.map((function(e){return e()}))})));var N,S=function(){},k=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,j=void 0===r?setTimeout:r,D=[];function L(){for(var e=0;e<D.length;e++)D[e][0](D[e][1]);D=[],N=!1}function O(e,t){D.push([e,t]),N||(N=!0,j(L,0))}function P(e){var t=e.owner,n=t._state,r=t._data,i=e[n],a=e.then;if("function"==typeof i){n="fulfilled";try{r=i(r)}catch(e){U(a,e)}}R(a,r)||("fulfilled"===n&&z(a,r),"rejected"===n&&U(a,r))}function R(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===i(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?_(e,r):z(e,r))}),(function(t){n||(n=!0,U(e,t))})),!0}}catch(t){return n||U(e,t),!0}return!1}function z(e,t){e!==t&&R(e,t)||_(e,t)}function _(e,t){"pending"===e._state&&(e._state="settled",e._data=t,O(F,e))}function U(e,t){"pending"===e._state&&(e._state="settled",e._data=t,O(G,e))}function Z(e){e._then=e._then.forEach(P)}function F(e){e._state="fulfilled",Z(e)}function G(t){t._state="rejected",Z(t),!t._handled&&k&&e.process.emit("unhandledRejection",t._data,t)}function B(t){e.process.emit("rejectionHandled",t)}function Y(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof Y==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){U(t,e)}try{e((function(e){z(t,e)}),n)}catch(e){n(e)}}(e,this)}Y.prototype={constructor:Y,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(S),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&k&&O(B,this)),"fulfilled"===this._state||"rejected"===this._state?O(P,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},Y.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new Y((function(t,n){var r=[],i=0;function a(e){return i++,function(n){r[e]=n,--i||t(r)}}for(var o,s=0;s<e.length;s++)(o=e[s])&&"function"==typeof o.then?o.then(a(s),n):r[s]=o;i||t(r)}))},Y.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new Y((function(t,n){for(var r,i=0;i<e.length;i++)(r=e[i])&&"function"==typeof r.then?r.then(t,n):t(r)}))},Y.resolve=function(e){return e&&"object"===i(e)&&e.constructor===Y?e:new Y((function(t){t(e)}))},Y.reject=function(e){return new Y((function(t,n){n(e)}))};var W={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function H(e){if(e&&v){var t=m.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=m.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return m.head.insertBefore(t,r),e}}function V(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function q(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Q(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function J(e){return e.size!==W.size||e.x!==W.x||e.y!==W.y||e.rotate!==W.rotate||e.flipX||e.flipY}function X(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(a," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var K={x:0,y:0,width:"100%",height:"100%"};function $(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ee(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,l=e.symbol,c=e.title,u=e.maskId,d=e.titleId,f=e.extra,p=e.watchable,h=void 0!==p&&p,g=r.found?r:n,m=g.width,y=g.height,v="fak"===i,b=v?"":"fa-w-".concat(Math.ceil(m/y*16)),I=[M.replacementClass,a?"".concat(M.familyPrefix,"-").concat(a):"",b].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),x={children:[],attributes:s({},f.attributes,{"data-prefix":i,"data-icon":a,class:I,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(y)})},w=v&&!~f.classes.indexOf("fa-fw")?{width:"".concat(m/y*16*.0625,"em")}:{};h&&(x.attributes["data-fa-i2svg"]=""),c&&x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(d||V())},children:[c]});var T=s({},x,{prefix:i,iconName:a,main:n,mask:r,maskId:u,transform:o,symbol:l,styles:s({},w,f.styles)}),A=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,a=e.mask,o=e.maskId,l=e.transform,c=i.width,u=i.icon,d=a.width,f=a.icon,p=X({transform:l,containerWidth:d,iconWidth:c}),h={tag:"rect",attributes:s({},K,{fill:"white"})},g=u.children?{children:u.children.map($)}:{},m={tag:"g",attributes:s({},p.inner),children:[$(s({tag:u.tag,attributes:s({},u.attributes,p.path)},g))]},y={tag:"g",attributes:s({},p.outer),children:[m]},v="mask-".concat(o||V()),b="clip-".concat(o||V()),I={tag:"mask",attributes:s({},K,{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,y]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=f,"g"===t.tag?t.children:[t])},I]};return n.push(x,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},K)}),{children:n,attributes:r}}(T):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,a=Q(e.styles);if(a.length>0&&(n.style=a),J(i)){var o=X({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:s({},o.outer),children:[{tag:"g",attributes:s({},o.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:s({},r.icon.attributes,o.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(T),C=A.children,E=A.attributes;return T.children=C,T.attributes=E,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:s({},i,{id:!0===a?"".concat(t,"-").concat(M.familyPrefix,"-").concat(n):a}),children:r}]}]}(T):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(J(o)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};i.style=Q(s({},a,{"transform-origin":"".concat(l.x+o.x/16,"em ").concat(l.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(T)}var te=function(){},ne=(M.measurePerformance&&y&&y.mark&&y.measure,function(e,t,n,r){var i,a,o,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,i,a){return e.call(t,n,r,i,a)}}(t,r):t;for(void 0===n?(i=1,o=e[s[0]]):(i=0,o=n);i<l;i++)o=c(o,e[a=s[i]],a,e);return o});function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,a=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof C.hooks.addPack||i?C.styles[e]=s({},C.styles[e]||{},a):C.hooks.addPack(e,a),"fas"===e&&re("fa",t)}var ie=C.styles,ae=C.shims,oe=function(){var e=function(e){return ne(ie,(function(t,n,r){return t[r]=ne(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in ie;ne(ae,(function(e,n){var r=n[0],i=n[1],a=n[2];return"far"!==i||t||(i="fas"),e[r]={prefix:i,iconName:a},e}),{})};oe();C.styles;function se(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function le(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,a=void 0===i?[]:i;return"string"==typeof e?q(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(q(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(le).join(""),"</").concat(t,">")}var ce=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),t):t};function ue(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}ue.prototype=Object.create(Error.prototype),ue.prototype.constructor=ue;var de={fill:"currentColor"},fe={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},pe={tag:"path",attributes:s({},de,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},he=s({},fe,{attributeName:"opacity"});s({},de,{cx:"256",cy:"364",r:"28"}),s({},fe,{attributeName:"r",values:"28;14;28;28;14;28;"}),s({},he,{values:"1;0;1;1;0;1;"}),s({},de,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),s({},he,{values:"1;0;0;0;0;1;"}),s({},de,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),s({},he,{values:"0;0;1;1;0;0;"}),C.styles;function ge(e){var t=e[0],n=e[1],r=l(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(M.familyPrefix,"-").concat(x.GROUP)},children:[{tag:"path",attributes:{class:"".concat(M.familyPrefix,"-").concat(x.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(M.familyPrefix,"-").concat(x.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}C.styles;function me(){var e="svg-inline--fa",t=M.familyPrefix,n=M.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==t||n!==e){var i=new RegExp("\\.".concat("fa","\\-"),"g"),a=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(e),"g");r=r.replace(i,".".concat(t,"-")).replace(a,"--".concat(t,"-")).replace(o,".".concat(n))}return r}function ye(){M.autoAddCss&&!we&&(H(me()),we=!0)}function ve(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return le(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(v){var t=m.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function be(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return se(xe.definitions,n,r)||se(C.styles,n,r)}var Ie,xe=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=s({},e.definitions[t]||{},i[t]),re(t,i[t]),oe()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,a=r.iconName,o=r.icon;e[i]||(e[i]={}),e[i][a]=o})),e}}])&&a(t.prototype,n),r&&a(t,r),e}()),we=!1,Te={transform:function(e){return ce(e)}},Me=(Ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?W:n,i=t.symbol,a=void 0!==i&&i,o=t.mask,l=void 0===o?null:o,c=t.maskId,u=void 0===c?null:c,d=t.title,f=void 0===d?null:d,p=t.titleId,h=void 0===p?null:p,g=t.classes,m=void 0===g?[]:g,y=t.attributes,v=void 0===y?{}:y,b=t.styles,I=void 0===b?{}:b;if(e){var x=e.prefix,w=e.iconName,T=e.icon;return ve(s({type:"icon"},e),(function(){return ye(),M.autoA11y&&(f?v["aria-labelledby"]="".concat(M.replacementClass,"-title-").concat(h||V()):(v["aria-hidden"]="true",v.focusable="false")),ee({icons:{main:ge(T),mask:l?ge(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:w,transform:s({},W,r),symbol:a,title:f,maskId:u,titleId:h,extra:{attributes:v,styles:I,classes:m}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:be(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:be(r||{})),Ie(n,s({},t,{mask:r}))})}).call(this,n(11),n(88).setImmediate)},,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";let r=n(19);class i extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=i,i.default=i},function(e,t,n){"use strict";let{isClean:r,my:i}=n(29),a=n(28),o=n(57),s=n(20);class l{constructor(e={}){this.raws={},this[r]=!1,this[i]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:n,end:r}=this.rangeBy(t);return this.source.input.error(e,{line:n.line,column:n.column},{line:r.line,column:r.column},t)}return new a(e)}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=function e(t,n){let r=new t.constructor;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;if("proxyCache"===i)continue;let a=t[i],o=typeof a;"parent"===i&&"object"===o?n&&(r[i]=n):"source"===i?r[i]=a:Array.isArray(a)?r[i]=a.map(t=>e(t,r)):("object"===o&&null!==a&&(a=e(a)),r[i]=a)}return r}(this);for(let n in e)t[n]=e[n];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new o).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let n={},r=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let r=this[e];if(Array.isArray(r))n[e]=r.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof r&&r.toJSON)n[e]=r.toJSON(null,t);else if("source"===e){let a=t.get(r.input);null==a&&(a=i,t.set(r.input,i),i++),n[e]={inputId:a,start:r.start,end:r.end}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map(e=>e.toJSON())),n}positionInside(e){let t=this.toString(),n=this.source.start.column,r=this.source.start.line;for(let i=0;i<e;i++)"\n"===t[i]?(n=1,r+=1):n+=1;return{line:r,column:n}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},n=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r),n=this.positionInside(r+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?n={line:e.end.line,column:e.end.column}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={line:t.line,column:t.column+1}),{start:t,end:n}}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}get proxyOf(){return this}}e.exports=l,l.default=l},function(e,t,n){"use strict";let r=n(57);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},function(e,t,n){"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(31),{fileURLToPath:a,pathToFileURL:o}=n(60),{resolve:s,isAbsolute:l}=n(32),{nanoid:c}=n(112),u=n(56),d=n(28),f=n(61),p=Symbol("fromOffsetCache"),h=Boolean(r&&i),g=Boolean(s&&l);class m{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!g||/^\w+:\/\//.test(t.from)||l(t.from)?this.file=t.from:this.file=s(t.from)),g&&h){let e=new f(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+c(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,n;if(this[p])n=this[p];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let r=0,i=e.length;r<i;r++)n[r]=t,t+=e[r].length+1;this[p]=n}t=n[n.length-1];let r=0;if(e>=t)r=n.length-1;else{let t,i=n.length-2;for(;r<i;)if(t=r+(i-r>>1),e<n[t])i=t-1;else{if(!(e>=n[t+1])){r=t;break}r=t+1}}return{line:r+1,col:e-n[r]+1}}error(e,t,n,r={}){let i,a,s;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof t.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);a=e.line,s=e.col}else a=r.line,s=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let l=this.origin(t,n,a,s);return i=l?new d(e,void 0===l.endLine?l.line:{line:l.line,column:l.column},void 0===l.endLine?l.column:{line:l.endLine,column:l.endColumn},l.source,l.file,r.plugin):new d(e,void 0===a?t:{line:t,column:n},void 0===a?n:{line:a,column:s},this.css,this.file,r.plugin),i.input={line:t,column:n,endLine:a,endColumn:s,source:this.css},this.file&&(o&&(i.input.url=o(this.file).toString()),i.input.file=this.file),i}origin(e,t,n,r){if(!this.map)return!1;let i,s,c=this.map.consumer(),u=c.originalPositionFor({line:e,column:t});if(!u.source)return!1;"number"==typeof n&&(i=c.originalPositionFor({line:n,column:r})),s=l(u.source)?o(u.source):new URL(u.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let d={url:s.toString(),line:u.line,column:u.column,endLine:i&&i.line,endColumn:i&&i.column};if("file:"===s.protocol){if(!a)throw new Error("file: protocol is not available in this PostCSS build");d.file=a(s)}let f=c.sourceContentFor(u.source);return f&&(d.source=f),d}mapResolve(e){return/^\w+:\/\//.test(e)?e:s(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=m,m.default=m,u&&u.registerInput&&u.registerInput(m)},function(e,t,n){"use strict";let r=n(19);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(11))},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function r(e,t){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.a.offsetWidth,n=t+100;return e.f.style.width=n+"px",e.c.scrollLeft=n,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==t&&(e.g=t,!0)}function a(e,n){function r(){var e=a;i(e)&&e.a.parentNode&&n(e.g)}var a=e;t(e.b,r),t(e.c,r),i(e)}function o(e,t){var n=t||{};this.family=e,this.style=n.style||"normal",this.weight=n.weight||"normal",this.stretch=n.stretch||"normal"}var s=null,l=null,c=null,u=null;function d(){return null===u&&(u=!!document.fonts),u}function f(){if(null===c){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}c=""!==e.style.font}return c}function p(e,t){return[e.style,e.weight,f()?e.stretch:"","100px",t].join(" ")}o.prototype.load=function(e,t){var i=this,o=e||"BESbswy",c=0,u=t||3e3,f=(new Date).getTime();return new Promise((function(e,t){if(d()&&!function(){if(null===l)if(d()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);l=!!e&&603>parseInt(e[1],10)}else l=!1;return l}()){var h=new Promise((function(e,t){!function n(){(new Date).getTime()-f>=u?t(Error(u+"ms timeout exceeded")):document.fonts.load(p(i,'"'+i.family+'"'),o).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),g=new Promise((function(e,t){c=setTimeout((function(){t(Error(u+"ms timeout exceeded"))}),u)}));Promise.race([g,h]).then((function(){clearTimeout(c),e(i)}),t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function l(){var t;(t=-1!=m&&-1!=y||-1!=m&&-1!=v||-1!=y&&-1!=v)&&((t=m!=y&&m!=v&&y!=v)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(m==b&&y==b&&v==b||m==I&&y==I&&v==I||m==x&&y==x&&v==x)),t=!t),t&&(w.parentNode&&w.parentNode.removeChild(w),clearTimeout(c),e(i))}var d=new n(o),h=new n(o),g=new n(o),m=-1,y=-1,v=-1,b=-1,I=-1,x=-1,w=document.createElement("div");w.dir="ltr",r(d,p(i,"sans-serif")),r(h,p(i,"serif")),r(g,p(i,"monospace")),w.appendChild(d.a),w.appendChild(h.a),w.appendChild(g.a),document.body.appendChild(w),b=d.a.offsetWidth,I=h.a.offsetWidth,x=g.a.offsetWidth,function e(){if((new Date).getTime()-f>=u)w.parentNode&&w.parentNode.removeChild(w),t(Error(u+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(m=d.a.offsetWidth,y=h.a.offsetWidth,v=g.a.offsetWidth,l()),c=setTimeout(e,50)}}(),a(d,(function(e){m=e,l()})),r(d,p(i,'"'+i.family+'",sans-serif')),a(h,(function(e){y=e,l()})),r(h,p(i,'"'+i.family+'",serif')),a(g,(function(e){v=e,l()})),r(g,p(i,'"'+i.family+'",monospace'))}))}))},e.exports=o}()},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(e,t,n){"use strict";let r=n(108),i=n(56);class a extends Error{constructor(e,t,n,r,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),o&&(this.plugin=o),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,a)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported),i&&e&&(t=i(t));let n,a,o=t.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,o.length),c=String(l).length;if(e){let{bold:e,red:t,gray:i}=r.createColors(!0);n=n=>e(t(n)),a=e=>i(e)}else n=a=e=>e;return o.slice(s,l).map((e,t)=>{let r=s+1+t,i=" "+(" "+r).slice(-c)+" | ";if(r===this.line){let t=a(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+a(i)+e+"\n "+t+n("^")}return" "+a(i)+e}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=a,a.default=a},function(e,t,n){"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},function(e,t,n){"use strict";(function(e){
36
36
  /*!
37
37
  * The buffer module from node.js, for the browser.
38
38
  *
39
39
  * @author Feross Aboukhadijeh <http://feross.org>
40
40
  * @license MIT
41
41
  */
42
- var r=n(112),i=n(113),a=n(114);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=f(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|p(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):f(e,t);if("Buffer"===t.type&&a(t.data))return f(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(u(t),e=s(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|p(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Z(e).length;default:if(r)return F(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return S(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var a,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(a=n;a<s;a++)if(c(e,a)===c(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*o}else-1!==u&&(a-=a-u),u=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var d=!0,f=0;f<l;f++)if(c(e,a+f)!==c(t,f)){d=!1;break}if(d)return a}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o<r;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[n+o]=s}return o}function I(e,t,n,r){return G(F(t,e.length-n),e,n,r)}function x(e,t,n,r){return G(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function w(e,t,n,r){return x(e,t,n,r)}function T(e,t,n,r){return G(Z(t),e,n,r)}function M(e,t,n,r){return G(function(e,t){for(var n,r,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var a,o,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(a=e[i+1]))&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=o(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return c(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,r){return u(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return d(null,e)},l.allocUnsafeSlow=function(e){return d(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?C(this,0,e):g.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,r,i){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),c=this.slice(r,i),u=e.slice(t,n),d=0;d<s;++d)if(c[d]!==u[d]){a=c[d],o=u[d];break}return a<o?-1:o<a?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return I(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function E(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function S(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",a=t;a<n;++a)i+=U(e[a]);return i}function k(e,t,n){for(var r=e.slice(t,n),i="",a=0;a<r.length;a+=2)i+=String.fromCharCode(r[a]+256*r[a+1]);return i}function j(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,a){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function L(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i<a;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function O(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i<a;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function P(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,a){return a||P(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function z(e,t,n,r,a){return a||P(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var i=t-e;n=new l(i,void 0);for(var a=0;a<i;++a)n[a]=this[a+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUInt8=function(e,t){return t||j(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||j(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||j(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||j(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||j(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||j(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||j(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||j(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||j(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):O(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):O(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<n&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):O(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):O(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return z(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return z(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,a=r-n;if(this===e&&n<t&&t<r)for(i=a-1;i>=0;--i)e[i+t]=this[i+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var o=l.isBuffer(e)?e:F(new l(e,r).toString()),s=o.length;for(a=0;a<n-t;++a)this[a+t]=o[a%s]}return this};var _=/[^+\/0-9A-Za-z-_]/g;function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function F(e,t){var n;t=t||1/0;for(var r=e.length,i=null,a=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function Z(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(_,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function G(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(12))},function(e,t){},function(e,t){},function(e,t,n){"use strict";let r,i,a=n(10);class o extends a{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}o.registerLazyResult=e=>{r=e},o.registerProcessor=e=>{i=e},e.exports=o,o.default=o},function(e,t,n){"use strict";let r=n(64);class i{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>"warning"===e.type)}get content(){return this.css}}e.exports=i,i.default=i},function(e,t,n){"use strict";let r=n(10),i=n(117),a=n(21);function o(e,t){let n=new a(e,t),r=new i(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=o,o.default=o,r.registerParse(o)},function(e,t,n){"use strict";let r=n(10);class i extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,r.registerAtRule(i)},function(e,t,n){"use strict";let r=n(10),i=n(65);class a extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=a,a.default=a,r.registerRule(a)},function(e,t,n){"use strict";var r=n(85),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?o:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var o=u(n);d&&(o=o.concat(d(n)));for(var s=l(t),g=l(n),m=0;m<o.length;++m){var y=o[m];if(!(a[y]||r&&r[y]||g&&g[y]||s&&s[y])){var v=f(n,y);try{c(t,y,v)}catch(e){}}}}return t}},function(e,t,n){"use strict";e.exports=n(94)},function(e,t,n){const r=n(95),i=n(106),{isPlainObject:a}=n(107),o=n(108),s=n(109),{parse:l}=n(110),c=["img","audio","video","picture","svg","object","map","iframe","embed"],u=["script","style"];function d(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function f(e,t){return{}.hasOwnProperty.call(e,t)}function p(e,t){const n=[];return d(e,(function(e){t(e)&&n.push(e)})),n}e.exports=g;const h=/^[^\0\t\n\f\r /<=>]+$/;function g(e,t,n){if(null==e)return"";let y="",v="";function b(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=y.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(S.length){S[S.length-1].text+=n.text}},this.updateParentNodeMediaChildren=function(){if(S.length&&c.includes(this.tag)){S[S.length-1].mediaChildren.push(this.tag)}}}(t=Object.assign({},g.defaults,t)).parser=Object.assign({},m,t.parser),u.forEach((function(e){t.allowedTags&&t.allowedTags.indexOf(e)>-1&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const I=t.nonTextTags||["script","style","textarea","option"];let x,w;t.allowedAttributes&&(x={},w={},d(t.allowedAttributes,(function(e,t){x[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):x[t].push(e)})),n.length&&(w[t]=new RegExp("^("+n.join("|")+")$"))})));const T={},M={},A={};d(t.allowedClasses,(function(e,t){x&&(f(x,t)||(x[t]=[]),x[t].push("class")),T[t]=[],A[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?A[t].push(e):T[t].push(e)})),n.length&&(M[t]=new RegExp("^("+n.join("|")+")$"))}));const C={};let E,N,S,k,j,D,L;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=g.simpleTransform(e)),"*"===t?E=n:C[t]=n}));let O=!1;R();const P=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&R(),D)return void L++;const r=new b(e,n);S.push(r);let i=!1;const c=!!r.text;let u;if(f(C,e)&&(u=C[e](e,n),r.attribs=n=u.attribs,void 0!==u.text&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,j[N]=u.tagName)),E&&(u=E(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,j[N]=u.tagName)),(t.allowedTags&&-1===t.allowedTags.indexOf(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(f(e,t))return!1;return!0}(k)||null!=t.nestingLimit&&N>=t.nestingLimit)&&(i=!0,k[N]=!0,"discard"===t.disallowedTagsMode&&-1!==I.indexOf(e)&&(D=!0,L=1),k[N]=!0),N++,i){if("discard"===t.disallowedTagsMode)return;v=y,y=""}y+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=""),(!x||f(x,e)||x["*"])&&d(n,(function(n,i){if(!h.test(i))return void delete r.attribs[i];let c,u=!1;if(!x||f(x,e)&&-1!==x[e].indexOf(i)||x["*"]&&-1!==x["*"].indexOf(i)||f(w,e)&&w[e].test(i)||w["*"]&&w["*"].test(i))u=!0;else if(x&&x[e])for(const t of x[e])if(a(t)&&t.name&&t.name===i){u=!0;let e="";if(!0===t.multiple){const r=n.split(" ");for(const n of r)-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(u){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&_(e,n))return void delete r.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const r=new URL(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===r.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return r.hostname===e||r.hostname.endsWith("."+e)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("iframe"===e&&"src"===i){let e=!0;try{if((n=n.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let r="relative://relative-site";for(let e=0;e<100;e++)r+="/"+e;const i=new URL(n,r);if(i&&"relative-site"===i.hostname&&"relative:"===i.protocol)e=f(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===i.hostname})),r=(t.allowedIframeDomains||[]).find((function(e){return i.hostname===e||i.hostname.endsWith("."+e)}));e=n||r}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("srcset"===i)try{if(c=s(n),c.forEach((function(e){_("srcset",e.url)&&(e.evil=!0)})),c=p(c,(function(e){return!e.evil})),!c.length)return void delete r.attribs[i];n=p(c,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),r.attribs[i]=n}catch(e){return void delete r.attribs[i]}if("class"===i){const t=T[e],a=T["*"],s=M[e],l=A[e],c=[s,M["*"]].concat(l).filter((function(e){return e}));if(!(n=U(n,t&&a?o(t,a):t||a,c)).length)return void delete r.attribs[i]}if("style"===i)try{if(0===(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const n=e.nodes[0];let r;r=t[n.selector]&&t["*"]?o(t[n.selector],t["*"]):t[n.selector]||t["*"];r&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){if(f(e,n.prop)){e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n)}return t}}(r),[]));return e}(l(e+" {"+n+"}"),t.allowedStyles))).length)return void delete r.attribs[i]}catch(e){return void delete r.attribs[i]}y+=" "+i,n&&n.length&&(y+='="'+z(n,!0)+'"')}else delete r.attribs[i]})),-1!==t.selfClosing.indexOf(e)?y+=" />":(y+=">",!r.innerText||c||t.textFilter||(y+=z(r.innerText),O=!0)),i&&(y=v+z(y),v="")},ontext:function(e){if(D)return;const n=S[S.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"discard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=z(e,!1);t.textFilter&&!O?y+=t.textFilter(n,r):O||(y+=n)}else y+=e;if(S.length){S[S.length-1].text+=e}},onclosetag:function(e){if(D){if(L--,L)return;D=!1}const n=S.pop();if(!n)return;D=!!t.enforceHtmlBoundary&&"html"===e,N--;const r=k[N];if(r){if(delete k[N],"discard"===t.disallowedTagsMode)return void n.updateParentNodeText();v=y,y=""}j[N]&&(e=j[N],delete j[N]),t.exclusiveFilter&&t.exclusiveFilter(n)?y=y.substr(0,n.tagPosition):(n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)?(y+="</"+e+">",r&&(y=v+z(y),v=""),O=!1):r&&(y=v,v=""))}},t.parser);return P.write(e),P.end(),y;function R(){y="",N=0,S=[],k={},j={},D=!1,L=0}function z(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),n&&(e=e.replace(/"/g,"&quot;"))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),n&&(e=e.replace(/"/g,"&quot;")),e}function _(e,n){const r=(n=(n=n.replace(/[\x00-\x20]+/g,"")).replace(/<!--.*?-->/g,"")).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!r)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=r[1].toLowerCase();return f(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function U(e,t,n){return t?(e=e.split(/\s+/)).filter((function(e){return-1!==t.indexOf(e)||n.some((function(t){return t.test(e)}))})).join(" "):e}}const m={decodeEntities:!0};g.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},g.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let a;if(n)for(a in t)i[a]=t[a];else i=t;return{tagName:e,attribs:i}}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var r=n(3),i=n.n(r),a=n(71),o=n(7);const s=["image/png","image/jpeg"];function l(e,t){const n=e.originalEvent.clipboardData,r=n.items&&n.items.length>0&&n.items[n.items.length-1].getAsFile();if(r)!function(e,t,n){e.preventDefault(),s.indexOf(t.type)>=0&&n({data:t,type:t.type,id:String((new Date).getTime())}).then(e=>{const t=`<img src="${e}"/>`;window.document.execCommand("insertHTML",!1,t)})}(e,r,t);else{const r=n.getData("text/html");r?function(e,t,n,r){e.preventDefault(),window.document.execCommand("insertHTML",!1,o.f(n)),c(t,r)}(e,i()(e.currentTarget),r,t):function(e,t){c(e,t)}(i()(e.currentTarget),t)}}function c(t,n){setTimeout(()=>Promise.all(function(t){t.find(o.c).remove();const n=t.find('img[src^="data:image/"]').toArray().map(t=>Object.assign(function(t){if(!t)return null;const n=t.match(/^data:([A-Za-z-+/]+);base64,(.+)$/);if(3!==n.length)return null;return{type:n[1],data:e.from(n[2],"base64")}}(t.getAttribute("src")),{$el:i()(t)}));n.filter(({type:e})=>-1===s.indexOf(e)&&"image/svg+xml"!==e).forEach(({$el:e})=>e.remove());const r=n.filter(({type:e})=>s.indexOf(e)>=0);return r.forEach(({$el:e})=>e.attr("src",a.a)),r}(t).map(e=>n(e).then(t=>e.$el.attr("src",t)).catch(t=>{throw e.$el.remove(),t}))).then(()=>t.trigger("input")),0)}}).call(this,n(30).Buffer)},function(e,t,n){!function(){var t=n(3),r="mathquill-block-id",i=Math.min,a=Math.max;if(!t)throw"MathQuill requires jQuery 1.5.2+ to be loaded first";function o(){}var s=[].slice;function l(e){var t=e.length-1;return function(){var n=s.call(arguments,0,t),r=s.call(arguments,t);return e.apply(this,n.concat([r]))}}var c=l((function(e,t){return l((function(n,r){if(e in n)return n[e].apply(n,t.concat(r))}))}));function u(e){return l((function(t,n){"function"!=typeof t&&(t=c(t));return e.call(this,(function(e){return t.apply(e,[e].concat(n))}))}))}function d(e){var t=s.call(arguments,1);return function(){return e.apply(this,t)}}function f(e,t){if(!t)throw new Error("prayer failed: "+e)}var p=function(e,t,n){function r(e){return"object"==typeof e}function i(e){return"function"==typeof e}function a(){}return function e(n,o){function s(){var e=new l;return i(e.init)&&e.init.apply(e,arguments),e}function l(){}void 0===o&&(o=n,n=Object),s.Bare=l;var c,u=a.prototype=n.prototype,d=l.prototype=s.prototype=s.p=new a;return d.constructor=s,s.extend=function(t){return e(s,t)},(s.open=function(e){if(c={},i(e)?c=e.call(s,d,u,s,n):r(e)&&(c=e),r(c))for(var a in c)t.call(c,a)&&(d[a]=c[a]);return i(d.init)||(d.init=n),s})(o)}}(0,{}.hasOwnProperty),h=-1;function g(e){f("a direction was passed",e===h||1===e)}var m=p(t,(function(e){e.insDirOf=function(e,t){return e===h?this.insertBefore(t.first()):this.insertAfter(t.last())},e.insAtDirEnd=function(e,t){return e===h?this.prependTo(t):this.appendTo(t)}})),y=p((function(e){e.parent=0,e[h]=0,e[1]=0,e.init=function(e,t,n){this.parent=e,this[h]=t,this[1]=n},this.copy=function(e){return y(e.parent,e[h],e[1])}})),v=p((function(e){e[h]=0,e[1]=0,e.parent=0;var t=0;this.byId={},e.init=function(){this.id=t+=1,v.byId[this.id]=this,this.ends={},this.ends[h]=0,this.ends[1]=0},e.dispose=function(){delete v.byId[this.id]},e.toString=function(){return"{{ MathQuill Node #"+this.id+" }}"},e.jQ=m(),e.jQadd=function(e){return this.jQ=this.jQ.add(e)},e.jQize=function(e){e=m(e||this.html());function t(e){if(e.getAttribute){var n=e.getAttribute("mathquill-command-id"),r=e.getAttribute("mathquill-block-id");n&&v.byId[n].jQadd(e),r&&v.byId[r].jQadd(e)}for(e=e.firstChild;e;e=e.nextSibling)t(e)}for(var n=0;n<e.length;n+=1)t(e[n]);return e},e.createDir=function(e,t){g(e);return this.jQize(),this.jQ.insDirOf(e,t.jQ),t[e]=this.adopt(t.parent,t[h],t[1]),this},e.createLeftOf=function(e){return this.createDir(h,e)},e.selectChildren=function(e,t){return M(e,t)},e.bubble=u((function(e){for(var t=this;t;t=t.parent){if(!1===e(t))break}return this})),e.postOrder=u((function(e){return function t(n){n.eachChild(t),e(n)}(this),this})),e.isEmpty=function(){return 0===this.ends[h]&&0===this.ends[1]},e.isStyleBlock=function(){return!1},e.children=function(){return I(this.ends[h],this.ends[1])},e.eachChild=function(){var e=this.children();return e.each.apply(e,arguments),this},e.foldChildren=function(e,t){return this.children().fold(e,t)},e.withDirAdopt=function(e,t,n,r){return I(this,this).withDirAdopt(e,t,n,r),this},e.adopt=function(e,t,n){return I(this,this).adopt(e,t,n),this},e.disown=function(){return I(this,this).disown(),this},e.remove=function(){return this.jQ.remove(),this.postOrder("dispose"),this.disown()}}));function b(e,t,n){f("a parent is always present",e),f("leftward is properly set up",t?t[1]===n&&t.parent===e:e.ends[h]===n),f("rightward is properly set up",n?n[h]===t&&n.parent===e:e.ends[1]===t)}var I=p((function(e){e.init=function(e,t,n){if(void 0===n&&(n=h),g(n),f("no half-empty fragments",!e==!t),this.ends={},e){f("withDir is passed to Fragment",e instanceof v),f("oppDir is passed to Fragment",t instanceof v),f("withDir and oppDir have the same parent",e.parent===t.parent),this.ends[n]=e,this.ends[-n]=t;var r=this.fold([],(function(e,t){return e.push.apply(e,t.jQ.get()),e}));this.jQ=this.jQ.add(r)}},e.jQ=m(),e.withDirAdopt=function(e,t,n,r){return e===h?this.adopt(t,n,r):this.adopt(t,r,n)},e.adopt=function(e,t,n){b(e,t,n);this.disowned=!1;var r=this.ends[h];if(!r)return this;var i=this.ends[1];return t||(e.ends[h]=r),n?n[h]=i:e.ends[1]=i,this.ends[1][1]=n,this.each((function(n){n[h]=t,n.parent=e,t&&(t[1]=n),t=n})),this},e.disown=function(){var e=this.ends[h];if(!e||this.disowned)return this;this.disowned=!0;var t=this.ends[1],n=e.parent;return b(n,e[h],e),b(n,t,t[1]),e[h]?e[h][1]=t[1]:n.ends[h]=t[1],t[1]?t[1][h]=e[h]:n.ends[1]=e[h],this},e.remove=function(){return this.jQ.remove(),this.each("postOrder","dispose"),this.disown()},e.each=u((function(e){var t=this.ends[h];if(!t)return this;for(;t!==this.ends[1][1];t=t[1]){if(!1===e(t))break}return this})),e.fold=function(e,t){return this.each((function(n){e=t.call(this,e,n)})),e}})),x={},w={},T=p(y,(function(e){e.init=function(e,t){this.parent=e,this.options=t;var n=this.jQ=this._jQ=m('<span class="mq-cursor">&#8203;</span>');this.blink=function(){n.toggleClass("mq-blink")},this.upDownCache={}},e.show=function(){return this.jQ=this._jQ.removeClass("mq-blink"),"intervalId"in this?clearInterval(this.intervalId):(this[1]?this.selection&&this.selection.ends[h][h]===this[h]?this.jQ.insertBefore(this.selection.jQ):this.jQ.insertBefore(this[1].jQ.first()):this.jQ.appendTo(this.parent.jQ),this.parent.focus()),this.intervalId=setInterval(this.blink,500),this},e.hide=function(){return"intervalId"in this&&clearInterval(this.intervalId),delete this.intervalId,this.jQ.detach(),this.jQ=m(),this},e.withDirInsertAt=function(e,t,n,r){var i=this.parent;this.parent=t,this[e]=n,this[-e]=r,i!==t&&i.blur&&i.blur(this)},e.insDirOf=function(e,t){return g(e),this.jQ.insDirOf(e,t.jQ),this.withDirInsertAt(e,t.parent,t[e],t),this.parent.jQ.addClass("mq-hasCursor"),this},e.insLeftOf=function(e){return this.insDirOf(h,e)},e.insRightOf=function(e){return this.insDirOf(1,e)},e.insAtDirEnd=function(e,t){return g(e),this.jQ.insAtDirEnd(e,t.jQ),this.withDirInsertAt(e,t,0,t.ends[e]),t.focus(),this},e.insAtLeftEnd=function(e){return this.insAtDirEnd(h,e)},e.insAtRightEnd=function(e){return this.insAtDirEnd(1,e)},e.jumpUpDown=function(e,t){this.upDownCache[e.id]=y.copy(this);var n=this.upDownCache[t.id];if(n)n[1]?this.insLeftOf(n[1]):this.insAtRightEnd(n.parent);else{var r=this.offset().left;t.seek(r,this)}},e.offset=function(){var e=this.jQ.removeClass("mq-cursor").offset();return this.jQ.addClass("mq-cursor"),e},e.unwrapGramp=function(){var e=this.parent.parent,t=e.parent,n=e[1],r=e[h];if(e.disown().eachChild((function(i){i.isEmpty()||(i.children().adopt(t,r,n).each((function(t){t.jQ.insertBefore(e.jQ.first())})),r=i.ends[1])})),!this[1])if(this[h])this[1]=this[h][1];else for(;!this[1];){if(this.parent=this.parent[1],!this.parent){this[1]=e[1],this.parent=t;break}this[1]=this.parent.ends[h]}this[1]?this.insLeftOf(this[1]):this.insAtRightEnd(t),e.jQ.remove(),e[h].siblingDeleted&&e[h].siblingDeleted(this.options,1),e[1].siblingDeleted&&e[1].siblingDeleted(this.options,h)},e.startSelection=function(){for(var e=this.anticursor=y.copy(this),t=e.ancestors={},n=e;n.parent;n=n.parent)t[n.parent.id]=n},e.endSelection=function(){delete this.anticursor},e.select=function(){var e=this.anticursor;if(this[h]===e[h]&&this.parent===e.parent)return!1;for(var t=this;t.parent;t=t.parent)if(t.parent.id in e.ancestors){var n=t.parent;break}f("cursor and anticursor in the same tree",n);var r,i,a=e.ancestors[n.id],o=1;if(t[h]!==a)for(var s=t;s;s=s[1])if(s[1]===a[1]){o=h,r=t,i=a;break}return 1===o&&(r=a,i=t),r instanceof y&&(r=r[1]),i instanceof y&&(i=i[h]),this.hide().selection=n.selectChildren(r,i),this.insDirOf(o,this.selection.ends[o]),this.selectionChanged(),!0},e.clearSelection=function(){return this.selection&&(this.selection.clear(),delete this.selection,this.selectionChanged()),this},e.deleteSelection=function(){this.selection&&(this[h]=this.selection.ends[h][h],this[1]=this.selection.ends[1][1],this.selection.remove(),this.selectionChanged(),delete this.selection)},e.replaceSelection=function(){var e=this.selection;return e&&(this[h]=e.ends[h][h],this[1]=e.ends[1][1],delete this.selection),e}})),M=p(I,(function(e,t){e.init=function(){t.init.apply(this,arguments),this.jQ=this.jQ.wrapAll('<span class="mq-selection"></span>').parent()},e.adopt=function(){return this.jQ.replaceWith(this.jQ=this.jQ.children()),t.adopt.apply(this,arguments)},e.clear=function(){return this.jQ.replaceWith(this.jQ[0].childNodes),this},e.join=function(e){return this.fold("",(function(t,n){return t+n[e]()}))}})),A=p((function(e){e.init=function(e,t,n){this.id=e.id,this.data={},this.root=e,this.container=t,this.options=n,e.controller=this,this.cursor=e.cursor=T(e,n)},e.handle=function(e,t){var n=this.options.handlers;if(n&&n.fns[e]){var r=n.APIClasses[this.KIND_OF_MQ](this);t===h||1===t?n.fns[e](t,r):n.fns[e](r)}};var t=[];this.onNotify=function(e){t.push(e)},e.notify=function(){for(var e=0;e<t.length;e+=1)t[e].apply(this.cursor,arguments);return this}})),C={},E=p(),N={},S=p(),k={};function j(){window.console&&console.warn('You are using the MathQuill API without specifying an interface version, which will fail in v1.0.0. Easiest fix is to do the following before doing anything else:\n\n MathQuill = MathQuill.getInterface(1);\n // now MathQuill.MathField() works like it used to\n\nSee also the "`dev` branch (2014–2015) → v0.10.0 Migration Guide" at\n https://github.com/mathquill/mathquill/wiki/%60dev%60-branch-(2014%E2%80%932015)-%E2%86%92-v0.10.0-Migration-Guide')}function D(e){return j(),Be(e)}D.prototype=S.p,D.VERSION="v0.10.5",D.interfaceVersion=function(e){if(1!==e)throw"Only interface version 1 supported. You specified: "+e;return(j=function(){window.console&&console.warn('You called MathQuill.interfaceVersion(1); to specify the interface version, which will fail in v1.0.0. You can fix this easily by doing this before doing anything else:\n\n MathQuill = MathQuill.getInterface(1);\n // now MathQuill.MathField() works like it used to\n\nSee also the "`dev` branch (2014–2015) → v0.10.0 Migration Guide" at\n https://github.com/mathquill/mathquill/wiki/%60dev%60-branch-(2014%E2%80%932015)-%E2%86%92-v0.10.0-Migration-Guide')})(),D},D.getInterface=P;var L=P.MIN=1,O=P.MAX=2;function P(e){if(!(L<=e&&e<=O))throw"Only interface versions between "+L+" and "+O+" supported. You specified: "+e;function n(e){if(!e||!e.nodeType)return null;var t=m(e).children(".mq-root-block").attr(r),n=t&&v.byId[t].controller;return n?i[n.KIND_OF_MQ](n):null}var i={};function a(e,t){for(var n in t&&t.handlers&&(t.handlers={fns:t.handlers,APIClasses:i}),t)if(t.hasOwnProperty(n)){var r=t[n],a=N[n];e[n]=a?a(r):r}}n.L=h,n.R=1,n.saneKeyboardEvents=F,n.config=function(e){return a(E.p,e),this},n.registerEmbed=function(e,t){if(!/^[a-z][a-z0-9]*$/i.test(e))throw"Embed name must start with letter and be only letters and digits";k[e]=t};var s=i.AbstractMathQuill=p(S,(function(e){e.init=function(e){this.__controller=e,this.__options=e.options,this.id=e.id,this.data=e.data},e.__mathquillify=function(e){var t=this.__controller,n=t.root,i=t.container;t.createTextarea();var a=i.addClass(e).contents().detach();n.jQ=m('<span class="mq-root-block"/>').attr(r,n.id).appendTo(i),this.latex(a.text()),this.revert=function(){return i.empty().unbind(".mathquill").removeClass("mq-editable-field mq-math-mode mq-text-mode").append(a)}},e.config=function(e){return a(this.__options,e),this},e.el=function(){return this.__controller.container[0]},e.text=function(){return this.__controller.exportText()},e.latex=function(e){return arguments.length>0?(this.__controller.renderLatexMath(e),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this):this.__controller.exportLatex()},e.html=function(){return this.__controller.root.jQ.html().replace(/ mathquill-(?:command|block)-id="?\d+"?/g,"").replace(/<span class="?mq-cursor( mq-blink)?"?>.?<\/span>/i,"").replace(/ mq-hasCursor|mq-hasCursor ?/,"").replace(/ class=(""|(?= |>))/g,"")},e.reflow=function(){return this.__controller.root.postOrder("reflow"),this}}));for(var l in n.prototype=s.prototype,i.EditableField=p(s,(function(e,n){e.__mathquillify=function(){return n.__mathquillify.apply(this,arguments),this.__controller.editable=!0,this.__controller.delegateMouseEvents(),this.__controller.editablesTextareaEvents(),this},e.focus=function(){return this.__controller.textarea.focus(),this},e.blur=function(){return this.__controller.textarea.blur(),this},e.write=function(e){return this.__controller.writeLatex(e),this.__controller.scrollHoriz(),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this},e.empty=function(){var e=this.__controller.root,t=this.__controller.cursor;return e.eachChild("postOrder","dispose"),e.ends[h]=e.ends[1]=0,e.jQ.empty(),delete t.selection,t.insAtRightEnd(e),this},e.cmd=function(e){var t=this.__controller.notify(),n=t.cursor;if(/^\\[a-z]+$/i.test(e)){e=e.slice(1);var r=x[e]||Ue[e];r&&(e=r(e),n.selection&&e.replaces(n.replaceSelection()),e.createLeftOf(n.show()),this.__controller.scrollHoriz())}else n.parent.write(n,e);return t.blurred&&n.hide().parent.blur(),this},e.select=function(){var e=this.__controller;for(e.notify("move").cursor.insAtRightEnd(e.root);e.cursor[h];)e.selectLeft();return this},e.clearSelection=function(){return this.__controller.cursor.clearSelection(),this},e.moveToDirEnd=function(e){return this.__controller.notify("move").cursor.insAtDirEnd(e,this.__controller.root),this},e.moveToLeftEnd=function(){return this.moveToDirEnd(h)},e.moveToRightEnd=function(){return this.moveToDirEnd(1)},e.keystroke=function(e){e=e.replace(/^\s+|\s+$/g,"").split(/\s+/);for(var t=0;t<e.length;t+=1)this.__controller.keystroke(e[t],{preventDefault:o});return this},e.typedText=function(e){for(var t=0;t<e.length;t+=1)this.__controller.typedText(e.charAt(t));return this},e.dropEmbedded=function(e,t,n){var r=e-m(window).scrollLeft(),i=t-m(window).scrollTop(),a=document.elementFromPoint(r,i);this.__controller.seek(m(a),e,t),_e().setOptions(n).createLeftOf(this.__controller.cursor)},e.clickAt=function(e,n,r){r=r||document.elementFromPoint(e,n);var i=this.__controller,a=i.root;return t.contains(a.jQ[0],r)||(r=a.jQ[0]),i.seek(m(r),e+pageXOffset,n+pageYOffset),i.blurred&&this.focus(),this},e.ignoreNextMousedown=function(e){return this.__controller.cursor.options.ignoreNextMousedown=e,this}})),n.EditableField=function(){throw"wtf don't call me, I'm 'abstract'"},n.EditableField.prototype=i.EditableField.prototype,C)!function(t,r){var a=i[t]=r(i);n[t]=function(r,i){var o=n(r);if(o instanceof a||!r||!r.nodeType)return o;var s=A(a.RootBlock(),m(r),E());return s.KIND_OF_MQ=t,a(s).__mathquillify(i,e)},n[t].prototype=a.prototype}(l,C[l]);return n}D.noConflict=function(){return window.MathQuill=R,D};var R=window.MathQuill;function z(e){for(var t="moveOutOf deleteOutOf selectOutOf upOutOf downOutOf".split(" "),n=0;n<t.length;n+=1)!function(t){e[t]=function(e){this.controller.handle(t,e)}}(t[n]);e.reflow=function(){this.controller.handle("reflow"),this.controller.handle("edited"),this.controller.handle("edit")}}window.MathQuill=D;var _,U=p((function(e,t,n){function r(e,t){throw"Parse Error: "+t+" at "+(e=e?"'"+e+"'":"EOF")}e.init=function(e){this._=e},e.parse=function(e){return this.skip(o)._(""+e,(function(e,t){return t}),r)},e.or=function(e){f("or is passed a parser",e instanceof n);var t=this;return n((function(n,r,i){return t._(n,r,(function(t){return e._(n,r,i)}))}))},e.then=function(e){var t=this;return n((function(r,i,a){return t._(r,(function(t,r){var o=e instanceof n?e:e(r);return f("a parser is returned",o instanceof n),o._(t,i,a)}),a)}))},e.many=function(){var e=this;return n((function(t,n,r){for(var i=[];e._(t,a,o););return n(t,i);function a(e,n){return t=e,i.push(n),!0}function o(){return!1}}))},e.times=function(e,t){arguments.length<2&&(t=e);var r=this;return n((function(n,i,a){for(var o,s=[],l=!0,c=0;c<e;c+=1)if(!(l=r._(n,u,d)))return a(n,o);for(;c<t&&l;c+=1)l=r._(n,u,f);return i(n,s);function u(e,t){return s.push(t),n=e,!0}function d(e,t){return o=t,n=e,!1}function f(e,t){return!1}}))},e.result=function(e){return this.then(a(e))},e.atMost=function(e){return this.times(0,e)},e.atLeast=function(e){var t=this;return t.times(e).then((function(e){return t.many().map((function(t){return e.concat(t)}))}))},e.map=function(e){return this.then((function(t){return a(e(t))}))},e.skip=function(e){return this.then((function(t){return e.result(t)}))};this.string=function(e){var t=e.length,r="expected '"+e+"'";return n((function(n,i,a){var o=n.slice(0,t);return o===e?i(n.slice(t),o):a(n,r)}))};var i=this.regex=function(e){f("regexp parser is anchored","^"===e.toString().charAt(1));var t="expected "+e;return n((function(n,r,i){var a=e.exec(n);if(a){var o=a[0];return r(n.slice(o.length),o)}return i(n,t)}))},a=n.succeed=function(e){return n((function(t,n){return n(t,e)}))},o=(n.fail=function(e){return n((function(t,n,r){return r(t,e)}))},n.letter=i(/^[a-z]/i),n.letters=i(/^[a-z]*/i),n.digit=i(/^[0-9]/),n.digits=i(/^[0-9]*/),n.whitespace=i(/^\s+/),n.optWhitespace=i(/^\s*/),n.any=n((function(e,t,n){return e?t(e.slice(1),e.charAt(0)):n(e,"expected any character")})),n.all=n((function(e,t,n){return t("",e)})),n.eof=n((function(e,t,n){return e?n(e,"expected EOF"):t(e,e)})))})),F=(_={8:"Backspace",9:"Tab",10:"Enter",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Esc",32:"Spacebar",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",45:"Insert",46:"Del",144:"NumLock"},function(e,n){var r,i=null,a=null,s=t(e),l=t(n.container||s),c=o;function u(e){c=e,clearTimeout(r),r=setTimeout(e)}function d(e){u((function(t){c=o,clearTimeout(r),e(t)}))}l.bind("keydown keypress input keyup focusout paste",(function(e){c(e)}));var f=!1;function p(){n.keystroke(function(e){var t,n=e.which||e.keyCode,r=_[n],i=[];return e.ctrlKey&&i.push("Ctrl"),e.originalEvent&&e.originalEvent.metaKey&&i.push("Meta"),e.altKey&&i.push("Alt"),e.shiftKey&&i.push("Shift"),t=r||String.fromCharCode(n),i.length||r?(i.push(t),i.join("-")):t}(i),i)}function h(){if(!("selectionStart"in(e=s[0]))||e.selectionStart===e.selectionEnd){var e,t=s.val();1===t.length?(s.val(""),n.typedText(t)):t&&s[0].select&&s[0].select()}}function g(){var e=s.val();s.val(""),e&&n.paste(e)}return l.bind({keydown:function(e){i=e,a=null,f&&d((function(e){e&&"focusout"===e.type||!s[0].select||s[0].select()})),p()},keypress:function(e){i&&a&&p(),a=e,u(h)},keyup:function(e){i&&!a&&u(h)},focusout:function(){i=a=null},cut:function(){d((function(){n.cut()}))},copy:function(){d((function(){n.copy()}))},paste:function(e){s.focus(),u(g)}}),{select:function(e){c(),c=o,clearTimeout(r),s.val(e),e&&s[0].select&&s[0].select(),f=!!e}}});A.open((function(e,t){e.exportText=function(){return this.root.foldChildren("",(function(e,t){return e+t.text()}))}})),A.open((function(e){e.focusBlurEvents=function(){var e,t=this,n=t.root,r=t.cursor;function i(){clearTimeout(e),r.selection&&r.selection.jQ.addClass("mq-blur"),a()}function a(){r.hide().parent.blur(),t.container.removeClass("mq-focused"),m(window).unbind("blur",i)}t.textarea.focus((function(){t.blurred=!1,clearTimeout(e),t.container.addClass("mq-focused"),r.parent||r.insAtRightEnd(n),r.selection?(r.selection.jQ.removeClass("mq-blur"),t.selectionChanged()):r.show()})).blur((function(){t.blurred=!0,e=setTimeout((function(){n.postOrder("intentionalBlur"),r.clearSelection().endSelection(),a()})),m(window).bind("blur",i)})),t.blurred=!0,r.hide().parent.blur()}})),A.open((function(e){e.keystroke=function(e,t){this.cursor.parent.keystroke(e,t,this)}})),v.open((function(e){e.keystroke=function(e,t,n){var r=n.cursor;switch(e){case"Ctrl-Shift-Backspace":case"Ctrl-Backspace":n.ctrlDeleteDir(h);break;case"Shift-Backspace":case"Backspace":n.backspace();break;case"Esc":case"Tab":return void n.escapeDir(1,e,t);case"Shift-Tab":case"Shift-Esc":return void n.escapeDir(h,e,t);case"End":n.notify("move").cursor.insAtRightEnd(r.parent);break;case"Ctrl-End":n.notify("move").cursor.insAtRightEnd(n.root);break;case"Shift-End":for(;r[1];)n.selectRight();break;case"Ctrl-Shift-End":for(;r[1]||r.parent!==n.root;)n.selectRight();break;case"Home":n.notify("move").cursor.insAtLeftEnd(r.parent);break;case"Ctrl-Home":n.notify("move").cursor.insAtLeftEnd(n.root);break;case"Shift-Home":for(;r[h];)n.selectLeft();break;case"Ctrl-Shift-Home":for(;r[h]||r.parent!==n.root;)n.selectLeft();break;case"Left":n.moveLeft();break;case"Shift-Left":n.selectLeft();break;case"Ctrl-Left":break;case"Right":n.moveRight();break;case"Shift-Right":n.selectRight();break;case"Ctrl-Right":break;case"Up":n.moveUp();break;case"Down":n.moveDown();break;case"Shift-Up":if(r[h])for(;r[h];)n.selectLeft();else n.selectLeft();case"Shift-Down":if(r[1])for(;r[1];)n.selectRight();else n.selectRight();case"Ctrl-Up":case"Ctrl-Down":break;case"Ctrl-Shift-Del":case"Ctrl-Del":n.ctrlDeleteDir(1);break;case"Shift-Del":case"Del":n.deleteForward();break;case"Meta-A":case"Ctrl-A":for(n.notify("move").cursor.insAtRightEnd(n.root);r[h];)n.selectLeft();break;default:return}t.preventDefault(),n.scrollHoriz()},e.moveOutOf=e.moveTowards=e.deleteOutOf=e.deleteTowards=e.unselectInto=e.selectOutOf=e.selectTowards=function(){f("overridden or never called on this node")}})),A.open((function(e){function t(e,t){var n=e.notify("upDown").cursor,r=t+"Into",i=t+"OutOf";return n[1][r]?n.insAtLeftEnd(n[1][r]):n[h][r]?n.insAtRightEnd(n[h][r]):n.parent.bubble((function(e){var t=e[i];if(t&&("function"==typeof t&&(t=e[i](n)),t instanceof v&&n.jumpUpDown(e,t),!0!==t))return!1})),e}this.onNotify((function(e){"move"!==e&&"upDown"!==e||this.show().clearSelection()})),e.escapeDir=function(e,t,n){g(e);var r=this.cursor;if(r.parent!==this.root&&n.preventDefault(),r.parent!==this.root)return r.parent.moveOutOf(e,r),this.notify("move")},N.leftRightIntoCmdGoes=function(e){if(e&&"up"!==e&&"down"!==e)throw'"up" or "down" required for leftRightIntoCmdGoes option, got "'+e+'"';return e},e.moveDir=function(e){g(e);var t=this.cursor,n=t.options.leftRightIntoCmdGoes;return t.selection?t.insDirOf(e,t.selection.ends[e]):t[e]?t[e].moveTowards(e,t,n):t.parent.moveOutOf(e,t,n),this.notify("move")},e.moveLeft=function(){return this.moveDir(h)},e.moveRight=function(){return this.moveDir(1)},e.moveUp=function(){return t(this,"up")},e.moveDown=function(){return t(this,"down")},this.onNotify((function(e){"upDown"!==e&&(this.upDownCache={})})),this.onNotify((function(e){"edit"===e&&this.show().deleteSelection()})),e.deleteDir=function(e){g(e);var t=this.cursor,n=t.selection;return this.notify("edit"),n||(t[e]?t[e].deleteTowards(e,t):t.parent.deleteOutOf(e,t)),t[h].siblingDeleted&&t[h].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,h),t.parent.bubble("reflow"),this},e.ctrlDeleteDir=function(e){g(e);var t=this.cursor;return!t[e]||t.selection?this.deleteDir(e):(this.notify("edit"),e===h?I(t.parent.ends[h],t[h]).remove():I(t[1],t.parent.ends[1]).remove(),t.insAtDirEnd(e,t.parent),t[h].siblingDeleted&&t[h].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,h),t.parent.bubble("reflow"),this)},e.backspace=function(){return this.deleteDir(h)},e.deleteForward=function(){return this.deleteDir(1)},this.onNotify((function(e){"select"!==e&&this.endSelection()})),e.selectDir=function(e){var t=this.notify("select").cursor,n=t.selection;g(e),t.anticursor||t.startSelection();var r=t[e];r?n&&n.ends[e]===r&&t.anticursor[-e]!==r?r.unselectInto(e,t):r.selectTowards(e,t):t.parent.selectOutOf(e,t),t.clearSelection(),t.select()||t.show()},e.selectLeft=function(){return this.selectDir(h)},e.selectRight=function(){return this.selectDir(1)}}));var Z=function(){function e(e){for(var t=e[0]||V(),n=1;n<e.length;n+=1)e[n].children().adopt(t,t.ends[1],0);return t}var t=U.string,n=U.regex,r=U.letter,i=U.any,a=U.optWhitespace,o=U.succeed,s=U.fail,l=r.map((function(e){return ne(e)})),c=n(/^[^${}\\_^]/).map((function(e){return W(e)})),u=n(/^[^\\a-eg-zA-Z]/).or(t("\\").then(n(/^[a-z]+/i).or(n(/^\s+/).result(" ")).or(i))).then((function(e){var t=x[e];return t?t(e).parser():s("unknown command: \\"+e)})).or(l).or(c),d=t("{").then((function(){return p})).skip(t("}")),f=a.then(d.or(u.map((function(e){var t=V();return e.adopt(t,0,0),t})))),p=f.many().map(e).skip(a),h=t("[").then(f.then((function(e){return"]"!==e.join("latex")?o(e):s()})).many().map(e).skip(a)).skip(t("]")),g=p;return g.block=f,g.optBlock=h,g}();A.open((function(e,t){e.exportLatex=function(){return this.root.latex().replace(/(\\[a-z]+) (?![a-z])/gi,"$1")},e.writeLatex=function(e){var t=this.notify("edit").cursor,n=U.all,r=U.eof,i=Z.skip(r).or(n.result(!1)).parse(e);i&&!i.isEmpty()&&(i.children().adopt(t.parent,t[h],t[1]),i.jQize().insertBefore(t.jQ),t[h]=i.ends[1],i.finalizeInsert(t.options,t),i.ends[1][1].siblingCreated&&i.ends[1][1].siblingCreated(t.options,h),i.ends[h][h].siblingCreated&&i.ends[h][h].siblingCreated(t.options,1),t.parent.bubble("reflow"));return this},e.renderLatexMath=function(e){var t=this.root,n=this.cursor,r=U.all,i=U.eof,a=Z.skip(i).or(r.result(!1)).parse(e);t.eachChild("postOrder","dispose"),t.ends[h]=t.ends[1]=0,a&&a.children().adopt(t,0,0);var o=t.jQ;if(a){var s=a.join("html");o.html(s),t.jQize(o.children()),t.finalizeInsert(n.options)}else o.empty();delete n.selection,n.insAtRightEnd(t)},e.renderLatexText=function(e){var t=this.root,n=this.cursor;t.jQ.children().slice(1).remove(),t.eachChild("postOrder","dispose"),t.ends[h]=t.ends[1]=0,delete n.selection,n.show().insAtRightEnd(t);var r=U.regex,i=U.string,a=U.eof,o=U.all,s=i("$").then(Z).skip(i("$").or(a)).map((function(e){var t=K(n);t.createBlocks();var r=t.ends[h];return e.children().adopt(r,0,0),t})),l=i("\\$").result("$").or(r(/^[^$]/)).map(W),c=s.or(l).many().skip(a).or(o.result(!1)).parse(e);if(c){for(var u=0;u<c.length;u+=1)c[u].adopt(t,t.ends[1],0);t.jQize().appendTo(t.jQ),t.finalizeInsert(n.options)}}})),A.open((function(e){E.p.ignoreNextMousedown=o,e.delegateMouseEvents=function(){var e=this.root.jQ;this.container.bind("mousedown.mathquill",(function(t){var n,i=m(t.target).closest(".mq-root-block"),a=v.byId[i.attr(r)||e.attr(r)].controller,s=a.cursor,l=s.blink,c=a.textareaSpan,u=a.textarea;(t.preventDefault(),t.target.unselectable=!0,s.options.ignoreNextMousedown(t))||(s.options.ignoreNextMousedown=o,a.blurred&&(a.editable||i.prepend(c),u.focus()),s.blink=o,a.seek(m(t.target),t.pageX,t.pageY).cursor.startSelection(),i.mousemove(d),m(t.target.ownerDocument).mousemove(f).mouseup((function e(t){s.blink=l,s.selection||(a.editable?s.show():c.detach()),i.unbind("mousemove",d),m(t.target.ownerDocument).unbind("mousemove",f).unbind("mouseup",e)})));function d(e){n=m(e.target)}function f(e){s.anticursor||s.startSelection(),a.seek(n,e.pageX,e.pageY).cursor.select(),n=void 0}}))}})),A.open((function(e){e.seek=function(e,t,n){var i=this.notify("select").cursor;if(e){var a=e.attr(r)||e.attr("mathquill-command-id");if(!a){var o=e.parent();a=o.attr(r)||o.attr("mathquill-command-id")}}var s=a?v.byId[a]:this.root;return f("nodeId is the id of some Node that exists",s),i.clearSelection().show(),s.seek(t,i),this.scrollHoriz(),this}})),A.open((function(e){e.scrollHoriz=function(){var e=this.cursor,t=e.selection,n=e.offset();if(n){var r=e.jQ.closest(".mq-editable-field"),i=Number(n.top-r.offset().top+2*e.jQ.height());r.find(".mq-textarea textarea").css("top",i+"px")}var a=this.root.jQ[0].getBoundingClientRect();if(t){var o=t.jQ[0].getBoundingClientRect(),s=o.left-(a.left+20),l=o.right-(a.right-20);if(t.ends[h]===e[1])if(s<0)u=s;else{if(!(l>0))return;if(o.left-l<a.left+20)u=s;else u=l}else if(l>0)u=l;else{if(!(s<0))return;if(o.right-s>a.right-20)u=l;else u=s}}else{var c=e.jQ[0].getBoundingClientRect().left;if(c>a.right-20)var u=c-(a.right-20);else{if(!(c<a.left+20))return;var u=c-(a.left+20)}}this.root.jQ.stop().animate({scrollLeft:"+="+u},100)}})),A.open((function(e){E.p.substituteTextarea=function(){return m("<textarea autocapitalize=off autocomplete=off autocorrect=off spellcheck=false x-palm-disable-ste-all=true />")[0]},e.createTextarea=function(){var e=this.textareaSpan=m('<span class="mq-textarea"></span>'),t=this.options.substituteTextarea();if(!t.nodeType)throw"substituteTextarea() must return a DOM element, got "+t;t=this.textarea=m(t).appendTo(e);var n=this;n.cursor.selectionChanged=function(){n.selectionChanged()}},e.selectionChanged=function(){var e=this;ye(e.container[0]),void 0===e.textareaSelectionTimeout&&(e.textareaSelectionTimeout=setTimeout((function(){e.setTextareaSelection()})))},e.setTextareaSelection=function(){this.textareaSelectionTimeout=void 0;var e="";this.cursor.selection&&(e=this.cursor.selection.join("latex"),this.options.statelessClipboard&&(e="$"+e+"$")),this.selectFn(e)},e.staticMathTextareaEvents=function(){var e=this,n=(e.root,e.cursor),r=e.textarea,i=e.textareaSpan;function a(){i.detach(),e.blurred=!0}this.container.prepend(t('<span class="mq-selectable">').text("$"+e.exportLatex()+"$")),e.blurred=!0,r.bind("cut paste",!1).bind("copy",(function(){e.setTextareaSelection()})).focus((function(){e.blurred=!1})).blur((function(){n.selection&&n.selection.clear(),setTimeout(a)})),e.selectFn=function(e){r.val(e),e&&r.select()}},E.p.substituteKeyboardEvents=F,e.editablesTextareaEvents=function(){var e=this.textarea,t=this.textareaSpan,n=this.options.substituteKeyboardEvents(e,this);this.selectFn=function(e){n.select(e)},this.container.prepend(t),this.focusBlurEvents()},e.typedText=function(e){if("\n"===e)return this.handle("enter");var t=this.notify().cursor;t.parent.write(t,e),this.scrollHoriz()},e.cut=function(){var e=this,t=e.cursor;t.selection&&setTimeout((function(){e.notify("edit"),t.parent.bubble("reflow")}))},e.copy=function(){this.setTextareaSelection()},e.paste=function(e){this.options.statelessClipboard&&(e="$"===e.slice(0,1)&&"$"===e.slice(-1)?e.slice(1,-1):"\\text{"+e+"}"),this.writeLatex(e).cursor.show()}}));var G=p(v,(function(e,t){e.finalizeInsert=function(e,t){this.postOrder("finalizeTree",e),this.postOrder("contactWeld",t),this.postOrder("blur"),this.postOrder("reflow"),this[1].siblingCreated&&this[1].siblingCreated(e,h),this[h].siblingCreated&&this[h].siblingCreated(e,1),this.bubble("reflow")}})),B=p(G,(function(e,t){e.init=function(e,n,r){t.init.call(this),this.ctrlSeq||(this.ctrlSeq=e),n&&(this.htmlTemplate=n),r&&(this.textTemplate=r)},e.replaces=function(e){e.disown(),this.replacedFragment=e},e.isEmpty=function(){return this.foldChildren(!0,(function(e,t){return e&&t.isEmpty()}))},e.parser=function(){var e=Z.block,t=this;return e.times(t.numBlocks()).map((function(e){t.blocks=e;for(var n=0;n<e.length;n+=1)e[n].adopt(t,t.ends[1],0);return t}))},e.createLeftOf=function(e){var n=this.replacedFragment;this.createBlocks(),t.createLeftOf.call(this,e),n&&(n.adopt(this.ends[h],0,0),n.jQ.appendTo(this.ends[h].jQ)),this.finalizeInsert(e.options),this.placeCursor(e)},e.createBlocks=function(){for(var e=this.numBlocks(),t=this.blocks=Array(e),n=0;n<e;n+=1){(t[n]=V()).adopt(this,this.ends[1],0)}},e.placeCursor=function(e){e.insAtRightEnd(this.foldChildren(this.ends[h],(function(e,t){return e.isEmpty()?e:t})))},e.moveTowards=function(e,t,n){var r=n&&this[n+"Into"];t.insAtDirEnd(-e,r||this.ends[-e])},e.deleteTowards=function(e,t){this.isEmpty()?t[e]=this.remove()[e]:this.moveTowards(e,t,null)},e.selectTowards=function(e,t){t[-e]=this,t[e]=this[e]},e.selectChildren=function(){return M(this,this)},e.unselectInto=function(e,t){t.insAtDirEnd(-e,t.anticursor.ancestors[this.id])},e.seek=function(e,t){function n(e){var t={};return t[h]=e.jQ.offset().left,t[1]=t[h]+e.jQ.outerWidth(),t}var r=this,i=n(r);if(e<i[h])return t.insLeftOf(r);if(e>i[1])return t.insRightOf(r);var a=i[h];r.eachChild((function(o){var s=n(o);return e<s[h]?(e-a<s[h]-e?o[h]?t.insAtRightEnd(o[h]):t.insLeftOf(r):t.insAtLeftEnd(o),!1):e>s[1]?void(o[1]?a=s[1]:i[1]-e<e-s[1]?t.insRightOf(r):t.insAtRightEnd(o)):(o.seek(e,t),!1)}))},e.numBlocks=function(){var e=this.htmlTemplate.match(/&\d+/g);return e?e.length:0},e.html=function(){var e=this.blocks,t=" mathquill-command-id="+this.id,n=this.htmlTemplate.match(/<[^<>]+>|[^<>]+/g);f("no unmatched angle brackets",n.join("")===this.htmlTemplate);for(var r=0,i=n[0];i;i=n[r+=1])if("/>"===i.slice(-2))n[r]=i.slice(0,-2)+t+"/>";else if("<"===i.charAt(0)){f("not an unmatched top-level close tag","/"!==i.charAt(1)),n[r]=i.slice(0,-1)+t+">";var a=1;do{f("no missing close tags",i=n[r+=1]),"</"===i.slice(0,2)?a-=1:"<"===i.charAt(0)&&"/>"!==i.slice(-2)&&(a+=1)}while(a>0)}return n.join("").replace(/>&(\d+)/g,(function(t,n){return" mathquill-block-id="+e[n].id+">"+e[n].join("html")}))},e.latex=function(){return this.foldChildren(this.ctrlSeq,(function(e,t){return e+"{"+(t.latex()||" ")+"}"}))},e.textTemplate=[""],e.text=function(){var e=this,t=0;return e.foldChildren(e.textTemplate[t],(function(n,r){t+=1;var i=r.text();return n&&"("===e.textTemplate[t]&&"("===i[0]&&")"===i.slice(-1)?n+i.slice(1,-1)+e.textTemplate[t]:n+r.text()+(e.textTemplate[t]||"")}))}})),Y=p(B,(function(e,t){e.init=function(e,n,r){r||(r=e&&e.length>1?e.slice(1):e),t.init.call(this,e,n,[r])},e.parser=function(){return U.succeed(this)},e.numBlocks=function(){return 0},e.replaces=function(e){e.remove()},e.createBlocks=o,e.moveTowards=function(e,t){t.jQ.insDirOf(e,this.jQ),t[-e]=this,t[e]=this[e]},e.deleteTowards=function(e,t){t[e]=this.remove()[e]},e.seek=function(e,t){e-this.jQ.offset().left<this.jQ.outerWidth()/2?t.insLeftOf(this):t.insRightOf(this)},e.latex=function(){return this.ctrlSeq},e.text=function(){return this.textTemplate},e.placeCursor=o,e.isEmpty=function(){return!0}})),W=p(Y,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span>"+(n||e)+"</span>")}})),H=p(Y,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,'<span class="mq-binary-operator">'+n+"</span>",r)}})),V=p(G,(function(e,t){e.join=function(e){return this.foldChildren("",(function(t,n){return t+n[e]()}))},e.html=function(){return this.join("html")},e.latex=function(){return this.join("latex")},e.text=function(){return this.ends[h]===this.ends[1]&&0!==this.ends[h]?this.ends[h].text():this.join("text")},e.keystroke=function(e,n,r){return!r.options.spaceBehavesLikeTab||"Spacebar"!==e&&"Shift-Spacebar"!==e?t.keystroke.apply(this,arguments):(n.preventDefault(),void r.escapeDir("Shift-Spacebar"===e?h:1,e,n))},e.moveOutOf=function(e,t,n){!(n&&this.parent[n+"Into"])&&this[e]?t.insAtDirEnd(-e,this[e]):t.insDirOf(e,this.parent)},e.selectOutOf=function(e,t){t.insDirOf(e,this.parent)},e.deleteOutOf=function(e,t){t.unwrapGramp()},e.seek=function(e,t){var n=this.ends[1];if(!n||n.jQ.offset().left+n.jQ.outerWidth()<e)return t.insAtRightEnd(this);if(e<this.ends[h].jQ.offset().left)return t.insAtLeftEnd(this);for(;e<n.jQ.offset().left;)n=n[h];return n.seek(e,t)},e.chToCmd=function(e,t){var n;return e.match(/^[a-eg-zA-Z]$/)?ne(e):/^\d$/.test(e)?ee(e):t&&t.typingSlashWritesDivisionSymbol&&"/"===e?x["÷"](e):t&&t.typingAsteriskWritesTimesSymbol&&"*"===e?x["×"](e):(n=w[e]||x[e])?n(e):W(e)},e.write=function(e,t){var n=this.chToCmd(t,e.options);e.selection&&n.replaces(e.replaceSelection()),n.createLeftOf(e.show())},e.focus=function(){return this.jQ.addClass("mq-hasCursor"),this.jQ.removeClass("mq-empty"),this},e.blur=function(){return this.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.jQ.addClass("mq-empty"),this}}));C.StaticMath=function(e){return p(e.AbstractMathQuill,(function(t,n){this.RootBlock=V,t.__mathquillify=function(e,t){return this.config(e),n.__mathquillify.call(this,"mq-math-mode"),this.__controller.delegateMouseEvents(),this.__controller.staticMathTextareaEvents(),this},t.init=function(){n.init.apply(this,arguments),this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.MathField)},t.latex=function(){var t=n.latex.apply(this,arguments);return arguments.length>0&&this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.MathField),t}}))};var q=p(V,z);C.MathField=function(e){return p(e.EditableField,(function(e,t){this.RootBlock=q,e.__mathquillify=function(e,n){return this.config(e),n>1&&(this.__controller.root.reflow=o),t.__mathquillify.call(this,"mq-editable-field mq-math-mode"),delete this.__controller.root.reflow,this}}))};var Q=p(v,(function(e,t){function n(e){e.jQ[0].normalize();var t=e.jQ[0].firstChild;if(t){f("only node in TextBlock span is Text node",3===t.nodeType);var n=J(t.data);return n.jQadd(t),e.children().disown(),n.adopt(e,0,0)}}e.ctrlSeq="\\text",e.replaces=function(e){e instanceof I?this.replacedText=e.remove().jQ.text():"string"==typeof e&&(this.replacedText=e)},e.jQadd=function(e){t.jQadd.call(this,e),this.ends[h]&&this.ends[h].jQadd(this.jQ[0].firstChild)},e.createLeftOf=function(e){if(t.createLeftOf.call(this,e),this[1].siblingCreated&&this[1].siblingCreated(e.options,h),this[h].siblingCreated&&this[h].siblingCreated(e.options,1),this.bubble("reflow"),e.insAtRightEnd(this),this.replacedText)for(var n=0;n<this.replacedText.length;n+=1)this.write(e,this.replacedText.charAt(n))},e.parser=function(){var e=this,t=U.string,n=U.regex;return U.optWhitespace.then(t("{")).then(n(/^[^}]*/)).skip(t("}")).map((function(t){return 0===t.length?I():(J(t).adopt(e,0,0),e)}))},e.textContents=function(){return this.foldChildren("",(function(e,t){return e+t.text}))},e.text=function(){return'"'+this.textContents()+'"'},e.latex=function(){var e=this.textContents();return 0===e.length?"":"\\text{"+e.replace(/\\/g,"\\backslash ").replace(/[{}]/g,"\\$&")+"}"},e.html=function(){return'<span class="mq-text-mode" mathquill-command-id='+this.id+">"+this.textContents()+"</span>"},e.moveTowards=function(e,t){t.insAtDirEnd(-e,this)},e.moveOutOf=function(e,t){t.insDirOf(e,this)},e.unselectInto=e.moveTowards,e.selectTowards=B.prototype.selectTowards,e.deleteTowards=B.prototype.deleteTowards,e.selectOutOf=function(e,t){t.insDirOf(e,this)},e.deleteOutOf=function(e,t){this.isEmpty()&&t.insRightOf(this)},e.write=function(e,n){if(e.show().deleteSelection(),"$"!==n)e[h]?e[h].appendText(n):J(n).createLeftOf(e);else if(this.isEmpty())e.insRightOf(this),W("\\$","$").createLeftOf(e);else if(e[1])if(e[h]){var r=Q(),i=this.ends[h];i.disown().jQ.detach(),i.adopt(r,0,0),e.insLeftOf(this),t.createLeftOf.call(r,e)}else e.insLeftOf(this);else e.insRightOf(this)},e.seek=function(e,t){t.hide();var r=n(this),i=this.jQ.width()/this.text.length,a=Math.round((e-this.jQ.offset().left)/i);a<=0?t.insAtLeftEnd(this):a>=r.text.length?t.insAtRightEnd(this):t.insLeftOf(r.splitRight(a));for(var o=e-t.show().offset().left,s=o&&o<0?h:1,l=s;t[s]&&o*l>0;)t[s].moveTowards(s,t),l=o,o=e-t.offset().left;if(s*o<-s*l&&t[-s].moveTowards(-s,t),t.anticursor){if(t.anticursor.parent===this){var c=t[h]&&t[h].text.length;if(this.anticursorPosition===c)t.anticursor=y.copy(t);else{if(this.anticursorPosition<c){var u=t[h].splitRight(this.anticursorPosition);t[h]=u}else u=t[1].splitRight(this.anticursorPosition-c);t.anticursor=y(this,u[h],u)}}}else this.anticursorPosition=t[h]&&t[h].text.length},e.blur=function(e){V.prototype.blur.call(this),e&&(""===this.textContents()?(this.remove(),e[h]===this?e[h]=this[h]:e[1]===this&&(e[1]=this[1])):n(this))},e.focus=V.prototype.focus})),J=p(v,(function(e,t){function n(e,t){return t.charAt(e===h?0:-1+t.length)}e.init=function(e){t.init.call(this),this.text=e},e.jQadd=function(e){this.dom=e,this.jQ=m(e)},e.jQize=function(){return this.jQadd(document.createTextNode(this.text))},e.appendText=function(e){this.text+=e,this.dom.appendData(e)},e.prependText=function(e){this.text=e+this.text,this.dom.insertData(0,e)},e.insTextAtDirEnd=function(e,t){g(t),1===t?this.appendText(e):this.prependText(e)},e.splitRight=function(e){var t=J(this.text.slice(e)).adopt(this.parent,this,this[1]);return t.jQadd(this.dom.splitText(e)),this.text=this.text.slice(0,e),t},e.moveTowards=function(e,t){g(e);var r=n(-e,this.text),i=this[-e];return i?i.insTextAtDirEnd(r,e):J(r).createDir(-e,t),this.deleteTowards(e,t)},e.latex=function(){return this.text},e.deleteTowards=function(e,t){this.text.length>1?1===e?(this.dom.deleteData(0,1),this.text=this.text.slice(1)):(this.dom.deleteData(-1+this.text.length,1),this.text=this.text.slice(0,-1)):(this.remove(),this.jQ.remove(),t[e]=this[e])},e.selectTowards=function(e,t){g(e);var r=t.anticursor,i=n(-e,this.text);if(r[e]===this){var a=J(i).createDir(e,t);r[e]=a,t.insDirOf(e,a)}else{var o=this[-e];if(o)o.insTextAtDirEnd(i,e);else(a=J(i).createDir(-e,t)).jQ.insDirOf(-e,t.selection.jQ);1===this.text.length&&r[-e]===this&&(r[-e]=this[-e])}return this.deleteTowards(e,t)}}));function X(e,t,n){return p(Q,{ctrlSeq:e,htmlTemplate:"<"+t+" "+n+">&0</"+t+">"})}x.text=x.textnormal=x.textrm=x.textup=x.textmd=Q,x.em=x.italic=x.italics=x.emph=x.textit=x.textsl=X("\\textit","i",'class="mq-text-mode"'),x.strong=x.bold=x.textbf=X("\\textbf","b",'class="mq-text-mode"'),x.sf=x.textsf=X("\\textsf","span",'class="mq-sans-serif mq-text-mode"'),x.tt=x.texttt=X("\\texttt","span",'class="mq-monospace mq-text-mode"'),x.textsc=X("\\textsc","span",'style="font-variant:small-caps" class="mq-text-mode"'),x.uppercase=X("\\uppercase","span",'style="text-transform:uppercase" class="mq-text-mode"'),x.lowercase=X("\\lowercase","span",'style="text-transform:lowercase" class="mq-text-mode"');var K=p(B,(function(e,t){e.init=function(e){t.init.call(this,"$"),this.cursor=e},e.htmlTemplate='<span class="mq-math-mode">&0</span>',e.createBlocks=function(){t.createBlocks.call(this),this.ends[h].cursor=this.cursor,this.ends[h].write=function(e,t){"$"!==t?V.prototype.write.call(this,e,t):this.isEmpty()?(e.insRightOf(this.parent),this.parent.deleteTowards(dir,e),W("\\$","$").createLeftOf(e.show())):e[1]?e[h]?V.prototype.write.call(this,e,t):e.insLeftOf(this.parent):e.insRightOf(this.parent)}},e.latex=function(){return"$"+this.ends[h].latex()+"$"}})),$=p(q,(function(e,t){e.keystroke=function(e){if("Spacebar"!==e&&"Shift-Spacebar"!==e)return t.keystroke.apply(this,arguments)},e.write=function(e,t){var n;(e.show().deleteSelection(),"$"===t)?K(e).createLeftOf(e):("<"===t?n="&lt;":">"===t&&(n="&gt;"),W(t,n).createLeftOf(e))}}));C.TextField=function(e){return p(e.EditableField,(function(e,t){this.RootBlock=$,e.__mathquillify=function(){return t.__mathquillify.call(this,"mq-editable-field mq-text-mode")},e.latex=function(e){return arguments.length>0?(this.__controller.renderLatexText(e),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this):this.__controller.exportLatex()}}))};var ee=p(W,(function(e,t){e.createLeftOf=function(e){e.options.autoSubscriptNumerals&&e.parent!==e.parent.parent.sub&&(e[h]instanceof te&&!1!==e[h].isItalic||e[h]instanceof Ae&&e[h][h]instanceof te&&!1!==e[h][h].isItalic)?(x._().createLeftOf(e),t.createLeftOf.call(this,e),e.insRightOf(e.parent.parent)):t.createLeftOf.call(this,e)}})),te=p(Y,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<var>"+(n||e)+"</var>")},e.text=function(){var e=this.ctrlSeq;return this.isPartOfOperator?"\\"==e[0]?e=e.slice(1,e.length):" "==e[e.length-1]&&(e=e.slice(0,-1)):(!this[h]||this[h]instanceof te||this[h]instanceof H||"\\ "===this[h].ctrlSeq||(e="*"+e),!this[1]||this[1]instanceof H||this[1]instanceof Ae||(e+="*")),e}}));E.p.autoCommands={_maxLength:0},N.autoCommands=function(e){if(!/^[a-z]+(?: [a-z]+)*$/i.test(e))throw'"'+e+'" not a space-delimited list of only letters';for(var t=e.split(" "),n={},r=0,i=0;i<t.length;i+=1){var o=t[i];if(o.length<2)throw'autocommand "'+o+'" not minimum length of 2';if(x[o]===oe)throw'"'+o+'" is a built-in operator name';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var ne=p(te,(function(e,t){function n(e){return!e||e instanceof H||e instanceof Ee}e.init=function(e){return t.init.call(this,this.letter=e)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments);var n=e.options.autoCommands,r=n._maxLength;if(r>0){for(var i="",a=this,o=0;a instanceof ne&&a.ctrlSeq===a.letter&&o<r;)i=a.letter+i,a=a[h],o+=1;for(;i.length;){if(n.hasOwnProperty(i)){for(o=1,a=this;o<i.length;o+=1,a=a[h]);return I(a,this).remove(),e[h]=a[h],x[i](i).createLeftOf(e)}i=i.slice(1)}}},e.italicize=function(e){return this.isItalic=e,this.isPartOfOperator=!e,this.jQ.toggleClass("mq-operator-name",!e),this},e.finalizeTree=e.siblingDeleted=e.siblingCreated=function(e,t){t!==h&&this[1]instanceof ne||this.autoUnItalicize(e)},e.autoUnItalicize=function(e){var t=e.autoOperatorNames;if(0!==t._maxLength){for(var r=this.letter,a=this[h];a instanceof ne;a=a[h])r=a.letter+r;for(var o=this[1];o instanceof ne;o=o[1])r+=o.letter;I(a[1]||this.parent.ends[h],o[h]||this.parent.ends[1]).each((function(e){e.italicize(!0).jQ.removeClass("mq-first mq-last mq-followed-by-supsub"),e.ctrlSeq=e.letter}));e:for(var s=0,l=a[1]||this.parent.ends[h];s<r.length;s+=1,l=l[1])for(var c=i(t._maxLength,r.length-s);c>0;c-=1){var u=r.slice(s,s+c);if(t.hasOwnProperty(u)){for(var d=0,f=l;d<c;d+=1,f=f[1]){f.italicize(!1);var p=f}var g=re.hasOwnProperty(u);if(l.ctrlSeq=(g?"\\":"\\operatorname{")+l.ctrlSeq,p.ctrlSeq+=g?" ":"}",ae.hasOwnProperty(u)&&p[h][h][h].jQ.addClass("mq-last"),n(l[h])||l.jQ.addClass("mq-first"),!n(p[1]))if(p[1]instanceof Ae){var m=p[1];(m.siblingCreated=m.siblingDeleted=function(){m.jQ.toggleClass("mq-after-operator-name",!(m[1]instanceof Oe))})()}else p.jQ.toggleClass("mq-last",!(p[1]instanceof Oe));s+=c-1,l=p;continue e}}}}})),re={},ie=E.p.autoOperatorNames={_maxLength:9},ae={limsup:1,liminf:1,projlim:1,injlim:1};!function(){for(var e="arg deg det dim exp gcd hom inf ker lg lim ln log max min sup limsup liminf injlim projlim Pr".split(" "),t=0;t<e.length;t+=1)re[e[t]]=ie[e[t]]=1;var n="sin cos tan arcsin arccos arctan sinh cosh tanh sec csc cot coth".split(" ");for(t=0;t<n.length;t+=1)re[n[t]]=1;var r="sin cos tan sec cosec csc cotan cot ctg".split(" ");for(t=0;t<r.length;t+=1)ie[r[t]]=ie["arc"+r[t]]=ie[r[t]+"h"]=ie["ar"+r[t]+"h"]=ie["arc"+r[t]+"h"]=1;var i="gcf hcf lcm proj span".split(" ");for(t=0;t<i.length;t+=1)ie[i[t]]=1}(),N.autoOperatorNames=function(e){if(!/^[a-z]+(?: [a-z]+)*$/i.test(e))throw'"'+e+'" not a space-delimited list of only letters';for(var t=e.split(" "),n={},r=0,i=0;i<t.length;i+=1){var o=t[i];if(o.length<2)throw'"'+o+'" not minimum length of 2';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var oe=p(Y,(function(e,t){e.init=function(e){this.ctrlSeq=e},e.createLeftOf=function(e){for(var t=this.ctrlSeq,n=0;n<t.length;n+=1)ne(t.charAt(n)).createLeftOf(e)},e.parser=function(){for(var e=this.ctrlSeq,t=V(),n=0;n<e.length;n+=1)ne(e.charAt(n)).adopt(t,t.ends[1],0);return U.succeed(t.children())}}));for(var se in ie)ie.hasOwnProperty(se)&&(x[se]=oe);x.operatorname=p(B,(function(e){e.createLeftOf=o,e.numBlocks=function(){return 1},e.parser=function(){return Z.block.map((function(e){return e.children()}))}})),x.f=p(ne,(function(e,t){e.init=function(){Y.p.init.call(this,this.letter="f",'<var class="mq-f">f</var>')},e.italicize=function(e){return this.jQ.html("f").toggleClass("mq-f",e),t.italicize.apply(this,arguments)}})),x[" "]=x.space=d(W,"\\ ","&nbsp;"),x[","]=d(W,"{,}",","),x["'"]=x.prime=d(W,"'","&prime;"),x["″"]=x.dprime=d(W,"″","&Prime;"),x.backslash=d(W,"\\backslash ","\\"),w["\\"]||(w["\\"]=x.backslash),x.$=d(W,"\\$","$");var le=p(Y,(function(e,t){e.init=function(e,n){t.init.call(this,e,'<span class="mq-nonSymbola">'+(n||e)+"</span>")}}));x["@"]=le,x["#"]=d(le,"\\#","#"),x["&"]=d(le,"\\&","&amp;"),x["%"]=d(le,"\\%","%"),x.alpha=x.beta=x.gamma=x.delta=x.zeta=x.eta=x.theta=x.iota=x.kappa=x.mu=x.nu=x.xi=x.rho=x.sigma=x.tau=x.chi=x.psi=x.omega=p(te,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),x.phi=d(te,"\\phi ","&#981;"),x.phiv=x.varphi=d(te,"\\varphi ","&phi;"),x.epsilon=d(te,"\\epsilon ","&#1013;"),x.epsiv=x.varepsilon=d(te,"\\varepsilon ","&epsilon;"),x.piv=x.varpi=d(te,"\\varpi ","&piv;"),x.sigmaf=x.sigmav=x.varsigma=d(te,"\\varsigma ","&sigmaf;"),x.thetav=x.vartheta=x.thetasym=d(te,"\\vartheta ","&thetasym;"),x.upsilon=x.upsi=d(te,"\\upsilon ","&upsilon;"),x.gammad=x.Gammad=x.digamma=d(te,"\\digamma ","&#989;"),x.kappav=x.varkappa=d(te,"\\varkappa ","&#1008;"),x.rhov=x.varrho=d(te,"\\varrho ","&#1009;"),x.pi=x["π"]=d(le,"\\pi ","&pi;"),x.lambda=d(le,"\\lambda ","&lambda;"),x.Upsilon=x.Upsi=x.upsih=x.Upsih=d(Y,"\\Upsilon ",'<var style="font-family: serif">&upsih;</var>'),x.Gamma=x.Delta=x.Theta=x.Lambda=x.Xi=x.Pi=x.Sigma=x.Phi=x.Psi=x.Omega=x.forall=p(W,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}}));var ce=p(B,(function(e){e.init=function(e){this.latex=e},e.createLeftOf=function(e){var t=Z.parse(this.latex);t.children().adopt(e.parent,e[h],e[1]),e[h]=t.ends[1],t.jQize().insertBefore(e.jQ),t.finalizeInsert(e.options,e),t.ends[1][1].siblingCreated&&t.ends[1][1].siblingCreated(e.options,h),t.ends[h][h].siblingCreated&&t.ends[h][h].siblingCreated(e.options,1),e.parent.bubble("reflow")},e.parser=function(){var e=Z.parse(this.latex).children();return U.succeed(e)}}));x["⁰"]=d(ce,"^0"),x["¹"]=d(ce,"^1"),x["²"]=d(ce,"^2"),x["³"]=d(ce,"^3"),x["⁴"]=d(ce,"^4"),x["⁵"]=d(ce,"^5"),x["⁶"]=d(ce,"^6"),x["⁷"]=d(ce,"^7"),x["⁸"]=d(ce,"^8"),x["⁹"]=d(ce,"^9"),x["₀"]=d(ce,"_0"),x["₁"]=d(ce,"_1"),x["₂"]=d(ce,"_2"),x["₃"]=d(ce,"_3"),x["₄"]=d(ce,"_4"),x["₅"]=d(ce,"_5"),x["₆"]=d(ce,"_6"),x["₇"]=d(ce,"_7"),x["₈"]=d(ce,"_8"),x["₉"]=d(ce,"_9"),x["¼"]=d(ce,"\\frac14"),x["½"]=d(ce,"\\frac12"),x["¾"]=d(ce,"\\frac34");var ue=p(H,(function(e){e.init=W.prototype.init,e.contactWeld=e.siblingCreated=e.siblingDeleted=function(e,t){if(1!==t)return this.jQ[0].className=function e(t){return t[h]?t[h]instanceof H||/^[,;:\(\[]$/.test(t[h].ctrlSeq)?"":"mq-binary-operator":t.parent&&t.parent.parent&&t.parent.parent.isStyleBlock()?e(t.parent.parent):""}(this),this}}));x["+"]=d(ue,"+","+"),x["–"]=x["-"]=d(ue,"-","&minus;"),x["±"]=x.pm=x.plusmn=x.plusminus=d(ue,"\\pm ","&plusmn;"),x.mp=x.mnplus=x.minusplus=d(ue,"\\mp ","&#8723;"),w["*"]=x.sdot=x.cdot=d(H,"\\cdot ","&middot;","*");var de=p(H,(function(e,t){e.init=function(e,n){this.data=e,this.strict=n;var r=n?"Strict":"";t.init.call(this,e["ctrlSeq"+r],e["html"+r],e["text"+r])},e.swap=function(e){this.strict=e;var t=e?"Strict":"";this.ctrlSeq=this.data["ctrlSeq"+t],this.jQ.html(this.data["html"+t]),this.textTemplate=[this.data["text"+t]]},e.deleteTowards=function(e,n){if(e===h&&!this.strict)return this.swap(!0),void this.bubble("reflow");t.deleteTowards.apply(this,arguments)}})),fe={ctrlSeq:"\\le ",html:"&le;",text:"≤",ctrlSeqStrict:"<",htmlStrict:"&lt;",textStrict:"<"},pe={ctrlSeq:"\\ge ",html:"&ge;",text:"≥",ctrlSeqStrict:">",htmlStrict:"&gt;",textStrict:">"};x["<"]=x.lt=d(de,fe,!0),x[">"]=x.gt=d(de,pe,!0),x["≤"]=x.le=x.leq=d(de,fe,!1),x["≥"]=x.ge=x.geq=d(de,pe,!1);var he=p(H,(function(e,t){e.init=function(){t.init.call(this,"=","=")},e.createLeftOf=function(e){if(e[h]instanceof de&&e[h].strict)return e[h].swap(!1),void e[h].bubble("reflow");t.createLeftOf.apply(this,arguments)}}));x["="]=he,x["×"]=x.times=d(H,"\\times ","&times;","[x]"),x["÷"]=x.div=x.divide=x.divides=d(H,"\\div ","&divide;","[/]"),w["~"]=x.sim=d(H,"\\sim ","~","~"),x.notin=x.cong=x.equiv=x.oplus=x.otimes=p(H,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),x["≠"]=x.ne=x.neq=d(H,"\\ne ","&ne;"),x["∗"]=x.ast=x.star=x.loast=x.lowast=d(H,"\\ast ","&lowast;"),x.therefor=x.therefore=d(H,"\\therefore ","&there4;"),x.cuz=x.because=d(H,"\\because ","&#8757;"),x.prop=x.propto=d(H,"\\propto ","&prop;"),x["≈"]=x.asymp=x.approx=d(H,"\\approx ","&asymp;"),x["≢"]=x.notequiv=x.nequiv=d(H,"\\not\\equiv ","&#8802;"),x.isin=x.in=d(H,"\\in ","&isin;"),x.ni=x.contains=d(H,"\\ni ","&ni;"),x.notni=x.niton=x.notcontains=x.doesnotcontain=d(H,"\\not\\ni ","&#8716;"),x.sub=x.subset=d(H,"\\subset ","&sub;"),x.sup=x.supset=x.superset=d(H,"\\supset ","&sup;"),x.nsub=x.notsub=x.nsubset=x.notsubset=d(H,"\\not\\subset ","&#8836;"),x.nsup=x.notsup=x.nsupset=x.notsupset=x.nsuperset=x.notsuperset=d(H,"\\not\\supset ","&#8837;"),x.sube=x.subeq=x.subsete=x.subseteq=d(H,"\\subseteq ","&sube;"),x.supe=x.supeq=x.supsete=x.supseteq=x.supersete=x.superseteq=d(H,"\\supseteq ","&supe;"),x.nsube=x.nsubeq=x.notsube=x.notsubeq=x.nsubsete=x.nsubseteq=x.notsubsete=x.notsubseteq=d(H,"\\not\\subseteq ","&#8840;"),x.nsupe=x.nsupeq=x.notsupe=x.notsupeq=x.nsupsete=x.nsupseteq=x.notsupsete=x.notsupseteq=x.nsupersete=x.nsuperseteq=x.notsupersete=x.notsuperseteq=d(H,"\\not\\supseteq ","&#8841;"),x.N=x.naturals=x.Naturals=d(W,"\\mathbb{N}","&#8469;"),x.P=x.primes=x.Primes=x.projective=x.Projective=x.probability=x.Probability=d(W,"\\mathbb{P}","&#8473;"),x.Z=x.integers=x.Integers=d(W,"\\mathbb{Z}","&#8484;"),x.Q=x.rationals=x.Rationals=d(W,"\\mathbb{Q}","&#8474;"),x.R=x.reals=x.Reals=d(W,"\\mathbb{R}","&#8477;"),x.C=x.complex=x.Complex=x.complexes=x.Complexes=x.complexplane=x.Complexplane=x.ComplexPlane=d(W,"\\mathbb{C}","&#8450;"),x.H=x.Hamiltonian=x.quaternions=x.Quaternions=d(W,"\\mathbb{H}","&#8461;"),x.quad=x.emsp=d(W,"\\quad "," "),x.qquad=d(W,"\\qquad "," "),x.diamond=d(W,"\\diamond ","&#9671;"),x.bigtriangleup=d(W,"\\bigtriangleup ","&#9651;"),x.ominus=d(W,"\\ominus ","&#8854;"),x.uplus=d(W,"\\uplus ","&#8846;"),x.bigtriangledown=d(W,"\\bigtriangledown ","&#9661;"),x.sqcap=d(W,"\\sqcap ","&#8851;"),x.triangleleft=d(W,"\\triangleleft ","&#8882;"),x.sqcup=d(W,"\\sqcup ","&#8852;"),x.triangleright=d(W,"\\triangleright ","&#8883;"),x.odot=x.circledot=d(W,"\\odot ","&#8857;"),x.bigcirc=d(W,"\\bigcirc ","&#9711;"),x.dagger=d(W,"\\dagger ","&#0134;"),x.ddagger=d(W,"\\ddagger ","&#135;"),x.wr=d(W,"\\wr ","&#8768;"),x.amalg=d(W,"\\amalg ","&#8720;"),x.models=d(W,"\\models ","&#8872;"),x.prec=d(W,"\\prec ","&#8826;"),x.succ=d(W,"\\succ ","&#8827;"),x.preceq=d(W,"\\preceq ","&#8828;"),x.succeq=d(W,"\\succeq ","&#8829;"),x.simeq=d(W,"\\simeq ","&#8771;"),x.mid=d(W,"\\mid ","&#8739;"),x.nmid=d(W,"\\nmid","&#8740;"),x.ll=d(W,"\\ll ","&#8810;"),x.gg=d(W,"\\gg ","&#8811;"),x.parallel=d(W,"\\parallel ","&#8741;"),x.nparallel=d(W,"\\nparallel ","&#8742;"),x.bowtie=d(W,"\\bowtie ","&#8904;"),x.sqsubset=d(W,"\\sqsubset ","&#8847;"),x.sqsupset=d(W,"\\sqsupset ","&#8848;"),x.smile=d(W,"\\smile ","&#8995;"),x.sqsubseteq=d(W,"\\sqsubseteq ","&#8849;"),x.sqsupseteq=d(W,"\\sqsupseteq ","&#8850;"),x.doteq=d(W,"\\doteq ","&#8784;"),x.frown=d(W,"\\frown ","&#8994;"),x.vdash=d(W,"\\vdash ","&#8870;"),x.dashv=d(W,"\\dashv ","&#8867;"),x.nless=d(W,"\\nless ","&#8814;"),x.ngtr=d(W,"\\ngtr ","&#8815;"),x.longleftarrow=d(W,"\\longleftarrow ","&#8592;"),x.longrightarrow=d(W,"\\longrightarrow ","&#8594;"),x.Longleftarrow=d(W,"\\Longleftarrow ","&#8656;"),x.Longrightarrow=d(W,"\\Longrightarrow ","&#8658;"),x.longleftrightarrow=d(W,"\\longleftrightarrow ","&#8596;"),x.updownarrow=d(W,"\\updownarrow ","&#8597;"),x.Longleftrightarrow=d(W,"\\Longleftrightarrow ","&#8660;"),x.Updownarrow=d(W,"\\Updownarrow ","&#8661;"),x.mapsto=d(W,"\\mapsto ","&#8614;"),x.nearrow=d(W,"\\nearrow ","&#8599;"),x.hookleftarrow=d(W,"\\hookleftarrow ","&#8617;"),x.hookrightarrow=d(W,"\\hookrightarrow ","&#8618;"),x.searrow=d(W,"\\searrow ","&#8600;"),x.leftharpoonup=d(W,"\\leftharpoonup ","&#8636;"),x.rightharpoonup=d(W,"\\rightharpoonup ","&#8640;"),x.swarrow=d(W,"\\swarrow ","&#8601;"),x.leftharpoondown=d(W,"\\leftharpoondown ","&#8637;"),x.rightharpoondown=d(W,"\\rightharpoondown ","&#8641;"),x.nwarrow=d(W,"\\nwarrow ","&#8598;"),x.ldots=d(W,"\\ldots ","&#8230;"),x.cdots=d(W,"\\cdots ","&#8943;"),x.vdots=d(W,"\\vdots ","&#8942;"),x.ddots=d(W,"\\ddots ","&#8945;"),x.surd=d(W,"\\surd ","&#8730;"),x.triangle=d(W,"\\triangle ","&#9651;"),x.ell=d(W,"\\ell ","&#8467;"),x.top=d(W,"\\top ","&#8868;"),x.flat=d(W,"\\flat ","&#9837;"),x.natural=d(W,"\\natural ","&#9838;"),x.sharp=d(W,"\\sharp ","&#9839;"),x.wp=d(W,"\\wp ","&#8472;"),x.bot=d(W,"\\bot ","&#8869;"),x.clubsuit=d(W,"\\clubsuit ","&#9827;"),x.diamondsuit=d(W,"\\diamondsuit ","&#9826;"),x.heartsuit=d(W,"\\heartsuit ","&#9825;"),x.spadesuit=d(W,"\\spadesuit ","&#9824;"),x.parallelogram=d(W,"\\parallelogram ","&#9649;"),x.square=d(W,"\\square ","&#11036;"),x.oint=d(W,"\\oint ","&#8750;"),x.bigcap=d(W,"\\bigcap ","&#8745;"),x.bigcup=d(W,"\\bigcup ","&#8746;"),x.bigsqcup=d(W,"\\bigsqcup ","&#8852;"),x.bigvee=d(W,"\\bigvee ","&#8744;"),x.bigwedge=d(W,"\\bigwedge ","&#8743;"),x.bigodot=d(W,"\\bigodot ","&#8857;"),x.bigotimes=d(W,"\\bigotimes ","&#8855;"),x.bigoplus=d(W,"\\bigoplus ","&#8853;"),x.biguplus=d(W,"\\biguplus ","&#8846;"),x.lfloor=d(W,"\\lfloor ","&#8970;"),x.rfloor=d(W,"\\rfloor ","&#8971;"),x.lceil=d(W,"\\lceil ","&#8968;"),x.rceil=d(W,"\\rceil ","&#8969;"),x.opencurlybrace=x.lbrace=d(W,"\\lbrace ","{"),x.closecurlybrace=x.rbrace=d(W,"\\rbrace ","}"),x.lbrack=d(W,"["),x.rbrack=d(W,"]"),x.slash=d(W,"/"),x.vert=d(W,"|"),x.perp=x.perpendicular=d(W,"\\perp ","&perp;"),x.nabla=x.del=d(W,"\\nabla ","&nabla;"),x.hbar=d(W,"\\hbar ","&#8463;"),x.AA=x.Angstrom=x.angstrom=d(W,"\\text\\AA ","&#8491;"),x.ring=x.circ=x.circle=d(W,"\\circ ","&#8728;"),x.bull=x.bullet=d(W,"\\bullet ","&bull;"),x.setminus=x.smallsetminus=d(W,"\\setminus ","&#8726;"),x["¬"]=x.neg=d(W,"\\neg ","&not;"),x.not=p(W,(function(e,t){e.suffixes={"\\equiv":"notequiv","\\ni":"notni","\\subset":"notsubset","\\subseteq":"notsubseteq","\\supset":"notsupset","\\supseteq":"notsupseteq"},e.init=function(){return t.init.call(this,"\\neg ","&not;")},e.parser=function(){var t=U.succeed,n=U.optWhitespace;return function e(t){var n=U.string(t.shift());return t.length?n.or(e(t)):n}(Object.keys(e.suffixes).sort((function(e,t){return t.length-e.length}))).then((function(r){return n.then(t(x[e.suffixes[r]]()))})).or(n.then(t(this)))}})),x["…"]=x.dots=x.ellip=x.hellip=x.ellipsis=x.hellipsis=d(W,"\\dots ","&hellip;"),x.converges=x.darr=x.dnarr=x.dnarrow=x.downarrow=d(W,"\\downarrow ","&darr;"),x.dArr=x.dnArr=x.dnArrow=x.Downarrow=d(W,"\\Downarrow ","&dArr;"),x.diverges=x.uarr=x.uparrow=d(W,"\\uparrow ","&uarr;"),x.uArr=x.Uparrow=d(W,"\\Uparrow ","&uArr;"),x.to=d(H,"\\to ","&rarr;"),x.rarr=x.rightarrow=d(W,"\\rightarrow ","&rarr;"),x.implies=d(H,"\\Rightarrow ","&rArr;"),x.rArr=x.Rightarrow=d(W,"\\Rightarrow ","&rArr;"),x.gets=d(H,"\\gets ","&larr;"),x.larr=x.leftarrow=d(W,"\\leftarrow ","&larr;"),x.impliedby=d(H,"\\Leftarrow ","&lArr;"),x.lArr=x.Leftarrow=d(W,"\\Leftarrow ","&lArr;"),x.harr=x.lrarr=x.leftrightarrow=d(W,"\\leftrightarrow ","&harr;"),x.iff=d(H,"\\Leftrightarrow ","&hArr;"),x.hArr=x.lrArr=x.Leftrightarrow=d(W,"\\Leftrightarrow ","&hArr;"),x.Re=x.Real=x.real=d(W,"\\Re ","&real;"),x.Im=x.imag=x.image=x.imagin=x.imaginary=x.Imaginary=d(W,"\\Im ","&image;"),x.part=x.partial=d(W,"\\partial ","&part;"),x.infty=x.infin=x.infinity=d(W,"\\infty ","&infin;"),x.alef=x.alefsym=x.aleph=x.alephsym=d(W,"\\aleph ","&alefsym;"),x.xist=x.xists=x.exist=x.exists=d(W,"\\exists ","&exist;"),x.nexists=x.nexist=d(W,"\\nexists ","&#8708;"),x.and=x.land=x.wedge=d(H,"\\wedge ","&and;"),x.or=x.lor=x.vee=d(H,"\\vee ","&or;"),x.o=x.O=x.empty=x.emptyset=x.oslash=x.Oslash=x.nothing=x.varnothing=d(H,"\\varnothing ","&empty;"),x.cup=x.union=d(H,"\\cup ","&cup;"),x.cap=x.intersect=x.intersection=d(H,"\\cap ","&cap;"),x.deg=x.degree=d(W,"\\degree ","&deg;"),x.ang=x.angle=d(W,"\\angle ","&ang;"),x.measuredangle=d(W,"\\measuredangle ","&#8737;"),x.sphericalangle=d(W,"\\sphericalangle ","&#8738;");var ge,me,ye=o,ve=document.createElement("div").style;for(var be in{transform:1,WebkitTransform:1,MozTransform:1,OTransform:1,msTransform:1})if(be in ve){me=be;break}me?ge=function(e,t,n){e.css(me,"scale("+t+","+n+")")}:"filter"in ve?(ye=function(e){e.className=e.className},ge=function(e,t,n){t/=1+(n-1)/2,e.css("fontSize",n+"em"),e.hasClass("mq-matrixed-container")||e.addClass("mq-matrixed-container").wrapInner('<span class="mq-matrixed"></span>');var r=e.children().css("filter","progid:DXImageTransform.Microsoft.Matrix(M11="+t+",SizingMethod='auto expand')");function i(){e.css("marginRight",(r.width()-1)*(t-1)/t+"px")}i();var a=setInterval(i);m(window).load((function(){clearTimeout(a),i()}))}):ge=function(e,t,n){e.css("fontSize",n+"em")};var Ie=p(B,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,"<"+n+" "+r+">&0</"+n+">")}})),xe=p(te,(function(e,t){e.symbols={C:"&#8450;",H:"&#8461;",N:"&#8469;",P:"&#8473;",Q:"&#8474;",R:"&#8477;",Z:"&#8484;"},e.init=function(e){var n=e;this.symbols[e]&&(n='<span class="mq-original">'+e+"</span>"+this.symbols[e]),t.init.call(this,e,n)}}));x.mathrm=d(Ie,"\\mathrm","span",'class="mq-roman mq-font"'),x.mathit=d(Ie,"\\mathit","i",'class="mq-font"'),x.mathbf=d(Ie,"\\mathbf","b",'class="mq-font"'),x.mathsf=d(Ie,"\\mathsf","span",'class="mq-sans-serif mq-font"'),x.mathtt=d(Ie,"\\mathtt","span",'class="mq-monospace mq-font"'),x.mathbb=p(B,(function(e,t){e.init=function(){t.init.call(this,"\\mathbb",'<span class="mq-mathbb mq-font">&0</span>')},e.adopt=function(){return this.eachChild((function(e){if(!e.writeOverride){var t=e.write,n=e.deleteOutOf;e.write=e.writeOverride=function(n,r,i){var a;if(!xe.prototype.symbols[r])return t.apply(e,arguments);a=xe(r),i&&a.replaces(i),a.createLeftOf(n)},e.deleteOutOf=function(t,r){var i=[];return e.eachChild((function(t){var n=t.ctrlSeq;i.push(te(n).adopt(e,e.ends[1],0)),t.remove()})),i.length&&(r[1]=i[0]),e.jQize().appendTo(e.jQ),n.apply(e,arguments)}}})),t.adopt.apply(this,arguments)},e.finalizeTree=function(){this.eachChild((function(e){e.eachChild((function(t){var n=t.ctrlSeq,r=te;xe.prototype.symbols[n]&&(r=xe),r(n).adopt(e,e.ends[1],0),t.remove()})),e.jQize().appendTo(e.jQ)}))}})),x.underline=d(Ie,"\\underline","span",'class="mq-non-leaf mq-underline"'),x.overline=x.bar=d(Ie,"\\overline","span",'class="mq-non-leaf mq-overline"');var we=p(B,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span "+n+'><span class="mq-arrow-inner">&0</span></span>')}}));x.overrightarrow=d(we,"\\overrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-right"'),x.overleftarrow=d(we,"\\overleftarrow",'class="mq-non-leaf mq-overarrow mq-arrow-left"'),x.overleftrightarrow=d(we,"\\overleftrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-leftright"'),x.underrightarrow=d(we,"\\underrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-right"'),x.underleftarrow=d(we,"\\underleftarrow",'class="mq-non-leaf mq-underarrow mq-arrow-left"'),x.underleftrightarrow=d(we,"\\underleftrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-leftright"');var Te=p(B,(function(e,t){e.ctrlSeq="\\xrightleftharpoons",e.htmlTemplate='<span class="mq-harpoons mq-harpoons-rightleft mq-non-leaf"><span class="mq-harpoons-numerator">&0</span><span class="mq-harpoons-harpoons">&#x21cc;</span></span>'})),Me=x.xrightleftharpoons=p(Te,(function(e,t){e.ctrlSeq="\\xrightleftharpoons",e.htmlTemplate='<span class="mq-harpoons mq-harpoons-rightleft mq-non-leaf"><span class="mq-harpoons-numerator">&1</span><span class="mq-harpoons-harpoons">&#x21cc;</span><span class="mq-harpoons-denominator">&0</span></span>',e.parser=function(){return Z.optBlock.then((function(e){return Z.block.map((function(t){var n=Me();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(Z.block.map((function(e){var t=Te();return t.blocks=[e],e.adopt(t,0,0),t})))},e.latex=function(){return this.ctrlSeq+"["+this.ends[h].latex()+"]{"+this.ends[1].latex()+"}"}}));x.overarc=d(Ie,"\\overarc","span",'class="mq-non-leaf mq-overarc"'),x.dot=p(B,(function(e,t){e.init=function(){t.init.call(this,"\\dot",'<span class="mq-non-leaf"><span class="mq-dot-recurring-inner"><span class="mq-dot-recurring">&#x2d9;</span><span class="mq-empty-box">&0</span></span></span>')}}));x.textcolor=p(B,(function(e,t){e.setColor=function(e){this.color=e,this.htmlTemplate='<span class="mq-textcolor" style="color:'+e+'">&0</span>'},e.latex=function(){return"\\textcolor{"+this.color+"}{"+this.blocks[0].latex()+"}"},e.parser=function(){var e=this,n=U.optWhitespace,r=U.string,i=U.regex;return n.then(r("{")).then(i(/^[#\w\s.,()%-]*/)).skip(r("}")).then((function(n){return e.setColor(n),t.parser.call(e)}))},e.isStyleBlock=function(){return!0}})),x.class=p(B,(function(e,t){e.parser=function(){var e=this,n=U.string,r=U.regex;return U.optWhitespace.then(n("{")).then(r(/^[-\w\s\\\xA0-\xFF]*/)).skip(n("}")).then((function(n){return e.cls=n||"",e.htmlTemplate='<span class="mq-class '+n+'">&0</span>',t.parser.call(e)}))},e.latex=function(){return"\\class{"+this.cls+"}{"+this.blocks[0].latex()+"}"},e.isStyleBlock=function(){return!0}}));var Ae=p(B,(function(e,t){e.ctrlSeq="_{...}^{...}",e.createLeftOf=function(e){if(this.replacedFragment||e[h]||!e.options.supSubsRequireOperand)return t.createLeftOf.apply(this,arguments)},e.contactWeld=function(e){for(var t=h;t;t=t===h&&1)if(this[t]instanceof Ae){for(var n="sub";n;n="sub"===n&&"sup"){var r=this[n],i=this[t][n];if(r){if(i)if(r.isEmpty())o=y(i,0,i.ends[h]);else{r.jQ.children().insAtDirEnd(-t,i.jQ);var a=r.children().disown(),o=y(i,a.ends[1],i.ends[h]);t===h?a.adopt(i,i.ends[1],0):a.adopt(i,0,i.ends[h])}else this[t].addBlock(r.disown());this.placeCursor=function(e,n){return function(r){r.insAtDirEnd(-t,e||n)}}(i,r)}}this.remove(),e&&e[h]===this&&(1===t&&o?o[h]?e.insRightOf(o[h]):e.insAtLeftEnd(o.parent):e.insRightOf(this[t]));break}},E.p.charsThatBreakOutOfSupSub="",e.finalizeTree=function(){this.ends[h].write=function(e,t){if(e.options.autoSubscriptNumerals&&this===this.parent.sub){if("_"===t)return;var n=this.chToCmd(t,e.options);return n instanceof Y?e.deleteSelection():e.clearSelection().insRightOf(this.parent),n.createLeftOf(e.show())}e[h]&&!e[1]&&!e.selection&&e.options.charsThatBreakOutOfSupSub.indexOf(t)>-1&&e.insRightOf(this.parent),V.p.write.apply(this,arguments)}},e.moveTowards=function(e,n,r){n.options.autoSubscriptNumerals&&!this.sup?n.insDirOf(e,this):t.moveTowards.apply(this,arguments)},e.deleteTowards=function(e,n){if(n.options.autoSubscriptNumerals&&this.sub){var r=this.sub.ends[-e];r instanceof Y?r.remove():r&&r.deleteTowards(e,n.insAtDirEnd(-e,this.sub)),this.sub.isEmpty()&&(this.sub.deleteOutOf(h,n.insAtLeftEnd(this.sub)),this.sup&&n.insDirOf(-e,this))}else t.deleteTowards.apply(this,arguments)},e.latex=function(){function e(e,t){var n=t&&t.latex();return t?e+(1===n.length?n:"{"+(n||" ")+"}"):""}return e("_",this.sub)+e("^",this.sup)},e.addBlock=function(e){"sub"===this.supsub?(this.sup=this.upInto=this.sub.upOutOf=e,e.adopt(this,this.sub,0).downOutOf=this.sub,e.jQ=m('<span class="mq-sup"/>').append(e.jQ.children()).attr(r,e.id).prependTo(this.jQ)):(this.sub=this.downInto=this.sup.downOutOf=e,e.adopt(this,0,this.sup).upOutOf=this.sup,e.jQ=m('<span class="mq-sub"></span>').append(e.jQ.children()).attr(r,e.id).appendTo(this.jQ.removeClass("mq-sup-only")),this.jQ.append('<span style="display:inline-block;width:0">&#8203;</span>'));for(var t=0;t<2;t+=1)!function(e,t,n,r){e[t].deleteOutOf=function(i,a){if(a.insDirOf(this[i]?-i:i,this.parent),!this.isEmpty()){var o=this.ends[i];this.children().disown().withDirAdopt(i,a.parent,a[i],a[-i]).jQ.insDirOf(-i,a.jQ),a[-i]=o}e.supsub=n,delete e[t],delete e[r+"Into"],e[n][r+"OutOf"]=Ce,delete e[n].deleteOutOf,"sub"===t&&m(e.jQ.addClass("mq-sup-only")[0].lastChild).remove(),this.remove()}}(this,"sub sup".split(" ")[t],"sup sub".split(" ")[t],"down up".split(" ")[t])}}));function Ce(e){var t=this.parent,n=e;do{if(n[1])return e.insLeftOf(t);n=n.parent.parent}while(n!==t);e.insRightOf(t)}x.subscript=x._=p(Ae,(function(e,t){e.supsub="sub",e.htmlTemplate='<span class="mq-supsub mq-non-leaf"><span class="mq-sub">&0</span><span style="display:inline-block;width:0">&#8203;</span></span>',e.textTemplate=["_"],e.finalizeTree=function(){this.downInto=this.sub=this.ends[h],this.sub.upOutOf=Ce,t.finalizeTree.call(this)}})),x.superscript=x.supscript=x["^"]=p(Ae,(function(e,t){e.supsub="sup",e.htmlTemplate='<span class="mq-supsub mq-non-leaf mq-sup-only"><span class="mq-sup">&0</span></span>',e.textTemplate=["^"],e.finalizeTree=function(){this.upInto=this.sup=this.ends[1],this.sup.downOutOf=Ce,t.finalizeTree.call(this)}}));var Ee=p(B,(function(e,t){e.init=function(e,t){var n='<span class="mq-large-operator mq-non-leaf"><span class="mq-to"><span>&1</span></span><big>'+t+'</big><span class="mq-from"><span>&0</span></span></span>';Y.prototype.init.call(this,e,n)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments),e.options.sumStartsWithNEquals&&(ne("n").createLeftOf(e),he().createLeftOf(e))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return this.ctrlSeq+"_"+e(this.ends[h].latex())+"^"+e(this.ends[1].latex())},e.parser=function(){for(var e=U.string,t=U.optWhitespace,n=U.succeed,r=Z.block,i=this,a=i.blocks=[V(),V()],o=0;o<a.length;o+=1)a[o].adopt(i,i.ends[1],0);return t.then(e("_").or(e("^"))).then((function(e){var t=a["_"===e?0:1];return r.then((function(e){return e.children().adopt(t,t.ends[1],0),n(i)}))})).many().result(i)},e.finalizeTree=function(){this.downInto=this.ends[h],this.upInto=this.ends[1],this.ends[h].upOutOf=this.ends[1],this.ends[1].downOutOf=this.ends[h]}}));x["∑"]=x.sum=x.summation=d(Ee,"\\sum ","&sum;"),x["∏"]=x.prod=x.product=d(Ee,"\\prod ","&prod;"),x.coprod=x.coproduct=d(Ee,"\\coprod ","&#8720;"),x["∫"]=x.int=x.integral=p(Ee,(function(e,t){e.init=function(){Y.prototype.init.call(this,"\\int ",'<span class="mq-int mq-non-leaf"><big>&int;</big><span class="mq-supsub mq-non-leaf"><span class="mq-sup"><span class="mq-sup-inner">&1</span></span><span class="mq-sub">&0</span><span style="display:inline-block;width:0">&#8203</span></span></span>')},e.createLeftOf=B.p.createLeftOf})),x.bigg=x.intsub=x.integralsubstitution=p(Ee,(function(e,t){e.init=function(){Y.prototype.init.call(this,"\\bigg",'<span class="mq-intsub mq-non-leaf"><big>/</big><span class="mq-supsub mq-non-leaf"><span class="mq-sup"><span class="mq-sup-inner">&1</span></span><span class="mq-sub">&0</span><span style="display:inline-block;width:0">&#8203</span></span></span>')},e.createLeftOf=B.p.createLeftOf,e.parser=function(){var e=this,t=U.string,n=U.optWhitespace,r=U.succeed;e.blocks=[V(),V()];for(var i=0;i<e.blocks.length;i+=1)e.blocks[i].adopt(e,e.ends[1],0);return t("/_{").then(t("\\!").many()).then(Z).then((function(t){return t.children().adopt(e.blocks[0],e.blocks[0].ends[1],0),r(e)})).then(n).then(t("}")).then(n).then(t("^")).then(Z.block).then((function(t){return t.children().adopt(e.blocks[1],e.blocks[1].ends[1],0),r(e)}))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return"\\bigg/_{\\!\\!\\!\\!\\!"+e(this.blocks[0].latex())+"}^"+e(this.blocks[1].latex())}}));var Ne=x.frac=x.dfrac=x.cfrac=x.fraction=p(B,(function(e,t){e.ctrlSeq="\\frac",e.htmlTemplate='<span class="mq-fraction mq-non-leaf"><span class="mq-numerator">&0</span><span class="mq-denominator">&1</span><span style="display:inline-block;width:0">&#8203;</span></span>',e.textTemplate=["(",")/(",")"],e.finalizeTree=function(){this.upInto=this.ends[1].upOutOf=this.ends[h],this.downInto=this.ends[h].downOutOf=this.ends[1]}})),Se=x.over=w["/"]=p(Ne,(function(e,t){e.createLeftOf=function(e){if(!this.replacedFragment){for(var n=e[h];n&&!(n instanceof H||n instanceof(x.text||o)||n instanceof Ee||"\\ "===n.ctrlSeq||/^[,;:]$/.test(n.ctrlSeq));)n=n[h];n instanceof Ee&&n[1]instanceof Ae&&(n=n[1])[1]instanceof Ae&&n[1].ctrlSeq!=n.ctrlSeq&&(n=n[1]),n!==e[h]&&(this.replaces(I(n[1]||e.parent.ends[h],e[h])),e[h]=n)}t.createLeftOf.call(this,e)}})),ke=x.sqrt=x["√"]=p(B,(function(e,t){e.ctrlSeq="\\sqrt",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-scaled mq-sqrt-prefix">&radic;</span><span class="mq-non-leaf mq-sqrt-stem">&0</span></span>',e.textTemplate=["sqrt(",")"],e.parser=function(){return Z.optBlock.then((function(e){return Z.block.map((function(t){var n=je();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(t.parser.call(this))},e.reflow=function(){var e=this.ends[1].jQ;ge(e.prev(),1,e.innerHeight()/+e.css("fontSize").slice(0,-2)-.1)}})),je=(x.hat=p(B,(function(e,t){e.ctrlSeq="\\hat",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-hat-prefix">^</span><span class="mq-hat-stem">&0</span></span>',e.textTemplate=["hat(",")"]})),x.nthroot=p(ke,(function(e,t){e.htmlTemplate='<span class="mq-nthroot mq-non-leaf">&0</span><span class="mq-scaled"><span class="mq-sqrt-prefix mq-scaled">&radic;</span><span class="mq-sqrt-stem mq-non-leaf">&1</span></span>',e.textTemplate=["sqrt[","](",")"],e.latex=function(){return"\\sqrt["+this.ends[h].latex()+"]{"+this.ends[1].latex()+"}"}}))),De=p(B,(function(e,t){e.init=function(e,n,r){var i='<span class="mq-non-leaf"><span class="mq-diacritic-above">'+n+'</span><span class="mq-diacritic-stem">&0</span></span>';t.init.call(this,e,i,r)}}));function Le(e,t){e.jQadd=function(){t.jQadd.apply(this,arguments),this.delimjQs=this.jQ.children(":first").add(this.jQ.children(":last")),this.contentjQ=this.jQ.children(":eq(1)")},e.reflow=function(){var e=this.contentjQ.outerHeight()/parseFloat(this.contentjQ.css("fontSize"));ge(this.delimjQs,i(1+.2*(e-1),1.2),1.2*e)}}x.vec=d(De,"\\vec","&rarr;",["vec(",")"]),x.tilde=d(De,"\\tilde","~",["tilde(",")"]);var Oe=p(p(B,Le),(function(e,t){e.init=function(e,n,r,i,a){t.init.call(this,"\\left"+i,void 0,[n,r]),this.side=e,this.sides={},this.sides[h]={ch:n,ctrlSeq:i},this.sides[1]={ch:r,ctrlSeq:a}},e.numBlocks=function(){return 1},e.html=function(){return this.htmlTemplate='<span class="mq-non-leaf"><span class="mq-scaled mq-paren'+(1===this.side?" mq-ghost":"")+'">'+this.sides[h].ch+'</span><span class="mq-non-leaf">&0</span><span class="mq-scaled mq-paren'+(this.side===h?" mq-ghost":"")+'">'+this.sides[1].ch+"</span></span>",t.html.call(this)},e.latex=function(){return"\\left"+this.sides[h].ctrlSeq+this.ends[h].latex()+"\\right"+this.sides[1].ctrlSeq},e.matchBrack=function(e,t,n){return n instanceof Oe&&n.side&&n.side!==-t&&(!e.restrictMismatchedBrackets||Pe[this.sides[this.side].ch]===n.sides[n.side].ch||{"(":"]","[":")"}[this.sides[h].ch]===n.sides[1].ch)&&n},e.closeOpposing=function(e){e.side=0,e.sides[this.side]=this.sides[this.side],e.delimjQs.eq(this.side===h?0:1).removeClass("mq-ghost").html(this.sides[this.side].ch)},e.createLeftOf=function(e){if(!this.replacedFragment){var n=e.options;if("|"===this.sides[h].ch)var r=this.matchBrack(n,1,e[1])||this.matchBrack(n,h,e[h])||this.matchBrack(n,0,e.parent.parent);else r=this.matchBrack(n,-this.side,e[-this.side])||this.matchBrack(n,-this.side,e.parent.parent)}if(r){var i=this.side=-r.side;this.closeOpposing(r),r===e.parent.parent&&e[i]&&I(e[i],e.parent.ends[i],-i).disown().withDirAdopt(-i,r.parent,r,r[i]).jQ.insDirOf(i,r.jQ),r.bubble("reflow")}else i=(r=this).side,r.replacedFragment?r.side=0:e[-i]&&(r.replaces(I(e[-i],e.parent.ends[-i],i)),e[-i]=0),t.createLeftOf.call(r,e);i===h?e.insAtLeftEnd(r.ends[h]):e.insRightOf(r)},e.placeCursor=o,e.unwrap=function(){this.ends[h].children().disown().adopt(this.parent,this,this[1]).jQ.insertAfter(this.jQ),this.remove()},e.deleteSide=function(e,t,n){var r=this.parent,i=this[e],a=r.ends[e];if(e===this.side)return this.unwrap(),void(i?n.insDirOf(-e,i):n.insAtDirEnd(e,r));var o=n.options,s=!this.side;if(this.side=-e,this.matchBrack(o,e,this.ends[h].ends[this.side])){this.closeOpposing(this.ends[h].ends[this.side]);var l=this.ends[h].ends[e];this.unwrap(),l.siblingCreated&&l.siblingCreated(n.options,e),i?n.insDirOf(-e,i):n.insAtDirEnd(e,r)}else{if(this.matchBrack(o,e,this.parent.parent))this.parent.parent.closeOpposing(this),this.parent.parent.unwrap();else{if(t&&s)return this.unwrap(),void(i?n.insDirOf(-e,i):n.insAtDirEnd(e,r));this.sides[e]={ch:Pe[this.sides[this.side].ch],ctrlSeq:Pe[this.sides[this.side].ctrlSeq]},this.delimjQs.removeClass("mq-ghost").eq(e===h?0:1).addClass("mq-ghost").html(this.sides[e].ch)}if(i){l=this.ends[h].ends[e];I(i,a,-e).disown().withDirAdopt(-e,this.ends[h],l,0).jQ.insAtDirEnd(e,this.ends[h].jQ.removeClass("mq-empty")),l.siblingCreated&&l.siblingCreated(n.options,e),n.insDirOf(-e,i)}else t?n.insDirOf(e,this):n.insAtDirEnd(e,this.ends[h])}},e.deleteTowards=function(e,t){this.deleteSide(-e,!1,t)},e.finalizeTree=function(){this.ends[h].deleteOutOf=function(e,t){this.parent.deleteSide(e,!0,t)},this.finalizeTree=this.intentionalBlur=function(){this.delimjQs.eq(this.side===h?1:0).removeClass("mq-ghost"),this.side=0}},e.siblingCreated=function(e,t){t===-this.side&&this.finalizeTree()}})),Pe={"(":")",")":"(","[":"]","]":"[","{":"}","}":"{","\\{":"\\}","\\}":"\\{","&lang;":"&rang;","&rang;":"&lang;","\\langle ":"\\rangle ","\\rangle ":"\\langle ","|":"|","\\lVert ":"\\rVert ","\\rVert ":"\\lVert "};function Re(e,t){t=t||e;var n=Pe[e],r=Pe[t];w[e]=d(Oe,h,e,n,t,r),w[n]=d(Oe,1,e,n,t,r)}Re("("),Re("["),Re("{","\\{"),x.langle=d(Oe,h,"&lang;","&rang;","\\langle ","\\rangle "),x.rangle=d(Oe,1,"&lang;","&rang;","\\langle ","\\rangle "),w["|"]=d(Oe,h,"|","|","|","|"),x.lVert=d(Oe,h,"&#8741;","&#8741;","\\lVert ","\\rVert "),x.rVert=d(Oe,1,"&#8741;","&#8741;","\\lVert ","\\rVert "),x.left=p(B,(function(e){e.parser=function(){var e=U.regex,t=U.string,n=(U.succeed,U.optWhitespace);return n.then(e(/^(?:[([|]|\\\{|\\langle\b|\\lVert\b)/)).then((function(r){var i="\\"===r.charAt(0)?r.slice(1):r;return"\\langle"==r&&(i="&lang;",r+=" "),"\\lVert"==r&&(i="&#8741;",r+=" "),Z.then((function(a){return t("\\right").skip(n).then(e(/^(?:[\])|]|\\\}|\\rangle\b|\\rVert\b)/)).map((function(e){var t="\\"===e.charAt(0)?e.slice(1):e;"\\rangle"==e&&(t="&rang;",e+=" "),"\\rVert"==e&&(t="&#8741;",e+=" ");var n=Oe(0,i,t,r,e);return n.blocks=[a],a.adopt(n,0,0),n}))}))}))}})),x.right=p(B,(function(e){e.parser=function(){return U.fail("unmatched \\right")}}));var ze=x.binom=x.binomial=p(p(B,Le),(function(e,t){e.ctrlSeq="\\binom",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-paren mq-scaled">(</span><span class="mq-non-leaf"><span class="mq-array mq-non-leaf"><span>&0</span><span>&1</span></span></span><span class="mq-paren mq-scaled">)</span></span>',e.textTemplate=["choose(",",",")"]}));x.choose=p(ze,(function(e){e.createLeftOf=Se.prototype.createLeftOf}));x.editable=x.MathQuillMathField=p(B,(function(e,t){e.ctrlSeq="\\MathQuillMathField",e.htmlTemplate='<span class="mq-editable-field"><span class="mq-root-block">&0</span></span>',e.parser=function(){var e=this,n=U.string,r=U.regex,i=U.succeed;return n("[").then(r(/^[a-z][a-z0-9]*/i)).skip(n("]")).map((function(t){e.name=t})).or(i()).then(t.parser.call(e))},e.finalizeTree=function(e){var t=A(this.ends[h],this.jQ,e);t.KIND_OF_MQ="MathField",t.editable=!0,t.createTextarea(),t.editablesTextareaEvents(),t.cursor.insAtRightEnd(t.root),z(t.root)},e.registerInnerField=function(e,t){e.push(e[this.name]=t(this.ends[h].controller))},e.latex=function(){return this.ends[h].latex()},e.text=function(){return this.ends[h].text()}}));var _e=x.embed=p(Y,(function(e,t){e.setOptions=function(e){function t(){return""}return this.text=e.text||t,this.htmlTemplate=e.htmlString||"",this.latex=e.latex||t,this},e.parser=function(){var e=this,t=U.string,n=U.regex,r=U.succeed;return t("{").then(n(/^[a-z][a-z0-9]*/i)).skip(t("}")).then((function(i){return t("[").then(n(/^[-\w\s]*/)).skip(t("]")).or(r()).map((function(t){return e.setOptions(k[i](t))}))}))}})),Ue={};x.begin=p(B,(function(e,t){e.parser=function(){var e=U.string,t=U.regex;return e("{").then(t(/^[a-z]+/i)).skip(e("}")).then((function(t){return(Ue[t]?Ue[t]().parser():U.fail("unknown environment type: "+t)).skip(e("\\end{"+t+"}"))}))}}));var Fe=p(B,(function(e,t){e.template=[["\\begin{","}"],["\\end{","}"]],e.wrappers=function(){return[e.template[0].join(this.environment),e.template[1].join(this.environment)]}})),Ze=Ue.matrix=p(Fe,(function(e,t){var n="&",a="\\\\";e.parentheses={left:null,right:null},e.environment="matrix",e.reflow=function(){var e=this.jQ.children("table"),t=e.outerHeight()/+e.css("fontSize").slice(0,-2),n=this.jQ.children(".mq-paren");n.length&&ge(n,i(1+.2*(t-1),1.2),1.05*t)},e.latex=function(){var e,t=this.hline,r="";this.eachChild((function(i){void 0!==e&&(e!==i.row?(r+=a+"\n",t&&(r+="\\hline\n",t=!1)):r+=n),e=i.row,r+=i.latex()}));var i=this.options?"{"+this.options+"}":"";return this.wrappers().join(i+"\n"+r+"\n")},e.html=function(){var e,n=[],r="",i=0;function a(e){return e?'<span class="mq-scaled mq-paren">'+e+"</span>":""}return this.eachChild((function(t){e!==t.row&&(e=t.row,r+="<tr>$tds</tr>",n[e]=[]),n[e].push("<td>&"+i+++"</td>")})),this.htmlTemplate='<span class="mq-matrix mq-matrix-'+this.environment+' mq-non-leaf">'+a(this.parentheses.left)+'<table class="mq-non-leaf">'+r.replace(/\$tds/g,(function(){return n.shift().join("")}))+"</table>"+a(this.parentheses.right)+"</span>",t.html.call(this)},e.createBlocks=function(){this.blocks=[Ge(0,this),Ge(0,this),Ge(1,this),Ge(1,this)]},e.parser=function(){var e=this,t=U.optWhitespace,r=U.string;return(0,U.regex)(/^({[clr](\|?[clr])*})?/).then((function(t){return t&&!e.options&&(e.options=t.slice(1,-1)),U.succeed(e)})).then(t.then(r(n).or(r(a)).or(r("\\hline")).or(Z.block)).many()).skip(t).then((function(t){var n=[],r=0;function i(){e.blocks.push(Ge(r,e,n)),n=[]}e.blocks=[];for(var o=0;o<t.length;o+=1)t[o]instanceof V?n.push(t[o]):"\\hline"===t[o]?e.hline=!0:(i(),t[o]===a&&(r+=1));return i(),e.autocorrect(),U.succeed(e)}))},e.finalizeTree=function(){var e=this.jQ.find("table");e.toggleClass("mq-rows-1",1===e.find("tr").length),this.relink()},e.relink=function(){for(var e,t,n,r=this.blocks,i=[],a=0;a<r.length;a+=1)e!==(n=r[a]).row&&(i[e=n.row]=[],t=0),i[e][t]=n,n[1]=r[a+1],n[h]=r[a-1],i[e-1]&&i[e-1][t]&&(n.upOutOf=i[e-1][t],i[e-1][t].downOutOf=n),t+=1;this.ends[h]=r[0],this.ends[1]=r[r.length-1]},e.autocorrect=function(e){var t,n,r,i,a,o=[],s=(e=[],this.blocks);for(a=0;a<s.length;a+=1)e[i=s[a].row]=e[i]||[],e[i].push(s[a]),o[i]=e[i].length;if((t=Math.max.apply(null,o))!==Math.min.apply(null,o)){for(a=0;a<e.length;a+=1)for(n=t-e[a].length;n;)r=t*a+e[a].length,s.splice(r,0,Ge(a,this)),n-=1;this.relink()}},e.deleteCell=function(e){var t,n,r=[],i=[],a=[],o=[],s=this.blocks;function l(e){for(var t=[],n=0;n<e.length;n+=1)e[n].isEmpty()&&t.push(e[n]);return t.length===e.length}function c(e){for(var t=0;t<e.length;t+=1)s.indexOf(e[t])>-1&&(e[t].remove(),s.splice(s.indexOf(e[t]),1))}this.eachChild((function(s){t!==s.row&&(t=s.row,r[t]=[],n=0),i[n]=i[n]||[],i[n].push(s),r[t].push(s),s===e&&(a=r[t],o=i[n]),n+=1})),l(a)&&o.length>1&&(t=r.indexOf(a),this.eachChild((function(e){e.row>t&&(e.row-=1)})),c(a),this.jQ.find("tr").eq(t).remove()),l(o)&&a.length>1&&c(o),this.finalizeTree()},e.addRow=function(e){var t,n=[],i=[],a=[],o=m("<tr></tr>"),s=e.row,l=0;this.eachChild((function(e){e.row<=s&&n.push(e),e.row===s&&(l+=1),e.row>s&&(e.row+=1,a.push(e))}));for(var c=0;c<l;c+=1)(t=Ge(s+1)).parent=this,i.push(t),t.jQ=m('<td class="mq-empty">').attr(r,t.id).appendTo(o);return this.jQ.find("tr").eq(s).after(o),this.blocks=n.concat(i,a),i[0]},e.addColumn=function(e){var t,n,i=[],a=[];this.eachChild((function(n){i[n.row]=i[n.row]||[],i[n.row].push(n),n===e&&(t=i[n.row].length)}));for(var o=0;o<i.length;o+=1)(n=Ge(o)).parent=this,a.push(n),i[o].splice(t,0,n),n.jQ=m('<td class="mq-empty">').attr(r,n.id);return this.jQ.find("tr").each((function(e){m(this).find("td").eq(t-1).after(i[e][t].jQ)})),this.blocks=[].concat.apply([],i),a[e.row]},e.insert=function(e,t){var n=this[e](t);this.cursor=this.cursor||this.parent.cursor,this.finalizeTree(),this.bubble("reflow").cursor.insAtRightEnd(n)},e.backspace=function(e,t,n,r){var i=e[t];if(e.isEmpty()){for(this.deleteCell(e);i&&i[t]&&-1===this.blocks.indexOf(i);)i=i[t];i&&n.insAtDirEnd(-t,i),1===this.blocks.length&&this.blocks[0].isEmpty()&&(r(),this.finalizeTree()),this.bubble("edited")}}}));Ue.pmatrix=p(Ze,(function(e,t){e.environment="pmatrix",e.parentheses={left:"(",right:")"}})),Ue.bmatrix=p(Ze,(function(e,t){e.environment="bmatrix",e.parentheses={left:"[",right:"]"}})),Ue.Bmatrix=p(Ze,(function(e,t){e.environment="Bmatrix",e.parentheses={left:"{",right:"}"}})),Ue.vmatrix=p(Ze,(function(e,t){e.environment="vmatrix",e.parentheses={left:"|",right:"|"}})),Ue.Vmatrix=p(Ze,(function(e,t){e.environment="Vmatrix",e.parentheses={left:"&#8214;",right:"&#8214;"}})),Ue.cases=p(Ze,(function(e,t){e.environment="cases",e.parentheses={left:"{",right:null}})),Ue.array=p(Ze,(function(e,t){e.environment="array",e.parentheses={left:null,right:null},e.hline=!0,e.options="l|l"}));var Ge=p(V,(function(e,t){e.init=function(e,n,r){if(t.init.call(this),this.row=e,n&&this.adopt(n,n.ends[1],0),r)for(var i=0;i<r.length;i++)r[i].children().adopt(this,this.ends[1],0)},e.keystroke=function(e,n,r){switch(e){case"Tab":var i,a=this,o=0;if(this.parent.eachChild((function(e){e.row===a.row&&(e===a&&(i=o),o+=1)})),i===o-1)return n.preventDefault(),this.parent.insert("addColumn",this);break;case"Enter":var s,l=this.row+1,c=!0;if(this.parent.eachChild((function(e){e.row===l&&(s||(s=e),e.isEmpty()||(c=!1))})),n.preventDefault(),s&&c){r.cursor.insAtDirEnd(h,s);break}return this.parent.insert("addRow",this)}return t.keystroke.apply(this,arguments)},e.deleteOutOf=function(e,n){var r=this,i=arguments;this.parent.backspace(this,e,n,(function(){return t.deleteOutOf.apply(r,i)}))}})),Be=(w["\\"]=p(B,(function(e,t){e.ctrlSeq="\\",e.replaces=function(e){this._replacedFragment=e.disown(),this.isEmpty=function(){return!1}},e.htmlTemplate='<span class="mq-latex-command-input mq-non-leaf">\\<span>&0</span></span>',e.textTemplate=["\\"],e.createBlocks=function(){t.createBlocks.call(this),this.ends[h].focus=function(){return this.parent.jQ.addClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.removeClass("mq-empty"),this},this.ends[h].blur=function(){return this.parent.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.addClass("mq-empty"),this},this.ends[h].write=function(e,t){e.show().deleteSelection(),t.match(/[a-z]/i)?W(t).createLeftOf(e):(this.parent.renderCommand(e),"\\"===t&&this.isEmpty()||e.parent.write(e,t))},this.ends[h].keystroke=function(e,n,r){return"Tab"===e||"Enter"===e||"Spacebar"===e?(this.parent.renderCommand(r.cursor),void n.preventDefault()):t.keystroke.apply(this,arguments)}},e.createLeftOf=function(e){if(t.createLeftOf.call(this,e),this._replacedFragment){var n=this.jQ[0];this.jQ=this._replacedFragment.jQ.addClass("mq-blur").bind("mousedown mousemove",(function(e){return m(e.target=n).trigger(e),!1})).insertBefore(this.jQ).add(this.jQ)}},e.latex=function(){return"\\"+this.ends[h].latex()+" "},e.renderCommand=function(e){this.jQ=this.jQ.last(),this.remove(),this[1]?e.insLeftOf(this[1]):e.insAtRightEnd(this.parent);var t=this.ends[h].latex();t||(t=" ");var n=x[t]||Ue[t];n?(n=n(t),this._replacedFragment&&n.replaces(this._replacedFragment),n.createLeftOf(e)):((n=Q()).replaces(t),n.createLeftOf(e),e.insRightOf(n),this._replacedFragment&&this._replacedFragment.remove())}})),P(1));for(var Ye in Be)!function(e,t){"function"==typeof t?(D[e]=function(){return j(),t.apply(this,arguments)},D[e].prototype=t.prototype):D[e]=t}(Ye,Be[Ye]);"object"==typeof e.exports&&(e.exports=D)}()},function(e,t,n){"use strict";(function(e,r){var i,a=n(72);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var o=Object(a.a)(i);t.a=o}).call(this,n(12),n(17)(e))},function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var i=r(n(46)),a=new Set(["input","option","optgroup","select","button","datalist","textarea"]),o=new Set(["p"]),s={tr:new Set(["tr","th","td"]),th:new Set(["th"]),td:new Set(["thead","th","td"]),body:new Set(["head","link","script"]),li:new Set(["li"]),p:o,h1:o,h2:o,h3:o,h4:o,h5:o,h6:o,select:a,input:a,output:a,button:a,datalist:a,textarea:a,option:new Set(["option"]),optgroup:new Set(["optgroup","option"]),dd:new Set(["dt","dd"]),dt:new Set(["dt","dd"]),address:o,article:o,aside:o,blockquote:o,details:o,div:o,dl:o,fieldset:o,figcaption:o,figure:o,footer:o,form:o,header:o,hr:o,main:o,nav:o,ol:o,pre:o,section:o,table:o,ul:o,rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),tbody:new Set(["thead","tbody"]),tfoot:new Set(["thead","tbody"])},l=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),c=new Set(["math","svg"]),u=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),d=/\s|\//,f=function(){function e(e,t){var n,r,a,o,s;void 0===t&&(t={}),this.startIndex=0,this.endIndex=null,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.options=t,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(a=t.Tokenizer)&&void 0!==a?a:i.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return e.prototype.updatePosition=function(e){null===this.endIndex?this.tokenizer.sectionStart<=e?this.startIndex=0:this.startIndex=this.tokenizer.sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this.tokenizer.getAbsoluteIndex()},e.prototype.ontext=function(e){var t,n;this.updatePosition(1),this.endIndex--,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,e)},e.prototype.onopentagname=function(e){var t,n;if(this.lowerCaseTagNames&&(e=e.toLowerCase()),this.tagname=e,!this.options.xmlMode&&Object.prototype.hasOwnProperty.call(s,e))for(var r=void 0;this.stack.length>0&&s[e].has(r=this.stack[this.stack.length-1]);)this.onclosetag(r);!this.options.xmlMode&&l.has(e)||(this.stack.push(e),c.has(e)?this.foreignContext.push(!0):u.has(e)&&this.foreignContext.push(!1)),null===(n=(t=this.cbs).onopentagname)||void 0===n||n.call(t,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.onopentagend=function(){var e,t;this.updatePosition(1),this.attribs&&(null===(t=(e=this.cbs).onopentag)||void 0===t||t.call(e,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&l.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=""},e.prototype.onclosetag=function(e){if(this.updatePosition(1),this.lowerCaseTagNames&&(e=e.toLowerCase()),(c.has(e)||u.has(e))&&this.foreignContext.pop(),!this.stack.length||!this.options.xmlMode&&l.has(e))this.options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this.closeCurrentTag());else{var t=this.stack.lastIndexOf(e);if(-1!==t)if(this.cbs.onclosetag)for(t=this.stack.length-t;t--;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=t;else"p"!==e||this.options.xmlMode||(this.onopentagname(e),this.closeCurrentTag())}},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},e.prototype.closeCurrentTag=function(){var e,t,n=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===n&&(null===(t=(e=this.cbs).onclosetag)||void 0===t||t.call(e,n),this.stack.pop())},e.prototype.onattribname=function(e){this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,n;null===(n=(t=this.cbs).onattribute)||void 0===n||n.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(d),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}},e.prototype.onprocessinginstruction=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}},e.prototype.oncomment=function(e){var t,n,r,i;this.updatePosition(4),null===(n=(t=this.cbs).oncomment)||void 0===n||n.call(t,e),null===(i=(r=this.cbs).oncommentend)||void 0===i||i.call(r)},e.prototype.oncdata=function(e){var t,n,r,i,a,o;this.updatePosition(1),this.options.xmlMode||this.options.recognizeCDATA?(null===(n=(t=this.cbs).oncdatastart)||void 0===n||n.call(t),null===(i=(r=this.cbs).ontext)||void 0===i||i.call(r,e),null===(o=(a=this.cbs).oncdataend)||void 0===o||o.call(a)):this.oncomment("[CDATA["+e+"]]")},e.prototype.onerror=function(e){var t,n;null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag)for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n]));null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=f},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(47)),a=r(n(26)),o=r(n(48)),s=r(n(27));function l(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function c(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}function u(e,t,n){var r=e.toLowerCase();return e===r?function(e,i){i===r?e._state=t:(e._state=n,e._index--)}:function(i,a){a===r||a===e?i._state=t:(i._state=n,i._index--)}}function d(e,t){var n=e.toLowerCase();return function(r,i){i===n||i===e?r._state=t:(r._state=3,r._index--)}}var f=u("C",24,16),p=u("D",25,16),h=u("A",26,16),g=u("T",27,16),m=u("A",28,16),y=d("R",35),v=d("I",36),b=d("P",37),I=d("T",38),x=u("R",40,1),w=u("I",41,1),T=u("P",42,1),M=u("T",43,1),A=d("Y",45),C=d("L",46),E=d("E",47),N=u("Y",49,1),S=u("L",50,1),k=u("E",51,1),j=d("I",54),D=d("T",55),L=d("L",56),O=d("E",57),P=u("I",58,1),R=u("T",59,1),z=u("L",60,1),_=u("E",61,1),U=u("#",63,64),F=u("X",66,65),Z=function(){function e(e,t){var n;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=t,this.xmlMode=!!(null==e?void 0:e.xmlMode),this.decodeEntities=null===(n=null==e?void 0:e.decodeEntities)||void 0===n||n}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},e.prototype.write=function(e){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=e,this.parse()},e.prototype.end=function(e){this.ended&&this.cbs.onerror(Error(".end() after done!")),e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){"<"===e?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||"&"!==e||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},e.prototype.stateBeforeTagName=function(e){"/"===e?this._state=5:"<"===e?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):">"===e||1!==this.special||l(e)?this._state=1:"!"===e?(this._state=15,this.sectionStart=this._index+1):"?"===e?(this._state=17,this.sectionStart=this._index+1):c(e)?(this._state=this.xmlMode||"s"!==e&&"S"!==e?this.xmlMode||"t"!==e&&"T"!==e?3:52:32,this.sectionStart=this._index):this._state=1},e.prototype.stateInTagName=function(e){("/"===e||">"===e||l(e))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},e.prototype.stateBeforeClosingTagName=function(e){l(e)||(">"===e?this._state=1:1!==this.special?"s"===e||"S"===e?this._state=33:"t"===e||"T"===e?this._state=53:(this._state=1,this._index--):c(e)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(">"===e||l(e))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},e.prototype.stateAfterClosingTagName=function(e){">"===e&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){">"===e?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):"/"===e?this._state=4:l(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){">"===e?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):l(e)||(this._state=8,this._index--)},e.prototype.stateInAttributeName=function(e){("="===e||"/"===e||">"===e||l(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},e.prototype.stateAfterAttributeName=function(e){"="===e?this._state=11:"/"===e||">"===e?(this.cbs.onattribend(void 0),this._state=8,this._index--):l(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){'"'===e?(this._state=12,this.sectionStart=this._index+1):"'"===e?(this._state=13,this.sectionStart=this._index+1):l(e)||(this._state=14,this.sectionStart=this._index,this._index--)},e.prototype.handleInAttributeValue=function(e,t){e===t?(this.emitToken("onattribdata"),this.cbs.onattribend(t),this._state=8):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,'"')},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,"'")},e.prototype.stateInAttributeValueNoQuotes=function(e){l(e)||">"===e?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateBeforeDeclaration=function(e){this._state="["===e?23:"-"===e?18:16},e.prototype.stateInDeclaration=function(e){">"===e&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){">"===e&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){"-"===e?(this._state=19,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInComment=function(e){"-"===e&&(this._state=21)},e.prototype.stateInSpecialComment=function(e){">"===e&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateAfterComment1=function(e){this._state="-"===e?22:19},e.prototype.stateAfterComment2=function(e){">"===e?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"-"!==e&&(this._state=19)},e.prototype.stateBeforeCdata6=function(e){"["===e?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},e.prototype.stateInCdata=function(e){"]"===e&&(this._state=30)},e.prototype.stateAfterCdata1=function(e){this._state="]"===e?31:29},e.prototype.stateAfterCdata2=function(e){">"===e?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"]"!==e&&(this._state=29)},e.prototype.stateBeforeSpecialS=function(e){"c"===e||"C"===e?this._state=34:"t"===e||"T"===e?this._state=44:(this._state=3,this._index--)},e.prototype.stateBeforeSpecialSEnd=function(e){2!==this.special||"c"!==e&&"C"!==e?3!==this.special||"t"!==e&&"T"!==e?this._state=1:this._state=48:this._state=39},e.prototype.stateBeforeSpecialLast=function(e,t){("/"===e||">"===e||l(e))&&(this.special=t),this._state=3,this._index--},e.prototype.stateAfterSpecialLast=function(e,t){">"===e||l(e)?(this.special=1,this._state=6,this.sectionStart=this._index-t,this._index--):this._state=1},e.prototype.parseFixedEntity=function(e){if(void 0===e&&(e=this.xmlMode?s.default:a.default),this.sectionStart+1<this._index){var t=this.buffer.substring(this.sectionStart+1,this._index);Object.prototype.hasOwnProperty.call(e,t)&&(this.emitPartial(e[t]),this.sectionStart=this._index+1)}},e.prototype.parseLegacyEntity=function(){for(var e=this.sectionStart+1,t=Math.min(this._index-e,6);t>=2;){var n=this.buffer.substr(e,t);if(Object.prototype.hasOwnProperty.call(o.default,n))return this.emitPartial(o.default[n]),void(this.sectionStart+=t+1);t--}},e.prototype.stateInNamedEntity=function(e){";"===e?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(e<"0"||e>"9")&&!c(e)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?"="!==e&&this.parseFixedEntity(o.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},e.prototype.decodeNumericEntity=function(e,t,n){var r=this.sectionStart+e;if(r!==this._index){var a=this.buffer.substring(r,this._index),o=parseInt(a,t);this.emitPartial(i.default(o)),this.sectionStart=n?this._index+1:this._index}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){";"===e?this.decodeNumericEntity(2,10,!0):(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},e.prototype.stateInHexEntity=function(e){";"===e?this.decodeNumericEntity(3,16,!0):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},e.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},e.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var e=this.buffer.charAt(this._index);1===this._state?this.stateText(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):19===this._state?this.stateInComment(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):32===this._state?this.stateBeforeSpecialS(e):21===this._state?this.stateAfterComment1(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):22===this._state?this.stateAfterComment2(e):18===this._state?this.stateBeforeComment(e):33===this._state?this.stateBeforeSpecialSEnd(e):53===this._state?P(this,e):39===this._state?x(this,e):40===this._state?w(this,e):41===this._state?T(this,e):34===this._state?y(this,e):35===this._state?v(this,e):36===this._state?b(this,e):37===this._state?I(this,e):38===this._state?this.stateBeforeSpecialLast(e,2):42===this._state?M(this,e):43===this._state?this.stateAfterSpecialLast(e,6):44===this._state?A(this,e):29===this._state?this.stateInCdata(e):45===this._state?C(this,e):46===this._state?E(this,e):47===this._state?this.stateBeforeSpecialLast(e,3):48===this._state?N(this,e):49===this._state?S(this,e):50===this._state?k(this,e):51===this._state?this.stateAfterSpecialLast(e,5):52===this._state?j(this,e):54===this._state?D(this,e):55===this._state?L(this,e):56===this._state?O(this,e):57===this._state?this.stateBeforeSpecialLast(e,4):58===this._state?R(this,e):59===this._state?z(this,e):60===this._state?_(this,e):61===this._state?this.stateAfterSpecialLast(e,5):17===this._state?this.stateInProcessingInstruction(e):64===this._state?this.stateInNamedEntity(e):23===this._state?f(this,e):62===this._state?U(this,e):24===this._state?p(this,e):25===this._state?h(this,e):30===this._state?this.stateAfterCdata1(e):31===this._state?this.stateAfterCdata2(e):26===this._state?g(this,e):27===this._state?m(this,e):28===this._state?this.stateBeforeCdata6(e):66===this._state?this.stateInHexEntity(e):65===this._state?this.stateInNumericEntity(e):63===this._state?F(this,e):this.cbs.onerror(Error("unknown _state"),this._state),this._index++}this.cleanup()},e.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);29===this._state||30===this._state||31===this._state?this.cbs.oncdata(e):19===this._state||21===this._state||22===this._state?this.cbs.oncomment(e):64!==this._state||this.xmlMode?65!==this._state||this.xmlMode?66!==this._state||this.xmlMode?3!==this._state&&8!==this._state&&11!==this._state&&10!==this._state&&9!==this._state&&13!==this._state&&12!==this._state&&14!==this._state&&6!==this._state&&this.cbs.ontext(e):(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.parseLegacyEntity(),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData()))},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitToken=function(e){this.cbs[e](this.getSection()),this.sectionStart=-1},e.prototype.emitPartial=function(e){1!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}();t.default=Z},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(96));t.default=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in i.default&&(e=i.default[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var a=n(50);i(n(50),t);var o=/\s+/g,s={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){var e;this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null!==(e=this.parser)&&void 0!==e?e:null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=new a.Element(e,t);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&"text"===n.type)t?n.data=(n.data+e).replace(o," "):n.data+=e;else{t&&(e=e.replace(o," "));var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&"comment"===this.lastNode.type)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren("cdata",[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e.prototype.addDataNode=function(e){this.addNode(e),this.lastNode=e},e}();t.DomHandler=l,t.default=l},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=new Map([["tag",1],["script",1],["style",1],["directive",1],["text",3],["cdata",4],["comment",8],["root",9]]),s=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=o.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),g(this,e)},e}();t.Node=s;var l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.data=n,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var c=function(e){function t(t){return e.call(this,"text",t)||this}return i(t,e),t}(l);t.Text=c;var u=function(e){function t(t){return e.call(this,"comment",t)||this}return i(t,e),t}(l);t.Comment=u;var d=function(e){function t(t,n){var r=e.call(this,"directive",n)||this;return r.name=t,r}return i(t,e),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t,n){var r=e.call(this,t)||this;return r.children=n,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=f;var p=function(e){function t(t){return e.call(this,"root",t)||this}return i(t,e),t}(f);t.Document=p;var h=function(e){function t(t,n,r){void 0===r&&(r=[]);var i=e.call(this,"script"===t?"script":"style"===t?"style":"tag",r)||this;return i.name=t,i.attribs=n,i.attribs=n,i}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function g(e,t){var n;switch(void 0===t&&(t=!1),e.type){case"text":n=new c(e.data);break;case"directive":var r=e;n=new d(r.name,r.data),null!=r["x-name"]&&(n["x-name"]=r["x-name"],n["x-publicId"]=r["x-publicId"],n["x-systemId"]=r["x-systemId"]);break;case"comment":n=new u(e.data);break;case"tag":case"script":case"style":var i=e,o=t?m(i.children):[],s=new h(i.name,a({},i.attribs),o);o.forEach((function(e){return e.parent=s})),i["x-attribsNamespace"]&&(s["x-attribsNamespace"]=a({},i["x-attribsNamespace"])),i["x-attribsPrefix"]&&(s["x-attribsPrefix"]=a({},i["x-attribsPrefix"])),n=s;break;case"cdata":o=t?m(e.children):[];var l=new f(e.type,o);o.forEach((function(e){return e.parent=l})),n=l;break;case"root":var g=e,y=(o=t?m(g.children):[],new p(o));o.forEach((function(e){return e.parent=y})),g["x-mode"]&&(y["x-mode"]=g["x-mode"]),n=y;break;case"doctype":throw new Error("Not implemented yet: ElementType.Doctype case")}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function m(e){for(var t=e.map((function(e){return g(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=h,t.cloneNode=g},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseFeed=t.FeedHandler=void 0;var c,u,d=l(n(49)),f=s(n(52)),p=n(45);!function(e){e[e.image=0]="image",e[e.audio=1]="audio",e[e.video=2]="video",e[e.document=3]="document",e[e.executable=4]="executable"}(c||(c={})),function(e){e[e.sample=0]="sample",e[e.full=1]="full",e[e.nonstop=2]="nonstop"}(u||(u={}));var h=function(e){function t(t,n){return"object"==typeof t&&(n=t=void 0),e.call(this,t,n)||this}return i(t,e),t.prototype.onend=function(){var e,t,n=y(x,this.dom);if(n){var r={};if("feed"===n.name){var i=n.children;r.type="atom",I(r,"id","id",i),I(r,"title","title",i);var a=b("href",y("link",i));a&&(r.link=a),I(r,"description","subtitle",i),(o=v("updated",i))&&(r.updated=new Date(o)),I(r,"author","email",i,!0),r.items=m("entry",i).map((function(e){var t={},n=e.children;I(t,"id","id",n),I(t,"title","title",n);var r=b("href",y("link",n));r&&(t.link=r);var i=v("summary",n)||v("content",n);i&&(t.description=i);var a=v("updated",n);return a&&(t.pubDate=new Date(a)),t.media=g(n),t}))}else{var o;i=null!==(t=null===(e=y("channel",n.children))||void 0===e?void 0:e.children)&&void 0!==t?t:[];r.type=n.name.substr(0,3),r.id="",I(r,"title","title",i),I(r,"link","link",i),I(r,"description","description",i),(o=v("lastBuildDate",i))&&(r.updated=new Date(o)),I(r,"author","managingEditor",i,!0),r.items=m("item",n.children).map((function(e){var t={},n=e.children;I(t,"id","guid",n),I(t,"title","title",n),I(t,"link","link",n),I(t,"description","description",n);var r=v("pubDate",n);return r&&(t.pubDate=new Date(r)),t.media=g(n),t}))}this.feed=r,this.handleCallback(null)}else this.handleCallback(new Error("couldn't find root of feed"))},t}(d.default);function g(e){return m("media:content",e).map((function(e){var t={medium:e.attribs.medium,isDefault:!!e.attribs.isDefault};return e.attribs.url&&(t.url=e.attribs.url),e.attribs.fileSize&&(t.fileSize=parseInt(e.attribs.fileSize,10)),e.attribs.type&&(t.type=e.attribs.type),e.attribs.expression&&(t.expression=e.attribs.expression),e.attribs.bitrate&&(t.bitrate=parseInt(e.attribs.bitrate,10)),e.attribs.framerate&&(t.framerate=parseInt(e.attribs.framerate,10)),e.attribs.samplingrate&&(t.samplingrate=parseInt(e.attribs.samplingrate,10)),e.attribs.channels&&(t.channels=parseInt(e.attribs.channels,10)),e.attribs.duration&&(t.duration=parseInt(e.attribs.duration,10)),e.attribs.height&&(t.height=parseInt(e.attribs.height,10)),e.attribs.width&&(t.width=parseInt(e.attribs.width,10)),e.attribs.lang&&(t.lang=e.attribs.lang),t}))}function m(e,t){return f.getElementsByTagName(e,t,!0)}function y(e,t){return f.getElementsByTagName(e,t,!0,1)[0]}function v(e,t,n){return void 0===n&&(n=!1),f.getText(f.getElementsByTagName(e,t,n,1)).trim()}function b(e,t){return t?t.attribs[e]:null}function I(e,t,n,r,i){void 0===i&&(i=!1);var a=v(n,r,i);a&&(e[t]=a)}function x(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}t.FeedHandler=h,t.parseFeed=function(e,t){void 0===t&&(t={xmlMode:!0});var n=new h(t);return new p.Parser(n,t).end(e),n.feed}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(98),t),i(n(102),t),i(n(103),t),i(n(56),t),i(n(104),t),i(n(105),t),i(n(13),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(26)),a=r(n(48)),o=r(n(27)),s=r(n(47));function l(e){var t=Object.keys(e).join("|"),n=u(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}t.decodeXML=l(o.default),t.decodeHTMLStrict=l(i.default);var c=function(e,t){return e<t?1:-1};function u(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}t.decodeHTML=function(){for(var e=Object.keys(a.default).sort(c),t=Object.keys(i.default).sort(c),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=u(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(o,l)}}()},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=l(r(n(27)).default),a=c(i);t.encodeXML=h(i,a);var o=l(r(n(26)).default),s=c(o);function l(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function c(e){var t=[],n=[];return Object.keys(e).forEach((function(e){return 1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.encodeHTML=h(o,s);var u=/[^\0-\x7F]/g,d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function f(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function p(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function h(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(d,p).replace(u,f)}}var g=c(i);t.escape=function(e){return e.replace(g,f).replace(d,p).replace(u,f)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(13);function i(e,t,n,a){for(var o=[],s=0,l=t;s<l.length;s++){var c=l[s];if(e(c)&&(o.push(c),--a<=0))break;if(n&&r.hasChildren(c)&&c.children.length>0){var u=i(e,c.children,n,a);if(o.push.apply(o,u),(a-=u.length)<=0)break}}return o}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),Array.isArray(t)||(t=[t]),i(e,t,n,r)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,i){void 0===i&&(i=!0);for(var a=null,o=0;o<n.length&&!a;o++){var s=n[o];r.isTag(s)&&(t(s)?a=s:i&&s.children.length>0&&(a=e(t,s.children)))}return a},t.existsOne=function e(t,n){return n.some((function(n){return r.isTag(n)&&(t(n)||n.children.length>0&&e(t,n.children))}))},t.findAll=function(e,t){for(var n,i,a=[],o=t.filter(r.isTag);i=o.shift();){var s=null===(n=i.children)||void 0===n?void 0:n.filter(r.isTag);s&&s.length>0&&o.unshift.apply(o,s),e(i)&&a.push(i)}return a}},function(e,t){},function(e,t,n){"use strict";const r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class i{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let i=e.nodes[r],a=this.raw(i,"before");a&&this.builder(a),this.stringify(i,t!==r||n)}}block(e,t){let n,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}raw(e,t,n){let i;if(n||(n=t),t&&(i=e.raws[t],void 0!==i))return i;let a=e.parent;if("before"===n){if(!a||"root"===a.type&&a.first===e)return"";if(a&&"document"===a.type)return""}if(!a)return r[n];let o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==o.rawCache[n])return o.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);{let r="raw"+((s=n)[0].toUpperCase()+s.slice(1));this[r]?i=this[r](o,e):o.walk(e=>{if(i=e.raws[t],void 0!==i)return!1})}var s;return void 0===i&&(i=r[n]),o.rawCache[n]=i,i}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}}),t}rawBeforeComment(e,t){let n;return e.walkComments(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeRule(e){let t;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1}),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)n+=t}return n}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}}e.exports=i,i.default=i},function(e,t,n){"use strict";let{isClean:r,my:i}=n(29),a=n(60),o=n(20),s=n(10),l=n(33),c=(n(63),n(34)),u=n(35),d=n(14);const f={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},p={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},h={postcssPlugin:!0,prepare:!0,Once:!0};function g(e){return"object"==typeof e&&"function"==typeof e.then}function m(e){let t=!1,n=f[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function y(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:m(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function v(e){return e[r]=!1,e.nodes&&e.nodes.forEach(e=>v(e)),e}let b={};class I{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof I||t instanceof c)r=v(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=u;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}r&&!r[i]&&s.rebuild(r)}else r=v(t);this.result=new c(e,r,n),this.helpers={...b,result:this.result,postcss:b},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(g(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];)e[r]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=o;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new a(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(e){e[r]=!0;let t=m(e);for(let n of t)if(0===n)e.nodes&&e.each(e=>{e[r]||this.walkSync(e)});else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(g(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return g(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(g(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];){e[r]=!0;let t=[y(e)];for(;t.length>0;){let e=this.visitTick(t);if(g(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!p[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!h[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:n,visitors:i}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(i.length>0&&t.visitorIndex<i.length){let[e,r]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return r(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let i,a=t.iterator;for(;i=n.nodes[n.indexes[a]];)if(n.indexes[a]+=1,!i[r])return i[r]=!0,void e.push(y(i));t.iterator=0,delete n.indexes[a]}let a=t.events;for(;t.eventIndex<a.length;){let e=a[t.eventIndex];if(t.eventIndex+=1,0===e)return void(n.nodes&&n.nodes.length&&(n[r]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}}I.registerPostcss=e=>{b=e},e.exports=I,I.default=I,d.registerLazyResult(I),l.registerLazyResult(I)},function(e,t,n){"use strict";(function(t){let{SourceMapConsumer:r,SourceMapGenerator:i}=n(31),{dirname:a,resolve:o,relative:s,sep:l}=n(32),{pathToFileURL:c}=n(61),u=n(21),d=Boolean(r&&i),f=Boolean(a&&o&&s&&l);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new u(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;n&&!e[n]&&(e[n]=!0,this.map.setSourceContent(this.toUrl(this.path(n)),t.source.input.css))}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||a(e.file);!1===this.mapOpts.sourcesContent?(t=new r(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map(()=>null))):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}toBase64(e){return t?t.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e)}else this.map=new i({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?a(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=a(o(t,this.mapOpts.annotation))),e=s(t,e)}toUrl(e){return"\\"===l&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(c)return c(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new i({file:this.outputFile()});let e,t,n=1,r=1,a={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,(i,o,s)=>{if(this.css+=i,o&&"end"!==s&&(a.generated.line=n,a.generated.column=r-1,o.source&&o.source.start?(a.source=this.sourcePath(o),a.original.line=o.source.start.line,a.original.column=o.source.start.column-1,this.map.addMapping(a)):(a.source="<no source>",a.original.line=1,a.original.column=0,this.map.addMapping(a))),e=i.match(/\n/g),e?(n+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,o&&"start"!==s){let e=o.parent||{raws:{}};("decl"!==o.type||o!==e.last||e.raws.semicolon)&&(o.source&&o.source.end?(a.source=this.sourcePath(o),a.original.line=o.source.end.line,a.original.column=o.source.end.column-1,a.generated.line=n,a.generated.column=r-2,this.map.addMapping(a)):(a.source="<no source>",a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=r-1,this.map.addMapping(a)))}})}generate(){if(this.clearAnnotation(),f&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}}}).call(this,n(30).Buffer)},function(e,t){},function(e,t,n){"use strict";(function(t){let{SourceMapConsumer:r,SourceMapGenerator:i}=n(31),{existsSync:a,readFileSync:o}=n(116),{dirname:s,join:l}=n(32);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return n=e.substr(RegExp.lastMatch.length),t?t.from(n,"base64").toString():window.atob(n);var n;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}loadFile(e){if(this.root=s(e),a(e))return this.mapFile=e,o(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof r)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(s(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}e.exports=c,c.default=c}).call(this,n(30).Buffer)},function(e,t,n){"use strict";let r={};e.exports=function(e){r[e]||(r[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},function(e,t,n){"use strict";class r{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=r,r.default=r},function(e,t,n){"use strict";let r={split(e,t,n){let r=[],i="",a=!1,o=0,s=!1,l=!1;for(let n of e)l?l=!1:"\\"===n?l=!0:s?n===s&&(s=!1):'"'===n||"'"===n?s=n:"("===n?o+=1:")"===n?o>0&&(o-=1):0===o&&t.includes(n)&&(a=!0),a?(""!==i&&r.push(i.trim()),i="",a=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r},space:e=>r.split(e,[" ","\n","\t"]),comma:e=>r.split(e,[","],!0)};e.exports=r,r.default=r},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){var r=n(78),i=n(79),a=n(80),o=n(82);e.exports=function(e,t){return r(e)||i(e,t)||a(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";e.exports=n(87)},function(e,t,n){"use strict";t.a="data:image/gif;base64,R0lGODlhEAAQAPQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKysrL6+vhQUFJycnAQEBDY2NmhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl8jAggGAA1kBIA1BAYzlyILczULC2UhACH5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3VsZCBub3QgYmUgZXN0YWJsaXNoZWQgaW4gPGI+L2hvbWUvYWpheGxvYWQvd3d3L2xpYnJhaXJpZXMvY2xhc3MubXlzcWwucGhwPC9iPiBvbiBsaW5lIDxiPjY4PC9iPjxiciAvPgo8YnIgLz4KPGI+V2FybmluZzwvYj46ICBteXNxbF9xdWVyeSgpIFs8YSBocmVmPSdmdW5jdGlvbi5teXNxbC1xdWVyeSc+ZnVuY3Rpb24ubXlzcWwtcXVlcnk8L2E+XTogQ2FuJ3QgY29ubmVjdCB0byBsb2NhbCBNeVNRTCBzZXJ2ZXIgdGhyb3VnaCBzb2NrZXQgJy92YXIvcnVuL215c3FsZC9teXNxbGQuc29jaycgKDIpIGluIDxiPi9ob21lL2FqYXhsb2FkL3d3dy9saWJyYWlyaWVzL2NsYXNzLm15c3FsLnBocDwvYj4gb24gbGluZSA8Yj42ODwvYj48YnIgLz4KPGJyIC8+CjxiPldhcm5pbmc8L2I+OiAgbXlzcWxfcXVlcnkoKSBbPGEgaHJlZj0nZnVuY3Rpb24ubXlzcWwtcXVlcnknPmZ1bmN0aW9uLm15c3FsLXF1ZXJ5PC9hPl06IEEgbGluayB0byB0aGUgc2VydmVyIGNvdWxkIG5vdCBiZSBlc3RhYmxpc2hlZCBpbiA8Yj4vaG9tZS9hamF4bG9hZC93d3cvbGlicmFpcmllcy9jbGFzcy5teXNxbC5waHA8L2I+IG9uIGxpbmUgPGI+Njg8L2I+PGJyIC8+Cg=="},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){var r=n(4),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===i?r.a.Buffer:void 0,s=o?o.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(17)(e))},,,,,function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(81);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(84);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";e.exports=n(86)},function(e,t,n){"use strict";
42
+ var r=n(109),i=n(110),a=n(111);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=f(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|p(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):f(e,t);if("Buffer"===t.type&&a(t.data))return f(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(u(t),e=s(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|p(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(e).length;default:if(r)return Z(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return S(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var a,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(a=n;a<s;a++)if(c(e,a)===c(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*o}else-1!==u&&(a-=a-u),u=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var d=!0,f=0;f<l;f++)if(c(e,a+f)!==c(t,f)){d=!1;break}if(d)return a}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o<r;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[n+o]=s}return o}function I(e,t,n,r){return G(Z(t,e.length-n),e,n,r)}function x(e,t,n,r){return G(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function w(e,t,n,r){return x(e,t,n,r)}function T(e,t,n,r){return G(F(t),e,n,r)}function M(e,t,n,r){return G(function(e,t){for(var n,r,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var a,o,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(a=e[i+1]))&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=o(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return c(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,r){return u(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return d(null,e)},l.allocUnsafeSlow=function(e){return d(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?C(this,0,e):g.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,r,i){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),c=this.slice(r,i),u=e.slice(t,n),d=0;d<s;++d)if(c[d]!==u[d]){a=c[d],o=u[d];break}return a<o?-1:o<a?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return I(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function E(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function S(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",a=t;a<n;++a)i+=U(e[a]);return i}function k(e,t,n){for(var r=e.slice(t,n),i="",a=0;a<r.length;a+=2)i+=String.fromCharCode(r[a]+256*r[a+1]);return i}function j(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,a){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function L(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i<a;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function O(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i<a;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function P(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,a){return a||P(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function z(e,t,n,r,a){return a||P(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var i=t-e;n=new l(i,void 0);for(var a=0;a<i;++a)n[a]=this[a+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUInt8=function(e,t){return t||j(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||j(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||j(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||j(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||j(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||j(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||j(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||j(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||j(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):O(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):O(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<n&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):O(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):O(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return z(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return z(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,a=r-n;if(this===e&&n<t&&t<r)for(i=a-1;i>=0;--i)e[i+t]=this[i+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var o=l.isBuffer(e)?e:Z(new l(e,r).toString()),s=o.length;for(a=0;a<n-t;++a)this[a+t]=o[a%s]}return this};var _=/[^+\/0-9A-Za-z-_]/g;function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function Z(e,t){var n;t=t||1/0;for(var r=e.length,i=null,a=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function F(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(_,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function G(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(11))},function(e,t){},function(e,t){},function(e,t,n){"use strict";let r,i,a=n(9);class o extends a{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}o.registerLazyResult=e=>{r=e},o.registerProcessor=e=>{i=e},e.exports=o,o.default=o},function(e,t,n){"use strict";let r=n(63);class i{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>"warning"===e.type)}get content(){return this.css}}e.exports=i,i.default=i},function(e,t,n){"use strict";let r=n(9),i=n(114),a=n(21);function o(e,t){let n=new a(e,t),r=new i(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=o,o.default=o,r.registerParse(o)},function(e,t,n){"use strict";let r=n(9);class i extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,r.registerAtRule(i)},function(e,t,n){"use strict";let r=n(9),i=n(64);class a extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=a,a.default=a,r.registerRule(a)},function(e,t,n){"use strict";var r=n(81),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?o:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var o=u(n);d&&(o=o.concat(d(n)));for(var s=l(t),g=l(n),m=0;m<o.length;++m){var y=o[m];if(!(a[y]||r&&r[y]||g&&g[y]||s&&s[y])){var v=f(n,y);try{c(t,y,v)}catch(e){}}}}return t}},function(e,t,n){const r=n(92),i=n(103),{isPlainObject:a}=n(104),o=n(105),s=n(106),{parse:l}=n(107),c=["img","audio","video","picture","svg","object","map","iframe","embed"],u=["script","style"];function d(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function f(e,t){return{}.hasOwnProperty.call(e,t)}function p(e,t){const n=[];return d(e,(function(e){t(e)&&n.push(e)})),n}e.exports=g;const h=/^[^\0\t\n\f\r /<=>]+$/;function g(e,t,n){if(null==e)return"";let y="",v="";function b(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=y.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(S.length){S[S.length-1].text+=n.text}},this.updateParentNodeMediaChildren=function(){if(S.length&&c.includes(this.tag)){S[S.length-1].mediaChildren.push(this.tag)}}}(t=Object.assign({},g.defaults,t)).parser=Object.assign({},m,t.parser),u.forEach((function(e){t.allowedTags&&t.allowedTags.indexOf(e)>-1&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const I=t.nonTextTags||["script","style","textarea","option"];let x,w;t.allowedAttributes&&(x={},w={},d(t.allowedAttributes,(function(e,t){x[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):x[t].push(e)})),n.length&&(w[t]=new RegExp("^("+n.join("|")+")$"))})));const T={},M={},A={};d(t.allowedClasses,(function(e,t){x&&(f(x,t)||(x[t]=[]),x[t].push("class")),T[t]=[],A[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?A[t].push(e):T[t].push(e)})),n.length&&(M[t]=new RegExp("^("+n.join("|")+")$"))}));const C={};let E,N,S,k,j,D,L;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=g.simpleTransform(e)),"*"===t?E=n:C[t]=n}));let O=!1;R();const P=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&R(),D)return void L++;const r=new b(e,n);S.push(r);let i=!1;const c=!!r.text;let u;if(f(C,e)&&(u=C[e](e,n),r.attribs=n=u.attribs,void 0!==u.text&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,j[N]=u.tagName)),E&&(u=E(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,j[N]=u.tagName)),(t.allowedTags&&-1===t.allowedTags.indexOf(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(f(e,t))return!1;return!0}(k)||null!=t.nestingLimit&&N>=t.nestingLimit)&&(i=!0,k[N]=!0,"discard"===t.disallowedTagsMode&&-1!==I.indexOf(e)&&(D=!0,L=1),k[N]=!0),N++,i){if("discard"===t.disallowedTagsMode)return;v=y,y=""}y+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=""),(!x||f(x,e)||x["*"])&&d(n,(function(n,i){if(!h.test(i))return void delete r.attribs[i];let c,u=!1;if(!x||f(x,e)&&-1!==x[e].indexOf(i)||x["*"]&&-1!==x["*"].indexOf(i)||f(w,e)&&w[e].test(i)||w["*"]&&w["*"].test(i))u=!0;else if(x&&x[e])for(const t of x[e])if(a(t)&&t.name&&t.name===i){u=!0;let e="";if(!0===t.multiple){const r=n.split(" ");for(const n of r)-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(u){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&_(e,n))return void delete r.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const r=new URL(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===r.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return r.hostname===e||r.hostname.endsWith("."+e)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("iframe"===e&&"src"===i){let e=!0;try{if((n=n.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let r="relative://relative-site";for(let e=0;e<100;e++)r+="/"+e;const i=new URL(n,r);if(i&&"relative-site"===i.hostname&&"relative:"===i.protocol)e=f(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===i.hostname})),r=(t.allowedIframeDomains||[]).find((function(e){return i.hostname===e||i.hostname.endsWith("."+e)}));e=n||r}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("srcset"===i)try{if(c=s(n),c.forEach((function(e){_("srcset",e.url)&&(e.evil=!0)})),c=p(c,(function(e){return!e.evil})),!c.length)return void delete r.attribs[i];n=p(c,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),r.attribs[i]=n}catch(e){return void delete r.attribs[i]}if("class"===i){const t=T[e],a=T["*"],s=M[e],l=A[e],c=[s,M["*"]].concat(l).filter((function(e){return e}));if(!(n=U(n,t&&a?o(t,a):t||a,c)).length)return void delete r.attribs[i]}if("style"===i)try{if(0===(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const n=e.nodes[0];let r;r=t[n.selector]&&t["*"]?o(t[n.selector],t["*"]):t[n.selector]||t["*"];r&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){if(f(e,n.prop)){e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n)}return t}}(r),[]));return e}(l(e+" {"+n+"}"),t.allowedStyles))).length)return void delete r.attribs[i]}catch(e){return void delete r.attribs[i]}y+=" "+i,n&&n.length&&(y+='="'+z(n,!0)+'"')}else delete r.attribs[i]})),-1!==t.selfClosing.indexOf(e)?y+=" />":(y+=">",!r.innerText||c||t.textFilter||(y+=z(r.innerText),O=!0)),i&&(y=v+z(y),v="")},ontext:function(e){if(D)return;const n=S[S.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"discard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=z(e,!1);t.textFilter&&!O?y+=t.textFilter(n,r):O||(y+=n)}else y+=e;if(S.length){S[S.length-1].text+=e}},onclosetag:function(e){if(D){if(L--,L)return;D=!1}const n=S.pop();if(!n)return;D=!!t.enforceHtmlBoundary&&"html"===e,N--;const r=k[N];if(r){if(delete k[N],"discard"===t.disallowedTagsMode)return void n.updateParentNodeText();v=y,y=""}j[N]&&(e=j[N],delete j[N]),t.exclusiveFilter&&t.exclusiveFilter(n)?y=y.substr(0,n.tagPosition):(n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)?(y+="</"+e+">",r&&(y=v+z(y),v=""),O=!1):r&&(y=v,v=""))}},t.parser);return P.write(e),P.end(),y;function R(){y="",N=0,S=[],k={},j={},D=!1,L=0}function z(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),n&&(e=e.replace(/"/g,"&quot;"))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),n&&(e=e.replace(/"/g,"&quot;")),e}function _(e,n){const r=(n=(n=n.replace(/[\x00-\x20]+/g,"")).replace(/<!--.*?-->/g,"")).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!r)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=r[1].toLowerCase();return f(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function U(e,t,n){return t?(e=e.split(/\s+/)).filter((function(e){return-1!==t.indexOf(e)||n.some((function(t){return t.test(e)}))})).join(" "):e}}const m={decodeEntities:!0};g.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},g.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let a;if(n)for(a in t)i[a]=t[a];else i=t;return{tagName:e,attribs:i}}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var r=n(3),i=n.n(r),a=n(69);function o(e,t,n,r,a){const o=e.originalEvent.clipboardData,l=o.items&&o.items.length>0&&o.items[o.items.length-1].getAsFile();if(l)!function(e,t,n,r){e.preventDefault(),r.indexOf(t.type)>=0&&n({data:t,type:t.type,id:String((new Date).getTime())}).then(e=>{const t=`<img src="${e}"/>`;window.document.execCommand("insertHTML",!1,t)})}(e,l,t,r);else{const l=o.getData("text/html");l?function(e,t,n,r,i,a,o){e.preventDefault(),window.document.execCommand("insertHTML",!1,o(n)),s(t,r,i,a)}(e,i()(e.currentTarget),l,t,n,r,a):function(e,t,n,r){s(e,t,n,r)}(i()(e.currentTarget),t,n,r)}}function s(t,n,r,i){setTimeout(()=>Promise.all(function(t,n,r){t.find(n).remove();const i=t.find('img[src^="data:image/"]').toArray().map(t=>Object.assign(function(t){if(!t)return null;const n=t.match(/^data:([A-Za-z-+/]+);base64,(.+)$/);if(3!==n.length)return null;return{type:n[1],data:e.from(n[2],"base64")}}(t.getAttribute("src")),{el:t}));i.filter(({type:e})=>-1===r.indexOf(e)&&"image/svg+xml"!==e).forEach(({el:e})=>e.remove());const o=i.filter(({type:e})=>r.indexOf(e)>=0);return o.forEach(({el:e})=>e.setAttribute("src",a.a)),o}(t,r,i).map(e=>n(e).then(t=>e.el.setAttribute("src",t)).catch(t=>{throw e.el.remove(),t}))).then(()=>t.trigger("input")),0)}}).call(this,n(30).Buffer)},function(e,t,n){!function(){var t=n(3),r="mathquill-block-id",i=Math.min,a=Math.max;if(!t)throw"MathQuill requires jQuery 1.5.2+ to be loaded first";function o(){}var s=[].slice;function l(e){var t=e.length-1;return function(){var n=s.call(arguments,0,t),r=s.call(arguments,t);return e.apply(this,n.concat([r]))}}var c=l((function(e,t){return l((function(n,r){if(e in n)return n[e].apply(n,t.concat(r))}))}));function u(e){return l((function(t,n){"function"!=typeof t&&(t=c(t));return e.call(this,(function(e){return t.apply(e,[e].concat(n))}))}))}function d(e){var t=s.call(arguments,1);return function(){return e.apply(this,t)}}function f(e,t){if(!t)throw new Error("prayer failed: "+e)}var p=function(e,t,n){function r(e){return"object"==typeof e}function i(e){return"function"==typeof e}function a(){}return function e(n,o){function s(){var e=new l;return i(e.init)&&e.init.apply(e,arguments),e}function l(){}void 0===o&&(o=n,n=Object),s.Bare=l;var c,u=a.prototype=n.prototype,d=l.prototype=s.prototype=s.p=new a;return d.constructor=s,s.extend=function(t){return e(s,t)},(s.open=function(e){if(c={},i(e)?c=e.call(s,d,u,s,n):r(e)&&(c=e),r(c))for(var a in c)t.call(c,a)&&(d[a]=c[a]);return i(d.init)||(d.init=n),s})(o)}}(0,{}.hasOwnProperty),h=-1;function g(e){f("a direction was passed",e===h||1===e)}var m=p(t,(function(e){e.insDirOf=function(e,t){return e===h?this.insertBefore(t.first()):this.insertAfter(t.last())},e.insAtDirEnd=function(e,t){return e===h?this.prependTo(t):this.appendTo(t)}})),y=p((function(e){e.parent=0,e[h]=0,e[1]=0,e.init=function(e,t,n){this.parent=e,this[h]=t,this[1]=n},this.copy=function(e){return y(e.parent,e[h],e[1])}})),v=p((function(e){e[h]=0,e[1]=0,e.parent=0;var t=0;this.byId={},e.init=function(){this.id=t+=1,v.byId[this.id]=this,this.ends={},this.ends[h]=0,this.ends[1]=0},e.dispose=function(){delete v.byId[this.id]},e.toString=function(){return"{{ MathQuill Node #"+this.id+" }}"},e.jQ=m(),e.jQadd=function(e){return this.jQ=this.jQ.add(e)},e.jQize=function(e){e=m(e||this.html());function t(e){if(e.getAttribute){var n=e.getAttribute("mathquill-command-id"),r=e.getAttribute("mathquill-block-id");n&&v.byId[n].jQadd(e),r&&v.byId[r].jQadd(e)}for(e=e.firstChild;e;e=e.nextSibling)t(e)}for(var n=0;n<e.length;n+=1)t(e[n]);return e},e.createDir=function(e,t){g(e);return this.jQize(),this.jQ.insDirOf(e,t.jQ),t[e]=this.adopt(t.parent,t[h],t[1]),this},e.createLeftOf=function(e){return this.createDir(h,e)},e.selectChildren=function(e,t){return M(e,t)},e.bubble=u((function(e){for(var t=this;t;t=t.parent){if(!1===e(t))break}return this})),e.postOrder=u((function(e){return function t(n){n.eachChild(t),e(n)}(this),this})),e.isEmpty=function(){return 0===this.ends[h]&&0===this.ends[1]},e.isStyleBlock=function(){return!1},e.children=function(){return I(this.ends[h],this.ends[1])},e.eachChild=function(){var e=this.children();return e.each.apply(e,arguments),this},e.foldChildren=function(e,t){return this.children().fold(e,t)},e.withDirAdopt=function(e,t,n,r){return I(this,this).withDirAdopt(e,t,n,r),this},e.adopt=function(e,t,n){return I(this,this).adopt(e,t,n),this},e.disown=function(){return I(this,this).disown(),this},e.remove=function(){return this.jQ.remove(),this.postOrder("dispose"),this.disown()}}));function b(e,t,n){f("a parent is always present",e),f("leftward is properly set up",t?t[1]===n&&t.parent===e:e.ends[h]===n),f("rightward is properly set up",n?n[h]===t&&n.parent===e:e.ends[1]===t)}var I=p((function(e){e.init=function(e,t,n){if(void 0===n&&(n=h),g(n),f("no half-empty fragments",!e==!t),this.ends={},e){f("withDir is passed to Fragment",e instanceof v),f("oppDir is passed to Fragment",t instanceof v),f("withDir and oppDir have the same parent",e.parent===t.parent),this.ends[n]=e,this.ends[-n]=t;var r=this.fold([],(function(e,t){return e.push.apply(e,t.jQ.get()),e}));this.jQ=this.jQ.add(r)}},e.jQ=m(),e.withDirAdopt=function(e,t,n,r){return e===h?this.adopt(t,n,r):this.adopt(t,r,n)},e.adopt=function(e,t,n){b(e,t,n);this.disowned=!1;var r=this.ends[h];if(!r)return this;var i=this.ends[1];return t||(e.ends[h]=r),n?n[h]=i:e.ends[1]=i,this.ends[1][1]=n,this.each((function(n){n[h]=t,n.parent=e,t&&(t[1]=n),t=n})),this},e.disown=function(){var e=this.ends[h];if(!e||this.disowned)return this;this.disowned=!0;var t=this.ends[1],n=e.parent;return b(n,e[h],e),b(n,t,t[1]),e[h]?e[h][1]=t[1]:n.ends[h]=t[1],t[1]?t[1][h]=e[h]:n.ends[1]=e[h],this},e.remove=function(){return this.jQ.remove(),this.each("postOrder","dispose"),this.disown()},e.each=u((function(e){var t=this.ends[h];if(!t)return this;for(;t!==this.ends[1][1];t=t[1]){if(!1===e(t))break}return this})),e.fold=function(e,t){return this.each((function(n){e=t.call(this,e,n)})),e}})),x={},w={},T=p(y,(function(e){e.init=function(e,t){this.parent=e,this.options=t;var n=this.jQ=this._jQ=m('<span class="mq-cursor">&#8203;</span>');this.blink=function(){n.toggleClass("mq-blink")},this.upDownCache={}},e.show=function(){return this.jQ=this._jQ.removeClass("mq-blink"),"intervalId"in this?clearInterval(this.intervalId):(this[1]?this.selection&&this.selection.ends[h][h]===this[h]?this.jQ.insertBefore(this.selection.jQ):this.jQ.insertBefore(this[1].jQ.first()):this.jQ.appendTo(this.parent.jQ),this.parent.focus()),this.intervalId=setInterval(this.blink,500),this},e.hide=function(){return"intervalId"in this&&clearInterval(this.intervalId),delete this.intervalId,this.jQ.detach(),this.jQ=m(),this},e.withDirInsertAt=function(e,t,n,r){var i=this.parent;this.parent=t,this[e]=n,this[-e]=r,i!==t&&i.blur&&i.blur(this)},e.insDirOf=function(e,t){return g(e),this.jQ.insDirOf(e,t.jQ),this.withDirInsertAt(e,t.parent,t[e],t),this.parent.jQ.addClass("mq-hasCursor"),this},e.insLeftOf=function(e){return this.insDirOf(h,e)},e.insRightOf=function(e){return this.insDirOf(1,e)},e.insAtDirEnd=function(e,t){return g(e),this.jQ.insAtDirEnd(e,t.jQ),this.withDirInsertAt(e,t,0,t.ends[e]),t.focus(),this},e.insAtLeftEnd=function(e){return this.insAtDirEnd(h,e)},e.insAtRightEnd=function(e){return this.insAtDirEnd(1,e)},e.jumpUpDown=function(e,t){this.upDownCache[e.id]=y.copy(this);var n=this.upDownCache[t.id];if(n)n[1]?this.insLeftOf(n[1]):this.insAtRightEnd(n.parent);else{var r=this.offset().left;t.seek(r,this)}},e.offset=function(){var e=this.jQ.removeClass("mq-cursor").offset();return this.jQ.addClass("mq-cursor"),e},e.unwrapGramp=function(){var e=this.parent.parent,t=e.parent,n=e[1],r=e[h];if(e.disown().eachChild((function(i){i.isEmpty()||(i.children().adopt(t,r,n).each((function(t){t.jQ.insertBefore(e.jQ.first())})),r=i.ends[1])})),!this[1])if(this[h])this[1]=this[h][1];else for(;!this[1];){if(this.parent=this.parent[1],!this.parent){this[1]=e[1],this.parent=t;break}this[1]=this.parent.ends[h]}this[1]?this.insLeftOf(this[1]):this.insAtRightEnd(t),e.jQ.remove(),e[h].siblingDeleted&&e[h].siblingDeleted(this.options,1),e[1].siblingDeleted&&e[1].siblingDeleted(this.options,h)},e.startSelection=function(){for(var e=this.anticursor=y.copy(this),t=e.ancestors={},n=e;n.parent;n=n.parent)t[n.parent.id]=n},e.endSelection=function(){delete this.anticursor},e.select=function(){var e=this.anticursor;if(this[h]===e[h]&&this.parent===e.parent)return!1;for(var t=this;t.parent;t=t.parent)if(t.parent.id in e.ancestors){var n=t.parent;break}f("cursor and anticursor in the same tree",n);var r,i,a=e.ancestors[n.id],o=1;if(t[h]!==a)for(var s=t;s;s=s[1])if(s[1]===a[1]){o=h,r=t,i=a;break}return 1===o&&(r=a,i=t),r instanceof y&&(r=r[1]),i instanceof y&&(i=i[h]),this.hide().selection=n.selectChildren(r,i),this.insDirOf(o,this.selection.ends[o]),this.selectionChanged(),!0},e.clearSelection=function(){return this.selection&&(this.selection.clear(),delete this.selection,this.selectionChanged()),this},e.deleteSelection=function(){this.selection&&(this[h]=this.selection.ends[h][h],this[1]=this.selection.ends[1][1],this.selection.remove(),this.selectionChanged(),delete this.selection)},e.replaceSelection=function(){var e=this.selection;return e&&(this[h]=e.ends[h][h],this[1]=e.ends[1][1],delete this.selection),e}})),M=p(I,(function(e,t){e.init=function(){t.init.apply(this,arguments),this.jQ=this.jQ.wrapAll('<span class="mq-selection"></span>').parent()},e.adopt=function(){return this.jQ.replaceWith(this.jQ=this.jQ.children()),t.adopt.apply(this,arguments)},e.clear=function(){return this.jQ.replaceWith(this.jQ[0].childNodes),this},e.join=function(e){return this.fold("",(function(t,n){return t+n[e]()}))}})),A=p((function(e){e.init=function(e,t,n){this.id=e.id,this.data={},this.root=e,this.container=t,this.options=n,e.controller=this,this.cursor=e.cursor=T(e,n)},e.handle=function(e,t){var n=this.options.handlers;if(n&&n.fns[e]){var r=n.APIClasses[this.KIND_OF_MQ](this);t===h||1===t?n.fns[e](t,r):n.fns[e](r)}};var t=[];this.onNotify=function(e){t.push(e)},e.notify=function(){for(var e=0;e<t.length;e+=1)t[e].apply(this.cursor,arguments);return this}})),C={},E=p(),N={},S=p(),k={};function j(){window.console&&console.warn('You are using the MathQuill API without specifying an interface version, which will fail in v1.0.0. Easiest fix is to do the following before doing anything else:\n\n MathQuill = MathQuill.getInterface(1);\n // now MathQuill.MathField() works like it used to\n\nSee also the "`dev` branch (2014–2015) → v0.10.0 Migration Guide" at\n https://github.com/mathquill/mathquill/wiki/%60dev%60-branch-(2014%E2%80%932015)-%E2%86%92-v0.10.0-Migration-Guide')}function D(e){return j(),Be(e)}D.prototype=S.p,D.VERSION="v0.10.5",D.interfaceVersion=function(e){if(1!==e)throw"Only interface version 1 supported. You specified: "+e;return(j=function(){window.console&&console.warn('You called MathQuill.interfaceVersion(1); to specify the interface version, which will fail in v1.0.0. You can fix this easily by doing this before doing anything else:\n\n MathQuill = MathQuill.getInterface(1);\n // now MathQuill.MathField() works like it used to\n\nSee also the "`dev` branch (2014–2015) → v0.10.0 Migration Guide" at\n https://github.com/mathquill/mathquill/wiki/%60dev%60-branch-(2014%E2%80%932015)-%E2%86%92-v0.10.0-Migration-Guide')})(),D},D.getInterface=P;var L=P.MIN=1,O=P.MAX=2;function P(e){if(!(L<=e&&e<=O))throw"Only interface versions between "+L+" and "+O+" supported. You specified: "+e;function n(e){if(!e||!e.nodeType)return null;var t=m(e).children(".mq-root-block").attr(r),n=t&&v.byId[t].controller;return n?i[n.KIND_OF_MQ](n):null}var i={};function a(e,t){for(var n in t&&t.handlers&&(t.handlers={fns:t.handlers,APIClasses:i}),t)if(t.hasOwnProperty(n)){var r=t[n],a=N[n];e[n]=a?a(r):r}}n.L=h,n.R=1,n.saneKeyboardEvents=Z,n.config=function(e){return a(E.p,e),this},n.registerEmbed=function(e,t){if(!/^[a-z][a-z0-9]*$/i.test(e))throw"Embed name must start with letter and be only letters and digits";k[e]=t};var s=i.AbstractMathQuill=p(S,(function(e){e.init=function(e){this.__controller=e,this.__options=e.options,this.id=e.id,this.data=e.data},e.__mathquillify=function(e){var t=this.__controller,n=t.root,i=t.container;t.createTextarea();var a=i.addClass(e).contents().detach();n.jQ=m('<span class="mq-root-block"/>').attr(r,n.id).appendTo(i),this.latex(a.text()),this.revert=function(){return i.empty().unbind(".mathquill").removeClass("mq-editable-field mq-math-mode mq-text-mode").append(a)}},e.config=function(e){return a(this.__options,e),this},e.el=function(){return this.__controller.container[0]},e.text=function(){return this.__controller.exportText()},e.latex=function(e){return arguments.length>0?(this.__controller.renderLatexMath(e),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this):this.__controller.exportLatex()},e.html=function(){return this.__controller.root.jQ.html().replace(/ mathquill-(?:command|block)-id="?\d+"?/g,"").replace(/<span class="?mq-cursor( mq-blink)?"?>.?<\/span>/i,"").replace(/ mq-hasCursor|mq-hasCursor ?/,"").replace(/ class=(""|(?= |>))/g,"")},e.reflow=function(){return this.__controller.root.postOrder("reflow"),this}}));for(var l in n.prototype=s.prototype,i.EditableField=p(s,(function(e,n){e.__mathquillify=function(){return n.__mathquillify.apply(this,arguments),this.__controller.editable=!0,this.__controller.delegateMouseEvents(),this.__controller.editablesTextareaEvents(),this},e.focus=function(){return this.__controller.textarea.focus(),this},e.blur=function(){return this.__controller.textarea.blur(),this},e.write=function(e){return this.__controller.writeLatex(e),this.__controller.scrollHoriz(),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this},e.empty=function(){var e=this.__controller.root,t=this.__controller.cursor;return e.eachChild("postOrder","dispose"),e.ends[h]=e.ends[1]=0,e.jQ.empty(),delete t.selection,t.insAtRightEnd(e),this},e.cmd=function(e){var t=this.__controller.notify(),n=t.cursor;if(/^\\[a-z]+$/i.test(e)){e=e.slice(1);var r=x[e]||Ue[e];r&&(e=r(e),n.selection&&e.replaces(n.replaceSelection()),e.createLeftOf(n.show()),this.__controller.scrollHoriz())}else n.parent.write(n,e);return t.blurred&&n.hide().parent.blur(),this},e.select=function(){var e=this.__controller;for(e.notify("move").cursor.insAtRightEnd(e.root);e.cursor[h];)e.selectLeft();return this},e.clearSelection=function(){return this.__controller.cursor.clearSelection(),this},e.moveToDirEnd=function(e){return this.__controller.notify("move").cursor.insAtDirEnd(e,this.__controller.root),this},e.moveToLeftEnd=function(){return this.moveToDirEnd(h)},e.moveToRightEnd=function(){return this.moveToDirEnd(1)},e.keystroke=function(e){e=e.replace(/^\s+|\s+$/g,"").split(/\s+/);for(var t=0;t<e.length;t+=1)this.__controller.keystroke(e[t],{preventDefault:o});return this},e.typedText=function(e){for(var t=0;t<e.length;t+=1)this.__controller.typedText(e.charAt(t));return this},e.dropEmbedded=function(e,t,n){var r=e-m(window).scrollLeft(),i=t-m(window).scrollTop(),a=document.elementFromPoint(r,i);this.__controller.seek(m(a),e,t),_e().setOptions(n).createLeftOf(this.__controller.cursor)},e.clickAt=function(e,n,r){r=r||document.elementFromPoint(e,n);var i=this.__controller,a=i.root;return t.contains(a.jQ[0],r)||(r=a.jQ[0]),i.seek(m(r),e+pageXOffset,n+pageYOffset),i.blurred&&this.focus(),this},e.ignoreNextMousedown=function(e){return this.__controller.cursor.options.ignoreNextMousedown=e,this}})),n.EditableField=function(){throw"wtf don't call me, I'm 'abstract'"},n.EditableField.prototype=i.EditableField.prototype,C)!function(t,r){var a=i[t]=r(i);n[t]=function(r,i){var o=n(r);if(o instanceof a||!r||!r.nodeType)return o;var s=A(a.RootBlock(),m(r),E());return s.KIND_OF_MQ=t,a(s).__mathquillify(i,e)},n[t].prototype=a.prototype}(l,C[l]);return n}D.noConflict=function(){return window.MathQuill=R,D};var R=window.MathQuill;function z(e){for(var t="moveOutOf deleteOutOf selectOutOf upOutOf downOutOf".split(" "),n=0;n<t.length;n+=1)!function(t){e[t]=function(e){this.controller.handle(t,e)}}(t[n]);e.reflow=function(){this.controller.handle("reflow"),this.controller.handle("edited"),this.controller.handle("edit")}}window.MathQuill=D;var _,U=p((function(e,t,n){function r(e,t){throw"Parse Error: "+t+" at "+(e=e?"'"+e+"'":"EOF")}e.init=function(e){this._=e},e.parse=function(e){return this.skip(o)._(""+e,(function(e,t){return t}),r)},e.or=function(e){f("or is passed a parser",e instanceof n);var t=this;return n((function(n,r,i){return t._(n,r,(function(t){return e._(n,r,i)}))}))},e.then=function(e){var t=this;return n((function(r,i,a){return t._(r,(function(t,r){var o=e instanceof n?e:e(r);return f("a parser is returned",o instanceof n),o._(t,i,a)}),a)}))},e.many=function(){var e=this;return n((function(t,n,r){for(var i=[];e._(t,a,o););return n(t,i);function a(e,n){return t=e,i.push(n),!0}function o(){return!1}}))},e.times=function(e,t){arguments.length<2&&(t=e);var r=this;return n((function(n,i,a){for(var o,s=[],l=!0,c=0;c<e;c+=1)if(!(l=r._(n,u,d)))return a(n,o);for(;c<t&&l;c+=1)l=r._(n,u,f);return i(n,s);function u(e,t){return s.push(t),n=e,!0}function d(e,t){return o=t,n=e,!1}function f(e,t){return!1}}))},e.result=function(e){return this.then(a(e))},e.atMost=function(e){return this.times(0,e)},e.atLeast=function(e){var t=this;return t.times(e).then((function(e){return t.many().map((function(t){return e.concat(t)}))}))},e.map=function(e){return this.then((function(t){return a(e(t))}))},e.skip=function(e){return this.then((function(t){return e.result(t)}))};this.string=function(e){var t=e.length,r="expected '"+e+"'";return n((function(n,i,a){var o=n.slice(0,t);return o===e?i(n.slice(t),o):a(n,r)}))};var i=this.regex=function(e){f("regexp parser is anchored","^"===e.toString().charAt(1));var t="expected "+e;return n((function(n,r,i){var a=e.exec(n);if(a){var o=a[0];return r(n.slice(o.length),o)}return i(n,t)}))},a=n.succeed=function(e){return n((function(t,n){return n(t,e)}))},o=(n.fail=function(e){return n((function(t,n,r){return r(t,e)}))},n.letter=i(/^[a-z]/i),n.letters=i(/^[a-z]*/i),n.digit=i(/^[0-9]/),n.digits=i(/^[0-9]*/),n.whitespace=i(/^\s+/),n.optWhitespace=i(/^\s*/),n.any=n((function(e,t,n){return e?t(e.slice(1),e.charAt(0)):n(e,"expected any character")})),n.all=n((function(e,t,n){return t("",e)})),n.eof=n((function(e,t,n){return e?n(e,"expected EOF"):t(e,e)})))})),Z=(_={8:"Backspace",9:"Tab",10:"Enter",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Esc",32:"Spacebar",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",45:"Insert",46:"Del",144:"NumLock"},function(e,n){var r,i=null,a=null,s=t(e),l=t(n.container||s),c=o;function u(e){c=e,clearTimeout(r),r=setTimeout(e)}function d(e){u((function(t){c=o,clearTimeout(r),e(t)}))}l.bind("keydown keypress input keyup focusout paste",(function(e){c(e)}));var f=!1;function p(){n.keystroke(function(e){var t,n=e.which||e.keyCode,r=_[n],i=[];return e.ctrlKey&&i.push("Ctrl"),e.originalEvent&&e.originalEvent.metaKey&&i.push("Meta"),e.altKey&&i.push("Alt"),e.shiftKey&&i.push("Shift"),t=r||String.fromCharCode(n),i.length||r?(i.push(t),i.join("-")):t}(i),i)}function h(){if(!("selectionStart"in(e=s[0]))||e.selectionStart===e.selectionEnd){var e,t=s.val();1===t.length?(s.val(""),n.typedText(t)):t&&s[0].select&&s[0].select()}}function g(){var e=s.val();s.val(""),e&&n.paste(e)}return l.bind({keydown:function(e){i=e,a=null,f&&d((function(e){e&&"focusout"===e.type||!s[0].select||s[0].select()})),p()},keypress:function(e){i&&a&&p(),a=e,u(h)},keyup:function(e){i&&!a&&u(h)},focusout:function(){i=a=null},cut:function(){d((function(){n.cut()}))},copy:function(){d((function(){n.copy()}))},paste:function(e){s.focus(),u(g)}}),{select:function(e){c(),c=o,clearTimeout(r),s.val(e),e&&s[0].select&&s[0].select(),f=!!e}}});A.open((function(e,t){e.exportText=function(){return this.root.foldChildren("",(function(e,t){return e+t.text()}))}})),A.open((function(e){e.focusBlurEvents=function(){var e,t=this,n=t.root,r=t.cursor;function i(){clearTimeout(e),r.selection&&r.selection.jQ.addClass("mq-blur"),a()}function a(){r.hide().parent.blur(),t.container.removeClass("mq-focused"),m(window).unbind("blur",i)}t.textarea.focus((function(){t.blurred=!1,clearTimeout(e),t.container.addClass("mq-focused"),r.parent||r.insAtRightEnd(n),r.selection?(r.selection.jQ.removeClass("mq-blur"),t.selectionChanged()):r.show()})).blur((function(){t.blurred=!0,e=setTimeout((function(){n.postOrder("intentionalBlur"),r.clearSelection().endSelection(),a()})),m(window).bind("blur",i)})),t.blurred=!0,r.hide().parent.blur()}})),A.open((function(e){e.keystroke=function(e,t){this.cursor.parent.keystroke(e,t,this)}})),v.open((function(e){e.keystroke=function(e,t,n){var r=n.cursor;switch(e){case"Ctrl-Shift-Backspace":case"Ctrl-Backspace":n.ctrlDeleteDir(h);break;case"Shift-Backspace":case"Backspace":n.backspace();break;case"Esc":case"Tab":return void n.escapeDir(1,e,t);case"Shift-Tab":case"Shift-Esc":return void n.escapeDir(h,e,t);case"End":n.notify("move").cursor.insAtRightEnd(r.parent);break;case"Ctrl-End":n.notify("move").cursor.insAtRightEnd(n.root);break;case"Shift-End":for(;r[1];)n.selectRight();break;case"Ctrl-Shift-End":for(;r[1]||r.parent!==n.root;)n.selectRight();break;case"Home":n.notify("move").cursor.insAtLeftEnd(r.parent);break;case"Ctrl-Home":n.notify("move").cursor.insAtLeftEnd(n.root);break;case"Shift-Home":for(;r[h];)n.selectLeft();break;case"Ctrl-Shift-Home":for(;r[h]||r.parent!==n.root;)n.selectLeft();break;case"Left":n.moveLeft();break;case"Shift-Left":n.selectLeft();break;case"Ctrl-Left":break;case"Right":n.moveRight();break;case"Shift-Right":n.selectRight();break;case"Ctrl-Right":break;case"Up":n.moveUp();break;case"Down":n.moveDown();break;case"Shift-Up":if(r[h])for(;r[h];)n.selectLeft();else n.selectLeft();case"Shift-Down":if(r[1])for(;r[1];)n.selectRight();else n.selectRight();case"Ctrl-Up":case"Ctrl-Down":break;case"Ctrl-Shift-Del":case"Ctrl-Del":n.ctrlDeleteDir(1);break;case"Shift-Del":case"Del":n.deleteForward();break;case"Meta-A":case"Ctrl-A":for(n.notify("move").cursor.insAtRightEnd(n.root);r[h];)n.selectLeft();break;default:return}t.preventDefault(),n.scrollHoriz()},e.moveOutOf=e.moveTowards=e.deleteOutOf=e.deleteTowards=e.unselectInto=e.selectOutOf=e.selectTowards=function(){f("overridden or never called on this node")}})),A.open((function(e){function t(e,t){var n=e.notify("upDown").cursor,r=t+"Into",i=t+"OutOf";return n[1][r]?n.insAtLeftEnd(n[1][r]):n[h][r]?n.insAtRightEnd(n[h][r]):n.parent.bubble((function(e){var t=e[i];if(t&&("function"==typeof t&&(t=e[i](n)),t instanceof v&&n.jumpUpDown(e,t),!0!==t))return!1})),e}this.onNotify((function(e){"move"!==e&&"upDown"!==e||this.show().clearSelection()})),e.escapeDir=function(e,t,n){g(e);var r=this.cursor;if(r.parent!==this.root&&n.preventDefault(),r.parent!==this.root)return r.parent.moveOutOf(e,r),this.notify("move")},N.leftRightIntoCmdGoes=function(e){if(e&&"up"!==e&&"down"!==e)throw'"up" or "down" required for leftRightIntoCmdGoes option, got "'+e+'"';return e},e.moveDir=function(e){g(e);var t=this.cursor,n=t.options.leftRightIntoCmdGoes;return t.selection?t.insDirOf(e,t.selection.ends[e]):t[e]?t[e].moveTowards(e,t,n):t.parent.moveOutOf(e,t,n),this.notify("move")},e.moveLeft=function(){return this.moveDir(h)},e.moveRight=function(){return this.moveDir(1)},e.moveUp=function(){return t(this,"up")},e.moveDown=function(){return t(this,"down")},this.onNotify((function(e){"upDown"!==e&&(this.upDownCache={})})),this.onNotify((function(e){"edit"===e&&this.show().deleteSelection()})),e.deleteDir=function(e){g(e);var t=this.cursor,n=t.selection;return this.notify("edit"),n||(t[e]?t[e].deleteTowards(e,t):t.parent.deleteOutOf(e,t)),t[h].siblingDeleted&&t[h].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,h),t.parent.bubble("reflow"),this},e.ctrlDeleteDir=function(e){g(e);var t=this.cursor;return!t[e]||t.selection?this.deleteDir(e):(this.notify("edit"),e===h?I(t.parent.ends[h],t[h]).remove():I(t[1],t.parent.ends[1]).remove(),t.insAtDirEnd(e,t.parent),t[h].siblingDeleted&&t[h].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,h),t.parent.bubble("reflow"),this)},e.backspace=function(){return this.deleteDir(h)},e.deleteForward=function(){return this.deleteDir(1)},this.onNotify((function(e){"select"!==e&&this.endSelection()})),e.selectDir=function(e){var t=this.notify("select").cursor,n=t.selection;g(e),t.anticursor||t.startSelection();var r=t[e];r?n&&n.ends[e]===r&&t.anticursor[-e]!==r?r.unselectInto(e,t):r.selectTowards(e,t):t.parent.selectOutOf(e,t),t.clearSelection(),t.select()||t.show()},e.selectLeft=function(){return this.selectDir(h)},e.selectRight=function(){return this.selectDir(1)}}));var F=function(){function e(e){for(var t=e[0]||V(),n=1;n<e.length;n+=1)e[n].children().adopt(t,t.ends[1],0);return t}var t=U.string,n=U.regex,r=U.letter,i=U.any,a=U.optWhitespace,o=U.succeed,s=U.fail,l=r.map((function(e){return ne(e)})),c=n(/^[^${}\\_^]/).map((function(e){return W(e)})),u=n(/^[^\\a-eg-zA-Z]/).or(t("\\").then(n(/^[a-z]+/i).or(n(/^\s+/).result(" ")).or(i))).then((function(e){var t=x[e];return t?t(e).parser():s("unknown command: \\"+e)})).or(l).or(c),d=t("{").then((function(){return p})).skip(t("}")),f=a.then(d.or(u.map((function(e){var t=V();return e.adopt(t,0,0),t})))),p=f.many().map(e).skip(a),h=t("[").then(f.then((function(e){return"]"!==e.join("latex")?o(e):s()})).many().map(e).skip(a)).skip(t("]")),g=p;return g.block=f,g.optBlock=h,g}();A.open((function(e,t){e.exportLatex=function(){return this.root.latex().replace(/(\\[a-z]+) (?![a-z])/gi,"$1")},e.writeLatex=function(e){var t=this.notify("edit").cursor,n=U.all,r=U.eof,i=F.skip(r).or(n.result(!1)).parse(e);i&&!i.isEmpty()&&(i.children().adopt(t.parent,t[h],t[1]),i.jQize().insertBefore(t.jQ),t[h]=i.ends[1],i.finalizeInsert(t.options,t),i.ends[1][1].siblingCreated&&i.ends[1][1].siblingCreated(t.options,h),i.ends[h][h].siblingCreated&&i.ends[h][h].siblingCreated(t.options,1),t.parent.bubble("reflow"));return this},e.renderLatexMath=function(e){var t=this.root,n=this.cursor,r=U.all,i=U.eof,a=F.skip(i).or(r.result(!1)).parse(e);t.eachChild("postOrder","dispose"),t.ends[h]=t.ends[1]=0,a&&a.children().adopt(t,0,0);var o=t.jQ;if(a){var s=a.join("html");o.html(s),t.jQize(o.children()),t.finalizeInsert(n.options)}else o.empty();delete n.selection,n.insAtRightEnd(t)},e.renderLatexText=function(e){var t=this.root,n=this.cursor;t.jQ.children().slice(1).remove(),t.eachChild("postOrder","dispose"),t.ends[h]=t.ends[1]=0,delete n.selection,n.show().insAtRightEnd(t);var r=U.regex,i=U.string,a=U.eof,o=U.all,s=i("$").then(F).skip(i("$").or(a)).map((function(e){var t=K(n);t.createBlocks();var r=t.ends[h];return e.children().adopt(r,0,0),t})),l=i("\\$").result("$").or(r(/^[^$]/)).map(W),c=s.or(l).many().skip(a).or(o.result(!1)).parse(e);if(c){for(var u=0;u<c.length;u+=1)c[u].adopt(t,t.ends[1],0);t.jQize().appendTo(t.jQ),t.finalizeInsert(n.options)}}})),A.open((function(e){E.p.ignoreNextMousedown=o,e.delegateMouseEvents=function(){var e=this.root.jQ;this.container.bind("mousedown.mathquill",(function(t){var n,i=m(t.target).closest(".mq-root-block"),a=v.byId[i.attr(r)||e.attr(r)].controller,s=a.cursor,l=s.blink,c=a.textareaSpan,u=a.textarea;(t.preventDefault(),t.target.unselectable=!0,s.options.ignoreNextMousedown(t))||(s.options.ignoreNextMousedown=o,a.blurred&&(a.editable||i.prepend(c),u.focus()),s.blink=o,a.seek(m(t.target),t.pageX,t.pageY).cursor.startSelection(),i.mousemove(d),m(t.target.ownerDocument).mousemove(f).mouseup((function e(t){s.blink=l,s.selection||(a.editable?s.show():c.detach()),i.unbind("mousemove",d),m(t.target.ownerDocument).unbind("mousemove",f).unbind("mouseup",e)})));function d(e){n=m(e.target)}function f(e){s.anticursor||s.startSelection(),a.seek(n,e.pageX,e.pageY).cursor.select(),n=void 0}}))}})),A.open((function(e){e.seek=function(e,t,n){var i=this.notify("select").cursor;if(e){var a=e.attr(r)||e.attr("mathquill-command-id");if(!a){var o=e.parent();a=o.attr(r)||o.attr("mathquill-command-id")}}var s=a?v.byId[a]:this.root;return f("nodeId is the id of some Node that exists",s),i.clearSelection().show(),s.seek(t,i),this.scrollHoriz(),this}})),A.open((function(e){e.scrollHoriz=function(){var e=this.cursor,t=e.selection,n=e.offset();if(n){var r=e.jQ.closest(".mq-editable-field"),i=Number(n.top-r.offset().top+2*e.jQ.height());r.find(".mq-textarea textarea").css("top",i+"px")}var a=this.root.jQ[0].getBoundingClientRect();if(t){var o=t.jQ[0].getBoundingClientRect(),s=o.left-(a.left+20),l=o.right-(a.right-20);if(t.ends[h]===e[1])if(s<0)u=s;else{if(!(l>0))return;if(o.left-l<a.left+20)u=s;else u=l}else if(l>0)u=l;else{if(!(s<0))return;if(o.right-s>a.right-20)u=l;else u=s}}else{var c=e.jQ[0].getBoundingClientRect().left;if(c>a.right-20)var u=c-(a.right-20);else{if(!(c<a.left+20))return;var u=c-(a.left+20)}}this.root.jQ.stop().animate({scrollLeft:"+="+u},100)}})),A.open((function(e){E.p.substituteTextarea=function(){return m("<textarea autocapitalize=off autocomplete=off autocorrect=off spellcheck=false x-palm-disable-ste-all=true />")[0]},e.createTextarea=function(){var e=this.textareaSpan=m('<span class="mq-textarea"></span>'),t=this.options.substituteTextarea();if(!t.nodeType)throw"substituteTextarea() must return a DOM element, got "+t;t=this.textarea=m(t).appendTo(e);var n=this;n.cursor.selectionChanged=function(){n.selectionChanged()}},e.selectionChanged=function(){var e=this;ye(e.container[0]),void 0===e.textareaSelectionTimeout&&(e.textareaSelectionTimeout=setTimeout((function(){e.setTextareaSelection()})))},e.setTextareaSelection=function(){this.textareaSelectionTimeout=void 0;var e="";this.cursor.selection&&(e=this.cursor.selection.join("latex"),this.options.statelessClipboard&&(e="$"+e+"$")),this.selectFn(e)},e.staticMathTextareaEvents=function(){var e=this,n=(e.root,e.cursor),r=e.textarea,i=e.textareaSpan;function a(){i.detach(),e.blurred=!0}this.container.prepend(t('<span class="mq-selectable">').text("$"+e.exportLatex()+"$")),e.blurred=!0,r.bind("cut paste",!1).bind("copy",(function(){e.setTextareaSelection()})).focus((function(){e.blurred=!1})).blur((function(){n.selection&&n.selection.clear(),setTimeout(a)})),e.selectFn=function(e){r.val(e),e&&r.select()}},E.p.substituteKeyboardEvents=Z,e.editablesTextareaEvents=function(){var e=this.textarea,t=this.textareaSpan,n=this.options.substituteKeyboardEvents(e,this);this.selectFn=function(e){n.select(e)},this.container.prepend(t),this.focusBlurEvents()},e.typedText=function(e){if("\n"===e)return this.handle("enter");var t=this.notify().cursor;t.parent.write(t,e),this.scrollHoriz()},e.cut=function(){var e=this,t=e.cursor;t.selection&&setTimeout((function(){e.notify("edit"),t.parent.bubble("reflow")}))},e.copy=function(){this.setTextareaSelection()},e.paste=function(e){this.options.statelessClipboard&&(e="$"===e.slice(0,1)&&"$"===e.slice(-1)?e.slice(1,-1):"\\text{"+e+"}"),this.writeLatex(e).cursor.show()}}));var G=p(v,(function(e,t){e.finalizeInsert=function(e,t){this.postOrder("finalizeTree",e),this.postOrder("contactWeld",t),this.postOrder("blur"),this.postOrder("reflow"),this[1].siblingCreated&&this[1].siblingCreated(e,h),this[h].siblingCreated&&this[h].siblingCreated(e,1),this.bubble("reflow")}})),B=p(G,(function(e,t){e.init=function(e,n,r){t.init.call(this),this.ctrlSeq||(this.ctrlSeq=e),n&&(this.htmlTemplate=n),r&&(this.textTemplate=r)},e.replaces=function(e){e.disown(),this.replacedFragment=e},e.isEmpty=function(){return this.foldChildren(!0,(function(e,t){return e&&t.isEmpty()}))},e.parser=function(){var e=F.block,t=this;return e.times(t.numBlocks()).map((function(e){t.blocks=e;for(var n=0;n<e.length;n+=1)e[n].adopt(t,t.ends[1],0);return t}))},e.createLeftOf=function(e){var n=this.replacedFragment;this.createBlocks(),t.createLeftOf.call(this,e),n&&(n.adopt(this.ends[h],0,0),n.jQ.appendTo(this.ends[h].jQ)),this.finalizeInsert(e.options),this.placeCursor(e)},e.createBlocks=function(){for(var e=this.numBlocks(),t=this.blocks=Array(e),n=0;n<e;n+=1){(t[n]=V()).adopt(this,this.ends[1],0)}},e.placeCursor=function(e){e.insAtRightEnd(this.foldChildren(this.ends[h],(function(e,t){return e.isEmpty()?e:t})))},e.moveTowards=function(e,t,n){var r=n&&this[n+"Into"];t.insAtDirEnd(-e,r||this.ends[-e])},e.deleteTowards=function(e,t){this.isEmpty()?t[e]=this.remove()[e]:this.moveTowards(e,t,null)},e.selectTowards=function(e,t){t[-e]=this,t[e]=this[e]},e.selectChildren=function(){return M(this,this)},e.unselectInto=function(e,t){t.insAtDirEnd(-e,t.anticursor.ancestors[this.id])},e.seek=function(e,t){function n(e){var t={};return t[h]=e.jQ.offset().left,t[1]=t[h]+e.jQ.outerWidth(),t}var r=this,i=n(r);if(e<i[h])return t.insLeftOf(r);if(e>i[1])return t.insRightOf(r);var a=i[h];r.eachChild((function(o){var s=n(o);return e<s[h]?(e-a<s[h]-e?o[h]?t.insAtRightEnd(o[h]):t.insLeftOf(r):t.insAtLeftEnd(o),!1):e>s[1]?void(o[1]?a=s[1]:i[1]-e<e-s[1]?t.insRightOf(r):t.insAtRightEnd(o)):(o.seek(e,t),!1)}))},e.numBlocks=function(){var e=this.htmlTemplate.match(/&\d+/g);return e?e.length:0},e.html=function(){var e=this.blocks,t=" mathquill-command-id="+this.id,n=this.htmlTemplate.match(/<[^<>]+>|[^<>]+/g);f("no unmatched angle brackets",n.join("")===this.htmlTemplate);for(var r=0,i=n[0];i;i=n[r+=1])if("/>"===i.slice(-2))n[r]=i.slice(0,-2)+t+"/>";else if("<"===i.charAt(0)){f("not an unmatched top-level close tag","/"!==i.charAt(1)),n[r]=i.slice(0,-1)+t+">";var a=1;do{f("no missing close tags",i=n[r+=1]),"</"===i.slice(0,2)?a-=1:"<"===i.charAt(0)&&"/>"!==i.slice(-2)&&(a+=1)}while(a>0)}return n.join("").replace(/>&(\d+)/g,(function(t,n){return" mathquill-block-id="+e[n].id+">"+e[n].join("html")}))},e.latex=function(){return this.foldChildren(this.ctrlSeq,(function(e,t){return e+"{"+(t.latex()||" ")+"}"}))},e.textTemplate=[""],e.text=function(){var e=this,t=0;return e.foldChildren(e.textTemplate[t],(function(n,r){t+=1;var i=r.text();return n&&"("===e.textTemplate[t]&&"("===i[0]&&")"===i.slice(-1)?n+i.slice(1,-1)+e.textTemplate[t]:n+r.text()+(e.textTemplate[t]||"")}))}})),Y=p(B,(function(e,t){e.init=function(e,n,r){r||(r=e&&e.length>1?e.slice(1):e),t.init.call(this,e,n,[r])},e.parser=function(){return U.succeed(this)},e.numBlocks=function(){return 0},e.replaces=function(e){e.remove()},e.createBlocks=o,e.moveTowards=function(e,t){t.jQ.insDirOf(e,this.jQ),t[-e]=this,t[e]=this[e]},e.deleteTowards=function(e,t){t[e]=this.remove()[e]},e.seek=function(e,t){e-this.jQ.offset().left<this.jQ.outerWidth()/2?t.insLeftOf(this):t.insRightOf(this)},e.latex=function(){return this.ctrlSeq},e.text=function(){return this.textTemplate},e.placeCursor=o,e.isEmpty=function(){return!0}})),W=p(Y,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span>"+(n||e)+"</span>")}})),H=p(Y,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,'<span class="mq-binary-operator">'+n+"</span>",r)}})),V=p(G,(function(e,t){e.join=function(e){return this.foldChildren("",(function(t,n){return t+n[e]()}))},e.html=function(){return this.join("html")},e.latex=function(){return this.join("latex")},e.text=function(){return this.ends[h]===this.ends[1]&&0!==this.ends[h]?this.ends[h].text():this.join("text")},e.keystroke=function(e,n,r){return!r.options.spaceBehavesLikeTab||"Spacebar"!==e&&"Shift-Spacebar"!==e?t.keystroke.apply(this,arguments):(n.preventDefault(),void r.escapeDir("Shift-Spacebar"===e?h:1,e,n))},e.moveOutOf=function(e,t,n){!(n&&this.parent[n+"Into"])&&this[e]?t.insAtDirEnd(-e,this[e]):t.insDirOf(e,this.parent)},e.selectOutOf=function(e,t){t.insDirOf(e,this.parent)},e.deleteOutOf=function(e,t){t.unwrapGramp()},e.seek=function(e,t){var n=this.ends[1];if(!n||n.jQ.offset().left+n.jQ.outerWidth()<e)return t.insAtRightEnd(this);if(e<this.ends[h].jQ.offset().left)return t.insAtLeftEnd(this);for(;e<n.jQ.offset().left;)n=n[h];return n.seek(e,t)},e.chToCmd=function(e,t){var n;return e.match(/^[a-eg-zA-Z]$/)?ne(e):/^\d$/.test(e)?ee(e):t&&t.typingSlashWritesDivisionSymbol&&"/"===e?x["÷"](e):t&&t.typingAsteriskWritesTimesSymbol&&"*"===e?x["×"](e):(n=w[e]||x[e])?n(e):W(e)},e.write=function(e,t){var n=this.chToCmd(t,e.options);e.selection&&n.replaces(e.replaceSelection()),n.createLeftOf(e.show())},e.focus=function(){return this.jQ.addClass("mq-hasCursor"),this.jQ.removeClass("mq-empty"),this},e.blur=function(){return this.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.jQ.addClass("mq-empty"),this}}));C.StaticMath=function(e){return p(e.AbstractMathQuill,(function(t,n){this.RootBlock=V,t.__mathquillify=function(e,t){return this.config(e),n.__mathquillify.call(this,"mq-math-mode"),this.__controller.delegateMouseEvents(),this.__controller.staticMathTextareaEvents(),this},t.init=function(){n.init.apply(this,arguments),this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.MathField)},t.latex=function(){var t=n.latex.apply(this,arguments);return arguments.length>0&&this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.MathField),t}}))};var q=p(V,z);C.MathField=function(e){return p(e.EditableField,(function(e,t){this.RootBlock=q,e.__mathquillify=function(e,n){return this.config(e),n>1&&(this.__controller.root.reflow=o),t.__mathquillify.call(this,"mq-editable-field mq-math-mode"),delete this.__controller.root.reflow,this}}))};var Q=p(v,(function(e,t){function n(e){e.jQ[0].normalize();var t=e.jQ[0].firstChild;if(t){f("only node in TextBlock span is Text node",3===t.nodeType);var n=J(t.data);return n.jQadd(t),e.children().disown(),n.adopt(e,0,0)}}e.ctrlSeq="\\text",e.replaces=function(e){e instanceof I?this.replacedText=e.remove().jQ.text():"string"==typeof e&&(this.replacedText=e)},e.jQadd=function(e){t.jQadd.call(this,e),this.ends[h]&&this.ends[h].jQadd(this.jQ[0].firstChild)},e.createLeftOf=function(e){if(t.createLeftOf.call(this,e),this[1].siblingCreated&&this[1].siblingCreated(e.options,h),this[h].siblingCreated&&this[h].siblingCreated(e.options,1),this.bubble("reflow"),e.insAtRightEnd(this),this.replacedText)for(var n=0;n<this.replacedText.length;n+=1)this.write(e,this.replacedText.charAt(n))},e.parser=function(){var e=this,t=U.string,n=U.regex;return U.optWhitespace.then(t("{")).then(n(/^[^}]*/)).skip(t("}")).map((function(t){return 0===t.length?I():(J(t).adopt(e,0,0),e)}))},e.textContents=function(){return this.foldChildren("",(function(e,t){return e+t.text}))},e.text=function(){return'"'+this.textContents()+'"'},e.latex=function(){var e=this.textContents();return 0===e.length?"":"\\text{"+e.replace(/\\/g,"\\backslash ").replace(/[{}]/g,"\\$&")+"}"},e.html=function(){return'<span class="mq-text-mode" mathquill-command-id='+this.id+">"+this.textContents()+"</span>"},e.moveTowards=function(e,t){t.insAtDirEnd(-e,this)},e.moveOutOf=function(e,t){t.insDirOf(e,this)},e.unselectInto=e.moveTowards,e.selectTowards=B.prototype.selectTowards,e.deleteTowards=B.prototype.deleteTowards,e.selectOutOf=function(e,t){t.insDirOf(e,this)},e.deleteOutOf=function(e,t){this.isEmpty()&&t.insRightOf(this)},e.write=function(e,n){if(e.show().deleteSelection(),"$"!==n)e[h]?e[h].appendText(n):J(n).createLeftOf(e);else if(this.isEmpty())e.insRightOf(this),W("\\$","$").createLeftOf(e);else if(e[1])if(e[h]){var r=Q(),i=this.ends[h];i.disown().jQ.detach(),i.adopt(r,0,0),e.insLeftOf(this),t.createLeftOf.call(r,e)}else e.insLeftOf(this);else e.insRightOf(this)},e.seek=function(e,t){t.hide();var r=n(this),i=this.jQ.width()/this.text.length,a=Math.round((e-this.jQ.offset().left)/i);a<=0?t.insAtLeftEnd(this):a>=r.text.length?t.insAtRightEnd(this):t.insLeftOf(r.splitRight(a));for(var o=e-t.show().offset().left,s=o&&o<0?h:1,l=s;t[s]&&o*l>0;)t[s].moveTowards(s,t),l=o,o=e-t.offset().left;if(s*o<-s*l&&t[-s].moveTowards(-s,t),t.anticursor){if(t.anticursor.parent===this){var c=t[h]&&t[h].text.length;if(this.anticursorPosition===c)t.anticursor=y.copy(t);else{if(this.anticursorPosition<c){var u=t[h].splitRight(this.anticursorPosition);t[h]=u}else u=t[1].splitRight(this.anticursorPosition-c);t.anticursor=y(this,u[h],u)}}}else this.anticursorPosition=t[h]&&t[h].text.length},e.blur=function(e){V.prototype.blur.call(this),e&&(""===this.textContents()?(this.remove(),e[h]===this?e[h]=this[h]:e[1]===this&&(e[1]=this[1])):n(this))},e.focus=V.prototype.focus})),J=p(v,(function(e,t){function n(e,t){return t.charAt(e===h?0:-1+t.length)}e.init=function(e){t.init.call(this),this.text=e},e.jQadd=function(e){this.dom=e,this.jQ=m(e)},e.jQize=function(){return this.jQadd(document.createTextNode(this.text))},e.appendText=function(e){this.text+=e,this.dom.appendData(e)},e.prependText=function(e){this.text=e+this.text,this.dom.insertData(0,e)},e.insTextAtDirEnd=function(e,t){g(t),1===t?this.appendText(e):this.prependText(e)},e.splitRight=function(e){var t=J(this.text.slice(e)).adopt(this.parent,this,this[1]);return t.jQadd(this.dom.splitText(e)),this.text=this.text.slice(0,e),t},e.moveTowards=function(e,t){g(e);var r=n(-e,this.text),i=this[-e];return i?i.insTextAtDirEnd(r,e):J(r).createDir(-e,t),this.deleteTowards(e,t)},e.latex=function(){return this.text},e.deleteTowards=function(e,t){this.text.length>1?1===e?(this.dom.deleteData(0,1),this.text=this.text.slice(1)):(this.dom.deleteData(-1+this.text.length,1),this.text=this.text.slice(0,-1)):(this.remove(),this.jQ.remove(),t[e]=this[e])},e.selectTowards=function(e,t){g(e);var r=t.anticursor,i=n(-e,this.text);if(r[e]===this){var a=J(i).createDir(e,t);r[e]=a,t.insDirOf(e,a)}else{var o=this[-e];if(o)o.insTextAtDirEnd(i,e);else(a=J(i).createDir(-e,t)).jQ.insDirOf(-e,t.selection.jQ);1===this.text.length&&r[-e]===this&&(r[-e]=this[-e])}return this.deleteTowards(e,t)}}));function X(e,t,n){return p(Q,{ctrlSeq:e,htmlTemplate:"<"+t+" "+n+">&0</"+t+">"})}x.text=x.textnormal=x.textrm=x.textup=x.textmd=Q,x.em=x.italic=x.italics=x.emph=x.textit=x.textsl=X("\\textit","i",'class="mq-text-mode"'),x.strong=x.bold=x.textbf=X("\\textbf","b",'class="mq-text-mode"'),x.sf=x.textsf=X("\\textsf","span",'class="mq-sans-serif mq-text-mode"'),x.tt=x.texttt=X("\\texttt","span",'class="mq-monospace mq-text-mode"'),x.textsc=X("\\textsc","span",'style="font-variant:small-caps" class="mq-text-mode"'),x.uppercase=X("\\uppercase","span",'style="text-transform:uppercase" class="mq-text-mode"'),x.lowercase=X("\\lowercase","span",'style="text-transform:lowercase" class="mq-text-mode"');var K=p(B,(function(e,t){e.init=function(e){t.init.call(this,"$"),this.cursor=e},e.htmlTemplate='<span class="mq-math-mode">&0</span>',e.createBlocks=function(){t.createBlocks.call(this),this.ends[h].cursor=this.cursor,this.ends[h].write=function(e,t){"$"!==t?V.prototype.write.call(this,e,t):this.isEmpty()?(e.insRightOf(this.parent),this.parent.deleteTowards(dir,e),W("\\$","$").createLeftOf(e.show())):e[1]?e[h]?V.prototype.write.call(this,e,t):e.insLeftOf(this.parent):e.insRightOf(this.parent)}},e.latex=function(){return"$"+this.ends[h].latex()+"$"}})),$=p(q,(function(e,t){e.keystroke=function(e){if("Spacebar"!==e&&"Shift-Spacebar"!==e)return t.keystroke.apply(this,arguments)},e.write=function(e,t){var n;(e.show().deleteSelection(),"$"===t)?K(e).createLeftOf(e):("<"===t?n="&lt;":">"===t&&(n="&gt;"),W(t,n).createLeftOf(e))}}));C.TextField=function(e){return p(e.EditableField,(function(e,t){this.RootBlock=$,e.__mathquillify=function(){return t.__mathquillify.call(this,"mq-editable-field mq-text-mode")},e.latex=function(e){return arguments.length>0?(this.__controller.renderLatexText(e),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this):this.__controller.exportLatex()}}))};var ee=p(W,(function(e,t){e.createLeftOf=function(e){e.options.autoSubscriptNumerals&&e.parent!==e.parent.parent.sub&&(e[h]instanceof te&&!1!==e[h].isItalic||e[h]instanceof Ae&&e[h][h]instanceof te&&!1!==e[h][h].isItalic)?(x._().createLeftOf(e),t.createLeftOf.call(this,e),e.insRightOf(e.parent.parent)):t.createLeftOf.call(this,e)}})),te=p(Y,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<var>"+(n||e)+"</var>")},e.text=function(){var e=this.ctrlSeq;return this.isPartOfOperator?"\\"==e[0]?e=e.slice(1,e.length):" "==e[e.length-1]&&(e=e.slice(0,-1)):(!this[h]||this[h]instanceof te||this[h]instanceof H||"\\ "===this[h].ctrlSeq||(e="*"+e),!this[1]||this[1]instanceof H||this[1]instanceof Ae||(e+="*")),e}}));E.p.autoCommands={_maxLength:0},N.autoCommands=function(e){if(!/^[a-z]+(?: [a-z]+)*$/i.test(e))throw'"'+e+'" not a space-delimited list of only letters';for(var t=e.split(" "),n={},r=0,i=0;i<t.length;i+=1){var o=t[i];if(o.length<2)throw'autocommand "'+o+'" not minimum length of 2';if(x[o]===oe)throw'"'+o+'" is a built-in operator name';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var ne=p(te,(function(e,t){function n(e){return!e||e instanceof H||e instanceof Ee}e.init=function(e){return t.init.call(this,this.letter=e)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments);var n=e.options.autoCommands,r=n._maxLength;if(r>0){for(var i="",a=this,o=0;a instanceof ne&&a.ctrlSeq===a.letter&&o<r;)i=a.letter+i,a=a[h],o+=1;for(;i.length;){if(n.hasOwnProperty(i)){for(o=1,a=this;o<i.length;o+=1,a=a[h]);return I(a,this).remove(),e[h]=a[h],x[i](i).createLeftOf(e)}i=i.slice(1)}}},e.italicize=function(e){return this.isItalic=e,this.isPartOfOperator=!e,this.jQ.toggleClass("mq-operator-name",!e),this},e.finalizeTree=e.siblingDeleted=e.siblingCreated=function(e,t){t!==h&&this[1]instanceof ne||this.autoUnItalicize(e)},e.autoUnItalicize=function(e){var t=e.autoOperatorNames;if(0!==t._maxLength){for(var r=this.letter,a=this[h];a instanceof ne;a=a[h])r=a.letter+r;for(var o=this[1];o instanceof ne;o=o[1])r+=o.letter;I(a[1]||this.parent.ends[h],o[h]||this.parent.ends[1]).each((function(e){e.italicize(!0).jQ.removeClass("mq-first mq-last mq-followed-by-supsub"),e.ctrlSeq=e.letter}));e:for(var s=0,l=a[1]||this.parent.ends[h];s<r.length;s+=1,l=l[1])for(var c=i(t._maxLength,r.length-s);c>0;c-=1){var u=r.slice(s,s+c);if(t.hasOwnProperty(u)){for(var d=0,f=l;d<c;d+=1,f=f[1]){f.italicize(!1);var p=f}var g=re.hasOwnProperty(u);if(l.ctrlSeq=(g?"\\":"\\operatorname{")+l.ctrlSeq,p.ctrlSeq+=g?" ":"}",ae.hasOwnProperty(u)&&p[h][h][h].jQ.addClass("mq-last"),n(l[h])||l.jQ.addClass("mq-first"),!n(p[1]))if(p[1]instanceof Ae){var m=p[1];(m.siblingCreated=m.siblingDeleted=function(){m.jQ.toggleClass("mq-after-operator-name",!(m[1]instanceof Oe))})()}else p.jQ.toggleClass("mq-last",!(p[1]instanceof Oe));s+=c-1,l=p;continue e}}}}})),re={},ie=E.p.autoOperatorNames={_maxLength:9},ae={limsup:1,liminf:1,projlim:1,injlim:1};!function(){for(var e="arg deg det dim exp gcd hom inf ker lg lim ln log max min sup limsup liminf injlim projlim Pr".split(" "),t=0;t<e.length;t+=1)re[e[t]]=ie[e[t]]=1;var n="sin cos tan arcsin arccos arctan sinh cosh tanh sec csc cot coth".split(" ");for(t=0;t<n.length;t+=1)re[n[t]]=1;var r="sin cos tan sec cosec csc cotan cot ctg".split(" ");for(t=0;t<r.length;t+=1)ie[r[t]]=ie["arc"+r[t]]=ie[r[t]+"h"]=ie["ar"+r[t]+"h"]=ie["arc"+r[t]+"h"]=1;var i="gcf hcf lcm proj span".split(" ");for(t=0;t<i.length;t+=1)ie[i[t]]=1}(),N.autoOperatorNames=function(e){if(!/^[a-z]+(?: [a-z]+)*$/i.test(e))throw'"'+e+'" not a space-delimited list of only letters';for(var t=e.split(" "),n={},r=0,i=0;i<t.length;i+=1){var o=t[i];if(o.length<2)throw'"'+o+'" not minimum length of 2';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var oe=p(Y,(function(e,t){e.init=function(e){this.ctrlSeq=e},e.createLeftOf=function(e){for(var t=this.ctrlSeq,n=0;n<t.length;n+=1)ne(t.charAt(n)).createLeftOf(e)},e.parser=function(){for(var e=this.ctrlSeq,t=V(),n=0;n<e.length;n+=1)ne(e.charAt(n)).adopt(t,t.ends[1],0);return U.succeed(t.children())}}));for(var se in ie)ie.hasOwnProperty(se)&&(x[se]=oe);x.operatorname=p(B,(function(e){e.createLeftOf=o,e.numBlocks=function(){return 1},e.parser=function(){return F.block.map((function(e){return e.children()}))}})),x.f=p(ne,(function(e,t){e.init=function(){Y.p.init.call(this,this.letter="f",'<var class="mq-f">f</var>')},e.italicize=function(e){return this.jQ.html("f").toggleClass("mq-f",e),t.italicize.apply(this,arguments)}})),x[" "]=x.space=d(W,"\\ ","&nbsp;"),x[","]=d(W,"{,}",","),x["'"]=x.prime=d(W,"'","&prime;"),x["″"]=x.dprime=d(W,"″","&Prime;"),x.backslash=d(W,"\\backslash ","\\"),w["\\"]||(w["\\"]=x.backslash),x.$=d(W,"\\$","$");var le=p(Y,(function(e,t){e.init=function(e,n){t.init.call(this,e,'<span class="mq-nonSymbola">'+(n||e)+"</span>")}}));x["@"]=le,x["#"]=d(le,"\\#","#"),x["&"]=d(le,"\\&","&amp;"),x["%"]=d(le,"\\%","%"),x.alpha=x.beta=x.gamma=x.delta=x.zeta=x.eta=x.theta=x.iota=x.kappa=x.mu=x.nu=x.xi=x.rho=x.sigma=x.tau=x.chi=x.psi=x.omega=p(te,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),x.phi=d(te,"\\phi ","&#981;"),x.phiv=x.varphi=d(te,"\\varphi ","&phi;"),x.epsilon=d(te,"\\epsilon ","&#1013;"),x.epsiv=x.varepsilon=d(te,"\\varepsilon ","&epsilon;"),x.piv=x.varpi=d(te,"\\varpi ","&piv;"),x.sigmaf=x.sigmav=x.varsigma=d(te,"\\varsigma ","&sigmaf;"),x.thetav=x.vartheta=x.thetasym=d(te,"\\vartheta ","&thetasym;"),x.upsilon=x.upsi=d(te,"\\upsilon ","&upsilon;"),x.gammad=x.Gammad=x.digamma=d(te,"\\digamma ","&#989;"),x.kappav=x.varkappa=d(te,"\\varkappa ","&#1008;"),x.rhov=x.varrho=d(te,"\\varrho ","&#1009;"),x.pi=x["π"]=d(le,"\\pi ","&pi;"),x.lambda=d(le,"\\lambda ","&lambda;"),x.Upsilon=x.Upsi=x.upsih=x.Upsih=d(Y,"\\Upsilon ",'<var style="font-family: serif">&upsih;</var>'),x.Gamma=x.Delta=x.Theta=x.Lambda=x.Xi=x.Pi=x.Sigma=x.Phi=x.Psi=x.Omega=x.forall=p(W,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}}));var ce=p(B,(function(e){e.init=function(e){this.latex=e},e.createLeftOf=function(e){var t=F.parse(this.latex);t.children().adopt(e.parent,e[h],e[1]),e[h]=t.ends[1],t.jQize().insertBefore(e.jQ),t.finalizeInsert(e.options,e),t.ends[1][1].siblingCreated&&t.ends[1][1].siblingCreated(e.options,h),t.ends[h][h].siblingCreated&&t.ends[h][h].siblingCreated(e.options,1),e.parent.bubble("reflow")},e.parser=function(){var e=F.parse(this.latex).children();return U.succeed(e)}}));x["⁰"]=d(ce,"^0"),x["¹"]=d(ce,"^1"),x["²"]=d(ce,"^2"),x["³"]=d(ce,"^3"),x["⁴"]=d(ce,"^4"),x["⁵"]=d(ce,"^5"),x["⁶"]=d(ce,"^6"),x["⁷"]=d(ce,"^7"),x["⁸"]=d(ce,"^8"),x["⁹"]=d(ce,"^9"),x["₀"]=d(ce,"_0"),x["₁"]=d(ce,"_1"),x["₂"]=d(ce,"_2"),x["₃"]=d(ce,"_3"),x["₄"]=d(ce,"_4"),x["₅"]=d(ce,"_5"),x["₆"]=d(ce,"_6"),x["₇"]=d(ce,"_7"),x["₈"]=d(ce,"_8"),x["₉"]=d(ce,"_9"),x["¼"]=d(ce,"\\frac14"),x["½"]=d(ce,"\\frac12"),x["¾"]=d(ce,"\\frac34");var ue=p(H,(function(e){e.init=W.prototype.init,e.contactWeld=e.siblingCreated=e.siblingDeleted=function(e,t){if(1!==t)return this.jQ[0].className=function e(t){return t[h]?t[h]instanceof H||/^[,;:\(\[]$/.test(t[h].ctrlSeq)?"":"mq-binary-operator":t.parent&&t.parent.parent&&t.parent.parent.isStyleBlock()?e(t.parent.parent):""}(this),this}}));x["+"]=d(ue,"+","+"),x["–"]=x["-"]=d(ue,"-","&minus;"),x["±"]=x.pm=x.plusmn=x.plusminus=d(ue,"\\pm ","&plusmn;"),x.mp=x.mnplus=x.minusplus=d(ue,"\\mp ","&#8723;"),w["*"]=x.sdot=x.cdot=d(H,"\\cdot ","&middot;","*");var de=p(H,(function(e,t){e.init=function(e,n){this.data=e,this.strict=n;var r=n?"Strict":"";t.init.call(this,e["ctrlSeq"+r],e["html"+r],e["text"+r])},e.swap=function(e){this.strict=e;var t=e?"Strict":"";this.ctrlSeq=this.data["ctrlSeq"+t],this.jQ.html(this.data["html"+t]),this.textTemplate=[this.data["text"+t]]},e.deleteTowards=function(e,n){if(e===h&&!this.strict)return this.swap(!0),void this.bubble("reflow");t.deleteTowards.apply(this,arguments)}})),fe={ctrlSeq:"\\le ",html:"&le;",text:"≤",ctrlSeqStrict:"<",htmlStrict:"&lt;",textStrict:"<"},pe={ctrlSeq:"\\ge ",html:"&ge;",text:"≥",ctrlSeqStrict:">",htmlStrict:"&gt;",textStrict:">"};x["<"]=x.lt=d(de,fe,!0),x[">"]=x.gt=d(de,pe,!0),x["≤"]=x.le=x.leq=d(de,fe,!1),x["≥"]=x.ge=x.geq=d(de,pe,!1);var he=p(H,(function(e,t){e.init=function(){t.init.call(this,"=","=")},e.createLeftOf=function(e){if(e[h]instanceof de&&e[h].strict)return e[h].swap(!1),void e[h].bubble("reflow");t.createLeftOf.apply(this,arguments)}}));x["="]=he,x["×"]=x.times=d(H,"\\times ","&times;","[x]"),x["÷"]=x.div=x.divide=x.divides=d(H,"\\div ","&divide;","[/]"),w["~"]=x.sim=d(H,"\\sim ","~","~"),x.notin=x.cong=x.equiv=x.oplus=x.otimes=p(H,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),x["≠"]=x.ne=x.neq=d(H,"\\ne ","&ne;"),x["∗"]=x.ast=x.star=x.loast=x.lowast=d(H,"\\ast ","&lowast;"),x.therefor=x.therefore=d(H,"\\therefore ","&there4;"),x.cuz=x.because=d(H,"\\because ","&#8757;"),x.prop=x.propto=d(H,"\\propto ","&prop;"),x["≈"]=x.asymp=x.approx=d(H,"\\approx ","&asymp;"),x["≢"]=x.notequiv=x.nequiv=d(H,"\\not\\equiv ","&#8802;"),x.isin=x.in=d(H,"\\in ","&isin;"),x.ni=x.contains=d(H,"\\ni ","&ni;"),x.notni=x.niton=x.notcontains=x.doesnotcontain=d(H,"\\not\\ni ","&#8716;"),x.sub=x.subset=d(H,"\\subset ","&sub;"),x.sup=x.supset=x.superset=d(H,"\\supset ","&sup;"),x.nsub=x.notsub=x.nsubset=x.notsubset=d(H,"\\not\\subset ","&#8836;"),x.nsup=x.notsup=x.nsupset=x.notsupset=x.nsuperset=x.notsuperset=d(H,"\\not\\supset ","&#8837;"),x.sube=x.subeq=x.subsete=x.subseteq=d(H,"\\subseteq ","&sube;"),x.supe=x.supeq=x.supsete=x.supseteq=x.supersete=x.superseteq=d(H,"\\supseteq ","&supe;"),x.nsube=x.nsubeq=x.notsube=x.notsubeq=x.nsubsete=x.nsubseteq=x.notsubsete=x.notsubseteq=d(H,"\\not\\subseteq ","&#8840;"),x.nsupe=x.nsupeq=x.notsupe=x.notsupeq=x.nsupsete=x.nsupseteq=x.notsupsete=x.notsupseteq=x.nsupersete=x.nsuperseteq=x.notsupersete=x.notsuperseteq=d(H,"\\not\\supseteq ","&#8841;"),x.N=x.naturals=x.Naturals=d(W,"\\mathbb{N}","&#8469;"),x.P=x.primes=x.Primes=x.projective=x.Projective=x.probability=x.Probability=d(W,"\\mathbb{P}","&#8473;"),x.Z=x.integers=x.Integers=d(W,"\\mathbb{Z}","&#8484;"),x.Q=x.rationals=x.Rationals=d(W,"\\mathbb{Q}","&#8474;"),x.R=x.reals=x.Reals=d(W,"\\mathbb{R}","&#8477;"),x.C=x.complex=x.Complex=x.complexes=x.Complexes=x.complexplane=x.Complexplane=x.ComplexPlane=d(W,"\\mathbb{C}","&#8450;"),x.H=x.Hamiltonian=x.quaternions=x.Quaternions=d(W,"\\mathbb{H}","&#8461;"),x.quad=x.emsp=d(W,"\\quad "," "),x.qquad=d(W,"\\qquad "," "),x.diamond=d(W,"\\diamond ","&#9671;"),x.bigtriangleup=d(W,"\\bigtriangleup ","&#9651;"),x.ominus=d(W,"\\ominus ","&#8854;"),x.uplus=d(W,"\\uplus ","&#8846;"),x.bigtriangledown=d(W,"\\bigtriangledown ","&#9661;"),x.sqcap=d(W,"\\sqcap ","&#8851;"),x.triangleleft=d(W,"\\triangleleft ","&#8882;"),x.sqcup=d(W,"\\sqcup ","&#8852;"),x.triangleright=d(W,"\\triangleright ","&#8883;"),x.odot=x.circledot=d(W,"\\odot ","&#8857;"),x.bigcirc=d(W,"\\bigcirc ","&#9711;"),x.dagger=d(W,"\\dagger ","&#0134;"),x.ddagger=d(W,"\\ddagger ","&#135;"),x.wr=d(W,"\\wr ","&#8768;"),x.amalg=d(W,"\\amalg ","&#8720;"),x.models=d(W,"\\models ","&#8872;"),x.prec=d(W,"\\prec ","&#8826;"),x.succ=d(W,"\\succ ","&#8827;"),x.preceq=d(W,"\\preceq ","&#8828;"),x.succeq=d(W,"\\succeq ","&#8829;"),x.simeq=d(W,"\\simeq ","&#8771;"),x.mid=d(W,"\\mid ","&#8739;"),x.nmid=d(W,"\\nmid","&#8740;"),x.ll=d(W,"\\ll ","&#8810;"),x.gg=d(W,"\\gg ","&#8811;"),x.parallel=d(W,"\\parallel ","&#8741;"),x.nparallel=d(W,"\\nparallel ","&#8742;"),x.bowtie=d(W,"\\bowtie ","&#8904;"),x.sqsubset=d(W,"\\sqsubset ","&#8847;"),x.sqsupset=d(W,"\\sqsupset ","&#8848;"),x.smile=d(W,"\\smile ","&#8995;"),x.sqsubseteq=d(W,"\\sqsubseteq ","&#8849;"),x.sqsupseteq=d(W,"\\sqsupseteq ","&#8850;"),x.doteq=d(W,"\\doteq ","&#8784;"),x.frown=d(W,"\\frown ","&#8994;"),x.vdash=d(W,"\\vdash ","&#8870;"),x.dashv=d(W,"\\dashv ","&#8867;"),x.nless=d(W,"\\nless ","&#8814;"),x.ngtr=d(W,"\\ngtr ","&#8815;"),x.longleftarrow=d(W,"\\longleftarrow ","&#8592;"),x.longrightarrow=d(W,"\\longrightarrow ","&#8594;"),x.Longleftarrow=d(W,"\\Longleftarrow ","&#8656;"),x.Longrightarrow=d(W,"\\Longrightarrow ","&#8658;"),x.longleftrightarrow=d(W,"\\longleftrightarrow ","&#8596;"),x.updownarrow=d(W,"\\updownarrow ","&#8597;"),x.Longleftrightarrow=d(W,"\\Longleftrightarrow ","&#8660;"),x.Updownarrow=d(W,"\\Updownarrow ","&#8661;"),x.mapsto=d(W,"\\mapsto ","&#8614;"),x.nearrow=d(W,"\\nearrow ","&#8599;"),x.hookleftarrow=d(W,"\\hookleftarrow ","&#8617;"),x.hookrightarrow=d(W,"\\hookrightarrow ","&#8618;"),x.searrow=d(W,"\\searrow ","&#8600;"),x.leftharpoonup=d(W,"\\leftharpoonup ","&#8636;"),x.rightharpoonup=d(W,"\\rightharpoonup ","&#8640;"),x.swarrow=d(W,"\\swarrow ","&#8601;"),x.leftharpoondown=d(W,"\\leftharpoondown ","&#8637;"),x.rightharpoondown=d(W,"\\rightharpoondown ","&#8641;"),x.nwarrow=d(W,"\\nwarrow ","&#8598;"),x.ldots=d(W,"\\ldots ","&#8230;"),x.cdots=d(W,"\\cdots ","&#8943;"),x.vdots=d(W,"\\vdots ","&#8942;"),x.ddots=d(W,"\\ddots ","&#8945;"),x.surd=d(W,"\\surd ","&#8730;"),x.triangle=d(W,"\\triangle ","&#9651;"),x.ell=d(W,"\\ell ","&#8467;"),x.top=d(W,"\\top ","&#8868;"),x.flat=d(W,"\\flat ","&#9837;"),x.natural=d(W,"\\natural ","&#9838;"),x.sharp=d(W,"\\sharp ","&#9839;"),x.wp=d(W,"\\wp ","&#8472;"),x.bot=d(W,"\\bot ","&#8869;"),x.clubsuit=d(W,"\\clubsuit ","&#9827;"),x.diamondsuit=d(W,"\\diamondsuit ","&#9826;"),x.heartsuit=d(W,"\\heartsuit ","&#9825;"),x.spadesuit=d(W,"\\spadesuit ","&#9824;"),x.parallelogram=d(W,"\\parallelogram ","&#9649;"),x.square=d(W,"\\square ","&#11036;"),x.oint=d(W,"\\oint ","&#8750;"),x.bigcap=d(W,"\\bigcap ","&#8745;"),x.bigcup=d(W,"\\bigcup ","&#8746;"),x.bigsqcup=d(W,"\\bigsqcup ","&#8852;"),x.bigvee=d(W,"\\bigvee ","&#8744;"),x.bigwedge=d(W,"\\bigwedge ","&#8743;"),x.bigodot=d(W,"\\bigodot ","&#8857;"),x.bigotimes=d(W,"\\bigotimes ","&#8855;"),x.bigoplus=d(W,"\\bigoplus ","&#8853;"),x.biguplus=d(W,"\\biguplus ","&#8846;"),x.lfloor=d(W,"\\lfloor ","&#8970;"),x.rfloor=d(W,"\\rfloor ","&#8971;"),x.lceil=d(W,"\\lceil ","&#8968;"),x.rceil=d(W,"\\rceil ","&#8969;"),x.opencurlybrace=x.lbrace=d(W,"\\lbrace ","{"),x.closecurlybrace=x.rbrace=d(W,"\\rbrace ","}"),x.lbrack=d(W,"["),x.rbrack=d(W,"]"),x.slash=d(W,"/"),x.vert=d(W,"|"),x.perp=x.perpendicular=d(W,"\\perp ","&perp;"),x.nabla=x.del=d(W,"\\nabla ","&nabla;"),x.hbar=d(W,"\\hbar ","&#8463;"),x.AA=x.Angstrom=x.angstrom=d(W,"\\text\\AA ","&#8491;"),x.ring=x.circ=x.circle=d(W,"\\circ ","&#8728;"),x.bull=x.bullet=d(W,"\\bullet ","&bull;"),x.setminus=x.smallsetminus=d(W,"\\setminus ","&#8726;"),x["¬"]=x.neg=d(W,"\\neg ","&not;"),x.not=p(W,(function(e,t){e.suffixes={"\\equiv":"notequiv","\\ni":"notni","\\subset":"notsubset","\\subseteq":"notsubseteq","\\supset":"notsupset","\\supseteq":"notsupseteq"},e.init=function(){return t.init.call(this,"\\neg ","&not;")},e.parser=function(){var t=U.succeed,n=U.optWhitespace;return function e(t){var n=U.string(t.shift());return t.length?n.or(e(t)):n}(Object.keys(e.suffixes).sort((function(e,t){return t.length-e.length}))).then((function(r){return n.then(t(x[e.suffixes[r]]()))})).or(n.then(t(this)))}})),x["…"]=x.dots=x.ellip=x.hellip=x.ellipsis=x.hellipsis=d(W,"\\dots ","&hellip;"),x.converges=x.darr=x.dnarr=x.dnarrow=x.downarrow=d(W,"\\downarrow ","&darr;"),x.dArr=x.dnArr=x.dnArrow=x.Downarrow=d(W,"\\Downarrow ","&dArr;"),x.diverges=x.uarr=x.uparrow=d(W,"\\uparrow ","&uarr;"),x.uArr=x.Uparrow=d(W,"\\Uparrow ","&uArr;"),x.to=d(H,"\\to ","&rarr;"),x.rarr=x.rightarrow=d(W,"\\rightarrow ","&rarr;"),x.implies=d(H,"\\Rightarrow ","&rArr;"),x.rArr=x.Rightarrow=d(W,"\\Rightarrow ","&rArr;"),x.gets=d(H,"\\gets ","&larr;"),x.larr=x.leftarrow=d(W,"\\leftarrow ","&larr;"),x.impliedby=d(H,"\\Leftarrow ","&lArr;"),x.lArr=x.Leftarrow=d(W,"\\Leftarrow ","&lArr;"),x.harr=x.lrarr=x.leftrightarrow=d(W,"\\leftrightarrow ","&harr;"),x.iff=d(H,"\\Leftrightarrow ","&hArr;"),x.hArr=x.lrArr=x.Leftrightarrow=d(W,"\\Leftrightarrow ","&hArr;"),x.Re=x.Real=x.real=d(W,"\\Re ","&real;"),x.Im=x.imag=x.image=x.imagin=x.imaginary=x.Imaginary=d(W,"\\Im ","&image;"),x.part=x.partial=d(W,"\\partial ","&part;"),x.infty=x.infin=x.infinity=d(W,"\\infty ","&infin;"),x.alef=x.alefsym=x.aleph=x.alephsym=d(W,"\\aleph ","&alefsym;"),x.xist=x.xists=x.exist=x.exists=d(W,"\\exists ","&exist;"),x.nexists=x.nexist=d(W,"\\nexists ","&#8708;"),x.and=x.land=x.wedge=d(H,"\\wedge ","&and;"),x.or=x.lor=x.vee=d(H,"\\vee ","&or;"),x.o=x.O=x.empty=x.emptyset=x.oslash=x.Oslash=x.nothing=x.varnothing=d(H,"\\varnothing ","&empty;"),x.cup=x.union=d(H,"\\cup ","&cup;"),x.cap=x.intersect=x.intersection=d(H,"\\cap ","&cap;"),x.deg=x.degree=d(W,"\\degree ","&deg;"),x.ang=x.angle=d(W,"\\angle ","&ang;"),x.measuredangle=d(W,"\\measuredangle ","&#8737;"),x.sphericalangle=d(W,"\\sphericalangle ","&#8738;");var ge,me,ye=o,ve=document.createElement("div").style;for(var be in{transform:1,WebkitTransform:1,MozTransform:1,OTransform:1,msTransform:1})if(be in ve){me=be;break}me?ge=function(e,t,n){e.css(me,"scale("+t+","+n+")")}:"filter"in ve?(ye=function(e){e.className=e.className},ge=function(e,t,n){t/=1+(n-1)/2,e.css("fontSize",n+"em"),e.hasClass("mq-matrixed-container")||e.addClass("mq-matrixed-container").wrapInner('<span class="mq-matrixed"></span>');var r=e.children().css("filter","progid:DXImageTransform.Microsoft.Matrix(M11="+t+",SizingMethod='auto expand')");function i(){e.css("marginRight",(r.width()-1)*(t-1)/t+"px")}i();var a=setInterval(i);m(window).load((function(){clearTimeout(a),i()}))}):ge=function(e,t,n){e.css("fontSize",n+"em")};var Ie=p(B,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,"<"+n+" "+r+">&0</"+n+">")}})),xe=p(te,(function(e,t){e.symbols={C:"&#8450;",H:"&#8461;",N:"&#8469;",P:"&#8473;",Q:"&#8474;",R:"&#8477;",Z:"&#8484;"},e.init=function(e){var n=e;this.symbols[e]&&(n='<span class="mq-original">'+e+"</span>"+this.symbols[e]),t.init.call(this,e,n)}}));x.mathrm=d(Ie,"\\mathrm","span",'class="mq-roman mq-font"'),x.mathit=d(Ie,"\\mathit","i",'class="mq-font"'),x.mathbf=d(Ie,"\\mathbf","b",'class="mq-font"'),x.mathsf=d(Ie,"\\mathsf","span",'class="mq-sans-serif mq-font"'),x.mathtt=d(Ie,"\\mathtt","span",'class="mq-monospace mq-font"'),x.mathbb=p(B,(function(e,t){e.init=function(){t.init.call(this,"\\mathbb",'<span class="mq-mathbb mq-font">&0</span>')},e.adopt=function(){return this.eachChild((function(e){if(!e.writeOverride){var t=e.write,n=e.deleteOutOf;e.write=e.writeOverride=function(n,r,i){var a;if(!xe.prototype.symbols[r])return t.apply(e,arguments);a=xe(r),i&&a.replaces(i),a.createLeftOf(n)},e.deleteOutOf=function(t,r){var i=[];return e.eachChild((function(t){var n=t.ctrlSeq;i.push(te(n).adopt(e,e.ends[1],0)),t.remove()})),i.length&&(r[1]=i[0]),e.jQize().appendTo(e.jQ),n.apply(e,arguments)}}})),t.adopt.apply(this,arguments)},e.finalizeTree=function(){this.eachChild((function(e){e.eachChild((function(t){var n=t.ctrlSeq,r=te;xe.prototype.symbols[n]&&(r=xe),r(n).adopt(e,e.ends[1],0),t.remove()})),e.jQize().appendTo(e.jQ)}))}})),x.underline=d(Ie,"\\underline","span",'class="mq-non-leaf mq-underline"'),x.overline=x.bar=d(Ie,"\\overline","span",'class="mq-non-leaf mq-overline"');var we=p(B,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span "+n+'><span class="mq-arrow-inner">&0</span></span>')}}));x.overrightarrow=d(we,"\\overrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-right"'),x.overleftarrow=d(we,"\\overleftarrow",'class="mq-non-leaf mq-overarrow mq-arrow-left"'),x.overleftrightarrow=d(we,"\\overleftrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-leftright"'),x.underrightarrow=d(we,"\\underrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-right"'),x.underleftarrow=d(we,"\\underleftarrow",'class="mq-non-leaf mq-underarrow mq-arrow-left"'),x.underleftrightarrow=d(we,"\\underleftrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-leftright"');var Te=p(B,(function(e,t){e.ctrlSeq="\\xrightleftharpoons",e.htmlTemplate='<span class="mq-harpoons mq-harpoons-rightleft mq-non-leaf"><span class="mq-harpoons-numerator">&0</span><span class="mq-harpoons-harpoons">&#x21cc;</span></span>'})),Me=x.xrightleftharpoons=p(Te,(function(e,t){e.ctrlSeq="\\xrightleftharpoons",e.htmlTemplate='<span class="mq-harpoons mq-harpoons-rightleft mq-non-leaf"><span class="mq-harpoons-numerator">&1</span><span class="mq-harpoons-harpoons">&#x21cc;</span><span class="mq-harpoons-denominator">&0</span></span>',e.parser=function(){return F.optBlock.then((function(e){return F.block.map((function(t){var n=Me();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(F.block.map((function(e){var t=Te();return t.blocks=[e],e.adopt(t,0,0),t})))},e.latex=function(){return this.ctrlSeq+"["+this.ends[h].latex()+"]{"+this.ends[1].latex()+"}"}}));x.overarc=d(Ie,"\\overarc","span",'class="mq-non-leaf mq-overarc"'),x.dot=p(B,(function(e,t){e.init=function(){t.init.call(this,"\\dot",'<span class="mq-non-leaf"><span class="mq-dot-recurring-inner"><span class="mq-dot-recurring">&#x2d9;</span><span class="mq-empty-box">&0</span></span></span>')}}));x.textcolor=p(B,(function(e,t){e.setColor=function(e){this.color=e,this.htmlTemplate='<span class="mq-textcolor" style="color:'+e+'">&0</span>'},e.latex=function(){return"\\textcolor{"+this.color+"}{"+this.blocks[0].latex()+"}"},e.parser=function(){var e=this,n=U.optWhitespace,r=U.string,i=U.regex;return n.then(r("{")).then(i(/^[#\w\s.,()%-]*/)).skip(r("}")).then((function(n){return e.setColor(n),t.parser.call(e)}))},e.isStyleBlock=function(){return!0}})),x.class=p(B,(function(e,t){e.parser=function(){var e=this,n=U.string,r=U.regex;return U.optWhitespace.then(n("{")).then(r(/^[-\w\s\\\xA0-\xFF]*/)).skip(n("}")).then((function(n){return e.cls=n||"",e.htmlTemplate='<span class="mq-class '+n+'">&0</span>',t.parser.call(e)}))},e.latex=function(){return"\\class{"+this.cls+"}{"+this.blocks[0].latex()+"}"},e.isStyleBlock=function(){return!0}}));var Ae=p(B,(function(e,t){e.ctrlSeq="_{...}^{...}",e.createLeftOf=function(e){if(this.replacedFragment||e[h]||!e.options.supSubsRequireOperand)return t.createLeftOf.apply(this,arguments)},e.contactWeld=function(e){for(var t=h;t;t=t===h&&1)if(this[t]instanceof Ae){for(var n="sub";n;n="sub"===n&&"sup"){var r=this[n],i=this[t][n];if(r){if(i)if(r.isEmpty())o=y(i,0,i.ends[h]);else{r.jQ.children().insAtDirEnd(-t,i.jQ);var a=r.children().disown(),o=y(i,a.ends[1],i.ends[h]);t===h?a.adopt(i,i.ends[1],0):a.adopt(i,0,i.ends[h])}else this[t].addBlock(r.disown());this.placeCursor=function(e,n){return function(r){r.insAtDirEnd(-t,e||n)}}(i,r)}}this.remove(),e&&e[h]===this&&(1===t&&o?o[h]?e.insRightOf(o[h]):e.insAtLeftEnd(o.parent):e.insRightOf(this[t]));break}},E.p.charsThatBreakOutOfSupSub="",e.finalizeTree=function(){this.ends[h].write=function(e,t){if(e.options.autoSubscriptNumerals&&this===this.parent.sub){if("_"===t)return;var n=this.chToCmd(t,e.options);return n instanceof Y?e.deleteSelection():e.clearSelection().insRightOf(this.parent),n.createLeftOf(e.show())}e[h]&&!e[1]&&!e.selection&&e.options.charsThatBreakOutOfSupSub.indexOf(t)>-1&&e.insRightOf(this.parent),V.p.write.apply(this,arguments)}},e.moveTowards=function(e,n,r){n.options.autoSubscriptNumerals&&!this.sup?n.insDirOf(e,this):t.moveTowards.apply(this,arguments)},e.deleteTowards=function(e,n){if(n.options.autoSubscriptNumerals&&this.sub){var r=this.sub.ends[-e];r instanceof Y?r.remove():r&&r.deleteTowards(e,n.insAtDirEnd(-e,this.sub)),this.sub.isEmpty()&&(this.sub.deleteOutOf(h,n.insAtLeftEnd(this.sub)),this.sup&&n.insDirOf(-e,this))}else t.deleteTowards.apply(this,arguments)},e.latex=function(){function e(e,t){var n=t&&t.latex();return t?e+(1===n.length?n:"{"+(n||" ")+"}"):""}return e("_",this.sub)+e("^",this.sup)},e.addBlock=function(e){"sub"===this.supsub?(this.sup=this.upInto=this.sub.upOutOf=e,e.adopt(this,this.sub,0).downOutOf=this.sub,e.jQ=m('<span class="mq-sup"/>').append(e.jQ.children()).attr(r,e.id).prependTo(this.jQ)):(this.sub=this.downInto=this.sup.downOutOf=e,e.adopt(this,0,this.sup).upOutOf=this.sup,e.jQ=m('<span class="mq-sub"></span>').append(e.jQ.children()).attr(r,e.id).appendTo(this.jQ.removeClass("mq-sup-only")),this.jQ.append('<span style="display:inline-block;width:0">&#8203;</span>'));for(var t=0;t<2;t+=1)!function(e,t,n,r){e[t].deleteOutOf=function(i,a){if(a.insDirOf(this[i]?-i:i,this.parent),!this.isEmpty()){var o=this.ends[i];this.children().disown().withDirAdopt(i,a.parent,a[i],a[-i]).jQ.insDirOf(-i,a.jQ),a[-i]=o}e.supsub=n,delete e[t],delete e[r+"Into"],e[n][r+"OutOf"]=Ce,delete e[n].deleteOutOf,"sub"===t&&m(e.jQ.addClass("mq-sup-only")[0].lastChild).remove(),this.remove()}}(this,"sub sup".split(" ")[t],"sup sub".split(" ")[t],"down up".split(" ")[t])}}));function Ce(e){var t=this.parent,n=e;do{if(n[1])return e.insLeftOf(t);n=n.parent.parent}while(n!==t);e.insRightOf(t)}x.subscript=x._=p(Ae,(function(e,t){e.supsub="sub",e.htmlTemplate='<span class="mq-supsub mq-non-leaf"><span class="mq-sub">&0</span><span style="display:inline-block;width:0">&#8203;</span></span>',e.textTemplate=["_"],e.finalizeTree=function(){this.downInto=this.sub=this.ends[h],this.sub.upOutOf=Ce,t.finalizeTree.call(this)}})),x.superscript=x.supscript=x["^"]=p(Ae,(function(e,t){e.supsub="sup",e.htmlTemplate='<span class="mq-supsub mq-non-leaf mq-sup-only"><span class="mq-sup">&0</span></span>',e.textTemplate=["^"],e.finalizeTree=function(){this.upInto=this.sup=this.ends[1],this.sup.downOutOf=Ce,t.finalizeTree.call(this)}}));var Ee=p(B,(function(e,t){e.init=function(e,t){var n='<span class="mq-large-operator mq-non-leaf"><span class="mq-to"><span>&1</span></span><big>'+t+'</big><span class="mq-from"><span>&0</span></span></span>';Y.prototype.init.call(this,e,n)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments),e.options.sumStartsWithNEquals&&(ne("n").createLeftOf(e),he().createLeftOf(e))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return this.ctrlSeq+"_"+e(this.ends[h].latex())+"^"+e(this.ends[1].latex())},e.parser=function(){for(var e=U.string,t=U.optWhitespace,n=U.succeed,r=F.block,i=this,a=i.blocks=[V(),V()],o=0;o<a.length;o+=1)a[o].adopt(i,i.ends[1],0);return t.then(e("_").or(e("^"))).then((function(e){var t=a["_"===e?0:1];return r.then((function(e){return e.children().adopt(t,t.ends[1],0),n(i)}))})).many().result(i)},e.finalizeTree=function(){this.downInto=this.ends[h],this.upInto=this.ends[1],this.ends[h].upOutOf=this.ends[1],this.ends[1].downOutOf=this.ends[h]}}));x["∑"]=x.sum=x.summation=d(Ee,"\\sum ","&sum;"),x["∏"]=x.prod=x.product=d(Ee,"\\prod ","&prod;"),x.coprod=x.coproduct=d(Ee,"\\coprod ","&#8720;"),x["∫"]=x.int=x.integral=p(Ee,(function(e,t){e.init=function(){Y.prototype.init.call(this,"\\int ",'<span class="mq-int mq-non-leaf"><big>&int;</big><span class="mq-supsub mq-non-leaf"><span class="mq-sup"><span class="mq-sup-inner">&1</span></span><span class="mq-sub">&0</span><span style="display:inline-block;width:0">&#8203</span></span></span>')},e.createLeftOf=B.p.createLeftOf})),x.bigg=x.intsub=x.integralsubstitution=p(Ee,(function(e,t){e.init=function(){Y.prototype.init.call(this,"\\bigg",'<span class="mq-intsub mq-non-leaf"><big>/</big><span class="mq-supsub mq-non-leaf"><span class="mq-sup"><span class="mq-sup-inner">&1</span></span><span class="mq-sub">&0</span><span style="display:inline-block;width:0">&#8203</span></span></span>')},e.createLeftOf=B.p.createLeftOf,e.parser=function(){var e=this,t=U.string,n=U.optWhitespace,r=U.succeed;e.blocks=[V(),V()];for(var i=0;i<e.blocks.length;i+=1)e.blocks[i].adopt(e,e.ends[1],0);return t("/_{").then(t("\\!").many()).then(F).then((function(t){return t.children().adopt(e.blocks[0],e.blocks[0].ends[1],0),r(e)})).then(n).then(t("}")).then(n).then(t("^")).then(F.block).then((function(t){return t.children().adopt(e.blocks[1],e.blocks[1].ends[1],0),r(e)}))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return"\\bigg/_{\\!\\!\\!\\!\\!"+e(this.blocks[0].latex())+"}^"+e(this.blocks[1].latex())}}));var Ne=x.frac=x.dfrac=x.cfrac=x.fraction=p(B,(function(e,t){e.ctrlSeq="\\frac",e.htmlTemplate='<span class="mq-fraction mq-non-leaf"><span class="mq-numerator">&0</span><span class="mq-denominator">&1</span><span style="display:inline-block;width:0">&#8203;</span></span>',e.textTemplate=["(",")/(",")"],e.finalizeTree=function(){this.upInto=this.ends[1].upOutOf=this.ends[h],this.downInto=this.ends[h].downOutOf=this.ends[1]}})),Se=x.over=w["/"]=p(Ne,(function(e,t){e.createLeftOf=function(e){if(!this.replacedFragment){for(var n=e[h];n&&!(n instanceof H||n instanceof(x.text||o)||n instanceof Ee||"\\ "===n.ctrlSeq||/^[,;:]$/.test(n.ctrlSeq));)n=n[h];n instanceof Ee&&n[1]instanceof Ae&&(n=n[1])[1]instanceof Ae&&n[1].ctrlSeq!=n.ctrlSeq&&(n=n[1]),n!==e[h]&&(this.replaces(I(n[1]||e.parent.ends[h],e[h])),e[h]=n)}t.createLeftOf.call(this,e)}})),ke=x.sqrt=x["√"]=p(B,(function(e,t){e.ctrlSeq="\\sqrt",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-scaled mq-sqrt-prefix">&radic;</span><span class="mq-non-leaf mq-sqrt-stem">&0</span></span>',e.textTemplate=["sqrt(",")"],e.parser=function(){return F.optBlock.then((function(e){return F.block.map((function(t){var n=je();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(t.parser.call(this))},e.reflow=function(){var e=this.ends[1].jQ;ge(e.prev(),1,e.innerHeight()/+e.css("fontSize").slice(0,-2)-.1)}})),je=(x.hat=p(B,(function(e,t){e.ctrlSeq="\\hat",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-hat-prefix">^</span><span class="mq-hat-stem">&0</span></span>',e.textTemplate=["hat(",")"]})),x.nthroot=p(ke,(function(e,t){e.htmlTemplate='<span class="mq-nthroot mq-non-leaf">&0</span><span class="mq-scaled"><span class="mq-sqrt-prefix mq-scaled">&radic;</span><span class="mq-sqrt-stem mq-non-leaf">&1</span></span>',e.textTemplate=["sqrt[","](",")"],e.latex=function(){return"\\sqrt["+this.ends[h].latex()+"]{"+this.ends[1].latex()+"}"}}))),De=p(B,(function(e,t){e.init=function(e,n,r){var i='<span class="mq-non-leaf"><span class="mq-diacritic-above">'+n+'</span><span class="mq-diacritic-stem">&0</span></span>';t.init.call(this,e,i,r)}}));function Le(e,t){e.jQadd=function(){t.jQadd.apply(this,arguments),this.delimjQs=this.jQ.children(":first").add(this.jQ.children(":last")),this.contentjQ=this.jQ.children(":eq(1)")},e.reflow=function(){var e=this.contentjQ.outerHeight()/parseFloat(this.contentjQ.css("fontSize"));ge(this.delimjQs,i(1+.2*(e-1),1.2),1.2*e)}}x.vec=d(De,"\\vec","&rarr;",["vec(",")"]),x.tilde=d(De,"\\tilde","~",["tilde(",")"]);var Oe=p(p(B,Le),(function(e,t){e.init=function(e,n,r,i,a){t.init.call(this,"\\left"+i,void 0,[n,r]),this.side=e,this.sides={},this.sides[h]={ch:n,ctrlSeq:i},this.sides[1]={ch:r,ctrlSeq:a}},e.numBlocks=function(){return 1},e.html=function(){return this.htmlTemplate='<span class="mq-non-leaf"><span class="mq-scaled mq-paren'+(1===this.side?" mq-ghost":"")+'">'+this.sides[h].ch+'</span><span class="mq-non-leaf">&0</span><span class="mq-scaled mq-paren'+(this.side===h?" mq-ghost":"")+'">'+this.sides[1].ch+"</span></span>",t.html.call(this)},e.latex=function(){return"\\left"+this.sides[h].ctrlSeq+this.ends[h].latex()+"\\right"+this.sides[1].ctrlSeq},e.matchBrack=function(e,t,n){return n instanceof Oe&&n.side&&n.side!==-t&&(!e.restrictMismatchedBrackets||Pe[this.sides[this.side].ch]===n.sides[n.side].ch||{"(":"]","[":")"}[this.sides[h].ch]===n.sides[1].ch)&&n},e.closeOpposing=function(e){e.side=0,e.sides[this.side]=this.sides[this.side],e.delimjQs.eq(this.side===h?0:1).removeClass("mq-ghost").html(this.sides[this.side].ch)},e.createLeftOf=function(e){if(!this.replacedFragment){var n=e.options;if("|"===this.sides[h].ch)var r=this.matchBrack(n,1,e[1])||this.matchBrack(n,h,e[h])||this.matchBrack(n,0,e.parent.parent);else r=this.matchBrack(n,-this.side,e[-this.side])||this.matchBrack(n,-this.side,e.parent.parent)}if(r){var i=this.side=-r.side;this.closeOpposing(r),r===e.parent.parent&&e[i]&&I(e[i],e.parent.ends[i],-i).disown().withDirAdopt(-i,r.parent,r,r[i]).jQ.insDirOf(i,r.jQ),r.bubble("reflow")}else i=(r=this).side,r.replacedFragment?r.side=0:e[-i]&&(r.replaces(I(e[-i],e.parent.ends[-i],i)),e[-i]=0),t.createLeftOf.call(r,e);i===h?e.insAtLeftEnd(r.ends[h]):e.insRightOf(r)},e.placeCursor=o,e.unwrap=function(){this.ends[h].children().disown().adopt(this.parent,this,this[1]).jQ.insertAfter(this.jQ),this.remove()},e.deleteSide=function(e,t,n){var r=this.parent,i=this[e],a=r.ends[e];if(e===this.side)return this.unwrap(),void(i?n.insDirOf(-e,i):n.insAtDirEnd(e,r));var o=n.options,s=!this.side;if(this.side=-e,this.matchBrack(o,e,this.ends[h].ends[this.side])){this.closeOpposing(this.ends[h].ends[this.side]);var l=this.ends[h].ends[e];this.unwrap(),l.siblingCreated&&l.siblingCreated(n.options,e),i?n.insDirOf(-e,i):n.insAtDirEnd(e,r)}else{if(this.matchBrack(o,e,this.parent.parent))this.parent.parent.closeOpposing(this),this.parent.parent.unwrap();else{if(t&&s)return this.unwrap(),void(i?n.insDirOf(-e,i):n.insAtDirEnd(e,r));this.sides[e]={ch:Pe[this.sides[this.side].ch],ctrlSeq:Pe[this.sides[this.side].ctrlSeq]},this.delimjQs.removeClass("mq-ghost").eq(e===h?0:1).addClass("mq-ghost").html(this.sides[e].ch)}if(i){l=this.ends[h].ends[e];I(i,a,-e).disown().withDirAdopt(-e,this.ends[h],l,0).jQ.insAtDirEnd(e,this.ends[h].jQ.removeClass("mq-empty")),l.siblingCreated&&l.siblingCreated(n.options,e),n.insDirOf(-e,i)}else t?n.insDirOf(e,this):n.insAtDirEnd(e,this.ends[h])}},e.deleteTowards=function(e,t){this.deleteSide(-e,!1,t)},e.finalizeTree=function(){this.ends[h].deleteOutOf=function(e,t){this.parent.deleteSide(e,!0,t)},this.finalizeTree=this.intentionalBlur=function(){this.delimjQs.eq(this.side===h?1:0).removeClass("mq-ghost"),this.side=0}},e.siblingCreated=function(e,t){t===-this.side&&this.finalizeTree()}})),Pe={"(":")",")":"(","[":"]","]":"[","{":"}","}":"{","\\{":"\\}","\\}":"\\{","&lang;":"&rang;","&rang;":"&lang;","\\langle ":"\\rangle ","\\rangle ":"\\langle ","|":"|","\\lVert ":"\\rVert ","\\rVert ":"\\lVert "};function Re(e,t){t=t||e;var n=Pe[e],r=Pe[t];w[e]=d(Oe,h,e,n,t,r),w[n]=d(Oe,1,e,n,t,r)}Re("("),Re("["),Re("{","\\{"),x.langle=d(Oe,h,"&lang;","&rang;","\\langle ","\\rangle "),x.rangle=d(Oe,1,"&lang;","&rang;","\\langle ","\\rangle "),w["|"]=d(Oe,h,"|","|","|","|"),x.lVert=d(Oe,h,"&#8741;","&#8741;","\\lVert ","\\rVert "),x.rVert=d(Oe,1,"&#8741;","&#8741;","\\lVert ","\\rVert "),x.left=p(B,(function(e){e.parser=function(){var e=U.regex,t=U.string,n=(U.succeed,U.optWhitespace);return n.then(e(/^(?:[([|]|\\\{|\\langle\b|\\lVert\b)/)).then((function(r){var i="\\"===r.charAt(0)?r.slice(1):r;return"\\langle"==r&&(i="&lang;",r+=" "),"\\lVert"==r&&(i="&#8741;",r+=" "),F.then((function(a){return t("\\right").skip(n).then(e(/^(?:[\])|]|\\\}|\\rangle\b|\\rVert\b)/)).map((function(e){var t="\\"===e.charAt(0)?e.slice(1):e;"\\rangle"==e&&(t="&rang;",e+=" "),"\\rVert"==e&&(t="&#8741;",e+=" ");var n=Oe(0,i,t,r,e);return n.blocks=[a],a.adopt(n,0,0),n}))}))}))}})),x.right=p(B,(function(e){e.parser=function(){return U.fail("unmatched \\right")}}));var ze=x.binom=x.binomial=p(p(B,Le),(function(e,t){e.ctrlSeq="\\binom",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-paren mq-scaled">(</span><span class="mq-non-leaf"><span class="mq-array mq-non-leaf"><span>&0</span><span>&1</span></span></span><span class="mq-paren mq-scaled">)</span></span>',e.textTemplate=["choose(",",",")"]}));x.choose=p(ze,(function(e){e.createLeftOf=Se.prototype.createLeftOf}));x.editable=x.MathQuillMathField=p(B,(function(e,t){e.ctrlSeq="\\MathQuillMathField",e.htmlTemplate='<span class="mq-editable-field"><span class="mq-root-block">&0</span></span>',e.parser=function(){var e=this,n=U.string,r=U.regex,i=U.succeed;return n("[").then(r(/^[a-z][a-z0-9]*/i)).skip(n("]")).map((function(t){e.name=t})).or(i()).then(t.parser.call(e))},e.finalizeTree=function(e){var t=A(this.ends[h],this.jQ,e);t.KIND_OF_MQ="MathField",t.editable=!0,t.createTextarea(),t.editablesTextareaEvents(),t.cursor.insAtRightEnd(t.root),z(t.root)},e.registerInnerField=function(e,t){e.push(e[this.name]=t(this.ends[h].controller))},e.latex=function(){return this.ends[h].latex()},e.text=function(){return this.ends[h].text()}}));var _e=x.embed=p(Y,(function(e,t){e.setOptions=function(e){function t(){return""}return this.text=e.text||t,this.htmlTemplate=e.htmlString||"",this.latex=e.latex||t,this},e.parser=function(){var e=this,t=U.string,n=U.regex,r=U.succeed;return t("{").then(n(/^[a-z][a-z0-9]*/i)).skip(t("}")).then((function(i){return t("[").then(n(/^[-\w\s]*/)).skip(t("]")).or(r()).map((function(t){return e.setOptions(k[i](t))}))}))}})),Ue={};x.begin=p(B,(function(e,t){e.parser=function(){var e=U.string,t=U.regex;return e("{").then(t(/^[a-z]+/i)).skip(e("}")).then((function(t){return(Ue[t]?Ue[t]().parser():U.fail("unknown environment type: "+t)).skip(e("\\end{"+t+"}"))}))}}));var Ze=p(B,(function(e,t){e.template=[["\\begin{","}"],["\\end{","}"]],e.wrappers=function(){return[e.template[0].join(this.environment),e.template[1].join(this.environment)]}})),Fe=Ue.matrix=p(Ze,(function(e,t){var n="&",a="\\\\";e.parentheses={left:null,right:null},e.environment="matrix",e.reflow=function(){var e=this.jQ.children("table"),t=e.outerHeight()/+e.css("fontSize").slice(0,-2),n=this.jQ.children(".mq-paren");n.length&&ge(n,i(1+.2*(t-1),1.2),1.05*t)},e.latex=function(){var e,t=this.hline,r="";this.eachChild((function(i){void 0!==e&&(e!==i.row?(r+=a+"\n",t&&(r+="\\hline\n",t=!1)):r+=n),e=i.row,r+=i.latex()}));var i=this.options?"{"+this.options+"}":"";return this.wrappers().join(i+"\n"+r+"\n")},e.html=function(){var e,n=[],r="",i=0;function a(e){return e?'<span class="mq-scaled mq-paren">'+e+"</span>":""}return this.eachChild((function(t){e!==t.row&&(e=t.row,r+="<tr>$tds</tr>",n[e]=[]),n[e].push("<td>&"+i+++"</td>")})),this.htmlTemplate='<span class="mq-matrix mq-matrix-'+this.environment+' mq-non-leaf">'+a(this.parentheses.left)+'<table class="mq-non-leaf">'+r.replace(/\$tds/g,(function(){return n.shift().join("")}))+"</table>"+a(this.parentheses.right)+"</span>",t.html.call(this)},e.createBlocks=function(){this.blocks=[Ge(0,this),Ge(0,this),Ge(1,this),Ge(1,this)]},e.parser=function(){var e=this,t=U.optWhitespace,r=U.string;return(0,U.regex)(/^({[clr](\|?[clr])*})?/).then((function(t){return t&&!e.options&&(e.options=t.slice(1,-1)),U.succeed(e)})).then(t.then(r(n).or(r(a)).or(r("\\hline")).or(F.block)).many()).skip(t).then((function(t){var n=[],r=0;function i(){e.blocks.push(Ge(r,e,n)),n=[]}e.blocks=[];for(var o=0;o<t.length;o+=1)t[o]instanceof V?n.push(t[o]):"\\hline"===t[o]?e.hline=!0:(i(),t[o]===a&&(r+=1));return i(),e.autocorrect(),U.succeed(e)}))},e.finalizeTree=function(){var e=this.jQ.find("table");e.toggleClass("mq-rows-1",1===e.find("tr").length),this.relink()},e.relink=function(){for(var e,t,n,r=this.blocks,i=[],a=0;a<r.length;a+=1)e!==(n=r[a]).row&&(i[e=n.row]=[],t=0),i[e][t]=n,n[1]=r[a+1],n[h]=r[a-1],i[e-1]&&i[e-1][t]&&(n.upOutOf=i[e-1][t],i[e-1][t].downOutOf=n),t+=1;this.ends[h]=r[0],this.ends[1]=r[r.length-1]},e.autocorrect=function(e){var t,n,r,i,a,o=[],s=(e=[],this.blocks);for(a=0;a<s.length;a+=1)e[i=s[a].row]=e[i]||[],e[i].push(s[a]),o[i]=e[i].length;if((t=Math.max.apply(null,o))!==Math.min.apply(null,o)){for(a=0;a<e.length;a+=1)for(n=t-e[a].length;n;)r=t*a+e[a].length,s.splice(r,0,Ge(a,this)),n-=1;this.relink()}},e.deleteCell=function(e){var t,n,r=[],i=[],a=[],o=[],s=this.blocks;function l(e){for(var t=[],n=0;n<e.length;n+=1)e[n].isEmpty()&&t.push(e[n]);return t.length===e.length}function c(e){for(var t=0;t<e.length;t+=1)s.indexOf(e[t])>-1&&(e[t].remove(),s.splice(s.indexOf(e[t]),1))}this.eachChild((function(s){t!==s.row&&(t=s.row,r[t]=[],n=0),i[n]=i[n]||[],i[n].push(s),r[t].push(s),s===e&&(a=r[t],o=i[n]),n+=1})),l(a)&&o.length>1&&(t=r.indexOf(a),this.eachChild((function(e){e.row>t&&(e.row-=1)})),c(a),this.jQ.find("tr").eq(t).remove()),l(o)&&a.length>1&&c(o),this.finalizeTree()},e.addRow=function(e){var t,n=[],i=[],a=[],o=m("<tr></tr>"),s=e.row,l=0;this.eachChild((function(e){e.row<=s&&n.push(e),e.row===s&&(l+=1),e.row>s&&(e.row+=1,a.push(e))}));for(var c=0;c<l;c+=1)(t=Ge(s+1)).parent=this,i.push(t),t.jQ=m('<td class="mq-empty">').attr(r,t.id).appendTo(o);return this.jQ.find("tr").eq(s).after(o),this.blocks=n.concat(i,a),i[0]},e.addColumn=function(e){var t,n,i=[],a=[];this.eachChild((function(n){i[n.row]=i[n.row]||[],i[n.row].push(n),n===e&&(t=i[n.row].length)}));for(var o=0;o<i.length;o+=1)(n=Ge(o)).parent=this,a.push(n),i[o].splice(t,0,n),n.jQ=m('<td class="mq-empty">').attr(r,n.id);return this.jQ.find("tr").each((function(e){m(this).find("td").eq(t-1).after(i[e][t].jQ)})),this.blocks=[].concat.apply([],i),a[e.row]},e.insert=function(e,t){var n=this[e](t);this.cursor=this.cursor||this.parent.cursor,this.finalizeTree(),this.bubble("reflow").cursor.insAtRightEnd(n)},e.backspace=function(e,t,n,r){var i=e[t];if(e.isEmpty()){for(this.deleteCell(e);i&&i[t]&&-1===this.blocks.indexOf(i);)i=i[t];i&&n.insAtDirEnd(-t,i),1===this.blocks.length&&this.blocks[0].isEmpty()&&(r(),this.finalizeTree()),this.bubble("edited")}}}));Ue.pmatrix=p(Fe,(function(e,t){e.environment="pmatrix",e.parentheses={left:"(",right:")"}})),Ue.bmatrix=p(Fe,(function(e,t){e.environment="bmatrix",e.parentheses={left:"[",right:"]"}})),Ue.Bmatrix=p(Fe,(function(e,t){e.environment="Bmatrix",e.parentheses={left:"{",right:"}"}})),Ue.vmatrix=p(Fe,(function(e,t){e.environment="vmatrix",e.parentheses={left:"|",right:"|"}})),Ue.Vmatrix=p(Fe,(function(e,t){e.environment="Vmatrix",e.parentheses={left:"&#8214;",right:"&#8214;"}})),Ue.cases=p(Fe,(function(e,t){e.environment="cases",e.parentheses={left:"{",right:null}})),Ue.array=p(Fe,(function(e,t){e.environment="array",e.parentheses={left:null,right:null},e.hline=!0,e.options="l|l"}));var Ge=p(V,(function(e,t){e.init=function(e,n,r){if(t.init.call(this),this.row=e,n&&this.adopt(n,n.ends[1],0),r)for(var i=0;i<r.length;i++)r[i].children().adopt(this,this.ends[1],0)},e.keystroke=function(e,n,r){switch(e){case"Tab":var i,a=this,o=0;if(this.parent.eachChild((function(e){e.row===a.row&&(e===a&&(i=o),o+=1)})),i===o-1)return n.preventDefault(),this.parent.insert("addColumn",this);break;case"Enter":var s,l=this.row+1,c=!0;if(this.parent.eachChild((function(e){e.row===l&&(s||(s=e),e.isEmpty()||(c=!1))})),n.preventDefault(),s&&c){r.cursor.insAtDirEnd(h,s);break}return this.parent.insert("addRow",this)}return t.keystroke.apply(this,arguments)},e.deleteOutOf=function(e,n){var r=this,i=arguments;this.parent.backspace(this,e,n,(function(){return t.deleteOutOf.apply(r,i)}))}})),Be=(w["\\"]=p(B,(function(e,t){e.ctrlSeq="\\",e.replaces=function(e){this._replacedFragment=e.disown(),this.isEmpty=function(){return!1}},e.htmlTemplate='<span class="mq-latex-command-input mq-non-leaf">\\<span>&0</span></span>',e.textTemplate=["\\"],e.createBlocks=function(){t.createBlocks.call(this),this.ends[h].focus=function(){return this.parent.jQ.addClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.removeClass("mq-empty"),this},this.ends[h].blur=function(){return this.parent.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.addClass("mq-empty"),this},this.ends[h].write=function(e,t){e.show().deleteSelection(),t.match(/[a-z]/i)?W(t).createLeftOf(e):(this.parent.renderCommand(e),"\\"===t&&this.isEmpty()||e.parent.write(e,t))},this.ends[h].keystroke=function(e,n,r){return"Tab"===e||"Enter"===e||"Spacebar"===e?(this.parent.renderCommand(r.cursor),void n.preventDefault()):t.keystroke.apply(this,arguments)}},e.createLeftOf=function(e){if(t.createLeftOf.call(this,e),this._replacedFragment){var n=this.jQ[0];this.jQ=this._replacedFragment.jQ.addClass("mq-blur").bind("mousedown mousemove",(function(e){return m(e.target=n).trigger(e),!1})).insertBefore(this.jQ).add(this.jQ)}},e.latex=function(){return"\\"+this.ends[h].latex()+" "},e.renderCommand=function(e){this.jQ=this.jQ.last(),this.remove(),this[1]?e.insLeftOf(this[1]):e.insAtRightEnd(this.parent);var t=this.ends[h].latex();t||(t=" ");var n=x[t]||Ue[t];n?(n=n(t),this._replacedFragment&&n.replaces(this._replacedFragment),n.createLeftOf(e)):((n=Q()).replaces(t),n.createLeftOf(e),e.insRightOf(n),this._replacedFragment&&this._replacedFragment.remove())}})),P(1));for(var Ye in Be)!function(e,t){"function"==typeof t?(D[e]=function(){return j(),t.apply(this,arguments)},D[e].prototype=t.prototype):D[e]=t}(Ye,Be[Ye]);"object"==typeof e.exports&&(e.exports=D)}()},function(e,t,n){"use strict";(function(e,r){var i,a=n(70);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var o=Object(a.a)(i);t.a=o}).call(this,n(11),n(17)(e))},function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var i=r(n(45)),a=new Set(["input","option","optgroup","select","button","datalist","textarea"]),o=new Set(["p"]),s={tr:new Set(["tr","th","td"]),th:new Set(["th"]),td:new Set(["thead","th","td"]),body:new Set(["head","link","script"]),li:new Set(["li"]),p:o,h1:o,h2:o,h3:o,h4:o,h5:o,h6:o,select:a,input:a,output:a,button:a,datalist:a,textarea:a,option:new Set(["option"]),optgroup:new Set(["optgroup","option"]),dd:new Set(["dt","dd"]),dt:new Set(["dt","dd"]),address:o,article:o,aside:o,blockquote:o,details:o,div:o,dl:o,fieldset:o,figcaption:o,figure:o,footer:o,form:o,header:o,hr:o,main:o,nav:o,ol:o,pre:o,section:o,table:o,ul:o,rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),tbody:new Set(["thead","tbody"]),tfoot:new Set(["thead","tbody"])},l=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),c=new Set(["math","svg"]),u=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),d=/\s|\//,f=function(){function e(e,t){var n,r,a,o,s;void 0===t&&(t={}),this.startIndex=0,this.endIndex=null,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.options=t,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(a=t.Tokenizer)&&void 0!==a?a:i.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return e.prototype.updatePosition=function(e){null===this.endIndex?this.tokenizer.sectionStart<=e?this.startIndex=0:this.startIndex=this.tokenizer.sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this.tokenizer.getAbsoluteIndex()},e.prototype.ontext=function(e){var t,n;this.updatePosition(1),this.endIndex--,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,e)},e.prototype.onopentagname=function(e){var t,n;if(this.lowerCaseTagNames&&(e=e.toLowerCase()),this.tagname=e,!this.options.xmlMode&&Object.prototype.hasOwnProperty.call(s,e))for(var r=void 0;this.stack.length>0&&s[e].has(r=this.stack[this.stack.length-1]);)this.onclosetag(r);!this.options.xmlMode&&l.has(e)||(this.stack.push(e),c.has(e)?this.foreignContext.push(!0):u.has(e)&&this.foreignContext.push(!1)),null===(n=(t=this.cbs).onopentagname)||void 0===n||n.call(t,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.onopentagend=function(){var e,t;this.updatePosition(1),this.attribs&&(null===(t=(e=this.cbs).onopentag)||void 0===t||t.call(e,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&l.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=""},e.prototype.onclosetag=function(e){if(this.updatePosition(1),this.lowerCaseTagNames&&(e=e.toLowerCase()),(c.has(e)||u.has(e))&&this.foreignContext.pop(),!this.stack.length||!this.options.xmlMode&&l.has(e))this.options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this.closeCurrentTag());else{var t=this.stack.lastIndexOf(e);if(-1!==t)if(this.cbs.onclosetag)for(t=this.stack.length-t;t--;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=t;else"p"!==e||this.options.xmlMode||(this.onopentagname(e),this.closeCurrentTag())}},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},e.prototype.closeCurrentTag=function(){var e,t,n=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===n&&(null===(t=(e=this.cbs).onclosetag)||void 0===t||t.call(e,n),this.stack.pop())},e.prototype.onattribname=function(e){this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,n;null===(n=(t=this.cbs).onattribute)||void 0===n||n.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(d),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}},e.prototype.onprocessinginstruction=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}},e.prototype.oncomment=function(e){var t,n,r,i;this.updatePosition(4),null===(n=(t=this.cbs).oncomment)||void 0===n||n.call(t,e),null===(i=(r=this.cbs).oncommentend)||void 0===i||i.call(r)},e.prototype.oncdata=function(e){var t,n,r,i,a,o;this.updatePosition(1),this.options.xmlMode||this.options.recognizeCDATA?(null===(n=(t=this.cbs).oncdatastart)||void 0===n||n.call(t),null===(i=(r=this.cbs).ontext)||void 0===i||i.call(r,e),null===(o=(a=this.cbs).oncdataend)||void 0===o||o.call(a)):this.oncomment("[CDATA["+e+"]]")},e.prototype.onerror=function(e){var t,n;null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag)for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n]));null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=f},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(46)),a=r(n(26)),o=r(n(47)),s=r(n(27));function l(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function c(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}function u(e,t,n){var r=e.toLowerCase();return e===r?function(e,i){i===r?e._state=t:(e._state=n,e._index--)}:function(i,a){a===r||a===e?i._state=t:(i._state=n,i._index--)}}function d(e,t){var n=e.toLowerCase();return function(r,i){i===n||i===e?r._state=t:(r._state=3,r._index--)}}var f=u("C",24,16),p=u("D",25,16),h=u("A",26,16),g=u("T",27,16),m=u("A",28,16),y=d("R",35),v=d("I",36),b=d("P",37),I=d("T",38),x=u("R",40,1),w=u("I",41,1),T=u("P",42,1),M=u("T",43,1),A=d("Y",45),C=d("L",46),E=d("E",47),N=u("Y",49,1),S=u("L",50,1),k=u("E",51,1),j=d("I",54),D=d("T",55),L=d("L",56),O=d("E",57),P=u("I",58,1),R=u("T",59,1),z=u("L",60,1),_=u("E",61,1),U=u("#",63,64),Z=u("X",66,65),F=function(){function e(e,t){var n;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=t,this.xmlMode=!!(null==e?void 0:e.xmlMode),this.decodeEntities=null===(n=null==e?void 0:e.decodeEntities)||void 0===n||n}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},e.prototype.write=function(e){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=e,this.parse()},e.prototype.end=function(e){this.ended&&this.cbs.onerror(Error(".end() after done!")),e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){"<"===e?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||"&"!==e||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},e.prototype.stateBeforeTagName=function(e){"/"===e?this._state=5:"<"===e?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):">"===e||1!==this.special||l(e)?this._state=1:"!"===e?(this._state=15,this.sectionStart=this._index+1):"?"===e?(this._state=17,this.sectionStart=this._index+1):c(e)?(this._state=this.xmlMode||"s"!==e&&"S"!==e?this.xmlMode||"t"!==e&&"T"!==e?3:52:32,this.sectionStart=this._index):this._state=1},e.prototype.stateInTagName=function(e){("/"===e||">"===e||l(e))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},e.prototype.stateBeforeClosingTagName=function(e){l(e)||(">"===e?this._state=1:1!==this.special?"s"===e||"S"===e?this._state=33:"t"===e||"T"===e?this._state=53:(this._state=1,this._index--):c(e)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(">"===e||l(e))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},e.prototype.stateAfterClosingTagName=function(e){">"===e&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){">"===e?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):"/"===e?this._state=4:l(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){">"===e?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):l(e)||(this._state=8,this._index--)},e.prototype.stateInAttributeName=function(e){("="===e||"/"===e||">"===e||l(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},e.prototype.stateAfterAttributeName=function(e){"="===e?this._state=11:"/"===e||">"===e?(this.cbs.onattribend(void 0),this._state=8,this._index--):l(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){'"'===e?(this._state=12,this.sectionStart=this._index+1):"'"===e?(this._state=13,this.sectionStart=this._index+1):l(e)||(this._state=14,this.sectionStart=this._index,this._index--)},e.prototype.handleInAttributeValue=function(e,t){e===t?(this.emitToken("onattribdata"),this.cbs.onattribend(t),this._state=8):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,'"')},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,"'")},e.prototype.stateInAttributeValueNoQuotes=function(e){l(e)||">"===e?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateBeforeDeclaration=function(e){this._state="["===e?23:"-"===e?18:16},e.prototype.stateInDeclaration=function(e){">"===e&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){">"===e&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){"-"===e?(this._state=19,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInComment=function(e){"-"===e&&(this._state=21)},e.prototype.stateInSpecialComment=function(e){">"===e&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateAfterComment1=function(e){this._state="-"===e?22:19},e.prototype.stateAfterComment2=function(e){">"===e?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"-"!==e&&(this._state=19)},e.prototype.stateBeforeCdata6=function(e){"["===e?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},e.prototype.stateInCdata=function(e){"]"===e&&(this._state=30)},e.prototype.stateAfterCdata1=function(e){this._state="]"===e?31:29},e.prototype.stateAfterCdata2=function(e){">"===e?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"]"!==e&&(this._state=29)},e.prototype.stateBeforeSpecialS=function(e){"c"===e||"C"===e?this._state=34:"t"===e||"T"===e?this._state=44:(this._state=3,this._index--)},e.prototype.stateBeforeSpecialSEnd=function(e){2!==this.special||"c"!==e&&"C"!==e?3!==this.special||"t"!==e&&"T"!==e?this._state=1:this._state=48:this._state=39},e.prototype.stateBeforeSpecialLast=function(e,t){("/"===e||">"===e||l(e))&&(this.special=t),this._state=3,this._index--},e.prototype.stateAfterSpecialLast=function(e,t){">"===e||l(e)?(this.special=1,this._state=6,this.sectionStart=this._index-t,this._index--):this._state=1},e.prototype.parseFixedEntity=function(e){if(void 0===e&&(e=this.xmlMode?s.default:a.default),this.sectionStart+1<this._index){var t=this.buffer.substring(this.sectionStart+1,this._index);Object.prototype.hasOwnProperty.call(e,t)&&(this.emitPartial(e[t]),this.sectionStart=this._index+1)}},e.prototype.parseLegacyEntity=function(){for(var e=this.sectionStart+1,t=Math.min(this._index-e,6);t>=2;){var n=this.buffer.substr(e,t);if(Object.prototype.hasOwnProperty.call(o.default,n))return this.emitPartial(o.default[n]),void(this.sectionStart+=t+1);t--}},e.prototype.stateInNamedEntity=function(e){";"===e?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(e<"0"||e>"9")&&!c(e)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?"="!==e&&this.parseFixedEntity(o.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},e.prototype.decodeNumericEntity=function(e,t,n){var r=this.sectionStart+e;if(r!==this._index){var a=this.buffer.substring(r,this._index),o=parseInt(a,t);this.emitPartial(i.default(o)),this.sectionStart=n?this._index+1:this._index}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){";"===e?this.decodeNumericEntity(2,10,!0):(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},e.prototype.stateInHexEntity=function(e){";"===e?this.decodeNumericEntity(3,16,!0):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},e.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},e.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var e=this.buffer.charAt(this._index);1===this._state?this.stateText(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):19===this._state?this.stateInComment(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):32===this._state?this.stateBeforeSpecialS(e):21===this._state?this.stateAfterComment1(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):22===this._state?this.stateAfterComment2(e):18===this._state?this.stateBeforeComment(e):33===this._state?this.stateBeforeSpecialSEnd(e):53===this._state?P(this,e):39===this._state?x(this,e):40===this._state?w(this,e):41===this._state?T(this,e):34===this._state?y(this,e):35===this._state?v(this,e):36===this._state?b(this,e):37===this._state?I(this,e):38===this._state?this.stateBeforeSpecialLast(e,2):42===this._state?M(this,e):43===this._state?this.stateAfterSpecialLast(e,6):44===this._state?A(this,e):29===this._state?this.stateInCdata(e):45===this._state?C(this,e):46===this._state?E(this,e):47===this._state?this.stateBeforeSpecialLast(e,3):48===this._state?N(this,e):49===this._state?S(this,e):50===this._state?k(this,e):51===this._state?this.stateAfterSpecialLast(e,5):52===this._state?j(this,e):54===this._state?D(this,e):55===this._state?L(this,e):56===this._state?O(this,e):57===this._state?this.stateBeforeSpecialLast(e,4):58===this._state?R(this,e):59===this._state?z(this,e):60===this._state?_(this,e):61===this._state?this.stateAfterSpecialLast(e,5):17===this._state?this.stateInProcessingInstruction(e):64===this._state?this.stateInNamedEntity(e):23===this._state?f(this,e):62===this._state?U(this,e):24===this._state?p(this,e):25===this._state?h(this,e):30===this._state?this.stateAfterCdata1(e):31===this._state?this.stateAfterCdata2(e):26===this._state?g(this,e):27===this._state?m(this,e):28===this._state?this.stateBeforeCdata6(e):66===this._state?this.stateInHexEntity(e):65===this._state?this.stateInNumericEntity(e):63===this._state?Z(this,e):this.cbs.onerror(Error("unknown _state"),this._state),this._index++}this.cleanup()},e.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);29===this._state||30===this._state||31===this._state?this.cbs.oncdata(e):19===this._state||21===this._state||22===this._state?this.cbs.oncomment(e):64!==this._state||this.xmlMode?65!==this._state||this.xmlMode?66!==this._state||this.xmlMode?3!==this._state&&8!==this._state&&11!==this._state&&10!==this._state&&9!==this._state&&13!==this._state&&12!==this._state&&14!==this._state&&6!==this._state&&this.cbs.ontext(e):(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.parseLegacyEntity(),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData()))},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitToken=function(e){this.cbs[e](this.getSection()),this.sectionStart=-1},e.prototype.emitPartial=function(e){1!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}();t.default=F},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(93));t.default=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in i.default&&(e=i.default[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var a=n(49);i(n(49),t);var o=/\s+/g,s={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){var e;this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null!==(e=this.parser)&&void 0!==e?e:null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=new a.Element(e,t);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&"text"===n.type)t?n.data=(n.data+e).replace(o," "):n.data+=e;else{t&&(e=e.replace(o," "));var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&"comment"===this.lastNode.type)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren("cdata",[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e.prototype.addDataNode=function(e){this.addNode(e),this.lastNode=e},e}();t.DomHandler=l,t.default=l},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=new Map([["tag",1],["script",1],["style",1],["directive",1],["text",3],["cdata",4],["comment",8],["root",9]]),s=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=o.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),g(this,e)},e}();t.Node=s;var l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.data=n,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var c=function(e){function t(t){return e.call(this,"text",t)||this}return i(t,e),t}(l);t.Text=c;var u=function(e){function t(t){return e.call(this,"comment",t)||this}return i(t,e),t}(l);t.Comment=u;var d=function(e){function t(t,n){var r=e.call(this,"directive",n)||this;return r.name=t,r}return i(t,e),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t,n){var r=e.call(this,t)||this;return r.children=n,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=f;var p=function(e){function t(t){return e.call(this,"root",t)||this}return i(t,e),t}(f);t.Document=p;var h=function(e){function t(t,n,r){void 0===r&&(r=[]);var i=e.call(this,"script"===t?"script":"style"===t?"style":"tag",r)||this;return i.name=t,i.attribs=n,i.attribs=n,i}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function g(e,t){var n;switch(void 0===t&&(t=!1),e.type){case"text":n=new c(e.data);break;case"directive":var r=e;n=new d(r.name,r.data),null!=r["x-name"]&&(n["x-name"]=r["x-name"],n["x-publicId"]=r["x-publicId"],n["x-systemId"]=r["x-systemId"]);break;case"comment":n=new u(e.data);break;case"tag":case"script":case"style":var i=e,o=t?m(i.children):[],s=new h(i.name,a({},i.attribs),o);o.forEach((function(e){return e.parent=s})),i["x-attribsNamespace"]&&(s["x-attribsNamespace"]=a({},i["x-attribsNamespace"])),i["x-attribsPrefix"]&&(s["x-attribsPrefix"]=a({},i["x-attribsPrefix"])),n=s;break;case"cdata":o=t?m(e.children):[];var l=new f(e.type,o);o.forEach((function(e){return e.parent=l})),n=l;break;case"root":var g=e,y=(o=t?m(g.children):[],new p(o));o.forEach((function(e){return e.parent=y})),g["x-mode"]&&(y["x-mode"]=g["x-mode"]),n=y;break;case"doctype":throw new Error("Not implemented yet: ElementType.Doctype case")}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function m(e){for(var t=e.map((function(e){return g(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=h,t.cloneNode=g},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseFeed=t.FeedHandler=void 0;var c,u,d=l(n(48)),f=s(n(51)),p=n(44);!function(e){e[e.image=0]="image",e[e.audio=1]="audio",e[e.video=2]="video",e[e.document=3]="document",e[e.executable=4]="executable"}(c||(c={})),function(e){e[e.sample=0]="sample",e[e.full=1]="full",e[e.nonstop=2]="nonstop"}(u||(u={}));var h=function(e){function t(t,n){return"object"==typeof t&&(n=t=void 0),e.call(this,t,n)||this}return i(t,e),t.prototype.onend=function(){var e,t,n=y(x,this.dom);if(n){var r={};if("feed"===n.name){var i=n.children;r.type="atom",I(r,"id","id",i),I(r,"title","title",i);var a=b("href",y("link",i));a&&(r.link=a),I(r,"description","subtitle",i),(o=v("updated",i))&&(r.updated=new Date(o)),I(r,"author","email",i,!0),r.items=m("entry",i).map((function(e){var t={},n=e.children;I(t,"id","id",n),I(t,"title","title",n);var r=b("href",y("link",n));r&&(t.link=r);var i=v("summary",n)||v("content",n);i&&(t.description=i);var a=v("updated",n);return a&&(t.pubDate=new Date(a)),t.media=g(n),t}))}else{var o;i=null!==(t=null===(e=y("channel",n.children))||void 0===e?void 0:e.children)&&void 0!==t?t:[];r.type=n.name.substr(0,3),r.id="",I(r,"title","title",i),I(r,"link","link",i),I(r,"description","description",i),(o=v("lastBuildDate",i))&&(r.updated=new Date(o)),I(r,"author","managingEditor",i,!0),r.items=m("item",n.children).map((function(e){var t={},n=e.children;I(t,"id","guid",n),I(t,"title","title",n),I(t,"link","link",n),I(t,"description","description",n);var r=v("pubDate",n);return r&&(t.pubDate=new Date(r)),t.media=g(n),t}))}this.feed=r,this.handleCallback(null)}else this.handleCallback(new Error("couldn't find root of feed"))},t}(d.default);function g(e){return m("media:content",e).map((function(e){var t={medium:e.attribs.medium,isDefault:!!e.attribs.isDefault};return e.attribs.url&&(t.url=e.attribs.url),e.attribs.fileSize&&(t.fileSize=parseInt(e.attribs.fileSize,10)),e.attribs.type&&(t.type=e.attribs.type),e.attribs.expression&&(t.expression=e.attribs.expression),e.attribs.bitrate&&(t.bitrate=parseInt(e.attribs.bitrate,10)),e.attribs.framerate&&(t.framerate=parseInt(e.attribs.framerate,10)),e.attribs.samplingrate&&(t.samplingrate=parseInt(e.attribs.samplingrate,10)),e.attribs.channels&&(t.channels=parseInt(e.attribs.channels,10)),e.attribs.duration&&(t.duration=parseInt(e.attribs.duration,10)),e.attribs.height&&(t.height=parseInt(e.attribs.height,10)),e.attribs.width&&(t.width=parseInt(e.attribs.width,10)),e.attribs.lang&&(t.lang=e.attribs.lang),t}))}function m(e,t){return f.getElementsByTagName(e,t,!0)}function y(e,t){return f.getElementsByTagName(e,t,!0,1)[0]}function v(e,t,n){return void 0===n&&(n=!1),f.getText(f.getElementsByTagName(e,t,n,1)).trim()}function b(e,t){return t?t.attribs[e]:null}function I(e,t,n,r,i){void 0===i&&(i=!1);var a=v(n,r,i);a&&(e[t]=a)}function x(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}t.FeedHandler=h,t.parseFeed=function(e,t){void 0===t&&(t={xmlMode:!0});var n=new h(t);return new p.Parser(n,t).end(e),n.feed}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(95),t),i(n(99),t),i(n(100),t),i(n(55),t),i(n(101),t),i(n(102),t),i(n(12),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(26)),a=r(n(47)),o=r(n(27)),s=r(n(46));function l(e){var t=Object.keys(e).join("|"),n=u(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}t.decodeXML=l(o.default),t.decodeHTMLStrict=l(i.default);var c=function(e,t){return e<t?1:-1};function u(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}t.decodeHTML=function(){for(var e=Object.keys(a.default).sort(c),t=Object.keys(i.default).sort(c),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=u(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(o,l)}}()},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=l(r(n(27)).default),a=c(i);t.encodeXML=h(i,a);var o=l(r(n(26)).default),s=c(o);function l(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function c(e){var t=[],n=[];return Object.keys(e).forEach((function(e){return 1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.encodeHTML=h(o,s);var u=/[^\0-\x7F]/g,d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function f(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function p(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function h(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(d,p).replace(u,f)}}var g=c(i);t.escape=function(e){return e.replace(g,f).replace(d,p).replace(u,f)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(12);function i(e,t,n,a){for(var o=[],s=0,l=t;s<l.length;s++){var c=l[s];if(e(c)&&(o.push(c),--a<=0))break;if(n&&r.hasChildren(c)&&c.children.length>0){var u=i(e,c.children,n,a);if(o.push.apply(o,u),(a-=u.length)<=0)break}}return o}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),Array.isArray(t)||(t=[t]),i(e,t,n,r)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,i){void 0===i&&(i=!0);for(var a=null,o=0;o<n.length&&!a;o++){var s=n[o];r.isTag(s)&&(t(s)?a=s:i&&s.children.length>0&&(a=e(t,s.children)))}return a},t.existsOne=function e(t,n){return n.some((function(n){return r.isTag(n)&&(t(n)||n.children.length>0&&e(t,n.children))}))},t.findAll=function(e,t){for(var n,i,a=[],o=t.filter(r.isTag);i=o.shift();){var s=null===(n=i.children)||void 0===n?void 0:n.filter(r.isTag);s&&s.length>0&&o.unshift.apply(o,s),e(i)&&a.push(i)}return a}},function(e,t){},function(e,t,n){"use strict";const r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class i{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let i=e.nodes[r],a=this.raw(i,"before");a&&this.builder(a),this.stringify(i,t!==r||n)}}block(e,t){let n,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}raw(e,t,n){let i;if(n||(n=t),t&&(i=e.raws[t],void 0!==i))return i;let a=e.parent;if("before"===n){if(!a||"root"===a.type&&a.first===e)return"";if(a&&"document"===a.type)return""}if(!a)return r[n];let o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==o.rawCache[n])return o.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);{let r="raw"+((s=n)[0].toUpperCase()+s.slice(1));this[r]?i=this[r](o,e):o.walk(e=>{if(i=e.raws[t],void 0!==i)return!1})}var s;return void 0===i&&(i=r[n]),o.rawCache[n]=i,i}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}}),t}rawBeforeComment(e,t){let n;return e.walkComments(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeRule(e){let t;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1}),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)n+=t}return n}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}}e.exports=i,i.default=i},function(e,t,n){"use strict";let{isClean:r,my:i}=n(29),a=n(59),o=n(20),s=n(9),l=n(33),c=(n(62),n(34)),u=n(35),d=n(13);const f={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},p={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},h={postcssPlugin:!0,prepare:!0,Once:!0};function g(e){return"object"==typeof e&&"function"==typeof e.then}function m(e){let t=!1,n=f[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function y(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:m(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function v(e){return e[r]=!1,e.nodes&&e.nodes.forEach(e=>v(e)),e}let b={};class I{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof I||t instanceof c)r=v(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=u;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}r&&!r[i]&&s.rebuild(r)}else r=v(t);this.result=new c(e,r,n),this.helpers={...b,result:this.result,postcss:b},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(g(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];)e[r]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=o;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new a(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(e){e[r]=!0;let t=m(e);for(let n of t)if(0===n)e.nodes&&e.each(e=>{e[r]||this.walkSync(e)});else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(g(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return g(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(g(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];){e[r]=!0;let t=[y(e)];for(;t.length>0;){let e=this.visitTick(t);if(g(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!p[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!h[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:n,visitors:i}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(i.length>0&&t.visitorIndex<i.length){let[e,r]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return r(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let i,a=t.iterator;for(;i=n.nodes[n.indexes[a]];)if(n.indexes[a]+=1,!i[r])return i[r]=!0,void e.push(y(i));t.iterator=0,delete n.indexes[a]}let a=t.events;for(;t.eventIndex<a.length;){let e=a[t.eventIndex];if(t.eventIndex+=1,0===e)return void(n.nodes&&n.nodes.length&&(n[r]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}}I.registerPostcss=e=>{b=e},e.exports=I,I.default=I,d.registerLazyResult(I),l.registerLazyResult(I)},function(e,t,n){"use strict";(function(t){let{SourceMapConsumer:r,SourceMapGenerator:i}=n(31),{dirname:a,resolve:o,relative:s,sep:l}=n(32),{pathToFileURL:c}=n(60),u=n(21),d=Boolean(r&&i),f=Boolean(a&&o&&s&&l);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new u(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;n&&!e[n]&&(e[n]=!0,this.map.setSourceContent(this.toUrl(this.path(n)),t.source.input.css))}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||a(e.file);!1===this.mapOpts.sourcesContent?(t=new r(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map(()=>null))):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}toBase64(e){return t?t.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e)}else this.map=new i({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?a(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=a(o(t,this.mapOpts.annotation))),e=s(t,e)}toUrl(e){return"\\"===l&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(c)return c(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new i({file:this.outputFile()});let e,t,n=1,r=1,a={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,(i,o,s)=>{if(this.css+=i,o&&"end"!==s&&(a.generated.line=n,a.generated.column=r-1,o.source&&o.source.start?(a.source=this.sourcePath(o),a.original.line=o.source.start.line,a.original.column=o.source.start.column-1,this.map.addMapping(a)):(a.source="<no source>",a.original.line=1,a.original.column=0,this.map.addMapping(a))),e=i.match(/\n/g),e?(n+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,o&&"start"!==s){let e=o.parent||{raws:{}};("decl"!==o.type||o!==e.last||e.raws.semicolon)&&(o.source&&o.source.end?(a.source=this.sourcePath(o),a.original.line=o.source.end.line,a.original.column=o.source.end.column-1,a.generated.line=n,a.generated.column=r-2,this.map.addMapping(a)):(a.source="<no source>",a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=r-1,this.map.addMapping(a)))}})}generate(){if(this.clearAnnotation(),f&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}}}).call(this,n(30).Buffer)},function(e,t){},function(e,t,n){"use strict";(function(t){let{SourceMapConsumer:r,SourceMapGenerator:i}=n(31),{existsSync:a,readFileSync:o}=n(113),{dirname:s,join:l}=n(32);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return n=e.substr(RegExp.lastMatch.length),t?t.from(n,"base64").toString():window.atob(n);var n;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}loadFile(e){if(this.root=s(e),a(e))return this.mapFile=e,o(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof r)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(s(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}e.exports=c,c.default=c}).call(this,n(30).Buffer)},function(e,t,n){"use strict";let r={};e.exports=function(e){r[e]||(r[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},function(e,t,n){"use strict";class r{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=r,r.default=r},function(e,t,n){"use strict";let r={split(e,t,n){let r=[],i="",a=!1,o=0,s=!1,l=!1;for(let n of e)l?l=!1:"\\"===n?l=!0:s?n===s&&(s=!1):'"'===n||"'"===n?s=n:"("===n?o+=1:")"===n?o>0&&(o-=1):0===o&&t.includes(n)&&(a=!0),a?(""!==i&&r.push(i.trim()),i="",a=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r},space:e=>r.split(e,[" ","\n","\t"]),comma:e=>r.split(e,[","],!0)};e.exports=r,r.default=r},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){var r=n(76),i=n(77),a=n(78),o=n(80);e.exports=function(e,t){return r(e)||i(e,t)||a(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";t.a="data:image/gif;base64,R0lGODlhEAAQAPQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKysrL6+vhQUFJycnAQEBDY2NmhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl8jAggGAA1kBIA1BAYzlyILczULC2UhACH5BAAKAAEALAAAAAAQABAAAAV2ICACAmlAZTmOREEIy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+L2hvbWUvYWpheGxvYWQvd3d3L2xpYnJhaXJpZXMvY2xhc3MubXlzcWwucGhwPC9iPiBvbiBsaW5lIDxiPjY4PC9iPjxiciAvPgo8YnIgLz4KPGI+V2FybmluZzwvYj46ICBteXNxbF9xdWVyeSgpIFs8YSBocmVmPSdmdW5jdGlvbi5teXNxbC1xdWVyeSc+ZnVuY3Rpb24ubXlzcWwtcXVlcnk8L2E+XTogQ2FuJ3QgY29ubmVjdCB0byBsb2NhbCBNeVNRTCBzZXJ2ZXIgdGhyb3VnaCBzb2NrZXQgJy92YXIvcnVuL215c3FsZC9teXNxbGQuc29jaycgKDIpIGluIDxiPi9ob21lL2FqYXhsb2FkL3d3dy9saWJyYWlyaWVzL2NsYXNzLm15c3FsLnBocDwvYj4gb24gbGluZSA8Yj42ODwvYj48YnIgLz4KPGJyIC8+CjxiPldhcm5pbmc8L2I+OiAgbXlzcWxfcXVlcnkoKSBbPGEgaHJlZj0nZnVuY3Rpb24ubXlzcWwtcXVlcnknPmZ1bmN0aW9uLm15c3FsLXF1ZXJ5PC9hPl06IEEgbGluayB0byB0aGUgc2VydmVyIGNvdWxkIG5vdCBiZSBlc3RhYmxpc2hlZCBpbiA8Yj4vaG9tZS9hamF4bG9hZC93d3cvbGlicmFpcmllcy9jbGFzcy5teXNxbC5waHA8L2I+IG9uIGxpbmUgPGI+Njg8L2I+PGJyIC8+Cg=="},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){var r=n(4),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===i?r.a.Buffer:void 0,s=o?o.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(17)(e))},,,,,function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(79);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";e.exports=n(82)},function(e,t,n){"use strict";
43
43
  /** @license React v16.13.1
44
44
  * react-is.production.min.js
45
45
  *
@@ -63,12 +63,12 @@ var r=n(112),i=n(113),a=n(114);function o(){return l.TYPED_ARRAY_SUPPORT?2147483
63
63
  *
64
64
  * This source code is licensed under the MIT license found in the
65
65
  * LICENSE file in the root directory of this source tree.
66
- */var r=n(0),i=n(89),a=n(90);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(o(227));function s(e,t,n,r,i,a,o,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var l=!1,c=null,u=!1,d=null,f={onError:function(e){l=!0,c=e}};function p(e,t,n,r,i,a,o,u,d){l=!1,c=null,s.apply(f,arguments)}var h=null,g=null,m=null;function y(e,t,n){var r=e.type||"unknown-event";e.currentTarget=m(n),function(e,t,n,r,i,a,s,f,h){if(p.apply(this,arguments),l){if(!l)throw Error(o(198));var g=c;l=!1,c=null,u||(u=!0,d=g)}}(r,t,void 0,e),e.currentTarget=null}var v=null,b={};function I(){if(v)for(var e in b){var t=b[e],n=v.indexOf(e);if(!(-1<n))throw Error(o(96,e));if(!w[n]){if(!t.extractEvents)throw Error(o(97,e));for(var r in w[n]=t,n=t.eventTypes){var i=void 0,a=n[r],s=t,l=r;if(T.hasOwnProperty(l))throw Error(o(99,l));T[l]=a;var c=a.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&x(c[i],s,l);i=!0}else a.registrationName?(x(a.registrationName,s,l),i=!0):i=!1;if(!i)throw Error(o(98,r,e))}}}}function x(e,t,n){if(M[e])throw Error(o(100,e));M[e]=t,A[e]=t.eventTypes[n].dependencies}var w=[],T={},M={},A={};function C(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(o(102,t));b[t]=r,n=!0}}n&&I()}var E=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),N=null,S=null,k=null;function j(e){if(e=g(e)){if("function"!=typeof N)throw Error(o(280));var t=e.stateNode;t&&(t=h(t),N(e.stateNode,e.type,t))}}function D(e){S?k?k.push(e):k=[e]:S=e}function L(){if(S){var e=S,t=k;if(k=S=null,j(e),t)for(e=0;e<t.length;e++)j(t[e])}}function O(e,t){return e(t)}function P(e,t,n,r,i){return e(t,n,r,i)}function R(){}var z=O,_=!1,U=!1;function F(){null===S&&null===k||(R(),L())}function Z(e,t,n){if(U)return e(t,n);U=!0;try{return z(e,t,n)}finally{U=!1,F()}}var G=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,B=Object.prototype.hasOwnProperty,Y={},W={};function H(e,t,n,r,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a}var V={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){V[e]=new H(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];V[t]=new H(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){V[e]=new H(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){V[e]=new H(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){V[e]=new H(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){V[e]=new H(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){V[e]=new H(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){V[e]=new H(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){V[e]=new H(e,5,!1,e.toLowerCase(),null,!1)}));var q=/[\-:]([a-z])/g;function Q(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(q,Q);V[t]=new H(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(q,Q);V[t]=new H(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(q,Q);V[t]=new H(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){V[e]=new H(e,1,!1,e.toLowerCase(),null,!1)})),V.xlinkHref=new H("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){V[e]=new H(e,1,!1,e.toLowerCase(),null,!0)}));var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(e,t,n,r){var i=V.hasOwnProperty(t)?V[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!B.call(W,e)||!B.call(Y,e)&&(G.test(e)?W[e]=!0:(Y[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}J.hasOwnProperty("ReactCurrentDispatcher")||(J.ReactCurrentDispatcher={current:null}),J.hasOwnProperty("ReactCurrentBatchConfig")||(J.ReactCurrentBatchConfig={suspense:null});var K=/^(.*)[\\\/]/,$="function"==typeof Symbol&&Symbol.for,ee=$?Symbol.for("react.element"):60103,te=$?Symbol.for("react.portal"):60106,ne=$?Symbol.for("react.fragment"):60107,re=$?Symbol.for("react.strict_mode"):60108,ie=$?Symbol.for("react.profiler"):60114,ae=$?Symbol.for("react.provider"):60109,oe=$?Symbol.for("react.context"):60110,se=$?Symbol.for("react.concurrent_mode"):60111,le=$?Symbol.for("react.forward_ref"):60112,ce=$?Symbol.for("react.suspense"):60113,ue=$?Symbol.for("react.suspense_list"):60120,de=$?Symbol.for("react.memo"):60115,fe=$?Symbol.for("react.lazy"):60116,pe=$?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function ge(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function me(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ie:return"Profiler";case re:return"StrictMode";case ce:return"Suspense";case ue:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case oe:return"Context.Consumer";case ae:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return me(e.type);case pe:return me(e.render);case fe:if(e=1===e._status?e._result:null)return me(e)}return null}function ye(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,a=me(e.type);n=null,r&&(n=me(r.type)),r=a,a="",i?a=" (at "+i.fileName.replace(K,"")+":"+i.lineNumber+")":n&&(a=" (created by "+n+")"),n="\n in "+(r||"Unknown")+a}t+=n,e=e.return}while(e);return t}function ve(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ie(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function xe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function we(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Te(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ve(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Me(e,t){null!=(t=t.checked)&&X(e,"checked",t,!1)}function Ae(e,t){Me(e,t);var n=ve(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ee(e,t.type,ve(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ce(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ee(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ne(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Se(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ve(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ke(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function je(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ve(n)}}function De(e,t){var n=ve(t.value),r=ve(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Oe="http://www.w3.org/1999/xhtml",Pe="http://www.w3.org/2000/svg";function Re(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ze(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Re(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var _e,Ue=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Pe||"innerHTML"in e)e.innerHTML=t;else{for((_e=_e||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=_e.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ze(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ge={animationend:Ze("Animation","AnimationEnd"),animationiteration:Ze("Animation","AnimationIteration"),animationstart:Ze("Animation","AnimationStart"),transitionend:Ze("Transition","TransitionEnd")},Be={},Ye={};function We(e){if(Be[e])return Be[e];if(!Ge[e])return e;var t,n=Ge[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ye)return Be[e]=n[t];return e}E&&(Ye=document.createElement("div").style,"AnimationEvent"in window||(delete Ge.animationend.animation,delete Ge.animationiteration.animation,delete Ge.animationstart.animation),"TransitionEvent"in window||delete Ge.transitionend.transition);var He=We("animationend"),Ve=We("animationiteration"),qe=We("animationstart"),Qe=We("transitionend"),Je="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"==typeof WeakMap?WeakMap:Map);function Ke(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if($e(e)!==e)throw Error(o(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return tt(i),e;if(a===r)return tt(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(o(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function it(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var at=null;function ot(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)y(e,t[r],n[r]);else t&&y(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(at=rt(at,e)),e=at,at=null,e){if(it(e,ot),at)throw Error(o(95));if(u)throw e=d,u=!1,d=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!E)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function dt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function ft(e,t,n,r){if(ut.length){var i=ut.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function pt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=En(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=lt(e.nativeEvent);r=e.topLevelType;var a=e.nativeEvent,o=e.eventSystemFlags;0===n&&(o|=64);for(var s=null,l=0;l<w.length;l++){var c=w[l];c&&(c=c.extractEvents(r,t,a,i,o))&&(s=rt(s,c))}st(s)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":qt(t,"scroll",!0);break;case"focus":case"blur":qt(t,"focus",!0),qt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&qt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Je.indexOf(e)&&Vt(e,t)}n.set(e,null)}}var gt,mt,yt,vt=!1,bt=[],It=null,xt=null,wt=null,Tt=new Map,Mt=new Map,At=[],Ct="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Et="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Nt(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function St(e,t){switch(e){case"focus":case"blur":It=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":wt=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function kt(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e=Nt(t,n,r,i,a),null!==t&&(null!==(t=Nn(t))&&mt(t)),e):(e.eventSystemFlags|=r,e)}function jt(e){var t=En(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void a.unstable_runWithPriority(e.priority,(function(){yt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;var t=Kt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Nn(t);return null!==n&&mt(n),e.blockedOn=t,!1}return!0}function Lt(e,t,n){Dt(e)&&n.delete(t)}function Ot(){for(vt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=Nn(e.blockedOn))&&gt(e);break}var t=Kt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==It&&Dt(It)&&(It=null),null!==xt&&Dt(xt)&&(xt=null),null!==wt&&Dt(wt)&&(wt=null),Tt.forEach(Lt),Mt.forEach(Lt)}function Pt(e,t){e.blockedOn===t&&(e.blockedOn=null,vt||(vt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ot)))}function Rt(e){function t(t){return Pt(t,e)}if(0<bt.length){Pt(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==It&&Pt(It,e),null!==xt&&Pt(xt,e),null!==wt&&Pt(wt,e),Tt.forEach(t),Mt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)jt(n),null===n.blockedOn&&At.shift()}var zt={},_t=new Map,Ut=new Map,Ft=["abort","abort",He,"animationEnd",Ve,"animationIteration",qe,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Qe,"transitionEnd","waiting","waiting"];function Zt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],a="on"+(i[0].toUpperCase()+i.slice(1));a={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[r],eventPriority:t},Ut.set(r,t),_t.set(r,a),zt[i]=a}}Zt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Zt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Zt(Ft,2);for(var Gt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Bt=0;Bt<Gt.length;Bt++)Ut.set(Gt[Bt],0);var Yt=a.unstable_UserBlockingPriority,Wt=a.unstable_runWithPriority,Ht=!0;function Vt(e,t){qt(t,e,!1)}function qt(e,t,n){var r=Ut.get(t);switch(void 0===r?2:r){case 0:r=Qt.bind(null,t,1,e);break;case 1:r=Jt.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Qt(e,t,n,r){_||R();var i=Xt,a=_;_=!0;try{P(i,e,t,n,r)}finally{(_=a)||F()}}function Jt(e,t,n,r){Wt(Yt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){if(Ht)if(0<bt.length&&-1<Ct.indexOf(e))e=Nt(null,e,t,n,r),bt.push(e);else{var i=Kt(e,t,n,r);if(null===i)St(e,r);else if(-1<Ct.indexOf(e))e=Nt(i,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return It=kt(It,e,t,n,r,i),!0;case"dragenter":return xt=kt(xt,e,t,n,r,i),!0;case"mouseover":return wt=kt(wt,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Tt.set(a,kt(Tt.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Mt.set(a,kt(Mt.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){St(e,r),e=ft(e,r,null,t);try{Z(pt,e)}finally{dt(e)}}}}function Kt(e,t,n,r){if(null!==(n=En(n=lt(r)))){var i=$e(n);if(null===i)n=null;else{var a=i.tag;if(13===a){if(null!==(n=et(i)))return n;n=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=ft(e,r,n,t);try{Z(pt,e)}finally{dt(e)}return null}var $t={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||$t.hasOwnProperty(e)&&$t[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys($t).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$t[t]=$t[e]}))}));var rn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function an(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62,""))}}function on(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sn=Oe;function ln(e,t){var n=Ke(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=A[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function dn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fn(e,t){var n,r=dn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dn(r)}}function pn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gn=null,mn=null;function yn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn="function"==typeof setTimeout?setTimeout:void 0,In="function"==typeof clearTimeout?clearTimeout:void 0;function xn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function wn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Tn=Math.random().toString(36).slice(2),Mn="__reactInternalInstance$"+Tn,An="__reactEventHandlers$"+Tn,Cn="__reactContainere$"+Tn;function En(e){var t=e[Mn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Cn]||n[Mn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=wn(e);null!==e;){if(n=e[Mn])return n;e=wn(e)}return t}n=(e=n).parentNode}return null}function Nn(e){return!(e=e[Mn]||e[Cn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Sn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function kn(e){return e[An]||null}function jn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Dn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}function Ln(e,t,n){(t=Dn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function On(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=jn(t);for(t=n.length;0<t--;)Ln(n[t],"captured",e);for(t=0;t<n.length;t++)Ln(n[t],"bubbled",e)}}function Pn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Dn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Rn(e){e&&e.dispatchConfig.registrationName&&Pn(e._targetInst,null,e)}function zn(e){it(e,On)}var _n=null,Un=null,Fn=null;function Zn(){if(Fn)return Fn;var e,t,n=Un,r=n.length,i="value"in _n?_n.value:_n.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return Fn=i.slice(e,1<t?1-t:void 0)}function Gn(){return!0}function Bn(){return!1}function Yn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Gn:Bn,this.isPropagationStopped=Bn,this}function Wn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Hn(e){if(!(e instanceof this))throw Error(o(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Vn(e){e.eventPool=[],e.getPooled=Wn,e.release=Hn}i(Yn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Gn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Gn)},persist:function(){this.isPersistent=Gn},isPersistent:Bn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Bn,this._dispatchInstances=this._dispatchListeners=null}}),Yn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Yn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var a=new t;return i(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Vn(n),n},Vn(Yn);var qn=Yn.extend({data:null}),Qn=Yn.extend({data:null}),Jn=[9,13,27,32],Xn=E&&"CompositionEvent"in window,Kn=null;E&&"documentMode"in document&&(Kn=document.documentMode);var $n=E&&"TextEvent"in window&&!Kn,er=E&&(!Xn||Kn&&8<Kn&&11>=Kn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function ir(e,t){switch(e){case"keyup":return-1!==Jn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ar(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var or=!1;var sr={eventTypes:nr,extractEvents:function(e,t,n,r){var i;if(Xn)e:{switch(e){case"compositionstart":var a=nr.compositionStart;break e;case"compositionend":a=nr.compositionEnd;break e;case"compositionupdate":a=nr.compositionUpdate;break e}a=void 0}else or?ir(e,n)&&(a=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(a=nr.compositionStart);return a?(er&&"ko"!==n.locale&&(or||a!==nr.compositionStart?a===nr.compositionEnd&&or&&(i=Zn()):(Un="value"in(_n=r)?_n.value:_n.textContent,or=!0)),a=qn.getPooled(a,t,n,r),i?a.data=i:null!==(i=ar(n))&&(a.data=i),zn(a),i=a):i=null,(e=$n?function(e,t){switch(e){case"compositionend":return ar(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(or)return"compositionend"===e||!Xn&&ir(e,t)?(e=Zn(),Fn=Un=_n=null,or=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Qn.getPooled(nr.beforeInput,t,n,r)).data=e,zn(t)):t=null,null===i?t:null===t?i:[i,t]}},lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var ur={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function dr(e,t,n){return(e=Yn.getPooled(ur.change,e,t,n)).type="change",D(n),zn(e),e}var fr=null,pr=null;function hr(e){st(e)}function gr(e){if(xe(Sn(e)))return e}function mr(e,t){if("change"===e)return t}var yr=!1;function vr(){fr&&(fr.detachEvent("onpropertychange",br),pr=fr=null)}function br(e){if("value"===e.propertyName&&gr(pr))if(e=dr(pr,e,lt(e)),_)st(e);else{_=!0;try{O(hr,e)}finally{_=!1,F()}}}function Ir(e,t,n){"focus"===e?(vr(),pr=n,(fr=t).attachEvent("onpropertychange",br)):"blur"===e&&vr()}function xr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return gr(pr)}function wr(e,t){if("click"===e)return gr(t)}function Tr(e,t){if("input"===e||"change"===e)return gr(t)}E&&(yr=ct("input")&&(!document.documentMode||9<document.documentMode));var Mr={eventTypes:ur,_isInputEventSupported:yr,extractEvents:function(e,t,n,r){var i=t?Sn(t):window,a=i.nodeName&&i.nodeName.toLowerCase();if("select"===a||"input"===a&&"file"===i.type)var o=mr;else if(cr(i))if(yr)o=Tr;else{o=xr;var s=Ir}else(a=i.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(o=wr);if(o&&(o=o(e,t)))return dr(o,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ee(i,"number",i.value)}},Ar=Yn.extend({view:null,detail:null}),Cr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Er(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cr[e])&&!!t[e]}function Nr(){return Er}var Sr=0,kr=0,jr=!1,Dr=!1,Lr=Ar.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Nr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Sr;return Sr=e.screenX,jr?"mousemove"===e.type?e.screenX-t:0:(jr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=kr;return kr=e.screenY,Dr?"mousemove"===e.type?e.screenY-t:0:(Dr=!0,0)}}),Or=Lr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Pr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Rr={eventTypes:Pr,extractEvents:function(e,t,n,r,i){var a="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(a&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!o&&!a)return null;(a=r.window===r?r:(a=r.ownerDocument)?a.defaultView||a.parentWindow:window,o)?(o=t,null!==(t=(t=n.relatedTarget||n.toElement)?En(t):null)&&(t!==$e(t)||5!==t.tag&&6!==t.tag)&&(t=null)):o=null;if(o===t)return null;if("mouseout"===e||"mouseover"===e)var s=Lr,l=Pr.mouseLeave,c=Pr.mouseEnter,u="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Or,l=Pr.pointerLeave,c=Pr.pointerEnter,u="pointer");if(e=null==o?a:Sn(o),a=null==t?a:Sn(t),(l=s.getPooled(l,o,n,r)).type=u+"leave",l.target=e,l.relatedTarget=a,(n=s.getPooled(c,t,n,r)).type=u+"enter",n.target=a,n.relatedTarget=e,u=t,(r=o)&&u)e:{for(c=u,o=0,e=s=r;e;e=jn(e))o++;for(e=0,t=c;t;t=jn(t))e++;for(;0<o-e;)s=jn(s),o--;for(;0<e-o;)c=jn(c),e--;for(;o--;){if(s===c||s===c.alternate)break e;s=jn(s),c=jn(c)}s=null}else s=null;for(c=s,s=[];r&&r!==c&&(null===(o=r.alternate)||o!==c);)s.push(r),r=jn(r);for(r=[];u&&u!==c&&(null===(o=u.alternate)||o!==c);)r.push(u),u=jn(u);for(u=0;u<s.length;u++)Pn(s[u],"bubbled",l);for(u=r.length;0<u--;)Pn(r[u],"captured",n);return 0==(64&i)?[l]:[l,n]}};var zr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},_r=Object.prototype.hasOwnProperty;function Ur(e,t){if(zr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!_r.call(t,n[r])||!zr(e[n[r]],t[n[r]]))return!1;return!0}var Fr=E&&"documentMode"in document&&11>=document.documentMode,Zr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Gr=null,Br=null,Yr=null,Wr=!1;function Hr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Wr||null==Gr||Gr!==un(n)?null:("selectionStart"in(n=Gr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Yr&&Ur(Yr,n)?null:(Yr=n,(e=Yn.getPooled(Zr.select,Br,e,t)).type="select",e.target=Gr,zn(e),e))}var Vr={eventTypes:Zr,extractEvents:function(e,t,n,r,i,a){if(!(a=!(i=a||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Ke(i),a=A.onSelect;for(var o=0;o<a.length;o++)if(!i.has(a[o])){i=!1;break e}i=!0}a=!i}if(a)return null;switch(i=t?Sn(t):window,e){case"focus":(cr(i)||"true"===i.contentEditable)&&(Gr=i,Br=t,Yr=null);break;case"blur":Yr=Br=Gr=null;break;case"mousedown":Wr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Wr=!1,Hr(n,r);case"selectionchange":if(Fr)break;case"keydown":case"keyup":return Hr(n,r)}return null}},qr=Yn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Qr=Yn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jr=Ar.extend({relatedTarget:null});function Xr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Kr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$r={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ei=Ar.extend({key:function(e){if(e.key){var t=Kr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Xr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?$r[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Nr,charCode:function(e){return"keypress"===e.type?Xr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Xr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ti=Lr.extend({dataTransfer:null}),ni=Ar.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Nr}),ri=Yn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ii=Lr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ai={eventTypes:zt,extractEvents:function(e,t,n,r){var i=_t.get(e);if(!i)return null;switch(e){case"keypress":if(0===Xr(n))return null;case"keydown":case"keyup":e=ei;break;case"blur":case"focus":e=Jr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Lr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ti;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ni;break;case He:case Ve:case qe:e=qr;break;case Qe:e=ri;break;case"scroll":e=Ar;break;case"wheel":e=ii;break;case"copy":case"cut":case"paste":e=Qr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Or;break;default:e=Yn}return zn(t=e.getPooled(i,t,n,r)),t}};if(v)throw Error(o(101));v=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),I(),h=kn,g=Nn,m=Sn,C({SimpleEventPlugin:ai,EnterLeaveEventPlugin:Rr,ChangeEventPlugin:Mr,SelectEventPlugin:Vr,BeforeInputEventPlugin:sr});var oi=[],si=-1;function li(e){0>si||(e.current=oi[si],oi[si]=null,si--)}function ci(e,t){si++,oi[si]=e.current,e.current=t}var ui={},di={current:ui},fi={current:!1},pi=ui;function hi(e,t){var n=e.type.contextTypes;if(!n)return ui;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function gi(e){return null!=(e=e.childContextTypes)}function mi(){li(fi),li(di)}function yi(e,t,n){if(di.current!==ui)throw Error(o(168));ci(di,t),ci(fi,n)}function vi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in e))throw Error(o(108,me(t)||"Unknown",a));return i({},n,{},r)}function bi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ui,pi=di.current,ci(di,e),ci(fi,fi.current),!0}function Ii(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=vi(e,t,pi),r.__reactInternalMemoizedMergedChildContext=e,li(fi),li(di),ci(di,e)):li(fi),ci(fi,n)}var xi=a.unstable_runWithPriority,wi=a.unstable_scheduleCallback,Ti=a.unstable_cancelCallback,Mi=a.unstable_requestPaint,Ai=a.unstable_now,Ci=a.unstable_getCurrentPriorityLevel,Ei=a.unstable_ImmediatePriority,Ni=a.unstable_UserBlockingPriority,Si=a.unstable_NormalPriority,ki=a.unstable_LowPriority,ji=a.unstable_IdlePriority,Di={},Li=a.unstable_shouldYield,Oi=void 0!==Mi?Mi:function(){},Pi=null,Ri=null,zi=!1,_i=Ai(),Ui=1e4>_i?Ai:function(){return Ai()-_i};function Fi(){switch(Ci()){case Ei:return 99;case Ni:return 98;case Si:return 97;case ki:return 96;case ji:return 95;default:throw Error(o(332))}}function Zi(e){switch(e){case 99:return Ei;case 98:return Ni;case 97:return Si;case 96:return ki;case 95:return ji;default:throw Error(o(332))}}function Gi(e,t){return e=Zi(e),xi(e,t)}function Bi(e,t,n){return e=Zi(e),wi(e,t,n)}function Yi(e){return null===Pi?(Pi=[e],Ri=wi(Ei,Hi)):Pi.push(e),Di}function Wi(){if(null!==Ri){var e=Ri;Ri=null,Ti(e)}Hi()}function Hi(){if(!zi&&null!==Pi){zi=!0;var e=0;try{var t=Pi;Gi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Pi=null}catch(t){throw null!==Pi&&(Pi=Pi.slice(e+1)),wi(Ei,Wi),t}finally{zi=!1}}}function Vi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function qi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Qi={current:null},Ji=null,Xi=null,Ki=null;function $i(){Ki=Xi=Ji=null}function ea(e){var t=Qi.current;li(Qi),e.type._context._currentValue=t}function ta(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function na(e,t){Ji=e,Ki=Xi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(ko=!0),e.firstContext=null)}function ra(e,t){if(Ki!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Ki=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Xi){if(null===Ji)throw Error(o(308));Xi=t,Ji.dependencies={expirationTime:0,firstContext:t,responders:null}}else Xi=Xi.next=t;return e._currentValue}var ia=!1;function aa(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function oa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function sa(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function la(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ca(e,t){var n=e.alternate;null!==n&&oa(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function ua(e,t,n,r){var a=e.updateQueue;ia=!1;var o=a.baseQueue,s=a.shared.pending;if(null!==s){if(null!==o){var l=o.next;o.next=s.next,s.next=l}o=s,a.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=s))}if(null!==o){l=o.next;var c=a.baseState,u=0,d=null,f=null,p=null;if(null!==l)for(var h=l;;){if((s=h.expirationTime)<r){var g={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(f=p=g,d=c):p=p.next=g,s>u&&(u=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),al(s,h.suspenseConfig);e:{var m=e,y=h;switch(s=t,g=n,y.tag){case 1:if("function"==typeof(m=y.payload)){c=m.call(g,c,s);break e}c=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null==(s="function"==typeof(m=y.payload)?m.call(g,c,s):m))break e;c=i({},c,s);break e;case 2:ia=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=a.effects)?a.effects=[h]:s.push(h))}if(null===(h=h.next)||h===l){if(null===(s=a.shared.pending))break;h=o.next=s.next,s.next=l,a.baseQueue=o=s,a.shared.pending=null}}null===p?d=c:p.next=f,a.baseState=d,a.baseQueue=p,ol(u),e.expirationTime=u,e.memoizedState=c}}function da(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!=typeof r)throw Error(o(191,r));r.call(i)}}}var fa=J.ReactCurrentBatchConfig,pa=(new r.Component).refs;function ha(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var ga={isMounted:function(e){return!!(e=e._reactInternalFiber)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Hs(),i=fa.suspense;(i=sa(r=Vs(r,e,i),i)).payload=t,null!=n&&(i.callback=n),la(e,i),qs(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Hs(),i=fa.suspense;(i=sa(r=Vs(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),la(e,i),qs(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Hs(),r=fa.suspense;(r=sa(n=Vs(n,e,r),r)).tag=2,null!=t&&(r.callback=t),la(e,r),qs(e,n)}};function ma(e,t,n,r,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!Ur(n,r)||!Ur(i,a))}function ya(e,t,n){var r=!1,i=ui,a=t.contextType;return"object"==typeof a&&null!==a?a=ra(a):(i=gi(t)?pi:di.current,a=(r=null!=(r=t.contextTypes))?hi(e,i):ui),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ga,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function va(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ga.enqueueReplaceState(t,t.state,null)}function ba(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=pa,aa(e);var a=t.contextType;"object"==typeof a&&null!==a?i.context=ra(a):(a=gi(t)?pi:di.current,i.context=hi(e,a)),ua(e,n,i,r),i.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ha(e,t,a,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ga.enqueueReplaceState(i,i.state,null),ua(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var Ia=Array.isArray;function xa(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===pa&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function wa(e,t){if("textarea"!==e.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ta(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Cl(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Sl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=xa(e,t,n),r.return=e,r):((r=El(n.type,n.key,n.props,null,e.mode,r)).ref=xa(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=kl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Nl(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Sl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=El(t.type,t.key,t.props,null,e.mode,n)).ref=xa(e,null,t),n.return=e,n;case te:return(t=kl(t,e.mode,n)).return=e,t}if(Ia(t)||ge(t))return(t=Nl(t,e.mode,n,null)).return=e,t;wa(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?d(e,t,n.props.children,r,i):c(e,t,n,r):null;case te:return n.key===i?u(e,t,n,r):null}if(Ia(n)||ge(n))return null!==i?null:d(e,t,n,r,null);wa(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?d(t,e,r.props.children,i,r.key):c(t,e,r,i);case te:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Ia(r)||ge(r))return d(t,e=e.get(n)||null,r,i,null);wa(t,r)}return null}function g(i,o,s,l){for(var c=null,u=null,d=o,g=o=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var y=p(i,d,s[g],l);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(i,d),o=a(y,o,g),null===u?c=y:u.sibling=y,u=y,d=m}if(g===s.length)return n(i,d),c;if(null===d){for(;g<s.length;g++)null!==(d=f(i,s[g],l))&&(o=a(d,o,g),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(i,d);g<s.length;g++)null!==(m=h(d,i,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),o=a(m,o,g),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(i,e)})),c}function m(i,s,l,c){var u=ge(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,g=s,m=s=0,y=null,v=l.next();null!==g&&!v.done;m++,v=l.next()){g.index>m?(y=g,g=null):y=g.sibling;var b=p(i,g,v.value,c);if(null===b){null===g&&(g=y);break}e&&g&&null===b.alternate&&t(i,g),s=a(b,s,m),null===d?u=b:d.sibling=b,d=b,g=y}if(v.done)return n(i,g),u;if(null===g){for(;!v.done;m++,v=l.next())null!==(v=f(i,v.value,c))&&(s=a(v,s,m),null===d?u=v:d.sibling=v,d=v);return u}for(g=r(i,g);!v.done;m++,v=l.next())null!==(v=h(g,i,m,v.value,c))&&(e&&null!==v.alternate&&g.delete(null===v.key?m:v.key),s=a(v,s,m),null===d?u=v:d.sibling=v,d=v);return e&&g.forEach((function(e){return t(i,e)})),u}return function(e,r,a,l){var c="object"==typeof a&&null!==a&&a.type===ne&&null===a.key;c&&(a=a.props.children);var u="object"==typeof a&&null!==a;if(u)switch(a.$$typeof){case ee:e:{for(u=a.key,c=r;null!==c;){if(c.key===u){switch(c.tag){case 7:if(a.type===ne){n(e,c.sibling),(r=i(c,a.props.children)).return=e,e=r;break e}break;default:if(c.elementType===a.type){n(e,c.sibling),(r=i(c,a.props)).ref=xa(e,c,a),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}a.type===ne?((r=Nl(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=El(a.type,a.key,a.props,null,e.mode,l)).ref=xa(e,r,a),l.return=e,e=l)}return s(e);case te:e:{for(c=a.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=i(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=kl(a,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,a)).return=e,e=r):(n(e,r),(r=Sl(a,e.mode,l)).return=e,e=r),s(e);if(Ia(a))return g(e,r,a,l);if(ge(a))return m(e,r,a,l);if(u&&wa(e,a),void 0===a&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(o(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Ma=Ta(!0),Aa=Ta(!1),Ca={},Ea={current:Ca},Na={current:Ca},Sa={current:Ca};function ka(e){if(e===Ca)throw Error(o(174));return e}function ja(e,t){switch(ci(Sa,t),ci(Na,e),ci(Ea,Ca),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ze(null,"");break;default:t=ze(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(Ea),ci(Ea,t)}function Da(){li(Ea),li(Na),li(Sa)}function La(e){ka(Sa.current);var t=ka(Ea.current),n=ze(t,e.type);t!==n&&(ci(Na,e),ci(Ea,n))}function Oa(e){Na.current===e&&(li(Ea),li(Na))}var Pa={current:0};function Ra(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function za(e,t){return{responder:e,props:t}}var _a=J.ReactCurrentDispatcher,Ua=J.ReactCurrentBatchConfig,Fa=0,Za=null,Ga=null,Ba=null,Ya=!1;function Wa(){throw Error(o(321))}function Ha(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!zr(e[n],t[n]))return!1;return!0}function Va(e,t,n,r,i,a){if(Fa=a,Za=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,_a.current=null===e||null===e.memoizedState?yo:vo,e=n(r,i),t.expirationTime===Fa){a=0;do{if(t.expirationTime=0,!(25>a))throw Error(o(301));a+=1,Ba=Ga=null,t.updateQueue=null,_a.current=bo,e=n(r,i)}while(t.expirationTime===Fa)}if(_a.current=mo,t=null!==Ga&&null!==Ga.next,Fa=0,Ba=Ga=Za=null,Ya=!1,t)throw Error(o(300));return e}function qa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ba?Za.memoizedState=Ba=e:Ba=Ba.next=e,Ba}function Qa(){if(null===Ga){var e=Za.alternate;e=null!==e?e.memoizedState:null}else e=Ga.next;var t=null===Ba?Za.memoizedState:Ba.next;if(null!==t)Ba=t,Ga=e;else{if(null===e)throw Error(o(310));e={memoizedState:(Ga=e).memoizedState,baseState:Ga.baseState,baseQueue:Ga.baseQueue,queue:Ga.queue,next:null},null===Ba?Za.memoizedState=Ba=e:Ba=Ba.next=e}return Ba}function Ja(e,t){return"function"==typeof t?t(e):t}function Xa(e){var t=Qa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=Ga,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=a=null,c=i;do{var u=c.expirationTime;if(u<Fa){var d={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,a=r):l=l.next=d,u>Za.expirationTime&&(Za.expirationTime=u,ol(u))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),al(u,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==i);null===l?a=r:l.next=s,zr(r,t.memoizedState)||(ko=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Ka(e){var t=Qa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);zr(a,t.memoizedState)||(ko=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function $a(e){var t=qa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Ja,lastRenderedState:e}).dispatch=go.bind(null,Za,e),[t.memoizedState,e]}function eo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Za.updateQueue)?(t={lastEffect:null},Za.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function to(){return Qa().memoizedState}function no(e,t,n,r){var i=qa();Za.effectTag|=e,i.memoizedState=eo(1|t,n,void 0,void 0===r?null:r)}function ro(e,t,n,r){var i=Qa();r=void 0===r?null:r;var a=void 0;if(null!==Ga){var o=Ga.memoizedState;if(a=o.destroy,null!==r&&Ha(r,o.deps))return void eo(t,n,a,r)}Za.effectTag|=e,i.memoizedState=eo(1|t,n,a,r)}function io(e,t){return no(516,4,e,t)}function ao(e,t){return ro(516,4,e,t)}function oo(e,t){return ro(4,2,e,t)}function so(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function lo(e,t,n){return n=null!=n?n.concat([e]):null,ro(4,2,so.bind(null,t,e),n)}function co(){}function uo(e,t){return qa().memoizedState=[e,void 0===t?null:t],e}function fo(e,t){var n=Qa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ha(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function po(e,t){var n=Qa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ha(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ho(e,t,n){var r=Fi();Gi(98>r?98:r,(function(){e(!0)})),Gi(97<r?97:r,(function(){var r=Ua.suspense;Ua.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ua.suspense=r}}))}function go(e,t,n){var r=Hs(),i=fa.suspense;i={expirationTime:r=Vs(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Za||null!==a&&a===Za)Ya=!0,i.expirationTime=Fa,Za.expirationTime=Fa;else{if(0===e.expirationTime&&(null===a||0===a.expirationTime)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.eagerReducer=a,i.eagerState=s,zr(s,o))return}catch(e){}qs(e,r)}}var mo={readContext:ra,useCallback:Wa,useContext:Wa,useEffect:Wa,useImperativeHandle:Wa,useLayoutEffect:Wa,useMemo:Wa,useReducer:Wa,useRef:Wa,useState:Wa,useDebugValue:Wa,useResponder:Wa,useDeferredValue:Wa,useTransition:Wa},yo={readContext:ra,useCallback:uo,useContext:ra,useEffect:io,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,no(4,2,so.bind(null,t,e),n)},useLayoutEffect:function(e,t){return no(4,2,e,t)},useMemo:function(e,t){var n=qa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=qa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=go.bind(null,Za,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},qa().memoizedState=e},useState:$a,useDebugValue:co,useResponder:za,useDeferredValue:function(e,t){var n=$a(e),r=n[0],i=n[1];return io((function(){var n=Ua.suspense;Ua.suspense=void 0===t?null:t;try{i(e)}finally{Ua.suspense=n}}),[e,t]),r},useTransition:function(e){var t=$a(!1),n=t[0];return t=t[1],[uo(ho.bind(null,t,e),[t,e]),n]}},vo={readContext:ra,useCallback:fo,useContext:ra,useEffect:ao,useImperativeHandle:lo,useLayoutEffect:oo,useMemo:po,useReducer:Xa,useRef:to,useState:function(){return Xa(Ja)},useDebugValue:co,useResponder:za,useDeferredValue:function(e,t){var n=Xa(Ja),r=n[0],i=n[1];return ao((function(){var n=Ua.suspense;Ua.suspense=void 0===t?null:t;try{i(e)}finally{Ua.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Xa(Ja),n=t[0];return t=t[1],[fo(ho.bind(null,t,e),[t,e]),n]}},bo={readContext:ra,useCallback:fo,useContext:ra,useEffect:ao,useImperativeHandle:lo,useLayoutEffect:oo,useMemo:po,useReducer:Ka,useRef:to,useState:function(){return Ka(Ja)},useDebugValue:co,useResponder:za,useDeferredValue:function(e,t){var n=Ka(Ja),r=n[0],i=n[1];return ao((function(){var n=Ua.suspense;Ua.suspense=void 0===t?null:t;try{i(e)}finally{Ua.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ka(Ja),n=t[0];return t=t[1],[fo(ho.bind(null,t,e),[t,e]),n]}},Io=null,xo=null,wo=!1;function To(e,t){var n=Ml(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Mo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ao(e){if(wo){var t=xo;if(t){var n=t;if(!Mo(e,t)){if(!(t=xn(n.nextSibling))||!Mo(e,t))return e.effectTag=-1025&e.effectTag|2,wo=!1,void(Io=e);To(Io,n)}Io=e,xo=xn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,wo=!1,Io=e}}function Co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Io=e}function Eo(e){if(e!==Io)return!1;if(!wo)return Co(e),wo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vn(t,e.memoizedProps))for(t=xo;t;)To(e,t),t=xn(t.nextSibling);if(Co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){xo=xn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}xo=null}}else xo=Io?xn(e.stateNode.nextSibling):null;return!0}function No(){xo=Io=null,wo=!1}var So=J.ReactCurrentOwner,ko=!1;function jo(e,t,n,r){t.child=null===e?Aa(t,null,n,r):Ma(t,e.child,n,r)}function Do(e,t,n,r,i){n=n.render;var a=t.ref;return na(t,i),r=Va(e,t,n,r,a,i),null===e||ko?(t.effectTag|=1,jo(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),qo(e,t,i))}function Lo(e,t,n,r,i,a){if(null===e){var o=n.type;return"function"!=typeof o||Al(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=El(n.type,null,r,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Oo(e,t,o,r,i,a))}return o=e.child,i<a&&(i=o.memoizedProps,(n=null!==(n=n.compare)?n:Ur)(i,r)&&e.ref===t.ref)?qo(e,t,a):(t.effectTag|=1,(e=Cl(o,r)).ref=t.ref,e.return=t,t.child=e)}function Oo(e,t,n,r,i,a){return null!==e&&Ur(e.memoizedProps,r)&&e.ref===t.ref&&(ko=!1,i<a)?(t.expirationTime=e.expirationTime,qo(e,t,a)):Ro(e,t,n,r,a)}function Po(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ro(e,t,n,r,i){var a=gi(n)?pi:di.current;return a=hi(t,a),na(t,i),n=Va(e,t,n,r,a,i),null===e||ko?(t.effectTag|=1,jo(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),qo(e,t,i))}function zo(e,t,n,r,i){if(gi(n)){var a=!0;bi(t)}else a=!1;if(na(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ya(t,n,r),ba(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,c=n.contextType;"object"==typeof c&&null!==c?c=ra(c):c=hi(t,c=gi(n)?pi:di.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==r||l!==c)&&va(t,o,r,c),ia=!1;var f=t.memoizedState;o.state=f,ua(t,r,o,i),l=t.memoizedState,s!==r||f!==l||fi.current||ia?("function"==typeof u&&(ha(t,n,u,r),l=t.memoizedState),(s=ia||ma(t,n,s,r,f,l,c))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.effectTag|=4)):("function"==typeof o.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=c,r=s):("function"==typeof o.componentDidMount&&(t.effectTag|=4),r=!1)}else o=t.stateNode,oa(e,t),s=t.memoizedProps,o.props=t.type===t.elementType?s:qi(t.type,s),l=o.context,"object"==typeof(c=n.contextType)&&null!==c?c=ra(c):c=hi(t,c=gi(n)?pi:di.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==r||l!==c)&&va(t,o,r,c),ia=!1,l=t.memoizedState,o.state=l,ua(t,r,o,i),f=t.memoizedState,s!==r||l!==f||fi.current||ia?("function"==typeof u&&(ha(t,n,u,r),f=t.memoizedState),(u=ia||ma(t,n,s,r,l,f,c))?(d||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,f,c),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,f,c)),"function"==typeof o.componentDidUpdate&&(t.effectTag|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),o.props=r,o.state=f,o.context=c,r=u):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return _o(e,t,n,r,a,i)}function _o(e,t,n,r,i,a){Po(e,t);var o=0!=(64&t.effectTag);if(!r&&!o)return i&&Ii(t,n,!1),qo(e,t,a);r=t.stateNode,So.current=t;var s=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&o?(t.child=Ma(t,e.child,null,a),t.child=Ma(t,null,s,a)):jo(e,t,s,a),t.memoizedState=r.state,i&&Ii(t,n,!0),t.child}function Uo(e){var t=e.stateNode;t.pendingContext?yi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yi(0,t.context,!1),ja(e,t.containerInfo)}var Fo,Zo,Go,Bo={dehydrated:null,retryTime:0};function Yo(e,t,n){var r,i=t.mode,a=t.pendingProps,o=Pa.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&o)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),ci(Pa,1&o),null===e){if(void 0!==a.fallback&&Ao(t),s){if(s=a.fallback,(a=Nl(null,i,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(n=Nl(s,i,n,null)).return=t,a.sibling=n,t.memoizedState=Bo,t.child=a,n}return i=a.children,t.memoizedState=null,t.child=Aa(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(a=a.fallback,(n=Cl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Cl(i,a)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Bo,t.child=n,i}return n=Ma(t,e.child,a.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=a.fallback,(a=Nl(null,i,0,null)).return=t,a.child=e,null!==e&&(e.return=a),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(n=Nl(s,i,n,null)).return=t,a.sibling=n,n.effectTag|=2,a.childExpirationTime=0,t.memoizedState=Bo,t.child=a,n}return t.memoizedState=null,t.child=Ma(t,e,a.children,n)}function Wo(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ta(e.return,t)}function Ho(e,t,n,r,i,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailExpiration=0,o.tailMode=i,o.lastEffect=a)}function Vo(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(jo(e,t,r.children,n),0!=(2&(r=Pa.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Wo(e,n);else if(19===e.tag)Wo(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ci(Pa,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Ra(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ho(t,!1,i,n,a,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Ra(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ho(t,!0,n,null,a,t.lastEffect);break;case"together":Ho(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function qo(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&ol(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Cl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Cl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qo(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Jo(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return gi(t.type)&&mi(),null;case 3:return Da(),li(fi),li(di),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Eo(t)||(t.effectTag|=4),null;case 5:Oa(t),n=ka(Sa.current);var a=t.type;if(null!==e&&null!=t.stateNode)Zo(e,t,a,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(o(166));return null}if(e=ka(Ea.current),Eo(t)){r=t.stateNode,a=t.type;var s=t.memoizedProps;switch(r[Mn]=t,r[An]=s,a){case"iframe":case"object":case"embed":Vt("load",r);break;case"video":case"audio":for(e=0;e<Je.length;e++)Vt(Je[e],r);break;case"source":Vt("error",r);break;case"img":case"image":case"link":Vt("error",r),Vt("load",r);break;case"form":Vt("reset",r),Vt("submit",r);break;case"details":Vt("toggle",r);break;case"input":Te(r,s),Vt("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Vt("invalid",r),ln(n,"onChange");break;case"textarea":je(r,s),Vt("invalid",r),ln(n,"onChange")}for(var l in an(a,s),e=null,s)if(s.hasOwnProperty(l)){var c=s[l];"children"===l?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):M.hasOwnProperty(l)&&null!=c&&ln(n,l)}switch(a){case"input":Ie(r),Ce(r,s,!0);break;case"textarea":Ie(r),Le(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Re(a)),e===sn?"script"===a?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(a,{is:r.is}):(e=l.createElement(a),"select"===a&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,a),e[Mn]=t,e[An]=r,Fo(e,t),t.stateNode=e,l=on(a,r),a){case"iframe":case"object":case"embed":Vt("load",e),c=r;break;case"video":case"audio":for(c=0;c<Je.length;c++)Vt(Je[c],e);c=r;break;case"source":Vt("error",e),c=r;break;case"img":case"image":case"link":Vt("error",e),Vt("load",e),c=r;break;case"form":Vt("reset",e),Vt("submit",e),c=r;break;case"details":Vt("toggle",e),c=r;break;case"input":Te(e,r),c=we(e,r),Vt("invalid",e),ln(n,"onChange");break;case"option":c=Ne(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=i({},r,{value:void 0}),Vt("invalid",e),ln(n,"onChange");break;case"textarea":je(e,r),c=ke(e,r),Vt("invalid",e),ln(n,"onChange");break;default:c=r}an(a,c);var u=c;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?nn(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&Ue(e,d):"children"===s?"string"==typeof d?("textarea"!==a||""!==d)&&Fe(e,d):"number"==typeof d&&Fe(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(M.hasOwnProperty(s)?null!=d&&ln(n,s):null!=d&&X(e,s,d,l))}switch(a){case"input":Ie(e),Ce(e,r,!1);break;case"textarea":Ie(e),Le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ve(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Se(e,!!r.multiple,n,!1):null!=r.defaultValue&&Se(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=cn)}yn(a,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Go(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));n=ka(Sa.current),ka(Ea.current),Eo(t)?(n=t.stateNode,r=t.memoizedProps,n[Mn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Mn]=t,t.stateNode=n)}return null;case 13:return li(Pa),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Eo(t):(r=null!==(a=e.memoizedState),n||null===a||null!==(a=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=a,a.nextEffect=s):(t.firstEffect=t.lastEffect=a,a.nextEffect=null),a.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Pa.current)?Es===Is&&(Es=xs):(Es!==Is&&Es!==xs||(Es=ws),0!==Ds&&null!==Ms&&(Ll(Ms,Cs),Ol(Ms,Ds)))),(n||r)&&(t.effectTag|=4),null);case 4:return Da(),null;case 10:return ea(t),null;case 17:return gi(t.type)&&mi(),null;case 19:if(li(Pa),null===(r=t.memoizedState))return null;if(a=0!=(64&t.effectTag),null===(s=r.rendering)){if(a)Qo(r,!1);else if(Es!==Is||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Ra(s))){for(t.effectTag|=64,Qo(r,!1),null!==(a=e.updateQueue)&&(t.updateQueue=a,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(a=r).effectTag&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(e=a.alternate)?(a.childExpirationTime=0,a.expirationTime=s,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null):(a.childExpirationTime=e.childExpirationTime,a.expirationTime=e.expirationTime,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,s=e.dependencies,a.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return ci(Pa,1&Pa.current|2),t.child}s=s.sibling}}else{if(!a)if(null!==(e=Ra(s))){if(t.effectTag|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Qo(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ui()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,a=!0,Qo(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ui()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ui(),n.sibling=null,t=Pa.current,ci(Pa,a?1&t|2:1&t),n):null}throw Error(o(156,t.tag))}function Xo(e){switch(e.tag){case 1:gi(e.type)&&mi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Da(),li(fi),li(di),0!=(64&(t=e.effectTag)))throw Error(o(285));return e.effectTag=-4097&t|64,e;case 5:return Oa(e),null;case 13:return li(Pa),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return li(Pa),null;case 4:return Da(),null;case 10:return ea(e),null;default:return null}}function Ko(e,t){return{value:e,source:t,stack:ye(t)}}Fo=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Zo=function(e,t,n,r,a){var o=e.memoizedProps;if(o!==r){var s,l,c=t.stateNode;switch(ka(Ea.current),e=null,n){case"input":o=we(c,o),r=we(c,r),e=[];break;case"option":o=Ne(c,o),r=Ne(c,r),e=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":o=ke(c,o),r=ke(c,r),e=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(c.onclick=cn)}for(s in an(n,r),n=null,o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&null!=o[s])if("style"===s)for(l in c=o[s])c.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(M.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var u=r[s];if(c=null!=o?o[s]:void 0,r.hasOwnProperty(s)&&u!==c&&(null!=u||null!=c))if("style"===s)if(c){for(l in c)!c.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&c[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(e||(e=[]),e.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(e=e||[]).push(s,u)):"children"===s?c===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(M.hasOwnProperty(s)?(null!=u&&ln(a,s),e||c===u||(e=[])):(e=e||[]).push(s,u))}n&&(e=e||[]).push("style",n),a=e,(t.updateQueue=a)&&(t.effectTag|=4)}},Go=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var $o="function"==typeof WeakSet?WeakSet:Set;function es(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ye(n)),null!==n&&me(n.type),t=t.value,null!==e&&1===e.tag&&me(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function ts(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){vl(e,t)}else t.current=null}function ns(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:qi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(o(163))}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function is(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void is(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:qi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&da(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}da(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&yn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Rt(n)))));case 19:case 17:case 20:case 21:return}throw Error(o(163))}function os(e,t,n){switch("function"==typeof wl&&wl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Gi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){vl(i,e)}}e=e.next}while(e!==r)}))}break;case 1:ts(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){vl(e,t)}}(t,n);break;case 5:ts(t);break;case 4:us(e,t,n)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function cs(e){e:{for(var t=e.return;null!==t;){if(ls(t)){var n=t;break e}t=t.return}throw Error(o(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(o(161))}16&n.effectTag&&(Fe(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ls(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,a=5===i||6===i;if(a)t=a?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=cn));else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,a=5===i||6===i;if(a)t=a?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function us(e,t,n){for(var r,i,a=t,s=!1;;){if(!s){s=a.return;e:for(;;){if(null===s)throw Error(o(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===a.tag||6===a.tag){e:for(var l=e,c=a,u=n,d=c;;)if(os(l,d,u),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===c)break e;for(;null===d.sibling;){if(null===d.return||d.return===c)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(l=r,c=a.stateNode,8===l.nodeType?l.parentNode.removeChild(c):l.removeChild(c)):r.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){r=a.stateNode.containerInfo,i=!0,a.child.return=a,a=a.child;continue}}else if(os(e,a,n),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(s=!1)}a.sibling.return=a.return,a=a.sibling}}function ds(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rs(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[An]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Me(n,r),on(e,i),t=on(e,r),i=0;i<a.length;i+=2){var s=a[i],l=a[i+1];"style"===s?nn(n,l):"dangerouslySetInnerHTML"===s?Ue(n,l):"children"===s?Fe(n,l):X(n,s,l,t)}switch(e){case"input":Ae(n,r);break;case"textarea":De(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Se(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Se(n,!!r.multiple,r.defaultValue,!0):Se(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(o(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Rt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Os=Ui()),null!==n)e:for(e=n;;){if(5===e.tag)a=e.stateNode,r?"function"==typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none":(a=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,a.style.display=tn("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(a=e.child.sibling).return=e,e=a;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void fs(t);case 19:return void fs(t);case 17:return}throw Error(o(163))}function fs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new $o),t.forEach((function(t){var r=Il.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=sa(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Rs||(Rs=!0,zs=r),es(e,t)},n}function gs(e,t,n){(n=sa(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return es(e,t),r(i)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===_s?_s=new Set([this]):_s.add(this),es(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var ms,ys=Math.ceil,vs=J.ReactCurrentDispatcher,bs=J.ReactCurrentOwner,Is=0,xs=3,ws=4,Ts=0,Ms=null,As=null,Cs=0,Es=Is,Ns=null,Ss=1073741823,ks=1073741823,js=null,Ds=0,Ls=!1,Os=0,Ps=null,Rs=!1,zs=null,_s=null,Us=!1,Fs=null,Zs=90,Gs=null,Bs=0,Ys=null,Ws=0;function Hs(){return 0!=(48&Ts)?1073741821-(Ui()/10|0):0!==Ws?Ws:Ws=1073741821-(Ui()/10|0)}function Vs(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Fi();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&Ts))return Cs;if(null!==n)e=Vi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Vi(e,150,100);break;case 97:case 96:e=Vi(e,5e3,250);break;case 95:e=2;break;default:throw Error(o(326))}return null!==Ms&&e===Cs&&--e,e}function qs(e,t){if(50<Bs)throw Bs=0,Ys=null,Error(o(185));if(null!==(e=Qs(e,t))){var n=Fi();1073741823===t?0!=(8&Ts)&&0==(48&Ts)?$s(e):(Xs(e),0===Ts&&Wi()):Xs(e),0==(4&Ts)||98!==n&&99!==n||(null===Gs?Gs=new Map([[e,t]]):(void 0===(n=Gs.get(e))||n>t)&&Gs.set(e,t))}}function Qs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Ms===i&&(ol(t),Es===ws&&Ll(i,Cs)),Ol(i,t)),i}function Js(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Dl(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Xs(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Yi($s.bind(null,e));else{var t=Js(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Hs();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Di&&Ti(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Yi($s.bind(null,e)):Bi(r,Ks.bind(null,e),{timeout:10*(1073741821-t)-Ui()}),e.callbackNode=t}}}function Ks(e,t){if(Ws=0,t)return Pl(e,t=Hs()),Xs(e),null;var n=Js(e);if(0!==n){if(t=e.callbackNode,0!=(48&Ts))throw Error(o(327));if(gl(),e===Ms&&n===Cs||nl(e,n),null!==As){var r=Ts;Ts|=16;for(var i=il();;)try{ll();break}catch(t){rl(e,t)}if($i(),Ts=r,vs.current=i,1===Es)throw t=Ns,nl(e,n),Ll(e,n),Xs(e),t;if(null===As)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Es,Ms=null,r){case Is:case 1:throw Error(o(345));case 2:Pl(e,2<n?2:n);break;case xs:if(Ll(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=dl(i)),1073741823===Ss&&10<(i=Os+500-Ui())){if(Ls){var a=e.lastPingedTime;if(0===a||a>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(a=Js(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(fl.bind(null,e),i);break}fl(e);break;case ws:if(Ll(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=dl(i)),Ls&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(i=Js(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==ks?r=10*(1073741821-ks)-Ui():1073741823===Ss?r=0:(r=10*(1073741821-Ss)-5e3,0>(r=(i=Ui())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ys(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(fl.bind(null,e),r);break}fl(e);break;case 5:if(1073741823!==Ss&&null!==js){a=Ss;var s=js;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(a=Ui()-(10*(1073741821-a)-(0|s.timeoutMs||5e3)))<=i?0:i+r-a),10<r){Ll(e,n),e.timeoutHandle=bn(fl.bind(null,e),r);break}}fl(e);break;default:throw Error(o(329))}if(Xs(e),e.callbackNode===t)return Ks.bind(null,e)}}return null}function $s(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&Ts))throw Error(o(327));if(gl(),e===Ms&&t===Cs||nl(e,t),null!==As){var n=Ts;Ts|=16;for(var r=il();;)try{sl();break}catch(t){rl(e,t)}if($i(),Ts=n,vs.current=r,1===Es)throw n=Ns,nl(e,t),Ll(e,t),Xs(e),n;if(null!==As)throw Error(o(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ms=null,fl(e),Xs(e)}return null}function el(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&Wi()}}function tl(e,t){var n=Ts;Ts&=-2,Ts|=8;try{return e(t)}finally{0===(Ts=n)&&Wi()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,In(n)),null!==As)for(n=As.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&mi();break;case 3:Da(),li(fi),li(di);break;case 5:Oa(r);break;case 4:Da();break;case 13:case 19:li(Pa);break;case 10:ea(r)}n=n.return}Ms=e,As=Cl(e.current,null),Cs=t,Es=Is,Ns=null,ks=Ss=1073741823,js=null,Ds=0,Ls=!1}function rl(e,t){for(;;){try{if($i(),_a.current=mo,Ya)for(var n=Za.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Fa=0,Ba=Ga=Za=null,Ya=!1,null===As||null===As.return)return Es=1,Ns=t,As=null;e:{var i=e,a=As.return,o=As,s=t;if(t=Cs,o.effectTag|=2048,o.firstEffect=o.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var l=s;if(0==(2&o.mode)){var c=o.alternate;c?(o.updateQueue=c.updateQueue,o.memoizedState=c.memoizedState,o.expirationTime=c.expirationTime):(o.updateQueue=null,o.memoizedState=null)}var u=0!=(1&Pa.current),d=a;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var h=d.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!u)}}if(f){var g=d.updateQueue;if(null===g){var m=new Set;m.add(l),d.updateQueue=m}else g.add(l);if(0==(2&d.mode)){if(d.effectTag|=64,o.effectTag&=-2981,1===o.tag)if(null===o.alternate)o.tag=17;else{var y=sa(1073741823,null);y.tag=2,la(o,y)}o.expirationTime=1073741823;break e}s=void 0,o=t;var v=i.pingCache;if(null===v?(v=i.pingCache=new ps,s=new Set,v.set(l,s)):void 0===(s=v.get(l))&&(s=new Set,v.set(l,s)),!s.has(o)){s.add(o);var b=bl.bind(null,i,l,o);l.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((me(o.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ye(o))}5!==Es&&(Es=2),s=Ko(s,o),d=a;do{switch(d.tag){case 3:l=s,d.effectTag|=4096,d.expirationTime=t,ca(d,hs(d,l,t));break e;case 1:l=s;var I=d.type,x=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof I.getDerivedStateFromError||null!==x&&"function"==typeof x.componentDidCatch&&(null===_s||!_s.has(x)))){d.effectTag|=4096,d.expirationTime=t,ca(d,gs(d,l,t));break e}}d=d.return}while(null!==d)}As=ul(As)}catch(e){t=e;continue}break}}function il(){var e=vs.current;return vs.current=mo,null===e?mo:e}function al(e,t){e<Ss&&2<e&&(Ss=e),null!==t&&e<ks&&2<e&&(ks=e,js=t)}function ol(e){e>Ds&&(Ds=e)}function sl(){for(;null!==As;)As=cl(As)}function ll(){for(;null!==As&&!Li();)As=cl(As)}function cl(e){var t=ms(e.alternate,e,Cs);return e.memoizedProps=e.pendingProps,null===t&&(t=ul(e)),bs.current=null,t}function ul(e){As=e;do{var t=As.alternate;if(e=As.return,0==(2048&As.effectTag)){if(t=Jo(t,As,Cs),1===Cs||1!==As.childExpirationTime){for(var n=0,r=As.child;null!==r;){var i=r.expirationTime,a=r.childExpirationTime;i>n&&(n=i),a>n&&(n=a),r=r.sibling}As.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=As.firstEffect),null!==As.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=As.firstEffect),e.lastEffect=As.lastEffect),1<As.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=As:e.firstEffect=As,e.lastEffect=As))}else{if(null!==(t=Xo(As)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=As.sibling))return t;As=e}while(null!==As);return Es===Is&&(Es=5),null}function dl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function fl(e){var t=Fi();return Gi(99,pl.bind(null,e,t)),null}function pl(e,t){do{gl()}while(null!==Fs);if(0!=(48&Ts))throw Error(o(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=dl(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Ms&&(As=Ms=null,Cs=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var a=Ts;Ts|=32,bs.current=null,gn=Ht;var s=pn();if(hn(s)){if("selectionStart"in s)var l={start:s.selectionStart,end:s.selectionEnd};else e:{var c=(l=(l=s.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(c&&0!==c.rangeCount){l=c.anchorNode;var u=c.anchorOffset,d=c.focusNode;c=c.focusOffset;try{l.nodeType,d.nodeType}catch(e){l=null;break e}var f=0,p=-1,h=-1,g=0,m=0,y=s,v=null;t:for(;;){for(var b;y!==l||0!==u&&3!==y.nodeType||(p=f+u),y!==d||0!==c&&3!==y.nodeType||(h=f+c),3===y.nodeType&&(f+=y.nodeValue.length),null!==(b=y.firstChild);)v=y,y=b;for(;;){if(y===s)break t;if(v===l&&++g===u&&(p=f),v===d&&++m===c&&(h=f),null!==(b=y.nextSibling))break;v=(y=v).parentNode}y=b}l=-1===p||-1===h?null:{start:p,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;mn={activeElementDetached:null,focusedElem:s,selectionRange:l},Ht=!1,Ps=i;do{try{hl()}catch(e){if(null===Ps)throw Error(o(330));vl(Ps,e),Ps=Ps.nextEffect}}while(null!==Ps);Ps=i;do{try{for(s=e,l=t;null!==Ps;){var I=Ps.effectTag;if(16&I&&Fe(Ps.stateNode,""),128&I){var x=Ps.alternate;if(null!==x){var w=x.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&I){case 2:cs(Ps),Ps.effectTag&=-3;break;case 6:cs(Ps),Ps.effectTag&=-3,ds(Ps.alternate,Ps);break;case 1024:Ps.effectTag&=-1025;break;case 1028:Ps.effectTag&=-1025,ds(Ps.alternate,Ps);break;case 4:ds(Ps.alternate,Ps);break;case 8:us(s,u=Ps,l),ss(u)}Ps=Ps.nextEffect}}catch(e){if(null===Ps)throw Error(o(330));vl(Ps,e),Ps=Ps.nextEffect}}while(null!==Ps);if(w=mn,x=pn(),I=w.focusedElem,l=w.selectionRange,x!==I&&I&&I.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(I.ownerDocument.documentElement,I)){null!==l&&hn(I)&&(x=l.start,void 0===(w=l.end)&&(w=x),"selectionStart"in I?(I.selectionStart=x,I.selectionEnd=Math.min(w,I.value.length)):(w=(x=I.ownerDocument||document)&&x.defaultView||window).getSelection&&(w=w.getSelection(),u=I.textContent.length,s=Math.min(l.start,u),l=void 0===l.end?s:Math.min(l.end,u),!w.extend&&s>l&&(u=l,l=s,s=u),u=fn(I,s),d=fn(I,l),u&&d&&(1!==w.rangeCount||w.anchorNode!==u.node||w.anchorOffset!==u.offset||w.focusNode!==d.node||w.focusOffset!==d.offset)&&((x=x.createRange()).setStart(u.node,u.offset),w.removeAllRanges(),s>l?(w.addRange(x),w.extend(d.node,d.offset)):(x.setEnd(d.node,d.offset),w.addRange(x))))),x=[];for(w=I;w=w.parentNode;)1===w.nodeType&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof I.focus&&I.focus(),I=0;I<x.length;I++)(w=x[I]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Ht=!!gn,mn=gn=null,e.current=n,Ps=i;do{try{for(I=e;null!==Ps;){var T=Ps.effectTag;if(36&T&&as(I,Ps.alternate,Ps),128&T){x=void 0;var M=Ps.ref;if(null!==M){var A=Ps.stateNode;switch(Ps.tag){case 5:x=A;break;default:x=A}"function"==typeof M?M(x):M.current=x}}Ps=Ps.nextEffect}}catch(e){if(null===Ps)throw Error(o(330));vl(Ps,e),Ps=Ps.nextEffect}}while(null!==Ps);Ps=null,Oi(),Ts=a}else e.current=n;if(Us)Us=!1,Fs=e,Zs=t;else for(Ps=i;null!==Ps;)t=Ps.nextEffect,Ps.nextEffect=null,Ps=t;if(0===(t=e.firstPendingTime)&&(_s=null),1073741823===t?e===Ys?Bs++:(Bs=0,Ys=e):Bs=0,"function"==typeof xl&&xl(n.stateNode,r),Xs(e),Rs)throw Rs=!1,e=zs,zs=null,e;return 0!=(8&Ts)||Wi(),null}function hl(){for(;null!==Ps;){var e=Ps.effectTag;0!=(256&e)&&ns(Ps.alternate,Ps),0==(512&e)||Us||(Us=!0,Bi(97,(function(){return gl(),null}))),Ps=Ps.nextEffect}}function gl(){if(90!==Zs){var e=97<Zs?97:Zs;return Zs=90,Gi(e,ml)}}function ml(){if(null===Fs)return!1;var e=Fs;if(Fs=null,0!=(48&Ts))throw Error(o(331));var t=Ts;for(Ts|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rs(5,n),is(5,n)}}catch(t){if(null===e)throw Error(o(330));vl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Ts=t,Wi(),!0}function yl(e,t,n){la(e,t=hs(e,t=Ko(n,t),1073741823)),null!==(e=Qs(e,1073741823))&&Xs(e)}function vl(e,t){if(3===e.tag)yl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){yl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===_s||!_s.has(r))){la(n,e=gs(n,e=Ko(t,e),1073741823)),null!==(n=Qs(n,1073741823))&&Xs(n);break}}n=n.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ms===e&&Cs===n?Es===ws||Es===xs&&1073741823===Ss&&Ui()-Os<500?nl(e,Cs):Ls=!0:Dl(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Xs(e)))}function Il(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Vs(t=Hs(),e,null)),null!==(e=Qs(e,t))&&Xs(e)}ms=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||fi.current)ko=!0;else{if(r<n){switch(ko=!1,t.tag){case 3:Uo(t),No();break;case 5:if(La(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:gi(t.type)&&bi(t);break;case 4:ja(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,ci(Qi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Yo(e,t,n):(ci(Pa,1&Pa.current),null!==(t=qo(e,t,n))?t.sibling:null);ci(Pa,1&Pa.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Vo(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),ci(Pa,Pa.current),!r)return null}return qo(e,t,n)}ko=!1}}else ko=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=hi(t,di.current),na(t,n),i=Va(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,gi(r)){var a=!0;bi(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,aa(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&ha(t,r,s,e),i.updater=ga,t.stateNode=i,i._reactInternalFiber=t,ba(t,r,e,n),t=_o(null,t,r,!0,a,n)}else t.tag=0,jo(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,a=t.tag=function(e){if("function"==typeof e)return Al(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===de)return 14}return 2}(i),e=qi(i,e),a){case 0:t=Ro(null,t,i,e,n);break e;case 1:t=zo(null,t,i,e,n);break e;case 11:t=Do(null,t,i,e,n);break e;case 14:t=Lo(null,t,i,qi(i.type,e),r,n);break e}throw Error(o(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ro(e,t,r,i=t.elementType===r?i:qi(r,i),n);case 1:return r=t.type,i=t.pendingProps,zo(e,t,r,i=t.elementType===r?i:qi(r,i),n);case 3:if(Uo(t),r=t.updateQueue,null===e||null===r)throw Error(o(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,oa(e,t),ua(t,r,null,n),(r=t.memoizedState.element)===i)No(),t=qo(e,t,n);else{if((i=t.stateNode.hydrate)&&(xo=xn(t.stateNode.containerInfo.firstChild),Io=t,i=wo=!0),i)for(n=Aa(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else jo(e,t,r,n),No();t=t.child}return t;case 5:return La(t),null===e&&Ao(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,vn(r,i)?s=null:null!==a&&vn(r,a)&&(t.effectTag|=16),Po(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(jo(e,t,s,n),t=t.child),t;case 6:return null===e&&Ao(t),null;case 13:return Yo(e,t,n);case 4:return ja(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ma(t,null,r,n):jo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Do(e,t,r,i=t.elementType===r?i:qi(r,i),n);case 7:return jo(e,t,t.pendingProps,n),t.child;case 8:case 12:return jo(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,a=i.value;var l=t.type._context;if(ci(Qi,l._currentValue),l._currentValue=a,null!==s)if(l=s.value,0===(a=zr(l,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(s.children===i.children&&!fi.current){t=qo(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&a)){1===l.tag&&((u=sa(n,null)).tag=2,la(l,u)),l.expirationTime<n&&(l.expirationTime=n),null!==(u=l.alternate)&&u.expirationTime<n&&(u.expirationTime=n),ta(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}jo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(a=t.pendingProps).children,na(t,n),r=r(i=ra(i,a.unstable_observedBits)),t.effectTag|=1,jo(e,t,r,n),t.child;case 14:return a=qi(i=t.type,t.pendingProps),Lo(e,t,i,a=qi(i.type,a),r,n);case 15:return Oo(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:qi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,gi(r)?(e=!0,bi(t)):e=!1,na(t,n),ya(t,r,i),ba(t,r,i,n),_o(null,t,r,!0,e,n);case 19:return Vo(e,t,n)}throw Error(o(156,t.tag))};var xl=null,wl=null;function Tl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Ml(e,t,n,r){return new Tl(e,t,n,r)}function Al(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Cl(e,t){var n=e.alternate;return null===n?((n=Ml(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function El(e,t,n,r,i,a){var s=2;if(r=e,"function"==typeof e)Al(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case ne:return Nl(n.children,i,a,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=Ml(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=a,e;case ce:return(e=Ml(13,n,t,i)).type=ce,e.elementType=ce,e.expirationTime=a,e;case ue:return(e=Ml(19,n,t,i)).elementType=ue,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ae:s=10;break e;case oe:s=9;break e;case le:s=11;break e;case de:s=14;break e;case fe:s=16,r=null;break e;case pe:s=22;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ml(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=a,t}function Nl(e,t,n,r){return(e=Ml(7,e,r,t)).expirationTime=n,e}function Sl(e,t,n){return(e=Ml(6,e,null,t)).expirationTime=n,e}function kl(e,t,n){return(t=Ml(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Dl(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ll(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Ol(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Pl(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Rl(e,t,n,r){var i=t.current,a=Hs(),s=fa.suspense;a=Vs(a,i,s);e:if(n){t:{if($e(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(o(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(gi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(o(171))}if(1===n.tag){var c=n.type;if(gi(c)){n=vi(n,c,l);break e}}n=l}else n=ui;return null===t.context?t.context=n:t.pendingContext=n,(t=sa(a,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),la(i,t),qs(i,a),a}function zl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function _l(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Ul(e,t){_l(e,t),(e=e.alternate)&&_l(e,t)}function Fl(e,t,n){var r=new jl(e,t,n=null!=n&&!0===n.hydrate),i=Ml(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,aa(i),e[Cn]=r.current,n&&0!==t&&function(e,t){var n=Ke(t);Ct.forEach((function(e){ht(e,t,n)})),Et.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Zl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gl(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=zl(o);s.call(e)}}Rl(t,o,e,i)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Fl(e,0,t?{hydrate:!0}:void 0)}(n,r),o=a._internalRoot,"function"==typeof i){var l=i;i=function(){var e=zl(o);l.call(e)}}tl((function(){Rl(t,o,e,i)}))}return zl(o)}function Bl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Yl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zl(t))throw Error(o(200));return Bl(e,t,null,n)}Fl.prototype.render=function(e){Rl(e,this._internalRoot,null,null)},Fl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Rl(null,e,null,(function(){t[Cn]=null}))},gt=function(e){if(13===e.tag){var t=Vi(Hs(),150,100);qs(e,t),Ul(e,t)}},mt=function(e){13===e.tag&&(qs(e,3),Ul(e,3))},yt=function(e){if(13===e.tag){var t=Hs();qs(e,t=Vs(t,e,null)),Ul(e,t)}},N=function(e,t,n){switch(t){case"input":if(Ae(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=kn(r);if(!i)throw Error(o(90));xe(r),Ae(r,i)}}}break;case"textarea":De(e,n);break;case"select":null!=(t=n.value)&&Se(e,!!n.multiple,t,!1)}},O=el,P=function(e,t,n,r,i){var a=Ts;Ts|=4;try{return Gi(98,e.bind(null,t,n,r,i))}finally{0===(Ts=a)&&Wi()}},R=function(){0==(49&Ts)&&(function(){if(null!==Gs){var e=Gs;Gs=null,e.forEach((function(e,t){Pl(t,e),Xs(t)})),Wi()}}(),gl())},z=function(e,t){var n=Ts;Ts|=2;try{return e(t)}finally{0===(Ts=n)&&Wi()}};var Wl,Hl,Vl={Events:[Nn,Sn,kn,C,T,zn,function(e){it(e,Rn)},D,L,Xt,st,gl,{current:!1}]};Hl=(Wl={findFiberByHostInstance:En,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);xl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},wl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},Wl,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Hl?Hl(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vl,t.createPortal=Yl,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw Error(o(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&Ts))throw Error(o(187));var n=Ts;Ts|=1;try{return Gi(99,e.bind(null,t))}finally{Ts=n,Wi()}},t.hydrate=function(e,t,n){if(!Zl(t))throw Error(o(200));return Gl(null,e,t,!0,n)},t.render=function(e,t,n){if(!Zl(t))throw Error(o(200));return Gl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zl(e))throw Error(o(40));return!!e._reactRootContainer&&(tl((function(){Gl(null,null,e,!1,(function(){e._reactRootContainer=null,e[Cn]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return Yl(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zl(n))throw Error(o(200));if(null==e||void 0===e._reactInternalFiber)throw Error(o(38));return Gl(e,t,n,!1,r)},t.version="16.14.0"},function(e,t,n){"use strict";
66
+ */var r=n(0),i=n(85),a=n(86);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(o(227));function s(e,t,n,r,i,a,o,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var l=!1,c=null,u=!1,d=null,f={onError:function(e){l=!0,c=e}};function p(e,t,n,r,i,a,o,u,d){l=!1,c=null,s.apply(f,arguments)}var h=null,g=null,m=null;function y(e,t,n){var r=e.type||"unknown-event";e.currentTarget=m(n),function(e,t,n,r,i,a,s,f,h){if(p.apply(this,arguments),l){if(!l)throw Error(o(198));var g=c;l=!1,c=null,u||(u=!0,d=g)}}(r,t,void 0,e),e.currentTarget=null}var v=null,b={};function I(){if(v)for(var e in b){var t=b[e],n=v.indexOf(e);if(!(-1<n))throw Error(o(96,e));if(!w[n]){if(!t.extractEvents)throw Error(o(97,e));for(var r in w[n]=t,n=t.eventTypes){var i=void 0,a=n[r],s=t,l=r;if(T.hasOwnProperty(l))throw Error(o(99,l));T[l]=a;var c=a.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&x(c[i],s,l);i=!0}else a.registrationName?(x(a.registrationName,s,l),i=!0):i=!1;if(!i)throw Error(o(98,r,e))}}}}function x(e,t,n){if(M[e])throw Error(o(100,e));M[e]=t,A[e]=t.eventTypes[n].dependencies}var w=[],T={},M={},A={};function C(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(o(102,t));b[t]=r,n=!0}}n&&I()}var E=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),N=null,S=null,k=null;function j(e){if(e=g(e)){if("function"!=typeof N)throw Error(o(280));var t=e.stateNode;t&&(t=h(t),N(e.stateNode,e.type,t))}}function D(e){S?k?k.push(e):k=[e]:S=e}function L(){if(S){var e=S,t=k;if(k=S=null,j(e),t)for(e=0;e<t.length;e++)j(t[e])}}function O(e,t){return e(t)}function P(e,t,n,r,i){return e(t,n,r,i)}function R(){}var z=O,_=!1,U=!1;function Z(){null===S&&null===k||(R(),L())}function F(e,t,n){if(U)return e(t,n);U=!0;try{return z(e,t,n)}finally{U=!1,Z()}}var G=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,B=Object.prototype.hasOwnProperty,Y={},W={};function H(e,t,n,r,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a}var V={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){V[e]=new H(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];V[t]=new H(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){V[e]=new H(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){V[e]=new H(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){V[e]=new H(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){V[e]=new H(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){V[e]=new H(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){V[e]=new H(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){V[e]=new H(e,5,!1,e.toLowerCase(),null,!1)}));var q=/[\-:]([a-z])/g;function Q(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(q,Q);V[t]=new H(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(q,Q);V[t]=new H(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(q,Q);V[t]=new H(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){V[e]=new H(e,1,!1,e.toLowerCase(),null,!1)})),V.xlinkHref=new H("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){V[e]=new H(e,1,!1,e.toLowerCase(),null,!0)}));var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(e,t,n,r){var i=V.hasOwnProperty(t)?V[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!B.call(W,e)||!B.call(Y,e)&&(G.test(e)?W[e]=!0:(Y[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}J.hasOwnProperty("ReactCurrentDispatcher")||(J.ReactCurrentDispatcher={current:null}),J.hasOwnProperty("ReactCurrentBatchConfig")||(J.ReactCurrentBatchConfig={suspense:null});var K=/^(.*)[\\\/]/,$="function"==typeof Symbol&&Symbol.for,ee=$?Symbol.for("react.element"):60103,te=$?Symbol.for("react.portal"):60106,ne=$?Symbol.for("react.fragment"):60107,re=$?Symbol.for("react.strict_mode"):60108,ie=$?Symbol.for("react.profiler"):60114,ae=$?Symbol.for("react.provider"):60109,oe=$?Symbol.for("react.context"):60110,se=$?Symbol.for("react.concurrent_mode"):60111,le=$?Symbol.for("react.forward_ref"):60112,ce=$?Symbol.for("react.suspense"):60113,ue=$?Symbol.for("react.suspense_list"):60120,de=$?Symbol.for("react.memo"):60115,fe=$?Symbol.for("react.lazy"):60116,pe=$?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function ge(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function me(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ie:return"Profiler";case re:return"StrictMode";case ce:return"Suspense";case ue:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case oe:return"Context.Consumer";case ae:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return me(e.type);case pe:return me(e.render);case fe:if(e=1===e._status?e._result:null)return me(e)}return null}function ye(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,a=me(e.type);n=null,r&&(n=me(r.type)),r=a,a="",i?a=" (at "+i.fileName.replace(K,"")+":"+i.lineNumber+")":n&&(a=" (created by "+n+")"),n="\n in "+(r||"Unknown")+a}t+=n,e=e.return}while(e);return t}function ve(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ie(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function xe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function we(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Te(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ve(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Me(e,t){null!=(t=t.checked)&&X(e,"checked",t,!1)}function Ae(e,t){Me(e,t);var n=ve(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ee(e,t.type,ve(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ce(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ee(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ne(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Se(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ve(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ke(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function je(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ve(n)}}function De(e,t){var n=ve(t.value),r=ve(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Oe="http://www.w3.org/1999/xhtml",Pe="http://www.w3.org/2000/svg";function Re(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ze(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Re(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var _e,Ue=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Pe||"innerHTML"in e)e.innerHTML=t;else{for((_e=_e||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=_e.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ze(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Fe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ge={animationend:Fe("Animation","AnimationEnd"),animationiteration:Fe("Animation","AnimationIteration"),animationstart:Fe("Animation","AnimationStart"),transitionend:Fe("Transition","TransitionEnd")},Be={},Ye={};function We(e){if(Be[e])return Be[e];if(!Ge[e])return e;var t,n=Ge[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ye)return Be[e]=n[t];return e}E&&(Ye=document.createElement("div").style,"AnimationEvent"in window||(delete Ge.animationend.animation,delete Ge.animationiteration.animation,delete Ge.animationstart.animation),"TransitionEvent"in window||delete Ge.transitionend.transition);var He=We("animationend"),Ve=We("animationiteration"),qe=We("animationstart"),Qe=We("transitionend"),Je="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"==typeof WeakMap?WeakMap:Map);function Ke(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if($e(e)!==e)throw Error(o(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return tt(i),e;if(a===r)return tt(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(o(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function it(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var at=null;function ot(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)y(e,t[r],n[r]);else t&&y(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(at=rt(at,e)),e=at,at=null,e){if(it(e,ot),at)throw Error(o(95));if(u)throw e=d,u=!1,d=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!E)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function dt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function ft(e,t,n,r){if(ut.length){var i=ut.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function pt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=En(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=lt(e.nativeEvent);r=e.topLevelType;var a=e.nativeEvent,o=e.eventSystemFlags;0===n&&(o|=64);for(var s=null,l=0;l<w.length;l++){var c=w[l];c&&(c=c.extractEvents(r,t,a,i,o))&&(s=rt(s,c))}st(s)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":qt(t,"scroll",!0);break;case"focus":case"blur":qt(t,"focus",!0),qt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&qt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Je.indexOf(e)&&Vt(e,t)}n.set(e,null)}}var gt,mt,yt,vt=!1,bt=[],It=null,xt=null,wt=null,Tt=new Map,Mt=new Map,At=[],Ct="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Et="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Nt(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function St(e,t){switch(e){case"focus":case"blur":It=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":wt=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function kt(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e=Nt(t,n,r,i,a),null!==t&&(null!==(t=Nn(t))&&mt(t)),e):(e.eventSystemFlags|=r,e)}function jt(e){var t=En(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void a.unstable_runWithPriority(e.priority,(function(){yt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;var t=Kt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Nn(t);return null!==n&&mt(n),e.blockedOn=t,!1}return!0}function Lt(e,t,n){Dt(e)&&n.delete(t)}function Ot(){for(vt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=Nn(e.blockedOn))&&gt(e);break}var t=Kt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==It&&Dt(It)&&(It=null),null!==xt&&Dt(xt)&&(xt=null),null!==wt&&Dt(wt)&&(wt=null),Tt.forEach(Lt),Mt.forEach(Lt)}function Pt(e,t){e.blockedOn===t&&(e.blockedOn=null,vt||(vt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ot)))}function Rt(e){function t(t){return Pt(t,e)}if(0<bt.length){Pt(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==It&&Pt(It,e),null!==xt&&Pt(xt,e),null!==wt&&Pt(wt,e),Tt.forEach(t),Mt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)jt(n),null===n.blockedOn&&At.shift()}var zt={},_t=new Map,Ut=new Map,Zt=["abort","abort",He,"animationEnd",Ve,"animationIteration",qe,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Qe,"transitionEnd","waiting","waiting"];function Ft(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],a="on"+(i[0].toUpperCase()+i.slice(1));a={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[r],eventPriority:t},Ut.set(r,t),_t.set(r,a),zt[i]=a}}Ft("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ft("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ft(Zt,2);for(var Gt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Bt=0;Bt<Gt.length;Bt++)Ut.set(Gt[Bt],0);var Yt=a.unstable_UserBlockingPriority,Wt=a.unstable_runWithPriority,Ht=!0;function Vt(e,t){qt(t,e,!1)}function qt(e,t,n){var r=Ut.get(t);switch(void 0===r?2:r){case 0:r=Qt.bind(null,t,1,e);break;case 1:r=Jt.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Qt(e,t,n,r){_||R();var i=Xt,a=_;_=!0;try{P(i,e,t,n,r)}finally{(_=a)||Z()}}function Jt(e,t,n,r){Wt(Yt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){if(Ht)if(0<bt.length&&-1<Ct.indexOf(e))e=Nt(null,e,t,n,r),bt.push(e);else{var i=Kt(e,t,n,r);if(null===i)St(e,r);else if(-1<Ct.indexOf(e))e=Nt(i,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return It=kt(It,e,t,n,r,i),!0;case"dragenter":return xt=kt(xt,e,t,n,r,i),!0;case"mouseover":return wt=kt(wt,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Tt.set(a,kt(Tt.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Mt.set(a,kt(Mt.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){St(e,r),e=ft(e,r,null,t);try{F(pt,e)}finally{dt(e)}}}}function Kt(e,t,n,r){if(null!==(n=En(n=lt(r)))){var i=$e(n);if(null===i)n=null;else{var a=i.tag;if(13===a){if(null!==(n=et(i)))return n;n=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=ft(e,r,n,t);try{F(pt,e)}finally{dt(e)}return null}var $t={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||$t.hasOwnProperty(e)&&$t[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys($t).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$t[t]=$t[e]}))}));var rn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function an(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62,""))}}function on(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sn=Oe;function ln(e,t){var n=Ke(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=A[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function dn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fn(e,t){var n,r=dn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dn(r)}}function pn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gn=null,mn=null;function yn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn="function"==typeof setTimeout?setTimeout:void 0,In="function"==typeof clearTimeout?clearTimeout:void 0;function xn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function wn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Tn=Math.random().toString(36).slice(2),Mn="__reactInternalInstance$"+Tn,An="__reactEventHandlers$"+Tn,Cn="__reactContainere$"+Tn;function En(e){var t=e[Mn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Cn]||n[Mn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=wn(e);null!==e;){if(n=e[Mn])return n;e=wn(e)}return t}n=(e=n).parentNode}return null}function Nn(e){return!(e=e[Mn]||e[Cn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Sn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function kn(e){return e[An]||null}function jn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Dn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}function Ln(e,t,n){(t=Dn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function On(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=jn(t);for(t=n.length;0<t--;)Ln(n[t],"captured",e);for(t=0;t<n.length;t++)Ln(n[t],"bubbled",e)}}function Pn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Dn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Rn(e){e&&e.dispatchConfig.registrationName&&Pn(e._targetInst,null,e)}function zn(e){it(e,On)}var _n=null,Un=null,Zn=null;function Fn(){if(Zn)return Zn;var e,t,n=Un,r=n.length,i="value"in _n?_n.value:_n.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return Zn=i.slice(e,1<t?1-t:void 0)}function Gn(){return!0}function Bn(){return!1}function Yn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Gn:Bn,this.isPropagationStopped=Bn,this}function Wn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Hn(e){if(!(e instanceof this))throw Error(o(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Vn(e){e.eventPool=[],e.getPooled=Wn,e.release=Hn}i(Yn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Gn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Gn)},persist:function(){this.isPersistent=Gn},isPersistent:Bn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Bn,this._dispatchInstances=this._dispatchListeners=null}}),Yn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Yn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var a=new t;return i(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Vn(n),n},Vn(Yn);var qn=Yn.extend({data:null}),Qn=Yn.extend({data:null}),Jn=[9,13,27,32],Xn=E&&"CompositionEvent"in window,Kn=null;E&&"documentMode"in document&&(Kn=document.documentMode);var $n=E&&"TextEvent"in window&&!Kn,er=E&&(!Xn||Kn&&8<Kn&&11>=Kn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function ir(e,t){switch(e){case"keyup":return-1!==Jn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ar(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var or=!1;var sr={eventTypes:nr,extractEvents:function(e,t,n,r){var i;if(Xn)e:{switch(e){case"compositionstart":var a=nr.compositionStart;break e;case"compositionend":a=nr.compositionEnd;break e;case"compositionupdate":a=nr.compositionUpdate;break e}a=void 0}else or?ir(e,n)&&(a=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(a=nr.compositionStart);return a?(er&&"ko"!==n.locale&&(or||a!==nr.compositionStart?a===nr.compositionEnd&&or&&(i=Fn()):(Un="value"in(_n=r)?_n.value:_n.textContent,or=!0)),a=qn.getPooled(a,t,n,r),i?a.data=i:null!==(i=ar(n))&&(a.data=i),zn(a),i=a):i=null,(e=$n?function(e,t){switch(e){case"compositionend":return ar(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(or)return"compositionend"===e||!Xn&&ir(e,t)?(e=Fn(),Zn=Un=_n=null,or=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Qn.getPooled(nr.beforeInput,t,n,r)).data=e,zn(t)):t=null,null===i?t:null===t?i:[i,t]}},lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var ur={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function dr(e,t,n){return(e=Yn.getPooled(ur.change,e,t,n)).type="change",D(n),zn(e),e}var fr=null,pr=null;function hr(e){st(e)}function gr(e){if(xe(Sn(e)))return e}function mr(e,t){if("change"===e)return t}var yr=!1;function vr(){fr&&(fr.detachEvent("onpropertychange",br),pr=fr=null)}function br(e){if("value"===e.propertyName&&gr(pr))if(e=dr(pr,e,lt(e)),_)st(e);else{_=!0;try{O(hr,e)}finally{_=!1,Z()}}}function Ir(e,t,n){"focus"===e?(vr(),pr=n,(fr=t).attachEvent("onpropertychange",br)):"blur"===e&&vr()}function xr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return gr(pr)}function wr(e,t){if("click"===e)return gr(t)}function Tr(e,t){if("input"===e||"change"===e)return gr(t)}E&&(yr=ct("input")&&(!document.documentMode||9<document.documentMode));var Mr={eventTypes:ur,_isInputEventSupported:yr,extractEvents:function(e,t,n,r){var i=t?Sn(t):window,a=i.nodeName&&i.nodeName.toLowerCase();if("select"===a||"input"===a&&"file"===i.type)var o=mr;else if(cr(i))if(yr)o=Tr;else{o=xr;var s=Ir}else(a=i.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(o=wr);if(o&&(o=o(e,t)))return dr(o,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ee(i,"number",i.value)}},Ar=Yn.extend({view:null,detail:null}),Cr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Er(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cr[e])&&!!t[e]}function Nr(){return Er}var Sr=0,kr=0,jr=!1,Dr=!1,Lr=Ar.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Nr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Sr;return Sr=e.screenX,jr?"mousemove"===e.type?e.screenX-t:0:(jr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=kr;return kr=e.screenY,Dr?"mousemove"===e.type?e.screenY-t:0:(Dr=!0,0)}}),Or=Lr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Pr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Rr={eventTypes:Pr,extractEvents:function(e,t,n,r,i){var a="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(a&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!o&&!a)return null;(a=r.window===r?r:(a=r.ownerDocument)?a.defaultView||a.parentWindow:window,o)?(o=t,null!==(t=(t=n.relatedTarget||n.toElement)?En(t):null)&&(t!==$e(t)||5!==t.tag&&6!==t.tag)&&(t=null)):o=null;if(o===t)return null;if("mouseout"===e||"mouseover"===e)var s=Lr,l=Pr.mouseLeave,c=Pr.mouseEnter,u="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Or,l=Pr.pointerLeave,c=Pr.pointerEnter,u="pointer");if(e=null==o?a:Sn(o),a=null==t?a:Sn(t),(l=s.getPooled(l,o,n,r)).type=u+"leave",l.target=e,l.relatedTarget=a,(n=s.getPooled(c,t,n,r)).type=u+"enter",n.target=a,n.relatedTarget=e,u=t,(r=o)&&u)e:{for(c=u,o=0,e=s=r;e;e=jn(e))o++;for(e=0,t=c;t;t=jn(t))e++;for(;0<o-e;)s=jn(s),o--;for(;0<e-o;)c=jn(c),e--;for(;o--;){if(s===c||s===c.alternate)break e;s=jn(s),c=jn(c)}s=null}else s=null;for(c=s,s=[];r&&r!==c&&(null===(o=r.alternate)||o!==c);)s.push(r),r=jn(r);for(r=[];u&&u!==c&&(null===(o=u.alternate)||o!==c);)r.push(u),u=jn(u);for(u=0;u<s.length;u++)Pn(s[u],"bubbled",l);for(u=r.length;0<u--;)Pn(r[u],"captured",n);return 0==(64&i)?[l]:[l,n]}};var zr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},_r=Object.prototype.hasOwnProperty;function Ur(e,t){if(zr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!_r.call(t,n[r])||!zr(e[n[r]],t[n[r]]))return!1;return!0}var Zr=E&&"documentMode"in document&&11>=document.documentMode,Fr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Gr=null,Br=null,Yr=null,Wr=!1;function Hr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Wr||null==Gr||Gr!==un(n)?null:("selectionStart"in(n=Gr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Yr&&Ur(Yr,n)?null:(Yr=n,(e=Yn.getPooled(Fr.select,Br,e,t)).type="select",e.target=Gr,zn(e),e))}var Vr={eventTypes:Fr,extractEvents:function(e,t,n,r,i,a){if(!(a=!(i=a||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Ke(i),a=A.onSelect;for(var o=0;o<a.length;o++)if(!i.has(a[o])){i=!1;break e}i=!0}a=!i}if(a)return null;switch(i=t?Sn(t):window,e){case"focus":(cr(i)||"true"===i.contentEditable)&&(Gr=i,Br=t,Yr=null);break;case"blur":Yr=Br=Gr=null;break;case"mousedown":Wr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Wr=!1,Hr(n,r);case"selectionchange":if(Zr)break;case"keydown":case"keyup":return Hr(n,r)}return null}},qr=Yn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Qr=Yn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jr=Ar.extend({relatedTarget:null});function Xr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Kr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$r={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ei=Ar.extend({key:function(e){if(e.key){var t=Kr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Xr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?$r[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Nr,charCode:function(e){return"keypress"===e.type?Xr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Xr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ti=Lr.extend({dataTransfer:null}),ni=Ar.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Nr}),ri=Yn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ii=Lr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ai={eventTypes:zt,extractEvents:function(e,t,n,r){var i=_t.get(e);if(!i)return null;switch(e){case"keypress":if(0===Xr(n))return null;case"keydown":case"keyup":e=ei;break;case"blur":case"focus":e=Jr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Lr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ti;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ni;break;case He:case Ve:case qe:e=qr;break;case Qe:e=ri;break;case"scroll":e=Ar;break;case"wheel":e=ii;break;case"copy":case"cut":case"paste":e=Qr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Or;break;default:e=Yn}return zn(t=e.getPooled(i,t,n,r)),t}};if(v)throw Error(o(101));v=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),I(),h=kn,g=Nn,m=Sn,C({SimpleEventPlugin:ai,EnterLeaveEventPlugin:Rr,ChangeEventPlugin:Mr,SelectEventPlugin:Vr,BeforeInputEventPlugin:sr});var oi=[],si=-1;function li(e){0>si||(e.current=oi[si],oi[si]=null,si--)}function ci(e,t){si++,oi[si]=e.current,e.current=t}var ui={},di={current:ui},fi={current:!1},pi=ui;function hi(e,t){var n=e.type.contextTypes;if(!n)return ui;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function gi(e){return null!=(e=e.childContextTypes)}function mi(){li(fi),li(di)}function yi(e,t,n){if(di.current!==ui)throw Error(o(168));ci(di,t),ci(fi,n)}function vi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in e))throw Error(o(108,me(t)||"Unknown",a));return i({},n,{},r)}function bi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ui,pi=di.current,ci(di,e),ci(fi,fi.current),!0}function Ii(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=vi(e,t,pi),r.__reactInternalMemoizedMergedChildContext=e,li(fi),li(di),ci(di,e)):li(fi),ci(fi,n)}var xi=a.unstable_runWithPriority,wi=a.unstable_scheduleCallback,Ti=a.unstable_cancelCallback,Mi=a.unstable_requestPaint,Ai=a.unstable_now,Ci=a.unstable_getCurrentPriorityLevel,Ei=a.unstable_ImmediatePriority,Ni=a.unstable_UserBlockingPriority,Si=a.unstable_NormalPriority,ki=a.unstable_LowPriority,ji=a.unstable_IdlePriority,Di={},Li=a.unstable_shouldYield,Oi=void 0!==Mi?Mi:function(){},Pi=null,Ri=null,zi=!1,_i=Ai(),Ui=1e4>_i?Ai:function(){return Ai()-_i};function Zi(){switch(Ci()){case Ei:return 99;case Ni:return 98;case Si:return 97;case ki:return 96;case ji:return 95;default:throw Error(o(332))}}function Fi(e){switch(e){case 99:return Ei;case 98:return Ni;case 97:return Si;case 96:return ki;case 95:return ji;default:throw Error(o(332))}}function Gi(e,t){return e=Fi(e),xi(e,t)}function Bi(e,t,n){return e=Fi(e),wi(e,t,n)}function Yi(e){return null===Pi?(Pi=[e],Ri=wi(Ei,Hi)):Pi.push(e),Di}function Wi(){if(null!==Ri){var e=Ri;Ri=null,Ti(e)}Hi()}function Hi(){if(!zi&&null!==Pi){zi=!0;var e=0;try{var t=Pi;Gi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Pi=null}catch(t){throw null!==Pi&&(Pi=Pi.slice(e+1)),wi(Ei,Wi),t}finally{zi=!1}}}function Vi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function qi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Qi={current:null},Ji=null,Xi=null,Ki=null;function $i(){Ki=Xi=Ji=null}function ea(e){var t=Qi.current;li(Qi),e.type._context._currentValue=t}function ta(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function na(e,t){Ji=e,Ki=Xi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(ko=!0),e.firstContext=null)}function ra(e,t){if(Ki!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Ki=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Xi){if(null===Ji)throw Error(o(308));Xi=t,Ji.dependencies={expirationTime:0,firstContext:t,responders:null}}else Xi=Xi.next=t;return e._currentValue}var ia=!1;function aa(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function oa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function sa(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function la(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ca(e,t){var n=e.alternate;null!==n&&oa(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function ua(e,t,n,r){var a=e.updateQueue;ia=!1;var o=a.baseQueue,s=a.shared.pending;if(null!==s){if(null!==o){var l=o.next;o.next=s.next,s.next=l}o=s,a.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=s))}if(null!==o){l=o.next;var c=a.baseState,u=0,d=null,f=null,p=null;if(null!==l)for(var h=l;;){if((s=h.expirationTime)<r){var g={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(f=p=g,d=c):p=p.next=g,s>u&&(u=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),al(s,h.suspenseConfig);e:{var m=e,y=h;switch(s=t,g=n,y.tag){case 1:if("function"==typeof(m=y.payload)){c=m.call(g,c,s);break e}c=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null==(s="function"==typeof(m=y.payload)?m.call(g,c,s):m))break e;c=i({},c,s);break e;case 2:ia=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=a.effects)?a.effects=[h]:s.push(h))}if(null===(h=h.next)||h===l){if(null===(s=a.shared.pending))break;h=o.next=s.next,s.next=l,a.baseQueue=o=s,a.shared.pending=null}}null===p?d=c:p.next=f,a.baseState=d,a.baseQueue=p,ol(u),e.expirationTime=u,e.memoizedState=c}}function da(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!=typeof r)throw Error(o(191,r));r.call(i)}}}var fa=J.ReactCurrentBatchConfig,pa=(new r.Component).refs;function ha(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var ga={isMounted:function(e){return!!(e=e._reactInternalFiber)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Hs(),i=fa.suspense;(i=sa(r=Vs(r,e,i),i)).payload=t,null!=n&&(i.callback=n),la(e,i),qs(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Hs(),i=fa.suspense;(i=sa(r=Vs(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),la(e,i),qs(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Hs(),r=fa.suspense;(r=sa(n=Vs(n,e,r),r)).tag=2,null!=t&&(r.callback=t),la(e,r),qs(e,n)}};function ma(e,t,n,r,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!Ur(n,r)||!Ur(i,a))}function ya(e,t,n){var r=!1,i=ui,a=t.contextType;return"object"==typeof a&&null!==a?a=ra(a):(i=gi(t)?pi:di.current,a=(r=null!=(r=t.contextTypes))?hi(e,i):ui),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ga,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function va(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ga.enqueueReplaceState(t,t.state,null)}function ba(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=pa,aa(e);var a=t.contextType;"object"==typeof a&&null!==a?i.context=ra(a):(a=gi(t)?pi:di.current,i.context=hi(e,a)),ua(e,n,i,r),i.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ha(e,t,a,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ga.enqueueReplaceState(i,i.state,null),ua(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var Ia=Array.isArray;function xa(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===pa&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function wa(e,t){if("textarea"!==e.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ta(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Cl(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Sl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=xa(e,t,n),r.return=e,r):((r=El(n.type,n.key,n.props,null,e.mode,r)).ref=xa(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=kl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Nl(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Sl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=El(t.type,t.key,t.props,null,e.mode,n)).ref=xa(e,null,t),n.return=e,n;case te:return(t=kl(t,e.mode,n)).return=e,t}if(Ia(t)||ge(t))return(t=Nl(t,e.mode,n,null)).return=e,t;wa(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?d(e,t,n.props.children,r,i):c(e,t,n,r):null;case te:return n.key===i?u(e,t,n,r):null}if(Ia(n)||ge(n))return null!==i?null:d(e,t,n,r,null);wa(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?d(t,e,r.props.children,i,r.key):c(t,e,r,i);case te:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Ia(r)||ge(r))return d(t,e=e.get(n)||null,r,i,null);wa(t,r)}return null}function g(i,o,s,l){for(var c=null,u=null,d=o,g=o=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var y=p(i,d,s[g],l);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(i,d),o=a(y,o,g),null===u?c=y:u.sibling=y,u=y,d=m}if(g===s.length)return n(i,d),c;if(null===d){for(;g<s.length;g++)null!==(d=f(i,s[g],l))&&(o=a(d,o,g),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(i,d);g<s.length;g++)null!==(m=h(d,i,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),o=a(m,o,g),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(i,e)})),c}function m(i,s,l,c){var u=ge(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,g=s,m=s=0,y=null,v=l.next();null!==g&&!v.done;m++,v=l.next()){g.index>m?(y=g,g=null):y=g.sibling;var b=p(i,g,v.value,c);if(null===b){null===g&&(g=y);break}e&&g&&null===b.alternate&&t(i,g),s=a(b,s,m),null===d?u=b:d.sibling=b,d=b,g=y}if(v.done)return n(i,g),u;if(null===g){for(;!v.done;m++,v=l.next())null!==(v=f(i,v.value,c))&&(s=a(v,s,m),null===d?u=v:d.sibling=v,d=v);return u}for(g=r(i,g);!v.done;m++,v=l.next())null!==(v=h(g,i,m,v.value,c))&&(e&&null!==v.alternate&&g.delete(null===v.key?m:v.key),s=a(v,s,m),null===d?u=v:d.sibling=v,d=v);return e&&g.forEach((function(e){return t(i,e)})),u}return function(e,r,a,l){var c="object"==typeof a&&null!==a&&a.type===ne&&null===a.key;c&&(a=a.props.children);var u="object"==typeof a&&null!==a;if(u)switch(a.$$typeof){case ee:e:{for(u=a.key,c=r;null!==c;){if(c.key===u){switch(c.tag){case 7:if(a.type===ne){n(e,c.sibling),(r=i(c,a.props.children)).return=e,e=r;break e}break;default:if(c.elementType===a.type){n(e,c.sibling),(r=i(c,a.props)).ref=xa(e,c,a),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}a.type===ne?((r=Nl(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=El(a.type,a.key,a.props,null,e.mode,l)).ref=xa(e,r,a),l.return=e,e=l)}return s(e);case te:e:{for(c=a.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=i(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=kl(a,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,a)).return=e,e=r):(n(e,r),(r=Sl(a,e.mode,l)).return=e,e=r),s(e);if(Ia(a))return g(e,r,a,l);if(ge(a))return m(e,r,a,l);if(u&&wa(e,a),void 0===a&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(o(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Ma=Ta(!0),Aa=Ta(!1),Ca={},Ea={current:Ca},Na={current:Ca},Sa={current:Ca};function ka(e){if(e===Ca)throw Error(o(174));return e}function ja(e,t){switch(ci(Sa,t),ci(Na,e),ci(Ea,Ca),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ze(null,"");break;default:t=ze(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(Ea),ci(Ea,t)}function Da(){li(Ea),li(Na),li(Sa)}function La(e){ka(Sa.current);var t=ka(Ea.current),n=ze(t,e.type);t!==n&&(ci(Na,e),ci(Ea,n))}function Oa(e){Na.current===e&&(li(Ea),li(Na))}var Pa={current:0};function Ra(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function za(e,t){return{responder:e,props:t}}var _a=J.ReactCurrentDispatcher,Ua=J.ReactCurrentBatchConfig,Za=0,Fa=null,Ga=null,Ba=null,Ya=!1;function Wa(){throw Error(o(321))}function Ha(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!zr(e[n],t[n]))return!1;return!0}function Va(e,t,n,r,i,a){if(Za=a,Fa=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,_a.current=null===e||null===e.memoizedState?yo:vo,e=n(r,i),t.expirationTime===Za){a=0;do{if(t.expirationTime=0,!(25>a))throw Error(o(301));a+=1,Ba=Ga=null,t.updateQueue=null,_a.current=bo,e=n(r,i)}while(t.expirationTime===Za)}if(_a.current=mo,t=null!==Ga&&null!==Ga.next,Za=0,Ba=Ga=Fa=null,Ya=!1,t)throw Error(o(300));return e}function qa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ba?Fa.memoizedState=Ba=e:Ba=Ba.next=e,Ba}function Qa(){if(null===Ga){var e=Fa.alternate;e=null!==e?e.memoizedState:null}else e=Ga.next;var t=null===Ba?Fa.memoizedState:Ba.next;if(null!==t)Ba=t,Ga=e;else{if(null===e)throw Error(o(310));e={memoizedState:(Ga=e).memoizedState,baseState:Ga.baseState,baseQueue:Ga.baseQueue,queue:Ga.queue,next:null},null===Ba?Fa.memoizedState=Ba=e:Ba=Ba.next=e}return Ba}function Ja(e,t){return"function"==typeof t?t(e):t}function Xa(e){var t=Qa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=Ga,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=a=null,c=i;do{var u=c.expirationTime;if(u<Za){var d={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,a=r):l=l.next=d,u>Fa.expirationTime&&(Fa.expirationTime=u,ol(u))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),al(u,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==i);null===l?a=r:l.next=s,zr(r,t.memoizedState)||(ko=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Ka(e){var t=Qa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);zr(a,t.memoizedState)||(ko=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function $a(e){var t=qa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Ja,lastRenderedState:e}).dispatch=go.bind(null,Fa,e),[t.memoizedState,e]}function eo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Fa.updateQueue)?(t={lastEffect:null},Fa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function to(){return Qa().memoizedState}function no(e,t,n,r){var i=qa();Fa.effectTag|=e,i.memoizedState=eo(1|t,n,void 0,void 0===r?null:r)}function ro(e,t,n,r){var i=Qa();r=void 0===r?null:r;var a=void 0;if(null!==Ga){var o=Ga.memoizedState;if(a=o.destroy,null!==r&&Ha(r,o.deps))return void eo(t,n,a,r)}Fa.effectTag|=e,i.memoizedState=eo(1|t,n,a,r)}function io(e,t){return no(516,4,e,t)}function ao(e,t){return ro(516,4,e,t)}function oo(e,t){return ro(4,2,e,t)}function so(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function lo(e,t,n){return n=null!=n?n.concat([e]):null,ro(4,2,so.bind(null,t,e),n)}function co(){}function uo(e,t){return qa().memoizedState=[e,void 0===t?null:t],e}function fo(e,t){var n=Qa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ha(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function po(e,t){var n=Qa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ha(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ho(e,t,n){var r=Zi();Gi(98>r?98:r,(function(){e(!0)})),Gi(97<r?97:r,(function(){var r=Ua.suspense;Ua.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ua.suspense=r}}))}function go(e,t,n){var r=Hs(),i=fa.suspense;i={expirationTime:r=Vs(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Fa||null!==a&&a===Fa)Ya=!0,i.expirationTime=Za,Fa.expirationTime=Za;else{if(0===e.expirationTime&&(null===a||0===a.expirationTime)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.eagerReducer=a,i.eagerState=s,zr(s,o))return}catch(e){}qs(e,r)}}var mo={readContext:ra,useCallback:Wa,useContext:Wa,useEffect:Wa,useImperativeHandle:Wa,useLayoutEffect:Wa,useMemo:Wa,useReducer:Wa,useRef:Wa,useState:Wa,useDebugValue:Wa,useResponder:Wa,useDeferredValue:Wa,useTransition:Wa},yo={readContext:ra,useCallback:uo,useContext:ra,useEffect:io,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,no(4,2,so.bind(null,t,e),n)},useLayoutEffect:function(e,t){return no(4,2,e,t)},useMemo:function(e,t){var n=qa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=qa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=go.bind(null,Fa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},qa().memoizedState=e},useState:$a,useDebugValue:co,useResponder:za,useDeferredValue:function(e,t){var n=$a(e),r=n[0],i=n[1];return io((function(){var n=Ua.suspense;Ua.suspense=void 0===t?null:t;try{i(e)}finally{Ua.suspense=n}}),[e,t]),r},useTransition:function(e){var t=$a(!1),n=t[0];return t=t[1],[uo(ho.bind(null,t,e),[t,e]),n]}},vo={readContext:ra,useCallback:fo,useContext:ra,useEffect:ao,useImperativeHandle:lo,useLayoutEffect:oo,useMemo:po,useReducer:Xa,useRef:to,useState:function(){return Xa(Ja)},useDebugValue:co,useResponder:za,useDeferredValue:function(e,t){var n=Xa(Ja),r=n[0],i=n[1];return ao((function(){var n=Ua.suspense;Ua.suspense=void 0===t?null:t;try{i(e)}finally{Ua.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Xa(Ja),n=t[0];return t=t[1],[fo(ho.bind(null,t,e),[t,e]),n]}},bo={readContext:ra,useCallback:fo,useContext:ra,useEffect:ao,useImperativeHandle:lo,useLayoutEffect:oo,useMemo:po,useReducer:Ka,useRef:to,useState:function(){return Ka(Ja)},useDebugValue:co,useResponder:za,useDeferredValue:function(e,t){var n=Ka(Ja),r=n[0],i=n[1];return ao((function(){var n=Ua.suspense;Ua.suspense=void 0===t?null:t;try{i(e)}finally{Ua.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ka(Ja),n=t[0];return t=t[1],[fo(ho.bind(null,t,e),[t,e]),n]}},Io=null,xo=null,wo=!1;function To(e,t){var n=Ml(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Mo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ao(e){if(wo){var t=xo;if(t){var n=t;if(!Mo(e,t)){if(!(t=xn(n.nextSibling))||!Mo(e,t))return e.effectTag=-1025&e.effectTag|2,wo=!1,void(Io=e);To(Io,n)}Io=e,xo=xn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,wo=!1,Io=e}}function Co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Io=e}function Eo(e){if(e!==Io)return!1;if(!wo)return Co(e),wo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vn(t,e.memoizedProps))for(t=xo;t;)To(e,t),t=xn(t.nextSibling);if(Co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){xo=xn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}xo=null}}else xo=Io?xn(e.stateNode.nextSibling):null;return!0}function No(){xo=Io=null,wo=!1}var So=J.ReactCurrentOwner,ko=!1;function jo(e,t,n,r){t.child=null===e?Aa(t,null,n,r):Ma(t,e.child,n,r)}function Do(e,t,n,r,i){n=n.render;var a=t.ref;return na(t,i),r=Va(e,t,n,r,a,i),null===e||ko?(t.effectTag|=1,jo(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),qo(e,t,i))}function Lo(e,t,n,r,i,a){if(null===e){var o=n.type;return"function"!=typeof o||Al(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=El(n.type,null,r,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Oo(e,t,o,r,i,a))}return o=e.child,i<a&&(i=o.memoizedProps,(n=null!==(n=n.compare)?n:Ur)(i,r)&&e.ref===t.ref)?qo(e,t,a):(t.effectTag|=1,(e=Cl(o,r)).ref=t.ref,e.return=t,t.child=e)}function Oo(e,t,n,r,i,a){return null!==e&&Ur(e.memoizedProps,r)&&e.ref===t.ref&&(ko=!1,i<a)?(t.expirationTime=e.expirationTime,qo(e,t,a)):Ro(e,t,n,r,a)}function Po(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ro(e,t,n,r,i){var a=gi(n)?pi:di.current;return a=hi(t,a),na(t,i),n=Va(e,t,n,r,a,i),null===e||ko?(t.effectTag|=1,jo(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),qo(e,t,i))}function zo(e,t,n,r,i){if(gi(n)){var a=!0;bi(t)}else a=!1;if(na(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ya(t,n,r),ba(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,c=n.contextType;"object"==typeof c&&null!==c?c=ra(c):c=hi(t,c=gi(n)?pi:di.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==r||l!==c)&&va(t,o,r,c),ia=!1;var f=t.memoizedState;o.state=f,ua(t,r,o,i),l=t.memoizedState,s!==r||f!==l||fi.current||ia?("function"==typeof u&&(ha(t,n,u,r),l=t.memoizedState),(s=ia||ma(t,n,s,r,f,l,c))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.effectTag|=4)):("function"==typeof o.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=c,r=s):("function"==typeof o.componentDidMount&&(t.effectTag|=4),r=!1)}else o=t.stateNode,oa(e,t),s=t.memoizedProps,o.props=t.type===t.elementType?s:qi(t.type,s),l=o.context,"object"==typeof(c=n.contextType)&&null!==c?c=ra(c):c=hi(t,c=gi(n)?pi:di.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==r||l!==c)&&va(t,o,r,c),ia=!1,l=t.memoizedState,o.state=l,ua(t,r,o,i),f=t.memoizedState,s!==r||l!==f||fi.current||ia?("function"==typeof u&&(ha(t,n,u,r),f=t.memoizedState),(u=ia||ma(t,n,s,r,l,f,c))?(d||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,f,c),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,f,c)),"function"==typeof o.componentDidUpdate&&(t.effectTag|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),o.props=r,o.state=f,o.context=c,r=u):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return _o(e,t,n,r,a,i)}function _o(e,t,n,r,i,a){Po(e,t);var o=0!=(64&t.effectTag);if(!r&&!o)return i&&Ii(t,n,!1),qo(e,t,a);r=t.stateNode,So.current=t;var s=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&o?(t.child=Ma(t,e.child,null,a),t.child=Ma(t,null,s,a)):jo(e,t,s,a),t.memoizedState=r.state,i&&Ii(t,n,!0),t.child}function Uo(e){var t=e.stateNode;t.pendingContext?yi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yi(0,t.context,!1),ja(e,t.containerInfo)}var Zo,Fo,Go,Bo={dehydrated:null,retryTime:0};function Yo(e,t,n){var r,i=t.mode,a=t.pendingProps,o=Pa.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&o)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),ci(Pa,1&o),null===e){if(void 0!==a.fallback&&Ao(t),s){if(s=a.fallback,(a=Nl(null,i,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(n=Nl(s,i,n,null)).return=t,a.sibling=n,t.memoizedState=Bo,t.child=a,n}return i=a.children,t.memoizedState=null,t.child=Aa(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(a=a.fallback,(n=Cl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Cl(i,a)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Bo,t.child=n,i}return n=Ma(t,e.child,a.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=a.fallback,(a=Nl(null,i,0,null)).return=t,a.child=e,null!==e&&(e.return=a),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(n=Nl(s,i,n,null)).return=t,a.sibling=n,n.effectTag|=2,a.childExpirationTime=0,t.memoizedState=Bo,t.child=a,n}return t.memoizedState=null,t.child=Ma(t,e,a.children,n)}function Wo(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ta(e.return,t)}function Ho(e,t,n,r,i,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailExpiration=0,o.tailMode=i,o.lastEffect=a)}function Vo(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(jo(e,t,r.children,n),0!=(2&(r=Pa.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Wo(e,n);else if(19===e.tag)Wo(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ci(Pa,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Ra(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ho(t,!1,i,n,a,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Ra(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ho(t,!0,n,null,a,t.lastEffect);break;case"together":Ho(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function qo(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&ol(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Cl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Cl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qo(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Jo(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return gi(t.type)&&mi(),null;case 3:return Da(),li(fi),li(di),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Eo(t)||(t.effectTag|=4),null;case 5:Oa(t),n=ka(Sa.current);var a=t.type;if(null!==e&&null!=t.stateNode)Fo(e,t,a,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(o(166));return null}if(e=ka(Ea.current),Eo(t)){r=t.stateNode,a=t.type;var s=t.memoizedProps;switch(r[Mn]=t,r[An]=s,a){case"iframe":case"object":case"embed":Vt("load",r);break;case"video":case"audio":for(e=0;e<Je.length;e++)Vt(Je[e],r);break;case"source":Vt("error",r);break;case"img":case"image":case"link":Vt("error",r),Vt("load",r);break;case"form":Vt("reset",r),Vt("submit",r);break;case"details":Vt("toggle",r);break;case"input":Te(r,s),Vt("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Vt("invalid",r),ln(n,"onChange");break;case"textarea":je(r,s),Vt("invalid",r),ln(n,"onChange")}for(var l in an(a,s),e=null,s)if(s.hasOwnProperty(l)){var c=s[l];"children"===l?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):M.hasOwnProperty(l)&&null!=c&&ln(n,l)}switch(a){case"input":Ie(r),Ce(r,s,!0);break;case"textarea":Ie(r),Le(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Re(a)),e===sn?"script"===a?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(a,{is:r.is}):(e=l.createElement(a),"select"===a&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,a),e[Mn]=t,e[An]=r,Zo(e,t),t.stateNode=e,l=on(a,r),a){case"iframe":case"object":case"embed":Vt("load",e),c=r;break;case"video":case"audio":for(c=0;c<Je.length;c++)Vt(Je[c],e);c=r;break;case"source":Vt("error",e),c=r;break;case"img":case"image":case"link":Vt("error",e),Vt("load",e),c=r;break;case"form":Vt("reset",e),Vt("submit",e),c=r;break;case"details":Vt("toggle",e),c=r;break;case"input":Te(e,r),c=we(e,r),Vt("invalid",e),ln(n,"onChange");break;case"option":c=Ne(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=i({},r,{value:void 0}),Vt("invalid",e),ln(n,"onChange");break;case"textarea":je(e,r),c=ke(e,r),Vt("invalid",e),ln(n,"onChange");break;default:c=r}an(a,c);var u=c;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?nn(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&Ue(e,d):"children"===s?"string"==typeof d?("textarea"!==a||""!==d)&&Ze(e,d):"number"==typeof d&&Ze(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(M.hasOwnProperty(s)?null!=d&&ln(n,s):null!=d&&X(e,s,d,l))}switch(a){case"input":Ie(e),Ce(e,r,!1);break;case"textarea":Ie(e),Le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ve(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Se(e,!!r.multiple,n,!1):null!=r.defaultValue&&Se(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=cn)}yn(a,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Go(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));n=ka(Sa.current),ka(Ea.current),Eo(t)?(n=t.stateNode,r=t.memoizedProps,n[Mn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Mn]=t,t.stateNode=n)}return null;case 13:return li(Pa),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Eo(t):(r=null!==(a=e.memoizedState),n||null===a||null!==(a=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=a,a.nextEffect=s):(t.firstEffect=t.lastEffect=a,a.nextEffect=null),a.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Pa.current)?Es===Is&&(Es=xs):(Es!==Is&&Es!==xs||(Es=ws),0!==Ds&&null!==Ms&&(Ll(Ms,Cs),Ol(Ms,Ds)))),(n||r)&&(t.effectTag|=4),null);case 4:return Da(),null;case 10:return ea(t),null;case 17:return gi(t.type)&&mi(),null;case 19:if(li(Pa),null===(r=t.memoizedState))return null;if(a=0!=(64&t.effectTag),null===(s=r.rendering)){if(a)Qo(r,!1);else if(Es!==Is||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Ra(s))){for(t.effectTag|=64,Qo(r,!1),null!==(a=e.updateQueue)&&(t.updateQueue=a,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(a=r).effectTag&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(e=a.alternate)?(a.childExpirationTime=0,a.expirationTime=s,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null):(a.childExpirationTime=e.childExpirationTime,a.expirationTime=e.expirationTime,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,s=e.dependencies,a.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return ci(Pa,1&Pa.current|2),t.child}s=s.sibling}}else{if(!a)if(null!==(e=Ra(s))){if(t.effectTag|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Qo(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ui()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,a=!0,Qo(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ui()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ui(),n.sibling=null,t=Pa.current,ci(Pa,a?1&t|2:1&t),n):null}throw Error(o(156,t.tag))}function Xo(e){switch(e.tag){case 1:gi(e.type)&&mi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Da(),li(fi),li(di),0!=(64&(t=e.effectTag)))throw Error(o(285));return e.effectTag=-4097&t|64,e;case 5:return Oa(e),null;case 13:return li(Pa),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return li(Pa),null;case 4:return Da(),null;case 10:return ea(e),null;default:return null}}function Ko(e,t){return{value:e,source:t,stack:ye(t)}}Zo=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Fo=function(e,t,n,r,a){var o=e.memoizedProps;if(o!==r){var s,l,c=t.stateNode;switch(ka(Ea.current),e=null,n){case"input":o=we(c,o),r=we(c,r),e=[];break;case"option":o=Ne(c,o),r=Ne(c,r),e=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":o=ke(c,o),r=ke(c,r),e=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(c.onclick=cn)}for(s in an(n,r),n=null,o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&null!=o[s])if("style"===s)for(l in c=o[s])c.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(M.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var u=r[s];if(c=null!=o?o[s]:void 0,r.hasOwnProperty(s)&&u!==c&&(null!=u||null!=c))if("style"===s)if(c){for(l in c)!c.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&c[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(e||(e=[]),e.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(e=e||[]).push(s,u)):"children"===s?c===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(M.hasOwnProperty(s)?(null!=u&&ln(a,s),e||c===u||(e=[])):(e=e||[]).push(s,u))}n&&(e=e||[]).push("style",n),a=e,(t.updateQueue=a)&&(t.effectTag|=4)}},Go=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var $o="function"==typeof WeakSet?WeakSet:Set;function es(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ye(n)),null!==n&&me(n.type),t=t.value,null!==e&&1===e.tag&&me(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function ts(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){vl(e,t)}else t.current=null}function ns(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:qi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(o(163))}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function is(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void is(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:qi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&da(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}da(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&yn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Rt(n)))));case 19:case 17:case 20:case 21:return}throw Error(o(163))}function os(e,t,n){switch("function"==typeof wl&&wl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Gi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){vl(i,e)}}e=e.next}while(e!==r)}))}break;case 1:ts(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){vl(e,t)}}(t,n);break;case 5:ts(t);break;case 4:us(e,t,n)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function cs(e){e:{for(var t=e.return;null!==t;){if(ls(t)){var n=t;break e}t=t.return}throw Error(o(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(o(161))}16&n.effectTag&&(Ze(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ls(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,a=5===i||6===i;if(a)t=a?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=cn));else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,a=5===i||6===i;if(a)t=a?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function us(e,t,n){for(var r,i,a=t,s=!1;;){if(!s){s=a.return;e:for(;;){if(null===s)throw Error(o(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===a.tag||6===a.tag){e:for(var l=e,c=a,u=n,d=c;;)if(os(l,d,u),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===c)break e;for(;null===d.sibling;){if(null===d.return||d.return===c)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(l=r,c=a.stateNode,8===l.nodeType?l.parentNode.removeChild(c):l.removeChild(c)):r.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){r=a.stateNode.containerInfo,i=!0,a.child.return=a,a=a.child;continue}}else if(os(e,a,n),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(s=!1)}a.sibling.return=a.return,a=a.sibling}}function ds(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rs(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[An]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Me(n,r),on(e,i),t=on(e,r),i=0;i<a.length;i+=2){var s=a[i],l=a[i+1];"style"===s?nn(n,l):"dangerouslySetInnerHTML"===s?Ue(n,l):"children"===s?Ze(n,l):X(n,s,l,t)}switch(e){case"input":Ae(n,r);break;case"textarea":De(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Se(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Se(n,!!r.multiple,r.defaultValue,!0):Se(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(o(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Rt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Os=Ui()),null!==n)e:for(e=n;;){if(5===e.tag)a=e.stateNode,r?"function"==typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none":(a=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,a.style.display=tn("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(a=e.child.sibling).return=e,e=a;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void fs(t);case 19:return void fs(t);case 17:return}throw Error(o(163))}function fs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new $o),t.forEach((function(t){var r=Il.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=sa(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Rs||(Rs=!0,zs=r),es(e,t)},n}function gs(e,t,n){(n=sa(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return es(e,t),r(i)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===_s?_s=new Set([this]):_s.add(this),es(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var ms,ys=Math.ceil,vs=J.ReactCurrentDispatcher,bs=J.ReactCurrentOwner,Is=0,xs=3,ws=4,Ts=0,Ms=null,As=null,Cs=0,Es=Is,Ns=null,Ss=1073741823,ks=1073741823,js=null,Ds=0,Ls=!1,Os=0,Ps=null,Rs=!1,zs=null,_s=null,Us=!1,Zs=null,Fs=90,Gs=null,Bs=0,Ys=null,Ws=0;function Hs(){return 0!=(48&Ts)?1073741821-(Ui()/10|0):0!==Ws?Ws:Ws=1073741821-(Ui()/10|0)}function Vs(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Zi();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&Ts))return Cs;if(null!==n)e=Vi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Vi(e,150,100);break;case 97:case 96:e=Vi(e,5e3,250);break;case 95:e=2;break;default:throw Error(o(326))}return null!==Ms&&e===Cs&&--e,e}function qs(e,t){if(50<Bs)throw Bs=0,Ys=null,Error(o(185));if(null!==(e=Qs(e,t))){var n=Zi();1073741823===t?0!=(8&Ts)&&0==(48&Ts)?$s(e):(Xs(e),0===Ts&&Wi()):Xs(e),0==(4&Ts)||98!==n&&99!==n||(null===Gs?Gs=new Map([[e,t]]):(void 0===(n=Gs.get(e))||n>t)&&Gs.set(e,t))}}function Qs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Ms===i&&(ol(t),Es===ws&&Ll(i,Cs)),Ol(i,t)),i}function Js(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Dl(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Xs(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Yi($s.bind(null,e));else{var t=Js(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Hs();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Di&&Ti(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Yi($s.bind(null,e)):Bi(r,Ks.bind(null,e),{timeout:10*(1073741821-t)-Ui()}),e.callbackNode=t}}}function Ks(e,t){if(Ws=0,t)return Pl(e,t=Hs()),Xs(e),null;var n=Js(e);if(0!==n){if(t=e.callbackNode,0!=(48&Ts))throw Error(o(327));if(gl(),e===Ms&&n===Cs||nl(e,n),null!==As){var r=Ts;Ts|=16;for(var i=il();;)try{ll();break}catch(t){rl(e,t)}if($i(),Ts=r,vs.current=i,1===Es)throw t=Ns,nl(e,n),Ll(e,n),Xs(e),t;if(null===As)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Es,Ms=null,r){case Is:case 1:throw Error(o(345));case 2:Pl(e,2<n?2:n);break;case xs:if(Ll(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=dl(i)),1073741823===Ss&&10<(i=Os+500-Ui())){if(Ls){var a=e.lastPingedTime;if(0===a||a>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(a=Js(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(fl.bind(null,e),i);break}fl(e);break;case ws:if(Ll(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=dl(i)),Ls&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(i=Js(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==ks?r=10*(1073741821-ks)-Ui():1073741823===Ss?r=0:(r=10*(1073741821-Ss)-5e3,0>(r=(i=Ui())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ys(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(fl.bind(null,e),r);break}fl(e);break;case 5:if(1073741823!==Ss&&null!==js){a=Ss;var s=js;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(a=Ui()-(10*(1073741821-a)-(0|s.timeoutMs||5e3)))<=i?0:i+r-a),10<r){Ll(e,n),e.timeoutHandle=bn(fl.bind(null,e),r);break}}fl(e);break;default:throw Error(o(329))}if(Xs(e),e.callbackNode===t)return Ks.bind(null,e)}}return null}function $s(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&Ts))throw Error(o(327));if(gl(),e===Ms&&t===Cs||nl(e,t),null!==As){var n=Ts;Ts|=16;for(var r=il();;)try{sl();break}catch(t){rl(e,t)}if($i(),Ts=n,vs.current=r,1===Es)throw n=Ns,nl(e,t),Ll(e,t),Xs(e),n;if(null!==As)throw Error(o(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ms=null,fl(e),Xs(e)}return null}function el(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&Wi()}}function tl(e,t){var n=Ts;Ts&=-2,Ts|=8;try{return e(t)}finally{0===(Ts=n)&&Wi()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,In(n)),null!==As)for(n=As.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&mi();break;case 3:Da(),li(fi),li(di);break;case 5:Oa(r);break;case 4:Da();break;case 13:case 19:li(Pa);break;case 10:ea(r)}n=n.return}Ms=e,As=Cl(e.current,null),Cs=t,Es=Is,Ns=null,ks=Ss=1073741823,js=null,Ds=0,Ls=!1}function rl(e,t){for(;;){try{if($i(),_a.current=mo,Ya)for(var n=Fa.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Za=0,Ba=Ga=Fa=null,Ya=!1,null===As||null===As.return)return Es=1,Ns=t,As=null;e:{var i=e,a=As.return,o=As,s=t;if(t=Cs,o.effectTag|=2048,o.firstEffect=o.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var l=s;if(0==(2&o.mode)){var c=o.alternate;c?(o.updateQueue=c.updateQueue,o.memoizedState=c.memoizedState,o.expirationTime=c.expirationTime):(o.updateQueue=null,o.memoizedState=null)}var u=0!=(1&Pa.current),d=a;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var h=d.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!u)}}if(f){var g=d.updateQueue;if(null===g){var m=new Set;m.add(l),d.updateQueue=m}else g.add(l);if(0==(2&d.mode)){if(d.effectTag|=64,o.effectTag&=-2981,1===o.tag)if(null===o.alternate)o.tag=17;else{var y=sa(1073741823,null);y.tag=2,la(o,y)}o.expirationTime=1073741823;break e}s=void 0,o=t;var v=i.pingCache;if(null===v?(v=i.pingCache=new ps,s=new Set,v.set(l,s)):void 0===(s=v.get(l))&&(s=new Set,v.set(l,s)),!s.has(o)){s.add(o);var b=bl.bind(null,i,l,o);l.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((me(o.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ye(o))}5!==Es&&(Es=2),s=Ko(s,o),d=a;do{switch(d.tag){case 3:l=s,d.effectTag|=4096,d.expirationTime=t,ca(d,hs(d,l,t));break e;case 1:l=s;var I=d.type,x=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof I.getDerivedStateFromError||null!==x&&"function"==typeof x.componentDidCatch&&(null===_s||!_s.has(x)))){d.effectTag|=4096,d.expirationTime=t,ca(d,gs(d,l,t));break e}}d=d.return}while(null!==d)}As=ul(As)}catch(e){t=e;continue}break}}function il(){var e=vs.current;return vs.current=mo,null===e?mo:e}function al(e,t){e<Ss&&2<e&&(Ss=e),null!==t&&e<ks&&2<e&&(ks=e,js=t)}function ol(e){e>Ds&&(Ds=e)}function sl(){for(;null!==As;)As=cl(As)}function ll(){for(;null!==As&&!Li();)As=cl(As)}function cl(e){var t=ms(e.alternate,e,Cs);return e.memoizedProps=e.pendingProps,null===t&&(t=ul(e)),bs.current=null,t}function ul(e){As=e;do{var t=As.alternate;if(e=As.return,0==(2048&As.effectTag)){if(t=Jo(t,As,Cs),1===Cs||1!==As.childExpirationTime){for(var n=0,r=As.child;null!==r;){var i=r.expirationTime,a=r.childExpirationTime;i>n&&(n=i),a>n&&(n=a),r=r.sibling}As.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=As.firstEffect),null!==As.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=As.firstEffect),e.lastEffect=As.lastEffect),1<As.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=As:e.firstEffect=As,e.lastEffect=As))}else{if(null!==(t=Xo(As)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=As.sibling))return t;As=e}while(null!==As);return Es===Is&&(Es=5),null}function dl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function fl(e){var t=Zi();return Gi(99,pl.bind(null,e,t)),null}function pl(e,t){do{gl()}while(null!==Zs);if(0!=(48&Ts))throw Error(o(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=dl(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Ms&&(As=Ms=null,Cs=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var a=Ts;Ts|=32,bs.current=null,gn=Ht;var s=pn();if(hn(s)){if("selectionStart"in s)var l={start:s.selectionStart,end:s.selectionEnd};else e:{var c=(l=(l=s.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(c&&0!==c.rangeCount){l=c.anchorNode;var u=c.anchorOffset,d=c.focusNode;c=c.focusOffset;try{l.nodeType,d.nodeType}catch(e){l=null;break e}var f=0,p=-1,h=-1,g=0,m=0,y=s,v=null;t:for(;;){for(var b;y!==l||0!==u&&3!==y.nodeType||(p=f+u),y!==d||0!==c&&3!==y.nodeType||(h=f+c),3===y.nodeType&&(f+=y.nodeValue.length),null!==(b=y.firstChild);)v=y,y=b;for(;;){if(y===s)break t;if(v===l&&++g===u&&(p=f),v===d&&++m===c&&(h=f),null!==(b=y.nextSibling))break;v=(y=v).parentNode}y=b}l=-1===p||-1===h?null:{start:p,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;mn={activeElementDetached:null,focusedElem:s,selectionRange:l},Ht=!1,Ps=i;do{try{hl()}catch(e){if(null===Ps)throw Error(o(330));vl(Ps,e),Ps=Ps.nextEffect}}while(null!==Ps);Ps=i;do{try{for(s=e,l=t;null!==Ps;){var I=Ps.effectTag;if(16&I&&Ze(Ps.stateNode,""),128&I){var x=Ps.alternate;if(null!==x){var w=x.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&I){case 2:cs(Ps),Ps.effectTag&=-3;break;case 6:cs(Ps),Ps.effectTag&=-3,ds(Ps.alternate,Ps);break;case 1024:Ps.effectTag&=-1025;break;case 1028:Ps.effectTag&=-1025,ds(Ps.alternate,Ps);break;case 4:ds(Ps.alternate,Ps);break;case 8:us(s,u=Ps,l),ss(u)}Ps=Ps.nextEffect}}catch(e){if(null===Ps)throw Error(o(330));vl(Ps,e),Ps=Ps.nextEffect}}while(null!==Ps);if(w=mn,x=pn(),I=w.focusedElem,l=w.selectionRange,x!==I&&I&&I.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(I.ownerDocument.documentElement,I)){null!==l&&hn(I)&&(x=l.start,void 0===(w=l.end)&&(w=x),"selectionStart"in I?(I.selectionStart=x,I.selectionEnd=Math.min(w,I.value.length)):(w=(x=I.ownerDocument||document)&&x.defaultView||window).getSelection&&(w=w.getSelection(),u=I.textContent.length,s=Math.min(l.start,u),l=void 0===l.end?s:Math.min(l.end,u),!w.extend&&s>l&&(u=l,l=s,s=u),u=fn(I,s),d=fn(I,l),u&&d&&(1!==w.rangeCount||w.anchorNode!==u.node||w.anchorOffset!==u.offset||w.focusNode!==d.node||w.focusOffset!==d.offset)&&((x=x.createRange()).setStart(u.node,u.offset),w.removeAllRanges(),s>l?(w.addRange(x),w.extend(d.node,d.offset)):(x.setEnd(d.node,d.offset),w.addRange(x))))),x=[];for(w=I;w=w.parentNode;)1===w.nodeType&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof I.focus&&I.focus(),I=0;I<x.length;I++)(w=x[I]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Ht=!!gn,mn=gn=null,e.current=n,Ps=i;do{try{for(I=e;null!==Ps;){var T=Ps.effectTag;if(36&T&&as(I,Ps.alternate,Ps),128&T){x=void 0;var M=Ps.ref;if(null!==M){var A=Ps.stateNode;switch(Ps.tag){case 5:x=A;break;default:x=A}"function"==typeof M?M(x):M.current=x}}Ps=Ps.nextEffect}}catch(e){if(null===Ps)throw Error(o(330));vl(Ps,e),Ps=Ps.nextEffect}}while(null!==Ps);Ps=null,Oi(),Ts=a}else e.current=n;if(Us)Us=!1,Zs=e,Fs=t;else for(Ps=i;null!==Ps;)t=Ps.nextEffect,Ps.nextEffect=null,Ps=t;if(0===(t=e.firstPendingTime)&&(_s=null),1073741823===t?e===Ys?Bs++:(Bs=0,Ys=e):Bs=0,"function"==typeof xl&&xl(n.stateNode,r),Xs(e),Rs)throw Rs=!1,e=zs,zs=null,e;return 0!=(8&Ts)||Wi(),null}function hl(){for(;null!==Ps;){var e=Ps.effectTag;0!=(256&e)&&ns(Ps.alternate,Ps),0==(512&e)||Us||(Us=!0,Bi(97,(function(){return gl(),null}))),Ps=Ps.nextEffect}}function gl(){if(90!==Fs){var e=97<Fs?97:Fs;return Fs=90,Gi(e,ml)}}function ml(){if(null===Zs)return!1;var e=Zs;if(Zs=null,0!=(48&Ts))throw Error(o(331));var t=Ts;for(Ts|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rs(5,n),is(5,n)}}catch(t){if(null===e)throw Error(o(330));vl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Ts=t,Wi(),!0}function yl(e,t,n){la(e,t=hs(e,t=Ko(n,t),1073741823)),null!==(e=Qs(e,1073741823))&&Xs(e)}function vl(e,t){if(3===e.tag)yl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){yl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===_s||!_s.has(r))){la(n,e=gs(n,e=Ko(t,e),1073741823)),null!==(n=Qs(n,1073741823))&&Xs(n);break}}n=n.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ms===e&&Cs===n?Es===ws||Es===xs&&1073741823===Ss&&Ui()-Os<500?nl(e,Cs):Ls=!0:Dl(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Xs(e)))}function Il(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Vs(t=Hs(),e,null)),null!==(e=Qs(e,t))&&Xs(e)}ms=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||fi.current)ko=!0;else{if(r<n){switch(ko=!1,t.tag){case 3:Uo(t),No();break;case 5:if(La(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:gi(t.type)&&bi(t);break;case 4:ja(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,ci(Qi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Yo(e,t,n):(ci(Pa,1&Pa.current),null!==(t=qo(e,t,n))?t.sibling:null);ci(Pa,1&Pa.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Vo(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),ci(Pa,Pa.current),!r)return null}return qo(e,t,n)}ko=!1}}else ko=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=hi(t,di.current),na(t,n),i=Va(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,gi(r)){var a=!0;bi(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,aa(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&ha(t,r,s,e),i.updater=ga,t.stateNode=i,i._reactInternalFiber=t,ba(t,r,e,n),t=_o(null,t,r,!0,a,n)}else t.tag=0,jo(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,a=t.tag=function(e){if("function"==typeof e)return Al(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===de)return 14}return 2}(i),e=qi(i,e),a){case 0:t=Ro(null,t,i,e,n);break e;case 1:t=zo(null,t,i,e,n);break e;case 11:t=Do(null,t,i,e,n);break e;case 14:t=Lo(null,t,i,qi(i.type,e),r,n);break e}throw Error(o(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ro(e,t,r,i=t.elementType===r?i:qi(r,i),n);case 1:return r=t.type,i=t.pendingProps,zo(e,t,r,i=t.elementType===r?i:qi(r,i),n);case 3:if(Uo(t),r=t.updateQueue,null===e||null===r)throw Error(o(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,oa(e,t),ua(t,r,null,n),(r=t.memoizedState.element)===i)No(),t=qo(e,t,n);else{if((i=t.stateNode.hydrate)&&(xo=xn(t.stateNode.containerInfo.firstChild),Io=t,i=wo=!0),i)for(n=Aa(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else jo(e,t,r,n),No();t=t.child}return t;case 5:return La(t),null===e&&Ao(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,vn(r,i)?s=null:null!==a&&vn(r,a)&&(t.effectTag|=16),Po(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(jo(e,t,s,n),t=t.child),t;case 6:return null===e&&Ao(t),null;case 13:return Yo(e,t,n);case 4:return ja(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ma(t,null,r,n):jo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Do(e,t,r,i=t.elementType===r?i:qi(r,i),n);case 7:return jo(e,t,t.pendingProps,n),t.child;case 8:case 12:return jo(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,a=i.value;var l=t.type._context;if(ci(Qi,l._currentValue),l._currentValue=a,null!==s)if(l=s.value,0===(a=zr(l,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(s.children===i.children&&!fi.current){t=qo(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&a)){1===l.tag&&((u=sa(n,null)).tag=2,la(l,u)),l.expirationTime<n&&(l.expirationTime=n),null!==(u=l.alternate)&&u.expirationTime<n&&(u.expirationTime=n),ta(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}jo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(a=t.pendingProps).children,na(t,n),r=r(i=ra(i,a.unstable_observedBits)),t.effectTag|=1,jo(e,t,r,n),t.child;case 14:return a=qi(i=t.type,t.pendingProps),Lo(e,t,i,a=qi(i.type,a),r,n);case 15:return Oo(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:qi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,gi(r)?(e=!0,bi(t)):e=!1,na(t,n),ya(t,r,i),ba(t,r,i,n),_o(null,t,r,!0,e,n);case 19:return Vo(e,t,n)}throw Error(o(156,t.tag))};var xl=null,wl=null;function Tl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Ml(e,t,n,r){return new Tl(e,t,n,r)}function Al(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Cl(e,t){var n=e.alternate;return null===n?((n=Ml(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function El(e,t,n,r,i,a){var s=2;if(r=e,"function"==typeof e)Al(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case ne:return Nl(n.children,i,a,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=Ml(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=a,e;case ce:return(e=Ml(13,n,t,i)).type=ce,e.elementType=ce,e.expirationTime=a,e;case ue:return(e=Ml(19,n,t,i)).elementType=ue,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ae:s=10;break e;case oe:s=9;break e;case le:s=11;break e;case de:s=14;break e;case fe:s=16,r=null;break e;case pe:s=22;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ml(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=a,t}function Nl(e,t,n,r){return(e=Ml(7,e,r,t)).expirationTime=n,e}function Sl(e,t,n){return(e=Ml(6,e,null,t)).expirationTime=n,e}function kl(e,t,n){return(t=Ml(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Dl(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ll(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Ol(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Pl(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Rl(e,t,n,r){var i=t.current,a=Hs(),s=fa.suspense;a=Vs(a,i,s);e:if(n){t:{if($e(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(o(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(gi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(o(171))}if(1===n.tag){var c=n.type;if(gi(c)){n=vi(n,c,l);break e}}n=l}else n=ui;return null===t.context?t.context=n:t.pendingContext=n,(t=sa(a,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),la(i,t),qs(i,a),a}function zl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function _l(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Ul(e,t){_l(e,t),(e=e.alternate)&&_l(e,t)}function Zl(e,t,n){var r=new jl(e,t,n=null!=n&&!0===n.hydrate),i=Ml(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,aa(i),e[Cn]=r.current,n&&0!==t&&function(e,t){var n=Ke(t);Ct.forEach((function(e){ht(e,t,n)})),Et.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Fl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gl(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=zl(o);s.call(e)}}Rl(t,o,e,i)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Zl(e,0,t?{hydrate:!0}:void 0)}(n,r),o=a._internalRoot,"function"==typeof i){var l=i;i=function(){var e=zl(o);l.call(e)}}tl((function(){Rl(t,o,e,i)}))}return zl(o)}function Bl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Yl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Fl(t))throw Error(o(200));return Bl(e,t,null,n)}Zl.prototype.render=function(e){Rl(e,this._internalRoot,null,null)},Zl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Rl(null,e,null,(function(){t[Cn]=null}))},gt=function(e){if(13===e.tag){var t=Vi(Hs(),150,100);qs(e,t),Ul(e,t)}},mt=function(e){13===e.tag&&(qs(e,3),Ul(e,3))},yt=function(e){if(13===e.tag){var t=Hs();qs(e,t=Vs(t,e,null)),Ul(e,t)}},N=function(e,t,n){switch(t){case"input":if(Ae(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=kn(r);if(!i)throw Error(o(90));xe(r),Ae(r,i)}}}break;case"textarea":De(e,n);break;case"select":null!=(t=n.value)&&Se(e,!!n.multiple,t,!1)}},O=el,P=function(e,t,n,r,i){var a=Ts;Ts|=4;try{return Gi(98,e.bind(null,t,n,r,i))}finally{0===(Ts=a)&&Wi()}},R=function(){0==(49&Ts)&&(function(){if(null!==Gs){var e=Gs;Gs=null,e.forEach((function(e,t){Pl(t,e),Xs(t)})),Wi()}}(),gl())},z=function(e,t){var n=Ts;Ts|=2;try{return e(t)}finally{0===(Ts=n)&&Wi()}};var Wl,Hl,Vl={Events:[Nn,Sn,kn,C,T,zn,function(e){it(e,Rn)},D,L,Xt,st,gl,{current:!1}]};Hl=(Wl={findFiberByHostInstance:En,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);xl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},wl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},Wl,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Hl?Hl(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vl,t.createPortal=Yl,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw Error(o(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&Ts))throw Error(o(187));var n=Ts;Ts|=1;try{return Gi(99,e.bind(null,t))}finally{Ts=n,Wi()}},t.hydrate=function(e,t,n){if(!Fl(t))throw Error(o(200));return Gl(null,e,t,!0,n)},t.render=function(e,t,n){if(!Fl(t))throw Error(o(200));return Gl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Fl(e))throw Error(o(40));return!!e._reactRootContainer&&(tl((function(){Gl(null,null,e,!1,(function(){e._reactRootContainer=null,e[Cn]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return Yl(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Fl(n))throw Error(o(200));if(null==e||void 0===e._reactInternalFiber)throw Error(o(38));return Gl(e,t,n,!1,r)},t.version="16.14.0"},function(e,t,n){"use strict";
67
67
  /*
68
68
  object-assign
69
69
  (c) Sindre Sorhus
70
70
  @license MIT
71
- */var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=o(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))i.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";e.exports=n(91)},function(e,t,n){"use strict";
71
+ */var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=o(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))i.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";e.exports=n(87)},function(e,t,n){"use strict";
72
72
  /** @license React v0.19.1
73
73
  * scheduler.production.min.js
74
74
  *
@@ -76,23 +76,15 @@ object-assign
76
76
  *
77
77
  * This source code is licensed under the MIT license found in the
78
78
  * LICENSE file in the root directory of this source tree.
79
- */var r,i,a,o,s;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,u=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(u,0),e}},d=Date.now();t.unstable_now=function(){return Date.now()-d},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(u,0))},i=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},o=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,p=window.Date,h=window.setTimeout,g=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var y=p.now();t.unstable_now=function(){return p.now()-y}}var v=!1,b=null,I=-1,x=5,w=0;o=function(){return t.unstable_now()>=w},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):x=0<e?Math.floor(1e3/e):5};var T=new MessageChannel,M=T.port2;T.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();w=e+x;try{b(!0,e)?M.postMessage(null):(v=!1,b=null)}catch(e){throw M.postMessage(null),e}}else v=!1},r=function(e){b=e,v||(v=!0,M.postMessage(null))},i=function(e,n){I=h((function(){e(t.unstable_now())}),n)},a=function(){g(I),I=-1}}function A(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<N(i,t)))break e;e[r]=t,e[n]=i,n=r}}function C(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var a=2*(r+1)-1,o=e[a],s=a+1,l=e[s];if(void 0!==o&&0>N(o,n))void 0!==l&&0>N(l,o)?(e[r]=l,e[s]=n,r=s):(e[r]=o,e[a]=n,r=a);else{if(!(void 0!==l&&0>N(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function N(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var S=[],k=[],j=1,D=null,L=3,O=!1,P=!1,R=!1;function z(e){for(var t=C(k);null!==t;){if(null===t.callback)E(k);else{if(!(t.startTime<=e))break;E(k),t.sortIndex=t.expirationTime,A(S,t)}t=C(k)}}function _(e){if(R=!1,z(e),!P)if(null!==C(S))P=!0,r(U);else{var t=C(k);null!==t&&i(_,t.startTime-e)}}function U(e,n){P=!1,R&&(R=!1,a()),O=!0;var r=L;try{for(z(n),D=C(S);null!==D&&(!(D.expirationTime>n)||e&&!o());){var s=D.callback;if(null!==s){D.callback=null,L=D.priorityLevel;var l=s(D.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?D.callback=l:D===C(S)&&E(S),z(n)}else E(S);D=C(S)}if(null!==D)var c=!0;else{var u=C(k);null!==u&&i(_,u.startTime-n),c=!1}return c}finally{D=null,L=r,O=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var Z=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||O||(P=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return C(S)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=Z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,n,o){var s=t.unstable_now();if("object"==typeof o&&null!==o){var l=o.delay;l="number"==typeof l&&0<l?s+l:s,o="number"==typeof o.timeout?o.timeout:F(e)}else o=F(e),l=s;return e={id:j++,callback:n,priorityLevel:e,startTime:l,expirationTime:o=l+o,sortIndex:-1},l>s?(e.sortIndex=l,A(k,e),null===C(S)&&e===C(k)&&(R?a():R=!0,i(_,l-s))):(e.sortIndex=o,A(S,e),P||O||(P=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();z(e);var n=C(S);return n!==D&&null!==D&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<D.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(93),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(12))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,a,o,s,l=1,c={},u=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){a.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(o="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&h(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(o+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return c[l]=i,r(l),l++},f.clearImmediate=p}function p(e){delete c[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=c[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),u=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(12),n(44))},function(e,t,n){"use strict";
80
- /** @license React v17.0.2
81
- * react-is.production.min.js
82
- *
83
- * Copyright (c) Facebook, Inc. and its affiliates.
84
- *
85
- * This source code is licensed under the MIT license found in the
86
- * LICENSE file in the root directory of this source tree.
87
- */var r=60103,i=60106,a=60107,o=60108,s=60114,l=60109,c=60110,u=60112,d=60113,f=60120,p=60115,h=60116,g=60121,m=60122,y=60117,v=60129,b=60131;if("function"==typeof Symbol&&Symbol.for){var I=Symbol.for;r=I("react.element"),i=I("react.portal"),a=I("react.fragment"),o=I("react.strict_mode"),s=I("react.profiler"),l=I("react.provider"),c=I("react.context"),u=I("react.forward_ref"),d=I("react.suspense"),f=I("react.suspense_list"),p=I("react.memo"),h=I("react.lazy"),g=I("react.block"),m=I("react.server.block"),y=I("react.fundamental"),v=I("react.debug_trace_mode"),b=I("react.legacy_hidden")}function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case a:case s:case o:case d:case f:return e;default:switch(e=e&&e.$$typeof){case c:case u:case h:case p:case l:return e;default:return t}}case i:return t}}}var w=l,T=r,M=u,A=a,C=h,E=p,N=i,S=s,k=o,j=d;t.ContextConsumer=c,t.ContextProvider=w,t.Element=T,t.ForwardRef=M,t.Fragment=A,t.Lazy=C,t.Memo=E,t.Portal=N,t.Profiler=S,t.StrictMode=k,t.Suspense=j,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===u},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===h},t.isMemo=function(e){return x(e)===p},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===o},t.isSuspense=function(e){return x(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===s||e===v||e===o||e===d||e===f||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===l||e.$$typeof===c||e.$$typeof===u||e.$$typeof===y||e.$$typeof===g||e[0]===m)},t.typeOf=x},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RssHandler=t.DefaultHandler=t.DomUtils=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DomHandler=t.Parser=void 0;var l=n(45);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var c=n(49);function u(e,t){var n=new c.DomHandler(void 0,t);return new l.Parser(n,t).end(e),n.root}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=u,t.parseDOM=function(e,t){return u(e,t).children},t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new l.Parser(r,t)};var d=n(46);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return s(d).default}});var f=a(n(97));t.ElementType=f,o(n(51),t),t.DomUtils=a(n(52));var p=n(51);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return p.FeedHandler}})},function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(13),a=r(n(99));function o(e,t){return a.default(e,t)}t.getOuterHTML=o,t.getInnerHTML=function(e,t){return i.hasChildren(e)?e.children.map((function(e){return o(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):i.isTag(t)?"br"===t.name?"\n":e(t.children):i.isCDATA(t)?e(t.children):i.isText(t)?t.data:""}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var s=o(n(53)),l=n(100),c=n(101),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);var d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function f(e,t){void 0===t&&(t={});for(var n=Array.isArray(e)||e.cheerio?e:[e],r="",i=0;i<n.length;i++)r+=p(n[i],t);return r}function p(e,t){switch(e.type){case s.Root:return f(e.children,t);case s.Directive:case s.Doctype:return"<"+e.data+">";case s.Comment:return function(e){return"\x3c!--"+e.data+"--\x3e"}(e);case s.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=c.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&h.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1})));!t.xmlMode&&g.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<"+e.name,a=function(e,t){if(e)return Object.keys(e).map((function(n){var r,i,a=null!==(r=e[n])&&void 0!==r?r:"";return"foreign"===t.xmlMode&&(n=null!==(i=c.attributeNames.get(n))&&void 0!==i?i:n),t.emptyAttrs||t.xmlMode||""!==a?n+'="'+(t.decodeEntities?l.encodeXML(a):a.replace(/"/g,"&quot;"))+'"':n})).join(" ")}(e.attribs,t);a&&(i+=" "+a);0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&d.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=f(e.children,t)),!t.xmlMode&&d.has(e.name)||(i+="</"+e.name+">"));return i}(e,t);case s.Text:return function(e,t){var n=e.data||"";!t.decodeEntities||e.parent&&u.has(e.parent.name)||(n=l.encodeXML(n));return n}(e,t)}}t.default=f;var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(54),i=n(55);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var a=n(55);t.encodeXML=a.encodeXML,t.encodeHTML=a.encodeHTML,t.escape=a.escape,t.encodeHTML4=a.encodeHTML,t.encodeHTML5=a.encodeHTML;var o=n(54);t.decodeXML=o.decodeXML,t.decodeHTML=o.decodeHTML,t.decodeHTMLStrict=o.decodeHTMLStrict,t.decodeHTML4=o.decodeHTML,t.decodeHTML5=o.decodeHTML,t.decodeHTML4Strict=o.decodeHTMLStrict,t.decodeHTML5Strict=o.decodeHTMLStrict,t.decodeXMLStrict=o.decodeXML},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(13),i=[];function a(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function o(e){return e.parent||null}t.getChildren=a,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return a(t);for(var n=[e],r=e.prev,i=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=i;)n.push(i),i=i.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!r.isTag(t);)t=t.next;return t}},function(e,t,n){"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var a=i.children;a[a.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var a=n.children;a.splice(a.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(56),i=n(13),a={tag_name:function(e){return"function"==typeof e?function(t){return i.isTag(t)&&e(t.name)}:"*"===e?i.isTag:function(t){return i.isTag(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return i.isText(t)&&e(t.data)}:function(t){return i.isText(t)&&t.data===e}}};function o(e,t){return"function"==typeof t?function(n){return i.isTag(n)&&t(n.attribs[e])}:function(n){return i.isTag(n)&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}function l(e){var t=Object.keys(e).map((function(t){var n=e[t];return t in a?a[t](n):o(t,n)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var n=l(e);return!n||n(t)},t.getElements=function(e,t,n,i){void 0===i&&(i=1/0);var a=l(e);return a?r.filter(a,t,n,i):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),r.findOne(o("id",e),t,n)},t.getElementsByTagName=function(e,t,n,i){return void 0===n&&(n=!0),void 0===i&&(i=1/0),r.filter(a.tag_name(e),t,n,i)},t.getElementsByTagType=function(e,t,n,i){return void 0===n&&(n=!0),void 0===i&&(i=1/0),r.filter(a.tag_type(e),t,n,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var r=n(13);function i(e,t){var n=[],i=[];if(e===t)return 0;for(var a=r.hasChildren(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=r.hasChildren(t)?t:t.parent;a;)i.unshift(a),a=a.parent;for(var o=Math.min(n.length,i.length),s=0;s<o&&n[s]===i[s];)s++;if(0===s)return 1;var l=n[s-1],c=l.children,u=n[s],d=i[s];return c.indexOf(u)>c.indexOf(d)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=i(e,t);return 2&n?-1:4&n?1:0})),e}},function(e,t,n){"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},function(e,t,n){"use strict";
79
+ */var r,i,a,o,s;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,u=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(u,0),e}},d=Date.now();t.unstable_now=function(){return Date.now()-d},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(u,0))},i=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},o=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,p=window.Date,h=window.setTimeout,g=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var y=p.now();t.unstable_now=function(){return p.now()-y}}var v=!1,b=null,I=-1,x=5,w=0;o=function(){return t.unstable_now()>=w},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):x=0<e?Math.floor(1e3/e):5};var T=new MessageChannel,M=T.port2;T.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();w=e+x;try{b(!0,e)?M.postMessage(null):(v=!1,b=null)}catch(e){throw M.postMessage(null),e}}else v=!1},r=function(e){b=e,v||(v=!0,M.postMessage(null))},i=function(e,n){I=h((function(){e(t.unstable_now())}),n)},a=function(){g(I),I=-1}}function A(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<N(i,t)))break e;e[r]=t,e[n]=i,n=r}}function C(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var a=2*(r+1)-1,o=e[a],s=a+1,l=e[s];if(void 0!==o&&0>N(o,n))void 0!==l&&0>N(l,o)?(e[r]=l,e[s]=n,r=s):(e[r]=o,e[a]=n,r=a);else{if(!(void 0!==l&&0>N(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function N(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var S=[],k=[],j=1,D=null,L=3,O=!1,P=!1,R=!1;function z(e){for(var t=C(k);null!==t;){if(null===t.callback)E(k);else{if(!(t.startTime<=e))break;E(k),t.sortIndex=t.expirationTime,A(S,t)}t=C(k)}}function _(e){if(R=!1,z(e),!P)if(null!==C(S))P=!0,r(U);else{var t=C(k);null!==t&&i(_,t.startTime-e)}}function U(e,n){P=!1,R&&(R=!1,a()),O=!0;var r=L;try{for(z(n),D=C(S);null!==D&&(!(D.expirationTime>n)||e&&!o());){var s=D.callback;if(null!==s){D.callback=null,L=D.priorityLevel;var l=s(D.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?D.callback=l:D===C(S)&&E(S),z(n)}else E(S);D=C(S)}if(null!==D)var c=!0;else{var u=C(k);null!==u&&i(_,u.startTime-n),c=!1}return c}finally{D=null,L=r,O=!1}}function Z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var F=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||O||(P=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return C(S)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,n,o){var s=t.unstable_now();if("object"==typeof o&&null!==o){var l=o.delay;l="number"==typeof l&&0<l?s+l:s,o="number"==typeof o.timeout?o.timeout:Z(e)}else o=Z(e),l=s;return e={id:j++,callback:n,priorityLevel:e,startTime:l,expirationTime:o=l+o,sortIndex:-1},l>s?(e.sortIndex=l,A(k,e),null===C(S)&&e===C(k)&&(R?a():R=!0,i(_,l-s))):(e.sortIndex=o,A(S,e),P||O||(P=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();z(e);var n=C(S);return n!==D&&null!==D&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<D.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(89),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(11))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,a,o,s,l=1,c={},u=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){a.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(o="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&h(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(o+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return c[l]=i,r(l),l++},f.clearImmediate=p}function p(e){delete c[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=c[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),u=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(11),n(43))},function(e,t,n){"use strict";var r=n(91);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RssHandler=t.DefaultHandler=t.DomUtils=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DomHandler=t.Parser=void 0;var l=n(44);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var c=n(48);function u(e,t){var n=new c.DomHandler(void 0,t);return new l.Parser(n,t).end(e),n.root}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=u,t.parseDOM=function(e,t){return u(e,t).children},t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new l.Parser(r,t)};var d=n(45);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return s(d).default}});var f=a(n(94));t.ElementType=f,o(n(50),t),t.DomUtils=a(n(51));var p=n(50);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return p.FeedHandler}})},function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(12),a=r(n(96));function o(e,t){return a.default(e,t)}t.getOuterHTML=o,t.getInnerHTML=function(e,t){return i.hasChildren(e)?e.children.map((function(e){return o(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):i.isTag(t)?"br"===t.name?"\n":e(t.children):i.isCDATA(t)?e(t.children):i.isText(t)?t.data:""}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var s=o(n(52)),l=n(97),c=n(98),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);var d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function f(e,t){void 0===t&&(t={});for(var n=Array.isArray(e)||e.cheerio?e:[e],r="",i=0;i<n.length;i++)r+=p(n[i],t);return r}function p(e,t){switch(e.type){case s.Root:return f(e.children,t);case s.Directive:case s.Doctype:return"<"+e.data+">";case s.Comment:return function(e){return"\x3c!--"+e.data+"--\x3e"}(e);case s.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=c.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&h.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1})));!t.xmlMode&&g.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<"+e.name,a=function(e,t){if(e)return Object.keys(e).map((function(n){var r,i,a=null!==(r=e[n])&&void 0!==r?r:"";return"foreign"===t.xmlMode&&(n=null!==(i=c.attributeNames.get(n))&&void 0!==i?i:n),t.emptyAttrs||t.xmlMode||""!==a?n+'="'+(t.decodeEntities?l.encodeXML(a):a.replace(/"/g,"&quot;"))+'"':n})).join(" ")}(e.attribs,t);a&&(i+=" "+a);0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&d.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=f(e.children,t)),!t.xmlMode&&d.has(e.name)||(i+="</"+e.name+">"));return i}(e,t);case s.Text:return function(e,t){var n=e.data||"";!t.decodeEntities||e.parent&&u.has(e.parent.name)||(n=l.encodeXML(n));return n}(e,t)}}t.default=f;var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(53),i=n(54);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var a=n(54);t.encodeXML=a.encodeXML,t.encodeHTML=a.encodeHTML,t.escape=a.escape,t.encodeHTML4=a.encodeHTML,t.encodeHTML5=a.encodeHTML;var o=n(53);t.decodeXML=o.decodeXML,t.decodeHTML=o.decodeHTML,t.decodeHTMLStrict=o.decodeHTMLStrict,t.decodeHTML4=o.decodeHTML,t.decodeHTML5=o.decodeHTML,t.decodeHTML4Strict=o.decodeHTMLStrict,t.decodeHTML5Strict=o.decodeHTMLStrict,t.decodeXMLStrict=o.decodeXML},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(12),i=[];function a(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function o(e){return e.parent||null}t.getChildren=a,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return a(t);for(var n=[e],r=e.prev,i=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=i;)n.push(i),i=i.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!r.isTag(t);)t=t.next;return t}},function(e,t,n){"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var a=i.children;a[a.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var a=n.children;a.splice(a.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(55),i=n(12),a={tag_name:function(e){return"function"==typeof e?function(t){return i.isTag(t)&&e(t.name)}:"*"===e?i.isTag:function(t){return i.isTag(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return i.isText(t)&&e(t.data)}:function(t){return i.isText(t)&&t.data===e}}};function o(e,t){return"function"==typeof t?function(n){return i.isTag(n)&&t(n.attribs[e])}:function(n){return i.isTag(n)&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}function l(e){var t=Object.keys(e).map((function(t){var n=e[t];return t in a?a[t](n):o(t,n)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var n=l(e);return!n||n(t)},t.getElements=function(e,t,n,i){void 0===i&&(i=1/0);var a=l(e);return a?r.filter(a,t,n,i):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),r.findOne(o("id",e),t,n)},t.getElementsByTagName=function(e,t,n,i){return void 0===n&&(n=!0),void 0===i&&(i=1/0),r.filter(a.tag_name(e),t,n,i)},t.getElementsByTagType=function(e,t,n,i){return void 0===n&&(n=!0),void 0===i&&(i=1/0),r.filter(a.tag_type(e),t,n,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var r=n(12);function i(e,t){var n=[],i=[];if(e===t)return 0;for(var a=r.hasChildren(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=r.hasChildren(t)?t:t.parent;a;)i.unshift(a),a=a.parent;for(var o=Math.min(n.length,i.length),s=0;s<o&&n[s]===i[s];)s++;if(0===s)return 1;var l=n[s-1],c=l.children,u=n[s],d=i[s];return c.indexOf(u)>c.indexOf(d)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=i(e,t);return 2&n?-1:4&n?1:0})),e}},function(e,t,n){"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},function(e,t,n){"use strict";
88
80
  /*!
89
81
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
90
82
  *
91
83
  * Copyright (c) 2014-2017, Jon Schlinkert.
92
84
  * Released under the MIT License.
93
85
  */
94
- function r(e){return"[object Object]"===Object.prototype.toString.call(e)}function i(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}n.r(t),n.d(t,"isPlainObject",(function(){return i}))},function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return a(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach((function(t){r[t]=a(e[t],n)})),s(t).forEach((function(i){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(l(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(i,n)(e[i],t[i],n):r[i]=a(t[i],n))})),r}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||o,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=a;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):c(e,t,n):a(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var d=u;e.exports=d},function(e,t,n){var r,i,a;i=[],void 0===(a="function"==typeof(r=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(g));if(r)return n=r[0],g+=n.length,n}for(var r,i,a,o,s,l=e.length,c=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,p=/^\d+$/,h=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,m=[];;){if(n(u),g>=l)return m;r=n(d),i=[],","===r.slice(-1)?(r=r.replace(f,""),v()):y()}function y(){for(n(c),a="",o="in descriptor";;){if(s=e.charAt(g),"in descriptor"===o)if(t(s))a&&(i.push(a),a="",o="after descriptor");else{if(","===s)return g+=1,a&&i.push(a),void v();if("("===s)a+=s,o="in parens";else{if(""===s)return a&&i.push(a),void v();a+=s}}else if("in parens"===o)if(")"===s)a+=s,o="in descriptor";else{if(""===s)return i.push(a),void v();a+=s}else if("after descriptor"===o)if(t(s));else{if(""===s)return void v();o="in descriptor",g-=1}g+=1}}function v(){var t,n,a,o,s,l,c,u,d,f=!1,g={};for(o=0;o<i.length;o++)l=(s=i[o])[s.length-1],c=s.substring(0,s.length-1),u=parseInt(c,10),d=parseFloat(c),p.test(c)&&"w"===l?((t||n)&&(f=!0),0===u?f=!0:t=u):h.test(c)&&"x"===l?((t||n||a)&&(f=!0),d<0?f=!0:n=d):p.test(c)&&"h"===l?((a||n)&&(f=!0),0===u?f=!0:a=u):f=!0;f?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(g.url=r,t&&(g.w=t),n&&(g.d=n),a&&(g.h=a),m.push(g))}}})?r.apply(t,i):r)||(e.exports=a)},function(e,t,n){"use strict";(function(t){let r=n(28),i=n(18),a=n(59),o=n(10),s=n(119),l=n(20),c=n(121),u=n(33),d=n(64),f=n(22),p=n(36),h=n(34),g=n(21),m=n(35),y=n(65),v=n(37),b=n(14),I=n(19);function x(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new s(e)}x.plugin=function(e,n){function r(...t){let r=n(...t);return r.postcssPlugin=e,r.postcssVersion=(new s).version,r}let i;return console&&console.warn&&(console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),t.env.LANG&&t.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(r,"postcss",{get:()=>(i||(i=r()),i)}),r.process=function(e,t,n){return x([r(n)]).process(e,t)},r},x.stringify=l,x.parse=m,x.fromJSON=c,x.list=y,x.comment=e=>new f(e),x.atRule=e=>new p(e),x.decl=e=>new i(e),x.rule=e=>new v(e),x.root=e=>new b(e),x.document=e=>new u(e),x.CssSyntaxError=r,x.Declaration=i,x.Container=o,x.Processor=s,x.Document=u,x.Comment=f,x.Warning=d,x.AtRule=p,x.Result=h,x.Input=g,x.Rule=v,x.Root=b,x.Node=I,a.registerPostcss(x),e.exports=x,x.default=x}).call(this,n(44))},function(e,t){var n=String,r=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n}};e.exports=r(),e.exports.createColors=r},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),o=r[0],s=r[1],l=new a(function(e,t,n){return 3*(t+n)/4-n}(0,o,s)),u=0,d=s>0?o-4:o;for(n=0;n<d;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;o<s;o+=16383)a.push(u(e,o,o+16383>s?s:o+16383));1===i?(t=e[n-1],a.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],a.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return a.join("")};for(var r=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s<l;++s)r[s]=o[s],i[o.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,a,o=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(r[(a=i)>>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=f,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),a-=c}return(p?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,d=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:a-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;e[n+p]=255&o,p+=h,o/=256,c-=8);e[n+p-h]|=128*g}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"nanoid",(function(){return i})),n.d(t,"customAlphabet",(function(){return r}));let r=(e,t)=>()=>{let n="",r=t;for(;r--;)n+=e[Math.random()*e.length|0];return n},i=(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t}},function(e,t){},function(e,t,n){"use strict";let r=n(18),i=n(118),a=n(22),o=n(36),s=n(14),l=n(37);e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new a;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,n=null,r=!1,i=null,a=[],o=e[1].startsWith("--"),s=[],l=e;for(;l;){if(n=l[0],s.push(l),"("===n||"["===n)i||(i=l),a.push("("===n?")":"]");else if(o&&r&&"{"===n)i||(i=l),a.push("}");else if(0===a.length){if(";"===n){if(r)return void this.decl(s,o);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===a[a.length-1]&&(a.pop(),0===a.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){for(;s.length&&(l=s[s.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let n=new r;this.init(n,e[0][2]);let i,a=e[e.length-1];for(";"===a[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(a[3]||a[2]);"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(i=e.shift(),":"===i[0]){n.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),n.raws.between+=i[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let o=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(i=e[t],"!important"===i[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===i[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=r.pop()[1]+i}0===i.trim().indexOf("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==i[0]&&"comment"!==i[0])break}let s=e.some(e=>"space"!==e[0]&&"comment"!==e[0]);this.raw(n,"value",e),s?n.raws.between+=o:n.value=o+n.value,n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,n,r,i=new o;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let a=!1,s=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(l.length>0){for(r=l.length-1,n=l[r];n&&"space"===n[0];)n=l[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]))}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),a&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,n){let r,i,a,o,s=n.length,l="",c=!0,u=/^([#.|])?(\w)+/i;for(let t=0;t<s;t+=1)r=n[t],i=r[0],"comment"!==i||"rule"!==e.type?"comment"===i||"space"===i&&t===s-1?c=!1:l+=r[1]:(o=n[t-1],a=n[t+1],"space"!==o[0]&&"space"!==a[0]&&u.test(o[1])&&u.test(a[1])?l+=r[1]:c=!1);if(!c){let r=n.reduce((e,t)=>e+t[1],"");e.raws[t]={value:l,raw:r}}e[t]=l}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}colon(e){let t,n,r,i=0;for(let[a,o]of e.entries()){if(t=o,n=t[0],"("===n&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return a}this.doubleColon(t)}r=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let i=t-1;i>=0&&(n=e[i],"space"===n[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}}},function(e,t,n){"use strict";const r="'".charCodeAt(0),i='"'.charCodeAt(0),a="\\".charCodeAt(0),o="/".charCodeAt(0),s="\n".charCodeAt(0),l=" ".charCodeAt(0),c="\f".charCodeAt(0),u="\t".charCodeAt(0),d="\r".charCodeAt(0),f="[".charCodeAt(0),p="]".charCodeAt(0),h="(".charCodeAt(0),g=")".charCodeAt(0),m="{".charCodeAt(0),y="}".charCodeAt(0),v=";".charCodeAt(0),b="*".charCodeAt(0),I=":".charCodeAt(0),x="@".charCodeAt(0),w=/[\t\n\f\r "#'()/;[\\\]{}]/g,T=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,M=/.[\n"'(/\\]/,A=/[\da-f]/i;e.exports=function(e,t={}){let n,C,E,N,S,k,j,D,L,O,P=e.css.valueOf(),R=t.ignoreErrors,z=P.length,_=0,U=[],F=[];function Z(t){throw e.error("Unclosed "+t,_)}return{back:function(e){F.push(e)},nextToken:function(e){if(F.length)return F.pop();if(_>=z)return;let t=!!e&&e.ignoreUnclosed;switch(n=P.charCodeAt(_),n){case s:case l:case u:case d:case c:C=_;do{C+=1,n=P.charCodeAt(C)}while(n===l||n===s||n===u||n===d||n===c);O=["space",P.slice(_,C)],_=C-1;break;case f:case p:case m:case y:case I:case v:case g:{let e=String.fromCharCode(n);O=[e,e,_];break}case h:if(D=U.length?U.pop()[1]:"",L=P.charCodeAt(_+1),"url"===D&&L!==r&&L!==i&&L!==l&&L!==s&&L!==u&&L!==c&&L!==d){C=_;do{if(k=!1,C=P.indexOf(")",C+1),-1===C){if(R||t){C=_;break}Z("bracket")}for(j=C;P.charCodeAt(j-1)===a;)j-=1,k=!k}while(k);O=["brackets",P.slice(_,C+1),_,C],_=C}else C=P.indexOf(")",_+1),N=P.slice(_,C+1),-1===C||M.test(N)?O=["(","(",_]:(O=["brackets",N,_,C],_=C);break;case r:case i:E=n===r?"'":'"',C=_;do{if(k=!1,C=P.indexOf(E,C+1),-1===C){if(R||t){C=_+1;break}Z("string")}for(j=C;P.charCodeAt(j-1)===a;)j-=1,k=!k}while(k);O=["string",P.slice(_,C+1),_,C],_=C;break;case x:w.lastIndex=_+1,w.test(P),C=0===w.lastIndex?P.length-1:w.lastIndex-2,O=["at-word",P.slice(_,C+1),_,C],_=C;break;case a:for(C=_,S=!0;P.charCodeAt(C+1)===a;)C+=1,S=!S;if(n=P.charCodeAt(C+1),S&&n!==o&&n!==l&&n!==s&&n!==u&&n!==d&&n!==c&&(C+=1,A.test(P.charAt(C)))){for(;A.test(P.charAt(C+1));)C+=1;P.charCodeAt(C+1)===l&&(C+=1)}O=["word",P.slice(_,C+1),_,C],_=C;break;default:n===o&&P.charCodeAt(_+1)===b?(C=P.indexOf("*/",_+2)+1,0===C&&(R||t?C=P.length:Z("comment")),O=["comment",P.slice(_,C+1),_,C],_=C):(T.lastIndex=_+1,T.test(P),C=0===T.lastIndex?P.length-1:T.lastIndex-2,O=["word",P.slice(_,C+1),_,C],U.push(O),_=C)}return _++,O},endOfFile:function(){return 0===F.length&&_>=z},position:function(){return _}}}},function(e,t,n){"use strict";let r=n(120),i=n(59),a=n(33),o=n(14);class s{constructor(e=[]){this.version="8.4.5",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new r(this,e,t):new i(this,e,t)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else{if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin")}return t}}e.exports=s,s.default=s,o.registerProcessor(s),a.registerProcessor(s)},function(e,t,n){"use strict";let r=n(60),i=n(20),a=(n(63),n(35));const o=n(34);class s{constructor(e,t,n){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let a=i;this.result=new o(this._processor,void 0,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,"root",{get:()=>s.root});let l=new r(a,void 0,this._opts,t);if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=a;try{e=t(this._css,this._opts)}catch(e){this.error=e}return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}e.exports=s,s.default=s},function(e,t,n){"use strict";let r=n(18),i=n(62),a=n(22),o=n(36),s=n(21),l=n(14),c=n(37);function u(e,t){if(Array.isArray(e))return e.map(e=>u(e));let{inputs:n,...d}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:s.prototype};n.map&&(n.map={...n.map,__proto__:i.prototype}),t.push(n)}}if(d.nodes&&(d.nodes=e.nodes.map(e=>u(e,t))),d.source){let{inputId:e,...n}=d.source;d.source=n,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new l(d);if("decl"===d.type)return new r(d);if("rule"===d.type)return new c(d);if("comment"===d.type)return new a(d);if("atrule"===d.type)return new o(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},function(e,t,n){"use strict";n.r(t),n.d(t,"Attachments",(function(){return ys})),n.d(t,"Exam",(function(){return gh})),n.d(t,"GradingInstructions",(function(){return kh})),n.d(t,"Results",(function(){return ug})),n.d(t,"parseExam",(function(){return Zg}));var r=n(0),i=n.n(r),a=n(68),o=n.n(a),s=n(69),l=n.n(s),c=n(24),u=n.n(c);var d,f={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0},p=i.a.createContext();function h(){return f}var g=function(){function e(){o()(this,e),this.usedNamespaces={}}return l()(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function m(){return d}function y(e){var t=e.i18n,n=e.defaultNS,i=e.children,a=Object(r.useMemo)((function(){return{i18n:t,defaultNS:n}}),[t,n]);return Object(r.createElement)(p.Provider,{value:a},i)}var v=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};var b=function(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var l=o[e?s:++i];if(!1===n(a[l],l,a))break}return t}}();var I=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},x=n(4),w=x.a.Symbol,T=Object.prototype,M=T.hasOwnProperty,A=T.toString,C=w?w.toStringTag:void 0;var E=function(e){var t=M.call(e,C),n=e[C];try{e[C]=void 0;var r=!0}catch(e){}var i=A.call(e);return r&&(t?e[C]=n:delete e[C]),i},N=Object.prototype.toString;var S=function(e){return N.call(e)},k=w?w.toStringTag:void 0;var j=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":k&&k in Object(e)?E(e):S(e)};var D=function(e){return null!=e&&"object"==typeof e};var L=function(e){return D(e)&&"[object Arguments]"==j(e)},O=Object.prototype,P=O.hasOwnProperty,R=O.propertyIsEnumerable,z=L(function(){return arguments}())?L:function(e){return D(e)&&P.call(e,"callee")&&!R.call(e,"callee")},_=Array.isArray,U=n(11),F=/^(?:0|[1-9]\d*)$/;var Z=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&F.test(e))&&e>-1&&e%1==0&&e<t};var G=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},B={};B["[object Float32Array]"]=B["[object Float64Array]"]=B["[object Int8Array]"]=B["[object Int16Array]"]=B["[object Int32Array]"]=B["[object Uint8Array]"]=B["[object Uint8ClampedArray]"]=B["[object Uint16Array]"]=B["[object Uint32Array]"]=!0,B["[object Arguments]"]=B["[object Array]"]=B["[object ArrayBuffer]"]=B["[object Boolean]"]=B["[object DataView]"]=B["[object Date]"]=B["[object Error]"]=B["[object Function]"]=B["[object Map]"]=B["[object Number]"]=B["[object Object]"]=B["[object RegExp]"]=B["[object Set]"]=B["[object String]"]=B["[object WeakMap]"]=!1;var Y=function(e){return D(e)&&G(e.length)&&!!B[j(e)]};var W=function(e){return function(t){return e(t)}},H=n(9),V=H.a&&H.a.isTypedArray,q=V?W(V):Y,Q=Object.prototype.hasOwnProperty;var J=function(e,t){var n=_(e),r=!n&&z(e),i=!n&&!r&&Object(U.a)(e),a=!n&&!r&&!i&&q(e),o=n||r||i||a,s=o?I(e.length,String):[],l=s.length;for(var c in e)!t&&!Q.call(e,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Z(c,l))||s.push(c);return s},X=Object.prototype;var K=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||X)};var $=function(e,t){return function(n){return e(t(n))}},ee=$(Object.keys,Object),te=Object.prototype.hasOwnProperty;var ne=function(e){if(!K(e))return ee(e);var t=[];for(var n in Object(e))te.call(e,n)&&"constructor"!=n&&t.push(n);return t};var re=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var ie=function(e){if(!re(e))return!1;var t=j(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};var ae=function(e){return null!=e&&G(e.length)&&!ie(e)};var oe=function(e){return ae(e)?J(e):ne(e)};var se=function(e,t){return e&&b(e,t,oe)};var le=function(e,t){return function(n,r){if(null==n)return n;if(!ae(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&!1!==r(o[a],a,o););return n}}(se);var ce=function(e){return e};var ue=function(e){return"function"==typeof e?e:ce};var de=function(e,t){return(_(e)?v:le)(e,ue(t))};function fe(e,t){const n=null!=t?pe(t):void 0,r=[];for(;null!=e.parentElement;)e=e.parentElement,(null==n||n(e))&&r.push(e);return r}function pe(e){return"function"==typeof e?t=>t.namespaceURI===Me&&e(t):Array.isArray(e)?t=>t.namespaceURI===Me&&e.includes(t.localName):t=>t.namespaceURI===Me&&t.localName===e}function he(e,t){const n=pe(t);return function e(t){for(let r=0,i=t.children.length;r<i;r++){const i=t.children[r];if(n(i))return i;const a=e(i);if(null!=a)return a}}(e)}function ge(e,t,n=!0){const r=pe(t),i=[];return function e(t){for(let a=0,o=t.children.length;a<o;a++){const o=t.children[a];r(o)?(i.push(o),n&&e(o)):e(o)}}(e),i}function me(e,t){const n=pe(t);for(;null!=e.parentElement;)if(n(e=e.parentElement))return e}function ye(e,t){const n=pe(t);for(let t=0,r=e.children.length;t<r;t++){const r=e.children[t];if(n(r))return r}}function ve(e,t){var n;return null!==(n=e.getAttribute(t))&&void 0!==n?n:void 0}function be(e,t){const n=e.getAttribute(t);return null!=n?Number(n):void 0}function Ie(e,t){return"true"===ve(e,t)}function xe(e,t){const n=[];for(let r=0,i=e.children.length;r<i;r++){const i=e.children[r];n.push(t(i,r))}return n}function we(e){return ge(e,["choice-answer","dropdown-answer","text-answer","scored-text-answer"],!0)}function Te(e,t,...n){const r=document.createElement(e);return function(e,t){de(t,(t,n)=>{"css"===n?e.style.cssText=t:n.startsWith("data-")?e.setAttribute(n,t):e[n]=t})}(r,t),n.forEach(e=>r.appendChild("string"==typeof e?new Text(e):e)),r}const Me="http://ylioppilastutkinto.fi/exam.xsd";function Ae(e){function t(t,r,a){switch(t.nodeType){case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:return 0===a?function(e){return e.textContent}(t):null;case Node.ELEMENT_NODE:return function(t,r,a){switch(t.namespaceURI){case"http://www.w3.org/1999/xhtml":return function(e,t,r){const a=e.hasChildNodes()?n(e,r):null;if(0===r){const n=e.localName,r=function(e,t){const n={key:Ce(e,t)};for(const t of e.attributes){const e="class"===t.localName?"className":t.localName;n[e]=t.value}return n}(e,t);return i.a.createElement(n,{...r},a)}return a}(t,r,a);case Me:return function(t,r){const a=e[t.localName],o=t.getAttribute("class")||void 0;return a?i.a.createElement(a,{element:t,className:o,renderChildNodes:n,key:Ce(t,r)}):null}(t,r);default:throw new Error("Unrecognized element: "+t.localName)}}(t,r,a);default:return null}}function n(e,n=0){return function(e,t){const n=e.childNodes.length,r=new Array(n);for(let i=0;i<n;i++)r[i]=t(e.childNodes[i],i);return r}(e,(e,r)=>t(e,r,n))}return n}function Ce(e,t){return`${e.localName}-${t}`}function Ee(e){return(Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){Ne(e,t,n[t])}))}return e}function ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function De(e,t,n){return t&&je(e.prototype,t),n&&je(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Le(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oe(e,t){if(t&&("object"===Ee(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Le(e)}function Pe(e){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Re(e,t)}var _e={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},Ue=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ke(this,e),this.init(t,n)}return De(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||_e,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,Se({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),Fe=function(){function e(){ke(this,e),this.observers={}}return De(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var i=[].concat(this.observers[e]);i.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function Ze(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function Ge(e){return null==e?"":""+e}function Be(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function Ye(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var a="string"!=typeof t?[].concat(t):t.split(".");a.length>1;){if(i())return{};var o=r(a.shift());!e[o]&&n&&(e[o]=new n),e=Object.prototype.hasOwnProperty.call(e,o)?e[o]:{}}return i()?{}:{obj:e,k:r(a.shift())}}function We(e,t,n){var r=Ye(e,t,Object);r.obj[r.k]=n}function He(e,t){var n=Ye(e,t),r=n.obj,i=n.k;if(r)return r[i]}function Ve(e,t,n){var r=He(e,n);return void 0!==r?r:He(t,n)}function qe(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):qe(e[r],t[r],n):e[r]=t[r]);return e}function Qe(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Je={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Xe(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return Je[e]})):e}var Ke="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function $e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,a=0;a<r.length;++a){if(!i)return;if("string"==typeof i[r[a]]&&a+1<r.length)return;if(void 0===i[r[a]]){for(var o=2,s=r.slice(a,a+o).join(n),l=i[s];void 0===l&&r.length>a+o;)o++,l=i[s=r.slice(a,a+o).join(n)];if(void 0===l)return;if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s];var c=r.slice(a+o).join(n);return c?$e(l,c,n):void 0}i=i[r[a]]}return i}}var et=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ke(this,t),n=Oe(this,Pe(t).call(this)),Ke&&Fe.call(Le(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return ze(t,e),De(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,o=[e,t];n&&"string"!=typeof n&&(o=o.concat(n)),n&&"string"==typeof n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split("."));var s=He(this.data,o);return s||!a||"string"!=typeof n?s:$e(this.data&&this.data[e]&&this.data[e][t],n,i)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(r=t,t=(o=e.split("."))[1]),this.addNamespaces(t),We(this.data,o,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},o=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(o=e.split("."))[1]),this.addNamespaces(t);var s=He(this.data,o)||{};r?qe(s,n,i):s=Se({},s,n),We(this.data,o,s),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?Se({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(Fe),tt={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,r,i))})),t}},nt={},rt=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ke(this,t),n=Oe(this,Pe(t).call(this)),Ke&&Fe.call(Le(n)),Be(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,Le(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=Ue.create("translator"),n}return ze(t,e),De(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var a=e.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:e,namespaces:i};var o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,n,r){var i=this;if("object"!==Ee(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var a=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,o=this.extractFromKey(e[e.length-1],n),s=o.key,l=o.namespaces,c=l[l.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(d){var f=n.nsSeparator||this.options.nsSeparator;return c+f+s}return s}var p=this.resolve(e,n),h=p&&p.res,g=p&&p.usedKey||s,m=p&&p.exactUsedKey||s,y=Object.prototype.toString.apply(h),v=["[object Number]","[object Function]","[object RegExp]"],b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,I=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(I&&h&&x&&v.indexOf(y)<0&&("string"!=typeof b||"[object Array]"!==y)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,h,Se({},n,{ns:l})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(a){var w="[object Array]"===y,T=w?[]:{},M=w?m:g;for(var A in h)if(Object.prototype.hasOwnProperty.call(h,A)){var C="".concat(M).concat(a).concat(A);T[A]=this.translate(C,Se({},n,{joinArrays:!1,ns:l})),T[A]===C&&(T[A]=h[A])}h=T}}else if(I&&"string"==typeof b&&"[object Array]"===y)(h=h.join(b))&&(h=this.extendTranslation(h,e,n,r));else{var E=!1,N=!1,S=void 0!==n.count&&"string"!=typeof n.count,k=t.hasDefaultValue(n),j=S?this.pluralResolver.getSuffix(u,n.count):"",D=n["defaultValue".concat(j)]||n.defaultValue;!this.isValidLookup(h)&&k&&(E=!0,h=D),this.isValidLookup(h)||(N=!0,h=s);var L=n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,O=L&&N?void 0:h,P=k&&D!==h&&this.options.updateMissing;if(N||E||P){if(this.logger.log(P?"updateKey":"missingKey",u,c,s,P?D:h),a){var R=this.resolve(s,Se({},n,{keySeparator:!1}));R&&R.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var z=[],_=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&_&&_[0])for(var U=0;U<_.length;U++)z.push(_[U]);else"all"===this.options.saveMissingTo?z=this.languageUtils.toResolveHierarchy(n.lng||this.language):z.push(n.lng||this.language);var F=function(e,t,r){i.options.missingKeyHandler?i.options.missingKeyHandler(e,c,t,P?r:O,P,n):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(e,c,t,P?r:O,P,n),i.emit("missingKey",e,c,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?z.forEach((function(e){i.pluralResolver.getSuffixes(e).forEach((function(t){F([e],s+t,n["defaultValue".concat(t)]||D)}))})):F(z,s,D))}h=this.extendTranslation(h,e,n,p,r),N&&h===s&&this.options.appendNamespaceToMissingKey&&(h="".concat(c,":").concat(s)),(N||E)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(h))}return h}},{key:"extendTranslation",value:function(e,t,n,r,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(Se({},n,{interpolation:Se({},this.options.interpolation,n.interpolation)}));var o,s=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(s){var l=e.match(this.interpolator.nestingRegexp);o=l&&l.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=Se({},this.options.interpolation.defaultVariables,c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);o<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return i&&i[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,f="string"==typeof d?[d]:d;return null!=e&&f&&f.length&&!1!==n.applyPostProcessor&&(e=tt.handle(f,e,t,this.options&&this.options.postProcessPassResolved?Se({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,a,o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!o.isValidLookup(t)){var l=o.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;o.options.fallbackNS&&(u=u.concat(o.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,f=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,p=s.lngs?s.lngs:o.languageUtils.toResolveHierarchy(s.lng||o.language,s.fallbackLng);u.forEach((function(e){o.isValidLookup(t)||(a=e,!nt["".concat(p[0],"-").concat(e)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(a)&&(nt["".concat(p[0],"-").concat(e)]=!0,o.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(a,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((function(n){if(!o.isValidLookup(t)){i=n;var a,l,u=c,p=[u];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(p,c,n,e,s);else d&&(a=o.pluralResolver.getSuffix(n,s.count)),d&&f&&p.push(u+a),f&&p.push(u+="".concat(o.options.contextSeparator).concat(s.context)),d&&p.push(u+=a);for(;l=p.pop();)o.isValidLookup(t)||(r=l,t=o.getResource(n,e,l,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:a}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,"defaultValue".length)&&void 0!==e[t])return!0;return!1}}]),t}(Fe);function it(e){return e.charAt(0).toUpperCase()+e.slice(1)}var at=function(){function e(t){ke(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ue.create("languageUtils")}return De(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=it(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=it(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=it(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],a=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):"string"==typeof e&&a(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&a(n.formatLanguageCode(e))})),i}}]),e}(),ot=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],st={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};function lt(){var e={};return ot.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:st[t.fc]}}))})),e}var ct=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ke(this,e),this.languageUtils=t,this.options=n,this.logger=Ue.create("pluralResolver"),this.rules=lt()}return De(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var i=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),a=r.numbers[i];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===a?a="plural":1===a&&(a=""));var o=function(){return n.options.prepend&&a.toString()?n.options.prepend+a.toString():a.toString()};return"v1"===this.options.compatibilityJSON?1===a?"":"number"==typeof a?"_plural_".concat(a.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?o():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),ut=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ke(this,e),this.logger=Ue.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return De(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:Xe,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?Qe(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?Qe(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?Qe(t.nestingPrefix):t.nestingPrefixEscaped||Qe("$t("),this.nestingSuffix=t.nestingSuffix?Qe(t.nestingSuffix):t.nestingSuffixEscaped||Qe(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,a,o,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var i=Ve(t,l,e);return s.alwaysFormat?s.format(i,void 0,n,Se({},r,t,{interpolationkey:e})):i}var a=e.split(s.formatSeparator),o=a.shift().trim(),c=a.join(s.formatSeparator).trim();return s.format(Ve(t,l,o),c,n,Se({},r,t,{interpolationkey:o}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(o=0;i=t.regex.exec(e);){if(void 0===(a=u(i[1].trim())))if("function"==typeof d){var n=d(e,i,r);a="string"==typeof n?n:""}else{if(f){a=i[0];continue}s.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(e)),a=""}else"string"==typeof a||s.useRawValueToEscape||(a=Ge(a));var l=t.safeValue(a);if(e=e.replace(i[0],l),f?(t.regex.lastIndex+=l.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++o>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Se({},a);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0],i=(i=this.interpolate(i,o)).replace(/'/g,'"');try{o=JSON.parse(i),t&&(o=Se({},t,o))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete o.defaultValue,e}for(o.applyPostProcessor=!1,delete o.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),o),o))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=Ge(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return i.format(e,t,a.lng,Se({},a,{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();var dt=function(e){function t(e,n,r){var i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return ke(this,t),i=Oe(this,Pe(t).call(this)),Ke&&Fe.call(Le(i)),i.backend=e,i.store=n,i.services=r,i.languageUtils=r.languageUtils,i.options=a,i.logger=Ue.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(r,a.backend,a),i}return ze(t,e),De(t,[{key:"queueLoad",value:function(e,t,n,r){var i=this,a=[],o=[],s=[],l=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?o.indexOf(s)<0&&o.push(s):(i.state[s]=1,r=!1,o.indexOf(s)<0&&o.push(s),a.indexOf(s)<0&&a.push(s),l.indexOf(t)<0&&l.push(t)))})),r||s.push(e)})),(a.length||o.length)&&this.queue.push({pending:o,loaded:{},errors:[],callback:r}),{toLoad:a,pending:o,toLoadLanguages:s,toLoadNamespaces:l}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],a=r[1];t&&this.emit("failedLoading",i,a,t),n&&this.store.addResourceBundle(i,a,n),this.state[e]=t?-1:2;var o={};this.queue.forEach((function(n){var r,s,l,c,u,d;r=n.loaded,s=a,c=Ye(r,[i],Object),u=c.obj,d=c.k,u[d]=u[d]||[],l&&(u[d]=u[d].concat(s)),l||u[d].push(s),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){o[e]||(o[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){o[e].indexOf(t)<0&&o[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",o),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,o=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,l){s&&l&&i<5?setTimeout((function(){r.read.call(r,e,t,n,i+1,2*a,o)}),a):o(s,l)})):o(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var a=this.queueLoad(e,t,r,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],a=r[1];this.read(i,a,"read",void 0,void 0,(function(r,o){r&&t.logger.warn("".concat(n,"loading namespace ").concat(a," for language ").concat(i," failed"),r),!r&&o&&t.logger.log("".concat(n,"loaded namespace ").concat(a," for language ").concat(i),o),t.loaded(e,r,o)}))}},{key:"saveMissing",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,Se({},a,{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),t}(Fe);function ft(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===Ee(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===Ee(e[2])||"object"===Ee(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function pt(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ht(){}var gt=new(function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(ke(this,t),e=Oe(this,Pe(t).call(this)),Ke&&Fe.call(Le(e)),e.options=pt(n),e.services={},e.logger=Ue,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),Oe(e,Le(e));setTimeout((function(){e.init(n,r)}),0)}return e}return ze(t,e),De(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=Se({},ft(),this.options,pt(t)),this.format=this.options.interpolation.format,n||(n=ht),!this.options.isClone){this.modules.logger?Ue.init(r(this.modules.logger),this.options):Ue.init(null,this.options);var i=new at(this.options);this.store=new et(this.options.resources,this.options);var a=this.services;a.logger=Ue,a.resourceStore=this.store,a.languageUtils=i,a.pluralResolver=new ct(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a.interpolator=new ut(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new dt(r(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(a.languageDetector=r(this.modules.languageDetector),a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=r(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new rt(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var o=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);o.length>0&&"dev"!==o[0]&&(this.options.lng=o[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var s=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];s.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var l=["addResource","addResources","addResourceBundle","removeResourceBundle"];l.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var c=Ze(),u=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht,r=n,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return r();var a=[],o=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){a.indexOf(e)<0&&a.push(e)}))};if(i)o(i);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return o(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(a,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=Ze();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ht),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&tt.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=Ze();this.emit("languageChanging",e);var i=function(i){e||i||!n.services.languageDetector||(i=[]);var a="string"==typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||(n.language=a,n.languages=n.services.languageUtils.toResolveHierarchy(a)),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,i){i?(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,i=function e(t,i){var a;if("object"!==Ee(i)){for(var o=arguments.length,s=new Array(o>2?o-2:0),l=2;l<o;l++)s[l-2]=arguments[l];a=r.options.overloadTranslationOptionHandler([t,i].concat(s))}else a=Se({},i);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns;var c=r.options.keySeparator||".",u=n?"".concat(n).concat(c).concat(t):t;return r.t(u,a)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],i=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var o=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,o);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!this.services.backendConnector.backend||!(!o(r,e)||i&&!o(a,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=Ze();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=Ze();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht,i=Se({},this.options,n,{isClone:!0}),a=new t(i),o=["store","services","language"];return o.forEach((function(t){a[t]=e[t]})),a.services=Se({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new rt(a.services,a.options),a.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit.apply(a,[e].concat(n))})),a.init(i,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(Fe));var mt=function(e){return e&&e.length?e[0]:void 0};var yt=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var vt=function(){},bt=n(67),It=n.n(bt);function xt(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var wt={};function Tt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&wt[t[0]]||("string"==typeof t[0]&&(wt[t[0]]=new Date),xt.apply(void 0,t))}function Mt(e,t,n){e.loadNamespaces(t,(function(){if(e.isInitialized)n();else{e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}}))}function At(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return Tt("i18n.languages were undefined or empty",t.languages),!0;var r=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var o=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(r,e)||(!t.services.backendConnector.backend||!(!o(r,e)||i&&!o(a,e))))}function Ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nt=function(e){return"symbol"==typeof e||D(e)&&"[object Symbol]"==j(e)},St=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kt=/^\w*$/;var jt,Dt=function(e,t){if(_(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Nt(e))||(kt.test(e)||!St.test(e)||null!=t&&e in Object(t))},Lt=x.a["__core-js_shared__"],Ot=(jt=/[^.]+$/.exec(Lt&&Lt.keys&&Lt.keys.IE_PROTO||""))?"Symbol(src)_1."+jt:"";var Pt=function(e){return!!Ot&&Ot in e},Rt=Function.prototype.toString;var zt=function(e){if(null!=e){try{return Rt.call(e)}catch(e){}try{return e+""}catch(e){}}return""},_t=/^\[object .+?Constructor\]$/,Ut=Function.prototype,Ft=Object.prototype,Zt=Ut.toString,Gt=Ft.hasOwnProperty,Bt=RegExp("^"+Zt.call(Gt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Yt=function(e){return!(!re(e)||Pt(e))&&(ie(e)?Bt:_t).test(zt(e))};var Wt=function(e,t){return null==e?void 0:e[t]};var Ht=function(e,t){var n=Wt(e,t);return Yt(n)?n:void 0},Vt=Ht(Object,"create");var qt=function(){this.__data__=Vt?Vt(null):{},this.size=0};var Qt=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Jt=Object.prototype.hasOwnProperty;var Xt=function(e){var t=this.__data__;if(Vt){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Jt.call(t,e)?t[e]:void 0},Kt=Object.prototype.hasOwnProperty;var $t=function(e){var t=this.__data__;return Vt?void 0!==t[e]:Kt.call(t,e)};var en=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Vt&&void 0===t?"__lodash_hash_undefined__":t,this};function tn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}tn.prototype.clear=qt,tn.prototype.delete=Qt,tn.prototype.get=Xt,tn.prototype.has=$t,tn.prototype.set=en;var nn=tn;var rn=function(){this.__data__=[],this.size=0};var an=function(e,t){return e===t||e!=e&&t!=t};var on=function(e,t){for(var n=e.length;n--;)if(an(e[n][0],t))return n;return-1},sn=Array.prototype.splice;var ln=function(e){var t=this.__data__,n=on(t,e);return!(n<0)&&(n==t.length-1?t.pop():sn.call(t,n,1),--this.size,!0)};var cn=function(e){var t=this.__data__,n=on(t,e);return n<0?void 0:t[n][1]};var un=function(e){return on(this.__data__,e)>-1};var dn=function(e,t){var n=this.__data__,r=on(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}fn.prototype.clear=rn,fn.prototype.delete=ln,fn.prototype.get=cn,fn.prototype.has=un,fn.prototype.set=dn;var pn=fn,hn=Ht(x.a,"Map");var gn=function(){this.size=0,this.__data__={hash:new nn,map:new(hn||pn),string:new nn}};var mn=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var yn=function(e,t){var n=e.__data__;return mn(t)?n["string"==typeof t?"string":"hash"]:n.map};var vn=function(e){var t=yn(this,e).delete(e);return this.size-=t?1:0,t};var bn=function(e){return yn(this,e).get(e)};var In=function(e){return yn(this,e).has(e)};var xn=function(e,t){var n=yn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}wn.prototype.clear=gn,wn.prototype.delete=vn,wn.prototype.get=bn,wn.prototype.has=In,wn.prototype.set=xn;var Tn=wn;function Mn(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Mn.Cache||Tn),n}Mn.Cache=Tn;var An=Mn;var Cn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,En=/\\(\\)?/g,Nn=function(e){var t=An(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Cn,(function(e,n,r,i){t.push(r?i.replace(En,"$1"):n||e)})),t}));var Sn=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},kn=w?w.prototype:void 0,jn=kn?kn.toString:void 0;var Dn=function e(t){if("string"==typeof t)return t;if(_(t))return Sn(t,e)+"";if(Nt(t))return jn?jn.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};var Ln=function(e){return null==e?"":Dn(e)};var On=function(e,t){return _(e)?e:Dt(e,t)?[e]:Nn(Ln(e))};var Pn=function(e){if("string"==typeof e||Nt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};var Rn=function(e,t){for(var n=0,r=(t=On(t,e)).length;null!=e&&n<r;)e=e[Pn(t[n++])];return n&&n==r?e:void 0},zn=function(){try{var e=Ht(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var _n=function(e,t,n){"__proto__"==t&&zn?zn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Un=Object.prototype.hasOwnProperty;var Fn=function(e,t,n){var r=e[t];Un.call(e,t)&&an(r,n)&&(void 0!==n||t in e)||_n(e,t,n)};var Zn=function(e,t,n,r){if(!re(e))return e;for(var i=-1,a=(t=On(t,e)).length,o=a-1,s=e;null!=s&&++i<a;){var l=Pn(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=o){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=re(u)?u:Z(t[i+1])?[]:{})}Fn(s,l,c),s=s[l]}return e};var Gn=function(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Rn(e,o);n(s,o)&&Zn(a,On(o,e),s)}return a};var Bn=function(e,t){return null!=e&&t in Object(e)};var Yn=function(e,t,n){for(var r=-1,i=(t=On(t,e)).length,a=!1;++r<i;){var o=Pn(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&G(i)&&Z(o,i)&&(_(e)||z(e))};var Wn=function(e,t){return null!=e&&Yn(e,t,Bn)};var Hn=function(e,t){return Gn(e,t,(function(t,n){return Wn(e,n)}))};var Vn=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},qn=w?w.isConcatSpreadable:void 0;var Qn=function(e){return _(e)||z(e)||!!(qn&&e&&e[qn])};var Jn=function e(t,n,r,i,a){var o=-1,s=t.length;for(r||(r=Qn),a||(a=[]);++o<s;){var l=t[o];n>0&&r(l)?n>1?e(l,n-1,r,i,a):Vn(a,l):i||(a[a.length]=l)}return a};var Xn=function(e){return(null==e?0:e.length)?Jn(e,1):[]};var Kn=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},$n=Math.max;var er=function(e,t,n){return t=$n(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=$n(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),Kn(e,this,s)}};var tr=function(e){return function(){return e}},nr=zn?function(e,t){return zn(e,"toString",{configurable:!0,enumerable:!1,value:tr(t),writable:!0})}:ce,rr=Date.now;var ir=function(e){var t=0,n=0;return function(){var r=rr(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(nr);var ar=function(e){return ir(er(e,void 0,Xn),e+"")},or=ar((function(e,t){return null==e?{}:Hn(e,t)}));const sr={"exam-total":"Provet sammanlagt","grading-total":"Sammanlagt",material:"Material","attachments-page-title":"Material:","external-material-title":"Material","grading-instructions-page-title":"Beskrivningar av goda svar:",section:"Del {{displayNumber}}:",question:"Uppgift {{displayNumber}}:",grade:"Vitsord",comment:"Kommentar",points:"{{count}} p.",recording:"Inspelningen","audio-errors":{"already-accessed":"Du har redan spelat denna inspelning. Uppdatera sidan","already-playing":"Lyssna först inspelningen till slut.","other-error":"Uppspelning misslyckades, be övervakaren om hjälp."},"audio-test":{instructions:"Provet omfattar uppgifter i hörförståelse.",play:"Testa hörbarheten",volume:"Du kan justera ljudvolymen uppe i högra hörnet av rutan."},"dropdown-answer":{label:"Välj det alternativ som passar bäst.",clear:"Avmarkera alternativet."},grading:{"pregrading-annotations":"Preliminära bedömningens anteckningar","censor-annotations":"Censorns anteckningar"},references:{heading:"Källor",source:"Källa:",date:"Publicerad:","reference-date":"Hämtad:",translator:"Översättning:","modified-by":"Bearbetning:"},cas:{forbidden:{infoText:"Du får tillgång till de blockerade räknarprogrammen efter att du returnerat del A.",buttonText:"Returnera del A"},allowing:{infoText:"Svaren i A-delen låses. Du får tillgång till de blockerade räknarprogrammen om en stund.",cancel:"Avbryt ({{count}} s)"},allowed:{infoText:"Del A returnerad"}},"toc-heading":"Innehåll","answer-saved":"Sparad","too-many-answers":"TODO","listen-times-remaining":"{{count}} lyssningsgång kvar.","listen-times-remaining_plural":"{{count}} lyssningsgånger kvar.","answer-length":"Svarets längd: {{count}} tecken.","answer-length-with-max-length":"Svarets längd: {{count}} / {{maxLength}} tecken.","max-length-info":"Svaret får inte överskrida {{count}} tecken. Om det givna antalet tecken överskrids leder det till poängavdrag.","previous-answer-versions":"Tidigare utkast till svar","zoom-in":"Förstora bilden","end-of-exam":"Uppgifterna i provet slutar här.","answering-instructions":{"exam_*_1_1":"Besvara högst en uppgift i provet.","exam_*_2_2":"Besvara högst två uppgifter i provet.","exam_*_3_3":"Besvara högst tre uppgifter i provet.","exam_*_4_4":"Besvara högst fyra uppgifter i provet.","exam_*_5_5":"Besvara högst fem uppgifter i provet.","exam_*_6_6":"Besvara högst sex uppgifter i provet.","exam_*_7_7":"Besvara högst sju uppgifter i provet.","exam_*_8_8":"Besvara högst åtta uppgifter i provet.","exam_*_9_9":"Besvara högst nio uppgifter i provet.","exam_*_10_10":"Besvara högst tio uppgifter i provet.","exam_*_*_*":"Besvara högst {{answerCount, range}} uppgifter i provet.","question_*_1_1":"Besvara en av punkterna {{questions, range}}.","question_*_2_2":"Besvara två av punkterna {{questions, range}}.","question_*_3_3":"Besvara tre av punkterna {{questions, range}}.","question_*_4_4":"Besvara fyra av punkterna {{questions, range}}.","question_*_5_5":"Besvara fem av punkterna {{questions, range}}.","question_*_6_6":"Besvara sex av punkterna {{questions, range}}.","question_*_7_7":"Besvara sju av punkterna {{questions, range}}.","question_*_8_8":"Besvara åtta av punkterna {{questions, range}}.","question_*_9_9":"Besvara nio av punkterna {{questions, range}}.","question_*_10_10":"Besvara tio av punkterna {{questions, range}}.","question_2_*_1":"Besvara antingen punkt {{questions, first}} eller {{questions, last}}.","question_*_*_*":"Besvara {{answerCount, range}} av punkterna {{questions, range}}.","section_*_1_1":"Besvara en uppgift.","section_*_2_2":"Besvara två uppgifter.","section_*_3_3":"Besvara tre uppgifter.","section_*_4_4":"Besvara fyra uppgifter.","section_*_5_5":"Besvara fem uppgifter.","section_*_6_6":"Besvara sex uppgifter.","section_*_7_7":"Besvara sju uppgifter.","section_*_8_8":"Besvara åtta uppgifter.","section_*_9_9":"Besvara nio uppgifter.","section_*_10_10":"Besvara tio uppgifter.","section_1_*_1":"Besvara uppgift {{questions, range}}.","section_2_*_1":"Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.","section_*_*_*":"Besvara {{answerCount, range}} uppgifter.","toc-section_*_1_1":"Besvara en uppgift.","toc-section_*_2_2":"Besvara två uppgifter.","toc-section_*_3_3":"Besvara tre uppgifter.","toc-section_*_4_4":"Besvara fyra uppgifter.","toc-section_*_5_5":"Besvara fem uppgifter.","toc-section_*_6_6":"Besvara sex uppgifter.","toc-section_*_7_7":"Besvara sju uppgifter.","toc-section_*_8_8":"Besvara åtta uppgifter.","toc-section_*_9_9":"Besvara nio uppgifter.","toc-section_*_10_10":"Besvara tio uppgifter.","toc-section_1_*_1":"Besvara uppgift {{questions, range}}.","toc-section_2_*_1":"Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.","toc-section_*_*_*":"Besvara {{answerCount, range}} uppgifter."},"answer-errors":{"screenshot-too-big":"Den skärmdump du tagit är för stor. Ta en ny skärmdump av en mindre del av skärmen och försök på nytt.","screenshot-byte-limit-reached":"Minnesutrymmet för skärmdumpar är fullt. (Du kan referera till bilder i materialet direkt utan skärmdumpar.)","screenshot-upload-failed":"Bifogandet av skärmdumpen misslyckades. Försök på nytt.","answer-too-long":"Svaret är för långt."},"screen-reader":{"answer-begin":"[Svaret börjar]","answer-end":"[Svaret avslutar]","correct-answer":"[Accepterat svar]"}},lr=or(sr,["exam-total","material","external-material-title","section","references","toc-heading"]),cr={"exam-total":"Koe yhteensä","grading-total":"Yhteensä",material:"Aineisto",material_plural:"Aineistot","attachments-page-title":"Aineisto:","external-material-title":"Aineisto","grading-instructions-page-title":"Hyvän vastauksen piirteet:",section:"Osa {{displayNumber}}:",question:"Tehtävä {{displayNumber}}:",grade:"Arvosana",comment:"Kommentti",points:"{{count}} p.",recording:"Tallenne","audio-errors":{"already-accessed":"Olet jo toistanut tämän äänitteen. Päivitä sivu.","already-playing":"Kuuntele äänite ensin loppuun.","other-error":"Äänitteen toistaminen epäonnistui, pyydä apua valvojalta."},"audio-test":{instructions:"Koe sisältää kuullunymmärtämisen tehtäviä.",play:"Testaa äänitteiden kuuluvuus",volume:"Äänen voimakkuutta voit säätää ruudun oikeasta yläkulmasta."},"dropdown-answer":{label:"Valitse parhaiten sopiva vaihtoehto.",clear:"Poista valinta."},grading:{"pregrading-annotations":"Valmistavan arvostelun merkinnät","censor-annotations":"Sensorin merkinnät"},references:{heading:"Lähteet",source:"Lähde:",date:"Julkaistu:","reference-date":"Viitattu:",translator:"Käännös:","modified-by":"Muokkaus:"},cas:{forbidden:{infoText:"Saat estetyt laskinohjelmat käyttöön palautettuasi A-osan.",buttonText:"Palauta A-osa"},allowing:{infoText:"A-osan vastaukset lukitaan. Saat estetyt laskinohjelmat käyttöösi hetken kuluttua.",cancel:"Peruuta ({{count}} s)"},allowed:{infoText:"A-osa palautettu"}},"toc-heading":"Sisällys","answer-saved":"Tallennettu","too-many-answers":"Vastattu liiaan moneen tehtävään:","listen-times-remaining":"{{count}} kuuntelukerta jäljellä.","listen-times-remaining_plural":"{{count}} kuuntelukertaa jäljellä.","answer-length":"Vastauksen pituus: {{count}} merkki.","answer-length_plural":"Vastauksen pituus: {{count}} merkkiä.","answer-length-with-max-length":"Vastauksen pituus: {{count}} / {{maxLength}} merkkiä.","max-length-info":"Vastauksen pituus on enintään {{count}} merkkiä. Ylityksestä seuraa pistevähennys.","previous-answer-versions":"Aiemmat vastausluonnokset","zoom-in":"Suurenna kuva","end-of-exam":"Kokeen tehtävät loppuvat tähän.","answering-instructions":{"exam_*_1_1":"Vastaa kokeessa enintään yhteen tehtävään.","exam_*_2_2":"Vastaa kokeessa enintään kahteen tehtävään.","exam_*_3_3":"Vastaa kokeessa enintään kolmeen tehtävään.","exam_*_4_4":"Vastaa kokeessa enintään neljään tehtävään.","exam_*_5_5":"Vastaa kokeessa enintään viiteen tehtävään.","exam_*_6_6":"Vastaa kokeessa enintään kuuteen tehtävään.","exam_*_7_7":"Vastaa kokeessa enintään seitsemään tehtävään.","exam_*_8_8":"Vastaa kokeessa enintään kahdeksaan tehtävään.","exam_*_9_9":"Vastaa kokeessa enintään yhdeksään tehtävään.","exam_*_10_10":"Vastaa kokeessa enintään kymmeneen tehtävään.","exam_*_*_*":"Vastaa kokeessa enintään {{answerCount, range}} tehtävään.","question_*_1_1":"Vastaa yhteen kohdista {{questions, range}}.","question_*_2_2":"Vastaa kahteen kohdista {{questions, range}}.","question_*_3_3":"Vastaa kolmeen kohdista {{questions, range}}.","question_*_4_4":"Vastaa neljään kohdista {{questions, range}}.","question_*_5_5":"Vastaa viiteen kohdista {{questions, range}}.","question_*_6_6":"Vastaa kuuteen kohdista {{questions, range}}.","question_*_7_7":"Vastaa seitsemään kohdista {{questions, range}}.","question_*_8_8":"Vastaa kahdeksaan kohdista {{questions, range}}.","question_*_9_9":"Vastaa yhdeksään kohdista {{questions, range}}.","question_*_10_10":"Vastaa kymmeneen kohdista {{questions, range}}.","question_2_*_1":"Vastaa joko kohtaan {{questions, first}} tai {{questions, last}}.","question_*_*_*":"Vastaa {{answerCount, range}} kohdista {{questions, range}}.","section_*_1_1":"Vastaa yhteen tehtävään.","section_*_2_2":"Vastaa kahteen tehtävään.","section_*_3_3":"Vastaa kolmeen tehtävään.","section_*_4_4":"Vastaa neljään tehtävään.","section_*_5_5":"Vastaa viiteen tehtävään.","section_*_6_6":"Vastaa kuuteen tehtävään.","section_*_7_7":"Vastaa seitsemään tehtävään.","section_*_8_8":"Vastaa kahdeksaan tehtävään.","section_*_9_9":"Vastaa yhdeksään tehtävään.","section_*_10_10":"Vastaa kymmeneen tehtävään.","section_1_*_1":"Vastaa tehtävään {{questions, range}}.","section_2_*_1":"Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.","section_*_*_*":"Vastaa {{answerCount, range}} tehtävään.","toc-section_*_1_1":"Vastaa yhteen tehtävään.","toc-section_*_2_2":"Vastaa kahteen tehtävään.","toc-section_*_3_3":"Vastaa kolmeen tehtävään.","toc-section_*_4_4":"Vastaa neljään tehtävään.","toc-section_*_5_5":"Vastaa viiteen tehtävään.","toc-section_*_6_6":"Vastaa kuuteen tehtävään.","toc-section_*_7_7":"Vastaa seitsemään tehtävään.","toc-section_*_8_8":"Vastaa kahdeksaan tehtävään.","toc-section_*_9_9":"Vastaa yhdeksään tehtävään.","toc-section_*_10_10":"Vastaa kymmeneen tehtävään.","toc-section_1_*_1":"Vastaa tehtävään {{questions, range}}.","toc-section_2_*_1":"Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.","toc-section_*_*_*":"Vastaa {{answerCount, range}} tehtävään."},"answer-errors":{"screenshot-too-big":"Ottamasi kuvakaappaus on liian iso. Ota uusi kuvakaappaus pienemmästä osasta näyttöä ja yritä uudelleen.","screenshot-byte-limit-reached":"Kokeesi kuvakaappauksille varattu tila on täyttynyt. (Voit viitata aineistokuviin suoraan ilman kuvakaappausta.)","screenshot-upload-failed":"Kuvan liittäminen ei onnistunut. Kokeile uudestaan.","answer-too-long":"Vastaus on liian pitkä."},"screen-reader":{"answer-begin":"[Vastaus alkaa]","answer-end":"[Vastaus päättyy]","correct-answer":"[Hyväksytty vastaus]"}},ur=or(cr,["exam-total","material","external-material-title","section","references","toc-heading"]),dr={"exam-total":"Total points for the exam",material:"Material","external-material-title":"Material",section:"Part {{displayNumber}}:",references:{heading:"Sources",source:"Source:",date:"Published:","reference-date":"Accessed:",translator:"Translation:","modified-by":"Adaptation:"},"toc-heading":"Contents"},fr={"exam-total":"Total des points",material:"Document",material_plural:"Documents","external-material-title":"Document",section:"Partie {{displayNumber}} :",references:{heading:"Sources",source:"Source :",date:"Publication le","reference-date":"Téléchargement le",translator:"Traduction :","modified-by":"Modifications :"},"toc-heading":"Sommaire"},pr={section:""},hr={"exam-total":"Puntuación total",material:"Material","external-material-title":"Material",section:"Parte {{displayNumber}}:",references:{heading:"Fuentes",source:"Fuente:",date:"Publicado:","reference-date":"Consultado:",translator:"Traducción:","modified-by":"Adaptado:"},"toc-heading":"Contenido"},gr={"exam-total":"Die Prüfung insgesamt",material:"Materialien","external-material-title":"Materialien",section:"Teil {{displayNumber}}:",references:{heading:"Quellen",source:"Quelle:",date:"Veröffentlicht:","reference-date":"Zugriff:",translator:"Übersetzung:","modified-by":"Bearbeitung:"},"toc-heading":"Inhalt"},mr={"exam-total":"Весь экзамен",material:"Материал","external-material-title":"Материал",section:"Часть {{displayNumber}}:",references:{heading:"Источники",source:"Источник",date:"Опубликовано","reference-date":"Дата обращения",translator:"Перевод","modified-by":"Адаптировано"},"toc-heading":"Содержание"},yr={A_E:{"external-material-title":"Aineistot","answering-instructions":{"toc-section_*_1_1":"Aiheet","section_*_1_1":"Valitse yksi aihe."}},BA:lr,BB:lr,CA:ur,CB:ur,EA:dr,EC:dr,FA:fr,FC:fr,GC:{"exam-total":"Totalidade da pontuação",material:"Material","external-material-title":"Material",section:"Parte {{displayNumber}}:",references:{heading:"Fontes",source:"Fonte:",date:"Publicado:","reference-date":"Acedido:",translator:"Tradução:","modified-by":"Adaptação:"},"toc-heading":"Conteúdo"},I:{"exam-total":"Iskos ohtsis",material:"Amnâstuvah","external-material-title":"Amnâstuvah","attachments-page-title":"Amnâstuvah:",section:"Uási {{displayNumber}}:",points:"{{count}} č.",references:{source:"Käldee:",date:"Almostittum:","reference-date":"Čujottum:",translator:"Jurgâlus:","modified-by":"Heiviittâs:"},"answering-instructions":{"toc-section_*_1_1":"Fáádáh","section_*_1_1":"Valjii oovtâ fáádá."},"toc-heading":"Siskáldâs"},M:pr,N:pr,O_E:{"answering-instructions":{"toc-section_*_1_1":"Ämnen","section_*_1_1":"Välj ett ämne."}},SA:gr,SC:gr,PA:hr,PC:hr,TC:{"exam-total":"Punteggio complessivo",material:"Materiale","external-material-title":"Materiale",section:"Parte {{displayNumber}}:",references:{heading:"Fonti",source:"Fonte:",date:"Pubblicato:","reference-date":"Consultato:",translator:"Traduzione:","modified-by":"Adattamento:"},"toc-heading":"Contenuto"},VA:mr,VC:mr,Z:{"exam-total":"Iskkus oktiibuot",material:"Ávdnasat","external-material-title":"Ávdnasat","attachments-page-title":"Ávdnasat:",section:"Oassi {{displayNumber}}:",points:"{{count}} č.",references:{heading:"Gáldut",source:"Gáldu:",date:"Almmuhuvvon:","reference-date":"Vižžojuvvon:",translator:"Jorgalus","modified-by":"Heivehus:"},"answering-instructions":{"toc-section_*_1_1":"Fáttát","section_*_1_1":"Vállje ovtta fáttá."},"toc-heading":"Sisdoallu"}},vr={"fi-FI":{translation:cr,...yr},"sv-FI":{translation:sr,...yr}};function br(e,t,n){const r=t?t+(n?"_"+n:""):"translation";return gt.use({type:"postProcessor",name:"lowercase",process:(e,t,n)=>e.toLocaleLowerCase(n.lng)}).createInstance({resources:vr,lng:e,fallbackLng:"fi-FI",debug:!1,defaultNS:r,fallbackNS:"translation",interpolation:{escapeValue:!1,format:(e,t)=>{switch(t){case"range":{const[t,n]=e;return null==t?n:null==n||t===n?t:`${t}–${n}`}case"first":return mt(e);case"last":return yt(e);default:return e}}}},vt)}function Ir(){const{i18n:e,t:t}=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,i=Object(r.useContext)(p)||{},a=i.i18n,o=i.defaultNS,s=n||a||m();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new g),!s){Tt("You will need to pass in an i18next instance by using initReactI18next");var l=function(e){return Array.isArray(e)?e[e.length-1]:e},c=[l,{},!1];return c.t=l,c.i18n={},c.ready=!1,c}s.options.react&&void 0!==s.options.react.wait&&Tt("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=Et(Et(Et({},h()),s.options.react),t),d=u.useSuspense,f=u.keyPrefix,y=e||o||s.options&&s.options.defaultNS;y="string"==typeof y?[y]:y||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(y);var v=(s.isInitialized||s.initializedStoreOnce)&&y.every((function(e){return At(e,s,u)}));function b(){return s.getFixedT(null,"fallback"===u.nsMode?y:y[0],f)}var I=Object(r.useState)(b),x=It()(I,2),w=x[0],T=x[1],M=Object(r.useRef)(!0);Object(r.useEffect)((function(){var e=u.bindI18n,t=u.bindI18nStore;function n(){M.current&&T(b)}return M.current=!0,v||d||Mt(s,y,(function(){M.current&&T(b)})),e&&s&&s.on(e,n),t&&s&&s.store.on(t,n),function(){M.current=!1,e&&s&&e.split(" ").forEach((function(e){return s.off(e,n)})),t&&s&&t.split(" ").forEach((function(e){return s.store.off(e,n)}))}}),[s,y.join()]);var A=Object(r.useRef)(!0);Object(r.useEffect)((function(){M.current&&!A.current&&T(b),A.current=!1}),[s]);var C=[w,s,v];if(C.t=w,C.i18n=s,C.ready=v,v)return C;if(!v&&!d)return C;throw new Promise((function(e){Mt(s,y,(function(){e()}))}))}(),n=(t,n)=>function(e,t,n){const r=e.t(t,n),a=e.options.defaultNS,o="translation"!==a&&a in yr;return o&&function(e,t,n){return Array.isArray(n)?n.some(n=>null!=e.getResource(e.language,t,n)):null!=e.getResource(e.language,t,n)}(e,a,t)||!o?r:i.a.createElement("span",{lang:e.language},r)}(e,t,n);return n.raw=t,{i18n:e,t:n}}const xr=(e,t)=>()=>{e.language!==t&&e.changeLanguage(t).then(vt).catch(vt)};const wr=new WeakMap;let Tr=0;const Mr=e=>t=>`${e}-${(e=>{const t=wr.get(e);if(null!=t)return t;const n=++Tr;return wr.set(e,n),n})(t)}`,Ar=e=>t=>`${e}-${t}`,Cr=Ar("section-title"),Er=Ar("question-title"),Nr=Mr("question-instruction"),Sr=Mr("answer-length-info"),kr=Mr("external-material-list-title"),jr=Ar("toc-section-title"),Dr=Mr("answer-score"),Lr=Mr("image-caption"),Or=Mr("video-caption"),Pr=Mr("audio-label");function Rr(){const e=decodeURIComponent(window.location.hash).slice(1);if(e){const n=document.getElementById(e);n&&((t=n).setAttribute("tabindex","-1"),t.style.outline="none",t.addEventListener("blur",()=>{t.removeAttribute("tabindex"),t.style.outline=""},{once:!0}),t.focus(),t.scrollIntoView())}var t;return window.addEventListener("hashchange",Rr),()=>window.removeEventListener("hashchange",Rr)}function zr(e){return Object(r.useState)(e)[0]}function _r(e,t){const n=new URL(e,"http://example.com");de(t,(e,t)=>n[t]=e);const r=n.pathname+n.search+n.hash;return e.startsWith("/")?r:r.substr(1)}var Ur=({children:e,href:t,type:n})=>"link"===n?i.a.createElement("a",{href:t,className:"attachment-link e-nowrap",target:"attachments"},e):i.a.createElement("span",{className:"attachment-link e-nowrap"},e);function Fr(e){return e.displayName||e.name||"Component"}const Zr=(e,t)=>n=>{const r=r=>{const a=t(r);return i.a.createElement(e.Provider,{value:a},i.a.createElement(n,{...r}))};return r.displayName="WithContext("+Fr(n)+")",r},Gr=i.a.createContext({});function Br(e){return Zr(Gr,({attachmentsURL:e,resolveAttachment:t,doc:n})=>{const r=n.documentElement,i=ve(r,"date"),a=ve(r,"exam-lang"),o=ve(r,"lang")||a;return{attachmentsURL:e,date:i?new Date(i):void 0,dateTimeFormatter:new Intl.DateTimeFormat("fi-FI",{timeZone:"UTC"}),dayCode:ve(r,"day-code"),examCode:ve(r,"exam-code"),language:a,subjectLanguage:o,maxAnswers:be(r,"max-answers"),maxScore:be(r,"max-score"),sections:ge(r,"section"),resolveAttachment:t,root:r}})(e)}var Yr=e=>i.a.memo(({element:t})=>{const n=t.getAttribute("ref"),{root:a}=Object(r.useContext)(Gr),{attachmentsURL:o}=Object(r.useContext)(Gr),{t:s}=Ir(),l=he(a,e=>"attachment"===e.localName&&e.getAttribute("name")===n).getAttribute("display-number"),c="short"===t.getAttribute("type"),u=_r(o,{hash:l});return c?i.a.createElement(Ur,{href:u,type:e},l):i.a.createElement(i.a.Fragment,null,"(",i.a.createElement(Ur,{href:u,type:e},s("material",{postProcess:"lowercase"})," ",l),")")});var Wr=e=>i.a.memo(({element:t})=>{const{root:n,attachmentsURL:a}=Object(r.useContext)(Gr),{t:o}=Ir(),s=xe(t,e=>{const t=e.getAttribute("ref");return he(n,e=>"attachment"===e.localName&&e.getAttribute("name")===t).getAttribute("display-number")}),l=function(e,t){const n=[[]];let r;for(let i=0;i<e.length;i++){const a=e[i];if(r&&t(a,i,e)){const e=[a];n.push(e)}else{n[n.length-1].push(a)}r=a}return n}(s,(e,t)=>t>0&&!function(e,t){const n=e.length;if(n!==t.length)return!1;return e.startsWith(t.slice(0,n-1))&&t.charCodeAt(n-1)-e.charCodeAt(n-1)==1}(s[t-1],e)),c="short"===t.getAttribute("type"),u=_r(a,{hash:s[0]}),d=l.map(e=>e.length>1?`${e[0]}–${e[e.length-1]}`:e[0]).join(", "),f=l[0].length;return c?i.a.createElement(Ur,{href:u,type:e},d):i.a.createElement(i.a.Fragment,null,"(",i.a.createElement(Ur,{href:u,type:e},o("material",{count:f,postProcess:"lowercase"})," ",d),")")});const Hr=i.a.createContext({}),Vr=Zr(Hr,({element:e})=>{const t=null!=me(e,"external-material"),n=e.getAttribute("name");return t?{displayNumber:e.getAttribute("display-number"),isExternal:t,name:n}:{displayNumber:null,isExternal:t,name:n}});var qr=i.a.memo(Vr((function({element:e,renderChildNodes:t}){const{displayNumber:n,isExternal:a}=Object(r.useContext)(Hr);return a?i.a.createElement("div",{id:n,className:"attachments-attachment e-mrg-0 e-mrg-t-8"},t(e)):null})));var Qr=i.a.memo((function({element:e,renderChildNodes:t}){const{displayNumber:n}=Object(r.useContext)(Hr);return i.a.createElement("h3",null,n," ",t(e))})),Jr=n(2),Xr=n.n(Jr),Kr=n(1),$r=n.n(Kr),ei=i.a.createContext(null);var ti=function(e){e()};function ni(){var e=ti,t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var ri={notify:function(){},get:function(){return[]}};function ii(e,t){var n,r=ri;function i(){o.onStateChange&&o.onStateChange()}function a(){n||(n=t?t.addNestedSub(i):e.subscribe(i),r=ni())}var o={addNestedSub:function(e){return a(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=ri)},getListeners:function(){return r}};return o}var ai="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;var oi=function(e){var t=e.store,n=e.context,a=e.children,o=Object(r.useMemo)((function(){var e=ii(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),s=Object(r.useMemo)((function(){return t.getState()}),[t]);ai((function(){var e=o.subscription;return e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,s]);var l=n||ei;return i.a.createElement(l.Provider,{value:o},a)};function si(){return(si=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function li(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var ci=n(38),ui=n.n(ci),di=n(70),fi=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],pi=["reactReduxForwardedRef"],hi=[],gi=[null,null];function mi(e,t){var n=e[1];return[t.payload,n+1]}function yi(e,t,n){ai((function(){return e.apply(void 0,t)}),n)}function vi(e,t,n,r,i,a,o){e.current=r,t.current=i,n.current=!1,a.current&&(a.current=null,o())}function bi(e,t,n,r,i,a,o,s,l,c){if(e){var u=!1,d=null,f=function(){if(!u){var e,n,f=t.getState();try{e=r(f,i.current)}catch(e){n=e,d=e}n||(d=null),e===a.current?o.current||l():(a.current=e,s.current=e,o.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var Ii=function(){return[null,0]};function xi(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,o=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,s=n.methodName,l=void 0===s?"connectAdvanced":s,c=n.renderCountProp,u=void 0===c?void 0:c,d=n.shouldHandleStateChanges,f=void 0===d||d,p=n.storeKey,h=void 0===p?"store":p,g=(n.withRef,n.forwardRef),m=void 0!==g&&g,y=n.context,v=void 0===y?ei:y,b=li(n,fi),I=v;return function(t){var n=t.displayName||t.name||"Component",a=o(n),s=si({},b,{getDisplayName:o,methodName:l,renderCountProp:u,shouldHandleStateChanges:f,storeKey:h,displayName:a,wrappedComponentName:n,WrappedComponent:t}),c=b.pure;var d=c?r.useMemo:function(e){return e()};function p(n){var a=Object(r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=li(n,pi);return[n.context,e,t]}),[n]),o=a[0],l=a[1],c=a[2],u=Object(r.useMemo)((function(){return o&&o.Consumer&&Object(di.isContextConsumer)(i.a.createElement(o.Consumer,null))?o:I}),[o,I]),p=Object(r.useContext)(u),h=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(p)&&Boolean(p.store);var g=h?n.store:p.store,m=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,s)}(g)}),[g]),y=Object(r.useMemo)((function(){if(!f)return gi;var e=ii(g,h?null:p.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[g,h,p]),v=y[0],b=y[1],x=Object(r.useMemo)((function(){return h?p:si({},p,{subscription:v})}),[h,p,v]),w=Object(r.useReducer)(mi,hi,Ii),T=w[0][0],M=w[1];if(T&&T.error)throw T.error;var A=Object(r.useRef)(),C=Object(r.useRef)(c),E=Object(r.useRef)(),N=Object(r.useRef)(!1),S=d((function(){return E.current&&c===C.current?E.current:m(g.getState(),c)}),[g,T,c]);yi(vi,[C,A,N,c,S,E,b]),yi(bi,[f,g,v,m,C,A,N,E,b,M],[g,v,m]);var k=Object(r.useMemo)((function(){return i.a.createElement(t,si({},S,{ref:l}))}),[l,t,S]);return Object(r.useMemo)((function(){return f?i.a.createElement(u.Provider,{value:x},k):k}),[u,k,x])}var g=c?i.a.memo(p):p;if(g.WrappedComponent=t,g.displayName=p.displayName=a,m){var y=i.a.forwardRef((function(e,t){return i.a.createElement(g,si({},e,{reactReduxForwardedRef:t}))}));return y.displayName=a,y.WrappedComponent=t,ui()(y,t)}return ui()(g,t)}}function wi(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Ti(e,t){if(wi(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!wi(e[n[i]],t[n[i]]))return!1;return!0}function Mi(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Ai(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Ci(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Ai(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=Ai(i),i=r(t,n)),i},r}}var Ei=[function(e){return"function"==typeof e?Ci(e):void 0},function(e){return e?void 0:Mi((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?Mi((function(t){return function(e,t){var n={},r=function(r){var i=e[r];"function"==typeof i&&(n[r]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)r(i);return n}(e,t)})):void 0}];var Ni=[function(e){return"function"==typeof e?Ci(e):void 0},function(e){return e?void 0:Mi((function(){return{}}))}];function Si(e,t,n){return si({},n,e,t)}var ki=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,a=n.areMergedPropsEqual,o=!1;return function(t,n,s){var l=e(t,n,s);return o?i&&a(l,r)||(r=l):(o=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return Si}}];var ji=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Di(e,t,n,r){return function(i,a){return n(e(i,a),t(r,a),a)}}function Li(e,t,n,r,i){var a,o,s,l,c,u=i.areStatesEqual,d=i.areOwnPropsEqual,f=i.areStatePropsEqual,p=!1;function h(i,p){var h,g,m=!d(p,o),y=!u(i,a);return a=i,o=p,m&&y?(s=e(a,o),t.dependsOnOwnProps&&(l=t(r,o)),c=n(s,l,o)):m?(e.dependsOnOwnProps&&(s=e(a,o)),t.dependsOnOwnProps&&(l=t(r,o)),c=n(s,l,o)):y?(h=e(a,o),g=!f(h,s),s=h,g&&(c=n(s,l,o)),c):c}return function(i,u){return p?h(i,u):(s=e(a=i,o=u),l=t(r,o),c=n(s,l,o),p=!0,c)}}function Oi(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,a=li(t,ji),o=n(e,a),s=r(e,a),l=i(e,a);return(a.pure?Li:Di)(o,s,l,e,a)}var Pi=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Ri(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function zi(e,t){return e===t}function _i(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?xi:n,i=t.mapStateToPropsFactories,a=void 0===i?Ni:i,o=t.mapDispatchToPropsFactories,s=void 0===o?Ei:o,l=t.mergePropsFactories,c=void 0===l?ki:l,u=t.selectorFactory,d=void 0===u?Oi:u;return function(e,t,n,i){void 0===i&&(i={});var o=i,l=o.pure,u=void 0===l||l,f=o.areStatesEqual,p=void 0===f?zi:f,h=o.areOwnPropsEqual,g=void 0===h?Ti:h,m=o.areStatePropsEqual,y=void 0===m?Ti:m,v=o.areMergedPropsEqual,b=void 0===v?Ti:v,I=li(o,Pi),x=Ri(e,a,"mapStateToProps"),w=Ri(t,s,"mapDispatchToProps"),T=Ri(n,c,"mergeProps");return r(d,si({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:w,initMergeProps:T,pure:u,areStatesEqual:p,areOwnPropsEqual:g,areStatePropsEqual:y,areMergedPropsEqual:b},I))}}var Ui=_i();function Fi(){return Object(r.useContext)(ei)}function Zi(e){void 0===e&&(e=ei);var t=e===ei?Fi:function(){return Object(r.useContext)(e)};return function(){return t().store}}var Gi=Zi();function Bi(e){void 0===e&&(e=ei);var t=e===ei?Gi:Zi(e);return function(){return t().dispatch}}var Yi=Bi(),Wi=function(e,t){return e===t};function Hi(e){void 0===e&&(e=ei);var t=e===ei?Fi:function(){return Object(r.useContext)(e)};return function(e,n){void 0===n&&(n=Wi);var i=t(),a=function(e,t,n,i){var a,o=Object(r.useReducer)((function(e){return e+1}),0)[1],s=Object(r.useMemo)((function(){return ii(n,i)}),[n,i]),l=Object(r.useRef)(),c=Object(r.useRef)(),u=Object(r.useRef)(),d=Object(r.useRef)(),f=n.getState();try{if(e!==c.current||f!==u.current||l.current){var p=e(f);a=void 0!==d.current&&t(p,d.current)?d.current:p}else a=d.current}catch(e){throw l.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),e}return ai((function(){c.current=e,u.current=f,d.current=a,l.current=void 0})),ai((function(){function e(){try{var e=n.getState();if(e===u.current)return;var r=c.current(e);if(t(r,d.current))return;d.current=r,u.current=e}catch(e){l.current=e}o()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[n,s]),a}(e,n,i.store,i.subscription);return Object(r.useDebugValue)(a),a}}var Vi,qi=Hi(),Qi=n(8);Vi=Qi.unstable_batchedUpdates,ti=Vi;var Ji=function(e,t,n){var r=null==e?void 0:Rn(e,t);return void 0===r?n:r};const Xi=(e,t)=>n=>{const{nowPlaying:r}=n.audio;return null==r?"stopped":r.audio.restrictedAudioId===t&&r.audio.src===e?"playing":"other-playing"},Ki=(e,t)=>n=>n.audio.errors[null!=t?t:e],$i=e=>t=>Ji(t.audio.playbackTimes,e,0),ea=(e,t)=>n=>t-$i(e)(n),ta=e=>{const{serverQuestionIds:t,savedQuestionIds:n,answersById:r}=e.answers;return 0===t.size?"initial":t.size!==n.size||function(e,t){for(const n in t)if(!e.has(Number(n)))return!0;return!1}
86
+ function r(e){return"[object Object]"===Object.prototype.toString.call(e)}function i(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}n.r(t),n.d(t,"isPlainObject",(function(){return i}))},function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return a(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach((function(t){r[t]=a(e[t],n)})),s(t).forEach((function(i){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(l(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(i,n)(e[i],t[i],n):r[i]=a(t[i],n))})),r}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||o,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=a;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):c(e,t,n):a(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var d=u;e.exports=d},function(e,t,n){var r,i,a;i=[],void 0===(a="function"==typeof(r=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(g));if(r)return n=r[0],g+=n.length,n}for(var r,i,a,o,s,l=e.length,c=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,p=/^\d+$/,h=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,m=[];;){if(n(u),g>=l)return m;r=n(d),i=[],","===r.slice(-1)?(r=r.replace(f,""),v()):y()}function y(){for(n(c),a="",o="in descriptor";;){if(s=e.charAt(g),"in descriptor"===o)if(t(s))a&&(i.push(a),a="",o="after descriptor");else{if(","===s)return g+=1,a&&i.push(a),void v();if("("===s)a+=s,o="in parens";else{if(""===s)return a&&i.push(a),void v();a+=s}}else if("in parens"===o)if(")"===s)a+=s,o="in descriptor";else{if(""===s)return i.push(a),void v();a+=s}else if("after descriptor"===o)if(t(s));else{if(""===s)return void v();o="in descriptor",g-=1}g+=1}}function v(){var t,n,a,o,s,l,c,u,d,f=!1,g={};for(o=0;o<i.length;o++)l=(s=i[o])[s.length-1],c=s.substring(0,s.length-1),u=parseInt(c,10),d=parseFloat(c),p.test(c)&&"w"===l?((t||n)&&(f=!0),0===u?f=!0:t=u):h.test(c)&&"x"===l?((t||n||a)&&(f=!0),d<0?f=!0:n=d):p.test(c)&&"h"===l?((a||n)&&(f=!0),0===u?f=!0:a=u):f=!0;f?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(g.url=r,t&&(g.w=t),n&&(g.d=n),a&&(g.h=a),m.push(g))}}})?r.apply(t,i):r)||(e.exports=a)},function(e,t,n){"use strict";(function(t){let r=n(28),i=n(18),a=n(58),o=n(9),s=n(116),l=n(20),c=n(118),u=n(33),d=n(63),f=n(22),p=n(36),h=n(34),g=n(21),m=n(35),y=n(64),v=n(37),b=n(13),I=n(19);function x(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new s(e)}x.plugin=function(e,n){function r(...t){let r=n(...t);return r.postcssPlugin=e,r.postcssVersion=(new s).version,r}let i;return console&&console.warn&&(console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),t.env.LANG&&t.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(r,"postcss",{get:()=>(i||(i=r()),i)}),r.process=function(e,t,n){return x([r(n)]).process(e,t)},r},x.stringify=l,x.parse=m,x.fromJSON=c,x.list=y,x.comment=e=>new f(e),x.atRule=e=>new p(e),x.decl=e=>new i(e),x.rule=e=>new v(e),x.root=e=>new b(e),x.document=e=>new u(e),x.CssSyntaxError=r,x.Declaration=i,x.Container=o,x.Processor=s,x.Document=u,x.Comment=f,x.Warning=d,x.AtRule=p,x.Result=h,x.Input=g,x.Rule=v,x.Root=b,x.Node=I,a.registerPostcss(x),e.exports=x,x.default=x}).call(this,n(43))},function(e,t){var n=String,r=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n}};e.exports=r(),e.exports.createColors=r},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),o=r[0],s=r[1],l=new a(function(e,t,n){return 3*(t+n)/4-n}(0,o,s)),u=0,d=s>0?o-4:o;for(n=0;n<d;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;o<s;o+=16383)a.push(u(e,o,o+16383>s?s:o+16383));1===i?(t=e[n-1],a.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],a.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return a.join("")};for(var r=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s<l;++s)r[s]=o[s],i[o.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,a,o=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(r[(a=i)>>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=f,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),a-=c}return(p?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,d=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:a-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;e[n+p]=255&o,p+=h,o/=256,c-=8);e[n+p-h]|=128*g}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"nanoid",(function(){return i})),n.d(t,"customAlphabet",(function(){return r}));let r=(e,t)=>()=>{let n="",r=t;for(;r--;)n+=e[Math.random()*e.length|0];return n},i=(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t}},function(e,t){},function(e,t,n){"use strict";let r=n(18),i=n(115),a=n(22),o=n(36),s=n(13),l=n(37);e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new a;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,n=null,r=!1,i=null,a=[],o=e[1].startsWith("--"),s=[],l=e;for(;l;){if(n=l[0],s.push(l),"("===n||"["===n)i||(i=l),a.push("("===n?")":"]");else if(o&&r&&"{"===n)i||(i=l),a.push("}");else if(0===a.length){if(";"===n){if(r)return void this.decl(s,o);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===a[a.length-1]&&(a.pop(),0===a.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&(l=s[s.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let n=new r;this.init(n,e[0][2]);let i,a=e[e.length-1];for(";"===a[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(a[3]||a[2]);"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(i=e.shift(),":"===i[0]){n.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),n.raws.between+=i[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let o,s=[];for(;e.length&&(o=e[0][0],"space"===o||"comment"===o);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(i=e[t],"!important"===i[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===i[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=r.pop()[1]+i}0===i.trim().indexOf("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==i[0]&&"comment"!==i[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(n.raws.between+=s.map(e=>e[1]).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,n,r,i=new o;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let a=!1,s=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(l.length>0){for(r=l.length-1,n=l[r];n&&"space"===n[0];)n=l[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]))}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),a&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,n,r){let i,a,o,s,l=n.length,c="",u=!0;for(let e=0;e<l;e+=1)i=n[e],a=i[0],"space"!==a||e!==l-1||r?"comment"===a?(s=n[e-1],o=n[e+1],s&&o&&"space"!==s[0]&&"space"!==o[0]?c+=i[1]:u=!1):c+=i[1]:u=!1;if(!u){let r=n.reduce((e,t)=>e+t[1],"");e.raws[t]={value:c,raw:r}}e[t]=c}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}colon(e){let t,n,r,i=0;for(let[a,o]of e.entries()){if(t=o,n=t[0],"("===n&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return a}this.doubleColon(t)}r=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let i=t-1;i>=0&&(n=e[i],"space"===n[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}}},function(e,t,n){"use strict";const r="'".charCodeAt(0),i='"'.charCodeAt(0),a="\\".charCodeAt(0),o="/".charCodeAt(0),s="\n".charCodeAt(0),l=" ".charCodeAt(0),c="\f".charCodeAt(0),u="\t".charCodeAt(0),d="\r".charCodeAt(0),f="[".charCodeAt(0),p="]".charCodeAt(0),h="(".charCodeAt(0),g=")".charCodeAt(0),m="{".charCodeAt(0),y="}".charCodeAt(0),v=";".charCodeAt(0),b="*".charCodeAt(0),I=":".charCodeAt(0),x="@".charCodeAt(0),w=/[\t\n\f\r "#'()/;[\\\]{}]/g,T=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,M=/.[\n"'(/\\]/,A=/[\da-f]/i;e.exports=function(e,t={}){let n,C,E,N,S,k,j,D,L,O,P=e.css.valueOf(),R=t.ignoreErrors,z=P.length,_=0,U=[],Z=[];function F(t){throw e.error("Unclosed "+t,_)}return{back:function(e){Z.push(e)},nextToken:function(e){if(Z.length)return Z.pop();if(_>=z)return;let t=!!e&&e.ignoreUnclosed;switch(n=P.charCodeAt(_),n){case s:case l:case u:case d:case c:C=_;do{C+=1,n=P.charCodeAt(C)}while(n===l||n===s||n===u||n===d||n===c);O=["space",P.slice(_,C)],_=C-1;break;case f:case p:case m:case y:case I:case v:case g:{let e=String.fromCharCode(n);O=[e,e,_];break}case h:if(D=U.length?U.pop()[1]:"",L=P.charCodeAt(_+1),"url"===D&&L!==r&&L!==i&&L!==l&&L!==s&&L!==u&&L!==c&&L!==d){C=_;do{if(k=!1,C=P.indexOf(")",C+1),-1===C){if(R||t){C=_;break}F("bracket")}for(j=C;P.charCodeAt(j-1)===a;)j-=1,k=!k}while(k);O=["brackets",P.slice(_,C+1),_,C],_=C}else C=P.indexOf(")",_+1),N=P.slice(_,C+1),-1===C||M.test(N)?O=["(","(",_]:(O=["brackets",N,_,C],_=C);break;case r:case i:E=n===r?"'":'"',C=_;do{if(k=!1,C=P.indexOf(E,C+1),-1===C){if(R||t){C=_+1;break}F("string")}for(j=C;P.charCodeAt(j-1)===a;)j-=1,k=!k}while(k);O=["string",P.slice(_,C+1),_,C],_=C;break;case x:w.lastIndex=_+1,w.test(P),C=0===w.lastIndex?P.length-1:w.lastIndex-2,O=["at-word",P.slice(_,C+1),_,C],_=C;break;case a:for(C=_,S=!0;P.charCodeAt(C+1)===a;)C+=1,S=!S;if(n=P.charCodeAt(C+1),S&&n!==o&&n!==l&&n!==s&&n!==u&&n!==d&&n!==c&&(C+=1,A.test(P.charAt(C)))){for(;A.test(P.charAt(C+1));)C+=1;P.charCodeAt(C+1)===l&&(C+=1)}O=["word",P.slice(_,C+1),_,C],_=C;break;default:n===o&&P.charCodeAt(_+1)===b?(C=P.indexOf("*/",_+2)+1,0===C&&(R||t?C=P.length:F("comment")),O=["comment",P.slice(_,C+1),_,C],_=C):(T.lastIndex=_+1,T.test(P),C=0===T.lastIndex?P.length-1:T.lastIndex-2,O=["word",P.slice(_,C+1),_,C],U.push(O),_=C)}return _++,O},endOfFile:function(){return 0===Z.length&&_>=z},position:function(){return _}}}},function(e,t,n){"use strict";let r=n(117),i=n(58),a=n(33),o=n(13);class s{constructor(e=[]){this.version="8.4.6",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new r(this,e,t):new i(this,e,t)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else{if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin")}return t}}e.exports=s,s.default=s,o.registerProcessor(s),a.registerProcessor(s)},function(e,t,n){"use strict";let r=n(59),i=n(20),a=(n(62),n(35));const o=n(34);class s{constructor(e,t,n){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let a=i;this.result=new o(this._processor,void 0,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,"root",{get:()=>s.root});let l=new r(a,void 0,this._opts,t);if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=a;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}e.exports=s,s.default=s},function(e,t,n){"use strict";let r=n(18),i=n(61),a=n(22),o=n(36),s=n(21),l=n(13),c=n(37);function u(e,t){if(Array.isArray(e))return e.map(e=>u(e));let{inputs:n,...d}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:s.prototype};n.map&&(n.map={...n.map,__proto__:i.prototype}),t.push(n)}}if(d.nodes&&(d.nodes=e.nodes.map(e=>u(e,t))),d.source){let{inputId:e,...n}=d.source;d.source=n,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new l(d);if("decl"===d.type)return new r(d);if("rule"===d.type)return new c(d);if("comment"===d.type)return new a(d);if("atrule"===d.type)return new o(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},function(e,t,n){"use strict";n.r(t),n.d(t,"Attachments",(function(){return Is})),n.d(t,"Exam",(function(){return Nh})),n.d(t,"GradingInstructions",(function(){return Bh})),n.d(t,"Results",(function(){return Tg})),n.d(t,"parseExam",(function(){return em}));var r=n(0),i=n.n(r),a=n(67),o=n.n(a),s=n(68),l=n.n(s),c=n(24),u=n.n(c);var d,f={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0},p=i.a.createContext();function h(){return f}var g=function(){function e(){o()(this,e),this.usedNamespaces={}}return l()(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function m(){return d}function y(e){var t=e.i18n,n=e.defaultNS,i=e.children,a=Object(r.useMemo)((function(){return{i18n:t,defaultNS:n}}),[t,n]);return Object(r.createElement)(p.Provider,{value:a},i)}var v=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};var b=function(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var l=o[e?s:++i];if(!1===n(a[l],l,a))break}return t}}();var I=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},x=n(4),w=x.a.Symbol,T=Object.prototype,M=T.hasOwnProperty,A=T.toString,C=w?w.toStringTag:void 0;var E=function(e){var t=M.call(e,C),n=e[C];try{e[C]=void 0;var r=!0}catch(e){}var i=A.call(e);return r&&(t?e[C]=n:delete e[C]),i},N=Object.prototype.toString;var S=function(e){return N.call(e)},k=w?w.toStringTag:void 0;var j=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":k&&k in Object(e)?E(e):S(e)};var D=function(e){return null!=e&&"object"==typeof e};var L=function(e){return D(e)&&"[object Arguments]"==j(e)},O=Object.prototype,P=O.hasOwnProperty,R=O.propertyIsEnumerable,z=L(function(){return arguments}())?L:function(e){return D(e)&&P.call(e,"callee")&&!R.call(e,"callee")},_=Array.isArray,U=n(10),Z=/^(?:0|[1-9]\d*)$/;var F=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Z.test(e))&&e>-1&&e%1==0&&e<t};var G=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},B={};B["[object Float32Array]"]=B["[object Float64Array]"]=B["[object Int8Array]"]=B["[object Int16Array]"]=B["[object Int32Array]"]=B["[object Uint8Array]"]=B["[object Uint8ClampedArray]"]=B["[object Uint16Array]"]=B["[object Uint32Array]"]=!0,B["[object Arguments]"]=B["[object Array]"]=B["[object ArrayBuffer]"]=B["[object Boolean]"]=B["[object DataView]"]=B["[object Date]"]=B["[object Error]"]=B["[object Function]"]=B["[object Map]"]=B["[object Number]"]=B["[object Object]"]=B["[object RegExp]"]=B["[object Set]"]=B["[object String]"]=B["[object WeakMap]"]=!1;var Y=function(e){return D(e)&&G(e.length)&&!!B[j(e)]};var W=function(e){return function(t){return e(t)}},H=n(8),V=H.a&&H.a.isTypedArray,q=V?W(V):Y,Q=Object.prototype.hasOwnProperty;var J=function(e,t){var n=_(e),r=!n&&z(e),i=!n&&!r&&Object(U.a)(e),a=!n&&!r&&!i&&q(e),o=n||r||i||a,s=o?I(e.length,String):[],l=s.length;for(var c in e)!t&&!Q.call(e,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||F(c,l))||s.push(c);return s},X=Object.prototype;var K=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||X)};var $=function(e,t){return function(n){return e(t(n))}},ee=$(Object.keys,Object),te=Object.prototype.hasOwnProperty;var ne=function(e){if(!K(e))return ee(e);var t=[];for(var n in Object(e))te.call(e,n)&&"constructor"!=n&&t.push(n);return t};var re=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var ie=function(e){if(!re(e))return!1;var t=j(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};var ae=function(e){return null!=e&&G(e.length)&&!ie(e)};var oe=function(e){return ae(e)?J(e):ne(e)};var se=function(e,t){return e&&b(e,t,oe)};var le=function(e,t){return function(n,r){if(null==n)return n;if(!ae(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&!1!==r(o[a],a,o););return n}}(se);var ce=function(e){return e};var ue=function(e){return"function"==typeof e?e:ce};var de=function(e,t){return(_(e)?v:le)(e,ue(t))};function fe(e,t){const n=null!=t?pe(t):void 0,r=[];for(;null!=e.parentElement;)e=e.parentElement,(null==n||n(e))&&r.push(e);return r}function pe(e){return"function"==typeof e?t=>t.namespaceURI===Me&&e(t):Array.isArray(e)?t=>t.namespaceURI===Me&&e.includes(t.localName):t=>t.namespaceURI===Me&&t.localName===e}function he(e,t){const n=pe(t);return function e(t){for(let r=0,i=t.children.length;r<i;r++){const i=t.children[r];if(n(i))return i;const a=e(i);if(null!=a)return a}}(e)}function ge(e,t,n=!0){const r=pe(t),i=[];return function e(t){for(let a=0,o=t.children.length;a<o;a++){const o=t.children[a];r(o)?(i.push(o),n&&e(o)):e(o)}}(e),i}function me(e,t){const n=pe(t);for(;null!=e.parentElement;)if(n(e=e.parentElement))return e}function ye(e,t){const n=pe(t);for(let t=0,r=e.children.length;t<r;t++){const r=e.children[t];if(n(r))return r}}function ve(e,t){var n;return null!==(n=e.getAttribute(t))&&void 0!==n?n:void 0}function be(e,t){const n=e.getAttribute(t);return null!=n?Number(n):void 0}function Ie(e,t){return"true"===ve(e,t)}function xe(e,t){const n=[];for(let r=0,i=e.children.length;r<i;r++){const i=e.children[r];n.push(t(i,r))}return n}function we(e){return ge(e,["choice-answer","dropdown-answer","text-answer","scored-text-answer"],!0)}function Te(e,t,...n){const r=document.createElement(e);return function(e,t){de(t,(t,n)=>{"css"===n?e.style.cssText=t:n.startsWith("data-")?e.setAttribute(n,t):e[n]=t})}(r,t),n.forEach(e=>r.appendChild("string"==typeof e?new Text(e):e)),r}const Me="http://ylioppilastutkinto.fi/exam.xsd";function Ae(e){function t(t,r,a){switch(t.nodeType){case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:return 0===a?function(e){return e.textContent}(t):null;case Node.ELEMENT_NODE:return function(t,r,a){switch(t.namespaceURI){case"http://www.w3.org/1999/xhtml":return function(e,t,r){const a=e.hasChildNodes()?n(e,r):null;if(0===r){const n=e.localName,r=function(e,t){const n={key:Ce(e,t)};for(const t of e.attributes){const e="class"===t.localName?"className":t.localName;n[e]=t.value}return n}(e,t);return i.a.createElement(n,{...r},a)}return a}(t,r,a);case Me:return function(t,r){const a=e[t.localName],o=t.getAttribute("class")||void 0;return a?i.a.createElement(a,{element:t,className:o,renderChildNodes:n,key:Ce(t,r)}):null}(t,r);default:throw new Error("Unrecognized element: "+t.localName)}}(t,r,a);default:return null}}function n(e,n=0){return function(e,t){const n=e.childNodes.length,r=new Array(n);for(let i=0;i<n;i++)r[i]=t(e.childNodes[i],i);return r}(e,(e,r)=>t(e,r,n))}return n}function Ce(e,t){return`${e.localName}-${t}`}function Ee(e){return(Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){Ne(e,t,n[t])}))}return e}function ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function De(e,t,n){return t&&je(e.prototype,t),n&&je(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Le(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oe(e,t){if(t&&("object"===Ee(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Le(e)}function Pe(e){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Re(e,t)}var _e={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},Ue=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ke(this,e),this.init(t,n)}return De(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||_e,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,Se({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),Ze=function(){function e(){ke(this,e),this.observers={}}return De(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var i=[].concat(this.observers[e]);i.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function Fe(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function Ge(e){return null==e?"":""+e}function Be(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function Ye(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var a="string"!=typeof t?[].concat(t):t.split(".");a.length>1;){if(i())return{};var o=r(a.shift());!e[o]&&n&&(e[o]=new n),e=Object.prototype.hasOwnProperty.call(e,o)?e[o]:{}}return i()?{}:{obj:e,k:r(a.shift())}}function We(e,t,n){var r=Ye(e,t,Object);r.obj[r.k]=n}function He(e,t){var n=Ye(e,t),r=n.obj,i=n.k;if(r)return r[i]}function Ve(e,t,n){var r=He(e,n);return void 0!==r?r:He(t,n)}function qe(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):qe(e[r],t[r],n):e[r]=t[r]);return e}function Qe(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Je={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Xe(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return Je[e]})):e}var Ke="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function $e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,a=0;a<r.length;++a){if(!i)return;if("string"==typeof i[r[a]]&&a+1<r.length)return;if(void 0===i[r[a]]){for(var o=2,s=r.slice(a,a+o).join(n),l=i[s];void 0===l&&r.length>a+o;)o++,l=i[s=r.slice(a,a+o).join(n)];if(void 0===l)return;if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s];var c=r.slice(a+o).join(n);return c?$e(l,c,n):void 0}i=i[r[a]]}return i}}var et=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ke(this,t),n=Oe(this,Pe(t).call(this)),Ke&&Ze.call(Le(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return ze(t,e),De(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,o=[e,t];n&&"string"!=typeof n&&(o=o.concat(n)),n&&"string"==typeof n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split("."));var s=He(this.data,o);return s||!a||"string"!=typeof n?s:$e(this.data&&this.data[e]&&this.data[e][t],n,i)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(r=t,t=(o=e.split("."))[1]),this.addNamespaces(t),We(this.data,o,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},o=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(o=e.split("."))[1]),this.addNamespaces(t);var s=He(this.data,o)||{};r?qe(s,n,i):s=Se({},s,n),We(this.data,o,s),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?Se({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(Ze),tt={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,r,i))})),t}},nt={},rt=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ke(this,t),n=Oe(this,Pe(t).call(this)),Ke&&Ze.call(Le(n)),Be(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,Le(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=Ue.create("translator"),n}return ze(t,e),De(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var a=e.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:e,namespaces:i};var o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,n,r){var i=this;if("object"!==Ee(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var a=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,o=this.extractFromKey(e[e.length-1],n),s=o.key,l=o.namespaces,c=l[l.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(d){var f=n.nsSeparator||this.options.nsSeparator;return c+f+s}return s}var p=this.resolve(e,n),h=p&&p.res,g=p&&p.usedKey||s,m=p&&p.exactUsedKey||s,y=Object.prototype.toString.apply(h),v=["[object Number]","[object Function]","[object RegExp]"],b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,I=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(I&&h&&x&&v.indexOf(y)<0&&("string"!=typeof b||"[object Array]"!==y)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,h,Se({},n,{ns:l})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(a){var w="[object Array]"===y,T=w?[]:{},M=w?m:g;for(var A in h)if(Object.prototype.hasOwnProperty.call(h,A)){var C="".concat(M).concat(a).concat(A);T[A]=this.translate(C,Se({},n,{joinArrays:!1,ns:l})),T[A]===C&&(T[A]=h[A])}h=T}}else if(I&&"string"==typeof b&&"[object Array]"===y)(h=h.join(b))&&(h=this.extendTranslation(h,e,n,r));else{var E=!1,N=!1,S=void 0!==n.count&&"string"!=typeof n.count,k=t.hasDefaultValue(n),j=S?this.pluralResolver.getSuffix(u,n.count):"",D=n["defaultValue".concat(j)]||n.defaultValue;!this.isValidLookup(h)&&k&&(E=!0,h=D),this.isValidLookup(h)||(N=!0,h=s);var L=n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,O=L&&N?void 0:h,P=k&&D!==h&&this.options.updateMissing;if(N||E||P){if(this.logger.log(P?"updateKey":"missingKey",u,c,s,P?D:h),a){var R=this.resolve(s,Se({},n,{keySeparator:!1}));R&&R.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var z=[],_=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&_&&_[0])for(var U=0;U<_.length;U++)z.push(_[U]);else"all"===this.options.saveMissingTo?z=this.languageUtils.toResolveHierarchy(n.lng||this.language):z.push(n.lng||this.language);var Z=function(e,t,r){i.options.missingKeyHandler?i.options.missingKeyHandler(e,c,t,P?r:O,P,n):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(e,c,t,P?r:O,P,n),i.emit("missingKey",e,c,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?z.forEach((function(e){i.pluralResolver.getSuffixes(e).forEach((function(t){Z([e],s+t,n["defaultValue".concat(t)]||D)}))})):Z(z,s,D))}h=this.extendTranslation(h,e,n,p,r),N&&h===s&&this.options.appendNamespaceToMissingKey&&(h="".concat(c,":").concat(s)),(N||E)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(h))}return h}},{key:"extendTranslation",value:function(e,t,n,r,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(Se({},n,{interpolation:Se({},this.options.interpolation,n.interpolation)}));var o,s=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(s){var l=e.match(this.interpolator.nestingRegexp);o=l&&l.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=Se({},this.options.interpolation.defaultVariables,c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);o<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return i&&i[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,f="string"==typeof d?[d]:d;return null!=e&&f&&f.length&&!1!==n.applyPostProcessor&&(e=tt.handle(f,e,t,this.options&&this.options.postProcessPassResolved?Se({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,a,o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!o.isValidLookup(t)){var l=o.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;o.options.fallbackNS&&(u=u.concat(o.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,f=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,p=s.lngs?s.lngs:o.languageUtils.toResolveHierarchy(s.lng||o.language,s.fallbackLng);u.forEach((function(e){o.isValidLookup(t)||(a=e,!nt["".concat(p[0],"-").concat(e)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(a)&&(nt["".concat(p[0],"-").concat(e)]=!0,o.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(a,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((function(n){if(!o.isValidLookup(t)){i=n;var a,l,u=c,p=[u];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(p,c,n,e,s);else d&&(a=o.pluralResolver.getSuffix(n,s.count)),d&&f&&p.push(u+a),f&&p.push(u+="".concat(o.options.contextSeparator).concat(s.context)),d&&p.push(u+=a);for(;l=p.pop();)o.isValidLookup(t)||(r=l,t=o.getResource(n,e,l,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:a}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,"defaultValue".length)&&void 0!==e[t])return!0;return!1}}]),t}(Ze);function it(e){return e.charAt(0).toUpperCase()+e.slice(1)}var at=function(){function e(t){ke(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ue.create("languageUtils")}return De(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=it(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=it(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=it(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],a=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):"string"==typeof e&&a(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&a(n.formatLanguageCode(e))})),i}}]),e}(),ot=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],st={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};function lt(){var e={};return ot.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:st[t.fc]}}))})),e}var ct=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ke(this,e),this.languageUtils=t,this.options=n,this.logger=Ue.create("pluralResolver"),this.rules=lt()}return De(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var i=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),a=r.numbers[i];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===a?a="plural":1===a&&(a=""));var o=function(){return n.options.prepend&&a.toString()?n.options.prepend+a.toString():a.toString()};return"v1"===this.options.compatibilityJSON?1===a?"":"number"==typeof a?"_plural_".concat(a.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?o():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),ut=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ke(this,e),this.logger=Ue.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return De(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:Xe,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?Qe(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?Qe(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?Qe(t.nestingPrefix):t.nestingPrefixEscaped||Qe("$t("),this.nestingSuffix=t.nestingSuffix?Qe(t.nestingSuffix):t.nestingSuffixEscaped||Qe(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,a,o,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var i=Ve(t,l,e);return s.alwaysFormat?s.format(i,void 0,n,Se({},r,t,{interpolationkey:e})):i}var a=e.split(s.formatSeparator),o=a.shift().trim(),c=a.join(s.formatSeparator).trim();return s.format(Ve(t,l,o),c,n,Se({},r,t,{interpolationkey:o}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(o=0;i=t.regex.exec(e);){if(void 0===(a=u(i[1].trim())))if("function"==typeof d){var n=d(e,i,r);a="string"==typeof n?n:""}else{if(f){a=i[0];continue}s.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(e)),a=""}else"string"==typeof a||s.useRawValueToEscape||(a=Ge(a));var l=t.safeValue(a);if(e=e.replace(i[0],l),f?(t.regex.lastIndex+=l.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++o>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Se({},a);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0],i=(i=this.interpolate(i,o)).replace(/'/g,'"');try{o=JSON.parse(i),t&&(o=Se({},t,o))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete o.defaultValue,e}for(o.applyPostProcessor=!1,delete o.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),o),o))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=Ge(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return i.format(e,t,a.lng,Se({},a,{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();var dt=function(e){function t(e,n,r){var i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return ke(this,t),i=Oe(this,Pe(t).call(this)),Ke&&Ze.call(Le(i)),i.backend=e,i.store=n,i.services=r,i.languageUtils=r.languageUtils,i.options=a,i.logger=Ue.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(r,a.backend,a),i}return ze(t,e),De(t,[{key:"queueLoad",value:function(e,t,n,r){var i=this,a=[],o=[],s=[],l=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?o.indexOf(s)<0&&o.push(s):(i.state[s]=1,r=!1,o.indexOf(s)<0&&o.push(s),a.indexOf(s)<0&&a.push(s),l.indexOf(t)<0&&l.push(t)))})),r||s.push(e)})),(a.length||o.length)&&this.queue.push({pending:o,loaded:{},errors:[],callback:r}),{toLoad:a,pending:o,toLoadLanguages:s,toLoadNamespaces:l}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],a=r[1];t&&this.emit("failedLoading",i,a,t),n&&this.store.addResourceBundle(i,a,n),this.state[e]=t?-1:2;var o={};this.queue.forEach((function(n){var r,s,l,c,u,d;r=n.loaded,s=a,c=Ye(r,[i],Object),u=c.obj,d=c.k,u[d]=u[d]||[],l&&(u[d]=u[d].concat(s)),l||u[d].push(s),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){o[e]||(o[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){o[e].indexOf(t)<0&&o[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",o),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,o=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,l){s&&l&&i<5?setTimeout((function(){r.read.call(r,e,t,n,i+1,2*a,o)}),a):o(s,l)})):o(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var a=this.queueLoad(e,t,r,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],a=r[1];this.read(i,a,"read",void 0,void 0,(function(r,o){r&&t.logger.warn("".concat(n,"loading namespace ").concat(a," for language ").concat(i," failed"),r),!r&&o&&t.logger.log("".concat(n,"loaded namespace ").concat(a," for language ").concat(i),o),t.loaded(e,r,o)}))}},{key:"saveMissing",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,Se({},a,{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),t}(Ze);function ft(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===Ee(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===Ee(e[2])||"object"===Ee(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function pt(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ht(){}var gt=new(function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(ke(this,t),e=Oe(this,Pe(t).call(this)),Ke&&Ze.call(Le(e)),e.options=pt(n),e.services={},e.logger=Ue,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),Oe(e,Le(e));setTimeout((function(){e.init(n,r)}),0)}return e}return ze(t,e),De(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=Se({},ft(),this.options,pt(t)),this.format=this.options.interpolation.format,n||(n=ht),!this.options.isClone){this.modules.logger?Ue.init(r(this.modules.logger),this.options):Ue.init(null,this.options);var i=new at(this.options);this.store=new et(this.options.resources,this.options);var a=this.services;a.logger=Ue,a.resourceStore=this.store,a.languageUtils=i,a.pluralResolver=new ct(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a.interpolator=new ut(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new dt(r(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(a.languageDetector=r(this.modules.languageDetector),a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=r(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new rt(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var o=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);o.length>0&&"dev"!==o[0]&&(this.options.lng=o[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var s=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];s.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var l=["addResource","addResources","addResourceBundle","removeResourceBundle"];l.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var c=Fe(),u=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht,r=n,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return r();var a=[],o=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){a.indexOf(e)<0&&a.push(e)}))};if(i)o(i);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return o(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(a,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=Fe();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ht),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&tt.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=Fe();this.emit("languageChanging",e);var i=function(i){e||i||!n.services.languageDetector||(i=[]);var a="string"==typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||(n.language=a,n.languages=n.services.languageUtils.toResolveHierarchy(a)),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,i){i?(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,i=function e(t,i){var a;if("object"!==Ee(i)){for(var o=arguments.length,s=new Array(o>2?o-2:0),l=2;l<o;l++)s[l-2]=arguments[l];a=r.options.overloadTranslationOptionHandler([t,i].concat(s))}else a=Se({},i);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns;var c=r.options.keySeparator||".",u=n?"".concat(n).concat(c).concat(t):t;return r.t(u,a)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],i=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var o=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,o);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!this.services.backendConnector.backend||!(!o(r,e)||i&&!o(a,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=Fe();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=Fe();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht,i=Se({},this.options,n,{isClone:!0}),a=new t(i),o=["store","services","language"];return o.forEach((function(t){a[t]=e[t]})),a.services=Se({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new rt(a.services,a.options),a.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit.apply(a,[e].concat(n))})),a.init(i,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(Ze));var mt=function(e){return e&&e.length?e[0]:void 0};var yt=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var vt=function(){},bt=n(66),It=n.n(bt);function xt(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var wt={};function Tt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&wt[t[0]]||("string"==typeof t[0]&&(wt[t[0]]=new Date),xt.apply(void 0,t))}function Mt(e,t,n){e.loadNamespaces(t,(function(){if(e.isInitialized)n();else{e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}}))}function At(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return Tt("i18n.languages were undefined or empty",t.languages),!0;var r=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var o=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(r,e)||(!t.services.backendConnector.backend||!(!o(r,e)||i&&!o(a,e))))}function Ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nt=function(e){return"symbol"==typeof e||D(e)&&"[object Symbol]"==j(e)},St=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kt=/^\w*$/;var jt,Dt=function(e,t){if(_(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Nt(e))||(kt.test(e)||!St.test(e)||null!=t&&e in Object(t))},Lt=x.a["__core-js_shared__"],Ot=(jt=/[^.]+$/.exec(Lt&&Lt.keys&&Lt.keys.IE_PROTO||""))?"Symbol(src)_1."+jt:"";var Pt=function(e){return!!Ot&&Ot in e},Rt=Function.prototype.toString;var zt=function(e){if(null!=e){try{return Rt.call(e)}catch(e){}try{return e+""}catch(e){}}return""},_t=/^\[object .+?Constructor\]$/,Ut=Function.prototype,Zt=Object.prototype,Ft=Ut.toString,Gt=Zt.hasOwnProperty,Bt=RegExp("^"+Ft.call(Gt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Yt=function(e){return!(!re(e)||Pt(e))&&(ie(e)?Bt:_t).test(zt(e))};var Wt=function(e,t){return null==e?void 0:e[t]};var Ht=function(e,t){var n=Wt(e,t);return Yt(n)?n:void 0},Vt=Ht(Object,"create");var qt=function(){this.__data__=Vt?Vt(null):{},this.size=0};var Qt=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Jt=Object.prototype.hasOwnProperty;var Xt=function(e){var t=this.__data__;if(Vt){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Jt.call(t,e)?t[e]:void 0},Kt=Object.prototype.hasOwnProperty;var $t=function(e){var t=this.__data__;return Vt?void 0!==t[e]:Kt.call(t,e)};var en=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Vt&&void 0===t?"__lodash_hash_undefined__":t,this};function tn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}tn.prototype.clear=qt,tn.prototype.delete=Qt,tn.prototype.get=Xt,tn.prototype.has=$t,tn.prototype.set=en;var nn=tn;var rn=function(){this.__data__=[],this.size=0};var an=function(e,t){return e===t||e!=e&&t!=t};var on=function(e,t){for(var n=e.length;n--;)if(an(e[n][0],t))return n;return-1},sn=Array.prototype.splice;var ln=function(e){var t=this.__data__,n=on(t,e);return!(n<0)&&(n==t.length-1?t.pop():sn.call(t,n,1),--this.size,!0)};var cn=function(e){var t=this.__data__,n=on(t,e);return n<0?void 0:t[n][1]};var un=function(e){return on(this.__data__,e)>-1};var dn=function(e,t){var n=this.__data__,r=on(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}fn.prototype.clear=rn,fn.prototype.delete=ln,fn.prototype.get=cn,fn.prototype.has=un,fn.prototype.set=dn;var pn=fn,hn=Ht(x.a,"Map");var gn=function(){this.size=0,this.__data__={hash:new nn,map:new(hn||pn),string:new nn}};var mn=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var yn=function(e,t){var n=e.__data__;return mn(t)?n["string"==typeof t?"string":"hash"]:n.map};var vn=function(e){var t=yn(this,e).delete(e);return this.size-=t?1:0,t};var bn=function(e){return yn(this,e).get(e)};var In=function(e){return yn(this,e).has(e)};var xn=function(e,t){var n=yn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}wn.prototype.clear=gn,wn.prototype.delete=vn,wn.prototype.get=bn,wn.prototype.has=In,wn.prototype.set=xn;var Tn=wn;function Mn(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Mn.Cache||Tn),n}Mn.Cache=Tn;var An=Mn;var Cn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,En=/\\(\\)?/g,Nn=function(e){var t=An(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Cn,(function(e,n,r,i){t.push(r?i.replace(En,"$1"):n||e)})),t}));var Sn=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},kn=w?w.prototype:void 0,jn=kn?kn.toString:void 0;var Dn=function e(t){if("string"==typeof t)return t;if(_(t))return Sn(t,e)+"";if(Nt(t))return jn?jn.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};var Ln=function(e){return null==e?"":Dn(e)};var On=function(e,t){return _(e)?e:Dt(e,t)?[e]:Nn(Ln(e))};var Pn=function(e){if("string"==typeof e||Nt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};var Rn=function(e,t){for(var n=0,r=(t=On(t,e)).length;null!=e&&n<r;)e=e[Pn(t[n++])];return n&&n==r?e:void 0},zn=function(){try{var e=Ht(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var _n=function(e,t,n){"__proto__"==t&&zn?zn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Un=Object.prototype.hasOwnProperty;var Zn=function(e,t,n){var r=e[t];Un.call(e,t)&&an(r,n)&&(void 0!==n||t in e)||_n(e,t,n)};var Fn=function(e,t,n,r){if(!re(e))return e;for(var i=-1,a=(t=On(t,e)).length,o=a-1,s=e;null!=s&&++i<a;){var l=Pn(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=o){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=re(u)?u:F(t[i+1])?[]:{})}Zn(s,l,c),s=s[l]}return e};var Gn=function(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Rn(e,o);n(s,o)&&Fn(a,On(o,e),s)}return a};var Bn=function(e,t){return null!=e&&t in Object(e)};var Yn=function(e,t,n){for(var r=-1,i=(t=On(t,e)).length,a=!1;++r<i;){var o=Pn(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&G(i)&&F(o,i)&&(_(e)||z(e))};var Wn=function(e,t){return null!=e&&Yn(e,t,Bn)};var Hn=function(e,t){return Gn(e,t,(function(t,n){return Wn(e,n)}))};var Vn=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},qn=w?w.isConcatSpreadable:void 0;var Qn=function(e){return _(e)||z(e)||!!(qn&&e&&e[qn])};var Jn=function e(t,n,r,i,a){var o=-1,s=t.length;for(r||(r=Qn),a||(a=[]);++o<s;){var l=t[o];n>0&&r(l)?n>1?e(l,n-1,r,i,a):Vn(a,l):i||(a[a.length]=l)}return a};var Xn=function(e){return(null==e?0:e.length)?Jn(e,1):[]};var Kn=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},$n=Math.max;var er=function(e,t,n){return t=$n(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=$n(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),Kn(e,this,s)}};var tr=function(e){return function(){return e}},nr=zn?function(e,t){return zn(e,"toString",{configurable:!0,enumerable:!1,value:tr(t),writable:!0})}:ce,rr=Date.now;var ir=function(e){var t=0,n=0;return function(){var r=rr(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(nr);var ar=function(e){return ir(er(e,void 0,Xn),e+"")},or=ar((function(e,t){return null==e?{}:Hn(e,t)}));const sr={"exam-total":"Provet sammanlagt","grading-total":"Sammanlagt",material:"Material","attachments-page-title":"Material:","external-material-title":"Material","grading-instructions-page-title":"Beskrivningar av goda svar:",section:"Del {{displayNumber}}:",question:"Uppgift {{displayNumber}}:",grade:"Vitsord",comment:"Kommentar",points:"{{count}} p.",recording:"Inspelningen","audio-errors":{"already-accessed":"Du har redan spelat denna inspelning. Uppdatera sidan","already-playing":"Lyssna först inspelningen till slut.","other-error":"Uppspelning misslyckades, be övervakaren om hjälp."},"audio-test":{instructions:"Provet omfattar uppgifter i hörförståelse.",play:"Testa hörbarheten",volume:"Du kan justera ljudvolymen uppe i högra hörnet av rutan."},"dropdown-answer":{label:"Välj det alternativ som passar bäst.",clear:"Avmarkera alternativet."},grading:{"pregrading-annotations":"Preliminära bedömningens anteckningar","censor-annotations":"Censorns anteckningar"},references:{heading:"Källor",source:"Källa:",date:"Publicerad:","reference-date":"Hämtad:",translator:"Översättning:","modified-by":"Bearbetning:"},cas:{forbidden:{infoText:"Du får tillgång till de blockerade räknarprogrammen efter att du returnerat del A.",buttonText:"Returnera del A"},allowing:{infoText:"Svaren i A-delen låses. Du får tillgång till de blockerade räknarprogrammen om en stund.",cancel:"Avbryt ({{count}} s)"},allowed:{infoText:"Del A returnerad"}},"toc-heading":"Innehåll","answer-saved":"Sparad","too-many-answers":"TODO","listen-times-remaining":"{{count}} lyssningsgång kvar.","listen-times-remaining_plural":"{{count}} lyssningsgånger kvar.","answer-length":"Svarets längd: {{count}} tecken.","answer-length-with-max-length":"Svarets längd: {{count}} / {{maxLength}} tecken.","max-length-info":"Svaret får inte överskrida {{count}} tecken. Om det givna antalet tecken överskrids leder det till poängavdrag.","previous-answer-versions":"Tidigare utkast till svar","zoom-in":"Förstora bilden","end-of-exam":"Uppgifterna i provet slutar här.","answering-instructions":{"exam_*_1_1":"Besvara högst en uppgift i provet.","exam_*_2_2":"Besvara högst två uppgifter i provet.","exam_*_3_3":"Besvara högst tre uppgifter i provet.","exam_*_4_4":"Besvara högst fyra uppgifter i provet.","exam_*_5_5":"Besvara högst fem uppgifter i provet.","exam_*_6_6":"Besvara högst sex uppgifter i provet.","exam_*_7_7":"Besvara högst sju uppgifter i provet.","exam_*_8_8":"Besvara högst åtta uppgifter i provet.","exam_*_9_9":"Besvara högst nio uppgifter i provet.","exam_*_10_10":"Besvara högst tio uppgifter i provet.","exam_*_*_*":"Besvara högst {{answerCount, range}} uppgifter i provet.","question_*_1_1":"Besvara en av punkterna {{questions, range}}.","question_*_2_2":"Besvara två av punkterna {{questions, range}}.","question_*_3_3":"Besvara tre av punkterna {{questions, range}}.","question_*_4_4":"Besvara fyra av punkterna {{questions, range}}.","question_*_5_5":"Besvara fem av punkterna {{questions, range}}.","question_*_6_6":"Besvara sex av punkterna {{questions, range}}.","question_*_7_7":"Besvara sju av punkterna {{questions, range}}.","question_*_8_8":"Besvara åtta av punkterna {{questions, range}}.","question_*_9_9":"Besvara nio av punkterna {{questions, range}}.","question_*_10_10":"Besvara tio av punkterna {{questions, range}}.","question_2_*_1":"Besvara antingen punkt {{questions, first}} eller {{questions, last}}.","question_*_*_*":"Besvara {{answerCount, range}} av punkterna {{questions, range}}.","section_*_1_1":"Besvara en uppgift.","section_*_2_2":"Besvara två uppgifter.","section_*_3_3":"Besvara tre uppgifter.","section_*_4_4":"Besvara fyra uppgifter.","section_*_5_5":"Besvara fem uppgifter.","section_*_6_6":"Besvara sex uppgifter.","section_*_7_7":"Besvara sju uppgifter.","section_*_8_8":"Besvara åtta uppgifter.","section_*_9_9":"Besvara nio uppgifter.","section_*_10_10":"Besvara tio uppgifter.","section_1_*_1":"Besvara uppgift {{questions, range}}.","section_2_*_1":"Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.","section_*_*_*":"Besvara {{answerCount, range}} uppgifter.","toc-section_*_1_1":"Besvara en uppgift.","toc-section_*_2_2":"Besvara två uppgifter.","toc-section_*_3_3":"Besvara tre uppgifter.","toc-section_*_4_4":"Besvara fyra uppgifter.","toc-section_*_5_5":"Besvara fem uppgifter.","toc-section_*_6_6":"Besvara sex uppgifter.","toc-section_*_7_7":"Besvara sju uppgifter.","toc-section_*_8_8":"Besvara åtta uppgifter.","toc-section_*_9_9":"Besvara nio uppgifter.","toc-section_*_10_10":"Besvara tio uppgifter.","toc-section_1_*_1":"Besvara uppgift {{questions, range}}.","toc-section_2_*_1":"Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.","toc-section_*_*_*":"Besvara {{answerCount, range}} uppgifter."},"answer-errors":{"screenshot-too-big":"Den skärmdump du tagit är för stor. Ta en ny skärmdump av en mindre del av skärmen och försök på nytt.","screenshot-byte-limit-reached":"Minnesutrymmet för skärmdumpar är fullt. (Du kan referera till bilder i materialet direkt utan skärmdumpar.)","screenshot-upload-failed":"Bifogandet av skärmdumpen misslyckades. Försök på nytt.","answer-too-long":"Svaret är för långt."},"screen-reader":{"answer-begin":"[Svaret börjar]","answer-end":"[Svaret avslutar]","correct-answer":"[Accepterat svar]"}},lr=or(sr,["exam-total","material","external-material-title","section","references","toc-heading"]),cr={"exam-total":"Koe yhteensä","grading-total":"Yhteensä",material:"Aineisto",material_plural:"Aineistot","attachments-page-title":"Aineisto:","external-material-title":"Aineisto","grading-instructions-page-title":"Hyvän vastauksen piirteet:",section:"Osa {{displayNumber}}:",question:"Tehtävä {{displayNumber}}:",grade:"Arvosana",comment:"Kommentti",points:"{{count}} p.",recording:"Tallenne","audio-errors":{"already-accessed":"Olet jo toistanut tämän äänitteen. Päivitä sivu.","already-playing":"Kuuntele äänite ensin loppuun.","other-error":"Äänitteen toistaminen epäonnistui, pyydä apua valvojalta."},"audio-test":{instructions:"Koe sisältää kuullunymmärtämisen tehtäviä.",play:"Testaa äänitteiden kuuluvuus",volume:"Äänen voimakkuutta voit säätää ruudun oikeasta yläkulmasta."},"dropdown-answer":{label:"Valitse parhaiten sopiva vaihtoehto.",clear:"Poista valinta."},grading:{"pregrading-annotations":"Valmistavan arvostelun merkinnät","censor-annotations":"Sensorin merkinnät"},references:{heading:"Lähteet",source:"Lähde:",date:"Julkaistu:","reference-date":"Viitattu:",translator:"Käännös:","modified-by":"Muokkaus:"},cas:{forbidden:{infoText:"Saat estetyt laskinohjelmat käyttöön palautettuasi A-osan.",buttonText:"Palauta A-osa"},allowing:{infoText:"A-osan vastaukset lukitaan. Saat estetyt laskinohjelmat käyttöösi hetken kuluttua.",cancel:"Peruuta ({{count}} s)"},allowed:{infoText:"A-osa palautettu"}},"toc-heading":"Sisällys","answer-saved":"Tallennettu","too-many-answers":"Vastattu liiaan moneen tehtävään:","listen-times-remaining":"{{count}} kuuntelukerta jäljellä.","listen-times-remaining_plural":"{{count}} kuuntelukertaa jäljellä.","answer-length":"Vastauksen pituus: {{count}} merkki.","answer-length_plural":"Vastauksen pituus: {{count}} merkkiä.","answer-length-with-max-length":"Vastauksen pituus: {{count}} / {{maxLength}} merkkiä.","max-length-info":"Vastauksen pituus on enintään {{count}} merkkiä. Ylityksestä seuraa pistevähennys.","previous-answer-versions":"Aiemmat vastausluonnokset","zoom-in":"Suurenna kuva","end-of-exam":"Kokeen tehtävät loppuvat tähän.","answering-instructions":{"exam_*_1_1":"Vastaa kokeessa enintään yhteen tehtävään.","exam_*_2_2":"Vastaa kokeessa enintään kahteen tehtävään.","exam_*_3_3":"Vastaa kokeessa enintään kolmeen tehtävään.","exam_*_4_4":"Vastaa kokeessa enintään neljään tehtävään.","exam_*_5_5":"Vastaa kokeessa enintään viiteen tehtävään.","exam_*_6_6":"Vastaa kokeessa enintään kuuteen tehtävään.","exam_*_7_7":"Vastaa kokeessa enintään seitsemään tehtävään.","exam_*_8_8":"Vastaa kokeessa enintään kahdeksaan tehtävään.","exam_*_9_9":"Vastaa kokeessa enintään yhdeksään tehtävään.","exam_*_10_10":"Vastaa kokeessa enintään kymmeneen tehtävään.","exam_*_*_*":"Vastaa kokeessa enintään {{answerCount, range}} tehtävään.","question_*_1_1":"Vastaa yhteen kohdista {{questions, range}}.","question_*_2_2":"Vastaa kahteen kohdista {{questions, range}}.","question_*_3_3":"Vastaa kolmeen kohdista {{questions, range}}.","question_*_4_4":"Vastaa neljään kohdista {{questions, range}}.","question_*_5_5":"Vastaa viiteen kohdista {{questions, range}}.","question_*_6_6":"Vastaa kuuteen kohdista {{questions, range}}.","question_*_7_7":"Vastaa seitsemään kohdista {{questions, range}}.","question_*_8_8":"Vastaa kahdeksaan kohdista {{questions, range}}.","question_*_9_9":"Vastaa yhdeksään kohdista {{questions, range}}.","question_*_10_10":"Vastaa kymmeneen kohdista {{questions, range}}.","question_2_*_1":"Vastaa joko kohtaan {{questions, first}} tai {{questions, last}}.","question_*_*_*":"Vastaa {{answerCount, range}} kohdista {{questions, range}}.","section_*_1_1":"Vastaa yhteen tehtävään.","section_*_2_2":"Vastaa kahteen tehtävään.","section_*_3_3":"Vastaa kolmeen tehtävään.","section_*_4_4":"Vastaa neljään tehtävään.","section_*_5_5":"Vastaa viiteen tehtävään.","section_*_6_6":"Vastaa kuuteen tehtävään.","section_*_7_7":"Vastaa seitsemään tehtävään.","section_*_8_8":"Vastaa kahdeksaan tehtävään.","section_*_9_9":"Vastaa yhdeksään tehtävään.","section_*_10_10":"Vastaa kymmeneen tehtävään.","section_1_*_1":"Vastaa tehtävään {{questions, range}}.","section_2_*_1":"Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.","section_*_*_*":"Vastaa {{answerCount, range}} tehtävään.","toc-section_*_1_1":"Vastaa yhteen tehtävään.","toc-section_*_2_2":"Vastaa kahteen tehtävään.","toc-section_*_3_3":"Vastaa kolmeen tehtävään.","toc-section_*_4_4":"Vastaa neljään tehtävään.","toc-section_*_5_5":"Vastaa viiteen tehtävään.","toc-section_*_6_6":"Vastaa kuuteen tehtävään.","toc-section_*_7_7":"Vastaa seitsemään tehtävään.","toc-section_*_8_8":"Vastaa kahdeksaan tehtävään.","toc-section_*_9_9":"Vastaa yhdeksään tehtävään.","toc-section_*_10_10":"Vastaa kymmeneen tehtävään.","toc-section_1_*_1":"Vastaa tehtävään {{questions, range}}.","toc-section_2_*_1":"Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.","toc-section_*_*_*":"Vastaa {{answerCount, range}} tehtävään."},"answer-errors":{"screenshot-too-big":"Ottamasi kuvakaappaus on liian iso. Ota uusi kuvakaappaus pienemmästä osasta näyttöä ja yritä uudelleen.","screenshot-byte-limit-reached":"Kokeesi kuvakaappauksille varattu tila on täyttynyt. (Voit viitata aineistokuviin suoraan ilman kuvakaappausta.)","screenshot-upload-failed":"Kuvan liittäminen ei onnistunut. Kokeile uudestaan.","answer-too-long":"Vastaus on liian pitkä."},"screen-reader":{"answer-begin":"[Vastaus alkaa]","answer-end":"[Vastaus päättyy]","correct-answer":"[Hyväksytty vastaus]"}},ur=or(cr,["exam-total","material","external-material-title","section","references","toc-heading"]),dr={"exam-total":"Total points for the exam",material:"Material","external-material-title":"Material",section:"Part {{displayNumber}}:",references:{heading:"Sources",source:"Source:",date:"Published:","reference-date":"Accessed:",translator:"Translation:","modified-by":"Adaptation:"},"toc-heading":"Contents"},fr={"exam-total":"Total des points",material:"Document",material_plural:"Documents","external-material-title":"Document",section:"Partie {{displayNumber}} :",references:{heading:"Sources",source:"Source :",date:"Publication le","reference-date":"Téléchargement le",translator:"Traduction :","modified-by":"Modifications :"},"toc-heading":"Sommaire"},pr={section:""},hr={"exam-total":"Puntuación total",material:"Material","external-material-title":"Material",section:"Parte {{displayNumber}}:",references:{heading:"Fuentes",source:"Fuente:",date:"Publicado:","reference-date":"Consultado:",translator:"Traducción:","modified-by":"Adaptado:"},"toc-heading":"Contenido"},gr={"exam-total":"Die Prüfung insgesamt",material:"Materialien","external-material-title":"Materialien",section:"Teil {{displayNumber}}:",references:{heading:"Quellen",source:"Quelle:",date:"Veröffentlicht:","reference-date":"Zugriff:",translator:"Übersetzung:","modified-by":"Bearbeitung:"},"toc-heading":"Inhalt"},mr={"exam-total":"Весь экзамен",material:"Материал","external-material-title":"Материал",section:"Часть {{displayNumber}}:",references:{heading:"Источники",source:"Источник",date:"Опубликовано","reference-date":"Дата обращения",translator:"Перевод","modified-by":"Адаптировано"},"toc-heading":"Содержание"},yr={A_E:{"external-material-title":"Aineistot","answering-instructions":{"toc-section_*_1_1":"Aiheet","section_*_1_1":"Valitse yksi aihe."}},BA:lr,BB:lr,CA:ur,CB:ur,EA:dr,EC:dr,FA:fr,FC:fr,GC:{"exam-total":"Totalidade da pontuação",material:"Material","external-material-title":"Material",section:"Parte {{displayNumber}}:",references:{heading:"Fontes",source:"Fonte:",date:"Publicado:","reference-date":"Acedido:",translator:"Tradução:","modified-by":"Adaptação:"},"toc-heading":"Conteúdo"},I:{"exam-total":"Iskos ohtsis",material:"Amnâstuvah","external-material-title":"Amnâstuvah","attachments-page-title":"Amnâstuvah:",section:"Uási {{displayNumber}}:",points:"{{count}} č.",references:{source:"Käldee:",date:"Almostittum:","reference-date":"Čujottum:",translator:"Jurgâlus:","modified-by":"Heiviittâs:"},"answering-instructions":{"toc-section_*_1_1":"Fáádáh","section_*_1_1":"Valjii oovtâ fáádá."},"toc-heading":"Siskáldâs"},M:pr,N:pr,O_E:{"answering-instructions":{"toc-section_*_1_1":"Ämnen","section_*_1_1":"Välj ett ämne."}},SA:gr,SC:gr,PA:hr,PC:hr,TC:{"exam-total":"Punteggio complessivo",material:"Materiale","external-material-title":"Materiale",section:"Parte {{displayNumber}}:",references:{heading:"Fonti",source:"Fonte:",date:"Pubblicato:","reference-date":"Consultato:",translator:"Traduzione:","modified-by":"Adattamento:"},"toc-heading":"Contenuto"},VA:mr,VC:mr,Z:{"exam-total":"Iskkus oktiibuot",material:"Ávdnasat","external-material-title":"Ávdnasat","attachments-page-title":"Ávdnasat:",section:"Oassi {{displayNumber}}:",points:"{{count}} č.",references:{heading:"Gáldut",source:"Gáldu:",date:"Almmuhuvvon:","reference-date":"Vižžojuvvon:",translator:"Jorgalus","modified-by":"Heivehus:"},"answering-instructions":{"toc-section_*_1_1":"Fáttát","section_*_1_1":"Vállje ovtta fáttá."},"toc-heading":"Sisdoallu"}},vr={"fi-FI":{translation:cr,...yr},"sv-FI":{translation:sr,...yr}};function br(e,t,n){const r=t?t+(n?"_"+n:""):"translation";return gt.use({type:"postProcessor",name:"lowercase",process:(e,t,n)=>e.toLocaleLowerCase(n.lng)}).createInstance({resources:vr,lng:e,fallbackLng:"fi-FI",debug:!1,defaultNS:r,fallbackNS:"translation",interpolation:{escapeValue:!1,format:(e,t)=>{switch(t){case"range":{const[t,n]=e;return null==t?n:null==n||t===n?t:`${t}–${n}`}case"first":return mt(e);case"last":return yt(e);default:return e}}}},vt)}function Ir(){const{i18n:e,t:t}=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,i=Object(r.useContext)(p)||{},a=i.i18n,o=i.defaultNS,s=n||a||m();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new g),!s){Tt("You will need to pass in an i18next instance by using initReactI18next");var l=function(e){return Array.isArray(e)?e[e.length-1]:e},c=[l,{},!1];return c.t=l,c.i18n={},c.ready=!1,c}s.options.react&&void 0!==s.options.react.wait&&Tt("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=Et(Et(Et({},h()),s.options.react),t),d=u.useSuspense,f=u.keyPrefix,y=e||o||s.options&&s.options.defaultNS;y="string"==typeof y?[y]:y||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(y);var v=(s.isInitialized||s.initializedStoreOnce)&&y.every((function(e){return At(e,s,u)}));function b(){return s.getFixedT(null,"fallback"===u.nsMode?y:y[0],f)}var I=Object(r.useState)(b),x=It()(I,2),w=x[0],T=x[1],M=Object(r.useRef)(!0);Object(r.useEffect)((function(){var e=u.bindI18n,t=u.bindI18nStore;function n(){M.current&&T(b)}return M.current=!0,v||d||Mt(s,y,(function(){M.current&&T(b)})),e&&s&&s.on(e,n),t&&s&&s.store.on(t,n),function(){M.current=!1,e&&s&&e.split(" ").forEach((function(e){return s.off(e,n)})),t&&s&&t.split(" ").forEach((function(e){return s.store.off(e,n)}))}}),[s,y.join()]);var A=Object(r.useRef)(!0);Object(r.useEffect)((function(){M.current&&!A.current&&T(b),A.current=!1}),[s]);var C=[w,s,v];if(C.t=w,C.i18n=s,C.ready=v,v)return C;if(!v&&!d)return C;throw new Promise((function(e){Mt(s,y,(function(){e()}))}))}(),n=(t,n)=>function(e,t,n){const r=e.t(t,n),a=e.options.defaultNS,o="translation"!==a&&a in yr;return o&&function(e,t,n){return Array.isArray(n)?n.some(n=>null!=e.getResource(e.language,t,n)):null!=e.getResource(e.language,t,n)}(e,a,t)||!o?r:i.a.createElement("span",{lang:e.language},r)}(e,t,n);return n.raw=t,{i18n:e,t:n}}const xr=(e,t)=>()=>{e.language!==t&&e.changeLanguage(t).then(vt).catch(vt)};const wr=new WeakMap;let Tr=0;const Mr=e=>t=>`${e}-${(e=>{const t=wr.get(e);if(null!=t)return t;const n=++Tr;return wr.set(e,n),n})(t)}`,Ar=e=>t=>`${e}-${t}`,Cr=Ar("section-title"),Er=Ar("question-title"),Nr=Mr("question-instruction"),Sr=Mr("answer-length-info"),kr=Mr("external-material-list-title"),jr=Ar("toc-section-title"),Dr=Mr("answer-score"),Lr=Mr("image-caption"),Or=Mr("video-caption"),Pr=Mr("audio-label");function Rr(){const e=decodeURIComponent(window.location.hash).slice(1);if(e){const n=document.getElementById(e);n&&((t=n).setAttribute("tabindex","-1"),t.style.outline="none",t.addEventListener("blur",()=>{t.removeAttribute("tabindex"),t.style.outline=""},{once:!0}),t.focus(),t.scrollIntoView())}var t;return window.addEventListener("hashchange",Rr),()=>window.removeEventListener("hashchange",Rr)}function zr(e){return Object(r.useState)(e)[0]}function _r(e,t){const n=new URL(e,"http://example.com");de(t,(e,t)=>n[t]=e);const r=n.pathname+n.search+n.hash;return e.startsWith("/")?r:r.substr(1)}var Ur=({children:e,href:t,type:n})=>"link"===n?i.a.createElement("a",{href:t,className:"attachment-link e-nowrap",target:"attachments"},e):i.a.createElement("span",{className:"attachment-link e-nowrap"},e);function Zr(e){return e.displayName||e.name||"Component"}const Fr=(e,t)=>n=>{const r=r=>{const a=t(r);return i.a.createElement(e.Provider,{value:a},i.a.createElement(n,{...r}))};return r.displayName="WithContext("+Zr(n)+")",r},Gr=i.a.createContext({});function Br(e){return Fr(Gr,({attachmentsURL:e,resolveAttachment:t,doc:n})=>{const r=n.documentElement,i=ve(r,"date"),a=ve(r,"exam-lang"),o=ve(r,"lang")||a;return{attachmentsURL:e,date:i?new Date(i):void 0,dateTimeFormatter:new Intl.DateTimeFormat("fi-FI",{timeZone:"UTC"}),dayCode:ve(r,"day-code"),examCode:ve(r,"exam-code"),language:a,subjectLanguage:o,maxAnswers:be(r,"max-answers"),maxScore:be(r,"max-score"),sections:ge(r,"section"),resolveAttachment:t,root:r}})(e)}var Yr=e=>i.a.memo(({element:t})=>{const n=t.getAttribute("ref"),{root:a}=Object(r.useContext)(Gr),{attachmentsURL:o}=Object(r.useContext)(Gr),{t:s}=Ir(),l=he(a,e=>"attachment"===e.localName&&e.getAttribute("name")===n).getAttribute("display-number"),c="short"===t.getAttribute("type"),u=_r(o,{hash:l});return c?i.a.createElement(Ur,{href:u,type:e},l):i.a.createElement(i.a.Fragment,null,"(",i.a.createElement(Ur,{href:u,type:e},s("material",{postProcess:"lowercase"})," ",l),")")});var Wr=e=>i.a.memo(({element:t})=>{const{root:n,attachmentsURL:a}=Object(r.useContext)(Gr),{t:o}=Ir(),s=xe(t,e=>{const t=e.getAttribute("ref");return he(n,e=>"attachment"===e.localName&&e.getAttribute("name")===t).getAttribute("display-number")}),l=function(e,t){const n=[[]];let r;for(let i=0;i<e.length;i++){const a=e[i];if(r&&t(a,i,e)){const e=[a];n.push(e)}else{n[n.length-1].push(a)}r=a}return n}(s,(e,t)=>t>0&&!function(e,t){const n=e.length;if(n!==t.length)return!1;return e.startsWith(t.slice(0,n-1))&&t.charCodeAt(n-1)-e.charCodeAt(n-1)==1}(s[t-1],e)),c="short"===t.getAttribute("type"),u=_r(a,{hash:s[0]}),d=l.map(e=>e.length>1?`${e[0]}–${e[e.length-1]}`:e[0]).join(", "),f=l[0].length;return c?i.a.createElement(Ur,{href:u,type:e},d):i.a.createElement(i.a.Fragment,null,"(",i.a.createElement(Ur,{href:u,type:e},o("material",{count:f,postProcess:"lowercase"})," ",d),")")});const Hr=i.a.createContext({}),Vr=Fr(Hr,({element:e})=>{const t=null!=me(e,"external-material"),n=e.getAttribute("name");return t?{displayNumber:e.getAttribute("display-number"),isExternal:t,name:n}:{displayNumber:null,isExternal:t,name:n}});var qr=i.a.memo(Vr((function({element:e,renderChildNodes:t}){const{displayNumber:n,isExternal:a}=Object(r.useContext)(Hr);return a?i.a.createElement("div",{id:n,className:"attachments-attachment e-mrg-0 e-mrg-t-8"},t(e)):null})));var Qr=i.a.memo((function({element:e,renderChildNodes:t}){const{displayNumber:n}=Object(r.useContext)(Hr);return i.a.createElement("h3",null,n," ",t(e))})),Jr=n(2),Xr=n.n(Jr),Kr=i.a.createContext(null);var $r=function(e){e()};function ei(){var e=$r,t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var ti={notify:function(){},get:function(){return[]}};function ni(e,t){var n,r=ti;function i(){o.onStateChange&&o.onStateChange()}function a(){n||(n=t?t.addNestedSub(i):e.subscribe(i),r=ei())}var o={addNestedSub:function(e){return a(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=ti)},getListeners:function(){return r}};return o}var ri="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;var ii=function(e){var t=e.store,n=e.context,a=e.children,o=Object(r.useMemo)((function(){var e=ni(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),s=Object(r.useMemo)((function(){return t.getState()}),[t]);ri((function(){var e=o.subscription;return e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,s]);var l=n||Kr;return i.a.createElement(l.Provider,{value:o},a)};function ai(){return(ai=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function oi(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var si=n(38),li=n.n(si),ci=n(14),ui=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],di=["reactReduxForwardedRef"],fi=[],pi=[null,null];function hi(e,t){var n=e[1];return[t.payload,n+1]}function gi(e,t,n){ri((function(){return e.apply(void 0,t)}),n)}function mi(e,t,n,r,i,a,o){e.current=r,t.current=i,n.current=!1,a.current&&(a.current=null,o())}function yi(e,t,n,r,i,a,o,s,l,c){if(e){var u=!1,d=null,f=function(){if(!u){var e,n,f=t.getState();try{e=r(f,i.current)}catch(e){n=e,d=e}n||(d=null),e===a.current?o.current||l():(a.current=e,s.current=e,o.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var vi=function(){return[null,0]};function bi(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,o=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,s=n.methodName,l=void 0===s?"connectAdvanced":s,c=n.renderCountProp,u=void 0===c?void 0:c,d=n.shouldHandleStateChanges,f=void 0===d||d,p=n.storeKey,h=void 0===p?"store":p,g=(n.withRef,n.forwardRef),m=void 0!==g&&g,y=n.context,v=void 0===y?Kr:y,b=oi(n,ui),I=v;return function(t){var n=t.displayName||t.name||"Component",a=o(n),s=ai({},b,{getDisplayName:o,methodName:l,renderCountProp:u,shouldHandleStateChanges:f,storeKey:h,displayName:a,wrappedComponentName:n,WrappedComponent:t}),c=b.pure;var d=c?r.useMemo:function(e){return e()};function p(n){var a=Object(r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=oi(n,di);return[n.context,e,t]}),[n]),o=a[0],l=a[1],c=a[2],u=Object(r.useMemo)((function(){return o&&o.Consumer&&Object(ci.isContextConsumer)(i.a.createElement(o.Consumer,null))?o:I}),[o,I]),p=Object(r.useContext)(u),h=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(p)&&Boolean(p.store);var g=h?n.store:p.store,m=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,s)}(g)}),[g]),y=Object(r.useMemo)((function(){if(!f)return pi;var e=ni(g,h?null:p.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[g,h,p]),v=y[0],b=y[1],x=Object(r.useMemo)((function(){return h?p:ai({},p,{subscription:v})}),[h,p,v]),w=Object(r.useReducer)(hi,fi,vi),T=w[0][0],M=w[1];if(T&&T.error)throw T.error;var A=Object(r.useRef)(),C=Object(r.useRef)(c),E=Object(r.useRef)(),N=Object(r.useRef)(!1),S=d((function(){return E.current&&c===C.current?E.current:m(g.getState(),c)}),[g,T,c]);gi(mi,[C,A,N,c,S,E,b]),gi(yi,[f,g,v,m,C,A,N,E,b,M],[g,v,m]);var k=Object(r.useMemo)((function(){return i.a.createElement(t,ai({},S,{ref:l}))}),[l,t,S]);return Object(r.useMemo)((function(){return f?i.a.createElement(u.Provider,{value:x},k):k}),[u,k,x])}var g=c?i.a.memo(p):p;if(g.WrappedComponent=t,g.displayName=p.displayName=a,m){var y=i.a.forwardRef((function(e,t){return i.a.createElement(g,ai({},e,{reactReduxForwardedRef:t}))}));return y.displayName=a,y.WrappedComponent=t,li()(y,t)}return li()(g,t)}}function Ii(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function xi(e,t){if(Ii(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!Ii(e[n[i]],t[n[i]]))return!1;return!0}function wi(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Ti(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Mi(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Ti(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=Ti(i),i=r(t,n)),i},r}}var Ai=[function(e){return"function"==typeof e?Mi(e):void 0},function(e){return e?void 0:wi((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?wi((function(t){return function(e,t){var n={},r=function(r){var i=e[r];"function"==typeof i&&(n[r]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)r(i);return n}(e,t)})):void 0}];var Ci=[function(e){return"function"==typeof e?Mi(e):void 0},function(e){return e?void 0:wi((function(){return{}}))}];function Ei(e,t,n){return ai({},n,e,t)}var Ni=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,a=n.areMergedPropsEqual,o=!1;return function(t,n,s){var l=e(t,n,s);return o?i&&a(l,r)||(r=l):(o=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return Ei}}];var Si=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function ki(e,t,n,r){return function(i,a){return n(e(i,a),t(r,a),a)}}function ji(e,t,n,r,i){var a,o,s,l,c,u=i.areStatesEqual,d=i.areOwnPropsEqual,f=i.areStatePropsEqual,p=!1;function h(i,p){var h,g,m=!d(p,o),y=!u(i,a);return a=i,o=p,m&&y?(s=e(a,o),t.dependsOnOwnProps&&(l=t(r,o)),c=n(s,l,o)):m?(e.dependsOnOwnProps&&(s=e(a,o)),t.dependsOnOwnProps&&(l=t(r,o)),c=n(s,l,o)):y?(h=e(a,o),g=!f(h,s),s=h,g&&(c=n(s,l,o)),c):c}return function(i,u){return p?h(i,u):(s=e(a=i,o=u),l=t(r,o),c=n(s,l,o),p=!0,c)}}function Di(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,a=oi(t,Si),o=n(e,a),s=r(e,a),l=i(e,a);return(a.pure?ji:ki)(o,s,l,e,a)}var Li=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Oi(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function Pi(e,t){return e===t}function Ri(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?bi:n,i=t.mapStateToPropsFactories,a=void 0===i?Ci:i,o=t.mapDispatchToPropsFactories,s=void 0===o?Ai:o,l=t.mergePropsFactories,c=void 0===l?Ni:l,u=t.selectorFactory,d=void 0===u?Di:u;return function(e,t,n,i){void 0===i&&(i={});var o=i,l=o.pure,u=void 0===l||l,f=o.areStatesEqual,p=void 0===f?Pi:f,h=o.areOwnPropsEqual,g=void 0===h?xi:h,m=o.areStatePropsEqual,y=void 0===m?xi:m,v=o.areMergedPropsEqual,b=void 0===v?xi:v,I=oi(o,Li),x=Oi(e,a,"mapStateToProps"),w=Oi(t,s,"mapDispatchToProps"),T=Oi(n,c,"mergeProps");return r(d,ai({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:w,initMergeProps:T,pure:u,areStatesEqual:p,areOwnPropsEqual:g,areStatePropsEqual:y,areMergedPropsEqual:b},I))}}var zi=Ri();function _i(){return Object(r.useContext)(Kr)}function Ui(e){void 0===e&&(e=Kr);var t=e===Kr?_i:function(){return Object(r.useContext)(e)};return function(){return t().store}}var Zi=Ui();function Fi(e){void 0===e&&(e=Kr);var t=e===Kr?Zi:Ui(e);return function(){return t().dispatch}}var Gi=Fi(),Bi=function(e,t){return e===t};function Yi(e){void 0===e&&(e=Kr);var t=e===Kr?_i:function(){return Object(r.useContext)(e)};return function(e,n){void 0===n&&(n=Bi);var i=t(),a=function(e,t,n,i){var a,o=Object(r.useReducer)((function(e){return e+1}),0)[1],s=Object(r.useMemo)((function(){return ni(n,i)}),[n,i]),l=Object(r.useRef)(),c=Object(r.useRef)(),u=Object(r.useRef)(),d=Object(r.useRef)(),f=n.getState();try{if(e!==c.current||f!==u.current||l.current){var p=e(f);a=void 0!==d.current&&t(p,d.current)?d.current:p}else a=d.current}catch(e){throw l.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),e}return ri((function(){c.current=e,u.current=f,d.current=a,l.current=void 0})),ri((function(){function e(){try{var e=n.getState();if(e===u.current)return;var r=c.current(e);if(t(r,d.current))return;d.current=r,u.current=e}catch(e){l.current=e}o()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[n,s]),a}(e,n,i.store,i.subscription);return Object(r.useDebugValue)(a),a}}var Wi,Hi=Yi(),Vi=n(7);Wi=Vi.unstable_batchedUpdates,$r=Wi;var qi=function(e,t,n){var r=null==e?void 0:Rn(e,t);return void 0===r?n:r};const Qi=(e,t)=>n=>{const{nowPlaying:r}=n.audio;return null==r?"stopped":r.audio.restrictedAudioId===t&&r.audio.src===e?"playing":"other-playing"},Ji=(e,t)=>n=>n.audio.errors[null!=t?t:e],Xi=e=>t=>qi(t.audio.playbackTimes,e,0),Ki=(e,t)=>n=>t-Xi(e)(n),$i=e=>{const{serverQuestionIds:t,savedQuestionIds:n,answersById:r}=e.answers;return 0===t.size?"initial":t.size!==n.size||function(e,t){for(const n in t)if(!e.has(Number(n)))return!0;return!1}
95
87
  /*!
96
88
  * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
97
89
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
98
- */(t,r)?"saving":"saved"};var na={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]},ra={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]},ia={prefix:"fas",iconName:"exclamation-triangle",icon:[576,512,[],"f071","M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]},aa={prefix:"fas",iconName:"eye",icon:[576,512,[],"f06e","M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"]},oa={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"]},sa={prefix:"fas",iconName:"info-circle",icon:[512,512,[],"f05a","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]},la={prefix:"fas",iconName:"play",icon:[448,512,[],"f04b","M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"]},ca=n(15);function ua(e){return(ua="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function da(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fa(Object(n),!0).forEach((function(t){da(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ha(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ga(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ma(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}function ya(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=ma(t.slice(0,r)),a=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[i]=a,e}),{})}var va=!1;try{va=!0}catch(e){}function ba(e){return e&&"object"===ua(e)&&e.prefix&&e.iconName&&e.icon?e:ca.b.icon?ca.b.icon(e):null===e?null:e&&"object"===ua(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Ia(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?da({},e,t):{}}function xa(e){var t=e.forwardedRef,n=ha(e,["forwardedRef"]),r=n.icon,i=n.mask,a=n.symbol,o=n.className,s=n.title,l=n.titleId,c=ba(r),u=Ia("classes",[].concat(ga(function(e){var t,n=e.spin,r=e.pulse,i=e.fixedWidth,a=e.inverse,o=e.border,s=e.listItem,l=e.flip,c=e.size,u=e.rotation,d=e.pull,f=(da(t={"fa-spin":n,"fa-pulse":r,"fa-fw":i,"fa-inverse":a,"fa-border":o,"fa-li":s,"fa-flip-horizontal":"horizontal"===l||"both"===l,"fa-flip-vertical":"vertical"===l||"both"===l},"fa-".concat(c),null!=c),da(t,"fa-rotate-".concat(u),null!=u&&0!==u),da(t,"fa-pull-".concat(d),null!=d),da(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(f).map((function(e){return f[e]?e:null})).filter((function(e){return e}))}(n)),ga(o.split(" ")))),d=Ia("transform","string"==typeof n.transform?ca.b.transform(n.transform):n.transform),f=Ia("mask",ba(i)),p=Object(ca.a)(c,pa({},u,{},d,{},f,{symbol:a,title:s,titleId:l}));if(!p)return function(){var e;!va&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var h=p.abstract,g={ref:t};return Object.keys(n).forEach((function(e){xa.defaultProps.hasOwnProperty(e)||(g[e]=n[e])})),wa(h[0],g)}xa.displayName="FontAwesomeIcon",xa.propTypes={border:$r.a.bool,className:$r.a.string,mask:$r.a.oneOfType([$r.a.object,$r.a.array,$r.a.string]),fixedWidth:$r.a.bool,inverse:$r.a.bool,flip:$r.a.oneOf(["horizontal","vertical","both"]),icon:$r.a.oneOfType([$r.a.object,$r.a.array,$r.a.string]),listItem:$r.a.bool,pull:$r.a.oneOf(["right","left"]),pulse:$r.a.bool,rotation:$r.a.oneOf([0,90,180,270]),size:$r.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:$r.a.bool,symbol:$r.a.oneOfType([$r.a.bool,$r.a.string]),title:$r.a.string,transform:$r.a.oneOfType([$r.a.string,$r.a.object]),swapOpacity:$r.a.bool},xa.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var wa=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=ya(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[ma(t)]=r}return e}),{attrs:{}}),o=r.style,s=void 0===o?{}:o,l=ha(r,["style"]);return a.attrs.style=pa({},a.attrs.style,{},s),t.apply(void 0,[n.tag,pa({},a.attrs,{},l)].concat(ga(i)))}.bind(null,i.a.createElement),Ta=!("undefined"==typeof window||!window.document||!window.document.createElement),Ma=(new Date).getTime();var Aa=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-Ma)),r=setTimeout(e,n);return Ma=t,r},Ca=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};Ta&&["","webkit","moz","o","ms"].some((function(e){var t=Ca(e,"request");return t in window&&(Ca(e,"cancel"),Aa=function(e){return window[t](e)}),!!Aa}));var Ea=Aa;function Na(e,t){e.classList?e.classList.add(t):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function Sa(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function ka(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=Sa(e.className,t):e.setAttribute("class",Sa(e.className&&e.className.baseVal||"",t))}function ja(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}var Da=/([A-Z])/g;var La=/^ms-/;function Oa(e){return function(e){return e.replace(Da,"-$1").toLowerCase()}(e).replace(La,"-ms-")}var Pa=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;var Ra=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(Oa(t))||function(e,t){return ja(e).getComputedStyle(e,t)}(e).getPropertyValue(Oa(t));Object.keys(t).forEach((function(i){var a=t[i];a||0===a?!function(e){return!(!e||!Pa.test(e))}(i)?n+=Oa(i)+": "+a+";":r+=i+"("+a+") ":e.style.removeProperty(Oa(i))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n},za=!1,_a=!1;try{var Ua={get passive(){return za=!0},get once(){return _a=za=!0}};Ta&&(window.addEventListener("test",Ua,Ua),window.removeEventListener("test",Ua,!0))}catch(e){}var Fa=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!_a){var i=r.once,a=r.capture,o=n;!_a&&i&&(o=n.__once||function e(r){this.removeEventListener(t,e,a),n.call(this,r)},n.__once=o),e.addEventListener(t,o,za?r:a)}e.addEventListener(t,n,r)};var Za=function(e,t,n,r){var i=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)};var Ga=function(e,t,n,r){return Fa(e,t,n,r),function(){Za(e,t,n,r)}};function Ba(e,t,n){void 0===n&&(n=5);var r=!1,i=setTimeout((function(){r||function(e){var t=document.createEvent("HTMLEvents");t.initEvent("transitionend",!0,!0),e.dispatchEvent(t)}(e)}),t+n),a=Ga(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(i),a()}}function Ya(e,t,n,r){var i,a;null==n&&(i=Ra(e,"transitionDuration")||"",a=-1===i.indexOf("ms")?1e3:1,n=parseFloat(i)*a||0);var o=Ba(e,n,r),s=Ga(e,"transitionend",t);return function(){o(),s()}}function Wa(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(!e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}var Ha=$r.a.oneOfType([$r.a.string,$r.a.shape({enter:$r.a.string,leave:$r.a.string,active:$r.a.string,height:$r.a.string}),$r.a.shape({enter:$r.a.string,enterActive:$r.a.string,leave:$r.a.string,leaveActive:$r.a.string,appear:$r.a.string,appearActive:$r.a.string,height:$r.a.string,heightActive:$r.a.string})]);function Va(e){return(Va="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ja(e,t){return(Ja=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=eo(e);if(t){var i=eo(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ka(this,n)}}function Ka(e,t){return!t||"object"!==Va(t)&&"function"!=typeof t?$a(e):t}function $a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eo(e){return(eo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function to(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var no=[];Ya&&no.push(Ya);var ro={children:$r.a.node,name:Ha.isRequired,appear:$r.a.bool,enter:$r.a.bool,leave:$r.a.bool,appearTimeout:$r.a.number,enterTimeout:$r.a.number,leaveTimeout:$r.a.number},io=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ja(e,t)}(o,e);var t,n,r,a=Xa(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),to($a(t=a.call(this,e)),"componentWillAppear",(function(e){t.props.appear?t.transition("appear",e,t.props.appearTimeout):e()})),to($a(t),"componentWillEnter",(function(e){t.props.enter?t.transition("enter",e,t.props.enterTimeout):e()})),to($a(t),"componentWillLeave",(function(e){t.props.leave?t.transition("leave",e,t.props.leaveTimeout):e()})),t.classNameAndNodeQueue=[],t.transitionTimeouts=[],t}return t=o,(n=[{key:"componentWillUnmount",value:function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)})),this.classNameAndNodeQueue.length=0}},{key:"transition",value:function(e,t,n){var r=Object(Qi.findDOMNode)(this);if(r){var i,a=this.props.name[e]||this.props.name+"-"+e,o=this.props.name[e+"Active"]||a+"-active",s=null;Na(r,a),this.queueClassAndNode(o,r);var l=function(e){e&&e.target!==r||(clearTimeout(s),i&&i(),ka(r,a),ka(r,o),i&&i(),t&&t())};n?(s=setTimeout(l,n),this.transitionTimeouts.push(s)):Ya&&(i=function(e,t){return no.length?no.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){no.length&&no.forEach((function(n){return e.removeEventListener(n,t,!1)}))}}(r,l))}else t&&t()}},{key:"queueClassAndNode",value:function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=Ea((function(){return n.flushClassNameAndNodeQueueOnNextFrame()})))}},{key:"flushClassNameAndNodeQueueOnNextFrame",value:function(){var e=this;this.rafHandle=Ea((function(){return e.flushClassNameAndNodeQueue()}))}},{key:"flushClassNameAndNodeQueue",value:function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,Na(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null}},{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(n),!0).forEach((function(t){to(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,i.a.cloneElement(i.a.Children.only(this.props.children),e)}}])&&Qa(t.prototype,n),r&&Qa(t,r),o}(i.a.Component);to(io,"displayName","CSSTransitionGroupChild"),io.propTypes=ro;var ao=io;function oo(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function so(e){return(so="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function co(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(n),!0).forEach((function(t){yo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fo(e,t){return(fo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function po(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mo(e);if(t){var i=mo(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ho(this,n)}}function ho(e,t){return!t||"object"!==so(t)&&"function"!=typeof t?go(e):t}function go(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mo(e){return(mo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function yo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fo(e,t)}(o,e);var t,n,r,a=po(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),yo(go(t=a.call(this,e)),"handleDoneAppearing",(function(e){delete t.transitioningKeys[e],e!==t.state.currentKey&&t.performLeave(e)})),yo(go(t),"performLeave",(function(e){t.transitioningKeys[e]=!0,t.childRefs[e].componentWillLeave(t.handleDoneLeaving.bind(go(t),e)),t.state.currentChild&&Object(Qi.findDOMNode)(t.childRefs[t.state.currentKey])||t.enqueueHeightTransition()})),yo(go(t),"performHeightTransition",(function(){if(!t.unmounted){var e=go(t).state,n=e.currentChild?Object(Qi.findDOMNode)(t.childRefs[e.currentKey]):null;t.setState({height:n?n.offsetHeight:0,width:t.props.changeWidth?n?n.offsetWidth:0:null})}t.rafHandle=null})),t.childRefs=Object.create(null),t.state={currentKey:"1",currentChild:t.props.children?i.a.Children.only(t.props.children):void 0,prevChildren:{},height:null,width:null},t.shouldEnterCurrent=!1,t.keysToLeave=[],t.transitioningKeys={},t}return t=o,(n=[{key:"componentDidMount",value:function(){this.props.transitionAppear&&this.state.currentChild&&this.performAppear(this.state.currentKey)}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.children?i.a.Children.only(e.children):void 0,n=this.state.currentChild;if(n&&t&&t.key===n.key&&!this.state.nextChild)return this.setState({currentChild:t});var r=this.state,a=r.currentKey,o=r.prevChildren,s={currentKey:String(Number(a)+1),currentChild:t,height:0,width:this.props.changeWidth?0:null};if(t&&(this.shouldEnterCurrent=!0),n){var l=Object(Qi.findDOMNode)(this.childRefs[a]);s.height=l?l.offsetHeight:0,s.width=this.props.changeWidth?l?l.offsetWidth:0:null,s.prevChildren=co(co({},o),{},yo({},a,n)),this.transitioningKeys[a]||this.keysToLeave.push(a)}this.setState(s)}},{key:"componentDidUpdate",value:function(){this.shouldEnterCurrent&&(this.shouldEnterCurrent=!1,Object(Qi.findDOMNode)(this.childRefs[this.state.currentKey])&&this.performEnter(this.state.currentKey));var e=this.keysToLeave;this.keysToLeave=[],e.forEach(this.performLeave)}},{key:"performAppear",value:function(e){this.transitioningKeys[e]=!0,this.childRefs[e].componentWillAppear(this.handleDoneAppearing.bind(this,e))}},{key:"performEnter",value:function(e){this.transitioningKeys[e]=!0,this.childRefs[e].componentWillEnter(this.handleDoneEntering.bind(this,e)),this.enqueueHeightTransition()}},{key:"handleDoneEntering",value:function(e){delete this.transitioningKeys[e],e===this.state.currentKey?this.setState({height:null}):this.performLeave(e)}},{key:"handleDoneLeaving",value:function(e){delete this.transitioningKeys[e];var t={prevChildren:co({},this.state.prevChildren)};delete t.prevChildren[e],delete this.childRefs[e],this.state.currentChild&&Object(Qi.findDOMNode)(this.childRefs[this.state.currentKey])||(t.height=null),this.setState(t)}},{key:"enqueueHeightTransition",value:function(){this.rafHandle||(this.rafHandle=Ea(this.performHeightTransition))}},{key:"wrapChild",value:function(e,t){var n=this.props.transitionName;return"object"===so(n)&&null!==n&&delete(n=co({},n)).height,i.a.createElement(ao,co({name:n,appear:this.props.transitionAppear,enter:this.props.transitionEnter,leave:this.props.transitionLeave,appearTimeout:this.props.transitionAppearTimeout,enterTimeout:this.props.transitionEnterTimeout,leaveTimeout:this.props.transitionLeaveTimeout},t),e)}},{key:"render",value:function(){var e=this,t=this.state,n=t.currentKey,r=t.currentChild,a=t.prevChildren,o=t.height,s=t.width,l=[],c=this.props,u=c.overflowHidden,d=c.transitionName,f=c.component,p=c.childComponent,h=c.notifyLeaving,g=(c.transitionAppear,c.transitionEnter,c.transitionLeave,c.changeWidth,c.transitionAppearTimeout,c.transitionEnterTimeout,c.transitionLeaveTimeout,oo(c,["overflowHidden","transitionName","component","childComponent","notifyLeaving","transitionAppear","transitionEnter","transitionLeave","changeWidth","transitionAppearTimeout","transitionEnterTimeout","transitionLeaveTimeout"])),m=this.shouldEnterCurrent||this.keysToLeave.length||Object.keys(this.transitioningKeys).length;if(g.style=co({},g.style),m&&(g.style.position="relative",u&&(g.style.overflow="hidden")),null!==o){var y="string"==typeof d?"".concat(d,"-height"):d&&d.height||"";g.className="".concat(g.className||""," ").concat(y),g.style.height=o}null!==s&&(g.style.width=s);var v={position:"absolute",top:0,left:0,right:0,bottom:0,userSelect:"none"};return Object.keys(a).forEach((function(t){var n=a[t];l.push(i.a.createElement(p,{key:t,style:v},e.wrapChild(h&&"string"!=typeof n.type?i.a.cloneElement(n,{isLeaving:!0}):n,{ref:function(n){return e.childRefs[t]=n}})))})),r&&l.push(i.a.createElement(p,{key:n,style:this.transitioningKeys[n]?v:m?{position:"relative"}:null},this.wrapChild(r,{ref:function(t){return e.childRefs[n]=t}}))),i.a.createElement(f,g,l)}}])&&uo(t.prototype,n),r&&uo(t,r),o}(i.a.Component);yo(vo,"displayName","ReactCSSTransitionReplace"),yo(vo,"propTypes",{transitionName:Ha.isRequired,transitionAppear:$r.a.bool,transitionEnter:$r.a.bool,transitionLeave:$r.a.bool,transitionAppearTimeout:Wa("Appear"),transitionEnterTimeout:Wa("Enter"),transitionLeaveTimeout:Wa("Leave"),overflowHidden:$r.a.bool,changeWidth:$r.a.bool,notifyLeaving:$r.a.bool}),yo(vo,"defaultProps",{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0,overflowHidden:!0,changeWidth:!1,notifyLeaving:!1,component:"div",childComponent:"span"});var bo=({error:e,children:t})=>{const{t:n}=Ir();return i.a.createElement(vo,{transitionName:"e-crossfade",transitionEnterTimeout:500,transitionLeaveTimeout:500},null!=e?i.a.createElement("div",{className:"e-color-error",role:"alert"},i.a.createElement(xa,{icon:ia,className:"e-mrg-r-1"}),n("audio-errors."+e)):i.a.createElement("div",{key:"no-error"},t))},Io=n(5);const xo=e=>Object(Io.action)("PLAY_AUDIO",e),wo=e=>Object(Io.action)("UPDATE_REMAINING",e);var To=i.a.memo((function({src:e,restrictedAudioId:t,duration:n,times:r,labelId:a}){const o=qi(Xi(e,t)),s=qi(((e,t)=>n=>"playing"===Xi(e,t)(n)?n.audio.nowPlaying.durationRemaining:void 0)(e,t)),l=qi(ea(t,r)),{i18n:c}=Ir(),u=Yi(),d="playing"===o,f="stopped"===o,p=!f||0===l,h="audio-remaining-"+t,g=d?[]:[h,a];return i.a.createElement("div",{className:Xr()("restricted-audio-player e-column e-column--narrow e-columns e-columns--inline e-columns--center-v e-pad-1",{"restricted-audio-player--disabled":p}),lang:c.language},i.a.createElement("button",{className:Xr()("restricted-audio-player__play e-column e-column--narrow",{"restricted-audio-player__play--playing":d}),disabled:p,onClick:()=>f&&u(xo({src:e,restrictedAudioId:t,duration:n})),"aria-labelledby":g.join(" ")},!d&&i.a.createElement(xa,{icon:la,fixedWidth:!0})),i.a.createElement("span",{className:"restricted-audio-player__duration e-column e-text-right",id:h},function(e){const t=Math.floor(e/60),n=e%60;return Mo(t)+":"+Mo(n)}(null!=s?s:n)))}));function Mo(e){return e.toString().padStart(2,"0")}var Ao=i.a.memo((function({element:e,className:t,renderChildNodes:n}){const a=e.getAttribute("src"),o=be(e,"restricted-audio-id"),s=be(e,"times"),l=be(e,"duration"),{t:c}=Ir(),u=null!=s&&null!=o?qi(Ki(a,o)):void 0,d=null!=s&&null!=o?qi(ea(o,s)):void 0,{resolveAttachment:f}=Object(r.useContext)(Gr),p=Pr(e);return i.a.createElement("div",{className:Xr()("audio e-columns e-columns--center-v e-mrg-b-2",t)},null!=o&&null!=s?i.a.createElement(To,{src:a,restrictedAudioId:o,duration:l,times:s,labelId:p}):i.a.createElement("audio",{className:"e-column e-column--narrow","aria-describedby":p,preload:"metadata",controls:!0,controlsList:"nodownload"},i.a.createElement("source",{src:f(a)})),i.a.createElement("div",{className:"e-column",id:p},i.a.createElement(bo,{error:u},n(e)),null!=d&&i.a.createElement("em",null,c("listen-times-remaining",{count:d}))))}));const Co=Ae({attachment:Vr((function({element:e}){const{displayNumber:t}=Object(r.useContext)(Hr);return i.a.createElement("li",{"data-list-number":t,"aria-label":t},Co(e,1))})),"attachment-title":function({element:e}){const{attachmentsURL:t}=Object(r.useContext)(Gr),{displayNumber:n}=Object(r.useContext)(Hr);return i.a.createElement("a",{href:_r(t,{hash:n}),className:"exam-attachment-title",target:"attachments"},Co(e))}});var Eo=i.a.memo((function({element:e,showTitle:t=!0,forceRender:n=!1}){if(null==me(e,"question")&&!n)return null;const{t:r}=Ir(),a=kr(e);return i.a.createElement("div",{className:"external-material-list e-mrg-b-4"},t&&i.a.createElement("div",{className:"e-font-size-l e-semibold",id:a},r("external-material-title")),i.a.createElement("ol",{className:"e-list-data e-pad-l-0 e-mrg-0","aria-labelledby":a},Co(e)))}));var No=i.a.memo((function({element:e,className:t,renderChildNodes:n}){const a=e.getAttribute("src"),o=e.hasChildNodes(),{resolveAttachment:s}=Object(r.useContext)(Gr);return i.a.createElement("a",{className:Xr()("file e-nowrap",t),href:s(a),download:!0},o?i.a.createElement(i.a.Fragment,null,n(e)," (",a,")"):a)}));var So=i.a.memo((function({element:e,className:t}){const n=ve(e,"svg"),r=ve(e,"assistive-title"),a="display"===ve(e,"mode");return i.a.createElement(i.a.Fragment,null,i.a.createElement("span",{className:Xr()("e-formula",{"e-block e-text-center":a},t),dangerouslySetInnerHTML:{__html:n},"aria-hidden":"true"}),i.a.createElement("span",{className:"e-screen-reader-only"},r||e.textContent))}));var ko=({bordered:e=!1,className:t,children:n,height:r,width:a,caption:o,captionId:s})=>{const l=r/a*100+"%",c=a+(e?18:0);return i.a.createElement("span",{className:Xr()("responsive-media-container",{"responsive-media-container--bordered":e},t),style:{maxWidth:c}},i.a.createElement("span",{className:"responsive-media-container__inner",style:{paddingBottom:l}},n),o&&i.a.createElement("span",{className:"e-color-darkgrey e-block e-mrg-t-1 e-font-size-s e-light",id:s},o))};function jo(e){return"string"==typeof e&&0===e.trim().length}var Do=i.a.memo((function({element:e,className:t,renderChildNodes:n}){const{resolveAttachment:a}=Object(r.useContext)(Gr),{t:o}=Ir(),s=ve(e,"src"),l=be(e,"width"),c=be(e,"height"),u=ye(e,"image-title"),d=u&&n(u),f=null!=d&&!d.every(jo),p=f?d:void 0,h=f?Lr(e):void 0,g=a(s),m=i.a.createElement("img",{className:"e-image",src:g,alt:"","aria-labelledby":h});return i.a.createElement(i.a.Fragment,null,i.a.createElement(ko,{className:t,width:l,height:c,caption:p,captionId:h,bordered:f||null!=me(e,"choice-answer")},null!=me(e,["choice-answer","hint"])?m:i.a.createElement("a",{title:o.raw("zoom-in"),href:g,target:"original-picture",className:"e-zoomable","aria-hidden":!f,tabIndex:-1},m)))}));var Lo=function({element:e,renderChildNodes:t}){const n=t(e);return 0===n.length?null:i.a.createElement(i.a.Fragment,null,n)};function Oo({element:e,renderChildNodes:t}){return i.a.createElement("em",null,t(e))}function Po({element:e,renderChildNodes:t}){return i.a.createElement("a",{href:e.textContent,target:"_blank",rel:"noreferrer"},t(e))}function Ro({element:e}){const t=e.textContent;if(/^[0-9]{4}$/.test(t))return i.a.createElement(i.a.Fragment,null,t);{const e=new Date(t.trim()),{dateTimeFormatter:n}=Object(r.useContext)(Gr);return i.a.createElement(i.a.Fragment,null,n.format(e))}}var zo=i.a.memo((function({element:e,renderChildNodes:t}){const{t:n}=Ir();function r(n,r){const a=ye(e,n);if(a){const e=a.localName,n=i.a.createElement(r,{element:a,renderChildNodes:t,key:e});if(n){return Ie(a,"hidden")?i.a.createElement("del",{key:e},n):n}}}function a(r,a,o){const s=ye(e,r);return s&&i.a.createElement(i.a.Fragment,{key:s.localName},n(a)," ",i.a.createElement(o,{element:s,renderChildNodes:t,key:s.localName}))}return i.a.createElement("span",{className:Xr()("e-break-word",{"e-line-through":Ie(e,"hidden")})},n("references.source")," ",(o=". ",(s=[r("author",Lo),r("title",Oo),r("publisher",Lo),r("publication",Lo),r("howpublished",Lo),r("url",Po),a("publication-date","references.date",Ro),a("reference-date","references.reference-date",Ro),a("translator","references.translator",Lo),a("modified-by","references.modified-by",Lo),r("note",Lo)]).filter(Boolean).reduce((e,t,n)=>(e.push(t),n!==s.length-1&&e.push(o),e),[])));var o,s}));var _o=i.a.memo((function({element:e,renderChildNodes:t,className:n}){const{resolveAttachment:a}=Object(r.useContext)(Gr),o=ve(e,"src"),s=be(e,"width"),l=be(e,"height"),c=ye(e,"video-title"),u=c&&t(c),d=null!=u&&!u.every(jo),f=d?u:void 0,p=d?Or(e):void 0;return i.a.createElement(ko,{caption:f,captionId:p,className:n,width:s,height:l},i.a.createElement("video",{className:"video",preload:"metadata",controls:!0,controlsList:"nodownload",disablePictureInPicture:!0,"aria-describedby":p},i.a.createElement("source",{src:a(o)})))})),Uo=/\s/;var Fo=function(e){for(var t=e.length;t--&&Uo.test(e.charAt(t)););return t},Zo=/^\s+/;var Go=function(e){return e?e.slice(0,Fo(e)+1).replace(Zo,""):e},Bo=/^[-+]0x[0-9a-f]+$/i,Yo=/^0b[01]+$/i,Wo=/^0o[0-7]+$/i,Ho=parseInt;var Vo=function(e){if("number"==typeof e)return e;if(Nt(e))return NaN;if(re(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=re(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Go(e);var n=Yo.test(e);return n||Wo.test(e)?Ho(e.slice(2),n?2:8):Bo.test(e)?NaN:+e};var qo=function(e){return e?(e=Vo(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var Qo=function(e){var t=qo(e),n=t%1;return t==t?n?t-n:t:0},Jo=Math.min;var Xo=function(e,t){if((e=Qo(e))<1||e>9007199254740991)return[];var n=4294967295,r=Jo(e,4294967295);t=ue(t),e-=4294967295;for(var i=I(r,t);++n<e;)t(n);return i};function Ko({opacity:e,setOpacity:t,element:n,renderChildNodes:r}){const a=ye(n,"image-title");return i.a.createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-1"},i.a.createElement("div",{className:"e-column e-text-right e-mrg-r-1"},a&&r(a)),i.a.createElement(xa,{icon:oa,className:"e-mrg-r-1 e-pointer",onClick:()=>t(0)}),i.a.createElement("input",{type:"range",min:0,max:1,step:.01,value:e,onChange:e=>t(Number(e.target.value))}),i.a.createElement(xa,{icon:aa,className:"e-mrg-l-1 e-pointer",onClick:()=>t(1)}))}function $o({element:e,absolute:t,opacity:n}){const a=e.getAttribute("src"),o=be(e,"width"),s=be(e,"height"),l=Object(r.useContext)(Gr).resolveAttachment(a);return i.a.createElement("div",{className:Xr()("e-columns e-columns--center-h",{"e-image-overlay__image-absolute":t}),style:{opacity:n}},i.a.createElement(ko,{width:o,height:s},i.a.createElement("img",{className:"e-image",src:l})))}var es=i.a.memo((function({element:e,renderChildNodes:t}){const[n,a]=Object(r.useState)(()=>Xo(e.children.length,e=>0===e?1:0)),o=e=>t=>{const r=[...n];r[e]=t,a(r)};return i.a.createElement("div",{className:"e-image-overlay e-mrg-b-1"},i.a.createElement("div",{className:"e-columns e-columns--center-h"},i.a.createElement("div",null,xe(e,(e,r)=>i.a.createElement(Ko,{key:r,opacity:n[r],element:e,setOpacity:o(r),renderChildNodes:t})))),i.a.createElement("div",null,i.a.createElement("div",{className:"e-image-overlay__images-wrapper"},xe(e,(e,r)=>i.a.createElement($o,{key:r,element:e,renderChildNodes:t,opacity:n[r],absolute:r>0})))))}));const ts=Ae({"attachment-link":Yr("link"),"attachment-links":Wr("link"),"attachment-title":Qr,attachment:qr,audio:Ao,"audio-title":Lo,file:No,image:Do,video:_o,formula:So,reference:function(e,t,n){const r=r=>{const a=t;return i.a.createElement(a,{...n},i.a.createElement(e,{...r}))};return r.displayName="Surround("+Fr(e)+")",r}(zo,"div",{className:"e-color-darkgrey e-mrg-y-2 e-font-size-s e-light"}),"image-overlay":es});var ns=i.a.memo((function({element:e,forceRender:t=!1}){if(null==me(e,"question")&&!t)return null;const n=e.children.length;return i.a.createElement(i.a.Fragment,null,n>1&&i.a.createElement(Eo,{element:e,renderChildNodes:ts,showTitle:!1,forceRender:t}),ts(e))}));const rs=i.a.createContext({}),is=Zr(rs,({element:e})=>{const t=ge(e,"question",!1),n=t.length?[]:ge(e,["text-answer","scored-text-answer","dropdown-answer","choice-answer"],!1),r=ge(e,"question-instruction",!1),i=e.getAttribute("display-number"),a=r.length>0?r.map(Nr).join(" "):Er(i);return{answers:n,displayNumber:i,hasExternalMaterial:null!=ye(e,"external-material"),maxAnswers:be(e,"max-answers"),maxScore:be(e,"max-score"),level:fe(e,"question").length,childQuestions:t,questionLabelIds:a}});var as=e=>{const t=Xr()("e-section e-bg-color-off-white e-pad-6",e.className);return i.a.createElement("section",{...e,className:t},e.children)};var os=i.a.memo(is((function({element:e,renderChildNodes:t}){const{displayNumber:n,hasExternalMaterial:a,level:o}=Object(r.useContext)(rs);return function(e,t,n){return t&&(0===n||fe(e).every(e=>"question"!==e.localName||!ye(e,"external-material")))}(e,a,o)?i.a.createElement(as,{id:n,"aria-labelledby":Er(n)},t(e,1)):i.a.createElement(i.a.Fragment,null,t(e,1))})));function ss(e){return e.includes(".")?e:e+"."}var ls=i.a.memo((function({element:e,renderChildNodes:t}){const{displayNumber:n,hasExternalMaterial:a}=Object(r.useContext)(rs);return a?i.a.createElement("h2",{id:Er(n)},ss(n)," ",t(e)):null}));var cs=i.a.memo(e=>{const t=Object(r.useRef)(null);return Object(r.useLayoutEffect)(()=>{t.current&&(document.title=t.current.textContent)}),i.a.createElement("h1",{...e,ref:t})});const us=i.a.createContext({}),ds=Zr(us,e=>{const{casCountdownDuration:t,examServerApi:n}=e;return{casCountdownDuration:t||60,examServerApi:n}});var fs=i.a.memo((function({element:e,renderChildNodes:t}){return i.a.createElement(i.a.Fragment,null,t(e,1))}));const ps=i.a.createContext({}),hs=Zr(ps,({element:e})=>({casForbidden:Ie(e,"cas-forbidden"),displayNumber:e.getAttribute("display-number"),maxAnswers:be(e,"max-answers"),minAnswers:be(e,"min-answers"),maxScore:be(e,"max-score"),childQuestions:xe(e,e=>e).filter(e=>"question"===e.localName)})),gs=Ae({"audio-group":fs,"external-material":ns,"question-title":ls,question:os,section:hs(Lo)}),ms=()=>{const{t:e}=Ir();return i.a.createElement(i.a.Fragment,null,e("attachments-page-title"))};var ys=i.a.memo(ds(Br(()=>{const{root:e,language:t,date:n,dateTimeFormatter:a,dayCode:o,examCode:s,resolveAttachment:l,subjectLanguage:c}=Object(r.useContext)(Gr),u=ye(e,"exam-title"),d=e.getAttribute("exam-stylesheet"),f=ye(e,"external-material"),p=zr(()=>br(t,s,o));return Object(r.useEffect)(xr(p,t)),Object(r.useEffect)(Rr,[]),i.a.createElement(y,{i18n:p},i.a.createElement("main",{className:"e-exam attachments",lang:c,"aria-labelledby":"title"},i.a.createElement(i.a.StrictMode,null),d&&i.a.createElement("link",{rel:"stylesheet",href:l(d)}),i.a.createElement(as,{"aria-labelledby":"title"},u&&i.a.createElement(cs,{id:"title"},i.a.createElement(ms,null)," ",gs(u)),i.a.createElement("div",{className:"e-semibold e-mrg-b-6"},a.format(n)),f&&i.a.createElement(ns,{element:f,renderChildNodes:gs,forceRender:!0})),gs(e)))})));function vs(e){return xs(e,ge(e,"question",!1).map(bs),{displayNumber:ve(e,"display-number"),minAnswers:be(e,"min-answers"),maxAnswers:be(e,"max-answers")})}function bs(e){const t=ge(e,"question",!1);return xs(e,t.length?t.map(bs):ge(e,["text-answer","scored-text-answer","choice-answer","dropdown-answer"],!1).map(Is),{displayNumber:ve(e,"display-number"),maxAnswers:be(e,"max-answers")})}function Is(e){return xs(e,[],{displayNumber:ve(e,"display-number"),questionId:be(e,"question-id"),maxLength:be(e,"max-length")})}function xs(e,t,n){return{name:e.localName,attributes:n,childNodes:t}}var ws=function(){this.__data__=new pn,this.size=0};var Ts=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var Ms=function(e){return this.__data__.get(e)};var As=function(e){return this.__data__.has(e)};var Cs=function(e,t){var n=this.__data__;if(n instanceof pn){var r=n.__data__;if(!hn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Tn(r)}return n.set(e,t),this.size=n.size,this};function Es(e){var t=this.__data__=new pn(e);this.size=t.size}Es.prototype.clear=ws,Es.prototype.delete=Ts,Es.prototype.get=Ms,Es.prototype.has=As,Es.prototype.set=Cs;var Ns=Es;var Ss=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var ks=function(e){return this.__data__.has(e)};function js(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Tn;++t<n;)this.add(e[t])}js.prototype.add=js.prototype.push=Ss,js.prototype.has=ks;var Ds=js;var Ls=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var Os=function(e,t){return e.has(t)};var Ps=function(e,t,n,r,i,a){var o=1&n,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=2&n?new Ds:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var h=e[d],g=t[d];if(r)var m=o?r(g,h,d,t,e,a):r(h,g,d,e,t,a);if(void 0!==m){if(m)continue;f=!1;break}if(p){if(!Ls(t,(function(e,t){if(!Os(p,t)&&(h===e||i(h,e,n,r,a)))return p.push(t)}))){f=!1;break}}else if(h!==g&&!i(h,g,n,r,a)){f=!1;break}}return a.delete(e),a.delete(t),f},Rs=x.a.Uint8Array;var zs=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var _s=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Us=w?w.prototype:void 0,Fs=Us?Us.valueOf:void 0;var Zs=function(e,t,n,r,i,a,o){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!a(new Rs(e),new Rs(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return an(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=zs;case"[object Set]":var l=1&r;if(s||(s=_s),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;r|=2,o.set(e,t);var u=Ps(s(e),s(t),r,i,a,o);return o.delete(e),u;case"[object Symbol]":if(Fs)return Fs.call(e)==Fs.call(t)}return!1};var Gs=function(e,t,n){var r=t(e);return _(e)?r:Vn(r,n(e))};var Bs=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a};var Ys=function(){return[]},Ws=Object.prototype.propertyIsEnumerable,Hs=Object.getOwnPropertySymbols,Vs=Hs?function(e){return null==e?[]:(e=Object(e),Bs(Hs(e),(function(t){return Ws.call(e,t)})))}:Ys;var qs=function(e){return Gs(e,oe,Vs)},Qs=Object.prototype.hasOwnProperty;var Js=function(e,t,n,r,i,a){var o=1&n,s=qs(e),l=s.length;if(l!=qs(t).length&&!o)return!1;for(var c=l;c--;){var u=s[c];if(!(o?u in t:Qs.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var h=o;++c<l;){var g=e[u=s[c]],m=t[u];if(r)var y=o?r(m,g,u,t,e,a):r(g,m,u,e,t,a);if(!(void 0===y?g===m||i(g,m,n,r,a):y)){p=!1;break}h||(h="constructor"==u)}if(p&&!h){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(p=!1)}return a.delete(e),a.delete(t),p},Xs=Ht(x.a,"DataView"),Ks=Ht(x.a,"Promise"),$s=Ht(x.a,"Set"),el=Ht(x.a,"WeakMap"),tl=zt(Xs),nl=zt(hn),rl=zt(Ks),il=zt($s),al=zt(el),ol=j;(Xs&&"[object DataView]"!=ol(new Xs(new ArrayBuffer(1)))||hn&&"[object Map]"!=ol(new hn)||Ks&&"[object Promise]"!=ol(Ks.resolve())||$s&&"[object Set]"!=ol(new $s)||el&&"[object WeakMap]"!=ol(new el))&&(ol=function(e){var t=j(e),n="[object Object]"==t?e.constructor:void 0,r=n?zt(n):"";if(r)switch(r){case tl:return"[object DataView]";case nl:return"[object Map]";case rl:return"[object Promise]";case il:return"[object Set]";case al:return"[object WeakMap]"}return t});var sl=ol,ll=Object.prototype.hasOwnProperty;var cl=function(e,t,n,r,i,a){var o=_(e),s=_(t),l=o?"[object Array]":sl(e),c=s?"[object Array]":sl(t),u="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),d="[object Object]"==(c="[object Arguments]"==c?"[object Object]":c),f=l==c;if(f&&Object(U.a)(e)){if(!Object(U.a)(t))return!1;o=!0,u=!1}if(f&&!u)return a||(a=new Ns),o||q(e)?Ps(e,t,n,r,i,a):Zs(e,t,l,n,r,i,a);if(!(1&n)){var p=u&&ll.call(e,"__wrapped__"),h=d&&ll.call(t,"__wrapped__");if(p||h){var g=p?e.value():e,m=h?t.value():t;return a||(a=new Ns),i(g,m,n,r,a)}}return!!f&&(a||(a=new Ns),Js(e,t,n,r,i,a))};var ul=function e(t,n,r,i,a){return t===n||(null==t||null==n||!D(t)&&!D(n)?t!=t&&n!=n:cl(t,n,r,i,e,a))};var dl=function(e,t,n,r){var i=n.length,a=i,o=!r;if(null==e)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var l=(s=n[i])[0],c=e[l],u=s[1];if(o&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new Ns;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?ul(u,c,3,r,d):f))return!1}}return!0};var fl=function(e){return e==e&&!re(e)};var pl=function(e){for(var t=oe(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,fl(i)]}return t};var hl=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}};var gl=function(e){var t=pl(e);return 1==t.length&&t[0][2]?hl(t[0][0],t[0][1]):function(n){return n===e||dl(n,e,t)}};var ml=function(e,t){return Dt(e)&&fl(t)?hl(Pn(e),t):function(n){var r=Ji(n,e);return void 0===r&&r===t?Wn(n,e):ul(t,r,3)}};var yl=function(e){return function(t){return null==t?void 0:t[e]}};var vl=function(e){return function(t){return Rn(t,e)}};var bl=function(e){return Dt(e)?yl(Pn(e)):vl(e)};var Il=function(e){return"function"==typeof e?e:null==e?ce:"object"==typeof e?_(e)?ml(e[0],e[1]):gl(e):bl(e)};var xl=function(e,t){var n=-1,r=ae(e)?Array(e.length):[];return le(e,(function(e,i,a){r[++n]=t(e,i,a)})),r};var wl=function(e,t){return(_(e)?Sn:xl)(e,Il(t,3))};var Tl=function(e,t){var n={};return t=Il(t,3),se(e,(function(e,r,i){_n(n,r,t(e,r,i))})),n};var Ml=function(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r};var Al=function(e,t,n,r){return le(e,(function(e,i,a){t(r,e,n(e),a)})),r};var Cl=function(e,t){return function(n,r){var i=_(n)?Ml:Al,a=t?t():{};return i(n,e,Il(r,2),a)}}((function(e,t,n){_n(e,n,t)})),El=n(43),Nl=function(){return Math.random().toString(36).substring(7).split("").join(".")},Sl={INIT:"@@redux/INIT"+Nl(),REPLACE:"@@redux/REPLACE"+Nl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Nl()}};function kl(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function jl(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(jl)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var i=e,a=t,o=[],s=o,l=!1;function c(){s===o&&(s=o.slice())}function u(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return c(),s.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,c();var n=s.indexOf(e);s.splice(n,1),o=null}}}function f(e){if(!kl(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,a=i(a,e)}finally{l=!1}for(var t=o=s,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,f({type:Sl.REPLACE})}function h(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[El.a]=function(){return this},e}return f({type:Sl.INIT}),(r={dispatch:f,subscribe:d,getState:u,replaceReducer:p})[El.a]=h,r}function Dl(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function Ll(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ol(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function Pl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ol(n,!0).forEach((function(t){Ll(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ol(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var zl=function(e){return"@@redux-saga/"+e},_l=zl("CANCEL_PROMISE"),Ul=zl("CHANNEL_END"),Fl=zl("IO"),Zl=zl("MATCH"),Gl=zl("MULTICAST"),Bl=zl("SAGA_ACTION"),Yl=zl("SELF_CANCELLATION"),Wl=zl("TASK"),Hl=zl("TASK_CANCEL"),Vl=zl("TERMINATE"),ql=zl("LOCATION"),Ql=function(e){return null==e},Jl=function(e){return null!=e},Xl=function(e){return"function"==typeof e},Kl=function(e){return"string"==typeof e},$l=Array.isArray,ec=function(e){return e&&Xl(e.then)},tc=function(e){return e&&Xl(e.next)&&Xl(e.throw)},nc=function e(t){return t&&(Kl(t)||ac(t)||Xl(t)||$l(t)&&t.every(e))},rc=function(e){return e&&Xl(e.take)&&Xl(e.close)},ic=function(e){return Xl(e)&&e.hasOwnProperty("toString")},ac=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype};var oc=function(e,t){var n;void 0===t&&(t=!0);var r=new Promise((function(r){n=setTimeout(r,e,t)}));return r[_l]=function(){clearTimeout(n)},r},sc=function(e){return function(){return e}}(!0),lc=function(){};var cc=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var uc=function(e,t){si(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function dc(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function fc(e){var t=!1;return function(){t||(t=!0,e())}}var pc=function(e){throw e},hc=function(e){return{value:e,done:!0}};function gc(e,t,n){void 0===t&&(t=pc),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:hc,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function mc(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var yc=function(e){return Array.apply(null,new Array(e))},vc=function(e){return function(t){return e(Object.defineProperty(t,Bl,{value:!0}))}},bc=function(e){return e===Vl},Ic=function(e){return e===Hl},xc=function(e){return bc(e)||Ic(e)};function wc(e,t){var n=Object.keys(e),r=n.length;var i,a=0,o=$l(e)?yc(r):{},s={};return n.forEach((function(e){var n=function(n,s){i||(s||xc(n)?(t.cancel(),t(n,s)):(o[e]=n,++a===r&&(i=!0,t(o))))};n.cancel=lc,s[e]=n})),t.cancel=function(){i||(i=!0,n.forEach((function(e){return s[e].cancel()})))},s}function Tc(e){return{name:e.name||"anonymous",location:Mc(e)}}function Mc(e){return e[ql]}var Ac={isEmpty:sc,put:lc,take:lc};function Cc(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,i=0,a=0,o=function(t){n[i]=t,i=(i+1)%e,r++},s=function(){if(0!=r){var t=n[a];return n[a]=null,r--,a=(a+1)%e,t}},l=function(){for(var e=[];r;)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){var c;if(r<e)o(s);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[i]=s,a=i=(i+1)%e;break;case 4:c=2*e,n=l(),r=n.length,i=n.length,a=0,n.length=c,e=c,o(s)}},take:s,flush:l}}var Ec=function(){return Ac},Nc=function(e){return Cc(e,4)},Sc=function(e,t){var n;return(n={})[Fl]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function kc(e,t){return void 0===e&&(e="*"),nc(e)?Sc("TAKE",{pattern:e}):rc(n=e)&&n[Gl]&&Jl(t)&&nc(t)?Sc("TAKE",{channel:e,pattern:t}):rc(e)?Sc("TAKE",{channel:e}):void 0;var n}function jc(e,t){return Ql(t)&&(t=e,e=void 0),Sc("PUT",{channel:e,action:t})}function Dc(e){var t=Sc("RACE",e);return t.combinator=!0,t}function Lc(e,t){var n,r=null;return Xl(e)?n=e:($l(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&Kl(n)&&Xl(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function Oc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Sc("CALL",Lc(e,n))}function Pc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Sc("FORK",Lc(e,n))}function Rc(e){return void 0===e&&(e=Yl),Sc("CANCEL",e)}var zc=Oc.bind(null,oc);function _c(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}var Uc=_c,Fc=[],Zc=0;function Gc(e){try{Wc(),e()}finally{Hc()}}function Bc(e){Fc.push(e),Zc||(Wc(),Vc())}function Yc(e){try{return Wc(),e()}finally{Vc()}}function Wc(){Zc++}function Hc(){Zc--}function Vc(){var e;for(Hc();!Zc&&void 0!==(e=Fc.shift());)Gc(e)}var qc=function(e){return function(t){return e.some((function(e){return $c(e)(t)}))}},Qc=function(e){return function(t){return e(t)}},Jc=function(e){return function(t){return t.type===String(e)}},Xc=function(e){return function(t){return t.type===e}},Kc=function(){return sc};function $c(e){var t="*"===e?Kc:Kl(e)?Jc:$l(e)?qc:ic(e)?Jc:Xl(e)?Qc:ac(e)?Xc:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var eu={type:Ul},tu=function(e){return e&&e.type===Ul};function nu(e){void 0===e&&(e=Nc());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(eu):e.isEmpty()?(n.push(r),r.cancel=function(){dc(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(eu):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,i=e.length;r<i;r++){(0,e[r])(eu)}}}}}function ru(){var e,t,n,r,i,a,o=(t=!1,r=n=[],i=function(){r===n&&(r=n.slice())},a=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(eu)}))},(e={})[Gl]=!0,e.put=function(e){if(!t)if(tu(e))a();else for(var i=n=r,o=0,s=i.length;o<s;o++){var l=i[o];l[Zl](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=Kc),t?e(eu):(e[Zl]=n,i(),r.push(e),e.cancel=fc((function(){i(),dc(r,e)})))},e.close=a,e),s=o.put;return o.put=function(e){e[Bl]?s(e):Bc((function(){s(e)}))},o}function iu(e,t){var n=e[_l];Xl(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var au,ou=0,su=function(){return++ou};function lu(e){e.isRunning()&&e.cancel()}var cu=((au={}).TAKE=function(e,t,n){var r=t.channel,i=void 0===r?e.channel:r,a=t.pattern,o=t.maybe,s=function(e){e instanceof Error?n(e,!0):!tu(e)||o?n(e):n(Vl)};try{i.take(s,Jl(a)?$c(a):null)}catch(e){return void n(e,!0)}n.cancel=s.cancel},au.PUT=function(e,t,n){var r=t.channel,i=t.action,a=t.resolve;Bc((function(){var t;try{t=(r?r.put:e.dispatch)(i)}catch(e){return void n(e,!0)}a&&ec(t)?iu(t,n):n(t)}))},au.ALL=function(e,t,n,r){var i=r.digestEffect,a=ou,o=Object.keys(t);if(0!==o.length){var s=wc(t,n);o.forEach((function(e){i(t[e],a,s[e],e)}))}else n($l(t)?[]:{})},au.RACE=function(e,t,n,r){var i=r.digestEffect,a=ou,o=Object.keys(t),s=$l(t)?yc(o.length):{},l={},c=!1;o.forEach((function(e){var t=function(t,r){c||(r||xc(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,s[e]=t,n(s)))};t.cancel=lc,l[e]=t})),n.cancel=function(){c||(c=!0,o.forEach((function(e){return l[e].cancel()})))},o.forEach((function(e){c||i(t[e],a,l[e],e)}))},au.CALL=function(e,t,n,r){var i=t.context,a=t.fn,o=t.args,s=r.task;try{var l=a.apply(i,o);if(ec(l))return void iu(l,n);if(tc(l))return void yu(e,l,s.context,ou,Tc(a),!1,n);n(l)}catch(e){n(e,!0)}},au.CPS=function(e,t,n){var r=t.context,i=t.fn,a=t.args;try{var o=function(e,t){Ql(e)?n(t):n(e,!0)};i.apply(r,a.concat(o)),o.cancel&&(n.cancel=o.cancel)}catch(e){n(e,!0)}},au.FORK=function(e,t,n,r){var i=t.context,a=t.fn,o=t.args,s=t.detached,l=r.task,c=function(e){var t=e.context,n=e.fn,r=e.args;try{var i=n.apply(t,r);if(tc(i))return i;var a=!1;return gc((function(e){return a?{value:e,done:!0}:(a=!0,{value:i,done:!ec(i)})}))}catch(e){return gc((function(){throw e}))}}({context:i,fn:a,args:o}),u=function(e,t){return e.isSagaIterator?{name:e.meta.name}:Tc(t)}(c,a);Yc((function(){var t=yu(e,c,l.context,ou,u,s,void 0);s?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},au.JOIN=function(e,t,n,r){var i=r.task,a=function(e,t){if(e.isRunning()){var n={task:i,cb:t};t.cancel=function(){e.isRunning()&&dc(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if($l(t)){if(0===t.length)return void n([]);var o=wc(t,n);t.forEach((function(e,t){a(e,o[t])}))}else a(t,n)},au.CANCEL=function(e,t,n,r){var i=r.task;t===Yl?lu(i):$l(t)?t.forEach(lu):lu(t),n()},au.SELECT=function(e,t,n){var r=t.selector,i=t.args;try{n(r.apply(void 0,[e.getState()].concat(i)))}catch(e){n(e,!0)}},au.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,i=nu(t.buffer),a=$c(r),o=function t(n){tu(n)||e.channel.take(t,a),i.put(n)},s=i.close;i.close=function(){o.cancel(),s()},e.channel.take(o,a),n(i)},au.CANCELLED=function(e,t,n,r){n(r.task.isCancelled())},au.FLUSH=function(e,t,n){t.flush(n)},au.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},au.SET_CONTEXT=function(e,t,n,r){var i=r.task;uc(i.context,t),n()},au);function uu(e,t){return e+"?"+t}function du(e){var t=e.name,n=e.location;return n?t+" "+uu(n.fileName,n.lineNumber):t}var fu=null,pu=[],hu=function(){fu=null,pu.length=0},gu=function(){var e,t,n,r,i,a,o,s=pu[0],l=pu.slice(1),c=s.crashedEffect?(e=s.crashedEffect,(t=Mc(e))?t.code+" "+uu(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+du(s.meta)+(c?" \n when executing effect "+c:"")].concat(l.map((function(e){return" created by "+du(e.meta)})),[(n=pu,r=function(e){return e.cancelledTasks},i=n,o=(a=[]).concat.apply(a,i.map(r)),o.length?["Tasks cancelled due to error:"].concat(o).join("\n"):"")]).join("\n")};function mu(e,t,n,r,i,a,o){var s;void 0===o&&(o=lc);var l,c,u=0,d=null,f=[],p=Object.create(n),h=function(e,t,n){var r,i=[],a=!1;function o(e){t(),l(),n(e,!0)}function s(t){i.push(t),t.cont=function(s,l){a||(dc(i,t),t.cont=lc,l?o(s):(t===e&&(r=s),i.length||(a=!0,n(r))))}}function l(){a||(a=!0,i.forEach((function(e){e.cont=lc,e.cancel()})),i=[])}return s(e),{addTask:s,cancelAll:l,abort:o,getTasks:function(){return i}}}(t,(function(){f.push.apply(f,h.getTasks().map((function(e){return e.meta.name})))}),g);function g(t,n){if(n){if(u=2,(a={meta:i,cancelledTasks:f}).crashedEffect=fu,pu.push(a),m.isRoot){var r=gu();hu(),e.onError(t,{sagaStack:r})}c=t,d&&d.reject(t)}else t===Hl?u=1:1!==u&&(u=3),l=t,d&&d.resolve(t);var a;m.cont(t,n),m.joiners.forEach((function(e){e.cb(t,n)})),m.joiners=null}var m=((s={})[Wl]=!0,s.id=r,s.meta=i,s.isRoot=a,s.context=p,s.joiners=[],s.queue=h,s.cancel=function(){0===u&&(u=1,h.cancelAll(),g(Hl,!1))},s.cont=o,s.end=g,s.setContext=function(e){uc(p,e)},s.toPromise=function(){return d||(d=Uc(),2===u?d.reject(c):0!==u&&d.resolve(l)),d.promise},s.isRunning=function(){return 0===u},s.isCancelled=function(){return 1===u||0===u&&1===t.status},s.isAborted=function(){return 2===u},s.result=function(){return l},s.error=function(){return c},s);return m}function yu(e,t,n,r,i,a,o){var s=e.finalizeRunEffect((function(t,n,r){if(ec(t))iu(t,r);else if(tc(t))yu(e,t,c.context,n,i,!1,r);else if(t&&t[Fl]){(0,cu[t.type])(e,t.payload,r,u)}else r(t)}));d.cancel=lc;var l={meta:i,cancel:function(){0===l.status&&(l.status=1,d(Hl))},status:0},c=mu(e,l,n,r,i,a,o),u={task:c,digestEffect:f};return o&&(o.cancel=c.cancel),d(),c;function d(e,n){try{var i;n?(i=t.throw(e),hu()):Ic(e)?(l.status=1,d.cancel(),i=Xl(t.return)?t.return(Hl):{done:!0,value:Hl}):i=bc(e)?Xl(t.return)?t.return():{done:!0}:t.next(e),i.done?(1!==l.status&&(l.status=3),l.cont(i.value)):f(i.value,r,d)}catch(e){if(1===l.status)throw e;l.status=2,l.cont(e,!0)}}function f(t,n,r,i){void 0===i&&(i="");var a,o=su();function l(n,i){a||(a=!0,r.cancel=lc,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(o,n):e.sagaMonitor.effectResolved(o,n)),i&&function(e){fu=e}(t),r(n,i))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:o,parentEffectId:n,label:i,effect:t}),l.cancel=lc,r.cancel=function(){a||(a=!0,l.cancel(),l.cancel=lc,e.sagaMonitor&&e.sagaMonitor.effectCancelled(o))},s(t,o,l)}}function vu(e,t){var n=e.channel,r=void 0===n?ru():n,i=e.dispatch,a=e.getState,o=e.context,s=void 0===o?{}:o,l=e.sagaMonitor,c=e.effectMiddlewares,u=e.onError,d=void 0===u?mc:u;for(var f=arguments.length,p=new Array(f>2?f-2:0),h=2;h<f;h++)p[h-2]=arguments[h];var g=t.apply(void 0,p);var m,y=su();if(l&&(l.rootSagaStarted=l.rootSagaStarted||lc,l.effectTriggered=l.effectTriggered||lc,l.effectResolved=l.effectResolved||lc,l.effectRejected=l.effectRejected||lc,l.effectCancelled=l.effectCancelled||lc,l.actionDispatched=l.actionDispatched||lc,l.rootSagaStarted({effectId:y,saga:t,args:p})),c){var v=Rl.apply(void 0,c);m=function(e){return function(t,n,r){return v((function(t){return e(t,n,r)}))(t)}}}else m=cc;var b={channel:r,dispatch:vc(i),getState:a,sagaMonitor:l,onError:d,finalizeRunEffect:m};return Yc((function(){var e=yu(b,g,s,y,Tc(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}var bu=function(e){var t,n=void 0===e?{}:e,r=n.context,i=void 0===r?{}:r,a=n.channel,o=void 0===a?ru():a,s=n.sagaMonitor,l=li(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=vu.bind(null,si({},l,{context:i,channel:o,dispatch:r,getState:n,sagaMonitor:s})),function(e){return function(t){s&&s.actionDispatched&&s.actionDispatched(t);var n=e(t);return o.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){uc(i,e)},c},Iu=function(e){return{done:!0,value:e}},xu={};function wu(e){return rc(e)?"channel":ic(e)?String(e):Xl(e)?e.name:String(e)}function Tu(e,t,n){var r,i,a,o=t;function s(t,n){if(o===xu)return Iu(t);if(n&&!i)throw o=xu,n;r&&r(t);var s=n?e[i](n):e[o]();return o=s.nextState,a=s.effect,r=s.stateUpdater,i=s.errorState,o===xu?Iu(t):a}return gc(s,(function(e){return s(null,e)}),n)}function Mu(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a,o={done:!1,value:kc(e)},s=function(e){return{done:!1,value:Pc.apply(void 0,[t].concat(r,[e]))}},l=function(e){return a=e};return Tu({q1:function(){return{nextState:"q2",effect:o,stateUpdater:l}},q2:function(){return{nextState:"q1",effect:s(a)}}},"q1","takeEvery("+wu(e)+", "+t.name+")")}function Au(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a,o,s={done:!1,value:kc(e)},l=function(e){return{done:!1,value:Pc.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:Rc(e)}},u=function(e){return a=e},d=function(e){return o=e};return Tu({q1:function(){return{nextState:"q2",effect:s,stateUpdater:d}},q2:function(){return a?{nextState:"q3",effect:c(a)}:{nextState:"q1",effect:l(o),stateUpdater:u}},q3:function(){return{nextState:"q1",effect:l(o),stateUpdater:u}}},"q1","takeLatest("+wu(e)+", "+t.name+")")}var Cu=function(e,t){return Jn(wl(e,t),1)};function Eu(e,t){return function(e,t,n){return function e(n,r){return r.childNodes.reduce(e,t(n,r))}(n,e)}(e,(e,n)=>{if("text-answer"===n.name&&null!=n.attributes.maxLength){const r=t[n.attributes.questionId];return("richText"===(null==r?void 0:r.type)||"text"===(null==r?void 0:r.type))&&r.characterCount>n.attributes.maxLength?[...e,{type:"AnswerTooLong",displayNumber:n.attributes.displayNumber,characterCount:r.characterCount}]:e}return e},[])}function Nu(e,t){return function e(n){var r;const i="exam"===n.name?"":n.attributes.displayNumber;switch(n.name){case"exam":case"section":case"question":{const t=n.childNodes.map(e),a=t.filter(e=>e.answerCount>0),o=null!==(r=n.attributes.maxAnswers)&&void 0!==r?r:1/0,s="section"===n.name?n.attributes.minAnswers:void 0,l="exam"===n.name?a.reduce((e,t)=>e+t.answerCount,0):a.length,c=Cu(t,e=>e.extraAnswers);return{answerCount:l,displayNumber:i,extraAnswers:l>o?[{type:"ExtraAnswer",elementType:n.name,displayNumber:i,childQuestions:t.map(e=>e.displayNumber),maxAnswers:o,minAnswers:s},...c]:c}}case"text-answer":case"scored-text-answer":case"choice-answer":case"dropdown-answer":{const e=t[n.attributes.questionId];return{answerCount:(null==e?void 0:e.value.length)>0?1:0,displayNumber:i,extraAnswers:[]}}}}(e).extraAnswers}function Su(e,t){return Cu([Eu,Nu],n=>n(e,t))}const ku={answersById:{},examStructure:{name:"exam",attributes:{},childNodes:[]},focusedQuestionId:null,supportsAnswerHistory:!1,serverQuestionIds:new Set,savedQuestionIds:new Set,validationErrors:[]};function ju(e,t){const n=new Set(e);return n.add(t),n}const Du=e=>Object(Io.action)("SAVE_ANSWER",e),Lu=new Map;function*Ou(e,t){const n=e.payload;try{yield zc(1e3),yield Oc(t.saveAnswer,n),yield jc((e=>Object(Io.action)("SAVE_ANSWER_SUCCEEDED",e))(n))}catch(e){yield jc(((e,t)=>Object(Io.action)("SAVE_ANSWER_FAILED",{answer:e,error:t},void 0,!0))(n,e))}Lu.delete(n.questionId)}function*Pu(e){for(;;){const t=yield kc("SAVE_ANSWER"),n=Lu.get(t.payload.questionId);n&&(yield Rc(n));const r=yield Pc(Ou,t,e);Lu.set(t.payload.questionId,r)}}function*Ru(e){for(;e.selectAnswerVersion;){const t=yield kc("SELECT_ANSWER_VERSION"),{questionId:n,questionText:r}=t.payload;try{const t=yield Oc(e.selectAnswerVersion,n,r);t&&(yield jc(Du(t)))}catch(e){console.error(e)}}}function*zu(e){yield Pc(Pu,e),yield Pc(Ru,e)}var _u=function(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?_n(n,s,l):Fn(n,s,l)}return n};var Uu=function(e,t){return e&&_u(t,oe(t),e)};var Fu=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},Zu=Object.prototype.hasOwnProperty;var Gu=function(e){if(!re(e))return Fu(e);var t=K(e),n=[];for(var r in e)("constructor"!=r||!t&&Zu.call(e,r))&&n.push(r);return n};var Bu=function(e){return ae(e)?J(e,!0):Gu(e)};var Yu=function(e,t){return e&&_u(t,Bu(t),e)},Wu=n(73);var Hu=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};var Vu=function(e,t){return _u(e,Vs(e),t)},qu=$(Object.getPrototypeOf,Object),Qu=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Vn(t,Vs(e)),e=qu(e);return t}:Ys;var Ju=function(e,t){return _u(e,Qu(e),t)};var Xu=function(e){return Gs(e,Bu,Qu)},Ku=Object.prototype.hasOwnProperty;var $u=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ku.call(e,"index")&&(n.index=e.index,n.input=e.input),n};var ed=function(e){var t=new e.constructor(e.byteLength);return new Rs(t).set(new Rs(e)),t};var td=function(e,t){var n=t?ed(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},nd=/\w*$/;var rd=function(e){var t=new e.constructor(e.source,nd.exec(e));return t.lastIndex=e.lastIndex,t},id=w?w.prototype:void 0,ad=id?id.valueOf:void 0;var od=function(e){return ad?Object(ad.call(e)):{}};var sd=function(e,t){var n=t?ed(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var ld=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return ed(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return td(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return sd(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return rd(e);case"[object Set]":return new r;case"[object Symbol]":return od(e)}},cd=Object.create,ud=function(){function e(){}return function(t){if(!re(t))return{};if(cd)return cd(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var dd=function(e){return"function"!=typeof e.constructor||K(e)?{}:ud(qu(e))};var fd=function(e){return D(e)&&"[object Map]"==sl(e)},pd=H.a&&H.a.isMap,hd=pd?W(pd):fd;var gd=function(e){return D(e)&&"[object Set]"==sl(e)},md=H.a&&H.a.isSet,yd=md?W(md):gd,vd={};vd["[object Arguments]"]=vd["[object Array]"]=vd["[object ArrayBuffer]"]=vd["[object DataView]"]=vd["[object Boolean]"]=vd["[object Date]"]=vd["[object Float32Array]"]=vd["[object Float64Array]"]=vd["[object Int8Array]"]=vd["[object Int16Array]"]=vd["[object Int32Array]"]=vd["[object Map]"]=vd["[object Number]"]=vd["[object Object]"]=vd["[object RegExp]"]=vd["[object Set]"]=vd["[object String]"]=vd["[object Symbol]"]=vd["[object Uint8Array]"]=vd["[object Uint8ClampedArray]"]=vd["[object Uint16Array]"]=vd["[object Uint32Array]"]=!0,vd["[object Error]"]=vd["[object Function]"]=vd["[object WeakMap]"]=!1;var bd=function e(t,n,r,i,a,o){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=a?r(t,i,a,o):r(t)),void 0!==s)return s;if(!re(t))return t;var d=_(t);if(d){if(s=$u(t),!l)return Hu(t,s)}else{var f=sl(t),p="[object Function]"==f||"[object GeneratorFunction]"==f;if(Object(U.a)(t))return Object(Wu.a)(t,l);if("[object Object]"==f||"[object Arguments]"==f||p&&!a){if(s=c||p?{}:dd(t),!l)return c?Ju(t,Yu(s,t)):Vu(t,Uu(s,t))}else{if(!vd[f])return a?t:{};s=ld(t,f,l)}}o||(o=new Ns);var h=o.get(t);if(h)return h;o.set(t,s),yd(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,o))})):hd(t)&&t.forEach((function(i,a){s.set(a,e(i,n,r,a,t,o))}));var g=d?void 0:(u?c?Xu:qs:c?Bu:oe)(t);return v(g||t,(function(i,a){g&&(i=t[a=i]),Fn(s,a,e(i,n,r,a,t,o))})),s};var Id=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a};var xd=function(e,t){return t.length<2?e:Rn(e,Id(t,0,-1))};var wd=function(e,t){return t=On(t,e),null==(e=xd(e,t))||delete e[Pn(yt(t))]},Td=Function.prototype,Md=Object.prototype,Ad=Td.toString,Cd=Md.hasOwnProperty,Ed=Ad.call(Object);var Nd=function(e){if(!D(e)||"[object Object]"!=j(e))return!1;var t=qu(e);if(null===t)return!0;var n=Cd.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ad.call(n)==Ed};var Sd=function(e){return Nd(e)?void 0:e},kd=ar((function(e,t){var n={};if(null==e)return n;var r=!1;t=Sn(t,(function(t){return t=On(t,e),r||(r=t.length>1),t})),_u(e,Xu(e),n),r&&(n=bd(n,7,Sd));for(var i=t.length;i--;)wd(n,t[i]);return n}));const jd={errors:{},nowPlaying:null,playbackTimes:{}};const Dd=e=>function(e,t){void 0===t&&(t=Ec());var n,r=!1,i=nu(t),a=function(){r||(r=!0,Xl(n)&&n(),i.close())};return n=fc(n=e((function(e){tu(e)?a():i.put(e)}))),r&&n(),{take:i.take,flush:i.flush,close:a}}(t=>{const n=setInterval(()=>{--e>0?t(e):(t(eu),clearInterval(n))},1e3);return()=>clearInterval(n)});function*Ld(e,t){const n=yield Oc(Dd,e);try{for(;;){const e=yield kc(n);yield jc(t(e))}}finally{(yield Sc("CANCELLED",{}))&&n.close()}}function*Od(e,t){const n=t.payload;try{const t=null!=n.restrictedAudioId?yield function(e){void 0===e&&(e=cc);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Sc("SELECT",{selector:e,args:n})}($i(n.restrictedAudioId)):void 0,r=null!=t&&null!=n.restrictedAudioId?yield Oc(e.playRestrictedAudio,n.src,n.restrictedAudioId,t):yield Oc(e.playAudio,n.src);"ok"===r?(yield jc((e=>Object(Io.action)("PLAY_AUDIO_STARTED",e))(n)),yield Oc(Ld,n.duration,wo),yield jc(Object(Io.action)("PLAY_AUDIO_FINISHED"))):(yield jc(((e,t)=>Object(Io.action)("SHOW_AUDIO_ERROR",{audio:e,error:t}))(n,r)),yield zc(5e3),yield jc((e=>Object(Io.action)("HIDE_AUDIO_ERROR",e))(n)))}catch(e){console.error(e)}}function*Pd(e){yield function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return Pc.apply(void 0,[Mu,e,t].concat(r))}("PLAY_AUDIO",Od,e)}const Rd={casStatus:"forbidden"};const{createAction:zd}=Io.deprecated,_d=zd("ALLOW_CAS_SUCCEEDED"),Ud=zd("ALLOW_CAS_CANCELLED"),Fd=e=>Object(Io.action)("UPDATE_CAS_REMAINING",e);function*Zd(e,{payload:t}){try{if("allowed"===(yield Oc(e.setCasStatus,"allowing")))return void(yield jc(_d()));yield jc((n=t,Object(Io.action)("ALLOW_CAS_COUNTDOWN",n)));const{cancelled:r}=yield Dc({finished:Oc(Ld,t,Fd),cancelled:kc("ALLOW_CAS_CANCELLED")});"allowed"===(yield Oc(e.setCasStatus,r?"forbidden":"allowed"))?yield jc(_d()):r||(yield jc(Ud()))}catch(e){console.error(e)}var n}function*Gd(e){yield function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return Pc.apply(void 0,[Au,e,t].concat(r))}("ALLOW_CAS",Zd,e)}const Bd=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var a,o=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:Sl.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:Sl.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+Sl.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,i={},s=0;s<o.length;s++){var l=o[s],c=n[l],u=e[l],d=c(u,t);if(void 0===d){var f=Dl(l,t);throw new Error(f)}i[l]=d,r=r||d!==u}return(r=r||o.length!==Object.keys(e).length)?i:e}}({answers:function(e=ku,t){switch(t.type){case"SAVE_ANSWER":{const{questionId:n}=t.payload,r=function(e,t){const n=new Set(e);return n.delete(t),n}(e.savedQuestionIds,n),i={...e.answersById,[n]:t.payload};return{...e,savedQuestionIds:r,answersById:i}}case"SAVE_ANSWER_FAILED":return e;case"SAVE_ANSWER_SUCCEEDED":{const{questionId:n}=t.payload,r=ju(e.savedQuestionIds,n),i=ju(e.serverQuestionIds,n),a=Su(e.examStructure,e.answersById);return{...e,serverQuestionIds:i,savedQuestionIds:r,validationErrors:a}}case"ANSWER_FOCUSED":{const n=t.payload;return{...e,focusedQuestionId:n}}case"ANSWER_BLURRED":{const n=t.payload;return{...e,focusedQuestionId:e.focusedQuestionId===n?null:e.focusedQuestionId}}default:return e}},audio:function(e=jd,t){switch(t.type){case"PLAY_AUDIO":{const n=t.payload,r={audio:n,durationRemaining:n.duration};return{...e,nowPlaying:r}}case"PLAY_AUDIO_STARTED":{const n=t.payload;if(null!=n.restrictedAudioId){const t=e.playbackTimes[n.restrictedAudioId],r={...e.playbackTimes,[n.restrictedAudioId]:t?t+1:1},i=kd(e.errors,[n.src]);return{...e,playbackTimes:r,errors:i}}return e}case"SHOW_AUDIO_ERROR":{const{audio:n,error:r}=t.payload,i=Ji(n,"restrictedAudioId",n.src),a={...e.errors,[i]:r};return{...e,errors:a,nowPlaying:null}}case"HIDE_AUDIO_ERROR":{const n=t.payload,r=Ji(n,"restrictedAudioId",n.src),i=kd(e.errors,[r]);return{...e,errors:i}}case"PLAY_AUDIO_FINISHED":return{...e,nowPlaying:null};case"UPDATE_REMAINING":{const n=t.payload,r={...e.nowPlaying,durationRemaining:n};return{...e,nowPlaying:r}}default:return e}},cas:function(e=Rd,t){switch(t.type){case"ALLOW_CAS":return e;case"ALLOW_CAS_COUNTDOWN":return{casStatus:"allowing",durationRemaining:t.payload};case"ALLOW_CAS_SUCCEEDED":return{casStatus:"allowed"};case"ALLOW_CAS_CANCELLED":return{casStatus:"forbidden"};case"UPDATE_CAS_REMAINING":return{casStatus:"allowing",durationRemaining:t.payload};default:return e}}});function*Yd(e){yield Pc(zu,e),yield Pc(Pd,e),yield Pc(Gd,e)}function Wd(e,t,n,r,i){const a=new Set(wl(n,"questionId")),o=Tl(Cl(r,"restrictedAudioId"),"times"),s=Cl(n,"questionId"),l={answers:{answersById:s,focusedQuestionId:null,serverQuestionIds:a,supportsAnswerHistory:"function"==typeof i.selectAnswerVersion,savedQuestionIds:a,examStructure:e,validationErrors:Su(e,s)},audio:{errors:{},nowPlaying:null,playbackTimes:o},cas:{casStatus:t}},c=bu(),u=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Rl,d=jl(Bd,l,u(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},a=t.map((function(e){return e(i)}));return Pl({},n,{dispatch:r=Rl.apply(void 0,a)(n.dispatch)})}}}(c)));return c.run(Yd,i),d}var Hd=i.a.memo((function({element:e,className:t,renderChildNodes:n}){return i.a.createElement("div",{className:Xr()("e-audio-group",t)},i.a.createElement("div",{className:"e-audio-group--separator e-font-size-xl e-mrg-y-4 e-color-link",role:"separator"},"✲✲✲"),n(e))}));var Vd=i.a.memo((function({element:e}){const t=e.getAttribute("src"),n=be(e,"duration"),{t:r}=Ir(),a=qi(Xi(t)),o=qi(Ki(t)),s=Yi();return i.a.createElement("div",{className:"e-audio-test notification e-pad-2 e-mrg-b-4"},i.a.createElement("p",null,r("audio-test.instructions")),i.a.createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-2"},i.a.createElement("div",{className:"e-column e-column--narrow"},i.a.createElement("button",{className:"e-button",disabled:"stopped"!==a,onClick:()=>"stopped"===a&&s(xo({src:t,duration:n}))},i.a.createElement(xa,{className:"e-mrg-r-1",icon:la,fixedWidth:!0}),r("audio-test.play"))),i.a.createElement("div",{className:"e-column"},i.a.createElement(bo,{error:o}," "))),i.a.createElement("div",null,r("audio-test.volume")))}));function qd({selected:e,element:t,renderChildNodes:n,questionId:r,onSelect:a,direction:o,value:s}){const l=t.getAttribute("class"),c=i.a.createElement("div",{className:Xr()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":e})},n(t));return"vertical"===o?i.a.createElement("div",{className:"e-mrg-b-1"},i.a.createElement("label",{className:Xr()("e-columns",{"e-columns--inline":null==he(t,["image","video"])})},i.a.createElement("input",{type:"radio",className:"e-radio-button e-column e-column--narrow",name:String(r),onChange:a,value:s,checked:e}),c)):i.a.createElement("div",{className:"e-column e-mrg-b-1"},i.a.createElement("label",{className:"e-block e-text-center"},i.a.createElement("input",{type:"radio",className:"e-radio-button",name:String(r),onChange:a,value:s,checked:e}),c))}var Qd=Ui((function(e,{element:t}){const n=be(t,"question-id");return{answer:e.answers.answersById[n]}}),{saveAnswer:Du})((function({answer:e,saveAnswer:t,element:n,renderChildNodes:a}){const{questionLabelIds:o}=Object(r.useContext)(rs),s=be(n,"question-id"),l=n.getAttribute("direction")||"vertical",c=n.getAttribute("class"),u=n.getAttribute("display-number"),d=e=>{t({type:"choice",questionId:s,value:e.currentTarget.value,displayNumber:u})};return i.a.createElement("div",{className:Xr()("e-choice-answer e-mrg-b-4",c,{"e-columns":"horizontal"===l}),"data-question-id":s,role:"radiogroup","aria-labelledby":o},xe(n,t=>{const n=t.getAttribute("option-id"),r="no-answer"===t.getAttribute("type")?"":n,o=null!=e&&e.value===r;return i.a.createElement(qd,{element:t,onSelect:d,renderChildNodes:a,questionId:s,key:n,direction:l,selected:o,value:r})}))}));n(39);function Jd(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Xd(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Kd(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Xd(n.overflowY,t)||Xd(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function $d(e,t,n,r,i,a,o,s){return a<e&&o>t||a>e&&o<t?0:a<=e&&s<=n||o>=t&&s>=n?a-e-r:o>t&&s<n||a<e&&s>n?o-t+i:0}var ef=function(){return(ef=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.create;Object.create;var tf=0;function nf(){}function rf(e,t){e&&function(e,t){var n=window,r=t.scrollMode,i=t.block,a=t.inline,o=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof o?o:function(e){return e!==o};if(!Jd(e))throw new TypeError("Invalid target");for(var c=document.scrollingElement||document.documentElement,u=[],d=e;Jd(d)&&l(d);){if((d=d.parentElement)===c){u.push(d);break}null!=d&&d===document.body&&Kd(d)&&!Kd(document.documentElement)||null!=d&&Kd(d,s)&&u.push(d)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),y=m.height,v=m.width,b=m.top,I=m.right,x=m.bottom,w=m.left,T="start"===i||"nearest"===i?b:"end"===i?x:b+y/2,M="center"===a?w+v/2:"end"===a?I:w,A=[],C=0;C<u.length;C++){var E=u[C],N=E.getBoundingClientRect(),S=N.height,k=N.width,j=N.top,D=N.right,L=N.bottom,O=N.left;if("if-needed"===r&&b>=0&&w>=0&&x<=p&&I<=f&&b>=j&&x<=L&&w>=O&&I<=D)return A;var P=getComputedStyle(E),R=parseInt(P.borderLeftWidth,10),z=parseInt(P.borderTopWidth,10),_=parseInt(P.borderRightWidth,10),U=parseInt(P.borderBottomWidth,10),F=0,Z=0,G="offsetWidth"in E?E.offsetWidth-E.clientWidth-R-_:0,B="offsetHeight"in E?E.offsetHeight-E.clientHeight-z-U:0;if(c===E)F="start"===i?T:"end"===i?T-p:"nearest"===i?$d(g,g+p,p,z,U,g+T,g+T+y,y):T-p/2,Z="start"===a?M:"center"===a?M-f/2:"end"===a?M-f:$d(h,h+f,f,R,_,h+M,h+M+v,v),F=Math.max(0,F+g),Z=Math.max(0,Z+h);else{F="start"===i?T-j-z:"end"===i?T-L+U+B:"nearest"===i?$d(j,L,S,z,U+B,T,T+y,y):T-(j+S/2)+B/2,Z="start"===a?M-O-R:"center"===a?M-(O+k/2)+G/2:"end"===a?M-D+_+G:$d(O,D,k,R,_+G,M,M+v,v);var Y=E.scrollLeft,W=E.scrollTop;T+=W-(F=Math.max(0,Math.min(W+F,E.scrollHeight-S+B))),M+=Y-(Z=Math.max(0,Math.min(Y+Z,E.scrollWidth-k+G)))}A.push({el:E,top:F,left:Z})}return A}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}function af(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function of(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];r(),n=setTimeout((function(){n=null,e.apply(void 0,a)}),t)}return i.cancel=r,i}function sf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function lf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function cf(){return String(tf++)}function uf(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function df(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=ff(t,r)?t[r]:e[r],n}),{})}function ff(e,t){return void 0!==e[t]}function pf(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function hf(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return-1;var a=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:a+1);var o=t+e;o<0?o=i?a:0:o>a&&(o=i?0:a);var s=gf(e,o,n,r,i);return-1===s?t>=n?-1:t:s}function gf(e,t,n,r,i){var a=r(t);if(!a||!a.hasAttribute("disabled"))return t;if(e>0){for(var o=t+1;o<n;o++)if(!r(o).hasAttribute("disabled"))return o}else for(var s=t-1;s>=0;s--)if(!r(s).hasAttribute("disabled"))return s;return i?e>0?gf(1,0,n,r,!1):gf(-1,n-1,n,r,!1):-1}function mf(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(af(t,e,n)||r&&af(t,n.document.activeElement,n))}))}var yf=of((function(e){bf(e).textContent=""}),500);function vf(e,t){var n=bf(t);e&&(n.textContent=e,yf(t))}function bf(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var If=["isInitialMount","highlightedIndex","items","environment"],xf={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function wf(e,t,n){var r=e.props,i=e.type,a={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var i=t.props,a=t.type,o="on"+Nf(e)+"Change";i[o]&&void 0!==r[e]&&r[e]!==n[e]&&i[o](si({type:a},r))}(r,e,t,n),n[r]!==t[r]&&(a[r]=n[r])})),r.onStateChange&&Object.keys(a).length&&r.onStateChange(si({type:i},a))}var Tf=of((function(e,t){vf(e(),t)}),200),Mf="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;function Af(e){var t=e.id,n=void 0===t?"downshift-"+cf():t,i=e.labelId,a=e.menuId,o=e.getItemId,s=e.toggleButtonId,l=e.inputId;return Object(r.useRef)({labelId:i||n+"-label",menuId:a||n+"-menu",getItemId:o||function(e){return n+"-item-"+e},toggleButtonId:s||n+"-toggle-button",inputId:l||n+"-input"}).current}function Cf(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}function Ef(e){return/^\S{1}$/.test(e)}function Nf(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Sf(e){var t=Object(r.useRef)(e);return t.current=e,t}function kf(e,t,n){var i=Object(r.useRef)(),a=Object(r.useRef)(),o=Object(r.useCallback)((function(t,n){a.current=n,t=df(t,n.props);var r=e(t,n);return n.props.stateReducer(t,si({},n,{changes:r}))}),[e]),s=Object(r.useReducer)(o,t),l=s[0],c=s[1],u=Sf(n),d=Object(r.useCallback)((function(e){return c(si({props:u.current},e))}),[u]),f=a.current;return Object(r.useEffect)((function(){f&&i.current&&i.current!==l&&wf(f,df(i.current,f.props),l),i.current=l}),[l,n,f]),[l,d]}function jf(e,t,n){var r=kf(e,t,n),i=r[0],a=r[1];return[df(i,n),a]}var Df={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:rf,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function Lf(e,t,n){void 0===n&&(n=xf);var r="default"+Nf(t);return r in e?e[r]:n[t]}function Of(e,t,n){if(void 0===n&&(n=xf),t in e)return e[t];var r="initial"+Nf(t);return r in e?e[r]:Lf(e,t,n)}function Pf(e){var t=Of(e,"selectedItem"),n=Of(e,"isOpen"),r=Of(e,"highlightedIndex"),i=Of(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}function Rf(e,t,n,r){var i=e.items,a=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,s=t.selectedItem,l=t.highlightedIndex;return 0===i.length?-1:void 0!==a&&l===a?a:void 0!==o?o:s?0===n?i.indexOf(s):hf(n,i.indexOf(s),i.length,r,!1):0===n?-1:n<0?i.length-1:0}function zf(e,t,n,i){var a=Object(r.useRef)({isMouseDown:!1,isTouchMove:!1});return Object(r.useEffect)((function(){var r=function(){a.current.isMouseDown=!0},o=function(r){a.current.isMouseDown=!1,e&&!mf(r.target,t.map((function(e){return e.current})),n)&&i()},s=function(){a.current.isTouchMove=!1},l=function(){a.current.isTouchMove=!0},c=function(r){!e||a.current.isTouchMove||mf(r.target,t.map((function(e){return e.current})),n,!1)||i()};return n.addEventListener("mousedown",r),n.addEventListener("mouseup",o),n.addEventListener("touchstart",s),n.addEventListener("touchmove",l),n.addEventListener("touchend",c),function(){n.removeEventListener("mousedown",r),n.removeEventListener("mouseup",o),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",l),n.removeEventListener("touchend",c)}}),[e,n]),a}var _f=function(){return nf};function Uf(e,t,n){var i=n.isInitialMount,a=n.highlightedIndex,o=n.items,s=n.environment,l=li(n,If);Object(r.useEffect)((function(){i||Tf((function(){return e(si({highlightedIndex:a,highlightedItem:o[a],resultCount:o.length},l))}),s.document)}),t)}function Ff(e){var t=e.highlightedIndex,n=e.isOpen,i=e.itemRefs,a=e.getItemNodeFromIndex,o=e.menuElement,s=e.scrollIntoView,l=Object(r.useRef)(!0);return Mf((function(){t<0||!n||!Object.keys(i.current).length||(!1===l.current?l.current=!0:s(a(t),o))}),[t]),l}var Zf=nf;function Gf(e,t,n){var r,i=t.type,a=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Rf(a,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:Rf(a,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:Lf(a,"highlightedIndex"),isOpen:Lf(a,"isOpen"),selectedItem:Lf(a,"selectedItem"),inputValue:Lf(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return si({},e,r)}function Bf(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,a=e.getItemNodeFromIndex,o=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+1)%r.length,c=r[l];if(void 0!==c&&i(c).toLowerCase().startsWith(o)){var u=a(l);if(!(null==u?void 0:u.hasAttribute("disabled")))return l}}return n}$r.a.array.isRequired,$r.a.func,$r.a.func,$r.a.func,$r.a.bool,$r.a.number,$r.a.number,$r.a.number,$r.a.bool,$r.a.bool,$r.a.bool,$r.a.any,$r.a.any,$r.a.any,$r.a.string,$r.a.string,$r.a.string,$r.a.func,$r.a.string,$r.a.func,$r.a.func,$r.a.func,$r.a.func,$r.a.func,$r.a.shape({addEventListener:$r.a.func,removeEventListener:$r.a.func,document:$r.a.shape({getElementById:$r.a.func,activeElement:$r.a.any,body:$r.a.any})});var Yf=ef(ef({},Df),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select.":"":"No results are available.":""}}),Wf=nf;var Hf=Object.freeze({__proto__:null,MenuKeyDownArrowDown:0,MenuKeyDownArrowUp:1,MenuKeyDownEscape:2,MenuKeyDownHome:3,MenuKeyDownEnd:4,MenuKeyDownEnter:5,MenuKeyDownSpaceButton:6,MenuKeyDownCharacter:7,MenuBlur:8,MenuMouseLeave:9,ItemMouseMove:10,ItemClick:11,ToggleButtonClick:12,ToggleButtonKeyDownArrowDown:13,ToggleButtonKeyDownArrowUp:14,ToggleButtonKeyDownCharacter:15,FunctionToggleMenu:16,FunctionOpenMenu:17,FunctionCloseMenu:18,FunctionSetHighlightedIndex:19,FunctionSelectItem:20,FunctionSetInputValue:21,FunctionReset:22});function Vf(e,t){var n,r=t.type,i=t.props,a=t.shiftKey;switch(r){case 11:n={isOpen:Lf(i,"isOpen"),highlightedIndex:Lf(i,"highlightedIndex"),selectedItem:i.items[t.index]};break;case 15:var o=t.key,s=""+e.inputValue+o,l=Bf({keysSoFar:s,highlightedIndex:e.selectedItem?i.items.indexOf(e.selectedItem):-1,items:i.items,itemToString:i.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});n=si({inputValue:s},l>=0&&{selectedItem:i.items[l]});break;case 13:n={highlightedIndex:Rf(i,e,1,t.getItemNodeFromIndex),isOpen:!0};break;case 14:n={highlightedIndex:Rf(i,e,-1,t.getItemNodeFromIndex),isOpen:!0};break;case 5:case 6:n=si({isOpen:Lf(i,"isOpen"),highlightedIndex:Lf(i,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:i.items[e.highlightedIndex]});break;case 3:n={highlightedIndex:gf(1,0,i.items.length,t.getItemNodeFromIndex,!1)};break;case 4:n={highlightedIndex:gf(-1,i.items.length-1,i.items.length,t.getItemNodeFromIndex,!1)};break;case 2:case 8:n={isOpen:!1,highlightedIndex:-1};break;case 7:var c=t.key,u=""+e.inputValue+c,d=Bf({keysSoFar:u,highlightedIndex:e.highlightedIndex,items:i.items,itemToString:i.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});n=si({inputValue:u},d>=0&&{highlightedIndex:d});break;case 0:n={highlightedIndex:hf(a?5:1,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,i.circularNavigation)};break;case 1:n={highlightedIndex:hf(a?-5:-1,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,i.circularNavigation)};break;case 20:n={selectedItem:t.selectedItem};break;default:return Gf(e,t,Hf)}return si({},e,n)}var qf=["onMouseLeave","refKey","onKeyDown","onBlur","ref"],Qf=["onClick","onKeyDown","refKey","ref"],Jf=["item","index","onMouseMove","onClick","refKey","ref"];function Xf(e){void 0===e&&(e={}),Wf(e,Xf);var t=si({},Yf,e),n=t.items,i=t.scrollIntoView,a=t.environment,o=t.initialIsOpen,s=t.defaultIsOpen,l=t.itemToString,c=t.getA11ySelectionMessage,u=t.getA11yStatusMessage,d=jf(Vf,Pf(t),t),f=d[0],p=d[1],h=f.isOpen,g=f.highlightedIndex,m=f.selectedItem,y=f.inputValue,v=Object(r.useRef)(null),b=Object(r.useRef)(null),I=Object(r.useRef)({}),x=Object(r.useRef)(!0),w=Object(r.useRef)(null),T=Af(t),M=Object(r.useRef)(),A=Object(r.useRef)(!0),C=Sf({state:f,props:t}),E=Object(r.useCallback)((function(e){return I.current[T.getItemId(e)]}),[T]);Uf(u,[h,g,y,n],si({isInitialMount:A.current,previousResultCount:M.current,items:n,environment:a,itemToString:l},f)),Uf(c,[m],si({isInitialMount:A.current,previousResultCount:M.current,items:n,environment:a,itemToString:l},f));var N=Ff({menuElement:b.current,highlightedIndex:g,isOpen:h,itemRefs:I,scrollIntoView:i,getItemNodeFromIndex:E});Object(r.useEffect)((function(){return w.current=of((function(e){e({type:21,inputValue:""})}),500),function(){w.current.cancel()}}),[]),Object(r.useEffect)((function(){y&&w.current(p)}),[p,y]),Zf({isInitialMount:A.current,props:t,state:f}),Object(r.useEffect)((function(){A.current?(o||s||h)&&b.current&&b.current.focus():h?b.current&&b.current.focus():a.document.activeElement===b.current&&v.current&&(x.current=!1,v.current.focus())}),[h]),Object(r.useEffect)((function(){A.current||(M.current=n.length)}));var S=zf(h,[b,v],a,(function(){p({type:8})})),k=_f();Object(r.useEffect)((function(){A.current=!1}),[]),Object(r.useEffect)((function(){h||(I.current={})}),[h]);var j=Object(r.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:13,getItemNodeFromIndex:E,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:14,getItemNodeFromIndex:E,shiftKey:e.shiftKey})}}}),[p,E]),D=Object(r.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:0,getItemNodeFromIndex:E,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:1,getItemNodeFromIndex:E,shiftKey:e.shiftKey})},Home:function(e){e.preventDefault(),p({type:3,getItemNodeFromIndex:E})},End:function(e){e.preventDefault(),p({type:4,getItemNodeFromIndex:E})},Escape:function(){p({type:2})},Enter:function(e){e.preventDefault(),p({type:5})}," ":function(e){e.preventDefault(),p({type:6})}}}),[p,E]),L=Object(r.useCallback)((function(){p({type:16})}),[p]),O=Object(r.useCallback)((function(){p({type:18})}),[p]),P=Object(r.useCallback)((function(){p({type:17})}),[p]),R=Object(r.useCallback)((function(e){p({type:19,highlightedIndex:e})}),[p]),z=Object(r.useCallback)((function(e){p({type:20,selectedItem:e})}),[p]),_=Object(r.useCallback)((function(){p({type:22})}),[p]),U=Object(r.useCallback)((function(e){p({type:21,inputValue:e})}),[p]),F=Object(r.useCallback)((function(e){return si({id:T.labelId,htmlFor:T.toggleButtonId},e)}),[T]),Z=Object(r.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onMouseLeave,a=r.refKey,o=void 0===a?"ref":a,s=r.onKeyDown,l=r.onBlur,c=r.ref,u=li(r,qf),d=(void 0===t?{}:t).suppressRefError,f=void 0!==d&&d,h=C.current.state;return k("getMenuProps",f,o,b),si(((n={})[o]=lf(c,(function(e){b.current=e})),n.id=T.menuId,n.role="listbox",n["aria-labelledby"]=T.labelId,n.tabIndex=-1,n),h.isOpen&&h.highlightedIndex>-1&&{"aria-activedescendant":T.getItemId(h.highlightedIndex)},{onMouseLeave:sf(i,(function(){p({type:9})})),onKeyDown:sf(s,(function(e){var t=pf(e);t&&D[t]?D[t](e):Ef(t)&&p({type:7,key:t,getItemNodeFromIndex:E})})),onBlur:sf(l,(function(){!1!==x.current?!S.current.isMouseDown&&p({type:8}):x.current=!0}))},u)}),[p,C,D,S,k,T,E]);return{getToggleButtonProps:Object(r.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onClick,a=r.onKeyDown,o=r.refKey,s=void 0===o?"ref":o,l=r.ref,c=li(r,Qf),u=(void 0===t?{}:t).suppressRefError,d=void 0!==u&&u,f=si(((n={})[s]=lf(l,(function(e){v.current=e})),n.id=T.toggleButtonId,n["aria-haspopup"]="listbox",n["aria-expanded"]=C.current.state.isOpen,n["aria-labelledby"]=T.labelId+" "+T.toggleButtonId,n),c);return c.disabled||(f.onClick=sf(i,(function(){p({type:12})})),f.onKeyDown=sf(a,(function(e){var t=pf(e);t&&j[t]?j[t](e):Ef(t)&&p({type:15,key:t,getItemNodeFromIndex:E})}))),k("getToggleButtonProps",d,s,v),f}),[p,C,j,k,T,E]),getLabelProps:F,getMenuProps:Z,getItemProps:Object(r.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,i=n.index,a=n.onMouseMove,o=n.onClick,s=n.refKey,l=void 0===s?"ref":s,c=n.ref,u=li(n,Jf),d=C.current,f=d.state,h=d.props,g=Cf(i,r,h.items);if(g<0)throw new Error("Pass either item or item index in getItemProps!");var m=si(((t={role:"option","aria-selected":""+(g===f.highlightedIndex),id:T.getItemId(g)})[l]=lf(c,(function(e){e&&(I.current[T.getItemId(g)]=e)})),t),u);return u.disabled||(m.onMouseMove=sf(a,(function(){i!==f.highlightedIndex&&(N.current=!1,p({type:10,index:i}))})),m.onClick=sf(o,(function(){p({type:11,index:i})}))),m}),[p,C,N,T]),toggleMenu:L,openMenu:P,closeMenu:O,setHighlightedIndex:R,selectItem:z,reset:_,setInputValue:U,highlightedIndex:g,isOpen:h,selectedItem:m,inputValue:y}}Xf.stateChangeTypes=Hf;$r.a.array.isRequired,$r.a.func,$r.a.func,$r.a.func,$r.a.bool,$r.a.number,$r.a.number,$r.a.number,$r.a.bool,$r.a.bool,$r.a.bool,$r.a.any,$r.a.any,$r.a.any,$r.a.string,$r.a.string,$r.a.string,$r.a.string,$r.a.string,$r.a.string,$r.a.func,$r.a.string,$r.a.string,$r.a.func,$r.a.func,$r.a.func,$r.a.func,$r.a.func,$r.a.func,$r.a.shape({addEventListener:$r.a.func,removeEventListener:$r.a.func,document:$r.a.shape({getElementById:$r.a.func,activeElement:$r.a.any,body:$r.a.any})});si({},Df,{getA11yStatusMessage:uf,circularNavigation:!0});$r.a.array,$r.a.array,$r.a.array,$r.a.func,$r.a.func,$r.a.func,$r.a.number,$r.a.number,$r.a.number,$r.a.func,$r.a.func,$r.a.string,$r.a.string,$r.a.shape({addEventListener:$r.a.func,removeEventListener:$r.a.func,document:$r.a.shape({getElementById:$r.a.func,activeElement:$r.a.any,body:$r.a.any})});var Kf=function(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(null!=o&&(void 0===s?o==o&&!Nt(o):n(o,s)))var s=o,l=a}return l};var $f=function(e,t){return e>t};var ep=function(e){return e&&e.length?Kf(e,ce,$f):void 0},tp=n(25),np=n.n(tp);const rp=Promise.all([new np.a("Noto Sans",{weight:300}).load(),new np.a("Noto Sans",{weight:400}).load(),new np.a("Noto Sans",{weight:600}).load()]).then(()=>{ip=!0}).catch(vt);let ip=!1;const ap=({id:e,size:t="small",score:n})=>{const{t:r}=Ir(),a="inline"===t?"sup":"span";return i.a.createElement(a,{className:Xr()("e-score e-nowrap",{"e-score--small e-font-size-m e-semibold":"small"===t,"e-score--large e-font-size-l e-semibold":"large"===t,"e-score--inline e-font-size-xs":"inline"===t}),id:e},r("points",{count:n}))},op=!navigator.userAgent.includes("jsdom/");var sp=Ui((function(e,{element:t}){const n=be(t,"question-id");return{answer:e.answers.answersById[n]}}),{saveAnswer:Du})((function({element:e,renderChildNodes:t,saveAnswer:n,answer:a}){const o=be(e,"question-id"),s=be(e,"max-score"),l=e.getAttribute("display-number"),c=a&&a.value&&ye(e,e=>a.value===e.getAttribute("option-id")),u=Object(r.useRef)(null),d=i.a.useRef(null),[f,p]=Object(r.useState)(!0);if(op){const[,t]=Object(r.useState)(ip);rp.then(()=>t(!0)).catch(e=>console.error(e)),Object(r.useEffect)(()=>p(!0),[e]),Object(r.useEffect)(()=>{if(f&&d.current&&u.current){const e=d.current,t=u.current,n=ep(xe(e,e=>e.firstElementChild.scrollWidth)),r=requestAnimationFrame(()=>{t.style.width=n+2+1+"px",p(!1)});return()=>cancelAnimationFrame(r)}})}const h=["",...e.children],{answers:g,questionLabelIds:m}=Object(r.useContext)(rs),{getItemProps:y,getMenuProps:v,getToggleButtonProps:b,highlightedIndex:I,isOpen:x,selectedItem:w}=Xf({items:h,itemToString:e=>e?e.textContent:"",onSelectedItemChange:({selectedItem:e})=>{const t=e?e.getAttribute("option-id"):"";n({type:"choice",questionId:o,value:t,displayNumber:l})},initialSelectedItem:c}),{t:T}=Ir(),M=Dr(e);return i.a.createElement("span",{className:"e-nowrap"},i.a.createElement("span",{className:Xr()("e-dropdown-answer e-normal"),"data-question-id":o},i.a.createElement("button",{className:Xr()("e-dropdown-answer__toggle-button e-button-plain e-columns",{"e-dropdown-answer__toggle-button--open":x}),...b({"aria-describedby":M,"aria-labelledby":m},{suppressRefError:!op})},i.a.createElement("span",{className:"e-dropdown-answer__label e-column e-pad-l-1 e-pad-r-4"},i.a.createElement("span",{className:"e-ellipsis e-block",ref:u},w?t(w):i.a.createElement("span",{"aria-label":T.raw("dropdown-answer.label")}," "))),i.a.createElement("span",{className:Xr()("e-dropdown-answer__toggle-icon e-text-center e-column e-column--narrow e-column--gapless e-color-link")},i.a.createElement(xa,{icon:x?ra:na}))),i.a.createElement("span",{...v({className:Xr()("e-dropdown-answer__menu",{"e-dropdown-answer__menu--open":x}),"aria-labelledby":void 0,ref:d},{suppressRefError:!op})},h.map((e,n)=>i.a.createElement("span",{className:Xr()("e-dropdown-answer__menu-item e-block e-pad-l-1 e-pad-r-4",{"e-dropdown-answer__menu-item--selected":e===w,"e-bg-color-off-white":I!==n,"e-bg-color-link e-color-off-white":I===n}),key:n,...y({item:e,index:n})},i.a.createElement("span",{className:Xr()("e-dropdown-answer__menu-item-inner e-block",{"e-nowrap":f})},e?t(e):i.a.createElement("span",{"aria-label":T.raw("dropdown-answer.clear")}," ")))))),g.length>1&&i.a.createElement(ap,{score:s,size:"inline",id:M}))}));var lp=function(e){return"string"==typeof e||!_(e)&&D(e)&&"[object String]"==j(e)};var cp=i.a.memo((function({maxAnswers:e,minAnswers:t,elementType:n,childQuestions:r}){const a=r.map(e=>lp(e)?e:e.getAttribute("display-number")),{t:o}=Ir(),s=function(e,t,n){const r=[];for(const i of e)for(const e of t)for(const t of n)r.push([i,e,t]);return r}([a.length,"*"],[e,"*"],[null!=t?t:e,"*"]).map(([e,t,r])=>`answering-instructions.${n}_${e}_${r}_${t}`),l=[t,e],c=[mt(a),yt(a)];return i.a.createElement(i.a.Fragment,null,o(s,{answerCount:l,questions:c}))}));const up=e=>{const{t:t}=Ir(),{displayNumber:n,elementType:r}=e;return i.a.createElement("div",null,"exam"!==r&&"toc-section"!==r?t(r,{displayNumber:n})||i.a.createElement(fp,{...e}):""," ",i.a.createElement(cp,{...e}))},dp=({displayNumber:e,characterCount:t})=>{const{t:n}=Ir();return i.a.createElement("div",null,n("question",{displayNumber:e})," ",n("answer-errors.answer-too-long",{count:t}))},fp=({elementType:e,displayNumber:t})=>{if("section"===e){const{root:e}=Object(r.useContext)(Gr),n=ye(e,e=>"section"===e.localName&&e.getAttribute("display-number")===t);if(n){const e=ye(n,"section-title");if(e)return i.a.createElement(i.a.Fragment,null,e.textContent.trim()+":")}}return null};var pp=i.a.memo(()=>{const e=qi(e=>e.answers.validationErrors);return e.length>0?i.a.createElement("div",{className:"error-indicator e-columns e-columns--inline e-bg-color-error e-color-off-white e-font-size-xs e-pad-1 e-mrg-r-1",role:"alert"},i.a.createElement("div",{className:"e-column e-column--narrow"},i.a.createElement(xa,{size:"lg",icon:ia,fixedWidth:!0,className:"e-mrg-r-1"})),i.a.createElement("div",{className:"e-column e-column--gapless"},e.map(e=>{const t=e.type+e.displayNumber;switch(e.type){case"ExtraAnswer":return i.a.createElement(up,{...e,key:t});default:return i.a.createElement(dp,{...e,key:t})}}))):null});var hp=i.a.memo(Vr((function({element:e,renderChildNodes:t}){const{isExternal:n}=Object(r.useContext)(Hr);return n?null:i.a.createElement("span",{className:"exam-attachment e-mrg-b-2"},t(e))})));var gp=i.a.memo((function({element:e,renderChildNodes:t}){return i.a.createElement(as,null,t(e))}));var mp=i.a.memo((function({element:e,renderChildNodes:t}){return i.a.createElement("div",{className:"exam-instruction notification e-pad-4"},t(e))}));var yp=i.a.memo(is((function({element:e,renderChildNodes:t}){const n=qi(e=>e.cas.casStatus),{casForbidden:a}=Object(r.useContext)(ps),{displayNumber:o,level:s}=Object(r.useContext)(rs);return a&&"forbidden"!==n?null:i.a.createElement("div",{className:Xr()("exam-question",{"e-mrg-b-8 e-clearfix":0===s,"e-mrg-l-8 e-mrg-y-4":s>0}),id:o},t(e))})));var vp=i.a.memo((function({element:e,renderChildNodes:t}){const n=Nr(e);return i.a.createElement("div",{className:"exam-question-instruction e-mrg-b-2",id:n},t(e))}));var bp=()=>i.a.createElement(xa,{size:"lg",icon:sa,fixedWidth:!0,className:"e-color-link e-mrg-r-1"});var Ip=i.a.memo(({element:e,renderChildNodes:t})=>{const{displayNumber:n,maxScore:a,level:o,maxAnswers:s,childQuestions:l}=Object(r.useContext)(rs),c="h"+Math.min(3+o,6),u=Er(n);return i.a.createElement(i.a.Fragment,null,i.a.createElement(c,{id:u,className:Xr()("exam-question-title",{"e-normal e-font-size-m":o>0})},i.a.createElement("strong",{className:Xr()("exam-question-title__display-number",{"exam-question-title__display-number--indented":o>0})},ss(n)+" "),t(e)," ",i.a.createElement(ap,{score:a,size:0===o?"large":"small"})),null!=s&&l.length>0&&i.a.createElement("p",{className:"e-italic"},i.a.createElement(bp,null),i.a.createElement(cp,{maxAnswers:s,childQuestions:l,elementType:"question"})))});var xp=({duration:e,durationRemaining:t,className:n})=>{const a=Object(r.useRef)(null),[o,s]=Object(r.useState)(!1);return Object(r.useEffect)(()=>{a.current.clientTop,s(!0)},[]),i.a.createElement("div",{className:Xr()("e-progress-bar",n),ref:a},i.a.createElement("div",{className:Xr()("e-progress-bar__fill",{"e-progress-bar__fill--animating":o}),style:{transitionDuration:e+"s"},role:"progressbar","aria-valuemax":e,"aria-valuemin":0,"aria-valuenow":e-t}))};function wp(){const{t:e}=Ir();return i.a.createElement("p",null,i.a.createElement("em",null,e("end-of-exam")))}function Tp(e){const t=Yi(),{t:n}=Ir(),{casCountdownDuration:a}=Object(r.useContext)(us);return i.a.createElement("div",{className:"e-cas-controls"},"forbidden"===e.casStatus?i.a.createElement("div",{className:"e-text-center"},i.a.createElement("hr",{className:"e-exam-separator"}),i.a.createElement("p",{id:"e-cas-controls-forbidden-description"},n("cas.forbidden.infoText")),i.a.createElement("button",{className:"e-button",id:"allow-cas",onClick:()=>{return t((e=a,Object(Io.action)("ALLOW_CAS",e)));var e},"aria-describedby":"e-cas-controls-forbidden-description"},n("cas.forbidden.buttonText"))):"allowing"===e.casStatus?i.a.createElement("div",{className:"e-text-center",ref:t=>null!=t&&a===e.durationRemaining&&t.scrollIntoView()},i.a.createElement("hr",{className:"e-exam-separator"}),i.a.createElement("p",{id:"e-cas-controls-allowing-description"},n("cas.allowing.infoText")),i.a.createElement(xp,{className:"e-mrg-b-2",duration:a,durationRemaining:e.durationRemaining}),i.a.createElement("button",{className:"e-button",id:"allow-cas-cancelled",onClick:()=>t(Ud()),ref:t=>null!=t&&a===e.durationRemaining&&t.focus(),"aria-describedby":"e-cas-controls-allowing-description"},n("cas.allowing.cancel",{count:e.durationRemaining}))):i.a.createElement("div",{className:"notification e-text-left e-mrg-b-0"},n("cas.allowed.infoText")))}var Mp=i.a.memo(hs((function({element:e,renderChildNodes:t}){const n=qi(e=>e.cas,Ti),{casForbidden:a,displayNumber:o}=Object(r.useContext)(ps),{sections:s}=Object(r.useContext)(Gr),l=e===yt(s);return i.a.createElement(as,{className:"exam-section","aria-labelledby":Cr(o)},t(e),a&&i.a.createElement(Tp,{...n}),l&&i.a.createElement(wp,null))})));var Ap=i.a.memo((function({element:e,renderChildNodes:t}){const{sections:n}=Object(r.useContext)(Gr),{displayNumber:a,minAnswers:o,maxAnswers:s,childQuestions:l}=Object(r.useContext)(ps),{t:c}=Ir();return i.a.createElement(i.a.Fragment,null,e.hasChildNodes()&&i.a.createElement("h2",{className:"exam-section-title",id:Cr(a)},n.length>1&&c("section",{displayNumber:a})," ",t(e)),null!=s&&i.a.createElement("span",{className:"notification notification--inline"},i.a.createElement(bp,null),i.a.createElement(cp,{maxAnswers:s,minAnswers:o,childQuestions:l,elementType:"section"})))}));function Cp(e){return yt(e.split("."))+"."}function Ep({answer:e,focusedQuestionId:t,renderChildNodes:n}){const r=be(e,"question-id"),a=e.getAttribute("display-number"),o=ye(e,"hint");return i.a.createElement("p",{className:Xr()("e-hints__hint",{"e-hints__hint--focused":t===r}),onClick:()=>{const e=document.querySelector(`.text-answer[data-question-id="${r}"]`);e&&e.focus()},"data-question-id":r},Cp(a)," ",n(o))}var Np=({element:e,renderChildNodes:t})=>{const n=qi(e=>e.answers.focusedQuestionId),r=ge(e,["text-answer","scored-text-answer"]).filter(e=>null!=ye(e,"hint"));return r.length>0?i.a.createElement("div",{className:"e-columns"},i.a.createElement("div",{className:"e-column e-column--8"},t(e)),i.a.createElement("div",{className:"e-hints e-column e-column--4","aria-hidden":"true"},r.map((e,r)=>i.a.createElement(Ep,{answer:e,focusedQuestionId:n,renderChildNodes:t,key:r})))):i.a.createElement(i.a.Fragment,null,t(e))};const Sp=Ae({});var kp=i.a.memo((function(e){const{root:t}=Object(r.useContext)(Gr),{t:n}=Ir(),a=ge(t,"reference").filter(e=>null==me(e,"external-material"));return a.length>0?i.a.createElement(as,{"aria-labelledby":"references-title"},i.a.createElement("h2",{id:"references-title"},n("references.heading")),i.a.createElement("ol",{className:"e-list-data e-color-darkgrey e-light"},a.map((e,t)=>{const n=me(e,"question").getAttribute("display-number");return i.a.createElement("li",{"data-list-number":ss(n),key:`${n}${t}`},i.a.createElement(zo,{element:e,renderChildNodes:Sp}))}))):null}));var jp=i.a.memo((function(){const e=qi(ta),{t:t}=Ir();return"initial"===e?null:i.a.createElement("div",{className:"save-indicator e-pad-1 e-font-size-xs"},i.a.createElement("span",{className:Xr()("save-indicator-text","save-indicator-text--"+e)},t("answer-saved")))}));var Dp=i.a.memo((function({element:e,renderChildNodes:t}){return i.a.createElement("div",{className:"e-mrg-b-2"},t(e))}));const Lp=e=>{const{showAttachmentLinks:t,showAnsweringInstructions:n}=e,a=({element:e})=>{const{sections:t}=Object(r.useContext)(Gr),{childQuestions:a,displayNumber:s,minAnswers:l,maxAnswers:c}=Object(r.useContext)(ps),{t:u}=Ir();return i.a.createElement(i.a.Fragment,null,e.hasChildNodes()&&i.a.createElement("header",{className:"e-semibold",id:jr(s)},t.length>1&&u("section",{displayNumber:s})," ",o(e)),n&&null!=c&&i.a.createElement("div",null,i.a.createElement(cp,{maxAnswers:c,minAnswers:l,childQuestions:a,elementType:"toc-section"})))},o=Ae({section:hs(({element:e,renderChildNodes:t})=>{const{displayNumber:n}=Object(r.useContext)(ps),o=ye(e,"section-title");return i.a.createElement("li",null,o&&i.a.createElement(a,{element:o,renderChildNodes:t}),i.a.createElement("ol",{className:"e-list-data e-pad-l-0","aria-labelledby":o&&jr(n)},t(e,1)))}),question:is(({element:e})=>{const{attachmentsURL:n}=Object(r.useContext)(Gr),{displayNumber:a,maxScore:s}=Object(r.useContext)(rs),{t:l}=Ir(),c=ye(e,"question-title"),u=t&&null!=a&&he(e,"external-material");return i.a.createElement("li",{"data-list-number":a+"."},i.a.createElement("div",{className:"e-columns"},i.a.createElement("span",{className:"e-column"},i.a.createElement("a",{href:_r("",{hash:a})},o(c))),u&&i.a.createElement("span",{className:"e-column e-column--narrow"},i.a.createElement("a",{href:_r(n,{hash:ve(me(u,"question"),"display-number")}),target:"attachments"},l("material"))),i.a.createElement("span",{className:"e-column e-column--narrow table-of-contents--score-column"},l("points",{count:s}))))})});return i.a.memo(()=>{const{root:e,maxScore:t}=Object(r.useContext)(Gr),{t:n}=Ir();return i.a.createElement("nav",{className:"table-of-contents e-mrg-b-6","aria-labelledby":"toc-title"},i.a.createElement("h2",{id:"toc-title"},n("toc-heading")),i.a.createElement("ol",{className:"e-list-plain e-pad-l-0"},o(e)),i.a.createElement("div",{className:"e-columns"},i.a.createElement("strong",{className:"e-column"},n("exam-total")),i.a.createElement("strong",{className:"e-column e-column--narrow table-of-contents--score-column"},n("points",{count:t}))))})};var Op=i.a.memo((function({answer:e,element:t,screenshotError:n,validationError:r,selectAnswerVersion:a,showAnswerHistory:o=!1,supportsAnswerHistory:s=!1}){const{t:l}=Ir(),c=null==e?void 0:e.characterCount,u=be(t,"max-length");return i.a.createElement("div",{className:"answer-toolbar e-font-size-xs e-color-darkgrey e-columns e-mrg-b-2"},i.a.createElement("div",{className:Xr()("answer-toolbar__answer-length e-column",{"e-color-error":null!=r})},null!=e?l(null!=u?"answer-length-with-max-length":"answer-length",{count:c,maxLength:u}):" ",n?i.a.createElement("span",{className:"e-color-error",role:"alert"}," ",l("answer-errors."+n.key,n.options)):r?i.a.createElement("span",null," ",l("answer-errors.answer-too-long",{count:r.characterCount})):null),i.a.createElement("div",{className:"answer-toolbar__history e-column e-column--narrow e-text-right"},s&&i.a.createElement("div",{className:"answer-toolbar__select-previous-version"},o&&null!=e?i.a.createElement("button",{className:"answer-toolbar__previous-versions e-link-button e-font-size-xs",onClick:()=>{if(a){const n=ye(me(t,"question"),"question-title");a(e.questionId,n.textContent)}}},l("previous-answer-versions")):" ")))}));var Pp=function(e,t){if("function"!=typeof t)throw new TypeError("Expected a function");return e=Qo(e),function(){if(--e<1)return t.apply(this,arguments)}},Rp=n(3),zp=n.n(Rp),_p=n(7),Up=[{label:"Perusmerit ja kreikkalaiset aakkoset",characters:[{character:"°",popular:!0},{character:"·",latexCommand:"\\cdot",popular:!0},{character:"±",latexCommand:"\\pm",popular:!0},{character:"∞",latexCommand:"\\infty",popular:!0},{character:"²",latexCommand:"^2",popular:!0},{character:"³",latexCommand:"^3",popular:!0},{character:"½",latexCommand:"\\frac{1}{2}",popular:!0},{character:"⅓",latexCommand:"\\frac{1}{3}",popular:!0},{character:"π",latexCommand:"\\pi",popular:!0},{character:"α",latexCommand:"\\alpha",popular:!0},{character:"β",latexCommand:"\\beta",popular:!0},{character:"Γ",latexCommand:"\\Gamma"},{character:"γ",latexCommand:"\\gamma"},{character:"Δ",latexCommand:"\\Delta"},{character:"δ",latexCommand:"\\delta"},{character:"ε",latexCommand:"\\varepsilon"},{character:"ζ",latexCommand:"\\zeta"},{character:"η",latexCommand:"\\eta"},{character:"θ",latexCommand:"\\theta"},{character:"ϑ",latexCommand:"\\vartheta"},{character:"&iota;",latexCommand:"\\iota"},{character:"κ",latexCommand:"\\kappa"},{character:"Λ",latexCommand:"\\Lambda"},{character:"λ",latexCommand:"\\lambda"},{character:"µ",latexCommand:"\\mu"},{character:"ν",latexCommand:"\\nu"},{character:"Ξ",latexCommand:"\\Xi"},{character:"ξ",latexCommand:"\\xi"},{character:"∏",latexCommand:"\\Pi"},{character:"ρ",latexCommand:"\\rho"},{character:"∑",latexCommand:"\\Sigma"},{character:"σ",latexCommand:"\\sigma"},{character:"τ",latexCommand:"\\tau"},{character:"Υ",latexCommand:"\\Upsilon"},{character:"υ",latexCommand:"\\upsilon"},{character:"Φ",latexCommand:"\\Phi"},{character:"Ф",latexCommand:"\\phi"},{character:"χ",latexCommand:"\\chi"},{character:"Ψ",latexCommand:"\\Psi"},{character:"ψ",latexCommand:"\\psi"},{character:"Ω",latexCommand:"\\Omega"},{character:"ω",latexCommand:"\\omega"},{character:"∂",latexCommand:"\\partial"},{character:"φ",latexCommand:"\\varphi"}]},{label:"Algebra",characters:[{character:"≠",latexCommand:"\\neq",popular:!0},{character:"≈",latexCommand:"\\approx",popular:!0},{character:"≤",latexCommand:"\\leq",popular:!0},{character:"≥",latexCommand:"\\geq"},{character:"<"},{character:">"},{character:"∼",latexCommand:"\\sim"},{character:"≡",latexCommand:"\\equiv"},{character:"≢",latexCommand:"\\not\\equiv"},{character:"∘",latexCommand:"\\circ"},{character:"…",latexCommand:"\\ldots"},{character:"∝",latexCommand:"\\propto"}]},{label:"Geometria ja vektorioppi",characters:[{character:"∢",latexCommand:"\\sphericalangle",popular:!0},{character:"|",latexCommand:"\\mid",popular:!0},{character:"‖",latexCommand:"\\parallel",popular:!0},{character:"⇌",latexCommand:"\\xrightleftharpoons",noWrite:!0},{character:"⇅"},{character:"∠",latexCommand:"\\angle"},{character:"↑",latexCommand:"\\uparrow"},{character:"↗",latexCommand:"\\nearrow"},{character:"↘",latexCommand:"\\searrow"},{character:"↓",latexCommand:"\\downarrow"},{character:"↔",latexCommand:"\\leftrightarrow"},{character:"⊥",latexCommand:"\\perp"}]},{label:"Logiikka ja joukko-oppi",characters:[{character:"→",latexCommand:"\\rightarrow",popular:!0},{character:"⇒",latexCommand:"\\Rightarrow",popular:!0},{character:"⇔",latexCommand:"\\Leftrightarrow",popular:!0},{character:"∈",latexCommand:"\\in",popular:!0},{character:"ℤ",latexCommand:"\\mathbb{Z}",popular:!0},{character:"ℝ",latexCommand:"\\mathbb{R}",popular:!0},{character:"∃",latexCommand:"\\exists"},{character:"∀",latexCommand:"\\forall"},{character:"ℕ",latexCommand:"\\mathbb{N}"},{character:"ℚ",latexCommand:"\\mathbb{Q}"},{character:"∩",latexCommand:"\\cap"},{character:"∪",latexCommand:"\\cup"},{character:"∖",latexCommand:"\\setminus"},{character:"⊂",latexCommand:"\\subset"},{character:"⊄",latexCommand:"\\notsubset"},{character:"∉",latexCommand:"\\notin"},{character:"∅",latexCommand:"\\empty"},{character:"∧",latexCommand:"\\and"},{character:"∨",latexCommand:"\\or"},{character:"¬"},{character:"∇",latexCommand:"\\nabla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CgxIDAgMCAtMSAwIDApIiBhcmlhLWhpZGRlbj0idHJ1ZSI+CiA8dXNlIHhsaW5rOmhyZWY9IiNFMS1MQVRJTk1PREVSTk1BSU4tNTQiIHg9IjAiIHk9IjAiPjwvdXNlPgo8L2c+Cjwvc3ZnPg=="}];function Zp(e,t,n,r){let i;const a=zp()(`<div class="rich-text-editor-overlay rich-text-editor-hidden">\n <div class="rich-text-editor-overlay-modal" aria-modal="true" tabindex="0" data-js="overlayModal" >\n <div class="rich-text-editor-modal-columns">\n <div class="rich-text-editor-modal-column rich-text-editor-modal-column-2" data-i18n="[html]rich_text_editor.help_overlay.screenshot">\n ${n.help_overlay.screenshot}\n </div>\n <div class="rich-text-editor-modal-column rich-text-editor-modal-column-1" data-i18n="[html]rich_text_editor.help_overlay.equation">\n ${n.help_overlay.equation}\n </div>\n </div>\n <button data-js="closeOverlayButton" class="rich-text-editor-close-overlay-button"></button>\n </div>\n</div>`).on("mousedown",'[data-js="closeOverlayButton"]',e=>{e.preventDefault(),zp()("body").removeClass("rich-text-editor-overlay-open"),a.addClass("rich-text-editor-hidden"),i.focus()}).on("mousedown",e=>{e.target.classList.contains("rich-text-editor-overlay")&&(e.preventDefault(),e.stopPropagation(),zp()("body").removeClass("rich-text-editor-overlay-open"),a.addClass("rich-text-editor-hidden"),i.focus())}),o=zp()(`\n <div class="rich-text-editor-tools" data-js="tools">\n\n <div class="rich-text-editor-tools-button-wrapper">\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-characters-expand-collapse" data-js="expandCollapseCharacters" style="z-index: 100"></button>\n </div>\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-help-button" data-js="richTextEditorHelp" style="z-index: 100"></button>\n </div>\n </div>\n <div class="rich-text-editor-tools-row">\n <div class="rich-text-editor-toolbar-wrapper">\n <div class="rich-text-editor-toolbar-characters rich-text-editor-toolbar rich-text-editor-toolbar-button-list" data-js="charactersList"></div>\n </div>\n </div>\n <div class="rich-text-editor-tools-row">\n <div class="rich-text-editor-toolbar-wrapper rich-text-editor-equation-wrapper">\n <div class="rich-text-editor-toolbar-equation rich-text-editor-toolbar rich-text-editor-toolbar-button-list" data-js="mathToolbar"></div>\n </div>\n </div>\n <div class="rich-text-editor-tools-button-wrapper">\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-new-equation rich-text-editor-button rich-text-editor-button-action" data-js="newEquation" data-command="Ctrl-E" data-i18n="rich_text_editor.insert_equation">Σ ${n.insertEquation}</button>\n </div>\n </div>\n </div>\n `).on("mousedown",e=>{e.preventDefault()}).on("mousedown",'[data-js="expandCollapseCharacters"]',e=>{e.preventDefault(),o.toggleClass("rich-text-editor-show-all-characters")}).on("mousedown",'[data-js="richTextEditorHelp"]',e=>{e.preventDefault(),i=document.activeElement,zp()("body").addClass("rich-text-editor-overlay-open"),a.removeClass("rich-text-editor-hidden"),a.find('[data-js="overlayModal"]').focus(),zp()(window).on("keydown.help",e=>{27===e.keyCode&&(e.stopPropagation(),e.preventDefault(),zp()("body").removeClass("rich-text-editor-overlay-open"),a.addClass("rich-text-editor-hidden"),zp()(window).off("keydown.help"))})}),s=o.find('[data-js="newEquation"]'),l=o.find('[data-js="mathToolbar"]');return function(e,t,n){e.find('[data-js="charactersList"]').append(Up.map(e=>`<div class="rich-text-editor-toolbar-characters-group"\n style="width: ${35*(e=>e.characters.filter(e=>e.popular).length)(e)}px">\n ${e.characters.map(Gp).join("")}\n </div>`)).on("mousedown","button",e=>{e.preventDefault();const r=e.currentTarget.innerText,i=e.currentTarget.dataset.command,a="true"===e.currentTarget.dataset.usewrite;n()?window.document.execCommand("insertText",!1,r):t.insertMath(i||r,void 0,a)})}(o,e,t),function(e,t){e.append(Fp.map(e=>"string"==typeof e?e:`<button class="rich-text-editor-button rich-text-editor-button-grid" data-command="${e.action}" data-latexcommand="${e.label||""}" data-usewrite="${e.useWrite||!1}">\n<img src="${e.svg}"/>\n</button>`).join("")).on("mousedown","button",e=>{e.preventDefault();const n=e.currentTarget.dataset;t.insertMath(n.command,n.latexcommand,"true"===n.usewrite)})}(l,e),function(e,t,n){e.mousedown((e=>{e.preventDefault(),n()&&t.insertNewEquation()}).bind(this))}(s,e,t),zp.a.fn.i18n?o.i18n():zp.a.fn.localize&&o.localize(),{toolbar:o,helpOverlay:a}}const Gp=e=>`<button class="rich-text-editor-button rich-text-editor-button-grid${e.popular?" rich-text-editor-characters-popular":""}" ${e.latexCommand?`data-command="${e.latexCommand}"`:""} data-usewrite="${!e.noWrite}">${e.character}</button>`;var Bp=n(41),Yp=n(42);if(!Yp)throw new Error("MathQuill is required but has not been loaded");const Wp=13,Hp=27;window.mathEditorState=window.mathEditorState||{firstTime:!0,MQ:void 0};const Vp=window.mathEditorState,qp=function(e){const t=e.trim();return""===t.replace(/(\\|\s)*/g,"")?"":t};const Qp={FI:{editor:{mathEditor:"Matikkaeditori",title:"Kaavaeditorin kehitysversio",description:"\n<ul>\n<li>“Lisää kaava” -napin alta löydät yleisimpiä matematiikassa, fysiikassa ja\nkemiassa käytettäviä merkintöjä. Lisäksi erikoismerkkejä voi käyttää kaavan kirjoittamiseen.</li>\n <li>Kaavoja voi rakentaa\nnapsauttamalla valikon merkintöjä ja/tai kirjoittamalla LaTeXia.</li>\n <li>Editorin vastauskenttään voi kirjoittaa tekstiä ja kaavoja sekä\nlisätä kuvia.</li></ul>",shortcutTitle:"Pikanäppäinvinkkejä",shortcuts:'<table><tbody>\n<tr><th>Liitä kuva leikepöydältä</th><td>Ctrl-V</td></tr>\n<tr><th>Kirjoita kaava</th><td>Ctrl-E</td></tr>\n<tr><th colspan="2">Kaavassa</th></tr>\n<tr><th>Jakoviiva</th><td>/</td></tr>\n<tr><th>Kertomerkki</th><td>*</td></tr>\n<tr><th>Eksponentti</th><td>^</td></tr>\n<tr><th>Sulje kaava</th><td>Esc</td></tr>\n<tr><th>Lisää kaava seuraavalle riville</th><td>Enter</td></tr>\n</tbody>\n</table>',formatting:"Muotoilu",specialCharacters:"Erikoismerkit",insertEquation:"Lisää kaava",close:"sulje",save:"Tallenna",updated:"Päivitetty",sendFeedback:"Lähetä palautetta",langLink:"/sv",langLabel:"På svenska",answerTitle:"Vastaus",toggleInstructions:"Näytä ohjeet",help_overlay:{screenshot:'<h3>Kuvakaappaukset</h3><p>Tee kuva haluamallasi ohjelmalla. Napsauta yläpalkista kuvakaappauskuvaketta <span class="screen-shot-image"></span> ja rajaa haluamasi kuva-alue näytöltä. <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span> liittää kuvan vastauskenttään kursorin kohdalle. Voit vaihtaa kuvan paikkaa raahaamalla tai leikkaamalla kuvan komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">X</span> ja liittämällä sen komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span> haluamaasi paikkaan.</p>',equation:'<h3>Kaavat</h3><p>Kaava lisätään komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">E</span><br>Pikakomennot kaavassa:</p><table class="rich-text-editor-help-shortcuts"><tbody><tr><th>Jakoviiva</th><td><span class="rich-text-editor-help-key">/</span></td></tr><tr><th>Kertomerkki</th><td><span class="rich-text-editor-help-key">*</span></td></tr><tr><th>Yläindeksi</th><td><span class="rich-text-editor-help-key">^</span></td></tr><tr><th>Alaindeksi</th><td><span class="rich-text-editor-help-key">_</span></td></tr><tr><th>Lisää kaava seuraavalle riville</th><td><span class="rich-text-editor-help-key">↵</span></td></tr><tr><th>Sulje kaava</th><td><span class="rich-text-editor-help-key">esc</span></td></tr></tbody></table>'}},annotating:{sendFeedback:"Lähetä palautetta",updated:"Päivitetty",mathEditor:"Matikkaeditori",title:"Arvostelu",backLink:"/",backLinkLabel:"Palaa kaavaeditoriin",save:"Tallenna merkinnät",langLink:"/sv/bedomning",langLabel:"På svenska"}},SV:{editor:{mathEditor:"Matematikeditor",title:"Formeleditorns utvecklingsversion",description:"\n<ul>\n <li>Under knappen “Lägg till formel” hittar du de vanligaste beteckningarna som används i matematik, fysik och kemi. Dessutom kan du använda specialtecken för att skriva formler.</li>\n<li>Det går att konstruera formler genom att klicka på beteckningarna i menyerna och/eller genom att skriva LaTeX.</li>\n<li>Det går förutom att skriva text och formler, att också att lägga till bilder i svarsfältet.</li></ul>",shortcutTitle:"Tips på tangentkombinationer",shortcuts:'<table><tbody>\n<tr><th>Lägg till en bild från urklippet</th><td>Ctrl-V</td></tr>\n<tr><th>Skriv en formel</th><td>Ctrl-E</td></tr>\n<tr><th colspan="2">I formeln </th></tr>\n<tr><th>Bråkstreck</th><td>/</td></tr>\n<tr><th>Multiplikationstecken</th><td>*</td></tr>\n<tr><th>Exponent</th><td>^</td></tr>\n<tr><th>Stäng formeln</th><td>Esc</td></tr>\n<tr><th>Lägg till en formel på följande rad</th><td>Enter</td></tr>\n</tbody>\n</table>',formatting:"Formatering",specialCharacters:"Specialtecken",insertEquation:"Lägg till formel",close:"stäng",save:"Spara",updated:"Uppdaterad",sendFeedback:"Skicka feedback",langLink:"/",langLabel:"Suomeksi",answerTitle:"Svar",toggleInstructions:"Visa intruktioner",help_overlay:{screenshot:'<h3>Skärmdumpar</h3><p>Skapa bilden med valbart program. Klicka på skärmdumpsikonen i övre balken<span class="screen-shot-image"></span> och avgränsa den delen av skärmen du vill använda.<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span>bifogar bilden i svarsfältet där kursorn ligger. Du kan ändra på bildens position genom att släpa bilden eller genom att klippa den med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">X</span>och klistra in den med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span>på valbart ställe.</p>',equation:'<h3>Formler</h3><p>Formeln läggs till med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<spanclass="rich-text-editor-help-key">E</span><br />Snabbkommandon med formler:</p><table class="rich-text-editor-help-shortcuts"><tbody><tr><th>Divisionsstreck</th><td><span class="rich-text-editor-help-key">/</span></td></tr><tr><th>Multiplikationstecken</th><td><span class="rich-text-editor-help-key">*</span></td></tr><tr><th>Upphöjt index</th><td><span class="rich-text-editor-help-key">^</span></td></tr><tr><th>Nedsänkt index</th><td><span class="rich-text-editor-help-key">_</span></td></tr><tr><th>Lägg till formel på nästa rad</th><td><span class="rich-text-editor-help-key">↵</span></td></tr><tr><th>Stäng formeln</th><td><span class="rich-text-editor-help-key">esc</span></td></tr></tbody></table>'}},annotating:{sendFeedback:"Skicka respons",updated:"Uppdaterad",mathEditor:"Matematikeditor",title:"Bedömning",backLink:"/sv",backLinkLabel:"Matematikeditor",save:"Spara anteckningar",langLink:"/tarkistus",langLabel:"Suomeksi"}}},Jp=69,Xp=zp()('<div class="rich-text-editor-hidden" style="display: none;" data-js="outerPlaceholder">');window.richTextEditorState=window.richTextEditorState||{focus:{richText:!1,latexField:!1,equationField:!1},$currentEditor:void 0,firstCall:!0,math:void 0,$toolbar:void 0};const Kp=window.richTextEditorState,$p=Kp.focus,eh=(e,t,n=(()=>{}))=>{const r=Qp[t.locale||"FI"].editor,i=t.screenshot.saver,a=t.baseUrl||"";if(Kp.firstCall){Kp.firstCall=!1,Kp.math=function(e,t,n,r=((e,t)=>{const r=qp(t),i=r.replace(/</g,"\\lt ").replace(/>/g,"\\gt ");e.prop({src:n+"/math.svg?latex="+encodeURIComponent(r),alt:i}),e.closest('[data-js="answer"]').trigger("input")})){let i;Vp.firstTime&&(Vp.MQ=Yp.getInterface(2),Vp.firstTime=!1);const a=zp()('\n <div class="math-editor" data-js="mathEditor">\n <div class="math-editor-equation-field" data-js="equationField"></div>\n <textarea rows="1" class="math-editor-latex-field" data-js="latexField" placeholder="LaTeΧ"></textarea>\n </div>');e.append(a);const o=a.find('[data-js="latexField"]'),s=a.find('[data-js="equationField"]');let l,c=!1,u=null;const d=Vp.MQ.MathField(s.get(0),{handlers:{edit:p,enter:()=>{I(!0),setTimeout(()=>y("<br>"),2)}}});function f(e){zp()(".rich-text-editor-overlay").is(":visible")||(_p.d(e,Wp)||_p.e(e,Hp))&&I(!0)}return s.on("input",".mq-textarea textarea",p).on("focus blur",".mq-textarea textarea",e=>{t.equationField="blur"!==e.type&&"focusout"!==e.type,m()}).on("keydown",f).on("paste",e=>e.stopPropagation()),o.on("keypress",(function(e){","===e.originalEvent.key&&(e.preventDefault(),_p.b(o.get(0),"{,}"));h(e)})).on("input paste",h).on("focus blur",e=>{t.latexField="blur"!==e.type,m()}).on("keydown",f).on("paste",e=>e.stopPropagation()),{insertNewEquation:y,insertMath:function(e,n,r){t.latexField?(_p.b(o.get(0),n||e),h()):t.equationField&&(r?d.write(e):d.typedText(e),~e.indexOf("\\")&&d.keystroke("Spacebar"),setTimeout(()=>d.focus(),0))},openMathEditor:function(e){c&&I();_p.i(e),v(e)},closeMathEditor:I};function p(e){e&&e.originalEvent&&e.originalEvent.stopPropagation(),clearTimeout(l),l=setTimeout(()=>{if(t.latexField)return;const e=d.latex();o.val(e),b(a.prev(),e),g()},0)}function h(e){e&&e.originalEvent&&e.originalEvent.stopPropagation(),b(a.prev(),o.val()),setTimeout(()=>d.latex(o.val()),1),g()}function g(){o.get(0).style.height="auto",o.get(0).style.height=o.get(0).scrollHeight+"px"}function m(){clearTimeout(u),u=setTimeout(()=>{a.trigger({type:"mathfocus",hasFocus:t.latexField||t.equationField}),t.latexField||t.equationField||I()},0)}function y(e=""){window.document.execCommand("insertHTML",!1,e+'<img data-js="new" alt="" src="" style="display: none"/>'),v(zp()('[data-js="new"]').removeAttr("data-js"))}function v(e){e.hide(),e.after(a),c=!0,t.equationField=!0,x(!0),setTimeout(()=>d.focus(),0),o.val(e.prop("alt")),h(),_p.h(a)}function b(e,t){clearTimeout(i),i=setTimeout(()=>{r(e,t)},500)}function I(n=!1){const i=a.closest('[data-js="answer"]'),s=a.prev();""===qp(o.val())?s.remove():(s.show(),r(s,o.val())),x(!1),c=!1,t.latexField=!1,t.equationField=!1,a.trigger({type:"mathfocus",hasFocus:t.latexField||t.equationField}),e.append(a),n&&i.focus()}function x(e){zp()("body").toggleClass("math-editor-focus",e)}}(Xp,$p,a,t.updateMathImg);const e=Zp(Kp.math,()=>$p.richText,r);Kp.$toolbar=e.toolbar;const n=e.helpOverlay;zp()("body").append(Xp,Kp.$toolbar,n)}n(_p.g(e));let o=!1;zp()(e).attr({contenteditable:!0,spellcheck:!1,"data-js":"answer"}).addClass("rich-text-editor").on("click",_p.a,e=>{1===e.which&&(nh(zp()(e.target).closest('[data-js="answer"]')),Kp.math.openMathEditor(zp()(e.target)))}).on("keydown",e=>{!_p.d(e,Jp)||$p.equationField||$p.latexField||(e.preventDefault(),Kp.math.insertNewEquation())}).on("mathfocus",e=>{zp()(e.currentTarget).toggleClass("rich-text-focused",e.hasFocus),oh()&&rh(Kp.$currentEditor)}).on("focus blur",e=>{"focus"===e.type&&Kp.math.closeMathEditor(),function(e){$p.richText="focus"===e.type,zp()(e.currentTarget).toggleClass("rich-text-focused",$p.richText),clearTimeout(ah),ah=setTimeout(()=>{!zp()("body").hasClass("rich-text-editor-overlay-open")&&oh()?rh(zp()(e.target)):nh(zp()(e.target))},0)}(e)}).on("input",e=>{o||n(_p.g(e.currentTarget))}).on("drop",e=>{o=!0,setTimeout(()=>{zp()(e.target).html(_p.f(e.target.innerHTML)),Bp.b(zp()(e.currentTarget),i),o=!1},100)}).on("paste",e=>{o=!0,setTimeout(()=>o=!1,0),Bp.a(e,i)}),setTimeout(()=>document.execCommand("enableObjectResizing",!1,!1),0)};function th(e,t){zp()("body").toggleClass("rich-text-editor-focus",e),t.toggleClass("rich-text-focused",e)}function nh(e){Kp.$currentEditor=e,ih(),th(!0,Kp.$currentEditor)}function rh(e){th(!1,e),ih(),$p.richText=!1}function ih(){Kp.$toolbar.addClass("rich-text-editor-tools--animating").one("transitionend transitioncancel",()=>Kp.$toolbar.removeClass("rich-text-editor-tools--animating"))}let ah;function oh(){return!$p.richText&&!$p.latexField&&!$p.equationField}class sh extends i.a.PureComponent{constructor(e){super(e),this.handleSaveError=e=>{const t=(()=>{switch(Ji(e,"response.status")){case 409:return"screenshot-byte-limit-reached";case 413:return"screenshot-too-big";default:return"screenshot-upload-failed"}})();this.props.onError({key:t})},this.handleChange=e=>{const{onChange:t}=this.props;this.lastHTML=e.answerHTML,t(e.answerHTML,e.answerText)},this.ref=i.a.createRef(),this.lastHTML=this.props.answer?this.props.answer.value:""}componentDidMount(){const{current:e}=this.ref,{answer:t,saveScreenshot:n}=this.props;e&&(t&&(e.innerHTML=t.value),eh(e,{locale:this.context.language.slice(0,2).toUpperCase(),screenshot:{saver:({data:e,type:t})=>n(e instanceof Blob?e:new Blob([e],{type:t})).catch(e=>{throw this.handleSaveError(e),e})}},Pp(2,this.handleChange)))}componentDidUpdate(){const{current:e}=this.ref;e&&this.props.answer&&this.props.answer.value!==this.lastHTML&&(e.innerHTML=this.lastHTML=this.props.answer.value)}render(){const{className:e,questionId:t,invalid:n,lang:r,labelledBy:a}=this.props;return i.a.createElement("div",{ref:this.ref,className:Xr()("text-answer text-answer--multi-line",e),"data-question-id":t,role:"textbox","aria-multiline":"true","aria-invalid":n,tabIndex:0,lang:r,"aria-labelledby":a})}}sh.contextType=Gr;var lh=i.a.memo(({maxLength:e,id:t})=>{const{t:n}=Ir();return i.a.createElement("p",{id:t,className:"e-answer-length-info"},i.a.createElement(bp,null),i.a.createElement("em",null,n("max-length-info",{count:e})))});class ch extends i.a.PureComponent{constructor(e){super(e),this.onChange=e=>{const{element:t,saveAnswer:n}=this.props,r=be(t,"question-id"),i=t.getAttribute("display-number"),a=e.currentTarget.value.trim();n({type:"text",questionId:r,value:a,characterCount:uh(a),displayNumber:i}),this.clearErrors()},this.onRichTextChange=(e,t)=>{const{element:n,saveAnswer:r}=this.props,i=be(n,"question-id"),a=n.getAttribute("display-number");r({type:"richText",questionId:i,value:e,characterCount:uh(t),displayNumber:a}),this.clearErrors()},this.onFocus=()=>{this.props.answerFocused(be(this.props.element,"question-id"))},this.onBlur=()=>{this.props.answerBlurred(be(this.props.element,"question-id"))},this.onError=e=>{this.setState({screenshotError:e})},this.clearErrors=()=>{this.setState({screenshotError:void 0})},this.state={},this.ref=i.a.createRef()}componentDidMount(){this.resize()}componentDidUpdate(){this.resize()}resize(){const{current:e}=this.ref;if(e)if("multi-line"===this.props.type){const{scrollX:t,scrollY:n}=window;e.style.height="auto",e.style.height=e.scrollHeight+1+"px",window.scrollTo(t,n)}else"single-line"===this.props.type&&(e.style.width="0",e.style.width=e.scrollWidth+2+"px")}render(){const{answer:e,className:t,element:n,selectAnswerVersion:r,showAnswerHistory:a,supportsAnswerHistory:o,type:s,validationError:l,labelledBy:c,lang:u}=this.props,{screenshotError:d}=this.state,f=be(n,"question-id"),p=be(n,"max-score"),h=e&&e.value,g=Dr(n),m=be(n,"max-length"),y=null!=l;switch(s){case"rich-text":return i.a.createElement(i.a.Fragment,null,null!=m&&i.a.createElement(lh,{maxLength:m,id:Sr(n)}),i.a.createElement(us.Consumer,null,({examServerApi:n})=>i.a.createElement(sh,{answer:e,className:Xr()("text-answer text-answer--rich-text",t),saveScreenshot:e=>n.saveScreenshot(f,e),onChange:this.onRichTextChange,onError:this.onError,questionId:f,lang:u,invalid:y,labelledBy:c})),i.a.createElement(Op,{answer:e,element:n,selectAnswerVersion:r,showAnswerHistory:a,supportsAnswerHistory:o,screenshotError:d,validationError:l}));case"multi-line":return i.a.createElement(i.a.Fragment,null,null!=m&&i.a.createElement(lh,{maxLength:m}),i.a.createElement("textarea",{className:Xr()("text-answer text-answer--multi-line",t),defaultValue:h,onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,ref:this.ref,"data-question-id":f,lang:u,"aria-invalid":y,"aria-labelledby":c}),i.a.createElement(Op,{answer:e,element:n,selectAnswerVersion:r,showAnswerHistory:a,supportsAnswerHistory:o,screenshotError:d,validationError:l}));case"single-line":default:return i.a.createElement("span",{className:"e-nowrap"},i.a.createElement("input",{type:"text",className:Xr()("text-answer text-answer--single-line",t),defaultValue:h,onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,ref:this.ref,"data-question-id":f,lang:u,"aria-describedby":g,"aria-labelledby":c}),i.a.createElement(rs.Consumer,null,({answers:e})=>e.length>1&&i.a.createElement(ap,{score:p,size:"inline",id:g})))}}}function uh(e){return e.replace(/\s/g,"").length}var dh=Ui((function(e,{element:t}){const n=t.getAttribute("type")||"single-line",r=be(t,"question-id"),i=ve(t,"display-number"),a=e.answers.answersById[r],o=e.answers.supportsAnswerHistory;return{answer:a,showAnswerHistory:e.answers.supportsAnswerHistory&&e.answers.serverQuestionIds.has(r),supportsAnswerHistory:o,type:n,validationError:e.answers.validationErrors.find(e=>"AnswerTooLong"===e.type&&e.displayNumber===i)}}),{saveAnswer:Du,selectAnswerVersion:(e,t)=>Object(Io.action)("SELECT_ANSWER_VERSION",{questionId:e,questionText:t}),answerFocused:e=>Object(Io.action)("ANSWER_FOCUSED",e),answerBlurred:e=>Object(Io.action)("ANSWER_BLURRED",e)})(ch);const fh=({children:e})=>i.a.createElement("span",{className:"e-screen-reader-only"},e);var ph=i.a.memo((function(e){const{element:t,renderChildNodes:n}=e,{language:a}=Object(r.useContext)(Gr),{questionLabelIds:o}=Object(r.useContext)(rs),s=t.getAttribute("display-number"),l=ye(t,"hint"),c=Ie(t,"use-language-of-instruction")?a:void 0,u=t.hasAttribute("max-length")?o+" "+Sr(t):o,d=i.a.createElement(dh,{...e,lang:c,labelledBy:u});return l?i.a.createElement("label",{className:"e-nowrap"},i.a.createElement("sup",{className:"e-text-answer-display-number e-color-darkgrey"},Cp(s)),i.a.createElement(fh,null,n(l)),d):d}));const hh=Ae({attachment:hp,"attachment-link":Yr("link"),"attachment-links":Wr("link"),audio:Ao,"audio-title":Lo,"audio-group":Hd,"audio-test":Vd,"choice-answer":Qd,"dropdown-answer":sp,"exam-footer":gp,"external-material":Eo,file:No,formula:So,image:Do,question:yp,"question-instruction":vp,"question-title":Ip,hints:Np,references:kp,"scored-text-answer":ph,"scored-text-answers":Np,"section-instruction":Dp,section:Mp,"section-title":Ap,"text-answer":ph,video:_o,"image-overlay":es});var gh=i.a.memo(ds(Br(({doc:e,casStatus:t,answers:n,restrictedAudioPlaybackStats:a,examServerApi:o})=>{const{date:s,dateTimeFormatter:l,dayCode:c,examCode:u,language:d,resolveAttachment:f,root:p,subjectLanguage:h}=Object(r.useContext)(Gr),g=ye(p,"exam-title"),m=ye(p,"exam-instruction"),v=ye(p,"table-of-contents"),b=ye(p,"external-material"),I=p.getAttribute("exam-stylesheet"),x=zr(()=>Wd(function(e){const t=e.documentElement;return xs(t,ge(t,"section",!1).map(vs),{maxAnswers:be(t,"max-answers")})}(e),t,n,a,o)),w=zr(()=>Lp({showAttachmentLinks:!0,showAnsweringInstructions:!0})),T=zr(()=>br(d,u,c));return Object(r.useEffect)(xr(T,d)),Object(r.useEffect)(Rr,[]),i.a.createElement(oi,{store:x},i.a.createElement(y,{i18n:T},i.a.createElement("main",{className:"e-exam",lang:h,"aria-labelledby":"title"},i.a.createElement(i.a.StrictMode,null),I&&i.a.createElement("link",{rel:"stylesheet",href:f(I)}),i.a.createElement(as,{"aria-labelledby":"title"},g&&i.a.createElement(cs,{id:"title"},hh(g)),s&&i.a.createElement("p",null,i.a.createElement("strong",null,l.format(s))),m&&i.a.createElement(mp,{element:m,renderChildNodes:hh}),v&&i.a.createElement(w,{element:v,renderChildNodes:hh}),b&&i.a.createElement(Eo,{element:b,renderChildNodes:hh,forceRender:!0})),hh(p),i.a.createElement("div",{className:"e-footer"},i.a.createElement(pp,null),i.a.createElement(jp,null)))))})));var mh=hs(({element:e,renderChildNodes:t})=>{const{displayNumber:n}=Object(r.useContext)(ps);return i.a.createElement(as,{className:"e-grading-instruction-section","aria-labelledby":Cr(n)},t(e))});var yh=({element:e,renderChildNodes:t})=>{const{sections:n}=Object(r.useContext)(Gr),{displayNumber:a}=Object(r.useContext)(ps),{t:o}=Ir();return i.a.createElement(i.a.Fragment,null,e.hasChildNodes()&&i.a.createElement("h2",{className:"e-grading-instructions-section-title",id:Cr(a)},n.length>1&&o("section",{displayNumber:a})," ",t(e)))};var vh=is((function({element:e,renderChildNodes:t}){const{displayNumber:n,level:a}=Object(r.useContext)(rs);return i.a.createElement("div",{className:Xr()("e-grading-instructions-question",{"e-mrg-b-8 e-clearfix":0===a,"e-mrg-l-8 e-mrg-y-4":a>0}),id:n},t(e,1))}));var bh=({element:e,renderChildNodes:t})=>i.a.createElement("div",{className:"e-exam-grading-instruction notification e-pad-4"},t(e));var Ih=({element:e,renderChildNodes:t})=>i.a.createElement("div",{className:"e-answer-grading-instruction e-multiline-results-text-answer e-mrg-b-2 e-pad-l-2"},t(e));var xh=({element:e,renderChildNodes:t})=>{const{answers:n}=Object(r.useContext)(rs),a=ye(e,"answer-grading-instruction"),o=be(e,"max-length"),s=i.a.createElement(i.a.Fragment,null,null!=o&&i.a.createElement(lh,{maxLength:o}),a&&i.a.createElement(Ih,{element:a,renderChildNodes:t}),i.a.createElement("ul",null,t(e)));if(1===n.length)return s;{const n=ve(e,"display-number"),r=be(e,"max-score"),a=ye(e,"hint");return i.a.createElement("div",{className:"e-mrg-l-8"},i.a.createElement("p",{className:"exam-question-title"},i.a.createElement("span",{className:"exam-question-title__display-number--indented e-semibold"},n," "),a&&t(a)," ",i.a.createElement(ap,{score:r})),s)}};var wh=({element:e,renderChildNodes:t})=>{const n=be(e,"score");if(!n)return null;const{t:r}=Ir();return i.a.createElement("li",null,t(e)," ","(",r("points",{count:n}),")")};var Th=({element:e,renderChildNodes:t})=>{const{displayNumber:n,maxScore:a,level:o}=Object(r.useContext)(rs),s="h"+Math.min(3+o,6);return i.a.createElement(i.a.Fragment,null,i.a.createElement(s,{className:Xr()("exam-question-title",{"e-normal e-font-size-m":o>0})},i.a.createElement("strong",{className:Xr()("exam-question-title__display-number",{"exam-question-title__display-number--indented":o>0})},ss(n)+" "),t(e)," ",i.a.createElement(ap,{score:a,size:0===o?"large":"small"})))};const Mh=e=>t=>{const n=n=>e(n)?i.a.createElement(t,{...n}):null;return n.displayName="RenderIf("+Fr(t)+")",n};var Ah=({element:e,renderChildNodes:t})=>{const n=ye(e,["audio-transcription","video-transcription"]);if(n){const{t:r}=Ir(),a=ye(e,["audio-title","video-title"]);return i.a.createElement("details",{className:"e-grading-instruction-recording e-pad-1 e-mrg-b-2"},i.a.createElement("summary",null,i.a.createElement("strong",null,r("recording"))," ",a&&i.a.createElement("em",null,t(a))),t(n))}return null};const Ch=Mh(({element:e})=>null!=me(e,["answer-grading-instruction","choice-answer-option","dropdown-answer-option","exam-grading-instruction","question-grading-instruction","hint","question-title"])),Eh=Mh(({element:e})=>null==me(e,["external-material"])),Nh=Ae({"accepted-answer":wh,attachment:fs,"attachment-link":Eh(Yr("plain")),"attachment-links":Eh(Wr("plain")),audio:Ah,"audio-group":fs,"choice-answer":xh,"choice-answer-option":wh,"dropdown-answer":xh,"dropdown-answer-option":wh,"external-material":fs,file:Ch(No),formula:Ch(So),hints:fs,image:Ch(Do),question:vh,"question-title":Th,"question-grading-instruction":Ih,"scored-text-answer":xh,"text-answer":xh,section:mh,"section-title":yh,video:Ah}),Sh=()=>{const{t:e}=Ir();return i.a.createElement(i.a.Fragment,null,e("grading-instructions-page-title"))};var kh=i.a.memo(Br(({doc:e})=>{const t=e.documentElement,{date:n,dateTimeFormatter:a,dayCode:o,examCode:s,language:l,subjectLanguage:c}=Object(r.useContext)(Gr),u=ye(t,"exam-title"),d=ye(t,"exam-grading-instruction"),f=ye(t,"table-of-contents"),p=Lp({showAnsweringInstructions:!1,showAttachmentLinks:!1}),h=zr(()=>br(l,s,o));return Object(r.useEffect)(xr(h,l)),Object(r.useEffect)(Rr,[]),i.a.createElement(y,{i18n:h},i.a.createElement("main",{className:"e-exam e-grading-instructions",lang:c},i.a.createElement(i.a.StrictMode,null),i.a.createElement(as,{"aria-labelledby":"title"},i.a.createElement(cs,{id:"title"},i.a.createElement(Sh,null)," ",u&&Nh(u)),n&&i.a.createElement("p",null,i.a.createElement("strong",null,a.format(n))),d&&i.a.createElement(bh,{element:d,renderChildNodes:Nh}),f&&i.a.createElement(p,{element:f,renderChildNodes:Nh})),Nh(t)))}));var jh=function(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);void 0!==a&&(n=void 0===n?a:n+a)}return n};var Dh=function(e){return e&&e.length?jh(e,ce):0};const Lh=i.a.createContext({}),Oh=Zr(Lh,({scores:e,doc:t,gradingStructure:n,gradingText:r,answers:i,singleGrading:a})=>{const o=Cl(i,"questionId");return{answersByQuestionId:o,gradingStructure:n,scores:e,totalScore:function(e,t,n,r){return Dh(e.map(e=>function(e,t,n,r){const i=Dh(we(e).map(e=>{const i=be(e,"question-id"),a=r[i];return a?"choice"===a.type?((e,n)=>{const r=Ph(t,e);return r?r.options.find(e=>e.id===Number(n.value)).score:0})(i,a):(e=>{var t,r;const i=Rh(n,e);return i&&(null===(r=[i.inspection,null===(t=i.censoring)||void 0===t?void 0:t.scores[0],i.autograding,i.pregrading].find(Boolean))||void 0===r?void 0:r.score)||0})(i):0}));if(0===fe(e,"question").length&&i<0)return 0;return i}(e,t,n,r)))}(ge(t.documentElement,"question",!1),n,e,o),gradingText:r,singleGrading:a}});function Ph(e,t){const n=e.questions.filter(e=>"choicegroup"===e.type);for(let e=0,r=n.length;e<r;e++){const r=n[e];for(let e=0,n=r.choices.length;e<n;e++)if(r.choices[e].id===t)return r.choices[e]}}function Rh(e,t){return e.find(e=>e.questionId===t)}var zh=i.a.memo((function({answers:e,displayNumber:t,children:n,multilineAnswer:r}){return i.a.createElement("div",{className:Xr()("e-result-scorecount","e-float-right",{"e-result-scorecount-multiline-answer":r})},i.a.createElement("div",{className:"e-result-scorecount-border-wrap"},e.length>1&&t&&i.a.createElement("sup",{className:"e-result-scorecount-sup e-mrg-r-1","aria-hidden":"true"},t),n))}));var _h=i.a.memo((function({score:e,maxScore:t,displayNumber:n}){const{answers:a}=Object(r.useContext)(rs),{t:o}=Ir(),s={answers:a,displayNumber:n};return i.a.createElement(zh,{...s},"number"==typeof e?i.a.createElement("b",null,e):i.a.createElement("div",{className:"e-result-scorecount-empty"})," ",t?`/ ${t} `:null," ",o("points"))}));function Uh({renderChildNodes:e,selected:t,element:n,questionId:r,direction:a,isCorrect:o}){const{t:s}=Ir(),l=n.getAttribute("class"),c=n.getAttribute("option-id"),u=i.a.createElement("div",{className:Xr()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":t})},e(n)),d=({narrow:e=!1})=>i.a.createElement(i.a.Fragment,null,i.a.createElement("input",{type:"radio",className:Xr()("e-radio-button",{"e-column e-column--narrow":e}),name:String(r),value:c,checked:t,readOnly:!0}),u,o&&i.a.createElement(fh,null,s("screen-reader.correct-answer")));return"vertical"===a?i.a.createElement("div",{className:"e-mrg-b-1"},i.a.createElement("label",{className:Xr()("e-columns",{"e-correct-answer-left":o,"e-columns--inline":null==he(n,["image","video"])})},i.a.createElement(d,{narrow:!0}))):i.a.createElement("div",{className:"e-column e-mrg-b-1"},i.a.createElement("label",{className:Xr()("e-block e-text-center",{"e-correct-answer-bottom":o})},i.a.createElement(d,null)))}var Fh=i.a.memo((function({element:e,renderChildNodes:t}){const{answersByQuestionId:n,gradingStructure:a}=Object(r.useContext)(Lh),o=be(e,"question-id"),s=n[o],l=e.getAttribute("direction")||"vertical",c=e.getAttribute("class"),u=Ph(a,o),d=s&&u.options.find(e=>e.id===Number(s.value)).score,f=be(e,"max-score");return i.a.createElement(i.a.Fragment,null,void 0!==d&&i.a.createElement(_h,{score:d,maxScore:f}),i.a.createElement("div",{className:Xr()("e-choice-answer",c,{"e-columns":"horizontal"===l})},xe(e,e=>{const n=be(e,"option-id"),r=null!=s&&Number(s.value)===n,a=u.options.find(e=>e.id===n);return i.a.createElement(Uh,{element:e,renderChildNodes:t,questionId:o,key:n,direction:l,selected:r,isCorrect:a.correct})})))}));var Zh=i.a.memo((function({element:e,renderChildNodes:t}){const{t:n}=Ir(),{answersByQuestionId:a,gradingStructure:o}=Object(r.useContext)(Lh),{answers:s}=Object(r.useContext)(rs),l=be(e,"question-id"),c=a[l],u=ye(e,e=>(null==c?void 0:c.value)===e.getAttribute("option-id")),d=Ph(o,l);if(u){const r=d.options.filter(e=>e.correct).map(e=>e.id),a=Array.from(e.children).filter(e=>r.includes(be(e,"option-id"))),o=r.includes(be(u,"option-id")),l=Cp(e.getAttribute("display-number")),f=c&&d.options.find(e=>e.id===Number(c.value)).score,p=be(e,"max-score");return i.a.createElement(i.a.Fragment,null,s.length>1&&i.a.createElement("sup",null,l),i.a.createElement("span",{className:Xr()("e-dropdown-answer__answered",{"e-dropdown-answer__answered--correct":o,"e-dropdown-answer__answered--wrong":!o})},i.a.createElement(fh,null,n("screen-reader.answer-begin")),t(u),i.a.createElement(fh,null,n("screen-reader.answer-end")),o&&i.a.createElement(fh,null,n("screen-reader.correct-answer"))),!o&&i.a.createElement("span",{className:"e-dropdown-answer__correct","aria-hidden":!0},a.map((e,n)=>i.a.createElement(i.a.Fragment,{key:n},t(e),n<a.length-1&&", "))),null!=f&&i.a.createElement(_h,{score:f,maxScore:p,displayNumber:l}))}return null}));const Gh=({i18nTitleKey:e,annotations:t})=>{const{t:n}=Ir();return t?i.a.createElement(i.a.Fragment,null,e&&i.a.createElement("h5",null,n(e)),i.a.createElement("ol",{className:"e-list-data e-pad-l-0 e-font-size-s"},t.map(({numbering:e,message:t})=>i.a.createElement("li",{"data-list-number":e,key:e},t)))):null};var Bh=i.a.memo((function(){const{answers:e}=Object(r.useContext)(rs),{scores:t,singleGrading:n}=Object(r.useContext)(Lh),a=function(e,t){const n=[];for(let r=0;r<e.length;r++){const i=t(e[r],r);void 0!==i&&n.push(i)}return n}(e,e=>{const n=be(e,"question-id"),r=Rh(t,n);return r&&e&&(e=>{var t,n,r,i;return Boolean((null===(n=null===(t=null==e?void 0:e.pregrading)||void 0===t?void 0:t.annotations)||void 0===n?void 0:n.length)||(null===(i=null===(r=null==e?void 0:e.censoring)||void 0===r?void 0:r.annotations)||void 0===i?void 0:i.length))})(r)?[e,r]:void 0}),o=(t,n,r=0)=>Cu(t,([t,i])=>{var a,o,s;return null!==(s=null===(o=null===(a=i[n])||void 0===a?void 0:a.annotations)||void 0===o?void 0:o.filter(e=>e.message.length).map((n,i)=>({numbering:((e,t)=>e.length>1?Cp(t.getAttribute("display-number")):"")(e,t)+String(r+i+1)+")",message:n.message})))&&void 0!==s?s:[]}),s=o(a,"pregrading"),l=o(a,"censoring",s.length);return s.length||l.length?i.a.createElement("div",{className:"e-annotation-list e-columns e-mrg-t-2"},n?i.a.createElement("div",{className:"e-column e-column--10"},i.a.createElement(Gh,{annotations:s})):i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"e-column e-column--6"},i.a.createElement(Gh,{i18nTitleKey:"grading.pregrading-annotations",annotations:s})),i.a.createElement("div",{className:"e-column e-column--6"},i.a.createElement(Gh,{i18nTitleKey:"grading.censor-annotations",annotations:l})))):null}));var Yh=i.a.memo(is((function({element:e,renderChildNodes:t}){const{answersByQuestionId:n}=Object(r.useContext)(Lh),{displayNumber:a,level:o}=Object(r.useContext)(rs);return function(e,t){return we(e).some(e=>t[be(e,"question-id")])}(e,n)?i.a.createElement("div",{className:Xr()("exam-question",{"e-mrg-b-8 e-clearfix":0===o,"e-mrg-l-8 e-mrg-y-4":o>0}),id:a},t(e),i.a.createElement(Bh,null)):null})));var Wh=i.a.memo((function({element:e,renderChildNodes:t}){const{displayNumber:n,level:a,maxAnswers:o,childQuestions:s}=Object(r.useContext)(rs),l="h"+Math.min(3+a,6);return i.a.createElement(i.a.Fragment,null,i.a.createElement(l,{className:Xr()("exam-question-title",{"e-normal e-font-size-m":a>0})},i.a.createElement("strong",{className:Xr()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},ss(n)+" "),t(e)),null!=o&&s.length>0&&i.a.createElement("p",{className:"e-italic"},i.a.createElement(bp,null),i.a.createElement(cp,{maxAnswers:o,childQuestions:s,elementType:"question"})))}));var Hh=i.a.memo(hs((function({element:e,renderChildNodes:t}){const{displayNumber:n}=Object(r.useContext)(ps),{answersByQuestionId:a}=Object(r.useContext)(Lh);return he(e,e=>{const t=e.getAttribute("question-id");return null!=t&&Object.prototype.hasOwnProperty.call(a,t)})?i.a.createElement(as,{"aria-labelledby":Cr(n)},i.a.createElement("div",{className:"e-results-section-wrapper"},t(e))):null})));function Vh(e,t,n){const r=[...t,...n],i=r.filter(e=>e.message);for(const n of r){const r=t.includes(n)?"pregrading":"censoring",a=i.indexOf(n)+1||void 0;switch(n.type){case"line":case"rect":qh(e,n,r,a);break;default:Qh(e,n,r,a)}}}function qh(e,t,n,r){const{attachmentIndex:i}=t,a=e.querySelectorAll("img")[i],o=function(){const e=a.parentElement;if(e instanceof HTMLSpanElement)return e;const t=Te("span",{className:"e-annotation-wrapper"});return e.insertBefore(t,a),t.appendChild(a),t}(),s=function(){const e=Te("mark",{className:Xr()("e-annotation e-annotation--shape",{"e-annotation--pregrading":"pregrading"===n,"e-annotation--censoring":"censoring"===n}),title:t.message}),i=e.style,a=e=>100*e+"%";"rect"===t.type?(i.left=a(t.x),i.top=a(t.y),i.right=a(1-(t.x+t.width)),i.bottom=a(1-(t.y+t.height))):(i.left=a(t.x1),i.top=a(t.y1),i.right=a(1-t.x2),i.bottom=a(1-t.y2));r&&e.appendChild(Jh(r,"shape"));return e}();o.appendChild(s)}function Qh(e,t,n,r){const{startIndex:i,length:a}=t;return function e(c,u,d){var f;if(!o(c)&&!function(e){return"SUP"===e.nodeName}(c)&&!function(e){return"BR"===e.nodeName}(c)&&u>=i){const i=Te("mark",{className:Xr()("e-annotation",{"e-annotation--pregrading":"pregrading"===n,"e-annotation--censoring":"censoring"===n}),title:t.message});null===(f=c.parentElement)||void 0===f||f.insertBefore(i,c);const p=function e(t,n,r){if(!n||o(n)||0===r)return r;n instanceof Text&&l(n)>0&&l(n)>r&&n.splitText(r);const i=n.nextSibling;return t.appendChild(n),e(t,i,r-l(n))}(i,c,d);p>0?e(s(i),u+a-p,p):r&&i.appendChild(Jh(r,"text"))}else c instanceof Text&&u+l(c)>i&&c.splitText(i-u),e(function(e){return o(e)?e.childNodes[0]:s(e)}(c),u+l(c),d)}(e.childNodes[0],0,a);function o(e){return"MARK"===e.nodeName}function s(t){const n=t.nextSibling;if(n)return n;const r=t.parentElement;if(null===r||r===e)throw new Error("Bug: the answer seems to be too short for the current set of annotations.");return s(r)}function l(e){return e instanceof Text?e.length:function(e){return"IMG"===e.nodeName||"SPAN"===e.nodeName}(e)?1:0}}function Jh(e,t){const n=e+")";return Te("sup",{className:"e-annotation__index e-annotation__index--"+t,"data-content":n},..."text"===t?[]:n)}var Xh=i.a.memo((function({displayNumber:e,score:t,value:n,children:a}){const{t:o}=Ir(),s=Object(r.useRef)(null);return Object(r.useLayoutEffect)(()=>{var e,n,r,i;s.current&&Vh(s.current,null!==(n=null===(e=null==t?void 0:t.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==n?n:[],null!==(i=null===(r=null==t?void 0:t.censoring)||void 0===r?void 0:r.annotations)&&void 0!==i?i:[])}),i.a.createElement(i.a.Fragment,null,e&&i.a.createElement("sup",null,e),i.a.createElement("span",{className:"text-answer text-answer--single-line"},i.a.createElement(fh,null,o("screen-reader.answer-begin")),i.a.createElement("span",{className:"e-inline-block",ref:s},n),i.a.createElement(fh,null,o("screen-reader.answer-end"))),a)}));var Kh=i.a.memo((function({element:e}){var t;const{answers:n}=Object(r.useContext)(rs),{answersByQuestionId:a,scores:o}=Object(r.useContext)(Lh),s=be(e,"question-id"),l=be(e,"max-score"),c=a[s],u=c&&c.value,d=Cp(e.getAttribute("display-number")),f=null===(t=Rh(o,s))||void 0===t?void 0:t.autograding;return i.a.createElement(Xh,{answers:n,displayNumber:d,value:u},i.a.createElement(_h,{score:null==f?void 0:f.score,maxScore:l,displayNumber:n.length>1?d:void 0}))}));function $h({maxScore:e}){const{t:t}=Ir();return i.a.createElement(i.a.Fragment,null,i.a.createElement("span",{className:"e-result-scorecount-empty"}),e&&` / ${e} `,t("points"))}function eg({shortCode:e}){return i.a.createElement("div",{className:"e-color-darkgrey e-columns e-columns--center-v"},i.a.createElement("span",{className:"e-font-size-xxxl e-light e-mrg-r-1"},"×"),i.a.createElement("span",null,e))}function tg({score:e,shortCode:t,type:n,maxScore:r,latest:a}){return i.a.createElement("div",{className:a?"e-color-black":"e-color-darkgrey e-font-size-xs"},i.a.createElement(ng,{className:Xr()("e-nowrap",{"e-font-size-m":a})},a?i.a.createElement("b",null,e):e,a&&r?" / "+r:""," p."),i.a.createElement(ng,{className:"e-result-scorecount-shortcode"},t),i.a.createElement(ng,{className:"e-mrg-r-0"},n))}function ng({className:e,children:t}){return i.a.createElement("span",{className:Xr()("e-mrg-r-1 e-nowrap",e)},t)}function rg({score:e}){return void 0!==e?{score:e,shortCode:"",type:"va"}:null}function ig(e){return e.scores.map((t,n)=>({score:t.score,shortCode:t.shortCode||"",type:e.scores.length-n+".s"}))}var ag=i.a.memo((function({scores:e,maxScore:t,displayNumber:n,multilineAnswer:a}){var o,s,l,c,u;const{answers:d}=Object(r.useContext)(rs),f={answers:d,displayNumber:n,multilineAnswer:a},p=null===(s=null===(o=null==e?void 0:e.censoring)||void 0===o?void 0:o.nonAnswerDetails)||void 0===s?void 0:s.shortCode;return i.a.createElement(zh,{...f},null!=(null===(l=null==e?void 0:e.pregrading)||void 0===l?void 0:l.score)||(null===(u=null===(c=null==e?void 0:e.censoring)||void 0===c?void 0:c.scores)||void 0===u?void 0:u.length)?i.a.createElement(i.a.Fragment,null,function(e,t){return[e.inspection&&(n=e.inspection,{score:n.score,shortCode:n.shortCodes?n.shortCodes.join(", "):"",type:"ta"}),...e.censoring?ig(e.censoring):[],e.pregrading&&rg(e.pregrading)].filter(Boolean).map((e,n)=>i.a.createElement(tg,{key:n,...e,latest:0===n,maxScore:t}));var n}(e,t),p&&i.a.createElement(eg,{shortCode:p})):i.a.createElement($h,{maxScore:t}))}));const og=({type:e,score:t,value:n})=>{const{t:a}=Ir(),o=Object(r.useRef)(null);return Object(r.useLayoutEffect)(()=>{var e,n,r,i;o.current&&Vh(o.current,null!==(n=null===(e=null==t?void 0:t.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==n?n:[],null!==(i=null===(r=null==t?void 0:t.censoring)||void 0===r?void 0:r.annotations)&&void 0!==i?i:[])}),i.a.createElement("div",{className:"e-multiline-results-text-answer e-line-height-l e-pad-l-2 e-mrg-b-1"},i.a.createElement(fh,null,a("screen-reader.answer-begin")),"rich-text"===e?i.a.createElement("div",{dangerouslySetInnerHTML:{__html:n||""},ref:o}):i.a.createElement("div",{className:"e-pre-wrap",ref:o},n),i.a.createElement(fh,null,a("screen-reader.answer-end")))};var sg=i.a.memo((function({element:e}){var t;const{answers:n}=Object(r.useContext)(rs),{answersByQuestionId:a,scores:o}=Object(r.useContext)(Lh),{t:s}=Ir(),l=be(e,"question-id"),c=be(e,"max-score"),u=a[l],d=u&&u.value,f=n.length>1?Cp(e.getAttribute("display-number")):void 0,p=Rh(o,l),h=null===(t=null==p?void 0:p.pregrading)||void 0===t?void 0:t.comment,g=e.getAttribute("type")||"single-line",m=be(e,"max-length");switch(g){case"rich-text":case"multi-line":return i.a.createElement(i.a.Fragment,null,null!=m&&i.a.createElement(lh,{maxLength:m}),i.a.createElement(ag,{multilineAnswer:!0,scores:p,maxScore:c}),i.a.createElement(og,{type:g,value:d,score:p}),i.a.createElement(Op,{answer:u,element:e}),h&&i.a.createElement(i.a.Fragment,null,i.a.createElement("h5",null,s("comment")),i.a.createElement("p",{className:"e-italic"},h)));case"single-line":default:return i.a.createElement(Xh,{answers:n,score:p,displayNumber:f,value:d},i.a.createElement(ag,{scores:p,maxScore:c,displayNumber:f}))}}));const lg=Ae({attachment:Lo,"attachment-link":Yr("plain"),"attachment-links":Wr("plain"),"audio-group":Lo,"choice-answer":Fh,"dropdown-answer":Zh,formula:So,question:Yh,hints:Lo,image:Mh(({element:e})=>null!=me(e,"choice-answer"))(Do),"question-instruction":vp,"question-title":Wh,section:Hh,"section-title":Ap,"text-answer":sg,"scored-text-answer":Kh,"scored-text-answers":Lo});function cg(){const{gradingText:e,totalScore:t}=Object(r.useContext)(Lh),{t:n}=Ir();return i.a.createElement("div",{className:"e-column--narrow"},i.a.createElement("table",{className:"e-table e-table--borderless e-mrg-b-0"},i.a.createElement("tbody",null,i.a.createElement("tr",null,i.a.createElement("th",{className:"e-pad-y-0 e-normal"},n("grading-total")),i.a.createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},n("points",{count:t}))),e&&i.a.createElement("tr",null,i.a.createElement("th",{className:"e-pad-y-0 e-normal"},n("grade")),i.a.createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},e)))))}var ug=i.a.memo(Oh(Br(()=>{const{date:e,dateTimeFormatter:t,dayCode:n,examCode:a,language:o,resolveAttachment:s,root:l,subjectLanguage:c}=Object(r.useContext)(Gr),u=ye(l,"exam-title"),d=l.getAttribute("exam-stylesheet"),f=zr(()=>br(o,a,n));return Object(r.useEffect)(xr(f,o)),Object(r.useEffect)(Rr,[]),i.a.createElement(y,{i18n:f},i.a.createElement("main",{className:"e-exam",lang:c},i.a.createElement(i.a.StrictMode,null),d&&i.a.createElement("link",{rel:"stylesheet",href:s(d)}),i.a.createElement("div",{className:"e-columns e-columns--bottom-v e-mrg-b-4"},u&&i.a.createElement(cs,{id:"title",className:"e-column e-mrg-b-0"},lg(u),e&&", "+t.format(e)),i.a.createElement(cg,null)),lg(l)))})));var dg=function(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1},fg=Math.max;var pg=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Qo(n);return i<0&&(i=fg(r+i,0)),dg(e,Il(t,3),i)},hg=Math.max,gg=Math.min;var mg=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=Qo(n),i=n<0?hg(r+i,0):gg(i,r-1)),dg(e,Il(t,3),i,!0)};var yg=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Id(e,t,n)};var vg=function(e){return e!=e};var bg=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1};var Ig=function(e,t,n){return t==t?bg(e,t,n):dg(e,vg,n)};var xg=function(e,t){for(var n=-1,r=e.length;++n<r&&Ig(t,e[n],0)>-1;);return n};var wg=function(e){return e.split("")},Tg=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Mg=function(e){return Tg.test(e)},Ag="[\\ud800-\\udfff]",Cg="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Eg="\\ud83c[\\udffb-\\udfff]",Ng="[^\\ud800-\\udfff]",Sg="(?:\\ud83c[\\udde6-\\uddff]){2}",kg="[\\ud800-\\udbff][\\udc00-\\udfff]",jg="(?:"+Cg+"|"+Eg+")"+"?",Dg="[\\ufe0e\\ufe0f]?"+jg+("(?:\\u200d(?:"+[Ng,Sg,kg].join("|")+")[\\ufe0e\\ufe0f]?"+jg+")*"),Lg="(?:"+[Ng+Cg+"?",Cg,Sg,kg,Ag].join("|")+")",Og=RegExp(Eg+"(?="+Eg+")|"+Lg+Dg,"g");var Pg=function(e){return e.match(Og)||[]};var Rg=function(e){return Mg(e)?Pg(e):wg(e)},zg=/^\s+/;var _g=function(e,t,n){if((e=Ln(e))&&(n||void 0===t))return e.replace(zg,"");if(!e||!(t=Dn(t)))return e;var r=Rg(e),i=xg(r,Rg(t));return yg(r,i).join("")};var Ug=function(e,t){for(var n=e.length;n--&&Ig(t,e[n],0)>-1;);return n};var Fg=function(e,t,n){if((e=Ln(e))&&(n||void 0===t))return e.slice(0,Fo(e)+1);if(!e||!(t=Dn(t)))return e;var r=Rg(e),i=Ug(r,Rg(t))+1;return yg(r,0,i).join("")};function Zg(e,t=!1){const n=(new DOMParser).parseFromString(e,"application/xml");return t||ge(n.documentElement,["choice-answer","dropdown-answer"]).filter(e=>"fixed"!==ve(e,"ordering")).forEach(Gg),ge(n.documentElement,"reference").forEach(e=>{ge(e,()=>!0,!1).forEach(Bg)}),n}function Gg(e){for(let t=e.children.length;t>0;t--){const n=Math.floor(Math.random()*t);e.appendChild(e.children[n])}const t=ye(e,e=>"no-answer"===ve(e,"type"));t&&e.appendChild(t)}function Bg(e){const t=e=>/\S/.test(e.textContent),n=(()=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(;n.nextNode();)t.push(n.currentNode);return t})(),r=pg(n,t),i=mg(n,t);-1!==r&&(n.slice(0,r).forEach(e=>e.remove()),n[r].textContent=_g(n[r].textContent)),-1!==i&&(n.slice(i+1).forEach(e=>e.remove()),n[i].textContent=Fg(n[i].textContent))}}])}));
90
+ */(t,r)?"saving":"saved"};var ea={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]},ta={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]},na={prefix:"fas",iconName:"exclamation-triangle",icon:[576,512,[],"f071","M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]},ra={prefix:"fas",iconName:"eye",icon:[576,512,[],"f06e","M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"]},ia={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"]},aa={prefix:"fas",iconName:"info-circle",icon:[512,512,[],"f05a","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]},oa={prefix:"fas",iconName:"play",icon:[448,512,[],"f04b","M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"]},sa=n(15),la=n(1),ca=n.n(la);function ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function da(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ua(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ua(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fa(e){return(fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ga(e){return function(e){if(Array.isArray(e))return ma(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ma(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ma(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ma(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ya(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var va=["style"];function ba(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=ya(t.slice(0,r)),a=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[i]=a,e}),{})}var Ia=!1;try{Ia=!0}catch(e){}function xa(e){return e&&"object"===fa(e)&&e.prefix&&e.iconName&&e.icon?e:sa.b.icon?sa.b.icon(e):null===e?null:e&&"object"===fa(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function wa(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?pa({},e,t):{}}var Ta=["forwardedRef"];function Ma(e){var t=e.forwardedRef,n=ha(e,Ta),r=n.icon,i=n.mask,a=n.symbol,o=n.className,s=n.title,l=n.titleId,c=xa(r),u=wa("classes",[].concat(ga(function(e){var t,n=e.beat,r=e.fade,i=e.flash,a=e.spin,o=e.spinPulse,s=e.spinReverse,l=e.pulse,c=e.fixedWidth,u=e.inverse,d=e.border,f=e.listItem,p=e.flip,h=e.size,g=e.rotation,m=e.pull,y=(pa(t={"fa-beat":n,"fa-fade":r,"fa-flash":i,"fa-spin":a,"fa-spin-reverse":s,"fa-spin-pulse":o,"fa-pulse":l,"fa-fw":c,"fa-inverse":u,"fa-border":d,"fa-li":f,"fa-flip-horizontal":"horizontal"===p||"both"===p,"fa-flip-vertical":"vertical"===p||"both"===p},"fa-".concat(h),null!=h),pa(t,"fa-rotate-".concat(g),null!=g&&0!==g),pa(t,"fa-pull-".concat(m),null!=m),pa(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(y).map((function(e){return y[e]?e:null})).filter((function(e){return e}))}(n)),ga(o.split(" ")))),d=wa("transform","string"==typeof n.transform?sa.b.transform(n.transform):n.transform),f=wa("mask",xa(i)),p=Object(sa.a)(c,da(da(da(da({},u),d),f),{},{symbol:a,title:s,titleId:l}));if(!p)return function(){var e;!Ia&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var h=p.abstract,g={ref:t};return Object.keys(n).forEach((function(e){Ma.defaultProps.hasOwnProperty(e)||(g[e]=n[e])})),Aa(h[0],g)}Ma.displayName="FontAwesomeIcon",Ma.propTypes={beat:ca.a.bool,border:ca.a.bool,className:ca.a.string,fade:ca.a.bool,flash:ca.a.bool,mask:ca.a.oneOfType([ca.a.object,ca.a.array,ca.a.string]),fixedWidth:ca.a.bool,inverse:ca.a.bool,flip:ca.a.oneOf(["horizontal","vertical","both"]),icon:ca.a.oneOfType([ca.a.object,ca.a.array,ca.a.string]),listItem:ca.a.bool,pull:ca.a.oneOf(["right","left"]),pulse:ca.a.bool,rotation:ca.a.oneOf([0,90,180,270]),size:ca.a.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ca.a.bool,spinPulse:ca.a.bool,spinReverse:ca.a.bool,symbol:ca.a.oneOfType([ca.a.bool,ca.a.string]),title:ca.a.string,transform:ca.a.oneOfType([ca.a.string,ca.a.object]),swapOpacity:ca.a.bool},Ma.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var Aa=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=ba(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[ya(t)]=r}return e}),{attrs:{}}),o=r.style,s=void 0===o?{}:o,l=ha(r,va);return a.attrs.style=da(da({},a.attrs.style),s),t.apply(void 0,[n.tag,da(da({},a.attrs),l)].concat(ga(i)))}.bind(null,i.a.createElement),Ca=!("undefined"==typeof window||!window.document||!window.document.createElement),Ea=(new Date).getTime();var Na=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-Ea)),r=setTimeout(e,n);return Ea=t,r},Sa=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};Ca&&["","webkit","moz","o","ms"].some((function(e){var t=Sa(e,"request");return t in window&&(Sa(e,"cancel"),Na=function(e){return window[t](e)}),!!Na}));var ka=Na;function ja(e,t){e.classList?e.classList.add(t):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function Da(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function La(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=Da(e.className,t):e.setAttribute("class",Da(e.className&&e.className.baseVal||"",t))}function Oa(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}var Pa=/([A-Z])/g;var Ra=/^ms-/;function za(e){return function(e){return e.replace(Pa,"-$1").toLowerCase()}(e).replace(Ra,"-ms-")}var _a=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;var Ua=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(za(t))||function(e,t){return Oa(e).getComputedStyle(e,t)}(e).getPropertyValue(za(t));Object.keys(t).forEach((function(i){var a=t[i];a||0===a?!function(e){return!(!e||!_a.test(e))}(i)?n+=za(i)+": "+a+";":r+=i+"("+a+") ":e.style.removeProperty(za(i))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n},Za=!1,Fa=!1;try{var Ga={get passive(){return Za=!0},get once(){return Fa=Za=!0}};Ca&&(window.addEventListener("test",Ga,Ga),window.removeEventListener("test",Ga,!0))}catch(e){}var Ba=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!Fa){var i=r.once,a=r.capture,o=n;!Fa&&i&&(o=n.__once||function e(r){this.removeEventListener(t,e,a),n.call(this,r)},n.__once=o),e.addEventListener(t,o,Za?r:a)}e.addEventListener(t,n,r)};var Ya=function(e,t,n,r){var i=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)};var Wa=function(e,t,n,r){return Ba(e,t,n,r),function(){Ya(e,t,n,r)}};function Ha(e,t,n){void 0===n&&(n=5);var r=!1,i=setTimeout((function(){r||function(e){var t=document.createEvent("HTMLEvents");t.initEvent("transitionend",!0,!0),e.dispatchEvent(t)}(e)}),t+n),a=Wa(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(i),a()}}function Va(e,t,n,r){var i,a;null==n&&(i=Ua(e,"transitionDuration")||"",a=-1===i.indexOf("ms")?1e3:1,n=parseFloat(i)*a||0);var o=Ha(e,n,r),s=Wa(e,"transitionend",t);return function(){o(),s()}}function qa(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(!e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}var Qa=ca.a.oneOfType([ca.a.string,ca.a.shape({enter:ca.a.string,leave:ca.a.string,active:ca.a.string,height:ca.a.string}),ca.a.shape({enter:ca.a.string,enterActive:ca.a.string,leave:ca.a.string,leaveActive:ca.a.string,appear:ca.a.string,appearActive:ca.a.string,height:ca.a.string,heightActive:ca.a.string})]);function Ja(e){return(Ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ka(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $a(e,t){return($a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function eo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ro(e);if(t){var i=ro(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return to(this,n)}}function to(e,t){return!t||"object"!==Ja(t)&&"function"!=typeof t?no(e):t}function no(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ro(e){return(ro=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function io(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ao=[];Va&&ao.push(Va);var oo={children:ca.a.node,name:Qa.isRequired,appear:ca.a.bool,enter:ca.a.bool,leave:ca.a.bool,appearTimeout:ca.a.number,enterTimeout:ca.a.number,leaveTimeout:ca.a.number},so=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$a(e,t)}(o,e);var t,n,r,a=eo(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),io(no(t=a.call(this,e)),"componentWillAppear",(function(e){t.props.appear?t.transition("appear",e,t.props.appearTimeout):e()})),io(no(t),"componentWillEnter",(function(e){t.props.enter?t.transition("enter",e,t.props.enterTimeout):e()})),io(no(t),"componentWillLeave",(function(e){t.props.leave?t.transition("leave",e,t.props.leaveTimeout):e()})),t.classNameAndNodeQueue=[],t.transitionTimeouts=[],t}return t=o,(n=[{key:"componentWillUnmount",value:function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)})),this.classNameAndNodeQueue.length=0}},{key:"transition",value:function(e,t,n){var r=Object(Vi.findDOMNode)(this);if(r){var i,a=this.props.name[e]||this.props.name+"-"+e,o=this.props.name[e+"Active"]||a+"-active",s=null;ja(r,a),this.queueClassAndNode(o,r);var l=function(e){e&&e.target!==r||(clearTimeout(s),i&&i(),La(r,a),La(r,o),i&&i(),t&&t())};n?(s=setTimeout(l,n),this.transitionTimeouts.push(s)):Va&&(i=function(e,t){return ao.length?ao.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){ao.length&&ao.forEach((function(n){return e.removeEventListener(n,t,!1)}))}}(r,l))}else t&&t()}},{key:"queueClassAndNode",value:function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=ka((function(){return n.flushClassNameAndNodeQueueOnNextFrame()})))}},{key:"flushClassNameAndNodeQueueOnNextFrame",value:function(){var e=this;this.rafHandle=ka((function(){return e.flushClassNameAndNodeQueue()}))}},{key:"flushClassNameAndNodeQueue",value:function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,ja(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null}},{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xa(Object(n),!0).forEach((function(t){io(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,i.a.cloneElement(i.a.Children.only(this.props.children),e)}}])&&Ka(t.prototype,n),r&&Ka(t,r),o}(i.a.Component);io(so,"displayName","CSSTransitionGroupChild"),so.propTypes=oo;var lo=so;function co(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function uo(e){return(uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fo(Object(n),!0).forEach((function(t){Io(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ho(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function go(e,t){return(go=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bo(e);if(t){var i=bo(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return yo(this,n)}}function yo(e,t){return!t||"object"!==uo(t)&&"function"!=typeof t?vo(e):t}function vo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bo(e){return(bo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Io(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&go(e,t)}(o,e);var t,n,r,a=mo(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),Io(vo(t=a.call(this,e)),"handleDoneAppearing",(function(e){delete t.transitioningKeys[e],e!==t.state.currentKey&&t.performLeave(e)})),Io(vo(t),"performLeave",(function(e){t.transitioningKeys[e]=!0,t.childRefs[e].componentWillLeave(t.handleDoneLeaving.bind(vo(t),e)),t.state.currentChild&&Object(Vi.findDOMNode)(t.childRefs[t.state.currentKey])||t.enqueueHeightTransition()})),Io(vo(t),"performHeightTransition",(function(){if(!t.unmounted){var e=vo(t).state,n=e.currentChild?Object(Vi.findDOMNode)(t.childRefs[e.currentKey]):null;t.setState({height:n?n.offsetHeight:0,width:t.props.changeWidth?n?n.offsetWidth:0:null})}t.rafHandle=null})),t.childRefs=Object.create(null),t.state={currentKey:"1",currentChild:t.props.children?i.a.Children.only(t.props.children):void 0,prevChildren:{},height:null,width:null},t.shouldEnterCurrent=!1,t.keysToLeave=[],t.transitioningKeys={},t}return t=o,(n=[{key:"componentDidMount",value:function(){this.props.transitionAppear&&this.state.currentChild&&this.performAppear(this.state.currentKey)}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.children?i.a.Children.only(e.children):void 0,n=this.state.currentChild;if(n&&t&&t.key===n.key&&!this.state.nextChild)return this.setState({currentChild:t});var r=this.state,a=r.currentKey,o=r.prevChildren,s={currentKey:String(Number(a)+1),currentChild:t,height:0,width:this.props.changeWidth?0:null};if(t&&(this.shouldEnterCurrent=!0),n){var l=Object(Vi.findDOMNode)(this.childRefs[a]);s.height=l?l.offsetHeight:0,s.width=this.props.changeWidth?l?l.offsetWidth:0:null,s.prevChildren=po(po({},o),{},Io({},a,n)),this.transitioningKeys[a]||this.keysToLeave.push(a)}this.setState(s)}},{key:"componentDidUpdate",value:function(){this.shouldEnterCurrent&&(this.shouldEnterCurrent=!1,Object(Vi.findDOMNode)(this.childRefs[this.state.currentKey])&&this.performEnter(this.state.currentKey));var e=this.keysToLeave;this.keysToLeave=[],e.forEach(this.performLeave)}},{key:"performAppear",value:function(e){this.transitioningKeys[e]=!0,this.childRefs[e].componentWillAppear(this.handleDoneAppearing.bind(this,e))}},{key:"performEnter",value:function(e){this.transitioningKeys[e]=!0,this.childRefs[e].componentWillEnter(this.handleDoneEntering.bind(this,e)),this.enqueueHeightTransition()}},{key:"handleDoneEntering",value:function(e){delete this.transitioningKeys[e],e===this.state.currentKey?this.setState({height:null}):this.performLeave(e)}},{key:"handleDoneLeaving",value:function(e){delete this.transitioningKeys[e];var t={prevChildren:po({},this.state.prevChildren)};delete t.prevChildren[e],delete this.childRefs[e],this.state.currentChild&&Object(Vi.findDOMNode)(this.childRefs[this.state.currentKey])||(t.height=null),this.setState(t)}},{key:"enqueueHeightTransition",value:function(){this.rafHandle||(this.rafHandle=ka(this.performHeightTransition))}},{key:"wrapChild",value:function(e,t){var n=this.props.transitionName;return"object"===uo(n)&&null!==n&&delete(n=po({},n)).height,i.a.createElement(lo,po({name:n,appear:this.props.transitionAppear,enter:this.props.transitionEnter,leave:this.props.transitionLeave,appearTimeout:this.props.transitionAppearTimeout,enterTimeout:this.props.transitionEnterTimeout,leaveTimeout:this.props.transitionLeaveTimeout},t),e)}},{key:"render",value:function(){var e=this,t=this.state,n=t.currentKey,r=t.currentChild,a=t.prevChildren,o=t.height,s=t.width,l=[],c=this.props,u=c.overflowHidden,d=c.transitionName,f=c.component,p=c.childComponent,h=c.notifyLeaving,g=(c.transitionAppear,c.transitionEnter,c.transitionLeave,c.changeWidth,c.transitionAppearTimeout,c.transitionEnterTimeout,c.transitionLeaveTimeout,co(c,["overflowHidden","transitionName","component","childComponent","notifyLeaving","transitionAppear","transitionEnter","transitionLeave","changeWidth","transitionAppearTimeout","transitionEnterTimeout","transitionLeaveTimeout"])),m=this.shouldEnterCurrent||this.keysToLeave.length||Object.keys(this.transitioningKeys).length;if(g.style=po({},g.style),m&&(g.style.position="relative",u&&(g.style.overflow="hidden")),null!==o){var y="string"==typeof d?"".concat(d,"-height"):d&&d.height||"";g.className="".concat(g.className||""," ").concat(y),g.style.height=o}null!==s&&(g.style.width=s);var v={position:"absolute",top:0,left:0,right:0,bottom:0,userSelect:"none"};return Object.keys(a).forEach((function(t){var n=a[t];l.push(i.a.createElement(p,{key:t,style:v},e.wrapChild(h&&"string"!=typeof n.type?i.a.cloneElement(n,{isLeaving:!0}):n,{ref:function(n){return e.childRefs[t]=n}})))})),r&&l.push(i.a.createElement(p,{key:n,style:this.transitioningKeys[n]?v:m?{position:"relative"}:null},this.wrapChild(r,{ref:function(t){return e.childRefs[n]=t}}))),i.a.createElement(f,g,l)}}])&&ho(t.prototype,n),r&&ho(t,r),o}(i.a.Component);Io(xo,"displayName","ReactCSSTransitionReplace"),Io(xo,"propTypes",{transitionName:Qa.isRequired,transitionAppear:ca.a.bool,transitionEnter:ca.a.bool,transitionLeave:ca.a.bool,transitionAppearTimeout:qa("Appear"),transitionEnterTimeout:qa("Enter"),transitionLeaveTimeout:qa("Leave"),overflowHidden:ca.a.bool,changeWidth:ca.a.bool,notifyLeaving:ca.a.bool}),Io(xo,"defaultProps",{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0,overflowHidden:!0,changeWidth:!1,notifyLeaving:!1,component:"div",childComponent:"span"});var wo=({error:e,children:t})=>{const{t:n}=Ir();return i.a.createElement(xo,{transitionName:"e-crossfade",transitionEnterTimeout:500,transitionLeaveTimeout:500},null!=e?i.a.createElement("div",{className:"e-color-error",role:"alert"},i.a.createElement(Ma,{icon:na,className:"e-mrg-r-1"}),n("audio-errors."+e)):i.a.createElement("div",{key:"no-error"},t))},To=n(5);const Mo=e=>Object(To.action)("PLAY_AUDIO",e),Ao=e=>Object(To.action)("UPDATE_REMAINING",e);var Co=i.a.memo((function({src:e,restrictedAudioId:t,duration:n,times:r,labelId:a}){const o=Hi(Qi(e,t)),s=Hi(((e,t)=>n=>"playing"===Qi(e,t)(n)?n.audio.nowPlaying.durationRemaining:void 0)(e,t)),l=Hi(Ki(t,r)),{i18n:c}=Ir(),u=Gi(),d="playing"===o,f="stopped"===o,p=!f||0===l,h="audio-remaining-"+t,g=d?[]:[h,a];return i.a.createElement("div",{className:Xr()("restricted-audio-player e-column e-column--narrow e-columns e-columns--inline e-columns--center-v e-pad-1",{"restricted-audio-player--disabled":p}),lang:c.language},i.a.createElement("button",{className:Xr()("restricted-audio-player__play e-column e-column--narrow",{"restricted-audio-player__play--playing":d}),disabled:p,onClick:()=>f&&u(Mo({src:e,restrictedAudioId:t,duration:n})),"aria-labelledby":g.join(" ")},!d&&i.a.createElement(Ma,{icon:oa,fixedWidth:!0})),i.a.createElement("span",{className:"restricted-audio-player__duration e-column e-text-right",id:h},function(e){const t=Math.floor(e/60),n=e%60;return Eo(t)+":"+Eo(n)}(null!=s?s:n)))}));function Eo(e){return e.toString().padStart(2,"0")}var No=i.a.memo((function({element:e,className:t,renderChildNodes:n}){const a=e.getAttribute("src"),o=be(e,"restricted-audio-id"),s=be(e,"times"),l=be(e,"duration"),{t:c}=Ir(),u=null!=s&&null!=o?Hi(Ji(a,o)):void 0,d=null!=s&&null!=o?Hi(Ki(o,s)):void 0,{resolveAttachment:f}=Object(r.useContext)(Gr),p=Pr(e);return i.a.createElement("div",{className:Xr()("audio e-columns e-columns--center-v e-mrg-b-2",t)},null!=o&&null!=s?i.a.createElement(Co,{src:a,restrictedAudioId:o,duration:l,times:s,labelId:p}):i.a.createElement("audio",{className:"e-column e-column--narrow","aria-describedby":p,preload:"metadata",controls:!0,controlsList:"nodownload"},i.a.createElement("source",{src:f(a)})),i.a.createElement("div",{className:"e-column",id:p},i.a.createElement(wo,{error:u},n(e)),null!=d&&i.a.createElement("em",null,c("listen-times-remaining",{count:d}))))}));const So=Ae({attachment:Vr((function({element:e}){const{displayNumber:t}=Object(r.useContext)(Hr);return i.a.createElement("li",{"data-list-number":t,"aria-label":t},So(e,1))})),"attachment-title":function({element:e}){const{attachmentsURL:t}=Object(r.useContext)(Gr),{displayNumber:n}=Object(r.useContext)(Hr);return i.a.createElement("a",{href:_r(t,{hash:n}),className:"exam-attachment-title",target:"attachments"},So(e))}});var ko=i.a.memo((function({element:e,showTitle:t=!0,forceRender:n=!1}){if(null==me(e,"question")&&!n)return null;const{t:r}=Ir(),a=kr(e);return i.a.createElement("div",{className:"external-material-list e-mrg-b-4"},t&&i.a.createElement("div",{className:"e-font-size-l e-semibold",id:a},r("external-material-title")),i.a.createElement("ol",{className:"e-list-data e-pad-l-0 e-mrg-0","aria-labelledby":a},So(e)))}));var jo=i.a.memo((function({element:e,className:t,renderChildNodes:n}){const a=e.getAttribute("src"),o=e.hasChildNodes(),{resolveAttachment:s}=Object(r.useContext)(Gr);return i.a.createElement("a",{className:Xr()("file e-nowrap",t),href:s(a),download:!0},o?i.a.createElement(i.a.Fragment,null,n(e)," (",a,")"):a)}));var Do=i.a.memo((function({element:e,className:t}){const n=ve(e,"svg"),r=ve(e,"assistive-title"),a="display"===ve(e,"mode");return i.a.createElement(i.a.Fragment,null,i.a.createElement("span",{className:Xr()("e-formula",{"e-block e-text-center":a},t),dangerouslySetInnerHTML:{__html:n},"aria-hidden":"true"}),i.a.createElement("span",{className:"e-screen-reader-only"},r||e.textContent))}));var Lo=({bordered:e=!1,className:t,children:n,height:r,width:a,caption:o,captionId:s})=>{const l=r/a*100+"%",c=a+(e?18:0);return i.a.createElement("span",{className:Xr()("responsive-media-container",{"responsive-media-container--bordered":e},t),style:{maxWidth:c}},i.a.createElement("span",{className:"responsive-media-container__inner",style:{paddingBottom:l}},n),o&&i.a.createElement("span",{className:"e-color-darkgrey e-block e-mrg-t-1 e-font-size-s e-light",id:s},o))};function Oo(e){return"string"==typeof e&&0===e.trim().length}var Po=i.a.memo((function({element:e,className:t,renderChildNodes:n}){const{resolveAttachment:a}=Object(r.useContext)(Gr),{t:o}=Ir(),s=ve(e,"src"),l=be(e,"width"),c=be(e,"height"),u=ye(e,"image-title"),d=u&&n(u),f=null!=d&&!d.every(Oo),p=f?d:void 0,h=f?Lr(e):void 0,g=a(s),m=i.a.createElement("img",{className:"e-image",src:g,alt:"","aria-labelledby":h});return i.a.createElement(i.a.Fragment,null,i.a.createElement(Lo,{className:t,width:l,height:c,caption:p,captionId:h,bordered:f||null!=me(e,"choice-answer")},null!=me(e,["choice-answer","hint"])?m:i.a.createElement("a",{title:o.raw("zoom-in"),href:g,target:"original-picture",className:"e-zoomable","aria-hidden":!f,tabIndex:-1},m)))}));var Ro=function({element:e,renderChildNodes:t}){const n=t(e);return 0===n.length?null:i.a.createElement(i.a.Fragment,null,n)};function zo({element:e,renderChildNodes:t}){return i.a.createElement("em",null,t(e))}function _o({element:e,renderChildNodes:t}){return i.a.createElement("a",{href:e.textContent,target:"_blank",rel:"noreferrer"},t(e))}function Uo({element:e}){const t=e.textContent;if(/^[0-9]{4}$/.test(t))return i.a.createElement(i.a.Fragment,null,t);{const e=new Date(t.trim()),{dateTimeFormatter:n}=Object(r.useContext)(Gr);return i.a.createElement(i.a.Fragment,null,n.format(e))}}var Zo=i.a.memo((function({element:e,renderChildNodes:t}){const{t:n}=Ir();function r(n,r){const a=ye(e,n);if(a){const e=a.localName,n=i.a.createElement(r,{element:a,renderChildNodes:t,key:e});if(n){return Ie(a,"hidden")?i.a.createElement("del",{key:e},n):n}}}function a(r,a,o){const s=ye(e,r);return s&&i.a.createElement(i.a.Fragment,{key:s.localName},n(a)," ",i.a.createElement(o,{element:s,renderChildNodes:t,key:s.localName}))}return i.a.createElement("span",{className:Xr()("e-break-word",{"e-line-through":Ie(e,"hidden")})},n("references.source")," ",(o=". ",(s=[r("author",Ro),r("title",zo),r("publisher",Ro),r("publication",Ro),r("howpublished",Ro),r("url",_o),a("publication-date","references.date",Uo),a("reference-date","references.reference-date",Uo),a("translator","references.translator",Ro),a("modified-by","references.modified-by",Ro),r("note",Ro)]).filter(Boolean).reduce((e,t,n)=>(e.push(t),n!==s.length-1&&e.push(o),e),[])));var o,s}));var Fo=i.a.memo((function({element:e,renderChildNodes:t,className:n}){const{resolveAttachment:a}=Object(r.useContext)(Gr),o=ve(e,"src"),s=be(e,"width"),l=be(e,"height"),c=ye(e,"video-title"),u=c&&t(c),d=null!=u&&!u.every(Oo),f=d?u:void 0,p=d?Or(e):void 0;return i.a.createElement(Lo,{caption:f,captionId:p,className:n,width:s,height:l},i.a.createElement("video",{className:"video",preload:"metadata",controls:!0,controlsList:"nodownload",disablePictureInPicture:!0,"aria-describedby":p},i.a.createElement("source",{src:a(o)})))})),Go=/\s/;var Bo=function(e){for(var t=e.length;t--&&Go.test(e.charAt(t)););return t},Yo=/^\s+/;var Wo=function(e){return e?e.slice(0,Bo(e)+1).replace(Yo,""):e},Ho=/^[-+]0x[0-9a-f]+$/i,Vo=/^0b[01]+$/i,qo=/^0o[0-7]+$/i,Qo=parseInt;var Jo=function(e){if("number"==typeof e)return e;if(Nt(e))return NaN;if(re(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=re(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Wo(e);var n=Vo.test(e);return n||qo.test(e)?Qo(e.slice(2),n?2:8):Ho.test(e)?NaN:+e};var Xo=function(e){return e?(e=Jo(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var Ko=function(e){var t=Xo(e),n=t%1;return t==t?n?t-n:t:0},$o=Math.min;var es=function(e,t){if((e=Ko(e))<1||e>9007199254740991)return[];var n=4294967295,r=$o(e,4294967295);t=ue(t),e-=4294967295;for(var i=I(r,t);++n<e;)t(n);return i};function ts({opacity:e,setOpacity:t,element:n,renderChildNodes:r}){const a=ye(n,"image-title");return i.a.createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-1"},i.a.createElement("div",{className:"e-column e-text-right e-mrg-r-1"},a&&r(a)),i.a.createElement(Ma,{icon:ia,className:"e-mrg-r-1 e-pointer",onClick:()=>t(0)}),i.a.createElement("input",{type:"range",min:0,max:1,step:.01,value:e,onChange:e=>t(Number(e.target.value))}),i.a.createElement(Ma,{icon:ra,className:"e-mrg-l-1 e-pointer",onClick:()=>t(1)}))}function ns({element:e,absolute:t,opacity:n}){const a=e.getAttribute("src"),o=be(e,"width"),s=be(e,"height"),l=Object(r.useContext)(Gr).resolveAttachment(a);return i.a.createElement("div",{className:Xr()("e-columns e-columns--center-h",{"e-image-overlay__image-absolute":t}),style:{opacity:n}},i.a.createElement(Lo,{width:o,height:s},i.a.createElement("img",{className:"e-image",src:l})))}var rs=i.a.memo((function({element:e,renderChildNodes:t}){const[n,a]=Object(r.useState)(()=>es(e.children.length,e=>0===e?1:0)),o=e=>t=>{const r=[...n];r[e]=t,a(r)};return i.a.createElement("div",{className:"e-image-overlay e-mrg-b-1"},i.a.createElement("div",{className:"e-columns e-columns--center-h"},i.a.createElement("div",null,xe(e,(e,r)=>i.a.createElement(ts,{key:r,opacity:n[r],element:e,setOpacity:o(r),renderChildNodes:t})))),i.a.createElement("div",null,i.a.createElement("div",{className:"e-image-overlay__images-wrapper"},xe(e,(e,r)=>i.a.createElement(ns,{key:r,element:e,renderChildNodes:t,opacity:n[r],absolute:r>0})))))}));const is=Ae({"attachment-link":Yr("link"),"attachment-links":Wr("link"),"attachment-title":Qr,attachment:qr,audio:No,"audio-title":Ro,file:jo,image:Po,video:Fo,formula:Do,reference:function(e,t,n){const r=r=>{const a=t;return i.a.createElement(a,{...n},i.a.createElement(e,{...r}))};return r.displayName="Surround("+Zr(e)+")",r}(Zo,"div",{className:"e-color-darkgrey e-mrg-y-2 e-font-size-s e-light"}),"image-overlay":rs});var as=i.a.memo((function({element:e,forceRender:t=!1}){if(null==me(e,"question")&&!t)return null;const n=e.children.length;return i.a.createElement(i.a.Fragment,null,n>1&&i.a.createElement(ko,{element:e,renderChildNodes:is,showTitle:!1,forceRender:t}),is(e))}));const os=i.a.createContext({}),ss=Fr(os,({element:e})=>{const t=ge(e,"question",!1),n=t.length?[]:ge(e,["text-answer","scored-text-answer","dropdown-answer","choice-answer"],!1),r=ge(e,"question-instruction",!1),i=e.getAttribute("display-number"),a=r.length>0?r.map(Nr).join(" "):Er(i);return{answers:n,displayNumber:i,hasExternalMaterial:null!=ye(e,"external-material"),maxAnswers:be(e,"max-answers"),maxScore:be(e,"max-score"),level:fe(e,"question").length,childQuestions:t,questionLabelIds:a}});var ls=e=>{const t=Xr()("e-section e-bg-color-off-white e-pad-6",e.className);return i.a.createElement("section",{...e,className:t},e.children)};var cs=i.a.memo(ss((function({element:e,renderChildNodes:t}){const{displayNumber:n,hasExternalMaterial:a,level:o}=Object(r.useContext)(os);return function(e,t,n){return t&&(0===n||fe(e).every(e=>"question"!==e.localName||!ye(e,"external-material")))}(e,a,o)?i.a.createElement(ls,{id:n,"aria-labelledby":Er(n)},t(e,1)):i.a.createElement(i.a.Fragment,null,t(e,1))})));function us(e){return e.includes(".")?e:e+"."}var ds=i.a.memo((function({element:e,renderChildNodes:t}){const{displayNumber:n,hasExternalMaterial:a}=Object(r.useContext)(os);return a?i.a.createElement("h2",{id:Er(n)},us(n)," ",t(e)):null}));var fs=i.a.memo(e=>{const t=Object(r.useRef)(null);return Object(r.useLayoutEffect)(()=>{t.current&&(document.title=t.current.textContent)}),i.a.createElement("h1",{...e,ref:t})});const ps=i.a.createContext({}),hs=Fr(ps,e=>{const{casCountdownDuration:t,examServerApi:n}=e;return{casCountdownDuration:t||60,examServerApi:n}});var gs=i.a.memo((function({element:e,renderChildNodes:t}){return i.a.createElement(i.a.Fragment,null,t(e,1))}));const ms=i.a.createContext({}),ys=Fr(ms,({element:e})=>({casForbidden:Ie(e,"cas-forbidden"),displayNumber:e.getAttribute("display-number"),maxAnswers:be(e,"max-answers"),minAnswers:be(e,"min-answers"),maxScore:be(e,"max-score"),childQuestions:xe(e,e=>e).filter(e=>"question"===e.localName)})),vs=Ae({"audio-group":gs,"external-material":as,"question-title":ds,question:cs,section:ys(Ro)}),bs=()=>{const{t:e}=Ir();return i.a.createElement(i.a.Fragment,null,e("attachments-page-title"))};var Is=i.a.memo(hs(Br(()=>{const{root:e,language:t,date:n,dateTimeFormatter:a,dayCode:o,examCode:s,resolveAttachment:l,subjectLanguage:c}=Object(r.useContext)(Gr),u=ye(e,"exam-title"),d=e.getAttribute("exam-stylesheet"),f=ye(e,"external-material"),p=zr(()=>br(t,s,o));return Object(r.useEffect)(xr(p,t)),Object(r.useEffect)(Rr,[]),i.a.createElement(y,{i18n:p},i.a.createElement("main",{className:"e-exam attachments",lang:c,"aria-labelledby":"title"},i.a.createElement(i.a.StrictMode,null),d&&i.a.createElement("link",{rel:"stylesheet",href:l(d)}),i.a.createElement(ls,{"aria-labelledby":"title"},u&&i.a.createElement(fs,{id:"title"},i.a.createElement(bs,null)," ",vs(u)),i.a.createElement("div",{className:"e-semibold e-mrg-b-6"},a.format(n)),f&&i.a.createElement(as,{element:f,renderChildNodes:vs,forceRender:!0})),vs(e)))})));function xs(e){return Ms(e,ge(e,"question",!1).map(ws),{displayNumber:ve(e,"display-number"),minAnswers:be(e,"min-answers"),maxAnswers:be(e,"max-answers")})}function ws(e){const t=ge(e,"question",!1);return Ms(e,t.length?t.map(ws):ge(e,["text-answer","scored-text-answer","choice-answer","dropdown-answer"],!1).map(Ts),{displayNumber:ve(e,"display-number"),maxAnswers:be(e,"max-answers")})}function Ts(e){return Ms(e,[],{displayNumber:ve(e,"display-number"),questionId:be(e,"question-id"),maxLength:be(e,"max-length")})}function Ms(e,t,n){return{name:e.localName,attributes:n,childNodes:t}}var As=function(){this.__data__=new pn,this.size=0};var Cs=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var Es=function(e){return this.__data__.get(e)};var Ns=function(e){return this.__data__.has(e)};var Ss=function(e,t){var n=this.__data__;if(n instanceof pn){var r=n.__data__;if(!hn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Tn(r)}return n.set(e,t),this.size=n.size,this};function ks(e){var t=this.__data__=new pn(e);this.size=t.size}ks.prototype.clear=As,ks.prototype.delete=Cs,ks.prototype.get=Es,ks.prototype.has=Ns,ks.prototype.set=Ss;var js=ks;var Ds=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var Ls=function(e){return this.__data__.has(e)};function Os(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Tn;++t<n;)this.add(e[t])}Os.prototype.add=Os.prototype.push=Ds,Os.prototype.has=Ls;var Ps=Os;var Rs=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var zs=function(e,t){return e.has(t)};var _s=function(e,t,n,r,i,a){var o=1&n,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=2&n?new Ps:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var h=e[d],g=t[d];if(r)var m=o?r(g,h,d,t,e,a):r(h,g,d,e,t,a);if(void 0!==m){if(m)continue;f=!1;break}if(p){if(!Rs(t,(function(e,t){if(!zs(p,t)&&(h===e||i(h,e,n,r,a)))return p.push(t)}))){f=!1;break}}else if(h!==g&&!i(h,g,n,r,a)){f=!1;break}}return a.delete(e),a.delete(t),f},Us=x.a.Uint8Array;var Zs=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var Fs=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Gs=w?w.prototype:void 0,Bs=Gs?Gs.valueOf:void 0;var Ys=function(e,t,n,r,i,a,o){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!a(new Us(e),new Us(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return an(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Zs;case"[object Set]":var l=1&r;if(s||(s=Fs),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;r|=2,o.set(e,t);var u=_s(s(e),s(t),r,i,a,o);return o.delete(e),u;case"[object Symbol]":if(Bs)return Bs.call(e)==Bs.call(t)}return!1};var Ws=function(e,t,n){var r=t(e);return _(e)?r:Vn(r,n(e))};var Hs=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a};var Vs=function(){return[]},qs=Object.prototype.propertyIsEnumerable,Qs=Object.getOwnPropertySymbols,Js=Qs?function(e){return null==e?[]:(e=Object(e),Hs(Qs(e),(function(t){return qs.call(e,t)})))}:Vs;var Xs=function(e){return Ws(e,oe,Js)},Ks=Object.prototype.hasOwnProperty;var $s=function(e,t,n,r,i,a){var o=1&n,s=Xs(e),l=s.length;if(l!=Xs(t).length&&!o)return!1;for(var c=l;c--;){var u=s[c];if(!(o?u in t:Ks.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var h=o;++c<l;){var g=e[u=s[c]],m=t[u];if(r)var y=o?r(m,g,u,t,e,a):r(g,m,u,e,t,a);if(!(void 0===y?g===m||i(g,m,n,r,a):y)){p=!1;break}h||(h="constructor"==u)}if(p&&!h){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(p=!1)}return a.delete(e),a.delete(t),p},el=Ht(x.a,"DataView"),tl=Ht(x.a,"Promise"),nl=Ht(x.a,"Set"),rl=Ht(x.a,"WeakMap"),il=zt(el),al=zt(hn),ol=zt(tl),sl=zt(nl),ll=zt(rl),cl=j;(el&&"[object DataView]"!=cl(new el(new ArrayBuffer(1)))||hn&&"[object Map]"!=cl(new hn)||tl&&"[object Promise]"!=cl(tl.resolve())||nl&&"[object Set]"!=cl(new nl)||rl&&"[object WeakMap]"!=cl(new rl))&&(cl=function(e){var t=j(e),n="[object Object]"==t?e.constructor:void 0,r=n?zt(n):"";if(r)switch(r){case il:return"[object DataView]";case al:return"[object Map]";case ol:return"[object Promise]";case sl:return"[object Set]";case ll:return"[object WeakMap]"}return t});var ul=cl,dl=Object.prototype.hasOwnProperty;var fl=function(e,t,n,r,i,a){var o=_(e),s=_(t),l=o?"[object Array]":ul(e),c=s?"[object Array]":ul(t),u="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),d="[object Object]"==(c="[object Arguments]"==c?"[object Object]":c),f=l==c;if(f&&Object(U.a)(e)){if(!Object(U.a)(t))return!1;o=!0,u=!1}if(f&&!u)return a||(a=new js),o||q(e)?_s(e,t,n,r,i,a):Ys(e,t,l,n,r,i,a);if(!(1&n)){var p=u&&dl.call(e,"__wrapped__"),h=d&&dl.call(t,"__wrapped__");if(p||h){var g=p?e.value():e,m=h?t.value():t;return a||(a=new js),i(g,m,n,r,a)}}return!!f&&(a||(a=new js),$s(e,t,n,r,i,a))};var pl=function e(t,n,r,i,a){return t===n||(null==t||null==n||!D(t)&&!D(n)?t!=t&&n!=n:fl(t,n,r,i,e,a))};var hl=function(e,t,n,r){var i=n.length,a=i,o=!r;if(null==e)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var l=(s=n[i])[0],c=e[l],u=s[1];if(o&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new js;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?pl(u,c,3,r,d):f))return!1}}return!0};var gl=function(e){return e==e&&!re(e)};var ml=function(e){for(var t=oe(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,gl(i)]}return t};var yl=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}};var vl=function(e){var t=ml(e);return 1==t.length&&t[0][2]?yl(t[0][0],t[0][1]):function(n){return n===e||hl(n,e,t)}};var bl=function(e,t){return Dt(e)&&gl(t)?yl(Pn(e),t):function(n){var r=qi(n,e);return void 0===r&&r===t?Wn(n,e):pl(t,r,3)}};var Il=function(e){return function(t){return null==t?void 0:t[e]}};var xl=function(e){return function(t){return Rn(t,e)}};var wl=function(e){return Dt(e)?Il(Pn(e)):xl(e)};var Tl=function(e){return"function"==typeof e?e:null==e?ce:"object"==typeof e?_(e)?bl(e[0],e[1]):vl(e):wl(e)};var Ml=function(e,t){var n=-1,r=ae(e)?Array(e.length):[];return le(e,(function(e,i,a){r[++n]=t(e,i,a)})),r};var Al=function(e,t){return(_(e)?Sn:Ml)(e,Tl(t,3))};var Cl=function(e,t){var n={};return t=Tl(t,3),se(e,(function(e,r,i){_n(n,r,t(e,r,i))})),n};var El=function(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r};var Nl=function(e,t,n,r){return le(e,(function(e,i,a){t(r,e,n(e),a)})),r};var Sl=function(e,t){return function(n,r){var i=_(n)?El:Nl,a=t?t():{};return i(n,e,Tl(r,2),a)}}((function(e,t,n){_n(e,n,t)})),kl=n(42),jl=function(){return Math.random().toString(36).substring(7).split("").join(".")},Dl={INIT:"@@redux/INIT"+jl(),REPLACE:"@@redux/REPLACE"+jl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+jl()}};function Ll(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ol(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(Ol)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var i=e,a=t,o=[],s=o,l=!1;function c(){s===o&&(s=o.slice())}function u(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return c(),s.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,c();var n=s.indexOf(e);s.splice(n,1),o=null}}}function f(e){if(!Ll(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,a=i(a,e)}finally{l=!1}for(var t=o=s,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,f({type:Dl.REPLACE})}function h(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[kl.a]=function(){return this},e}return f({type:Dl.INIT}),(r={dispatch:f,subscribe:d,getState:u,replaceReducer:p})[kl.a]=h,r}function Pl(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function Rl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zl(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function _l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zl(n,!0).forEach((function(t){Rl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zl(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ul(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var Zl=function(e){return"@@redux-saga/"+e},Fl=Zl("CANCEL_PROMISE"),Gl=Zl("CHANNEL_END"),Bl=Zl("IO"),Yl=Zl("MATCH"),Wl=Zl("MULTICAST"),Hl=Zl("SAGA_ACTION"),Vl=Zl("SELF_CANCELLATION"),ql=Zl("TASK"),Ql=Zl("TASK_CANCEL"),Jl=Zl("TERMINATE"),Xl=Zl("LOCATION"),Kl=function(e){return null==e},$l=function(e){return null!=e},ec=function(e){return"function"==typeof e},tc=function(e){return"string"==typeof e},nc=Array.isArray,rc=function(e){return e&&ec(e.then)},ic=function(e){return e&&ec(e.next)&&ec(e.throw)},ac=function e(t){return t&&(tc(t)||lc(t)||ec(t)||nc(t)&&t.every(e))},oc=function(e){return e&&ec(e.take)&&ec(e.close)},sc=function(e){return ec(e)&&e.hasOwnProperty("toString")},lc=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype};var cc=function(e,t){var n;void 0===t&&(t=!0);var r=new Promise((function(r){n=setTimeout(r,e,t)}));return r[Fl]=function(){clearTimeout(n)},r},uc=function(e){return function(){return e}}(!0),dc=function(){};var fc=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var pc=function(e,t){ai(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function hc(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function gc(e){var t=!1;return function(){t||(t=!0,e())}}var mc=function(e){throw e},yc=function(e){return{value:e,done:!0}};function vc(e,t,n){void 0===t&&(t=mc),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:yc,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function bc(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var Ic=function(e){return Array.apply(null,new Array(e))},xc=function(e){return function(t){return e(Object.defineProperty(t,Hl,{value:!0}))}},wc=function(e){return e===Jl},Tc=function(e){return e===Ql},Mc=function(e){return wc(e)||Tc(e)};function Ac(e,t){var n=Object.keys(e),r=n.length;var i,a=0,o=nc(e)?Ic(r):{},s={};return n.forEach((function(e){var n=function(n,s){i||(s||Mc(n)?(t.cancel(),t(n,s)):(o[e]=n,++a===r&&(i=!0,t(o))))};n.cancel=dc,s[e]=n})),t.cancel=function(){i||(i=!0,n.forEach((function(e){return s[e].cancel()})))},s}function Cc(e){return{name:e.name||"anonymous",location:Ec(e)}}function Ec(e){return e[Xl]}var Nc={isEmpty:uc,put:dc,take:dc};function Sc(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,i=0,a=0,o=function(t){n[i]=t,i=(i+1)%e,r++},s=function(){if(0!=r){var t=n[a];return n[a]=null,r--,a=(a+1)%e,t}},l=function(){for(var e=[];r;)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){var c;if(r<e)o(s);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[i]=s,a=i=(i+1)%e;break;case 4:c=2*e,n=l(),r=n.length,i=n.length,a=0,n.length=c,e=c,o(s)}},take:s,flush:l}}var kc=function(){return Nc},jc=function(e){return Sc(e,4)},Dc=function(e,t){var n;return(n={})[Bl]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function Lc(e,t){return void 0===e&&(e="*"),ac(e)?Dc("TAKE",{pattern:e}):oc(n=e)&&n[Wl]&&$l(t)&&ac(t)?Dc("TAKE",{channel:e,pattern:t}):oc(e)?Dc("TAKE",{channel:e}):void 0;var n}function Oc(e,t){return Kl(t)&&(t=e,e=void 0),Dc("PUT",{channel:e,action:t})}function Pc(e){var t=Dc("RACE",e);return t.combinator=!0,t}function Rc(e,t){var n,r=null;return ec(e)?n=e:(nc(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&tc(n)&&ec(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function zc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Dc("CALL",Rc(e,n))}function _c(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Dc("FORK",Rc(e,n))}function Uc(e){return void 0===e&&(e=Vl),Dc("CANCEL",e)}var Zc=zc.bind(null,cc);function Fc(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}var Gc=Fc,Bc=[],Yc=0;function Wc(e){try{qc(),e()}finally{Qc()}}function Hc(e){Bc.push(e),Yc||(qc(),Jc())}function Vc(e){try{return qc(),e()}finally{Jc()}}function qc(){Yc++}function Qc(){Yc--}function Jc(){var e;for(Qc();!Yc&&void 0!==(e=Bc.shift());)Wc(e)}var Xc=function(e){return function(t){return e.some((function(e){return nu(e)(t)}))}},Kc=function(e){return function(t){return e(t)}},$c=function(e){return function(t){return t.type===String(e)}},eu=function(e){return function(t){return t.type===e}},tu=function(){return uc};function nu(e){var t="*"===e?tu:tc(e)?$c:nc(e)?Xc:sc(e)?$c:ec(e)?Kc:lc(e)?eu:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var ru={type:Gl},iu=function(e){return e&&e.type===Gl};function au(e){void 0===e&&(e=jc());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(ru):e.isEmpty()?(n.push(r),r.cancel=function(){hc(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(ru):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,i=e.length;r<i;r++){(0,e[r])(ru)}}}}}function ou(){var e,t,n,r,i,a,o=(t=!1,r=n=[],i=function(){r===n&&(r=n.slice())},a=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(ru)}))},(e={})[Wl]=!0,e.put=function(e){if(!t)if(iu(e))a();else for(var i=n=r,o=0,s=i.length;o<s;o++){var l=i[o];l[Yl](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=tu),t?e(ru):(e[Yl]=n,i(),r.push(e),e.cancel=gc((function(){i(),hc(r,e)})))},e.close=a,e),s=o.put;return o.put=function(e){e[Hl]?s(e):Hc((function(){s(e)}))},o}function su(e,t){var n=e[Fl];ec(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var lu,cu=0,uu=function(){return++cu};function du(e){e.isRunning()&&e.cancel()}var fu=((lu={}).TAKE=function(e,t,n){var r=t.channel,i=void 0===r?e.channel:r,a=t.pattern,o=t.maybe,s=function(e){e instanceof Error?n(e,!0):!iu(e)||o?n(e):n(Jl)};try{i.take(s,$l(a)?nu(a):null)}catch(e){return void n(e,!0)}n.cancel=s.cancel},lu.PUT=function(e,t,n){var r=t.channel,i=t.action,a=t.resolve;Hc((function(){var t;try{t=(r?r.put:e.dispatch)(i)}catch(e){return void n(e,!0)}a&&rc(t)?su(t,n):n(t)}))},lu.ALL=function(e,t,n,r){var i=r.digestEffect,a=cu,o=Object.keys(t);if(0!==o.length){var s=Ac(t,n);o.forEach((function(e){i(t[e],a,s[e],e)}))}else n(nc(t)?[]:{})},lu.RACE=function(e,t,n,r){var i=r.digestEffect,a=cu,o=Object.keys(t),s=nc(t)?Ic(o.length):{},l={},c=!1;o.forEach((function(e){var t=function(t,r){c||(r||Mc(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,s[e]=t,n(s)))};t.cancel=dc,l[e]=t})),n.cancel=function(){c||(c=!0,o.forEach((function(e){return l[e].cancel()})))},o.forEach((function(e){c||i(t[e],a,l[e],e)}))},lu.CALL=function(e,t,n,r){var i=t.context,a=t.fn,o=t.args,s=r.task;try{var l=a.apply(i,o);if(rc(l))return void su(l,n);if(ic(l))return void Iu(e,l,s.context,cu,Cc(a),!1,n);n(l)}catch(e){n(e,!0)}},lu.CPS=function(e,t,n){var r=t.context,i=t.fn,a=t.args;try{var o=function(e,t){Kl(e)?n(t):n(e,!0)};i.apply(r,a.concat(o)),o.cancel&&(n.cancel=o.cancel)}catch(e){n(e,!0)}},lu.FORK=function(e,t,n,r){var i=t.context,a=t.fn,o=t.args,s=t.detached,l=r.task,c=function(e){var t=e.context,n=e.fn,r=e.args;try{var i=n.apply(t,r);if(ic(i))return i;var a=!1;return vc((function(e){return a?{value:e,done:!0}:(a=!0,{value:i,done:!rc(i)})}))}catch(e){return vc((function(){throw e}))}}({context:i,fn:a,args:o}),u=function(e,t){return e.isSagaIterator?{name:e.meta.name}:Cc(t)}(c,a);Vc((function(){var t=Iu(e,c,l.context,cu,u,s,void 0);s?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},lu.JOIN=function(e,t,n,r){var i=r.task,a=function(e,t){if(e.isRunning()){var n={task:i,cb:t};t.cancel=function(){e.isRunning()&&hc(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(nc(t)){if(0===t.length)return void n([]);var o=Ac(t,n);t.forEach((function(e,t){a(e,o[t])}))}else a(t,n)},lu.CANCEL=function(e,t,n,r){var i=r.task;t===Vl?du(i):nc(t)?t.forEach(du):du(t),n()},lu.SELECT=function(e,t,n){var r=t.selector,i=t.args;try{n(r.apply(void 0,[e.getState()].concat(i)))}catch(e){n(e,!0)}},lu.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,i=au(t.buffer),a=nu(r),o=function t(n){iu(n)||e.channel.take(t,a),i.put(n)},s=i.close;i.close=function(){o.cancel(),s()},e.channel.take(o,a),n(i)},lu.CANCELLED=function(e,t,n,r){n(r.task.isCancelled())},lu.FLUSH=function(e,t,n){t.flush(n)},lu.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},lu.SET_CONTEXT=function(e,t,n,r){var i=r.task;pc(i.context,t),n()},lu);function pu(e,t){return e+"?"+t}function hu(e){var t=e.name,n=e.location;return n?t+" "+pu(n.fileName,n.lineNumber):t}var gu=null,mu=[],yu=function(){gu=null,mu.length=0},vu=function(){var e,t,n,r,i,a,o,s=mu[0],l=mu.slice(1),c=s.crashedEffect?(e=s.crashedEffect,(t=Ec(e))?t.code+" "+pu(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+hu(s.meta)+(c?" \n when executing effect "+c:"")].concat(l.map((function(e){return" created by "+hu(e.meta)})),[(n=mu,r=function(e){return e.cancelledTasks},i=n,o=(a=[]).concat.apply(a,i.map(r)),o.length?["Tasks cancelled due to error:"].concat(o).join("\n"):"")]).join("\n")};function bu(e,t,n,r,i,a,o){var s;void 0===o&&(o=dc);var l,c,u=0,d=null,f=[],p=Object.create(n),h=function(e,t,n){var r,i=[],a=!1;function o(e){t(),l(),n(e,!0)}function s(t){i.push(t),t.cont=function(s,l){a||(hc(i,t),t.cont=dc,l?o(s):(t===e&&(r=s),i.length||(a=!0,n(r))))}}function l(){a||(a=!0,i.forEach((function(e){e.cont=dc,e.cancel()})),i=[])}return s(e),{addTask:s,cancelAll:l,abort:o,getTasks:function(){return i}}}(t,(function(){f.push.apply(f,h.getTasks().map((function(e){return e.meta.name})))}),g);function g(t,n){if(n){if(u=2,(a={meta:i,cancelledTasks:f}).crashedEffect=gu,mu.push(a),m.isRoot){var r=vu();yu(),e.onError(t,{sagaStack:r})}c=t,d&&d.reject(t)}else t===Ql?u=1:1!==u&&(u=3),l=t,d&&d.resolve(t);var a;m.cont(t,n),m.joiners.forEach((function(e){e.cb(t,n)})),m.joiners=null}var m=((s={})[ql]=!0,s.id=r,s.meta=i,s.isRoot=a,s.context=p,s.joiners=[],s.queue=h,s.cancel=function(){0===u&&(u=1,h.cancelAll(),g(Ql,!1))},s.cont=o,s.end=g,s.setContext=function(e){pc(p,e)},s.toPromise=function(){return d||(d=Gc(),2===u?d.reject(c):0!==u&&d.resolve(l)),d.promise},s.isRunning=function(){return 0===u},s.isCancelled=function(){return 1===u||0===u&&1===t.status},s.isAborted=function(){return 2===u},s.result=function(){return l},s.error=function(){return c},s);return m}function Iu(e,t,n,r,i,a,o){var s=e.finalizeRunEffect((function(t,n,r){if(rc(t))su(t,r);else if(ic(t))Iu(e,t,c.context,n,i,!1,r);else if(t&&t[Bl]){(0,fu[t.type])(e,t.payload,r,u)}else r(t)}));d.cancel=dc;var l={meta:i,cancel:function(){0===l.status&&(l.status=1,d(Ql))},status:0},c=bu(e,l,n,r,i,a,o),u={task:c,digestEffect:f};return o&&(o.cancel=c.cancel),d(),c;function d(e,n){try{var i;n?(i=t.throw(e),yu()):Tc(e)?(l.status=1,d.cancel(),i=ec(t.return)?t.return(Ql):{done:!0,value:Ql}):i=wc(e)?ec(t.return)?t.return():{done:!0}:t.next(e),i.done?(1!==l.status&&(l.status=3),l.cont(i.value)):f(i.value,r,d)}catch(e){if(1===l.status)throw e;l.status=2,l.cont(e,!0)}}function f(t,n,r,i){void 0===i&&(i="");var a,o=uu();function l(n,i){a||(a=!0,r.cancel=dc,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(o,n):e.sagaMonitor.effectResolved(o,n)),i&&function(e){gu=e}(t),r(n,i))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:o,parentEffectId:n,label:i,effect:t}),l.cancel=dc,r.cancel=function(){a||(a=!0,l.cancel(),l.cancel=dc,e.sagaMonitor&&e.sagaMonitor.effectCancelled(o))},s(t,o,l)}}function xu(e,t){var n=e.channel,r=void 0===n?ou():n,i=e.dispatch,a=e.getState,o=e.context,s=void 0===o?{}:o,l=e.sagaMonitor,c=e.effectMiddlewares,u=e.onError,d=void 0===u?bc:u;for(var f=arguments.length,p=new Array(f>2?f-2:0),h=2;h<f;h++)p[h-2]=arguments[h];var g=t.apply(void 0,p);var m,y=uu();if(l&&(l.rootSagaStarted=l.rootSagaStarted||dc,l.effectTriggered=l.effectTriggered||dc,l.effectResolved=l.effectResolved||dc,l.effectRejected=l.effectRejected||dc,l.effectCancelled=l.effectCancelled||dc,l.actionDispatched=l.actionDispatched||dc,l.rootSagaStarted({effectId:y,saga:t,args:p})),c){var v=Ul.apply(void 0,c);m=function(e){return function(t,n,r){return v((function(t){return e(t,n,r)}))(t)}}}else m=fc;var b={channel:r,dispatch:xc(i),getState:a,sagaMonitor:l,onError:d,finalizeRunEffect:m};return Vc((function(){var e=Iu(b,g,s,y,Cc(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}var wu=function(e){var t,n=void 0===e?{}:e,r=n.context,i=void 0===r?{}:r,a=n.channel,o=void 0===a?ou():a,s=n.sagaMonitor,l=oi(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=xu.bind(null,ai({},l,{context:i,channel:o,dispatch:r,getState:n,sagaMonitor:s})),function(e){return function(t){s&&s.actionDispatched&&s.actionDispatched(t);var n=e(t);return o.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){pc(i,e)},c},Tu=function(e){return{done:!0,value:e}},Mu={};function Au(e){return oc(e)?"channel":sc(e)?String(e):ec(e)?e.name:String(e)}function Cu(e,t,n){var r,i,a,o=t;function s(t,n){if(o===Mu)return Tu(t);if(n&&!i)throw o=Mu,n;r&&r(t);var s=n?e[i](n):e[o]();return o=s.nextState,a=s.effect,r=s.stateUpdater,i=s.errorState,o===Mu?Tu(t):a}return vc(s,(function(e){return s(null,e)}),n)}function Eu(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a,o={done:!1,value:Lc(e)},s=function(e){return{done:!1,value:_c.apply(void 0,[t].concat(r,[e]))}},l=function(e){return a=e};return Cu({q1:function(){return{nextState:"q2",effect:o,stateUpdater:l}},q2:function(){return{nextState:"q1",effect:s(a)}}},"q1","takeEvery("+Au(e)+", "+t.name+")")}function Nu(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a,o,s={done:!1,value:Lc(e)},l=function(e){return{done:!1,value:_c.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:Uc(e)}},u=function(e){return a=e},d=function(e){return o=e};return Cu({q1:function(){return{nextState:"q2",effect:s,stateUpdater:d}},q2:function(){return a?{nextState:"q3",effect:c(a)}:{nextState:"q1",effect:l(o),stateUpdater:u}},q3:function(){return{nextState:"q1",effect:l(o),stateUpdater:u}}},"q1","takeLatest("+Au(e)+", "+t.name+")")}var Su=function(e,t){return Jn(Al(e,t),1)};function ku(e,t){return function(e,t,n){return function e(n,r){return r.childNodes.reduce(e,t(n,r))}(n,e)}(e,(e,n)=>{if("text-answer"===n.name&&null!=n.attributes.maxLength){const r=t[n.attributes.questionId];return("richText"===(null==r?void 0:r.type)||"text"===(null==r?void 0:r.type))&&r.characterCount>n.attributes.maxLength?[...e,{type:"AnswerTooLong",displayNumber:n.attributes.displayNumber,characterCount:r.characterCount}]:e}return e},[])}function ju(e,t){return function e(n){var r;const i="exam"===n.name?"":n.attributes.displayNumber;switch(n.name){case"exam":case"section":case"question":{const t=n.childNodes.map(e),a=t.filter(e=>e.answerCount>0),o=null!==(r=n.attributes.maxAnswers)&&void 0!==r?r:1/0,s="section"===n.name?n.attributes.minAnswers:void 0,l="exam"===n.name?a.reduce((e,t)=>e+t.answerCount,0):a.length,c=Su(t,e=>e.extraAnswers);return{answerCount:l,displayNumber:i,extraAnswers:l>o?[{type:"ExtraAnswer",elementType:n.name,displayNumber:i,childQuestions:t.map(e=>e.displayNumber),maxAnswers:o,minAnswers:s},...c]:c}}case"text-answer":case"scored-text-answer":case"choice-answer":case"dropdown-answer":{const e=t[n.attributes.questionId];return{answerCount:(null==e?void 0:e.value.length)>0?1:0,displayNumber:i,extraAnswers:[]}}}}(e).extraAnswers}function Du(e,t){return Su([ku,ju],n=>n(e,t))}const Lu={answersById:{},examStructure:{name:"exam",attributes:{},childNodes:[]},focusedQuestionId:null,supportsAnswerHistory:!1,serverQuestionIds:new Set,savedQuestionIds:new Set,validationErrors:[]};function Ou(e,t){const n=new Set(e);return n.add(t),n}const Pu=e=>Object(To.action)("SAVE_ANSWER",e),Ru=new Map;function*zu(e,t){const n=e.payload;try{yield Zc(1e3),yield zc(t.saveAnswer,n),yield Oc((e=>Object(To.action)("SAVE_ANSWER_SUCCEEDED",e))(n))}catch(e){yield Oc(((e,t)=>Object(To.action)("SAVE_ANSWER_FAILED",{answer:e,error:t},void 0,!0))(n,e))}Ru.delete(n.questionId)}function*_u(e){for(;;){const t=yield Lc("SAVE_ANSWER"),n=Ru.get(t.payload.questionId);n&&(yield Uc(n));const r=yield _c(zu,t,e);Ru.set(t.payload.questionId,r)}}function*Uu(e){for(;e.selectAnswerVersion;){const t=yield Lc("SELECT_ANSWER_VERSION"),{questionId:n,questionText:r}=t.payload;try{const t=yield zc(e.selectAnswerVersion,n,r);t&&(yield Oc(Pu(t)))}catch(e){console.error(e)}}}function*Zu(e){yield _c(_u,e),yield _c(Uu,e)}var Fu=function(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?_n(n,s,l):Zn(n,s,l)}return n};var Gu=function(e,t){return e&&Fu(t,oe(t),e)};var Bu=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},Yu=Object.prototype.hasOwnProperty;var Wu=function(e){if(!re(e))return Bu(e);var t=K(e),n=[];for(var r in e)("constructor"!=r||!t&&Yu.call(e,r))&&n.push(r);return n};var Hu=function(e){return ae(e)?J(e,!0):Wu(e)};var Vu=function(e,t){return e&&Fu(t,Hu(t),e)},qu=n(71);var Qu=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};var Ju=function(e,t){return Fu(e,Js(e),t)},Xu=$(Object.getPrototypeOf,Object),Ku=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Vn(t,Js(e)),e=Xu(e);return t}:Vs;var $u=function(e,t){return Fu(e,Ku(e),t)};var ed=function(e){return Ws(e,Hu,Ku)},td=Object.prototype.hasOwnProperty;var nd=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&td.call(e,"index")&&(n.index=e.index,n.input=e.input),n};var rd=function(e){var t=new e.constructor(e.byteLength);return new Us(t).set(new Us(e)),t};var id=function(e,t){var n=t?rd(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},ad=/\w*$/;var od=function(e){var t=new e.constructor(e.source,ad.exec(e));return t.lastIndex=e.lastIndex,t},sd=w?w.prototype:void 0,ld=sd?sd.valueOf:void 0;var cd=function(e){return ld?Object(ld.call(e)):{}};var ud=function(e,t){var n=t?rd(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var dd=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return rd(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return id(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ud(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return od(e);case"[object Set]":return new r;case"[object Symbol]":return cd(e)}},fd=Object.create,pd=function(){function e(){}return function(t){if(!re(t))return{};if(fd)return fd(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var hd=function(e){return"function"!=typeof e.constructor||K(e)?{}:pd(Xu(e))};var gd=function(e){return D(e)&&"[object Map]"==ul(e)},md=H.a&&H.a.isMap,yd=md?W(md):gd;var vd=function(e){return D(e)&&"[object Set]"==ul(e)},bd=H.a&&H.a.isSet,Id=bd?W(bd):vd,xd={};xd["[object Arguments]"]=xd["[object Array]"]=xd["[object ArrayBuffer]"]=xd["[object DataView]"]=xd["[object Boolean]"]=xd["[object Date]"]=xd["[object Float32Array]"]=xd["[object Float64Array]"]=xd["[object Int8Array]"]=xd["[object Int16Array]"]=xd["[object Int32Array]"]=xd["[object Map]"]=xd["[object Number]"]=xd["[object Object]"]=xd["[object RegExp]"]=xd["[object Set]"]=xd["[object String]"]=xd["[object Symbol]"]=xd["[object Uint8Array]"]=xd["[object Uint8ClampedArray]"]=xd["[object Uint16Array]"]=xd["[object Uint32Array]"]=!0,xd["[object Error]"]=xd["[object Function]"]=xd["[object WeakMap]"]=!1;var wd=function e(t,n,r,i,a,o){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=a?r(t,i,a,o):r(t)),void 0!==s)return s;if(!re(t))return t;var d=_(t);if(d){if(s=nd(t),!l)return Qu(t,s)}else{var f=ul(t),p="[object Function]"==f||"[object GeneratorFunction]"==f;if(Object(U.a)(t))return Object(qu.a)(t,l);if("[object Object]"==f||"[object Arguments]"==f||p&&!a){if(s=c||p?{}:hd(t),!l)return c?$u(t,Vu(s,t)):Ju(t,Gu(s,t))}else{if(!xd[f])return a?t:{};s=dd(t,f,l)}}o||(o=new js);var h=o.get(t);if(h)return h;o.set(t,s),Id(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,o))})):yd(t)&&t.forEach((function(i,a){s.set(a,e(i,n,r,a,t,o))}));var g=d?void 0:(u?c?ed:Xs:c?Hu:oe)(t);return v(g||t,(function(i,a){g&&(i=t[a=i]),Zn(s,a,e(i,n,r,a,t,o))})),s};var Td=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a};var Md=function(e,t){return t.length<2?e:Rn(e,Td(t,0,-1))};var Ad=function(e,t){return t=On(t,e),null==(e=Md(e,t))||delete e[Pn(yt(t))]},Cd=Function.prototype,Ed=Object.prototype,Nd=Cd.toString,Sd=Ed.hasOwnProperty,kd=Nd.call(Object);var jd=function(e){if(!D(e)||"[object Object]"!=j(e))return!1;var t=Xu(e);if(null===t)return!0;var n=Sd.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Nd.call(n)==kd};var Dd=function(e){return jd(e)?void 0:e},Ld=ar((function(e,t){var n={};if(null==e)return n;var r=!1;t=Sn(t,(function(t){return t=On(t,e),r||(r=t.length>1),t})),Fu(e,ed(e),n),r&&(n=wd(n,7,Dd));for(var i=t.length;i--;)Ad(n,t[i]);return n}));const Od={errors:{},nowPlaying:null,playbackTimes:{}};const Pd=e=>function(e,t){void 0===t&&(t=kc());var n,r=!1,i=au(t),a=function(){r||(r=!0,ec(n)&&n(),i.close())};return n=gc(n=e((function(e){iu(e)?a():i.put(e)}))),r&&n(),{take:i.take,flush:i.flush,close:a}}(t=>{const n=setInterval(()=>{--e>0?t(e):(t(ru),clearInterval(n))},1e3);return()=>clearInterval(n)});function*Rd(e,t){const n=yield zc(Pd,e);try{for(;;){const e=yield Lc(n);yield Oc(t(e))}}finally{(yield Dc("CANCELLED",{}))&&n.close()}}function*zd(e,t){const n=t.payload;try{const t=null!=n.restrictedAudioId?yield function(e){void 0===e&&(e=fc);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Dc("SELECT",{selector:e,args:n})}(Xi(n.restrictedAudioId)):void 0,r=null!=t&&null!=n.restrictedAudioId?yield zc(e.playRestrictedAudio,n.src,n.restrictedAudioId,t):yield zc(e.playAudio,n.src);"ok"===r?(yield Oc((e=>Object(To.action)("PLAY_AUDIO_STARTED",e))(n)),yield zc(Rd,n.duration,Ao),yield Oc(Object(To.action)("PLAY_AUDIO_FINISHED"))):(yield Oc(((e,t)=>Object(To.action)("SHOW_AUDIO_ERROR",{audio:e,error:t}))(n,r)),yield Zc(5e3),yield Oc((e=>Object(To.action)("HIDE_AUDIO_ERROR",e))(n)))}catch(e){console.error(e)}}function*_d(e){yield function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return _c.apply(void 0,[Eu,e,t].concat(r))}("PLAY_AUDIO",zd,e)}const Ud={casStatus:"forbidden"};const{createAction:Zd}=To.deprecated,Fd=Zd("ALLOW_CAS_SUCCEEDED"),Gd=Zd("ALLOW_CAS_CANCELLED"),Bd=e=>Object(To.action)("UPDATE_CAS_REMAINING",e);function*Yd(e,{payload:t}){try{if("allowed"===(yield zc(e.setCasStatus,"allowing")))return void(yield Oc(Fd()));yield Oc((n=t,Object(To.action)("ALLOW_CAS_COUNTDOWN",n)));const{cancelled:r}=yield Pc({finished:zc(Rd,t,Bd),cancelled:Lc("ALLOW_CAS_CANCELLED")});"allowed"===(yield zc(e.setCasStatus,r?"forbidden":"allowed"))?yield Oc(Fd()):r||(yield Oc(Gd()))}catch(e){console.error(e)}var n}function*Wd(e){yield function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return _c.apply(void 0,[Nu,e,t].concat(r))}("ALLOW_CAS",Yd,e)}const Hd=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var a,o=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:Dl.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:Dl.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+Dl.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,i={},s=0;s<o.length;s++){var l=o[s],c=n[l],u=e[l],d=c(u,t);if(void 0===d){var f=Pl(l,t);throw new Error(f)}i[l]=d,r=r||d!==u}return(r=r||o.length!==Object.keys(e).length)?i:e}}({answers:function(e=Lu,t){switch(t.type){case"SAVE_ANSWER":{const{questionId:n}=t.payload,r=function(e,t){const n=new Set(e);return n.delete(t),n}(e.savedQuestionIds,n),i={...e.answersById,[n]:t.payload};return{...e,savedQuestionIds:r,answersById:i}}case"SAVE_ANSWER_FAILED":return e;case"SAVE_ANSWER_SUCCEEDED":{const{questionId:n}=t.payload,r=Ou(e.savedQuestionIds,n),i=Ou(e.serverQuestionIds,n),a=Du(e.examStructure,e.answersById);return{...e,serverQuestionIds:i,savedQuestionIds:r,validationErrors:a}}case"ANSWER_FOCUSED":{const n=t.payload;return{...e,focusedQuestionId:n}}case"ANSWER_BLURRED":{const n=t.payload;return{...e,focusedQuestionId:e.focusedQuestionId===n?null:e.focusedQuestionId}}default:return e}},audio:function(e=Od,t){switch(t.type){case"PLAY_AUDIO":{const n=t.payload,r={audio:n,durationRemaining:n.duration};return{...e,nowPlaying:r}}case"PLAY_AUDIO_STARTED":{const n=t.payload;if(null!=n.restrictedAudioId){const t=e.playbackTimes[n.restrictedAudioId],r={...e.playbackTimes,[n.restrictedAudioId]:t?t+1:1},i=Ld(e.errors,[n.src]);return{...e,playbackTimes:r,errors:i}}return e}case"SHOW_AUDIO_ERROR":{const{audio:n,error:r}=t.payload,i=qi(n,"restrictedAudioId",n.src),a={...e.errors,[i]:r};return{...e,errors:a,nowPlaying:null}}case"HIDE_AUDIO_ERROR":{const n=t.payload,r=qi(n,"restrictedAudioId",n.src),i=Ld(e.errors,[r]);return{...e,errors:i}}case"PLAY_AUDIO_FINISHED":return{...e,nowPlaying:null};case"UPDATE_REMAINING":{const n=t.payload,r={...e.nowPlaying,durationRemaining:n};return{...e,nowPlaying:r}}default:return e}},cas:function(e=Ud,t){switch(t.type){case"ALLOW_CAS":return e;case"ALLOW_CAS_COUNTDOWN":return{casStatus:"allowing",durationRemaining:t.payload};case"ALLOW_CAS_SUCCEEDED":return{casStatus:"allowed"};case"ALLOW_CAS_CANCELLED":return{casStatus:"forbidden"};case"UPDATE_CAS_REMAINING":return{casStatus:"allowing",durationRemaining:t.payload};default:return e}}});function*Vd(e){yield _c(Zu,e),yield _c(_d,e),yield _c(Wd,e)}function qd(e,t,n,r,i){const a=new Set(Al(n,"questionId")),o=Cl(Sl(r,"restrictedAudioId"),"times"),s=Sl(n,"questionId"),l={answers:{answersById:s,focusedQuestionId:null,serverQuestionIds:a,supportsAnswerHistory:"function"==typeof i.selectAnswerVersion,savedQuestionIds:a,examStructure:e,validationErrors:Du(e,s)},audio:{errors:{},nowPlaying:null,playbackTimes:o},cas:{casStatus:t}},c=wu(),u=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Ul,d=Ol(Hd,l,u(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},a=t.map((function(e){return e(i)}));return _l({},n,{dispatch:r=Ul.apply(void 0,a)(n.dispatch)})}}}(c)));return c.run(Vd,i),d}var Qd=i.a.memo((function({element:e,className:t,renderChildNodes:n}){return i.a.createElement("div",{className:Xr()("e-audio-group",t)},i.a.createElement("div",{className:"e-audio-group--separator e-font-size-xl e-mrg-y-4 e-color-link",role:"separator"},"✲✲✲"),n(e))}));var Jd=i.a.memo((function({element:e}){const t=e.getAttribute("src"),n=be(e,"duration"),{t:r}=Ir(),a=Hi(Qi(t)),o=Hi(Ji(t)),s=Gi();return i.a.createElement("div",{className:"e-audio-test notification e-pad-2 e-mrg-b-4"},i.a.createElement("p",null,r("audio-test.instructions")),i.a.createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-2"},i.a.createElement("div",{className:"e-column e-column--narrow"},i.a.createElement("button",{className:"e-button",disabled:"stopped"!==a,onClick:()=>"stopped"===a&&s(Mo({src:t,duration:n}))},i.a.createElement(Ma,{className:"e-mrg-r-1",icon:oa,fixedWidth:!0}),r("audio-test.play"))),i.a.createElement("div",{className:"e-column"},i.a.createElement(wo,{error:o}," "))),i.a.createElement("div",null,r("audio-test.volume")))}));function Xd({selected:e,element:t,renderChildNodes:n,questionId:r,onSelect:a,direction:o,value:s}){const l=t.getAttribute("class"),c=i.a.createElement("div",{className:Xr()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":e})},n(t));return"vertical"===o?i.a.createElement("div",{className:"e-mrg-b-1"},i.a.createElement("label",{className:Xr()("e-columns",{"e-columns--inline":null==he(t,["image","video"])})},i.a.createElement("input",{type:"radio",className:"e-radio-button e-column e-column--narrow",name:String(r),onChange:a,value:s,checked:e}),c)):i.a.createElement("div",{className:"e-column e-mrg-b-1"},i.a.createElement("label",{className:"e-block e-text-center"},i.a.createElement("input",{type:"radio",className:"e-radio-button",name:String(r),onChange:a,value:s,checked:e}),c))}var Kd=zi((function(e,{element:t}){const n=be(t,"question-id");return{answer:e.answers.answersById[n]}}),{saveAnswer:Pu})((function({answer:e,saveAnswer:t,element:n,renderChildNodes:a}){const{questionLabelIds:o}=Object(r.useContext)(os),s=be(n,"question-id"),l=n.getAttribute("direction")||"vertical",c=n.getAttribute("class"),u=n.getAttribute("display-number"),d=e=>{t({type:"choice",questionId:s,value:e.currentTarget.value,displayNumber:u})};return i.a.createElement("div",{className:Xr()("e-choice-answer e-mrg-b-4",c,{"e-columns":"horizontal"===l}),"data-question-id":s,role:"radiogroup","aria-labelledby":o},xe(n,t=>{const n=t.getAttribute("option-id"),r="no-answer"===t.getAttribute("type")?"":n,o=null!=e&&e.value===r;return i.a.createElement(Xd,{element:t,onSelect:d,renderChildNodes:a,questionId:s,key:n,direction:l,selected:o,value:r})}))}));function $d(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function ef(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function tf(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return ef(n.overflowY,t)||ef(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function nf(e,t,n,r,i,a,o,s){return a<e&&o>t||a>e&&o<t?0:a<=e&&s<=n||o>=t&&s>=n?a-e-r:o>t&&s<n||a<e&&s>n?o-t+i:0}var rf=function(){return(rf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.create;Object.create;var af=0;function of(){}function sf(e,t){e&&function(e,t){var n=window,r=t.scrollMode,i=t.block,a=t.inline,o=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof o?o:function(e){return e!==o};if(!$d(e))throw new TypeError("Invalid target");for(var c=document.scrollingElement||document.documentElement,u=[],d=e;$d(d)&&l(d);){if((d=d.parentElement)===c){u.push(d);break}null!=d&&d===document.body&&tf(d)&&!tf(document.documentElement)||null!=d&&tf(d,s)&&u.push(d)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),y=m.height,v=m.width,b=m.top,I=m.right,x=m.bottom,w=m.left,T="start"===i||"nearest"===i?b:"end"===i?x:b+y/2,M="center"===a?w+v/2:"end"===a?I:w,A=[],C=0;C<u.length;C++){var E=u[C],N=E.getBoundingClientRect(),S=N.height,k=N.width,j=N.top,D=N.right,L=N.bottom,O=N.left;if("if-needed"===r&&b>=0&&w>=0&&x<=p&&I<=f&&b>=j&&x<=L&&w>=O&&I<=D)return A;var P=getComputedStyle(E),R=parseInt(P.borderLeftWidth,10),z=parseInt(P.borderTopWidth,10),_=parseInt(P.borderRightWidth,10),U=parseInt(P.borderBottomWidth,10),Z=0,F=0,G="offsetWidth"in E?E.offsetWidth-E.clientWidth-R-_:0,B="offsetHeight"in E?E.offsetHeight-E.clientHeight-z-U:0;if(c===E)Z="start"===i?T:"end"===i?T-p:"nearest"===i?nf(g,g+p,p,z,U,g+T,g+T+y,y):T-p/2,F="start"===a?M:"center"===a?M-f/2:"end"===a?M-f:nf(h,h+f,f,R,_,h+M,h+M+v,v),Z=Math.max(0,Z+g),F=Math.max(0,F+h);else{Z="start"===i?T-j-z:"end"===i?T-L+U+B:"nearest"===i?nf(j,L,S,z,U+B,T,T+y,y):T-(j+S/2)+B/2,F="start"===a?M-O-R:"center"===a?M-(O+k/2)+G/2:"end"===a?M-D+_+G:nf(O,D,k,R,_+G,M,M+v,v);var Y=E.scrollLeft,W=E.scrollTop;T+=W-(Z=Math.max(0,Math.min(W+Z,E.scrollHeight-S+B))),M+=Y-(F=Math.max(0,Math.min(Y+F,E.scrollWidth-k+G)))}A.push({el:E,top:Z,left:F})}return A}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}function lf(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function cf(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];r(),n=setTimeout((function(){n=null,e.apply(void 0,a)}),t)}return i.cancel=r,i}function uf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function df(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function ff(){return String(af++)}function pf(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function hf(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=gf(t,r)?t[r]:e[r],n}),{})}function gf(e,t){return void 0!==e[t]}function mf(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function yf(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return-1;var a=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:a+1);var o=t+e;o<0?o=i?a:0:o>a&&(o=i?0:a);var s=vf(e,o,n,r,i);return-1===s?t>=n?-1:t:s}function vf(e,t,n,r,i){var a=r(t);if(!a||!a.hasAttribute("disabled"))return t;if(e>0){for(var o=t+1;o<n;o++)if(!r(o).hasAttribute("disabled"))return o}else for(var s=t-1;s>=0;s--)if(!r(s).hasAttribute("disabled"))return s;return i?e>0?vf(1,0,n,r,!1):vf(-1,n-1,n,r,!1):-1}function bf(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(lf(t,e,n)||r&&lf(t,n.document.activeElement,n))}))}var If=cf((function(e){wf(e).textContent=""}),500);function xf(e,t){var n=wf(t);e&&(n.textContent=e,If(t))}function wf(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var Tf=["isInitialMount","highlightedIndex","items","environment"],Mf={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function Af(e,t,n){var r=e.props,i=e.type,a={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var i=t.props,a=t.type,o="on"+jf(e)+"Change";i[o]&&void 0!==r[e]&&r[e]!==n[e]&&i[o](ai({type:a},r))}(r,e,t,n),n[r]!==t[r]&&(a[r]=n[r])})),r.onStateChange&&Object.keys(a).length&&r.onStateChange(ai({type:i},a))}var Cf=cf((function(e,t){xf(e(),t)}),200),Ef="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;function Nf(e){var t=e.id,n=void 0===t?"downshift-"+ff():t,i=e.labelId,a=e.menuId,o=e.getItemId,s=e.toggleButtonId,l=e.inputId;return Object(r.useRef)({labelId:i||n+"-label",menuId:a||n+"-menu",getItemId:o||function(e){return n+"-item-"+e},toggleButtonId:s||n+"-toggle-button",inputId:l||n+"-input"}).current}function Sf(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}function kf(e){return/^\S{1}$/.test(e)}function jf(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Df(e){var t=Object(r.useRef)(e);return t.current=e,t}function Lf(e,t,n){var i=Object(r.useRef)(),a=Object(r.useRef)(),o=Object(r.useCallback)((function(t,n){a.current=n,t=hf(t,n.props);var r=e(t,n);return n.props.stateReducer(t,ai({},n,{changes:r}))}),[e]),s=Object(r.useReducer)(o,t),l=s[0],c=s[1],u=Df(n),d=Object(r.useCallback)((function(e){return c(ai({props:u.current},e))}),[u]),f=a.current;return Object(r.useEffect)((function(){f&&i.current&&i.current!==l&&Af(f,hf(i.current,f.props),l),i.current=l}),[l,n,f]),[l,d]}function Of(e,t,n){var r=Lf(e,t,n),i=r[0],a=r[1];return[hf(i,n),a]}var Pf={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:sf,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function Rf(e,t,n){void 0===n&&(n=Mf);var r="default"+jf(t);return r in e?e[r]:n[t]}function zf(e,t,n){if(void 0===n&&(n=Mf),t in e)return e[t];var r="initial"+jf(t);return r in e?e[r]:Rf(e,t,n)}function _f(e){var t=zf(e,"selectedItem"),n=zf(e,"isOpen"),r=zf(e,"highlightedIndex"),i=zf(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}function Uf(e,t,n,r){var i=e.items,a=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,s=t.selectedItem,l=t.highlightedIndex;return 0===i.length?-1:void 0!==a&&l===a?a:void 0!==o?o:s?0===n?i.indexOf(s):yf(n,i.indexOf(s),i.length,r,!1):0===n?-1:n<0?i.length-1:0}function Zf(e,t,n,i){var a=Object(r.useRef)({isMouseDown:!1,isTouchMove:!1});return Object(r.useEffect)((function(){var r=function(){a.current.isMouseDown=!0},o=function(r){a.current.isMouseDown=!1,e&&!bf(r.target,t.map((function(e){return e.current})),n)&&i()},s=function(){a.current.isTouchMove=!1},l=function(){a.current.isTouchMove=!0},c=function(r){!e||a.current.isTouchMove||bf(r.target,t.map((function(e){return e.current})),n,!1)||i()};return n.addEventListener("mousedown",r),n.addEventListener("mouseup",o),n.addEventListener("touchstart",s),n.addEventListener("touchmove",l),n.addEventListener("touchend",c),function(){n.removeEventListener("mousedown",r),n.removeEventListener("mouseup",o),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",l),n.removeEventListener("touchend",c)}}),[e,n]),a}var Ff=function(){return of};function Gf(e,t,n){var i=n.isInitialMount,a=n.highlightedIndex,o=n.items,s=n.environment,l=oi(n,Tf);Object(r.useEffect)((function(){i||Cf((function(){return e(ai({highlightedIndex:a,highlightedItem:o[a],resultCount:o.length},l))}),s.document)}),t)}function Bf(e){var t=e.highlightedIndex,n=e.isOpen,i=e.itemRefs,a=e.getItemNodeFromIndex,o=e.menuElement,s=e.scrollIntoView,l=Object(r.useRef)(!0);return Ef((function(){t<0||!n||!Object.keys(i.current).length||(!1===l.current?l.current=!0:s(a(t),o))}),[t]),l}var Yf=of;function Wf(e,t,n){var r,i=t.type,a=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Uf(a,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:Uf(a,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:Rf(a,"highlightedIndex"),isOpen:Rf(a,"isOpen"),selectedItem:Rf(a,"selectedItem"),inputValue:Rf(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return ai({},e,r)}function Hf(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,a=e.getItemNodeFromIndex,o=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+1)%r.length,c=r[l];if(void 0!==c&&i(c).toLowerCase().startsWith(o)){var u=a(l);if(!(null==u?void 0:u.hasAttribute("disabled")))return l}}return n}ca.a.array.isRequired,ca.a.func,ca.a.func,ca.a.func,ca.a.bool,ca.a.number,ca.a.number,ca.a.number,ca.a.bool,ca.a.bool,ca.a.bool,ca.a.any,ca.a.any,ca.a.any,ca.a.string,ca.a.string,ca.a.string,ca.a.func,ca.a.string,ca.a.func,ca.a.func,ca.a.func,ca.a.func,ca.a.func,ca.a.shape({addEventListener:ca.a.func,removeEventListener:ca.a.func,document:ca.a.shape({getElementById:ca.a.func,activeElement:ca.a.any,body:ca.a.any})});var Vf=rf(rf({},Pf),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select.":"":"No results are available.":""}}),qf=of;var Qf=Object.freeze({__proto__:null,MenuKeyDownArrowDown:0,MenuKeyDownArrowUp:1,MenuKeyDownEscape:2,MenuKeyDownHome:3,MenuKeyDownEnd:4,MenuKeyDownEnter:5,MenuKeyDownSpaceButton:6,MenuKeyDownCharacter:7,MenuBlur:8,MenuMouseLeave:9,ItemMouseMove:10,ItemClick:11,ToggleButtonClick:12,ToggleButtonKeyDownArrowDown:13,ToggleButtonKeyDownArrowUp:14,ToggleButtonKeyDownCharacter:15,FunctionToggleMenu:16,FunctionOpenMenu:17,FunctionCloseMenu:18,FunctionSetHighlightedIndex:19,FunctionSelectItem:20,FunctionSetInputValue:21,FunctionReset:22});function Jf(e,t){var n,r=t.type,i=t.props,a=t.shiftKey;switch(r){case 11:n={isOpen:Rf(i,"isOpen"),highlightedIndex:Rf(i,"highlightedIndex"),selectedItem:i.items[t.index]};break;case 15:var o=t.key,s=""+e.inputValue+o,l=Hf({keysSoFar:s,highlightedIndex:e.selectedItem?i.items.indexOf(e.selectedItem):-1,items:i.items,itemToString:i.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});n=ai({inputValue:s},l>=0&&{selectedItem:i.items[l]});break;case 13:n={highlightedIndex:Uf(i,e,1,t.getItemNodeFromIndex),isOpen:!0};break;case 14:n={highlightedIndex:Uf(i,e,-1,t.getItemNodeFromIndex),isOpen:!0};break;case 5:case 6:n=ai({isOpen:Rf(i,"isOpen"),highlightedIndex:Rf(i,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:i.items[e.highlightedIndex]});break;case 3:n={highlightedIndex:vf(1,0,i.items.length,t.getItemNodeFromIndex,!1)};break;case 4:n={highlightedIndex:vf(-1,i.items.length-1,i.items.length,t.getItemNodeFromIndex,!1)};break;case 2:case 8:n={isOpen:!1,highlightedIndex:-1};break;case 7:var c=t.key,u=""+e.inputValue+c,d=Hf({keysSoFar:u,highlightedIndex:e.highlightedIndex,items:i.items,itemToString:i.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});n=ai({inputValue:u},d>=0&&{highlightedIndex:d});break;case 0:n={highlightedIndex:yf(a?5:1,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,i.circularNavigation)};break;case 1:n={highlightedIndex:yf(a?-5:-1,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,i.circularNavigation)};break;case 20:n={selectedItem:t.selectedItem};break;default:return Wf(e,t,Qf)}return ai({},e,n)}var Xf=["onMouseLeave","refKey","onKeyDown","onBlur","ref"],Kf=["onClick","onKeyDown","refKey","ref"],$f=["item","index","onMouseMove","onClick","refKey","ref"];function ep(e){void 0===e&&(e={}),qf(e,ep);var t=ai({},Vf,e),n=t.items,i=t.scrollIntoView,a=t.environment,o=t.initialIsOpen,s=t.defaultIsOpen,l=t.itemToString,c=t.getA11ySelectionMessage,u=t.getA11yStatusMessage,d=Of(Jf,_f(t),t),f=d[0],p=d[1],h=f.isOpen,g=f.highlightedIndex,m=f.selectedItem,y=f.inputValue,v=Object(r.useRef)(null),b=Object(r.useRef)(null),I=Object(r.useRef)({}),x=Object(r.useRef)(!0),w=Object(r.useRef)(null),T=Nf(t),M=Object(r.useRef)(),A=Object(r.useRef)(!0),C=Df({state:f,props:t}),E=Object(r.useCallback)((function(e){return I.current[T.getItemId(e)]}),[T]);Gf(u,[h,g,y,n],ai({isInitialMount:A.current,previousResultCount:M.current,items:n,environment:a,itemToString:l},f)),Gf(c,[m],ai({isInitialMount:A.current,previousResultCount:M.current,items:n,environment:a,itemToString:l},f));var N=Bf({menuElement:b.current,highlightedIndex:g,isOpen:h,itemRefs:I,scrollIntoView:i,getItemNodeFromIndex:E});Object(r.useEffect)((function(){return w.current=cf((function(e){e({type:21,inputValue:""})}),500),function(){w.current.cancel()}}),[]),Object(r.useEffect)((function(){y&&w.current(p)}),[p,y]),Yf({isInitialMount:A.current,props:t,state:f}),Object(r.useEffect)((function(){A.current?(o||s||h)&&b.current&&b.current.focus():h?b.current&&b.current.focus():a.document.activeElement===b.current&&v.current&&(x.current=!1,v.current.focus())}),[h]),Object(r.useEffect)((function(){A.current||(M.current=n.length)}));var S=Zf(h,[b,v],a,(function(){p({type:8})})),k=Ff();Object(r.useEffect)((function(){A.current=!1}),[]),Object(r.useEffect)((function(){h||(I.current={})}),[h]);var j=Object(r.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:13,getItemNodeFromIndex:E,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:14,getItemNodeFromIndex:E,shiftKey:e.shiftKey})}}}),[p,E]),D=Object(r.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:0,getItemNodeFromIndex:E,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:1,getItemNodeFromIndex:E,shiftKey:e.shiftKey})},Home:function(e){e.preventDefault(),p({type:3,getItemNodeFromIndex:E})},End:function(e){e.preventDefault(),p({type:4,getItemNodeFromIndex:E})},Escape:function(){p({type:2})},Enter:function(e){e.preventDefault(),p({type:5})}," ":function(e){e.preventDefault(),p({type:6})}}}),[p,E]),L=Object(r.useCallback)((function(){p({type:16})}),[p]),O=Object(r.useCallback)((function(){p({type:18})}),[p]),P=Object(r.useCallback)((function(){p({type:17})}),[p]),R=Object(r.useCallback)((function(e){p({type:19,highlightedIndex:e})}),[p]),z=Object(r.useCallback)((function(e){p({type:20,selectedItem:e})}),[p]),_=Object(r.useCallback)((function(){p({type:22})}),[p]),U=Object(r.useCallback)((function(e){p({type:21,inputValue:e})}),[p]),Z=Object(r.useCallback)((function(e){return ai({id:T.labelId,htmlFor:T.toggleButtonId},e)}),[T]),F=Object(r.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onMouseLeave,a=r.refKey,o=void 0===a?"ref":a,s=r.onKeyDown,l=r.onBlur,c=r.ref,u=oi(r,Xf),d=(void 0===t?{}:t).suppressRefError,f=void 0!==d&&d,h=C.current.state;return k("getMenuProps",f,o,b),ai(((n={})[o]=df(c,(function(e){b.current=e})),n.id=T.menuId,n.role="listbox",n["aria-labelledby"]=T.labelId,n.tabIndex=-1,n),h.isOpen&&h.highlightedIndex>-1&&{"aria-activedescendant":T.getItemId(h.highlightedIndex)},{onMouseLeave:uf(i,(function(){p({type:9})})),onKeyDown:uf(s,(function(e){var t=mf(e);t&&D[t]?D[t](e):kf(t)&&p({type:7,key:t,getItemNodeFromIndex:E})})),onBlur:uf(l,(function(){!1!==x.current?!S.current.isMouseDown&&p({type:8}):x.current=!0}))},u)}),[p,C,D,S,k,T,E]);return{getToggleButtonProps:Object(r.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onClick,a=r.onKeyDown,o=r.refKey,s=void 0===o?"ref":o,l=r.ref,c=oi(r,Kf),u=(void 0===t?{}:t).suppressRefError,d=void 0!==u&&u,f=ai(((n={})[s]=df(l,(function(e){v.current=e})),n.id=T.toggleButtonId,n["aria-haspopup"]="listbox",n["aria-expanded"]=C.current.state.isOpen,n["aria-labelledby"]=T.labelId+" "+T.toggleButtonId,n),c);return c.disabled||(f.onClick=uf(i,(function(){p({type:12})})),f.onKeyDown=uf(a,(function(e){var t=mf(e);t&&j[t]?j[t](e):kf(t)&&p({type:15,key:t,getItemNodeFromIndex:E})}))),k("getToggleButtonProps",d,s,v),f}),[p,C,j,k,T,E]),getLabelProps:Z,getMenuProps:F,getItemProps:Object(r.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,i=n.index,a=n.onMouseMove,o=n.onClick,s=n.refKey,l=void 0===s?"ref":s,c=n.ref,u=oi(n,$f),d=C.current,f=d.state,h=d.props,g=Sf(i,r,h.items);if(g<0)throw new Error("Pass either item or item index in getItemProps!");var m=ai(((t={role:"option","aria-selected":""+(g===f.highlightedIndex),id:T.getItemId(g)})[l]=df(c,(function(e){e&&(I.current[T.getItemId(g)]=e)})),t),u);return u.disabled||(m.onMouseMove=uf(a,(function(){i!==f.highlightedIndex&&(N.current=!1,p({type:10,index:i}))})),m.onClick=uf(o,(function(){p({type:11,index:i})}))),m}),[p,C,N,T]),toggleMenu:L,openMenu:P,closeMenu:O,setHighlightedIndex:R,selectItem:z,reset:_,setInputValue:U,highlightedIndex:g,isOpen:h,selectedItem:m,inputValue:y}}ep.stateChangeTypes=Qf;ca.a.array.isRequired,ca.a.func,ca.a.func,ca.a.func,ca.a.bool,ca.a.number,ca.a.number,ca.a.number,ca.a.bool,ca.a.bool,ca.a.bool,ca.a.any,ca.a.any,ca.a.any,ca.a.string,ca.a.string,ca.a.string,ca.a.string,ca.a.string,ca.a.string,ca.a.func,ca.a.string,ca.a.string,ca.a.func,ca.a.func,ca.a.func,ca.a.func,ca.a.func,ca.a.func,ca.a.shape({addEventListener:ca.a.func,removeEventListener:ca.a.func,document:ca.a.shape({getElementById:ca.a.func,activeElement:ca.a.any,body:ca.a.any})});ai({},Pf,{getA11yStatusMessage:pf,circularNavigation:!0});ca.a.array,ca.a.array,ca.a.array,ca.a.func,ca.a.func,ca.a.func,ca.a.number,ca.a.number,ca.a.number,ca.a.func,ca.a.func,ca.a.string,ca.a.string,ca.a.shape({addEventListener:ca.a.func,removeEventListener:ca.a.func,document:ca.a.shape({getElementById:ca.a.func,activeElement:ca.a.any,body:ca.a.any})});var tp=function(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(null!=o&&(void 0===s?o==o&&!Nt(o):n(o,s)))var s=o,l=a}return l};var np=function(e,t){return e>t};var rp=function(e){return e&&e.length?tp(e,ce,np):void 0},ip=n(25),ap=n.n(ip);const op=Promise.all([new ap.a("Noto Sans",{weight:300}).load(),new ap.a("Noto Sans",{weight:400}).load(),new ap.a("Noto Sans",{weight:600}).load()]).then(()=>{sp=!0}).catch(vt);let sp=!1;const lp=({id:e,size:t="small",score:n})=>{const{t:r}=Ir(),a="inline"===t?"sup":"span";return i.a.createElement(a,{className:Xr()("e-score e-nowrap",{"e-score--small e-font-size-m e-semibold":"small"===t,"e-score--large e-font-size-l e-semibold":"large"===t,"e-score--inline e-font-size-xs":"inline"===t}),id:e},r("points",{count:n}))},cp=!navigator.userAgent.includes("jsdom/");var up=zi((function(e,{element:t}){const n=be(t,"question-id");return{answer:e.answers.answersById[n]}}),{saveAnswer:Pu})((function({element:e,renderChildNodes:t,saveAnswer:n,answer:a}){const o=be(e,"question-id"),s=be(e,"max-score"),l=e.getAttribute("display-number"),c=a&&a.value&&ye(e,e=>a.value===e.getAttribute("option-id")),u=Object(r.useRef)(null),d=i.a.useRef(null),[f,p]=Object(r.useState)(!0);if(cp){const[,t]=Object(r.useState)(sp);op.then(()=>t(!0)).catch(e=>console.error(e)),Object(r.useEffect)(()=>p(!0),[e]),Object(r.useEffect)(()=>{if(f&&d.current&&u.current){const e=d.current,t=u.current,n=rp(xe(e,e=>e.firstElementChild.scrollWidth)),r=requestAnimationFrame(()=>{t.style.width=n+2+1+"px",p(!1)});return()=>cancelAnimationFrame(r)}})}const h=["",...e.children],{answers:g,questionLabelIds:m}=Object(r.useContext)(os),{getItemProps:y,getMenuProps:v,getToggleButtonProps:b,highlightedIndex:I,isOpen:x,selectedItem:w}=ep({items:h,itemToString:e=>e?e.textContent:"",onSelectedItemChange:({selectedItem:e})=>{const t=e?e.getAttribute("option-id"):"";n({type:"choice",questionId:o,value:t,displayNumber:l})},initialSelectedItem:c}),{t:T}=Ir(),M=Dr(e);return i.a.createElement("span",{className:"e-nowrap"},i.a.createElement("span",{className:Xr()("e-dropdown-answer e-normal"),"data-question-id":o},i.a.createElement("button",{className:Xr()("e-dropdown-answer__toggle-button e-button-plain e-columns",{"e-dropdown-answer__toggle-button--open":x}),...b({"aria-describedby":M,"aria-labelledby":m},{suppressRefError:!cp})},i.a.createElement("span",{className:"e-dropdown-answer__label e-column e-pad-l-1 e-pad-r-4"},i.a.createElement("span",{className:"e-ellipsis e-block",ref:u},w?t(w):i.a.createElement("span",{"aria-label":T.raw("dropdown-answer.label")}," "))),i.a.createElement("span",{className:Xr()("e-dropdown-answer__toggle-icon e-text-center e-column e-column--narrow e-column--gapless e-color-link")},i.a.createElement(Ma,{icon:x?ta:ea}))),i.a.createElement("span",{...v({className:Xr()("e-dropdown-answer__menu",{"e-dropdown-answer__menu--open":x}),"aria-labelledby":void 0,ref:d},{suppressRefError:!cp})},h.map((e,n)=>i.a.createElement("span",{className:Xr()("e-dropdown-answer__menu-item e-block e-pad-l-1 e-pad-r-4",{"e-dropdown-answer__menu-item--selected":e===w,"e-bg-color-off-white":I!==n,"e-bg-color-link e-color-off-white":I===n}),key:n,...y({item:e,index:n})},i.a.createElement("span",{className:Xr()("e-dropdown-answer__menu-item-inner e-block",{"e-nowrap":f})},e?t(e):i.a.createElement("span",{"aria-label":T.raw("dropdown-answer.clear")}," ")))))),g.length>1&&i.a.createElement(lp,{score:s,size:"inline",id:M}))}));var dp=function(e){return"string"==typeof e||!_(e)&&D(e)&&"[object String]"==j(e)};var fp=i.a.memo((function({maxAnswers:e,minAnswers:t,elementType:n,childQuestions:r}){const a=r.map(e=>dp(e)?e:e.getAttribute("display-number")),{t:o}=Ir(),s=function(e,t,n){const r=[];for(const i of e)for(const e of t)for(const t of n)r.push([i,e,t]);return r}([a.length,"*"],[e,"*"],[null!=t?t:e,"*"]).map(([e,t,r])=>`answering-instructions.${n}_${e}_${r}_${t}`),l=[t,e],c=[mt(a),yt(a)];return i.a.createElement(i.a.Fragment,null,o(s,{answerCount:l,questions:c}))}));const pp=e=>{const{t:t}=Ir(),{displayNumber:n,elementType:r}=e;return i.a.createElement("div",null,"exam"!==r&&"toc-section"!==r?t(r,{displayNumber:n})||i.a.createElement(gp,{...e}):""," ",i.a.createElement(fp,{...e}))},hp=({displayNumber:e,characterCount:t})=>{const{t:n}=Ir();return i.a.createElement("div",null,n("question",{displayNumber:e})," ",n("answer-errors.answer-too-long",{count:t}))},gp=({elementType:e,displayNumber:t})=>{if("section"===e){const{root:e}=Object(r.useContext)(Gr),n=ye(e,e=>"section"===e.localName&&e.getAttribute("display-number")===t);if(n){const e=ye(n,"section-title");if(e)return i.a.createElement(i.a.Fragment,null,e.textContent.trim()+":")}}return null};var mp=i.a.memo(()=>{const e=Hi(e=>e.answers.validationErrors);return e.length>0?i.a.createElement("div",{className:"error-indicator e-columns e-columns--inline e-bg-color-error e-color-off-white e-font-size-xs e-pad-1 e-mrg-r-1",role:"alert"},i.a.createElement("div",{className:"e-column e-column--narrow"},i.a.createElement(Ma,{size:"lg",icon:na,fixedWidth:!0,className:"e-mrg-r-1"})),i.a.createElement("div",{className:"e-column e-column--gapless"},e.map(e=>{const t=e.type+e.displayNumber;switch(e.type){case"ExtraAnswer":return i.a.createElement(pp,{...e,key:t});default:return i.a.createElement(hp,{...e,key:t})}}))):null});var yp=i.a.memo(Vr((function({element:e,renderChildNodes:t}){const{isExternal:n}=Object(r.useContext)(Hr);return n?null:i.a.createElement("span",{className:"exam-attachment e-mrg-b-2"},t(e))})));var vp=i.a.memo((function({element:e,renderChildNodes:t}){return i.a.createElement(ls,null,t(e))}));var bp=i.a.memo((function({element:e,renderChildNodes:t}){return i.a.createElement("div",{className:"exam-instruction notification e-pad-4"},t(e))}));var Ip=i.a.memo(ss((function({element:e,renderChildNodes:t}){const n=Hi(e=>e.cas.casStatus),{casForbidden:a}=Object(r.useContext)(ms),{displayNumber:o,level:s}=Object(r.useContext)(os);return a&&"forbidden"!==n?null:i.a.createElement("div",{className:Xr()("exam-question",{"e-mrg-b-8 e-clearfix":0===s,"e-mrg-l-8 e-mrg-y-4":s>0}),id:o},t(e))})));var xp=i.a.memo((function({element:e,renderChildNodes:t}){const n=Nr(e);return i.a.createElement("div",{className:"exam-question-instruction e-mrg-b-2",id:n},t(e))}));var wp=()=>i.a.createElement(Ma,{size:"lg",icon:aa,fixedWidth:!0,className:"e-color-link e-mrg-r-1"});var Tp=i.a.memo(({element:e,renderChildNodes:t})=>{const{displayNumber:n,maxScore:a,level:o,maxAnswers:s,childQuestions:l}=Object(r.useContext)(os),c="h"+Math.min(3+o,6),u=Er(n);return i.a.createElement(i.a.Fragment,null,i.a.createElement(c,{id:u,className:Xr()("exam-question-title",{"e-normal e-font-size-m":o>0})},i.a.createElement("strong",{className:Xr()("exam-question-title__display-number",{"exam-question-title__display-number--indented":o>0})},us(n)+" "),t(e)," ",i.a.createElement(lp,{score:a,size:0===o?"large":"small"})),null!=s&&l.length>0&&i.a.createElement("p",{className:"e-italic"},i.a.createElement(wp,null),i.a.createElement(fp,{maxAnswers:s,childQuestions:l,elementType:"question"})))});var Mp=({duration:e,durationRemaining:t,className:n})=>{const a=Object(r.useRef)(null),[o,s]=Object(r.useState)(!1);return Object(r.useEffect)(()=>{a.current.clientTop,s(!0)},[]),i.a.createElement("div",{className:Xr()("e-progress-bar",n),ref:a},i.a.createElement("div",{className:Xr()("e-progress-bar__fill",{"e-progress-bar__fill--animating":o}),style:{transitionDuration:e+"s"},role:"progressbar","aria-valuemax":e,"aria-valuemin":0,"aria-valuenow":e-t}))};function Ap(){const{t:e}=Ir();return i.a.createElement("p",null,i.a.createElement("em",null,e("end-of-exam")))}function Cp(e){const t=Gi(),{t:n}=Ir(),{casCountdownDuration:a}=Object(r.useContext)(ps);return i.a.createElement("div",{className:"e-cas-controls"},"forbidden"===e.casStatus?i.a.createElement("div",{className:"e-text-center"},i.a.createElement("hr",{className:"e-exam-separator"}),i.a.createElement("p",{id:"e-cas-controls-forbidden-description"},n("cas.forbidden.infoText")),i.a.createElement("button",{className:"e-button",id:"allow-cas",onClick:()=>{return t((e=a,Object(To.action)("ALLOW_CAS",e)));var e},"aria-describedby":"e-cas-controls-forbidden-description"},n("cas.forbidden.buttonText"))):"allowing"===e.casStatus?i.a.createElement("div",{className:"e-text-center",ref:t=>null!=t&&a===e.durationRemaining&&t.scrollIntoView()},i.a.createElement("hr",{className:"e-exam-separator"}),i.a.createElement("p",{id:"e-cas-controls-allowing-description"},n("cas.allowing.infoText")),i.a.createElement(Mp,{className:"e-mrg-b-2",duration:a,durationRemaining:e.durationRemaining}),i.a.createElement("button",{className:"e-button",id:"allow-cas-cancelled",onClick:()=>t(Gd()),ref:t=>null!=t&&a===e.durationRemaining&&t.focus(),"aria-describedby":"e-cas-controls-allowing-description"},n("cas.allowing.cancel",{count:e.durationRemaining}))):i.a.createElement("div",{className:"notification e-text-left e-mrg-b-0"},n("cas.allowed.infoText")))}var Ep=i.a.memo(ys((function({element:e,renderChildNodes:t}){const n=Hi(e=>e.cas,xi),{casForbidden:a,displayNumber:o}=Object(r.useContext)(ms),{sections:s}=Object(r.useContext)(Gr),l=e===yt(s);return i.a.createElement(ls,{className:"exam-section","aria-labelledby":Cr(o)},t(e),a&&i.a.createElement(Cp,{...n}),l&&i.a.createElement(Ap,null))})));var Np=i.a.memo((function({element:e,renderChildNodes:t}){const{sections:n}=Object(r.useContext)(Gr),{displayNumber:a,minAnswers:o,maxAnswers:s,childQuestions:l}=Object(r.useContext)(ms),{t:c}=Ir();return i.a.createElement(i.a.Fragment,null,e.hasChildNodes()&&i.a.createElement("h2",{className:"exam-section-title",id:Cr(a)},n.length>1&&c("section",{displayNumber:a})," ",t(e)),null!=s&&i.a.createElement("span",{className:"notification notification--inline"},i.a.createElement(wp,null),i.a.createElement(fp,{maxAnswers:s,minAnswers:o,childQuestions:l,elementType:"section"})))}));function Sp(e){return yt(e.split("."))+"."}function kp({answer:e,focusedQuestionId:t,renderChildNodes:n}){const r=be(e,"question-id"),a=e.getAttribute("display-number"),o=ye(e,"hint");return i.a.createElement("p",{className:Xr()("e-hints__hint",{"e-hints__hint--focused":t===r}),onClick:()=>{const e=document.querySelector(`.text-answer[data-question-id="${r}"]`);e&&e.focus()},"data-question-id":r},Sp(a)," ",n(o))}var jp=({element:e,renderChildNodes:t})=>{const n=Hi(e=>e.answers.focusedQuestionId),r=ge(e,["text-answer","scored-text-answer"]).filter(e=>null!=ye(e,"hint"));return r.length>0?i.a.createElement("div",{className:"e-columns"},i.a.createElement("div",{className:"e-column e-column--8"},t(e)),i.a.createElement("div",{className:"e-hints e-column e-column--4","aria-hidden":"true"},r.map((e,r)=>i.a.createElement(kp,{answer:e,focusedQuestionId:n,renderChildNodes:t,key:r})))):i.a.createElement(i.a.Fragment,null,t(e))};const Dp=Ae({});var Lp=i.a.memo((function(e){const{root:t}=Object(r.useContext)(Gr),{t:n}=Ir(),a=ge(t,"reference").filter(e=>null==me(e,"external-material"));return a.length>0?i.a.createElement(ls,{"aria-labelledby":"references-title"},i.a.createElement("h2",{id:"references-title"},n("references.heading")),i.a.createElement("ol",{className:"e-list-data e-color-darkgrey e-light"},a.map((e,t)=>{const n=me(e,"question").getAttribute("display-number");return i.a.createElement("li",{"data-list-number":us(n),key:`${n}${t}`},i.a.createElement(Zo,{element:e,renderChildNodes:Dp}))}))):null}));var Op=i.a.memo((function(){const e=Hi($i),{t:t}=Ir();return"initial"===e?null:i.a.createElement("div",{className:"save-indicator e-pad-1 e-font-size-xs"},i.a.createElement("span",{className:Xr()("save-indicator-text","save-indicator-text--"+e)},t("answer-saved")))}));var Pp=i.a.memo((function({element:e,renderChildNodes:t}){return i.a.createElement("div",{className:"e-mrg-b-2"},t(e))}));const Rp=e=>{const{showAttachmentLinks:t,showAnsweringInstructions:n}=e,a=({element:e})=>{const{sections:t}=Object(r.useContext)(Gr),{childQuestions:a,displayNumber:s,minAnswers:l,maxAnswers:c}=Object(r.useContext)(ms),{t:u}=Ir();return i.a.createElement(i.a.Fragment,null,e.hasChildNodes()&&i.a.createElement("header",{className:"e-semibold",id:jr(s)},t.length>1&&u("section",{displayNumber:s})," ",o(e)),n&&null!=c&&i.a.createElement("div",null,i.a.createElement(fp,{maxAnswers:c,minAnswers:l,childQuestions:a,elementType:"toc-section"})))},o=Ae({section:ys(({element:e,renderChildNodes:t})=>{const{displayNumber:n}=Object(r.useContext)(ms),o=ye(e,"section-title");return i.a.createElement("li",null,o&&i.a.createElement(a,{element:o,renderChildNodes:t}),i.a.createElement("ol",{className:"e-list-data e-pad-l-0","aria-labelledby":o&&jr(n)},t(e,1)))}),question:ss(({element:e})=>{const{attachmentsURL:n}=Object(r.useContext)(Gr),{displayNumber:a,maxScore:s}=Object(r.useContext)(os),{t:l}=Ir(),c=ye(e,"question-title"),u=t&&null!=a&&he(e,"external-material");return i.a.createElement("li",{"data-list-number":a+"."},i.a.createElement("div",{className:"e-columns"},i.a.createElement("span",{className:"e-column"},i.a.createElement("a",{href:_r("",{hash:a})},o(c))),u&&i.a.createElement("span",{className:"e-column e-column--narrow"},i.a.createElement("a",{href:_r(n,{hash:ve(me(u,"question"),"display-number")}),target:"attachments"},l("material"))),i.a.createElement("span",{className:"e-column e-column--narrow table-of-contents--score-column"},l("points",{count:s}))))})});return i.a.memo(()=>{const{root:e,maxScore:t}=Object(r.useContext)(Gr),{t:n}=Ir();return i.a.createElement("nav",{className:"table-of-contents e-mrg-b-6","aria-labelledby":"toc-title"},i.a.createElement("h2",{id:"toc-title"},n("toc-heading")),i.a.createElement("ol",{className:"e-list-plain e-pad-l-0"},o(e)),i.a.createElement("div",{className:"e-columns"},i.a.createElement("strong",{className:"e-column"},n("exam-total")),i.a.createElement("strong",{className:"e-column e-column--narrow table-of-contents--score-column"},n("points",{count:t}))))})};var zp=i.a.memo((function({answer:e,element:t,screenshotError:n,validationError:r,selectAnswerVersion:a,showAnswerHistory:o=!1,supportsAnswerHistory:s=!1}){const{t:l}=Ir(),c=null==e?void 0:e.characterCount,u=be(t,"max-length");return i.a.createElement("div",{className:"answer-toolbar e-font-size-xs e-color-darkgrey e-columns e-mrg-b-2"},i.a.createElement("div",{className:Xr()("answer-toolbar__answer-length e-column",{"e-color-error":null!=r})},null!=e?l(null!=u?"answer-length-with-max-length":"answer-length",{count:c,maxLength:u}):" ",n?i.a.createElement("span",{className:"e-color-error",role:"alert"}," ",l("answer-errors."+n.key,n.options)):r?i.a.createElement("span",null," ",l("answer-errors.answer-too-long",{count:r.characterCount})):null),i.a.createElement("div",{className:"answer-toolbar__history e-column e-column--narrow e-text-right"},s&&i.a.createElement("div",{className:"answer-toolbar__select-previous-version"},o&&null!=e?i.a.createElement("button",{className:"answer-toolbar__previous-versions e-link-button e-font-size-xs",onClick:()=>{if(a){const n=ye(me(t,"question"),"question-title");a(e.questionId,n.textContent)}}},l("previous-answer-versions")):" ")))})),_p=n(3),Up=n.n(_p),Zp=n(39),Fp=n.n(Zp);const Gp={allowedTags:["img","br"],allowedAttributes:{img:["src","alt"]},allowedSchemes:["data"],exclusiveFilter:e=>"mathEditor"===e.attribs["data-js"]},Bp={locale:"FI",screenshotSaver:()=>Promise.resolve(""),baseUrl:"",ignoreSaveObject:!1,screenshotImageSelector:'img[src^="/screenshot/"], img[src^="data:image/png"], img[src^="data:image/gif"], img[src^="data:image/jpeg"]',invalidImageSelector:'img:not(img[src^="data"], img[src^="/math.svg?latex="], img[src^="/screenshot/"])',fileTypes:["image/png","image/jpeg"],sanitize:function(e){return Fp()(function(e){const t=document.createElement("div");t.innerHTML=e;do{let e;for(let n=0;n<t.childNodes.length;n++){const r=t.childNodes[n];if(Wp(r)){for(e&&e.nodeType===Node.TEXT_NODE&&/\S/.test(e.textContent)&&t.insertBefore(document.createElement("br"),r),r.lastChild&&"BR"!==r.lastChild.nodeName&&r.insertBefore(document.createElement("br"),null);r.childNodes.length;)t.insertBefore(r.firstChild,r);t.removeChild(r)}e=r}}while(Array.prototype.some.call(t.childNodes,e=>Wp(e)));return t.innerHTML}(Fp()(function(e){return e.replace(new RegExp(document.location.origin,"g"),"")}(e),Object.assign(Object.assign({},Gp),{allowedTags:["div","p","img","br"]}))),Gp)},updateMathImg:void 0},Yp='img[src^="/math.svg?latex="]:not(img[src="/math.svg?latex="]), img[src^="data:image/svg+xml"]';function Wp(e){return"DIV"===e.nodeName||"P"===e.nodeName}function Hp(e,t){const n=e.selectionStart,r=e.selectionEnd;let i=e.value;e.value=i.substring(0,n)+t+i.substring(r,i.length),e.selectionStart=e.selectionEnd=n+t.length}function Vp(e,t){return Qp(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&qp(e,t))}function qp(e,t){return"string"==typeof t?e.key===t:e.keyCode===t}function Qp(e,t){return t&&e.preventDefault(),t}function Jp(e){return e.replace(/^(\n)*/g,"").replace(/(\s)*$/g,"")}var Xp=[{label:"Perusmerit ja kreikkalaiset aakkoset",characters:[{character:"°",popular:!0},{character:"·",latexCommand:"\\cdot",popular:!0},{character:"±",latexCommand:"\\pm",popular:!0},{character:"∞",latexCommand:"\\infty",popular:!0},{character:"²",latexCommand:"^2",popular:!0},{character:"³",latexCommand:"^3",popular:!0},{character:"½",latexCommand:"\\frac{1}{2}",popular:!0},{character:"⅓",latexCommand:"\\frac{1}{3}",popular:!0},{character:"π",latexCommand:"\\pi",popular:!0},{character:"α",latexCommand:"\\alpha",popular:!0},{character:"β",latexCommand:"\\beta",popular:!0},{character:"Γ",latexCommand:"\\Gamma"},{character:"γ",latexCommand:"\\gamma"},{character:"Δ",latexCommand:"\\Delta"},{character:"δ",latexCommand:"\\delta"},{character:"ε",latexCommand:"\\varepsilon"},{character:"ζ",latexCommand:"\\zeta"},{character:"η",latexCommand:"\\eta"},{character:"θ",latexCommand:"\\theta"},{character:"ϑ",latexCommand:"\\vartheta"},{character:"&iota;",latexCommand:"\\iota"},{character:"κ",latexCommand:"\\kappa"},{character:"Λ",latexCommand:"\\Lambda"},{character:"λ",latexCommand:"\\lambda"},{character:"µ",latexCommand:"\\mu"},{character:"ν",latexCommand:"\\nu"},{character:"Ξ",latexCommand:"\\Xi"},{character:"ξ",latexCommand:"\\xi"},{character:"∏",latexCommand:"\\Pi"},{character:"ρ",latexCommand:"\\rho"},{character:"∑",latexCommand:"\\Sigma"},{character:"σ",latexCommand:"\\sigma"},{character:"τ",latexCommand:"\\tau"},{character:"Υ",latexCommand:"\\Upsilon"},{character:"υ",latexCommand:"\\upsilon"},{character:"Φ",latexCommand:"\\Phi"},{character:"Ф",latexCommand:"\\phi"},{character:"χ",latexCommand:"\\chi"},{character:"Ψ",latexCommand:"\\Psi"},{character:"ψ",latexCommand:"\\psi"},{character:"Ω",latexCommand:"\\Omega"},{character:"ω",latexCommand:"\\omega"},{character:"∂",latexCommand:"\\partial"},{character:"φ",latexCommand:"\\varphi"}]},{label:"Algebra",characters:[{character:"≠",latexCommand:"\\neq",popular:!0},{character:"≈",latexCommand:"\\approx",popular:!0},{character:"≤",latexCommand:"\\leq",popular:!0},{character:"≥",latexCommand:"\\geq"},{character:"<"},{character:">"},{character:"∼",latexCommand:"\\sim"},{character:"≡",latexCommand:"\\equiv"},{character:"≢",latexCommand:"\\not\\equiv"},{character:"∘",latexCommand:"\\circ"},{character:"…",latexCommand:"\\ldots"},{character:"∝",latexCommand:"\\propto"}]},{label:"Geometria ja vektorioppi",characters:[{character:"∢",latexCommand:"\\sphericalangle",popular:!0},{character:"|",latexCommand:"\\mid",popular:!0},{character:"‖",latexCommand:"\\parallel",popular:!0},{character:"⇌",latexCommand:"\\xrightleftharpoons",noWrite:!0},{character:"⇅"},{character:"∠",latexCommand:"\\angle"},{character:"↑",latexCommand:"\\uparrow"},{character:"↗",latexCommand:"\\nearrow"},{character:"↘",latexCommand:"\\searrow"},{character:"↓",latexCommand:"\\downarrow"},{character:"↔",latexCommand:"\\leftrightarrow"},{character:"⊥",latexCommand:"\\perp"}]},{label:"Logiikka ja joukko-oppi",characters:[{character:"→",latexCommand:"\\rightarrow",popular:!0},{character:"⇒",latexCommand:"\\Rightarrow",popular:!0},{character:"⇔",latexCommand:"\\Leftrightarrow",popular:!0},{character:"∈",latexCommand:"\\in",popular:!0},{character:"ℤ",latexCommand:"\\mathbb{Z}",popular:!0},{character:"ℝ",latexCommand:"\\mathbb{R}",popular:!0},{character:"∃",latexCommand:"\\exists"},{character:"∀",latexCommand:"\\forall"},{character:"ℕ",latexCommand:"\\mathbb{N}"},{character:"ℚ",latexCommand:"\\mathbb{Q}"},{character:"∩",latexCommand:"\\cap"},{character:"∪",latexCommand:"\\cup"},{character:"∖",latexCommand:"\\setminus"},{character:"⊂",latexCommand:"\\subset"},{character:"⊄",latexCommand:"\\notsubset"},{character:"∉",latexCommand:"\\notin"},{character:"∅",latexCommand:"\\empty"},{character:"∧",latexCommand:"\\and"},{character:"∨",latexCommand:"\\or"},{character:"¬"},{character:"∇",latexCommand:"\\nabla"}]}],Kp=[{action:"\\sqrt",label:"\\sqrt{X}",svg:"data:image/svg+xml;base64,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjMuNzQ0ZXgiIGhlaWdodD0iMi44NDNleCIgc3R5bGU9InZlcnRpY2FsLWFsaWduOiAtMC44MzhleDsiIHZpZXdCb3g9IjAgLTg2My4xIDE2MTIgMTIyMy45IiByb2xlPSJpbWciIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgYXJpYS1sYWJlbGxlZGJ5PSJNYXRoSmF4LVNWRy0xLVRpdGxlIj4KPHRpdGxlIGlkPSJNYXRoSmF4LVNWRy0xLVRpdGxlIj5cc3FydHtcc3F1YXJlfTwvdGl0bGU+CjxkZWZzIGFyaWEtaGlkZGVuPSJ0cnVlIj4KPHBhdGggc3Ryb2tlLXdpZHRoPSIxIiBpZD0iRTEtTEFUSU5NT0RFUk5NQUlOLTI1QTEiIGQ9Ik03MjIgLTYzYzAgLTExIC05IC0yMCAtMjAgLTIwaC02MjZjLTExIDAgLTIwIDkgLTIwIDIwdjYyNmMwIDExIDkgMjAgMjAgMjBoNjI2YzExIDAgMjAgLTkgMjAgLTIwdi02MjZ6TTY4MiA1NDNoLTU4NnYtNTg2aDU4NnY1ODZaIj48L3BhdGg+CjxwYXRoIHN0cm9rZS13aWR0aD0iMSIgaWQ9IkUxLUxBVElOTU9ERVJOTUFJTi0yMjFBIiBkPSJNODUzIDIwYzAgLTUgLTEgLTYgLTYgLTE3bC00NTYgLTk0NGMtNyAtMTUgLTkgLTE5IC0yNSAtMTljLTExIDAgLTEzIDEgLTE5IDE1bC0xOTggNDM1bC01MiAtMzljLTkgLTggLTExIC04IC0xNCAtOGMtNiAwIC0xMCA0IC0xMCAxMWMwIDQgMSA1IDE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gc3Ryb2tlLXdpZHRoPSIwIiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAwIDApIiBhcmlhLWhpZGRlbj0idHJ1ZSI+CiA8dXNlIHhsaW5rOmhyZWY9IiNFMS1MQVRJTk1PREVSTk1BSU4tNTQiIHg9IjAiIHk9IjAiPjwvdXNlPgo8L2c+Cjwvc3ZnPg=="}];function $p(e,t,n){let r;const i=Up()(`<div class="rich-text-editor-overlay rich-text-editor-hidden">\n <div class="rich-text-editor-overlay-modal" aria-modal="true" tabindex="0" data-js="overlayModal" >\n <div class="rich-text-editor-modal-columns">\n <div class="rich-text-editor-modal-column rich-text-editor-modal-column-2" data-i18n="[html]rich_text_editor.help_overlay.screenshot">\n ${n.help_overlay.screenshot}\n </div>\n <div class="rich-text-editor-modal-column rich-text-editor-modal-column-1" data-i18n="[html]rich_text_editor.help_overlay.equation">\n ${n.help_overlay.equation}\n </div>\n </div>\n <button data-js="closeOverlayButton" class="rich-text-editor-close-overlay-button"></button>\n </div>\n</div>`).on("mousedown",'[data-js="closeOverlayButton"]',e=>{e.preventDefault(),Up()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),r.focus()}).on("mousedown",e=>{e.target.classList.contains("rich-text-editor-overlay")&&(e.preventDefault(),e.stopPropagation(),Up()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),r.focus())}),a=Up()(`\n <div class="rich-text-editor-tools" data-js="tools">\n\n <div class="rich-text-editor-tools-button-wrapper">\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-characters-expand-collapse" data-js="expandCollapseCharacters" style="z-index: 100"></button>\n </div>\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-help-button" data-js="richTextEditorHelp" style="z-index: 100"></button>\n </div>\n </div>\n <div class="rich-text-editor-tools-row">\n <div class="rich-text-editor-toolbar-wrapper">\n <div class="rich-text-editor-toolbar-characters rich-text-editor-toolbar rich-text-editor-toolbar-button-list" data-js="charactersList"></div>\n </div>\n </div>\n <div class="rich-text-editor-tools-row">\n <div class="rich-text-editor-toolbar-wrapper rich-text-editor-equation-wrapper">\n <div class="rich-text-editor-toolbar-equation rich-text-editor-toolbar rich-text-editor-toolbar-button-list" data-js="mathToolbar"></div>\n </div>\n </div>\n <div class="rich-text-editor-tools-button-wrapper">\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-new-equation rich-text-editor-button rich-text-editor-button-action" data-js="newEquation" data-command="Ctrl-E" data-i18n="rich_text_editor.insert_equation">Σ ${n.insertEquation}</button>\n </div>\n </div>\n </div>\n `).on("mousedown",e=>{e.preventDefault()}).on("mousedown",'[data-js="expandCollapseCharacters"]',e=>{e.preventDefault(),a.toggleClass("rich-text-editor-show-all-characters")}).on("mousedown",'[data-js="richTextEditorHelp"]',e=>{e.preventDefault(),r=document.activeElement,Up()("body").addClass("rich-text-editor-overlay-open"),i.removeClass("rich-text-editor-hidden"),i.find('[data-js="overlayModal"]').focus(),Up()(window).on("keydown.help",e=>{27===e.keyCode&&(e.stopPropagation(),e.preventDefault(),Up()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),Up()(window).off("keydown.help"))})}),o=a.find('[data-js="newEquation"]'),s=a.find('[data-js="mathToolbar"]');return function(e,t,n){e.find('[data-js="charactersList"]').append(Xp.map(e=>`<div class="rich-text-editor-toolbar-characters-group"\n style="width: ${35*(e=>e.characters.filter(e=>e.popular).length)(e)}px">\n ${e.characters.map(eh).join("")}\n </div>`)).on("mousedown","button",e=>{e.preventDefault();const r=e.currentTarget.innerText,i=e.currentTarget.dataset.command,a="true"===e.currentTarget.dataset.usewrite;n()?window.document.execCommand("insertText",!1,r):t.insertMath(i||r,void 0,a)})}(a,e,t),function(e,t){e.append(Kp.map(e=>"string"==typeof e?e:`<button class="rich-text-editor-button rich-text-editor-button-grid" data-command="${e.action}" data-latexcommand="${e.label||""}" data-usewrite="${e.useWrite||!1}">\n<img src="${e.svg}"/>\n</button>`).join("")).on("mousedown","button",e=>{e.preventDefault();const n=e.currentTarget.dataset;t.insertMath(n.command,n.latexcommand,"true"===n.usewrite)})}(s,e),function(e,t,n){e.mousedown((e=>{e.preventDefault(),n()&&t.insertNewEquation()}).bind(this))}(o,e,t),Up.a.fn.i18n?a.i18n():Up.a.fn.localize&&a.localize(),{toolbar:a,helpOverlay:i}}const eh=e=>`<button class="rich-text-editor-button rich-text-editor-button-grid${e.popular?" rich-text-editor-characters-popular":""}" ${e.latexCommand?`data-command="${e.latexCommand}"`:""} data-usewrite="${!e.noWrite}">${e.character}</button>`;var th=n(40),nh=n(41);if(!nh)throw new Error("MathQuill is required but has not been loaded");const rh=13,ih=27;window.mathEditorState=window.mathEditorState||{firstTime:!0,MQ:void 0};const ah=window.mathEditorState,oh=function(e){const t=e.trim();return""===t.replace(/(\\|\s)*/g,"")?"":t};function sh(e,t,n,r=((e,t)=>{const r=oh(t),i=r.replace(/</g,"\\lt ").replace(/>/g,"\\gt ");e.prop({src:n+"/math.svg?latex="+encodeURIComponent(r),alt:i}),e.closest('[data-js="answer"]').trigger("input")})){let i;ah.firstTime&&(ah.MQ=nh.getInterface(2),ah.firstTime=!1);const a=Up()('\n <div class="math-editor" data-js="mathEditor">\n <div class="math-editor-equation-field" data-js="equationField"></div>\n <textarea rows="1" class="math-editor-latex-field" data-js="latexField" placeholder="LaTeΧ"></textarea>\n </div>');e.append(a);const o=a.find('[data-js="latexField"]'),s=a.find('[data-js="equationField"]');let l,c=!1,u=null;const d=ah.MQ.MathField(s.get(0),{handlers:{edit:p,enter:()=>{I(!0),setTimeout(()=>y("<br>"),2)}}});function f(e){Up()(".rich-text-editor-overlay").is(":visible")||(Vp(e,rh)||function(e,t){return Qp(e,!e.altKey&&!e.shiftKey&&!e.ctrlKey&&qp(e,t))}(e,ih))&&I(!0)}return s.on("input",".mq-textarea textarea",p).on("focus blur",".mq-textarea textarea",e=>{t.equationField="blur"!==e.type&&"focusout"!==e.type,m()}).on("keydown",f).on("paste",e=>e.stopPropagation()),o.on("keypress",(function(e){","===e.originalEvent.key&&(e.preventDefault(),Hp(o.get(0),"{,}"));h(e)})).on("input paste",h).on("focus blur",e=>{t.latexField="blur"!==e.type,m()}).on("keydown",f).on("paste",e=>e.stopPropagation()),{insertNewEquation:y,insertMath:function(e,n,r){t.latexField?(Hp(o.get(0),n||e),h()):t.equationField&&(r?d.write(e):d.typedText(e),~e.indexOf("\\")&&d.keystroke("Spacebar"),setTimeout(()=>d.focus(),0))},openMathEditor:function(e){c&&I();(function(e){const t=document.createRange(),n=e.get(0);t.setStartAfter(n);const r=window.getSelection();r.removeAllRanges(),r.addRange(t)})(e),v(e)},closeMathEditor:I};function p(e){e&&e.originalEvent&&e.originalEvent.stopPropagation(),clearTimeout(l),l=setTimeout(()=>{if(t.latexField)return;const e=d.latex();o.val(e),b(a.prev(),e),g()},0)}function h(e){e&&e.originalEvent&&e.originalEvent.stopPropagation(),b(a.prev(),o.val()),setTimeout(()=>d.latex(o.val()),1),g()}function g(){o.get(0).style.height="auto",o.get(0).style.height=o.get(0).scrollHeight+"px"}function m(){clearTimeout(u),u=setTimeout(()=>{a.trigger({type:"mathfocus",hasFocus:t.latexField||t.equationField}),t.latexField||t.equationField||I()},0)}function y(e=""){window.document.execCommand("insertHTML",!1,e+'<img data-js="new" alt="" src="" style="display: none"/>'),v(Up()('[data-js="new"]').removeAttr("data-js"))}function v(e){e.hide(),e.after(a),c=!0,t.equationField=!0,x(!0),setTimeout(()=>d.focus(),0),o.val(e.prop("alt")),h(),function(e){const t=Up()(window),n=t.height()-40,r=n+t.scrollTop(),i=e.offset().top+e.height();r<i&&t.scrollTop(i-n)}(a)}function b(e,t){clearTimeout(i),i=setTimeout(()=>{r(e,t)},500)}function I(n=!1){const i=a.closest('[data-js="answer"]'),s=a.prev();""===oh(o.val())?s.remove():(s.show(),r(s,o.val())),x(!1),c=!1,t.latexField=!1,t.equationField=!1,a.trigger({type:"mathfocus",hasFocus:t.latexField||t.equationField}),e.append(a),n&&i.focus()}function x(e){Up()("body").toggleClass("math-editor-focus",e)}}const lh={FI:{editor:{mathEditor:"Matikkaeditori",title:"Kaavaeditorin kehitysversio",description:"\n<ul>\n<li>“Lisää kaava” -napin alta löydät yleisimpiä matematiikassa, fysiikassa ja\nkemiassa käytettäviä merkintöjä. Lisäksi erikoismerkkejä voi käyttää kaavan kirjoittamiseen.</li>\n <li>Kaavoja voi rakentaa\nnapsauttamalla valikon merkintöjä ja/tai kirjoittamalla LaTeXia.</li>\n <li>Editorin vastauskenttään voi kirjoittaa tekstiä ja kaavoja sekä\nlisätä kuvia.</li></ul>",shortcutTitle:"Pikanäppäinvinkkejä",shortcuts:'<table><tbody>\n<tr><th>Liitä kuva leikepöydältä</th><td>Ctrl-V</td></tr>\n<tr><th>Kirjoita kaava</th><td>Ctrl-E</td></tr>\n<tr><th colspan="2">Kaavassa</th></tr>\n<tr><th>Jakoviiva</th><td>/</td></tr>\n<tr><th>Kertomerkki</th><td>*</td></tr>\n<tr><th>Eksponentti</th><td>^</td></tr>\n<tr><th>Sulje kaava</th><td>Esc</td></tr>\n<tr><th>Lisää kaava seuraavalle riville</th><td>Enter</td></tr>\n</tbody>\n</table>',formatting:"Muotoilu",specialCharacters:"Erikoismerkit",insertEquation:"Lisää kaava",close:"sulje",save:"Tallenna",updated:"Päivitetty",sendFeedback:"Lähetä palautetta",langLink:"/sv",langLabel:"På svenska",answerTitle:"Vastaus",toggleInstructions:"Näytä ohjeet",help_overlay:{screenshot:'<h3>Kuvakaappaukset</h3><p>Tee kuva haluamallasi ohjelmalla. Napsauta yläpalkista kuvakaappauskuvaketta <span class="screen-shot-image"></span> ja rajaa haluamasi kuva-alue näytöltä. <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span> liittää kuvan vastauskenttään kursorin kohdalle. Voit vaihtaa kuvan paikkaa raahaamalla tai leikkaamalla kuvan komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">X</span> ja liittämällä sen komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span> haluamaasi paikkaan.</p>',equation:'<h3>Kaavat</h3><p>Kaava lisätään komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">E</span><br>Pikakomennot kaavassa:</p><table class="rich-text-editor-help-shortcuts"><tbody><tr><th>Jakoviiva</th><td><span class="rich-text-editor-help-key">/</span></td></tr><tr><th>Kertomerkki</th><td><span class="rich-text-editor-help-key">*</span></td></tr><tr><th>Yläindeksi</th><td><span class="rich-text-editor-help-key">^</span></td></tr><tr><th>Alaindeksi</th><td><span class="rich-text-editor-help-key">_</span></td></tr><tr><th>Lisää kaava seuraavalle riville</th><td><span class="rich-text-editor-help-key">↵</span></td></tr><tr><th>Sulje kaava</th><td><span class="rich-text-editor-help-key">esc</span></td></tr></tbody></table>'}},annotating:{sendFeedback:"Lähetä palautetta",updated:"Päivitetty",mathEditor:"Matikkaeditori",title:"Arvostelu",backLink:"/",backLinkLabel:"Palaa kaavaeditoriin",save:"Tallenna merkinnät",langLink:"/sv/bedomning",langLabel:"På svenska"}},SV:{editor:{mathEditor:"Matematikeditor",title:"Formeleditorns utvecklingsversion",description:"\n<ul>\n <li>Under knappen “Lägg till formel” hittar du de vanligaste beteckningarna som används i matematik, fysik och kemi. Dessutom kan du använda specialtecken för att skriva formler.</li>\n<li>Det går att konstruera formler genom att klicka på beteckningarna i menyerna och/eller genom att skriva LaTeX.</li>\n<li>Det går förutom att skriva text och formler, att också att lägga till bilder i svarsfältet.</li></ul>",shortcutTitle:"Tips på tangentkombinationer",shortcuts:'<table><tbody>\n<tr><th>Lägg till en bild från urklippet</th><td>Ctrl-V</td></tr>\n<tr><th>Skriv en formel</th><td>Ctrl-E</td></tr>\n<tr><th colspan="2">I formeln </th></tr>\n<tr><th>Bråkstreck</th><td>/</td></tr>\n<tr><th>Multiplikationstecken</th><td>*</td></tr>\n<tr><th>Exponent</th><td>^</td></tr>\n<tr><th>Stäng formeln</th><td>Esc</td></tr>\n<tr><th>Lägg till en formel på följande rad</th><td>Enter</td></tr>\n</tbody>\n</table>',formatting:"Formatering",specialCharacters:"Specialtecken",insertEquation:"Lägg till formel",close:"stäng",save:"Spara",updated:"Uppdaterad",sendFeedback:"Skicka feedback",langLink:"/",langLabel:"Suomeksi",answerTitle:"Svar",toggleInstructions:"Visa intruktioner",help_overlay:{screenshot:'<h3>Skärmdumpar</h3><p>Skapa bilden med valbart program. Klicka på skärmdumpsikonen i övre balken<span class="screen-shot-image"></span> och avgränsa den delen av skärmen du vill använda.<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span>bifogar bilden i svarsfältet där kursorn ligger. Du kan ändra på bildens position genom att släpa bilden eller genom att klippa den med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">X</span>och klistra in den med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span>på valbart ställe.</p>',equation:'<h3>Formler</h3><p>Formeln läggs till med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<spanclass="rich-text-editor-help-key">E</span><br />Snabbkommandon med formler:</p><table class="rich-text-editor-help-shortcuts"><tbody><tr><th>Divisionsstreck</th><td><span class="rich-text-editor-help-key">/</span></td></tr><tr><th>Multiplikationstecken</th><td><span class="rich-text-editor-help-key">*</span></td></tr><tr><th>Upphöjt index</th><td><span class="rich-text-editor-help-key">^</span></td></tr><tr><th>Nedsänkt index</th><td><span class="rich-text-editor-help-key">_</span></td></tr><tr><th>Lägg till formel på nästa rad</th><td><span class="rich-text-editor-help-key">↵</span></td></tr><tr><th>Stäng formeln</th><td><span class="rich-text-editor-help-key">esc</span></td></tr></tbody></table>'}},annotating:{sendFeedback:"Skicka respons",updated:"Uppdaterad",mathEditor:"Matematikeditor",title:"Bedömning",backLink:"/sv",backLinkLabel:"Matematikeditor",save:"Spara anteckningar",langLink:"/tarkistus",langLabel:"Suomeksi"}}},ch=69,uh=Up()('<div class="rich-text-editor-hidden" style="display: none;" data-js="outerPlaceholder">');window.richTextEditorState=window.richTextEditorState||{focus:{richText:!1,latexField:!1,equationField:!1},$currentEditor:void 0,firstCall:!0,math:void 0,$toolbar:void 0};const dh=window.richTextEditorState,fh=dh.focus,ph=(e,t,n=(()=>{}))=>{const{baseUrl:r,fileTypes:i,sanitize:a,screenshotSaver:o,ignoreSaveObject:s,screenshotImageSelector:l,invalidImageSelector:c,locale:u,updateMathImg:d}=Object.assign(Object.assign({},Bp),t),f=lh[u].editor;if(dh.firstCall){dh.firstCall=!1,dh.math=sh(uh,fh,r,d);const e=$p(dh.math,()=>fh.richText,f);dh.$toolbar=e.toolbar;const t=e.helpOverlay;Up()("body").append(uh,dh.$toolbar,t)}let p=!1;Up()(e).attr({contenteditable:!0,spellcheck:!1,"data-js":"answer"}).addClass("rich-text-editor").on("click",Yp,e=>{1===e.which&&(gh(Up()(e.target).closest('[data-js="answer"]')),dh.math.openMathEditor(Up()(e.target)))}).on("keydown",e=>{!Vp(e,ch)||fh.equationField||fh.latexField||(e.preventDefault(),dh.math.insertNewEquation())}).on("mathfocus",e=>{Up()(e.currentTarget).toggleClass("rich-text-focused",e.hasFocus),bh()&&mh(dh.$currentEditor)}).on("focus blur",e=>{"focus"===e.type&&dh.math.closeMathEditor(),function(e){fh.richText="focus"===e.type,Up()(e.currentTarget).toggleClass("rich-text-focused",fh.richText),clearTimeout(vh),vh=setTimeout(()=>{!Up()("body").hasClass("rich-text-editor-overlay-open")&&bh()?mh(Up()(e.target)):gh(Up()(e.target))},0)}(e)}).on("input",e=>{p||n(s||function(e,t,n){const r=Up()(e),i=r.find('[data-js="mathEditor"]');i.hide();const a=r.get(0).innerText;i.show();const o=n(r.html());return{answerHTML:a.trim().length+r.find(Yp).length+r.find(t).length===0?"":(s=o,s.replace(/^(\n|<br ?\/?>)*/g,"").replace(/(\s|<br ?\/?>)*$/g,"")),answerText:Jp(a),imageCount:Up()(`<div>${o}</div>`).find(t).length};var s}(e.currentTarget,l,a))}).on("drop",e=>{p=!0,setTimeout(()=>{Up()(e.target).html(a(e.target.innerHTML)),th.b(Up()(e.currentTarget),o,c),p=!1},100)}).on("paste",e=>{p=!0,setTimeout(()=>p=!1,0),th.a(e,o,c,i,a)}),setTimeout(()=>document.execCommand("enableObjectResizing",!1,!1),0)};function hh(e,t){Up()("body").toggleClass("rich-text-editor-focus",e),t.toggleClass("rich-text-focused",e)}function gh(e){dh.$currentEditor=e,yh(),hh(!0,dh.$currentEditor)}function mh(e){hh(!1,e),yh(),fh.richText=!1}function yh(){dh.$toolbar.addClass("rich-text-editor-tools--animating").one("transitionend transitioncancel",()=>dh.$toolbar.removeClass("rich-text-editor-tools--animating"))}let vh;function bh(){return!fh.richText&&!fh.latexField&&!fh.equationField}class Ih extends i.a.PureComponent{constructor(e){super(e),this.handleSaveError=e=>{const t=(()=>{switch(qi(e,"response.status")){case 409:return"screenshot-byte-limit-reached";case 413:return"screenshot-too-big";default:return"screenshot-upload-failed"}})();this.props.onError({key:t})},this.handleChange=e=>{const{onChange:t}=this.props;this.lastHTML=e.answerHTML,t(e.answerHTML,e.answerText)},this.ref=i.a.createRef(),this.lastHTML=this.props.answer?this.props.answer.value:""}componentDidMount(){const{current:e}=this.ref,{answer:t,saveScreenshot:n}=this.props;e&&(t&&(e.innerHTML=t.value),ph(e,{locale:this.context.language.slice(0,2).toUpperCase(),screenshotSaver:({data:e,type:t})=>n(e instanceof Blob?e:new Blob([e],{type:t})).catch(e=>{throw this.handleSaveError(e),e})},this.handleChange))}componentDidUpdate(){const{current:e}=this.ref;e&&this.props.answer&&this.props.answer.value!==this.lastHTML&&(e.innerHTML=this.lastHTML=this.props.answer.value)}render(){const{className:e,questionId:t,invalid:n,lang:r,labelledBy:a}=this.props;return i.a.createElement("div",{ref:this.ref,className:Xr()("text-answer text-answer--multi-line",e),"data-question-id":t,role:"textbox","aria-multiline":"true","aria-invalid":n,tabIndex:0,lang:r,"aria-labelledby":a})}}Ih.contextType=Gr;var xh=i.a.memo(({maxLength:e,id:t})=>{const{t:n}=Ir();return i.a.createElement("p",{id:t,className:"e-answer-length-info"},i.a.createElement(wp,null),i.a.createElement("em",null,n("max-length-info",{count:e})))});class wh extends i.a.PureComponent{constructor(e){super(e),this.onChange=e=>{const{element:t,saveAnswer:n}=this.props,r=be(t,"question-id"),i=t.getAttribute("display-number"),a=e.currentTarget.value.trim();n({type:"text",questionId:r,value:a,characterCount:Th(a),displayNumber:i}),this.clearErrors()},this.onRichTextChange=(e,t)=>{const{element:n,saveAnswer:r}=this.props,i=be(n,"question-id"),a=n.getAttribute("display-number");r({type:"richText",questionId:i,value:e,characterCount:Th(t),displayNumber:a}),this.clearErrors()},this.onFocus=()=>{this.props.answerFocused(be(this.props.element,"question-id"))},this.onBlur=()=>{this.props.answerBlurred(be(this.props.element,"question-id"))},this.onError=e=>{this.setState({screenshotError:e})},this.clearErrors=()=>{this.setState({screenshotError:void 0})},this.state={},this.ref=i.a.createRef()}componentDidMount(){this.resize()}componentDidUpdate(){this.resize()}resize(){const{current:e}=this.ref;if(e)if("multi-line"===this.props.type){const{scrollX:t,scrollY:n}=window;e.style.height="auto",e.style.height=e.scrollHeight+1+"px",window.scrollTo(t,n)}else"single-line"===this.props.type&&(e.style.width="0",e.style.width=e.scrollWidth+2+"px")}render(){const{answer:e,className:t,element:n,selectAnswerVersion:r,showAnswerHistory:a,supportsAnswerHistory:o,type:s,validationError:l,labelledBy:c,lang:u}=this.props,{screenshotError:d}=this.state,f=be(n,"question-id"),p=be(n,"max-score"),h=e&&e.value,g=Dr(n),m=be(n,"max-length"),y=null!=l;switch(s){case"rich-text":return i.a.createElement(i.a.Fragment,null,null!=m&&i.a.createElement(xh,{maxLength:m,id:Sr(n)}),i.a.createElement(ps.Consumer,null,({examServerApi:n})=>i.a.createElement(Ih,{answer:e,className:Xr()("text-answer text-answer--rich-text",t),saveScreenshot:e=>n.saveScreenshot(f,e),onChange:this.onRichTextChange,onError:this.onError,questionId:f,lang:u,invalid:y,labelledBy:c})),i.a.createElement(zp,{answer:e,element:n,selectAnswerVersion:r,showAnswerHistory:a,supportsAnswerHistory:o,screenshotError:d,validationError:l}));case"multi-line":return i.a.createElement(i.a.Fragment,null,null!=m&&i.a.createElement(xh,{maxLength:m}),i.a.createElement("textarea",{className:Xr()("text-answer text-answer--multi-line",t),defaultValue:h,onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,ref:this.ref,"data-question-id":f,lang:u,"aria-invalid":y,"aria-labelledby":c}),i.a.createElement(zp,{answer:e,element:n,selectAnswerVersion:r,showAnswerHistory:a,supportsAnswerHistory:o,screenshotError:d,validationError:l}));case"single-line":default:return i.a.createElement("span",{className:"e-nowrap"},i.a.createElement("input",{type:"text",className:Xr()("text-answer text-answer--single-line",t),defaultValue:h,onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,ref:this.ref,"data-question-id":f,lang:u,"aria-describedby":g,"aria-labelledby":c}),i.a.createElement(os.Consumer,null,({answers:e})=>e.length>1&&i.a.createElement(lp,{score:p,size:"inline",id:g})))}}}function Th(e){return e.replace(/\s/g,"").length}var Mh=zi((function(e,{element:t}){const n=t.getAttribute("type")||"single-line",r=be(t,"question-id"),i=ve(t,"display-number"),a=e.answers.answersById[r],o=e.answers.supportsAnswerHistory;return{answer:a,showAnswerHistory:e.answers.supportsAnswerHistory&&e.answers.serverQuestionIds.has(r),supportsAnswerHistory:o,type:n,validationError:e.answers.validationErrors.find(e=>"AnswerTooLong"===e.type&&e.displayNumber===i)}}),{saveAnswer:Pu,selectAnswerVersion:(e,t)=>Object(To.action)("SELECT_ANSWER_VERSION",{questionId:e,questionText:t}),answerFocused:e=>Object(To.action)("ANSWER_FOCUSED",e),answerBlurred:e=>Object(To.action)("ANSWER_BLURRED",e)})(wh);const Ah=({children:e})=>i.a.createElement("span",{className:"e-screen-reader-only"},e);var Ch=i.a.memo((function(e){const{element:t,renderChildNodes:n}=e,{language:a}=Object(r.useContext)(Gr),{questionLabelIds:o}=Object(r.useContext)(os),s=t.getAttribute("display-number"),l=ye(t,"hint"),c=Ie(t,"use-language-of-instruction")?a:void 0,u=t.hasAttribute("max-length")?o+" "+Sr(t):o,d=i.a.createElement(Mh,{...e,lang:c,labelledBy:u});return l?i.a.createElement("label",{className:"e-nowrap"},i.a.createElement("sup",{className:"e-text-answer-display-number e-color-darkgrey"},Sp(s)),i.a.createElement(Ah,null,n(l)),d):d}));const Eh=Ae({attachment:yp,"attachment-link":Yr("link"),"attachment-links":Wr("link"),audio:No,"audio-title":Ro,"audio-group":Qd,"audio-test":Jd,"choice-answer":Kd,"dropdown-answer":up,"exam-footer":vp,"external-material":ko,file:jo,formula:Do,image:Po,question:Ip,"question-instruction":xp,"question-title":Tp,hints:jp,references:Lp,"scored-text-answer":Ch,"scored-text-answers":jp,"section-instruction":Pp,section:Ep,"section-title":Np,"text-answer":Ch,video:Fo,"image-overlay":rs});var Nh=i.a.memo(hs(Br(({doc:e,casStatus:t,answers:n,restrictedAudioPlaybackStats:a,examServerApi:o})=>{const{date:s,dateTimeFormatter:l,dayCode:c,examCode:u,language:d,resolveAttachment:f,root:p,subjectLanguage:h}=Object(r.useContext)(Gr),g=ye(p,"exam-title"),m=ye(p,"exam-instruction"),v=ye(p,"table-of-contents"),b=ye(p,"external-material"),I=p.getAttribute("exam-stylesheet"),x=zr(()=>qd(function(e){const t=e.documentElement;return Ms(t,ge(t,"section",!1).map(xs),{maxAnswers:be(t,"max-answers")})}(e),t,n,a,o)),w=zr(()=>Rp({showAttachmentLinks:!0,showAnsweringInstructions:!0})),T=zr(()=>br(d,u,c));return Object(r.useEffect)(xr(T,d)),Object(r.useEffect)(Rr,[]),i.a.createElement(ii,{store:x},i.a.createElement(y,{i18n:T},i.a.createElement("main",{className:"e-exam",lang:h,"aria-labelledby":"title"},i.a.createElement(i.a.StrictMode,null),I&&i.a.createElement("link",{rel:"stylesheet",href:f(I)}),i.a.createElement(ls,{"aria-labelledby":"title"},g&&i.a.createElement(fs,{id:"title"},Eh(g)),s&&i.a.createElement("p",null,i.a.createElement("strong",null,l.format(s))),m&&i.a.createElement(bp,{element:m,renderChildNodes:Eh}),v&&i.a.createElement(w,{element:v,renderChildNodes:Eh}),b&&i.a.createElement(ko,{element:b,renderChildNodes:Eh,forceRender:!0})),Eh(p),i.a.createElement("div",{className:"e-footer"},i.a.createElement(mp,null),i.a.createElement(Op,null)))))})));var Sh=ys(({element:e,renderChildNodes:t})=>{const{displayNumber:n}=Object(r.useContext)(ms);return i.a.createElement(ls,{className:"e-grading-instruction-section","aria-labelledby":Cr(n)},t(e))});var kh=({element:e,renderChildNodes:t})=>{const{sections:n}=Object(r.useContext)(Gr),{displayNumber:a}=Object(r.useContext)(ms),{t:o}=Ir();return i.a.createElement(i.a.Fragment,null,e.hasChildNodes()&&i.a.createElement("h2",{className:"e-grading-instructions-section-title",id:Cr(a)},n.length>1&&o("section",{displayNumber:a})," ",t(e)))};var jh=ss((function({element:e,renderChildNodes:t}){const{displayNumber:n,level:a}=Object(r.useContext)(os);return i.a.createElement("div",{className:Xr()("e-grading-instructions-question",{"e-mrg-b-8 e-clearfix":0===a,"e-mrg-l-8 e-mrg-y-4":a>0}),id:n},t(e,1))}));var Dh=({element:e,renderChildNodes:t})=>i.a.createElement("div",{className:"e-exam-grading-instruction notification e-pad-4"},t(e));var Lh=({element:e,renderChildNodes:t})=>i.a.createElement("div",{className:"e-answer-grading-instruction e-multiline-results-text-answer e-mrg-b-2 e-pad-l-2"},t(e));var Oh=({element:e,renderChildNodes:t})=>{const{answers:n}=Object(r.useContext)(os),a=ye(e,"answer-grading-instruction"),o=be(e,"max-length"),s=i.a.createElement(i.a.Fragment,null,null!=o&&i.a.createElement(xh,{maxLength:o}),a&&i.a.createElement(Lh,{element:a,renderChildNodes:t}),i.a.createElement("ul",null,t(e)));if(1===n.length)return s;{const n=ve(e,"display-number"),r=be(e,"max-score"),a=ye(e,"hint");return i.a.createElement("div",{className:"e-mrg-l-8"},i.a.createElement("p",{className:"exam-question-title"},i.a.createElement("span",{className:"exam-question-title__display-number--indented e-semibold"},n," "),a&&t(a)," ",i.a.createElement(lp,{score:r})),s)}};var Ph=({element:e,renderChildNodes:t})=>{const n=be(e,"score");if(!n)return null;const{t:r}=Ir();return i.a.createElement("li",null,t(e)," ","(",r("points",{count:n}),")")};var Rh=({element:e,renderChildNodes:t})=>{const{displayNumber:n,maxScore:a,level:o}=Object(r.useContext)(os),s="h"+Math.min(3+o,6);return i.a.createElement(i.a.Fragment,null,i.a.createElement(s,{className:Xr()("exam-question-title",{"e-normal e-font-size-m":o>0})},i.a.createElement("strong",{className:Xr()("exam-question-title__display-number",{"exam-question-title__display-number--indented":o>0})},us(n)+" "),t(e)," ",i.a.createElement(lp,{score:a,size:0===o?"large":"small"})))};const zh=e=>t=>{const n=n=>e(n)?i.a.createElement(t,{...n}):null;return n.displayName="RenderIf("+Zr(t)+")",n};var _h=({element:e,renderChildNodes:t})=>{const n=ye(e,["audio-transcription","video-transcription"]);if(n){const{t:r}=Ir(),a=ye(e,["audio-title","video-title"]);return i.a.createElement("details",{className:"e-grading-instruction-recording e-pad-1 e-mrg-b-2"},i.a.createElement("summary",null,i.a.createElement("strong",null,r("recording"))," ",a&&i.a.createElement("em",null,t(a))),t(n))}return null};const Uh=zh(({element:e})=>null!=me(e,["answer-grading-instruction","choice-answer-option","dropdown-answer-option","exam-grading-instruction","question-grading-instruction","hint","question-title"])),Zh=zh(({element:e})=>null==me(e,["external-material"])),Fh=Ae({"accepted-answer":Ph,attachment:gs,"attachment-link":Zh(Yr("plain")),"attachment-links":Zh(Wr("plain")),audio:_h,"audio-group":gs,"choice-answer":Oh,"choice-answer-option":Ph,"dropdown-answer":Oh,"dropdown-answer-option":Ph,"external-material":gs,file:Uh(jo),formula:Uh(Do),hints:gs,image:Uh(Po),question:jh,"question-title":Rh,"question-grading-instruction":Lh,"scored-text-answer":Oh,"text-answer":Oh,section:Sh,"section-title":kh,video:_h}),Gh=()=>{const{t:e}=Ir();return i.a.createElement(i.a.Fragment,null,e("grading-instructions-page-title"))};var Bh=i.a.memo(Br(({doc:e})=>{const t=e.documentElement,{date:n,dateTimeFormatter:a,dayCode:o,examCode:s,language:l,subjectLanguage:c}=Object(r.useContext)(Gr),u=ye(t,"exam-title"),d=ye(t,"exam-grading-instruction"),f=ye(t,"table-of-contents"),p=Rp({showAnsweringInstructions:!1,showAttachmentLinks:!1}),h=zr(()=>br(l,s,o));return Object(r.useEffect)(xr(h,l)),Object(r.useEffect)(Rr,[]),i.a.createElement(y,{i18n:h},i.a.createElement("main",{className:"e-exam e-grading-instructions",lang:c},i.a.createElement(i.a.StrictMode,null),i.a.createElement(ls,{"aria-labelledby":"title"},i.a.createElement(fs,{id:"title"},i.a.createElement(Gh,null)," ",u&&Fh(u)),n&&i.a.createElement("p",null,i.a.createElement("strong",null,a.format(n))),d&&i.a.createElement(Dh,{element:d,renderChildNodes:Fh}),f&&i.a.createElement(p,{element:f,renderChildNodes:Fh})),Fh(t)))}));var Yh=function(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);void 0!==a&&(n=void 0===n?a:n+a)}return n};var Wh=function(e){return e&&e.length?Yh(e,ce):0};const Hh=i.a.createContext({}),Vh=Fr(Hh,({scores:e,doc:t,gradingStructure:n,gradingText:r,answers:i,singleGrading:a})=>{const o=Sl(i,"questionId");return{answersByQuestionId:o,gradingStructure:n,scores:e,totalScore:function(e,t,n,r){return Wh(e.map(e=>function(e,t,n,r){const i=Wh(we(e).map(e=>{const i=be(e,"question-id"),a=r[i];return a?"choice"===a.type?((e,n)=>{const r=qh(t,e);return r?r.options.find(e=>e.id===Number(n.value)).score:0})(i,a):(e=>{var t,r;const i=Qh(n,e);return i&&(null===(r=[i.inspection,null===(t=i.censoring)||void 0===t?void 0:t.scores[0],i.autograding,i.pregrading].find(Boolean))||void 0===r?void 0:r.score)||0})(i):0}));if(0===fe(e,"question").length&&i<0)return 0;return i}(e,t,n,r)))}(ge(t.documentElement,"question",!1),n,e,o),gradingText:r,singleGrading:a}});function qh(e,t){const n=e.questions.filter(e=>"choicegroup"===e.type);for(let e=0,r=n.length;e<r;e++){const r=n[e];for(let e=0,n=r.choices.length;e<n;e++)if(r.choices[e].id===t)return r.choices[e]}}function Qh(e,t){return e.find(e=>e.questionId===t)}var Jh=i.a.memo((function({answers:e,displayNumber:t,children:n,multilineAnswer:r}){return i.a.createElement("div",{className:Xr()("e-result-scorecount","e-float-right",{"e-result-scorecount-multiline-answer":r})},i.a.createElement("div",{className:"e-result-scorecount-border-wrap"},e.length>1&&t&&i.a.createElement("sup",{className:"e-result-scorecount-sup e-mrg-r-1","aria-hidden":"true"},t),n))}));var Xh=i.a.memo((function({score:e,maxScore:t,displayNumber:n}){const{answers:a}=Object(r.useContext)(os),{t:o}=Ir(),s={answers:a,displayNumber:n};return i.a.createElement(Jh,{...s},"number"==typeof e?i.a.createElement("b",null,e):i.a.createElement("div",{className:"e-result-scorecount-empty"})," ",t?`/ ${t} `:null," ",o("points"))}));function Kh({renderChildNodes:e,selected:t,element:n,questionId:r,direction:a,isCorrect:o}){const{t:s}=Ir(),l=n.getAttribute("class"),c=n.getAttribute("option-id"),u=i.a.createElement("div",{className:Xr()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":t})},e(n)),d=({narrow:e=!1})=>i.a.createElement(i.a.Fragment,null,i.a.createElement("input",{type:"radio",className:Xr()("e-radio-button",{"e-column e-column--narrow":e}),name:String(r),value:c,checked:t,readOnly:!0}),u,o&&i.a.createElement(Ah,null,s("screen-reader.correct-answer")));return"vertical"===a?i.a.createElement("div",{className:"e-mrg-b-1"},i.a.createElement("label",{className:Xr()("e-columns",{"e-correct-answer-left":o,"e-columns--inline":null==he(n,["image","video"])})},i.a.createElement(d,{narrow:!0}))):i.a.createElement("div",{className:"e-column e-mrg-b-1"},i.a.createElement("label",{className:Xr()("e-block e-text-center",{"e-correct-answer-bottom":o})},i.a.createElement(d,null)))}var $h=i.a.memo((function({element:e,renderChildNodes:t}){const{answersByQuestionId:n,gradingStructure:a}=Object(r.useContext)(Hh),o=be(e,"question-id"),s=n[o],l=e.getAttribute("direction")||"vertical",c=e.getAttribute("class"),u=qh(a,o),d=s&&u.options.find(e=>e.id===Number(s.value)).score,f=be(e,"max-score");return i.a.createElement(i.a.Fragment,null,void 0!==d&&i.a.createElement(Xh,{score:d,maxScore:f}),i.a.createElement("div",{className:Xr()("e-choice-answer",c,{"e-columns":"horizontal"===l})},xe(e,e=>{const n=be(e,"option-id"),r=null!=s&&Number(s.value)===n,a=u.options.find(e=>e.id===n);return i.a.createElement(Kh,{element:e,renderChildNodes:t,questionId:o,key:n,direction:l,selected:r,isCorrect:a.correct})})))}));var eg=i.a.memo((function({element:e,renderChildNodes:t}){const{t:n}=Ir(),{answersByQuestionId:a,gradingStructure:o}=Object(r.useContext)(Hh),{answers:s}=Object(r.useContext)(os),l=be(e,"question-id"),c=a[l],u=ye(e,e=>(null==c?void 0:c.value)===e.getAttribute("option-id")),d=qh(o,l);if(u){const r=d.options.filter(e=>e.correct).map(e=>e.id),a=Array.from(e.children).filter(e=>r.includes(be(e,"option-id"))),o=r.includes(be(u,"option-id")),l=Sp(e.getAttribute("display-number")),f=c&&d.options.find(e=>e.id===Number(c.value)).score,p=be(e,"max-score");return i.a.createElement(i.a.Fragment,null,s.length>1&&i.a.createElement("sup",null,l),i.a.createElement("span",{className:Xr()("e-dropdown-answer__answered",{"e-dropdown-answer__answered--correct":o,"e-dropdown-answer__answered--wrong":!o})},i.a.createElement(Ah,null,n("screen-reader.answer-begin")),t(u),i.a.createElement(Ah,null,n("screen-reader.answer-end")),o&&i.a.createElement(Ah,null,n("screen-reader.correct-answer"))),!o&&i.a.createElement("span",{className:"e-dropdown-answer__correct","aria-hidden":!0},a.map((e,n)=>i.a.createElement(i.a.Fragment,{key:n},t(e),n<a.length-1&&", "))),null!=f&&i.a.createElement(Xh,{score:f,maxScore:p,displayNumber:l}))}return null}));const tg=({i18nTitleKey:e,annotations:t})=>{const{t:n}=Ir();return t?i.a.createElement(i.a.Fragment,null,e&&i.a.createElement("h5",null,n(e)),i.a.createElement("ol",{className:"e-list-data e-pad-l-0 e-font-size-s"},t.map(({numbering:e,message:t})=>i.a.createElement("li",{"data-list-number":e,key:e},t)))):null};var ng=i.a.memo((function(){const{answers:e}=Object(r.useContext)(os),{scores:t,singleGrading:n}=Object(r.useContext)(Hh),a=function(e,t){const n=[];for(let r=0;r<e.length;r++){const i=t(e[r],r);void 0!==i&&n.push(i)}return n}(e,e=>{const n=be(e,"question-id"),r=Qh(t,n);return r&&e&&(e=>{var t,n,r,i;return Boolean((null===(n=null===(t=null==e?void 0:e.pregrading)||void 0===t?void 0:t.annotations)||void 0===n?void 0:n.length)||(null===(i=null===(r=null==e?void 0:e.censoring)||void 0===r?void 0:r.annotations)||void 0===i?void 0:i.length))})(r)?[e,r]:void 0}),o=(t,n,r=0)=>Su(t,([t,i])=>{var a,o,s;return null!==(s=null===(o=null===(a=i[n])||void 0===a?void 0:a.annotations)||void 0===o?void 0:o.filter(e=>e.message.length).map((n,i)=>({numbering:((e,t)=>e.length>1?Sp(t.getAttribute("display-number")):"")(e,t)+String(r+i+1)+")",message:n.message})))&&void 0!==s?s:[]}),s=o(a,"pregrading"),l=o(a,"censoring",s.length);return s.length||l.length?i.a.createElement("div",{className:"e-annotation-list e-columns e-mrg-t-2"},n?i.a.createElement("div",{className:"e-column e-column--10"},i.a.createElement(tg,{annotations:s})):i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"e-column e-column--6"},i.a.createElement(tg,{i18nTitleKey:"grading.pregrading-annotations",annotations:s})),i.a.createElement("div",{className:"e-column e-column--6"},i.a.createElement(tg,{i18nTitleKey:"grading.censor-annotations",annotations:l})))):null}));var rg=i.a.memo(ss((function({element:e,renderChildNodes:t}){const{answersByQuestionId:n}=Object(r.useContext)(Hh),{displayNumber:a,level:o}=Object(r.useContext)(os);return function(e,t){return we(e).some(e=>t[be(e,"question-id")])}(e,n)?i.a.createElement("div",{className:Xr()("exam-question",{"e-mrg-b-8 e-clearfix":0===o,"e-mrg-l-8 e-mrg-y-4":o>0}),id:a},t(e),i.a.createElement(ng,null)):null})));var ig=i.a.memo((function({element:e,renderChildNodes:t}){const{displayNumber:n,level:a,maxAnswers:o,childQuestions:s}=Object(r.useContext)(os),l="h"+Math.min(3+a,6);return i.a.createElement(i.a.Fragment,null,i.a.createElement(l,{className:Xr()("exam-question-title",{"e-normal e-font-size-m":a>0})},i.a.createElement("strong",{className:Xr()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},us(n)+" "),t(e)),null!=o&&s.length>0&&i.a.createElement("p",{className:"e-italic"},i.a.createElement(wp,null),i.a.createElement(fp,{maxAnswers:o,childQuestions:s,elementType:"question"})))}));var ag=i.a.memo(ys((function({element:e,renderChildNodes:t}){const{displayNumber:n}=Object(r.useContext)(ms),{answersByQuestionId:a}=Object(r.useContext)(Hh);return he(e,e=>{const t=e.getAttribute("question-id");return null!=t&&Object.prototype.hasOwnProperty.call(a,t)})?i.a.createElement(ls,{"aria-labelledby":Cr(n)},i.a.createElement("div",{className:"e-results-section-wrapper"},t(e))):null})));function og(e,t,n){const r=[...t,...n],i=r.filter(e=>e.message);for(const n of r){const r=t.includes(n)?"pregrading":"censoring",a=i.indexOf(n)+1||void 0;switch(n.type){case"line":case"rect":sg(e,n,r,a);break;default:lg(e,n,r,a)}}}function sg(e,t,n,r){const{attachmentIndex:i}=t,a=e.querySelectorAll("img")[i],o=function(){const e=a.parentElement;if(e instanceof HTMLSpanElement)return e;const t=Te("span",{className:"e-annotation-wrapper"});return e.insertBefore(t,a),t.appendChild(a),t}(),s=function(){const e=Te("mark",{className:Xr()("e-annotation e-annotation--shape",{"e-annotation--pregrading":"pregrading"===n,"e-annotation--censoring":"censoring"===n}),title:t.message}),i=e.style,a=e=>100*e+"%";"rect"===t.type?(i.left=a(t.x),i.top=a(t.y),i.right=a(1-(t.x+t.width)),i.bottom=a(1-(t.y+t.height))):(i.left=a(t.x1),i.top=a(t.y1),i.right=a(1-t.x2),i.bottom=a(1-t.y2));r&&e.appendChild(cg(r,"shape"));return e}();o.appendChild(s)}function lg(e,t,n,r){const{startIndex:i,length:a}=t;return function e(c,u,d){var f;if(!o(c)&&!function(e){return"SUP"===e.nodeName}(c)&&!function(e){return"BR"===e.nodeName}(c)&&u>=i){const i=Te("mark",{className:Xr()("e-annotation",{"e-annotation--pregrading":"pregrading"===n,"e-annotation--censoring":"censoring"===n}),title:t.message});null===(f=c.parentElement)||void 0===f||f.insertBefore(i,c);const p=function e(t,n,r){if(!n||o(n)||0===r)return r;n instanceof Text&&l(n)>0&&l(n)>r&&n.splitText(r);const i=n.nextSibling;return t.appendChild(n),e(t,i,r-l(n))}(i,c,d);p>0?e(s(i),u+a-p,p):r&&i.appendChild(cg(r,"text"))}else c instanceof Text&&u+l(c)>i&&c.splitText(i-u),e(function(e){return o(e)?e.childNodes[0]:s(e)}(c),u+l(c),d)}(e.childNodes[0],0,a);function o(e){return"MARK"===e.nodeName}function s(t){const n=t.nextSibling;if(n)return n;const r=t.parentElement;if(null===r||r===e)throw new Error("Bug: the answer seems to be too short for the current set of annotations.");return s(r)}function l(e){return e instanceof Text?e.length:function(e){return"IMG"===e.nodeName||"SPAN"===e.nodeName}(e)?1:0}}function cg(e,t){const n=e+")";return Te("sup",{className:"e-annotation__index e-annotation__index--"+t,"data-content":n},..."text"===t?[]:n)}var ug=i.a.memo((function({displayNumber:e,score:t,value:n,children:a}){const{t:o}=Ir(),s=Object(r.useRef)(null);return Object(r.useLayoutEffect)(()=>{var e,n,r,i;s.current&&og(s.current,null!==(n=null===(e=null==t?void 0:t.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==n?n:[],null!==(i=null===(r=null==t?void 0:t.censoring)||void 0===r?void 0:r.annotations)&&void 0!==i?i:[])}),i.a.createElement(i.a.Fragment,null,e&&i.a.createElement("sup",null,e),i.a.createElement("span",{className:"text-answer text-answer--single-line"},i.a.createElement(Ah,null,o("screen-reader.answer-begin")),i.a.createElement("span",{className:"e-inline-block",ref:s},n),i.a.createElement(Ah,null,o("screen-reader.answer-end"))),a)}));var dg=i.a.memo((function({element:e}){var t;const{answers:n}=Object(r.useContext)(os),{answersByQuestionId:a,scores:o}=Object(r.useContext)(Hh),s=be(e,"question-id"),l=be(e,"max-score"),c=a[s],u=c&&c.value,d=Sp(e.getAttribute("display-number")),f=null===(t=Qh(o,s))||void 0===t?void 0:t.autograding;return i.a.createElement(ug,{answers:n,displayNumber:d,value:u},i.a.createElement(Xh,{score:null==f?void 0:f.score,maxScore:l,displayNumber:n.length>1?d:void 0}))}));function fg({maxScore:e}){const{t:t}=Ir();return i.a.createElement(i.a.Fragment,null,i.a.createElement("span",{className:"e-result-scorecount-empty"}),e&&` / ${e} `,t("points"))}function pg({shortCode:e}){return i.a.createElement("div",{className:"e-color-darkgrey e-columns e-columns--center-v"},i.a.createElement("span",{className:"e-font-size-xxxl e-light e-mrg-r-1"},"×"),i.a.createElement("span",null,e))}function hg({score:e,shortCode:t,type:n,maxScore:r,latest:a}){return i.a.createElement("div",{className:a?"e-color-black":"e-color-darkgrey e-font-size-xs"},i.a.createElement(gg,{className:Xr()("e-nowrap",{"e-font-size-m":a})},a?i.a.createElement("b",null,e):e,a&&r?" / "+r:""," p."),i.a.createElement(gg,{className:"e-result-scorecount-shortcode"},t),i.a.createElement(gg,{className:"e-mrg-r-0"},n))}function gg({className:e,children:t}){return i.a.createElement("span",{className:Xr()("e-mrg-r-1 e-nowrap",e)},t)}function mg({score:e}){return void 0!==e?{score:e,shortCode:"",type:"va"}:null}function yg(e){return e.scores.map((t,n)=>({score:t.score,shortCode:t.shortCode||"",type:e.scores.length-n+".s"}))}var vg=i.a.memo((function({scores:e,maxScore:t,displayNumber:n,multilineAnswer:a}){var o,s,l,c,u;const{answers:d}=Object(r.useContext)(os),f={answers:d,displayNumber:n,multilineAnswer:a},p=null===(s=null===(o=null==e?void 0:e.censoring)||void 0===o?void 0:o.nonAnswerDetails)||void 0===s?void 0:s.shortCode;return i.a.createElement(Jh,{...f},null!=(null===(l=null==e?void 0:e.pregrading)||void 0===l?void 0:l.score)||(null===(u=null===(c=null==e?void 0:e.censoring)||void 0===c?void 0:c.scores)||void 0===u?void 0:u.length)?i.a.createElement(i.a.Fragment,null,function(e,t){return[e.inspection&&(n=e.inspection,{score:n.score,shortCode:n.shortCodes?n.shortCodes.join(", "):"",type:"ta"}),...e.censoring?yg(e.censoring):[],e.pregrading&&mg(e.pregrading)].filter(Boolean).map((e,n)=>i.a.createElement(hg,{key:n,...e,latest:0===n,maxScore:t}));var n}(e,t),p&&i.a.createElement(pg,{shortCode:p})):i.a.createElement(fg,{maxScore:t}))}));const bg=({type:e,score:t,value:n})=>{const{t:a}=Ir(),o=Object(r.useRef)(null);return Object(r.useLayoutEffect)(()=>{var e,n,r,i;o.current&&og(o.current,null!==(n=null===(e=null==t?void 0:t.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==n?n:[],null!==(i=null===(r=null==t?void 0:t.censoring)||void 0===r?void 0:r.annotations)&&void 0!==i?i:[])}),i.a.createElement("div",{className:"e-multiline-results-text-answer e-line-height-l e-pad-l-2 e-mrg-b-1"},i.a.createElement(Ah,null,a("screen-reader.answer-begin")),"rich-text"===e?i.a.createElement("div",{dangerouslySetInnerHTML:{__html:n||""},ref:o}):i.a.createElement("div",{className:"e-pre-wrap",ref:o},n),i.a.createElement(Ah,null,a("screen-reader.answer-end")))};var Ig=i.a.memo((function({element:e}){var t;const{answers:n}=Object(r.useContext)(os),{answersByQuestionId:a,scores:o}=Object(r.useContext)(Hh),{t:s}=Ir(),l=be(e,"question-id"),c=be(e,"max-score"),u=a[l],d=u&&u.value,f=n.length>1?Sp(e.getAttribute("display-number")):void 0,p=Qh(o,l),h=null===(t=null==p?void 0:p.pregrading)||void 0===t?void 0:t.comment,g=e.getAttribute("type")||"single-line",m=be(e,"max-length");switch(g){case"rich-text":case"multi-line":return i.a.createElement(i.a.Fragment,null,null!=m&&i.a.createElement(xh,{maxLength:m}),i.a.createElement(vg,{multilineAnswer:!0,scores:p,maxScore:c}),i.a.createElement(bg,{type:g,value:d,score:p}),i.a.createElement(zp,{answer:u,element:e}),h&&i.a.createElement(i.a.Fragment,null,i.a.createElement("h5",null,s("comment")),i.a.createElement("p",{className:"e-italic"},h)));case"single-line":default:return i.a.createElement(ug,{answers:n,score:p,displayNumber:f,value:d},i.a.createElement(vg,{scores:p,maxScore:c,displayNumber:f}))}}));const xg=Ae({attachment:Ro,"attachment-link":Yr("plain"),"attachment-links":Wr("plain"),"audio-group":Ro,"choice-answer":$h,"dropdown-answer":eg,formula:Do,question:rg,hints:Ro,image:zh(({element:e})=>null!=me(e,"choice-answer"))(Po),"question-instruction":xp,"question-title":ig,section:ag,"section-title":Np,"text-answer":Ig,"scored-text-answer":dg,"scored-text-answers":Ro});function wg(){const{gradingText:e,totalScore:t}=Object(r.useContext)(Hh),{t:n}=Ir();return i.a.createElement("div",{className:"e-column--narrow"},i.a.createElement("table",{className:"e-table e-table--borderless e-mrg-b-0"},i.a.createElement("tbody",null,i.a.createElement("tr",null,i.a.createElement("th",{className:"e-pad-y-0 e-normal"},n("grading-total")),i.a.createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},n("points",{count:t}))),e&&i.a.createElement("tr",null,i.a.createElement("th",{className:"e-pad-y-0 e-normal"},n("grade")),i.a.createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},e)))))}var Tg=i.a.memo(Vh(Br(()=>{const{date:e,dateTimeFormatter:t,dayCode:n,examCode:a,language:o,resolveAttachment:s,root:l,subjectLanguage:c}=Object(r.useContext)(Gr),u=ye(l,"exam-title"),d=l.getAttribute("exam-stylesheet"),f=zr(()=>br(o,a,n));return Object(r.useEffect)(xr(f,o)),Object(r.useEffect)(Rr,[]),i.a.createElement(y,{i18n:f},i.a.createElement("main",{className:"e-exam",lang:c},i.a.createElement(i.a.StrictMode,null),d&&i.a.createElement("link",{rel:"stylesheet",href:s(d)}),i.a.createElement("div",{className:"e-columns e-columns--bottom-v e-mrg-b-4"},u&&i.a.createElement(fs,{id:"title",className:"e-column e-mrg-b-0"},xg(u),e&&", "+t.format(e)),i.a.createElement(wg,null)),xg(l)))})));var Mg=function(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1},Ag=Math.max;var Cg=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Ko(n);return i<0&&(i=Ag(r+i,0)),Mg(e,Tl(t,3),i)},Eg=Math.max,Ng=Math.min;var Sg=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=Ko(n),i=n<0?Eg(r+i,0):Ng(i,r-1)),Mg(e,Tl(t,3),i,!0)};var kg=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Td(e,t,n)};var jg=function(e){return e!=e};var Dg=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1};var Lg=function(e,t,n){return t==t?Dg(e,t,n):Mg(e,jg,n)};var Og=function(e,t){for(var n=-1,r=e.length;++n<r&&Lg(t,e[n],0)>-1;);return n};var Pg=function(e){return e.split("")},Rg=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var zg=function(e){return Rg.test(e)},_g="[\\ud800-\\udfff]",Ug="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Zg="\\ud83c[\\udffb-\\udfff]",Fg="[^\\ud800-\\udfff]",Gg="(?:\\ud83c[\\udde6-\\uddff]){2}",Bg="[\\ud800-\\udbff][\\udc00-\\udfff]",Yg="(?:"+Ug+"|"+Zg+")"+"?",Wg="[\\ufe0e\\ufe0f]?"+Yg+("(?:\\u200d(?:"+[Fg,Gg,Bg].join("|")+")[\\ufe0e\\ufe0f]?"+Yg+")*"),Hg="(?:"+[Fg+Ug+"?",Ug,Gg,Bg,_g].join("|")+")",Vg=RegExp(Zg+"(?="+Zg+")|"+Hg+Wg,"g");var qg=function(e){return e.match(Vg)||[]};var Qg=function(e){return zg(e)?qg(e):Pg(e)},Jg=/^\s+/;var Xg=function(e,t,n){if((e=Ln(e))&&(n||void 0===t))return e.replace(Jg,"");if(!e||!(t=Dn(t)))return e;var r=Qg(e),i=Og(r,Qg(t));return kg(r,i).join("")};var Kg=function(e,t){for(var n=e.length;n--&&Lg(t,e[n],0)>-1;);return n};var $g=function(e,t,n){if((e=Ln(e))&&(n||void 0===t))return e.slice(0,Bo(e)+1);if(!e||!(t=Dn(t)))return e;var r=Qg(e),i=Kg(r,Qg(t))+1;return kg(r,0,i).join("")};function em(e,t=!1){const n=(new DOMParser).parseFromString(e,"application/xml");return t||ge(n.documentElement,["choice-answer","dropdown-answer"]).filter(e=>"fixed"!==ve(e,"ordering")).forEach(tm),ge(n.documentElement,"reference").forEach(e=>{ge(e,()=>!0,!1).forEach(nm)}),n}function tm(e){for(let t=e.children.length;t>0;t--){const n=Math.floor(Math.random()*t);e.appendChild(e.children[n])}const t=ye(e,e=>"no-answer"===ve(e,"type"));t&&e.appendChild(t)}function nm(e){const t=e=>/\S/.test(e.textContent),n=(()=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(;n.nextNode();)t.push(n.currentNode);return t})(),r=Cg(n,t),i=Sg(n,t);-1!==r&&(n.slice(0,r).forEach(e=>e.remove()),n[r].textContent=Xg(n[r].textContent)),-1!==i&&(n.slice(i+1).forEach(e=>e.remove()),n[i].textContent=$g(n[i].textContent))}}])}));