@digabi/exam-engine-core 22.3.1-alpha.0 → 22.3.1-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (652) hide show
  1. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  2. package/dist/main-bundle.js +2 -2
  3. package/package.json +3 -3
  4. package/dist/components/exam/ExamineExam.d.ts +0 -5
  5. package/dist/components/exam/ExamineExam.d.ts.map +0 -1
  6. package/dist/components/exam/ExamineExam.js +0 -20
  7. package/dist/components/exam/ExamineExam.js.map +0 -1
  8. package/dist/src/components/AnswerToolbar.d.ts +0 -18
  9. package/dist/src/components/AnswerToolbar.d.ts.map +0 -1
  10. package/dist/src/components/AnswerToolbar.js +0 -36
  11. package/dist/src/components/AnswerToolbar.js.map +0 -1
  12. package/dist/src/components/AnsweringInstructions.d.ts +0 -12
  13. package/dist/src/components/AnsweringInstructions.d.ts.map +0 -1
  14. package/dist/src/components/AnsweringInstructions.js +0 -24
  15. package/dist/src/components/AnsweringInstructions.js.map +0 -1
  16. package/dist/src/components/DocumentTitle.d.ts +0 -5
  17. package/dist/src/components/DocumentTitle.d.ts.map +0 -1
  18. package/dist/src/components/DocumentTitle.js +0 -13
  19. package/dist/src/components/DocumentTitle.js.map +0 -1
  20. package/dist/src/components/NotificationIcon.d.ts +0 -4
  21. package/dist/src/components/NotificationIcon.d.ts.map +0 -1
  22. package/dist/src/components/NotificationIcon.js +0 -6
  23. package/dist/src/components/NotificationIcon.js.map +0 -1
  24. package/dist/src/components/RenderChildNodes.d.ts +0 -5
  25. package/dist/src/components/RenderChildNodes.d.ts.map +0 -1
  26. package/dist/src/components/RenderChildNodes.js +0 -7
  27. package/dist/src/components/RenderChildNodes.js.map +0 -1
  28. package/dist/src/components/RenderExamElements.d.ts +0 -6
  29. package/dist/src/components/RenderExamElements.d.ts.map +0 -1
  30. package/dist/src/components/RenderExamElements.js +0 -6
  31. package/dist/src/components/RenderExamElements.js.map +0 -1
  32. package/dist/src/components/RenderIf.d.ts +0 -4
  33. package/dist/src/components/RenderIf.d.ts.map +0 -1
  34. package/dist/src/components/RenderIf.js +0 -8
  35. package/dist/src/components/RenderIf.js.map +0 -1
  36. package/dist/src/components/ScreenReaderOnly.d.ts +0 -5
  37. package/dist/src/components/ScreenReaderOnly.d.ts.map +0 -1
  38. package/dist/src/components/ScreenReaderOnly.js +0 -3
  39. package/dist/src/components/ScreenReaderOnly.js.map +0 -1
  40. package/dist/src/components/SectionElement.d.ts +0 -4
  41. package/dist/src/components/SectionElement.d.ts.map +0 -1
  42. package/dist/src/components/SectionElement.js +0 -8
  43. package/dist/src/components/SectionElement.js.map +0 -1
  44. package/dist/src/components/attachments/Attachment.d.ts +0 -4
  45. package/dist/src/components/attachments/Attachment.d.ts.map +0 -1
  46. package/dist/src/components/attachments/Attachment.js +0 -8
  47. package/dist/src/components/attachments/Attachment.js.map +0 -1
  48. package/dist/src/components/attachments/AttachmentTitle.d.ts +0 -6
  49. package/dist/src/components/attachments/AttachmentTitle.d.ts.map +0 -1
  50. package/dist/src/components/attachments/AttachmentTitle.js +0 -12
  51. package/dist/src/components/attachments/AttachmentTitle.js.map +0 -1
  52. package/dist/src/components/attachments/Attachments.d.ts +0 -5
  53. package/dist/src/components/attachments/Attachments.d.ts.map +0 -1
  54. package/dist/src/components/attachments/Attachments.js +0 -55
  55. package/dist/src/components/attachments/Attachments.js.map +0 -1
  56. package/dist/src/components/attachments/ExternalMaterial.d.ts +0 -9
  57. package/dist/src/components/attachments/ExternalMaterial.d.ts.map +0 -1
  58. package/dist/src/components/attachments/ExternalMaterial.js +0 -46
  59. package/dist/src/components/attachments/ExternalMaterial.js.map +0 -1
  60. package/dist/src/components/attachments/Question.d.ts +0 -4
  61. package/dist/src/components/attachments/Question.d.ts.map +0 -1
  62. package/dist/src/components/attachments/Question.js +0 -16
  63. package/dist/src/components/attachments/Question.js.map +0 -1
  64. package/dist/src/components/attachments/QuestionTitle.d.ts +0 -6
  65. package/dist/src/components/attachments/QuestionTitle.d.ts.map +0 -1
  66. package/dist/src/components/attachments/QuestionTitle.js +0 -15
  67. package/dist/src/components/attachments/QuestionTitle.js.map +0 -1
  68. package/dist/src/components/context/AnnotationProvider.d.ts +0 -16
  69. package/dist/src/components/context/AnnotationProvider.d.ts.map +0 -1
  70. package/dist/src/components/context/AnnotationProvider.js +0 -35
  71. package/dist/src/components/context/AnnotationProvider.js.map +0 -1
  72. package/dist/src/components/context/AttachmentContext.d.ts +0 -13
  73. package/dist/src/components/context/AttachmentContext.d.ts.map +0 -1
  74. package/dist/src/components/context/AttachmentContext.js +0 -12
  75. package/dist/src/components/context/AttachmentContext.js.map +0 -1
  76. package/dist/src/components/context/CommonExamContext.d.ts +0 -22
  77. package/dist/src/components/context/CommonExamContext.d.ts.map +0 -1
  78. package/dist/src/components/context/CommonExamContext.js +0 -28
  79. package/dist/src/components/context/CommonExamContext.js.map +0 -1
  80. package/dist/src/components/context/ExamContext.d.ts +0 -9
  81. package/dist/src/components/context/ExamContext.d.ts.map +0 -1
  82. package/dist/src/components/context/ExamContext.js +0 -11
  83. package/dist/src/components/context/ExamContext.js.map +0 -1
  84. package/dist/src/components/context/IsInSidebarContext.d.ts +0 -6
  85. package/dist/src/components/context/IsInSidebarContext.d.ts.map +0 -1
  86. package/dist/src/components/context/IsInSidebarContext.js +0 -3
  87. package/dist/src/components/context/IsInSidebarContext.js.map +0 -1
  88. package/dist/src/components/context/QuestionContext.d.ts +0 -14
  89. package/dist/src/components/context/QuestionContext.d.ts.map +0 -1
  90. package/dist/src/components/context/QuestionContext.js +0 -27
  91. package/dist/src/components/context/QuestionContext.js.map +0 -1
  92. package/dist/src/components/context/ResultsContext.d.ts +0 -17
  93. package/dist/src/components/context/ResultsContext.d.ts.map +0 -1
  94. package/dist/src/components/context/ResultsContext.js +0 -69
  95. package/dist/src/components/context/ResultsContext.js.map +0 -1
  96. package/dist/src/components/context/SectionContext.d.ts +0 -12
  97. package/dist/src/components/context/SectionContext.d.ts.map +0 -1
  98. package/dist/src/components/context/SectionContext.js +0 -21
  99. package/dist/src/components/context/SectionContext.js.map +0 -1
  100. package/dist/src/components/context/TOCContext.d.ts +0 -7
  101. package/dist/src/components/context/TOCContext.d.ts.map +0 -1
  102. package/dist/src/components/context/TOCContext.js +0 -3
  103. package/dist/src/components/context/TOCContext.js.map +0 -1
  104. package/dist/src/components/context/withContext.d.ts +0 -3
  105. package/dist/src/components/context/withContext.d.ts.map +0 -1
  106. package/dist/src/components/context/withContext.js +0 -12
  107. package/dist/src/components/context/withContext.js.map +0 -1
  108. package/dist/src/components/exam/Attachment.d.ts +0 -4
  109. package/dist/src/components/exam/Attachment.d.ts.map +0 -1
  110. package/dist/src/components/exam/Attachment.js +0 -8
  111. package/dist/src/components/exam/Attachment.js.map +0 -1
  112. package/dist/src/components/exam/ChoiceAnswer.d.ts +0 -5
  113. package/dist/src/components/exam/ChoiceAnswer.d.ts.map +0 -1
  114. package/dist/src/components/exam/ChoiceAnswer.js +0 -53
  115. package/dist/src/components/exam/ChoiceAnswer.js.map +0 -1
  116. package/dist/src/components/exam/DropdownAnswer.d.ts +0 -5
  117. package/dist/src/components/exam/DropdownAnswer.d.ts.map +0 -1
  118. package/dist/src/components/exam/DropdownAnswer.js +0 -101
  119. package/dist/src/components/exam/DropdownAnswer.js.map +0 -1
  120. package/dist/src/components/exam/Exam.d.ts +0 -48
  121. package/dist/src/components/exam/Exam.d.ts.map +0 -1
  122. package/dist/src/components/exam/Exam.js +0 -195
  123. package/dist/src/components/exam/Exam.js.map +0 -1
  124. package/dist/src/components/exam/ExamFooter.d.ts +0 -6
  125. package/dist/src/components/exam/ExamFooter.d.ts.map +0 -1
  126. package/dist/src/components/exam/ExamFooter.js +0 -6
  127. package/dist/src/components/exam/ExamFooter.js.map +0 -1
  128. package/dist/src/components/exam/ExamInstruction.d.ts +0 -6
  129. package/dist/src/components/exam/ExamInstruction.d.ts.map +0 -1
  130. package/dist/src/components/exam/ExamInstruction.js +0 -6
  131. package/dist/src/components/exam/ExamInstruction.js.map +0 -1
  132. package/dist/src/components/exam/ExternalMaterial.d.ts +0 -10
  133. package/dist/src/components/exam/ExternalMaterial.d.ts.map +0 -1
  134. package/dist/src/components/exam/ExternalMaterial.js +0 -33
  135. package/dist/src/components/exam/ExternalMaterial.js.map +0 -1
  136. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts +0 -5
  137. package/dist/src/components/exam/GoToExamineAnswersButton.d.ts.map +0 -1
  138. package/dist/src/components/exam/GoToExamineAnswersButton.js +0 -18
  139. package/dist/src/components/exam/GoToExamineAnswersButton.js.map +0 -1
  140. package/dist/src/components/exam/Hints.d.ts +0 -5
  141. package/dist/src/components/exam/Hints.d.ts.map +0 -1
  142. package/dist/src/components/exam/Hints.js +0 -31
  143. package/dist/src/components/exam/Hints.js.map +0 -1
  144. package/dist/src/components/exam/Question.d.ts +0 -8
  145. package/dist/src/components/exam/Question.d.ts.map +0 -1
  146. package/dist/src/components/exam/Question.js +0 -75
  147. package/dist/src/components/exam/Question.js.map +0 -1
  148. package/dist/src/components/exam/QuestionInstruction.d.ts +0 -6
  149. package/dist/src/components/exam/QuestionInstruction.d.ts.map +0 -1
  150. package/dist/src/components/exam/QuestionInstruction.js +0 -8
  151. package/dist/src/components/exam/QuestionInstruction.js.map +0 -1
  152. package/dist/src/components/exam/QuestionTitle.d.ts +0 -5
  153. package/dist/src/components/exam/QuestionTitle.d.ts.map +0 -1
  154. package/dist/src/components/exam/QuestionTitle.js +0 -26
  155. package/dist/src/components/exam/QuestionTitle.js.map +0 -1
  156. package/dist/src/components/exam/RichTextAnswer.d.ts +0 -41
  157. package/dist/src/components/exam/RichTextAnswer.d.ts.map +0 -1
  158. package/dist/src/components/exam/RichTextAnswer.js +0 -79
  159. package/dist/src/components/exam/RichTextAnswer.js.map +0 -1
  160. package/dist/src/components/exam/Section.d.ts +0 -4
  161. package/dist/src/components/exam/Section.d.ts.map +0 -1
  162. package/dist/src/components/exam/Section.js +0 -49
  163. package/dist/src/components/exam/Section.js.map +0 -1
  164. package/dist/src/components/exam/SectionInstruction.d.ts +0 -6
  165. package/dist/src/components/exam/SectionInstruction.d.ts.map +0 -1
  166. package/dist/src/components/exam/SectionInstruction.js +0 -6
  167. package/dist/src/components/exam/SectionInstruction.js.map +0 -1
  168. package/dist/src/components/exam/SectionTitle.d.ts +0 -6
  169. package/dist/src/components/exam/SectionTitle.d.ts.map +0 -1
  170. package/dist/src/components/exam/SectionTitle.js +0 -30
  171. package/dist/src/components/exam/SectionTitle.js.map +0 -1
  172. package/dist/src/components/exam/StudentNameHeader.d.ts +0 -8
  173. package/dist/src/components/exam/StudentNameHeader.d.ts.map +0 -1
  174. package/dist/src/components/exam/StudentNameHeader.js +0 -3
  175. package/dist/src/components/exam/StudentNameHeader.js.map +0 -1
  176. package/dist/src/components/exam/TextAnswer.d.ts +0 -6
  177. package/dist/src/components/exam/TextAnswer.d.ts.map +0 -1
  178. package/dist/src/components/exam/TextAnswer.js +0 -20
  179. package/dist/src/components/exam/TextAnswer.js.map +0 -1
  180. package/dist/src/components/exam/UndoHistoryEntry.d.ts +0 -19
  181. package/dist/src/components/exam/UndoHistoryEntry.d.ts.map +0 -1
  182. package/dist/src/components/exam/UndoHistoryEntry.js +0 -39
  183. package/dist/src/components/exam/UndoHistoryEntry.js.map +0 -1
  184. package/dist/src/components/exam/UndoView.d.ts +0 -35
  185. package/dist/src/components/exam/UndoView.d.ts.map +0 -1
  186. package/dist/src/components/exam/UndoView.js +0 -162
  187. package/dist/src/components/exam/UndoView.js.map +0 -1
  188. package/dist/src/components/exam/internal/ErrorIndicator.d.ts +0 -9
  189. package/dist/src/components/exam/internal/ErrorIndicator.d.ts.map +0 -1
  190. package/dist/src/components/exam/internal/ErrorIndicator.js +0 -63
  191. package/dist/src/components/exam/internal/ErrorIndicator.js.map +0 -1
  192. package/dist/src/components/exam/internal/ProgressBar.d.ts +0 -8
  193. package/dist/src/components/exam/internal/ProgressBar.d.ts.map +0 -1
  194. package/dist/src/components/exam/internal/ProgressBar.js +0 -19
  195. package/dist/src/components/exam/internal/ProgressBar.js.map +0 -1
  196. package/dist/src/components/exam/internal/SaveIndicator.d.ts +0 -5
  197. package/dist/src/components/exam/internal/SaveIndicator.d.ts.map +0 -1
  198. package/dist/src/components/exam/internal/SaveIndicator.js +0 -16
  199. package/dist/src/components/exam/internal/SaveIndicator.js.map +0 -1
  200. package/dist/src/components/exam/internal/TextAnswerInput.d.ts +0 -6
  201. package/dist/src/components/exam/internal/TextAnswerInput.d.ts.map +0 -1
  202. package/dist/src/components/exam/internal/TextAnswerInput.js +0 -128
  203. package/dist/src/components/exam/internal/TextAnswerInput.js.map +0 -1
  204. package/dist/src/components/grading/AnswerCharacterCounter.d.ts +0 -6
  205. package/dist/src/components/grading/AnswerCharacterCounter.d.ts.map +0 -1
  206. package/dist/src/components/grading/AnswerCharacterCounter.js +0 -21
  207. package/dist/src/components/grading/AnswerCharacterCounter.js.map +0 -1
  208. package/dist/src/components/grading/GradingAnswer.d.ts +0 -24
  209. package/dist/src/components/grading/GradingAnswer.d.ts.map +0 -1
  210. package/dist/src/components/grading/GradingAnswer.js +0 -306
  211. package/dist/src/components/grading/GradingAnswer.js.map +0 -1
  212. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts +0 -9
  213. package/dist/src/components/grading/GradingAnswerAnnotationList.d.ts.map +0 -1
  214. package/dist/src/components/grading/GradingAnswerAnnotationList.js +0 -19
  215. package/dist/src/components/grading/GradingAnswerAnnotationList.js.map +0 -1
  216. package/dist/src/components/grading/editAnnotations.d.ts +0 -29
  217. package/dist/src/components/grading/editAnnotations.d.ts.map +0 -1
  218. package/dist/src/components/grading/editAnnotations.js +0 -190
  219. package/dist/src/components/grading/editAnnotations.js.map +0 -1
  220. package/dist/src/components/grading/examAnnotationUtils.d.ts +0 -3
  221. package/dist/src/components/grading/examAnnotationUtils.d.ts.map +0 -1
  222. package/dist/src/components/grading/examAnnotationUtils.js +0 -44
  223. package/dist/src/components/grading/examAnnotationUtils.js.map +0 -1
  224. package/dist/src/components/grading/largeImageDetector.d.ts +0 -3
  225. package/dist/src/components/grading/largeImageDetector.d.ts.map +0 -1
  226. package/dist/src/components/grading/largeImageDetector.js +0 -45
  227. package/dist/src/components/grading/largeImageDetector.js.map +0 -1
  228. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts +0 -5
  229. package/dist/src/components/grading-instructions/AnswerGradingInstruction.d.ts.map +0 -1
  230. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js +0 -4
  231. package/dist/src/components/grading-instructions/AnswerGradingInstruction.js.map +0 -1
  232. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts +0 -5
  233. package/dist/src/components/grading-instructions/AutogradedAnswer.d.ts.map +0 -1
  234. package/dist/src/components/grading-instructions/AutogradedAnswer.js +0 -34
  235. package/dist/src/components/grading-instructions/AutogradedAnswer.js.map +0 -1
  236. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts +0 -5
  237. package/dist/src/components/grading-instructions/AutogradedAnswerOption.d.ts.map +0 -1
  238. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js +0 -17
  239. package/dist/src/components/grading-instructions/AutogradedAnswerOption.js.map +0 -1
  240. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts +0 -5
  241. package/dist/src/components/grading-instructions/ExamGradingInstruction.d.ts.map +0 -1
  242. package/dist/src/components/grading-instructions/ExamGradingInstruction.js +0 -4
  243. package/dist/src/components/grading-instructions/ExamGradingInstruction.js.map +0 -1
  244. package/dist/src/components/grading-instructions/GradingInstructions.d.ts +0 -6
  245. package/dist/src/components/grading-instructions/GradingInstructions.d.ts.map +0 -1
  246. package/dist/src/components/grading-instructions/GradingInstructions.js +0 -109
  247. package/dist/src/components/grading-instructions/GradingInstructions.js.map +0 -1
  248. package/dist/src/components/grading-instructions/Question.d.ts +0 -4
  249. package/dist/src/components/grading-instructions/Question.d.ts.map +0 -1
  250. package/dist/src/components/grading-instructions/Question.js +0 -14
  251. package/dist/src/components/grading-instructions/Question.js.map +0 -1
  252. package/dist/src/components/grading-instructions/QuestionTitle.d.ts +0 -5
  253. package/dist/src/components/grading-instructions/QuestionTitle.d.ts.map +0 -1
  254. package/dist/src/components/grading-instructions/QuestionTitle.js +0 -19
  255. package/dist/src/components/grading-instructions/QuestionTitle.js.map +0 -1
  256. package/dist/src/components/grading-instructions/Recording.d.ts +0 -5
  257. package/dist/src/components/grading-instructions/Recording.d.ts.map +0 -1
  258. package/dist/src/components/grading-instructions/Recording.js +0 -19
  259. package/dist/src/components/grading-instructions/Recording.js.map +0 -1
  260. package/dist/src/components/grading-instructions/Section.d.ts +0 -4
  261. package/dist/src/components/grading-instructions/Section.d.ts.map +0 -1
  262. package/dist/src/components/grading-instructions/Section.js +0 -10
  263. package/dist/src/components/grading-instructions/Section.js.map +0 -1
  264. package/dist/src/components/grading-instructions/SectionTitle.d.ts +0 -5
  265. package/dist/src/components/grading-instructions/SectionTitle.d.ts.map +0 -1
  266. package/dist/src/components/grading-instructions/SectionTitle.js +0 -16
  267. package/dist/src/components/grading-instructions/SectionTitle.js.map +0 -1
  268. package/dist/src/components/results/ChoiceAnswer.d.ts +0 -6
  269. package/dist/src/components/results/ChoiceAnswer.d.ts.map +0 -1
  270. package/dist/src/components/results/ChoiceAnswer.js +0 -57
  271. package/dist/src/components/results/ChoiceAnswer.js.map +0 -1
  272. package/dist/src/components/results/DropdownAnswer.d.ts +0 -6
  273. package/dist/src/components/results/DropdownAnswer.d.ts.map +0 -1
  274. package/dist/src/components/results/DropdownAnswer.js +0 -43
  275. package/dist/src/components/results/DropdownAnswer.js.map +0 -1
  276. package/dist/src/components/results/EndExamSession.d.ts +0 -8
  277. package/dist/src/components/results/EndExamSession.d.ts.map +0 -1
  278. package/dist/src/components/results/EndExamSession.js +0 -20
  279. package/dist/src/components/results/EndExamSession.js.map +0 -1
  280. package/dist/src/components/results/MultiLineAnswer.d.ts +0 -8
  281. package/dist/src/components/results/MultiLineAnswer.d.ts.map +0 -1
  282. package/dist/src/components/results/MultiLineAnswer.js +0 -22
  283. package/dist/src/components/results/MultiLineAnswer.js.map +0 -1
  284. package/dist/src/components/results/Question.d.ts +0 -4
  285. package/dist/src/components/results/Question.d.ts.map +0 -1
  286. package/dist/src/components/results/Question.js +0 -31
  287. package/dist/src/components/results/Question.js.map +0 -1
  288. package/dist/src/components/results/QuestionTitle.d.ts +0 -6
  289. package/dist/src/components/results/QuestionTitle.d.ts.map +0 -1
  290. package/dist/src/components/results/QuestionTitle.js +0 -26
  291. package/dist/src/components/results/QuestionTitle.js.map +0 -1
  292. package/dist/src/components/results/Results.d.ts +0 -19
  293. package/dist/src/components/results/Results.d.ts.map +0 -1
  294. package/dist/src/components/results/Results.js +0 -136
  295. package/dist/src/components/results/Results.js.map +0 -1
  296. package/dist/src/components/results/ScoredTextAnswer.d.ts +0 -6
  297. package/dist/src/components/results/ScoredTextAnswer.d.ts.map +0 -1
  298. package/dist/src/components/results/ScoredTextAnswer.js +0 -22
  299. package/dist/src/components/results/ScoredTextAnswer.js.map +0 -1
  300. package/dist/src/components/results/Section.d.ts +0 -4
  301. package/dist/src/components/results/Section.d.ts.map +0 -1
  302. package/dist/src/components/results/Section.js +0 -11
  303. package/dist/src/components/results/Section.js.map +0 -1
  304. package/dist/src/components/results/SingleLineAnswer.d.ts +0 -12
  305. package/dist/src/components/results/SingleLineAnswer.d.ts.map +0 -1
  306. package/dist/src/components/results/SingleLineAnswer.js +0 -26
  307. package/dist/src/components/results/SingleLineAnswer.js.map +0 -1
  308. package/dist/src/components/results/TextAnswer.d.ts +0 -7
  309. package/dist/src/components/results/TextAnswer.d.ts.map +0 -1
  310. package/dist/src/components/results/TextAnswer.js +0 -48
  311. package/dist/src/components/results/TextAnswer.js.map +0 -1
  312. package/dist/src/components/results/internal/AnnotationList.d.ts +0 -5
  313. package/dist/src/components/results/internal/AnnotationList.d.ts.map +0 -1
  314. package/dist/src/components/results/internal/AnnotationList.js +0 -32
  315. package/dist/src/components/results/internal/AnnotationList.js.map +0 -1
  316. package/dist/src/components/results/internal/QuestionAutoScore.d.ts +0 -11
  317. package/dist/src/components/results/internal/QuestionAutoScore.d.ts.map +0 -1
  318. package/dist/src/components/results/internal/QuestionAutoScore.js +0 -17
  319. package/dist/src/components/results/internal/QuestionAutoScore.js.map +0 -1
  320. package/dist/src/components/results/internal/QuestionManualScore.d.ts +0 -13
  321. package/dist/src/components/results/internal/QuestionManualScore.d.ts.map +0 -1
  322. package/dist/src/components/results/internal/QuestionManualScore.js +0 -66
  323. package/dist/src/components/results/internal/QuestionManualScore.js.map +0 -1
  324. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts +0 -11
  325. package/dist/src/components/results/internal/QuestionScoresContainer.d.ts.map +0 -1
  326. package/dist/src/components/results/internal/QuestionScoresContainer.js +0 -27
  327. package/dist/src/components/results/internal/QuestionScoresContainer.js.map +0 -1
  328. package/dist/src/components/results/isExamineExamPageHook.d.ts +0 -2
  329. package/dist/src/components/results/isExamineExamPageHook.d.ts.map +0 -1
  330. package/dist/src/components/results/isExamineExamPageHook.js +0 -7
  331. package/dist/src/components/results/isExamineExamPageHook.js.map +0 -1
  332. package/dist/src/components/shared/AnnotatableText.d.ts +0 -5
  333. package/dist/src/components/shared/AnnotatableText.d.ts.map +0 -1
  334. package/dist/src/components/shared/AnnotatableText.js +0 -73
  335. package/dist/src/components/shared/AnnotatableText.js.map +0 -1
  336. package/dist/src/components/shared/AnnotationLists.d.ts +0 -13
  337. package/dist/src/components/shared/AnnotationLists.d.ts.map +0 -1
  338. package/dist/src/components/shared/AnnotationLists.js +0 -17
  339. package/dist/src/components/shared/AnnotationLists.js.map +0 -1
  340. package/dist/src/components/shared/AnnotationPopup.d.ts +0 -3
  341. package/dist/src/components/shared/AnnotationPopup.d.ts.map +0 -1
  342. package/dist/src/components/shared/AnnotationPopup.js +0 -74
  343. package/dist/src/components/shared/AnnotationPopup.js.map +0 -1
  344. package/dist/src/components/shared/AnswerIndicator.d.ts +0 -12
  345. package/dist/src/components/shared/AnswerIndicator.d.ts.map +0 -1
  346. package/dist/src/components/shared/AnswerIndicator.js +0 -27
  347. package/dist/src/components/shared/AnswerIndicator.js.map +0 -1
  348. package/dist/src/components/shared/AnswerLengthInfo.d.ts +0 -7
  349. package/dist/src/components/shared/AnswerLengthInfo.d.ts.map +0 -1
  350. package/dist/src/components/shared/AnswerLengthInfo.js +0 -11
  351. package/dist/src/components/shared/AnswerLengthInfo.js.map +0 -1
  352. package/dist/src/components/shared/AttachmentLink.d.ts +0 -5
  353. package/dist/src/components/shared/AttachmentLink.d.ts.map +0 -1
  354. package/dist/src/components/shared/AttachmentLink.js +0 -28
  355. package/dist/src/components/shared/AttachmentLink.js.map +0 -1
  356. package/dist/src/components/shared/AttachmentLinks.d.ts +0 -5
  357. package/dist/src/components/shared/AttachmentLinks.d.ts.map +0 -1
  358. package/dist/src/components/shared/AttachmentLinks.js +0 -58
  359. package/dist/src/components/shared/AttachmentLinks.js.map +0 -1
  360. package/dist/src/components/shared/Audio.d.ts +0 -6
  361. package/dist/src/components/shared/Audio.d.ts.map +0 -1
  362. package/dist/src/components/shared/Audio.js +0 -31
  363. package/dist/src/components/shared/Audio.js.map +0 -1
  364. package/dist/src/components/shared/AudioGroup.d.ts +0 -6
  365. package/dist/src/components/shared/AudioGroup.d.ts.map +0 -1
  366. package/dist/src/components/shared/AudioGroup.js +0 -9
  367. package/dist/src/components/shared/AudioGroup.js.map +0 -1
  368. package/dist/src/components/shared/AudioTest.d.ts +0 -6
  369. package/dist/src/components/shared/AudioTest.d.ts.map +0 -1
  370. package/dist/src/components/shared/AudioTest.js +0 -34
  371. package/dist/src/components/shared/AudioTest.js.map +0 -1
  372. package/dist/src/components/shared/ExamTranslation.d.ts +0 -6
  373. package/dist/src/components/shared/ExamTranslation.d.ts.map +0 -1
  374. package/dist/src/components/shared/ExamTranslation.js +0 -9
  375. package/dist/src/components/shared/ExamTranslation.js.map +0 -1
  376. package/dist/src/components/shared/File.d.ts +0 -6
  377. package/dist/src/components/shared/File.d.ts.map +0 -1
  378. package/dist/src/components/shared/File.js +0 -15
  379. package/dist/src/components/shared/File.js.map +0 -1
  380. package/dist/src/components/shared/Footer.d.ts +0 -5
  381. package/dist/src/components/shared/Footer.d.ts.map +0 -1
  382. package/dist/src/components/shared/Footer.js +0 -3
  383. package/dist/src/components/shared/Footer.js.map +0 -1
  384. package/dist/src/components/shared/Formula.d.ts +0 -6
  385. package/dist/src/components/shared/Formula.d.ts.map +0 -1
  386. package/dist/src/components/shared/Formula.js +0 -13
  387. package/dist/src/components/shared/Formula.js.map +0 -1
  388. package/dist/src/components/shared/Image.d.ts +0 -6
  389. package/dist/src/components/shared/Image.d.ts.map +0 -1
  390. package/dist/src/components/shared/Image.js +0 -30
  391. package/dist/src/components/shared/Image.js.map +0 -1
  392. package/dist/src/components/shared/ImageOverlay.d.ts +0 -6
  393. package/dist/src/components/shared/ImageOverlay.d.ts.map +0 -1
  394. package/dist/src/components/shared/ImageOverlay.js +0 -43
  395. package/dist/src/components/shared/ImageOverlay.js.map +0 -1
  396. package/dist/src/components/shared/QuestionNumber.d.ts +0 -4
  397. package/dist/src/components/shared/QuestionNumber.d.ts.map +0 -1
  398. package/dist/src/components/shared/QuestionNumber.js +0 -12
  399. package/dist/src/components/shared/QuestionNumber.js.map +0 -1
  400. package/dist/src/components/shared/Reference.d.ts +0 -6
  401. package/dist/src/components/shared/Reference.d.ts.map +0 -1
  402. package/dist/src/components/shared/Reference.js +0 -72
  403. package/dist/src/components/shared/Reference.js.map +0 -1
  404. package/dist/src/components/shared/References.d.ts +0 -6
  405. package/dist/src/components/shared/References.d.ts.map +0 -1
  406. package/dist/src/components/shared/References.js +0 -26
  407. package/dist/src/components/shared/References.js.map +0 -1
  408. package/dist/src/components/shared/Score.d.ts +0 -8
  409. package/dist/src/components/shared/Score.d.ts.map +0 -1
  410. package/dist/src/components/shared/Score.js +0 -13
  411. package/dist/src/components/shared/Score.js.map +0 -1
  412. package/dist/src/components/shared/TOCQuestion.d.ts +0 -4
  413. package/dist/src/components/shared/TOCQuestion.d.ts.map +0 -1
  414. package/dist/src/components/shared/TOCQuestion.js +0 -77
  415. package/dist/src/components/shared/TOCQuestion.js.map +0 -1
  416. package/dist/src/components/shared/TOCSection.d.ts +0 -7
  417. package/dist/src/components/shared/TOCSection.d.ts.map +0 -1
  418. package/dist/src/components/shared/TOCSection.js +0 -15
  419. package/dist/src/components/shared/TOCSection.js.map +0 -1
  420. package/dist/src/components/shared/TOCSectionTitle.d.ts +0 -4
  421. package/dist/src/components/shared/TOCSectionTitle.d.ts.map +0 -1
  422. package/dist/src/components/shared/TOCSectionTitle.js +0 -34
  423. package/dist/src/components/shared/TOCSectionTitle.js.map +0 -1
  424. package/dist/src/components/shared/TableOfContents.d.ts +0 -8
  425. package/dist/src/components/shared/TableOfContents.d.ts.map +0 -1
  426. package/dist/src/components/shared/TableOfContents.js +0 -61
  427. package/dist/src/components/shared/TableOfContents.js.map +0 -1
  428. package/dist/src/components/shared/VersionNumber.d.ts +0 -3
  429. package/dist/src/components/shared/VersionNumber.d.ts.map +0 -1
  430. package/dist/src/components/shared/VersionNumber.js +0 -10
  431. package/dist/src/components/shared/VersionNumber.js.map +0 -1
  432. package/dist/src/components/shared/Video.d.ts +0 -6
  433. package/dist/src/components/shared/Video.d.ts.map +0 -1
  434. package/dist/src/components/shared/Video.js +0 -22
  435. package/dist/src/components/shared/Video.js.map +0 -1
  436. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts +0 -8
  437. package/dist/src/components/shared/internal/AttachmentLinkAnchor.d.ts.map +0 -1
  438. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js +0 -4
  439. package/dist/src/components/shared/internal/AttachmentLinkAnchor.js.map +0 -1
  440. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts +0 -8
  441. package/dist/src/components/shared/internal/AudioPlaybackError.d.ts.map +0 -1
  442. package/dist/src/components/shared/internal/AudioPlaybackError.js +0 -17
  443. package/dist/src/components/shared/internal/AudioPlaybackError.js.map +0 -1
  444. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts +0 -18
  445. package/dist/src/components/shared/internal/ResponsiveMediaContainer.d.ts.map +0 -1
  446. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js +0 -21
  447. package/dist/src/components/shared/internal/ResponsiveMediaContainer.js.map +0 -1
  448. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts +0 -12
  449. package/dist/src/components/shared/internal/RestrictedAudioPlayer.d.ts.map +0 -1
  450. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js +0 -46
  451. package/dist/src/components/shared/internal/RestrictedAudioPlayer.js.map +0 -1
  452. package/dist/src/components/surround.d.ts +0 -8
  453. package/dist/src/components/surround.d.ts.map +0 -1
  454. package/dist/src/components/surround.js +0 -19
  455. package/dist/src/components/surround.js.map +0 -1
  456. package/dist/src/createRenderChildNodes.d.ts +0 -17
  457. package/dist/src/createRenderChildNodes.d.ts.map +0 -1
  458. package/dist/src/createRenderChildNodes.js +0 -64
  459. package/dist/src/createRenderChildNodes.js.map +0 -1
  460. package/dist/src/dom-utils.d.ts +0 -20
  461. package/dist/src/dom-utils.d.ts.map +0 -1
  462. package/dist/src/dom-utils.js +0 -164
  463. package/dist/src/dom-utils.js.map +0 -1
  464. package/dist/src/fonts.d.ts +0 -5
  465. package/dist/src/fonts.d.ts.map +0 -1
  466. package/dist/src/fonts.js +0 -16
  467. package/dist/src/fonts.js.map +0 -1
  468. package/dist/src/formatting.d.ts +0 -2
  469. package/dist/src/formatting.d.ts.map +0 -1
  470. package/dist/src/formatting.js +0 -4
  471. package/dist/src/formatting.js.map +0 -1
  472. package/dist/src/getDisplayName.d.ts +0 -4
  473. package/dist/src/getDisplayName.d.ts.map +0 -1
  474. package/dist/src/getDisplayName.js +0 -5
  475. package/dist/src/getDisplayName.js.map +0 -1
  476. package/dist/src/i18n/A_E.d.ts +0 -3
  477. package/dist/src/i18n/A_E.d.ts.map +0 -1
  478. package/dist/src/i18n/A_E.js +0 -8
  479. package/dist/src/i18n/A_E.js.map +0 -1
  480. package/dist/src/i18n/BA.d.ts +0 -3
  481. package/dist/src/i18n/BA.d.ts.map +0 -1
  482. package/dist/src/i18n/BA.js +0 -11
  483. package/dist/src/i18n/BA.js.map +0 -1
  484. package/dist/src/i18n/CA.d.ts +0 -3
  485. package/dist/src/i18n/CA.d.ts.map +0 -1
  486. package/dist/src/i18n/CA.js +0 -11
  487. package/dist/src/i18n/CA.js.map +0 -1
  488. package/dist/src/i18n/EA.d.ts +0 -3
  489. package/dist/src/i18n/EA.d.ts.map +0 -1
  490. package/dist/src/i18n/EA.js +0 -16
  491. package/dist/src/i18n/EA.js.map +0 -1
  492. package/dist/src/i18n/FA.d.ts +0 -3
  493. package/dist/src/i18n/FA.d.ts.map +0 -1
  494. package/dist/src/i18n/FA.js +0 -17
  495. package/dist/src/i18n/FA.js.map +0 -1
  496. package/dist/src/i18n/GC.d.ts +0 -3
  497. package/dist/src/i18n/GC.d.ts.map +0 -1
  498. package/dist/src/i18n/GC.js +0 -16
  499. package/dist/src/i18n/GC.js.map +0 -1
  500. package/dist/src/i18n/I.d.ts +0 -3
  501. package/dist/src/i18n/I.d.ts.map +0 -1
  502. package/dist/src/i18n/I.js +0 -21
  503. package/dist/src/i18n/I.js.map +0 -1
  504. package/dist/src/i18n/M.d.ts +0 -3
  505. package/dist/src/i18n/M.d.ts.map +0 -1
  506. package/dist/src/i18n/M.js +0 -4
  507. package/dist/src/i18n/M.js.map +0 -1
  508. package/dist/src/i18n/O_E.d.ts +0 -3
  509. package/dist/src/i18n/O_E.d.ts.map +0 -1
  510. package/dist/src/i18n/O_E.js +0 -7
  511. package/dist/src/i18n/O_E.js.map +0 -1
  512. package/dist/src/i18n/PA.d.ts +0 -3
  513. package/dist/src/i18n/PA.d.ts.map +0 -1
  514. package/dist/src/i18n/PA.js +0 -16
  515. package/dist/src/i18n/PA.js.map +0 -1
  516. package/dist/src/i18n/SA.d.ts +0 -3
  517. package/dist/src/i18n/SA.d.ts.map +0 -1
  518. package/dist/src/i18n/SA.js +0 -16
  519. package/dist/src/i18n/SA.js.map +0 -1
  520. package/dist/src/i18n/TC.d.ts +0 -3
  521. package/dist/src/i18n/TC.d.ts.map +0 -1
  522. package/dist/src/i18n/TC.js +0 -16
  523. package/dist/src/i18n/TC.js.map +0 -1
  524. package/dist/src/i18n/VA.d.ts +0 -3
  525. package/dist/src/i18n/VA.d.ts.map +0 -1
  526. package/dist/src/i18n/VA.js +0 -16
  527. package/dist/src/i18n/VA.js.map +0 -1
  528. package/dist/src/i18n/Z.d.ts +0 -3
  529. package/dist/src/i18n/Z.d.ts.map +0 -1
  530. package/dist/src/i18n/Z.js +0 -22
  531. package/dist/src/i18n/Z.js.map +0 -1
  532. package/dist/src/i18n/fi-FI.d.ts +0 -192
  533. package/dist/src/i18n/fi-FI.d.ts.map +0 -1
  534. package/dist/src/i18n/fi-FI.js +0 -182
  535. package/dist/src/i18n/fi-FI.js.map +0 -1
  536. package/dist/src/i18n/index.d.ts +0 -20
  537. package/dist/src/i18n/index.d.ts.map +0 -1
  538. package/dist/src/i18n/index.js +0 -128
  539. package/dist/src/i18n/index.js.map +0 -1
  540. package/dist/src/i18n/sv-FI.d.ts +0 -3
  541. package/dist/src/i18n/sv-FI.d.ts.map +0 -1
  542. package/dist/src/i18n/sv-FI.js +0 -181
  543. package/dist/src/i18n/sv-FI.js.map +0 -1
  544. package/dist/src/ids.d.ts +0 -14
  545. package/dist/src/ids.d.ts.map +0 -1
  546. package/dist/src/ids.js +0 -28
  547. package/dist/src/ids.js.map +0 -1
  548. package/dist/src/index.d.ts +0 -19
  549. package/dist/src/index.d.ts.map +0 -1
  550. package/dist/src/index.js +0 -12
  551. package/dist/src/index.js.map +0 -1
  552. package/dist/src/parser/parseExam.d.ts +0 -2
  553. package/dist/src/parser/parseExam.d.ts.map +0 -1
  554. package/dist/src/parser/parseExam.js +0 -54
  555. package/dist/src/parser/parseExam.js.map +0 -1
  556. package/dist/src/parser/parseExamStructure.d.ts +0 -58
  557. package/dist/src/parser/parseExamStructure.d.ts.map +0 -1
  558. package/dist/src/parser/parseExamStructure.js +0 -40
  559. package/dist/src/parser/parseExamStructure.js.map +0 -1
  560. package/dist/src/renderAnnotations.d.ts +0 -7
  561. package/dist/src/renderAnnotations.d.ts.map +0 -1
  562. package/dist/src/renderAnnotations.js +0 -193
  563. package/dist/src/renderAnnotations.js.map +0 -1
  564. package/dist/src/scrollToHash.d.ts +0 -2
  565. package/dist/src/scrollToHash.d.ts.map +0 -1
  566. package/dist/src/scrollToHash.js +0 -24
  567. package/dist/src/scrollToHash.js.map +0 -1
  568. package/dist/src/shortDisplayNumber.d.ts +0 -2
  569. package/dist/src/shortDisplayNumber.d.ts.map +0 -1
  570. package/dist/src/shortDisplayNumber.js +0 -5
  571. package/dist/src/shortDisplayNumber.js.map +0 -1
  572. package/dist/src/store/answers/actions.d.ts +0 -33
  573. package/dist/src/store/answers/actions.d.ts.map +0 -1
  574. package/dist/src/store/answers/actions.js +0 -9
  575. package/dist/src/store/answers/actions.js.map +0 -1
  576. package/dist/src/store/answers/reducer.d.ts +0 -39
  577. package/dist/src/store/answers/reducer.d.ts.map +0 -1
  578. package/dist/src/store/answers/reducer.js +0 -55
  579. package/dist/src/store/answers/reducer.js.map +0 -1
  580. package/dist/src/store/answers/sagas.d.ts +0 -8
  581. package/dist/src/store/answers/sagas.d.ts.map +0 -1
  582. package/dist/src/store/answers/sagas.js +0 -60
  583. package/dist/src/store/answers/sagas.js.map +0 -1
  584. package/dist/src/store/audio/actions.d.ts +0 -29
  585. package/dist/src/store/audio/actions.d.ts.map +0 -1
  586. package/dist/src/store/audio/actions.js +0 -9
  587. package/dist/src/store/audio/actions.js.map +0 -1
  588. package/dist/src/store/audio/reducer.d.ts +0 -27
  589. package/dist/src/store/audio/reducer.d.ts.map +0 -1
  590. package/dist/src/store/audio/reducer.js +0 -55
  591. package/dist/src/store/audio/reducer.js.map +0 -1
  592. package/dist/src/store/audio/sagas.d.ts +0 -3
  593. package/dist/src/store/audio/sagas.d.ts.map +0 -1
  594. package/dist/src/store/audio/sagas.js +0 -68
  595. package/dist/src/store/audio/sagas.js.map +0 -1
  596. package/dist/src/store/cas/actions.d.ts +0 -19
  597. package/dist/src/store/cas/actions.d.ts.map +0 -1
  598. package/dist/src/store/cas/actions.js +0 -9
  599. package/dist/src/store/cas/actions.js.map +0 -1
  600. package/dist/src/store/cas/reducer.d.ts +0 -14
  601. package/dist/src/store/cas/reducer.d.ts.map +0 -1
  602. package/dist/src/store/cas/reducer.js +0 -24
  603. package/dist/src/store/cas/reducer.js.map +0 -1
  604. package/dist/src/store/cas/sagas.d.ts +0 -18
  605. package/dist/src/store/cas/sagas.d.ts.map +0 -1
  606. package/dist/src/store/cas/sagas.js +0 -36
  607. package/dist/src/store/cas/sagas.js.map +0 -1
  608. package/dist/src/store/countdown.d.ts +0 -4
  609. package/dist/src/store/countdown.d.ts.map +0 -1
  610. package/dist/src/store/countdown.js +0 -33
  611. package/dist/src/store/countdown.js.map +0 -1
  612. package/dist/src/store/index.d.ts +0 -78
  613. package/dist/src/store/index.d.ts.map +0 -1
  614. package/dist/src/store/index.js +0 -53
  615. package/dist/src/store/index.js.map +0 -1
  616. package/dist/src/store/selectors.d.ts +0 -9
  617. package/dist/src/store/selectors.d.ts.map +0 -1
  618. package/dist/src/store/selectors.js +0 -35
  619. package/dist/src/store/selectors.js.map +0 -1
  620. package/dist/src/types/ExamAnswer.d.ts +0 -22
  621. package/dist/src/types/ExamAnswer.d.ts.map +0 -1
  622. package/dist/src/types/ExamAnswer.js +0 -2
  623. package/dist/src/types/ExamAnswer.js.map +0 -1
  624. package/dist/src/types/ExamServerAPI.d.ts +0 -78
  625. package/dist/src/types/ExamServerAPI.d.ts.map +0 -1
  626. package/dist/src/types/ExamServerAPI.js +0 -2
  627. package/dist/src/types/ExamServerAPI.js.map +0 -1
  628. package/dist/src/types/GradingStructure.d.ts +0 -40
  629. package/dist/src/types/GradingStructure.d.ts.map +0 -1
  630. package/dist/src/types/GradingStructure.js +0 -2
  631. package/dist/src/types/GradingStructure.js.map +0 -1
  632. package/dist/src/types/Score.d.ts +0 -92
  633. package/dist/src/types/Score.d.ts.map +0 -1
  634. package/dist/src/types/Score.js +0 -2
  635. package/dist/src/types/Score.js.map +0 -1
  636. package/dist/src/url.d.ts +0 -7
  637. package/dist/src/url.d.ts.map +0 -1
  638. package/dist/src/url.js +0 -12
  639. package/dist/src/url.js.map +0 -1
  640. package/dist/src/useCached.d.ts +0 -3
  641. package/dist/src/useCached.d.ts.map +0 -1
  642. package/dist/src/useCached.js +0 -6
  643. package/dist/src/useCached.js.map +0 -1
  644. package/dist/src/utils.d.ts +0 -15
  645. package/dist/src/utils.d.ts.map +0 -1
  646. package/dist/src/utils.js +0 -35
  647. package/dist/src/utils.js.map +0 -1
  648. package/dist/src/validateAnswers.d.ts +0 -16
  649. package/dist/src/validateAnswers.d.ts.map +0 -1
  650. package/dist/src/validateAnswers.js +0 -89
  651. package/dist/src/validateAnswers.js.map +0 -1
  652. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see main-bundle.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define?define(["react","react-dom"],t):"object"==typeof exports?exports.ExamBundle=t(require("react"),require("react-dom")):e.ExamBundle=t(e.React,e.ReactDOM)}(this,((e,t)=>(()=>{var n,r,i={5968:(e,t,n)=>{!function(){var t=n(4651),r="mathquill-command-id",i="mathquill-block-id",o=Math.min,a=Math.max;if(!t)throw"MathQuill requires jQuery 1.5.2+ to be loaded first";function s(){}var l=[].slice;function c(e){var t=e.length-1;return function(){var n=l.call(arguments,0,t),r=l.call(arguments,t);return e.apply(this,n.concat([r]))}}var u=c((function(e,t){return c((function(n,r){if(e in n)return n[e].apply(n,t.concat(r))}))}));function d(e){return c((function(t,n){return"function"!=typeof t&&(t=u(t)),e.call(this,(function(e){return t.apply(e,[e].concat(n))}))}))}function f(e){var t=l.call(arguments,1);return function(){return e.apply(this,t)}}function p(e,t){if(!t)throw new Error("prayer failed: "+e)}var h=function(e,t,n){function r(e){return"object"==typeof e}function i(e){return"function"==typeof e}function o(){}return function n(a,s){function l(){var e=new c;return i(e.init)&&e.init.apply(e,arguments),e}function c(){}void 0===s&&(s=a,a=Object),l.Bare=c;var u,d=o[e]=a[e],f=c[e]=l[e]=l.p=new o;return f.constructor=l,l.extend=function(e){return n(l,e)},(l.open=function(e){if(u={},i(e)?u=e.call(l,f,d,l,a):r(e)&&(u=e),r(u))for(var n in u)t.call(u,n)&&(f[n]=u[n]);return i(f.init)||(f.init=a),l})(s)}}("prototype",{}.hasOwnProperty),g=-1;function m(e){p("a direction was passed",e===g||1===e)}var y=h(t,(function(e){e.insDirOf=function(e,t){return e===g?this.insertBefore(t.first()):this.insertAfter(t.last())},e.insAtDirEnd=function(e,t){return e===g?this.prependTo(t):this.appendTo(t)}})),v=h((function(e){e.parent=0,e[g]=0,e[1]=0,e.init=function(e,t,n){this.parent=e,this[g]=t,this[1]=n},this.copy=function(e){return v(e.parent,e[g],e[1])}})),b=h((function(e){e[g]=0,e[1]=0,e.parent=0;var t=0;this.byId={},e.init=function(){this.id=t+=1,b.byId[this.id]=this,this.ends={},this.ends[g]=0,this.ends[1]=0},e.dispose=function(){delete b.byId[this.id]},e.toString=function(){return"{{ MathQuill Node #"+this.id+" }}"},e.jQ=y(),e.jQadd=function(e){return this.jQ=this.jQ.add(e)},e.jQize=function(e){function t(e){if(e.getAttribute){var n=e.getAttribute("mathquill-command-id"),r=e.getAttribute("mathquill-block-id");n&&b.byId[n].jQadd(e),r&&b.byId[r].jQadd(e)}for(e=e.firstChild;e;e=e.nextSibling)t(e)}e=y(e||this.html());for(var n=0;n<e.length;n+=1)t(e[n]);return e},e.createDir=function(e,t){m(e);var n=this;return n.jQize(),n.jQ.insDirOf(e,t.jQ),t[e]=n.adopt(t.parent,t[g],t[1]),n},e.createLeftOf=function(e){return this.createDir(g,e)},e.selectChildren=function(e,t){return A(e,t)},e.bubble=d((function(e){for(var t=this;t&&!1!==e(t);t=t.parent);return this})),e.postOrder=d((function(e){return function t(n){n.eachChild(t),e(n)}(this),this})),e.isEmpty=function(){return 0===this.ends[g]&&0===this.ends[1]},e.isStyleBlock=function(){return!1},e.children=function(){return x(this.ends[g],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 x(this,this).withDirAdopt(e,t,n,r),this},e.adopt=function(e,t,n){return x(this,this).adopt(e,t,n),this},e.disown=function(){return x(this,this).disown(),this},e.remove=function(){return this.jQ.remove(),this.postOrder("dispose"),this.disown()}}));function I(e,t,n){p("a parent is always present",e),p("leftward is properly set up",t?t[1]===n&&t.parent===e:e.ends[g]===n),p("rightward is properly set up",n?n[g]===t&&n.parent===e:e.ends[1]===t)}var x=h((function(e){e.init=function(e,t,n){if(void 0===n&&(n=g),m(n),p("no half-empty fragments",!e==!t),this.ends={},e){p("withDir is passed to Fragment",e instanceof b),p("oppDir is passed to Fragment",t instanceof b),p("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=y(),e.withDirAdopt=function(e,t,n,r){return e===g?this.adopt(t,n,r):this.adopt(t,r,n)},e.adopt=function(e,t,n){I(e,t,n);var r=this;r.disowned=!1;var i=r.ends[g];if(!i)return this;var o=r.ends[1];return t||(e.ends[g]=i),n?n[g]=o:e.ends[1]=o,r.ends[1][1]=n,r.each((function(n){n[g]=t,n.parent=e,t&&(t[1]=n),t=n})),r},e.disown=function(){var e=this,t=e.ends[g];if(!t||e.disowned)return e;e.disowned=!0;var n=e.ends[1],r=t.parent;return I(r,t[g],t),I(r,n,n[1]),t[g]?t[g][1]=n[1]:r.ends[g]=n[1],n[1]?n[1][g]=t[g]:r.ends[1]=t[g],e},e.remove=function(){return this.jQ.remove(),this.each("postOrder","dispose"),this.disown()},e.each=d((function(e){var t=this,n=t.ends[g];if(!n)return t;for(;n!==t.ends[1][1]&&!1!==e(n);n=n[1]);return t})),e.fold=function(e,t){return this.each((function(n){e=t.call(this,e,n)})),e}})),w={},T={},M=h(v,(function(e){e.init=function(e,t){this.parent=e,this.options=t;var n=this.jQ=this._jQ=y('<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[g][g]===this[g]?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=y(),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 m(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(g,e)},e.insRightOf=function(e){return this.insDirOf(1,e)},e.insAtDirEnd=function(e,t){return m(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(g,e)},e.insAtRightEnd=function(e){return this.insAtDirEnd(1,e)},e.jumpUpDown=function(e,t){var n=this;n.upDownCache[e.id]=v.copy(n);var r=n.upDownCache[t.id];if(r)r[1]?n.insLeftOf(r[1]):n.insAtRightEnd(r.parent);else{var i=n.offset().left;t.seek(i,n)}},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[g];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[g])this[1]=this[g][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[g]}this[1]?this.insLeftOf(this[1]):this.insAtRightEnd(t),e.jQ.remove(),e[g].siblingDeleted&&e[g].siblingDeleted(this.options,1),e[1].siblingDeleted&&e[1].siblingDeleted(this.options,g)},e.startSelection=function(){for(var e=this.anticursor=v.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[g]===e[g]&&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}p("cursor and anticursor in the same tree",n);var r,i,o=e.ancestors[n.id],a=1;if(t[g]!==o)for(var s=t;s;s=s[1])if(s[1]===o[1]){a=g,r=t,i=o;break}return 1===a&&(r=o,i=t),r instanceof v&&(r=r[1]),i instanceof v&&(i=i[g]),this.hide().selection=n.selectChildren(r,i),this.insDirOf(a,this.selection.ends[a]),this.selectionChanged(),!0},e.clearSelection=function(){return this.selection&&(this.selection.clear(),delete this.selection,this.selectionChanged()),this},e.deleteSelection=function(){this.selection&&(this[g]=this.selection.ends[g][g],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[g]=e.ends[g][g],this[1]=e.ends[1][1],delete this.selection),e},e.depth=function(){for(var e=this,t=0;e=e.parent;)t+=e instanceof W?1:0;return t},e.isTooDeep=function(e){if(void 0!==this.options.maxDepth)return this.depth()+(e||0)>this.options.maxDepth}})),A=h(x,(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]()}))}})),E=h((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=M(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===g||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={},N=h(),S={},k=h(),j={};function D(){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 L(e){return D(),He(e)}L.prototype=k.p,L.VERSION="v0.10.11",L.interfaceVersion=function(e){if(1!==e)throw"Only interface version 1 supported. You specified: "+e;return(D=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')})(),L},L.getInterface=P;var O=P.MIN=1,R=P.MAX=2;function P(e){if(!(O<=e&&e<=R))throw"Only interface versions between "+O+" and "+R+" supported. You specified: "+e;function n(e){if(!e||!e.nodeType)return null;var t=y(e).children(".mq-root-block").attr(i),n=t&&b.byId[t].controller;return n?r[n.KIND_OF_MQ](n):null}var r={};function o(e,t){for(var n in t&&t.handlers&&(t.handlers={fns:t.handlers,APIClasses:r}),t)if(t.hasOwnProperty(n)){var i=t[n],o=S[n];e[n]=o?o(i):i}}n.L=g,n.R=1,n.saneKeyboardEvents=F,n.config=function(e){return o(N.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";j[e]=t};var a=r.AbstractMathQuill=h(k,(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,r=t.container;t.createTextarea();var o=r.addClass(e).contents().detach();n.jQ=y('<span class="mq-root-block"/>').attr(i,n.id).appendTo(r),this.latex(o.text()),this.revert=function(){return r.empty().unbind(".mathquill").removeClass("mq-editable-field mq-math-mode mq-text-mode").append(o)}},e.config=function(e){return o(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=a.prototype,r.EditableField=h(a,(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[g]=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)&&!n.isTooDeep()){e=e.slice(1);var r=w[e]||Be[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[g];)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(g)},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:s});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-y(window).scrollLeft(),i=t-y(window).scrollTop(),o=document.elementFromPoint(r,i);this.__controller.seek(y(o),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,o=i.root;return t.contains(o.jQ[0],r)||(r=o.jQ[0]),i.seek(y(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=r.EditableField.prototype,C)!function(t,i){var o=r[t]=i(r);n[t]=function(r,i){var a=n(r);if(a instanceof o||!r||!r.nodeType)return a;var s=E(o.RootBlock(),y(r),N());return s.KIND_OF_MQ=t,o(s).__mathquillify(i,e)},n[t].prototype=o.prototype}(l,C[l]);return n}L.noConflict=function(){return window.MathQuill=z,L};var z=window.MathQuill;function U(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=L;var _,B=h((function(e,t,n){function r(e,t){throw"Parse Error: "+t+" at "+(e?"'"+e+"'":"EOF")}e.init=function(e){this._=e},e.parse=function(e){return this.skip(a)._(""+e,(function(e,t){return t}),r)},e.or=function(e){p("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,o){return t._(r,(function(t,r){var a=e instanceof n?e:e(r);return p("a parser is returned",a instanceof n),a._(t,i,o)}),o)}))},e.many=function(){var e=this;return n((function(t,n,r){for(var i=[];e._(t,o,a););return n(t,i);function o(e,n){return t=e,i.push(n),!0}function a(){return!1}}))},e.times=function(e,t){arguments.length<2&&(t=e);var r=this;return n((function(n,i,o){for(var a,s=[],l=!0,c=0;c<e;c+=1)if(!(l=r._(n,u,d)))return o(n,a);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 a=t,n=e,!1}function f(e,t){return!1}}))},e.result=function(e){return this.then(o(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 o(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,o){var a=n.slice(0,t);return a===e?i(n.slice(t),a):o(n,r)}))};var i=this.regex=function(e){p("regexp parser is anchored","^"===e.toString().charAt(1));var t="expected "+e;return n((function(n,r,i){var o=e.exec(n);if(o){var a=o[0];return r(n.slice(a.length),a)}return i(n,t)}))},o=n.succeed=function(e){return n((function(t,n){return n(t,e)}))},a=(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,o=null,a=t(e),l=t(n.container||a),c=s;function u(e){c=e,clearTimeout(r),r=setTimeout(e)}function d(e){u((function(t){c=s,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=a[0]))||e.selectionStart===e.selectionEnd){var e,t=a.val();1===t.length?(a.val(""),n.typedText(t)):t&&a[0].select&&a[0].select()}}function g(){var e=a.val();a.val(""),e&&n.paste(e)}return l.bind({keydown:function(e){e.target===a[0]&&(i=e,o=null,f&&d((function(e){e&&"focusout"===e.type||!a[0].select||a[0].select()})),p())},keypress:function(e){e.target===a[0]&&(i&&o&&p(),o=e,u(h))},keyup:function(e){e.target===a[0]&&i&&!o&&u(h)},focusout:function(){i=o=null},cut:function(){d((function(){n.cut()}))},copy:function(){d((function(){n.copy()}))},paste:function(e){e.target===a[0]&&(document.activeElement!==a[0]&&a.focus(),u(g))}}),{select:function(e){c(),c=s,clearTimeout(r),a.val(e),e&&a[0].select&&a[0].select(),f=!!e}}});E.open((function(e,t){e.exportText=function(){return this.root.foldChildren("",(function(e,t){return e+t.text()}))}})),E.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"),o()}function o(){r.hide().parent.blur(),t.container.removeClass("mq-focused"),y(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(),o()})),y(window).bind("blur",i)})),t.blurred=!0,r.hide().parent.blur()},e.unbindFocusBlurEvents=function(){this.textarea.unbind("focus blur")}})),E.open((function(e){e.keystroke=function(e,t){this.cursor.parent.keystroke(e,t,this)}})),b.open((function(e){e.keystroke=function(e,t,n){var r=n.cursor;switch(e){case"Ctrl-Shift-Backspace":case"Ctrl-Backspace":n.ctrlDeleteDir(g);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(g,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[g];)n.selectLeft();break;case"Ctrl-Shift-Home":for(;r[g]||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[g])for(;r[g];)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[g];)n.selectLeft();break;default:return}t.preventDefault(),n.scrollHoriz()},e.moveOutOf=e.moveTowards=e.deleteOutOf=e.deleteTowards=e.unselectInto=e.selectOutOf=e.selectTowards=function(){p("overridden or never called on this node")}})),E.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[g][r]?n.insAtRightEnd(n[g][r]):n.parent.bubble((function(e){var t=e[i];if(t&&("function"==typeof t&&(t=e[i](n)),t instanceof b&&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){m(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")},S.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){m(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(g)},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){m(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[g].siblingDeleted&&t[g].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,g),t.parent.bubble("reflow"),this},e.ctrlDeleteDir=function(e){m(e);var t=this.cursor;return!t[e]||t.selection?this.deleteDir(e):(this.notify("edit"),e===g?x(t.parent.ends[g],t[g]).remove():x(t[1],t.parent.ends[1]).remove(),t.insAtDirEnd(e,t.parent),t[g].siblingDeleted&&t[g].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,g),t.parent.bubble("reflow"),this)},e.backspace=function(){return this.deleteDir(g)},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;m(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(g)},e.selectRight=function(){return this.selectDir(1)}}));var G=function(){function e(e){for(var t=e[0]||W(),n=1;n<e.length;n+=1)e[n].children().adopt(t,t.ends[1],0);return t}var t=B.string,n=B.regex,r=B.letter,i=B.any,o=B.optWhitespace,a=B.succeed,s=B.fail,l=r.map((function(e){return re(e)})),c=n(/^[^${}\\_^]/).map((function(e){return V(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=w[e];return t?t(e).parser():s("unknown command: \\"+e)})).or(l).or(c),d=t("{").then((function(){return p})).skip(t("}")),f=o.then(d.or(u.map((function(e){var t=W();return e.adopt(t,0,0),t})))),p=f.many().map(e).skip(o),h=t("[").then(f.then((function(e){return"]"!==e.join("latex")?a(e):s()})).many().map(e).skip(o)).skip(t("]")),g=p;return g.block=f,g.optBlock=h,g}();E.open((function(e,t){e.exportLatex=function(){return this.root.latex().replace(/(\\[a-z]+) (?![a-z])/gi,"$1")},S.maxDepth=function(e){return"number"==typeof e?e:void 0},e.writeLatex=function(e){var t=this.notify("edit").cursor;return t.parent.writeLatex(t,e),this},e.renderLatexMath=function(e){var t=this.root,n=this.cursor,r=(n.options,t.jQ),i=B.all,o=B.eof,a=G.skip(o).or(i.result(!1)).parse(e);if(t.eachChild("postOrder","dispose"),t.ends[g]=t.ends[1]=0,a&&a.prepareInsertionAt(n)){a.children().adopt(t,0,0);var s=a.join("html");r.html(s),t.jQize(r.children()),t.finalizeInsert(n.options)}else r.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[g]=t.ends[1]=0,delete n.selection,n.show().insAtRightEnd(t);var r=B.regex,i=B.string,o=B.eof,a=B.all,s=i("$").then(G).skip(i("$").or(o)).map((function(e){var t=K(n);t.createBlocks();var r=t.ends[g];return e.children().adopt(r,0,0),t})),l=i("\\$").result("$").or(r(/^[^$]/)).map(V),c=s.or(l).many().skip(o).or(a.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)}}})),E.open((function(e){N.p.ignoreNextMousedown=s,e.delegateMouseEvents=function(){var e=this.root.jQ;this.container.bind("mousedown.mathquill",(function(t){var n,r=y(t.target).closest(".mq-root-block"),o=b.byId[r.attr(i)||e.attr(i)].controller,a=o.cursor,l=a.blink,c=o.textareaSpan,u=o.textarea;function d(e){n=y(e.target)}function f(e){a.anticursor||a.startSelection(),o.seek(n,e.pageX,e.pageY).cursor.select(),n=void 0}t.preventDefault(),t.target.unselectable=!0,a.options.ignoreNextMousedown(t)||(a.options.ignoreNextMousedown=s,o.blurred&&(o.editable||r.prepend(c),u.focus()),a.blink=s,o.seek(y(t.target),t.pageX,t.pageY).cursor.startSelection(),r.mousemove(d),y(t.target.ownerDocument).mousemove(f).mouseup((function e(t){a.blink=l,a.selection||(o.editable?a.show():c.detach()),r.unbind("mousemove",d),y(t.target.ownerDocument).unbind("mousemove",f).unbind("mouseup",e)})))}))}})),E.open((function(e){e.seek=function(e,t,n){var o=this.notify("select").cursor;if(e){var a=e.attr(i)||e.attr(r);if(!a){var s=e.parent();a=s.attr(i)||s.attr(r)}}var l=a?b.byId[a]:this.root;return p("nodeId is the id of some Node that exists",l),o.clearSelection().show(),l.seek(t,o),this.scrollHoriz(),this}})),E.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 o=this.root.jQ[0].getBoundingClientRect();if(t){var a=t.jQ[0].getBoundingClientRect(),s=a.left-(o.left+20),l=a.right-(o.right-20);if(t.ends[g]===e[1])if(s<0)u=s;else{if(!(l>0))return;u=a.left-l<o.left+20?s:l}else if(l>0)u=l;else{if(!(s<0))return;u=a.right-s>o.right-20?l:s}}else{var c=e.jQ[0].getBoundingClientRect().left;if(c>o.right-20)var u=c-(o.right-20);else{if(!(c<o.left+20))return;u=c-(o.left+20)}}this.root.jQ.stop().animate({scrollLeft:"+="+u},100)}})),E.open((function(e){N.p.substituteTextarea=function(){return y("<textarea autocapitalize=off autocomplete=off autocorrect=off spellcheck=false x-palm-disable-ste-all=true />")[0]},e.createTextarea=function(){var e=this.textareaSpan=y('<span class="mq-textarea"></span>'),t=this.options.substituteTextarea();if(!t.nodeType)throw"substituteTextarea() must return a DOM element, got "+t;t=this.textarea=y(t).appendTo(e);var n=this;n.cursor.selectionChanged=function(){n.selectionChanged()}},e.selectionChanged=function(){var e=this;ve(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 o(){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(o)})),e.selectFn=function(e){r.val(e),e&&r.select()}},N.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.unbindEditablesEvents=function(){var e=this,t=e.textarea,n=e.textareaSpan;this.selectFn=function(e){t.val(e),e&&t.select()},n.remove(),this.unbindFocusBlurEvents(),e.blurred=!0,t.bind("cut paste",!1)},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 Z=h(b,(function(e,t){e.finalizeInsert=function(e,t){var n=this;n.postOrder("finalizeTree",e),n.postOrder("contactWeld",t),n.postOrder("blur"),n.postOrder("reflow"),n[1].siblingCreated&&n[1].siblingCreated(e,g),n[g].siblingCreated&&n[g].siblingCreated(e,1),n.bubble("reflow")},e.prepareInsertionAt=function(e){var t=e.options.maxDepth;if(void 0!==t){var n=e.depth();if(n>t)return!1;this.removeNodesDeeperThan(t-n)}return!0},e.removeNodesDeeperThan=function(e){for(var t,n=0,r=[[this,n]];r.length;)(t=r.shift())[0].children().each((function(i){var o=i instanceof W?1:0;(n=t[1]+o)<=e?r.push([i,n]):(o?i.children():i).remove()}))}})),H=h(Z,(function(e,t){e.init=function(e,n,r){var i=this;t.init.call(i),i.ctrlSeq||(i.ctrlSeq=e),n&&(i.htmlTemplate=n),r&&(i.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=G.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,r=n.replacedFragment;n.createBlocks(),t.createLeftOf.call(n,e),r&&(r.adopt(n.ends[g],0,0),r.jQ.appendTo(n.ends[g].jQ),n.placeCursor(e),n.prepareInsertionAt(e)),n.finalizeInsert(e.options),n.placeCursor(e)},e.createBlocks=function(){for(var e=this,t=e.numBlocks(),n=e.blocks=Array(t),r=0;r<t;r+=1)(n[r]=W()).adopt(e,e.ends[1],0)},e.placeCursor=function(e){e.insAtRightEnd(this.foldChildren(this.ends[g],(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 A(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[g]=e.jQ.offset().left,t[1]=t[g]+e.jQ.outerWidth(),t}var r=this,i=n(r);if(e<i[g])return t.insLeftOf(r);if(e>i[1])return t.insRightOf(r);var o=i[g];r.eachChild((function(a){var s=n(a);return e<s[g]?(e-o<s[g]-e?a[g]?t.insAtRightEnd(a[g]):t.insLeftOf(r):t.insAtLeftEnd(a),!1):e>s[1]?void(a[1]?o=s[1]:i[1]-e<e-s[1]?t.insRightOf(r):t.insAtRightEnd(a)):(a.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,t=e.blocks,n=" mathquill-command-id="+e.id,r=e.htmlTemplate.match(/<[^<>]+>|[^<>]+/g);p("no unmatched angle brackets",r.join("")===this.htmlTemplate);for(var i=0,o=r[0];o;o=r[i+=1])if("/>"===o.slice(-2))r[i]=o.slice(0,-2)+n+"/>";else if("<"===o.charAt(0)){p("not an unmatched top-level close tag","/"!==o.charAt(1)),r[i]=o.slice(0,-1)+n+">";var a=1;do{p("no missing close tags",o=r[i+=1]),"</"===o.slice(0,2)?a-=1:"<"===o.charAt(0)&&"/>"!==o.slice(-2)&&(a+=1)}while(a>0)}return r.join("").replace(/>&(\d+)/g,(function(e,n){return" mathquill-block-id="+t[n].id+">"+t[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+i+(e.textTemplate[t]||"")}))}})),q=h(H,(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 B.succeed(this)},e.numBlocks=function(){return 0},e.replaces=function(e){e.remove()},e.createBlocks=s,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=s,e.isEmpty=function(){return!0}})),V=h(q,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span>"+(n||e)+"</span>")}})),Y=h(q,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,'<span class="mq-binary-operator">'+n+"</span>",r)}})),W=h(Z,(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[g]===this.ends[1]&&0!==this.ends[g]?this.ends[g].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?g:1,e,n))},e.moveOutOf=function(e,t,n){n&&this.parent[n+"Into"]||!this[e]?t.insDirOf(e,this.parent):t.insAtDirEnd(-e,this[e])},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[g].jQ.offset().left)return t.insAtLeftEnd(this);for(;e<n.jQ.offset().left;)n=n[g];return n.seek(e,t)},e.chToCmd=function(e,t){var n;return e.match(/^[a-eg-zA-Z]$/)?re(e):/^\d$/.test(e)?te(e):t&&t.typingSlashWritesDivisionSymbol&&"/"===e?w["÷"](e):t&&t.typingAsteriskWritesTimesSymbol&&"*"===e?w["×"](e):(n=T[e]||w[e])?n(e):V(e)},e.write=function(e,t){var n=this.chToCmd(t,e.options);e.selection&&n.replaces(e.replaceSelection()),e.isTooDeep()||n.createLeftOf(e.show())},e.writeLatex=function(e,t){var n=B.all,r=B.eof,i=G.skip(r).or(n.result(!1)).parse(t);i&&!i.isEmpty()&&i.prepareInsertionAt(e)&&(i.children().adopt(e.parent,e[g],e[1]),i.jQize().insertBefore(e.jQ),e[g]=i.ends[1],i.finalizeInsert(e.options,e),i.ends[1][1].siblingCreated&&i.ends[1][1].siblingCreated(e.options,g),i.ends[g][g].siblingCreated&&i.ends[g][g].siblingCreated(e.options,1),e.parent.bubble("reflow"))},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}}));N.p.mouseEvents=!0,C.StaticMath=function(e){return h(e.AbstractMathQuill,(function(t,n){this.RootBlock=W,t.__mathquillify=function(e,t){return this.config(e),n.__mathquillify.call(this,"mq-math-mode"),this.__options.mouseEvents&&(this.__controller.delegateMouseEvents(),this.__controller.staticMathTextareaEvents()),this},t.init=function(){n.init.apply(this,arguments),this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.InnerMathField)},t.latex=function(){var t=n.latex.apply(this,arguments);return arguments.length>0&&this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.InnerMathField),t}}))};var Q=h(W,U);C.MathField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=Q,e.__mathquillify=function(e,n){return this.config(e),n>1&&(this.__controller.root.reflow=s),t.__mathquillify.call(this,"mq-editable-field mq-math-mode"),delete this.__controller.root.reflow,this}}))},C.InnerMathField=function(e){return h(e.MathField,(function(e,t){e.makeStatic=function(){this.__controller.editable=!1,this.__controller.root.blur(),this.__controller.unbindEditablesEvents(),this.__controller.container.removeClass("mq-editable-field")},e.makeEditable=function(){this.__controller.editable=!0,this.__controller.editablesTextareaEvents(),this.__controller.cursor.insAtRightEnd(this.__controller.root),this.__controller.container.addClass("mq-editable-field")}}))};var J=h(b,(function(e,t){function n(e){e.jQ[0].normalize();var t=e.jQ[0].firstChild;if(t){p("only node in TextBlock span is Text node",3===t.nodeType);var n=X(t.data);return n.jQadd(t),e.children().disown(),n.adopt(e,0,0)}}e.ctrlSeq="\\text",e.replaces=function(e){e instanceof x?this.replacedText=e.remove().jQ.text():"string"==typeof e&&(this.replacedText=e)},e.jQadd=function(e){t.jQadd.call(this,e),this.ends[g]&&this.ends[g].jQadd(this.jQ[0].firstChild)},e.createLeftOf=function(e){var n=this;if(t.createLeftOf.call(this,e),e.insAtRightEnd(n),n.replacedText)for(var r=0;r<n.replacedText.length;r+=1)n.write(e,n.replacedText.charAt(r));n[1].siblingCreated&&n[1].siblingCreated(e.options,g),n[g].siblingCreated&&n[g].siblingCreated(e.options,1),n.bubble("reflow")},e.parser=function(){var e=this,t=B.string,n=B.regex;return B.optWhitespace.then(t("{")).then(n(/^[^}]*/)).skip(t("}")).map((function(t){return 0===t.length?x():(X(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=H.prototype.selectTowards,e.deleteTowards=H.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[g]?e[g].appendText(n):X(n).createLeftOf(e);else if(this.isEmpty())e.insRightOf(this),V("\\$","$").createLeftOf(e);else if(e[1])if(e[g]){var r=J(),i=this.ends[g];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);this.bubble("reflow")},e.writeLatex=function(e,t){e[g]?e[g].appendText(t):X(t).createLeftOf(e),this.bubble("reflow")},e.seek=function(e,t){t.hide();var r=n(this),i=this.jQ.width()/this.text.length,o=Math.round((e-this.jQ.offset().left)/i);o<=0?t.insAtLeftEnd(this):o>=r.text.length?t.insAtRightEnd(this):t.insLeftOf(r.splitRight(o));for(var a=e-t.show().offset().left,s=a&&a<0?g:1,l=s;t[s]&&a*l>0;)t[s].moveTowards(s,t),l=a,a=e-t.offset().left;if(s*a<-s*l&&t[-s].moveTowards(-s,t),t.anticursor){if(t.anticursor.parent===this){var c=t[g]&&t[g].text.length;if(this.anticursorPosition===c)t.anticursor=v.copy(t);else{if(this.anticursorPosition<c){var u=t[g].splitRight(this.anticursorPosition);t[g]=u}else u=t[1].splitRight(this.anticursorPosition-c);t.anticursor=v(this,u[g],u)}}}else this.anticursorPosition=t[g]&&t[g].text.length},e.blur=function(e){W.prototype.blur.call(this),e&&(""===this.textContents()?(this.remove(),e[g]===this?e[g]=this[g]:e[1]===this&&(e[1]=this[1])):n(this))},e.focus=W.prototype.focus})),X=h(b,(function(e,t){function n(e,t){return t.charAt(e===g?0:-1+t.length)}e.init=function(e){t.init.call(this),this.text=e},e.jQadd=function(e){this.dom=e,this.jQ=y(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){m(t),1===t?this.appendText(e):this.prependText(e)},e.splitRight=function(e){var t=X(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){m(e);var r=n(-e,this.text),i=this[-e];return i?i.insTextAtDirEnd(r,e):X(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){m(e);var r=t.anticursor,i=n(-e,this.text);if(r[e]===this){var o=X(i).createDir(e,t);r[e]=o,t.insDirOf(e,o)}else{var a=this[-e];a?a.insTextAtDirEnd(i,e):(o=X(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 $(e,t,n){return h(J,{ctrlSeq:e,htmlTemplate:"<"+t+" "+n+">&0</"+t+">"})}w.text=w.textnormal=w.textrm=w.textup=w.textmd=J,w.em=w.italic=w.italics=w.emph=w.textit=w.textsl=$("\\textit","i",'class="mq-text-mode"'),w.strong=w.bold=w.textbf=$("\\textbf","b",'class="mq-text-mode"'),w.sf=w.textsf=$("\\textsf","span",'class="mq-sans-serif mq-text-mode"'),w.tt=w.texttt=$("\\texttt","span",'class="mq-monospace mq-text-mode"'),w.textsc=$("\\textsc","span",'style="font-variant:small-caps" class="mq-text-mode"'),w.uppercase=$("\\uppercase","span",'style="text-transform:uppercase" class="mq-text-mode"'),w.lowercase=$("\\lowercase","span",'style="text-transform:lowercase" class="mq-text-mode"');var K=h(H,(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[g].cursor=this.cursor,this.ends[g].write=function(e,t){"$"!==t?W.prototype.write.call(this,e,t):this.isEmpty()?(e.insRightOf(this.parent),this.parent.deleteTowards(dir,e),V("\\$","$").createLeftOf(e.show())):e[1]?e[g]?W.prototype.write.call(this,e,t):e.insLeftOf(this.parent):e.insRightOf(this.parent)}},e.latex=function(){return"$"+this.ends[g].latex()+"$"}})),ee=h(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;"),V(t,n).createLeftOf(e))}}));C.TextField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=ee,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 te=h(V,(function(e,t){e.createLeftOf=function(e){e.options.autoSubscriptNumerals&&e.parent!==e.parent.parent.sub&&(e[g]instanceof ne&&!1!==e[g].isItalic||e[g]instanceof Ee&&e[g][g]instanceof ne&&!1!==e[g][g].isItalic)?(w._().createLeftOf(e),t.createLeftOf.call(this,e),e.insRightOf(e.parent.parent)):t.createLeftOf.call(this,e)}})),ne=h(q,(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[g]||this[g]instanceof ne||this[g]instanceof Y||"\\ "===this[g].ctrlSeq||(e="*"+e),!this[1]||this[1]instanceof Y||this[1]instanceof Ee||(e+="*")),e}}));N.p.autoCommands={_maxLength:0},S.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(w[o]===se)throw'"'+o+'" is a built-in operator name';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var re=h(ne,(function(e,t){function n(e){return!e||e instanceof Y||e instanceof Ne}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="",o=this,a=0;o instanceof re&&o.ctrlSeq===o.letter&&a<r;)i=o.letter+i,o=o[g],a+=1;for(;i.length;){if(n.hasOwnProperty(i)){for(a=1,o=this;a<i.length;a+=1,o=o[g]);return x(o,this).remove(),e[g]=o[g],w[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!==g&&this[1]instanceof re||this.autoUnItalicize(e)},e.autoUnItalicize=function(e){var t=e.autoOperatorNames;if(0!==t._maxLength){for(var r=this.letter,i=this[g];i instanceof re;i=i[g])r=i.letter+r;for(var a=this[1];a instanceof re;a=a[1])r+=a.letter;x(i[1]||this.parent.ends[g],a[g]||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=i[1]||this.parent.ends[g];s<r.length;s+=1,l=l[1])for(var c=o(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 h=ie.hasOwnProperty(u);if(l.ctrlSeq=(h?"\\":"\\operatorname{")+l.ctrlSeq,p.ctrlSeq+=h?" ":"}",ae.hasOwnProperty(u)&&p[g][g][g].jQ.addClass("mq-last"),n(l[g])||l.jQ.addClass("mq-first"),!n(p[1]))if(p[1]instanceof Ee){var m=p[1];(m.siblingCreated=m.siblingDeleted=function(){m.jQ.toggleClass("mq-after-operator-name",!(m[1]instanceof Re))})()}else p.jQ.toggleClass("mq-last",!(p[1]instanceof Re));s+=c-1,l=p;continue e}}}}})),ie={},oe=N.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)ie[e[t]]=oe[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)ie[n[t]]=1;var r="sin cos tan sec cosec csc cotan cot ctg".split(" ");for(t=0;t<r.length;t+=1)oe[r[t]]=oe["arc"+r[t]]=oe[r[t]+"h"]=oe["ar"+r[t]+"h"]=oe["arc"+r[t]+"h"]=1;var i="gcf hcf lcm proj span".split(" ");for(t=0;t<i.length;t+=1)oe[i[t]]=1}(),S.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 se=h(q,(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)re(t.charAt(n)).createLeftOf(e)},e.parser=function(){for(var e=this.ctrlSeq,t=W(),n=0;n<e.length;n+=1)re(e.charAt(n)).adopt(t,t.ends[1],0);return B.succeed(t.children())}}));for(var le in oe)oe.hasOwnProperty(le)&&(w[le]=se);w.operatorname=h(H,(function(e){e.createLeftOf=s,e.numBlocks=function(){return 1},e.parser=function(){return G.block.map((function(e){return e.children()}))}})),w.f=h(re,(function(e,t){e.init=function(){q.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)}})),w[" "]=w.space=f(V,"\\ ","&nbsp;"),w[","]=f(V,"{,}",","),w["'"]=w.prime=f(V,"'","&prime;"),w["″"]=w.dprime=f(V,"″","&Prime;"),w.backslash=f(V,"\\backslash ","\\"),T["\\"]||(T["\\"]=w.backslash),w.$=f(V,"\\$","$");var ce=h(q,(function(e,t){e.init=function(e,n){t.init.call(this,e,'<span class="mq-nonSymbola">'+(n||e)+"</span>")}}));w["@"]=ce,w["#"]=f(ce,"\\#","#"),w["&"]=f(ce,"\\&","&amp;"),w["%"]=f(ce,"\\%","%"),w.alpha=w.beta=w.gamma=w.delta=w.zeta=w.eta=w.theta=w.iota=w.kappa=w.mu=w.nu=w.xi=w.rho=w.sigma=w.tau=w.chi=w.psi=w.omega=h(ne,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w.phi=f(ne,"\\phi ","&#981;"),w.phiv=w.varphi=f(ne,"\\varphi ","&phi;"),w.epsilon=f(ne,"\\epsilon ","&#1013;"),w.epsiv=w.varepsilon=f(ne,"\\varepsilon ","&epsilon;"),w.piv=w.varpi=f(ne,"\\varpi ","&piv;"),w.sigmaf=w.sigmav=w.varsigma=f(ne,"\\varsigma ","&sigmaf;"),w.thetav=w.vartheta=w.thetasym=f(ne,"\\vartheta ","&thetasym;"),w.upsilon=w.upsi=f(ne,"\\upsilon ","&upsilon;"),w.gammad=w.Gammad=w.digamma=f(ne,"\\digamma ","&#989;"),w.kappav=w.varkappa=f(ne,"\\varkappa ","&#1008;"),w.rhov=w.varrho=f(ne,"\\varrho ","&#1009;"),w.pi=w["π"]=f(ce,"\\pi ","&pi;"),w.lambda=f(ce,"\\lambda ","&lambda;"),w.Upsilon=w.Upsi=w.upsih=w.Upsih=f(q,"\\Upsilon ",'<var style="font-family: serif">&upsih;</var>'),w.Gamma=w.Delta=w.Theta=w.Lambda=w.Xi=w.Pi=w.Sigma=w.Phi=w.Psi=w.Omega=w.forall=h(V,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}}));var ue=h(H,(function(e){e.init=function(e){this.latex=e},e.createLeftOf=function(e){var t=G.parse(this.latex);t.children().adopt(e.parent,e[g],e[1]),e[g]=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,g),t.ends[g][g].siblingCreated&&t.ends[g][g].siblingCreated(e.options,1),e.parent.bubble("reflow")},e.parser=function(){var e=G.parse(this.latex).children();return B.succeed(e)}}));w["⁰"]=f(ue,"^0"),w["¹"]=f(ue,"^1"),w["²"]=f(ue,"^2"),w["³"]=f(ue,"^3"),w["⁴"]=f(ue,"^4"),w["⁵"]=f(ue,"^5"),w["⁶"]=f(ue,"^6"),w["⁷"]=f(ue,"^7"),w["⁸"]=f(ue,"^8"),w["⁹"]=f(ue,"^9"),w["₀"]=f(ue,"_0"),w["₁"]=f(ue,"_1"),w["₂"]=f(ue,"_2"),w["₃"]=f(ue,"_3"),w["₄"]=f(ue,"_4"),w["₅"]=f(ue,"_5"),w["₆"]=f(ue,"_6"),w["₇"]=f(ue,"_7"),w["₈"]=f(ue,"_8"),w["₉"]=f(ue,"_9"),w["¼"]=f(ue,"\\frac14"),w["½"]=f(ue,"\\frac12"),w["¾"]=f(ue,"\\frac34");var de=h(Y,(function(e){e.init=V.prototype.init,e.contactWeld=e.siblingCreated=e.siblingDeleted=function(e,t){if(1!==t)return this.jQ[0].className=function e(t){return t[g]?t[g]instanceof Y||/^[,;:\(\[]$/.test(t[g].ctrlSeq)?"":"mq-binary-operator":t.parent&&t.parent.parent&&t.parent.parent.isStyleBlock()?e(t.parent.parent):""}(this),this}}));w["+"]=f(de,"+","+"),w["–"]=w["-"]=f(de,"-","&minus;"),w["±"]=w.pm=w.plusmn=w.plusminus=f(de,"\\pm ","&plusmn;"),w.mp=w.mnplus=w.minusplus=f(de,"\\mp ","&#8723;"),T["*"]=w.sdot=w.cdot=f(Y,"\\cdot ","&middot;","*");var fe=h(Y,(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===g&&!this.strict)return this.swap(!0),void this.bubble("reflow");t.deleteTowards.apply(this,arguments)}})),pe={ctrlSeq:"\\le ",html:"&le;",text:"≤",ctrlSeqStrict:"<",htmlStrict:"&lt;",textStrict:"<"},he={ctrlSeq:"\\ge ",html:"&ge;",text:"≥",ctrlSeqStrict:">",htmlStrict:"&gt;",textStrict:">"};w["<"]=w.lt=f(fe,pe,!0),w[">"]=w.gt=f(fe,he,!0),w["≤"]=w.le=w.leq=f(fe,pe,!1),w["≥"]=w.ge=w.geq=f(fe,he,!1);var ge=h(Y,(function(e,t){e.init=function(){t.init.call(this,"=","=")},e.createLeftOf=function(e){if(e[g]instanceof fe&&e[g].strict)return e[g].swap(!1),void e[g].bubble("reflow");t.createLeftOf.apply(this,arguments)}}));w["="]=ge,w["×"]=w.times=f(Y,"\\times ","&times;","[x]"),w["÷"]=w.div=w.divide=w.divides=f(Y,"\\div ","&divide;","[/]"),T["~"]=w.sim=f(Y,"\\sim ","~","~"),w.notin=w.cong=w.equiv=w.oplus=w.otimes=h(Y,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w["≠"]=w.ne=w.neq=f(Y,"\\ne ","&ne;"),w["∗"]=w.ast=w.star=w.loast=w.lowast=f(Y,"\\ast ","&lowast;"),w.therefor=w.therefore=f(Y,"\\therefore ","&there4;"),w.cuz=w.because=f(Y,"\\because ","&#8757;"),w.prop=w.propto=f(Y,"\\propto ","&prop;"),w["≈"]=w.asymp=w.approx=f(Y,"\\approx ","&asymp;"),w["≢"]=w.notequiv=w.nequiv=f(Y,"\\not\\equiv ","&#8802;"),w.isin=w.in=f(Y,"\\in ","&isin;"),w.ni=w.contains=f(Y,"\\ni ","&ni;"),w.notni=w.niton=w.notcontains=w.doesnotcontain=f(Y,"\\not\\ni ","&#8716;"),w.sub=w.subset=f(Y,"\\subset ","&sub;"),w.sup=w.supset=w.superset=f(Y,"\\supset ","&sup;"),w.nsub=w.notsub=w.nsubset=w.notsubset=f(Y,"\\not\\subset ","&#8836;"),w.nsup=w.notsup=w.nsupset=w.notsupset=w.nsuperset=w.notsuperset=f(Y,"\\not\\supset ","&#8837;"),w.sube=w.subeq=w.subsete=w.subseteq=f(Y,"\\subseteq ","&sube;"),w.supe=w.supeq=w.supsete=w.supseteq=w.supersete=w.superseteq=f(Y,"\\supseteq ","&supe;"),w.nsube=w.nsubeq=w.notsube=w.notsubeq=w.nsubsete=w.nsubseteq=w.notsubsete=w.notsubseteq=f(Y,"\\not\\subseteq ","&#8840;"),w.nsupe=w.nsupeq=w.notsupe=w.notsupeq=w.nsupsete=w.nsupseteq=w.notsupsete=w.notsupseteq=w.nsupersete=w.nsuperseteq=w.notsupersete=w.notsuperseteq=f(Y,"\\not\\supseteq ","&#8841;"),w.mathbb=h(H,(function(e){e.createLeftOf=s,e.numBlocks=function(){return 1},e.parser=function(){var e=B.string,t=B.regex,n=B.optWhitespace;return n.then(e("{")).then(n).then(t(/^[NPZQRCH]/)).skip(n).skip(e("}")).map((function(e){return w[e]()}))}})),w.N=w.naturals=w.Naturals=f(V,"\\mathbb{N}","&#8469;"),w.P=w.primes=w.Primes=w.projective=w.Projective=w.probability=w.Probability=f(V,"\\mathbb{P}","&#8473;"),w.Z=w.integers=w.Integers=f(V,"\\mathbb{Z}","&#8484;"),w.Q=w.rationals=w.Rationals=f(V,"\\mathbb{Q}","&#8474;"),w.R=w.reals=w.Reals=f(V,"\\mathbb{R}","&#8477;"),w.C=w.complex=w.Complex=w.complexes=w.Complexes=w.complexplane=w.Complexplane=w.ComplexPlane=f(V,"\\mathbb{C}","&#8450;"),w.H=w.Hamiltonian=w.quaternions=w.Quaternions=f(V,"\\mathbb{H}","&#8461;"),w.quad=w.emsp=f(V,"\\quad "," "),w.qquad=f(V,"\\qquad "," "),w.diamond=f(V,"\\diamond ","&#9671;"),w.bigtriangleup=f(V,"\\bigtriangleup ","&#9651;"),w.ominus=f(V,"\\ominus ","&#8854;"),w.uplus=f(V,"\\uplus ","&#8846;"),w.bigtriangledown=f(V,"\\bigtriangledown ","&#9661;"),w.sqcap=f(V,"\\sqcap ","&#8851;"),w.triangleleft=f(V,"\\triangleleft ","&#8882;"),w.sqcup=f(V,"\\sqcup ","&#8852;"),w.triangleright=f(V,"\\triangleright ","&#8883;"),w.odot=w.circledot=f(V,"\\odot ","&#8857;"),w.bigcirc=f(V,"\\bigcirc ","&#9711;"),w.dagger=f(V,"\\dagger ","&#0134;"),w.ddagger=f(V,"\\ddagger ","&#135;"),w.wr=f(V,"\\wr ","&#8768;"),w.amalg=f(V,"\\amalg ","&#8720;"),w.models=f(V,"\\models ","&#8872;"),w.prec=f(V,"\\prec ","&#8826;"),w.succ=f(V,"\\succ ","&#8827;"),w.preceq=f(V,"\\preceq ","&#8828;"),w.succeq=f(V,"\\succeq ","&#8829;"),w.simeq=f(V,"\\simeq ","&#8771;"),w.mid=f(V,"\\mid ","&#8739;"),w.nmid=f(V,"\\nmid","&#8740;"),w.ll=f(V,"\\ll ","&#8810;"),w.gg=f(V,"\\gg ","&#8811;"),w.parallel=f(V,"\\parallel ","&#8741;"),w.nparallel=f(V,"\\nparallel ","&#8742;"),w.bowtie=f(V,"\\bowtie ","&#8904;"),w.sqsubset=f(V,"\\sqsubset ","&#8847;"),w.sqsupset=f(V,"\\sqsupset ","&#8848;"),w.smile=f(V,"\\smile ","&#8995;"),w.sqsubseteq=f(V,"\\sqsubseteq ","&#8849;"),w.sqsupseteq=f(V,"\\sqsupseteq ","&#8850;"),w.doteq=f(V,"\\doteq ","&#8784;"),w.frown=f(V,"\\frown ","&#8994;"),w.vdash=f(V,"\\vdash ","&#8870;"),w.dashv=f(V,"\\dashv ","&#8867;"),w.nless=f(V,"\\nless ","&#8814;"),w.ngtr=f(V,"\\ngtr ","&#8815;"),w.longleftarrow=f(V,"\\longleftarrow ","&#8592;"),w.longrightarrow=f(V,"\\longrightarrow ","&#8594;"),w.Longleftarrow=f(V,"\\Longleftarrow ","&#8656;"),w.Longrightarrow=f(V,"\\Longrightarrow ","&#8658;"),w.longleftrightarrow=f(V,"\\longleftrightarrow ","&#8596;"),w.updownarrow=f(V,"\\updownarrow ","&#8597;"),w.Longleftrightarrow=f(V,"\\Longleftrightarrow ","&#8660;"),w.Updownarrow=f(V,"\\Updownarrow ","&#8661;"),w.mapsto=f(V,"\\mapsto ","&#8614;"),w.nearrow=f(V,"\\nearrow ","&#8599;"),w.hookleftarrow=f(V,"\\hookleftarrow ","&#8617;"),w.hookrightarrow=f(V,"\\hookrightarrow ","&#8618;"),w.searrow=f(V,"\\searrow ","&#8600;"),w.leftharpoonup=f(V,"\\leftharpoonup ","&#8636;"),w.rightharpoonup=f(V,"\\rightharpoonup ","&#8640;"),w.swarrow=f(V,"\\swarrow ","&#8601;"),w.leftharpoondown=f(V,"\\leftharpoondown ","&#8637;"),w.rightharpoondown=f(V,"\\rightharpoondown ","&#8641;"),w.nwarrow=f(V,"\\nwarrow ","&#8598;"),w.ldots=f(V,"\\ldots ","&#8230;"),w.cdots=f(V,"\\cdots ","&#8943;"),w.vdots=f(V,"\\vdots ","&#8942;"),w.ddots=f(V,"\\ddots ","&#8945;"),w.surd=f(V,"\\surd ","&#8730;"),w.triangle=f(V,"\\triangle ","&#9651;"),w.ell=f(V,"\\ell ","&#8467;"),w.top=f(V,"\\top ","&#8868;"),w.flat=f(V,"\\flat ","&#9837;"),w.natural=f(V,"\\natural ","&#9838;"),w.sharp=f(V,"\\sharp ","&#9839;"),w.wp=f(V,"\\wp ","&#8472;"),w.bot=f(V,"\\bot ","&#8869;"),w.clubsuit=f(V,"\\clubsuit ","&#9827;"),w.diamondsuit=f(V,"\\diamondsuit ","&#9826;"),w.heartsuit=f(V,"\\heartsuit ","&#9825;"),w.spadesuit=f(V,"\\spadesuit ","&#9824;"),w.parallelogram=f(V,"\\parallelogram ","&#9649;"),w.square=f(V,"\\square ","&#11036;"),w.oint=f(V,"\\oint ","&#8750;"),w.bigcap=f(V,"\\bigcap ","&#8745;"),w.bigcup=f(V,"\\bigcup ","&#8746;"),w.bigsqcup=f(V,"\\bigsqcup ","&#8852;"),w.bigvee=f(V,"\\bigvee ","&#8744;"),w.bigwedge=f(V,"\\bigwedge ","&#8743;"),w.bigodot=f(V,"\\bigodot ","&#8857;"),w.bigotimes=f(V,"\\bigotimes ","&#8855;"),w.bigoplus=f(V,"\\bigoplus ","&#8853;"),w.biguplus=f(V,"\\biguplus ","&#8846;"),w.lfloor=f(V,"\\lfloor ","&#8970;"),w.rfloor=f(V,"\\rfloor ","&#8971;"),w.lceil=f(V,"\\lceil ","&#8968;"),w.rceil=f(V,"\\rceil ","&#8969;"),w.opencurlybrace=w.lbrace=f(V,"\\lbrace ","{"),w.closecurlybrace=w.rbrace=f(V,"\\rbrace ","}"),w.lbrack=f(V,"["),w.rbrack=f(V,"]"),w.slash=f(V,"/"),w.vert=f(V,"|"),w.perp=w.perpendicular=f(V,"\\perp ","&perp;"),w.nabla=w.del=f(V,"\\nabla ","&nabla;"),w.hbar=f(V,"\\hbar ","&#8463;"),w.AA=w.Angstrom=w.angstrom=f(V,"\\text\\AA ","&#8491;"),w.ring=w.circ=w.circle=f(V,"\\circ ","&#8728;"),w.bull=w.bullet=f(V,"\\bullet ","&bull;"),w.setminus=w.smallsetminus=f(V,"\\setminus ","&#8726;"),w["¬"]=w.neg=f(V,"\\neg ","&not;"),w.not=h(V,(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=B.succeed,n=B.optWhitespace;return function e(t){var n=B.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(w[e.suffixes[r]]()))})).or(n.then(t(this)))}})),w["…"]=w.dots=w.ellip=w.hellip=w.ellipsis=w.hellipsis=f(V,"\\dots ","&hellip;"),w.converges=w.darr=w.dnarr=w.dnarrow=w.downarrow=f(V,"\\downarrow ","&darr;"),w.dArr=w.dnArr=w.dnArrow=w.Downarrow=f(V,"\\Downarrow ","&dArr;"),w.diverges=w.uarr=w.uparrow=f(V,"\\uparrow ","&uarr;"),w.uArr=w.Uparrow=f(V,"\\Uparrow ","&uArr;"),w.to=f(Y,"\\to ","&rarr;"),w.rarr=w.rightarrow=f(V,"\\rightarrow ","&rarr;"),w.implies=f(Y,"\\Rightarrow ","&rArr;"),w.rArr=w.Rightarrow=f(V,"\\Rightarrow ","&rArr;"),w.gets=f(Y,"\\gets ","&larr;"),w.larr=w.leftarrow=f(V,"\\leftarrow ","&larr;"),w.impliedby=f(Y,"\\Leftarrow ","&lArr;"),w.lArr=w.Leftarrow=f(V,"\\Leftarrow ","&lArr;"),w.harr=w.lrarr=w.leftrightarrow=f(V,"\\leftrightarrow ","&harr;"),w.iff=f(Y,"\\Leftrightarrow ","&hArr;"),w.hArr=w.lrArr=w.Leftrightarrow=f(V,"\\Leftrightarrow ","&hArr;"),w.Re=w.Real=w.real=f(V,"\\Re ","&real;"),w.Im=w.imag=w.image=w.imagin=w.imaginary=w.Imaginary=f(V,"\\Im ","&image;"),w.part=w.partial=f(V,"\\partial ","&part;"),w.infty=w.infin=w.infinity=f(V,"\\infty ","&infin;"),w.pounds=f(V,"\\pounds ","&pound;"),w.alef=w.alefsym=w.aleph=w.alephsym=f(V,"\\aleph ","&alefsym;"),w.xist=w.xists=w.exist=w.exists=f(V,"\\exists ","&exist;"),w.nexists=w.nexist=f(V,"\\nexists ","&#8708;"),w.and=w.land=w.wedge=f(Y,"\\wedge ","&and;"),w.or=w.lor=w.vee=f(Y,"\\vee ","&or;"),w.o=w.O=w.empty=w.emptyset=w.oslash=w.Oslash=w.nothing=w.varnothing=f(Y,"\\varnothing ","&empty;"),w.cup=w.union=f(Y,"\\cup ","&cup;"),w.cap=w.intersect=w.intersection=f(Y,"\\cap ","&cap;"),w.deg=w.degree=f(V,"°","&deg;"),w.ang=w.angle=f(V,"\\angle ","&ang;"),w.measuredangle=f(V,"\\measuredangle ","&#8737;"),w.sphericalangle=f(V,"\\sphericalangle ","&#8738;");var me,ye,ve=s,be=document.createElement("div").style;for(var Ie in{transform:1,WebkitTransform:1,MozTransform:1,OTransform:1,msTransform:1})if(Ie in be){ye=Ie;break}ye?me=function(e,t,n){e.css(ye,"scale("+t+","+n+")")}:"filter"in be?(ve=function(e){e.className=e.className},me=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 o=setInterval(i);y(window).load((function(){clearTimeout(o),i()}))}):me=function(e,t,n){e.css("fontSize",n+"em")};var xe=h(H,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,"<"+n+" "+r+">&0</"+n+">")}})),we=h(ne,(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)}}));w.mathrm=f(xe,"\\mathrm","span",'class="mq-roman mq-font"'),w.mathit=f(xe,"\\mathit","i",'class="mq-font"'),w.mathbf=f(xe,"\\mathbf","b",'class="mq-font"'),w.mathsf=f(xe,"\\mathsf","span",'class="mq-sans-serif mq-font"'),w.mathtt=f(xe,"\\mathtt","span",'class="mq-monospace mq-font"'),w.mathbb=h(H,(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 o;if(!we.prototype.symbols[r])return t.apply(e,arguments);o=we(r),i&&o.replaces(i),o.createLeftOf(n)},e.deleteOutOf=function(t,r){var i=[];return e.eachChild((function(t){var n=t.ctrlSeq;i.push(ne(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=ne;we.prototype.symbols[n]&&(r=we),r(n).adopt(e,e.ends[1],0),t.remove()})),e.jQize().appendTo(e.jQ)}))}})),w.underline=f(xe,"\\underline","span",'class="mq-non-leaf mq-underline"'),w.bar=f(xe,"\\bar","span",'class="mq-non-leaf mq-overline"'),w.overline=f(xe,"\\overline","span",'class="mq-non-leaf mq-overline"');var Te=h(H,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span "+n+'><span class="mq-arrow-inner">&0</span></span>')}}));w.overrightarrow=f(Te,"\\overrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-right"'),w.overleftarrow=f(Te,"\\overleftarrow",'class="mq-non-leaf mq-overarrow mq-arrow-left"'),w.overleftrightarrow=f(Te,"\\overleftrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-leftright"'),w.underrightarrow=f(Te,"\\underrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-right"'),w.underleftarrow=f(Te,"\\underleftarrow",'class="mq-non-leaf mq-underarrow mq-arrow-left"'),w.underleftrightarrow=f(Te,"\\underleftrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-leftright"');var Me=h(H,(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>'})),Ae=w.xrightleftharpoons=h(Me,(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 G.optBlock.then((function(e){return G.block.map((function(t){var n=Ae();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(G.block.map((function(e){var t=Me();return t.blocks=[e],e.adopt(t,0,0),t})))},e.latex=function(){return this.ctrlSeq+"["+this.ends[g].latex()+"]{"+this.ends[1].latex()+"}"}}));w.overarc=f(xe,"\\overarc","span",'class="mq-non-leaf mq-overarc"'),w.dot=h(H,(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>')}})),w.textcolor=h(H,(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=B.optWhitespace,r=B.string,i=B.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}})),w.class=h(H,(function(e,t){e.parser=function(){var e=this,n=B.string,r=B.regex;return B.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 Ee=h(H,(function(e,t){e.ctrlSeq="_{...}^{...}",e.createLeftOf=function(e){if(this.replacedFragment||e[g]||!e.options.supSubsRequireOperand)return t.createLeftOf.apply(this,arguments)},e.contactWeld=function(e){for(var t=g;t;t=t===g&&1)if(this[t]instanceof Ee){for(var n="sub";n;n="sub"===n&&"sup"){var r=this[n],i=this[t][n];if(r){if(i)if(r.isEmpty())a=v(i,0,i.ends[g]);else{r.jQ.children().insAtDirEnd(-t,i.jQ);var o=r.children().disown(),a=v(i,o.ends[1],i.ends[g]);t===g?o.adopt(i,i.ends[1],0):o.adopt(i,0,i.ends[g])}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[g]===this&&(1===t&&a?a[g]?e.insRightOf(a[g]):e.insAtLeftEnd(a.parent):e.insRightOf(this[t]));break}},N.p.charsThatBreakOutOfSupSub="",e.finalizeTree=function(){this.ends[g].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 q?e.deleteSelection():e.clearSelection().insRightOf(this.parent),n.createLeftOf(e.show())}e[g]&&!e[1]&&!e.selection&&e.options.charsThatBreakOutOfSupSub.indexOf(t)>-1&&e.insRightOf(this.parent),W.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 q?r.remove():r&&r.deleteTowards(e,n.insAtDirEnd(-e,this.sub)),this.sub.isEmpty()&&(this.sub.deleteOutOf(g,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.text=function(){function e(e,t){var n=t&&t.text();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=y('<span class="mq-sup"/>').append(e.jQ.children()).attr(i,e.id).prependTo(this.jQ)):(this.sub=this.downInto=this.sup.downOutOf=e,e.adopt(this,0,this.sup).upOutOf=this.sup,e.jQ=y('<span class="mq-sub"></span>').append(e.jQ.children()).attr(i,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,o){if(o.insDirOf(this[i]?-i:i,this.parent),!this.isEmpty()){var a=this.ends[i];this.children().disown().withDirAdopt(i,o.parent,o[i],o[-i]).jQ.insDirOf(-i,o.jQ),o[-i]=a}e.supsub=n,delete e[t],delete e[r+"Into"],e[n][r+"OutOf"]=Ce,delete e[n].deleteOutOf,"sub"===t&&y(e.jQ.addClass("mq-sup-only")[0].lastChild).remove(),this.remove()}}(this,"sub sup".split(" ")[t],"sup sub".split(" ")[t],"down up".split(" ")[t])},e.reflow=function(){var e=this.jQ,t=e.prev();if(t.length){var n=e.children(".mq-sup");if(n.length){var r=parseInt(n.css("font-size")),i=n.offset().top+n.height()-t.offset().top-.7*r,o=parseInt(n.css("margin-bottom"));n.css("margin-bottom",o+i)}}}}));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)}w.subscript=w._=h(Ee,(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[g],this.sub.upOutOf=Ce,t.finalizeTree.call(this)}})),w.superscript=w.supscript=w["^"]=h(Ee,(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 Ne=h(H,(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>';q.prototype.init.call(this,e,n)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments),e.options.sumStartsWithNEquals&&(re("n").createLeftOf(e),ge().createLeftOf(e))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return this.ctrlSeq+"_"+e(this.ends[g].latex())+"^"+e(this.ends[1].latex())},e.parser=function(){for(var e=B.string,t=B.optWhitespace,n=B.succeed,r=G.block,i=this,o=i.blocks=[W(),W()],a=0;a<o.length;a+=1)o[a].adopt(i,i.ends[1],0);return t.then(e("_").or(e("^"))).then((function(e){var t=o["_"===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[g],this.upInto=this.ends[1],this.ends[g].upOutOf=this.ends[1],this.ends[1].downOutOf=this.ends[g]}}));w["∑"]=w.sum=w.summation=f(Ne,"\\sum ","&sum;"),w["∏"]=w.prod=w.product=f(Ne,"\\prod ","&prod;"),w.coprod=w.coproduct=f(Ne,"\\coprod ","&#8720;"),w["∫"]=w.int=w.integral=h(Ne,(function(e,t){e.init=function(){q.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=H.p.createLeftOf})),w.bigg=w.intsub=w.integralsubstitution=h(Ne,(function(e,t){e.init=function(){q.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=H.p.createLeftOf,e.parser=function(){var e=this,t=B.string,n=B.optWhitespace,r=B.succeed;e.blocks=[W(),W()];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(G).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(G.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 Se=w.frac=w.dfrac=w.cfrac=w.fraction=h(H,(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[g],this.downInto=this.ends[g].downOutOf=this.ends[1]}})),ke=w.over=T["/"]=h(Se,(function(e,t){e.createLeftOf=function(e){if(!this.replacedFragment){for(var n=e[g];n&&!(n instanceof Y||n instanceof(w.text||s)||n instanceof Ne||"\\ "===n.ctrlSeq||/^[,;:]$/.test(n.ctrlSeq));)n=n[g];n instanceof Ne&&n[1]instanceof Ee&&(n=n[1])[1]instanceof Ee&&n[1].ctrlSeq!=n.ctrlSeq&&(n=n[1]),n===e[g]||e.isTooDeep(1)||(this.replaces(x(n[1]||e.parent.ends[g],e[g])),e[g]=n)}t.createLeftOf.call(this,e)}})),je=w.sqrt=w["√"]=h(H,(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 G.optBlock.then((function(e){return G.block.map((function(t){var n=De();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;me(e.prev(),1,e.innerHeight()/+e.css("fontSize").slice(0,-2)-.1)}})),De=(w.hat=h(H,(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(",")"]})),w.nthroot=h(je,(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[g].latex()+"]{"+this.ends[1].latex()+"}"}}))),Le=h(H,(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 Oe(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"));me(this.delimjQs,o(1+.2*(e-1),1.2),1.2*e)}}w.vec=f(Le,"\\vec","&rarr;",["vec(",")"]),w.tilde=f(Le,"\\tilde","~",["tilde(",")"]);var Re=h(h(H,Oe),(function(e,t){e.init=function(e,n,r,i,o){t.init.call(this,"\\left"+i,void 0,[n,r]),this.side=e,this.sides={},this.sides[g]={ch:n,ctrlSeq:i},this.sides[1]={ch:r,ctrlSeq:o}},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[g].ch+'</span><span class="mq-non-leaf">&0</span><span class="mq-scaled mq-paren'+(this.side===g?" mq-ghost":"")+'">'+this.sides[1].ch+"</span></span>",t.html.call(this)},e.latex=function(){return"\\left"+this.sides[g].ctrlSeq+this.ends[g].latex()+"\\right"+this.sides[1].ctrlSeq},e.matchBrack=function(e,t,n){return n instanceof Re&&n.side&&n.side!==-t&&(!e.restrictMismatchedBrackets||Pe[this.sides[this.side].ch]===n.sides[n.side].ch||{"(":"]","[":")"}[this.sides[g].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===g?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[g].ch)var r=this.matchBrack(n,1,e[1])||this.matchBrack(n,g,e[g])||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]&&x(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(x(e[-i],e.parent.ends[-i],i)),e[-i]=0),t.createLeftOf.call(r,e);i===g?e.insAtLeftEnd(r.ends[g]):e.insRightOf(r)},e.placeCursor=s,e.unwrap=function(){this.ends[g].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],o=r.ends[e];if(e===this.side)return this.unwrap(),void(i?n.insDirOf(-e,i):n.insAtDirEnd(e,r));var a=n.options,s=!this.side;if(this.side=-e,this.matchBrack(a,e,this.ends[g].ends[this.side])){this.closeOpposing(this.ends[g].ends[this.side]);var l=this.ends[g].ends[e];this.unwrap(),l.siblingCreated&&l.siblingCreated(n.options,e),i?n.insDirOf(-e,i):n.insAtDirEnd(e,r)}else{if(this.matchBrack(a,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===g?0:1).addClass("mq-ghost").html(this.sides[e].ch)}i?(l=this.ends[g].ends[e],x(i,o,-e).disown().withDirAdopt(-e,this.ends[g],l,0).jQ.insAtDirEnd(e,this.ends[g].jQ.removeClass("mq-empty")),l.siblingCreated&&l.siblingCreated(n.options,e),n.insDirOf(-e,i)):t?n.insDirOf(e,this):n.insAtDirEnd(e,this.ends[g])}},e.deleteTowards=function(e,t){this.deleteSide(-e,!1,t)},e.finalizeTree=function(){this.ends[g].deleteOutOf=function(e,t){this.parent.deleteSide(e,!0,t)},this.finalizeTree=this.intentionalBlur=function(){this.delimjQs.eq(this.side===g?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 ze(e,t){t=t||e;var n=Pe[e],r=Pe[t];T[e]=f(Re,g,e,n,t,r),T[n]=f(Re,1,e,n,t,r)}ze("("),ze("["),ze("{","\\{"),w.langle=f(Re,g,"&lang;","&rang;","\\langle ","\\rangle "),w.rangle=f(Re,1,"&lang;","&rang;","\\langle ","\\rangle "),T["|"]=f(Re,g,"|","|","|","|"),w.lVert=f(Re,g,"&#8741;","&#8741;","\\lVert ","\\rVert "),w.rVert=f(Re,1,"&#8741;","&#8741;","\\lVert ","\\rVert "),w.left=h(H,(function(e){e.parser=function(){var e=B.regex,t=B.string,n=(B.succeed,B.optWhitespace);return n.then(e(/^(?:[([|]|\\\{|\\langle(?![a-zA-Z])|\\lVert(?![a-zA-Z]))/)).then((function(r){var i="\\"===r.charAt(0)?r.slice(1):r;return"\\langle"==r&&(i="&lang;",r+=" "),"\\lVert"==r&&(i="&#8741;",r+=" "),G.then((function(o){return t("\\right").skip(n).then(e(/^(?:[\])|]|\\\}|\\rangle(?![a-zA-Z])|\\rVert(?![a-zA-Z]))/)).map((function(e){var t="\\"===e.charAt(0)?e.slice(1):e;"\\rangle"==e&&(t="&rang;",e+=" "),"\\rVert"==e&&(t="&#8741;",e+=" ");var n=Re(0,i,t,r,e);return n.blocks=[o],o.adopt(n,0,0),n}))}))}))}})),w.right=h(H,(function(e){e.parser=function(){return B.fail("unmatched \\right")}}));var Ue=w.binom=w.binomial=h(h(H,Oe),(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(",",",")"]}));w.choose=h(Ue,(function(e){e.createLeftOf=ke.prototype.createLeftOf})),w.editable=w.MathQuillMathField=h(H,(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=B.string,r=B.regex,i=B.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=E(this.ends[g],this.jQ,e);t.KIND_OF_MQ="MathField",t.editable=!0,t.createTextarea(),t.editablesTextareaEvents(),t.cursor.insAtRightEnd(t.root),U(t.root)},e.registerInnerField=function(e,t){e.push(e[this.name]=t(this.ends[g].controller))},e.latex=function(){return this.ends[g].latex()},e.text=function(){return this.ends[g].text()}}));var _e=w.embed=h(q,(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=B.string,n=B.regex,r=B.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(j[i](t))}))}))}})),Be={};w.begin=h(H,(function(e,t){e.parser=function(){var e=B.string,t=B.regex;return e("{").then(t(/^[a-z]+/i)).skip(e("}")).then((function(t){return(Be[t]?Be[t]().parser():B.fail("unknown environment type: "+t)).skip(e("\\end{"+t+"}"))}))}}));var Fe=h(H,(function(e,t){e.template=[["\\begin{","}"],["\\end{","}"]],e.wrappers=function(){return[e.template[0].join(this.environment),e.template[1].join(this.environment)]}})),Ge=Be.matrix=h(Fe,(function(e,t){var n="\\\\";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&&me(n,o(1+.2*(t-1),1.2),1.05*t)},e.latex=function(){var e,t=this.hline,n="";this.eachChild((function(r){void 0!==e&&(e!==r.row?(n+="\\\\\n",t&&(n+="\\hline\n",t=!1)):n+="&"),e=r.row,n+=r.latex()}));var r=this.options?"{"+this.options+"}":"";return this.wrappers().join(r+"\n"+n+"\n")},e.html=function(){var e,n=[],r="",i=0;function o(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">'+o(this.parentheses.left)+'<table class="mq-non-leaf">'+r.replace(/\$tds/g,(function(){return n.shift().join("")}))+"</table>"+o(this.parentheses.right)+"</span>",t.html.call(this)},e.createBlocks=function(){this.blocks=[Ze(0,this),Ze(0,this),Ze(1,this),Ze(1,this)]},e.parser=function(){var e=this,t=B.optWhitespace,r=B.string;return(0,B.regex)(/^({[clr](\|?[clr])*})?/).then((function(t){return t&&!e.options&&(e.options=t.slice(1,-1)),B.succeed(e)})).then(t.then(r("&").or(r(n)).or(r("\\hline")).or(G.block)).many()).skip(t).then((function(t){var r=[],i=0;function o(){e.blocks.push(Ze(i,e,r)),r=[]}e.blocks=[];for(var a=0;a<t.length;a+=1)t[a]instanceof W?r.push(t[a]):"\\hline"===t[a]?e.hline=!0:(o(),t[a]===n&&(i+=1));return o(),e.autocorrect(),B.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=[],o=0;o<r.length;o+=1)e!==(n=r[o]).row&&(i[e=n.row]=[],t=0),i[e][t]=n,n[1]=r[o+1],n[g]=r[o-1],i[e-1]&&i[e-1][t]&&(n.upOutOf=i[e-1][t],i[e-1][t].downOutOf=n),t+=1;this.ends[g]=r[0],this.ends[1]=r[r.length-1]},e.autocorrect=function(e){var t,n,r,i,o,a=[],s=(e=[],this.blocks);for(o=0;o<s.length;o+=1)e[i=s[o].row]=e[i]||[],e[i].push(s[o]),a[i]=e[i].length;if((t=Math.max.apply(null,a))!==Math.min.apply(null,a)){for(o=0;o<e.length;o+=1)for(n=t-e[o].length;n;)r=t*o+e[o].length,s.splice(r,0,Ze(o,this)),n-=1;this.relink()}},e.deleteCell=function(e){var t,n,r=[],i=[],o=[],a=[],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&&(o=r[t],a=i[n]),n+=1})),l(o)&&a.length>1&&(t=r.indexOf(o),this.eachChild((function(e){e.row>t&&(e.row-=1)})),c(o),this.jQ.find("tr").eq(t).remove()),l(a)&&o.length>1&&c(a),this.finalizeTree()},e.addRow=function(e){var t,n=[],r=[],o=[],a=y("<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,o.push(e))}));for(var c=0;c<l;c+=1)(t=Ze(s+1)).parent=this,r.push(t),t.jQ=y('<td class="mq-empty">').attr(i,t.id).appendTo(a);return this.jQ.find("tr").eq(s).after(a),this.blocks=n.concat(r,o),r[0]},e.addColumn=function(e){var t,n,r=[],o=[];this.eachChild((function(n){r[n.row]=r[n.row]||[],r[n.row].push(n),n===e&&(t=r[n.row].length)}));for(var a=0;a<r.length;a+=1)(n=Ze(a)).parent=this,o.push(n),r[a].splice(t,0,n),n.jQ=y('<td class="mq-empty">').attr(i,n.id);return this.jQ.find("tr").each((function(e){y(this).find("td").eq(t-1).after(r[e][t].jQ)})),this.blocks=[].concat.apply([],r),o[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")}}}));Be.pmatrix=h(Ge,(function(e,t){e.environment="pmatrix",e.parentheses={left:"(",right:")"}})),Be.bmatrix=h(Ge,(function(e,t){e.environment="bmatrix",e.parentheses={left:"[",right:"]"}})),Be.Bmatrix=h(Ge,(function(e,t){e.environment="Bmatrix",e.parentheses={left:"{",right:"}"}})),Be.vmatrix=h(Ge,(function(e,t){e.environment="vmatrix",e.parentheses={left:"|",right:"|"}})),Be.Vmatrix=h(Ge,(function(e,t){e.environment="Vmatrix",e.parentheses={left:"&#8214;",right:"&#8214;"}})),Be.cases=h(Ge,(function(e,t){e.environment="cases",e.parentheses={left:"{",right:null}})),Be.array=h(Ge,(function(e,t){e.environment="array",e.parentheses={left:null,right:null},e.hline=!0,e.options="l|l"}));var Ze=h(W,(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,o=this,a=0;if(this.parent.eachChild((function(e){e.row===o.row&&(e===o&&(i=a),a+=1)})),i===a-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(g,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)}))}})),He=(T["\\"]=h(H,(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[g].focus=function(){return this.parent.jQ.addClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.removeClass("mq-empty"),this},this.ends[g].blur=function(){return this.parent.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.addClass("mq-empty"),this},this.ends[g].write=function(e,t){e.show().deleteSelection(),t.match(/[a-z]/i)?V(t).createLeftOf(e):(this.parent.renderCommand(e),"\\"===t&&this.isEmpty()||e.parent.write(e,t))},this.ends[g].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 y(e.target=n).trigger(e),!1})).insertBefore(this.jQ).add(this.jQ)}},e.latex=function(){return"\\"+this.ends[g].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[g].latex();t||(t=" ");var n=w[t]||Be[t];n?(n=n(t),this._replacedFragment&&n.replaces(this._replacedFragment),n.createLeftOf(e)):((n=J()).replaces(t),n.createLeftOf(e),e.insRightOf(n),this._replacedFragment&&this._replacedFragment.remove())}})),P(1));for(var qe in He)!function(e,t){"function"==typeof t?(L[e]=function(){return D(),t.apply(this,arguments)},L[e].prototype=t.prototype):L[e]=t}(qe,He[qe]);"object"==typeof e.exports&&(e.exports=L)}()},6660:(e,t,n)=>{e.exports=n(8226)},8427:(e,t,n)=>{"use strict";var r=n(4345),i=n(6435),o=n(5905),a=n(3025),s=n(3916),l=n(6135),c=n(6923),u=n(3201),d=n(5400),f=n(5220),p=n(733),h=n(7590);e.exports=function(e){return new Promise((function(t,n){var g,m=e.data,y=e.headers,v=e.responseType,b=e.withXSRFToken;function I(){e.cancelToken&&e.cancelToken.unsubscribe(g),e.signal&&e.signal.removeEventListener("abort",g)}r.isFormData(m)&&r.isStandardBrowserEnv()&&delete y["Content-Type"];var x=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",T=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(w+":"+T)}var M=s(e.baseURL,e.url);function A(){if(x){var r="getAllResponseHeaders"in x?l(x.getAllResponseHeaders()):null,o={data:v&&"text"!==v&&"json"!==v?x.response:x.responseText,status:x.status,statusText:x.statusText,headers:r,config:e,request:x};i((function(e){t(e),I()}),(function(e){n(e),I()}),o),x=null}}if(x.open(e.method.toUpperCase(),a(M,e.params,e.paramsSerializer),!0),x.timeout=e.timeout,"onloadend"in x?x.onloadend=A:x.onreadystatechange=function(){x&&4===x.readyState&&(0!==x.status||x.responseURL&&0===x.responseURL.indexOf("file:"))&&setTimeout(A)},x.onabort=function(){x&&(n(new d("Request aborted",d.ECONNABORTED,e,x)),x=null)},x.onerror=function(){n(new d("Network Error",d.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new d(t,r.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,x)),x=null},r.isStandardBrowserEnv()&&(b&&r.isFunction(b)&&(b=b(e)),b||!1!==b&&c(M))){var E=e.xsrfHeaderName&&e.xsrfCookieName&&o.read(e.xsrfCookieName);E&&(y[e.xsrfHeaderName]=E)}"setRequestHeader"in x&&r.forEach(y,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete y[t]:x.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(x.withCredentials=!!e.withCredentials),v&&"json"!==v&&(x.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&x.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&x.upload&&x.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(g=function(t){x&&(n(!t||t.type?new f(null,e,x):t),x.abort(),x=null)},e.cancelToken&&e.cancelToken.subscribe(g),e.signal&&(e.signal.aborted?g():e.signal.addEventListener("abort",g))),m||!1===m||0===m||""===m||(m=null);var C=p(M);C&&-1===h.protocols.indexOf(C)?n(new d("Unsupported protocol "+C+":",d.ERR_BAD_REQUEST,e)):x.send(m)}))}},8226:(e,t,n)=>{"use strict";var r=n(4345),i=n(5063),o=n(9560),a=n(4816),s=n(6075),l=n(2729),c=function e(t){var n=new o(t),s=i(o.prototype.request,n);return r.extend(s,o.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(s);c.Axios=o,c.CanceledError=n(5220),c.CancelToken=n(5912),c.isCancel=n(6945),c.VERSION=n(9978).version,c.toFormData=n(4195),c.AxiosError=n(5400),c.Cancel=c.CanceledError,c.all=function(e){return Promise.all(e)},c.spread=n(8127),c.isAxiosError=n(8568),c.formToJSON=function(e){return l(r.isHTMLForm(e)?new FormData(e):e)},e.exports=c,e.exports.default=c},5912:(e,t,n)=>{"use strict";var r=n(5220);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){for(var t=n._listeners.length;t-- >0;)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,i,o){n.reason||(n.reason=new r(e,i,o),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},5220:(e,t,n)=>{"use strict";var r=n(5400);function i(e,t,n){r.call(this,null==e?"canceled":e,r.ERR_CANCELED,t,n),this.name="CanceledError"}n(4345).inherits(i,r,{__CANCEL__:!0}),e.exports=i},6945:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},9560:(e,t,n)=>{"use strict";var r=n(4345),i=n(3025),o=n(546),a=n(1617),s=n(4816),l=n(3916),c=n(6552),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var i=t.paramsSerializer;void 0!==i&&c.assertOptions(i,{encode:u.function,serialize:u.function},!0),r.isFunction(i)&&(t.paramsSerializer={serialize:i});var o=[],l=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));var d,f=[];if(this.interceptors.response.forEach((function(e){f.push(e.fulfilled,e.rejected)})),!l){var p=[a,void 0];for(Array.prototype.unshift.apply(p,o),p=p.concat(f),d=Promise.resolve(t);p.length;)d=d.then(p.shift(),p.shift());return d}for(var h=t;o.length;){var g=o.shift(),m=o.shift();try{h=g(h)}catch(e){m(e);break}}try{d=a(h)}catch(e){return Promise.reject(e)}for(;f.length;)d=d.then(f.shift(),f.shift());return d},d.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return i(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(s(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},5400:(e,t,n)=>{"use strict";var r=n(4345);function i(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}r.inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=i.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=function(e,t,n,a,s,l){var c=Object.create(o);return r.toFlatObject(e,c,(function(e){return e!==Error.prototype})),i.call(c,e.message,t,n,a,s),c.cause=e,c.name=e.name,l&&Object.assign(c,l),c},e.exports=i},546:(e,t,n)=>{"use strict";var r=n(4345);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.clear=function(){this.handlers&&(this.handlers=[])},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},3916:(e,t,n)=>{"use strict";var r=n(4860),i=n(7825);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},1617:(e,t,n)=>{"use strict";var r=n(4345),i=n(7638),o=n(6945),a=n(6075),s=n(5220),l=n(2327);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,null,e.transformRequest),l(e.headers,"Accept"),l(e.headers,"Content-Type"),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=i.call(e,t.data,t.headers,t.status,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,t.response.status,e.transformResponse))),Promise.reject(t)}))}},4816:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e,t){t=t||{};var n={};function i(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isEmptyObject(t)?r.merge({},e):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function l(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);r.isUndefined(i)&&t!==l||(n[e]=i)})),n}},6435:(e,t,n)=>{"use strict";var r=n(5400);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},7638:(e,t,n)=>{"use strict";var r=n(4345),i=n(6075);e.exports=function(e,t,n,o){var a=this||i;return r.forEach(o,(function(r){e=r.call(a,e,t,n)})),e}},6075:(e,t,n)=>{"use strict";var r=n(4345),i=n(2327),o=n(5400),a=n(3201),s=n(4195),l=n(2830),c=n(7590),u=n(2729),d={"Content-Type":"application/x-www-form-urlencoded"};function f(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var p,h={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(p=n(8427)),p),transformRequest:[function(e,t){i(t,"Accept"),i(t,"Content-Type");var n,o=t&&t["Content-Type"]||"",a=o.indexOf("application/json")>-1,c=r.isObject(e);if(c&&r.isHTMLForm(e)&&(e=new FormData(e)),r.isFormData(e))return a?JSON.stringify(u(e)):e;if(r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return f(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();if(c){if(-1!==o.indexOf("application/x-www-form-urlencoded"))return l(e,this.formSerializer).toString();if((n=r.isFileList(e))||o.indexOf("multipart/form-data")>-1){var d=this.env&&this.env.FormData;return s(n?{"files[]":e}:e,d&&new d,this.formSerializer)}}return c||a?(f(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||h.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(e&&r.isString(e)&&(n&&!this.responseType||i)){var a=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o.from(e,o.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:c.classes.FormData,Blob:c.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){h.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){h.headers[e]=r.merge(d)})),e.exports=h},3201:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},285:(e,t,n)=>{e.exports=n(8447)},9978:e=>{e.exports={version:"0.28.1"}},7741:(e,t,n)=>{"use strict";var r=n(4195);function i(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function o(e,t){this._pairs=[],e&&r(e,this,t)}var a=o.prototype;a.append=function(e,t){this._pairs.push([e,t])},a.toString=function(e){var t=e?function(t){return e.call(this,t,i)}:i;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")},e.exports=o},5063:e=>{"use strict";e.exports=function(e,t){return function(){return e.apply(t,arguments)}}},3025:(e,t,n)=>{"use strict";var r=n(4345),i=n(7741);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a));var s,l=n&&n.encode||o,c=n&&n.serialize;return(s=c?c(t,n):r.isURLSearchParams(t)?t.toString():new i(t,n).toString(l))&&(e+=(-1===e.indexOf("?")?"?":"&")+s),e}},7825:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},5905:(e,t,n)=>{"use strict";var r=n(4345);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2729:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e){function t(e,n,i,o){var a=e[o++],s=Number.isFinite(+a),l=o>=e.length;return a=!a&&r.isArray(i)?i.length:a,l?(r.hasOwnProperty(i,a)?i[a]=[i[a],n]:i[a]=n,!s):(i[a]&&r.isObject(i[a])||(i[a]=[]),t(e,n,i[a],o)&&r.isArray(i[a])&&(i[a]=function(e){var t,n,r={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r[n=i[t]]=e[n];return r}(i[a])),!s)}if(r.isFormData(e)&&r.isFunction(e.entries)){var n={};return r.forEachEntry(e,(function(e,i){t(function(e){return r.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),i,n,0)})),n}return null}},4860:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},8568:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},6923:(e,t,n)=>{"use strict";var r=n(4345);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},2327:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},6135:(e,t,n)=>{"use strict";var r=n(4345),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.slice(0,o)).toLowerCase(),n=r.trim(e.slice(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},733:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8127:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4195:(e,t,n)=>{"use strict";var r=n(4345),i=n(5400),o=n(285);function a(e){return r.isPlainObject(e)||r.isArray(e)}function s(e){return r.endsWith(e,"[]")?e.slice(0,-2):e}function l(e,t,n){return e?e.concat(t).map((function(e,t){return e=s(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var c=r.toFlatObject(r,{},null,(function(e){return/^is[A-Z]/.test(e)}));e.exports=function(e,t,n){if(!r.isObject(e))throw new TypeError("target must be an object");t=t||new(o||FormData);var u,d=(n=r.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!r.isUndefined(t[e])}))).metaTokens,f=n.visitor||y,p=n.dots,h=n.indexes,g=(n.Blob||"undefined"!=typeof Blob&&Blob)&&(u=t)&&r.isFunction(u.append)&&"FormData"===u[Symbol.toStringTag]&&u[Symbol.iterator];if(!r.isFunction(f))throw new TypeError("visitor must be a function");function m(e){if(null===e)return"";if(r.isDate(e))return e.toISOString();if(!g&&r.isBlob(e))throw new i("Blob is not supported. Use a Buffer instead.");return r.isArrayBuffer(e)||r.isTypedArray(e)?g&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function y(e,n,i){var o=e;if(e&&!i&&"object"==typeof e)if(r.endsWith(n,"{}"))n=d?n:n.slice(0,-2),e=JSON.stringify(e);else if(r.isArray(e)&&function(e){return r.isArray(e)&&!e.some(a)}(e)||r.isFileList(e)||r.endsWith(n,"[]")&&(o=r.toArray(e)))return n=s(n),o.forEach((function(e,i){!r.isUndefined(e)&&t.append(!0===h?l([n],i,p):null===h?n:n+"[]",m(e))})),!1;return!!a(e)||(t.append(l(i,n,p),m(e)),!1)}var v=[],b=Object.assign(c,{defaultVisitor:y,convertValue:m,isVisitable:a});if(!r.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!r.isUndefined(n)){if(-1!==v.indexOf(n))throw Error("Circular reference detected in "+i.join("."));v.push(n),r.forEach(n,(function(n,o){!0===(!r.isUndefined(n)&&f.call(t,n,r.isString(o)?o.trim():o,i,b))&&e(n,i?i.concat(o):[o])})),v.pop()}}(e),t}},2830:(e,t,n)=>{"use strict";var r=n(4345),i=n(4195),o=n(7590);e.exports=function(e,t){return i(e,new o.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return o.isNode&&r.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}},6552:(e,t,n)=>{"use strict";var r=n(9978).version,i=n(5400),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new i(o(r," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var a=r[o],s=t[a];if(s){var l=e[a],c=void 0===l||s(l,a,e);if(!0!==c)throw new i("option "+a+" must be "+c,i.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:o}},6194:e=>{"use strict";e.exports=FormData},4833:(e,t,n)=>{"use strict";var r=n(7741);e.exports="undefined"!=typeof URLSearchParams?URLSearchParams:r},2453:(e,t,n)=>{"use strict";e.exports={isBrowser:!0,classes:{URLSearchParams:n(4833),FormData:n(6194),Blob},protocols:["http","https","file","blob","url","data"]}},7590:(e,t,n)=>{"use strict";e.exports=n(2453)},4345:(e,t,n)=>{"use strict";var r,i=n(5063),o=Object.prototype.toString,a=(r=Object.create(null),function(e){var t=o.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function l(e){return Array.isArray(e)}function c(e){return void 0===e}var u=s("ArrayBuffer");function d(e){return"number"==typeof e}function f(e){return null!==e&&"object"==typeof e}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var h=s("Date"),g=s("File"),m=s("Blob"),y=s("FileList");function v(e){return"[object Function]"===o.call(e)}var b=s("URLSearchParams");function I(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var x,w,T=(x="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return x&&e instanceof x}),M=s("HTMLFormElement"),A=(w=Object.prototype.hasOwnProperty,function(e,t){return w.call(e,t)});e.exports={isArray:l,isArrayBuffer:u,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||o.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:d,isObject:f,isPlainObject:p,isEmptyObject:function(e){return e&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype},isUndefined:c,isDate:h,isFile:g,isBlob:m,isFunction:v,isStream:function(e){return f(e)&&v(e.pipe)},isURLSearchParams:b,isStandardBrowserEnv:function(){var e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:I,merge:function e(){var t={};function n(n,r){p(t[r])&&p(n)?t[r]=e(t[r],n):p(n)?t[r]=e({},n):l(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)I(arguments[r],n);return t},extend:function(e,t,n){return I(t,(function(t,r){e[r]=n&&"function"==typeof t?i(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var i,o,a,s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(l(e))return e;var t=e.length;if(!d(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:T,isFileList:y,forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var i=n.value;t.call(e,i[0],i[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:M,hasOwnProperty:A}},2743:e=>{"use strict";var t=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===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var c=Array.isArray(n);return c===Array.isArray(e)?c?l.arrayMerge(e,n,l):function(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}(e,n,l):r(n,l)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var l=s;e.exports=l},6593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},5193: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},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var s=a(n(3338)),l=n(2305),c=n(6593),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d(e){return e.replace(/"/g,"&quot;")}var f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),r="",i=0;i<n.length;i++)r+=h(n[i],t);return r}function h(e,t){switch(e.type){case s.Root:return p(e.children,t);case s.Doctype:case s.Directive:return"<".concat(e.data,">");case s.Comment:return"\x3c!--".concat(e.data,"--\x3e");case s.CDATA:return function(e){return"<![CDATA[".concat(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&&g.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&m.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),o=function(e,t){var n;if(e){var r=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?d:t.xmlMode||"utf8"!==t.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map((function(n){var i,o,a=null!==(i=e[n])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(n=null!==(o=c.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==a?"".concat(n,'="').concat(r(a),'"'):n})).join(" ")}}(e.attribs,t);return o&&(i+=" ".concat(o)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(i+="</".concat(e.name,">"))),i}(e,t);case s.Text:return function(e,t){var n,r=e.data||"";return!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(r):(0,l.escapeText)(r)),r}(e,t)}}t.render=p,t.default=p;var g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},3338:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},1138:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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 o=n(3338),a=n(2888);i(n(2888),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!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(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=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=this.options.xmlMode?o.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)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.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}();t.DomHandler=l,t.default=l},2888: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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=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},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(3338),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return 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),w(this,e)},e}();t.Node=s;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}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(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}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(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=h;var g=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),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 m(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function I(e){return e.type===a.ElementType.Directive}function x(e){return e.type===a.ElementType.Root}function w(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(m(e)){var r=t?T(e.children):[],i=new g(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(y(e)){r=t?T(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),n=a}else if(x(e)){r=t?T(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!I(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function T(e){for(var t=e.map((function(e){return w(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=g,t.isTag=m,t.isCDATA=y,t.isText=v,t.isComment=b,t.isDirective=I,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w},1206:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(8642),i=n(8052);t.getFeed=function(e){var t=l(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:s(n)};u(r,"id","id",n),u(r,"title","title",n);var i=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);var o=c("summary",n)||c("content",n);o&&(r.description=o);var a=c("updated",n);return a&&(r.pubDate=new Date(a)),r}))};u(r,"id","id",n),u(r,"title","title",n);var o=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o),u(r,"description","subtitle",n);var a=c("updated",n);return a&&(r.updated=new Date(a)),u(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:s(t)};u(n,"id","guid",t),u(n,"title","title",t),u(n,"link","link",t),u(n,"description","description",t);var r=c("pubDate",t)||c("dc:date",t);return r&&(n.pubDate=new Date(r)),n}))};u(o,"title","title",r),u(o,"link","link",r),u(o,"description","description",r);var a=c("lastBuildDate",r);return a&&(o.updated=new Date(a)),u(o,"author","managingEditor",r,!0),o}(t):null};var o=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++)t[c=i[r]]&&(n[c]=t[c]);for(var s=0,l=a;s<l.length;s++){var c;t[c=l[s]]&&(n[c]=parseInt(t[c],10))}return t.expression&&(n.expression=t.expression),n}))}function l(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,n){return void 0===n&&(n=!1),(0,r.textContent)((0,i.getElementsByTagName)(e,t,n,1)).trim()}function u(e,t,n,r,i){void 0===i&&(i=!1);var o=c(n,r,i);o&&(e[t]=o)}function d(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},3698:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var r,i=n(1138);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)o.unshift(a),a=a.parent;for(var s=Math.min(n.length,o.length),l=0;l<s&&n[l]===o[l];)l++;if(0===l)return r.DISCONNECTED;var c=n[l-1],u=c.children,d=n[l],f=o[l];return u.indexOf(d)>u.indexOf(f)?c===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:c===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}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},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(r=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0})),e}},6403:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(n(8642),t),i(n(5517),t),i(n(6178),t),i(n(1467),t),i(n(8052),t),i(n(3698),t),i(n(1206),t);var o=n(1138);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},8052:(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(1138),i=n(1467),o={tag_name:function(e){return"function"==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return(0,r.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(0,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.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 Object.prototype.hasOwnProperty.call(o,t)?o[t](n):a(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,r){void 0===r&&(r=1/0);var o=l(e);return o?(0,i.filter)(o,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(a("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_type(e),t,n,r)}},6178:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,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 o=i.children;o[o.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=r,i){if(i.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(i),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},1467:(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(1138);function i(e,t,n,i){for(var o=[],a=[t],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return o;a.shift(),s.shift()}else{var l=a[0][s[0]++];if(e(l)&&(o.push(l),--i<=0))return o;n&&(0,r.hasChildren)(l)&&l.children.length>0&&(s.unshift(0),a.unshift(l.children))}}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),i(e,Array.isArray(t)?t:[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 o=null,a=0;a<n.length&&!o;a++){var s=n[a];(0,r.isTag)(s)&&(t(s)?o=s:i&&s.children.length>0&&(o=e(t,s.children,!0)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||e(t,n.children))}))},t.findAll=function(e,t){for(var n=[],i=[t],o=[0];;)if(o[0]>=i[0].length){if(1===i.length)return n;i.shift(),o.shift()}else{var a=i[0][o[0]++];(0,r.isTag)(a)&&(e(a)&&n.push(a),a.children.length>0&&(o.unshift(0),i.unshift(a.children)))}}},8642: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.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(1138),o=r(n(5193)),a=n(3338);function s(e,t){return(0,o.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},5517:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(1138);function i(e){return(0,r.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}t.getChildren=i,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return i(t);for(var n=[e],r=e.prev,a=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=a;)n.push(a),a=a.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&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},7120:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference")},4828:(e,t,n)=>{"use strict";n(7120)},3379:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),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)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=a(n(7346));t.htmlDecodeTree=s.default;var l=a(n(8622));t.xmlDecodeTree=l.default;var c=o(n(2809));t.decodeCodePoint=c.default;var u,d,f,p,h=n(2809);function g(e){return e>=u.ZERO&&e<=u.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return h.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return h.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(u||(u={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(d=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(f||(f={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(p=t.DecodingMode||(t.DecodingMode={}));var m=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=f.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=f.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case f.EntityStart:return e.charCodeAt(t)===u.NUM?(this.state=f.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=f.NamedEntity,this.stateNamedEntity(e,t));case f.NumericStart:return this.stateNumericStart(e,t);case f.NumericDecimal:return this.stateNumericDecimal(e,t);case f.NumericHex:return this.stateNumericHex(e,t);case f.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===u.LOWER_X?(this.state=f.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=f.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,r){if(t!==n){var i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var n,r=t;t<e.length;){var i=e.charCodeAt(t);if(!(g(i)||(n=i,n>=u.UPPER_A&&n<=u.UPPER_F||n>=u.LOWER_A&&n<=u.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t<e.length;){var r=e.charCodeAt(t);if(!g(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===u.SEMI)this.consumed+=1;else if(this.decodeMode===p.Strict)return 0;return this.emitCodePoint((0,c.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==u.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var n=this.decodeTree,r=n[this.treeIndex],i=(r&d.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var o=e.charCodeAt(t);if(this.treeIndex=v(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===p.Attribute&&(0===i||((a=o)===u.EQUALS||function(e){return e>=u.UPPER_A&&e<=u.UPPER_Z||e>=u.LOWER_A&&e<=u.LOWER_Z||g(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&d.VALUE_LENGTH)>>14)){if(o===u.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&d.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var r=this.decodeTree;return this.emitCodePoint(1===t?r[e]&~d.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case f.NamedEntity:return 0===this.result||this.decodeMode===p.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case f.NumericDecimal:return this.emitNumericEntity(0,2);case f.NumericHex:return this.emitNumericEntity(0,3);case f.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case f.EntityStart:return 0}},e}();function y(e){var t="",n=new m(e,(function(e){return t+=(0,c.fromCodePoint)(e)}));return function(e,r){for(var i=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);var a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}var s=t+e.slice(i);return t="",s}}function v(e,t,n,r){var i=(t&d.BRANCH_LENGTH)>>7,o=t&d.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){var a=r-o;return a<0||a>=i?-1:e[n+a]-1}for(var s=n,l=s+i-1;s<=l;){var c=s+l>>>1,u=e[c];if(u<r)s=c+1;else{if(!(u>r))return e[c+i];l=c-1}}return-1}t.EntityDecoder=m,t.determineBranch=v;var b=y(s.default),I=y(l.default);t.decodeHTML=function(e,t){return void 0===t&&(t=p.Legacy),b(e,t)},t.decodeHTMLAttribute=function(e){return b(e,p.Attribute)},t.decodeHTMLStrict=function(e){return b(e,p.Strict)},t.decodeXML=function(e){return I(e,p.Strict)}},2809:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[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 i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=r.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(n=String.fromCodePoint)&&void 0!==n?n:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},3231: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.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=r(n(8635)),o=n(7078),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var n,r="",a=0;null!==(n=e.exec(t));){var s=n.index;r+=t.substring(a,s);var l=t.charCodeAt(s),c=i.default.get(l);if("object"==typeof c){if(s+1<t.length){var u=t.charCodeAt(s+1),d="number"==typeof c.n?c.n===u?c.o:void 0:c.n.get(u);if(void 0!==d){r+=d,a=e.lastIndex+=1;continue}}c=c.v}if(void 0!==c)r+=c,a=s+1;else{var f=(0,o.getCodePoint)(t,s);r+="&#x".concat(f.toString(16),";"),a=e.lastIndex+=Number(f!==l)}}return r+t.substr(a)}t.encodeHTML=function(e){return s(a,e)},t.encodeNonAsciiHTML=function(e){return s(o.xmlReplacer,e)}},7078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function r(e){for(var r,i="",o=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(i+=e.substring(o,a)+l,o=a+1):(i+="".concat(e.substring(o,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return i+e.substr(o)}function i(e,t){return function(n){for(var r,i=0,o="";r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=i(/[&<>'"]/g,n),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},7346:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},8622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},8635:(e,t)=>{"use strict";function n(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map(n([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(n([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(n([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(n([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]))},2305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var r,i,o=n(3379),a=n(3231),s=n(7078);function l(e,t){if(void 0===t&&(t=r.XML),("number"==typeof t?t:t.level)===r.HTML){var n="object"==typeof t?t.mode:void 0;return(0,o.decodeHTML)(e,n)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(r=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=l,t.decodeStrict=function(e,t){var n;void 0===t&&(t=r.XML);var i="number"==typeof t?{level:t}:t;return null!==(n=i.mode)&&void 0!==n||(i.mode=o.DecodingMode.Strict),l(e,i)},t.encode=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.mode===i.UTF8?(0,s.escapeUTF8)(e):n.mode===i.Attribute?(0,s.escapeAttribute)(e):n.mode===i.Text?(0,s.escapeText)(e):n.level===r.HTML?n.mode===i.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,s.encodeXML)(e)};var c=n(7078);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return c.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return c.escapeText}});var u=n(3231);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=n(3379);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})},2189:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},4867:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function i(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,c(r.key),r)}}function o(e,t,n){return t=s(t),function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}var u=n(5442),d=n(9067),f=n(8654).createFocusTrap,p=n(679).isFocusable,h=function(e){function t(e){var n,r,i,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=n=o(this,t,[e]),a=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];n=n.apply(void 0,i)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,s=n;if("string"==typeof n&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},(i=c(i="getNodeForOption"))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a,n.handleDeactivate=n.handleDeactivate.bind(n),n.handlePostDeactivate=n.handlePostDeactivate.bind(n),n.handleClickOutsideDeactivates=n.handleClickOutsideDeactivates.bind(n),n.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:n.handleDeactivate,onPostDeactivate:n.handlePostDeactivate,clickOutsideDeactivates:n.handleClickOutsideDeactivates},n.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var s=e.focusTrapOptions;for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&("returnFocusOnDeactivate"!==l&&"onDeactivate"!==l&&"onPostDeactivate"!==l&&"checkCanReturnFocus"!==l&&"clickOutsideDeactivates"!==l?n.internalOptions[l]=s[l]:n.originalOptions[l]=s[l]);return n.outsideClick=null,n.focusTrapElements=e.containerElements||[],n.updatePreviousElement(),n}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||p(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,i=void 0!==r&&r;n&&t.focus({preventScroll:i}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();r&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?u.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===u.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return u.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&i(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(u.Component),g="undefined"==typeof Element?Function:Element;h.propTypes={active:d.bool,paused:d.bool,focusTrapOptions:d.shape({document:d.object,onActivate:d.func,onPostActivate:d.func,checkCanFocusTrap:d.func,onPause:d.func,onPostPause:d.func,onUnpause:d.func,onPostUnpause:d.func,onDeactivate:d.func,onPostDeactivate:d.func,checkCanReturnFocus:d.func,initialFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),fallbackFocus:d.oneOfType([d.instanceOf(g),d.string,d.func]),escapeDeactivates:d.oneOfType([d.bool,d.func]),clickOutsideDeactivates:d.oneOfType([d.bool,d.func]),returnFocusOnDeactivate:d.bool,setReturnFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),allowOutsideClick:d.oneOfType([d.bool,d.func]),preventScroll:d.bool,tabbableOptions:d.shape({displayCheck:d.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:d.oneOfType([d.bool,d.func])}),trapStack:d.array,isKeyForward:d.func,isKeyBackward:d.func}),containerElements:d.arrayOf(d.instanceOf(g)),children:d.oneOfType([d.element,d.instanceOf(g)])},h.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:f},e.exports=h},8654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFocusTrap:()=>g});var r=n(679);function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},l=function(e){return s(e)&&!e.shiftKey},c=function(e){return s(e)&&e.shiftKey},u=function(e){return setTimeout(e,0)},d=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},f=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];return"function"==typeof e?e.apply(void 0,n):e},p=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},h=[],g=function(e,t){var n,i=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||h,g=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:l,isKeyBackward:c},t),m={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y=function(e,t,n){return e&&void 0!==e[t]?e[t]:g[n||t]},v=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return m.containerGroups.findIndex((function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||i.find((function(t){return t===e}))}))},b=function(e){var t=g[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},I=function(){var e=b("initialFocus");if(!1===e)return!1;if(void 0===e||!(0,r.isFocusable)(e,g.tabbableOptions))if(v(i.activeElement)>=0)e=i.activeElement;else{var t=m.tabbableGroups[0];e=t&&t.firstTabbableNode||b("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},x=function(){if(m.containerGroups=m.containers.map((function(e){var t=(0,r.tabbable)(e,g.tabbableOptions),n=(0,r.focusable)(e,g.tabbableOptions),i=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,a=n.find((function(e){return(0,r.isTabbable)(e)})),s=n.slice().reverse().find((function(e){return(0,r.isTabbable)(e)})),l=!!t.find((function(e){return(0,r.getTabIndex)(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:o,firstDomTabbableNode:a,lastDomTabbableNode:s,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?i?n.slice(n.indexOf(e)+1).find((function(e){return(0,r.isTabbable)(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return(0,r.isTabbable)(e)})):t[o+(i?1:-1)]}}})),m.tabbableGroups=m.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),m.tabbableGroups.length<=0&&!b("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(m.containerGroups.find((function(e){return e.posTabIndexesFound}))&&m.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},w=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?w(t.shadowRoot):t},T=function(e){!1!==e&&e!==w(document)&&(e&&e.focus?(e.focus({preventScroll:!!g.preventScroll}),m.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):T(I()))},M=function(e){var t=b("setReturnFocus",e);return t||!1!==t&&e},A=function(e){var t=e.target,n=e.event,i=e.isBackward,o=void 0!==i&&i;t=t||p(n),x();var a=null;if(m.tabbableGroups.length>0){var l=v(t,n),c=l>=0?m.containerGroups[l]:void 0;if(l<0)a=o?m.tabbableGroups[m.tabbableGroups.length-1].lastTabbableNode:m.tabbableGroups[0].firstTabbableNode;else if(o){var u=d(m.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(u<0&&(c.container===t||(0,r.isFocusable)(t,g.tabbableOptions)&&!(0,r.isTabbable)(t,g.tabbableOptions)&&!c.nextTabbableNode(t,!1))&&(u=l),u>=0){var f=0===u?m.tabbableGroups.length-1:u-1,h=m.tabbableGroups[f];a=(0,r.getTabIndex)(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else s(n)||(a=c.nextTabbableNode(t,!1))}else{var y=d(m.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(y<0&&(c.container===t||(0,r.isFocusable)(t,g.tabbableOptions)&&!(0,r.isTabbable)(t,g.tabbableOptions)&&!c.nextTabbableNode(t))&&(y=l),y>=0){var I=y===m.tabbableGroups.length-1?0:y+1,w=m.tabbableGroups[I];a=(0,r.getTabIndex)(t)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else s(n)||(a=c.nextTabbableNode(t))}}else a=b("fallbackFocus");return a},E=function(e){var t=p(e);v(t,e)>=0||(f(g.clickOutsideDeactivates,e)?n.deactivate({returnFocus:g.returnFocusOnDeactivate}):f(g.allowOutsideClick,e)||e.preventDefault())},C=function(e){var t=p(e),n=v(t,e)>=0;if(n||t instanceof Document)n&&(m.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var o=!0;if(m.mostRecentlyFocusedNode)if((0,r.getTabIndex)(m.mostRecentlyFocusedNode)>0){var a=v(m.mostRecentlyFocusedNode),s=m.containerGroups[a].tabbableNodes;if(s.length>0){var l=s.findIndex((function(e){return e===m.mostRecentlyFocusedNode}));l>=0&&(g.isKeyForward(m.recentNavEvent)?l+1<s.length&&(i=s[l+1],o=!1):l-1>=0&&(i=s[l-1],o=!1))}}else m.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return(0,r.getTabIndex)(e)>0}))}))||(o=!1);else o=!1;o&&(i=A({target:m.mostRecentlyFocusedNode,isBackward:g.isKeyBackward(m.recentNavEvent)})),T(i||m.mostRecentlyFocusedNode||I())}m.recentNavEvent=void 0},N=function(e){(g.isKeyForward(e)||g.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m.recentNavEvent=e;var n=A({event:e,isBackward:t});n&&(s(e)&&e.preventDefault(),T(n))}(e,g.isKeyBackward(e))},S=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===f(g.escapeDeactivates,e)||(e.preventDefault(),n.deactivate())},k=function(e){var t=p(e);v(t,e)>=0||f(g.clickOutsideDeactivates,e)||f(g.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},j=function(){if(m.active)return function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)}(o,n),m.delayInitialFocusTimer=g.delayInitialFocus?u((function(){T(I())})):T(I()),i.addEventListener("focusin",C,!0),i.addEventListener("mousedown",E,{capture:!0,passive:!1}),i.addEventListener("touchstart",E,{capture:!0,passive:!1}),i.addEventListener("click",k,{capture:!0,passive:!1}),i.addEventListener("keydown",N,{capture:!0,passive:!1}),i.addEventListener("keydown",S),n},D=function(){if(m.active)return i.removeEventListener("focusin",C,!0),i.removeEventListener("mousedown",E,!0),i.removeEventListener("touchstart",E,!0),i.removeEventListener("click",k,!0),i.removeEventListener("keydown",N,!0),i.removeEventListener("keydown",S),n},L="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===m.mostRecentlyFocusedNode}))}))&&T(I())})):void 0,O=function(){L&&(L.disconnect(),m.active&&!m.paused&&m.containers.map((function(e){L.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return m.active},get paused(){return m.paused},activate:function(e){if(m.active)return this;var t=y(e,"onActivate"),n=y(e,"onPostActivate"),r=y(e,"checkCanFocusTrap");r||x(),m.active=!0,m.paused=!1,m.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var o=function(){r&&x(),j(),O(),null==n||n()};return r?(r(m.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!m.active)return this;var t=a({onDeactivate:g.onDeactivate,onPostDeactivate:g.onPostDeactivate,checkCanReturnFocus:g.checkCanReturnFocus},e);clearTimeout(m.delayInitialFocusTimer),m.delayInitialFocusTimer=void 0,D(),m.active=!1,m.paused=!1,O(),function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}(o,n);var r=y(t,"onDeactivate"),i=y(t,"onPostDeactivate"),s=y(t,"checkCanReturnFocus"),l=y(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var c=function(){u((function(){l&&T(M(m.nodeFocusedBeforeActivation)),null==i||i()}))};return l&&s?(s(M(m.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(e){if(m.paused||!m.active)return this;var t=y(e,"onPause"),n=y(e,"onPostPause");return m.paused=!0,null==t||t(),D(),O(),null==n||n(),this},unpause:function(e){if(!m.paused||!m.active)return this;var t=y(e,"onUnpause"),n=y(e,"onPostUnpause");return m.paused=!1,null==t||t(),x(),j(),O(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return m.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),m.active&&x(),O(),this}}).updateContainerElements(e),n}},7767:e=>{!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.g=document.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.g.appendChild(document.createTextNode(e)),this.h=document.createElement("span"),this.i=document.createElement("span"),this.m=document.createElement("span"),this.j=document.createElement("span"),this.l=-1,this.h.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.i.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.j.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.m.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function r(e,t){e.g.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.g.offsetWidth,n=t+100;return e.j.style.width=n+"px",e.i.scrollLeft=n,e.h.scrollLeft=e.h.scrollWidth+100,e.l!==t&&(e.l=t,!0)}function o(e,n){function r(){var e=o;i(e)&&null!==e.g.parentNode&&n(e.l)}var o=e;t(e.h,r),t(e.i,r),i(e)}function a(e,t,n){t=t||{},n=n||window,this.family=e,this.style=t.style||"normal",this.weight=t.weight||"normal",this.stretch=t.stretch||"normal",this.context=n}var s=null,l=null,c=null,u=null;function d(e){return null===u&&(u=!!e.document.fonts),u}function f(e,t){var n=e.style,r=e.weight;if(null===c){var i=document.createElement("div");try{i.style.font="condensed 100px sans-serif"}catch(e){}c=""!==i.style.font}return[n,r,c?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",c=0,u=t||3e3,p=(new Date).getTime();return new Promise((function(e,t){if(d(i.context)&&!function(e){return null===l&&(d(e)&&/Apple/.test(window.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent),l=!!e&&603>parseInt(e[1],10)):l=!1),l}(i.context)){var h=new Promise((function(e,t){!function n(){(new Date).getTime()-p>=u?t(Error(u+"ms timeout exceeded")):i.context.document.fonts.load(f(i,'"'+i.family+'"'),a).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&&(null!==w.parentNode&&w.parentNode.removeChild(w),clearTimeout(c),e(i))}var d=new n(a),h=new n(a),g=new n(a),m=-1,y=-1,v=-1,b=-1,I=-1,x=-1,w=document.createElement("div");w.dir="ltr",r(d,f(i,"sans-serif")),r(h,f(i,"serif")),r(g,f(i,"monospace")),w.appendChild(d.g),w.appendChild(h.g),w.appendChild(g.g),i.context.document.body.appendChild(w),b=d.g.offsetWidth,I=h.g.offsetWidth,x=g.g.offsetWidth,function e(){if((new Date).getTime()-p>=u)null!==w.parentNode&&w.parentNode.removeChild(w),t(Error(u+"ms timeout exceeded"));else{var n=i.context.document.hidden;!0!==n&&void 0!==n||(m=d.g.offsetWidth,y=h.g.offsetWidth,v=g.g.offsetWidth,l()),c=setTimeout(e,50)}}(),o(d,(function(e){m=e,l()})),r(d,f(i,'"'+i.family+'",sans-serif')),o(h,(function(e){y=e,l()})),r(h,f(i,'"'+i.family+'",serif')),o(g,(function(e){v=e,l()})),r(g,f(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},8447:e=>{e.exports="object"==typeof self?self.FormData:window.FormData},4291:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),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)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=o(n(6439)),s=n(3379),l=new Set(["input","option","optgroup","select","button","datalist","textarea"]),c=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),f=new Set(["rt","rp"]),p=new Map([["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",c],["h1",c],["h2",c],["h3",c],["h4",c],["h5",c],["h6",c],["select",l],["input",l],["output",l],["button",l],["datalist",l],["textarea",l],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",c],["article",c],["aside",c],["blockquote",c],["details",c],["div",c],["dl",c],["fieldset",c],["figcaption",c],["figure",c],["footer",c],["form",c],["header",c],["hr",c],["main",c],["nav",c],["ol",c],["pre",c],["section",c],["table",c],["ul",c],["rt",f],["rp",f],["tbody",u],["tfoot",u]]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),g=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),y=/\s|\//,v=function(){function e(e,t){var n,r,i,o,s;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,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!==(i=t.Tokenizer)&&void 0!==i?i:a.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,s.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&h.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&p.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),g.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),null===(i=(r=this.cbs).onopentagname)||void 0===i||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,o,a,s;this.endIndex=t;var l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(g.has(l)||m.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null===(r=(n=this.cbs).onopentagname)||void 0===r||r.call(n,"br"),null===(o=(i=this.cbs).onopentag)||void 0===o||o.call(i,"br",{},!0),null===(s=(a=this.cbs).onclosetag)||void 0===s||s.call(a,"br",!1));else{var c=this.stack.lastIndexOf(l);if(-1!==c)if(this.cbs.onclosetag)for(var u=this.stack.length-c;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=c;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(y),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,o,a;this.endIndex=t,null===(i=(r=this.cbs).oncomment)||void 0===i||i.call(r,this.getSlice(e,t-n)),null===(a=(o=this.cbs).oncommentend)||void 0===a||a.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,o,a,s,l,c,u,d,f;this.endIndex=t;var p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(i=(r=this.cbs).oncdatastart)||void 0===i||i.call(r),null===(a=(o=this.cbs).ontext)||void 0===a||a.call(o,p),null===(l=(s=this.cbs).oncdataend)||void 0===l||l.call(s)):(null===(u=(c=this.cbs).oncomment)||void 0===u||u.call(c,"[CDATA[".concat(p,"]]")),null===(f=(d=this.cbs).oncommentend)||void 0===f||f.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}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.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=v},6439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,i,o,a=n(3379);function s(e){return e===r.Space||e===r.NewLine||e===r.Tab||e===r.FormFeed||e===r.CarriageReturn}function l(e){return e===r.Slash||e===r.Gt||s(e)}function c(e){return e>=r.Zero&&e<=r.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(r||(r={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(o=t.QuoteType||(t.QuoteType={}));var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},d=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,o=e.decodeEntities,s=void 0===o||o;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=s,this.entityTrie=r?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?l(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===r.Gt||s(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var n=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=n}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===u.TitleEnd?this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===r.Lt)},e.prototype.stateCDATASequence=function(e){e===u.Cdata[this.sequenceIndex]?++this.sequenceIndex===u.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=u.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):function(e){return e>=r.LowerA&&e<=r.LowerZ||e>=r.UpperA&&e<=r.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===r.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===r.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==u.TitleEnd[2]?this.state=this.xmlMode||t!==u.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(u.TitleEnd,3)}else e===r.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){s(e)||(e===r.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===r.Gt||s(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===r.Slash?this.state=i.InSelfClosingTag:s(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):s(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===r.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===r.Eq?this.state=i.BeforeAttributeValue:e===r.Slash||e===r.Gt?(this.cbs.onattribend(o.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):s(e)||(this.cbs.onattribend(o.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===r.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===r.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):s(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===r.DoubleQuote?o.Double:o.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,r.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,r.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){s(e)||e===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===r.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===r.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===r.Dash?(this.state=i.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===r.Number?this.state=i.BeforeNumericEntity:e===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===r.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===r.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=10*this.entityResult+(e-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=16*this.entityResult+(e-r.Zero),this.entityExcess++):function(e){return e>=r.UpperA&&e<=r.UpperF||e>=r.LowerA&&e<=r.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:this.stateText(e);break;case i.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case i.InSpecialTag:this.stateInSpecialTag(e);break;case i.CDATASequence:this.stateCDATASequence(e);break;case i.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case i.InAttributeName:this.stateInAttributeName(e);break;case i.InCommentLike:this.stateInCommentLike(e);break;case i.InSpecialComment:this.stateInSpecialComment(e);break;case i.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case i.InTagName:this.stateInTagName(e);break;case i.InClosingTagName:this.stateInClosingTagName(e);break;case i.BeforeTagName:this.stateBeforeTagName(e);break;case i.AfterAttributeName:this.stateAfterAttributeName(e);break;case i.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case i.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case i.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case i.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case i.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case i.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case i.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case i.InDeclaration:this.stateInDeclaration(e);break;case i.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case i.BeforeComment:this.stateBeforeComment(e);break;case i.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case i.InNamedEntity:this.stateInNamedEntity(e);break;case i.BeforeEntity:this.stateBeforeEntity(e);break;case i.InHexEntity:this.stateInHexEntity(e);break;case i.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()||this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}();t.default=d},5482:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),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)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var s=n(4291),l=n(4291);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var c=n(1138),u=n(1138);function d(e,t){var n=new c.DomHandler(void 0,t);return new s.Parser(n,t).end(e),n.root}function f(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}}),t.parseDocument=d,t.parseDOM=f,t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new s.Parser(r,t)};var p=n(6439);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(p).default}}),t.ElementType=o(n(3338));var h=n(6403),g=n(6403);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return g.getFeed}});var m={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=m),(0,h.getFeed)(f(e,t))},t.DomUtils=o(n(6403))},993:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},4651:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,g=h.call(Object),m={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},b=r.document,I={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in I)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var T="3.7.1",M=/HTML$/i,A=function(e,t){return new A.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!y(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}A.fn=A.prototype={jquery:T,constructor:A,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=A.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return A.each(this,e)},map:function(e){return this.pushStack(A.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(A.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(A.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},A.extend=A.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(A.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||A.isPlainObject(n)?n:{},i=!1,a[t]=A.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},A.extend({expando:"jQuery"+(T+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e)||(t=a(e))&&("function"!=typeof(n=p.call(t,"constructor")&&t.constructor)||h.call(n)!==g))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){x(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(E(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r++];)n+=A.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?A.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!M.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(E(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return l(a)},guid:1,support:m}),"function"==typeof Symbol&&(A.fn[Symbol.iterator]=o[Symbol.iterator]),A.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var N=o.pop,S=o.sort,k=o.splice,j="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g");A.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var L=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function O(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}A.escapeSelector=function(e){return(e+"").replace(L,O)};var R=b,P=c;!function(){var e,t,n,i,a,l,c,d,f,h,g=P,y=A.expando,v=0,b=0,I=ee(),x=ee(),w=ee(),T=ee(),M=function(e,t){return e===t&&(a=!0),0},E="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+j+"*("+L+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+j+"*\\]",z=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",U=new RegExp(j+"+","g"),_=new RegExp("^"+j+"*,"+j+"*"),B=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),F=new RegExp(j+"|>"),G=new RegExp(z),Z=new RegExp("^"+L+"$"),H={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+E+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},q=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,W=/[+~]/,Q=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),J=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))},X=function(){le()},$=fe((function(e){return!0===e.disabled&&C(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(o=s.call(R.childNodes),R.childNodes),o[R.childNodes.length].nodeType}catch(e){g={apply:function(e,t){P.apply(e,s.call(t))},call:function(e){P.apply(e,s.call(arguments,1))}}}function K(e,t,n,r){var i,o,a,s,c,u,p,h=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!r&&(le(t),t=t||l,d)){if(11!==v&&(c=Y.exec(e)))if(i=c[1]){if(9===v){if(!(a=t.getElementById(i)))return n;if(a.id===i)return g.call(n,a),n}else if(h&&(a=h.getElementById(i))&&K.contains(t,a)&&a.id===i)return g.call(n,a),n}else{if(c[2])return g.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&t.getElementsByClassName)return g.apply(n,t.getElementsByClassName(i)),n}if(!(T[e+" "]||f&&f.test(e))){if(p=e,h=t,1===v&&(F.test(e)||B.test(e))){for((h=W.test(e)&&se(t.parentNode)||t)==t&&m.scope||((s=t.getAttribute("id"))?s=A.escapeSelector(s):t.setAttribute("id",s=y)),o=(u=ue(e)).length;o--;)u[o]=(s?"#"+s:":scope")+" "+de(u[o]);p=u.join(",")}try{return g.apply(n,h.querySelectorAll(p)),n}catch(t){T(e,!0)}finally{s===y&&t.removeAttribute("id")}}}return ve(e.replace(D,"$1"),t,n,r)}function ee(){var e=[];return function n(r,i){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=i}}function te(e){return e[y]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return C(t,"input")&&t.type===e}}function ie(e){return function(t){return(C(t,"input")||C(t,"button"))&&t.type===e}}function oe(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&&$(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:R;return r!=l&&9===r.nodeType&&r.documentElement?(c=(l=r).documentElement,d=!A.isXMLDoc(l),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&R!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",X),m.getById=ne((function(e){return c.appendChild(e).id=A.expando,!l.getElementsByName||!l.getElementsByName(A.expando).length})),m.disconnectedMatch=ne((function(e){return h.call(e,"*")})),m.scope=ne((function(){return l.querySelectorAll(":scope")})),m.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),m.getById?(t.filter.ID=function(e){var t=e.replace(Q,J);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(Q,J);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},f=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+y+"' href='' disabled='disabled'></a><select id='"+y+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||f.push("\\["+j+"*(?:value|"+E+")"),e.querySelectorAll("[id~="+y+"-]").length||f.push("~="),e.querySelectorAll("a#"+y+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")")})),m.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),M=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!m.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==R&&K.contains(R,e)?-1:t===l||t.ownerDocument==R&&K.contains(R,t)?1:i?u.call(i,e)-u.call(i,t):0:4&n?-1:1)},l):l}for(e in K.matches=function(e,t){return K(e,null,null,t)},K.matchesSelector=function(e,t){if(le(e),d&&!T[t+" "]&&(!f||!f.test(t)))try{var n=h.call(e,t);if(n||m.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){T(t,!0)}return K(t,l,null,[e]).length>0},K.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),A.contains(e,t)},K.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],i=r&&p.call(t.attrHandle,n.toLowerCase())?r(e,n,!d):void 0;return void 0!==i?i:e.getAttribute(n)},K.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,n=[],r=0,o=0;if(a=!m.sortStable,i=!m.sortStable&&s.call(e,0),S.call(e,M),a){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)k.call(e,n[r],1)}return i=null,e},A.fn.uniqueSort=function(){return this.pushStack(A.uniqueSort(s.apply(this)))},t=A.expr={cacheLength:50,createPseudo:te,match:H,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(Q,J),e[3]=(e[3]||e[4]||e[5]||"").replace(Q,J),"~="===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]||K.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]&&K.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return H.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=ue(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(Q,J).toLowerCase();return"*"===e?function(){return!0}:function(e){return C(e,t)}},CLASS:function(e){var t=I[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&I(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=K.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(U," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="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=o!==a?"nextSibling":"previousSibling",g=t.parentNode,m=s&&t.nodeName.toLowerCase(),b=!l&&!s,I=!1;if(g){if(o){for(;h;){for(d=t;d=d[h];)if(s?C(d,m):1===d.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&b){for(I=(f=(c=(u=g[y]||(g[y]={}))[e]||[])[0]===v&&c[1])&&c[2],d=f&&g.childNodes[f];d=++f&&d&&d[h]||(I=f=0)||p.pop();)if(1===d.nodeType&&++I&&d===t){u[e]=[v,f,I];break}}else if(b&&(I=f=(c=(u=t[y]||(t[y]={}))[e]||[])[0]===v&&c[1]),!1===I)for(;(d=++f&&d&&d[h]||(I=f=0)||p.pop())&&(!(s?C(d,m):1===d.nodeType)||!++I||(b&&((u=d[y]||(d[y]={}))[e]=[v,I]),d!==t)););return(I-=i)===r||I%r==0&&I/r>=0}}},PSEUDO:function(e,n){var r,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||K.error("unsupported pseudo: "+e);return i[y]?i(n):i.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,o=i(e,n),a=o.length;a--;)e[r=u.call(e,o[a])]=!(t[r]=o[a])})):function(e){return i(e,0,r)}):i}},pseudos:{not:te((function(e){var t=[],n=[],r=ye(e.replace(D,"$1"));return r[y]?te((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return K(e,t).length>0}})),contains:te((function(e){return e=e.replace(Q,J),function(t){return(t.textContent||A.text(t)).indexOf(e)>-1}})),lang:te((function(e){return Z.test(e||"")||K.error("unsupported lang: "+e),e=e.replace(Q,J).toLowerCase(),function(t){var n;do{if(n=d?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(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return C(e,"input")&&!!e.checked||C(e,"option")&&!!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!t.pseudos.empty(e)},header:function(e){return V.test(e.nodeName)},input:function(e){return q.test(e.nodeName)},button:function(e){return C(e,"input")&&"button"===e.type||C(e,"button")},text:function(e){var t;return C(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ie(e);function ce(){}function ue(e,n){var r,i,o,a,s,l,c,u=x[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in r&&!(i=_.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=B.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(D," ")}),s=s.slice(r.length)),t.filter)!(i=H[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?K.error(e):x(e,l).slice(0)}function de(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function fe(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=b++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,l){var c,u,d=[v,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=t[y]||(t[y]={}),i&&C(t,i))t=t[r]||t;else{if((c=u[o])&&c[0]===v&&c[1]===s)return d[2]=c[2];if(u[o]=d,d[2]=e(t,n,l))return!0}return!1}}function pe(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 he(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function ge(e,t,n,r,i,o){return r&&!r[y]&&(r=ge(r)),i&&!i[y]&&(i=ge(i,o)),te((function(o,a,s,l){var c,d,f,p,h=[],m=[],y=a.length,v=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)K(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),b=!e||!o&&t?v:he(v,h,e,s,l);if(n?n(b,p=i||(o?e:y||r)?[]:a,s,l):p=b,r)for(c=he(p,m),r(c,[],s,l),d=c.length;d--;)(f=c[d])&&(p[m[d]]=!(b[m[d]]=f));if(o){if(i||e){if(i){for(c=[],d=p.length;d--;)(f=p[d])&&c.push(b[d]=f);i(null,p=[],c,l)}for(d=p.length;d--;)(f=p[d])&&(c=i?u.call(o,f):h[d])>-1&&(o[c]=!(a[c]=f))}}else p=he(p===a?p.splice(y,p.length):p),i?i(null,a,p,l):g.apply(a,p)}))}function me(e){for(var r,i,o,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,d=fe((function(e){return e===r}),l,!0),f=fe((function(e){return u.call(r,e)>-1}),l,!0),p=[function(e,t,i){var o=!s&&(i||t!=n)||((r=t).nodeType?d(e,t,i):f(e,t,i));return r=null,o}];c<a;c++)if(i=t.relative[e[c].type])p=[fe(pe(p),i)];else{if((i=t.filter[e[c].type].apply(null,e[c].matches))[y]){for(o=++c;o<a&&!t.relative[e[o].type];o++);return ge(c>1&&pe(p),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(D,"$1"),i,c<o&&me(e.slice(c,o)),o<a&&me(e=e.slice(o)),o<a&&de(e))}p.push(i)}return pe(p)}function ye(e,r){var i,o=[],a=[],s=w[e+" "];if(!s){for(r||(r=ue(e)),i=r.length;i--;)(s=me(r[i]))[y]?o.push(s):a.push(s);s=w(e,function(e,r){var i=r.length>0,o=e.length>0,a=function(a,s,c,u,f){var p,h,m,y=0,b="0",I=a&&[],x=[],w=n,T=a||o&&t.find.TAG("*",f),M=v+=null==w?1:Math.random()||.1,E=T.length;for(f&&(n=s==l||s||f);b!==E&&null!=(p=T[b]);b++){if(o&&p){for(h=0,s||p.ownerDocument==l||(le(p),c=!d);m=e[h++];)if(m(p,s||l,c)){g.call(u,p);break}f&&(v=M)}i&&((p=!m&&p)&&y--,a&&I.push(p))}if(y+=b,i&&b!==y){for(h=0;m=r[h++];)m(I,x,s,c);if(a){if(y>0)for(;b--;)I[b]||x[b]||(x[b]=N.call(u));x=he(x)}g.apply(u,x),f&&!a&&x.length>0&&y+r.length>1&&A.uniqueSort(u)}return f&&(v=M,n=w),I};return i?te(a):a}(a,o)),s.selector=e}return s}function ve(e,n,r,i){var o,a,s,l,c,u="function"==typeof e&&e,f=!i&&ue(e=u.selector||e);if(r=r||[],1===f.length){if((a=f[0]=f[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&d&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(Q,J),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(o=H.needsContext.test(e)?0:a.length;o--&&(s=a[o],!t.relative[l=s.type]);)if((c=t.find[l])&&(i=c(s.matches[0].replace(Q,J),W.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(o,1),!(e=i.length&&de(a)))return g.apply(r,i),r;break}}return(u||ye(e,f))(i,n,!d,r,!n||W.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,m.sortStable=y.split("").sort(M).join("")===y,le(),m.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),A.find=K,A.expr[":"]=A.expr.pseudos,A.unique=A.uniqueSort,K.compile=ye,K.select=ve,K.setDocument=le,K.tokenize=ue,K.escape=A.escapeSelector,K.getText=A.text,K.isXML=A.isXMLDoc,K.selectors=A.expr,K.support=A.support,K.uniqueSort=A.uniqueSort}();var z=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&A(e).is(n))break;r.push(e)}return r},U=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},_=A.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,n){return y(t)?A.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?A.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?A.grep(e,(function(e){return u.call(t,e)>-1!==n})):A.filter(t,e,n)}A.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?A.find.matchesSelector(r,e)?[r]:[]:A.find.matches(e,A.grep(t,(function(e){return 1===e.nodeType})))},A.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(A(e).filter((function(){for(t=0;t<r;t++)if(A.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)A.find(e,i[t],n);return r>1?A.uniqueSort(n):n},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&_.test(e)?A(e):e||[],!1).length}});var G,Z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||G,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Z.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 A?t[0]:t,A.merge(this,A.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),B.test(r[1])&&A.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(A):A.makeArray(e,this)}).prototype=A.fn,G=A(b);var H=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function V(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}A.fn.extend({has:function(e){var t=A(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(A.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&A(e);if(!_.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&A.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?A.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(A(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(A.uniqueSort(A.merge(this.get(),A(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),A.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return z(e,"parentNode")},parentsUntil:function(e,t,n){return z(e,"parentNode",n)},next:function(e){return V(e,"nextSibling")},prev:function(e){return V(e,"previousSibling")},nextAll:function(e){return z(e,"nextSibling")},prevAll:function(e){return z(e,"previousSibling")},nextUntil:function(e,t,n){return z(e,"nextSibling",n)},prevUntil:function(e,t,n){return z(e,"previousSibling",n)},siblings:function(e){return U((e.parentNode||{}).firstChild,e)},children:function(e){return U(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(C(e,"template")&&(e=e.content||e),A.merge([],e.childNodes))}},(function(e,t){A.fn[e]=function(n,r){var i=A.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=A.filter(r,i)),this.length>1&&(q[e]||A.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}}));var Y=/[^\x20\t\r\n\f]+/g;function W(e){return e}function Q(e){throw e}function J(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])}}A.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return A.each(e.match(Y)||[],(function(e,n){t[n]=!0})),t}(e):A.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){A.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return A.each(arguments,(function(e,t){for(var n;(n=A.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?A.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},A.extend({Deferred:function(e){var t=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return A.Deferred((function(n){A.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];o[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,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<o)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,y(c)?i?c.call(r,a(o,t,W,i),a(o,t,Q,i)):(o++,c.call(r,a(o,t,W,i),a(o,t,Q,i),a(o,t,W,t.notifyWith))):(n!==W&&(s=void 0,l=[r]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(r){A.Deferred.exceptionHook&&A.Deferred.exceptionHook(r,u.error),e+1>=o&&(n!==Q&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(A.Deferred.getErrorHook?u.error=A.Deferred.getErrorHook():A.Deferred.getStackHook&&(u.error=A.Deferred.getStackHook()),r.setTimeout(u))}}return A.Deferred((function(r){t[0][3].add(a(0,r,y(i)?i:W,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:W)),t[2][3].add(a(0,r,y(n)?n:Q))})).promise()},promise:function(e){return null!=e?A.extend(e,i):i}},o={};return A.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=A.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(J(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)J(i[n],a(n),o.reject);return o.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&X.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},A.readyException=function(e){r.setTimeout((function(){throw e}))};var $=A.Deferred();function K(){b.removeEventListener("DOMContentLoaded",K),r.removeEventListener("load",K),A.ready()}A.fn.ready=function(e){return $.then(e).catch((function(e){A.readyException(e)})),this},A.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--A.readyWait:A.isReady)||(A.isReady=!0,!0!==e&&--A.readyWait>0||$.resolveWith(b,[A]))}}),A.ready.then=$.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(A.ready):(b.addEventListener("DOMContentLoaded",K),r.addEventListener("load",K));var ee=function(e,t,n,r,i,o,a){var s=0,l=e.length,c=null==n;if("object"===w(n))for(s in i=!0,n)ee(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(A(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):o},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function ie(e){return e.replace(te,"ms-").replace(ne,re)}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=A.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(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[ie(t)]=n;else for(r in t)i[ie(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ie(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(ie):(t=ie(t))in r?[t]:t.match(Y)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||A.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&&!A.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function de(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}A.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return se.access(e,t,n)},_removeData:function(e,t){se.remove(e,t)}}),A.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=le.get(o),1===o.nodeType&&!se.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=ie(r.slice(5)),de(o,r,i[r]));se.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=le.get(o,e))||void 0!==(n=de(o,e))?n:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),A.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,A.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=A.queue(e,t),r=n.length,i=n.shift(),o=A._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){A.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:A.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),A.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?A.queue(this[0],e):void 0===t?this:this.each((function(){var n=A.queue(this,e,t);A._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&A.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){A.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=A.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=se.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pe=new RegExp("^(?:([+-])=|)("+fe+")([a-z%]*)$","i"),he=["Top","Right","Bottom","Left"],ge=b.documentElement,me=function(e){return A.contains(e.ownerDocument,e)},ye={composed:!0};ge.getRootNode&&(me=function(e){return A.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&me(e)&&"none"===A.css(e,"display")};function be(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return A.css(e,t,"")},l=s(),c=n&&n[3]||(A.cssNumber[t]?"":"px"),u=e.nodeType&&(A.cssNumber[t]||"px"!==c&&+l)&&pe.exec(A.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)A.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,A.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 Ie={};function xe(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ie[r];return i||(t=n.body.appendChild(n.createElement(r)),i=A.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ie[r]=i,i)}function we(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=se.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ve(r)&&(i[o]=xe(r))):"none"!==n&&(i[o]="none",se.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}A.fn.extend({show:function(){return we(this,!0)},hide:function(){return we(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ve(this)?A(this).show():A(this).hide()}))}});var Te,Me,Ae=/^(?:checkbox|radio)$/i,Ee=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;Te=b.createDocumentFragment().appendChild(b.createElement("div")),(Me=b.createElement("input")).setAttribute("type","radio"),Me.setAttribute("checked","checked"),Me.setAttribute("name","t"),Te.appendChild(Me),m.checkClone=Te.cloneNode(!0).cloneNode(!0).lastChild.checked,Te.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!Te.cloneNode(!0).lastChild.defaultValue,Te.innerHTML="<option></option>",m.option=!!Te.lastChild;var Ne={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 Se(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&C(e,t)?A.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n<r;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Ne.tbody=Ne.tfoot=Ne.colgroup=Ne.caption=Ne.thead,Ne.th=Ne.td,m.option||(Ne.optgroup=Ne.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function De(e,t,n,r,i){for(var o,a,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===w(o))A.merge(f,o.nodeType?[o]:o);else if(je.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(Ee.exec(o)||["",""])[1].toLowerCase(),l=Ne[s]||Ne._default,a.innerHTML=l[1]+A.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;A.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",p=0;o=f[p++];)if(r&&A.inArray(o,r)>-1)i&&i.push(o);else if(c=me(o),a=Se(d.appendChild(o),"script"),c&&ke(a),n)for(u=0;o=a[u++];)Ce.test(o.type||"")&&n.push(o);return d}var Le=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Re(){return!1}function Pe(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Pe(e,s,n,r,t[s],o);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=Re;else if(!i)return e;return 1===o&&(a=i,i=function(e){return A().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=A.guid++)),e.each((function(){A.event.add(this,t,i,r,n)}))}function ze(e,t,n){n?(se.set(e,t,!1),A.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(A.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,A.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===se.get(e,t)&&A.event.add(e,t,Oe)}A.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,g,m=se.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&A.find.matchesSelector(ge,i),n.guid||(n.guid=A.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==A&&A.event.triggered!==t.type?A.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(Y)||[""]).length;c--;)p=g=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=A.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=A.event.special[p]||{},u=A.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&A.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),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),A.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,g,m=se.hasData(e)&&se.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(Y)||[""]).length;c--;)if(p=g=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=A.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)u=f[o],!i&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||A.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)A.event.remove(e,p+t[c],n,r,!0);A.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=A.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=A.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(a=A.event.handlers.call(this,l,c),t=0;(i=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(r=((A.event.special[o.origType]||{}).handle||o.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,o,a,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(o=[],a={},n=0;n<l;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?A(i,this).index(c)>-1:A.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(A.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[A.expando]?e:new A.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&C(t,"input")&&ze(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&C(t,"input")&&ze(t,"click"),!0},_default:function(e){var t=e.target;return Ae.test(t.type)&&t.click&&C(t,"input")&&se.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},A.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},A.Event=function(e,t){if(!(this instanceof A.Event))return new A.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Re,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&&A.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[A.expando]=!0},A.Event.prototype={constructor:A.Event,isDefaultPrevented:Re,isPropagationStopped:Re,isImmediatePropagationStopped:Re,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},A.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},A.event.addProp),A.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=se.get(this,"handle"),r=A.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else A.event.simulate(t,e.target,A.event.fix(e))}A.event.special[e]={setup:function(){var r;if(ze(this,e,!0),!b.documentMode)return!1;(r=se.get(this,t))||this.addEventListener(t,n),se.set(this,t,(r||0)+1)},trigger:function(){return ze(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,n),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},A.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=se.get(i,t);o||(b.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),se.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=se.get(i,t)-1;o?se.set(i,t,o):(b.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),se.remove(i,t))}}})),A.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){A.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||A.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),A.fn.extend({on:function(e,t,n,r){return Pe(this,e,t,n,r)},one:function(e,t,n,r){return Pe(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,A(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=Re),this.each((function(){A.event.remove(this,e,n,t)}))}});var Ue=/<script|<style|<link/i,_e=/checked\s*(?:[^=]|=\s*.checked.)/i,Be=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Fe(e,t){return C(e,"table")&&C(11!==t.nodeType?t:t.firstChild,"tr")&&A(e).children("tbody")[0]||e}function Ge(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ze(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(i in se.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)A.event.add(t,i,s[i][n]);le.hasData(e)&&(o=le.access(e),a=A.extend({},o),le.set(t,a))}}function qe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ae.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ve(e,t,n,r){t=l(t);var i,o,a,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&&_e.test(h))return e.each((function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),Ve(o,t,n,r)}));if(f&&(o=(i=De(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=A.map(Se(i,"script"),Ge)).length;d<f;d++)c=i,d!==p&&(c=A.clone(c,!0,!0),s&&A.merge(a,Se(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,A.map(a,Ze),d=0;d<s;d++)c=a[d],Ce.test(c.type||"")&&!se.access(c,"globalEval")&&A.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?A._evalUrl&&!c.noModule&&A._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(Be,""),c,u))}return e}function Ye(e,t,n){for(var r,i=t?A.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||A.cleanData(Se(r)),r.parentNode&&(n&&me(r)&&ke(Se(r,"script")),r.parentNode.removeChild(r));return e}A.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=me(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||A.isXMLDoc(e)))for(a=Se(s),r=0,i=(o=Se(e)).length;r<i;r++)qe(o[r],a[r]);if(t)if(n)for(o=o||Se(e),a=a||Se(s),r=0,i=o.length;r<i;r++)He(o[r],a[r]);else He(e,s);return(a=Se(s,"script")).length>0&&ke(a,!l&&Se(e,"script")),s},cleanData:function(e){for(var t,n,r,i=A.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)i[r]?A.event.remove(n,r):A.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),A.fn.extend({detach:function(e){return Ye(this,e,!0)},remove:function(e){return Ye(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?A.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 Ve(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)}))},prepend:function(){return Ve(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ve(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ve(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&&(A.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return A.clone(this,e,t)}))},html:function(e){return ee(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&&!Ue.test(e)&&!Ne[(Ee.exec(e)||["",""])[1].toLowerCase()]){e=A.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(A.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ve(this,arguments,(function(t){var n=this.parentNode;A.inArray(this,e)<0&&(A.cleanData(Se(this)),n&&n.replaceChild(t,this))}),e)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){A.fn[e]=function(e){for(var n,r=[],i=A(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),A(i[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var We=new RegExp("^("+fe+")(?!px)[a-z%]+$","i"),Qe=/^--/,Je=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Xe=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},$e=new RegExp(he.join("|"),"i");function Ke(e,t,n){var r,i,o,a,s=Qe.test(t),l=e.style;return(n=n||Je(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(D,"$1")||void 0),""!==a||me(e)||(a=A.style(e,t)),!m.pixelBoxStyles()&&We.test(a)&&$e.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=i,l.maxWidth=o)),void 0!==a?a+"":a}function et(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%",ge.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),ge.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,a,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,A.extend(m,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ge.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ge.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,rt={};function it(e){return A.cssProps[e]||rt[e]||(e in nt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var r=pe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,i,o){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=A.css(e,n+he[a],!0,i)),r?("content"===n&&(l-=A.css(e,"padding"+he[a],!0,i)),"margin"!==n&&(l-=A.css(e,"border"+he[a]+"Width",!0,i))):(l+=A.css(e,"padding"+he[a],!0,i),"padding"!==n?l+=A.css(e,"border"+he[a]+"Width",!0,i):s+=A.css(e,"border"+he[a]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l+c}function ut(e,t,n){var r=Je(e),i=(!m.boxSizingReliable()||n)&&"border-box"===A.css(e,"boxSizing",!1,r),o=i,a=Ke(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(We.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&C(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===A.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===A.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(i?"border":"content"),o,r,a)+"px"}function dt(e,t,n,r,i){return new dt.prototype.init(e,t,n,r,i)}A.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ke(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ie(t),l=Qe.test(t),c=e.style;if(l||(t=it(s)),a=A.cssHooks[t]||A.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"==(o=typeof n)&&(i=pe.exec(n))&&i[1]&&(n=be(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(A.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=ie(t);return Qe.test(t)||(t=it(s)),(a=A.cssHooks[t]||A.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ke(e,t,r)),"normal"===i&&t in st&&(i=st[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),A.each(["height","width"],(function(e,t){A.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(A.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Xe(e,at,(function(){return ut(e,t,r)}))},set:function(e,n,r){var i,o=Je(e),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===A.css(e,"boxSizing",!1,o),l=r?ct(e,t,r,s,o):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ct(e,t,"border",!1,o)-.5)),l&&(i=pe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=A.css(e,t)),lt(0,n,l)}}})),A.cssHooks.marginLeft=et(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ke(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),A.each({margin:"",padding:"",border:"Width"},(function(e,t){A.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+he[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(A.cssHooks[e+t].set=lt)})),A.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Je(e),i=t.length;a<i;a++)o[t[a]]=A.css(e,t[a],!1,r);return o}return void 0!==n?A.style(e,t,n):A.css(e,t)}),e,t,arguments.length>1)}}),A.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||A.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(A.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=A.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):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.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=A.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){A.fx.step[e.prop]?A.fx.step[e.prop](e):1!==e.elem.nodeType||!A.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:A.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},A.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},A.fx=dt.prototype.init,A.fx.step={};var ft,pt,ht=/^(?:toggle|show|hide)$/,gt=/queueHooks$/;function mt(){pt&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(mt):r.setTimeout(mt,A.fx.interval),A.fx.tick())}function yt(){return r.setTimeout((function(){ft=void 0})),ft=Date.now()}function vt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=he[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function bt(e,t,n){for(var r,i=(It.tweeners[t]||[]).concat(It.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function It(e,t,n){var r,i,o=0,a=It.prefilters.length,s=A.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=ft||yt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:A.extend({},t),opts:A.extend(!0,{specialEasing:{},easing:A.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||yt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=A.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,o,a;for(n in e)if(i=t[r=ie(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=A.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);o<a;o++)if(r=It.prefilters[o].call(c,e,u,c.opts))return y(r.stop)&&(A._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return A.map(u,bt,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),A.fx.timer(A.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}A.Animation=A.extend(It,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,pe.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(Y);for(var n,r=0,i=e.length;r<i;r++)n=e[r],It.tweeners[n]=It.tweeners[n]||[],It.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,g=e.nodeType&&ve(e),m=se.get(e,"fxshow");for(r in n.queue||(null==(a=A._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,A.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],ht.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||A.style(e,r)}if((l=!A.isEmptyObject(t))||!A.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=se.get(e,"display")),"none"===(u=A.css(e,"display"))&&(c?u=c:(we([e],!0),c=e.style.display||c,u=A.css(e,"display"),we([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===A.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=se.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&we([e],!0),f.done((function(){for(r in g||we([e]),se.remove(e,"fxshow"),p)A.style(e,r,p[r])}))),l=bt(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?It.prefilters.unshift(e):It.prefilters.push(e)}}),A.speed=function(e,t,n){var r=e&&"object"==typeof e?A.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return A.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in A.fx.speeds?r.duration=A.fx.speeds[r.duration]:r.duration=A.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&&A.dequeue(this,r.queue)},r},A.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ve).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=A.isEmptyObject(e),o=A.speed(t,n,r),a=function(){var t=It(this,A.extend({},e),o);(i||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},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",o=A.timers,a=se.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&gt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||A.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=se.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=A.timers,a=r?r.length:0;for(n.finish=!0,A.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),A.each(["toggle","show","hide"],(function(e,t){var n=A.fn[t];A.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(vt(t,!0),e,r,i)}})),A.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){A.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),A.timers=[],A.fx.tick=function(){var e,t=0,n=A.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||A.fx.stop(),ft=void 0},A.fx.timer=function(e){A.timers.push(e),A.fx.start()},A.fx.interval=13,A.fx.start=function(){pt||(pt=!0,mt())},A.fx.stop=function(){pt=null},A.fx.speeds={slow:600,fast:200,_default:400},A.fn.delay=function(e,t){return e=A.fx&&A.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.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 xt,wt=A.expr.attrHandle;A.fn.extend({attr:function(e,t){return ee(this,A.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){A.removeAttr(this,e)}))}}),A.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?A.prop(e,t,n):(1===o&&A.isXMLDoc(e)||(i=A.attrHooks[t.toLowerCase()]||(A.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void A.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=A.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&C(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(Y);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),xt={set:function(e,t,n){return!1===t?A.removeAttr(e,n):e.setAttribute(n,n),n}},A.each(A.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=wt[t]||A.find.attr;wt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=wt[a],wt[a]=i,i=null!=n(e,t,r)?a:null,wt[a]=o),i}}));var Tt=/^(?:input|select|textarea|button)$/i,Mt=/^(?:a|area)$/i;function At(e){return(e.match(Y)||[]).join(" ")}function Et(e){return e.getAttribute&&e.getAttribute("class")||""}function Ct(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Y)||[]}A.fn.extend({prop:function(e,t){return ee(this,A.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[A.propFix[e]||e]}))}}),A.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&A.isXMLDoc(e)||(t=A.propFix[t]||t,i=A.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=A.find.attr(e,"tabindex");return t?parseInt(t,10):Tt.test(e.nodeName)||Mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(A.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)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){A.propFix[this.toLowerCase()]=this})),A.fn.extend({addClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){A(this).addClass(e.call(this,t,Et(this)))})):(t=Ct(e)).length?this.each((function(){if(r=Et(this),n=1===this.nodeType&&" "+At(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=At(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){A(this).removeClass(e.call(this,t,Et(this)))})):arguments.length?(t=Ct(e)).length?this.each((function(){if(r=Et(this),n=1===this.nodeType&&" "+At(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=At(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return y(e)?this.each((function(n){A(this).toggleClass(e.call(this,n,Et(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Ct(e),this.each((function(){if(s)for(o=A(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==a||((r=Et(this))&&se.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+At(Et(n))+" ").indexOf(t)>-1)return!0;return!1}});var Nt=/\r/g;A.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,A(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=A.map(i,(function(e){return null==e?"":e+""}))),(t=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=A.valHooks[i.type]||A.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Nt,""):null==n?"":n:void 0}}),A.extend({valHooks:{option:{get:function(e){var t=A.find.attr(e,"value");return null!=t?t:At(A.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(t=A(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=A.makeArray(t),a=i.length;a--;)((r=i[a]).selected=A.inArray(A.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),A.each(["radio","checkbox"],(function(){A.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=A.inArray(A(e).val(),t)>-1}},m.checkOn||(A.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var St=r.location,kt={guid:Date.now()},jt=/\?/;A.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||A.error("Invalid XML: "+(n?A.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};A.extend(A.event,{trigger:function(e,t,n,i){var o,a,s,l,c,u,d,f,h=[n||b],g=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(g+A.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[A.expando]?e:new A.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=n),t=null==t?[e]:A.makeArray(t,[e]),d=A.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!v(n)){for(l=d.delegateType||g,Dt.test(l+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?l:d.bindType||g,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&oe(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!oe(n)||c&&y(n[g])&&!v(n)&&((s=n[c])&&(n[c]=null),A.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,Lt),n[g](),e.isPropagationStopped()&&f.removeEventListener(g,Lt),A.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=A.extend(new A.Event,n,{type:e,isSimulated:!0});A.event.trigger(r,null,t)}}),A.fn.extend({trigger:function(e,t){return this.each((function(){A.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return A.event.trigger(e,t,n,!0)}});var Ot=/\[\]$/,Rt=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;function Ut(e,t,n,r){var i;if(Array.isArray(t))A.each(t,(function(t,i){n||Ot.test(e)?r(e,i):Ut(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==w(t))r(e,t);else for(i in t)Ut(e+"["+i+"]",t[i],n,r)}A.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&&!A.isPlainObject(e))A.each(e,(function(){i(this.name,this.value)}));else for(n in e)Ut(n,e[n],t,i);return r.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=A.prop(this,"elements");return e?A.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!A(this).is(":disabled")&&zt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!Ae.test(e))})).map((function(e,t){var n=A(this).val();return null==n?null:Array.isArray(n)?A.map(n,(function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}})):{name:t.name,value:n.replace(Rt,"\r\n")}})).get()}});var _t=/%20/g,Bt=/#.*$/,Ft=/([?&])_=[^&]*/,Gt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Zt=/^(?:GET|HEAD)$/,Ht=/^\/\//,qt={},Vt={},Yt="*/".concat("*"),Wt=b.createElement("a");function Qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Y)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Jt(e,t,n,r){var i={},o=e===Vt;function a(s){var l;return i[s]=!0,A.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Xt(e,t){var n,r,i=A.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&A.extend(!0,e,r),e}Wt.href=St.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Yt,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":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Xt(Xt(e,A.ajaxSettings),t):Xt(A.ajaxSettings,e)},ajaxPrefilter:Qt(qt),ajaxTransport:Qt(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,l,c,u,d,f,p=A.ajaxSetup({},t),h=p.context||p,g=p.context&&(h.nodeType||h.jquery)?A(h):A.event,m=A.Deferred(),y=A.Callbacks("once memory"),v=p.statusCode||{},I={},x={},w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Gt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o: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)T.always(e[T.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),M(0,t),this}};if(m.promise(T),p.url=((e||p.url||St.href)+"").replace(Ht,St.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Y)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Wt.protocol+"//"+Wt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=A.param(p.data,p.traditional)),Jt(qt,p,t,T),c)return T;for(d in(u=A.event&&p.global)&&0==A.active++&&A.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Zt.test(p.type),i=p.url.replace(Bt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(_t,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(jt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Ft,"$1"),f=(jt.test(i)?"&":"?")+"_="+kt.guid+++f),p.url=i+f),p.ifModified&&(A.lastModified[i]&&T.setRequestHeader("If-Modified-Since",A.lastModified[i]),A.etag[i]&&T.setRequestHeader("If-None-Match",A.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Yt+"; q=0.01":""):p.accepts["*"]),p.headers)T.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,T,p)||c))return T.abort();if(w="abort",y.add(p.complete),T.done(p.success),T.fail(p.error),n=Jt(Vt,p,t,T)){if(T.readyState=1,u&&g.trigger("ajaxSend",[T,p]),c)return T;p.async&&p.timeout>0&&(s=r.setTimeout((function(){T.abort("timeout")}),p.timeout));try{c=!1,n.send(I,M)}catch(e){if(c)throw e;M(-1,e)}}else M(-1,"No Transport");function M(e,t,a,l){var d,f,b,I,x,w=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=l||"",T.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(I=function(e,t,n){for(var r,i,o,a,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)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,T,a)),!d&&A.inArray("script",p.dataTypes)>-1&&A.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),I=function(e,t,n,r){var i,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,I,T,d),d?(p.ifModified&&((x=T.getResponseHeader("Last-Modified"))&&(A.lastModified[i]=x),(x=T.getResponseHeader("etag"))&&(A.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))),T.status=e,T.statusText=(t||w)+"",d?m.resolveWith(h,[f,w,T]):m.rejectWith(h,[T,w,b]),T.statusCode(v),v=void 0,u&&g.trigger(d?"ajaxSuccess":"ajaxError",[T,p,d?f:b]),y.fireWith(h,[T,w]),u&&(g.trigger("ajaxComplete",[T,p]),--A.active||A.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return A.get(e,t,n,"json")},getScript:function(e,t){return A.get(e,void 0,t,"script")}}),A.each(["get","post"],(function(e,t){A[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),A.ajax(A.extend({url:e,type:t,dataType:i,data:n,success:r},A.isPlainObject(e)&&e))}})),A.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),A._evalUrl=function(e,t,n){return A.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){A.globalEval(e,t,n)}})},A.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=A(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){A(this).wrapInner(e.call(this,t))})):this.each((function(){var t=A(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){A(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){A(this).replaceWith(this.childNodes)})),this}}),A.expr.pseudos.hidden=function(e){return!A.expr.pseudos.visible(e)},A.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var $t={0:200,1223:204},Kt=A.ajaxSettings.xhr();m.cors=!!Kt&&"withCredentials"in Kt,m.ajax=Kt=!!Kt,A.ajaxTransport((function(e){var t,n;if(m.cors||Kt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o($t[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(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),A.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),A.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 A.globalEval(e),e}}}),A.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),A.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=A("<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 en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;A.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||A.expando+"_"+kt.guid++;return this[e]=!0,e}}),A.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.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(nn,"$1"+i):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||A.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?A(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,tn.push(i)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),m.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),A.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),o=!n&&[],(i=B.exec(e))?[t.createElement(i[1])]:(i=De([e],t,o),o&&o.length&&A(o).remove(),A.merge([],i.childNodes)));var r,i,o},A.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=At(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&A.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?A("<div>").append(A.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},A.expr.pseudos.animated=function(e){return A.grep(A.timers,(function(t){return e===t.elem})).length},A.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c=A.css(e,"position"),u=A(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=A.css(e,"top"),l=A.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(r=u.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),y(t)&&(t=t.call(e,n,A.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},A.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){A.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"===A.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"===A.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=A(e).offset()).top+=A.css(e,"borderTopWidth",!0),i.left+=A.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-A.css(r,"marginTop",!0),left:t.left-i.left-A.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===A.css(e,"position");)e=e.offsetParent;return e||ge}))}}),A.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;A.fn[e]=function(r){return ee(this,(function(e,r,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),A.each(["top","left"],(function(e,t){A.cssHooks[t]=et(m.pixelPosition,(function(e,n){if(n)return n=Ke(e,t),We.test(n)?A(e).position()[t]+"px":n}))})),A.each({Height:"height",Width:"width"},(function(e,t){A.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){A.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return ee(this,(function(t,n,i){var o;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?A.css(t,n,s):A.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),A.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){A.fn[t]=function(e){return this.on(t,e)}})),A.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.on("mouseenter",e).on("mouseleave",t||e)}}),A.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){A.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;A.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)))},i.guid=e.guid=e.guid||A.guid++,i},A.holdReady=function(e){e?A.readyWait++:A.ready(!0)},A.isArray=Array.isArray,A.parseJSON=JSON.parse,A.nodeName=C,A.isFunction=y,A.isWindow=v,A.camelCase=ie,A.type=w,A.now=Date.now,A.isNumeric=function(e){var t=A.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},A.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return A}.apply(t,[]))||(e.exports=n);var on=r.jQuery,an=r.$;return A.noConflict=function(e){return r.$===A&&(r.$=an),e&&r.jQuery===A&&(r.jQuery=on),A},void 0===i&&(r.jQuery=r.$=A),A}))},8287:function(e,t){var n,r;void 0===(r="function"==typeof(n=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,o,a,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),o="",a="in descriptor";;){if(s=e.charAt(g),"in descriptor"===a)if(t(s))o&&(i.push(o),o="",a="after descriptor");else{if(","===s)return g+=1,o&&i.push(o),void v();if("("===s)o+=s,a="in parens";else{if(""===s)return o&&i.push(o),void v();o+=s}}else if("in parens"===a)if(")"===s)o+=s,a="in descriptor";else{if(""===s)return i.push(o),void v();o+=s}else if("after descriptor"===a)if(t(s));else{if(""===s)return void v();a="in descriptor",g-=1}g+=1}}function v(){var t,n,o,a,s,l,c,u,d,f=!1,g={};for(a=0;a<i.length;a++)l=(s=i[a])[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||o)&&(f=!0),d<0?f=!0:n=d):p.test(c)&&"h"===l?((o||n)&&(f=!0),0===u?f=!0:o=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),o&&(g.h=o),m.push(g))}}})?n.apply(t,[]):n)||(e.exports=r)},8952:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=n(),e.exports.createColors=n},697:(e,t,n)=>{"use strict";let r=n(2780);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)},7910:(e,t,n)=>{"use strict";let r=n(1051);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},2780:(e,t,n)=>{"use strict";let r,i,o,a,s=n(7910),l=n(3531),c=n(1051),{isClean:u,my:d}=n(2990);function f(e){return e.map((e=>(e.nodes&&(e.nodes=f(e.nodes)),delete e.source,e)))}function p(e){if(e[u]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)p(t)}class h extends c{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}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}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}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{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],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of i)this.proxyOf.nodes.splice(r+1,0,e);for(let e in this.indexes)n=this.indexes[e],r<n&&(this.indexes[e]=n+i.length);return this.markDirty(),this}insertBefore(e,t){let n,r=this.index(e),i=0===r&&"prepend",o=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let e of o)this.proxyOf.nodes.splice(r,0,e);for(let e in this.indexes)n=this.indexes[e],r<=n&&(this.indexes[e]=n+o.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=f(i(e).nodes);else if(void 0===e)e=[];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.selectors)e=[new a(e)];else if(e.name)e=[new r(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new s(e)]}return e.map((e=>(e[d]||h.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[u]&&p(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}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}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],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}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}some(e){return this.nodes.some(e)}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}))}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)}))}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)})))}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]}}h.registerParse=e=>{i=e},h.registerRule=e=>{a=e},h.registerAtRule=e=>{r=e},h.registerRoot=e=>{o=e},e.exports=h,h.default=h,h.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,r.prototype):"rule"===e.type?Object.setPrototypeOf(e,a.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type?Object.setPrototypeOf(e,s.prototype):"root"===e.type&&Object.setPrototypeOf(e,o.prototype),e[d]=!0,e.nodes&&e.nodes.forEach((e=>{h.rebuild(e)}))}},6069:(e,t,n)=>{"use strict";let r=n(8952),i=n(3215);class o extends Error{constructor(e,t,n,r,i,a){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),a&&(this.plugin=a),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,o)}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);let n=e=>e,o=e=>e,a=e=>e;if(e){let{bold:e,gray:t,red:s}=r.createColors(!0);o=t=>e(s(t)),n=e=>t(e),i&&(a=e=>i(e))}let s=t.split(/\r?\n/),l=Math.max(this.line-3,0),c=Math.min(this.line+2,s.length),u=String(c).length;return s.slice(l,c).map(((e,t)=>{let r=l+1+t,i=" "+(" "+r).slice(-u)+" | ";if(r===this.line){if(e.length>160){let t=20,r=Math.max(0,this.column-t),s=Math.max(this.column+t,this.endColumn+t),l=e.slice(r,s),c=n(i.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return o(">")+n(i)+a(l)+"\n "+c+o("^")}let t=n(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+n(i)+a(e)+"\n "+t+o("^")}return" "+n(i)+a(e)})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=o,o.default=o},3531:(e,t,n)=>{"use strict";let r=n(1051);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},7890:(e,t,n)=>{"use strict";let r,i,o=n(2780);class a extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a},2357:(e,t,n)=>{"use strict";let r=n(697),i=n(7910),o=n(3531),a=n(611),s=n(833),l=n(199),c=n(6825);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__:a.prototype};n.map&&(n.map={...n.map,__proto__:s.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 o(d);if("rule"===d.type)return new c(d);if("comment"===d.type)return new i(d);if("atrule"===d.type)return new r(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},611:(e,t,n)=>{"use strict";let{nanoid:r}=n(945),{isAbsolute:i,resolve:o}=n(5324),{SourceMapConsumer:a,SourceMapGenerator:s}=n(8645),{fileURLToPath:l,pathToFileURL:c}=n(588),u=n(6069),d=n(833),f=n(3215),p=Symbol("fromOffsetCache"),h=Boolean(a&&s),g=Boolean(o&&i);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)||i(t.from)?this.file=t.from:this.file=o(t.from)),g&&h){let e=new d(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 "+r(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,o,a;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.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);o=e.line,i=e.col}else o=r.line,i=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let s=this.origin(t,n,o,i);return a=s?new u(e,void 0===s.endLine?s.line:{column:s.column,line:s.line},void 0===s.endLine?s.column:{column:s.endColumn,line:s.endLine},s.source,s.file,r.plugin):new u(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:i,line:o},this.css,this.file,r.plugin),a.input={column:n,endColumn:i,endLine:o,line:t,source:this.css},this.file&&(c&&(a.input.url=c(this.file).toString()),a.input.file=this.file),a}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{col:e-n[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:o(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,r){if(!this.map)return!1;let o,a,s=this.map.consumer(),u=s.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof n&&(o=s.originalPositionFor({column:r,line:n})),a=i(u.source)?c(u.source):new URL(u.source,this.map.consumer().sourceRoot||c(this.map.mapFile));let d={column:u.column,endColumn:o&&o.column,endLine:o&&o.line,line:u.line,url:a.toString()};if("file:"===a.protocol){if(!l)throw new Error("file: protocol is not available in this PostCSS build");d.file=l(a)}let f=s.sourceContentFor(u.source);return f&&(d.source=f),d}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}get from(){return this.file||this.id}}e.exports=m,m.default=m,f&&f.registerInput&&f.registerInput(m)},3907:(e,t,n)=>{"use strict";let r=n(2780),i=n(7890),o=n(609),a=n(3300),s=n(8298),l=n(199),c=n(5930),{isClean:u,my:d}=n(2990);n(1393);const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},h={Once:!0,postcssPlugin:!0,prepare:!0},g=0;function m(e){return"object"==typeof e&&"function"==typeof e.then}function y(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,g,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,g,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",g,"DocumentExit"]:"root"===e.type?["Root",g,"RootExit"]:y(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function b(e){return e[u]=!1,e.nodes&&e.nodes.forEach((e=>b(e))),e}let I={};class x{constructor(e,t,n){let i;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof x||t instanceof s)i=b(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=a;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{i=e(t,n)}catch(e){this.processed=!0,this.error=e}i&&!i[d]&&r.rebuild(i)}else i=b(t);this.result=new s(e,i,n),this.helpers={...I,postcss:I,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,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}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}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(m(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[u];){e[u]=!0;let t=[v(e)];for(;t.length>0;){let e=this.visitTick(t);if(m(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()}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 m(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)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=c;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new o(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}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(m(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[u];)e[u]=!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}then(e,t){return this.async().then(e,t)}toString(){return this.css}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(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let r,i=t.iterator;for(;r=n.nodes[n.indexes[i]];)if(n.indexes[i]+=1,!r[u])return r[u]=!0,void e.push(v(r));t.iterator=0,delete n.indexes[i]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,e===g)return void(n.nodes&&n.nodes.length&&(n[u]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[u]=!0;let t=y(e);for(let n of t)if(n===g)e.nodes&&e.each((e=>{e[u]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}x.registerPostcss=e=>{I=e},e.exports=x,x.default=x,l.registerLazyResult(x),i.registerLazyResult(x)},2767:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,n){let r=[],i="",o=!1,a=0,s=!1,l="",c=!1;for(let n of e)c?c=!1:"\\"===n?c=!0:s?n===l&&(s=!1):'"'===n||"'"===n?(s=!0,l=n):"("===n?a+=1:")"===n?a>0&&(a-=1):0===a&&t.includes(n)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r}};e.exports=t,t.default=t},609:(e,t,n)=>{"use strict";let{dirname:r,relative:i,resolve:o,sep:a}=n(5324),{SourceMapConsumer:s,SourceMapGenerator:l}=n(8645),{pathToFileURL:c}=n(588),u=n(611),d=Boolean(s&&l),f=Boolean(r&&o&&i&&a);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}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+" */"}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||r(e.file);!1===this.mapOpts.sourcesContent?(t=new s(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}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&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),f&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=l.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new l({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});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]}generateString(){this.css="",this.map=new l({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,n=1,r=1,i="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((a,s,l)=>{if(this.css+=a,s&&"end"!==l&&(o.generated.line=n,o.generated.column=r-1,s.source&&s.source.start?(o.source=this.sourcePath(s),o.original.line=s.source.start.line,o.original.column=s.source.start.column-1,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,this.map.addMapping(o))),t=a.match(/\n/g),t?(n+=t.length,e=a.lastIndexOf("\n"),r=a.length-e):r+=a.length,s&&"start"!==l){let e=s.parent||{raws:{}};("decl"===s.type||"atrule"===s.type&&!s.nodes)&&s===e.last&&!e.raws.semicolon||(s.source&&s.source.end?(o.source=this.sourcePath(s),o.original.line=s.source.end.line,o.original.column=s.source.end.column-1,o.generated.line=n,o.generated.column=r-2,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,o.generated.line=n,o.generated.column=r-1,this.map.addMapping(o)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}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)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?r(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=r(o(n,this.mapOpts.annotation)));let a=i(n,e);return this.memoizedPaths.set(e,a),a}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.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,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)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===a&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},8424:(e,t,n)=>{"use strict";let r=n(609),i=n(3300);const o=n(8298);let a=n(5930);n(1393);class s{constructor(e,t,n){let i;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let s=a;this.result=new o(this._processor,i,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let c=new r(s,i,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=i;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}e.exports=s,s.default=s},1051:(e,t,n)=>{"use strict";let r=n(6069),i=n(9845),o=n(5930),{isClean:a,my:s}=n(2990);function l(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let i=e[r],o=typeof i;"parent"===r&&"object"===o?t&&(n[r]=t):"source"===r?n[r]=i:Array.isArray(i)?n[r]=i.map((e=>l(e,n))):("object"===o&&null!==i&&(i=l(i)),n[r]=i)}return n}class c{constructor(e={}){this.raws={},this[a]=!1,this[s]=!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]}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}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=l(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new r(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],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)}}markClean(){this[a]=!0}markDirty(){if(this[a]){this[a]=!1;let e=this;for(;e=e.parent;)e[a]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){let r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n}positionInside(e,t){let n=t||this.toString(),r=this.source.start.column,i=this.source.start.line;for(let t=0;t<e;t++)"\n"===n[t]?(r=1,i+=1):r+=1;return{column:r,line:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let r=this.toString(),i=r.indexOf(e.word);-1!==i&&(t=this.positionInside(i,r),n=this.positionInside(i+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:"number"==typeof 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={column:t.column+1,line:t.line}),{end:n,start:t}}raw(e,t){return(new i).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}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}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}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 o=t.get(r.input);null==o&&(o=i,t.set(r.input,i),i++),n[e]={end:r.end,inputId:o,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=o){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}get proxyOf(){return this}}e.exports=c,c.default=c},3300:(e,t,n)=>{"use strict";let r=n(2780),i=n(611),o=n(612);function a(e,t){let n=new i(e,t),r=new o(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=a,a.default=a,r.registerParse(a)},612:(e,t,n)=>{"use strict";let r=n(697),i=n(7910),o=n(3531),a=n(199),s=n(6825),l=n(1374);const c={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,n,i,o=new r;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,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){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(l.length>0){for(i=l.length-1,n=l[i];n&&"space"===n[0];)n=l[--i];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,"params",l),a&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),s&&(o.nodes=[],this.current=o)}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])}colon(e){let t,n,r,i=0;for(let[o,a]of e.entries()){if(n=a,r=n[0],"("===r&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(t){if("word"===t[0]&&"progid"===t[1])continue;return o}this.doubleColon(n)}t=n}return!1}comment(e){let t=new i;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;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]}}createTokenizer(){this.tokenizer=l(this.input)}decl(e,t){let n=new o;this.init(n,e[0][2]);let r,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;"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(r=e.shift(),":"===r[0]){n.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),n.raws.between+=r[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a,s=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(r=e[t],"!important"===r[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"===r[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().startsWith("!")&&"space"!==t)break;i=r.pop()[1]+i}i.trim().startsWith("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==r[0]&&"comment"!==r[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)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new s;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}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.source.end.offset++,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,this.root.source.end=this.getPosition(this.tokenizer.position())}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{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],l=e;for(;l;){if(n=l[0],s.push(l),"("===n||"["===n)i||(i=l),o.push("("===n?")":"]");else if(a&&r&&"{"===n)i||(i=l),o.push("}");else if(0===o.length){if(";"===n){if(r)return void this.decl(s,a);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!a)for(;s.length&&(l=s[s.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}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()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,o,a,s,l=n.length,u="",d=!0;for(let e=0;e<l;e+=1)i=n[e],o=i[0],"space"!==o||e!==l-1||r?"comment"===o?(s=n[e-1]?n[e-1][0]:"empty",a=n[e+1]?n[e+1][0]:"empty",c[s]||c[a]||","===u.slice(-1)?d=!1:u+=i[1]):u+=i[1]:d=!1;if(!d){let r=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:r,value:u}}e[t]=u}rule(e){e.pop();let t=new s;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}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}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{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})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},9274:(e,t,n)=>{"use strict";let r=n(697),i=n(7910),o=n(2780),a=n(6069),s=n(3531),l=n(7890),c=n(2357),u=n(611),d=n(3907),f=n(2767),p=n(1051),h=n(3300),g=n(2315),m=n(8298),y=n(199),v=n(6825),b=n(5930),I=n(7107);function x(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new g(e)}x.plugin=function(e,t){let n,r=!1;function i(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...n);return i.postcssPlugin=e,i.postcssVersion=(new g).version,i}return Object.defineProperty(i,"postcss",{get:()=>(n||(n=i()),n)}),i.process=function(e,t,n){return x([i(n)]).process(e,t)},i},x.stringify=b,x.parse=h,x.fromJSON=c,x.list=f,x.comment=e=>new i(e),x.atRule=e=>new r(e),x.decl=e=>new s(e),x.rule=e=>new v(e),x.root=e=>new y(e),x.document=e=>new l(e),x.CssSyntaxError=a,x.Declaration=s,x.Container=o,x.Processor=g,x.Document=l,x.Comment=i,x.Warning=I,x.AtRule=r,x.Result=m,x.Input=u,x.Rule=v,x.Root=y,x.Node=p,d.registerPostcss(x),e.exports=x,x.default=x},833:(e,t,n)=>{"use strict";let{existsSync:r,readFileSync:i}=n(8892),{dirname:o,join:a}=n(5324),{SourceMapConsumer:s,SourceMapGenerator:l}=n(8645);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=o(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new s(this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let n=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(n)return r=e.substr(n[0].length),Buffer?Buffer.from(r,"base64").toString():window.atob(r);var r;let i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);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)))}loadFile(e){if(this.root=o(e),r(e))return this.mapFile=e,i(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 s)return l.fromSourceMap(t).toString();if(t instanceof l)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=a(o(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=c,c.default=c},2315:(e,t,n)=>{"use strict";let r=n(7890),i=n(3907),o=n(8424),a=n(199);class s{constructor(e=[]){this.version="8.4.47",this.plugins=this.normalize(e)}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}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new o(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=s,s.default=s,a.registerProcessor(s),r.registerProcessor(s)},8298:(e,t,n)=>{"use strict";let r=n(7107);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},199:(e,t,n)=>{"use strict";let r,i,o=n(2780);class a extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}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}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)}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a,o.registerRoot(a)},6825:(e,t,n)=>{"use strict";let r=n(2780),i=n(2767);class o 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=o,o.default=o,r.registerRule(o)},9845:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}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)}}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}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")}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],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==r||n)}}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)}document(e){this.body(e)}raw(e,n,r){let i;if(r||(r=n),n&&(i=e.raws[n],void 0!==i))return i;let o=e.parent;if("before"===r){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return t[r];let a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[r])return a.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let t="raw"+((s=r)[0].toUpperCase()+s.slice(1));this[t]?i=this[t](a,e):a.walk((e=>{if(i=e.raws[n],void 0!==i)return!1}))}var s;return void 0===i&&(i=t[r]),a.rawCache[r]=i,i}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}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}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}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}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!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}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}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}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)}}e.exports=n,n.default=n},5930:(e,t,n)=>{"use strict";let r=n(9845);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},2990:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},1374:e=>{"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),r="\\".charCodeAt(0),i="/".charCodeAt(0),o="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),u="[".charCodeAt(0),d="]".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=/[\t\n\f\r "#'()/;[\\\]{}]/g,x=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,w=/.[\r\n"'(/\\]/,T=/[\da-f]/i;e.exports=function(e,M={}){let A,E,C,N,S,k,j,D,L,O,R=e.css.valueOf(),P=M.ignoreErrors,z=R.length,U=0,_=[],B=[];function F(t){throw e.error("Unclosed "+t,U)}return{back:function(e){B.push(e)},endOfFile:function(){return 0===B.length&&U>=z},nextToken:function(e){if(B.length)return B.pop();if(U>=z)return;let M=!!e&&e.ignoreUnclosed;switch(A=R.charCodeAt(U),A){case o:case a:case l:case c:case s:N=U;do{N+=1,A=R.charCodeAt(N)}while(A===a||A===o||A===l||A===c||A===s);k=["space",R.slice(U,N)],U=N-1;break;case u:case d:case h:case g:case v:case m:case p:{let e=String.fromCharCode(A);k=[e,e,U];break}case f:if(O=_.length?_.pop()[1]:"",L=R.charCodeAt(U+1),"url"===O&&L!==t&&L!==n&&L!==a&&L!==o&&L!==l&&L!==s&&L!==c){N=U;do{if(j=!1,N=R.indexOf(")",N+1),-1===N){if(P||M){N=U;break}F("bracket")}for(D=N;R.charCodeAt(D-1)===r;)D-=1,j=!j}while(j);k=["brackets",R.slice(U,N+1),U,N],U=N}else N=R.indexOf(")",U+1),E=R.slice(U,N+1),-1===N||w.test(E)?k=["(","(",U]:(k=["brackets",E,U,N],U=N);break;case t:case n:S=A===t?"'":'"',N=U;do{if(j=!1,N=R.indexOf(S,N+1),-1===N){if(P||M){N=U+1;break}F("string")}for(D=N;R.charCodeAt(D-1)===r;)D-=1,j=!j}while(j);k=["string",R.slice(U,N+1),U,N],U=N;break;case b:I.lastIndex=U+1,I.test(R),N=0===I.lastIndex?R.length-1:I.lastIndex-2,k=["at-word",R.slice(U,N+1),U,N],U=N;break;case r:for(N=U,C=!0;R.charCodeAt(N+1)===r;)N+=1,C=!C;if(A=R.charCodeAt(N+1),C&&A!==i&&A!==a&&A!==o&&A!==l&&A!==c&&A!==s&&(N+=1,T.test(R.charAt(N)))){for(;T.test(R.charAt(N+1));)N+=1;R.charCodeAt(N+1)===a&&(N+=1)}k=["word",R.slice(U,N+1),U,N],U=N;break;default:A===i&&R.charCodeAt(U+1)===y?(N=R.indexOf("*/",U+2)+1,0===N&&(P||M?N=R.length:F("comment")),k=["comment",R.slice(U,N+1),U,N],U=N):(x.lastIndex=U+1,x.test(R),N=0===x.lastIndex?R.length-1:x.lastIndex-2,k=["word",R.slice(U,N+1),U,N],_.push(k),U=N)}return U++,k},position:function(){return U}}}},1393:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},7107:e=>{"use strict";class t{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,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},6999:(e,t,n)=>{"use strict";var r=n(6848);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==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:o,resetWarningCache:i};return n.PropTypes=n,n}},9067:(e,t,n)=>{e.exports=n(6999)()},6848:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3335:(e,t,n)=>{"use strict";var r=n(5442),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},1085:(e,t,n)=>{"use strict";e.exports=n(3335)},1414:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={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:{screenshotTitle:"Kuvakaappaukset",screenshotInstruction:[["text","Tee kuva haluamallasi ohjelmalla. Napsauta yläpalkista kuvakaappauskuvaketta ja rajaa haluamasi kuva-alue näytöltä."],["key","CTRL"],["text","-"],["key","V"],["text"," liittää kuvan vastauskenttään kursorin kohdalle. Voit vaihtaa kuvan paikkaa raahaamalla tai leikkaamalla kuvan komennolla "],["key","CTRL"],["text","-"],["key","X"],["text"," ja liittämällä sen komennolla "],["key","CTRL"],["text","-"],["key","V"],["text"," haluamaasi paikkaan."]],equationTitle:"Kaavat",equationInstruction:[["text","Kaava lisätään komennolla "],["key","CTRL"],["text","-"],["key","E"]],equationHotkeys:"Pikakomennot kaavassa:",equationTable:[["Jakoviiva","/"],["Kertomerkki","*"],["Yläindeksi","^"],["Alaindeksi","_"],["Lisää kaava seuraavalle riville","↵"],["Sulje kaava","esc"]]},render_error:"Virhe LaTeX-koodissa"},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"}}},42:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={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:{screenshotTitle:"Skärmdumpar",screenshotInstruction:[["text","Skapa bilden med valbart program. Klicka på skärmdumpsikonen i övre balken och avgränsa den delen av skärmen du vill använda."],["key","CTRL"],["text","-"],["key","V"],["text"," 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"],["key","CTRL"],["text","-"],["key","X"],["text"," och klistra in den med kommandot"],["key","CTRL"],["text","-"],["key","V"],["text"," på valbart ställe."]],equationTitle:"Formler",equationInstruction:[["text","Formeln läggs till med kommandot "],["key","CTRL"],["text","-"],["key","E"]],equationHotkeys:"Snabbkommandon med formler:",equationTable:[["Divisionsstreck","/"],["Multiplikationstecken","*"],["Upphöjt index","^"],["Nedsänkt index","_"],["Lägg till formel på nästa rad","↵"],["Stäng formeln","esc"]]},render_error:"Fel i LaTeX-koden"},annotating:{sendFeedback:"Skicka respons",updated:"Uppdaterad",mathEditor:"Matematikeditor",title:"Bedömning",backLink:"/sv",backLinkLabel:"Matematikeditor",save:"Spara anteckningar",langLink:"/tarkistus",langLabel:"Suomeksi"}}},4141: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.HelpDialog=void 0;const i=n(1085),o=r(n(3864)),a=r(n(2373)),s=n(2127),l=r(n(6901)),c=([e,t])=>"key"===e?(0,i.jsx)(b,{children:t}):t;t.HelpDialog=()=>{const{t:e}=(0,a.default)(),{hideHelpDialog:t}=(0,a.default)();return(0,i.jsx)(u,{onMouseDown:(0,s.eventHandlerWithoutFocusLoss)(t),children:(0,i.jsxs)(d,{"aria-modal":"true",tabIndex:0,onMouseDown:(0,s.eventHandlerWithoutFocusLoss)(),children:[(0,i.jsxs)(f,{children:[(0,i.jsxs)(g,{children:[(0,i.jsx)("h3",{children:e.editor.help_overlay.screenshotTitle}),(0,i.jsx)("p",{children:e.editor.help_overlay.screenshotInstruction.map(c)})]}),(0,i.jsxs)(m,{children:[(0,i.jsx)("h3",{children:e.editor.help_overlay.equationTitle}),(0,i.jsx)("p",{children:e.editor.help_overlay.equationInstruction.map(c)}),(0,i.jsx)(y,{children:(0,i.jsx)("tbody",{children:e.editor.help_overlay.equationTable.map((([e,t])=>(0,i.jsxs)("tr",{children:[(0,i.jsx)(v,{children:e}),(0,i.jsx)("td",{children:(0,i.jsx)(b,{children:t})})]})))})})]})]}),(0,i.jsx)(p,{onMouseDown:(0,s.eventHandlerWithoutFocusLoss)(t),children:(0,i.jsx)(l.default,{})})]})})};const u=o.default.div`
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define?define(["react","react-dom"],t):"object"==typeof exports?exports.ExamBundle=t(require("react"),require("react-dom")):e.ExamBundle=t(e.React,e.ReactDOM)}(this,((e,t)=>(()=>{var n,r,i={5968:(e,t,n)=>{!function(){var t=n(4651),r="mathquill-command-id",i="mathquill-block-id",o=Math.min,a=Math.max;if(!t)throw"MathQuill requires jQuery 1.5.2+ to be loaded first";function s(){}var l=[].slice;function c(e){var t=e.length-1;return function(){var n=l.call(arguments,0,t),r=l.call(arguments,t);return e.apply(this,n.concat([r]))}}var u=c((function(e,t){return c((function(n,r){if(e in n)return n[e].apply(n,t.concat(r))}))}));function d(e){return c((function(t,n){return"function"!=typeof t&&(t=u(t)),e.call(this,(function(e){return t.apply(e,[e].concat(n))}))}))}function f(e){var t=l.call(arguments,1);return function(){return e.apply(this,t)}}function p(e,t){if(!t)throw new Error("prayer failed: "+e)}var h=function(e,t,n){function r(e){return"object"==typeof e}function i(e){return"function"==typeof e}function o(){}return function n(a,s){function l(){var e=new c;return i(e.init)&&e.init.apply(e,arguments),e}function c(){}void 0===s&&(s=a,a=Object),l.Bare=c;var u,d=o[e]=a[e],f=c[e]=l[e]=l.p=new o;return f.constructor=l,l.extend=function(e){return n(l,e)},(l.open=function(e){if(u={},i(e)?u=e.call(l,f,d,l,a):r(e)&&(u=e),r(u))for(var n in u)t.call(u,n)&&(f[n]=u[n]);return i(f.init)||(f.init=a),l})(s)}}("prototype",{}.hasOwnProperty),g=-1;function m(e){p("a direction was passed",e===g||1===e)}var y=h(t,(function(e){e.insDirOf=function(e,t){return e===g?this.insertBefore(t.first()):this.insertAfter(t.last())},e.insAtDirEnd=function(e,t){return e===g?this.prependTo(t):this.appendTo(t)}})),v=h((function(e){e.parent=0,e[g]=0,e[1]=0,e.init=function(e,t,n){this.parent=e,this[g]=t,this[1]=n},this.copy=function(e){return v(e.parent,e[g],e[1])}})),b=h((function(e){e[g]=0,e[1]=0,e.parent=0;var t=0;this.byId={},e.init=function(){this.id=t+=1,b.byId[this.id]=this,this.ends={},this.ends[g]=0,this.ends[1]=0},e.dispose=function(){delete b.byId[this.id]},e.toString=function(){return"{{ MathQuill Node #"+this.id+" }}"},e.jQ=y(),e.jQadd=function(e){return this.jQ=this.jQ.add(e)},e.jQize=function(e){function t(e){if(e.getAttribute){var n=e.getAttribute("mathquill-command-id"),r=e.getAttribute("mathquill-block-id");n&&b.byId[n].jQadd(e),r&&b.byId[r].jQadd(e)}for(e=e.firstChild;e;e=e.nextSibling)t(e)}e=y(e||this.html());for(var n=0;n<e.length;n+=1)t(e[n]);return e},e.createDir=function(e,t){m(e);var n=this;return n.jQize(),n.jQ.insDirOf(e,t.jQ),t[e]=n.adopt(t.parent,t[g],t[1]),n},e.createLeftOf=function(e){return this.createDir(g,e)},e.selectChildren=function(e,t){return A(e,t)},e.bubble=d((function(e){for(var t=this;t&&!1!==e(t);t=t.parent);return this})),e.postOrder=d((function(e){return function t(n){n.eachChild(t),e(n)}(this),this})),e.isEmpty=function(){return 0===this.ends[g]&&0===this.ends[1]},e.isStyleBlock=function(){return!1},e.children=function(){return x(this.ends[g],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 x(this,this).withDirAdopt(e,t,n,r),this},e.adopt=function(e,t,n){return x(this,this).adopt(e,t,n),this},e.disown=function(){return x(this,this).disown(),this},e.remove=function(){return this.jQ.remove(),this.postOrder("dispose"),this.disown()}}));function I(e,t,n){p("a parent is always present",e),p("leftward is properly set up",t?t[1]===n&&t.parent===e:e.ends[g]===n),p("rightward is properly set up",n?n[g]===t&&n.parent===e:e.ends[1]===t)}var x=h((function(e){e.init=function(e,t,n){if(void 0===n&&(n=g),m(n),p("no half-empty fragments",!e==!t),this.ends={},e){p("withDir is passed to Fragment",e instanceof b),p("oppDir is passed to Fragment",t instanceof b),p("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=y(),e.withDirAdopt=function(e,t,n,r){return e===g?this.adopt(t,n,r):this.adopt(t,r,n)},e.adopt=function(e,t,n){I(e,t,n);var r=this;r.disowned=!1;var i=r.ends[g];if(!i)return this;var o=r.ends[1];return t||(e.ends[g]=i),n?n[g]=o:e.ends[1]=o,r.ends[1][1]=n,r.each((function(n){n[g]=t,n.parent=e,t&&(t[1]=n),t=n})),r},e.disown=function(){var e=this,t=e.ends[g];if(!t||e.disowned)return e;e.disowned=!0;var n=e.ends[1],r=t.parent;return I(r,t[g],t),I(r,n,n[1]),t[g]?t[g][1]=n[1]:r.ends[g]=n[1],n[1]?n[1][g]=t[g]:r.ends[1]=t[g],e},e.remove=function(){return this.jQ.remove(),this.each("postOrder","dispose"),this.disown()},e.each=d((function(e){var t=this,n=t.ends[g];if(!n)return t;for(;n!==t.ends[1][1]&&!1!==e(n);n=n[1]);return t})),e.fold=function(e,t){return this.each((function(n){e=t.call(this,e,n)})),e}})),w={},T={},M=h(v,(function(e){e.init=function(e,t){this.parent=e,this.options=t;var n=this.jQ=this._jQ=y('<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[g][g]===this[g]?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=y(),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 m(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(g,e)},e.insRightOf=function(e){return this.insDirOf(1,e)},e.insAtDirEnd=function(e,t){return m(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(g,e)},e.insAtRightEnd=function(e){return this.insAtDirEnd(1,e)},e.jumpUpDown=function(e,t){var n=this;n.upDownCache[e.id]=v.copy(n);var r=n.upDownCache[t.id];if(r)r[1]?n.insLeftOf(r[1]):n.insAtRightEnd(r.parent);else{var i=n.offset().left;t.seek(i,n)}},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[g];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[g])this[1]=this[g][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[g]}this[1]?this.insLeftOf(this[1]):this.insAtRightEnd(t),e.jQ.remove(),e[g].siblingDeleted&&e[g].siblingDeleted(this.options,1),e[1].siblingDeleted&&e[1].siblingDeleted(this.options,g)},e.startSelection=function(){for(var e=this.anticursor=v.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[g]===e[g]&&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}p("cursor and anticursor in the same tree",n);var r,i,o=e.ancestors[n.id],a=1;if(t[g]!==o)for(var s=t;s;s=s[1])if(s[1]===o[1]){a=g,r=t,i=o;break}return 1===a&&(r=o,i=t),r instanceof v&&(r=r[1]),i instanceof v&&(i=i[g]),this.hide().selection=n.selectChildren(r,i),this.insDirOf(a,this.selection.ends[a]),this.selectionChanged(),!0},e.clearSelection=function(){return this.selection&&(this.selection.clear(),delete this.selection,this.selectionChanged()),this},e.deleteSelection=function(){this.selection&&(this[g]=this.selection.ends[g][g],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[g]=e.ends[g][g],this[1]=e.ends[1][1],delete this.selection),e},e.depth=function(){for(var e=this,t=0;e=e.parent;)t+=e instanceof W?1:0;return t},e.isTooDeep=function(e){if(void 0!==this.options.maxDepth)return this.depth()+(e||0)>this.options.maxDepth}})),A=h(x,(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]()}))}})),E=h((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=M(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===g||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={},N=h(),S={},k=h(),j={};function D(){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 L(e){return D(),He(e)}L.prototype=k.p,L.VERSION="v0.10.11",L.interfaceVersion=function(e){if(1!==e)throw"Only interface version 1 supported. You specified: "+e;return(D=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')})(),L},L.getInterface=P;var O=P.MIN=1,R=P.MAX=2;function P(e){if(!(O<=e&&e<=R))throw"Only interface versions between "+O+" and "+R+" supported. You specified: "+e;function n(e){if(!e||!e.nodeType)return null;var t=y(e).children(".mq-root-block").attr(i),n=t&&b.byId[t].controller;return n?r[n.KIND_OF_MQ](n):null}var r={};function o(e,t){for(var n in t&&t.handlers&&(t.handlers={fns:t.handlers,APIClasses:r}),t)if(t.hasOwnProperty(n)){var i=t[n],o=S[n];e[n]=o?o(i):i}}n.L=g,n.R=1,n.saneKeyboardEvents=F,n.config=function(e){return o(N.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";j[e]=t};var a=r.AbstractMathQuill=h(k,(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,r=t.container;t.createTextarea();var o=r.addClass(e).contents().detach();n.jQ=y('<span class="mq-root-block"/>').attr(i,n.id).appendTo(r),this.latex(o.text()),this.revert=function(){return r.empty().unbind(".mathquill").removeClass("mq-editable-field mq-math-mode mq-text-mode").append(o)}},e.config=function(e){return o(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=a.prototype,r.EditableField=h(a,(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[g]=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)&&!n.isTooDeep()){e=e.slice(1);var r=w[e]||Be[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[g];)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(g)},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:s});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-y(window).scrollLeft(),i=t-y(window).scrollTop(),o=document.elementFromPoint(r,i);this.__controller.seek(y(o),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,o=i.root;return t.contains(o.jQ[0],r)||(r=o.jQ[0]),i.seek(y(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=r.EditableField.prototype,C)!function(t,i){var o=r[t]=i(r);n[t]=function(r,i){var a=n(r);if(a instanceof o||!r||!r.nodeType)return a;var s=E(o.RootBlock(),y(r),N());return s.KIND_OF_MQ=t,o(s).__mathquillify(i,e)},n[t].prototype=o.prototype}(l,C[l]);return n}L.noConflict=function(){return window.MathQuill=z,L};var z=window.MathQuill;function U(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=L;var _,B=h((function(e,t,n){function r(e,t){throw"Parse Error: "+t+" at "+(e?"'"+e+"'":"EOF")}e.init=function(e){this._=e},e.parse=function(e){return this.skip(a)._(""+e,(function(e,t){return t}),r)},e.or=function(e){p("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,o){return t._(r,(function(t,r){var a=e instanceof n?e:e(r);return p("a parser is returned",a instanceof n),a._(t,i,o)}),o)}))},e.many=function(){var e=this;return n((function(t,n,r){for(var i=[];e._(t,o,a););return n(t,i);function o(e,n){return t=e,i.push(n),!0}function a(){return!1}}))},e.times=function(e,t){arguments.length<2&&(t=e);var r=this;return n((function(n,i,o){for(var a,s=[],l=!0,c=0;c<e;c+=1)if(!(l=r._(n,u,d)))return o(n,a);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 a=t,n=e,!1}function f(e,t){return!1}}))},e.result=function(e){return this.then(o(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 o(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,o){var a=n.slice(0,t);return a===e?i(n.slice(t),a):o(n,r)}))};var i=this.regex=function(e){p("regexp parser is anchored","^"===e.toString().charAt(1));var t="expected "+e;return n((function(n,r,i){var o=e.exec(n);if(o){var a=o[0];return r(n.slice(a.length),a)}return i(n,t)}))},o=n.succeed=function(e){return n((function(t,n){return n(t,e)}))},a=(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,o=null,a=t(e),l=t(n.container||a),c=s;function u(e){c=e,clearTimeout(r),r=setTimeout(e)}function d(e){u((function(t){c=s,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=a[0]))||e.selectionStart===e.selectionEnd){var e,t=a.val();1===t.length?(a.val(""),n.typedText(t)):t&&a[0].select&&a[0].select()}}function g(){var e=a.val();a.val(""),e&&n.paste(e)}return l.bind({keydown:function(e){e.target===a[0]&&(i=e,o=null,f&&d((function(e){e&&"focusout"===e.type||!a[0].select||a[0].select()})),p())},keypress:function(e){e.target===a[0]&&(i&&o&&p(),o=e,u(h))},keyup:function(e){e.target===a[0]&&i&&!o&&u(h)},focusout:function(){i=o=null},cut:function(){d((function(){n.cut()}))},copy:function(){d((function(){n.copy()}))},paste:function(e){e.target===a[0]&&(document.activeElement!==a[0]&&a.focus(),u(g))}}),{select:function(e){c(),c=s,clearTimeout(r),a.val(e),e&&a[0].select&&a[0].select(),f=!!e}}});E.open((function(e,t){e.exportText=function(){return this.root.foldChildren("",(function(e,t){return e+t.text()}))}})),E.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"),o()}function o(){r.hide().parent.blur(),t.container.removeClass("mq-focused"),y(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(),o()})),y(window).bind("blur",i)})),t.blurred=!0,r.hide().parent.blur()},e.unbindFocusBlurEvents=function(){this.textarea.unbind("focus blur")}})),E.open((function(e){e.keystroke=function(e,t){this.cursor.parent.keystroke(e,t,this)}})),b.open((function(e){e.keystroke=function(e,t,n){var r=n.cursor;switch(e){case"Ctrl-Shift-Backspace":case"Ctrl-Backspace":n.ctrlDeleteDir(g);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(g,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[g];)n.selectLeft();break;case"Ctrl-Shift-Home":for(;r[g]||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[g])for(;r[g];)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[g];)n.selectLeft();break;default:return}t.preventDefault(),n.scrollHoriz()},e.moveOutOf=e.moveTowards=e.deleteOutOf=e.deleteTowards=e.unselectInto=e.selectOutOf=e.selectTowards=function(){p("overridden or never called on this node")}})),E.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[g][r]?n.insAtRightEnd(n[g][r]):n.parent.bubble((function(e){var t=e[i];if(t&&("function"==typeof t&&(t=e[i](n)),t instanceof b&&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){m(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")},S.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){m(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(g)},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){m(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[g].siblingDeleted&&t[g].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,g),t.parent.bubble("reflow"),this},e.ctrlDeleteDir=function(e){m(e);var t=this.cursor;return!t[e]||t.selection?this.deleteDir(e):(this.notify("edit"),e===g?x(t.parent.ends[g],t[g]).remove():x(t[1],t.parent.ends[1]).remove(),t.insAtDirEnd(e,t.parent),t[g].siblingDeleted&&t[g].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,g),t.parent.bubble("reflow"),this)},e.backspace=function(){return this.deleteDir(g)},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;m(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(g)},e.selectRight=function(){return this.selectDir(1)}}));var G=function(){function e(e){for(var t=e[0]||W(),n=1;n<e.length;n+=1)e[n].children().adopt(t,t.ends[1],0);return t}var t=B.string,n=B.regex,r=B.letter,i=B.any,o=B.optWhitespace,a=B.succeed,s=B.fail,l=r.map((function(e){return re(e)})),c=n(/^[^${}\\_^]/).map((function(e){return V(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=w[e];return t?t(e).parser():s("unknown command: \\"+e)})).or(l).or(c),d=t("{").then((function(){return p})).skip(t("}")),f=o.then(d.or(u.map((function(e){var t=W();return e.adopt(t,0,0),t})))),p=f.many().map(e).skip(o),h=t("[").then(f.then((function(e){return"]"!==e.join("latex")?a(e):s()})).many().map(e).skip(o)).skip(t("]")),g=p;return g.block=f,g.optBlock=h,g}();E.open((function(e,t){e.exportLatex=function(){return this.root.latex().replace(/(\\[a-z]+) (?![a-z])/gi,"$1")},S.maxDepth=function(e){return"number"==typeof e?e:void 0},e.writeLatex=function(e){var t=this.notify("edit").cursor;return t.parent.writeLatex(t,e),this},e.renderLatexMath=function(e){var t=this.root,n=this.cursor,r=(n.options,t.jQ),i=B.all,o=B.eof,a=G.skip(o).or(i.result(!1)).parse(e);if(t.eachChild("postOrder","dispose"),t.ends[g]=t.ends[1]=0,a&&a.prepareInsertionAt(n)){a.children().adopt(t,0,0);var s=a.join("html");r.html(s),t.jQize(r.children()),t.finalizeInsert(n.options)}else r.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[g]=t.ends[1]=0,delete n.selection,n.show().insAtRightEnd(t);var r=B.regex,i=B.string,o=B.eof,a=B.all,s=i("$").then(G).skip(i("$").or(o)).map((function(e){var t=K(n);t.createBlocks();var r=t.ends[g];return e.children().adopt(r,0,0),t})),l=i("\\$").result("$").or(r(/^[^$]/)).map(V),c=s.or(l).many().skip(o).or(a.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)}}})),E.open((function(e){N.p.ignoreNextMousedown=s,e.delegateMouseEvents=function(){var e=this.root.jQ;this.container.bind("mousedown.mathquill",(function(t){var n,r=y(t.target).closest(".mq-root-block"),o=b.byId[r.attr(i)||e.attr(i)].controller,a=o.cursor,l=a.blink,c=o.textareaSpan,u=o.textarea;function d(e){n=y(e.target)}function f(e){a.anticursor||a.startSelection(),o.seek(n,e.pageX,e.pageY).cursor.select(),n=void 0}t.preventDefault(),t.target.unselectable=!0,a.options.ignoreNextMousedown(t)||(a.options.ignoreNextMousedown=s,o.blurred&&(o.editable||r.prepend(c),u.focus()),a.blink=s,o.seek(y(t.target),t.pageX,t.pageY).cursor.startSelection(),r.mousemove(d),y(t.target.ownerDocument).mousemove(f).mouseup((function e(t){a.blink=l,a.selection||(o.editable?a.show():c.detach()),r.unbind("mousemove",d),y(t.target.ownerDocument).unbind("mousemove",f).unbind("mouseup",e)})))}))}})),E.open((function(e){e.seek=function(e,t,n){var o=this.notify("select").cursor;if(e){var a=e.attr(i)||e.attr(r);if(!a){var s=e.parent();a=s.attr(i)||s.attr(r)}}var l=a?b.byId[a]:this.root;return p("nodeId is the id of some Node that exists",l),o.clearSelection().show(),l.seek(t,o),this.scrollHoriz(),this}})),E.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 o=this.root.jQ[0].getBoundingClientRect();if(t){var a=t.jQ[0].getBoundingClientRect(),s=a.left-(o.left+20),l=a.right-(o.right-20);if(t.ends[g]===e[1])if(s<0)u=s;else{if(!(l>0))return;u=a.left-l<o.left+20?s:l}else if(l>0)u=l;else{if(!(s<0))return;u=a.right-s>o.right-20?l:s}}else{var c=e.jQ[0].getBoundingClientRect().left;if(c>o.right-20)var u=c-(o.right-20);else{if(!(c<o.left+20))return;u=c-(o.left+20)}}this.root.jQ.stop().animate({scrollLeft:"+="+u},100)}})),E.open((function(e){N.p.substituteTextarea=function(){return y("<textarea autocapitalize=off autocomplete=off autocorrect=off spellcheck=false x-palm-disable-ste-all=true />")[0]},e.createTextarea=function(){var e=this.textareaSpan=y('<span class="mq-textarea"></span>'),t=this.options.substituteTextarea();if(!t.nodeType)throw"substituteTextarea() must return a DOM element, got "+t;t=this.textarea=y(t).appendTo(e);var n=this;n.cursor.selectionChanged=function(){n.selectionChanged()}},e.selectionChanged=function(){var e=this;ve(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 o(){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(o)})),e.selectFn=function(e){r.val(e),e&&r.select()}},N.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.unbindEditablesEvents=function(){var e=this,t=e.textarea,n=e.textareaSpan;this.selectFn=function(e){t.val(e),e&&t.select()},n.remove(),this.unbindFocusBlurEvents(),e.blurred=!0,t.bind("cut paste",!1)},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 Z=h(b,(function(e,t){e.finalizeInsert=function(e,t){var n=this;n.postOrder("finalizeTree",e),n.postOrder("contactWeld",t),n.postOrder("blur"),n.postOrder("reflow"),n[1].siblingCreated&&n[1].siblingCreated(e,g),n[g].siblingCreated&&n[g].siblingCreated(e,1),n.bubble("reflow")},e.prepareInsertionAt=function(e){var t=e.options.maxDepth;if(void 0!==t){var n=e.depth();if(n>t)return!1;this.removeNodesDeeperThan(t-n)}return!0},e.removeNodesDeeperThan=function(e){for(var t,n=0,r=[[this,n]];r.length;)(t=r.shift())[0].children().each((function(i){var o=i instanceof W?1:0;(n=t[1]+o)<=e?r.push([i,n]):(o?i.children():i).remove()}))}})),H=h(Z,(function(e,t){e.init=function(e,n,r){var i=this;t.init.call(i),i.ctrlSeq||(i.ctrlSeq=e),n&&(i.htmlTemplate=n),r&&(i.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=G.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,r=n.replacedFragment;n.createBlocks(),t.createLeftOf.call(n,e),r&&(r.adopt(n.ends[g],0,0),r.jQ.appendTo(n.ends[g].jQ),n.placeCursor(e),n.prepareInsertionAt(e)),n.finalizeInsert(e.options),n.placeCursor(e)},e.createBlocks=function(){for(var e=this,t=e.numBlocks(),n=e.blocks=Array(t),r=0;r<t;r+=1)(n[r]=W()).adopt(e,e.ends[1],0)},e.placeCursor=function(e){e.insAtRightEnd(this.foldChildren(this.ends[g],(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 A(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[g]=e.jQ.offset().left,t[1]=t[g]+e.jQ.outerWidth(),t}var r=this,i=n(r);if(e<i[g])return t.insLeftOf(r);if(e>i[1])return t.insRightOf(r);var o=i[g];r.eachChild((function(a){var s=n(a);return e<s[g]?(e-o<s[g]-e?a[g]?t.insAtRightEnd(a[g]):t.insLeftOf(r):t.insAtLeftEnd(a),!1):e>s[1]?void(a[1]?o=s[1]:i[1]-e<e-s[1]?t.insRightOf(r):t.insAtRightEnd(a)):(a.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,t=e.blocks,n=" mathquill-command-id="+e.id,r=e.htmlTemplate.match(/<[^<>]+>|[^<>]+/g);p("no unmatched angle brackets",r.join("")===this.htmlTemplate);for(var i=0,o=r[0];o;o=r[i+=1])if("/>"===o.slice(-2))r[i]=o.slice(0,-2)+n+"/>";else if("<"===o.charAt(0)){p("not an unmatched top-level close tag","/"!==o.charAt(1)),r[i]=o.slice(0,-1)+n+">";var a=1;do{p("no missing close tags",o=r[i+=1]),"</"===o.slice(0,2)?a-=1:"<"===o.charAt(0)&&"/>"!==o.slice(-2)&&(a+=1)}while(a>0)}return r.join("").replace(/>&(\d+)/g,(function(e,n){return" mathquill-block-id="+t[n].id+">"+t[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+i+(e.textTemplate[t]||"")}))}})),q=h(H,(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 B.succeed(this)},e.numBlocks=function(){return 0},e.replaces=function(e){e.remove()},e.createBlocks=s,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=s,e.isEmpty=function(){return!0}})),V=h(q,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span>"+(n||e)+"</span>")}})),Y=h(q,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,'<span class="mq-binary-operator">'+n+"</span>",r)}})),W=h(Z,(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[g]===this.ends[1]&&0!==this.ends[g]?this.ends[g].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?g:1,e,n))},e.moveOutOf=function(e,t,n){n&&this.parent[n+"Into"]||!this[e]?t.insDirOf(e,this.parent):t.insAtDirEnd(-e,this[e])},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[g].jQ.offset().left)return t.insAtLeftEnd(this);for(;e<n.jQ.offset().left;)n=n[g];return n.seek(e,t)},e.chToCmd=function(e,t){var n;return e.match(/^[a-eg-zA-Z]$/)?re(e):/^\d$/.test(e)?te(e):t&&t.typingSlashWritesDivisionSymbol&&"/"===e?w["÷"](e):t&&t.typingAsteriskWritesTimesSymbol&&"*"===e?w["×"](e):(n=T[e]||w[e])?n(e):V(e)},e.write=function(e,t){var n=this.chToCmd(t,e.options);e.selection&&n.replaces(e.replaceSelection()),e.isTooDeep()||n.createLeftOf(e.show())},e.writeLatex=function(e,t){var n=B.all,r=B.eof,i=G.skip(r).or(n.result(!1)).parse(t);i&&!i.isEmpty()&&i.prepareInsertionAt(e)&&(i.children().adopt(e.parent,e[g],e[1]),i.jQize().insertBefore(e.jQ),e[g]=i.ends[1],i.finalizeInsert(e.options,e),i.ends[1][1].siblingCreated&&i.ends[1][1].siblingCreated(e.options,g),i.ends[g][g].siblingCreated&&i.ends[g][g].siblingCreated(e.options,1),e.parent.bubble("reflow"))},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}}));N.p.mouseEvents=!0,C.StaticMath=function(e){return h(e.AbstractMathQuill,(function(t,n){this.RootBlock=W,t.__mathquillify=function(e,t){return this.config(e),n.__mathquillify.call(this,"mq-math-mode"),this.__options.mouseEvents&&(this.__controller.delegateMouseEvents(),this.__controller.staticMathTextareaEvents()),this},t.init=function(){n.init.apply(this,arguments),this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.InnerMathField)},t.latex=function(){var t=n.latex.apply(this,arguments);return arguments.length>0&&this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.InnerMathField),t}}))};var Q=h(W,U);C.MathField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=Q,e.__mathquillify=function(e,n){return this.config(e),n>1&&(this.__controller.root.reflow=s),t.__mathquillify.call(this,"mq-editable-field mq-math-mode"),delete this.__controller.root.reflow,this}}))},C.InnerMathField=function(e){return h(e.MathField,(function(e,t){e.makeStatic=function(){this.__controller.editable=!1,this.__controller.root.blur(),this.__controller.unbindEditablesEvents(),this.__controller.container.removeClass("mq-editable-field")},e.makeEditable=function(){this.__controller.editable=!0,this.__controller.editablesTextareaEvents(),this.__controller.cursor.insAtRightEnd(this.__controller.root),this.__controller.container.addClass("mq-editable-field")}}))};var J=h(b,(function(e,t){function n(e){e.jQ[0].normalize();var t=e.jQ[0].firstChild;if(t){p("only node in TextBlock span is Text node",3===t.nodeType);var n=X(t.data);return n.jQadd(t),e.children().disown(),n.adopt(e,0,0)}}e.ctrlSeq="\\text",e.replaces=function(e){e instanceof x?this.replacedText=e.remove().jQ.text():"string"==typeof e&&(this.replacedText=e)},e.jQadd=function(e){t.jQadd.call(this,e),this.ends[g]&&this.ends[g].jQadd(this.jQ[0].firstChild)},e.createLeftOf=function(e){var n=this;if(t.createLeftOf.call(this,e),e.insAtRightEnd(n),n.replacedText)for(var r=0;r<n.replacedText.length;r+=1)n.write(e,n.replacedText.charAt(r));n[1].siblingCreated&&n[1].siblingCreated(e.options,g),n[g].siblingCreated&&n[g].siblingCreated(e.options,1),n.bubble("reflow")},e.parser=function(){var e=this,t=B.string,n=B.regex;return B.optWhitespace.then(t("{")).then(n(/^[^}]*/)).skip(t("}")).map((function(t){return 0===t.length?x():(X(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=H.prototype.selectTowards,e.deleteTowards=H.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[g]?e[g].appendText(n):X(n).createLeftOf(e);else if(this.isEmpty())e.insRightOf(this),V("\\$","$").createLeftOf(e);else if(e[1])if(e[g]){var r=J(),i=this.ends[g];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);this.bubble("reflow")},e.writeLatex=function(e,t){e[g]?e[g].appendText(t):X(t).createLeftOf(e),this.bubble("reflow")},e.seek=function(e,t){t.hide();var r=n(this),i=this.jQ.width()/this.text.length,o=Math.round((e-this.jQ.offset().left)/i);o<=0?t.insAtLeftEnd(this):o>=r.text.length?t.insAtRightEnd(this):t.insLeftOf(r.splitRight(o));for(var a=e-t.show().offset().left,s=a&&a<0?g:1,l=s;t[s]&&a*l>0;)t[s].moveTowards(s,t),l=a,a=e-t.offset().left;if(s*a<-s*l&&t[-s].moveTowards(-s,t),t.anticursor){if(t.anticursor.parent===this){var c=t[g]&&t[g].text.length;if(this.anticursorPosition===c)t.anticursor=v.copy(t);else{if(this.anticursorPosition<c){var u=t[g].splitRight(this.anticursorPosition);t[g]=u}else u=t[1].splitRight(this.anticursorPosition-c);t.anticursor=v(this,u[g],u)}}}else this.anticursorPosition=t[g]&&t[g].text.length},e.blur=function(e){W.prototype.blur.call(this),e&&(""===this.textContents()?(this.remove(),e[g]===this?e[g]=this[g]:e[1]===this&&(e[1]=this[1])):n(this))},e.focus=W.prototype.focus})),X=h(b,(function(e,t){function n(e,t){return t.charAt(e===g?0:-1+t.length)}e.init=function(e){t.init.call(this),this.text=e},e.jQadd=function(e){this.dom=e,this.jQ=y(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){m(t),1===t?this.appendText(e):this.prependText(e)},e.splitRight=function(e){var t=X(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){m(e);var r=n(-e,this.text),i=this[-e];return i?i.insTextAtDirEnd(r,e):X(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){m(e);var r=t.anticursor,i=n(-e,this.text);if(r[e]===this){var o=X(i).createDir(e,t);r[e]=o,t.insDirOf(e,o)}else{var a=this[-e];a?a.insTextAtDirEnd(i,e):(o=X(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 $(e,t,n){return h(J,{ctrlSeq:e,htmlTemplate:"<"+t+" "+n+">&0</"+t+">"})}w.text=w.textnormal=w.textrm=w.textup=w.textmd=J,w.em=w.italic=w.italics=w.emph=w.textit=w.textsl=$("\\textit","i",'class="mq-text-mode"'),w.strong=w.bold=w.textbf=$("\\textbf","b",'class="mq-text-mode"'),w.sf=w.textsf=$("\\textsf","span",'class="mq-sans-serif mq-text-mode"'),w.tt=w.texttt=$("\\texttt","span",'class="mq-monospace mq-text-mode"'),w.textsc=$("\\textsc","span",'style="font-variant:small-caps" class="mq-text-mode"'),w.uppercase=$("\\uppercase","span",'style="text-transform:uppercase" class="mq-text-mode"'),w.lowercase=$("\\lowercase","span",'style="text-transform:lowercase" class="mq-text-mode"');var K=h(H,(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[g].cursor=this.cursor,this.ends[g].write=function(e,t){"$"!==t?W.prototype.write.call(this,e,t):this.isEmpty()?(e.insRightOf(this.parent),this.parent.deleteTowards(dir,e),V("\\$","$").createLeftOf(e.show())):e[1]?e[g]?W.prototype.write.call(this,e,t):e.insLeftOf(this.parent):e.insRightOf(this.parent)}},e.latex=function(){return"$"+this.ends[g].latex()+"$"}})),ee=h(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;"),V(t,n).createLeftOf(e))}}));C.TextField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=ee,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 te=h(V,(function(e,t){e.createLeftOf=function(e){e.options.autoSubscriptNumerals&&e.parent!==e.parent.parent.sub&&(e[g]instanceof ne&&!1!==e[g].isItalic||e[g]instanceof Ee&&e[g][g]instanceof ne&&!1!==e[g][g].isItalic)?(w._().createLeftOf(e),t.createLeftOf.call(this,e),e.insRightOf(e.parent.parent)):t.createLeftOf.call(this,e)}})),ne=h(q,(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[g]||this[g]instanceof ne||this[g]instanceof Y||"\\ "===this[g].ctrlSeq||(e="*"+e),!this[1]||this[1]instanceof Y||this[1]instanceof Ee||(e+="*")),e}}));N.p.autoCommands={_maxLength:0},S.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(w[o]===se)throw'"'+o+'" is a built-in operator name';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var re=h(ne,(function(e,t){function n(e){return!e||e instanceof Y||e instanceof Ne}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="",o=this,a=0;o instanceof re&&o.ctrlSeq===o.letter&&a<r;)i=o.letter+i,o=o[g],a+=1;for(;i.length;){if(n.hasOwnProperty(i)){for(a=1,o=this;a<i.length;a+=1,o=o[g]);return x(o,this).remove(),e[g]=o[g],w[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!==g&&this[1]instanceof re||this.autoUnItalicize(e)},e.autoUnItalicize=function(e){var t=e.autoOperatorNames;if(0!==t._maxLength){for(var r=this.letter,i=this[g];i instanceof re;i=i[g])r=i.letter+r;for(var a=this[1];a instanceof re;a=a[1])r+=a.letter;x(i[1]||this.parent.ends[g],a[g]||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=i[1]||this.parent.ends[g];s<r.length;s+=1,l=l[1])for(var c=o(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 h=ie.hasOwnProperty(u);if(l.ctrlSeq=(h?"\\":"\\operatorname{")+l.ctrlSeq,p.ctrlSeq+=h?" ":"}",ae.hasOwnProperty(u)&&p[g][g][g].jQ.addClass("mq-last"),n(l[g])||l.jQ.addClass("mq-first"),!n(p[1]))if(p[1]instanceof Ee){var m=p[1];(m.siblingCreated=m.siblingDeleted=function(){m.jQ.toggleClass("mq-after-operator-name",!(m[1]instanceof Re))})()}else p.jQ.toggleClass("mq-last",!(p[1]instanceof Re));s+=c-1,l=p;continue e}}}}})),ie={},oe=N.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)ie[e[t]]=oe[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)ie[n[t]]=1;var r="sin cos tan sec cosec csc cotan cot ctg".split(" ");for(t=0;t<r.length;t+=1)oe[r[t]]=oe["arc"+r[t]]=oe[r[t]+"h"]=oe["ar"+r[t]+"h"]=oe["arc"+r[t]+"h"]=1;var i="gcf hcf lcm proj span".split(" ");for(t=0;t<i.length;t+=1)oe[i[t]]=1}(),S.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 se=h(q,(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)re(t.charAt(n)).createLeftOf(e)},e.parser=function(){for(var e=this.ctrlSeq,t=W(),n=0;n<e.length;n+=1)re(e.charAt(n)).adopt(t,t.ends[1],0);return B.succeed(t.children())}}));for(var le in oe)oe.hasOwnProperty(le)&&(w[le]=se);w.operatorname=h(H,(function(e){e.createLeftOf=s,e.numBlocks=function(){return 1},e.parser=function(){return G.block.map((function(e){return e.children()}))}})),w.f=h(re,(function(e,t){e.init=function(){q.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)}})),w[" "]=w.space=f(V,"\\ ","&nbsp;"),w[","]=f(V,"{,}",","),w["'"]=w.prime=f(V,"'","&prime;"),w["″"]=w.dprime=f(V,"″","&Prime;"),w.backslash=f(V,"\\backslash ","\\"),T["\\"]||(T["\\"]=w.backslash),w.$=f(V,"\\$","$");var ce=h(q,(function(e,t){e.init=function(e,n){t.init.call(this,e,'<span class="mq-nonSymbola">'+(n||e)+"</span>")}}));w["@"]=ce,w["#"]=f(ce,"\\#","#"),w["&"]=f(ce,"\\&","&amp;"),w["%"]=f(ce,"\\%","%"),w.alpha=w.beta=w.gamma=w.delta=w.zeta=w.eta=w.theta=w.iota=w.kappa=w.mu=w.nu=w.xi=w.rho=w.sigma=w.tau=w.chi=w.psi=w.omega=h(ne,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w.phi=f(ne,"\\phi ","&#981;"),w.phiv=w.varphi=f(ne,"\\varphi ","&phi;"),w.epsilon=f(ne,"\\epsilon ","&#1013;"),w.epsiv=w.varepsilon=f(ne,"\\varepsilon ","&epsilon;"),w.piv=w.varpi=f(ne,"\\varpi ","&piv;"),w.sigmaf=w.sigmav=w.varsigma=f(ne,"\\varsigma ","&sigmaf;"),w.thetav=w.vartheta=w.thetasym=f(ne,"\\vartheta ","&thetasym;"),w.upsilon=w.upsi=f(ne,"\\upsilon ","&upsilon;"),w.gammad=w.Gammad=w.digamma=f(ne,"\\digamma ","&#989;"),w.kappav=w.varkappa=f(ne,"\\varkappa ","&#1008;"),w.rhov=w.varrho=f(ne,"\\varrho ","&#1009;"),w.pi=w["π"]=f(ce,"\\pi ","&pi;"),w.lambda=f(ce,"\\lambda ","&lambda;"),w.Upsilon=w.Upsi=w.upsih=w.Upsih=f(q,"\\Upsilon ",'<var style="font-family: serif">&upsih;</var>'),w.Gamma=w.Delta=w.Theta=w.Lambda=w.Xi=w.Pi=w.Sigma=w.Phi=w.Psi=w.Omega=w.forall=h(V,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}}));var ue=h(H,(function(e){e.init=function(e){this.latex=e},e.createLeftOf=function(e){var t=G.parse(this.latex);t.children().adopt(e.parent,e[g],e[1]),e[g]=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,g),t.ends[g][g].siblingCreated&&t.ends[g][g].siblingCreated(e.options,1),e.parent.bubble("reflow")},e.parser=function(){var e=G.parse(this.latex).children();return B.succeed(e)}}));w["⁰"]=f(ue,"^0"),w["¹"]=f(ue,"^1"),w["²"]=f(ue,"^2"),w["³"]=f(ue,"^3"),w["⁴"]=f(ue,"^4"),w["⁵"]=f(ue,"^5"),w["⁶"]=f(ue,"^6"),w["⁷"]=f(ue,"^7"),w["⁸"]=f(ue,"^8"),w["⁹"]=f(ue,"^9"),w["₀"]=f(ue,"_0"),w["₁"]=f(ue,"_1"),w["₂"]=f(ue,"_2"),w["₃"]=f(ue,"_3"),w["₄"]=f(ue,"_4"),w["₅"]=f(ue,"_5"),w["₆"]=f(ue,"_6"),w["₇"]=f(ue,"_7"),w["₈"]=f(ue,"_8"),w["₉"]=f(ue,"_9"),w["¼"]=f(ue,"\\frac14"),w["½"]=f(ue,"\\frac12"),w["¾"]=f(ue,"\\frac34");var de=h(Y,(function(e){e.init=V.prototype.init,e.contactWeld=e.siblingCreated=e.siblingDeleted=function(e,t){if(1!==t)return this.jQ[0].className=function e(t){return t[g]?t[g]instanceof Y||/^[,;:\(\[]$/.test(t[g].ctrlSeq)?"":"mq-binary-operator":t.parent&&t.parent.parent&&t.parent.parent.isStyleBlock()?e(t.parent.parent):""}(this),this}}));w["+"]=f(de,"+","+"),w["–"]=w["-"]=f(de,"-","&minus;"),w["±"]=w.pm=w.plusmn=w.plusminus=f(de,"\\pm ","&plusmn;"),w.mp=w.mnplus=w.minusplus=f(de,"\\mp ","&#8723;"),T["*"]=w.sdot=w.cdot=f(Y,"\\cdot ","&middot;","*");var fe=h(Y,(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===g&&!this.strict)return this.swap(!0),void this.bubble("reflow");t.deleteTowards.apply(this,arguments)}})),pe={ctrlSeq:"\\le ",html:"&le;",text:"≤",ctrlSeqStrict:"<",htmlStrict:"&lt;",textStrict:"<"},he={ctrlSeq:"\\ge ",html:"&ge;",text:"≥",ctrlSeqStrict:">",htmlStrict:"&gt;",textStrict:">"};w["<"]=w.lt=f(fe,pe,!0),w[">"]=w.gt=f(fe,he,!0),w["≤"]=w.le=w.leq=f(fe,pe,!1),w["≥"]=w.ge=w.geq=f(fe,he,!1);var ge=h(Y,(function(e,t){e.init=function(){t.init.call(this,"=","=")},e.createLeftOf=function(e){if(e[g]instanceof fe&&e[g].strict)return e[g].swap(!1),void e[g].bubble("reflow");t.createLeftOf.apply(this,arguments)}}));w["="]=ge,w["×"]=w.times=f(Y,"\\times ","&times;","[x]"),w["÷"]=w.div=w.divide=w.divides=f(Y,"\\div ","&divide;","[/]"),T["~"]=w.sim=f(Y,"\\sim ","~","~"),w.notin=w.cong=w.equiv=w.oplus=w.otimes=h(Y,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w["≠"]=w.ne=w.neq=f(Y,"\\ne ","&ne;"),w["∗"]=w.ast=w.star=w.loast=w.lowast=f(Y,"\\ast ","&lowast;"),w.therefor=w.therefore=f(Y,"\\therefore ","&there4;"),w.cuz=w.because=f(Y,"\\because ","&#8757;"),w.prop=w.propto=f(Y,"\\propto ","&prop;"),w["≈"]=w.asymp=w.approx=f(Y,"\\approx ","&asymp;"),w["≢"]=w.notequiv=w.nequiv=f(Y,"\\not\\equiv ","&#8802;"),w.isin=w.in=f(Y,"\\in ","&isin;"),w.ni=w.contains=f(Y,"\\ni ","&ni;"),w.notni=w.niton=w.notcontains=w.doesnotcontain=f(Y,"\\not\\ni ","&#8716;"),w.sub=w.subset=f(Y,"\\subset ","&sub;"),w.sup=w.supset=w.superset=f(Y,"\\supset ","&sup;"),w.nsub=w.notsub=w.nsubset=w.notsubset=f(Y,"\\not\\subset ","&#8836;"),w.nsup=w.notsup=w.nsupset=w.notsupset=w.nsuperset=w.notsuperset=f(Y,"\\not\\supset ","&#8837;"),w.sube=w.subeq=w.subsete=w.subseteq=f(Y,"\\subseteq ","&sube;"),w.supe=w.supeq=w.supsete=w.supseteq=w.supersete=w.superseteq=f(Y,"\\supseteq ","&supe;"),w.nsube=w.nsubeq=w.notsube=w.notsubeq=w.nsubsete=w.nsubseteq=w.notsubsete=w.notsubseteq=f(Y,"\\not\\subseteq ","&#8840;"),w.nsupe=w.nsupeq=w.notsupe=w.notsupeq=w.nsupsete=w.nsupseteq=w.notsupsete=w.notsupseteq=w.nsupersete=w.nsuperseteq=w.notsupersete=w.notsuperseteq=f(Y,"\\not\\supseteq ","&#8841;"),w.mathbb=h(H,(function(e){e.createLeftOf=s,e.numBlocks=function(){return 1},e.parser=function(){var e=B.string,t=B.regex,n=B.optWhitespace;return n.then(e("{")).then(n).then(t(/^[NPZQRCH]/)).skip(n).skip(e("}")).map((function(e){return w[e]()}))}})),w.N=w.naturals=w.Naturals=f(V,"\\mathbb{N}","&#8469;"),w.P=w.primes=w.Primes=w.projective=w.Projective=w.probability=w.Probability=f(V,"\\mathbb{P}","&#8473;"),w.Z=w.integers=w.Integers=f(V,"\\mathbb{Z}","&#8484;"),w.Q=w.rationals=w.Rationals=f(V,"\\mathbb{Q}","&#8474;"),w.R=w.reals=w.Reals=f(V,"\\mathbb{R}","&#8477;"),w.C=w.complex=w.Complex=w.complexes=w.Complexes=w.complexplane=w.Complexplane=w.ComplexPlane=f(V,"\\mathbb{C}","&#8450;"),w.H=w.Hamiltonian=w.quaternions=w.Quaternions=f(V,"\\mathbb{H}","&#8461;"),w.quad=w.emsp=f(V,"\\quad "," "),w.qquad=f(V,"\\qquad "," "),w.diamond=f(V,"\\diamond ","&#9671;"),w.bigtriangleup=f(V,"\\bigtriangleup ","&#9651;"),w.ominus=f(V,"\\ominus ","&#8854;"),w.uplus=f(V,"\\uplus ","&#8846;"),w.bigtriangledown=f(V,"\\bigtriangledown ","&#9661;"),w.sqcap=f(V,"\\sqcap ","&#8851;"),w.triangleleft=f(V,"\\triangleleft ","&#8882;"),w.sqcup=f(V,"\\sqcup ","&#8852;"),w.triangleright=f(V,"\\triangleright ","&#8883;"),w.odot=w.circledot=f(V,"\\odot ","&#8857;"),w.bigcirc=f(V,"\\bigcirc ","&#9711;"),w.dagger=f(V,"\\dagger ","&#0134;"),w.ddagger=f(V,"\\ddagger ","&#135;"),w.wr=f(V,"\\wr ","&#8768;"),w.amalg=f(V,"\\amalg ","&#8720;"),w.models=f(V,"\\models ","&#8872;"),w.prec=f(V,"\\prec ","&#8826;"),w.succ=f(V,"\\succ ","&#8827;"),w.preceq=f(V,"\\preceq ","&#8828;"),w.succeq=f(V,"\\succeq ","&#8829;"),w.simeq=f(V,"\\simeq ","&#8771;"),w.mid=f(V,"\\mid ","&#8739;"),w.nmid=f(V,"\\nmid","&#8740;"),w.ll=f(V,"\\ll ","&#8810;"),w.gg=f(V,"\\gg ","&#8811;"),w.parallel=f(V,"\\parallel ","&#8741;"),w.nparallel=f(V,"\\nparallel ","&#8742;"),w.bowtie=f(V,"\\bowtie ","&#8904;"),w.sqsubset=f(V,"\\sqsubset ","&#8847;"),w.sqsupset=f(V,"\\sqsupset ","&#8848;"),w.smile=f(V,"\\smile ","&#8995;"),w.sqsubseteq=f(V,"\\sqsubseteq ","&#8849;"),w.sqsupseteq=f(V,"\\sqsupseteq ","&#8850;"),w.doteq=f(V,"\\doteq ","&#8784;"),w.frown=f(V,"\\frown ","&#8994;"),w.vdash=f(V,"\\vdash ","&#8870;"),w.dashv=f(V,"\\dashv ","&#8867;"),w.nless=f(V,"\\nless ","&#8814;"),w.ngtr=f(V,"\\ngtr ","&#8815;"),w.longleftarrow=f(V,"\\longleftarrow ","&#8592;"),w.longrightarrow=f(V,"\\longrightarrow ","&#8594;"),w.Longleftarrow=f(V,"\\Longleftarrow ","&#8656;"),w.Longrightarrow=f(V,"\\Longrightarrow ","&#8658;"),w.longleftrightarrow=f(V,"\\longleftrightarrow ","&#8596;"),w.updownarrow=f(V,"\\updownarrow ","&#8597;"),w.Longleftrightarrow=f(V,"\\Longleftrightarrow ","&#8660;"),w.Updownarrow=f(V,"\\Updownarrow ","&#8661;"),w.mapsto=f(V,"\\mapsto ","&#8614;"),w.nearrow=f(V,"\\nearrow ","&#8599;"),w.hookleftarrow=f(V,"\\hookleftarrow ","&#8617;"),w.hookrightarrow=f(V,"\\hookrightarrow ","&#8618;"),w.searrow=f(V,"\\searrow ","&#8600;"),w.leftharpoonup=f(V,"\\leftharpoonup ","&#8636;"),w.rightharpoonup=f(V,"\\rightharpoonup ","&#8640;"),w.swarrow=f(V,"\\swarrow ","&#8601;"),w.leftharpoondown=f(V,"\\leftharpoondown ","&#8637;"),w.rightharpoondown=f(V,"\\rightharpoondown ","&#8641;"),w.nwarrow=f(V,"\\nwarrow ","&#8598;"),w.ldots=f(V,"\\ldots ","&#8230;"),w.cdots=f(V,"\\cdots ","&#8943;"),w.vdots=f(V,"\\vdots ","&#8942;"),w.ddots=f(V,"\\ddots ","&#8945;"),w.surd=f(V,"\\surd ","&#8730;"),w.triangle=f(V,"\\triangle ","&#9651;"),w.ell=f(V,"\\ell ","&#8467;"),w.top=f(V,"\\top ","&#8868;"),w.flat=f(V,"\\flat ","&#9837;"),w.natural=f(V,"\\natural ","&#9838;"),w.sharp=f(V,"\\sharp ","&#9839;"),w.wp=f(V,"\\wp ","&#8472;"),w.bot=f(V,"\\bot ","&#8869;"),w.clubsuit=f(V,"\\clubsuit ","&#9827;"),w.diamondsuit=f(V,"\\diamondsuit ","&#9826;"),w.heartsuit=f(V,"\\heartsuit ","&#9825;"),w.spadesuit=f(V,"\\spadesuit ","&#9824;"),w.parallelogram=f(V,"\\parallelogram ","&#9649;"),w.square=f(V,"\\square ","&#11036;"),w.oint=f(V,"\\oint ","&#8750;"),w.bigcap=f(V,"\\bigcap ","&#8745;"),w.bigcup=f(V,"\\bigcup ","&#8746;"),w.bigsqcup=f(V,"\\bigsqcup ","&#8852;"),w.bigvee=f(V,"\\bigvee ","&#8744;"),w.bigwedge=f(V,"\\bigwedge ","&#8743;"),w.bigodot=f(V,"\\bigodot ","&#8857;"),w.bigotimes=f(V,"\\bigotimes ","&#8855;"),w.bigoplus=f(V,"\\bigoplus ","&#8853;"),w.biguplus=f(V,"\\biguplus ","&#8846;"),w.lfloor=f(V,"\\lfloor ","&#8970;"),w.rfloor=f(V,"\\rfloor ","&#8971;"),w.lceil=f(V,"\\lceil ","&#8968;"),w.rceil=f(V,"\\rceil ","&#8969;"),w.opencurlybrace=w.lbrace=f(V,"\\lbrace ","{"),w.closecurlybrace=w.rbrace=f(V,"\\rbrace ","}"),w.lbrack=f(V,"["),w.rbrack=f(V,"]"),w.slash=f(V,"/"),w.vert=f(V,"|"),w.perp=w.perpendicular=f(V,"\\perp ","&perp;"),w.nabla=w.del=f(V,"\\nabla ","&nabla;"),w.hbar=f(V,"\\hbar ","&#8463;"),w.AA=w.Angstrom=w.angstrom=f(V,"\\text\\AA ","&#8491;"),w.ring=w.circ=w.circle=f(V,"\\circ ","&#8728;"),w.bull=w.bullet=f(V,"\\bullet ","&bull;"),w.setminus=w.smallsetminus=f(V,"\\setminus ","&#8726;"),w["¬"]=w.neg=f(V,"\\neg ","&not;"),w.not=h(V,(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=B.succeed,n=B.optWhitespace;return function e(t){var n=B.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(w[e.suffixes[r]]()))})).or(n.then(t(this)))}})),w["…"]=w.dots=w.ellip=w.hellip=w.ellipsis=w.hellipsis=f(V,"\\dots ","&hellip;"),w.converges=w.darr=w.dnarr=w.dnarrow=w.downarrow=f(V,"\\downarrow ","&darr;"),w.dArr=w.dnArr=w.dnArrow=w.Downarrow=f(V,"\\Downarrow ","&dArr;"),w.diverges=w.uarr=w.uparrow=f(V,"\\uparrow ","&uarr;"),w.uArr=w.Uparrow=f(V,"\\Uparrow ","&uArr;"),w.to=f(Y,"\\to ","&rarr;"),w.rarr=w.rightarrow=f(V,"\\rightarrow ","&rarr;"),w.implies=f(Y,"\\Rightarrow ","&rArr;"),w.rArr=w.Rightarrow=f(V,"\\Rightarrow ","&rArr;"),w.gets=f(Y,"\\gets ","&larr;"),w.larr=w.leftarrow=f(V,"\\leftarrow ","&larr;"),w.impliedby=f(Y,"\\Leftarrow ","&lArr;"),w.lArr=w.Leftarrow=f(V,"\\Leftarrow ","&lArr;"),w.harr=w.lrarr=w.leftrightarrow=f(V,"\\leftrightarrow ","&harr;"),w.iff=f(Y,"\\Leftrightarrow ","&hArr;"),w.hArr=w.lrArr=w.Leftrightarrow=f(V,"\\Leftrightarrow ","&hArr;"),w.Re=w.Real=w.real=f(V,"\\Re ","&real;"),w.Im=w.imag=w.image=w.imagin=w.imaginary=w.Imaginary=f(V,"\\Im ","&image;"),w.part=w.partial=f(V,"\\partial ","&part;"),w.infty=w.infin=w.infinity=f(V,"\\infty ","&infin;"),w.pounds=f(V,"\\pounds ","&pound;"),w.alef=w.alefsym=w.aleph=w.alephsym=f(V,"\\aleph ","&alefsym;"),w.xist=w.xists=w.exist=w.exists=f(V,"\\exists ","&exist;"),w.nexists=w.nexist=f(V,"\\nexists ","&#8708;"),w.and=w.land=w.wedge=f(Y,"\\wedge ","&and;"),w.or=w.lor=w.vee=f(Y,"\\vee ","&or;"),w.o=w.O=w.empty=w.emptyset=w.oslash=w.Oslash=w.nothing=w.varnothing=f(Y,"\\varnothing ","&empty;"),w.cup=w.union=f(Y,"\\cup ","&cup;"),w.cap=w.intersect=w.intersection=f(Y,"\\cap ","&cap;"),w.deg=w.degree=f(V,"°","&deg;"),w.ang=w.angle=f(V,"\\angle ","&ang;"),w.measuredangle=f(V,"\\measuredangle ","&#8737;"),w.sphericalangle=f(V,"\\sphericalangle ","&#8738;");var me,ye,ve=s,be=document.createElement("div").style;for(var Ie in{transform:1,WebkitTransform:1,MozTransform:1,OTransform:1,msTransform:1})if(Ie in be){ye=Ie;break}ye?me=function(e,t,n){e.css(ye,"scale("+t+","+n+")")}:"filter"in be?(ve=function(e){e.className=e.className},me=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 o=setInterval(i);y(window).load((function(){clearTimeout(o),i()}))}):me=function(e,t,n){e.css("fontSize",n+"em")};var xe=h(H,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,"<"+n+" "+r+">&0</"+n+">")}})),we=h(ne,(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)}}));w.mathrm=f(xe,"\\mathrm","span",'class="mq-roman mq-font"'),w.mathit=f(xe,"\\mathit","i",'class="mq-font"'),w.mathbf=f(xe,"\\mathbf","b",'class="mq-font"'),w.mathsf=f(xe,"\\mathsf","span",'class="mq-sans-serif mq-font"'),w.mathtt=f(xe,"\\mathtt","span",'class="mq-monospace mq-font"'),w.mathbb=h(H,(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 o;if(!we.prototype.symbols[r])return t.apply(e,arguments);o=we(r),i&&o.replaces(i),o.createLeftOf(n)},e.deleteOutOf=function(t,r){var i=[];return e.eachChild((function(t){var n=t.ctrlSeq;i.push(ne(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=ne;we.prototype.symbols[n]&&(r=we),r(n).adopt(e,e.ends[1],0),t.remove()})),e.jQize().appendTo(e.jQ)}))}})),w.underline=f(xe,"\\underline","span",'class="mq-non-leaf mq-underline"'),w.bar=f(xe,"\\bar","span",'class="mq-non-leaf mq-overline"'),w.overline=f(xe,"\\overline","span",'class="mq-non-leaf mq-overline"');var Te=h(H,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span "+n+'><span class="mq-arrow-inner">&0</span></span>')}}));w.overrightarrow=f(Te,"\\overrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-right"'),w.overleftarrow=f(Te,"\\overleftarrow",'class="mq-non-leaf mq-overarrow mq-arrow-left"'),w.overleftrightarrow=f(Te,"\\overleftrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-leftright"'),w.underrightarrow=f(Te,"\\underrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-right"'),w.underleftarrow=f(Te,"\\underleftarrow",'class="mq-non-leaf mq-underarrow mq-arrow-left"'),w.underleftrightarrow=f(Te,"\\underleftrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-leftright"');var Me=h(H,(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>'})),Ae=w.xrightleftharpoons=h(Me,(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 G.optBlock.then((function(e){return G.block.map((function(t){var n=Ae();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(G.block.map((function(e){var t=Me();return t.blocks=[e],e.adopt(t,0,0),t})))},e.latex=function(){return this.ctrlSeq+"["+this.ends[g].latex()+"]{"+this.ends[1].latex()+"}"}}));w.overarc=f(xe,"\\overarc","span",'class="mq-non-leaf mq-overarc"'),w.dot=h(H,(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>')}})),w.textcolor=h(H,(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=B.optWhitespace,r=B.string,i=B.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}})),w.class=h(H,(function(e,t){e.parser=function(){var e=this,n=B.string,r=B.regex;return B.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 Ee=h(H,(function(e,t){e.ctrlSeq="_{...}^{...}",e.createLeftOf=function(e){if(this.replacedFragment||e[g]||!e.options.supSubsRequireOperand)return t.createLeftOf.apply(this,arguments)},e.contactWeld=function(e){for(var t=g;t;t=t===g&&1)if(this[t]instanceof Ee){for(var n="sub";n;n="sub"===n&&"sup"){var r=this[n],i=this[t][n];if(r){if(i)if(r.isEmpty())a=v(i,0,i.ends[g]);else{r.jQ.children().insAtDirEnd(-t,i.jQ);var o=r.children().disown(),a=v(i,o.ends[1],i.ends[g]);t===g?o.adopt(i,i.ends[1],0):o.adopt(i,0,i.ends[g])}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[g]===this&&(1===t&&a?a[g]?e.insRightOf(a[g]):e.insAtLeftEnd(a.parent):e.insRightOf(this[t]));break}},N.p.charsThatBreakOutOfSupSub="",e.finalizeTree=function(){this.ends[g].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 q?e.deleteSelection():e.clearSelection().insRightOf(this.parent),n.createLeftOf(e.show())}e[g]&&!e[1]&&!e.selection&&e.options.charsThatBreakOutOfSupSub.indexOf(t)>-1&&e.insRightOf(this.parent),W.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 q?r.remove():r&&r.deleteTowards(e,n.insAtDirEnd(-e,this.sub)),this.sub.isEmpty()&&(this.sub.deleteOutOf(g,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.text=function(){function e(e,t){var n=t&&t.text();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=y('<span class="mq-sup"/>').append(e.jQ.children()).attr(i,e.id).prependTo(this.jQ)):(this.sub=this.downInto=this.sup.downOutOf=e,e.adopt(this,0,this.sup).upOutOf=this.sup,e.jQ=y('<span class="mq-sub"></span>').append(e.jQ.children()).attr(i,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,o){if(o.insDirOf(this[i]?-i:i,this.parent),!this.isEmpty()){var a=this.ends[i];this.children().disown().withDirAdopt(i,o.parent,o[i],o[-i]).jQ.insDirOf(-i,o.jQ),o[-i]=a}e.supsub=n,delete e[t],delete e[r+"Into"],e[n][r+"OutOf"]=Ce,delete e[n].deleteOutOf,"sub"===t&&y(e.jQ.addClass("mq-sup-only")[0].lastChild).remove(),this.remove()}}(this,"sub sup".split(" ")[t],"sup sub".split(" ")[t],"down up".split(" ")[t])},e.reflow=function(){var e=this.jQ,t=e.prev();if(t.length){var n=e.children(".mq-sup");if(n.length){var r=parseInt(n.css("font-size")),i=n.offset().top+n.height()-t.offset().top-.7*r,o=parseInt(n.css("margin-bottom"));n.css("margin-bottom",o+i)}}}}));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)}w.subscript=w._=h(Ee,(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[g],this.sub.upOutOf=Ce,t.finalizeTree.call(this)}})),w.superscript=w.supscript=w["^"]=h(Ee,(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 Ne=h(H,(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>';q.prototype.init.call(this,e,n)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments),e.options.sumStartsWithNEquals&&(re("n").createLeftOf(e),ge().createLeftOf(e))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return this.ctrlSeq+"_"+e(this.ends[g].latex())+"^"+e(this.ends[1].latex())},e.parser=function(){for(var e=B.string,t=B.optWhitespace,n=B.succeed,r=G.block,i=this,o=i.blocks=[W(),W()],a=0;a<o.length;a+=1)o[a].adopt(i,i.ends[1],0);return t.then(e("_").or(e("^"))).then((function(e){var t=o["_"===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[g],this.upInto=this.ends[1],this.ends[g].upOutOf=this.ends[1],this.ends[1].downOutOf=this.ends[g]}}));w["∑"]=w.sum=w.summation=f(Ne,"\\sum ","&sum;"),w["∏"]=w.prod=w.product=f(Ne,"\\prod ","&prod;"),w.coprod=w.coproduct=f(Ne,"\\coprod ","&#8720;"),w["∫"]=w.int=w.integral=h(Ne,(function(e,t){e.init=function(){q.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=H.p.createLeftOf})),w.bigg=w.intsub=w.integralsubstitution=h(Ne,(function(e,t){e.init=function(){q.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=H.p.createLeftOf,e.parser=function(){var e=this,t=B.string,n=B.optWhitespace,r=B.succeed;e.blocks=[W(),W()];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(G).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(G.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 Se=w.frac=w.dfrac=w.cfrac=w.fraction=h(H,(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[g],this.downInto=this.ends[g].downOutOf=this.ends[1]}})),ke=w.over=T["/"]=h(Se,(function(e,t){e.createLeftOf=function(e){if(!this.replacedFragment){for(var n=e[g];n&&!(n instanceof Y||n instanceof(w.text||s)||n instanceof Ne||"\\ "===n.ctrlSeq||/^[,;:]$/.test(n.ctrlSeq));)n=n[g];n instanceof Ne&&n[1]instanceof Ee&&(n=n[1])[1]instanceof Ee&&n[1].ctrlSeq!=n.ctrlSeq&&(n=n[1]),n===e[g]||e.isTooDeep(1)||(this.replaces(x(n[1]||e.parent.ends[g],e[g])),e[g]=n)}t.createLeftOf.call(this,e)}})),je=w.sqrt=w["√"]=h(H,(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 G.optBlock.then((function(e){return G.block.map((function(t){var n=De();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;me(e.prev(),1,e.innerHeight()/+e.css("fontSize").slice(0,-2)-.1)}})),De=(w.hat=h(H,(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(",")"]})),w.nthroot=h(je,(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[g].latex()+"]{"+this.ends[1].latex()+"}"}}))),Le=h(H,(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 Oe(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"));me(this.delimjQs,o(1+.2*(e-1),1.2),1.2*e)}}w.vec=f(Le,"\\vec","&rarr;",["vec(",")"]),w.tilde=f(Le,"\\tilde","~",["tilde(",")"]);var Re=h(h(H,Oe),(function(e,t){e.init=function(e,n,r,i,o){t.init.call(this,"\\left"+i,void 0,[n,r]),this.side=e,this.sides={},this.sides[g]={ch:n,ctrlSeq:i},this.sides[1]={ch:r,ctrlSeq:o}},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[g].ch+'</span><span class="mq-non-leaf">&0</span><span class="mq-scaled mq-paren'+(this.side===g?" mq-ghost":"")+'">'+this.sides[1].ch+"</span></span>",t.html.call(this)},e.latex=function(){return"\\left"+this.sides[g].ctrlSeq+this.ends[g].latex()+"\\right"+this.sides[1].ctrlSeq},e.matchBrack=function(e,t,n){return n instanceof Re&&n.side&&n.side!==-t&&(!e.restrictMismatchedBrackets||Pe[this.sides[this.side].ch]===n.sides[n.side].ch||{"(":"]","[":")"}[this.sides[g].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===g?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[g].ch)var r=this.matchBrack(n,1,e[1])||this.matchBrack(n,g,e[g])||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]&&x(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(x(e[-i],e.parent.ends[-i],i)),e[-i]=0),t.createLeftOf.call(r,e);i===g?e.insAtLeftEnd(r.ends[g]):e.insRightOf(r)},e.placeCursor=s,e.unwrap=function(){this.ends[g].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],o=r.ends[e];if(e===this.side)return this.unwrap(),void(i?n.insDirOf(-e,i):n.insAtDirEnd(e,r));var a=n.options,s=!this.side;if(this.side=-e,this.matchBrack(a,e,this.ends[g].ends[this.side])){this.closeOpposing(this.ends[g].ends[this.side]);var l=this.ends[g].ends[e];this.unwrap(),l.siblingCreated&&l.siblingCreated(n.options,e),i?n.insDirOf(-e,i):n.insAtDirEnd(e,r)}else{if(this.matchBrack(a,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===g?0:1).addClass("mq-ghost").html(this.sides[e].ch)}i?(l=this.ends[g].ends[e],x(i,o,-e).disown().withDirAdopt(-e,this.ends[g],l,0).jQ.insAtDirEnd(e,this.ends[g].jQ.removeClass("mq-empty")),l.siblingCreated&&l.siblingCreated(n.options,e),n.insDirOf(-e,i)):t?n.insDirOf(e,this):n.insAtDirEnd(e,this.ends[g])}},e.deleteTowards=function(e,t){this.deleteSide(-e,!1,t)},e.finalizeTree=function(){this.ends[g].deleteOutOf=function(e,t){this.parent.deleteSide(e,!0,t)},this.finalizeTree=this.intentionalBlur=function(){this.delimjQs.eq(this.side===g?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 ze(e,t){t=t||e;var n=Pe[e],r=Pe[t];T[e]=f(Re,g,e,n,t,r),T[n]=f(Re,1,e,n,t,r)}ze("("),ze("["),ze("{","\\{"),w.langle=f(Re,g,"&lang;","&rang;","\\langle ","\\rangle "),w.rangle=f(Re,1,"&lang;","&rang;","\\langle ","\\rangle "),T["|"]=f(Re,g,"|","|","|","|"),w.lVert=f(Re,g,"&#8741;","&#8741;","\\lVert ","\\rVert "),w.rVert=f(Re,1,"&#8741;","&#8741;","\\lVert ","\\rVert "),w.left=h(H,(function(e){e.parser=function(){var e=B.regex,t=B.string,n=(B.succeed,B.optWhitespace);return n.then(e(/^(?:[([|]|\\\{|\\langle(?![a-zA-Z])|\\lVert(?![a-zA-Z]))/)).then((function(r){var i="\\"===r.charAt(0)?r.slice(1):r;return"\\langle"==r&&(i="&lang;",r+=" "),"\\lVert"==r&&(i="&#8741;",r+=" "),G.then((function(o){return t("\\right").skip(n).then(e(/^(?:[\])|]|\\\}|\\rangle(?![a-zA-Z])|\\rVert(?![a-zA-Z]))/)).map((function(e){var t="\\"===e.charAt(0)?e.slice(1):e;"\\rangle"==e&&(t="&rang;",e+=" "),"\\rVert"==e&&(t="&#8741;",e+=" ");var n=Re(0,i,t,r,e);return n.blocks=[o],o.adopt(n,0,0),n}))}))}))}})),w.right=h(H,(function(e){e.parser=function(){return B.fail("unmatched \\right")}}));var Ue=w.binom=w.binomial=h(h(H,Oe),(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(",",",")"]}));w.choose=h(Ue,(function(e){e.createLeftOf=ke.prototype.createLeftOf})),w.editable=w.MathQuillMathField=h(H,(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=B.string,r=B.regex,i=B.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=E(this.ends[g],this.jQ,e);t.KIND_OF_MQ="MathField",t.editable=!0,t.createTextarea(),t.editablesTextareaEvents(),t.cursor.insAtRightEnd(t.root),U(t.root)},e.registerInnerField=function(e,t){e.push(e[this.name]=t(this.ends[g].controller))},e.latex=function(){return this.ends[g].latex()},e.text=function(){return this.ends[g].text()}}));var _e=w.embed=h(q,(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=B.string,n=B.regex,r=B.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(j[i](t))}))}))}})),Be={};w.begin=h(H,(function(e,t){e.parser=function(){var e=B.string,t=B.regex;return e("{").then(t(/^[a-z]+/i)).skip(e("}")).then((function(t){return(Be[t]?Be[t]().parser():B.fail("unknown environment type: "+t)).skip(e("\\end{"+t+"}"))}))}}));var Fe=h(H,(function(e,t){e.template=[["\\begin{","}"],["\\end{","}"]],e.wrappers=function(){return[e.template[0].join(this.environment),e.template[1].join(this.environment)]}})),Ge=Be.matrix=h(Fe,(function(e,t){var n="\\\\";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&&me(n,o(1+.2*(t-1),1.2),1.05*t)},e.latex=function(){var e,t=this.hline,n="";this.eachChild((function(r){void 0!==e&&(e!==r.row?(n+="\\\\\n",t&&(n+="\\hline\n",t=!1)):n+="&"),e=r.row,n+=r.latex()}));var r=this.options?"{"+this.options+"}":"";return this.wrappers().join(r+"\n"+n+"\n")},e.html=function(){var e,n=[],r="",i=0;function o(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">'+o(this.parentheses.left)+'<table class="mq-non-leaf">'+r.replace(/\$tds/g,(function(){return n.shift().join("")}))+"</table>"+o(this.parentheses.right)+"</span>",t.html.call(this)},e.createBlocks=function(){this.blocks=[Ze(0,this),Ze(0,this),Ze(1,this),Ze(1,this)]},e.parser=function(){var e=this,t=B.optWhitespace,r=B.string;return(0,B.regex)(/^({[clr](\|?[clr])*})?/).then((function(t){return t&&!e.options&&(e.options=t.slice(1,-1)),B.succeed(e)})).then(t.then(r("&").or(r(n)).or(r("\\hline")).or(G.block)).many()).skip(t).then((function(t){var r=[],i=0;function o(){e.blocks.push(Ze(i,e,r)),r=[]}e.blocks=[];for(var a=0;a<t.length;a+=1)t[a]instanceof W?r.push(t[a]):"\\hline"===t[a]?e.hline=!0:(o(),t[a]===n&&(i+=1));return o(),e.autocorrect(),B.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=[],o=0;o<r.length;o+=1)e!==(n=r[o]).row&&(i[e=n.row]=[],t=0),i[e][t]=n,n[1]=r[o+1],n[g]=r[o-1],i[e-1]&&i[e-1][t]&&(n.upOutOf=i[e-1][t],i[e-1][t].downOutOf=n),t+=1;this.ends[g]=r[0],this.ends[1]=r[r.length-1]},e.autocorrect=function(e){var t,n,r,i,o,a=[],s=(e=[],this.blocks);for(o=0;o<s.length;o+=1)e[i=s[o].row]=e[i]||[],e[i].push(s[o]),a[i]=e[i].length;if((t=Math.max.apply(null,a))!==Math.min.apply(null,a)){for(o=0;o<e.length;o+=1)for(n=t-e[o].length;n;)r=t*o+e[o].length,s.splice(r,0,Ze(o,this)),n-=1;this.relink()}},e.deleteCell=function(e){var t,n,r=[],i=[],o=[],a=[],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&&(o=r[t],a=i[n]),n+=1})),l(o)&&a.length>1&&(t=r.indexOf(o),this.eachChild((function(e){e.row>t&&(e.row-=1)})),c(o),this.jQ.find("tr").eq(t).remove()),l(a)&&o.length>1&&c(a),this.finalizeTree()},e.addRow=function(e){var t,n=[],r=[],o=[],a=y("<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,o.push(e))}));for(var c=0;c<l;c+=1)(t=Ze(s+1)).parent=this,r.push(t),t.jQ=y('<td class="mq-empty">').attr(i,t.id).appendTo(a);return this.jQ.find("tr").eq(s).after(a),this.blocks=n.concat(r,o),r[0]},e.addColumn=function(e){var t,n,r=[],o=[];this.eachChild((function(n){r[n.row]=r[n.row]||[],r[n.row].push(n),n===e&&(t=r[n.row].length)}));for(var a=0;a<r.length;a+=1)(n=Ze(a)).parent=this,o.push(n),r[a].splice(t,0,n),n.jQ=y('<td class="mq-empty">').attr(i,n.id);return this.jQ.find("tr").each((function(e){y(this).find("td").eq(t-1).after(r[e][t].jQ)})),this.blocks=[].concat.apply([],r),o[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")}}}));Be.pmatrix=h(Ge,(function(e,t){e.environment="pmatrix",e.parentheses={left:"(",right:")"}})),Be.bmatrix=h(Ge,(function(e,t){e.environment="bmatrix",e.parentheses={left:"[",right:"]"}})),Be.Bmatrix=h(Ge,(function(e,t){e.environment="Bmatrix",e.parentheses={left:"{",right:"}"}})),Be.vmatrix=h(Ge,(function(e,t){e.environment="vmatrix",e.parentheses={left:"|",right:"|"}})),Be.Vmatrix=h(Ge,(function(e,t){e.environment="Vmatrix",e.parentheses={left:"&#8214;",right:"&#8214;"}})),Be.cases=h(Ge,(function(e,t){e.environment="cases",e.parentheses={left:"{",right:null}})),Be.array=h(Ge,(function(e,t){e.environment="array",e.parentheses={left:null,right:null},e.hline=!0,e.options="l|l"}));var Ze=h(W,(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,o=this,a=0;if(this.parent.eachChild((function(e){e.row===o.row&&(e===o&&(i=a),a+=1)})),i===a-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(g,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)}))}})),He=(T["\\"]=h(H,(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[g].focus=function(){return this.parent.jQ.addClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.removeClass("mq-empty"),this},this.ends[g].blur=function(){return this.parent.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.addClass("mq-empty"),this},this.ends[g].write=function(e,t){e.show().deleteSelection(),t.match(/[a-z]/i)?V(t).createLeftOf(e):(this.parent.renderCommand(e),"\\"===t&&this.isEmpty()||e.parent.write(e,t))},this.ends[g].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 y(e.target=n).trigger(e),!1})).insertBefore(this.jQ).add(this.jQ)}},e.latex=function(){return"\\"+this.ends[g].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[g].latex();t||(t=" ");var n=w[t]||Be[t];n?(n=n(t),this._replacedFragment&&n.replaces(this._replacedFragment),n.createLeftOf(e)):((n=J()).replaces(t),n.createLeftOf(e),e.insRightOf(n),this._replacedFragment&&this._replacedFragment.remove())}})),P(1));for(var qe in He)!function(e,t){"function"==typeof t?(L[e]=function(){return D(),t.apply(this,arguments)},L[e].prototype=t.prototype):L[e]=t}(qe,He[qe]);"object"==typeof e.exports&&(e.exports=L)}()},6660:(e,t,n)=>{e.exports=n(8226)},8427:(e,t,n)=>{"use strict";var r=n(4345),i=n(6435),o=n(5905),a=n(3025),s=n(3916),l=n(6135),c=n(6923),u=n(3201),d=n(5400),f=n(5220),p=n(733),h=n(7590);e.exports=function(e){return new Promise((function(t,n){var g,m=e.data,y=e.headers,v=e.responseType,b=e.withXSRFToken;function I(){e.cancelToken&&e.cancelToken.unsubscribe(g),e.signal&&e.signal.removeEventListener("abort",g)}r.isFormData(m)&&r.isStandardBrowserEnv()&&delete y["Content-Type"];var x=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",T=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(w+":"+T)}var M=s(e.baseURL,e.url);function A(){if(x){var r="getAllResponseHeaders"in x?l(x.getAllResponseHeaders()):null,o={data:v&&"text"!==v&&"json"!==v?x.response:x.responseText,status:x.status,statusText:x.statusText,headers:r,config:e,request:x};i((function(e){t(e),I()}),(function(e){n(e),I()}),o),x=null}}if(x.open(e.method.toUpperCase(),a(M,e.params,e.paramsSerializer),!0),x.timeout=e.timeout,"onloadend"in x?x.onloadend=A:x.onreadystatechange=function(){x&&4===x.readyState&&(0!==x.status||x.responseURL&&0===x.responseURL.indexOf("file:"))&&setTimeout(A)},x.onabort=function(){x&&(n(new d("Request aborted",d.ECONNABORTED,e,x)),x=null)},x.onerror=function(){n(new d("Network Error",d.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new d(t,r.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,x)),x=null},r.isStandardBrowserEnv()&&(b&&r.isFunction(b)&&(b=b(e)),b||!1!==b&&c(M))){var E=e.xsrfHeaderName&&e.xsrfCookieName&&o.read(e.xsrfCookieName);E&&(y[e.xsrfHeaderName]=E)}"setRequestHeader"in x&&r.forEach(y,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete y[t]:x.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(x.withCredentials=!!e.withCredentials),v&&"json"!==v&&(x.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&x.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&x.upload&&x.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(g=function(t){x&&(n(!t||t.type?new f(null,e,x):t),x.abort(),x=null)},e.cancelToken&&e.cancelToken.subscribe(g),e.signal&&(e.signal.aborted?g():e.signal.addEventListener("abort",g))),m||!1===m||0===m||""===m||(m=null);var C=p(M);C&&-1===h.protocols.indexOf(C)?n(new d("Unsupported protocol "+C+":",d.ERR_BAD_REQUEST,e)):x.send(m)}))}},8226:(e,t,n)=>{"use strict";var r=n(4345),i=n(5063),o=n(9560),a=n(4816),s=n(6075),l=n(2729),c=function e(t){var n=new o(t),s=i(o.prototype.request,n);return r.extend(s,o.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(s);c.Axios=o,c.CanceledError=n(5220),c.CancelToken=n(5912),c.isCancel=n(6945),c.VERSION=n(9978).version,c.toFormData=n(4195),c.AxiosError=n(5400),c.Cancel=c.CanceledError,c.all=function(e){return Promise.all(e)},c.spread=n(8127),c.isAxiosError=n(8568),c.formToJSON=function(e){return l(r.isHTMLForm(e)?new FormData(e):e)},e.exports=c,e.exports.default=c},5912:(e,t,n)=>{"use strict";var r=n(5220);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){for(var t=n._listeners.length;t-- >0;)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,i,o){n.reason||(n.reason=new r(e,i,o),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},5220:(e,t,n)=>{"use strict";var r=n(5400);function i(e,t,n){r.call(this,null==e?"canceled":e,r.ERR_CANCELED,t,n),this.name="CanceledError"}n(4345).inherits(i,r,{__CANCEL__:!0}),e.exports=i},6945:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},9560:(e,t,n)=>{"use strict";var r=n(4345),i=n(3025),o=n(546),a=n(1617),s=n(4816),l=n(3916),c=n(6552),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var i=t.paramsSerializer;void 0!==i&&c.assertOptions(i,{encode:u.function,serialize:u.function},!0),r.isFunction(i)&&(t.paramsSerializer={serialize:i});var o=[],l=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));var d,f=[];if(this.interceptors.response.forEach((function(e){f.push(e.fulfilled,e.rejected)})),!l){var p=[a,void 0];for(Array.prototype.unshift.apply(p,o),p=p.concat(f),d=Promise.resolve(t);p.length;)d=d.then(p.shift(),p.shift());return d}for(var h=t;o.length;){var g=o.shift(),m=o.shift();try{h=g(h)}catch(e){m(e);break}}try{d=a(h)}catch(e){return Promise.reject(e)}for(;f.length;)d=d.then(f.shift(),f.shift());return d},d.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return i(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(s(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},5400:(e,t,n)=>{"use strict";var r=n(4345);function i(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}r.inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=i.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=function(e,t,n,a,s,l){var c=Object.create(o);return r.toFlatObject(e,c,(function(e){return e!==Error.prototype})),i.call(c,e.message,t,n,a,s),c.cause=e,c.name=e.name,l&&Object.assign(c,l),c},e.exports=i},546:(e,t,n)=>{"use strict";var r=n(4345);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.clear=function(){this.handlers&&(this.handlers=[])},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},3916:(e,t,n)=>{"use strict";var r=n(4860),i=n(7825);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},1617:(e,t,n)=>{"use strict";var r=n(4345),i=n(7638),o=n(6945),a=n(6075),s=n(5220),l=n(2327);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,null,e.transformRequest),l(e.headers,"Accept"),l(e.headers,"Content-Type"),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=i.call(e,t.data,t.headers,t.status,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,t.response.status,e.transformResponse))),Promise.reject(t)}))}},4816:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e,t){t=t||{};var n={};function i(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isEmptyObject(t)?r.merge({},e):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function l(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);r.isUndefined(i)&&t!==l||(n[e]=i)})),n}},6435:(e,t,n)=>{"use strict";var r=n(5400);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},7638:(e,t,n)=>{"use strict";var r=n(4345),i=n(6075);e.exports=function(e,t,n,o){var a=this||i;return r.forEach(o,(function(r){e=r.call(a,e,t,n)})),e}},6075:(e,t,n)=>{"use strict";var r=n(4345),i=n(2327),o=n(5400),a=n(3201),s=n(4195),l=n(2830),c=n(7590),u=n(2729),d={"Content-Type":"application/x-www-form-urlencoded"};function f(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var p,h={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(p=n(8427)),p),transformRequest:[function(e,t){i(t,"Accept"),i(t,"Content-Type");var n,o=t&&t["Content-Type"]||"",a=o.indexOf("application/json")>-1,c=r.isObject(e);if(c&&r.isHTMLForm(e)&&(e=new FormData(e)),r.isFormData(e))return a?JSON.stringify(u(e)):e;if(r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return f(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();if(c){if(-1!==o.indexOf("application/x-www-form-urlencoded"))return l(e,this.formSerializer).toString();if((n=r.isFileList(e))||o.indexOf("multipart/form-data")>-1){var d=this.env&&this.env.FormData;return s(n?{"files[]":e}:e,d&&new d,this.formSerializer)}}return c||a?(f(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||h.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(e&&r.isString(e)&&(n&&!this.responseType||i)){var a=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o.from(e,o.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:c.classes.FormData,Blob:c.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){h.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){h.headers[e]=r.merge(d)})),e.exports=h},3201:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},285:(e,t,n)=>{e.exports=n(8447)},9978:e=>{e.exports={version:"0.28.1"}},7741:(e,t,n)=>{"use strict";var r=n(4195);function i(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function o(e,t){this._pairs=[],e&&r(e,this,t)}var a=o.prototype;a.append=function(e,t){this._pairs.push([e,t])},a.toString=function(e){var t=e?function(t){return e.call(this,t,i)}:i;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")},e.exports=o},5063:e=>{"use strict";e.exports=function(e,t){return function(){return e.apply(t,arguments)}}},3025:(e,t,n)=>{"use strict";var r=n(4345),i=n(7741);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a));var s,l=n&&n.encode||o,c=n&&n.serialize;return(s=c?c(t,n):r.isURLSearchParams(t)?t.toString():new i(t,n).toString(l))&&(e+=(-1===e.indexOf("?")?"?":"&")+s),e}},7825:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},5905:(e,t,n)=>{"use strict";var r=n(4345);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2729:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e){function t(e,n,i,o){var a=e[o++],s=Number.isFinite(+a),l=o>=e.length;return a=!a&&r.isArray(i)?i.length:a,l?(r.hasOwnProperty(i,a)?i[a]=[i[a],n]:i[a]=n,!s):(i[a]&&r.isObject(i[a])||(i[a]=[]),t(e,n,i[a],o)&&r.isArray(i[a])&&(i[a]=function(e){var t,n,r={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r[n=i[t]]=e[n];return r}(i[a])),!s)}if(r.isFormData(e)&&r.isFunction(e.entries)){var n={};return r.forEachEntry(e,(function(e,i){t(function(e){return r.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),i,n,0)})),n}return null}},4860:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},8568:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},6923:(e,t,n)=>{"use strict";var r=n(4345);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},2327:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},6135:(e,t,n)=>{"use strict";var r=n(4345),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.slice(0,o)).toLowerCase(),n=r.trim(e.slice(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},733:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8127:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4195:(e,t,n)=>{"use strict";var r=n(4345),i=n(5400),o=n(285);function a(e){return r.isPlainObject(e)||r.isArray(e)}function s(e){return r.endsWith(e,"[]")?e.slice(0,-2):e}function l(e,t,n){return e?e.concat(t).map((function(e,t){return e=s(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var c=r.toFlatObject(r,{},null,(function(e){return/^is[A-Z]/.test(e)}));e.exports=function(e,t,n){if(!r.isObject(e))throw new TypeError("target must be an object");t=t||new(o||FormData);var u,d=(n=r.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!r.isUndefined(t[e])}))).metaTokens,f=n.visitor||y,p=n.dots,h=n.indexes,g=(n.Blob||"undefined"!=typeof Blob&&Blob)&&(u=t)&&r.isFunction(u.append)&&"FormData"===u[Symbol.toStringTag]&&u[Symbol.iterator];if(!r.isFunction(f))throw new TypeError("visitor must be a function");function m(e){if(null===e)return"";if(r.isDate(e))return e.toISOString();if(!g&&r.isBlob(e))throw new i("Blob is not supported. Use a Buffer instead.");return r.isArrayBuffer(e)||r.isTypedArray(e)?g&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function y(e,n,i){var o=e;if(e&&!i&&"object"==typeof e)if(r.endsWith(n,"{}"))n=d?n:n.slice(0,-2),e=JSON.stringify(e);else if(r.isArray(e)&&function(e){return r.isArray(e)&&!e.some(a)}(e)||r.isFileList(e)||r.endsWith(n,"[]")&&(o=r.toArray(e)))return n=s(n),o.forEach((function(e,i){!r.isUndefined(e)&&t.append(!0===h?l([n],i,p):null===h?n:n+"[]",m(e))})),!1;return!!a(e)||(t.append(l(i,n,p),m(e)),!1)}var v=[],b=Object.assign(c,{defaultVisitor:y,convertValue:m,isVisitable:a});if(!r.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!r.isUndefined(n)){if(-1!==v.indexOf(n))throw Error("Circular reference detected in "+i.join("."));v.push(n),r.forEach(n,(function(n,o){!0===(!r.isUndefined(n)&&f.call(t,n,r.isString(o)?o.trim():o,i,b))&&e(n,i?i.concat(o):[o])})),v.pop()}}(e),t}},2830:(e,t,n)=>{"use strict";var r=n(4345),i=n(4195),o=n(7590);e.exports=function(e,t){return i(e,new o.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return o.isNode&&r.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}},6552:(e,t,n)=>{"use strict";var r=n(9978).version,i=n(5400),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new i(o(r," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var a=r[o],s=t[a];if(s){var l=e[a],c=void 0===l||s(l,a,e);if(!0!==c)throw new i("option "+a+" must be "+c,i.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:o}},6194:e=>{"use strict";e.exports=FormData},4833:(e,t,n)=>{"use strict";var r=n(7741);e.exports="undefined"!=typeof URLSearchParams?URLSearchParams:r},2453:(e,t,n)=>{"use strict";e.exports={isBrowser:!0,classes:{URLSearchParams:n(4833),FormData:n(6194),Blob},protocols:["http","https","file","blob","url","data"]}},7590:(e,t,n)=>{"use strict";e.exports=n(2453)},4345:(e,t,n)=>{"use strict";var r,i=n(5063),o=Object.prototype.toString,a=(r=Object.create(null),function(e){var t=o.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function l(e){return Array.isArray(e)}function c(e){return void 0===e}var u=s("ArrayBuffer");function d(e){return"number"==typeof e}function f(e){return null!==e&&"object"==typeof e}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var h=s("Date"),g=s("File"),m=s("Blob"),y=s("FileList");function v(e){return"[object Function]"===o.call(e)}var b=s("URLSearchParams");function I(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var x,w,T=(x="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return x&&e instanceof x}),M=s("HTMLFormElement"),A=(w=Object.prototype.hasOwnProperty,function(e,t){return w.call(e,t)});e.exports={isArray:l,isArrayBuffer:u,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||o.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:d,isObject:f,isPlainObject:p,isEmptyObject:function(e){return e&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype},isUndefined:c,isDate:h,isFile:g,isBlob:m,isFunction:v,isStream:function(e){return f(e)&&v(e.pipe)},isURLSearchParams:b,isStandardBrowserEnv:function(){var e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:I,merge:function e(){var t={};function n(n,r){p(t[r])&&p(n)?t[r]=e(t[r],n):p(n)?t[r]=e({},n):l(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)I(arguments[r],n);return t},extend:function(e,t,n){return I(t,(function(t,r){e[r]=n&&"function"==typeof t?i(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var i,o,a,s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(l(e))return e;var t=e.length;if(!d(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:T,isFileList:y,forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var i=n.value;t.call(e,i[0],i[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:M,hasOwnProperty:A}},2743:e=>{"use strict";var t=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===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var c=Array.isArray(n);return c===Array.isArray(e)?c?l.arrayMerge(e,n,l):function(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}(e,n,l):r(n,l)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var l=s;e.exports=l},6593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},5193: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},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var s=a(n(3338)),l=n(2305),c=n(6593),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d(e){return e.replace(/"/g,"&quot;")}var f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),r="",i=0;i<n.length;i++)r+=h(n[i],t);return r}function h(e,t){switch(e.type){case s.Root:return p(e.children,t);case s.Doctype:case s.Directive:return"<".concat(e.data,">");case s.Comment:return"\x3c!--".concat(e.data,"--\x3e");case s.CDATA:return function(e){return"<![CDATA[".concat(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&&g.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&m.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),o=function(e,t){var n;if(e){var r=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?d:t.xmlMode||"utf8"!==t.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map((function(n){var i,o,a=null!==(i=e[n])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(n=null!==(o=c.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==a?"".concat(n,'="').concat(r(a),'"'):n})).join(" ")}}(e.attribs,t);return o&&(i+=" ".concat(o)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(i+="</".concat(e.name,">"))),i}(e,t);case s.Text:return function(e,t){var n,r=e.data||"";return!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(r):(0,l.escapeText)(r)),r}(e,t)}}t.render=p,t.default=p;var g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},3338:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},1138:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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 o=n(3338),a=n(2888);i(n(2888),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!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(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=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=this.options.xmlMode?o.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)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.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}();t.DomHandler=l,t.default=l},2888: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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=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},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(3338),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return 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),w(this,e)},e}();t.Node=s;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}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(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}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(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=h;var g=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),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 m(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function I(e){return e.type===a.ElementType.Directive}function x(e){return e.type===a.ElementType.Root}function w(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(m(e)){var r=t?T(e.children):[],i=new g(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(y(e)){r=t?T(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),n=a}else if(x(e)){r=t?T(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!I(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function T(e){for(var t=e.map((function(e){return w(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=g,t.isTag=m,t.isCDATA=y,t.isText=v,t.isComment=b,t.isDirective=I,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w},1206:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(8642),i=n(8052);t.getFeed=function(e){var t=l(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:s(n)};u(r,"id","id",n),u(r,"title","title",n);var i=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);var o=c("summary",n)||c("content",n);o&&(r.description=o);var a=c("updated",n);return a&&(r.pubDate=new Date(a)),r}))};u(r,"id","id",n),u(r,"title","title",n);var o=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o),u(r,"description","subtitle",n);var a=c("updated",n);return a&&(r.updated=new Date(a)),u(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:s(t)};u(n,"id","guid",t),u(n,"title","title",t),u(n,"link","link",t),u(n,"description","description",t);var r=c("pubDate",t)||c("dc:date",t);return r&&(n.pubDate=new Date(r)),n}))};u(o,"title","title",r),u(o,"link","link",r),u(o,"description","description",r);var a=c("lastBuildDate",r);return a&&(o.updated=new Date(a)),u(o,"author","managingEditor",r,!0),o}(t):null};var o=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++)t[c=i[r]]&&(n[c]=t[c]);for(var s=0,l=a;s<l.length;s++){var c;t[c=l[s]]&&(n[c]=parseInt(t[c],10))}return t.expression&&(n.expression=t.expression),n}))}function l(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,n){return void 0===n&&(n=!1),(0,r.textContent)((0,i.getElementsByTagName)(e,t,n,1)).trim()}function u(e,t,n,r,i){void 0===i&&(i=!1);var o=c(n,r,i);o&&(e[t]=o)}function d(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},3698:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var r,i=n(1138);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)o.unshift(a),a=a.parent;for(var s=Math.min(n.length,o.length),l=0;l<s&&n[l]===o[l];)l++;if(0===l)return r.DISCONNECTED;var c=n[l-1],u=c.children,d=n[l],f=o[l];return u.indexOf(d)>u.indexOf(f)?c===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:c===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}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},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(r=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0})),e}},6403:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(n(8642),t),i(n(5517),t),i(n(6178),t),i(n(1467),t),i(n(8052),t),i(n(3698),t),i(n(1206),t);var o=n(1138);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},8052:(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(1138),i=n(1467),o={tag_name:function(e){return"function"==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return(0,r.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(0,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.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 Object.prototype.hasOwnProperty.call(o,t)?o[t](n):a(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,r){void 0===r&&(r=1/0);var o=l(e);return o?(0,i.filter)(o,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(a("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_type(e),t,n,r)}},6178:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,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 o=i.children;o[o.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=r,i){if(i.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(i),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},1467:(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(1138);function i(e,t,n,i){for(var o=[],a=[t],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return o;a.shift(),s.shift()}else{var l=a[0][s[0]++];if(e(l)&&(o.push(l),--i<=0))return o;n&&(0,r.hasChildren)(l)&&l.children.length>0&&(s.unshift(0),a.unshift(l.children))}}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),i(e,Array.isArray(t)?t:[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 o=null,a=0;a<n.length&&!o;a++){var s=n[a];(0,r.isTag)(s)&&(t(s)?o=s:i&&s.children.length>0&&(o=e(t,s.children,!0)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||e(t,n.children))}))},t.findAll=function(e,t){for(var n=[],i=[t],o=[0];;)if(o[0]>=i[0].length){if(1===i.length)return n;i.shift(),o.shift()}else{var a=i[0][o[0]++];(0,r.isTag)(a)&&(e(a)&&n.push(a),a.children.length>0&&(o.unshift(0),i.unshift(a.children)))}}},8642: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.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(1138),o=r(n(5193)),a=n(3338);function s(e,t){return(0,o.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},5517:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(1138);function i(e){return(0,r.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}t.getChildren=i,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return i(t);for(var n=[e],r=e.prev,a=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=a;)n.push(a),a=a.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&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},7120:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference")},4828:(e,t,n)=>{"use strict";n(7120)},3379:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),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)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=a(n(7346));t.htmlDecodeTree=s.default;var l=a(n(8622));t.xmlDecodeTree=l.default;var c=o(n(2809));t.decodeCodePoint=c.default;var u,d,f,p,h=n(2809);function g(e){return e>=u.ZERO&&e<=u.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return h.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return h.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(u||(u={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(d=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(f||(f={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(p=t.DecodingMode||(t.DecodingMode={}));var m=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=f.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=f.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case f.EntityStart:return e.charCodeAt(t)===u.NUM?(this.state=f.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=f.NamedEntity,this.stateNamedEntity(e,t));case f.NumericStart:return this.stateNumericStart(e,t);case f.NumericDecimal:return this.stateNumericDecimal(e,t);case f.NumericHex:return this.stateNumericHex(e,t);case f.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===u.LOWER_X?(this.state=f.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=f.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,r){if(t!==n){var i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var n,r=t;t<e.length;){var i=e.charCodeAt(t);if(!(g(i)||(n=i,n>=u.UPPER_A&&n<=u.UPPER_F||n>=u.LOWER_A&&n<=u.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t<e.length;){var r=e.charCodeAt(t);if(!g(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===u.SEMI)this.consumed+=1;else if(this.decodeMode===p.Strict)return 0;return this.emitCodePoint((0,c.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==u.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var n=this.decodeTree,r=n[this.treeIndex],i=(r&d.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var o=e.charCodeAt(t);if(this.treeIndex=v(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===p.Attribute&&(0===i||((a=o)===u.EQUALS||function(e){return e>=u.UPPER_A&&e<=u.UPPER_Z||e>=u.LOWER_A&&e<=u.LOWER_Z||g(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&d.VALUE_LENGTH)>>14)){if(o===u.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&d.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var r=this.decodeTree;return this.emitCodePoint(1===t?r[e]&~d.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case f.NamedEntity:return 0===this.result||this.decodeMode===p.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case f.NumericDecimal:return this.emitNumericEntity(0,2);case f.NumericHex:return this.emitNumericEntity(0,3);case f.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case f.EntityStart:return 0}},e}();function y(e){var t="",n=new m(e,(function(e){return t+=(0,c.fromCodePoint)(e)}));return function(e,r){for(var i=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);var a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}var s=t+e.slice(i);return t="",s}}function v(e,t,n,r){var i=(t&d.BRANCH_LENGTH)>>7,o=t&d.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){var a=r-o;return a<0||a>=i?-1:e[n+a]-1}for(var s=n,l=s+i-1;s<=l;){var c=s+l>>>1,u=e[c];if(u<r)s=c+1;else{if(!(u>r))return e[c+i];l=c-1}}return-1}t.EntityDecoder=m,t.determineBranch=v;var b=y(s.default),I=y(l.default);t.decodeHTML=function(e,t){return void 0===t&&(t=p.Legacy),b(e,t)},t.decodeHTMLAttribute=function(e){return b(e,p.Attribute)},t.decodeHTMLStrict=function(e){return b(e,p.Strict)},t.decodeXML=function(e){return I(e,p.Strict)}},2809:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[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 i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=r.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(n=String.fromCodePoint)&&void 0!==n?n:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},3231: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.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=r(n(8635)),o=n(7078),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var n,r="",a=0;null!==(n=e.exec(t));){var s=n.index;r+=t.substring(a,s);var l=t.charCodeAt(s),c=i.default.get(l);if("object"==typeof c){if(s+1<t.length){var u=t.charCodeAt(s+1),d="number"==typeof c.n?c.n===u?c.o:void 0:c.n.get(u);if(void 0!==d){r+=d,a=e.lastIndex+=1;continue}}c=c.v}if(void 0!==c)r+=c,a=s+1;else{var f=(0,o.getCodePoint)(t,s);r+="&#x".concat(f.toString(16),";"),a=e.lastIndex+=Number(f!==l)}}return r+t.substr(a)}t.encodeHTML=function(e){return s(a,e)},t.encodeNonAsciiHTML=function(e){return s(o.xmlReplacer,e)}},7078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function r(e){for(var r,i="",o=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(i+=e.substring(o,a)+l,o=a+1):(i+="".concat(e.substring(o,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return i+e.substr(o)}function i(e,t){return function(n){for(var r,i=0,o="";r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=i(/[&<>'"]/g,n),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},7346:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},8622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},8635:(e,t)=>{"use strict";function n(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map(n([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(n([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(n([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(n([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&u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f;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]))},2305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var r,i,o=n(3379),a=n(3231),s=n(7078);function l(e,t){if(void 0===t&&(t=r.XML),("number"==typeof t?t:t.level)===r.HTML){var n="object"==typeof t?t.mode:void 0;return(0,o.decodeHTML)(e,n)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(r=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=l,t.decodeStrict=function(e,t){var n;void 0===t&&(t=r.XML);var i="number"==typeof t?{level:t}:t;return null!==(n=i.mode)&&void 0!==n||(i.mode=o.DecodingMode.Strict),l(e,i)},t.encode=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.mode===i.UTF8?(0,s.escapeUTF8)(e):n.mode===i.Attribute?(0,s.escapeAttribute)(e):n.mode===i.Text?(0,s.escapeText)(e):n.level===r.HTML?n.mode===i.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,s.encodeXML)(e)};var c=n(7078);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return c.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return c.escapeText}});var u=n(3231);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=n(3379);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})},2189:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},4867:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function i(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,c(r.key),r)}}function o(e,t,n){return t=s(t),function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}var u=n(5442),d=n(9067),f=n(8654).createFocusTrap,p=n(679).isFocusable,h=function(e){function t(e){var n,r,i,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=n=o(this,t,[e]),a=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];n=n.apply(void 0,i)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,s=n;if("string"==typeof n&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},(i=c(i="getNodeForOption"))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a,n.handleDeactivate=n.handleDeactivate.bind(n),n.handlePostDeactivate=n.handlePostDeactivate.bind(n),n.handleClickOutsideDeactivates=n.handleClickOutsideDeactivates.bind(n),n.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:n.handleDeactivate,onPostDeactivate:n.handlePostDeactivate,clickOutsideDeactivates:n.handleClickOutsideDeactivates},n.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var s=e.focusTrapOptions;for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&("returnFocusOnDeactivate"!==l&&"onDeactivate"!==l&&"onPostDeactivate"!==l&&"checkCanReturnFocus"!==l&&"clickOutsideDeactivates"!==l?n.internalOptions[l]=s[l]:n.originalOptions[l]=s[l]);return n.outsideClick=null,n.focusTrapElements=e.containerElements||[],n.updatePreviousElement(),n}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||p(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,i=void 0!==r&&r;n&&t.focus({preventScroll:i}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();r&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?u.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===u.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return u.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&i(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(u.Component),g="undefined"==typeof Element?Function:Element;h.propTypes={active:d.bool,paused:d.bool,focusTrapOptions:d.shape({document:d.object,onActivate:d.func,onPostActivate:d.func,checkCanFocusTrap:d.func,onPause:d.func,onPostPause:d.func,onUnpause:d.func,onPostUnpause:d.func,onDeactivate:d.func,onPostDeactivate:d.func,checkCanReturnFocus:d.func,initialFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),fallbackFocus:d.oneOfType([d.instanceOf(g),d.string,d.func]),escapeDeactivates:d.oneOfType([d.bool,d.func]),clickOutsideDeactivates:d.oneOfType([d.bool,d.func]),returnFocusOnDeactivate:d.bool,setReturnFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),allowOutsideClick:d.oneOfType([d.bool,d.func]),preventScroll:d.bool,tabbableOptions:d.shape({displayCheck:d.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:d.oneOfType([d.bool,d.func])}),trapStack:d.array,isKeyForward:d.func,isKeyBackward:d.func}),containerElements:d.arrayOf(d.instanceOf(g)),children:d.oneOfType([d.element,d.instanceOf(g)])},h.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:f},e.exports=h},8654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFocusTrap:()=>g});var r=n(679);function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},l=function(e){return s(e)&&!e.shiftKey},c=function(e){return s(e)&&e.shiftKey},u=function(e){return setTimeout(e,0)},d=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},f=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];return"function"==typeof e?e.apply(void 0,n):e},p=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},h=[],g=function(e,t){var n,i=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||h,g=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:l,isKeyBackward:c},t),m={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y=function(e,t,n){return e&&void 0!==e[t]?e[t]:g[n||t]},v=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return m.containerGroups.findIndex((function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||i.find((function(t){return t===e}))}))},b=function(e){var t=g[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},I=function(){var e=b("initialFocus");if(!1===e)return!1;if(void 0===e||!(0,r.isFocusable)(e,g.tabbableOptions))if(v(i.activeElement)>=0)e=i.activeElement;else{var t=m.tabbableGroups[0];e=t&&t.firstTabbableNode||b("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},x=function(){if(m.containerGroups=m.containers.map((function(e){var t=(0,r.tabbable)(e,g.tabbableOptions),n=(0,r.focusable)(e,g.tabbableOptions),i=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,a=n.find((function(e){return(0,r.isTabbable)(e)})),s=n.slice().reverse().find((function(e){return(0,r.isTabbable)(e)})),l=!!t.find((function(e){return(0,r.getTabIndex)(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:o,firstDomTabbableNode:a,lastDomTabbableNode:s,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?i?n.slice(n.indexOf(e)+1).find((function(e){return(0,r.isTabbable)(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return(0,r.isTabbable)(e)})):t[o+(i?1:-1)]}}})),m.tabbableGroups=m.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),m.tabbableGroups.length<=0&&!b("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(m.containerGroups.find((function(e){return e.posTabIndexesFound}))&&m.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},w=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?w(t.shadowRoot):t},T=function(e){!1!==e&&e!==w(document)&&(e&&e.focus?(e.focus({preventScroll:!!g.preventScroll}),m.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):T(I()))},M=function(e){var t=b("setReturnFocus",e);return t||!1!==t&&e},A=function(e){var t=e.target,n=e.event,i=e.isBackward,o=void 0!==i&&i;t=t||p(n),x();var a=null;if(m.tabbableGroups.length>0){var l=v(t,n),c=l>=0?m.containerGroups[l]:void 0;if(l<0)a=o?m.tabbableGroups[m.tabbableGroups.length-1].lastTabbableNode:m.tabbableGroups[0].firstTabbableNode;else if(o){var u=d(m.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(u<0&&(c.container===t||(0,r.isFocusable)(t,g.tabbableOptions)&&!(0,r.isTabbable)(t,g.tabbableOptions)&&!c.nextTabbableNode(t,!1))&&(u=l),u>=0){var f=0===u?m.tabbableGroups.length-1:u-1,h=m.tabbableGroups[f];a=(0,r.getTabIndex)(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else s(n)||(a=c.nextTabbableNode(t,!1))}else{var y=d(m.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(y<0&&(c.container===t||(0,r.isFocusable)(t,g.tabbableOptions)&&!(0,r.isTabbable)(t,g.tabbableOptions)&&!c.nextTabbableNode(t))&&(y=l),y>=0){var I=y===m.tabbableGroups.length-1?0:y+1,w=m.tabbableGroups[I];a=(0,r.getTabIndex)(t)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else s(n)||(a=c.nextTabbableNode(t))}}else a=b("fallbackFocus");return a},E=function(e){var t=p(e);v(t,e)>=0||(f(g.clickOutsideDeactivates,e)?n.deactivate({returnFocus:g.returnFocusOnDeactivate}):f(g.allowOutsideClick,e)||e.preventDefault())},C=function(e){var t=p(e),n=v(t,e)>=0;if(n||t instanceof Document)n&&(m.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var o=!0;if(m.mostRecentlyFocusedNode)if((0,r.getTabIndex)(m.mostRecentlyFocusedNode)>0){var a=v(m.mostRecentlyFocusedNode),s=m.containerGroups[a].tabbableNodes;if(s.length>0){var l=s.findIndex((function(e){return e===m.mostRecentlyFocusedNode}));l>=0&&(g.isKeyForward(m.recentNavEvent)?l+1<s.length&&(i=s[l+1],o=!1):l-1>=0&&(i=s[l-1],o=!1))}}else m.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return(0,r.getTabIndex)(e)>0}))}))||(o=!1);else o=!1;o&&(i=A({target:m.mostRecentlyFocusedNode,isBackward:g.isKeyBackward(m.recentNavEvent)})),T(i||m.mostRecentlyFocusedNode||I())}m.recentNavEvent=void 0},N=function(e){(g.isKeyForward(e)||g.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m.recentNavEvent=e;var n=A({event:e,isBackward:t});n&&(s(e)&&e.preventDefault(),T(n))}(e,g.isKeyBackward(e))},S=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===f(g.escapeDeactivates,e)||(e.preventDefault(),n.deactivate())},k=function(e){var t=p(e);v(t,e)>=0||f(g.clickOutsideDeactivates,e)||f(g.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},j=function(){if(m.active)return function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)}(o,n),m.delayInitialFocusTimer=g.delayInitialFocus?u((function(){T(I())})):T(I()),i.addEventListener("focusin",C,!0),i.addEventListener("mousedown",E,{capture:!0,passive:!1}),i.addEventListener("touchstart",E,{capture:!0,passive:!1}),i.addEventListener("click",k,{capture:!0,passive:!1}),i.addEventListener("keydown",N,{capture:!0,passive:!1}),i.addEventListener("keydown",S),n},D=function(){if(m.active)return i.removeEventListener("focusin",C,!0),i.removeEventListener("mousedown",E,!0),i.removeEventListener("touchstart",E,!0),i.removeEventListener("click",k,!0),i.removeEventListener("keydown",N,!0),i.removeEventListener("keydown",S),n},L="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===m.mostRecentlyFocusedNode}))}))&&T(I())})):void 0,O=function(){L&&(L.disconnect(),m.active&&!m.paused&&m.containers.map((function(e){L.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return m.active},get paused(){return m.paused},activate:function(e){if(m.active)return this;var t=y(e,"onActivate"),n=y(e,"onPostActivate"),r=y(e,"checkCanFocusTrap");r||x(),m.active=!0,m.paused=!1,m.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var o=function(){r&&x(),j(),O(),null==n||n()};return r?(r(m.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!m.active)return this;var t=a({onDeactivate:g.onDeactivate,onPostDeactivate:g.onPostDeactivate,checkCanReturnFocus:g.checkCanReturnFocus},e);clearTimeout(m.delayInitialFocusTimer),m.delayInitialFocusTimer=void 0,D(),m.active=!1,m.paused=!1,O(),function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}(o,n);var r=y(t,"onDeactivate"),i=y(t,"onPostDeactivate"),s=y(t,"checkCanReturnFocus"),l=y(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var c=function(){u((function(){l&&T(M(m.nodeFocusedBeforeActivation)),null==i||i()}))};return l&&s?(s(M(m.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(e){if(m.paused||!m.active)return this;var t=y(e,"onPause"),n=y(e,"onPostPause");return m.paused=!0,null==t||t(),D(),O(),null==n||n(),this},unpause:function(e){if(!m.paused||!m.active)return this;var t=y(e,"onUnpause"),n=y(e,"onPostUnpause");return m.paused=!1,null==t||t(),x(),j(),O(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return m.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),m.active&&x(),O(),this}}).updateContainerElements(e),n}},7767:e=>{!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.g=document.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.g.appendChild(document.createTextNode(e)),this.h=document.createElement("span"),this.i=document.createElement("span"),this.m=document.createElement("span"),this.j=document.createElement("span"),this.l=-1,this.h.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.i.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.j.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.m.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function r(e,t){e.g.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.g.offsetWidth,n=t+100;return e.j.style.width=n+"px",e.i.scrollLeft=n,e.h.scrollLeft=e.h.scrollWidth+100,e.l!==t&&(e.l=t,!0)}function o(e,n){function r(){var e=o;i(e)&&null!==e.g.parentNode&&n(e.l)}var o=e;t(e.h,r),t(e.i,r),i(e)}function a(e,t,n){t=t||{},n=n||window,this.family=e,this.style=t.style||"normal",this.weight=t.weight||"normal",this.stretch=t.stretch||"normal",this.context=n}var s=null,l=null,c=null,u=null;function d(e){return null===u&&(u=!!e.document.fonts),u}function f(e,t){var n=e.style,r=e.weight;if(null===c){var i=document.createElement("div");try{i.style.font="condensed 100px sans-serif"}catch(e){}c=""!==i.style.font}return[n,r,c?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",c=0,u=t||3e3,p=(new Date).getTime();return new Promise((function(e,t){if(d(i.context)&&!function(e){return null===l&&(d(e)&&/Apple/.test(window.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent),l=!!e&&603>parseInt(e[1],10)):l=!1),l}(i.context)){var h=new Promise((function(e,t){!function n(){(new Date).getTime()-p>=u?t(Error(u+"ms timeout exceeded")):i.context.document.fonts.load(f(i,'"'+i.family+'"'),a).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&&(null!==w.parentNode&&w.parentNode.removeChild(w),clearTimeout(c),e(i))}var d=new n(a),h=new n(a),g=new n(a),m=-1,y=-1,v=-1,b=-1,I=-1,x=-1,w=document.createElement("div");w.dir="ltr",r(d,f(i,"sans-serif")),r(h,f(i,"serif")),r(g,f(i,"monospace")),w.appendChild(d.g),w.appendChild(h.g),w.appendChild(g.g),i.context.document.body.appendChild(w),b=d.g.offsetWidth,I=h.g.offsetWidth,x=g.g.offsetWidth,function e(){if((new Date).getTime()-p>=u)null!==w.parentNode&&w.parentNode.removeChild(w),t(Error(u+"ms timeout exceeded"));else{var n=i.context.document.hidden;!0!==n&&void 0!==n||(m=d.g.offsetWidth,y=h.g.offsetWidth,v=g.g.offsetWidth,l()),c=setTimeout(e,50)}}(),o(d,(function(e){m=e,l()})),r(d,f(i,'"'+i.family+'",sans-serif')),o(h,(function(e){y=e,l()})),r(h,f(i,'"'+i.family+'",serif')),o(g,(function(e){v=e,l()})),r(g,f(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},8447:e=>{e.exports="object"==typeof self?self.FormData:window.FormData},4291:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),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)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=o(n(6439)),s=n(3379),l=new Set(["input","option","optgroup","select","button","datalist","textarea"]),c=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),f=new Set(["rt","rp"]),p=new Map([["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",c],["h1",c],["h2",c],["h3",c],["h4",c],["h5",c],["h6",c],["select",l],["input",l],["output",l],["button",l],["datalist",l],["textarea",l],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",c],["article",c],["aside",c],["blockquote",c],["details",c],["div",c],["dl",c],["fieldset",c],["figcaption",c],["figure",c],["footer",c],["form",c],["header",c],["hr",c],["main",c],["nav",c],["ol",c],["pre",c],["section",c],["table",c],["ul",c],["rt",f],["rp",f],["tbody",u],["tfoot",u]]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),g=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),y=/\s|\//,v=function(){function e(e,t){var n,r,i,o,s;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,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!==(i=t.Tokenizer)&&void 0!==i?i:a.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,s.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&h.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&p.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),g.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),null===(i=(r=this.cbs).onopentagname)||void 0===i||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,o,a,s;this.endIndex=t;var l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(g.has(l)||m.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null===(r=(n=this.cbs).onopentagname)||void 0===r||r.call(n,"br"),null===(o=(i=this.cbs).onopentag)||void 0===o||o.call(i,"br",{},!0),null===(s=(a=this.cbs).onclosetag)||void 0===s||s.call(a,"br",!1));else{var c=this.stack.lastIndexOf(l);if(-1!==c)if(this.cbs.onclosetag)for(var u=this.stack.length-c;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=c;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(y),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,o,a;this.endIndex=t,null===(i=(r=this.cbs).oncomment)||void 0===i||i.call(r,this.getSlice(e,t-n)),null===(a=(o=this.cbs).oncommentend)||void 0===a||a.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,o,a,s,l,c,u,d,f;this.endIndex=t;var p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(i=(r=this.cbs).oncdatastart)||void 0===i||i.call(r),null===(a=(o=this.cbs).ontext)||void 0===a||a.call(o,p),null===(l=(s=this.cbs).oncdataend)||void 0===l||l.call(s)):(null===(u=(c=this.cbs).oncomment)||void 0===u||u.call(c,"[CDATA[".concat(p,"]]")),null===(f=(d=this.cbs).oncommentend)||void 0===f||f.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}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.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=v},6439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,i,o,a=n(3379);function s(e){return e===r.Space||e===r.NewLine||e===r.Tab||e===r.FormFeed||e===r.CarriageReturn}function l(e){return e===r.Slash||e===r.Gt||s(e)}function c(e){return e>=r.Zero&&e<=r.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(r||(r={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(o=t.QuoteType||(t.QuoteType={}));var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},d=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,o=e.decodeEntities,s=void 0===o||o;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=s,this.entityTrie=r?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?l(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===r.Gt||s(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var n=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=n}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===u.TitleEnd?this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===r.Lt)},e.prototype.stateCDATASequence=function(e){e===u.Cdata[this.sequenceIndex]?++this.sequenceIndex===u.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=u.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):function(e){return e>=r.LowerA&&e<=r.LowerZ||e>=r.UpperA&&e<=r.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===r.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===r.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==u.TitleEnd[2]?this.state=this.xmlMode||t!==u.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(u.TitleEnd,3)}else e===r.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){s(e)||(e===r.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===r.Gt||s(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===r.Slash?this.state=i.InSelfClosingTag:s(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):s(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===r.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===r.Eq?this.state=i.BeforeAttributeValue:e===r.Slash||e===r.Gt?(this.cbs.onattribend(o.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):s(e)||(this.cbs.onattribend(o.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===r.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===r.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):s(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===r.DoubleQuote?o.Double:o.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,r.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,r.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){s(e)||e===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===r.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===r.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===r.Dash?(this.state=i.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===r.Number?this.state=i.BeforeNumericEntity:e===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===r.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===r.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=10*this.entityResult+(e-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=16*this.entityResult+(e-r.Zero),this.entityExcess++):function(e){return e>=r.UpperA&&e<=r.UpperF||e>=r.LowerA&&e<=r.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:this.stateText(e);break;case i.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case i.InSpecialTag:this.stateInSpecialTag(e);break;case i.CDATASequence:this.stateCDATASequence(e);break;case i.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case i.InAttributeName:this.stateInAttributeName(e);break;case i.InCommentLike:this.stateInCommentLike(e);break;case i.InSpecialComment:this.stateInSpecialComment(e);break;case i.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case i.InTagName:this.stateInTagName(e);break;case i.InClosingTagName:this.stateInClosingTagName(e);break;case i.BeforeTagName:this.stateBeforeTagName(e);break;case i.AfterAttributeName:this.stateAfterAttributeName(e);break;case i.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case i.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case i.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case i.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case i.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case i.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case i.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case i.InDeclaration:this.stateInDeclaration(e);break;case i.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case i.BeforeComment:this.stateBeforeComment(e);break;case i.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case i.InNamedEntity:this.stateInNamedEntity(e);break;case i.BeforeEntity:this.stateBeforeEntity(e);break;case i.InHexEntity:this.stateInHexEntity(e);break;case i.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()||this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}();t.default=d},5482:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),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)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var s=n(4291),l=n(4291);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var c=n(1138),u=n(1138);function d(e,t){var n=new c.DomHandler(void 0,t);return new s.Parser(n,t).end(e),n.root}function f(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}}),t.parseDocument=d,t.parseDOM=f,t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new s.Parser(r,t)};var p=n(6439);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(p).default}}),t.ElementType=o(n(3338));var h=n(6403),g=n(6403);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return g.getFeed}});var m={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=m),(0,h.getFeed)(f(e,t))},t.DomUtils=o(n(6403))},993:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},4651:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,g=h.call(Object),m={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},b=r.document,I={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in I)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var T="3.7.1",M=/HTML$/i,A=function(e,t){return new A.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!y(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}A.fn=A.prototype={jquery:T,constructor:A,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=A.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return A.each(this,e)},map:function(e){return this.pushStack(A.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(A.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(A.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},A.extend=A.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(A.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||A.isPlainObject(n)?n:{},i=!1,a[t]=A.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},A.extend({expando:"jQuery"+(T+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e)||(t=a(e))&&("function"!=typeof(n=p.call(t,"constructor")&&t.constructor)||h.call(n)!==g))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){x(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(E(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r++];)n+=A.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?A.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!M.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(E(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return l(a)},guid:1,support:m}),"function"==typeof Symbol&&(A.fn[Symbol.iterator]=o[Symbol.iterator]),A.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var N=o.pop,S=o.sort,k=o.splice,j="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g");A.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var L=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function O(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}A.escapeSelector=function(e){return(e+"").replace(L,O)};var R=b,P=c;!function(){var e,t,n,i,a,l,c,d,f,h,g=P,y=A.expando,v=0,b=0,I=ee(),x=ee(),w=ee(),T=ee(),M=function(e,t){return e===t&&(a=!0),0},E="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+j+"*("+L+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+j+"*\\]",z=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",U=new RegExp(j+"+","g"),_=new RegExp("^"+j+"*,"+j+"*"),B=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),F=new RegExp(j+"|>"),G=new RegExp(z),Z=new RegExp("^"+L+"$"),H={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+E+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},q=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,W=/[+~]/,Q=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),J=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))},X=function(){le()},$=fe((function(e){return!0===e.disabled&&C(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(o=s.call(R.childNodes),R.childNodes),o[R.childNodes.length].nodeType}catch(e){g={apply:function(e,t){P.apply(e,s.call(t))},call:function(e){P.apply(e,s.call(arguments,1))}}}function K(e,t,n,r){var i,o,a,s,c,u,p,h=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!r&&(le(t),t=t||l,d)){if(11!==v&&(c=Y.exec(e)))if(i=c[1]){if(9===v){if(!(a=t.getElementById(i)))return n;if(a.id===i)return g.call(n,a),n}else if(h&&(a=h.getElementById(i))&&K.contains(t,a)&&a.id===i)return g.call(n,a),n}else{if(c[2])return g.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&t.getElementsByClassName)return g.apply(n,t.getElementsByClassName(i)),n}if(!(T[e+" "]||f&&f.test(e))){if(p=e,h=t,1===v&&(F.test(e)||B.test(e))){for((h=W.test(e)&&se(t.parentNode)||t)==t&&m.scope||((s=t.getAttribute("id"))?s=A.escapeSelector(s):t.setAttribute("id",s=y)),o=(u=ue(e)).length;o--;)u[o]=(s?"#"+s:":scope")+" "+de(u[o]);p=u.join(",")}try{return g.apply(n,h.querySelectorAll(p)),n}catch(t){T(e,!0)}finally{s===y&&t.removeAttribute("id")}}}return ve(e.replace(D,"$1"),t,n,r)}function ee(){var e=[];return function n(r,i){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=i}}function te(e){return e[y]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return C(t,"input")&&t.type===e}}function ie(e){return function(t){return(C(t,"input")||C(t,"button"))&&t.type===e}}function oe(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&&$(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:R;return r!=l&&9===r.nodeType&&r.documentElement?(c=(l=r).documentElement,d=!A.isXMLDoc(l),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&R!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",X),m.getById=ne((function(e){return c.appendChild(e).id=A.expando,!l.getElementsByName||!l.getElementsByName(A.expando).length})),m.disconnectedMatch=ne((function(e){return h.call(e,"*")})),m.scope=ne((function(){return l.querySelectorAll(":scope")})),m.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),m.getById?(t.filter.ID=function(e){var t=e.replace(Q,J);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(Q,J);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},f=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+y+"' href='' disabled='disabled'></a><select id='"+y+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||f.push("\\["+j+"*(?:value|"+E+")"),e.querySelectorAll("[id~="+y+"-]").length||f.push("~="),e.querySelectorAll("a#"+y+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")")})),m.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),M=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!m.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==R&&K.contains(R,e)?-1:t===l||t.ownerDocument==R&&K.contains(R,t)?1:i?u.call(i,e)-u.call(i,t):0:4&n?-1:1)},l):l}for(e in K.matches=function(e,t){return K(e,null,null,t)},K.matchesSelector=function(e,t){if(le(e),d&&!T[t+" "]&&(!f||!f.test(t)))try{var n=h.call(e,t);if(n||m.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){T(t,!0)}return K(t,l,null,[e]).length>0},K.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),A.contains(e,t)},K.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],i=r&&p.call(t.attrHandle,n.toLowerCase())?r(e,n,!d):void 0;return void 0!==i?i:e.getAttribute(n)},K.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,n=[],r=0,o=0;if(a=!m.sortStable,i=!m.sortStable&&s.call(e,0),S.call(e,M),a){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)k.call(e,n[r],1)}return i=null,e},A.fn.uniqueSort=function(){return this.pushStack(A.uniqueSort(s.apply(this)))},t=A.expr={cacheLength:50,createPseudo:te,match:H,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(Q,J),e[3]=(e[3]||e[4]||e[5]||"").replace(Q,J),"~="===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]||K.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]&&K.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return H.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=ue(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(Q,J).toLowerCase();return"*"===e?function(){return!0}:function(e){return C(e,t)}},CLASS:function(e){var t=I[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&I(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=K.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(U," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="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=o!==a?"nextSibling":"previousSibling",g=t.parentNode,m=s&&t.nodeName.toLowerCase(),b=!l&&!s,I=!1;if(g){if(o){for(;h;){for(d=t;d=d[h];)if(s?C(d,m):1===d.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&b){for(I=(f=(c=(u=g[y]||(g[y]={}))[e]||[])[0]===v&&c[1])&&c[2],d=f&&g.childNodes[f];d=++f&&d&&d[h]||(I=f=0)||p.pop();)if(1===d.nodeType&&++I&&d===t){u[e]=[v,f,I];break}}else if(b&&(I=f=(c=(u=t[y]||(t[y]={}))[e]||[])[0]===v&&c[1]),!1===I)for(;(d=++f&&d&&d[h]||(I=f=0)||p.pop())&&(!(s?C(d,m):1===d.nodeType)||!++I||(b&&((u=d[y]||(d[y]={}))[e]=[v,I]),d!==t)););return(I-=i)===r||I%r==0&&I/r>=0}}},PSEUDO:function(e,n){var r,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||K.error("unsupported pseudo: "+e);return i[y]?i(n):i.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,o=i(e,n),a=o.length;a--;)e[r=u.call(e,o[a])]=!(t[r]=o[a])})):function(e){return i(e,0,r)}):i}},pseudos:{not:te((function(e){var t=[],n=[],r=ye(e.replace(D,"$1"));return r[y]?te((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return K(e,t).length>0}})),contains:te((function(e){return e=e.replace(Q,J),function(t){return(t.textContent||A.text(t)).indexOf(e)>-1}})),lang:te((function(e){return Z.test(e||"")||K.error("unsupported lang: "+e),e=e.replace(Q,J).toLowerCase(),function(t){var n;do{if(n=d?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(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return C(e,"input")&&!!e.checked||C(e,"option")&&!!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!t.pseudos.empty(e)},header:function(e){return V.test(e.nodeName)},input:function(e){return q.test(e.nodeName)},button:function(e){return C(e,"input")&&"button"===e.type||C(e,"button")},text:function(e){var t;return C(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ie(e);function ce(){}function ue(e,n){var r,i,o,a,s,l,c,u=x[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in r&&!(i=_.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=B.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(D," ")}),s=s.slice(r.length)),t.filter)!(i=H[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?K.error(e):x(e,l).slice(0)}function de(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function fe(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=b++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,l){var c,u,d=[v,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=t[y]||(t[y]={}),i&&C(t,i))t=t[r]||t;else{if((c=u[o])&&c[0]===v&&c[1]===s)return d[2]=c[2];if(u[o]=d,d[2]=e(t,n,l))return!0}return!1}}function pe(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 he(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function ge(e,t,n,r,i,o){return r&&!r[y]&&(r=ge(r)),i&&!i[y]&&(i=ge(i,o)),te((function(o,a,s,l){var c,d,f,p,h=[],m=[],y=a.length,v=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)K(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),b=!e||!o&&t?v:he(v,h,e,s,l);if(n?n(b,p=i||(o?e:y||r)?[]:a,s,l):p=b,r)for(c=he(p,m),r(c,[],s,l),d=c.length;d--;)(f=c[d])&&(p[m[d]]=!(b[m[d]]=f));if(o){if(i||e){if(i){for(c=[],d=p.length;d--;)(f=p[d])&&c.push(b[d]=f);i(null,p=[],c,l)}for(d=p.length;d--;)(f=p[d])&&(c=i?u.call(o,f):h[d])>-1&&(o[c]=!(a[c]=f))}}else p=he(p===a?p.splice(y,p.length):p),i?i(null,a,p,l):g.apply(a,p)}))}function me(e){for(var r,i,o,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,d=fe((function(e){return e===r}),l,!0),f=fe((function(e){return u.call(r,e)>-1}),l,!0),p=[function(e,t,i){var o=!s&&(i||t!=n)||((r=t).nodeType?d(e,t,i):f(e,t,i));return r=null,o}];c<a;c++)if(i=t.relative[e[c].type])p=[fe(pe(p),i)];else{if((i=t.filter[e[c].type].apply(null,e[c].matches))[y]){for(o=++c;o<a&&!t.relative[e[o].type];o++);return ge(c>1&&pe(p),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(D,"$1"),i,c<o&&me(e.slice(c,o)),o<a&&me(e=e.slice(o)),o<a&&de(e))}p.push(i)}return pe(p)}function ye(e,r){var i,o=[],a=[],s=w[e+" "];if(!s){for(r||(r=ue(e)),i=r.length;i--;)(s=me(r[i]))[y]?o.push(s):a.push(s);s=w(e,function(e,r){var i=r.length>0,o=e.length>0,a=function(a,s,c,u,f){var p,h,m,y=0,b="0",I=a&&[],x=[],w=n,T=a||o&&t.find.TAG("*",f),M=v+=null==w?1:Math.random()||.1,E=T.length;for(f&&(n=s==l||s||f);b!==E&&null!=(p=T[b]);b++){if(o&&p){for(h=0,s||p.ownerDocument==l||(le(p),c=!d);m=e[h++];)if(m(p,s||l,c)){g.call(u,p);break}f&&(v=M)}i&&((p=!m&&p)&&y--,a&&I.push(p))}if(y+=b,i&&b!==y){for(h=0;m=r[h++];)m(I,x,s,c);if(a){if(y>0)for(;b--;)I[b]||x[b]||(x[b]=N.call(u));x=he(x)}g.apply(u,x),f&&!a&&x.length>0&&y+r.length>1&&A.uniqueSort(u)}return f&&(v=M,n=w),I};return i?te(a):a}(a,o)),s.selector=e}return s}function ve(e,n,r,i){var o,a,s,l,c,u="function"==typeof e&&e,f=!i&&ue(e=u.selector||e);if(r=r||[],1===f.length){if((a=f[0]=f[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&d&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(Q,J),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(o=H.needsContext.test(e)?0:a.length;o--&&(s=a[o],!t.relative[l=s.type]);)if((c=t.find[l])&&(i=c(s.matches[0].replace(Q,J),W.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(o,1),!(e=i.length&&de(a)))return g.apply(r,i),r;break}}return(u||ye(e,f))(i,n,!d,r,!n||W.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,m.sortStable=y.split("").sort(M).join("")===y,le(),m.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),A.find=K,A.expr[":"]=A.expr.pseudos,A.unique=A.uniqueSort,K.compile=ye,K.select=ve,K.setDocument=le,K.tokenize=ue,K.escape=A.escapeSelector,K.getText=A.text,K.isXML=A.isXMLDoc,K.selectors=A.expr,K.support=A.support,K.uniqueSort=A.uniqueSort}();var z=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&A(e).is(n))break;r.push(e)}return r},U=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},_=A.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,n){return y(t)?A.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?A.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?A.grep(e,(function(e){return u.call(t,e)>-1!==n})):A.filter(t,e,n)}A.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?A.find.matchesSelector(r,e)?[r]:[]:A.find.matches(e,A.grep(t,(function(e){return 1===e.nodeType})))},A.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(A(e).filter((function(){for(t=0;t<r;t++)if(A.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)A.find(e,i[t],n);return r>1?A.uniqueSort(n):n},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&_.test(e)?A(e):e||[],!1).length}});var G,Z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||G,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Z.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 A?t[0]:t,A.merge(this,A.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),B.test(r[1])&&A.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(A):A.makeArray(e,this)}).prototype=A.fn,G=A(b);var H=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function V(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}A.fn.extend({has:function(e){var t=A(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(A.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&A(e);if(!_.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&A.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?A.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(A(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(A.uniqueSort(A.merge(this.get(),A(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),A.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return z(e,"parentNode")},parentsUntil:function(e,t,n){return z(e,"parentNode",n)},next:function(e){return V(e,"nextSibling")},prev:function(e){return V(e,"previousSibling")},nextAll:function(e){return z(e,"nextSibling")},prevAll:function(e){return z(e,"previousSibling")},nextUntil:function(e,t,n){return z(e,"nextSibling",n)},prevUntil:function(e,t,n){return z(e,"previousSibling",n)},siblings:function(e){return U((e.parentNode||{}).firstChild,e)},children:function(e){return U(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(C(e,"template")&&(e=e.content||e),A.merge([],e.childNodes))}},(function(e,t){A.fn[e]=function(n,r){var i=A.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=A.filter(r,i)),this.length>1&&(q[e]||A.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}}));var Y=/[^\x20\t\r\n\f]+/g;function W(e){return e}function Q(e){throw e}function J(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])}}A.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return A.each(e.match(Y)||[],(function(e,n){t[n]=!0})),t}(e):A.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){A.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return A.each(arguments,(function(e,t){for(var n;(n=A.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?A.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},A.extend({Deferred:function(e){var t=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return A.Deferred((function(n){A.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];o[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,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<o)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,y(c)?i?c.call(r,a(o,t,W,i),a(o,t,Q,i)):(o++,c.call(r,a(o,t,W,i),a(o,t,Q,i),a(o,t,W,t.notifyWith))):(n!==W&&(s=void 0,l=[r]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(r){A.Deferred.exceptionHook&&A.Deferred.exceptionHook(r,u.error),e+1>=o&&(n!==Q&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(A.Deferred.getErrorHook?u.error=A.Deferred.getErrorHook():A.Deferred.getStackHook&&(u.error=A.Deferred.getStackHook()),r.setTimeout(u))}}return A.Deferred((function(r){t[0][3].add(a(0,r,y(i)?i:W,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:W)),t[2][3].add(a(0,r,y(n)?n:Q))})).promise()},promise:function(e){return null!=e?A.extend(e,i):i}},o={};return A.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=A.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(J(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)J(i[n],a(n),o.reject);return o.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&X.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},A.readyException=function(e){r.setTimeout((function(){throw e}))};var $=A.Deferred();function K(){b.removeEventListener("DOMContentLoaded",K),r.removeEventListener("load",K),A.ready()}A.fn.ready=function(e){return $.then(e).catch((function(e){A.readyException(e)})),this},A.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--A.readyWait:A.isReady)||(A.isReady=!0,!0!==e&&--A.readyWait>0||$.resolveWith(b,[A]))}}),A.ready.then=$.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(A.ready):(b.addEventListener("DOMContentLoaded",K),r.addEventListener("load",K));var ee=function(e,t,n,r,i,o,a){var s=0,l=e.length,c=null==n;if("object"===w(n))for(s in i=!0,n)ee(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(A(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):o},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function ie(e){return e.replace(te,"ms-").replace(ne,re)}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=A.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(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[ie(t)]=n;else for(r in t)i[ie(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ie(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(ie):(t=ie(t))in r?[t]:t.match(Y)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||A.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&&!A.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function de(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}A.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return se.access(e,t,n)},_removeData:function(e,t){se.remove(e,t)}}),A.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=le.get(o),1===o.nodeType&&!se.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=ie(r.slice(5)),de(o,r,i[r]));se.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=le.get(o,e))||void 0!==(n=de(o,e))?n:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),A.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,A.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=A.queue(e,t),r=n.length,i=n.shift(),o=A._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){A.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:A.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),A.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?A.queue(this[0],e):void 0===t?this:this.each((function(){var n=A.queue(this,e,t);A._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&A.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){A.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=A.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=se.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pe=new RegExp("^(?:([+-])=|)("+fe+")([a-z%]*)$","i"),he=["Top","Right","Bottom","Left"],ge=b.documentElement,me=function(e){return A.contains(e.ownerDocument,e)},ye={composed:!0};ge.getRootNode&&(me=function(e){return A.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&me(e)&&"none"===A.css(e,"display")};function be(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return A.css(e,t,"")},l=s(),c=n&&n[3]||(A.cssNumber[t]?"":"px"),u=e.nodeType&&(A.cssNumber[t]||"px"!==c&&+l)&&pe.exec(A.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)A.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,A.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 Ie={};function xe(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ie[r];return i||(t=n.body.appendChild(n.createElement(r)),i=A.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ie[r]=i,i)}function we(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=se.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ve(r)&&(i[o]=xe(r))):"none"!==n&&(i[o]="none",se.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}A.fn.extend({show:function(){return we(this,!0)},hide:function(){return we(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ve(this)?A(this).show():A(this).hide()}))}});var Te,Me,Ae=/^(?:checkbox|radio)$/i,Ee=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;Te=b.createDocumentFragment().appendChild(b.createElement("div")),(Me=b.createElement("input")).setAttribute("type","radio"),Me.setAttribute("checked","checked"),Me.setAttribute("name","t"),Te.appendChild(Me),m.checkClone=Te.cloneNode(!0).cloneNode(!0).lastChild.checked,Te.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!Te.cloneNode(!0).lastChild.defaultValue,Te.innerHTML="<option></option>",m.option=!!Te.lastChild;var Ne={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 Se(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&C(e,t)?A.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n<r;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Ne.tbody=Ne.tfoot=Ne.colgroup=Ne.caption=Ne.thead,Ne.th=Ne.td,m.option||(Ne.optgroup=Ne.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function De(e,t,n,r,i){for(var o,a,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===w(o))A.merge(f,o.nodeType?[o]:o);else if(je.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(Ee.exec(o)||["",""])[1].toLowerCase(),l=Ne[s]||Ne._default,a.innerHTML=l[1]+A.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;A.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",p=0;o=f[p++];)if(r&&A.inArray(o,r)>-1)i&&i.push(o);else if(c=me(o),a=Se(d.appendChild(o),"script"),c&&ke(a),n)for(u=0;o=a[u++];)Ce.test(o.type||"")&&n.push(o);return d}var Le=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Re(){return!1}function Pe(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Pe(e,s,n,r,t[s],o);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=Re;else if(!i)return e;return 1===o&&(a=i,i=function(e){return A().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=A.guid++)),e.each((function(){A.event.add(this,t,i,r,n)}))}function ze(e,t,n){n?(se.set(e,t,!1),A.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(A.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,A.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===se.get(e,t)&&A.event.add(e,t,Oe)}A.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,g,m=se.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&A.find.matchesSelector(ge,i),n.guid||(n.guid=A.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==A&&A.event.triggered!==t.type?A.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(Y)||[""]).length;c--;)p=g=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=A.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=A.event.special[p]||{},u=A.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&A.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),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),A.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,g,m=se.hasData(e)&&se.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(Y)||[""]).length;c--;)if(p=g=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=A.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)u=f[o],!i&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||A.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)A.event.remove(e,p+t[c],n,r,!0);A.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=A.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=A.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(a=A.event.handlers.call(this,l,c),t=0;(i=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(r=((A.event.special[o.origType]||{}).handle||o.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,o,a,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(o=[],a={},n=0;n<l;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?A(i,this).index(c)>-1:A.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(A.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[A.expando]?e:new A.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&C(t,"input")&&ze(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&C(t,"input")&&ze(t,"click"),!0},_default:function(e){var t=e.target;return Ae.test(t.type)&&t.click&&C(t,"input")&&se.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},A.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},A.Event=function(e,t){if(!(this instanceof A.Event))return new A.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Re,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&&A.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[A.expando]=!0},A.Event.prototype={constructor:A.Event,isDefaultPrevented:Re,isPropagationStopped:Re,isImmediatePropagationStopped:Re,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},A.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},A.event.addProp),A.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=se.get(this,"handle"),r=A.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else A.event.simulate(t,e.target,A.event.fix(e))}A.event.special[e]={setup:function(){var r;if(ze(this,e,!0),!b.documentMode)return!1;(r=se.get(this,t))||this.addEventListener(t,n),se.set(this,t,(r||0)+1)},trigger:function(){return ze(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,n),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},A.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=se.get(i,t);o||(b.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),se.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=se.get(i,t)-1;o?se.set(i,t,o):(b.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),se.remove(i,t))}}})),A.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){A.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||A.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),A.fn.extend({on:function(e,t,n,r){return Pe(this,e,t,n,r)},one:function(e,t,n,r){return Pe(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,A(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=Re),this.each((function(){A.event.remove(this,e,n,t)}))}});var Ue=/<script|<style|<link/i,_e=/checked\s*(?:[^=]|=\s*.checked.)/i,Be=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Fe(e,t){return C(e,"table")&&C(11!==t.nodeType?t:t.firstChild,"tr")&&A(e).children("tbody")[0]||e}function Ge(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ze(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(i in se.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)A.event.add(t,i,s[i][n]);le.hasData(e)&&(o=le.access(e),a=A.extend({},o),le.set(t,a))}}function qe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ae.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ve(e,t,n,r){t=l(t);var i,o,a,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&&_e.test(h))return e.each((function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),Ve(o,t,n,r)}));if(f&&(o=(i=De(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=A.map(Se(i,"script"),Ge)).length;d<f;d++)c=i,d!==p&&(c=A.clone(c,!0,!0),s&&A.merge(a,Se(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,A.map(a,Ze),d=0;d<s;d++)c=a[d],Ce.test(c.type||"")&&!se.access(c,"globalEval")&&A.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?A._evalUrl&&!c.noModule&&A._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(Be,""),c,u))}return e}function Ye(e,t,n){for(var r,i=t?A.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||A.cleanData(Se(r)),r.parentNode&&(n&&me(r)&&ke(Se(r,"script")),r.parentNode.removeChild(r));return e}A.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=me(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||A.isXMLDoc(e)))for(a=Se(s),r=0,i=(o=Se(e)).length;r<i;r++)qe(o[r],a[r]);if(t)if(n)for(o=o||Se(e),a=a||Se(s),r=0,i=o.length;r<i;r++)He(o[r],a[r]);else He(e,s);return(a=Se(s,"script")).length>0&&ke(a,!l&&Se(e,"script")),s},cleanData:function(e){for(var t,n,r,i=A.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)i[r]?A.event.remove(n,r):A.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),A.fn.extend({detach:function(e){return Ye(this,e,!0)},remove:function(e){return Ye(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?A.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 Ve(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)}))},prepend:function(){return Ve(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ve(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ve(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&&(A.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return A.clone(this,e,t)}))},html:function(e){return ee(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&&!Ue.test(e)&&!Ne[(Ee.exec(e)||["",""])[1].toLowerCase()]){e=A.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(A.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ve(this,arguments,(function(t){var n=this.parentNode;A.inArray(this,e)<0&&(A.cleanData(Se(this)),n&&n.replaceChild(t,this))}),e)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){A.fn[e]=function(e){for(var n,r=[],i=A(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),A(i[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var We=new RegExp("^("+fe+")(?!px)[a-z%]+$","i"),Qe=/^--/,Je=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Xe=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},$e=new RegExp(he.join("|"),"i");function Ke(e,t,n){var r,i,o,a,s=Qe.test(t),l=e.style;return(n=n||Je(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(D,"$1")||void 0),""!==a||me(e)||(a=A.style(e,t)),!m.pixelBoxStyles()&&We.test(a)&&$e.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=i,l.maxWidth=o)),void 0!==a?a+"":a}function et(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%",ge.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),ge.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,a,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,A.extend(m,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ge.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ge.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,rt={};function it(e){return A.cssProps[e]||rt[e]||(e in nt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var r=pe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,i,o){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=A.css(e,n+he[a],!0,i)),r?("content"===n&&(l-=A.css(e,"padding"+he[a],!0,i)),"margin"!==n&&(l-=A.css(e,"border"+he[a]+"Width",!0,i))):(l+=A.css(e,"padding"+he[a],!0,i),"padding"!==n?l+=A.css(e,"border"+he[a]+"Width",!0,i):s+=A.css(e,"border"+he[a]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l+c}function ut(e,t,n){var r=Je(e),i=(!m.boxSizingReliable()||n)&&"border-box"===A.css(e,"boxSizing",!1,r),o=i,a=Ke(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(We.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&C(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===A.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===A.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(i?"border":"content"),o,r,a)+"px"}function dt(e,t,n,r,i){return new dt.prototype.init(e,t,n,r,i)}A.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ke(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ie(t),l=Qe.test(t),c=e.style;if(l||(t=it(s)),a=A.cssHooks[t]||A.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"==(o=typeof n)&&(i=pe.exec(n))&&i[1]&&(n=be(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(A.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=ie(t);return Qe.test(t)||(t=it(s)),(a=A.cssHooks[t]||A.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ke(e,t,r)),"normal"===i&&t in st&&(i=st[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),A.each(["height","width"],(function(e,t){A.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(A.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Xe(e,at,(function(){return ut(e,t,r)}))},set:function(e,n,r){var i,o=Je(e),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===A.css(e,"boxSizing",!1,o),l=r?ct(e,t,r,s,o):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ct(e,t,"border",!1,o)-.5)),l&&(i=pe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=A.css(e,t)),lt(0,n,l)}}})),A.cssHooks.marginLeft=et(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ke(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),A.each({margin:"",padding:"",border:"Width"},(function(e,t){A.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+he[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(A.cssHooks[e+t].set=lt)})),A.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Je(e),i=t.length;a<i;a++)o[t[a]]=A.css(e,t[a],!1,r);return o}return void 0!==n?A.style(e,t,n):A.css(e,t)}),e,t,arguments.length>1)}}),A.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||A.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(A.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=A.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):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.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=A.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){A.fx.step[e.prop]?A.fx.step[e.prop](e):1!==e.elem.nodeType||!A.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:A.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},A.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},A.fx=dt.prototype.init,A.fx.step={};var ft,pt,ht=/^(?:toggle|show|hide)$/,gt=/queueHooks$/;function mt(){pt&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(mt):r.setTimeout(mt,A.fx.interval),A.fx.tick())}function yt(){return r.setTimeout((function(){ft=void 0})),ft=Date.now()}function vt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=he[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function bt(e,t,n){for(var r,i=(It.tweeners[t]||[]).concat(It.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function It(e,t,n){var r,i,o=0,a=It.prefilters.length,s=A.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=ft||yt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:A.extend({},t),opts:A.extend(!0,{specialEasing:{},easing:A.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||yt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=A.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,o,a;for(n in e)if(i=t[r=ie(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=A.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);o<a;o++)if(r=It.prefilters[o].call(c,e,u,c.opts))return y(r.stop)&&(A._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return A.map(u,bt,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),A.fx.timer(A.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}A.Animation=A.extend(It,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,pe.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(Y);for(var n,r=0,i=e.length;r<i;r++)n=e[r],It.tweeners[n]=It.tweeners[n]||[],It.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,g=e.nodeType&&ve(e),m=se.get(e,"fxshow");for(r in n.queue||(null==(a=A._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,A.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],ht.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||A.style(e,r)}if((l=!A.isEmptyObject(t))||!A.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=se.get(e,"display")),"none"===(u=A.css(e,"display"))&&(c?u=c:(we([e],!0),c=e.style.display||c,u=A.css(e,"display"),we([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===A.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=se.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&we([e],!0),f.done((function(){for(r in g||we([e]),se.remove(e,"fxshow"),p)A.style(e,r,p[r])}))),l=bt(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?It.prefilters.unshift(e):It.prefilters.push(e)}}),A.speed=function(e,t,n){var r=e&&"object"==typeof e?A.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return A.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in A.fx.speeds?r.duration=A.fx.speeds[r.duration]:r.duration=A.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&&A.dequeue(this,r.queue)},r},A.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ve).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=A.isEmptyObject(e),o=A.speed(t,n,r),a=function(){var t=It(this,A.extend({},e),o);(i||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},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",o=A.timers,a=se.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&gt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||A.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=se.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=A.timers,a=r?r.length:0;for(n.finish=!0,A.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),A.each(["toggle","show","hide"],(function(e,t){var n=A.fn[t];A.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(vt(t,!0),e,r,i)}})),A.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){A.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),A.timers=[],A.fx.tick=function(){var e,t=0,n=A.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||A.fx.stop(),ft=void 0},A.fx.timer=function(e){A.timers.push(e),A.fx.start()},A.fx.interval=13,A.fx.start=function(){pt||(pt=!0,mt())},A.fx.stop=function(){pt=null},A.fx.speeds={slow:600,fast:200,_default:400},A.fn.delay=function(e,t){return e=A.fx&&A.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.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 xt,wt=A.expr.attrHandle;A.fn.extend({attr:function(e,t){return ee(this,A.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){A.removeAttr(this,e)}))}}),A.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?A.prop(e,t,n):(1===o&&A.isXMLDoc(e)||(i=A.attrHooks[t.toLowerCase()]||(A.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void A.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=A.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&C(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(Y);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),xt={set:function(e,t,n){return!1===t?A.removeAttr(e,n):e.setAttribute(n,n),n}},A.each(A.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=wt[t]||A.find.attr;wt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=wt[a],wt[a]=i,i=null!=n(e,t,r)?a:null,wt[a]=o),i}}));var Tt=/^(?:input|select|textarea|button)$/i,Mt=/^(?:a|area)$/i;function At(e){return(e.match(Y)||[]).join(" ")}function Et(e){return e.getAttribute&&e.getAttribute("class")||""}function Ct(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Y)||[]}A.fn.extend({prop:function(e,t){return ee(this,A.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[A.propFix[e]||e]}))}}),A.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&A.isXMLDoc(e)||(t=A.propFix[t]||t,i=A.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=A.find.attr(e,"tabindex");return t?parseInt(t,10):Tt.test(e.nodeName)||Mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(A.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)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){A.propFix[this.toLowerCase()]=this})),A.fn.extend({addClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){A(this).addClass(e.call(this,t,Et(this)))})):(t=Ct(e)).length?this.each((function(){if(r=Et(this),n=1===this.nodeType&&" "+At(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=At(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){A(this).removeClass(e.call(this,t,Et(this)))})):arguments.length?(t=Ct(e)).length?this.each((function(){if(r=Et(this),n=1===this.nodeType&&" "+At(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=At(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return y(e)?this.each((function(n){A(this).toggleClass(e.call(this,n,Et(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Ct(e),this.each((function(){if(s)for(o=A(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==a||((r=Et(this))&&se.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+At(Et(n))+" ").indexOf(t)>-1)return!0;return!1}});var Nt=/\r/g;A.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,A(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=A.map(i,(function(e){return null==e?"":e+""}))),(t=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=A.valHooks[i.type]||A.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Nt,""):null==n?"":n:void 0}}),A.extend({valHooks:{option:{get:function(e){var t=A.find.attr(e,"value");return null!=t?t:At(A.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(t=A(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=A.makeArray(t),a=i.length;a--;)((r=i[a]).selected=A.inArray(A.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),A.each(["radio","checkbox"],(function(){A.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=A.inArray(A(e).val(),t)>-1}},m.checkOn||(A.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var St=r.location,kt={guid:Date.now()},jt=/\?/;A.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||A.error("Invalid XML: "+(n?A.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};A.extend(A.event,{trigger:function(e,t,n,i){var o,a,s,l,c,u,d,f,h=[n||b],g=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(g+A.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[A.expando]?e:new A.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=n),t=null==t?[e]:A.makeArray(t,[e]),d=A.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!v(n)){for(l=d.delegateType||g,Dt.test(l+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?l:d.bindType||g,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&oe(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!oe(n)||c&&y(n[g])&&!v(n)&&((s=n[c])&&(n[c]=null),A.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,Lt),n[g](),e.isPropagationStopped()&&f.removeEventListener(g,Lt),A.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=A.extend(new A.Event,n,{type:e,isSimulated:!0});A.event.trigger(r,null,t)}}),A.fn.extend({trigger:function(e,t){return this.each((function(){A.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return A.event.trigger(e,t,n,!0)}});var Ot=/\[\]$/,Rt=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;function Ut(e,t,n,r){var i;if(Array.isArray(t))A.each(t,(function(t,i){n||Ot.test(e)?r(e,i):Ut(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==w(t))r(e,t);else for(i in t)Ut(e+"["+i+"]",t[i],n,r)}A.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&&!A.isPlainObject(e))A.each(e,(function(){i(this.name,this.value)}));else for(n in e)Ut(n,e[n],t,i);return r.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=A.prop(this,"elements");return e?A.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!A(this).is(":disabled")&&zt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!Ae.test(e))})).map((function(e,t){var n=A(this).val();return null==n?null:Array.isArray(n)?A.map(n,(function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}})):{name:t.name,value:n.replace(Rt,"\r\n")}})).get()}});var _t=/%20/g,Bt=/#.*$/,Ft=/([?&])_=[^&]*/,Gt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Zt=/^(?:GET|HEAD)$/,Ht=/^\/\//,qt={},Vt={},Yt="*/".concat("*"),Wt=b.createElement("a");function Qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Y)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Jt(e,t,n,r){var i={},o=e===Vt;function a(s){var l;return i[s]=!0,A.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Xt(e,t){var n,r,i=A.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&A.extend(!0,e,r),e}Wt.href=St.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Yt,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":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Xt(Xt(e,A.ajaxSettings),t):Xt(A.ajaxSettings,e)},ajaxPrefilter:Qt(qt),ajaxTransport:Qt(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,l,c,u,d,f,p=A.ajaxSetup({},t),h=p.context||p,g=p.context&&(h.nodeType||h.jquery)?A(h):A.event,m=A.Deferred(),y=A.Callbacks("once memory"),v=p.statusCode||{},I={},x={},w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Gt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o: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)T.always(e[T.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),M(0,t),this}};if(m.promise(T),p.url=((e||p.url||St.href)+"").replace(Ht,St.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Y)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Wt.protocol+"//"+Wt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=A.param(p.data,p.traditional)),Jt(qt,p,t,T),c)return T;for(d in(u=A.event&&p.global)&&0==A.active++&&A.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Zt.test(p.type),i=p.url.replace(Bt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(_t,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(jt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Ft,"$1"),f=(jt.test(i)?"&":"?")+"_="+kt.guid+++f),p.url=i+f),p.ifModified&&(A.lastModified[i]&&T.setRequestHeader("If-Modified-Since",A.lastModified[i]),A.etag[i]&&T.setRequestHeader("If-None-Match",A.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Yt+"; q=0.01":""):p.accepts["*"]),p.headers)T.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,T,p)||c))return T.abort();if(w="abort",y.add(p.complete),T.done(p.success),T.fail(p.error),n=Jt(Vt,p,t,T)){if(T.readyState=1,u&&g.trigger("ajaxSend",[T,p]),c)return T;p.async&&p.timeout>0&&(s=r.setTimeout((function(){T.abort("timeout")}),p.timeout));try{c=!1,n.send(I,M)}catch(e){if(c)throw e;M(-1,e)}}else M(-1,"No Transport");function M(e,t,a,l){var d,f,b,I,x,w=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=l||"",T.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(I=function(e,t,n){for(var r,i,o,a,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)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,T,a)),!d&&A.inArray("script",p.dataTypes)>-1&&A.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),I=function(e,t,n,r){var i,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,I,T,d),d?(p.ifModified&&((x=T.getResponseHeader("Last-Modified"))&&(A.lastModified[i]=x),(x=T.getResponseHeader("etag"))&&(A.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))),T.status=e,T.statusText=(t||w)+"",d?m.resolveWith(h,[f,w,T]):m.rejectWith(h,[T,w,b]),T.statusCode(v),v=void 0,u&&g.trigger(d?"ajaxSuccess":"ajaxError",[T,p,d?f:b]),y.fireWith(h,[T,w]),u&&(g.trigger("ajaxComplete",[T,p]),--A.active||A.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return A.get(e,t,n,"json")},getScript:function(e,t){return A.get(e,void 0,t,"script")}}),A.each(["get","post"],(function(e,t){A[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),A.ajax(A.extend({url:e,type:t,dataType:i,data:n,success:r},A.isPlainObject(e)&&e))}})),A.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),A._evalUrl=function(e,t,n){return A.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){A.globalEval(e,t,n)}})},A.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=A(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){A(this).wrapInner(e.call(this,t))})):this.each((function(){var t=A(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){A(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){A(this).replaceWith(this.childNodes)})),this}}),A.expr.pseudos.hidden=function(e){return!A.expr.pseudos.visible(e)},A.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var $t={0:200,1223:204},Kt=A.ajaxSettings.xhr();m.cors=!!Kt&&"withCredentials"in Kt,m.ajax=Kt=!!Kt,A.ajaxTransport((function(e){var t,n;if(m.cors||Kt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o($t[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(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),A.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),A.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 A.globalEval(e),e}}}),A.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),A.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=A("<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 en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;A.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||A.expando+"_"+kt.guid++;return this[e]=!0,e}}),A.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.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(nn,"$1"+i):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||A.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?A(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,tn.push(i)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),m.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),A.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),o=!n&&[],(i=B.exec(e))?[t.createElement(i[1])]:(i=De([e],t,o),o&&o.length&&A(o).remove(),A.merge([],i.childNodes)));var r,i,o},A.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=At(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&A.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?A("<div>").append(A.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},A.expr.pseudos.animated=function(e){return A.grep(A.timers,(function(t){return e===t.elem})).length},A.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c=A.css(e,"position"),u=A(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=A.css(e,"top"),l=A.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(r=u.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),y(t)&&(t=t.call(e,n,A.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},A.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){A.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"===A.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"===A.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=A(e).offset()).top+=A.css(e,"borderTopWidth",!0),i.left+=A.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-A.css(r,"marginTop",!0),left:t.left-i.left-A.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===A.css(e,"position");)e=e.offsetParent;return e||ge}))}}),A.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;A.fn[e]=function(r){return ee(this,(function(e,r,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),A.each(["top","left"],(function(e,t){A.cssHooks[t]=et(m.pixelPosition,(function(e,n){if(n)return n=Ke(e,t),We.test(n)?A(e).position()[t]+"px":n}))})),A.each({Height:"height",Width:"width"},(function(e,t){A.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){A.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return ee(this,(function(t,n,i){var o;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?A.css(t,n,s):A.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),A.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){A.fn[t]=function(e){return this.on(t,e)}})),A.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.on("mouseenter",e).on("mouseleave",t||e)}}),A.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){A.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;A.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)))},i.guid=e.guid=e.guid||A.guid++,i},A.holdReady=function(e){e?A.readyWait++:A.ready(!0)},A.isArray=Array.isArray,A.parseJSON=JSON.parse,A.nodeName=C,A.isFunction=y,A.isWindow=v,A.camelCase=ie,A.type=w,A.now=Date.now,A.isNumeric=function(e){var t=A.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},A.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return A}.apply(t,[]))||(e.exports=n);var on=r.jQuery,an=r.$;return A.noConflict=function(e){return r.$===A&&(r.$=an),e&&r.jQuery===A&&(r.jQuery=on),A},void 0===i&&(r.jQuery=r.$=A),A}))},8287:function(e,t){var n,r;void 0===(r="function"==typeof(n=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,o,a,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),o="",a="in descriptor";;){if(s=e.charAt(g),"in descriptor"===a)if(t(s))o&&(i.push(o),o="",a="after descriptor");else{if(","===s)return g+=1,o&&i.push(o),void v();if("("===s)o+=s,a="in parens";else{if(""===s)return o&&i.push(o),void v();o+=s}}else if("in parens"===a)if(")"===s)o+=s,a="in descriptor";else{if(""===s)return i.push(o),void v();o+=s}else if("after descriptor"===a)if(t(s));else{if(""===s)return void v();a="in descriptor",g-=1}g+=1}}function v(){var t,n,o,a,s,l,c,u,d,f=!1,g={};for(a=0;a<i.length;a++)l=(s=i[a])[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||o)&&(f=!0),d<0?f=!0:n=d):p.test(c)&&"h"===l?((o||n)&&(f=!0),0===u?f=!0:o=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),o&&(g.h=o),m.push(g))}}})?n.apply(t,[]):n)||(e.exports=r)},8952:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=n(),e.exports.createColors=n},697:(e,t,n)=>{"use strict";let r=n(2780);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)},7910:(e,t,n)=>{"use strict";let r=n(1051);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},2780:(e,t,n)=>{"use strict";let r,i,o,a,s=n(7910),l=n(3531),c=n(1051),{isClean:u,my:d}=n(2990);function f(e){return e.map((e=>(e.nodes&&(e.nodes=f(e.nodes)),delete e.source,e)))}function p(e){if(e[u]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)p(t)}class h extends c{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}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}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}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{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],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of i)this.proxyOf.nodes.splice(r+1,0,e);for(let e in this.indexes)n=this.indexes[e],r<n&&(this.indexes[e]=n+i.length);return this.markDirty(),this}insertBefore(e,t){let n,r=this.index(e),i=0===r&&"prepend",o=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let e of o)this.proxyOf.nodes.splice(r,0,e);for(let e in this.indexes)n=this.indexes[e],r<=n&&(this.indexes[e]=n+o.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=f(i(e).nodes);else if(void 0===e)e=[];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.selectors)e=[new a(e)];else if(e.name)e=[new r(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new s(e)]}return e.map((e=>(e[d]||h.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[u]&&p(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}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}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],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}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}some(e){return this.nodes.some(e)}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}))}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)}))}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)})))}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]}}h.registerParse=e=>{i=e},h.registerRule=e=>{a=e},h.registerAtRule=e=>{r=e},h.registerRoot=e=>{o=e},e.exports=h,h.default=h,h.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,r.prototype):"rule"===e.type?Object.setPrototypeOf(e,a.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type?Object.setPrototypeOf(e,s.prototype):"root"===e.type&&Object.setPrototypeOf(e,o.prototype),e[d]=!0,e.nodes&&e.nodes.forEach((e=>{h.rebuild(e)}))}},6069:(e,t,n)=>{"use strict";let r=n(8952),i=n(3215);class o extends Error{constructor(e,t,n,r,i,a){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),a&&(this.plugin=a),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,o)}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);let n=e=>e,o=e=>e,a=e=>e;if(e){let{bold:e,gray:t,red:s}=r.createColors(!0);o=t=>e(s(t)),n=e=>t(e),i&&(a=e=>i(e))}let s=t.split(/\r?\n/),l=Math.max(this.line-3,0),c=Math.min(this.line+2,s.length),u=String(c).length;return s.slice(l,c).map(((e,t)=>{let r=l+1+t,i=" "+(" "+r).slice(-u)+" | ";if(r===this.line){if(e.length>160){let t=20,r=Math.max(0,this.column-t),s=Math.max(this.column+t,this.endColumn+t),l=e.slice(r,s),c=n(i.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return o(">")+n(i)+a(l)+"\n "+c+o("^")}let t=n(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+n(i)+a(e)+"\n "+t+o("^")}return" "+n(i)+a(e)})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=o,o.default=o},3531:(e,t,n)=>{"use strict";let r=n(1051);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},7890:(e,t,n)=>{"use strict";let r,i,o=n(2780);class a extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a},2357:(e,t,n)=>{"use strict";let r=n(697),i=n(7910),o=n(3531),a=n(611),s=n(833),l=n(199),c=n(6825);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__:a.prototype};n.map&&(n.map={...n.map,__proto__:s.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 o(d);if("rule"===d.type)return new c(d);if("comment"===d.type)return new i(d);if("atrule"===d.type)return new r(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},611:(e,t,n)=>{"use strict";let{nanoid:r}=n(945),{isAbsolute:i,resolve:o}=n(5324),{SourceMapConsumer:a,SourceMapGenerator:s}=n(8645),{fileURLToPath:l,pathToFileURL:c}=n(588),u=n(6069),d=n(833),f=n(3215),p=Symbol("fromOffsetCache"),h=Boolean(a&&s),g=Boolean(o&&i);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)||i(t.from)?this.file=t.from:this.file=o(t.from)),g&&h){let e=new d(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 "+r(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,o,a;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.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);o=e.line,i=e.col}else o=r.line,i=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let s=this.origin(t,n,o,i);return a=s?new u(e,void 0===s.endLine?s.line:{column:s.column,line:s.line},void 0===s.endLine?s.column:{column:s.endColumn,line:s.endLine},s.source,s.file,r.plugin):new u(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:i,line:o},this.css,this.file,r.plugin),a.input={column:n,endColumn:i,endLine:o,line:t,source:this.css},this.file&&(c&&(a.input.url=c(this.file).toString()),a.input.file=this.file),a}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{col:e-n[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:o(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,r){if(!this.map)return!1;let o,a,s=this.map.consumer(),u=s.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof n&&(o=s.originalPositionFor({column:r,line:n})),a=i(u.source)?c(u.source):new URL(u.source,this.map.consumer().sourceRoot||c(this.map.mapFile));let d={column:u.column,endColumn:o&&o.column,endLine:o&&o.line,line:u.line,url:a.toString()};if("file:"===a.protocol){if(!l)throw new Error("file: protocol is not available in this PostCSS build");d.file=l(a)}let f=s.sourceContentFor(u.source);return f&&(d.source=f),d}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}get from(){return this.file||this.id}}e.exports=m,m.default=m,f&&f.registerInput&&f.registerInput(m)},3907:(e,t,n)=>{"use strict";let r=n(2780),i=n(7890),o=n(609),a=n(3300),s=n(8298),l=n(199),c=n(5930),{isClean:u,my:d}=n(2990);n(1393);const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},h={Once:!0,postcssPlugin:!0,prepare:!0},g=0;function m(e){return"object"==typeof e&&"function"==typeof e.then}function y(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,g,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,g,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",g,"DocumentExit"]:"root"===e.type?["Root",g,"RootExit"]:y(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function b(e){return e[u]=!1,e.nodes&&e.nodes.forEach((e=>b(e))),e}let I={};class x{constructor(e,t,n){let i;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof x||t instanceof s)i=b(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=a;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{i=e(t,n)}catch(e){this.processed=!0,this.error=e}i&&!i[d]&&r.rebuild(i)}else i=b(t);this.result=new s(e,i,n),this.helpers={...I,postcss:I,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,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}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}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(m(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[u];){e[u]=!0;let t=[v(e)];for(;t.length>0;){let e=this.visitTick(t);if(m(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()}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 m(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)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=c;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new o(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}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(m(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[u];)e[u]=!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}then(e,t){return this.async().then(e,t)}toString(){return this.css}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(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let r,i=t.iterator;for(;r=n.nodes[n.indexes[i]];)if(n.indexes[i]+=1,!r[u])return r[u]=!0,void e.push(v(r));t.iterator=0,delete n.indexes[i]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,e===g)return void(n.nodes&&n.nodes.length&&(n[u]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[u]=!0;let t=y(e);for(let n of t)if(n===g)e.nodes&&e.each((e=>{e[u]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}x.registerPostcss=e=>{I=e},e.exports=x,x.default=x,l.registerLazyResult(x),i.registerLazyResult(x)},2767:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,n){let r=[],i="",o=!1,a=0,s=!1,l="",c=!1;for(let n of e)c?c=!1:"\\"===n?c=!0:s?n===l&&(s=!1):'"'===n||"'"===n?(s=!0,l=n):"("===n?a+=1:")"===n?a>0&&(a-=1):0===a&&t.includes(n)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r}};e.exports=t,t.default=t},609:(e,t,n)=>{"use strict";let{dirname:r,relative:i,resolve:o,sep:a}=n(5324),{SourceMapConsumer:s,SourceMapGenerator:l}=n(8645),{pathToFileURL:c}=n(588),u=n(611),d=Boolean(s&&l),f=Boolean(r&&o&&i&&a);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}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+" */"}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||r(e.file);!1===this.mapOpts.sourcesContent?(t=new s(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}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&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),f&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=l.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new l({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});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]}generateString(){this.css="",this.map=new l({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,n=1,r=1,i="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((a,s,l)=>{if(this.css+=a,s&&"end"!==l&&(o.generated.line=n,o.generated.column=r-1,s.source&&s.source.start?(o.source=this.sourcePath(s),o.original.line=s.source.start.line,o.original.column=s.source.start.column-1,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,this.map.addMapping(o))),t=a.match(/\n/g),t?(n+=t.length,e=a.lastIndexOf("\n"),r=a.length-e):r+=a.length,s&&"start"!==l){let e=s.parent||{raws:{}};("decl"===s.type||"atrule"===s.type&&!s.nodes)&&s===e.last&&!e.raws.semicolon||(s.source&&s.source.end?(o.source=this.sourcePath(s),o.original.line=s.source.end.line,o.original.column=s.source.end.column-1,o.generated.line=n,o.generated.column=r-2,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,o.generated.line=n,o.generated.column=r-1,this.map.addMapping(o)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}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)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?r(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=r(o(n,this.mapOpts.annotation)));let a=i(n,e);return this.memoizedPaths.set(e,a),a}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.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,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)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===a&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},8424:(e,t,n)=>{"use strict";let r=n(609),i=n(3300);const o=n(8298);let a=n(5930);n(1393);class s{constructor(e,t,n){let i;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let s=a;this.result=new o(this._processor,i,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let c=new r(s,i,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=i;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}e.exports=s,s.default=s},1051:(e,t,n)=>{"use strict";let r=n(6069),i=n(9845),o=n(5930),{isClean:a,my:s}=n(2990);function l(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let i=e[r],o=typeof i;"parent"===r&&"object"===o?t&&(n[r]=t):"source"===r?n[r]=i:Array.isArray(i)?n[r]=i.map((e=>l(e,n))):("object"===o&&null!==i&&(i=l(i)),n[r]=i)}return n}function c(e,t){if(t&&void 0!==t.offset)return t.offset;let n=1,r=1,i=0;for(let o=0;o<e.length;o++){if(r===t.line&&n===t.column){i=o;break}"\n"===e[o]?(n=1,r+=1):n+=1}return i}class u{constructor(e={}){this.raws={},this[a]=!1,this[s]=!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]}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}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=l(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new r(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],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)}}markClean(){this[a]=!0}markDirty(){if(this[a]){this[a]=!1;let e=this;for(;e=e.parent;)e[a]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n=this.source.input.css.slice(c(this.source.input.css,this.source.start),c(this.source.input.css,this.source.end)).indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t}positionInside(e){let t=this.source.start.column,n=this.source.start.line,r=c(this.source.input.css,this.source.start),i=r+e;for(let e=r;e<i;e++)"\n"===this.source.input.css[e]?(t=1,n+=1):t+=1;return{column:t,line:n}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let r=this.source.input.css.slice(c(this.source.input.css,this.source.start),c(this.source.input.css,this.source.end)).indexOf(e.word);-1!==r&&(t=this.positionInside(r),n=this.positionInside(r+e.word.length))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:"number"==typeof 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={column:t.column+1,line:t.line}),{end:n,start:t}}raw(e,t){return(new i).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}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}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}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 o=t.get(r.input);null==o&&(o=i,t.set(r.input,i),i++),n[e]={end:r.end,inputId:o,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=o){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}get proxyOf(){return this}}e.exports=u,u.default=u},3300:(e,t,n)=>{"use strict";let r=n(2780),i=n(611),o=n(612);function a(e,t){let n=new i(e,t),r=new o(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=a,a.default=a,r.registerParse(a)},612:(e,t,n)=>{"use strict";let r=n(697),i=n(7910),o=n(3531),a=n(199),s=n(6825),l=n(1374);const c={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,n,i,o=new r;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,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){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(l.length>0){for(i=l.length-1,n=l[i];n&&"space"===n[0];)n=l[--i];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,"params",l),a&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),s&&(o.nodes=[],this.current=o)}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])}colon(e){let t,n,r,i=0;for(let[o,a]of e.entries()){if(n=a,r=n[0],"("===r&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(t){if("word"===t[0]&&"progid"===t[1])continue;return o}this.doubleColon(n)}t=n}return!1}comment(e){let t=new i;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;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]}}createTokenizer(){this.tokenizer=l(this.input)}decl(e,t){let n=new o;this.init(n,e[0][2]);let r,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;"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(r=e.shift(),":"===r[0]){n.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),n.raws.between+=r[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a,s=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(r=e[t],"!important"===r[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"===r[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().startsWith("!")&&"space"!==t)break;i=r.pop()[1]+i}i.trim().startsWith("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==r[0]&&"comment"!==r[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)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new s;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}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.source.end.offset++,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,this.root.source.end=this.getPosition(this.tokenizer.position())}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{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],l=e;for(;l;){if(n=l[0],s.push(l),"("===n||"["===n)i||(i=l),o.push("("===n?")":"]");else if(a&&r&&"{"===n)i||(i=l),o.push("}");else if(0===o.length){if(";"===n){if(r)return void this.decl(s,a);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!a)for(;s.length&&(l=s[s.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}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()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,o,a,s,l=n.length,u="",d=!0;for(let e=0;e<l;e+=1)i=n[e],o=i[0],"space"!==o||e!==l-1||r?"comment"===o?(s=n[e-1]?n[e-1][0]:"empty",a=n[e+1]?n[e+1][0]:"empty",c[s]||c[a]||","===u.slice(-1)?d=!1:u+=i[1]):u+=i[1]:d=!1;if(!d){let r=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:r,value:u}}e[t]=u}rule(e){e.pop();let t=new s;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}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}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{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})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},9274:(e,t,n)=>{"use strict";let r=n(697),i=n(7910),o=n(2780),a=n(6069),s=n(3531),l=n(7890),c=n(2357),u=n(611),d=n(3907),f=n(2767),p=n(1051),h=n(3300),g=n(2315),m=n(8298),y=n(199),v=n(6825),b=n(5930),I=n(7107);function x(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new g(e)}x.plugin=function(e,t){let n,r=!1;function i(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...n);return i.postcssPlugin=e,i.postcssVersion=(new g).version,i}return Object.defineProperty(i,"postcss",{get:()=>(n||(n=i()),n)}),i.process=function(e,t,n){return x([i(n)]).process(e,t)},i},x.stringify=b,x.parse=h,x.fromJSON=c,x.list=f,x.comment=e=>new i(e),x.atRule=e=>new r(e),x.decl=e=>new s(e),x.rule=e=>new v(e),x.root=e=>new y(e),x.document=e=>new l(e),x.CssSyntaxError=a,x.Declaration=s,x.Container=o,x.Processor=g,x.Document=l,x.Comment=i,x.Warning=I,x.AtRule=r,x.Result=m,x.Input=u,x.Rule=v,x.Root=y,x.Node=p,d.registerPostcss(x),e.exports=x,x.default=x},833:(e,t,n)=>{"use strict";let{existsSync:r,readFileSync:i}=n(8892),{dirname:o,join:a}=n(5324),{SourceMapConsumer:s,SourceMapGenerator:l}=n(8645);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=o(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new s(this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let n=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(n)return r=e.substr(n[0].length),Buffer?Buffer.from(r,"base64").toString():window.atob(r);var r;let i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);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)))}loadFile(e){if(this.root=o(e),r(e))return this.mapFile=e,i(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 s)return l.fromSourceMap(t).toString();if(t instanceof l)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=a(o(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=c,c.default=c},2315:(e,t,n)=>{"use strict";let r=n(7890),i=n(3907),o=n(8424),a=n(199);class s{constructor(e=[]){this.version="8.4.49",this.plugins=this.normalize(e)}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}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new o(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=s,s.default=s,a.registerProcessor(s),r.registerProcessor(s)},8298:(e,t,n)=>{"use strict";let r=n(7107);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},199:(e,t,n)=>{"use strict";let r,i,o=n(2780);class a extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}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}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)}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a,o.registerRoot(a)},6825:(e,t,n)=>{"use strict";let r=n(2780),i=n(2767);class o 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=o,o.default=o,r.registerRule(o)},9845:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}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)}}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}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")}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],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==r||n)}}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)}document(e){this.body(e)}raw(e,n,r){let i;if(r||(r=n),n&&(i=e.raws[n],void 0!==i))return i;let o=e.parent;if("before"===r){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return t[r];let a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[r])return a.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let t="raw"+((s=r)[0].toUpperCase()+s.slice(1));this[t]?i=this[t](a,e):a.walk((e=>{if(i=e.raws[n],void 0!==i)return!1}))}var s;return void 0===i&&(i=t[r]),a.rawCache[r]=i,i}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}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}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}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}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!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}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}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}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)}}e.exports=n,n.default=n},5930:(e,t,n)=>{"use strict";let r=n(9845);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},2990:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},1374:e=>{"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),r="\\".charCodeAt(0),i="/".charCodeAt(0),o="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),u="[".charCodeAt(0),d="]".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=/[\t\n\f\r "#'()/;[\\\]{}]/g,x=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,w=/.[\r\n"'(/\\]/,T=/[\da-f]/i;e.exports=function(e,M={}){let A,E,C,N,S,k,j,D,L,O,R=e.css.valueOf(),P=M.ignoreErrors,z=R.length,U=0,_=[],B=[];function F(t){throw e.error("Unclosed "+t,U)}return{back:function(e){B.push(e)},endOfFile:function(){return 0===B.length&&U>=z},nextToken:function(e){if(B.length)return B.pop();if(U>=z)return;let M=!!e&&e.ignoreUnclosed;switch(A=R.charCodeAt(U),A){case o:case a:case l:case c:case s:N=U;do{N+=1,A=R.charCodeAt(N)}while(A===a||A===o||A===l||A===c||A===s);k=["space",R.slice(U,N)],U=N-1;break;case u:case d:case h:case g:case v:case m:case p:{let e=String.fromCharCode(A);k=[e,e,U];break}case f:if(O=_.length?_.pop()[1]:"",L=R.charCodeAt(U+1),"url"===O&&L!==t&&L!==n&&L!==a&&L!==o&&L!==l&&L!==s&&L!==c){N=U;do{if(j=!1,N=R.indexOf(")",N+1),-1===N){if(P||M){N=U;break}F("bracket")}for(D=N;R.charCodeAt(D-1)===r;)D-=1,j=!j}while(j);k=["brackets",R.slice(U,N+1),U,N],U=N}else N=R.indexOf(")",U+1),E=R.slice(U,N+1),-1===N||w.test(E)?k=["(","(",U]:(k=["brackets",E,U,N],U=N);break;case t:case n:S=A===t?"'":'"',N=U;do{if(j=!1,N=R.indexOf(S,N+1),-1===N){if(P||M){N=U+1;break}F("string")}for(D=N;R.charCodeAt(D-1)===r;)D-=1,j=!j}while(j);k=["string",R.slice(U,N+1),U,N],U=N;break;case b:I.lastIndex=U+1,I.test(R),N=0===I.lastIndex?R.length-1:I.lastIndex-2,k=["at-word",R.slice(U,N+1),U,N],U=N;break;case r:for(N=U,C=!0;R.charCodeAt(N+1)===r;)N+=1,C=!C;if(A=R.charCodeAt(N+1),C&&A!==i&&A!==a&&A!==o&&A!==l&&A!==c&&A!==s&&(N+=1,T.test(R.charAt(N)))){for(;T.test(R.charAt(N+1));)N+=1;R.charCodeAt(N+1)===a&&(N+=1)}k=["word",R.slice(U,N+1),U,N],U=N;break;default:A===i&&R.charCodeAt(U+1)===y?(N=R.indexOf("*/",U+2)+1,0===N&&(P||M?N=R.length:F("comment")),k=["comment",R.slice(U,N+1),U,N],U=N):(x.lastIndex=U+1,x.test(R),N=0===x.lastIndex?R.length-1:x.lastIndex-2,k=["word",R.slice(U,N+1),U,N],_.push(k),U=N)}return U++,k},position:function(){return U}}}},1393:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},7107:e=>{"use strict";class t{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,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},6999:(e,t,n)=>{"use strict";var r=n(6848);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==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:o,resetWarningCache:i};return n.PropTypes=n,n}},9067:(e,t,n)=>{e.exports=n(6999)()},6848:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3335:(e,t,n)=>{"use strict";var r=n(5442),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},1085:(e,t,n)=>{"use strict";e.exports=n(3335)},1414:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={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:{screenshotTitle:"Kuvakaappaukset",screenshotInstruction:[["text","Tee kuva haluamallasi ohjelmalla. Napsauta yläpalkista kuvakaappauskuvaketta ja rajaa haluamasi kuva-alue näytöltä."],["key","CTRL"],["text","-"],["key","V"],["text"," liittää kuvan vastauskenttään kursorin kohdalle. Voit vaihtaa kuvan paikkaa raahaamalla tai leikkaamalla kuvan komennolla "],["key","CTRL"],["text","-"],["key","X"],["text"," ja liittämällä sen komennolla "],["key","CTRL"],["text","-"],["key","V"],["text"," haluamaasi paikkaan."]],equationTitle:"Kaavat",equationInstruction:[["text","Kaava lisätään komennolla "],["key","CTRL"],["text","-"],["key","E"]],equationHotkeys:"Pikakomennot kaavassa:",equationTable:[["Jakoviiva","/"],["Kertomerkki","*"],["Yläindeksi","^"],["Alaindeksi","_"],["Lisää kaava seuraavalle riville","↵"],["Sulje kaava","esc"]]},render_error:"Virhe LaTeX-koodissa"},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"}}},42:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={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:{screenshotTitle:"Skärmdumpar",screenshotInstruction:[["text","Skapa bilden med valbart program. Klicka på skärmdumpsikonen i övre balken och avgränsa den delen av skärmen du vill använda."],["key","CTRL"],["text","-"],["key","V"],["text"," 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"],["key","CTRL"],["text","-"],["key","X"],["text"," och klistra in den med kommandot"],["key","CTRL"],["text","-"],["key","V"],["text"," på valbart ställe."]],equationTitle:"Formler",equationInstruction:[["text","Formeln läggs till med kommandot "],["key","CTRL"],["text","-"],["key","E"]],equationHotkeys:"Snabbkommandon med formler:",equationTable:[["Divisionsstreck","/"],["Multiplikationstecken","*"],["Upphöjt index","^"],["Nedsänkt index","_"],["Lägg till formel på nästa rad","↵"],["Stäng formeln","esc"]]},render_error:"Fel i LaTeX-koden"},annotating:{sendFeedback:"Skicka respons",updated:"Uppdaterad",mathEditor:"Matematikeditor",title:"Bedömning",backLink:"/sv",backLinkLabel:"Matematikeditor",save:"Spara anteckningar",langLink:"/tarkistus",langLabel:"Suomeksi"}}},4141: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.HelpDialog=void 0;const i=n(1085),o=r(n(3864)),a=r(n(2373)),s=n(2127),l=r(n(6901)),c=([e,t])=>"key"===e?(0,i.jsx)(b,{children:t}):t;t.HelpDialog=()=>{const{t:e}=(0,a.default)(),{hideHelpDialog:t}=(0,a.default)();return(0,i.jsx)(u,{onMouseDown:(0,s.eventHandlerWithoutFocusLoss)(t),children:(0,i.jsxs)(d,{"aria-modal":"true",tabIndex:0,onMouseDown:(0,s.eventHandlerWithoutFocusLoss)(),children:[(0,i.jsxs)(f,{children:[(0,i.jsxs)(g,{children:[(0,i.jsx)("h3",{children:e.editor.help_overlay.screenshotTitle}),(0,i.jsx)("p",{children:e.editor.help_overlay.screenshotInstruction.map(c)})]}),(0,i.jsxs)(m,{children:[(0,i.jsx)("h3",{children:e.editor.help_overlay.equationTitle}),(0,i.jsx)("p",{children:e.editor.help_overlay.equationInstruction.map(c)}),(0,i.jsx)(y,{children:(0,i.jsx)("tbody",{children:e.editor.help_overlay.equationTable.map((([e,t])=>(0,i.jsxs)("tr",{children:[(0,i.jsx)(v,{children:e}),(0,i.jsx)("td",{children:(0,i.jsx)(b,{children:t})})]})))})})]})]}),(0,i.jsx)(p,{onMouseDown:(0,s.eventHandlerWithoutFocusLoss)(t),children:(0,i.jsx)(l.default,{})})]})})};const u=o.default.div`
3
3
  z-index: 101;
4
4
  background: #00000080;
5
5
  display: flex;
@@ -365,4 +365,4 @@
365
365
  grid-column: 1;
366
366
  grid-row: 1;
367
367
  }
368
- `},3858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SET_THEORY=t.GEOMETRY=t.ALGEBRA=t.BASIC=void 0,t.BASIC=[{label:"°",latex:"\\degree"},{label:"·",latex:"\\cdot"},{label:"×",latex:"\\times"},{label:"±",latex:"\\pm"},{label:"∞",latex:"\\infty"},{label:"²",latex:"^2"},{label:"³",latex:"^3"},{label:"½",latex:"\\frac{1}{2}"},{label:"⅓",latex:"\\frac{1}{3}"},{label:"π",latex:"\\pi"},{label:"‰"},{label:"α",latex:"\\alpha"},{label:"β",latex:"\\beta"},{label:"Γ",latex:"\\Gamma"},{label:"γ",latex:"\\gamma"},{label:"Δ",latex:"\\Delta"},{label:"δ",latex:"\\delta"},{label:"ε",latex:"\\varepsilon"},{label:"ζ",latex:"\\zeta"},{label:"η",latex:"\\eta"},{label:"θ",latex:"\\theta"},{label:"ϑ",latex:"\\vartheta"},{label:"ι",latex:"\\iota"},{label:"κ",latex:"\\kappa"},{label:"Λ",latex:"\\Lambda"},{label:"λ",latex:"\\lambda"},{label:"µ",latex:"\\mu"},{label:"ν",latex:"\\nu"},{label:"Ξ",latex:"\\Xi"},{label:"ξ",latex:"\\xi"},{label:"∏",latex:"\\Pi"},{label:"ρ",latex:"\\rho"},{label:"∑",latex:"\\Sigma"},{label:"σ",latex:"\\sigma"},{label:"τ",latex:"\\tau"},{label:"Υ",latex:"\\Upsilon"},{label:"υ",latex:"\\upsilon"},{label:"Φ",latex:"\\Phi"},{label:"ϕ",latex:"\\phi"},{label:"χ",latex:"\\chi"},{label:"Ψ",latex:"\\Psi"},{label:"ψ",latex:"\\psi"},{label:"Ω",latex:"\\Omega"},{label:"ω",latex:"\\omega"},{label:"∂",latex:"\\partial"},{label:"φ",latex:"\\varphi"}],t.ALGEBRA=[{label:"≠",latex:"\\neq"},{label:"≈",latex:"\\approx"},{label:"≤",latex:"\\leq"},{label:"≥",latex:"\\geq"},{label:"<"},{label:">"},{label:"∼",latex:"\\sim"},{label:"≡",latex:"\\equiv"},{label:"≢",latex:"\\not\\equiv"},{label:"∘",latex:"\\circ"},{label:"…",latex:"\\ldots"},{label:"∝",latex:"\\propto"}],t.GEOMETRY=[{label:"∢",latex:"\\sphericalangle"},{label:"|",latex:"\\mid"},{label:"‖",latex:"\\parallel"},{label:"⇌",latex:"\\xrightleftharpoons"},{label:"⇅"},{label:"∠",latex:"\\angle"},{label:"↑",latex:"\\uparrow"},{label:"↗",latex:"\\nearrow"},{label:"↘",latex:"\\searrow"},{label:"↓",latex:"\\downarrow"},{label:"↔",latex:"\\leftrightarrow"},{label:"⊥",latex:"\\perp"}],t.SET_THEORY=[{label:"→",latex:"\\rightarrow"},{label:"⇒",latex:"\\Rightarrow"},{label:"⇔",latex:"\\Leftrightarrow"},{label:"∈",latex:"\\in"},{label:"ℤ",latex:"\\mathbb{Z}"},{label:"ℝ",latex:"\\mathbb{R}"},{label:"∃",latex:"\\exists"},{label:"∀",latex:"\\forall"},{label:"ℕ",latex:"\\mathbb{N}"},{label:"ℚ",latex:"\\mathbb{Q}"},{label:"∩",latex:"\\cap"},{label:"∪",latex:"\\cup"},{label:"∖",latex:"\\setminus"},{label:"⊂",latex:"\\subset"},{label:"⊄",latex:"\\notsubset"},{label:"∉",latex:"\\notin"},{label:"∅",latex:"\\empty"},{label:"∧",latex:"\\and"},{label:"∨",latex:"\\or"},{label:"¬",latex:"\\neg"},{label:"∇",latex:"\\nabla"}]},5064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=[{action:"\\sqrt",label:"\\sqrt{X}",svg:"data:image/svg+xml;base64,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjMuNzQ0ZXgiIGhlaWdodD0iM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AxMDUgLTQ4aDQwdi0zMWMtNDEgMyAtMTQ0IDMgLTE5MCAzcy0xNDggMCAtMTg5IC0zdjMxaDQwYzEwNSAwIDEwNSAxNCAxMDUgNDh2NTI3YzAgMjMgMCAzNCAtMjEgMzhjLTEwIDIgLTM2IDIgLTU0IDJjLTE1MSAwIC0xNjYgLTMzIC0xODAgLTE5NGgtMjVsMTkgMjI1IGg2MTFaIj48L3BhdGg+CjwvZGVmcz4KPGcgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIGZpbGw9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIwIiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAwIDApIiBhcmlhLWhpZGRlbj0idHJ1ZSI+CiA8dXNlIHhsaW5rOmhyZWY9IiNFMS1MQVRJTk1PREVSTk1BSU4tNTQiIHg9IjAiIHk9IjAiPjwvdXNlPgo8L2c+Cjwvc3ZnPg=="}]},2959:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useKeyboardEventListener=void 0;const r=n(5442);t.useKeyboardEventListener=(e,t,n,i=!0)=>{(0,r.useEffect)((()=>{const r=r=>{(!t||t&&r.ctrlKey)&&r.key.toLowerCase()===e.toLowerCase()&&(i&&r.preventDefault(),n(r))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}}),[e,n])}},2613:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),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)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,c.default)(),[n,r]=(0,l.useState)(null),[i,o]=(0,l.useState)(e.latex),a=(0,l.useRef)(null),s=(0,l.useRef)(i),d=(0,l.useCallback)((function(t){if(!t)return;const n=u.MathField(t,{handlers:{edit:function(t){var n,r;if(t.el().contains(document.activeElement)){const t=null===(n=a.current)||void 0===n?void 0:n.latex();void 0!==t&&(null===(r=e.onChange)||void 0===r||r.call(e,s.current,t),o(t),s.current=t)}}}});n.latex(e.latex),r(n),a.current=n}),[]);return(0,l.useEffect)((function(){n&&n.latex()!=e.latex&&(null==n||n.latex(e.latex),t())}),[n,e.latex]),{ref:d,mq:n,isError:""===(null==n?void 0:n.latex())&&""!==e.latex,lastValue:i}};const s=o(n(5968)),l=n(5442),c=a(n(9957)),u=s.getInterface(2)},9957:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const[e,t]=(0,r.useState)(0);return()=>t((e=>(e+1)%(Number.MAX_SAFE_INTEGER-1)))};const r=n(5442)},8115: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});const i=n(1085),o=n(5442),a=r(n(7204)),s=n(2373),l=(0,o.forwardRef)(((e,t)=>{const{allowedFileTypes:n,baseUrl:r,getPasteSource:l,initialValue:c,language:u,onValueChange:d,textAreaProps:f,toolbarRoot:p}=e,[h,g]=(0,o.useState)(p),m=(0,o.useRef)(null);return(0,o.useEffect)((()=>{p?g(p):m.current&&g(m.current)}),[p,m]),(0,i.jsxs)(s.EditorStateProvider,{allowedFileTypes:n,baseUrl:r,getPasteSource:l,initialValue:c,language:u,onValueChange:d,children:[p?null:(0,i.jsx)("div",{ref:m,className:"rich-text-editor-toolbar-root"}),(0,i.jsx)(a.default,Object.assign({},f,{toolbarRoot:h,ref:t}))]})}));t.default=l},6482:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const[e,t]=(0,r.useState)([]),[n,i]=(0,r.useState)(0),o=(0,r.useRef)(e),a=(0,r.useRef)(n),s=e=>{o.current=e,t(e)},l=e=>{a.current=e,i(e)};return{canUndo:0!==n,canRedo:n<e.length-1,write:e=>{if(e===o.current.at(a.current))return;const t=[...o.current.slice(0,a.current+1),e];s(t),l(t.length-1)},clear:()=>{s([""]),l(0)},undo:()=>{const e=a.current-1;if(e<0)return;const t=o.current.at(e);return l(e),t},redo:()=>{const e=a.current+1;if(e>=o.current.length)return;const t=o.current.at(e);return l(e),t}}};const r=n(5442)},2373: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.default=function(){const e=(0,o.useContext)(p);if(!e)throw Error("Tried to use Editor State Context outside a Provider");return e},t.EditorStateProvider=function({children:e,language:t="FI",getPasteSource:n=m,allowedFileTypes:r=["image/png","image/jpeg"],onValueChange:h=(()=>{}),initialValue:v="",baseUrl:b=""}){var I;const[x,w]=(0,o.useState)(!1),[T,M]=(0,o.useState)(!1),[A,E]=(0,o.useState)(!1),[C,N]=(0,o.useState)(!1),[S,k]=(0,o.useState)(null),[j,D]=(0,o.useState)(!1),L=null!==(I=new URL(window.location.href).searchParams.get("forceToolbars"))&&void 0!==I?I:"0",[O,R]=(0,o.useState)(null),P=(0,a.default)(),z=(0,a.default)(),U=(0,o.useRef)(null),_={FI:c.default,SV:u.default}[t];function B(e,t,n){function r(n,r){P.clear(),k(null),M(!1),V(!0,!0),r&&y(e,r),t.classList.remove("active"),e.remove(),n||t.remove()}const o=(0,d.createPortal)((0,i.jsx)(s.default,Object.assign({onOpen:function(e){P.clear(),k(e),w(!0),M(!0),t.classList.add("active")},onBlur:r,onChange:function(e){P.write(e)},onEnter:function(e){t&&Z(t),r(e)},errorText:_.editor.render_error},n)),e);R([e,o])}const F=e=>t=>{e.setAttribute("src",`${b}/math.svg?latex=${encodeURIComponent(t)}`),e.setAttribute("alt",t)};function G(){const e=document.createElement("img");return e.addEventListener("click",(t=>function(e,t){var n;const r=e.parentElement;t.stopPropagation(),t.preventDefault();const i=(0,l.createMathStub)(g());r?r.insertBefore(i,e.nextSibling):null===(n=U.current)||void 0===n||n.appendChild(i),B(i,e,{initialLatex:e.getAttribute("alt"),onLatexUpdate:F(e)})}(e,t))),e.setAttribute("initialized",""),e.setAttribute("src",""),e.classList.add("equation"),e}function Z(e){const t=e.closest("div"),n=G(),r=(0,l.createMathStub)(g(),!1,n),i=e.nextSibling;t?(t.insertBefore(document.createElement("br"),i),t.insertBefore(n,i),t.insertBefore(r,i),B(r,n,{onLatexUpdate:F(n)})):console.error("parent element not found for math editor")}function H(){U.current&&Array.from(U.current.querySelectorAll('img[src*="/math.svg?"][alt]:not([initialized])')).forEach((e=>{var t;const n=G(),r=e.getAttribute("src");if(r){const{origin:e,pathname:t,search:i}=new URL(r,b||document.location.toString());e!==b?n.setAttribute("src",`${b}${t}${i}`):n.setAttribute("src",r)}n.setAttribute("alt",null!==(t=e.getAttribute("alt"))&&void 0!==t?t:""),e.replaceWith(n)}))}const q=(0,f.debounce)((e=>z.write(e)),500);function V(e=!0,t=!1){setTimeout((()=>{var n;const r=null===(n=U.current)||void 0===n?void 0:n.innerHTML;if(r){const n=(0,f.getAnswer)(r);h(n),e&&(t?z.write(n.answerHtml):q(n.answerHtml))}}),0)}return(0,o.useEffect)((()=>{j||null===U.current||(v&&(U.current.innerHTML=v),setTimeout((()=>{H(),D(!0),U.current&&z.write(U.current.innerHTML)}),0))}),[j,v,U.current,z]),(0,i.jsx)(p.Provider,{value:{isToolbarOpen:"0"!==L||x,isMathToolbarOpen:"2"===L||T,showToolbar:()=>w(!0),hideToolbar:()=>w(!1),isToolbarExpanded:A,expandToolbar:()=>E(!0),collapseToolbar:()=>E(!1),isHelpDialogOpen:C,showHelpDialog:()=>N(!0),hideHelpDialog:()=>N(!1),activeMathEditor:S,setActiveMathEditor:k,ref:U,mathEditorPortal:O,spawnMathEditorAtCursor:function(){const e=G();B((0,l.createMathStub)(g(),!0,e),e,{onLatexUpdate:F(e)})},spawnMathEditorInNewLine:Z,initMathImages:H,canUndoEquation:P.canUndo,canRedoEquation:P.canRedo,undoEquation:P.undo,redoEquation:P.redo,canUndoEditor:z.canUndo,canRedoEditor:z.canRedo,undoEditor:z.undo,redoEditor:z.redo,t:_,handlePastedImage:n,allowedFileTypes:r,onAnswerChange:V,initialValue:v,baseUrl:b},children:e})};const i=n(1085),o=n(5442),a=r(n(6482)),s=r(n(3671)),l=n(7469),c=r(n(1414)),u=r(n(42)),d=n(6003),f=n(2127),p=(0,o.createContext)(null);let h=0;const g=()=>{const e=h;return h=e+1,e},m=e=>new Promise((t=>{const n=new FileReader;n.onload=e=>t(n.result),n.readAsDataURL(e)})),y=(e,t="after")=>{const n=window.getSelection(),r=document.createRange();"before"===t?r.setStartBefore(e):r.setStartAfter(e),r.collapse(!0),null==n||n.removeAllRanges(),null==n||n.addRange(r)}},2127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAnswer=t.eventHandlerWithoutFocusLoss=void 0,t.debounce=function(e,t){let n=null;return function(...r){n&&"number"==typeof t&&clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}},t.getCursorPosition=function(e){const t=window.getSelection();if(!t||0===t.rangeCount)return null;const n=t.getRangeAt(0),r=[];let i=n.startContainer;for(;i&&i!==e;){const e=i.parentNode;if(!e)break;r.push(Array.from(e.childNodes).indexOf(i)),i=e}return{path:r,offset:n.startOffset}},t.restoreCursorPosition=function(e,t){var n,r;const i=document.createRange();try{if(!t)return;let o=e;for(const e of t.path){if(!(o&&o.childNodes[e]instanceof Node))return;o=o.childNodes[e]}const a=null!==(r=null===(n=null==o?void 0:o.textContent)||void 0===n?void 0:n.length)&&void 0!==r?r:0,s=Math.min(t.offset,a);i.setStart(o,s),i.collapse(!0)}catch(t){i.selectNodeContents(e),i.collapse(!1)}const o=window.getSelection();o&&(o.removeAllRanges(),o.addRange(i))};const r=n(7772);t.eventHandlerWithoutFocusLoss=e=>t=>(e&&e(),t.preventDefault(),t.stopPropagation(),!1),t.getAnswer=e=>{const t=(0,r.sanitize)(e,{transformTags:{img:(e,t)=>t.src?{tagName:e,attribs:t}:{tagName:"",attribs:{}},span:(e,t)=>"math-editor-wrapper"!==t.class?{tagName:e,attribs:t}:{tagName:"",attribs:{}}}}),n=(new DOMParser).parseFromString(t,"text/html").body,a=Array.from(n.childNodes).map((e=>"BR"===e.nodeName?"\n":e.textContent)).join(""),s=n.querySelectorAll(':scope > img:not([src*="/math.svg?"])'),l=n.querySelectorAll("span.math-editor-wrapper").length;return{answerHtml:0===(null==a?void 0:a.trim().length)&&0===s.length&&l>0?"":i(t),answerText:o(null!=a?a:""),imageCount:s.length}};const i=e=>e.replace(/^(\n|<br ?\/?>)*/g,"").replace(/(\s|<br ?\/?>)*$/g,""),o=e=>e.replace(/^(\n)*/g,"").replace(/(\s)*$/g,"")},7469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MATH_EDITOR_CLASS=void 0,t.createMathStub=function(e,n=!1,r){const i=document.createElement("span");if(i.className=t.MATH_EDITOR_CLASS,i.id=`math-editor-${e}`,i.contentEditable="false",i.style.display="contents",n){const e=window.getSelection();if(!e||0===e.rangeCount)return i;const n=e.getRangeAt(0);n.deleteContents(),n.insertNode(i),r&&n.insertNode(r);const o=i.parentNode;o.className===t.MATH_EDITOR_CLASS&&o.insertAdjacentElement(i.nextSibling?"beforebegin":"afterend",i),e.removeAllRanges(),n.setStartAfter(i),n.setEndAfter(i),e.addRange(n)}return i},t.MATH_EDITOR_CLASS="math-editor-wrapper"},7772: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.sanitize=function(e,t){return[e=>(0,i.default)(e,Object.assign(Object.assign(Object.assign({},o),{allowedTags:[...o.allowedTags,"div","p"],allowedSchemes:["data","http","https"]}),t)),e=>function(e){return e.replace(new RegExp(document.location.origin,"g"),"")}(e),e=>function(e){var t;const n=document.createElement("div");n.innerHTML=e;do{let e;for(let r=0;r<n.childNodes.length;r++){const i=n.childNodes[r];if(a(i)){for(void 0!==e&&e.nodeType===Node.TEXT_NODE&&/\S/.test(null!==(t=e.textContent)&&void 0!==t?t:"")&&n.insertBefore(document.createElement("br"),i),i.lastChild&&"BR"!==i.lastChild.nodeName&&i.insertBefore(document.createElement("br"),null);i.childNodes.length&&null!==i.firstChild;)n.insertBefore(i.firstChild,i);n.removeChild(i)}e=i}}while(Array.prototype.some.call(n.childNodes,(e=>a(e))));return n.innerHTML}(e)].reduce(((e,t)=>t(e)),e)};const i=r(n(7521)),o={allowedTags:["img","br","span"],allowedAttributes:{img:["src","alt"]},allowedSchemes:["data"]};function a(e){return"DIV"===e.nodeName||"P"===e.nodeName}},7521:(e,t,n)=>{const r=n(5482),i=n(2189),{isPlainObject:o}=n(993),a=n(2743),s=n(8287),{parse:l}=n(9274),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"";"number"==typeof e&&(e=e.toString());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(){k.length&&(k[k.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){k.length&&c.includes(this.tag)&&k[k.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},g.defaults,t)).parser=Object.assign({},m,t.parser);const I=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};u.forEach((function(e){I(e)&&!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 x=t.nonTextTags||["script","style","textarea","option"];let w,T;t.allowedAttributes&&(w={},T={},d(t.allowedAttributes,(function(e,t){w[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):w[t].push(e)})),n.length&&(T[t]=new RegExp("^("+n.join("|")+")$"))})));const M={},A={},E={};d(t.allowedClasses,(function(e,t){if(w&&(f(w,t)||(w[t]=[]),w[t].push("class")),M[t]=e,Array.isArray(e)){const n=[];M[t]=[],E[t]=[],e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?E[t].push(e):M[t].push(e)})),n.length&&(A[t]=new RegExp("^("+n.join("|")+")$"))}}));const C={};let N,S,k,j,D,L,O;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=g.simpleTransform(e)),"*"===t?N=n:C[t]=n}));let R=!1;z();const P=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&z(),L)return void O++;const r=new b(e,n);k.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,D[S]=u.tagName)),N&&(u=N(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,D[S]=u.tagName)),(!I(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(f(e,t))return!1;return!0}(j)||null!=t.nestingLimit&&S>=t.nestingLimit)&&(i=!0,j[S]=!0,"discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||-1!==x.indexOf(e)&&(L=!0,O=1),j[S]=!0),S++,i){if("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return;v=y,y=""}y+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=""),(!w||f(w,e)||w["*"])&&d(n,(function(n,i){if(!h.test(i))return void delete r.attribs[i];if(""===n&&!t.allowedEmptyAttributes.includes(i)&&(t.nonBooleanAttributes.includes(i)||t.nonBooleanAttributes.includes("*")))return void delete r.attribs[i];let c=!1;if(!w||f(w,e)&&-1!==w[e].indexOf(i)||w["*"]&&-1!==w["*"].indexOf(i)||f(T,e)&&T[e].test(i)||T["*"]&&T["*"].test(i))c=!0;else if(w&&w[e])for(const t of w[e])if(o(t)&&t.name&&t.name===i){c=!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(c){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=B(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===r.url.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return r.url.hostname===e||r.url.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{const r=B(n);if(r.isRelativeUrl)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===r.url.hostname})),i=(t.allowedIframeDomains||[]).find((function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("srcset"===i)try{let e=s(n);if(e.forEach((function(e){_("srcset",e.url)&&(e.evil=!0)})),e=p(e,(function(e){return!e.evil})),!e.length)return void delete r.attribs[i];n=p(e,(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=M[e],o=M["*"],s=A[e],l=E[e],c=[s,A["*"]].concat(l).filter((function(e){return e}));if(!(u=n,d=t&&o?a(t,o):t||o,g=c,n=d?(u=u.split(/\s+/)).filter((function(e){return-1!==d.indexOf(e)||g.some((function(t){return t.test(e)}))})).join(" "):u).length)return void delete r.attribs[i]}if("style"===i)if(t.parseStyleAttributes)try{if(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;return r=t[n.selector]&&t["*"]?a(t[n.selector],t["*"]):t[n.selector]||t["*"],r&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){return f(e,n.prop)&&e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n),t}}(r),[])),e}(l(e+" {"+n+"}",{map:!1}),t.allowedStyles)),0===n.length)return void delete r.attribs[i]}catch(t){return"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+n+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete r.attribs[i]}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");y+=" "+i,n&&n.length?y+='="'+U(n,!0)+'"':t.allowedEmptyAttributes.includes(i)&&(y+='=""')}else delete r.attribs[i];var u,d,g})),-1!==t.selfClosing.indexOf(e)?y+=" />":(y+=">",!r.innerText||c||t.textFilter||(y+=U(r.innerText),R=!0)),i&&(y=v+U(y),v="")},ontext:function(e){if(L)return;const n=k[k.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"completelyDiscard"!==t.disallowedTagsMode||I(r))if("discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=U(e,!1);t.textFilter&&!R?y+=t.textFilter(n,r):R||(y+=n)}else y+=e;else e="";k.length&&(k[k.length-1].text+=e)},onclosetag:function(e,n){if(L){if(O--,O)return;L=!1}const r=k.pop();if(!r)return;if(r.tag!==e)return void k.push(r);L=!!t.enforceHtmlBoundary&&"html"===e,S--;const i=j[S];if(i){if(delete j[S],"discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return void r.updateParentNodeText();v=y,y=""}D[S]&&(e=D[S],delete D[S]),t.exclusiveFilter&&t.exclusiveFilter(r)?y=y.substr(0,r.tagPosition):(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||n&&!I(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0?i&&(y=v,v=""):(y+="</"+e+">",i&&(y=v+U(y),v=""),R=!1))}},t.parser);return P.write(e),P.end(),y;function z(){y="",S=0,k=[],j={},D={},L=!1,O=0}function U(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){for(n=n.replace(/[\x00-\x20]+/g,"");;){const e=n.indexOf("\x3c!--");if(-1===e)break;const t=n.indexOf("--\x3e",e+4);if(-1===t)break;n=n.substring(0,e)+n.substring(t+3)}const r=n.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 B(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;const n=new URL(e,t);return{isRelativeUrl:n&&"relative-site"===n.hostname&&"relative:"===n.protocol,url:n}}}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"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],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,parseStyleAttributes:!0},g.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},2146:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(i=n?n.call(r,u,d,c):void 0)||void 0===i&&u!==d)return!1}return!0}},3864:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ServerStyleSheet:()=>on,StyleSheetConsumer:()=>St,StyleSheetContext:()=>Nt,StyleSheetManager:()=>Dt,ThemeConsumer:()=>Zt,ThemeContext:()=>Gt,ThemeProvider:()=>qt,__PRIVATE__:()=>an,createGlobalStyle:()=>tn,css:()=>Jt,default:()=>Kt,isStyledComponent:()=>Je,keyframes:()=>nn,styled:()=>Kt,useTheme:()=>Ht,version:()=>de,withTheme:()=>rn});var r=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},r.apply(this,arguments)};function i(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var o=n(5442),a=n.n(o),s=n(2146),l=n.n(s),c="-ms-",u="-moz-",d="-webkit-",f="comm",p="rule",h="decl",g="@import",m="@keyframes",y="@layer",v=Math.abs,b=String.fromCharCode,I=Object.assign;function x(e){return e.trim()}function w(e,t){return(e=t.exec(e))?e[0]:e}function T(e,t,n){return e.replace(t,n)}function M(e,t,n){return e.indexOf(t,n)}function A(e,t){return 0|e.charCodeAt(t)}function E(e,t,n){return e.slice(t,n)}function C(e){return e.length}function N(e){return e.length}function S(e,t){return t.push(e),e}function k(e,t){return e.filter((function(e){return!w(e,t)}))}var j=1,D=1,L=0,O=0,R=0,P="";function z(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:j,column:D,length:a,return:"",siblings:s}}function U(e,t){return I(z("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function _(e){for(;e.root;)e=U(e.root,{children:[e]});S(e,e.siblings)}function B(){return R=O>0?A(P,--O):0,D--,10===R&&(D=1,j--),R}function F(){return R=O<L?A(P,O++):0,D++,10===R&&(D=1,j++),R}function G(){return A(P,O)}function Z(){return O}function H(e,t){return E(P,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(e){return x(H(O-1,Q(91===e?e+2:40===e?e+1:e)))}function Y(e){for(;(R=G())&&R<33;)F();return q(e)>2||q(R)>3?"":" "}function W(e,t){for(;--t&&F()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return H(e,Z()+(t<6&&32==G()&&32==F()))}function Q(e){for(;F();)switch(R){case e:return O;case 34:case 39:34!==e&&39!==e&&Q(R);break;case 40:41===e&&Q(e);break;case 92:F()}return O}function J(e,t){for(;F()&&e+R!==57&&(e+R!==84||47!==G()););return"/*"+H(t,O-1)+"*"+b(47===e?e:F())}function X(e){for(;!q(G());)F();return H(e,O)}function $(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function K(e,t,n,r){switch(e.type){case y:if(e.children.length)break;case g:case h:return e.return=e.return||e.value;case f:return"";case m:return e.return=e.value+"{"+$(e.children,r)+"}";case p:if(!C(e.value=e.props.join(",")))return""}return C(n=$(e.children,r))?e.return=e.value+"{"+n+"}":""}function ee(e,t,n){switch(function(e,t){return 45^A(e,0)?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}(e,t)){case 5103:return d+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return d+e+e;case 4789:return u+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return d+e+u+e+c+e+e;case 5936:switch(A(e,t+11)){case 114:return d+e+c+T(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return d+e+c+T(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return d+e+c+T(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return d+e+c+e+e;case 6165:return d+e+c+"flex-"+e+e;case 5187:return d+e+T(e,/(\w+).+(:[^]+)/,d+"box-$1$2"+c+"flex-$1$2")+e;case 5443:return d+e+c+"flex-item-"+T(e,/flex-|-self/g,"")+(w(e,/flex-|baseline/)?"":c+"grid-row-"+T(e,/flex-|-self/g,""))+e;case 4675:return d+e+c+"flex-line-pack"+T(e,/align-content|flex-|-self/g,"")+e;case 5548:return d+e+c+T(e,"shrink","negative")+e;case 5292:return d+e+c+T(e,"basis","preferred-size")+e;case 6060:return d+"box-"+T(e,"-grow","")+d+e+c+T(e,"grow","positive")+e;case 4554:return d+T(e,/([^-])(transform)/g,"$1"+d+"$2")+e;case 6187:return T(T(T(e,/(zoom-|grab)/,d+"$1"),/(image-set)/,d+"$1"),e,"")+e;case 5495:case 3959:return T(e,/(image-set\([^]*)/,d+"$1$`$1");case 4968:return T(T(e,/(.+:)(flex-)?(.*)/,d+"box-pack:$3"+c+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+d+e+e;case 4200:if(!w(e,/flex-|baseline/))return c+"grid-column-align"+E(e,t)+e;break;case 2592:case 3360:return c+T(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,w(e.props,/grid-\w+-end/)}))?~M(e+(n=n[t].value),"span",0)?e:c+T(e,"-start","")+e+c+"grid-row-span:"+(~M(n,"span",0)?w(n,/\d+/):+w(n,/\d+/)-+w(e,/\d+/))+";":c+T(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return w(e.props,/grid-\w+-start/)}))?e:c+T(T(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return T(e,/(.+)-inline(.+)/,d+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(C(e)-1-t>6)switch(A(e,t+1)){case 109:if(45!==A(e,t+4))break;case 102:return T(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==A(e,t+3)?"$3":"$2-$3"))+e;case 115:return~M(e,"stretch",0)?ee(T(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return T(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,i,o,a,s){return c+n+":"+r+s+(i?c+n+"-span:"+(o?a:+a-+r)+s:"")+e}));case 4949:if(121===A(e,t+6))return T(e,":",":"+d)+e;break;case 6444:switch(A(e,45===A(e,14)?18:11)){case 120:return T(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===A(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return T(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return T(e,"scroll-","scroll-snap-")+e}return e}function te(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=ee(e.value,e.length,n));case m:return $([U(e,{value:T(e.value,"@","@"+d)})],r);case p:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(w(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":_(U(e,{props:[T(t,/:(read-\w+)/,":"+u+"$1")]})),_(U(e,{props:[t]})),I(e,{props:k(n,r)});break;case"::placeholder":_(U(e,{props:[T(t,/:(plac\w+)/,":"+d+"input-$1")]})),_(U(e,{props:[T(t,/:(plac\w+)/,":"+u+"$1")]})),_(U(e,{props:[T(t,/:(plac\w+)/,c+"input-$1")]})),_(U(e,{props:[t]})),I(e,{props:k(n,r)})}return""}))}}function ne(e){return function(e){return P="",e}(re("",null,null,null,[""],e=function(e){return j=D=1,L=C(P=e),O=0,[]}(e),0,[0],e))}function re(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,h=0,g=1,m=1,y=1,I=0,x="",w=i,E=o,N=r,k=x;m;)switch(h=I,I=F()){case 40:if(108!=h&&58==A(k,d-1)){-1!=M(k+=T(V(I),"&","&\f"),"&\f",v(c?s[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:k+=V(I);break;case 9:case 10:case 13:case 32:k+=Y(h);break;case 92:k+=W(Z()-1,7);continue;case 47:switch(G()){case 42:case 47:S(oe(J(F(),Z()),t,n,l),l);break;default:k+="/"}break;case 123*g:s[c++]=C(k)*y;case 125*g:case 59:case 0:switch(I){case 0:case 125:m=0;case 59+u:-1==y&&(k=T(k,/\f/g,"")),p>0&&C(k)-d&&S(p>32?ae(k+";",r,n,d-1,l):ae(T(k," ","")+";",r,n,d-2,l),l);break;case 59:k+=";";default:if(S(N=ie(k,t,n,c,u,i,s,x,w=[],E=[],d,o),o),123===I)if(0===u)re(k,t,N,N,w,o,d,s,E);else switch(99===f&&110===A(k,3)?100:f){case 100:case 108:case 109:case 115:re(e,N,N,r&&S(ie(e,N,N,0,0,i,s,x,i,w=[],d,E),E),i,E,d,s,r?w:E);break;default:re(k,N,N,N,[""],E,0,s,E)}}c=u=p=0,g=y=1,x=k="",d=a;break;case 58:d=1+C(k),p=h;default:if(g<1)if(123==I)--g;else if(125==I&&0==g++&&125==B())continue;switch(k+=b(I),I*g){case 38:y=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(C(k)-1)*y,y=1;break;case 64:45===G()&&(k+=V(F())),f=G(),u=d=C(x=k+=X(Z())),I++;break;case 45:45===h&&2==C(k)&&(g=0)}}return o}function ie(e,t,n,r,i,o,a,s,l,c,u,d){for(var f=i-1,h=0===i?o:[""],g=N(h),m=0,y=0,b=0;m<r;++m)for(var I=0,w=E(e,f+1,f=v(y=a[m])),M=e;I<g;++I)(M=x(y>0?h[I]+" "+w:T(w,/&\f/g,h[I])))&&(l[b++]=M);return z(e,t,n,0===i?p:s,l,c,u,d)}function oe(e,t,n,r){return z(e,t,n,f,b(R),E(e,2,-2),0,r)}function ae(e,t,n,r,i){return z(e,t,n,h,E(e,0,r),E(e,r+1,-1),r,i)}var se={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},le="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ce="active",ue="data-styled-version",de="6.1.13",fe="/*!sc*/\n",pe="undefined"!=typeof window&&"HTMLElement"in window,he=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ge={},me=(new Set,Object.freeze([])),ye=Object.freeze({});function ve(e,t,n){return void 0===n&&(n=ye),e.theme!==n.theme&&e.theme||t||n.theme}var be=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Ie=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function we(e){return e.replace(Ie,"-").replace(xe,"")}var Te=/(a)(d)/gi,Me=52,Ae=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ee(e){var t,n="";for(t=Math.abs(e);t>Me;t=t/Me|0)n=Ae(t%Me)+n;return(Ae(t%Me)+n).replace(Te,"$1-$2")}var Ce,Ne=5381,Se=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ke=function(e){return Se(Ne,e)};function je(e){return Ee(ke(e)>>>0)}function De(e){return e.displayName||e.name||"Component"}function Le(e){return"string"==typeof e&&!0}var Oe="function"==typeof Symbol&&Symbol.for,Re=Oe?Symbol.for("react.memo"):60115,Pe=Oe?Symbol.for("react.forward_ref"):60112,ze={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ue={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},_e={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Be=((Ce={})[Pe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ce[Re]=_e,Ce);function Fe(e){return("type"in(t=e)&&t.type.$$typeof)===Re?_e:"$$typeof"in e?Be[e.$$typeof]:ze;var t}var Ge=Object.defineProperty,Ze=Object.getOwnPropertyNames,He=Object.getOwnPropertySymbols,qe=Object.getOwnPropertyDescriptor,Ve=Object.getPrototypeOf,Ye=Object.prototype;function We(e,t,n){if("string"!=typeof t){if(Ye){var r=Ve(t);r&&r!==Ye&&We(e,r,n)}var i=Ze(t);He&&(i=i.concat(He(t)));for(var o=Fe(e),a=Fe(t),s=0;s<i.length;++s){var l=i[s];if(!(l in Ue||n&&n[l]||a&&l in a||o&&l in o)){var c=qe(t,l);try{Ge(e,l,c)}catch(e){}}}}return e}function Qe(e){return"function"==typeof e}function Je(e){return"object"==typeof e&&"styledComponentId"in e}function Xe(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function $e(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function Ke(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function et(e,t,n){if(void 0===n&&(n=!1),!n&&!Ke(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=et(e[r],t[r]);else if(Ke(t))for(var r in t)e[r]=et(e[r],t[r]);return e}function tt(e,t){Object.defineProperty(e,"toString",{value:t})}function nt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var rt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw nt(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=(o=0,t.length);o<s;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(fe);return t},e}(),it=new Map,ot=new Map,at=1,st=function(e){if(it.has(e))return it.get(e);for(;ot.has(at);)at++;var t=at++;return it.set(e,t),ot.set(t,e),t},lt=function(e,t){at=t+1,it.set(e,t),ot.set(t,e)},ct="style[".concat(le,"][").concat(ue,'="').concat(de,'"]'),ut=new RegExp("^".concat(le,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),dt=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},ft=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(fe),i=[],o=0,a=r.length;o<a;o++){var s=r[o].trim();if(s){var l=s.match(ut);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(lt(u,c),dt(e,u,l[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(s)}}},pt=function(e){for(var t=document.querySelectorAll(ct),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(le)!==ce&&(ft(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function ht(){return n.nc}var gt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(le,"]")));return t[t.length-1]}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(le,ce),r.setAttribute(ue,de);var a=ht();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},mt=function(){function e(e){this.element=gt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw nt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),yt=function(){function e(e){this.element=gt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),vt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),bt=pe,It={isServer:!pe,useCSSOMInjection:!he},xt=function(){function e(e,t,n){void 0===e&&(e=ye),void 0===t&&(t={});var i=this;this.options=r(r({},It),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&pe&&bt&&(bt=!1,pt(this)),tt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=function(n){var i=function(e){return ot.get(e)}(n);if(void 0===i)return"continue";var o=e.names.get(i),a=t.getGroup(n);if(void 0===o||!o.size||0===a.length)return"continue";var s="".concat(le,".g").concat(n,'[id="').concat(i,'"]'),l="";void 0!==o&&o.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),r+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(fe)},o=0;o<n;o++)i(o);return r}(i)}))}return e.registerId=function(e){return st(e)},e.prototype.rehydrate=function(){!this.server&&pe&&pt(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new vt(n):t?new mt(n):new yt(n)}(this.options),new rt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(st(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(st(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(st(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),wt=/&/g,Tt=/^\s*\/\/.*$/gm;function Mt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Mt(e.children,t)),e}))}function At(e){var t,n,r,i=void 0===e?ye:e,o=i.options,a=void 0===o?ye:o,s=i.plugins,l=void 0===s?me:s,c=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===p&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(wt,n).replace(r,c))})),a.prefix&&u.push(te),u.push(K);var d=function(e,i,o,s){void 0===i&&(i=""),void 0===o&&(o=""),void 0===s&&(s="&"),t=s,n=i,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(Tt,""),c=ne(o||i?"".concat(o," ").concat(i," { ").concat(l," }"):l);a.namespace&&(c=Mt(c,a.namespace));var d,f,p,h=[];return $(c,(d=u.concat((p=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&p(e)})),f=N(d),function(e,t,n,r){for(var i="",o=0;o<f;o++)i+=d[o](e,t,n,r)||"";return i})),h};return d.hash=l.length?l.reduce((function(e,t){return t.name||nt(15),Se(e,t.name)}),Ne).toString():"",d}var Et=new xt,Ct=At(),Nt=a().createContext({shouldForwardProp:void 0,styleSheet:Et,stylis:Ct}),St=Nt.Consumer,kt=a().createContext(void 0);function jt(){return(0,o.useContext)(Nt)}function Dt(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],r=t[1],i=jt().styleSheet,s=(0,o.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,i]),c=(0,o.useMemo)((function(){return At({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,o.useEffect)((function(){l()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var u=(0,o.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:s,stylis:c}}),[e.shouldForwardProp,s,c]);return a().createElement(Nt.Provider,{value:u},a().createElement(kt.Provider,{value:c},e.children))}var Lt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ct);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,tt(this,(function(){throw nt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Ct),this.name+e.hash},e}(),Ot=function(e){return e>="A"&&e<="Z"};function Rt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Ot(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Pt=function(e){return null==e||!1===e||""===e},zt=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!Pt(a)&&(Array.isArray(a)&&a.isCss||Qe(a)?r.push("".concat(Rt(o),":"),a,";"):Ke(a)?r.push.apply(r,i(i(["".concat(o," {")],zt(a),!1),["}"],!1)):r.push("".concat(Rt(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in se||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Ut(e,t,n,r){return Pt(e)?[]:Je(e)?[".".concat(e.styledComponentId)]:Qe(e)?!Qe(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:Ut(e(t),t,n,r):e instanceof Lt?n?(e.inject(n,r),[e.getName(r)]):[e]:Ke(e)?zt(e):Array.isArray(e)?Array.prototype.concat.apply(me,e.map((function(e){return Ut(e,t,n,r)}))):[e.toString()];var i}function _t(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Qe(n)&&!Je(n))return!1}return!0}var Bt=ke(de),Ft=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&_t(e),this.componentId=t,this.baseHash=Se(Bt,t),this.baseStyle=n,xt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Xe(r,this.staticRulesId);else{var i=$e(Ut(this.rules,e,t,n)),o=Ee(Se(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=Xe(r,o),this.staticRulesId=o}else{for(var s=Se(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var d=$e(Ut(u,e,t,n));s=Se(s,d+c),l+=d}}if(l){var f=Ee(s>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(l,".".concat(f),void 0,this.componentId)),r=Xe(r,f)}}return r},e}(),Gt=a().createContext(void 0),Zt=Gt.Consumer;function Ht(){var e=(0,o.useContext)(Gt);if(!e)throw nt(18);return e}function qt(e){var t=a().useContext(Gt),n=(0,o.useMemo)((function(){return function(e,t){if(!e)throw nt(14);if(Qe(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw nt(8);return t?r(r({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?a().createElement(Gt.Provider,{value:n},e.children):null}var Vt={};function Yt(e,t,n){var i=Je(e),s=e,l=!Le(e),c=t.attrs,u=void 0===c?me:c,d=t.componentId,f=void 0===d?function(e,t){var n="string"!=typeof e?"sc":we(e);Vt[n]=(Vt[n]||0)+1;var r="".concat(n,"-").concat(je(de+n+Vt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,p=t.displayName,h=void 0===p?function(e){return Le(e)?"styled.".concat(e):"Styled(".concat(De(e),")")}(e):p,g=t.displayName&&t.componentId?"".concat(we(t.displayName),"-").concat(t.componentId):t.componentId||f,m=i&&s.attrs?s.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(i&&s.shouldForwardProp){var v=s.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var I=new Ft(n,g,i?s.componentStyle:void 0);function x(e,t){return function(e,t,n){var i=e.attrs,s=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,f=a().useContext(Gt),p=jt(),h=e.shouldForwardProp||p.shouldForwardProp,g=ve(t,f,l)||ye,m=function(e,t,n){for(var i,o=r(r({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var s=Qe(i=e[a])?i(o):i;for(var l in s)o[l]="className"===l?Xe(o[l],s[l]):"style"===l?r(r({},o[l]),s[l]):s[l]}return t.className&&(o.className=Xe(o.className,t.className)),o}(i,t,g),y=m.as||d,v={};for(var b in m)void 0===m[b]||"$"===b[0]||"as"===b||"theme"===b&&m.theme===g||("forwardedAs"===b?v.as=m.forwardedAs:h&&!h(b,y)||(v[b]=m[b]));var I=function(e,t){var n=jt();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(s,m),x=Xe(c,u);return I&&(x+=" "+I),m.className&&(x+=" "+m.className),v[Le(y)&&!be.has(y)?"class":"className"]=x,v.ref=n,(0,o.createElement)(y,v)}(w,e,t)}x.displayName=h;var w=a().forwardRef(x);return w.attrs=m,w.componentStyle=I,w.displayName=h,w.shouldForwardProp=y,w.foldedComponentIds=i?Xe(s.foldedComponentIds,s.styledComponentId):"",w.styledComponentId=g,w.target=i?s.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)et(e,i[r],!0);return e}({},s.defaultProps,e):e}}),tt(w,(function(){return".".concat(w.styledComponentId)})),l&&We(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Wt(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}new Set;var Qt=function(e){return Object.assign(e,{isCss:!0})};function Jt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Qe(e)||Ke(e))return Qt(Ut(Wt(me,i([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Ut(r):Qt(Ut(Wt(r,t)))}function Xt(e,t,n){if(void 0===n&&(n=ye),!t)throw nt(1,t);var o=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,Jt.apply(void 0,i([r],o,!1)))};return o.attrs=function(i){return Xt(e,t,r(r({},n),{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},o.withConfig=function(i){return Xt(e,t,r(r({},n),i))},o}var $t=function(e){return Xt(Yt,e)},Kt=$t;be.forEach((function(e){Kt[e]=$t(e)}));var en=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=_t(e),xt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r($e(Ut(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&xt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=Jt.apply(void 0,i([e],t,!1)),s="sc-global-".concat(je(JSON.stringify(o))),l=new en(o,s),c=function(e){var t=jt(),n=a().useContext(Gt),r=a().useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),a().useLayoutEffect((function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return l.removeStyles(r,t.styleSheet)}}),[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,i,o){if(l.isStatic)l.renderStyles(e,ge,n,o);else{var a=r(r({},t),{theme:ve(t,i,c.defaultProps)});l.renderStyles(e,a,n,o)}}return a().memo(c)}function nn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=$e(Jt.apply(void 0,i([e],t,!1))),o=je(r);return new Lt(o,r)}function rn(e){var t=a().forwardRef((function(t,n){var i=ve(t,a().useContext(Gt),e.defaultProps);return a().createElement(e,r({},t,{theme:i,ref:n}))}));return t.displayName="WithTheme(".concat(De(e),")"),We(t,e)}var on=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=ht(),r=$e([n&&'nonce="'.concat(n,'"'),"".concat(le,'="true"'),"".concat(ue,'="').concat(de,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw nt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw nt(2);var n=e.instance.toString();if(!n)return[];var i=((t={})[le]="",t[ue]=de,t.dangerouslySetInnerHTML={__html:n},t),o=ht();return o&&(i.nonce=o),[a().createElement("style",r({},i,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new xt({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw nt(2);return a().createElement(Dt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw nt(3)},e}(),an={StyleSheet:xt,mainSheet:Et};"__sc-".concat(le,"__")},679:(e,t,n)=>{"use strict";n.r(t),n.d(t,{focusable:()=>x,getTabIndex:()=>f,isFocusable:()=>M,isTabbable:()=>w,tabbable:()=>I});var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],i=r.join(","),o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(t,n){var r;void 0===n&&(n=!0);var i=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===i||"true"===i||n&&t&&e(t.parentNode)},c=function(e,t,n){if(l(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&a.call(e,i)&&r.unshift(e),r.filter(n)},u=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var c=s.shift();if(!l(c,!1))if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:c,candidates:d})}else{a.call(c,i)&&r.filter(c)&&(n||!t.includes(c))&&o.push(c);var f=c.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(c),p=!l(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(c));if(f&&p){var h=e(!0===f?c.children:f.children,!0,r);r.flatten?o.push.apply(o,h):o.push({scopeParent:c,candidates:h})}else s.unshift.apply(s,c.children)}}return o},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!d(e)?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},g=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},m=function(e,t){return!(t.disabled||l(t)||function(e){return h(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return g(e)}else{if("function"==typeof r){for(var o=e;e;){var l=e.parentElement,c=s(e);if(l&&!l.shadowRoot&&!0===r(l))return g(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=o}if(function(e){var t,n,r,i,o=e&&s(e),a=null===(t=o)||void 0===t?void 0:t.host,l=!1;if(o&&o!==e)for(l=!!(null!==(n=a)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(a)||null!=e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!l&&a;){var c,u,d;l=!(null===(u=a=null===(c=o=s(a))||void 0===c?void 0:c.host)||void 0===u||null===(d=u.ownerDocument)||void 0===d||!d.contains(a))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},y=function(e,t){return!(function(e){return function(e){return h(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||s(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)}(t)||f(t)<0||!m(e,t))},v=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},b=function e(t){var n=[],r=[];return t.forEach((function(t,i){var o=!!t.scopeParent,a=o?t.scopeParent:t,s=function(e,t){var n=f(e);return n<0&&t&&!d(e)?0:n}(a,o),l=o?e(t.candidates):a;0===s?o?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(p).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},I=function(e,t){var n;return n=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:y.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):c(e,t.includeContainer,y.bind(null,t)),b(n)},x=function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:m.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,m.bind(null,t))},w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,i)&&y(t,e)},T=r.concat("iframe").join(","),M=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,T)&&m(t,e)}},758:function(e,t){!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 o(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 a(e){return"string"==typeof e||"symbol"==typeof e}function s(e){return!a(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,o,a){return t(e)&&n(1),s(e)&&i(1),{type:e,payload:r,meta:o,error:a}}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),o=function(n,o){var s=Array.isArray(n)?n:[n],l={};return s.map((function(e,t){return r(e)?p(e):a(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]=o})),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:o,handleType:o})},e.deprecated=g,e.getType=p,e.isActionOf=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(o);var a=function(e){return i.some((function(t){return e.type===t.getType()}))};return void 0===r?a:a(r)},e.isOfType=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(c);var o=function(e){return i.includes(e.type)};return void 0===r?o:o(r)}}(t)},5969:(e,t,n)=>{"use strict";var r=n(5442),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useSyncExternalStore,a=r.useRef,s=r.useEffect,l=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l((function(){function e(e){if(!s){if(s=!0,o=e,e=r(e),void 0!==u&&f.hasValue){var t=f.value;if(u(t,e))return a=t}return a=e}if(t=a,i(o,e))return t;var n=r(e);return void 0!==u&&u(t,n)?t:(o=e,a=n)}var o,a,s=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,r,u]);var p=o(e,d[0],d[1]);return s((function(){f.hasValue=!0,f.value=p}),[p]),c(p),p}},5919:(e,t,n)=>{"use strict";e.exports=n(5969)},9002:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},5442:t=>{"use strict";t.exports=e},6003:e=>{"use strict";e.exports=t},3215:()=>{},8892:()=>{},5324:()=>{},8645:()=>{},588:()=>{},1198:(e,t)=>{var n;!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)i(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty,r=/\s+/;function i(e,i){if(i){var o=typeof i;"string"===o?function(e,t){for(var n=t.split(r),i=n.length,o=0;o<i;++o)e[n[o]]=!0}(e,i):Array.isArray(i)?t(e,i):"object"===o?function(e,t){if(t.toString===Object.prototype.toString||t.toString.toString().includes("[native code]"))for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,i):"number"===o&&function(e,t){e[t]=!0}(e,i)}}return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=new e;t(o,r);var a=[];for(var s in o)o[s]&&a.push(s);return a.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},945:e=>{e.exports={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r}}}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e].call(n.exports,n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);a.r(i);var o={};n=n||[null,r({}),r([]),r(r)];for(var s=2&t&&e;"object"==typeof s&&!~n.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach((t=>o[t]=()=>e[t]));return o.default=()=>e,a.d(i,o),i},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nc=void 0;var s={};return(()=>{"use strict";a.r(s),a.d(s,{Attachments:()=>Cd,Exam:()=>ky,GradingAnswer:()=>pb,GradingInstructions:()=>qy,Results:()=>Dv,parseExam:()=>ob});var e=a(5442),t=a.n(e);a(9002),Object.create(null);const n={},r=(...e)=>{c(e[0])&&n[e[0]]||(c(e[0])&&(n[e[0]]=new Date),((...e)=>{console?.warn&&(c(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))})(...e))},i=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout((()=>{e.off("initialized",n)}),0),t()};e.on("initialized",n)}},o=(e,t,n)=>{e.loadNamespaces(t,i(e,n))},l=(e,t,n,r)=>{c(n)&&(n=[n]),n.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,i(e,r))},c=e=>"string"==typeof e,u=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,d={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},f=e=>d[e];let p={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(u,f)};const h=(0,e.createContext)();class g{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]??=!0}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const m=(e,t,n,r)=>e.getFixedT(t,n,r),y=(t,n={})=>{const{i18n:i}=n,{i18n:a,defaultNS:s}=(0,e.useContext)(h)||{},u=i||a||undefined;if(u&&!u.reportNamespaces&&(u.reportNamespaces=new g),!u){r("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>{return c(t)?t:"object"==typeof(n=t)&&null!==n&&c(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e;var n},t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}u.options.react?.wait&&r("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const d={...p,...u.options.react,...n},{useSuspense:f,keyPrefix:y}=d;let v=t||s||u.options?.defaultNS;v=c(v)?[v]:v||["translation"],u.reportNamespaces.addUsedNamespaces?.(v);const b=(u.isInitialized||u.initializedStoreOnce)&&v.every((e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n?.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(r("i18n.languages were undefined or empty",t.languages),!0))(e,u,d))),I=((t,n,r,i)=>(0,e.useCallback)(m(t,n,r,i),[t,n,r,i]))(u,n.lng||null,"fallback"===d.nsMode?v:v[0],y),x=()=>I,w=()=>m(u,n.lng||null,"fallback"===d.nsMode?v:v[0],y),[T,M]=(0,e.useState)(x);let A=v.join();n.lng&&(A=`${n.lng}${A}`);const E=((t,n)=>{const r=(0,e.useRef)();return(0,e.useEffect)((()=>{r.current=t}),[t,n]),r.current})(A),C=(0,e.useRef)(!0);(0,e.useEffect)((()=>{const{bindI18n:e,bindI18nStore:t}=d;C.current=!0,b||f||(n.lng?l(u,n.lng,v,(()=>{C.current&&M(w)})):o(u,v,(()=>{C.current&&M(w)}))),b&&E&&E!==A&&C.current&&M(w);const r=()=>{C.current&&M(w)};return e&&u?.on(e,r),t&&u?.store.on(t,r),()=>{C.current=!1,u&&e?.split(" ").forEach((e=>u.off(e,r))),t&&u&&t.split(" ").forEach((e=>u.store.off(e,r)))}}),[u,A]),(0,e.useEffect)((()=>{C.current&&b&&M(x)}),[u,y,b]);const N=[T,u,b];if(N.t=T,N.i18n=u,N.ready=b,b)return N;if(!b&&!f)return N;throw new Promise((e=>{n.lng?l(u,n.lng,v,(()=>e())):o(u,v,(()=>e()))}))};function v({i18n:t,defaultNS:n,children:r}){const i=(0,e.useMemo)((()=>({i18n:t,defaultNS:n})),[t,n]);return(0,e.createElement)(h.Provider,{value:i},r)}const b=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},I=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[x?a:++r];if(!1===t(i[s],s,i))break}return e};var x;const w=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},T="object"==typeof global&&global&&global.Object===Object&&global;var M="object"==typeof self&&self&&self.Object===Object&&self;const A=T||M||Function("return this")(),E=A.Symbol;var C=Object.prototype,N=C.hasOwnProperty,S=C.toString,k=E?E.toStringTag:void 0;var j=Object.prototype.toString;var D=E?E.toStringTag:void 0;const L=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":D&&D in Object(e)?function(e){var t=N.call(e,k),n=e[k];try{e[k]=void 0;var r=!0}catch(e){}var i=S.call(e);return r&&(t?e[k]=n:delete e[k]),i}(e):function(e){return j.call(e)}(e)},O=function(e){return null!=e&&"object"==typeof e},R=function(e){return O(e)&&"[object Arguments]"==L(e)};var P=Object.prototype,z=P.hasOwnProperty,U=P.propertyIsEnumerable;const _=R(function(){return arguments}())?R:function(e){return O(e)&&z.call(e,"callee")&&!U.call(e,"callee")},B=Array.isArray;var F="object"==typeof exports&&exports&&!exports.nodeType&&exports,G=F&&"object"==typeof module&&module&&!module.nodeType&&module,Z=G&&G.exports===F?A.Buffer:void 0;const H=(Z?Z.isBuffer:void 0)||function(){return!1};var q=/^(?:0|[1-9]\d*)$/;const V=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&q.test(e))&&e>-1&&e%1==0&&e<t},Y=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var W={};W["[object Float32Array]"]=W["[object Float64Array]"]=W["[object Int8Array]"]=W["[object Int16Array]"]=W["[object Int32Array]"]=W["[object Uint8Array]"]=W["[object Uint8ClampedArray]"]=W["[object Uint16Array]"]=W["[object Uint32Array]"]=!0,W["[object Arguments]"]=W["[object Array]"]=W["[object ArrayBuffer]"]=W["[object Boolean]"]=W["[object DataView]"]=W["[object Date]"]=W["[object Error]"]=W["[object Function]"]=W["[object Map]"]=W["[object Number]"]=W["[object Object]"]=W["[object RegExp]"]=W["[object Set]"]=W["[object String]"]=W["[object WeakMap]"]=!1;const Q=function(e){return function(t){return e(t)}};var J="object"==typeof exports&&exports&&!exports.nodeType&&exports,X=J&&"object"==typeof module&&module&&!module.nodeType&&module,$=X&&X.exports===J&&T.process;const K=function(){try{return X&&X.require&&X.require("util").types||$&&$.binding&&$.binding("util")}catch(e){}}();var ee=K&&K.isTypedArray;const te=ee?Q(ee):function(e){return O(e)&&Y(e.length)&&!!W[L(e)]};var ne=Object.prototype.hasOwnProperty;const re=function(e,t){var n=B(e),r=!n&&_(e),i=!n&&!r&&H(e),o=!n&&!r&&!i&&te(e),a=n||r||i||o,s=a?w(e.length,String):[],l=s.length;for(var c in e)!t&&!ne.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||V(c,l))||s.push(c);return s};var ie=Object.prototype;const oe=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ie)},ae=function(e,t){return function(n){return e(t(n))}},se=ae(Object.keys,Object);var le=Object.prototype.hasOwnProperty;const ce=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ue=function(e){if(!ce(e))return!1;var t=L(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},de=function(e){return null!=e&&Y(e.length)&&!ue(e)},fe=function(e){return de(e)?re(e):function(e){if(!oe(e))return se(e);var t=[];for(var n in Object(e))le.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},pe=function(e,t){return e&&I(e,t,fe)},he=function(e,t){return function(n,r){if(null==n)return n;if(!de(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}(pe),ge=function(e){return e},me=function(e){return"function"==typeof e?e:ge},ye=function(e,t){return(B(e)?b:he)(e,me(t))},ve=(0,e.createContext)({}),be=" ";function Ie(e,t){const n=null!=t?xe(t):void 0,r=[];for(;null!=e.parentElement;)e=e.parentElement,(null==n||n(e))&&r.push(e);return r}function xe(e){return"function"==typeof e?t=>t.namespaceURI===Ts&&e(t):Array.isArray(e)?t=>t.namespaceURI===Ts&&e.includes(t.localName):t=>t.namespaceURI===Ts&&t.localName===e}function we(e,t){const n=xe(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 o=e(i);if(null!=o)return o}}(e)}function Te(e,t,n=!0){const r=xe(t),i=[];return function e(t){for(let o=0,a=t.children.length;o<a;o++){const a=t.children[o];r(a)?(i.push(a),n&&e(a)):e(a)}}(e),i}function Me(e,t){const n=xe(t);for(;null!=e.parentElement;)if(n(e=e.parentElement))return e}function Ae(e,t){const n=xe(t);for(let t=0,r=e.children.length;t<r;t++){const r=e.children[t];if(n(r))return r}}function Ee(e,t){var n;return null!==(n=e.getAttribute(t))&&void 0!==n?n:void 0}function Ce(e,t){const n=e.getAttribute(t);return null!=n?Number(n):void 0}function Ne(e,t){return"true"===Ee(e,t)}function Se(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 ke(e){return Te(e,["choice-answer","dropdown-answer","text-answer","scored-text-answer"],!0)}function je(e){const t=Me(e,"question"),n=null==t?void 0:t.querySelectorAll("[question-id]");return n&&(null==n?void 0:n.length)>1}function De(e,t,...n){const r=document.createElement(e);return function(e,t){ye(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}function Le(t,n){const{visibleTOCElements:r}=(0,e.useContext)(ve),[i,o]=(0,e.useState)(!1),a=`${t}-${n}`;return(0,e.useEffect)((()=>{(null==r?void 0:r.includes(a))&&!i?o(!0):!(null==r?void 0:r.includes(a))&&i&&o(!1)}),[r]),i}function Oe(e){var t,n,r;const i=!e.tagName&&Array.from((null===(t=e.parentNode)||void 0===t?void 0:t.childNodes)||[]).indexOf(e),o=Array.from((null===(n=e.parentElement)||void 0===n?void 0:n.children)||[]).indexOf(e);let a=`${e.nodeName}:${o>0?o:i}`,s=e;for(;s.parentElement;){s=s.parentElement;const e=s.getAttribute("display-number"),t=Number(e)?e:Array.from((null===(r=s.parentElement)||void 0===r?void 0:r.children)||[s]).indexOf(s);a=`${s.getAttribute("id")||s.nodeName}:${t} > ${a}`}return a}const Re=A["__core-js_shared__"];var Pe,ze=(Pe=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+Pe:"";var Ue=Function.prototype.toString;const _e=function(e){if(null!=e){try{return Ue.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var Be=/^\[object .+?Constructor\]$/,Fe=Function.prototype,Ge=Object.prototype,Ze=Fe.toString,He=Ge.hasOwnProperty,qe=RegExp("^"+Ze.call(He).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Ve=function(e){return!(!ce(e)||(t=e,ze&&ze in t))&&(ue(e)?qe:Be).test(_e(e));var t},Ye=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ve(n)?n:void 0},We=function(){try{var e=Ye(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Qe=function(e,t,n){"__proto__"==t&&We?We(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Je=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r},Xe=function(e,t,n,r){return he(e,(function(e,i,o){t(r,e,n(e),o)})),r},$e=function(e,t){return e===t||e!=e&&t!=t},Ke=function(e,t){for(var n=e.length;n--;)if($e(e[n][0],t))return n;return-1};var et=Array.prototype.splice;function tt(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])}}tt.prototype.clear=function(){this.__data__=[],this.size=0},tt.prototype.delete=function(e){var t=this.__data__,n=Ke(t,e);return!(n<0||(n==t.length-1?t.pop():et.call(t,n,1),--this.size,0))},tt.prototype.get=function(e){var t=this.__data__,n=Ke(t,e);return n<0?void 0:t[n][1]},tt.prototype.has=function(e){return Ke(this.__data__,e)>-1},tt.prototype.set=function(e,t){var n=this.__data__,r=Ke(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const nt=tt,rt=Ye(A,"Map"),it=Ye(Object,"create");var ot=Object.prototype.hasOwnProperty;var at=Object.prototype.hasOwnProperty;function st(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])}}st.prototype.clear=function(){this.__data__=it?it(null):{},this.size=0},st.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},st.prototype.get=function(e){var t=this.__data__;if(it){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return ot.call(t,e)?t[e]:void 0},st.prototype.has=function(e){var t=this.__data__;return it?void 0!==t[e]:at.call(t,e)},st.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=it&&void 0===t?"__lodash_hash_undefined__":t,this};const lt=st,ct=function(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map};function ut(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])}}ut.prototype.clear=function(){this.size=0,this.__data__={hash:new lt,map:new(rt||nt),string:new lt}},ut.prototype.delete=function(e){var t=ct(this,e).delete(e);return this.size-=t?1:0,t},ut.prototype.get=function(e){return ct(this,e).get(e)},ut.prototype.has=function(e){return ct(this,e).has(e)},ut.prototype.set=function(e,t){var n=ct(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const dt=ut;function ft(e){var t=this.__data__=new nt(e);this.size=t.size}ft.prototype.clear=function(){this.__data__=new nt,this.size=0},ft.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ft.prototype.get=function(e){return this.__data__.get(e)},ft.prototype.has=function(e){return this.__data__.has(e)},ft.prototype.set=function(e,t){var n=this.__data__;if(n instanceof nt){var r=n.__data__;if(!rt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new dt(r)}return n.set(e,t),this.size=n.size,this};const pt=ft;function ht(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new dt;++t<n;)this.add(e[t])}ht.prototype.add=ht.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ht.prototype.has=function(e){return this.__data__.has(e)};const gt=ht,mt=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},yt=function(e,t){return e.has(t)},vt=function(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=2&n?new gt:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var h=e[d],g=t[d];if(r)var m=a?r(g,h,d,t,e,o):r(h,g,d,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(p){if(!mt(t,(function(e,t){if(!yt(p,t)&&(h===e||i(h,e,n,r,o)))return p.push(t)}))){f=!1;break}}else if(h!==g&&!i(h,g,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f},bt=A.Uint8Array,It=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},xt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var wt=E?E.prototype:void 0,Tt=wt?wt.valueOf:void 0;const Mt=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},At=function(e,t,n){var r=t(e);return B(e)?r:Mt(r,n(e))},Et=function(){return[]};var Ct=Object.prototype.propertyIsEnumerable,Nt=Object.getOwnPropertySymbols,St=Nt?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(Nt(e),(function(t){return Ct.call(e,t)})))}:Et;const kt=St,jt=function(e){return At(e,fe,kt)};var Dt=Object.prototype.hasOwnProperty;const Lt=Ye(A,"DataView"),Ot=Ye(A,"Promise"),Rt=Ye(A,"Set"),Pt=Ye(A,"WeakMap");var zt="[object Map]",Ut="[object Promise]",_t="[object Set]",Bt="[object WeakMap]",Ft="[object DataView]",Gt=_e(Lt),Zt=_e(rt),Ht=_e(Ot),qt=_e(Rt),Vt=_e(Pt),Yt=L;(Lt&&Yt(new Lt(new ArrayBuffer(1)))!=Ft||rt&&Yt(new rt)!=zt||Ot&&Yt(Ot.resolve())!=Ut||Rt&&Yt(new Rt)!=_t||Pt&&Yt(new Pt)!=Bt)&&(Yt=function(e){var t=L(e),n="[object Object]"==t?e.constructor:void 0,r=n?_e(n):"";if(r)switch(r){case Gt:return Ft;case Zt:return zt;case Ht:return Ut;case qt:return _t;case Vt:return Bt}return t});const Wt=Yt;var Qt="[object Arguments]",Jt="[object Array]",Xt="[object Object]",$t=Object.prototype.hasOwnProperty;const Kt=function(e,t,n,r,i,o){var a=B(e),s=B(t),l=a?Jt:Wt(e),c=s?Jt:Wt(t),u=(l=l==Qt?Xt:l)==Xt,d=(c=c==Qt?Xt:c)==Xt,f=l==c;if(f&&H(e)){if(!H(t))return!1;a=!0,u=!1}if(f&&!u)return o||(o=new pt),a||te(e)?vt(e,t,n,r,i,o):function(e,t,n,r,i,o,a){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||!o(new bt(e),new bt(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return $e(+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=It;case"[object Set]":var l=1&r;if(s||(s=xt),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=vt(s(e),s(t),r,i,o,a);return a.delete(e),u;case"[object Symbol]":if(Tt)return Tt.call(e)==Tt.call(t)}return!1}(e,t,l,n,r,i,o);if(!(1&n)){var p=u&&$t.call(e,"__wrapped__"),h=d&&$t.call(t,"__wrapped__");if(p||h){var g=p?e.value():e,m=h?t.value():t;return o||(o=new pt),i(g,m,n,r,o)}}return!!f&&(o||(o=new pt),function(e,t,n,r,i,o){var a=1&n,s=jt(e),l=s.length;if(l!=jt(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Dt.call(t,u)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var p=!0;o.set(e,t),o.set(t,e);for(var h=a;++c<l;){var g=e[u=s[c]],m=t[u];if(r)var y=a?r(m,g,u,t,e,o):r(g,m,u,e,t,o);if(!(void 0===y?g===m||i(g,m,n,r,o):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 o.delete(e),o.delete(t),p}(e,t,n,r,i,o))},en=function e(t,n,r,i,o){return t===n||(null==t||null==n||!O(t)&&!O(n)?t!=t&&n!=n:Kt(t,n,r,i,e,o))},tn=function(e){return e==e&&!ce(e)},nn=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},rn=function(e){var t=function(e){for(var t=fe(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,tn(i)]}return t}(e);return 1==t.length&&t[0][2]?nn(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=n[i])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new pt;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?en(u,c,3,r,d):f))return!1}}return!0}(n,e,t)}},on=function(e){return"symbol"==typeof e||O(e)&&"[object Symbol]"==L(e)};var an=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,sn=/^\w*$/;const ln=function(e,t){if(B(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!on(e))||sn.test(e)||!an.test(e)||null!=t&&e in Object(t)};function cn(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],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(cn.Cache||dt),n}cn.Cache=dt;var un,dn,fn,pn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hn=/\\(\\)?/g,gn=(un=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(pn,(function(e,n,r,i){t.push(r?i.replace(hn,"$1"):n||e)})),t},dn=cn(un,(function(e){return 500===fn.size&&fn.clear(),e})),fn=dn.cache,dn);const mn=gn,yn=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};var vn=E?E.prototype:void 0,bn=vn?vn.toString:void 0;const In=function e(t){if("string"==typeof t)return t;if(B(t))return yn(t,e)+"";if(on(t))return bn?bn.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},xn=function(e){return null==e?"":In(e)},wn=function(e,t){return B(e)?e:ln(e,t)?[e]:mn(xn(e))},Tn=function(e){if("string"==typeof e||on(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Mn=function(e,t){for(var n=0,r=(t=wn(t,e)).length;null!=e&&n<r;)e=e[Tn(t[n++])];return n&&n==r?e:void 0},An=function(e,t,n){var r=null==e?void 0:Mn(e,t);return void 0===r?n:r},En=function(e,t){return null!=e&&t in Object(e)},Cn=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=wn(t,e)).length,o=!1;++r<i;){var a=Tn(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Y(i)&&V(a,i)&&(B(e)||_(e))}(e,t,En)},Nn=function(e){return ln(e)?function(e){return function(t){return null==t?void 0:t[e]}}(Tn(e)):function(e){return function(t){return Mn(t,e)}}(e)},Sn=function(e){return"function"==typeof e?e:null==e?ge:"object"==typeof e?B(e)?(t=e[0],n=e[1],ln(t)&&tn(n)?nn(Tn(t),n):function(e){var r=An(e,t);return void 0===r&&r===n?Cn(e,t):en(n,r,3)}):rn(e):Nn(e);var t,n},kn=function(e,t){return function(n,r){var i=B(n)?Je:Xe,o=t?t():{};return i(n,e,Sn(r),o)}};var jn=Object.prototype.hasOwnProperty,Dn=kn((function(e,t,n){jn.call(e,n)?e[n].push(t):Qe(e,n,[t])}));const Ln=Dn,On=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 o=Array(i);++r<i;)o[r]=e[r+t];return o},Rn=function(e,t){return e&&e.length?function(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?On(e,r?0:o,r?o+1:i):On(e,r?o+1:0,r?i:o)}(e,Sn(t)):[]},Pn=function(e){return e&&e.length?function(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}(e,ge):0},zn=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Un=function(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(void 0===s?a==a&&!on(a):n(a,s)))var s=a,l=o}return l},_n=function(e,t){return e<t},Bn=function(e,t){return e&&e.length?Un(e,Sn(t),_n):void 0},Fn=function(e,t){return e>t},Gn=function(e,t){return e&&e.length?Un(e,Sn(t),Fn):void 0};var Zn=E?E.isConcatSpreadable:void 0;const Hn=function(e){return B(e)||_(e)||!!(Zn&&e&&e[Zn])},qn=function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=Hn),o||(o=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,i,o):Mt(o,l):i||(o[o.length]=l)}return o},Vn=function(e,t){var n=-1,r=de(e)?Array(e.length):[];return he(e,(function(e,i,o){r[++n]=t(e,i,o)})),r},Yn=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=on(e),a=void 0!==t,s=null===t,l=t==t,c=on(t);if(!s&&!c&&!o&&e>t||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e<t||c&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0},Wn=function(e,t,n){t=t.length?yn(t,(function(e){return B(e)?function(t){return Mn(t,1===e.length?e[0]:e)}:e})):[ge];var r=-1;return t=yn(t,Q(Sn)),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Vn(e,(function(e,n,i){return{criteria:yn(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Yn(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))};var Qn=Math.max;const Jn=function(e,t,n){return t=Qn(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Qn(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),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)}(e,this,s)}},Xn=We?function(e,t){return We(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:ge;var $n=Date.now;const Kn=function(e){var t=0,n=0;return function(){var r=$n(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Xn),er=function(e,t,n){if(!ce(n))return!1;var r=typeof t;return!!("number"==r?de(n)&&V(t,n.length):"string"==r&&t in n)&&$e(n[t],e)},tr=function(e,t){return Kn(Jn(e,void 0,ge),e+"")}((function(e,t){if(null==e)return[];var n=t.length;return n>1&&er(e,t[0],t[1])?t=[]:n>2&&er(t[0],t[1],t[2])&&(t=[t[0]]),Wn(e,qn(t,1),[])}));var nr=kn((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));const rr=nr;var ir=/\s/;const or=function(e){for(var t=e.length;t--&&ir.test(e.charAt(t)););return t};var ar=/^\s+/;var sr=/^[-+]0x[0-9a-f]+$/i,lr=/^0b[01]+$/i,cr=/^0o[0-7]+$/i,ur=parseInt;const dr=function(e){if("number"==typeof e)return e;if(on(e))return NaN;if(ce(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ce(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;var n;e=(n=e)?n.slice(0,or(n)+1).replace(ar,""):n;var r=lr.test(e);return r||cr.test(e)?ur(e.slice(2),r?2:8):sr.test(e)?NaN:+e},fr=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=dr(n))==n?n:0),void 0!==t&&(t=(t=dr(t))==t?t:0),function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}(dr(e),t,n)};function pr(e,t){if(function(e){var t;const n=e.cloneContents(),r=Array.from(n.childNodes).some((e=>e instanceof Element&&(e.classList.contains("e-annotation-wrapper")||"IMG"===e.tagName)));return 0===(null===(t=n.textContent)||void 0===t?void 0:t.length)&&!r}(t))return;const n=function(e,t=document){let n=null;const r=[],i=t.createTreeWalker(e,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null);for(;n=i.nextNode();)r.push(n);return r}(e),r=o(t.startContainer,t.startOffset,e),i=o(t.endContainer,t.endOffset,e)-r;if(!(i<=0))return{startIndex:r,length:i};function o(e,t,r){const i=e===r,o=i?e.childNodes[t]:e,a=i?0:t,s=Rn(n,(e=>e!==o));return a+Pn(s.map(gr))}}function hr(e,t,n){return function(e,t,n){const r=br(e,{startIndex:t,length:n,message:""});return zn(r.overlapping.map((e=>e.message))).reduceRight(((e,t)=>`${t} / ${e}`),"")}(e.filter((e=>"text"===e.type)),t,n)}function gr(e){var t;return e.nodeType===Node.TEXT_NODE?null===(t=e.textContent)||void 0===t?void 0:t.length:"IMG"===e.nodeName?1:0}function mr(e,t,n,r){const i=n.style;if(t){i.display="block";const o=t.getBoundingClientRect(),a=n.getBoundingClientRect(),s=e.left-o.left,l=e.bottom-o.top+r;i.top=`${String(l)}px`,i.left=`${String(s+a.width<o.width-30?s+20:o.width-a.width-20)}px`}}function yr(){const e=window.getSelection();return null!==e&&function(e){var t,n,r;if("None"===e.type||"Caret"===e.type||0===e.rangeCount)return!1;const i=e.getRangeAt(0).startContainer,o=e.getRangeAt(0).endContainer;return e.rangeCount>0&&null!==(null===(t=i.parentElement)||void 0===t?void 0:t.closest(".e-grading-answer"))&&null!==(null===(n=o.parentElement)||void 0===n?void 0:n.closest(".e-grading-answer"))&&null===(null===(r=i.parentElement)||void 0===r?void 0:r.closest(".remove-annotation-popup"))}(e)&&("Range"===(null==(t=e)?void 0:t.type)||function(e){const t=e.getRangeAt(0);return!!e.rangeCount&&(t.toString().length>0||n(t.startContainer)||n(t.endContainer))}(e));var t;function n(e){return e.classList.contains("answer")}}function vr(e,t,n){const r=br(n,t);if(r.overlapping.length>0){r.overlapping.push(t);const e=Bn(r.overlapping,(e=>e.startIndex)),n=Gn(r.overlapping,(e=>e.startIndex+e.length)),i={startIndex:e.startIndex,length:n.startIndex+n.length-e.startIndex,message:t.message};r.nonOverlapping.push(i)}else r.nonOverlapping.push(t);return tr(r.nonOverlapping,(t=>{return"line"===t.type||"rect"===t.type?function(e,t){var n;const r=document.createRange();return r.selectNode(e),null===(n=pr(t,r))||void 0===n?void 0:n.startIndex}((n=e,r=t.attachmentIndex,n.querySelectorAll("img").item(r)),e):t.startIndex;var n,r}),(e=>"rect"===e.type?e.y:"line"===e.type?e.y1:void 0),(e=>"rect"===e.type?e.x:"line"===e.type?e.x1:void 0))}function br(e,t){const n=rr(e,(e=>{const n=t.startIndex+t.length,r=e.startIndex+e.length;return t.startIndex>=e.startIndex&&t.startIndex<=r||n>=e.startIndex&&n<=r||t.startIndex<=e.startIndex&&n>=r}));return{overlapping:n[0],nonOverlapping:n[1]}}function Ir(e){return fr(e,0,1)}function xr(e){e.preventDefault(),e.stopPropagation()}function wr(e,t){e.style.display=t?"initial":"none"}function Tr(){return matchMedia("(pointer:fine)").matches}const Mr=e=>{var t;return null===(t=null==e?void 0:e.closest("div[data-annotation-anchor]"))||void 0===t?void 0:t.getAttribute("data-annotation-anchor")},Ar=e=>(null==e?void 0:e.getAttribute("data-annotation-path"))&&"MARK"!==e.tagName;var Er=a(8115),Cr=a.n(Er),Nr=a(3373),Sr=a.n(Nr);const kr=()=>{};let jr={},Dr={},Lr=null,Or={mark:kr,measure:kr};try{"undefined"!=typeof window&&(jr=window),"undefined"!=typeof document&&(Dr=document),"undefined"!=typeof MutationObserver&&(Lr=MutationObserver),"undefined"!=typeof performance&&(Or=performance)}catch(xg){}const{userAgent:Rr=""}=jr.navigator||{},Pr=jr,zr=Dr,Ur=Lr,_r=Or,Br=(Pr.document,!!zr.documentElement&&!!zr.head&&"function"==typeof zr.addEventListener&&"function"==typeof zr.createElement),Fr=~Rr.indexOf("MSIE")||~Rr.indexOf("Trident/");var Gr="classic",Zr="duotone",Hr="sharp",qr="sharp-duotone",Vr=[Gr,Zr,Hr,qr],Yr={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},Wr=[1,2,3,4,5,6,7,8,9,10],Qr=Wr.concat([11,12,13,14,15,16,17,18,19,20]),Jr={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Xr=[...Object.keys({classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]}),"solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Jr.GROUP,Jr.SWAP_OPACITY,Jr.PRIMARY,Jr.SECONDARY].concat(Wr.map((e=>"".concat(e,"x")))).concat(Qr.map((e=>"w-".concat(e))));const $r="___FONT_AWESOME___",Kr=16,ei="fa",ti="svg-inline--fa",ni="data-fa-i2svg",ri="data-fa-pseudo-element",ii="data-fa-pseudo-element-pending",oi="data-prefix",ai="data-icon",si="fontawesome-i2svg",li="async",ci=["HTML","HEAD","STYLE","SCRIPT"],ui=(()=>{try{return!0}catch(e){return!1}})(),di=[Gr,Hr,qr];function fi(e){return new Proxy(e,{get:(e,t)=>t in e?e[t]:e[Gr]})}const pi={...Yr};pi[Gr]={...Yr[Gr],fak:"kit","fa-kit":"kit",fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};const hi=fi(pi),gi={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}};gi[Gr]={...gi[Gr],kit:"fak","kit-duotone":"fakd"};const mi=fi(gi),yi={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}};yi[Gr]={...yi[Gr],fak:"fa-kit"};const vi=fi(yi),bi={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}};bi[Gr]={...bi[Gr],"fa-kit":"fak"};const Ii=fi(bi),xi=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,wi="fa-layers-text",Ti=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Mi=(fi({classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}}),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),Ai=Jr,Ei=new Set;Object.keys(mi[Gr]).map(Ei.add.bind(Ei)),Object.keys(mi[Hr]).map(Ei.add.bind(Ei)),Object.keys(mi[qr]).map(Ei.add.bind(Ei));const Ci=["kit",...Xr],Ni=Pr.FontAwesomeConfig||{};zr&&"function"==typeof zr.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["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((e=>{let[t,n]=e;const r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=zr.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t));null!=r&&(Ni[n]=r)}));const Si={styleDefault:"solid",familyDefault:"classic",cssPrefix:ei,replacementClass:ti,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ni.familyPrefix&&(Ni.cssPrefix=Ni.familyPrefix);const ki={...Si,...Ni};ki.autoReplaceSvg||(ki.observeMutations=!1);const ji={};Object.keys(Si).forEach((e=>{Object.defineProperty(ji,e,{enumerable:!0,set:function(t){ki[e]=t,Di.forEach((e=>e(ji)))},get:function(){return ki[e]}})})),Object.defineProperty(ji,"familyPrefix",{enumerable:!0,set:function(e){ki.cssPrefix=e,Di.forEach((e=>e(ji)))},get:function(){return ki.cssPrefix}}),Pr.FontAwesomeConfig=ji;const Di=[],Li=Kr,Oi={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Ri="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Pi(){let e=12,t="";for(;e-- >0;)t+=Ri[62*Math.random()|0];return t}function zi(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Ui(e){return e.classList?zi(e.classList):(e.getAttribute("class")||"").split(" ").filter((e=>e))}function _i(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Bi(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";")),"")}function Fi(e){return e.size!==Oi.size||e.x!==Oi.x||e.y!==Oi.y||e.rotate!==Oi.rotate||e.flipX||e.flipY}var Gi=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-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-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\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 transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\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-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\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: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\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 z-index: var(--fa-stack-z-index, auto);\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: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\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.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Zi(){const e=ei,t=ti,n=ji.cssPrefix,r=ji.replacementClass;let i=Gi;if(n!==e||r!==t){const o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}let Hi=!1;function qi(){ji.autoAddCss&&!Hi&&(function(e){if(!e||!Br)return;const t=zr.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=zr.head.childNodes;let r=null;for(let e=n.length-1;e>-1;e--){const t=n[e],i=(t.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=t)}zr.head.insertBefore(t,r)}(Zi()),Hi=!0)}var Vi={mixout:()=>({dom:{css:Zi,insertCss:qi}}),hooks:()=>({beforeDOMElementCreation(){qi()},beforeI2svg(){qi()}})};const Yi=Pr||{};Yi[$r]||(Yi[$r]={}),Yi[$r].styles||(Yi[$r].styles={}),Yi[$r].hooks||(Yi[$r].hooks={}),Yi[$r].shims||(Yi[$r].shims=[]);var Wi=Yi[$r];const Qi=[],Ji=function(){zr.removeEventListener("DOMContentLoaded",Ji),Xi=1,Qi.map((e=>e()))};let Xi=!1;function $i(e){const{tag:t,attributes:n={},children:r=[]}=e;return"string"==typeof e?_i(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,'="').concat(_i(e[n]),'" ')),"").trim()}(n),">").concat(r.map($i).join(""),"</").concat(t,">")}function Ki(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Br&&(Xi=(zr.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(zr.readyState),Xi||zr.addEventListener("DOMContentLoaded",Ji));var eo=function(e,t,n,r){var i,o,a,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<l;i++)a=c(a,e[o=s[i]],o,e);return a};function to(e){const t=function(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function no(e){return Object.keys(e).reduce(((t,n)=>{const r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function ro(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:r=!1}=n,i=no(t);"function"!=typeof Wi.hooks.addPack||r?Wi.styles[e]={...Wi.styles[e]||{},...i}:Wi.hooks.addPack(e,no(t)),"fas"===e&&ro("fa",t)}const{styles:io,shims:oo}=Wi,ao={[Gr]:Object.values(vi[Gr]),[Hr]:Object.values(vi[Hr]),[qr]:Object.values(vi[qr])};let so=null,lo={},co={},uo={},fo={},po={};const ho={[Gr]:Object.keys(hi[Gr]),[Hr]:Object.keys(hi[Hr]),[qr]:Object.keys(hi[qr])};const go=()=>{const e=e=>eo(io,((t,n,r)=>(t[r]=eo(n,e,{}),t)),{});lo=e(((e,t,n)=>(t[3]&&(e[t[3]]=n),t[2]&&t[2].filter((e=>"number"==typeof e)).forEach((t=>{e[t.toString(16)]=n})),e))),co=e(((e,t,n)=>(e[n]=n,t[2]&&t[2].filter((e=>"string"==typeof e)).forEach((t=>{e[t]=n})),e))),po=e(((e,t,n)=>{const r=t[2];return e[n]=n,r.forEach((t=>{e[t]=n})),e}));const t="far"in io||ji.autoFetchSvg,n=eo(oo,((e,n)=>{const r=n[0];let i=n[1];const o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});uo=n.names,fo=n.unicodes,so=wo(ji.styleDefault,{family:ji.familyDefault})};var mo;function yo(e,t){return(lo[e]||{})[t]}function vo(e,t){return(po[e]||{})[t]}function bo(e){return uo[e]||{prefix:null,iconName:null}}function Io(){return so}mo=e=>{so=wo(e.styleDefault,{family:ji.familyDefault})},Di.push(mo),go();const xo=()=>({prefix:null,iconName:null,rest:[]});function wo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:n=Gr}=t,r=hi[n][e],i=mi[n][e]||mi[n][r],o=e in Wi.styles?e:null;return i||o||null}const To={[Gr]:Object.keys(vi[Gr]),[Hr]:Object.keys(vi[Hr]),[qr]:Object.keys(vi[qr])};function Mo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:n=!1}=t,r={[Gr]:"".concat(ji.cssPrefix,"-").concat(Gr),[Hr]:"".concat(ji.cssPrefix,"-").concat(Hr),[qr]:"".concat(ji.cssPrefix,"-").concat(qr)};let i=null,o=Gr;const a=Vr.filter((e=>e!==Zr));a.forEach((t=>{(e.includes(r[t])||e.some((e=>To[t].includes(e))))&&(o=t)}));const s=e.reduce(((e,t)=>{const s=function(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r!==e||""===i||(o=i,~Ci.indexOf(o))?null:i;var o}(ji.cssPrefix,t);if(io[t]?(t=ao[o].includes(t)?Ii[o][t]:t,i=t,e.prefix=t):ho[o].indexOf(t)>-1?(i=t,e.prefix=wo(t,{family:o})):s?e.iconName=s:t===ji.replacementClass||a.some((e=>t===r[e]))||e.rest.push(t),!n&&e.prefix&&e.iconName){const t="fa"===i?bo(e.iconName):{},n=vo(e.prefix,e.iconName);t.prefix&&(i=null),e.iconName=t.iconName||n||e.iconName,e.prefix=t.prefix||e.prefix,"far"!==e.prefix||io.far||!io.fas||ji.autoFetchSvg||(e.prefix="fas")}return e}),xo());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),s.prefix||o!==Hr||!io.fass&&!ji.autoFetchSvg||(s.prefix="fass",s.iconName=vo(s.prefix,s.iconName)||s.iconName),s.prefix||o!==qr||!io.fasds&&!ji.autoFetchSvg||(s.prefix="fasds",s.iconName=vo(s.prefix,s.iconName)||s.iconName),"fa"!==s.prefix&&"fa"!==i||(s.prefix=Io()||"fas"),s}let Ao=[],Eo={};const Co={},No=Object.keys(Co);function So(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(Eo[e]||[]).forEach((e=>{t=e.apply(null,[t,...r])})),t}function ko(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Eo[e]||[]).forEach((e=>{e.apply(null,n)}))}function jo(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Co[e]?Co[e].apply(null,t):void 0}function Do(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||Io();if(t)return t=vo(n,t)||t,Ki(Lo.definitions,n,t)||Ki(Wi.styles,n,t)}const Lo=new class{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(this._pullDefinitions,{});Object.keys(r).forEach((e=>{this.definitions[e]={...this.definitions[e]||{},...r[e]},ro(e,r[e]);const t=vi[Gr][e];t&&ro(t,r[e]),go()}))}reset(){this.definitions={}}_pullDefinitions(e,t){const n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((t=>{const{prefix:r,iconName:i,icon:o}=n[t],a=o[2];e[r]||(e[r]={}),a.length>0&&a.forEach((t=>{"string"==typeof t&&(e[r][t]=o)})),e[r][i]=o})),e}},Oo={i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Br?(ko("beforeI2svg",e),jo("pseudoElements2svg",e),jo("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;var n;!1===ji.autoReplaceSvg&&(ji.autoReplaceSvg=!0),ji.observeMutations=!0,n=()=>{zo({autoReplaceSvgRoot:t}),ko("watch",e)},Br&&(Xi?setTimeout(n,0):Qi.push(n))}},Ro={icon:e=>{if(null===e)return null;if("object"==typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:vo(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){const t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=wo(e[0]);return{prefix:n,iconName:vo(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(ji.cssPrefix,"-"))>-1||e.match(xi))){const t=Mo(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Io(),iconName:vo(t.prefix,t.iconName)||t.iconName}}if("string"==typeof e){const t=Io();return{prefix:t,iconName:vo(t,e)||e}}}},Po={noAuto:()=>{ji.autoReplaceSvg=!1,ji.observeMutations=!1,ko("noAuto")},config:ji,dom:Oo,parse:Ro,library:Lo,findIconDefinition:Do,toHtml:$i},zo=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t=zr}=e;(Object.keys(Wi.styles).length>0||ji.autoFetchSvg)&&Br&&ji.autoReplaceSvg&&Po.dom.i2svg({node:t})};function Uo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((e=>$i(e)))}}),Object.defineProperty(e,"node",{get:function(){if(!Br)return;const t=zr.createElement("div");return t.innerHTML=e.html,t.children}}),e}function _o(e){const{icons:{main:t,mask:n},prefix:r,iconName:i,transform:o,symbol:a,title:s,maskId:l,titleId:c,extra:u,watchable:d=!1}=e,{width:f,height:p}=n.found?n:t,h="fak"===r,g=[ji.replacementClass,i?"".concat(ji.cssPrefix,"-").concat(i):""].filter((e=>-1===u.classes.indexOf(e))).filter((e=>""!==e||!!e)).concat(u.classes).join(" ");let m={children:[],attributes:{...u.attributes,"data-prefix":r,"data-icon":i,class:g,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(f," ").concat(p)}};const y=h&&!~u.classes.indexOf("fa-fw")?{width:"".concat(f/p*16*.0625,"em")}:{};d&&(m.attributes[ni]=""),s&&(m.children.push({tag:"title",attributes:{id:m.attributes["aria-labelledby"]||"title-".concat(c||Pi())},children:[s]}),delete m.attributes.title);const v={...m,prefix:r,iconName:i,main:t,mask:n,maskId:l,transform:o,symbol:a,styles:{...y,...u.styles}},{children:b,attributes:I}=n.found&&t.found?jo("generateAbstractMask",v)||{children:[],attributes:{}}:jo("generateAbstractIcon",v)||{children:[],attributes:{}};return v.children=b,v.attributes=I,a?function(e){let{prefix:t,iconName:n,children:r,attributes:i,symbol:o}=e;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:{...i,id:!0===o?"".concat(t,"-").concat(ji.cssPrefix,"-").concat(n):o},children:r}]}]}(v):function(e){let{children:t,main:n,mask:r,attributes:i,styles:o,transform:a}=e;if(Fi(a)&&n.found&&!r.found){const{width:e,height:t}=n,r={x:e/t/2,y:.5};i.style=Bi({...o,"transform-origin":"".concat(r.x+a.x/16,"em ").concat(r.y+a.y/16,"em")})}return[{tag:"svg",attributes:i,children:t}]}(v)}function Bo(e){const{content:t,width:n,height:r,transform:i,title:o,extra:a,watchable:s=!1}=e,l={...a.attributes,...o?{title:o}:{},class:a.classes.join(" ")};s&&(l[ni]="");const c={...a.styles};Fi(i)&&(c.transform=function(e){let{transform:t,width:n=Kr,height:r=Kr,startCentered:i=!1}=e,o="";return o+=i&&Fr?"translate(".concat(t.x/Li-n/2,"em, ").concat(t.y/Li-r/2,"em) "):i?"translate(calc(-50% + ".concat(t.x/Li,"em), calc(-50% + ").concat(t.y/Li,"em)) "):"translate(".concat(t.x/Li,"em, ").concat(t.y/Li,"em) "),o+="scale(".concat(t.size/Li*(t.flipX?-1:1),", ").concat(t.size/Li*(t.flipY?-1:1),") "),o+="rotate(".concat(t.rotate,"deg) "),o}({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);const u=Bi(c);u.length>0&&(l.style=u);const d=[];return d.push({tag:"span",attributes:l,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}const{styles:Fo}=Wi;function Go(e){const t=e[0],n=e[1],[r]=e.slice(4);let i=null;return i=Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ji.cssPrefix,"-").concat(Ai.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ji.cssPrefix,"-").concat(Ai.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ji.cssPrefix,"-").concat(Ai.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:i}}const Zo={found:!1,width:512,height:512};function Ho(e,t){let n=t;return"fa"===t&&null!==ji.styleDefault&&(t=Io()),new Promise(((r,i)=>{if("fa"===n){const n=bo(e)||{};e=n.iconName||e,t=n.prefix||t}if(e&&t&&Fo[t]&&Fo[t][e])return r(Go(Fo[t][e]));!function(e,t){ui||ji.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r({...Zo,icon:ji.showMissingIcons&&e&&jo("missingIconAbstract")||{}})}))}const qo=()=>{},Vo=ji.measurePerformance&&_r&&_r.mark&&_r.measure?_r:{mark:qo,measure:qo},Yo='FA "6.6.0"',Wo=e=>{Vo.mark("".concat(Yo," ").concat(e," ends")),Vo.measure("".concat(Yo," ").concat(e),"".concat(Yo," ").concat(e," begins"),"".concat(Yo," ").concat(e," ends"))};var Qo={begin:e=>(Vo.mark("".concat(Yo," ").concat(e," begins")),()=>Wo(e)),end:Wo};const Jo=()=>{};function Xo(e){return"string"==typeof(e.getAttribute?e.getAttribute(ni):null)}function $o(e){return zr.createElementNS("http://www.w3.org/2000/svg",e)}function Ko(e){return zr.createElement(e)}function ea(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:n=("svg"===e.tag?$o:Ko)}=t;if("string"==typeof e)return zr.createTextNode(e);const r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(ea(e,{ceFn:n}))})),r}const ta={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach((e=>{t.parentNode.insertBefore(ea(e),t)})),null===t.getAttribute(ni)&&ji.keepOriginalSource){let e=zr.createComment(function(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~Ui(t).indexOf(ji.replacementClass))return ta.replace(e);const r=new RegExp("".concat(ji.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const e=n[0].attributes.class.split(" ").reduce(((e,t)=>(t===ji.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e)),{toNode:[],toSvg:[]});n[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}const i=n.map((e=>$i(e))).join("\n");t.setAttribute(ni,""),t.innerHTML=i}};function na(e){e()}function ra(e,t){const n="function"==typeof t?t:Jo;if(0===e.length)n();else{let t=na;ji.mutateApproach===li&&(t=Pr.requestAnimationFrame||na),t((()=>{const t=!0===ji.autoReplaceSvg?ta.replace:ta[ji.autoReplaceSvg]||ta.replace,r=Qo.begin("mutate");e.map(t),r(),n()}))}}let ia=!1;function oa(){ia=!0}function aa(){ia=!1}let sa=null;function la(e){if(!Ur)return;if(!ji.observeMutations)return;const{treeCallback:t=Jo,nodeCallback:n=Jo,pseudoElementsCallback:r=Jo,observeMutationsRoot:i=zr}=e;sa=new Ur((e=>{if(ia)return;const i=Io();zi(e).forEach((e=>{if("childList"===e.type&&e.addedNodes.length>0&&!Xo(e.addedNodes[0])&&(ji.searchPseudoElements&&r(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&ji.searchPseudoElements&&r(e.target.parentNode),"attributes"===e.type&&Xo(e.target)&&~Mi.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){const t=e.getAttribute?e.getAttribute(oi):null,n=e.getAttribute?e.getAttribute(ai):null;return t&&n}(e.target)){const{prefix:t,iconName:n}=Mo(Ui(e.target));e.target.setAttribute(oi,t||i),n&&e.target.setAttribute(ai,n)}else(o=e.target)&&o.classList&&o.classList.contains&&o.classList.contains(ji.replacementClass)&&n(e.target);var o}))})),Br&&sa.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function ca(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=function(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"";let i=Mo(Ui(e));return i.prefix||(i.prefix=Io()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=(o=i.prefix,a=e.innerText,(co[o]||{})[a]||yo(i.prefix,to(e.innerText)))),!i.iconName&&ji.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i;var o,a}(e),o=function(e){const t=zi(e.attributes).reduce(((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e)),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ji.autoA11y&&(n?t["aria-labelledby"]="".concat(ji.replacementClass,"-title-").concat(r||Pi()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),a=So("parseNodeAttributes",{},e);let s=t.styleParser?function(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce(((e,t)=>{const n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return{iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:Oi,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:o},...a}}const{styles:ua}=Wi;function da(e){const t="nest"===ji.autoReplaceSvg?ca(e,{styleParser:!1}):ca(e);return~t.extra.classes.indexOf(wi)?jo("generateLayersText",e,t):jo("generateSvgReplacementMutation",e,t)}let fa=new Set;function pa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Br)return Promise.resolve();const n=zr.documentElement.classList,r=e=>n.add("".concat(si,"-").concat(e)),i=e=>n.remove("".concat(si,"-").concat(e)),o=ji.autoFetchSvg?fa:di.map((e=>"fa-".concat(e))).concat(Object.keys(ua));o.includes("fa")||o.push("fa");const a=[".".concat(wi,":not([").concat(ni,"])")].concat(o.map((e=>".".concat(e,":not([").concat(ni,"])")))).join(", ");if(0===a.length)return Promise.resolve();let s=[];try{s=zi(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");const l=Qo.begin("onTree"),c=s.reduce(((e,t)=>{try{const n=da(t);n&&e.push(n)}catch(e){ui||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise(((e,n)=>{Promise.all(c).then((n=>{ra(n,(()=>{r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((e=>{l(),n(e)}))}))}function ha(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;da(e).then((e=>{e&&ra([e],t)}))}di.map((e=>{fa.add("fa-".concat(e))})),Object.keys(hi[Gr]).map(fa.add.bind(fa)),Object.keys(hi[Hr]).map(fa.add.bind(fa)),Object.keys(hi[qr]).map(fa.add.bind(fa)),fa=[...fa];const ga=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=Oi,symbol:r=!1,mask:i=null,maskId:o=null,title:a=null,titleId:s=null,classes:l=[],attributes:c={},styles:u={}}=t;if(!e)return;const{prefix:d,iconName:f,icon:p}=e;return Uo({type:"icon",...e},(()=>(ko("beforeDOMElementCreation",{iconDefinition:e,params:t}),ji.autoA11y&&(a?c["aria-labelledby"]="".concat(ji.replacementClass,"-title-").concat(s||Pi()):(c["aria-hidden"]="true",c.focusable="false")),_o({icons:{main:Go(p),mask:i?Go(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:f,transform:{...Oi,...n},symbol:r,title:a,maskId:o,titleId:s,extra:{attributes:c,styles:u,classes:l}}))))};var ma={mixout(){return{icon:(e=ga,function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(t||{}).icon?t:Do(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:Do(i||{})),e(r,{...n,mask:i})})};var e},hooks:()=>({mutationObserverCallbacks:e=>(e.treeCallback=pa,e.nodeCallback=ha,e)}),provides(e){e.i2svg=function(e){const{node:t=zr,callback:n=(()=>{})}=e;return pa(t,n)},e.generateSvgReplacementMutation=function(e,t){const{iconName:n,title:r,titleId:i,prefix:o,transform:a,symbol:s,mask:l,maskId:c,extra:u}=t;return new Promise(((t,d)=>{Promise.all([Ho(n,o),l.iconName?Ho(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((l=>{let[d,f]=l;t([e,_o({icons:{main:d,mask:f},prefix:o,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:i,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){let{children:t,attributes:n,main:r,transform:i,styles:o}=e;const a=Bi(o);let s;return a.length>0&&(n.style=a),Fi(i)&&(s=jo("generateAbstractTransformGrouping",{main:r,transform:i,containerWidth:r.width,iconWidth:r.width})),t.push(s||r.icon),{children:t,attributes:n}}}},ya={mixout:()=>({layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:n=[]}=t;return Uo({type:"layer"},(()=>{ko("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e((e=>{Array.isArray(e)?e.map((e=>{r=r.concat(e.abstract)})):r=r.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(ji.cssPrefix,"-layers"),...n].join(" ")},children:r}]}))}})},va={mixout:()=>({counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:n=null,classes:r=[],attributes:i={},styles:o={}}=t;return Uo({type:"counter",content:e},(()=>(ko("beforeDOMElementCreation",{content:e,params:t}),function(e){const{content:t,title:n,extra:r}=e,i={...r.attributes,...n?{title:n}:{},class:r.classes.join(" ")},o=Bi(r.styles);o.length>0&&(i.style=o);const a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:e.toString(),title:n,extra:{attributes:i,styles:o,classes:["".concat(ji.cssPrefix,"-layers-counter"),...r]}}))))}})},ba={mixout:()=>({text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=Oi,title:r=null,classes:i=[],attributes:o={},styles:a={}}=t;return Uo({type:"text",content:e},(()=>(ko("beforeDOMElementCreation",{content:e,params:t}),Bo({content:e,transform:{...Oi,...n},title:r,extra:{attributes:o,styles:a,classes:["".concat(ji.cssPrefix,"-layers-text"),...i]}}))))}}),provides(e){e.generateLayersText=function(e,t){const{title:n,transform:r,extra:i}=t;let o=null,a=null;if(Fr){const t=parseInt(getComputedStyle(e).fontSize,10),n=e.getBoundingClientRect();o=n.width/t,a=n.height/t}return ji.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,Bo({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}};const Ia=new RegExp('"',"ug"),xa=[1105920,1112319],wa={FontAwesome:{normal:"fas",400:"fas"},"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"},"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"},"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Ta=Object.keys(wa).reduce(((e,t)=>(e[t.toLowerCase()]=wa[t],e)),{}),Ma=Object.keys(Ta).reduce(((e,t)=>{const n=Ta[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e}),{});function Aa(e,t){const n="".concat(ii).concat(t.replace(":","-"));return new Promise(((r,i)=>{if(null!==e.getAttribute(n))return r();const o=zi(e.children).filter((e=>e.getAttribute(ri)===t))[0],a=Pr.getComputedStyle(e,t),s=a.getPropertyValue("font-family"),l=s.match(Ti),c=a.getPropertyValue("font-weight"),u=a.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&"none"!==u&&""!==u){const u=a.getPropertyValue("content");let d=function(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(Ta[n]||{})[i]||Ma[n]}(s,c);const{value:f,isSecondary:p}=function(e){const t=e.replace(Ia,""),n=function(e,t){const n=e.length;let r,i=e.charCodeAt(0);return i>=55296&&i<=56319&&n>1&&(r=e.charCodeAt(1),r>=56320&&r<=57343)?1024*(i-55296)+r-56320+65536:i}(t),r=n>=xa[0]&&n<=xa[1],i=2===t.length&&t[0]===t[1];return{value:to(i?t[0]:t),isSecondary:r||i}}(u),h=l[0].startsWith("FontAwesome");let g=yo(d,f),m=g;if(h){const e=function(e){const t=fo[e],n=yo("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}(f);e.iconName&&e.prefix&&(g=e.iconName,d=e.prefix)}if(!g||p||o&&o.getAttribute(oi)===d&&o.getAttribute(ai)===m)r();else{e.setAttribute(n,m),o&&e.removeChild(o);const a={iconName:null,title:null,titleId:null,prefix:null,transform:Oi,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:s}=a;s.attributes[ri]=t,Ho(g,d).then((i=>{const o=_o({...a,icons:{main:i,mask:xo()},prefix:d,iconName:m,extra:s,watchable:!0}),l=zr.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(l,e.firstChild):e.appendChild(l),l.outerHTML=o.map((e=>$i(e))).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function Ea(e){return Promise.all([Aa(e,"::before"),Aa(e,"::after")])}function Ca(e){return!(e.parentNode===document.head||~ci.indexOf(e.tagName.toUpperCase())||e.getAttribute(ri)||e.parentNode&&"svg"===e.parentNode.tagName)}function Na(e){if(Br)return new Promise(((t,n)=>{const r=zi(e.querySelectorAll("*")).filter(Ca).map(Ea),i=Qo.begin("searchPseudoElements");oa(),Promise.all(r).then((()=>{i(),aa(),t()})).catch((()=>{i(),aa(),n()}))}))}var Sa={hooks:()=>({mutationObserverCallbacks:e=>(e.pseudoElementsCallback=Na,e)}),provides(e){e.pseudoElements2svg=function(e){const{node:t=zr}=e;ji.searchPseudoElements&&Na(t)}}};let ka=!1;const ja=e=>e.toLowerCase().split(" ").reduce(((e,t)=>{const n=t.toLowerCase().split("-"),r=n[0];let 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}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0});var Da={mixout:()=>({parse:{transform:e=>ja(e)}}),hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=ja(n)),e}}),provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:n,containerWidth:r,iconWidth:i}=e;const o={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={transform:"".concat(a," ").concat(s," ").concat(l)},u={transform:"translate(".concat(i/2*-1," -256)")};return{tag:"g",attributes:{...o},children:[{tag:"g",attributes:{...c},children:[{tag:t.icon.tag,children:t.icon.children,attributes:{...t.icon.attributes,...u}}]}]}}}};const La={x:0,y:0,width:"100%",height:"100%"};function Oa(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Ra={hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?Mo(n.split(" ").map((e=>e.trim()))):xo();return r.prefix||(r.prefix=Io()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}),provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:n,main:r,mask:i,maskId:o,transform:a}=e;const{width:s,icon:l}=r,{width:c,icon:u}=i,d=function(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="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(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:a,containerWidth:c,iconWidth:s}),f={tag:"rect",attributes:{...La,fill:"white"}},p=l.children?{children:l.children.map(Oa)}:{},h={tag:"g",attributes:{...d.inner},children:[Oa({tag:l.tag,attributes:{...l.attributes,...d.path},...p})]},g={tag:"g",attributes:{...d.outer},children:[h]},m="mask-".concat(o||Pi()),y="clip-".concat(o||Pi()),v={tag:"mask",attributes:{...La,id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[f,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(I=u,"g"===I.tag?I.children:[I])},v]};var I;return t.push(b,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(m,")"),...La}}),{children:t,attributes:n}}}},Pa={provides(e){let t=!1;Pr.matchMedia&&(t=Pr.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:{...n,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"}});const i={...r,attributeName:"opacity"},o={tag:"circle",attributes:{...n,cx:"256",cy:"364",r:"28"},children:[]};return t||o.children.push({tag:"animate",attributes:{...r,attributeName:"r",values:"28;14;28;28;14;28;"}},{tag:"animate",attributes:{...i,values:"1;0;1;1;0;1;"}}),e.push(o),e.push({tag:"path",attributes:{...n,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"},children:t?[]:[{tag:"animate",attributes:{...i,values:"1;0;0;0;0;1;"}}]}),t||e.push({tag:"path",attributes:{...n,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"},children:[{tag:"animate",attributes:{...i,values:"0;0;1;1;0;0;"}}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){let{mixoutsTo:n}=t;Ao=e,Eo={},Object.keys(Co).forEach((e=>{-1===No.indexOf(e)&&delete Co[e]})),Ao.forEach((e=>{const t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((e=>{"function"==typeof t[e]&&(n[e]=t[e]),"object"==typeof t[e]&&Object.keys(t[e]).forEach((r=>{n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){const t=e.hooks();Object.keys(t).forEach((e=>{Eo[e]||(Eo[e]=[]),Eo[e].push(t[e])}))}e.provides&&e.provides(Co)}))}([Vi,ma,ya,va,ba,Sa,{mixout:()=>({dom:{unwatch(){oa(),ka=!0}}}),hooks:()=>({bootstrap(){la(So("mutationObserverCallbacks",{}))},noAuto(){sa&&sa.disconnect()},watch(e){const{observeMutationsRoot:t}=e;ka?aa():la(So("mutationObserverCallbacks",{observeMutationsRoot:t}))}})},Da,Ra,Pa,{hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}})}],{mixoutsTo:Po});const za=Po.parse,Ua=Po.icon;var _a=a(9067),Ba=a.n(_a);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 Ga(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){Ha(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 Za(e){return Za="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},Za(e)}function Ha(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qa(e){return function(e){if(Array.isArray(e))return Va(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){if("string"==typeof e)return Va(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)?Va(e,t):void 0}}(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 Va(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 Wa=["style"],Qa=!1;try{Qa=!0}catch(xg){}function Ja(e){return e&&"object"===Za(e)&&e.prefix&&e.iconName&&e.icon?e:za.icon?za.icon(e):null===e?null:e&&"object"===Za(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 Xa(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ha({},e,t):{}}var $a={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Ka=t().forwardRef((function(e,t){var n=Ga(Ga({},$a),e),r=n.icon,i=n.mask,o=n.symbol,a=n.className,s=n.title,l=n.titleId,c=n.maskId,u=Ja(r),d=Xa("classes",[].concat(qa(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,g=e.listItem,m=e.flip,y=e.size,v=e.rotation,b=e.pull,I=(Ha(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":g,"fa-flip":!0===m,"fa-flip-horizontal":"horizontal"===m||"both"===m,"fa-flip-vertical":"vertical"===m||"both"===m},"fa-".concat(y),null!=y),Ha(t,"fa-rotate-".concat(v),null!=v&&0!==v),Ha(t,"fa-pull-".concat(b),null!=b),Ha(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(I).map((function(e){return I[e]?e:null})).filter((function(e){return e}))}(n)),qa((a||"").split(" ")))),f=Xa("transform","string"==typeof n.transform?za.transform(n.transform):n.transform),p=Xa("mask",Ja(i)),h=Ua(u,Ga(Ga(Ga(Ga({},d),f),p),{},{symbol:o,title:s,titleId:l,maskId:c}));if(!h)return function(){var e;!Qa&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var g=h.abstract,m={ref:t};return Object.keys(n).forEach((function(e){$a.hasOwnProperty(e)||(m[e]=n[e])})),es(g[0],m)}));Ka.displayName="FontAwesomeIcon",Ka.propTypes={beat:Ba().bool,border:Ba().bool,beatFade:Ba().bool,bounce:Ba().bool,className:Ba().string,fade:Ba().bool,flash:Ba().bool,mask:Ba().oneOfType([Ba().object,Ba().array,Ba().string]),maskId:Ba().string,fixedWidth:Ba().bool,inverse:Ba().bool,flip:Ba().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Ba().oneOfType([Ba().object,Ba().array,Ba().string]),listItem:Ba().bool,pull:Ba().oneOf(["right","left"]),pulse:Ba().bool,rotation:Ba().oneOf([0,90,180,270]),shake:Ba().bool,size:Ba().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Ba().bool,spinPulse:Ba().bool,spinReverse:Ba().bool,symbol:Ba().oneOfType([Ba().bool,Ba().string]),title:Ba().string,titleId:Ba().string,transform:Ba().oneOfType([Ba().string,Ba().object]),swapOpacity:Ba().bool};var es=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)})),o=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=r.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)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Ya(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(r,Wa);return o.attrs.style=Ga(Ga({},o.attrs.style),s),t.apply(void 0,[n.tag,Ga(Ga({},o.attrs),l)].concat(qa(i)))}.bind(null,t().createElement);const ts={prefix:"fas",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M135.2 17.7C140.6 6.8 151.7 0 163.8 0L284.2 0c12.1 0 23.2 6.8 28.6 17.7L320 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 7.2-14.3zM32 128l384 0 0 320c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-320zm96 64c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16z"]},ns={prefix:"fas",iconName:"down-left-and-up-right-to-center",icon:[512,512,["compress-alt"],"f422","M439 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39L439 7zM72 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39L73 505c-9.4 9.4-24.6 9.4-33.9 0L7 473c-9.4-9.4-9.4-24.6 0-33.9l87-87L55 313c-6.9-6.9-8.9-17.2-5.2-26.2s12.5-14.8 22.2-14.8z"]},rs={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},is={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},os={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6l96 0 32 0 208 0c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},as={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},ss={prefix:"fas",iconName:"paperclip",icon:[448,512,[128206],"f0c6","M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"]},ls={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},cs={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},us={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},ds={prefix:"fas",iconName:"up-right-and-down-left-from-center",icon:[512,512,["expand-alt"],"f424","M344 0L488 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87L327 41c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512L24 512c-13.3 0-24-10.7-24-24L0 344c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8z"]},fs={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]};function ps(n){const r=t().createRef(),[i,o]=(0,e.useState)(n.initialTextContent||""),[a,s]=(0,e.useState)(!1),[l,c]=(0,e.useState)(!1),[u,d]=(0,e.useState)(null);return(0,e.useEffect)((()=>{n.element&&function(e,t){const n=t.current;if(e&&n){const t=n.style,r=null==e?void 0:e.getBoundingClientRect(),i=n.getBoundingClientRect(),o=r.height+r.top+window.scrollY,a=window.innerWidth;t.top=`${String(o)}px`,t.opacity="1";const s=r.left+i.width>a;t.left=s?r.right-i.width+"px":`${r.left}px`}}(n.element,r),o(n.initialTextContent||""),s(n.initialTextContent.length>0)}),[n.element]),n.element?t().createElement("div",{className:"e-popup",style:{position:"absolute",opacity:0},ref:r,"data-testid":"e-popup"},t().createElement(Cr(),{language:"FI",baseUrl:"",initialValue:n.initialTextContent,getPasteSource:()=>Promise.resolve(""),onValueChange:e=>{if(n.onValueChange){const t=n.onValueChange(e.answerHtml);d(t)}o(e.answerHtml),s(e.answerHtml.trim().length>0)},textAreaProps:{className:"comment-content"}})," ",u&&t().createElement("span",{className:"e-popup-error"},u),t().createElement("span",{className:"e-popup-button-area"},t().createElement("span",null,t().createElement("button",{className:"button",onClick:e=>{e.stopPropagation(),n.onValueSave(i)},"data-testid":"e-popup-save",disabled:!a||!!u},"Tallenna"),t().createElement("button",{className:"button text-button","data-testid":"e-popup-cancel",onClick:()=>{n.onCancel()}},"Peru")),n.enableDelete&&t().createElement("button",{className:Sr()("button","e-popup-delete","round",{confirm:l}),"data-testid":"e-popup-delete",onClick:()=>{l?n.onDelete&&n.onDelete():c(!0)}},t().createElement(Ka,{size:"lg",icon:ts,fixedWidth:!0})," ",l&&"Vahvista?"))):null}function hs(){const{newAnnotation:n,setNewAnnotation:r,newAnnotationRef:i,setNewAnnotationRef:o,onSaveAnnotation:a}=(0,e.useContext)(gs);return t().createElement(ps,{element:i,initialTextContent:"",onValueSave:e=>{a(n,e),r(null),o(null)},enableDelete:!1,onCancel:()=>{r(null),o(null)}})}const gs=t().createContext({}),ms=({children:n,annotations:r,onClickAnnotation:i,onSaveAnnotation:o})=>{const[a,s]=t().useState(null),[l,c]=t().useState(null),u=e=>{s(e)};if(!i&&!o)return n;const d=(0,e.useMemo)((()=>Ln((null==r?void 0:r.flatMap((e=>e.annotationParts.map(((t,n,r)=>{const i=n===r.length-1;return{...t,annotationId:e.annotationId,markNumber:i?e.markNumber:void 0,hidden:e.hidden}})))))||[],"annotationAnchor")),[JSON.stringify(r)]);return t().createElement(gs.Provider,{value:{annotations:d,onClickAnnotation:i,onSaveAnnotation:o,newAnnotation:a,setNewAnnotation:s,newAnnotationRef:l,setNewAnnotationRef:c}},t().createElement("span",{onMouseDown:function(e){!!e.target.closest(".e-popup")||(s(null),c(null)),function(e,t){0===e.button&&window.addEventListener("mouseup",(function e(){var n,r;window.removeEventListener("mouseup",e);const i=window.getSelection(),o=null===(n=null==i?void 0:i.anchorNode)||void 0===n?void 0:n.parentElement,a=null===(r=null==i?void 0:i.focusNode)||void 0===r?void 0:r.parentElement;if(i&&o&&a&&i.toString().length>0){const e=(e=>{const t=Array.from(null==e?void 0:e.getRangeAt(0).cloneContents().children),n=null==t?void 0:t.some((e=>"MARK"===e.tagName&&"false"===e.getAttribute("data-hidden"))),r=t.some((e=>e.querySelector('mark[data-hidden="false"]')));return n||r})(i),n=Mr(o);if(n===Mr(a)&&Ar(o)&&Ar(a)&&!e){const e=(e=>{var t,n;const r=e.getRangeAt(0),i=Array.from(null==e?void 0:e.getRangeAt(0).cloneContents().children),o=r.startContainer.parentElement;if(null==i?void 0:i.length){const e=null==i?void 0:i.reduce(((e,t,n,i)=>{var a;const s=t.getAttribute("data-annotation-path"),l=n===i.length-1;if(s){const i={annotationAnchor:s,selectedText:t.textContent||"",startIndex:0===n?r.startOffset:0,length:l?r.endOffset:(null===(a=t.textContent)||void 0===a?void 0:a.length)||0};return[...e,i]}{const i=t.querySelectorAll("[data-annotation-path]");return null==i||i.forEach(((t,a)=>{var s;const c=t.getAttribute("data-annotation-path");if(c){const u=0===n&&0===a,d=a===i.length-1,f=l&&d,p=pr(o,r),h={annotationAnchor:c,selectedText:t.textContent||"",startIndex:u&&(null==p?void 0:p.startIndex)||0,length:f?r.endOffset:(null===(s=t.textContent)||void 0===s?void 0:s.length)||0};e.push(h)}})),e}}),[]);return e}{const i=null===(n=null===(t=null==e?void 0:e.focusNode)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.getAttribute("data-annotation-path"),a=pr(o,r);return[{annotationAnchor:i,selectedText:(null==e?void 0:e.toString())||"",startIndex:(null==a?void 0:a.startIndex)||0,length:(null==a?void 0:a.length)||0}]}})(i);t({annotationParts:e,displayNumber:n,selectedText:e.map((e=>e.selectedText)).join(" ")})}}}))}(e,u)}},t().createElement(hs,null),n))},ys=(0,e.createContext)({}),vs=({annotation:n,markedText:r,onClickAnnotation:i,setNewAnnotationRef:o})=>{const a=(0,e.useRef)(null);return(0,e.useEffect)((()=>{a.current&&!Is(n)&&o(a.current)}),[]),t().createElement("mark",{ref:a,className:"e-annotation","data-annotation-id":Is(n)?n.annotationId:"","data-hidden":"false","data-annotation-path":n.annotationAnchor,onClick:e=>Is(n)?i(e,n):void 0},r,(null==n?void 0:n.markNumber)&&t().createElement("sup",{className:"e-annotation","data-content":null==n?void 0:n.markNumber}))};function bs(e){return Is(e)?e.annotationId+e.startIndex:e.startIndex}function Is(e){return"annotationId"in e}function xs(e,t,n){return e.substring(t,t+n)}const ws=({node:n})=>{var r,i;const o=(0,e.useContext)(gs),{isInSidebar:a}=(0,e.useContext)(ys),{annotations:s,onClickAnnotation:l,setNewAnnotationRef:c,newAnnotation:u}=o;if(void 0===(null==o?void 0:o.annotations)||0===(null===(r=n.textContent)||void 0===r?void 0:r.trim().length)||void 0!==a)return n.textContent;const d=Oe(n),f=(null===(i=null==u?void 0:u.annotationParts)||void 0===i?void 0:i.filter((e=>e.annotationAnchor===d)))||[],p=[...(null==s?void 0:s[d])||[],...f];return t().createElement("span",{className:"e-annotatable",key:d,"data-annotation-path":d,"data-testid":d},p.length>0&&l?function(e,n,r,i){var o;if(0===n.length)return[e];n.sort(((e,t)=>e.startIndex-t.startIndex));const[a,s]=rr(n,(e=>e.hidden)),l=[];a.forEach((e=>{const n=bs(e);l.push(t().createElement("mark",{key:n,className:"e-annotation","data-annotation-id":Is(e)?e.annotationId:"","data-hidden":"true"}))}));let c=0;const u=e.replace(/^\s+/," "),d=e.length-u.length,f=s.reduce(((e,t)=>{const n=e.some((e=>t.startIndex<e.startIndex+e.length&&e.startIndex<t.startIndex+t.length&&!e.hidden));return e.push({...t,hidden:t.hidden||n}),e}),[]);for(const n of f){const a=xs(e.replace(/\n/g," ").replace(/\s+/g," "),n.startIndex,n.length)===n.selectedText,s=((null===(o=e.split(n.selectedText)[0].match(/\n/g))||void 0===o?void 0:o.length)||0)*d,u=n.startIndex+(a?s:0),f=xs(e,u,n.length);u>c&&l.push(e.substring(c,u));const p=bs(n);l.push(n.hidden?t().createElement("mark",{key:p,className:"e-annotation","data-annotation-id":Is(n)?n.annotationId:"","data-hidden":"true"}):t().createElement(vs,{key:p,annotation:n,markedText:f,onClickAnnotation:r,setNewAnnotationRef:i})),c=u+n.length}return l.push(e.substring(c)),l}(n.textContent,p,l,c):n.textContent)},Ts="http://ylioppilastutkinto.fi/exam.xsd";function Ms(e){function n(r,i=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}(r,((r,o)=>function(r,i,o){switch(r.nodeType){case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:return 0===o?function(e){return t().createElement(ws,{node:e,key:Oe(e)})}(r):null;case Node.ELEMENT_NODE:return function(r,i,o){switch(r.namespaceURI){case"http://www.w3.org/1999/xhtml":return function(e,r,i){const o=e.hasChildNodes()?n(e,i):null;if(0===i){const n=e.localName,i=function(e,t){const n={key:As(e,t)};for(const t of e.attributes)n["class"===t.localName?"className":t.localName]=t.value;return n}(e,r);return t().createElement(n,{...i},o)}return o}(r,i,o);case Ts:return function(r,i){const o=e[r.localName],a=r.getAttribute("class")||void 0;return o?t().createElement(o,{element:r,className:a,renderChildNodes:n,key:As(r,i)}):null}(r,i);default:throw new Error(`Unrecognized element: ${r.localName}`)}}(r,i,o);default:return null}}(r,o,i)))}return n}function As(e,t){return`${e.localName}-${t}`}const Es={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Cs{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Es,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){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)}forward(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Cs(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new Cs(this.logger,e)}}var Ns=new Cs;class Ss{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[r,i]=t;for(let t=0;t<i;t++)r.apply(r,[e,...n])}))}}const ks=()=>{let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n},js=e=>null==e?"":""+e,Ds=/###/g,Ls=e=>e&&e.indexOf("###")>-1?e.replace(Ds,"."):e,Os=e=>!e||"string"==typeof e,Rs=(e,t,n)=>{const r="string"!=typeof t?t:t.split(".");let i=0;for(;i<r.length-1;){if(Os(e))return{};const t=Ls(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Os(e)?{}:{obj:e,k:Ls(r[i])}},Ps=(e,t,n)=>{const{obj:r,k:i}=Rs(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=Rs(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=Rs(e,a,Object),s&&s.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},zs=(e,t)=>{const{obj:n,k:r}=Rs(e,t);if(n)return n[r]},Us=(e,t,n)=>{for(const 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]):Us(e[r],t[r],n):e[r]=t[r]);return e},_s=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Bs={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Fs=e=>"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>Bs[e])):e,Gs=[" ",",","?","!",";"],Zs=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),Hs=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let e=0;e<r.length;){if(!i||"object"!=typeof i)return;let t,o="";for(let a=e;a<r.length;++a)if(a!==e&&(o+=n),o+=r[a],t=i[o],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}i=t}return i},qs=e=>e&&e.indexOf("_")>0?e.replace("_","-"):e;class Vs extends Ss{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):"string"==typeof n&&i?a.push(...n.split(i)):a.push(n)));const s=zs(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),s||!o||"string"!=typeof n?s:Hs(this.data&&this.data[e]&&this.data[e][t],n,i)}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),Ps(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)("string"==typeof n[r]||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=zs(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Us(s,n,i):s={...s,...n},Ps(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var Ys={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))})),t}};const Ws={};class Qs extends Ss{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,r;super(),n=e,r=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{n[e]&&(r[e]=n[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=Ns.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=Gs.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=Zs.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,r));if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};const 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}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const u=this.resolve(e,t);let d=u&&u.res;const f=u&&u.usedKey||o,p=u&&u.exactUsedKey||o,h=Object.prototype.toString.apply(d),g=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject;if(m&&d&&"string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d&&["[object Number]","[object Function]","[object RegExp]"].indexOf(h)<0&&("string"!=typeof g||!Array.isArray(d))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,d,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e=Array.isArray(d),n=e?[]:{},r=e?p:f;for(const e in d)if(Object.prototype.hasOwnProperty.call(d,e)){const o=`${r}${i}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),n[e]===o&&(n[e]=d[e])}d=n}}else if(m&&"string"==typeof g&&Array.isArray(d))d=d.join(g),d&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,a=!1;const c=void 0!==t.count&&"string"!=typeof t.count,f=Qs.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(l,t.count,t):"",h=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",g=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),m=g&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(d)&&f&&(r=!0,d=m),this.isValidLookup(d)||(a=!0,d=o);const y=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,v=f&&m!==d&&this.options.updateMissing;if(a||r||v){if(this.logger.log(v?"updateKey":"missingKey",l,s,o,v?m:d),i){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.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.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const i=f&&r!==d?r:y;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,i,v,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,n,i,v,t),this.emit("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);g&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],o+n,t[`defaultValue${n}`]||m)}))})):r(e,o,m))}d=this.extendTranslation(d,e,t,u,n),a&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${o}`),(a||r)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,r?d:void 0):this.options.parseMissingKeyHandler(d))}return r?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return i&&i[0]===r[0]&&!n.context?(o.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):o.translate(...r,t)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s="string"==typeof a?[a]:a;return null!=e&&s&&s.length&&!1!==n.applyPostProcessor&&(e=Ys.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&"string"!=typeof a.count,d=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),f=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(o=e,!Ws[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(Ws[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" 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((n=>{if(this.isValidLookup(t))return;i=n;const o=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(l+e),a.ordinal&&0===e.indexOf(r)&&o.push(l+e.replace(r,this.options.pluralSeparator)),d&&o.push(l+t)),f){const n=`${l}${this.options.contextSeparator}${a.context}`;o.push(n),u&&(o.push(n+e),a.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),d&&o.push(n+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let 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)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&"string"!=typeof e.replace;let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}const Js=e=>e.charAt(0).toUpperCase()+e.slice(1);class Xs{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ns.create("languageUtils")}getScriptPartFromCode(e){if(!(e=qs(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=qs(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map((e=>e.toLowerCase())):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Js(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]=Js(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Js(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let 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||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}let $s=[{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}],Ks={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)};const el=["v1","v2","v3"],tl=["v4"],nl={zero:0,one:1,two:2,few:3,many:4,other:5};class rl{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=Ns.create("pluralResolver"),this.options.compatibilityJSON&&!tl.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const e={};return $s.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:Ks[t.fc]}}))})),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{const n=qs("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];const o=new Intl.PluralRules(n,{type:r});return this.pluralRulesCache[i]=o,o}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>nl[e]-nl[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):n.numbers.map((n=>this.getSuffix(e,n,t))):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!el.includes(this.options.compatibilityJSON)}}const il=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=((e,t,n)=>{const r=zs(e,n);return void 0!==r?r:zs(t,n)})(e,t,n);return!o&&i&&"string"==typeof n&&(o=Hs(e,n,r),void 0===o&&(o=Hs(t,n,r))),o},ol=e=>e.replace(/\$/g,"$$$$");class al{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Ns.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:Fs,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?_s(i):o||"{{",this.suffix=a?_s(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?_s(d):f||_s("$t("),this.nestingSuffix=p?_s(p):h||_s(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const i=il(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(il(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const c=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>ol(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?ol(this.escape(e)):ol(e)}].forEach((t=>{for(a=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=l(n),void 0===o)if("function"==typeof c){const t=c(e,i,r);o="string"==typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(u){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else"string"==typeof o||this.useRawValueToEscape||(o=js(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];i={...o},i=i.replace&&"string"!=typeof i.replace?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),s=e,l=!0}if(r=t(a.call(this,n[1].trim(),i),i),r&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=js(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce(((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const sl=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(qs(r),i),t[a]=s),s(n)}};class ll{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Ns.create("formatter"),this.options=e,this.formats={number:sl(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:sl(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:sl(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:sl(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:sl(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=sl(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find((e=>e.indexOf(")")>-1))){const e=i.findIndex((e=>e.indexOf(")")>-1));i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}const o=i.reduce(((e,t)=>{const{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}}))}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{const a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e);return o}}class cl extends Ss{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Ns.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))})),r||(a[e]=!0)})),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),!t&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach((n=>{((e,t,n,r)=>{const{obj:i,k:o}=Rs(e,t,Object);i[o]=i[o]||[],i[o].push(n)})(n.loaded,[i],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*i,o)}),i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=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."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,((n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)}))}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${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!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;i=5===l.length?l(e,t,n,r,s):l(e,t,n,r),i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}const ul=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),dl=e=>("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.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),fl=()=>{};class pl extends Ss{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=dl(e),this.services={},this.logger=Ns,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=ul();this.options={...r,...this.options,...dl(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const i=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?Ns.init(i(this.modules.logger),this.options):Ns.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=ll);const n=new Xs(this.options);this.store=new Vs(this.options.resources,this.options);const o=this.services;o.logger=Ns,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new rl(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new al(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new cl(i(this.modules.backend),o.resourceStore,o,this.options),o.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(t,...r)})),this.modules.languageDetector&&(o.languageDetector=i(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=i(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new Qs(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(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=fl),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const o=ks(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fl;const n="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e))),this.options.preload&&this.options.preload.forEach((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=ks();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=fl),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(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&&Ys.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=ks();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{o(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const i=function(e,t){let o;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||n||i.keyPrefix);const c=r.options.keySeparator||".";let u;return u=o.keyPrefix&&Array.isArray(e)?e.map((e=>`${o.keyPrefix}${c}${e}`)):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,r.t(u,o)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=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;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=ks();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=ks();"string"==typeof e&&(e=[e]);const r=this.options.preload||[],i=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=r.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new Xs(ul());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","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new pl(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fl;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new pl(r);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new Vs(this.store.data,r),i.services.resourceStore=i.store),i.translator=new Qs(i.services,r),i.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];i.emit(e,...n)})),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const hl=pl.createInstance();hl.createInstance=pl.createInstance,hl.createInstance,hl.dir,hl.init,hl.loadResources,hl.reloadResources,hl.use,hl.changeLanguage,hl.getFixedT,hl.t,hl.exists,hl.setDefaultNamespace,hl.hasLoadedNamespace,hl.loadNamespaces,hl.loadLanguages;const gl=function(e){return e&&e.length?e[0]:void 0},ml=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},yl=function(){};var vl=Object.prototype.hasOwnProperty;const bl=function(e,t,n){var r=e[t];vl.call(e,t)&&$e(r,n)&&(void 0!==n||t in e)||Qe(e,t,n)},Il=function(e,t,n,r){if(!ce(e))return e;for(var i=-1,o=(t=wn(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=Tn(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=ce(u)?u:V(t[i+1])?[]:{})}bl(s,l,c),s=s[l]}return e},xl=function(e,t){return function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=Mn(e,a);n(s,a)&&Il(o,wn(a,e),s)}return o}(e,t,(function(t,n){return Cn(e,n)}))},wl=function(e){return null!=e&&e.length?qn(e,1):[]},Tl=function(e){return Kn(Jn(e,void 0,wl),e+"")},Ml=Tl((function(e,t){return null==e?{}:xl(e,t)})),Al={"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 (lärare)","censor-annotations":"Censorns anteckningar","pregrading-abbrev":"prel.","inspection-grading-abbrev":"ompr.","round.1":"1.c","round.2":"2.c","round.3":"3.c",annotate:"Markera","non-answer-not-graded":"Lämnats utan bedömning","loading-images":"Vänta, bilder laddas...","some-images-failed":"Laddning av vissa bilder misslyckades. Var god uppdatera sidan."},references:{heading:"Källor",source:"Källa:",date:"Publicerad:","reference-date":"Hämtad:",translator:"Översättning:","modified-by":"Bearbetning:"},cas:{examineSectionA:"Du kan nu granska dina svar för del A.",cannotEditLater:"När du har returnerat del A kan du inte längre redigera svaren för del A.",youCanReturn:"Efter att du granskat dina svar kan du gå tillbaka till provet för att fortsätta svara på uppgifterna.",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"}},"examine-exam":{examine:"Kontrollera dina svar",instructions:"Efter att du granskat dina svar kan du ännu gå tillbaka och redigera svaren eller avsluta provet."},undo:{loading:"Laddar...",close:"Stäng",restoreAnswer:"Återställ",answerNoText:"ingen text",answerWordCount:"{{count}} ord",answerWordCount_plural:"{{count}} ord",answerCharacterCount:"{{count}} tecken",answerCharacterCount_plural:"{{count}} tecken",answerImageCount:"{{count}} bild",answerImageCount_plural:"{{count}} bilder",minutesSinceAnswer:"{{ minutes }} min sedan",latestVersion:"Den senaste versionen"},examineExam:{returnToExam:"Återvänd till provutförandet",checkYourAnswersTitle:"Kontrollera dina svar",hereAreYourAnswers:"Du ser här dina svar på samma sätt som de som bedömer proven kommer att se dem.",checkYourAnswers:"Kontrollera att du kan se alla de svar som du vill lämna in till bedömning.",removeExcessAnswers:"Om du ser svar som du inte vill lämna in till bedömning bör du gå tillbaka till provet och avlägsna dem.",emptyAnswersAreHighlighted:"Tomma svarsfält har markerats.",thereMayBeOptionalQuestions:"Det kan finnas valbara uppgifter i provet, och därmed innebär ett tomt svarsfält inte alltid att något är fel.",questionHasNoAnswer:"Denna fråga har inte besvarats",endExamTitle:"Avsluta provet",afterInspectingYourAnswers:"När du har kontrollerat dina svar kan du avsluta provet genom att klicka på knappen nedan.",youCanNotReturnToExam:"Efter att du klickat på knappen kan du inte längre gå tillbaka till provet.",thankYouTitle:"Tack!",shutdownComputer:"Stäng nu av datorn.",returnUsbStick:"När datorn har är avstängd, ta bort USB-minnet och ge det till provets övervakare."},"toc-heading":"Innehåll","answer-saved":"Sparad","too-many-answers":"Svar på för många uppgifter:","max-answers-warning":"Besvara högst {{count}} uppgift.","max-answers-warning_plural":"Besvara högst {{count}} uppgifter.","open-writing-mode":"Öppna skrivvyn","close-writing-mode":"Minska vyn","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-surplus":"Svaret överskrider maximallängden på {{maxLength}} märken med {{percentage}} %.","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]"}},El=Ml(Al,["exam-total","material","external-material-title","section","references","toc-heading"]),Cl={"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":"Alustavan arvostelun merkinnät (opettaja)","censor-annotations":"Sensorin merkinnät","pregrading-abbrev":"alust.","inspection-grading-abbrev":"ov","round.1":"1.s","round.2":"2.s","round.3":"3.s",annotate:"Merkitse","non-answer-not-graded":"Jätetty arvostelematta","loading-images":"Odota, kuvia ladataan...","some-images-failed":"Joidenkin kuvien lataaminen epäonnistui. Päivitä sivu."},references:{heading:"Lähteet",source:"Lähde:",date:"Julkaistu:","reference-date":"Viitattu:",translator:"Käännös:","modified-by":"Muokkaus:"},cas:{examineSectionA:"Voit käydä tarkastelemassa A-osan vastauksiasi nyt.",cannotEditLater:"Palautettuasi A-osan et voi enää muokata A-osan vastauksia.",youCanReturn:"Tarkastelun jälkeen voit palata kokeeseen jatkamaan tehtäviin vastaamista.",forbidden:{infoText:"Saat estetyt laskinohjelmat käyttöösi 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"}},"examine-exam":{examine:"Siirry tarkastelemaan vastauksiasi",instructions:"Tarkastelun jälkeen voit vielä palata muokkaamaan vastauksia, tai päättää kokeen."},undo:{loading:"Ladataan...",close:"Sulje",restoreAnswer:"Palauta",answerNoText:"ei tekstiä",answerWordCount:"{{count}} sana",answerWordCount_plural:"{{count}} sanaa",answerCharacterCount:"{{count}} merkki",answerCharacterCount_plural:"{{count}} merkkiä",answerImageCount:"{{count}} kuva",answerImageCount_plural:"{{count}} kuvaa",minutesSinceAnswer:"{{ minutes }} min sitten",latestVersion:"Viimeisin versio"},examineExam:{returnToExam:"Palaa suorittamaan koetta",checkYourAnswersTitle:"Tarkista vastauksesi",hereAreYourAnswers:"Näet tässä vastauksesi samanlaisina kuin kokeen arvostelijat tulevat ne näkemään.",checkYourAnswers:"Tarkista, että näet alla kaikki vastaukset, jotka haluat jättää arvosteltavaksi.",removeExcessAnswers:"Jos näet vastauksia, joita et halua jättää arvosteltavaksi, palaa kokeeseen ja poista ne.",emptyAnswersAreHighlighted:"Tyhjät vastaukset on korostettu.",thereMayBeOptionalQuestions:"Kokeessa voi olla valinnaisia tehtäviä, joten tyhjä vastaus ei välttämättä tarkoita virhettä.",questionHasNoAnswer:"Tähän kysymykseen ei ole vastattu",endExamTitle:"Päätä koe",afterInspectingYourAnswers:"Kun olet tarkistanut vastauksesi, päätä koe klikkaamalla alla olevaa nappia.",youCanNotReturnToExam:"Napin klikkaamisen jälkeen et voi enää palata kokeeseen.",thankYouTitle:"Kiitos!",shutdownComputer:"Sammuta vielä tietokoneesi.",returnUsbStick:"Kun kone on sammunut, irrota USB-muisti ja palauta se kokeen valvojalle."},"toc-heading":"Sisällys","answer-saved":"Tallennettu","too-many-answers":"Vastattu liian moneen tehtävään:","max-answers-warning":"Vastaa enintään {{count}} tehtävään.","open-writing-mode":"Avaa kirjoitusnäkymä","close-writing-mode":"Pienennä näkymä","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-surplus":"Vastauksen enimmäispituus {{maxLength}} merkkiä ylittyy {{percentage}} %.","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]"}},Nl=Ml(Cl,["exam-total","material","external-material-title","section","references","toc-heading"]),Sl={"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"},kl={"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"},jl={section:""},Dl={"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"},Ll={"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"},Ol={"exam-total":"Весь экзамен",material:"Материал","external-material-title":"Материал",section:"Часть {{displayNumber}}:",references:{heading:"Источники",source:"Источник",date:"Опубликовано","reference-date":"Дата обращения",translator:"Перевод","modified-by":"Адаптировано"},"toc-heading":"Содержание"},Rl={A_E:{"external-material-title":"Aineistot","answering-instructions":{"toc-section_*_1_1":"Valitse yksi aihe.","section_*_1_1":"Valitse yksi aihe."}},BA:El,BB:El,CA:Nl,CB:Nl,EA:Sl,EC:Sl,FA:kl,FC:kl,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:jl,N:jl,O_E:{"answering-instructions":{"toc-section_*_1_1":"Välj ett ämne.","section_*_1_1":"Välj ett ämne."}},SA:Ll,SC:Ll,PA:Dl,PC:Dl,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:Ol,VC:Ol,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"}},Pl={"fi-FI":{translation:Cl,...Rl},"sv-FI":{translation:Al,...Rl}};function zl(e,t,n){const r=t?t+(n?`_${n}`:""):"translation";return hl.use({type:"postProcessor",name:"lowercase",process:(e,t,n)=>e.toLocaleLowerCase(n.lng)}).createInstance({compatibilityJSON:"v3",resources:Pl,lng:e,fallbackLng:"fi-FI",debug:!1,defaultNS:r,fallbackNS:"translation",interpolation:{escapeValue:!1,format:(e,t)=>{const n=e;switch(t){case"range":{const[e,t]=n;return null==e?t:null==t||e===t?e:`${e}–${t}`}case"first":return gl(n);case"last":return ml(n);default:return e}}}},yl)}function Ul(){const{i18n:e,t:n}=y(),r=(n,r)=>function(e,n,r){const i=e.t(n,r),o=e.options.defaultNS.toString(),a="translation"!==o&&o in Rl,s=a&&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,o,n);return s||!a?i:t().createElement("span",{lang:e.language},i)}(e,n,r);return r.raw=n,{i18n:e,t:r}}const _l=(e,t)=>()=>{e.language!==t&&e.changeLanguage(t).then(yl).catch(yl)},Bl=new WeakMap;let Fl=0;const Gl=e=>t=>`${e}-${(e=>{const t=Bl.get(e);if(null!=t)return t;const n=++Fl;return Bl.set(e,n),n})(t)}`,Zl=e=>t=>`${e}-${t}`,Hl="title",ql="references-title",Vl=Zl("section-title"),Yl=Zl("question-title"),Wl=Gl("question-instruction"),Ql=Gl("answer-length-info"),Jl=Gl("external-material-list-title"),Xl=Zl("toc-section-title"),$l=Gl("answer-score"),Kl=Gl("image-caption"),ec=Gl("video-caption"),tc=Gl("audio-label"),nc="toc-title";function rc(){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",rc),()=>window.removeEventListener("hashchange",rc)}function ic(t){return(0,e.useState)(t)[0]}const oc=t().memo((n=>{const r=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{r.current&&(document.title=r.current.textContent)})),t().createElement("h1",{...n,ref:r})})),ac=function({element:e,renderChildNodes:n}){const r=n(e);return 0===r.length?null:t().createElement(t().Fragment,null,r)},sc=t().memo((function({element:e,renderChildNodes:n}){return t().createElement(t().Fragment,null,n(e,1))})),lc=e=>{const n=Sr()("e-section e-bg-color-off-white e-pad-6",e.className);return t().createElement("section",{...e,className:n},e.children)};function cc(e){return e.displayName||e.name||"Component"}const uc=(e,n)=>r=>{const i=i=>{const o=n(i);return t().createElement(e.Provider,{value:o},t().createElement(r,{...i}))};return i.displayName=`WithContext(${cc(r)})`,i},dc=t().createContext({});function fc(e){return uc(dc,(({attachmentsURL:e,resolveAttachment:t,doc:n,abitti2:r})=>{var i;const o=n.documentElement,a=Ee(o,"date"),s=Ee(o,"exam-lang"),l=null!==(i=Ee(o,"exam-type"))&&void 0!==i?i:"normal",c=Ee(o,"lang")||s;return{attachmentsURL:e,date:a?new Date(a):void 0,dateTimeFormatter:new Intl.DateTimeFormat("fi-FI",{timeZone:"UTC"}),dayCode:Ee(o,"day-code"),examCode:Ee(o,"exam-code"),language:s,subjectLanguage:c,examType:l,maxAnswers:Ce(o,"max-answers"),maxScore:Ce(o,"max-score"),sections:Te(o,"section"),resolveAttachment:t,abitti2:r||!1,root:o}}))(e)}const pc=t().createContext({}),hc=uc(pc,(e=>{const{casCountdownDuration:t,examServerApi:n}=e;return{casCountdownDuration:t||60,examServerApi:n}})),gc=t().createContext({}),mc=uc(gc,(({element:e})=>({casForbidden:Ne(e,"cas-forbidden"),displayNumber:e.getAttribute("display-number"),maxAnswers:Ce(e,"max-answers"),minAnswers:Ce(e,"min-answers"),maxScore:Ce(e,"max-score"),childQuestions:Se(e,(e=>e)).filter((e=>"question"===e.localName))})));function yc(e,t){const n=new URL(e,"http://example.com");ye(t,((e,t)=>n[t]=e));const r=n.pathname+n.search+n.hash;return e.startsWith("/")?r:r.substr(1)}const vc=({children:e,href:n,type:r})=>"link"===r?t().createElement("a",{href:n,className:"attachment-link e-nowrap",target:"attachments"},e):t().createElement("span",{className:"attachment-link e-nowrap"},e),bc=n=>t().memo((({element:r})=>{const i=r.getAttribute("ref"),{root:o}=(0,e.useContext)(dc),{attachmentsURL:a}=(0,e.useContext)(dc),{t:s}=Ul(),l=we(o,(e=>"attachment"===e.localName&&e.getAttribute("name")===i)).getAttribute("display-number"),c="short"===r.getAttribute("type"),u=yc(a,{hash:l});return c?t().createElement(vc,{href:u,type:n},l):t().createElement(t().Fragment,null,"(",t().createElement(vc,{href:u,type:n},s("material",{postProcess:"lowercase"})," ",l),")")})),Ic=n=>t().memo((({element:r})=>{const{root:i,attachmentsURL:o}=(0,e.useContext)(dc),{t:a}=Ul(),s=Se(r,(e=>{const t=e.getAttribute("ref");return we(i,(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 o=e[i];if(r&&t(o,i)){const e=[o];n.push(e)}else n[n.length-1].push(o);r=o}return n}(s,((e,t)=>t>0&&!function(e,t){const n=e.length;return n===t.length&&(e.startsWith(t.slice(0,n-1))&&t.charCodeAt(n-1)-e.charCodeAt(n-1)==1)}(s[t-1],e))),c="short"===r.getAttribute("type"),u=yc(o,{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?t().createElement(vc,{href:u,type:n},d):t().createElement(t().Fragment,null,"(",t().createElement(vc,{href:u,type:n},a("material",{count:f,postProcess:"lowercase"})," ",d),")")})),xc=t().createContext({}),wc=uc(xc,(({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}})),Tc=t().memo(wc((function({element:n,renderChildNodes:r}){const{displayNumber:i,isExternal:o}=(0,e.useContext)(xc);return o?t().createElement("div",{id:i,className:"attachments-attachment e-mrg-0 e-mrg-t-8","data-annotation-anchor":i},r(n)):null}))),Mc=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(xc);return t().createElement("h3",null,i,be,r(n))}));var Ac=a(5919),Ec=e,Cc=Symbol.for("react-redux-context"),Nc="undefined"!=typeof globalThis?globalThis:{};function Sc(){if(!Ec.createContext)return{};const e=Nc[Cc]??(Nc[Cc]=new Map);let t=e.get(Ec.createContext);return t||(t=Ec.createContext(null),e.set(Ec.createContext,t)),t}var kc=Sc();function jc(e=kc){return function(){return Ec.useContext(e)}}var Dc=jc(),Lc=()=>{throw new Error("uSES not initialized!")},Oc=(e,t)=>e===t;function Rc(e=kc){const t=e===kc?Dc:jc(e),n=(e,n={})=>{const{equalityFn:r=Oc,devModeChecks:i={}}="function"==typeof n?{equalityFn:n}:n,{store:o,subscription:a,getServerState:s,stabilityCheck:l,identityFunctionCheck:c}=t(),u=(Ec.useRef(!0),Ec.useCallback({[e.name]:t=>e(t)}[e.name],[e,l,i.stabilityCheck])),d=Lc(a.addNestedSub,o.getState,s||o.getState,u,r);return Ec.useDebugValue(d),d};return Object.assign(n,{withTypes:()=>n}),n}var Pc=Rc();Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.client.reference");var zc={notify(){},get:()=>[]};var Uc=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),_c="undefined"!=typeof navigator&&"ReactNative"===navigator.product,Bc=Uc||_c?Ec.useLayoutEffect:Ec.useEffect;function Fc(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Gc(e,t){if(Fc(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Fc(e[n[r]],t[n[r]]))return!1;return!0}Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var Zc=function({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=Ec.useMemo((()=>{const t=function(e,t){let n,r=zc,i=0,o=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){i++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){var t;t=()=>{let t=e;for(;t;)t.callback(),t=t.next},t()},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){r&&null!==e&&(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}function l(){i--,n&&0===i&&(n(),n=void 0,r.clear(),r=zc)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,s())},tryUnsubscribe:function(){o&&(o=!1,l())},getListeners:()=>r};return c}(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}}),[e,r,i,o]),s=Ec.useMemo((()=>e.getState()),[e]);Bc((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,s]);const l=t||kc;return Ec.createElement(l.Provider,{value:a},n)};function Hc(e=kc){const t=e===kc?Dc:jc(e),n=()=>{const{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var qc=Hc();function Vc(e=kc){const t=e===kc?qc:Hc(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Yc,Wc=Vc();Yc=Ac.useSyncExternalStoreWithSelector,Lc=Yc,e.useSyncExternalStore;const Qc=(e,t)=>n=>{const{nowPlaying:r}=n.audio;return null==r?"stopped":r.audio.restrictedAudioId===t&&r.audio.src===e?"playing":"other-playing"},Jc=(e,t)=>n=>n.audio.errors[null!=t?t:e],Xc=e=>t=>An(t.audio.playbackTimes,e,0),$c=(e,t)=>n=>t-Xc(e)(n),Kc=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}(t,r)?"saving":"saved"},eu=!("undefined"==typeof window||!window.document||!window.document.createElement);var tu=(new Date).getTime(),nu=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-tu)),r=setTimeout(e,n);return tu=t,r},ru=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};eu&&["","webkit","moz","o","ms"].some((function(e){var t=ru(e,"request");return t in window&&(ru(e,"cancel"),nu=function(e){return window[t](e)}),!!nu}));var iu=nu;function ou(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 au(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function su(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=au(e.className,t):e.setAttribute("class",au(e.className&&e.className.baseVal||"",t))}var lu=/([A-Z])/g,cu=/^ms-/;function uu(e){return function(e){return e.replace(lu,"-$1").toLowerCase()}(e).replace(cu,"-ms-")}var du=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const fu=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(uu(t))||function(e,t){return function(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}(e).getComputedStyle(e,void 0)}(e).getPropertyValue(uu(t));Object.keys(t).forEach((function(i){var o=t[i];o||0===o?function(e){return!(!e||!du.test(e))}(i)?r+=i+"("+o+") ":n+=uu(i)+": "+o+";":e.style.removeProperty(uu(i))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};var pu=!1,hu=!1;try{var gu={get passive(){return pu=!0},get once(){return hu=pu=!0}};eu&&(window.addEventListener("test",gu,gu),window.removeEventListener("test",gu,!0))}catch(xg){}const mu=function(e,t,n,r){return function(e,t,n,r){if(r&&"boolean"!=typeof r&&!hu){var i=r.once,o=r.capture,a=n;!hu&&i&&(a=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=a),e.addEventListener(t,a,pu?r:o)}e.addEventListener(t,n,r)}(e,t,n,r),function(){!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)}(e,t,n,r)}};function yu(e,t,n,r){var i,o;null==n&&(o=-1===(i=fu(e,"transitionDuration")||"").indexOf("ms")?1e3:1,n=parseFloat(i)*o||0);var a=function(e,t,n){void 0===n&&(n=5);var r=!1,i=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent("transitionend",n,r),e.dispatchEvent(i)}}(e,0,!0)}),t+n),o=mu(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(i),o()}}(e,n,r),s=mu(e,"transitionend",t);return function(){a(),s()}}function vu(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 bu=Ba().oneOfType([Ba().string,Ba().shape({enter:Ba().string,leave:Ba().string,active:Ba().string,height:Ba().string}),Ba().shape({enter:Ba().string,enterActive:Ba().string,leave:Ba().string,leaveActive:Ba().string,appear:Ba().string,appearActive:Ba().string,height:Ba().string,heightActive:Ba().string})]);function Iu(e){return Iu="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},Iu(e)}function xu(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 wu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(n),!0).forEach((function(t){Cu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tu(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 Mu(e,t){return Mu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Mu(e,t)}function Au(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Eu(e)}function Cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nu=[];yu&&Nu.push(yu);var Su={children:Ba().node,name:bu.isRequired,appear:Ba().bool,enter:Ba().bool,leave:Ba().bool,appearTimeout:Ba().number,enterTimeout:Ba().number,leaveTimeout:Ba().number},ku=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&&Mu(e,t)}(s,e);var n,r,i,o,a=(i=s,o=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}}(),function(){var e,t=Eu(i);if(o){var n=Eu(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==Iu(t)&&"function"!=typeof t?Au(e):t}(this,e)});function s(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),Cu(Au(n=a.call(this,e)),"refNode",t().createRef()),Cu(Au(n),"componentWillAppear",(function(e){n.props.appear?n.transition("appear",e,n.props.appearTimeout):e()})),Cu(Au(n),"componentWillEnter",(function(e){n.props.enter?n.transition("enter",e,n.props.enterTimeout):e()})),Cu(Au(n),"componentWillLeave",(function(e){n.props.leave?n.transition("leave",e,n.props.leaveTimeout):e()})),n.classNameAndNodeQueue=[],n.transitionTimeouts=[],n}return n=s,r=[{key:"componentWillUnmount",value:function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)})),this.classNameAndNodeQueue.length=0}},{key:"getNode",value:function(){return this.refNode.current}},{key:"transition",value:function(e,t,n){var r=this.getNode();if(r){var i,o=this.props.name[e]||this.props.name+"-"+e,a=this.props.name[e+"Active"]||o+"-active",s=null;ou(r,o),this.queueClassAndNode(a,r);var l=function(n){n&&n.target!==r||(clearTimeout(s),i&&i(),"leave"!==e&&(su(r,o),su(r,a)),i&&i(),t&&t())};n?(s=setTimeout(l,n),this.transitionTimeouts.push(s)):yu&&(i=function(e,t){return Nu.length?Nu.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){Nu.length&&Nu.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=iu((function(){return n.flushClassNameAndNodeQueueOnNextFrame()})))}},{key:"flushClassNameAndNodeQueueOnNextFrame",value:function(){var e=this;this.rafHandle=iu((function(){return e.flushClassNameAndNodeQueue()}))}},{key:"flushClassNameAndNodeQueue",value:function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,ou(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null}},{key:"render",value:function(){var e=wu(wu({},this.props),{},{ref:this.refNode});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,t().cloneElement(t().Children.only(this.props.children),e)}}],r&&Tu(n.prototype,r),s}(t().Component);Cu(ku,"displayName","CSSTransitionGroupChild"),ku.propTypes=Su;const ju=ku;function Du(e){return Du="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},Du(e)}function Lu(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 Ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lu(Object(n),!0).forEach((function(t){_u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ru(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 Pu(e,t){return Pu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Pu(e,t)}function zu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Uu(e)}function _u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bu=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&&Pu(e,t)}(s,e);var n,r,i,o,a=(i=s,o=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}}(),function(){var e,t=Uu(i);if(o){var n=Uu(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==Du(t)&&"function"!=typeof t?zu(e):t}(this,e)});function s(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),_u(zu(n=a.call(this,e)),"handleDoneAppearing",(function(e){delete n.transitioningKeys[e],e!==n.state.currentKey&&n.performLeave(e)})),_u(zu(n),"performLeave",(function(e){var t,r;n.transitioningKeys[e]=!0,null===(t=n.childRefs[e].current)||void 0===t||t.componentWillLeave(n.handleDoneLeaving.bind(zu(n),e)),n.state.currentChild&&null!==(r=n.childRefs[n.state.currentKey].current)&&void 0!==r&&r.getNode()||n.enqueueHeightTransition()})),_u(zu(n),"performHeightTransition",(function(){if(!n.unmounted){var e,t=zu(n).state,r=t.currentChild?null===(e=n.childRefs[t.currentKey].current)||void 0===e?void 0:e.getNode():null;n.setState({height:r?r.offsetHeight:0,width:n.props.changeWidth?r?r.offsetWidth:0:null})}n.rafHandle=null})),_u(zu(n),"setChildRef",(function(e,r){if(r){var i=t().createRef();i.current=r,n.childRefs[e]=i}else delete n.childRefs[e]})),n.childRefs=Object.create(null),n.state={currentKey:"1",currentChild:n.props.children?t().Children.only(n.props.children):void 0,prevChildren:{},height:null,width:null},n.shouldEnterCurrent=!1,n.keysToLeave=[],n.transitioningKeys={},n}return n=s,r=[{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 n=e.children?t().Children.only(e.children):void 0,r=this.state.currentChild;if(r&&n&&n.key===r.key&&!this.state.nextChild)return this.setState({currentChild:n});var i=this.state,o=i.currentKey,a=i.prevChildren,s={currentKey:String(Number(o)+1),currentChild:n,height:0,width:this.props.changeWidth?0:null};if(n&&(this.shouldEnterCurrent=!0),r){var l,c=null===(l=this.childRefs[o].current)||void 0===l?void 0:l.getNode();s.height=c?c.offsetHeight:0,s.width=this.props.changeWidth?c?c.offsetWidth:0:null,s.prevChildren=Ou(Ou({},a),{},_u({},o,r)),this.transitioningKeys[o]||this.keysToLeave.push(o)}this.setState(s)}},{key:"componentDidUpdate",value:function(){var e;this.shouldEnterCurrent&&(this.shouldEnterCurrent=!1,null!==(e=this.childRefs[this.state.currentKey].current)&&void 0!==e&&e.getNode()&&this.performEnter(this.state.currentKey));var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"performAppear",value:function(e){var t;this.transitioningKeys[e]=!0,null===(t=this.childRefs[e].current)||void 0===t||t.componentWillAppear(this.handleDoneAppearing.bind(this,e))}},{key:"performEnter",value:function(e){var t;this.transitioningKeys[e]=!0,null===(t=this.childRefs[e].current)||void 0===t||t.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){var t;delete this.transitioningKeys[e];var n={prevChildren:Ou({},this.state.prevChildren)};delete n.prevChildren[e],delete this.childRefs[e],this.state.currentChild&&null!==(t=this.childRefs[this.state.currentKey].current)&&void 0!==t&&t.getNode()||(n.height=null),this.setState(n)}},{key:"enqueueHeightTransition",value:function(){this.rafHandle||(this.rafHandle=iu(this.performHeightTransition))}},{key:"wrapChild",value:function(e,n){var r=this.props.transitionName;return"object"===Du(r)&&null!==r&&delete(r=Ou({},r)).height,t().createElement(ju,Ou({name:r,appear:this.props.transitionAppear,enter:this.props.transitionEnter,leave:this.props.transitionLeave,appearTimeout:this.props.transitionAppearTimeout,enterTimeout:this.props.transitionEnterTimeout,leaveTimeout:this.props.transitionLeaveTimeout},n),e)}},{key:"render",value:function(){var e=this,n=this.state,r=n.currentKey,i=n.currentChild,o=n.prevChildren,a=n.height,s=n.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,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(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=Ou({},g.style),m&&(g.style.position="relative",u&&(g.style.overflow="hidden")),null!==a){var y="string"==typeof d?"".concat(d,"-height"):d&&d.height||"";g.className="".concat(g.className||""," ").concat(y),g.style.height=a}null!==s&&(g.style.width=s);var v={position:"absolute",top:0,left:0,right:0,bottom:0,userSelect:"none"};return Object.keys(o).forEach((function(n){var r=o[n];l.push(t().createElement(p,{key:n,style:v},e.wrapChild(h&&"string"!=typeof r.type?t().cloneElement(r,{isLeaving:!0}):r,{ref:function(t){return e.setChildRef(n,t)}})))})),i&&l.push(t().createElement(p,{key:r,style:this.transitioningKeys[r]?v:m?{position:"relative"}:null},this.wrapChild(i,{ref:function(t){return e.setChildRef(r,t)}}))),t().createElement(f,g,l)}}],r&&Ru(n.prototype,r),s}(t().Component);_u(Bu,"displayName","ReactCSSTransitionReplace"),_u(Bu,"propTypes",{transitionName:bu.isRequired,transitionAppear:Ba().bool,transitionEnter:Ba().bool,transitionLeave:Ba().bool,transitionAppearTimeout:vu("Appear"),transitionEnterTimeout:vu("Enter"),transitionLeaveTimeout:vu("Leave"),overflowHidden:Ba().bool,changeWidth:Ba().bool,notifyLeaving:Ba().bool}),_u(Bu,"defaultProps",{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0,overflowHidden:!0,changeWidth:!1,notifyLeaving:!1,component:"div",childComponent:"span"});const Fu=({error:e,children:n})=>{const{t:r}=Ul();return t().createElement(Bu,{transitionName:"e-crossfade",transitionEnterTimeout:500,transitionLeaveTimeout:500},null!=e?t().createElement("div",{className:"e-color-error",role:"alert"},t().createElement(Ka,{icon:fs,className:"e-mrg-r-1"}),r(`audio-errors.${e}`)):t().createElement("div",{key:"no-error"},n))};var Gu=a(758);const Zu=e=>(0,Gu.action)("PLAY_AUDIO",e),Hu=e=>(0,Gu.action)("PLAY_AUDIO_STARTED",e),qu=()=>(0,Gu.action)("PLAY_AUDIO_FINISHED"),Vu=(e,t)=>(0,Gu.action)("SHOW_AUDIO_ERROR",{audio:e,error:t}),Yu=e=>(0,Gu.action)("HIDE_AUDIO_ERROR",e),Wu=e=>(0,Gu.action)("UPDATE_REMAINING",e),Qu=t().memo((function({src:n,restrictedAudioId:r,duration:i,times:o,labelId:a}){const s=Pc(Qc(n,r)),l=Pc(((e,t)=>n=>"playing"===Qc(e,t)(n)?n.audio.nowPlaying.durationRemaining:void 0)(n,r)),c=Pc($c(r,o)),{i18n:u}=Ul(),d=Wc(),f="playing"===s,p="stopped"===s,h=!p||0===c,g=`audio-remaining-${r}`,m=f?[]:[g,a],{abitti2:y}=(0,e.useContext)(dc),v=(0,e.useRef)(null);return t().createElement("div",{className:Sr()("restricted-audio-player e-column e-column--narrow e-columns e-columns--inline e-columns--center-v e-pad-1",{"restricted-audio-player--disabled":h}),lang:u.language},y&&t().createElement("audio",{ref:v,preload:"none"},t().createElement("source",null)),t().createElement("button",{className:Sr()("restricted-audio-player__play e-column e-column--narrow",{"restricted-audio-player__play--playing":f}),disabled:h,onClick:()=>p&&d(Zu({src:n,restrictedAudioId:r,duration:i,audioRef:v})),"aria-labelledby":m.join(" ")},!f&&t().createElement(Ka,{icon:cs,fixedWidth:!0})),t().createElement("span",{className:"restricted-audio-player__duration e-column e-text-right",id:g},function(e){const t=e%60;return`${Ju(Math.floor(e/60))}:${Ju(t)}`}(null!=l?l:i)))}));function Ju(e){return e.toString().padStart(2,"0")}const Xu=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=Ce(n,"restricted-audio-id"),s=Ce(n,"times"),l=Ce(n,"duration"),{t:c}=Ul(),u=null!=s&&null!=a?Pc(Jc(o,a)):void 0,d=null!=s&&null!=a?Pc($c(a,s)):void 0,{resolveAttachment:f}=(0,e.useContext)(dc),p=tc(n);return t().createElement("div",{className:Sr()("audio e-columns e-columns--center-v e-mrg-b-2",r)},null!=a&&null!=s?t().createElement(Qu,{src:o,restrictedAudioId:a,duration:l,times:s,labelId:p}):t().createElement("audio",{className:"e-column e-column--narrow","aria-describedby":p,preload:"metadata",controls:!0,controlsList:"nodownload"},t().createElement("source",{src:f(o)})),t().createElement("div",{className:"e-column",id:p},t().createElement(Fu,{error:u},i(n)),null!=d&&t().createElement("em",null,c("listen-times-remaining",{count:d}))))})),$u=Ms({attachment:wc((function({element:n}){const{displayNumber:r}=(0,e.useContext)(xc);return t().createElement("li",{"data-list-number":r,"aria-label":r},$u(n,1))})),"attachment-title":function({element:n}){const{attachmentsURL:r}=(0,e.useContext)(dc),{displayNumber:i}=(0,e.useContext)(xc);return t().createElement("a",{href:yc(r,{hash:i}),className:"exam-attachment-title",target:"attachments"},$u(n))}}),Ku=t().memo((function({element:e,showTitle:n=!0,forceRender:r=!1}){if(null==Me(e,"question")&&!r)return null;const{t:i}=Ul(),o=Jl(e);return t().createElement("div",{className:"external-material-list e-mrg-b-4"},n&&t().createElement("h4",{className:"external-material-title",id:o},i("external-material-title")),t().createElement("ol",{className:"e-list-data e-pad-l-0 e-mrg-0","aria-labelledby":o},$u(e)))})),ed=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=n.hasChildNodes(),{resolveAttachment:s}=(0,e.useContext)(dc);return t().createElement("a",{className:Sr()("file e-nowrap",r),href:s(o),download:!0},a?t().createElement(t().Fragment,null,i(n)," (",o,")"):o)})),td=t().memo((function({element:e,className:n}){const r=Ee(e,"svg"),i=Ee(e,"assistive-title"),o="display"===Ee(e,"mode");return t().createElement(t().Fragment,null,t().createElement("span",{className:Sr()("e-formula",{"e-block e-text-center":o},n),dangerouslySetInnerHTML:{__html:r},"aria-hidden":"true"}),t().createElement("span",{className:"e-screen-reader-only"},i||e.textContent))})),nd=({bordered:e=!1,className:n,children:r,height:i,width:o,caption:a,captionId:s})=>{const l=i/o*100+"%",c=o+(e?18:0);return t().createElement("span",{className:Sr()("responsive-media-container",{"responsive-media-container--bordered":e},n),style:{maxWidth:c}},t().createElement("span",{className:"responsive-media-container__inner",style:{paddingBottom:l}},r),a&&t().createElement("span",{className:"e-block e-mrg-t-1 e-font-size-s e-light",id:s},a))};function rd(e){return"string"==typeof e&&0===e.trim().length}const id=t().memo((function({element:n,className:r,renderChildNodes:i}){const{resolveAttachment:o}=(0,e.useContext)(dc),{t:a}=Ul(),s=Ee(n,"src"),l=Ce(n,"width"),c=Ce(n,"height"),u=Ae(n,"image-title"),d=u&&i(u),f=null!=d&&!d.every(rd),p=f?d:void 0,h=f?Kl(n):void 0,g=o(s),m=t().createElement("img",{className:"e-image",src:g,alt:"","aria-labelledby":h});return t().createElement(t().Fragment,null,t().createElement(nd,{className:r,width:l,height:c,caption:p,captionId:h,bordered:f||null!=Me(n,"choice-answer")},null!=Me(n,["choice-answer","hint"])?m:t().createElement("a",{title:a.raw("zoom-in"),href:g,target:"original-picture",className:"e-zoomable","aria-hidden":!f,tabIndex:-1},m)))}));function od({element:e,renderChildNodes:n}){return t().createElement("em",null,n(e))}function ad({element:e,renderChildNodes:n}){return t().createElement("i",null,n(e))}function sd({element:n}){const r=n.textContent;if(/^[0-9]{4}$/.test(r))return t().createElement(t().Fragment,null,r);{const n=new Date(r.trim()),{dateTimeFormatter:i}=(0,e.useContext)(dc);return t().createElement(t().Fragment,null,i.format(n))}}const ld=t().memo((function({element:e,renderChildNodes:n}){const{t:r}=Ul();function i(r,i){const o=Ae(e,r);if(o){const e=o.localName,r=t().createElement(i,{element:o,renderChildNodes:n,key:e});if(r)return Ne(o,"hidden")?t().createElement("del",{key:e},r):r}}function o(i,o,a){const s=Ae(e,i);return s&&t().createElement(t().Fragment,{key:s.localName},r(o)," ",t().createElement(a,{element:s,renderChildNodes:n,key:s.localName}))}return t().createElement("span",{className:Sr()("e-break-word",{"e-line-through":Ne(e,"hidden")})},r("references.source"),be,(". ",(a=[i("author",ac),i("title",od),i("publisher",ac),i("publication",ac),i("howpublished",ac),i("url",ad),o("publication-date","references.date",sd),o("reference-date","references.reference-date",sd),o("translator","references.translator",ac),o("modified-by","references.modified-by",ac),i("note",ac)]).filter(Boolean).reduce(((e,t,n)=>(e.push(t),n!==a.length-1&&e.push(". "),e)),[])));var a})),cd=t().memo((function({element:n,renderChildNodes:r,className:i}){const{resolveAttachment:o}=(0,e.useContext)(dc),a=Ee(n,"src"),s=Ce(n,"width"),l=Ce(n,"height"),c=Ae(n,"video-title"),u=c&&r(c),d=null!=u&&!u.every(rd),f=d?u:void 0,p=d?ec(n):void 0;return t().createElement(nd,{caption:f,captionId:p,className:i,width:s,height:l},t().createElement("video",{className:"video",preload:"metadata",controls:!0,controlsList:"nodownload",disablePictureInPicture:!0,"aria-describedby":p},t().createElement("source",{src:o(a)})))}));const ud=function(e){var t=function(e){return e?1/0===(e=dr(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),n=t%1;return t==t?n?t-n:t:0};var dd=4294967295,fd=Math.min;function pd({opacity:e,setOpacity:n,element:r,renderChildNodes:i}){const o=Ae(r,"image-title");return t().createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-1"},t().createElement("div",{className:"e-column e-text-right e-mrg-r-1"},o&&i(o)),t().createElement(Ka,{icon:rs,className:"e-mrg-r-1 e-pointer",onClick:()=>n(0)}),t().createElement("input",{type:"range",min:0,max:1,step:.01,value:e,onChange:e=>n(Number(e.target.value))}),t().createElement(Ka,{icon:as,className:"e-mrg-l-1 e-pointer",onClick:()=>n(1)}))}function hd({element:n,absolute:r,opacity:i}){const o=n.getAttribute("src"),a=Ce(n,"width"),s=Ce(n,"height"),l=(0,e.useContext)(dc).resolveAttachment(o);return t().createElement("div",{className:Sr()("e-columns e-columns--center-h",{"e-image-overlay__image-absolute":r}),style:{opacity:i}},t().createElement(nd,{width:a,height:s},t().createElement("img",{className:"e-image",src:l})))}const gd=t().memo((function({element:n,renderChildNodes:r}){const[i,o]=(0,e.useState)((()=>function(e,t){if((e=ud(e))<1||e>9007199254740991)return[];var n=dd,r=fd(e,dd);t=me(t),e-=dd;for(var i=w(r,t);++n<e;)t(n);return i}(n.children.length,(e=>0===e?1:0)))),a=e=>t=>{const n=[...i];n[e]=t,o(n)};return t().createElement("div",{className:"e-image-overlay e-mrg-b-1"},t().createElement("div",{className:"e-columns e-columns--center-h"},t().createElement("div",null,Se(n,((e,n)=>t().createElement(pd,{key:n,opacity:i[n],element:e,setOpacity:a(n),renderChildNodes:r}))))),t().createElement("div",null,t().createElement("div",{className:"e-image-overlay__images-wrapper"},Se(n,((e,n)=>t().createElement(hd,{key:n,element:e,renderChildNodes:r,opacity:i[n],absolute:n>0}))))))})),md=t().createContext({}),yd=uc(md,(({element:e})=>{const t=Te(e,"question",!1),n=t.length?[]:Te(e,["text-answer","scored-text-answer","dropdown-answer","choice-answer"],!1),r=Te(e,"question-instruction",!1),i=e.getAttribute("display-number"),o=r.length>0?r.map(Wl).join(" "):Yl(i);return{answers:n,displayNumber:i,hasExternalMaterial:null!=Ae(e,"external-material"),maxAnswers:Ce(e,"max-answers"),maxScore:Ce(e,"max-score"),level:Ie(e,"question").length,childQuestions:t,questionLabelIds:o}}));function vd({element:n}){const r=n.getAttribute("suffix"),{displayNumber:i}=(0,e.useContext)(md);return t().createElement(t().Fragment,null,gl(i.split(".")),".",r)}const bd=t().memo((function({element:e}){const{t:n}=Ul(),r=e.getAttribute("key");return t().createElement(t().Fragment,null,n(r))})),Id=Ms({"attachment-link":bc("link"),"attachment-links":Ic("link"),"attachment-title":Mc,attachment:Tc,audio:Xu,"audio-title":ac,file:ed,image:id,video:cd,formula:td,"question-number":vd,translation:bd,reference:function(e,n,r){const i=n=>t().createElement("div",{...r},t().createElement(e,{...n}));return i.displayName=`Surround(${cc(e)})`,i}(ld,0,{className:"e-mrg-y-2 e-font-size-s"}),"image-overlay":gd}),xd=t().memo((function({element:e,forceRender:n=!1}){if(null==Me(e,"question")&&!n)return null;const r=e.children.length;return t().createElement(t().Fragment,null,r>1&&t().createElement(Ku,{element:e,renderChildNodes:Id,showTitle:!1,forceRender:n}),Id(e))})),wd=t().memo(yd((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o,level:a}=(0,e.useContext)(md);return function(e,t,n){return t&&(0===n||Ie(e).every((e=>"question"!==e.localName||!Ae(e,"external-material"))))}(n,o,a)?t().createElement(lc,{id:i,"aria-labelledby":Yl(i)},r(n,1)):t().createElement(t().Fragment,null,r(n,1))})));function Td(e){return e.includes(".")?e:`${e}.`}const Md=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o}=(0,e.useContext)(md);return o?t().createElement(t().Fragment,null,t().createElement("div",{className:"anchor",id:`question-nr-${i}`}),t().createElement("h2",{id:Yl(i)},Td(i)," ",r(n))):null})),Ad=Ms({"audio-group":sc,"external-material":xd,"question-title":Md,question:wd,section:mc(ac)}),Ed=()=>{const{t:e}=Ul();return t().createElement(t().Fragment,null,e("attachments-page-title"))},Cd=t().memo(hc(fc((({annotations:n,onClickAnnotation:r,onSaveAnnotation:i})=>{const{root:o,language:a,date:s,dateTimeFormatter:l,dayCode:c,examCode:u,resolveAttachment:d,subjectLanguage:f}=(0,e.useContext)(dc),p=Ae(o,"exam-title"),h=o.getAttribute("exam-stylesheet"),g=Ae(o,"external-material"),m=ic((()=>zl(a,u,c)));return(0,e.useEffect)(_l(m,a)),(0,e.useEffect)(rc,[]),t().createElement(ms,{annotations:n,onClickAnnotation:r,onSaveAnnotation:i},t().createElement(v,{i18n:m},t().createElement("main",{className:"e-exam attachments",lang:f,"aria-labelledby":Hl},t().createElement(t().StrictMode,null),h&&t().createElement("link",{rel:"stylesheet",href:d(h)}),t().createElement(lc,{"aria-labelledby":Hl},p&&t().createElement(oc,{id:Hl},t().createElement(Ed,null),be,Ad(p)),t().createElement("div",{className:"e-semibold e-mrg-b-6"},l.format(s)),g&&t().createElement(xd,{element:g,renderChildNodes:Ad,forceRender:!0})),Ad(o))))}))));function Nd(e){const t=e.documentElement;return Dd(t,Te(t,"section",!1).map(Sd),{maxAnswers:Ce(t,"max-answers")})}function Sd(e){return Dd(e,Te(e,"question",!1).map(kd),{displayNumber:Ee(e,"display-number"),minAnswers:Ce(e,"min-answers"),maxAnswers:Ce(e,"max-answers")})}function kd(e){const t=Te(e,"question",!1);return Dd(e,t.length?t.map(kd):Te(e,["text-answer","scored-text-answer","choice-answer","dropdown-answer"],!1).map(jd),{displayNumber:Ee(e,"display-number"),maxAnswers:Ce(e,"max-answers")})}function jd(e){return Dd(e,[],{displayNumber:Ee(e,"display-number"),questionId:Ce(e,"question-id"),maxLength:Ce(e,"max-length")})}function Dd(e,t,n){return{name:e.localName,attributes:n,childNodes:t}}const Ld=function(e,t){return(B(e)?yn:Vn)(e,Sn(t))};var Od=kn((function(e,t,n){Qe(e,n,t)}));const Rd=Od;function Pd(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var zd=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),Ud=()=>Math.random().toString(36).substring(7).split("").join("."),_d={INIT:`@@redux/INIT${Ud()}`,REPLACE:`@@redux/REPLACE${Ud()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ud()}`};function Bd(e,t,n){if("function"!=typeof e)throw new Error(Pd(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Pd(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Pd(1));return n(Bd)(e,t)}let r=e,i=t,o=new Map,a=o,s=0,l=!1;function c(){a===o&&(a=new Map,o.forEach(((e,t)=>{a.set(t,e)})))}function u(){if(l)throw new Error(Pd(3));return i}function d(e){if("function"!=typeof e)throw new Error(Pd(4));if(l)throw new Error(Pd(5));let t=!0;c();const n=s++;return a.set(n,e),function(){if(t){if(l)throw new Error(Pd(6));t=!1,c(),a.delete(n),o=null}}}function f(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(Pd(7));if(void 0===e.type)throw new Error(Pd(8));if("string"!=typeof e.type)throw new Error(Pd(17));if(l)throw new Error(Pd(9));try{l=!0,i=r(i,e)}finally{l=!1}return(o=a).forEach((e=>{e()})),e}return f({type:_d.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Pd(10));r=e,f({type:_d.REPLACE})},[zd]:function(){const e=d;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(Pd(11));function n(){const e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[zd](){return this}}}}}function Fd(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}var Gd=function(e){return"@@redux-saga/"+e},Zd=Gd("CANCEL_PROMISE"),Hd=Gd("CHANNEL_END"),qd=Gd("IO"),Vd=Gd("MATCH"),Yd=Gd("MULTICAST"),Wd=Gd("SAGA_ACTION"),Qd=Gd("SELF_CANCELLATION"),Jd=Gd("TASK"),Xd=Gd("TASK_CANCEL"),$d=Gd("TERMINATE"),Kd=Gd("LOCATION");function ef(){return ef=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ef.apply(null,arguments)}function tf(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var nf=function(e){return null==e},rf=function(e){return null!=e},of=function(e){return"function"==typeof e},af=function(e){return"string"==typeof e},sf=Array.isArray,lf=function(e){return e&&of(e.then)},cf=function(e){return e&&of(e.next)&&of(e.throw)},uf=function e(t){return t&&(af(t)||pf(t)||of(t)||sf(t)&&t.every(e))},df=function(e){return e&&of(e.take)&&of(e.close)},ff=function(e){return of(e)&&e.hasOwnProperty("toString")},pf=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},hf=function(e){return df(e)&&e[Yd]};const gf=function(e,t){var n;void 0===t&&(t=!0);var r=new Promise((function(r){n=setTimeout(r,Math.min(2147483647,e),t)}));return r[Zd]=function(){clearTimeout(n)},r};var mf=function(e){return function(){return true}}(),yf=function(){},vf=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var bf=function(e,t){ef(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function If(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function xf(e){var t=!1;return function(){t||(t=!0,e())}}var wf=function(e){throw e},Tf=function(e){return{value:e,done:!0}};function Mf(e,t,n){void 0===t&&(t=wf),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:Tf,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function Af(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var Ef=function(e){return Array.apply(null,new Array(e))},Cf=function(e){return function(t){return e(Object.defineProperty(t,Wd,{value:!0}))}},Nf=function(e){return e===$d},Sf=function(e){return e===Xd},kf=function(e){return Nf(e)||Sf(e)};function jf(e,t){var n,r=Object.keys(e),i=r.length,o=0,a=sf(e)?Ef(i):{},s={};return r.forEach((function(e){var r=function(r,s){n||(s||kf(r)?(t.cancel(),t(r,s)):(a[e]=r,++o===i&&(n=!0,t(a))))};r.cancel=yf,s[e]=r})),t.cancel=function(){n||(n=!0,r.forEach((function(e){return s[e].cancel()})))},s}function Df(e){return{name:e.name||"anonymous",location:Lf(e)}}function Lf(e){return e[Kd]}function Of(){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 Rf={isEmpty:mf,put:yf,take:yf};var Pf=function(e){return function(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,i=0,o=0,a=function(t){n[i]=t,i=(i+1)%e,r++},s=function(){if(0!=r){var t=n[o];return n[o]=null,r--,o=(o+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)a(s);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[i]=s,o=i=(i+1)%e;break;case 4:c=2*e,n=l(),r=n.length,i=n.length,o=0,n.length=c,e=c,a(s)}},take:s,flush:l}}(e,4)},zf="TAKE",Uf="PUT",_f="RACE",Bf="CALL",Ff="FORK",Gf="CANCEL",Zf="SELECT",Hf="CANCELLED",qf=function(e,t){var n;return(n={})[qd]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function Vf(e,t){return void 0===e&&(e="*"),uf(e)?(rf(t)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),qf(zf,{pattern:e})):hf(e)&&rf(t)&&uf(t)?qf(zf,{channel:e,pattern:t}):df(e)?(rf(t)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),qf(zf,{channel:e})):void 0}function Yf(e,t){return nf(t)&&(t=e,e=void 0),qf(Uf,{channel:e,action:t})}function Wf(e,t){var n,r=null;return of(e)?n=e:(sf(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&af(n)&&of(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function Qf(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 qf(Bf,Wf(e,n))}function Jf(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 qf(Ff,Wf(e,n))}function Xf(e){return void 0===e&&(e=Qd),qf(Gf,e)}var $f=Qf.bind(null,gf);const Kf=function(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e};var ep=[],tp=0;function np(e){try{op(),e()}finally{ap()}}function rp(e){ep.push(e),tp||(op(),sp())}function ip(e){try{return op(),e()}finally{sp()}}function op(){tp++}function ap(){tp--}function sp(){var e;for(ap();!tp&&void 0!==(e=ep.shift());)np(e)}var lp=function(e){return function(t){return e.some((function(e){return pp(e)(t)}))}},cp=function(e){return function(t){return e(t)}},up=function(e){return function(t){return t.type===String(e)}},dp=function(e){return function(t){return t.type===e}},fp=function(){return mf};function pp(e){var t="*"===e?fp:af(e)?up:sf(e)?lp:ff(e)?up:of(e)?cp:pf(e)?dp:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var hp={type:Hd},gp=function(e){return e&&e.type===Hd};function mp(e){void 0===e&&(e=Pf());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(hp):e.isEmpty()?(n.push(r),r.cancel=function(){If(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(hp):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])(hp)}}}}function yp(){var e,t,n,r,i,o,a=(t=!1,r=n=[],i=function(){r===n&&(r=n.slice())},o=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(hp)}))},(e={})[Yd]=!0,e.put=function(e){if(!t)if(gp(e))o();else for(var i=n=r,a=0,s=i.length;a<s;a++){var l=i[a];l[Vd](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=fp),t?e(hp):(e[Vd]=n,i(),r.push(e),e.cancel=xf((function(){i(),If(r,e)})))},e.close=o,e),s=a.put;return a.put=function(e){e[Wd]?s(e):rp((function(){s(e)}))},a}var vp=0,bp=1,Ip=2,xp=3;function wp(e,t){var n=e[Zd];of(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var Tp,Mp=0,Ap=function(){return++Mp};function Ep(e){e.isRunning()&&e.cancel()}var Cp=((Tp={})[zf]=function(e,t,n){var r=t.channel,i=void 0===r?e.channel:r,o=t.pattern,a=t.maybe,s=function(e){e instanceof Error?n(e,!0):!gp(e)||a?n(e):n($d)};try{i.take(s,rf(o)?pp(o):null)}catch(e){return void n(e,!0)}n.cancel=s.cancel},Tp[Uf]=function(e,t,n){var r=t.channel,i=t.action,o=t.resolve;rp((function(){var t;try{t=(r?r.put:e.dispatch)(i)}catch(e){return void n(e,!0)}o&&lf(t)?wp(t,n):n(t)}))},Tp.ALL=function(e,t,n,r){var i=r.digestEffect,o=Mp,a=Object.keys(t);if(0!==a.length){var s=jf(t,n);a.forEach((function(e){i(t[e],o,s[e],e)}))}else n(sf(t)?[]:{})},Tp[_f]=function(e,t,n,r){var i=r.digestEffect,o=Mp,a=Object.keys(t),s=sf(t)?Ef(a.length):{},l={},c=!1;a.forEach((function(e){var t=function(t,r){c||(r||kf(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,s[e]=t,n(s)))};t.cancel=yf,l[e]=t})),n.cancel=function(){c||(c=!0,a.forEach((function(e){return l[e].cancel()})))},a.forEach((function(e){c||i(t[e],o,l[e],e)}))},Tp[Bf]=function(e,t,n,r){var i=t.context,o=t.fn,a=t.args,s=r.task;try{var l=o.apply(i,a);if(lf(l))return void wp(l,n);if(cf(l))return void zp(e,l,s.context,Mp,Df(o),!1,n);n(l)}catch(e){n(e,!0)}},Tp.CPS=function(e,t,n){var r=t.context,i=t.fn,o=t.args;try{var a=function(e,t){nf(e)?n(t):n(e,!0)};i.apply(r,o.concat(a)),a.cancel&&(n.cancel=a.cancel)}catch(e){n(e,!0)}},Tp[Ff]=function(e,t,n,r){var i=t.context,o=t.fn,a=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(cf(i))return i;var o=!1;return Mf((function(e){return o?{value:e,done:!0}:(o=!0,{value:i,done:!lf(i)})}))}catch(e){return Mf((function(){throw e}))}}({context:i,fn:o,args:a}),u=function(e,t){return e.isSagaIterator?{name:e.meta.name}:Df(t)}(c,o);ip((function(){var t=zp(e,c,l.context,Mp,u,s,void 0);s?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},Tp.JOIN=function(e,t,n,r){var i=r.task,o=function(e,t){if(e.isRunning()){var n={task:i,cb:t};t.cancel=function(){e.isRunning()&&If(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(sf(t)){if(0===t.length)return void n([]);var a=jf(t,n);t.forEach((function(e,t){o(e,a[t])}))}else o(t,n)},Tp[Gf]=function(e,t,n,r){var i=r.task;t===Qd?Ep(i):sf(t)?t.forEach(Ep):Ep(t),n()},Tp[Zf]=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)}},Tp.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,i=mp(t.buffer),o=pp(r),a=function t(n){gp(n)||e.channel.take(t,o),i.put(n)},s=i.close;i.close=function(){a.cancel(),s()},e.channel.take(a,o),n(i)},Tp[Hf]=function(e,t,n,r){n(r.task.isCancelled())},Tp.FLUSH=function(e,t,n){t.flush(n)},Tp.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},Tp.SET_CONTEXT=function(e,t,n,r){var i=r.task;bf(i.context,t),n()},Tp);function Np(e,t){return e+"?"+t}function Sp(e){var t=e.name,n=e.location;return n?t+" "+Np(n.fileName,n.lineNumber):t}function kp(e){var t,n,r,i=(t=function(e){return e.cancelledTasks},n=e,(r=[]).concat.apply(r,n.map(t)));return i.length?["Tasks cancelled due to error:"].concat(i).join("\n"):""}var jp=null,Dp=[],Lp=function(e){e.crashedEffect=jp,Dp.push(e)},Op=function(){jp=null,Dp.length=0},Rp=function(e){jp=e},Pp=function(){var e,t,n=Dp[0],r=Dp.slice(1),i=n.crashedEffect?(e=n.crashedEffect,(t=Lf(e))?t.code+" "+Np(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+Sp(n.meta)+(i?" \n when executing effect "+i:"")].concat(r.map((function(e){return" created by "+Sp(e.meta)})),[kp(Dp)]).join("\n")};function zp(e,t,n,r,i,o,a){var s=e.finalizeRunEffect((function(t,n,r){lf(t)?wp(t,r):cf(t)?zp(e,t,c.context,n,i,!1,r):t&&t[qd]?(0,Cp[t.type])(e,t.payload,r,u):r(t)}));d.cancel=yf;var l={meta:i,cancel:function(){l.status===vp&&(l.status=bp,d(Xd))},status:vp},c=function(e,t,n,r,i,o,a){var s;void 0===a&&(a=yf);var l,c,u=vp,d=null,f=[],p=Object.create(n),h=function(e,t,n){var r,i=[],o=!1;function a(e){t(),l(),n(e,!0)}function s(t){i.push(t),t.cont=function(s,l){o||(If(i,t),t.cont=yf,l?a(s):(t===e&&(r=s),i.length||(o=!0,n(r))))}}function l(){o||(o=!0,i.forEach((function(e){e.cont=yf,e.cancel()})),i=[])}return s(e),{addTask:s,cancelAll:l,abort:a,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=Ip,Lp({meta:i,cancelledTasks:f}),m.isRoot){var r=Pp();Op(),e.onError(t,{sagaStack:r})}c=t,d&&d.reject(t)}else t===Xd?u=bp:u!==bp&&(u=xp),l=t,d&&d.resolve(t);m.cont(t,n),m.joiners.forEach((function(e){e.cb(t,n)})),m.joiners=null}var m=((s={})[Jd]=!0,s.id=r,s.meta=i,s.isRoot=o,s.context=p,s.joiners=[],s.queue=h,s.cancel=function(){u===vp&&(u=bp,h.cancelAll(),g(Xd,!1))},s.cont=a,s.end=g,s.setContext=function(e){bf(p,e)},s.toPromise=function(){return d||(d=Kf(),u===Ip?d.reject(c):u!==vp&&d.resolve(l)),d.promise},s.isRunning=function(){return u===vp},s.isCancelled=function(){return u===bp||u===vp&&t.status===bp},s.isAborted=function(){return u===Ip},s.result=function(){return l},s.error=function(){return c},s);return m}(e,l,n,r,i,o,a),u={task:c,digestEffect:f};return a&&(a.cancel=c.cancel),d(),c;function d(e,n){try{var i;n?(i=t.throw(e),Op()):Sf(e)?(l.status=bp,d.cancel(),i=of(t.return)?t.return(Xd):{done:!0,value:Xd}):i=Nf(e)?of(t.return)?t.return():{done:!0}:t.next(e),i.done?(l.status!==bp&&(l.status=xp),l.cont(i.value)):f(i.value,r,d)}catch(e){if(l.status===bp)throw e;l.status=Ip,l.cont(e,!0)}}function f(t,n,r,i){void 0===i&&(i="");var o,a=Ap();function l(n,i){o||(o=!0,r.cancel=yf,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),i&&Rp(t),r(n,i))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:i,effect:t}),l.cancel=yf,r.cancel=function(){o||(o=!0,l.cancel(),l.cancel=yf,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},s(t,a,l)}}function Up(e,t){for(var n=e.channel,r=void 0===n?yp():n,i=e.dispatch,o=e.getState,a=e.context,s=void 0===a?{}:a,l=e.sagaMonitor,c=e.effectMiddlewares,u=e.onError,d=void 0===u?Af:u,f=arguments.length,p=new Array(f>2?f-2:0),h=2;h<f;h++)p[h-2]=arguments[h];var g,m=t.apply(void 0,p),y=Ap();if(l&&(l.rootSagaStarted=l.rootSagaStarted||yf,l.effectTriggered=l.effectTriggered||yf,l.effectResolved=l.effectResolved||yf,l.effectRejected=l.effectRejected||yf,l.effectCancelled=l.effectCancelled||yf,l.actionDispatched=l.actionDispatched||yf,l.rootSagaStarted({effectId:y,saga:t,args:p})),c){var v=Of.apply(void 0,c);g=function(e){return function(t,n,r){return v((function(t){return e(t,n,r)}))(t)}}}else g=vf;var b={channel:r,dispatch:Cf(i),getState:o,sagaMonitor:l,onError:d,finalizeRunEffect:g};return ip((function(){var e=zp(b,m,s,y,Df(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}const _p=function(e){var t,n=void 0===e?{}:e,r=n.context,i=void 0===r?{}:r,o=n.channel,a=void 0===o?yp():o,s=n.sagaMonitor,l=tf(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=Up.bind(null,ef({},l,{context:i,channel:a,dispatch:r,getState:n,sagaMonitor:s})),function(e){return function(t){s&&s.actionDispatched&&s.actionDispatched(t);var n=e(t);return a.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){bf(i,e)},c};var Bp=function(e){return{done:!0,value:e}},Fp={};function Gp(e){return df(e)?"channel":ff(e)?String(e):of(e)?e.name:String(e)}function Zp(e,t,n){var r,i,o,a=t;function s(t,n){if(a===Fp)return Bp(t);if(n&&!i)throw a=Fp,n;r&&r(t);var s=n?e[i](n):e[a]();return a=s.nextState,o=s.effect,r=s.stateUpdater,i=s.errorState,a===Fp?Bp(t):o}return Mf(s,(function(e){return s(null,e)}),n)}function Hp(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 o,a={done:!1,value:Vf(e)},s=function(e){return o=e};return Zp({q1:function(){return{nextState:"q2",effect:a,stateUpdater:s}},q2:function(){return{nextState:"q1",effect:(e=o,{done:!1,value:Jf.apply(void 0,[t].concat(r,[e]))})};var e}},"q1","takeEvery("+Gp(e)+", "+t.name+")")}function qp(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 o,a,s={done:!1,value:Vf(e)},l=function(e){return{done:!1,value:Jf.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:Xf(e)}},u=function(e){return o=e},d=function(e){return a=e};return Zp({q1:function(){return{nextState:"q2",effect:s,stateUpdater:d}},q2:function(){return o?{nextState:"q3",effect:c(o)}:{nextState:"q1",effect:l(a),stateUpdater:u}},q3:function(){return{nextState:"q1",effect:l(a),stateUpdater:u}}},"q1","takeLatest("+Gp(e)+", "+t.name+")")}const Vp=function(e,t){return qn(Ld(e,t),1)};function Yp(e,t){return function(e,n,r){return function e(n,r){return r.childNodes.reduce(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,elementType:"question"}]:e}return e})(n,r))}([],e)}(e)}function Wp(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),o=t.filter((e=>e.answerCount>0)),a=null!==(r=n.attributes.maxAnswers)&&void 0!==r?r:1/0,s="section"===n.name?n.attributes.minAnswers:void 0,l="exam"===n.name?o.reduce(((e,t)=>e+t.answerCount),0):o.length,c=Vp(t,(e=>e.extraAnswers));return{answerCount:l,displayNumber:i,extraAnswers:l>a?[{type:"ExtraAnswer",elementType:n.name,displayNumber:i,childQuestions:t.map((e=>e.displayNumber)),maxAnswers:a,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 Qp(e,t){return Vp([Yp,Wp],(n=>n(e,t)))}const Jp={answersById:{},examStructure:{name:"exam",attributes:{},childNodes:[]},focusedQuestionId:null,supportsAnswerHistory:!1,serverQuestionIds:new Set,savedQuestionIds:new Set,validationErrors:[]};function Xp(e,t){const n=new Set(e);return n.add(t),n}const $p=e=>(0,Gu.action)("SAVE_ANSWER",e),Kp=e=>(0,Gu.action)("SAVE_ANSWER_SUCCEEDED",e),eh=(e,t)=>(0,Gu.action)("SAVE_ANSWER_FAILED",{answer:e,error:t},void 0,!0),th=new Map;function*nh(e,t){const n=e.payload;try{yield $f(1e3),yield Qf(t.saveAnswer,n),yield Yf(Kp(n))}catch(e){yield Yf(eh(n,e))}th.delete(n.questionId)}function*rh(e){for(;;){const t=yield Vf("SAVE_ANSWER"),n=th.get(t.payload.questionId);n&&(yield Xf(n));const r=yield Jf(nh,t,e);th.set(t.payload.questionId,r)}}function*ih(e){for(;e.selectAnswerVersion;){const t=yield Vf("SELECT_ANSWER_VERSION"),{questionId:n,questionText:r}=t.payload;e.logActivity&&(yield Qf(e.logActivity,`Opened answer version history for question ${n}, ${r}`));try{const t=yield Qf(e.selectAnswerVersion,n,r);t&&(yield Yf($p(t)),e.logActivity&&(yield Qf(e.logActivity,`Restored answer version for question ${n}, ${r}`)))}catch(e){console.error(e)}}}function*oh(e){yield Jf(rh,e),yield Jf(ih,e)}const ah=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?Qe(n,s,l):bl(n,s,l)}return n};var sh=Object.prototype.hasOwnProperty;const lh=function(e){if(!ce(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=oe(e),n=[];for(var r in e)("constructor"!=r||!t&&sh.call(e,r))&&n.push(r);return n},ch=function(e){return de(e)?re(e,!0):lh(e)};var uh="object"==typeof exports&&exports&&!exports.nodeType&&exports,dh=uh&&"object"==typeof module&&module&&!module.nodeType&&module,fh=dh&&dh.exports===uh?A.Buffer:void 0,ph=fh?fh.allocUnsafe:void 0;const hh=ae(Object.getPrototypeOf,Object),gh=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Mt(t,kt(e)),e=hh(e);return t}:Et,mh=function(e){return At(e,ch,gh)};var yh=Object.prototype.hasOwnProperty;const vh=function(e){var t=new e.constructor(e.byteLength);return new bt(t).set(new bt(e)),t};var bh=/\w*$/;var Ih=E?E.prototype:void 0,xh=Ih?Ih.valueOf:void 0;const wh=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return vh(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return function(e,t){var n=t?vh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(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 function(e,t){var n=t?vh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,bh.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Symbol]":return function(e){return xh?Object(xh.call(e)):{}}(e)}};var Th=Object.create;const Mh=function(){function e(){}return function(t){if(!ce(t))return{};if(Th)return Th(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Ah=K&&K.isMap;const Eh=Ah?Q(Ah):function(e){return O(e)&&"[object Map]"==Wt(e)};var Ch=K&&K.isSet;const Nh=Ch?Q(Ch):function(e){return O(e)&&"[object Set]"==Wt(e)};var Sh="[object Arguments]",kh="[object Function]",jh="[object Object]",Dh={};Dh[Sh]=Dh["[object Array]"]=Dh["[object ArrayBuffer]"]=Dh["[object DataView]"]=Dh["[object Boolean]"]=Dh["[object Date]"]=Dh["[object Float32Array]"]=Dh["[object Float64Array]"]=Dh["[object Int8Array]"]=Dh["[object Int16Array]"]=Dh["[object Int32Array]"]=Dh["[object Map]"]=Dh["[object Number]"]=Dh[jh]=Dh["[object RegExp]"]=Dh["[object Set]"]=Dh["[object String]"]=Dh["[object Symbol]"]=Dh["[object Uint8Array]"]=Dh["[object Uint8ClampedArray]"]=Dh["[object Uint16Array]"]=Dh["[object Uint32Array]"]=!0,Dh["[object Error]"]=Dh[kh]=Dh["[object WeakMap]"]=!1;const Lh=function e(t,n,r,i,o,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!ce(t))return t;var d=B(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&yh.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t,s)}else{var f=Wt(t),p=f==kh||"[object GeneratorFunction]"==f;if(H(t))return function(e,t){if(t)return e.slice();var n=e.length,r=ph?ph(n):new e.constructor(n);return e.copy(r),r}(t,l);if(f==jh||f==Sh||p&&!o){if(s=c||p?{}:function(e){return"function"!=typeof e.constructor||oe(e)?{}:Mh(hh(e))}(t),!l)return c?function(e,t){return ah(e,gh(e),t)}(t,function(e,t){return e&&ah(t,ch(t),e)}(s,t)):function(e,t){return ah(e,kt(e),t)}(t,function(e,t){return e&&ah(t,fe(t),e)}(s,t))}else{if(!Dh[f])return o?t:{};s=wh(t,f,l)}}a||(a=new pt);var h=a.get(t);if(h)return h;a.set(t,s),Nh(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,a))})):Eh(t)&&t.forEach((function(i,o){s.set(o,e(i,n,r,o,t,a))}));var g=d?void 0:(u?c?mh:jt:c?ch:fe)(t);return b(g||t,(function(i,o){g&&(i=t[o=i]),bl(s,o,e(i,n,r,o,t,a))})),s},Oh=function(e,t){return null==(e=function(e,t){return t.length<2?e:Mn(e,On(t,0,-1))}(e,t=wn(t,e)))||delete e[Tn(ml(t))]};var Rh=Function.prototype,Ph=Object.prototype,zh=Rh.toString,Uh=Ph.hasOwnProperty,_h=zh.call(Object);const Bh=function(e){return function(e){if(!O(e)||"[object Object]"!=L(e))return!1;var t=hh(e);if(null===t)return!0;var n=Uh.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&zh.call(n)==_h}(e)?void 0:e},Fh=Tl((function(e,t){var n={};if(null==e)return n;var r=!1;t=yn(t,(function(t){return t=wn(t,e),r||(r=t.length>1),t})),ah(e,mh(e),n),r&&(n=Lh(n,7,Bh));for(var i=t.length;i--;)Oh(n,t[i]);return n})),Gh={errors:{},nowPlaying:null,playbackTimes:{}},Zh=e=>function(t,n){void 0===n&&(n=Rf);var r,i=!1,o=mp(n),a=function(){i||(i=!0,of(r)&&r(),o.close())};return r=xf(r=(t=>{const n=setInterval((()=>{--e>0?t(e):(t(hp),clearInterval(n))}),1e3);return()=>clearInterval(n)})((function(e){gp(e)?a():o.put(e)}))),i&&r(),{take:o.take,flush:o.flush,close:a}}();function*Hh(e,t){const n=yield Qf(Zh,e);try{for(;;){const e=yield Vf(n);yield Yf(t(e))}}finally{(yield qf(Hf,{}))&&n.close()}}function*qh(e,t){const n=t.payload;try{const t=null!=n.restrictedAudioId?yield function(e){void 0===e&&(e=vf);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return qf(Zf,{selector:e,args:n})}(Xc(n.restrictedAudioId)):void 0,r=n.audioRef&&n.audioRef.current?yield function(e,t,n){return null!=n&&null!=t.restrictedAudioId?async function(e,t,n,r){try{const i=await e.getRestrictedAudio("",t,r),o=n.querySelector("source");return o.src=URL.createObjectURL(i),n.load(),n.play(),{response:"ok",cleanup:()=>{URL.revokeObjectURL(o.src)}}}catch(e){return{response:"other-error",cleanup:()=>{}}}}(e,t.restrictedAudioId,t.audioRef.current,n):(t.audioRef.current.play(),{response:"ok"})}(e,n,t):yield function*(e,t,n){return{response:null!=n&&null!=t.restrictedAudioId?yield Qf(e.playRestrictedAudio,t.src,t.restrictedAudioId,n):yield Qf(e.playAudio,t.src)}}(e,n,t);"ok"===r.response?(yield Yf(Hu(n)),yield Qf(Hh,n.duration,Wu),yield Yf(qu())):(yield Yf(Vu(n,r.response)),yield $f(5e3),yield Yf(Yu(n))),r.cleanup&&r.cleanup()}catch(e){console.error(e)}}function*Vh(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 Jf.apply(void 0,[Hp,e,t].concat(r))}("PLAY_AUDIO",qh,e)}const Yh={casStatus:"forbidden"},{createAction:Wh}=Gu.deprecated,Qh=e=>(0,Gu.action)("ALLOW_CAS_COUNTDOWN",e),Jh=Wh("ALLOW_CAS_SUCCEEDED"),Xh=Wh("ALLOW_CAS_CANCELLED"),$h=e=>(0,Gu.action)("UPDATE_CAS_REMAINING",e);function*Kh(e,{payload:t}){try{if("allowed"===(yield Qf(e.setCasStatus,"allowing")))return void(yield Yf(Jh()));yield Yf(Qh(t));const{cancelled:i}=yield(n={finished:Qf(Hh,t,$h),cancelled:Vf("ALLOW_CAS_CANCELLED")},r=qf(_f,n),r.combinator=!0,r);"allowed"===(yield Qf(e.setCasStatus,i?"forbidden":"allowed"))?yield Yf(Jh()):i||(yield Yf(Xh()))}catch(e){console.error(e)}var n,r}function*eg(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 Jf.apply(void 0,[qp,e,t].concat(r))}("ALLOW_CAS",Kh,e)}const tg=function(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}const r=Object.keys(n);let i;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if(void 0===n(void 0,{type:_d.INIT}))throw new Error(Pd(12));if(void 0===n(void 0,{type:_d.PROBE_UNKNOWN_ACTION()}))throw new Error(Pd(13))}))}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let o=!1;const a={};for(let i=0;i<r.length;i++){const s=r[i],l=n[s],c=e[s],u=l(c,t);if(void 0===u)throw t&&t.type,new Error(Pd(14));a[s]=u,o=o||u!==c}return o=o||r.length!==Object.keys(e).length,o?a:e}}({answers:function(e=Jp,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":default:return e;case"SAVE_ANSWER_SUCCEEDED":{const{questionId:n}=t.payload,r=Xp(e.savedQuestionIds,n),i=Xp(e.serverQuestionIds,n),o=Qp(e.examStructure,e.answersById);return{...e,serverQuestionIds:i,savedQuestionIds:r,validationErrors:o}}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}}}},audio:function(e=Gh,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=Fh(e.errors,[n.src]);return{...e,playbackTimes:r,errors:i}}return e}case"SHOW_AUDIO_ERROR":{const{audio:n,error:r}=t.payload,i=An(n,"restrictedAudioId",n.src),o={...e.errors,[i]:r};return{...e,errors:o,nowPlaying:null}}case"HIDE_AUDIO_ERROR":{const n=t.payload,r=An(n,"restrictedAudioId",n.src),i=Fh(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=Yh,t){switch(t.type){case"ALLOW_CAS":default:return e;case"ALLOW_CAS_COUNTDOWN":case"UPDATE_CAS_REMAINING":return{casStatus:"allowing",durationRemaining:t.payload};case"ALLOW_CAS_SUCCEEDED":return{casStatus:"allowed"};case"ALLOW_CAS_CANCELLED":return{casStatus:"forbidden"}}}});function*ng(e){yield Jf(oh,e),yield Jf(Vh,e),yield Jf(eg,e)}function rg(e,t,n,r,i){const o=new Set(Ld(n,"questionId")),a=function(e,t){var n={};return t=Sn(t),pe(e,(function(e,r,i){Qe(n,r,t(e,r,i))})),n}(Rd(r,"restrictedAudioId"),"times"),s=Rd(n,"questionId"),l={answers:{answersById:s,focusedQuestionId:null,serverQuestionIds:o,supportsAnswerHistory:"function"==typeof i.selectAnswerVersion,savedQuestionIds:o,examStructure:e,validationErrors:Qp(e,s)},audio:{errors:{},nowPlaying:null,playbackTimes:a},cas:{casStatus:t}},c=_p(),u=(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Fd)(function(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Pd(15))};const a={getState:i.getState,dispatch:(e,...t)=>o(e,...t)},s=e.map((e=>e(a)));return o=Fd(...s)(i.dispatch),{...i,dispatch:o}}}(c)),d=Bd(tg,l,u);return c.run(ng,i),d}const ig=t().memo((function({element:e,className:n,renderChildNodes:r}){return t().createElement("div",{className:Sr()("e-audio-group",n)},t().createElement("div",{className:"e-audio-group--separator e-font-size-xl e-mrg-y-4 e-color-link",role:"separator"},"✲✲✲"),r(e))})),og=t().memo((function({element:n}){const r=n.getAttribute("src"),i=Ce(n,"duration"),{t:o}=Ul(),a=Pc(Qc(r)),s=Pc(Jc(r)),l=Wc(),{abitti2:c,resolveAttachment:u}=(0,e.useContext)(dc),d=(0,e.useRef)(null);return t().createElement("div",{className:"e-audio-test notification e-pad-2 e-mrg-b-4"},t().createElement("p",null,o("audio-test.instructions")),t().createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-2"},t().createElement("div",{className:"e-column e-column--narrow"},c&&t().createElement("audio",{ref:d,preload:"none"},t().createElement("source",{src:u(r)})),t().createElement("button",{className:"e-button",disabled:"stopped"!==a,onClick:()=>"stopped"===a&&l(Zu({src:r,duration:i,audioRef:d}))},t().createElement(Ka,{className:"e-mrg-r-1",icon:cs,fixedWidth:!0}),o("audio-test.play"))),t().createElement("div",{className:"e-column"},t().createElement(Fu,{error:s},be))),t().createElement("div",null,o("audio-test.volume")))})),ag=({children:e})=>t().createElement("footer",{className:"e-footer"},e),sg=Ms({}),lg=t().memo((function(n){const{root:r}=(0,e.useContext)(dc),{t:i}=Ul(),o=Te(r,"reference").filter((e=>null==Me(e,"external-material")));return o.length>0?t().createElement(lc,{"aria-labelledby":ql},t().createElement("h2",{id:ql},i("references.heading")),t().createElement("div",{className:"anchor",id:"references"}),t().createElement("ol",{className:"e-list-data","data-annotation-anchor":ql},o.map(((e,n)=>{const r=Me(e,"question").getAttribute("display-number");return t().createElement("li",{"data-list-number":Td(r),key:`${r}${n}`},t().createElement(ld,{element:e,renderChildNodes:sg}))})))):null})),cg=(0,e.memo)((e=>{const{id:n,type:r,answer:i,error:o,displayNumber:a}=e,s=null==i?void 0:i.value,l="richText"===(null==i?void 0:i.type),c=l&&(null==s?void 0:s.includes('src="/math.svg?latex=')),u=l&&((null==s?void 0:s.includes('<img src="/screenshot/'))||(null==s?void 0:s.includes('<img src="data:image/png;')));return t().createElement("div",{className:"answer-indicator-container",onClick:e=>{e.stopPropagation(),window.location.href=`#question-nr-${a}`},key:n},t().createElement("div",{className:Sr()("answer-indicator",{ok:s,error:o,big:"rich-text"===r}),"data-indicator-id":n},"richText"===(null==i?void 0:i.type)&&t().createElement(t().Fragment,null,l&&(null==i?void 0:i.characterCount)&&t().createElement("span",null,i.characterCount)||"",c&&t().createElement("span",{className:"formula"},"∑"),u&&t().createElement("span",{className:"img"},t().createElement(Ka,{icon:os,size:"lg"})))))})),ug=({element:n,renderChildNodes:r})=>{var i;const{attachmentsURL:o}=(0,e.useContext)(dc),{displayNumber:a,maxScore:s,level:l}=(0,e.useContext)(md),{t:c}=Ul(),{isInSidebar:u}=(0,e.useContext)(ys),d=Ae(n,"question-title"),f=null!=a&&we(n,"external-material"),p=[];let h={},g=!1;if(u){const e=Pc((e=>e.answers));h=(null==e?void 0:e.answersById)||{};const t=n.querySelectorAll("[question-id]"),r=null===(i=e.validationErrors)||void 0===i?void 0:i.filter((e=>"question"===(null==e?void 0:e.elementType)));g=!!(null==r?void 0:r.find((e=>e.displayNumber===a))),t.forEach((e=>{var t;const n=Number(e.getAttribute("question-id")),i=e.getAttribute("type")||"",o=e.getAttribute("display-number")||"",a=!!(null==r?void 0:r.find((e=>e.displayNumber===o))),s=r.flatMap((e=>"childQuestions"in e?e.childQuestions:[])).includes(o),l=!!(null===(t=h[n])||void 0===t?void 0:t.value);n&&p.push({id:n,type:i,error:a||s&&l,displayNumber:o})}))}const m=!!p.find((e=>e.error)),y=null==p?void 0:p.filter((e=>{var t;return null===(t=h[e.id])||void 0===t?void 0:t.value})).length,v=Number(n.getAttribute("max-answers"))||p.length,b=Le("question",a);return t().createElement("li",{"data-list-number":`${a}.`,onClick:()=>u?window.location.href=`#question-nr-${a}`:void 0,className:Sr()(`level-${l}`,{error:g,current:b})},t().createElement("span",{className:"e-column e-question-title"},t().createElement("a",{href:yc("",{hash:`question-nr-${a}`}),tabIndex:u?-1:void 0},t().createElement("span",null,r(d)))),u&&t().createElement("div",{className:Sr()("numeric-answer-indicator",{error:m,ok:y===v})},y,"/",v),!u&&f&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"},t().createElement("a",{href:yc(o,{hash:Ee(Me(f,"question"),"display-number")}),target:"attachments"},c("material"))),t().createElement("span",{className:"e-column e-column--narrow table-of-contents--score-column"},c("points",{count:s})),u&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"},f&&t().createElement(Ka,{size:"sm",icon:ss,fixedWidth:!0})),t().createElement("div",{className:"answers"},p.map((e=>t().createElement(cg,{key:e.id,type:e.type,id:e.id,answer:h[e.id],error:e.error,displayNumber:e.displayNumber})))," "))},dg=t().memo((function({maxAnswers:e,minAnswers:n,elementType:r,childQuestions:i}){const o=i.map((e=>{return"string"==typeof(t=e)||!B(t)&&O(t)&&"[object String]"==L(t)?e:e.getAttribute("display-number");var t})),{t:a}=Ul(),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}([o.length,"*"],[e,"*"],[null!=n?n:e,"*"]).map((([e,t,n])=>`answering-instructions.${r}_${e}_${n}_${t}`)),l=[n,e],c=[gl(o),ml(o)];return t().createElement(t().Fragment,null,a(s,{answerCount:l,questions:c}))})),fg=({element:n,renderChildNodes:r})=>{const{sections:i}=(0,e.useContext)(dc),{childQuestions:o,displayNumber:a,minAnswers:s,maxAnswers:l}=(0,e.useContext)(gc),{t:c}=Ul(),{isInSidebar:u}=(0,e.useContext)(ys),d=u&&!!Pc((e=>{var t,n;return null===(n=null===(t=e.answers)||void 0===t?void 0:t.validationErrors)||void 0===n?void 0:n.find((e=>e.displayNumber===a&&"section"===(null==e?void 0:e.elementType)))})),f=Le("section",a);return t().createElement("div",{className:f?"current":""},n.hasChildNodes()&&t().createElement("div",{className:"toc-section-header-container"},t().createElement("h4",{className:"toc-section-header",id:Xl(a)},i.length>1&&c("section",{displayNumber:a})," ",r(n))),l&&t().createElement("div",{style:{display:"grid"},className:`answer-instructions-container section-${a}`},t().createElement("div",{className:Sr()("answer-instructions",{error:d})},d&&t().createElement("div",{className:"error-mark"},"!"),t().createElement("span",{className:"error-reason"},t().createElement(dg,{maxAnswers:l,minAnswers:s,childQuestions:o,elementType:"toc-section"})))))},pg=({element:n,answers:r,renderChildNodes:i})=>{const{displayNumber:o}=(0,e.useContext)(gc),a=Ae(n,"section-title");return t().createElement("li",{"data-section-id":o},a&&t().createElement(fg,{element:a,renderChildNodes:i,answers:r}),t().createElement("ol",{className:"e-list-data e-pad-l-0","aria-labelledby":a&&Xl(o)},i(n,1)))},hg=n=>{const{showAnsweringInstructions:r,isInSidebar:i}=n,o=Ms({section:mc(pg),question:yd(ug)});return t().memo((()=>{const{root:n,maxScore:a}=(0,e.useContext)(dc),{t:s}=Ul(),l=Ce(n,"max-answers"),c=i&&!!Pc((e=>{var t;return null===(t=e.answers.validationErrors)||void 0===t?void 0:t.find((e=>"exam"===(null==e?void 0:e.elementType)))})),u=t().createRef();return(0,e.useEffect)((()=>{var e;const t=e=>{const t=e.currentTarget;if(t.scrollHeight<=t.clientHeight)return;const n=e.deltaY,r=n<0&&0===t.scrollTop,i=n>0&&t.scrollTop>=t.scrollHeight-t.clientHeight;(r||i)&&e.preventDefault()};return null===(e=null==u?void 0:u.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),()=>{var e;return null===(e=null==u?void 0:u.current)||void 0===e?void 0:e.removeEventListener("wheel",t)}}),[]),t().createElement("nav",{className:"table-of-contents","aria-labelledby":nc,ref:u},!i&&t().createElement("h2",{id:nc},t().createElement("span",{className:"e-toc-heading"},s("toc-heading"))),r&&l&&t().createElement("div",{style:{display:"grid"}},t().createElement("div",{className:Sr()("answer-instructions",{error:c})},c&&t().createElement("div",{className:"error-mark exam"},"!"),t().createElement("span",{className:"error-reason"},s("max-answers-warning",{count:l})))),t().createElement(ys.Provider,{value:{isInSidebar:i}},t().createElement("ol",{className:"e-list-plain e-pad-l-0"},o(n))),t().createElement("div",{className:"e-columns"},t().createElement("strong",{className:"e-column e-total"},s("exam-total")),t().createElement("strong",{className:"e-column e-column--narrow table-of-contents--score-column"},s("points",{count:a})),i&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"})))}))},gg=JSON.parse('{"rE":"22.3.1-alpha.0"}'),mg=()=>{const e=An(window,"TEST_VERSION_NUMBER");return t().createElement("span",null,"EE v.",e||gg.rE)},yg=t().memo(wc((function({element:n,renderChildNodes:r}){const{isExternal:i}=(0,e.useContext)(xc);return i?null:t().createElement("span",{className:"exam-attachment e-mrg-b-2"},r(n))}))),vg=({selected:e,element:n,renderChildNodes:r,questionId:i,onSelect:o,direction:a,value:s})=>{const l=n.getAttribute("class"),c=t().createElement("div",{className:Sr()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":e})},r(n));return"vertical"===a?t().createElement("div",{className:"e-mrg-b-1"},t().createElement("label",{className:Sr()("e-columns",{"e-columns--inline":null==we(n,["image","video"])})},t().createElement("input",{type:"radio",className:"e-radio-button e-column e-column--narrow",name:String(i),onChange:o,value:s,checked:e}),c)):t().createElement("div",{className:"e-column e-mrg-b-1"},t().createElement("label",{className:"e-block e-text-center"},t().createElement("input",{type:"radio",className:"e-radio-button",name:String(i),onChange:o,value:s,checked:e}),c))},bg=t().memo((({element:n,renderChildNodes:r})=>{const i=Ce(n,"question-id"),o=n.getAttribute("display-number"),a=n.getAttribute("direction")||"vertical",s=n.getAttribute("class"),{questionLabelIds:l}=(0,e.useContext)(md),c=Pc((e=>e.answers.answersById[i])),u=Wc(),d=(0,e.useCallback)((e=>{u($p({type:"choice",questionId:i,value:e.currentTarget.value,displayNumber:o}))}),[i,o]);return t().createElement("div",{className:Sr()("e-choice-answer e-mrg-b-4",s,{"e-columns":"horizontal"===a}),"data-question-id":i,role:"radiogroup","aria-labelledby":l},t().createElement("span",{className:"anchor",id:`question-nr-${o}`}),Se(n,(e=>{const n=e.getAttribute("option-id"),o="no-answer"===e.getAttribute("type")?"":n,s=null!=c&&c.value===o;return t().createElement(vg,{element:e,onSelect:d,renderChildNodes:r,questionId:i,key:n,direction:a,selected:s,value:o})})))}));a(4828);const Ig=e=>"object"==typeof e&&null!=e&&1===e.nodeType,xg=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,wg=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return xg(n.overflowY,t)||xg(n.overflowX,t)||(e=>{const t=(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},Tg=(e,t,n,r,i,o,a,s)=>o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0,Mg=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t};var Ag=function(){return Ag=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},Ag.apply(this,arguments)};Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Eg=0;function Cg(){}function Ng(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function Sg(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,o)}),t)}return i.cancel=r,i}function kg(){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 jg(){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 Dg(e,t){return e&&t?Object.keys(e).reduce((function(n,r){return n[r]=function(e,t){return void 0!==e[t]}(t,r)?t[r]:e[r],n}),{}):e}function Lg(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(0===o)return-1;var a=o-1;("number"!=typeof e||e<0||e>a)&&(e=t>0?-1:a+1);var s=e+t;s<0?s=i?a:0:s>a&&(s=i?0:a);var l=Og(s,t<0,n,r,i);return-1===l?e>=o?-1:e:l}function Og(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(t){for(var a=e;a>=0;a--)if(!r(n[a],a))return a}else for(var s=e;s<o;s++)if(!r(n[s],s))return s;return i?Og(t?o-1:0,t,n,r):-1}function Rg(e,t,n,r){return void 0===r&&(r=!0),n&&t.some((function(t){return t&&(Ng(t,e,n)||r&&Ng(t,n.document.activeElement,n))}))}var Pg=Sg((function(e){zg(e).textContent=""}),500);function zg(e){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 Ug={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};var _g=Sg((function(e,t){!function(e,t){e&&t&&(zg(t).textContent=e,Pg(t))}(e,t)}),200),Bg="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect,Fg="useId"in t()?function(n){var r=n.id,i=n.labelId,o=n.menuId,a=n.getItemId,s=n.toggleButtonId,l=n.inputId,c="downshift-"+t().useId();return r||(r=c),(0,e.useRef)({labelId:i||r+"-label",menuId:o||r+"-menu",getItemId:a||function(e){return r+"-item-"+e},toggleButtonId:s||r+"-toggle-button",inputId:l||r+"-input"}).current}:function(t){var n=t.id,r=void 0===n?"downshift-"+String(Eg++):n,i=t.labelId,o=t.menuId,a=t.getItemId,s=t.toggleButtonId,l=t.inputId;return(0,e.useRef)({labelId:i||r+"-label",menuId:o||r+"-menu",getItemId:a||function(e){return r+"-item-"+e},toggleButtonId:s||r+"-toggle-button",inputId:l||r+"-input"}).current};function Gg(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Zg(t){var n=(0,e.useRef)(t);return n.current=t,n}function Hg(t,n,r,i){var o=(0,e.useRef)(),a=(0,e.useRef)(),s=(0,e.useCallback)((function(e,n){a.current=n,e=Dg(e,n.props);var r=t(e,n);return n.props.stateReducer(e,ef({},n,{changes:r}))}),[t]),l=(0,e.useReducer)(s,n,r),c=l[0],u=l[1],d=Zg(n),f=(0,e.useCallback)((function(e){return u(ef({props:d.current},e))}),[d]),p=a.current;return(0,e.useEffect)((function(){var e=Dg(o.current,null==p?void 0:p.props);p&&o.current&&!i(e,c)&&function(e,t,n){var r=e.props,i=e.type,o={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var i=t.props,o=t.type,a="on"+Gg(e)+"Change";i[a]&&void 0!==r[e]&&r[e]!==n[e]&&i[a](ef({type:o},r))}(r,e,t,n),n[r]!==t[r]&&(o[r]=n[r])})),r.onStateChange&&Object.keys(o).length&&r.onStateChange(ef({type:i},o))}(p,e,c),o.current=c}),[c,p,i]),[c,f]}var qg={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},scrollIntoView:function(e,t){if(e){var n=((e,t)=>{var n,r,i,o;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!Ig(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,p=[];let h=e;for(;Ig(h)&&d(h);){if(h=Mg(h),h===f){p.push(h);break}null!=h&&h===document.body&&wg(h)&&!wg(document.documentElement)||null!=h&&wg(h,u)&&p.push(h)}const g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,m=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,{scrollX:y,scrollY:v}=window,{height:b,width:I,top:x,right:w,bottom:T,left:M}=e.getBoundingClientRect(),{top:A,right:E,bottom:C,left:N}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let S="start"===s||"nearest"===s?x-A:"end"===s?T+C:x+b/2-A+C,k="center"===l?M+I/2-N+E:"end"===l?w+E:M-N;const j=[];for(let e=0;e<p.length;e++){const t=p[e],{height:n,width:r,top:i,right:o,bottom:c,left:u}=t.getBoundingClientRect();if("if-needed"===a&&x>=0&&M>=0&&T<=m&&w<=g&&x>=i&&T<=c&&M>=u&&w<=o)return j;const d=getComputedStyle(t),h=parseInt(d.borderLeftWidth,10),A=parseInt(d.borderTopWidth,10),E=parseInt(d.borderRightWidth,10),C=parseInt(d.borderBottomWidth,10);let N=0,D=0;const L="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-E:0,O="offsetHeight"in t?t.offsetHeight-t.clientHeight-A-C:0,R="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,P="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)N="start"===s?S:"end"===s?S-m:"nearest"===s?Tg(v,v+m,m,A,C,v+S,v+S+b,b):S-m/2,D="start"===l?k:"center"===l?k-g/2:"end"===l?k-g:Tg(y,y+g,g,h,E,y+k,y+k+I,I),N=Math.max(0,N+v),D=Math.max(0,D+y);else{N="start"===s?S-i-A:"end"===s?S-c+C+O:"nearest"===s?Tg(i,c,n,A,C+O,S,S+b,b):S-(i+n/2)+O/2,D="start"===l?k-u-h:"center"===l?k-(u+r/2)+L/2:"end"===l?k-o+E+L:Tg(u,o,r,h,E+L,k,k+I,I);const{scrollLeft:e,scrollTop:a}=t;N=0===P?0:Math.max(0,Math.min(a+N/P,t.scrollHeight-n/P+O)),D=0===R?0:Math.max(0,Math.min(e+D/R,t.scrollWidth-r/R+L)),S+=a-N,k+=e-D}j.push({el:t,top:N,left:D})}return j})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}},environment:"undefined"==typeof window?void 0:window};function Vg(e,t,n){void 0===n&&(n=Ug);var r=e["default"+Gg(t)];return void 0!==r?r:n[t]}function Yg(e,t,n){void 0===n&&(n=Ug);var r=e[t];if(void 0!==r)return r;var i=e["initial"+Gg(t)];return void 0!==i?i:Vg(e,t,n)}function Wg(e){var t=Yg(e,"selectedItem"),n=Yg(e,"isOpen"),r=function(e){var t=Yg(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}(e),i=Yg(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.findIndex((function(n){return e.itemToKey(n)===e.itemToKey(t)})):r,isOpen:n,selectedItem:t,inputValue:i}}function Qg(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,a=e.isItemDisabled,s=e.itemToKey,l=t.selectedItem,c=t.highlightedIndex;return 0===r.length?-1:void 0===i||c!==i||a(r[i],i)?void 0===o||a(r[o],o)?l?r.findIndex((function(e){return s(l)===s(e)})):n<0&&!a(r[r.length-1],r.length-1)?r.length-1:n>0&&!a(r[0],0)?0:-1:o:i}function Jg(n,r,i,o){void 0===o&&(o={});var a,s=o.document,l=(a=t().useRef(!0),t().useEffect((function(){return a.current=!1,function(){a.current=!0}}),[]),a.current);(0,e.useEffect)((function(){if(n&&!l&&s){var e=n(r);_g(e,s)}}),i),(0,e.useEffect)((function(){return function(){var e,t;_g.cancel(),(t=null==(e=s)?void 0:e.getElementById("a11y-status-message"))&&t.remove()}}),[s])}var Xg=Cg;function $g(e,t,n){var r;return void 0===n&&(n=!0),ef({isOpen:!1,highlightedIndex:-1},(null==(r=e.items)?void 0:r.length)&&t>=0&&ef({selectedItem:e.items[t],isOpen:Vg(e,"isOpen"),highlightedIndex:Vg(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function Kg(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function em(e){var t=Vg(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}var tm=ef({},{environment:Ba().shape({addEventListener:Ba().func.isRequired,removeEventListener:Ba().func.isRequired,document:Ba().shape({createElement:Ba().func.isRequired,getElementById:Ba().func.isRequired,activeElement:Ba().any.isRequired,body:Ba().any.isRequired}).isRequired,Node:Ba().func.isRequired}),itemToString:Ba().func,itemToKey:Ba().func,stateReducer:Ba().func},{getA11yStatusMessage:Ba().func,highlightedIndex:Ba().number,defaultHighlightedIndex:Ba().number,initialHighlightedIndex:Ba().number,isOpen:Ba().bool,defaultIsOpen:Ba().bool,initialIsOpen:Ba().bool,selectedItem:Ba().any,initialSelectedItem:Ba().any,defaultSelectedItem:Ba().any,id:Ba().string,labelId:Ba().string,menuId:Ba().string,getItemId:Ba().func,toggleButtonId:Ba().string,onSelectedItemChange:Ba().func,onHighlightedIndexChange:Ba().func,onStateChange:Ba().func,onIsOpenChange:Ba().func,scrollIntoView:Ba().func});Ag(Ag({},tm),{items:Ba().array.isRequired,isItemDisabled:Ba().func});var nm=Ag(Ag({},qg),{isItemDisabled:function(){return!1}}),rm=Cg,im=1,om=2,am=3,sm=4,lm=5,cm=6,um=7,dm=8,fm=9,pm=10,hm=11,gm=14,mm=19,ym=Object.freeze({__proto__:null,FunctionCloseMenu:17,FunctionOpenMenu:16,FunctionReset:21,FunctionSelectItem:mm,FunctionSetHighlightedIndex:18,FunctionSetInputValue:20,FunctionToggleMenu:15,ItemClick:gm,ItemMouseMove:13,MenuMouseLeave:12,ToggleButtonBlur:hm,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:im,ToggleButtonKeyDownArrowUp:om,ToggleButtonKeyDownCharacter:am,ToggleButtonKeyDownEnd:cm,ToggleButtonKeyDownEnter:um,ToggleButtonKeyDownEscape:sm,ToggleButtonKeyDownHome:lm,ToggleButtonKeyDownPageDown:pm,ToggleButtonKeyDownPageUp:fm,ToggleButtonKeyDownSpaceButton:dm});function vm(e,t){var n,r,i=t.type,o=t.props,a=t.altKey;switch(i){case gm:r={isOpen:Vg(o,"isOpen"),highlightedIndex:em(o),selectedItem:o.items[t.index]};break;case am:var s=t.key,l=""+e.inputValue+s;r={inputValue:l,highlightedIndex:function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,o=e.isItemDisabled,a=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+(t.length<2?1:0))%r.length,c=r[l];if(void 0!==c&&i(c).toLowerCase().startsWith(a)&&!o(c,l))return l}return n}({keysSoFar:l,highlightedIndex:!e.isOpen&&e.selectedItem?o.items.findIndex((function(t){return o.itemToKey(t)===o.itemToKey(e.selectedItem)})):e.highlightedIndex,items:o.items,itemToString:o.itemToString,isItemDisabled:o.isItemDisabled}),isOpen:!0};break;case im:r={highlightedIndex:e.isOpen?Lg(e.highlightedIndex,1,o.items,o.isItemDisabled):a&&null==e.selectedItem?-1:Qg(o,e,1),isOpen:!0};break;case om:r=e.isOpen&&a?$g(o,e.highlightedIndex,!1):{highlightedIndex:e.isOpen?Lg(e.highlightedIndex,-1,o.items,o.isItemDisabled):Qg(o,e,-1),isOpen:!0};break;case um:case dm:r=$g(o,e.highlightedIndex,!1);break;case lm:r={highlightedIndex:Og(0,!1,o.items,o.isItemDisabled),isOpen:!0};break;case cm:r={highlightedIndex:Og(o.items.length-1,!0,o.items,o.isItemDisabled),isOpen:!0};break;case fm:r={highlightedIndex:Lg(e.highlightedIndex,-10,o.items,o.isItemDisabled)};break;case pm:r={highlightedIndex:Lg(e.highlightedIndex,10,o.items,o.isItemDisabled)};break;case sm:r={isOpen:!1,highlightedIndex:-1};break;case hm:r=ef({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=o.items)?void 0:n.length)&&{selectedItem:o.items[e.highlightedIndex]});break;case mm:r={selectedItem:t.selectedItem};break;default:return function(e,t,n){var r,i=t.type,o=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Qg(o,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:Qg(o,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:o.isItemDisabled(o.items[t.highlightedIndex],t.highlightedIndex)?-1:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:em(o),isOpen:Vg(o,"isOpen"),selectedItem:Vg(o,"selectedItem"),inputValue:Vg(o,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return ef({},e,r)}(e,t,ym)}return ef({},e,r)}var bm=["onClick"],Im=["onMouseLeave","refKey","ref"],xm=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],wm=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];function Tm(t){void 0===t&&(t={}),rm(t,Tm);var n=ef({},nm,t),r=n.scrollIntoView,i=n.environment,o=n.getA11yStatusMessage,a=function(e,t,n,r){var i=Hg(e,t,n,r),o=i[0],a=i[1];return[Dg(o,t),a]}(vm,n,Wg,Kg),s=a[0],l=a[1],c=s.isOpen,u=s.highlightedIndex,d=s.selectedItem,f=s.inputValue,p=(0,e.useRef)(null),h=(0,e.useRef)(null),g=(0,e.useRef)({}),m=(0,e.useRef)(null),y=Fg(n),v=Zg({state:s,props:n}),b=(0,e.useCallback)((function(e){return g.current[y.getItemId(e)]}),[y]);Jg(o,s,[c,u,d,f],i);var I=function(t){var n=t.highlightedIndex,r=t.isOpen,i=t.itemRefs,o=t.getItemNodeFromIndex,a=t.menuElement,s=t.scrollIntoView,l=(0,e.useRef)(!0);return Bg((function(){n<0||!r||!Object.keys(i.current).length||(!1===l.current?l.current=!0:s(o(n),a))}),[n]),l}({menuElement:h.current,highlightedIndex:u,isOpen:c,itemRefs:g,scrollIntoView:r,getItemNodeFromIndex:b});(0,e.useEffect)((function(){return m.current=Sg((function(e){e({type:20,inputValue:""})}),500),function(){m.current.cancel()}}),[]),(0,e.useEffect)((function(){f&&m.current(l)}),[l,f]),Xg({props:n,state:s}),(0,e.useEffect)((function(){Yg(n,"isOpen")&&p.current&&p.current.focus()}),[]);var x=function(t,n,r){var i=(0,e.useRef)({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return(0,e.useEffect)((function(){if(!t)return Cg;var e=r.map((function(e){return e.current}));function o(){i.current.isTouchEnd=!1,i.current.isMouseDown=!0}function a(r){i.current.isMouseDown=!1,Rg(r.target,e,t)||n()}function s(){i.current.isTouchEnd=!1,i.current.isTouchMove=!1}function l(){i.current.isTouchMove=!0}function c(r){i.current.isTouchEnd=!0,i.current.isTouchMove||Rg(r.target,e,t,!1)||n()}return t.addEventListener("mousedown",o),t.addEventListener("mouseup",a),t.addEventListener("touchstart",s),t.addEventListener("touchmove",l),t.addEventListener("touchend",c),function(){t.removeEventListener("mousedown",o),t.removeEventListener("mouseup",a),t.removeEventListener("touchstart",s),t.removeEventListener("touchmove",l),t.removeEventListener("touchend",c)}}),[r,t,n]),i.current}(i,(0,e.useCallback)((function(){v.current.state.isOpen&&l({type:hm})}),[l,v]),(0,e.useMemo)((function(){return[h,p]}),[h.current,p.current])),w=Cg;(0,e.useEffect)((function(){c||(g.current={})}),[c]);var T=(0,e.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),l({type:im,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),l({type:om,altKey:e.altKey})},Home:function(e){e.preventDefault(),l({type:lm})},End:function(e){e.preventDefault(),l({type:cm})},Escape:function(){v.current.state.isOpen&&l({type:sm})},Enter:function(e){e.preventDefault(),l({type:v.current.state.isOpen?um:0})},PageUp:function(e){v.current.state.isOpen&&(e.preventDefault(),l({type:fm}))},PageDown:function(e){v.current.state.isOpen&&(e.preventDefault(),l({type:pm}))}," ":function(e){e.preventDefault();var t=v.current.state;t.isOpen?t.inputValue?l({type:am,key:" "}):l({type:dm}):l({type:0})}}}),[l,v]),M=(0,e.useCallback)((function(){l({type:15})}),[l]),A=(0,e.useCallback)((function(){l({type:17})}),[l]),E=(0,e.useCallback)((function(){l({type:16})}),[l]),C=(0,e.useCallback)((function(e){l({type:18,highlightedIndex:e})}),[l]),N=(0,e.useCallback)((function(e){l({type:mm,selectedItem:e})}),[l]),S=(0,e.useCallback)((function(){l({type:21})}),[l]),k=(0,e.useCallback)((function(e){l({type:20,inputValue:e})}),[l]),j=(0,e.useCallback)((function(e){var t=void 0===e?{}:e,n=t.onClick,r=tf(t,bm);return ef({id:y.labelId,htmlFor:y.toggleButtonId,onClick:kg(n,(function(){var e;null==(e=p.current)||e.focus()}))},r)}),[y]),D=(0,e.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onMouseLeave,o=r.refKey,a=void 0===o?"ref":o,s=r.ref,c=tf(r,Im),u=(void 0===t?{}:t).suppressRefError;return w("getMenuProps",void 0!==u&&u,a,h),ef(((n={})[a]=jg(s,(function(e){h.current=e})),n.id=y.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+y.labelId,n.onMouseLeave=kg(i,(function(){l({type:12})})),n),c)}),[l,w,y]),L=(0,e.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onBlur,o=r.onClick;r.onPress;var a=r.onKeyDown,s=r.refKey,c=void 0===s?"ref":s,u=r.ref,d=tf(r,xm),f=(void 0===t?{}:t).suppressRefError,h=void 0!==f&&f,g=v.current.state,m=ef(((n={})[c]=jg(u,(function(e){p.current=e})),n["aria-activedescendant"]=g.isOpen&&g.highlightedIndex>-1?y.getItemId(g.highlightedIndex):"",n["aria-controls"]=y.menuId,n["aria-expanded"]=v.current.state.isOpen,n["aria-haspopup"]="listbox",n["aria-labelledby"]=d&&d["aria-label"]?void 0:""+y.labelId,n.id=y.toggleButtonId,n.role="combobox",n.tabIndex=0,n.onBlur=kg(i,(function(){g.isOpen&&!x.isMouseDown&&l({type:hm})})),n),d);return d.disabled||(m.onClick=kg(o,(function(){l({type:0})})),m.onKeyDown=kg(a,(function(e){var t=function(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}(e);t&&T[t]?T[t](e):function(e){return/^\S{1}$/.test(e)}(t)&&l({type:am,key:t})}))),w("getToggleButtonProps",h,c,p),m}),[l,y,v,x,w,T]),O=(0,e.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,i=n.index,o=n.onMouseMove,a=n.onClick,s=n.onMouseDown;n.onPress;var c=n.refKey,u=void 0===c?"ref":c,d=n.disabled,f=n.ref,p=tf(n,wm);void 0!==d&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var h=v.current,m=h.state,b=h.props,w=function(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw new Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}(r,i,b.items,"Pass either item or index to getItemProps!"),T=w[0],M=w[1],A=b.isItemDisabled(T,M),E=ef(((t={})[u]=jg(f,(function(e){e&&(g.current[y.getItemId(M)]=e)})),t["aria-disabled"]=A,t["aria-selected"]=T===m.selectedItem,t.id=y.getItemId(M),t.role="option",t),p);return A||(E.onClick=kg(a,(function(){l({type:gm,index:M})}))),E.onMouseMove=kg(o,(function(){x.isTouchEnd||M===m.highlightedIndex||(I.current=!1,l({type:13,index:M,disabled:A}))})),E.onMouseDown=kg(s,(function(e){return e.preventDefault()})),E}),[v,y,x,I,l]);return{getToggleButtonProps:L,getLabelProps:j,getMenuProps:D,getItemProps:O,toggleMenu:M,openMenu:E,closeMenu:A,setHighlightedIndex:C,selectItem:N,reset:S,setInputValue:k,highlightedIndex:u,isOpen:c,selectedItem:d,inputValue:f}}Tm.stateChangeTypes=ym,ef({},tm,{items:Ba().array.isRequired,isItemDisabled:Ba().func,inputValue:Ba().string,defaultInputValue:Ba().string,initialInputValue:Ba().string,inputId:Ba().string,onInputValueChange:Ba().func}),ef({},qg,{isItemDisabled:function(){return!1}}),Ba().array,Ba().array,Ba().array,Ba().func,Ba().number,Ba().number,Ba().number,Ba().func,Ba().func,Ba().string,Ba().string;var Mm=a(7767),Am=a.n(Mm);const Em=Promise.all([new(Am())("Noto Sans",{weight:300}).load(),new(Am())("Noto Sans",{weight:400}).load(),new(Am())("Noto Sans",{weight:600}).load()]).then((()=>{Cm=!0})).catch(yl);let Cm=!1;const Nm=({id:e,size:n="small",score:r})=>{const{t:i}=Ul(),o="inline"===n?"sup":"span";return t().createElement(o,{className:Sr()("e-score e-nowrap",{"e-score--small e-font-size-m e-semibold":"small"===n,"e-score--large e-font-size-l e-semibold":"large"===n,"e-score--inline e-font-size-xs":"inline"===n}),id:e},i("points",{count:r}))},Sm=!navigator.userAgent.includes("jsdom/"),km=t().memo((({element:n,renderChildNodes:r})=>{const i=Ce(n,"question-id"),o=Ce(n,"max-score"),a=Pc((e=>e.answers.answersById[i])),s=Wc(),l=n.getAttribute("display-number"),c=a&&a.value&&Ae(n,(e=>a.value===e.getAttribute("option-id"))),u=(0,e.useRef)(null),d=t().useRef(null),[f,p]=(0,e.useState)(!0),[h,g]=(0,e.useState)(Cm);Sm&&(Em.then((()=>!h&&g(!0))).catch((e=>console.error(e))),(0,e.useEffect)((()=>p(!0)),[n]),(0,e.useEffect)((()=>{if(f&&d.current&&u.current){const t=d.current,n=u.current,r=(e=Se(t,(e=>e.firstElementChild.scrollWidth)))&&e.length?Un(e,ge,Fn):void 0,i=requestAnimationFrame((()=>{n.style.width=`${r+2+1}px`,p(!1)}));return()=>cancelAnimationFrame(i)}var e})));const m=["",...n.children],{answers:y,questionLabelIds:v}=(0,e.useContext)(md),{getItemProps:b,getMenuProps:I,getToggleButtonProps:x,highlightedIndex:w,isOpen:T,selectedItem:M}=Tm({items:m,itemToString:e=>e?e.textContent:"",onSelectedItemChange:({selectedItem:e})=>{const t=e?e.getAttribute("option-id"):"";s($p({type:"choice",questionId:i,value:t,displayNumber:l}))},initialSelectedItem:c}),{t:A}=Ul(),E=$l(n),C=(0,e.useContext)(gs),N=0!==Object.keys(C).length,S={onClick:()=>{},onMouseDown:()=>{},onMouseMove:()=>{}};return t().createElement("span",{className:"e-nowrap"},t().createElement("span",{className:"anchor",id:`question-nr-${l}`}),t().createElement("span",{className:Sr()("e-dropdown-answer e-normal"),"data-question-id":i},t().createElement("button",{className:Sr()("e-dropdown-answer__toggle-button e-button-plain e-columns",{"e-dropdown-answer__toggle-button--open":T}),...x({"aria-describedby":E,"aria-labelledby":v},{suppressRefError:!Sm})},t().createElement("span",{className:"e-dropdown-answer__label e-column e-pad-l-1 e-pad-r-4"},t().createElement("span",{className:"e-ellipsis e-block",ref:u},M?r(M):t().createElement("span",{"aria-label":A.raw("dropdown-answer.label")},be))),t().createElement("span",{className:Sr()("e-dropdown-answer__toggle-icon e-text-center e-column e-column--narrow e-column--gapless e-color-link")},t().createElement(Ka,{icon:T?is:us}))),t().createElement("span",{...I({className:Sr()("e-dropdown-answer__menu",{"e-dropdown-answer__menu--open":T}),"aria-labelledby":void 0,ref:d},{suppressRefError:!Sm})},m.map(((e,n)=>t().createElement("span",{className:Sr()("e-dropdown-answer__menu-item e-block e-pad-l-1 e-pad-r-4",{"e-dropdown-answer__menu-item--selected":e===M,"e-bg-color-off-white":w!==n,"e-bg-color-link e-color-off-white":w===n}),key:n,...b({item:e,index:n}),...N?S:{}},t().createElement("span",{className:Sr()("e-dropdown-answer__menu-item-inner e-block",{"e-nowrap":f})},e?r(e):t().createElement("span",{"aria-label":A.raw("dropdown-answer.clear")},be))))))),y.length>1&&t().createElement(Nm,{score:o,size:"inline",id:E}))})),jm=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"e-exam-footer"},n(e))})),Dm=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"exam-instruction notification e-pad-4","data-annotation-anchor":"exam-instruction"},n(e))})),Lm=t().memo((function(){const{examServerApi:n}=(0,e.useContext)(pc),{examineExam:r}=n,{t:i}=Ul();return t().createElement("button",{className:"e-button goto-examine-answers",onClick:()=>{r&&(r(),window.scrollTo(0,0))},"aria-describedby":"examineExamInstructions"},i("examine-exam.examine"))}));function Om(e){return`${ml(e.split("."))}.`}function Rm({answer:e,focusedQuestionId:n,renderChildNodes:r}){const i=Ce(e,"question-id"),o=e.getAttribute("display-number"),a=Ae(e,"hint"),s=je(e);return t().createElement("p",{className:Sr()("e-hints__hint",{"e-hints__hint--focused":n===i}),onClick:()=>{const e=document.querySelector(`.text-answer[data-question-id="${i}"]`);e&&e.focus()},"data-question-id":i},s&&Om(o)," ",r(a))}const Pm=({element:e,renderChildNodes:n})=>{const r=Pc((e=>e.answers.focusedQuestionId)),i=Te(e,["text-answer","scored-text-answer"]).filter((e=>null!=Ae(e,"hint")));return i.length>0?t().createElement("div",{className:"e-columns"},t().createElement("div",{className:"e-column e-column--8"},n(e)),t().createElement("div",{className:"e-hints e-column e-column--4","aria-hidden":"true"},i.map(((e,i)=>t().createElement(Rm,{answer:e,focusedQuestionId:r,renderChildNodes:n,key:i}))))):t().createElement(t().Fragment,null,n(e))},zm=(0,e.createContext)({expanded:!1,toggleWriterMode:()=>{}}),Um=t().memo(yd((function({element:n,renderChildNodes:r}){const i=Pc((e=>e.cas.casStatus)),{casForbidden:o}=(0,e.useContext)(gc),{displayNumber:a,level:s}=(0,e.useContext)(md),{examServerApi:l}=(0,e.useContext)(pc),[c,u]=(0,e.useState)(!1),{t:d}=Ul(),f=e=>{u(e),l.logActivity&&l.logActivity(e?`Writer mode opened for display number ${a}`:`Writer mode closed for display number ${a}`);const t=document.querySelector("body");e?null==t||t.classList.add("writer-mode"):(null==t||t.classList.remove("writer-mode"),null==t||t.classList.remove("rich-text-editor-focus"),setTimeout((()=>{var e;return null===(e=document.getElementById(`question-nr-${a}`))||void 0===e?void 0:e.scrollIntoView()}),10))},p=e=>{"Tab"===e.code&&e.preventDefault()},h=we(n,"text-answer"),g=h?Ce(h,"question-id"):null;(0,e.useEffect)((()=>{if(c){window.addEventListener("keydown",p);const e=g?document.querySelector(`[data-question-id="${g}"]`):void 0;null==e||e.focus()}return()=>window.removeEventListener("keydown",p)}),[c]);const m=t().createRef(),{addRef:y}=(0,e.useContext)(ve);return(0,e.useEffect)((()=>{(null==m?void 0:m.current)&&0===s&&y&&y(m.current)}),[]),o&&"forbidden"!==i?null:t().createElement(zm.Provider,{value:{expanded:c,toggleWriterMode:f}},t().createElement("div",{className:Sr()("e-exam-question",{"e-level-0 e-pad-b-8 e-clearfix":0===s,"e-mrg-l-8 e-mrg-y-4":s>0,"e-expanded":c}),"data-annotation-anchor":a,"data-toc-id":`question-${a}`,ref:m},t().createElement("div",{className:"anchor",id:`question-nr-${a}`}),c?t().createElement("div",{className:"full-screen","data-full-screen-id":a},t().createElement("button",{className:"expand close",onClick:()=>f(!1)},t().createElement(Ka,{icon:ns}),d("close-writing-mode")),r(n)):r(n)))}))),_m=t().memo((function({element:e,renderChildNodes:n}){const r=Wl(e);return t().createElement("div",{className:"exam-question-instruction e-mrg-b-2",id:r},n(e))})),Bm=()=>t().createElement(Ka,{size:"lg",icon:ls,fixedWidth:!0,className:"e-color-link e-mrg-r-1"}),Fm=t().memo((({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(md),c=`h${Math.min(3+a,6)}`,u=Yl(i);return t().createElement(t().Fragment,null,t().createElement(c,{id:u,className:Sr()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:Sr()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${Td(i)} `),r(n)," ",t().createElement(Nm,{score:o,size:0===a?"large":"small"})),null!=s&&l.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(Bm,null),t().createElement(dg,{maxAnswers:s,childQuestions:l,elementType:"question"})))})),Gm=({duration:n,durationRemaining:r,className:i})=>{const o=(0,e.useRef)(null),[a,s]=(0,e.useState)(!1);return(0,e.useEffect)((()=>{o.current.clientTop,s(!0)}),[]),t().createElement("div",{className:Sr()("e-progress-bar",i),ref:o},t().createElement("div",{className:Sr()("e-progress-bar__fill",{"e-progress-bar__fill--animating":a}),style:{transitionDuration:`${n}s`},role:"progressbar","aria-valuemax":n,"aria-valuemin":0,"aria-valuenow":n-r}))};function Zm(){const{t:e}=Ul();return t().createElement("p",null,t().createElement("em",null,e("end-of-exam")))}function Hm(n){const r=Wc(),{t:i}=Ul(),{casCountdownDuration:o}=(0,e.useContext)(pc);return t().createElement("div",{className:"e-cas-controls"},"forbidden"===n.casStatus?t().createElement("div",{className:"e-text-center"},t().createElement("hr",{className:"e-exam-separator"}),t().createElement("p",null,i("cas.examineSectionA"),t().createElement("br",null),i("cas.cannotEditLater")),t().createElement(Lm,null),t().createElement("p",null,i("cas.youCanReturn")),t().createElement("p",{className:"dots-separator"},"•••"),t().createElement("p",{id:"e-cas-controls-forbidden-description"},i("cas.forbidden.infoText")),t().createElement("button",{className:"e-button",id:"allow-cas",onClick:()=>{return r((e=o,(0,Gu.action)("ALLOW_CAS",e)));var e},"aria-describedby":"e-cas-controls-forbidden-description"},i("cas.forbidden.buttonText"))):"allowing"===n.casStatus?t().createElement("div",{className:"e-text-center",ref:e=>null!=e&&o===n.durationRemaining&&e.scrollIntoView()},t().createElement("hr",{className:"e-exam-separator"}),t().createElement("p",{id:"e-cas-controls-allowing-description"},i("cas.allowing.infoText")),t().createElement(Gm,{className:"e-mrg-b-2",duration:o,durationRemaining:n.durationRemaining}),t().createElement("button",{className:"e-button",id:"allow-cas-cancelled",onClick:()=>r(Xh()),ref:e=>null!=e&&o===n.durationRemaining&&e.focus(),"aria-describedby":"e-cas-controls-allowing-description"},i("cas.allowing.cancel",{count:n.durationRemaining}))):t().createElement("div",{className:"notification e-text-left e-mrg-b-0"},i("cas.allowed.infoText")))}const qm=t().memo(mc((function({element:n,renderChildNodes:r}){const i=Pc((e=>e.cas),Gc),{casForbidden:o,displayNumber:a}=(0,e.useContext)(gc),{sections:s}=(0,e.useContext)(dc),l=n===ml(s);return t().createElement(lc,{className:"exam-section","aria-labelledby":Vl(a)},r(n),o&&t().createElement(Hm,{...i}),l&&t().createElement(Zm,null))}))),Vm=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"e-mrg-b-2"},n(e))})),Ym=t().memo((function({element:n,renderChildNodes:r}){const{sections:i}=(0,e.useContext)(dc),{displayNumber:o,minAnswers:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(gc),{t:c}=Ul(),u=t().createRef(),{addRef:d}=(0,e.useContext)(ve);return(0,e.useEffect)((()=>{(null==u?void 0:u.current)&&d&&d(u.current)}),[]),t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"exam-section-title",id:Vl(o),"data-toc-id":`section-${o}`,ref:u},i.length>1&&c("section",{displayNumber:o})," ",r(n)),null!=s&&t().createElement("span",{className:"notification notification--inline"},t().createElement(Bm,null),t().createElement(dg,{maxAnswers:s,minAnswers:a,childQuestions:l,elementType:"section"})))})),Wm=e=>t().createElement("div",{className:"e-student-name-container"},e.studentName),Qm=({children:e})=>t().createElement("span",{className:"e-screen-reader-only"},e),Jm=t().memo((function({answer:e,element:n,screenshotError:r,validationError:i,selectAnswerVersion:o,showAnswerHistory:a=!1,supportsAnswerHistory:s=!1}){const{t:l}=Ul(),c=null==e?void 0:e.characterCount,u=Ce(n,"max-length");return t().createElement("div",{className:"answer-toolbar e-font-size-xs e-columns e-mrg-b-2"},t().createElement("div",{className:Sr()("answer-toolbar__answer-length e-column",{"e-color-error":null!=i})},null!=e?l(null!=u?"answer-length-with-max-length":"answer-length",{count:c,maxLength:u}):be,r?t().createElement("span",{className:"e-color-error",role:"alert"}," ",l(`answer-errors.${r.key}`,r.options)):i?t().createElement("span",null," ",l("answer-errors.answer-too-long",{count:i.characterCount})):null),t().createElement("div",{className:"answer-toolbar__history e-column e-column--narrow e-text-right"},s&&t().createElement("div",{className:"answer-toolbar__select-previous-version"},a&&null!=e?t().createElement("button",{className:"answer-toolbar__previous-versions e-link-button e-font-size-xs",onClick:()=>{if(o){const t=Ae(Me(n,"question"),"question-title");o(e.questionId,t.textContent)}}},l("previous-answer-versions")):be)))}));class Xm extends t().PureComponent{constructor(e){super(e),this.handleSaveError=e=>{const t=(()=>{switch(An(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.editorRef=t().createRef(),this.lastHTML=this.props.answer?this.props.answer.value:""}componentDidUpdate(){this.editorRef.current&&this.props.answer&&this.props.answer.value!==this.lastHTML&&(this.lastHTML=this.props.answer.value,this.editorRef.current.setValue(this.props.answer.value))}render(){const{questionId:e,className:n,labelledBy:r,answer:i,lang:o,invalid:a,saveScreenshot:s}=this.props;return t().createElement(zm.Consumer,null,(({expanded:l,toggleWriterMode:c})=>t().createElement(t().Fragment,null,t().createElement(Cr(),{ref:this.editorRef,baseUrl:"",initialValue:null==i?void 0:i.value,language:this.context.language.slice(0,2).toUpperCase(),onValueChange:this.handleChange,getPasteSource:e=>s(e).catch((e=>{throw this.handleSaveError(e),e})),textAreaProps:{ariaInvalid:a,ariaLabelledBy:r,id:e.toString(),questionId:e,className:n,lang:o}}),!l&&t().createElement("button",{className:"expand open",onClick:()=>c(!0),"aria-labelledby":"expand-label","aria-owns":String(e)},t().createElement(Km,null),t().createElement(Ka,{icon:ds})))))}}Xm.contextType=dc;const $m=Xm,Km=()=>{const{t:e}=Ul();return t().createElement("div",{className:"label",id:"expand-label"},e("open-writing-mode"))},ey=t().memo((({maxLength:e,id:n})=>{const{t:r}=Ul();return t().createElement("p",{id:n,className:"e-answer-length-info"},t().createElement(Bm,null),t().createElement("em",null,r("max-length-info",{count:e})))}));function ty(e){return e.replace(/\s/g,"").length}const ny=t().memo((({element:n,className:r})=>{const i=Ee(n,"type"),o=Ce(n,"question-id"),a=Ee(n,"display-number"),s=Ce(n,"max-score"),l=Ne(n,"use-language-of-instruction"),c=Ce(n,"max-length"),{language:u}=(0,e.useContext)(dc),{questionLabelIds:d,answers:f}=(0,e.useContext)(md),{examServerApi:p}=(0,e.useContext)(pc),[h,g]=(0,e.useState)(),m=Pc((e=>e.answers.answersById[o])),y=Pc((e=>e.answers.supportsAnswerHistory)),v=Pc((e=>e.answers.supportsAnswerHistory&&e.answers.serverQuestionIds.has(o))),b=Pc((e=>e.answers.validationErrors.find((e=>"AnswerTooLong"===e.type&&e.displayNumber===a)))),I=Wc(),x=(0,e.useRef)(null),w=m&&m.value,T=$l(n),M=null!=b,A=l?u:void 0,E=n.hasAttribute("max-length")?`${d} ${Ql(n)}`:d;(0,e.useEffect)((()=>{const{current:e}=x;e&&("single-line"!==i&&"integer"!==i||(e.style.width="0",e.style.width=`${e.scrollWidth+2}px`))}));const C=(0,e.useCallback)((e=>{const t=e.currentTarget.value.trim(),n={type:"text",questionId:o,value:t,characterCount:ty(t),displayNumber:a};I($p(n)),g(void 0)}),[o,a]),[N,S]=(0,e.useState)((null==m?void 0:m.value)||""),k=(0,e.useCallback)((e=>{e.preventDefault(),e.currentTarget.classList.remove("text-answer--integer--input-error");const t=e.currentTarget.value.trim();if(/^-?\d*$/.test(t)){S(t);const e={type:"text",questionId:o,value:t,characterCount:ty(t),displayNumber:a};I($p(e)),g(void 0)}else e.currentTarget.classList.add("text-answer--integer--input-error"),setTimeout((e=>{e.classList.remove("text-answer--integer--input-error")}),200,e.currentTarget)}),[o,a]),j=(0,e.useCallback)(((e,t)=>{const n={type:"richText",questionId:o,value:e,characterCount:ty(t),displayNumber:a};I($p(n)),g(void 0)}),[o,a]),D=(0,e.useCallback)((e=>g(e)),[h]),L=(0,e.useCallback)((()=>I((e=>(0,Gu.action)("ANSWER_FOCUSED",e))(o))),[o]),O=(0,e.useCallback)((()=>I((e=>(0,Gu.action)("ANSWER_BLURRED",e))(o))),[o]),R=(0,e.useCallback)(((e,t)=>I(((e,t)=>(0,Gu.action)("SELECT_ANSWER_VERSION",{questionId:e,questionText:t}))(e,t))),[]);switch(i){case"rich-text":return t().createElement(t().Fragment,null,null!=c&&t().createElement(ey,{maxLength:c,id:Ql(n)}),t().createElement("div",{className:"text-answer-container"},t().createElement($m,{answer:m,className:Sr()("text-answer text-answer--rich-text",r),saveScreenshot:e=>p.saveScreenshot(o,e),onChange:j,onError:D,questionId:o,lang:A,invalid:M,labelledBy:E}),t().createElement(Jm,{answer:m,element:n,selectAnswerVersion:R,showAnswerHistory:v,supportsAnswerHistory:y,screenshotError:h,validationError:b})));case"integer":return t().createElement("span",{className:"e-nowrap"},t().createElement("input",{type:"text",className:Sr()("text-answer text-answer--single-line text-answer--integer",r),value:N,onChange:k,onFocus:L,onBlur:O,ref:x,"data-question-id":o,lang:A,"aria-describedby":T,"aria-labelledby":E}),f.length>1&&t().createElement(Nm,{score:s,size:"inline",id:T}));default:return t().createElement("span",{className:"e-nowrap"},t().createElement("input",{type:"text",className:Sr()("text-answer text-answer--single-line",r),defaultValue:w,onChange:C,onFocus:L,onBlur:O,ref:x,"data-question-id":o,lang:A,"aria-describedby":T,"aria-labelledby":E}),f.length>1&&t().createElement(Nm,{score:s,size:"inline",id:T}))}})),ry=t().memo((function(e){const{element:n,renderChildNodes:r}=e,i=n.getAttribute("display-number"),o=Ae(n,"hint"),a=t().createElement(ny,{...e}),s=je(n);return t().createElement(t().Fragment,null,t().createElement("span",{className:"anchor",id:`question-nr-${i}`}),o?t().createElement("label",{className:"e-nowrap"},s&&t().createElement("sup",{className:"e-text-answer-display-number e-color-darkgrey"},Om(i)),t().createElement(Qm,null,r(o)),a):a)}));var iy=a(6660),oy=a.n(iy);class ay extends t().PureComponent{constructor(e){super(e),this.inputValueChanged=()=>{this.props.onChange(this.props.answerIndex),this.labelInputRef&&this.labelInputRef.current&&this.labelInputRef.current.scrollIntoView({block:"center"})},this.entryInputRef=t().createRef(),this.labelInputRef=t().createRef()}componentDidMount(){this.entryInputRef.current&&0===this.props.answerIndex&&this.entryInputRef.current.focus()}render(){const{selected:e,croppedAnswer:n,characterCount:r,screenshotCount:i,answerIndex:o,minutesSinceAnswer:a}=this.props;return t().createElement("label",{ref:this.labelInputRef,className:"js-undo-history-entry"},t().createElement("input",{type:"radio",className:"e-undo-view-entry-tab",name:"undoHistory",value:o,checked:e,onChange:this.inputValueChanged,ref:this.entryInputRef}),t().createElement(sy,{croppedAnswer:n,characterCount:r,screenshotCount:i,answerIndex:o,minutesSinceAnswer:a}))}}const sy=({croppedAnswer:e,characterCount:n,screenshotCount:r,answerIndex:i,minutesSinceAnswer:o})=>{const{t:a}=Ul(),s=[n>0?a("undo.answerCharacterCount",{count:n}):null,r>0?a("undo.answerImageCount",{count:r}):null].filter((e=>null!==e));return t().createElement("div",{className:"e-undo-view-entry js-undo-entry-content"},t().createElement("div",{className:"js-undo-history-entry-time"},0===i?a("undo.latestVersion"):a("undo.minutesSinceAnswer",{minutes:o})),t().createElement("div",{className:"e-undo-view-answer-cropped js-undo-history-entry-answer"},e||a("undo.answerNoText")),t().createElement("div",{className:"e-undo-view-answer-length js-undo-history-entry-stats"},s.map(((e,n)=>t().createElement(t().Fragment,{key:n},e,n<s.length-1&&t().createElement("span",null,", "))))))};var ly=a(4867),cy=a.n(ly);const uy=oy().CancelToken;function dy(e){return{type:e.type,value:e.value,answerTime:e.answer_time,characterCount:e.character_count}}function fy(e){const{selectedAnswer:n}=e;return n?"richText"===n.type?t().createElement("div",{className:"e-undo-view-answer-content js-undo-answer-detail",dangerouslySetInnerHTML:{__html:n.value}}):t().createElement("div",{className:"e-undo-view-answer-content js-undo-answer-detail plainText"},n.value):null}function py(e){const{selectedAnswer:n,selectedAnswerIndex:r,restoreAnswer:i,questionId:o}=e,a=!n||0===r;return t().createElement("div",{className:"e-undo-view-bottom-bar"},t().createElement("button",{className:"e-button-default e-button js-restore-answer-button",disabled:a,onClick:()=>n&&i({...n,questionId:o})},t().createElement(xy,null)))}function hy(e){return("text"===e.type?e.value:function(e){const t=document.createElement("div");return t.innerHTML=e,t.innerText}(e.value)).replace(/\s+/g," ").trim()}function gy(e,t=50){const n=hy(e);if(n.length<=t)return n;const r=t-1,i=Math.ceil(r/2),o=r-i;return n.substr(0,i)+"…"+n.substr(n.length-o)}function my(e){return hy(e).replace(/\s/g,"").length}function yy(e){const t=document.createElement("div");t.innerHTML=e.value;const n=t.querySelectorAll("img").length,r=t.querySelectorAll('img[src=""]').length;return n-t.querySelectorAll('img[src^="/math.svg"], img[src^="data:image/svg+xml"]').length-r}class vy extends t().PureComponent{constructor(e){super(e),this.source=uy.source(),this.toggleBodyScroll=e=>document.documentElement.classList.toggle("e-exam-body-no-scroll",!e),this.keydownListener=e=>{if(13===e.keyCode){const e=this.state.answers[this.state.selectedAnswerIndex];this.props.restoreAnswer({...e,questionId:this.props.questionId}),this.close()}else 27===e.keyCode&&this.close()},this.state={answers:[],selectedAnswerIndex:0,loading:!0,loadRetryTimeout:null}}componentDidMount(){this.toggleBodyScroll(!1),document.addEventListener("keydown",this.keydownListener,!1),this.fetchAnswerHistory(this.props.questionId)}componentWillUnmount(){this.source.cancel(),document.removeEventListener("keydown",this.keydownListener,!1),this.toggleBodyScroll(!0)}componentDidUpdate(e){this.props.questionId!==e.questionId&&this.fetchAnswerHistory(this.props.questionId)}overlayClicked(e){e.target.className.includes("js-undo-overlay")&&this.close()}async fetchAnswerHistory(e){try{const t=(await oy().get(`/rest/answer-history/${e}`,{cancelToken:this.source.token})).data.map(dy);this.setState({answers:t,selectedAnswerIndex:0,loading:!1,loadRetryTimeout:null})}catch(t){oy().isCancel(t)||this.setState({loadRetryTimeout:window.setTimeout((()=>{this.fetchAnswerHistory(e)}),4e3)})}}close(){const e=this.state.loadRetryTimeout;e&&clearTimeout(e),this.source.cancel(),this.props.close()}render(){const e=this.state.answers[this.state.selectedAnswerIndex],n=(new Date).getTime();return t().createElement(cy(),null,t().createElement("div",{onClick:this.overlayClicked.bind(this),className:"e-overlay js-undo-overlay","aria-modal":"true"},t().createElement("div",{id:"undo",className:"e-undo-view"},t().createElement(Iy,{close:this.close.bind(this)}),this.state.loading?t().createElement(by,null):t().createElement("div",{className:"e-undo-view-content"},t().createElement("div",{className:"e-undo-view-answer-index js-undo-answer-index"},this.state.answers.map(((e,r)=>{const i=n-new Date(e.answerTime).getTime(),o=Math.round(i/1e3/60);return t().createElement(ay,{key:new Date(e.answerTime).getTime(),answerIndex:r,selected:r===this.state.selectedAnswerIndex,onChange:e=>this.setState({selectedAnswerIndex:e}),croppedAnswer:gy(e),minutesSinceAnswer:o,characterCount:my(e),screenshotCount:yy(e)})}))),t().createElement("div",{className:"e-undo-view-right-panel"},t().createElement("div",{className:"e-undo-view-header js-undo-view-header"},t().createElement("h3",{className:"e-undo-view-title js-undo-view-title"},this.props.title)),t().createElement(fy,{selectedAnswer:e}),t().createElement(py,{selectedAnswer:e,selectedAnswerIndex:this.state.selectedAnswerIndex,restoreAnswer:this.props.restoreAnswer,questionId:this.props.questionId}))))))}}const by=()=>{const{t:e}=Ul();return t().createElement("div",{style:{padding:"10px"}},e("undo.loading"))},Iy=({close:e})=>{const{t:n}=Ul();return t().createElement("div",null,t().createElement("img",{src:"img/closeButton.svg",id:"closeUndoDialogButton",className:"e-undo-view-close-overlay-button js-close-undo-dialog-button",onClick:e,tabIndex:0,role:"button","aria-label":n("undo.close")}))},xy=()=>{const{t:e}=Ul();return t().createElement("div",null,e("undo.restoreAnswer"))},wy=e=>{const{t:n}=Ul(),{displayNumber:r,elementType:i}=e;return t().createElement("div",null,"exam"!==i&&"toc-section"!==i?n(i,{displayNumber:r})||t().createElement(Ay,{...e}):""," ",t().createElement(dg,{...e}))},Ty=({displayNumber:e,characterCount:n})=>{const{t:r}=Ul();return t().createElement("div",null,r("question",{displayNumber:e})," ",r("answer-errors.answer-too-long",{count:n}))};function My({validationErrors:e,inExam:n}){return e.length>0?t().createElement("div",{className:Sr()({"error-indicator e-bg-color-error e-color-off-white":n,"e-font-size-xs":n},"e-columns e-columns--inline e-pad-1 e-mrg-r-1"),role:"alert"},t().createElement("div",{className:"e-column e-column--narrow",style:{color:"#f90"}},t().createElement(Ka,{size:"lg",icon:fs,fixedWidth:!0,className:"e-mrg-r-1"})),t().createElement("div",{className:"e-column e-column--gapless"},e.map((e=>{const n=e.type+e.displayNumber;return"ExtraAnswer"===e.type?t().createElement(wy,{...e,key:n}):t().createElement(Ty,{...e,key:n})})))):null}const Ay=({elementType:n,displayNumber:r})=>{if("section"===n){const{root:n}=(0,e.useContext)(dc),i=Ae(n,(e=>"section"===e.localName&&e.getAttribute("display-number")===r));if(i){const e=Ae(i,"section-title");if(e)return t().createElement(t().Fragment,null,`${e.textContent.trim()}:`)}}return null},Ey=t().memo((()=>{const e=Pc((e=>e.answers.validationErrors));return t().createElement(My,{validationErrors:e,inExam:!0})})),Cy=t().memo((function(){const e=Pc(Kc),{t:n}=Ul();return"initial"===e?null:t().createElement("div",{className:"save-indicator e-pad-1 e-font-size-xs"},t().createElement("span",{className:Sr()("save-indicator-text",`save-indicator-text--${e}`)},n("answer-saved")))})),Ny=Ms({attachment:yg,"attachment-link":bc("link"),"attachment-links":Ic("link"),audio:Xu,"audio-title":ac,"audio-group":ig,"audio-test":og,"choice-answer":bg,"dropdown-answer":km,"exam-footer":jm,"external-material":Ku,file:ed,formula:td,image:id,question:Um,"question-number":vd,translation:bd,"question-instruction":_m,"question-title":Fm,hints:Pm,references:lg,"scored-text-answer":ry,"scored-text-answers":Pm,"section-instruction":Vm,section:qm,"section-title":Ym,"text-answer":ry,video:cd,"image-overlay":gd}),Sy=()=>{const{t:e}=Ul();return t().createElement("div",{className:"e-examine-exam-instructions",id:"examineExamInstructions"},e("examine-exam.instructions"))},ky=t().memo(hc(fc((({doc:n,casStatus:r,answers:i,restrictedAudioPlaybackStats:o,examServerApi:a,studentName:s,showUndoView:l,undoViewProps:c,annotations:u,onClickAnnotation:d,onSaveAnnotation:f})=>{const{date:p,dateTimeFormatter:h,dayCode:g,examCode:m,language:y,resolveAttachment:b,root:I,subjectLanguage:x}=(0,e.useContext)(dc),w=Ae(I,"exam-title"),T=Ae(I,"exam-instruction"),M=Ae(I,"table-of-contents"),A=Ae(I,"external-material"),E=I.getAttribute("exam-stylesheet"),C=(0,e.createRef)(),N=ic((()=>rg(Nd(n),r,i,o,a))),S=ic((()=>hg({showAttachmentLinks:!0,showAnsweringInstructions:!0,isInSidebar:!0}))),k=ic((()=>hg({showAttachmentLinks:!0,showAnsweringInstructions:!0,isInSidebar:!1}))),j=ic((()=>zl(y,m,g)));(0,e.useEffect)(_l(j,y)),(0,e.useEffect)(rc,[]);const[D,L]=(0,e.useState)([]);(0,e.useEffect)((()=>{const e=new IntersectionObserver(O),t=D;return t.forEach((t=>e.observe(t))),()=>{t.forEach((t=>e.unobserve(t)))}}),[D]);const O=e=>e.forEach((e=>{const t=e.target.getAttribute("data-toc-id");P((n=>e.isIntersecting?[...n,t]:n.filter((e=>e!==t))))})),[R,P]=(0,e.useState)([]);(0,e.useEffect)((()=>{R.forEach((e=>{const t=e.replace("question-",""),n=document.querySelector(`.table-of-contents li[data-list-number="${t}."]`);if(n){const e=(e=>{const t=e.getBoundingClientRect();return t.top>=100&&t.bottom<=window.innerHeight-100})(n),t=document.querySelector(".sidebar-toc-container .table-of-contents");if(!e&&t){const e=t.getBoundingClientRect().height,r=n.offsetTop-e/2;t.scrollTo({behavior:"smooth",top:r})}}}))}),[R]);const z=void 0!==a.examineExam,U="[Kokelaan Nimi]"===s;return t().createElement(Zc,{store:N},t().createElement(ms,{annotations:u,onClickAnnotation:d,onSaveAnnotation:f},t().createElement(ve.Provider,{value:{visibleTOCElements:R,addRef:e=>{D.includes(e)||L((t=>[...t,e]))}}},t().createElement(v,{i18n:j},t().createElement("main",{className:"e-exam",lang:x,"aria-labelledby":Hl,ref:C},t().createElement(t().StrictMode,null),E&&t().createElement("link",{rel:"stylesheet",href:b(E)}),t().createElement("div",{className:"e-toc-and-exam"},M&&t().createElement("div",{className:"sidebar-toc-container","aria-hidden":"true"},t().createElement(S,{element:M,renderChildNodes:Ny})),t().createElement("div",{className:"main-exam-container"},t().createElement("div",{className:"main-exam"},t().createElement(Wm,{studentName:s}),t().createElement(lc,{"aria-labelledby":Hl},w&&t().createElement(oc,{id:Hl},Ny(w)),p&&t().createElement("p",null,t().createElement("strong",null,h.format(p))),T&&t().createElement(Dm,{element:T,renderChildNodes:Ny}),M&&t().createElement("div",{className:"main-toc-container"},t().createElement(k,{element:M,renderChildNodes:Ny})),A&&t().createElement(Ku,{element:A,renderChildNodes:Ny,forceRender:!0})),Ny(I),(U||z)&&t().createElement("div",{className:"e-examine-exam"},t().createElement(Lm,null),t().createElement(Sy,null))))),(U||z)&&t().createElement(ag,null,t().createElement("div",{className:"e-footer-version-number-container"},t().createElement(mg,null))),t().createElement("div",{className:"e-indicators-container"},t().createElement(Ey,null),t().createElement(Cy,null)),l&&z&&t().createElement(vy,{...c}))))))})))),jy=e=>n=>{const r=r=>e(r)?t().createElement(n,{...r}):null;return r.displayName=`RenderIf(${cc(n)})`,r},Dy=t().createContext({}),Ly=({element:n,renderChildNodes:r})=>{const{EditorComponent:i}=(0,e.useContext)(Dy),{displayNumber:o}=(0,e.useContext)(md);return t().createElement("div",{className:"e-answer-grading-instruction e-multiline-results-text-answer e-mrg-b-2 e-pad-l-2"},i?t().createElement(i,{element:n,displayNumber:o}):r(n))},Oy=({element:n,renderChildNodes:r})=>{const{answers:i}=(0,e.useContext)(md),o=Ae(n,"answer-grading-instruction"),a=Ce(n,"max-length"),s=t().createElement(t().Fragment,null,null!=a&&t().createElement(ey,{maxLength:a}),t().createElement("ul",null,r(n)),o&&t().createElement(Ly,{element:o,renderChildNodes:r}));if(1===i.length)return s;{const e=Ee(n,"display-number"),i=Ce(n,"max-score"),o=Ae(n,"hint");return t().createElement("div",{className:"e-mrg-l-8"},t().createElement("p",{className:"exam-question-title"},t().createElement("span",{className:"exam-question-title__display-number--indented e-semibold"},e," "),o&&r(o)," ",t().createElement(Nm,{score:i})),s)}},Ry=({element:e,renderChildNodes:n})=>{const r=Ce(e,"score");if(!r)return null;const{t:i}=Ul();return t().createElement("li",null,n(e),be,"(",i("points",{count:r}),")")},Py=({element:e,renderChildNodes:n})=>t().createElement("div",{className:"e-exam-grading-instruction notification e-pad-4","data-annotation-anchor":"exam-grading-instruction"},n(e)),zy=yd((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o}=(0,e.useContext)(md);return t().createElement("div",{className:Sr()("e-grading-instructions-question",{"e-mrg-b-8 e-clearfix":0===o,"e-mrg-l-8 e-mrg-y-4":o>0}),id:i,"data-annotation-anchor":i},t().createElement("div",{className:"anchor",id:`question-nr-${i}`}),r(n,1))})),Uy=({element:e,renderChildNodes:n})=>{const r=Ae(e,["audio-transcription","video-transcription"]);if(r){const{t:i}=Ul(),o=Ae(e,["audio-title","video-title"]);return t().createElement("details",{className:"e-grading-instruction-recording e-pad-1 e-mrg-b-2"},t().createElement("summary",null,t().createElement("strong",null,i("recording"))," ",o&&t().createElement("em",null,n(o))),n(r))}return null},_y=mc((({element:n,renderChildNodes:r})=>{const{displayNumber:i}=(0,e.useContext)(gc);return t().createElement(lc,{className:"e-grading-instruction-section","aria-labelledby":Vl(i)},r(n))})),By=({EditorComponent:e,children:n})=>t().createElement(Dy.Provider,{value:{EditorComponent:e}},n),Fy=jy((({element:e})=>null!=Me(e,["answer-grading-instruction","choice-answer-option","dropdown-answer-option","exam-grading-instruction","question-grading-instruction","hint","question-title","question-instruction"]))),Gy=jy((({element:e})=>null==Me(e,["external-material"]))),Zy=Ms({"accepted-answer":Ry,attachment:sc,"attachment-link":Gy(bc("plain")),"attachment-links":Gy(Ic("plain")),audio:Uy,"audio-group":sc,"choice-answer":Oy,"choice-answer-option":Ry,"dropdown-answer":Oy,"dropdown-answer-option":Ry,"external-material":sc,file:Fy(ed),formula:Fy(td),hints:sc,image:Fy(id),question:zy,"question-title":({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a}=(0,e.useContext)(md),s=`h${Math.min(3+a,6)}`;return t().createElement(t().Fragment,null,t().createElement(s,{className:Sr()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:Sr()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${Td(i)} `),r(n)," ",t().createElement(Nm,{score:o,size:0===a?"large":"small"})))},"question-instruction":_m,"question-grading-instruction":Ly,"question-number":vd,translation:bd,"scored-text-answer":Oy,"text-answer":Oy,section:_y,"section-title":({element:n,renderChildNodes:r})=>{const{sections:i}=(0,e.useContext)(dc),{displayNumber:o}=(0,e.useContext)(gc),{t:a}=Ul();return t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"e-grading-instructions-section-title",id:Vl(o)},i.length>1&&a("section",{displayNumber:o})," ",r(n)))},video:Uy}),Hy=()=>{const{t:e}=Ul();return t().createElement(t().Fragment,null,e("grading-instructions-page-title"))},qy=t().memo(fc((({doc:n,annotations:r,onClickAnnotation:i,onSaveAnnotation:o,EditorComponent:a})=>{const s=n.documentElement,{date:l,dateTimeFormatter:c,dayCode:u,examCode:d,language:f,subjectLanguage:p}=(0,e.useContext)(dc),h=Ae(s,"exam-title"),g=Ae(s,"exam-grading-instruction"),m=Ae(s,"table-of-contents"),y=hg({showAnsweringInstructions:!1,showAttachmentLinks:!1,isInSidebar:!1}),b=ic((()=>zl(f,d,u)));return(0,e.useEffect)(_l(b,f)),(0,e.useEffect)(rc,[]),t().createElement(ms,{annotations:r,onClickAnnotation:i,onSaveAnnotation:o},t().createElement(By,{EditorComponent:a},t().createElement(v,{i18n:b},t().createElement("main",{className:"e-exam e-grading-instructions",lang:p},t().createElement(t().StrictMode,null),t().createElement(lc,{"aria-labelledby":Hl},t().createElement(oc,{id:Hl},t().createElement(Hy,null)," ",h&&Zy(h)),l&&t().createElement("p",null,t().createElement("strong",null,c.format(l))),g&&t().createElement(Py,{element:g,renderChildNodes:Zy}),m&&t().createElement("div",{className:"main-toc-container"},t().createElement(y,{element:m,renderChildNodes:Zy}))),Zy(s)))))}))),Vy=t().createContext({}),Yy=uc(Vy,(({scores:e,doc:t,gradingStructure:n,gradingText:r,answers:i,singleGrading:o})=>{const a=Rd(i,"questionId"),s=function(e,t,n,r){return Pn(e.map((e=>function(e,t,n,r){const i=Pn(ke(e).map((e=>{const i=Ce(e,"question-id"),o=r[i];return o?"choice"===o.type?((e,n)=>{var r;const i=Wy(t,e);return i?null===(r=i.options.find((e=>e.id===Number(n.value))))||void 0===r?void 0:r.score:0})(i,o):(e=>{var t,r;const i=Qy(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})));return 0===Ie(e,"question").length&&i<0?0:i}(e,t,n,r))))}(Te(t.documentElement,"question",!1),n,e,a);return{answersByQuestionId:a,gradingStructure:n,scores:e,totalScore:s,gradingText:r,singleGrading:o}}));function Wy(e,t){const n=(null==e?void 0: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 Qy(e,t){return e.find((e=>e.questionId===t))}const Jy=()=>{const{gradingStructure:t}=(0,e.useContext)(Vy);return void 0===t},Xy=t().memo((function({answers:n,displayNumber:r,children:i,multilineAnswer:o,questionId:a}){var s;const{displayNumber:l}=(0,e.useContext)(md),c=Jy(),u=r?`${l}.${null==r?void 0:r.replace(".","")}`:void 0,{answersByQuestionId:d}=(0,e.useContext)(Vy),f=!(!a||!d)&&(null===(s=d[a])||void 0===s?void 0:s.answerNonAnswer),{t:p}=Ul();return c?null:t().createElement("span",{className:Sr()("e-result-scorecount","e-float-right",{"e-result-scorecount-multiline-answer":o}),id:u},f&&t().createElement("div",{className:"non-answer"},p("grading.non-answer-not-graded")),t().createElement("span",{className:"e-result-scorecount-border-wrap"},n.length>1&&r&&t().createElement("sup",{className:"e-result-scorecount-sup e-mrg-r-1","aria-hidden":"true"},r),i))})),$y=t().memo((function({score:n,maxScore:r,displayNumber:i,questionId:o}){const{answers:a}=(0,e.useContext)(md),{t:s}=Ul(),l={answers:a,displayNumber:i,questionId:o};return t().createElement(Xy,{...l},"number"==typeof n?t().createElement("b",null,n):t().createElement("span",{className:"e-result-scorecount-empty"})," ",r?`/ ${r} `:null," ",s("points",{count:""}))}));function Ky({renderChildNodes:e,selected:n,element:r,questionId:i,direction:o,isCorrect:a}){const{t:s}=Ul(),l=r.getAttribute("class"),c=r.getAttribute("option-id"),u=t().createElement("div",{className:Sr()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":n})},e(r)),d=({narrow:e=!1})=>t().createElement(t().Fragment,null,t().createElement("input",{type:"radio",className:Sr()("e-radio-button",{"e-column e-column--narrow":e}),name:String(i),value:c,checked:n,readOnly:!0}),u,a&&t().createElement(Qm,null,s("screen-reader.correct-answer")));return"vertical"===o?t().createElement("div",{className:"e-mrg-b-1"},t().createElement("label",{className:Sr()("e-columns",{"e-correct-answer-left":a,"e-columns--inline":null==we(r,["image","video"])})},t().createElement(d,{narrow:!0}))):t().createElement("div",{className:"e-column e-mrg-b-1"},t().createElement("label",{className:Sr()("e-block e-text-center",{"e-correct-answer-bottom":a})},t().createElement(d,null)))}const ev=t().memo((function({element:n,renderChildNodes:r}){var i,o;const{answersByQuestionId:a,gradingStructure:s}=(0,e.useContext)(Vy),l=Ce(n,"question-id"),c=a[l],u=n.getAttribute("direction")||"vertical",d=n.getAttribute("class"),f=Wy(s,l),p=c&&(null===(o=null===(i=null==f?void 0:f.options)||void 0===i?void 0:i.find((e=>e.id===Number(c.value))))||void 0===o?void 0:o.score),h=Ce(n,"max-score");return t().createElement(t().Fragment,null,t().createElement($y,{score:p,maxScore:h,questionId:l}),t().createElement("div",{className:Sr()("e-choice-answer",d,{"e-columns":"horizontal"===u})},Se(n,(e=>{var n;const i=Ce(e,"option-id"),o=null!=c&&Number(c.value)===i,a=null===(n=null==f?void 0:f.options)||void 0===n?void 0:n.find((e=>e.id===i));return t().createElement(Ky,{element:e,renderChildNodes:r,questionId:l,key:i,direction:u,selected:o,isCorrect:(null==a?void 0:a.correct)||!1})}))))})),tv=t().memo((function({element:n,renderChildNodes:r}){var i;const{t:o,i18n:a}=Ul(),{answersByQuestionId:s,gradingStructure:l}=(0,e.useContext)(Vy),{answers:c}=(0,e.useContext)(md),u=Ce(n,"question-id"),d=s[u],f=Ae(n,(e=>(null==d?void 0:d.value)===e.getAttribute("option-id"))),p=Jy(),h=Wy(l,u),g=(null==h?void 0:h.options.filter((e=>e.correct)).map((e=>e.id)))||[],m=Array.from(n.children).filter((e=>g.includes(Ce(e,"option-id")))),y=f&&g.includes(Ce(f,"option-id")),v=Om(n.getAttribute("display-number")),b=d&&(null===(i=null==h?void 0:h.options.find((e=>e.id===Number(d.value))))||void 0===i?void 0:i.score)||0,I=Ce(n,"max-score");return t().createElement(t().Fragment,null,c.length>1&&t().createElement("sup",null,v),t().createElement("span",{className:Sr()("e-dropdown-answer__answered",!f&&"e-dropdown-answer__no-answer",!p&&{"e-dropdown-answer__answered--correct":y,"e-dropdown-answer__answered--wrong":!y}),"data-question-id":u,"aria-description":f?void 0:a.t("examineExam.questionHasNoAnswer")},t().createElement(Qm,null,o("screen-reader.answer-begin")),f&&r(f),t().createElement(Qm,null,o("screen-reader.answer-end")),y&&t().createElement(Qm,null,o("screen-reader.correct-answer"))),!p&&!y&&t().createElement("span",{className:"e-dropdown-answer__correct","aria-hidden":!0},m.map(((e,n)=>t().createElement(t().Fragment,{key:n},r(e),n<m.length-1&&", ")))),null!=b&&t().createElement($y,{score:b,maxScore:I,displayNumber:v,questionId:u}))}));function nv({pregradingAnnotations:e,censoringAnnotations:n,singleGrading:r}){return e.length||n.length?t().createElement("div",{className:"e-annotation-list e-columns e-mrg-t-2"},r?t().createElement("div",{className:"e-column e-column--10"},t().createElement(rv,{annotations:e})):t().createElement(t().Fragment,null,t().createElement("div",{className:"e-column e-column--6"},t().createElement(rv,{i18nTitleKey:"grading.pregrading-annotations",annotations:e})),t().createElement("div",{className:"e-column e-column--6"},t().createElement(rv,{i18nTitleKey:"grading.censor-annotations",annotations:n})))):null}const rv=({i18nTitleKey:e,annotations:n})=>{const{t:r}=Ul();return n?t().createElement(t().Fragment,null,e&&t().createElement("h5",null,r(e)),t().createElement("ol",{className:"e-list-data e-pad-l-0 e-font-size-s"},n.map((({numbering:e,message:n})=>t().createElement("li",{"data-list-number":e,key:e},n))))):null},iv=t().memo((function(){const{answers:n}=(0,e.useContext)(md),{scores:r,singleGrading:i}=(0,e.useContext)(Vy),o=function(e,t){const n=[];for(let r=0;r<e.length;r++){const i=t(e[r]);void 0!==i&&n.push(i)}return n}(n||[],(e=>{const t=Ce(e,"question-id"),n=Qy(r,t);return n&&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))})(n)?[e,n]:void 0})),a=(e,t,r=0)=>Vp(e,(([e,i])=>{var o,a,s;return null!==(s=null===(a=null===(o=i[t])||void 0===o?void 0:o.annotations)||void 0===a?void 0:a.filter((e=>e.message.length)).map(((t,i)=>{const o=`${((e,t)=>e.length>1?Om(t.getAttribute("display-number")):"")(n,e)+String(r+i+1)})`;return{numbering:o,message:t.message}})))&&void 0!==s?s:[]})),s=a(o,"pregrading"),l=a(o,"censoring",s.length);return t().createElement(nv,{pregradingAnnotations:s,censoringAnnotations:l,singleGrading:!!i})})),ov=t().memo(yd((function({element:n,renderChildNodes:r}){var i,o;const{answersByQuestionId:a,gradingStructure:s}=(0,e.useContext)(Vy),{displayNumber:l,level:c}=(0,e.useContext)(md),u=function(e,t){return ke(e).some((e=>{var n;return null===(n=t[Ce(e,"question-id")])||void 0===n?void 0:n.value}))}(n,a),{i18n:d}=Ul(),f=null===(i=null==s?void 0:s.questions)||void 0===i?void 0:i.find((e=>e.displayNumber===l)),p=f&&("choices"in f?f.choices[0].id:f.id),h=!!p&&(null===(o=a[p])||void 0===o?void 0:o.answerNonAnswer);return t().createElement("div",{className:Sr()("e-exam-question",`e-level-${c}`,{"e-mrg-b-8 e-clearfix":0===c,"e-mrg-l-8 e-mrg-y-4":c>0,"no-answer":!u,"non-answer":h}),id:l,"aria-description":u?void 0:d.t("examineExam.questionHasNoAnswer")},r(n),t().createElement(iv,null))}))),av=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o,maxAnswers:a,maxScore:s,childQuestions:l}=(0,e.useContext)(md),c=`h${Math.min(3+o,6)}`,u=Jy();return t().createElement(t().Fragment,null,t().createElement(c,{className:Sr()("exam-question-title",{"e-normal e-font-size-m":o>0})},t().createElement("strong",{className:Sr()("exam-question-title__display-number",{"exam-question-title__display-number--indented":o>0})},`${Td(i)} `),r(n)," ",u&&t().createElement(Nm,{score:s,size:0===o?"large":"small"})),null!=a&&l.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(Bm,null),t().createElement(dg,{maxAnswers:a,childQuestions:l,elementType:"question"})))})),sv=t().memo(mc((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(gc);return t().createElement(lc,{"aria-labelledby":Vl(i)},t().createElement("div",{className:"e-results-section-wrapper"},r(n)))}))),lv=5;function cv(e,t,n,r=!0){const i=[...t,...n],o=i.filter((e=>e.message));for(const[n,a]of i.entries()){const i=t.includes(a)?"pregrading":"censoring",s=o.indexOf(a)+1||void 0,l="pregrading"===i?n:n-t.length;switch(a.type){case"line":case"rect":fv(e,a,i,l,s,r);break;default:hv(e,a,i,l,s,r)}}}function uv(e,t){const n=e.style,r=e=>100*e+"%";"rect"===t.type?(n.left=r(t.x),n.top=r(t.y),n.right=r(1-(t.x+t.width)),n.bottom=r(1-(t.y+t.height))):(n.left=r(t.x1),n.top=r(t.y1),n.right=r(1-t.x2),n.bottom=r(1-t.y2))}function dv(e){const t=e.parentElement;if(t instanceof HTMLSpanElement)return t;const n=De("span",{className:"e-annotation-wrapper"});return t.insertBefore(n,e),n.appendChild(e),n}function fv(e,t,n,r,i,o){const{attachmentIndex:a}=t;return pv(e.querySelectorAll("img")[a],o?t.message:"",t,n,r,i)}function pv(e,t,n,r,i,o){const a=dv(e),s=function(){const e=De("mark",{className:Sr()("e-annotation e-annotation--shape",{"e-annotation--pregrading":"pregrading"===r,"e-annotation--censoring":"censoring"===r}),title:t,"data-list-index":String(i),"data-type":r,...o&&{"data-index":String(o)},...n.message&&{"data-message":n.message}});return uv(e,n),o&&e.appendChild(gv(o,"shape",n.message)),e}();return a.appendChild(s),s}function hv(e,t,n,r,i,o){const{startIndex:a,length:s}=t;return function e(f,p,h){var g;if(!l(f)&&!function(e){return"SUP"===e.nodeName}(f)&&!function(e){return"BR"===e.nodeName}(f)&&p>=a){const a=De("mark",{className:Sr()("e-annotation",{"e-annotation--pregrading":"pregrading"===n,"e-annotation--censoring":"censoring"===n}),title:o?t.message:"","data-list-index":String(r),"data-type":n,...i&&{"data-index":String(i)},...t.message&&{"data-message":t.message}});null===(g=f.parentElement)||void 0===g||g.insertBefore(a,f);const l=d(a,f,h);l>0?e(c(a),p+s-l,l):i&&a.appendChild(gv(i,"text",t.message))}else f instanceof Text&&p+u(f)>a&&f.splitText(a-p),e(function(e){return l(e)?e.childNodes[0]:c(e)}(f),p+u(f),h)}(e.childNodes[0],0,s);function l(e){return"MARK"===e.nodeName}function c(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 c(r)}function u(e){return e instanceof Text?e.length:function(e){return"IMG"===e.nodeName||"SPAN"===e.nodeName}(e)?1:0}function d(e,t,n){if(!t||l(t)||0===n)return n;t instanceof Text&&u(t)>0&&u(t)>n&&t.splitText(n);const r=t.nextSibling;return e.appendChild(t),d(e,r,n-u(t))}}function gv(e,t,n){return De("sup",{className:`e-annotation__index e-annotation__index--${t}`,"data-content":n.length>lv?`${e})`:n,"data-message":n})}const mv=t().memo((function({displayNumber:n,score:r,value:i,answers:o,children:a}){const{t:s,i18n:l}=Ul(),c=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;c.current&&cv(c.current,null!==(t=null===(e=null==r?void 0:r.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==t?t:[],null!==(i=null===(n=null==r?void 0:r.censoring)||void 0===n?void 0:n.annotations)&&void 0!==i?i:[])})),t().createElement(t().Fragment,null,n&&o.length>1&&t().createElement("sup",null,n),t().createElement("span",{className:Sr()("text-answer text-answer--single-line",{"no-answer":!i}),"aria-description":i?void 0:l.t("examineExam.questionHasNoAnswer")},t().createElement(Qm,null,s("screen-reader.answer-begin")),t().createElement("span",{className:"e-inline-block",ref:c},i),t().createElement(Qm,null,s("screen-reader.answer-end"))),a)})),yv=t().memo((function({element:n}){const{answers:r}=(0,e.useContext)(md),{answersByQuestionId:i,scores:o}=(0,e.useContext)(Vy),a=Ce(n,"question-id"),s=Ce(n,"max-score"),l=i[a],c=l&&l.value,u=Om(n.getAttribute("display-number")),d=Qy(o,a),f=null==d?void 0:d.autograding;return t().createElement(mv,{answers:r,displayNumber:u,value:c,score:d},t().createElement($y,{score:null==f?void 0:f.score,maxScore:s,displayNumber:r.length>1?u:void 0,questionId:a}))}));function vv({maxScore:e}){const{t:n}=Ul();return t().createElement(t().Fragment,null,t().createElement("span",{className:"e-result-scorecount-empty"}),e&&` / ${e} `,n("points",{count:""}))}function bv({shortCode:e}){return t().createElement("div",{className:"e-color-darkgrey e-columns e-columns--center-v"},t().createElement("span",{className:"e-font-size-xxxl e-light e-mrg-r-1"},"×"),t().createElement("span",null,e))}function Iv({score:e,shortCode:n,type:r,maxScore:i,latest:o}){const{t:a}=Ul();return t().createElement("div",{className:o?"e-color-black":"e-color-darkgrey e-font-size-xs"},t().createElement(xv,{className:Sr()("e-nowrap",{"e-font-size-m":o})},o?t().createElement("b",null,e):e,o&&i?` / ${i}`:""," p."),t().createElement(xv,{className:"e-result-scorecount-shortcode"},n),t().createElement(xv,{className:"e-mrg-r-0"},a(r)))}function xv({className:e,children:n}){return t().createElement("span",{className:Sr()("e-mrg-r-1 e-nowrap",e)},n)}function wv({score:e}){return void 0!==e?{score:e,shortCode:"",type:"grading.pregrading-abbrev"}:null}function Tv(e){return e.scores.map(((t,n)=>({score:t.score,shortCode:t.shortCode||"",type:"grading.round."+(e.scores.length-n)})))}const Mv=t().memo((function({scores:n,maxScore:r,displayNumber:i,multilineAnswer:o,questionId:a}){var s,l,c,u,d;const{answers:f}=(0,e.useContext)(md),p={answers:f,displayNumber:i,multilineAnswer:o,questionId:a},h=null===(l=null===(s=null==n?void 0:n.censoring)||void 0===s?void 0:s.nonAnswerDetails)||void 0===l?void 0:l.shortCode;return t().createElement(Xy,{...p},null!=(null===(c=null==n?void 0:n.pregrading)||void 0===c?void 0:c.score)||(null===(d=null===(u=null==n?void 0:n.censoring)||void 0===u?void 0:u.scores)||void 0===d?void 0:d.length)?t().createElement(t().Fragment,null,function(e,n){var r;return[e.inspection&&(r=e.inspection,{score:r.score,shortCode:r.shortCodes?r.shortCodes.join(", "):"",type:"grading.inspection-grading-abbrev"}),...e.censoring?Tv(e.censoring):[],e.pregrading&&wv(e.pregrading)].filter(Boolean).map(((e,r)=>t().createElement(Iv,{key:r,...e,latest:0===r,maxScore:n})))}(n,r),h&&t().createElement(bv,{shortCode:h})):t().createElement(vv,{maxScore:r}))})),Av=({type:n,score:r,value:i})=>{const{t:o,i18n:a}=Ul(),s=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;s.current&&cv(s.current,null!==(t=null===(e=null==r?void 0:r.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==t?t:[],null!==(i=null===(n=null==r?void 0:r.censoring)||void 0===n?void 0:n.annotations)&&void 0!==i?i:[])})),t().createElement("div",{className:Sr()("e-multiline-results-text-answer e-line-height-l e-pad-x-2 e-mrg-b-1",{"no-answer":!i}),"aria-description":i?void 0:a.t("examineExam.questionHasNoAnswer")},t().createElement(Qm,null,o("screen-reader.answer-begin")),"rich-text"===n?t().createElement("div",{dangerouslySetInnerHTML:{__html:i||""},ref:s}):t().createElement("div",{className:"e-pre-wrap",ref:s},i),t().createElement(Qm,null,o("screen-reader.answer-end")))},Ev=t().memo((function({element:n}){var r;const{answers:i}=(0,e.useContext)(md),{answersByQuestionId:o,scores:a}=(0,e.useContext)(Vy),{t:s}=Ul(),l=Ce(n,"question-id"),c=Ce(n,"max-score"),u=o[l],d=u&&u.value,f=i.length>1?Om(n.getAttribute("display-number")):void 0,p=Qy(a,l),h=null===(r=null==p?void 0:p.pregrading)||void 0===r?void 0:r.comment,g=n.getAttribute("type")||"single-line",m=Ce(n,"max-length");return"rich-text"===g?t().createElement(t().Fragment,null,null!=m&&t().createElement(ey,{maxLength:m}),t().createElement(Mv,{multilineAnswer:!0,scores:p,maxScore:c,questionId:l}),t().createElement(Av,{type:g,value:d,score:p}),t().createElement(Jm,{answer:u,element:n}),h&&t().createElement(t().Fragment,null,t().createElement("h5",null,s("comment")),t().createElement("p",{className:"e-italic"},h))):t().createElement(mv,{answers:i,score:p,displayNumber:f,value:d},t().createElement(Mv,{scores:p,maxScore:c,displayNumber:f,questionId:l}))})),Cv=({onEndSession:e,sessionEnded:n})=>{const{t:r}=Ul();return t().createElement("div",{className:"e-logout-container"},t().createElement("div",{className:"e-bg-color-off-white e-pad-6 shadow-box"},n?t().createElement(t().Fragment,null,t().createElement("h3",null,r("examineExam.thankYouTitle")),t().createElement("p",null,r("examineExam.shutdownComputer"),t().createElement("br",null),r("examineExam.returnUsbStick"))):t().createElement(t().Fragment,null,t().createElement("h3",null,r("examineExam.endExamTitle")),t().createElement("p",null,r("examineExam.afterInspectingYourAnswers"),t().createElement("br",null),r("examineExam.youCanNotReturnToExam"))),!n&&t().createElement("button",{id:"endSession",className:"e-button",onClick:()=>{e()}},r("examineExam.endExamTitle"))))},Nv=Ms({attachment:ac,"attachment-link":bc("plain"),"attachment-links":Ic("plain"),"audio-group":ac,"choice-answer":ev,"dropdown-answer":tv,formula:td,question:ov,hints:ac,image:jy((({element:e})=>null!=Me(e,"choice-answer")))(id),"question-instruction":_m,"question-number":vd,translation:bd,"question-title":av,section:sv,"section-title":Ym,"text-answer":Ev,"scored-text-answer":yv,"scored-text-answers":ac}),Sv=()=>{const{t:e}=Ul();return e("examineExam.returnToExam")},kv=()=>{const{t:e}=Ul();return t().createElement("div",{className:"e-section examine-exam-page-instructions shadow-box"},t().createElement("h3",null,e("examineExam.checkYourAnswersTitle")),t().createElement("ul",null,t().createElement("li",null,e("examineExam.hereAreYourAnswers")),t().createElement("li",null,e("examineExam.checkYourAnswers")),t().createElement("li",null,e("examineExam.removeExcessAnswers")),t().createElement("li",null,t().createElement("span",{className:"no-answer-example"},e("examineExam.emptyAnswersAreHighlighted")),e("examineExam.thereMayBeOptionalQuestions"))))};function jv(){const{gradingText:n,totalScore:r}=(0,e.useContext)(Vy),{t:i}=Ul();return t().createElement("div",{className:"e-column--narrow"},t().createElement("table",{className:"e-table e-table--borderless e-mrg-b-0"},t().createElement("tbody",null,t().createElement("tr",null,t().createElement("th",{className:"e-pad-y-0 e-normal"},i("grading-total")),t().createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},i("points",{count:r}))),n&&t().createElement("tr",null,t().createElement("th",{className:"e-pad-y-0 e-normal"},i("grade")),t().createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},n)))))}const Dv=t().memo(Yy(fc((({doc:n,returnToExam:r,endSession:i,studentSessionEnded:o=!1,isPreviewPage:a})=>{const{date:s,dateTimeFormatter:l,dayCode:c,examCode:u,language:d,resolveAttachment:f,root:p,subjectLanguage:h}=(0,e.useContext)(dc),{answersByQuestionId:g}=(0,e.useContext)(Vy),m=Ae(p,"exam-title"),y=p.getAttribute("exam-stylesheet"),b=ic((()=>zl(d,u,c)));(0,e.useEffect)(_l(b,d)),(0,e.useEffect)(rc,[]);const I=Jy(),x=void 0!==i,w=!I&&!a;return(0,e.useEffect)((()=>{window.location.hash=""}),[]),t().createElement(v,{i18n:b},t().createElement("main",{className:Sr()("e-exam e-results",{"examine-exam-page":I,"session-ended":o}),lang:h},t().createElement(t().StrictMode,null),y&&t().createElement("link",{rel:"stylesheet",href:f(y)}),!w&&t().createElement("button",{className:"e-exam-done-return js-exam-done-return e-button",onClick:r},"« ",t().createElement(Sv,null)),t().createElement("div",{className:"e-columns e-columns--bottom-v e-mrg-b-4"},m&&t().createElement(oc,{id:"title",className:"e-column e-mrg-b-0"},Nv(m),s&&`, ${l.format(s)}`),!I&&t().createElement(jv,null)),!w&&t().createElement(kv,null),t().createElement(My,{validationErrors:Qp(Nd(n),g),inExam:!1}),Nv(p),(x||a)&&t().createElement(Cv,{onEndSession:I?()=>{try{document.querySelectorAll("main > *:not(.e-logout-container)").forEach((e=>{const t=e;t.style.height=`${t.clientHeight}px`})),setTimeout((()=>{i()}),50)}catch(e){console.error(e)}}:()=>Promise.resolve(),sessionEnded:o})),t().createElement(ag,null))})))),Lv=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var Ov=Math.max;const Rv=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ud(n);return i<0&&(i=Ov(r+i,0)),Lv(e,Sn(t),i)};var Pv=Math.max,zv=Math.min;const Uv=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=ud(n),i=n<0?Pv(r+i,0):zv(i,r-1)),Lv(e,Sn(t),i,!0)},_v=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:On(e,t,n)},Bv=function(e){return e!=e},Fv=function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Lv(e,Bv,n)};var Gv=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Zv="\\ud800-\\udfff",Hv="["+Zv+"]",qv="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Vv="\\ud83c[\\udffb-\\udfff]",Yv="[^"+Zv+"]",Wv="(?:\\ud83c[\\udde6-\\uddff]){2}",Qv="[\\ud800-\\udbff][\\udc00-\\udfff]",Jv="(?:"+qv+"|"+Vv+")?",Xv="[\\ufe0e\\ufe0f]?",$v=Xv+Jv+"(?:\\u200d(?:"+[Yv,Wv,Qv].join("|")+")"+Xv+Jv+")*",Kv="(?:"+[Yv+qv+"?",qv,Wv,Qv,Hv].join("|")+")",eb=RegExp(Vv+"(?="+Vv+")|"+Kv+$v,"g");const tb=function(e){return function(e){return Gv.test(e)}(e)?function(e){return e.match(eb)||[]}(e):function(e){return e.split("")}(e)};var nb=/^\s+/;const rb=function(e,t,n){if((e=xn(e))&&(n||void 0===t))return e.replace(nb,"");if(!e||!(t=In(t)))return e;var r=tb(e),i=function(e,t){for(var n=-1,r=e.length;++n<r&&Fv(t,e[n],0)>-1;);return n}(r,tb(t));return _v(r,i).join("")},ib=function(e,t,n){if((e=xn(e))&&(n||void 0===t))return e.slice(0,or(e)+1);if(!e||!(t=In(t)))return e;var r=tb(e),i=function(e,t){for(var n=e.length;n--&&Fv(t,e[n],0)>-1;);return n}(r,tb(t))+1;return _v(r,0,i).join("")};function ob(e,t=!1){const n=(new DOMParser).parseFromString(e,"application/xml");return t||Te(n.documentElement,["choice-answer","dropdown-answer"]).filter((e=>"fixed"!==Ee(e,"ordering"))).forEach(ab),Te(n.documentElement,"reference").forEach((e=>{Te(e,(()=>!0),!1).forEach(sb)})),n}function ab(e){for(let t=e.children.length;t>0;t--){const n=Math.floor(Math.random()*t);e.appendChild(e.children[n])}const t=Ae(e,(e=>"no-answer"===Ee(e,"type")));t&&e.appendChild(t)}function sb(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=Rv(n,t),i=Uv(n,t);-1!==r&&(n.slice(0,r).forEach((e=>e.remove())),n[r].textContent=rb(n[r].textContent)),-1!==i&&(n.slice(i+1).forEach((e=>e.remove())),n[i].textContent=ib(n[i].textContent))}function lb({characterCount:e,maxLength:n}){const{t:r}=Ul(),i=(o=e,!(a=n)||o<=a?0:Math.floor(100*o/a-100));var o,a;return t().createElement("div",{className:"e-font-size-xs e-grading-answer-length"},r("answer-length",{count:e}),i>0?t().createElement("span",{className:"e-grading-answer-max-length-surplus"},r("max-length-surplus",{maxLength:n,percentage:i})):"")}const cb=function({pregrading:e,censoring:n,singleGrading:r}){const i=(e,t=0)=>{var n;return null!==(n=e.filter((e=>e.message.length)).map(((e,n)=>({numbering:`${String(t+n+1)})`,message:e.message}))))&&void 0!==n?n:[]},o=i(e),a=i(n,o.length);return t().createElement(nv,{pregradingAnnotations:o,censoringAnnotations:a,singleGrading:r})};let ub;function db(e){const t=(null==e?void 0:e.querySelectorAll("img"))||[];ub=t.length,t.forEach((e=>{e.complete?setTimeout((()=>fb(e)),0):e.addEventListener("load",(()=>fb(e)))}))}function fb(e){ub--;const t=e.parentElement,n=null==t?void 0:t.nextSibling,r=n instanceof HTMLElement&&n.classList.contains("full-size-image"),i=e.naturalWidth>e.width;null==t||t.classList.toggle("e-large-image",i),i?r||null==t||t.insertAdjacentHTML("afterend",`<div class="full-size-image"><a target="_blank" href="${e.src}"></a>`):r&&(null==n||n.remove())}function pb(n){const r=ic((()=>zl(n.language)));return(0,e.useEffect)(_l(r,n.language)),t().createElement(v,{i18n:r},t().createElement(hb,{...n}))}function hb({answer:{type:n,characterCount:r,value:i},language:o,isReadOnly:a,gradingRole:s,annotations:l,saveAnnotations:c,maxLength:u,popupTopMargin:d=25}){const f=(0,e.useRef)(null),p=(0,e.useRef)(null),h=(0,e.useRef)(null),g=(0,e.useRef)(null);let m,y;const v={start:void 0,element:void 0,img:void 0};let b,I,x,w,T,M=!1;const[A,E]=(0,e.useState)(0),[C,N]=(0,e.useState)(0),[S,k]=(0,e.useState)(0);(0,e.useEffect)((()=>{const e=document.querySelectorAll(".e-grading-answer img[src]");function t(){E((e=>e+1))}function n(e){console.error("Image failed to load:",e.src),k((e=>e+1)),e.alt="Image failed to load",e.style.border="1px solid red"}return N((null==e?void 0:e.length)||0),E(0),k(0),null==e||e.forEach((e=>{e instanceof HTMLImageElement&&(e.complete?t():(e.addEventListener("load",t),e.addEventListener("error",(()=>n(e)))))})),()=>{null==e||e.forEach((e=>{e instanceof HTMLImageElement&&(e.removeEventListener("load",t),e.removeEventListener("error",(()=>n(e))))}))}}),[i]),(0,e.useLayoutEffect)((()=>(f.current&&g.current&&p.current&&(y=l,wr(g.current,!1),wr(p.current,!1),H(y),f.current.setAttribute("lang",o),document.addEventListener("selectionchange",F)),window.onresize=()=>{clearTimeout(w),w=setTimeout((()=>db(f.current)),1e3)},()=>{window.removeEventListener("keydown",q),window.removeEventListener("mouseup",B),window.removeEventListener("mousemove",Z)})));const{t:j}=Ul(),D=C>0&&A!==C,L=S>0;return t().createElement("div",{onClick:e=>function(e){var t;const n=e.target;if(n instanceof HTMLElement)if("MARK"===n.tagName)v.element||P(n);else if("LI"===n.tagName){const e=null===(t=n.dataset.listNumber)||void 0===t?void 0:t.replace(")",""),r=document.querySelector(`.e-annotation[data-index="${e}"]`);P(r),r.scrollIntoView({block:"center",behavior:"smooth"})}else b&&O()}(e),className:"e-grading-answer-wrapper"},D&&t().createElement("div",{className:"loading-images"},t().createElement("span",{className:"loading"},j("grading.loading-images")," (",A,"/",C,")"),L&&t().createElement("span",{className:"failed"},j("grading.some-images-failed"))),t().createElement("div",{className:"e-grading-answer e-line-height-l e-mrg-b-1",ref:f,onMouseDown:e=>function(e){var t;if(a||0!==e.button)return;window.addEventListener("mouseup",B);const n=(null===(t=e.target.closest(".e-annotation-wrapper"))||void 0===t?void 0:t.querySelector("img"))||void 0;n&&(n.addEventListener("dragstart",xr),v.start=function(e,t){const n=t.closest(".e-grading-answer"),r=Array.from(n.querySelectorAll("img")).findIndex((e=>e===t)),i=n.querySelectorAll(".e-annotation-wrapper").item(r).getBoundingClientRect(),o=e.clientX,a=Ir((o-i.left)/i.width),s=e.clientY;return{attachmentIndex:r,bbox:i,startX:a,startY:Ir((s-i.top)/i.height),clientX:o,clientY:s}}(e,n),v.img=n,window.addEventListener("mousemove",Z))}(e),onMouseOver:e=>function(e){const t=e.closest("mark");!t||M||yr()&&!a||v.element||P(t)}(e.target)}),t().createElement(lb,{characterCount:r,maxLength:u}),t().createElement(cb,{censoring:l.censoring,pregrading:l.pregrading,singleGrading:"pregrading"===s}),t().createElement("form",{style:{display:"none"},ref:p,className:"e-grading-answer-popup e-grading-answer-add-annotation",onSubmit:e=>function(e){e.preventDefault();const t=h.current.value;b?y[b.role][b.index].message=t:y[s]=vr(f.current,{...m,message:t},y[s]||[]),wr(p.current,!1),c(y)}(e)},t().createElement("input",{onFocus:()=>function(){if(!Tr()&&f.current){const e={...y};e[s]=vr(f.current,m,y[s]),H(e)}}(),name:"message",className:"e-grading-answer-add-annotation-text",type:"text",ref:h}),t().createElement("button",{className:"e-grading-answer-add-annotation-button",type:"submit","data-i18n":"arpa.annotate"},j("grading.annotate")),t().createElement("button",{className:"e-grading-answer-close-popup",onClick:e=>{e.preventDefault(),_()}},"×")),t().createElement("div",{style:{display:"none"},ref:g,className:"e-grading-answer-tooltip e-grading-answer-popup",onMouseOver:function(){clearTimeout(x)},onMouseOut:O},t().createElement("span",{onClick:e=>function(e){e.target.closest(".editable")&&(wr(g.current,!1),U(I,b.message))}(e),className:"e-grading-answer-tooltip-label"}),t().createElement("button",{onClick:e=>function(e){e.preventDefault(),O(),y[b.role].splice(b.index,1),b=void 0,c(y)}(e),className:"e-grading-answer-tooltip-remove"},"×")));function O(){x=setTimeout((()=>{wr(g.current,!1)}),400)}function R(e){"MARK"===e.target.tagName&&(clearTimeout(x),O()),f.current.removeEventListener("mouseout",R)}function P(e){clearTimeout(x);const t=g.current,{type:n,listIndex:r,message:i}=e.dataset;t.classList.toggle("editable",!a&&n===s),I=e.getBoundingClientRect(),mr(I,f.current,t,d),t.querySelector(".e-grading-answer-tooltip-label").textContent=i||"–",b={index:Number(r),role:n,message:i||""},f.current.addEventListener("mouseout",R)}function z(e,t){b=void 0,U(e,t)}function U(e,t){window.removeEventListener("keydown",q),mr(e,f.current,p.current,d);const n=h.current;n.value=t,n.focus(),M=!0,window.addEventListener("keydown",q)}function _(){m=void 0,v.element=void 0,v.img=void 0,M=!1,window.removeEventListener("keydown",q),wr(p.current,!1),H(y)}function B(){var e,t;if(null===(e=v.img)||void 0===e||e.removeEventListener("dragstart",xr),window.removeEventListener("mousemove",Z),window.removeEventListener("mouseup",B),v.element)return void z(null===(t=v.element)||void 0===t?void 0:t.getBoundingClientRect(),"");const n=window.getSelection();if(n&&null!==f.current&&yr()){const e=n.getRangeAt(0),t=pr(f.current,e);if(!t)return;const r=hr(y[s],t.startIndex,t.length);m={...t,type:"text",message:r},z(e.getBoundingClientRect(),r);const i={...y};i[s]=vr(f.current,m,y[s]),H(i)}}function F(){Tr()||(clearTimeout(T),T=setTimeout(G,500))}function G(){const e=window.getSelection();if(e&&null!==f.current&&yr()){const t=e.getRangeAt(0),n=pr(f.current,t);if(!n)return;const r=hr(y[s],n.startIndex,n.length);M=!0,h.current.value=r,mr(t.getBoundingClientRect(),f.current,p.current,d),m={...n,type:"text",message:r}}}function Z(e){xr(e),m=function(e,{bbox:t,attachmentIndex:n,startX:r,startY:i,clientX:o,clientY:a}){const s=Ir((e.clientX-t.left)/t.width),l=Ir((e.clientY-t.top)/t.height),c=Math.abs(o-e.clientX)<=10,u=Math.abs(a-e.clientY)<=10;switch(c||u?"line":"rect"){case"rect":return{type:"rect",attachmentIndex:n,x:Math.min(r,s),y:Math.min(i,l),width:Math.abs(s-r),height:Math.abs(l-i),message:""};case"line":return{type:"line",attachmentIndex:n,x1:c?r:Math.min(r,s),y1:u?i:Math.min(i,l),x2:c?r:Math.max(r,s),y2:u?i:Math.max(i,l),message:""}}}(e,v.start),v.element?uv(v.element,m):v.element=pv(v.img,"",m,s,999)}function H(e){const t=f.current;"richText"===n?(t.innerHTML=i,t.querySelectorAll("img").forEach(dv),db(t)):t.textContent=i,cv(t,e.pregrading,e.censoring,!1)}function q(e){"Escape"===e.key&&M&&(e.stopPropagation(),_())}}})(),s})()));
368
+ `},3858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SET_THEORY=t.GEOMETRY=t.ALGEBRA=t.BASIC=void 0,t.BASIC=[{label:"°",latex:"\\degree"},{label:"·",latex:"\\cdot"},{label:"×",latex:"\\times"},{label:"±",latex:"\\pm"},{label:"∞",latex:"\\infty"},{label:"²",latex:"^2"},{label:"³",latex:"^3"},{label:"½",latex:"\\frac{1}{2}"},{label:"⅓",latex:"\\frac{1}{3}"},{label:"π",latex:"\\pi"},{label:"‰"},{label:"α",latex:"\\alpha"},{label:"β",latex:"\\beta"},{label:"Γ",latex:"\\Gamma"},{label:"γ",latex:"\\gamma"},{label:"Δ",latex:"\\Delta"},{label:"δ",latex:"\\delta"},{label:"ε",latex:"\\varepsilon"},{label:"ζ",latex:"\\zeta"},{label:"η",latex:"\\eta"},{label:"θ",latex:"\\theta"},{label:"ϑ",latex:"\\vartheta"},{label:"ι",latex:"\\iota"},{label:"κ",latex:"\\kappa"},{label:"Λ",latex:"\\Lambda"},{label:"λ",latex:"\\lambda"},{label:"µ",latex:"\\mu"},{label:"ν",latex:"\\nu"},{label:"Ξ",latex:"\\Xi"},{label:"ξ",latex:"\\xi"},{label:"∏",latex:"\\Pi"},{label:"ρ",latex:"\\rho"},{label:"∑",latex:"\\Sigma"},{label:"σ",latex:"\\sigma"},{label:"τ",latex:"\\tau"},{label:"Υ",latex:"\\Upsilon"},{label:"υ",latex:"\\upsilon"},{label:"Φ",latex:"\\Phi"},{label:"ϕ",latex:"\\phi"},{label:"χ",latex:"\\chi"},{label:"Ψ",latex:"\\Psi"},{label:"ψ",latex:"\\psi"},{label:"Ω",latex:"\\Omega"},{label:"ω",latex:"\\omega"},{label:"∂",latex:"\\partial"},{label:"φ",latex:"\\varphi"}],t.ALGEBRA=[{label:"≠",latex:"\\neq"},{label:"≈",latex:"\\approx"},{label:"≤",latex:"\\leq"},{label:"≥",latex:"\\geq"},{label:"<"},{label:">"},{label:"∼",latex:"\\sim"},{label:"≡",latex:"\\equiv"},{label:"≢",latex:"\\not\\equiv"},{label:"∘",latex:"\\circ"},{label:"…",latex:"\\ldots"},{label:"∝",latex:"\\propto"}],t.GEOMETRY=[{label:"∢",latex:"\\sphericalangle"},{label:"|",latex:"\\mid"},{label:"‖",latex:"\\parallel"},{label:"⇌",latex:"\\xrightleftharpoons"},{label:"⇅"},{label:"∠",latex:"\\angle"},{label:"↑",latex:"\\uparrow"},{label:"↗",latex:"\\nearrow"},{label:"↘",latex:"\\searrow"},{label:"↓",latex:"\\downarrow"},{label:"↔",latex:"\\leftrightarrow"},{label:"⊥",latex:"\\perp"}],t.SET_THEORY=[{label:"→",latex:"\\rightarrow"},{label:"⇒",latex:"\\Rightarrow"},{label:"⇔",latex:"\\Leftrightarrow"},{label:"∈",latex:"\\in"},{label:"ℤ",latex:"\\mathbb{Z}"},{label:"ℝ",latex:"\\mathbb{R}"},{label:"∃",latex:"\\exists"},{label:"∀",latex:"\\forall"},{label:"ℕ",latex:"\\mathbb{N}"},{label:"ℚ",latex:"\\mathbb{Q}"},{label:"∩",latex:"\\cap"},{label:"∪",latex:"\\cup"},{label:"∖",latex:"\\setminus"},{label:"⊂",latex:"\\subset"},{label:"⊄",latex:"\\notsubset"},{label:"∉",latex:"\\notin"},{label:"∅",latex:"\\empty"},{label:"∧",latex:"\\and"},{label:"∨",latex:"\\or"},{label:"¬",latex:"\\neg"},{label:"∇",latex:"\\nabla"}]},5064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=[{action:"\\sqrt",label:"\\sqrt{X}",svg:"data:image/svg+xml;base64,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjMuNzQ0ZXgiIGhlaWdodD0iMi44NDNleCIgc3R5bGU9InZlcnRpY2FsLWFsaWduOiAtMC44MzhleDsiIHZpZXdCb3g9IjAgLTg2My4xIDE2MTIgMTIyMy45IiByb2xlPSJpbWciIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgYXJpYS1sYWJlbGxlZGJ5PSJNYXRoSmF4LVNWRy0xLVRpdGxlIj4KPHRpdGxlIGlkPSJNYXRoSmF4LVNWRy0xLVRpdGxlIj5cc3FydHtcc3F1YXJlfTwvdG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Igc3Ryb2tlLXdpZHRoPSIwIiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAwIDApIiBhcmlhLWhpZGRlbj0idHJ1ZSI+CiA8dXNlIHhsaW5rOmhyZWY9IiNFMS1MQVRJTk1PREVSTk1BSU4tNTQiIHg9IjAiIHk9IjAiPjwvdXNlPgo8L2c+Cjwvc3ZnPg=="}]},2959:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useKeyboardEventListener=void 0;const r=n(5442);t.useKeyboardEventListener=(e,t,n,i=!0)=>{(0,r.useEffect)((()=>{const r=r=>{(!t||t&&r.ctrlKey)&&r.key.toLowerCase()===e.toLowerCase()&&(i&&r.preventDefault(),n(r))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}}),[e,n])}},2613:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),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)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,c.default)(),[n,r]=(0,l.useState)(null),[i,o]=(0,l.useState)(e.latex),a=(0,l.useRef)(null),s=(0,l.useRef)(i),d=(0,l.useCallback)((function(t){if(!t)return;const n=u.MathField(t,{handlers:{edit:function(t){var n,r;if(t.el().contains(document.activeElement)){const t=null===(n=a.current)||void 0===n?void 0:n.latex();void 0!==t&&(null===(r=e.onChange)||void 0===r||r.call(e,s.current,t),o(t),s.current=t)}}}});n.latex(e.latex),r(n),a.current=n}),[]);return(0,l.useEffect)((function(){n&&n.latex()!=e.latex&&(null==n||n.latex(e.latex),t())}),[n,e.latex]),{ref:d,mq:n,isError:""===(null==n?void 0:n.latex())&&""!==e.latex,lastValue:i}};const s=o(n(5968)),l=n(5442),c=a(n(9957)),u=s.getInterface(2)},9957:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const[e,t]=(0,r.useState)(0);return()=>t((e=>(e+1)%(Number.MAX_SAFE_INTEGER-1)))};const r=n(5442)},8115: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});const i=n(1085),o=n(5442),a=r(n(7204)),s=n(2373),l=(0,o.forwardRef)(((e,t)=>{const{allowedFileTypes:n,baseUrl:r,getPasteSource:l,initialValue:c,language:u,onValueChange:d,textAreaProps:f,toolbarRoot:p}=e,[h,g]=(0,o.useState)(p),m=(0,o.useRef)(null);return(0,o.useEffect)((()=>{p?g(p):m.current&&g(m.current)}),[p,m]),(0,i.jsxs)(s.EditorStateProvider,{allowedFileTypes:n,baseUrl:r,getPasteSource:l,initialValue:c,language:u,onValueChange:d,children:[p?null:(0,i.jsx)("div",{ref:m,className:"rich-text-editor-toolbar-root"}),(0,i.jsx)(a.default,Object.assign({},f,{toolbarRoot:h,ref:t}))]})}));t.default=l},6482:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const[e,t]=(0,r.useState)([]),[n,i]=(0,r.useState)(0),o=(0,r.useRef)(e),a=(0,r.useRef)(n),s=e=>{o.current=e,t(e)},l=e=>{a.current=e,i(e)};return{canUndo:0!==n,canRedo:n<e.length-1,write:e=>{if(e===o.current.at(a.current))return;const t=[...o.current.slice(0,a.current+1),e];s(t),l(t.length-1)},clear:()=>{s([""]),l(0)},undo:()=>{const e=a.current-1;if(e<0)return;const t=o.current.at(e);return l(e),t},redo:()=>{const e=a.current+1;if(e>=o.current.length)return;const t=o.current.at(e);return l(e),t}}};const r=n(5442)},2373: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.default=function(){const e=(0,o.useContext)(p);if(!e)throw Error("Tried to use Editor State Context outside a Provider");return e},t.EditorStateProvider=function({children:e,language:t="FI",getPasteSource:n=m,allowedFileTypes:r=["image/png","image/jpeg"],onValueChange:h=(()=>{}),initialValue:v="",baseUrl:b=""}){var I;const[x,w]=(0,o.useState)(!1),[T,M]=(0,o.useState)(!1),[A,E]=(0,o.useState)(!1),[C,N]=(0,o.useState)(!1),[S,k]=(0,o.useState)(null),[j,D]=(0,o.useState)(!1),L=null!==(I=new URL(window.location.href).searchParams.get("forceToolbars"))&&void 0!==I?I:"0",[O,R]=(0,o.useState)(null),P=(0,a.default)(),z=(0,a.default)(),U=(0,o.useRef)(null),_={FI:c.default,SV:u.default}[t];function B(e,t,n){function r(n,r){P.clear(),k(null),M(!1),V(!0,!0),r&&y(e,r),t.classList.remove("active"),e.remove(),n||t.remove()}const o=(0,d.createPortal)((0,i.jsx)(s.default,Object.assign({onOpen:function(e){P.clear(),k(e),w(!0),M(!0),t.classList.add("active")},onBlur:r,onChange:function(e){P.write(e)},onEnter:function(e){t&&Z(t),r(e)},errorText:_.editor.render_error},n)),e);R([e,o])}const F=e=>t=>{e.setAttribute("src",`${b}/math.svg?latex=${encodeURIComponent(t)}`),e.setAttribute("alt",t)};function G(){const e=document.createElement("img");return e.addEventListener("click",(t=>function(e,t){var n;const r=e.parentElement;t.stopPropagation(),t.preventDefault();const i=(0,l.createMathStub)(g());r?r.insertBefore(i,e.nextSibling):null===(n=U.current)||void 0===n||n.appendChild(i),B(i,e,{initialLatex:e.getAttribute("alt"),onLatexUpdate:F(e)})}(e,t))),e.setAttribute("initialized",""),e.setAttribute("src",""),e.classList.add("equation"),e}function Z(e){const t=e.closest("div"),n=G(),r=(0,l.createMathStub)(g(),!1,n),i=e.nextSibling;t?(t.insertBefore(document.createElement("br"),i),t.insertBefore(n,i),t.insertBefore(r,i),B(r,n,{onLatexUpdate:F(n)})):console.error("parent element not found for math editor")}function H(){U.current&&Array.from(U.current.querySelectorAll('img[src*="/math.svg?"][alt]:not([initialized])')).forEach((e=>{var t;const n=G(),r=e.getAttribute("src");if(r){const{origin:e,pathname:t,search:i}=new URL(r,b||document.location.toString());e!==b?n.setAttribute("src",`${b}${t}${i}`):n.setAttribute("src",r)}n.setAttribute("alt",null!==(t=e.getAttribute("alt"))&&void 0!==t?t:""),e.replaceWith(n)}))}const q=(0,f.debounce)((e=>z.write(e)),500);function V(e=!0,t=!1){setTimeout((()=>{var n;const r=null===(n=U.current)||void 0===n?void 0:n.innerHTML;if(void 0!==r){const n=(0,f.getAnswer)(r);h(n),e&&(t?z.write(n.answerHtml):q(n.answerHtml))}}),0)}return(0,o.useEffect)((()=>{j||null===U.current||(v&&(U.current.innerHTML=v),setTimeout((()=>{H(),D(!0),U.current&&z.write(U.current.innerHTML)}),0))}),[j,v,U.current,z]),(0,i.jsx)(p.Provider,{value:{isToolbarOpen:"0"!==L||x,isMathToolbarOpen:"2"===L||T,showToolbar:()=>w(!0),hideToolbar:()=>w(!1),isToolbarExpanded:A,expandToolbar:()=>E(!0),collapseToolbar:()=>E(!1),isHelpDialogOpen:C,showHelpDialog:()=>N(!0),hideHelpDialog:()=>N(!1),activeMathEditor:S,setActiveMathEditor:k,ref:U,mathEditorPortal:O,spawnMathEditorAtCursor:function(){const e=G();B((0,l.createMathStub)(g(),!0,e),e,{onLatexUpdate:F(e)})},spawnMathEditorInNewLine:Z,initMathImages:H,canUndoEquation:P.canUndo,canRedoEquation:P.canRedo,undoEquation:P.undo,redoEquation:P.redo,canUndoEditor:z.canUndo,canRedoEditor:z.canRedo,undoEditor:z.undo,redoEditor:z.redo,t:_,handlePastedImage:n,allowedFileTypes:r,onAnswerChange:V,initialValue:v,baseUrl:b},children:e})};const i=n(1085),o=n(5442),a=r(n(6482)),s=r(n(3671)),l=n(7469),c=r(n(1414)),u=r(n(42)),d=n(6003),f=n(2127),p=(0,o.createContext)(null);let h=0;const g=()=>{const e=h;return h=e+1,e},m=e=>new Promise((t=>{const n=new FileReader;n.onload=e=>t(n.result),n.readAsDataURL(e)})),y=(e,t="after")=>{const n=window.getSelection(),r=document.createRange();"before"===t?r.setStartBefore(e):r.setStartAfter(e),r.collapse(!0),null==n||n.removeAllRanges(),null==n||n.addRange(r)}},2127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAnswer=t.eventHandlerWithoutFocusLoss=void 0,t.debounce=function(e,t){let n=null;return function(...r){n&&"number"==typeof t&&clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}},t.getCursorPosition=function(e){const t=window.getSelection();if(!t||0===t.rangeCount)return null;const n=t.getRangeAt(0),r=[];let i=n.startContainer;for(;i&&i!==e;){const e=i.parentNode;if(!e)break;r.push(Array.from(e.childNodes).indexOf(i)),i=e}return{path:r,offset:n.startOffset}},t.restoreCursorPosition=function(e,t){var n,r;const i=document.createRange();try{if(!t)return;let o=e;for(const e of t.path){if(!(o&&o.childNodes[e]instanceof Node))return;o=o.childNodes[e]}const a=null!==(r=null===(n=null==o?void 0:o.textContent)||void 0===n?void 0:n.length)&&void 0!==r?r:0,s=Math.min(t.offset,a);i.setStart(o,s),i.collapse(!0)}catch(t){i.selectNodeContents(e),i.collapse(!1)}const o=window.getSelection();o&&(o.removeAllRanges(),o.addRange(i))};const r=n(7772);t.eventHandlerWithoutFocusLoss=e=>t=>(e&&e(),t.preventDefault(),t.stopPropagation(),!1),t.getAnswer=e=>{const t=(0,r.sanitize)(e,{transformTags:{img:(e,t)=>t.src?{tagName:e,attribs:t}:{tagName:"",attribs:{}},span:(e,t)=>"math-editor-wrapper"!==t.class?{tagName:e,attribs:t}:{tagName:"",attribs:{}}}}),n=(new DOMParser).parseFromString(t,"text/html").body,a=Array.from(n.childNodes).map((e=>"BR"===e.nodeName?"\n":e.textContent)).join(""),s=n.querySelectorAll(':scope > img:not([src*="/math.svg?"])'),l=n.querySelectorAll("span.math-editor-wrapper").length;return{answerHtml:0===(null==a?void 0:a.trim().length)&&0===s.length&&l>0?"":i(t),answerText:o(null!=a?a:""),imageCount:s.length}};const i=e=>e.replace(/^(\n|<br ?\/?>)*/g,"").replace(/(\s|<br ?\/?>)*$/g,""),o=e=>e.replace(/^(\n)*/g,"").replace(/(\s)*$/g,"")},7469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MATH_EDITOR_CLASS=void 0,t.createMathStub=function(e,n=!1,r){const i=document.createElement("span");if(i.className=t.MATH_EDITOR_CLASS,i.id=`math-editor-${e}`,i.contentEditable="false",i.style.display="contents",n){const e=window.getSelection();if(!e||0===e.rangeCount)return i;const n=e.getRangeAt(0);n.deleteContents(),n.insertNode(i),r&&n.insertNode(r);const o=i.parentNode;o.className===t.MATH_EDITOR_CLASS&&o.insertAdjacentElement(i.nextSibling?"beforebegin":"afterend",i),e.removeAllRanges(),n.setStartAfter(i),n.setEndAfter(i),e.addRange(n)}return i},t.MATH_EDITOR_CLASS="math-editor-wrapper"},7772: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.sanitize=function(e,t){return[e=>(0,i.default)(e,Object.assign(Object.assign(Object.assign({},o),{allowedTags:[...o.allowedTags,"div","p"],allowedSchemes:["data","http","https"]}),t)),e=>function(e){return e.replace(new RegExp(document.location.origin,"g"),"")}(e),e=>function(e){var t;const n=document.createElement("div");n.innerHTML=e;do{let e;for(let r=0;r<n.childNodes.length;r++){const i=n.childNodes[r];if(a(i)){for(void 0!==e&&e.nodeType===Node.TEXT_NODE&&/\S/.test(null!==(t=e.textContent)&&void 0!==t?t:"")&&n.insertBefore(document.createElement("br"),i),i.lastChild&&"BR"!==i.lastChild.nodeName&&i.insertBefore(document.createElement("br"),null);i.childNodes.length&&null!==i.firstChild;)n.insertBefore(i.firstChild,i);n.removeChild(i)}e=i}}while(Array.prototype.some.call(n.childNodes,(e=>a(e))));return n.innerHTML}(e)].reduce(((e,t)=>t(e)),e)};const i=r(n(7521)),o={allowedTags:["img","br","span"],allowedAttributes:{img:["src","alt"]},allowedSchemes:["data"]};function a(e){return"DIV"===e.nodeName||"P"===e.nodeName}},7521:(e,t,n)=>{const r=n(5482),i=n(2189),{isPlainObject:o}=n(993),a=n(2743),s=n(8287),{parse:l}=n(9274),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"";"number"==typeof e&&(e=e.toString());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(){k.length&&(k[k.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){k.length&&c.includes(this.tag)&&k[k.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},g.defaults,t)).parser=Object.assign({},m,t.parser);const I=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};u.forEach((function(e){I(e)&&!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 x=t.nonTextTags||["script","style","textarea","option"];let w,T;t.allowedAttributes&&(w={},T={},d(t.allowedAttributes,(function(e,t){w[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):w[t].push(e)})),n.length&&(T[t]=new RegExp("^("+n.join("|")+")$"))})));const M={},A={},E={};d(t.allowedClasses,(function(e,t){if(w&&(f(w,t)||(w[t]=[]),w[t].push("class")),M[t]=e,Array.isArray(e)){const n=[];M[t]=[],E[t]=[],e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?E[t].push(e):M[t].push(e)})),n.length&&(A[t]=new RegExp("^("+n.join("|")+")$"))}}));const C={};let N,S,k,j,D,L,O;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=g.simpleTransform(e)),"*"===t?N=n:C[t]=n}));let R=!1;z();const P=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&z(),L)return void O++;const r=new b(e,n);k.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,D[S]=u.tagName)),N&&(u=N(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,D[S]=u.tagName)),(!I(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(f(e,t))return!1;return!0}(j)||null!=t.nestingLimit&&S>=t.nestingLimit)&&(i=!0,j[S]=!0,"discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||-1!==x.indexOf(e)&&(L=!0,O=1),j[S]=!0),S++,i){if("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return;v=y,y=""}y+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=""),(!w||f(w,e)||w["*"])&&d(n,(function(n,i){if(!h.test(i))return void delete r.attribs[i];if(""===n&&!t.allowedEmptyAttributes.includes(i)&&(t.nonBooleanAttributes.includes(i)||t.nonBooleanAttributes.includes("*")))return void delete r.attribs[i];let c=!1;if(!w||f(w,e)&&-1!==w[e].indexOf(i)||w["*"]&&-1!==w["*"].indexOf(i)||f(T,e)&&T[e].test(i)||T["*"]&&T["*"].test(i))c=!0;else if(w&&w[e])for(const t of w[e])if(o(t)&&t.name&&t.name===i){c=!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(c){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=B(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===r.url.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return r.url.hostname===e||r.url.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{const r=B(n);if(r.isRelativeUrl)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===r.url.hostname})),i=(t.allowedIframeDomains||[]).find((function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("srcset"===i)try{let e=s(n);if(e.forEach((function(e){_("srcset",e.url)&&(e.evil=!0)})),e=p(e,(function(e){return!e.evil})),!e.length)return void delete r.attribs[i];n=p(e,(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=M[e],o=M["*"],s=A[e],l=E[e],c=E["*"],f=[s,A["*"]].concat(l,c).filter((function(e){return e}));if(!(u=n,d=t&&o?a(t,o):t||o,g=f,n=d?(u=u.split(/\s+/)).filter((function(e){return-1!==d.indexOf(e)||g.some((function(t){return t.test(e)}))})).join(" "):u).length)return void delete r.attribs[i]}if("style"===i)if(t.parseStyleAttributes)try{if(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;return r=t[n.selector]&&t["*"]?a(t[n.selector],t["*"]):t[n.selector]||t["*"],r&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){return f(e,n.prop)&&e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n),t}}(r),[])),e}(l(e+" {"+n+"}",{map:!1}),t.allowedStyles)),0===n.length)return void delete r.attribs[i]}catch(t){return"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+n+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete r.attribs[i]}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");y+=" "+i,n&&n.length?y+='="'+U(n,!0)+'"':t.allowedEmptyAttributes.includes(i)&&(y+='=""')}else delete r.attribs[i];var u,d,g})),-1!==t.selfClosing.indexOf(e)?y+=" />":(y+=">",!r.innerText||c||t.textFilter||(y+=U(r.innerText),R=!0)),i&&(y=v+U(y),v="")},ontext:function(e){if(L)return;const n=k[k.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"completelyDiscard"!==t.disallowedTagsMode||I(r))if("discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=U(e,!1);t.textFilter&&!R?y+=t.textFilter(n,r):R||(y+=n)}else y+=e;else e="";k.length&&(k[k.length-1].text+=e)},onclosetag:function(e,n){if(L){if(O--,O)return;L=!1}const r=k.pop();if(!r)return;if(r.tag!==e)return void k.push(r);L=!!t.enforceHtmlBoundary&&"html"===e,S--;const i=j[S];if(i){if(delete j[S],"discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return void r.updateParentNodeText();v=y,y=""}D[S]&&(e=D[S],delete D[S]),t.exclusiveFilter&&t.exclusiveFilter(r)?y=y.substr(0,r.tagPosition):(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||n&&!I(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0?i&&(y=v,v=""):(y+="</"+e+">",i&&(y=v+U(y),v=""),R=!1))}},t.parser);return P.write(e),P.end(),y;function z(){y="",S=0,k=[],j={},D={},L=!1,O=0}function U(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){for(n=n.replace(/[\x00-\x20]+/g,"");;){const e=n.indexOf("\x3c!--");if(-1===e)break;const t=n.indexOf("--\x3e",e+4);if(-1===t)break;n=n.substring(0,e)+n.substring(t+3)}const r=n.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 B(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;const n=new URL(e,t);return{isRelativeUrl:n&&"relative-site"===n.hostname&&"relative:"===n.protocol,url:n}}}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"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],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,parseStyleAttributes:!0},g.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},2146:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(i=n?n.call(r,u,d,c):void 0)||void 0===i&&u!==d)return!1}return!0}},3864:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ServerStyleSheet:()=>on,StyleSheetConsumer:()=>St,StyleSheetContext:()=>Nt,StyleSheetManager:()=>Dt,ThemeConsumer:()=>Zt,ThemeContext:()=>Gt,ThemeProvider:()=>qt,__PRIVATE__:()=>an,createGlobalStyle:()=>tn,css:()=>Jt,default:()=>Kt,isStyledComponent:()=>Je,keyframes:()=>nn,styled:()=>Kt,useTheme:()=>Ht,version:()=>de,withTheme:()=>rn});var r=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},r.apply(this,arguments)};function i(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var o=n(5442),a=n.n(o),s=n(2146),l=n.n(s),c="-ms-",u="-moz-",d="-webkit-",f="comm",p="rule",h="decl",g="@import",m="@keyframes",y="@layer",v=Math.abs,b=String.fromCharCode,I=Object.assign;function x(e){return e.trim()}function w(e,t){return(e=t.exec(e))?e[0]:e}function T(e,t,n){return e.replace(t,n)}function M(e,t,n){return e.indexOf(t,n)}function A(e,t){return 0|e.charCodeAt(t)}function E(e,t,n){return e.slice(t,n)}function C(e){return e.length}function N(e){return e.length}function S(e,t){return t.push(e),e}function k(e,t){return e.filter((function(e){return!w(e,t)}))}var j=1,D=1,L=0,O=0,R=0,P="";function z(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:j,column:D,length:a,return:"",siblings:s}}function U(e,t){return I(z("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function _(e){for(;e.root;)e=U(e.root,{children:[e]});S(e,e.siblings)}function B(){return R=O>0?A(P,--O):0,D--,10===R&&(D=1,j--),R}function F(){return R=O<L?A(P,O++):0,D++,10===R&&(D=1,j++),R}function G(){return A(P,O)}function Z(){return O}function H(e,t){return E(P,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(e){return x(H(O-1,Q(91===e?e+2:40===e?e+1:e)))}function Y(e){for(;(R=G())&&R<33;)F();return q(e)>2||q(R)>3?"":" "}function W(e,t){for(;--t&&F()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return H(e,Z()+(t<6&&32==G()&&32==F()))}function Q(e){for(;F();)switch(R){case e:return O;case 34:case 39:34!==e&&39!==e&&Q(R);break;case 40:41===e&&Q(e);break;case 92:F()}return O}function J(e,t){for(;F()&&e+R!==57&&(e+R!==84||47!==G()););return"/*"+H(t,O-1)+"*"+b(47===e?e:F())}function X(e){for(;!q(G());)F();return H(e,O)}function $(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function K(e,t,n,r){switch(e.type){case y:if(e.children.length)break;case g:case h:return e.return=e.return||e.value;case f:return"";case m:return e.return=e.value+"{"+$(e.children,r)+"}";case p:if(!C(e.value=e.props.join(",")))return""}return C(n=$(e.children,r))?e.return=e.value+"{"+n+"}":""}function ee(e,t,n){switch(function(e,t){return 45^A(e,0)?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}(e,t)){case 5103:return d+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return d+e+e;case 4789:return u+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return d+e+u+e+c+e+e;case 5936:switch(A(e,t+11)){case 114:return d+e+c+T(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return d+e+c+T(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return d+e+c+T(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return d+e+c+e+e;case 6165:return d+e+c+"flex-"+e+e;case 5187:return d+e+T(e,/(\w+).+(:[^]+)/,d+"box-$1$2"+c+"flex-$1$2")+e;case 5443:return d+e+c+"flex-item-"+T(e,/flex-|-self/g,"")+(w(e,/flex-|baseline/)?"":c+"grid-row-"+T(e,/flex-|-self/g,""))+e;case 4675:return d+e+c+"flex-line-pack"+T(e,/align-content|flex-|-self/g,"")+e;case 5548:return d+e+c+T(e,"shrink","negative")+e;case 5292:return d+e+c+T(e,"basis","preferred-size")+e;case 6060:return d+"box-"+T(e,"-grow","")+d+e+c+T(e,"grow","positive")+e;case 4554:return d+T(e,/([^-])(transform)/g,"$1"+d+"$2")+e;case 6187:return T(T(T(e,/(zoom-|grab)/,d+"$1"),/(image-set)/,d+"$1"),e,"")+e;case 5495:case 3959:return T(e,/(image-set\([^]*)/,d+"$1$`$1");case 4968:return T(T(e,/(.+:)(flex-)?(.*)/,d+"box-pack:$3"+c+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+d+e+e;case 4200:if(!w(e,/flex-|baseline/))return c+"grid-column-align"+E(e,t)+e;break;case 2592:case 3360:return c+T(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,w(e.props,/grid-\w+-end/)}))?~M(e+(n=n[t].value),"span",0)?e:c+T(e,"-start","")+e+c+"grid-row-span:"+(~M(n,"span",0)?w(n,/\d+/):+w(n,/\d+/)-+w(e,/\d+/))+";":c+T(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return w(e.props,/grid-\w+-start/)}))?e:c+T(T(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return T(e,/(.+)-inline(.+)/,d+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(C(e)-1-t>6)switch(A(e,t+1)){case 109:if(45!==A(e,t+4))break;case 102:return T(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==A(e,t+3)?"$3":"$2-$3"))+e;case 115:return~M(e,"stretch",0)?ee(T(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return T(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,i,o,a,s){return c+n+":"+r+s+(i?c+n+"-span:"+(o?a:+a-+r)+s:"")+e}));case 4949:if(121===A(e,t+6))return T(e,":",":"+d)+e;break;case 6444:switch(A(e,45===A(e,14)?18:11)){case 120:return T(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===A(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return T(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return T(e,"scroll-","scroll-snap-")+e}return e}function te(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=ee(e.value,e.length,n));case m:return $([U(e,{value:T(e.value,"@","@"+d)})],r);case p:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(w(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":_(U(e,{props:[T(t,/:(read-\w+)/,":"+u+"$1")]})),_(U(e,{props:[t]})),I(e,{props:k(n,r)});break;case"::placeholder":_(U(e,{props:[T(t,/:(plac\w+)/,":"+d+"input-$1")]})),_(U(e,{props:[T(t,/:(plac\w+)/,":"+u+"$1")]})),_(U(e,{props:[T(t,/:(plac\w+)/,c+"input-$1")]})),_(U(e,{props:[t]})),I(e,{props:k(n,r)})}return""}))}}function ne(e){return function(e){return P="",e}(re("",null,null,null,[""],e=function(e){return j=D=1,L=C(P=e),O=0,[]}(e),0,[0],e))}function re(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,h=0,g=1,m=1,y=1,I=0,x="",w=i,E=o,N=r,k=x;m;)switch(h=I,I=F()){case 40:if(108!=h&&58==A(k,d-1)){-1!=M(k+=T(V(I),"&","&\f"),"&\f",v(c?s[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:k+=V(I);break;case 9:case 10:case 13:case 32:k+=Y(h);break;case 92:k+=W(Z()-1,7);continue;case 47:switch(G()){case 42:case 47:S(oe(J(F(),Z()),t,n,l),l);break;default:k+="/"}break;case 123*g:s[c++]=C(k)*y;case 125*g:case 59:case 0:switch(I){case 0:case 125:m=0;case 59+u:-1==y&&(k=T(k,/\f/g,"")),p>0&&C(k)-d&&S(p>32?ae(k+";",r,n,d-1,l):ae(T(k," ","")+";",r,n,d-2,l),l);break;case 59:k+=";";default:if(S(N=ie(k,t,n,c,u,i,s,x,w=[],E=[],d,o),o),123===I)if(0===u)re(k,t,N,N,w,o,d,s,E);else switch(99===f&&110===A(k,3)?100:f){case 100:case 108:case 109:case 115:re(e,N,N,r&&S(ie(e,N,N,0,0,i,s,x,i,w=[],d,E),E),i,E,d,s,r?w:E);break;default:re(k,N,N,N,[""],E,0,s,E)}}c=u=p=0,g=y=1,x=k="",d=a;break;case 58:d=1+C(k),p=h;default:if(g<1)if(123==I)--g;else if(125==I&&0==g++&&125==B())continue;switch(k+=b(I),I*g){case 38:y=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(C(k)-1)*y,y=1;break;case 64:45===G()&&(k+=V(F())),f=G(),u=d=C(x=k+=X(Z())),I++;break;case 45:45===h&&2==C(k)&&(g=0)}}return o}function ie(e,t,n,r,i,o,a,s,l,c,u,d){for(var f=i-1,h=0===i?o:[""],g=N(h),m=0,y=0,b=0;m<r;++m)for(var I=0,w=E(e,f+1,f=v(y=a[m])),M=e;I<g;++I)(M=x(y>0?h[I]+" "+w:T(w,/&\f/g,h[I])))&&(l[b++]=M);return z(e,t,n,0===i?p:s,l,c,u,d)}function oe(e,t,n,r){return z(e,t,n,f,b(R),E(e,2,-2),0,r)}function ae(e,t,n,r,i){return z(e,t,n,h,E(e,0,r),E(e,r+1,-1),r,i)}var se={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},le="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ce="active",ue="data-styled-version",de="6.1.13",fe="/*!sc*/\n",pe="undefined"!=typeof window&&"HTMLElement"in window,he=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ge={},me=(new Set,Object.freeze([])),ye=Object.freeze({});function ve(e,t,n){return void 0===n&&(n=ye),e.theme!==n.theme&&e.theme||t||n.theme}var be=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Ie=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function we(e){return e.replace(Ie,"-").replace(xe,"")}var Te=/(a)(d)/gi,Me=52,Ae=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ee(e){var t,n="";for(t=Math.abs(e);t>Me;t=t/Me|0)n=Ae(t%Me)+n;return(Ae(t%Me)+n).replace(Te,"$1-$2")}var Ce,Ne=5381,Se=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ke=function(e){return Se(Ne,e)};function je(e){return Ee(ke(e)>>>0)}function De(e){return e.displayName||e.name||"Component"}function Le(e){return"string"==typeof e&&!0}var Oe="function"==typeof Symbol&&Symbol.for,Re=Oe?Symbol.for("react.memo"):60115,Pe=Oe?Symbol.for("react.forward_ref"):60112,ze={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ue={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},_e={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Be=((Ce={})[Pe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ce[Re]=_e,Ce);function Fe(e){return("type"in(t=e)&&t.type.$$typeof)===Re?_e:"$$typeof"in e?Be[e.$$typeof]:ze;var t}var Ge=Object.defineProperty,Ze=Object.getOwnPropertyNames,He=Object.getOwnPropertySymbols,qe=Object.getOwnPropertyDescriptor,Ve=Object.getPrototypeOf,Ye=Object.prototype;function We(e,t,n){if("string"!=typeof t){if(Ye){var r=Ve(t);r&&r!==Ye&&We(e,r,n)}var i=Ze(t);He&&(i=i.concat(He(t)));for(var o=Fe(e),a=Fe(t),s=0;s<i.length;++s){var l=i[s];if(!(l in Ue||n&&n[l]||a&&l in a||o&&l in o)){var c=qe(t,l);try{Ge(e,l,c)}catch(e){}}}}return e}function Qe(e){return"function"==typeof e}function Je(e){return"object"==typeof e&&"styledComponentId"in e}function Xe(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function $e(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function Ke(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function et(e,t,n){if(void 0===n&&(n=!1),!n&&!Ke(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=et(e[r],t[r]);else if(Ke(t))for(var r in t)e[r]=et(e[r],t[r]);return e}function tt(e,t){Object.defineProperty(e,"toString",{value:t})}function nt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var rt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw nt(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=(o=0,t.length);o<s;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(fe);return t},e}(),it=new Map,ot=new Map,at=1,st=function(e){if(it.has(e))return it.get(e);for(;ot.has(at);)at++;var t=at++;return it.set(e,t),ot.set(t,e),t},lt=function(e,t){at=t+1,it.set(e,t),ot.set(t,e)},ct="style[".concat(le,"][").concat(ue,'="').concat(de,'"]'),ut=new RegExp("^".concat(le,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),dt=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},ft=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(fe),i=[],o=0,a=r.length;o<a;o++){var s=r[o].trim();if(s){var l=s.match(ut);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(lt(u,c),dt(e,u,l[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(s)}}},pt=function(e){for(var t=document.querySelectorAll(ct),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(le)!==ce&&(ft(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function ht(){return n.nc}var gt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(le,"]")));return t[t.length-1]}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(le,ce),r.setAttribute(ue,de);var a=ht();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},mt=function(){function e(e){this.element=gt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw nt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),yt=function(){function e(e){this.element=gt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),vt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),bt=pe,It={isServer:!pe,useCSSOMInjection:!he},xt=function(){function e(e,t,n){void 0===e&&(e=ye),void 0===t&&(t={});var i=this;this.options=r(r({},It),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&pe&&bt&&(bt=!1,pt(this)),tt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=function(n){var i=function(e){return ot.get(e)}(n);if(void 0===i)return"continue";var o=e.names.get(i),a=t.getGroup(n);if(void 0===o||!o.size||0===a.length)return"continue";var s="".concat(le,".g").concat(n,'[id="').concat(i,'"]'),l="";void 0!==o&&o.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),r+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(fe)},o=0;o<n;o++)i(o);return r}(i)}))}return e.registerId=function(e){return st(e)},e.prototype.rehydrate=function(){!this.server&&pe&&pt(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new vt(n):t?new mt(n):new yt(n)}(this.options),new rt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(st(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(st(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(st(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),wt=/&/g,Tt=/^\s*\/\/.*$/gm;function Mt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Mt(e.children,t)),e}))}function At(e){var t,n,r,i=void 0===e?ye:e,o=i.options,a=void 0===o?ye:o,s=i.plugins,l=void 0===s?me:s,c=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===p&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(wt,n).replace(r,c))})),a.prefix&&u.push(te),u.push(K);var d=function(e,i,o,s){void 0===i&&(i=""),void 0===o&&(o=""),void 0===s&&(s="&"),t=s,n=i,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(Tt,""),c=ne(o||i?"".concat(o," ").concat(i," { ").concat(l," }"):l);a.namespace&&(c=Mt(c,a.namespace));var d,f,p,h=[];return $(c,(d=u.concat((p=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&p(e)})),f=N(d),function(e,t,n,r){for(var i="",o=0;o<f;o++)i+=d[o](e,t,n,r)||"";return i})),h};return d.hash=l.length?l.reduce((function(e,t){return t.name||nt(15),Se(e,t.name)}),Ne).toString():"",d}var Et=new xt,Ct=At(),Nt=a().createContext({shouldForwardProp:void 0,styleSheet:Et,stylis:Ct}),St=Nt.Consumer,kt=a().createContext(void 0);function jt(){return(0,o.useContext)(Nt)}function Dt(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],r=t[1],i=jt().styleSheet,s=(0,o.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,i]),c=(0,o.useMemo)((function(){return At({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,o.useEffect)((function(){l()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var u=(0,o.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:s,stylis:c}}),[e.shouldForwardProp,s,c]);return a().createElement(Nt.Provider,{value:u},a().createElement(kt.Provider,{value:c},e.children))}var Lt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ct);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,tt(this,(function(){throw nt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Ct),this.name+e.hash},e}(),Ot=function(e){return e>="A"&&e<="Z"};function Rt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Ot(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Pt=function(e){return null==e||!1===e||""===e},zt=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!Pt(a)&&(Array.isArray(a)&&a.isCss||Qe(a)?r.push("".concat(Rt(o),":"),a,";"):Ke(a)?r.push.apply(r,i(i(["".concat(o," {")],zt(a),!1),["}"],!1)):r.push("".concat(Rt(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in se||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Ut(e,t,n,r){return Pt(e)?[]:Je(e)?[".".concat(e.styledComponentId)]:Qe(e)?!Qe(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:Ut(e(t),t,n,r):e instanceof Lt?n?(e.inject(n,r),[e.getName(r)]):[e]:Ke(e)?zt(e):Array.isArray(e)?Array.prototype.concat.apply(me,e.map((function(e){return Ut(e,t,n,r)}))):[e.toString()];var i}function _t(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Qe(n)&&!Je(n))return!1}return!0}var Bt=ke(de),Ft=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&_t(e),this.componentId=t,this.baseHash=Se(Bt,t),this.baseStyle=n,xt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Xe(r,this.staticRulesId);else{var i=$e(Ut(this.rules,e,t,n)),o=Ee(Se(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=Xe(r,o),this.staticRulesId=o}else{for(var s=Se(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var d=$e(Ut(u,e,t,n));s=Se(s,d+c),l+=d}}if(l){var f=Ee(s>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(l,".".concat(f),void 0,this.componentId)),r=Xe(r,f)}}return r},e}(),Gt=a().createContext(void 0),Zt=Gt.Consumer;function Ht(){var e=(0,o.useContext)(Gt);if(!e)throw nt(18);return e}function qt(e){var t=a().useContext(Gt),n=(0,o.useMemo)((function(){return function(e,t){if(!e)throw nt(14);if(Qe(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw nt(8);return t?r(r({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?a().createElement(Gt.Provider,{value:n},e.children):null}var Vt={};function Yt(e,t,n){var i=Je(e),s=e,l=!Le(e),c=t.attrs,u=void 0===c?me:c,d=t.componentId,f=void 0===d?function(e,t){var n="string"!=typeof e?"sc":we(e);Vt[n]=(Vt[n]||0)+1;var r="".concat(n,"-").concat(je(de+n+Vt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,p=t.displayName,h=void 0===p?function(e){return Le(e)?"styled.".concat(e):"Styled(".concat(De(e),")")}(e):p,g=t.displayName&&t.componentId?"".concat(we(t.displayName),"-").concat(t.componentId):t.componentId||f,m=i&&s.attrs?s.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(i&&s.shouldForwardProp){var v=s.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var I=new Ft(n,g,i?s.componentStyle:void 0);function x(e,t){return function(e,t,n){var i=e.attrs,s=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,f=a().useContext(Gt),p=jt(),h=e.shouldForwardProp||p.shouldForwardProp,g=ve(t,f,l)||ye,m=function(e,t,n){for(var i,o=r(r({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var s=Qe(i=e[a])?i(o):i;for(var l in s)o[l]="className"===l?Xe(o[l],s[l]):"style"===l?r(r({},o[l]),s[l]):s[l]}return t.className&&(o.className=Xe(o.className,t.className)),o}(i,t,g),y=m.as||d,v={};for(var b in m)void 0===m[b]||"$"===b[0]||"as"===b||"theme"===b&&m.theme===g||("forwardedAs"===b?v.as=m.forwardedAs:h&&!h(b,y)||(v[b]=m[b]));var I=function(e,t){var n=jt();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(s,m),x=Xe(c,u);return I&&(x+=" "+I),m.className&&(x+=" "+m.className),v[Le(y)&&!be.has(y)?"class":"className"]=x,v.ref=n,(0,o.createElement)(y,v)}(w,e,t)}x.displayName=h;var w=a().forwardRef(x);return w.attrs=m,w.componentStyle=I,w.displayName=h,w.shouldForwardProp=y,w.foldedComponentIds=i?Xe(s.foldedComponentIds,s.styledComponentId):"",w.styledComponentId=g,w.target=i?s.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)et(e,i[r],!0);return e}({},s.defaultProps,e):e}}),tt(w,(function(){return".".concat(w.styledComponentId)})),l&&We(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Wt(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}new Set;var Qt=function(e){return Object.assign(e,{isCss:!0})};function Jt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Qe(e)||Ke(e))return Qt(Ut(Wt(me,i([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Ut(r):Qt(Ut(Wt(r,t)))}function Xt(e,t,n){if(void 0===n&&(n=ye),!t)throw nt(1,t);var o=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,Jt.apply(void 0,i([r],o,!1)))};return o.attrs=function(i){return Xt(e,t,r(r({},n),{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},o.withConfig=function(i){return Xt(e,t,r(r({},n),i))},o}var $t=function(e){return Xt(Yt,e)},Kt=$t;be.forEach((function(e){Kt[e]=$t(e)}));var en=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=_t(e),xt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r($e(Ut(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&xt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=Jt.apply(void 0,i([e],t,!1)),s="sc-global-".concat(je(JSON.stringify(o))),l=new en(o,s),c=function(e){var t=jt(),n=a().useContext(Gt),r=a().useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),a().useLayoutEffect((function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return l.removeStyles(r,t.styleSheet)}}),[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,i,o){if(l.isStatic)l.renderStyles(e,ge,n,o);else{var a=r(r({},t),{theme:ve(t,i,c.defaultProps)});l.renderStyles(e,a,n,o)}}return a().memo(c)}function nn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=$e(Jt.apply(void 0,i([e],t,!1))),o=je(r);return new Lt(o,r)}function rn(e){var t=a().forwardRef((function(t,n){var i=ve(t,a().useContext(Gt),e.defaultProps);return a().createElement(e,r({},t,{theme:i,ref:n}))}));return t.displayName="WithTheme(".concat(De(e),")"),We(t,e)}var on=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=ht(),r=$e([n&&'nonce="'.concat(n,'"'),"".concat(le,'="true"'),"".concat(ue,'="').concat(de,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw nt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw nt(2);var n=e.instance.toString();if(!n)return[];var i=((t={})[le]="",t[ue]=de,t.dangerouslySetInnerHTML={__html:n},t),o=ht();return o&&(i.nonce=o),[a().createElement("style",r({},i,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new xt({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw nt(2);return a().createElement(Dt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw nt(3)},e}(),an={StyleSheet:xt,mainSheet:Et};"__sc-".concat(le,"__")},679:(e,t,n)=>{"use strict";n.r(t),n.d(t,{focusable:()=>x,getTabIndex:()=>f,isFocusable:()=>M,isTabbable:()=>w,tabbable:()=>I});var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],i=r.join(","),o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(t,n){var r;void 0===n&&(n=!0);var i=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===i||"true"===i||n&&t&&e(t.parentNode)},c=function(e,t,n){if(l(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&a.call(e,i)&&r.unshift(e),r.filter(n)},u=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var c=s.shift();if(!l(c,!1))if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:c,candidates:d})}else{a.call(c,i)&&r.filter(c)&&(n||!t.includes(c))&&o.push(c);var f=c.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(c),p=!l(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(c));if(f&&p){var h=e(!0===f?c.children:f.children,!0,r);r.flatten?o.push.apply(o,h):o.push({scopeParent:c,candidates:h})}else s.unshift.apply(s,c.children)}}return o},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!d(e)?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},g=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},m=function(e,t){return!(t.disabled||l(t)||function(e){return h(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return g(e)}else{if("function"==typeof r){for(var o=e;e;){var l=e.parentElement,c=s(e);if(l&&!l.shadowRoot&&!0===r(l))return g(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=o}if(function(e){var t,n,r,i,o=e&&s(e),a=null===(t=o)||void 0===t?void 0:t.host,l=!1;if(o&&o!==e)for(l=!!(null!==(n=a)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(a)||null!=e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!l&&a;){var c,u,d;l=!(null===(u=a=null===(c=o=s(a))||void 0===c?void 0:c.host)||void 0===u||null===(d=u.ownerDocument)||void 0===d||!d.contains(a))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},y=function(e,t){return!(function(e){return function(e){return h(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||s(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)}(t)||f(t)<0||!m(e,t))},v=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},b=function e(t){var n=[],r=[];return t.forEach((function(t,i){var o=!!t.scopeParent,a=o?t.scopeParent:t,s=function(e,t){var n=f(e);return n<0&&t&&!d(e)?0:n}(a,o),l=o?e(t.candidates):a;0===s?o?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(p).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},I=function(e,t){var n;return n=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:y.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):c(e,t.includeContainer,y.bind(null,t)),b(n)},x=function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:m.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,m.bind(null,t))},w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,i)&&y(t,e)},T=r.concat("iframe").join(","),M=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,T)&&m(t,e)}},758:function(e,t){!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 o(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 a(e){return"string"==typeof e||"symbol"==typeof e}function s(e){return!a(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,o,a){return t(e)&&n(1),s(e)&&i(1),{type:e,payload:r,meta:o,error:a}}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),o=function(n,o){var s=Array.isArray(n)?n:[n],l={};return s.map((function(e,t){return r(e)?p(e):a(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]=o})),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:o,handleType:o})},e.deprecated=g,e.getType=p,e.isActionOf=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(o);var a=function(e){return i.some((function(t){return e.type===t.getType()}))};return void 0===r?a:a(r)},e.isOfType=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(c);var o=function(e){return i.includes(e.type)};return void 0===r?o:o(r)}}(t)},5969:(e,t,n)=>{"use strict";var r=n(5442),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useSyncExternalStore,a=r.useRef,s=r.useEffect,l=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l((function(){function e(e){if(!s){if(s=!0,o=e,e=r(e),void 0!==u&&f.hasValue){var t=f.value;if(u(t,e))return a=t}return a=e}if(t=a,i(o,e))return t;var n=r(e);return void 0!==u&&u(t,n)?t:(o=e,a=n)}var o,a,s=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,r,u]);var p=o(e,d[0],d[1]);return s((function(){f.hasValue=!0,f.value=p}),[p]),c(p),p}},5919:(e,t,n)=>{"use strict";e.exports=n(5969)},9002:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},5442:t=>{"use strict";t.exports=e},6003:e=>{"use strict";e.exports=t},3215:()=>{},8892:()=>{},5324:()=>{},8645:()=>{},588:()=>{},1198:(e,t)=>{var n;!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)i(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty,r=/\s+/;function i(e,i){if(i){var o=typeof i;"string"===o?function(e,t){for(var n=t.split(r),i=n.length,o=0;o<i;++o)e[n[o]]=!0}(e,i):Array.isArray(i)?t(e,i):"object"===o?function(e,t){if(t.toString===Object.prototype.toString||t.toString.toString().includes("[native code]"))for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,i):"number"===o&&function(e,t){e[t]=!0}(e,i)}}return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=new e;t(o,r);var a=[];for(var s in o)o[s]&&a.push(s);return a.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},945:e=>{e.exports={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r}}}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e].call(n.exports,n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);a.r(i);var o={};n=n||[null,r({}),r([]),r(r)];for(var s=2&t&&e;"object"==typeof s&&!~n.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach((t=>o[t]=()=>e[t]));return o.default=()=>e,a.d(i,o),i},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nc=void 0;var s={};return(()=>{"use strict";a.r(s),a.d(s,{Attachments:()=>Id,Exam:()=>Iy,GradingAnswer:()=>rb,GradingInstructions:()=>Ry,Results:()=>wv,parseExam:()=>Qv});var e=a(5442),t=a.n(e);a(9002),Object.create(null);const n={},r=(...e)=>{c(e[0])&&n[e[0]]||(c(e[0])&&(n[e[0]]=new Date),((...e)=>{console?.warn&&(c(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))})(...e))},i=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout((()=>{e.off("initialized",n)}),0),t()};e.on("initialized",n)}},o=(e,t,n)=>{e.loadNamespaces(t,i(e,n))},l=(e,t,n,r)=>{c(n)&&(n=[n]),n.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,i(e,r))},c=e=>"string"==typeof e,u=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,d={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},f=e=>d[e];let p={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(u,f)};const h=(0,e.createContext)();class g{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const m=(e,t,n,r)=>e.getFixedT(t,n,r),y=(t,n={})=>{const{i18n:i}=n,{i18n:a,defaultNS:s}=(0,e.useContext)(h)||{},u=i||a||undefined;if(u&&!u.reportNamespaces&&(u.reportNamespaces=new g),!u){r("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>{return c(t)?t:"object"==typeof(n=t)&&null!==n&&c(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e;var n},t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}u.options.react?.wait&&r("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const d={...p,...u.options.react,...n},{useSuspense:f,keyPrefix:y}=d;let v=t||s||u.options?.defaultNS;v=c(v)?[v]:v||["translation"],u.reportNamespaces.addUsedNamespaces?.(v);const b=(u.isInitialized||u.initializedStoreOnce)&&v.every((e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n?.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(r("i18n.languages were undefined or empty",t.languages),!0))(e,u,d))),I=((t,n,r,i)=>(0,e.useCallback)(m(t,n,r,i),[t,n,r,i]))(u,n.lng||null,"fallback"===d.nsMode?v:v[0],y),x=()=>I,w=()=>m(u,n.lng||null,"fallback"===d.nsMode?v:v[0],y),[T,M]=(0,e.useState)(x);let A=v.join();n.lng&&(A=`${n.lng}${A}`);const E=((t,n)=>{const r=(0,e.useRef)();return(0,e.useEffect)((()=>{r.current=t}),[t,n]),r.current})(A),C=(0,e.useRef)(!0);(0,e.useEffect)((()=>{const{bindI18n:e,bindI18nStore:t}=d;C.current=!0,b||f||(n.lng?l(u,n.lng,v,(()=>{C.current&&M(w)})):o(u,v,(()=>{C.current&&M(w)}))),b&&E&&E!==A&&C.current&&M(w);const r=()=>{C.current&&M(w)};return e&&u?.on(e,r),t&&u?.store.on(t,r),()=>{C.current=!1,u&&e?.split(" ").forEach((e=>u.off(e,r))),t&&u&&t.split(" ").forEach((e=>u.store.off(e,r)))}}),[u,A]),(0,e.useEffect)((()=>{C.current&&b&&M(x)}),[u,y,b]);const N=[T,u,b];if(N.t=T,N.i18n=u,N.ready=b,b)return N;if(!b&&!f)return N;throw new Promise((e=>{n.lng?l(u,n.lng,v,(()=>e())):o(u,v,(()=>e()))}))};function v({i18n:t,defaultNS:n,children:r}){const i=(0,e.useMemo)((()=>({i18n:t,defaultNS:n})),[t,n]);return(0,e.createElement)(h.Provider,{value:i},r)}const b=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},I=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e},x=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},w="object"==typeof global&&global&&global.Object===Object&&global;var T="object"==typeof self&&self&&self.Object===Object&&self;const M=w||T||Function("return this")(),A=M.Symbol;var E=Object.prototype,C=E.hasOwnProperty,N=E.toString,S=A?A.toStringTag:void 0;var k=Object.prototype.toString;var j=A?A.toStringTag:void 0;const D=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":j&&j in Object(e)?function(e){var t=C.call(e,S),n=e[S];try{e[S]=void 0;var r=!0}catch(e){}var i=N.call(e);return r&&(t?e[S]=n:delete e[S]),i}(e):function(e){return k.call(e)}(e)},L=function(e){return null!=e&&"object"==typeof e},O=function(e){return L(e)&&"[object Arguments]"==D(e)};var R=Object.prototype,P=R.hasOwnProperty,z=R.propertyIsEnumerable;const U=O(function(){return arguments}())?O:function(e){return L(e)&&P.call(e,"callee")&&!z.call(e,"callee")},_=Array.isArray;var B="object"==typeof exports&&exports&&!exports.nodeType&&exports,F=B&&"object"==typeof module&&module&&!module.nodeType&&module,G=F&&F.exports===B?M.Buffer:void 0;const Z=(G?G.isBuffer:void 0)||function(){return!1};var H=/^(?:0|[1-9]\d*)$/;const q=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&H.test(e))&&e>-1&&e%1==0&&e<t},V=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Y={};Y["[object Float32Array]"]=Y["[object Float64Array]"]=Y["[object Int8Array]"]=Y["[object Int16Array]"]=Y["[object Int32Array]"]=Y["[object Uint8Array]"]=Y["[object Uint8ClampedArray]"]=Y["[object Uint16Array]"]=Y["[object Uint32Array]"]=!0,Y["[object Arguments]"]=Y["[object Array]"]=Y["[object ArrayBuffer]"]=Y["[object Boolean]"]=Y["[object DataView]"]=Y["[object Date]"]=Y["[object Error]"]=Y["[object Function]"]=Y["[object Map]"]=Y["[object Number]"]=Y["[object Object]"]=Y["[object RegExp]"]=Y["[object Set]"]=Y["[object String]"]=Y["[object WeakMap]"]=!1;const W=function(e){return function(t){return e(t)}};var Q="object"==typeof exports&&exports&&!exports.nodeType&&exports,J=Q&&"object"==typeof module&&module&&!module.nodeType&&module,X=J&&J.exports===Q&&w.process;const $=function(){try{return J&&J.require&&J.require("util").types||X&&X.binding&&X.binding("util")}catch(e){}}();var K=$&&$.isTypedArray;const ee=K?W(K):function(e){return L(e)&&V(e.length)&&!!Y[D(e)]};var te=Object.prototype.hasOwnProperty;const ne=function(e,t){var n=_(e),r=!n&&U(e),i=!n&&!r&&Z(e),o=!n&&!r&&!i&&ee(e),a=n||r||i||o,s=a?x(e.length,String):[],l=s.length;for(var c in e)!t&&!te.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||q(c,l))||s.push(c);return s};var re=Object.prototype;const ie=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||re)},oe=function(e,t){return function(n){return e(t(n))}},ae=oe(Object.keys,Object);var se=Object.prototype.hasOwnProperty;const le=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ce=function(e){if(!le(e))return!1;var t=D(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ue=function(e){return null!=e&&V(e.length)&&!ce(e)},de=function(e){return ue(e)?ne(e):function(e){if(!ie(e))return ae(e);var t=[];for(var n in Object(e))se.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},fe=function(e,t){return e&&I(e,t,de)},pe=(he=fe,function(e,t){if(null==e)return e;if(!ue(e))return he(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););return e});var he;const ge=function(e){return e},me=function(e){return"function"==typeof e?e:ge},ye=function(e,t){return(_(e)?b:pe)(e,me(t))},ve=(0,e.createContext)({}),be=" ";function Ie(e,t){const n=null!=t?xe(t):void 0,r=[];for(;null!=e.parentElement;)e=e.parentElement,(null==n||n(e))&&r.push(e);return r}function xe(e){return"function"==typeof e?t=>t.namespaceURI===gs&&e(t):Array.isArray(e)?t=>t.namespaceURI===gs&&e.includes(t.localName):t=>t.namespaceURI===gs&&t.localName===e}function we(e,t){const n=xe(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 o=e(i);if(null!=o)return o}}(e)}function Te(e,t,n=!0){const r=xe(t),i=[];return function e(t){for(let o=0,a=t.children.length;o<a;o++){const a=t.children[o];r(a)?(i.push(a),n&&e(a)):e(a)}}(e),i}function Me(e,t){const n=xe(t);for(;null!=e.parentElement;)if(n(e=e.parentElement))return e}function Ae(e,t){const n=xe(t);for(let t=0,r=e.children.length;t<r;t++){const r=e.children[t];if(n(r))return r}}function Ee(e,t){var n;return null!==(n=e.getAttribute(t))&&void 0!==n?n:void 0}function Ce(e,t){const n=e.getAttribute(t);return null!=n?Number(n):void 0}function Ne(e,t){return"true"===Ee(e,t)}function Se(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 ke(e){return Te(e,["choice-answer","dropdown-answer","text-answer","scored-text-answer"],!0)}function je(e){const t=Me(e,"question"),n=null==t?void 0:t.querySelectorAll("[question-id]");return n&&(null==n?void 0:n.length)>1}function De(e,t,...n){const r=document.createElement(e);return function(e,t){ye(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}function Le(t,n){const{visibleTOCElements:r}=(0,e.useContext)(ve),[i,o]=(0,e.useState)(!1),a=`${t}-${n}`;return(0,e.useEffect)((()=>{(null==r?void 0:r.includes(a))&&!i?o(!0):!(null==r?void 0:r.includes(a))&&i&&o(!1)}),[r]),i}function Oe(e){var t,n,r;const i=!e.tagName&&Array.from((null===(t=e.parentNode)||void 0===t?void 0:t.childNodes)||[]).indexOf(e),o=Array.from((null===(n=e.parentElement)||void 0===n?void 0:n.children)||[]).indexOf(e);let a=`${e.nodeName}:${o>0?o:i}`,s=e;for(;s.parentElement;){s=s.parentElement;const e=s.getAttribute("display-number"),t=Number(e)?e:Array.from((null===(r=s.parentElement)||void 0===r?void 0:r.children)||[s]).indexOf(s);a=`${s.getAttribute("id")||s.nodeName}:${t} > ${a}`}return a}const Re=M["__core-js_shared__"];var Pe,ze=(Pe=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+Pe:"";var Ue=Function.prototype.toString;const _e=function(e){if(null!=e){try{return Ue.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var Be=/^\[object .+?Constructor\]$/,Fe=Function.prototype,Ge=Object.prototype,Ze=Fe.toString,He=Ge.hasOwnProperty,qe=RegExp("^"+Ze.call(He).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Ve=function(e){return!(!le(e)||(t=e,ze&&ze in t))&&(ce(e)?qe:Be).test(_e(e));var t},Ye=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ve(n)?n:void 0},We=function(){try{var e=Ye(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Qe=function(e,t,n){"__proto__"==t&&We?We(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Je=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r},Xe=function(e,t,n,r){return pe(e,(function(e,i,o){t(r,e,n(e),o)})),r},$e=function(e,t){return e===t||e!=e&&t!=t},Ke=function(e,t){for(var n=e.length;n--;)if($e(e[n][0],t))return n;return-1};var et=Array.prototype.splice;function tt(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])}}tt.prototype.clear=function(){this.__data__=[],this.size=0},tt.prototype.delete=function(e){var t=this.__data__,n=Ke(t,e);return!(n<0||(n==t.length-1?t.pop():et.call(t,n,1),--this.size,0))},tt.prototype.get=function(e){var t=this.__data__,n=Ke(t,e);return n<0?void 0:t[n][1]},tt.prototype.has=function(e){return Ke(this.__data__,e)>-1},tt.prototype.set=function(e,t){var n=this.__data__,r=Ke(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const nt=tt,rt=Ye(M,"Map"),it=Ye(Object,"create");var ot=Object.prototype.hasOwnProperty;var at=Object.prototype.hasOwnProperty;function st(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])}}st.prototype.clear=function(){this.__data__=it?it(null):{},this.size=0},st.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},st.prototype.get=function(e){var t=this.__data__;if(it){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return ot.call(t,e)?t[e]:void 0},st.prototype.has=function(e){var t=this.__data__;return it?void 0!==t[e]:at.call(t,e)},st.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=it&&void 0===t?"__lodash_hash_undefined__":t,this};const lt=st,ct=function(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map};function ut(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])}}ut.prototype.clear=function(){this.size=0,this.__data__={hash:new lt,map:new(rt||nt),string:new lt}},ut.prototype.delete=function(e){var t=ct(this,e).delete(e);return this.size-=t?1:0,t},ut.prototype.get=function(e){return ct(this,e).get(e)},ut.prototype.has=function(e){return ct(this,e).has(e)},ut.prototype.set=function(e,t){var n=ct(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const dt=ut;function ft(e){var t=this.__data__=new nt(e);this.size=t.size}ft.prototype.clear=function(){this.__data__=new nt,this.size=0},ft.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ft.prototype.get=function(e){return this.__data__.get(e)},ft.prototype.has=function(e){return this.__data__.has(e)},ft.prototype.set=function(e,t){var n=this.__data__;if(n instanceof nt){var r=n.__data__;if(!rt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new dt(r)}return n.set(e,t),this.size=n.size,this};const pt=ft;function ht(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new dt;++t<n;)this.add(e[t])}ht.prototype.add=ht.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ht.prototype.has=function(e){return this.__data__.has(e)};const gt=ht,mt=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},yt=function(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=2&n?new gt:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var h=e[d],g=t[d];if(r)var m=a?r(g,h,d,t,e,o):r(h,g,d,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(p){if(!mt(t,(function(e,t){if(a=t,!p.has(a)&&(h===e||i(h,e,n,r,o)))return p.push(t);var a}))){f=!1;break}}else if(h!==g&&!i(h,g,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f},vt=M.Uint8Array,bt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},It=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var xt=A?A.prototype:void 0,wt=xt?xt.valueOf:void 0;const Tt=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Mt=function(e,t,n){var r=t(e);return _(e)?r:Tt(r,n(e))},At=function(){return[]};var Et=Object.prototype.propertyIsEnumerable,Ct=Object.getOwnPropertySymbols;const Nt=Ct?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(Ct(e),(function(t){return Et.call(e,t)})))}:At,St=function(e){return Mt(e,de,Nt)};var kt=Object.prototype.hasOwnProperty;const jt=Ye(M,"DataView"),Dt=Ye(M,"Promise"),Lt=Ye(M,"Set"),Ot=Ye(M,"WeakMap");var Rt="[object Map]",Pt="[object Promise]",zt="[object Set]",Ut="[object WeakMap]",_t="[object DataView]",Bt=_e(jt),Ft=_e(rt),Gt=_e(Dt),Zt=_e(Lt),Ht=_e(Ot),qt=D;(jt&&qt(new jt(new ArrayBuffer(1)))!=_t||rt&&qt(new rt)!=Rt||Dt&&qt(Dt.resolve())!=Pt||Lt&&qt(new Lt)!=zt||Ot&&qt(new Ot)!=Ut)&&(qt=function(e){var t=D(e),n="[object Object]"==t?e.constructor:void 0,r=n?_e(n):"";if(r)switch(r){case Bt:return _t;case Ft:return Rt;case Gt:return Pt;case Zt:return zt;case Ht:return Ut}return t});const Vt=qt;var Yt="[object Arguments]",Wt="[object Array]",Qt="[object Object]",Jt=Object.prototype.hasOwnProperty;const Xt=function(e,t,n,r,i,o){var a=_(e),s=_(t),l=a?Wt:Vt(e),c=s?Wt:Vt(t),u=(l=l==Yt?Qt:l)==Qt,d=(c=c==Yt?Qt:c)==Qt,f=l==c;if(f&&Z(e)){if(!Z(t))return!1;a=!0,u=!1}if(f&&!u)return o||(o=new pt),a||ee(e)?yt(e,t,n,r,i,o):function(e,t,n,r,i,o,a){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||!o(new vt(e),new vt(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return $e(+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=bt;case"[object Set]":var l=1&r;if(s||(s=It),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=yt(s(e),s(t),r,i,o,a);return a.delete(e),u;case"[object Symbol]":if(wt)return wt.call(e)==wt.call(t)}return!1}(e,t,l,n,r,i,o);if(!(1&n)){var p=u&&Jt.call(e,"__wrapped__"),h=d&&Jt.call(t,"__wrapped__");if(p||h){var g=p?e.value():e,m=h?t.value():t;return o||(o=new pt),i(g,m,n,r,o)}}return!!f&&(o||(o=new pt),function(e,t,n,r,i,o){var a=1&n,s=St(e),l=s.length;if(l!=St(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:kt.call(t,u)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var p=!0;o.set(e,t),o.set(t,e);for(var h=a;++c<l;){var g=e[u=s[c]],m=t[u];if(r)var y=a?r(m,g,u,t,e,o):r(g,m,u,e,t,o);if(!(void 0===y?g===m||i(g,m,n,r,o):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 o.delete(e),o.delete(t),p}(e,t,n,r,i,o))},$t=function e(t,n,r,i,o){return t===n||(null==t||null==n||!L(t)&&!L(n)?t!=t&&n!=n:Xt(t,n,r,i,e,o))},Kt=function(e){return e==e&&!le(e)},en=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},tn=function(e){var t=function(e){for(var t=de(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Kt(i)]}return t}(e);return 1==t.length&&t[0][2]?en(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=n[i])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new pt;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?$t(u,c,3,r,d):f))return!1}}return!0}(n,e,t)}},nn=function(e){return"symbol"==typeof e||L(e)&&"[object Symbol]"==D(e)};var rn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,on=/^\w*$/;const an=function(e,t){if(_(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!nn(e))||on.test(e)||!rn.test(e)||null!=t&&e in Object(t)};function sn(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],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(sn.Cache||dt),n}sn.Cache=dt;var ln=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cn=/\\(\\)?/g;const un=(dn=sn((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ln,(function(e,n,r,i){t.push(r?i.replace(cn,"$1"):n||e)})),t}),(function(e){return 500===fn.size&&fn.clear(),e})),fn=dn.cache,dn);var dn,fn;const pn=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};var hn=A?A.prototype:void 0,gn=hn?hn.toString:void 0;const mn=function e(t){if("string"==typeof t)return t;if(_(t))return pn(t,e)+"";if(nn(t))return gn?gn.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},yn=function(e){return null==e?"":mn(e)},vn=function(e,t){return _(e)?e:an(e,t)?[e]:un(yn(e))},bn=function(e){if("string"==typeof e||nn(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},In=function(e,t){for(var n=0,r=(t=vn(t,e)).length;null!=e&&n<r;)e=e[bn(t[n++])];return n&&n==r?e:void 0},xn=function(e,t,n){var r=null==e?void 0:In(e,t);return void 0===r?n:r},wn=function(e,t){return null!=e&&t in Object(e)},Tn=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=vn(t,e)).length,o=!1;++r<i;){var a=bn(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&V(i)&&q(a,i)&&(_(e)||U(e))}(e,t,wn)},Mn=function(e){return an(e)?(t=bn(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return In(t,e)}}(e);var t},An=function(e){return"function"==typeof e?e:null==e?ge:"object"==typeof e?_(e)?(t=e[0],n=e[1],an(t)&&Kt(n)?en(bn(t),n):function(e){var r=xn(e,t);return void 0===r&&r===n?Tn(e,t):$t(n,r,3)}):tn(e):Mn(e);var t,n},En=function(e,t){return function(n,r){var i=_(n)?Je:Xe,o=t?t():{};return i(n,e,An(r),o)}};var Cn=Object.prototype.hasOwnProperty;const Nn=En((function(e,t,n){Cn.call(e,n)?e[n].push(t):Qe(e,n,[t])})),Sn=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 o=Array(i);++r<i;)o[r]=e[r+t];return o},kn=function(e,t){return e&&e.length?function(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Sn(e,r?0:o,r?o+1:i):Sn(e,r?o+1:0,r?i:o)}(e,An(t)):[]},jn=function(e){return e&&e.length?function(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}(e,ge):0},Dn=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Ln=function(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(void 0===s?a==a&&!nn(a):n(a,s)))var s=a,l=o}return l},On=function(e,t){return e<t},Rn=function(e,t){return e&&e.length?Ln(e,An(t),On):void 0},Pn=function(e,t){return e>t},zn=function(e,t){return e&&e.length?Ln(e,An(t),Pn):void 0};var Un=A?A.isConcatSpreadable:void 0;const _n=function(e){return _(e)||U(e)||!!(Un&&e&&e[Un])},Bn=function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=_n),o||(o=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,i,o):Tt(o,l):i||(o[o.length]=l)}return o},Fn=function(e,t){var n=-1,r=ue(e)?Array(e.length):[];return pe(e,(function(e,i,o){r[++n]=t(e,i,o)})),r},Gn=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=nn(e),a=void 0!==t,s=null===t,l=t==t,c=nn(t);if(!s&&!c&&!o&&e>t||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e<t||c&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0},Zn=function(e,t,n){t=t.length?pn(t,(function(e){return _(e)?function(t){return In(t,1===e.length?e[0]:e)}:e})):[ge];var r=-1;return t=pn(t,W(An)),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Fn(e,(function(e,n,i){return{criteria:pn(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Gn(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))};var Hn=Math.max;const qn=function(e,t,n){return t=Hn(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Hn(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),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)}(e,this,s)}},Vn=We?function(e,t){return We(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:ge;var Yn=Date.now;const Wn=(Qn=Vn,Jn=0,Xn=0,function(){var e=Yn(),t=16-(e-Xn);if(Xn=e,t>0){if(++Jn>=800)return arguments[0]}else Jn=0;return Qn.apply(void 0,arguments)});var Qn,Jn,Xn;const $n=function(e,t,n){if(!le(n))return!1;var r=typeof t;return!!("number"==r?ue(n)&&q(t,n.length):"string"==r&&t in n)&&$e(n[t],e)},Kn=function(e,t){return Wn(qn(e,void 0,ge),e+"")}((function(e,t){if(null==e)return[];var n=t.length;return n>1&&$n(e,t[0],t[1])?t=[]:n>2&&$n(t[0],t[1],t[2])&&(t=[t[0]]),Zn(e,Bn(t,1),[])})),er=En((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var tr=/\s/;const nr=function(e){for(var t=e.length;t--&&tr.test(e.charAt(t)););return t};var rr=/^\s+/;var ir=/^[-+]0x[0-9a-f]+$/i,or=/^0b[01]+$/i,ar=/^0o[0-7]+$/i,sr=parseInt;const lr=function(e){if("number"==typeof e)return e;if(nn(e))return NaN;if(le(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=le(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;var n;e=(n=e)?n.slice(0,nr(n)+1).replace(rr,""):n;var r=or.test(e);return r||ar.test(e)?sr(e.slice(2),r?2:8):ir.test(e)?NaN:+e},cr=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=lr(n))==n?n:0),void 0!==t&&(t=(t=lr(t))==t?t:0),function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}(lr(e),t,n)};function ur(e,t){if(function(e){var t;const n=e.cloneContents(),r=Array.from(n.childNodes).some((e=>e instanceof Element&&(e.classList.contains("e-annotation-wrapper")||"IMG"===e.tagName)));return 0===(null===(t=n.textContent)||void 0===t?void 0:t.length)&&!r}(t))return;const n=function(e,t=document){let n=null;const r=[],i=t.createTreeWalker(e,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null);for(;n=i.nextNode();)r.push(n);return r}(e),r=o(t.startContainer,t.startOffset,e),i=o(t.endContainer,t.endOffset,e)-r;if(!(i<=0))return{startIndex:r,length:i};function o(e,t,r){const i=e===r,o=i?e.childNodes[t]:e,a=i?0:t,s=kn(n,(e=>e!==o));return a+jn(s.map(fr))}}function dr(e,t,n){return function(e,t,n){const r=mr(e,{startIndex:t,length:n,message:""});return Dn(r.overlapping.map((e=>e.message))).reduceRight(((e,t)=>`${t} / ${e}`),"")}(e.filter((e=>"text"===e.type)),t,n)}function fr(e){var t;return e.nodeType===Node.TEXT_NODE?null===(t=e.textContent)||void 0===t?void 0:t.length:"IMG"===e.nodeName?1:0}function pr(e,t,n,r){const i=n.style;if(t){i.display="block";const o=t.getBoundingClientRect(),a=n.getBoundingClientRect(),s=e.left-o.left,l=e.bottom-o.top+r;i.top=`${String(l)}px`,i.left=`${String(s+a.width<o.width-30?s+20:o.width-a.width-20)}px`}}function hr(){const e=window.getSelection();return null!==e&&function(e){var t,n,r;if("None"===e.type||"Caret"===e.type||0===e.rangeCount)return!1;const i=e.getRangeAt(0).startContainer,o=e.getRangeAt(0).endContainer;return e.rangeCount>0&&null!==(null===(t=i.parentElement)||void 0===t?void 0:t.closest(".e-grading-answer"))&&null!==(null===(n=o.parentElement)||void 0===n?void 0:n.closest(".e-grading-answer"))&&null===(null===(r=i.parentElement)||void 0===r?void 0:r.closest(".remove-annotation-popup"))}(e)&&("Range"===(null==(t=e)?void 0:t.type)||function(e){const t=e.getRangeAt(0);return!!e.rangeCount&&(t.toString().length>0||n(t.startContainer)||n(t.endContainer))}(e));var t;function n(e){return e.classList.contains("answer")}}function gr(e,t,n){const r=mr(n,t);if(r.overlapping.length>0){r.overlapping.push(t);const e=Rn(r.overlapping,(e=>e.startIndex)),n=zn(r.overlapping,(e=>e.startIndex+e.length)),i={startIndex:e.startIndex,length:n.startIndex+n.length-e.startIndex,message:t.message};r.nonOverlapping.push(i)}else r.nonOverlapping.push(t);return Kn(r.nonOverlapping,(t=>{return"line"===t.type||"rect"===t.type?function(e,t){var n;const r=document.createRange();return r.selectNode(e),null===(n=ur(t,r))||void 0===n?void 0:n.startIndex}((n=e,r=t.attachmentIndex,n.querySelectorAll("img").item(r)),e):t.startIndex;var n,r}),(e=>"rect"===e.type?e.y:"line"===e.type?e.y1:void 0),(e=>"rect"===e.type?e.x:"line"===e.type?e.x1:void 0))}function mr(e,t){const n=er(e,(e=>{const n=t.startIndex+t.length,r=e.startIndex+e.length;return t.startIndex>=e.startIndex&&t.startIndex<=r||n>=e.startIndex&&n<=r||t.startIndex<=e.startIndex&&n>=r}));return{overlapping:n[0],nonOverlapping:n[1]}}function yr(e){return cr(e,0,1)}function vr(e){e.preventDefault(),e.stopPropagation()}function br(e,t){e.style.display=t?"initial":"none"}function Ir(){return matchMedia("(pointer:fine)").matches}const xr=e=>{var t;return null===(t=null==e?void 0:e.closest("div[data-annotation-anchor]"))||void 0===t?void 0:t.getAttribute("data-annotation-anchor")},wr=e=>(null==e?void 0:e.getAttribute("data-annotation-path"))&&"MARK"!==e.tagName;var Tr=a(8115),Mr=a.n(Tr),Ar=a(3373),Er=a.n(Ar);const Cr=()=>{};let Nr={},Sr={},kr=null,jr={mark:Cr,measure:Cr};try{"undefined"!=typeof window&&(Nr=window),"undefined"!=typeof document&&(Sr=document),"undefined"!=typeof MutationObserver&&(kr=MutationObserver),"undefined"!=typeof performance&&(jr=performance)}catch(e){}const{userAgent:Dr=""}=Nr.navigator||{},Lr=Nr,Or=Sr,Rr=kr,Pr=jr,zr=(Lr.document,!!Or.documentElement&&!!Or.head&&"function"==typeof Or.addEventListener&&"function"==typeof Or.createElement),Ur=~Dr.indexOf("MSIE")||~Dr.indexOf("Trident/");var _r="classic",Br="duotone",Fr="sharp",Gr="sharp-duotone",Zr=[_r,Br,Fr,Gr],Hr={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},qr=[1,2,3,4,5,6,7,8,9,10],Vr=qr.concat([11,12,13,14,15,16,17,18,19,20]),Yr={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Wr=[...Object.keys({classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]}),"solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Yr.GROUP,Yr.SWAP_OPACITY,Yr.PRIMARY,Yr.SECONDARY].concat(qr.map((e=>"".concat(e,"x")))).concat(Vr.map((e=>"w-".concat(e))));const Qr="___FONT_AWESOME___",Jr=16,Xr="fa",$r="svg-inline--fa",Kr="data-fa-i2svg",ei="data-fa-pseudo-element",ti="data-fa-pseudo-element-pending",ni="data-prefix",ri="data-icon",ii="fontawesome-i2svg",oi="async",ai=["HTML","HEAD","STYLE","SCRIPT"],si=(()=>{try{return!0}catch(e){return!1}})(),li=[_r,Fr,Gr];function ci(e){return new Proxy(e,{get:(e,t)=>t in e?e[t]:e[_r]})}const ui={...Hr};ui[_r]={...Hr[_r],fak:"kit","fa-kit":"kit",fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};const di=ci(ui),fi={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}};fi[_r]={...fi[_r],kit:"fak","kit-duotone":"fakd"};const pi=ci(fi),hi={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}};hi[_r]={...hi[_r],fak:"fa-kit"};const gi=ci(hi),mi={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}};mi[_r]={...mi[_r],"fa-kit":"fak"};const yi=ci(mi),vi=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,bi="fa-layers-text",Ii=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,xi=(ci({classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}}),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),wi=Yr,Ti=new Set;Object.keys(pi[_r]).map(Ti.add.bind(Ti)),Object.keys(pi[Fr]).map(Ti.add.bind(Ti)),Object.keys(pi[Gr]).map(Ti.add.bind(Ti));const Mi=["kit",...Wr],Ai=Lr.FontAwesomeConfig||{};Or&&"function"==typeof Or.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["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((e=>{let[t,n]=e;const r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Or.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t));null!=r&&(Ai[n]=r)}));const Ei={styleDefault:"solid",familyDefault:"classic",cssPrefix:Xr,replacementClass:$r,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ai.familyPrefix&&(Ai.cssPrefix=Ai.familyPrefix);const Ci={...Ei,...Ai};Ci.autoReplaceSvg||(Ci.observeMutations=!1);const Ni={};Object.keys(Ei).forEach((e=>{Object.defineProperty(Ni,e,{enumerable:!0,set:function(t){Ci[e]=t,Si.forEach((e=>e(Ni)))},get:function(){return Ci[e]}})})),Object.defineProperty(Ni,"familyPrefix",{enumerable:!0,set:function(e){Ci.cssPrefix=e,Si.forEach((e=>e(Ni)))},get:function(){return Ci.cssPrefix}}),Lr.FontAwesomeConfig=Ni;const Si=[],ki=Jr,ji={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Di="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Li(){let e=12,t="";for(;e-- >0;)t+=Di[62*Math.random()|0];return t}function Oi(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Ri(e){return e.classList?Oi(e.classList):(e.getAttribute("class")||"").split(" ").filter((e=>e))}function Pi(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function zi(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";")),"")}function Ui(e){return e.size!==ji.size||e.x!==ji.x||e.y!==ji.y||e.rotate!==ji.rotate||e.flipX||e.flipY}var _i=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-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-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\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 transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\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-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\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: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\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 z-index: var(--fa-stack-z-index, auto);\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: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\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.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Bi(){const e=Xr,t=$r,n=Ni.cssPrefix,r=Ni.replacementClass;let i=_i;if(n!==e||r!==t){const o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}let Fi=!1;function Gi(){Ni.autoAddCss&&!Fi&&(function(e){if(!e||!zr)return;const t=Or.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=Or.head.childNodes;let r=null;for(let e=n.length-1;e>-1;e--){const t=n[e],i=(t.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=t)}Or.head.insertBefore(t,r)}(Bi()),Fi=!0)}var Zi={mixout:()=>({dom:{css:Bi,insertCss:Gi}}),hooks:()=>({beforeDOMElementCreation(){Gi()},beforeI2svg(){Gi()}})};const Hi=Lr||{};Hi[Qr]||(Hi[Qr]={}),Hi[Qr].styles||(Hi[Qr].styles={}),Hi[Qr].hooks||(Hi[Qr].hooks={}),Hi[Qr].shims||(Hi[Qr].shims=[]);var qi=Hi[Qr];const Vi=[],Yi=function(){Or.removeEventListener("DOMContentLoaded",Yi),Wi=1,Vi.map((e=>e()))};let Wi=!1;function Qi(e){const{tag:t,attributes:n={},children:r=[]}=e;return"string"==typeof e?Pi(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,'="').concat(Pi(e[n]),'" ')),"").trim()}(n),">").concat(r.map(Qi).join(""),"</").concat(t,">")}function Ji(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}zr&&(Wi=(Or.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Or.readyState),Wi||Or.addEventListener("DOMContentLoaded",Yi));var Xi=function(e,t,n,r){var i,o,a,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<l;i++)a=c(a,e[o=s[i]],o,e);return a};function $i(e){const t=function(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function Ki(e){return Object.keys(e).reduce(((t,n)=>{const r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function eo(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:r=!1}=n,i=Ki(t);"function"!=typeof qi.hooks.addPack||r?qi.styles[e]={...qi.styles[e]||{},...i}:qi.hooks.addPack(e,Ki(t)),"fas"===e&&eo("fa",t)}const{styles:to,shims:no}=qi,ro={[_r]:Object.values(gi[_r]),[Fr]:Object.values(gi[Fr]),[Gr]:Object.values(gi[Gr])};let io=null,oo={},ao={},so={},lo={},co={};const uo={[_r]:Object.keys(di[_r]),[Fr]:Object.keys(di[Fr]),[Gr]:Object.keys(di[Gr])};const fo=()=>{const e=e=>Xi(to,((t,n,r)=>(t[r]=Xi(n,e,{}),t)),{});oo=e(((e,t,n)=>(t[3]&&(e[t[3]]=n),t[2]&&t[2].filter((e=>"number"==typeof e)).forEach((t=>{e[t.toString(16)]=n})),e))),ao=e(((e,t,n)=>(e[n]=n,t[2]&&t[2].filter((e=>"string"==typeof e)).forEach((t=>{e[t]=n})),e))),co=e(((e,t,n)=>{const r=t[2];return e[n]=n,r.forEach((t=>{e[t]=n})),e}));const t="far"in to||Ni.autoFetchSvg,n=Xi(no,((e,n)=>{const r=n[0];let i=n[1];const o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});so=n.names,lo=n.unicodes,io=bo(Ni.styleDefault,{family:Ni.familyDefault})};var po;function ho(e,t){return(oo[e]||{})[t]}function go(e,t){return(co[e]||{})[t]}function mo(e){return so[e]||{prefix:null,iconName:null}}function yo(){return io}po=e=>{io=bo(e.styleDefault,{family:Ni.familyDefault})},Si.push(po),fo();const vo=()=>({prefix:null,iconName:null,rest:[]});function bo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:n=_r}=t,r=di[n][e],i=pi[n][e]||pi[n][r],o=e in qi.styles?e:null;return i||o||null}const Io={[_r]:Object.keys(gi[_r]),[Fr]:Object.keys(gi[Fr]),[Gr]:Object.keys(gi[Gr])};function xo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:n=!1}=t,r={[_r]:"".concat(Ni.cssPrefix,"-").concat(_r),[Fr]:"".concat(Ni.cssPrefix,"-").concat(Fr),[Gr]:"".concat(Ni.cssPrefix,"-").concat(Gr)};let i=null,o=_r;const a=Zr.filter((e=>e!==Br));a.forEach((t=>{(e.includes(r[t])||e.some((e=>Io[t].includes(e))))&&(o=t)}));const s=e.reduce(((e,t)=>{const s=function(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r!==e||""===i||(o=i,~Mi.indexOf(o))?null:i;var o}(Ni.cssPrefix,t);if(to[t]?(t=ro[o].includes(t)?yi[o][t]:t,i=t,e.prefix=t):uo[o].indexOf(t)>-1?(i=t,e.prefix=bo(t,{family:o})):s?e.iconName=s:t===Ni.replacementClass||a.some((e=>t===r[e]))||e.rest.push(t),!n&&e.prefix&&e.iconName){const t="fa"===i?mo(e.iconName):{},n=go(e.prefix,e.iconName);t.prefix&&(i=null),e.iconName=t.iconName||n||e.iconName,e.prefix=t.prefix||e.prefix,"far"!==e.prefix||to.far||!to.fas||Ni.autoFetchSvg||(e.prefix="fas")}return e}),vo());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),s.prefix||o!==Fr||!to.fass&&!Ni.autoFetchSvg||(s.prefix="fass",s.iconName=go(s.prefix,s.iconName)||s.iconName),s.prefix||o!==Gr||!to.fasds&&!Ni.autoFetchSvg||(s.prefix="fasds",s.iconName=go(s.prefix,s.iconName)||s.iconName),"fa"!==s.prefix&&"fa"!==i||(s.prefix=yo()||"fas"),s}let wo=[],To={};const Mo={},Ao=Object.keys(Mo);function Eo(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(To[e]||[]).forEach((e=>{t=e.apply(null,[t,...r])})),t}function Co(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(To[e]||[]).forEach((e=>{e.apply(null,n)}))}function No(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Mo[e]?Mo[e].apply(null,t):void 0}function So(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||yo();if(t)return t=go(n,t)||t,Ji(ko.definitions,n,t)||Ji(qi.styles,n,t)}const ko=new class{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(this._pullDefinitions,{});Object.keys(r).forEach((e=>{this.definitions[e]={...this.definitions[e]||{},...r[e]},eo(e,r[e]);const t=gi[_r][e];t&&eo(t,r[e]),fo()}))}reset(){this.definitions={}}_pullDefinitions(e,t){const n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((t=>{const{prefix:r,iconName:i,icon:o}=n[t],a=o[2];e[r]||(e[r]={}),a.length>0&&a.forEach((t=>{"string"==typeof t&&(e[r][t]=o)})),e[r][i]=o})),e}},jo={i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return zr?(Co("beforeI2svg",e),No("pseudoElements2svg",e),No("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;var n;!1===Ni.autoReplaceSvg&&(Ni.autoReplaceSvg=!0),Ni.observeMutations=!0,n=()=>{Lo({autoReplaceSvgRoot:t}),Co("watch",e)},zr&&(Wi?setTimeout(n,0):Vi.push(n))}},Do={noAuto:()=>{Ni.autoReplaceSvg=!1,Ni.observeMutations=!1,Co("noAuto")},config:Ni,dom:jo,parse:{icon:e=>{if(null===e)return null;if("object"==typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:go(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){const t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=bo(e[0]);return{prefix:n,iconName:go(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Ni.cssPrefix,"-"))>-1||e.match(vi))){const t=xo(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||yo(),iconName:go(t.prefix,t.iconName)||t.iconName}}if("string"==typeof e){const t=yo();return{prefix:t,iconName:go(t,e)||e}}}},library:ko,findIconDefinition:So,toHtml:Qi},Lo=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t=Or}=e;(Object.keys(qi.styles).length>0||Ni.autoFetchSvg)&&zr&&Ni.autoReplaceSvg&&Do.dom.i2svg({node:t})};function Oo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((e=>Qi(e)))}}),Object.defineProperty(e,"node",{get:function(){if(!zr)return;const t=Or.createElement("div");return t.innerHTML=e.html,t.children}}),e}function Ro(e){const{icons:{main:t,mask:n},prefix:r,iconName:i,transform:o,symbol:a,title:s,maskId:l,titleId:c,extra:u,watchable:d=!1}=e,{width:f,height:p}=n.found?n:t,h="fak"===r,g=[Ni.replacementClass,i?"".concat(Ni.cssPrefix,"-").concat(i):""].filter((e=>-1===u.classes.indexOf(e))).filter((e=>""!==e||!!e)).concat(u.classes).join(" ");let m={children:[],attributes:{...u.attributes,"data-prefix":r,"data-icon":i,class:g,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(f," ").concat(p)}};const y=h&&!~u.classes.indexOf("fa-fw")?{width:"".concat(f/p*16*.0625,"em")}:{};d&&(m.attributes[Kr]=""),s&&(m.children.push({tag:"title",attributes:{id:m.attributes["aria-labelledby"]||"title-".concat(c||Li())},children:[s]}),delete m.attributes.title);const v={...m,prefix:r,iconName:i,main:t,mask:n,maskId:l,transform:o,symbol:a,styles:{...y,...u.styles}},{children:b,attributes:I}=n.found&&t.found?No("generateAbstractMask",v)||{children:[],attributes:{}}:No("generateAbstractIcon",v)||{children:[],attributes:{}};return v.children=b,v.attributes=I,a?function(e){let{prefix:t,iconName:n,children:r,attributes:i,symbol:o}=e;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:{...i,id:!0===o?"".concat(t,"-").concat(Ni.cssPrefix,"-").concat(n):o},children:r}]}]}(v):function(e){let{children:t,main:n,mask:r,attributes:i,styles:o,transform:a}=e;if(Ui(a)&&n.found&&!r.found){const{width:e,height:t}=n,r={x:e/t/2,y:.5};i.style=zi({...o,"transform-origin":"".concat(r.x+a.x/16,"em ").concat(r.y+a.y/16,"em")})}return[{tag:"svg",attributes:i,children:t}]}(v)}function Po(e){const{content:t,width:n,height:r,transform:i,title:o,extra:a,watchable:s=!1}=e,l={...a.attributes,...o?{title:o}:{},class:a.classes.join(" ")};s&&(l[Kr]="");const c={...a.styles};Ui(i)&&(c.transform=function(e){let{transform:t,width:n=Jr,height:r=Jr,startCentered:i=!1}=e,o="";return o+=i&&Ur?"translate(".concat(t.x/ki-n/2,"em, ").concat(t.y/ki-r/2,"em) "):i?"translate(calc(-50% + ".concat(t.x/ki,"em), calc(-50% + ").concat(t.y/ki,"em)) "):"translate(".concat(t.x/ki,"em, ").concat(t.y/ki,"em) "),o+="scale(".concat(t.size/ki*(t.flipX?-1:1),", ").concat(t.size/ki*(t.flipY?-1:1),") "),o+="rotate(".concat(t.rotate,"deg) "),o}({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);const u=zi(c);u.length>0&&(l.style=u);const d=[];return d.push({tag:"span",attributes:l,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}const{styles:zo}=qi;function Uo(e){const t=e[0],n=e[1],[r]=e.slice(4);let i=null;return i=Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Ni.cssPrefix,"-").concat(wi.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ni.cssPrefix,"-").concat(wi.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Ni.cssPrefix,"-").concat(wi.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:i}}const _o={found:!1,width:512,height:512};function Bo(e,t){let n=t;return"fa"===t&&null!==Ni.styleDefault&&(t=yo()),new Promise(((r,i)=>{if("fa"===n){const n=mo(e)||{};e=n.iconName||e,t=n.prefix||t}if(e&&t&&zo[t]&&zo[t][e])return r(Uo(zo[t][e]));!function(e,t){si||Ni.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r({..._o,icon:Ni.showMissingIcons&&e&&No("missingIconAbstract")||{}})}))}const Fo=()=>{},Go=Ni.measurePerformance&&Pr&&Pr.mark&&Pr.measure?Pr:{mark:Fo,measure:Fo},Zo='FA "6.6.0"',Ho=e=>{Go.mark("".concat(Zo," ").concat(e," ends")),Go.measure("".concat(Zo," ").concat(e),"".concat(Zo," ").concat(e," begins"),"".concat(Zo," ").concat(e," ends"))};var qo={begin:e=>(Go.mark("".concat(Zo," ").concat(e," begins")),()=>Ho(e)),end:Ho};const Vo=()=>{};function Yo(e){return"string"==typeof(e.getAttribute?e.getAttribute(Kr):null)}function Wo(e){return Or.createElementNS("http://www.w3.org/2000/svg",e)}function Qo(e){return Or.createElement(e)}function Jo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:n=("svg"===e.tag?Wo:Qo)}=t;if("string"==typeof e)return Or.createTextNode(e);const r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(Jo(e,{ceFn:n}))})),r}const Xo={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach((e=>{t.parentNode.insertBefore(Jo(e),t)})),null===t.getAttribute(Kr)&&Ni.keepOriginalSource){let e=Or.createComment(function(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~Ri(t).indexOf(Ni.replacementClass))return Xo.replace(e);const r=new RegExp("".concat(Ni.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const e=n[0].attributes.class.split(" ").reduce(((e,t)=>(t===Ni.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e)),{toNode:[],toSvg:[]});n[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}const i=n.map((e=>Qi(e))).join("\n");t.setAttribute(Kr,""),t.innerHTML=i}};function $o(e){e()}function Ko(e,t){const n="function"==typeof t?t:Vo;if(0===e.length)n();else{let t=$o;Ni.mutateApproach===oi&&(t=Lr.requestAnimationFrame||$o),t((()=>{const t=!0===Ni.autoReplaceSvg?Xo.replace:Xo[Ni.autoReplaceSvg]||Xo.replace,r=qo.begin("mutate");e.map(t),r(),n()}))}}let ea=!1;function ta(){ea=!0}function na(){ea=!1}let ra=null;function ia(e){if(!Rr)return;if(!Ni.observeMutations)return;const{treeCallback:t=Vo,nodeCallback:n=Vo,pseudoElementsCallback:r=Vo,observeMutationsRoot:i=Or}=e;ra=new Rr((e=>{if(ea)return;const i=yo();Oi(e).forEach((e=>{if("childList"===e.type&&e.addedNodes.length>0&&!Yo(e.addedNodes[0])&&(Ni.searchPseudoElements&&r(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&Ni.searchPseudoElements&&r(e.target.parentNode),"attributes"===e.type&&Yo(e.target)&&~xi.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){const t=e.getAttribute?e.getAttribute(ni):null,n=e.getAttribute?e.getAttribute(ri):null;return t&&n}(e.target)){const{prefix:t,iconName:n}=xo(Ri(e.target));e.target.setAttribute(ni,t||i),n&&e.target.setAttribute(ri,n)}else(o=e.target)&&o.classList&&o.classList.contains&&o.classList.contains(Ni.replacementClass)&&n(e.target);var o}))})),zr&&ra.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function oa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=function(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"";let i=xo(Ri(e));return i.prefix||(i.prefix=yo()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=(o=i.prefix,a=e.innerText,(ao[o]||{})[a]||ho(i.prefix,$i(e.innerText)))),!i.iconName&&Ni.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i;var o,a}(e),o=function(e){const t=Oi(e.attributes).reduce(((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e)),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Ni.autoA11y&&(n?t["aria-labelledby"]="".concat(Ni.replacementClass,"-title-").concat(r||Li()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),a=Eo("parseNodeAttributes",{},e);let s=t.styleParser?function(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce(((e,t)=>{const n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return{iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:ji,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:o},...a}}const{styles:aa}=qi;function sa(e){const t="nest"===Ni.autoReplaceSvg?oa(e,{styleParser:!1}):oa(e);return~t.extra.classes.indexOf(bi)?No("generateLayersText",e,t):No("generateSvgReplacementMutation",e,t)}let la=new Set;function ca(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!zr)return Promise.resolve();const n=Or.documentElement.classList,r=e=>n.add("".concat(ii,"-").concat(e)),i=e=>n.remove("".concat(ii,"-").concat(e)),o=Ni.autoFetchSvg?la:li.map((e=>"fa-".concat(e))).concat(Object.keys(aa));o.includes("fa")||o.push("fa");const a=[".".concat(bi,":not([").concat(Kr,"])")].concat(o.map((e=>".".concat(e,":not([").concat(Kr,"])")))).join(", ");if(0===a.length)return Promise.resolve();let s=[];try{s=Oi(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");const l=qo.begin("onTree"),c=s.reduce(((e,t)=>{try{const n=sa(t);n&&e.push(n)}catch(e){si||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise(((e,n)=>{Promise.all(c).then((n=>{Ko(n,(()=>{r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((e=>{l(),n(e)}))}))}function ua(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;sa(e).then((e=>{e&&Ko([e],t)}))}li.map((e=>{la.add("fa-".concat(e))})),Object.keys(di[_r]).map(la.add.bind(la)),Object.keys(di[Fr]).map(la.add.bind(la)),Object.keys(di[Gr]).map(la.add.bind(la)),la=[...la];const da=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=ji,symbol:r=!1,mask:i=null,maskId:o=null,title:a=null,titleId:s=null,classes:l=[],attributes:c={},styles:u={}}=t;if(!e)return;const{prefix:d,iconName:f,icon:p}=e;return Oo({type:"icon",...e},(()=>(Co("beforeDOMElementCreation",{iconDefinition:e,params:t}),Ni.autoA11y&&(a?c["aria-labelledby"]="".concat(Ni.replacementClass,"-title-").concat(s||Li()):(c["aria-hidden"]="true",c.focusable="false")),Ro({icons:{main:Uo(p),mask:i?Uo(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:f,transform:{...ji,...n},symbol:r,title:a,maskId:o,titleId:s,extra:{attributes:c,styles:u,classes:l}}))))};var fa={mixout(){return{icon:(e=da,function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(t||{}).icon?t:So(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:So(i||{})),e(r,{...n,mask:i})})};var e},hooks:()=>({mutationObserverCallbacks:e=>(e.treeCallback=ca,e.nodeCallback=ua,e)}),provides(e){e.i2svg=function(e){const{node:t=Or,callback:n=(()=>{})}=e;return ca(t,n)},e.generateSvgReplacementMutation=function(e,t){const{iconName:n,title:r,titleId:i,prefix:o,transform:a,symbol:s,mask:l,maskId:c,extra:u}=t;return new Promise(((t,d)=>{Promise.all([Bo(n,o),l.iconName?Bo(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((l=>{let[d,f]=l;t([e,Ro({icons:{main:d,mask:f},prefix:o,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:i,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){let{children:t,attributes:n,main:r,transform:i,styles:o}=e;const a=zi(o);let s;return a.length>0&&(n.style=a),Ui(i)&&(s=No("generateAbstractTransformGrouping",{main:r,transform:i,containerWidth:r.width,iconWidth:r.width})),t.push(s||r.icon),{children:t,attributes:n}}}},pa={mixout:()=>({layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:n=[]}=t;return Oo({type:"layer"},(()=>{Co("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e((e=>{Array.isArray(e)?e.map((e=>{r=r.concat(e.abstract)})):r=r.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(Ni.cssPrefix,"-layers"),...n].join(" ")},children:r}]}))}})},ha={mixout:()=>({counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:n=null,classes:r=[],attributes:i={},styles:o={}}=t;return Oo({type:"counter",content:e},(()=>(Co("beforeDOMElementCreation",{content:e,params:t}),function(e){const{content:t,title:n,extra:r}=e,i={...r.attributes,...n?{title:n}:{},class:r.classes.join(" ")},o=zi(r.styles);o.length>0&&(i.style=o);const a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:e.toString(),title:n,extra:{attributes:i,styles:o,classes:["".concat(Ni.cssPrefix,"-layers-counter"),...r]}}))))}})},ga={mixout:()=>({text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=ji,title:r=null,classes:i=[],attributes:o={},styles:a={}}=t;return Oo({type:"text",content:e},(()=>(Co("beforeDOMElementCreation",{content:e,params:t}),Po({content:e,transform:{...ji,...n},title:r,extra:{attributes:o,styles:a,classes:["".concat(Ni.cssPrefix,"-layers-text"),...i]}}))))}}),provides(e){e.generateLayersText=function(e,t){const{title:n,transform:r,extra:i}=t;let o=null,a=null;if(Ur){const t=parseInt(getComputedStyle(e).fontSize,10),n=e.getBoundingClientRect();o=n.width/t,a=n.height/t}return Ni.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,Po({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}};const ma=new RegExp('"',"ug"),ya=[1105920,1112319],va={FontAwesome:{normal:"fas",400:"fas"},"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"},"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"},"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},ba=Object.keys(va).reduce(((e,t)=>(e[t.toLowerCase()]=va[t],e)),{}),Ia=Object.keys(ba).reduce(((e,t)=>{const n=ba[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e}),{});function xa(e,t){const n="".concat(ti).concat(t.replace(":","-"));return new Promise(((r,i)=>{if(null!==e.getAttribute(n))return r();const o=Oi(e.children).filter((e=>e.getAttribute(ei)===t))[0],a=Lr.getComputedStyle(e,t),s=a.getPropertyValue("font-family"),l=s.match(Ii),c=a.getPropertyValue("font-weight"),u=a.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&"none"!==u&&""!==u){const u=a.getPropertyValue("content");let d=function(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(ba[n]||{})[i]||Ia[n]}(s,c);const{value:f,isSecondary:p}=function(e){const t=e.replace(ma,""),n=function(e,t){const n=e.length;let r,i=e.charCodeAt(0);return i>=55296&&i<=56319&&n>1&&(r=e.charCodeAt(1),r>=56320&&r<=57343)?1024*(i-55296)+r-56320+65536:i}(t),r=n>=ya[0]&&n<=ya[1],i=2===t.length&&t[0]===t[1];return{value:$i(i?t[0]:t),isSecondary:r||i}}(u),h=l[0].startsWith("FontAwesome");let g=ho(d,f),m=g;if(h){const e=function(e){const t=lo[e],n=ho("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}(f);e.iconName&&e.prefix&&(g=e.iconName,d=e.prefix)}if(!g||p||o&&o.getAttribute(ni)===d&&o.getAttribute(ri)===m)r();else{e.setAttribute(n,m),o&&e.removeChild(o);const a={iconName:null,title:null,titleId:null,prefix:null,transform:ji,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:s}=a;s.attributes[ei]=t,Bo(g,d).then((i=>{const o=Ro({...a,icons:{main:i,mask:vo()},prefix:d,iconName:m,extra:s,watchable:!0}),l=Or.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(l,e.firstChild):e.appendChild(l),l.outerHTML=o.map((e=>Qi(e))).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function wa(e){return Promise.all([xa(e,"::before"),xa(e,"::after")])}function Ta(e){return!(e.parentNode===document.head||~ai.indexOf(e.tagName.toUpperCase())||e.getAttribute(ei)||e.parentNode&&"svg"===e.parentNode.tagName)}function Ma(e){if(zr)return new Promise(((t,n)=>{const r=Oi(e.querySelectorAll("*")).filter(Ta).map(wa),i=qo.begin("searchPseudoElements");ta(),Promise.all(r).then((()=>{i(),na(),t()})).catch((()=>{i(),na(),n()}))}))}let Aa=!1;const Ea=e=>e.toLowerCase().split(" ").reduce(((e,t)=>{const n=t.toLowerCase().split("-"),r=n[0];let 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}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0}),Ca={x:0,y:0,width:"100%",height:"100%"};function Na(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}!function(e,t){let{mixoutsTo:n}=t;wo=e,To={},Object.keys(Mo).forEach((e=>{-1===Ao.indexOf(e)&&delete Mo[e]})),wo.forEach((e=>{const t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((e=>{"function"==typeof t[e]&&(n[e]=t[e]),"object"==typeof t[e]&&Object.keys(t[e]).forEach((r=>{n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){const t=e.hooks();Object.keys(t).forEach((e=>{To[e]||(To[e]=[]),To[e].push(t[e])}))}e.provides&&e.provides(Mo)}))}([Zi,fa,pa,ha,ga,{hooks:()=>({mutationObserverCallbacks:e=>(e.pseudoElementsCallback=Ma,e)}),provides(e){e.pseudoElements2svg=function(e){const{node:t=Or}=e;Ni.searchPseudoElements&&Ma(t)}}},{mixout:()=>({dom:{unwatch(){ta(),Aa=!0}}}),hooks:()=>({bootstrap(){ia(Eo("mutationObserverCallbacks",{}))},noAuto(){ra&&ra.disconnect()},watch(e){const{observeMutationsRoot:t}=e;Aa?na():ia(Eo("mutationObserverCallbacks",{observeMutationsRoot:t}))}})},{mixout:()=>({parse:{transform:e=>Ea(e)}}),hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=Ea(n)),e}}),provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:n,containerWidth:r,iconWidth:i}=e;const o={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={transform:"".concat(a," ").concat(s," ").concat(l)},u={transform:"translate(".concat(i/2*-1," -256)")};return{tag:"g",attributes:{...o},children:[{tag:"g",attributes:{...c},children:[{tag:t.icon.tag,children:t.icon.children,attributes:{...t.icon.attributes,...u}}]}]}}}},{hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?xo(n.split(" ").map((e=>e.trim()))):vo();return r.prefix||(r.prefix=yo()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}),provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:n,main:r,mask:i,maskId:o,transform:a}=e;const{width:s,icon:l}=r,{width:c,icon:u}=i,d=function(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="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(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:a,containerWidth:c,iconWidth:s}),f={tag:"rect",attributes:{...Ca,fill:"white"}},p=l.children?{children:l.children.map(Na)}:{},h={tag:"g",attributes:{...d.inner},children:[Na({tag:l.tag,attributes:{...l.attributes,...d.path},...p})]},g={tag:"g",attributes:{...d.outer},children:[h]},m="mask-".concat(o||Li()),y="clip-".concat(o||Li()),v={tag:"mask",attributes:{...Ca,id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[f,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(I=u,"g"===I.tag?I.children:[I])},v]};var I;return t.push(b,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(m,")"),...Ca}}),{children:t,attributes:n}}}},{provides(e){let t=!1;Lr.matchMedia&&(t=Lr.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:{...n,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"}});const i={...r,attributeName:"opacity"},o={tag:"circle",attributes:{...n,cx:"256",cy:"364",r:"28"},children:[]};return t||o.children.push({tag:"animate",attributes:{...r,attributeName:"r",values:"28;14;28;28;14;28;"}},{tag:"animate",attributes:{...i,values:"1;0;1;1;0;1;"}}),e.push(o),e.push({tag:"path",attributes:{...n,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"},children:t?[]:[{tag:"animate",attributes:{...i,values:"1;0;0;0;0;1;"}}]}),t||e.push({tag:"path",attributes:{...n,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"},children:[{tag:"animate",attributes:{...i,values:"0;0;1;1;0;0;"}}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},{hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}})}],{mixoutsTo:Do});const Sa=Do.parse,ka=Do.icon;var ja=a(9067),Da=a.n(ja);function La(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 Oa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?La(Object(n),!0).forEach((function(t){Pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):La(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ra(e){return Ra="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},Ra(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 za(e){return function(e){if(Array.isArray(e))return Ua(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){if("string"==typeof e)return Ua(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)?Ua(e,t):void 0}}(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 Ua(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 _a(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 Ba=["style"],Fa=!1;try{Fa=!0}catch(e){}function Ga(e){return e&&"object"===Ra(e)&&e.prefix&&e.iconName&&e.icon?e:Sa.icon?Sa.icon(e):null===e?null:e&&"object"===Ra(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 Za(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Pa({},e,t):{}}var Ha={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},qa=t().forwardRef((function(e,t){var n=Oa(Oa({},Ha),e),r=n.icon,i=n.mask,o=n.symbol,a=n.className,s=n.title,l=n.titleId,c=n.maskId,u=Ga(r),d=Za("classes",[].concat(za(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,g=e.listItem,m=e.flip,y=e.size,v=e.rotation,b=e.pull,I=(Pa(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":g,"fa-flip":!0===m,"fa-flip-horizontal":"horizontal"===m||"both"===m,"fa-flip-vertical":"vertical"===m||"both"===m},"fa-".concat(y),null!=y),Pa(t,"fa-rotate-".concat(v),null!=v&&0!==v),Pa(t,"fa-pull-".concat(b),null!=b),Pa(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(I).map((function(e){return I[e]?e:null})).filter((function(e){return e}))}(n)),za((a||"").split(" ")))),f=Za("transform","string"==typeof n.transform?Sa.transform(n.transform):n.transform),p=Za("mask",Ga(i)),h=ka(u,Oa(Oa(Oa(Oa({},d),f),p),{},{symbol:o,title:s,titleId:l,maskId:c}));if(!h)return function(){var e;!Fa&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var g=h.abstract,m={ref:t};return Object.keys(n).forEach((function(e){Ha.hasOwnProperty(e)||(m[e]=n[e])})),Va(g[0],m)}));qa.displayName="FontAwesomeIcon",qa.propTypes={beat:Da().bool,border:Da().bool,beatFade:Da().bool,bounce:Da().bool,className:Da().string,fade:Da().bool,flash:Da().bool,mask:Da().oneOfType([Da().object,Da().array,Da().string]),maskId:Da().string,fixedWidth:Da().bool,inverse:Da().bool,flip:Da().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Da().oneOfType([Da().object,Da().array,Da().string]),listItem:Da().bool,pull:Da().oneOf(["right","left"]),pulse:Da().bool,rotation:Da().oneOf([0,90,180,270]),shake:Da().bool,size:Da().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Da().bool,spinPulse:Da().bool,spinReverse:Da().bool,symbol:Da().oneOfType([Da().bool,Da().string]),title:Da().string,titleId:Da().string,transform:Da().oneOfType([Da().string,Da().object]),swapOpacity:Da().bool};var Va=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)})),o=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=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=_a(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[_a(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(r,Ba);return o.attrs.style=Oa(Oa({},o.attrs.style),s),t.apply(void 0,[n.tag,Oa(Oa({},o.attrs),l)].concat(za(i)))}.bind(null,t().createElement);const Ya={prefix:"fas",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M135.2 17.7C140.6 6.8 151.7 0 163.8 0L284.2 0c12.1 0 23.2 6.8 28.6 17.7L320 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 7.2-14.3zM32 128l384 0 0 320c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-320zm96 64c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16z"]},Wa={prefix:"fas",iconName:"down-left-and-up-right-to-center",icon:[512,512,["compress-alt"],"f422","M439 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39L439 7zM72 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39L73 505c-9.4 9.4-24.6 9.4-33.9 0L7 473c-9.4-9.4-9.4-24.6 0-33.9l87-87L55 313c-6.9-6.9-8.9-17.2-5.2-26.2s12.5-14.8 22.2-14.8z"]},Qa={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},Ja={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},Xa={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6l96 0 32 0 208 0c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},$a={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Ka={prefix:"fas",iconName:"paperclip",icon:[448,512,[128206],"f0c6","M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"]},es={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},ts={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},ns={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},rs={prefix:"fas",iconName:"up-right-and-down-left-from-center",icon:[512,512,["expand-alt"],"f424","M344 0L488 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87L327 41c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512L24 512c-13.3 0-24-10.7-24-24L0 344c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8z"]},is={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]};function os(n){const r=t().createRef(),[i,o]=(0,e.useState)(n.initialTextContent||""),[a,s]=(0,e.useState)(!1),[l,c]=(0,e.useState)(!1),[u,d]=(0,e.useState)(null);return(0,e.useEffect)((()=>{n.element&&function(e,t){const n=t.current;if(e&&n){const t=n.style,r=null==e?void 0:e.getBoundingClientRect(),i=n.getBoundingClientRect(),o=r.height+r.top+window.scrollY,a=window.innerWidth;t.top=`${String(o)}px`,t.opacity="1";const s=r.left+i.width>a;t.left=s?r.right-i.width+"px":`${r.left}px`}}(n.element,r),o(n.initialTextContent||""),s(n.initialTextContent.length>0)}),[n.element]),n.element?t().createElement("div",{className:"e-popup",style:{position:"absolute",opacity:0},ref:r,"data-testid":"e-popup"},t().createElement(Mr(),{language:"FI",baseUrl:"",initialValue:n.initialTextContent,getPasteSource:()=>Promise.resolve(""),onValueChange:e=>{if(n.onValueChange){const t=n.onValueChange(e.answerHtml);d(t)}o(e.answerHtml),s(e.answerHtml.trim().length>0)},textAreaProps:{className:"comment-content"}})," ",u&&t().createElement("span",{className:"e-popup-error"},u),t().createElement("span",{className:"e-popup-button-area"},t().createElement("span",null,t().createElement("button",{className:"button",onClick:e=>{e.stopPropagation(),n.onValueSave(i)},"data-testid":"e-popup-save",disabled:!a||!!u},"Tallenna"),t().createElement("button",{className:"button text-button","data-testid":"e-popup-cancel",onClick:()=>{n.onCancel()}},"Peru")),n.enableDelete&&t().createElement("button",{className:Er()("button","e-popup-delete","round",{confirm:l}),"data-testid":"e-popup-delete",onClick:()=>{l?n.onDelete&&n.onDelete():c(!0)}},t().createElement(qa,{size:"lg",icon:Ya,fixedWidth:!0})," ",l&&"Vahvista?"))):null}function as(){const{newAnnotation:n,setNewAnnotation:r,newAnnotationRef:i,setNewAnnotationRef:o,onSaveAnnotation:a}=(0,e.useContext)(ss);return t().createElement(os,{element:i,initialTextContent:"",onValueSave:e=>{a(n,e),r(null),o(null)},enableDelete:!1,onCancel:()=>{r(null),o(null)}})}const ss=t().createContext({}),ls=({children:n,annotations:r,onClickAnnotation:i,onSaveAnnotation:o})=>{const[a,s]=t().useState(null),[l,c]=t().useState(null),u=e=>{s(e)};if(!i&&!o)return n;const d=(0,e.useMemo)((()=>Nn((null==r?void 0:r.flatMap((e=>e.annotationParts.map(((t,n,r)=>{const i=n===r.length-1;return{...t,annotationId:e.annotationId,markNumber:i?e.markNumber:void 0,hidden:e.hidden}})))))||[],"annotationAnchor")),[JSON.stringify(r)]);return t().createElement(ss.Provider,{value:{annotations:d,onClickAnnotation:i,onSaveAnnotation:o,newAnnotation:a,setNewAnnotation:s,newAnnotationRef:l,setNewAnnotationRef:c}},t().createElement("span",{onMouseDown:function(e){!!e.target.closest(".e-popup")||(s(null),c(null)),function(e,t){0===e.button&&window.addEventListener("mouseup",(function e(){var n,r;window.removeEventListener("mouseup",e);const i=window.getSelection(),o=null===(n=null==i?void 0:i.anchorNode)||void 0===n?void 0:n.parentElement,a=null===(r=null==i?void 0:i.focusNode)||void 0===r?void 0:r.parentElement;if(i&&o&&a&&i.toString().length>0){const e=(e=>{const t=Array.from(null==e?void 0:e.getRangeAt(0).cloneContents().children),n=null==t?void 0:t.some((e=>"MARK"===e.tagName&&"false"===e.getAttribute("data-hidden"))),r=t.some((e=>e.querySelector('mark[data-hidden="false"]')));return n||r})(i),n=xr(o);if(n===xr(a)&&wr(o)&&wr(a)&&!e){const e=(e=>{var t,n;const r=e.getRangeAt(0),i=Array.from(null==e?void 0:e.getRangeAt(0).cloneContents().children),o=r.startContainer.parentElement;if(null==i?void 0:i.length){const e=null==i?void 0:i.reduce(((e,t,n,i)=>{var a;const s=t.getAttribute("data-annotation-path"),l=n===i.length-1;if(s){const i={annotationAnchor:s,selectedText:t.textContent||"",startIndex:0===n?r.startOffset:0,length:l?r.endOffset:(null===(a=t.textContent)||void 0===a?void 0:a.length)||0};return[...e,i]}{const i=t.querySelectorAll("[data-annotation-path]");return null==i||i.forEach(((t,a)=>{var s;const c=t.getAttribute("data-annotation-path");if(c){const u=0===n&&0===a,d=a===i.length-1,f=l&&d,p=ur(o,r),h={annotationAnchor:c,selectedText:t.textContent||"",startIndex:u&&(null==p?void 0:p.startIndex)||0,length:f?r.endOffset:(null===(s=t.textContent)||void 0===s?void 0:s.length)||0};e.push(h)}})),e}}),[]);return e}{const i=null===(n=null===(t=null==e?void 0:e.focusNode)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.getAttribute("data-annotation-path"),a=ur(o,r);return[{annotationAnchor:i,selectedText:(null==e?void 0:e.toString())||"",startIndex:(null==a?void 0:a.startIndex)||0,length:(null==a?void 0:a.length)||0}]}})(i);t({annotationParts:e,displayNumber:n,selectedText:e.map((e=>e.selectedText)).join(" ")})}}}))}(e,u)}},t().createElement(as,null),n))},cs=(0,e.createContext)({}),us=({annotation:n,markedText:r,onClickAnnotation:i,setNewAnnotationRef:o})=>{const a=(0,e.useRef)(null);return(0,e.useEffect)((()=>{a.current&&!fs(n)&&o(a.current)}),[]),t().createElement("mark",{ref:a,className:"e-annotation","data-annotation-id":fs(n)?n.annotationId:"","data-hidden":"false","data-annotation-path":n.annotationAnchor,onClick:e=>fs(n)?i(e,n):void 0},r,(null==n?void 0:n.markNumber)&&t().createElement("sup",{className:"e-annotation","data-content":null==n?void 0:n.markNumber}))};function ds(e){return fs(e)?e.annotationId+e.startIndex:e.startIndex}function fs(e){return"annotationId"in e}function ps(e,t,n){return e.substring(t,t+n)}const hs=({node:n})=>{var r,i;const o=(0,e.useContext)(ss),{isInSidebar:a}=(0,e.useContext)(cs),{annotations:s,onClickAnnotation:l,setNewAnnotationRef:c,newAnnotation:u}=o;if(void 0===(null==o?void 0:o.annotations)||0===(null===(r=n.textContent)||void 0===r?void 0:r.trim().length)||void 0!==a)return n.textContent;const d=Oe(n),f=(null===(i=null==u?void 0:u.annotationParts)||void 0===i?void 0:i.filter((e=>e.annotationAnchor===d)))||[],p=[...(null==s?void 0:s[d])||[],...f];return t().createElement("span",{className:"e-annotatable",key:d,"data-annotation-path":d,"data-testid":d},p.length>0&&l?function(e,n,r,i){var o;if(0===n.length)return[e];n.sort(((e,t)=>e.startIndex-t.startIndex));const[a,s]=er(n,(e=>e.hidden)),l=[];a.forEach((e=>{const n=ds(e);l.push(t().createElement("mark",{key:n,className:"e-annotation","data-annotation-id":fs(e)?e.annotationId:"","data-hidden":"true"}))}));let c=0;const u=e.replace(/^\s+/," "),d=e.length-u.length,f=s.reduce(((e,t)=>{const n=e.some((e=>t.startIndex<e.startIndex+e.length&&e.startIndex<t.startIndex+t.length&&!e.hidden));return e.push({...t,hidden:t.hidden||n}),e}),[]);for(const n of f){const a=ps(e.replace(/\n/g," ").replace(/\s+/g," "),n.startIndex,n.length)===n.selectedText,s=((null===(o=e.split(n.selectedText)[0].match(/\n/g))||void 0===o?void 0:o.length)||0)*d,u=n.startIndex+(a?s:0),f=ps(e,u,n.length);u>c&&l.push(e.substring(c,u));const p=ds(n);l.push(n.hidden?t().createElement("mark",{key:p,className:"e-annotation","data-annotation-id":fs(n)?n.annotationId:"","data-hidden":"true"}):t().createElement(us,{key:p,annotation:n,markedText:f,onClickAnnotation:r,setNewAnnotationRef:i})),c=u+n.length}return l.push(e.substring(c)),l}(n.textContent,p,l,c):n.textContent)},gs="http://ylioppilastutkinto.fi/exam.xsd";function ms(e){function n(r,i=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}(r,((r,o)=>function(r,i,o){switch(r.nodeType){case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:return 0===o?function(e){return t().createElement(hs,{node:e,key:Oe(e)})}(r):null;case Node.ELEMENT_NODE:return function(r,i,o){switch(r.namespaceURI){case"http://www.w3.org/1999/xhtml":return function(e,r,i){const o=e.hasChildNodes()?n(e,i):null;if(0===i){const n=e.localName,i=function(e,t){const n={key:ys(e,t)};for(const t of e.attributes)n["class"===t.localName?"className":t.localName]=t.value;return n}(e,r);return t().createElement(n,{...i},o)}return o}(r,i,o);case gs:return function(r,i){const o=e[r.localName],a=r.getAttribute("class")||void 0;return o?t().createElement(o,{element:r,className:a,renderChildNodes:n,key:ys(r,i)}):null}(r,i);default:throw new Error(`Unrecognized element: ${r.localName}`)}}(r,i,o);default:return null}}(r,o,i)))}return n}function ys(e,t){return`${e.localName}-${t}`}const vs=e=>"string"==typeof e,bs=()=>{let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n},Is=e=>null==e?"":""+e,xs=/###/g,ws=e=>e&&e.indexOf("###")>-1?e.replace(xs,"."):e,Ts=e=>!e||vs(e),Ms=(e,t,n)=>{const r=vs(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(Ts(e))return{};const t=ws(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Ts(e)?{}:{obj:e,k:ws(r[i])}},As=(e,t,n)=>{const{obj:r,k:i}=Ms(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=Ms(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=Ms(e,a,Object),s&&s.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},Es=(e,t)=>{const{obj:n,k:r}=Ms(e,t);if(n)return n[r]},Cs=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?vs(e[r])||e[r]instanceof String||vs(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Cs(e[r],t[r],n):e[r]=t[r]);return e},Ns=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Ss={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const ks=e=>vs(e)?e.replace(/[&<>"'\/]/g,(e=>Ss[e])):e,js=[" ",",","?","!",";"],Ds=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),Ls=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let e=0;e<r.length;){if(!i||"object"!=typeof i)return;let t,o="";for(let a=e;a<r.length;++a)if(a!==e&&(o+=n),o+=r[a],t=i[o],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}i=t}return i},Os=e=>e&&e.replace("_","-"),Rs={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Ps{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Rs,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){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)}forward(e,t,n,r){return r&&!this.debug?null:(vs(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Ps(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new Ps(this.logger,e)}}var zs=new Ps;class Us{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[r,i]=t;for(let t=0;t<i;t++)r.apply(r,[e,...n])}))}}class _s extends Us{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):vs(n)&&i?a.push(...n.split(i)):a.push(n)));const s=Es(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!s&&o&&vs(n)?Ls(this.data&&this.data[e]&&this.data[e][t],n,i):s}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),As(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)(vs(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=Es(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Cs(s,n,i):s={...s,...n},As(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var Bs={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))})),t}};const Fs={};class Gs extends Us{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,r;super(),n=e,r=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{n[e]&&(r[e]=n[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=zs.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=js.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=Ds.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,r));if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:vs(i)?[i]:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return{key:e,namespaces:vs(i)?[i]:i}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const u=this.resolve(e,t);let d=u&&u.res;const f=u&&u.usedKey||o,p=u&&u.exactUsedKey||o,h=Object.prototype.toString.apply(d),g=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,y=!vs(d)&&"boolean"!=typeof d&&"number"!=typeof d;if(!(m&&d&&y&&["[object Number]","[object Function]","[object RegExp]"].indexOf(h)<0)||vs(g)&&Array.isArray(d))if(m&&vs(g)&&Array.isArray(d))d=d.join(g),d&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,a=!1;const c=void 0!==t.count&&!vs(t.count),f=Gs.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(l,t.count,t):"",h=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",g=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),m=g&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(d)&&f&&(r=!0,d=m),this.isValidLookup(d)||(a=!0,d=o);const y=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,v=f&&m!==d&&this.options.updateMissing;if(a||r||v){if(this.logger.log(v?"updateKey":"missingKey",l,s,o,v?m:d),i){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.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.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const i=f&&r!==d?r:y;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,i,v,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,n,i,v,t),this.emit("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);g&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],o+n,t[`defaultValue${n}`]||m)}))})):r(e,o,m))}d=this.extendTranslation(d,e,t,u,n),a&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${o}`),(a||r)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,r?d:void 0):this.options.parseMissingKeyHandler(d))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,d,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e=Array.isArray(d),n=e?[]:{},r=e?p:f;for(const e in d)if(Object.prototype.hasOwnProperty.call(d,e)){const o=`${r}${i}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),n[e]===o&&(n[e]=d[e])}d=n}}return r?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a=vs(e)&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&!vs(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return i&&i[0]===r[0]&&!n.context?(o.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):o.translate(...r,t)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s=vs(a)?[a]:a;return null!=e&&s&&s.length&&!1!==n.applyPostProcessor&&(e=Bs.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return vs(e)&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&!vs(a.count),d=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),f=void 0!==a.context&&(vs(a.context)||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(o=e,!Fs[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(Fs[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" 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((n=>{if(this.isValidLookup(t))return;i=n;const o=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(l+e),a.ordinal&&0===e.indexOf(r)&&o.push(l+e.replace(r,this.options.pluralSeparator)),d&&o.push(l+t)),f){const n=`${l}${this.options.contextSeparator}${a.context}`;o.push(n),u&&(o.push(n+e),a.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),d&&o.push(n+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let 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)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!vs(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}const Zs=e=>e.charAt(0).toUpperCase()+e.slice(1);class Hs{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=zs.create("languageUtils")}getScriptPartFromCode(e){if(!(e=Os(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=Os(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(vs(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(e){}const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map((e=>e.toLowerCase())):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Zs(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]=Zs(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Zs(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),vs(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let 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||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return vs(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):vs(e)&&i(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}let qs=[{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}],Vs={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)};const Ys=["v1","v2","v3"],Ws=["v4"],Qs={zero:0,one:1,two:2,few:3,many:4,other:5};class Js{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=zs.create("pluralResolver"),this.options.compatibilityJSON&&!Ws.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const e={};return qs.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:Vs[t.fc]}}))})),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{const n=Os("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];const o=new Intl.PluralRules(n,{type:r});return this.pluralRulesCache[i]=o,o}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>Qs[e]-Qs[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):n.numbers.map((n=>this.getSuffix(e,n,t))):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!Ys.includes(this.options.compatibilityJSON)}}const Xs=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=((e,t,n)=>{const r=Es(e,n);return void 0!==r?r:Es(t,n)})(e,t,n);return!o&&i&&vs(n)&&(o=Ls(e,n,r),void 0===o&&(o=Ls(t,n,r))),o},$s=e=>e.replace(/\$/g,"$$$$");class Ks{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=zs.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:ks,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?Ns(i):o||"{{",this.suffix=a?Ns(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?Ns(d):f||Ns("$t("),this.nestingSuffix=p?Ns(p):h||Ns(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const i=Xs(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(Xs(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const c=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>$s(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?$s(this.escape(e)):$s(e)}].forEach((t=>{for(a=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=l(n),void 0===o)if("function"==typeof c){const t=c(e,i,r);o=vs(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(u){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else vs(o)||this.useRawValueToEscape||(o=Is(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];i={...o},i=i.replace&&!vs(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),s=e,l=!0}if(r=t(a.call(this,n[1].trim(),i),i),r&&n[0]===e&&!vs(r))return r;vs(r)||(r=Is(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce(((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const el=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(Os(r),i),t[a]=s),s(n)}};class tl{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=zs.create("formatter"),this.options=e,this.formats={number:el(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:el(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:el(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:el(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:el(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=el(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find((e=>e.indexOf(")")>-1))){const e=i.findIndex((e=>e.indexOf(")")>-1));i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce(((e,t)=>{const{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}}))}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{const a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e)}}class nl extends Us{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=zs.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))})),r||(a[e]=!0)})),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),!t&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach((n=>{((e,t,n,r)=>{const{obj:i,k:o}=Ms(e,t,Object);i[o]=i[o]||[],i[o].push(n)})(n.loaded,[i],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*i,o)}),i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=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."),r&&r();vs(e)&&(e=this.languageUtils.toResolveHierarchy(e)),vs(t)&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,((n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)}))}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${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!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;i=5===l.length?l(e,t,n,r,s):l(e,t,n,r),i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}const rl=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),vs(e[1])&&(t.defaultValue=e[1]),vs(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),il=e=>(vs(e.ns)&&(e.ns=[e.ns]),vs(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),vs(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),ol=()=>{};class al extends Us{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=il(e),this.services={},this.logger=zs,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(vs(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=rl();this.options={...r,...this.options,...il(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const i=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?zs.init(i(this.modules.logger),this.options):zs.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=tl);const n=new Hs(this.options);this.store=new _s(this.options.resources,this.options);const o=this.services;o.logger=zs,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new Js(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new Ks(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new nl(i(this.modules.backend),o.resourceStore,o,this.options),o.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(t,...r)})),this.modules.languageDetector&&(o.languageDetector=i(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=i(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new Gs(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(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=ol),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const o=bs(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ol;const n=vs(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e))),this.options.preload&&this.options.preload.forEach((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=bs();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=ol),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(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&&Bs.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=bs();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n=vs(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{o(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const i=function(e,t){let o;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||n||i.keyPrefix);const c=r.options.keySeparator||".";let u;return u=o.keyPrefix&&Array.isArray(e)?e.map((e=>`${o.keyPrefix}${c}${e}`)):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,r.t(u,o)};return vs(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=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;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=bs();return this.options.ns?(vs(e)&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=bs();vs(e)&&(e=[e]);const r=this.options.preload||[],i=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=r.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new Hs(rl());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","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new al(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ol;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new al(r);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new _s(this.store.data,r),i.services.resourceStore=i.store),i.translator=new Gs(i.services,r),i.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];i.emit(e,...n)})),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const sl=al.createInstance();sl.createInstance=al.createInstance,sl.createInstance,sl.dir,sl.init,sl.loadResources,sl.reloadResources,sl.use,sl.changeLanguage,sl.getFixedT,sl.t,sl.exists,sl.setDefaultNamespace,sl.hasLoadedNamespace,sl.loadNamespaces,sl.loadLanguages;const ll=function(e){return e&&e.length?e[0]:void 0},cl=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},ul=function(){};var dl=Object.prototype.hasOwnProperty;const fl=function(e,t,n){var r=e[t];dl.call(e,t)&&$e(r,n)&&(void 0!==n||t in e)||Qe(e,t,n)},pl=function(e,t,n,r){if(!le(e))return e;for(var i=-1,o=(t=vn(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=bn(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=le(u)?u:q(t[i+1])?[]:{})}fl(s,l,c),s=s[l]}return e},hl=function(e,t){return function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=In(e,a);n(s,a)&&pl(o,vn(a,e),s)}return o}(e,t,(function(t,n){return Tn(e,n)}))},gl=function(e){return null!=e&&e.length?Bn(e,1):[]},ml=function(e){return Wn(qn(e,void 0,gl),e+"")},yl=ml((function(e,t){return null==e?{}:hl(e,t)})),vl={"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 (lärare)","censor-annotations":"Censorns anteckningar","pregrading-abbrev":"prel.","inspection-grading-abbrev":"ompr.","round.1":"1.c","round.2":"2.c","round.3":"3.c",annotate:"Markera","non-answer-not-graded":"Lämnats utan bedömning","loading-images":"Vänta, bilder laddas...","some-images-failed":"Laddning av vissa bilder misslyckades. Var god uppdatera sidan."},references:{heading:"Källor",source:"Källa:",date:"Publicerad:","reference-date":"Hämtad:",translator:"Översättning:","modified-by":"Bearbetning:"},cas:{examineSectionA:"Du kan nu granska dina svar för del A.",cannotEditLater:"När du har returnerat del A kan du inte längre redigera svaren för del A.",youCanReturn:"Efter att du granskat dina svar kan du gå tillbaka till provet för att fortsätta svara på uppgifterna.",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"}},"examine-exam":{examine:"Kontrollera dina svar",instructions:"Efter att du granskat dina svar kan du ännu gå tillbaka och redigera svaren eller avsluta provet."},undo:{loading:"Laddar...",close:"Stäng",restoreAnswer:"Återställ",answerNoText:"ingen text",answerWordCount:"{{count}} ord",answerWordCount_plural:"{{count}} ord",answerCharacterCount:"{{count}} tecken",answerCharacterCount_plural:"{{count}} tecken",answerImageCount:"{{count}} bild",answerImageCount_plural:"{{count}} bilder",minutesSinceAnswer:"{{ minutes }} min sedan",latestVersion:"Den senaste versionen"},examineExam:{returnToExam:"Återvänd till provutförandet",checkYourAnswersTitle:"Kontrollera dina svar",hereAreYourAnswers:"Du ser här dina svar på samma sätt som de som bedömer proven kommer att se dem.",checkYourAnswers:"Kontrollera att du kan se alla de svar som du vill lämna in till bedömning.",removeExcessAnswers:"Om du ser svar som du inte vill lämna in till bedömning bör du gå tillbaka till provet och avlägsna dem.",emptyAnswersAreHighlighted:"Tomma svarsfält har markerats.",thereMayBeOptionalQuestions:"Det kan finnas valbara uppgifter i provet, och därmed innebär ett tomt svarsfält inte alltid att något är fel.",questionHasNoAnswer:"Denna fråga har inte besvarats",endExamTitle:"Avsluta provet",afterInspectingYourAnswers:"När du har kontrollerat dina svar kan du avsluta provet genom att klicka på knappen nedan.",youCanNotReturnToExam:"Efter att du klickat på knappen kan du inte längre gå tillbaka till provet.",thankYouTitle:"Tack!",shutdownComputer:"Stäng nu av datorn.",returnUsbStick:"När datorn har är avstängd, ta bort USB-minnet och ge det till provets övervakare."},"toc-heading":"Innehåll","answer-saved":"Sparad","too-many-answers":"Svar på för många uppgifter:","max-answers-warning":"Besvara högst {{count}} uppgift.","max-answers-warning_plural":"Besvara högst {{count}} uppgifter.","open-writing-mode":"Öppna skrivvyn","close-writing-mode":"Minska vyn","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-surplus":"Svaret överskrider maximallängden på {{maxLength}} märken med {{percentage}} %.","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]"}},bl=yl(vl,["exam-total","material","external-material-title","section","references","toc-heading"]),Il={"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":"Alustavan arvostelun merkinnät (opettaja)","censor-annotations":"Sensorin merkinnät","pregrading-abbrev":"alust.","inspection-grading-abbrev":"ov","round.1":"1.s","round.2":"2.s","round.3":"3.s",annotate:"Merkitse","non-answer-not-graded":"Jätetty arvostelematta","loading-images":"Odota, kuvia ladataan...","some-images-failed":"Joidenkin kuvien lataaminen epäonnistui. Päivitä sivu."},references:{heading:"Lähteet",source:"Lähde:",date:"Julkaistu:","reference-date":"Viitattu:",translator:"Käännös:","modified-by":"Muokkaus:"},cas:{examineSectionA:"Voit käydä tarkastelemassa A-osan vastauksiasi nyt.",cannotEditLater:"Palautettuasi A-osan et voi enää muokata A-osan vastauksia.",youCanReturn:"Tarkastelun jälkeen voit palata kokeeseen jatkamaan tehtäviin vastaamista.",forbidden:{infoText:"Saat estetyt laskinohjelmat käyttöösi 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"}},"examine-exam":{examine:"Siirry tarkastelemaan vastauksiasi",instructions:"Tarkastelun jälkeen voit vielä palata muokkaamaan vastauksia, tai päättää kokeen."},undo:{loading:"Ladataan...",close:"Sulje",restoreAnswer:"Palauta",answerNoText:"ei tekstiä",answerWordCount:"{{count}} sana",answerWordCount_plural:"{{count}} sanaa",answerCharacterCount:"{{count}} merkki",answerCharacterCount_plural:"{{count}} merkkiä",answerImageCount:"{{count}} kuva",answerImageCount_plural:"{{count}} kuvaa",minutesSinceAnswer:"{{ minutes }} min sitten",latestVersion:"Viimeisin versio"},examineExam:{returnToExam:"Palaa suorittamaan koetta",checkYourAnswersTitle:"Tarkista vastauksesi",hereAreYourAnswers:"Näet tässä vastauksesi samanlaisina kuin kokeen arvostelijat tulevat ne näkemään.",checkYourAnswers:"Tarkista, että näet alla kaikki vastaukset, jotka haluat jättää arvosteltavaksi.",removeExcessAnswers:"Jos näet vastauksia, joita et halua jättää arvosteltavaksi, palaa kokeeseen ja poista ne.",emptyAnswersAreHighlighted:"Tyhjät vastaukset on korostettu.",thereMayBeOptionalQuestions:"Kokeessa voi olla valinnaisia tehtäviä, joten tyhjä vastaus ei välttämättä tarkoita virhettä.",questionHasNoAnswer:"Tähän kysymykseen ei ole vastattu",endExamTitle:"Päätä koe",afterInspectingYourAnswers:"Kun olet tarkistanut vastauksesi, päätä koe klikkaamalla alla olevaa nappia.",youCanNotReturnToExam:"Napin klikkaamisen jälkeen et voi enää palata kokeeseen.",thankYouTitle:"Kiitos!",shutdownComputer:"Sammuta vielä tietokoneesi.",returnUsbStick:"Kun kone on sammunut, irrota USB-muisti ja palauta se kokeen valvojalle."},"toc-heading":"Sisällys","answer-saved":"Tallennettu","too-many-answers":"Vastattu liian moneen tehtävään:","max-answers-warning":"Vastaa enintään {{count}} tehtävään.","open-writing-mode":"Avaa kirjoitusnäkymä","close-writing-mode":"Pienennä näkymä","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-surplus":"Vastauksen enimmäispituus {{maxLength}} merkkiä ylittyy {{percentage}} %.","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]"}},xl=yl(Il,["exam-total","material","external-material-title","section","references","toc-heading"]),wl={"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"},Tl={"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"},Ml={section:""},Al={"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"},El={"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"},Cl={"exam-total":"Весь экзамен",material:"Материал","external-material-title":"Материал",section:"Часть {{displayNumber}}:",references:{heading:"Источники",source:"Источник",date:"Опубликовано","reference-date":"Дата обращения",translator:"Перевод","modified-by":"Адаптировано"},"toc-heading":"Содержание"},Nl={A_E:{"external-material-title":"Aineistot","answering-instructions":{"toc-section_*_1_1":"Valitse yksi aihe.","section_*_1_1":"Valitse yksi aihe."}},BA:bl,BB:bl,CA:xl,CB:xl,EA:wl,EC:wl,FA:Tl,FC:Tl,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:Ml,N:Ml,O_E:{"answering-instructions":{"toc-section_*_1_1":"Välj ett ämne.","section_*_1_1":"Välj ett ämne."}},SA:El,SC:El,PA:Al,PC:Al,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:Cl,VC:Cl,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"}},Sl={"fi-FI":{translation:Il,...Nl},"sv-FI":{translation:vl,...Nl}};function kl(e,t,n){const r=t?t+(n?`_${n}`:""):"translation";return sl.use({type:"postProcessor",name:"lowercase",process:(e,t,n)=>e.toLocaleLowerCase(n.lng)}).createInstance({compatibilityJSON:"v3",resources:Sl,lng:e,fallbackLng:"fi-FI",debug:!1,defaultNS:r,fallbackNS:"translation",interpolation:{escapeValue:!1,format:(e,t)=>{const n=e;switch(t){case"range":{const[e,t]=n;return null==e?t:null==t||e===t?e:`${e}–${t}`}case"first":return ll(n);case"last":return cl(n);default:return e}}}},ul)}function jl(){const{i18n:e,t:n}=y(),r=(n,r)=>function(e,n,r){const i=e.t(n,r),o=e.options.defaultNS.toString(),a="translation"!==o&&o in Nl,s=a&&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,o,n);return s||!a?i:t().createElement("span",{lang:e.language},i)}(e,n,r);return r.raw=n,{i18n:e,t:r}}const Dl=(e,t)=>()=>{e.language!==t&&e.changeLanguage(t).then(ul).catch(ul)},Ll=new WeakMap;let Ol=0;const Rl=e=>t=>`${e}-${(e=>{const t=Ll.get(e);if(null!=t)return t;const n=++Ol;return Ll.set(e,n),n})(t)}`,Pl=e=>t=>`${e}-${t}`,zl="title",Ul="references-title",_l=Pl("section-title"),Bl=Pl("question-title"),Fl=Rl("question-instruction"),Gl=Rl("answer-length-info"),Zl=Rl("external-material-list-title"),Hl=Pl("toc-section-title"),ql=Rl("answer-score"),Vl=Rl("image-caption"),Yl=Rl("video-caption"),Wl=Rl("audio-label"),Ql="toc-title";function Jl(){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",Jl),()=>window.removeEventListener("hashchange",Jl)}function Xl(t){return(0,e.useState)(t)[0]}const $l=t().memo((n=>{const r=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{r.current&&(document.title=r.current.textContent)})),t().createElement("h1",{...n,ref:r})})),Kl=function({element:e,renderChildNodes:n}){const r=n(e);return 0===r.length?null:t().createElement(t().Fragment,null,r)},ec=t().memo((function({element:e,renderChildNodes:n}){return t().createElement(t().Fragment,null,n(e,1))})),tc=e=>{const n=Er()("e-section e-bg-color-off-white e-pad-6",e.className);return t().createElement("section",{...e,className:n},e.children)};function nc(e){return e.displayName||e.name||"Component"}const rc=(e,n)=>r=>{const i=i=>{const o=n(i);return t().createElement(e.Provider,{value:o},t().createElement(r,{...i}))};return i.displayName=`WithContext(${nc(r)})`,i},ic=t().createContext({});function oc(e){return rc(ic,(({attachmentsURL:e,resolveAttachment:t,doc:n,abitti2:r})=>{var i;const o=n.documentElement,a=Ee(o,"date"),s=Ee(o,"exam-lang"),l=null!==(i=Ee(o,"exam-type"))&&void 0!==i?i:"normal",c=Ee(o,"lang")||s;return{attachmentsURL:e,date:a?new Date(a):void 0,dateTimeFormatter:new Intl.DateTimeFormat("fi-FI",{timeZone:"UTC"}),dayCode:Ee(o,"day-code"),examCode:Ee(o,"exam-code"),language:s,subjectLanguage:c,examType:l,maxAnswers:Ce(o,"max-answers"),maxScore:Ce(o,"max-score"),sections:Te(o,"section"),resolveAttachment:t,abitti2:r||!1,root:o}}))(e)}const ac=t().createContext({}),sc=rc(ac,(e=>{const{casCountdownDuration:t,examServerApi:n}=e;return{casCountdownDuration:t||60,examServerApi:n}})),lc=t().createContext({}),cc=rc(lc,(({element:e})=>({casForbidden:Ne(e,"cas-forbidden"),displayNumber:e.getAttribute("display-number"),maxAnswers:Ce(e,"max-answers"),minAnswers:Ce(e,"min-answers"),maxScore:Ce(e,"max-score"),childQuestions:Se(e,(e=>e)).filter((e=>"question"===e.localName))})));function uc(e,t){const n=new URL(e,"http://example.com");ye(t,((e,t)=>n[t]=e));const r=n.pathname+n.search+n.hash;return e.startsWith("/")?r:r.substr(1)}const dc=({children:e,href:n,type:r})=>"link"===r?t().createElement("a",{href:n,className:"attachment-link e-nowrap",target:"attachments"},e):t().createElement("span",{className:"attachment-link e-nowrap"},e),fc=n=>t().memo((({element:r})=>{const i=r.getAttribute("ref"),{root:o}=(0,e.useContext)(ic),{attachmentsURL:a}=(0,e.useContext)(ic),{t:s}=jl(),l=we(o,(e=>"attachment"===e.localName&&e.getAttribute("name")===i)).getAttribute("display-number"),c="short"===r.getAttribute("type"),u=uc(a,{hash:l});return c?t().createElement(dc,{href:u,type:n},l):t().createElement(t().Fragment,null,"(",t().createElement(dc,{href:u,type:n},s("material",{postProcess:"lowercase"})," ",l),")")})),pc=n=>t().memo((({element:r})=>{const{root:i,attachmentsURL:o}=(0,e.useContext)(ic),{t:a}=jl(),s=Se(r,(e=>{const t=e.getAttribute("ref");return we(i,(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 o=e[i];if(r&&t(o,i)){const e=[o];n.push(e)}else n[n.length-1].push(o);r=o}return n}(s,((e,t)=>t>0&&!function(e,t){const n=e.length;return n===t.length&&(e.startsWith(t.slice(0,n-1))&&t.charCodeAt(n-1)-e.charCodeAt(n-1)==1)}(s[t-1],e))),c="short"===r.getAttribute("type"),u=uc(o,{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?t().createElement(dc,{href:u,type:n},d):t().createElement(t().Fragment,null,"(",t().createElement(dc,{href:u,type:n},a("material",{count:f,postProcess:"lowercase"})," ",d),")")})),hc=t().createContext({}),gc=rc(hc,(({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}})),mc=t().memo(gc((function({element:n,renderChildNodes:r}){const{displayNumber:i,isExternal:o}=(0,e.useContext)(hc);return o?t().createElement("div",{id:i,className:"attachments-attachment e-mrg-0 e-mrg-t-8","data-annotation-anchor":i},r(n)):null}))),yc=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(hc);return t().createElement("h3",null,i,be,r(n))}));var vc=a(5919),bc=e,Ic=Symbol.for("react-redux-context"),xc="undefined"!=typeof globalThis?globalThis:{};function wc(){if(!bc.createContext)return{};const e=xc[Ic]??(xc[Ic]=new Map);let t=e.get(bc.createContext);return t||(t=bc.createContext(null),e.set(bc.createContext,t)),t}var Tc=wc();function Mc(e=Tc){return function(){return bc.useContext(e)}}var Ac=Mc(),Ec=()=>{throw new Error("uSES not initialized!")},Cc=(e,t)=>e===t;function Nc(e=Tc){const t=e===Tc?Ac:Mc(e),n=(e,n={})=>{const{equalityFn:r=Cc,devModeChecks:i={}}="function"==typeof n?{equalityFn:n}:n,{store:o,subscription:a,getServerState:s,stabilityCheck:l,identityFunctionCheck:c}=t(),u=(bc.useRef(!0),bc.useCallback({[e.name]:t=>e(t)}[e.name],[e,l,i.stabilityCheck])),d=Ec(a.addNestedSub,o.getState,s||o.getState,u,r);return bc.useDebugValue(d),d};return Object.assign(n,{withTypes:()=>n}),n}var Sc=Nc();Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.client.reference");var kc={notify(){},get:()=>[]};var jc=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Dc="undefined"!=typeof navigator&&"ReactNative"===navigator.product,Lc=jc||Dc?bc.useLayoutEffect:bc.useEffect;function Oc(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Rc(e,t){if(Oc(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Oc(e[n[r]],t[n[r]]))return!1;return!0}Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var Pc=function({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=bc.useMemo((()=>{const t=function(e,t){let n,r=kc,i=0,o=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){i++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){(()=>{let t=e;for(;t;)t.callback(),t=t.next})()},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){r&&null!==e&&(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}function l(){i--,n&&0===i&&(n(),n=void 0,r.clear(),r=kc)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,s())},tryUnsubscribe:function(){o&&(o=!1,l())},getListeners:()=>r};return c}(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}}),[e,r,i,o]),s=bc.useMemo((()=>e.getState()),[e]);Lc((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,s]);const l=t||Tc;return bc.createElement(l.Provider,{value:a},n)};function zc(e=Tc){const t=e===Tc?Ac:Mc(e),n=()=>{const{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var Uc=zc();function _c(e=Tc){const t=e===Tc?Uc:zc(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Bc,Fc=_c();Bc=vc.useSyncExternalStoreWithSelector,Ec=Bc,e.useSyncExternalStore;const Gc=(e,t)=>n=>{const{nowPlaying:r}=n.audio;return null==r?"stopped":r.audio.restrictedAudioId===t&&r.audio.src===e?"playing":"other-playing"},Zc=(e,t)=>n=>n.audio.errors[null!=t?t:e],Hc=e=>t=>xn(t.audio.playbackTimes,e,0),qc=(e,t)=>n=>t-Hc(e)(n),Vc=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}(t,r)?"saving":"saved"},Yc=!("undefined"==typeof window||!window.document||!window.document.createElement);var Wc=(new Date).getTime(),Qc=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-Wc)),r=setTimeout(e,n);return Wc=t,r},Jc=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};Yc&&["","webkit","moz","o","ms"].some((function(e){var t=Jc(e,"request");return t in window&&(Jc(e,"cancel"),Qc=function(e){return window[t](e)}),!!Qc}));var Xc=Qc;function $c(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 Kc(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function eu(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=Kc(e.className,t):e.setAttribute("class",Kc(e.className&&e.className.baseVal||"",t))}var tu=/([A-Z])/g,nu=/^ms-/;function ru(e){return function(e){return e.replace(tu,"-$1").toLowerCase()}(e).replace(nu,"-ms-")}var iu=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const ou=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(ru(t))||function(e,t){return function(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}(e).getComputedStyle(e,void 0)}(e).getPropertyValue(ru(t));Object.keys(t).forEach((function(i){var o=t[i];o||0===o?function(e){return!(!e||!iu.test(e))}(i)?r+=i+"("+o+") ":n+=ru(i)+": "+o+";":e.style.removeProperty(ru(i))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};var au=!1,su=!1;try{var lu={get passive(){return au=!0},get once(){return su=au=!0}};Yc&&(window.addEventListener("test",lu,lu),window.removeEventListener("test",lu,!0))}catch(e){}const cu=function(e,t,n,r){return function(e,t,n,r){if(r&&"boolean"!=typeof r&&!su){var i=r.once,o=r.capture,a=n;!su&&i&&(a=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=a),e.addEventListener(t,a,au?r:o)}e.addEventListener(t,n,r)}(e,t,n,r),function(){!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)}(e,t,n,r)}};function uu(e,t,n,r){var i,o;null==n&&(o=-1===(i=ou(e,"transitionDuration")||"").indexOf("ms")?1e3:1,n=parseFloat(i)*o||0);var a=function(e,t,n){void 0===n&&(n=5);var r=!1,i=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent("transitionend",n,r),e.dispatchEvent(i)}}(e,0,!0)}),t+n),o=cu(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(i),o()}}(e,n,r),s=cu(e,"transitionend",t);return function(){a(),s()}}function du(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 fu=Da().oneOfType([Da().string,Da().shape({enter:Da().string,leave:Da().string,active:Da().string,height:Da().string}),Da().shape({enter:Da().string,enterActive:Da().string,leave:Da().string,leaveActive:Da().string,appear:Da().string,appearActive:Da().string,height:Da().string,heightActive:Da().string})]);function pu(e){return pu="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},pu(e)}function hu(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 gu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hu(Object(n),!0).forEach((function(t){Iu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mu(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 yu(e,t){return yu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},yu(e,t)}function vu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},bu(e)}function Iu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xu=[];uu&&xu.push(uu);var wu={children:Da().node,name:fu.isRequired,appear:Da().bool,enter:Da().bool,leave:Da().bool,appearTimeout:Da().number,enterTimeout:Da().number,leaveTimeout:Da().number},Tu=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&&yu(e,t)}(s,e);var n,r,i,o,a=(i=s,o=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}}(),function(){var e,t=bu(i);if(o){var n=bu(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==pu(t)&&"function"!=typeof t?vu(e):t}(this,e)});function s(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),Iu(vu(n=a.call(this,e)),"refNode",t().createRef()),Iu(vu(n),"componentWillAppear",(function(e){n.props.appear?n.transition("appear",e,n.props.appearTimeout):e()})),Iu(vu(n),"componentWillEnter",(function(e){n.props.enter?n.transition("enter",e,n.props.enterTimeout):e()})),Iu(vu(n),"componentWillLeave",(function(e){n.props.leave?n.transition("leave",e,n.props.leaveTimeout):e()})),n.classNameAndNodeQueue=[],n.transitionTimeouts=[],n}return n=s,(r=[{key:"componentWillUnmount",value:function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)})),this.classNameAndNodeQueue.length=0}},{key:"getNode",value:function(){return this.refNode.current}},{key:"transition",value:function(e,t,n){var r=this.getNode();if(r){var i,o=this.props.name[e]||this.props.name+"-"+e,a=this.props.name[e+"Active"]||o+"-active",s=null;$c(r,o),this.queueClassAndNode(a,r);var l=function(n){n&&n.target!==r||(clearTimeout(s),i&&i(),"leave"!==e&&(eu(r,o),eu(r,a)),i&&i(),t&&t())};n?(s=setTimeout(l,n),this.transitionTimeouts.push(s)):uu&&(i=function(e,t){return xu.length?xu.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){xu.length&&xu.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=Xc((function(){return n.flushClassNameAndNodeQueueOnNextFrame()})))}},{key:"flushClassNameAndNodeQueueOnNextFrame",value:function(){var e=this;this.rafHandle=Xc((function(){return e.flushClassNameAndNodeQueue()}))}},{key:"flushClassNameAndNodeQueue",value:function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,$c(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null}},{key:"render",value:function(){var e=gu(gu({},this.props),{},{ref:this.refNode});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,t().cloneElement(t().Children.only(this.props.children),e)}}])&&mu(n.prototype,r),s}(t().Component);Iu(Tu,"displayName","CSSTransitionGroupChild"),Tu.propTypes=wu;const Mu=Tu;function Au(e){return Au="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},Au(e)}function Eu(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 Cu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eu(Object(n),!0).forEach((function(t){Du(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nu(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 Su(e,t){return Su=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Su(e,t)}function ku(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ju(e)}function Du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lu=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&&Su(e,t)}(s,e);var n,r,i,o,a=(i=s,o=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}}(),function(){var e,t=ju(i);if(o){var n=ju(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==Au(t)&&"function"!=typeof t?ku(e):t}(this,e)});function s(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),Du(ku(n=a.call(this,e)),"handleDoneAppearing",(function(e){delete n.transitioningKeys[e],e!==n.state.currentKey&&n.performLeave(e)})),Du(ku(n),"performLeave",(function(e){var t,r;n.transitioningKeys[e]=!0,null===(t=n.childRefs[e].current)||void 0===t||t.componentWillLeave(n.handleDoneLeaving.bind(ku(n),e)),n.state.currentChild&&null!==(r=n.childRefs[n.state.currentKey].current)&&void 0!==r&&r.getNode()||n.enqueueHeightTransition()})),Du(ku(n),"performHeightTransition",(function(){if(!n.unmounted){var e,t=ku(n).state,r=t.currentChild?null===(e=n.childRefs[t.currentKey].current)||void 0===e?void 0:e.getNode():null;n.setState({height:r?r.offsetHeight:0,width:n.props.changeWidth?r?r.offsetWidth:0:null})}n.rafHandle=null})),Du(ku(n),"setChildRef",(function(e,r){if(r){var i=t().createRef();i.current=r,n.childRefs[e]=i}else delete n.childRefs[e]})),n.childRefs=Object.create(null),n.state={currentKey:"1",currentChild:n.props.children?t().Children.only(n.props.children):void 0,prevChildren:{},height:null,width:null},n.shouldEnterCurrent=!1,n.keysToLeave=[],n.transitioningKeys={},n}return n=s,(r=[{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 n=e.children?t().Children.only(e.children):void 0,r=this.state.currentChild;if(r&&n&&n.key===r.key&&!this.state.nextChild)return this.setState({currentChild:n});var i=this.state,o=i.currentKey,a=i.prevChildren,s={currentKey:String(Number(o)+1),currentChild:n,height:0,width:this.props.changeWidth?0:null};if(n&&(this.shouldEnterCurrent=!0),r){var l,c=null===(l=this.childRefs[o].current)||void 0===l?void 0:l.getNode();s.height=c?c.offsetHeight:0,s.width=this.props.changeWidth?c?c.offsetWidth:0:null,s.prevChildren=Cu(Cu({},a),{},Du({},o,r)),this.transitioningKeys[o]||this.keysToLeave.push(o)}this.setState(s)}},{key:"componentDidUpdate",value:function(){var e;this.shouldEnterCurrent&&(this.shouldEnterCurrent=!1,null!==(e=this.childRefs[this.state.currentKey].current)&&void 0!==e&&e.getNode()&&this.performEnter(this.state.currentKey));var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"performAppear",value:function(e){var t;this.transitioningKeys[e]=!0,null===(t=this.childRefs[e].current)||void 0===t||t.componentWillAppear(this.handleDoneAppearing.bind(this,e))}},{key:"performEnter",value:function(e){var t;this.transitioningKeys[e]=!0,null===(t=this.childRefs[e].current)||void 0===t||t.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){var t;delete this.transitioningKeys[e];var n={prevChildren:Cu({},this.state.prevChildren)};delete n.prevChildren[e],delete this.childRefs[e],this.state.currentChild&&null!==(t=this.childRefs[this.state.currentKey].current)&&void 0!==t&&t.getNode()||(n.height=null),this.setState(n)}},{key:"enqueueHeightTransition",value:function(){this.rafHandle||(this.rafHandle=Xc(this.performHeightTransition))}},{key:"wrapChild",value:function(e,n){var r=this.props.transitionName;return"object"===Au(r)&&null!==r&&delete(r=Cu({},r)).height,t().createElement(Mu,Cu({name:r,appear:this.props.transitionAppear,enter:this.props.transitionEnter,leave:this.props.transitionLeave,appearTimeout:this.props.transitionAppearTimeout,enterTimeout:this.props.transitionEnterTimeout,leaveTimeout:this.props.transitionLeaveTimeout},n),e)}},{key:"render",value:function(){var e=this,n=this.state,r=n.currentKey,i=n.currentChild,o=n.prevChildren,a=n.height,s=n.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,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(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=Cu({},g.style),m&&(g.style.position="relative",u&&(g.style.overflow="hidden")),null!==a){var y="string"==typeof d?"".concat(d,"-height"):d&&d.height||"";g.className="".concat(g.className||""," ").concat(y),g.style.height=a}null!==s&&(g.style.width=s);var v={position:"absolute",top:0,left:0,right:0,bottom:0,userSelect:"none"};return Object.keys(o).forEach((function(n){var r=o[n];l.push(t().createElement(p,{key:n,style:v},e.wrapChild(h&&"string"!=typeof r.type?t().cloneElement(r,{isLeaving:!0}):r,{ref:function(t){return e.setChildRef(n,t)}})))})),i&&l.push(t().createElement(p,{key:r,style:this.transitioningKeys[r]?v:m?{position:"relative"}:null},this.wrapChild(i,{ref:function(t){return e.setChildRef(r,t)}}))),t().createElement(f,g,l)}}])&&Nu(n.prototype,r),s}(t().Component);Du(Lu,"displayName","ReactCSSTransitionReplace"),Du(Lu,"propTypes",{transitionName:fu.isRequired,transitionAppear:Da().bool,transitionEnter:Da().bool,transitionLeave:Da().bool,transitionAppearTimeout:du("Appear"),transitionEnterTimeout:du("Enter"),transitionLeaveTimeout:du("Leave"),overflowHidden:Da().bool,changeWidth:Da().bool,notifyLeaving:Da().bool}),Du(Lu,"defaultProps",{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0,overflowHidden:!0,changeWidth:!1,notifyLeaving:!1,component:"div",childComponent:"span"});const Ou=({error:e,children:n})=>{const{t:r}=jl();return t().createElement(Lu,{transitionName:"e-crossfade",transitionEnterTimeout:500,transitionLeaveTimeout:500},null!=e?t().createElement("div",{className:"e-color-error",role:"alert"},t().createElement(qa,{icon:is,className:"e-mrg-r-1"}),r(`audio-errors.${e}`)):t().createElement("div",{key:"no-error"},n))};var Ru=a(758);const Pu=e=>(0,Ru.action)("PLAY_AUDIO",e),zu=e=>(0,Ru.action)("PLAY_AUDIO_STARTED",e),Uu=()=>(0,Ru.action)("PLAY_AUDIO_FINISHED"),_u=(e,t)=>(0,Ru.action)("SHOW_AUDIO_ERROR",{audio:e,error:t}),Bu=e=>(0,Ru.action)("HIDE_AUDIO_ERROR",e),Fu=e=>(0,Ru.action)("UPDATE_REMAINING",e),Gu=t().memo((function({src:n,restrictedAudioId:r,duration:i,times:o,labelId:a}){const s=Sc(Gc(n,r)),l=Sc(((e,t)=>n=>"playing"===Gc(e,t)(n)?n.audio.nowPlaying.durationRemaining:void 0)(n,r)),c=Sc(qc(r,o)),{i18n:u}=jl(),d=Fc(),f="playing"===s,p="stopped"===s,h=!p||0===c,g=`audio-remaining-${r}`,m=f?[]:[g,a],{abitti2:y}=(0,e.useContext)(ic),v=(0,e.useRef)(null);return t().createElement("div",{className:Er()("restricted-audio-player e-column e-column--narrow e-columns e-columns--inline e-columns--center-v e-pad-1",{"restricted-audio-player--disabled":h}),lang:u.language},y&&t().createElement("audio",{ref:v,preload:"none"},t().createElement("source",null)),t().createElement("button",{className:Er()("restricted-audio-player__play e-column e-column--narrow",{"restricted-audio-player__play--playing":f}),disabled:h,onClick:()=>p&&d(Pu({src:n,restrictedAudioId:r,duration:i,audioRef:v})),"aria-labelledby":m.join(" ")},!f&&t().createElement(qa,{icon:ts,fixedWidth:!0})),t().createElement("span",{className:"restricted-audio-player__duration e-column e-text-right",id:g},function(e){const t=e%60;return`${Zu(Math.floor(e/60))}:${Zu(t)}`}(null!=l?l:i)))}));function Zu(e){return e.toString().padStart(2,"0")}const Hu=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=Ce(n,"restricted-audio-id"),s=Ce(n,"times"),l=Ce(n,"duration"),{t:c}=jl(),u=null!=s&&null!=a?Sc(Zc(o,a)):void 0,d=null!=s&&null!=a?Sc(qc(a,s)):void 0,{resolveAttachment:f}=(0,e.useContext)(ic),p=Wl(n);return t().createElement("div",{className:Er()("audio e-columns e-columns--center-v e-mrg-b-2",r)},null!=a&&null!=s?t().createElement(Gu,{src:o,restrictedAudioId:a,duration:l,times:s,labelId:p}):t().createElement("audio",{className:"e-column e-column--narrow","aria-describedby":p,preload:"metadata",controls:!0,controlsList:"nodownload"},t().createElement("source",{src:f(o)})),t().createElement("div",{className:"e-column",id:p},t().createElement(Ou,{error:u},i(n)),null!=d&&t().createElement("em",null,c("listen-times-remaining",{count:d}))))})),qu=ms({attachment:gc((function({element:n}){const{displayNumber:r}=(0,e.useContext)(hc);return t().createElement("li",{"data-list-number":r,"aria-label":r},qu(n,1))})),"attachment-title":function({element:n}){const{attachmentsURL:r}=(0,e.useContext)(ic),{displayNumber:i}=(0,e.useContext)(hc);return t().createElement("a",{href:uc(r,{hash:i}),className:"exam-attachment-title",target:"attachments"},qu(n))}}),Vu=t().memo((function({element:e,showTitle:n=!0,forceRender:r=!1}){if(null==Me(e,"question")&&!r)return null;const{t:i}=jl(),o=Zl(e);return t().createElement("div",{className:"external-material-list e-mrg-b-4"},n&&t().createElement("h4",{className:"external-material-title",id:o},i("external-material-title")),t().createElement("ol",{className:"e-list-data e-pad-l-0 e-mrg-0","aria-labelledby":o},qu(e)))})),Yu=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=n.hasChildNodes(),{resolveAttachment:s}=(0,e.useContext)(ic);return t().createElement("a",{className:Er()("file e-nowrap",r),href:s(o),download:!0},a?t().createElement(t().Fragment,null,i(n)," (",o,")"):o)})),Wu=t().memo((function({element:e,className:n}){const r=Ee(e,"svg"),i=Ee(e,"assistive-title"),o="display"===Ee(e,"mode");return t().createElement(t().Fragment,null,t().createElement("span",{className:Er()("e-formula",{"e-block e-text-center":o},n),dangerouslySetInnerHTML:{__html:r},"aria-hidden":"true"}),t().createElement("span",{className:"e-screen-reader-only"},i||e.textContent))})),Qu=({bordered:e=!1,className:n,children:r,height:i,width:o,caption:a,captionId:s})=>{const l=i/o*100+"%",c=o+(e?18:0);return t().createElement("span",{className:Er()("responsive-media-container",{"responsive-media-container--bordered":e},n),style:{maxWidth:c}},t().createElement("span",{className:"responsive-media-container__inner",style:{paddingBottom:l}},r),a&&t().createElement("span",{className:"e-block e-mrg-t-1 e-font-size-s e-light",id:s},a))};function Ju(e){return"string"==typeof e&&0===e.trim().length}const Xu=t().memo((function({element:n,className:r,renderChildNodes:i}){const{resolveAttachment:o}=(0,e.useContext)(ic),{t:a}=jl(),s=Ee(n,"src"),l=Ce(n,"width"),c=Ce(n,"height"),u=Ae(n,"image-title"),d=u&&i(u),f=null!=d&&!d.every(Ju),p=f?d:void 0,h=f?Vl(n):void 0,g=o(s),m=t().createElement("img",{className:"e-image",src:g,alt:"","aria-labelledby":h});return t().createElement(t().Fragment,null,t().createElement(Qu,{className:r,width:l,height:c,caption:p,captionId:h,bordered:f||null!=Me(n,"choice-answer")},null!=Me(n,["choice-answer","hint"])?m:t().createElement("a",{title:a.raw("zoom-in"),href:g,target:"original-picture",className:"e-zoomable","aria-hidden":!f,tabIndex:-1},m)))}));function $u({element:e,renderChildNodes:n}){return t().createElement("em",null,n(e))}function Ku({element:e,renderChildNodes:n}){return t().createElement("i",null,n(e))}function ed({element:n}){const r=n.textContent;if(/^[0-9]{4}$/.test(r))return t().createElement(t().Fragment,null,r);{const n=new Date(r.trim()),{dateTimeFormatter:i}=(0,e.useContext)(ic);return t().createElement(t().Fragment,null,i.format(n))}}const td=t().memo((function({element:e,renderChildNodes:n}){const{t:r}=jl();function i(r,i){const o=Ae(e,r);if(o){const e=o.localName,r=t().createElement(i,{element:o,renderChildNodes:n,key:e});if(r)return Ne(o,"hidden")?t().createElement("del",{key:e},r):r}}function o(i,o,a){const s=Ae(e,i);return s&&t().createElement(t().Fragment,{key:s.localName},r(o)," ",t().createElement(a,{element:s,renderChildNodes:n,key:s.localName}))}return t().createElement("span",{className:Er()("e-break-word",{"e-line-through":Ne(e,"hidden")})},r("references.source"),be,(". ",(a=[i("author",Kl),i("title",$u),i("publisher",Kl),i("publication",Kl),i("howpublished",Kl),i("url",Ku),o("publication-date","references.date",ed),o("reference-date","references.reference-date",ed),o("translator","references.translator",Kl),o("modified-by","references.modified-by",Kl),i("note",Kl)]).filter(Boolean).reduce(((e,t,n)=>(e.push(t),n!==a.length-1&&e.push(". "),e)),[])));var a})),nd=t().memo((function({element:n,renderChildNodes:r,className:i}){const{resolveAttachment:o}=(0,e.useContext)(ic),a=Ee(n,"src"),s=Ce(n,"width"),l=Ce(n,"height"),c=Ae(n,"video-title"),u=c&&r(c),d=null!=u&&!u.every(Ju),f=d?u:void 0,p=d?Yl(n):void 0;return t().createElement(Qu,{caption:f,captionId:p,className:i,width:s,height:l},t().createElement("video",{className:"video",preload:"metadata",controls:!0,controlsList:"nodownload",disablePictureInPicture:!0,"aria-describedby":p},t().createElement("source",{src:o(a)})))}));const rd=function(e){var t=function(e){return e?1/0===(e=lr(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),n=t%1;return t==t?n?t-n:t:0};var id=4294967295,od=Math.min;function ad({opacity:e,setOpacity:n,element:r,renderChildNodes:i}){const o=Ae(r,"image-title");return t().createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-1"},t().createElement("div",{className:"e-column e-text-right e-mrg-r-1"},o&&i(o)),t().createElement(qa,{icon:Qa,className:"e-mrg-r-1 e-pointer",onClick:()=>n(0)}),t().createElement("input",{type:"range",min:0,max:1,step:.01,value:e,onChange:e=>n(Number(e.target.value))}),t().createElement(qa,{icon:$a,className:"e-mrg-l-1 e-pointer",onClick:()=>n(1)}))}function sd({element:n,absolute:r,opacity:i}){const o=n.getAttribute("src"),a=Ce(n,"width"),s=Ce(n,"height"),l=(0,e.useContext)(ic).resolveAttachment(o);return t().createElement("div",{className:Er()("e-columns e-columns--center-h",{"e-image-overlay__image-absolute":r}),style:{opacity:i}},t().createElement(Qu,{width:a,height:s},t().createElement("img",{className:"e-image",src:l})))}const ld=t().memo((function({element:n,renderChildNodes:r}){const[i,o]=(0,e.useState)((()=>function(e,t){if((e=rd(e))<1||e>9007199254740991)return[];var n=id,r=od(e,id);t=me(t),e-=id;for(var i=x(r,t);++n<e;)t(n);return i}(n.children.length,(e=>0===e?1:0)))),a=e=>t=>{const n=[...i];n[e]=t,o(n)};return t().createElement("div",{className:"e-image-overlay e-mrg-b-1"},t().createElement("div",{className:"e-columns e-columns--center-h"},t().createElement("div",null,Se(n,((e,n)=>t().createElement(ad,{key:n,opacity:i[n],element:e,setOpacity:a(n),renderChildNodes:r}))))),t().createElement("div",null,t().createElement("div",{className:"e-image-overlay__images-wrapper"},Se(n,((e,n)=>t().createElement(sd,{key:n,element:e,renderChildNodes:r,opacity:i[n],absolute:n>0}))))))})),cd=t().createContext({}),ud=rc(cd,(({element:e})=>{const t=Te(e,"question",!1),n=t.length?[]:Te(e,["text-answer","scored-text-answer","dropdown-answer","choice-answer"],!1),r=Te(e,"question-instruction",!1),i=e.getAttribute("display-number"),o=r.length>0?r.map(Fl).join(" "):Bl(i);return{answers:n,displayNumber:i,hasExternalMaterial:null!=Ae(e,"external-material"),maxAnswers:Ce(e,"max-answers"),maxScore:Ce(e,"max-score"),level:Ie(e,"question").length,childQuestions:t,questionLabelIds:o}}));function dd({element:n}){const r=n.getAttribute("suffix"),{displayNumber:i}=(0,e.useContext)(cd);return t().createElement(t().Fragment,null,ll(i.split(".")),".",r)}const fd=t().memo((function({element:e}){const{t:n}=jl(),r=e.getAttribute("key");return t().createElement(t().Fragment,null,n(r))})),pd=ms({"attachment-link":fc("link"),"attachment-links":pc("link"),"attachment-title":yc,attachment:mc,audio:Hu,"audio-title":Kl,file:Yu,image:Xu,video:nd,formula:Wu,"question-number":dd,translation:fd,reference:function(e,n,r){const i=n=>t().createElement("div",{...r},t().createElement(e,{...n}));return i.displayName=`Surround(${nc(e)})`,i}(td,0,{className:"e-mrg-y-2 e-font-size-s"}),"image-overlay":ld}),hd=t().memo((function({element:e,forceRender:n=!1}){if(null==Me(e,"question")&&!n)return null;const r=e.children.length;return t().createElement(t().Fragment,null,r>1&&t().createElement(Vu,{element:e,renderChildNodes:pd,showTitle:!1,forceRender:n}),pd(e))})),gd=t().memo(ud((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o,level:a}=(0,e.useContext)(cd);return function(e,t,n){return t&&(0===n||Ie(e).every((e=>"question"!==e.localName||!Ae(e,"external-material"))))}(n,o,a)?t().createElement(tc,{id:i,"aria-labelledby":Bl(i)},r(n,1)):t().createElement(t().Fragment,null,r(n,1))})));function md(e){return e.includes(".")?e:`${e}.`}const yd=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o}=(0,e.useContext)(cd);return o?t().createElement(t().Fragment,null,t().createElement("div",{className:"anchor",id:`question-nr-${i}`}),t().createElement("h2",{id:Bl(i)},md(i)," ",r(n))):null})),vd=ms({"audio-group":ec,"external-material":hd,"question-title":yd,question:gd,section:cc(Kl)}),bd=()=>{const{t:e}=jl();return t().createElement(t().Fragment,null,e("attachments-page-title"))},Id=t().memo(sc(oc((({annotations:n,onClickAnnotation:r,onSaveAnnotation:i})=>{const{root:o,language:a,date:s,dateTimeFormatter:l,dayCode:c,examCode:u,resolveAttachment:d,subjectLanguage:f}=(0,e.useContext)(ic),p=Ae(o,"exam-title"),h=o.getAttribute("exam-stylesheet"),g=Ae(o,"external-material"),m=Xl((()=>kl(a,u,c)));return(0,e.useEffect)(Dl(m,a)),(0,e.useEffect)(Jl,[]),t().createElement(ls,{annotations:n,onClickAnnotation:r,onSaveAnnotation:i},t().createElement(v,{i18n:m},t().createElement("main",{className:"e-exam attachments",lang:f,"aria-labelledby":zl},t().createElement(t().StrictMode,null),h&&t().createElement("link",{rel:"stylesheet",href:d(h)}),t().createElement(tc,{"aria-labelledby":zl},p&&t().createElement($l,{id:zl},t().createElement(bd,null),be,vd(p)),t().createElement("div",{className:"e-semibold e-mrg-b-6"},l.format(s)),g&&t().createElement(hd,{element:g,renderChildNodes:vd,forceRender:!0})),vd(o))))}))));function xd(e){const t=e.documentElement;return Ad(t,Te(t,"section",!1).map(wd),{maxAnswers:Ce(t,"max-answers")})}function wd(e){return Ad(e,Te(e,"question",!1).map(Td),{displayNumber:Ee(e,"display-number"),minAnswers:Ce(e,"min-answers"),maxAnswers:Ce(e,"max-answers")})}function Td(e){const t=Te(e,"question",!1);return Ad(e,t.length?t.map(Td):Te(e,["text-answer","scored-text-answer","choice-answer","dropdown-answer"],!1).map(Md),{displayNumber:Ee(e,"display-number"),maxAnswers:Ce(e,"max-answers")})}function Md(e){return Ad(e,[],{displayNumber:Ee(e,"display-number"),questionId:Ce(e,"question-id"),maxLength:Ce(e,"max-length")})}function Ad(e,t,n){return{name:e.localName,attributes:n,childNodes:t}}const Ed=function(e,t){return(_(e)?pn:Fn)(e,An(t))},Cd=En((function(e,t,n){Qe(e,n,t)}));function Nd(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Sd=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),kd=()=>Math.random().toString(36).substring(7).split("").join("."),jd={INIT:`@@redux/INIT${kd()}`,REPLACE:`@@redux/REPLACE${kd()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${kd()}`};function Dd(e,t,n){if("function"!=typeof e)throw new Error(Nd(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Nd(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Nd(1));return n(Dd)(e,t)}let r=e,i=t,o=new Map,a=o,s=0,l=!1;function c(){a===o&&(a=new Map,o.forEach(((e,t)=>{a.set(t,e)})))}function u(){if(l)throw new Error(Nd(3));return i}function d(e){if("function"!=typeof e)throw new Error(Nd(4));if(l)throw new Error(Nd(5));let t=!0;c();const n=s++;return a.set(n,e),function(){if(t){if(l)throw new Error(Nd(6));t=!1,c(),a.delete(n),o=null}}}function f(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(Nd(7));if(void 0===e.type)throw new Error(Nd(8));if("string"!=typeof e.type)throw new Error(Nd(17));if(l)throw new Error(Nd(9));try{l=!0,i=r(i,e)}finally{l=!1}return(o=a).forEach((e=>{e()})),e}return f({type:jd.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Nd(10));r=e,f({type:jd.REPLACE})},[Sd]:function(){const e=d;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(Nd(11));function n(){const e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[Sd](){return this}}}}}function Ld(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}var Od=function(e){return"@@redux-saga/"+e},Rd=Od("CANCEL_PROMISE"),Pd=Od("CHANNEL_END"),zd=Od("IO"),Ud=Od("MATCH"),_d=Od("MULTICAST"),Bd=Od("SAGA_ACTION"),Fd=Od("SELF_CANCELLATION"),Gd=Od("TASK"),Zd=Od("TASK_CANCEL"),Hd=Od("TERMINATE"),qd=Od("LOCATION");function Vd(){return Vd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vd.apply(null,arguments)}function Yd(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var Wd=function(e){return null==e},Qd=function(e){return null!=e},Jd=function(e){return"function"==typeof e},Xd=function(e){return"string"==typeof e},$d=Array.isArray,Kd=function(e){return e&&Jd(e.then)},ef=function(e){return e&&Jd(e.next)&&Jd(e.throw)},tf=function e(t){return t&&(Xd(t)||of(t)||Jd(t)||$d(t)&&t.every(e))},nf=function(e){return e&&Jd(e.take)&&Jd(e.close)},rf=function(e){return Jd(e)&&e.hasOwnProperty("toString")},of=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},af=function(e){return nf(e)&&e[_d]};const sf=function(e,t){var n;void 0===t&&(t=!0);var r=new Promise((function(r){n=setTimeout(r,Math.min(2147483647,e),t)}));return r[Rd]=function(){clearTimeout(n)},r};var lf=function(e){return function(){return true}}(),cf=function(){},uf=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var df=function(e,t){Vd(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function ff(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function pf(e){var t=!1;return function(){t||(t=!0,e())}}var hf=function(e){throw e},gf=function(e){return{value:e,done:!0}};function mf(e,t,n){void 0===t&&(t=hf),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:gf,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function yf(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var vf=function(e){return Array.apply(null,new Array(e))},bf=function(e){return function(t){return e(Object.defineProperty(t,Bd,{value:!0}))}},If=function(e){return e===Hd},xf=function(e){return e===Zd},wf=function(e){return If(e)||xf(e)};function Tf(e,t){var n,r=Object.keys(e),i=r.length,o=0,a=$d(e)?vf(i):{},s={};return r.forEach((function(e){var r=function(r,s){n||(s||wf(r)?(t.cancel(),t(r,s)):(a[e]=r,++o===i&&(n=!0,t(a))))};r.cancel=cf,s[e]=r})),t.cancel=function(){n||(n=!0,r.forEach((function(e){return s[e].cancel()})))},s}function Mf(e){return{name:e.name||"anonymous",location:Af(e)}}function Af(e){return e[qd]}function Ef(){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 Cf={isEmpty:lf,put:cf,take:cf};var Nf=function(e){return function(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,i=0,o=0,a=function(t){n[i]=t,i=(i+1)%e,r++},s=function(){if(0!=r){var t=n[o];return n[o]=null,r--,o=(o+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)a(s);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[i]=s,o=i=(i+1)%e;break;case 4:c=2*e,n=l(),r=n.length,i=n.length,o=0,n.length=c,e=c,a(s)}},take:s,flush:l}}(e,4)},Sf="TAKE",kf="PUT",jf="RACE",Df="CALL",Lf="FORK",Of="CANCEL",Rf="SELECT",Pf="CANCELLED",zf=function(e,t){var n;return(n={})[zd]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function Uf(e,t){return void 0===e&&(e="*"),tf(e)?(Qd(t)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),zf(Sf,{pattern:e})):af(e)&&Qd(t)&&tf(t)?zf(Sf,{channel:e,pattern:t}):nf(e)?(Qd(t)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),zf(Sf,{channel:e})):void 0}function _f(e,t){return Wd(t)&&(t=e,e=void 0),zf(kf,{channel:e,action:t})}function Bf(e,t){var n,r=null;return Jd(e)?n=e:($d(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&Xd(n)&&Jd(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function Ff(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 zf(Df,Bf(e,n))}function Gf(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 zf(Lf,Bf(e,n))}function Zf(e){return void 0===e&&(e=Fd),zf(Of,e)}var Hf=Ff.bind(null,sf);const qf=function(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e};var Vf=[],Yf=0;function Wf(e){try{Xf(),e()}finally{$f()}}function Qf(e){Vf.push(e),Yf||(Xf(),Kf())}function Jf(e){try{return Xf(),e()}finally{Kf()}}function Xf(){Yf++}function $f(){Yf--}function Kf(){var e;for($f();!Yf&&void 0!==(e=Vf.shift());)Wf(e)}var ep=function(e){return function(t){return e.some((function(e){return op(e)(t)}))}},tp=function(e){return function(t){return e(t)}},np=function(e){return function(t){return t.type===String(e)}},rp=function(e){return function(t){return t.type===e}},ip=function(){return lf};function op(e){var t="*"===e?ip:Xd(e)?np:$d(e)?ep:rf(e)?np:Jd(e)?tp:of(e)?rp:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var ap={type:Pd},sp=function(e){return e&&e.type===Pd};function lp(e){void 0===e&&(e=Nf());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(ap):e.isEmpty()?(n.push(r),r.cancel=function(){ff(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(ap):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])(ap)}}}}function cp(){var e,t,n,r,i,o,a=(t=!1,r=n=[],i=function(){r===n&&(r=n.slice())},o=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(ap)}))},(e={})[_d]=!0,e.put=function(e){if(!t)if(sp(e))o();else for(var i=n=r,a=0,s=i.length;a<s;a++){var l=i[a];l[Ud](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=ip),t?e(ap):(e[Ud]=n,i(),r.push(e),e.cancel=pf((function(){i(),ff(r,e)})))},e.close=o,e),s=a.put;return a.put=function(e){e[Bd]?s(e):Qf((function(){s(e)}))},a}var up=0,dp=1,fp=2,pp=3;function hp(e,t){var n=e[Rd];Jd(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var gp,mp=0,yp=function(){return++mp};function vp(e){e.isRunning()&&e.cancel()}var bp=((gp={})[Sf]=function(e,t,n){var r=t.channel,i=void 0===r?e.channel:r,o=t.pattern,a=t.maybe,s=function(e){e instanceof Error?n(e,!0):!sp(e)||a?n(e):n(Hd)};try{i.take(s,Qd(o)?op(o):null)}catch(e){return void n(e,!0)}n.cancel=s.cancel},gp[kf]=function(e,t,n){var r=t.channel,i=t.action,o=t.resolve;Qf((function(){var t;try{t=(r?r.put:e.dispatch)(i)}catch(e){return void n(e,!0)}o&&Kd(t)?hp(t,n):n(t)}))},gp.ALL=function(e,t,n,r){var i=r.digestEffect,o=mp,a=Object.keys(t);if(0!==a.length){var s=Tf(t,n);a.forEach((function(e){i(t[e],o,s[e],e)}))}else n($d(t)?[]:{})},gp[jf]=function(e,t,n,r){var i=r.digestEffect,o=mp,a=Object.keys(t),s=$d(t)?vf(a.length):{},l={},c=!1;a.forEach((function(e){var t=function(t,r){c||(r||wf(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,s[e]=t,n(s)))};t.cancel=cf,l[e]=t})),n.cancel=function(){c||(c=!0,a.forEach((function(e){return l[e].cancel()})))},a.forEach((function(e){c||i(t[e],o,l[e],e)}))},gp[Df]=function(e,t,n,r){var i=t.context,o=t.fn,a=t.args,s=r.task;try{var l=o.apply(i,a);if(Kd(l))return void hp(l,n);if(ef(l))return void Np(e,l,s.context,mp,Mf(o),!1,n);n(l)}catch(e){n(e,!0)}},gp.CPS=function(e,t,n){var r=t.context,i=t.fn,o=t.args;try{var a=function(e,t){Wd(e)?n(t):n(e,!0)};i.apply(r,o.concat(a)),a.cancel&&(n.cancel=a.cancel)}catch(e){n(e,!0)}},gp[Lf]=function(e,t,n,r){var i=t.context,o=t.fn,a=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(ef(i))return i;var o=!1;return mf((function(e){return o?{value:e,done:!0}:(o=!0,{value:i,done:!Kd(i)})}))}catch(e){return mf((function(){throw e}))}}({context:i,fn:o,args:a}),u=function(e,t){return e.isSagaIterator?{name:e.meta.name}:Mf(t)}(c,o);Jf((function(){var t=Np(e,c,l.context,mp,u,s,void 0);s?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},gp.JOIN=function(e,t,n,r){var i=r.task,o=function(e,t){if(e.isRunning()){var n={task:i,cb:t};t.cancel=function(){e.isRunning()&&ff(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if($d(t)){if(0===t.length)return void n([]);var a=Tf(t,n);t.forEach((function(e,t){o(e,a[t])}))}else o(t,n)},gp[Of]=function(e,t,n,r){var i=r.task;t===Fd?vp(i):$d(t)?t.forEach(vp):vp(t),n()},gp[Rf]=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)}},gp.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,i=lp(t.buffer),o=op(r),a=function t(n){sp(n)||e.channel.take(t,o),i.put(n)},s=i.close;i.close=function(){a.cancel(),s()},e.channel.take(a,o),n(i)},gp[Pf]=function(e,t,n,r){n(r.task.isCancelled())},gp.FLUSH=function(e,t,n){t.flush(n)},gp.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},gp.SET_CONTEXT=function(e,t,n,r){var i=r.task;df(i.context,t),n()},gp);function Ip(e,t){return e+"?"+t}function xp(e){var t=e.name,n=e.location;return n?t+" "+Ip(n.fileName,n.lineNumber):t}var wp=null,Tp=[],Mp=function(e){e.crashedEffect=wp,Tp.push(e)},Ap=function(){wp=null,Tp.length=0},Ep=function(e){wp=e},Cp=function(){var e,t,n,r,i,o,a,s=Tp[0],l=Tp.slice(1),c=s.crashedEffect?(o=s.crashedEffect,(a=Af(o))?a.code+" "+Ip(a.fileName,a.lineNumber):""):null;return["The above error occurred in task "+xp(s.meta)+(c?" \n when executing effect "+c:"")].concat(l.map((function(e){return" created by "+xp(e.meta)})),[(e=Tp,t=function(e){return e.cancelledTasks},n=e,i=(r=[]).concat.apply(r,n.map(t)),i.length?["Tasks cancelled due to error:"].concat(i).join("\n"):"")]).join("\n")};function Np(e,t,n,r,i,o,a){var s=e.finalizeRunEffect((function(t,n,r){Kd(t)?hp(t,r):ef(t)?Np(e,t,c.context,n,i,!1,r):t&&t[zd]?(0,bp[t.type])(e,t.payload,r,u):r(t)}));d.cancel=cf;var l={meta:i,cancel:function(){l.status===up&&(l.status=dp,d(Zd))},status:up},c=function(e,t,n,r,i,o,a){var s;void 0===a&&(a=cf);var l,c,u=up,d=null,f=[],p=Object.create(n),h=function(e,t,n){var r,i=[],o=!1;function a(e){t(),l(),n(e,!0)}function s(t){i.push(t),t.cont=function(s,l){o||(ff(i,t),t.cont=cf,l?a(s):(t===e&&(r=s),i.length||(o=!0,n(r))))}}function l(){o||(o=!0,i.forEach((function(e){e.cont=cf,e.cancel()})),i=[])}return s(e),{addTask:s,cancelAll:l,abort:a,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=fp,Mp({meta:i,cancelledTasks:f}),m.isRoot){var r=Cp();Ap(),e.onError(t,{sagaStack:r})}c=t,d&&d.reject(t)}else t===Zd?u=dp:u!==dp&&(u=pp),l=t,d&&d.resolve(t);m.cont(t,n),m.joiners.forEach((function(e){e.cb(t,n)})),m.joiners=null}var m=((s={})[Gd]=!0,s.id=r,s.meta=i,s.isRoot=o,s.context=p,s.joiners=[],s.queue=h,s.cancel=function(){u===up&&(u=dp,h.cancelAll(),g(Zd,!1))},s.cont=a,s.end=g,s.setContext=function(e){df(p,e)},s.toPromise=function(){return d||(d=qf(),u===fp?d.reject(c):u!==up&&d.resolve(l)),d.promise},s.isRunning=function(){return u===up},s.isCancelled=function(){return u===dp||u===up&&t.status===dp},s.isAborted=function(){return u===fp},s.result=function(){return l},s.error=function(){return c},s);return m}(e,l,n,r,i,o,a),u={task:c,digestEffect:f};return a&&(a.cancel=c.cancel),d(),c;function d(e,n){try{var i;n?(i=t.throw(e),Ap()):xf(e)?(l.status=dp,d.cancel(),i=Jd(t.return)?t.return(Zd):{done:!0,value:Zd}):i=If(e)?Jd(t.return)?t.return():{done:!0}:t.next(e),i.done?(l.status!==dp&&(l.status=pp),l.cont(i.value)):f(i.value,r,d)}catch(e){if(l.status===dp)throw e;l.status=fp,l.cont(e,!0)}}function f(t,n,r,i){void 0===i&&(i="");var o,a=yp();function l(n,i){o||(o=!0,r.cancel=cf,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),i&&Ep(t),r(n,i))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:i,effect:t}),l.cancel=cf,r.cancel=function(){o||(o=!0,l.cancel(),l.cancel=cf,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},s(t,a,l)}}function Sp(e,t){for(var n=e.channel,r=void 0===n?cp():n,i=e.dispatch,o=e.getState,a=e.context,s=void 0===a?{}:a,l=e.sagaMonitor,c=e.effectMiddlewares,u=e.onError,d=void 0===u?yf:u,f=arguments.length,p=new Array(f>2?f-2:0),h=2;h<f;h++)p[h-2]=arguments[h];var g,m=t.apply(void 0,p),y=yp();if(l&&(l.rootSagaStarted=l.rootSagaStarted||cf,l.effectTriggered=l.effectTriggered||cf,l.effectResolved=l.effectResolved||cf,l.effectRejected=l.effectRejected||cf,l.effectCancelled=l.effectCancelled||cf,l.actionDispatched=l.actionDispatched||cf,l.rootSagaStarted({effectId:y,saga:t,args:p})),c){var v=Ef.apply(void 0,c);g=function(e){return function(t,n,r){return v((function(t){return e(t,n,r)}))(t)}}}else g=uf;var b={channel:r,dispatch:bf(i),getState:o,sagaMonitor:l,onError:d,finalizeRunEffect:g};return Jf((function(){var e=Np(b,m,s,y,Mf(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}var kp=function(e){return{done:!0,value:e}},jp={};function Dp(e){return nf(e)?"channel":rf(e)?String(e):Jd(e)?e.name:String(e)}function Lp(e,t,n){var r,i,o,a=t;function s(t,n){if(a===jp)return kp(t);if(n&&!i)throw a=jp,n;r&&r(t);var s=n?e[i](n):e[a]();return a=s.nextState,o=s.effect,r=s.stateUpdater,i=s.errorState,a===jp?kp(t):o}return mf(s,(function(e){return s(null,e)}),n)}function Op(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 o,a={done:!1,value:Uf(e)},s=function(e){return o=e};return Lp({q1:function(){return{nextState:"q2",effect:a,stateUpdater:s}},q2:function(){return{nextState:"q1",effect:(e=o,{done:!1,value:Gf.apply(void 0,[t].concat(r,[e]))})};var e}},"q1","takeEvery("+Dp(e)+", "+t.name+")")}function Rp(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 o,a,s={done:!1,value:Uf(e)},l=function(e){return{done:!1,value:Gf.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:Zf(e)}},u=function(e){return o=e},d=function(e){return a=e};return Lp({q1:function(){return{nextState:"q2",effect:s,stateUpdater:d}},q2:function(){return o?{nextState:"q3",effect:c(o)}:{nextState:"q1",effect:l(a),stateUpdater:u}},q3:function(){return{nextState:"q1",effect:l(a),stateUpdater:u}}},"q1","takeLatest("+Dp(e)+", "+t.name+")")}const Pp=function(e,t){return Bn(Ed(e,t),1)};function zp(e,t){return function(e,n,r){return function e(n,r){return r.childNodes.reduce(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,elementType:"question"}]:e}return e})(n,r))}([],e)}(e)}function Up(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),o=t.filter((e=>e.answerCount>0)),a=null!==(r=n.attributes.maxAnswers)&&void 0!==r?r:1/0,s="section"===n.name?n.attributes.minAnswers:void 0,l="exam"===n.name?o.reduce(((e,t)=>e+t.answerCount),0):o.length,c=Pp(t,(e=>e.extraAnswers));return{answerCount:l,displayNumber:i,extraAnswers:l>a?[{type:"ExtraAnswer",elementType:n.name,displayNumber:i,childQuestions:t.map((e=>e.displayNumber)),maxAnswers:a,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 _p(e,t){return Pp([zp,Up],(n=>n(e,t)))}const Bp={answersById:{},examStructure:{name:"exam",attributes:{},childNodes:[]},focusedQuestionId:null,supportsAnswerHistory:!1,serverQuestionIds:new Set,savedQuestionIds:new Set,validationErrors:[]};function Fp(e,t){const n=new Set(e);return n.add(t),n}const Gp=e=>(0,Ru.action)("SAVE_ANSWER",e),Zp=e=>(0,Ru.action)("SAVE_ANSWER_SUCCEEDED",e),Hp=(e,t)=>(0,Ru.action)("SAVE_ANSWER_FAILED",{answer:e,error:t},void 0,!0),qp=new Map;function*Vp(e,t){const n=e.payload;try{yield Hf(1e3),yield Ff(t.saveAnswer,n),yield _f(Zp(n))}catch(e){yield _f(Hp(n,e))}qp.delete(n.questionId)}function*Yp(e){for(;;){const t=yield Uf("SAVE_ANSWER"),n=qp.get(t.payload.questionId);n&&(yield Zf(n));const r=yield Gf(Vp,t,e);qp.set(t.payload.questionId,r)}}function*Wp(e){for(;e.selectAnswerVersion;){const t=yield Uf("SELECT_ANSWER_VERSION"),{questionId:n,questionText:r}=t.payload;e.logActivity&&(yield Ff(e.logActivity,`Opened answer version history for question ${n}, ${r}`));try{const t=yield Ff(e.selectAnswerVersion,n,r);t&&(yield _f(Gp(t)),e.logActivity&&(yield Ff(e.logActivity,`Restored answer version for question ${n}, ${r}`)))}catch(e){console.error(e)}}}function*Qp(e){yield Gf(Yp,e),yield Gf(Wp,e)}const Jp=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?Qe(n,s,l):fl(n,s,l)}return n};var Xp=Object.prototype.hasOwnProperty;const $p=function(e){if(!le(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ie(e),n=[];for(var r in e)("constructor"!=r||!t&&Xp.call(e,r))&&n.push(r);return n},Kp=function(e){return ue(e)?ne(e,!0):$p(e)};var eh="object"==typeof exports&&exports&&!exports.nodeType&&exports,th=eh&&"object"==typeof module&&module&&!module.nodeType&&module,nh=th&&th.exports===eh?M.Buffer:void 0,rh=nh?nh.allocUnsafe:void 0;const ih=oe(Object.getPrototypeOf,Object),oh=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Tt(t,Nt(e)),e=ih(e);return t}:At,ah=function(e){return Mt(e,Kp,oh)};var sh=Object.prototype.hasOwnProperty;const lh=function(e){var t=new e.constructor(e.byteLength);return new vt(t).set(new vt(e)),t};var ch=/\w*$/;var uh=A?A.prototype:void 0,dh=uh?uh.valueOf:void 0;const fh=function(e,t,n){var r,i=e.constructor;switch(t){case"[object ArrayBuffer]":return lh(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return function(e,t){var n=t?lh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(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 function(e,t){var n=t?lh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,ch.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Symbol]":return r=e,dh?Object(dh.call(r)):{}}};var ph=Object.create;const hh=function(){function e(){}return function(t){if(!le(t))return{};if(ph)return ph(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var gh=$&&$.isMap;const mh=gh?W(gh):function(e){return L(e)&&"[object Map]"==Vt(e)};var yh=$&&$.isSet;const vh=yh?W(yh):function(e){return L(e)&&"[object Set]"==Vt(e)};var bh="[object Arguments]",Ih="[object Function]",xh="[object Object]",wh={};wh[bh]=wh["[object Array]"]=wh["[object ArrayBuffer]"]=wh["[object DataView]"]=wh["[object Boolean]"]=wh["[object Date]"]=wh["[object Float32Array]"]=wh["[object Float64Array]"]=wh["[object Int8Array]"]=wh["[object Int16Array]"]=wh["[object Int32Array]"]=wh["[object Map]"]=wh["[object Number]"]=wh[xh]=wh["[object RegExp]"]=wh["[object Set]"]=wh["[object String]"]=wh["[object Symbol]"]=wh["[object Uint8Array]"]=wh["[object Uint8ClampedArray]"]=wh["[object Uint16Array]"]=wh["[object Uint32Array]"]=!0,wh["[object Error]"]=wh[Ih]=wh["[object WeakMap]"]=!1;const Th=function e(t,n,r,i,o,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!le(t))return t;var d=_(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&sh.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t,s)}else{var f=Vt(t),p=f==Ih||"[object GeneratorFunction]"==f;if(Z(t))return function(e,t){if(t)return e.slice();var n=e.length,r=rh?rh(n):new e.constructor(n);return e.copy(r),r}(t,l);if(f==xh||f==bh||p&&!o){if(s=c||p?{}:function(e){return"function"!=typeof e.constructor||ie(e)?{}:hh(ih(e))}(t),!l)return c?function(e,t){return Jp(e,oh(e),t)}(t,function(e,t){return e&&Jp(t,Kp(t),e)}(s,t)):function(e,t){return Jp(e,Nt(e),t)}(t,function(e,t){return e&&Jp(t,de(t),e)}(s,t))}else{if(!wh[f])return o?t:{};s=fh(t,f,l)}}a||(a=new pt);var h=a.get(t);if(h)return h;a.set(t,s),vh(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,a))})):mh(t)&&t.forEach((function(i,o){s.set(o,e(i,n,r,o,t,a))}));var g=d?void 0:(u?c?ah:St:c?Kp:de)(t);return b(g||t,(function(i,o){g&&(i=t[o=i]),fl(s,o,e(i,n,r,o,t,a))})),s},Mh=function(e,t){return null==(e=function(e,t){return t.length<2?e:In(e,Sn(t,0,-1))}(e,t=vn(t,e)))||delete e[bn(cl(t))]};var Ah=Function.prototype,Eh=Object.prototype,Ch=Ah.toString,Nh=Eh.hasOwnProperty,Sh=Ch.call(Object);const kh=function(e){return function(e){if(!L(e)||"[object Object]"!=D(e))return!1;var t=ih(e);if(null===t)return!0;var n=Nh.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ch.call(n)==Sh}(e)?void 0:e},jh=ml((function(e,t){var n={};if(null==e)return n;var r=!1;t=pn(t,(function(t){return t=vn(t,e),r||(r=t.length>1),t})),Jp(e,ah(e),n),r&&(n=Th(n,7,kh));for(var i=t.length;i--;)Mh(n,t[i]);return n})),Dh={errors:{},nowPlaying:null,playbackTimes:{}},Lh=e=>function(t,n){void 0===n&&(n=Cf);var r,i=!1,o=lp(n),a=function(){i||(i=!0,Jd(r)&&r(),o.close())};return r=pf(r=(t=>{const n=setInterval((()=>{--e>0?t(e):(t(ap),clearInterval(n))}),1e3);return()=>clearInterval(n)})((function(e){sp(e)?a():o.put(e)}))),i&&r(),{take:o.take,flush:o.flush,close:a}}();function*Oh(e,t){const n=yield Ff(Lh,e);try{for(;;){const e=yield Uf(n);yield _f(t(e))}}finally{(yield zf(Pf,{}))&&n.close()}}function*Rh(e,t){const n=t.payload;try{const t=null!=n.restrictedAudioId?yield function(e){void 0===e&&(e=uf);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return zf(Rf,{selector:e,args:n})}(Hc(n.restrictedAudioId)):void 0,r=n.audioRef&&n.audioRef.current?yield function(e,t,n){return null!=n&&null!=t.restrictedAudioId?async function(e,t,n,r){try{const i=await e.getRestrictedAudio("",t,r),o=n.querySelector("source");return o.src=URL.createObjectURL(i),n.load(),n.play(),{response:"ok",cleanup:()=>{URL.revokeObjectURL(o.src)}}}catch(e){return{response:"other-error",cleanup:()=>{}}}}(e,t.restrictedAudioId,t.audioRef.current,n):(t.audioRef.current.play(),{response:"ok"})}(e,n,t):yield function*(e,t,n){return{response:null!=n&&null!=t.restrictedAudioId?yield Ff(e.playRestrictedAudio,t.src,t.restrictedAudioId,n):yield Ff(e.playAudio,t.src)}}(e,n,t);"ok"===r.response?(yield _f(zu(n)),yield Ff(Oh,n.duration,Fu),yield _f(Uu())):(yield _f(_u(n,r.response)),yield Hf(5e3),yield _f(Bu(n))),r.cleanup&&r.cleanup()}catch(e){console.error(e)}}function*Ph(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 Gf.apply(void 0,[Op,e,t].concat(r))}("PLAY_AUDIO",Rh,e)}const zh={casStatus:"forbidden"},{createAction:Uh}=Ru.deprecated,_h=e=>(0,Ru.action)("ALLOW_CAS_COUNTDOWN",e),Bh=Uh("ALLOW_CAS_SUCCEEDED"),Fh=Uh("ALLOW_CAS_CANCELLED"),Gh=e=>(0,Ru.action)("UPDATE_CAS_REMAINING",e);function*Zh(e,{payload:t}){try{if("allowed"===(yield Ff(e.setCasStatus,"allowing")))return void(yield _f(Bh()));yield _f(_h(t));const{cancelled:i}=yield(n={finished:Ff(Oh,t,Gh),cancelled:Uf("ALLOW_CAS_CANCELLED")},r=zf(jf,n),r.combinator=!0,r);"allowed"===(yield Ff(e.setCasStatus,i?"forbidden":"allowed"))?yield _f(Bh()):i||(yield _f(Fh()))}catch(e){console.error(e)}var n,r}function*Hh(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 Gf.apply(void 0,[Rp,e,t].concat(r))}("ALLOW_CAS",Zh,e)}const qh=function(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}const r=Object.keys(n);let i;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if(void 0===n(void 0,{type:jd.INIT}))throw new Error(Nd(12));if(void 0===n(void 0,{type:jd.PROBE_UNKNOWN_ACTION()}))throw new Error(Nd(13))}))}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let o=!1;const a={};for(let i=0;i<r.length;i++){const s=r[i],l=n[s],c=e[s],u=l(c,t);if(void 0===u)throw t&&t.type,new Error(Nd(14));a[s]=u,o=o||u!==c}return o=o||r.length!==Object.keys(e).length,o?a:e}}({answers:function(e=Bp,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":default:return e;case"SAVE_ANSWER_SUCCEEDED":{const{questionId:n}=t.payload,r=Fp(e.savedQuestionIds,n),i=Fp(e.serverQuestionIds,n),o=_p(e.examStructure,e.answersById);return{...e,serverQuestionIds:i,savedQuestionIds:r,validationErrors:o}}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}}}},audio:function(e=Dh,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=jh(e.errors,[n.src]);return{...e,playbackTimes:r,errors:i}}return e}case"SHOW_AUDIO_ERROR":{const{audio:n,error:r}=t.payload,i=xn(n,"restrictedAudioId",n.src),o={...e.errors,[i]:r};return{...e,errors:o,nowPlaying:null}}case"HIDE_AUDIO_ERROR":{const n=t.payload,r=xn(n,"restrictedAudioId",n.src),i=jh(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=zh,t){switch(t.type){case"ALLOW_CAS":default:return e;case"ALLOW_CAS_COUNTDOWN":case"UPDATE_CAS_REMAINING":return{casStatus:"allowing",durationRemaining:t.payload};case"ALLOW_CAS_SUCCEEDED":return{casStatus:"allowed"};case"ALLOW_CAS_CANCELLED":return{casStatus:"forbidden"}}}});function*Vh(e){yield Gf(Qp,e),yield Gf(Ph,e),yield Gf(Hh,e)}function Yh(e,t,n,r,i){const o=new Set(Ed(n,"questionId")),a=function(e,t){var n={};return t=An(t),fe(e,(function(e,r,i){Qe(n,r,t(e,r,i))})),n}(Cd(r,"restrictedAudioId"),"times"),s=Cd(n,"questionId"),l={answers:{answersById:s,focusedQuestionId:null,serverQuestionIds:o,supportsAnswerHistory:"function"==typeof i.selectAnswerVersion,savedQuestionIds:o,examStructure:e,validationErrors:_p(e,s)},audio:{errors:{},nowPlaying:null,playbackTimes:a},cas:{casStatus:t}},c=function(e){var t,n=void 0===e?{}:e,r=n.context,i=void 0===r?{}:r,o=n.channel,a=void 0===o?cp():o,s=n.sagaMonitor,l=Yd(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=Sp.bind(null,Vd({},l,{context:i,channel:a,dispatch:r,getState:n,sagaMonitor:s})),function(e){return function(t){s&&s.actionDispatched&&s.actionDispatched(t);var n=e(t);return a.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){df(i,e)},c}(),u=(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Ld)(function(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Nd(15))};const a={getState:i.getState,dispatch:(e,...t)=>o(e,...t)},s=e.map((e=>e(a)));return o=Ld(...s)(i.dispatch),{...i,dispatch:o}}}(c)),d=Dd(qh,l,u);return c.run(Vh,i),d}const Wh=t().memo((function({element:e,className:n,renderChildNodes:r}){return t().createElement("div",{className:Er()("e-audio-group",n)},t().createElement("div",{className:"e-audio-group--separator e-font-size-xl e-mrg-y-4 e-color-link",role:"separator"},"✲✲✲"),r(e))})),Qh=t().memo((function({element:n}){const r=n.getAttribute("src"),i=Ce(n,"duration"),{t:o}=jl(),a=Sc(Gc(r)),s=Sc(Zc(r)),l=Fc(),{abitti2:c,resolveAttachment:u}=(0,e.useContext)(ic),d=(0,e.useRef)(null);return t().createElement("div",{className:"e-audio-test notification e-pad-2 e-mrg-b-4"},t().createElement("p",null,o("audio-test.instructions")),t().createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-2"},t().createElement("div",{className:"e-column e-column--narrow"},c&&t().createElement("audio",{ref:d,preload:"none"},t().createElement("source",{src:u(r)})),t().createElement("button",{className:"e-button",disabled:"stopped"!==a,onClick:()=>"stopped"===a&&l(Pu({src:r,duration:i,audioRef:d}))},t().createElement(qa,{className:"e-mrg-r-1",icon:ts,fixedWidth:!0}),o("audio-test.play"))),t().createElement("div",{className:"e-column"},t().createElement(Ou,{error:s},be))),t().createElement("div",null,o("audio-test.volume")))})),Jh=({children:e})=>t().createElement("footer",{className:"e-footer"},e),Xh=ms({}),$h=t().memo((function(n){const{root:r}=(0,e.useContext)(ic),{t:i}=jl(),o=Te(r,"reference").filter((e=>null==Me(e,"external-material")));return o.length>0?t().createElement(tc,{"aria-labelledby":Ul},t().createElement("h2",{id:Ul},i("references.heading")),t().createElement("div",{className:"anchor",id:"references"}),t().createElement("ol",{className:"e-list-data","data-annotation-anchor":Ul},o.map(((e,n)=>{const r=Me(e,"question").getAttribute("display-number");return t().createElement("li",{"data-list-number":md(r),key:`${r}${n}`},t().createElement(td,{element:e,renderChildNodes:Xh}))})))):null})),Kh=(0,e.memo)((e=>{const{id:n,type:r,answer:i,error:o,displayNumber:a}=e,s=null==i?void 0:i.value,l="richText"===(null==i?void 0:i.type),c=l&&(null==s?void 0:s.includes('src="/math.svg?latex=')),u=l&&((null==s?void 0:s.includes('<img src="/screenshot/'))||(null==s?void 0:s.includes('<img src="data:image/png;')));return t().createElement("div",{className:"answer-indicator-container",onClick:e=>{e.stopPropagation(),window.location.href=`#question-nr-${a}`},key:n},t().createElement("div",{className:Er()("answer-indicator",{ok:s,error:o,big:"rich-text"===r}),"data-indicator-id":n},"richText"===(null==i?void 0:i.type)&&t().createElement(t().Fragment,null,l&&(null==i?void 0:i.characterCount)&&t().createElement("span",null,i.characterCount)||"",c&&t().createElement("span",{className:"formula"},"∑"),u&&t().createElement("span",{className:"img"},t().createElement(qa,{icon:Xa,size:"lg"})))))})),eg=({element:n,renderChildNodes:r})=>{var i;const{attachmentsURL:o}=(0,e.useContext)(ic),{displayNumber:a,maxScore:s,level:l}=(0,e.useContext)(cd),{t:c}=jl(),{isInSidebar:u}=(0,e.useContext)(cs),d=Ae(n,"question-title"),f=null!=a&&we(n,"external-material"),p=[];let h={},g=!1;if(u){const e=Sc((e=>e.answers));h=(null==e?void 0:e.answersById)||{};const t=n.querySelectorAll("[question-id]"),r=null===(i=e.validationErrors)||void 0===i?void 0:i.filter((e=>"question"===(null==e?void 0:e.elementType)));g=!!(null==r?void 0:r.find((e=>e.displayNumber===a))),t.forEach((e=>{var t;const n=Number(e.getAttribute("question-id")),i=e.getAttribute("type")||"",o=e.getAttribute("display-number")||"",a=!!(null==r?void 0:r.find((e=>e.displayNumber===o))),s=r.flatMap((e=>"childQuestions"in e?e.childQuestions:[])).includes(o),l=!!(null===(t=h[n])||void 0===t?void 0:t.value);n&&p.push({id:n,type:i,error:a||s&&l,displayNumber:o})}))}const m=!!p.find((e=>e.error)),y=null==p?void 0:p.filter((e=>{var t;return null===(t=h[e.id])||void 0===t?void 0:t.value})).length,v=Number(n.getAttribute("max-answers"))||p.length,b=Le("question",a);return t().createElement("li",{"data-list-number":`${a}.`,onClick:()=>u?window.location.href=`#question-nr-${a}`:void 0,className:Er()(`level-${l}`,{error:g,current:b})},t().createElement("span",{className:"e-column e-question-title"},t().createElement("a",{href:uc("",{hash:`question-nr-${a}`}),tabIndex:u?-1:void 0},t().createElement("span",null,r(d)))),u&&t().createElement("div",{className:Er()("numeric-answer-indicator",{error:m,ok:y===v})},y,"/",v),!u&&f&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"},t().createElement("a",{href:uc(o,{hash:Ee(Me(f,"question"),"display-number")}),target:"attachments"},c("material"))),t().createElement("span",{className:"e-column e-column--narrow table-of-contents--score-column"},c("points",{count:s})),u&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"},f&&t().createElement(qa,{size:"sm",icon:Ka,fixedWidth:!0})),t().createElement("div",{className:"answers"},p.map((e=>t().createElement(Kh,{key:e.id,type:e.type,id:e.id,answer:h[e.id],error:e.error,displayNumber:e.displayNumber})))," "))},tg=t().memo((function({maxAnswers:e,minAnswers:n,elementType:r,childQuestions:i}){const o=i.map((e=>{return"string"==typeof(t=e)||!_(t)&&L(t)&&"[object String]"==D(t)?e:e.getAttribute("display-number");var t})),{t:a}=jl(),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}([o.length,"*"],[e,"*"],[null!=n?n:e,"*"]).map((([e,t,n])=>`answering-instructions.${r}_${e}_${n}_${t}`)),l=[n,e],c=[ll(o),cl(o)];return t().createElement(t().Fragment,null,a(s,{answerCount:l,questions:c}))})),ng=({element:n,renderChildNodes:r})=>{const{sections:i}=(0,e.useContext)(ic),{childQuestions:o,displayNumber:a,minAnswers:s,maxAnswers:l}=(0,e.useContext)(lc),{t:c}=jl(),{isInSidebar:u}=(0,e.useContext)(cs),d=u&&!!Sc((e=>{var t,n;return null===(n=null===(t=e.answers)||void 0===t?void 0:t.validationErrors)||void 0===n?void 0:n.find((e=>e.displayNumber===a&&"section"===(null==e?void 0:e.elementType)))})),f=Le("section",a);return t().createElement("div",{className:f?"current":""},n.hasChildNodes()&&t().createElement("div",{className:"toc-section-header-container"},t().createElement("h4",{className:"toc-section-header",id:Hl(a)},i.length>1&&c("section",{displayNumber:a})," ",r(n))),l&&t().createElement("div",{style:{display:"grid"},className:`answer-instructions-container section-${a}`},t().createElement("div",{className:Er()("answer-instructions",{error:d})},d&&t().createElement("div",{className:"error-mark"},"!"),t().createElement("span",{className:"error-reason"},t().createElement(tg,{maxAnswers:l,minAnswers:s,childQuestions:o,elementType:"toc-section"})))))},rg=({element:n,answers:r,renderChildNodes:i})=>{const{displayNumber:o}=(0,e.useContext)(lc),a=Ae(n,"section-title");return t().createElement("li",{"data-section-id":o},a&&t().createElement(ng,{element:a,renderChildNodes:i,answers:r}),t().createElement("ol",{className:"e-list-data e-pad-l-0","aria-labelledby":a&&Hl(o)},i(n,1)))},ig=n=>{const{showAnsweringInstructions:r,isInSidebar:i}=n,o=ms({section:cc(rg),question:ud(eg)});return t().memo((()=>{const{root:n,maxScore:a}=(0,e.useContext)(ic),{t:s}=jl(),l=Ce(n,"max-answers"),c=i&&!!Sc((e=>{var t;return null===(t=e.answers.validationErrors)||void 0===t?void 0:t.find((e=>"exam"===(null==e?void 0:e.elementType)))})),u=t().createRef();return(0,e.useEffect)((()=>{var e;const t=e=>{const t=e.currentTarget;if(t.scrollHeight<=t.clientHeight)return;const n=e.deltaY,r=n<0&&0===t.scrollTop,i=n>0&&t.scrollTop>=t.scrollHeight-t.clientHeight;(r||i)&&e.preventDefault()};return null===(e=null==u?void 0:u.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),()=>{var e;return null===(e=null==u?void 0:u.current)||void 0===e?void 0:e.removeEventListener("wheel",t)}}),[]),t().createElement("nav",{className:"table-of-contents","aria-labelledby":Ql,ref:u},!i&&t().createElement("h2",{id:Ql},t().createElement("span",{className:"e-toc-heading"},s("toc-heading"))),r&&l&&t().createElement("div",{style:{display:"grid"}},t().createElement("div",{className:Er()("answer-instructions",{error:c})},c&&t().createElement("div",{className:"error-mark exam"},"!"),t().createElement("span",{className:"error-reason"},s("max-answers-warning",{count:l})))),t().createElement(cs.Provider,{value:{isInSidebar:i}},t().createElement("ol",{className:"e-list-plain e-pad-l-0"},o(n))),t().createElement("div",{className:"e-columns"},t().createElement("strong",{className:"e-column e-total"},s("exam-total")),t().createElement("strong",{className:"e-column e-column--narrow table-of-contents--score-column"},s("points",{count:a})),i&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"})))}))},og=JSON.parse('{"rE":"22.3.1-alpha.2"}'),ag=()=>{const e=xn(window,"TEST_VERSION_NUMBER");return t().createElement("span",null,"EE v.",e||og.rE)},sg=t().memo(gc((function({element:n,renderChildNodes:r}){const{isExternal:i}=(0,e.useContext)(hc);return i?null:t().createElement("span",{className:"exam-attachment e-mrg-b-2"},r(n))}))),lg=({selected:e,element:n,renderChildNodes:r,questionId:i,onSelect:o,direction:a,value:s})=>{const l=n.getAttribute("class"),c=t().createElement("div",{className:Er()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":e})},r(n));return"vertical"===a?t().createElement("div",{className:"e-mrg-b-1"},t().createElement("label",{className:Er()("e-columns",{"e-columns--inline":null==we(n,["image","video"])})},t().createElement("input",{type:"radio",className:"e-radio-button e-column e-column--narrow",name:String(i),onChange:o,value:s,checked:e}),c)):t().createElement("div",{className:"e-column e-mrg-b-1"},t().createElement("label",{className:"e-block e-text-center"},t().createElement("input",{type:"radio",className:"e-radio-button",name:String(i),onChange:o,value:s,checked:e}),c))},cg=t().memo((({element:n,renderChildNodes:r})=>{const i=Ce(n,"question-id"),o=n.getAttribute("display-number"),a=n.getAttribute("direction")||"vertical",s=n.getAttribute("class"),{questionLabelIds:l}=(0,e.useContext)(cd),c=Sc((e=>e.answers.answersById[i])),u=Fc(),d=(0,e.useCallback)((e=>{u(Gp({type:"choice",questionId:i,value:e.currentTarget.value,displayNumber:o}))}),[i,o]);return t().createElement("div",{className:Er()("e-choice-answer e-mrg-b-4",s,{"e-columns":"horizontal"===a}),"data-question-id":i,role:"radiogroup","aria-labelledby":l},t().createElement("span",{className:"anchor",id:`question-nr-${o}`}),Se(n,(e=>{const n=e.getAttribute("option-id"),o="no-answer"===e.getAttribute("type")?"":n,s=null!=c&&c.value===o;return t().createElement(lg,{element:e,onSelect:d,renderChildNodes:r,questionId:i,key:n,direction:a,selected:s,value:o})})))}));a(4828);const ug=e=>"object"==typeof e&&null!=e&&1===e.nodeType,dg=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,fg=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return dg(n.overflowY,t)||dg(n.overflowX,t)||(e=>{const t=(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},pg=(e,t,n,r,i,o,a,s)=>o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0,hg=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t};var gg=function(){return gg=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},gg.apply(this,arguments)};Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var mg=0;function yg(){}function vg(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function bg(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,o)}),t)}return i.cancel=r,i}function Ig(){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 xg(){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 wg(e,t){return e&&t?Object.keys(e).reduce((function(n,r){return n[r]=function(e,t){return void 0!==e[t]}(t,r)?t[r]:e[r],n}),{}):e}function Tg(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(0===o)return-1;var a=o-1;("number"!=typeof e||e<0||e>a)&&(e=t>0?-1:a+1);var s=e+t;s<0?s=i?a:0:s>a&&(s=i?0:a);var l=Mg(s,t<0,n,r,i);return-1===l?e>=o?-1:e:l}function Mg(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(t){for(var a=e;a>=0;a--)if(!r(n[a],a))return a}else for(var s=e;s<o;s++)if(!r(n[s],s))return s;return i?Mg(t?o-1:0,t,n,r):-1}function Ag(e,t,n,r){return void 0===r&&(r=!0),n&&t.some((function(t){return t&&(vg(t,e,n)||r&&vg(t,n.document.activeElement,n))}))}var Eg=bg((function(e){Cg(e).textContent=""}),500);function Cg(e){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 Ng={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};var Sg=bg((function(e,t){!function(e,t){e&&t&&(Cg(t).textContent=e,Eg(t))}(e,t)}),200),kg="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect,jg="useId"in t()?function(n){var r=n.id,i=n.labelId,o=n.menuId,a=n.getItemId,s=n.toggleButtonId,l=n.inputId,c="downshift-"+t().useId();return r||(r=c),(0,e.useRef)({labelId:i||r+"-label",menuId:o||r+"-menu",getItemId:a||function(e){return r+"-item-"+e},toggleButtonId:s||r+"-toggle-button",inputId:l||r+"-input"}).current}:function(t){var n=t.id,r=void 0===n?"downshift-"+String(mg++):n,i=t.labelId,o=t.menuId,a=t.getItemId,s=t.toggleButtonId,l=t.inputId;return(0,e.useRef)({labelId:i||r+"-label",menuId:o||r+"-menu",getItemId:a||function(e){return r+"-item-"+e},toggleButtonId:s||r+"-toggle-button",inputId:l||r+"-input"}).current};function Dg(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Lg(t){var n=(0,e.useRef)(t);return n.current=t,n}function Og(t,n,r,i){var o=(0,e.useRef)(),a=(0,e.useRef)(),s=(0,e.useCallback)((function(e,n){a.current=n,e=wg(e,n.props);var r=t(e,n);return n.props.stateReducer(e,Vd({},n,{changes:r}))}),[t]),l=(0,e.useReducer)(s,n,r),c=l[0],u=l[1],d=Lg(n),f=(0,e.useCallback)((function(e){return u(Vd({props:d.current},e))}),[d]),p=a.current;return(0,e.useEffect)((function(){var e=wg(o.current,null==p?void 0:p.props);p&&o.current&&!i(e,c)&&function(e,t,n){var r=e.props,i=e.type,o={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var i=t.props,o=t.type,a="on"+Dg(e)+"Change";i[a]&&void 0!==r[e]&&r[e]!==n[e]&&i[a](Vd({type:o},r))}(r,e,t,n),n[r]!==t[r]&&(o[r]=n[r])})),r.onStateChange&&Object.keys(o).length&&r.onStateChange(Vd({type:i},o))}(p,e,c),o.current=c}),[c,p,i]),[c,f]}var Rg={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},scrollIntoView:function(e,t){e&&((e,t)=>{var n,r,i,o;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!ug(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,p=[];let h=e;for(;ug(h)&&d(h);){if(h=hg(h),h===f){p.push(h);break}null!=h&&h===document.body&&fg(h)&&!fg(document.documentElement)||null!=h&&fg(h,u)&&p.push(h)}const g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,m=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,{scrollX:y,scrollY:v}=window,{height:b,width:I,top:x,right:w,bottom:T,left:M}=e.getBoundingClientRect(),{top:A,right:E,bottom:C,left:N}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let S="start"===s||"nearest"===s?x-A:"end"===s?T+C:x+b/2-A+C,k="center"===l?M+I/2-N+E:"end"===l?w+E:M-N;const j=[];for(let e=0;e<p.length;e++){const t=p[e],{height:n,width:r,top:i,right:o,bottom:c,left:u}=t.getBoundingClientRect();if("if-needed"===a&&x>=0&&M>=0&&T<=m&&w<=g&&x>=i&&T<=c&&M>=u&&w<=o)return j;const d=getComputedStyle(t),h=parseInt(d.borderLeftWidth,10),A=parseInt(d.borderTopWidth,10),E=parseInt(d.borderRightWidth,10),C=parseInt(d.borderBottomWidth,10);let N=0,D=0;const L="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-E:0,O="offsetHeight"in t?t.offsetHeight-t.clientHeight-A-C:0,R="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,P="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)N="start"===s?S:"end"===s?S-m:"nearest"===s?pg(v,v+m,m,A,C,v+S,v+S+b,b):S-m/2,D="start"===l?k:"center"===l?k-g/2:"end"===l?k-g:pg(y,y+g,g,h,E,y+k,y+k+I,I),N=Math.max(0,N+v),D=Math.max(0,D+y);else{N="start"===s?S-i-A:"end"===s?S-c+C+O:"nearest"===s?pg(i,c,n,A,C+O,S,S+b,b):S-(i+n/2)+O/2,D="start"===l?k-u-h:"center"===l?k-(u+r/2)+L/2:"end"===l?k-o+E+L:pg(u,o,r,h,E+L,k,k+I,I);const{scrollLeft:e,scrollTop:a}=t;N=0===P?0:Math.max(0,Math.min(a+N/P,t.scrollHeight-n/P+O)),D=0===R?0:Math.max(0,Math.min(e+D/R,t.scrollWidth-r/R+L)),S+=a-N,k+=e-D}j.push({el:t,top:N,left:D})}return j})(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}))},environment:"undefined"==typeof window?void 0:window};function Pg(e,t,n){void 0===n&&(n=Ng);var r=e["default"+Dg(t)];return void 0!==r?r:n[t]}function zg(e,t,n){void 0===n&&(n=Ng);var r=e[t];if(void 0!==r)return r;var i=e["initial"+Dg(t)];return void 0!==i?i:Pg(e,t,n)}function Ug(e){var t=zg(e,"selectedItem"),n=zg(e,"isOpen"),r=function(e){var t=zg(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}(e),i=zg(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.findIndex((function(n){return e.itemToKey(n)===e.itemToKey(t)})):r,isOpen:n,selectedItem:t,inputValue:i}}function _g(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,a=e.isItemDisabled,s=e.itemToKey,l=t.selectedItem,c=t.highlightedIndex;return 0===r.length?-1:void 0===i||c!==i||a(r[i],i)?void 0===o||a(r[o],o)?l?r.findIndex((function(e){return s(l)===s(e)})):n<0&&!a(r[r.length-1],r.length-1)?r.length-1:n>0&&!a(r[0],0)?0:-1:o:i}function Bg(n,r,i,o){void 0===o&&(o={});var a,s=o.document,l=(a=t().useRef(!0),t().useEffect((function(){return a.current=!1,function(){a.current=!0}}),[]),a.current);(0,e.useEffect)((function(){if(n&&!l&&s){var e=n(r);Sg(e,s)}}),i),(0,e.useEffect)((function(){return function(){var e,t;Sg.cancel(),(t=null==(e=s)?void 0:e.getElementById("a11y-status-message"))&&t.remove()}}),[s])}var Fg=yg;function Gg(e,t,n){var r;return void 0===n&&(n=!0),Vd({isOpen:!1,highlightedIndex:-1},(null==(r=e.items)?void 0:r.length)&&t>=0&&Vd({selectedItem:e.items[t],isOpen:Pg(e,"isOpen"),highlightedIndex:Pg(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function Zg(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function Hg(e){var t=Pg(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}var qg=Vd({},{environment:Da().shape({addEventListener:Da().func.isRequired,removeEventListener:Da().func.isRequired,document:Da().shape({createElement:Da().func.isRequired,getElementById:Da().func.isRequired,activeElement:Da().any.isRequired,body:Da().any.isRequired}).isRequired,Node:Da().func.isRequired}),itemToString:Da().func,itemToKey:Da().func,stateReducer:Da().func},{getA11yStatusMessage:Da().func,highlightedIndex:Da().number,defaultHighlightedIndex:Da().number,initialHighlightedIndex:Da().number,isOpen:Da().bool,defaultIsOpen:Da().bool,initialIsOpen:Da().bool,selectedItem:Da().any,initialSelectedItem:Da().any,defaultSelectedItem:Da().any,id:Da().string,labelId:Da().string,menuId:Da().string,getItemId:Da().func,toggleButtonId:Da().string,onSelectedItemChange:Da().func,onHighlightedIndexChange:Da().func,onStateChange:Da().func,onIsOpenChange:Da().func,scrollIntoView:Da().func});gg(gg({},qg),{items:Da().array.isRequired,isItemDisabled:Da().func});var Vg=gg(gg({},Rg),{isItemDisabled:function(){return!1}}),Yg=yg,Wg=1,Qg=2,Jg=3,Xg=4,$g=5,Kg=6,em=7,tm=8,nm=9,rm=10,im=11,om=14,am=19,sm=Object.freeze({__proto__:null,FunctionCloseMenu:17,FunctionOpenMenu:16,FunctionReset:21,FunctionSelectItem:am,FunctionSetHighlightedIndex:18,FunctionSetInputValue:20,FunctionToggleMenu:15,ItemClick:om,ItemMouseMove:13,MenuMouseLeave:12,ToggleButtonBlur:im,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:Wg,ToggleButtonKeyDownArrowUp:Qg,ToggleButtonKeyDownCharacter:Jg,ToggleButtonKeyDownEnd:Kg,ToggleButtonKeyDownEnter:em,ToggleButtonKeyDownEscape:Xg,ToggleButtonKeyDownHome:$g,ToggleButtonKeyDownPageDown:rm,ToggleButtonKeyDownPageUp:nm,ToggleButtonKeyDownSpaceButton:tm});function lm(e,t){var n,r,i=t.type,o=t.props,a=t.altKey;switch(i){case om:r={isOpen:Pg(o,"isOpen"),highlightedIndex:Hg(o),selectedItem:o.items[t.index]};break;case Jg:var s=t.key,l=""+e.inputValue+s;r={inputValue:l,highlightedIndex:function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,o=e.isItemDisabled,a=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+(t.length<2?1:0))%r.length,c=r[l];if(void 0!==c&&i(c).toLowerCase().startsWith(a)&&!o(c,l))return l}return n}({keysSoFar:l,highlightedIndex:!e.isOpen&&e.selectedItem?o.items.findIndex((function(t){return o.itemToKey(t)===o.itemToKey(e.selectedItem)})):e.highlightedIndex,items:o.items,itemToString:o.itemToString,isItemDisabled:o.isItemDisabled}),isOpen:!0};break;case Wg:r={highlightedIndex:e.isOpen?Tg(e.highlightedIndex,1,o.items,o.isItemDisabled):a&&null==e.selectedItem?-1:_g(o,e,1),isOpen:!0};break;case Qg:r=e.isOpen&&a?Gg(o,e.highlightedIndex,!1):{highlightedIndex:e.isOpen?Tg(e.highlightedIndex,-1,o.items,o.isItemDisabled):_g(o,e,-1),isOpen:!0};break;case em:case tm:r=Gg(o,e.highlightedIndex,!1);break;case $g:r={highlightedIndex:Mg(0,!1,o.items,o.isItemDisabled),isOpen:!0};break;case Kg:r={highlightedIndex:Mg(o.items.length-1,!0,o.items,o.isItemDisabled),isOpen:!0};break;case nm:r={highlightedIndex:Tg(e.highlightedIndex,-10,o.items,o.isItemDisabled)};break;case rm:r={highlightedIndex:Tg(e.highlightedIndex,10,o.items,o.isItemDisabled)};break;case Xg:r={isOpen:!1,highlightedIndex:-1};break;case im:r=Vd({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=o.items)?void 0:n.length)&&{selectedItem:o.items[e.highlightedIndex]});break;case am:r={selectedItem:t.selectedItem};break;default:return function(e,t,n){var r,i=t.type,o=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:_g(o,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:_g(o,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:o.isItemDisabled(o.items[t.highlightedIndex],t.highlightedIndex)?-1:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:Hg(o),isOpen:Pg(o,"isOpen"),selectedItem:Pg(o,"selectedItem"),inputValue:Pg(o,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return Vd({},e,r)}(e,t,sm)}return Vd({},e,r)}var cm=["onClick"],um=["onMouseLeave","refKey","ref"],dm=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],fm=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];function pm(t){void 0===t&&(t={}),Yg(t,pm);var n=Vd({},Vg,t),r=n.scrollIntoView,i=n.environment,o=n.getA11yStatusMessage,a=function(e,t,n,r){var i=Og(e,t,n,r),o=i[0],a=i[1];return[wg(o,t),a]}(lm,n,Ug,Zg),s=a[0],l=a[1],c=s.isOpen,u=s.highlightedIndex,d=s.selectedItem,f=s.inputValue,p=(0,e.useRef)(null),h=(0,e.useRef)(null),g=(0,e.useRef)({}),m=(0,e.useRef)(null),y=jg(n),v=Lg({state:s,props:n}),b=(0,e.useCallback)((function(e){return g.current[y.getItemId(e)]}),[y]);Bg(o,s,[c,u,d,f],i);var I=function(t){var n=t.highlightedIndex,r=t.isOpen,i=t.itemRefs,o=t.getItemNodeFromIndex,a=t.menuElement,s=t.scrollIntoView,l=(0,e.useRef)(!0);return kg((function(){n<0||!r||!Object.keys(i.current).length||(!1===l.current?l.current=!0:s(o(n),a))}),[n]),l}({menuElement:h.current,highlightedIndex:u,isOpen:c,itemRefs:g,scrollIntoView:r,getItemNodeFromIndex:b});(0,e.useEffect)((function(){return m.current=bg((function(e){e({type:20,inputValue:""})}),500),function(){m.current.cancel()}}),[]),(0,e.useEffect)((function(){f&&m.current(l)}),[l,f]),Fg({props:n,state:s}),(0,e.useEffect)((function(){zg(n,"isOpen")&&p.current&&p.current.focus()}),[]);var x=function(t,n,r){var i=(0,e.useRef)({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return(0,e.useEffect)((function(){if(!t)return yg;var e=r.map((function(e){return e.current}));function o(){i.current.isTouchEnd=!1,i.current.isMouseDown=!0}function a(r){i.current.isMouseDown=!1,Ag(r.target,e,t)||n()}function s(){i.current.isTouchEnd=!1,i.current.isTouchMove=!1}function l(){i.current.isTouchMove=!0}function c(r){i.current.isTouchEnd=!0,i.current.isTouchMove||Ag(r.target,e,t,!1)||n()}return t.addEventListener("mousedown",o),t.addEventListener("mouseup",a),t.addEventListener("touchstart",s),t.addEventListener("touchmove",l),t.addEventListener("touchend",c),function(){t.removeEventListener("mousedown",o),t.removeEventListener("mouseup",a),t.removeEventListener("touchstart",s),t.removeEventListener("touchmove",l),t.removeEventListener("touchend",c)}}),[r,t,n]),i.current}(i,(0,e.useCallback)((function(){v.current.state.isOpen&&l({type:im})}),[l,v]),(0,e.useMemo)((function(){return[h,p]}),[h.current,p.current])),w=yg;(0,e.useEffect)((function(){c||(g.current={})}),[c]);var T=(0,e.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),l({type:Wg,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),l({type:Qg,altKey:e.altKey})},Home:function(e){e.preventDefault(),l({type:$g})},End:function(e){e.preventDefault(),l({type:Kg})},Escape:function(){v.current.state.isOpen&&l({type:Xg})},Enter:function(e){e.preventDefault(),l({type:v.current.state.isOpen?em:0})},PageUp:function(e){v.current.state.isOpen&&(e.preventDefault(),l({type:nm}))},PageDown:function(e){v.current.state.isOpen&&(e.preventDefault(),l({type:rm}))}," ":function(e){e.preventDefault();var t=v.current.state;t.isOpen?t.inputValue?l({type:Jg,key:" "}):l({type:tm}):l({type:0})}}}),[l,v]),M=(0,e.useCallback)((function(){l({type:15})}),[l]),A=(0,e.useCallback)((function(){l({type:17})}),[l]),E=(0,e.useCallback)((function(){l({type:16})}),[l]),C=(0,e.useCallback)((function(e){l({type:18,highlightedIndex:e})}),[l]),N=(0,e.useCallback)((function(e){l({type:am,selectedItem:e})}),[l]),S=(0,e.useCallback)((function(){l({type:21})}),[l]),k=(0,e.useCallback)((function(e){l({type:20,inputValue:e})}),[l]),j=(0,e.useCallback)((function(e){var t=void 0===e?{}:e,n=t.onClick,r=Yd(t,cm);return Vd({id:y.labelId,htmlFor:y.toggleButtonId,onClick:Ig(n,(function(){var e;null==(e=p.current)||e.focus()}))},r)}),[y]),D=(0,e.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onMouseLeave,o=r.refKey,a=void 0===o?"ref":o,s=r.ref,c=Yd(r,um),u=(void 0===t?{}:t).suppressRefError;return w("getMenuProps",void 0!==u&&u,a,h),Vd(((n={})[a]=xg(s,(function(e){h.current=e})),n.id=y.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+y.labelId,n.onMouseLeave=Ig(i,(function(){l({type:12})})),n),c)}),[l,w,y]);return{getToggleButtonProps:(0,e.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onBlur,o=r.onClick;r.onPress;var a=r.onKeyDown,s=r.refKey,c=void 0===s?"ref":s,u=r.ref,d=Yd(r,dm),f=(void 0===t?{}:t).suppressRefError,h=void 0!==f&&f,g=v.current.state,m=Vd(((n={})[c]=xg(u,(function(e){p.current=e})),n["aria-activedescendant"]=g.isOpen&&g.highlightedIndex>-1?y.getItemId(g.highlightedIndex):"",n["aria-controls"]=y.menuId,n["aria-expanded"]=v.current.state.isOpen,n["aria-haspopup"]="listbox",n["aria-labelledby"]=d&&d["aria-label"]?void 0:""+y.labelId,n.id=y.toggleButtonId,n.role="combobox",n.tabIndex=0,n.onBlur=Ig(i,(function(){g.isOpen&&!x.isMouseDown&&l({type:im})})),n),d);return d.disabled||(m.onClick=Ig(o,(function(){l({type:0})})),m.onKeyDown=Ig(a,(function(e){var t=function(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}(e);t&&T[t]?T[t](e):function(e){return/^\S{1}$/.test(e)}(t)&&l({type:Jg,key:t})}))),w("getToggleButtonProps",h,c,p),m}),[l,y,v,x,w,T]),getLabelProps:j,getMenuProps:D,getItemProps:(0,e.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,i=n.index,o=n.onMouseMove,a=n.onClick,s=n.onMouseDown;n.onPress;var c=n.refKey,u=void 0===c?"ref":c,d=n.disabled,f=n.ref,p=Yd(n,fm);void 0!==d&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var h=v.current,m=h.state,b=h.props,w=function(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw new Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}(r,i,b.items,"Pass either item or index to getItemProps!"),T=w[0],M=w[1],A=b.isItemDisabled(T,M),E=Vd(((t={})[u]=xg(f,(function(e){e&&(g.current[y.getItemId(M)]=e)})),t["aria-disabled"]=A,t["aria-selected"]=T===m.selectedItem,t.id=y.getItemId(M),t.role="option",t),p);return A||(E.onClick=Ig(a,(function(){l({type:om,index:M})}))),E.onMouseMove=Ig(o,(function(){x.isTouchEnd||M===m.highlightedIndex||(I.current=!1,l({type:13,index:M,disabled:A}))})),E.onMouseDown=Ig(s,(function(e){return e.preventDefault()})),E}),[v,y,x,I,l]),toggleMenu:M,openMenu:E,closeMenu:A,setHighlightedIndex:C,selectItem:N,reset:S,setInputValue:k,highlightedIndex:u,isOpen:c,selectedItem:d,inputValue:f}}pm.stateChangeTypes=sm,Vd({},qg,{items:Da().array.isRequired,isItemDisabled:Da().func,inputValue:Da().string,defaultInputValue:Da().string,initialInputValue:Da().string,inputId:Da().string,onInputValueChange:Da().func}),Vd({},Rg,{isItemDisabled:function(){return!1}}),Da().array,Da().array,Da().array,Da().func,Da().number,Da().number,Da().number,Da().func,Da().func,Da().string,Da().string;var hm=a(7767),gm=a.n(hm);const mm=Promise.all([new(gm())("Noto Sans",{weight:300}).load(),new(gm())("Noto Sans",{weight:400}).load(),new(gm())("Noto Sans",{weight:600}).load()]).then((()=>{ym=!0})).catch(ul);let ym=!1;const vm=({id:e,size:n="small",score:r})=>{const{t:i}=jl(),o="inline"===n?"sup":"span";return t().createElement(o,{className:Er()("e-score e-nowrap",{"e-score--small e-font-size-m e-semibold":"small"===n,"e-score--large e-font-size-l e-semibold":"large"===n,"e-score--inline e-font-size-xs":"inline"===n}),id:e},i("points",{count:r}))},bm=!navigator.userAgent.includes("jsdom/"),Im=t().memo((({element:n,renderChildNodes:r})=>{const i=Ce(n,"question-id"),o=Ce(n,"max-score"),a=Sc((e=>e.answers.answersById[i])),s=Fc(),l=n.getAttribute("display-number"),c=a&&a.value&&Ae(n,(e=>a.value===e.getAttribute("option-id"))),u=(0,e.useRef)(null),d=t().useRef(null),[f,p]=(0,e.useState)(!0),[h,g]=(0,e.useState)(ym);bm&&(mm.then((()=>!h&&g(!0))).catch((e=>console.error(e))),(0,e.useEffect)((()=>p(!0)),[n]),(0,e.useEffect)((()=>{if(f&&d.current&&u.current){const t=d.current,n=u.current,r=(e=Se(t,(e=>e.firstElementChild.scrollWidth)))&&e.length?Ln(e,ge,Pn):void 0,i=requestAnimationFrame((()=>{n.style.width=`${r+2+1}px`,p(!1)}));return()=>cancelAnimationFrame(i)}var e})));const m=["",...n.children],{answers:y,questionLabelIds:v}=(0,e.useContext)(cd),{getItemProps:b,getMenuProps:I,getToggleButtonProps:x,highlightedIndex:w,isOpen:T,selectedItem:M}=pm({items:m,itemToString:e=>e?e.textContent:"",onSelectedItemChange:({selectedItem:e})=>{const t=e?e.getAttribute("option-id"):"";s(Gp({type:"choice",questionId:i,value:t,displayNumber:l}))},initialSelectedItem:c}),{t:A}=jl(),E=ql(n),C=(0,e.useContext)(ss),N=0!==Object.keys(C).length,S={onClick:()=>{},onMouseDown:()=>{},onMouseMove:()=>{}};return t().createElement("span",{className:"e-nowrap"},t().createElement("span",{className:"anchor",id:`question-nr-${l}`}),t().createElement("span",{className:Er()("e-dropdown-answer e-normal"),"data-question-id":i},t().createElement("button",{className:Er()("e-dropdown-answer__toggle-button e-button-plain e-columns",{"e-dropdown-answer__toggle-button--open":T}),...x({"aria-describedby":E,"aria-labelledby":v},{suppressRefError:!bm})},t().createElement("span",{className:"e-dropdown-answer__label e-column e-pad-l-1 e-pad-r-4"},t().createElement("span",{className:"e-ellipsis e-block",ref:u},M?r(M):t().createElement("span",{"aria-label":A.raw("dropdown-answer.label")},be))),t().createElement("span",{className:Er()("e-dropdown-answer__toggle-icon e-text-center e-column e-column--narrow e-column--gapless e-color-link")},t().createElement(qa,{icon:T?Ja:ns}))),t().createElement("span",{...I({className:Er()("e-dropdown-answer__menu",{"e-dropdown-answer__menu--open":T}),"aria-labelledby":void 0,ref:d},{suppressRefError:!bm})},m.map(((e,n)=>t().createElement("span",{className:Er()("e-dropdown-answer__menu-item e-block e-pad-l-1 e-pad-r-4",{"e-dropdown-answer__menu-item--selected":e===M,"e-bg-color-off-white":w!==n,"e-bg-color-link e-color-off-white":w===n}),key:n,...b({item:e,index:n}),...N?S:{}},t().createElement("span",{className:Er()("e-dropdown-answer__menu-item-inner e-block",{"e-nowrap":f})},e?r(e):t().createElement("span",{"aria-label":A.raw("dropdown-answer.clear")},be))))))),y.length>1&&t().createElement(vm,{score:o,size:"inline",id:E}))})),xm=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"e-exam-footer"},n(e))})),wm=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"exam-instruction notification e-pad-4","data-annotation-anchor":"exam-instruction"},n(e))})),Tm=t().memo((function(){const{examServerApi:n}=(0,e.useContext)(ac),{examineExam:r}=n,{t:i}=jl();return t().createElement("button",{className:"e-button goto-examine-answers",onClick:()=>{r&&(r(),window.scrollTo(0,0))},"aria-describedby":"examineExamInstructions"},i("examine-exam.examine"))}));function Mm(e){return`${cl(e.split("."))}.`}function Am({answer:e,focusedQuestionId:n,renderChildNodes:r}){const i=Ce(e,"question-id"),o=e.getAttribute("display-number"),a=Ae(e,"hint"),s=je(e);return t().createElement("p",{className:Er()("e-hints__hint",{"e-hints__hint--focused":n===i}),onClick:()=>{const e=document.querySelector(`.text-answer[data-question-id="${i}"]`);e&&e.focus()},"data-question-id":i},s&&Mm(o)," ",r(a))}const Em=({element:e,renderChildNodes:n})=>{const r=Sc((e=>e.answers.focusedQuestionId)),i=Te(e,["text-answer","scored-text-answer"]).filter((e=>null!=Ae(e,"hint")));return i.length>0?t().createElement("div",{className:"e-columns"},t().createElement("div",{className:"e-column e-column--8"},n(e)),t().createElement("div",{className:"e-hints e-column e-column--4","aria-hidden":"true"},i.map(((e,i)=>t().createElement(Am,{answer:e,focusedQuestionId:r,renderChildNodes:n,key:i}))))):t().createElement(t().Fragment,null,n(e))},Cm=(0,e.createContext)({expanded:!1,toggleWriterMode:()=>{}}),Nm=t().memo(ud((function({element:n,renderChildNodes:r}){const i=Sc((e=>e.cas.casStatus)),{casForbidden:o}=(0,e.useContext)(lc),{displayNumber:a,level:s}=(0,e.useContext)(cd),{examServerApi:l}=(0,e.useContext)(ac),[c,u]=(0,e.useState)(!1),{t:d}=jl(),f=e=>{u(e),l.logActivity&&l.logActivity(e?`Writer mode opened for display number ${a}`:`Writer mode closed for display number ${a}`);const t=document.querySelector("body");e?null==t||t.classList.add("writer-mode"):(null==t||t.classList.remove("writer-mode"),null==t||t.classList.remove("rich-text-editor-focus"),setTimeout((()=>{var e;return null===(e=document.getElementById(`question-nr-${a}`))||void 0===e?void 0:e.scrollIntoView()}),10))},p=e=>{"Tab"===e.code&&e.preventDefault()},h=we(n,"text-answer"),g=h?Ce(h,"question-id"):null;(0,e.useEffect)((()=>{if(c){window.addEventListener("keydown",p);const e=g?document.querySelector(`[data-question-id="${g}"]`):void 0;null==e||e.focus()}return()=>window.removeEventListener("keydown",p)}),[c]);const m=t().createRef(),{addRef:y}=(0,e.useContext)(ve);return(0,e.useEffect)((()=>{(null==m?void 0:m.current)&&0===s&&y&&y(m.current)}),[]),o&&"forbidden"!==i?null:t().createElement(Cm.Provider,{value:{expanded:c,toggleWriterMode:f}},t().createElement("div",{className:Er()("e-exam-question",{"e-level-0 e-pad-b-8 e-clearfix":0===s,"e-mrg-l-8 e-mrg-y-4":s>0,"e-expanded":c}),"data-annotation-anchor":a,"data-toc-id":`question-${a}`,ref:m},t().createElement("div",{className:"anchor",id:`question-nr-${a}`}),c?t().createElement("div",{className:"full-screen","data-full-screen-id":a},t().createElement("button",{className:"expand close",onClick:()=>f(!1)},t().createElement(qa,{icon:Wa}),d("close-writing-mode")),r(n)):r(n)))}))),Sm=t().memo((function({element:e,renderChildNodes:n}){const r=Fl(e);return t().createElement("div",{className:"exam-question-instruction e-mrg-b-2",id:r},n(e))})),km=()=>t().createElement(qa,{size:"lg",icon:es,fixedWidth:!0,className:"e-color-link e-mrg-r-1"}),jm=t().memo((({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(cd),c=`h${Math.min(3+a,6)}`,u=Bl(i);return t().createElement(t().Fragment,null,t().createElement(c,{id:u,className:Er()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:Er()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${md(i)} `),r(n)," ",t().createElement(vm,{score:o,size:0===a?"large":"small"})),null!=s&&l.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(km,null),t().createElement(tg,{maxAnswers:s,childQuestions:l,elementType:"question"})))})),Dm=({duration:n,durationRemaining:r,className:i})=>{const o=(0,e.useRef)(null),[a,s]=(0,e.useState)(!1);return(0,e.useEffect)((()=>{o.current.clientTop,s(!0)}),[]),t().createElement("div",{className:Er()("e-progress-bar",i),ref:o},t().createElement("div",{className:Er()("e-progress-bar__fill",{"e-progress-bar__fill--animating":a}),style:{transitionDuration:`${n}s`},role:"progressbar","aria-valuemax":n,"aria-valuemin":0,"aria-valuenow":n-r}))};function Lm(){const{t:e}=jl();return t().createElement("p",null,t().createElement("em",null,e("end-of-exam")))}function Om(n){const r=Fc(),{t:i}=jl(),{casCountdownDuration:o}=(0,e.useContext)(ac);return t().createElement("div",{className:"e-cas-controls"},"forbidden"===n.casStatus?t().createElement("div",{className:"e-text-center"},t().createElement("hr",{className:"e-exam-separator"}),t().createElement("p",null,i("cas.examineSectionA"),t().createElement("br",null),i("cas.cannotEditLater")),t().createElement(Tm,null),t().createElement("p",null,i("cas.youCanReturn")),t().createElement("p",{className:"dots-separator"},"•••"),t().createElement("p",{id:"e-cas-controls-forbidden-description"},i("cas.forbidden.infoText")),t().createElement("button",{className:"e-button",id:"allow-cas",onClick:()=>{return r((e=o,(0,Ru.action)("ALLOW_CAS",e)));var e},"aria-describedby":"e-cas-controls-forbidden-description"},i("cas.forbidden.buttonText"))):"allowing"===n.casStatus?t().createElement("div",{className:"e-text-center",ref:e=>null!=e&&o===n.durationRemaining&&e.scrollIntoView()},t().createElement("hr",{className:"e-exam-separator"}),t().createElement("p",{id:"e-cas-controls-allowing-description"},i("cas.allowing.infoText")),t().createElement(Dm,{className:"e-mrg-b-2",duration:o,durationRemaining:n.durationRemaining}),t().createElement("button",{className:"e-button",id:"allow-cas-cancelled",onClick:()=>r(Fh()),ref:e=>null!=e&&o===n.durationRemaining&&e.focus(),"aria-describedby":"e-cas-controls-allowing-description"},i("cas.allowing.cancel",{count:n.durationRemaining}))):t().createElement("div",{className:"notification e-text-left e-mrg-b-0"},i("cas.allowed.infoText")))}const Rm=t().memo(cc((function({element:n,renderChildNodes:r}){const i=Sc((e=>e.cas),Rc),{casForbidden:o,displayNumber:a}=(0,e.useContext)(lc),{sections:s}=(0,e.useContext)(ic),l=n===cl(s);return t().createElement(tc,{className:"exam-section","aria-labelledby":_l(a)},r(n),o&&t().createElement(Om,{...i}),l&&t().createElement(Lm,null))}))),Pm=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"e-mrg-b-2"},n(e))})),zm=t().memo((function({element:n,renderChildNodes:r}){const{sections:i}=(0,e.useContext)(ic),{displayNumber:o,minAnswers:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(lc),{t:c}=jl(),u=t().createRef(),{addRef:d}=(0,e.useContext)(ve);return(0,e.useEffect)((()=>{(null==u?void 0:u.current)&&d&&d(u.current)}),[]),t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"exam-section-title",id:_l(o),"data-toc-id":`section-${o}`,ref:u},i.length>1&&c("section",{displayNumber:o})," ",r(n)),null!=s&&t().createElement("span",{className:"notification notification--inline"},t().createElement(km,null),t().createElement(tg,{maxAnswers:s,minAnswers:a,childQuestions:l,elementType:"section"})))})),Um=e=>t().createElement("div",{className:"e-student-name-container"},e.studentName),_m=({children:e})=>t().createElement("span",{className:"e-screen-reader-only"},e),Bm=t().memo((function({answer:e,element:n,screenshotError:r,validationError:i,selectAnswerVersion:o,showAnswerHistory:a=!1,supportsAnswerHistory:s=!1}){const{t:l}=jl(),c=null==e?void 0:e.characterCount,u=Ce(n,"max-length");return t().createElement("div",{className:"answer-toolbar e-font-size-xs e-columns e-mrg-b-2"},t().createElement("div",{className:Er()("answer-toolbar__answer-length e-column",{"e-color-error":null!=i})},null!=e?l(null!=u?"answer-length-with-max-length":"answer-length",{count:c,maxLength:u}):be,r?t().createElement("span",{className:"e-color-error",role:"alert"}," ",l(`answer-errors.${r.key}`,r.options)):i?t().createElement("span",null," ",l("answer-errors.answer-too-long",{count:i.characterCount})):null),t().createElement("div",{className:"answer-toolbar__history e-column e-column--narrow e-text-right"},s&&t().createElement("div",{className:"answer-toolbar__select-previous-version"},a&&null!=e?t().createElement("button",{className:"answer-toolbar__previous-versions e-link-button e-font-size-xs",onClick:()=>{if(o){const t=Ae(Me(n,"question"),"question-title");o(e.questionId,t.textContent)}}},l("previous-answer-versions")):be)))}));class Fm extends t().PureComponent{constructor(e){super(e),this.handleSaveError=e=>{const t=(()=>{switch(xn(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.editorRef=t().createRef(),this.lastHTML=this.props.answer?this.props.answer.value:""}componentDidUpdate(){this.editorRef.current&&this.props.answer&&this.props.answer.value!==this.lastHTML&&(this.lastHTML=this.props.answer.value,this.editorRef.current.setValue(this.props.answer.value))}render(){const{questionId:e,className:n,labelledBy:r,answer:i,lang:o,invalid:a,saveScreenshot:s}=this.props;return t().createElement(Cm.Consumer,null,(({expanded:l,toggleWriterMode:c})=>t().createElement(t().Fragment,null,t().createElement(Mr(),{ref:this.editorRef,baseUrl:"",initialValue:null==i?void 0:i.value,language:this.context.language.slice(0,2).toUpperCase(),onValueChange:this.handleChange,getPasteSource:e=>s(e).catch((e=>{throw this.handleSaveError(e),e})),textAreaProps:{ariaInvalid:a,ariaLabelledBy:r,id:e.toString(),questionId:e,className:n,lang:o}}),!l&&t().createElement("button",{className:"expand open",onClick:()=>c(!0),"aria-labelledby":"expand-label","aria-owns":String(e)},t().createElement(Zm,null),t().createElement(qa,{icon:rs})))))}}Fm.contextType=ic;const Gm=Fm,Zm=()=>{const{t:e}=jl();return t().createElement("div",{className:"label",id:"expand-label"},e("open-writing-mode"))},Hm=t().memo((({maxLength:e,id:n})=>{const{t:r}=jl();return t().createElement("p",{id:n,className:"e-answer-length-info"},t().createElement(km,null),t().createElement("em",null,r("max-length-info",{count:e})))}));function qm(e){return e.replace(/\s/g,"").length}const Vm=t().memo((({element:n,className:r})=>{const i=Ee(n,"type"),o=Ce(n,"question-id"),a=Ee(n,"display-number"),s=Ce(n,"max-score"),l=Ne(n,"use-language-of-instruction"),c=Ce(n,"max-length"),{language:u}=(0,e.useContext)(ic),{questionLabelIds:d,answers:f}=(0,e.useContext)(cd),{examServerApi:p}=(0,e.useContext)(ac),[h,g]=(0,e.useState)(),m=Sc((e=>e.answers.answersById[o])),y=Sc((e=>e.answers.supportsAnswerHistory)),v=Sc((e=>e.answers.supportsAnswerHistory&&e.answers.serverQuestionIds.has(o))),b=Sc((e=>e.answers.validationErrors.find((e=>"AnswerTooLong"===e.type&&e.displayNumber===a)))),I=Fc(),x=(0,e.useRef)(null),w=m&&m.value,T=ql(n),M=null!=b,A=l?u:void 0,E=n.hasAttribute("max-length")?`${d} ${Gl(n)}`:d;(0,e.useEffect)((()=>{const{current:e}=x;e&&("single-line"!==i&&"integer"!==i||(e.style.width="0",e.style.width=`${e.scrollWidth+2}px`))}));const C=(0,e.useCallback)((e=>{const t=e.currentTarget.value.trim(),n={type:"text",questionId:o,value:t,characterCount:qm(t),displayNumber:a};I(Gp(n)),g(void 0)}),[o,a]),[N,S]=(0,e.useState)((null==m?void 0:m.value)||""),k=(0,e.useCallback)((e=>{e.preventDefault(),e.currentTarget.classList.remove("text-answer--integer--input-error");const t=e.currentTarget.value.trim();if(/^-?\d*$/.test(t)){S(t);const e={type:"text",questionId:o,value:t,characterCount:qm(t),displayNumber:a};I(Gp(e)),g(void 0)}else e.currentTarget.classList.add("text-answer--integer--input-error"),setTimeout((e=>{e.classList.remove("text-answer--integer--input-error")}),200,e.currentTarget)}),[o,a]),j=(0,e.useCallback)(((e,t)=>{const n={type:"richText",questionId:o,value:e,characterCount:qm(t),displayNumber:a};I(Gp(n)),g(void 0)}),[o,a]),D=(0,e.useCallback)((e=>g(e)),[h]),L=(0,e.useCallback)((()=>I((e=>(0,Ru.action)("ANSWER_FOCUSED",e))(o))),[o]),O=(0,e.useCallback)((()=>I((e=>(0,Ru.action)("ANSWER_BLURRED",e))(o))),[o]),R=(0,e.useCallback)(((e,t)=>I(((e,t)=>(0,Ru.action)("SELECT_ANSWER_VERSION",{questionId:e,questionText:t}))(e,t))),[]);switch(i){case"rich-text":return t().createElement(t().Fragment,null,null!=c&&t().createElement(Hm,{maxLength:c,id:Gl(n)}),t().createElement("div",{className:"text-answer-container"},t().createElement(Gm,{answer:m,className:Er()("text-answer text-answer--rich-text",r),saveScreenshot:e=>p.saveScreenshot(o,e),onChange:j,onError:D,questionId:o,lang:A,invalid:M,labelledBy:E}),t().createElement(Bm,{answer:m,element:n,selectAnswerVersion:R,showAnswerHistory:v,supportsAnswerHistory:y,screenshotError:h,validationError:b})));case"integer":return t().createElement("span",{className:"e-nowrap"},t().createElement("input",{type:"text",className:Er()("text-answer text-answer--single-line text-answer--integer",r),value:N,onChange:k,onFocus:L,onBlur:O,ref:x,"data-question-id":o,lang:A,"aria-describedby":T,"aria-labelledby":E}),f.length>1&&t().createElement(vm,{score:s,size:"inline",id:T}));default:return t().createElement("span",{className:"e-nowrap"},t().createElement("input",{type:"text",className:Er()("text-answer text-answer--single-line",r),defaultValue:w,onChange:C,onFocus:L,onBlur:O,ref:x,"data-question-id":o,lang:A,"aria-describedby":T,"aria-labelledby":E}),f.length>1&&t().createElement(vm,{score:s,size:"inline",id:T}))}})),Ym=t().memo((function(e){const{element:n,renderChildNodes:r}=e,i=n.getAttribute("display-number"),o=Ae(n,"hint"),a=t().createElement(Vm,{...e}),s=je(n);return t().createElement(t().Fragment,null,t().createElement("span",{className:"anchor",id:`question-nr-${i}`}),o?t().createElement("label",{className:"e-nowrap"},s&&t().createElement("sup",{className:"e-text-answer-display-number e-color-darkgrey"},Mm(i)),t().createElement(_m,null,r(o)),a):a)}));var Wm=a(6660),Qm=a.n(Wm);class Jm extends t().PureComponent{constructor(e){super(e),this.inputValueChanged=()=>{this.props.onChange(this.props.answerIndex),this.labelInputRef&&this.labelInputRef.current&&this.labelInputRef.current.scrollIntoView({block:"center"})},this.entryInputRef=t().createRef(),this.labelInputRef=t().createRef()}componentDidMount(){this.entryInputRef.current&&0===this.props.answerIndex&&this.entryInputRef.current.focus()}render(){const{selected:e,croppedAnswer:n,characterCount:r,screenshotCount:i,answerIndex:o,minutesSinceAnswer:a}=this.props;return t().createElement("label",{ref:this.labelInputRef,className:"js-undo-history-entry"},t().createElement("input",{type:"radio",className:"e-undo-view-entry-tab",name:"undoHistory",value:o,checked:e,onChange:this.inputValueChanged,ref:this.entryInputRef}),t().createElement(Xm,{croppedAnswer:n,characterCount:r,screenshotCount:i,answerIndex:o,minutesSinceAnswer:a}))}}const Xm=({croppedAnswer:e,characterCount:n,screenshotCount:r,answerIndex:i,minutesSinceAnswer:o})=>{const{t:a}=jl(),s=[n>0?a("undo.answerCharacterCount",{count:n}):null,r>0?a("undo.answerImageCount",{count:r}):null].filter((e=>null!==e));return t().createElement("div",{className:"e-undo-view-entry js-undo-entry-content"},t().createElement("div",{className:"js-undo-history-entry-time"},0===i?a("undo.latestVersion"):a("undo.minutesSinceAnswer",{minutes:o})),t().createElement("div",{className:"e-undo-view-answer-cropped js-undo-history-entry-answer"},e||a("undo.answerNoText")),t().createElement("div",{className:"e-undo-view-answer-length js-undo-history-entry-stats"},s.map(((e,n)=>t().createElement(t().Fragment,{key:n},e,n<s.length-1&&t().createElement("span",null,", "))))))};var $m=a(4867),Km=a.n($m);const ey=Qm().CancelToken;function ty(e){return{type:e.type,value:e.value,answerTime:e.answer_time,characterCount:e.character_count}}function ny(e){const{selectedAnswer:n}=e;return n?"richText"===n.type?t().createElement("div",{className:"e-undo-view-answer-content js-undo-answer-detail",dangerouslySetInnerHTML:{__html:n.value}}):t().createElement("div",{className:"e-undo-view-answer-content js-undo-answer-detail plainText"},n.value):null}function ry(e){const{selectedAnswer:n,selectedAnswerIndex:r,restoreAnswer:i,questionId:o}=e,a=!n||0===r;return t().createElement("div",{className:"e-undo-view-bottom-bar"},t().createElement("button",{className:"e-button-default e-button js-restore-answer-button",disabled:a,onClick:()=>n&&i({...n,questionId:o})},t().createElement(dy,null)))}function iy(e){return("text"===e.type?e.value:function(e){const t=document.createElement("div");return t.innerHTML=e,t.innerText}(e.value)).replace(/\s+/g," ").trim()}function oy(e,t=50){const n=iy(e);if(n.length<=t)return n;const r=t-1,i=Math.ceil(r/2),o=r-i;return n.substr(0,i)+"…"+n.substr(n.length-o)}function ay(e){return iy(e).replace(/\s/g,"").length}function sy(e){const t=document.createElement("div");t.innerHTML=e.value;const n=t.querySelectorAll("img").length,r=t.querySelectorAll('img[src=""]').length;return n-t.querySelectorAll('img[src^="/math.svg"], img[src^="data:image/svg+xml"]').length-r}class ly extends t().PureComponent{constructor(e){super(e),this.source=ey.source(),this.toggleBodyScroll=e=>document.documentElement.classList.toggle("e-exam-body-no-scroll",!e),this.keydownListener=e=>{if(13===e.keyCode){const e=this.state.answers[this.state.selectedAnswerIndex];this.props.restoreAnswer({...e,questionId:this.props.questionId}),this.close()}else 27===e.keyCode&&this.close()},this.state={answers:[],selectedAnswerIndex:0,loading:!0,loadRetryTimeout:null}}componentDidMount(){this.toggleBodyScroll(!1),document.addEventListener("keydown",this.keydownListener,!1),this.fetchAnswerHistory(this.props.questionId)}componentWillUnmount(){this.source.cancel(),document.removeEventListener("keydown",this.keydownListener,!1),this.toggleBodyScroll(!0)}componentDidUpdate(e){this.props.questionId!==e.questionId&&this.fetchAnswerHistory(this.props.questionId)}overlayClicked(e){e.target.className.includes("js-undo-overlay")&&this.close()}async fetchAnswerHistory(e){try{const t=(await Qm().get(`/rest/answer-history/${e}`,{cancelToken:this.source.token})).data.map(ty);this.setState({answers:t,selectedAnswerIndex:0,loading:!1,loadRetryTimeout:null})}catch(t){Qm().isCancel(t)||this.setState({loadRetryTimeout:window.setTimeout((()=>{this.fetchAnswerHistory(e)}),4e3)})}}close(){const e=this.state.loadRetryTimeout;e&&clearTimeout(e),this.source.cancel(),this.props.close()}render(){const e=this.state.answers[this.state.selectedAnswerIndex],n=(new Date).getTime();return t().createElement(Km(),null,t().createElement("div",{onClick:this.overlayClicked.bind(this),className:"e-overlay js-undo-overlay","aria-modal":"true"},t().createElement("div",{id:"undo",className:"e-undo-view"},t().createElement(uy,{close:this.close.bind(this)}),this.state.loading?t().createElement(cy,null):t().createElement("div",{className:"e-undo-view-content"},t().createElement("div",{className:"e-undo-view-answer-index js-undo-answer-index"},this.state.answers.map(((e,r)=>{const i=n-new Date(e.answerTime).getTime(),o=Math.round(i/1e3/60);return t().createElement(Jm,{key:new Date(e.answerTime).getTime(),answerIndex:r,selected:r===this.state.selectedAnswerIndex,onChange:e=>this.setState({selectedAnswerIndex:e}),croppedAnswer:oy(e),minutesSinceAnswer:o,characterCount:ay(e),screenshotCount:sy(e)})}))),t().createElement("div",{className:"e-undo-view-right-panel"},t().createElement("div",{className:"e-undo-view-header js-undo-view-header"},t().createElement("h3",{className:"e-undo-view-title js-undo-view-title"},this.props.title)),t().createElement(ny,{selectedAnswer:e}),t().createElement(ry,{selectedAnswer:e,selectedAnswerIndex:this.state.selectedAnswerIndex,restoreAnswer:this.props.restoreAnswer,questionId:this.props.questionId}))))))}}const cy=()=>{const{t:e}=jl();return t().createElement("div",{style:{padding:"10px"}},e("undo.loading"))},uy=({close:e})=>{const{t:n}=jl();return t().createElement("div",null,t().createElement("img",{src:"img/closeButton.svg",id:"closeUndoDialogButton",className:"e-undo-view-close-overlay-button js-close-undo-dialog-button",onClick:e,tabIndex:0,role:"button","aria-label":n("undo.close")}))},dy=()=>{const{t:e}=jl();return t().createElement("div",null,e("undo.restoreAnswer"))},fy=e=>{const{t:n}=jl(),{displayNumber:r,elementType:i}=e;return t().createElement("div",null,"exam"!==i&&"toc-section"!==i?n(i,{displayNumber:r})||t().createElement(gy,{...e}):""," ",t().createElement(tg,{...e}))},py=({displayNumber:e,characterCount:n})=>{const{t:r}=jl();return t().createElement("div",null,r("question",{displayNumber:e})," ",r("answer-errors.answer-too-long",{count:n}))};function hy({validationErrors:e,inExam:n}){return e.length>0?t().createElement("div",{className:Er()({"error-indicator e-bg-color-error e-color-off-white":n,"e-font-size-xs":n},"e-columns e-columns--inline e-pad-1 e-mrg-r-1"),role:"alert"},t().createElement("div",{className:"e-column e-column--narrow",style:{color:"#f90"}},t().createElement(qa,{size:"lg",icon:is,fixedWidth:!0,className:"e-mrg-r-1"})),t().createElement("div",{className:"e-column e-column--gapless"},e.map((e=>{const n=e.type+e.displayNumber;return"ExtraAnswer"===e.type?t().createElement(fy,{...e,key:n}):t().createElement(py,{...e,key:n})})))):null}const gy=({elementType:n,displayNumber:r})=>{if("section"===n){const{root:n}=(0,e.useContext)(ic),i=Ae(n,(e=>"section"===e.localName&&e.getAttribute("display-number")===r));if(i){const e=Ae(i,"section-title");if(e)return t().createElement(t().Fragment,null,`${e.textContent.trim()}:`)}}return null},my=t().memo((()=>{const e=Sc((e=>e.answers.validationErrors));return t().createElement(hy,{validationErrors:e,inExam:!0})})),yy=t().memo((function(){const e=Sc(Vc),{t:n}=jl();return"initial"===e?null:t().createElement("div",{className:"save-indicator e-pad-1 e-font-size-xs"},t().createElement("span",{className:Er()("save-indicator-text",`save-indicator-text--${e}`)},n("answer-saved")))})),vy=ms({attachment:sg,"attachment-link":fc("link"),"attachment-links":pc("link"),audio:Hu,"audio-title":Kl,"audio-group":Wh,"audio-test":Qh,"choice-answer":cg,"dropdown-answer":Im,"exam-footer":xm,"external-material":Vu,file:Yu,formula:Wu,image:Xu,question:Nm,"question-number":dd,translation:fd,"question-instruction":Sm,"question-title":jm,hints:Em,references:$h,"scored-text-answer":Ym,"scored-text-answers":Em,"section-instruction":Pm,section:Rm,"section-title":zm,"text-answer":Ym,video:nd,"image-overlay":ld}),by=()=>{const{t:e}=jl();return t().createElement("div",{className:"e-examine-exam-instructions",id:"examineExamInstructions"},e("examine-exam.instructions"))},Iy=t().memo(sc(oc((({doc:n,casStatus:r,answers:i,restrictedAudioPlaybackStats:o,examServerApi:a,studentName:s,showUndoView:l,undoViewProps:c,annotations:u,onClickAnnotation:d,onSaveAnnotation:f})=>{const{date:p,dateTimeFormatter:h,dayCode:g,examCode:m,language:y,resolveAttachment:b,root:I,subjectLanguage:x}=(0,e.useContext)(ic),w=Ae(I,"exam-title"),T=Ae(I,"exam-instruction"),M=Ae(I,"table-of-contents"),A=Ae(I,"external-material"),E=I.getAttribute("exam-stylesheet"),C=(0,e.createRef)(),N=Xl((()=>Yh(xd(n),r,i,o,a))),S=Xl((()=>ig({showAttachmentLinks:!0,showAnsweringInstructions:!0,isInSidebar:!0}))),k=Xl((()=>ig({showAttachmentLinks:!0,showAnsweringInstructions:!0,isInSidebar:!1}))),j=Xl((()=>kl(y,m,g)));(0,e.useEffect)(Dl(j,y)),(0,e.useEffect)(Jl,[]);const[D,L]=(0,e.useState)([]);(0,e.useEffect)((()=>{const e=new IntersectionObserver(O),t=D;return t.forEach((t=>e.observe(t))),()=>{t.forEach((t=>e.unobserve(t)))}}),[D]);const O=e=>e.forEach((e=>{const t=e.target.getAttribute("data-toc-id");P((n=>e.isIntersecting?[...n,t]:n.filter((e=>e!==t))))})),[R,P]=(0,e.useState)([]);(0,e.useEffect)((()=>{R.forEach((e=>{const t=e.replace("question-",""),n=document.querySelector(`.table-of-contents li[data-list-number="${t}."]`);if(n){const e=(e=>{const t=e.getBoundingClientRect();return t.top>=100&&t.bottom<=window.innerHeight-100})(n),t=document.querySelector(".sidebar-toc-container .table-of-contents");if(!e&&t){const e=t.getBoundingClientRect().height,r=n.offsetTop-e/2;t.scrollTo({behavior:"smooth",top:r})}}}))}),[R]);const z=void 0!==a.examineExam,U="[Kokelaan Nimi]"===s;return t().createElement(Pc,{store:N},t().createElement(ls,{annotations:u,onClickAnnotation:d,onSaveAnnotation:f},t().createElement(ve.Provider,{value:{visibleTOCElements:R,addRef:e=>{D.includes(e)||L((t=>[...t,e]))}}},t().createElement(v,{i18n:j},t().createElement("main",{className:"e-exam",lang:x,"aria-labelledby":zl,ref:C},t().createElement(t().StrictMode,null),E&&t().createElement("link",{rel:"stylesheet",href:b(E)}),t().createElement("div",{className:"e-toc-and-exam"},M&&t().createElement("div",{className:"sidebar-toc-container","aria-hidden":"true"},t().createElement(S,{element:M,renderChildNodes:vy})),t().createElement("div",{className:"main-exam-container"},t().createElement("div",{className:"main-exam"},t().createElement(Um,{studentName:s}),t().createElement(tc,{"aria-labelledby":zl},w&&t().createElement($l,{id:zl},vy(w)),p&&t().createElement("p",null,t().createElement("strong",null,h.format(p))),T&&t().createElement(wm,{element:T,renderChildNodes:vy}),M&&t().createElement("div",{className:"main-toc-container"},t().createElement(k,{element:M,renderChildNodes:vy})),A&&t().createElement(Vu,{element:A,renderChildNodes:vy,forceRender:!0})),vy(I),(U||z)&&t().createElement("div",{className:"e-examine-exam"},t().createElement(Tm,null),t().createElement(by,null))))),(U||z)&&t().createElement(Jh,null,t().createElement("div",{className:"e-footer-version-number-container"},t().createElement(ag,null))),t().createElement("div",{className:"e-indicators-container"},t().createElement(my,null),t().createElement(yy,null)),l&&z&&t().createElement(ly,{...c}))))))})))),xy=e=>n=>{const r=r=>e(r)?t().createElement(n,{...r}):null;return r.displayName=`RenderIf(${nc(n)})`,r},wy=t().createContext({}),Ty=({element:n,renderChildNodes:r})=>{const{EditorComponent:i}=(0,e.useContext)(wy),{displayNumber:o}=(0,e.useContext)(cd);return t().createElement("div",{className:"e-answer-grading-instruction e-multiline-results-text-answer e-mrg-b-2 e-pad-l-2"},i?t().createElement(i,{element:n,displayNumber:o}):r(n))},My=({element:n,renderChildNodes:r})=>{const{answers:i}=(0,e.useContext)(cd),o=Ae(n,"answer-grading-instruction"),a=Ce(n,"max-length"),s=t().createElement(t().Fragment,null,null!=a&&t().createElement(Hm,{maxLength:a}),t().createElement("ul",null,r(n)),o&&t().createElement(Ty,{element:o,renderChildNodes:r}));if(1===i.length)return s;{const e=Ee(n,"display-number"),i=Ce(n,"max-score"),o=Ae(n,"hint");return t().createElement("div",{className:"e-mrg-l-8"},t().createElement("p",{className:"exam-question-title"},t().createElement("span",{className:"exam-question-title__display-number--indented e-semibold"},e," "),o&&r(o)," ",t().createElement(vm,{score:i})),s)}},Ay=({element:e,renderChildNodes:n})=>{const r=Ce(e,"score");if(!r)return null;const{t:i}=jl();return t().createElement("li",null,n(e),be,"(",i("points",{count:r}),")")},Ey=({element:e,renderChildNodes:n})=>t().createElement("div",{className:"e-exam-grading-instruction notification e-pad-4","data-annotation-anchor":"exam-grading-instruction"},n(e)),Cy=ud((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o}=(0,e.useContext)(cd);return t().createElement("div",{className:Er()("e-grading-instructions-question",{"e-mrg-b-8 e-clearfix":0===o,"e-mrg-l-8 e-mrg-y-4":o>0}),id:i,"data-annotation-anchor":i},t().createElement("div",{className:"anchor",id:`question-nr-${i}`}),r(n,1))})),Ny=({element:e,renderChildNodes:n})=>{const r=Ae(e,["audio-transcription","video-transcription"]);if(r){const{t:i}=jl(),o=Ae(e,["audio-title","video-title"]);return t().createElement("details",{className:"e-grading-instruction-recording e-pad-1 e-mrg-b-2"},t().createElement("summary",null,t().createElement("strong",null,i("recording"))," ",o&&t().createElement("em",null,n(o))),n(r))}return null},Sy=cc((({element:n,renderChildNodes:r})=>{const{displayNumber:i}=(0,e.useContext)(lc);return t().createElement(tc,{className:"e-grading-instruction-section","aria-labelledby":_l(i)},r(n))})),ky=({EditorComponent:e,children:n})=>t().createElement(wy.Provider,{value:{EditorComponent:e}},n),jy=xy((({element:e})=>null!=Me(e,["answer-grading-instruction","choice-answer-option","dropdown-answer-option","exam-grading-instruction","question-grading-instruction","hint","question-title","question-instruction"]))),Dy=xy((({element:e})=>null==Me(e,["external-material"]))),Ly=ms({"accepted-answer":Ay,attachment:ec,"attachment-link":Dy(fc("plain")),"attachment-links":Dy(pc("plain")),audio:Ny,"audio-group":ec,"choice-answer":My,"choice-answer-option":Ay,"dropdown-answer":My,"dropdown-answer-option":Ay,"external-material":ec,file:jy(Yu),formula:jy(Wu),hints:ec,image:jy(Xu),question:Cy,"question-title":({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a}=(0,e.useContext)(cd),s=`h${Math.min(3+a,6)}`;return t().createElement(t().Fragment,null,t().createElement(s,{className:Er()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:Er()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${md(i)} `),r(n)," ",t().createElement(vm,{score:o,size:0===a?"large":"small"})))},"question-instruction":Sm,"question-grading-instruction":Ty,"question-number":dd,translation:fd,"scored-text-answer":My,"text-answer":My,section:Sy,"section-title":({element:n,renderChildNodes:r})=>{const{sections:i}=(0,e.useContext)(ic),{displayNumber:o}=(0,e.useContext)(lc),{t:a}=jl();return t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"e-grading-instructions-section-title",id:_l(o)},i.length>1&&a("section",{displayNumber:o})," ",r(n)))},video:Ny}),Oy=()=>{const{t:e}=jl();return t().createElement(t().Fragment,null,e("grading-instructions-page-title"))},Ry=t().memo(oc((({doc:n,annotations:r,onClickAnnotation:i,onSaveAnnotation:o,EditorComponent:a})=>{const s=n.documentElement,{date:l,dateTimeFormatter:c,dayCode:u,examCode:d,language:f,subjectLanguage:p}=(0,e.useContext)(ic),h=Ae(s,"exam-title"),g=Ae(s,"exam-grading-instruction"),m=Ae(s,"table-of-contents"),y=ig({showAnsweringInstructions:!1,showAttachmentLinks:!1,isInSidebar:!1}),b=Xl((()=>kl(f,d,u)));return(0,e.useEffect)(Dl(b,f)),(0,e.useEffect)(Jl,[]),t().createElement(ls,{annotations:r,onClickAnnotation:i,onSaveAnnotation:o},t().createElement(ky,{EditorComponent:a},t().createElement(v,{i18n:b},t().createElement("main",{className:"e-exam e-grading-instructions",lang:p},t().createElement(t().StrictMode,null),t().createElement(tc,{"aria-labelledby":zl},t().createElement($l,{id:zl},t().createElement(Oy,null)," ",h&&Ly(h)),l&&t().createElement("p",null,t().createElement("strong",null,c.format(l))),g&&t().createElement(Ey,{element:g,renderChildNodes:Ly}),m&&t().createElement("div",{className:"main-toc-container"},t().createElement(y,{element:m,renderChildNodes:Ly}))),Ly(s)))))}))),Py=t().createContext({}),zy=rc(Py,(({scores:e,doc:t,gradingStructure:n,gradingText:r,answers:i,singleGrading:o})=>{const a=Cd(i,"questionId"),s=function(e,t,n,r){return jn(e.map((e=>function(e,t,n,r){const i=jn(ke(e).map((e=>{const i=Ce(e,"question-id"),o=r[i];return o?"choice"===o.type?((e,n)=>{var r;const i=Uy(t,e);return i?null===(r=i.options.find((e=>e.id===Number(n.value))))||void 0===r?void 0:r.score:0})(i,o):(e=>{var t,r;const i=_y(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})));return 0===Ie(e,"question").length&&i<0?0:i}(e,t,n,r))))}(Te(t.documentElement,"question",!1),n,e,a);return{answersByQuestionId:a,gradingStructure:n,scores:e,totalScore:s,gradingText:r,singleGrading:o}}));function Uy(e,t){const n=(null==e?void 0: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 _y(e,t){return e.find((e=>e.questionId===t))}const By=()=>{const{gradingStructure:t}=(0,e.useContext)(Py);return void 0===t},Fy=t().memo((function({answers:n,displayNumber:r,children:i,multilineAnswer:o,questionId:a}){var s;const{displayNumber:l}=(0,e.useContext)(cd),c=By(),u=r?`${l}.${null==r?void 0:r.replace(".","")}`:void 0,{answersByQuestionId:d}=(0,e.useContext)(Py),f=!(!a||!d)&&(null===(s=d[a])||void 0===s?void 0:s.answerNonAnswer),{t:p}=jl();return c?null:t().createElement("span",{className:Er()("e-result-scorecount","e-float-right",{"e-result-scorecount-multiline-answer":o}),id:u},f&&t().createElement("div",{className:"non-answer"},p("grading.non-answer-not-graded")),t().createElement("span",{className:"e-result-scorecount-border-wrap"},n.length>1&&r&&t().createElement("sup",{className:"e-result-scorecount-sup e-mrg-r-1","aria-hidden":"true"},r),i))})),Gy=t().memo((function({score:n,maxScore:r,displayNumber:i,questionId:o}){const{answers:a}=(0,e.useContext)(cd),{t:s}=jl(),l={answers:a,displayNumber:i,questionId:o};return t().createElement(Fy,{...l},"number"==typeof n?t().createElement("b",null,n):t().createElement("span",{className:"e-result-scorecount-empty"})," ",r?`/ ${r} `:null," ",s("points",{count:""}))}));function Zy({renderChildNodes:e,selected:n,element:r,questionId:i,direction:o,isCorrect:a}){const{t:s}=jl(),l=r.getAttribute("class"),c=r.getAttribute("option-id"),u=t().createElement("div",{className:Er()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":n})},e(r)),d=({narrow:e=!1})=>t().createElement(t().Fragment,null,t().createElement("input",{type:"radio",className:Er()("e-radio-button",{"e-column e-column--narrow":e}),name:String(i),value:c,checked:n,readOnly:!0}),u,a&&t().createElement(_m,null,s("screen-reader.correct-answer")));return"vertical"===o?t().createElement("div",{className:"e-mrg-b-1"},t().createElement("label",{className:Er()("e-columns",{"e-correct-answer-left":a,"e-columns--inline":null==we(r,["image","video"])})},t().createElement(d,{narrow:!0}))):t().createElement("div",{className:"e-column e-mrg-b-1"},t().createElement("label",{className:Er()("e-block e-text-center",{"e-correct-answer-bottom":a})},t().createElement(d,null)))}const Hy=t().memo((function({element:n,renderChildNodes:r}){var i,o;const{answersByQuestionId:a,gradingStructure:s}=(0,e.useContext)(Py),l=Ce(n,"question-id"),c=a[l],u=n.getAttribute("direction")||"vertical",d=n.getAttribute("class"),f=Uy(s,l),p=c&&(null===(o=null===(i=null==f?void 0:f.options)||void 0===i?void 0:i.find((e=>e.id===Number(c.value))))||void 0===o?void 0:o.score),h=Ce(n,"max-score");return t().createElement(t().Fragment,null,t().createElement(Gy,{score:p,maxScore:h,questionId:l}),t().createElement("div",{className:Er()("e-choice-answer",d,{"e-columns":"horizontal"===u})},Se(n,(e=>{var n;const i=Ce(e,"option-id"),o=null!=c&&Number(c.value)===i,a=null===(n=null==f?void 0:f.options)||void 0===n?void 0:n.find((e=>e.id===i));return t().createElement(Zy,{element:e,renderChildNodes:r,questionId:l,key:i,direction:u,selected:o,isCorrect:(null==a?void 0:a.correct)||!1})}))))})),qy=t().memo((function({element:n,renderChildNodes:r}){var i;const{t:o,i18n:a}=jl(),{answersByQuestionId:s,gradingStructure:l}=(0,e.useContext)(Py),{answers:c}=(0,e.useContext)(cd),u=Ce(n,"question-id"),d=s[u],f=Ae(n,(e=>(null==d?void 0:d.value)===e.getAttribute("option-id"))),p=By(),h=Uy(l,u),g=(null==h?void 0:h.options.filter((e=>e.correct)).map((e=>e.id)))||[],m=Array.from(n.children).filter((e=>g.includes(Ce(e,"option-id")))),y=f&&g.includes(Ce(f,"option-id")),v=Mm(n.getAttribute("display-number")),b=d&&(null===(i=null==h?void 0:h.options.find((e=>e.id===Number(d.value))))||void 0===i?void 0:i.score)||0,I=Ce(n,"max-score");return t().createElement(t().Fragment,null,c.length>1&&t().createElement("sup",null,v),t().createElement("span",{className:Er()("e-dropdown-answer__answered",!f&&"e-dropdown-answer__no-answer",!p&&{"e-dropdown-answer__answered--correct":y,"e-dropdown-answer__answered--wrong":!y}),"data-question-id":u,"aria-description":f?void 0:a.t("examineExam.questionHasNoAnswer")},t().createElement(_m,null,o("screen-reader.answer-begin")),f&&r(f),t().createElement(_m,null,o("screen-reader.answer-end")),y&&t().createElement(_m,null,o("screen-reader.correct-answer"))),!p&&!y&&t().createElement("span",{className:"e-dropdown-answer__correct","aria-hidden":!0},m.map(((e,n)=>t().createElement(t().Fragment,{key:n},r(e),n<m.length-1&&", ")))),null!=b&&t().createElement(Gy,{score:b,maxScore:I,displayNumber:v,questionId:u}))}));function Vy({pregradingAnnotations:e,censoringAnnotations:n,singleGrading:r}){return e.length||n.length?t().createElement("div",{className:"e-annotation-list e-columns e-mrg-t-2"},r?t().createElement("div",{className:"e-column e-column--10"},t().createElement(Yy,{annotations:e})):t().createElement(t().Fragment,null,t().createElement("div",{className:"e-column e-column--6"},t().createElement(Yy,{i18nTitleKey:"grading.pregrading-annotations",annotations:e})),t().createElement("div",{className:"e-column e-column--6"},t().createElement(Yy,{i18nTitleKey:"grading.censor-annotations",annotations:n})))):null}const Yy=({i18nTitleKey:e,annotations:n})=>{const{t:r}=jl();return n?t().createElement(t().Fragment,null,e&&t().createElement("h5",null,r(e)),t().createElement("ol",{className:"e-list-data e-pad-l-0 e-font-size-s"},n.map((({numbering:e,message:n})=>t().createElement("li",{"data-list-number":e,key:e},n))))):null},Wy=t().memo((function(){const{answers:n}=(0,e.useContext)(cd),{scores:r,singleGrading:i}=(0,e.useContext)(Py),o=function(e,t){const n=[];for(let r=0;r<e.length;r++){const i=t(e[r]);void 0!==i&&n.push(i)}return n}(n||[],(e=>{const t=Ce(e,"question-id"),n=_y(r,t);return n&&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))})(n)?[e,n]:void 0})),a=(e,t,r=0)=>Pp(e,(([e,i])=>{var o,a,s;return null!==(s=null===(a=null===(o=i[t])||void 0===o?void 0:o.annotations)||void 0===a?void 0:a.filter((e=>e.message.length)).map(((t,i)=>{const o=`${((e,t)=>e.length>1?Mm(t.getAttribute("display-number")):"")(n,e)+String(r+i+1)})`;return{numbering:o,message:t.message}})))&&void 0!==s?s:[]})),s=a(o,"pregrading"),l=a(o,"censoring",s.length);return t().createElement(Vy,{pregradingAnnotations:s,censoringAnnotations:l,singleGrading:!!i})})),Qy=t().memo(ud((function({element:n,renderChildNodes:r}){var i,o;const{answersByQuestionId:a,gradingStructure:s}=(0,e.useContext)(Py),{displayNumber:l,level:c}=(0,e.useContext)(cd),u=function(e,t){return ke(e).some((e=>{var n;return null===(n=t[Ce(e,"question-id")])||void 0===n?void 0:n.value}))}(n,a),{i18n:d}=jl(),f=null===(i=null==s?void 0:s.questions)||void 0===i?void 0:i.find((e=>e.displayNumber===l)),p=f&&("choices"in f?f.choices[0].id:f.id),h=!!p&&(null===(o=a[p])||void 0===o?void 0:o.answerNonAnswer);return t().createElement("div",{className:Er()("e-exam-question",`e-level-${c}`,{"e-mrg-b-8 e-clearfix":0===c,"e-mrg-l-8 e-mrg-y-4":c>0,"no-answer":!u,"non-answer":h}),id:l,"aria-description":u?void 0:d.t("examineExam.questionHasNoAnswer")},r(n),t().createElement(Wy,null))}))),Jy=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o,maxAnswers:a,maxScore:s,childQuestions:l}=(0,e.useContext)(cd),c=`h${Math.min(3+o,6)}`,u=By();return t().createElement(t().Fragment,null,t().createElement(c,{className:Er()("exam-question-title",{"e-normal e-font-size-m":o>0})},t().createElement("strong",{className:Er()("exam-question-title__display-number",{"exam-question-title__display-number--indented":o>0})},`${md(i)} `),r(n)," ",u&&t().createElement(vm,{score:s,size:0===o?"large":"small"})),null!=a&&l.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(km,null),t().createElement(tg,{maxAnswers:a,childQuestions:l,elementType:"question"})))})),Xy=t().memo(cc((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(lc);return t().createElement(tc,{"aria-labelledby":_l(i)},t().createElement("div",{className:"e-results-section-wrapper"},r(n)))}))),$y=5;function Ky(e,t,n,r=!0){const i=[...t,...n],o=i.filter((e=>e.message));for(const[n,a]of i.entries()){const i=t.includes(a)?"pregrading":"censoring",s=o.indexOf(a)+1||void 0,l="pregrading"===i?n:n-t.length;switch(a.type){case"line":case"rect":nv(e,a,i,l,s,r);break;default:iv(e,a,i,l,s,r)}}}function ev(e,t){const n=e.style,r=e=>100*e+"%";"rect"===t.type?(n.left=r(t.x),n.top=r(t.y),n.right=r(1-(t.x+t.width)),n.bottom=r(1-(t.y+t.height))):(n.left=r(t.x1),n.top=r(t.y1),n.right=r(1-t.x2),n.bottom=r(1-t.y2))}function tv(e){const t=e.parentElement;if(t instanceof HTMLSpanElement)return t;const n=De("span",{className:"e-annotation-wrapper"});return t.insertBefore(n,e),n.appendChild(e),n}function nv(e,t,n,r,i,o){const{attachmentIndex:a}=t;return rv(e.querySelectorAll("img")[a],o?t.message:"",t,n,r,i)}function rv(e,t,n,r,i,o){const a=tv(e),s=function(){const e=De("mark",{className:Er()("e-annotation e-annotation--shape",{"e-annotation--pregrading":"pregrading"===r,"e-annotation--censoring":"censoring"===r}),title:t,"data-list-index":String(i),"data-type":r,...o&&{"data-index":String(o)},...n.message&&{"data-message":n.message}});return ev(e,n),o&&e.appendChild(ov(o,"shape",n.message)),e}();return a.appendChild(s),s}function iv(e,t,n,r,i,o){const{startIndex:a,length:s}=t;return function e(f,p,h){var g;if(!l(f)&&!function(e){return"SUP"===e.nodeName}(f)&&!function(e){return"BR"===e.nodeName}(f)&&p>=a){const a=De("mark",{className:Er()("e-annotation",{"e-annotation--pregrading":"pregrading"===n,"e-annotation--censoring":"censoring"===n}),title:o?t.message:"","data-list-index":String(r),"data-type":n,...i&&{"data-index":String(i)},...t.message&&{"data-message":t.message}});null===(g=f.parentElement)||void 0===g||g.insertBefore(a,f);const l=d(a,f,h);l>0?e(c(a),p+s-l,l):i&&a.appendChild(ov(i,"text",t.message))}else f instanceof Text&&p+u(f)>a&&f.splitText(a-p),e(function(e){return l(e)?e.childNodes[0]:c(e)}(f),p+u(f),h)}(e.childNodes[0],0,s);function l(e){return"MARK"===e.nodeName}function c(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 c(r)}function u(e){return e instanceof Text?e.length:function(e){return"IMG"===e.nodeName||"SPAN"===e.nodeName}(e)?1:0}function d(e,t,n){if(!t||l(t)||0===n)return n;t instanceof Text&&u(t)>0&&u(t)>n&&t.splitText(n);const r=t.nextSibling;return e.appendChild(t),d(e,r,n-u(t))}}function ov(e,t,n){return De("sup",{className:`e-annotation__index e-annotation__index--${t}`,"data-content":n.length>$y?`${e})`:n,"data-message":n})}const av=t().memo((function({displayNumber:n,score:r,value:i,answers:o,children:a}){const{t:s,i18n:l}=jl(),c=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;c.current&&Ky(c.current,null!==(t=null===(e=null==r?void 0:r.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==t?t:[],null!==(i=null===(n=null==r?void 0:r.censoring)||void 0===n?void 0:n.annotations)&&void 0!==i?i:[])})),t().createElement(t().Fragment,null,n&&o.length>1&&t().createElement("sup",null,n),t().createElement("span",{className:Er()("text-answer text-answer--single-line",{"no-answer":!i}),"aria-description":i?void 0:l.t("examineExam.questionHasNoAnswer")},t().createElement(_m,null,s("screen-reader.answer-begin")),t().createElement("span",{className:"e-inline-block",ref:c},i),t().createElement(_m,null,s("screen-reader.answer-end"))),a)})),sv=t().memo((function({element:n}){const{answers:r}=(0,e.useContext)(cd),{answersByQuestionId:i,scores:o}=(0,e.useContext)(Py),a=Ce(n,"question-id"),s=Ce(n,"max-score"),l=i[a],c=l&&l.value,u=Mm(n.getAttribute("display-number")),d=_y(o,a),f=null==d?void 0:d.autograding;return t().createElement(av,{answers:r,displayNumber:u,value:c,score:d},t().createElement(Gy,{score:null==f?void 0:f.score,maxScore:s,displayNumber:r.length>1?u:void 0,questionId:a}))}));function lv({maxScore:e}){const{t:n}=jl();return t().createElement(t().Fragment,null,t().createElement("span",{className:"e-result-scorecount-empty"}),e&&` / ${e} `,n("points",{count:""}))}function cv({shortCode:e}){return t().createElement("div",{className:"e-color-darkgrey e-columns e-columns--center-v"},t().createElement("span",{className:"e-font-size-xxxl e-light e-mrg-r-1"},"×"),t().createElement("span",null,e))}function uv({score:e,shortCode:n,type:r,maxScore:i,latest:o}){const{t:a}=jl();return t().createElement("div",{className:o?"e-color-black":"e-color-darkgrey e-font-size-xs"},t().createElement(dv,{className:Er()("e-nowrap",{"e-font-size-m":o})},o?t().createElement("b",null,e):e,o&&i?` / ${i}`:""," p."),t().createElement(dv,{className:"e-result-scorecount-shortcode"},n),t().createElement(dv,{className:"e-mrg-r-0"},a(r)))}function dv({className:e,children:n}){return t().createElement("span",{className:Er()("e-mrg-r-1 e-nowrap",e)},n)}function fv({score:e}){return void 0!==e?{score:e,shortCode:"",type:"grading.pregrading-abbrev"}:null}function pv(e){return e.scores.map(((t,n)=>({score:t.score,shortCode:t.shortCode||"",type:"grading.round."+(e.scores.length-n)})))}const hv=t().memo((function({scores:n,maxScore:r,displayNumber:i,multilineAnswer:o,questionId:a}){var s,l,c,u,d;const{answers:f}=(0,e.useContext)(cd),p={answers:f,displayNumber:i,multilineAnswer:o,questionId:a},h=null===(l=null===(s=null==n?void 0:n.censoring)||void 0===s?void 0:s.nonAnswerDetails)||void 0===l?void 0:l.shortCode;return t().createElement(Fy,{...p},null!=(null===(c=null==n?void 0:n.pregrading)||void 0===c?void 0:c.score)||(null===(d=null===(u=null==n?void 0:n.censoring)||void 0===u?void 0:u.scores)||void 0===d?void 0:d.length)?t().createElement(t().Fragment,null,function(e,n){var r;return[e.inspection&&(r=e.inspection,{score:r.score,shortCode:r.shortCodes?r.shortCodes.join(", "):"",type:"grading.inspection-grading-abbrev"}),...e.censoring?pv(e.censoring):[],e.pregrading&&fv(e.pregrading)].filter(Boolean).map(((e,r)=>t().createElement(uv,{key:r,...e,latest:0===r,maxScore:n})))}(n,r),h&&t().createElement(cv,{shortCode:h})):t().createElement(lv,{maxScore:r}))})),gv=({type:n,score:r,value:i})=>{const{t:o,i18n:a}=jl(),s=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;s.current&&Ky(s.current,null!==(t=null===(e=null==r?void 0:r.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==t?t:[],null!==(i=null===(n=null==r?void 0:r.censoring)||void 0===n?void 0:n.annotations)&&void 0!==i?i:[])})),t().createElement("div",{className:Er()("e-multiline-results-text-answer e-line-height-l e-pad-x-2 e-mrg-b-1",{"no-answer":!i}),"aria-description":i?void 0:a.t("examineExam.questionHasNoAnswer")},t().createElement(_m,null,o("screen-reader.answer-begin")),"rich-text"===n?t().createElement("div",{dangerouslySetInnerHTML:{__html:i||""},ref:s}):t().createElement("div",{className:"e-pre-wrap",ref:s},i),t().createElement(_m,null,o("screen-reader.answer-end")))},mv=t().memo((function({element:n}){var r;const{answers:i}=(0,e.useContext)(cd),{answersByQuestionId:o,scores:a}=(0,e.useContext)(Py),{t:s}=jl(),l=Ce(n,"question-id"),c=Ce(n,"max-score"),u=o[l],d=u&&u.value,f=i.length>1?Mm(n.getAttribute("display-number")):void 0,p=_y(a,l),h=null===(r=null==p?void 0:p.pregrading)||void 0===r?void 0:r.comment,g=n.getAttribute("type")||"single-line",m=Ce(n,"max-length");return"rich-text"===g?t().createElement(t().Fragment,null,null!=m&&t().createElement(Hm,{maxLength:m}),t().createElement(hv,{multilineAnswer:!0,scores:p,maxScore:c,questionId:l}),t().createElement(gv,{type:g,value:d,score:p}),t().createElement(Bm,{answer:u,element:n}),h&&t().createElement(t().Fragment,null,t().createElement("h5",null,s("comment")),t().createElement("p",{className:"e-italic"},h))):t().createElement(av,{answers:i,score:p,displayNumber:f,value:d},t().createElement(hv,{scores:p,maxScore:c,displayNumber:f,questionId:l}))})),yv=({onEndSession:e,sessionEnded:n})=>{const{t:r}=jl();return t().createElement("div",{className:"e-logout-container"},t().createElement("div",{className:"e-bg-color-off-white e-pad-6 shadow-box"},n?t().createElement(t().Fragment,null,t().createElement("h3",null,r("examineExam.thankYouTitle")),t().createElement("p",null,r("examineExam.shutdownComputer"),t().createElement("br",null),r("examineExam.returnUsbStick"))):t().createElement(t().Fragment,null,t().createElement("h3",null,r("examineExam.endExamTitle")),t().createElement("p",null,r("examineExam.afterInspectingYourAnswers"),t().createElement("br",null),r("examineExam.youCanNotReturnToExam"))),!n&&t().createElement("button",{id:"endSession",className:"e-button",onClick:()=>{e()}},r("examineExam.endExamTitle"))))},vv=ms({attachment:Kl,"attachment-link":fc("plain"),"attachment-links":pc("plain"),"audio-group":Kl,"choice-answer":Hy,"dropdown-answer":qy,formula:Wu,question:Qy,hints:Kl,image:xy((({element:e})=>null!=Me(e,"choice-answer")))(Xu),"question-instruction":Sm,"question-number":dd,translation:fd,"question-title":Jy,section:Xy,"section-title":zm,"text-answer":mv,"scored-text-answer":sv,"scored-text-answers":Kl}),bv=()=>{const{t:e}=jl();return e("examineExam.returnToExam")},Iv=()=>{const{t:e}=jl();return t().createElement("div",{className:"e-section examine-exam-page-instructions shadow-box"},t().createElement("h3",null,e("examineExam.checkYourAnswersTitle")),t().createElement("ul",null,t().createElement("li",null,e("examineExam.hereAreYourAnswers")),t().createElement("li",null,e("examineExam.checkYourAnswers")),t().createElement("li",null,e("examineExam.removeExcessAnswers")),t().createElement("li",null,t().createElement("span",{className:"no-answer-example"},e("examineExam.emptyAnswersAreHighlighted")),e("examineExam.thereMayBeOptionalQuestions"))))};function xv(){const{gradingText:n,totalScore:r}=(0,e.useContext)(Py),{t:i}=jl();return t().createElement("div",{className:"e-column--narrow"},t().createElement("table",{className:"e-table e-table--borderless e-mrg-b-0"},t().createElement("tbody",null,t().createElement("tr",null,t().createElement("th",{className:"e-pad-y-0 e-normal"},i("grading-total")),t().createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},i("points",{count:r}))),n&&t().createElement("tr",null,t().createElement("th",{className:"e-pad-y-0 e-normal"},i("grade")),t().createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},n)))))}const wv=t().memo(zy(oc((({doc:n,returnToExam:r,endSession:i,studentSessionEnded:o=!1,isPreviewPage:a})=>{const{date:s,dateTimeFormatter:l,dayCode:c,examCode:u,language:d,resolveAttachment:f,root:p,subjectLanguage:h}=(0,e.useContext)(ic),{answersByQuestionId:g}=(0,e.useContext)(Py),m=Ae(p,"exam-title"),y=p.getAttribute("exam-stylesheet"),b=Xl((()=>kl(d,u,c)));(0,e.useEffect)(Dl(b,d)),(0,e.useEffect)(Jl,[]);const I=By(),x=void 0!==i,w=!I&&!a;return(0,e.useEffect)((()=>{window.location.hash=""}),[]),t().createElement(v,{i18n:b},t().createElement("main",{className:Er()("e-exam e-results",{"examine-exam-page":I,"session-ended":o}),lang:h},t().createElement(t().StrictMode,null),y&&t().createElement("link",{rel:"stylesheet",href:f(y)}),!w&&t().createElement("button",{className:"e-exam-done-return js-exam-done-return e-button",onClick:r},"« ",t().createElement(bv,null)),t().createElement("div",{className:"e-columns e-columns--bottom-v e-mrg-b-4"},m&&t().createElement($l,{id:"title",className:"e-column e-mrg-b-0"},vv(m),s&&`, ${l.format(s)}`),!I&&t().createElement(xv,null)),!w&&t().createElement(Iv,null),t().createElement(hy,{validationErrors:_p(xd(n),g),inExam:!1}),vv(p),(x||a)&&t().createElement(yv,{onEndSession:I?()=>{try{document.querySelectorAll("main > *:not(.e-logout-container)").forEach((e=>{const t=e;t.style.height=`${t.clientHeight}px`})),setTimeout((()=>{i()}),50)}catch(e){console.error(e)}}:()=>Promise.resolve(),sessionEnded:o})),t().createElement(Jh,null))})))),Tv=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var Mv=Math.max;const Av=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:rd(n);return i<0&&(i=Mv(r+i,0)),Tv(e,An(t),i)};var Ev=Math.max,Cv=Math.min;const Nv=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=rd(n),i=n<0?Ev(r+i,0):Cv(i,r-1)),Tv(e,An(t),i,!0)},Sv=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Sn(e,t,n)},kv=function(e){return e!=e},jv=function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Tv(e,kv,n)};var Dv=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Lv="\\ud800-\\udfff",Ov="["+Lv+"]",Rv="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Pv="\\ud83c[\\udffb-\\udfff]",zv="[^"+Lv+"]",Uv="(?:\\ud83c[\\udde6-\\uddff]){2}",_v="[\\ud800-\\udbff][\\udc00-\\udfff]",Bv="(?:"+Rv+"|"+Pv+")?",Fv="[\\ufe0e\\ufe0f]?",Gv=Fv+Bv+"(?:\\u200d(?:"+[zv,Uv,_v].join("|")+")"+Fv+Bv+")*",Zv="(?:"+[zv+Rv+"?",Rv,Uv,_v,Ov].join("|")+")",Hv=RegExp(Pv+"(?="+Pv+")|"+Zv+Gv,"g");const qv=function(e){return function(e){return Dv.test(e)}(e)?function(e){return e.match(Hv)||[]}(e):function(e){return e.split("")}(e)};var Vv=/^\s+/;const Yv=function(e,t,n){if((e=yn(e))&&(n||void 0===t))return e.replace(Vv,"");if(!e||!(t=mn(t)))return e;var r=qv(e),i=function(e,t){for(var n=-1,r=e.length;++n<r&&jv(t,e[n],0)>-1;);return n}(r,qv(t));return Sv(r,i).join("")},Wv=function(e,t,n){if((e=yn(e))&&(n||void 0===t))return e.slice(0,nr(e)+1);if(!e||!(t=mn(t)))return e;var r=qv(e),i=function(e,t){for(var n=e.length;n--&&jv(t,e[n],0)>-1;);return n}(r,qv(t))+1;return Sv(r,0,i).join("")};function Qv(e,t=!1){const n=(new DOMParser).parseFromString(e,"application/xml");return t||Te(n.documentElement,["choice-answer","dropdown-answer"]).filter((e=>"fixed"!==Ee(e,"ordering"))).forEach(Jv),Te(n.documentElement,"reference").forEach((e=>{Te(e,(()=>!0),!1).forEach(Xv)})),n}function Jv(e){for(let t=e.children.length;t>0;t--){const n=Math.floor(Math.random()*t);e.appendChild(e.children[n])}const t=Ae(e,(e=>"no-answer"===Ee(e,"type")));t&&e.appendChild(t)}function Xv(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=Av(n,t),i=Nv(n,t);-1!==r&&(n.slice(0,r).forEach((e=>e.remove())),n[r].textContent=Yv(n[r].textContent)),-1!==i&&(n.slice(i+1).forEach((e=>e.remove())),n[i].textContent=Wv(n[i].textContent))}function $v({characterCount:e,maxLength:n}){const{t:r}=jl(),i=(o=e,!(a=n)||o<=a?0:Math.floor(100*o/a-100));var o,a;return t().createElement("div",{className:"e-font-size-xs e-grading-answer-length"},r("answer-length",{count:e}),i>0?t().createElement("span",{className:"e-grading-answer-max-length-surplus"},r("max-length-surplus",{maxLength:n,percentage:i})):"")}const Kv=function({pregrading:e,censoring:n,singleGrading:r}){const i=(e,t=0)=>{var n;return null!==(n=e.filter((e=>e.message.length)).map(((e,n)=>({numbering:`${String(t+n+1)})`,message:e.message}))))&&void 0!==n?n:[]},o=i(e),a=i(n,o.length);return t().createElement(Vy,{pregradingAnnotations:o,censoringAnnotations:a,singleGrading:r})};let eb;function tb(e){const t=(null==e?void 0:e.querySelectorAll("img"))||[];eb=t.length,t.forEach((e=>{e.complete?setTimeout((()=>nb(e)),0):e.addEventListener("load",(()=>nb(e)))}))}function nb(e){eb--;const t=e.parentElement,n=null==t?void 0:t.nextSibling,r=n instanceof HTMLElement&&n.classList.contains("full-size-image"),i=e.naturalWidth>e.width;null==t||t.classList.toggle("e-large-image",i),i?r||null==t||t.insertAdjacentHTML("afterend",`<div class="full-size-image"><a target="_blank" href="${e.src}"></a>`):r&&(null==n||n.remove())}function rb(n){const r=Xl((()=>kl(n.language)));return(0,e.useEffect)(Dl(r,n.language)),t().createElement(v,{i18n:r},t().createElement(ib,{...n}))}function ib({answer:{type:n,characterCount:r,value:i},language:o,isReadOnly:a,gradingRole:s,annotations:l,saveAnnotations:c,maxLength:u,popupTopMargin:d=25}){const f=(0,e.useRef)(null),p=(0,e.useRef)(null),h=(0,e.useRef)(null),g=(0,e.useRef)(null);let m,y;const v={start:void 0,element:void 0,img:void 0};let b,I,x,w,T,M=!1;const[A,E]=(0,e.useState)(0),[C,N]=(0,e.useState)(0),[S,k]=(0,e.useState)(0);(0,e.useEffect)((()=>{const e=document.querySelectorAll(".e-grading-answer img[src]");function t(){E((e=>e+1))}function n(e){console.error("Image failed to load:",e.src),k((e=>e+1)),e.alt="Image failed to load",e.style.border="1px solid red"}return N((null==e?void 0:e.length)||0),E(0),k(0),null==e||e.forEach((e=>{e instanceof HTMLImageElement&&(e.complete?t():(e.addEventListener("load",t),e.addEventListener("error",(()=>n(e)))))})),()=>{null==e||e.forEach((e=>{e instanceof HTMLImageElement&&(e.removeEventListener("load",t),e.removeEventListener("error",(()=>n(e))))}))}}),[i]),(0,e.useLayoutEffect)((()=>(f.current&&g.current&&p.current&&(y=l,br(g.current,!1),br(p.current,!1),H(y),f.current.setAttribute("lang",o),document.addEventListener("selectionchange",F)),window.onresize=()=>{clearTimeout(w),w=setTimeout((()=>tb(f.current)),1e3)},()=>{window.removeEventListener("keydown",q),window.removeEventListener("mouseup",B),window.removeEventListener("mousemove",Z)})));const{t:j}=jl(),D=C>0&&A!==C,L=S>0;return t().createElement("div",{onClick:e=>function(e){var t;const n=e.target;if(n instanceof HTMLElement)if("MARK"===n.tagName)v.element||P(n);else if("LI"===n.tagName){const e=null===(t=n.dataset.listNumber)||void 0===t?void 0:t.replace(")",""),r=document.querySelector(`.e-annotation[data-index="${e}"]`);P(r),r.scrollIntoView({block:"center",behavior:"smooth"})}else b&&O()}(e),className:"e-grading-answer-wrapper"},D&&t().createElement("div",{className:"loading-images"},t().createElement("span",{className:"loading"},j("grading.loading-images")," (",A,"/",C,")"),L&&t().createElement("span",{className:"failed"},j("grading.some-images-failed"))),t().createElement("div",{className:"e-grading-answer e-line-height-l e-mrg-b-1",ref:f,onMouseDown:e=>function(e){var t;if(a||0!==e.button)return;window.addEventListener("mouseup",B);const n=(null===(t=e.target.closest(".e-annotation-wrapper"))||void 0===t?void 0:t.querySelector("img"))||void 0;n&&(n.addEventListener("dragstart",vr),v.start=function(e,t){const n=t.closest(".e-grading-answer"),r=Array.from(n.querySelectorAll("img")).findIndex((e=>e===t)),i=n.querySelectorAll(".e-annotation-wrapper").item(r).getBoundingClientRect(),o=e.clientX,a=yr((o-i.left)/i.width),s=e.clientY;return{attachmentIndex:r,bbox:i,startX:a,startY:yr((s-i.top)/i.height),clientX:o,clientY:s}}(e,n),v.img=n,window.addEventListener("mousemove",Z))}(e),onMouseOver:e=>function(e){const t=e.closest("mark");!t||M||hr()&&!a||v.element||P(t)}(e.target)}),t().createElement($v,{characterCount:r,maxLength:u}),t().createElement(Kv,{censoring:l.censoring,pregrading:l.pregrading,singleGrading:"pregrading"===s}),t().createElement("form",{style:{display:"none"},ref:p,className:"e-grading-answer-popup e-grading-answer-add-annotation",onSubmit:e=>function(e){e.preventDefault();const t=h.current.value;b?y[b.role][b.index].message=t:y[s]=gr(f.current,{...m,message:t},y[s]||[]),br(p.current,!1),c(y)}(e)},t().createElement("input",{onFocus:()=>function(){if(!Ir()&&f.current){const e={...y};e[s]=gr(f.current,m,y[s]),H(e)}}(),name:"message",className:"e-grading-answer-add-annotation-text",type:"text",ref:h}),t().createElement("button",{className:"e-grading-answer-add-annotation-button",type:"submit","data-i18n":"arpa.annotate"},j("grading.annotate")),t().createElement("button",{className:"e-grading-answer-close-popup",onClick:e=>{e.preventDefault(),_()}},"×")),t().createElement("div",{style:{display:"none"},ref:g,className:"e-grading-answer-tooltip e-grading-answer-popup",onMouseOver:function(){clearTimeout(x)},onMouseOut:O},t().createElement("span",{onClick:e=>function(e){e.target.closest(".editable")&&(br(g.current,!1),U(I,b.message))}(e),className:"e-grading-answer-tooltip-label"}),t().createElement("button",{onClick:e=>function(e){e.preventDefault(),O(),y[b.role].splice(b.index,1),b=void 0,c(y)}(e),className:"e-grading-answer-tooltip-remove"},"×")));function O(){x=setTimeout((()=>{br(g.current,!1)}),400)}function R(e){"MARK"===e.target.tagName&&(clearTimeout(x),O()),f.current.removeEventListener("mouseout",R)}function P(e){clearTimeout(x);const t=g.current,{type:n,listIndex:r,message:i}=e.dataset;t.classList.toggle("editable",!a&&n===s),I=e.getBoundingClientRect(),pr(I,f.current,t,d),t.querySelector(".e-grading-answer-tooltip-label").textContent=i||"–",b={index:Number(r),role:n,message:i||""},f.current.addEventListener("mouseout",R)}function z(e,t){b=void 0,U(e,t)}function U(e,t){window.removeEventListener("keydown",q),pr(e,f.current,p.current,d);const n=h.current;n.value=t,n.focus(),M=!0,window.addEventListener("keydown",q)}function _(){m=void 0,v.element=void 0,v.img=void 0,M=!1,window.removeEventListener("keydown",q),br(p.current,!1),H(y)}function B(){var e,t;if(null===(e=v.img)||void 0===e||e.removeEventListener("dragstart",vr),window.removeEventListener("mousemove",Z),window.removeEventListener("mouseup",B),v.element)return void z(null===(t=v.element)||void 0===t?void 0:t.getBoundingClientRect(),"");const n=window.getSelection();if(n&&null!==f.current&&hr()){const e=n.getRangeAt(0),t=ur(f.current,e);if(!t)return;const r=dr(y[s],t.startIndex,t.length);m={...t,type:"text",message:r},z(e.getBoundingClientRect(),r);const i={...y};i[s]=gr(f.current,m,y[s]),H(i)}}function F(){Ir()||(clearTimeout(T),T=setTimeout(G,500))}function G(){const e=window.getSelection();if(e&&null!==f.current&&hr()){const t=e.getRangeAt(0),n=ur(f.current,t);if(!n)return;const r=dr(y[s],n.startIndex,n.length);M=!0,h.current.value=r,pr(t.getBoundingClientRect(),f.current,p.current,d),m={...n,type:"text",message:r}}}function Z(e){vr(e),m=function(e,{bbox:t,attachmentIndex:n,startX:r,startY:i,clientX:o,clientY:a}){const s=yr((e.clientX-t.left)/t.width),l=yr((e.clientY-t.top)/t.height),c=Math.abs(o-e.clientX)<=10,u=Math.abs(a-e.clientY)<=10;switch(c||u?"line":"rect"){case"rect":return{type:"rect",attachmentIndex:n,x:Math.min(r,s),y:Math.min(i,l),width:Math.abs(s-r),height:Math.abs(l-i),message:""};case"line":return{type:"line",attachmentIndex:n,x1:c?r:Math.min(r,s),y1:u?i:Math.min(i,l),x2:c?r:Math.max(r,s),y2:u?i:Math.max(i,l),message:""}}}(e,v.start),v.element?ev(v.element,m):v.element=rv(v.img,"",m,s,999)}function H(e){const t=f.current;"richText"===n?(t.innerHTML=i,t.querySelectorAll("img").forEach(tv),tb(t)):t.textContent=i,Ky(t,e.pregrading,e.censoring,!1)}function q(e){"Escape"===e.key&&M&&(e.stopPropagation(),_())}}})(),s})()));