@ckeditor/ckeditor5-ai 47.6.1 → 48.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (693) hide show
  1. package/LICENSE.md +2 -1
  2. package/ckeditor5-metadata.json +10 -10
  3. package/dist/aiactions/aiactions.d.ts +90 -0
  4. package/{src → dist}/aiactions/model/aiactionsinteraction.d.ts +2 -2
  5. package/{src → dist}/aiassistant/adapters/aiadapter.d.ts +1 -1
  6. package/{src → dist}/aiassistant/adapters/aitextadapter.d.ts +1 -1
  7. package/{src → dist}/aiassistant/adapters/awstextadapter.d.ts +2 -2
  8. package/{src → dist}/aiassistant/adapters/openaitextadapter.d.ts +2 -2
  9. package/{src → dist}/aiassistant/aiassistant.d.ts +3 -3
  10. package/{src → dist}/aiassistant/aiassistantediting.d.ts +2 -2
  11. package/{src → dist}/aiassistant/aiassistantui.d.ts +3 -3
  12. package/{src → dist}/aiassistant/ui/aiassistantcontroller.d.ts +3 -3
  13. package/{src → dist}/aiassistant/ui/form/aiformcontentarea.d.ts +2 -2
  14. package/{src → dist}/aiassistant/ui/form/aiformerrorview.d.ts +2 -2
  15. package/{src → dist}/aiassistant/ui/form/aiformpromptview.d.ts +2 -2
  16. package/{src → dist}/aiassistant/ui/form/aiformtoolbarview.d.ts +2 -2
  17. package/{src → dist}/aiassistant/ui/form/aiformview.d.ts +2 -2
  18. package/{src → dist}/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
  19. package/{src → dist}/aiassistant/ui/form/aihistorylistview.d.ts +2 -2
  20. package/{src → dist}/aiassistant/ui/form/prompthistory.d.ts +1 -1
  21. package/{src → dist}/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
  22. package/{src → dist}/aiassistant/utils/common-translations.d.ts +1 -1
  23. package/{src → dist}/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
  24. package/{src → dist}/aiballoon/aiballoon.d.ts +2 -2
  25. package/{src → dist}/aiballoon/ui/aiballoonview.d.ts +2 -2
  26. package/dist/aichat/aichat.d.ts +95 -0
  27. package/{src → dist}/aichat/aichatballoon.d.ts +2 -2
  28. package/{src/aichat/aichat.d.ts → dist/aichat/aichatcontroller.d.ts} +122 -89
  29. package/{src → dist}/aichat/aichatui.d.ts +5 -5
  30. package/{src → dist}/aichat/model/aichatcontext.d.ts +91 -17
  31. package/{src → dist}/aichat/model/aichatconversation.d.ts +4 -4
  32. package/{src → dist}/aichat/model/aichatinteraction.d.ts +1 -4
  33. package/{src → dist}/aichat/ui/aichatballoonview.d.ts +2 -2
  34. package/{src → dist}/aichat/ui/aichatcontrolsview.d.ts +2 -2
  35. package/{src → dist}/aichat/ui/aichatfeedview.d.ts +2 -2
  36. package/{src → dist}/aichat/ui/aichatheaderview.d.ts +2 -2
  37. package/{src → dist}/aichat/ui/aichatview.d.ts +3 -2
  38. package/{src → dist}/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +2 -2
  39. package/{src → dist}/aichat/ui/controls/aichatcontextitembuttonview.d.ts +2 -2
  40. package/{src → dist}/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +2 -2
  41. package/{src → dist}/aichat/ui/controls/aichatcontextpanelview.d.ts +2 -2
  42. package/{src → dist}/aichat/ui/controls/aichatcontrolsloaderview.d.ts +2 -2
  43. package/{src → dist}/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +2 -2
  44. package/{src → dist}/aichat/ui/controls/aichatpromptinputview.d.ts +2 -2
  45. package/{src → dist}/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
  46. package/{src → dist}/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +2 -2
  47. package/{src → dist}/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +2 -2
  48. package/{src → dist}/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +2 -2
  49. package/{src → dist}/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +2 -2
  50. package/{src → dist}/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +2 -2
  51. package/{src → dist}/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +2 -2
  52. package/{src → dist}/aichat/ui/feed/aichatfeedcustomelementview.d.ts +7 -1
  53. package/{src → dist}/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
  54. package/{src → dist}/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
  55. package/{src → dist}/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -2
  56. package/{src → dist}/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +2 -2
  57. package/{src → dist}/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +2 -2
  58. package/{src → dist}/aichat/ui/feed/aichatfeedusermessageitem.d.ts +2 -2
  59. package/{src → dist}/aichat/utils/promisequeue.d.ts +2 -2
  60. package/{src → dist}/aichathistory/aichathistory.d.ts +1 -1
  61. package/{src → dist}/aichathistory/aichathistorycontroller.d.ts +1 -1
  62. package/{src → dist}/aichathistory/aichathistoryui.d.ts +1 -1
  63. package/{src → dist}/aichathistory/model/aichathistoryconversations.d.ts +2 -2
  64. package/{src → dist}/aichathistory/model/aichathistoryitem.d.ts +2 -2
  65. package/{src → dist}/aichathistory/ui/aichathistorylistitemview.d.ts +2 -2
  66. package/{src → dist}/aichathistory/ui/aichathistorylistview.d.ts +1 -1
  67. package/{src → dist}/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
  68. package/{src → dist}/aichathistory/ui/aichathistoryview.d.ts +2 -2
  69. package/{src → dist}/aichatshortcuts/aichatshortcuts.d.ts +17 -17
  70. package/{src → dist}/aichatshortcuts/ui/aichatshortcutsview.d.ts +2 -2
  71. package/{src → dist}/aichatshortcuts/ui/aichatshortcutview.d.ts +2 -2
  72. package/{src → dist}/aiconfig.d.ts +7 -9
  73. package/{src → dist}/aicore/aiconnector.d.ts +4 -12
  74. package/{src → dist}/aicore/aiediting.d.ts +27 -6
  75. package/{src → dist}/aicore/model/aicapabilities.d.ts +2 -2
  76. package/{src → dist}/aicore/model/aiinteraction.d.ts +17 -13
  77. package/{src → dist}/aicore/model/aimodels.d.ts +6 -4
  78. package/{src → dist}/aicore/model/aireply.d.ts +12 -50
  79. package/{src → dist}/aicore/pipeline/airesponseapplier.d.ts +2 -2
  80. package/{src → dist}/aicore/pipeline/airesponseparser.d.ts +2 -2
  81. package/{src → dist}/aicore/ui/aidisclaimerview.d.ts +2 -2
  82. package/{src → dist}/aicore/ui/aiskeleton.d.ts +2 -2
  83. package/{src → dist}/aicore/ui/aispinner.d.ts +1 -1
  84. package/{src → dist}/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +2 -2
  85. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -2
  86. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -2
  87. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.d.ts +2 -2
  88. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.d.ts +2 -2
  89. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.d.ts +2 -2
  90. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -2
  91. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +2 -2
  92. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionloaderview.d.ts +2 -2
  93. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.d.ts +2 -2
  94. package/{src → dist}/aicore/ui/suggestioncontainer/aiwebsourcesview.d.ts +2 -2
  95. package/dist/aicore/utils/buttonclasses.d.ts +12 -0
  96. package/{src → dist}/aicore/utils/common-translations.d.ts +1 -1
  97. package/{src → dist}/aicore/utils/createresizebutton.d.ts +2 -2
  98. package/{src → dist}/aicore/utils/geteditorfromcontext.d.ts +1 -1
  99. package/{src → dist}/aicore/utils/getoperationsfromreply.d.ts +3 -3
  100. package/{src → dist}/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
  101. package/{src → dist}/aieditorintegration/aieditorintegration.d.ts +2 -2
  102. package/{src → dist}/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
  103. package/{src → dist}/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
  104. package/{src → dist}/aiquickactions/aiquickactions.d.ts +110 -52
  105. package/{src → dist}/aiquickactions/aiquickactionscommand.d.ts +1 -1
  106. package/{src → dist}/aiquickactions/aiquickactionsediting.d.ts +1 -1
  107. package/{src → dist}/aiquickactions/aiquickactionsui.d.ts +16 -30
  108. package/{src → dist}/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -2
  109. package/{src → dist}/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +3 -3
  110. package/{src → dist}/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +2 -2
  111. package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.d.ts +2 -2
  112. package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoontoolbarview.d.ts +2 -2
  113. package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoonview.d.ts +2 -2
  114. package/{src → dist}/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
  115. package/{src → dist}/aireviewcore/aireviewcorecontroller.d.ts +1 -1
  116. package/{src → dist}/aireviewcore/aireviewcoreediting.d.ts +4 -4
  117. package/{src → dist}/aireviewcore/aireviewcoreui.d.ts +2 -1
  118. package/{src → dist}/aireviewcore/model/aireviewchecklist.d.ts +2 -2
  119. package/{src → dist}/aireviewcore/model/aireviewcheckresult.d.ts +2 -2
  120. package/{src → dist}/aireviewcore/model/aireviewcheckresultchange.d.ts +3 -3
  121. package/{src → dist}/aireviewcore/model/aireviewcheckrun.d.ts +2 -2
  122. package/{src → dist}/aireviewcore/ui/aireviewcoreballoonsuggestionview.d.ts +2 -2
  123. package/{src → dist}/aireviewcore/ui/aireviewcorechecklistitemresultview.d.ts +2 -2
  124. package/{src → dist}/aireviewcore/ui/aireviewcorecustomcheckview.d.ts +2 -2
  125. package/{src → dist}/aireviewcore/ui/aireviewcorefinishreviewbuttonview.d.ts +2 -2
  126. package/{src → dist}/aireviewcore/ui/aireviewcoregeneralerrorview.d.ts +2 -2
  127. package/{src → dist}/aireviewcore/ui/aireviewcorepromptinputview.d.ts +2 -2
  128. package/{src → dist}/aireviewcore/ui/aireviewcorereviewchecklistview.d.ts +2 -2
  129. package/{src → dist}/aireviewcore/ui/aireviewcorereviewcommandlistitemview.d.ts +2 -2
  130. package/{src → dist}/aireviewcore/ui/aireviewcorereviewcompletedview.d.ts +2 -2
  131. package/{src → dist}/aireviewcore/ui/aireviewcoreuicheckresultsview.d.ts +2 -2
  132. package/{src → dist}/aireviewcore/ui/aireviewcoreview.d.ts +2 -2
  133. package/{src → dist}/aireviewcore/ui/form/aireviewcoreformdropdown.d.ts +2 -2
  134. package/{src → dist}/aireviewcore/ui/form/aireviewcoreformmanager.d.ts +2 -2
  135. package/{src → dist}/aireviewmode/aireviewmode.d.ts +6 -4
  136. package/{src → dist}/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  137. package/{src → dist}/aitabs/aitabs.d.ts +4 -1
  138. package/{src → dist}/aitabs/aitabsmainview.d.ts +4 -1
  139. package/{src → dist}/aitabs/tabs/aitabsview.d.ts +22 -2
  140. package/{src → dist}/aitabs/tabs/tabbuttonview.d.ts +2 -2
  141. package/{src → dist}/aitabs/tabs/tabpanelview.d.ts +2 -2
  142. package/{src → dist}/aitranslate/aitranslate.d.ts +47 -4
  143. package/{src → dist}/aitranslate/aitranslatecontroller.d.ts +1 -1
  144. package/{src → dist}/aitranslate/ui/aitranslatecheckresultsview.d.ts +1 -1
  145. package/dist/index-content.css +95 -0
  146. package/dist/index-editor.css +2711 -2793
  147. package/dist/index.css +2699 -3521
  148. package/{src → dist}/index.d.ts +7 -6
  149. package/dist/index.js +5 -5
  150. package/dist/translations/af.js +1 -1
  151. package/dist/translations/af.umd.js +1 -1
  152. package/dist/translations/ar.js +1 -1
  153. package/dist/translations/ar.umd.js +1 -1
  154. package/dist/translations/ast.js +1 -1
  155. package/dist/translations/ast.umd.js +1 -1
  156. package/dist/translations/az.js +1 -1
  157. package/dist/translations/az.umd.js +1 -1
  158. package/dist/translations/be.js +1 -1
  159. package/dist/translations/be.umd.js +1 -1
  160. package/dist/translations/bg.js +1 -1
  161. package/dist/translations/bg.umd.js +1 -1
  162. package/dist/translations/bn.js +1 -1
  163. package/dist/translations/bn.umd.js +1 -1
  164. package/dist/translations/bs.js +1 -1
  165. package/dist/translations/bs.umd.js +1 -1
  166. package/dist/translations/ca.js +1 -1
  167. package/dist/translations/ca.umd.js +1 -1
  168. package/dist/translations/cs.js +1 -1
  169. package/dist/translations/cs.umd.js +1 -1
  170. package/dist/translations/da.js +1 -1
  171. package/dist/translations/da.umd.js +1 -1
  172. package/dist/translations/de-ch.js +1 -1
  173. package/dist/translations/de-ch.umd.js +1 -1
  174. package/dist/translations/de.js +1 -1
  175. package/dist/translations/de.umd.js +1 -1
  176. package/dist/translations/el.js +1 -1
  177. package/dist/translations/el.umd.js +1 -1
  178. package/dist/translations/en-au.js +1 -1
  179. package/dist/translations/en-au.umd.js +1 -1
  180. package/dist/translations/en-gb.js +1 -1
  181. package/dist/translations/en-gb.umd.js +1 -1
  182. package/dist/translations/en.js +1 -1
  183. package/dist/translations/en.umd.js +1 -1
  184. package/dist/translations/eo.js +1 -1
  185. package/dist/translations/eo.umd.js +1 -1
  186. package/dist/translations/es-co.js +1 -1
  187. package/dist/translations/es-co.umd.js +1 -1
  188. package/dist/translations/es.js +1 -1
  189. package/dist/translations/es.umd.js +1 -1
  190. package/dist/translations/et.js +1 -1
  191. package/dist/translations/et.umd.js +1 -1
  192. package/dist/translations/eu.js +1 -1
  193. package/dist/translations/eu.umd.js +1 -1
  194. package/dist/translations/fa.js +1 -1
  195. package/dist/translations/fa.umd.js +1 -1
  196. package/dist/translations/fi.js +1 -1
  197. package/dist/translations/fi.umd.js +1 -1
  198. package/dist/translations/fr.js +1 -1
  199. package/dist/translations/fr.umd.js +1 -1
  200. package/dist/translations/gl.js +1 -1
  201. package/dist/translations/gl.umd.js +1 -1
  202. package/dist/translations/gu.js +1 -1
  203. package/dist/translations/gu.umd.js +1 -1
  204. package/dist/translations/he.js +1 -1
  205. package/dist/translations/he.umd.js +1 -1
  206. package/dist/translations/hi.js +1 -1
  207. package/dist/translations/hi.umd.js +1 -1
  208. package/dist/translations/hr.js +1 -1
  209. package/dist/translations/hr.umd.js +1 -1
  210. package/dist/translations/hu.js +1 -1
  211. package/dist/translations/hu.umd.js +1 -1
  212. package/dist/translations/hy.js +1 -1
  213. package/dist/translations/hy.umd.js +1 -1
  214. package/dist/translations/id.js +1 -1
  215. package/dist/translations/id.umd.js +1 -1
  216. package/dist/translations/it.js +1 -1
  217. package/dist/translations/it.umd.js +1 -1
  218. package/dist/translations/ja.js +1 -1
  219. package/dist/translations/ja.umd.js +1 -1
  220. package/dist/translations/jv.js +1 -1
  221. package/dist/translations/jv.umd.js +1 -1
  222. package/dist/translations/kk.js +1 -1
  223. package/dist/translations/kk.umd.js +1 -1
  224. package/dist/translations/km.js +1 -1
  225. package/dist/translations/km.umd.js +1 -1
  226. package/dist/translations/kn.js +1 -1
  227. package/dist/translations/kn.umd.js +1 -1
  228. package/dist/translations/ko.js +1 -1
  229. package/dist/translations/ko.umd.js +1 -1
  230. package/dist/translations/ku.js +1 -1
  231. package/dist/translations/ku.umd.js +1 -1
  232. package/dist/translations/lt.js +1 -1
  233. package/dist/translations/lt.umd.js +1 -1
  234. package/dist/translations/lv.js +1 -1
  235. package/dist/translations/lv.umd.js +1 -1
  236. package/dist/translations/ms.js +1 -1
  237. package/dist/translations/ms.umd.js +1 -1
  238. package/dist/translations/nb.js +1 -1
  239. package/dist/translations/nb.umd.js +1 -1
  240. package/dist/translations/ne.js +1 -1
  241. package/dist/translations/ne.umd.js +1 -1
  242. package/dist/translations/nl.js +1 -1
  243. package/dist/translations/nl.umd.js +1 -1
  244. package/dist/translations/no.js +1 -1
  245. package/dist/translations/no.umd.js +1 -1
  246. package/dist/translations/oc.js +1 -1
  247. package/dist/translations/oc.umd.js +1 -1
  248. package/dist/translations/pl.js +1 -1
  249. package/dist/translations/pl.umd.js +1 -1
  250. package/dist/translations/pt-br.js +1 -1
  251. package/dist/translations/pt-br.umd.js +1 -1
  252. package/dist/translations/pt.js +1 -1
  253. package/dist/translations/pt.umd.js +1 -1
  254. package/dist/translations/ro.js +1 -1
  255. package/dist/translations/ro.umd.js +1 -1
  256. package/dist/translations/ru.js +1 -1
  257. package/dist/translations/ru.umd.js +1 -1
  258. package/dist/translations/si.js +1 -1
  259. package/dist/translations/si.umd.js +1 -1
  260. package/dist/translations/sk.js +1 -1
  261. package/dist/translations/sk.umd.js +1 -1
  262. package/dist/translations/sl.js +1 -1
  263. package/dist/translations/sl.umd.js +1 -1
  264. package/dist/translations/sq.js +1 -1
  265. package/dist/translations/sq.umd.js +1 -1
  266. package/dist/translations/sr-latn.js +1 -1
  267. package/dist/translations/sr-latn.umd.js +1 -1
  268. package/dist/translations/sr.js +1 -1
  269. package/dist/translations/sr.umd.js +1 -1
  270. package/dist/translations/sv.js +1 -1
  271. package/dist/translations/sv.umd.js +1 -1
  272. package/dist/translations/th.js +1 -1
  273. package/dist/translations/th.umd.js +1 -1
  274. package/dist/translations/ti.js +1 -1
  275. package/dist/translations/ti.umd.js +1 -1
  276. package/dist/translations/tk.js +1 -1
  277. package/dist/translations/tk.umd.js +1 -1
  278. package/dist/translations/tr.js +1 -1
  279. package/dist/translations/tr.umd.js +1 -1
  280. package/dist/translations/tt.js +1 -1
  281. package/dist/translations/tt.umd.js +1 -1
  282. package/dist/translations/ug.js +1 -1
  283. package/dist/translations/ug.umd.js +1 -1
  284. package/dist/translations/uk.js +1 -1
  285. package/dist/translations/uk.umd.js +1 -1
  286. package/dist/translations/ur.js +1 -1
  287. package/dist/translations/ur.umd.js +1 -1
  288. package/dist/translations/uz.js +1 -1
  289. package/dist/translations/uz.umd.js +1 -1
  290. package/dist/translations/vi.js +1 -1
  291. package/dist/translations/vi.umd.js +1 -1
  292. package/dist/translations/zh-cn.js +1 -1
  293. package/dist/translations/zh-cn.umd.js +1 -1
  294. package/dist/translations/zh.js +1 -1
  295. package/dist/translations/zh.umd.js +1 -1
  296. package/package.json +26 -51
  297. package/build/966.ai.js +0 -5
  298. package/build/ai.js +0 -4
  299. package/build/translations/af.js +0 -1
  300. package/build/translations/ar.js +0 -1
  301. package/build/translations/ast.js +0 -1
  302. package/build/translations/az.js +0 -1
  303. package/build/translations/be.js +0 -1
  304. package/build/translations/bg.js +0 -1
  305. package/build/translations/bn.js +0 -1
  306. package/build/translations/bs.js +0 -1
  307. package/build/translations/ca.js +0 -1
  308. package/build/translations/cs.js +0 -1
  309. package/build/translations/da.js +0 -1
  310. package/build/translations/de-ch.js +0 -1
  311. package/build/translations/de.js +0 -1
  312. package/build/translations/el.js +0 -1
  313. package/build/translations/en-au.js +0 -1
  314. package/build/translations/en-gb.js +0 -1
  315. package/build/translations/en.js +0 -1
  316. package/build/translations/eo.js +0 -1
  317. package/build/translations/es-co.js +0 -1
  318. package/build/translations/es.js +0 -1
  319. package/build/translations/et.js +0 -1
  320. package/build/translations/eu.js +0 -1
  321. package/build/translations/fa.js +0 -1
  322. package/build/translations/fi.js +0 -1
  323. package/build/translations/fr.js +0 -1
  324. package/build/translations/gl.js +0 -1
  325. package/build/translations/gu.js +0 -1
  326. package/build/translations/he.js +0 -1
  327. package/build/translations/hi.js +0 -1
  328. package/build/translations/hr.js +0 -1
  329. package/build/translations/hu.js +0 -1
  330. package/build/translations/hy.js +0 -1
  331. package/build/translations/id.js +0 -1
  332. package/build/translations/it.js +0 -1
  333. package/build/translations/ja.js +0 -1
  334. package/build/translations/jv.js +0 -1
  335. package/build/translations/kk.js +0 -1
  336. package/build/translations/km.js +0 -1
  337. package/build/translations/kn.js +0 -1
  338. package/build/translations/ko.js +0 -1
  339. package/build/translations/ku.js +0 -1
  340. package/build/translations/lt.js +0 -1
  341. package/build/translations/lv.js +0 -1
  342. package/build/translations/ms.js +0 -1
  343. package/build/translations/nb.js +0 -1
  344. package/build/translations/ne.js +0 -1
  345. package/build/translations/nl.js +0 -1
  346. package/build/translations/no.js +0 -1
  347. package/build/translations/oc.js +0 -1
  348. package/build/translations/pl.js +0 -1
  349. package/build/translations/pt-br.js +0 -1
  350. package/build/translations/pt.js +0 -1
  351. package/build/translations/ro.js +0 -1
  352. package/build/translations/ru.js +0 -1
  353. package/build/translations/si.js +0 -1
  354. package/build/translations/sk.js +0 -1
  355. package/build/translations/sl.js +0 -1
  356. package/build/translations/sq.js +0 -1
  357. package/build/translations/sr-latn.js +0 -1
  358. package/build/translations/sr.js +0 -1
  359. package/build/translations/sv.js +0 -1
  360. package/build/translations/th.js +0 -1
  361. package/build/translations/ti.js +0 -1
  362. package/build/translations/tk.js +0 -1
  363. package/build/translations/tr.js +0 -1
  364. package/build/translations/tt.js +0 -1
  365. package/build/translations/ug.js +0 -1
  366. package/build/translations/uk.js +0 -1
  367. package/build/translations/ur.js +0 -1
  368. package/build/translations/uz.js +0 -1
  369. package/build/translations/vi.js +0 -1
  370. package/build/translations/zh-cn.js +0 -1
  371. package/build/translations/zh.js +0 -1
  372. package/lang/contexts.json +0 -286
  373. package/lang/translations/af.po +0 -1144
  374. package/lang/translations/ar.po +0 -1144
  375. package/lang/translations/ast.po +0 -1144
  376. package/lang/translations/az.po +0 -1144
  377. package/lang/translations/be.po +0 -1144
  378. package/lang/translations/bg.po +0 -1144
  379. package/lang/translations/bn.po +0 -1144
  380. package/lang/translations/bs.po +0 -1144
  381. package/lang/translations/ca.po +0 -1144
  382. package/lang/translations/cs.po +0 -1144
  383. package/lang/translations/da.po +0 -1144
  384. package/lang/translations/de-ch.po +0 -1144
  385. package/lang/translations/de.po +0 -1144
  386. package/lang/translations/el.po +0 -1144
  387. package/lang/translations/en-au.po +0 -1144
  388. package/lang/translations/en-gb.po +0 -1144
  389. package/lang/translations/en.po +0 -1144
  390. package/lang/translations/eo.po +0 -1144
  391. package/lang/translations/es-co.po +0 -1144
  392. package/lang/translations/es.po +0 -1144
  393. package/lang/translations/et.po +0 -1144
  394. package/lang/translations/eu.po +0 -1144
  395. package/lang/translations/fa.po +0 -1144
  396. package/lang/translations/fi.po +0 -1144
  397. package/lang/translations/fr.po +0 -1144
  398. package/lang/translations/gl.po +0 -1144
  399. package/lang/translations/gu.po +0 -1144
  400. package/lang/translations/he.po +0 -1144
  401. package/lang/translations/hi.po +0 -1144
  402. package/lang/translations/hr.po +0 -1144
  403. package/lang/translations/hu.po +0 -1144
  404. package/lang/translations/hy.po +0 -1144
  405. package/lang/translations/id.po +0 -1144
  406. package/lang/translations/it.po +0 -1144
  407. package/lang/translations/ja.po +0 -1144
  408. package/lang/translations/jv.po +0 -1144
  409. package/lang/translations/kk.po +0 -1144
  410. package/lang/translations/km.po +0 -1144
  411. package/lang/translations/kn.po +0 -1144
  412. package/lang/translations/ko.po +0 -1144
  413. package/lang/translations/ku.po +0 -1144
  414. package/lang/translations/lt.po +0 -1144
  415. package/lang/translations/lv.po +0 -1144
  416. package/lang/translations/ms.po +0 -1144
  417. package/lang/translations/nb.po +0 -1144
  418. package/lang/translations/ne.po +0 -1144
  419. package/lang/translations/nl.po +0 -1144
  420. package/lang/translations/no.po +0 -1144
  421. package/lang/translations/oc.po +0 -1144
  422. package/lang/translations/pl.po +0 -1144
  423. package/lang/translations/pt-br.po +0 -1144
  424. package/lang/translations/pt.po +0 -1144
  425. package/lang/translations/ro.po +0 -1144
  426. package/lang/translations/ru.po +0 -1144
  427. package/lang/translations/si.po +0 -1144
  428. package/lang/translations/sk.po +0 -1144
  429. package/lang/translations/sl.po +0 -1144
  430. package/lang/translations/sq.po +0 -1144
  431. package/lang/translations/sr-latn.po +0 -1144
  432. package/lang/translations/sr.po +0 -1144
  433. package/lang/translations/sv.po +0 -1144
  434. package/lang/translations/th.po +0 -1144
  435. package/lang/translations/ti.po +0 -1144
  436. package/lang/translations/tk.po +0 -1144
  437. package/lang/translations/tr.po +0 -1144
  438. package/lang/translations/tt.po +0 -1144
  439. package/lang/translations/ug.po +0 -1144
  440. package/lang/translations/uk.po +0 -1144
  441. package/lang/translations/ur.po +0 -1144
  442. package/lang/translations/uz.po +0 -1144
  443. package/lang/translations/vi.po +0 -1144
  444. package/lang/translations/zh-cn.po +0 -1144
  445. package/lang/translations/zh.po +0 -1144
  446. package/src/aiactions/aiactions.d.ts +0 -53
  447. package/src/aiactions/aiactions.js +0 -23
  448. package/src/aiactions/model/aiactionsinteraction.js +0 -23
  449. package/src/aiactions/model/aiactionsreply.js +0 -23
  450. package/src/aiassistant/adapters/aiadapter.js +0 -23
  451. package/src/aiassistant/adapters/aitextadapter.js +0 -23
  452. package/src/aiassistant/adapters/awstextadapter.js +0 -23
  453. package/src/aiassistant/adapters/openaitextadapter.js +0 -23
  454. package/src/aiassistant/aiassistant.js +0 -23
  455. package/src/aiassistant/aiassistantediting.js +0 -23
  456. package/src/aiassistant/aiassistantui.js +0 -23
  457. package/src/aiassistant/legacyerrors.js +0 -23
  458. package/src/aiassistant/ui/aiassistantcontroller.js +0 -24
  459. package/src/aiassistant/ui/form/aiformcontentarea.js +0 -23
  460. package/src/aiassistant/ui/form/aiformerrorview.js +0 -23
  461. package/src/aiassistant/ui/form/aiformpromptview.js +0 -23
  462. package/src/aiassistant/ui/form/aiformtoolbarview.js +0 -23
  463. package/src/aiassistant/ui/form/aiformview.js +0 -23
  464. package/src/aiassistant/ui/form/aihistorylistitemview.js +0 -23
  465. package/src/aiassistant/ui/form/aihistorylistview.js +0 -23
  466. package/src/aiassistant/ui/form/prompthistory.js +0 -23
  467. package/src/aiassistant/ui/showaiassistantcommand.js +0 -23
  468. package/src/aiassistant/utils/common-translations.js +0 -23
  469. package/src/aiassistant/utils/normalizecommandsconfig.js +0 -23
  470. package/src/aiballoon/aiballoon.js +0 -23
  471. package/src/aiballoon/ui/aiballoonview.js +0 -23
  472. package/src/aichat/aichat.js +0 -23
  473. package/src/aichat/aichatballoon.js +0 -23
  474. package/src/aichat/aichatcontroller.d.ts +0 -77
  475. package/src/aichat/aichatcontroller.js +0 -23
  476. package/src/aichat/aichatui.js +0 -23
  477. package/src/aichat/model/aichatcontext.js +0 -23
  478. package/src/aichat/model/aichatconversation.js +0 -23
  479. package/src/aichat/model/aichatinteraction.js +0 -23
  480. package/src/aichat/ui/aichatballoonview.js +0 -23
  481. package/src/aichat/ui/aichatcontrolsview.js +0 -23
  482. package/src/aichat/ui/aichatfeedview.js +0 -23
  483. package/src/aichat/ui/aichatheaderview.js +0 -23
  484. package/src/aichat/ui/aichatview.js +0 -23
  485. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +0 -23
  486. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +0 -23
  487. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +0 -23
  488. package/src/aichat/ui/controls/aichatcontextpanelview.js +0 -23
  489. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +0 -23
  490. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +0 -23
  491. package/src/aichat/ui/controls/aichatpromptinputview.js +0 -23
  492. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +0 -23
  493. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +0 -23
  494. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +0 -23
  495. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +0 -23
  496. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +0 -23
  497. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +0 -23
  498. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +0 -23
  499. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +0 -23
  500. package/src/aichat/ui/feed/aichatfeederroritemview.js +0 -23
  501. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +0 -23
  502. package/src/aichat/ui/feed/aichatfeeditemview.js +0 -23
  503. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +0 -23
  504. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +0 -23
  505. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +0 -23
  506. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +0 -23
  507. package/src/aichat/utils/eventnames.js +0 -23
  508. package/src/aichat/utils/promisequeue.js +0 -23
  509. package/src/aichathistory/aichathistory.js +0 -23
  510. package/src/aichathistory/aichathistorycontroller.js +0 -23
  511. package/src/aichathistory/aichathistoryui.js +0 -23
  512. package/src/aichathistory/model/aichathistoryconversations.js +0 -23
  513. package/src/aichathistory/model/aichathistoryitem.js +0 -23
  514. package/src/aichathistory/ui/aichathistorylistitemview.js +0 -24
  515. package/src/aichathistory/ui/aichathistorylistview.js +0 -23
  516. package/src/aichathistory/ui/aichathistorysectionlistview.js +0 -23
  517. package/src/aichathistory/ui/aichathistoryview.js +0 -23
  518. package/src/aichatshortcuts/aichatshortcuts.js +0 -23
  519. package/src/aichatshortcuts/ui/aichatshortcutsview.js +0 -23
  520. package/src/aichatshortcuts/ui/aichatshortcutview.js +0 -23
  521. package/src/aiconfig.js +0 -23
  522. package/src/aicore/aiconnector.js +0 -23
  523. package/src/aicore/aiediting.js +0 -23
  524. package/src/aicore/model/aicapabilities.js +0 -23
  525. package/src/aicore/model/aicontext.js +0 -23
  526. package/src/aicore/model/aiinteraction.js +0 -23
  527. package/src/aicore/model/aimodels.js +0 -23
  528. package/src/aicore/model/aireply.js +0 -23
  529. package/src/aicore/pipeline/airesponseapplier.js +0 -24
  530. package/src/aicore/pipeline/airesponseparser.js +0 -24
  531. package/src/aicore/ui/aidisclaimerview.js +0 -23
  532. package/src/aicore/ui/aiskeleton.js +0 -23
  533. package/src/aicore/ui/aispinner.js +0 -23
  534. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +0 -23
  535. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +0 -23
  536. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +0 -23
  537. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +0 -23
  538. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +0 -23
  539. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +0 -23
  540. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +0 -23
  541. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +0 -23
  542. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +0 -23
  543. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +0 -23
  544. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +0 -23
  545. package/src/aicore/utils/common-translations.js +0 -23
  546. package/src/aicore/utils/createresizebutton.js +0 -23
  547. package/src/aicore/utils/documentposition.js +0 -23
  548. package/src/aicore/utils/documentrange.js +0 -23
  549. package/src/aicore/utils/eventnames.js +0 -23
  550. package/src/aicore/utils/geteditorfromcontext.js +0 -23
  551. package/src/aicore/utils/getoperationsfromreply.js +0 -23
  552. package/src/aicore/utils/getsuggestionpartsfromreply.js +0 -23
  553. package/src/aicore/utils/htmlparser.js +0 -23
  554. package/src/aicore/utils/htmlstreamer.js +0 -23
  555. package/src/aicore/utils/scrollmanager.js +0 -23
  556. package/src/aieditorintegration/aieditorintegration.js +0 -23
  557. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +0 -23
  558. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +0 -23
  559. package/src/aiquickactions/aiquickactions.js +0 -23
  560. package/src/aiquickactions/aiquickactionscommand.js +0 -23
  561. package/src/aiquickactions/aiquickactionsediting.js +0 -23
  562. package/src/aiquickactions/aiquickactionsui.js +0 -23
  563. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +0 -23
  564. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +0 -23
  565. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +0 -23
  566. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +0 -23
  567. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +0 -23
  568. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +0 -23
  569. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +0 -23
  570. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +0 -23
  571. package/src/aireviewcore/aireviewcorecontroller.js +0 -23
  572. package/src/aireviewcore/aireviewcoreediting.js +0 -23
  573. package/src/aireviewcore/aireviewcoreui.js +0 -23
  574. package/src/aireviewcore/model/aireviewcheck.js +0 -23
  575. package/src/aireviewcore/model/aireviewchecklist.js +0 -23
  576. package/src/aireviewcore/model/aireviewcheckresult.js +0 -23
  577. package/src/aireviewcore/model/aireviewcheckresultchange.js +0 -23
  578. package/src/aireviewcore/model/aireviewcheckrun.js +0 -23
  579. package/src/aireviewcore/model/aireviewsystemcheckrun.js +0 -23
  580. package/src/aireviewcore/types.js +0 -23
  581. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +0 -23
  582. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +0 -23
  583. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +0 -23
  584. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +0 -23
  585. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +0 -23
  586. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +0 -23
  587. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +0 -23
  588. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +0 -23
  589. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +0 -23
  590. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +0 -23
  591. package/src/aireviewcore/ui/aireviewcoreview.js +0 -23
  592. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +0 -23
  593. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +0 -23
  594. package/src/aireviewmode/aireviewcheckdefinitions.js +0 -23
  595. package/src/aireviewmode/aireviewmode.js +0 -23
  596. package/src/aireviewmode/aireviewmodecontroller.js +0 -23
  597. package/src/aireviewmode/aireviewmodeui.js +0 -23
  598. package/src/aireviewmode/model/aireviewcheckcustom.js +0 -23
  599. package/src/aireviewmode/model/aireviewcheckextra.js +0 -23
  600. package/src/aireviewmode/model/aireviewcustomcheckrun.js +0 -23
  601. package/src/aireviewmode/model/aireviewextracheckrun.js +0 -23
  602. package/src/aireviewmode/model/aireviewmodechecklist.js +0 -23
  603. package/src/aitabs/aitabs.js +0 -23
  604. package/src/aitabs/aitabsmainview.js +0 -23
  605. package/src/aitabs/tabs/aitabsview.js +0 -23
  606. package/src/aitabs/tabs/tabbuttonview.js +0 -23
  607. package/src/aitabs/tabs/tabpanelview.js +0 -23
  608. package/src/aitranslate/aitranslate.js +0 -23
  609. package/src/aitranslate/aitranslatecontroller.js +0 -23
  610. package/src/aitranslate/aitranslateui.js +0 -23
  611. package/src/aitranslate/model/aitranslatecheck.js +0 -23
  612. package/src/aitranslate/model/aitranslatechecklist.js +0 -23
  613. package/src/aitranslate/model/aitranslatecheckrun.js +0 -23
  614. package/src/aitranslate/ui/aitranslatechecklistview.js +0 -23
  615. package/src/aitranslate/ui/aitranslatecheckresultsview.js +0 -23
  616. package/src/augmentation.js +0 -23
  617. package/src/errors.js +0 -23
  618. package/src/errorsmap.js +0 -23
  619. package/src/index.js +0 -23
  620. package/theme/aiassistant/ai-dropdown.css +0 -37
  621. package/theme/aiassistant/ai-form.css +0 -262
  622. package/theme/aiassistant/ai.css +0 -120
  623. package/theme/aiballoon/aiballoon.css +0 -58
  624. package/theme/aichat/aichat-controls/aichat-context-chip.css +0 -139
  625. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +0 -207
  626. package/theme/aichat/aichat-controls/aichat-context-controls.css +0 -45
  627. package/theme/aichat/aichat-controls/aichat-controls-button.css +0 -75
  628. package/theme/aichat/aichat-controls/aichat-controls-loader.css +0 -77
  629. package/theme/aichat/aichat-controls/model-unavailable-message.css +0 -39
  630. package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -45
  631. package/theme/aichat/aichat-controls/prompt-input.css +0 -78
  632. package/theme/aichat/aichat-controls.css +0 -121
  633. package/theme/aichat/aichat.css +0 -55
  634. package/theme/aichat/aichatballoon.css +0 -122
  635. package/theme/aichat/aichatfeed.css +0 -430
  636. package/theme/aichat/aichathistory.css +0 -264
  637. package/theme/aichat/aiminitoolbar.css +0 -79
  638. package/theme/aichat/aisuggestioncontainer.css +0 -172
  639. package/theme/aichatshortcuts/aichatshortcuts.css +0 -84
  640. package/theme/aieditorintegration/aitogglebutton.css +0 -17
  641. package/theme/aiquickactions/aiquickactions.css +0 -177
  642. package/theme/aiquickactions/aiquickactionsballoon.css +0 -119
  643. package/theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css +0 -47
  644. package/theme/aireviewcore/aireviewcore-check-list.css +0 -278
  645. package/theme/aireviewcore/aireviewcore-check-run-result.css +0 -103
  646. package/theme/aireviewcore/aireviewcore-check-run.css +0 -237
  647. package/theme/aireviewcore/aireviewcore-review-completed.css +0 -52
  648. package/theme/aireviewcore/aireviewcore.css +0 -134
  649. package/theme/aitabs/aitabsresizebutton.css +0 -14
  650. package/theme/aitabs/aitabsview.css +0 -69
  651. package/theme/aitabs/tabs/tabbuttonview.css +0 -76
  652. package/theme/aitabs/tabs/tabsview.css +0 -89
  653. package/theme/aitranslate/aitranslate.css +0 -116
  654. package/theme/common/aibutton.css +0 -157
  655. package/theme/common/aidisclaimer.css +0 -29
  656. package/theme/common/aiheader.css +0 -99
  657. package/theme/common/ainotification.css +0 -65
  658. package/theme/common/aiskeleton.css +0 -54
  659. package/theme/common/aispinner.css +0 -58
  660. package/theme/common/aisuggestioncontentpartstate.css +0 -33
  661. package/theme/common/aisuggestioncontentparttoolbar.css +0 -34
  662. package/theme/common/aisuggestionstreamablecontent.css +0 -62
  663. package/theme/common/aitrackchanges.css +0 -29
  664. /package/{src → dist}/aiactions/model/aiactionsreply.d.ts +0 -0
  665. /package/{src → dist}/aiassistant/legacyerrors.d.ts +0 -0
  666. /package/{src → dist}/aichat/ui/feed/aichatfeederroritemview.d.ts +0 -0
  667. /package/{src → dist}/aichat/utils/eventnames.d.ts +0 -0
  668. /package/{src → dist}/aicore/model/aicontext.d.ts +0 -0
  669. /package/{src → dist}/aicore/utils/documentposition.d.ts +0 -0
  670. /package/{src → dist}/aicore/utils/documentrange.d.ts +0 -0
  671. /package/{src → dist}/aicore/utils/eventnames.d.ts +0 -0
  672. /package/{src → dist}/aicore/utils/htmlparser.d.ts +0 -0
  673. /package/{src → dist}/aicore/utils/htmlstreamer.d.ts +0 -0
  674. /package/{src → dist}/aicore/utils/scrollmanager.d.ts +0 -0
  675. /package/{src → dist}/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +0 -0
  676. /package/{src → dist}/aireviewcore/model/aireviewcheck.d.ts +0 -0
  677. /package/{src → dist}/aireviewcore/model/aireviewsystemcheckrun.d.ts +0 -0
  678. /package/{src → dist}/aireviewcore/types.d.ts +0 -0
  679. /package/{src → dist}/aireviewmode/aireviewcheckdefinitions.d.ts +0 -0
  680. /package/{src → dist}/aireviewmode/aireviewmodeui.d.ts +0 -0
  681. /package/{src → dist}/aireviewmode/model/aireviewcheckcustom.d.ts +0 -0
  682. /package/{src → dist}/aireviewmode/model/aireviewcheckextra.d.ts +0 -0
  683. /package/{src → dist}/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -0
  684. /package/{src → dist}/aireviewmode/model/aireviewextracheckrun.d.ts +0 -0
  685. /package/{src → dist}/aireviewmode/model/aireviewmodechecklist.d.ts +0 -0
  686. /package/{src → dist}/aitranslate/aitranslateui.d.ts +0 -0
  687. /package/{src → dist}/aitranslate/model/aitranslatecheck.d.ts +0 -0
  688. /package/{src → dist}/aitranslate/model/aitranslatechecklist.d.ts +0 -0
  689. /package/{src → dist}/aitranslate/model/aitranslatecheckrun.d.ts +0 -0
  690. /package/{src → dist}/aitranslate/ui/aitranslatechecklistview.d.ts +0 -0
  691. /package/{src → dist}/augmentation.d.ts +0 -0
  692. /package/{src → dist}/errors.d.ts +0 -0
  693. /package/{src → dist}/errorsmap.d.ts +0 -0
package/build/ai.js DELETED
@@ -1,4 +0,0 @@
1
- /*!
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md.
4
- */(()=>{var t,e,n={123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},280:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-quick-actions-button-color:#743ccd;--ck-ai-quick-actions-button-background-color:#f3ebff;--ck-ai-quick-actions-list-max-height:300px;--ck-ai-quick-actions-list-item-group-row-color:#707070;--ck-ai-quick-actions-dropdown-max-width:309px;--ck-ai-quick-actions-group-single-button-height:28.68px;--ck-ai-quick-actions-group-search-result-button-min-height:40.68px}.ck-dropdown>.ck-dropdown__panel>.ck-ai-quick-actions{max-width:var(--ck-ai-quick-actions-dropdown-max-width)}.ck-dropdown>.ck-dropdown__panel>.ck-ai-quick-actions ul{max-height:var(--ck-ai-quick-actions-list-max-height);overflow:auto}.ck-ai-quick-actions-group-panel>.ck-ai-quick-actions-group-list{max-width:var(--ck-ai-quick-actions-dropdown-max-width)}.ck-ai-quick-actions-group-panel>.ck-ai-quick-actions-group-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-ai-quick-actions-dropdown .ck.ck-button:not(.ck-dropdown__button),.ck-ai-quick-actions-group-panel .ck.ck-button:not(.ck-dropdown__button){border-color:transparent;box-shadow:none}.ck-toolbar__items>.ck-ai-quick-actions-dropdown>.ck.ck-button,.ck-toolbar__items>.ck.ck-button.ck-ai-quick-actions-button{--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-on-background:#f2ebff;--ck-color-button-on-hover-background:#e8dbff;--ck-color-button-on-active-background:#e8dbff;--ck-color-button-on-disabled-background:#f2ebff;--ck-color-button-on-color:#743ccd}.ck-ai-quick-actions-dropdown,.ck-ai-quick-actions-group-panel{--ck-color-list-button-hover-background:var(--ck-ai-quick-actions-button-background-color);--ck-color-button-default-hover-background:var(--ck-ai-quick-actions-button-background-color);--ck-color-button-on-background:var(--ck-ai-quick-actions-button-background-color);--ck-color-button-on-hover-background:var(--ck-ai-quick-actions-button-background-color);--ck-color-search-border:#ccced1}.ck-ai-quick-actions-dropdown .ck.ck-button.ck-dropdown__button.ck-on,.ck-ai-quick-actions-group-panel .ck.ck-button.ck-dropdown__button.ck-on{color:var(--ck-ai-quick-actions-button-color)}.ck-ai-quick-actions-dropdown .ck-ai-quick-actions-search>.ck-search__query_with-icon,.ck-ai-quick-actions-group-panel .ck-ai-quick-actions-search>.ck-search__query_with-icon{border-bottom:1px solid var(--ck-color-search-border);padding:var(--ck-spacing-large)}.ck-ai-quick-actions-dropdown .ck-search__info,.ck-ai-quick-actions-group-panel .ck-search__info{padding:var(--ck-spacing-medium) var(--ck-spacing-large);width:100%}.ck-ai-quick-actions-dropdown .ck-search__info *,.ck-ai-quick-actions-group-panel .ck-search__info *{white-space:normal}.ck-ai-quick-actions-dropdown .ck-search__info>span:first-child,.ck-ai-quick-actions-group-panel .ck-search__info>span:first-child{display:block;font-weight:700}.ck-ai-quick-actions-dropdown .ck-search__info:not(.ck-hidden)~.ck.ck-list,.ck-ai-quick-actions-group-panel .ck-search__info:not(.ck-hidden)~.ck.ck-list{display:none}.ck-ai-quick-actions-dropdown .ck-ai-quick-actions-button_with-group__open-paren,.ck-ai-quick-actions-group-panel .ck-ai-quick-actions-button_with-group__open-paren{margin-left:var(--ck-spacing-medium)}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button{margin-bottom:0;width:100%}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-button__label,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-button__label{width:100%}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__content,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__content{display:flex;flex-direction:column;width:100%}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__group-row,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__group-row{align-items:center;color:var(--ck-ai-quick-actions-list-item-group-row-color);display:flex;font-size:calc(var(--ck-font-size-base)*.9);line-height:.923em;margin-bottom:.427em;vertical-align:middle}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__group-row .ck-icon,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__group-row .ck-icon{height:1.231em;margin-right:.297em;width:1.231em}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__group-row .ck.ck-highlighted-text,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__group-row .ck.ck-highlighted-text{color:#707070;font-size:calc(var(--ck-font-size-base)*.7);line-height:1.319em;margin-left:var(--ck-spacing-tiny);vertical-align:middle}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button:not(.ck-ai-quick-actions-search-result-button_with-group) .ck-button__label>.ck-icon,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button:not(.ck-ai-quick-actions-search-result-button_with-group) .ck-button__label>.ck-icon{display:none}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__action-row,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__action-row{align-items:center;display:flex}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__action-row span,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button .ck-ai-quick-actions-search-result__action-row span{line-height:1.2}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button.ck-ai-quick-actions-search-result-button_with-group,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button.ck-ai-quick-actions-search-result-button_with-group{border:none;min-height:var(--ck-ai-quick-actions-group-search-result-button-min-height);padding-bottom:.385em;padding-top:.385em}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button.ck-ai-quick-actions-search-result-button_with-group span,.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button.ck-ai-quick-actions-search-result-button_with-group span{white-space:normal}.ck-ai-quick-actions-dropdown .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button:not(.ck-ai-quick-actions-search-result-button_with-group),.ck-ai-quick-actions-group-panel .ck-list__item>.ck.ck-button.ck-ai-quick-actions-search-result-button:not(.ck-ai-quick-actions-search-result-button_with-group){border:none;height:var(--ck-ai-quick-actions-group-single-button-height);padding-bottom:.385em;padding-top:.385em}.ck-ai-quick-actions-dropdown .ck.ck-button:not(.ck-dropdown__button):focus,.ck-ai-quick-actions-group-panel .ck.ck-button:not(.ck-dropdown__button):focus{background-color:var(--ck-ai-quick-actions-button-background-color)}.ck-ai-quick-actions-dropdown .ck-list__item:last-child>.ck.ck-button:not(.ck-list-item-button),.ck-ai-quick-actions-group-panel .ck-list__item:last-child>.ck.ck-button:not(.ck-list-item-button){margin-bottom:0}",""]);const a=o},331:(t,e,n)=>{t.exports=n(9237)("./src/clipboard.js")},355:(t,e,n)=>{t.exports=n(9237)("./src/icons.js")},500:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,"div.ck.ck-ai-suggestion__content-part-state .ck-ai-suggestion__content-part-state__label{margin-right:var(--ck-spacing-medium);vertical-align:middle}div.ck.ck-ai-suggestion__content-part-state .ck-icon{--ck-icon-size:1.477em}div.ck.ck-ai-suggestion__content-part-state.ck-ai-suggestion__content-part-state_accepted>*{color:var(--ck-color-base-action)}div.ck.ck-ai-suggestion__content-part-state.ck-ai-suggestion__content-part-state_rejected>*{color:var(--ck-color-base-error)}div.ck.ck-ai-suggestion__content-part-state.ck-ai-suggestion__content-part-state_outdated>*{color:var(--ck-color-ai-chat-icon-outdated)}",""]);const a=o},547:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-suggestion-inactive-color-background:hsla(128,6%,93%,.35);--ck-ai-suggestion-inactive-color-border:hsla(128,1%,73%,.35);--ck-ai-suggestion-marker-insertion-border-color:var(--ck-color-suggestion-marker-insertion-border,rgba(30,174,49,.35));--ck-ai-suggestion-marker-insertion-background-color:var(--ck-color-suggestion-marker-insertion-background,rgba(102,229,119,.35));--ck-ai-suggestion-marker-deletion-border-color:var(--ck-color-suggestion-marker-deletion-border,rgba(174,30,66,.35));--ck-ai-suggestion-marker-deletion-background-color:var(--ck-color-suggestion-marker-deletion-background,rgba(229,102,134,.35));--ck-ai-suggestion-marker-deletion-stroke-color:var(--ck-color-suggestion-marker-deletion-stroke,rgba(87,15,33,.5));--ck-ai-suggestion-marker-deletion-border-color-active:rgba(109,18,41,.5);--ck-ai-suggestion-marker-deletion-background-color-active:rgba(218,37,82,.5);--ck-ai-suggestion-marker-insertion-border-color-active:rgba(18,109,31,.5);--ck-ai-suggestion-marker-insertion-background-color-active:rgba(37,218,61,.5);--ck-ai_review-suggestion-color:rgba(116,60,205,.5);--ck-ai_review-suggestion-color-active:rgba(79,35,149,.8)}",""]);const a=o},705:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-button.ck-tab-button{border:0;cursor:pointer;justify-content:center;padding:0}.ck.ck-button.ck-tab-button:active,.ck.ck-button.ck-tab-button:focus{box-shadow:none}.ck.ck-button.ck-tab-button:not(.ck-disabled):hover{background-color:var(--ck-color-tab-button-active-background)}.ck.ck-button.ck-tab-button .ck.ck-icon{box-sizing:content-box;color:var(--ck-color-tab-button-icon);padding:var(--ck-tab-button-padding)}.ck.ck-button.ck-tab-button.ck-on{background-color:var(--ck-color-tab-button-active-background);border:0;color:var(--ck-color-tab-button-active-border)}.ck.ck-button.ck-tab-button.ck-on .ck.ck-icon{background-color:var(--ck-color-tab-button-active-background);color:var(--ck-color-tab-button-active-icon)}.ck.ck-button.ck-tab-button.ck-tab-button_top.ck-on{border-bottom:1px solid var(--ck-color-tab-button-active-icon);box-shadow:var(--ck-color-tab-button-active-icon) 0 1px 0 0}.ck.ck-button.ck-tab-button.ck-tab-button_top.ck-on .ck.ck-icon{padding-bottom:calc(var(--ck-tab-button-padding) - 1px)}.ck.ck-button.ck-tab-button.ck-tab-button_left.ck-on{border-left:0;border-right:1px solid var(--ck-color-tab-button-active-icon);box-shadow:var(--ck-color-tab-button-active-icon) 1px 0 0 0}.ck.ck-button.ck-tab-button.ck-tab-button_left.ck-on .ck.ck-icon{padding-right:calc(var(--ck-tab-button-padding) - 1px)}.ck.ck-button.ck-tab-button.ck-tab-button_right.ck-on{border-left:1px solid var(--ck-color-tab-button-active-icon);border-right:0;box-shadow:var(--ck-color-tab-button-active-icon) -1px 0 0 0}.ck.ck-button.ck-tab-button.ck-tab-button_right.ck-on .ck.ck-icon{padding-left:calc(var(--ck-tab-button-padding) - 1px)}",""]);const a=o},898:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-color-ai-chat-shortcut-border-color:#e8dbff;--ck-color-ai-chat-shortcut-icon-color:#743ccd;--ck-color-ai-chat-shortcut-icon-color-hover:#f2ebff;--ck-color-ai-chat-shortcuts-prompt-input-animation-background:rgba(151,71,255,.05);--ck-ai-chat-shortcut-border-radius:.6em;--ck-ai-chat-shortcut-padding:var(--ck-spacing-medium) calc(var(--ck-spacing-standard)*2);--ck-ai-chat-shortcut-min-height:3.07em;--ck-ai-chat-shortcut-icon-size:1.385em;--ck-ai-chat-shortcuts-prompt-input-animation:ck-ai-chat-shortcuts-prompt-input-glow .8s ease-in-out;--ck-ai-chat-shortcuts-prompt-input-animation-box-shadow:0 0 0 4px rgba(116,60,205,.34);--ck-ai-chat-shortcuts-prompt-input-animation-border:1px solid #743ccd}.ck.ck-ai-chat-shortcuts>.ck-list{gap:var(--ck-spacing-medium);padding:0}.ck.ck-ai-chat-shortcuts>.ck-list .ck.ck-button.ck-ai-chat-shortcut{border-color:var(--ck-color-ai-chat-shortcut-border-color);border-radius:var(--ck-ai-chat-shortcut-border-radius);font-weight:500;min-height:var(--ck-ai-chat-shortcut-min-height);padding:var(--ck-ai-chat-shortcut-padding)}.ck.ck-ai-chat-shortcuts>.ck-list .ck.ck-button.ck-ai-chat-shortcut .ck-icon{--ck-icon-size:var(--ck-ai-chat-shortcut-icon-size);--ck-icon-font-size:1em;color:var(--ck-color-ai-chat-shortcut-icon-color);flex:0 0 auto;margin-right:var(--ck-spacing-standard)}.ck.ck-ai-chat-shortcuts>.ck-list .ck.ck-button.ck-ai-chat-shortcut:hover{background-color:var(--ck-color-ai-chat-shortcut-icon-color-hover)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__items{margin-top:auto}.ck.ck-ai-chat__prompt-input.ck-search.ck-ai-chat__prompt-input_highlighted .ck.ck-input.ck-textarea{--ck-color-ai-chat-prompt-input-animation-background:var(--ck-color-ai-chat-shortcuts-prompt-input-animation-background);animation:var(--ck-ai-chat-prompt-input-animation),var(--ck-ai-chat-shortcuts-prompt-input-animation)}@keyframes ck-ai-chat-shortcuts-prompt-input-glow{0%{border:var(--ck-ai-chat-shortcuts-prompt-input-animation-border);box-shadow:var(--ck-ai-chat-shortcuts-prompt-input-animation-box-shadow)}to{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow)}}",""]);const a=o},993:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-form-view-width:600px;--ck-ai-form-content-height:175px;--ck-ai-form-content-background:#fafafa;--ck-ai-form-history-font-size:.9em;--ck-ai-form-error-background:var(--ck-color-light-red)}.ck .ck-ai-form{max-width:100%;width:var(--ck-ai-form-view-width)}@media screen and (max-width:600px){.ck .ck-ai-form{--ck-ai-form-view-width:100vw}}.ck .ck-ai-form .ck-ai-form-content{padding:var(--ck-spacing-large);width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-input{width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area-wrapper{border:1px solid var(--ck-color-base-border);border-radius:2px;max-height:var(--ck-ai-form-content-height);overflow-y:auto;width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area-wrapper:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area{background-color:var(--ck-ai-form-content-background);display:flex}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area.ck-ai-form__content-area--processing{--ck-color-text:var(--ck-color-input-disabled-text);background-color:var(--ck-color-input-disabled-background)}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{box-sizing:content-box;min-height:calc(var(--ck-line-height-base)*var(--ck-font-size-base));padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);white-space:normal;width:100%}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{padding-right:0}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{padding-left:0}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field>*{color:inherit;white-space:normal}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{margin-left:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button-wrapper{display:flex;flex-direction:column-reverse;padding-left:2px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button{bottom:1px;min-height:unset;min-width:unset;padding:4px;position:sticky;right:1px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button svg{--ck-icon-size:16px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button.ck-ai-form__copy-button--copied{color:inherit}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__toolbar{border:none;margin-bottom:calc(var(--ck-spacing-medium)*2);margin-top:var(--ck-spacing-medium);padding:0}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__loader{align-items:center;display:flex}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__loader .ck-spinner{box-sizing:border-box}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete{display:flex;justify-content:space-between}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view{flex-grow:1}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{border-color:var(--ck-ai-form-submit-button-border-color);color:var(--ck-ai-form-submit-button-text-color)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{margin-left:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{margin-right:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit.ck-disabled{border-color:var(--ck-ai-form-submit-button-disabled-border-color)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{bottom:var(--ck-spacing-small);font-size:var(--ck-font-size-tiny);min-height:unset;min-width:unset;padding:4px;position:absolute;top:var(--ck-spacing-small)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{right:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{left:var(--ck-spacing-medium)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{padding-right:30px}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{padding-left:30px}@media screen and (max-width:600px){.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{--ck-input-width:auto}}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto;grid-column-gap:0;grid-row-gap:0}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>span{grid-area:1/1/2/2}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button{background:none;font-size:var(--ck-ai-form-history-font-size);grid-area:1/2/2/3;justify-self:start;margin:var(--ck-spacing-medium) 0 0;min-height:auto;padding:0}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button .ck-button__label{line-height:inherit}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button .ck-button__label:hover{text-decoration:underline}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-list{grid-area:2/1/3/3}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-list .ck-list__item .ck-button .ck-button__label{font-size:var(--ck-ai-form-history-font-size);line-height:var(--ck-line-height-base);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck .ck-ai-form .ck-ai-form__error{align-items:center;background-color:var(--ck-ai-form-error-background);border-radius:2px;color:var(--ck-color-base-text);display:flex;justify-content:center;margin-bottom:var(--ck-spacing-medium);padding:var(--ck-spacing-medium)}",""]);const a=o},1106:t=>{"use strict";t.exports=function(t){return t[1]}},1782:(t,e,n)=>{t.exports=n(9237)("./src/core.js")},1783:(t,e,n)=>{t.exports=n(9237)("./src/engine.js")},1882:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-disclaimer-background-color:#f5f5f5;--ck-ai-disclaimer-border-color:#ced0d4;--ck-ai-disclaimer-text-color:#707070}.ck.ck-ai-disclaimer{background-color:var(--ck-ai-disclaimer-background-color);border-top:1px solid var(--ck-ai-disclaimer-border-color);padding:var(--ck-spacing-standard) 1em}.ck.ck-ai-disclaimer>.ck.ck-ai-disclaimer__content{color:var(--ck-ai-disclaimer-text-color);font-size:.75em;line-height:1.025em;text-align:center;text-wrap:auto;word-break:normal}",""]);const a=o},2103:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-tabs-overlay-top-position:0;--ck-tabs-overlay-right-position:0;--ck-tabs-overlay-left-position:auto;--ck-tabs-overlay-bottom-position:auto;--ck-tabs-overlay-height:100%;--ck-ai-tabs-overlay-width:500px;--ck-ai-tabs-overlay-width-maximized:50%;--ck-ai-tabs-overlay-z-index:calc(var(--ck-z-dialog) - 1)}.ck.ck-tabs.ck-ai-tabs{--ck-tabs-buttons-container-buttons-vertical-spacing:61.5px;--ck-color-tab-button-active-icon:#743ccd;--ck-color-tab-button-active-border:#743ccd}.ck.ck-tabs.ck-ai-tabs .ck-tab-panel{display:flex;flex-direction:column;height:100%}.ck.ck-tabs.ck-ai-tabs .ck-tab-panel>*{flex-grow:1}.ck.ck-tabs.ck-ai-tabs .ck-tab-panel.ck-tab-panel_disabled{opacity:.5;pointer-events:none}.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay{border-bottom:0;border-radius:0;border-top:0;bottom:var(--ck-tabs-overlay-bottom-position);height:var(--ck-tabs-overlay-height);left:var(--ck-tabs-overlay-left-position);position:fixed;right:var(--ck-tabs-overlay-right-position);top:var(--ck-tabs-overlay-top-position);transition:width .3s ease;width:var(--ck-ai-tabs-overlay-width);z-index:var(--ck-ai-tabs-overlay-z-index)}.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay.ck-ai-tabs_maximized{width:var(--ck-ai-tabs-overlay-width-maximized)}.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay.ck-tabs_left{--ck-tabs-overlay-right-position:auto;--ck-tabs-overlay-left-position:0;border-left:0}.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay.ck-tabs_right{border-right:0}",""]);const a=o},2158:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-toolbar.ck-ai-suggestion-content-part-toolbar{--ck-icon-size:1.477em;border:0;padding:0}.ck.ck-toolbar.ck-ai-suggestion-content-part-toolbar .ck-toolbar__items{gap:var(--ck-spacing-standard)}.ck.ck-toolbar.ck-ai-suggestion-content-part-toolbar .ck-button{--ck-ui-component-min-height:1.726em;color:var(--ck-ai-chat-suggestion-icon-default-color);margin:0}.ck.ck-toolbar.ck-ai-suggestion-content-part-toolbar .ck-button:hover{background-color:var(--ck-ai-button-secondary-hover-background-color);color:var(--ck-ai-background-color-action-button)}",""]);const a=o},2241:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,':root{--ck-ai-review-color-text:#743ccd;--ck-ai-review-border-color-button:#c5b2e6}.ck.ck-ai-review .ck-ai_review__check-run{display:flex;flex-direction:column;height:100%;overflow:auto;position:relative}.ck.ck-ai-review .ck-ai_review__check-run:has(.ck-ai_review__check-run-skeleton-container:not(.ck-hidden)){overflow:hidden}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result{animation:ck-ai-check-run-list-item-show .25s .1s forwards;box-shadow:inset 3px 0 0 0 transparent;opacity:0;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large);transition:box-shadow .3s ease-in-out;transition-behavior:allow-discrete;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result{animation:none;opacity:1;transition-duration:0s;visibility:visible}}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result:not(:first-child){border-top:1px solid var(--ck-color-base-border)}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result:last-child{contain:layout;position:relative}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result:last-child:after{background:var(--ck-color-base-border);bottom:-1px;content:"";display:block;height:1px;left:0;position:absolute;right:0}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result .ck-suggestion-marker{white-space:break-spaces}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result:hover{box-shadow:3px 0 0 0 var(--ck-ai-review-check-list-item-hover-border-color) inset}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result.ck-ai_review__check-run-result_active{box-shadow:3px 0 0 0 var(--ck-ai-review-check-list-item-active-border-color) inset}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result.ck-ai_review__check-run-result_active .ck-suggestion-marker-insertion{background:var(--ck-ai-suggestion-marker-insertion-background-color-active);border-bottom:3px solid var(--ck-ai-suggestion-marker-insertion-border-color-active);border-top:3px solid var(--ck-ai-suggestion-marker-insertion-border-color-active)}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result.ck-ai_review__check-run-result_active .ck-suggestion-marker-deletion{background:var(--ck-ai-suggestion-marker-deletion-background-color-active);border-bottom:3px solid var(--ck-ai-suggestion-marker-deletion-border-color-active);border-top:3px solid var(--ck-ai-suggestion-marker-deletion-border-color-active)}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-result.ck-ai_review__check-run-result_removing{animation:ck-ai-check-run-item-remove .2s forwards}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-header{align-items:center;border-bottom:1px solid var(--ck-color-base-border);display:flex;gap:var(--ck-spacing-standard);justify-content:space-between;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large)}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-title-wrapper{align-items:flex-start;display:flex;min-width:0}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-title-wrapper>.ck-ai-spinner{margin-inline-end:var(--ck-spacing-large);transition:width .25s,opacity .25s,margin-inline-end .25s,display .25s;transition-behavior:allow-discrete}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-title-wrapper>.ck-ai-spinner.ck-hidden{margin-inline-end:0;opacity:0;width:0}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-title-wrapper .ck-ai_review__check-run-results-header-title-content{min-width:0}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-title-wrapper .ck-ai_review__check-run-results-header-title-content .ck-ai_review__check-run-results-header-subtitle,.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-title-wrapper .ck-ai_review__check-run-results-header-title-content .ck-ai_review__check-run-results-header-title{align-self:center;display:block;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-title-wrapper .ck-ai_review__check-run-results-header-title-content .ck-ai_review__check-run-results-header-title{font-weight:700}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-buttons{align-items:center;display:flex;flex-shrink:0;gap:var(--ck-spacing-standard);min-height:30px}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-buttons .ck-ai_review__check-run-accept-all-button{border:none}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-wrapper{height:100%;overflow:auto;position:relative;--ck-content-font-size:13px}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-results-wrapper:has(.ck-ai_review__check-run-skeleton-container:not(.ck-hidden)){overflow:hidden}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-skeleton-container{height:100%;position:absolute;top:0;width:100%}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-skeleton-container .ck-ai_review__check-run-skeleton-item{border-bottom:1px solid var(--ck-color-base-border);box-sizing:border-box;height:auto;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large);position:static}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-skeleton-container .ck-ai_review__check-run-skeleton-item.ck-ai-skeleton{--ck-ai-skeleton-gap:var(--ck-spacing-small)}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-error-container{align-items:flex-end;display:flex;flex-direction:column;gap:var(--ck-spacing-medium-small);padding:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-standard) var(--ck-spacing-large)}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-error-container.ck-ai_review__check-run-error-container_border-bottom{border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-error-container .ck-ai_review__check-run-error-retry-button{border:1px solid var(--ck-ai-review-border-color-button);border-radius:var(--ck-border-radius);color:var(--ck-ai-review-color-text);font-size:11.7px;gap:var(--ck-spacing-small);min-height:unset}.ck.ck-ai-review .ck-ai_review__check-run .ck-ai_review__check-run-error-container:not(.ck-hidden)+.ck-ai_review__check-run-results-container:not(.ck-hidden)>.ck-ai_review__check-run-result:first-child{border-top:1px solid var(--ck-color-base-border)}@keyframes ck-ai-check-run-list-item-show{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}@keyframes ck-ai-check-run-item-remove{0%{display:block;opacity:1;visibility:visible}to{display:none;opacity:0;visibility:hidden}}',""]);const a=o},2380:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-spinner-size:var(--ck-toolbar-spinner-size);--ck-ai-spinner-background:linear-gradient(90deg,#fff,#949494);--ck-ai-spinner-mask:radial-gradient(farthest-side,transparent 66%,#000 0);--ck-ai-spinner-animation-duration:1s}.ck.ck-spinner-container.ck-ai-spinner{animation-duration:var(--ck-ai-spinner-animation-duration);display:inline-block;flex-shrink:0;height:var(--ck-ai-spinner-size);margin:0;width:var(--ck-ai-spinner-size)}.ck.ck-spinner-container.ck-ai-spinner .ck-spinner{background:var(--ck-ai-spinner-background);border:none;box-sizing:border-box;height:var(--ck-ai-spinner-size);-webkit-mask:var(--ck-ai-spinner-mask);mask:var(--ck-ai-spinner-mask);width:var(--ck-ai-spinner-size)}.ck.ck-spinner-container.ck-ai-spinner.ck-ai-spinner_small{--ck-ai-spinner-size:1em}.ck.ck-spinner-container.ck-ai-spinner.ck-ai-spinner_tiny{--ck-ai-spinner-size:12px}.ck.ck-spinner-container.ck-hidden{animation:none;display:none}@keyframes ck-spin{to{transform:rotate(1turn)}}",""]);const a=o},2665:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-chat-suggestion-container-header-font-size:.9em;--ck-color-ai-chat-icon-outdated:var(--ck-ai-chat-suggestion-icon-default-color);--ck-color-ai-suggestion-header-shadow:rgba(0,0,0,.1);--ck-color-ai-suggestion-part-title:#707070;--ck-color-ai-suggestion-part-active-border:#bda3eb;--ck-color-ai-suggestion-part-active-shadow:rgba(189,163,235,.15)}.ck.ck-ai-suggestion__container{border-radius:0;--ck-border-radius:4px;position:relative}.ck-rounded-corners .ck.ck-ai-suggestion__container,.ck.ck-ai-suggestion__container.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header{align-items:center;border-radius:0;box-shadow:0 0 3px 1px var(--ck-color-ai-suggestion-header-shadow);display:flex;flex-direction:row;height:3.23em;justify-content:space-between;padding:0 var(--ck-spacing-large);position:relative;z-index:1}.ck-rounded-corners .ck.ck-ai-suggestion__container .ck-ai-suggestion__header,.ck.ck-ai-suggestion__container .ck-ai-suggestion__header.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>span{color:var(--ck-ai-chat-color-icon);flex-grow:1;font-size:var(--ck-ai-chat-suggestion-container-header-font-size);font-weight:700}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>.ck-icon{color:var(--ck-ai-chat-color-icon);height:14px;margin-right:var(--ck-spacing-medium);width:14px}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>.ck-switchbutton{--ck-switch-button-toggle-width:2.307em;--ck-switch-button-toggle-inner-size:1em;--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-color-switch-button-off-background:var(--ck-ai-chat-color-icon)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>.ck-switchbutton .ck-button__label{font-size:var(--ck-ai-chat-suggestion-container-header-font-size);margin-right:var(--ck-spacing-standard)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>.ck-switchbutton .ck-button__toggle{border-radius:var(--ck-switch-button-toggle-inner-size)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:100%}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body{background:var(--ck-ai-chat-feed-item-color-background);border-radius:0;display:flex;flex-direction:column;gap:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-ai-suggestion__container .ck-ai-suggestion__body,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-parts{display:flex;flex-direction:column;gap:var(--ck-spacing-large)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-parts:empty{display:none}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part{background:var(--ck-color-base-background);border-radius:0;padding:var(--ck-spacing-large);padding-top:0;position:relative}.ck-rounded-corners .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title{align-items:center;color:var(--ck-color-ai-suggestion-part-title);display:flex;height:2.93em;justify-content:space-between}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active{box-shadow:0 1px 3px 1.5px var(--ck-color-ai-suggestion-part-active-shadow);outline:1px solid var(--ck-color-ai-suggestion-part-active-border)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active .ck-ai-suggestion__body__content-part__title,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active .ck-ai-suggestion__body__content-part__title .ck-toolbar .ck-icon{color:var(--ck-ai-background-color-action-button)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion-streamable-content,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__title,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_outdated .ck-ai-suggestion-streamable-content,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_outdated .ck-ai-suggestion__body__content-part__title,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion-streamable-content,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__title{opacity:.5}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part:hover{box-shadow:0 1px 3px 1.5px var(--ck-color-ai-suggestion-header-shadow)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part:hover .ck-ai-suggestion__body__content-part__title,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_pending:hover .ck-toolbar .ck-icon{color:var(--ck-ai-background-color-action-button)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck.ck-ai-chat__feed__item.ck-ai-notification_warning{margin-left:0;margin-right:0;width:100%}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body,.ck.ck-ai-suggestion__container .ck-ai-suggestion__changes{padding:var(--ck-spacing-standard)}",""]);const a=o},2698:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-notification-color-text:#333;--ck-ai-notification-error-color-background:#fff4f0;--ck-ai-notification-warning-color-background:#fff8ed;--ck-ai-notification-error-color-border:#ff825c;--ck-ai-notification-warning-color-border:#ffbe5c;--ck-ai-border-radius:calc(var(--ck-border-radius)*2)}.ck.ck-ai-notification{align-items:flex-start;border-radius:var(--ck-ai-border-radius);display:flex;gap:var(--ck-spacing-medium);justify-content:space-between;padding:var(--ck-spacing-standard);width:fit-content}.ck.ck-ai-notification.ck-ai-notification_error{background-color:var(--ck-ai-notification-error-color-background);border:1px solid var(--ck-ai-notification-error-color-border)}.ck.ck-ai-notification.ck-ai-notification_warning{background-color:var(--ck-ai-notification-warning-color-background);border:1px solid var(--ck-ai-notification-warning-color-border)}.ck.ck-ai-notification>p{color:var(--ck-color-base-text);flex:1;line-height:var(--ck-line-height-base);white-space:normal}.ck.ck-ai-notification>.ck-button{--ck-icon-font-size:0.666em}.ck.ck-ai-notification>.ck-button.ck-ai-notification_error__dismiss-button{--ck-icon-font-size:0.666em;--ck-ui-component-min-height:16px;flex-shrink:0;padding:0}.ck.ck-ai-notification.ck-ai-notification__full-width>p{max-width:100%}",""]);const a=o},2864:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,':root{--ck-ai-chat-feed-item-color-text:#000;--ck-ai-chat-feed-item-color-background:#f5f5f5;--ck-ai-chat-feed-item-color-background-secondary:#f5f5f5;--ck-ai-chat-feed-item-color-actions-button-hover:#582aa2;--ck-ai-chat-feed-item-color-show-changes-toggle-hover-color:#582aa2;--ck-ai-chat-feed-item-color-show-changes-toggle-hover-background:#f2ebff;--ck-ai-chat-feed-item-color-show-changes-toggle-on-color:#582aa2;--ck-ai-chat-feed-item-color-show-changes-toggle-on-background:#f2ebff;--ck-ai-chat-feed-item-color-show-changes-toggle-active-background:#f2ebff;--ck-ai-chat-feed-loader-icon-color:#d9d9d9;--ck-ai-chat-feed-interaction-header-capabilities-color-text:#707070;--ck-ai-web-source-tooltip-url-color:#743ccd;--ck-ai-web-source-tooltip-title-color:#333;--ck-ai-web-source-tooltip-font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.ck.ck-ai-chat__feed{align-items:stretch;contain:size;display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--ck-spacing-large);justify-content:flex-start;overflow-y:auto;padding-bottom:var(--ck-spacing-extra-large);position:relative}.ck.ck-ai-chat__feed:has(.ck-ai-skeleton:not(.ck-hidden)){overflow:hidden}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__items{display:flex;flex-direction:column;gap:var(--ck-spacing-extra-large) 0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__items>.ck-ai-chat__feed__item:first-child{margin-top:var(--ck-spacing-extra-large)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item{margin:0 var(--ck-spacing-large);scroll-margin:var(--ck-spacing-large)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-chat__feed__ai-suggestion__actions,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-mini-toolbar,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle{transition:opacity .4s,display allow-discrete .4s}@starting-style{.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-chat__feed__ai-suggestion__actions,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-mini-toolbar,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle{opacity:0}}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle{font-size:var(--ck-ai-chat-suggestion-container-header-font-size);min-height:22px;padding:0 var(--ck-spacing-small)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle>.ck-icon{height:16px;margin-left:var(--ck-spacing-medium);margin-right:0;width:16px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item:not(.ck-ai-chat__feed__item_done) .ck-ai-chat__feed__ai-suggestion__actions,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item:not(.ck-ai-chat__feed__item_done) .ck-ai-mini-toolbar,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item:not(.ck-ai-chat__feed__item_done) .ck-ai-suggestion__header__show-changes-toggle{display:none;opacity:0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__text-item{text-wrap:auto;word-break:normal}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__text-item pre>code{white-space:pre-wrap}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__user-message:has(.ck-ai-chat-context-chips-wrapper){max-width:100%}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__user-message .ck-ai-chat__feed__message-content{margin-inline-end:0;margin-inline-start:auto;max-width:80%;text-align:end}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__user-message p{background-color:var(--ck-ai-chat-feed-item-color-background-secondary);border-radius:var(--ck-ai-border-radius);display:inline-block;padding:var(--ck-spacing-standard)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion{margin:0 var(--ck-spacing-standard)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions{--ck-border-radius:2px;display:flex;flex-direction:row;gap:var(--ck-spacing-standard);width:fit-content}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions .ck-ai-chat__feed__suggestion__actions__info>p{color:var(--ck-ai-chat-color-icon);font-size:.75em;line-height:2.8em!important}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions .ck-ai-chat__feed__suggestion__actions__info>p button{font-size:.8em;padding-left:.5em}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__interaction-header .ck-ai-chat__feed__interaction-header__capabilities{align-items:center;color:var(--ck-ai-chat-feed-interaction-header-capabilities-color-text);display:flex;gap:4px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__interaction-header .ck-ai-chat__feed__interaction-header__capabilities svg{background-color:var(--ck-tabs-panels-container-background);border-radius:50%;flex-shrink:0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__interaction-header .ck-ai-chat__feed__interaction-header__capabilities svg:not(:first-child){margin-left:calc(var(--ck-icon-size)*-.75)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__interaction-header .ck-ai-chat__feed__interaction-header__capabilities__text{color:var(--ck-ai-chat-feed-interaction-header-capabilities-color-text);font-weight:500}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-chat__feed__ai-reply-container>:first-child{margin-top:0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-chat__feed__ai-reply-container>:last-child{margin-bottom:0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body .ck-suggestion-marker-deletion:not([data-author-id="$aiSuggestion"]),.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body .ck-suggestion-marker-formatInline:not([data-author-id="$aiSuggestion"]),.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body .ck-suggestion-marker-insertion:not([data-author-id="$aiSuggestion"]){background:var(--ck-ai-suggestion-inactive-color-background);border-bottom:3px solid var(--ck-ai-suggestion-inactive-color-border);border-top:3px solid var(--ck-ai-suggestion-inactive-color-border)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body .ck-suggestion-marker-deletion.ck-widget:not([data-author-id="$aiSuggestion"]),.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body .ck-suggestion-marker-formatInline.ck-widget:not([data-author-id="$aiSuggestion"]),.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body .ck-suggestion-marker-insertion.ck-widget:not([data-author-id="$aiSuggestion"]){border:3px solid var(--ck-ai-suggestion-inactive-color-border)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body .ck-suggestion-marker-formatBlock:not([data-author-id="$aiSuggestion"]){box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-ai-suggestion-inactive-color-background)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body .ck-suggestion-marker-deletion:not([data-author-id="$aiSuggestion"]){text-decoration:line-through;text-decoration-color:var(--ck-ai-suggestion-inactive-color-border);text-decoration-thickness:3px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body .ck-suggestion-marker-insertion.table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body *,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__text-item\n\t\t:not(.ck-ai-chat__feed__context-chips):not(.ck-ai-chat__feed__context-chips *):not(.ck-ai-web-source .ck-button__label){line-height:1.4em;white-space:normal}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-chat__feed__context-chips{display:flex;justify-content:flex-end;margin-bottom:var(--ck-spacing-medium-small)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources{display:grid;gap:var(--ck-spacing-standard);grid-template-columns:repeat(3,1fr);padding:var(--ck-spacing-medium) 0 0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-sources__header{font-size:12px;font-weight:500;grid-column-start:span 3;line-height:1.4em}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-sources__header>.ck-icon{color:#707070;height:14px;margin-right:var(--ck-spacing-medium-small);vertical-align:text-bottom;width:14px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-sources__header>span{color:#707070}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source{background-color:var(--ck-color-base-background);border:0;border-radius:50px;padding:var(--ck-spacing-medium) var(--ck-spacing-large)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source:hover{background-color:var(--ck-ai-chat-button-active-background-color)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source:active,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source:focus{box-shadow:none}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source .ck-ai-web-source__image,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source .ck-button__icon{color:var(--ck-ai-button-primary-background-color);height:16px;margin-right:var(--ck-spacing-medium);width:16px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source .ck-button__label{font-size:10px;font-weight:700;line-height:1.4em;max-width:75px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source .ck-ai-web-source__title{align-items:center;display:flex;gap:var(--ck-spacing-small)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item>.ck-ai-web-sources{padding:var(--ck-spacing-extra-large) 0 var(--ck-spacing-medium) 0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__loader{align-items:flex-start;display:flex}.ck.ck-ai-chat__feed .ck.ck-ai-chat__loader .ck.ck-spinner-container.ck-ai-spinner{margin:0 var(--ck-spacing-large)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__loader .ck.ck-ai-chat__loader-text{font-weight:500;line-height:1.462em;white-space:normal}.ck-ai-chat__feed__ai-suggestion__actions__balloon.ck-balloon-panel{z-index:calc(var(--ck-ai-tabs-overlay-z-index) + 1)}.ck-ai-chat__feed__ai-suggestion__actions__balloon .ck-list__item{min-width:fit-content}.ck-ai-chat__feed__ai-suggestion__actions__balloon .ck-button.ck-list-item-button{padding-bottom:0;padding-top:0}.ck-ai-chat__feed__ai-suggestion__actions__balloon .ck-button.ck-list-item-button:hover:not(.ck-disabled){background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck-ai-web-source__tooltip-balloon{border-radius:0}.ck-ai-web-source__tooltip-balloon.ck-rounded-corners,.ck-rounded-corners .ck-ai-web-source__tooltip-balloon{border-radius:var(--ck-border-radius)}.ck-ai-web-source__tooltip-balloon .ck-ai-web-source__tooltip{font-size:var(--ck-font-size-small);line-height:1.4em;padding:.8em;width:214px}.ck-ai-web-source__tooltip-balloon .ck-ai-web-source__tooltip .ck-ai-web-source__tooltip-row{align-items:center;display:flex;gap:.4em;margin-bottom:.4em}.ck-ai-web-source__tooltip-balloon .ck-ai-web-source__tooltip .ck-ai-web-source__tooltip-row:last-child{margin-bottom:0}.ck-ai-web-source__tooltip-balloon .ck-ai-web-source__tooltip .ck-ai-web-source__tooltip-image{color:var(--ck-ai-button-primary-background-color);flex-shrink:0;height:1.477em;width:1.477em}.ck-ai-web-source__tooltip-balloon .ck-ai-web-source__tooltip .ck-ai-web-source__tooltip-url{color:var(--ck-ai-web-source-tooltip-url-color);font-size:var(--ck-font-size-small);font-style:var(--ck-ai-web-source-tooltip-font-family);font-weight:500;text-decoration:underline;white-space:normal;word-wrap:break-word;overflow-wrap:break-word;word-break:break-all}.ck-ai-web-source__tooltip-balloon .ck-ai-web-source__tooltip .ck-ai-web-source__tooltip-title{color:var(--ck-ai-web-source-tooltip-title-color);font-size:1.026em;font-style:var(--ck-ai-web-source-tooltip-font-family);font-weight:700;line-height:1.35;vertical-align:middle;white-space:normal}@keyframes ck-html-streamer-fade-in{0%{opacity:0}to{opacity:1}}',""]);const a=o},2883:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel{max-width:250px;min-width:157px;z-index:calc(var(--ck-ai-tabs-overlay-z-index) + 1)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button{display:flex;padding-left:var(--ck-spacing-extra-large);padding-right:var(--ck-spacing-extra-large);width:100%}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button:first-child{margin-top:var(--ck-spacing-tiny)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button:last-child{margin-bottom:var(--ck-spacing-tiny)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button .ck-icon.ck-button__icon{--ck-icon-size:16px}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button .ck-button__label{line-height:var(--ck-line-height-base);margin:0}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button:hover{background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button>.ck-ai-chat-context-controls__balloon-button-source__arrow{margin-left:var(--ck-spacing-standard);margin-right:calc(var(--ck-spacing-small)*-1);transform:rotate(-90deg);width:var(--ck-dropdown-arrow-size)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button>span{flex-grow:1}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel{z-index:calc(var(--ck-ai-tabs-overlay-z-index) + 1)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form{line-height:var(--ck-form-header-height);width:var(--ck-ai-chat-context-controls-balloon-width)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section{align-items:flex-start;display:flex;padding:var(--ck-spacing-large)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck-labeled-field-view{width:100%}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-input{font:normal normal normal var(--ck-font-size-base) /var(--ck-line-height-base) var(--ck-font-face);line-height:var(--ck-line-height-base);vertical-align:middle;width:100%}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{visibility:hidden}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck.ck-button{background-color:var(--ck-ai-background-color-action-button);color:var(--ck-ai-font-color-action-button);height:auto;margin-left:var(--ck-spacing-medium)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck.ck-button.ck-disabled{opacity:.5}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck.ck-button.ck-disabled>.ck-button__icon{opacity:1}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel{width:var(--ck-ai-chat-context-controls-balloon-width);z-index:calc(var(--ck-ai-tabs-overlay-z-index) + 1)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel:has(.ck-ai-skeleton:not(.ck-hidden)){overflow:hidden}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck.ck-search__query_with-icon{padding:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-tiny) var(--ck-spacing-large)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-skeleton{--ck-ai-skeleton-gap:var(--ck-spacing-small);padding-bottom:var(--ck-spacing-standard);padding-top:var(--ck-spacing-standard)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list{max-height:210px;overflow-x:hidden;overflow-y:auto}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item{align-items:center;border-radius:var(--ck-border-radius);cursor:pointer;display:flex;padding:var(--ck-spacing-tiny) var(--ck-spacing-extra-large);transition:background-color .2s}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item:hover{background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context{color:rgba(51,51,51,.5);pointer-events:none}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context *{color:inherit}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item__icon{align-items:center;display:flex;flex-shrink:0;height:1.14em;justify-content:center;margin-right:.35em}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item__icon .ck-icon{fill:currentColor;height:1.368em}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context .ck-ai-chat-resources__item__icon{color:rgba(51,51,51,.5)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item-title{flex:1;font-size:1em;line-height:var(--ck-line-height-base);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-search~.ck-ai-chat-resources__list{height:210px}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list.ck-hidden{display:none}.ck.ck-balloon-panel.ck-ai-chat-context-controls__chip-tooltip{max-width:180px}.ck.ck-balloon-panel.ck-ai-chat-context-controls__chip-tooltip .ck.ck-tooltip__text{display:inline-block;padding:var(--ck-tooltip-text-padding) 0;white-space:normal}",""]);const a=o},3713:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-ai-review .ck-ai_review__review-completed .ck-ai_review__review-completed-header{align-items:center;border-bottom:1px solid var(--ck-color-base-border);display:flex;gap:var(--ck-spacing-standard);justify-content:space-between;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large)}.ck.ck-ai-review .ck-ai_review__review-completed .ck-ai_review__review-completed-header .ck-ai_review__review-completed-header-title{align-self:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-ai-review .ck-ai_review__review-completed .ck-ai_review__review-completed-header .ck-ai_review__review-completed-header-buttons{display:flex;flex-shrink:0;gap:var(--ck-spacing-standard)}.ck.ck-ai-review .ck-ai_review__review-completed .ck-ai_review__review-completed-content{padding:var(--ck-spacing-extra-large) var(--ck-spacing-extra-large) 0 var(--ck-spacing-extra-large);text-align:center}.ck.ck-ai-review .ck-ai_review__review-completed .ck-ai_review__review-completed-content .ck-ai_review__review-completed-content-icon{font-size:20px;line-height:20px}.ck.ck-ai-review .ck-ai_review__review-completed .ck-ai_review__review-completed-content .ck-ai_review__review-completed-content-text{margin-top:var(--ck-spacing-large);text-align:center;white-space:normal}",""]);const a=o},3768:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,'.ck.ck-content.ck-ai-suggestion-streamable-content{padding:0}.ck.ck-content.ck-ai-suggestion-streamable-content :first-child{margin-top:0}.ck.ck-content.ck-ai-suggestion-streamable-content :last-child{margin-bottom:0}.ck.ck-content.ck-ai-suggestion-streamable-content,.ck.ck-content.ck-ai-suggestion-streamable-content *{line-height:1.4em;white-space:normal}.ck.ck-content.ck-ai-suggestion-streamable-content pre>code{white-space:pre-wrap}.ck.ck-content.ck-ai-suggestion-streamable-content .ck-suggestion-marker-deletion:not([data-author-id="$aiSuggestion"]),.ck.ck-content.ck-ai-suggestion-streamable-content .ck-suggestion-marker-formatInline:not([data-author-id="$aiSuggestion"]),.ck.ck-content.ck-ai-suggestion-streamable-content .ck-suggestion-marker-insertion:not([data-author-id="$aiSuggestion"]){background:var(--ck-ai-suggestion-inactive-color-background);border-bottom:3px solid var(--ck-ai-suggestion-inactive-color-border);border-top:3px solid var(--ck-ai-suggestion-inactive-color-border)}.ck.ck-content.ck-ai-suggestion-streamable-content .ck-suggestion-marker-deletion.ck-widget:not([data-author-id="$aiSuggestion"]),.ck.ck-content.ck-ai-suggestion-streamable-content .ck-suggestion-marker-formatInline.ck-widget:not([data-author-id="$aiSuggestion"]),.ck.ck-content.ck-ai-suggestion-streamable-content .ck-suggestion-marker-insertion.ck-widget:not([data-author-id="$aiSuggestion"]){border:3px solid var(--ck-ai-suggestion-inactive-color-border)}.ck.ck-content.ck-ai-suggestion-streamable-content .ck-suggestion-marker-formatBlock:not([data-author-id="$aiSuggestion"]){box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-ai-suggestion-inactive-color-background)}.ck.ck-content.ck-ai-suggestion-streamable-content .ck-suggestion-marker-deletion:not([data-author-id="$aiSuggestion"]){text-decoration:line-through;text-decoration-color:var(--ck-ai-suggestion-inactive-color-border);text-decoration-thickness:3px}.ck.ck-content.ck-ai-suggestion-streamable-content .ck-suggestion-marker-insertion.table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background)}',""]);const a=o},3897:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-chat-context-controls-balloon-width:400px}.ck.ck-ai-chat-controls .ck-ai-chat-context-controls{align-content:center;align-items:flex-start;display:flex;flex-wrap:wrap;gap:var(--ck-spacing-medium-small);justify-content:flex-start;padding-bottom:var(--ck-spacing-medium-small);padding-top:0}.ck.ck-ai-chat-controls .ck-ai-chat-context-controls:has(.ck-ai-chat-context-controls__pending-contexts:empty){padding-bottom:var(--ck-spacing-small)}.ck.ck-ai-chat-controls .ck-ai-chat-context-controls .ck-ai-chat-context-controls__pending-contexts{display:contents}.ck.ck-ai-chat-controls .ck-button.ck-ai-chat-controls-button.ck-ai-chat-context-controls__add-context-button{bottom:3px;margin:0;position:absolute}.ck.ck-ai-chat-controls .ck-button.ck-ai-chat-controls-button.ck-ai-chat-context-controls__add-context-button:focus,.ck.ck-ai-chat-controls .ck-button.ck-ai-chat-controls-button.ck-ai-chat-context-controls__add-context-button:hover{opacity:1}",""]);const a=o},4297:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,r){var s;if(i)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,n=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},4401:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-chat-context-balloon-width:290px}.ck.ck-ai-chat .ck-ai-chat-context-chip,.ck.ck-balloon-panel .ck-ai-chat-context-chip{align-items:center;background-color:var(--ck-ai-chat-user-context-background);border:var(--ck-ai-chat-border-width) solid var(--ck-ai-border-color-main);border-radius:var(--ck-ai-border-radius);box-sizing:border-box;color:var(--ck-ai-chat-color-icon);display:inline-flex;flex-shrink:0;justify-content:center;line-height:1;max-width:max(calc(33% - var(--ck-spacing-medium-small) - var(--ck-spacing-large)*2/3),118px);padding:var(--ck-spacing-small) var(--ck-spacing-medium-small);width:auto}.ck.ck-ai-chat .ck-ai-chat-context-chip.ck-ai-chat-context-chip_wide,.ck.ck-balloon-panel .ck-ai-chat-context-chip.ck-ai-chat-context-chip_wide{max-width:max(calc(66% - var(--ck-spacing-medium-small)),240px);width:auto}.ck.ck-ai-chat .ck-ai-chat-context-chip.ck-ai-chat-context-chip_document,.ck.ck-balloon-panel .ck-ai-chat-context-chip.ck-ai-chat-context-chip_document{max-width:unset}.ck.ck-ai-chat .ck-ai-chat-context-chip.ck-ai-chat-context-chip_new-chip,.ck.ck-balloon-panel .ck-ai-chat-context-chip.ck-ai-chat-context-chip_new-chip{animation:ck-ai-new-item-flash var(--ck-ai-chat-animation-duration) var(--ck-ai-chat-animation-timing)}.ck.ck-ai-chat .ck-ai-chat-context-chip>.ck-ai-chat-context-chip__label,.ck.ck-balloon-panel .ck-ai-chat-context-chip>.ck-ai-chat-context-chip__label{color:var(--ck-ai-chat-color-icon);display:inline-block;font-size:.9em;line-height:1.25;margin:0 var(--ck-spacing-medium-small);overflow:hidden;text-overflow:ellipsis}.ck.ck-ai-chat .ck-ai-chat-context-chip>.ck-icon.ck-ai-chat-context-chip__type-icon,.ck.ck-balloon-panel .ck-ai-chat-context-chip>.ck-icon.ck-ai-chat-context-chip__type-icon{--ck-icon-size:1em;fill:var(--ck-ai-chat-color-icon);flex-shrink:0;font-size:1em}.ck.ck-ai-chat .ck-ai-chat-context-chip .ck-button,.ck.ck-balloon-panel .ck-ai-chat-context-chip .ck-button{--ck-ui-component-min-height:1em;border:none;max-height:var(--ck-ui-component-min-height);max-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny)}.ck.ck-ai-chat .ck-ai-chat-context-chip .ck-button>.ck-icon,.ck.ck-balloon-panel .ck-ai-chat-context-chip .ck-button>.ck-icon{--ck-icon-size:1em;color:var(--ck-ai-chat-color-icon);font-size:1em}.ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper,.ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper{align-items:center;display:flex;flex-wrap:wrap;gap:var(--ck-spacing-medium-small);justify-content:flex-end;margin-bottom:0;padding:0;width:100%}.ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper-balloon,.ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper-balloon{align-items:center;display:flex;flex-wrap:wrap;gap:var(--ck-spacing-standard);justify-content:flex-start;max-height:10em;overflow-y:auto;padding:var(--ck-spacing-standard);width:var(--ck-ai-chat-context-balloon-width)}.ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper-balloon .ck-ai-chat-context-chip,.ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper-balloon .ck-ai-chat-context-chip{max-width:max(calc(50% - var(--ck-spacing-standard)),110px)}.ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper-balloon.ck-ai-chat-context-chip_wide,.ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper-balloon.ck-ai-chat-context-chip_wide{max-width:100%}.ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper-balloon .ck-ai-chat-context-chip.ck-ai-chat-context-chip_new-chip,.ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper-balloon .ck-ai-chat-context-chip.ck-ai-chat-context-chip_new-chip{animation:none}@keyframes ck-ai-new-item-flash{0%{background-color:var(--ck-ai-chat-flash-color);border-color:var(--ck-ai-chat-flash-color-text);color:var(--ck-ai-chat-flash-color-text)}to{background-color:var(--ck-ai-chat-user-context-background);border-color:var(--ck-ai-border-color-main);color:var(--ck-ai-chat-color-icon)}}",""]);const a=o},4584:(t,e,n)=>{t.exports=n(9237)("./src/utils.js")},4741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},4816:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,':root{--ck-ai-border-color-main:#ccced1;--ck-ai-border-color-button:#c5b2e6;--ck-ai-background-color-action-button:#743ccd;--ck-ai-font-color-action-button:#fff;--ck-ai-chat-color-text:#743ccd;--ck-ai-chat-color-icon:#707070;--ck-ai-chat-border-width:1px;--ck-ai-chat-suggestion-icon-default-color:#707070;--ck-ai-chat-suggestion-border-hover-color:#bda3eb;--ck-ai-chat-button-active-background-color:#f2ebff;--ck-ai-chat-button-active-color:#743ccd;--ck-ai-chat-button-hover-color:#333;--ck-ai-chat-font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;--ck-ai-chat-user-context-background:#fafafa;--ck-ai-chat-flash-color:rgba(116,60,205,.102);--ck-ai-chat-flash-color-text:#743ccd;--ck-ai-chat-animation-duration:0.6s;--ck-ai-chat-animation-timing:ease-out;--ck-ai-chat-controls-loader-animation-duration:1.5s;--ck-ai-chat-controls-loader-icon-color:hsla(0,0%,96%,.98);--ck-ai-chat-feed-loader-icon-color:#d9d9d9}.ck.ck-ai-chat{display:flex;flex-direction:column;width:100%}.ck.ck-ai-chat,.ck.ck-ai-chat *{font-family:var(--ck-ai-chat-font-family)!important}',""]);const a=o},5190:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ai-active-icon-size:17px;--ck-ai-loader-icon-color:#d9d9d9;--ck-ai-loader-icon-dot-color:#a6a6a6;--ck-ai-chat-feed-item-spacing:var(--ck-spacing-extra-large)}.ck .ck-ai-chat-history{display:flex;flex-direction:column;height:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__content,.ck .ck-ai-chat-history .ck-search{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--ck-spacing-medium-small);min-height:0;position:relative}.ck .ck-ai-chat-history .ck-ai-chat-history__content .ck-ai-notification_error{margin:var(--ck-spacing-extra-large) var(--ck-spacing-large) var(--ck-spacing-medium) var(--ck-spacing-large)}.ck .ck-ai-chat-history .ck-search>.ck-labeled-field-view{margin-top:var(--ck-spacing-medium);padding:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-tiny)}.ck .ck-ai-chat-history .ck-search__results{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto}.ck .ck-ai-chat-history .ck-dropdown .ck-dropdown__arrow{display:none}.ck .ck-ai-chat-history .ck-ai-chat-history__sections{gap:var(--ck-spacing-medium-small)}.ck .ck-ai-chat-history .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding:0}.ck .ck-ai-chat-history .ck-ai-chat-history__section-title{color:var(--ck-ai-chat-color-icon);font-size:.85em;font-weight:700;line-height:1.85em;padding:.48em .9em 0}.ck .ck-ai-chat-history .ck-ai-chat-history__item,.ck .ck-ai-chat-history .ck-confirm-view .ck-confirm-view-inner{padding:var(--ck-spacing-tiny) var(--ck-spacing-extra-large) var(--ck-spacing-tiny) var(--ck-spacing-large)}.ck .ck-ai-chat-history .ck-ai-chat-history__item{display:flex;position:relative;transition:transform .3s ease}@media (prefers-reduced-motion:reduce){.ck .ck-ai-chat-history .ck-ai-chat-history__item{transition:none}}.ck .ck-ai-chat-history .ck-ai-chat-history__item:hover{background-color:var(--ck-ai-chat-button-active-background-color)}.ck .ck-ai-chat-history .ck-ai-chat-history__item-title{display:inline-block;overflow:hidden;text-overflow:ellipsis;width:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__item--active .ck-ai-chat-history__item-title{font-weight:700}.ck .ck-ai-chat-history .ck-ai-chat-history__item-row{--ck-icon-font-size:.666em;--ck-ui-component-min-height:1.7em;--ck-ui-component-min-width:1.7em;margin-left:.3em;min-width:0;width:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions,.ck .ck-ai-chat-history .ck-ai-chat-history__item-row{align-items:center;display:flex;gap:.6em}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions{height:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-button,.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-dropdown .ck-dropdown__button{opacity:.7}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-button:hover,.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-dropdown .ck-dropdown__button:hover{background:none;opacity:1}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-button.ck-on,.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-dropdown .ck-dropdown__button.ck-on{background-color:var(--ck-ai-chat-button-active-background-color);color:var(--ck-ai-chat-button-hover-color)}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-button.ck-on svg,.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-dropdown .ck-dropdown__button.ck-on svg{color:var(--ck-ai-chat-button-active-color)}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions .ck-dropdown .ck-dropdown__panel .ck-list__item .ck-button:active,.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions .ck-dropdown .ck-dropdown__panel .ck-list__item .ck-button:hover{background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck .ck-ai-chat-history .ck-ai-chat-history__item--edit .ck-input,.ck .ck-ai-chat-history .ck-ai-chat-history__item--edit .ck-input_focused{background:transparent;border:none;box-shadow:none;padding:0;width:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__item--edit,.ck .ck-ai-chat-history .ck-ai-chat-history__item--edit .ck-ai-chat-history__item-edit .ck-input{background:var(--ck-ai-chat-button-active-background-color)}.ck .ck-ai-chat-history .ck-ai-chat-history__item--edit .ck-ai-chat-history__item-actions{align-items:center}.ck .ck-ai-chat-history .ck-ai-chat-history__item-content{align-items:flex-start;display:flex;flex:1 0 0;flex-direction:column;justify-content:center;overflow:hidden}.ck .ck-ai-chat-history .ck-ai-chat-history__item-main-content{width:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__item-check-container,.ck .ck-ai-chat-history .ck-ai-chat-history__item-main-content{align-items:center;display:flex;height:2em}.ck .ck-ai-chat-history .ck-ai-chat-history__item-check-container{--ck-icon-font-size:.5em;min-width:var(--ai-active-icon-size)}.ck .ck-ai-chat-history .ck-ai-chat-history__item-date{color:var(--ck-ai-chat-color-icon);line-height:1.385em}.ck .ck-ai-chat-history .ck-ai-chat-history__empty{padding:var(--ck-spacing-tiny) var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-large)}.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat-history__empty-message{line-height:1.85em;margin:var(--ck-spacing-large) 0;text-wrap:auto}.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation{border:1px solid var(--ck-ai-border-color-button);border-radius:var(--ck-border-radius);color:var(--ck-ai-chat-color-text);font-size:11.7px;gap:var(--ck-spacing-small);min-height:unset}.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation:hover{background-color:var(--ck-ai-chat-button-active-background-color)}.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation>.ck-button__label{line-height:1.4em}.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat__start-conversation>.ck-button__icon{--ck-icon-font-size:.632em;color:var(--ck-ai-chat-color-text);margin-inline-end:0}.ck .ck-ai-chat-history .ck-confirm-view{--ck-icon-font-size:.666em;--ck-ui-component-min-height:1.7em;--ck-ui-component-min-width:1.7em}.ck .ck-ai-chat-history .ck-confirm-view .ck-confirm-view-inner{align-items:center;flex:1 0 0;flex-direction:row;gap:.6em;justify-content:space-between;margin-left:var(--ai-active-icon-size)}.ck .ck-ai-chat-history .ck-confirm-view .ck-confirm-view-actions{display:flex;gap:.6em}",""]);const a=o},5250:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ai-skeleton-z-index:calc(var(--ck-z-default) + 1);--ck-ai-skeleton-item-background:linear-gradient(90deg,#fafafa,#f0f0f0 50%,#fafafa);--ck-ai-skeleton-animation-duration:1s;--ck-ai-skeleton-gap:var(--ck-spacing-extra-large)}.ck.ck-ai-skeleton{align-items:flex-end;background-color:var(--ck-color-base-background);display:flex;flex-direction:column;gap:var(--ck-ai-skeleton-gap) 0;height:100%;inset:0;opacity:1;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large) var(--ck-spacing-large);position:absolute;transition:opacity .4s,display allow-discrete .4s;transition-delay:.35s;width:100%;z-index:var(--ai-skeleton-z-index)}.ck.ck-ai-skeleton.ck-hidden{opacity:0;transition-delay:0s}@starting-style{.ck.ck-ai-skeleton{opacity:0}}.ck.ck-ai-skeleton>.ck.ck-ai-skeleton__item{animation:var(--ck-ai-skeleton-animation-duration) ck-ai-skeleton-shine linear infinite;background:var(--ck-ai-skeleton-item-background);background-size:200% 100%;width:100%}@keyframes ck-ai-skeleton-shine{to{background-position-x:-200%}}",""]);const a=o},5758:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck .ck-ai-review.ck-ai-translate-mode .ck-ai-translate__check-list-wrapper{height:100%;overflow:auto;position:relative}.ck .ck-ai-review.ck-ai-translate-mode .ck-ai-translate__check-list-wrapper .ck-ai-translate__check-list-header{border-bottom:1px solid var(--ck-color-base-border);color:var(--ck-color-base-text);padding:var(--ck-spacing-extra-large) var(--ck-spacing-large)}.ck .ck-ai-review.ck-ai-translate-mode .ck-ai-translate__check-list-wrapper .ck-ai-translate__check-list-header>h2{--ck-font-size-base:1.153em;color:#333;font-weight:700;line-height:1.3;white-space:normal}.ck .ck-ai-review.ck-ai-translate-mode .ck-ai-translate__check-list-wrapper .ck-ai_review__check-list{height:auto;overflow:initial}.ck .ck-ai-review.ck-ai-translate-mode .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-buttons .ck-ai_review__check-run-accept-all-button{border:none}.ck .ck-ai-review.ck-ai-translate-mode .ck-ai_review__check-run .ck-ai_review__check-run-results-header .ck-ai_review__check-run-results-header-buttons .ck-ai_review__check-run-toggle-diff-button{display:none;visibility:hidden}.ck .ck-ai-review.ck-ai-translate-mode .ck-ai_review__check-run .ck-ai_review__check-run-result.ck-ai_review__check-run-result_active{box-shadow:3px 0 0 0 var(--ck-ai_review-suggestion-color) inset}.ck .ck-ai-review.ck-ai-translate-mode .ck-ai_review__check-run .ck-ai_review__check-run-result .ck-ai_review__check-run-result-footer,.ck .ck-ai-review.ck-ai-translate-mode .ck-ai_review__check-run .ck-ai_review__check-run-result .ck-suggestion-marker{display:none;visibility:hidden}.ck .ck-ai-review.ck-ai-translate-mode .ck-ai_review__check-run .ck-ai_review__check-run-result.ck-ai_review__check-run-result_grayout .ck-ai_review__check-run-result-footer{display:flex;visibility:visible}.ck.ck-ai-translate-mode-content span.ck-ai_review-marker_add{border-bottom:none}.ck.ck-ai-translate-mode-content span.ck-ai_review-marker_add.ck-ai_review__change_active{border-bottom:3px solid var(--ck-ai_review-suggestion-color)}.ck.ck-ai-translate-mode-content span.ck-ai_review-marker_add.ck-ai-review__change_active>span.ck-ai_review-marker_add{border-bottom:none}.ck.ck-ai-translate-mode-content .ck-ai_review-marker_hide,.ck.ck-ai-translate-mode-content .ck-ai_review-marker_strikethrough,.ck.ck-ai-translate-mode-content .ck-ai_review-marker_underline{display:none!important}.ck.ck-ai-translate-mode-content .ck-suggestion-marker-deletion,.ck.ck-ai-translate-mode-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active,.ck.ck-ai-translate-mode-content .ck-suggestion-marker-formatInline,.ck.ck-ai-translate-mode-content .ck-suggestion-marker-formatInline.ck-suggestion-marker--active,.ck.ck-ai-translate-mode-content .ck-suggestion-marker-insertion,.ck.ck-ai-translate-mode-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active{background:var(--ck-ai-suggestion-inactive-color-background);border-bottom:3px solid var(--ck-ai-suggestion-inactive-color-border);border-top:3px solid var(--ck-ai-suggestion-inactive-color-border)}.ck.ck-ai-translate-mode-content .ck-suggestion-marker-formatBlock,.ck.ck-ai-translate-mode-content .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-ai-suggestion-inactive-color-background)}.ck.ck-ai-translate-mode-content .ck-suggestion-marker-deletion,.ck.ck-ai-translate-mode-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active{text-decoration:line-through;text-decoration-color:var(--ck-ai-suggestion-inactive-color-border);text-decoration-thickness:3px}",""]);const a=o},5794:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,':root{--ck-color-ai-selection:#e2d6f5;--ck-ai-balloon-font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.ck.ck-ai-balloon *{font-family:var(--ck-ai-balloon-font-family)!important}.ck.ck-ai-balloon .ck.ck-ai-suggestion__error.ck-ai-balloon-error .ck-ai-suggestion__error-text{--ck-border-radius:4px;background-color:var(--ck-ai-notification-error-color-background);border:1px solid var(--ck-ai-notification-error-color-border);border-radius:var(--ck-border-radius);color:var(--ck-ai-notification-color-text);display:block;padding:var(--ck-spacing-medium)}.ck span.ck-fake-ai-selection{background:var(--ck-color-ai-selection)}.ck .ck-widget.ck-fake-ai-selection{outline-color:var(--ck-color-ai-selection)}.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-ai-quick-actions-group-panel{max-height:316px}',""]);const a=o},5929:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],l=i.base?c[0]+i.base:c[0],u=s[l]||0,h="".concat(l," ").concat(u);s[l]=u+1;var d=n(h),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(p);else{var f=r(p,i);i.byIndex=a,e.splice(a,0,{identifier:h,updater:f,references:1})}o.push(h)}return o}function r(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,r){var s=i(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=n(s[o]);e[a].references--}for(var c=i(t,r),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=c}}},6211:(t,e,n)=>{t.exports=n(7312)("./src/collaboration-core.js")},6381:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-button.ck-ai-toggle-button{--ck-color-button-on-background:#f2ebff;--ck-color-button-on-hover-background:#e8dbff;--ck-color-button-on-active-background:#e8dbff;--ck-color-button-on-disabled-background:#f2ebff;--ck-color-button-on-color:#743ccd}",""]);const a=o},6592:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-form-submit-button-text-color:var(--ck-color-text);--ck-ai-form-submit-button-border-color:transparent;--ck-ai-form-submit-button-disabled-border-color:transparent;--ck-ai-toolbar-button-hover-color:var(--ck-color-text);--ck-color-ai-selection:rgba(31,176,255,.3)}.ck-ai-assistant-ui_theme{--ck-color-button-default-hover-background:#f3ecff;--ck-color-button-default-active-background:#f3ecff;--ck-color-button-on-background:#f3ecff;--ck-color-button-on-hover-background:#f3ecff;--ck-color-button-on-active-background:#f3ecff;--ck-color-button-on-disabled-background:#f3ecff;--ck-color-button-on-color:#743ccd;--ck-color-button-action-background:#743ccd;--ck-color-button-action-hover-background:#6c34c9;--ck-color-button-action-active-background:#6c34c9;--ck-color-button-action-disabled-background:#ba9de6;--ck-color-list-button-hover-background:#f3ecff;--ck-ai-form-content-background:#f9f9f9;--ck-ai-form-submit-button-text-color:var(--ck-color-button-on-color);--ck-ai-form-submit-button-border-color:var(--ck-color-button-action-background);--ck-ai-form-submit-button-disabled-border-color:var(--ck-color-button-action-disabled-background);--ck-ai-toolbar-button-hover-color:var(--ck-color-button-on-color);--ck-color-ai-selection:#e2d6f5}.ck-ai-assistant-button:hover,.ck-ai-commands-dropdown>.ck-button:hover{color:var(--ck-ai-toolbar-button-hover-color)}.ck span.ck-fake-ai-selection{background:var(--ck-color-ai-selection)}.ck .ck-widget.ck-fake-ai-selection{outline-color:var(--ck-color-ai-selection)}.ck span.ck-fake-ai-selection-candidate{background:var(--ck-color-ai-selection)}.ck .ck-fake-ai-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}.ck.ck-content.ck-ai-form__content-field h2{font-size:1.3em}.ck.ck-content.ck-ai-form__content-field h3{font-size:1.2em}.ck.ck-content.ck-ai-form__content-field h4,.ck.ck-content.ck-ai-form__content-field h5,.ck.ck-content.ck-ai-form__content-field h6{font-size:1.1em}.ck.ck-content.ck-ai-form__content-field h2,.ck.ck-content.ck-ai-form__content-field h3,.ck.ck-content.ck-ai-form__content-field h4,.ck.ck-content.ck-ai-form__content-field h5,.ck.ck-content.ck-ai-form__content-field h6,.ck.ck-content.ck-ai-form__content-field ol,.ck.ck-content.ck-ai-form__content-field p,.ck.ck-content.ck-ai-form__content-field ul{line-height:1.7em;margin-block-end:.5em;margin-block-start:.5em}.ck.ck-content.ck-ai-form__content-field>:first-child{margin-top:0}.ck.ck-content.ck-ai-form__content-field>:last-child{margin-bottom:0}",""]);const a=o},6647:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-button-primary-color:#fff;--ck-ai-button-primary-disabled-color:#fff;--ck-ai-button-primary-background-color:#743ccd;--ck-ai-button-primary-disabled-background-color:rgba(116,60,205,.5);--ck-ai-button-primary-hover-background-color:#582aa2;--ck-ai-button-primary-active-background-color:#582aa2;--ck-ai-button-secondary-color:#743ccd;--ck-ai-button-secondary-disabled-color:rgba(116,60,205,.5);--ck-ai-button-secondary-background-color:#fff;--ck-ai-button-secondary-disabled-background-color:hsla(0,0%,100%,.5);--ck-ai-button-secondary-border-color:#c5b2e6;--ck-ai-button-secondary-disabled-border-color:rgba(197,178,230,.5);--ck-ai-button-secondary-hover-background-color:#f2ebff;--ck-ai-button-secondary-active-background-color:#f2ebff;--ck-ai-button-tertiary-color:#707070;--ck-ai-button-tertiary-disabled-color:hsla(0,0%,44%,.5);--ck-ai-button-tertiary-hover-color:#707070;--ck-ai-button-tertiary-active-color:#743ccd;--ck-ai-button-tertiary-background-color:transparent;--ck-ai-button-tertiary-disabled-background-color:transparent;--ck-ai-button-tertiary-hover-background-color:#f0f0f0;--ck-ai-button-tertiary-active-background-color:#f2ebff;--ck-ai-button-tertiary-hover-active-background-color:#e8dbff;--ck-ai-button-tertiary-hover-active-color:#743ccd}.ck.ck-button.ck-ai-button-primary{background-color:var(--ck-ai-button-primary-background-color);border:1px solid transparent;color:var(--ck-ai-button-primary-color);gap:var(--ck-spacing-small)}.ck.ck-button.ck-ai-button-primary.ck-on,.ck.ck-button.ck-ai-button-primary:active{background-color:var(--ck-ai-button-primary-active-background-color)}.ck.ck-button.ck-ai-button-primary.ck-disabled,.ck.ck-button.ck-ai-button-primary:disabled{background-color:var(--ck-ai-button-primary-disabled-background-color);color:var(--ck-ai-button-primary-disabled-color)}.ck.ck-button.ck-ai-button-primary.ck-disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-primary.ck-disabled>.ck.ck-button__label,.ck.ck-button.ck-ai-button-primary:disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-primary:disabled>.ck.ck-button__label{opacity:1}.ck.ck-button.ck-ai-button-primary:hover:not(.ck-disabled){background-color:var(--ck-ai-button-primary-hover-background-color)}.ck.ck-button.ck-ai-button-secondary{background-color:var(--ck-ai-button-secondary-background-color);border:1px solid var(--ck-ai-button-secondary-border-color);color:var(--ck-ai-button-secondary-color);gap:var(--ck-spacing-small)}.ck.ck-button.ck-ai-button-secondary.ck-on,.ck.ck-button.ck-ai-button-secondary:active{background-color:var(--ck-ai-button-secondary-active-background-color)}.ck.ck-button.ck-ai-button-secondary.ck-disabled,.ck.ck-button.ck-ai-button-secondary:disabled{background-color:var(--ck-ai-button-secondary-disabled-background-color);border:1px solid var(--ck-ai-button-secondary-disabled-border-color);color:var(--ck-ai-button-secondary-disabled-color)}.ck.ck-button.ck-ai-button-secondary.ck-disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-secondary.ck-disabled>.ck.ck-button__label,.ck.ck-button.ck-ai-button-secondary:disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-secondary:disabled>.ck.ck-button__label{opacity:1}.ck.ck-button.ck-ai-button-secondary:hover:not(.ck-disabled){background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck.ck-button.ck-ai-button-tertiary{background-color:var(--ck-ai-button-tertiary-background-color);border:none;color:var(--ck-ai-button-tertiary-color);gap:var(--ck-spacing-small)}.ck.ck-button.ck-ai-button-tertiary.ck-disabled,.ck.ck-button.ck-ai-button-tertiary:disabled{background-color:var(--ck-ai-button-tertiary-disabled-background-color);color:var(--ck-ai-button-tertiary-disabled-color)}.ck.ck-button.ck-ai-button-tertiary.ck-disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-tertiary.ck-disabled>.ck.ck-button__label,.ck.ck-button.ck-ai-button-tertiary:disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-tertiary:disabled>.ck.ck-button__label{opacity:1}.ck.ck-button.ck-ai-button-tertiary.ck-on:not(.ck-disabled),.ck.ck-button.ck-ai-button-tertiary:active:not(.ck-disabled){background-color:var(--ck-ai-button-tertiary-active-background-color);color:var(--ck-ai-button-tertiary-active-color)}.ck.ck-button.ck-ai-button-tertiary.ck-on:not(.ck-disabled):hover,.ck.ck-button.ck-ai-button-tertiary:active:not(.ck-disabled):hover{background-color:var(--ck-ai-button-tertiary-hover-active-background-color);color:var(--ck-ai-button-tertiary-hover-active-color)}.ck.ck-button.ck-ai-button-tertiary.ck-on:not(.ck-disabled)>.ck.ck-button__icon,.ck.ck-button.ck-ai-button-tertiary:active:not(.ck-disabled)>.ck.ck-button__icon{color:var(--ck-ai-button-tertiary-active-color)}.ck.ck-button.ck-ai-button-tertiary:hover:not(.ck-disabled,:active,.ck-on){background-color:var(--ck-ai-button-tertiary-hover-background-color);color:var(--ck-ai-button-tertiary-hover-color)}.ck.ck-button.ck-ai-button-primary .ck.ck-icon.ck-button__icon,.ck.ck-button.ck-ai-button-secondary .ck.ck-icon.ck-button__icon,.ck.ck-button.ck-ai-button-tertiary .ck.ck-icon.ck-button__icon{--ck-icon-size:16px}.ck.ck-button.ck-ai-button-stop-generating{min-height:22px;padding:0 var(--ck-spacing-medium) 0 var(--ck-spacing-small)}.ck.ck-button.ck-ai-button-stop-generating .ck.ck-icon.ck-button__icon{height:14px;margin-right:4px;width:14px}",""]);const a=o},6779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);i&&o[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},6792:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-balloon-panel>.ck-ai_review-balloon-panel-suggestion{padding:var(--ck-spacing-standard);width:300px}.ck.ck-balloon-panel>.ck-ai_review-balloon-panel-suggestion:has(.ck-ai_review__check-run-result-response.ck-hidden){width:auto}.ck.ck-balloon-panel>.ck-ai_review-balloon-panel-suggestion .ck-suggestion-marker{white-space:break-spaces}.ck.ck-balloon-panel>.ck-ai_review-balloon-panel-suggestion .ck-suggestion-marker-insertion{background:var(--ck-ai-suggestion-marker-insertion-background-color);border-bottom:3px solid var(--ck-ai-suggestion-marker-insertion-border-color);border-top:3px solid var(--ck-ai-suggestion-marker-insertion-border-color)}.ck.ck-balloon-panel>.ck-ai_review-balloon-panel-suggestion .ck-suggestion-marker-deletion{background:var(--ck-ai-suggestion-marker-deletion-background-color);border-bottom:3px solid var(--ck-ai-suggestion-marker-deletion-border-color);border-top:3px solid var(--ck-ai-suggestion-marker-deletion-border-color)}.ck.ck-balloon-panel>.ck-ai_review-balloon-panel-suggestion.ck-ai_review-balloon-panel-suggestion_diff-active .ck-suggestion-marker-insertion{--ck-ai-suggestion-marker-insertion-border-color:var(--ck-ai-suggestion-marker-insertion-border-color-active);--ck-ai-suggestion-marker-insertion-background-color:var(--ck-ai-suggestion-marker-insertion-background-color-active)}.ck.ck-balloon-panel>.ck-ai_review-balloon-panel-suggestion.ck-ai_review-balloon-panel-suggestion_diff-active .ck-suggestion-marker-deletion{--ck-ai-suggestion-marker-deletion-border-color:var(--ck-ai-suggestion-marker-deletion-border-color-active);--ck-ai-suggestion-marker-deletion-background-color:var(--ck-ai-suggestion-marker-deletion-background-color-active)}",""]);const a=o},6819:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-chat-balloon-form-row-height:2.924em}.ck.ck-ai-chat-balloon{display:flex;flex-direction:column;justify-content:space-between;max-height:300px;min-height:170px;width:500px;--ck-border-radius:4px}.ck.ck-ai-chat-balloon .ck-ai-chat-balloon__toolbar-container,.ck.ck-ai-chat-balloon .ck.ck-form__header{--ck-ui-component-min-height:1.726em;--ck-icon-size:1.477em}.ck.ck-ai-chat-balloon .ck.ck-form__header{--ck-form-header-height:var(--ck-ai-chat-balloon-form-row-height);gap:var(--ck-spacing-standard)}.ck.ck-ai-chat-balloon .ck.ck-form__header .ck-form__header__label{--ck-font-size-base:1em;color:var(--ck-ai-button-primary-background-color);font-weight:400}.ck.ck-ai-chat-balloon .ck-dialog__content,.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between;min-height:0}.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main .ck-ai-suggestion-streamable-content{flex-grow:1;overflow-y:auto;padding:var(--ck-spacing-large)}.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main.ck-ai-chat-balloon-main_state_accepted .ck-ai-suggestion-streamable-content,.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main.ck-ai-chat-balloon-main_state_accepted .ck-ai-suggestion__content-part-state,.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main.ck-ai-chat-balloon-main_state_outdated .ck-ai-suggestion-streamable-content,.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main.ck-ai-chat-balloon-main_state_outdated .ck-ai-suggestion__content-part-state,.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main.ck-ai-chat-balloon-main_state_rejected .ck-ai-suggestion-streamable-content,.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main.ck-ai-chat-balloon-main_state_rejected .ck-ai-suggestion__content-part-state{opacity:.5}.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main .ck.ck-ai-suggestion__error.ck-ai-balloon-error{margin:var(--ck-spacing-large)}.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main .ck.ck-ai-suggestion__error.ck-ai-balloon-error:not(.ck-hidden)+.ck-ai-suggestion-streamable-content{border-top:1px solid var(--ck-color-toolbar-border)}.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main .ck-ai-chat-balloon__toolbar-container{align-items:center;border-top:1px solid var(--ck-color-toolbar-border);display:flex;height:var(--ck-ai-chat-balloon-form-row-height);justify-content:space-between;padding:var(--ck-spacing-large)}.ck.ck-ai-chat-balloon .ck.ck-ai-chat-balloon-main .ck-ai-chat-balloon__toolbar-container>*{border:0;margin:0;padding:0}",""]);const a=o},6862:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-ai-mini-toolbar .ck-ai-interaction-counter{color:var(--ck-ai-chat-color-icon);font-family:var(--ck-ai-balloon-font-family);letter-spacing:2.6px}.ck.ck-ai-mini-toolbar .ck.ck-button{color:var(--ck-ai-chat-color-icon);font-family:var(--ck-ai-chat-font-family);font-size:.9em}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-button_with-text{box-sizing:border-box;flex-direction:row-reverse;min-height:2.1em;padding-left:.3em;padding-right:.3em}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-button_with-text span{line-height:1.4em}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-button_with-text svg{margin-left:var(--ck-spacing-medium);margin-right:0;--ck-icon-size:16px}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-ai-mini-toolbar-copy-button .ck-ai-mini-toolbar-copy-button__check-mark{color:var(--ck-color-base-action);display:none;position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-ai-mini-toolbar-copy-button.ck-ai-mini-toolbar-copy-button_copied .ck-button__icon{display:none}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-ai-mini-toolbar-copy-button.ck-ai-mini-toolbar-copy-button_copied .ck-ai-mini-toolbar-copy-button__check-mark{animation-duration:1s;animation-iteration-count:1;animation-name:ck-ai-mini-toolbar-copy-animation;animation-timing-function:ease-out;display:block}@keyframes ck-ai-mini-toolbar-copy-animation{0%{clip-path:inset(0 100% 0 0)}50%{clip-path:inset(0 0 0 0)}to{clip-path:inset(0 0 0 0)}}",""]);const a=o},7091:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-chat-controls-loader-icon-dot-color:#ccced1;--ck-ai-chat-controls-loader-icon-dot-active-color:#333;--ck-ai-chat-controls-loader-color:#707070;--ck-ai-loader-dot-pulse-dot-size:6px;--ck-ai-loader-dot-pulse-width:40px;--ck-ai-loader-dot-pulse-height:20px;--ck-ai-loader-dot-pulse-border-radius:8px;--ck-ai-loader-dot-pulse-animation-delay:0.3s}.ck-ai-chat-controls .ck-ai-chat-controls-loader{align-items:center;color:var(--ck-ai-chat-controls-loader-color);display:flex}.ck-ai-chat-controls .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon{align-items:center;background-color:var(--ck-ai-chat-controls-loader-icon-color);border-radius:var(--ck-ai-loader-dot-pulse-border-radius);box-sizing:border-box;display:flex;height:var(--ck-ai-loader-dot-pulse-height);justify-content:space-between;margin-inline-end:var(--ck-spacing-standard);padding:var(--ck-spacing-small) var(--ck-spacing-medium-small);width:var(--ck-ai-loader-dot-pulse-width)}.ck-ai-chat-controls .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot{animation:ck-ai-loader-dot-pulse var(--ck-ai-chat-controls-loader-animation-duration) infinite;background-color:var(--ck-ai-chat-controls-loader-icon-dot-color);border-radius:50%;flex-shrink:0;height:var(--ck-ai-loader-dot-pulse-dot-size);width:var(--ck-ai-loader-dot-pulse-dot-size)}.ck-ai-chat-controls .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:first-child{animation-delay:0s}.ck-ai-chat-controls .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:nth-child(2){animation-delay:var(--ck-ai-loader-dot-pulse-animation-delay)}.ck-ai-chat-controls .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:nth-child(3){animation-delay:calc(var(--ck-ai-loader-dot-pulse-animation-delay)*2)}.ck-ai-chat-controls-loader-wrapper{display:flex;justify-content:space-between}@keyframes ck-ai-loader-dot-pulse{0%,80%,to{background-color:var(--ck-ai-chat-controls-loader-icon-dot-color)}40%{background-color:var(--ck-ai-chat-controls-loader-icon-dot-active-color)}}",""]);const a=o},7312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},7356:(t,e,n)=>{"use strict";n.d(e,{P:()=>i});const i=t=>{if("string"==typeof t)return t;if("object"!=typeof t||"number"!=typeof t.byteOffset||"number"!=typeof t.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(t)}},7747:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-color-ai-chat-prompt-input-animation-background:#fffde6;--ck-ai-chat-prompt-input-animation:ck-ai-chat-prompt-input-glow .8s ease-in-out}.ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view{width:100%}.ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view .ck-labeled-field-view__status_error{line-height:1.4em}.ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view__input-wrapper .ck.ck-input.ck-textarea{line-height:calc(var(--ck-font-size-base)*2)}[dir=ltr] .ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view__input-wrapper .ck.ck-input.ck-textarea{padding-right:2.6em}[dir=rtl] .ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view__input-wrapper .ck.ck-input.ck-textarea{padding-left:2.6em}.ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view__input-wrapper>.ck.ck-label{visibility:hidden}.ck.ck-ai-chat__prompt-input.ck-search.ck-ai-chat__prompt-input_highlighted .ck.ck-input.ck-textarea{animation:var(--ck-ai-chat-prompt-input-animation)}.ck.ck-ai-chat__prompt-input.ck-search .ck-ai-chat__prompt-submit-button{align-self:flex-end;background-color:var(--ck-ai-background-color-action-button);color:var(--ck-ai-font-color-action-button);height:auto;margin-left:var(--ck-spacing-medium)}.ck.ck-ai-chat__prompt-input.ck-search .ck-ai-chat__prompt-submit-button.ck-disabled{opacity:var(--ck-disabled-opacity)}.ck.ck-ai-chat__prompt-input.ck-search .ck-ai-chat__prompt-submit-button>svg{opacity:1}@keyframes ck-ai-chat-prompt-input-glow{0%{background:var(--ck-color-ai-chat-prompt-input-animation-background)}to{background:var(--ck-color-input-background)}}",""]);const a=o},7800:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-button.ck-ai-tabs__resize.ck-on:not(:hover){background-color:var(--ck-ai-button-tertiary-background-color)}",""]);const a=o},7831:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai_review-inactive-check-background:#fafafa;--ck-color-suggestion-marker-deletion-border-inactive:hsla(345,1%,74%,.35);--ck-color-suggestion-marker-deletion-background-inactive:rgba(244,241,242,.35);--ck-color-suggestion-marker-deletion-stroke-inactive:hsla(0,1%,62%,.35);--ck-color-suggestion-marker-insertion-border-inactive:hsla(128,1%,73%,.35);--ck-color-suggestion-marker-insertion-background-inactive:hsla(128,6%,93%,.35)}.ck-ai_review__check-run-result>.ck-ai_review__check-run-result-footer{align-items:center;display:flex;gap:var(--ck-spacing-standard);justify-content:space-between;margin-top:var(--ck-spacing-standard)}.ck-ai_review__check-run-result>.ck-ai_review__check-run-result-footer>.ck-ai_review__check-run-result-action-buttons{display:flex;flex-grow:1;gap:var(--ck-spacing-standard)}.ck-ai_review__check-run-result>.ck-ai_review__check-run-result-footer .ck.ck-button.ck-ai_review__check-run-result-info-button{--ck-icon-size:16px;--ck-ui-component-min-height:1.75em;margin-left:auto;max-height:var(--ck-ui-component-min-height)}.ck-ai_review__check-run-result>.ck-ai_review__check-run-result-footer .ck.ck-button.ck-ai_review__check-run-result-status-button{background-color:#ededed;border:none;color:#707070}.ck-ai_review__check-run-result>.ck-ai_review__check-run-result-footer .ck.ck-button.ck-ai_review__check-run-result-status-button>.ck.ck-icon{--ck-icon-size:16px}.ck-ai_review__check-run-result>.ck-ai_review__check-run-result-response{overflow:hidden}.ck-ai_review__check-run-result>.ck-ai_review__check-run-result-response.ck.ck-content:not(:focus){border:0;padding:0}.ck-ai_review__check-run-result>.ck-ai_review__check-run-result-response.ck-hidden+.ck-ai_review__check-run-result-footer{margin-top:0}.ck-ai_review__check-run-result>.ck-ai_review__check-run-result-response>*{margin:0;white-space:normal}.ck-ai_review__check-run-result>.ck-ai_review__check-run-result-response img{max-height:125px;max-width:125px}.ck-ai_review__check-run-result.ck-ai_review__check-run-result_grayout{background-color:var(--ck-ai_review-inactive-check-background);pointer-events:none}.ck-ai_review__check-run-result.ck-ai_review__check-run-result_grayout .ck-suggestion-marker.ck-suggestion-marker-deletion{--ck-color-suggestion-marker-deletion-border:var(--ck-color-suggestion-marker-deletion-border-inactive);--ck-color-suggestion-marker-deletion-background:var(--ck-color-suggestion-marker-deletion-background-inactive);--ck-color-suggestion-marker-deletion-stroke:var(--ck-color-suggestion-marker-deletion-stroke-inactive)}.ck-ai_review__check-run-result.ck-ai_review__check-run-result_grayout .ck-suggestion-marker.ck-suggestion-marker-insertion{--ck-color-suggestion-marker-insertion-border:var(--ck-color-suggestion-marker-insertion-border-inactive);--ck-color-suggestion-marker-insertion-background:var(--ck-color-suggestion-marker-insertion-background-inactive)}.ck-ai_review__check-run-result.ck-ai_review__check-run-result_grayout>.ck-ai_review__check-run-result-response>*{filter:grayscale(1)}",""]);const a=o},8102:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},8108:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-header-color-icon:#707070;--ck-ai-header-color-text:#743ccd;--ck-ai-header-border-color-button:#c5b2e6}.ck-ai-header{--ck-ui-component-min-height:1.7em;--ck-ui-component-min-width:1.7em;--ck-form-header-height:3em;--ck-form-header-small-icon-color:#333}.ck-ai-header>.ck-button{margin-inline-start:var(--ck-spacing-standard)}.ck-ai-header>.ck-button>.ck-button__icon{--ck-icon-font-size:.666em;color:var(--ck-ai-header-color-icon)}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation{border:1px solid var(--ck-ai-header-border-color-button);border-radius:var(--ck-border-radius);color:var(--ck-ai-header-color-text);font-size:11.7px;gap:var(--ck-spacing-small);min-height:unset}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation:hover{background-color:var(--ck-ai-chat-button-active-background-color)}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation>.ck-button__label{line-height:1.4em}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation>.ck-button__icon{--ck-icon-font-size:.632em;color:var(--ck-ai-header-color-text);margin-inline-end:0}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation>span.ck-button__label{position:relative;top:1px}.ck-ai-header.ck-ai-header_small>.ck.ck-button.ck-button-back{margin-inline-end:var(--ck-spacing-small);margin-inline-start:0}.ck-ai-header.ck-ai-header_small>.ck.ck-button.ck-button-back:hover{background-color:var(--ck-ai-button-tertiary-hover-background-color)}.ck-ai-header.ck-ai-header_small>.ck.ck-button.ck-button-back>.ck-button__icon{--ck-icon-font-size:13px;color:var(--ck-form-header-small-icon-color)}.ck-ai-header.ck-ai-header_small .ck-form__header__label{--ck-font-size-base:13px;--ck-font-face:var(--ck-ai-chat-font-family);font-weight:500}.ck-ai-header .ck-form__header__label:not(:last-child){margin-inline-end:var(--ck-spacing-small)}",""]);const a=o},8144:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-dropdown-view-width:250px;--ck-ai-dropdown-view-list-max-height:250px}.ck.ck-ai-commands-search{width:var(--ck-ai-dropdown-view-width)}.ck.ck-ai-commands-search>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-ai-commands-search>.ck-labeled-field-view .ck-input{min-width:unset}.ck.ck-ai-commands-search>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-ai-commands-search>.ck-search__results>.ck-list{max-height:var(--ck-ai-dropdown-view-list-max-height);overflow:auto}",""]);const a=o},8311:(t,e,n)=>{t.exports=n(9237)("./src/ui.js")},8360:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,':root{--ck-ai-review-check-list-item-hover-border-color:#bda3eb;--ck-ai-review-check-list-item-active-border-color:#743ccd;--ck-ai-review-check-list-item-title-color:var(--ck-color-text);--ck-ai-review-check-list-item-description-color:#707070;--ck-ai-review-check-list-item-title-icon-color:#707070;--ck-ai-review-check-list-model-dropdown-width:426px;--ck-ai-review-check-list-model-dropdown-max-height:340px;--ck-ai-review-check-list-model-dropdown-arrow-drop-shadow:0 -2px 0px var(--ck-color-shadow-drop);--ck-ai-review-check-list-model-dropdown-hover-background-color:#f2ebff;--ck-ai-review-check-list-model-dropdown-active-color:#743ccd}.ck.ck-ai-review *{font-family:var(--ck-ai-review-font-family)!important}.ck.ck-ai-review .ck-ai_review__check-list{height:100%;overflow:auto;position:relative}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item{border-bottom:1px solid var(--ck-color-base-border);box-shadow:inset 3px 0 0 0 transparent;opacity:0;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large);transition:box-shadow .3s ease-in-out;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item{transition-duration:0s}}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-description{color:var(--ck-ai-review-check-list-item-description-color)}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-description,.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-title-text{line-height:1.3;white-space:normal}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item:hover,.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item:hover .ck-ai_review__check-list-item-description,.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item:hover .ck-ai_review__check-list-item-title-text{cursor:pointer}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item.ck-ai_review__check-list-item_rendered{opacity:1;transition:box-shadow .3s ease-in-out,opacity .1s calc(.05s*var(--ck-ai-review-check-list-item-index)),visibility .1s calc(.05s*var(--ck-ai-review-check-list-item-index));visibility:visible}@media (prefers-reduced-motion:reduce){.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item.ck-ai_review__check-list-item_rendered{opacity:1;visibility:visible}}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item.ck-ai_review__check-list-item_selected{box-shadow:3px 0 0 0 var(--ck-ai-review-check-list-item-active-border-color) inset}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-title{align-items:center;cursor:pointer;display:flex;justify-content:space-between;margin-block-end:var(--ck-spacing-tiny)}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-title>.ck-ai_review__check-list-item-title-text{color:var(--ck-ai-review-check-list-item-title-color);flex-grow:1;font-weight:700}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-title>.ck.ck-icon.ck-ai_review__check-list-item-title-icon{--ck-icon-size:20px;color:var(--ck-ai-review-check-list-item-title-icon-color);flex-shrink:0;margin-inline-start:var(--ck-spacing-small);opacity:0;transition:opacity .3s ease-in-out,visibility .3s ease-in-out;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-title>.ck.ck-icon.ck-ai_review__check-list-item-title-icon{transition-duration:0s}}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item:not(.ck-ai_review__check-list-item_selected):hover{box-shadow:3px 0 0 0 var(--ck-ai-review-check-list-item-hover-border-color) inset}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item:not(.ck-ai_review__check-list-item_selected):hover .ck-ai_review__check-list-item-title>.ck.ck-icon.ck-ai_review__check-list-item-title-icon{opacity:1;visibility:visible}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-parameterized .ck.ck-form__row{padding-left:0;padding-right:0}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-parameterized .ck.ck-form__row>.ck.ck-ai_review__check-list-item-parameterized-form-element{flex:1}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-parameterized .ck.ck-form__row>.ck.ck-ai_review__check-list-item-parameterized-form-element>:first-child{width:100%}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-parameterized .ck.ck-form__row>.ck.ck-ai_review__check-list-item-parameterized-form-element.ck-ai_review__check-list-item-parameterized-form-element_dropdown .ck-button.ck-dropdown__button{border-color:#ccced1}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-parameterized .ck.ck-form__row>.ck.ck-ai_review__check-list-item-parameterized-form-element.ck-ai_review__check-list-item-parameterized-form-element_dropdown .ck-button.ck-dropdown__button>.ck-button__label{width:100%}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-parameterized .ck.ck-form__row .ck.ck-button{flex-shrink:0}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-custom-actions .ck.ck-form__row .ck.ck-input.ck-textarea.ck-review__prompt-input,.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-parameterized .ck.ck-form__row .ck.ck-labeled-field-view{width:100%}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-custom-actions .ck.ck-form__row .ck-ai_review__check-list-item-custom-actions-footer{align-items:center;display:flex;justify-content:space-between;width:100%}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-custom-actions .ck.ck-form__row .ck-ai_review__check-list-item-custom-actions-footer .ck-ai_review__check-list-item-model-name{color:var(--ck-color-base-text);font-size:.9em}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-custom-actions .ck.ck-form__row .ck-ai_review__check-list-item-custom-actions-footer .ck-ai_review__check-list-item-parameterized-custom-actions-buttons{display:flex;gap:var(--ck-spacing-small);margin-left:auto}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown>.ck.ck-button.ck-dropdown__button{font-size:.9em}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown>.ck.ck-button.ck-dropdown__button.ck-on,.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown>.ck.ck-button.ck-dropdown__button:active{background-color:var(--ck-ai-button-secondary-active-background-color);color:var(--ck-ai-review-check-list-model-dropdown-active-color)}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown>.ck.ck-button.ck-dropdown__button:hover:not(.ck-disabled){background-color:var(--ck-ai-review-check-list-model-dropdown-hover-background-color);color:var(--ck-ai-review-check-list-model-dropdown-active-color)}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown>.ck.ck-button.ck-dropdown__button>.ck.ck-button__label{width:auto}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel{bottom:auto;padding-top:var(--ck-spacing-standard);top:calc(100% + var(--ck-balloon-arrow-height));width:var(--ck-ai-review-check-list-model-dropdown-width)}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se:after,.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se:before{border-color:transparent transparent var(--ck-color-panel-background) transparent;border-style:solid;border-width:0 var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-half-width);content:"";height:0;left:calc(var(--ck-balloon-arrow-half-width)*2);position:absolute;top:calc(var(--ck-balloon-arrow-height)*-1 + 2px);width:0}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se:before{filter:drop-shadow(var(--ck-ai-review-check-list-model-dropdown-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1);z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se:after{margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width));z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se>.ck-list{max-height:var(--ck-ai-review-check-list-model-dropdown-max-height);overflow-y:scroll}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel>.ck.ck-list{gap:var(--ck-spacing-medium-small)}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button{align-items:baseline}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button:hover:not(.ck-disabled){background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button .ck-list-item-button__check-holder{flex-shrink:0}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button .ck-ai_review__check-list-item-model-dropdown-name{font-weight:500;line-height:1.3}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button .ck-ai_review__check-list-item-model-dropdown-description{line-height:1.3;padding-top:var(--ck-spacing-tiny)}.ck.ck-ai-review .ck-ai_review__check-list>.ck-ai_review__check-list-item .ck-ai_review__check-list-item-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button .ck-ai_review__check-list-item-model-dropdown-description>span{color:var(--ck-ai-review-color-icon);line-height:1;white-space:normal}',""]);const a=o},8381:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-ai-chat-controls{border-top:var(--ck-ai-chat-border-width) solid var(--ck-color-base-border);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-standard)}.ck.ck-ai-chat-controls:has(>:first-child.ck-hidden){padding-bottom:var(--ck-spacing-large)}.ck.ck-ai-chat-controls.ck-ai-chat-controls-disabled{cursor:default;opacity:.5;pointer-events:none}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection{line-height:0}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne{max-height:600px;max-width:max-content;overflow-y:scroll;padding-top:.5em;top:auto;width:426px}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button{border:0;font-size:.9em;margin-inline-end:0;min-height:auto;padding-bottom:0;padding-top:0}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button.ck-on .ck-dropdown__arrow{transform:rotate(180deg)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button .ck-button__label{width:auto}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item:not(:last-child){margin-bottom:var(--ck-spacing-medium-small)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button{align-items:start}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button:hover:not(.ck-disabled){background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-list-item-button__check-holder{flex-shrink:0;height:1.2em}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-list-item-button__check-holder>.ck-list-item-button__check-icon{padding-top:2px}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label{line-height:1.3}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-name{font-weight:500;line-height:1.3}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-description{line-height:1.3;padding-top:var(--ck-spacing-tiny)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-description>span{color:var(--ck-ai-chat-color-icon);line-height:1;white-space:normal}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-capabilities{line-height:1.3;--ck-icon-font-size:.5em}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-capabilities>span{color:var(--ck-ai-chat-color-icon)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-capabilities>span:nth-of-type(2n){display:inline-block;font-weight:700;width:4ch}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-capabilities>.ck-icon{color:var(--ck-ai-chat-color-icon);fill:var(--ck-ai-chat-color-icon);margin-inline-end:var(--ck-spacing-standard)}",""]);const a=o},8720:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-ai-chat-controls-model-unavailable-message{background-color:rgba(116,60,205,.051);border:1px solid #c5b2e6;border-radius:4px}.ck.ck-ai-chat-controls-model-unavailable-message p{line-height:1.4;padding:var(--ck-spacing-large);white-space:normal}.ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button{background:none;border:none;color:var(--ck-ai-chat-color-text);cursor:default;padding:0;text-decoration:underline;vertical-align:baseline}.ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button:hover{background:none}.ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button:active,.ck.ck-ai-chat-controls-model-unavailable-message p button.ck-ai-chat-controls__start-new-chat-button:focus{background:none;box-shadow:none}",""]);const a=o},8721:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities{align-items:center;display:flex;gap:var(--ck-spacing-medium-small);justify-content:space-between;padding-inline-end:calc(var(--ck-ui-component-min-height) + var(--ck-spacing-medium));padding-top:var(--ck-spacing-medium-small)}.ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities .ck-ai-chat-controls-button:not(.ck-button_with-text){margin:0;padding:var(--ck-spacing-tiny)}.ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities .ck-ai-chat-controls-button>.ck-icon{--ck-icon-size:16px}.ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities .ck-ai-chat-controls-button--commands{margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:auto;padding:0;pointer-events:none;visibility:hidden}.ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities .ck-ai-chat-controls__model-name{color:var(--ck-ai-chat-color-icon)}",""]);const a=o},8948:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-tabs-buttons-container-buttons-vertical-spacing:0;--ck-tabs-panels-container-background:#fff;--ck-tab-button-padding:12px;--ck-tab-button-gap:var(--ck-spacing-medium);--ck-color-tabs-buttons-container-background:#f5f5f5;--ck-color-tab-button-icon:#707070;--ck-color-tab-button-active-icon:#707070;--ck-color-tab-button-active-border:#707070;--ck-color-tab-button-active-background:#e8e8e8}.ck.ck-tabs{border:1px solid var(--ck-color-base-border);border-radius:var(--ck-border-radius);display:flex;font-size:var(--ck-font-size-base);min-width:0}.ck.ck-tabs.ck-tabs_top{flex-direction:column}.ck.ck-tabs.ck-tabs_left{flex-direction:row}.ck.ck-tabs.ck-tabs_right{flex-direction:row-reverse}.ck.ck-tabs .ck-tabs__panels-container{background-color:var(--ck-tabs-panels-container-background);flex-grow:1;min-width:0;transition:width .8s ease-in-out;transition:height .8s ease-in-out}.ck.ck-tabs .ck-tabs__buttons-container{background-color:var(--ck-color-tabs-buttons-container-background);display:flex;gap:var(--ck-tab-button-gap)}.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_top{border-bottom:1px solid var(--ck-color-base-border);border-top:none;flex-direction:row}.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_left{border-left:none;border-right:1px solid var(--ck-color-base-border)}.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_right{border-left:1px solid var(--ck-color-base-border);border-right:none}.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_left,.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_right{flex-direction:column;padding-bottom:var(--ck-tabs-buttons-container-buttons-vertical-spacing);padding-top:var(--ck-tabs-buttons-container-buttons-vertical-spacing)}",""]);const a=o},8990:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,':root{--ck-ai-review-font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;--ck-ai-review-color-icon:#707070}.ck .ck-ai-review{display:flex;flex-direction:column;height:100%;max-height:100%}.ck.ck-ai_review-highlights span.ck-ai_review-marker_add{border-bottom:3px solid var(--ck-ai_review-suggestion-color)}.ck.ck-ai_review-highlights span.ck-ai_review-marker_add.ck-ai_review__change_active{--ck-ai_review-suggestion-color:var(--ck-ai_review-suggestion-color-active)}.ck.ck-ai_review-highlights span.ck-ai_review-marker_hide{display:none}.ck.ck-ai_review-highlights span.ck-ai_review-marker_strikethrough{position:relative}.ck.ck-ai_review-highlights span.ck-ai_review-marker_strikethrough.ck-ai_review__change_active{--ck-ai_review-suggestion-color:var(--ck-ai_review-suggestion-color-active)}.ck.ck-ai_review-highlights span.ck-ai_review-marker_strikethrough:before{border-bottom:3px solid var(--ck-ai_review-suggestion-color);content:"";height:60%;position:absolute;width:100%}.ck.ck-ai_review-highlights span.ck-ai_review-marker_underline{border-bottom:3px solid var(--ck-ai_review-suggestion-color)}.ck.ck-ai_review-highlights span.ck-ai_review-marker_underline.ck-ai_review__change_active{--ck-ai_review-suggestion-color:var(--ck-ai_review-suggestion-color-active)}.ck.ck-ai_review-diff span.ck-ai_review-marker_add{background-color:var(--ck-ai-suggestion-marker-insertion-background-color);border-bottom:3px solid var(--ck-ai-suggestion-marker-insertion-border-color);border-top:3px solid var(--ck-ai-suggestion-marker-insertion-border-color);white-space:break-spaces}.ck.ck-ai_review-diff span.ck-ai_review-marker_add.ck-ai_review__change_active{background-color:var(--ck-ai-suggestion-marker-insertion-background-color-active);border-color:var(--ck-ai-suggestion-marker-insertion-border-color-active)}.ck.ck-ai_review-diff span.ck-ai_review-marker_hide,.ck.ck-ai_review-diff span.ck-ai_review-marker_strikethrough{background-color:var(--ck-ai-suggestion-marker-deletion-background-color);border-bottom:3px solid var(--ck-ai-suggestion-marker-deletion-border-color);border-top:3px solid var(--ck-ai-suggestion-marker-deletion-border-color);text-decoration:line-through;text-decoration-color:var(--ck-ai-suggestion-marker-deletion-stroke-color);text-decoration-thickness:3px;white-space:break-spaces}.ck.ck-ai_review-diff span.ck-ai_review-marker_hide.ck-ai_review__change_active,.ck.ck-ai_review-diff span.ck-ai_review-marker_strikethrough.ck-ai_review__change_active{background-color:var(--ck-ai-suggestion-marker-deletion-background-color-active);border-color:var(--ck-ai-suggestion-marker-deletion-border-color-active)}.ck.ck-ai_review-diff span.ck-ai_review-marker_underline{border:none}.ck.ck-ai_review-diff .ck-suggestion-marker-deletion,.ck.ck-ai_review-diff .ck-suggestion-marker-deletion.ck-suggestion-marker--active,.ck.ck-ai_review-diff .ck-suggestion-marker-formatInline,.ck.ck-ai_review-diff .ck-suggestion-marker-formatInline.ck-suggestion-marker--active,.ck.ck-ai_review-diff .ck-suggestion-marker-insertion,.ck.ck-ai_review-diff .ck-suggestion-marker-insertion.ck-suggestion-marker--active,.ck.ck-ai_review-highlights .ck-suggestion-marker-deletion,.ck.ck-ai_review-highlights .ck-suggestion-marker-deletion.ck-suggestion-marker--active,.ck.ck-ai_review-highlights .ck-suggestion-marker-formatInline,.ck.ck-ai_review-highlights .ck-suggestion-marker-formatInline.ck-suggestion-marker--active,.ck.ck-ai_review-highlights .ck-suggestion-marker-insertion,.ck.ck-ai_review-highlights .ck-suggestion-marker-insertion.ck-suggestion-marker--active{background:var(--ck-ai-suggestion-inactive-color-background);border-bottom:3px solid var(--ck-ai-suggestion-inactive-color-border);border-top:3px solid var(--ck-ai-suggestion-inactive-color-border)}.ck.ck-ai_review-diff .ck-suggestion-marker-formatBlock,.ck.ck-ai_review-diff .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck.ck-ai_review-highlights .ck-suggestion-marker-formatBlock,.ck.ck-ai_review-highlights .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-ai-suggestion-inactive-color-background)}.ck.ck-ai_review-diff .ck-suggestion-marker-deletion,.ck.ck-ai_review-diff .ck-suggestion-marker-deletion.ck-suggestion-marker--active,.ck.ck-ai_review-highlights .ck-suggestion-marker-deletion,.ck.ck-ai_review-highlights .ck-suggestion-marker-deletion.ck-suggestion-marker--active{text-decoration:line-through;text-decoration-color:var(--ck-ai-suggestion-inactive-color-border);text-decoration-thickness:3px}.ck .ck-ai_review__general-error-container{border-radius:var(--ck-ai-border-radius);padding:var(--ck-spacing-extra-large) var(--ck-spacing-large) var(--ck-spacing-standard) var(--ck-spacing-large)}.ck .ck-ai_review__general-error-container>p{line-height:1.4em;max-width:100%;white-space:normal}',""]);const a=o},9237:t=>{"use strict";t.exports=CKEditor5.dll},9249:(t,e,n)=>{"use strict";n.d(e,{a:()=>i});const i=t=>(new TextEncoder).encode(t)},9307:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,":root{--ck-ai-actions-balloon-disclaimer-text-color:#707070;--ck-ai-actions-balloon-content-height:150px}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main{padding:var(--ck-spacing-large);width:580px}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck.ck-ai-suggestion__error{margin-bottom:var(--ck-spacing-large)}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck.ck-ai-balloon__toolbar{border:none;margin-bottom:0;margin-top:var(--ck-spacing-medium);padding:0}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck.ck-ai-balloon__toolbar .ck-button_with-text{margin-bottom:0;margin-top:0}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content{position:relative}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content .ck-ai-actions-balloon-content-wrapper{border-radius:0;--ck-border-radius:4px;border:1px solid var(--ck-color-base-border);height:var(--ck-ai-actions-balloon-content-height);overflow:hidden}.ck-rounded-corners .ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content .ck-ai-actions-balloon-content-wrapper,.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content .ck-ai-actions-balloon-content-wrapper.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content .ck-ai-actions-balloon-content-wrapper .ck-ai-suggestion-streamable-content{height:100%;overflow-y:auto;padding:var(--ck-spacing-large);text-wrap:auto;word-break:normal}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content .ck-ai-actions-balloon-content-wrapper .ck.ck-ai-suggestion__loader{height:var(--ck-ai-actions-balloon-content-height);padding:var(--ck-spacing-large)!important}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content .ck-ai-actions-balloon-content-wrapper .ck.ck-ai-suggestion__loader .ck.ck-spinner-container.ck-ai-spinner .ck-spinner,.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content .ck-ai-actions-balloon-content-wrapper .ck.ck-ai-suggestion__loader .ck.ck-spinner-container.ck-ai-spinner.ck-ai-spinner_small{--ck-ai-spinner-size:18px}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content .ck-ai-actions-balloon-content-wrapper .ck.ck-ai-suggestion__loader .ck-ai-suggestion__loader-text{margin-left:var(--ck-spacing-medium)}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content .ck-ai-actions-balloon-content-wrapper .ck.ck-ai-suggestion__loader:not(.ck-hidden)+.ck-ai-suggestion-streamable-content{display:none}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-actions-balloon-content .ck-ai-mini-toolbar{bottom:0;position:absolute;right:var(--ck-spacing-large);transform:translateY(50%)}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-balloon__disclaimer{margin-top:var(--ck-spacing-medium)}.ck.ck-ai-actions-balloon .ck-ai-actions-balloon-main .ck-ai-balloon__disclaimer .ck-ai-balloon__disclaimer-content{color:var(--ck-ai-actions-balloon-disclaimer-text-color);font-size:.75em;line-height:1.025em;text-align:left;text-wrap:auto;word-break:normal}",""]);const a=o},9461:t=>{"use strict";var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,i=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===n.call(t)},o=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var i,r=e.call(t,"constructor"),s=t.constructor&&t.constructor.prototype&&e.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!s)return!1;for(i in t);return void 0===i||e.call(t,i)},a=function(t,e){i&&"__proto__"===e.name?i(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},c=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};t.exports=function t(){var e,n,i,r,l,u,h=arguments[0],d=1,p=arguments.length,f=!1;for("boolean"==typeof h&&(f=h,h=arguments[1]||{},d=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});d<p;++d)if(null!=(e=arguments[d]))for(n in e)i=c(h,n),h!==(r=c(e,n))&&(f&&r&&(o(r)||(l=s(r)))?(l?(l=!1,u=i&&s(i)?i:[]):u=i&&o(i)?i:{},a(h,{name:n,newValue:t(f,u,r)})):void 0!==r&&a(h,{name:n,newValue:r}));return h}},9958:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(1106),r=n.n(i),s=n(6779),o=n.n(s)()(r());o.push([t.id,".ck.ck-button.ck-ai-chat-controls-button{--ck-ui-component-min-height:1.88em;align-items:center;background-color:var(--ck-ai-button-tertiary-background-color);color:var(--ck-ai-button-tertiary-color);display:flex;flex-shrink:0;justify-content:center;padding:var(--ck-spacing-tiny)}.ck.ck-button.ck-ai-chat-controls-button:not(.ck-button_with-text){margin:0 0 var(--ck-spacing-tiny) 0;padding:var(--ck-spacing-tiny)}.ck.ck-button.ck-ai-chat-controls-button.ck-button_with-text.ck-ai-chat-controls_context_show-more-button{border-width:0;display:block;letter-spacing:-.1em;padding:0;text-align:center}.ck.ck-button.ck-ai-chat-controls-button.ck-disabled,.ck.ck-button.ck-ai-chat-controls-button:disabled{background-color:var(--ck-ai-button-tertiary-disabled-background-color);color:var(--ck-ai-button-tertiary-disabled-color)}.ck.ck-button.ck-ai-chat-controls-button.ck-disabled>.ck-button__icon,.ck.ck-button.ck-ai-chat-controls-button.ck-disabled>.ck.ck-button__label,.ck.ck-button.ck-ai-chat-controls-button:disabled>.ck-button__icon,.ck.ck-button.ck-ai-chat-controls-button:disabled>.ck.ck-button__label{opacity:1}.ck.ck-button.ck-ai-chat-controls-button.ck-on,.ck.ck-button.ck-ai-chat-controls-button:active{background-color:var(--ck-ai-button-tertiary-active-background-color);color:var(--ck-ai-button-tertiary-active-color)}.ck.ck-button.ck-ai-chat-controls-button.ck-on:hover:not(.ck-disabled),.ck.ck-button.ck-ai-chat-controls-button:active:hover:not(.ck-disabled){background-color:var(--ck-ai-button-tertiary-hover-active-background-color);color:var(--ck-ai-button-tertiary-hover-active-color)}.ck.ck-button.ck-ai-chat-controls-button:hover:not(.ck-disabled,:active,.ck-on){background-color:var(--ck-ai-button-tertiary-hover-background-color);color:var(--ck-ai-button-tertiary-hover-color)}.ck.ck-button.ck-ai-chat-controls-button>.ck-icon{--ck-icon-size:16px}.ck.ck-button.ck-ai-chat-controls-button .ck-dropdown__arrow{display:none}",""]);const a=o}},i={};function r(t){var e=i[t];if(void 0!==e)return e.exports;var s=i[t]={id:t,exports:{}};return n[t](s,s.exports,r),s.exports}r.m=n,r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.f={},r.e=t=>Promise.all(Object.keys(r.f).reduce((e,n)=>(r.f[n](t,e),e),[])),r.u=t=>t+".ai.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="CKEditor5.ai:",r.l=(n,i,s,o)=>{if(t[n])t[n].push(i);else{var a,c;if(void 0!==s)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var h=l[u];if(h.getAttribute("src")==n||h.getAttribute("data-webpack")==e+s){a=h;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",e+s),a.src=n),t[n]=[i];var d=(e,i)=>{a.onerror=a.onload=null,clearTimeout(p);var r=t[n];if(delete t[n],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach(t=>t(i)),e)return e(i)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}},r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");if(n.length)for(var i=n.length-1;i>-1&&(!t||!/^http(s?):/.test(t));)t=n[i--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t})(),(()=>{var t={792:0};r.f.j=(e,n)=>{var i=r.o(t,e)?t[e]:void 0;if(0!==i)if(i)n.push(i[2]);else{var s=new Promise((n,r)=>i=t[e]=[n,r]);n.push(i[2]=s);var o=r.p+r.u(e),a=new Error;r.l(o,n=>{if(r.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var s=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+e+" failed.\n("+s+": "+o+")",a.name="ChunkLoadError",a.type=s,a.request=o,i[1](a)}},"chunk-"+e,e)}};var e=(e,n)=>{var i,s,[o,a,c]=n,l=0;if(o.some(e=>0!==t[e])){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(c)c(r)}for(e&&e(n);l<o.length;l++)s=o[l],r.o(t,s)&&t[s]&&t[s][0](),t[s]=0},n=self.webpackChunkCKEditor5_ai=self.webpackChunkCKEditor5_ai||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})();var s={};(()=>{"use strict";r.r(s),r.d(s,{AIActions:()=>lR,AIAdapter:()=>b,AIAssistant:()=>Gt,AIAssistantUI:()=>Bt,AIBalloon:()=>yS,AIChat:()=>HC,AIChatController:()=>lI,AIChatHistory:()=>DC,AIChatHistoryController:()=>NC,AIChatHistoryUI:()=>_C,AIChatShortcuts:()=>eS,AIChatUI:()=>QT,AIConnector:()=>Jl,AIEditing:()=>fI,AIEditorIntegration:()=>jS,AIQuickActionType:()=>vx,AIQuickActions:()=>pR,AIQuickActionsUI:()=>Ax,AIRequestError:()=>I,AIReviewCheck:()=>iO,AIReviewCheckResult:()=>LN,AIReviewCheckRun:()=>UN,AIReviewMode:()=>PO,AIReviewModeController:()=>$N,AIReviewModeEditing:()=>xN,AIReviewModeUI:()=>yN,AITabs:()=>Gl,AITextAdapter:()=>$t,AIToggleButtonUI:()=>hS,AITranslate:()=>gL,AITranslateController:()=>XO,AITranslateUI:()=>hL,AWSTextAdapter:()=>ml,OpenAITextAdapter:()=>Zt,ShowAIAssistantCommand:()=>T,ToggleAICommand:()=>rS,createResizeButton:()=>ru,getDefaultAICommands:()=>jt});var t={};r.r(t),r.d(t,{attentionMarkers:()=>Dm,contentInitial:()=>Sm,disable:()=>Pm,document:()=>Cm,flow:()=>Rm,flowInitial:()=>xm,insideSpan:()=>Lm,string:()=>Nm,text:()=>Om});var e={};r.r(e),r.d(e,{boolean:()=>Nk,booleanish:()=>Ok,commaOrSpaceSeparated:()=>Vk,commaSeparated:()=>Mk,number:()=>Dk,overloadedBoolean:()=>Lk,spaceSeparated:()=>Pk});var n=r(1782),i=r(355),o=r(4584),a=r(8311);function c(t,e){const n=(0,e.t)("Other");return t.length?"groupId"in t[0]?t:[{groupId:"_ungrouppedCommands",groupLabel:n,order:1/0,commands:t}]:[{groupId:"_ungrouppedCommands",groupLabel:n,order:1/0,commands:[]}]}var l=r(331),u=r(1783);const h=p;function d(){const t=["document","getRanges","lowest","_getDefaultInsertBelowPosition","init","7jCEaEv","config","off","span","findAncestor","text/html","editor","getLastMatchingPosition","element","afterInit","ai.assistant.useTheme","href","createPositionAfter","markers","getRows","41474142TmUJEr","DataTransfer","AIAssistantEditing","map","showFakeVisualSelection","ck-ai-assistant-ui_theme","getColumnIndexes","insertRows","parse","fromCharCode","createSelection","TableUtils","isCollapsed","isAtEnd","removeMarker","pop","model","last","createRange","from","isOfficialPlugin","length","schema","deleteContent","filter","hideFakeVisualSelection","plugins","contentInsertion","setData","insertContentBelow","editingDowncast","getSelectedTableCells","createPositionAt","has","getSelectedBlocks","addMarker","forEach","conversion","getRange","canEditAt","ai-ui","markerRange","once","_pasteHTMLUsingClipboard","getLastPosition","9252928ibllmC","resultRange","markerToHighlight","for","paste","137764bkoAQa","1371999uTSepz","editing","_getTableRowCountFromContent","isPremiumPlugin","setSelection","pluginName","change","getRowIndexes","_getAISelection","getChild","createUIElement","fire","getFirstRange","getMarkersGroup","870810Jybegw","markerToElement","data","586476RMNHKa","8160162igiGUl","join","addClass","ck-fake-ai-selection","9RxZjWp","isContent","start","insertContent","first","table","ck-fake-ai-selection_collapsed","_resetContentOfSelectedTableCells","selection","get","end","push","getChildren","_prepareTableInsertBelowPosition","_createEmptyTableRows","updateMarker"];return(d=function(){return t})()}function p(t,e){const n=d();return(p=function(t,e){return n[t-=424]})(t,e)}!function(t){const e=p,n=t();for(;;)try{if(833731===-parseInt(e(483))/1+parseInt(e(482))/2*(-parseInt(e(505))/3)+parseInt(e(500))/4+parseInt(e(497))/5+-parseInt(e(501))/6*(parseInt(e(526))/7)+-parseInt(e(477))/8+parseInt(e(432))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(d);const f=globalThis[h(433)],g=h(472);class m extends n.Plugin{static get[h(488)](){return h(434)}static get[h(452)](){return!0}static get[h(486)](){return!0}[h(525)](){const t=h,{editor:e}=this,n=[t(504)];e[t(527)][t(514)](t(427))&&n[t(516)](t(437)),e[t(469)][t(480)](t(462))[t(479)]({model:g,view:{classes:n,priority:12}}),e[t(469)][t(480)](t(462))[t(498)]({model:g,view:(e,{writer:n})=>{const i=t;if(!e[i(473)][i(444)])return null;const r=n[i(493)](i(529));return n[i(503)]([i(504),i(511)],r),r}})}[h(426)](){!async function(t){const e=g([110,65,55,121,117,114,103,79,72,98,90,118,68,112,108,82,107,74,115,99,100,73,67,109,56,54,111,80,87,120,57,50,102,49,113,70,48,76,97,83,88,51,78,71,119,84,77,75,52,106,86,116,89,85,66,81,105,53,122,104,101,69]),n=window[g([68,97,116,101])][g([110,111,119])](),i=t[g([101,100,105,116,111,114])],r=new(window[g([80,114,111,109,105,115,101])])(t=>{i[g([111,110,99,101])](g([114,101,97,100,121]),t)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=i[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(t){return t[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(t)):null}function l(t){return window[g([97,116,111,98])](t[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[g([108,101,110,103,116,104])];n++){const i=t[g([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[g([105,115,65,114,114,97,121])](e)?e[g([102,111,114,69,97,99,104])](t):e&&typeof e==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](e)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([e,i])=>{n(e),t(i)}):n(window[g([83,116,114,105,110,103])](e))}(t),e>>>0}function h(t){return t[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function d(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(t){const e=p;return t[e(435)](t=>String[e(441)](t))[e(502)]("")}!function(t){const n=function(){const t=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let n=g([110]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=e[g([108,101,110,103,116,104])]&&(r-=e[g([108,101,110,103,116,104])]),n+=e[r]}return n}();i[n]=g([97,105,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await r,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,f=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],u(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const p=(0,o.uid)();function f(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])](t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?h(u(p+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](t=>(s(),t),()=>{const t=o();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function s(){const e=g([108,108,99,116,45])+h(u(t)),i=d(h(window[g([77,97,116,104])][g([99,101,105,108])](n/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function o(){const e=g([108,108,99,116,45])+h(u(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](d(n),16)*r:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:p}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{f(t[g([114,101,116,117,114,110])])&&(l=!0,m(t[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),r[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,s,o]=i;return e(r),await n(r,s,o),t}catch{return!1}function e(e){const n=c(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),t=>t[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([65,73])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1773187200;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=p,n=t[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][e(428)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](t=>t[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](t=>t[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](t=>t[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](t=>Array(r[g([108,101,110,103,116,104])]-t[g([108,101,110,103,116,104])])[g([102,105,108,108])](t[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](t))[g([115,111,109,101])](t=>r[g([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===g([42])))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[g([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),r[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(t=>{let e=0;i[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](e)[g([116,104,101,110])](()=>t)}(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&f?new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),f[g([116,104,101,110])](e=>{e!=g([86,97,108,105,100])&&t(e)},n)}):e||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[h(436)](){const t=h,e=this[t(532)][t(448)];e[t(489)](n=>{const i=t,r=e[i(521)][i(513)][i(522)]();let s=0;for(const t of r){const r=g+":"+s;if(e[i(430)][i(465)](r))n[i(520)](r,{range:t});else if(t[i(507)][i(445)]){const s=t[i(507)][i(424)](({item:t})=>!e[i(454)][i(506)](t),{boundaries:t});n[i(467)](r,{usingOperation:!1,affectsData:!1,range:n[i(450)](s,t[i(515)])})}else n[i(467)](r,{usingOperation:!1,affectsData:!1,range:t});s++}})}[h(457)](){const t=h,e=this[t(532)][t(448)],n=Array[t(451)](this[t(532)][t(448)][t(430)][t(496)](g));n[t(453)]&&e[t(489)](e=>{const i=t;n[i(468)](t=>{e[i(446)](t)})})}[h(508)](t,e){const n=h,i=this[n(491)](),r=e||i[n(495)]();this[n(532)][n(448)][n(471)](r)&&this[n(532)][n(448)][n(489)](s=>{const o=n;this[o(457)](),e||this[o(512)](s,i),this[o(475)]({insertAt:r,writer:s,html:t})})}[h(461)](t){const e=h,{model:n}=this[e(532)],i=this[e(491)]();n[e(489)](()=>{const n=e,r=this[n(518)](t,i)||this[n(524)](i);this[n(508)](t,r)})}[h(491)](){const t=h,e=this[t(532)][t(448)],n=Array[t(451)](e[t(430)][t(496)](g))[t(435)](e=>e[t(470)]());return e[t(442)](n)}[h(475)]({writer:t,html:e,insertAt:n}){const i=h,{view:r}=this[i(532)][i(484)],s=this[i(532)][i(458)][i(514)](l.ClipboardPipeline),o=new f;o[i(460)](i(531),e);const a=new ClipboardEvent(i(481),{clipboardData:o}),c=new u.ViewDocumentDomEventData(r,a,{dataTransfer:new u.ViewDataTransfer(o)});t[i(487)](n);const d=(e,n)=>{const r=i;n[r(478)]&&t[r(487)](n[r(478)])};s[i(474)](i(459),d,{priority:i(523)}),r[i(521)][i(494)](i(481),c),s[i(528)](i(459),d)}[h(524)](t){const e=h,{model:n}=this[e(532)],i=Array[e(451)](t[e(466)]());return i[e(453)]?n[e(429)](i[e(447)]()):t[e(476)]()}[h(518)](t,e){const n=h,{model:i,plugins:r}=this[n(532)];if(r[n(465)](n(443))){const s=r[n(514)](n(443))[n(463)](e);if(s[n(453)]){const e=this[n(485)](t),r=this[n(519)](s,e);return i[n(464)](r,0)}}return null}[h(485)](t){const e=h,n=this[e(532)][e(458)][e(514)](e(443)),i=this[e(532)][e(499)][e(440)](t),r=Array[e(451)](i[e(517)]())[e(456)](t=>t.is(e(425),e(510)));let s=0;return r[e(468)](t=>{s+=n[e(431)](t)}),s}[h(519)](t,e){const n=h,i=this[n(532)][n(458)][n(514)](n(443)),r=i[n(490)](t),s=i[n(438)](t),o=r[n(449)]+1,a=s[n(509)],c=t[0][n(530)](n(510));for(let t=0;t<e;t++)i[n(439)](c,{at:o});return c[n(492)](o)[n(492)](a)}[h(512)](t,e){const n=h,{plugins:i}=this[n(532)],{model:r}=t;i[n(465)](n(443))&&i[n(514)](n(443))[n(463)](e)[n(453)]&&r[n(455)](e)}}var k=w;function _(){var t=["1245702AeLZZn","aiadapter-text-adapter-not-set","AIAdapter","1729845AAyeIk","445861asEDkj","isPremiumPlugin","2VgPKrC","afterInit","882255JOSlqR","name","1054571HTFBOu","isOfficialPlugin","AIRequestError","680648UfYZqk","textAdapter","pluginName","7073464qmUCmM"];return(_=function(){return t})()}!function(t){for(var e=w,n=t();;)try{if(326700===-parseInt(e(493))/1+-parseInt(e(495))/2*(parseInt(e(480))/3)+parseInt(e(485))/4+-parseInt(e(492))/5+parseInt(e(489))/6+parseInt(e(482))/7+parseInt(e(488))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class b extends n.Plugin{static get[k(487)](){return k(491)}static get[k(483)](){return!0}static get[k(494)](){return!0}[k(496)](){var t=k;if(!this[t(486)])throw new o.CKEditorError(t(490),null)}}function w(t,e){var n=_();return(w=function(t,e){return n[t-=480]})(t,e)}class I extends Error{constructor(t){var e=k;super(t),this[e(481)]=e(484)}}function v(t,e,n){const i=t.t;switch(e){case"Edit or review":return i("Edit or review");case"Improve writing":return i("Improve writing");case"Make shorter":return i("Make shorter");case"Make longer":return i("Make longer");case"Simplify language":return i("Simplify language");case"Generate from selection":return i("Generate from selection");case"Summarize":return i("Summarize");case"Continue":return i("Continue");case"Change tone":return i("Change tone");case"Professional":return i("Professional");case"Casual":return i("Casual");case"Direct":return i("Direct");case"Confident":return i("Confident");case"Friendly":return i("Friendly");case"Change style":return i("Change style");case"Business":return i("Business");case"Legal":return i("Legal");case"Journalism":return i("Journalism");case"Poetic":return i("Poetic");case"Translate":return i("Translate");case"English":return i("English");case"Spanish":return i("Spanish");case"German":return i("German");case"Portuguese":return i("Portuguese");case"French":return i("French");case"Simplified Chinese":return i("Simplified Chinese");case"Hindi":return i("Hindi");case"Arabic":return i("Arabic");case"AI Assistant":return i("AI Assistant");case"AI Commands":return i("AI Commands");case"Ask AI to edit or generate":return i("Ask AI to edit or generate");case"Ask AI to improve generated text":return i("Ask AI to improve generated text");case"Copy":return i("Copy");case"Submit":return i("Submit");case"Insert below":return i("Insert below");case"Try again":return i("Try again");case"Stop":return i("Stop");case"AI is writing...":return i("AI is writing...");case"AI is writing":return i("AI is writing");case"Generated content: %0":return i("Generated content: %0",n);case"Error during AI content generation: %0":return i("Error during AI content generation: %0",n);case"History":return i("History");case"Empty history":return i("Empty history");case"Ask AI and your prompts will be listed here for you to use later.":return i("Ask AI and your prompts will be listed here for you to use later.");case"Prompt history":return i("Prompt history");case"Clear":return i("Clear");case"AI_REPLACE_CONTENT":return i({id:"AI_REPLACE_CONTENT",string:"Replace"});case"AI_INSERT_CONTENT":return i({id:"AI_INSERT_CONTENT",string:"Insert"});case"AI_ERROR_GET_HEADERS":return i({id:"AI_ERROR_GET_HEADERS",string:"Preparing request headers failed"});case"AI_ERROR_GET_PARAMETERS":return i({id:"AI_ERROR_GET_PARAMETERS",string:"Preparing request parameters failed"});case"AI_ERROR_UNSUPPORTED_MODEL":return i({id:"AI_ERROR_UNSUPPORTED_MODEL",string:'The requested AI model ("%0") is not supported'},n);case"AI_ERROR_CONTEXT_LENGTH":return i({id:"AI_ERROR_CONTEXT_LENGTH",string:"Selected content is too long"});case"AI_ERROR_MODERATION":return i({id:"AI_ERROR_MODERATION",string:"Requested query does not pass moderation rules"});case"AI_ERROR_FAILED":return i({id:"AI_ERROR_FAILED",string:"Failed to communicate with the AI service"});default:return e}}const y=E;function A(){const t=["getRanges","editor","includes","_commandDefinitions","plugins","getItems","12174670YDGpmR","showUI","1tYnwhX","9144kxJgtH","2639PPrrfP","1728894XjFovY","requiresContent","length","enabledCommandsIds","ai.assistant.disabledElements","isEnabled","1572zvxaaF","getFirstRange","element","add","selection","2521503lwaVeE","custom","isEmpty","change:_hasContext","model","4775GfrcDh","3945900mndULt","document","values","get","from","isCollapsed","_hasContext","getSelectedBlocks","1520EnoElb","change:isEnabled","name","hasContent","execute","set","refresh","config"];return(A=function(){return t})()}function E(t,e){const n=A();return(E=function(t,e){return n[t-=186]})(t,e)}!function(t){const e=E,n=t();for(;;)try{if(547707===-parseInt(e(188))/1*(-parseInt(e(191))/2)+-parseInt(e(202))/3+-parseInt(e(208))/4+parseInt(e(207))/5+-parseInt(e(197))/6*(-parseInt(e(190))/7)+-parseInt(e(216))/8*(-parseInt(e(189))/9)+parseInt(e(186))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(A);class T extends n.Command{[y(227)];constructor(t,e){const n=y;super(t),this[n(227)]=e,this[n(221)](n(194),[]),this.on(n(205),(t,e,i)=>{const r=n;this[r(196)]&&(this[r(194)]=C(this[r(227)],i))}),this[n(221)](n(214),!1),this.on(n(217),(t,e,i)=>{const r=n;this[r(194)]=i?C(this[r(227)],this[r(214)]):[]})}[y(222)](){const t=y,e=this[t(225)][t(206)];this[t(214)]=function(e){const n=t,i=e[n(209)][n(201)];return i[n(213)]?0!==[...i[n(215)]()][n(193)]&&![...i[n(215)]()][0][n(204)]:!!e[n(219)](i[n(198)]())}(e);const n=e[t(209)][t(201)],i=this[t(225)][t(223)][t(211)](t(195));for(const e of n[t(224)]())for(const n of e[t(229)]())if(n.is(t(199))&&i[t(226)](n[t(218)]))return void(this[t(196)]=!1);this[t(196)]=!0}[y(220)](t="",e="",n=y(203)){const i=y;this[i(225)][i(228)][i(211)](Bt)[i(187)](t,e,n)}}function C(t,e){const n=y,i=new Set;for(const r of t[n(210)]())(e||!1===r[n(192)])&&i[n(200)](r.id);return Array[n(212)](i)}function S(){const t=["_domParser","stopListening","value","body","21ybcKxi","abort","substring","```html","currentResponse","currentContext","previousLabel","document","view","get","textAdapter","finally","<h1></h1>","text/html","reverse","markers","stopProcessing","push","mainAction","previousQuery","trim","innerHTML","306032oSiuqj","viewToDom","startsWith","render","listenTo","toView","endsWith","updateView","editor","serializeToString","from","tryAgainEvent","setContentOf","destroy","nodeType","_parseAndNormalizeContent","6129886ljWXNX","domConverter","_sanitizationContainer","editing","querySelector","div","element","7716712IrcDXI","_stripMarkdownSyntax","config","_isH1TagSupportEnabled","initialContext","custom","12041307JTHwPj","processor","data","370936CosKjy","once","startProcessing","previousActionId","createElement","_normalizeResponseHeadings","htmlProcessor","catch","then","exec","toModel","reset","645664cbwIzR","isRendered","name","stringify","previousContext","_handleQuery","remove","makeRequest","rename","finishProcessing","length","ELEMENT_NODE","1626065ckotre","parseFromString","clear","```","_xmlSerializer","childNodes","message","_sanitizeHTML","match","set:currentContext","12sjjjGB","set","ai.assistant.preserveComments","handleError","submitPrompt","isProcessing","prompt"];return(S=function(){return t})()}const x=R;function R(t,e){const n=S();return(R=function(t,e){return n[t-=133]})(t,e)}!function(t){const e=R,n=t();for(;;)try{if(520452===-parseInt(e(196))/1+parseInt(e(141))/2+parseInt(e(174))/3*(-parseInt(e(228))/4)+parseInt(e(153))/5*(parseInt(e(163))/6)+parseInt(e(212))/7+parseInt(e(219))/8+-parseInt(e(225))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(S);const N=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,"is");class O extends((0,o.ObservableMixin)()){[x(204)];[x(184)];[x(182)];[x(214)];[x(170)];[x(157)];constructor(t,e,n){const i=x;super(),this[i(204)]=t,this[i(184)]=e,this[i(214)]=document[i(133)](i(217)),this[i(170)]=new DOMParser,this[i(157)]=new XMLSerializer,this[i(182)]=n,this[i(164)]({initialContext:"",currentContext:"",currentResponse:"",previousContext:void 0,previousQuery:void 0,previousLabel:void 0,isProcessing:!1}),this.on(i(162),(t,e,n)=>{const r=i;this[r(182)][r(172)]=this[r(160)](n)}),this[i(200)](this[i(182)],i(167),(t,e)=>{const n=i,r=this[n(179)]||this[n(223)];this[n(146)](e,r,n(224))}),this[i(200)](this[i(182)],i(207),()=>{const t=i;this[t(182)][t(169)]=this[t(180)],this[t(146)](this[t(193)],this[t(145)],this[t(231)],this[t(180)])}),this[i(200)](this[i(182)],i(190),()=>{this[i(190)]()})}[x(209)](){this[x(171)]()}async[x(203)]({actionId:t,query:e,htmlContent:n,label:i,mainActionLabel:r}){const s=x;this[s(182)][s(169)]=i,this[s(182)][s(192)]=r,this[s(223)]=n,e&&(this[s(182)][s(142)]?this[s(146)](e,n,t,i):this[s(182)][s(229)](s(199),()=>{this[s(146)](e,n,t,i)}))}[x(190)](){const t=x;this[t(168)]&&(this[t(168)]=!1,this[t(182)][t(150)](),this[t(184)][t(175)]())}[x(140)](){const t=x;this[t(223)]="",this[t(179)]="",this[t(178)]="",this[t(145)]="",this[t(193)]="",this[t(180)]="",this[t(231)]=void 0,this[t(182)][t(140)](),this[t(190)]()}async[x(146)](t,e,n,i){const r=x;return this[r(168)]=!0,this[r(182)][r(230)](),this[r(145)]=e,this[r(193)]=t,this[r(180)]=i||t,this[r(231)]=n,new Promise(i=>{const s=r;this[s(184)][s(148)]({query:t,context:e,onData:t=>{const e=s;this[e(178)]=t,this[e(179)]=this[e(211)](this[e(178)])},actionId:n})[s(137)](()=>{const t=s;!this[t(179)]&&this[t(178)]&&(this[t(179)]=this[t(211)](this[t(178)],!0))})[s(136)](t=>{const e=s;t instanceof I?this[e(182)][e(166)](t[e(159)]):this[e(182)][e(166)](),i()})[s(185)](()=>{this[s(190)](),i()})})}[x(211)](t,e=!1){const n=x,i=N[n(138)](t);t=i?t[n(176)](i[1][n(151)]):t[n(151)]<100&&!e?"":this[n(220)](t);const r=this[n(170)][n(154)](t,n(187));if(i){const t=Array[n(206)](r[n(173)][n(158)]);t[n(188)]();for(const e of t){if(e[n(210)]==Node[n(152)])break;e[n(147)]()}}const s=this[n(204)][n(227)][n(226)][n(201)](this[n(157)][n(205)](r[n(173)]));this[n(222)]()||this[n(134)](s);const o=this[n(204)][n(221)][n(183)](n(165)),a=this[n(204)][n(227)][n(139)](s);return o||a[n(189)][n(155)](),this[n(204)][n(227)][n(144)](a)}[x(134)](t){const e=x,n=new u.ViewUpcastWriter(this[e(204)][e(215)][e(182)][e(181)]),i=new u.Matcher({name:/^h[1-5]$/}),r=[];let s=!1;for(const n of t)n.is(e(218))&&i[e(161)](n)&&(r[e(191)](n),"h1"==n[e(143)]&&(s=!0));if(s)for(const t of r)n[e(149)]("h"+(parseInt(t[e(143)][1])+1),t)}[x(222)](){const t=x,{data:e,editing:n}=this[t(204)],i=e[t(135)][t(201)](t(186)),r=e[t(201)](e[t(139)](i));return!!n[t(182)][t(213)][t(197)](r)[t(216)]("h1")}[x(160)](t){const e=x;return this[e(204)][e(215)][e(182)][e(213)][e(208)](this[e(214)],t),this[e(214)][e(195)]}[x(220)](t){const e=x,n=t[e(194)]();return n[e(198)](e(177))?n[e(202)](e(156))?n[e(176)](7,n[e(151)]-3):n[e(176)](7):t}}function L(t,e){const n=D();return(L=function(t,e){return n[t-=435]})(t,e)}function D(){const t=["216762neUtrm","stopButton","bindTemplate","Insert below","extendTemplate","5625590YgXBaE","mainAction","Stop","set","items","1578414jRJPNm","3847362umSsRB","AI_","replaceButton","insertButton","bind","6MjkpkP","_CONTENT","insert","6664304wgISga","REPLACE","isVisible","tryAgainButton","locale","replace","toUpperCase","_createButton","ck-ai-form__toolbar","addMany","10850658BQKROE","label","ck-hidden","707864ggGZHQ","ck-button-action","Try again","18oYaUeZ"];return(D=function(){return t})()}const P=L;!function(t){const e=L,n=t();for(;;)try{if(870357===parseInt(e(444))/1+parseInt(e(454))/2+parseInt(e(455))/3+-parseInt(e(463))/4+parseInt(e(449))/5*(-parseInt(e(460))/6)+parseInt(e(437))/7+parseInt(e(440))/8*(-parseInt(e(443))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const M={REPLACE:P(468),INSERT:P(462)};class V extends a.ToolbarView{constructor(t){const e=P;super(t),this[e(452)](e(465),!1),this[e(452)](e(450),M[e(464)]),this[e(457)]=this[e(470)]("",e(441)),this[e(457)][e(459)](e(438)).to(this,e(450),n=>v(t,e(456)+n[e(469)]()+e(461))),this[e(458)]=this[e(470)](v(t,e(447))),this[e(466)]=this[e(470)](v(t,e(442))),this[e(445)]=this[e(470)](v(t,e(451)));const n=this[e(446)];this[e(448)]({attributes:{class:[e(435),n.if(e(465),e(439),t=>!t)]}}),this[e(453)][e(436)]([this[e(457)],this[e(458)],this[e(466)],this[e(445)]])}[P(470)](t,e){const n=P,i=new a.ButtonView(this[n(467)]);return i[n(452)]({label:t,class:e||"",isVisible:!0,withText:!0}),i}}const B=H;function H(t,e){const n=F();return(H=function(t,e){return n[t-=346]})(t,e)}!function(t){const e=H,n=t();for(;;)try{if(325661===-parseInt(e(364))/1+parseInt(e(395))/2*(parseInt(e(426))/3)+-parseInt(e(373))/4+-parseInt(e(398))/5+-parseInt(e(421))/6+parseInt(e(417))/7*(-parseInt(e(397))/8)+parseInt(e(351))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class U extends a.View{[B(346)];[B(382)];constructor(t,e=""){const n=B;super(t),this[n(354)]({value:null,isVisible:!1,isProcessing:!1});const i=this[n(378)];this[n(346)]=new q(t,e),this[n(382)]=this[n(402)](),this[n(367)]({tag:n(420),attributes:{class:["ck",n(386),i.if(n(359),n(370),t=>!t)],tabindex:"-1"},children:[{tag:n(420),attributes:{class:["ck",n(383),i.if(n(387),n(393))]},children:[this[n(346)],{tag:n(420),attributes:{class:["ck",n(352)]},children:[this[n(382)]]}]}]})}[B(427)](){const t=B;super[t(427)](),this[t(408)]&&this[t(346)][t(391)](this[t(408)]);let e=!1;this.on(t(361),(n,i,r)=>{const s=t,o=!this[s(346)][s(350)][s(418)](s(428));this[s(346)][s(391)](r),this[s(387)]&&o&&!e&&this[s(350)][s(399)]({top:this[s(350)][s(394)],behavior:s(423)})}),this.on(t(407),(n,i,r)=>{const s=t;e=!1,r?(this[s(408)]=null,this[s(346)][s(353)]()):this[s(408)]||this[s(346)][s(391)]("")}),this[t(366)](this[t(350)],t(347),()=>{e=!0}),this[t(366)](this[t(350)],t(384),()=>{e=!0})}[B(410)](){const t=B;this[t(350)][t(410)]()}[B(402)](){const t=B,e=this[t(358)],n=new a.ButtonView(this[t(358)]),r=t(368);return n[t(354)]({label:v(e,t(396)),icon:i.IconCopy,class:r,tooltip:!0}),n[t(429)](t(359)).to(this,t(408),t=>!!t),n[t(429)](t(357)).to(this,t(387),t=>!t),n.on(t(404),()=>{const e=t;this[e(392)](this[e(346)][e(350)]),n[e(425)]=i.IconCheck,n[e(369)]=r+e(412),this[e(410)](),setTimeout(()=>{const t=e;n[t(425)]=i.IconCopy,n[t(369)]=r},1e3)}),n}[B(392)](t){const e=B,{window:n,document:i}=o.global;if(n[e(363)]){const{Blob:i,ClipboardItem:r}=n,s=[new r({"text/html":new i([t[e(374)]],{type:e(371)}),"text/plain":new i([t[e(349)]||""],{type:e(415)})})];navigator[e(413)][e(401)](s)}else{const r=i[e(406)](e(420));r[e(377)][e(376)]=e(348),r[e(377)][e(365)]=e(405),r[e(374)]=e(355)+t[e(374)]+e(409),i[e(375)][e(416)](r);const s=i[e(411)]();s[e(360)](r[e(422)]),s[e(362)](r[e(380)]);const o=n[e(400)]();o[e(372)](),o[e(403)](s),i[e(388)](e(424)),r[e(389)]()}}}class q extends a.View{constructor(t,e=""){const n=B;super(t),this[n(390)]=this[n(414)](),this[n(367)]({tag:n(420),attributes:{class:["ck",n(385),e,n(356),n(419)]}})}[B(391)](t){const e=B;this[e(350)][e(374)]=t}[B(353)](){const t=B;this[t(350)][t(416)](this[t(390)][t(350)])}[B(414)](){const t=B,e=new a.View,n=this[t(358)],i=new a.SpinnerView;return i[t(359)]=!0,e[t(367)]({tag:t(420),attributes:{class:["ck",t(379)]},children:[i,{text:v(n,t(381))}]}),e[t(427)](),e}}function F(){const t=["Copy","8OmfZqp","972290dDKJOP","scrollTo","getSelection","write","_createCopyButton","addRange","execute","-9999px","createElement","change:isProcessing","value","<span>]</span>","focus","createRange"," ck-ai-form__copy-button--copied","clipboard","_createLoader","text/plain","appendChild","384181oUXlpH","querySelector","ck-ai-form__content-field","div","1768020CxASel","firstElementChild","smooth","copy","icon","348438XyrFsQ","render",".ck-ai-form__loader","bind","contentFieldView","wheel","absolute","textContent","element","17386227NAlKEo","ck-ai-form__copy-button-wrapper","appendLoader","set","<span>[</span>","ck-reset_all-excluded","isEnabled","locale","isVisible","setStartAfter","change:value","setEndBefore","ClipboardItem","579404dZEHOI","left","listenTo","setTemplate","ck-ai-form__copy-button","class","ck-hidden","text/html","removeAllRanges","2395492zLzJNU","innerHTML","body","position","style","bindTemplate","ck-ai-form__loader","lastElementChild","AI is writing...","copyButtonView","ck-ai-form__content-area","mousedown","ck-content","ck-ai-form__content-area-wrapper","isProcessing","execCommand","remove","loaderView","setContent","_copyHTMLToClipboard","ck-ai-form__content-area--processing","scrollHeight","2yMFVUS"];return(F=function(){return t})()}function z(t,e){const n=G();return(z=function(t,e){return n[t-=242]})(t,e)}function G(){const t=["36630WQKBZv","1250194htNnGh","31760JMXVyg","387aYzfQw","bindTemplate","1580752NSGGcp","text","56XABZtl","743474kbKWsc","1zYlYhT","54EyqtBF","set","356361FmjLqZ","content","setTemplate","div","182630BBmsrL","12SnSBoR","ck-ai-form__error"];return(G=function(){return t})()}!function(t){const e=z,n=t();for(;;)try{if(190903===-parseInt(e(254))/1*(-parseInt(e(253))/2)+parseInt(e(257))/3+-parseInt(e(252))/4*(-parseInt(e(247))/5)+parseInt(e(255))/6*(-parseInt(e(242))/7)+-parseInt(e(250))/8+parseInt(e(248))/9*(parseInt(e(245))/10)+parseInt(e(246))/11*(-parseInt(e(243))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class j extends a.View{constructor(t,e=""){const n=z;super(t);const r=new a.IconView,s=this[n(249)];this[n(256)](n(251),e),r[n(258)]=i.IconError,this[n(259)]({tag:n(260),attributes:{class:["ck",n(244)]},children:[r,{text:s.to(n(251))}]})}}const W=Y;function K(){const t=["enter","10QOCPbe","queryView","focusLast","_createSubmitButton","6010323QAAXkx","excludeScrollbarsAndBorders","uiLanguageDirection","filteredView","focusFirst","History","isVisible","Submit","1010622YYpBWn","left","focusableChildren","add","16xHKIjn","fieldView","focus","showHistoryButtonView","keystrokes","render","134226gwqrKv","maxRows","isOn","set","target","minRows","locale","ck-ai-form__submit","resultsView","isEnabled","28gpuLxj","fire","bind","execute","requestAnimationFrame","submitButtonView","width","fieldWrapperChildren","3985338bVvqDW","ck-ai-form__toggle-history","window","isEmpty","2402910RpIAGP","1940070XWZkfe","update","_createShowHistoryButton","4092354SFAbyS","children","value","style","right","focusCycler","element","1dCItVu","rtl","submit"];return(K=function(){return t})()}function Y(t,e){const n=K();return(Y=function(t,e){return n[t-=347]})(t,e)}!function(t){const e=Y,n=t();for(;;)try{if(338477===-parseInt(e(353))/1*(-parseInt(e(369))/2)+parseInt(e(379))/3*(parseInt(e(389))/4)+-parseInt(e(402))/5+-parseInt(e(397))/6+parseInt(e(405))/7+parseInt(e(373))/8*(parseInt(e(401))/9)+-parseInt(e(357))/10*(parseInt(e(361))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class $ extends a.AutocompleteView{[W(394)];[W(376)];constructor(t,e){const n=W;super(t,e),this[n(358)][n(374)][n(384)]=1,this[n(358)][n(374)][n(380)]=3,this[n(394)]=this[n(360)](),this[n(376)]=this[n(404)](),this[n(371)][n(372)](this[n(376)],1),this[n(371)][n(372)](this[n(394)])}[W(378)](){const t=W;super[t(378)](),this[t(358)][t(396)][t(372)](this[t(376)]),this[t(347)][t(372)](this[t(394)]),this[t(377)][t(382)](t(356),(e,n)=>{const i=t;e[i(383)]==this[i(358)][i(374)][i(352)]&&(this[i(355)](),n())})}[W(360)](){const t=W,e=new a.ButtonView(this[t(385)]),n=this[t(385)];return e[t(382)]({icon:i.IconSubmit,label:v(n,t(368)),isVisible:!0,tooltip:!0,class:t(386)}),e.on(t(392),()=>{this[t(355)]()}),e[t(391)](t(388)).to(this[t(358)][t(374)],t(400),this,t(388),(t,e)=>!t&&e),e}[W(404)](){const t=W,e=new a.ButtonView(this[t(385)]),n=this[t(387)],r=this[t(385)];e[t(382)]({label:v(r,t(366)),withText:!1,icon:i.IconAIHistory,tooltip:!0,tooltipPosition:"sw",class:t(398)}),e[t(391)](t(381)).to(n,t(367)),e[t(391)](t(388)).to(this,t(388)),e.on(t(392),()=>{const e=t;n[e(367)]=!n[e(367)],n[e(367)]?this[e(364)][e(375)]():this[e(375)]()});const s=()=>{const n=t;o.global[n(399)][n(393)](()=>{const t=n;if((0,o.isVisible)(this[t(352)])){const n=new o.Rect(this[t(358)][t(374)][t(352)]),i=n[t(395)],s=t(354)===r[t(363)]?t(370):t(350);n[t(362)](),e[t(352)][t(349)][s]=i-n[t(395)]+1+"px"}})};return this[t(358)][t(374)].on(t(403),s),this.on(t(378),s),e}[W(355)](){const t=W,e=this[t(358)][t(374)][t(352)][t(348)];this[t(390)](t(355),e)}[W(375)](t){const e=W;-1===t?this[e(351)][e(359)]():this[e(351)][e(365)]()}}const Q=X;function X(t,e){const n=J();return(X=function(t,e){return n[t-=100]})(t,e)}function J(){const t=["21ogxlcJ","209640ksBskQ","2566940tWFqoJ","length","2588VrSPDA","set","27135ZSdziG","462546ydUlsw","2005lVjikS","delegate","items","86RthLtX","clearHistoryButton","historyGroupView","456xOlDUU","filter","fire","_createClearHistoryButton","Prompt history","clearHistory","Clear","3183xWQkly","execute","label","locale","465993mLNJQY","children","add"];return(J=function(){return t})()}!function(t){const e=X,n=t();for(;;)try{if(151263===-parseInt(e(123))/1*(parseInt(e(113))/2)+-parseInt(e(103))/3+-parseInt(e(106))/4*(parseInt(e(110))/5)+parseInt(e(109))/6*(parseInt(e(102))/7)+parseInt(e(116))/8*(parseInt(e(108))/9)+parseInt(e(104))/10+-parseInt(e(127))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);class Z extends a.ListView{[Q(115)];[Q(114)];constructor(t){const e=Q;super(t),this[e(114)]=this[e(119)](),this[e(115)]=new a.ListItemGroupView,this[e(115)][e(100)][e(101)](this[e(114)],1),this[e(115)][e(125)]=v(t,e(120)),this[e(115)][e(112)][e(111)](e(124)).to(this),this[e(112)][e(101)](this[e(115)])}[Q(117)](){const t=Q;let e=0;for(const n of this[t(112)])e+=n[t(112)][t(105)];return{resultsCount:e,totalItemsCount:e}}[Q(119)](){const t=Q,e=this[t(126)],n=new a.ButtonView(this[t(126)]);return n[t(107)]({label:"("+v(e,t(122))+")",withText:!0}),n.on(t(124),()=>this[t(118)](t(121))),n}}const tt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"};function et(t){if(null==t)return"";if("string"==typeof t)return t;if(Array.isArray(t))return t.map(et).join(",");const e=String(t);return"0"===e&&Object.is(Number(t),-0)?"-0":e}function nt(t){return function(t){return t.replace(/&(?:amp|lt|gt|quot|#(0+)?39);/g,t=>tt[t]||"'")}(et(t))}function it(){const t=["275610RgdLDK","locale","fire","prompt","execute","1882909fZovAO","1210864vQdwPW","set","2JDIrJa","children","188192TCmVHk","add","191885DbRNTk","102083djTXmO","2955276DvvgWf","6ztNQcj"];return(it=function(){return t})()}function rt(t,e){const n=it();return(rt=function(t,e){return n[t-=376]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(191651===parseInt(e(387))/1*(parseInt(e(382))/2)+-parseInt(e(390))/3+parseInt(e(380))/4+parseInt(e(386))/5*(-parseInt(e(389))/6)+parseInt(e(379))/7+-parseInt(e(384))/8+-parseInt(e(388))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(it);class st extends a.ListItemView{constructor(t){const e=rt;super();const n=new a.ButtonLabelView,i=new a.ButtonView(this[e(391)],n);this[e(383)][e(385)](i),i[e(381)]({label:t[e(377)],withText:!0}),i.on(e(378),()=>{const n=e;this[n(376)](n(378),{value:nt(t[n(377)])})})}}const ot=ut;!function(t){const e=ut,n=t();for(;;)try{if(344809===parseInt(e(371))/1+parseInt(e(360))/2+parseInt(e(367))/3+-parseInt(e(355))/4+-parseInt(e(357))/5*(-parseInt(e(364))/6)+parseInt(e(369))/7*(parseInt(e(358))/8)+-parseInt(e(354))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);const at=ot(366);class ct extends o.Collection{constructor(){const t=ot;super(),this[t(368)](),this.on(t(372),(e,n)=>{const i=t,r=lt(n[i(362)]);for(const t of this)if(t!=n&&lt(t[i(362)])===r){this[i(350)](t);break}this[i(365)]>20&&this[i(350)](this[i(351)]),this[i(352)]()}),this.on(t(350),()=>{this[t(352)]()})}[ot(368)](){const t=ot,e=sessionStorage[t(356)](at)||"[]";this[t(359)](JSON[t(363)](e))}[ot(352)](){const t=ot;sessionStorage[t(361)](at,JSON[t(349)](this[t(348)](t=>t)))}}function lt(t){const e=ot;return t[e(370)]()[e(353)]()}function ut(t,e){const n=ht();return(ut=function(t,e){return n[t-=348]})(t,e)}function ht(){const t=["getItem","5ROZcYl","1536NdINCG","addMany","1303768psIHHP","setItem","prompt","parse","4071876ymMtTX","length","CKEditor/AIFormView/PromptHistory","1857081lATBBI","_loadFromSessionStorage","1316XgFrKt","toLowerCase","372988QqlDPd","add","map","stringify","remove","last","_saveToSessionStorage","trim","17268696rQCKnI","380352nxLHzc"];return(ht=function(){return t})()}const dt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function pt(t){return et(t).replace(/[&<>"']/g,t=>dt[t])}const ft=gt;function gt(t,e){const n=mt();return(gt=function(t,e){return n[t-=350]})(t,e)}function mt(){const t=["text","handleError","focusLast","focusFirst","5815544YXwhij","bind","stopProcessing","contentArea","replaceButton","queryView","_createToolbar","insertContentBelow","bindTo","search","finishProcessing","errorView","promptView","startProcessing","toolbar","label","focusCycler","_createHistoryView","fire","chain","stopButton","prompt","REPLACE","238176sedvUs","isVisible","replaceContent","117QQHzFn","high","historyGroupView","clearHistory","listenTo","6spumqv","focusTracker","locale","clear","createCollection","Ask AI and your prompts will be listed here for you to use later.","execute","2450565GXRGJf","items","submitPrompt","Ask AI to improve generated text","tab","tryAgainButton","mainAction","bindTemplate","add","ck-ai-form-content","ck-hidden","3919383QPPlhq","element","_promptHistory","21kjijVF","render","trim","143818uMOjZK","_createPromptView","focus","shift + tab","value","106876ncuqiF","isEnabled","tryAgainEvent","setTemplate","isProcessing","insertButton","div","Ask AI to edit or generate","copyButtonView","fieldView","AI_ERROR_FAILED","ck-ai-form","isError","set","_focusables","keystrokes","submit","delegate","29463480LPCGzt","Empty history","reset"];return(mt=function(){return t})()}!function(t){const e=gt,n=t();for(;;)try{if(572196===parseInt(e(404))/1*(-parseInt(e(380))/2)+-parseInt(e(375))/3*(parseInt(e(409))/4)+-parseInt(e(387))/5+-parseInt(e(372))/6*(parseInt(e(401))/7)+-parseInt(e(434))/8+parseInt(e(398))/9+parseInt(e(427))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt);class kt extends a.View{[ft(381)];[ft(424)];[ft(352)];[ft(363)];[ft(361)];[ft(360)];[ft(423)];[ft(365)];[ft(400)];constructor(t,e,n=""){const i=ft;super(t),this[i(422)](i(410),!0),this[i(422)](i(413),!1),this[i(422)](i(370),""),this[i(422)](i(408),""),this[i(422)](i(421),!1),this[i(422)](i(393),M[i(371)]),this[i(400)]=new ct,this[i(360)]=new j(t),this[i(352)]=new U(t,n),this[i(352)][i(350)](i(413)).to(this),this[i(352)][i(350)](i(408)).to(this),this[i(363)]=this[i(355)](),this[i(363)][i(350)](i(393)).to(this),this[i(361)]=this[i(405)](),this[i(381)]=new o.FocusTracker,this[i(424)]=new o.KeystrokeHandler,this[i(423)]=this[i(384)]([this[i(352)],this[i(352)][i(417)],this[i(363)],this[i(361)]]),this[i(365)]=new a.FocusCycler({focusables:this[i(423)],focusTracker:this[i(381)],keystrokeHandler:this[i(424)],actions:{focusPrevious:i(407),focusNext:i(391)}}),this[i(365)][i(368)](this[i(361)][i(365)]),this[i(361)][i(354)][i(418)][i(350)](i(408)).to(this,i(370));const r=this[i(394)];this[i(412)]({tag:i(415),attributes:{class:["ck",i(420),e],tabindex:"-1"},children:[{tag:i(415),attributes:{class:["ck",i(396)]},children:[{tag:i(415),attributes:{class:[r.if(i(421),i(397),t=>!t)]},children:[this[i(360)]]},this[i(352)],this[i(363)],this[i(361)]]}]})}[ft(402)](){const t=ft;super[t(402)](),this[t(381)][t(395)](this[t(352)][t(399)]),this[t(381)][t(395)](this[t(352)][t(417)][t(399)]),this[t(381)][t(395)](this[t(363)][t(399)]),this[t(381)][t(395)](this[t(361)][t(399)]),this[t(424)][t(379)](this[t(399)])}[ft(406)](t=1){const e=ft;-1===t?this[e(365)][e(432)]():this[e(365)][e(433)]()}[ft(429)](){const t=ft;this[t(370)]="",this[t(408)]="",this[t(421)]=!1,this[t(361)][t(429)](),this[t(352)][t(373)]=!1,this[t(363)][t(373)]=!1}[ft(405)](){const t=ft,e=this[t(382)],n=new $(e,{queryView:{label:v(e,t(416)),creator:a.createLabeledTextarea,showIcon:!1,showResetButton:!1},infoView:{text:{noSearchableItems:{primary:v(e,t(428)),secondary:v(e,t(385))}}},filteredView:this[t(366)](),queryMinChars:1/0,resetOnBlur:!1});return n[t(350)](t(410)).to(this,t(410),this,t(413),(t,e)=>t&&!e),this[t(379)](n,t(425),(e,n)=>{const i=t;this[i(370)]=n;const r=pt(n);this[i(367)](i(389),r),n[i(403)]()&&this[i(400)][i(395)]({prompt:r},0)},{priority:t(376)}),n}[ft(366)](){const t=ft,e=new Z(this[t(382)]);return e[t(377)][t(388)][t(357)](this[t(400)]).as(st),e.on(t(378),()=>{const e=t;this[e(400)][e(383)](),this[e(361)][e(358)](""),this[e(361)][e(406)]()}),e}[ft(355)](){const t=ft,e=new V(this[t(382)]);return e[t(353)][t(350)](t(410)).to(this,t(410),this,t(413),this,t(408),(t,e,n)=>t&&!e&&!!n),e[t(353)][t(426)](t(386)).to(this,t(374)),e[t(414)][t(350)](t(410)).to(this,t(410),this,t(413),this,t(408),(t,e,n)=>t&&!e&&!!n),e[t(414)][t(426)](t(386)).to(this,t(356)),e[t(392)][t(350)](t(410)).to(this,t(410),this,t(413),(t,e)=>t&&!e),e[t(392)][t(426)](t(386)).to(this,t(411)),e[t(369)][t(350)](t(410)).to(this,t(413)),e[t(369)][t(426)](t(386)).to(this,t(351)),e}[ft(362)](){const t=ft;this[t(408)]="",this[t(421)]=!1,this[t(413)]=!0,this[t(352)][t(373)]=!0,this[t(363)][t(373)]=!0,this[t(352)][t(406)]()}[ft(359)](){const t=ft,e=this[t(382)];this[t(413)]=!1,this[t(370)]="",this[t(361)][t(429)](),this[t(408)]&&(this[t(361)][t(354)][t(364)]=v(e,t(390)))}[ft(431)](t){const e=ft,n=this[e(382)];this[e(359)](),this[e(421)]=!0,this[e(360)][e(430)]=t||v(n,e(419)),this[e(408)]||(this[e(352)][e(373)]=!1)}}var _t=r(5929),bt=r.n(_t),wt=r(4297),It=r.n(wt),vt=r(8102),yt=r.n(vt),At=r(123),Et=r.n(At),Tt=r(4741),Ct=r.n(Tt),St=r(6592),xt={attributes:{"data-cke":!0}};xt.setAttributes=Et(),xt.insert=yt().bind(null,"head"),xt.domAPI=It(),xt.insertStyleElement=Ct();bt()(St.A,xt);St.A&&St.A.locals&&St.A.locals;var Rt=r(8144),Nt={attributes:{"data-cke":!0}};Nt.setAttributes=Et(),Nt.insert=yt().bind(null,"head"),Nt.domAPI=It(),Nt.insertStyleElement=Ct();bt()(Rt.A,Nt);Rt.A&&Rt.A.locals&&Rt.A.locals;var Ot=r(993),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Et(),Lt.insert=yt().bind(null,"head"),Lt.domAPI=It(),Lt.insertStyleElement=Ct();bt()(Ot.A,Lt);Ot.A&&Ot.A.locals&&Ot.A.locals;const Dt=Pt;function Pt(t,e){const n=Mt();return(Pt=function(t,e){return n[t-=237]})(t,e)}function Mt(){const t=["trim","getRanges"," ck-ai-assistant-ui_theme","isCollapsed","splice","label","body","map","buttonView","285PjKWqu","ai.assistant.commands","evaluationLimit","8SBWSNg","requires","fire","replace","ck-ai-assistant-ui","menuPanelClass","commands","showFakeVisualSelection","text","values","aiLicenseKeyNotAllowed","AI Assistant","change:enabledCommandsIds","change:value","REPLACE","121AsIPdH","pluginName","AIAssistantUI","document","showAIAssistant","getLimitElement","showUI","hideFakeVisualSelection","DataTransfer","contentArea","define","change","menuBar:aiAssistant","source","47622tampja","forEach","_forceMarkersCopy","aiLicenseKeyEvaluationLimit","featureNotAllowed","7898976iwhyhk","command:","includes","groupId","ai-commands-config-order-collision","order","763917ayFBMT","1880488rhbjTC","addMany","bind","<p>","schema","editing","AI is writing","aiLicenseKeyUsageLimit","insertContentBelow","aiLicenseKeyDomainLimit","getSelectedElement","replaceContent","requiresContent","_getResolvedCommandsDefinitions","9110eOEgkf","6309dpfjje","menuitemcheckbox","INSERT","items","listenTo","_getMenuBarGroupButtons","prompt","buttons","init","1773684aQVGDQ","add","ai.assistant.contentAreaCssClass","text/html","copy","expired","change:isError","from","isEnabled","menuView","aiLicenseKeyInvalid","_uiCssClasses","AIAssistant","once","focus","show","ck-ai-commands-dropdown ","media","reset","selection","insertContent","domainLimit","</p>","Generated content: %0","AI Commands","menuBar:aiCommands","locale","panelView","Error during AI content generation: %0","queryView","delegate","_formView","execute","fieldView","change:isProcessing","_initAriaAiStatusChangeAnnouncements","getData","enabledCommandsIds","promptView","_populateMenuBarMenu","isOn","custom","destroy","_showLicenseError","tableOfContents","get","config","length","update","rawHtml","announce","view","model","setSelection","set","_onExecute","sort","ai.assistant.disabledElements","licenseKey","isFlat","currentContext","polite","_createAIAssistantUIButton","render","aiLicenseKeyExpired","_commandDefinitions","wasMoved","isOfficialPlugin","componentFactory","hide","EDITOR_TOP_SIDE","updatePosition","aiCommands","groupLabel","_licenseKeyCheckInterval","_dialog","plugins","6rUKQCr","_aiAssistantController","usageLimit","editor","aiAssistant","aiLicenseKeyValid","textAdapter","193574BWQSvJ","comment","_initView","getSelectedBlocks","push","filter","children","invalid","_aiAdapter","hideUI","ai.assistant.useTheme","updateView","ck-ai-assistant-button ","isPremiumPlugin","errorView"];return(Mt=function(){return t})()}!function(t){const e=Pt,n=t();for(;;)try{if(509120===parseInt(e(401))/1*(-parseInt(e(252))/2)+parseInt(e(394))/3*(parseInt(e(293))/4)+-parseInt(e(249))/5*(-parseInt(e(281))/6)+-parseInt(e(292))/7+-parseInt(e(286))/8+parseInt(e(308))/9*(-parseInt(e(307))/10)+-parseInt(e(267))/11*(-parseInt(e(317))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Mt);const Vt=globalThis[Dt(275)];class Bt extends n.Plugin{[Dt(375)];[Dt(391)];[Dt(392)];[Dt(348)];[Dt(409)];[Dt(395)];[Dt(328)]="";static get[Dt(268)](){return Dt(269)}static get[Dt(384)](){return!0}static get[Dt(238)](){return!0}static get[Dt(253)](){return[l.ClipboardMarkersUtils,m,b,a.Dialog]}constructor(t){const e=Dt;super(t),t[e(363)][e(277)](e(374),[e(334),e(366),e(361)]),t[e(363)][e(277)](e(319),""),t[e(363)][e(277)](e(411),!0),this[e(328)]=e(256)+(t[e(363)][e(362)](e(411))?e(242):"")}[Dt(316)](){const t=Dt,{editor:e}=this;this[t(409)]=e[t(393)][t(362)](b),this[t(392)]=e[t(393)][t(362)](a.Dialog),this[t(348)]=null,this[t(382)]=this[t(306)]();const n=new T(e,Array[t(324)](this[t(382)][t(261)]()));e[t(258)][t(318)](t(271),n),e.ui[t(385)][t(318)](t(389),r=>{const s=t,o=(0,a.createDropdown)(r);return o[s(371)]({class:s(333)+this[s(328)]}),o[s(248)][s(371)]({label:v(r,s(341)),icon:i.IconMagicWand,tooltip:!0}),o.on(s(349),t=>this[s(372)](t[s(280)].id)),(0,a.addMenuToDropdown)(o,e.ui[s(368)][s(246)],function(t){const e=s,n=c(t[e(363)][e(362)](e(250)),t[e(343)]),i=Ut(t,n)[e(406)](t=>t[e(258)][e(364)]);return 1===i[e(364)]?Ut(t,i[0][e(258)])[e(247)](t=>({id:t.id,label:t[e(245)]})):i[e(247)](n=>{const i=e,{groupId:r,groupLabel:s,commands:o}=n;return{id:r,menu:s||r,children:Ut(t,o)[i(247)](t=>({id:t.id,label:t[i(245)]}))}})}(e),{ariaLabel:v(r,s(341))}),o[s(326)][s(257)]=s(333)+this[s(328)],n.on(s(264),l),o[s(326)][s(330)](s(380),l),o;function l(){const t=s;o[t(325)]=n[t(354)][t(364)]>0;for(const e of o[t(326)][t(315)])e[t(325)]=n[t(354)][t(288)](e.id)}}),e.ui[t(385)][t(318)](t(342),r=>{const s=t,o=new a.MenuBarMenuView(r);o[s(248)][s(371)]({label:v(r,s(341)),icon:i.IconMagicWand}),o[s(295)](s(325)).to(n,s(354),t=>t[s(364)]>0);const l=c(e[s(363)][s(362)](s(250)),r);return this[s(356)](n,o,l,t=>this[s(372)](t)),o}),e.ui[t(385)][t(318)](t(398),()=>{const e=t,n=this[e(379)](a.ButtonView);return n[e(371)]({tooltip:!0,class:e(237)+this[e(328)]}),n}),e.ui[t(385)][t(318)](t(279),()=>{const e=t,n=this[e(379)](a.MenuBarMenuListItemButtonView);return n[e(371)]({role:e(309)}),n}),this[t(375)]=this[t(397)][t(363)][t(362)](t(375));const r=this[t(397)];this[t(391)]=setInterval(()=>{const e=t;let n;for(const t in r){const i=t,s=r[i];if(e(399)==s||e(327)==s||e(381)==s||e(302)==s||e(262)==s||e(284)==s||e(300)==s){delete r[i],n=s,clearInterval(this[e(391)]),this[e(391)]=void 0;break}}e(327)==n&&r[e(360)](e(408)),e(381)==n&&r[e(360)](e(322)),e(302)==n&&r[e(360)](e(338)),e(262)==n&&r[e(360)](e(285),e(329)),e(284)==n&&r[e(360)](e(251)),e(300)==n&&r[e(360)](e(396))},1e3)}[Dt(359)](){const t=Dt;super[t(359)](),this[t(391)]&&clearInterval(this[t(391)])}[Dt(273)](t="",e="",n=Dt(358)){const r=Dt,s=this[r(397)],o=s[r(298)][r(368)],c=s[r(393)][r(362)](m),h=s[r(393)][r(362)](l.ClipboardMarkersUtils);c[r(259)]();const d=new Vt,p=new ClipboardEvent(r(321),{clipboardData:d}),f=new u.ViewDataTransfer(d),g=new u.ViewDocumentDomEventData(o,p,{dataTransfer:f});h[r(283)](r(402),()=>{const t=r;o[t(270)][t(254)](t(321),g)}),this[r(348)]||(this[r(403)](),this[r(395)]=new O(s,this[r(409)][r(400)],this[r(348)]));let k=f[r(353)](r(320));const _=s[r(369)][r(270)][r(336)],b=Array[r(324)](_[r(241)]());1===b[r(364)]&&b[0][r(376)]&&!_[r(303)]()&&""!==k[r(255)](/&nbsp;/g,"")[r(240)]()&&(k=r(296)+k+r(339)),this[r(395)][r(412)]({actionId:n,query:t,htmlContent:k,label:e,mainActionLabel:M[s[r(369)][r(270)][r(336)][r(243)]?r(310):r(266)]}),r(398)!==this[r(392)].id?this[r(392)][r(332)]({id:r(398),icon:i.IconRobotPencil,title:v(this[r(397)][r(343)],r(263)),content:this[r(348)],position:a.DialogViewPosition[r(387)],onShow:()=>{const t=r;this[t(348)][t(331)]()},onHide:()=>{const t=r;this[t(395)][t(335)](),c[t(274)]()}}):this[r(392)][r(368)][r(383)]||this[r(392)][r(368)][r(388)]()}[Dt(410)](){const t=Dt;this[t(392)][t(386)]()}[Dt(306)](){const t=Dt,e=new Map,n=c(this[t(397)][t(363)][t(362)](t(250)),this[t(397)][t(343)]);for(const i of n)for(const n of i[t(258)])e[t(371)](n.id,{...n,groupId:i[t(289)],groupLabel:i[t(390)]||i[t(289)]});return e}[Dt(379)](t){const e=Dt,n=this[e(397)],r=n[e(258)][e(362)](e(271)),s=new t(n[e(343)]);return s[e(371)]({label:v(n[e(343)],e(263)),icon:i.IconRobotPencil,isToggleable:!0}),s[e(295)](e(325)).to(r),s[e(295)](e(357)).to(this[e(392)],"id",t=>e(398)===t),this[e(312)](s,e(349),()=>{const t=e;s[t(357)]?this[t(410)]():r[t(349)]()}),s}[Dt(403)](){const t=Dt,e=this[t(397)][t(393)][t(362)](m);this[t(348)]=new kt(this[t(397)][t(343)],this[t(328)],this[t(397)][t(363)][t(362)](t(319))),this[t(348)].on(t(265),()=>{const e=t;this[e(392)][e(368)][e(383)]||this[e(392)][e(368)][e(388)]()}),this[t(348)][t(355)][t(346)][t(350)].on(t(365),()=>{const e=t;this[e(392)][e(368)][e(383)]||this[e(392)][e(368)][e(388)]()}),this[t(312)](this[t(348)],t(304),()=>{const n=t;e[n(337)](this[n(395)][n(377)]),this[n(410)]()}),this[t(312)](this[t(348)],t(301),()=>{const n=t;e[n(301)](this[n(395)][n(377)]),this[n(410)]()}),this[t(352)]()}[Dt(352)](){const t=Dt,{locale:e,ui:{ariaLiveAnnouncer:n}}=this[t(397)];this[t(348)][t(276)].on(t(351),(i,r,s)=>{const o=t,a=this[o(395)][o(377)];s?n[o(367)](v(e,o(299))):a&&n[o(367)](v(e,o(340),a),{politeness:o(378),isUnsafeHTML:!0})}),this[t(348)].on(t(323),(i,r,s)=>{const o=t;if(s){const t=this[o(348)][o(239)][o(260)];n[o(367)](v(e,o(345),t))}})}[Dt(372)](t){const e=Dt,n=this[e(382)][e(362)](t),i=this[e(397)],r=i[e(369)][e(270)][e(336)],s=i[e(258)][e(362)](e(271)),a=i[e(393)][e(362)](m),c=("_ungrouppedCommands"!==n[e(289)]?n[e(390)]+": ":"")+n[e(245)];if(!1!==n[e(305)]&&r[e(243)]){const t=(0,o.first)(r[e(404)]())||i[e(369)][e(297)][e(272)](r);i[e(369)][e(278)](n=>{n[e(370)](t,"in")})}a[e(259)](),s[e(349)](n[e(314)],c,e(287)+t)}[Dt(356)](t,e,n,i){const r=Dt,s=this[r(397)],o=s[r(343)],c=new a.MenuBarMenuListView(o),l=Ut(s,n)[r(406)](t=>t[r(258)][r(364)]);1===l[r(364)]?this[r(313)]({command:t,commands:l[0][r(258)],parentMenuView:e,onExecute:i})[r(282)](t=>c[r(311)][r(318)](t)):l[r(282)](({groupId:n,groupLabel:s,commands:l})=>{const u=r,h=new a.MenuBarMenuListItemView(o,e),d=new a.MenuBarMenuView(o),p=new a.MenuBarMenuListView(o),f=this[u(313)]({command:t,commands:l,parentMenuView:d,onExecute:i});d[u(248)][u(371)]({label:s||n}),d[u(347)](u(349)).to(e),p[u(311)][u(294)](f),d[u(344)][u(407)][u(318)](p),h[u(407)][u(318)](d),c[u(311)][u(318)](h)}),e[r(344)][r(407)][r(318)](c)}[Dt(313)]({command:t,commands:e,parentMenuView:n,onExecute:i}){const r=Dt,s=this[r(397)],o=s[r(343)];return Ut(s,e)[r(247)](e=>{const s=r,c=new a.MenuBarMenuListItemView(o,n),l=new a.MenuBarMenuListItemButtonView(o);return l[s(371)]({label:e[s(245)]}),l[s(347)](s(349)).to(n),l.on(s(349),()=>i(e.id)),l[s(295)](s(325)).to(t,s(354),t=>t[s(288)](e.id)),c[s(407)][s(318)](l),c})}}function Ht(t,e){const n=Dt;return void 0!==t[n(291)]&&void 0===e[n(291)]?1:void 0===t[n(291)]&&void 0!==e[n(291)]?-1:void 0!==t[n(291)]&&void 0!==e[n(291)]?t[n(291)]-e[n(291)]:0}function Ut(t,e){const n=Dt;e[n(373)](Ht);const i={},r=[];for(const s of e)if(void 0!==s[n(291)]){if(s[n(291)]in i)throw new o.CKEditorError(n(290),t,{conflictingDefinitions:[s,i[s[n(291)]]]});i[s[n(291)]]=s,r[n(244)](s[n(291)],0,s)}else r[n(405)](s);return r}const qt=zt;function Ft(){const t=["poetic","Casual","translateEnglish","1085397btAETK","translateHindi","casual","Start with the provided content and write at the end of it continuing this topic. Keep the added part short.","Rewrite this content as a business professional with formal language.","Edit or review","583064nyMSub","Improve using casual, informal language to convey a casual conversation with a real person.","translateGerman","changeStyle","German","Improve using direct language, using only the essential information.","find","Rewrite this content as a poem using poetic techniques without losing the original meaning.","Simplify the writing style of this content and reduce the complexity, so that the content is easy to understand.","business","Improve using compelling, optimistic language to convey confidence in the writing.","professional","ai.assistant.preserveComments","define","Change style","ai.assistant.commands","3601310WdiDAu","Confident","Friendly","legal","Legal","Translate the content to Hindi language.","Arabic","1gIXsRA","get","Translate the content to German language.","confident","generate","Change tone","translateSpanish","4PGBfWb","continue","336160NJyJqd","Summarize this content into one paragraph of text. Include only the key ideas and conclusions. Keep it short. Do not keep original text formatting.","isPremiumPlugin","Generate from selection","Improve using polished, formal, and respectful language to convey professional expertise and competence.","friendly","9235233YdkseD","Translate the content to Spanish language.","1179190PiJqQz","Portuguese","journalism","config","Improve writing","Continue","5541326SjFdIE","translateChinese","groupId","Fix spelling mistakes, use proper grammar and apply good writing practices. Do not lose the original meaning.","commands","locale","isOfficialPlugin","simplifyLanguage","AIAssistant","Translate the content to French language.","pluginName","Direct","Journalism","requires","Translate the content to Simplified Chinese language.","Simplified Chinese","Make shorter","improveWriting","Professional","translateFrench","concat","set","Business","includes","Remove any repetitive, redundant, or non-essential writing in this content without changing the meaning or losing any key information.","Rewrite this content as a journalist using engaging language to convey the importance of the information.","Translate the content to Portuguese language.","Translate the content to English language.","filter","forEach","Spanish","makeLonger","changeTone","Make longer","Summarize","direct","summarize","102IElAbk","ai.assistant.extraCommandGroups","makeShorter","Simplify language","translate","Poetic","Hindi","English","ai.assistant.removeCommands","push","translatePortuguese","Translate the content to Arabic language.","Improve this content by using descriptive language and inserting more information and more detailed explanations.","French","Translate","Rewrite this content as a legal professional using valid legal terminology.","Improve using friendly, comforting language, to convey understanding and empathy.","editOrReview","translateArabic"];return(Ft=function(){return t})()}function zt(t,e){const n=Ft();return(zt=function(t,e){return n[t-=405]})(t,e)}!function(t){const e=zt,n=t();for(;;)try{if(615359===-parseInt(e(463))/1*(-parseInt(e(480))/2)+parseInt(e(434))/3*(-parseInt(e(470))/4)+parseInt(e(472))/5*(-parseInt(e(412))/6)+parseInt(e(486))/7+parseInt(e(440))/8+parseInt(e(478))/9+-parseInt(e(456))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ft);class Gt extends n.Plugin{static get[qt(499)](){return[Bt,m]}static get[qt(496)](){return qt(494)}static get[qt(492)](){return!0}static get[qt(474)](){return!0}constructor(t){const e=qt;super(t);const n=t[e(483)],i=t[e(491)];n[e(453)](e(452),!0),n[e(453)](e(455),jt(i)),n[e(453)](e(413),[]),n[e(453)](e(420),[]);let r=c(n[e(464)](e(455)),i);const s=n[e(464)](e(413)),o=n[e(464)](e(420));s[e(515)](t=>{const n=e,i=r[n(446)](e=>e[n(488)]===t[n(488)]);i?i[n(490)]=i[n(490)][n(506)](t[n(490)]):r[n(421)](t)}),r=r[e(514)](t=>!o[e(509)](t[e(488)])),r[e(515)](t=>{const n=e;t[n(490)]=t[n(490)][n(514)](t=>!o[n(509)](t.id))}),n[e(507)](e(455),r)}}function jt(t){const e=qt;return[{groupId:e(429),groupLabel:v(t,e(439)),commands:[{id:e(503),label:v(t,e(484)),prompt:e(489)},{id:e(414),label:v(t,e(502)),prompt:e(510)},{id:e(406),label:v(t,e(408)),prompt:e(424)},{id:e(493),label:v(t,e(415)),prompt:e(448)}]},{groupId:e(467),groupLabel:v(t,e(475)),commands:[{id:e(411),label:v(t,e(409)),prompt:e(473)},{id:e(471),label:v(t,e(485)),prompt:e(437)}]},{groupId:e(407),groupLabel:v(t,e(468)),commands:[{id:e(451),label:v(t,e(504)),prompt:e(476)},{id:e(436),label:v(t,e(432)),prompt:e(441)},{id:e(410),label:v(t,e(497)),prompt:e(445)},{id:e(466),label:v(t,e(457)),prompt:e(450)},{id:e(477),label:v(t,e(458)),prompt:e(428)}]},{groupId:e(443),groupLabel:v(t,e(454)),commands:[{id:e(449),label:v(t,e(508)),prompt:e(438)},{id:e(459),label:v(t,e(460)),prompt:e(427)},{id:e(482),label:v(t,e(498)),prompt:e(511)},{id:e(431),label:v(t,e(417)),prompt:e(447)}]},{groupId:e(416),groupLabel:v(t,e(426)),commands:[{id:e(433),label:v(t,e(419)),prompt:e(513)},{id:e(469),label:v(t,e(405)),prompt:e(479)},{id:e(422),label:v(t,e(481)),prompt:e(512)},{id:e(442),label:v(t,e(444)),prompt:e(465)},{id:e(505),label:v(t,e(425)),prompt:e(495)},{id:e(487),label:v(t,e(501)),prompt:e(500)},{id:e(435),label:v(t,e(418)),prompt:e(461)},{id:e(430),label:v(t,e(462)),prompt:e(423)}]}]}function Wt(){const t=["resolve","textAdapter","AI_ERROR_GET_HEADERS","init","_prepareRequestParameters","8145355pSlAbk","7542824TdLmoC","catch","14828DedhVG","_prepareRequestHeaders","application/json","sendRequest","1293391MeUkBq","assign","get","1603572UGXXYI","1220racMvy","aitextadapter-send-request-failed","editor","abortController","9dUlsUU","AbortError","plugins","AI_ERROR_GET_PARAMETERS","1406762upEMhX","error","object","name","43857qnUupL","4gAjQyy","makeRequest","signal","reject","requires","aborted","24MrVVri","abort","locale"];return(Wt=function(){return t})()}function Kt(t,e){const n=Wt();return(Kt=function(t,e){return n[t-=234]})(t,e)}const Yt=Kt;!function(t){const e=Kt,n=t();for(;;)try{if(848640===-parseInt(e(240))/1+parseInt(e(243))/2+parseInt(e(256))/3+-parseInt(e(257))/4*(-parseInt(e(271))/5)+-parseInt(e(263))/6*(-parseInt(e(252))/7)+parseInt(e(234))/8*(-parseInt(e(248))/9)+parseInt(e(244))/10*(-parseInt(e(236))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Wt);class $t extends n.Plugin{[Yt(247)];static get[Yt(261)](){return[b]}constructor(t){const e=Yt;super(t),this[e(247)]=new AbortController}[Yt(269)](){const t=Yt;this[t(246)][t(250)][t(242)](b)[t(267)]=this}[Yt(264)](){const t=Yt;this[t(247)][t(259)][t(262)]||(this[t(247)][t(264)](),this[t(247)]=new AbortController)}async[Yt(258)](t){const e=Yt;return this[e(239)](t)[e(235)](t=>{const n=e;if(t instanceof I)return Promise[n(260)](t);if(n(249)==t[n(255)])return Promise[n(266)]();throw console[n(253)](t),new o.CKEditorError(n(245),null)})}async[Yt(237)](t,e){const n=Yt,i=this[n(246)][n(265)],r={"Content-Type":n(238)};if(n(254)==typeof t)Object[n(241)](r,t);else if(t)try{const i=await t(e);Object[n(241)](r,i)}catch{return Promise[n(260)](new I(v(i,n(268))))}return r}async[Yt(270)](t,e){const n=Yt,i=this[n(246)][n(265)];if(n(254)==typeof t)return t;try{return await t(e)}catch{return Promise[n(260)](new I(v(i,n(251))))}}}const Qt=Xt;function Xt(t,e){const n=Jt();return(Xt=function(t,e){return n[t-=343]})(t,e)}function Jt(){const t=["POST","resolve","_prepareRequestParameters","reject","replace","message","AI_ERROR_CONTEXT_LENGTH","prepareMessages","1727780brcqnN","1116246vlUeTy","1538540vbAHgM","content","locale","Your task is to generate HTML content accordingly to the given instruction. Never include <img> tag in your response even if asked for. Your answer must be a well-structured and properly formatted HTML code. Answer only with the generated HTML content. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","stream","json","_requestHeaders","_requestParameters","_prepareRequestHeaders","filter","split","1501872yKJgQV","gpt-4o","sendRequest","body","AI_ERROR_MODERATION","includes","delta","ai.assistant.adapter.openAI.requestHeaders","text","701RAKfLM","user","pluginName","stringify","1530pBuwsJ","read","ai.assistant.adapter.openAI.apiUrl","join","decode","config","ai.assistant.adapter.openAI.requestParameters","22767844Ytqksq","[DONE]","\nYou must keep the text formatting.\n\nContent:\n","system","length","editor","OpenAITextAdapter","data: ","6wkzRFo","map","get","getReader","define","_readStaticResponse","719992uEEyAu","abortController","_apiUrl","Moderation","context_length_exceeded","_isBufferIncomplete","signal","70UYiTNf","choices","Your task is to execute the instruction using the provided HTML content. Follow the instruction closely. Your answer must be a properly formatted HTML code. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","_cleanUpData","_readStreamableResponse","Instruction:\n","18VPWcMx","https://api.openai.com/v1/chat/completions","parse"];return(Jt=function(){return t})()}!function(t){const e=Xt,n=t();for(;;)try{if(539263===parseInt(e(405))/1*(-parseInt(e(409))/2)+-parseInt(e(384))/3+-parseInt(e(396))/4+-parseInt(e(383))/5*(-parseInt(e(353))/6)+-parseInt(e(366))/7*(parseInt(e(359))/8)+parseInt(e(372))/9*(parseInt(e(385))/10)+parseInt(e(345))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Jt);class Zt extends $t{[Qt(361)];[Qt(391)];[Qt(392)];static get[Qt(407)](){return Qt(351)}constructor(t){const e=Qt;super(t),t[e(343)][e(357)](e(411),e(373)),t[e(343)][e(355)](e(344))||t[e(343)][e(357)](e(344),{model:e(397),temperature:1,top_p:1,stream:!0}),this[e(361)]=t[e(343)][e(355)](e(411)),this[e(391)]=t[e(343)][e(355)](e(403))||{},this[e(392)]=t[e(343)][e(355)](e(344))}async[Qt(398)]({query:t,context:e,onData:n,actionId:i}){const r=Qt,s=this[r(350)][r(387)],o=await this[r(382)](t,e,i),a=await this[r(393)](this[r(391)],i),c=await this[r(377)](this[r(392)],i),l={messages:o,...c},u={method:r(375),headers:a,body:JSON[r(408)](l),signal:this[r(360)][r(365)]},h=await fetch(this[r(361)],u);if(h.ok)return c[r(389)]?await this[r(370)](h,n):await this[r(358)](h,n),Promise[r(376)]();{const t=await h[r(404)]();return t[r(401)](r(363))?Promise[r(378)](new I(v(s,r(381)))):t[r(401)](r(362))?Promise[r(378)](new I(v(s,r(400)))):Promise[r(378)](new Error(t))}}async[Qt(382)](t,e,n){const i=Qt;let r,s;return e?(r=i(368),s=i(371)+t+i(347)+e):(r=i(388),s=t),[{role:i(348),content:r},{role:i(406),content:s}]}async[Qt(370)](t,e){const n=Qt,i=t[n(399)][n(356)](),r=new TextDecoder;let s="",o="",a="",c=!1;for(;!c;){const{done:t,value:l}=await i[n(410)](),u=s+r[n(413)](l);let h="";c=t;try{h=this[n(369)](u),s=""}catch{s=u;continue}o+=h,!c&&this[n(364)](o)||o&&(a+=o,o="",e(a))}return Promise[n(376)]()}async[Qt(358)](t,e){const n=Qt;return e((await t[n(390)]())[n(367)][0][n(380)][n(386)]),Promise[n(376)]()}[Qt(364)](t){const e=Qt,n=t[e(395)]("<")[e(349)]!==t[e(395)](">")[e(349)],i=t[e(349)]<30;return n&&i}[Qt(369)](t){const e=Qt;return t[e(395)](/\n(?![^{]*\})/g)[e(354)](t=>t[e(379)](e(352),""))[e(394)](t=>t&&t[e(349)]>0&&e(346)!==t)[e(354)](t=>{const n=e,{choices:i}=JSON[n(374)](t);if(i[0]?.[n(402)]?.[n(386)])return i[0][n(402)][n(386)]})[e(394)](t=>t)[e(412)]("")}}class te{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(t){this.method=t.method||"GET",this.hostname=t.hostname||"localhost",this.port=t.port,this.query=t.query||{},this.headers=t.headers||{},this.body=t.body,this.protocol=t.protocol?":"!==t.protocol.slice(-1)?`${t.protocol}:`:t.protocol:"https:",this.path=t.path?"/"!==t.path.charAt(0)?`/${t.path}`:t.path:"/",this.username=t.username,this.password=t.password,this.fragment=t.fragment}static clone(t){const e=new te({...t,headers:{...t.headers}});var n;return e.query&&(e.query=(n=e.query,Object.keys(n).reduce((t,e)=>{const i=n[e];return{...t,[e]:Array.isArray(i)?[...i]:i}},{}))),e}static isInstance(t){if(!t)return!1;const e=t;return"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers}clone(){return te.clone(this)}}const ee={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},ne=t=>({applyToStack:e=>{e.add((t=>e=>async n=>{if(!te.isInstance(n.request))return e(n);const{request:i}=n,{handlerProtocol:r=""}=t.requestHandler.metadata||{};if(r.indexOf("h2")>=0&&!i.headers[":authority"])delete i.headers.host,i.headers[":authority"]=i.hostname+(i.port?":"+i.port:"");else if(!i.headers.host){let t=i.hostname;null!=i.port&&(t+=`:${i.port}`),i.headers.host=t}return e(n)})(t),ee)}}),ie={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},re={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},se=t=>{if("function"==typeof t)return t;const e=Promise.resolve(t);return()=>e};const oe={},ae=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),ce=(t,e=!1)=>{if(!e)return ae.test(t);const n=t.split(".");for(const t of n)if(!ce(t))return!1;return!0},le=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),ue=t=>le.test(t)||t.startsWith("[")&&t.endsWith("]"),he=(t,e=!1)=>{if(e){for(const e of t.split("."))if(!he(e))return!1;return!0}return!!ce(t)&&(!(t.length<3||t.length>63)&&(t===t.toLowerCase()&&!ue(t)))};let de=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-east-2":{"description":"Asia Pacific (Taipei)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"ap-southeast-5":{"description":"Asia Pacific (Malaysia)"},"ap-southeast-6":{"description":"Asia Pacific (New Zealand)"},"ap-southeast-7":{"description":"Asia Pacific (Thailand)"},"aws-global":{"description":"aws global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"mx-central-1":{"description":"Mexico (Central)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"aws-cn global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-eusc","outputs":{"dnsSuffix":"amazonaws.eu","dualStackDnsSuffix":"api.amazonwebservices.eu","implicitGlobalRegion":"eusc-de-east-1","name":"aws-eusc","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eusc-de-east-1":{"description":"AWS European Sovereign Cloud (Germany)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"api.aws.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"aws-iso global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"api.aws.scloud","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"aws-iso-b global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"},"us-isob-west-1":{"description":"US ISOB West"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"api.cloud-aws.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-e-global":{"description":"aws-iso-e global region"},"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"api.aws.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-f-global":{"description":"aws-iso-f global region"},"us-isof-east-1":{"description":"US ISOF EAST"},"us-isof-south-1":{"description":"US ISOF SOUTH"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"aws-us-gov global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}}],"version":"1.1"}'),pe="";const fe={isVirtualHostableS3Bucket:he,parseArn:t=>{const e=t.split(":");if(e.length<6)return null;const[n,i,r,s,o,...a]=e;if("arn"!==n||""===i||""===r||""===a.join(":"))return null;return{partition:i,service:r,region:s,accountId:o,resourceId:a.map(t=>t.split("/")).flat()}},partition:t=>{const{partitions:e}=de;for(const n of e){const{regions:e,outputs:i}=n;for(const[n,r]of Object.entries(e))if(n===t)return{...i,...r}}for(const n of e){const{regionRegex:e,outputs:i}=n;if(new RegExp(e).test(t))return{...i}}const n=e.find(t=>"aws"===t.id);if(!n)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...n.outputs}}};oe.aws=fe;function ge(t,e,n){t.__aws_sdk_context?t.__aws_sdk_context.features||(t.__aws_sdk_context.features={}):t.__aws_sdk_context={features:{}},t.__aws_sdk_context.features[e]=n}const me=/\d{12}\.ddb/;const ke="user-agent",_e="x-amz-user-agent",be=/[^!$%&'*+\-.^_`|~\w]/g,we=/[^!$%&'*+\-.^_`|~\w#]/g;const Ie=t=>(e,n)=>async i=>{const{request:r}=i;if(!te.isInstance(r))return e(i);const{headers:s}=r,o=n?.userAgent?.map(ve)||[],a=(await t.defaultUserAgentProvider()).map(ve);await async function(t,e,n){const i=n.request;if("rpc-v2-cbor"===i?.headers?.["smithy-protocol"]&&ge(t,"PROTOCOL_RPC_V2_CBOR","M"),"function"==typeof e.retryStrategy){const n=await e.retryStrategy();"function"==typeof n.acquireInitialRetryToken?n.constructor?.name?.includes("Adaptive")?ge(t,"RETRY_MODE_ADAPTIVE","F"):ge(t,"RETRY_MODE_STANDARD","E"):ge(t,"RETRY_MODE_LEGACY","D")}if("function"==typeof e.accountIdEndpointMode){const n=t.endpointV2;switch(String(n?.url?.hostname).match(me)&&ge(t,"ACCOUNT_ID_ENDPOINT","O"),await(e.accountIdEndpointMode?.())){case"disabled":ge(t,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":ge(t,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":ge(t,"ACCOUNT_ID_MODE_REQUIRED","R")}}const r=t.__smithy_context?.selectedHttpAuthScheme?.identity;if(r?.$source){const e=r;e.accountId&&ge(t,"RESOLVED_ACCOUNT_ID","T");for(const[n,i]of Object.entries(e.$source??{}))ge(t,n,i)}}(n,t,i);const c=n;a.push(`m/${function(t){let e="";for(const n in t){const i=t[n];if(!(e.length+i.length+1<=1024))break;e.length?e+=","+i:e+=i}return e}(Object.assign({},n.__smithy_context?.features,c.__aws_sdk_context?.features))}`);const l=t?.customUserAgent?.map(ve)||[],u=await t.userAgentAppId();u&&a.push(ve(["app",`${u}`]));const h=(pe?[pe]:[]).concat([...a,...o,...l]).join(" "),d=[...a.filter(t=>t.startsWith("aws-sdk-")),...l].join(" ");return"browser"!==t.runtime?(d&&(s[_e]=s[_e]?`${s[ke]} ${d}`:d),s[ke]=h):s[_e]=h,e({...i,request:r})},ve=t=>{const e=t[0].split("/").map(t=>t.replace(be,"-")).join("/"),n=t[1]?.replace(we,"-"),i=e.indexOf("/"),r=e.substring(0,i);let s=e.substring(i+1);return"api"===r&&(s=s.toLowerCase()),[r,s,n].filter(t=>t&&t.length>0).reduce((t,e,n)=>{switch(n){case 0:return e;case 1:return`${t}/${e}`;default:return`${t}#${e}`}},"")},ye={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},Ae=t=>"ws:"===t.protocol||"wss:"===t.protocol;class Ee{signer;constructor(t){this.signer=t.signer}presign(t,e={}){return this.signer.presign(t,e)}async sign(t,e){if(te.isInstance(t)&&Ae(t)){return{...await this.signer.presign({...t,body:""},{...e,expiresIn:60,unsignableHeaders:new Set(Object.keys(t.headers).filter(t=>"host"!==t))}),body:t.body}}return this.signer.sign(t,e)}signMessage(t,e){return this.signer.signMessage(t,e)}}const Te=t=>!!t,Ce=new Set,Se=t=>"string"==typeof t&&(t.startsWith("fips-")||t.endsWith("-fips")),xe=t=>{const{region:e,useFipsEndpoint:n}=t;if(!e)throw new Error("Region is missing");return Object.assign(t,{region:async()=>{const t=(t=>Se(t)?["fips-aws-global","aws-fips"].includes(t)?"us-east-1":t.replace(/fips-(dkr-|prod-)?|-fips/,""):t)("function"==typeof e?await e():e);return((t,e=ce)=>{if(Ce.has(t)||e(t))Ce.add(t);else{if("*"!==t)throw new Error(`Region not accepted: region="${t}" is not a valid hostname component.`);console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.')}})(t),t},useFipsEndpoint:async()=>{const t="string"==typeof e?e:await e();return!!Se(t)||("function"!=typeof n?Promise.resolve(!!n):n())}})},Re="__smithy_context",Ne=t=>t[Re]||(t[Re]={});const Oe=(t,e)=>(n,i)=>async r=>{const s=((t,e)=>{if(!e||0===e.length)return t;const n=[];for(const i of e)for(const e of t)e.schemeId.split("#")[1]===i&&n.push(e);for(const e of t)n.find(({schemeId:t})=>t===e.schemeId)||n.push(e);return n})(t.httpAuthSchemeProvider(await e.httpAuthSchemeParametersProvider(t,i,r.input)),t.authSchemePreference?await t.authSchemePreference():[]),o=function(t){const e=new Map;for(const n of t)e.set(n.schemeId,n);return e}(t.httpAuthSchemes),a=Ne(i),c=[];for(const n of s){const r=o.get(n.schemeId);if(!r){c.push(`HttpAuthScheme \`${n.schemeId}\` was not enabled for this service.`);continue}const s=r.identityProvider(await e.identityProviderConfigProvider(t));if(!s){c.push(`HttpAuthScheme \`${n.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:l={},signingProperties:u={}}=n.propertiesExtractor?.(t,i)||{};n.identityProperties=Object.assign(n.identityProperties||{},l),n.signingProperties=Object.assign(n.signingProperties||{},u),a.selectedHttpAuthScheme={httpAuthOption:n,identity:await s(n.identityProperties),signer:r.signer};break}if(!a.selectedHttpAuthScheme)throw new Error(c.join("\n"));return n(r)},Le={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};class De{authSchemes=new Map;constructor(t){for(const[e,n]of Object.entries(t))void 0!==n&&this.authSchemes.set(e,n)}getIdentityProvider(t){return this.authSchemes.get(t)}}const Pe=t=>t=>{throw t},Me=(t,e)=>{},Ve={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},Be=t=>({applyToStack:t=>{t.addRelativeTo((t,e)=>async n=>{if(!te.isInstance(n.request))return t(n);const i=Ne(e).selectedHttpAuthScheme;if(!i)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:r={}},identity:s,signer:o}=i,a=await t({...n,request:await o.sign(n.request,s,r)}).catch((o.errorHandler||Pe)(r));return(o.successHandler||Me)(a.response,r),a},Ve)}});class He{statusCode;reason;headers;body;constructor(t){this.statusCode=t.statusCode,this.reason=t.reason,this.headers=t.headers||{},this.body=t.body}static isInstance(t){if(!t)return!1;const e=t;return"number"==typeof e.statusCode&&"object"==typeof e.headers}}const Ue=(t,e,n,i,r)=>({name:e,namespace:t,traits:n,input:i,output:r}),qe=(t,e)=>(e.find(([e])=>e.match(t))||[void 0,void 0])[1],Fe={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},ze={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function Ge(t){return{applyToStack:e=>{e.add((t=>(e,n)=>async i=>{const{operationSchema:r}=Ne(n),[,s,o,a,c,l]=r??[],u=n.endpointV2?.url&&t.urlParser?async()=>t.urlParser(n.endpointV2.url):t.endpoint,h=await t.protocol.serializeRequest(Ue(s,o,a,c,l),i.input,{...t,...n,endpoint:u});return e({...i,request:h})})(t),ze),e.add((t=>(e,n)=>async i=>{const{response:r}=await e(i),{operationSchema:s}=Ne(n),[,o,a,c,l,u]=s??[];try{return{response:r,output:await t.protocol.deserializeResponse(Ue(o,a,c,l,u),{...t,...n},r)}}catch(t){if(Object.defineProperty(t,"$response",{value:r,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in t)){const e="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";try{t.message+="\n "+e}catch(t){n.logger&&"NoOpLogger"!==n.logger?.constructor?.name?n.logger?.warn?.(e):console.warn(e)}void 0!==t.$responseBodyText&&t.$response&&(t.$response.body=t.$responseBodyText);try{if(He.isInstance(r)){const{headers:e={}}=r,n=Object.entries(e);t.$metadata={httpStatusCode:r.statusCode,requestId:qe(/^x-[\w-]+-request-?id$/,n),extendedRequestId:qe(/^x-[\w-]+-id-2$/,n),cfId:qe(/^x-[\w-]+-cf-id$/,n)}}}catch(t){}}throw t}})(t),Fe),t.protocol.setSerdeContext(t)}}}const je="content-length";const We={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},Ke=t=>({applyToStack:e=>{var n;e.add((n=t.bodyLengthChecker,t=>async e=>{const i=e.request;if(te.isInstance(i)){const{body:t,headers:e}=i;if(t&&-1===Object.keys(e).map(t=>t.toLowerCase()).indexOf(je))try{const e=n(t);i.headers={...i.headers,[je]:String(e)}}catch(t){}}return t({...e,request:i})}),We)}}),Ye=t=>{if("function"==typeof t)return t;const e=Promise.resolve(t);return()=>e},$e=async t=>{};const Qe=t=>{if("string"==typeof t)return Qe(new URL(t));const{hostname:e,pathname:n,port:i,protocol:r,search:s}=t;let o;return s&&(o=function(t){const e={};if(t=t.replace(/^\?/,""))for(const n of t.split("&")){let[t,i=null]=n.split("=");t=decodeURIComponent(t),i&&(i=decodeURIComponent(i)),t in e?Array.isArray(e[t])?e[t].push(i):e[t]=[e[t],i]:e[t]=i}return e}(s)),{hostname:e,port:i?parseInt(i):void 0,protocol:r,path:n,query:o}},Xe=t=>"object"==typeof t?"url"in t?Qe(t.url):t:Qe(t);var Je;!function(t){t.STANDARD="standard",t.ADAPTIVE="adaptive"}(Je||(Je={}));const Ze=Je.STANDARD,tn=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],en=["TimeoutError","RequestTimeout","RequestTimeoutException"],nn=[500,502,503,504],rn=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],sn=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],on=t=>429===t.$metadata?.httpStatusCode||tn.includes(t.name)||1==t.$retryable?.throttling,an=(t,e=0)=>(t=>void 0!==t?.$retryable)(t)||(t=>t.$metadata?.clockSkewCorrected)(t)||en.includes(t.name)||rn.includes(t?.code||"")||sn.includes(t?.code||"")||nn.includes(t.$metadata?.httpStatusCode||0)||(t=>{const e=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);return!!(t&&t instanceof TypeError)&&e.has(t.message)})(t)||void 0!==t.cause&&e<=10&&an(t.cause,e+1);class cn{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;currentCapacity=0;enabled=!1;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(t){this.beta=t?.beta??.7,this.minCapacity=t?.minCapacity??1,this.minFillRate=t?.minFillRate??.5,this.scaleConstant=t?.scaleConstant??.4,this.smooth=t?.smooth??.8;const e=this.getCurrentTimeInSeconds();this.lastThrottleTime=e,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(t){if(this.enabled){if(this.refillTokenBucket(),t>this.currentCapacity){const e=(t-this.currentCapacity)/this.fillRate*1e3;await new Promise(t=>cn.setTimeoutFn(t,e))}this.currentCapacity=this.currentCapacity-t}}refillTokenBucket(){const t=this.getCurrentTimeInSeconds();if(!this.lastTimestamp)return void(this.lastTimestamp=t);const e=(t-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+e),this.lastTimestamp=t}updateClientSendingRate(t){let e;if(this.updateMeasuredRate(),on(t)){const t=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=t,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),e=this.cubicThrottle(t),this.enableTokenBucket()}else this.calculateTimeWindow(),e=this.cubicSuccess(this.getCurrentTimeInSeconds());const n=Math.min(e,2*this.measuredTxRate);this.updateTokenBucketRate(n)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(t){return this.getPrecise(t*this.beta)}cubicSuccess(t){return this.getPrecise(this.scaleConstant*Math.pow(t-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(t){this.refillTokenBucket(),this.fillRate=Math.max(t,this.minFillRate),this.maxCapacity=Math.max(t,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const t=this.getCurrentTimeInSeconds(),e=Math.floor(2*t)/2;if(this.requestCount++,e>this.lastTxRateBucket){const t=this.requestCount/(e-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(t*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=e}}getPrecise(t){return parseFloat(t.toFixed(8))}}const ln=({retryDelay:t,retryCount:e,retryCost:n})=>({getRetryCount:()=>e,getRetryDelay:()=>Math.min(2e4,t),getRetryCost:()=>n});class un{maxAttempts;mode=Je.STANDARD;capacity=500;retryBackoffStrategy=(()=>{let t=100;return{computeNextBackoffDelay:e=>Math.floor(Math.min(2e4,Math.random()*2**e*t)),setDelayBase:e=>{t=e}}})();maxAttemptsProvider;constructor(t){this.maxAttempts=t,this.maxAttemptsProvider="function"==typeof t?t:async()=>t}async acquireInitialRetryToken(t){return ln({retryDelay:100,retryCount:0})}async refreshRetryTokenForRetry(t,e){const n=await this.getMaxAttempts();if(this.shouldRetry(t,e,n)){const n=e.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===n?500:100);const i=this.retryBackoffStrategy.computeNextBackoffDelay(t.getRetryCount()),r=e.retryAfterHint?Math.max(e.retryAfterHint.getTime()-Date.now()||0,i):i,s=this.getCapacityCost(n);return this.capacity-=s,ln({retryDelay:r,retryCount:t.getRetryCount()+1,retryCost:s})}throw new Error("No retry token available")}recordSuccess(t){this.capacity=Math.max(500,this.capacity+(t.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(t){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}shouldRetry(t,e,n){return t.getRetryCount()+1<n&&this.capacity>=this.getCapacityCost(e.errorType)&&this.isRetryableError(e.errorType)}getCapacityCost(t){return"TRANSIENT"===t?10:5}isRetryableError(t){return"THROTTLING"===t||"TRANSIENT"===t}}class hn{maxAttemptsProvider;rateLimiter;standardRetryStrategy;mode=Je.ADAPTIVE;constructor(t,e){this.maxAttemptsProvider=t;const{rateLimiter:n}=e??{};this.rateLimiter=n??new cn,this.standardRetryStrategy=new un(t)}async acquireInitialRetryToken(t){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(t)}async refreshRetryTokenForRetry(t,e){return this.rateLimiter.updateClientSendingRate(e),this.standardRetryStrategy.refreshRetryTokenForRetry(t,e)}recordSuccess(t){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(t)}}class dn{trace(){}debug(){}info(){}warn(){}error(){}}const pn="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),fn=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0")),gn=()=>{if(pn)return pn();const t=new Uint8Array(16);return crypto.getRandomValues(t),t[6]=15&t[6]|64,t[8]=63&t[8]|128,fn[t[0]]+fn[t[1]]+fn[t[2]]+fn[t[3]]+"-"+fn[t[4]]+fn[t[5]]+"-"+fn[t[6]]+fn[t[7]]+"-"+fn[t[8]]+fn[t[9]]+"-"+fn[t[10]]+fn[t[11]]+fn[t[12]]+fn[t[13]]+fn[t[14]]+fn[t[15]]},mn=t=>t?.body instanceof ReadableStream,kn=t=>t instanceof Error?t:t instanceof Object?Object.assign(new Error,t):"string"==typeof t?new Error(t):new Error(`AWS SDK error wrapper for ${t}`),_n=t=>void 0!==t.acquireInitialRetryToken&&void 0!==t.refreshRetryTokenForRetry&&void 0!==t.recordSuccess,bn=t=>{const e={error:t,errorType:wn(t)},n=yn(t.$response);return n&&(e.retryAfterHint=n),e},wn=t=>on(t)?"THROTTLING":an(t)?"TRANSIENT":(t=>{if(void 0!==t.$metadata?.httpStatusCode){const e=t.$metadata.httpStatusCode;return 500<=e&&e<=599&&!an(t)}return!1})(t)?"SERVER_ERROR":"CLIENT_ERROR",In={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},vn=t=>({applyToStack:e=>{e.add((t=>(e,n)=>async i=>{let r=await t.retryStrategy();const s=await t.maxAttempts();if(!_n(r))return r?.mode&&(n.userAgent=[...n.userAgent||[],["cfg/retry-mode",r.mode]]),r.retry(e,i);{let t=await r.acquireInitialRetryToken(n.partition_id),o=new Error,a=0,c=0;const{request:l}=i,u=te.isInstance(l);for(u&&(l.headers["amz-sdk-invocation-id"]=gn());;)try{u&&(l.headers["amz-sdk-request"]=`attempt=${a+1}; max=${s}`);const{response:n,output:o}=await e(i);return r.recordSuccess(t),o.$metadata.attempts=a+1,o.$metadata.totalRetryDelay=c,{response:n,output:o}}catch(e){const i=bn(e);if(o=kn(e),u&&mn(l))throw(n.logger instanceof dn?console:n.logger)?.warn("An error was encountered in a non-retryable streaming request."),o;try{t=await r.refreshRetryTokenForRetry(t,i)}catch(t){throw o.$metadata||(o.$metadata={}),o.$metadata.attempts=a+1,o.$metadata.totalRetryDelay=c,o}a=t.getRetryCount();const s=t.getRetryDelay();c+=s,await new Promise(t=>setTimeout(t,s))}}})(t),In)}}),yn=t=>{if(!He.isInstance(t))return;const e=Object.keys(t.headers).find(t=>"retry-after"===t.toLowerCase());if(!e)return;const n=t.headers[e],i=Number(n);if(!Number.isNaN(i))return new Date(1e3*i);return new Date(n)},An=(t,e)=>{const n=[];if(t&&n.push(t),e)for(const t of e)n.push(t);return n},En=(t,e)=>`${t||"anonymous"}${e&&e.length>0?` (a.k.a. ${e.join(",")})`:""}`,Tn=()=>{let t=[],e=[],n=!1;const i=new Set,r=n=>(t.forEach(t=>{n.add(t.middleware,{...t})}),e.forEach(t=>{n.addRelativeTo(t.middleware,{...t})}),n.identifyOnResolve?.(a.identifyOnResolve()),n),s=t=>{const e=[];return t.before.forEach(t=>{0===t.before.length&&0===t.after.length?e.push(t):e.push(...s(t))}),e.push(t),t.after.reverse().forEach(t=>{0===t.before.length&&0===t.after.length?e.push(t):e.push(...s(t))}),e},o=(n=!1)=>{const i=[],r=[],o={};t.forEach(t=>{const e={...t,before:[],after:[]};for(const t of An(e.name,e.aliases))o[t]=e;i.push(e)}),e.forEach(t=>{const e={...t,before:[],after:[]};for(const t of An(e.name,e.aliases))o[t]=e;r.push(e)}),r.forEach(t=>{if(t.toMiddleware){const e=o[t.toMiddleware];if(void 0===e){if(n)return;throw new Error(`${t.toMiddleware} is not found when adding ${En(t.name,t.aliases)} middleware ${t.relation} ${t.toMiddleware}`)}"after"===t.relation&&e.after.push(t),"before"===t.relation&&e.before.push(t)}});const a=(c=i,c.sort((t,e)=>Cn[e.step]-Cn[t.step]||Sn[e.priority||"normal"]-Sn[t.priority||"normal"])).map(s).reduce((t,e)=>(t.push(...e),t),[]);var c;return a},a={add:(e,n={})=>{const{name:r,override:s,aliases:o}=n,a={step:"initialize",priority:"normal",middleware:e,...n},c=An(r,o);if(c.length>0){if(c.some(t=>i.has(t))){if(!s)throw new Error(`Duplicate middleware name '${En(r,o)}'`);for(const e of c){const n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(-1===n)continue;const i=t[n];if(i.step!==a.step||a.priority!==i.priority)throw new Error(`"${En(i.name,i.aliases)}" middleware with ${i.priority} priority in ${i.step} step cannot be overridden by "${En(r,o)}" middleware with ${a.priority} priority in ${a.step} step.`);t.splice(n,1)}}for(const t of c)i.add(t)}t.push(a)},addRelativeTo:(t,n)=>{const{name:r,override:s,aliases:o}=n,a={middleware:t,...n},c=An(r,o);if(c.length>0){if(c.some(t=>i.has(t))){if(!s)throw new Error(`Duplicate middleware name '${En(r,o)}'`);for(const t of c){const n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(-1===n)continue;const i=e[n];if(i.toMiddleware!==a.toMiddleware||i.relation!==a.relation)throw new Error(`"${En(i.name,i.aliases)}" middleware ${i.relation} "${i.toMiddleware}" middleware cannot be overridden by "${En(r,o)}" middleware ${a.relation} "${a.toMiddleware}" middleware.`);e.splice(n,1)}}for(const t of c)i.add(t)}e.push(a)},clone:()=>r(Tn()),use:t=>{t.applyToStack(a)},remove:n=>"string"==typeof n?(n=>{let r=!1;const s=t=>{const e=An(t.name,t.aliases);if(e.includes(n)){r=!0;for(const t of e)i.delete(t);return!1}return!0};return t=t.filter(s),e=e.filter(s),r})(n):(n=>{let r=!1;const s=t=>{if(t.middleware===n){r=!0;for(const e of An(t.name,t.aliases))i.delete(e);return!1}return!0};return t=t.filter(s),e=e.filter(s),r})(n),removeByTag:n=>{let r=!1;const s=t=>{const{tags:e,name:s,aliases:o}=t;if(e&&e.includes(n)){const t=An(s,o);for(const e of t)i.delete(e);return r=!0,!1}return!0};return t=t.filter(s),e=e.filter(s),r},concat:t=>{const e=r(Tn());return e.use(t),e.identifyOnResolve(n||e.identifyOnResolve()||(t.identifyOnResolve?.()??!1)),e},applyToStack:r,identify:()=>o(!0).map(t=>{const e=t.step??t.relation+" "+t.toMiddleware;return En(t.name,t.aliases)+" - "+e}),identifyOnResolve:t=>("boolean"==typeof t&&(n=t),n),resolve:(t,e)=>{for(const n of o().map(t=>t.middleware).reverse())t=n(t,e);return n&&console.log(a.identify()),t}};return a},Cn={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Sn={high:3,normal:2,low:1};class xn{config;middlewareStack=Tn();initConfig;handlers;constructor(t){this.config=t;const{protocol:e,protocolSettings:n}=t;n&&"function"==typeof e&&(t.protocol=new e(n))}send(t,e,n){const i="function"!=typeof e?e:void 0,r="function"==typeof e?e:n;let s;if(void 0===i&&!0===this.config.cacheMiddleware){this.handlers||(this.handlers=new WeakMap);const e=this.handlers;e.has(t.constructor)?s=e.get(t.constructor):(s=t.resolveMiddleware(this.middlewareStack,this.config,i),e.set(t.constructor,s))}else delete this.handlers,s=t.resolveMiddleware(this.middlewareStack,this.config,i);if(!r)return s(t).then(t=>t.output);s(t).then(t=>r(null,t.output),t=>r(t)).catch(()=>{})}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}const Rn=(Nn=3e5,function(t){return On(t)&&t.expiration.getTime()-Date.now()<Nn});var Nn;const On=t=>void 0!==t.expiration,Ln=(t,e,n)=>{if(void 0===t)return;const i="function"!=typeof t?async()=>Promise.resolve(t):t;let r,s,o,a=!1;const c=async t=>{s||(s=i(t));try{r=await s,o=!0,a=!1}finally{s=void 0}return r};return void 0===e?async t=>(o&&!t?.forceRefresh||(r=await c(t)),r):async t=>(o&&!t?.forceRefresh||(r=await c(t)),a?r:n(r)?e(r)?(await c(t),r):r:(a=!0,r))},Dn={},Pn={};for(let t=0;t<256;t++){let e=t.toString(16).toLowerCase();1===e.length&&(e=`0${e}`),Dn[t]=e,Pn[e]=t}function Mn(t){if(t.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const e=new Uint8Array(t.length/2);for(let n=0;n<t.length;n+=2){const i=t.slice(n,n+2).toLowerCase();if(!(i in Pn))throw new Error(`Cannot decode unrecognized sequence ${i} as hexadecimal`);e[n/2]=Pn[i]}return e}function Vn(t){let e="";for(let n=0;n<t.byteLength;n++)e+=Dn[t[n]];return e}var Bn=r(9249);const Hn=t=>"string"==typeof t?(0,Bn.a)(t):ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(t),Un="X-Amz-Date",qn="X-Amz-Signature",Fn="X-Amz-Security-Token",zn="authorization",Gn=Un.toLowerCase(),jn=[zn,Gn,"date"],Wn=qn.toLowerCase(),Kn="x-amz-content-sha256",Yn=Fn.toLowerCase(),$n={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Qn=/^proxy-/,Xn=/^sec-/,Jn="AWS4-HMAC-SHA256",Zn="AWS4-HMAC-SHA256-PAYLOAD",ti="aws4_request",ei={},ni=[],ii=(t,e,n)=>`${t}/${e}/${n}/${ti}`,ri=(t,e,n)=>{const i=new t(e);return i.update(Hn(n)),i.digest()},si=({headers:t},e,n)=>{const i={};for(const r of Object.keys(t).sort()){if(null==t[r])continue;const s=r.toLowerCase();(s in $n||e?.has(s)||Qn.test(s)||Xn.test(s))&&(!n||n&&!n.has(s))||(i[s]=t[r].trim().replace(/\s+/g," "))}return i},oi=async({headers:t,body:e},n)=>{for(const e of Object.keys(t))if(e.toLowerCase()===Kn)return t[e];if(null==e)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof e||ArrayBuffer.isView(e)||(i=e,"function"==typeof ArrayBuffer&&i instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(i))){const t=new n;return t.update(Hn(e)),Vn(await t.digest())}var i;return"UNSIGNED-PAYLOAD"};class ai{format(t){const e=[];for(const n of Object.keys(t)){const i=(0,Bn.a)(n);e.push(Uint8Array.from([i.byteLength]),i,this.formatHeaderValue(t[n]))}const n=new Uint8Array(e.reduce((t,e)=>t+e.byteLength,0));let i=0;for(const t of e)n.set(t,i),i+=t.byteLength;return n}formatHeaderValue(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?0:1]);case"byte":return Uint8Array.from([2,t.value]);case"short":const e=new DataView(new ArrayBuffer(3));return e.setUint8(0,3),e.setInt16(1,t.value,!1),new Uint8Array(e.buffer);case"integer":const n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,t.value,!1),new Uint8Array(n.buffer);case"long":const i=new Uint8Array(9);return i[0]=5,i.set(t.value.bytes,1),i;case"binary":const r=new DataView(new ArrayBuffer(3+t.value.byteLength));r.setUint8(0,6),r.setUint16(1,t.value.byteLength,!1);const s=new Uint8Array(r.buffer);return s.set(t.value,3),s;case"string":const o=(0,Bn.a)(t.value),a=new DataView(new ArrayBuffer(3+o.byteLength));a.setUint8(0,7),a.setUint16(1,o.byteLength,!1);const c=new Uint8Array(a.buffer);return c.set(o,3),c;case"timestamp":const l=new Uint8Array(9);return l[0]=8,l.set(ui.fromNumber(t.value.valueOf()).bytes,1),l;case"uuid":if(!li.test(t.value))throw new Error(`Invalid UUID received: ${t.value}`);const u=new Uint8Array(17);return u[0]=9,u.set(Mn(t.value.replace(/\-/g,"")),1),u}}}var ci;!function(t){t[t.boolTrue=0]="boolTrue",t[t.boolFalse=1]="boolFalse",t[t.byte=2]="byte",t[t.short=3]="short",t[t.integer=4]="integer",t[t.long=5]="long",t[t.byteArray=6]="byteArray",t[t.string=7]="string",t[t.timestamp=8]="timestamp",t[t.uuid=9]="uuid"}(ci||(ci={}));const li=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class ui{bytes;constructor(t){if(this.bytes=t,8!==t.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw new Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);const e=new Uint8Array(8);for(let n=7,i=Math.abs(Math.round(t));n>-1&&i>0;n--,i/=256)e[n]=i;return t<0&&hi(e),new ui(e)}valueOf(){const t=this.bytes.slice(0),e=128&t[0];return e&&hi(t),parseInt(Vn(t),16)*(e?-1:1)}toString(){return String(this.valueOf())}}function hi(t){for(let e=0;e<8;e++)t[e]^=255;for(let e=7;e>-1&&(t[e]++,0===t[e]);e--);}const di=t=>{t=te.clone(t);for(const e of Object.keys(t.headers))jn.indexOf(e.toLowerCase())>-1&&delete t.headers[e];return t},pi=t=>encodeURIComponent(t).replace(/[!'()*]/g,fi),fi=t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`,gi=t=>"number"==typeof t?new Date(1e3*t):"string"==typeof t?Number(t)?new Date(1e3*Number(t)):new Date(t):t;class mi{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:t,credentials:e,region:n,service:i,sha256:r,uriEscapePath:s=!0}){this.service=i,this.sha256=r,this.uriEscapePath=s,this.applyChecksum="boolean"!=typeof t||t,this.regionProvider=Ye(n),this.credentialProvider=Ye(e)}createCanonicalRequest(t,e,n){const i=Object.keys(e).sort();return`${t.method}\n${this.getCanonicalPath(t)}\n${(({query:t={}})=>{const e=[],n={};for(const i of Object.keys(t)){if(i.toLowerCase()===Wn)continue;const r=pi(i);e.push(r);const s=t[i];"string"==typeof s?n[r]=`${r}=${pi(s)}`:Array.isArray(s)&&(n[r]=s.slice(0).reduce((t,e)=>t.concat([`${r}=${pi(e)}`]),[]).sort().join("&"))}return e.sort().map(t=>n[t]).filter(t=>t).join("&")})(t)}\n${i.map(t=>`${t}:${e[t]}`).join("\n")}\n\n${i.join(";")}\n${n}`}async createStringToSign(t,e,n,i){const r=new this.sha256;r.update(Hn(n));return`${i}\n${t}\n${e}\n${Vn(await r.digest())}`}getCanonicalPath({path:t}){if(this.uriEscapePath){const e=[];for(const n of t.split("/"))0!==n?.length&&"."!==n&&(".."===n?e.pop():e.push(n));const n=`${t?.startsWith("/")?"/":""}${e.join("/")}${e.length>0&&t?.endsWith("/")?"/":""}`;return pi(n).replace(/%2F/g,"/")}return t}validateResolvedCredentials(t){if("object"!=typeof t||"string"!=typeof t.accessKeyId||"string"!=typeof t.secretAccessKey)throw new Error("Resolved credential object is not valid")}formatDate(t){const e=(t=>gi(t).toISOString().replace(/\.\d{3}Z$/,"Z"))(t).replace(/[\-:]/g,"");return{longDate:e,shortDate:e.slice(0,8)}}getCanonicalHeaderList(t){return Object.keys(t).sort().join(";")}}class ki extends mi{headerFormatter=new ai;constructor({applyChecksum:t,credentials:e,region:n,service:i,sha256:r,uriEscapePath:s=!0}){super({applyChecksum:t,credentials:e,region:n,service:i,sha256:r,uriEscapePath:s})}async presign(t,e={}){const{signingDate:n=new Date,expiresIn:i=3600,unsignableHeaders:r,unhoistableHeaders:s,signableHeaders:o,hoistableHeaders:a,signingRegion:c,signingService:l}=e,u=await this.credentialProvider();this.validateResolvedCredentials(u);const h=c??await this.regionProvider(),{longDate:d,shortDate:p}=this.formatDate(n);if(i>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const f=ii(p,h,l??this.service),g=((t,e={})=>{const{headers:n,query:i={}}=te.clone(t);for(const t of Object.keys(n)){const r=t.toLowerCase();("x-amz-"===r.slice(0,6)&&!e.unhoistableHeaders?.has(r)||e.hoistableHeaders?.has(r))&&(i[t]=n[t],delete n[t])}return{...t,headers:n,query:i}})(di(t),{unhoistableHeaders:s,hoistableHeaders:a});u.sessionToken&&(g.query[Fn]=u.sessionToken),g.query["X-Amz-Algorithm"]=Jn,g.query["X-Amz-Credential"]=`${u.accessKeyId}/${f}`,g.query[Un]=d,g.query["X-Amz-Expires"]=i.toString(10);const m=si(g,r,o);return g.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(m),g.query[qn]=await this.getSignature(d,f,this.getSigningKey(u,h,p,l),this.createCanonicalRequest(g,m,await oi(t,this.sha256))),g}async sign(t,e){return"string"==typeof t?this.signString(t,e):t.headers&&t.payload?this.signEvent(t,e):t.message?this.signMessage(t,e):this.signRequest(t,e)}async signEvent({headers:t,payload:e},{signingDate:n=new Date,priorSignature:i,signingRegion:r,signingService:s}){const o=r??await this.regionProvider(),{shortDate:a,longDate:c}=this.formatDate(n),l=ii(a,o,s??this.service),u=await oi({headers:{},body:e},this.sha256),h=new this.sha256;h.update(t);const d=Vn(await h.digest()),p=[Zn,c,l,i,d,u].join("\n");return this.signString(p,{signingDate:n,signingRegion:o,signingService:s})}async signMessage(t,{signingDate:e=new Date,signingRegion:n,signingService:i}){return this.signEvent({headers:this.headerFormatter.format(t.message.headers),payload:t.message.body},{signingDate:e,signingRegion:n,signingService:i,priorSignature:t.priorSignature}).then(e=>({message:t.message,signature:e}))}async signString(t,{signingDate:e=new Date,signingRegion:n,signingService:i}={}){const r=await this.credentialProvider();this.validateResolvedCredentials(r);const s=n??await this.regionProvider(),{shortDate:o}=this.formatDate(e),a=new this.sha256(await this.getSigningKey(r,s,o,i));return a.update(Hn(t)),Vn(await a.digest())}async signRequest(t,{signingDate:e=new Date,signableHeaders:n,unsignableHeaders:i,signingRegion:r,signingService:s}={}){const o=await this.credentialProvider();this.validateResolvedCredentials(o);const a=r??await this.regionProvider(),c=di(t),{longDate:l,shortDate:u}=this.formatDate(e),h=ii(u,a,s??this.service);c.headers[Gn]=l,o.sessionToken&&(c.headers[Yn]=o.sessionToken);const d=await oi(c,this.sha256);!((t,e)=>{t=t.toLowerCase();for(const n of Object.keys(e))if(t===n.toLowerCase())return!0;return!1})(Kn,c.headers)&&this.applyChecksum&&(c.headers[Kn]=d);const p=si(c,i,n),f=await this.getSignature(l,h,this.getSigningKey(o,a,u,s),this.createCanonicalRequest(c,p,d));return c.headers[zn]=`${Jn} Credential=${o.accessKeyId}/${h}, SignedHeaders=${this.getCanonicalHeaderList(p)}, Signature=${f}`,c}async getSignature(t,e,n,i){const r=await this.createStringToSign(t,e,i,Jn),s=new this.sha256(await n);return s.update(Hn(r)),Vn(await s.digest())}getSigningKey(t,e,n,i){return(async(t,e,n,i,r)=>{const s=`${n}:${i}:${r}:${Vn(await ri(t,e.secretAccessKey,e.accessKeyId))}:${e.sessionToken}`;if(s in ei)return ei[s];for(ni.push(s);ni.length>50;)delete ei[ni.shift()];let o=`AWS4${e.secretAccessKey}`;for(const e of[n,i,r,ti])o=await ri(t,o,e);return ei[s]=o})(this.sha256,t,n,e,i||this.service)}}const _i=t=>{let e,n=t.credentials,i=!!t.credentials;Object.defineProperty(t,"credentials",{set(r){r&&r!==n&&r!==e&&(i=!0),n=r;const s=function(t,{credentials:e,credentialDefaultProvider:n}){let i;i=e?e?.memoized?e:Ln(e,Rn,On):n?se(n(Object.assign({},t,{parentClientConfig:t}))):async()=>{throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")};return i.memoized=!0,i}(t,{credentials:n,credentialDefaultProvider:t.credentialDefaultProvider}),o=function(t,e){if(e.configBound)return e;const n=async n=>e({...n,callerClientConfig:t});return n.memoized=e.memoized,n.configBound=!0,n}(t,s);if(i&&!o.attributed){const t="object"==typeof n&&null!==n;e=async e=>{const n=await o(e);return!t||n.$source&&0!==Object.keys(n.$source).length?n:function(t,e,n){return t.$source||(t.$source={}),t.$source[e]=n,t}(n,"CREDENTIALS_CODE","e")},e.memoized=o.memoized,e.configBound=o.configBound,e.attributed=!0}else e=o},get:()=>e,enumerable:!0,configurable:!0}),t.credentials=n;const{signingEscapePath:r=!0,systemClockOffset:s=t.systemClockOffset||0,sha256:o}=t;let a;a=t.signer?se(t.signer):t.regionInfoProvider?()=>se(t.region)().then(async e=>[await t.regionInfoProvider(e,{useFipsEndpoint:await t.useFipsEndpoint(),useDualstackEndpoint:await t.useDualstackEndpoint()})||{},e]).then(([e,n])=>{const{signingRegion:i,signingService:s}=e;t.signingRegion=t.signingRegion||i||n,t.signingName=t.signingName||s||t.serviceId;const a={...t,credentials:t.credentials,region:t.signingRegion,service:t.signingName,sha256:o,uriEscapePath:r};return new(t.signerConstructor||ki)(a)}):async e=>{const n=(e=Object.assign({},{name:"sigv4",signingName:t.signingName||t.defaultSigningName,signingRegion:await se(t.region)(),properties:{}},e)).signingRegion,i=e.signingName;t.signingRegion=t.signingRegion||n,t.signingName=t.signingName||i||t.serviceId;const s={...t,credentials:t.credentials,region:t.signingRegion,service:t.signingName,sha256:o,uriEscapePath:r};return new(t.signerConstructor||ki)(s)};return Object.assign(t,{systemClockOffset:s,signingEscapePath:r,signer:a})};const bi=async(t,e,n)=>({operation:Ne(e).operation,region:await Ye(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});const wi=t=>{const e=[];return t.operation,e.push(function(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"bedrock",region:t.region},propertiesExtractor:(t,e)=>({signingProperties:{config:t,context:e}})}}(t)),e.push({schemeId:"smithy.api#httpBearerAuth",propertiesExtractor:({profile:t,filepath:e,configFilepath:n,ignoreCache:i},r)=>({identityProperties:{profile:t,filepath:e,configFilepath:n,ignoreCache:i}})}),e},Ii={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},vi="3.994.0";var yi="undefined"!=typeof Buffer&&Buffer.from?function(t){return Buffer.from(t,"utf8")}:t=>(new TextEncoder).encode(t);function Ai(t){return t instanceof Uint8Array?t:"string"==typeof t?yi(t):ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(t)}function Ei(t){return"string"==typeof t?0===t.length:0===t.byteLength}var Ti={name:"SHA-256"},Ci={name:"HMAC",hash:Ti},Si=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]);const xi={};function Ri(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:xi}var Ni=function(){function t(t){this.toHash=new Uint8Array(0),this.secret=t,this.reset()}return t.prototype.update=function(t){if(!Ei(t)){var e=Ai(t),n=new Uint8Array(this.toHash.byteLength+e.byteLength);n.set(this.toHash,0),n.set(e,this.toHash.byteLength),this.toHash=n}},t.prototype.digest=function(){var t=this;return this.key?this.key.then(function(e){return Ri().crypto.subtle.sign(Ci,e,t.toHash).then(function(t){return new Uint8Array(t)})}):Ei(this.toHash)?Promise.resolve(Si):Promise.resolve().then(function(){return Ri().crypto.subtle.digest(Ti,t.toHash)}).then(function(t){return Promise.resolve(new Uint8Array(t))})},t.prototype.reset=function(){var t=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(e,n){Ri().crypto.subtle.importKey("raw",Ai(t.secret),Ci,!1,["sign"]).then(e,n)}),this.key.catch(function(){}))},t}();function Oi(t,e,n,i){return new(n||(n=Promise))(function(r,s){function o(t){try{c(i.next(t))}catch(t){s(t)}}function a(t){try{c(i.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}c((i=i.apply(t,e||[])).next())})}function Li(t,e){var n,i,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){s.label=a[1];break}if(6===a[0]&&s.label<r[1]){s.label=r[1],r=a;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}Object.create;function Di(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;"function"==typeof SuppressedError&&SuppressedError;var Pi=64,Mi=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Vi=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Bi=Math.pow(2,53)-1,Hi=function(){function t(){this.state=Int32Array.from(Vi),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return t.prototype.update=function(t){if(this.finished)throw new Error("Attempted to update an already finished hash.");var e=0,n=t.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>Bi)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=t[e++],n--,this.bufferLength===Pi&&(this.hashBuffer(),this.bufferLength=0)},t.prototype.digest=function(){if(!this.finished){var t=8*this.bytesHashed,e=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(e.setUint8(this.bufferLength++,128),n%Pi>=56){for(var i=this.bufferLength;i<Pi;i++)e.setUint8(i,0);this.hashBuffer(),this.bufferLength=0}for(i=this.bufferLength;i<56;i++)e.setUint8(i,0);e.setUint32(56,Math.floor(t/4294967296),!0),e.setUint32(60,t),this.hashBuffer(),this.finished=!0}var r=new Uint8Array(32);for(i=0;i<8;i++)r[4*i]=this.state[i]>>>24&255,r[4*i+1]=this.state[i]>>>16&255,r[4*i+2]=this.state[i]>>>8&255,r[4*i+3]=this.state[i]>>>0&255;return r},t.prototype.hashBuffer=function(){for(var t=this.buffer,e=this.state,n=e[0],i=e[1],r=e[2],s=e[3],o=e[4],a=e[5],c=e[6],l=e[7],u=0;u<Pi;u++){if(u<16)this.temp[u]=(255&t[4*u])<<24|(255&t[4*u+1])<<16|(255&t[4*u+2])<<8|255&t[4*u+3];else{var h=this.temp[u-2],d=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,p=((h=this.temp[u-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3;this.temp[u]=(d+this.temp[u-7]|0)+(p+this.temp[u-16]|0)}var f=(((o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7))+(o&a^~o&c)|0)+(l+(Mi[u]+this.temp[u]|0)|0)|0,g=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&i^n&r^i&r)|0;l=c,c=a,a=o,o=s+f|0,s=r,r=i,i=n,n=f+g|0}e[0]+=n,e[1]+=i,e[2]+=r,e[3]+=s,e[4]+=o,e[5]+=a,e[6]+=c,e[7]+=l},t}(),Ui=function(){function t(t){this.secret=t,this.hash=new Hi,this.reset()}return t.prototype.update=function(t){if(!Ei(t)&&!this.error)try{this.hash.update(Ai(t))}catch(t){this.error=t}},t.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},t.prototype.digest=function(){return Oi(this,void 0,void 0,function(){return Li(this,function(t){return[2,this.digestSync()]})})},t.prototype.reset=function(){if(this.hash=new Hi,this.secret){this.outer=new Hi;var t=function(t){var e=Ai(t);if(e.byteLength>Pi){var n=new Hi;n.update(e),e=n.digest()}var i=new Uint8Array(Pi);return i.set(e),i}(this.secret),e=new Uint8Array(Pi);e.set(t);for(var n=0;n<Pi;n++)t[n]^=54,e[n]^=92;this.hash.update(t),this.outer.update(e);for(n=0;n<t.byteLength;n++)t[n]=0}},t}();var qi=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function Fi(t){return t&&qi.every(function(e){return"function"==typeof t[e]})}var zi=function(){function t(t){!function(t){return!(!function(t){return"object"==typeof t&&"object"==typeof t.crypto&&"function"==typeof t.crypto.getRandomValues}(t)||"object"!=typeof t.crypto.subtle)&&Fi(t.crypto.subtle)}(Ri())?this.hash=new Ui(t):this.hash=new Ni(t)}return t.prototype.update=function(t,e){this.hash.update(Ai(t))},t.prototype.digest=function(){return this.hash.digest()},t.prototype.reset=function(){this.hash.reset()},t}();!function(){function t(){this.crc32=new ji}t.prototype.update=function(t){Ei(t)||this.crc32.update(Ai(t))},t.prototype.digest=function(){return Oi(this,void 0,void 0,function(){return Li(this,function(t){return[2,(e=this.crc32.digest(),new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))];var e})})},t.prototype.reset=function(){this.crc32=new ji}}();var Gi,ji=function(){function t(){this.checksum=4294967295}return t.prototype.update=function(t){var e,n;try{for(var i=Di(t),r=i.next();!r.done;r=i.next()){var s=r.value;this.checksum=this.checksum>>>8^Wi[255&(this.checksum^s)]}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return this},t.prototype.digest=function(){return(4294967295^this.checksum)>>>0},t}(),Wi=function(t){if(!Uint32Array.from){for(var e=new Uint32Array(t.length),n=0;n<t.length;)e[n]=t[n],n+=1;return e}return Uint32Array.from(t)}([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);class Ki{bytes;constructor(t){if(this.bytes=t,8!==t.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw new Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);const e=new Uint8Array(8);for(let n=7,i=Math.abs(Math.round(t));n>-1&&i>0;n--,i/=256)e[n]=i;return t<0&&Yi(e),new Ki(e)}valueOf(){const t=this.bytes.slice(0),e=128&t[0];return e&&Yi(t),parseInt(Vn(t),16)*(e?-1:1)}toString(){return String(this.valueOf())}}function Yi(t){for(let e=0;e<8;e++)t[e]^=255;for(let e=7;e>-1&&(t[e]++,0===t[e]);e--);}class $i{toUtf8;fromUtf8;constructor(t,e){this.toUtf8=t,this.fromUtf8=e}format(t){const e=[];for(const n of Object.keys(t)){const i=this.fromUtf8(n);e.push(Uint8Array.from([i.byteLength]),i,this.formatHeaderValue(t[n]))}const n=new Uint8Array(e.reduce((t,e)=>t+e.byteLength,0));let i=0;for(const t of e)n.set(t,i),i+=t.byteLength;return n}formatHeaderValue(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?0:1]);case"byte":return Uint8Array.from([2,t.value]);case"short":const e=new DataView(new ArrayBuffer(3));return e.setUint8(0,3),e.setInt16(1,t.value,!1),new Uint8Array(e.buffer);case"integer":const n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,t.value,!1),new Uint8Array(n.buffer);case"long":const i=new Uint8Array(9);return i[0]=5,i.set(t.value.bytes,1),i;case"binary":const r=new DataView(new ArrayBuffer(3+t.value.byteLength));r.setUint8(0,6),r.setUint16(1,t.value.byteLength,!1);const s=new Uint8Array(r.buffer);return s.set(t.value,3),s;case"string":const o=this.fromUtf8(t.value),a=new DataView(new ArrayBuffer(3+o.byteLength));a.setUint8(0,7),a.setUint16(1,o.byteLength,!1);const c=new Uint8Array(a.buffer);return c.set(o,3),c;case"timestamp":const l=new Uint8Array(9);return l[0]=8,l.set(Ki.fromNumber(t.value.valueOf()).bytes,1),l;case"uuid":if(!sr.test(t.value))throw new Error(`Invalid UUID received: ${t.value}`);const u=new Uint8Array(17);return u[0]=9,u.set(Mn(t.value.replace(/\-/g,"")),1),u}}parse(t){const e={};let n=0;for(;n<t.byteLength;){const i=t.getUint8(n++),r=this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+n,i));switch(n+=i,t.getUint8(n++)){case 0:e[r]={type:Qi,value:!0};break;case 1:e[r]={type:Qi,value:!1};break;case 2:e[r]={type:Xi,value:t.getInt8(n++)};break;case 3:e[r]={type:Ji,value:t.getInt16(n,!1)},n+=2;break;case 4:e[r]={type:Zi,value:t.getInt32(n,!1)},n+=4;break;case 5:e[r]={type:tr,value:new Ki(new Uint8Array(t.buffer,t.byteOffset+n,8))},n+=8;break;case 6:const i=t.getUint16(n,!1);n+=2,e[r]={type:er,value:new Uint8Array(t.buffer,t.byteOffset+n,i)},n+=i;break;case 7:const s=t.getUint16(n,!1);n+=2,e[r]={type:nr,value:this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+n,s))},n+=s;break;case 8:e[r]={type:ir,value:new Date(new Ki(new Uint8Array(t.buffer,t.byteOffset+n,8)).valueOf())},n+=8;break;case 9:const o=new Uint8Array(t.buffer,t.byteOffset+n,16);n+=16,e[r]={type:rr,value:`${Vn(o.subarray(0,4))}-${Vn(o.subarray(4,6))}-${Vn(o.subarray(6,8))}-${Vn(o.subarray(8,10))}-${Vn(o.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return e}}!function(t){t[t.boolTrue=0]="boolTrue",t[t.boolFalse=1]="boolFalse",t[t.byte=2]="byte",t[t.short=3]="short",t[t.integer=4]="integer",t[t.long=5]="long",t[t.byteArray=6]="byteArray",t[t.string=7]="string",t[t.timestamp=8]="timestamp",t[t.uuid=9]="uuid"}(Gi||(Gi={}));const Qi="boolean",Xi="byte",Ji="short",Zi="integer",tr="long",er="binary",nr="string",ir="timestamp",rr="uuid",sr=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class or{headerMarshaller;messageBuffer;isEndOfStream;constructor(t,e){this.headerMarshaller=new $i(t,e),this.messageBuffer=[],this.isEndOfStream=!1}feed(t){this.messageBuffer.push(this.decode(t))}endOfStream(){this.isEndOfStream=!0}getMessage(){const t=this.messageBuffer.pop(),e=this.isEndOfStream;return{getMessage:()=>t,isEndOfStream:()=>e}}getAvailableMessages(){const t=this.messageBuffer;this.messageBuffer=[];const e=this.isEndOfStream;return{getMessages:()=>t,isEndOfStream:()=>e}}encode({headers:t,body:e}){const n=this.headerMarshaller.format(t),i=n.byteLength+e.byteLength+16,r=new Uint8Array(i),s=new DataView(r.buffer,r.byteOffset,r.byteLength),o=new ji;return s.setUint32(0,i,!1),s.setUint32(4,n.byteLength,!1),s.setUint32(8,o.update(r.subarray(0,8)).digest(),!1),r.set(n,12),r.set(e,n.byteLength+12),s.setUint32(i-4,o.update(r.subarray(8,i-4)).digest(),!1),r}decode(t){const{headers:e,body:n}=function({byteLength:t,byteOffset:e,buffer:n}){if(t<16)throw new Error("Provided message too short to accommodate event stream message overhead");const i=new DataView(n,e,t),r=i.getUint32(0,!1);if(t!==r)throw new Error("Reported message length does not match received message length");const s=i.getUint32(4,!1),o=i.getUint32(8,!1),a=i.getUint32(t-4,!1),c=(new ji).update(new Uint8Array(n,e,8));if(o!==c.digest())throw new Error(`The prelude checksum specified in the message (${o}) does not match the calculated CRC32 checksum (${c.digest()})`);if(c.update(new Uint8Array(n,e+8,t-12)),a!==c.digest())throw new Error(`The message checksum (${c.digest()}) did not match the expected value of ${a}`);return{headers:new DataView(n,e+8+4,s),body:new Uint8Array(n,e+8+4+s,r-s-16)}}(t);return{headers:this.headerMarshaller.parse(e),body:n}}formatHeaders(t){return this.headerMarshaller.format(t)}}class ar extends TransformStream{constructor(t,e,n,i){let r=t;super({start(){},async transform(t,s){try{const o=new Date(Date.now()+await i()),a={":date":{type:"timestamp",value:o}},c=await e.sign({message:{body:t,headers:a},priorSignature:r},{signingDate:o});r=c.signature;const l=n.encode({headers:{...a,":chunk-signature":{type:"binary",value:Mn(c.signature)}},body:t});s.enqueue(l)}catch(t){s.error(t)}}})}}class cr{messageSigner;eventStreamCodec;systemClockOffsetProvider;constructor(t){this.messageSigner=t.messageSigner,this.eventStreamCodec=new or(t.utf8Encoder,t.utf8Decoder),this.systemClockOffsetProvider=async()=>t.systemClockOffset??0}async handle(t,e,n={}){const i=e.request,{body:r,headers:s,query:o}=i;if(!(r instanceof ReadableStream))throw new Error("Eventstream payload must be a ReadableStream.");const a=new TransformStream;i.body=a.readable;const c=((s?.authorization??"").match(/Signature=(\w+)$/)??[])[1]??(o&&o["X-Amz-Signature"])??"",l=new ar(c,await this.messageSigner(),this.eventStreamCodec,this.systemClockOffsetProvider);let u;r.pipeThrough(l).pipeThrough(a);try{u=await t(e)}catch(t){const e=r.cancel?.();throw e instanceof Promise&&e.catch(()=>{}),t}return u}}const lr=t=>new cr(t);function ur(t){const e=[];for(let n of Object.keys(t).sort()){const i=t[n];if(n=pi(n),Array.isArray(i))for(let t=0,r=i.length;t<r;t++)e.push(`${n}=${pi(i[t])}`);else{let t=n;(i||"string"==typeof i)&&(t+=`=${pi(i)}`),e.push(t)}}return e.join("&")}const hr=t=>({[Symbol.asyncIterator]:async function*(){const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)return;yield n}}finally{e.releaseLock()}}}),dr=t=>{const e=t[Symbol.asyncIterator]();return new ReadableStream({async pull(t){const{done:n,value:i}=await e.next();if(n)return t.close();t.enqueue(i)}})};function pr(t,e){return new Request(t,e)}function fr(t=0){return new Promise((e,n)=>{t&&setTimeout(()=>{const e=new Error(`Request did not complete within ${t} ms`);e.name="TimeoutError",n(e)},t)})}const gr={supported:void 0};class mr{config;configProvider;static create(t){return"function"==typeof t?.handle?t:new mr(t)}constructor(t){"function"==typeof t?this.configProvider=t().then(t=>t||{}):(this.config=t??{},this.configProvider=Promise.resolve(this.config)),void 0===gr.supported&&(gr.supported=Boolean("undefined"!=typeof Request&&"keepalive"in pr("https://[::1]")))}destroy(){}async handle(t,{abortSignal:e,requestTimeout:n}={}){this.config||(this.config=await this.configProvider);const i=n??this.config.requestTimeout,r=!0===this.config.keepAlive,s=this.config.credentials;if(e?.aborted){const t=new Error("Request aborted");return t.name="AbortError",Promise.reject(t)}let o=t.path;const a=ur(t.query||{});a&&(o+=`?${a}`),t.fragment&&(o+=`#${t.fragment}`);let c="";if(null!=t.username||null!=t.password){c=`${t.username??""}:${t.password??""}@`}const{port:l,method:u}=t,h=`${t.protocol}//${c}${t.hostname}${l?`:${l}`:""}${o}`,d="GET"===u||"HEAD"===u?void 0:t.body,p={body:d,headers:new Headers(t.headers),method:u,credentials:s};this.config?.cache&&(p.cache=this.config.cache),d&&(p.duplex="half"),"undefined"!=typeof AbortController&&(p.signal=e),gr.supported&&(p.keepalive=r),"function"==typeof this.config.requestInit&&Object.assign(p,this.config.requestInit(t));let f=()=>{};const g=pr(h,p),m=[fetch(g).then(t=>{const e=t.headers,n={};for(const t of e.entries())n[t[0]]=t[1];return null!=t.body?{response:new He({headers:n,reason:t.statusText,statusCode:t.status,body:t.body})}:t.blob().then(e=>({response:new He({headers:n,reason:t.statusText,statusCode:t.status,body:e})}))}),fr(i)];return e&&m.push(new Promise((t,n)=>{const i=()=>{const t=new Error("Request aborted");t.name="AbortError",n(t)};if("function"==typeof e.addEventListener){const t=e;t.addEventListener("abort",i,{once:!0}),f=()=>t.removeEventListener("abort",i)}else e.onabort=i})),Promise.race(m).finally(f)}updateHttpClientConfig(t,e){this.config=void 0,this.configProvider=this.configProvider.then(n=>(n[t]=e,n))}httpHandlerConfigs(){return this.config??{}}}const kr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_r=Object.entries(kr).reduce((t,[e,n])=>(t[n]=Number(e),t),{}),br=kr.split(""),wr=t=>{let e=t.length/4*3;"=="===t.slice(-2)?e-=2:"="===t.slice(-1)&&e--;const n=new ArrayBuffer(e),i=new DataView(n);for(let e=0;e<t.length;e+=4){let n=0,r=0;for(let i=e,s=e+3;i<=s;i++)if("="!==t[i]){if(!(t[i]in _r))throw new TypeError(`Invalid character ${t[i]} in base64 string.`);n|=_r[t[i]]<<6*(s-i),r+=6}else n>>=6;const s=e/4*3;n>>=r%8;const o=Math.floor(r/8);for(let t=0;t<o;t++){const e=8*(o-t-1);i.setUint8(s+t,(n&255<<e)>>e)}}return new Uint8Array(n)},Ir=3e3;class vr{metadata={handlerProtocol:"websocket/h1.1"};config={};configPromise;httpHandler;sockets={};static create(t,e=new mr){return"function"==typeof t?.handle?t:new vr(t,e)}constructor(t,e=new mr){this.httpHandler=e;const n=t=>(this.config={...t??{}},this.config);"function"==typeof t?(this.config={},this.configPromise=t().then(t=>n(t))):this.configPromise=Promise.resolve(n(t))}destroy(){for(const[t,e]of Object.entries(this.sockets)){for(const t of e)t.close(1e3,"Socket closed through destroy() call");delete this.sockets[t]}}async handle(t){this.config=await this.configPromise;const{logger:e}=this.config;if(!Ae(t))return e?.debug?.(`@aws-sdk - ws fetching ${t.protocol}${t.hostname}${t.path}`),this.httpHandler.handle(t);const n=function(t){const{port:e,query:n}=t;let{protocol:i,path:r,hostname:s}=t;i&&":"!==i.slice(-1)&&(i+=":"),e&&(s+=`:${e}`),r&&"/"!==r.charAt(0)&&(r=`/${r}`);let o=n?ur(n):"";o&&"?"!==o[0]&&(o=`?${o}`);let a="";null==t.username&&null==t.password||(a=`${t.username??""}:${t.password??""}@`);let c="";return t.fragment&&(c=`#${t.fragment}`),`${i}//${a}${s}${r}${o}${c}`}(t);e?.debug?.(`@aws-sdk - ws connecting ${n.split("?")[0]}`);const i=new WebSocket(n);this.sockets[n]||(this.sockets[n]=[]),this.sockets[n].push(i),i.binaryType="arraybuffer";const{connectionTimeout:r=Ir}=this.config;await this.waitForReady(i,r);const{body:s}=t,o=yr(s),a=this.connect(i,o),c=Ar(a);return{response:new He({statusCode:200,body:c})}}updateHttpClientConfig(t,e){this.configPromise=this.configPromise.then(n=>(n[t]=e,n))}httpHandlerConfigs(){return this.config??{}}removeNotUsableSockets(t){this.sockets[t]=(this.sockets[t]??[]).filter(t=>![WebSocket.CLOSING,WebSocket.CLOSED].includes(t.readyState))}waitForReady(t,e){return new Promise((n,i)=>{const r=setTimeout(()=>{this.removeNotUsableSockets(t.url),i({$metadata:{httpStatusCode:500,websocketSynthetic500Error:!0}})},e);t.onopen=()=>{clearTimeout(r),n()}})}connect(t,e){const n=[];let i=null,r=null;const s=t=>{i?(t.error?r(t.error):i({done:t.done,value:t.value}),i=null,r=null):n.push(t)};t.onmessage=t=>{const{data:e}=t;s("string"==typeof e?{done:!1,value:wr(e)}:{done:!1,value:new Uint8Array(e)})},t.onerror=e=>{t.close(),s({done:!0,error:e})},t.onclose=()=>{this.removeNotUsableSockets(t.url),s({done:!0})};const o={[Symbol.asyncIterator]:()=>({async next(){if(n.length>0){const t=n.shift();if(t.error)throw t.error;return{done:t.done,value:t.value}}return new Promise((t,e)=>{i=t,r=e})}})};return(async()=>{try{for await(const n of e){if(t.readyState>=WebSocket.CLOSING)break;t.send(n)}}catch(t){s({done:!0,error:t})}finally{t.close(1e3)}})(),o}}const yr=t=>t[Symbol.asyncIterator]?t:Er(t)?hr(t):{[Symbol.asyncIterator]:async function*(){yield t}},Ar=t=>"function"==typeof ReadableStream?dr(t):t,Er=t=>"function"==typeof ReadableStream&&t instanceof ReadableStream,Tr=({serviceId:t,clientVersion:e})=>async n=>{const i="undefined"!=typeof window?window.navigator:void 0,r=i?.userAgent??"",s=i?.userAgentData?.platform??Cr.os(r)??"other",o=i?.userAgentData?.brands??[],a=o[o.length-1],c=a?.brand??Cr.browser(r)??"unknown",l=[["aws-sdk-js",e],["ua","2.1"],[`os/${s}`,undefined],["lang/js"],["md/browser",`${c}_${a?.version??"unknown"}`]];t&&l.push([`api/${t}`,e]);const u=await(n?.userAgentAppId?.());return u&&l.push([`app/${u}`]),l},Cr={os:t=>/iPhone|iPad|iPod/.test(t)?"iOS":/Macintosh|Mac OS X/.test(t)?"macOS":/Windows NT/.test(t)?"Windows":/Android/.test(t)?"Android":/Linux/.test(t)?"Linux":void 0,browser:t=>/EdgiOS|EdgA|Edg\//.test(t)?"Microsoft Edge":/Firefox\//.test(t)?"Firefox":/Chrome\//.test(t)?"Chrome":/Safari\//.test(t)?"Safari":void 0};var Sr;!function(t){t.ENV="env",t.CONFIG="shared config entry"}(Sr||(Sr={}));class xr{options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const t of this.options.messageStream){const e=await this.options.deserializer(t);void 0!==e&&(yield e)}}}class Rr{options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const t of this.options.inputStream){const e=this.options.decoder.decode(t);yield e}}}class Nr{options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const t of this.options.messageStream){const e=this.options.encoder.encode(t);yield e}this.options.includeEndFrame&&(yield new Uint8Array(0))}}class Or{options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const t of this.options.inputStream){const e=this.options.serializer(t);yield e}}}function Lr(t,e){return async function(n){const{value:i}=n.headers[":message-type"];if("error"===i){const t=new Error(n.headers[":error-message"].value||"UnknownError");throw t.name=n.headers[":error-code"].value,t}if("exception"===i){const i=n.headers[":exception-type"].value,r={[i]:n},s=await t(r);if(s.$unknown){const t=new Error(e(n.body));throw t.name=i,t}throw s[i]}if("event"===i){const e={[n.headers[":event-type"].value]:n},i=await t(e);if(i.$unknown)return;return i}throw Error(`Unrecognizable event type: ${n.headers[":event-type"].value}`)}}class Dr{eventStreamCodec;utfEncoder;constructor({utf8Encoder:t,utf8Decoder:e}){this.eventStreamCodec=new or(t,e),this.utfEncoder=t}deserialize(t,e){const n=function(t){let e=0,n=0,i=null,r=null;const s=t=>{if("number"!=typeof t)throw new Error("Attempted to allocate an event message where size was not a number: "+t);e=t,n=4,i=new Uint8Array(t),new DataView(i.buffer).setUint32(0,t,!1)};return{[Symbol.asyncIterator]:async function*(){const o=t[Symbol.asyncIterator]();for(;;){const{value:t,done:a}=await o.next();if(a){if(!e)return;if(e!==n)throw new Error("Truncated event message received.");return void(yield i)}const c=t.length;let l=0;for(;l<c;){if(!i){const e=c-l;r||(r=new Uint8Array(4));const i=Math.min(4-n,e);if(r.set(t.slice(l,l+i),n),n+=i,l+=i,n<4)break;s(new DataView(r.buffer).getUint32(0,!1)),r=null}const o=Math.min(e-n,c-l);i.set(t.slice(l,l+o),n),n+=o,l+=o,e&&e===n&&(yield i,i=null,e=0,n=0)}}}}}(t);return new xr({messageStream:new Rr({inputStream:n,decoder:this.eventStreamCodec}),deserializer:Lr(e,this.utfEncoder)})}serialize(t,e){return new Nr({messageStream:new Or({inputStream:t,serializer:e}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}class Pr{universalMarshaller;constructor({utf8Encoder:t,utf8Decoder:e}){this.universalMarshaller=new Dr({utf8Decoder:e,utf8Encoder:t})}deserialize(t,e){const n=Mr(t)?hr(t):t;return this.universalMarshaller.deserialize(n,e)}serialize(t,e){const n=this.universalMarshaller.serialize(t,e);return"function"==typeof ReadableStream?dr(n):n}}const Mr=t=>"function"==typeof ReadableStream&&t instanceof ReadableStream,Vr=t=>new Pr(t),Br=async t=>"function"==typeof Blob&&t instanceof Blob||"Blob"===t.constructor?.name?void 0!==Blob.prototype.arrayBuffer?new Uint8Array(await t.arrayBuffer()):async function(t){const e=await function(t){return new Promise((e,n)=>{const i=new FileReader;i.onloadend=()=>{if(2!==i.readyState)return n(new Error("Reader aborted too early"));const t=i.result??"",r=t.indexOf(","),s=r>-1?r+1:t.length;e(t.substring(s))},i.onabort=()=>n(new Error("Read aborted")),i.onerror=()=>n(i.error),i.readAsDataURL(t)})}(t),n=wr(e);return new Uint8Array(n)}(t):async function(t){const e=[],n=t.getReader();let i=!1,r=0;for(;!i;){const{done:t,value:s}=await n.read();s&&(e.push(s),r+=s.length),i=t}const s=new Uint8Array(r);let o=0;for(const t of e)s.set(t,o),o+=t.length;return s}(t);const Hr=t=>{switch(t){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},Ur="function"==typeof TextEncoder?new TextEncoder:null,qr=t=>{if("string"==typeof t){if(Ur)return Ur.encode(t).byteLength;let e=t.length;for(let n=e-1;n>=0;n--){const i=t.charCodeAt(n);i>127&&i<=2047?e++:i>2047&&i<=65535&&(e+=2),i>=56320&&i<=57343&&n--}return e}if("number"==typeof t.byteLength)return t.byteLength;if("number"==typeof t.size)return t.size;throw new Error(`Body Length computation failed for ${t}`)},Fr=["in-region","cross-region","mobile","standard","legacy"],zr=()=>{const t=window?.navigator;if(t?.connection){const{effectiveType:e,rtt:n,downlink:i}=t?.connection;if("string"==typeof e&&"4g"!==e||Number(n)>100||Number(i)<10)return!0}return t?.userAgentData?.mobile||"number"==typeof t?.maxTouchPoints&&t?.maxTouchPoints>1},Gr=t=>new Date(Date.now()+t),jr=t=>He.isInstance(t)?t.headers?.date??t.headers?.Date:void 0,Wr=(t,e)=>{const n=Date.parse(t);return((t,e)=>Math.abs(Gr(e).getTime()-t)>=3e5)(n,e)?n-Date.now():e},Kr=(t,e)=>{if(!e)throw new Error(`Property \`${t}\` is not resolved for AWS SDK SigV4Auth`);return e};class Yr{async sign(t,e,n){if(!te.isInstance(t))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const i=await(async t=>{const e=Kr("context",t.context),n=Kr("config",t.config),i=e.endpointV2?.properties?.authSchemes?.[0],r=Kr("signer",n.signer),s=await r(i),o=t?.signingRegion,a=t?.signingRegionSet,c=t?.signingName;return{config:n,signer:s,signingRegion:o,signingRegionSet:a,signingName:c}})(n),{config:r,signer:s}=i;let{signingRegion:o,signingName:a}=i;const c=n.context;if(c?.authSchemes?.length){const[t,e]=c.authSchemes;"sigv4a"===t?.name&&"sigv4"===e?.name&&(o=e?.signingRegion??o,a=e?.signingName??a)}return await s.sign(t,{signingDate:Gr(r.systemClockOffset),signingRegion:o,signingService:a})}errorHandler(t){return e=>{const n=e.ServerTime??jr(e.$response);if(n){const i=Kr("config",t.config),r=i.systemClockOffset;i.systemClockOffset=Wr(n,i.systemClockOffset);i.systemClockOffset!==r&&e.$metadata&&(e.$metadata.clockSkewCorrected=!0)}throw e}}successHandler(t,e){const n=jr(t);if(n){const t=Kr("config",e.config);t.systemClockOffset=Wr(n,t.systemClockOffset)}}}const $r=t=>"function"==typeof t?t():t;function Qr(t){if("object"==typeof t)return t;t|=0;const e={};let n=0;for(const i of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])1==(t>>n++&1)&&(e[i]=1);return e}const Xr=Symbol.for("@smithy/nor-struct-it");class Jr{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=Jr.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(t,e){this.ref=t,this.memberName=e;const n=[];let i=t,r=t;for(this._isMemberSchema=!1;ts(i);)n.push(i[1]),i=i[0],r=$r(i),this._isMemberSchema=!0;if(n.length>0){this.memberTraits={};for(let t=n.length-1;t>=0;--t){const e=n[t];Object.assign(this.memberTraits,Qr(e))}}else this.memberTraits=0;if(r instanceof Jr){const t=this.memberTraits;return Object.assign(this,r),this.memberTraits=Object.assign({},t,r.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,void(this.memberName=e??r.memberName)}if(this.schema=$r(r),es(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(r),this.traits=0),this._isMemberSchema&&!e)throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](t){const e=this.prototype.isPrototypeOf(t);if(!e&&"object"==typeof t&&null!==t){return t.symbol===this.symbol}return e}static of(t){const e=$r(t);if(e instanceof Jr)return e;if(ts(e)){const[n,i]=e;if(n instanceof Jr)return Object.assign(n.getMergedTraits(),Qr(i)),n;throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(t,null,2)}.`)}return new Jr(e)}getSchema(){const t=this.schema;return Array.isArray(t)&&0===t[0]?t[4]:t}getName(t=!1){const{name:e}=this;return!t&&e&&e.includes("#")?e.split("#")[1]:e||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){const t=this.getSchema();return"number"==typeof t?t>=64&&t<128:1===t[0]}isMapSchema(){const t=this.getSchema();return"number"==typeof t?t>=128&&t<=255:2===t[0]}isStructSchema(){const t=this.getSchema();if("object"!=typeof t)return!1;const e=t[0];return 3===e||-3===e||4===e}isUnionSchema(){const t=this.getSchema();return"object"==typeof t&&4===t[0]}isBlobSchema(){const t=this.getSchema();return 21===t||42===t}isTimestampSchema(){const t=this.getSchema();return"number"==typeof t&&t>=4&&t<=7}isUnitSchema(){return"unit"===this.getSchema()}isDocumentSchema(){return 15===this.getSchema()}isStringSchema(){return 0===this.getSchema()}isBooleanSchema(){return 2===this.getSchema()}isNumericSchema(){return 1===this.getSchema()}isBigIntegerSchema(){return 17===this.getSchema()}isBigDecimalSchema(){return 19===this.getSchema()}isStreaming(){const{streaming:t}=this.getMergedTraits();return!!t||42===this.getSchema()}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return Qr(this.memberTraits)}getOwnTraits(){return Qr(this.traits)}getKeySchema(){const[t,e]=[this.isDocumentSchema(),this.isMapSchema()];if(!t&&!e)throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);const n=this.getSchema();return Zr([t?15:n[4]??0,0],"key")}getValueSchema(){const t=this.getSchema(),[e,n,i]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],r="number"==typeof t?63&t:t&&"object"==typeof t&&(n||i)?t[3+t[0]]:e?15:void 0;if(null!=r)return Zr([r,0],n?"value":"member");throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(t){const e=this.getSchema();if(this.isStructSchema()&&e[4].includes(t)){const n=e[4].indexOf(t),i=e[5][n];return Zr(ts(i)?i:[i,0],t)}if(this.isDocumentSchema())return Zr([15,0],t);throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no no member=${t}.`)}getMemberSchemas(){const t={};try{for(const[e,n]of this.structIterator())t[e]=n}catch(t){}return t}getEventStreamMember(){if(this.isStructSchema())for(const[t,e]of this.structIterator())if(e.isStreaming()&&e.isStructSchema())return t;return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");const t=this.getSchema(),e=t[4].length;let n=t[Xr];if(n&&e===n.length)yield*n;else{n=Array(e);for(let i=0;i<e;++i){const e=t[4][i],r=Zr([t[5][i],0],e);yield n[i]=[e,r]}t[Xr]=n}}}function Zr(t,e){if(t instanceof Jr)return Object.assign(t,{memberName:e,_isMemberSchema:!0});return new Jr(t,e)}const ts=t=>Array.isArray(t)&&2===t.length,es=t=>Array.isArray(t)&&t.length>=5;function ns(t,e,n){if(n<=0||!Number.isInteger(n))throw new Error("Invalid number of delimiters ("+n+") for splitEvery.");const i=t.split(e);if(1===n)return i;const r=[];let s="";for(let t=0;t<i.length;t++)""===s?s=i[t]:s+=e+i[t],(t+1)%n===0&&(r.push(s),s="");return""!==s&&r.push(s),r}const is=t=>{const e=t.length,n=[];let i,r=!1,s=0;for(let o=0;o<e;++o){const e=t[o];switch(e){case'"':"\\"!==i&&(r=!r);break;case",":r||(n.push(t.slice(s,o)),s=o+1)}i=e}return n.push(t.slice(s)),n.map(t=>{const e=(t=t.trim()).length;return e<2?t:('"'===t[0]&&'"'===t[e-1]&&(t=t.slice(1,e-1)),t.replace(/\\"/g,'"'))})};function rs(t){let e;e="string"==typeof t?(0,Bn.a)(t):t;const n="object"==typeof e&&"number"==typeof e.length,i="object"==typeof e&&"number"==typeof e.byteOffset&&"number"==typeof e.byteLength;if(!n&&!i)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let r="";for(let t=0;t<e.length;t+=3){let n=0,i=0;for(let r=t,s=Math.min(t+3,e.length);r<s;r++)n|=e[r]<<8*(s-r-1),i+=8;const s=Math.ceil(i/6);n<<=6*s-i;for(let t=1;t<=s;t++){const e=6*(s-t);r+=br[(n&63<<e)>>e]}r+="==".slice(0,4-s)}return r}var ss=r(7356);const os=t=>"function"==typeof ReadableStream&&(t?.constructor?.name===ReadableStream.name||t instanceof ReadableStream),as="The stream has already been transformed.",cs=t=>{if(!ls(t)&&!os(t)){throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${t?.__proto__?.constructor?.name||t}`)}let e=!1;const n=async()=>{if(e)throw new Error(as);return e=!0,await Br(t)};return Object.assign(t,{transformToByteArray:n,transformToString:async t=>{const e=await n();if("base64"===t)return rs(e);if("hex"===t)return Vn(e);if(void 0===t||"utf8"===t||"utf-8"===t)return(0,ss.P)(e);if("function"==typeof TextDecoder)return new TextDecoder(t).decode(e);throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(e)throw new Error(as);if(e=!0,ls(t))return(t=>{if("function"!=typeof t.stream)throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return t.stream()})(t);if(os(t))return t;throw new Error(`Cannot transform payload to web stream, got ${t}`)}})},ls=t=>"function"==typeof Blob&&t instanceof Blob;class us extends Uint8Array{static fromString(t,e="utf-8"){if("string"==typeof t)return"base64"===e?us.mutate(wr(t)):us.mutate((0,Bn.a)(t));throw new Error(`Unsupported conversion from ${typeof t} to Uint8ArrayBlobAdapter.`)}static mutate(t){return Object.setPrototypeOf(t,us.prototype),t}transformToString(t="utf-8"){return"base64"===t?rs(this):(0,ss.P)(this)}}const hs=async(t=new Uint8Array,e)=>{if(t instanceof Uint8Array)return us.mutate(t);if(!t)return us.mutate(new Uint8Array);const n=e.streamCollector(t);return us.mutate(await n)};function ds(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}class ps{namespace;schemas;exceptions;static registries=new Map;constructor(t,e=new Map,n=new Map){this.namespace=t,this.schemas=e,this.exceptions=n}static for(t){return ps.registries.has(t)||ps.registries.set(t,new ps(t)),ps.registries.get(t)}copyFrom(t){const{schemas:e,exceptions:n}=this;for(const[n,i]of t.schemas)e.has(n)||e.set(n,i);for(const[e,i]of t.exceptions)n.has(e)||n.set(e,i)}register(t,e){const n=this.normalizeShapeId(t);for(const t of[this,ps.for(n.split("#")[0])])t.schemas.set(n,e)}getSchema(t){const e=this.normalizeShapeId(t);if(!this.schemas.has(e))throw new Error(`@smithy/core/schema - schema not found for ${e}`);return this.schemas.get(e)}registerError(t,e){const n=t,i=n[1];for(const t of[this,ps.for(i)])t.schemas.set(i+"#"+n[2],n),t.exceptions.set(n,e)}getErrorCtor(t){const e=t;if(this.exceptions.has(e))return this.exceptions.get(e);return ps.for(e[1]).exceptions.get(e)}getBaseException(){for(const t of this.exceptions.keys())if(Array.isArray(t)){const[,e,n]=t,i=e+"#"+n;if(i.startsWith("smithy.ts.sdk.synthetic.")&&i.endsWith("ServiceException"))return t}}find(t){return[...this.schemas.values()].find(t)}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(t){return t.includes("#")?t:this.namespace+"#"+t}}class fs{serdeContext;setSerdeContext(t){this.serdeContext=t}}class gs extends fs{options;compositeErrorRegistry;constructor(t){super(),this.options=t,this.compositeErrorRegistry=ps.for(t.defaultNamespace);for(const e of t.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(e)}getRequestType(){return te}getResponseType(){return He}setSerdeContext(t){this.serdeContext=t,this.serializer.setSerdeContext(t),this.deserializer.setSerdeContext(t),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(t)}updateServiceEndpoint(t,e){if("url"in e){t.protocol=e.url.protocol,t.hostname=e.url.hostname,t.port=e.url.port?Number(e.url.port):void 0,t.path=e.url.pathname,t.fragment=e.url.hash||void 0,t.username=e.url.username||void 0,t.password=e.url.password||void 0,t.query||(t.query={});for(const[n,i]of e.url.searchParams.entries())t.query[n]=i;return t}return t.protocol=e.protocol,t.hostname=e.hostname,t.port=e.port?Number(e.port):void 0,t.path=e.path,t.query={...e.query},t}setHostPrefix(t,e,n){if(this.serdeContext?.disableHostPrefix)return;const i=Jr.of(e.input),r=Qr(e.traits??{});if(r.endpoint){let e=r.endpoint?.[0];if("string"==typeof e){const r=[...i.structIterator()].filter(([,t])=>t.getMergedTraits().hostLabel);for(const[t]of r){const i=n[t];if("string"!=typeof i)throw new Error(`@smithy/core/schema - ${t} in input must be a string as hostLabel.`);e=e.replace(`{${t}}`,i)}t.hostname=e+t.hostname}}}deserializeMetadata(t){return{httpStatusCode:t.statusCode,requestId:t.headers["x-amzn-requestid"]??t.headers["x-amzn-request-id"]??t.headers["x-amz-request-id"],extendedRequestId:t.headers["x-amz-id-2"],cfId:t.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:t,requestSchema:e,initialRequest:n}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:t,requestSchema:e,initialRequest:n})}async deserializeEventStream({response:t,responseSchema:e,initialResponseContainer:n}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:t,responseSchema:e,initialResponseContainer:n})}async loadEventStreamCapability(){const{EventStreamSerde:t}=await r.e(966).then(r.bind(r,7966));return new t({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(t,e,n,i,r){return[]}getEventStreamMarshaller(){const t=this.serdeContext;if(!t.eventStreamMarshaller)throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return t.eventStreamMarshaller}}class ms extends gs{async serializeRequest(t,e,n){const i={...e??{}},r=this.serializer,s={},o={},a=await n.endpoint(),c=Jr.of(t?.input),l=c.getSchema();let u,h=!1;const d=new te({protocol:"",hostname:"",port:void 0,path:"",fragment:void 0,query:s,headers:o,body:void 0});if(a){this.updateServiceEndpoint(d,a),this.setHostPrefix(d,t,i);const e=Qr(t.traits);if(e.http){d.method=e.http[0];const[t,n]=e.http[1].split("?");"/"==d.path?d.path=t:d.path+=t;const i=new URLSearchParams(n??"");Object.assign(s,Object.fromEntries(i))}}for(const[t,e]of c.structIterator()){const n=e.getMergedTraits()??{},a=i[t];if(null!=a||e.isIdempotencyToken())if(n.httpPayload){if(e.isStreaming()){e.isStructSchema()?i[t]&&(u=await this.serializeEventStream({eventStream:i[t],requestSchema:c})):u=a}else r.write(e,a),u=r.flush();delete i[t]}else if(n.httpLabel){r.write(e,a);const n=r.flush();d.path.includes(`{${t}+}`)?d.path=d.path.replace(`{${t}+}`,n.split("/").map(ds).join("/")):d.path.includes(`{${t}}`)&&(d.path=d.path.replace(`{${t}}`,ds(n))),delete i[t]}else if(n.httpHeader)r.write(e,a),o[n.httpHeader.toLowerCase()]=String(r.flush()),delete i[t];else if("string"==typeof n.httpPrefixHeaders){for(const[t,i]of Object.entries(a)){const s=n.httpPrefixHeaders+t;r.write([e.getValueSchema(),{httpHeader:s}],i),o[s.toLowerCase()]=r.flush()}delete i[t]}else n.httpQuery||n.httpQueryParams?(this.serializeQuery(e,a,s),delete i[t]):h=!0;else if(n.httpLabel&&(d.path.includes(`{${t}+}`)||d.path.includes(`{${t}}`)))throw new Error(`No value provided for input HTTP label: ${t}.`)}return h&&i&&(r.write(l,i),u=r.flush()),d.headers=o,d.query=s,d.body=u,d}serializeQuery(t,e,n){const i=this.serializer,r=t.getMergedTraits();if(r.httpQueryParams){for(const[i,s]of Object.entries(e))if(!(i in n)){const e=t.getValueSchema();Object.assign(e.getMergedTraits(),{...r,httpQuery:i,httpQueryParams:void 0}),this.serializeQuery(e,s,n)}}else if(t.isListSchema()){const s=!!t.getMergedTraits().sparse,o=[];for(const n of e){i.write([t.getValueSchema(),r],n);const e=i.flush();(s||void 0!==e)&&o.push(e)}n[r.httpQuery]=o}else i.write([t,r],e),n[r.httpQuery]=i.flush()}async deserializeResponse(t,e,n){const i=this.deserializer,r=Jr.of(t.output),s={};if(n.statusCode>=300){const r=await hs(n.body,e);throw r.byteLength>0&&Object.assign(s,await i.read(15,r)),await this.handleError(t,e,n,s,this.deserializeMetadata(n)),new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(const t in n.headers){const e=n.headers[t];delete n.headers[t],n.headers[t.toLowerCase()]=e}const o=await this.deserializeHttpMessage(r,e,n,s);if(o.length){const t=await hs(n.body,e);if(t.byteLength>0){const e=await i.read(r,t);for(const t of o)null!=e[t]&&(s[t]=e[t])}}else o.discardResponseBody&&await hs(n.body,e);return s.$metadata=this.deserializeMetadata(n),s}async deserializeHttpMessage(t,e,n,i,r){let s;s=i instanceof Set?r:i;let o=!0;const a=this.deserializer,c=Jr.of(t),l=[];for(const[t,i]of c.structIterator()){const r=i.getMemberTraits();if(r.httpPayload){o=!1;if(i.isStreaming()){const e=i.isStructSchema();s[t]=e?await this.deserializeEventStream({response:n,responseSchema:c}):cs(n.body)}else if(n.body){const r=await hs(n.body,e);r.byteLength>0&&(s[t]=await a.read(i,r))}}else if(r.httpHeader){const e=String(r.httpHeader).toLowerCase(),o=n.headers[e];if(null!=o)if(i.isListSchema()){const n=i.getValueSchema();let r;n.getMergedTraits().httpHeader=e,r=n.isTimestampSchema()&&4===n.getSchema()?ns(o,",",2):is(o);const c=[];for(const t of r)c.push(await a.read(n,t.trim()));s[t]=c}else s[t]=await a.read(i,o)}else if(void 0!==r.httpPrefixHeaders){s[t]={};for(const[e,o]of Object.entries(n.headers))if(e.startsWith(r.httpPrefixHeaders)){const n=i.getValueSchema();n.getMergedTraits().httpHeader=e,s[t][e.slice(r.httpPrefixHeaders.length)]=await a.read(n,o)}}else r.httpResponseCode?s[t]=n.statusCode:l.push(t)}return l.discardResponseBody=o,l}}const ks=t=>{if(null!=t){if("string"==typeof t){const e=parseFloat(t);if(!Number.isNaN(e))return String(e)!==String(t)&&Rs.warn(xs(`Expected number but observed string: ${t}`)),e}if("number"==typeof t)return t;throw new TypeError(`Expected number, got ${typeof t}: ${t}`)}},_s=Math.ceil(2**127*(2-2**-23)),bs=t=>{const e=ks(t);if(void 0!==e&&!Number.isNaN(e)&&e!==1/0&&e!==-1/0&&Math.abs(e)>_s)throw new TypeError(`Expected 32-bit float, got ${t}`);return e},ws=t=>{if(null!=t){if(Number.isInteger(t)&&!Number.isNaN(t))return t;throw new TypeError(`Expected integer, got ${typeof t}: ${t}`)}},Is=t=>ys(t,16),vs=t=>ys(t,8),ys=(t,e)=>{const n=ws(t);if(void 0!==n&&As(n,e)!==n)throw new TypeError(`Expected ${e}-bit integer, got ${t}`);return n},As=(t,e)=>{switch(e){case 32:return Int32Array.of(t)[0];case 16:return Int16Array.of(t)[0];case 8:return Int8Array.of(t)[0]}},Es=t=>ks("string"==typeof t?Cs(t):t),Ts=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,Cs=t=>{const e=t.match(Ts);if(null===e||e[0].length!==t.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(t)},Ss=t=>Is("string"==typeof t?Cs(t):t),xs=t=>String(new TypeError(t).stack||t).split("\n").slice(0,5).filter(t=>!t.includes("stackTraceWarning")).join("\n"),Rs={warn:console.warn},Ns=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Os=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ls(t){const e=t.getUTCFullYear(),n=t.getUTCMonth(),i=t.getUTCDay(),r=t.getUTCDate(),s=t.getUTCHours(),o=t.getUTCMinutes(),a=t.getUTCSeconds(),c=s<10?`0${s}`:`${s}`,l=o<10?`0${o}`:`${o}`,u=a<10?`0${a}`:`${a}`;return`${Ns[i]}, ${r<10?`0${r}`:`${r}`} ${Os[n]} ${e} ${c}:${l}:${u} GMT`}const Ds=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),Ps=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Ms=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Vs=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),Bs=(t,e,n,i)=>{const r=e-1;return zs(t,r,n),new Date(Date.UTC(t,r,n,js(i.hours,"hour",0,23),js(i.minutes,"minute",0,59),js(i.seconds,"seconds",0,60),Ws(i.fractionalMilliseconds)))},Hs=t=>{const e=(new Date).getUTCFullYear(),n=100*Math.floor(e/100)+Ss(Ys(t));return n<e?n+100:n},Us=t=>t.getTime()-(new Date).getTime()>15768e8?new Date(Date.UTC(t.getUTCFullYear()-100,t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds())):t,qs=t=>{const e=Os.indexOf(t);if(e<0)throw new TypeError(`Invalid month: ${t}`);return e+1},Fs=[31,28,31,30,31,30,31,31,30,31,30,31],zs=(t,e,n)=>{let i=Fs[e];if(1===e&&Gs(t)&&(i=29),n>i)throw new TypeError(`Invalid day for ${Os[e]} in ${t}: ${n}`)},Gs=t=>t%4==0&&(t%100!=0||t%400==0),js=(t,e,n,i)=>{const r=(t=>vs("string"==typeof t?Cs(t):t))(Ys(t));if(r<n||r>i)throw new TypeError(`${e} must be between ${n} and ${i}, inclusive`);return r},Ws=t=>null==t?0:1e3*(t=>bs("string"==typeof t?Cs(t):t))("0."+t),Ks=t=>{const e=t[0];let n=1;if("+"==e)n=1;else{if("-"!=e)throw new TypeError(`Offset direction, ${e}, must be "+" or "-"`);n=-1}return n*(60*Number(t.substring(1,3))+Number(t.substring(4,6)))*60*1e3},Ys=t=>{let e=0;for(;e<t.length-1&&"0"===t.charAt(e);)e++;return 0===e?t:t.slice(e)};function $s(t){return(t.includes(",")||t.includes('"'))&&(t=`"${t.replace(/"/g,'\\"')}"`),t}const Qs=function(t){return Object.assign(new String(t),{deserializeJSON:()=>JSON.parse(String(t)),toString:()=>String(t),toJSON:()=>String(t)})};function Xs(t,e){if(e.timestampFormat.useTrait&&t.isTimestampSchema()&&(5===t.getSchema()||6===t.getSchema()||7===t.getSchema()))return t.getSchema();const{httpLabel:n,httpPrefixHeaders:i,httpHeader:r,httpQuery:s}=t.getMergedTraits();return(e.httpBindings?"string"==typeof i||Boolean(r)?6:Boolean(s)||Boolean(n)?5:void 0:void 0)??e.timestampFormat.default}Qs.from=t=>t&&"object"==typeof t&&(t instanceof Qs||"deserializeJSON"in t)?t:"string"==typeof t||Object.getPrototypeOf(t)===String.prototype?Qs(String(t)):Qs(JSON.stringify(t)),Qs.fromObject=Qs.from;class Js extends fs{settings;stringBuffer="";constructor(t){super(),this.settings=t}write(t,e){const n=Jr.of(t);switch(typeof e){case"object":if(null===e)return void(this.stringBuffer="null");if(n.isTimestampSchema()){if(!(e instanceof Date))throw new Error(`@smithy/core/protocols - received non-Date value ${e} when schema expected Date in ${n.getName(!0)}`);switch(Xs(n,this.settings)){case 5:this.stringBuffer=e.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=Ls(e);break;case 7:this.stringBuffer=String(e.getTime()/1e3);break;default:console.warn("Missing timestamp format, using epoch seconds",e),this.stringBuffer=String(e.getTime()/1e3)}return}if(n.isBlobSchema()&&"byteLength"in e)return void(this.stringBuffer=(this.serdeContext?.base64Encoder??rs)(e));if(n.isListSchema()&&Array.isArray(e)){let t="";for(const i of e){this.write([n.getValueSchema(),n.getMergedTraits()],i);const e=this.flush();""!==t&&(t+=", "),t+=n.getValueSchema().isTimestampSchema()?e:$s(e)}return void(this.stringBuffer=t)}this.stringBuffer=JSON.stringify(e,null,2);break;case"string":const t=n.getMergedTraits().mediaType;let i=e;if(t){if(("application/json"===t||t.endsWith("+json"))&&(i=Qs.from(i)),n.getMergedTraits().httpHeader)return void(this.stringBuffer=(this.serdeContext?.base64Encoder??rs)(i.toString()))}this.stringBuffer=e;break;default:n.isIdempotencyToken()?this.stringBuffer=gn():this.stringBuffer=String(e)}}flush(){const t=this.stringBuffer;return this.stringBuffer="",t}}class Zs{codecSerializer;stringSerializer;buffer;constructor(t,e,n=new Js(e)){this.codecSerializer=t,this.stringSerializer=n}setSerdeContext(t){this.codecSerializer.setSerdeContext(t),this.stringSerializer.setSerdeContext(t)}write(t,e){const n=Jr.of(t),i=n.getMergedTraits();return i.httpHeader||i.httpLabel||i.httpQuery?(this.stringSerializer.write(n,e),void(this.buffer=this.stringSerializer.flush())):this.codecSerializer.write(n,e)}flush(){if(void 0!==this.buffer){const t=this.buffer;return this.buffer=void 0,t}return this.codecSerializer.flush()}}const to="(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?",eo="(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)",no="(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?",io="(\\d?\\d)",ro="(\\d{4})",so=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),oo=new RegExp(`^${to}, ${io} ${eo} ${ro} ${no} GMT$`),ao=new RegExp(`^${to}, ${io}-${eo}-(\\d\\d) ${no} GMT$`),co=new RegExp(`^${to} ${eo} ( [1-9]|\\d\\d) ${no} ${ro}$`),lo=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function uo(t,e,n){const i=Number(t);if(i<e||i>n)throw new Error(`Value ${i} out of range [${e}, ${n}]`)}const ho=/^-?\d*(\.\d+)?$/;class po{string;type;constructor(t,e){if(this.string=t,this.type=e,!ho.test(t))throw new Error('@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".')}toString(){return this.string}static[Symbol.hasInstance](t){if(!t||"object"!=typeof t)return!1;const e=t;return po.prototype.isPrototypeOf(t)||"bigDecimal"===e.type&&ho.test(e.string)}}class fo extends fs{settings;constructor(t){super(),this.settings=t}read(t,e){const n=Jr.of(t);if(n.isListSchema())return is(e).map(t=>this.read(n.getValueSchema(),t));if(n.isBlobSchema())return(this.serdeContext?.base64Decoder??wr)(e);if(n.isTimestampSchema()){switch(Xs(n,this.settings)){case 5:return(t=>{if(null==t)return;if("string"!=typeof t)throw new TypeError("RFC3339 timestamps must be strings");const e=so.exec(t);if(!e)throw new TypeError(`Invalid RFC3339 timestamp format ${t}`);const[,n,i,r,s,o,a,,c,l]=e;uo(i,1,12),uo(r,1,31),uo(s,0,23),uo(o,0,59),uo(a,0,60);const u=new Date(Date.UTC(Number(n),Number(i)-1,Number(r),Number(s),Number(o),Number(a),Number(c)?Math.round(1e3*parseFloat(`0.${c}`)):0));if(u.setUTCFullYear(Number(n)),"Z"!=l.toUpperCase()){const[,t,e,n]=/([+-])(\d\d):(\d\d)/.exec(l)||[void 0,"+",0,0],i="-"===t?1:-1;u.setTime(u.getTime()+i*(60*Number(e)*60*1e3+60*Number(n)*1e3))}return u})(e);case 6:return(t=>{if(null==t)return;if("string"!=typeof t)throw new TypeError("RFC7231 timestamps must be strings.");let e,n,i,r,s,o,a,c;if((c=oo.exec(t))?[,e,n,i,r,s,o,a]=c:(c=ao.exec(t))?([,e,n,i,r,s,o,a]=c,i=(Number(i)+1900).toString()):(c=co.exec(t))&&([,n,e,r,s,o,a,i]=c),i&&o){const t=Date.UTC(Number(i),lo.indexOf(n),Number(e),Number(r),Number(s),Number(o),a?Math.round(1e3*parseFloat(`0.${a}`)):0);uo(e,1,31),uo(r,0,23),uo(s,0,59),uo(o,0,60);const c=new Date(t);return c.setUTCFullYear(Number(i)),c}throw new TypeError(`Invalid RFC7231 date-time value ${t}.`)})(e);case 7:return(t=>{if(null==t)return;let e=NaN;if("number"==typeof t)e=t;else if("string"==typeof t){if(!/^-?\d*\.?\d+$/.test(t))throw new TypeError("parseEpochTimestamp - numeric string invalid.");e=Number.parseFloat(t)}else"object"==typeof t&&1===t.tag&&(e=t.value);if(isNaN(e)||Math.abs(e)===1/0)throw new TypeError("Epoch timestamps must be valid finite numbers.");return new Date(Math.round(1e3*e))})(e);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",e),new Date(e)}}if(n.isStringSchema()){const t=n.getMergedTraits().mediaType;let i=e;if(t){n.getMergedTraits().httpHeader&&(i=this.base64ToUtf8(i));return("application/json"===t||t.endsWith("+json"))&&(i=Qs.from(i)),i}}return n.isNumericSchema()?Number(e):n.isBigIntegerSchema()?BigInt(e):n.isBigDecimalSchema()?new po(e,"bigDecimal"):n.isBooleanSchema()?"true"===String(e).toLowerCase():e}base64ToUtf8(t){return(this.serdeContext?.utf8Encoder??ss.P)((this.serdeContext?.base64Decoder??wr)(t))}}class go extends fs{codecDeserializer;stringDeserializer;constructor(t,e){super(),this.codecDeserializer=t,this.stringDeserializer=new fo(e)}setSerdeContext(t){this.stringDeserializer.setSerdeContext(t),this.codecDeserializer.setSerdeContext(t),this.serdeContext=t}read(t,e){const n=Jr.of(t),i=n.getMergedTraits(),r=this.serdeContext?.utf8Encoder??ss.P;if(i.httpHeader||i.httpResponseCode)return this.stringDeserializer.read(n,r(e));if(i.httpPayload){if(n.isBlobSchema()){const t=this.serdeContext?.utf8Decoder??Bn.a;return"string"==typeof e?t(e):e}if(n.isStringSchema())return"byteLength"in e?r(e):e}return this.codecDeserializer.read(n,e)}}class mo extends Error{$fault;$response;$retryable;$metadata;constructor(t){super(t.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=t.name,this.$fault=t.$fault,this.$metadata=t.$metadata}static isInstance(t){if(!t)return!1;const e=t;return mo.prototype.isPrototypeOf(e)||Boolean(e.$fault)&&Boolean(e.$metadata)&&("client"===e.$fault||"server"===e.$fault)}static[Symbol.hasInstance](t){if(!t)return!1;const e=t;return this===mo?mo.isInstance(t):!!mo.isInstance(t)&&(e.name&&this.name?this.prototype.isPrototypeOf(t)||e.name===this.name:this.prototype.isPrototypeOf(t))}}const ko=(t,e={})=>{Object.entries(e).filter(([,t])=>void 0!==t).forEach(([e,n])=>{null!=t[e]&&""!==t[e]||(t[e]=n)});const n=t.message||t.Message||"UnknownError";return t.message=n,delete t.Message,t};class _o{queryCompat;constructor(t=!1){this.queryCompat=t}resolveRestContentType(t,e){const n=e.getMemberSchemas(),i=Object.values(n).find(t=>!!t.getMergedTraits().httpPayload);if(i){const e=i.getMergedTraits().mediaType;return e||(i.isStringSchema()?"text/plain":i.isBlobSchema()?"application/octet-stream":t)}if(!e.isUnitSchema()){const e=Object.values(n).find(t=>{const{httpQuery:e,httpQueryParams:n,httpHeader:i,httpLabel:r,httpPrefixHeaders:s}=t.getMergedTraits();return!e&&!n&&!i&&!r&&void 0===s});if(e)return t}}async getErrorSchemaOrThrowBaseException(t,e,n,i,r,s){let o=e,a=t;t.includes("#")&&([o,a]=t.split("#"));const c={$metadata:r,$fault:n.statusCode<500?"client":"server"},l=ps.for(o);try{return{errorSchema:s?.(l,a)??l.getSchema(t),errorMetadata:c}}catch(t){i.message=i.message??i.Message??"UnknownError";const e=ps.for("smithy.ts.sdk.synthetic."+o),n=e.getBaseException();if(n){const t=e.getErrorCtor(n)??Error;throw this.decorateServiceException(Object.assign(new t({name:a}),c),i)}throw this.decorateServiceException(Object.assign(new Error(a),c),i)}}decorateServiceException(t,e={}){if(this.queryCompat){const n=t.Message??e.Message,i=ko(t,e);n&&(i.message=n),i.Error={...i.Error,Type:i.Error.Type,Code:i.Error.Code,Message:i.Error.message??i.Error.Message??n};const r=i.$metadata.requestId;return r&&(i.RequestId=r),i}return ko(t,e)}setQueryCompatError(t,e){const n=e.headers?.["x-amzn-query-error"];if(void 0!==t&&null!=n){const[e,i]=n.split(";"),r=Object.entries(t),s={Code:e,Type:i};Object.assign(t,s);for(const[t,e]of r)s["message"===t?"Message":t]=e;delete s.__type,t.Error=s}}queryCompatOutput(t,e){t.Error&&(e.Error=t.Error),t.Type&&(e.Type=t.Type),t.Code&&(e.Code=t.Code)}findQueryCompatibleError(t,e){try{return t.getSchema(e)}catch(n){return t.find(t=>Jr.of(t).getMergedTraits().awsQueryError?.[0]===e)}}}class bo{serdeContext;setSerdeContext(t){this.serdeContext=t}}class wo{from;to;keys;constructor(t,e){this.from=t,this.to=e,this.keys=new Set(Object.keys(this.from).filter(t=>"__type"!==t))}mark(t){this.keys.delete(t)}hasUnknown(){return 1===this.keys.size&&0===Object.keys(this.to).length}writeUnknown(){if(this.hasUnknown()){const t=this.keys.values().next().value,e=this.from[t];this.to.$unknown=[t,e]}}}function Io(t,e,n){if(n?.source){const t=n.source;if("number"==typeof e&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER||t!==String(e))){return t.includes(".")?new po(t,"bigDecimal"):BigInt(t)}}return e}const vo=(t,e)=>((t,e)=>hs(t,e).then(t=>(e?.utf8Encoder??ss.P)(t)))(t,e).then(t=>{if(t.length)try{return JSON.parse(t)}catch(e){throw"SyntaxError"===e?.name&&Object.defineProperty(e,"$responseBodyText",{value:t}),e}return{}});class yo extends bo{settings;constructor(t){super(),this.settings=t}async read(t,e){return this._read(t,"string"==typeof e?JSON.parse(e,Io):await vo(e,this.serdeContext))}readObject(t,e){return this._read(t,e)}_read(t,e){const n=null!==e&&"object"==typeof e,i=Jr.of(t);if(n){if(i.isStructSchema()){const t=e,n=i.isUnionSchema(),r={};let s;const{jsonName:o}=this.settings;let a;o&&(s={}),n&&(a=new wo(t,r));for(const[e,c]of i.structIterator()){let i=e;o&&(i=c.getMergedTraits().jsonName??i,s[i]=e),n&&a.mark(i),null!=t[i]&&(r[e]=this._read(c,t[i]))}if(n)a.writeUnknown();else if("string"==typeof t.__type)for(const[e,n]of Object.entries(t)){const t=o?s[e]??e:e;t in r||(r[t]=n)}return r}if(Array.isArray(e)&&i.isListSchema()){const t=i.getValueSchema(),n=[],r=!!i.getMergedTraits().sparse;for(const i of e)(r||null!=i)&&n.push(this._read(t,i));return n}if(i.isMapSchema()){const t=i.getValueSchema(),n={},r=!!i.getMergedTraits().sparse;for(const[i,s]of Object.entries(e))(r||null!=s)&&(n[i]=this._read(t,s));return n}}if(i.isBlobSchema()&&"string"==typeof e)return wr(e);const r=i.getMergedTraits().mediaType;if(i.isStringSchema()&&"string"==typeof e&&r){return"application/json"===r||r.endsWith("+json")?Qs.from(e):e}if(i.isTimestampSchema()&&null!=e){switch(Xs(i,this.settings)){case 5:return(t=>{if(null==t)return;if("string"!=typeof t)throw new TypeError("RFC-3339 date-times must be expressed as strings");const e=Ds.exec(t);if(!e)throw new TypeError("Invalid RFC-3339 date-time value");const[n,i,r,s,o,a,c,l,u]=e,h=Ss(Ys(i)),d=js(r,"month",1,12),p=js(s,"day",1,31),f=Bs(h,d,p,{hours:o,minutes:a,seconds:c,fractionalMilliseconds:l});return"Z"!=u.toUpperCase()&&f.setTime(f.getTime()-Ks(u)),f})(e);case 6:return(t=>{if(null==t)return;if("string"!=typeof t)throw new TypeError("RFC-7231 date-times must be expressed as strings");let e=Ps.exec(t);if(e){const[t,n,i,r,s,o,a,c]=e;return Bs(Ss(Ys(r)),qs(i),js(n,"day",1,31),{hours:s,minutes:o,seconds:a,fractionalMilliseconds:c})}if(e=Ms.exec(t),e){const[t,n,i,r,s,o,a,c]=e;return Us(Bs(Hs(r),qs(i),js(n,"day",1,31),{hours:s,minutes:o,seconds:a,fractionalMilliseconds:c}))}if(e=Vs.exec(t),e){const[t,n,i,r,s,o,a,c]=e;return Bs(Ss(Ys(c)),qs(n),js(i.trimLeft(),"day",1,31),{hours:r,minutes:s,seconds:o,fractionalMilliseconds:a})}throw new TypeError("Invalid RFC-7231 date-time value")})(e);case 7:return(t=>{if(null==t)return;let e;if("number"==typeof t)e=t;else if("string"==typeof t)e=Es(t);else{if("object"!=typeof t||1!==t.tag)throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");e=t.value}if(Number.isNaN(e)||e===1/0||e===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(1e3*e))})(e);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",e),new Date(e)}}if(i.isBigIntegerSchema()&&("number"==typeof e||"string"==typeof e))return BigInt(e);if(i.isBigDecimalSchema()&&null!=e){if(e instanceof po)return e;const t=e;return"bigDecimal"===t.type&&"string"in t?new po(t.string,t.type):new po(String(e),"bigDecimal")}if(i.isNumericSchema()&&"string"==typeof e){switch(e){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN}return e}if(i.isDocumentSchema()){if(n){const t=Array.isArray(e)?[]:{};for(const[n,r]of Object.entries(e))t[n]=r instanceof po?r:this._read(i,r);return t}return structuredClone(e)}return e}}const Ao=String.fromCharCode(925);class Eo{values=new Map;counter=0;stage=0;createReplacer(){if(1===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.");if(2===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");return this.stage=1,(t,e)=>{if(e instanceof po){const t=Ao+"nv"+this.counter+++"_"+e.string;return this.values.set(`"${t}"`,e.string),t}if("bigint"==typeof e){const t=e.toString(),n=Ao+"b"+this.counter+++"_"+t;return this.values.set(`"${n}"`,t),n}return e}}replaceInJson(t){if(0===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");if(2===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");if(this.stage=2,0===this.counter)return t;for(const[e,n]of this.values)t=t.replace(e,n);return t}}class To extends bo{settings;buffer;useReplacer=!1;rootSchema;constructor(t){super(),this.settings=t}write(t,e){this.rootSchema=Jr.of(t),this.buffer=this._write(this.rootSchema,e)}writeDiscriminatedDocument(t,e){this.write(t,e),"object"==typeof this.buffer&&(this.buffer.__type=Jr.of(t).getName(!0))}flush(){const{rootSchema:t,useReplacer:e}=this;if(this.rootSchema=void 0,this.useReplacer=!1,t?.isStructSchema()||t?.isDocumentSchema()){if(!e)return JSON.stringify(this.buffer);const t=new Eo;return t.replaceInJson(JSON.stringify(this.buffer,t.createReplacer(),0))}return this.buffer}_write(t,e,n){const i=null!==e&&"object"==typeof e,r=Jr.of(t);if(i){if(r.isStructSchema()){const t=e,n={},{jsonName:i}=this.settings;let s;i&&(s={});for(const[e,o]of r.structIterator()){const a=this._write(o,t[e],r);if(void 0!==a){let t=e;i&&(t=o.getMergedTraits().jsonName??e,s[e]=t),n[t]=a}}if(r.isUnionSchema()&&0===Object.keys(n).length){const{$unknown:e}=t;if(Array.isArray(e)){const[t,i]=e;n[t]=this._write(15,i)}}else if("string"==typeof t.__type)for(const[e,r]of Object.entries(t)){const t=i?s[e]??e:e;t in n||(n[t]=this._write(15,r))}return n}if(Array.isArray(e)&&r.isListSchema()){const t=r.getValueSchema(),n=[],i=!!r.getMergedTraits().sparse;for(const r of e)(i||null!=r)&&n.push(this._write(t,r));return n}if(r.isMapSchema()){const t=r.getValueSchema(),n={},i=!!r.getMergedTraits().sparse;for(const[r,s]of Object.entries(e))(i||null!=s)&&(n[r]=this._write(t,s));return n}if(e instanceof Uint8Array&&(r.isBlobSchema()||r.isDocumentSchema()))return r===this.rootSchema?e:(this.serdeContext?.base64Encoder??rs)(e);if(e instanceof Date&&(r.isTimestampSchema()||r.isDocumentSchema())){switch(Xs(r,this.settings)){case 5:return e.toISOString().replace(".000Z","Z");case 6:return Ls(e);case 7:return e.getTime()/1e3;default:return console.warn("Missing timestamp format, using epoch seconds",e),e.getTime()/1e3}}e instanceof po&&(this.useReplacer=!0)}if(null!==e||!n?.isStructSchema()){if(r.isStringSchema()){if(void 0===e&&r.isIdempotencyToken())return gn();const t=r.getMergedTraits().mediaType;if(null!=e&&t){if("application/json"===t||t.endsWith("+json"))return Qs.from(e)}return e}if("number"==typeof e&&r.isNumericSchema())return Math.abs(e)===1/0||isNaN(e)?String(e):e;if("string"==typeof e&&r.isBlobSchema())return r===this.rootSchema?e:(this.serdeContext?.base64Encoder??rs)(e);if("bigint"==typeof e&&(this.useReplacer=!0),r.isDocumentSchema()){if(i){const t=Array.isArray(e)?[]:{};for(const[n,i]of Object.entries(e))i instanceof po?(this.useReplacer=!0,t[n]=i):t[n]=this._write(r,i);return t}return structuredClone(e)}return e}}}class Co extends bo{settings;constructor(t){super(),this.settings=t}createSerializer(){const t=new To(this.settings);return t.setSerdeContext(this.serdeContext),t}createDeserializer(){const t=new yo(this.settings);return t.setSerdeContext(this.serdeContext),t}}class So extends ms{serializer;deserializer;codec;mixin=new _o;constructor({defaultNamespace:t}){super({defaultNamespace:t});const e={timestampFormat:{useTrait:!0,default:7},httpBindings:!0,jsonName:!0};this.codec=new Co(e),this.serializer=new Zs(this.codec.createSerializer(),e),this.deserializer=new go(this.codec.createDeserializer(),e)}getShapeId(){return"aws.protocols#restJson1"}getPayloadCodec(){return this.codec}setSerdeContext(t){this.codec.setSerdeContext(t),super.setSerdeContext(t)}async serializeRequest(t,e,n){const i=await super.serializeRequest(t,e,n),r=Jr.of(t.input);if(!i.headers["content-type"]){const t=this.mixin.resolveRestContentType(this.getDefaultContentType(),r);t&&(i.headers["content-type"]=t)}return null==i.body&&i.headers["content-type"]===this.getDefaultContentType()&&(i.body="{}"),i}async deserializeResponse(t,e,n){const i=await super.deserializeResponse(t,e,n),r=Jr.of(t.output);for(const[t,e]of r.structIterator())e.getMemberTraits().httpPayload&&!(t in i)&&(i[t]=null);return i}async handleError(t,e,n,i,r){const s=((t,e)=>{const n=(t,e)=>Object.keys(t).find(t=>t.toLowerCase()===e.toLowerCase()),i=t=>{let e=t;return"number"==typeof e&&(e=e.toString()),e.indexOf(",")>=0&&(e=e.split(",")[0]),e.indexOf(":")>=0&&(e=e.split(":")[0]),e.indexOf("#")>=0&&(e=e.split("#")[1]),e},r=n(t.headers,"x-amzn-errortype");if(void 0!==r)return i(t.headers[r]);if(e&&"object"==typeof e){const t=n(e,"code");if(t&&void 0!==e[t])return i(e[t]);if(void 0!==e.__type)return i(e.__type)}})(n,i)??"Unknown",{errorSchema:o,errorMetadata:a}=await this.mixin.getErrorSchemaOrThrowBaseException(s,this.options.defaultNamespace,n,i,r),c=Jr.of(o),l=i.message??i.Message??"Unknown",u=new(ps.for(o[1]).getErrorCtor(o)??Error)(l);await this.deserializeHttpMessage(o,e,n,i);const h={};for(const[t,e]of c.structIterator()){const n=e.getMergedTraits().jsonName??t;h[t]=this.codec.createDeserializer().readObject(e,i[n])}throw this.mixin.decorateServiceException(Object.assign(u,a,{$fault:c.getMergedTraits().error,message:l},h),i)}getDefaultContentType(){return"application/json"}}class xo{async sign(t,e,n){const i=te.clone(t);if(!e.token)throw new Error("request could not be signed with `token` since the `token` is not defined");return i.headers.Authorization=`Bearer ${e.token}`,i}}const Ro=(t,e=!1)=>{if(e){for(const e of t.split("."))if(!Ro(e))return!1;return!0}return!!ce(t)&&(!(t.length<3||t.length>63)&&(t===t.toLowerCase()&&!ue(t)))};let No=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-east-2":{"description":"Asia Pacific (Taipei)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"ap-southeast-5":{"description":"Asia Pacific (Malaysia)"},"ap-southeast-6":{"description":"Asia Pacific (New Zealand)"},"ap-southeast-7":{"description":"Asia Pacific (Thailand)"},"aws-global":{"description":"aws global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"mx-central-1":{"description":"Mexico (Central)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"aws-cn global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-eusc","outputs":{"dnsSuffix":"amazonaws.eu","dualStackDnsSuffix":"api.amazonwebservices.eu","implicitGlobalRegion":"eusc-de-east-1","name":"aws-eusc","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eusc-de-east-1":{"description":"AWS European Sovereign Cloud (Germany)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"api.aws.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"aws-iso global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"api.aws.scloud","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"aws-iso-b global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"},"us-isob-west-1":{"description":"US ISOB West"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"api.cloud-aws.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-e-global":{"description":"aws-iso-e global region"},"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"api.aws.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-f-global":{"description":"aws-iso-f global region"},"us-isof-east-1":{"description":"US ISOF EAST"},"us-isof-south-1":{"description":"US ISOF SOUTH"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"aws-us-gov global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}}],"version":"1.1"}');const Oo={isVirtualHostableS3Bucket:Ro,parseArn:t=>{const e=t.split(":");if(e.length<6)return null;const[n,i,r,s,o,...a]=e;if("arn"!==n||""===i||""===r||""===a.join(":"))return null;return{partition:i,service:r,region:s,accountId:o,resourceId:a.map(t=>t.split("/")).flat()}},partition:t=>{const{partitions:e}=No;for(const n of e){const{regions:e,outputs:i}=n;for(const[n,r]of Object.entries(e))if(n===t)return{...i,...r}}for(const n of e){const{regionRegex:e,outputs:i}=n;if(new RegExp(e).test(t))return{...i}}const n=e.find(t=>"aws"===t.id);if(!n)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...n.outputs}}};oe.aws=Oo;const Lo="endpoints";function Do(t){return"object"!=typeof t||null==t?t:"ref"in t?`$${Do(t.ref)}`:"fn"in t?`${t.fn}(${(t.argv||[]).map(Do).join(", ")})`:JSON.stringify(t,null,2)}class Po extends Error{constructor(t){super(t),this.name="EndpointError"}}const Mo=(t,e)=>(t=>{const e=t.split("."),n=[];for(const i of e){const e=i.indexOf("[");if(-1!==e){if(i.indexOf("]")!==i.length-1)throw new Po(`Path: '${t}' does not end with ']'`);const r=i.slice(e+1,-1);if(Number.isNaN(parseInt(r)))throw new Po(`Invalid array index: '${r}' in path: '${t}'`);0!==e&&n.push(i.slice(0,e)),n.push(r)}else n.push(i)}return n})(e).reduce((n,i)=>{if("object"!=typeof n)throw new Po(`Index '${i}' in '${e}' not found in '${JSON.stringify(t)}'`);return Array.isArray(n)?n[parseInt(i)]:n[i]},t);var Vo;!function(t){t.HTTP="http",t.HTTPS="https"}(Vo||(Vo={}));const Bo={[Vo.HTTP]:80,[Vo.HTTPS]:443},Ho={booleanEquals:(t,e)=>t===e,getAttr:Mo,isSet:t=>null!=t,isValidHostLabel:ce,not:t=>!t,parseURL:t=>{const e=(()=>{try{if(t instanceof URL)return t;if("object"==typeof t&&"hostname"in t){const{hostname:e,port:n,protocol:i="",path:r="",query:s={}}=t,o=new URL(`${i}//${e}${n?`:${n}`:""}${r}`);return o.search=Object.entries(s).map(([t,e])=>`${t}=${e}`).join("&"),o}return new URL(t)}catch(t){return null}})();if(!e)return console.error(`Unable to parse ${JSON.stringify(t)} as a whatwg URL.`),null;const n=e.href,{host:i,hostname:r,pathname:s,protocol:o,search:a}=e;if(a)return null;const c=o.slice(0,-1);if(!Object.values(Vo).includes(c))return null;const l=ue(r);return{scheme:c,authority:`${i}${n.includes(`${i}:${Bo[c]}`)||"string"==typeof t&&t.includes(`${i}:${Bo[c]}`)?`:${Bo[c]}`:""}`,path:s,normalizedPath:s.endsWith("/")?s:`${s}/`,isIp:l}},stringEquals:(t,e)=>t===e,substring:(t,e,n,i)=>e>=n||t.length<n?null:i?t.substring(t.length-n,t.length-e):t.substring(e,n),uriEncode:t=>encodeURIComponent(t).replace(/[!*'()]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)},Uo=(t,e)=>{const n=[],i={...e.endpointParams,...e.referenceRecord};let r=0;for(;r<t.length;){const e=t.indexOf("{",r);if(-1===e){n.push(t.slice(r));break}n.push(t.slice(r,e));const s=t.indexOf("}",e);if(-1===s){n.push(t.slice(e));break}"{"===t[e+1]&&"}"===t[s+1]&&(n.push(t.slice(e+1,s)),r=s+2);const o=t.substring(e+1,s);if(o.includes("#")){const[t,e]=o.split("#");n.push(Mo(i[t],e))}else n.push(i[o]);r=s+1}return n.join("")},qo=(t,e,n)=>{if("string"==typeof t)return Uo(t,n);if(t.fn)return zo.callFunction(t,n);if(t.ref)return(({ref:t},e)=>({...e.endpointParams,...e.referenceRecord}[t]))(t,n);throw new Po(`'${e}': ${String(t)} is not a string, function or reference.`)},Fo=({fn:t,argv:e},n)=>{const i=e.map(t=>["boolean","number"].includes(typeof t)?t:zo.evaluateExpression(t,"arg",n)),r=t.split(".");return r[0]in oe&&null!=r[1]?oe[r[0]][r[1]](...i):Ho[t](...i)},zo={evaluateExpression:qo,callFunction:Fo},Go=({assign:t,...e},n)=>{if(t&&t in n.referenceRecord)throw new Po(`'${t}' is already defined in Reference Record.`);const i=Fo(e,n);return n.logger?.debug?.(`${Lo} evaluateCondition: ${Do(e)} = ${Do(i)}`),{result:""===i||!!i,...null!=t&&{toAssign:{name:t,value:i}}}},jo=(t=[],e)=>{const n={};for(const i of t){const{result:t,toAssign:r}=Go(i,{...e,referenceRecord:{...e.referenceRecord,...n}});if(!t)return{result:t};r&&(n[r.name]=r.value,e.logger?.debug?.(`${Lo} assign: ${r.name} := ${Do(r.value)}`))}return{result:!0,referenceRecord:n}},Wo=(t,e)=>Object.entries(t).reduce((t,[n,i])=>({...t,[n]:i.map(t=>{const i=qo(t,"Header value entry",e);if("string"!=typeof i)throw new Po(`Header '${n}' value '${i}' is not a string`);return i})}),{}),Ko=(t,e)=>Object.entries(t).reduce((t,[n,i])=>({...t,[n]:$o.getEndpointProperty(i,e)}),{}),Yo=(t,e)=>{if(Array.isArray(t))return t.map(t=>Yo(t,e));switch(typeof t){case"string":return Uo(t,e);case"object":if(null===t)throw new Po(`Unexpected endpoint property: ${t}`);return $o.getEndpointProperties(t,e);case"boolean":return t;default:throw new Po("Unexpected endpoint property type: "+typeof t)}},$o={getEndpointProperty:Yo,getEndpointProperties:Ko},Qo=(t,e)=>{const n=qo(t,"Endpoint URL",e);if("string"==typeof n)try{return new URL(n)}catch(t){throw console.error(`Failed to construct URL with ${n}`,t),t}throw new Po("Endpoint URL must be a string, got "+typeof n)},Xo=(t,e)=>{const{conditions:n,endpoint:i}=t,{result:r,referenceRecord:s}=jo(n,e);if(!r)return;const o={...e,referenceRecord:{...e.referenceRecord,...s}},{url:a,properties:c,headers:l}=i;return e.logger?.debug?.(`${Lo} Resolving endpoint from template: ${Do(i)}`),{...null!=l&&{headers:Wo(l,o)},...null!=c&&{properties:Ko(c,o)},url:Qo(a,o)}},Jo=(t,e)=>{const{conditions:n,error:i}=t,{result:r,referenceRecord:s}=jo(n,e);if(r)throw new Po(qo(i,"Error",{...e,referenceRecord:{...e.referenceRecord,...s}}))},Zo=(t,e)=>{for(const n of t)if("endpoint"===n.type){const t=Xo(n,e);if(t)return t}else if("error"===n.type)Jo(n,e);else{if("tree"!==n.type)throw new Po(`Unknown endpoint rule: ${n}`);{const t=ta.evaluateTreeRule(n,e);if(t)return t}}throw new Po("Rules evaluation failed")},ta={evaluateRules:Zo,evaluateTreeRule:(t,e)=>{const{conditions:n,rules:i}=t,{result:r,referenceRecord:s}=jo(n,e);if(r)return ta.evaluateRules(i,{...e,referenceRecord:{...e.referenceRecord,...s}})}},ea="required",na="fn",ia="argv",ra="ref",sa=!0,oa="isSet",aa="booleanEquals",ca="error",la="endpoint",ua="tree",ha="PartitionResult",da={[ea]:!1,type:"string"},pa={[ea]:!0,default:!1,type:"boolean"},fa={[ra]:"Endpoint"},ga={[na]:aa,[ia]:[{[ra]:"UseFIPS"},!0]},ma={[na]:aa,[ia]:[{[ra]:"UseDualStack"},!0]},ka={},_a={[na]:"getAttr",[ia]:[{[ra]:ha},"supportsFIPS"]},ba={[na]:aa,[ia]:[!0,{[na]:"getAttr",[ia]:[{[ra]:ha},"supportsDualStack"]}]},wa=[ga],Ia=[ma],va=[{[ra]:"Region"}],ya={version:"1.0",parameters:{Region:da,UseDualStack:pa,UseFIPS:pa,Endpoint:da},rules:[{conditions:[{[na]:oa,[ia]:[fa]}],rules:[{conditions:wa,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:ca},{rules:[{conditions:Ia,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:ca},{endpoint:{url:fa,properties:ka,headers:ka},type:la}],type:ua}],type:ua},{rules:[{conditions:[{[na]:oa,[ia]:va}],rules:[{conditions:[{[na]:"aws.partition",[ia]:va,assign:ha}],rules:[{conditions:[ga,ma],rules:[{conditions:[{[na]:aa,[ia]:[sa,_a]},ba],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:ka,headers:ka},type:la}],type:ua}],type:ua},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:ca}],type:ua},{conditions:wa,rules:[{conditions:[{[na]:aa,[ia]:[_a,sa]}],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:ka,headers:ka},type:la}],type:ua}],type:ua},{error:"FIPS is enabled but this partition does not support FIPS",type:ca}],type:ua},{conditions:Ia,rules:[{conditions:[ba],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:ka,headers:ka},type:la}],type:ua}],type:ua},{error:"DualStack is enabled but this partition does not support DualStack",type:ca}],type:ua},{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:ka,headers:ka},type:la}],type:ua}],type:ua}],type:ua},{error:"Invalid Configuration: Missing Region",type:ca}],type:ua}]},Aa=new class{capacity;data=new Map;parameters=[];constructor({size:t,params:e}){this.capacity=t??50,e&&(this.parameters=e)}get(t,e){const n=this.hash(t);if(!1===n)return e();if(!this.data.has(n)){if(this.data.size>this.capacity+10){const t=this.data.keys();let e=0;for(;;){const{value:n,done:i}=t.next();if(this.data.delete(n),i||++e>10)break}}this.data.set(n,e())}return this.data.get(n)}size(){return this.data.size}hash(t){let e="";const{parameters:n}=this;if(0===n.length)return!1;for(const i of n){const n=String(t[i]??"");if(n.includes("|;"))return!1;e+=n+"|;"}return e}}({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Ea=(t,e={})=>Aa.get(t,()=>((t,e)=>{const{endpointParams:n,logger:i}=e,{parameters:r,rules:s}=t;e.logger?.debug?.(`${Lo} Initial EndpointParams: ${Do(n)}`);const o=Object.entries(r).filter(([,t])=>null!=t.default).map(([t,e])=>[t,e.default]);if(o.length>0)for(const[t,e]of o)n[t]=n[t]??e;const a=Object.entries(r).filter(([,t])=>t.required).map(([t])=>t);for(const t of a)if(null==n[t])throw new Po(`Missing required parameter: '${t}'`);const c=Zo(s,{endpointParams:n,logger:i,referenceRecord:{}});return e.logger?.debug?.(`${Lo} Resolved endpoint: ${Do(c)}`),c})(ya,{endpointParams:t,logger:e.logger}));oe.aws=Oo;class Ta extends mo{constructor(t){super(t),Object.setPrototypeOf(this,Ta.prototype)}}class Ca extends Ta{name="AccessDeniedException";$fault="client";constructor(t){super({name:"AccessDeniedException",$fault:"client",...t}),Object.setPrototypeOf(this,Ca.prototype)}}class Sa extends Ta{name="InternalServerException";$fault="server";constructor(t){super({name:"InternalServerException",$fault:"server",...t}),Object.setPrototypeOf(this,Sa.prototype)}}class xa extends Ta{name="ThrottlingException";$fault="client";constructor(t){super({name:"ThrottlingException",$fault:"client",...t}),Object.setPrototypeOf(this,xa.prototype)}}class Ra extends Ta{name="ValidationException";$fault="client";constructor(t){super({name:"ValidationException",$fault:"client",...t}),Object.setPrototypeOf(this,Ra.prototype)}}class Na extends Ta{name="ConflictException";$fault="client";constructor(t){super({name:"ConflictException",$fault:"client",...t}),Object.setPrototypeOf(this,Na.prototype)}}class Oa extends Ta{name="ResourceNotFoundException";$fault="client";constructor(t){super({name:"ResourceNotFoundException",$fault:"client",...t}),Object.setPrototypeOf(this,Oa.prototype)}}class La extends Ta{name="ServiceQuotaExceededException";$fault="client";constructor(t){super({name:"ServiceQuotaExceededException",$fault:"client",...t}),Object.setPrototypeOf(this,La.prototype)}}class Da extends Ta{name="ServiceUnavailableException";$fault="server";constructor(t){super({name:"ServiceUnavailableException",$fault:"server",...t}),Object.setPrototypeOf(this,Da.prototype)}}class Pa extends Ta{name="ModelErrorException";$fault="client";originalStatusCode;resourceName;constructor(t){super({name:"ModelErrorException",$fault:"client",...t}),Object.setPrototypeOf(this,Pa.prototype),this.originalStatusCode=t.originalStatusCode,this.resourceName=t.resourceName}}class Ma extends Ta{name="ModelNotReadyException";$fault="client";$retryable={};constructor(t){super({name:"ModelNotReadyException",$fault:"client",...t}),Object.setPrototypeOf(this,Ma.prototype)}}class Va extends Ta{name="ModelTimeoutException";$fault="client";constructor(t){super({name:"ModelTimeoutException",$fault:"client",...t}),Object.setPrototypeOf(this,Va.prototype)}}class Ba extends Ta{name="ModelStreamErrorException";$fault="client";originalStatusCode;originalMessage;constructor(t){super({name:"ModelStreamErrorException",$fault:"client",...t}),Object.setPrototypeOf(this,Ba.prototype),this.originalStatusCode=t.originalStatusCode,this.originalMessage=t.originalMessage}}const Ha="Content-Type",Ua="X-Amzn-Bedrock-GuardrailIdentifier",qa="X-Amzn-Bedrock-GuardrailVersion",Fa="X-Amzn-Bedrock-PerformanceConfig-Latency",za="X-Amzn-Bedrock-Service-Tier",Ga="X-Amzn-Bedrock-Trace",ja="accept",Wa="bytes",Ka="body",Ya="client",$a="contentType",Qa="chunk",Xa="error",Ja="guardrailIdentifier",Za="guardrailVersion",tc="http",ec="httpError",nc="httpHeader",ic="internalServerException",rc="message",sc="modelId",oc="modelStreamErrorException",ac="modelTimeoutException",cc="originalStatusCode",lc="performanceConfigLatency",uc="smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime",hc="serviceTier",dc="serviceUnavailableException",pc="server",fc="streaming",gc="throttlingException",mc="trace",kc="validationException",_c="com.amazonaws.bedrockruntime",bc=ps.for(uc);var wc=[-3,uc,"BedrockRuntimeServiceException",0,[],[]];bc.registerError(wc,Ta);const Ic=ps.for(_c);var vc=[-3,_c,"AccessDeniedException",{[Xa]:Ya,[ec]:403},[rc],[0]];Ic.registerError(vc,Ca);var yc=[-3,_c,"ConflictException",{[Xa]:Ya,[ec]:400},[rc],[0]];Ic.registerError(yc,Na);var Ac=[-3,_c,"InternalServerException",{[Xa]:pc,[ec]:500},[rc],[0]];Ic.registerError(Ac,Sa);var Ec=[-3,_c,"ModelErrorException",{[Xa]:Ya,[ec]:424},[rc,cc,"resourceName"],[0,1,0]];Ic.registerError(Ec,Pa);var Tc=[-3,_c,"ModelNotReadyException",{[Xa]:Ya,[ec]:429},[rc],[0]];Ic.registerError(Tc,Ma);var Cc=[-3,_c,"ModelStreamErrorException",{[Xa]:Ya,[ec]:424},[rc,cc,"originalMessage"],[0,1,0]];Ic.registerError(Cc,Ba);var Sc=[-3,_c,"ModelTimeoutException",{[Xa]:Ya,[ec]:408},[rc],[0]];Ic.registerError(Sc,Va);var xc=[-3,_c,"ResourceNotFoundException",{[Xa]:Ya,[ec]:404},[rc],[0]];Ic.registerError(xc,Oa);var Rc=[-3,_c,"ServiceQuotaExceededException",{[Xa]:Ya,[ec]:400},[rc],[0]];Ic.registerError(Rc,La);var Nc=[-3,_c,"ServiceUnavailableException",{[Xa]:pc,[ec]:503},[rc],[0]];Ic.registerError(Nc,Da);var Oc=[-3,_c,"ThrottlingException",{[Xa]:Ya,[ec]:429},[rc],[0]];Ic.registerError(Oc,xa);var Lc=[-3,_c,"ValidationException",{[Xa]:Ya,[ec]:400},[rc],[0]];Ic.registerError(Lc,Ra);const Dc=[bc,Ic];var Pc=[0,_c,"Body",8,21],Mc=[0,_c,"PartBody",8,21],Vc=[3,_c,"InvokeModelRequest",0,[sc,Ka,$a,ja,mc,Ja,Za,lc,hc],[[0,1],[()=>Pc,16],[0,{[nc]:Ha}],[0,{[nc]:"Accept"}],[0,{[nc]:Ga}],[0,{[nc]:Ua}],[0,{[nc]:qa}],[0,{[nc]:Fa}],[0,{[nc]:za}]],1],Bc=[3,_c,"InvokeModelResponse",0,[Ka,$a,lc,hc],[[()=>Pc,16],[0,{[nc]:Ha}],[0,{[nc]:Fa}],[0,{[nc]:za}]],2],Hc=[3,_c,"InvokeModelWithResponseStreamRequest",0,[sc,Ka,$a,ja,mc,Ja,Za,lc,hc],[[0,1],[()=>Pc,16],[0,{[nc]:Ha}],[0,{[nc]:"X-Amzn-Bedrock-Accept"}],[0,{[nc]:Ga}],[0,{[nc]:Ua}],[0,{[nc]:qa}],[0,{[nc]:Fa}],[0,{[nc]:za}]],1],Uc=[3,_c,"InvokeModelWithResponseStreamResponse",0,[Ka,$a,lc,hc],[[()=>Fc,16],[0,{[nc]:"X-Amzn-Bedrock-Content-Type"}],[0,{[nc]:Fa}],[0,{[nc]:za}]],2],qc=[3,_c,"PayloadPart",8,[Wa],[[()=>Mc,0]]],Fc=[4,_c,"ResponseStream",{[fc]:1},[Qa,ic,oc,kc,gc,ac,dc],[[()=>qc,0],[()=>Ac,0],[()=>Cc,0],[()=>Lc,0],[()=>Oc,0],[()=>Sc,0],[()=>Nc,0]]],zc=[9,_c,"InvokeModel",{[tc]:["POST","/model/{modelId}/invoke",200]},()=>Vc,()=>Bc],Gc=[9,_c,"InvokeModelWithResponseStream",{[tc]:["POST","/model/{modelId}/invoke-with-response-stream",200]},()=>Hc,()=>Uc];const jc=t=>{const e=(({defaultsMode:t}={})=>((t,e,n)=>{let i,r,s,o=!1;const a=async()=>{r||(r=t());try{i=await r,s=!0,o=!1}finally{r=void 0}return i};return void 0===e?async t=>(s&&!t?.forceRefresh||(i=await a()),i):async t=>(s&&!t?.forceRefresh||(i=await a()),o?i:n&&!n(i)?(o=!0,i):e(i)?(await a(),i):i)})(async()=>{const e="function"==typeof t?await t():t;switch(e?.toLowerCase()){case"auto":return Promise.resolve(zr()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(e?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${Fr.join(", ")}, got ${e}`)}}))(t),n=()=>e().then(Hr),i=(t=>({apiVersion:"2023-09-30",base64Decoder:t?.base64Decoder??wr,base64Encoder:t?.base64Encoder??rs,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??Ea,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??wi,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new Yr},{schemeId:"smithy.api#httpBearerAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#httpBearerAuth"),signer:new xo}],logger:t?.logger??new dn,protocol:t?.protocol??So,protocolSettings:t?.protocolSettings??{defaultNamespace:"com.amazonaws.bedrockruntime",errorTypeRegistries:Dc,version:"2023-09-30",serviceTarget:"AmazonBedrockFrontendService"},serviceId:t?.serviceId??"Bedrock Runtime",urlParser:t?.urlParser??Qe,utf8Decoder:t?.utf8Decoder??Bn.a,utf8Encoder:t?.utf8Encoder??ss.P}))(t);return{...i,...t,runtime:"browser",defaultsMode:e,bodyLengthChecker:t?.bodyLengthChecker??qr,credentialDefaultProvider:t?.credentialDefaultProvider??(t=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:t?.defaultUserAgentProvider??Tr({serviceId:i.serviceId,clientVersion:vi}),eventStreamPayloadHandlerProvider:t?.eventStreamPayloadHandlerProvider??lr,eventStreamSerdeProvider:t?.eventStreamSerdeProvider??Vr,maxAttempts:t?.maxAttempts??3,region:t?.region??(r="Region is missing",()=>Promise.reject(r)),requestHandler:vr.create(t?.requestHandler??n,mr.create(n)),retryMode:t?.retryMode??(async()=>(await n()).retryMode||Ze),sha256:t?.sha256??zi,streamCollector:t?.streamCollector??Br,useDualstackEndpoint:t?.useDualstackEndpoint??(()=>Promise.resolve(false)),useFipsEndpoint:t?.useFipsEndpoint??(()=>Promise.resolve(false))};var r};var Wc;!function(t){t.MD5="md5",t.CRC32="crc32",t.CRC32C="crc32c",t.SHA1="sha1",t.SHA256="sha256"}(Wc||(Wc={}));const Kc=t=>Object.assign((t=>{const e=[];for(const n in Wc){const i=Wc[n];void 0!==t[i]&&e.push({algorithmId:()=>i,checksumConstructor:()=>t[i]})}return{addChecksumAlgorithm(t){e.push(t)},checksumAlgorithms:()=>e}})(t),(t=>({setRetryStrategy(e){t.retryStrategy=e},retryStrategy:()=>t.retryStrategy}))(t)),Yc=(t,e)=>{const n=Object.assign((t=>({setRegion(e){t.region=e},region:()=>t.region}))(t),Kc(t),(t=>({setHttpHandler(e){t.httpHandler=e},httpHandler:()=>t.httpHandler,updateHttpClientConfig(e,n){t.httpHandler?.updateHttpClientConfig(e,n)},httpHandlerConfigs:()=>t.httpHandler.httpHandlerConfigs()}))(t),(t=>{const e=t.httpAuthSchemes;let n=t.httpAuthSchemeProvider,i=t.credentials,r=t.token;return{setHttpAuthScheme(t){const n=e.findIndex(e=>e.schemeId===t.schemeId);-1===n?e.push(t):e.splice(n,1,t)},httpAuthSchemes:()=>e,setHttpAuthSchemeProvider(t){n=t},httpAuthSchemeProvider:()=>n,setCredentials(t){i=t},credentials:()=>i,setToken(t){r=t},token:()=>r}})(t));return e.forEach(t=>t.configure(n)),Object.assign(t,{region:n.region()},(i=n,Object.assign((t=>{const e={};return t.checksumAlgorithms().forEach(t=>{e[t.algorithmId()]=t.checksumConstructor()}),e})(i),(t=>{const e={};return e.retryStrategy=t.retryStrategy(),e})(i))),{httpHandler:n.httpHandler()},(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials(),token:t.token()}))(n));var i};class $c extends xn{config;constructor(...[t]){const e=jc(t||{});super(e),this.initConfig=e;const n=(t=>Object.assign(t,{useDualstackEndpoint:t.useDualstackEndpoint??!1,useFipsEndpoint:t.useFipsEndpoint??!1,defaultSigningName:"bedrock"}))(e),i=function(t){const e=se(t.userAgentAppId??void 0),{customUserAgent:n}=t;return Object.assign(t,{customUserAgent:"string"==typeof n?[[n]]:n,userAgentAppId:async()=>{const n=await e();if(!function(t){return void 0===t||"string"==typeof t&&t.length<=50}(n)){const e="NoOpLogger"!==t.logger?.constructor?.name&&t.logger?t.logger:console;"string"!=typeof n?e?.warn("userAgentAppId must be a string or undefined."):n.length>50&&e?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return n}})}(n),r=(t=>{const{retryStrategy:e,retryMode:n,maxAttempts:i}=t,r=Ye(i??3);return Object.assign(t,{maxAttempts:r,retryStrategy:async()=>e||(await Ye(n)()===Je.ADAPTIVE?new hn(r):new un(r))})})(i),s=(t=>{const e=t.tls??!0,{endpoint:n,useDualstackEndpoint:i,useFipsEndpoint:r}=t,s=null!=n?async()=>Xe(await Ye(n)()):void 0,o=!!n,a=Object.assign(t,{endpoint:s,tls:e,isCustomEndpoint:o,useDualstackEndpoint:Ye(i??!1),useFipsEndpoint:Ye(r??!1)});let c;return a.serviceConfiguredEndpoint=async()=>(t.serviceId&&!c&&(c=$e(t.serviceId)),c),a})(xe(r));var o;const a=(t=>{const e=Ln(t.token,Rn,On),n=_i(t);return Object.assign(n,{authSchemePreference:Ye(t.authSchemePreference??[]),token:e})})((o=s,Object.assign(o,{eventStreamMarshaller:o.eventStreamSerdeProvider(o)}))),c=function(t){const e=t.signer,n=t.signer,i=Object.assign(t,{eventSigner:e,messageSigner:n}),r=i.eventStreamPayloadHandlerProvider(i);return Object.assign(i,{eventStreamPayloadHandler:r})}(a),l=(t=>{const{signer:e}=t;return Object.assign(t,{signer:async t=>{const n=await e(t);if(Te(n))return new Ee({signer:n});throw new Error("Expected WebsocketSignatureV4 signer, please check the client constructor.")}})})(c),u=Yc(l,t?.extensions||[]);var h;this.config=u,this.middlewareStack.use(Ge(this.config)),this.middlewareStack.use((h=this.config,{applyToStack:t=>{t.add(Ie(h),ye)}})),this.middlewareStack.use(vn(this.config)),this.middlewareStack.use(Ke(this.config)),this.middlewareStack.use(ne(this.config)),this.middlewareStack.use((this.config,{applyToStack:t=>{t.add((t,e)=>async n=>{try{const i=await t(n),{clientName:r,commandName:s,logger:o,dynamoDbDocumentClientOptions:a={}}=e,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:l}=a,u=c??e.inputFilterSensitiveLog,h=l??e.outputFilterSensitiveLog,{$metadata:d,...p}=i.output;return o?.info?.({clientName:r,commandName:s,input:u(n.input),output:h(p),metadata:d}),i}catch(t){const{clientName:i,commandName:r,logger:s,dynamoDbDocumentClientOptions:o={}}=e,{overrideInputFilterSensitiveLog:a}=o,c=a??e.inputFilterSensitiveLog;throw s?.error?.({clientName:i,commandName:r,input:c(n.input),error:t,metadata:t.$metadata}),t}},ie)}})),this.middlewareStack.use((this.config,{applyToStack:t=>{t.add(t=>async e=>t(e),re)}})),this.middlewareStack.use(((t,{httpAuthSchemeParametersProvider:e,identityProviderConfigProvider:n})=>({applyToStack:i=>{i.addRelativeTo(Oe(t,{httpAuthSchemeParametersProvider:e,identityProviderConfigProvider:n}),Le)}}))(this.config,{httpAuthSchemeParametersProvider:bi,identityProviderConfigProvider:async t=>new De({"aws.auth#sigv4":t.credentials,"smithy.api#httpBearerAuth":t.token})})),this.middlewareStack.use(Be(this.config))}destroy(){super.destroy()}}const Qc={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};const Xc=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Jc=/(\d+\.){3}\d+/,Zc=/\.\./,tl=t=>Xc.test(t)&&!Jc.test(t)&&!Zc.test(t),el=t=>{const[e,n,i,,,r]=t.split(":"),s="arn"===e&&t.split(":").length>=6,o=Boolean(s&&n&&i&&r);if(s&&!o)throw new Error(`Invalid ARN: ${t} was an invalid ARN.`);return o},nl=(t,e,n,i=!1)=>{const r=async()=>{let r;if(i){const i=n.clientContextParams,s=i?.[t];r=s??n[t]??n[e]}else r=n[t]??n[e];return"function"==typeof r?r():r};return"credentialScope"===t||"CredentialScope"===e?async()=>{const t="function"==typeof n.credentials?await n.credentials():n.credentials;return t?.credentialScope??t?.CredentialScope}:"accountId"===t||"AccountId"===e?async()=>{const t="function"==typeof n.credentials?await n.credentials():n.credentials;return t?.accountId??t?.AccountId}:"endpoint"===t||"endpoint"===e?async()=>{if(!1===n.isCustomEndpoint)return;const t=await r();if(t&&"object"==typeof t){if("url"in t)return t.url.href;if("hostname"in t){const{protocol:e,hostname:n,port:i,path:r}=t;return`${e}//${n}${i?":"+i:""}${r}`}}return t}:r},il=async(t,e,n)=>{const i={},r=e?.getEndpointParameterInstructions?.()||{};for(const[e,s]of Object.entries(r))switch(s.type){case"staticContextParams":i[e]=s.value;break;case"contextParams":i[e]=t[s.name];break;case"clientContextParams":case"builtInParams":i[e]=await nl(s.name,e,n,"builtInParams"!==s.type)();break;case"operationContextParams":i[e]=s.get(t);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(s))}return 0===Object.keys(r).length&&Object.assign(i,n),"s3"===String(n.serviceId).toLowerCase()&&await(async t=>{const e=t?.Bucket||"";if("string"==typeof t.Bucket&&(t.Bucket=e.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),el(e)){if(!0===t.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!tl(e)||-1!==e.indexOf(".")&&!String(t.Endpoint).startsWith("http:")||e.toLowerCase()!==e||e.length<3)&&(t.ForcePathStyle=!0);return t.DisableMultiRegionAccessPoints&&(t.disableMultiRegionAccessPoints=!0,t.DisableMRAP=!0),t})(i),i},rl=({config:t,instructions:e})=>(n,i)=>async r=>{t.isCustomEndpoint&&function(t,e,n){t.__smithy_context?t.__smithy_context.features||(t.__smithy_context.features={}):t.__smithy_context={features:{}},t.__smithy_context.features[e]=n}(i,"ENDPOINT_OVERRIDE","N");const s=await(async(t,e,n,i)=>{if(!n.isCustomEndpoint){let t;t=n.serviceConfiguredEndpoint?await n.serviceConfiguredEndpoint():await $e(n.serviceId),t&&(n.endpoint=()=>Promise.resolve(Xe(t)),n.isCustomEndpoint=!0)}const r=await il(t,e,n);if("function"!=typeof n.endpointProvider)throw new Error("config.endpointProvider is not set.");return n.endpointProvider(r,i)})(r.input,{getEndpointParameterInstructions:()=>e},{...t},i);i.endpointV2=s,i.authSchemes=s.properties?.authSchemes;const o=i.authSchemes?.[0];if(o){i.signing_region=o.signingRegion,i.signing_service=o.signingName;const t=Ne(i),e=t?.selectedHttpAuthScheme?.httpAuthOption;e&&(e.signingProperties=Object.assign(e.signingProperties||{},{signing_region:o.signingRegion,signingRegion:o.signingRegion,signing_service:o.signingName,signingName:o.signingName,signingRegionSet:o.signingRegionSet},o.properties))}return n({...r})},sl={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:Qc.name},ol=(t,e)=>({applyToStack:n=>{n.addRelativeTo(rl({config:t,instructions:e}),sl)}}),al="***SensitiveInformation***";function cl(t,e){if(null==e)return e;const n=Jr.of(t);if(n.getMergedTraits().sensitive)return al;if(n.isListSchema()){if(!!n.getValueSchema().getMergedTraits().sensitive)return al}else if(n.isMapSchema()){if(!!n.getKeySchema().getMergedTraits().sensitive||!!n.getValueSchema().getMergedTraits().sensitive)return al}else if(n.isStructSchema()&&"object"==typeof e){const t=e,i={};for(const[e,r]of n.structIterator())null!=t[e]&&(i[e]=cl(r,t[e]));return i}return e}class ll{middlewareStack=Tn();schema;static classBuilder(){return new ul}resolveMiddlewareWithContext(t,e,n,{middlewareFn:i,clientName:r,commandName:s,inputFilterSensitiveLog:o,outputFilterSensitiveLog:a,smithyContext:c,additionalContext:l,CommandCtor:u}){for(const r of i.bind(this)(u,t,e,n))this.middlewareStack.use(r);const h=t.concat(this.middlewareStack),{logger:d}=e,p={logger:d,clientName:r,commandName:s,inputFilterSensitiveLog:o,outputFilterSensitiveLog:a,[Re]:{commandInstance:this,...c},...l},{requestHandler:f}=e;return h.resolve(t=>f.handle(t.request,n||{}),p)}}class ul{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(t){this._init=t}ep(t){return this._ep=t,this}m(t){return this._middlewareFn=t,this}s(t,e,n={}){return this._smithyContext={service:t,operation:e,...n},this}c(t={}){return this._additionalContext=t,this}n(t,e){return this._clientName=t,this._commandName=e,this}f(t=t=>t,e=t=>t){return this._inputFilterSensitiveLog=t,this._outputFilterSensitiveLog=e,this}ser(t){return this._serializer=t,this}de(t){return this._deserializer=t,this}sc(t){return this._operationSchema=t,this._smithyContext.operationSchema=t,this}build(){const t=this;let e;return e=class extends ll{input;static getEndpointParameterInstructions(){return t._ep}constructor(...[e]){super(),this.input=e??{},t._init(this),this.schema=t._operationSchema}resolveMiddleware(n,i,r){const s=t._operationSchema,o=s?.[4]??s?.input,a=s?.[5]??s?.output;return this.resolveMiddlewareWithContext(n,i,r,{CommandCtor:e,middlewareFn:t._middlewareFn,clientName:t._clientName,commandName:t._commandName,inputFilterSensitiveLog:t._inputFilterSensitiveLog??(s?cl.bind(null,o):t=>t),outputFilterSensitiveLog:t._outputFilterSensitiveLog??(s?cl.bind(null,a):t=>t),smithyContext:t._smithyContext,additionalContext:t._additionalContext})}serialize=t._serializer;deserialize=t._deserializer}}}class hl extends(ll.classBuilder().ep(Ii).m(function(t,e,n,i){return[ol(n,t.getEndpointParameterInstructions())]}).s("AmazonBedrockFrontendService","InvokeModelWithResponseStream",{eventStream:{output:!0}}).n("BedrockRuntimeClient","InvokeModelWithResponseStreamCommand").sc(Gc).build()){}class dl extends(ll.classBuilder().ep(Ii).m(function(t,e,n,i){return[ol(n,t.getEndpointParameterInstructions())]}).s("AmazonBedrockFrontendService","InvokeModel",{}).n("BedrockRuntimeClient","InvokeModelCommand").sc(zc).build()){}const pl=gl;function fl(){const t=["signal","ai.assistant.adapter.aws.apiUrl","utf-8","_getGeneratedText","join","meta.llama","decode","ai.assistant.adapter.aws.requestParameters","define","9bSWVUk","map","editor","completions","get","7966664BHwkUT","Your task is to execute the instruction using the provided HTML content. Follow the instruction closely. Your answer must be a properly formatted HTML code. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","resolve","send","json","data","getReader","POST","_processProxyRequest","_readAsyncIterableResponse","ai.assistant.adapter.aws.requestHeaders","_requestParameters","cohere.command","_prepareRequestParameters","AWSTextAdapter","AI_ERROR_UNSUPPORTED_MODEL","anthropic.claude-v2","_apiUrl","filter","test","preparePrompt","Human:\n","config","267518xhbnQj","split","_readStaticResponse","16244940KgyeuN","3524876qgyDwx","_processAWSRequest","generation","getModelFamily","sendRequest","_prepareRequestHeaders","\nYou must keep the text formatting.\n\nContent:\n","read","body","text","anthropic.claude","\n<</SYS>>\n[INST]\n","30vxrSUu","_requestHeaders","\n[/INST]","Instruction:\n","Your task is to generate HTML content accordingly to the given instruction. Never include <img> tag in your response even if asked for. Your answer must be a well-structured and properly formatted HTML code. Answer only with the generated HTML content. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","bedrock-2023-05-31","_readStreamableResponse","locale","pluginName","parse","2GxFaOo","_bedrockClientConfig","application/json","\n\nAssistant:","chunk","completion","length","bytes","196497WXaXfZ","<<SYS>>\n","ai.assistant.adapter.aws.bedrockClientConfig","stringify","generations","abortController","855627KXcoVN","2754605VLuWKq","ai21.j2"];return(fl=function(){return t})()}function gl(t,e){const n=fl();return(gl=function(t,e){return n[t-=478]})(t,e)}!function(t){const e=gl,n=t();for(;;)try{if(546587===parseInt(e(552))/1*(-parseInt(e(498))/2)+-parseInt(e(512))/3+parseInt(e(556))/4+-parseInt(e(513))/5+parseInt(e(488))/6*(parseInt(e(506))/7)+parseInt(e(529))/8*(-parseInt(e(524))/9)+parseInt(e(555))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(fl);class ml extends $t{[pl(546)];[pl(489)];[pl(499)];[pl(540)];static get[pl(496)](){return pl(543)}constructor(t){const e=pl;super(t),t[e(551)][e(528)](e(522))||t[e(551)][e(523)](e(522),{model:e(545),max_tokens_to_sample:2e3,temperature:1,top_p:1,top_k:250,anthropic_version:e(493),stream:!0}),this[e(546)]=t[e(551)][e(528)](e(516)),this[e(499)]=t[e(551)][e(528)](e(508)),this[e(489)]=t[e(551)][e(528)](e(539)),this[e(540)]=t[e(551)][e(528)](e(522))}async[pl(480)]({query:t,context:e,onData:n,actionId:i}){const r=pl,{model:s,stream:o,...a}=await this[r(542)](this[r(540)],i),c={prompt:await this[r(549)](t,e,s,i),...a};this[r(546)]?await this[r(537)](c,s,o,n,i):await this[r(557)](c,s,o,n)}async[pl(549)](t,e,n,i){const r=pl;let s,o;return e?(s=r(530),o=r(491)+t+r(482)+e):(s=r(492),o=t),r(520)==this[r(479)](n)?r(507)+s+r(487)+o+r(490):r(550)+s+"\n"+o+r(501)}[pl(479)](t){const e=pl;if(/^anthropic\.claude/[e(548)](t))return e(486);if(/^ai21\.j2/[e(548)](t))return e(514);if(/^cohere\.command/[e(548)](t))return e(541);if(/^meta\.llama/[e(548)](t))return e(520);throw new I(v(this[e(526)][e(495)],e(544),t))}async[pl(537)](t,e,n,i,r){const s=pl,o={method:s(536),headers:await this[s(481)](this[s(489)],r),body:JSON[s(509)]({...t,model:e,stream:n}),signal:this[s(511)][s(515)]},a=await fetch(this[s(546)],o);n?await this[s(494)](a,e,i):await this[s(554)](a,e,i)}async[pl(557)](t,e,n,i){const r=pl,s=new $c(this[r(499)]),o={body:JSON[r(509)](t),contentType:r(500),accept:r(500),modelId:e};let a;if(n){const t=new hl(o);a=await s[r(532)](t,{abortSignal:this[r(511)][r(515)]}),await this[r(538)](a,e,i)}else{const t=new dl(o);a=await s[r(532)](t,{abortSignal:this[r(511)][r(515)]}),await this[r(554)](a,e,i)}}async[pl(538)](t,e,n){const i=pl,r=t[i(484)],s=new TextDecoder(i(517));let o="";for await(const t of r)if(t[i(502)]){const r=s[i(521)](t[i(502)][i(505)]),a=JSON[i(497)](r);o+=this[i(518)](a,e),n(o)}return Promise[i(531)]()}async[pl(494)](t,e,n){const i=pl,r=t[i(484)],s=new TextDecoder(i(517)),o=r[i(535)]();let a="",c="",l=!1;for(;!l;){const{done:t,value:r}=await o[i(483)]();if(l=t,l)break;const u=(a+s[i(521)](r))[i(553)]("\n")[i(525)](t=>{const e=i;try{return a="",JSON[e(497)](t)}catch{return a=t,null}})[i(547)](t=>null!==t);u[i(504)]&&(c+=u[i(525)](t=>this[i(518)](t,e))[i(519)](""),n(c))}return Promise[i(531)]()}async[pl(554)](t,e,n){const i=pl;let r;return r=t instanceof Response?await t[i(533)]():JSON[i(497)](new TextDecoder(i(517))[i(521)](t[i(484)])),n(this[i(518)](r,e)),Promise[i(531)]()}[pl(518)](t,e){const n=pl;switch(this[n(479)](e)){case n(486):return t[n(503)];case n(514):return t[n(527)][0][n(534)][n(485)];case n(541):return t[n(510)][0][n(485)];case n(520):return t[n(478)]}}}var kl=r(705),_l={attributes:{"data-cke":!0}};_l.setAttributes=Et(),_l.insert=yt().bind(null,"head"),_l.domAPI=It(),_l.insertStyleElement=Ct();bt()(kl.A,_l);kl.A&&kl.A.locals&&kl.A.locals;function bl(t,e){const n=wl();return(bl=function(t,e){return n[t-=391]})(t,e)}function wl(){const t=["386004bZAAWt","top","147860ohsmWa","ck-tab-button_","1298LdSXol","class","show","hide","isToggleable","1381961wxooEP","18PqPpTV","3040503wQdrny","isVisible","5463224JXRmGH","set","5809797qIBizR","2LqfqVB","10760TnByVE","bindTemplate","side","ck-tab-button","extendTemplate","88EAzPIA"];return(wl=function(){return t})()}const Il=bl;!function(t){const e=bl,n=t();for(;;)try{if(769592===parseInt(e(405))/1+parseInt(e(398))/2*(-parseInt(e(393))/3)+-parseInt(e(404))/4*(parseInt(e(407))/5)+parseInt(e(392))/6*(parseInt(e(391))/7)+parseInt(e(395))/8+parseInt(e(397))/9+-parseInt(e(399))/10*(-parseInt(e(409))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(wl);class vl extends a.ButtonView{constructor(t,e={}){const n=bl;super(t),this[n(413)]=!0,this[n(396)](n(401),e[n(401)]||n(406));const i=this[n(400)];this[n(403)]({attributes:{class:[n(402),...(0,o.toArray)(e[n(410)]||[]),i.to(n(401),t=>n(408)+t),i.to(n(410))]}})}[Il(411)](){const t=Il;this[t(396)](t(394),!0)}[Il(412)](){const t=Il;this[t(396)](t(394),!1)}}const yl=Al;function Al(t,e){const n=El();return(Al=function(t,e){return n[t-=485]})(t,e)}function El(){const t=["1415916luSkUD","isVisible","set","3213947zqjzXC","ck-tab-panel","div","3EokJmz","createCollection","hide","52NuxWdH","setTemplate","class","10lrXAWh","379372fowXAM","ck-hidden","show","1828536fWCYKE","bindTemplate","109051PmWiqY","19194HDiDas","7qeWRiP","children","111080FAOZmj"];return(El=function(){return t})()}!function(t){const e=Al,n=t();for(;;)try{if(145310===-parseInt(e(501))/1+parseInt(e(496))/2*(parseInt(e(489))/3)+parseInt(e(492))/4*(parseInt(e(505))/5)+-parseInt(e(502))/6*(parseInt(e(503))/7)+parseInt(e(499))/8+-parseInt(e(506))/9+parseInt(e(495))/10*(-parseInt(e(486))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(El);class Tl extends a.View{[yl(504)];constructor(t,e={}){const n=yl;super(t);const i=this[n(500)];this[n(485)](n(507),!1),this[n(485)](n(494),""),this[n(504)]=this[n(490)](),this[n(493)]({tag:n(488),attributes:{class:[n(487),...(0,o.toArray)(e[n(494)]||[]),i.to(n(494)),i.if(n(507),n(497),t=>!t)]},children:this[n(504)]})}[yl(498)](){const t=yl;this[t(485)](t(507),!0)}[yl(491)](){const t=yl;this[t(485)](t(507),!1)}}var Cl=r(8948),Sl={attributes:{"data-cke":!0}};Sl.setAttributes=Et(),Sl.insert=yt().bind(null,"head"),Sl.domAPI=It(),Sl.insertStyleElement=Ct();bt()(Cl.A,Sl);Cl.A&&Cl.A.locals&&Cl.A.locals;const xl=Nl;function Rl(){const t=["_setupButton","render","keys","ck-reset","locale","buttonIcon","button","_hideButton","hideTab","444MVQdWU","1103035tQCkyO","side","activateTab:","2626967WBLqUj","icon","_showPanel","ck-tabs__panels-container_","628lDkkAl","ck-tabs","show:","panel","_showButton","isOn","activeTab","30OqWDOQ","right","37049xoLSpe","length","fire","reduce","726869tKknsd","27504804ACyDsR","ck-ai-tabs_maximized","find","isVisible","ck-tabs__buttons-container","bind","hide","isMaximized","_tabs","getTab","class","order","ck-tabs__buttons-container_","getIndex","label","showTab","set","addTab:","buttonLabel","78uaBQYz","top","add","createCollection","execute","div","ck-tabs__panels-container","panelViews","_getPanel","ui-tabsview-tab-not-found","bindTemplate","activateTab","addTab","children","46460dYLJim","getTabIds","show","hide:","3267YrQeOK","get","_hidePanel","content","buttonViews","ck-tabs_","_getButton","left","setTemplate","24rTQLhF"];return(Rl=function(){return t})()}function Nl(t,e){const n=Rl();return(Nl=function(t,e){return n[t-=223]})(t,e)}!function(t){const e=Nl,n=t();for(;;)try{if(859377===-parseInt(e(269))/1*(-parseInt(e(293))/2)+-parseInt(e(252))/3*(parseInt(e(260))/4)+-parseInt(e(253))/5*(-parseInt(e(267))/6)+parseInt(e(256))/7*(-parseInt(e(242))/8)+parseInt(e(233))/9*(parseInt(e(229))/10)+parseInt(e(273))/11+-parseInt(e(274))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Rl);xl(294),xl(240),xl(268);class Ol extends a.View{[xl(237)]=this[xl(296)]();[xl(300)]=this[xl(296)]();[xl(282)]=new Map;constructor(t,e={}){const n=xl;super(t),this[n(290)](n(284),void 0),this[n(290)](n(266),null),this[n(290)](n(254),e[n(254)]||n(294)),this[n(290)](n(281),!1);const i=this[n(225)];this[n(241)]({tag:n(298),attributes:{class:["ck",n(246),n(261),...(0,o.toArray)(e[n(284)]||[]),i.to(n(254),t=>n(238)+t),i.to(n(284)),i.to(n(281),t=>t?n(275):"")],tabindex:"0"},children:[{tag:n(298),attributes:{class:["ck",n(278),i.to(n(254),t=>n(286)+t)]},children:this[n(237)]},{tag:n(298),attributes:{class:["ck",n(299),i.to(n(254),t=>n(259)+t)]},children:this[n(300)]},...(0,o.toArray)(e[n(228)]||[])]})}[xl(230)](){const t=xl;return[...this[t(282)][t(245)]()]}[xl(283)](t){const e=xl;return this[e(282)][e(234)](t)||null}[xl(227)](t){const e=xl,n=this[e(243)]({id:t.id,label:t[e(292)],icon:t[e(248)],order:t[e(285)]}),i=new Tl(this[e(247)]);return i[e(244)](),t[e(236)]&&i[e(228)][e(295)](t[e(236)]),this[e(300)][e(295)](i),this[e(282)][e(290)](t.id,{button:n,panel:i,order:void 0!==t[e(285)]?t[e(285)]:null}),this[e(271)](e(291)+t.id,{id:t.id,button:n,panel:i}),null===this[e(266)]?this[e(226)](t.id):this[e(235)](t.id),{button:n,panel:i}}[xl(226)](t){const e=xl;if(null!==t&&!this[e(283)](t))throw new o.CKEditorError(e(224),{tabs:this,tabId:t});this[e(266)]!==t&&(this[e(266)]&&this[e(235)](this[e(266)]),this[e(266)]=t,t&&this[e(258)](t),this[e(271)](e(255)+t,t))}[xl(289)](t){const e=xl;if(!this[e(283)](t))throw new o.CKEditorError(e(224),{tabs:this,tabId:t});this[e(258)](t),this[e(264)](t),this[e(271)](e(262)+t,t)}[xl(251)](t){const e=xl;if(!this[e(283)](t))throw new o.CKEditorError(e(224),{tabs:this,tabId:t});const n=this[e(266)];this[e(235)](t),this[e(250)](t);const i=this[e(230)]();n===t&&i[e(270)]>1&&this[e(226)](i[e(276)](e=>e!==t)),this[e(271)](e(232)+t,t)}[xl(223)](t){const e=xl,n=this[e(282)][e(234)](t);return n?n[e(263)]:null}[xl(258)](t){const e=xl;null!==this[e(266)]&&this[e(266)]!==t||this[e(223)](t)[e(231)]()}[xl(235)](t){const e=xl,n=this[e(223)](t);n[e(277)]&&(this[e(266)]===t&&(this[e(266)]=null),n[e(280)]())}[xl(239)](t){const e=xl,n=this[e(282)][e(234)](t);return n?n[e(249)]:null}[xl(264)](t){const e=xl;this[e(239)](t)[e(231)]()}[xl(250)](t){const e=xl;this[e(239)](t)[e(280)]()}[xl(243)](t){const e=xl,n=new vl(this[e(247)],{side:this[e(254)]}),i=this[e(237)];if(n[e(290)]({label:t[e(288)],icon:t[e(257)],tooltip:!0,withText:!0}),n[e(279)](e(265)).to(this,e(266),e=>e===t.id),n[e(279)](e(254)).to(this,e(254)),t[e(285)]){const r=[...this[e(282)]][e(272)]((n,i)=>{const r=e,s=i[0],{order:o}=i[1];return!o||o>t[r(285)]?n:o>=n[r(285)]?{id:s,order:o}:n},{id:"",order:0}),s=i[e(287)](this[e(239)](r.id));i[e(295)](n,s+1)}else i[e(295)](n);return n.on(e(297),()=>{this[e(226)](t.id)}),n}}var Ll=r(2103),Dl={attributes:{"data-cke":!0}};Dl.setAttributes=Et(),Dl.insert=yt().bind(null,"head"),Dl.domAPI=It(),Dl.insertStyleElement=Ct();bt()(Ll.A,Dl);Ll.A&&Ll.A.locals&&Ll.A.locals;const Pl=Hl;function Ml(){const t=["visibleByDefault","18XZlWXa","ck-ai-tabs__sidebar","237RAaHDp","left","66208ugvMKV","43788mjpemD","buttonViews","2950000ouxomU","isVisible","ck-hidden","307254ttTonh","add","right","overlay","withText","extendTemplate","custom","type","bindTemplate","109205jHAIBr","ck-ai-tabs__overlay","ck-ai-tabs","set","10193942rnyjct","126rQlqWf","2LpEEsD","90370eGEdVY","side","sidebar"];return(Ml=function(){return t})()}!function(t){const e=Hl,n=t();for(;;)try{if(441370===-parseInt(e(209))/1*(-parseInt(e(194))/2)+parseInt(e(201))/3*(parseInt(e(204))/4)+-parseInt(e(188))/5+-parseInt(e(199))/6*(-parseInt(e(195))/7)+parseInt(e(203))/8*(-parseInt(e(193))/9)+parseInt(e(206))/10+-parseInt(e(192))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ml);const Vl=[Pl(212),Pl(197),Pl(215)],Bl=[Pl(202),Pl(211)];function Hl(t,e){const n=Ml();return(Hl=function(t,e){return n[t-=186]})(t,e)}class Ul extends Ol{constructor(t,e={}){const n=Pl;super(t,e),this[n(191)](n(186),e[n(186)]||n(197)),this[n(191)](n(196),e[n(196)]||n(211)),this[n(191)](n(207),e[n(198)]??!0);const i=this[n(187)];this[n(214)]({attributes:{class:[n(190),i.if(n(186),n(189),t=>n(212)===t),i.if(n(186),n(200),t=>n(197)===t),i.if(n(207),n(208),t=>!t)]}}),this[n(205)].on(n(210),(t,e)=>{const i=n;e[i(191)](i(213),!1)})}}function ql(t,e){const n=zl();return(ql=function(t,e){return n[t-=408]})(t,e)}const Fl=ql;function zl(){const t=["render","resize","2607240ucJRwJ","4557483HpQXgq","element","311188TuoyLI","add","ai-tabs-unsupported-ui-side","config","right","destroy","includes","fire","23330cmuJKS","overlay","context","isOfficialPlugin","pluginName","bind","ai-tabs-sidebar-container-element-not-found","AITabs","showResizeButton","ai.container","appendChild","visibleByDefault","type","custom","switchType","2662MpMinv","ai-tabs-configuration-not-found","body","container","focusTracker","3157482sXRcIp","sidebar","7NaZHxx","5KwxsCz","5nOOeoM","side","set","7054HQkuUF","isPremiumPlugin","locale","resizedTabs","remove","switchSide","isMaximized","get","ai-tabs-unsupported-ui-type","1555119PeoKSp","view"];return(zl=function(){return t})()}!function(t){const e=ql,n=t();for(;;)try{if(280798===-parseInt(e(452))/1*(parseInt(e(455))/2)+parseInt(e(413))/3+parseInt(e(420))/4*(-parseInt(e(451))/5)+-parseInt(e(448))/6+parseInt(e(450))/7*(parseInt(e(417))/8)+-parseInt(e(418))/9+parseInt(e(428))/10*(parseInt(e(443))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(zl);class Gl extends n.ContextPlugin{[Fl(414)];[Fl(446)]=null;[Fl(436)]=!0;static get[Fl(432)](){return Fl(435)}static get[Fl(431)](){return!0}static get[Fl(456)](){return!0}constructor(t){const e=Fl;super(t);const i=this[e(430)][e(423)][e(411)](e(437));if(this[e(454)](e(453),e(424)),!i)throw new o.CKEditorError(e(444));if(void 0!==i[e(436)]&&(this[e(436)]=i[e(436)]),e(449)!==i[e(440)]&&e(429)!==i[e(440)]||i[e(453)]&&(this[e(453)]=i[e(453)]),e(449)===i[e(440)]){if(this[e(446)]=i[e(419)],this[e(454)](e(440),e(449)),!this[e(446)])throw new o.CKEditorError(e(434))}else e(429)===i[e(440)]?(this[e(446)]=document[e(445)],this[e(454)](e(440),e(429))):(this[e(446)]=null,this[e(454)](e(440),e(441)));this[e(414)]=new Ul(this[e(430)][e(457)],{side:this[e(453)],type:this[e(440)],visibleByDefault:void 0===i[e(439)]||i[e(439)]}),this[e(414)][e(415)](),this[e(414)][e(433)](e(453)).to(this,e(453)),this[e(414)][e(433)](e(440)).to(this,e(440)),this[e(446)]&&this[e(446)][e(438)](this[e(414)][e(419)]),this[e(430)]instanceof n.Editor&&this[e(430)].ui[e(447)][e(421)](this[e(414)][e(419)])}[Fl(442)](t){const e=Fl;if(t&&this[e(440)]!==t){if(!Vl[e(426)](t))throw new o.CKEditorError(e(412));this[e(440)]=t}}[Fl(409)](t){const e=Fl;if(t&&this[e(453)]!==t){if(!Bl[e(426)](t))throw new o.CKEditorError(e(422));this[e(453)]=t}}[Fl(416)](){const t=Fl;this[t(414)][t(410)]=!this[t(414)][t(410)],this[t(427)](t(458),this[t(414)][t(410)])}[Fl(425)](){const t=Fl;super[t(425)](),this[t(414)][t(425)](),this[t(414)][t(419)]&&this[t(414)][t(419)][t(408)]()}}class jl extends Error{constructor(t,e){super(t),this.name="ParseError",this.type=e.type,this.field=e.field,this.value=e.value,this.line=e.line}}function Wl(t){}function Kl(t){if("function"==typeof t)throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");const{onEvent:e=Wl,onError:n=Wl,onRetry:i=Wl,onComment:r}=t;let s,o="",a=!0,c="",l="";function u(t){if(""===t)return c.length>0&&e({id:s,event:l||void 0,data:c.endsWith("\n")?c.slice(0,-1):c}),s=void 0,c="",void(l="");if(t.startsWith(":"))return void(r&&r(t.slice(t.startsWith(": ")?2:1)));const n=t.indexOf(":");if(-1!==n){const e=t.slice(0,n),i=" "===t[n+1]?2:1;return void h(e,t.slice(n+i),t)}h(t,"",t)}function h(t,e,r){switch(t){case"event":l=e;break;case"data":c=`${c}${e}\n`;break;case"id":s=e.includes("\0")?void 0:e;break;case"retry":/^\d+$/.test(e)?i(parseInt(e,10)):n(new jl(`Invalid \`retry\` value: "${e}"`,{type:"invalid-retry",value:e,line:r}));break;default:n(new jl(`Unknown field "${t.length>20?`${t.slice(0,20)}…`:t}"`,{type:"unknown-field",field:t,value:e,line:r}))}}return{feed:function(t){const e=a?t.replace(/^\xEF\xBB\xBF/,""):t,[n,i]=function(t){const e=[];let n="",i=0;for(;i<t.length;){const r=t.indexOf("\r",i),s=t.indexOf("\n",i);let o=-1;if(-1!==r&&-1!==s?o=Math.min(r,s):-1!==r?o=r:-1!==s&&(o=s),-1===o){n=t.slice(i);break}{const n=t.slice(i,o);e.push(n),i=o+1,"\r"===t[i-1]&&"\n"===t[i]&&i++}}return[e,n]}(`${o}${e}`);for(const t of n)u(t);o=i,a=!1},reset:function(t={}){o&&t.consume&&u(o),a=!0,s=void 0,c="",l="",o=""}}}function Yl(t,e){const n=Ql();return(Yl=function(t,e){return n[t-=260]})(t,e)}const $l=Yl;function Ql(){const t=["language","fetchDocument","totalCount","_apiUrl","executeCustomAction","https://ai.cke-cs.com/v1","100","fetchConversations","statusText","parse","excludeEmpty","ai.serviceUrl","POST","get","callSystemReview","false","/conversations","/actions/system/","config","make-longer","plugins","1904544UTcwhk","MAKE_TONE_CASUAL","make-shorter","code","continue","GET","value","order","releaseLock","DELETE","sortBy","feed","/conversations?","stringify","5BftkSf","/documents/","6453610avrArN","TRANSLATE","callCustomReview","upsertCustomAIActionRating","uploadFile","AbortError","group","IMPROVE_WRITING","/web-resources","init","push","/calls/","desc","ai-request-aborted","deleteConversation","fix-grammar","PATCH","/reviews/custom/calls","make-tone-casual","MAKE_LONGER","queryAssistant","json","/ratings","isPremiumPlugin","/documents","FIX_GRAMMAR","body","/actions/custom/calls/","improve-writing","deleteDocument","message","request","token","CONTINUE","requires","deleteFile","executeAction","catch","/models/1?","name","make-tone-formal","_getStreamReader","toString","6029130EwjMjQ","/files","read","translate","fetchConversationMessages","items","traceId","_decoder","getModels","15gCPWhy","MAKE_SHORTER","ai-missing-token","11FusQKA","/web-resources/","isOfficialPlugin","true","upsertAIActionRating","Bearer ","/reviews/system/","151410IOPqtV","updateConversation","signal","upsertAIReviewRating","/actions/custom/calls","then","abortController","/files/","append","9UNJDef","application/json","modificationId","2751XjnXLJ","/messages","/conversations/","upsertAIChatRating","PUT","createdAt","_sendApiRequest","CloudServices","reset","10312VtJqdo","1323296irzYqU","uploadUrl","status","context","MAKE_TONE_FORMAL","limit","fetchConversation","attributes","/calls","getReader","startConversation","ai-request-failed","positiveCount","pluginName","length","file","AIConnector","data","decode","text","_token","_handleError","42668484ylHTLp","define","/messages/","uploadDocument","/reviews/custom/calls/","deleteWebResource","Content-Type","upsertCustomAIReviewRating"];return(Ql=function(){return t})()}var Xl;!function(t){const e=Yl,n=t();for(;;)try{if(702333===-parseInt(e(267))/1*(-parseInt(e(277))/2)+parseInt(e(350))/3+parseInt(e(299))/4+parseInt(e(364))/5*(parseInt(e(409))/6)+parseInt(e(289))/7*(parseInt(e(298))/8)+parseInt(e(286))/9*(parseInt(e(366))/10)+parseInt(e(270))/11*(-parseInt(e(321))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ql),function(t){const e=Yl;t[e(399)]=e(354),t[e(391)]=e(381),t[e(373)]=e(394),t[e(385)]=e(348),t[e(268)]=e(352),t[e(351)]=e(384),t[e(303)]=e(406),t[e(367)]=e(261)}(Xl||(Xl={}));class Jl extends n.ContextPlugin{[$l(332)];[$l(319)];[$l(265)];static get[$l(400)](){return[$l(296)]}static get[$l(312)](){return $l(315)}static get[$l(272)](){return!0}static get[$l(389)](){return!0}constructor(t){const e=$l;super(t),this[e(302)][e(347)][e(322)](e(340),e(334)),this[e(332)]=this[e(302)][e(347)][e(342)](e(340)),this[e(319)]=null,this[e(265)]=new TextDecoder}[$l(375)](){const t=$l,e=this[t(302)][t(349)][t(342)](t(296));if(!e[t(398)])throw new o.CKEditorError(t(269),this);this[t(319)]=e[t(398)]}[$l(309)](t,e){const n=$l,i=this[n(295)](n(345),n(341),{id:t,group:e});return{getConversation:async()=>(await i[n(397)])[n(387)](),abortController:i[n(283)]}}[$l(386)]({message:t,conversationId:e,parts:n,capabilities:i,model:r,attributes:s}){const o=$l,a={prompt:t,content:n,model:r,...i&&{capabilities:i},...s&&{attributes:s}},c=this[o(295)](o(291)+e+o(290),o(341),a);return{getStream:async()=>{const t=o,e=(await c[t(397)])[t(392)];return this[t(407)](e)},abortController:c[o(283)]}}[$l(333)]({content:t,message:e,model:n,outputFormat:i}){const r=$l,s={content:[{type:r(318),content:t}],prompt:e,model:n,outputFormat:i},o=this[r(295)](r(281),r(341),s);return{getStream:async()=>{const t=r,e=(await o[t(397)])[t(392)];return this[t(407)](e)},abortController:o[r(283)]}}[$l(402)]({actionName:t,content:e,args:n}){const i=$l,r={content:[{type:i(318),content:e}],args:n},s=this[i(295)](i(346)+t+i(307),i(341),r);return{getStream:async()=>{const t=i,e=(await s[t(397)])[t(392)];return this[t(407)](e)},abortController:s[i(283)]}}[$l(370)](t,e,n){const i=$l,r=new FormData;r[i(285)](i(314),e,e[i(405)]),n&&r[i(285)](i(306),JSON[i(363)](n));const s=this[i(295)](i(291)+t+i(410),i(341),r);return{getId:async()=>(await s[i(397)])[i(387)](),abortController:s[i(283)]}}[$l(330)](t,e){const n=$l,i=this[n(295)](n(291)+t+n(365)+e,n(355));return{getDocument:async()=>(await i[n(397)])[n(387)](),abortController:i[n(283)]}}[$l(324)](t,e,n){const i=$l,r={content:e};n&&(r[i(306)]=n);const s=this[i(295)](i(291)+t+i(390),i(341),r);return{getId:async()=>(await s[i(397)])[i(387)](),abortController:s[i(283)]}}[$l(336)](t,e={}){const n=$l,i=new URLSearchParams;i[n(285)](n(372),t),i[n(285)](n(339),!1!==e[n(339)]?n(273):n(344)),i[n(285)](n(304),e[n(304)]?e[n(304)][n(408)]():n(335)),i[n(285)](n(360),e[n(360)]?e[n(360)]:n(294)),i[n(285)](n(357),e[n(357)]?e[n(357)]:n(378));const r=this[n(295)](n(362)+i[n(408)](),n(355));return{getConversations:async()=>{const t=n,e=await r[t(397)];return(await e[t(387)]())[t(263)]},abortController:r[n(283)]}}[$l(380)](t){const e=$l,n=this[e(295)](e(291)+t,e(359));return{execute:async()=>{const t=e;await n[t(397)]},abortController:n[e(283)]}}[$l(278)](t,e){const n=$l,i=this[n(295)](n(291)+t,n(382),e);return{getResult:async()=>(await i[n(397)],e),abortController:i[n(283)]}}[$l(305)](t){const e=$l,n=this[e(295)](e(291)+t,e(355));return{getConversation:async()=>(await n[e(397)])[e(387)](),abortController:n[e(283)]}}[$l(262)](t){const e=$l,n=this[e(295)](e(291)+t+e(290),e(355));return{getMessages:async()=>{const t=e,i=await n[t(397)];return(await i[t(387)]())[t(263)]},abortController:n[e(283)]}}[$l(300)](t,e,n){const i=$l,r=this[i(295)](i(291)+t+i(374),i(341),{url:e,attributes:n});return{getId:async()=>(await r[i(397)])[i(387)](),abortController:r[i(283)]}}[$l(266)](t="en"){const e=$l,n=new URLSearchParams;n[e(285)](e(329),t);const i=e(404)+n[e(408)](),r=this[e(295)](i,e(355));return{list:async()=>await(await r[e(397)])[e(387)](),abortController:r[e(283)]}}[$l(401)](t,e){const n=$l,i=this[n(295)](n(291)+t+n(284)+e,n(359));return{execute:async()=>{const t=n;await i[t(397)]},abortController:i[n(283)]}}[$l(395)](t,e){const n=$l,i=this[n(295)](n(291)+t+n(365)+e,n(359));return{execute:async()=>{const t=n;await i[t(397)]},abortController:i[n(283)]}}[$l(326)](t,e){const n=$l,i=this[n(295)](n(291)+t+n(271)+e,n(359));return{execute:async()=>{const t=n;await i[t(397)]},abortController:i[n(283)]}}[$l(343)]({reviewName:t,content:e,args:n}){const i=$l,r=this[i(295)](i(276)+t+i(307),i(341),{content:[{type:i(318),content:e}],args:n});return{getStream:async()=>{const t=i,e=(await r[t(397)])[t(392)];return this[t(407)](e)},abortController:r[i(283)]}}[$l(368)]({content:t,prompt:e,model:n}){const i=$l,r=this[i(295)](i(383),i(341),{content:[{type:i(318),content:t}],prompt:e,model:n});return{getStream:async()=>{const t=i,e=(await r[t(397)])[t(392)];return this[t(407)](e)},abortController:r[i(283)]}}[$l(292)](t,e,n){const i=$l,r=this[i(295)](i(291)+t+i(323)+e+i(388),i(293),{positiveCount:n[i(311)],totalCount:n[i(331)],modificationId:n[i(288)]});return{execute:async()=>{const t=i;await r[t(397)]},abortController:r[i(283)]}}[$l(274)](t,e,n){const i=$l,r=this[i(295)](i(346)+t+i(377)+e+i(388),i(293),{positiveCount:n[i(311)],totalCount:n[i(331)]});return{execute:async()=>{const t=i;await r[t(397)]},abortController:r[i(283)]}}[$l(369)](t,e){const n=$l,i=this[n(295)](n(393)+t+n(388),n(293),{positiveCount:e[n(311)],totalCount:e[n(331)]});return{execute:async()=>{const t=n;await i[t(397)]},abortController:i[n(283)]}}[$l(280)](t,e,n,i){const r=$l,s=this[r(295)](r(276)+t+r(377)+e+r(388),r(293),{positiveCount:n[r(311)],totalCount:n[r(331)],dataId:i});return{execute:async()=>{const t=r;await s[t(397)]},abortController:s[r(283)]}}[$l(328)](t,e,n){const i=$l,r=this[i(295)](i(325)+t+i(388),i(293),{positiveCount:e[i(311)],totalCount:e[i(331)],dataId:n});return{execute:async()=>{const t=i;await r[t(397)]},abortController:r[i(283)]}}[$l(295)](t,e,n){const i=$l,r=new AbortController,s=n instanceof FormData,o={Authorization:i(275)+this[i(319)]?.[i(356)]};n&&!s&&(o[i(327)]=i(287));const a={method:e,headers:o,signal:r[i(279)]};return n&&(a[i(392)]=s?n:JSON[i(363)](n)),{request:fetch(""+this[i(332)]+t,a)[i(403)](t=>{this[i(320)](t)})[i(282)](r=>r.ok?r:r[i(387)]()[i(282)](s=>{const o=i;throw{url:this[o(332)],path:t,method:e,body:n,status:(r||{})[o(301)],statusText:(r||{})[o(337)],code:s[o(353)],message:s[o(396)],traceId:s[o(264)]}})),abortController:r}}async*[$l(407)](t){const e=$l,n=[],i=t[e(308)](),r=Kl({onError:t=>{this[e(320)](t)},onEvent:t=>{const i=e;t[i(316)]=JSON[i(338)](t[i(316)]),n[i(376)](t)}});try{let t=!1;for(;!t;){const{done:s,value:o}=await i[e(260)]();s&&(t=!0),r[e(361)](this[e(265)][e(317)](o,{stream:!0})),yield*n,n[e(313)]=0}}catch(t){this[e(320)](t)}finally{i[e(358)](),r[e(297)]()}}[$l(320)](t){const e=$l;if(t instanceof o.CKEditorError)throw t;if(t instanceof Error&&e(371)===t[e(405)])throw new o.CKEditorError(e(379),this,{originalError:t});throw new o.CKEditorError(e(310),this,{originalError:t})}}function Zl(t,e,n){const i=t.t;switch(e){case"AI_SUGGESTION_HEADER_TITLE":return i({id:"AI_SUGGESTION_HEADER_TITLE",string:"Proposed changes"});case"AI_SUGGESTION_BUTTON_SHOW_CHANGES":return i({id:"AI_SUGGESTION_BUTTON_SHOW_CHANGES",string:"Show details"});case"AI_MINI_TOOLBAR_LIKE":return i({id:"AI_MINI_TOOLBAR_LIKE",string:"I like this response"});case"AI_MINI_TOOLBAR_DISLIKE":return i({id:"AI_MINI_TOOLBAR_DISLIKE",string:"I don't like this response"});case"AI_MINI_TOOLBAR_COPY":return i({id:"AI_MINI_TOOLBAR_COPY",string:"Copy to clipboard"});case"AI_SUGGESTION_CONTENT_PART_TITLE":return i({id:"AI_SUGGESTION_CONTENT_PART_TITLE",string:"Change %0"},n);case"AI_SUGGESTION_CONTENT_PART_REJECTED":return i({id:"AI_SUGGESTION_CONTENT_PART_REJECTED",string:"Change was rejected"});case"AI_SUGGESTION_CONTENT_PART_OUTDATED":return i({id:"AI_SUGGESTION_CONTENT_PART_OUTDATED",string:"Change is outdated"});case"AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED":return i({id:"AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED",string:"Change is already applied"});case"AI_SUGGESTION_CONTENT_PART_APPLY":return i({id:"AI_SUGGESTION_CONTENT_PART_APPLY",string:"Apply change"});case"AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION":return i({id:"AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION",string:"Add as suggestion"});case"AI_SUGGESTION_CONTENT_PART_REJECT":return i({id:"AI_SUGGESTION_CONTENT_PART_REJECT",string:"Reject change"});case"AI_SUGGESTION_CONTENT_PART_REMOVED":return i({id:"AI_SUGGESTION_CONTENT_PART_REMOVED",string:'Removed content. Use "Show details" to learn more.'});case"AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED":return i({id:"AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED",string:"Approved"});case"AI_SUGGESTION_CONTENT_PART_STATE_REJECTED":return i({id:"AI_SUGGESTION_CONTENT_PART_STATE_REJECTED",string:"Rejected"});case"AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED":return i({id:"AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED",string:"Outdated"});case"AI_DISCLAIMER_TEXT":return i({id:"AI_DISCLAIMER_TEXT",string:"AI can make mistakes. Please double-check responses."});case"AI_TABS_LABEL_MAXIMIZE":return i({id:"AI_TABS_LABEL_MAXIMIZE",string:"Maximize"});case"AI_TABS_LABEL_MINIMIZE":return i({id:"AI_TABS_LABEL_MINIMIZE",string:"Minimize"});case"AI_CHAT_HEADING":return i({id:"AI_CHAT_HEADING",string:"Chat"});case"AI_CHAT_SOURCES_HEADER":return i({id:"AI_CHAT_SOURCES_HEADER",string:"Sources"});case"AI_CHAT_UNTITLED_CONVERSATION":return i({id:"AI_CHAT_UNTITLED_CONVERSATION",string:"Untitled conversation"});case"AI_CHAT_LABEL_NEW_CHAT":return i({id:"AI_CHAT_LABEL_NEW_CHAT",string:"New chat"});case"AI_CHAT_STOP_GENERATING":return i({id:"AI_CHAT_STOP_GENERATING",string:"Stop generating"});case"AI_CHAT_IS_WRITING":return i({id:"AI_CHAT_IS_WRITING",string:"AI is writing..."});case"AI_CHAT_PROMPT_EMPTY_ERROR":return i({id:"AI_CHAT_PROMPT_EMPTY_ERROR",string:"This field cannot be empty."});case"AI_CHAT_LABEL_SUBMIT":return i({id:"AI_CHAT_LABEL_SUBMIT",string:"Submit"});case"AI_CHAT_WELCOME_MESSAGE":return i({id:"AI_CHAT_WELCOME_MESSAGE",string:"Hi! I can help you draft, rewrite, and improve your text, explore ideas, research topics, and solve problems. How can I help right now?"});case"AI_CHAT_ABORTED_MESSAGE":return i({id:"AI_CHAT_ABORTED_MESSAGE",string:"The request was aborted."});case"AI_CHAT_GENERIC_ERROR":return i({id:"AI_CHAT_GENERIC_ERROR",string:"Something went wrong while processing your request. Please try again."});case"AI_CHAT_UNABLE_TO_START_CONVERSATION":return i({id:"AI_CHAT_UNABLE_TO_START_CONVERSATION",string:"Unable to start conversation. Please make sure you are online and try again."});case"AI_CHAT_UNABLE_TO_LOAD_CONVERSATION":return i({id:"AI_CHAT_UNABLE_TO_LOAD_CONVERSATION",string:"Unable to load chosen conversation. Please make sure you are online and try again."});case"AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE":return i({id:"AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE",string:"Failed to upload files: %0. Please try again."},n);case"AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES":return i({id:"AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES",string:"Unable to load resources from %0. Please try again."},n);case"AI_CHAT_RESOURCE_LOAD_FAILED":return i({id:"AI_CHAT_RESOURCE_LOAD_FAILED",string:"Failed to load resource. Please try again."});case"AI_CHAT_CONTEXT_CURRENT_DOCUMENT":return i({id:"AI_CHAT_CONTEXT_CURRENT_DOCUMENT",string:"Current document"});case"AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT":return i({id:"AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT",string:"Remove from context"});case"AI_CHAT_CONTEXT_ADD_CONTEXT":return i({id:"AI_CHAT_CONTEXT_ADD_CONTEXT",string:"Add context"});case"AI_CHAT_CONTEXT_URL_LABEL":return i({id:"AI_CHAT_CONTEXT_URL_LABEL",string:"URL"});case"AI_CHAT_CONTEXT_FILE_LABEL":return i({id:"AI_CHAT_CONTEXT_FILE_LABEL",string:"File"});case"AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL":return i({id:"AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL",string:"Current context"});case"AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL":return i({id:"AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL",string:"Selected content"});case"AI_CHAT_SEARCH_WEB":return i({id:"AI_CHAT_SEARCH_WEB",string:"Web search"});case"AI_CHAT_ENABLE_WEB_SEARCH":return i({id:"AI_CHAT_ENABLE_WEB_SEARCH",string:"Enable web search"});case"AI_CHAT_DISABLE_WEB_SEARCH":return i({id:"AI_CHAT_DISABLE_WEB_SEARCH",string:"Disable web search"});case"AI_CHAT_REASONING":return i({id:"AI_CHAT_REASONING",string:"Reasoning"});case"AI_CHAT_ENABLE_REASONING":return i({id:"AI_CHAT_ENABLE_REASONING",string:"Enable reasoning"});case"AI_CHAT_DISABLE_REASONING":return i({id:"AI_CHAT_DISABLE_REASONING",string:"Disable reasoning"});case"AI_CHAT_COMMANDS":return i({id:"AI_CHAT_COMMANDS",string:"Commands"});case"AI_CHAT_SEARCH_RESOURCES":return i({id:"AI_CHAT_SEARCH_RESOURCES",string:"Search resources"});case"AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT":return i({id:"AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT",string:"Back to context options"});case"AI_CHAT_CONTEXT_URL_ADD_URL":return i({id:"AI_CHAT_CONTEXT_URL_ADD_URL",string:"Add URL"});case"AI_CHAT_CONTEXT_URL_PLACEHOLDER":return i({id:"AI_CHAT_CONTEXT_URL_PLACEHOLDER",string:"Add URL..."});case"AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL":return i({id:"AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL",string:"Failed to upload URL: %0. Please try again."},n);case"AI_CHAT_CONTEXT_INVALID_DATA":return i({id:"AI_CHAT_CONTEXT_INVALID_DATA",string:"Invalid context data type for the selected resource."});case"AI_CHAT_CONTEXT_UNSUPPORTED_TYPE":return i({id:"AI_CHAT_CONTEXT_UNSUPPORTED_TYPE",string:"Unsupported resource type. Only files and URLs are supported."});case"AI_CHAT_CONTEXT_URL_EMPTY_ERROR":return i({id:"AI_CHAT_CONTEXT_URL_EMPTY_ERROR",string:"URL cannot be empty."});case"AI_CHAT_CONTEXT_URL_INVALID_ERROR":return i({id:"AI_CHAT_CONTEXT_URL_INVALID_ERROR",string:"Please enter a valid URL."});case"AI_CHAT_INVALID_REQUEST":return i({id:"AI_CHAT_INVALID_REQUEST",string:"Something went wrong while processing your request. Please try again."});case"AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE":return i({id:"AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE",string:"The file type is not supported. Please upload a different file."});case"AI_CHAT_CONTEXT_FILE_TOO_LARGE":return i({id:"AI_CHAT_CONTEXT_FILE_TOO_LARGE",string:"The file is too large. Please upload a smaller file."});case"AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES":return i({id:"AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES",string:"The file has too many pages. Please upload a file with fewer pages."});case"AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED":return i({id:"AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED",string:"The form data size limits are exceeded. Please upload a smaller file."});case"AI_CHAT_FEED_LOADING_MESSAGE_REGULAR":return i({id:"AI_CHAT_FEED_LOADING_MESSAGE_REGULAR",string:"AI is preparing a response..."});case"AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH":return i({id:"AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH",string:"AI is searching the web to provide the most accurate answer..."});case"AI_CHAT_FEED_LOADING_MESSAGE_REASONING":return i({id:"AI_CHAT_FEED_LOADING_MESSAGE_REASONING",string:"AI is using reasoning to provide the most accurate answer..."});case"AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING":return i({id:"AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING",string:"AI is using reasoning and searching the web to provide the most accurate answer..."});case"AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH":return i({id:"AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH",string:"Scanned the internet for insights"});case"AI_CHAT_FEED_REPLY_ITEM_USED_REASONING":return i({id:"AI_CHAT_FEED_REPLY_ITEM_USED_REASONING",string:"AI used reasoning to improve the response"});case"AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING":return i({id:"AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING",string:"AI used search and reasoning to improve the response"});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR":return i({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR",string:"Ask AI anything..."});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH":return i({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH",string:"Ask AI anything (web search enabled)..."});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING":return i({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING",string:"Ask AI anything (reasoning enabled)..."});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING":return i({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING",string:"Ask AI anything (web search and reasoning enabled)..."});case"AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL":return i({id:"AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL",string:"Suggest all"},n);case"AI_CHAT_SUGGESTION_ACTION_SUGGEST":return i({id:"AI_CHAT_SUGGESTION_ACTION_SUGGEST",string:"Suggest"},n);case"AI_CHAT_SUGGESTION_ACTION_APPLY_ALL":return i({id:"AI_CHAT_SUGGESTION_ACTION_APPLY_ALL",string:"Apply all"});case"AI_CHAT_SUGGESTION_ACTION_APPLY":return i({id:"AI_CHAT_SUGGESTION_ACTION_APPLY",string:"Apply"});case"AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP":return i({id:"AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP",string:"More options"},n);case"AI_CHAT_MODEL_SELECTOR_GROUP":return i({id:"AI_CHAT_MODEL_SELECTOR_GROUP",string:"Models"});case"AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP":return i({id:"AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP",string:"Select a model"});case"AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP":return i({id:"AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP",string:"Start a new conversation to change the model"});case"AI_CHAT_CAPABILITIES_YES":return i({id:"AI_CHAT_CAPABILITIES_YES",string:"Yes"});case"AI_CHAT_CAPABILITIES_NO":return i({id:"AI_CHAT_CAPABILITIES_NO",string:"No"});case"AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT":return i({id:"AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT",string:"The selected model is no longer available, so you cannot continue this conversation. Please "});case"AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON":return i({id:"AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON",string:"start a new one."});case"AI_CHAT_CONTEXT_SOURCES_LABEL":return i({id:"AI_CHAT_CONTEXT_SOURCES_LABEL",string:"Sources"});case"AI_CHAT_HISTORY_HEADING":return i({id:"AI_CHAT_HISTORY_HEADING",string:"Chat History"});case"AI_CHAT_HISTORY_SEARCH_LABEL":return i({id:"AI_CHAT_HISTORY_SEARCH_LABEL",string:"Search history"});case"AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY":return i({id:"AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY",string:'No chats were found matching "%0".'},n);case"AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY":return i({id:"AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY",string:"Please try a different phrase or check the spelling."});case"AI_CHAT_HISTORY_EMPTY_MESSAGE":return i({id:"AI_CHAT_HISTORY_EMPTY_MESSAGE",string:"Your chat history for current document will appear here."});case"AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON":return i({id:"AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON",string:"Go to chat"});case"AI_CHAT_HISTORY_PIN_BUTTON":return i({id:"AI_CHAT_HISTORY_PIN_BUTTON",string:"Pin"});case"AI_CHAT_HISTORY_SHOW_MORE_ITEMS":return i({id:"AI_CHAT_HISTORY_SHOW_MORE_ITEMS",string:"Show more items"});case"AI_CHAT_HISTORY_EDIT_NAME":return i({id:"AI_CHAT_HISTORY_EDIT_NAME",string:"Edit name"});case"AI_CHAT_HISTORY_REMOVE":return i({id:"AI_CHAT_HISTORY_REMOVE",string:"Remove"});case"AI_CHAT_HISTORY_REMOVE_CONFIRM":return i({id:"AI_CHAT_HISTORY_REMOVE_CONFIRM",string:"Do you want to remove this chat?"});case"AI_CHAT_HISTORY_ACCEPT":return i({id:"AI_CHAT_HISTORY_ACCEPT",string:"Accept"});case"AI_CHAT_HISTORY_CANCEL":return i({id:"AI_CHAT_HISTORY_CANCEL",string:"Cancel"});case"AI_CHAT_HISTORY_LOADING_REMOVING":return i({id:"AI_CHAT_HISTORY_LOADING_REMOVING",string:"Removing the chat..."});case"AI_CHAT_HISTORY_LOADING_RENAMING":return i({id:"AI_CHAT_HISTORY_LOADING_RENAMING",string:"Renaming the chat..."});case"AI_CHAT_HISTORY_LOADING_PINNING":return i({id:"AI_CHAT_HISTORY_LOADING_PINNING",string:"Pinning the chat..."});case"AI_CHAT_HISTORY_LOADING_UNPINNING":return i({id:"AI_CHAT_HISTORY_LOADING_UNPINNING",string:"Unpinning the chat..."});case"AI_CHAT_HISTORY_CATEGORY_PINNED":return i({id:"AI_CHAT_HISTORY_CATEGORY_PINNED",string:"Pinned"});case"AI_CHAT_HISTORY_CATEGORY_TODAY":return i({id:"AI_CHAT_HISTORY_CATEGORY_TODAY",string:"Today"});case"AI_CHAT_HISTORY_CATEGORY_YESTERDAY":return i({id:"AI_CHAT_HISTORY_CATEGORY_YESTERDAY",string:"Yesterday"});case"AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS":return i({id:"AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS",string:"Last 14 days"});case"AI_CHAT_HISTORY_CATEGORY_LATER":return i({id:"AI_CHAT_HISTORY_CATEGORY_LATER",string:"Later"});case"AI_CHAT_HISTORY_ERROR_UPDATE_TITLE":return i({id:"AI_CHAT_HISTORY_ERROR_UPDATE_TITLE",string:'Failed to change the "%0" chat name. Please try again later.'},n);case"AI_CHAT_HISTORY_ERROR_UPDATE_PINNED":return i({id:"AI_CHAT_HISTORY_ERROR_UPDATE_PINNED",string:'Failed to %0 the "%1" chat. Please try again later.'},n);case"AI_CHAT_HISTORY_ERROR_REMOVE_ITEM":return i({id:"AI_CHAT_HISTORY_ERROR_REMOVE_ITEM",string:'Failed to delete the "%0" chat. Please try again later.'},n);case"AI_CHAT_HISTORY_ERROR_LOAD_ITEMS":return i({id:"AI_CHAT_HISTORY_ERROR_LOAD_ITEMS",string:"Failed to load the chat history. Please try again later."});case"AI_CHAT_HISTORY_ERROR_GENERIC":return i({id:"AI_CHAT_HISTORY_ERROR_GENERIC",string:"Something went wrong. Please try again later."});case"AI_CHAT_HISTORY_PIN_ACTION":return i({id:"AI_CHAT_HISTORY_PIN_ACTION",string:"pin"});case"AI_CHAT_HISTORY_UNPIN_ACTION":return i({id:"AI_CHAT_HISTORY_UNPIN_ACTION",string:"unpin"});case"AI_BALLOON_HEADER_TITLE":return i({id:"AI_BALLOON_HEADER_TITLE",string:"Change %0"},n);case"AI_BALLOON_APPLY_BUTTON":return i({id:"AI_BALLOON_APPLY_BUTTON",string:"Apply"});case"AI_BALLOON_SUGGEST_BUTTON":return i({id:"AI_BALLOON_SUGGEST_BUTTON",string:"Suggest"});case"AI_BALLOON_NEXT_LABEL":return i({id:"AI_BALLOON_NEXT_LABEL",string:"Next"});case"AI_BALLOON_PREVIOUS_LABEL":return i({id:"AI_BALLOON_PREVIOUS_LABEL",string:"Previous"});case"AI_SUGGESTION_NO_PARTS_WARNING":return i({id:"AI_SUGGESTION_NO_PARTS_WARNING",string:"This change is not supported by the editor and can't be previewed or applied."});case"AI_SUGGESTION_EMPTY_PART_WARNING":return i({id:"AI_SUGGESTION_EMPTY_PART_WARNING",string:"Some of the changes are not supported by the editor and can't be previewed or applied."});case"AI_ACTIONS_TRY_AGAIN":return i({id:"AI_ACTIONS_TRY_AGAIN",string:"Retry"});case"AI_ACTIONS_PREVIOUS_INTERACTION":return i({id:"AI_ACTIONS_PREVIOUS_INTERACTION",string:"Previous"});case"AI_ACTIONS_NEXT_INTERACTION":return i({id:"AI_ACTIONS_NEXT_INTERACTION",string:"Next"});case"AI_MODEL_NAME_AUTO":return i({id:"AI_MODEL_NAME_AUTO",string:"Auto"});case"AI_QUICK_ACTIONS_HEADING":return i({id:"AI_QUICK_ACTIONS_HEADING",string:"AI Quick Actions"});case"AI_QUICK_ACTIONS_SEARCH":return i({id:"AI_QUICK_ACTIONS_SEARCH",string:"Search AI commands"});case"AI_QUICK_ACTIONS_SEARCH_NOT_FOUND":return i({id:"AI_QUICK_ACTIONS_SEARCH_NOT_FOUND",string:"No AI commands found"});case"AI_QUICK_ACTIONS_ASK_AI":return i({id:"AI_QUICK_ACTIONS_ASK_AI",string:"Ask AI"});case"AI_QUICK_ACTIONS_CHAT_COMMANDS":return i({id:"AI_QUICK_ACTIONS_CHAT_COMMANDS",string:"Chat commands"});case"AI_QUICK_ACTIONS_IMPROVE_WRITING":return i({id:"AI_QUICK_ACTIONS_IMPROVE_WRITING",string:"Improve writing"});case"AI_QUICK_ACTIONS_CONTINUE_WRITING":return i({id:"AI_QUICK_ACTIONS_CONTINUE_WRITING",string:"Continue writing"});case"AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING":return i({id:"AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING",string:"Fix grammar & spelling"});case"AI_QUICK_ACTIONS_ADJUST_LENGTH":return i({id:"AI_QUICK_ACTIONS_ADJUST_LENGTH",string:"Adjust length"});case"AI_QUICK_ACTIONS_CHANGE_TONE":return i({id:"AI_QUICK_ACTIONS_CHANGE_TONE",string:"Change tone"});case"AI_QUICK_ACTIONS_TRANSLATE":return i({id:"AI_QUICK_ACTIONS_TRANSLATE",string:"Translate"});case"AI_QUICK_ACTIONS_EXPLAIN":return i({id:"AI_QUICK_ACTIONS_EXPLAIN",string:"Explain"});case"AI_QUICK_ACTIONS_SUMMARIZE":return i({id:"AI_QUICK_ACTIONS_SUMMARIZE",string:"Summarize"});case"AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS":return i({id:"AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS",string:"Highlight key points"});case"AI_QUICK_ACTIONS_MAKE_SHORTER":return i({id:"AI_QUICK_ACTIONS_MAKE_SHORTER",string:"Make shorter"});case"AI_QUICK_ACTIONS_MAKE_LONGER":return i({id:"AI_QUICK_ACTIONS_MAKE_LONGER",string:"Make longer"});case"AI_QUICK_ACTIONS_MORE_CASUAL":return i({id:"AI_QUICK_ACTIONS_MORE_CASUAL",string:"More casual"});case"AI_QUICK_ACTIONS_MORE_DIRECT":return i({id:"AI_QUICK_ACTIONS_MORE_DIRECT",string:"More direct"});case"AI_QUICK_ACTIONS_MORE_FRIENDLY":return i({id:"AI_QUICK_ACTIONS_MORE_FRIENDLY",string:"More friendly"});case"AI_QUICK_ACTIONS_MORE_CONFIDENT":return i({id:"AI_QUICK_ACTIONS_MORE_CONFIDENT",string:"More confident"});case"AI_QUICK_ACTIONS_MORE_PROFESSIONAL":return i({id:"AI_QUICK_ACTIONS_MORE_PROFESSIONAL",string:"More professional"});case"AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT":return i({id:"AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT",string:"Adjust based on the rest of the document"});case"AI_QUICK_ACTIONS_TRANSLATE_ENGLISH":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_ENGLISH",string:"English"});case"AI_QUICK_ACTIONS_TRANSLATE_CHINESE":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_CHINESE",string:"Chinese (Simplified)"});case"AI_QUICK_ACTIONS_TRANSLATE_FRENCH":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_FRENCH",string:"French"});case"AI_QUICK_ACTIONS_TRANSLATE_JAPANESE":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_JAPANESE",string:"Japanese"});case"AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE",string:"Portuguese"});case"AI_QUICK_ACTIONS_TRANSLATE_KOREAN":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_KOREAN",string:"Korean"});case"AI_QUICK_ACTIONS_TRANSLATE_ITALIAN":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_ITALIAN",string:"Italian"});case"AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN",string:"Russian"});case"AI_QUICK_ACTIONS_TRANSLATE_SPANISH":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_SPANISH",string:"Spanish"});case"AI_QUICK_ACTIONS_TRANSLATE_GERMAN":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_GERMAN",string:"German"});case"AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND":return i({id:"AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND",string:"%0 plugin is required but not found."},n);case"AI_QUICK_ACTIONS_OTHER":return i({id:"AI_QUICK_ACTIONS_OTHER",string:"Other"});case"AI_ACTIONS_GENERIC_ERROR":return i({id:"AI_ACTIONS_GENERIC_ERROR",string:"Sorry, we couldn't generate the response. Please try again in a moment."});case"AI_BALLOON_SELECTION_REMOVED_ERROR":return i({id:"AI_BALLOON_SELECTION_REMOVED_ERROR",string:"Changes cannot be applied. The original content no longer exists."});case"AI_REVIEW_MODE_STOP_GENERATING":return i({id:"AI_REVIEW_MODE_STOP_GENERATING",string:"Stop generating"});case"AI_REVIEW_MODE_HIDE_CHANGES":return i({id:"AI_REVIEW_MODE_HIDE_CHANGES",string:"Hide changes"});case"AI_REVIEW_MODE_SHOW_CHANGES":return i({id:"AI_REVIEW_MODE_SHOW_CHANGES",string:"Show changes"});case"AI_REVIEW_MODE_ACCEPT_ALL":return i({id:"AI_REVIEW_MODE_ACCEPT_ALL",string:"Accept all"});case"AI_REVIEW_MODE_EXIT_REVIEW":return i({id:"AI_REVIEW_MODE_EXIT_REVIEW",string:"Exit review"});case"AI_REVIEW_MODE_ACCEPT_CHANGE":return i({id:"AI_REVIEW_MODE_ACCEPT_CHANGE",string:"Accept"});case"AI_REVIEW_MODE_DISMISS_CHANGE":return i({id:"AI_REVIEW_MODE_DISMISS_CHANGE",string:"Dismiss"});case"AI_REVIEW_MODE_LEARN_MORE":return i({id:"AI_REVIEW_MODE_LEARN_MORE",string:"Learn more"});case"AI_REVIEW_MODE_COMPLETED_TEXT":return i({id:"AI_REVIEW_MODE_COMPLETED_TEXT",string:"There's nothing left to review."});case"AI_REVIEW_MODE_EMPTY_RESULTS_TEXT":return i({id:"AI_REVIEW_MODE_EMPTY_RESULTS_TEXT",string:"There are no changes to suggest."});case"AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL":return i({id:"AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL",string:"Finish Review"});case"AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE":return i({id:"AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE",string:"Review complete. Finish when ready."});case"AI_REVIEW_INITIALIZATION_ERROR_MESSAGE":return i({id:"AI_REVIEW_INITIALIZATION_ERROR_MESSAGE",string:"AI Review initialized with errors. Some features may not be available or work properly."});case"AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE":return i({id:"AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE",string:"Sorry, we couldn't generate the whole review properly. Please try again in a moment."});case"AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE":return i({id:"AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE",string:"Not everything went through, but the completed items are listed below."});case"AI_REVIEW_MODE":return i({id:"AI_REVIEW_MODE",string:"Review"});case"AI_REVIEW_MODE_PROMPT_EMPTY_ERROR":return i({id:"AI_REVIEW_MODE_PROMPT_EMPTY_ERROR",string:"Prompt must not be empty"});case"AI_REVIEW_CHECK_CUSTOM_TITLE":return i({id:"AI_REVIEW_CHECK_CUSTOM_TITLE",string:"Custom command"});case"AI_REVIEW_CHECK_CUSTOM_DESCRIPTION":return i({id:"AI_REVIEW_CHECK_CUSTOM_DESCRIPTION",string:"Enter a custom command for a specific review."});case"AI_REVIEW_CHECK_CORRECTNESS_TITLE":return i({id:"AI_REVIEW_CHECK_CORRECTNESS_TITLE",string:"Proofread"});case"AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION":return i({id:"AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION",string:"Check the text for errors in grammar, spelling, and punctuation."});case"AI_REVIEW_CHECK_CLARITY_TITLE":return i({id:"AI_REVIEW_CHECK_CLARITY_TITLE",string:"Improve clarity"});case"AI_REVIEW_CHECK_CLARITY_DESCRIPTION":return i({id:"AI_REVIEW_CHECK_CLARITY_DESCRIPTION",string:"Improve the logical structure and precision for clearer message."});case"AI_REVIEW_CHECK_READABILITY_TITLE":return i({id:"AI_REVIEW_CHECK_READABILITY_TITLE",string:"Improve readability"});case"AI_REVIEW_CHECK_READABILITY_DESCRIPTION":return i({id:"AI_REVIEW_CHECK_READABILITY_DESCRIPTION",string:"Adjust sentence structure and word choice for an easier read."});case"AI_REVIEW_CHECK_MAKE_TITLE":return i({id:"AI_REVIEW_CHECK_MAKE_TITLE",string:"Adjust length"});case"AI_REVIEW_CHECK_MAKE_DESCRIPTION":return i({id:"AI_REVIEW_CHECK_MAKE_DESCRIPTION",string:"Shorten or lengthen the text as needed."});case"AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL":return i({id:"AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL",string:"Adjust length"});case"AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER":return i({id:"AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER",string:"Longer"});case"AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER":return i({id:"AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER",string:"Shorter"});case"AI_REVIEW_CHECK_MAKE_TONE_TITLE":return i({id:"AI_REVIEW_CHECK_MAKE_TONE_TITLE",string:"Adjust tone and style"});case"AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION":return i({id:"AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION",string:"Modify the text to a desired tone and style."});case"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL":return i({id:"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL",string:"Adjust tone and style"});case"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL":return i({id:"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL",string:"Casual"});case"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT":return i({id:"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT",string:"Direct"});case"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY":return i({id:"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY",string:"Friendly"});case"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT":return i({id:"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT",string:"Confident"});case"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL":return i({id:"AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL",string:"Professional"});case"AI_REVIEW_CHECK_TRANSLATE_TITLE":return i({id:"AI_REVIEW_CHECK_TRANSLATE_TITLE",string:"Translate"});case"AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION":return i({id:"AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION",string:"Translate the text into another language."});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL",string:"Select language"});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH",string:"English"});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH",string:"Spanish"});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH",string:"French"});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN",string:"German"});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE",string:"Chinese (Simplified)"});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE",string:"Japanese"});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN",string:"Russian"});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE",string:"Portuguese"});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN",string:"Korean"});case"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN":return i({id:"AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN",string:"Italian"});case"AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED":return i({id:"AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED",string:"Accepted"});case"AI_REVIEW_MODE_CHECK_STATUS_REJECTED":return i({id:"AI_REVIEW_MODE_CHECK_STATUS_REJECTED",string:"Dismissed"});case"AI_REVIEW_MODE_CHECK_STATUS_OUTDATED":return i({id:"AI_REVIEW_MODE_CHECK_STATUS_OUTDATED",string:"Outdated"});case"AI_TOGGLE_BUTTON_LABEL":return i({id:"AI_TOGGLE_BUTTON_LABEL",string:"AI"});case"AI_TRANSLATE_ACCEPT_ALL":return i({id:"AI_TRANSLATE_ACCEPT_ALL",string:"Accept translation"});case"AI_TRANSLATE_FINISH_HEADER_TITLE":return i({id:"AI_TRANSLATE_FINISH_HEADER_TITLE",string:"Translation complete. Finish when ready."});case"AI_TRANSLATE_EMPTY_RESULTS_TEXT":return i({id:"AI_TRANSLATE_EMPTY_RESULTS_TEXT",string:"There are no translations to review."});case"AI_TRANSLATE_FINISH_BUTTON_LABEL":return i({id:"AI_TRANSLATE_FINISH_BUTTON_LABEL",string:"Finish Translation"});case"AI_TRANSLATE_CHECK_LIST_HEADER_TITLE":return i({id:"AI_TRANSLATE_CHECK_LIST_HEADER_TITLE",string:"Content Translation"});case"AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION":return i({id:"AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION",string:"A dedicated mode for translating the entire text."});case"AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE":return i({id:"AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE",string:"Translating to"});case"AI_TRANSLATE_CHECK_RESULTS_READY_TITLE":return i({id:"AI_TRANSLATE_CHECK_RESULTS_READY_TITLE",string:"Translated to"});case"AI_TRANSLATE_GENERAL_ERROR_MESSAGE":return i({id:"AI_TRANSLATE_GENERAL_ERROR_MESSAGE",string:"Sorry, we couldn't generate translations properly. Please try again in a moment."});case"AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE":return i({id:"AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE",string:"This conversation is loaded from chat history from a previous session, so you can’t apply, reject, or suggest changes."});case"AI_SUGGESTION_DISABLED_FEED_MESSAGE":return i({id:"AI_SUGGESTION_DISABLED_FEED_MESSAGE",string:"Actions aren’t available for changes from a previous session."});default:return e}}var tu=r(7800),eu={attributes:{"data-cke":!0}};eu.setAttributes=Et(),eu.insert=yt().bind(null,"head"),eu.domAPI=It(),eu.insertStyleElement=Ct();bt()(tu.A,eu);tu.A&&tu.A.locals&&tu.A.locals;function nu(t,e){const n=iu();return(nu=function(t,e){return n[t-=362]})(t,e)}function iu(){const t=["AI_TABS_LABEL_MINIMIZE","678zXpftK","isOn","2874vRvPPc","124408gMegRR","61uNNLyq","588yHGJmt","icon","532BTytnn","4DYOeGs","ck-ai-tabs__resize ck-ai-button-tertiary","20234242HCTyCq","execute","fire","bind","13ngIMYH","AI_TABS_LABEL_MAXIMIZE","3732633DDFYDe","22797VZDliH","label","185AWqmhb","isMaximized","269907FjIxYa","set","1690HLGNgz","resizeTabs"];return(iu=function(){return t})()}function ru(t,e){const n=nu,r=new a.ButtonView(t),s=Zl(t,n(371)),o=Zl(t,n(387));return r[n(368)]({withText:!1,icon:i.IconMaximize,tooltip:!0,class:n(381)}),r[n(385)](n(364)).to(e,n(366),t=>t?s:o),r[n(385)](n(378)).to(e,n(366),t=>t?i.IconMinimize:i.IconMaximize),r[n(385)](n(373)).to(e,n(366)),r.on(n(383),()=>{const t=n;e[t(384)](t(370))}),r}var su;!function(t){const e=nu,n=t();for(;;)try{if(649926===parseInt(e(376))/1*(-parseInt(e(374))/2)+-parseInt(e(362))/3*(-parseInt(e(380))/4)+parseInt(e(365))/5*(parseInt(e(372))/6)+parseInt(e(379))/7*(-parseInt(e(375))/8)+parseInt(e(363))/9*(parseInt(e(369))/10)+parseInt(e(367))/11*(-parseInt(e(377))/12)+-parseInt(e(386))/13*(-parseInt(e(382))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(iu),function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"}(su||(su={}));const ou=su.Root,au=su.Text,cu=su.Directive,lu=su.Comment,uu=su.Script,hu=su.Style,du=su.Tag,pu=su.CDATA,fu=su.Doctype;class gu{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return xu(this,t)}}class mu extends gu{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class ku extends mu{constructor(){super(...arguments),this.type=su.Text}get nodeType(){return 3}}class _u extends mu{constructor(){super(...arguments),this.type=su.Comment}get nodeType(){return 8}}class bu extends mu{constructor(t,e){super(e),this.name=t,this.type=su.Directive}get nodeType(){return 1}}class wu extends gu{constructor(t){super(),this.children=t}get firstChild(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class Iu extends wu{constructor(){super(...arguments),this.type=su.CDATA}get nodeType(){return 4}}class vu extends wu{constructor(){super(...arguments),this.type=su.Root}get nodeType(){return 9}}class yu extends wu{constructor(t,e,n=[],i=("script"===t?su.Script:"style"===t?su.Style:su.Tag)){super(n),this.name=t,this.attribs=e,this.type=i}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var e,n;return{name:t,value:this.attribs[t],namespace:null===(e=this["x-attribsNamespace"])||void 0===e?void 0:e[t],prefix:null===(n=this["x-attribsPrefix"])||void 0===n?void 0:n[t]}})}}function Au(t){return(e=t).type===su.Tag||e.type===su.Script||e.type===su.Style;var e}function Eu(t){return t.type===su.Text}function Tu(t){return t.type===su.Comment}function Cu(t){return t.type===su.Root}function Su(t){return Object.prototype.hasOwnProperty.call(t,"children")}function xu(t,e=!1){let n;if(Eu(t))n=new ku(t.data);else if(Tu(t))n=new _u(t.data);else if(Au(t)){const i=e?Ru(t.children):[],r=new yu(t.name,{...t.attribs},i);i.forEach(t=>t.parent=r),null!=t.namespace&&(r.namespace=t.namespace),t["x-attribsNamespace"]&&(r["x-attribsNamespace"]={...t["x-attribsNamespace"]}),t["x-attribsPrefix"]&&(r["x-attribsPrefix"]={...t["x-attribsPrefix"]}),n=r}else if(function(t){return t.type===su.CDATA}(t)){const i=e?Ru(t.children):[],r=new Iu(i);i.forEach(t=>t.parent=r),n=r}else if(Cu(t)){const i=e?Ru(t.children):[],r=new vu(i);i.forEach(t=>t.parent=r),t["x-mode"]&&(r["x-mode"]=t["x-mode"]),n=r}else{if(!function(t){return t.type===su.Directive}(t))throw new Error(`Not implemented yet: ${t.type}`);{const e=new bu(t.name,t.data);null!=t["x-name"]&&(e["x-name"]=t["x-name"],e["x-publicId"]=t["x-publicId"],e["x-systemId"]=t["x-systemId"]),n=e}}return n.startIndex=t.startIndex,n.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function Ru(t){const e=t.map(t=>xu(t,!0));for(let t=1;t<e.length;t++)e[t].prev=e[t-1],e[t-1].next=e[t];return e}const Nu={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class Ou{constructor(t,e,n){this.dom=[],this.root=new vu(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof e&&(n=e,e=Nu),"object"==typeof t&&(e=t,t=void 0),this.callback=null!=t?t:null,this.options=null!=e?e:Nu,this.elementCB=null!=n?n:null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new vu(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;const t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,e){const n=this.options.xmlMode?su.Tag:void 0,i=new yu(t,e,void 0,n);this.addNode(i),this.tagStack.push(i)}ontext(t){const{lastNode:e}=this;if(e&&e.type===su.Text)e.data+=t,this.options.withEndIndices&&(e.endIndex=this.parser.endIndex);else{const e=new ku(t);this.addNode(e),this.lastNode=e}}oncomment(t){if(this.lastNode&&this.lastNode.type===su.Comment)return void(this.lastNode.data+=t);const e=new _u(t);this.addNode(e),this.lastNode=e}oncommentend(){this.lastNode=null}oncdatastart(){const t=new ku(""),e=new Iu([t]);this.addNode(e),t.parent=e,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,e){const n=new bu(t,e);this.addNode(n)}handleCallback(t){if("function"==typeof this.callback)this.callback(t,this.dom);else if(t)throw t}addNode(t){const e=this.tagStack[this.tagStack.length-1],n=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),n&&(t.prev=n,n.next=t),t.parent=e,this.lastNode=null}}const Lu=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(t=>t.charCodeAt(0))),Du=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var Pu;const Mu=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]]),Vu=null!==(Pu=String.fromCodePoint)&&void 0!==Pu?Pu:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};function Bu(t){var e;return t>=55296&&t<=57343||t>1114111?65533:null!==(e=Mu.get(t))&&void 0!==e?e:t}var Hu;!function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(Hu||(Hu={}));var Uu,qu,Fu;function zu(t){return t>=Hu.ZERO&&t<=Hu.NINE}function Gu(t){return t>=Hu.UPPER_A&&t<=Hu.UPPER_F||t>=Hu.LOWER_A&&t<=Hu.LOWER_F}function ju(t){return t===Hu.EQUALS||function(t){return t>=Hu.UPPER_A&&t<=Hu.UPPER_Z||t>=Hu.LOWER_A&&t<=Hu.LOWER_Z||zu(t)}(t)}!function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(Uu||(Uu={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(qu||(qu={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(Fu||(Fu={}));class Wu{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=qu.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Fu.Strict}startEntity(t){this.decodeMode=t,this.state=qu.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case qu.EntityStart:return t.charCodeAt(e)===Hu.NUM?(this.state=qu.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=qu.NamedEntity,this.stateNamedEntity(t,e));case qu.NumericStart:return this.stateNumericStart(t,e);case qu.NumericDecimal:return this.stateNumericDecimal(t,e);case qu.NumericHex:return this.stateNumericHex(t,e);case qu.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===Hu.LOWER_X?(this.state=qu.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=qu.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,i){if(e!==n){const r=n-e;this.result=this.result*Math.pow(i,r)+Number.parseInt(t.substr(e,r),i),this.consumed+=r}}stateNumericHex(t,e){const n=e;for(;e<t.length;){const i=t.charCodeAt(e);if(!zu(i)&&!Gu(i))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(i,3);e+=1}return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e<t.length;){const i=t.charCodeAt(e);if(!zu(i))return this.addToNumericResult(t,n,e,10),this.emitNumericEntity(i,2);e+=1}return this.addToNumericResult(t,n,e,10),-1}emitNumericEntity(t,e){var n;if(this.consumed<=e)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Hu.SEMI)this.consumed+=1;else if(this.decodeMode===Fu.Strict)return 0;return this.emitCodePoint(Bu(this.result),this.consumed),this.errors&&(t!==Hu.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let i=n[this.treeIndex],r=(i&Uu.VALUE_LENGTH)>>14;for(;e<t.length;e++,this.excess++){const s=t.charCodeAt(e);if(this.treeIndex=Ku(n,i,this.treeIndex+Math.max(1,r),s),this.treeIndex<0)return 0===this.result||this.decodeMode===Fu.Attribute&&(0===r||ju(s))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],r=(i&Uu.VALUE_LENGTH)>>14,0!==r){if(s===Hu.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==Fu.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,i=(n[e]&Uu.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,i,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:i}=this;return this.emitCodePoint(1===e?i[t]&~Uu.VALUE_LENGTH:i[t+1],n),3===e&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case qu.NamedEntity:return 0===this.result||this.decodeMode===Fu.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case qu.NumericDecimal:return this.emitNumericEntity(0,2);case qu.NumericHex:return this.emitNumericEntity(0,3);case qu.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case qu.EntityStart:return 0}}}function Ku(t,e,n,i){const r=(e&Uu.BRANCH_LENGTH)>>7,s=e&Uu.JUMP_TABLE;if(0===r)return 0!==s&&i===s?n:-1;if(s){const e=i-s;return e<0||e>=r?-1:t[n+e]-1}let o=n,a=o+r-1;for(;o<=a;){const e=o+a>>>1,n=t[e];if(n<i)o=e+1;else{if(!(n>i))return t[e+r];a=e-1}}return-1}var Yu,$u,Qu;function Xu(t){return t===Yu.Space||t===Yu.NewLine||t===Yu.Tab||t===Yu.FormFeed||t===Yu.CarriageReturn}function Ju(t){return t===Yu.Slash||t===Yu.Gt||Xu(t)}!function(t){t[t.Tab=9]="Tab",t[t.NewLine=10]="NewLine",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.Number=35]="Number",t[t.Amp=38]="Amp",t[t.SingleQuote=39]="SingleQuote",t[t.DoubleQuote=34]="DoubleQuote",t[t.Dash=45]="Dash",t[t.Slash=47]="Slash",t[t.Zero=48]="Zero",t[t.Nine=57]="Nine",t[t.Semi=59]="Semi",t[t.Lt=60]="Lt",t[t.Eq=61]="Eq",t[t.Gt=62]="Gt",t[t.Questionmark=63]="Questionmark",t[t.UpperA=65]="UpperA",t[t.LowerA=97]="LowerA",t[t.UpperF=70]="UpperF",t[t.LowerF=102]="LowerF",t[t.UpperZ=90]="UpperZ",t[t.LowerZ=122]="LowerZ",t[t.LowerX=120]="LowerX",t[t.OpeningSquareBracket=91]="OpeningSquareBracket"}(Yu||(Yu={})),function(t){t[t.Text=1]="Text",t[t.BeforeTagName=2]="BeforeTagName",t[t.InTagName=3]="InTagName",t[t.InSelfClosingTag=4]="InSelfClosingTag",t[t.BeforeClosingTagName=5]="BeforeClosingTagName",t[t.InClosingTagName=6]="InClosingTagName",t[t.AfterClosingTagName=7]="AfterClosingTagName",t[t.BeforeAttributeName=8]="BeforeAttributeName",t[t.InAttributeName=9]="InAttributeName",t[t.AfterAttributeName=10]="AfterAttributeName",t[t.BeforeAttributeValue=11]="BeforeAttributeValue",t[t.InAttributeValueDq=12]="InAttributeValueDq",t[t.InAttributeValueSq=13]="InAttributeValueSq",t[t.InAttributeValueNq=14]="InAttributeValueNq",t[t.BeforeDeclaration=15]="BeforeDeclaration",t[t.InDeclaration=16]="InDeclaration",t[t.InProcessingInstruction=17]="InProcessingInstruction",t[t.BeforeComment=18]="BeforeComment",t[t.CDATASequence=19]="CDATASequence",t[t.InSpecialComment=20]="InSpecialComment",t[t.InCommentLike=21]="InCommentLike",t[t.BeforeSpecialS=22]="BeforeSpecialS",t[t.BeforeSpecialT=23]="BeforeSpecialT",t[t.SpecialStartSequence=24]="SpecialStartSequence",t[t.InSpecialTag=25]="InSpecialTag",t[t.InEntity=26]="InEntity"}($u||($u={})),function(t){t[t.NoValue=0]="NoValue",t[t.Unquoted=1]="Unquoted",t[t.Single=2]="Single",t[t.Double=3]="Double"}(Qu||(Qu={}));const Zu={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]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class th{constructor({xmlMode:t=!1,decodeEntities:e=!0},n){this.cbs=n,this.state=$u.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=$u.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=e,this.entityDecoder=new Wu(t?Du:Lu,(t,e)=>this.emitCodePoint(t,e))}reset(){this.state=$u.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=$u.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(t){t===Yu.Lt||!this.decodeEntities&&this.fastForwardTo(Yu.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=$u.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===Yu.Amp&&this.startEntity()}stateSpecialStartSequence(t){const e=this.sequenceIndex===this.currentSequence.length;if(e?Ju(t):(32|t)===this.currentSequence[this.sequenceIndex]){if(!e)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=$u.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===Yu.Gt||Xu(t)){const e=this.index-this.currentSequence.length;if(this.sectionStart<e){const t=this.index;this.index=e,this.cbs.ontext(this.sectionStart,e),this.index=t}return this.isSpecial=!1,this.sectionStart=e+2,void this.stateInClosingTagName(t)}this.sequenceIndex=0}(32|t)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Zu.TitleEnd?this.decodeEntities&&t===Yu.Amp&&this.startEntity():this.fastForwardTo(Yu.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(t===Yu.Lt)}stateCDATASequence(t){t===Zu.Cdata[this.sequenceIndex]?++this.sequenceIndex===Zu.Cdata.length&&(this.state=$u.InCommentLike,this.currentSequence=Zu.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=$u.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Zu.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=$u.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!Ju(t):function(t){return t>=Yu.LowerA&&t<=Yu.LowerZ||t>=Yu.UpperA&&t<=Yu.UpperZ}(t)}startSpecial(t,e){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=e,this.state=$u.SpecialStartSequence}stateBeforeTagName(t){if(t===Yu.ExclamationMark)this.state=$u.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===Yu.Questionmark)this.state=$u.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const e=32|t;this.sectionStart=this.index,this.xmlMode?this.state=$u.InTagName:e===Zu.ScriptEnd[2]?this.state=$u.BeforeSpecialS:e===Zu.TitleEnd[2]||e===Zu.XmpEnd[2]?this.state=$u.BeforeSpecialT:this.state=$u.InTagName}else t===Yu.Slash?this.state=$u.BeforeClosingTagName:(this.state=$u.Text,this.stateText(t))}stateInTagName(t){Ju(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=$u.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){Xu(t)||(t===Yu.Gt?this.state=$u.Text:(this.state=this.isTagStartChar(t)?$u.InClosingTagName:$u.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===Yu.Gt||Xu(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=$u.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===Yu.Gt||this.fastForwardTo(Yu.Gt))&&(this.state=$u.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===Yu.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=$u.InSpecialTag,this.sequenceIndex=0):this.state=$u.Text,this.sectionStart=this.index+1):t===Yu.Slash?this.state=$u.InSelfClosingTag:Xu(t)||(this.state=$u.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===Yu.Gt?(this.cbs.onselfclosingtag(this.index),this.state=$u.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Xu(t)||(this.state=$u.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===Yu.Eq||Ju(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=$u.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===Yu.Eq?this.state=$u.BeforeAttributeValue:t===Yu.Slash||t===Yu.Gt?(this.cbs.onattribend(Qu.NoValue,this.sectionStart),this.sectionStart=-1,this.state=$u.BeforeAttributeName,this.stateBeforeAttributeName(t)):Xu(t)||(this.cbs.onattribend(Qu.NoValue,this.sectionStart),this.state=$u.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===Yu.DoubleQuote?(this.state=$u.InAttributeValueDq,this.sectionStart=this.index+1):t===Yu.SingleQuote?(this.state=$u.InAttributeValueSq,this.sectionStart=this.index+1):Xu(t)||(this.sectionStart=this.index,this.state=$u.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,e){t===e||!this.decodeEntities&&this.fastForwardTo(e)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===Yu.DoubleQuote?Qu.Double:Qu.Single,this.index+1),this.state=$u.BeforeAttributeName):this.decodeEntities&&t===Yu.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,Yu.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,Yu.SingleQuote)}stateInAttributeValueNoQuotes(t){Xu(t)||t===Yu.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Qu.Unquoted,this.index),this.state=$u.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===Yu.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===Yu.OpeningSquareBracket?(this.state=$u.CDATASequence,this.sequenceIndex=0):this.state=t===Yu.Dash?$u.BeforeComment:$u.InDeclaration}stateInDeclaration(t){(t===Yu.Gt||this.fastForwardTo(Yu.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=$u.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===Yu.Gt||this.fastForwardTo(Yu.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=$u.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===Yu.Dash?(this.state=$u.InCommentLike,this.currentSequence=Zu.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=$u.InDeclaration}stateInSpecialComment(t){(t===Yu.Gt||this.fastForwardTo(Yu.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=$u.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){const e=32|t;e===Zu.ScriptEnd[3]?this.startSpecial(Zu.ScriptEnd,4):e===Zu.StyleEnd[3]?this.startSpecial(Zu.StyleEnd,4):(this.state=$u.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){switch(32|t){case Zu.TitleEnd[3]:this.startSpecial(Zu.TitleEnd,4);break;case Zu.TextareaEnd[3]:this.startSpecial(Zu.TextareaEnd,4);break;case Zu.XmpEnd[3]:this.startSpecial(Zu.XmpEnd,4);break;default:this.state=$u.InTagName,this.stateInTagName(t)}}startEntity(){this.baseState=this.state,this.state=$u.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Fu.Strict:this.baseState===$u.Text||this.baseState===$u.InSpecialTag?Fu.Legacy:Fu.Attribute)}stateInEntity(){const t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,0===t&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===$u.Text||this.state===$u.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==$u.InAttributeValueDq&&this.state!==$u.InAttributeValueSq&&this.state!==$u.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const t=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case $u.Text:this.stateText(t);break;case $u.SpecialStartSequence:this.stateSpecialStartSequence(t);break;case $u.InSpecialTag:this.stateInSpecialTag(t);break;case $u.CDATASequence:this.stateCDATASequence(t);break;case $u.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(t);break;case $u.InAttributeName:this.stateInAttributeName(t);break;case $u.InCommentLike:this.stateInCommentLike(t);break;case $u.InSpecialComment:this.stateInSpecialComment(t);break;case $u.BeforeAttributeName:this.stateBeforeAttributeName(t);break;case $u.InTagName:this.stateInTagName(t);break;case $u.InClosingTagName:this.stateInClosingTagName(t);break;case $u.BeforeTagName:this.stateBeforeTagName(t);break;case $u.AfterAttributeName:this.stateAfterAttributeName(t);break;case $u.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(t);break;case $u.BeforeAttributeValue:this.stateBeforeAttributeValue(t);break;case $u.BeforeClosingTagName:this.stateBeforeClosingTagName(t);break;case $u.AfterClosingTagName:this.stateAfterClosingTagName(t);break;case $u.BeforeSpecialS:this.stateBeforeSpecialS(t);break;case $u.BeforeSpecialT:this.stateBeforeSpecialT(t);break;case $u.InAttributeValueNq:this.stateInAttributeValueNoQuotes(t);break;case $u.InSelfClosingTag:this.stateInSelfClosingTag(t);break;case $u.InDeclaration:this.stateInDeclaration(t);break;case $u.BeforeDeclaration:this.stateBeforeDeclaration(t);break;case $u.BeforeComment:this.stateBeforeComment(t);break;case $u.InProcessingInstruction:this.stateInProcessingInstruction(t);break;case $u.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===$u.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length+this.offset;this.sectionStart>=t||(this.state===$u.InCommentLike?this.currentSequence===Zu.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===$u.InTagName||this.state===$u.BeforeAttributeName||this.state===$u.BeforeAttributeValue||this.state===$u.AfterAttributeName||this.state===$u.InAttributeName||this.state===$u.InAttributeValueSq||this.state===$u.InAttributeValueDq||this.state===$u.InAttributeValueNq||this.state===$u.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==$u.Text&&this.baseState!==$u.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.onattribentity(t)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.ontextentity(t,this.sectionStart))}}const eh=new Set(["input","option","optgroup","select","button","datalist","textarea"]),nh=new Set(["p"]),ih=new Set(["thead","tbody"]),rh=new Set(["dd","dt"]),sh=new Set(["rt","rp"]),oh=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",nh],["h1",nh],["h2",nh],["h3",nh],["h4",nh],["h5",nh],["h6",nh],["select",eh],["input",eh],["output",eh],["button",eh],["datalist",eh],["textarea",eh],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",rh],["dt",rh],["address",nh],["article",nh],["aside",nh],["blockquote",nh],["details",nh],["div",nh],["dl",nh],["fieldset",nh],["figcaption",nh],["figure",nh],["footer",nh],["form",nh],["header",nh],["hr",nh],["main",nh],["nav",nh],["ol",nh],["pre",nh],["section",nh],["table",nh],["ul",nh],["rt",sh],["rp",sh],["tbody",ih],["tfoot",ih]]),ah=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),ch=new Set(["math","svg"]),lh=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),uh=/\s|\//;class hh{constructor(t,e={}){var n,i,r,s,o,a;this.options=e,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=t?t:{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=null!==(n=e.lowerCaseTags)&&void 0!==n?n:this.htmlMode,this.lowerCaseAttributeNames=null!==(i=e.lowerCaseAttributeNames)&&void 0!==i?i:this.htmlMode,this.recognizeSelfClosing=null!==(r=e.recognizeSelfClosing)&&void 0!==r?r:!this.htmlMode,this.tokenizer=new(null!==(s=e.Tokenizer)&&void 0!==s?s:th)(this.options,this),this.foreignContext=[!this.htmlMode],null===(a=(o=this.cbs).onparserinit)||void 0===a||a.call(o,this)}ontext(t,e){var n,i;const r=this.getSlice(t,e);this.endIndex=e-1,null===(i=(n=this.cbs).ontext)||void 0===i||i.call(n,r),this.startIndex=e}ontextentity(t,e){var n,i;this.endIndex=e-1,null===(i=(n=this.cbs).ontext)||void 0===i||i.call(n,Vu(t)),this.startIndex=e}isVoidElement(t){return this.htmlMode&&ah.has(t)}onopentagname(t,e){this.endIndex=e;let n=this.getSlice(t,e);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)}emitOpenTag(t){var e,n,i,r;this.openTagStart=this.startIndex,this.tagname=t;const s=this.htmlMode&&oh.get(t);if(s)for(;this.stack.length>0&&s.has(this.stack[0]);){const t=this.stack.shift();null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,t,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(ch.has(t)?this.foreignContext.unshift(!0):lh.has(t)&&this.foreignContext.unshift(!1))),null===(r=(i=this.cbs).onopentagname)||void 0===r||r.call(i,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var e,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(e=this.cbs).onopentag)||void 0===n||n.call(e,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,e){var n,i,r,s,o,a,c,l;this.endIndex=e;let u=this.getSlice(t,e);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),this.htmlMode&&(ch.has(u)||lh.has(u))&&this.foreignContext.shift(),this.isVoidElement(u))this.htmlMode&&"br"===u&&(null===(s=(r=this.cbs).onopentagname)||void 0===s||s.call(r,"br"),null===(a=(o=this.cbs).onopentag)||void 0===a||a.call(o,"br",{},!0),null===(l=(c=this.cbs).onclosetag)||void 0===l||l.call(c,"br",!1));else{const t=this.stack.indexOf(u);if(-1!==t)for(let e=0;e<=t;e++){const r=this.stack.shift();null===(i=(n=this.cbs).onclosetag)||void 0===i||i.call(n,r,e!==t)}else this.htmlMode&&"p"===u&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=e+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var e,n;const i=this.tagname;this.endOpenTag(t),this.stack[0]===i&&(null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,i,!t),this.stack.shift())}onattribname(t,e){this.startIndex=t;const n=this.getSlice(t,e);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(t,e){this.attribvalue+=this.getSlice(t,e)}onattribentity(t){this.attribvalue+=Vu(t)}onattribend(t,e){var n,i;this.endIndex=e,null===(i=(n=this.cbs).onattribute)||void 0===i||i.call(n,this.attribname,this.attribvalue,t===Qu.Double?'"':t===Qu.Single?"'":t===Qu.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const e=t.search(uh);let n=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(t,e){this.endIndex=e;const n=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){const t=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${t}`,`!${n}`)}this.startIndex=e+1}onprocessinginstruction(t,e){this.endIndex=e;const n=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){const t=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${t}`,`?${n}`)}this.startIndex=e+1}oncomment(t,e,n){var i,r,s,o;this.endIndex=e,null===(r=(i=this.cbs).oncomment)||void 0===r||r.call(i,this.getSlice(t,e-n)),null===(o=(s=this.cbs).oncommentend)||void 0===o||o.call(s),this.startIndex=e+1}oncdata(t,e,n){var i,r,s,o,a,c,l,u,h,d;this.endIndex=e;const p=this.getSlice(t,e-n);!this.htmlMode||this.options.recognizeCDATA?(null===(r=(i=this.cbs).oncdatastart)||void 0===r||r.call(i),null===(o=(s=this.cbs).ontext)||void 0===o||o.call(s,p),null===(c=(a=this.cbs).oncdataend)||void 0===c||c.call(a)):(null===(u=(l=this.cbs).oncomment)||void 0===u||u.call(l,`[CDATA[${p}]]`),null===(d=(h=this.cbs).oncommentend)||void 0===d||d.call(h)),this.startIndex=e+1}onend(){var t,e;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let t=0;t<this.stack.length;t++)this.cbs.onclosetag(this.stack[t],!0)}null===(e=(t=this.cbs).onend)||void 0===e||e.call(t)}reset(){var t,e,n,i;null===(e=(t=this.cbs).onreset)||void 0===e||e.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(i=(n=this.cbs).onparserinit)||void 0===i||i.call(n,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,e){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(t-this.bufferOffset,e-this.bufferOffset);for(;e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,e-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var e,n;this.ended?null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,new Error(".write() after done!")):(this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++))}end(t){var e,n;this.ended?null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,new Error(".end() after done!")):(t&&this.write(t),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}}const dh=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(t=>t.charCodeAt(0))),ph=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var fh;const gh=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]]),mh=null!==(fh=String.fromCodePoint)&&void 0!==fh?fh:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};function kh(t){var e;return t>=55296&&t<=57343||t>1114111?65533:null!==(e=gh.get(t))&&void 0!==e?e:t}var _h;!function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(_h||(_h={}));var bh,wh,Ih;function vh(t){return t>=_h.ZERO&&t<=_h.NINE}function yh(t){return t>=_h.UPPER_A&&t<=_h.UPPER_F||t>=_h.LOWER_A&&t<=_h.LOWER_F}function Ah(t){return t===_h.EQUALS||function(t){return t>=_h.UPPER_A&&t<=_h.UPPER_Z||t>=_h.LOWER_A&&t<=_h.LOWER_Z||vh(t)}(t)}!function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(bh||(bh={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(wh||(wh={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(Ih||(Ih={}));class Eh{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=wh.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ih.Strict}startEntity(t){this.decodeMode=t,this.state=wh.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case wh.EntityStart:return t.charCodeAt(e)===_h.NUM?(this.state=wh.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=wh.NamedEntity,this.stateNamedEntity(t,e));case wh.NumericStart:return this.stateNumericStart(t,e);case wh.NumericDecimal:return this.stateNumericDecimal(t,e);case wh.NumericHex:return this.stateNumericHex(t,e);case wh.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===_h.LOWER_X?(this.state=wh.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=wh.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,i){if(e!==n){const r=n-e;this.result=this.result*Math.pow(i,r)+parseInt(t.substr(e,r),i),this.consumed+=r}}stateNumericHex(t,e){const n=e;for(;e<t.length;){const i=t.charCodeAt(e);if(!vh(i)&&!yh(i))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(i,3);e+=1}return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e<t.length;){const i=t.charCodeAt(e);if(!vh(i))return this.addToNumericResult(t,n,e,10),this.emitNumericEntity(i,2);e+=1}return this.addToNumericResult(t,n,e,10),-1}emitNumericEntity(t,e){var n;if(this.consumed<=e)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===_h.SEMI)this.consumed+=1;else if(this.decodeMode===Ih.Strict)return 0;return this.emitCodePoint(kh(this.result),this.consumed),this.errors&&(t!==_h.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let i=n[this.treeIndex],r=(i&bh.VALUE_LENGTH)>>14;for(;e<t.length;e++,this.excess++){const s=t.charCodeAt(e);if(this.treeIndex=Ch(n,i,this.treeIndex+Math.max(1,r),s),this.treeIndex<0)return 0===this.result||this.decodeMode===Ih.Attribute&&(0===r||Ah(s))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],r=(i&bh.VALUE_LENGTH)>>14,0!==r){if(s===_h.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==Ih.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,i=(n[e]&bh.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,i,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:i}=this;return this.emitCodePoint(1===e?i[t]&~bh.VALUE_LENGTH:i[t+1],n),3===e&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case wh.NamedEntity:return 0===this.result||this.decodeMode===Ih.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case wh.NumericDecimal:return this.emitNumericEntity(0,2);case wh.NumericHex:return this.emitNumericEntity(0,3);case wh.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case wh.EntityStart:return 0}}}function Th(t){let e="";const n=new Eh(t,t=>e+=mh(t));return function(t,i){let r=0,s=0;for(;(s=t.indexOf("&",s))>=0;){e+=t.slice(r,s),n.startEntity(i);const o=n.write(t,s+1);if(o<0){r=s+n.end();break}r=s+o,s=0===o?r+1:r}const o=e+t.slice(r);return e="",o}}function Ch(t,e,n,i){const r=(e&bh.BRANCH_LENGTH)>>7,s=e&bh.JUMP_TABLE;if(0===r)return 0!==s&&i===s?n:-1;if(s){const e=i-s;return e<0||e>=r?-1:t[n+e]-1}let o=n,a=o+r-1;for(;o<=a;){const e=o+a>>>1,n=t[e];if(n<i)o=e+1;else{if(!(n>i))return t[e+r];a=e-1}}return-1}Th(dh),Th(ph);function Sh(t){for(let e=1;e<t.length;e++)t[e][0]+=t[e-1][0]+1;return t}new Map(Sh([[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(Sh([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(Sh([[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(Sh([[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;"]]));const xh=/["&'<>$\x80-\uFFFF]/g,Rh=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),Nh=null!=String.prototype.codePointAt?(t,e)=>t.codePointAt(e):(t,e)=>55296==(64512&t.charCodeAt(e))?1024*(t.charCodeAt(e)-55296)+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function Oh(t){let e,n="",i=0;for(;null!==(e=xh.exec(t));){const r=e.index,s=t.charCodeAt(r),o=Rh.get(s);void 0!==o?(n+=t.substring(i,r)+o,i=r+1):(n+=`${t.substring(i,r)}&#x${Nh(t,r).toString(16)};`,i=xh.lastIndex+=Number(55296==(64512&s)))}return n+t.substr(i)}function Lh(t,e){return function(n){let i,r=0,s="";for(;i=t.exec(n);)r!==i.index&&(s+=n.substring(r,i.index)),s+=e.get(i[0].charCodeAt(0)),r=i.index+1;return s+n.substring(r)}}Lh(/[&<>'"]/g,Rh);const Dh=Lh(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Ph=Lh(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var Mh,Vh;!function(t){t[t.XML=0]="XML",t[t.HTML=1]="HTML"}(Mh||(Mh={})),function(t){t[t.UTF8=0]="UTF8",t[t.ASCII=1]="ASCII",t[t.Extensive=2]="Extensive",t[t.Attribute=3]="Attribute",t[t.Text=4]="Text"}(Vh||(Vh={}));const Bh=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(t=>[t.toLowerCase(),t])),Hh=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(t=>[t.toLowerCase(),t])),Uh=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function qh(t){return t.replace(/"/g,"&quot;")}const Fh=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function zh(t,e={}){const n="length"in t?t:[t];let i="";for(let t=0;t<n.length;t++)i+=jh(n[t],e);return i}const Gh=zh;function jh(t,e){switch(t.type){case ou:return zh(t.children,e);case fu:case cu:return`<${t.data}>`;case lu:return function(t){return`\x3c!--${t.data}--\x3e`}(t);case pu:return function(t){return`<![CDATA[${t.children[0].data}]]>`}(t);case uu:case hu:case du:return function(t,e){var n;"foreign"===e.xmlMode&&(t.name=null!==(n=Bh.get(t.name))&&void 0!==n?n:t.name,t.parent&&Wh.has(t.parent.name)&&(e={...e,xmlMode:!1}));!e.xmlMode&&Kh.has(t.name)&&(e={...e,xmlMode:"foreign"});let i=`<${t.name}`;const r=function(t,e){var n;if(!t)return;const i=!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)?qh:e.xmlMode||"utf8"!==e.encodeEntities?Oh:Dh;return Object.keys(t).map(n=>{var r,s;const o=null!==(r=t[n])&&void 0!==r?r:"";return"foreign"===e.xmlMode&&(n=null!==(s=Hh.get(n))&&void 0!==s?s:n),e.emptyAttrs||e.xmlMode||""!==o?`${n}="${i(o)}"`:n}).join(" ")}(t.attribs,e);r&&(i+=` ${r}`);0===t.children.length&&(e.xmlMode?!1!==e.selfClosingTags:e.selfClosingTags&&Fh.has(t.name))?(e.xmlMode||(i+=" "),i+="/>"):(i+=">",t.children.length>0&&(i+=zh(t.children,e)),!e.xmlMode&&Fh.has(t.name)||(i+=`</${t.name}>`));return i}(t,e);case au:return function(t,e){var n;let i=t.data||"";!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)||!e.xmlMode&&t.parent&&Uh.has(t.parent.name)||(i=e.xmlMode||"utf8"!==e.encodeEntities?Oh(i):Ph(i));return i}(t,e)}}const Wh=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Kh=new Set(["svg","math"]);function Yh(t){return Array.isArray(t)?t.map(Yh).join(""):Su(t)&&!Tu(t)?Yh(t.children):Eu(t)?t.data:""}function $h(t){return Su(t)?t.children:[]}function Qh(t){return t.parent||null}function Xh(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){const e=t.parent.children,n=e.lastIndexOf(t);n>=0&&e.splice(n,1)}t.next=null,t.prev=null,t.parent=null}function Jh(t,e){const n=e.prev=t.prev;n&&(n.next=e);const i=e.next=t.next;i&&(i.prev=e);const r=e.parent=t.parent;if(r){const n=r.children;n[n.lastIndexOf(t)]=e,t.parent=null}}function Zh(t,e){Xh(e);const{parent:n}=t,i=t.next;if(e.next=i,e.prev=t,t.next=e,e.parent=n,i){if(i.prev=e,n){const t=n.children;t.splice(t.lastIndexOf(i),0,e)}}else n&&n.children.push(e)}function td(t,e){if(Xh(e),e.parent=t,e.prev=null,1!==t.children.unshift(e)){const n=t.children[1];n.prev=e,e.next=n}else e.next=null}function ed(t,e){Xh(e);const{parent:n}=t;if(n){const i=n.children;i.splice(i.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=n,e.prev=t.prev,e.next=t,t.prev=e}function nd(t,e,n,i){const r=[],s=[Array.isArray(e)?e:[e]],o=[0];for(;;){if(o[0]>=s[0].length){if(1===o.length)return r;s.shift(),o.shift();continue}const e=s[0][o[0]++];if(t(e)&&(r.push(e),--i<=0))return r;n&&Su(e)&&e.children.length>0&&(o.unshift(0),s.unshift(e.children))}}function id(t,e,n=!0){const i=Array.isArray(e)?e:[e];for(let e=0;e<i.length;e++){const r=i[e];if(Au(r)&&t(r))return r;if(n&&Su(r)&&r.children.length>0){const e=id(t,r.children,!0);if(e)return e}}return null}function rd(t,e){const n=[],i=[Array.isArray(e)?e:[e]],r=[0];for(;;){if(r[0]>=i[0].length){if(1===i.length)return n;i.shift(),r.shift();continue}const e=i[0][r[0]++];Au(e)&&t(e)&&n.push(e),Su(e)&&e.children.length>0&&(r.unshift(0),i.unshift(e.children))}}var sd;!function(t){t[t.DISCONNECTED=1]="DISCONNECTED",t[t.PRECEDING=2]="PRECEDING",t[t.FOLLOWING=4]="FOLLOWING",t[t.CONTAINS=8]="CONTAINS",t[t.CONTAINED_BY=16]="CONTAINED_BY"}(sd||(sd={}));function od(t,e){const n=new Ou(void 0,e);return new hh(n,e).end(t),n.root}function ad(){const t=["afterbegin","map","6962eZlFmi","beforeend","indexOf","parentNode","1007464KDngkN","attribs","forEach","afterend","beforebegin","400607YXOkSu","nextSibling","6APALIg","150Huxore","5JiYudS","push","111249ZSpOeT","replace","33DuxSow","177232kIrqnO","191543FTduHq","2147656TkrAne","reverse","cloneNode","slice"];return(ad=function(){return t})()}function cd(t){return od(t)}function ld(t){return Gh(t)}function ud(t,e,n){const i=kd,r=null!==e?n=>n[i(507)][t]===e:e=>Boolean(e[i(507)][t]);return id(t=>Au(t)&&r(t),n)}function hd(t,e,n){const i=kd,r=null!==e?n=>n[i(507)][t]===e:e=>Boolean(e[i(507)][t]);return rd(t=>Au(t)&&r(t),n)}function dd(t,e){const n=kd;return t&&Au(t)?t[n(507)][e]:null}function pd(t,e,n){const i=kd;Au(t)&&(null===n?delete t[i(507)][e]:t[i(507)][e]=n)}function fd(t,e,n){const i=kd,r=e[i(498)](!0);i(510)===n?ed(t,r):i(500)===n?td(t,r):i(503)===n?function(t,e){if(Xh(e),e.next=null,e.parent=t,t.children.push(e)>1){const n=t.children[t.children.length-2];n.next=e,e.prev=n}else e.prev=null}(t,r):i(509)===n&&Zh(t,r)}function gd(t){const e=kd,n=[];let i=t;for(;i;)i=Qh(i),i&&n[e(490)](i);return n}function md(t){const e=kd;return t[e(492)](/^\s+/gm,"")[e(492)](/\s+$/gm,"")[e(492)](/\n*/g,"")[e(492)](/\s+/g," ")[e(492)](/>\s*</g,"><")}function kd(t,e){const n=ad();return(kd=function(t,e){return n[t-=486]})(t,e)}function _d(t){const e=kd;let n=0;for(;t[e(505)];)t=t[e(505)],n++;return n}function bd(t){const e=kd,n=[];let i=t[e(486)];for(;i;)n[e(490)](i),i=i[e(486)];n[e(508)](t=>{Xh(t)})}function wd(t){if(t)throw t}!function(t){const e=kd,n=t();for(;;)try{if(309932===-parseInt(e(511))/1+-parseInt(e(502))/2*(parseInt(e(493))/3)+-parseInt(e(506))/4*(-parseInt(e(489))/5)+-parseInt(e(487))/6*(-parseInt(e(496))/7)+parseInt(e(494))/8+parseInt(e(491))/9*(parseInt(e(488))/10)+-parseInt(e(495))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ad);var Id=r(9461);function vd(t){if("object"!=typeof t||null===t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)}function yd(){const t=[],e={run:function(...e){let n=-1;const i=e.pop();if("function"!=typeof i)throw new TypeError("Expected function as last argument, not "+i);!function r(s,...o){const a=t[++n];let c=-1;if(s)i(s);else{for(;++c<e.length;)null!==o[c]&&void 0!==o[c]||(o[c]=e[c]);e=o,a?function(t,e){let n;return i;function i(...e){const i=t.length>e.length;let o;i&&e.push(r);try{o=t.apply(this,e)}catch(t){if(i&&n)throw t;return r(t)}i||(o&&o.then&&"function"==typeof o.then?o.then(s,r):o instanceof Error?r(o):s(o))}function r(t,...i){n||(n=!0,e(t,...i))}function s(t){r(null,t)}}(a,r)(...o):i(null,...o)}}(null,...e)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return t.push(n),e}};return e}function Ad(t){return t&&"object"==typeof t?"position"in t||"type"in t?Td(t.position):"start"in t||"end"in t?Td(t):"line"in t||"column"in t?Ed(t):"":""}function Ed(t){return Cd(t&&t.line)+":"+Cd(t&&t.column)}function Td(t){return Ed(t&&t.start)+"-"+Ed(t&&t.end)}function Cd(t){return t&&"number"==typeof t?t:1}class Sd extends Error{constructor(t,e,n){super(),"string"==typeof e&&(n=e,e=void 0);let i="",r={},s=!1;if(e&&(r="line"in e&&"column"in e||"start"in e&&"end"in e?{place:e}:"type"in e?{ancestors:[e],place:e.position}:{...e}),"string"==typeof t?i=t:!r.cause&&t&&(s=!0,i=t.message,r.cause=t),!r.ruleId&&!r.source&&"string"==typeof n){const t=n.indexOf(":");-1===t?r.ruleId=n:(r.source=n.slice(0,t),r.ruleId=n.slice(t+1))}if(!r.place&&r.ancestors&&r.ancestors){const t=r.ancestors[r.ancestors.length-1];t&&(r.place=t.position)}const o=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=Ad(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=s&&r.cause&&"string"==typeof r.cause.stack?r.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Sd.prototype.file="",Sd.prototype.name="",Sd.prototype.reason="",Sd.prototype.message="",Sd.prototype.stack="",Sd.prototype.column=void 0,Sd.prototype.line=void 0,Sd.prototype.ancestors=void 0,Sd.prototype.cause=void 0,Sd.prototype.fatal=void 0,Sd.prototype.place=void 0,Sd.prototype.ruleId=void 0,Sd.prototype.source=void 0;const xd={basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');Rd(t);let n,i=0,r=-1,s=t.length;if(void 0===e||0===e.length||e.length>t.length){for(;s--;)if(47===t.codePointAt(s)){if(n){i=s+1;break}}else r<0&&(n=!0,r=s+1);return r<0?"":t.slice(i,r)}if(e===t)return"";let o=-1,a=e.length-1;for(;s--;)if(47===t.codePointAt(s)){if(n){i=s+1;break}}else o<0&&(n=!0,o=s+1),a>-1&&(t.codePointAt(s)===e.codePointAt(a--)?a<0&&(r=s):(a=-1,r=o));i===r?r=o:r<0&&(r=t.length);return t.slice(i,r)},dirname:function(t){if(Rd(t),0===t.length)return".";let e,n=-1,i=t.length;for(;--i;)if(47===t.codePointAt(i)){if(e){n=i;break}}else e||(e=!0);return n<0?47===t.codePointAt(0)?"/":".":1===n&&47===t.codePointAt(0)?"//":t.slice(0,n)},extname:function(t){Rd(t);let e,n=t.length,i=-1,r=0,s=-1,o=0;for(;n--;){const a=t.codePointAt(n);if(47!==a)i<0&&(e=!0,i=n+1),46===a?s<0?s=n:1!==o&&(o=1):s>-1&&(o=-1);else if(e){r=n+1;break}}if(s<0||i<0||0===o||1===o&&s===i-1&&s===r+1)return"";return t.slice(s,i)},join:function(...t){let e,n=-1;for(;++n<t.length;)Rd(t[n]),t[n]&&(e=void 0===e?t[n]:e+"/"+t[n]);return void 0===e?".":function(t){Rd(t);const e=47===t.codePointAt(0);let n=function(t,e){let n,i,r="",s=0,o=-1,a=0,c=-1;for(;++c<=t.length;){if(c<t.length)n=t.codePointAt(c);else{if(47===n)break;n=47}if(47===n){if(o===c-1||1===a);else if(o!==c-1&&2===a){if(r.length<2||2!==s||46!==r.codePointAt(r.length-1)||46!==r.codePointAt(r.length-2))if(r.length>2){if(i=r.lastIndexOf("/"),i!==r.length-1){i<0?(r="",s=0):(r=r.slice(0,i),s=r.length-1-r.lastIndexOf("/")),o=c,a=0;continue}}else if(r.length>0){r="",s=0,o=c,a=0;continue}e&&(r=r.length>0?r+"/..":"..",s=2)}else r.length>0?r+="/"+t.slice(o+1,c):r=t.slice(o+1,c),s=c-o-1;o=c,a=0}else 46===n&&a>-1?a++:a=-1}return r}(t,!e);0!==n.length||e||(n=".");n.length>0&&47===t.codePointAt(t.length-1)&&(n+="/");return e?"/"+n:n}(e)},sep:"/"};function Rd(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const Nd={cwd:function(){return"/"}};function Od(t){return Boolean(null!==t&&"object"==typeof t&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&void 0===t.auth)}function Ld(t){if("string"==typeof t)t=new URL(t);else if(!Od(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if("file:"!==t.protocol){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return function(t){if(""!==t.hostname){const t=new TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}const e=t.pathname;let n=-1;for(;++n<e.length;)if(37===e.codePointAt(n)&&50===e.codePointAt(n+1)){const t=e.codePointAt(n+2);if(70===t||102===t){const t=new TypeError("File URL path must not include encoded / characters");throw t.code="ERR_INVALID_FILE_URL_PATH",t}}return decodeURIComponent(e)}(t)}const Dd=["history","path","basename","stem","extname","dirname"];class Pd{constructor(t){let e;e=t?Od(t)?{path:t}:"string"==typeof t||function(t){return Boolean(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(t)?{value:t}:t:{},this.cwd="cwd"in e?"":Nd.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,i=-1;for(;++i<Dd.length;){const t=Dd[i];t in e&&void 0!==e[t]&&null!==e[t]&&(this[t]="history"===t?[...e[t]]:e[t])}for(n in e)Dd.includes(n)||(this[n]=e[n])}get basename(){return"string"==typeof this.path?xd.basename(this.path):void 0}set basename(t){Vd(t,"basename"),Md(t,"basename"),this.path=xd.join(this.dirname||"",t)}get dirname(){return"string"==typeof this.path?xd.dirname(this.path):void 0}set dirname(t){Bd(this.basename,"dirname"),this.path=xd.join(t||"",this.basename)}get extname(){return"string"==typeof this.path?xd.extname(this.path):void 0}set extname(t){if(Md(t,"extname"),Bd(this.dirname,"extname"),t){if(46!==t.codePointAt(0))throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=xd.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Od(t)&&(t=Ld(t)),Vd(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return"string"==typeof this.path?xd.basename(this.path,this.extname):void 0}set stem(t){Vd(t,"stem"),Md(t,"stem"),this.path=xd.join(this.dirname||"",t+(this.extname||""))}fail(t,e,n){const i=this.message(t,e,n);throw i.fatal=!0,i}info(t,e,n){const i=this.message(t,e,n);return i.fatal=void 0,i}message(t,e,n){const i=new Sd(t,e,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(t||void 0).decode(this.value)}}function Md(t,e){if(t&&t.includes(xd.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+xd.sep+"`")}function Vd(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function Bd(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}const Hd=function(t){const e=this.constructor.prototype,n=e[t],i=function(){return n.apply(i,arguments)};return Object.setPrototypeOf(i,e),i},Ud={}.hasOwnProperty;class qd extends Hd{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=yd()}copy(){const t=new qd;let e=-1;for(;++e<this.attachers.length;){const n=this.attachers[e];t.use(...n)}return t.data(Id(!0,{},this.namespace)),t}data(t,e){return"string"==typeof t?2===arguments.length?(jd("data",this.frozen),this.namespace[t]=e,this):Ud.call(this.namespace,t)&&this.namespace[t]||void 0:t?(jd("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[e,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const i=e.call(t,...n);"function"==typeof i&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const e=Yd(t),n=this.parser||this.Parser;return zd("parse",n),n(String(e),e)}process(t,e){const n=this;return this.freeze(),zd("process",this.parser||this.Parser),Gd("process",this.compiler||this.Compiler),e?i(void 0,e):new Promise(i);function i(i,r){const s=Yd(t),o=n.parse(s);function a(t,n){t||!n?r(t):i?i(n):e(void 0,n)}n.run(o,s,function(t,e,i){if(t||!e||!i)return a(t);const r=e,s=n.stringify(r,i);var o;"string"==typeof(o=s)||function(t){return Boolean(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(o)?i.value=s:i.result=s,a(t,i)})}}processSync(t){let e,n=!1;return this.freeze(),zd("processSync",this.parser||this.Parser),Gd("processSync",this.compiler||this.Compiler),this.process(t,function(t,i){n=!0,wd(t),e=i}),Kd("processSync","process",n),e}run(t,e,n){Wd(t),this.freeze();const i=this.transformers;return n||"function"!=typeof e||(n=e,e=void 0),n?r(void 0,n):new Promise(r);function r(r,s){const o=Yd(e);i.run(t,o,function(e,i,o){const a=i||t;e?s(e):r?r(a):n(void 0,a,o)})}}runSync(t,e){let n,i=!1;return this.run(t,e,function(t,e){wd(t),n=e,i=!0}),Kd("runSync","run",i),n}stringify(t,e){this.freeze();const n=Yd(e),i=this.compiler||this.Compiler;return Gd("stringify",i),Wd(t),i(t,n)}use(t,...e){const n=this.attachers,i=this.namespace;if(jd("use",this.frozen),null==t);else if("function"==typeof t)a(t,e);else{if("object"!=typeof t)throw new TypeError("Expected usable value, not `"+t+"`");Array.isArray(t)?o(t):s(t)}return this;function r(t){if("function"==typeof t)a(t,[]);else{if("object"!=typeof t)throw new TypeError("Expected usable value, not `"+t+"`");if(Array.isArray(t)){const[e,...n]=t;a(e,n)}else s(t)}}function s(t){if(!("plugins"in t)&&!("settings"in t))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(t.plugins),t.settings&&(i.settings=Id(!0,i.settings,t.settings))}function o(t){let e=-1;if(null==t);else{if(!Array.isArray(t))throw new TypeError("Expected a list of plugins, not `"+t+"`");for(;++e<t.length;){r(t[e])}}}function a(t,e){let i=-1,r=-1;for(;++i<n.length;)if(n[i][0]===t){r=i;break}if(-1===r)n.push([t,...e]);else if(e.length>0){let[i,...s]=e;const o=n[r][1];vd(o)&&vd(i)&&(i=Id(!0,o,i)),n[r]=[t,i,...s]}}}}const Fd=(new qd).freeze();function zd(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `parser`")}function Gd(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `compiler`")}function jd(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Wd(t){if(!vd(t)||"string"!=typeof t.type)throw new TypeError("Expected node, got `"+t+"`")}function Kd(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Yd(t){return function(t){return Boolean(t&&"object"==typeof t&&"message"in t&&"messages"in t)}(t)?t:new Pd(t)}function $d(t,e){const n=String(t);if("string"!=typeof e)throw new TypeError("Expected character");let i=0,r=n.indexOf(e);for(;-1!==r;)i++,r=n.indexOf(e,r+e.length);return i}const Qd=cp(/[A-Za-z]/),Xd=cp(/[\dA-Za-z]/),Jd=cp(/[#-'*+\--9=?A-Z^-~]/);function Zd(t){return null!==t&&(t<32||127===t)}const tp=cp(/\d/),ep=cp(/[\dA-Fa-f]/),np=cp(/[!-/:-@[-`{-~]/);function ip(t){return null!==t&&t<-2}function rp(t){return null!==t&&(t<0||32===t)}function sp(t){return-2===t||-1===t||32===t}const op=cp(/\p{P}|\p{S}/u),ap=cp(/\s/);function cp(t){return function(e){return null!==e&&e>-1&&t.test(String.fromCharCode(e))}}const lp=function(t){if(null==t)return hp;if("function"==typeof t)return up(t);if("object"==typeof t)return Array.isArray(t)?function(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=lp(t[n]);return up(i);function i(...t){let n=-1;for(;++n<e.length;)if(e[n].apply(this,t))return!0;return!1}}(t):function(t){const e=t;return up(n);function n(n){const i=n;let r;for(r in t)if(i[r]!==e[r])return!1;return!0}}(t);if("string"==typeof t)return function(t){return up(e);function e(e){return e&&e.type===t}}(t);throw new Error("Expected function, string, or object as test")};function up(t){return function(e,n,i){return Boolean(dp(e)&&t.call(this,e,"number"==typeof n?n:void 0,i||void 0))}}function hp(){return!0}function dp(t){return null!==t&&"object"==typeof t&&"type"in t}const pp=[],fp=!0,gp=!1;function mp(t,e,n,i){let r;"function"==typeof e&&"function"!=typeof n?(i=n,n=e):r=e;const s=lp(r),o=i?-1:1;!function t(r,a,c){const l=r&&"object"==typeof r?r:{};if("string"==typeof l.type){const t="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0;Object.defineProperty(u,"name",{value:"node ("+r.type+(t?"<"+t+">":"")+")"})}return u;function u(){let l,u,h,d=pp;if((!e||s(r,a,c[c.length-1]||void 0))&&(d=function(t){if(Array.isArray(t))return t;if("number"==typeof t)return[fp,t];return null==t?pp:[t]}(n(r,c)),d[0]===gp))return d;if("children"in r&&r.children){const e=r;if(e.children&&"skip"!==d[0])for(u=(i?e.children.length:-1)+o,h=c.concat(e);u>-1&&u<e.children.length;){const n=e.children[u];if(l=t(n,u,h)(),l[0]===gp)return l;u="number"==typeof l[1]?l[1]:u+o}}return d}}(t,void 0,[])()}function kp(t,e,n){const i=lp((n||{}).ignore||[]),r=function(t){const e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!t[0]||Array.isArray(t[0])?t:[t];let i=-1;for(;++i<n.length;){const t=n[i];e.push([_p(t[0]),bp(t[1])])}return e}(e);let s=-1;for(;++s<r.length;)mp(t,"text",o);function o(t,e){let n,o=-1;for(;++o<e.length;){const t=e[o],r=n?n.children:void 0;if(i(t,r?r.indexOf(t):void 0,n))return;n=t}if(n)return function(t,e){const n=e[e.length-1],i=r[s][0],o=r[s][1];let a=0;const c=n.children,l=c.indexOf(t);let u=!1,h=[];i.lastIndex=0;let d=i.exec(t.value);for(;d;){const n=d.index,r={index:d.index,input:d.input,stack:[...e,t]};let s=o(...d,r);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1===s?i.lastIndex=n+1:(a!==n&&h.push({type:"text",value:t.value.slice(a,n)}),Array.isArray(s)?h.push(...s):s&&h.push(s),a=n+d[0].length,u=!0),!i.global)break;d=i.exec(t.value)}u?(a<t.value.length&&h.push({type:"text",value:t.value.slice(a)}),n.children.splice(l,1,...h)):h=[t];return l+h.length}(t,e)}}function _p(t){return"string"==typeof t?new RegExp(function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(t),"g"):t}function bp(t){return"function"==typeof t?t:function(){return t}}const wp="phrasing",Ip=["autolink","link","image","label"];function vp(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function yp(t){this.config.enter.autolinkProtocol.call(this,t)}function Ap(t){this.config.exit.autolinkProtocol.call(this,t)}function Ep(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function Tp(t){this.config.exit.autolinkEmail.call(this,t)}function Cp(t){this.exit(t)}function Sp(t){kp(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,xp],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,Rp]],{ignore:["link","linkReference"]})}function xp(t,e,n,i,r){let s="";if(!Np(r))return!1;if(/^w/i.test(e)&&(n=e+n,e="",s="http://"),!function(t){const e=t.split(".");if(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))return!1;return!0}(n))return!1;const o=function(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let n=e[0],i=n.indexOf(")");const r=$d(t,"(");let s=$d(t,")");for(;-1!==i&&r>s;)t+=n.slice(0,i+1),n=n.slice(i+1),i=n.indexOf(")"),s++;return[t,n]}(n+i);if(!o[0])return!1;const a={type:"link",title:null,url:s+e+o[0],children:[{type:"text",value:e+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function Rp(t,e,n,i){return!(!Np(i,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+e+"@"+n,children:[{type:"text",value:e+"@"+n}]}}function Np(t,e){const n=t.input.charCodeAt(t.index-1);return(0===t.index||ap(n)||op(n))&&(!e||47!==n)}function Op(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function Lp(){this.buffer()}function Dp(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function Pp(){this.buffer()}function Mp(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function Vp(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Op(this.sliceSerialize(t)).toLowerCase(),n.label=e}function Bp(t){this.exit(t)}function Hp(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Op(this.sliceSerialize(t)).toLowerCase(),n.label=e}function Up(t){this.exit(t)}function qp(t,e,n,i){const r=n.createTracker(i);let s=r.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return s+=r.move(n.safe(n.associationId(t),{after:"]",before:s})),a(),o(),s+=r.move("]"),s}function Fp(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:function(t,n,i,r){const s=i.createTracker(r);let o=s.move("[^");const a=i.enter("footnoteDefinition"),c=i.enter("label");o+=s.move(i.safe(i.associationId(t),{before:o,after:"]"})),c(),o+=s.move("]:"),t.children&&t.children.length>0&&(s.shift(4),o+=s.move((e?"\n":" ")+i.indentLines(i.containerFlow(t,s.current()),e?Gp:zp)));return a(),o},footnoteReference:qp},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function zp(t,e,n){return 0===e?t:Gp(t,e,n)}function Gp(t,e,n){return(n?"":" ")+t}qp.peek=function(){return"["};const jp=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Wp(t){this.enter({type:"delete",children:[]},t)}function Kp(t){this.exit(t)}function Yp(t,e,n,i){const r=n.createTracker(i),s=n.enter("strikethrough");let o=r.move("~~");return o+=n.containerPhrasing(t,{...r.current(),before:o,after:"~"}),o+=r.move("~~"),s(),o}function $p(t){return t.length}function Qp(t){return null==t?"":String(t)}function Xp(t){const e="string"==typeof t?t.codePointAt(0):0;return 67===e||99===e?99:76===e||108===e?108:82===e||114===e?114:0}function Jp(t,e,n){return">"+(n?"":" ")+t}function Zp(t,e){return tf(t,e.inConstruct,!0)&&!tf(t,e.notInConstruct,!1)}function tf(t,e,n){if("string"==typeof e&&(e=[e]),!e||0===e.length)return n;let i=-1;for(;++i<e.length;)if(t.includes(e[i]))return!0;return!1}function ef(t,e,n,i){let r=-1;for(;++r<n.unsafe.length;)if("\n"===n.unsafe[r].character&&Zp(n.stack,n.unsafe[r]))return/[ \t]/.test(i.before)?"":" ";return"\\\n"}function nf(t,e,n){return(n?"":" ")+t}function rf(t){const e=t.options.quote||'"';if('"'!==e&&"'"!==e)throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function sf(t){return"&#x"+t.toString(16).toUpperCase()+";"}function of(t){return null===t||rp(t)||ap(t)?1:op(t)?2:void 0}function af(t,e,n){const i=of(t),r=of(e);return void 0===i?void 0===r?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===r?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===i?void 0===r?{inside:!1,outside:!1}:1===r?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===r?{inside:!1,outside:!1}:1===r?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function cf(t,e,n,i){const r=function(t){const e=t.options.emphasis||"*";if("*"!==e&&"_"!==e)throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}(n),s=n.enter("emphasis"),o=n.createTracker(i),a=o.move(r);let c=o.move(n.containerPhrasing(t,{after:r,before:a,...o.current()}));const l=c.charCodeAt(0),u=af(i.before.charCodeAt(i.before.length-1),l,r);u.inside&&(c=sf(l)+c.slice(1));const h=c.charCodeAt(c.length-1),d=af(i.after.charCodeAt(0),h,r);d.inside&&(c=c.slice(0,-1)+sf(h));const p=o.move(r);return s(),n.attentionEncodeSurroundingInfo={after:d.outside,before:u.outside},a+c+p}function lf(t,e,n,i){let r,s,o;"function"==typeof e&&"function"!=typeof n?(s=void 0,o=e,r=n):(s=e,o=n,r=i),mp(t,s,function(t,e){const n=e[e.length-1],i=n?n.children.indexOf(t):void 0;return o(t,i,n)},r)}Yp.peek=function(){return"~"},cf.peek=function(t,e,n){return n.options.emphasis||"*"};const uf={};function hf(t,e){const n=e||uf;return df(t,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function df(t,e,n){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||n?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return pf(t.children,e,n)}return Array.isArray(t)?pf(t,e,n):""}function pf(t,e,n){const i=[];let r=-1;for(;++r<t.length;)i[r]=df(t[r],e,n);return i.join("")}function ff(t){return t.value||""}function gf(t,e,n,i){const r=rf(n),s='"'===r?"Quote":"Apostrophe",o=n.enter("image");let a=n.enter("label");const c=n.createTracker(i);let l=c.move("![");return l+=c.move(n.safe(t.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),a(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(t.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(t.url,{before:l,after:t.title?" ":")",...c.current()}))),a(),t.title&&(a=n.enter(`title${s}`),l+=c.move(" "+r),l+=c.move(n.safe(t.title,{before:l,after:r,...c.current()})),l+=c.move(r),a()),l+=c.move(")"),o(),l}function mf(t,e,n,i){const r=t.referenceType,s=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(i);let c=a.move("![");const l=n.safe(t.alt,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(t),{before:c,after:"]",...a.current()});return o(),n.stack=u,s(),"full"!==r&&l&&l===h?"shortcut"===r?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function kf(t,e,n){let i=t.value||"",r="`",s=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(i);)r+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++s<n.unsafe.length;){const t=n.unsafe[s],e=n.compilePattern(t);let r;if(t.atBreak)for(;r=e.exec(i);){let t=r.index;10===i.charCodeAt(t)&&13===i.charCodeAt(t-1)&&t--,i=i.slice(0,t)+" "+i.slice(r.index+1)}}return r+i+r}function _f(t,e){const n=hf(t);return Boolean(!e.options.resourceLink&&t.url&&!t.title&&t.children&&1===t.children.length&&"text"===t.children[0].type&&(n===t.url||"mailto:"+n===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}function bf(t,e,n,i){const r=rf(n),s='"'===r?"Quote":"Apostrophe",o=n.createTracker(i);let a,c;if(_f(t,n)){const e=n.stack;n.stack=[],a=n.enter("autolink");let i=o.move("<");return i+=o.move(n.containerPhrasing(t,{before:i,after:">",...o.current()})),i+=o.move(">"),a(),n.stack=e,i}a=n.enter("link"),c=n.enter("label");let l=o.move("[");return l+=o.move(n.containerPhrasing(t,{before:l,after:"](",...o.current()})),l+=o.move("]("),c(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(c=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(t.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(c=n.enter("destinationRaw"),l+=o.move(n.safe(t.url,{before:l,after:t.title?" ":")",...o.current()}))),c(),t.title&&(c=n.enter(`title${s}`),l+=o.move(" "+r),l+=o.move(n.safe(t.title,{before:l,after:r,...o.current()})),l+=o.move(r),c()),l+=o.move(")"),a(),l}function wf(t,e,n,i){const r=t.referenceType,s=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(i);let c=a.move("[");const l=n.containerPhrasing(t,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(t),{before:c,after:"]",...a.current()});return o(),n.stack=u,s(),"full"!==r&&l&&l===h?"shortcut"===r?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function If(t){const e=t.options.bullet||"*";if("*"!==e&&"+"!==e&&"-"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function vf(t){const e=t.options.rule||"*";if("*"!==e&&"-"!==e&&"_"!==e)throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}ff.peek=function(){return"<"},gf.peek=function(){return"!"},mf.peek=function(){return"!"},kf.peek=function(){return"`"},bf.peek=function(t,e,n){return _f(t,n)?"<":"["},wf.peek=function(){return"["};const yf=lp(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Af(t,e,n,i){const r=function(t){const e=t.options.strong||"*";if("*"!==e&&"_"!==e)throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}(n),s=n.enter("strong"),o=n.createTracker(i),a=o.move(r+r);let c=o.move(n.containerPhrasing(t,{after:r,before:a,...o.current()}));const l=c.charCodeAt(0),u=af(i.before.charCodeAt(i.before.length-1),l,r);u.inside&&(c=sf(l)+c.slice(1));const h=c.charCodeAt(c.length-1),d=af(i.after.charCodeAt(0),h,r);d.inside&&(c=c.slice(0,-1)+sf(h));const p=o.move(r+r);return s(),n.attentionEncodeSurroundingInfo={after:d.outside,before:u.outside},a+c+p}Af.peek=function(t,e,n){return n.options.strong||"*"};const Ef={blockquote:function(t,e,n,i){const r=n.enter("blockquote"),s=n.createTracker(i);s.move("> "),s.shift(2);const o=n.indentLines(n.containerFlow(t,s.current()),Jp);return r(),o},break:ef,code:function(t,e,n,i){const r=function(t){const e=t.options.fence||"`";if("`"!==e&&"~"!==e)throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}(n),s=t.value||"",o="`"===r?"GraveAccent":"Tilde";if(function(t,e){return Boolean(!1===e.options.fences&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}(t,n)){const t=n.enter("codeIndented"),e=n.indentLines(s,nf);return t(),e}const a=n.createTracker(i),c=r.repeat(Math.max(function(t,e){const n=String(t);let i=n.indexOf(e),r=i,s=0,o=0;if("string"!=typeof e)throw new TypeError("Expected substring");for(;-1!==i;)i===r?++s>o&&(o=s):s=1,r=i+e.length,i=n.indexOf(e,r);return o}(s,r)+1,3)),l=n.enter("codeFenced");let u=a.move(c);if(t.lang){const e=n.enter(`codeFencedLang${o}`);u+=a.move(n.safe(t.lang,{before:u,after:" ",encode:["`"],...a.current()})),e()}if(t.lang&&t.meta){const e=n.enter(`codeFencedMeta${o}`);u+=a.move(" "),u+=a.move(n.safe(t.meta,{before:u,after:"\n",encode:["`"],...a.current()})),e()}return u+=a.move("\n"),s&&(u+=a.move(s+"\n")),u+=a.move(c),l(),u},definition:function(t,e,n,i){const r=rf(n),s='"'===r?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const c=n.createTracker(i);let l=c.move("[");return l+=c.move(n.safe(n.associationId(t),{before:l,after:"]",...c.current()})),l+=c.move("]: "),a(),!t.url||/[\0- \u007F]/.test(t.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(t.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(t.url,{before:l,after:t.title?" ":"\n",...c.current()}))),a(),t.title&&(a=n.enter(`title${s}`),l+=c.move(" "+r),l+=c.move(n.safe(t.title,{before:l,after:r,...c.current()})),l+=c.move(r),a()),o(),l},emphasis:cf,hardBreak:ef,heading:function(t,e,n,i){const r=Math.max(Math.min(6,t.depth||1),1),s=n.createTracker(i);if(function(t,e){let n=!1;return lf(t,function(t){if("value"in t&&/\r?\n|\r/.test(t.value)||"break"===t.type)return n=!0,gp}),Boolean((!t.depth||t.depth<3)&&hf(t)&&(e.options.setext||n))}(t,n)){const e=n.enter("headingSetext"),i=n.enter("phrasing"),o=n.containerPhrasing(t,{...s.current(),before:"\n",after:"\n"});return i(),e(),o+"\n"+(1===r?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(r),a=n.enter("headingAtx"),c=n.enter("phrasing");s.move(o+" ");let l=n.containerPhrasing(t,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(l)&&(l=sf(l.charCodeAt(0))+l.slice(1)),l=l?o+" "+l:o,n.options.closeAtx&&(l+=" "+o),c(),a(),l},html:ff,image:gf,imageReference:mf,inlineCode:kf,link:bf,linkReference:wf,list:function(t,e,n,i){const r=n.enter("list"),s=n.bulletCurrent;let o=t.ordered?function(t){const e=t.options.bulletOrdered||".";if("."!==e&&")"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}(n):If(n);const a=t.ordered?"."===o?")":".":function(t){const e=If(t),n=t.options.bulletOther;if(!n)return"*"===e?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let c=!(!e||!n.bulletLastUsed)&&o===n.bulletLastUsed;if(!t.ordered){const e=t.children?t.children[0]:void 0;if("*"!==o&&"-"!==o||!e||e.children&&e.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(c=!0),vf(n)===o&&e){let e=-1;for(;++e<t.children.length;){const n=t.children[e];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){c=!0;break}}}}c&&(o=a),n.bulletCurrent=o;const l=n.containerFlow(t,i);return n.bulletLastUsed=o,n.bulletCurrent=s,r(),l},listItem:function(t,e,n,i){const r=function(t){const e=t.options.listItemIndent||"one";if("tab"!==e&&"one"!==e&&"mixed"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}(n);let s=n.bulletCurrent||If(n);e&&"list"===e.type&&e.ordered&&(s=("number"==typeof e.start&&e.start>-1?e.start:1)+(!1===n.options.incrementListMarker?0:e.children.indexOf(t))+s);let o=s.length+1;("tab"===r||"mixed"===r&&(e&&"list"===e.type&&e.spread||t.spread))&&(o=4*Math.ceil(o/4));const a=n.createTracker(i);a.move(s+" ".repeat(o-s.length)),a.shift(o);const c=n.enter("listItem"),l=n.indentLines(n.containerFlow(t,a.current()),function(t,e,n){if(e)return(n?"":" ".repeat(o))+t;return(n?s:s+" ".repeat(o-s.length))+t});return c(),l},paragraph:function(t,e,n,i){const r=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(t,i);return s(),r(),o},root:function(t,e,n,i){const r=t.children.some(function(t){return yf(t)});return(r?n.containerPhrasing:n.containerFlow).call(n,t,i)},strong:Af,text:function(t,e,n,i){return n.safe(t.value,i)},thematicBreak:function(t,e,n){const i=(vf(n)+(n.options.ruleSpaces?" ":"")).repeat(function(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}(n));return n.options.ruleSpaces?i.slice(0,-1):i}};function Tf(t){const e=t._align;this.enter({type:"table",align:e.map(function(t){return"none"===t?null:t}),children:[]},t),this.data.inTable=!0}function Cf(t){this.exit(t),this.data.inTable=void 0}function Sf(t){this.enter({type:"tableRow",children:[]},t)}function xf(t){this.exit(t)}function Rf(t){this.enter({type:"tableCell",children:[]},t)}function Nf(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,Of));const n=this.stack[this.stack.length-1];n.type,n.value=e,this.exit(t)}function Of(t,e){return"|"===e?e:t}function Lf(t){const e=t||{},n=e.tableCellPadding,i=e.tablePipeAlign,r=e.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(t,e,n){let i=Ef.inlineCode(t,e,n);n.stack.includes("tableCell")&&(i=i.replace(/\|/g,"\\$&"));return i},table:function(t,e,n,i){return a(function(t,e,n){const i=t.children;let r=-1;const s=[],o=e.enter("table");for(;++r<i.length;)s[r]=c(i[r],e,n);return o(),s}(t,n,i),t.align)},tableCell:o,tableRow:function(t,e,n,i){const r=c(t,n,i),s=a([r]);return s.slice(0,s.indexOf("\n"))}}};function o(t,e,n,i){const r=n.enter("tableCell"),o=n.enter("phrasing"),a=n.containerPhrasing(t,{...i,before:s,after:s});return o(),r(),a}function a(t,e){return function(t,e){const n=e||{},i=(n.align||[]).concat(),r=n.stringLength||$p,s=[],o=[],a=[],c=[];let l=0,u=-1;for(;++u<t.length;){const e=[],i=[];let s=-1;for(t[u].length>l&&(l=t[u].length);++s<t[u].length;){const o=Qp(t[u][s]);if(!1!==n.alignDelimiters){const t=r(o);i[s]=t,(void 0===c[s]||t>c[s])&&(c[s]=t)}e.push(o)}o[u]=e,a[u]=i}let h=-1;if("object"==typeof i&&"length"in i)for(;++h<l;)s[h]=Xp(i[h]);else{const t=Xp(i);for(;++h<l;)s[h]=t}h=-1;const d=[],p=[];for(;++h<l;){const t=s[h];let e="",i="";99===t?(e=":",i=":"):108===t?e=":":114===t&&(i=":");let r=!1===n.alignDelimiters?1:Math.max(1,c[h]-e.length-i.length);const o=e+"-".repeat(r)+i;!1!==n.alignDelimiters&&(r=e.length+r+i.length,r>c[h]&&(c[h]=r),p[h]=r),d[h]=o}o.splice(1,0,d),a.splice(1,0,p),u=-1;const f=[];for(;++u<o.length;){const t=o[u],e=a[u];h=-1;const i=[];for(;++h<l;){const r=t[h]||"";let o="",a="";if(!1!==n.alignDelimiters){const t=c[h]-(e[h]||0),n=s[h];114===n?o=" ".repeat(t):99===n?t%2?(o=" ".repeat(t/2+.5),a=" ".repeat(t/2-.5)):(o=" ".repeat(t/2),a=o):a=" ".repeat(t)}!1===n.delimiterStart||h||i.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===r||!1===n.delimiterStart&&!h||i.push(" "),!1!==n.alignDelimiters&&i.push(o),i.push(r),!1!==n.alignDelimiters&&i.push(a),!1!==n.padding&&i.push(" "),!1===n.delimiterEnd&&h===l-1||i.push("|")}f.push(!1===n.delimiterEnd?i.join("").replace(/ +$/,""):i.join(""))}return f.join("\n")}(t,{align:e,alignDelimiters:i,padding:n,stringLength:r})}function c(t,e,n){const i=t.children;let r=-1;const s=[],a=e.enter("tableRow");for(;++r<i.length;)s[r]=o(i[r],0,e,n);return a(),s}}function Df(t){const e=this.stack[this.stack.length-2];e.type,e.checked="taskListCheckValueChecked"===t.type}function Pf(t){const e=this.stack[this.stack.length-2];if(e&&"listItem"===e.type&&"boolean"==typeof e.checked){const t=this.stack[this.stack.length-1];t.type;const n=t.children[0];if(n&&"text"===n.type){const i=e.children;let r,s=-1;for(;++s<i.length;){const t=i[s];if("paragraph"===t.type){r=t;break}}r===t&&(n.value=n.value.slice(1),0===n.value.length?t.children.shift():t.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,t.position.start=Object.assign({},n.position.start)))}}this.exit(t)}function Mf(t,e,n,i){const r=t.children[0],s="boolean"==typeof t.checked&&r&&"paragraph"===r.type,o="["+(t.checked?"x":" ")+"] ",a=n.createTracker(i);s&&a.move(o);let c=Ef.listItem(t,e,n,{...i,...a.current()});return s&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(t){return t+o})),c}function Vf(t,e,n,i){const r=t.length;let s,o=0;if(e=e<0?-e>r?0:r+e:e>r?r:e,n=n>0?n:0,i.length<1e4)s=Array.from(i),s.unshift(e,n),t.splice(...s);else for(n&&t.splice(e,n);o<i.length;)s=i.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}function Bf(t,e){return t.length>0?(Vf(t,t.length,0,e),t):e}const Hf={}.hasOwnProperty;function Uf(t){const e={};let n=-1;for(;++n<t.length;)qf(e,t[n]);return e}function qf(t,e){let n;for(n in e){const i=(Hf.call(t,n)?t[n]:void 0)||(t[n]={}),r=e[n];let s;if(r)for(s in r){Hf.call(i,s)||(i[s]=[]);const t=r[s];Ff(i[s],Array.isArray(t)?t:t?[t]:[])}}}function Ff(t,e){let n=-1;const i=[];for(;++n<e.length;)("after"===e[n].add?t:i).push(e[n]);Vf(t,0,0,i)}const zf={tokenize:function(t,e,n){let i=0;return function e(s){if((87===s||119===s)&&i<3)return i++,t.consume(s),e;if(46===s&&3===i)return t.consume(s),r;return n(s)};function r(t){return null===t?n(t):e(t)}},partial:!0},Gf={tokenize:function(t,e,n){let i,r,s;return o;function o(e){return 46===e||95===e?t.check(Wf,c,a)(e):null===e||rp(e)||ap(e)||45!==e&&op(e)?c(e):(s=!0,t.consume(e),o)}function a(e){return 95===e?i=!0:(r=i,i=void 0),t.consume(e),o}function c(t){return r||i||!s?n(t):e(t)}},partial:!0},jf={tokenize:function(t,e){let n=0,i=0;return r;function r(o){return 40===o?(n++,t.consume(o),r):41===o&&i<n?s(o):33===o||34===o||38===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||60===o||63===o||93===o||95===o||126===o?t.check(Wf,e,s)(o):null===o||rp(o)||ap(o)?e(o):(t.consume(o),r)}function s(e){return 41===e&&i++,t.consume(e),r}},partial:!0},Wf={tokenize:function(t,e,n){return i;function i(o){return 33===o||34===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||63===o||95===o||126===o?(t.consume(o),i):38===o?(t.consume(o),s):93===o?(t.consume(o),r):60===o||null===o||rp(o)||ap(o)?e(o):n(o)}function r(t){return null===t||40===t||91===t||rp(t)||ap(t)?e(t):i(t)}function s(t){return Qd(t)?o(t):n(t)}function o(e){return 59===e?(t.consume(e),i):Qd(e)?(t.consume(e),o):n(e)}},partial:!0},Kf={tokenize:function(t,e,n){return function(e){return t.consume(e),i};function i(t){return Xd(t)?n(t):e(t)}},partial:!0},Yf={name:"wwwAutolink",tokenize:function(t,e,n){const i=this;return function(e){if(87!==e&&119!==e||!Zf.call(i,i.previous)||ig(i.events))return n(e);return t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(zf,t.attempt(Gf,t.attempt(jf,r),n),n)(e)};function r(n){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(n)}},previous:Zf},$f={name:"protocolAutolink",tokenize:function(t,e,n){const i=this;let r="",s=!1;return function(e){if((72===e||104===e)&&tg.call(i,i.previous)&&!ig(i.events))return t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),r+=String.fromCodePoint(e),t.consume(e),o;return n(e)};function o(e){if(Qd(e)&&r.length<5)return r+=String.fromCodePoint(e),t.consume(e),o;if(58===e){const n=r.toLowerCase();if("http"===n||"https"===n)return t.consume(e),a}return n(e)}function a(e){return 47===e?(t.consume(e),s?c:(s=!0,a)):n(e)}function c(e){return null===e||Zd(e)||rp(e)||ap(e)||op(e)?n(e):t.attempt(Gf,t.attempt(jf,l),n)(e)}function l(n){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(n)}},previous:tg},Qf={name:"emailAutolink",tokenize:function(t,e,n){const i=this;let r,s;return function(e){if(!ng(e)||!eg.call(i,i.previous)||ig(i.events))return n(e);return t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),o(e)};function o(e){return ng(e)?(t.consume(e),o):64===e?(t.consume(e),a):n(e)}function a(e){return 46===e?t.check(Kf,l,c)(e):45===e||95===e||Xd(e)?(s=!0,t.consume(e),a):l(e)}function c(e){return t.consume(e),r=!0,a}function l(o){return s&&r&&Qd(i.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(o)):n(o)}},previous:eg},Xf={};let Jf=48;for(;Jf<123;)Xf[Jf]=Qf,Jf++,58===Jf?Jf=65:91===Jf&&(Jf=97);function Zf(t){return null===t||40===t||42===t||95===t||91===t||93===t||126===t||rp(t)}function tg(t){return!Qd(t)}function eg(t){return!(47===t||ng(t))}function ng(t){return 43===t||45===t||46===t||95===t||Xd(t)}function ig(t){let e=t.length,n=!1;for(;e--;){const i=t[e][1];if(("labelLink"===i.type||"labelImage"===i.type)&&!i._balanced){n=!0;break}if(i._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function rg(t,e,n,i){const r=i?i-1:Number.POSITIVE_INFINITY;let s=0;return function(i){if(sp(i))return t.enter(n),o(i);return e(i)};function o(i){return sp(i)&&s++<r?(t.consume(i),o):(t.exit(n),e(i))}}Xf[43]=Qf,Xf[45]=Qf,Xf[46]=Qf,Xf[95]=Qf,Xf[72]=[Qf,$f],Xf[104]=[Qf,$f],Xf[87]=[Qf,Yf],Xf[119]=[Qf,Yf];const sg={partial:!0,tokenize:function(t,e,n){return function(e){return sp(e)?rg(t,i,"linePrefix")(e):i(e)};function i(t){return null===t||ip(t)?e(t):n(t)}}};const og={tokenize:function(t,e,n){const i=this;return rg(t,function(t){const r=i.events[i.events.length-1];return r&&"gfmFootnoteDefinitionIndent"===r[1].type&&4===r[2].sliceSerialize(r[1],!0).length?e(t):n(t)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function ag(t,e,n){const i=this;let r=i.events.length;const s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let o;for(;r--;){const t=i.events[r][1];if("labelImage"===t.type){o=t;break}if("gfmFootnoteCall"===t.type||"labelLink"===t.type||"label"===t.type||"image"===t.type||"link"===t.type)break}return function(r){if(!o||!o._balanced)return n(r);const a=Op(i.sliceSerialize({start:o.end,end:i.now()}));if(94!==a.codePointAt(0)||!s.includes(a.slice(1)))return n(r);return t.enter("gfmFootnoteCallLabelMarker"),t.consume(r),t.exit("gfmFootnoteCallLabelMarker"),e(r)}}function cg(t,e){let n,i=t.length;for(;i--;)if("labelImage"===t[i][1].type&&"enter"===t[i][0]){n=t[i][1];break}t[i+1][1].type="data",t[i+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},t[i+3][1].start),end:Object.assign({},t[t.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},t[i+3][1].end),end:Object.assign({},t[i+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},t[t.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},c=[t[i+1],t[i+2],["enter",r,e],t[i+3],t[i+4],["enter",s,e],["exit",s,e],["enter",o,e],["enter",a,e],["exit",a,e],["exit",o,e],t[t.length-2],t[t.length-1],["exit",r,e]];return t.splice(i,t.length-i+1,...c),t}function lg(t,e,n){const i=this,r=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s,o=0;return function(e){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(e),t.exit("gfmFootnoteCallLabelMarker"),a};function a(e){return 94!==e?n(e):(t.enter("gfmFootnoteCallMarker"),t.consume(e),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(a){if(o>999||93===a&&!s||null===a||91===a||rp(a))return n(a);if(93===a){t.exit("chunkString");const s=t.exit("gfmFootnoteCallString");return r.includes(Op(i.sliceSerialize(s)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(a),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(a)}return rp(a)||(s=!0),o++,t.consume(a),92===a?l:c}function l(e){return 91===e||92===e||93===e?(t.consume(e),o++,c):c(e)}}function ug(t,e,n){const i=this,r=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s,o,a=0;return function(e){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(e){return 94===e?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",l):n(e)}function l(e){if(a>999||93===e&&!o||null===e||91===e||rp(e))return n(e);if(93===e){t.exit("chunkString");const n=t.exit("gfmFootnoteDefinitionLabelString");return s=Op(i.sliceSerialize(n)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),h}return rp(e)||(o=!0),a++,t.consume(e),92===e?u:l}function u(e){return 91===e||92===e||93===e?(t.consume(e),a++,l):l(e)}function h(e){return 58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),r.includes(s)||r.push(s),rg(t,d,"gfmFootnoteDefinitionWhitespace")):n(e)}function d(t){return e(t)}}function hg(t,e,n){return t.check(sg,e,t.attempt(og,e,n))}function dg(t){t.exit("gfmFootnoteDefinition")}function pg(t,e,n){const i=[];let r=-1;for(;++r<t.length;){const s=t[r].resolveAll;s&&!i.includes(s)&&(e=s(e,n),i.push(s))}return e}function fg(t){let e=(t||{}).singleTilde;const n={name:"strikethrough",tokenize:function(t,n,i){const r=this.previous,s=this.events;let o=0;return function(e){if(126===r&&"characterEscape"!==s[s.length-1][1].type)return i(e);return t.enter("strikethroughSequenceTemporary"),a(e)};function a(s){const c=of(r);if(126===s)return o>1?i(s):(t.consume(s),o++,a);if(o<2&&!e)return i(s);const l=t.exit("strikethroughSequenceTemporary"),u=of(s);return l._open=!u||2===u&&Boolean(c),l._close=!c||2===c&&Boolean(u),n(s)}},resolveAll:function(t,e){let n=-1;for(;++n<t.length;)if("enter"===t[n][0]&&"strikethroughSequenceTemporary"===t[n][1].type&&t[n][1]._close){let i=n;for(;i--;)if("exit"===t[i][0]&&"strikethroughSequenceTemporary"===t[i][1].type&&t[i][1]._open&&t[n][1].end.offset-t[n][1].start.offset===t[i][1].end.offset-t[i][1].start.offset){t[n][1].type="strikethroughSequence",t[i][1].type="strikethroughSequence";const r={type:"strikethrough",start:Object.assign({},t[i][1].start),end:Object.assign({},t[n][1].end)},s={type:"strikethroughText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[n][1].start)},o=[["enter",r,e],["enter",t[i][1],e],["exit",t[i][1],e],["enter",s,e]],a=e.parser.constructs.insideSpan.null;a&&Vf(o,o.length,0,pg(a,t.slice(i+1,n),e)),Vf(o,o.length,0,[["exit",s,e],["enter",t[n][1],e],["exit",t[n][1],e],["exit",r,e]]),Vf(t,i-1,n-i+3,o),n=i+o.length-2;break}}n=-1;for(;++n<t.length;)"strikethroughSequenceTemporary"===t[n][1].type&&(t[n][1].type="data");return t}};return null==e&&(e=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class gg{constructor(){this.map=[]}add(t,e,n){!function(t,e,n,i){let r=0;if(0===n&&0===i.length)return;for(;r<t.map.length;){if(t.map[r][0]===e)return t.map[r][1]+=n,void t.map[r][2].push(...i);r+=1}t.map.push([e,n,i])}(this,t,e,n)}consume(t){if(this.map.sort(function(t,e){return t[0]-e[0]}),0===this.map.length)return;let e=this.map.length;const n=[];for(;e>0;)e-=1,n.push(t.slice(this.map[e][0]+this.map[e][1]),this.map[e][2]),t.length=this.map[e][0];n.push(t.slice()),t.length=0;let i=n.pop();for(;i;){for(const e of i)t.push(e);i=n.pop()}this.map.length=0}}function mg(t,e){let n=!1;const i=[];for(;e<t.length;){const r=t[e];if(n){if("enter"===r[0])"tableContent"===r[1].type&&i.push("tableDelimiterMarker"===t[e+1][1].type?"left":"none");else if("tableContent"===r[1].type){if("tableDelimiterMarker"===t[e-1][1].type){const t=i.length-1;i[t]="left"===i[t]?"center":"right"}}else if("tableDelimiterRow"===r[1].type)break}else"enter"===r[0]&&"tableDelimiterRow"===r[1].type&&(n=!0);e+=1}return i}function kg(t,e,n){const i=this;let r,s=0,o=0;return function(t){let e=i.events.length-1;for(;e>-1;){const t=i.events[e][1].type;if("lineEnding"!==t&&"linePrefix"!==t)break;e--}const r=e>-1?i.events[e][1].type:null,s="tableHead"===r||"tableRow"===r?w:a;if(s===w&&i.parser.lazy[i.now().line])return n(t);return s(t)};function a(e){return t.enter("tableHead"),t.enter("tableRow"),function(t){if(124===t)return c(t);return r=!0,o+=1,c(t)}(e)}function c(e){return null===e?n(e):ip(e)?o>1?(o=0,i.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),h):n(e):sp(e)?rg(t,c,"whitespace")(e):(o+=1,r&&(r=!1,s+=1),124===e?(t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),r=!0,c):(t.enter("data"),l(e)))}function l(e){return null===e||124===e||rp(e)?(t.exit("data"),c(e)):(t.consume(e),92===e?u:l)}function u(e){return 92===e||124===e?(t.consume(e),l):l(e)}function h(e){return i.interrupt=!1,i.parser.lazy[i.now().line]?n(e):(t.enter("tableDelimiterRow"),r=!1,sp(e)?rg(t,d,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):d(e))}function d(e){return 45===e||58===e?f(e):124===e?(r=!0,t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),p):b(e)}function p(e){return sp(e)?rg(t,f,"whitespace")(e):f(e)}function f(e){return 58===e?(o+=1,r=!0,t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),g):45===e?(o+=1,g(e)):null===e||ip(e)?_(e):b(e)}function g(e){return 45===e?(t.enter("tableDelimiterFiller"),m(e)):b(e)}function m(e){return 45===e?(t.consume(e),m):58===e?(r=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),k):(t.exit("tableDelimiterFiller"),k(e))}function k(e){return sp(e)?rg(t,_,"whitespace")(e):_(e)}function _(n){return 124===n?d(n):(null===n||ip(n))&&r&&s===o?(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(n)):b(n)}function b(t){return n(t)}function w(e){return t.enter("tableRow"),I(e)}function I(n){return 124===n?(t.enter("tableCellDivider"),t.consume(n),t.exit("tableCellDivider"),I):null===n||ip(n)?(t.exit("tableRow"),e(n)):sp(n)?rg(t,I,"whitespace")(n):(t.enter("data"),v(n))}function v(e){return null===e||124===e||rp(e)?(t.exit("data"),I(e)):(t.consume(e),92===e?y:v)}function y(e){return 92===e||124===e?(t.consume(e),v):v(e)}}function _g(t,e){let n,i,r,s=-1,o=!0,a=0,c=[0,0,0,0],l=[0,0,0,0],u=!1,h=0;const d=new gg;for(;++s<t.length;){const p=t[s],f=p[1];"enter"===p[0]?"tableHead"===f.type?(u=!1,0!==h&&(wg(d,e,h,n,i),i=void 0,h=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},d.add(s,0,[["enter",n,e]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(o=!0,r=void 0,c=[0,0,0,0],l=[0,s+1,0,0],u&&(u=!1,i={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},d.add(s,0,[["enter",i,e]])),a="tableDelimiterRow"===f.type?2:i?3:1):!a||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(o?o=!1:(0!==c[1]&&(l[0]=l[1],r=bg(d,e,c,a,void 0,r)),c=l,l=[c[1],s,0,0])):(o=!1,0===l[2]&&(0!==c[1]&&(l[0]=l[1],r=bg(d,e,c,a,void 0,r),c=[0,0,0,0]),l[2]=s)):"tableHead"===f.type?(u=!0,h=s):"tableRow"===f.type||"tableDelimiterRow"===f.type?(h=s,0!==c[1]?(l[0]=l[1],r=bg(d,e,c,a,s,r)):0!==l[1]&&(r=bg(d,e,l,a,s,r)),a=0):!a||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(l[3]=s)}for(0!==h&&wg(d,e,h,n,i),d.consume(e.events),s=-1;++s<e.events.length;){const t=e.events[s];"enter"===t[0]&&"table"===t[1].type&&(t[1]._align=mg(e.events,s))}return t}function bg(t,e,n,i,r,s){const o=1===i?"tableHeader":2===i?"tableDelimiter":"tableData";0!==n[0]&&(s.end=Object.assign({},Ig(e.events,n[0])),t.add(n[0],0,[["exit",s,e]]));const a=Ig(e.events,n[1]);if(s={type:o,start:Object.assign({},a),end:Object.assign({},a)},t.add(n[1],0,[["enter",s,e]]),0!==n[2]){const r=Ig(e.events,n[2]),s=Ig(e.events,n[3]),o={type:"tableContent",start:Object.assign({},r),end:Object.assign({},s)};if(t.add(n[2],0,[["enter",o,e]]),2!==i){const i=e.events[n[2]],r=e.events[n[3]];if(i[1].end=Object.assign({},r[1].end),i[1].type="chunkText",i[1].contentType="text",n[3]>n[2]+1){const e=n[2]+1,i=n[3]-n[2]-1;t.add(e,i,[])}}t.add(n[3]+1,0,[["exit",o,e]])}return void 0!==r&&(s.end=Object.assign({},Ig(e.events,r)),t.add(r,0,[["exit",s,e]]),s=void 0),s}function wg(t,e,n,i,r){const s=[],o=Ig(e.events,n);r&&(r.end=Object.assign({},o),s.push(["exit",r,e])),i.end=Object.assign({},o),s.push(["exit",i,e]),t.add(n+1,0,s)}function Ig(t,e){const n=t[e],i="enter"===n[0]?"start":"end";return n[1][i]}const vg={name:"tasklistCheck",tokenize:function(t,e,n){const i=this;return function(e){if(null!==i.previous||!i._gfmTasklistFirstContentOfListItem)return n(e);return t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),r};function r(e){return rp(e)?(t.enter("taskListCheckValueUnchecked"),t.consume(e),t.exit("taskListCheckValueUnchecked"),s):88===e||120===e?(t.enter("taskListCheckValueChecked"),t.consume(e),t.exit("taskListCheckValueChecked"),s):n(e)}function s(e){return 93===e?(t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),o):n(e)}function o(i){return ip(i)?e(i):sp(i)?t.check({tokenize:yg},e,n)(i):n(i)}}};function yg(t,e,n){return rg(t,function(t){return null===t?n(t):e(t)},"whitespace")}const Ag={};function Eg(t){const e=t||Ag,n=this.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),r=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(function(t){return Uf([{text:Xf},{document:{91:{name:"gfmFootnoteDefinition",tokenize:ug,continuation:{tokenize:hg},exit:dg}},text:{91:{name:"gfmFootnoteCall",tokenize:lg},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ag,resolveTo:cg}}},fg(t),{flow:{null:{name:"table",tokenize:kg,resolveAll:_g}}},{text:{91:vg}}])}(e)),r.push([{transforms:[Sp],enter:{literalAutolink:vp,literalAutolinkEmail:yp,literalAutolinkHttp:yp,literalAutolinkWww:yp},exit:{literalAutolink:Cp,literalAutolinkEmail:Tp,literalAutolinkHttp:Ap,literalAutolinkWww:Ep}},{enter:{gfmFootnoteCallString:Lp,gfmFootnoteCall:Dp,gfmFootnoteDefinitionLabelString:Pp,gfmFootnoteDefinition:Mp},exit:{gfmFootnoteCallString:Vp,gfmFootnoteCall:Bp,gfmFootnoteDefinitionLabelString:Hp,gfmFootnoteDefinition:Up}},{canContainEols:["delete"],enter:{strikethrough:Wp},exit:{strikethrough:Kp}},{enter:{table:Tf,tableData:Rf,tableHeader:Rf,tableRow:Sf},exit:{codeText:Nf,table:Cf,tableData:xf,tableHeader:xf,tableRow:xf}},{exit:{taskListCheckValueChecked:Df,taskListCheckValueUnchecked:Df,paragraph:Pf}}]),s.push(function(t){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:wp,notInConstruct:Ip},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:wp,notInConstruct:Ip},{character:":",before:"[ps]",after:"\\/",inConstruct:wp,notInConstruct:Ip}]},Fp(t),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:jp}],handlers:{delete:Yp}},Lf(t),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Mf}}]}}(e))}class Tg{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,e){const n=null==e?Number.POSITIVE_INFINITY:e;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,e,n){const i=e||0;this.setCursor(Math.trunc(t));const r=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&Cg(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Cg(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Cg(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&0===this.right.length||t<0&&0===this.left.length))if(t<this.left.length){const e=this.left.splice(t,Number.POSITIVE_INFINITY);Cg(this.right,e.reverse())}else{const e=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Cg(this.left,e.reverse())}}}function Cg(t,e){let n=0;if(e.length<1e4)t.push(...e);else for(;n<e.length;)t.push(...e.slice(n,n+1e4)),n+=1e4}function Sg(t){const e={};let n,i,r,s,o,a,c,l=-1;const u=new Tg(t);for(;++l<u.length;){for(;l in e;)l=e[l];if(n=u.get(l),l&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(l-1)[1].type&&(a=n[1]._tokenizer.events,r=0,r<a.length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===n[0])n[1].contentType&&(Object.assign(e,xg(u,l)),l=e[l],c=!0);else if(n[1]._container){for(r=l,i=void 0;r--;)if(s=u.get(r),"lineEnding"===s[1].type||"lineEndingBlank"===s[1].type)"enter"===s[0]&&(i&&(u.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=r);else if("linePrefix"!==s[1].type&&"listItemIndent"!==s[1].type)break;i&&(n[1].end={...u.get(i)[1].start},o=u.slice(i,l),o.unshift(n),u.splice(i,l-i+1,o))}}return Vf(t,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function xg(t,e){const n=t.get(e)[1],i=t.get(e)[2];let r=e-1;const s=[];let o=n._tokenizer;o||(o=i.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,c=[],l={};let u,h,d=-1,p=n,f=0,g=0;const m=[g];for(;p;){for(;t.get(++r)[1]!==p;);s.push(r),p._tokenizer||(u=i.sliceStream(p),p.next||u.push(null),h&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++d<a.length;)"exit"===a[d][0]&&"enter"===a[d-1][0]&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(g=d+1,m.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):m.pop(),d=m.length;d--;){const e=a.slice(m[d],m[d+1]),n=s.pop();c.push([n,n+e.length-1]),t.splice(n,2,e)}for(c.reverse(),d=-1;++d<c.length;)l[f+c[d][0]]=f+c[d][1],f+=c[d][1]-c[d][0]-1;return l}const Rg={tokenize:function(t){const e=t.attempt(this.parser.constructs.contentInitial,function(n){if(null===n)return void t.consume(n);return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),rg(t,e,"linePrefix")},function(e){return t.enter("paragraph"),i(e)});let n;return e;function i(e){const i=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=i),n=i,r(e)}function r(e){return null===e?(t.exit("chunkText"),t.exit("paragraph"),void t.consume(e)):ip(e)?(t.consume(e),t.exit("chunkText"),i):(t.consume(e),r)}}};const Ng={tokenize:function(t){const e=this,n=[];let i,r,s,o=0;return a;function a(i){if(o<n.length){const r=n[o];return e.containerState=r[1],t.attempt(r[0].continuation,c,l)(i)}return l(i)}function c(t){if(o++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&_();const n=e.events.length;let r,s=n;for(;s--;)if("exit"===e.events[s][0]&&"chunkFlow"===e.events[s][1].type){r=e.events[s][1].end;break}k(o);let a=n;for(;a<e.events.length;)e.events[a][1].end={...r},a++;return Vf(e.events,s+1,0,e.events.slice(n)),e.events.length=a,l(t)}return a(t)}function l(r){if(o===n.length){if(!i)return d(r);if(i.currentConstruct&&i.currentConstruct.concrete)return f(r);e.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(Og,u,h)(r)}function u(t){return i&&_(),k(o),d(t)}function h(t){return e.parser.lazy[e.now().line]=o!==n.length,s=e.now().offset,f(t)}function d(n){return e.containerState={},t.attempt(Og,p,f)(n)}function p(t){return o++,n.push([e.currentConstruct,e.containerState]),d(t)}function f(n){return null===n?(i&&_(),k(0),void t.consume(n)):(i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:r}),g(n))}function g(n){return null===n?(m(t.exit("chunkFlow"),!0),k(0),void t.consume(n)):ip(n)?(t.consume(n),m(t.exit("chunkFlow")),o=0,e.interrupt=void 0,a):(t.consume(n),g)}function m(t,n){const a=e.sliceStream(t);if(n&&a.push(null),t.previous=r,r&&(r.next=t),r=t,i.defineSkip(t.start),i.write(a),e.parser.lazy[t.start.line]){let t=i.events.length;for(;t--;)if(i.events[t][1].start.offset<s&&(!i.events[t][1].end||i.events[t][1].end.offset>s))return;const n=e.events.length;let r,a,c=n;for(;c--;)if("exit"===e.events[c][0]&&"chunkFlow"===e.events[c][1].type){if(r){a=e.events[c][1].end;break}r=!0}for(k(o),t=n;t<e.events.length;)e.events[t][1].end={...a},t++;Vf(e.events,c+1,0,e.events.slice(n)),e.events.length=t}}function k(i){let r=n.length;for(;r-- >i;){const i=n[r];e.containerState=i[1],i[0].exit.call(e,t)}n.length=i}function _(){i.write([null]),r=void 0,i=void 0,e.containerState._closeFlow=void 0}}},Og={tokenize:function(t,e,n){return rg(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const Lg={resolve:function(t){return Sg(t),t},tokenize:function(t,e){let n;return function(e){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),i(e)};function i(e){return null===e?r(e):ip(e)?t.check(Dg,s,r)(e):(t.consume(e),i)}function r(n){return t.exit("chunkContent"),t.exit("content"),e(n)}function s(e){return t.consume(e),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}},Dg={partial:!0,tokenize:function(t,e,n){const i=this;return function(e){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),rg(t,r,"linePrefix")};function r(r){if(null===r||ip(r))return n(r);const s=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?e(r):t.interrupt(i.parser.constructs.flow,n,e)(r)}}};const Pg={tokenize:function(t){const e=this,n=t.attempt(sg,function(i){if(null===i)return void t.consume(i);return t.enter("lineEndingBlank"),t.consume(i),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n},t.attempt(this.parser.constructs.flowInitial,i,rg(t,t.attempt(this.parser.constructs.flow,i,t.attempt(Lg,i)),"linePrefix")));return n;function i(i){if(null!==i)return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),e.currentConstruct=void 0,n;t.consume(i)}}};const Mg={resolveAll:Ug()},Vg=Hg("string"),Bg=Hg("text");function Hg(t){return{resolveAll:Ug("text"===t?qg:void 0),tokenize:function(e){const n=this,i=this.parser.constructs[t],r=e.attempt(i,s,o);return s;function s(t){return c(t)?r(t):o(t)}function o(t){if(null!==t)return e.enter("data"),e.consume(t),a;e.consume(t)}function a(t){return c(t)?(e.exit("data"),r(t)):(e.consume(t),a)}function c(t){if(null===t)return!0;const e=i[t];let r=-1;if(e)for(;++r<e.length;){const t=e[r];if(!t.previous||t.previous.call(n,n.previous))return!0}return!1}}}}function Ug(t){return function(e,n){let i,r=-1;for(;++r<=e.length;)void 0===i?e[r]&&"data"===e[r][1].type&&(i=r,r++):e[r]&&"data"===e[r][1].type||(r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),r=i+2),i=void 0);return t?t(e,n):e}}function qg(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||"lineEnding"===t[n][1].type)&&"data"===t[n-1][1].type){const i=t[n-1][1],r=e.sliceStream(i);let s,o=r.length,a=-1,c=0;for(;o--;){const t=r[o];if("string"==typeof t){for(a=t.length;32===t.charCodeAt(a-1);)c++,a--;if(a)break;a=-1}else if(-2===t)s=!0,c++;else if(-1!==t){o++;break}}if(e._contentTypeTextTrailing&&n===t.length&&(c=0),c){const r={type:n===t.length||s||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?a:i.start._bufferIndex+a,_index:i.start._index+o,line:i.end.line,column:i.end.column-c,offset:i.end.offset-c},end:{...i.end}};i.end={...r.start},i.start.offset===i.end.offset?Object.assign(i,r):(t.splice(n,0,["enter",r,e],["exit",r,e]),n+=2)}n++}return t}const Fg={name:"thematicBreak",tokenize:function(t,e,n){let i,r=0;return function(e){return t.enter("thematicBreak"),function(t){return i=t,s(t)}(e)};function s(s){return s===i?(t.enter("thematicBreakSequence"),o(s)):r>=3&&(null===s||ip(s))?(t.exit("thematicBreak"),e(s)):n(s)}function o(e){return e===i?(t.consume(e),r++,o):(t.exit("thematicBreakSequence"),sp(e)?rg(t,s,"whitespace")(e):s(e))}}};const zg={continuation:{tokenize:function(t,e,n){const i=this;return i.containerState._closeFlow=void 0,t.check(sg,r,s);function r(n){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,rg(t,e,"listItemIndent",i.containerState.size+1)(n)}function s(n){return i.containerState.furtherBlankLines||!sp(n)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,o(n)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(jg,e,o)(n))}function o(r){return i.containerState._closeFlow=!0,i.interrupt=void 0,rg(t,t.attempt(zg,e,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}},exit:function(t){t.exit(this.containerState.type)},name:"list",tokenize:function(t,e,n){const i=this,r=i.events[i.events.length-1];let s=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,o=0;return function(e){const r=i.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===r?!i.containerState.marker||e===i.containerState.marker:tp(e)){if(i.containerState.type||(i.containerState.type=r,t.enter(r,{_container:!0})),"listUnordered"===r)return t.enter("listItemPrefix"),42===e||45===e?t.check(Fg,n,c)(e):c(e);if(!i.interrupt||49===e)return t.enter("listItemPrefix"),t.enter("listItemValue"),a(e)}return n(e)};function a(e){return tp(e)&&++o<10?(t.consume(e),a):(!i.interrupt||o<2)&&(i.containerState.marker?e===i.containerState.marker:41===e||46===e)?(t.exit("listItemValue"),c(e)):n(e)}function c(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||e,t.check(sg,i.interrupt?n:l,t.attempt(Gg,h,u))}function l(t){return i.containerState.initialBlankLine=!0,s++,h(t)}function u(e){return sp(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),h):n(e)}function h(n){return i.containerState.size=s+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(n)}}},Gg={partial:!0,tokenize:function(t,e,n){const i=this;return rg(t,function(t){const r=i.events[i.events.length-1];return!sp(t)&&r&&"listItemPrefixWhitespace"===r[1].type?e(t):n(t)},"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},jg={partial:!0,tokenize:function(t,e,n){const i=this;return rg(t,function(t){const r=i.events[i.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===i.containerState.size?e(t):n(t)},"listItemIndent",i.containerState.size+1)}};const Wg={continuation:{tokenize:function(t,e,n){const i=this;return function(e){if(sp(e))return rg(t,r,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e);return r(e)};function r(i){return t.attempt(Wg,e,n)(i)}}},exit:function(t){t.exit("blockQuote")},name:"blockQuote",tokenize:function(t,e,n){const i=this;return function(e){if(62===e){const n=i.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(e),t.exit("blockQuoteMarker"),r}return n(e)};function r(n){return sp(n)?(t.enter("blockQuotePrefixWhitespace"),t.consume(n),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(n))}}};function Kg(t,e,n,i,r,s,o,a,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(e){if(60===e)return t.enter(i),t.enter(r),t.enter(s),t.consume(e),t.exit(s),h;if(null===e||32===e||41===e||Zd(e))return n(e);return t.enter(i),t.enter(o),t.enter(a),t.enter("chunkString",{contentType:"string"}),f(e)};function h(n){return 62===n?(t.enter(s),t.consume(n),t.exit(s),t.exit(r),t.exit(i),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),d(n))}function d(e){return 62===e?(t.exit("chunkString"),t.exit(a),h(e)):null===e||60===e||ip(e)?n(e):(t.consume(e),92===e?p:d)}function p(e){return 60===e||62===e||92===e?(t.consume(e),d):d(e)}function f(r){return u||null!==r&&41!==r&&!rp(r)?u<l&&40===r?(t.consume(r),u++,f):41===r?(t.consume(r),u--,f):null===r||32===r||40===r||Zd(r)?n(r):(t.consume(r),92===r?g:f):(t.exit("chunkString"),t.exit(a),t.exit(o),t.exit(i),e(r))}function g(e){return 40===e||41===e||92===e?(t.consume(e),f):f(e)}}function Yg(t,e,n,i,r,s){const o=this;let a,c=0;return function(e){return t.enter(i),t.enter(r),t.consume(e),t.exit(r),t.enter(s),l};function l(h){return c>999||null===h||91===h||93===h&&!a||94===h&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(t.exit(s),t.enter(r),t.consume(h),t.exit(r),t.exit(i),e):ip(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),l):(t.enter("chunkString",{contentType:"string"}),u(h))}function u(e){return null===e||91===e||93===e||ip(e)||c++>999?(t.exit("chunkString"),l(e)):(t.consume(e),a||(a=!sp(e)),92===e?h:u)}function h(e){return 91===e||92===e||93===e?(t.consume(e),c++,u):u(e)}}function $g(t,e,n,i,r,s){let o;return function(e){if(34===e||39===e||40===e)return t.enter(i),t.enter(r),t.consume(e),t.exit(r),o=40===e?41:e,a;return n(e)};function a(n){return n===o?(t.enter(r),t.consume(n),t.exit(r),t.exit(i),e):(t.enter(s),c(n))}function c(e){return e===o?(t.exit(s),a(o)):null===e?n(e):ip(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),rg(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),l(e))}function l(e){return e===o||null===e||ip(e)?(t.exit("chunkString"),c(e)):(t.consume(e),92===e?u:l)}function u(e){return e===o||92===e?(t.consume(e),l):l(e)}}function Qg(t,e){let n;return function i(r){if(ip(r))return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),n=!0,i;if(sp(r))return rg(t,i,n?"linePrefix":"lineSuffix")(r);return e(r)}}const Xg={name:"definition",tokenize:function(t,e,n){const i=this;let r;return function(e){return t.enter("definition"),function(e){return Yg.call(i,t,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)}(e)};function s(e){return r=Op(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),o):n(e)}function o(e){return rp(e)?Qg(t,a)(e):a(e)}function a(e){return Kg(t,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(e)}function c(e){return t.attempt(Jg,l,l)(e)}function l(e){return sp(e)?rg(t,u,"whitespace")(e):u(e)}function u(s){return null===s||ip(s)?(t.exit("definition"),i.parser.defined.push(r),e(s)):n(s)}}},Jg={partial:!0,tokenize:function(t,e,n){return function(e){return rp(e)?Qg(t,i)(e):n(e)};function i(e){return $g(t,r,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function r(e){return sp(e)?rg(t,s,"whitespace")(e):s(e)}function s(t){return null===t||ip(t)?e(t):n(t)}}};const Zg={name:"codeIndented",tokenize:function(t,e,n){const i=this;return function(e){return t.enter("codeIndented"),rg(t,r,"linePrefix",5)(e)};function r(t){const e=i.events[i.events.length-1];return e&&"linePrefix"===e[1].type&&e[2].sliceSerialize(e[1],!0).length>=4?s(t):n(t)}function s(e){return null===e?a(e):ip(e)?t.attempt(tm,s,a)(e):(t.enter("codeFlowValue"),o(e))}function o(e){return null===e||ip(e)?(t.exit("codeFlowValue"),s(e)):(t.consume(e),o)}function a(n){return t.exit("codeIndented"),e(n)}}},tm={partial:!0,tokenize:function(t,e,n){const i=this;return r;function r(e){return i.parser.lazy[i.now().line]?n(e):ip(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r):rg(t,s,"linePrefix",5)(e)}function s(t){const s=i.events[i.events.length-1];return s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?e(t):ip(t)?r(t):n(t)}}};const em={name:"headingAtx",resolve:function(t,e){let n,i,r=t.length-2,s=3;"whitespace"===t[s][1].type&&(s+=2);r-2>s&&"whitespace"===t[r][1].type&&(r-=2);"atxHeadingSequence"===t[r][1].type&&(s===r-1||r-4>s&&"whitespace"===t[r-2][1].type)&&(r-=s+1===r?2:4);r>s&&(n={type:"atxHeadingText",start:t[s][1].start,end:t[r][1].end},i={type:"chunkText",start:t[s][1].start,end:t[r][1].end,contentType:"text"},Vf(t,s,r-s+1,[["enter",n,e],["enter",i,e],["exit",i,e],["exit",n,e]]));return t},tokenize:function(t,e,n){let i=0;return function(e){return t.enter("atxHeading"),function(e){return t.enter("atxHeadingSequence"),r(e)}(e)};function r(e){return 35===e&&i++<6?(t.consume(e),r):null===e||rp(e)?(t.exit("atxHeadingSequence"),s(e)):n(e)}function s(n){return 35===n?(t.enter("atxHeadingSequence"),o(n)):null===n||ip(n)?(t.exit("atxHeading"),e(n)):sp(n)?rg(t,s,"whitespace")(n):(t.enter("atxHeadingText"),a(n))}function o(e){return 35===e?(t.consume(e),o):(t.exit("atxHeadingSequence"),s(e))}function a(e){return null===e||35===e||rp(e)?(t.exit("atxHeadingText"),s(e)):(t.consume(e),a)}}};const nm={name:"setextUnderline",resolveTo:function(t,e){let n,i,r,s=t.length;for(;s--;)if("enter"===t[s][0]){if("content"===t[s][1].type){n=s;break}"paragraph"===t[s][1].type&&(i=s)}else"content"===t[s][1].type&&t.splice(s,1),r||"definition"!==t[s][1].type||(r=s);const o={type:"setextHeading",start:{...t[n][1].start},end:{...t[t.length-1][1].end}};t[i][1].type="setextHeadingText",r?(t.splice(i,0,["enter",o,e]),t.splice(r+1,0,["exit",t[n][1],e]),t[n][1].end={...t[r][1].end}):t[n][1]=o;return t.push(["exit",o,e]),t},tokenize:function(t,e,n){const i=this;let r;return function(e){let o,a=i.events.length;for(;a--;)if("lineEnding"!==i.events[a][1].type&&"linePrefix"!==i.events[a][1].type&&"content"!==i.events[a][1].type){o="paragraph"===i.events[a][1].type;break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||o))return t.enter("setextHeadingLine"),r=e,function(e){return t.enter("setextHeadingLineSequence"),s(e)}(e);return n(e)};function s(e){return e===r?(t.consume(e),s):(t.exit("setextHeadingLineSequence"),sp(e)?rg(t,o,"lineSuffix")(e):o(e))}function o(i){return null===i||ip(i)?(t.exit("setextHeadingLine"),e(i)):n(i)}}};const im=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],rm=["pre","script","style","textarea"],sm={concrete:!0,name:"htmlFlow",resolveTo:function(t){let e=t.length;for(;e--&&("enter"!==t[e][0]||"htmlFlow"!==t[e][1].type););e>1&&"linePrefix"===t[e-2][1].type&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2));return t},tokenize:function(t,e,n){const i=this;let r,s,o,a,c;return function(e){return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),l}(e)};function l(a){return 33===a?(t.consume(a),u):47===a?(t.consume(a),s=!0,p):63===a?(t.consume(a),r=3,i.interrupt?e:D):Qd(a)?(t.consume(a),o=String.fromCharCode(a),f):n(a)}function u(s){return 45===s?(t.consume(s),r=2,h):91===s?(t.consume(s),r=5,a=0,d):Qd(s)?(t.consume(s),r=4,i.interrupt?e:D):n(s)}function h(r){return 45===r?(t.consume(r),i.interrupt?e:D):n(r)}function d(r){const s="CDATA[";return r===s.charCodeAt(a++)?(t.consume(r),6===a?i.interrupt?e:T:d):n(r)}function p(e){return Qd(e)?(t.consume(e),o=String.fromCharCode(e),f):n(e)}function f(a){if(null===a||47===a||62===a||rp(a)){const c=47===a,l=o.toLowerCase();return c||s||!rm.includes(l)?im.includes(o.toLowerCase())?(r=6,c?(t.consume(a),g):i.interrupt?e(a):T(a)):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(a):s?m(a):k(a)):(r=1,i.interrupt?e(a):T(a))}return 45===a||Xd(a)?(t.consume(a),o+=String.fromCharCode(a),f):n(a)}function g(r){return 62===r?(t.consume(r),i.interrupt?e:T):n(r)}function m(e){return sp(e)?(t.consume(e),m):A(e)}function k(e){return 47===e?(t.consume(e),A):58===e||95===e||Qd(e)?(t.consume(e),_):sp(e)?(t.consume(e),k):A(e)}function _(e){return 45===e||46===e||58===e||95===e||Xd(e)?(t.consume(e),_):b(e)}function b(e){return 61===e?(t.consume(e),w):sp(e)?(t.consume(e),b):k(e)}function w(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),c=e,I):sp(e)?(t.consume(e),w):v(e)}function I(e){return e===c?(t.consume(e),c=null,y):null===e||ip(e)?n(e):(t.consume(e),I)}function v(e){return null===e||34===e||39===e||47===e||60===e||61===e||62===e||96===e||rp(e)?b(e):(t.consume(e),v)}function y(t){return 47===t||62===t||sp(t)?k(t):n(t)}function A(e){return 62===e?(t.consume(e),E):n(e)}function E(e){return null===e||ip(e)?T(e):sp(e)?(t.consume(e),E):n(e)}function T(e){return 45===e&&2===r?(t.consume(e),R):60===e&&1===r?(t.consume(e),N):62===e&&4===r?(t.consume(e),P):63===e&&3===r?(t.consume(e),D):93===e&&5===r?(t.consume(e),L):!ip(e)||6!==r&&7!==r?null===e||ip(e)?(t.exit("htmlFlowData"),C(e)):(t.consume(e),T):(t.exit("htmlFlowData"),t.check(om,M,C)(e))}function C(e){return t.check(am,S,M)(e)}function S(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),x}function x(e){return null===e||ip(e)?C(e):(t.enter("htmlFlowData"),T(e))}function R(e){return 45===e?(t.consume(e),D):T(e)}function N(e){return 47===e?(t.consume(e),o="",O):T(e)}function O(e){if(62===e){const n=o.toLowerCase();return rm.includes(n)?(t.consume(e),P):T(e)}return Qd(e)&&o.length<8?(t.consume(e),o+=String.fromCharCode(e),O):T(e)}function L(e){return 93===e?(t.consume(e),D):T(e)}function D(e){return 62===e?(t.consume(e),P):45===e&&2===r?(t.consume(e),D):T(e)}function P(e){return null===e||ip(e)?(t.exit("htmlFlowData"),M(e)):(t.consume(e),P)}function M(n){return t.exit("htmlFlow"),e(n)}}},om={partial:!0,tokenize:function(t,e,n){return function(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(sg,e,n)}}},am={partial:!0,tokenize:function(t,e,n){const i=this;return function(e){if(ip(e))return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r;return n(e)};function r(t){return i.parser.lazy[i.now().line]?n(t):e(t)}}};const cm={partial:!0,tokenize:function(t,e,n){const i=this;return function(e){if(null===e)return n(e);return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r};function r(t){return i.parser.lazy[i.now().line]?n(t):e(t)}}},lm={concrete:!0,name:"codeFenced",tokenize:function(t,e,n){const i=this,r={partial:!0,tokenize:function(t,e,n){let r=0;return o;function o(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),c}function c(e){return t.enter("codeFencedFence"),sp(e)?rg(t,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):l(e)}function l(e){return e===s?(t.enter("codeFencedFenceSequence"),u(e)):n(e)}function u(e){return e===s?(r++,t.consume(e),u):r>=a?(t.exit("codeFencedFenceSequence"),sp(e)?rg(t,h,"whitespace")(e):h(e)):n(e)}function h(i){return null===i||ip(i)?(t.exit("codeFencedFence"),e(i)):n(i)}}};let s,o=0,a=0;return function(e){return function(e){const n=i.events[i.events.length-1];return o=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,s=e,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),c(e)}(e)};function c(e){return e===s?(a++,t.consume(e),c):a<3?n(e):(t.exit("codeFencedFenceSequence"),sp(e)?rg(t,l,"whitespace")(e):l(e))}function l(n){return null===n||ip(n)?(t.exit("codeFencedFence"),i.interrupt?e(n):t.check(cm,p,_)(n)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),u(n))}function u(e){return null===e||ip(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),l(e)):sp(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),rg(t,h,"whitespace")(e)):96===e&&e===s?n(e):(t.consume(e),u)}function h(e){return null===e||ip(e)?l(e):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),d(e))}function d(e){return null===e||ip(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),l(e)):96===e&&e===s?n(e):(t.consume(e),d)}function p(e){return t.attempt(r,_,f)(e)}function f(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),g}function g(e){return o>0&&sp(e)?rg(t,m,"linePrefix",o+1)(e):m(e)}function m(e){return null===e||ip(e)?t.check(cm,p,_)(e):(t.enter("codeFlowValue"),k(e))}function k(e){return null===e||ip(e)?(t.exit("codeFlowValue"),m(e)):(t.consume(e),k)}function _(n){return t.exit("codeFenced"),e(n)}}};const um=document.createElement("i");function hm(t){const e="&"+t+";";um.innerHTML=e;const n=um.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===t)&&(n!==e&&n)}const dm={name:"characterReference",tokenize:function(t,e,n){const i=this;let r,s,o=0;return function(e){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(e),t.exit("characterReferenceMarker"),a};function a(e){return 35===e?(t.enter("characterReferenceMarkerNumeric"),t.consume(e),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),r=31,s=Xd,l(e))}function c(e){return 88===e||120===e?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(e),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),r=6,s=ep,l):(t.enter("characterReferenceValue"),r=7,s=tp,l(e))}function l(a){if(59===a&&o){const r=t.exit("characterReferenceValue");return s!==Xd||hm(i.sliceSerialize(r))?(t.enter("characterReferenceMarker"),t.consume(a),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):n(a)}return s(a)&&o++<r?(t.consume(a),l):n(a)}}};const pm={name:"characterEscape",tokenize:function(t,e,n){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),i};function i(i){return np(i)?(t.enter("characterEscapeValue"),t.consume(i),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(i)}}};const fm={name:"lineEnding",tokenize:function(t,e){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),rg(t,e,"linePrefix")}}};const gm={name:"labelEnd",resolveAll:function(t){let e=-1;const n=[];for(;++e<t.length;){const i=t[e][1];if(n.push(t[e]),"labelImage"===i.type||"labelLink"===i.type||"labelEnd"===i.type){const t="labelImage"===i.type?4:2;i.type="data",e+=t}}t.length!==n.length&&Vf(t,0,t.length,n);return t},resolveTo:function(t,e){let n,i,r,s,o=t.length,a=0;for(;o--;)if(n=t[o][1],i){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===t[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(r){if("enter"===t[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(i=o,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(r=o);const c={type:"labelLink"===t[i][1].type?"link":"image",start:{...t[i][1].start},end:{...t[t.length-1][1].end}},l={type:"label",start:{...t[i][1].start},end:{...t[r][1].end}},u={type:"labelText",start:{...t[i+a+2][1].end},end:{...t[r-2][1].start}};return s=[["enter",c,e],["enter",l,e]],s=Bf(s,t.slice(i+1,i+a+3)),s=Bf(s,[["enter",u,e]]),s=Bf(s,pg(e.parser.constructs.insideSpan.null,t.slice(i+a+4,r-3),e)),s=Bf(s,[["exit",u,e],t[r-2],t[r-1],["exit",l,e]]),s=Bf(s,t.slice(r+1)),s=Bf(s,[["exit",c,e]]),Vf(t,i,t.length,s),t},tokenize:function(t,e,n){const i=this;let r,s,o=i.events.length;for(;o--;)if(("labelImage"===i.events[o][1].type||"labelLink"===i.events[o][1].type)&&!i.events[o][1]._balanced){r=i.events[o][1];break}return function(e){if(!r)return n(e);if(r._inactive)return u(e);return s=i.parser.defined.includes(Op(i.sliceSerialize({start:r.end,end:i.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),a};function a(e){return 40===e?t.attempt(mm,l,s?l:u)(e):91===e?t.attempt(km,l,s?c:u)(e):s?l(e):u(e)}function c(e){return t.attempt(_m,l,u)(e)}function l(t){return e(t)}function u(t){return r._balanced=!0,n(t)}}},mm={tokenize:function(t,e,n){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),i};function i(e){return rp(e)?Qg(t,r)(e):r(e)}function r(e){return 41===e?l(e):Kg(t,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(e)}function s(e){return rp(e)?Qg(t,a)(e):l(e)}function o(t){return n(t)}function a(e){return 34===e||39===e||40===e?$g(t,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(e):l(e)}function c(e){return rp(e)?Qg(t,l)(e):l(e)}function l(i){return 41===i?(t.enter("resourceMarker"),t.consume(i),t.exit("resourceMarker"),t.exit("resource"),e):n(i)}}},km={tokenize:function(t,e,n){const i=this;return function(e){return Yg.call(i,t,r,s,"reference","referenceMarker","referenceString")(e)};function r(t){return i.parser.defined.includes(Op(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?e(t):n(t)}function s(t){return n(t)}}},_m={tokenize:function(t,e,n){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),i};function i(i){return 93===i?(t.enter("referenceMarker"),t.consume(i),t.exit("referenceMarker"),t.exit("reference"),e):n(i)}}};const bm={name:"labelStartImage",resolveAll:gm.resolveAll,tokenize:function(t,e,n){const i=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),r};function r(e){return 91===e?(t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelImage"),s):n(e)}function s(t){return 94===t&&"_hiddenFootnoteSupport"in i.parser.constructs?n(t):e(t)}}};const wm={name:"attention",resolveAll:function(t,e){let n,i,r,s,o,a,c,l,u=-1;for(;++u<t.length;)if("enter"===t[u][0]&&"attentionSequence"===t[u][1].type&&t[u][1]._close)for(n=u;n--;)if("exit"===t[n][0]&&"attentionSequence"===t[n][1].type&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[u][1]).charCodeAt(0)){if((t[n][1]._close||t[u][1]._open)&&(t[u][1].end.offset-t[u][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[u][1].end.offset-t[u][1].start.offset)%3))continue;a=t[n][1].end.offset-t[n][1].start.offset>1&&t[u][1].end.offset-t[u][1].start.offset>1?2:1;const h={...t[n][1].end},d={...t[u][1].start};Im(h,-a),Im(d,a),s={type:a>1?"strongSequence":"emphasisSequence",start:h,end:{...t[n][1].end}},o={type:a>1?"strongSequence":"emphasisSequence",start:{...t[u][1].start},end:d},r={type:a>1?"strongText":"emphasisText",start:{...t[n][1].end},end:{...t[u][1].start}},i={type:a>1?"strong":"emphasis",start:{...s.start},end:{...o.end}},t[n][1].end={...s.start},t[u][1].start={...o.end},c=[],t[n][1].end.offset-t[n][1].start.offset&&(c=Bf(c,[["enter",t[n][1],e],["exit",t[n][1],e]])),c=Bf(c,[["enter",i,e],["enter",s,e],["exit",s,e],["enter",r,e]]),c=Bf(c,pg(e.parser.constructs.insideSpan.null,t.slice(n+1,u),e)),c=Bf(c,[["exit",r,e],["enter",o,e],["exit",o,e],["exit",i,e]]),t[u][1].end.offset-t[u][1].start.offset?(l=2,c=Bf(c,[["enter",t[u][1],e],["exit",t[u][1],e]])):l=0,Vf(t,n-1,u-n+3,c),u=n+c.length-l-2;break}u=-1;for(;++u<t.length;)"attentionSequence"===t[u][1].type&&(t[u][1].type="data");return t},tokenize:function(t,e){const n=this.parser.constructs.attentionMarkers.null,i=this.previous,r=of(i);let s;return function(e){return s=e,t.enter("attentionSequence"),o(e)};function o(a){if(a===s)return t.consume(a),o;const c=t.exit("attentionSequence"),l=of(a),u=!l||2===l&&r||n.includes(a),h=!r||2===r&&l||n.includes(i);return c._open=Boolean(42===s?u:u&&(r||!h)),c._close=Boolean(42===s?h:h&&(l||!u)),e(a)}}};function Im(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const vm={name:"autolink",tokenize:function(t,e,n){let i=0;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),r};function r(e){return Qd(e)?(t.consume(e),s):64===e?n(e):c(e)}function s(t){return 43===t||45===t||46===t||Xd(t)?(i=1,o(t)):c(t)}function o(e){return 58===e?(t.consume(e),i=0,a):(43===e||45===e||46===e||Xd(e))&&i++<32?(t.consume(e),o):(i=0,c(e))}function a(i){return 62===i?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(i),t.exit("autolinkMarker"),t.exit("autolink"),e):null===i||32===i||60===i||Zd(i)?n(i):(t.consume(i),a)}function c(e){return 64===e?(t.consume(e),l):Jd(e)?(t.consume(e),c):n(e)}function l(t){return Xd(t)?u(t):n(t)}function u(n){return 46===n?(t.consume(n),i=0,l):62===n?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(n),t.exit("autolinkMarker"),t.exit("autolink"),e):h(n)}function h(e){if((45===e||Xd(e))&&i++<63){const n=45===e?h:u;return t.consume(e),n}return n(e)}}};const ym={name:"htmlText",tokenize:function(t,e,n){const i=this;let r,s,o;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),a};function a(e){return 33===e?(t.consume(e),c):47===e?(t.consume(e),w):63===e?(t.consume(e),_):Qd(e)?(t.consume(e),y):n(e)}function c(e){return 45===e?(t.consume(e),l):91===e?(t.consume(e),s=0,p):Qd(e)?(t.consume(e),k):n(e)}function l(e){return 45===e?(t.consume(e),d):n(e)}function u(e){return null===e?n(e):45===e?(t.consume(e),h):ip(e)?(o=u,O(e)):(t.consume(e),u)}function h(e){return 45===e?(t.consume(e),d):u(e)}function d(t){return 62===t?N(t):45===t?h(t):u(t)}function p(e){const i="CDATA[";return e===i.charCodeAt(s++)?(t.consume(e),6===s?f:p):n(e)}function f(e){return null===e?n(e):93===e?(t.consume(e),g):ip(e)?(o=f,O(e)):(t.consume(e),f)}function g(e){return 93===e?(t.consume(e),m):f(e)}function m(e){return 62===e?N(e):93===e?(t.consume(e),m):f(e)}function k(e){return null===e||62===e?N(e):ip(e)?(o=k,O(e)):(t.consume(e),k)}function _(e){return null===e?n(e):63===e?(t.consume(e),b):ip(e)?(o=_,O(e)):(t.consume(e),_)}function b(t){return 62===t?N(t):_(t)}function w(e){return Qd(e)?(t.consume(e),I):n(e)}function I(e){return 45===e||Xd(e)?(t.consume(e),I):v(e)}function v(e){return ip(e)?(o=v,O(e)):sp(e)?(t.consume(e),v):N(e)}function y(e){return 45===e||Xd(e)?(t.consume(e),y):47===e||62===e||rp(e)?A(e):n(e)}function A(e){return 47===e?(t.consume(e),N):58===e||95===e||Qd(e)?(t.consume(e),E):ip(e)?(o=A,O(e)):sp(e)?(t.consume(e),A):N(e)}function E(e){return 45===e||46===e||58===e||95===e||Xd(e)?(t.consume(e),E):T(e)}function T(e){return 61===e?(t.consume(e),C):ip(e)?(o=T,O(e)):sp(e)?(t.consume(e),T):A(e)}function C(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),r=e,S):ip(e)?(o=C,O(e)):sp(e)?(t.consume(e),C):(t.consume(e),x)}function S(e){return e===r?(t.consume(e),r=void 0,R):null===e?n(e):ip(e)?(o=S,O(e)):(t.consume(e),S)}function x(e){return null===e||34===e||39===e||60===e||61===e||96===e?n(e):47===e||62===e||rp(e)?A(e):(t.consume(e),x)}function R(t){return 47===t||62===t||rp(t)?A(t):n(t)}function N(i){return 62===i?(t.consume(i),t.exit("htmlTextData"),t.exit("htmlText"),e):n(i)}function O(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),L}function L(e){return sp(e)?rg(t,D,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):D(e)}function D(e){return t.enter("htmlTextData"),o(e)}}};const Am={name:"labelStartLink",resolveAll:gm.resolveAll,tokenize:function(t,e,n){const i=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),r};function r(t){return 94===t&&"_hiddenFootnoteSupport"in i.parser.constructs?n(t):e(t)}}};const Em={name:"hardBreakEscape",tokenize:function(t,e,n){return function(e){return t.enter("hardBreakEscape"),t.consume(e),i};function i(i){return ip(i)?(t.exit("hardBreakEscape"),e(i)):n(i)}}};const Tm={name:"codeText",previous:function(t){return 96!==t||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(t){let e,n,i=t.length-4,r=3;if(!("lineEnding"!==t[r][1].type&&"space"!==t[r][1].type||"lineEnding"!==t[i][1].type&&"space"!==t[i][1].type))for(e=r;++e<i;)if("codeTextData"===t[e][1].type){t[r][1].type="codeTextPadding",t[i][1].type="codeTextPadding",r+=2,i-=2;break}e=r-1,i++;for(;++e<=i;)void 0===n?e!==i&&"lineEnding"!==t[e][1].type&&(n=e):e!==i&&"lineEnding"!==t[e][1].type||(t[n][1].type="codeTextData",e!==n+2&&(t[n][1].end=t[e-1][1].end,t.splice(n+2,e-n-2),i-=e-n-2,e=n+2),n=void 0);return t},tokenize:function(t,e,n){let i,r,s=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),o(e)};function o(e){return 96===e?(t.consume(e),s++,o):(t.exit("codeTextSequence"),a(e))}function a(e){return null===e?n(e):32===e?(t.enter("space"),t.consume(e),t.exit("space"),a):96===e?(r=t.enter("codeTextSequence"),i=0,l(e)):ip(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),a):(t.enter("codeTextData"),c(e))}function c(e){return null===e||32===e||96===e||ip(e)?(t.exit("codeTextData"),a(e)):(t.consume(e),c)}function l(n){return 96===n?(t.consume(n),i++,l):i===s?(t.exit("codeTextSequence"),t.exit("codeText"),e(n)):(r.type="codeTextData",c(n))}}};const Cm={42:zg,43:zg,45:zg,48:zg,49:zg,50:zg,51:zg,52:zg,53:zg,54:zg,55:zg,56:zg,57:zg,62:Wg},Sm={91:Xg},xm={[-2]:Zg,[-1]:Zg,32:Zg},Rm={35:em,42:Fg,45:[nm,Fg],60:sm,61:nm,95:Fg,96:lm,126:lm},Nm={38:dm,92:pm},Om={[-5]:fm,[-4]:fm,[-3]:fm,33:bm,38:dm,42:wm,60:[vm,ym],91:Am,92:[Em,pm],93:gm,95:wm,96:Tm},Lm={null:[wm,Mg]},Dm={null:[42,95]},Pm={null:[]};function Mm(t,e,n){let i={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const r={},s=[];let o=[],a=[],c=!0;const l={attempt:_(function(t,e){b(t,e.from)}),check:_(k),consume:function(t){ip(t)?(i.line++,i.column=1,i.offset+=-3===t?2:1,w()):-1!==t&&(i.column++,i.offset++);i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===o[i._index].length&&(i._bufferIndex=-1,i._index++));u.previous=t,c=!0},enter:function(t,e){const n=e||{};return n.type=t,n.start=f(),u.events.push(["enter",n,u]),a.push(n),n},exit:function(t){const e=a.pop();return e.end=f(),u.events.push(["exit",e,u]),e},interrupt:_(k,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(t){r[t.line]=t.column,w()},events:[],now:f,parser:t,previous:null,sliceSerialize:function(t,e){return function(t,e){let n=-1;const i=[];let r;for(;++n<t.length;){const s=t[n];let o;if("string"==typeof s)o=s;else switch(s){case-5:o="\r";break;case-4:o="\n";break;case-3:o="\r\n";break;case-2:o=e?" ":"\t";break;case-1:if(!e&&r)continue;o=" ";break;default:o=String.fromCharCode(s)}r=-2===s,i.push(o)}return i.join("")}(p(t),e)},sliceStream:p,write:function(t){if(o=Bf(o,t),g(),null!==o[o.length-1])return[];return b(e,0),u.events=pg(s,u.events,u),u.events}};let h,d=e.tokenize.call(u,l);return e.resolveAll&&s.push(e),u;function p(t){return function(t,e){const n=e.start._index,i=e.start._bufferIndex,r=e.end._index,s=e.end._bufferIndex;let o;if(n===r)o=[t[n].slice(i,s)];else{if(o=t.slice(n,r),i>-1){const t=o[0];"string"==typeof t?o[0]=t.slice(i):o.shift()}s>0&&o.push(t[r].slice(0,s))}return o}(o,t)}function f(){const{_bufferIndex:t,_index:e,line:n,column:r,offset:s}=i;return{_bufferIndex:t,_index:e,line:n,column:r,offset:s}}function g(){let t;for(;i._index<o.length;){const e=o[i._index];if("string"==typeof e)for(t=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===t&&i._bufferIndex<e.length;)m(e.charCodeAt(i._bufferIndex));else m(e)}}function m(t){c=void 0,h=t,d=d(t)}function k(t,e){e.restore()}function _(t,e){return function(n,r,s){let o,h,d,p;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):function(t){return e;function e(e){const n=null!==e&&t[e],i=null!==e&&t.null;return g([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(i)?i:i?[i]:[]])(e)}}(n);function g(t){return o=t,h=0,0===t.length?s:m(t[h])}function m(t){return function(n){p=function(){const t=f(),e=u.previous,n=u.currentConstruct,r=u.events.length,s=Array.from(a);return{from:r,restore:o};function o(){i=t,u.previous=e,u.currentConstruct=n,u.events.length=r,a=s,w()}}(),d=t,t.partial||(u.currentConstruct=t);if(t.name&&u.parser.constructs.disable.null.includes(t.name))return _(n);return t.tokenize.call(e?Object.assign(Object.create(u),e):u,l,k,_)(n)}}function k(e){return c=!0,t(d,p),r}function _(t){return c=!0,p.restore(),++h<o.length?m(o[h]):s}}}function b(t,e){t.resolveAll&&!s.includes(t)&&s.push(t),t.resolve&&Vf(u.events,e,u.events.length-e,t.resolve(u.events.slice(e),u)),t.resolveTo&&(u.events=t.resolveTo(u.events,u))}function w(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}const Vm=/[\0\t\n\r]/g;function Bm(t,e){const n=Number.parseInt(t,e);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const Hm=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Um(t,e,n){if(e)return e;if(35===n.charCodeAt(0)){const t=n.charCodeAt(1),e=120===t||88===t;return Bm(n.slice(e?2:1),e?16:10)}return hm(n)||t}const qm={}.hasOwnProperty;function Fm(e,n,i){return"string"!=typeof n&&(i=n,n=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(et),autolinkProtocol:E,autolinkEmail:E,atxHeading:s(X),blockQuote:s(W),characterEscape:E,characterReference:E,codeFenced:s(K),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(K,o),codeText:s(Y,o),codeTextData:E,data:E,codeFlowValue:E,definition:s($),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(Q),hardBreakEscape:s(J),hardBreakTrailing:s(J),htmlFlow:s(Z,o),htmlFlowData:E,htmlText:s(Z,o),htmlTextData:E,image:s(tt),label:o,link:s(et),listItem:s(it),listItemValue:d,listOrdered:s(nt,h),listUnordered:s(nt),paragraph:s(rt),reference:H,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(X),strong:s(st),thematicBreak:s(at)},exit:{atxHeading:c(),atxHeadingSequence:I,autolink:c(),autolinkEmail:j,autolinkProtocol:G,blockQuote:c(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:F,characterReference:z,codeFenced:c(m),codeFencedFence:g,codeFencedFenceInfo:p,codeFencedFenceMeta:f,codeFlowValue:T,codeIndented:c(k),codeText:c(N),codeTextData:T,data:T,definition:c(),definitionDestinationString:w,definitionLabelString:_,definitionTitleString:b,emphasis:c(),hardBreakEscape:c(S),hardBreakTrailing:c(S),htmlFlow:c(x),htmlFlowData:T,htmlText:c(R),htmlTextData:T,image:c(L),label:P,labelText:D,lineEnding:C,link:c(O),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:U,resourceDestinationString:M,resourceTitleString:V,resource:B,setextHeading:c(A),setextHeadingLineSequence:y,setextHeadingText:v,strong:c(),thematicBreak:c()}};Gm(e,(t||{}).mdastExtensions||[]);const n={};return i;function i(t){let i={type:"root",children:[]};const s={stack:[i],tokenStack:[],config:e,enter:a,exit:l,buffer:o,resume:u,data:n},c=[];let h=-1;for(;++h<t.length;)if("listOrdered"===t[h][1].type||"listUnordered"===t[h][1].type)if("enter"===t[h][0])c.push(h);else{h=r(t,c.pop(),h)}for(h=-1;++h<t.length;){const n=e[t[h][0]];qm.call(n,t[h][1].type)&&n[t[h][1].type].call(Object.assign({sliceSerialize:t[h][2].sliceSerialize},s),t[h][1])}if(s.tokenStack.length>0){const t=s.tokenStack[s.tokenStack.length-1];(t[1]||Wm).call(s,void 0,t[0])}for(i.position={start:zm(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:zm(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<e.transforms.length;)i=e.transforms[h](i)||i;return i}function r(t,e,n){let i,r,s,o,a=e-1,c=-1,l=!1;for(;++a<=n;){const e=t[a];switch(e[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===e[0]?c++:c--,o=void 0;break;case"lineEndingBlank":"enter"===e[0]&&(!i||o||c||s||(s=a),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!c&&"enter"===e[0]&&"listItemPrefix"===e[1].type||-1===c&&"exit"===e[0]&&("listUnordered"===e[1].type||"listOrdered"===e[1].type)){if(i){let o=a;for(r=void 0;o--;){const e=t[o];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;r&&(t[r][1].type="lineEndingBlank",l=!0),e[1].type="lineEnding",r=o}else if("linePrefix"!==e[1].type&&"blockQuotePrefix"!==e[1].type&&"blockQuotePrefixWhitespace"!==e[1].type&&"blockQuoteMarker"!==e[1].type&&"listItemIndent"!==e[1].type)break}s&&(!r||s<r)&&(i._spread=!0),i.end=Object.assign({},r?t[r][1].start:e[1].end),t.splice(r||a,0,["exit",i,e[2]]),a++,n++}if("listItemPrefix"===e[1].type){const r={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0};i=r,t.splice(a,0,["enter",r,e[2]]),a++,n++,s=void 0,o=!0}}}return t[e][1]._spread=l,n}function s(t,e){return n;function n(n){a.call(this,t(n),n),e&&e.call(this,n)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(t,e,n){this.stack[this.stack.length-1].children.push(t),this.stack.push(t),this.tokenStack.push([e,n||void 0]),t.position={start:zm(e.start),end:void 0}}function c(t){return e;function e(e){t&&t.call(this,e),l.call(this,e)}}function l(t,e){const n=this.stack.pop(),i=this.tokenStack.pop();if(!i)throw new Error("Cannot close `"+t.type+"` ("+Ad({start:t.start,end:t.end})+"): it’s not open");if(i[0].type!==t.type)if(e)e.call(this,t,i[0]);else{(i[1]||Wm).call(this,t,i[0])}n.position.end=zm(t.end)}function u(){return hf(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function d(t){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(t),10),this.data.expectingFirstListItemValue=void 0}}function p(){const t=this.resume();this.stack[this.stack.length-1].lang=t}function f(){const t=this.resume();this.stack[this.stack.length-1].meta=t}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function m(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/(\r?\n|\r)$/g,"")}function _(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Op(this.sliceSerialize(t)).toLowerCase()}function b(){const t=this.resume();this.stack[this.stack.length-1].title=t}function w(){const t=this.resume();this.stack[this.stack.length-1].url=t}function I(t){const e=this.stack[this.stack.length-1];if(!e.depth){const n=this.sliceSerialize(t).length;e.depth=n}}function v(){this.data.setextHeadingSlurpLineEnding=!0}function y(t){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(t).codePointAt(0)?1:2}function A(){this.data.setextHeadingSlurpLineEnding=void 0}function E(t){const e=this.stack[this.stack.length-1].children;let n=e[e.length-1];n&&"text"===n.type||(n=ot(),n.position={start:zm(t.start),end:void 0},e.push(n)),this.stack.push(n)}function T(t){const e=this.stack.pop();e.value+=this.sliceSerialize(t),e.position.end=zm(t.end)}function C(t){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=zm(t.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(n.type)&&(E.call(this,t),T.call(this,t))}function S(){this.data.atHardBreak=!0}function x(){const t=this.resume();this.stack[this.stack.length-1].value=t}function R(){const t=this.resume();this.stack[this.stack.length-1].value=t}function N(){const t=this.resume();this.stack[this.stack.length-1].value=t}function O(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0}function L(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0}function D(t){const e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=function(t){return t.replace(Hm,Um)}(e),n.identifier=Op(e).toLowerCase()}function P(){const t=this.stack[this.stack.length-1],e=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const e=t.children;n.children=e}else n.alt=e}function M(){const t=this.resume();this.stack[this.stack.length-1].url=t}function V(){const t=this.resume();this.stack[this.stack.length-1].title=t}function B(){this.data.inReference=void 0}function H(){this.data.referenceType="collapsed"}function U(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Op(this.sliceSerialize(t)).toLowerCase(),this.data.referenceType="full"}function q(t){this.data.characterReferenceType=t.type}function F(t){const e=this.sliceSerialize(t),n=this.data.characterReferenceType;let i;if(n)i=Bm(e,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{i=hm(e)}this.stack[this.stack.length-1].value+=i}function z(t){this.stack.pop().position.end=zm(t.end)}function G(t){T.call(this,t);this.stack[this.stack.length-1].url=this.sliceSerialize(t)}function j(t){T.call(this,t);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(t)}function W(){return{type:"blockquote",children:[]}}function K(){return{type:"code",lang:null,meta:null,value:""}}function Y(){return{type:"inlineCode",value:""}}function $(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Q(){return{type:"emphasis",children:[]}}function X(){return{type:"heading",depth:0,children:[]}}function J(){return{type:"break"}}function Z(){return{type:"html",value:""}}function tt(){return{type:"image",title:null,url:"",alt:null}}function et(){return{type:"link",title:null,url:"",children:[]}}function nt(t){return{type:"list",ordered:"listOrdered"===t.type,start:null,spread:t._spread,children:[]}}function it(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}}function rt(){return{type:"paragraph",children:[]}}function st(){return{type:"strong",children:[]}}function ot(){return{type:"text",value:""}}function at(){return{type:"thematicBreak"}}}(i)(function(t){for(;!Sg(t););return t}(function(e){const n={constructs:Uf([t,...(e||{}).extensions||[]]),content:i(Rg),defined:[],document:i(Ng),flow:i(Pg),lazy:{},string:i(Vg),text:i(Bg)};return n;function i(t){return function(e){return Mm(n,t,e)}}}(i).document().write(function(){let t,e=1,n="",i=!0;return function(r,s,o){const a=[];let c,l,u,h,d;for(r=n+("string"==typeof r?r.toString():new TextDecoder(s||void 0).decode(r)),u=0,n="",i&&(65279===r.charCodeAt(0)&&u++,i=void 0);u<r.length;){if(Vm.lastIndex=u,c=Vm.exec(r),h=c&&void 0!==c.index?c.index:r.length,d=r.charCodeAt(h),!c){n=r.slice(u);break}if(10===d&&u===h&&t)a.push(-3),t=void 0;else switch(t&&(a.push(-5),t=void 0),u<h&&(a.push(r.slice(u,h)),e+=h-u),d){case 0:a.push(65533),e++;break;case 9:for(l=4*Math.ceil(e/4),a.push(-2);e++<l;)a.push(-1);break;case 10:a.push(-4),e=1;break;default:t=!0,e=1}u=h+1}return o&&(t&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,n,!0))))}function zm(t){return{line:t.line,column:t.column,offset:t.offset}}function Gm(t,e){let n=-1;for(;++n<e.length;){const i=e[n];Array.isArray(i)?Gm(t,i):jm(t,i)}}function jm(t,e){let n;for(n in e)if(qm.call(e,n))switch(n){case"canContainEols":{const i=e[n];i&&t[n].push(...i);break}case"transforms":{const i=e[n];i&&t[n].push(...i);break}case"enter":case"exit":{const i=e[n];i&&Object.assign(t[n],i);break}}}function Wm(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+Ad({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+Ad({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Ad({start:e.start,end:e.end})+") is still open")}function Km(t){const e=this;e.parser=function(n){return Fm(n,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}const Ym="object"==typeof self?self:globalThis,$m=t=>((t,e)=>{const n=(e,n)=>(t.set(n,e),e),i=r=>{if(t.has(r))return t.get(r);const[s,o]=e[r];switch(s){case 0:case-1:return n(o,r);case 1:{const t=n([],r);for(const e of o)t.push(i(e));return t}case 2:{const t=n({},r);for(const[e,n]of o)t[i(e)]=i(n);return t}case 3:return n(new Date(o),r);case 4:{const{source:t,flags:e}=o;return n(new RegExp(t,e),r)}case 5:{const t=n(new Map,r);for(const[e,n]of o)t.set(i(e),i(n));return t}case 6:{const t=n(new Set,r);for(const e of o)t.add(i(e));return t}case 7:{const{name:t,message:e}=o;return n(new Ym[t](e),r)}case 8:return n(BigInt(o),r);case"BigInt":return n(Object(BigInt(o)),r);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:t}=new Uint8Array(o);return n(new DataView(t),o)}}return n(new Ym[s](o),r)};return i})(new Map,t)(0),Qm="",{toString:Xm}={},{keys:Jm}=Object,Zm=t=>{const e=typeof t;if("object"!==e||!t)return[0,e];const n=Xm.call(t).slice(8,-1);switch(n){case"Array":return[1,Qm];case"Object":return[2,Qm];case"Date":return[3,Qm];case"RegExp":return[4,Qm];case"Map":return[5,Qm];case"Set":return[6,Qm];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},tk=([t,e])=>0===t&&("function"===e||"symbol"===e),ek=(t,{json:e,lossy:n}={})=>{const i=[];return((t,e,n,i)=>{const r=(t,e)=>{const r=i.push(t)-1;return n.set(e,r),r},s=i=>{if(n.has(i))return n.get(i);let[o,a]=Zm(i);switch(o){case 0:{let e=i;switch(a){case"bigint":o=8,e=i.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+a);e=null;break;case"undefined":return r([-1],i)}return r([o,e],i)}case 1:{if(a){let t=i;return"DataView"===a?t=new Uint8Array(i.buffer):"ArrayBuffer"===a&&(t=new Uint8Array(i)),r([a,[...t]],i)}const t=[],e=r([o,t],i);for(const e of i)t.push(s(e));return e}case 2:{if(a)switch(a){case"BigInt":return r([a,i.toString()],i);case"Boolean":case"Number":case"String":return r([a,i.valueOf()],i)}if(e&&"toJSON"in i)return s(i.toJSON());const n=[],c=r([o,n],i);for(const e of Jm(i))!t&&tk(Zm(i[e]))||n.push([s(e),s(i[e])]);return c}case 3:return r([o,i.toISOString()],i);case 4:{const{source:t,flags:e}=i;return r([o,{source:t,flags:e}],i)}case 5:{const e=[],n=r([o,e],i);for(const[n,r]of i)(t||!tk(Zm(n))&&!tk(Zm(r)))&&e.push([s(n),s(r)]);return n}case 6:{const e=[],n=r([o,e],i);for(const n of i)!t&&tk(Zm(n))||e.push(s(n));return n}}const{message:c}=i;return r([o,{name:a,message:c}],i)};return s})(!(e||n),!!e,new Map,i)(t),i},nk="function"==typeof structuredClone?(t,e)=>e&&("json"in e||"lossy"in e)?$m(ek(t,e)):structuredClone(t):(t,e)=>$m(ek(t,e));function ik(t){const e=[];let n=-1,i=0,r=0;for(;++n<t.length;){const s=t.charCodeAt(n);let o="";if(37===s&&Xd(t.charCodeAt(n+1))&&Xd(t.charCodeAt(n+2)))r=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){const e=t.charCodeAt(n+1);s<56320&&e>56319&&e<57344?(o=String.fromCharCode(s,e),r=1):o="�"}else o=String.fromCharCode(s);o&&(e.push(t.slice(i,n),encodeURIComponent(o)),i=n+r+1,o=""),r&&(n+=r,r=0)}return e.join("")+t.slice(i)}function rk(t,e){const n=[{type:"text",value:"↩"}];return e>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),n}function sk(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}const ok=ck("end"),ak=ck("start");function ck(t){return function(e){const n=e&&e.position&&e.position[t]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function lk(t,e){const n=e.referenceType;let i="]";if("collapsed"===n?i+="[]":"full"===n&&(i+="["+(e.label||e.identifier)+"]"),"imageReference"===e.type)return[{type:"text",value:"!["+e.alt+i}];const r=t.all(e),s=r[0];s&&"text"===s.type?s.value="["+s.value:r.unshift({type:"text",value:"["});const o=r[r.length-1];return o&&"text"===o.type?o.value+=i:r.push({type:"text",value:i}),r}function uk(t){const e=t.spread;return null==e?t.children.length>1:e}function hk(t){const e=String(t),n=/\r?\n|\r/g;let i=n.exec(e),r=0;const s=[];for(;i;)s.push(dk(e.slice(r,i.index),r>0,!0),i[0]),r=i.index+i[0].length,i=n.exec(e);return s.push(dk(e.slice(r),r>0,!1)),s.join("")}function dk(t,e,n){let i=0,r=t.length;if(e){let e=t.codePointAt(i);for(;9===e||32===e;)i++,e=t.codePointAt(i)}if(n){let e=t.codePointAt(r-1);for(;9===e||32===e;)r--,e=t.codePointAt(r-1)}return r>i?t.slice(i,r):""}const pk={blockquote:function(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)},break:function(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:"\n"}]},code:function(t,e){const n=e.value?e.value+"\n":"",i={},r=e.lang?e.lang.split(/\s+/):[];r.length>0&&(i.className=["language-"+r[0]]);let s={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return e.meta&&(s.data={meta:e.meta}),t.patch(e,s),s=t.applyData(e,s),s={type:"element",tagName:"pre",properties:{},children:[s]},t.patch(e,s),s},delete:function(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},emphasis:function(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},footnoteReference:function(t,e){const n="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",i=String(e.identifier).toUpperCase(),r=ik(i.toLowerCase()),s=t.footnoteOrder.indexOf(i);let o,a=t.footnoteCounts.get(i);void 0===a?(a=0,t.footnoteOrder.push(i),o=t.footnoteOrder.length):o=s+1,a+=1,t.footnoteCounts.set(i,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+r,id:n+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};t.patch(e,c);const l={type:"element",tagName:"sup",properties:{},children:[c]};return t.patch(e,l),t.applyData(e,l)},heading:function(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},html:function(t,e){if(t.options.allowDangerousHtml){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}},imageReference:function(t,e){const n=String(e.identifier).toUpperCase(),i=t.definitionById.get(n);if(!i)return lk(t,e);const r={src:ik(i.url||""),alt:e.alt};null!==i.title&&void 0!==i.title&&(r.title=i.title);const s={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,s),t.applyData(e,s)},image:function(t,e){const n={src:ik(e.url)};null!==e.alt&&void 0!==e.alt&&(n.alt=e.alt),null!==e.title&&void 0!==e.title&&(n.title=e.title);const i={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,i),t.applyData(e,i)},inlineCode:function(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const i={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,i),t.applyData(e,i)},linkReference:function(t,e){const n=String(e.identifier).toUpperCase(),i=t.definitionById.get(n);if(!i)return lk(t,e);const r={href:ik(i.url||"")};null!==i.title&&void 0!==i.title&&(r.title=i.title);const s={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,s),t.applyData(e,s)},link:function(t,e){const n={href:ik(e.url)};null!==e.title&&void 0!==e.title&&(n.title=e.title);const i={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)},listItem:function(t,e,n){const i=t.all(e),r=n?function(t){let e=!1;if("list"===t.type){e=t.spread||!1;const n=t.children;let i=-1;for(;!e&&++i<n.length;)e=uk(n[i])}return e}(n):uk(e),s={},o=[];if("boolean"==typeof e.checked){const t=i[0];let n;t&&"element"===t.type&&"p"===t.tagName?n=t:(n={type:"element",tagName:"p",properties:{},children:[]},i.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let a=-1;for(;++a<i.length;){const t=i[a];(r||0!==a||"element"!==t.type||"p"!==t.tagName)&&o.push({type:"text",value:"\n"}),"element"!==t.type||"p"!==t.tagName||r?o.push(t):o.push(...t.children)}const c=i[i.length-1];c&&(r||"element"!==c.type||"p"!==c.tagName)&&o.push({type:"text",value:"\n"});const l={type:"element",tagName:"li",properties:s,children:o};return t.patch(e,l),t.applyData(e,l)},list:function(t,e){const n={},i=t.all(e);let r=-1;for("number"==typeof e.start&&1!==e.start&&(n.start=e.start);++r<i.length;){const t=i[r];if("element"===t.type&&"li"===t.tagName&&t.properties&&Array.isArray(t.properties.className)&&t.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:e.ordered?"ol":"ul",properties:n,children:t.wrap(i,!0)};return t.patch(e,s),t.applyData(e,s)},paragraph:function(t,e){const n={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},root:function(t,e){const n={type:"root",children:t.wrap(t.all(e))};return t.patch(e,n),t.applyData(e,n)},strong:function(t,e){const n={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},table:function(t,e){const n=t.all(e),i=n.shift(),r=[];if(i){const n={type:"element",tagName:"thead",properties:{},children:t.wrap([i],!0)};t.patch(e.children[0],n),r.push(n)}if(n.length>0){const i={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},s=ak(e.children[1]),o=ok(e.children[e.children.length-1]);s&&o&&(i.position={start:s,end:o}),r.push(i)}const s={type:"element",tagName:"table",properties:{},children:t.wrap(r,!0)};return t.patch(e,s),t.applyData(e,s)},tableCell:function(t,e){const n={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},tableRow:function(t,e,n){const i=n?n.children:void 0,r=0===(i?i.indexOf(e):1)?"th":"td",s=n&&"table"===n.type?n.align:void 0,o=s?s.length:e.children.length;let a=-1;const c=[];for(;++a<o;){const n=e.children[a],i={},o=s?s[a]:void 0;o&&(i.align=o);let l={type:"element",tagName:r,properties:i,children:[]};n&&(l.children=t.all(n),t.patch(n,l),l=t.applyData(n,l)),c.push(l)}const l={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,l),t.applyData(e,l)},text:function(t,e){const n={type:"text",value:hk(String(e.value))};return t.patch(e,n),t.applyData(e,n)},thematicBreak:function(t,e){const n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)},toml:fk,yaml:fk,definition:fk,footnoteDefinition:fk};function fk(){}const gk={}.hasOwnProperty,mk={};function kk(t,e){t.position&&(e.position=function(t){const e=ak(t),n=ok(t);if(e&&n)return{start:e,end:n}}(t))}function _k(t,e){let n=e;if(t&&t.data){const e=t.data.hName,i=t.data.hChildren,r=t.data.hProperties;if("string"==typeof e)if("element"===n.type)n.tagName=e;else{n={type:"element",tagName:e,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&r&&Object.assign(n.properties,nk(r)),"children"in n&&n.children&&null!=i&&(n.children=i)}return n}function bk(t,e){const n=e.data||{},i=!("value"in e)||gk.call(n,"hProperties")||gk.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:t.all(e)}:{type:"text",value:e.value};return t.patch(e,i),t.applyData(e,i)}function wk(t,e){const n=[];let i=-1;for(e&&n.push({type:"text",value:"\n"});++i<t.length;)i&&n.push({type:"text",value:"\n"}),n.push(t[i]);return e&&t.length>0&&n.push({type:"text",value:"\n"}),n}function Ik(t){let e=0,n=t.charCodeAt(e);for(;9===n||32===n;)e++,n=t.charCodeAt(e);return t.slice(e)}function vk(t,e){const n=function(t,e){const n=e||mk,i=new Map,r=new Map,s=new Map,o={...pk,...n.handlers},a={all:function(t){const e=[];if("children"in t){const n=t.children;let i=-1;for(;++i<n.length;){const r=a.one(n[i],t);if(r){if(i&&"break"===n[i-1].type&&(Array.isArray(r)||"text"!==r.type||(r.value=Ik(r.value)),!Array.isArray(r)&&"element"===r.type)){const t=r.children[0];t&&"text"===t.type&&(t.value=Ik(t.value))}Array.isArray(r)?e.push(...r):e.push(r)}}}return e},applyData:_k,definitionById:i,footnoteById:r,footnoteCounts:s,footnoteOrder:[],handlers:o,one:function(t,e){const n=t.type,i=a.handlers[n];if(gk.call(a.handlers,n)&&i)return i(a,t,e);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in t){const{children:e,...n}=t,i=nk(n);return i.children=a.all(t),i}return nk(t)}return(a.options.unknownHandler||bk)(a,t,e)},options:n,patch:kk,wrap:wk};return lf(t,function(t){if("definition"===t.type||"footnoteDefinition"===t.type){const e="definition"===t.type?i:r,n=String(t.identifier).toUpperCase();e.has(n)||e.set(n,t)}}),a}(t,e),i=n.one(t,void 0),r=function(t){const e="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",n=t.options.footnoteBackContent||rk,i=t.options.footnoteBackLabel||sk,r=t.options.footnoteLabel||"Footnotes",s=t.options.footnoteLabelTagName||"h2",o=t.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let c=-1;for(;++c<t.footnoteOrder.length;){const r=t.footnoteById.get(t.footnoteOrder[c]);if(!r)continue;const s=t.all(r),o=String(r.identifier).toUpperCase(),l=ik(o.toLowerCase());let u=0;const h=[],d=t.footnoteCounts.get(o);for(;void 0!==d&&++u<=d;){h.length>0&&h.push({type:"text",value:" "});let t="string"==typeof n?n:n(c,u);"string"==typeof t&&(t={type:"text",value:t}),h.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof i?i:i(c,u),className:["data-footnote-backref"]},children:Array.isArray(t)?t:[t]})}const p=s[s.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const t=p.children[p.children.length-1];t&&"text"===t.type?t.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...h)}else s.push(...h);const f={type:"element",tagName:"li",properties:{id:e+"fn-"+l},children:t.wrap(s,!0)};t.patch(r,f),a.push(f)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...nk(o),id:"footnote-label"},children:[{type:"text",value:r}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:t.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),s=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return r&&s.children.push({type:"text",value:"\n"},r),s}function yk(t,e){return t&&"run"in t?async function(n,i){const r=vk(n,{file:i,...e});await t.run(r,i)}:function(n,i){return vk(n,{file:i,...t||e})}}function Ak(){return{type:"break"}}function Ek(){return function(t){!function(t){kp(t,[/\r?\n|\r/g,Ak])}(t)}}class Tk{constructor(t,e,n){this.normal=e,this.property=t,n&&(this.space=n)}}function Ck(t,e){const n={},i={};for(const e of t)Object.assign(n,e.property),Object.assign(i,e.normal);return new Tk(n,i,e)}function Sk(t){return t.toLowerCase()}Tk.prototype.normal={},Tk.prototype.property={},Tk.prototype.space=void 0;class xk{constructor(t,e){this.attribute=e,this.property=t}}xk.prototype.attribute="",xk.prototype.booleanish=!1,xk.prototype.boolean=!1,xk.prototype.commaOrSpaceSeparated=!1,xk.prototype.commaSeparated=!1,xk.prototype.defined=!1,xk.prototype.mustUseProperty=!1,xk.prototype.number=!1,xk.prototype.overloadedBoolean=!1,xk.prototype.property="",xk.prototype.spaceSeparated=!1,xk.prototype.space=void 0;let Rk=0;const Nk=Bk(),Ok=Bk(),Lk=Bk(),Dk=Bk(),Pk=Bk(),Mk=Bk(),Vk=Bk();function Bk(){return 2**++Rk}const Hk=Object.keys(e);class Uk extends xk{constructor(t,n,i,r){let s=-1;if(super(t,n),qk(this,"space",r),"number"==typeof i)for(;++s<Hk.length;){const t=Hk[s];qk(this,Hk[s],(i&e[t])===e[t])}}}function qk(t,e,n){n&&(t[e]=n)}function Fk(t){const e={},n={};for(const[i,r]of Object.entries(t.properties)){const s=new Uk(i,t.transform(t.attributes||{},i),r,t.space);t.mustUseProperty&&t.mustUseProperty.includes(i)&&(s.mustUseProperty=!0),e[i]=s,n[Sk(i)]=i,n[Sk(s.attribute)]=i}return new Tk(e,n,t.space)}Uk.prototype.defined=!0;const zk=Fk({properties:{ariaActiveDescendant:null,ariaAtomic:Ok,ariaAutoComplete:null,ariaBusy:Ok,ariaChecked:Ok,ariaColCount:Dk,ariaColIndex:Dk,ariaColSpan:Dk,ariaControls:Pk,ariaCurrent:null,ariaDescribedBy:Pk,ariaDetails:null,ariaDisabled:Ok,ariaDropEffect:Pk,ariaErrorMessage:null,ariaExpanded:Ok,ariaFlowTo:Pk,ariaGrabbed:Ok,ariaHasPopup:null,ariaHidden:Ok,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Pk,ariaLevel:Dk,ariaLive:null,ariaModal:Ok,ariaMultiLine:Ok,ariaMultiSelectable:Ok,ariaOrientation:null,ariaOwns:Pk,ariaPlaceholder:null,ariaPosInSet:Dk,ariaPressed:Ok,ariaReadOnly:Ok,ariaRelevant:null,ariaRequired:Ok,ariaRoleDescription:Pk,ariaRowCount:Dk,ariaRowIndex:Dk,ariaRowSpan:Dk,ariaSelected:Ok,ariaSetSize:Dk,ariaSort:null,ariaValueMax:Dk,ariaValueMin:Dk,ariaValueNow:Dk,ariaValueText:null,role:null},transform:(t,e)=>"role"===e?e:"aria-"+e.slice(4).toLowerCase()});function Gk(t,e){return e in t?t[e]:e}function jk(t,e){return Gk(t,e.toLowerCase())}const Wk=Fk({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Mk,acceptCharset:Pk,accessKey:Pk,action:null,allow:null,allowFullScreen:Nk,allowPaymentRequest:Nk,allowUserMedia:Nk,alt:null,as:null,async:Nk,autoCapitalize:null,autoComplete:Pk,autoFocus:Nk,autoPlay:Nk,blocking:Pk,capture:null,charSet:null,checked:Nk,cite:null,className:Pk,cols:Dk,colSpan:null,content:null,contentEditable:Ok,controls:Nk,controlsList:Pk,coords:Dk|Mk,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Nk,defer:Nk,dir:null,dirName:null,disabled:Nk,download:Lk,draggable:Ok,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Nk,formTarget:null,headers:Pk,height:Dk,hidden:Lk,high:Dk,href:null,hrefLang:null,htmlFor:Pk,httpEquiv:Pk,id:null,imageSizes:null,imageSrcSet:null,inert:Nk,inputMode:null,integrity:null,is:null,isMap:Nk,itemId:null,itemProp:Pk,itemRef:Pk,itemScope:Nk,itemType:Pk,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Nk,low:Dk,manifest:null,max:null,maxLength:Dk,media:null,method:null,min:null,minLength:Dk,multiple:Nk,muted:Nk,name:null,nonce:null,noModule:Nk,noValidate:Nk,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Nk,optimum:Dk,pattern:null,ping:Pk,placeholder:null,playsInline:Nk,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Nk,referrerPolicy:null,rel:Pk,required:Nk,reversed:Nk,rows:Dk,rowSpan:Dk,sandbox:Pk,scope:null,scoped:Nk,seamless:Nk,selected:Nk,shadowRootClonable:Nk,shadowRootDelegatesFocus:Nk,shadowRootMode:null,shape:null,size:Dk,sizes:null,slot:null,span:Dk,spellCheck:Ok,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Dk,step:null,style:null,tabIndex:Dk,target:null,title:null,translate:null,type:null,typeMustMatch:Nk,useMap:null,value:Ok,width:Dk,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Pk,axis:null,background:null,bgColor:null,border:Dk,borderColor:null,bottomMargin:Dk,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Nk,declare:Nk,event:null,face:null,frame:null,frameBorder:null,hSpace:Dk,leftMargin:Dk,link:null,longDesc:null,lowSrc:null,marginHeight:Dk,marginWidth:Dk,noResize:Nk,noHref:Nk,noShade:Nk,noWrap:Nk,object:null,profile:null,prompt:null,rev:null,rightMargin:Dk,rules:null,scheme:null,scrolling:Ok,standby:null,summary:null,text:null,topMargin:Dk,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Dk,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Nk,disableRemotePlayback:Nk,prefix:null,property:null,results:Dk,security:null,unselectable:null},space:"html",transform:jk}),Kk=Fk({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Vk,accentHeight:Dk,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Dk,amplitude:Dk,arabicForm:null,ascent:Dk,attributeName:null,attributeType:null,azimuth:Dk,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Dk,by:null,calcMode:null,capHeight:Dk,className:Pk,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Dk,diffuseConstant:Dk,direction:null,display:null,dur:null,divisor:Dk,dominantBaseline:null,download:Nk,dx:null,dy:null,edgeMode:null,editable:null,elevation:Dk,enableBackground:null,end:null,event:null,exponent:Dk,externalResourcesRequired:null,fill:null,fillOpacity:Dk,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Mk,g2:Mk,glyphName:Mk,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Dk,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Dk,horizOriginX:Dk,horizOriginY:Dk,id:null,ideographic:Dk,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Dk,k:Dk,k1:Dk,k2:Dk,k3:Dk,k4:Dk,kernelMatrix:Vk,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Dk,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Dk,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Dk,overlineThickness:Dk,paintOrder:null,panose1:null,path:null,pathLength:Dk,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Pk,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Dk,pointsAtY:Dk,pointsAtZ:Dk,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Vk,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Vk,rev:Vk,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Vk,requiredFeatures:Vk,requiredFonts:Vk,requiredFormats:Vk,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Dk,specularExponent:Dk,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Dk,strikethroughThickness:Dk,string:null,stroke:null,strokeDashArray:Vk,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Dk,strokeOpacity:Dk,strokeWidth:null,style:null,surfaceScale:Dk,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Vk,tabIndex:Dk,tableValues:null,target:null,targetX:Dk,targetY:Dk,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Vk,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Dk,underlineThickness:Dk,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Dk,values:null,vAlphabetic:Dk,vMathematical:Dk,vectorEffect:null,vHanging:Dk,vIdeographic:Dk,version:null,vertAdvY:Dk,vertOriginX:Dk,vertOriginY:Dk,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Dk,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Gk}),Yk=Fk({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(t,e)=>"xlink:"+e.slice(5).toLowerCase()}),$k=Fk({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:jk}),Qk=Fk({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(t,e)=>"xml:"+e.slice(3).toLowerCase()}),Xk=Ck([zk,Wk,Yk,$k,Qk],"html"),Jk=Ck([zk,Kk,Yk,$k,Qk],"svg"),Zk=/[A-Z]/g,t_=/-[a-z]/g,e_=/^data[-\w.:]+$/i;function n_(t,e){const n=Sk(e);let i=e,r=xk;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&e_.test(e)){if("-"===e.charAt(4)){const t=e.slice(5).replace(t_,r_);i="data"+t.charAt(0).toUpperCase()+t.slice(1)}else{const t=e.slice(4);if(!t_.test(t)){let n=t.replace(Zk,i_);"-"!==n.charAt(0)&&(n="-"+n),e="data"+n}}r=Uk}return new r(i,e)}function i_(t){return"-"+t.toLowerCase()}function r_(t){return t.charAt(1).toUpperCase()}const s_="http://www.w3.org/1999/xhtml",o_="http://www.w3.org/2000/svg",a_={}.hasOwnProperty;function c_(t,e){const n=function(t,e){switch(t.type){case"root":return function(t,e){const n=t.children||[];let i,r=0===n.length,s=-1;for(;++s<n.length;){const t=n[s];if("element"===t.type&&"html"===t.tagName){r=!0,i=String(t.properties&&t.properties.xmlns||"")||s_;break}}const o=e.namespace||i;let a;a=r?e.doc.implementation.createDocument(o||null,""):e.fragment?e.doc.createDocumentFragment():e.doc.createElement("html");return l_(a,n,{...e,namespace:o,impliedNamespace:o}),a}(t,e);case"text":return function(t,e){return e.doc.createTextNode(t.value)}(t,e);case"doctype":return function(t,e){return e.doc.implementation.createDocumentType("html","","")}(0,e);case"comment":return function(t,e){return e.doc.createComment(t.value)}(t,e);default:return function(t,e){let n=e.impliedNamespace||e.namespace;const i=t.tagName||(n===o_?"g":"div"),r=t.properties||{},s=t.children||[];void 0!==n&&n!==s_||"svg"!==i||(n=o_);const o=n?e.doc.createElementNS(n,i):e.doc.createElement(i);!function(t,e,n){let i;for(i in e)if(a_.call(e,i)){const r=n_(n,i);let s=e[i];Array.isArray(s)&&(s=s.join(r.commaSeparated?", ":" ")),r.mustUseProperty&&(t[r.property]=s),r.boolean||r.overloadedBoolean&&"boolean"==typeof s?s&&t.setAttribute(r.attribute,""):r.booleanish?t.setAttribute(r.attribute,String(s)):!0===s?t.setAttribute(r.attribute,""):(s||0===s||""===s)&&t.setAttribute(r.attribute,String(s))}}(o,r,n===o_?Jk:Xk);const a=e.impliedNamespace;return e.impliedNamespace=n,l_(o,s,e),e.impliedNamespace=a,o}(t,e)}}(t,e);return e.afterTransform&&e.afterTransform(t,n),n}function l_(t,e,n){let i=-1;for(;++i<e.length;)t.append(c_(e[i],n))}function u_(t){const e={...this.data("settings"),...t};!1!==e.fragment&&(e.fragment=!0),this.compiler=function(t){return h_(function(t,e){const n=e||{};return c_(t,{doc:n.document||document,fragment:n.fragment||!1,namespace:n.namespace||void 0,impliedNamespace:void 0,afterTransform:n.afterTransform||void 0})}(t,e))}}function h_(t){if("doctype"in t){return(t.doctype?h_(t.doctype):"")+(t.documentElement?h_(t.documentElement):"")}if("publicId"in t)return"<DOCTYPE html>";const e=document.createElement("template");return e.content.append(t),e.innerHTML}const d_=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],p_={}.hasOwnProperty;const f_=/["&'<>`]/g,g_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m_=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,k_=/[|\\{}()[\]^$+*?.]/g,__=new WeakMap;function b_(t,e){return t=t.replace(e.subset?function(t){let e=__.get(t);e||(e=function(t){const e=[];let n=-1;for(;++n<t.length;)e.push(t[n].replace(k_,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}(t),__.set(t,e));return e}(e.subset):f_,n),e.subset||e.escapeOnly?t:t.replace(g_,function(t,n,i){return e.format(1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536,i.charCodeAt(n+2),e)}).replace(m_,n);function n(t,n,i){return e.format(t.charCodeAt(0),i.charCodeAt(n+1),e)}}const w_=/[\dA-Fa-f]/;const I_=/\d/;const v_=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],y_={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},A_=["cent","copy","divide","gt","lt","not","para","times"],E_={}.hasOwnProperty,T_={};let C_;for(C_ in y_)E_.call(y_,C_)&&(T_[y_[C_]]=C_);const S_=/[^\dA-Za-z]/;function x_(t,e,n){let i,r=function(t,e,n){const i="&#x"+t.toString(16).toUpperCase();return n&&e&&!w_.test(String.fromCharCode(e))?i:i+";"}(t,e,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(i=function(t,e,n,i){const r=String.fromCharCode(t);if(E_.call(T_,r)){const t=T_[r],s="&"+t;return n&&v_.includes(t)&&!A_.includes(t)&&(!i||e&&61!==e&&S_.test(String.fromCharCode(e)))?s:s+";"}return""}(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const i=function(t,e,n){const i="&#"+String(t);return n&&e&&!I_.test(String.fromCharCode(e))?i:i+";"}(t,e,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function R_(t,e){return b_(t,Object.assign({format:x_},e))}const N_=/^>|^->|<!--|-->|--!>|<!-$/g,O_=[">"],L_=["<",">"];function D_(t){const e=[],n=String(t||"");let i=n.indexOf(","),r=0,s=!1;for(;!s;){-1===i&&(i=n.length,s=!0);const t=n.slice(r,i).trim();!t&&s||e.push(t),r=i+1,i=n.indexOf(",",r)}return e}function P_(t,e){const n=e||{};return(""===t[t.length-1]?[...t,""]:t).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}function M_(t){const e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function V_(t){return t.join(" ").trim()}const B_=/[ \t\n\f\r]/g;function H_(t){return"object"==typeof t?"text"===t.type&&U_(t.value):U_(t)}function U_(t){return""===t.replace(B_,"")}const q_=G_(1),F_=G_(-1),z_=[];function G_(t){return function(e,n,i){const r=e?e.children:z_;let s=(n||0)+t,o=r[s];if(!i)for(;o&&H_(o);)s+=t,o=r[s];return o}}const j_={}.hasOwnProperty;function W_(t){return function(e,n,i){return j_.call(t,e.tagName)&&t[e.tagName](e,n,i)}}const K_=W_({body:function(t,e,n){const i=q_(n,e);return!i||"comment"!==i.type},caption:Y_,colgroup:Y_,dd:function(t,e,n){const i=q_(n,e);return!i||"element"===i.type&&("dt"===i.tagName||"dd"===i.tagName)},dt:function(t,e,n){const i=q_(n,e);return Boolean(i&&"element"===i.type&&("dt"===i.tagName||"dd"===i.tagName))},head:Y_,html:function(t,e,n){const i=q_(n,e);return!i||"comment"!==i.type},li:function(t,e,n){const i=q_(n,e);return!i||"element"===i.type&&"li"===i.tagName},optgroup:function(t,e,n){const i=q_(n,e);return!i||"element"===i.type&&"optgroup"===i.tagName},option:function(t,e,n){const i=q_(n,e);return!i||"element"===i.type&&("option"===i.tagName||"optgroup"===i.tagName)},p:function(t,e,n){const i=q_(n,e);return i?"element"===i.type&&("address"===i.tagName||"article"===i.tagName||"aside"===i.tagName||"blockquote"===i.tagName||"details"===i.tagName||"div"===i.tagName||"dl"===i.tagName||"fieldset"===i.tagName||"figcaption"===i.tagName||"figure"===i.tagName||"footer"===i.tagName||"form"===i.tagName||"h1"===i.tagName||"h2"===i.tagName||"h3"===i.tagName||"h4"===i.tagName||"h5"===i.tagName||"h6"===i.tagName||"header"===i.tagName||"hgroup"===i.tagName||"hr"===i.tagName||"main"===i.tagName||"menu"===i.tagName||"nav"===i.tagName||"ol"===i.tagName||"p"===i.tagName||"pre"===i.tagName||"section"===i.tagName||"table"===i.tagName||"ul"===i.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))},rp:$_,rt:$_,tbody:function(t,e,n){const i=q_(n,e);return!i||"element"===i.type&&("tbody"===i.tagName||"tfoot"===i.tagName)},td:Q_,tfoot:function(t,e,n){return!q_(n,e)},th:Q_,thead:function(t,e,n){const i=q_(n,e);return Boolean(i&&"element"===i.type&&("tbody"===i.tagName||"tfoot"===i.tagName))},tr:function(t,e,n){const i=q_(n,e);return!i||"element"===i.type&&"tr"===i.tagName}});function Y_(t,e,n){const i=q_(n,e,!0);return!i||"comment"!==i.type&&!("text"===i.type&&H_(i.value.charAt(0)))}function $_(t,e,n){const i=q_(n,e);return!i||"element"===i.type&&("rp"===i.tagName||"rt"===i.tagName)}function Q_(t,e,n){const i=q_(n,e);return!i||"element"===i.type&&("td"===i.tagName||"th"===i.tagName)}const X_=W_({body:function(t){const e=q_(t,-1,!0);return!(e&&("comment"===e.type||"text"===e.type&&H_(e.value.charAt(0))||"element"===e.type&&("meta"===e.tagName||"link"===e.tagName||"script"===e.tagName||"style"===e.tagName||"template"===e.tagName)))},colgroup:function(t,e,n){const i=F_(n,e),r=q_(t,-1,!0);if(n&&i&&"element"===i.type&&"colgroup"===i.tagName&&K_(i,n.children.indexOf(i),n))return!1;return Boolean(r&&"element"===r.type&&"col"===r.tagName)},head:function(t){const e=new Set;for(const n of t.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(e.has(n.tagName))return!1;e.add(n.tagName)}const n=t.children[0];return!n||"element"===n.type},html:function(t){const e=q_(t,-1);return!e||"comment"!==e.type},tbody:function(t,e,n){const i=F_(n,e),r=q_(t,-1);if(n&&i&&"element"===i.type&&("thead"===i.tagName||"tbody"===i.tagName)&&K_(i,n.children.indexOf(i),n))return!1;return Boolean(r&&"element"===r.type&&"tr"===r.tagName)}});const J_={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Z_(t,e,n){const i=n_(t.schema,e),r=t.settings.allowParseErrors&&"html"===t.schema.space?0:1,s=t.settings.allowDangerousCharacters?0:1;let o,a=t.quote;if(!i.overloadedBoolean||n!==i.attribute&&""!==n?!i.boolean&&!i.overloadedBoolean||"string"==typeof n&&n!==i.attribute&&""!==n||(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const c=R_(i.attribute,Object.assign({},t.settings.characterReferences,{subset:J_.name[r][s]}));return!0===n?c:(n=Array.isArray(n)?(i.commaSeparated?P_:V_)(n,{padLeft:!t.settings.tightCommaSeparatedLists}):String(n),t.settings.collapseEmptyAttributes&&!n?c:(t.settings.preferUnquoted&&(o=R_(n,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:J_.unquoted[r][s]}))),o!==n&&(t.settings.quoteSmart&&$d(n,a)>$d(n,t.alternative)&&(a=t.alternative),o=a+R_(n,Object.assign({},t.settings.characterReferences,{subset:("'"===a?J_.single:J_.double)[r][s],attribute:!0}))+a),c+(o?"="+o:o)))}const tb=["<","&"];function eb(t,e,n,i){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?R_(t.value,Object.assign({},i.settings.characterReferences,{subset:tb})):t.value}const nb=function(t,e){const n=e||{};function i(e,...n){let r=i.invalid;const s=i.handlers;if(e&&p_.call(e,t)){const n=String(e[t]);r=p_.call(s,n)?s[n]:i.unknown}if(r)return r.call(this,e,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}("type",{invalid:function(t){throw new Error("Expected node, not `"+t+"`")},unknown:function(t){const e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(t,e,n,i){return i.settings.bogusComments?"<?"+R_(t.value,Object.assign({},i.settings.characterReferences,{subset:O_}))+">":"\x3c!--"+t.value.replace(N_,function(t){return R_(t,Object.assign({},i.settings.characterReferences,{subset:L_}))})+"--\x3e"},doctype:function(t,e,n,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"},element:function(t,e,n,i){const r=i.schema,s="svg"!==r.space&&i.settings.omitOptionalTags;let o="svg"===r.space?i.settings.closeEmptyElements:i.settings.voids.includes(t.tagName.toLowerCase());const a=[];let c;"html"===r.space&&"svg"===t.tagName&&(i.schema=Jk);const l=function(t,e){const n=[];let i,r=-1;if(e)for(i in e)if(null!==e[i]&&void 0!==e[i]){const r=Z_(t,i,e[i]);r&&n.push(r)}for(;++r<n.length;){const e=t.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&'"'!==e&&"'"!==e&&(n[r]+=" ")}return n.join("")}(i,t.properties),u=i.all("html"===r.space&&"template"===t.tagName?t.content:t);return i.schema=r,u&&(o=!1),!l&&s&&X_(t,e,n)||(a.push("<",t.tagName,l?" "+l:""),o&&("svg"===r.space||i.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!i.settings.tightSelfClosing||"/"===c||c&&'"'!==c&&"'"!==c)&&a.push(" "),a.push("/")),a.push(">")),a.push(u),o||s&&K_(t,e,n)||a.push("</"+t.tagName+">"),a.join("")},raw:function(t,e,n,i){return i.settings.allowDangerousHtml?t.value:eb(t,0,n,i)},root:function(t,e,n,i){return i.all(t)},text:eb}});const ib={},rb={},sb=[];function ob(t,e,n){return nb(t,e,n,this)}function ab(t){const e=[],n=t&&t.children||sb;let i=-1;for(;++i<n.length;)e[i]=this.one(n[i],i,t);return e.join("")}const cb=/[#.]/g;function lb(t,e,n){const i=n?function(t){const e=new Map;for(const n of t)e.set(n.toLowerCase(),n);return e}(n):void 0;return function(n,r,...s){let o;if(null==n){o={type:"root",children:[]};const t=r;s.unshift(t)}else{o=function(t,e){const n=t||"",i={};let r,s,o=0;for(;o<n.length;){cb.lastIndex=o;const t=cb.exec(n),e=n.slice(o,t?t.index:n.length);e&&(r?"#"===r?i.id=e:Array.isArray(i.className)?i.className.push(e):i.className=[e]:s=e,o+=e.length),t&&(r=t[0],o++)}return{type:"element",tagName:s||e||"div",properties:i,children:[]}}(n,e);const a=o.tagName.toLowerCase(),c=i?i.get(a):void 0;if(o.tagName=c||a,function(t){if(null===t||"object"!=typeof t||Array.isArray(t))return!0;if("string"!=typeof t.type)return!1;const e=t,n=Object.keys(t);for(const t of n){const n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;const t=n;for(const e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}if("children"in t&&Array.isArray(t.children))return!0;return!1}(r))s.unshift(r);else for(const[e,n]of Object.entries(r))ub(t,o.properties,e,n)}for(const t of s)hb(o.children,t);return"element"===o.type&&"template"===o.tagName&&(o.content={type:"root",children:o.children},o.children=[]),o}}function ub(t,e,n,i){const r=n_(t,n);let s;if(null!=i){if("number"==typeof i){if(Number.isNaN(i))return;s=i}else s="boolean"==typeof i?i:"string"==typeof i?r.spaceSeparated?M_(i):r.commaSeparated?D_(i):r.commaOrSpaceSeparated?M_(D_(i).join(" ")):db(r,r.property,i):Array.isArray(i)?[...i]:"style"===r.property?function(t){const e=[];for(const[n,i]of Object.entries(t))e.push([n,i].join(": "));return e.join("; ")}(i):String(i);if(Array.isArray(s)){const t=[];for(const e of s)t.push(db(r,r.property,e));s=t}"className"===r.property&&Array.isArray(e.className)&&(s=e.className.concat(s)),e[r.property]=s}}function hb(t,e){if(null==e);else if("number"==typeof e||"string"==typeof e)t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(const n of e)hb(t,n);else{if("object"!=typeof e||!("type"in e))throw new Error("Expected node, nodes, or string, got `"+e+"`");"root"===e.type?hb(t,e.children):t.push(e)}}function db(t,e,n){if("string"==typeof n){if(t.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((t.boolean||t.overloadedBoolean)&&(""===n||Sk(n)===Sk(e)))return!0}return n}const pb=lb(Xk,"div"),fb=lb(Jk,"g",["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","solidColor","textArea","textPath"]);function gb(t,e){const n=function(t,e){switch(t.nodeType){case 1:return function(t,e){const n=t.namespaceURI,i=n===o_?fb:pb,r=n===s_?t.tagName.toLowerCase():t.tagName,s=n===s_&&"template"===r?t.content:t,o=t.getAttributeNames(),a={};let c=-1;for(;++c<o.length;)a[o[c]]=t.getAttribute(o[c])||"";return i(r,a,kb(s,e))}(t,e);case 3:return function(t){return{type:"text",value:t.nodeValue||""}}(t);case 8:return function(t){return{type:"comment",value:t.nodeValue||""}}(t);case 9:return mb(t,e);case 10:return{type:"doctype"};case 11:return mb(t,e);default:return}}(t,e);return n&&e.afterTransform&&e.afterTransform(t,n),n}function mb(t,e){return{type:"root",children:kb(t,e)}}function kb(t,e){const n=t.childNodes,i=[];let r=-1;for(;++r<n.length;){const t=gb(n[r],e);void 0!==t&&i.push(t)}return i}class _b{_processor;constructor(){this._processor=Fd().use(Km).use(Eg,{singleTilde:!0}).use(Ek).use(yk,{allowDangerousHtml:!0}).use(wb).use(bb).use(u_)}parse(t){return this._processor.processSync(t).toString().replaceAll("\n</code>","</code>")}}function bb(){return t=>{lf(t,"element",t=>{"ul"!==t.tagName&&"ol"!==t.tagName&&"li"!==t.tagName||(t.children=t.children.filter(t=>"text"!==t.type||!!t.value.trim()),delete t.properties.className)})}}function wb(){return t=>{lf(t,["root","element"],t=>{if(!function(t){return("root"===t.type||"element"===t.type)&&t.children}(t))return;if(!t.children.some(t=>"raw"===t.type))return;const e=document.createElement("template");e.innerHTML=function(t,e){const n=e||ib,i=n.quote||'"',r='"'===i?"'":'"';if('"'!==i&&"'"!==i)throw new Error("Invalid quote `"+i+"`, expected `'` or `\"`");return{one:ob,all:ab,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||d_,characterReferences:n.characterReferences||rb,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?Jk:Xk,quote:i,alternative:r}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}({type:"root",children:t.children},{allowDangerousHtml:!0}),t.children=Array.from(e.content.childNodes).map(t=>function(t,e){return gb(t,e||{})||{type:"root",children:[]}}(t))})}}const Ib=vb;function vb(t,e){const n=yb();return(vb=function(t,e){return n[t-=391]})(t,e)}function yb(){const t=["replace","children","_m2html","12PVLBXK","convertMarkdownToHTML","<dummy>","836392rNUxDg","543400hcUqBS","35tUqARG","334397ZTZmxT","245046qBTVMn","</dummy>","13990jexOPE","7135604WAAYXN","parse","28324629GVirbt","_parseHTML","parseAndNormalizeHTML"];return(yb=function(){return t})()}!function(t){const e=vb,n=t();for(;;)try{if(918829===parseInt(e(407))/1+parseInt(e(404))/2*(parseInt(e(401))/3)+parseInt(e(393))/4+parseInt(e(392))/5+parseInt(e(408))/6*(parseInt(e(406))/7)+parseInt(e(405))/8+-parseInt(e(395))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yb);class Ab extends((0,o.ObservableMixin)()){[Ib(400)];constructor(){const t=Ib;super(),this[t(400)]=new _b}[Ib(402)](t){const e=Ib,n=this[e(400)][e(394)](t);return this[e(397)](n)}[Ib(397)](t){return this[Ib(396)](t)}[Ib(396)](t){const e=Ib,n=t[e(398)](/^\t+/gm," ")[e(398)](/\n*/g,"")[e(398)](/\s+/g," ")[e(398)](/<[^>]*?$/g,""),i=cd(e(403)+n+e(391));return i[e(399)]=i[e(399)][0][e(399)],i}}const Eb=Tb;function Tb(t,e){const n=Cb();return(Tb=function(t,e){return n[t-=354]})(t,e)}function Cb(){const t=["83677TWfblF","data-removed","_replaceNode","nodeType","_findNextElementWithDataId","markUnstableElementsDepth","forEach","_findReferenceNode","modifiedIds","match","newIds","_isExistingContentComment","_touchedNodesState","_generateUid","3kHAQKN","_markLastTagElementUnstable","childNodes","true","merge","208WNHEEO","slice","includes","_insertNodes","afterbegin","cloneNode","1jvYTGi","push","lastTouchedId","1146094fHUhmB","previousSibling","_isExistingNode","468433oNfAmh","removedIds","map","_removeSpecialComments","nextSibling","36PYWyur","afterend","splice","_existingDataIds","_isDelNode","_markUnstableElements","_getUid","lastChild","from","74547QRcMKZ","reverse","invalidIds","_getNodeDataId","14281068GbVCLX","filter","has","_hasWrappedParent","markUnstableElements","new-element","beforebegin","_findFallbackReferenceNode","_isNewNode","2964985onvldn","_markWrappedElements","replaceRemovedWith","cutAfterLastChange","_storeDeletedElementIds","data-id","data-unstable","409840mHWXuo","750JmmThB","data-wrapped-id","parentNode","_findPrevElementWithDataId","indexOf","trim","length"];return(Cb=function(){return t})()}!function(t){const e=Tb,n=t();for(;;)try{if(305954===parseInt(e(397))/1*(-parseInt(e(400))/2)+-parseInt(e(386))/3*(parseInt(e(364))/4)+-parseInt(e(357))/5+-parseInt(e(408))/6*(parseInt(e(403))/7)+parseInt(e(391))/8*(parseInt(e(417))/9)+-parseInt(e(365))/10*(-parseInt(e(372))/11)+parseInt(e(421))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Cb);class Sb extends((0,o.ObservableMixin)()){[Eb(385)];[Eb(384)]={newIds:[],modifiedIds:[],removedIds:[],invalidIds:[],lastTouchedId:null};[Eb(411)]=new Set;constructor(t){const e=Eb;super(),this[e(385)]=t||o.uid}[Eb(390)](t,e,n){const i=Eb,r=t[kd(498)](!0);if(0===e[i(388)][i(371)]){const t=[];return hd(i(362),i(426),r)[i(378)](e=>{const n=i,r=this[n(385)]();pd(e,n(362),r),t[n(398)](r)}),this[i(406)](r),{parsedContent:r,newNodeIds:t,modifiedNodeIds:[],removedNodeIds:[]}}n&&n[i(425)]&&this[i(387)](r),this[i(384)][i(382)]=[],this[i(384)][i(380)]=[],this[i(384)][i(404)]=[],this[i(384)][i(419)]=[],this[i(384)][i(399)]=null,this[i(411)]=new Set(hd(i(362),null,e)[i(405)](t=>dd(t,i(362)))[i(422)](t=>!!t));let s=-1,o=!1;const a=r[i(388)],c=Array[i(416)](a)[i(422)](t=>!(3===t[i(375)]&&""===ld(t)[i(370)]())),l=c[i(371)];for(let t=0;t<l;t++){const n=c[t],r=c[t+1];if(this[i(356)](n)){if(-1===s&&(s=t),this[i(358)](n),!this[i(356)](r)){const[r,a]=this[i(379)](n,o,e);if(r){const e=Array[i(416)](c)[i(392)](s,t+1);this[i(394)](r,e,a),s=-1}}}else if(this[i(383)](n))o=!0;else if(this[i(402)](n)){const t=dd(n,i(362));if(t&&this[i(411)][i(423)](t)){const r=ud(i(362),t,e);this[i(374)](r,n)}if(this[i(384)][i(404)][i(393)](t)){const e=this[i(384)][i(404)][i(369)](t);this[i(384)][i(404)][i(410)](e,1)}}else if(this[i(412)](n)){const t=dd(n,i(362));this[i(384)][i(380)][i(393)](t)||this[i(361)](n)}}for(const t of this[i(384)][i(404)]){const r=ud(i(362),t,e);if(r)if(n&&n[i(359)]){this[i(384)][i(399)]=t;const e=n[i(359)][i(396)](!0);pd(e,i(362),t),pd(e,i(373),i(389)),Jh(r,e)}else Xh(r)}if(hd(i(366),null,e)[i(378)](t=>{const n=i,r=dd(t,n(366)),s=ud(n(362),r,e);var o,a;s&&(a=t,Xh(o=s),Jh(a,o))}),hd(i(362),i(426),e)[i(378)](t=>{const e=i,n=this[e(414)](t);pd(t,e(362),n),this[e(384)][e(382)][e(398)](n)}),this[i(406)](e),n&&n[i(425)]&&this[i(413)](e,n[i(377)]||0),n&&n[i(360)]&&this[i(384)][i(399)]){let t=ud(i(362),this[i(384)][i(399)],e);for(;t;)bd(t),t=t[i(367)]}return{parsedContent:e,newNodeIds:this[i(384)][i(382)],modifiedNodeIds:this[i(384)][i(380)],removedNodeIds:this[i(384)][i(404)]}}[Eb(394)](t,e,n){const i=Eb;for(const t of e){const e=this[i(414)](t);pd(t,i(362),e),this[i(384)][i(382)][i(398)](e),this[i(384)][i(399)]=e}const r=i(395)===n||i(409)===n?e[i(418)]():e;for(const e of r)fd(t,e,n)}[Eb(374)](t,e){const n=Eb;if(!t)return;if(i=e,md(ld(t))===md(ld(i)))return;var i;const r=this[n(414)](t);pd(e,n(362),r),this[n(384)][n(380)][n(398)](r),this[n(384)][n(399)]=r,Jh(t,e[n(396)](!0))}[Eb(379)](t,e,n){const i=Eb,r=this[i(368)](t,!1);if(r){const t=this[i(420)](r),e=ud(i(362),t,n);if(e)return[e,i(409)];this[i(384)][i(419)][i(398)](t)}const s=this[i(376)](t,!1);if(s){const t=this[i(420)](s),e=ud(i(362),t,n);if(e)return[e,i(354)];this[i(384)][i(419)][i(398)](t)}return e?t[i(407)]?this[i(355)](t,n):[n[i(388)][n[i(388)][i(371)]-1],i(409)]:[n[i(388)][0],i(354)]}[Eb(355)](t,e){const n=Eb,i=[],r=this[n(368)](t,!0);if(r){const t=this[n(420)](r),s=ud(n(362),t,e);s&&i[n(398)]([s,n(409)])}const s=this[n(376)](t,!0);if(s){const t=this[n(420)](s),r=ud(n(362),t,e);r&&i[n(398)]([r,n(354)])}return i[n(371)]>1?_d(i[0][0])<=_d(i[1][0])?i[0]:i[1]:1===i[n(371)]?i[0]:[e[n(415)],n(409)]}[Eb(376)](t,e){const n=Eb;let i=t[n(407)],r=null,s=!1;for(;i;){if(Tu(i)){if(this[n(412)](i)&&(r=i),this[n(383)](i)&&e&&!s){s=!0,i=i[n(407)];continue}break}const t=dd(i,n(362));if(t&&n(426)!==t&&this[n(411)][n(423)](t)){r=i;break}i=i[n(407)]}return r}[Eb(368)](t,e){const n=Eb;let i=t[n(401)],r=null,s=!1;for(;i;){if(Tu(i)){if(this[n(412)](i)&&(r=i),this[n(383)](i)&&e&&!s){s=!0,i=i[n(401)];continue}break}const t=dd(i,n(362));if(t&&n(426)!==t&&this[n(411)][n(423)](t)){r=i;break}i=i[n(401)]}return r}[Eb(358)](t){const e=Eb;Au(t)&&hd(e(362),null,t)[e(378)](t=>{const n=e;if(this[n(402)](t)&&!this[n(424)](t)){const e=dd(t,n(362));pd(t,n(366),e),pd(t,n(362),null)}})}[Eb(420)](t){const e=Eb;if(!t)return null;if(Au(t))return dd(t,e(362));if(Tu(t)){const n=ld(t)[e(381)](/removed[\s*-]data-id="([^"]+)"/);if(n&&n[1])return n[1]}return null}[Eb(361)](t){const e=Eb;if(Tu(t)){const n=ld(t)[e(381)](/removed[\s*-]data-id="([^"]+)"/);n&&n[1]&&this[e(384)][e(404)][e(398)](n[1])}}[Eb(414)](t){const e=Eb;return this[e(402)](t)?dd(t,e(362)):this[e(385)]()}[Eb(406)](t){const e=Eb;var n;(n=t,nd(t=>Tu(t),n,!0,1/0))[e(422)](t=>this[e(412)](t)||this[e(383)](t))[e(378)](t=>{Xh(t)})}[Eb(387)](t){const e=Eb,n=t[e(388)],i=n[n[e(371)]-1];i&&Au(i)&&pd(i,e(363),e(389))}[Eb(413)](t,e){const n=Eb,i=ud(n(363),n(389),t);if(!i)return;const r=gd(i)[n(392)](0,-1),s=r[n(371)];let o=i;if(s>e){let t=s,a=null;for(;t>e&&t>=0;)t--,a=r[t];a&&(o=a,pd(i,n(363),null),pd(a,n(363),n(389)))}else if(s<e){let t=s,r=i;for(;t<e;){const e=r[n(388)][n(422)](t=>Au(t));if(0===e[n(371)])break;t++,r=e[e[n(371)]-1]}r&&(o=r,pd(i,n(363),null),pd(r,n(363),n(389)))}let a=o;for(;a;){for(;a[n(407)];)a=a[n(407)],Au(a)&&pd(a,n(363),n(389));a=a[n(367)]}}[Eb(356)](t){const e=Eb;return Boolean(e(426)===dd(t,e(362)))}[Eb(402)](t){const e=Eb;return Boolean((dd(t,e(362))||"")[e(371)]>0&&e(426)!==dd(t,e(362)))}[Eb(412)](t){const e=Eb;return!!t&&Boolean(Tu(t)&&ld(t)[e(381)](/removed[\s*-]data-id="[^"]+"/))}[Eb(424)](t){const e=Eb;let n=t[e(367)];for(;n;){if(dd(n,e(366)))return!0;n=n[e(367)]}return!1}[Eb(383)](t){const e=Eb;return Boolean(Tu(t)&&ld(t)[e(381)](/\s*existing[\s*-](content|document)\s*/g))}}var xb=r(6211);function Rb(t,e){const n=Nb();return(Rb=function(t,e){return n[t-=233]})(t,e)}function Nb(){const t=["rename","createRangeOn","index","$text","addAttribute","_createFromRanges","getShiftedBy","1740qdVoCz","schema","stringify","isAfter","removed","word","11275839txqdyT","new","1836467caXrEI","createPositionAt","createRange","...","end","parse","isObject","batch","node","newValue","key","splitPosition","marker","getTransformedByOperation","type","stickiness","_getTransformedByDeletion","textNode","data-id","615285FBFUKa","setTo","POSITIVE_INFINITY","length","targetPosition","getMovedRangeStart","isBlock","isMarkedRemoveOperation","forward","split","removeAttribute","suggestion:deletion:","1136540LOzQrt","cloneNode","nodeBefore","remove","focus","set","changeAttribute","42TmCUyJ","isRegisteredAttribute","start","getMinimalFlatRanges","get","slice","applyOperation","modifySelection","root","toNone","_getTransformedByInsertion","push","backward","103763KXtgZN","add","merge","createSelection","move","isBefore","DocumentCompare","name","delete","oldName","clone","oldValue","addOperation","position","suggestion:formatBlock:$fakeWrap:","getOperations","newName","createPositionFromPath","isDocumentOperation","getFirstRange","range","newRange","$elementName","offset","nodeAfter","path","element","markers","suggestion:attribute:","children","changes",":$aiSuggestion","plugins","howMany","insert","model","2119016jyvcJB","$root","suggestion:insertion:","map","baseVersion","6Sxbdwq","SuggestionsConversion","10ZkhpjY","change","parent","moveTargetPosition","6250045VDwJdx","getDiff","2qAHkYd","reverse","sourcePosition","data"];return(Nb=function(){return t})()}function Ob({editor:t,changeGroups:e,documentContextContent:n,showDiff:i,trimUnchanged:r=!0}){const s=Rb;return e[s(266)](e=>{const a=s,c=new vu([]),l=new vu([]);for(const t of e[a(257)])if(i&&a(291)==t[a(309)]||l[a(256)][a(344)](t[a(303)][a(327)](!0)),a(294)!=t[a(309)]&&(i||a(291)!=t[a(309)])){const e=id(e=>dd(e,a(313))==t.id,n,!0);e&&c[a(256)][a(344)](e[a(327)](!0))}const{content:h,hasChanges:d}=function(t,e,n,i,r=!0){const s=a,c=t[s(259)][s(337)](s(233)),l=ld(e),h=ld(n),d=t[s(279)][s(300)](l,s(264)),p=t[s(262)][s(296)](d,0),f=c[s(275)](l,h,{anchor:p,markDeletions:i})[s(242)]();if(0==f[s(317)])return{content:e[s(327)](!0),hasChanges:!1};if(i?function(t,e,n){const i=s;if(0==t[i(317)])return;const r=n[i(259)][i(337)](i(233)),a=n[i(259)][i(337)](i(269));n[i(262)][i(271)](s=>{const c=i,l=new Set;for(let i=0;i<t[c(317)];i++){const h=t[i];if(h[c(267)]=null,h[c(245)]=!1,r[c(321)](h)){const t=(0,xb.fixElementSuggestionRange)(h[c(248)],n[c(262)]),i=c(325)+(0,o.uid)()+c(258);e[c(254)][c(331)](i,t)}else switch(h[c(309)]){case c(280):{if(h[c(236)]==h[c(243)])break;s[c(302)][c(239)](h),n[c(262)][c(339)](h);const t=c(249),i=h[c(240)],r=n[c(262)][c(297)](i,n[c(262)][c(296)](i[c(251)],c(299))),a=c(255)+t+":"+(0,o.uid)()+c(258);e[c(254)][c(331)](a,r);break}case c(284):case c(324):case c(332):{if(h[c(238)]==h[c(304)])break;s[c(302)][c(239)](h),n[c(262)][c(339)](h);const t=h[c(305)];if(!a[c(334)](t))break;const i=(0,xb.fixElementSuggestionRange)(h[c(247)],n[c(262)]),r=c(255)+t+":"+(0,o.uid)()+c(258);e[c(254)][c(331)](r,i);break}case c(261):{if(s[c(302)][c(239)](h),n[c(262)][c(339)](h),t[i+1]&&c(350)==t[i+1][c(309)]){Lb(e,h);break}const r=h[c(240)],a=h[c(260)],l=(0,xb.fixElementSuggestionRange)(n[c(262)][c(297)](r,r[c(286)](a)),n[c(262)]),u=c(265)+(0,o.uid)()+c(258);e[c(254)][c(331)](u,l);break}case c(323):{s[c(302)][c(239)](h),n[c(262)][c(339)](h);const t=h[c(306)],i=h[c(273)],r=n[c(262)][c(297)](t,i),a=c(265)+(0,o.uid)()+c(258);e[c(254)][c(331)](a,r);break}case c(350):{s[c(302)][c(239)](h),n[c(262)][c(339)](h),t[i-1]&&c(261)==t[i-1][c(309)]&&Lb(e,h);const r=h[c(319)](),o=h[c(260)];for(let t=0;t<o;t++){const e=r[c(286)](t)[c(251)];l[c(347)](e)}break}case c(329):{const t=h[c(278)],e=h[c(260)],i=new u._DetachOperation(t,e);s[c(302)][c(239)](i),n[c(262)][c(339)](i);break}}}for(const t of l){const i=n[c(262)][c(281)](t),r=c(241)+(0,o.uid)()+c(258);e[c(254)][c(331)](r,(0,xb.fixElementSuggestionRange)(i,n[c(262)]))}})}(f,d,t):t[s(262)][s(271)](e=>{const n=s;for(const i of f)if(n(329)==i[n(309)]){const r=i[n(278)],s=i[n(260)],o=new u._DetachOperation(r,s);e[n(302)][n(239)](o),t[n(262)][n(339)](o)}else if(n(307)==i[n(309)]){const t=i[n(234)],e=i[n(248)];null!==e?d[n(254)][n(331)](t,e):d[n(254)][n(235)](t)}else i[n(267)]=null,i[n(245)]=!1,e[n(302)][n(239)](i),t[n(262)][n(339)](i)}),r){const e=Db(t,f,d);Pb(t[s(262)],e),function(t,e){const n=s,i=e[n(246)]()[n(335)];let r=e[n(246)]()[n(299)];const o=i[n(341)];(r[n(312)]||r[n(251)]&&r[n(251)].is(n(283)))&&((0,u._insertIntoModelNodeList)(r,n(298)),r=r[n(286)](3)),(i[n(312)]||i[n(328)]&&i[n(328)].is(n(283)))&&((0,u._insertIntoModelNodeList)(i,n(298)),function(t,e){const i=n;for(let[n,r]of t[i(254)]){const s=r[i(343)](e,3,!1);r=s[0],t[i(254)][i(331)](n,r)}}(o,i),i[n(272)]==r[n(272)]&&(r=r[n(286)](3)));const a=t[n(297)](t[n(296)](o,0),i),c=t[n(297)](r,t[n(296)](o,n(299))),l=[...a[n(336)](),...c[n(336)]()];l[n(277)]();for(const t of l)(0,u._removeFromModelNodeList)(t),Vb(o,t)}(t[s(262)],e)}return{content:cd(t[s(279)][s(289)](d,{showSuggestionHighlights:!0})),hasChanges:!0}}(t,c,l,i,r);return{type:e[a(257)][0][a(309)],index:e[a(282)],content:h,hasChanges:d}})}function Lb(t,e){const n=Rb;for(const[i,r]of t[n(254)]){const s=u.ModelRange[n(285)](r[n(308)](e));t[n(254)][n(331)](i,s)}}function Db(t,e,n){const i=Rb,r=t[i(259)][i(337)](i(233));let s=t[i(262)][i(296)](n,Number[i(316)]),o=t[i(262)][i(296)](n,0);for(const a of e){let e,c;if(r[i(321)](a))e=a[i(248)][i(335)],c=a[i(248)][i(299)];else switch(s=s[i(308)](a),o=o[i(308)](a),a[i(309)]){case i(280):e=a[i(240)],c=e[i(286)](1);break;case i(284):case i(324):case i(332):e=a[i(247)][i(335)],c=a[i(247)][i(299)];break;case i(261):e=a[i(240)],c=e[i(286)](a[i(260)]);break;case i(323):e=a[i(306)],c=a[i(273)];break;case i(348):{const r=a[i(318)][i(252)][i(338)](0,-1);e=t[i(262)][i(244)](n,r),c=e[i(286)](1);break}case i(329):{const t=a[i(260)],n=a[i(278)][i(343)](a[i(318)],t),r=a[i(319)]();i(329)==a[i(309)]?(e=n,c=n):(e=r,c=r[i(286)](t));break}}e&&e[i(351)](s)&&(s=e[i(237)](),s[i(310)]=i(342)),c&&c[i(290)](o)&&(o=c[i(237)](),o[i(310)]=i(342))}return t[i(262)][i(349)](t[i(262)][i(297)](s,o))}function Pb(t,e){const n=Rb;Mb(t,e,n(322));const i=e[n(246)]();e[n(315)]([]),e[n(315)](i,{backward:!0}),Mb(t,e,n(345))}function Mb(t,e,n){const i=Rb;let r=20;for(;r;){t[i(340)](e,{unit:i(292),direction:n}),r--;const s=e[i(330)][i(322)==n?i(328):i(251)];if(s&&s.is(i(253))&&t[i(288)][i(320)](s)&&t[i(288)][i(301)](s))break}}function Vb(t,e){const n=Rb;for(const[i,r]of t[n(254)]){const s=r[n(311)](e[n(335)],e[n(299)][n(250)]-e[n(335)][n(250)]);null!=s?t[n(254)][n(331)](i,s):t[n(254)][n(235)](i)}}!function(t){const e=Rb,n=t();for(;;)try{if(966930===parseInt(e(295))/1*(-parseInt(e(276))/2)+-parseInt(e(314))/3+parseInt(e(326))/4+parseInt(e(274))/5*(parseInt(e(268))/6)+-parseInt(e(333))/7*(-parseInt(e(263))/8)+-parseInt(e(293))/9*(-parseInt(e(270))/10)+parseInt(e(346))/11*(-parseInt(e(287))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nb);const Bb="[object RegExp]",Hb="[object String]",Ub="[object Number]",qb="[object Boolean]",Fb="[object Arguments]",zb="[object Symbol]",Gb="[object Date]",jb="[object Map]",Wb="[object Set]",Kb="[object Array]",Yb="[object ArrayBuffer]",$b="[object Object]",Qb="[object DataView]",Xb="[object Uint8Array]",Jb="[object Uint8ClampedArray]",Zb="[object Uint16Array]",tw="[object Uint32Array]",ew="[object Int8Array]",nw="[object Int16Array]",iw="[object Int32Array]",rw="[object Float32Array]",sw="[object Float64Array]";function ow(t,e,n,i=new Map,r=void 0){const s=r?.(t,e,n,i);if(null!=s)return s;if(null==(o=t)||"object"!=typeof o&&"function"!=typeof o)return t;var o,a;if(i.has(t))return i.get(t);if(Array.isArray(t)){const e=new Array(t.length);i.set(t,e);for(let s=0;s<t.length;s++)e[s]=ow(t[s],s,n,i,r);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;i.set(t,e);for(const[s,o]of t)e.set(s,ow(o,s,n,i,r));return e}if(t instanceof Set){const e=new Set;i.set(t,e);for(const s of t)e.add(ow(s,void 0,n,i,r));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(a=t,ArrayBuffer.isView(a)&&!(a instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);i.set(t,e);for(let s=0;s<t.length;s++)e[s]=ow(t[s],s,n,i,r);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return i.set(t,e),aw(e,t,n,i,r),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return i.set(t,e),aw(e,t,n,i,r),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return i.set(t,e),aw(e,t,n,i,r),e}if(t instanceof Error){const e=new t.constructor;return i.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,aw(e,t,n,i,r),e}if("object"==typeof t&&function(t){switch(function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}(t)){case Fb:case Kb:case Yb:case Qb:case qb:case Gb:case rw:case sw:case ew:case nw:case iw:case jb:case Ub:case $b:case Bb:case Wb:case Hb:case zb:case Xb:case Jb:case Zb:case tw:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return i.set(t,e),aw(e,t,n,i,r),e}return t}function aw(t,e,n=t,i,r){const s=[...Object.keys(e),...(o=e,Object.getOwnPropertySymbols(o).filter(t=>Object.prototype.propertyIsEnumerable.call(o,t)))];var o;for(let o=0;o<s.length;o++){const a=s[o],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=ow(e[a],a,n,i,r))}}function cw(t){return ow(t,void 0,t,new Map,void 0)}const lw=uw;function uw(t,e){const n=dw();return(uw=function(t,e){return n[t-=485]})(t,e)}!function(t){const e=uw,n=t();for(;;)try{if(471009===parseInt(e(564))/1*(parseInt(e(549))/2)+parseInt(e(548))/3+-parseInt(e(520))/4+-parseInt(e(486))/5*(-parseInt(e(531))/6)+parseInt(e(505))/7*(-parseInt(e(503))/8)+-parseInt(e(515))/9*(parseInt(e(542))/10)+parseInt(e(489))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dw);class hw extends((0,o.ObservableMixin)()){id;[lw(528)];[lw(543)];[lw(490)]=[];[lw(535)]=new vu([]);[lw(533)]=new vu([]);[lw(555)]=[];[lw(524)]=!1;[lw(521)];[lw(565)];[lw(563)];[lw(537)];[lw(487)]={withDiff:[],withoutDiff:[]};constructor({type:t,content:e="",isDone:n=!1,interactionId:i,areActionsDisabled:r,documentContextContent:s,editor:a,id:c}){const l=lw;super(),this.id=c||(0,o.uid)(),this[l(528)]=i,this[l(543)]=t,this[l(524)]=!!r,this[l(537)]=a,this[l(565)]=new Ab,this[l(563)]=new Sb,this[l(521)]=cd(s||""),this[l(512)](l(552),n),this.on(l(500),()=>{this[l(529)]()}),this[l(512)](l(492),e)}[lw(495)](t){const e=lw;this[e(512)](e(492),this[e(492)]+t)}[lw(527)](){const t=lw;this[t(552)]||(this[t(512)](t(552),!0),this[t(529)]())}[lw(557)](){this[lw(554)]()}[lw(485)](t,e){const n=lw;this[n(555)][t][n(491)]=e,this[n(509)](n(507),{reply:this,index:t,state:e})}[lw(553)]({showDiff:t,groupIndex:e}){const n=lw;if(!this[n(537)])throw new o.CKEditorError(n(508),null,{aiReply:this});const i=this[n(551)](t,e);if(i)return i;let r=[];if(void 0===e)r=this[n(555)];else{const t=this[n(555)][n(494)](({index:t})=>t===e);if(!t)throw new o.CKEditorError(n(547),null,{aiReply:this,groupIndex:e});r=[t]}const s=Ob({editor:this[n(537)],showDiff:t,changeGroups:r,documentContextContent:this[n(521)]});return this[n(526)](t,s),s}[lw(551)](t,e){const n=lw,i=n(t?541:546);if(!this[n(487)][i][n(559)])return null;const r=this[n(487)][i];if(void 0===e)return r[n(559)]>0&&r[n(559)]!==this[n(555)][n(559)]?(this[n(526)](t,null),null):cw(r);{const t=r[n(494)](({index:t})=>t===e);if(t)return[cw(t)]}return null}[lw(526)](t,e){const n=lw,i=n(t?541:546);e?e[n(496)](t=>{const e=n,r=this[e(487)][i],s=r[e(494)](({index:n})=>n===t[e(536)]);if(s){const n=r[e(539)](s);r[e(498)](n,1,t)}else r[e(530)](t)}):this[n(487)][i][n(559)]=0}[lw(529)](){const t=lw;if(t(545)===this[t(543)]){this[t(535)]=this[t(565)][t(511)](this[t(492)]);const e=this[t(555)];this[t(525)]();const n=this[t(516)](e,this[t(555)]);(n[t(559)]||this[t(552)])&&(this[t(509)](t(544),this,n),this[t(487)][t(541)][t(559)]=this[t(487)][t(546)][t(559)]=0)}else this[t(535)]=this[t(565)][t(517)](this[t(492)]),this[t(509)](t(544),this)}[lw(516)](t,e){const n=lw,i=[];for(const r of e){const e=t[r[n(536)]];e?e[n(550)][n(559)]!==r[n(550)][n(559)]?i[n(530)](r):e[n(550)][n(496)]((t,e)=>{const s=n,o=r[s(550)][e];t.id!==o.id&&i[s(530)](r)}):i[n(530)](r)}return i}[lw(525)](){const t=lw,e=new yu("p",{},[new yu(t(538),{style:t(558)},[new ku(Zl(this[t(537)][t(488)],t(501)))])]),n=this[t(563)][t(502)](this[t(535)],this[t(521)][t(518)](!0),{markUnstableElements:!this[t(552)],replaceRemovedWith:e,cutAfterLastChange:!this[t(552)]});if(!n[t(534)][t(559)]&&!this[t(552)])return;this[t(533)]=n[t(535)];let i=[];if(rd(e=>{const r=t,o=dd(e,r(510));if(!o||!s(o))return!1;const a=[e,...gd(e)].at(-2);if(e!=a){const t=dd(a,r(510));s(t)||(i[r(530)]({node:a,id:t,type:r(560)}),n[r(534)][r(530)](t))}else n[r(534)][r(506)](o)?i[r(530)]({node:e,type:r(560),id:o}):n[r(532)][r(506)](o)?i[r(530)]({node:e,type:r(519),id:o,anchorId:dd(e[r(504)],r(510))}):i[r(530)]({node:e,type:r(513),id:o});return!0},this[t(533)]),i=i[t(562)](({node:e})=>[...gd(e),e][t(556)](e=>!dd(e,t(540)))),0==i[t(559)])return;const r=[[i[0]]];for(let e=1;e<i[t(559)];e++){const n=r[r[t(559)]-1],s=n[n[t(559)]-1];i[e][t(561)][t(504)]==s[t(561)]&&t(560)!=i[e][t(543)]&&t(560)!=s[t(543)]?n[t(530)](i[e]):r[t(530)]([i[e]])}for(const e of r){const n=e[0],i=e[e[t(559)]-1],r=o(n[t(561)][t(504)]);r&&e[t(523)](r);const s=o(i[t(561)][t(493)]);s&&e[t(530)](s)}function s(e){const i=t;return n[i(534)][i(506)](e)||n[i(532)][i(506)](e)||n[i(497)][i(506)](e)}function o(e){const n=t;if(e&&dd(e,n(510))&&!dd(e,n(540))){const t=dd(e,n(510));if(!s(t))return{node:e,type:n(499),id:t}}return null}this[t(555)]=r[t(522)]((e,n)=>({changes:e,state:t(514),index:n}))}}function dw(){const t=["removedNodeIds","splice","context","change:content","AI_SUGGESTION_CONTENT_PART_REMOVED","merge","7544JCtVfa","previousSibling","1925YcvhZC","includes","replyChangeGroupStateUpdated","ai-get-editor-from-context-no-editor","fire","data-id","parseAndNormalizeHTML","set","removed","pending","691299DAwtiB","_getDifferentChangeGroups","convertMarkdownToHTML","cloneNode","new","1497672YZmApR","documentContextContent","map","unshift","areActionsDisabled","updateChangeGroups","_setCachedContentParts","done","interactionId","onContentChange","push","48CPMFZF","newNodeIds","parsedMergedContent","modifiedNodeIds","parsedContent","index","editor","span","indexOf","data-unstable","withDiff","70jyipys","type","replyContentUpdated","modification","withoutDiff","ai-reply-get-content-parts-group-not-found","1267017cOBpEh","1170702KDrnAe","changes","_getCachedContentParts","isDone","getContentParts","stopListening","changeGroups","every","destroy","color: #808080; font-style: italic","length","modified","node","filter","aiResponseApplier","1cfhsnm","aiResponseParser","setChangeGroupState","115725nXcQfE","cachedSuggestionContentParts","locale","4945369Hnrnuj","sources","state","content","nextSibling","find","appendContent","forEach"];return(dw=function(){return t})()}function pw(t,e){const n=gw();return(pw=function(t,e){return n[t-=210]})(t,e)}const fw=pw;function gw(){const t=["replies","callId","start","mcp-tool-notification","actionCallId","setConversationTitle","379560vLjCjj","reasoningStarted","reasoningFinished","replyCreated","toolName","webSearchFinished","_handleToolNotificationData","resetWebSearchState","action-metadata","interactionFinished","fire","ai-chat-interaction-error","result","2312100mTjIyO","notification","connector","216OjusDs","forEach","toolDataReceived","isDestroyed","_handleToolResultData","replyChangeGroupStateUpdated","splice","interactionStarted","sendRequest","stopListening","14fJhWAw","text","getDocumentContext","modification","sources","done","1746063aDVGsw","144qgLYnz","text-delta","abort","_isWebSearching","_isReasoning","source","interactionDestroyed","content","interactionStopped","78hrmnKt","3201SxBsSv","appendContent","currentReply","messageId","delegate","3596sjCUin","abortController","type","editor","94695hwwnZJ","currentRequest","getReply","find","640336kGlqGD","interactionCreated","isStopped","attributes","modification-delta","mcp-tool-result","reasoning","conversation-title","stop","conversationTitle","textDelta","push","message-metadata","createReply","getStream","resetReasoningState","parse","event","web-search","webSearchStarted","replyContentUpdated","destroy","data","length","544432NGRHzT","_finalizeInteraction","error"];return(gw=function(){return t})()}!function(t){const e=pw,n=t();for(;;)try{if(658390===parseInt(e(238))/1*(-parseInt(e(212))/2)+parseInt(e(229))/3*(-parseInt(e(234))/4)+-parseInt(e(275))/5+parseInt(e(228))/6*(parseInt(e(266))/7)+-parseInt(e(242))/8*(parseInt(e(219))/9)+-parseInt(e(288))/10+parseInt(e(218))/11*(parseInt(e(291))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gw);const mw=[fw(243),fw(298),fw(227),fw(284),fw(225),fw(278),fw(262),fw(296),fw(274),fw(261),fw(280),fw(276),fw(277),fw(293),fw(268)];class kw extends((0,o.EmitterMixin)()){id;[fw(269)]=[];[fw(231)];[fw(232)];[fw(273)];[fw(239)];[fw(290)];[fw(244)]=!1;[fw(294)]=!1;[fw(237)];[fw(223)]=!1;[fw(222)]=!1;constructor({connector:t,editor:e}){const n=fw;super(),this.id=(0,o.uid)(),this[n(290)]=t,this[n(244)]=!0,this[n(237)]=e}async[fw(271)](){const t=fw,e=[];let n,i,r;this[t(244)]=!1;try{this[t(239)]=await this[t(210)](),this[t(285)](t(298),this);const s=await this[t(239)][t(256)]();for await(const a of s){if(this[t(244)])return;if(t(268)==a[t(259)])return void this[t(285)](t(268),{error:new o.CKEditorError(t(286),this)});switch(a[t(259)]){case t(254):this[t(232)]=a[t(264)][t(232)];break;case t(283):this[t(273)]=a[t(264)][t(270)];break;case t(249):this[t(274)](a[t(264)][t(251)],!0);break;case t(224):e[t(253)](a[t(264)][t(224)]);break;case t(260):this[t(222)]||(this[t(222)]=!0,this[t(285)](t(261),this));break;case t(248):this[t(223)]||(this[t(223)]=!0,this[t(285)](t(276),this));break;case t(246):case t(220):this[t(257)](),this[t(282)](),n=t(246)==a[t(259)]?t(215):t(213),i=t(246)==a[t(259)]?a[t(264)].id:void 0,this[t(231)]&&this[t(231)][t(236)]!=n&&(this[t(231)][t(217)](),this[t(231)]=void 0),this[t(231)]||(this[t(231)]=this[t(255)]({type:n,interactionId:this.id,id:i}),t(215)==n&&(this[t(231)][t(216)]=e[t(297)](0))),this[t(231)][t(230)](a[t(264)][t(252)]);break;case t(247):r=JSON[t(258)](a[t(264)][t(287)]),this[t(295)]({toolName:a[t(264)][t(279)],data:r[t(264)],attributes:r[t(245)]});break;case t(272):this[t(281)]({toolName:a[t(264)][t(279)],data:a[t(264)][t(264)]})}}}finally{this[t(244)]||(this[t(231)]&&e[t(265)]>0&&(this[t(231)][t(216)]=e[t(297)](0)),this[t(267)](),this[t(285)](t(284),this))}}[fw(250)](){const t=fw;this[t(244)]||(this[t(267)](),this[t(285)](t(227),this))}[fw(240)](t){const e=fw;return this[e(269)][e(241)](e=>e.id===t)}[fw(263)](){const t=fw;this[t(294)]||(this[t(250)](),this[t(269)][t(292)](e=>e[t(263)]()),this[t(269)]=[],this[t(294)]=!0,this[t(285)](t(225),this),this[t(211)]())}[fw(255)](t){const e=fw,n=new hw({editor:this[e(237)],documentContextContent:this[e(214)]()?.[e(226)],...t});return this[e(269)][e(253)](n),n[e(233)](...mw).to(this),this[e(285)](e(278),n),n}[fw(274)](t,e=!1){const n=fw;this[n(285)](n(274),t,e)}[fw(282)](){const t=fw;this[t(222)]&&(this[t(222)]=!1,this[t(285)](t(280),this))}[fw(257)](){const t=fw;this[t(223)]&&(this[t(223)]=!1,this[t(285)](t(277),this))}[fw(295)](t){const e=fw;this[e(285)](e(293),{type:e(287),toolName:t[e(279)],data:structuredClone(t[e(264)]||{}),attributes:structuredClone(t[e(245)]||{})},this)}[fw(281)](t){const e=fw;this[e(285)](e(293),{type:e(289),toolName:t[e(279)],data:structuredClone(t[e(264)])},this)}[fw(267)](){const t=fw;this[t(244)]=!0,this[t(239)]&&this[t(239)][t(235)][t(221)](),this[t(231)]&&this[t(231)][t(217)](),this[t(239)]=this[t(231)]=void 0}}var _w,bw,ww,Iw,vw,yw;function Aw(){var t=["html","MARKDOWN","mcp-tool-context","33484maGQAL","URL","6846HmQucV","document","DOCUMENT","SELECTION","FILE","165JXTHYn","45178740pLztkU","5035296rGEPGB","markdown","selection","file","7649814auoRDc","TOOL","202ssuZCw","9423834ZlRkdm","TEXT","text","HTML","web-resource","1883421GGRTju"];return(Aw=function(){return t})()}function Ew(t,e){var n=Aw();return(Ew=function(t,e){return n[t-=194]})(t,e)}function Tw(){const t=["ai-chat-invalid-request","468273povMpa","file-too-many-pages","unsafe-content-detected","5095746LcRlyF","3435435WqAWRi","24rlzBoM","2498515SlKpbT","134968XRBoLX","ai-chat-unsupported-content-type","rate-limits-exceeded","ai-chat-context-form-data-size-limits-exceeded","content-too-large","ai-chat-model-already-set","file-too-large","ai-chat-unsafe-content-detected","ai-chat-context-unsupported-file-type","invalid-content-type","ai-chat-model-not-found","model-not-found","model-already-set","unsupported-file-type","ai-chat-context-file-too-many-pages","unsupported-content-type","ai-rate-limits-exceeded","form-data-size-limits-exceeded","3950136UZEBGj","ai-invalid-content-type","7kuKYgB","ai-chat-context-file-too-large","ai-chat-content-too-large","invalid-request-data","28299040MsAPGI","ai-usage-limits-exceeded","2ZSlLZK","usage-limits-exceeded"];return(Tw=function(){return t})()}!function(t){for(var e=Ew,n=t();;)try{if(726207===parseInt(e(196))/1*(-parseInt(e(209))/2)+-parseInt(e(215))/3+-parseInt(e(194))/4*(-parseInt(e(201))/5)+-parseInt(e(207))/6+-parseInt(e(210))/7+-parseInt(e(203))/8+parseInt(e(202))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Aw),(bw=_w||(_w={}))[(ww=Ew)(208)]=ww(218),bw[ww(200)]=ww(206),bw[ww(198)]=ww(197),bw[ww(195)]=ww(214),bw[ww(211)]=ww(212),bw[ww(199)]=ww(205),(vw=Iw||(Iw={}))[(yw=Ew)(211)]=yw(212),vw[yw(217)]=yw(204),vw[yw(213)]=yw(216);const Cw=Sw;function Sw(t,e){const n=Tw();return(Sw=function(t,e){return n[t-=163]})(t,e)}!function(t){const e=Sw,n=t();for(;;)try{if(567280===-parseInt(e(179))/1*(-parseInt(e(169))/2)+-parseInt(e(172))/3*(parseInt(e(177))/4)+-parseInt(e(178))/5+-parseInt(e(175))/6*(parseInt(e(163))/7)+-parseInt(e(197))/8+parseInt(e(176))/9+parseInt(e(167))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Tw);const xw=new Map([[Cw(170),Cw(168)],[Cw(181),Cw(195)],[Cw(188),Cw(198)],[Cw(166),Cw(171)],[Cw(191),Cw(184)],[Cw(190),Cw(189)],[Cw(174),Cw(186)],[Cw(194),Cw(180)],[Cw(183),Cw(165)],[Cw(192),Cw(187)],[Cw(185),Cw(164)],[Cw(173),Cw(193)],[Cw(196),Cw(182)]]),Rw=Nw;function Nw(t,e){const n=Dw();return(Nw=function(t,e){return n[t-=304]})(t,e)}!function(t){const e=Nw,n=t();for(;;)try{if(198219===parseInt(e(389))/1+parseInt(e(315))/2+-parseInt(e(344))/3+parseInt(e(316))/4+-parseInt(e(364))/5+parseInt(e(432))/6*(-parseInt(e(309))/7)+parseInt(e(417))/8*(parseInt(e(374))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Dw);const Ow=[Rw(400),Rw(385),Rw(406),Rw(416),Rw(399),Rw(421),Rw(366),Rw(343),Rw(319)];class Lw extends((0,o.ObservableMixin)()){[Rw(413)];[Rw(438)];[Rw(382)];constructor({connector:t,config:e,ownerId:n}){const i=Rw;super(),this[i(413)]=t,this[i(438)]=e,this[i(382)]=n}[Rw(392)](){const t=Rw;this[t(443)]=new Map,this[t(397)]=new Map,this[t(401)]=new Map,this[t(307)]=new Map,this[t(345)]()}[Rw(324)](){return this[Rw(443)]}async[Rw(422)](t){const e=Rw,n=await this[e(362)](t);return this[e(336)](n),e(442)===n[e(423)]&&this[e(376)](),n}async[Rw(362)](t){const e=Rw;if(t[e(435)]===_w[e(312)]){const n=await this[e(413)][e(447)](this[e(382)],t.id)[e(409)]();return{id:e(442),uiId:e(442),label:e(311),type:t[e(435)],content:n[e(330)],hidden:this[e(397)][e(377)](e(442)),version:n[e(434)]?.[e(394)],sessionId:n[e(434)]?.[e(398)]}}return t[e(435)]===_w[e(358)]?{id:t.id,uiId:t.id,label:t[e(371)]?.[e(429)]||t.id,type:_w[e(358)],mcpServerName:t[e(372)],toolName:t[e(335)],data:t[e(371)]||{}}:{id:t.id,uiId:t.id,label:t[e(434)]?.[e(429)]||t[e(368)]||t[e(412)]||t.id,type:t[e(435)],...t?.[e(434)]?.[e(378)]?{resourceId:t[e(434)]?.[e(378)]}:{}}}[Rw(439)](){return new Map(this[Rw(397)])}[Rw(444)](t){const e=Rw,n=this[e(443)][e(306)](t);n?.[e(448)]||this[e(428)](t)}[Rw(356)](){const t=Rw;if(0===this[t(443)][t(354)])return;for(const e of this[t(443)][t(327)]())this[t(428)](e[t(423)]);const e=this[t(397)][t(306)](t(442))||this[t(443)][t(306)](t(442));e&&this[t(342)]({...e,isReadOnly:!0,hidden:!0})}[Rw(314)](t){const e=Rw;for(const n of t[e(327)]())this[e(336)](n);this[e(356)](),this[e(407)](e(416),{contextItems:Array[e(333)](this[e(439)]()[e(327)]())})}[Rw(350)](){const t=Rw;return this[t(443)][t(377)](t(442))}[Rw(373)](){const t=Rw;return this[t(443)][t(377)](t(318))}[Rw(331)](){const t=Rw;return this[t(397)][t(377)](t(442))}static[Rw(446)](t){const e=Rw;return Array[e(333)](t[e(327)]())[e(383)](t=>this[e(305)](t))[e(381)](t=>null!==t)}async[Rw(431)](t,e,n=_w[Rw(380)]){const i=Rw,r=i(390)+(0,o.uid)();this[i(357)](r);try{await Promise[i(441)](t[i(383)](async t=>{const r=i,s=r(384)+(0,o.uid)(),a=pt(t[r(368)]);try{this[r(342)]({type:n,label:e?.[r(429)]||a,uiId:s,resourceId:e?.[r(378)]},!0);const i=this[r(413)][r(334)](this[r(382)],t,e);this[r(401)][r(361)](s,i[r(325)]);const{id:o}=await i[r(426)]();this[r(401)][r(313)](s),this[r(360)]({type:n,id:o,label:e?.[r(429)]||a,uiId:s,resourceId:e?.[r(378)]},!1)}catch(t){if(this[r(401)][r(313)](s),!(t instanceof o.CKEditorError&&t[r(304)][r(363)](r(425)))){const e=xw[r(306)](t[r(424)])||r(393),n=new o.CKEditorError(e,null,{fileName:a,...t});n[r(310)]=t[r(310)],this[r(407)](r(399),{error:n})}this[r(428)](s)}}))}finally{this[i(332)](r)}}[Rw(440)](t){const e=Rw;if(this[e(350)]()||!this[e(396)][e(317)][e(351)])return;const n={type:_w[e(312)],uiId:e(442),label:t,isReadOnly:this[e(397)][e(377)](e(442)),hidden:this[e(397)][e(377)](e(442))};this[e(342)](n)}async[Rw(338)](t,e,n,i){const r=Rw,s=this[r(443)][r(306)](r(442));if(s&&t){s[r(318)]=i?i[r(383)](t=>({start:t[r(349)],end:t[r(339)]})):[];try{if(s[r(394)]===e)return;const{id:i}=await this[r(413)][r(347)](this[r(382)],t,{version:e,sessionId:n})[r(426)]();s.id=i,s[r(330)]=t,s[r(394)]=e,s[r(398)]=n}catch(t){const e=new o.CKEditorError(r(411),null);e[r(310)]=t[r(310)],this[r(407)](r(399),{error:e})}}}[Rw(388)](t){const e=Rw;this[e(342)]({type:_w[e(450)],label:t,uiId:e(318),content:t})}[Rw(320)](){const t=Rw;this[t(428)](t(318))}async[Rw(410)](t,e){const n=Rw,i=n(436)+(0,o.uid)();this[n(357)](i);const r=n(436)+(0,o.uid)();try{this[n(342)]({type:_w[n(326)],label:e?.[n(429)]||t,uiId:r,resourceId:e?.[n(378)]},!0);const i=this[n(413)][n(340)](this[n(382)],t,e);this[n(401)][n(361)](r,i[n(325)]);const{id:s}=await i[n(426)]();this[n(401)][n(313)](r),this[n(360)]({type:_w[n(326)],id:s,label:e?.[n(429)]||t,uiId:r,resourceId:e?.[n(378)]},!1)}catch(e){this[n(401)][n(313)](r),e[n(304)][n(363)](n(425))||this[n(407)](n(399),{error:new o.CKEditorError(n(414),this,{url:t,originalError:e}),url:t}),this[n(428)](r)}finally{this[n(332)](i)}}[Rw(391)](t){const e=Rw;t.id=t.id??(0,o.uid)()[e(387)](0,21),this[e(443)][e(361)](t[e(423)],t),this[e(407)](e(400),{contextItem:t,isLoading:!1})}async[Rw(352)](t,e,n){const i=Rw,r=this[i(396)][i(329)][i(419)](e=>e.id===t);if(!r)return this[i(407)](i(399),{error:new o.CKEditorError(i(337),this,{sourceId:t}),sourceId:t}),[];try{const s=(await r[i(328)](e))[i(383)](t=>{const e=this[i(408)](t.id);return{...t,isInContext:e}});return r[i(415)]=s,this[i(407)](i(366),{sourceId:t,source:r,resources:s,uid:n}),s}catch(e){return this[i(407)](i(399),{error:new o.CKEditorError(i(451),this,{sourceId:t,originalError:e}),sourceId:t,sourceLabel:r[i(429)]}),[]}}async[Rw(323)](t,e){const n=Rw;if(this[n(408)](e.id))return;let i=e[n(371)];if(!i&&t[n(449)])try{i=await t[n(449)](e.id)}catch(i){return void this[n(407)](n(399),{error:new o.CKEditorError(n(437),this,{resourceId:e.id,sourceId:t.id,originalError:i}),resourceId:e.id,sourceId:t.id})}if(i)switch(e[n(435)]){case _w[n(326)]:if(n(346)!=typeof i)return void this[n(407)](n(399),{error:new o.CKEditorError(n(420),this,{resourceId:e.id,sourceId:t.id,expectedType:n(346),actualType:typeof i}),resourceId:e.id,sourceId:t.id});await this[n(410)](i,{label:e[n(429)],resourceId:e.id});break;case _w[n(380)]:if(!(i instanceof File))return void this[n(407)](n(399),{error:new o.CKEditorError(n(420),this,{resourceId:e.id,sourceId:t.id,expectedType:n(321),actualType:typeof i}),resourceId:e.id,sourceId:t.id});await this[n(431)]([i],{label:e[n(429)],resourceId:e.id});break;case _w[n(403)]:if(n(433)!=typeof i||!(n(330)in i)||!(n(435)in i))return void this[n(407)](n(399),{error:new o.CKEditorError(n(420),this,{resourceId:e.id,sourceId:t.id,expectedType:n(341),actualType:typeof i}),resourceId:e.id,sourceId:t.id});i=Lw[n(370)](i,e[n(429)]),await this[n(431)]([i],{label:e[n(429)],resourceId:e.id},_w[n(403)]);break;case _w[n(358)]:break;default:this[n(407)](n(399),{error:new o.CKEditorError(n(359),this,{resourceId:e.id,sourceId:t.id,resourceType:e[n(435)]}),resourceId:e.id,sourceId:t.id})}else this[n(407)](n(399),{error:new o.CKEditorError(n(365),this,{resourceId:e.id,sourceId:t.id}),resourceId:e.id,sourceId:t.id})}static[Rw(370)](t,e){const n=Rw;switch(t[n(435)]){case Iw[n(355)]:return new File([t[n(330)]],e,{type:n(430)});case Iw[n(322)]:return new File([t[n(330)]],e,{type:n(308)});default:return new File([t[n(330)]],e,{type:n(379)})}}static[Rw(305)](t){const e=Rw;switch(t[e(435)]){case _w[e(380)]:return{type:_w[e(380)],id:t.id};case _w[e(326)]:return{type:_w[e(326)],id:t.id};case _w[e(312)]:return{type:_w[e(312)],id:t.id,...t[e(318)]?.[e(404)]&&{selection:t[e(318)]}};case _w[e(403)]:return{type:_w[e(380)],id:t.id};case _w[e(358)]:{const n=t;return{type:_w[e(358)],mcpServerName:n[e(372)],toolName:n[e(335)],data:n[e(371)],id:n.id}}default:return null}}[Rw(342)](t,e=!1){const n=Rw;if(this[n(443)][n(361)](t[n(423)],t),t[n(353)]||this[n(407)](n(400),{contextItem:t,isLoading:e}),n(442)===t[n(423)]&&this[n(376)](),t[n(378)]){const e=this[n(375)](t[n(378)]);e&&e[n(386)](e=>{const i=n;this[i(367)](e,t[i(378)],!0)})}}[Rw(428)](t){const e=Rw,n=this[e(443)][e(306)](t),i=this[e(401)][e(306)](t);if(i&&(i[e(395)](),this[e(401)][e(313)](t)),n?.[e(378)]){const t=this[e(375)](n[e(378)]);t&&t[e(386)](t=>{const i=e;this[i(367)](t,n[i(378)],!1)})}this[e(443)][e(313)](t),this[e(407)](e(385),{uiId:t,type:n?.[e(435)]}),e(442)===t&&this[e(376)]()}[Rw(360)](t,e){const n=Rw;if(this[n(443)][n(377)](t[n(423)])&&(this[n(443)][n(361)](t[n(423)],t),this[n(407)](n(406),{contextItem:t,isLoading:e}),t[n(378)])){const e=this[n(375)](t[n(378)]);e&&e[n(386)](e=>{const i=n;this[i(367)](e,t[i(378)],!0)})}}[Rw(336)](t){const e=Rw;this[e(397)][e(361)](t[e(423)],t)}[Rw(345)](){const t=Rw;this[t(396)]={document:{enabled:!1!==this[t(438)]?.[t(317)]?.[t(351)],isHidden:!1},urls:{enabled:!1!==this[t(438)]?.[t(405)]?.[t(351)]},files:{enabled:!1!==this[t(438)]?.[t(369)]?.[t(351)]},sources:this[t(418)](),customItems:this[t(438)]?.[t(348)]?.[t(383)](t=>({...t,enabled:!0}))??[]},this[t(407)](t(421),{options:this[t(396)]})}[Rw(418)](){const t=Rw;return this[t(438)]?.[t(329)]?.[t(383)](t=>({...t,resources:[]}))??[]}[Rw(376)](){const t=Rw,e=this[t(350)]()||this[t(331)]();this[t(396)][t(317)][t(427)]=e,this[t(407)](t(421),{options:this[t(396)]})}[Rw(408)](t){const e=Rw;for(const n of this[e(443)][e(327)]())if(n[e(378)]===t)return!0;for(const n of this[e(397)][e(327)]())if(n[e(378)]===t)return!0;return!1}[Rw(375)](t){const e=Rw,n=[];for(const i of this[e(396)][e(329)])i[e(415)][e(419)](e=>e.id===t)&&n[e(445)](i.id);return 0===n[e(404)]?null:n}[Rw(367)](t,e,n){const i=Rw,r=this[i(396)][i(329)][i(419)](e=>e.id===t);if(!r)return;const s=r[i(415)][i(419)](t=>t.id===e);s&&(s[i(402)]=n,this[i(407)](i(343),{sourceId:t,resourceId:e,isInContext:n}))}[Rw(357)](t){const e=Rw;this[e(307)][e(361)](t,!0),this[e(307)][e(354)]&&this[e(407)](e(319),{isUploadInProgress:!0})}[Rw(332)](t){const e=Rw;this[e(307)][e(313)](t),0===this[e(307)][e(354)]&&this[e(407)](e(319),{isUploadInProgress:!1})}}function Dw(){const t=["ai-chat-context-invalid-data","addContextOptionsChanged","populateFromMessage","uiId","code","ai-request-aborted","getId","isHidden","_removeContextItem","label","text/markdown","addFilesToContext","174HxKOOA","object","attributes","type","url-","ai-chat-resource-load-failed","_config","getSentContextItems","addCurrentDocumentToContext","all","current-document","_pendingContextItems","removeFromContext","push","mapContextItemsToRequestData","fetchDocument","isReadOnly","getData","SELECTION","ai-chat-source-resources-load-failed","message","_mapContextItemToRequestData","get","_ongoingUploadOperations","text/html","84637SxlOQg","stack","Current document","DOCUMENT","delete","addToConversationContext","382822jBSinQ","176248CsKUCx","document","selection","uploadProgressChanged","removeSelectionFromContext","File","HTML","addResourceToContext","getPendingContextItems","abortController","URL","values","getResources","sources","content","isCurrentDocumentInConversation","_finishUploadOperation","from","uploadFile","toolName","_addToConversationContextItem","ai-chat-source-not-found","updateCurrentDocument","end","uploadUrl","object with content and type properties","_addContextItem","resourceStateChanged","1089270LSnLHT","_setAddContextOptionsDefaultState","string","uploadDocument","customItems","start","isCurrentDocumentInContext","enabled","loadSourceResources","hidden","size","MARKDOWN","clearPendingContextItems","_startUploadOperation","TOOL","ai-chat-context-unsupported-type","_finishContextItemLoading","set","_createContextItemFromContent","startsWith","1613650CfuNAt","ai-chat-resource-no-data","sourceResourcesLoaded","_updateResourceInContextState","name","files","_convertTextResourceToFile","data","mcpServerName","isSelectionInContext","36864HbEeUC","_findSourceIdsByResourceId","_toggleAddCurrentDocumentOptionVisibility","has","resourceId","text/plain","FILE","filter","_ownerId","map","file-","contextItemRemoved","forEach","substring","addSelectionToContext","110373qldNOT","files-","addToolItemToContext","init","ai-chat-file-upload-failed","version","abort","_addContextOptionsState","_conversationContextItems","sessionId","error","contextItemAdded","_ongoingUploads","isInContext","TEXT","length","urls","contextItemLoadingEnded","fire","_isResourceInContext","getDocument","addUrlToContext","ai-chat-document-upload-failed","url","_connector","ai-chat-url-upload-failed","resources","contextSent","1736OWIJDV","_getCustomSourcesInitialState","find"];return(Dw=function(){return t})()}const Pw=Mw;function Mw(t,e){const n=Vw();return(Mw=function(t,e){return n[t-=174]})(t,e)}function Vw(){const t=["18LgbPyj","init","getCapabilitiesConfig","reset","toggleWebSearch","getCapabilitiesRequestData","isWebSearchEnabled","3399445QMLHab","441185ECucKP","fire","198735sOhuiS","4disKaE","capabilitiesUpdated","setReasoning","_isWebSearchEnabled","16106283hqeGcO","isReasoningEnabled","_isReasoningEnabled","361254IIJTss","reasoning","4566056tIOTlv","1810879wlAnin","webSearch","setWebSearch","toggleReasoning"];return(Vw=function(){return t})()}!function(t){const e=Mw,n=t();for(;;)try{if(450907===parseInt(e(175))/1+parseInt(e(185))/2+parseInt(e(177))/3+-parseInt(e(178))/4*(parseInt(e(174))/5)+parseInt(e(192))/6*(-parseInt(e(188))/7)+-parseInt(e(187))/8+parseInt(e(182))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Vw);const Bw=[Pw(179)];class Hw extends((0,o.EmitterMixin)()){[Pw(181)];[Pw(184)];constructor(){const t=Pw;super(),this[t(181)]=!1,this[t(184)]=!1}[Pw(193)](){this[Pw(195)]()}[Pw(195)](){const t=Pw;this[t(190)](!1),this[t(180)](!1)}[Pw(194)](){const t=Pw;return{isWebSearchEnabled:this[t(181)],isReasoningEnabled:this[t(184)]}}static[Pw(197)](t){const e=Pw,n={};return t&&t[e(198)]&&(n[e(189)]={}),t&&t[e(183)]&&(n[e(186)]={}),n}[Pw(196)](){const t=Pw;this[t(190)](!this[t(181)])}[Pw(191)](){const t=Pw;this[t(180)](!this[t(184)])}[Pw(190)](t){const e=Pw;t!==this[e(181)]&&(this[e(181)]=t,this[e(176)](e(179),this[e(194)]()))}[Pw(180)](t){const e=Pw;t!==this[e(184)]&&(this[e(184)]=t,this[e(176)](e(179),this[e(194)]()))}}function Uw(t,e){var n=qw();return(Uw=function(t,e){return n[t-=241]})(t,e)}function qw(){var t=["6wElbdN","94046duiEMr","9yurZTJ","userMessage","model","conversationId","current-document","3fsDhen","797600VxEyKr","queryAssistant","1016516NJwUBa","get","292936pXTkZJ","279349HrvCuV","mapContextItemsToRequestData","contextItems","sendRequest","connector","getDocumentContext","attributes","capabilities","getCapabilitiesRequestData","187524PuTfSv","69350GaVQuD"];return(qw=function(){return t})()}var Fw=Uw;!function(t){for(var e=Uw,n=t();;)try{if(156661===-parseInt(e(242))/1+-parseInt(e(263))/2+parseInt(e(248))/3*(parseInt(e(251))/4)+parseInt(e(264))/5+-parseInt(e(241))/6*(parseInt(e(254))/7)+-parseInt(e(253))/8*(-parseInt(e(243))/9)+parseInt(e(249))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qw);class zw extends kw{[Fw(244)];[Fw(246)];[Fw(256)]=new Map;[Fw(245)];[Fw(260)];constructor(t){var e=Fw;super(t),this[e(246)]=t[e(246)],this[e(256)]=t[e(256)],this[e(261)]=t[e(261)],this[e(244)]=t[e(244)],this[e(245)]=t[e(245)],this[e(260)]=t[e(260)]}async[Fw(257)](){var t=Fw;return this[t(258)][t(250)]({message:this[t(244)],conversationId:this[t(246)],parts:Lw[t(255)](this[t(256)]),capabilities:Hw[t(262)](this[t(261)]),model:this[t(245)],attributes:this[t(260)]})}[Fw(259)](){var t=Fw;return this[t(256)][t(252)](t(247))}}const Gw=jw;function jw(t,e){const n=Ww();return(jw=function(t,e){return n[t-=102]})(t,e)}function Ww(){const t=["1500135ZwxrPe","attributes","ai-chat-handle-user-interaction-already-in-progress","getPendingContextItems","url","loadSourceResources","getInteraction","modelSelected","hasOwn","chatModels","assistant","ai-chat-conversation-init-failed","sources","destroy","get","getModel","getAll","startConversation","1obzdPY","load","stop","conversationInitialized","getCapabilitiesConfig","removeSelectionFromContext","ai-chat-conversation-set-model-null","ai-chat-handle-user-interaction-start-failed","removeInteraction","1244260VEsMrS","setModel","updateCurrentDocument","find","isFromHistory","removeFromContext","code","ai-chat-conversation-set-model-not-available","prompt","appendContent","createInteraction","addResourceToContext","user","ai-chat-handle-user-conversation-not-initialized","content","4157292yCrWfy","type","_extractContextItems","addToConversationContext","capabilities","toLowerCase","delegate","getDocumentContext","interactionCreated","reasoning","role","message","198dKRbzV","chatCapabilities","addFilesToContext","splice","isAvailable","setReasoning","model","fire","getConversation","createReply","title","4PltBiZ","getEditor","_handleToolResultData","selectedModelId","7VXtUly","handleUserInteraction","populateFromMessage","lastInteraction","getCurrentDocumentContext","stack","conversationStarted","chatContext","contextItems","interactions","updateCurrentDocumentInContext","currentInteraction","fetchConversationMessages","webSearch","7827156fqyBck","modification","ai-chat-conversation-already-started","ai-chat-conversation-init-from-id-failed","1558936PtyMTk","isSelectionInContext","conversationId","text","start","push","group","addCurrentDocumentToContext","parse","addUrlToContext","isCurrentDocumentInConversation","setConversationTitle","setWebSearch","fetchConversation","getAvailableModels","isCurrentDocumentInContext","error","1026528nVKUIS","reset","options","ai-chat-conversation-start-failed","indexOf","connector","getMessages","toggleWebSearch","toolName","sessionId","init","5072740JFdOGy","mcp-tool-result","currentReply","length","_processMessagesToInteractions","ai-chat-conversation-start-no-model-selected","addToolItemToContext","addSelectionToContext","isStarted","selectedModel","toggleReasoning","set"];return(Ww=function(){return t})()}!function(t){const e=jw,n=t();for(;;)try{if(540453===parseInt(e(219))/1*(-parseInt(e(161))/2)+-parseInt(e(201))/3*(parseInt(e(139))/4)+parseInt(e(189))/5+-parseInt(e(116))/6*(parseInt(e(143))/7)+parseInt(e(178))/8+-parseInt(e(157))/9+-parseInt(e(228))/10*(-parseInt(e(128))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ww);class Kw extends((0,o.EmitterMixin)()){id;[Gw(197)]=!1;[Gw(105)];[Gw(152)]=[];[Gw(154)];[Gw(198)];[Gw(183)];[Gw(180)];constructor(t){const e=Gw;super(),this[e(180)]=t,this[e(183)]=t[e(183)],this[e(210)]=t[e(210)],this.id=t[e(163)],this[e(105)]=t[e(105)]}async[Gw(188)](t){const e=Gw;try{this[e(150)]=new Lw({connector:this[e(183)],config:t,ownerId:this.id}),this[e(150)][e(122)](...Ow).to(this),this[e(150)][e(188)](),this[e(129)]=new Hw,this[e(129)][e(122)](...Bw).to(this),this[e(129)][e(188)]();const n=await this[e(210)][e(175)]();this[e(135)](e(222),{availableModels:n});const i=await this[e(210)][e(216)](this[e(180)][e(142)]);i&&await this[e(102)](i)}catch(t){const n=new o.CKEditorError(e(212),null,{message:t[e(127)]||t});n[e(148)]=t[e(148)],this[e(135)](e(177),{error:n})}}async[Gw(165)](){const t=Gw;if(this[t(197)])throw new o.CKEditorError(t(159),null,{conversation:this});if(!this[t(198)])throw new o.CKEditorError(t(194),null,{conversation:this});try{const{id:e}=await this[t(183)][t(218)](this.id,this[t(180)][t(167)])[t(136)]();this.id=e,this[t(197)]=!0,this[t(135)](t(149),{conversationId:this.id,selectedModel:this[t(198)]})}catch(e){const n=new o.CKEditorError(t(181),null,{message:e[t(127)],conversationId:this.id});throw n[t(148)]=e[t(148)],this[t(135)](t(177),{error:n}),n}}async[Gw(220)](t,e){const n=Gw;try{const i=await this[n(183)][n(174)](t)[n(136)](),r=await this[n(183)][n(155)](t)[n(184)](),s=r[0][n(134)];this[n(197)]=!0,this.id=i.id,n(138)in i?this[n(135)](n(172),i[n(138)],!0):this[n(135)](n(172),"",!0);const o=(await this[n(210)][n(217)]())[n(104)](t=>t.id[n(121)]()===s[n(121)]());return this[n(198)]=o,this[n(135)](n(208),{selectedModel:o,isDisabled:!0}),await this[n(193)](r,e,s),this[n(154)]=void 0,this}catch(e){const i=new o.CKEditorError(n(160),null,{message:e[n(127)],conversationId:t});throw i[n(148)]=e[n(148)],this[n(135)](n(177),{error:i}),i}}async[Gw(193)](t,e,n){const i=Gw;let r;for(const s of t)if(i(113)===s[i(126)]){const t=await this[i(118)](s),e={isReasoningEnabled:Object[i(209)](s[i(120)],i(125)),isWebSearchEnabled:Object[i(209)](s[i(120)],i(156))};r=this[i(111)]({userMessage:s[i(109)],contextItems:t,capabilities:e,modelId:n,attributes:s[i(202)]}),this[i(154)]=r,this[i(150)][i(119)](this[i(154)][i(151)])}else if(i(211)===s[i(126)]&&r){const t=[];for(const n of s[i(115)])switch(n[i(117)]){case i(164):case i(158):{const s=r[i(123)]()?.[i(187)]!==e;r[i(191)]=r[i(137)]({type:n[i(117)],isDone:!0,interactionId:r.id,areActionsDisabled:s}),r[i(191)][i(110)](n[i(115)]),t[i(192)]>0&&(r[i(191)][i(213)]=t[i(131)](0));break}case i(205):t[i(166)](n);break;case i(190):{const{data:t,attributes:e}=JSON[i(169)](n[i(115)]);r[i(141)]({toolName:n[i(186)],data:t,attributes:e});break}}}}async[Gw(118)](t){const e=Gw,n=new Map;if(!t[e(115)])return n;for(const i of t[e(115)]){const t=await this[e(150)][e(145)](i);t&&n[e(200)](t.id,t)}return n}async[Gw(144)]({userMessage:t,attributes:e}){const n=Gw;if(!this[n(197)])throw new o.CKEditorError(n(114),null,{conversation:this});if(this[n(154)])throw new o.CKEditorError(n(203),null,{conversation:this});try{const i=this[n(150)][n(204)](),r=this[n(129)][n(223)](),s=this[n(198)].id;this[n(154)]=this[n(111)]({userMessage:t,contextItems:i,capabilities:r,modelId:s,attributes:e}),await this[n(154)][n(165)](),this[n(150)][n(119)](this[n(154)][n(151)])}catch(t){if(t instanceof o.CKEditorError)this[n(135)](n(177),{interactionId:this[n(154)]?this[n(154)].id:void 0,error:t});else{const e=xw[n(215)](t[n(107)])||n(226);this[n(135)](n(177),{interactionId:this[n(154)]?this[n(154)].id:void 0,error:new o.CKEditorError(e,null,{error:t})})}}finally{this[n(154)]?.[n(221)](),this[n(154)]=void 0}}[Gw(111)]({userMessage:t,contextItems:e,capabilities:n,modelId:i,attributes:r}){const s=Gw,o=new zw({userMessage:t,contextItems:e,capabilities:n,conversationId:this.id,connector:this[s(183)],editor:this[s(180)][s(140)]&&this[s(180)][s(140)](),model:i,attributes:r});return o[s(122)](...mw).to(this),this[s(152)][s(166)](o),this[s(135)](s(124),o),o}[Gw(207)](t){const e=Gw;return this[e(152)][e(104)](e=>e.id===t)}[Gw(227)](t){const e=Gw,n=this[e(207)](t);n&&(n[e(214)](),this[e(152)][e(131)](this[e(152)][e(182)](n),1))}get[Gw(146)](){const t=Gw;return this[t(152)][this[t(152)][t(192)]-1]}[Gw(168)](t){const e=Gw;this[e(150)][e(168)](t)}async[Gw(153)]({content:t,version:e,sessionId:n,selections:i}){const r=Gw;await this[r(150)][r(103)](t,e,n,i)}[Gw(147)](){const t=Gw;return this[t(154)]?.[t(123)]()?.[t(115)]||""}[Gw(196)](t){const e=Gw;this[e(150)][e(196)](t)}[Gw(224)](){const t=Gw;this[t(150)][t(224)]()}[Gw(130)](t){const e=Gw;this[e(150)][e(130)](t)}[Gw(170)](t){const e=Gw;this[e(150)][e(170)](t)}[Gw(195)](t){const e=Gw;this[e(150)][e(195)](t)}[Gw(112)](t,e){const n=Gw;this[n(150)][n(112)](t,e)}[Gw(206)](t,e,n){const i=Gw;return this[i(150)][i(206)](t,e,n)}[Gw(106)](t){const e=Gw;this[e(150)][e(106)](t)}[Gw(173)](t){const e=Gw;this[e(129)][e(173)](t)}[Gw(185)](){const t=Gw;this[t(129)][t(185)]()}[Gw(133)](t){const e=Gw;this[e(129)][e(133)](t)}[Gw(199)](){const t=Gw;this[t(129)][t(199)]()}[Gw(176)](){const t=Gw;return this[t(150)][t(176)]()}[Gw(171)](){const t=Gw;return this[t(150)][t(171)]()}[Gw(162)](){const t=Gw;return this[t(150)][t(162)]()}async[Gw(102)](t){const e=Gw;t?!1===await this[e(210)][e(132)](t)&&((0,o.logWarning)(e(108),{conversation:this,model:t}),t=(await this[e(210)][e(175)]())[0]):((0,o.logWarning)(e(225),{conversation:this}),t=(await this[e(210)][e(175)]())[0]),t.id!==this[e(198)]?.id&&(this[e(198)]=t,this[e(129)][e(179)](),this[e(135)](e(208),{selectedModel:t}))}}const Yw=Qw;function $w(){const t=["auto","items","ai-chat-default-model-id-unrecognized","defaultModelId","_getModelById","length","add","_filterModels","filter","33268mTyEKm","getModel","AI_MODEL_NAME_AUTO","9350478LmFvNV","_retrieveModels","8493pqspgG","string","displayedModels","uiLanguage","140OrBHoO","startsWith","getModels","has","list","map","toLocaleLowerCase","2504550wqWPsy","2853991sVfwnZ","isAvailable","_isMatchingFilter","_modelList","ai-chat-model-id-unrecognized","name","_locale","getDefault","push","ai-models-unable-to-retrieve","getAvailableModels","_connector","some","_defaultModelId","1354551aUYXoP","485PuQcJx","_availableModels","8HHryzf","_config","recommended","_modelsRequest","provider","agent","find","427134qKgKBq","18nJgDEJ","getAll"];return($w=function(){return t})()}function Qw(t,e){const n=$w();return(Qw=function(t,e){return n[t-=384]})(t,e)}!function(t){const e=Qw,n=t();for(;;)try{if(852772===-parseInt(e(388))/1+parseInt(e(409))/2*(parseInt(e(405))/3)+-parseInt(e(400))/4*(parseInt(e(432))/5)+-parseInt(e(389))/6*(-parseInt(e(417))/7)+-parseInt(e(434))/8*(-parseInt(e(403))/9)+-parseInt(e(416))/10+-parseInt(e(431))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($w);class Xw extends((0,o.EmitterMixin)()){[Yw(428)];[Yw(435)];[Yw(423)];[Yw(420)]=[];[Yw(384)]=null;constructor({connector:t,config:e,locale:n}){const i=Yw;super(),this[i(428)]=t,this[i(435)]=e,this[i(423)]=n}get[Yw(433)](){const t=Yw;return this[t(435)]?.[t(407)]}get[Yw(430)](){const t=Yw;return this[t(435)]?.[t(394)]}async[Yw(390)](){const t=Yw;return this[t(384)]||(this[t(384)]=this[t(404)]()),this[t(384)]}async[Yw(427)](){const t=Yw,e=await this[t(390)]();let n;return n=this[t(433)]?this[t(398)](e,this[t(433)]):e[t(399)](e=>e[t(436)]),n}async[Yw(401)](t){const e=Yw,n=await this[e(390)]();if(!n[e(396)])return null;if(t){const i=this[e(395)](n,t);if(i)return i;(0,o.logWarning)(e(421),{modelId:t,fallBackModelId:this[e(430)]})}return this[e(424)]()}async[Yw(424)](){const t=Yw,e=await this[t(427)]();if(!e[t(396)])return null;if(this[t(430)]){const n=this[t(395)](e,this[t(430)]);if(n)return n;(0,o.logWarning)(t(393),{defaultModelId:this[t(430)],fallBackModelId:e[0].id})}return e[0]}async[Yw(418)](t){const e=Yw;return(await this[e(427)]())[e(429)](n=>n[e(422)]===t[e(422)]&&n[e(385)]===t[e(385)])}async[Yw(404)](){const t=Yw;if(!this[t(420)][t(396)])try{const e=this[t(423)][t(408)]||"en",n=this[t(428)][t(411)](e),i=await n[t(413)]();this[t(420)]=i[t(392)][t(414)](e=>Jw(e)?{...e,name:Zl(this[t(423)],t(402))}:e)}catch(e){throw(0,o.logError)(t(426),{error:e}),e}return[...this[t(420)]]}[Yw(398)](t,e){const n=Yw;let i;if(e){i=[];const r=new Set,s=n(406)==typeof e?[e[n(415)]()]:e[n(414)](t=>t[n(415)]());for(const e of s)for(const s of t)!r[n(412)](s.id)&&this[n(419)](s,e)&&(i[n(425)](s),r[n(397)](s.id))}else i=t;return i}[Yw(419)](t,e){const n=Yw,i=t.id[n(415)](),r=t[n(422)][n(415)](),s=t[n(385)][n(415)]();return i===e||r===e||Jw(t)&&n(391)===e||s===e||i[n(410)](e)}[Yw(395)](t,e){const n=Yw;return t[n(387)](t=>Jw(t)&&n(391)===e?t:t.id===e)||null}}function Jw(t){const e=Yw;return t.id[e(410)](e(386))}function Zw(t,e){var n=tI();return(Zw=function(t,e){return n[t-=477]})(t,e)}function tI(){var t=["11sEFpJw","9930840feZBYx","ai-get-editor-from-context-no-editor","2693964iCbKEV","editors","warn","236526ruETBH","get","252BrvHlZ","2221505hVGUbi","507768FEjCIY","1WyLOqQ","length","4TJXcIK","AIChat: Multiple editor instances detected. Only the first editor instance will be used for AI operations. This configuration is not fully supported and may lead to unexpected behavior.","1763016irTzfK","38282730DEUiTG"];return(tI=function(){return t})()}function eI(t){var e=Zw;if(t instanceof n.Editor)return t;if(t?.[e(492)]&&t[e(492)][e(478)](0))return t[e(492)][e(483)]>1&&console[e(493)](e(485)),t[e(492)][e(478)](0);throw new o.CKEditorError(e(490))}function nI(t,e){const n=iI();return(nI=function(t,e){return n[t-=242]})(t,e)}function iI(){const t=["cloneNode","model","length","data-id","history","2557360smpCOH","4836078IZVfAQ","9355MNzVYp","content","getDiff","anchorId","previousSibling","type","version","removed","shift","get","3514344FFhsTt","name","marker","3552hqnazE","129KpLKGT","filter","operationsA","document","oldRange","documentContextContent","getDocumentContext","map","getOperations","new","markers","getRange","12510kvfOrO","493667PgTxmZ","940bCSJeo","3353oSnsny","node"];return(iI=function(){return t})()}function rI({editor:t,interaction:e,reply:n,groups:i,transform:r,documentCompare:s,documentCompareOptions:o}){const a=nI,c=e[a(265)]();if(!c)return[];const l=c[a(246)],h=c[a(251)],d=n[a(264)][a(276)](!0);for(const{changes:t}of i){const e=t[a(260)](t=>a(268)!=t[a(250)])[a(266)](t=>ud(a(279),t.id,d)),n=t[a(260)](t=>a(252)!=t[a(250)])[a(266)](t=>t[a(275)][a(276)](!0));let i=null;if(e[a(278)]){i=e[0][a(249)];for(let t=0;t<e[a(278)];t++)Xh(e[t])}if(n[a(278)]){i||(t[0][a(248)]?i=ud(a(279),t[0][a(248)],d):(i=n[a(253)](),td(d,i)));for(let t=0;t<n[a(278)];t++)Zh(i,n[t]),i=n[t]}}const p=ld(d),f=s[a(247)](l,p,o)[a(267)]();if(r){const e=t[a(277)][a(262)][a(242)][a(267)](h),n={document:t[a(277)][a(262)],useRelations:!1,padWithNoOps:!1};return(0,u.transformOperationSets)(f,e,n)[a(261)]}return f}function sI(t,e){const n=nI;if(n(257)!=e[n(250)])return;const i=t[n(277)][n(269)][n(254)](e[n(256)]);i&&(e[n(263)]=i[n(270)]())}!function(t){for(var e=Zw,n=t();;)try{if(902617===parseInt(e(482))/1*(-parseInt(e(477))/2)+parseInt(e(486))/3+-parseInt(e(484))/4*(-parseInt(e(480))/5)+parseInt(e(489))/6+parseInt(e(491))/7+parseInt(e(481))/8*(parseInt(e(479))/9)+-parseInt(e(487))/10*(parseInt(e(488))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(tI),function(t){const e=nI,n=t();for(;;)try{if(313622===-parseInt(e(272))/1+-parseInt(e(271))/2*(parseInt(e(259))/3)+parseInt(e(273))/4*(-parseInt(e(245))/5)+-parseInt(e(258))/6*(-parseInt(e(274))/7)+parseInt(e(255))/8+parseInt(e(244))/9+parseInt(e(243))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(iI);const oI=cI;function aI(){const t=["ai-chat-context-form-data-size-limits-exceeded","removeSelectionFromChatContext","get","children","config","handleRemovedConversation","handleUserInteraction","ai.models.defaultModelId","clearConversationContextUI","indexes","AI_CHAT_CONTEXT_INVALID_DATA","showChangeInText","partIndex","conversationInitialized","_getPresentableSiblingContentPartIndex","setFeedItemRenderingStrategy","ai-chat-conversation-not-found","_bodyCollection","$graveyard","_aiChatUi","main","applySuggestion","rejected","prepareLoadingMessage","focusPromptInput","AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL","sourceResourcesLoaded","interactionDestroyed","_logError","setSelectedModel","applyOperation","addCurrentDocumentToContext","replyChangeGroupStateUpdated","change","stop","ai-chat-invalid-request","getConversation","removeSelectionFromContext","find","getPath","getTransformedByOperation","getChildAtOffset","batch","message","areActionsDisabled","updateFeedItemAIReplySources","collaboration.channelId","resetMessageInput","finishInteraction","_insertSuggestion","index","_rejectSuggestion","activeConversation","isPremiumPlugin","setModel","AI_CHAT_ABORTED_MESSAGE","ai-chat-conversation-start-failed","filter","contextItemAdded","mouseOverSuggestion","data","AI_CHAT_UNABLE_TO_LOAD_CONVERSATION","_aiChatBalloon","rootName","ai-chat-context-file-too-large","getDiff","howMany","next","history","ai.chat.context","accepted","setIsUploadInProgress","domConverter","getGroupId","createRange","range","capabilitiesUpdated","_showConversationHistory","uid","ai-request-aborted","Undo","callback","AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES","ai-chat-source-resources-load-failed","forEach","aiChatBalloon","closeSourceResourceBalloon","ai-chat-controller-mouse-over","type","delete","dislike","getInteractionAndReplyById","webSearchStarted","cloneNode","_stopLastInteraction","updateContent","static","contextItemRemoved","editors","_openBalloonFor","getInteraction","AIChatBalloon","populateSourceResourceBalloon","startsWith","log","version","like","getConversations","toggleReasoning","Showing conversation history...","getRanges","ai-chat-context-unsupported-type","sourceId","resourceStateChanged","createdAt","contextSent","addFeedItemUserMessage","query","root","_toggleReasoning","fetchConversation","createConversation","updateResourceState","createReply","loadConversation","context","node","modelSelected","addFeedItemStaticMessage","close","updateConversationTitle","AI_CHAT_UNABLE_TO_START_CONVERSATION","isOfficialPlugin","clearLoadingMessage","toggleWebSearch","ai-chat-resource-load-failed","_batchToChanges","ai-chat-context-invalid-data","addFeedItemAIReply","sendUserMessage","setContextItemLoading","model","updateCapabilities","reasoningFinished","_getAIChatInteractionAPI","length","getDocumentContext","isDisabled","changes","webSearchFinished","_aiChatModels","currentReply","sources","_registerToolDataCallback","AIChatUI","outdated","AI_CHAT_CONTEXT_UNSUPPORTED_TYPE","AI_CHAT_CONTEXT_CURRENT_DOCUMENT","addContextOptionsChanged","530446BqAMXK","removeFromContext","enableControls","source","addUrlToContext","updateFeedItemAIReplySuggestionPartState","load","_updateRatings","showPrevious","AI_BALLOON_HEADER_TITLE","getSelectionText","getAttribute","contextItemLoadingEnded","toggleSuggestionDisplayMode","339703SKLuiL","findIndex","detachFromDom","2481255JoeTWX","open","_flushLastInteractionUI","maxOffset","_getUserPresentableContentPartDocumentRange","editing","plugins","interactionStarted","sourcePosition","scrollFeedToSuggestion","done","toViewRange","toString","loadSourceResources","clearPendingContextUI","resizedTabs","showFakeVisualSelection","ai-chat-file-upload-failed","streaming","_startConversationSafely","stopInteraction","updateCurrentDocumentInContext","ai-chat-context-unsupported-file-type","contextItems","isLoading","setIsMaximized","remove","addOperation","ready","options","push","_handleStartConversation","isModelAvailable","isCurrentDocumentInConversation","AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE","listenTo","revert","addCurrentDocumentToChatContext","new","Liked response","resetConversationTitle","toolDataReceived","start","setConversationTitle","anchorId","dialogClosed","getReply","_updateReplyContent","slice","lastInteraction","modification","replies","AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE","disableControls","nextSibling","ai-no-track-changes","uiId","Disliked response","addDocumentToContext","AIEditing","split","ai-chat-url-upload-failed","resource","AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED","addSelectionToContext","destroy","parse","pending","isUploadInProgress","selection","insertSuggestion","redo","from","AI_CHAT_UNTITLED_CONVERSATION","getDocumentData","state","chat","_setIsMaximized","lastCreated","showNext","activateTab","addFeedItemCustomElement","AI_CHAT_INVALID_REQUEST","ai.models","fetchConversations","_getDocumentRangeForReplyChanges","afterInit","mapper","createPositionAt","rejectSuggestion","addFilesToContext","setConversationContext","AI_CHAT_RESOURCE_LOAD_FAILED","showDiff","_getLastCreatedConversationId","getAll","baseVersion","AITabs","resourceId","AI_CHAT_CONTEXT_FILE_TOO_LARGE","7740760FrmJCa","TrackChanges","uploadProgressChanged","removeFeedInteraction","isStarted","bind","startInteraction","has","updateFeedItemAIReplySuggestionContent","5uWzbeW","resources","ai-chat-controller-no-active-conversation","replyId","ai-chat-missing-channel-id","toggleLoadingSkeleton","changeGroups","selectModel","TrackChangesEditing","reasoningStarted","_currentPreviewedChangeGroup","setState","viewRangeToDom","abortPromptStream","includes","setFeedItemAIReplySuggestionPartActive","getOperations","undo","selectedModel","_aiConnector","set","setChangeGroupState","delegate","resize","resetWebSearchState","AIConnector","map","init","upsertAIChatRating","ai.chat.initialConversation","_aiEditing","DocumentCompare","contextItem","sendMessage","executeCustomItemCallback","hideFakeVisualSelection","AIChatController","removeContextItem","resetReasoningState","addResourceToContext","ai-conversation-","_applyOperationsAsSuggestions","end","path","ai-chat-context-file-too-many-pages","requires","error","attachToDom","startAutoScroll","setAddContextOptions","interactionFinished","ai-chat-conversation-init-failed","marker","hasChanges","locale","view","text","unshift","add","commands","isDocumentOperation","previous","AI_CHAT_GENERIC_ERROR","addFileToContext","interactionCreated","data-id","_scrollToSuggestionRange","messageId","addFeedItemAISuggestion","isInContext","_integrateEditor","_applySuggestion","addContextItem","alignToTop","_aiChatBalloonShowDiff","_handleUIUserMessage","getFirstRange","_toggleWebSearch","pluginName","resizeTabs","replyContentUpdated","interactionId","getChild","removed","createPositionFromPath","AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES","535398iWICFo","content","1592356HxSftW","isCurrentDocumentInContext","addFeedItemError","addSelectionToChatContext","startConversation","589047zVzCfM","document","_createFromRanges","addFeedInteractionHeader","getChildren","getRoot","getContentParts","indexOf","sessionId","setLoadingMessage","current-document","_removeFromContext","documentContextContent","replyCreated","updateFeedItemAIReplyContent","mouseLeaveSuggestion"];return(aI=function(){return t})()}function cI(t,e){const n=aI();return(cI=function(t,e){return n[t-=470]})(t,e)}!function(t){const e=cI,n=t();for(;;)try{if(211929===-parseInt(e(485))/1+-parseInt(e(471))/2+-parseInt(e(690))/3+-parseInt(e(685))/4*(parseInt(e(597))/5)+parseInt(e(683))/6+parseInt(e(488))/7+parseInt(e(588))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(aI);class lI extends n.ContextPlugin{[oI(627)];[oI(616)];[oI(725)];[oI(856)];[oI(768)];[oI(842)]=new Map;[oI(607)]=null;[oI(723)];static get[oI(642)](){return[Jl,xb.DocumentCompare]}static get[oI(675)](){return oI(633)}static get[oI(838)](){return!0}static get[oI(759)](){return!0}[oI(624)](){const t=oI;this[t(723)]=new a.BodyCollection(this[t(831)][t(651)]),this[t(723)][t(644)](),this[t(616)]=this[t(831)][t(494)][t(708)](t(622)),this[t(725)]=this[t(831)][t(494)][t(708)](t(860)),this[t(627)]=this[t(831)][t(494)][t(708)](t(547)),this[t(856)]=new Xw({connector:this[t(616)],config:this[t(831)][t(710)][t(708)](t(571)),locale:this[t(831)][t(651)]});const e=this[t(831)][t(494)][t(708)](t(585));this[t(523)](this[t(725)],t(689),()=>{this[t(507)]()}),this[t(523)](this[t(725)],t(845),(e,n)=>{this[t(672)]({userMessage:n})}),this[t(523)](e,t(503),(e,n)=>{this[t(565)](n)}),this[t(523)](this[t(725)],t(676),()=>{e[t(620)]()}),this[t(523)](this[t(725)],t(610),async()=>{const e=t;await this[e(800)](),await this[e(490)](),this[e(707)]()}),this[t(523)](this[t(725)],t(546),()=>{this[t(525)]()}),this[t(523)](this[t(725)],t(660),(e,n)=>{const i=t;this[i(758)]?.[i(578)](Array[i(560)](n))}),this[t(523)](this[t(725)],t(475),(e,n)=>{const i=t;this[i(758)]?.[i(475)](n)}),this[t(523)](this[t(725)],t(631),(e,n)=>{const i=t;n[i(787)](this[i(831)])}),this[t(523)](this[t(725)],t(636),(e,n)=>{const i=t;this[i(758)]?.[i(636)](n[i(474)],n[i(550)])}),this[t(523)](this[t(725)],t(634),(e,n)=>{this[t(701)](n)}),this[t(523)](this[t(725)],t(501),(e,n)=>{const i=t;this[i(758)]?.[i(501)](n[i(818)],n[i(823)],n[i(784)])}),this[t(523)](this[t(725)],t(840),()=>{this[t(674)]()}),this[t(523)](this[t(725)],t(814),()=>{this[t(825)]()}),this[t(523)](this[t(725)],t(604),(e,n)=>{const i=t;this[i(758)]?.[i(760)](n)}),this[t(523)](this[t(725)],t(812),(e,{replyId:n})=>{const i=t;console[i(810)](i(527),n)}),this[t(523)](this[t(725)],t(796),(e,{replyId:n})=>{const i=t;console[i(810)](i(545),n)}),this[t(523)](this[t(725)],t(558),(e,n)=>{this[t(755)](n)}),this[t(523)](this[t(725)],t(717),(e,{replyId:n,partIndex:i})=>{const r=t;this[r(671)]=this[r(725)][r(581)],this[r(805)](n,i)}),this[t(523)](this[t(725)],t(765),(e,{replyId:n,partIndex:i})=>{const r=t,s=this[r(573)](n,i);s&&r(724)!=s[r(781)][r(824)][r(769)]&&this[r(627)][r(504)]([s[r(781)]],r(793))}),this[t(523)](this[t(725)],t(705),()=>{const e=t;this[e(627)][e(632)](e(793))}),this[t(523)](this[t(725)],t(727),(e,n)=>{const i=t;this[i(627)][i(632)](i(793)),this[i(668)](n)}),this[t(523)](this[t(725)],t(484),async(e,{replyId:n,showDiff:i})=>{const r=t,{reply:s}=this[r(797)](n),o=s[r(696)]({showDiff:i});await this[r(725)][r(596)]({id:s.id,parts:o,renderingStrategy:r(802)})}),this[t(523)](this[t(725)],t(577),(e,{replyId:n,partIndex:i})=>{const r=t;this[r(757)]({replyId:n,partIndex:i}),this[r(627)][r(632)](r(793))}),this[t(831)][t(494)][t(595)](t(807))&&(this[t(768)]=this[t(831)][t(494)][t(708)](t(807)),this[t(617)](t(671),!1),this[t(768)][t(593)](t(581)).to(this,t(671)),this[t(523)](this[t(768)],t(484),()=>{const e=t,{replyId:n,partIndex:i}=this[e(607)];this[e(671)]=!this[e(671)];const{reply:r}=this[e(797)](n),s=r[e(696)]({showDiff:this[e(671)],groupIndex:i});this[e(768)][e(801)]({part:s[0],renderingStrategy:e(802),keepErrors:!0})}),this[t(523)](this[t(768)],t(727),()=>{const e=t,{replyId:n,partIndex:i}=this[e(607)];this[e(668)]({replyId:n,partIndex:i}),this[e(768)][e(608)](e(776))}),this[t(523)](this[t(768)],t(558),()=>{const e=t,{replyId:n,partIndex:i}=this[e(607)];this[e(755)]({replyId:n,partIndex:i}),this[e(768)][e(608)](e(776))}),this[t(523)](this[t(768)],t(577),()=>{const e=t,{replyId:n,partIndex:i}=this[e(607)];this[e(757)]({replyId:n,partIndex:i}),this[e(768)][e(608)](e(728))}),this[t(523)](this[t(768)],t(567),()=>{const e=t,{replyId:n,partIndex:i}=this[e(607)],r=this[e(720)](n,i,e(773));null!==r&&this[e(805)](n,r)}),this[t(523)](this[t(768)],t(479),()=>{const e=t,{replyId:n,partIndex:i}=this[e(607)],r=this[e(720)](n,i,e(658));null!==r&&this[e(805)](n,r)}),this[t(523)](this[t(768)],t(533),(e,{id:n})=>{const i=t;if(i(791)!==n)return;const{replyId:r,partIndex:s}=this[i(607)];this[i(607)]=null,this[i(725)][i(612)]({id:r,index:s,isActive:!1})}))}async[oI(574)](){const t=oI;this[t(831)]instanceof n.Editor?this[t(667)](this[t(831)]):this[t(523)](this[t(831)][t(804)],t(655),(e,n)=>{const i=t;n.on(i(516),()=>{this[i(667)](n)})});const e=this[t(831)][t(710)][t(708)](t(626));let i=e;if(t(566)!=e||(i=await this[t(582)](),i))return t(526)==i?this[t(507)]():this[t(830)](i)}async[oI(553)](){const t=oI;return await this[t(800)](),this[t(723)][t(487)](),super[t(553)]()}[oI(755)](t){const e=oI,n=eI(this[e(831)]);if(!n[e(494)][e(595)](e(589)))throw new o.CKEditorError(e(543),null);const i=this[e(831)][e(494)][e(708)](e(628)),{reply:r,interaction:s}=this[e(797)](t[e(600)]),a=this[e(573)](t[e(600)],t[e(718)]),c=void 0!==t[e(718)]?[r[e(603)][t[e(718)]]]:r[e(603)][e(763)](t=>e(555)==t[e(563)]),l=c[e(623)](t=>r[e(603)][e(697)](t));if(!a||e(724)==a[e(781)][e(824)][e(769)])return void l[e(790)](t=>r[e(618)](t,e(861)));l[e(790)](t=>r[e(618)](t,e(776)));const u=rI({editor:n,reply:r,interaction:s,groups:c,transform:!0,documentCompare:i,documentCompareOptions:{anchor:e(726),markDeletions:!0}});let h;a&&this[e(663)](a[e(781)]),n[e(847)][e(739)](t=>{const i=e;h=t[i(748)],n[i(494)][i(708)](i(605))[i(638)](u),this[i(627)][i(632)](i(793))}),this[e(842)][e(617)](h,{interactionId:s.id,replyId:r.id,indexes:l[e(536)]()}),this[e(478)](r)}[oI(668)](t){const e=oI,n=eI(this[e(831)]),i=this[e(831)][e(494)][e(708)](xb.DocumentCompare),{reply:r,interaction:s}=this[e(797)](t[e(600)]),o=this[e(573)](t[e(600)],t[e(718)]),a=void 0!==t[e(718)]?[r[e(603)][t[e(718)]]]:r[e(603)][e(763)](t=>e(555)==t[e(563)]),c=a[e(623)](t=>r[e(603)][e(697)](t));if(!o||e(724)==o[e(781)][e(824)][e(769)])return void c[e(790)](t=>r[e(618)](t,e(861)));c[e(790)](t=>r[e(618)](t,e(776)));const l=rI({editor:n,reply:r,interaction:s,groups:a,transform:!0,documentCompare:i,documentCompareOptions:{anchor:e(726),markDeletions:!1}});let u;o&&this[e(663)](o[e(781)]),n[e(847)][e(739)](t=>{const i=e;u=t[i(748)];for(const e of l)e[i(584)]=n[i(847)][i(691)][i(811)],sI(n,e),t[i(748)][i(515)](e),n[i(847)][i(736)](e)}),this[e(842)][e(617)](u,{interactionId:s.id,replyId:r.id,indexes:c[e(536)]()}),this[e(478)](r)}[oI(757)](t){const e=oI,{reply:n}=this[e(797)](t[e(600)]);n[e(618)](t[e(718)],e(728))}[oI(805)](t,e){const n=oI;if(!this[n(768)])return;const{reply:i}=this[n(797)](t),r=i[n(696)]({showDiff:this[n(671)]});let s,o;if(void 0!==e?(o=r[n(744)](t=>t[n(756)]==e),s=o?.[n(756)]):(o=r[0],s=o[n(756)]),this[n(607)]?.[n(600)]==t&&this[n(607)]?.[n(718)]==s)return;const a=this[n(492)](t,i,o);if(!a)return void this[n(768)][n(835)]();this[n(607)]={replyId:t,partIndex:s},this[n(663)](a,!0);const c=this[n(720)](t,s,n(773));this[n(768)][n(801)]({part:o,renderingStrategy:n(802)}),this[n(768)][n(489)]({index:s,title:Zl(this[n(831)][n(651)],n(480),(s+1)[n(500)]()),showRotator:null!==c,ranges:[a],areActionsDisabled:i[n(750)]}),this[n(768)][n(608)](n(555)),this[n(725)][n(497)](t,s),this[n(725)][n(612)]({id:t,index:s,isActive:!0})}[oI(720)](t,e,n){const i=oI,{reply:r}=this[i(797)](t),s=r[i(696)]({showDiff:this[i(671)]});if(1==s[i(851)])return null;const o=s[i(486)](t=>t[i(756)]==e),a=i(773)==n?1:-1;let c=s.at((o+a)%s[i(851)])[i(756)],l=s[c];for(;!this[i(492)](t,r,l);){if(c=s.at((c+a)%s[i(851)])[i(756)],c===o)return null;l=s[c]}return c}[oI(492)](t,e,n){const i=oI,r=e[i(603)];if(!n[i(650)])return null;const s=r[i(744)](t=>t[i(756)]==n[i(756)]);if(i(555)!==s?.[i(563)])return null;const o=this[i(573)](t,n[i(756)]);if(!o)return null;const{range:a,currentIndex:c}=o;return i(724)==a[i(824)][i(769)]?(e[i(618)](c,i(861)),null):o[i(781)]}[oI(573)](t,e){const n=oI,i=eI(this[n(831)]),{reply:r,interaction:s}=this[n(797)](t),o=r[n(603)][n(763)](t=>n(555)==t[n(563)]),a=o[n(623)](t=>r[n(603)][n(697)](t));void 0===e&&(e=a[0]);const c=a[n(697)](e);if(-1==c)return null;const l=o[c],h=new vu([]),d=new vu([]);for(const t of l[n(854)])if(n(680)!=t[n(794)]&&d[n(709)][n(518)](t[n(832)][n(799)](!0)),n(526)!=t[n(794)]){const e=id(e=>dd(e,n(662))==t.id,r[n(702)],!0);h[n(709)][n(518)](e[n(799)](!0))}if(0==h[n(709)][n(851)])if(l[n(854)][0][n(532)]){const t=ud(n(662),l[n(854)][0][n(532)],r[n(702)]);h[n(709)][n(654)](t[n(799)](!0)),d[n(709)][n(654)](t[n(799)](!0)),t[n(542)]&&(h[n(709)][n(518)](t[n(542)][n(799)](!0)),d[n(709)][n(518)](t[n(542)][n(799)](!0)))}else{const t=r[n(702)][n(709)][0];if(!t)return null;h[n(709)][n(518)](t[n(799)](!0)),d[n(709)][n(518)](t[n(799)](!0))}const p=s[n(852)](),f=i[n(766)][n(554)](p[n(684)]),g=ld(h),m=i[n(766)][n(554)](g),k=i[n(766)][n(554)](g),_=i[n(847)][n(576)](m,0),b=ld(d),w={anchor:_,markDeletions:!1},I=i[n(494)][n(708)](xb.DocumentCompare)[n(771)](g,b,w)[n(613)]();if(!I[n(851)])return null;i[n(847)][n(739)](t=>{const e=n;for(const n of I)if(e(514)==n[e(794)]){const r=n[e(496)],s=n[e(772)],o=new u._DetachOperation(r,s);t[e(748)][e(515)](o),i[e(847)][e(736)](o)}else e(649)!==n[e(794)]&&(n[e(584)]=null,n[e(657)]=!1,t[e(748)][e(515)](n),i[e(847)][e(736)](n))});const v=Db(i,I,m);Pb(i[n(847)],v);const y=v[n(673)]()[n(530)][n(640)][n(536)](),A=v[n(673)]()[n(639)][n(640)][n(536)](),E=[];let T=m,C=k;for(let t=0;t<A[n(851)];t++){const e=T[n(491)]-A[t];E[t]=C[n(491)]-e,T=T[n(747)](A[t]),C=C[n(747)](E[t])}const S=i[n(847)][n(780)](i[n(847)][n(681)](k,y),i[n(847)][n(681)](k,E)),x=k[n(679)](0)[n(482)](xb.DATA_ID_MODEL_ATTRIBUTE),R=Array[n(560)](f[n(694)]())[n(744)](t=>t[n(482)](xb.DATA_ID_MODEL_ATTRIBUTE)==x)[n(745)](),N=S[n(530)][n(640)][n(536)](),O=S[n(639)][n(640)][n(536)]();N[0]=R[0]+N[0],O[0]=R[0]+O[0];let L=i[n(847)][n(780)](i[n(847)][n(681)](i[n(847)][n(691)][n(695)](),N),i[n(847)][n(681)](i[n(847)][n(691)][n(695)](),O));const D=i[n(847)][n(691)][n(774)][n(613)](p[n(811)]);for(const t of D)L=u.ModelRange[n(692)](L[n(746)](t));return{range:L,currentIndex:e}}[oI(667)](t){const e=oI;if(!t[e(494)][e(595)](e(786)))return;const n=t[e(656)][e(708)](e(614)),i=t[e(656)][e(708)](e(559));this[e(523)](n,e(524),(t,n,i)=>{const r=e,s=this[r(842)][r(708)](n);if(!s)return;const o=this[r(758)][r(806)](s[r(678)])[r(534)](s[r(600)]);s[r(715)][r(790)](t=>o[r(618)](t,r(555))),this[r(842)][r(795)](n),this[r(842)][r(617)](i,s)}),this[e(523)](i,e(524),(t,n,i)=>{const r=e,s=this[r(842)][r(708)](n);if(!s)return;const o=this[r(758)][r(806)](s[r(678)])[r(534)](s[r(600)]);s[r(715)][r(790)](t=>o[r(618)](t,r(776))),this[r(842)][r(795)](n),this[r(842)][r(617)](i,s)})}async[oI(830)](t){const e=oI;this[e(831)][e(494)][e(595)](e(807))&&this[e(831)][e(494)][e(708)](e(807))[e(835)](),this[e(831)][e(494)][e(708)](Gl)[e(652)][e(568)](e(564)),this[e(725)][e(721)](e(802)),this[e(725)][e(602)](!0),await this[e(800)]();try{await this[e(616)][e(826)](t)[e(742)](),await this[e(507)](t),this[e(836)](" "),await this[e(758)][e(477)](t,this[e(627)][e(698)]),this[e(758)][e(521)]()&&this[e(525)]()}catch(n){this[e(725)][e(687)]({errorMessage:Zl(this[e(831)][e(651)],e(767)),id:t}),this[e(734)](new o.CKEditorError(e(722),this,{error:n}))}finally{this[e(725)][e(645)](),this[e(725)][e(721)](e(506)),this[e(725)][e(602)](!1)}}async[oI(582)](){const t=oI,e=this[t(616)][t(572)](this[t(779)](),{limit:1,sortBy:t(820)});try{const n=await e[t(813)]();return n[t(851)]?n[0].id:t(526)}catch(e){return this[t(725)][t(687)]({errorMessage:Zl(this[t(831)][t(651)],t(767)),id:(0,o.uid)()}),this[t(734)](new o.CKEditorError(t(648),this,{error:e})),this[t(725)][t(602)](!1),this[t(725)][t(541)](),null}}[oI(711)](t){const e=oI;this[e(758)].id===t&&this[e(507)]()}[oI(525)](){const t=oI;this[t(758)]?.[t(737)](Zl(this[t(831)][t(651)],t(863)))}async[oI(688)](){const t=oI,e=this[t(627)][t(481)]();this[t(758)]?.[t(552)](e),this[t(525)]()}[oI(707)](){const t=oI;this[t(758)]?.[t(743)]()}[oI(730)](){const t=oI;this[t(725)][t(730)]()}async[oI(689)](){const t=oI;await this[t(507)]()}async[oI(630)]({message:t,attributes:e}){const n=oI;await this[n(672)]({userMessage:t,attributes:e})}[oI(779)](){const t=oI,e=this[t(831)][t(710)][t(708)](t(752));if(!e)throw new o.CKEditorError(t(601),this);return e}async[oI(507)](t){const e=oI;try{this[e(725)][e(473)](),await this[e(519)](t)}catch(n){this[e(725)][e(687)]({errorMessage:Zl(this[e(831)][e(651)],e(837)),id:t||(0,o.uid)()}),console[e(643)](n),this[e(758)]=void 0,this[e(725)][e(541)]()}}async[oI(519)](t){const e=oI;let n;this[e(831)][e(494)][e(595)](e(807))&&this[e(831)][e(494)][e(708)](e(807))[e(835)](),t||!this[e(758)]?n=this[e(831)][e(710)][e(708)](e(713)):this[e(725)][e(520)]&&(n=this[e(758)][e(615)].id),await this[e(800)]();const i=this[e(779)](),r=t||(0,o.uid)();this[e(758)]=new Kw({connector:this[e(616)],chatModels:this[e(856)],selectedModelId:n,conversationId:r,group:i,getEditor:()=>eI(this[e(831)]),isFromHistory:!!t}),this[e(758)][e(619)](e(529),e(495)).to(this),this[e(758)].on(e(719),(n,i)=>{const r=e;this[r(725)][r(827)](i),this[r(725)][r(753)](),this[r(725)][r(502)](),this[r(725)][r(714)](),t||(this[r(725)][r(528)](),this[r(525)]())}),this[e(758)].on(e(590),(t,n)=>{const i=e;this[i(725)][i(777)](n[i(556)])}),this[e(758)].on(e(661),(t,n)=>{const i=e;this[i(725)][i(822)](n)}),this[e(758)].on(e(798),()=>{const t=e,n=this[t(725)][t(729)]({isWebSearchEnabled:!0,isReasoningEnabled:!1});this[t(725)][t(699)](n)}),this[e(758)].on(e(606),()=>{const t=e,n=this[t(725)][t(729)]({isWebSearchEnabled:!1,isReasoningEnabled:!0});this[t(725)][t(699)](n)}),this[e(758)].on(e(855),(t,n)=>{const i=e;this[i(725)][i(693)](n,{isWebSearchEnabled:!0,isReasoningEnabled:!1})}),this[e(758)].on(e(849),(t,n)=>{const i=e;this[i(725)][i(693)](n,{isWebSearchEnabled:!1,isReasoningEnabled:!0})}),this[e(758)].on(e(495),()=>{const t=e;this[t(725)][t(594)]()}),this[e(758)].on(e(647),async()=>{const t=e;await this[t(725)][t(754)]()}),this[e(758)].on(e(733),(t,n)=>{const i=e;this[i(725)][i(591)](n.id)}),this[e(758)].on(e(531),(t,n,i)=>{this[e(836)](n,i)}),this[e(758)].on(e(703),(t,n)=>{const i=e;i(653)===n[i(794)]?this[i(725)][i(844)](n):this[i(725)][i(665)](n)}),this[e(758)].on(e(677),async(t,n)=>{const i=e;await this[i(535)]({reply:n})}),this[e(758)].on(e(738),(t,{reply:n,index:i,state:r})=>{const s=e;this[s(725)][s(476)]({id:n.id,index:i,state:r}),this[s(607)]?.[s(600)][s(611)](n.id)&&this[s(607)]?.[s(718)]==i&&this[s(768)]?.[s(608)](r)}),this[e(758)].on(e(764),(t,n)=>{const i=e;if(this[i(725)][i(669)](n[i(629)],n[i(512)]),i(557)===n[i(629)][i(794)]){const t=[...eI(this[i(831)])[i(847)][i(691)][i(557)][i(816)]()];this[i(627)][i(504)](t,i(637)+this[i(758)]?.id)}}),this[e(758)].on(e(803),(t,n)=>{const i=e;this[i(725)][i(634)](n[i(544)]),i(700)==n[i(544)]&&this[i(707)](),i(557)===n[i(794)]&&this[i(627)][i(632)](i(637)+this[i(758)]?.id)}),this[e(758)].on(e(483),(t,n)=>{const i=e;this[i(725)][i(846)](n[i(629)][i(544)],n[i(512)])}),this[e(758)].on(e(821),(t,n)=>{const i=e;this[i(725)][i(579)](n[i(511)])}),this[e(758)].on(e(470),(t,n)=>{const i=e;this[i(725)][i(646)](n[i(517)])}),this[e(758)].on(e(732),(t,n)=>{const i=e;this[i(725)][i(808)](n[i(818)],n[i(474)],n[i(598)],n[i(784)])}),this[e(758)].on(e(819),(t,n)=>{const i=e;this[i(725)][i(828)](n[i(818)],n[i(586)],n[i(666)])}),this[e(758)].on(e(782),(t,n)=>{const i=e;this[i(725)][i(848)](n)}),this[e(758)].on(e(833),async(t,n)=>{const i=e,r=(await this[i(856)][i(583)]())[i(744)](t=>t.id===n[i(615)]?.id)||null;this[i(725)][i(735)](r,n[i(853)])}),this[e(758)].on(e(643),(t,{error:n,interactionId:i,fileName:r,url:s,sourceId:a,sourceLabel:c})=>{const l=e,u=i?i+":"+(0,o.uid)():(0,o.uid)();n[l(749)][l(809)](l(785))?this[l(725)][l(834)]({staticMessage:Zl(this[l(831)][l(651)],l(761)),id:u}):n[l(749)][l(809)](l(648))||n[l(749)][l(809)](l(762))?(this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(837)),id:u}),this[l(734)](n)):n[l(749)][l(809)](l(505))?this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(540),r),id:u}):n[l(749)][l(809)](l(549))?this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(731),s),id:u}):n[l(749)][l(809)](l(843))?this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(716)),id:u}):n[l(749)][l(809)](l(817))?this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(862)),id:u}):n[l(749)][l(809)](l(789))?(a&&this[l(725)][l(792)](a),this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(788),c||l(474)),id:u}),this[l(734)](n)):n[l(749)][l(809)](l(841))?(this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(580)),id:u}),this[l(734)](n)):n[l(749)][l(809)](l(741))?(this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(570)),id:u}),this[l(734)](n)):n[l(749)][l(809)](l(510))?(this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(522)),id:u}),this[l(734)](n)):n[l(749)][l(809)](l(770))?(this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(587)),id:u}),this[l(734)](n)):n[l(749)][l(809)](l(641))?(this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(682)),id:u}),this[l(734)](n)):n[l(749)][l(809)](l(706))?(this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(551)),id:u}),this[l(734)](n)):(this[l(725)][l(687)]({errorMessage:Zl(this[l(831)][l(651)],l(659)),id:u}),this[l(734)](n))}),await this[e(758)][e(624)](this[e(831)][e(710)][e(708)](e(775))),t||await this[e(758)][e(530)]()}async[oI(672)]({userMessage:t,attributes:e}){const n=oI;if(!this[n(758)])throw new o.CKEditorError(n(599));if(this[n(758)][n(686)]()){const t=await this[n(627)][n(562)]();await this[n(758)][n(509)](t)}this[n(758)].id&&this[n(758)][n(592)]&&await this[n(758)][n(712)]({userMessage:t,attributes:e})}[oI(783)](){const t=oI;console[t(810)](t(815))}[oI(565)](t){const e=oI;this[e(725)][e(513)](t)}[oI(734)](t){const e=oI;(0,o.logError)(t[e(749)])}[oI(701)](t){const e=oI;this[e(758)]?.[e(472)](t)}[oI(674)](){const t=oI;this[t(758)]?.[t(840)]()}[oI(825)](){const t=oI;this[t(758)]?.[t(814)]()}[oI(797)](t){const e=oI,[n,i]=t[e(548)](":"),r=this[e(758)][e(806)](n),s=r[e(534)](i);return{interaction:r,reply:s}}[oI(663)](t,e=!1){const n=oI,i=eI(this[n(831)]),r={target:i[n(493)][n(652)][n(778)][n(609)](i[n(493)][n(575)][n(499)](t)),viewportOffset:{top:150,left:0,bottom:50,right:0},ancestorOffset:20,alignToTop:e};e&&(r[n(670)]=!0),(0,o.scrollViewportToShowTarget)(r)}[oI(836)](t,e=!1){const n=oI;this[n(725)][n(531)](t||Zl(this[n(831)][n(651)],n(561)),e)}async[oI(535)]({reply:t,renderingStrategy:e}){const n=oI,{id:i,interactionId:r,isDone:s,type:o,parsedContent:a}=t,c=r+":"+i;if(n(538)===o){const i=t[n(696)]({showDiff:this[n(725)][n(581)]});await this[n(725)][n(596)]({id:c,parts:i,renderingStrategy:e,isDone:s})}else n(653)===o&&await this[n(725)][n(704)]({id:c,parsedContent:a,renderingStrategy:e,isDone:s});s&&t[n(858)][n(851)]>0&&this[n(725)][n(751)](c,t[n(858)])}async[oI(800)](){const t=oI,e=this[t(758)]?.[t(537)];e&&(e[t(740)](),this[t(725)][t(508)](e))}async[oI(490)](){const t=oI,e=this[t(758)]?.[t(537)];if(e)for await(const n of e[t(539)])await this[t(535)]({reply:n,renderingStrategy:t(802)})}[oI(478)](t){const e=oI,n={positiveCount:t[e(603)][e(763)](t=>e(776)===t[e(563)])[e(851)],totalCount:t[e(603)][e(851)],modificationId:t.id},i=this[e(758)][e(806)](t[e(678)])[e(664)];i&&this[e(616)][e(625)](this[e(758)].id,i,n)}[oI(859)](t){const e=oI;let n=null,i=null;this.on(e(529),(r,s,o)=>{const a=e;o.id!==n&&(n=o.id,i=this[a(850)](o)),t(s,i)})}[oI(850)](t){const e=oI,n=this[e(725)],i=()=>{const i=e;t[i(621)](),t[i(635)](),n[i(839)]()},r=()=>{const n=e;t[n(857)]&&(t[n(857)][n(498)](),t[n(857)]=void 0)};return{insertTextReply:(n,s)=>{const a=e;r(),i();const c=t[a(857)]=t[a(829)]({type:a(653),interactionId:t.id,content:n,id:s||(0,o.uid)()});return r(),c},insertCustomElement:async(t,s)=>(r(),i(),n[e(569)](t,s||(0,o.uid)())),setLoadingMessage:t=>{n[e(699)](t)},clearLoadingMessage:()=>{n[e(839)]()}}}}const uI=hI;function hI(t,e){const n=dI();return(hI=function(t,e){return n[t-=137]})(t,e)}function dI(){const t=["9xuBaXS","conversion","context","editors","isContent","_getDocumentDataStringFromView","version","name","locale","7443990TChdNZ","_sessionId","$textProxy","domConverter","processor","editing","4333884VxtfWU","39186qWVSdu","afterInit","modelToDataWithIds","join","convertAiChatSelectionMarker","editingDowncast","markerName","define","document","ready","getStart","isOpening","266329AfFOrH","selection","isOfficialPlugin","emptyElement","isAtEnd","ck-fake-ai-selection",":start></","dataDowncast",":end></","getMarkersGroup","containerElement","getDocumentData","has","_setOutputDataProcessor","markerToElement","change","substring","model","data","getLastMatchingPosition","ai-selection:","config","plugins","start","get","data-id","sessionId","removeAllRanges","markers","createRange","showFakeVisualSelection","end","5722904vbnaVw","_getMarkersInDocumentOrder","for","view","htmlWriter","RealTimeCollaborationClient","AIEditing","AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL","getHtml","_displayedFakeSelectionId","isPremiumPlugin",":start>","fromCharCode","viewToDom",":end>","_setDataIdsOnChildren","toView","ai.models.showModelSelector","1265811EvCtsU","isBefore","_displayedFakeSelectionLocked","_outputDataProcessor","ck-ai-assistant-ui_theme","schema","markerToHighlight","4RaLZzH","ai-selection","listenTo","getSelection","getChildren","isAfter","createUIElement","getItems","1856870kFGLYj","_nextDataId","_integrateEditor","element","getRanges","push","add","indexOf","floor","12CtIJfX","addMarker","length","removeMarker","sort","from","pluginName","getRoot","random","trim","getSelectionText","toData","setAttribute","hideFakeVisualSelection"];return(dI=function(){return t})()}!function(t){const e=hI,n=t();for(;;)try{if(755287===parseInt(e(162))/1+-parseInt(e(231))/2*(parseInt(e(224))/3)+parseInt(e(161))/4+parseInt(e(239))/5+-parseInt(e(248))/6*(-parseInt(e(174))/7)+-parseInt(e(206))/8*(parseInt(e(146))/9)+parseInt(e(155))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dI);const pI=uI(232);class fI extends n.ContextPlugin{constructor(t){const e=uI;super(t),this[e(148)][e(195)][e(169)](e(223),!0)}[uI(227)];[uI(215)]=null;[uI(226)]=!1;[uI(156)];static get[uI(138)](){return uI(212)}static get[uI(176)](){return!0}static get[uI(216)](){return!0}get[uI(200)](){const t=uI;if(!this[t(156)]){const e=eI(this[t(148)]),n=e[t(196)][t(186)](t(211))&&e[t(196)][t(198)](t(211))[t(200)];this[t(156)]=n||(0,o.uid)()}return this[t(156)]}async[uI(185)](){const t=uI,e=eI(this[t(148)]),n=e[t(191)],i=e[t(192)][t(222)](n[t(170)][t(139)](),{convertAiChatSelectionMarker:!0}),r=new u.ViewDowncastWriter(e[t(160)][t(209)][t(170)]);this[t(221)](i,r);let s=await this[t(151)](i);const o=this[t(207)](),a=[];for(const e of o){const n="<"+e[t(153)]+t(180)+e[t(153)]+t(217),i=s[t(246)](n);s=s[t(190)](0,i)+s[t(190)](i+n[t(250)]);const r="<"+e[t(153)]+t(182)+e[t(153)]+t(220),o=s[t(246)](r);s=s[t(190)](0,o)+s[t(190)](o+r[t(250)]),a[t(244)]({markerName:e[t(153)],start:i,end:o,htmlFragment:s[t(190)](i,o)})}return{content:s,version:e[t(191)][t(170)][t(152)],sessionId:this[t(200)],selections:a}}async[uI(163)](){const t=uI;this[t(148)]instanceof n.Editor?this[t(241)](this[t(148)]):this[t(233)](this[t(148)][t(149)],t(245),(e,n)=>{const i=t;n.on(i(171),()=>{this[i(241)](n)})})}[uI(187)](t){this[uI(227)]=t}async[uI(151)](t){const e=uI;let n;const i=eI(this[e(148)]);if(this[e(227)]){const r=i[e(192)][e(159)][e(158)][e(219)](t),s=await this[e(227)](r);n=i[e(192)][e(159)][e(210)][e(214)](s)}else n=i[e(192)][e(159)][e(143)](t);return n}[uI(241)](t){const e=uI;t[e(147)][e(208)](e(167))[e(230)]({model:e(232),view:{classes:[e(179),e(228)],priority:12}}),t[e(147)][e(208)](e(181))[e(188)]({model:e(232),view:(t,{writer:n,options:i})=>i[e(166)]?n[e(237)](t[e(168)]+":"+(t[e(173)]?e(197):e(205))):null})}[uI(204)](t,e,n=!1,i=!1){const r=uI;if(this[r(226)]&&!i)return!1;const s=eI(this[r(148)])[r(191)];return s[r(189)](i=>{const o=r;this[o(215)]&&this[o(145)](this[o(215)]),this[o(215)]=e,this[o(226)]=n;let a=0;for(let e of t){const t=o(194)+a;if(e[o(197)][o(178)]){const t=e[o(197)][o(193)](({item:t})=>!s[o(229)][o(150)](t),{boundaries:e});e=i[o(203)](t,e[o(205)])}i[o(249)](t,{usingOperation:!1,affectsData:!1,range:e}),a++}}),window[r(234)]()?.[r(201)](),!0}[uI(145)](t){const e=uI;if(this[e(215)]!=t)return!1;this[e(215)]=null,this[e(226)]=!1;const n=eI(this[e(148)]),i=n[e(191)][e(202)][e(183)](e(232));return n[e(191)][e(189)](t=>{const n=e;for(const e of i)t[n(251)](e)}),!0}async[uI(164)](t){const e=uI,n=eI(this[e(148)]),i=n[e(192)][e(222)](t),r=new u.ViewDowncastWriter(n[e(160)][e(209)][e(170)]);return this[e(221)](i,r),this[e(151)](i)}[uI(221)](t,e){const n=uI;let i=!1;const r=new Set;for(const s of t[n(235)]()){const t=s.is(n(177))||s.is(n(184));s.is(n(242))&&((this[n(221)](s,e)||t)&&(e[n(144)](n(199),this[n(240)](r),s),i=!0))}return i}[uI(240)](t){const e=uI;let n;do{n="";for(let t=0;t<4;t++)n+=String[e(218)](97+Math[e(247)](26*Math[e(140)]()))}while(t[e(186)](n));return t[e(245)](n),n}[uI(142)](){const t=uI,{model:e}=eI(this[t(148)]),n=e[t(170)][t(175)],i=[];for(const e of n[t(243)]())for(const n of e[t(238)]())n.is(t(157))?i[t(244)](n[t(192)]):n.is(t(242))&&i[t(250)]>0&&" "!==i[i[t(250)]-1]&&i[t(244)](" ");return i[t(250)]?'"'+i[t(165)]("")[t(141)]()+'"':Zl(this[t(148)][t(154)],t(213))}[uI(207)](){const t=uI,e=eI(this[t(148)])[t(191)];return Array[t(137)](e[t(202)][t(183)](t(232)))[t(252)]((e,n)=>e[t(172)]()[t(225)](n[t(172)]())?-1:e[t(172)]()[t(236)](n[t(172)]())?1:0)}}const gI=mI;function mI(t,e){const n=kI();return(mI=function(t,e){return n[t-=380]})(t,e)}function kI(){const t=["applySuggestion","161pRgrCS","insertSuggestion","mouseLeaveSuggestion","206499lonVoD","75152KYlsXD","52970tgtFBB","207QmVKHK","toggleSuggestionDisplayMode","showChangeInText","905836QQDteZ","dislike","like","4481983OeTlFW","8XuygEp","mouseOverSuggestion","rejectSuggestion","250914DdfCDo","20HZLlCG","41936NwWqRN"];return(kI=function(){return t})()}!function(t){const e=mI,n=t();for(;;)try{if(128628===parseInt(e(391))/1*(parseInt(e(386))/2)+parseInt(e(396))/3+parseInt(e(382))/4+-parseInt(e(390))/5*(-parseInt(e(389))/6)+-parseInt(e(393))/7*(parseInt(e(397))/8)+parseInt(e(399))/9*(parseInt(e(398))/10)+-parseInt(e(385))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kI);const _I=[gI(381),gI(394),gI(392),gI(388),gI(387),gI(395),gI(380),gI(384),gI(383)],bI=wI;function wI(t,e){const n=II();return(wI=function(t,e){return n[t-=387]})(t,e)}function II(){const t=["loadSourceResources","toggleWebSearch","7yfHOCj","addFileToContext","532218dHoUsy","286aNJyEn","addDocumentToContext","selectModel","sendUserMessage","executeCustomItemCallback","3BvggCh","1270182evqqJE","abortPromptStream","resizeTabs","9ZUDtUT","25qGasXX","6889510KXGdKM","1583552xHvWRU","2348936fPOdbx","addResourceToContext","toggleReasoning","startConversation","404292KSKoXw","removeContextItem","1391534fzEkYS","addUrlToContext"];return(II=function(){return t})()}!function(t){const e=wI,n=t();for(;;)try{if(731988===-parseInt(e(412))/1+-parseInt(e(399))/2*(parseInt(e(411))/3)+parseInt(e(392))/4+parseInt(e(390))/5*(parseInt(e(405))/6)+parseInt(e(403))/7*(parseInt(e(393))/8)+-parseInt(e(389))/9*(-parseInt(e(391))/10)+parseInt(e(406))/11*(parseInt(e(397))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(II);const vI=[..._I,bI(396),bI(388),bI(409),bI(387),bI(407),bI(404),bI(400),bI(410),bI(394),bI(398),bI(401),bI(402),bI(395),bI(408)];var yI;var AI="undefined"==typeof document?void 0:document,EI=!!AI&&"content"in AI.createElement("template"),TI=!!AI&&AI.createRange&&"createContextualFragment"in AI.createRange();function CI(t){return t=t.trim(),EI?function(t){var e=AI.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}(t):TI?function(t){return yI||(yI=AI.createRange()).selectNode(AI.body),yI.createContextualFragment(t).childNodes[0]}(t):function(t){var e=AI.createElement("body");return e.innerHTML=t,e.childNodes[0]}(t)}function SI(t,e){var n,i,r=t.nodeName,s=e.nodeName;return r===s||(n=r.charCodeAt(0),i=s.charCodeAt(0),n<=90&&i>=97?r===s.toUpperCase():i<=90&&n>=97&&s===r.toUpperCase())}function xI(t,e,n){t[n]!==e[n]&&(t[n]=e[n],t[n]?t.setAttribute(n,""):t.removeAttribute(n))}var RI={OPTION:function(t,e){var n=t.parentNode;if(n){var i=n.nodeName.toUpperCase();"OPTGROUP"===i&&(i=(n=n.parentNode)&&n.nodeName.toUpperCase()),"SELECT"!==i||n.hasAttribute("multiple")||(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),n.selectedIndex=-1)}xI(t,e,"selected")},INPUT:function(t,e){xI(t,e,"checked"),xI(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var n=e.value;t.value!==n&&(t.value=n);var i=t.firstChild;if(i){var r=i.nodeValue;if(r==n||!n&&r==t.placeholder)return;i.nodeValue=n}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var n,i,r=-1,s=0,o=t.firstChild;o;)if("OPTGROUP"===(i=o.nodeName&&o.nodeName.toUpperCase()))(o=(n=o).firstChild)||(o=n.nextSibling,n=null);else{if("OPTION"===i){if(o.hasAttribute("selected")){r=s;break}s++}!(o=o.nextSibling)&&n&&(o=n.nextSibling,n=null)}t.selectedIndex=r}}};function NI(){}function OI(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}var LI=function(t){return function(e,n,i){if(i||(i={}),"string"==typeof n)if("#document"===e.nodeName||"HTML"===e.nodeName||"BODY"===e.nodeName){var r=n;(n=AI.createElement("html")).innerHTML=r}else n=CI(n);else 11===n.nodeType&&(n=n.firstElementChild);var s=i.getNodeKey||OI,o=i.onBeforeNodeAdded||NI,a=i.onNodeAdded||NI,c=i.onBeforeElUpdated||NI,l=i.onElUpdated||NI,u=i.onBeforeNodeDiscarded||NI,h=i.onNodeDiscarded||NI,d=i.onBeforeElChildrenUpdated||NI,p=i.skipFromChildren||NI,f=i.addChild||function(t,e){return t.appendChild(e)},g=!0===i.childrenOnly,m=Object.create(null),k=[];function _(t){k.push(t)}function b(t,e){if(1===t.nodeType)for(var n=t.firstChild;n;){var i=void 0;e&&(i=s(n))?_(i):(h(n),n.firstChild&&b(n,e)),n=n.nextSibling}}function w(t,e,n){!1!==u(t)&&(e&&e.removeChild(t),h(t),b(t,n))}function I(t){if(1===t.nodeType||11===t.nodeType)for(var e=t.firstChild;e;){var n=s(e);n&&(m[n]=e),I(e),e=e.nextSibling}}function v(t){a(t);for(var e=t.firstChild;e;){var n=e.nextSibling,i=s(e);if(i){var r=m[i];r&&SI(e,r)?(e.parentNode.replaceChild(r,e),y(r,e)):v(e)}else v(e);e=n}}function y(e,n,i){var r=s(n);if(r&&delete m[r],!i){var a=c(e,n);if(!1===a)return;if(a instanceof HTMLElement&&I(e=a),t(e,n),l(e),!1===d(e,n))return}"TEXTAREA"!==e.nodeName?function(t,e){var n,i,r,a,c,l=p(t,e),u=e.firstChild,h=t.firstChild;t:for(;u;){for(a=u.nextSibling,n=s(u);!l&&h;){if(r=h.nextSibling,u.isSameNode&&u.isSameNode(h)){u=a,h=r;continue t}i=s(h);var d=h.nodeType,g=void 0;if(d===u.nodeType&&(1===d?(n?n!==i&&((c=m[n])?r===c?g=!1:(t.insertBefore(c,h),i?_(i):w(h,t,!0),i=s(h=c)):g=!1):i&&(g=!1),(g=!1!==g&&SI(h,u))&&y(h,u)):3!==d&&8!=d||(g=!0,h.nodeValue!==u.nodeValue&&(h.nodeValue=u.nodeValue))),g){u=a,h=r;continue t}i?_(i):w(h,t,!0),h=r}if(n&&(c=m[n])&&SI(c,u))l||f(t,c),y(c,u);else{var k=o(u);!1!==k&&(k&&(u=k),u.actualize&&(u=u.actualize(t.ownerDocument||AI)),f(t,u),v(u))}u=a,h=r}!function(t,e,n){for(;e;){var i=e.nextSibling;(n=s(e))?_(n):w(e,t,!0),e=i}}(t,h,i);var b=RI[t.nodeName];b&&b(t,e)}(e,n):RI.TEXTAREA(e,n)}I(e);var A,E,T=e,C=T.nodeType,S=n.nodeType;if(!g)if(1===C)1===S?SI(e,n)||(h(e),T=function(t,e){for(var n=t.firstChild;n;){var i=n.nextSibling;e.appendChild(n),n=i}return e}(e,(A=n.nodeName,(E=n.namespaceURI)&&"http://www.w3.org/1999/xhtml"!==E?AI.createElementNS(E,A):AI.createElement(A)))):T=n;else if(3===C||8===C){if(S===C)return T.nodeValue!==n.nodeValue&&(T.nodeValue=n.nodeValue),T;T=n}if(T===n)h(e);else{if(n.isSameNode&&n.isSameNode(T))return;if(y(T,n,g),k)for(var x=0,R=k.length;x<R;x++){var N=m[k[x]];N&&w(N,N.parentNode,!1)}}return!g&&T!==e&&e.parentNode&&(T.actualize&&(T=T.actualize(e.ownerDocument||AI)),e.parentNode.replaceChild(T,e)),T}}(function(t,e){var n,i,r,s,o=e.attributes;if(11!==e.nodeType&&11!==t.nodeType){for(var a=o.length-1;a>=0;a--)i=(n=o[a]).name,r=n.namespaceURI,s=n.value,r?(i=n.localName||i,t.getAttributeNS(r,i)!==s&&("xmlns"===n.prefix&&(i=n.name),t.setAttributeNS(r,i,s))):t.getAttribute(i)!==s&&t.setAttribute(i,s);for(var c=t.attributes,l=c.length-1;l>=0;l--)i=(n=c[l]).name,(r=n.namespaceURI)?(i=n.localName||i,e.hasAttributeNS(r,i)||t.removeAttributeNS(r,i)):e.hasAttribute(i)||t.removeAttribute(i)}});const DI=LI,PI=qI;!function(t){const e=qI,n=t();for(;;)try{if(644214===-parseInt(e(199))/1+-parseInt(e(213))/2+parseInt(e(190))/3*(-parseInt(e(214))/4)+-parseInt(e(207))/5*(-parseInt(e(230))/6)+-parseInt(e(233))/7+parseInt(e(225))/8+-parseInt(e(189))/9*(-parseInt(e(210))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(HI);class MI{[PI(219)];[PI(188)]=!1;[PI(224)]=null;[PI(231)]=[];[PI(216)]=0;[PI(202)]=null;[PI(228)]=0;constructor(t){const e=PI;this[e(219)]={delay:t[e(236)]??20,textNodeStyle:t[e(192)],onStreamUpdate:t[e(242)]||(()=>{})}}async[PI(227)]({document:t,targetElement:e,abortSignal:n}){const i=PI;this[i(188)]&&this[i(240)](),n?.[i(241)](i(238),this[i(240)][i(201)](this)),this[i(224)]=xu(t,!0),this[i(231)]=this[i(205)](),this[i(188)]=!0,this[i(216)]>this[i(231)][i(244)]&&(this[i(216)]=this[i(231)][i(244)]);for(let t=0;t<this[i(216)];t++)this[i(231)][t][i(218)]=!0;do{const t=Date[i(222)](),n=this[i(231)][this[i(216)]],r=t-this[i(228)];if(n){n[i(218)]=!0;let t=n[i(229)];for(;t;)t[i(218)]=!0,t=t[i(229)]}if(r<this[i(219)][i(236)])try{const{promise:t,abortController:e}=FI(this[i(219)][i(236)]-r);this[i(202)]=e,await t}catch(t){return}DI(e,"<"+e[i(220)]+">"+this[i(212)](this[i(224)])+"</"+e[i(220)]+">",{childrenOnly:!0}),this[i(219)][i(242)]&&this[i(219)][i(242)](),this[i(216)]++,this[i(228)]=Date[i(222)]()}while(this[i(216)]<this[i(231)][i(244)]);this[i(216)]=this[i(231)][i(244)],this[i(188)]=!1}[PI(234)](){const t=PI;this[t(188)]=!1,this[t(224)]=null,this[t(231)]=[],this[t(216)]=0,this[t(202)]=null}[PI(211)]({targetElement:t}){const e=PI;Array[e(217)](t[e(195)](e(237)))[e(196)]()[e(243)](t=>{const n=e;t[n(183)](t[n(239)][0])})}[PI(240)](){const t=PI;this[t(188)]=!1,this[t(202)]&&(this[t(202)][t(238)](),this[t(202)]=null)}[PI(212)](t){const e=PI;let n="";if(Cu(t))for(const i of t[e(200)])n+=this[e(212)](i);else if(UI(t)){if(!t[e(218)])return"";const i=t,r=Object[e(226)](i[e(206)])[e(232)](([t,e])=>t+'="'+e+'"')[e(223)](" ");n+="<"+i[e(220)]+(r?" "+r:"")+">";for(const t of $h(i))n+=this[e(212)](t);n+="</"+i[e(220)]+">"}else{if(!BI(t))return"";if(!t[e(218)])return"";!function(t){const n=e;return!(!t[n(229)]||!UI(t[n(229)]))&&(!!VI[n(194)](t[n(229)][n(220)])&&!Yh(t)[n(215)](/^\s*[<>]\s*$/))}(t)?n+=Gh(t):n+=Gh(new yu(e(193),{"data-ck-html-streamer-word-chunk":"",style:this[e(219)][e(192)]},[t]))}return n}[PI(205)](){const t=PI,e=[];return function(t,e){const n=qI,i=t=>{const n=qI;if(e(t),t instanceof wu)for(let e=0;e<t[n(200)][n(244)];e++){const r=t[n(200)][e];i(r)}};for(let e=0;e<t[n(200)][n(244)];e++)i(t[n(200)][e])}(this[t(224)],n=>{const i=t;if(BI(n)){const t=this[i(198)](n);t[i(244)]&&e[i(184)](...t)}n[i(186)]||n[i(221)]||e[i(184)](n)}),e}[PI(198)](t){const e=PI;if(t[e(186)]||t[e(221)])return[];const n=Yh(t)[e(215)](/(?:\s*\S+\s*)/g),i=[];if(n&&n[e(244)]>1){for(const r of n){const n=new ku(r);n[e(221)]=!0,ed(t,n),i[e(184)](n)}t[e(186)]=!0,Xh(t)}return i}}const VI=["p","li","td","th",PI(193),"h1","h2","h3","h4","h5","h6","b",PI(203),"i","em",PI(185),PI(235),PI(204),PI(209),PI(187),"a",PI(208),PI(197)];function BI(t){return Eu(t)}function HI(){const t=["del","delay","span[data-ck-html-streamer-word-chunk]","abort","childNodes","stop","addEventListener","onStreamUpdate","forEach","length","replaceWith","push","mark","isWordSplitSource","sub","isStreaming","32856003HaRpGa","681033STyMcB","signal","textNodeStyle","span","includes","querySelectorAll","reverse","div","splitTextNodeIntoWordNodes","918193jsDFCf","children","bind","timeoutAbortController","strong","ins","getParsedDocumentNodeList","attribs","5aZvetV","code","sup","10PcfPxx","cleanUpAnimations","renderNode","1307574DPWnEn","16PwtAMl","match","currentIndex","from","shouldBeStreamed","options","tagName","isWordSplitResult","now","join","document","37856TwinDd","entries","stream","lastUpdateTime","parent","273090YsXjoL","nodesList","map","4036732tkYbOt","reset"];return(HI=function(){return t})()}function UI(t){return Au(t)}function qI(t,e){const n=HI();return(qI=function(t,e){return n[t-=183]})(t,e)}function FI(t){const e=new AbortController;return{promise:new Promise((n,i)=>{const r=qI,s=setTimeout(n,t);e[r(191)][r(241)](r(238),()=>{clearTimeout(s),i()})}),abortController:e}}const zI=jI;function GI(){const t=["animation: ck-html-streamer-fade-in .5s","6767999IDSRCM","8978IncHey","removeAttribute","ck-ai-chat__feed__text-item","4951355wtYbfp","ck-ai-chat__feed__item","querySelectorAll","data-id","10gWtKjo","[data-id]","children","isVisible","createCollection","ck-ai-chat__feed__item_done","1257636XCOpul","isDone","7849088jyemQK","9wZftAg","streamIntoElement","2173428ZqipYX","element","markAsDone","stream","ck-hidden","177EUMgYk","div","bindTemplate","set","htmlStreamer","content","cleanUpAnimations","forEach","options","setTemplate","38789531Vyqngg","6pyyEzp"];return(GI=function(){return t})()}function jI(t,e){const n=GI();return(jI=function(t,e){return n[t-=493]})(t,e)}!function(t){const e=jI,n=t();for(;;)try{if(495239===-parseInt(e(520))/1*(parseInt(e(497))/2)+parseInt(e(513))/3*(parseInt(e(510))/4)+parseInt(e(500))/5*(-parseInt(e(494))/6)+-parseInt(e(496))/7+-parseInt(e(512))/8+-parseInt(e(515))/9*(parseInt(e(504))/10)+parseInt(e(493))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(GI);class WI extends a.View{[zI(528)];[zI(525)]="";[zI(524)];[zI(506)];constructor(t){const e=zI;super();const n=this[e(522)];this[e(523)](e(511),!1),this[e(523)](e(507),!0),this[e(524)]=new MI({textNodeStyle:e(495),delay:20}),this[e(528)]=t,this[e(506)]=this[e(508)](),this[e(529)]({tag:e(521),attributes:{class:["ck",e(501),n.if(e(511),e(509)),n.if(e(507),e(519),t=>!t),e(499)],"data-cke-ai-id":this[e(528)].id},children:this[e(506)]})}[zI(517)](){const t=zI;this[t(524)][t(526)]({targetElement:this[t(516)]}),this[t(516)][t(502)](t(505))[t(527)](e=>{const n=t;e[n(498)](n(503))}),this[t(511)]=!0}async[zI(514)](t,e,n){const i=zI;await this[i(524)][i(518)]({document:t,targetElement:e,abortSignal:n})}}const KI=$I;!function(t){const e=$I,n=t();for(;;)try{if(873532===-parseInt(e(503))/1*(-parseInt(e(483))/2)+-parseInt(e(508))/3*(parseInt(e(488))/4)+parseInt(e(497))/5+parseInt(e(487))/6+parseInt(e(495))/7+parseInt(e(512))/8*(parseInt(e(484))/9)+-parseInt(e(505))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(QI);class YI extends a.View{[KI(513)];constructor(t,e){const n=KI;super(t),this[n(501)](n(486),!0),this[n(513)]=new XI(t),this[n(513)][n(501)]({class:n(494),label:Zl(t,n(510)),withText:!0}),this[n(513)][n(482)]=e[n(504)],this[n(513)][n(500)](n(485)).to(this,n(486)),this[n(513)][n(500)](n(496)).to(this[n(513)],n(482),t=>t?i.IconShowChangesOn:i.IconShowChangesOff),this[n(513)].on(n(506),()=>{const t=n;this[t(513)][t(482)]=!this[t(513)][t(482)],this[t(498)](t(514),{isOn:this[t(513)][t(482)]})});const r=new a.IconView;r[n(492)]=i.IconDocument,this[n(493)]({tag:n(507),attributes:{class:["ck",n(509),!1===e[n(502)]?n(490):null][n(511)](Boolean)},children:[r,{tag:n(499),children:[Zl(t,n(480))]},this[n(513)]]})}}function $I(t,e){const n=QI();return($I=function(t,e){return n[t-=478]})(t,e)}function QI(){const t=["showChangesToggleView","toggleShowChanges","remove","add","AI_SUGGESTION_HEADER_TITLE","render","isOn","67558pSpVec","5351166yCcVYH","isVisible","isShowChangesToggleVisible","1963848RSbaKd","1653392IgUYjN","iconView","ck-hidden","children","content","setTemplate","ck-ai-suggestion__header__show-changes-toggle ck-ai-chat-controls-button","12185285xKEWDs","icon","7381240nKJMly","fire","span","bind","set","showHeader","27bzSLYd","showDiff","37640380InJBaW","execute","div","3jvFPnN","ck-ai-suggestion__header","AI_SUGGESTION_BUTTON_SHOW_CHANGES","filter","8YCliuy"];return(QI=function(){return t})()}class XI extends a.ButtonView{[KI(481)](){const t=KI;super[t(481)](),this[t(491)][t(478)](this[t(489)]),this[t(491)][t(479)](this[t(489)])}}var JI=r(500),ZI={attributes:{"data-cke":!0}};ZI.setAttributes=Et(),ZI.insert=yt().bind(null,"head"),ZI.domAPI=It(),ZI.insertStyleElement=Ct();bt()(JI.A,ZI);JI.A&&JI.A.locals&&JI.A.locals;const tv=nv;!function(t){const e=nv,n=t();for(;;)try{if(625347===-parseInt(e(356))/1*(parseInt(e(360))/2)+-parseInt(e(373))/3+parseInt(e(366))/4+parseInt(e(355))/5*(-parseInt(e(358))/6)+-parseInt(e(371))/7*(-parseInt(e(374))/8)+parseInt(e(379))/9+parseInt(e(363))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rv);const ev={accepted:i.IconBoxWithCheck,rejected:i.IconBoxWithCross,outdated:i.IconBoxWithCross};function nv(t,e){const n=rv();return(nv=function(t,e){return n[t-=355]})(t,e)}class iv extends a.View{[tv(385)];constructor(t){const e=tv;super(t);const n=this[e(375)];this[e(367)](e(369),e(359)),this[e(367)](e(368),!0),this[e(385)]=new sv,this[e(385)][e(365)](e(369)).to(this),this[e(370)]({tag:e(383),attributes:{class:["ck",e(382),n.to(e(369),t=>e(384)+t),n.if(e(368),e(378),t=>!t)]},children:[{tag:e(357),attributes:{class:[e(362)]},children:[{text:n.to(e(369),n=>{const i=e;switch(n){case i(359):return Zl(t,i(364));case i(380):return Zl(t,i(376));case i(386):return Zl(t,i(381))}})}]},this[e(385)]]})}[tv(377)](t){this[tv(369)]=t}}function rv(){const t=["bind","145928xjQlwy","set","isVisible","state","setTemplate","14JcTyib","content","2336253aZeXCE","730672XUCOXF","bindTemplate","AI_SUGGESTION_CONTENT_PART_STATE_REJECTED","setState","ck-hidden","10959534bcVbTi","rejected","AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED","ck-ai-suggestion__content-part-state","div","ck-ai-suggestion__content-part-state_","stateIconView","outdated","40SrlIaM","20489SANRwy","span","347736hCwOil","accepted","44RbiiPa","change:state","ck-ai-suggestion__content-part-state__label","8816280wazFRy","AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED"];return(rv=function(){return t})()}class sv extends a.IconView{constructor(){const t=tv;super(),this[t(367)](t(369),t(359)),this[t(372)]=ev[this[t(369)]],this.on(t(361),()=>{const e=t;this[e(372)]=ev[this[e(369)]]})}}var ov=r(2158),av={attributes:{"data-cke":!0}};av.setAttributes=Et(),av.insert=yt().bind(null,"head"),av.domAPI=It(),av.insertStyleElement=Ct();bt()(ov.A,av);ov.A&&ov.A.locals&&ov.A.locals;function cv(t,e){const n=hv();return(cv=function(t,e){return n[t-=444]})(t,e)}const lv=cv;!function(t){const e=cv,n=t();for(;;)try{if(292166===parseInt(e(465))/1*(parseInt(e(477))/2)+-parseInt(e(451))/3+parseInt(e(450))/4*(-parseInt(e(453))/5)+parseInt(e(470))/6+-parseInt(e(467))/7+parseInt(e(444))/8+-parseInt(e(473))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(hv);class uv extends a.ToolbarView{[lv(462)];[lv(468)];constructor(t,e,n){const r=lv;super(t);const s=Boolean(n);this[r(446)](r(476),!s),this[r(446)](r(471),!0),this[r(460)]=r(466);const o=[];if(s){const e=new a.ButtonView(t);e[r(446)]({label:Zl(t,r(448)),tooltip:!0,tooltipPosition:"n",withText:!1,icon:i.IconInfo}),o[r(452)](e)}else{e[r(454)](r(463))&&(this[r(462)]=new a.ButtonView(t),this[r(462)][r(446)]({label:Zl(t,r(458)),tooltip:!0,tooltipPosition:"n",withText:!1,icon:i.IconBoxWithCheck}),this[r(462)][r(447)](r(476)).to(this),this[r(462)].on(r(455),()=>{const t=r;this[t(457)](t(463))}),o[r(452)](this[r(462)])),e[r(454)](r(445))&&(this[r(468)]=new a.ButtonView(t),this[r(468)][r(446)]({label:Zl(t,r(461)),tooltip:!0,tooltipPosition:"n",withText:!1,icon:i.IconBoxWithMarker}),this[r(468)][r(447)](r(476)).to(this),this[r(468)].on(r(455),()=>{const t=r;this[t(457)](t(445))}),o[r(452)](this[r(468)]));const n=new a.ButtonView(t);n[r(446)]({label:Zl(t,r(472)),tooltip:!0,tooltipPosition:"n",withText:!1,icon:i.IconBoxWithCross}),n[r(447)](r(476)).to(this),n.on(r(455),()=>{const t=r;this[t(457)](t(469))}),o[r(452)](n)}this[r(449)][r(459)](o);const c=this[r(474)];this[r(464)]({attributes:{class:[c.if(r(471),r(456),t=>!t)]}})}[lv(475)]({showApplyButton:t,showSuggestButton:e}){const n=lv;this[n(462)]&&(this[n(462)][n(471)]=t),this[n(468)]&&(this[n(468)][n(471)]=e)}}function hv(){const t=["258355PKuCHT","ck-ai-suggestion-content-part-toolbar","288197SYbFRP","_suggestButton","rejectSuggestion","2134626vARezn","isVisible","AI_SUGGESTION_CONTENT_PART_REJECT","1720404aDiEma","bindTemplate","setButtonsVisibility","isEnabled","2uKMGny","3976328jtFZTM","insertSuggestion","set","bind","AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE","items","1672956gZbFgY","505305XKtmWt","push","5nbEvwz","includes","execute","ck-hidden","fire","AI_SUGGESTION_CONTENT_PART_APPLY","addMany","class","AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION","_applyButton","applySuggestion","extendTemplate"];return(hv=function(){return t})()}var dv=fv;function pv(){var t=["fire","811040RWrEQN","16BDsGwy","change:state","366075AfAcyd","10yWNwTC","1810qfUltr","ck-ai-suggestion__body__content-part__title","div","state","titleLabelView","remove","bind","ck-reset_all-excluded","pending","setState","AI_SUGGESTION_CONTENT_PART_TITLE","49YiaUBn","set","1266650smWaXb","add","index","isEnabled","setTemplate","2236bcCwkQ","701397sPLCIS","insertSuggestion","span","children","stateView","rejectSuggestion","createCollection","toolbarView","addMany","toString","applySuggestion","ck-ai-suggestion__body__content-part__title__label","813378tzxoii","1580183ecLIWO"];return(pv=function(){return t})()}function fv(t,e){var n=pv();return(fv=function(t,e){return n[t-=162]})(t,e)}!function(t){for(var e=fv,n=t();;)try{if(563544===parseInt(e(165))/1+parseInt(e(183))/2+-parseInt(e(168))/3+-parseInt(e(188))/4*(-parseInt(e(170))/5)+-parseInt(e(162))/6*(parseInt(e(181))/7)+parseInt(e(166))/8*(-parseInt(e(189))/9)+-parseInt(e(169))/10*(-parseInt(e(163))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pv);class gv extends a.View{[dv(196)];[dv(193)];[dv(174)];[dv(192)];constructor(t,{part:e,uiIndex:n,availableActions:i,areActionsDisabled:r}){var s=dv;super(t),this[s(182)](s(186),!0),this[s(182)](s(173),s(178)),this[s(196)]=new uv(t,i,r),this[s(196)].on(s(194),()=>{var t=s;this[t(164)](t(194),{index:e[t(185)]})}),this[s(196)].on(s(190),()=>{var t=s;this[t(164)](t(190),{index:e[t(185)]})}),this[s(196)].on(s(199),()=>{var t=s;this[t(164)](t(199),{index:e[t(185)]})}),this[s(196)][s(176)](s(186)).to(this),this[s(193)]=new iv(t),this[s(174)]=new mv(t,n),this[s(192)]=this[s(195)](),this[s(192)][s(197)]([this[s(174)],this[s(196)]]),this[s(187)]({tag:s(172),attributes:{class:["ck",s(177),s(171)]},children:this[s(192)]}),this.on(s(167),(t,e,n,i)=>{var r=s;r(178)===i?this[r(192)][r(175)](this[r(196)]):this[r(192)][r(175)](this[r(193)]),r(178)===n?this[r(192)][r(184)](this[r(196)]):(this[r(193)][r(179)](n),this[r(192)][r(184)](this[r(193)]))})}}class mv extends a.View{constructor(t,e){var n=dv;super(t),this[n(187)]({tag:n(191),attributes:{class:["ck",n(200)]},children:[Zl(t,n(180),e[n(198)]())]})}}var kv=r(3768),_v={attributes:{"data-cke":!0}};_v.setAttributes=Et(),_v.insert=yt().bind(null,"head"),_v.domAPI=It(),_v.insertStyleElement=Ct();bt()(kv.A,_v);kv.A&&kv.A.locals&&kv.A.locals;var bv=wv;function wv(t,e){var n=vv();return(wv=function(t,e){return n[t-=283]})(t,e)}!function(t){for(var e=wv,n=t();;)try{if(603651===-parseInt(e(298))/1+-parseInt(e(290))/2*(parseInt(e(303))/3)+-parseInt(e(294))/4*(parseInt(e(283))/5)+parseInt(e(305))/6*(parseInt(e(306))/7)+parseInt(e(296))/8+parseInt(e(304))/9+parseInt(e(286))/10*(parseInt(e(307))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vv);class Iv extends a.View{[bv(297)];constructor(t){var e=bv;super(t),this[e(297)]=new MI({textNodeStyle:e(289),delay:20}),this[e(293)]({tag:e(308),attributes:{class:["ck",e(299),e(287),e(302)]}})}async[bv(295)]({part:t,renderingStrategy:e,abortSignal:n}){var i=bv;i(292)===e?await this[i(297)][i(291)]({document:t[i(288)],targetElement:this[i(300)],abortSignal:n}):this[i(300)][i(285)]=ld(t[i(288)])}[bv(301)](){var t=bv;this[t(297)][t(284)](),this[t(300)][t(285)]=""}}function vv(){var t=["ck-content","element","clear","ck-ai-suggestion-streamable-content","3rAXNRa","3694779CGTbhu","124458DoREac","378CrgQHq","209sRirpL","div","305065wNYqSq","reset","innerHTML","426490EbbEOq","ck-reset_all-excluded","content","animation: ck-html-streamer-fade-in .5s","739846dfFmbj","stream","streaming","setTemplate","56wPIxVc","update","2556216ZoQidD","htmlStreamer","832755QMKOWk"];return(vv=function(){return t})()}const yv=Av;function Av(t,e){const n=Ev();return(Av=function(t,e){return n[t-=309]})(t,e)}function Ev(){const t=["_children","target","index","hasChanges","isVisible","isActive","ck-ai-suggestion__body__content-part","contains","ck-ai-suggestion__body__content-part_active","9322254mOeFMQ","243xeHbTr","markAsDone","fire","51453rCptSH","createCollection","state","ck-ai-suggestion__body__content-part_enabled","set","toolbarView","2604888jxFJDO","change:isDone","pending","update","mouseLeaveSuggestion","1700624ocdmRn","change:state","addMany","mouseOverSuggestion","setTemplate","element","39890fMPeZS","bind","showChangeInText","19510zBHpdM","ck-ai-suggestion__body__content-part_","bindTemplate","div","isDone","updateContent","delegate","_headerView","12KyUzNm","3662218DwGFkl","isEnabled","partDefinition","ck-hidden","_streamableContentView"];return(Ev=function(){return t})()}!function(t){const e=Av,n=t();for(;;)try{if(484611===-parseInt(e(310))/1+parseInt(e(330))/2*(parseInt(e(354))/3)+-parseInt(e(321))/4+-parseInt(e(327))/5*(parseInt(e(338))/6)+-parseInt(e(339))/7+-parseInt(e(316))/8+parseInt(e(353))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ev);class Tv extends a.View{[yv(344)];[yv(337)];[yv(343)];constructor(t,{part:e,uiIndex:n,areActionsDisabled:i,availableActions:r}){const s=yv;super(t);const o=this[s(332)];this[s(314)](s(312),s(318)),this[s(314)](s(334),!1),this[s(314)](s(348),!1),this[s(314)](s(349),!1),this[s(314)](s(340),!1);const a=()=>{const t=s;this[t(340)]=this[t(334)]&&t(318)==this[t(312)]&&!i};this.on(s(322),a),this.on(s(317),a),a(),this[s(344)]=this[s(311)](),this[s(337)]=new gv(t,{part:e,uiIndex:n,availableActions:r,areActionsDisabled:i}),this[s(337)][s(328)](s(340),s(312)).to(this),this[s(337)][s(336)](..._I).to(this),this[s(343)]=new Iv(t),this[s(344)][s(323)]([this[s(337)],this[s(343)]]),this[s(325)]({tag:s(333),attributes:{class:["ck",s(350),o.to(s(312),t=>s(331)+t),o.if(s(340),s(313)),o.if(s(349),s(352)),o.if(s(348),s(342),t=>!t)]},children:this[s(344)],on:{mouseenter:o.to(()=>{const t=s;this[t(340)]&&this[t(309)](t(324),{index:e[t(346)]})}),mouseleave:o.to(()=>{const t=s;this[t(340)]&&this[t(309)](t(320),{index:e[t(346)]})}),click:o.to(t=>{const n=s,i=t[n(345)];this[n(340)]&&!this[n(337)][n(315)][n(326)][n(351)](i)&&this[n(309)](n(329),{index:e[n(346)]})})}})}async[yv(335)]({part:t,renderingStrategy:e,showUnchangedParts:n=!1,abortSignal:i}){const r=yv;this[r(341)]=t,this[r(348)]=this[r(341)][r(347)]||n,this[r(348)]&&await this[r(343)][r(319)]({part:t,renderingStrategy:e,abortSignal:i})}[yv(355)](){this[yv(334)]=!0}}const Cv=Sv;function Sv(t,e){const n=Rv();return(Sv=function(t,e){return n[t-=220]})(t,e)}!function(t){const e=Sv,n=t();for(;;)try{if(151400===parseInt(e(244))/1+parseInt(e(243))/2*(parseInt(e(221))/3)+-parseInt(e(248))/4+-parseInt(e(245))/5+-parseInt(e(247))/6*(parseInt(e(229))/7)+-parseInt(e(228))/8+parseInt(e(230))/9*(parseInt(e(235))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Rv);class xv extends((0,o.EmitterMixin)()){[Cv(231)]=[];[Cv(225)]=!1;[Cv(236)];async[Cv(234)](t){const e=Cv,n=this[e(246)](t);return this[e(231)][e(239)](n),this[e(223)](),n[e(233)]}[Cv(232)](){const t=Cv;this[t(225)]&&(this[t(236)][t(232)](),this[t(236)]=void 0,this[t(231)]=[],this[t(222)](t(237)),this[t(225)]=!1)}get[Cv(242)](){const t=Cv;return this[t(231)][t(238)]||this[t(225)]?new Promise(e=>{const n=t;this[n(227)](n(237),()=>{e()})}):Promise[t(220)]()}async[Cv(223)](){const t=Cv;if(!this[t(225)]){this[t(236)]=new AbortController,this[t(225)]=!0;try{for(;this[t(231)][t(238)]&&this[t(225)];){const e=this[t(231)][t(241)]();try{await e[t(226)](this[t(236)][t(240)]),e[t(220)]()}catch(n){e[t(224)](n)}}}finally{this[t(225)]=!1,this[t(236)]=void 0}this[t(222)](t(237))}}[Cv(246)](t){let e,n;const i=new Promise((t,i)=>{e=t,n=i});return{callback:t,resolve:e,reject:n,completePromise:i}}}function Rv(){const t=["fire","_processQueue","reject","isProcessing","callback","once","2163936KjHbye","489223faEYBg","3556377qEeduz","queue","abort","completePromise","enqueue","10ZXCNyg","_abortController","_queueEmpty","length","push","signal","shift","queueEmptyPromise","8NkhuoN","122410pTYNHu","49120silDsu","createTask","6UTEaSq","505576iNEOKT","resolve","82827KRPCVM"];return(Rv=function(){return t})()}function Nv(t,e){var n=Lv();return(Nv=function(t,e){return n[t-=136]})(t,e)}var Ov=Nv;function Lv(){var t=["render","warning","ck-ai-notification","level","element","911120VNFBLh","setContent","9298epNMGw","18aQcsxB","9676557GSurbH","4581996htJXWE","markAsDone","40ZWvnVd","initialContent","53410tqMDid","extendTemplate","ck-ai-notification_warning","options","innerHTML","128364xNhSvr","1009799WcbNUe","ck-ai-notification_error"];return(Lv=function(){return t})()}!function(t){for(var e=Nv,n=t();;)try{if(402693===parseInt(e(152))/1+-parseInt(e(137))/2+-parseInt(e(153))/3*(-parseInt(e(142))/4)+-parseInt(e(150))/5+parseInt(e(155))/6+-parseInt(e(143))/7*(-parseInt(e(157))/8)+-parseInt(e(154))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Lv);class Dv extends WI{constructor(t){var e=Nv;super(t),this[e(138)]({attributes:{class:[e(147),e(146)===t[e(148)]?e(139):e(144)]}})}[Ov(145)](){var t=Ov;super[t(145)](),this[t(151)](this[t(140)][t(136)]),this[t(156)]()}[Ov(151)](t){var e=Ov;this[e(149)][e(141)]=t}}const Pv=Mv;function Mv(t,e){const n=Vv();return(Mv=function(t,e){return n[t-=356]})(t,e)}function Vv(){const t=["986644fGfRDe","48QcCMNo","93WgiuKR","AI_CHAT_SUGGESTION_ACTION_APPLY","_switchButtonLabelsPlurality","applySuggestion","407YPGuak","isVisible","execute","7wmmrju","223452lpccco","AI_CHAT_SUGGESTION_ACTION_APPLY_ALL","ck-ai-chat__feed__ai-suggestion__actions","_insertSuggestionsButton","AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE","32328WaZGEI","label","add","fire","AI_CHAT_SUGGESTION_ACTION_SUGGEST","ck-ai-button-primary","_applyChangesButton","555312ABzVRl","children","updateVisibility","setTemplate","isTrackChangesOn","ck-hidden","insertSuggestion","AI_SUGGESTION_DISABLED_FEED_MESSAGE","locale","isEnabled","bindTemplate","804LYhyWk","div","285804aMnOWN","AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL","change:isTrackChangesOn","set","forEach","button","includes","ck-ai-button-secondary","740wdSqAF","ck-ai-chat__feed__suggestion__actions__info","addMany","145595UHiFPr","bind","createCollection"];return(Vv=function(){return t})()}!function(t){const e=Mv,n=t();for(;;)try{if(372958===parseInt(e(383))/1+-parseInt(e(397))/2+parseInt(e(399))/3*(-parseInt(e(381))/4)+-parseInt(e(394))/5*(-parseInt(e(398))/6)+parseInt(e(357))/7*(-parseInt(e(370))/8)+parseInt(e(363))/9*(-parseInt(e(391))/10)+parseInt(e(403))/11*(parseInt(e(358))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Vv);const Bv=[Pv(402),Pv(376)];class Hv extends a.View{[Pv(369)];[Pv(361)];[Pv(371)];constructor(t,e=[...Bv],n){const r=Pv;super(t);const s=this[r(380)],o=Boolean(n);if(this[r(386)](r(379),!o),this[r(386)](r(404),!1),this[r(386)](r(374),!1),this[r(371)]=this[r(396)](),o){const e=new a.ButtonView(t);e[r(386)]({label:Zl(t,r(362)),tooltip:!0,tooltipPosition:"n",withText:!1,icon:i.IconInfo});const n=new a.View(t);n[r(373)]({tag:r(382),attributes:{class:r(392)},children:[{tag:"p",children:[Zl(t,r(377)),e]}]}),this[r(371)][r(365)](n)}else this[r(369)]=new a.ButtonView(t),this[r(369)][r(386)]({label:Zl(t,r(359)),withText:!0,type:r(388),isVisible:e[r(389)](r(402)),class:r(368)}),this[r(361)]=new a.ButtonView(t),this[r(361)][r(386)]({label:Zl(t,r(384)),withText:!0,type:r(388),isVisible:e[r(389)](r(376)),class:r(390)}),this[r(361)].on(r(356),()=>{const t=r;this[t(366)](t(376))}),this[r(369)].on(r(356),()=>{const t=r;this[t(366)](t(402))}),[this[r(369)],this[r(361)]][r(387)](t=>{const e=r;t[e(395)](e(379)).to(this)}),this[r(371)][r(393)]([this[r(369)],this[r(361)]]);this[r(373)]({tag:r(382),attributes:{class:["ck",r(360),s.if(r(404),r(375),t=>!t)]},children:this[r(371)]}),this.on(r(385),()=>{const t=r;this[t(369)]&&(this[t(369)][t(404)]=!this[t(374)])})}[Pv(372)](t){this[Pv(404)]=t}[Pv(401)](t){const e=Pv;this[e(369)]&&this[e(361)]&&(t?(this[e(369)][e(364)]=Zl(this[e(378)],e(359)),this[e(361)][e(364)]=Zl(this[e(378)],e(384))):(this[e(369)][e(364)]=Zl(this[e(378)],e(400)),this[e(361)][e(364)]=Zl(this[e(378)],e(367))))}}const Uv='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M20 10.001c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10m-9.662 8.493a9 9 0 0 1-.676 0c-.838-1.316-1.492-2.931-1.877-4.743h4.43c-.385 1.812-1.039 3.427-1.877 4.743m1.815-.268c.671-1.327 1.184-2.84 1.497-4.475h3.98a8.52 8.52 0 0 1-5.477 4.475m6.046-5.975a8.5 8.5 0 0 0 .301-2.25 8.5 8.5 0 0 0-.301-2.25h-4.323a20.3 20.3 0 0 1 0 4.5zm-.569-6a8.52 8.52 0 0 0-5.477-4.475c.671 1.327 1.184 2.84 1.497 4.475zm-7.292-4.743c.838 1.316 1.492 2.93 1.877 4.743h-4.43c.385-1.812 1.039-3.427 1.877-4.743a9 9 0 0 1 .676 0m-2.49.268c-.672 1.327-1.185 2.84-1.498 4.475H2.37a8.52 8.52 0 0 1 5.477-4.475M1.8 7.751a8.5 8.5 0 0 0-.301 2.25c0 .779.105 1.533.301 2.25h4.323a20.3 20.3 0 0 1 0-4.5zm.569 6a8.52 8.52 0 0 0 5.477 4.475c-.671-1.327-1.184-2.84-1.497-4.475zm10.095-1.5h-4.93a18.5 18.5 0 0 1 0-4.5h4.93a18.5 18.5 0 0 1 0 4.5" clip-rule="evenodd"/></svg>';function qv(t,e){const n=Fv();return(qv=function(t,e){return n[t-=325]})(t,e)}function Fv(){const t=["element","ck-ai-web-source__tooltip-row","973833DuEwUo","div","bodyCollection","1340020rBMXYd","ck-ai-web-source__tooltip-image","show","_blank","pin","source","1009768KOXITx","11880IRoyjE","isVisible","addSource","favicon","children","extendTemplate","span","498710gFhTiA","AI_CHAT_SOURCES_HEADER","ck-ai-web-sources","_setupBalloonPanel","...","bindTemplate","balloonPanelView","ck-ai-web-source__tooltip-title","get","title","img","clear","21iIwvTI","_hideTooltip","_updateTooltipContent","63ASytbW","hide","defaultPositions","ck-ai-web-source__image","push","40WUJPwP","northArrowSouthWest","ck-ai-web-source__tooltip-balloon","1912232gUMbAU","ck-ai-web-sources__header","set","setTemplate","ck-hidden","open","ck-ai-web-source__tooltip-url","ck-ai-web-source__tooltip","ck ck-ai-web-source","url","_createTooltipContentView","length","querySelector","substring","content","826128uDiwAc","_showTooltip","add","icon","destroy","northArrowSouth","hostname","northArrowSouthEast","1MPnptM","4TcoXqx","locale","14872dpAZZU","createCollection",".ck-ai-chat"];return(Fv=function(){return t})()}const zv=qv;!function(t){const e=qv,n=t();for(;;)try{if(561422===-parseInt(e(392))/1*(parseInt(e(369))/2)+-parseInt(e(329))/3+parseInt(e(393))/4*(-parseInt(e(346))/5)+parseInt(e(384))/6*(parseInt(e(358))/7)+parseInt(e(338))/8*(parseInt(e(361))/9)+-parseInt(e(366))/10*(parseInt(e(332))/11)+parseInt(e(339))/12*(parseInt(e(395))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Fv);class Gv extends a.View{[zv(343)];[zv(352)];[zv(331)];constructor(t,e){const n=zv;super(t),this[n(331)]=e,this[n(343)]=this[n(325)](),this[n(371)](n(340),!1),this[n(372)]({tag:n(330),attributes:{class:["ck",n(348),this[n(351)].if(n(340),n(373),t=>!t)]},children:this[n(343)]});const i=new a.View(this[n(394)]),r=new a.IconView;r[n(383)]=Uv,i[n(372)]({tag:n(330),attributes:{class:["ck",n(370)]},children:[r,{tag:n(345),children:[{text:Zl(this[n(394)],n(347))}]}]}),this[n(343)][n(386)](i),this[n(349)](t)}[zv(341)](t){const e=zv;this[e(343)][e(386)](new jv(this[e(394)],t,this[e(352)]))}[zv(349)](t){const e=zv;this[e(352)]=new a.BalloonPanelView(t),this[e(352)][e(344)]({attributes:{class:[e(368)]}}),this[e(331)][e(386)](this[e(352)])}}class jv extends a.ButtonView{[zv(352)];[zv(337)];constructor(t,e,n){const i=zv;super(t),this[i(337)]=e,this[i(352)]=n,this[i(371)]({label:e[i(355)],class:[i(377)],withText:!0});const r=this[i(351)];if(this[i(344)]({on:{click:r.to(()=>{const t=i;window[t(374)](e[t(378)],t(335))}),mouseenter:r.to(()=>{this[i(385)]()}),mouseleave:r.to(()=>{this[i(359)]()})}}),e[i(342)]){const n=new a.View(t);n[i(372)]({tag:i(356),attributes:{src:e[i(342)]||Uv,alt:e[i(355)],class:[i(364)]}}),this[i(343)][i(386)](n)}else this[i(371)](i(387),Uv)}[zv(379)](t,e){const n=zv,i=new a.View(t),r=[];let s;e?.[n(342)]?(s=new a.View(t),s[n(372)]({tag:n(356),attributes:{src:e[n(342)],alt:e[n(355)],class:[n(333)]}})):(s=new a.IconView,s[n(383)]=Uv,s[n(344)]({attributes:{alt:e[n(355)],class:[n(333)]}})),r[n(365)](s);const o=new a.View(t);o[n(372)]({tag:"a",attributes:{class:[n(375)],href:e[n(378)]},children:[{text:new URL(e[n(378)])?.[n(390)]}]}),r[n(365)](o);const c=new a.View(t);c[n(372)]({tag:n(330),attributes:{class:[n(328)]},children:r});const l=new a.View(t);return l[n(372)]({tag:n(345),attributes:{class:[n(328),n(353)]},children:[{text:e[n(355)][n(380)]>400?e[n(355)][n(382)](0,400)+n(350):e[n(355)]}]}),i[n(372)]({tag:n(330),attributes:{class:["ck",n(376)]},children:[c,l]}),i}[zv(385)](){const t=zv;this[t(360)](),this[t(352)][t(336)]({target:this[t(327)],positions:[a.BalloonPanelView[t(363)][t(389)],a.BalloonPanelView[t(363)][t(367)],a.BalloonPanelView[t(363)][t(391)]],limiter:document[t(381)](t(326))}),this[t(352)][t(334)]()}[zv(359)](){const t=zv;this[t(352)][t(362)]()}[zv(360)](){const t=zv;this[t(352)][t(383)][t(354)](0)?.[t(388)](),this[t(352)][t(383)][t(357)]();const e=this[t(379)](this[t(394)],this[t(337)]);this[t(352)][t(383)][t(386)](e)}}const Wv=Kv;function Kv(t,e){const n=$v();return(Kv=function(t,e){return n[t-=314]})(t,e)}!function(t){const e=Kv,n=t();for(;;)try{if(328170===-parseInt(e(338))/1+-parseInt(e(362))/2+-parseInt(e(336))/3*(parseInt(e(377))/4)+parseInt(e(334))/5+-parseInt(e(347))/6*(-parseInt(e(348))/7)+-parseInt(e(316))/8+parseInt(e(360))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($v);class Yv extends a.View{[Wv(361)];[Wv(339)];[Wv(368)];[Wv(327)];[Wv(378)];[Wv(331)];[Wv(374)];[Wv(322)];[Wv(323)]=[];constructor(t,e){const n=Wv;super(t);const{areActionsDisabled:i,showUnchangedParts:r,availableActions:s}=e;this[n(327)]=i,this[n(378)]=r,this[n(322)]=s,this[n(373)](n(372),!1),this[n(373)](n(364),!1),this[n(368)]=this[n(332)](),this[n(331)]=new xv,this[n(374)]=new Dv({id:n(354),initialContent:Zl(t,n(340)),level:n(366)}),this[n(374)][n(356)]=!1,this[n(361)]=new Hv(t,e[n(381)],this[n(327)]),this[n(361)][n(369)](n(364)).to(this),this[n(339)]=new Gv(this[n(367)],e[n(343)]),e[n(359)]?this[n(361)][n(379)]=!1:this[n(361)][n(369)](n(379)).to(this,n(372)),this[n(361)][n(328)](..._I).to(this),this[n(330)]({tag:n(350),attributes:{class:["ck",n(353)]},children:[{tag:n(350),attributes:{class:["ck",n(370)]},children:this[n(368)]},this[n(374)],this[n(361)],this[n(339)]]})}get[Wv(337)](){const t=Wv;return this[t(368)][t(326)]}async[Wv(325)]({parts:t,renderingStrategy:e,abortSignal:n}){const i=Wv;this[i(368)][i(326)]?t[i(382)](t=>{const e=i,n=this[e(323)][e(383)](n=>n[e(333)]==t[e(333)]);-1===n?this[e(323)][e(315)](t):this[e(323)][n]=t}):this[i(323)]=t;const r=this[i(378)]?t:t[i(358)](t=>t[i(344)]);this[i(361)][i(365)](r[i(326)]>1);for(const t of r)this[i(331)][i(342)](async n=>{const r=i;let s=this[r(352)](t[r(333)]);s||(s=new Tv(this[r(367)],{part:t,uiIndex:this[r(368)][r(326)]+1,areActionsDisabled:this[r(327)],availableActions:this[r(322)]}),s[r(328)](..._I).to(this),this[r(368)][r(351)](s),this[r(372)]=!0),await s[r(329)]({part:t,renderingStrategy:e,showUnchangedParts:this[r(378)],abortSignal:n}),s[r(314)]()});return n?.[i(321)](i(357),()=>{const t=i;this[t(331)][t(357)]()}),this[i(331)][i(335)]}[Wv(318)](t,e){const n=Wv,i=this[n(352)](t);i&&(i[n(320)]=e),this[n(372)]=n(376)==e||Array[n(345)](this[n(368)])[n(324)](t=>n(376)==t[n(320)])}[Wv(319)](t,e){const n=Wv;if(!1===t)for(const t of this[n(368)])t[n(371)]=!1;else{const i=this[n(352)](t);i&&(i[n(371)]=e)}}[Wv(380)](t){const e=Wv;t[e(382)](t=>this[e(339)][e(317)](t)),this[e(339)][e(356)]=!0}[Wv(352)](t){const e=Wv;return this[e(368)][e(349)](n=>n[e(363)][e(333)]==t)??null}[Wv(314)](){const t=Wv;if(!this[t(378)]){const e=!this[t(323)][t(349)](({hasChanges:t})=>t),n=!!this[t(323)][t(349)](({hasChanges:t})=>!t);this[t(374)][t(356)]=0==this[t(368)][t(326)]||n,e?this[t(374)][t(346)](Zl(this[t(367)],t(375))):this[t(374)][t(346)](Zl(this[t(367)],t(340)))}this[t(368)][t(382)](e=>e[t(314)]()),this[t(361)][t(341)](this[t(355)])}get[Wv(355)](){const t=Wv;return this[t(368)][t(358)](e=>e[t(363)][t(344)])[t(326)]>0}}function $v(){const t=["14TbjMdD","find","div","add","getPartView","ck-ai-suggestion__body","empty-parts-warning","hasNonEmptyParts","isVisible","abort","filter","areActionsDisabled","526077SSymVg","_actionsView","536006aUavzP","partDefinition","isTrackChangesOn","_switchButtonLabelsPlurality","warning","locale","_children","bind","ck-ai-suggestion__body__content-parts","isActive","hasPendingParts","set","_emptyPartsWarningView","AI_SUGGESTION_NO_PARTS_WARNING","pending","159972CqgBCP","_showUnchangedParts","isEnabled","updateSources","availableActions","forEach","findIndex","markAsDone","push","2129104vEsopE","addSource","updatePartState","setPartActive","state","addEventListener","_availableActions","_cachedContentParts","some","updateContentParts","length","_areActionsDisabled","delegate","updateContent","setTemplate","_updateContentPartsPromiseQueue","createCollection","index","2148975wiIbKK","queueEmptyPromise","9RyJQwu","partsCount","57606zIwJaK","_sourcesView","AI_SUGGESTION_EMPTY_PART_WARNING","updateVisibility","enqueue","bodyCollection","hasChanges","from","setContent","1654944MDugYq"];return($v=function(){return t})()}var Qv=r(2665),Xv={attributes:{"data-cke":!0}};Xv.setAttributes=Et(),Xv.insert=yt().bind(null,"head"),Xv.domAPI=It(),Xv.insertStyleElement=Ct();bt()(Qv.A,Xv);Qv.A&&Qv.A.locals&&Qv.A.locals;const Jv=Zv;function Zv(t,e){const n=ty();return(Zv=function(t,e){return n[t-=210]})(t,e)}function ty(){const t=["updateContent","ck-rounded-corners","updateContentParts","46894166lTPsvd","setTemplate","updateSources","162PPPgNe","areChangesVisible","div","164WDoLDH","headerView","55818ocsZKA","5zJVSka","children","bind","hasNonEmptyParts","ck-ai-suggestion__container","isShowChangesToggleVisible","1366623gaZqqF","fire","49zkAIYE","toggleSuggestionDisplayMode","bodyView","147724qGUFkt","toggleShowChanges","10640390imFeeN","isOn","set","isTrackChangesOn","delegate","markAsDone","createCollection","659994dNIdeq","add","95048AbzviH"];return(ty=function(){return t})()}!function(t){const e=Zv,n=t();for(;;)try{if(825956===-parseInt(e(227))/1+-parseInt(e(218))/2*(parseInt(e(220))/3)+-parseInt(e(232))/4*(parseInt(e(221))/5)+parseInt(e(241))/6*(parseInt(e(229))/7)+-parseInt(e(243))/8*(parseInt(e(215))/9)+-parseInt(e(234))/10+parseInt(e(212))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ty);class ey extends a.View{[Jv(231)];[Jv(222)];[Jv(219)];constructor(t,e,n){const i=Jv;super(t);const{showDiff:r,areActionsDisabled:s,showUnchangedParts:o,availableActions:a}=e;this[i(236)](i(237),!1),this[i(236)](i(216),!1),this[i(222)]=this[i(240)](),this[i(219)]=new YI(t,{showDiff:r}),this[i(219)].on(i(233),(t,e)=>{const n=i;this[n(216)]=e[n(235)],this[n(228)](n(230),{showDiff:e[n(235)]})}),this[i(222)][i(242)](this[i(219)]),this[i(231)]=new Yv(t,{areActionsDisabled:s,showUnchangedParts:!!o,availableActions:a,bodyCollection:n}),this[i(231)][i(238)](..._I).to(this),this[i(231)][i(223)](i(237)).to(this),this[i(222)][i(242)](this[i(231)]),this[i(213)]({tag:i(217),attributes:{class:["ck",i(225),i(210)]},children:this[i(222)]})}async[Jv(244)](t){const e=Jv;await this[e(231)][e(211)](t)}[Jv(214)](t){const e=Jv;this[e(231)][e(214)](t)}[Jv(239)](){const t=Jv;this[t(231)][t(239)](),this[t(219)]&&(this[t(219)][t(226)]=this[t(231)][t(224)])}}var ny=iy;function iy(t,e){var n=sy();return(iy=function(t,e){return n[t-=414]})(t,e)}!function(t){for(var e=iy,n=t();;)try{if(914230===parseInt(e(423))/1+-parseInt(e(424))/2*(parseInt(e(441))/3)+parseInt(e(439))/4+-parseInt(e(429))/5*(-parseInt(e(425))/6)+parseInt(e(440))/7+parseInt(e(447))/8+-parseInt(e(437))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(sy);class ry extends WI{[ny(427)];constructor(t,e,n){var i=ny;super(e),this[i(433)](i(449),!1),this[i(427)]=new ey(t,{showDiff:e[i(420)],areActionsDisabled:e[i(443)],availableActions:e[i(428)]},n),this[i(427)].on(i(444),(t,e)=>{var n=i;this[n(416)](n(444),{replyId:this[n(445)].id,showDiff:e[n(420)]})}),this[i(427)][i(434)](i(449)).to(this),this[i(427)].on(i(438),()=>{var t=i;this[t(416)](t(438),{replyId:this[t(445)].id})}),this[i(427)].on(i(446),()=>{var t=i;this[t(416)](t(446),{replyId:this[t(445)].id})}),this[i(427)].on(i(451),(t,{index:e})=>{var n=i;this[n(416)](n(451),{replyId:this[n(445)].id,partIndex:e})}),this[i(427)].on(i(435),(t,{index:e}={})=>{var n=i;this[n(416)](n(435),{replyId:this[n(445)].id,partIndex:e})}),this[i(427)].on(i(415),(t,{index:e}={})=>{var n=i;this[n(416)](n(415),{replyId:this[n(445)].id,partIndex:e})}),this[i(427)].on(i(421),(t,{index:e})=>{var n=i;this[n(416)](n(421),{replyId:this[n(445)].id,partIndex:e})}),this[i(427)].on(i(436),(t,{index:e})=>{var n=i;this[n(416)](n(436),{replyId:this[n(445)].id,partIndex:e})}),this[i(427)].on(i(431),(t,{index:e})=>{var n=i;this[n(416)](n(431),{replyId:this[n(445)].id,partIndex:e})}),this[i(448)][i(422)]([this[i(427)]]),this[i(414)]({attributes:{class:[i(450)]}})}async[ny(417)](t){var e=ny;await this[e(427)][e(417)](t)}[ny(430)](t,e){var n=ny;this[n(427)][n(432)][n(430)](t,e)}[ny(426)](t,e){var n=ny;!1===t?this[n(427)][n(432)][n(426)](!1):this[n(427)][n(432)][n(426)](t,e)}[ny(418)](t){var e=ny;this[e(427)][e(418)](t)}[ny(419)](t){var e=ny;return this[e(427)][e(432)][e(419)](t)}[ny(442)](){var t=ny;super[t(442)](),this[t(427)][t(442)]()}}function sy(){var t=["updateContent","updateSources","getPartView","showDiff","rejectSuggestion","addMany","577100iwwafl","142904OqYOuI","6bdRfOI","setPartActive","containerView","availableActions","3723185WafNEy","updatePartState","mouseLeaveSuggestion","bodyView","set","bind","applySuggestion","mouseOverSuggestion","17331426AlEMpc","like","1793096NzvPyG","6654480yhHqvn","45RfdCkz","markAsDone","areActionsDisabled","toggleSuggestionDisplayMode","options","dislike","9528584NpZSDR","children","isTrackChangesOn","ck-ai-chat__feed__ai-suggestion","showChangeInText","extendTemplate","insertSuggestion","fire"];return(sy=function(){return t})()}const oy=ay;function ay(t,e){const n=cy();return(ay=function(t,e){return n[t-=141]})(t,e)}function cy(){const t=["streamIntoElement","innerHTML","locale","ck-ai-chat__feed__ai-reply-container","9381HDwqew","map","35PyqkRz","916xciKpH","228530JuTNqN","div","ck-reset_all-excluded","children","ck-ai-chat__feed__ai-reply","static","20234QKXcIz","510916nKlRlM","1847790yDMASG","render","747XPBDkP","extendTemplate","initialContent","markAsDone","4753024PNNrTI","options","updateContent","304230YyJHGA","_bodyCollection","balloonPanelView","updateSources","streaming","addMany","element","replyContainer","add","isVisible","setTemplate"];return(cy=function(){return t})()}!function(t){const e=ay,n=t();for(;;)try{if(548768===-parseInt(e(166))/1+-parseInt(e(168))/2+-parseInt(e(156))/3*(parseInt(e(159))/4)+parseInt(e(158))/5*(-parseInt(e(141))/6)+parseInt(e(167))/7+parseInt(e(174))/8+parseInt(e(170))/9*(parseInt(e(160))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(cy);class ly extends WI{[oy(148)];[oy(142)];constructor(t,e,n){const i=oy;super(e),this[i(142)]=n,this[i(154)]=t,this[i(171)]({attributes:{class:[i(164)]}}),this[i(148)]=new a.View,this[i(148)][i(151)]({tag:i(161),attributes:{class:["ck",i(162),i(155)]}}),this[i(163)][i(149)](this[i(148)])}async[oy(169)](){const t=oy;super[t(169)](),this[t(175)][t(172)]&&(await this[t(176)]({parsedContent:cd(this[t(175)][t(172)]),renderingStrategy:t(165)}),this[t(173)]())}async[oy(176)]({parsedContent:t,renderingStrategy:e,abortSignal:n}){const i=oy;i(145)===e?await this[i(152)](t,this[i(148)][i(147)],n):this[i(148)][i(147)][i(153)]=Gh(t)}[oy(144)](t){const e=oy,n=new Gv(this[e(154)],this[e(142)]);n[e(163)][e(146)](t[e(157)](t=>new jv(this[e(154)],t,n[e(143)]))),n[e(150)]=!0,this[e(163)][e(149)](n)}}const uy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M6.146 11.22a.75.75 0 0 1 1.061 0l3.677 3.678a.75.75 0 0 1-1.06 1.06l-2.397-2.396v5.689a.75.75 0 0 1-1.5 0v-5.69L3.53 15.959a.75.75 0 0 1-1.06-1.06z"/><path fill-rule="evenodd" d="M17.75 5.94v11.61a.95.95 0 0 1-.95.951h-6.3a.75.75 0 0 1 0-1.5h5.75v-10H11.7a.95.95 0 0 1-.95-.95V1.5h-6v8.66l-1.5 1.5V.95A.95.95 0 0 1 4.2 0h7.61zm-5.5-.439h2.94l-2.94-2.94z" clip-rule="evenodd"/></svg>',hy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M2.75 1.701a.95.95 0 0 1 .95-.95h7.61l5.94 5.94V18.3a.95.95 0 0 1-.95.95H3.7a.95.95 0 0 1-.95-.95zm1.5.55v15.5h11.5v-10H11.2a.95.95 0 0 1-.95-.95v-4.55zm7.5 1.06 2.94 2.94h-2.94z" clip-rule="evenodd"/></svg>',dy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.8.8 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.7.7 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294zm5.494-5.335a.8.8 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.8.8 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955m-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184"/></svg>';var py=r(2380),fy={attributes:{"data-cke":!0}};fy.setAttributes=Et(),fy.insert=yt().bind(null,"head"),fy.domAPI=It(),fy.insertStyleElement=Ct();bt()(py.A,fy);py.A&&py.A.locals&&py.A.locals;function gy(){const t=["7hSjixl","ck-ai-spinner_","ck-ai-spinner","711834ZnoxaY","14147487kHcsHp","span","extendTemplate","75EcIyls","3fEqHPz","560285EROICD","302468wIUnMu","7041848sNxOpQ","2695422NyzXUj","11322690uCLZUm"];return(gy=function(){return t})()}function my(t,e){const n=gy();return(my=function(t,e){return n[t-=200]})(t,e)}!function(t){const e=my,n=t();for(;;)try{if(907439===-parseInt(e(208))/1+parseInt(e(211))/2+-parseInt(e(207))/3*(-parseInt(e(209))/4)+parseInt(e(206))/5*(-parseInt(e(202))/6)+parseInt(e(213))/7*(-parseInt(e(210))/8)+parseInt(e(203))/9+parseInt(e(212))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gy);class ky extends a.SpinnerView{constructor(t=void 0){const e=my;super();const n=t?e(200)+t:"";this[e(205)]({tag:e(204),attributes:{class:[e(201),n]}})}}const _y=by;function by(t,e){const n=wy();return(by=function(t,e){return n[t-=439]})(t,e)}function wy(){const t=["_createLabelElement","execute","132667FHPClG","label","ck-ai-chat-context-chip__label","_createLoaderIcon","tooltip","_createRemoveButton","extendTemplate","160JnLVeB","animationend","_createTemplateChildren","disableAnimationOnEnter","ck-ai-chat-context-chip_new-chip","removeContextItemChip","2650752rZddZu","ck-hidden","5676cyGRBY","_setupTemplate","itemType","isLoading","small","div","set","_isAnimationOnEnterEnabled","webkitAnimationEnd","8tjyYSq","addEventListener","removeEventListener","fire","uiId","_handleAnimationEndOnce","add","locale","readonly","classList","document","_setupRemoveButtonEvent","slice","_createTemplateAttributes","ck-ai-chat-context-chip_document","AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT","6643NLiugI","lastIndexOf","selection","ck-ai-chat-context-controls__chip-tooltip","2665255jKVDDM","4UAdBxP","isVisible","5346504sCQiWo","bindTemplate","455337ZAMdQq","element","type","render","_createIconView","remove","ck-ai-chat-context-chip__type-icon","72NBiGoa","setTemplate","content","bind","ck-ai-chat-context-chip","ck-ai-chat-context-chip_wide","span","_initializeProperties","length","1134584bpzpTn"];return(wy=function(){return t})()}!function(t){const e=by,n=t();for(;;)try{if(461136===-parseInt(e(505))/1*(-parseInt(e(461))/2)+parseInt(e(450))/3+parseInt(e(482))/4*(-parseInt(e(481))/5)+-parseInt(e(452))/6*(parseInt(e(477))/7)+parseInt(e(484))/8+parseInt(e(486))/9*(-parseInt(e(444))/10)+-parseInt(e(502))/11*(-parseInt(e(493))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(wy);const Iy={file:uy,document:hy,"web-resource":dy,text:uy,selection:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M1.583.45a.95.95 0 0 0-.95.95v5.3h1.5V1.95h4.75V.45zm17.05.95a.95.95 0 0 0-.95-.95h-5.3v1.5h4.75V6.7h1.5zm0 16.1a.95.95 0 0 1-.95.95h-5.3v-1.5h4.75V12.2h1.5zm-18 0c0 .525.425.95.95.95h5.3v-1.5h-4.75V12.2h-1.5zm5-10.8a.75.75 0 1 0 0 1.5h8a.75.75 0 1 0 0-1.5zm0 4a.75.75 0 1 0 0 1.5h4a.75.75 0 1 0 0-1.5z"/></svg>',"mcp-tool-context":hy},vy=_y(497),yy=_y(498),Ay=_y(475),Ey=_y(439),Ty=_y(492),Cy=_y(480);class Sy extends a.ButtonView{constructor(t,e,n,i,r=!1){const s=_y;super(t),this[s(459)]=i,this[s(500)](e,n,r),this[s(453)]()}[_y(489)](){const t=_y;super[t(489)](),this[t(459)]&&this[t(487)]&&(this[t(487)][t(470)][t(467)](t(448)),this[t(466)](this[t(487)],()=>{const e=t;this[e(487)]&&this[e(487)][e(470)][e(491)](e(448))}))}[_y(447)](){const t=_y;this[t(459)]=!1,this[t(487)]&&this[t(487)][t(470)][t(491)](t(448))}[_y(500)](t,e,n){const i=_y;this[i(458)](i(506),t[i(506)]),this[i(458)](i(441),!0),this[i(458)](i(454),t[i(488)]),this[i(458)]("id",t[i(465)]),this[i(458)](i(469),e),this[i(458)](i(455),n)}[_y(453)](){const t=_y,e=this[t(490)](),n=this[t(442)](),i=this[t(485)];this[t(494)]({tag:t(457),attributes:this[t(474)](i),children:this[t(446)](e,n,i)})}[_y(474)](t){const e=_y;return{class:[vy,t.if(e(454),Ay,t=>e(471)==t),t.if(e(454),yy,t=>e(479)==t)],"data-cke-tooltip-text":t.to(e(506),xy),"data-cke-tooltip-position":"n","data-cke-tooltip-class":Cy}}[_y(446)](t,e,n){const i=_y,r=this[i(503)](n),s=this[i(440)]();return this[i(469)]?[t,r]:[t,s,r,e]}[_y(503)](t){const e=_y;return{tag:e(499),attributes:{class:Ey},children:[{text:t.to(e(506))}]}}[_y(442)](){const t=_y,e=new a.ButtonView(this[t(468)]);return e[t(458)]({label:Zl(this[t(468)],t(476)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m11.538 9.44 6.362 6.362a1.503 1.503 0 1 1-2.125 2.125L9.418 11.56l-6.365 6.365A1.5 1.5 0 1 1 .93 15.803L7.295 9.44.93 3.075A1.5 1.5 0 0 1 3.052.955L9.416 7.32 15.78.955a1.5 1.5 0 0 1 2.123 2.12z"/></svg>'}),this[t(472)](e),e}[_y(472)](t){const e=_y;t.on(e(504),()=>{const t=e;this[t(464)](t(449),this.id)})}[_y(490)](){const t=_y,e=this[t(485)],n=new a.IconView;return n[t(495)]=Iy[this[t(454)]],n[t(443)]({attributes:{class:[Ty,e.if(t(455),t(451),t=>t)]}}),n}[_y(466)](t,e){const n=_y;if(!t)return;const i=()=>{const n=by;e(),t[n(463)](n(445),i),t[n(463)](n(460),i)};t[n(462)](n(445),i),t[n(462)](n(460),i)}[_y(440)](){const t=_y,e=new ky(t(456));return e[t(496)](t(483)).to(this,t(455),t=>t),e}}function xy(t){const e=_y;if(!t)return t;if(t[e(501)]<=120)return t;const n=t[e(473)](0,120),i=n[e(478)](" ");return(i>0?n[e(473)](0,i):n)+"…"}const Ry=Ny;function Ny(t,e){const n=Py();return(Ny=function(t,e){return n[t-=107]})(t,e)}!function(t){const e=Ny,n=t();for(;;)try{if(321815===-parseInt(e(167))/1+parseInt(e(157))/2*(parseInt(e(246))/3)+parseInt(e(114))/4*(-parseInt(e(244))/5)+parseInt(e(217))/6+-parseInt(e(218))/7*(parseInt(e(237))/8)+-parseInt(e(190))/9+parseInt(e(216))/10*(parseInt(e(156))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Py);const Oy={maxVisibleRows:2,rowDetectionTolerance:5,showMoreLabelPrefix:"+ ",viewportOffset:{top:100,bottom:10}},Ly=Ry(211);class Dy{[Ry(253)];[Ry(176)];[Ry(249)];[Ry(183)];[Ry(247)]=null;[Ry(107)]=null;[Ry(128)]=null;[Ry(241)];[Ry(239)]=null;[Ry(206)]=null;[Ry(145)]=!1;constructor(t,e,n,i,r){const s=Ry;this[s(253)]=t,this[s(249)]=e,this[s(176)]={...Oy,...n,cssClasses:{controlsButton:"",calculationContainer:s(236),...n[s(198)]}},this[s(183)]=new o.Collection,this[s(241)]=i,this[s(239)]=r||null}[Ry(231)](t){const e=Ry;this[e(206)]&&(this[e(206)][e(207)](),this[e(206)]=null),this[e(128)]=t,this[e(195)]()}get[Ry(238)](){return this[Ry(247)]}get[Ry(153)](){return this[Ry(183)]}[Ry(165)](){requestAnimationFrame(()=>{this[Ny(144)]()})}[Ry(162)](){const t=Ry;this[t(247)]&&this[t(107)]&&(this[t(248)](),this[t(247)][t(213)]=!0,this[t(107)][t(146)](),this[t(107)][t(199)]({target:this[t(247)][t(215)],limiter:document[t(116)](t(173))}))}[Ry(134)](){const t=Ry;this[t(247)]&&this[t(107)]&&(this[t(247)][t(213)]=!1,this[t(107)][t(118)]())}[Ry(155)](){const t=Ry;this[t(183)][t(155)](),this[t(134)](),this[t(168)](),this[t(247)]&&(this[t(247)][t(111)]=""),this[t(107)]&&this[t(107)][t(185)][t(155)]()}[Ry(150)](){const t=Ry;this[t(206)]&&(this[t(206)][t(207)](),this[t(206)]=null),this[t(247)]&&(this[t(247)][t(150)](),this[t(247)]=null),this[t(107)]&&(this[t(107)][t(150)](),this[t(107)]=null)}[Ry(144)](){const t=Ry;if(!this[t(128)])return;if(!this[t(149)]())return void(this[t(145)]=!0);this[t(145)]=!1;const e=[...this[t(249)],...this[t(183)]],n=this[t(187)](),i=this[t(205)](n,e),r=n[t(160)];r&&this[t(175)](r),n[t(115)](),this[t(252)](e,i)}[Ry(230)](){const t=Ry;this[t(247)]=this[t(210)](),this[t(107)]=this[t(212)](),this[t(247)][t(222)](),this[t(128)][t(189)](this[t(247)][t(215)]),this[t(247)].on(t(235),()=>{this[t(203)]()}),(0,a.clickOutsideHandler)({emitter:this[t(107)],contextElements:[this[t(107)][t(215)],this[t(247)][t(215)]],callback:()=>this[t(134)](),activator:()=>this[t(247)][t(213)]})}[Ry(210)](){const t=Ry,e=new a.ButtonView(this[t(253)]);e[t(196)]({label:"",withText:!0,isToggleable:!0});const n=[this[t(176)][t(198)][t(124)]];return this[t(176)][t(198)][t(138)]&&n[t(193)](this[t(176)][t(198)][t(138)]),e[t(154)]({attributes:{class:n}}),e}[Ry(212)](){const t=Ry,e=new a.BalloonPanelView(this[t(253)]);return e[t(154)]({attributes:{class:this[t(176)][t(198)][t(171)]}}),this[t(241)][t(208)](e),e}[Ry(248)](){const t=Ry;if(this[t(107)]&&(this[t(107)][t(185)][t(155)](),this[t(183)][t(178)]>0)){this[t(183)][t(161)](e=>{e[t(233)]()});const e=new a.View(this[t(253)]);e[t(245)]({tag:t(232),attributes:{class:this[t(176)][t(198)][t(166)]},children:this[t(183)]}),this[t(107)][t(185)][t(208)](e)}}[Ry(203)](){const t=Ry;this[t(247)][t(213)]?this[t(134)]():this[t(162)]()}[Ry(168)](){const t=Ry,e=this[t(183)][t(178)]>0;this[t(247)]?.[t(215)]&&(this[t(247)][t(215)][t(220)][t(194)]=e?"":t(192))}[Ry(148)](){const t=Ry;this[t(247)]?.[t(213)]&&this[t(107)]?.[t(202)]&&this[t(247)][t(215)]&&this[t(107)][t(199)]({target:this[t(247)][t(215)],limiter:document[t(116)](t(173))})}[Ry(229)](t){const e=Ry,n=this[e(128)]?.[e(170)][e(151)]()||e(232),i=this[e(128)]?.[e(174)];if(i){const r=i[0]||"",s=t[e(116)]("."+r),o=t[e(116)](n);return s||o||t}return t[e(116)](n)||t}[Ry(169)](){const t=Ry,e=this[t(239)]?.[t(215)]||this[t(128)];if(!e)return Ly;const n=window[t(158)](e)[t(191)];if(t(147)===n||t(251)===n||!n){const n=e[t(197)];if(n){const e=window[t(158)](n);return t(147)!==e[t(191)]?e[t(191)]:Ly}return Ly}return n}[Ry(125)](t,e){const n=Ry;this[n(176)][n(198)][n(119)]&&t[n(174)][n(208)](this[n(176)][n(198)][n(119)]),t[n(220)][n(191)]=e,t[n(220)][n(223)]=n(226),t[n(220)][n(123)]=n(224),t[n(220)][n(108)]=n(224),t[n(220)][n(139)]="0",t[n(220)][n(172)]=n(192),t[n(220)][n(242)]="-1",t[n(220)][n(131)]=n(133),t[n(220)][n(194)]=n(184),t[n(220)][n(143)]=n(117)}[Ry(175)](t){const e=Ry;t[e(161)](({element:t,originalDisplay:n,originalVisibility:i})=>{const r=e;t[r(220)][r(194)]=n,t[r(220)][r(131)]=i})}[Ry(243)](t){const e=Ry,n=[];let i=t;for(;i&&i!==document[e(132)];){const t=window[e(158)](i);e(192)!==t[e(194)]&&e(221)!==t[e(131)]||(n[e(193)]({element:i,originalDisplay:i[e(220)][e(194)],originalVisibility:i[e(220)][e(131)]}),i[e(220)][e(194)]=e(110),i[e(220)][e(131)]=e(112)),i=i[e(197)]}return n}[Ry(234)](){const t=Ry;let e,n;return this[t(239)]?.[t(215)]?(e=this[t(239)][t(215)][t(152)](!0),n=this[t(229)](e)):(e=document[t(130)](t(232)),n=e),{calculationContainer:e,targetContainer:n}}[Ry(187)](){const t=Ry,{calculationContainer:e,targetContainer:n}=this[t(234)](),i=this[t(169)]();this[t(125)](e,i);const r=this[t(239)]?.[t(215)]||this[t(128)],s=r?.[t(197)];s?s[t(189)](e):document[t(132)][t(189)](e),e[t(120)]=n;const o=this[t(243)](s||null);return e[t(113)],e[t(160)]=o,e}[Ry(205)](t,e){const n=Ry,i=t[n(120)]||t,r=[],{rowCount:s}=this[n(163)](i,e);if(s<=this[n(176)][n(121)])return r;const o=e[n(219)]();for(;o[n(178)]>0;){if(this[n(240)](t,i,o)){const t=e[n(126)](t=>!o[n(214)](t));r[n(193)](...t);break}if(!o[n(137)]())break}return r}[Ry(163)](t,e){const n=Ry;t[n(227)]="",e[n(161)](e=>{const i=n;if(e[i(215)]){const n=e[i(215)][i(152)](!0);t[i(189)](n)}}),t[n(113)];const i=t[n(254)],r=[];return Array[n(122)](i)[n(161)](t=>{const e=n,i=t[e(127)]()[e(123)];r[e(142)](t=>Math[e(164)](t-i)<this[e(176)][e(109)])||r[e(193)](i)}),{rowCount:r[n(178)]}}[Ry(159)](){const t=Ry,e=document[t(130)](t(225));return e[t(255)]=this[t(176)][t(198)][t(124)],this[t(176)][t(198)][t(138)]&&e[t(174)][t(208)](this[t(176)][t(198)][t(138)]),e[t(228)]=t(180),e}[Ry(240)](t,e,n){const i=Ry;this[i(163)](e,n);const r=this[i(159)]();t[i(189)](r),t[i(113)];const s=[...e[i(254)],r],o=[];s[i(161)](t=>{const e=i,n=t[e(127)]()[e(123)];o[e(142)](t=>Math[e(164)](t-n)<this[e(176)][e(109)])||o[e(193)](n)});const a=o[i(178)];return r[i(115)](),a<=this[i(176)][i(121)]}[Ry(200)](t,e){const n=Ry;this[n(249)][n(155)](),this[n(183)][n(155)](),t[n(161)](t=>{const i=n;e[i(214)](t)?this[i(183)][i(208)](t):this[i(249)][i(208)](t)})}[Ry(141)](t){const e=Ry;if(t>0&&!this[e(247)]&&this[e(230)](),t>0&&this[e(247)]){const n=""+this[e(176)][e(129)]+(t<99?t:"99");this[e(247)][e(111)]=n}this[e(248)](),this[e(168)](),this[e(148)]()}[Ry(252)](t,e){const n=Ry;this[n(200)](t,e),this[n(141)](e[n(178)])}[Ry(195)](){const t=Ry;this[t(128)]&&t(179)!=typeof IntersectionObserver&&(this[t(206)]=new IntersectionObserver(e=>{const n=t;e[0][n(140)]&&this[n(145)]&&requestAnimationFrame(()=>{this[n(144)]()})},{threshold:.01,rootMargin:t(201)}),this[t(206)][t(250)](this[t(128)]))}[Ry(149)](){const t=Ry;if(!this[t(128)])return!1;if(!this[t(128)][t(186)])return!1;const e=this[t(128)][t(127)]();if(0===e[t(191)]||0===e[t(136)])return!1;const n=window[t(188)]||document[t(204)][t(182)],i=window[t(177)]||document[t(204)][t(181)];return e[t(135)]>=-200&&e[t(123)]<=n+200&&e[t(209)]>=-200&&e[t(108)]<=i+200}}function Py(){const t=["abs","reorganizeChips","overflowContainer","532113PNvwHT","_updateShowMoreButtonVisibility","_calculateContainerWidth","tagName","showMoreBalloon","pointerEvents",".ck-ai-chat","classList","_restoreAncestorVisibility","_config","innerWidth","length","undefined","+ 1","clientWidth","clientHeight","_overflowChips","block !important","content","isConnected","_createCalculationContainer","innerHeight","appendChild","4066560iviQUQ","width","none","push","display","_setupVisibilityObserver","set","parentElement","cssClasses","pin","_distributeChips","50px","isVisible","_handleShowMoreButtonClick","documentElement","_calculateOverflowInContainer","_intersectionObserver","disconnect","add","right","_createShowMoreButtonView","300px","_createShowMoreBalloonPanelView","isOn","includes","element","30AjfoJz","1674450vFMgxx","76419TtsUUc","slice","style","hidden","render","position","-9999px","button","absolute","innerHTML","textContent","_findTargetContainer","_createShowMoreButton","setContainerElement","div","disableAnimationOnEnter","_createContainerElements","execute","ck-calculation-container","392ygEuHX","showMoreButtonView","_parentView","_testButtonFit","_bodyCollection","zIndex","_makeAncestorsVisible","589845PwTbPH","setTemplate","1668YPUvlc","_showMoreButtonView","_updateBalloonContent","_visibleChips","observe","0px","_applyOverflowResults","_locale","children","className","_showMoreBalloonPanelView","left","rowDetectionTolerance","block","label","visible","offsetWidth","4ijBGMN","remove","querySelector","border-box","hide","calculationContainer","_targetContainer","maxVisibleRows","from","top","showMoreButton","_applyCalculationStyles","filter","getBoundingClientRect","_containerElement","showMoreLabelPrefix","createElement","visibility","body","visible !important","hideBalloonPanel","bottom","height","pop","controlsButton","opacity","isIntersecting","_updateOverflowUI","some","boxSizing","_checkAndHandleOverflow","_pendingCalculation","show","auto","_repinBalloonPanel","_isContainerVisible","destroy","toLowerCase","cloneNode","overflowChips","extendTemplate","clear","4709023RTQuYJ","1422LpxBkC","getComputedStyle","_createMockButton","_ancestorsToRestore","forEach","showBalloonPanel","_renderChipsAndCountRows"];return(Py=function(){return t})()}const My=Vy;function Vy(t,e){const n=By();return(Vy=function(t,e){return n[t-=245]})(t,e)}function By(){const t=["327490mmLNbC","1235526fEFFsv","ck-ai-chat-context-chips-wrapper","_contextChips","3GEHQhC","_bodyCollection","ck-ai-chat-controls-button","ck-ai-chat-controls_context_show-more-button","63862IRbLyU","3159TbxEdJ","setContainerElement","24gJTUYW","locale","div","7VBrtWk","render","508WFQBYP","ck-ai-chat-context-controls__show-more-balloon-panel","27imLiTd","_overflowManager","970750ISSIzD","771683npQnUM","ck-ai-chat-context-chips-wrapper-balloon","ck-reset_all","_createContextChips","destroy","createCollection","setTemplate","add","element","querySelector","reorganizeChips","ck-ai-chat__feed__context-chips","2210200hgUwGL"];return(By=function(){return t})()}!function(t){const e=Vy,n=t();for(;;)try{if(203793===parseInt(e(257))/1*(-parseInt(e(261))/2)+parseInt(e(262))/3*(parseInt(e(269))/4)+parseInt(e(273))/5+-parseInt(e(254))/6*(-parseInt(e(267))/7)+-parseInt(e(252))/8+parseInt(e(271))/9*(-parseInt(e(253))/10)+-parseInt(e(274))/11*(-parseInt(e(264))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(By);const Hy=My(251),Uy=My(255),qy=My(275),Fy=My(259),zy=My(260),Gy=My(270);class jy extends a.View{[My(256)]=this[My(245)]();[My(272)];[My(258)];constructor(t,e,n){const i=My;super(t),this[i(258)]=n,this[i(277)](e);const r={cssClasses:{showMoreButton:zy,showMoreBalloon:Gy,overflowContainer:qy,controlsButton:Fy}};this[i(272)]=new Dy(t,this[i(256)],r,this[i(258)],this),this[i(246)]({tag:i(266),attributes:{class:[Hy,"ck",i(276)]},children:[{tag:i(266),attributes:{class:Uy},children:this[i(256)]}]})}[My(268)](){const t=My;super[t(268)]();const e=this[t(248)][t(249)]("."+Uy);e&&(this[t(272)][t(263)](e),this[t(272)][t(250)]())}[My(278)](){const t=My;super[t(278)](),this[t(272)][t(278)]()}[My(277)](t){const e=My;for(const n of t){const t=new Sy(this[e(265)],n,!0,!1);this[e(256)][e(247)](t)}}}var Wy=Ky;function Ky(t,e){var n=Yy();return(Ky=function(t,e){return n[t-=365]})(t,e)}function Yy(){var t=["ck-ai-chat__feed__context-chips","hidden","ck-ai-chat__feed__message-content","div","_messageContentView","ck-ai-chat__feed__user-message","extendTemplate","8rwQrSy","_createMessageContentView","element","length","6WiJUpf","render","children","innerHTML","45EYVCGf","_bodyCollection","2358398gZfEfR","1634442FvUkrD","139630RAbtpI","filter","_contextChipsView","initialContent","21140412FWTeXN","markAsDone","1168175QaxoJU","_createContextChipsView","121cfXhnd","setTemplate","options","8KBMeBH","contextItems","3904200ybFKtI","_locale","15686vLNwIL","add"];return(Yy=function(){return t})()}!function(t){for(var e=Ky,n=t();;)try{if(641522===parseInt(e(379))/1*(parseInt(e(398))/2)+-parseInt(e(382))/3*(parseInt(e(394))/4)+-parseInt(e(389))/5*(-parseInt(e(375))/6)+-parseInt(e(381))/7*(parseInt(e(371))/8)+-parseInt(e(396))/9+parseInt(e(383))/10*(parseInt(e(391))/11)+parseInt(e(387))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yy);class $y extends WI{[Wy(385)]=null;[Wy(397)];[Wy(380)];[Wy(368)];constructor(t,e,n){var i=Wy;super(e),this[i(397)]=t,this[i(380)]=n,this[i(390)](),this[i(372)](),this[i(370)]({attributes:{class:[i(369)]}})}[Wy(390)](){var t=Wy;this[t(393)][t(395)]&&this[t(393)][t(395)][t(374)]>0&&(this[t(385)]=new jy(this[t(397)],this[t(393)][t(395)][t(384)](e=>!e[t(365)]),this[t(380)]),this[t(385)][t(370)]({attributes:{class:t(400)}}),this[t(377)][t(399)](this[t(385)]))}[Wy(372)](){var t=Wy;this[t(368)]=new a.View(this[t(397)]),this[t(368)][t(392)]({tag:t(367),attributes:{class:t(366)}}),this[t(377)][t(399)](this[t(368)])}[Wy(376)](){var t=Wy;super[t(376)](),this[t(368)][t(373)][t(378)]=this[t(393)][t(386)],this[t(388)]()}}const Qy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11.91 18.255a.747.747 0 0 1 .663.746.747.747 0 0 1-.664.746l-.075.004H8.382a.745.745 0 0 1-.74-.75c0-.414.331-.75.74-.75h3.452z"/><path fill-rule="evenodd" d="M10.104 3.752c.807 0 1.59.193 2.415.548l.404.185c.913.452 1.62 1.026 2.129 1.77.578.848.852 1.85.95 2.991l.014.258c.031 1.26-.537 2.059-1.096 2.722-.562.665-1.05 1.151-1.322 1.935l-.053.161c-.204.698-.397 1.704-.504 2.314a1.34 1.34 0 0 1-1.308 1.114H8.476c-.65 0-1.196-.476-1.308-1.114a31 31 0 0 0-.354-1.743l-.15-.57c-.258-.882-.776-1.387-1.375-2.097-.596-.707-1.203-1.57-1.082-2.98l.045-.422c.126-.968.4-1.827.906-2.568.58-.851 1.422-1.478 2.533-1.956l.307-.126c.713-.274 1.401-.422 2.106-.422m0 1.5c-.492 0-1.001.102-1.582.325l-.254.104c-.927.398-1.513.87-1.894 1.43-.337.492-.551 1.106-.656 1.909l-.038.356c-.07.806.224 1.272.732 1.874.506.599 1.299 1.384 1.67 2.645l.084.307c.181.688.338 1.508.435 2.048h3.007c.112-.624.304-1.619.52-2.355l.075-.232c.394-1.127 1.12-1.852 1.594-2.413.476-.565.764-1.01.74-1.727l-.008-.147c-.084-.981-.308-1.702-.693-2.266-.334-.49-.824-.912-1.563-1.277l-.332-.152c-.688-.296-1.274-.43-1.837-.43" clip-rule="evenodd"/><path d="M3.597 13.637a.73.73 0 0 1 1.045 0 .76.76 0 0 1 0 1.06l-1.05 1.064-.056.052a.73.73 0 0 1-.99-.052.76.76 0 0 1-.05-1.004l.05-.057zm11.761 0a.73.73 0 0 1 1.045 0l1.05 1.063.05.057c.237.294.22.73-.05 1.004a.73.73 0 0 1-.99.052l-.055-.052-1.05-1.064a.76.76 0 0 1 0-1.06M2.472 8.257c.409 0 .74.336.74.75s-.331.75-.74.75L.99 9.756l-.075-.004a.746.746 0 0 1-.664-.746c0-.388.291-.708.664-.746l.075-.004zm16.614.003a.747.747 0 0 1 .664.746.746.746 0 0 1-.664.746l-.075.004h-1.483a.745.745 0 0 1-.74-.75c0-.413.331-.75.74-.75h1.483zM3.334 2.581c.27-.274.7-.29.99-.05l.055.05 1.048 1.065a.76.76 0 0 1 0 1.061.73.73 0 0 1-1.045 0L3.334 3.642l-.05-.057a.76.76 0 0 1 .05-1.004m12.343-.051a.73.73 0 0 1 .989.051.76.76 0 0 1 .05 1.004l-.05.057-1.048 1.065a.73.73 0 0 1-1.046 0 .76.76 0 0 1 0-1.06l1.049-1.066zM10.007.251c.383 0 .698.296.736.674l.003.076.001 1.505c0 .414-.33.75-.738.75a.745.745 0 0 1-.74-.75L9.268 1l.004-.076a.745.745 0 0 1 .735-.674"/></svg>',Xy=Jy;function Jy(t,e){const n=eA();return(Jy=function(t,e){return n[t-=450]})(t,e)}!function(t){const e=Jy,n=t();for(;;)try{if(778425===parseInt(e(464))/1*(-parseInt(e(450))/2)+parseInt(e(472))/3*(parseInt(e(471))/4)+parseInt(e(456))/5*(-parseInt(e(451))/6)+parseInt(e(457))/7*(parseInt(e(468))/8)+-parseInt(e(469))/9+-parseInt(e(461))/10+-parseInt(e(459))/11*(-parseInt(e(473))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(eA);class Zy extends WI{[Xy(465)];constructor(t,e){const n=Xy;super(e);const{isWebSearchEnabled:i,isReasoningEnabled:r}=e[n(465)],s=[];let o="";i&&r?(o=Zl(t,n(477)),s[n(462)](tA(Uv)),s[n(462)](tA(Qy))):i?(o=Zl(t,n(467)),s[n(462)](tA(Uv))):r&&(o=Zl(t,n(470)),s[n(462)](tA(Qy))),this[n(463)]({attributes:{class:[n(454),o?"":n(460)]}});const c=new a.View;c[n(452)]({tag:n(453),attributes:{class:["ck",n(455)]},children:[...s,{tag:n(466),attributes:{class:[n(458)]},children:[o]}]}),this[n(474)][n(476)](c),this[n(465)]=e[n(465)]}}function tA(t){const e=Xy,n=new a.IconView;return n[e(475)]=t,n}function eA(){const t=["80wRETeL","1197144UEFKBP","AI_CHAT_FEED_REPLY_ITEM_USED_REASONING","176WKoiYy","41316xRbfmS","24RfIgWI","children","content","add","AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING","4xIlRCn","4044ZGmzqC","setTemplate","div","ck-ai-chat__feed__interaction-header","ck-ai-chat__feed__interaction-header__capabilities","6905qEtjCV","776909FhRaRx","ck-ai-chat__feed__interaction-header__capabilities__text","12745403ilFdWm","ck-hidden","12804410agtFsV","push","extendTemplate","455254nMNIfm","capabilities","span","AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH"];return(eA=function(){return t})()}const nA=iA;function iA(t,e){const n=aA();return(iA=function(t,e){return n[t-=325]})(t,e)}!function(t){const e=iA,n=t();for(;;)try{if(182565===parseInt(e(365))/1*(parseInt(e(338))/2)+parseInt(e(340))/3*(parseInt(e(339))/4)+parseInt(e(358))/5+parseInt(e(370))/6*(parseInt(e(348))/7)+-parseInt(e(351))/8*(-parseInt(e(330))/9)+parseInt(e(367))/10*(parseInt(e(329))/11)+parseInt(e(362))/12*(-parseInt(e(366))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(aA);const rA=[nA(331),nA(364),nA(359),nA(332)],sA=[nA(344),nA(354),nA(327),nA(361),nA(335),nA(343)," "];class oA{[nA(328)];[nA(336)];[nA(346)];[nA(342)];[nA(356)];constructor(t){const e=nA;this[e(328)]=t,this[e(336)]=null,this[e(346)]=!1,this[e(342)]=new AbortController,this[e(356)]=!1;for(const t of rA){const n=e(332)!==t;this[e(328)][e(326)](t,this[e(357)][e(333)](this),{passive:n,signal:this[e(342)][e(360)]})}}[nA(341)](){const t=nA;this[t(346)]||(this[t(346)]=!0,this[t(356)]=!1,this[t(336)]=requestAnimationFrame(this[t(334)][t(333)](this)))}[nA(325)](){requestAnimationFrame(()=>{this[iA(345)]()})}[nA(352)](){const t=nA;this[t(345)](),this[t(342)][t(350)]()}[nA(345)](){const t=nA;null!==this[t(336)]&&(cancelAnimationFrame(this[t(336)]),this[t(336)]=null),this[t(346)]&&(this[t(346)]=!1),this[t(356)]=!1}[nA(357)](t){const e=nA;if(this[e(346)]){if(e(332)===t[e(349)]){const n=t[e(347)];if(!sA[e(368)](n))return}t instanceof WheelEvent?t[e(355)]<0?this[e(356)]=!0:this[e(356)]=!this[e(337)]():this[e(356)]=!0}}[nA(337)](){const t=nA,{scrollTop:e,scrollHeight:n,clientHeight:i}=this[t(328)];return n-e-i<=5}[nA(334)](){const t=nA;this[t(346)]&&(this[t(356)]||this[t(328)][t(353)]({top:this[t(328)][t(369)],behavior:t(363)}),this[t(336)]=requestAnimationFrame(this[t(334)][t(333)](this)))}}function aA(){const t=["_onUserEvent","515945VDJJmj","pointerdown","signal","PageDown","3084BkTgAu","auto","touchstart","33DWlEcJ","62283iMKWWa","396080HnLdbI","includes","scrollHeight","767310WfEAuB","stop","addEventListener","PageUp","element","77jxUQqe","700767lVhtnZ","wheel","keydown","bind","_rafUpdate","Home","animationFrameId","_isAtBottom","20108pWCJHQ","28LSAIhG","124341Msqgqy","start","abortController","End","ArrowUp","_stop","isRunning","key","14QkXQxU","type","abort","16cRPdMz","destroy","scrollTo","ArrowDown","deltaY","isUserPaused"];return(aA=function(){return t})()}var cA=r(5250),lA={attributes:{"data-cke":!0}};lA.setAttributes=Et(),lA.insert=yt().bind(null,"head"),lA.domAPI=It(),lA.insertStyleElement=Ct();bt()(cA.A,lA);cA.A&&cA.A.locals&&cA.A.locals;function uA(){const t=["attributes","align","ck-ai-skeleton__item","right","tag","setTemplate","height","margin-left: 0; margin-right: auto; text-align: left;","140px","width: ","fill","1178520VAGKGQ","100%","; height: ","24px","594313eAxmsH","div","13923cvBomg","_createSkeletonItems","1713387jIlQcF","left","944zKurqg","128px","72px","ck-ai-skeleton","margin-left: auto; margin-right: 0; text-align: right;","center","width","map","class","margin-left: auto; margin-right: auto; text-align: center;","250px","150px","1555440avcgrt","95TSlOYn","117788ZkZRDM","44px","88px","40px","2878281zcoZhO"];return(uA=function(){return t})()}const hA=dA;function dA(t,e){const n=uA();return(dA=function(t,e){return n[t-=462]})(t,e)}!function(t){const e=dA,n=t();for(;;)try{if(569080===-parseInt(e(473))/1+parseInt(e(491))/2+-parseInt(e(477))/3+parseInt(e(493))/4*(parseInt(e(492))/5)+-parseInt(e(469))/6+parseInt(e(497))/7+parseInt(e(479))/8*(parseInt(e(475))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(uA);class pA extends a.View{constructor(t,e){const n=dA;super(t),this[n(463)]({tag:n(474),attributes:{class:["ck",n(482)]},children:this[n(476)](e)})}[hA(476)](t){const e=hA,n=["ck",e(500)];return t[e(486)](t=>{const i=e;let r="";switch(t[i(498)][i(499)]){case i(501):r=i(483);break;case i(484):r=i(488);break;case i(478):r=i(465)}return{tag:t[i(462)],attributes:{class:[...n,t[i(498)][i(487)]?t[i(498)][i(487)]:""],style:i(467)+t[i(498)][i(485)]+i(471)+t[i(498)][i(464)]+";"+r}}})}}const fA={aiFeed:[{tag:hA(474),attributes:{width:hA(470),height:hA(481),align:hA(501)}},{tag:hA(474),attributes:{width:hA(489),height:hA(496),align:hA(501)}},{tag:hA(474),attributes:{width:hA(470),height:hA(495),align:hA(501)}},{tag:hA(474),attributes:{width:hA(490),height:hA(496),align:hA(501)}},{tag:hA(474),attributes:{width:hA(470),height:hA(466),align:hA(501)}},{tag:hA(474),attributes:{width:hA(489),height:hA(496),align:hA(501)}},{tag:hA(474),attributes:{width:hA(470),height:hA(495),align:hA(501)}}],aiHistory:gA(5,hA(470),hA(494),hA(501)),aiChatResources:gA(8,hA(470),hA(472),hA(501)),aiReviewChecks:[{tag:hA(474),attributes:{width:hA(480),height:hA(472),align:hA(478)}},{tag:hA(474),attributes:{width:hA(470),height:hA(472),align:hA(478)}},{tag:hA(474),attributes:{width:hA(480),height:hA(472),align:hA(478)}}]};function gA(t,e,n,i){const r=hA;return new Array(t)[r(468)](null)[r(486)](()=>({tag:r(474),attributes:{width:e,height:n,align:i}}))}function mA(){var t=["878252XWVuNc","appendChild","1HJsteM","options","render","string","5200038DqEBga","7528815iLxsAN","2045786NWfnPm","element","5095795GbwHQe","15XypgsU","extendTemplate","content","4175720fsVFLB","ck-ai-chat__feed__custom-element","3373506uZOodw","innerHTML"];return(mA=function(){return t})()}var kA=_A;function _A(t,e){var n=mA();return(_A=function(t,e){return n[t-=448]})(t,e)}!function(t){for(var e=_A,n=t();;)try{if(556032===parseInt(e(460))/1*(-parseInt(e(448))/2)+parseInt(e(451))/3*(parseInt(e(458))/4)+parseInt(e(450))/5+-parseInt(e(456))/6+-parseInt(e(465))/7+parseInt(e(454))/8+parseInt(e(464))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mA);class bA extends WI{constructor(t){var e=_A;super(t),this[e(452)]({attributes:{class:[e(455)]}})}async[kA(462)](){var t=kA;super[t(462)](),t(463)==typeof this[t(461)][t(453)]?this[t(449)][t(457)]=this[t(461)][t(453)]:this[t(449)][t(459)](this[t(461)][t(453)])}}var wA=r(2864),IA={attributes:{"data-cke":!0}};IA.setAttributes=Et(),IA.insert=yt().bind(null,"head"),IA.domAPI=It(),IA.insertStyleElement=Ct();bt()(wA.A,IA);wA.A&&wA.A.locals&&wA.A.locals;const vA=yA;function yA(t,e){const n=AA();return(yA=function(t,e){return n[t-=268]})(t,e)}function AA(){const t=["_createLoaderChildren","10PWUYZV","ai-chat-feed-view-item-not-a-suggestion-or-reply-item","_createTemplateChildren","_setupTemplate","createCollection","ai-chat-feed-view-item-not-a-suggestion-item","ck-ai-chat__loader","updateSuggestionItem","addItem","ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found","add","forEach","scrollManager","user-message","element","remove","ai-suggestion-reply","start","ai-chat-feed-view-item-not-a-reply-item","aiFeed","delegate","ck-ai-chat__feed__items","90QnyHuM","locale","interaction-header","stop","toggleLoadingSkeleton","821967fKseMg","ai-chat-feed-view-item-not-found","bindTemplate","updatePartState","_bodyCollection","ai-reply","extendTemplate","459641urnUPg","setSuggestionPartActive","custom-element","_createFeedItems","bind","find","updateWebSources","set","filter","removeItem","ck-ai-chat__feed","markItemAsDone","markAsDone","includes","ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item","children","updateSuggestionPartState","div","stopAutoScroll","updateSources","110988jCAFIS","setTemplate","5060MYjXet","map","_createSkeletonLoader","getItemById","scrollToSuggestion","hasItem","40sQaVSP","setLoadingMessage","isVisible","loadingMessage","clear","setPartActive","getItemIds","ck-hidden","isTrackChangesOn","startAutoScroll","getPartView","ck-ai-chat__loader-text","options","_createFeedLoader","parentElement","isPending","25284yOdCBL","destroy","isLoadingSkeletonVisible","updateReplyItem","621MIvtjY","span","updateContent","210978qQgLXo","142637oQDIbV","42060SdmyaQ","render"];return(AA=function(){return t})()}!function(t){const e=yA,n=t();for(;;)try{if(408228===-parseInt(e(289))/1*(parseInt(e(293))/2)+-parseInt(e(320))/3+-parseInt(e(347))/4*(-parseInt(e(315))/5)+-parseInt(e(288))/6+-parseInt(e(327))/7*(parseInt(e(355))/8)+-parseInt(e(285))/9*(-parseInt(e(290))/10)+parseInt(e(349))/11*(parseInt(e(281))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(AA);class EA extends a.View{[vA(342)];[vA(305)];[vA(324)];constructor(t,e){const n=vA;super(t),this[n(324)]=e,this[n(334)](n(280),!1),this[n(334)](n(268),""),this[n(334)](n(283),!1),this[n(334)](n(273),!1),this[n(342)]=this[n(297)](),this[n(342)][n(313)](...vI).to(this),this[n(296)]()}[vA(291)](){const t=vA;super[t(291)](),this[t(305)]=new oA(this[t(307)])}[vA(282)](){const t=vA;super[t(282)](),this[t(305)][t(282)]()}[vA(269)](){const t=vA;this[t(342)][t(269)]()}[vA(301)](t,e){const n=vA;let i;return n(325)===t?i=new ly(this[n(316)],e,this[n(324)]):n(309)===t?(i=new ry(this[n(316)],e,this[n(324)]),i[n(331)](n(273)).to(this)):i=n(306)===t?new $y(this[n(316)],e,this[n(324)]):n(317)===t?new Zy(this[n(316)],e):n(329)===t?new bA(e):new Dv(e),this[n(342)][n(303)](i),i}async[vA(284)]({id:t,parsedContent:e,renderingStrategy:n,abortSignal:i}){const r=vA,s=this[r(352)](t);if(!(s instanceof ly))throw new o.CKEditorError(r(311),null,{itemView:s,id:t,parsedContent:e});await s[r(287)]({parsedContent:e,renderingStrategy:n,abortSignal:i})}async[vA(333)](t,e){const n=vA,i=this[n(352)](t);if(i instanceof ry)i[n(346)](e);else{if(!(i instanceof ly))throw new o.CKEditorError(n(294),null,{itemView:i,id:t,sources:e});i[n(346)](e)}}async[vA(300)]({id:t,parts:e,renderingStrategy:n,abortSignal:i}){const r=vA,s=this[r(352)](t);if(!(s instanceof ry))throw new o.CKEditorError(r(298),null,{itemView:s,id:t,parts:e});await s[r(287)]({parts:e,renderingStrategy:n,abortSignal:i})}[vA(343)]({id:t,index:e,state:n}){const i=vA,r=this[i(352)](t);if(!(r instanceof ry))throw new o.CKEditorError(i(298),this,{id:t});r[i(323)](e,n)}[vA(328)]({id:t,index:e,isActive:n}){const i=vA,r=this[i(352)](t);if(!(r instanceof ry))throw new o.CKEditorError(i(298),this,{id:t});this[i(342)][i(335)](t=>t instanceof ry)[i(304)](t=>{t[i(270)](!1)}),r[i(270)](e,n)}[vA(338)](t){const e=vA;this[e(352)](t)[e(339)]()}[vA(271)](){const t=vA;return this[t(342)][t(350)](e=>e[t(277)].id)}[vA(336)](t){const e=vA;this[e(342)][e(308)](this[e(352)](t))}[vA(354)](t){const e=vA;return!!this[e(342)][e(332)](n=>n[e(277)].id[e(340)](t))}[vA(353)](t,e){const n=vA,i=this[n(352)](t);if(!(i instanceof ry))return void(0,o.logWarning)(n(341),{replyId:t,partIndex:e});const r=i[n(275)](e);r?(0,o.scrollAncestorsToShowTarget)(r[n(307)],20,this[n(307)][n(279)],!0,!0):(0,o.logWarning)(n(302),{replyId:t,partIndex:e})}[vA(296)](){const t=vA;this[t(348)]({tag:t(344),attributes:{class:["ck",t(337)]},children:this[t(295)]()})}[vA(295)](){const t=vA,e=this[t(351)]();return[this[t(330)](),e,this[t(278)]()]}[vA(351)](){const t=vA,e=new pA(this[t(316)],fA[t(312)]);return e[t(326)]({attributes:{class:[this[t(322)].if(t(283),t(272),t=>!t)]}}),e}[vA(330)](){const t=vA,e=new a.View(this[t(316)]);return e[t(348)]({tag:t(344),attributes:{class:["ck",t(314),this[t(322)].if(t(283),t(272))]},children:this[t(342)]}),e}[vA(278)](){const t=vA,e=new a.View(this[t(316)]);return e[t(348)]({tag:t(344),attributes:{class:["ck",t(299),this[t(322)].if(t(280),t(272),t=>!t)]},children:this[t(292)]()}),e}[vA(292)](){const t=vA,e=new ky;return e[t(357)]=!0,[e,{tag:t(286),attributes:{class:["ck",t(276)]},children:[{text:this[t(322)].to(t(268))}]}]}[vA(352)](t){const e=vA,n=this[e(342)][e(332)](n=>n[e(277)].id[e(340)](t));if(!n)throw new o.CKEditorError(e(321),this,{id:t});return n}[vA(356)](t){const e=vA;this[e(334)](e(268),t)}[vA(319)](t){const e=vA;this[e(334)](e(283),t)}[vA(274)](){const t=vA;this[t(305)][t(310)]()}[vA(345)](){const t=vA;this[t(305)][t(318)]()}}const TA=CA;function CA(t,e){const n=xA();return(CA=function(t,e){return n[t-=477]})(t,e)}!function(t){const e=CA,n=t();for(;;)try{if(628291===-parseInt(e(481))/1+parseInt(e(487))/2*(-parseInt(e(483))/3)+parseInt(e(485))/4*(parseInt(e(488))/5)+parseInt(e(482))/6*(-parseInt(e(479))/7)+parseInt(e(477))/8+-parseInt(e(489))/9+-parseInt(e(484))/10*(-parseInt(e(490))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xA);class SA extends a.ListView{[TA(486)](){const t=TA;let e=0;for(const n of this[t(480)])e+=n[t(480)][t(478)];return{resultsCount:e,totalItemsCount:e}}}function xA(){const t=["31362580PgCENv","36xtVeQW","filter","4WyQxVf","657535Jyjgcp","9999585hwPapk","11urmxrT","559424GsLXUO","length","7WnLKdh","items","543510hbnviq","7274142SQfXiJ","1341789VKfUiH"];return(xA=function(){return t})()}const RA=OA;function NA(){const t=["fire","trim","8kgQekU","isEnabled","classList","right","placeholder","reset","fieldWrapperChildren","locale","5189580YkdLmY","MIN_ROWS","enter","uiLanguageDirection","excludeScrollbarsAndBorders","set","add","hasError","497YqlKEX","maxRows","requestAnimationFrame","ck-ai-chat__prompt-input_highlighted","queryView","minRows","4034652DVnphT","submitButtonView","extendTemplate","2728845zgIdHV","fieldView","left","update","setIsUploadInProgress","contains","value","10NOXKtR","target","rtl","remove","2257927FESIHn","isUploadInProgress","bind","render","sendUserMessage","width","isEmpty","execute","element","submit","destroy","keystrokes","5nCBrRv","ck-ai-chat__prompt-submit-button","setPlaceholderText","calc(","ck-ai-chat__prompt-input","MAX_ROWS","px - var(--ck-spacing-tiny))","focus","AI_CHAT_LABEL_SUBMIT","errorText","focusableChildren","3372IFpxfw","_queryViewResizeObserver","_addContextButtonView","_createSubmitButton","window","1735458WtbnCa","_setUpAddContextButtonPositioning","AI_CHAT_PROMPT_EMPTY_ERROR","4490576PfTJvT","style"];return(NA=function(){return t})()}function OA(t,e){const n=NA();return(OA=function(t,e){return n[t-=296]})(t,e)}!function(t){const e=OA,n=t();for(;;)try{if(769084===-parseInt(e(318))/1*(-parseInt(e(361))/2)+parseInt(e(366))/3+parseInt(e(298))/4+parseInt(e(350))/5*(-parseInt(e(324))/6)+-parseInt(e(338))/7*(parseInt(e(302))/8)+-parseInt(e(327))/9*(parseInt(e(334))/10)+-parseInt(e(310))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(NA);const LA=RA(321);class DA extends a.AutocompleteView{[RA(325)];static[RA(311)]=1;static[RA(355)]=12;[RA(363)];[RA(362)];constructor(t,e){const n=RA;super(t,{queryView:{label:"",creator:a.createLabeledTextarea,showIcon:!1,showResetButton:!1},filteredView:new SA(t),queryMinChars:1/0,resetOnBlur:!1}),this[n(315)](n(344),!0),this[n(315)](n(339),!1),this[n(363)]=e,this[n(362)]=null,this[n(322)][n(328)][n(323)]=DA[n(311)],this[n(322)][n(328)][n(319)]=DA[n(355)],this[n(322)][n(308)][n(316)](this[n(363)]),this[n(296)](),this[n(326)]({attributes:{class:["ck",n(354)]}}),this[n(325)]=this[n(364)](),this[n(325)][n(340)](n(303)).to(this,n(344),this,n(339),(t,e)=>!t&&!e),this[n(360)][n(316)](this[n(325)])}[RA(341)](){const t=RA;super[t(341)](),this[t(322)][t(308)][t(316)](this[t(325)]),this[t(349)][t(315)](t(312),(e,n)=>{const i=t;this[i(339)]||this[i(344)]||e[i(335)]==this[i(322)][i(328)][i(346)]&&(this[i(347)](),n())}),this[t(322)][t(328)].on(t(330),()=>{const e=t;this[e(344)]=""===this[e(322)][e(328)][e(346)][e(333)]?.[e(301)]()})}[RA(348)](){const t=RA;super[t(348)](),this[t(362)]&&this[t(362)][t(348)]()}[RA(347)](){const t=RA,e=this[t(322)][t(328)][t(346)][t(333)]?.[t(301)]();if(!e)return this[t(322)][t(359)]=Zl(this[t(309)],t(297)),void(this[t(322)][t(328)][t(317)]=!0);this[t(322)][t(328)][t(317)]=!1;const n=pt(e);this[t(300)](t(342),n),this[t(322)][t(328)][t(307)]()}[RA(352)](t){const e=RA;this[e(322)][e(328)][e(315)](e(306),t)}[RA(357)](t=!1){const e=RA;super[e(357)](),t&&(this[e(346)][e(304)][e(332)](LA)||(this[e(346)][e(304)][e(316)](LA),setTimeout(()=>{const t=e;this[t(346)][t(304)][t(337)](LA)},800)))}[RA(364)](){const t=RA,e=new a.ButtonView(this[t(309)]);return e[t(315)]({icon:i.IconSubmit,label:Zl(this[t(309)],t(358)),isVisible:!0,tooltip:!0,class:t(351),isEnabled:!1}),e.on(t(345),()=>{this[t(347)]()}),e}[RA(331)](t){this[RA(339)]=t}[RA(296)](){const t=RA,e=this[t(309)],n=()=>{const n=t;o.global[n(365)][n(320)](()=>{const t=n;if((0,o.isVisible)(this[t(346)])){const n=new o.Rect(this[t(322)][t(328)][t(346)]),i=new o.Rect(this[t(363)][t(346)]),r=n[t(343)],s=t(336)===e[t(313)]?t(305):t(329);n[t(314)]();const a=r-n[t(343)]+1;this[t(363)][t(346)][t(299)][s]=t(353)+(r-i[t(343)]-a)+t(356)}})};this[t(322)][t(328)].on(t(330),n),this.on(t(341),()=>{const e=t;n(),this[e(362)]=new o.ResizeObserver(this[e(322)][e(328)][e(346)],()=>{n()})})}}const PA=MA;function MA(t,e){const n=KA();return(MA=function(t,e){return n[t-=391]})(t,e)}!function(t){const e=MA,n=t();for(;;)try{if(673206===-parseInt(e(420))/1+parseInt(e(441))/2+-parseInt(e(411))/3*(-parseInt(e(467))/4)+-parseInt(e(432))/5+parseInt(e(446))/6+-parseInt(e(392))/7+parseInt(e(484))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(KA);const VA=PA(405),BA=PA(433),HA=PA(436),UA=PA(401),qA=PA(464),FA=PA(403),zA=PA(457),GA=PA(440),jA="n";class WA extends a.View{[PA(458)];[PA(452)];[PA(486)];[PA(478)];[PA(395)];[PA(417)];constructor(t){const e=PA;super(t),this[e(483)](e(418),!1),this[e(483)](e(451),!1),this[e(483)](e(459),e(473)),this[e(483)](e(419),!0),this[e(483)](e(485),null),this[e(483)](e(482),null),this[e(478)]=this[e(399)](),this[e(417)]=this[e(398)](),this[e(458)]=this[e(391)](),this[e(452)]=this[e(414)](),this[e(486)]=this[e(450)](),this[e(478)][e(461)][e(456)](e(438)).to(this,e(459),t=>e(473)===t),this[e(478)][e(461)][e(456)](e(463)).to(this,e(419),t=>t?this[e(478)][e(461)][e(476)]:Zl(this[e(409)],e(415))),this[e(478)][e(456)](e(475)).to(this,e(419),t=>t),this[e(458)][e(456)](e(447)).to(this,e(418),t=>t),this[e(458)][e(456)](e(463)).to(this,e(418),t=>Zl(this[e(409)],e(t?426:410))),this[e(452)][e(456)](e(447)).to(this,e(451),t=>t),this[e(452)][e(456)](e(463)).to(this,e(451),t=>Zl(this[e(409)],e(t?448:393))),this[e(404)]({tag:e(466),attributes:{class:[VA]},children:[this[e(478)],this[e(417)],this[e(458)],this[e(452)],this[e(486)]]}),this[e(395)]=new o.Collection,(0,a.addListToDropdown)(this[e(478)],this[e(395)])}[PA(428)](t,e){const n=PA;if(e)this[n(483)](n(459),n(474));else{const e=1===t[n(480)];this[n(483)](n(459),n(e?427:473))}if(this[n(395)][n(412)](),t?.[n(480)])for(const e of t){const t=new a.UIModel({label:e[n(427)],withText:!0,role:n(470),id:e.id,model:e});t[n(456)](n(447)).to(this,n(485),t=>t===e.id),this[n(395)][n(453)]({type:n(422),model:t,labelView:new YA(this[n(409)],e)})}}[PA(423)](t){const e=PA;this[e(483)](e(418),t)}[PA(439)](t){const e=PA;this[e(483)](e(451),t)}[PA(444)](t){const e=PA;if(!t)return;this[e(485)]=t.id,this[e(482)]=t[e(427)]||t.id,this[e(478)][e(461)][e(483)](e(476),t[e(427)]),this[e(478)][e(461)][e(483)](e(463),t[e(427)]);const n=t[e(442)][e(394)]?.[e(396)]??!1;this[e(483)](e(418),!1),this[e(458)][e(483)](e(447),!1),this[e(458)][e(483)](e(475),n),this[e(458)][e(483)](e(438),n);const i=t[e(442)][e(445)]?.[e(396)]??!1;this[e(483)](e(451),!1),this[e(452)][e(483)](e(447),!1),this[e(452)][e(483)](e(475),i),this[e(452)][e(483)](e(438),i)}[PA(469)](){const t=PA;this[t(483)](t(419),!0)}[PA(449)](t){const e=PA;this[e(483)](e(419),!1),t&&this[e(483)](e(459),e(474))}[PA(391)](){const t=PA,e=new a.ButtonView;return e[t(483)]({label:Zl(this[t(409)],t(460)),icon:Uv,class:BA,isToggleable:!0,tooltipPosition:jA}),e.on(t(416),()=>{const e=t;this[e(413)](e(421))}),e}[PA(414)](){const t=PA,e=new a.ButtonView;return e[t(483)]({label:Zl(this[t(409)],t(465)),icon:Qy,class:BA,isToggleable:!0,tooltipPosition:jA}),e.on(t(416),()=>{const e=t;this[e(413)](e(443))}),e}[PA(450)](){const t=PA,e=new a.ButtonView;return e[t(483)]({label:Zl(this[t(409)],t(471)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M13.903 7.617a3.35 3.35 0 0 0 1.98 1.98L19 10.752l-3.117 1.153a3.35 3.35 0 0 0-1.98 1.98l-1.154 3.117-1.153-3.116a3.35 3.35 0 0 0-1.98-1.98L6.5 10.75l3.116-1.153a3.35 3.35 0 0 0 1.98-1.98L12.75 4.5zm-9.647 4.755c.15.404.469.723.872.872l1.372.507-1.372.507c-.403.15-.722.468-.872.872L3.75 16.5l-.507-1.371a1.48 1.48 0 0 0-.872-.872L1 13.75l1.37-.507a1.48 1.48 0 0 0 .873-.872L3.75 11zM6.441 2.87c.204.55.639.985 1.19 1.189L9.5 4.75l-1.87.691A2.02 2.02 0 0 0 6.44 6.63L5.75 8.5l-.692-1.87a2.01 2.01 0 0 0-1.19-1.189L2 4.751l1.869-.692a2.02 2.02 0 0 0 1.19-1.189L5.748 1z"/></svg>',withText:!0,class:BA,isToggleable:!0,tooltip:Zl(this[t(409)],t(471)),tooltipPosition:jA}),e[t(477)]({attributes:{class:[HA]}}),e.on(t(416),()=>{const e=t;console[e(424)](e(430)),alert(e(430))}),e}[PA(399)](){const t=PA,e=(0,a.createDropdown)(this[t(409)]);return e[t(483)]({panelPosition:"ne",class:[qA]}),e[t(461)][t(483)]({label:Zl(this[t(409)],t(454)),withText:!0,tooltip:!0,tooltipPosition:jA,class:UA}),this[t(481)](e,t(416),e=>{const n=t;this[n(413)](n(408),e[n(407)][n(406)])}),e}[PA(398)](){const t=PA,e=new $A(this[t(409)]);return e[t(456)](t(425)).to(this,t(482),t=>t??""),e[t(456)](t(438)).to(this,t(459),e=>t(427)===e),e}}function KA(){const t=["AI_CHAT_DISABLE_WEB_SEARCH","name","setModelList","ck-button__label","Commands are not implemented yet.","description","3211225SiXIrX","ck-ai-chat-controls-button","style","AI_CHAT_CAPABILITIES_YES","ck-ai-chat-controls-button--commands","span","isVisible","setReasoning","ck-ai-chat-controls__model-selection__item-capabilities","720632yRKubH","capabilities","toggleReasoning","setModel","reasoning","3362532ewzQrc","isOn","AI_CHAT_DISABLE_REASONING","disableModelSelector","_createCommandsButton","reasoningActive","_reasoningButton","add","AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP","content","bind","ck-ai-chat-controls__model-selection__item-description","_webSearchButton","modelDisplayMode","AI_CHAT_SEARCH_WEB","buttonView","ck-ai-chat-controls__model-name","tooltip","ck-ai-chat-controls__model-selection","AI_CHAT_REASONING","div","332xzYOlL","_getCapabilityParts","enableModelSelector","menuitemradio","AI_CHAT_COMMANDS","bindTemplate","selector","hidden","isEnabled","label","extendTemplate","_modelSelectionDropdown","ck-hidden","length","listenTo","activeModelName","set","19358920Qtvefo","activeModelId","_commandsButton","_createWebSearchButton","5783204fFOfiB","AI_CHAT_ENABLE_REASONING","webSearch","_modelSelectionDropdownItems","enabled","createCollection","_createModelNameView","_createModelSelectionDropdown","addMany","ck-ai-button-tertiary","AI_CHAT_CAPABILITIES_NO","ck-ai-chat-controls__model-selection__item-name","setTemplate","ck-ai-chat__prompt-capabilities","model","source","selectModel","locale","AI_CHAT_ENABLE_WEB_SEARCH","5091eUUBOM","clear","fire","_createReasoningButton","AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP","execute","_modelNameView","webSearchActive","modelSelectorEnabled","1339831WEBQft","toggleWebSearch","button","setWebSearch","log","text"];return(KA=function(){return t})()}class YA extends a.ButtonLabelView{constructor(t,e){const n=PA;super();const i=this[n(472)],r=this[n(397)]();this[n(404)]({tag:n(466),attributes:{class:["ck",n(429)],style:i.to(n(434)),id:i.to("id")},children:[{tag:n(466),attributes:{class:[FA]},children:[{text:i.to(n(425))}]},{tag:n(466),attributes:{class:[zA]},children:[{tag:n(437),children:[{text:e[n(431)]}]}]},{tag:n(466),attributes:{class:[GA]},children:r}]}),r[n(400)](this[n(468)](t,Uv,n(460),e[n(442)][n(394)]?.[n(396)]??!1)),r[n(400)](this[n(468)](t,Qy,n(465),e[n(442)][n(445)]?.[n(396)]??!1))}[PA(468)](t,e,n,i){const r=PA,s=new a.IconView;s[r(455)]=e;const o=new a.View(t);o[r(404)]({tag:r(437),children:[{text:Zl(t,n)+": "}]});const c=new a.View(t);return c[r(404)]({tag:r(437),children:[{text:Zl(t,r(i?435:402))}]}),[s,o,c]}}class $A extends a.View{constructor(t){const e=PA;super(t),this[e(483)](e(425),void 0),this[e(483)](e(438),!0);const n=this[e(472)];this[e(404)]({tag:e(437),attributes:{class:["ck",e(462),n.if(e(438),e(479),t=>!t)]},children:[{text:n.to(e(425))}]})}}const QA='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.587 17.028a1.88 1.88 0 0 1-1.882-1.881V1.976A1.88 1.88 0 0 1 2.587.094H17.64a1.88 1.88 0 0 1 1.881 1.882v13.17a1.88 1.88 0 0 1-1.881 1.882zm5.645-1.41h9.408a.47.47 0 0 0 .47-.471V1.976a.47.47 0 0 0-.47-.47H8.232zM6.82 1.504H2.587a.47.47 0 0 0-.47.47v13.172a.47.47 0 0 0 .47.47H6.82z"/></svg>',XA='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136z"/></svg>',JA='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z"/></svg>',ZA='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M6.972 16.615a1 1 0 0 1-.744-.292l-4.596-4.596a1 1 0 1 1 1.414-1.414l3.926 3.926 9.937-9.937a1 1 0 0 1 1.414 1.415L7.717 16.323a1 1 0 0 1-.745.292"/></svg>',tE=nE;function eE(){const t=["AI_CHAT_CONTEXT_URL_ADD_URL","shift+tab","77232MkXUSj","confirmButton","element","AI_CHAT_CONTEXT_URL_INVALID_ERROR","esc","AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT","add","6452YnwWlj","_createUrlInputField","listenTo","23278ktBgnM","change:withBackButton","setError","render","_setupTemplate","focus","submit","children","getValue","refreshBalloon","value","div","3282059kuHDFE","AI_CHAT_CONTEXT_URL_EMPTY_ERROR","4000320RrQfZy"," ck-hidden","destroy","submitUrl","20wQNxhj","isEnabled","backButton","trim","tab","keystrokes","cancel","ck-labeled-field-view_empty","ck-button-icon","locale","_handleSubmit","ck-button-icon ck-button-back","setTemplate","fire","focusTracker","ck-ai-chat-context-controls__url-input-section","_createConfirmButton","length","urlInputField","createCollection","_setupEventHandlers","ck-ai-header ck-ai-header_small ck-ai-header_context-url","withBackButton","3100mjhwQx","clearError","set","form","ck-ai-chat-context-controls__url-form","9FCdymk","_updateConfirmButtonState","execute","focusCycler","errorText","input","_createBackButton","clear","_focusables","fieldView","3293544qLnJol","AI_CHAT_CONTEXT_URL_LABEL","stop","298494glOcun","AI_CHAT_CONTEXT_URL_PLACEHOLDER","8OeLkSP","_setupKeystrokes","28VVUVpA","forEach","_isValidUrl"];return(eE=function(){return t})()}function nE(t,e){const n=eE();return(nE=function(t,e){return n[t-=438]})(t,e)}!function(t){const e=nE,n=t();for(;;)try{if(526757===-parseInt(e(466))/1*(-parseInt(e(483))/2)+-parseInt(e(464))/3+-parseInt(e(480))/4*(-parseInt(e(446))/5)+parseInt(e(473))/6*(parseInt(e(468))/7)+parseInt(e(461))/8*(parseInt(e(451))/9)+parseInt(e(501))/10*(-parseInt(e(495))/11)+-parseInt(e(497))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(eE);const iE=tE(450),rE=tE(438);class sE extends a.View{[tE(515)];[tE(506)];[tE(459)];[tE(454)];[tE(441)];[tE(503)];[tE(474)];constructor(t){const e=tE;super(t),this[e(515)]=new o.FocusTracker,this[e(506)]=new o.KeystrokeHandler,this[e(503)]=this[e(457)](),this[e(441)]=this[e(481)](),this[e(474)]=this[e(439)](),this[e(459)]=this[e(442)]([this[e(503)],this[e(441)],this[e(474)]]),this[e(454)]=new a.FocusCycler({focusables:this[e(459)],focusTracker:this[e(515)],keystrokeHandler:this[e(506)],actions:{focusPrevious:e(472),focusNext:e(505)}}),this[e(448)](e(445),!0),this[e(487)](),this[e(443)](),this[e(467)]()}[tE(486)](){const t=tE;super[t(486)](),this[t(459)][t(469)](e=>{const n=t;this[n(515)][n(479)](e[n(475)]),this[n(506)][n(482)](e[n(475)])}),(0,a.submitHandler)({view:this}),this[t(488)]()}[tE(499)](){const t=tE;super[t(499)](),this[t(515)][t(499)](),this[t(506)][t(499)]()}[tE(488)](){const t=tE;this[t(441)][t(488)]()}[tE(491)](){const t=tE;return this[t(441)][t(460)][t(475)]?.[t(493)]?.[t(504)]()||""}[tE(458)](){const t=tE;this[t(441)][t(460)][t(475)][t(493)]="",this[t(441)][t(455)]=null,this[t(474)][t(502)]=!1}[tE(485)](t){const e=tE;this[e(441)][e(455)]=t,this[e(452)](),this[e(514)](e(492))}[tE(447)](){const t=tE;this[t(441)][t(455)]=null,this[t(452)]()}[tE(457)](){const t=tE,e=new a.ButtonView(this[t(510)]);return e[t(448)]({icon:JA,tooltip:Zl(this[t(510)],t(478)),tooltipPosition:"n",class:[t(512)]}),this.on(t(484),(n,i,r)=>{const s=t;e[s(448)]({class:[s(512)+(r?"":s(498))]})}),e}[tE(481)](){const t=tE,e=new a.LabeledFieldView(this[t(510)],a.createLabeledInputText);return e[t(448)]({label:Zl(this[t(510)],t(462)),class:t(508)}),e[t(460)][t(448)]({placeholder:Zl(this[t(510)],t(465))}),e}[tE(439)](){const t=tE,e=new a.ButtonView(this[t(510)]);return e[t(448)]({icon:ZA,tooltip:Zl(this[t(510)],t(471)),tooltipPosition:"n",class:t(509),type:t(489),isEnabled:!1}),e}[tE(487)](){const t=tE,e=new a.FormHeaderView(this[t(510)],{label:Zl(this[t(510)],t(471)),class:t(444)});e[t(490)][t(479)](this[t(503)],0),this[t(513)]({tag:t(449),attributes:{class:iE,tabindex:"-1"},children:[e,{tag:t(494),attributes:{class:rE},children:[this[t(441)],this[t(474)]]}]})}[tE(443)](){const t=tE;this[t(503)].on(t(453),()=>{const e=t;this[e(458)](),this[e(514)](e(507))}),this[t(441)][t(460)].on(t(456),()=>{const e=t;this[e(447)](),this[e(452)](),this[e(514)](e(492))}),this.on(t(489),e=>{const n=t;e[n(463)](),this[n(511)]()})}[tE(467)](){const t=tE;this[t(506)][t(448)](t(477),(e,n)=>{const i=t;this[i(458)](),this[i(514)](i(507)),n()})}[tE(511)](){const t=tE,e=this[t(491)]()[t(504)]();e?this[t(470)](e)?(this[t(447)](),this[t(514)](t(500),e)):this[t(485)](Zl(this[t(510)],t(476))):this[t(485)](Zl(this[t(510)],t(496)))}[tE(452)](){const t=tE,e=this[t(491)]()[t(504)](),n=!!this[t(441)][t(455)];this[t(474)][t(502)]=e[t(440)]>0&&!n}[tE(470)](t){try{return!!new URL(t)}catch{return!1}}}function oE(t){return function(t){return t.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}(et(t))}const aE=cE;function cE(t,e){const n=lE();return(cE=function(t,e){return n[t-=188]})(t,e)}function lE(){const t=["1152WcOQqT","994DOGCHZ","_createTitleView","span","406662VvKqHA","text","updateResourceState","FILE","set","ck-ai-chat-resources__item","_setupTemplate","5231366UKuQOm","URL","ck-hidden","35rpcGdq","5418320ngWXGz","bindTemplate","ck-ai-chat-resources__item-title","_createIconView","TEXT","ck-ai-chat-resources__item--in-context","isInContext","isVisible","ck-ai-chat-resources__item__icon","_titleView","label","highlightText","resource","131628avMVvg","getResourceIcon","1221vxyNIS","div","_updateIcon","render","extendTemplate","type","59900xSFpxQ","trim","512IVOZOw","content","setTemplate","_iconView","450zwQDjY","9264eWHOKZ","execute","DOCUMENT"];return(lE=function(){return t})()}!function(t){const e=cE,n=t();for(;;)try{if(494738===parseInt(e(207))/1*(-parseInt(e(206))/2)+-parseInt(e(203))/3*(parseInt(e(198))/4)+-parseInt(e(220))/5*(-parseInt(e(210))/6)+parseInt(e(217))/7+-parseInt(e(221))/8+parseInt(e(202))/9*(-parseInt(e(196))/10)+-parseInt(e(190))/11*(-parseInt(e(188))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lE);const uE=aE(215),hE=aE(226),dE=aE(223),pE=aE(229);class fE extends a.ListItemView{[aE(233)];[aE(230)];[aE(201)];constructor(t,e){const n=aE;super(t),this[n(233)]=e,this[n(214)](n(227),!!e[n(227)]),this[n(230)]=this[n(208)](),this[n(201)]=this[n(224)](),this[n(216)]()}[aE(193)](){super[aE(193)]()}[aE(189)](t){const e=aE;if(t[e(227)])return ZA;switch(t[e(195)]){case _w[e(205)]:return hy;case _w[e(218)]:return dy;case _w[e(213)]:case _w[e(225)]:return uy;default:return QA}}[aE(232)](t){const e=aE;if(!t||""===t[e(197)]())return void this[e(230)][e(232)](null);const n=new RegExp(oE(t),"gi");this[e(230)][e(232)](n)}[aE(212)](t){const e=aE;this[e(233)][e(227)]=t,this[e(227)]=t,this[e(192)]()}[aE(208)](){const t=aE,e=new a.HighlightedTextView;return e[t(211)]=this[t(233)][t(231)],e[t(194)]({tag:t(209),attributes:{class:[dE]}}),e}[aE(224)](){const t=aE,e=new a.IconView;return e[t(199)]=this[t(189)](this[t(233)]),e}[aE(216)](){const t=aE,e=this[t(222)];this[t(200)]({tag:t(191),attributes:{class:[uE,e.if(t(228),t(219),t=>!t),e.if(t(227),hE)]},children:[{tag:t(191),attributes:{class:[pE]},children:[this[t(201)]]},this[t(230)]],on:{click:e.to(t(204))}})}[aE(192)](){const t=aE;this[t(201)][t(199)]=this[t(189)](this[t(233)])}}function gE(t,e){const n=kE();return(gE=function(t,e){return n[t-=257]})(t,e)}const mE=gE;function kE(){const t=["_handleResourceSelection","test","locale","setResources","updateResourceState","addResourceToContext","fire","43412edNLlX","clear","11ZPtZrU","4ZDjKza","resource","10lbUXPR","10640wNImkF","replace","366QPQOAX","\\$&","ck-ai-chat-resources__list","3871017OKXxBO","90OokKqW","_source","useDefaultFiltering","forEach","highlightText","items","extendTemplate","2499392MLQqwP","91905kEAYOP","add","624138TtWyrB","trim","filter","19527684dWIrcN","label","execute"];return(kE=function(){return t})()}!function(t){const e=gE,n=t();for(;;)try{if(424536===-parseInt(e(277))/1+-parseInt(e(258))/2*(-parseInt(e(275))/3)+-parseInt(e(290))/4*(-parseInt(e(267))/5)+-parseInt(e(263))/6*(parseInt(e(261))/7)+-parseInt(e(274))/8+-parseInt(e(266))/9*(parseInt(e(260))/10)+parseInt(e(257))/11*(parseInt(e(280))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kE);const _E=mE(265);class bE extends a.ListView{[mE(268)];constructor(t,e){const n=mE;super(t),this[n(268)]=e,this[n(273)]({attributes:{class:[_E]}})}[mE(286)](t,e){const n=mE;this[n(272)][n(291)]();let i=t;if(this[n(268)][n(269)]&&e&&""!==e[n(278)]()){const r=new RegExp(e[n(262)](/[.*+?^${}()|[\]\\]/g,n(264)),"gi");i=t[n(279)](t=>r[n(284)](t[n(281)]))}for(const t of i){const e=new fE(this[n(285)],t);e.on(n(282),()=>{const e=n;this[e(283)](this[e(268)],t)}),this[n(272)][n(276)](e)}this[n(268)][n(269)]&&this[n(271)](e)}[mE(271)](t){const e=mE;this[e(268)][e(269)]&&this[e(272)][e(270)](n=>{n[e(271)](t)})}[mE(287)](t,e){const n=mE;for(const i of this[n(272)]){const r=i;r[n(259)].id===t&&r[n(287)](e)}}[mE(283)](t,e){const n=mE;this[n(289)](n(288),{source:t,resource:e})}}class wE extends a.LabeledFieldView{iconView;resetButtonView;_viewConfig;constructor(t){const e=t.t,n={showResetButton:!0,showIcon:!0,creator:a.createLabeledInputText,label:Zl(t,"AI_CHAT_SEARCH_RESOURCES")};super(t,n.creator),this.label=n.label,this._viewConfig=n,this._viewConfig.showIcon&&this._setupSearchIcon(),this._viewConfig.showResetButton&&this._setupResetButton(t,e),this._setupEventListeners()}reset(){this.fieldView.reset(),this._viewConfig.showResetButton&&this.resetButtonView&&(this.resetButtonView.isVisible=!1),this.search("")}search(t){this.fire("search",t)}getQuery(){return this.fieldView.element?.value||""}_setupSearchIcon(){this.iconView=new a.IconView,this.iconView.content=i.IconLoupe,this.fieldWrapperChildren.add(this.iconView,0),this.extendTemplate({attributes:{class:"ck-search__query_with-icon"}})}_setupResetButton(t,e){this.resetButtonView=new a.ButtonView(t),this.resetButtonView.set({label:e("Clear"),icon:i.IconCancel,class:"ck-search__reset",isVisible:!1,tooltip:!0}),this.resetButtonView.on("execute",()=>{this.reset(),this.focus(),this.fire("reset")}),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",t=>!t),this.fieldWrapperChildren.add(this.resetButtonView),this.extendTemplate({attributes:{class:"ck-search__query_with-reset"}})}_setupEventListeners(){this.listenTo(this.fieldView,"input",()=>{this.search(this.fieldView.element.value)}),this.bind("isEnabled").to(this)}}const IE=vE;function vE(t,e){const n=yE();return(vE=function(t,e){return n[t-=283]})(t,e)}function yE(){const t=["loadSourceResources","length","_resourcesListView","_searchView","search","setResources","locale","extendTemplate","_searchSection","loadResources","_createSearchSection","190177RNLWTM","searchInputVisibleFrom","_createSkeletonView","fire","setTemplate","render","ck-hidden","ck-ai-chat-resources","div","380049eXNnDD","_source","_skeletonLoader","isLoading","aiChatResources","1513170BOFVXb","_createSearchView","46921PMaOuE","addResourceToContext","bindTemplate","_createResourcesListView","set","getQuery","updateResourceState","_searchInputVisibleFrom","children","has","ck ck-search","30CuGQZh","54jKbzJv","add","1123872YqefNM","972939PzHJdZ","delegate","2LpSNbN","highlightText","27zOkPSw","useDefaultFiltering","source","725720bCHywN","_latestLoadResourcesUid"];return(yE=function(){return t})()}!function(t){const e=vE,n=t();for(;;)try{if(181971===parseInt(e(320))/1*(-parseInt(e(302))/2)+-parseInt(e(329))/3+-parseInt(e(299))/4+parseInt(e(283))/5+-parseInt(e(297))/6*(parseInt(e(285))/7)+-parseInt(e(307))/8*(-parseInt(e(304))/9)+parseInt(e(296))/10*(parseInt(e(300))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yE);class AE extends a.View{[IE(312)];[IE(317)];[IE(292)];[IE(311)];[IE(331)];[IE(330)];[IE(293)];[IE(308)]=null;constructor(t,e){const n=IE;super(t),this[n(330)]=e[n(306)],this[n(292)]=e[n(321)]??7,this[n(289)](n(332),!0),this[n(312)]=this[n(284)](),this[n(317)]=this[n(319)](),this[n(311)]=this[n(288)](),this[n(331)]=this[n(322)](),this[n(293)]=new a.ViewCollection([this[n(331)],this[n(311)]]),this[n(324)]({tag:n(328),attributes:{class:n(327)},children:this[n(293)]})}[IE(284)](){return new wE(this[IE(315)])}[IE(319)](){const t=IE,e=new a.View(this[t(315)]);return e[t(324)]({tag:t(328),attributes:{class:t(295)},children:[this[t(312)]]}),this[t(312)].on(t(313),(e,n)=>{const i=t;this[i(318)](n),this[i(330)][i(305)]&&this[i(311)][i(303)](n)}),e}[IE(288)](){const t=IE,e=new bE(this[t(315)],this[t(330)]);return e[t(301)](t(286)).to(this),e[t(316)]({attributes:{class:this[t(287)].if(t(332),t(326))}}),e}[IE(322)](){const t=IE,e=new pA(this[t(315)],fA[t(333)]);return e[t(316)]({attributes:{class:[this[t(287)].if(t(332),t(326),t=>!t)]}}),e}[IE(325)](){const t=IE;super[t(325)](),this[t(318)]("")}[IE(318)](t){const e=IE,n=(0,o.uid)();this[e(308)]=n,this[e(323)](e(309),{sourceId:this[e(330)].id,query:t,uid:n}),this[e(332)]=!0}[IE(314)](t,e){const n=IE;if(e&&e!==this[n(308)])return;const i=this[n(330)][n(305)]?this[n(312)][n(290)]():"";this[n(311)][n(314)](t,i),t[n(310)]>=this[n(292)]&&!this[n(293)][n(294)](this[n(317)])&&this[n(293)][n(298)](this[n(317)],0),requestAnimationFrame(()=>{this[n(332)]=!1})}[IE(291)](t,e){const n=IE;this[n(311)][n(291)](t,e)}}const EE=TE;function TE(t,e){const n=CE();return(TE=function(t,e){return n[t-=450]})(t,e)}function CE(){const t=["destroy","content","isAnyResourceBalloonVisible","show","_locale","delete","_createBalloonResourcesView","_createSourceResourceBalloonPanel","set","3423620FoSmEN","showSourceResourcesBalloon","get","children","searchInputVisibleFrom","execute","updateResourceState","2293280HnncLY","resource","add","AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT","element","_createBalloonHeader","onBalloonClosed","isVisible","3464664PguPDV","change:isLoading","closeSourceResourceBalloon","once","_bodyCollection","_sourceResourceBalloons","setResources","ck-ai-header ck-ai-header_small ck-ai-header_source","onLoadSourceResources","1281702ToIxHG","_config","extendTemplate","clear","_setupSingleResourceBalloonClickOutsideHandler","onBackToContext","onResourceSelected","hide","values","_addSourceResourceContent","_createBackButton","ck-button-icon ck-button-back","pin","source","label","2520744VtvQNk","loadSourceResources","7801535sFxnDU","addResourceToContext","17445540VTXnaJ","populateSourceResourceBalloon","_getResourcesViewFromBalloon","getLimiterElement","ck-ai-chat-context-controls__source-balloon-panel","getTargetElement"];return(CE=function(){return t})()}!function(t){const e=TE,n=t();for(;;)try{if(903328===parseInt(e(489))/1+parseInt(e(472))/2+parseInt(e(504))/3+-parseInt(e(465))/4+parseInt(e(506))/5+-parseInt(e(480))/6+-parseInt(e(450))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(CE);const SE=EE(454),xE=EE(500),RE=EE(487);class NE{[EE(485)]=new Map;[EE(484)];[EE(460)];[EE(490)];constructor(t,e,n){const i=EE;this[i(460)]=t,this[i(484)]=e,this[i(490)]=n}[EE(466)]({source:t,withBackButton:e}){const n=EE;let i=this[n(485)][n(467)](t.id);i||(i=this[n(463)](),this[n(485)][n(464)](t.id,i),this[n(493)](i)),this[n(498)]({balloonPanel:i,source:t,withBackButton:e}),i[n(459)]();const r=this[n(490)][n(455)]();r&&i[n(501)]({target:r,limiter:this[n(490)][n(453)]()})}[EE(451)](t,e,n){const i=EE,r=this[i(485)][i(467)](t);if(!r)return;const s=this[i(452)](r);s&&(s[i(486)](e,n),s[i(483)](i(481),()=>{const t=i;r[t(501)]({target:this[t(490)][t(455)](),limiter:this[t(490)][t(453)]()})}))}[EE(482)](t){const e=EE,n=this[e(485)][e(467)](t);n&&requestAnimationFrame(()=>{const i=e;n[i(496)](),this[i(485)][i(461)](t),this[i(490)][i(478)]()})}[EE(458)](){const t=EE;for(const e of this[t(485)][t(497)]())if(e[t(479)])return!0;return!1}[EE(471)](t,e,n){const i=EE,r=this[i(485)][i(467)](t);if(!r||!r[i(479)])return;const s=this[i(490)][i(455)]();if(!s)return;r[i(501)]({target:s,limiter:this[i(490)][i(453)]()});const o=this[i(452)](r);o&&o[i(471)](e,n)}[EE(456)](){const t=EE;for(const e of this[t(485)][t(497)]())e[t(456)]();this[t(485)][t(492)]()}[EE(463)](){const t=EE,e=new a.BalloonPanelView(this[t(460)]);return e[t(491)]({attributes:{class:SE}}),this[t(484)][t(474)](e),e}[EE(498)]({balloonPanel:t,source:e,withBackButton:n}){const i=EE;t[i(457)][i(492)]();const r=this[i(477)]({balloonPanel:t,source:e,withBackButton:n});t[i(457)][i(474)](r);const s=this[i(462)](e);t[i(457)][i(474)](s)}[EE(477)]({balloonPanel:t,source:e,withBackButton:n}){const i=EE,r=new a.FormHeaderView(this[i(460)],{label:e[i(503)],class:RE});return n&&r[i(468)][i(474)](this[i(499)](t),0),r}[EE(499)](t){const e=EE,n=new a.ButtonView(this[e(460)]);return n[e(464)]({icon:JA,tooltip:Zl(this[e(460)],e(475)),tooltipPosition:"n",class:xE}),n.on(e(470),()=>{const n=e;t[n(496)](),this[n(490)][n(494)]()}),n}[EE(462)](t){const e=EE,n=new AE(this[e(460)],{source:t,searchInputVisibleFrom:this[e(490)][e(469)]});return n.on(e(505),(t,n)=>{const i=e;this[i(490)][i(488)](n)}),n.on(e(507),(n,i)=>{const r=e;this[r(490)][r(495)](i[r(502)],i[r(473)]),this[r(482)](t.id)}),n}[EE(452)](t){const e=EE,n=t[e(457)][e(467)](1);return n instanceof AE?n:null}[EE(493)](t){const e=EE;(0,a.clickOutsideHandler)({emitter:t,contextElements:[t[e(476)]],callback:()=>{const n=e;t[n(496)](),this[n(490)][n(478)]()},activator:()=>t[e(479)]})}}const OE=YE;function LE(){const t=["locale","44143DVMSps","_showSourceResourcesBalloon","add","balloonView","AI_CHAT_CONTEXT_ADD_CONTEXT","setContextItemLoading","done","_createAddContextBalloonPanelView","addContextButtonView","_createContextButton","customItems","icon","bind","populateSourceResourceBalloon","2064nVDyYc","isVisible","_setupUrlBalloonClickOutsideHandler","_setupAllBalloonClickOutsideHandlers","_setupTemplate","createCollection","showSourceResourcesBalloon","_urlBalloonPanelView","clear","executeCustomItemCallback","setConversationContext","loadSourceResources","_setBalloonPanelContent","northArrowSouthEast","ck-ai-chat-context-controls__add-context-button","searchInputVisibleFrom","execute","show","bodyCollection","label","ck-reset_all-excluded","closest","length","addResourceToContext","344582wFFzhY","_createUrlBalloonPanelView","_handleUrlSubmit","focus","customItem","buttonView","ck-ai-chat-context-controls__url-balloon-panel","_createResourcesBalloonView","hide","fire","_addUrlContent","showAddContextBalloonPanel","setContainerElement","_createAddContextButtonView","ck-ai-chat-controls_context_show-more-button","680337zqVAJX","arrowView","render","set","sources","_addContextBalloonPanelView","461562TKacAM","pin","_conversationContextsChips","isEnabled","_addContextBalloonConfig","addContextItem","southArrowNorth","_setupAddContextBalloonClickOutsideHandler","_createBaseBalloonPanel","overflowChips","removeContextItemChip","isHidden","element","isReadOnly","isLoading","conversation","_createBalloonButton","destroy","setAddContextOptions","find","ck-ai-chat-context-controls__balloon-button-source","source","cancel","submitUrl","addUrlToContext","_getLimiterElement","_createArrowView","removeContextItem","AI_CHAT_CONTEXT_URL_LABEL","closeSourceResourceBalloon","children","addFileToContext","_addContextToCollection","_handleAddContextButtonClick","ck-ai-chat-context-controls__add-context-balloon-panel","_hasExactlyOneSource","refreshBalloon","enabled","current","ck-ai-chat","urls","northArrowSouthWest","ck-ai-chat-context-controls__pending-contexts","_setAddContextButtonEnabled","ck-ai-chat-context-controls","body","AI_CHAT_CONTEXT_FILE_LABEL","_removeContextFromCollection","isAnyResourceBalloonVisible","ck-ai-chat-controls-button","remove","southArrowNorthEast","_overflowManager","menuitem","clearCurrentContextItems","4917152oGyHMS","get","tooltip","document","showUrlBalloonPanel","type","380rfyfQB","div","ck-ai-chat-context-chips-wrapper-balloon","defaultPositions","__arrow","reorganizeChips","_bindEventHandlers","updateResourceState","hideAddContextBalloonPanel","southArrowNorthWest","_toggleAddContextBalloon","clearConversationContextItems","content","northArrowSouth","_resourcesBalloonView","_currentContextsChips","withBackButton","4099333fgCgJm","_urlInputView","addDocumentToContext","isOn","setTemplate","AI_CHAT_CONTEXT_CURRENT_DOCUMENT","extendTemplate","hideUrlBalloonPanel","ck-ai-chat-context-controls__balloon-button","files","ck-ai-chat-context-controls__show-more-balloon-panel"];return(LE=function(){return t})()}!function(t){const e=YE,n=t();for(;;)try{if(442045===-parseInt(e(254))/1+parseInt(e(143))/2+parseInt(e(158))/3+-parseInt(e(268))/4*(-parseInt(e(225))/5)+parseInt(e(164))/6+parseInt(e(242))/7+-parseInt(e(219))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(LE);const DE=[OE(244),OE(195),OE(188),OE(142),OE(191),OE(130),OE(277)],PE=OE(208),ME=OE(206),VE=OE(198),BE=OE(133),HE=OE(149),UE=OE(250),qE=OE(184),FE=OE(213),zE=OE(227),GE=OE(157),jE=OE(252),WE=OE(203),KE=[a.BalloonPanelView[OE(228)][OE(205)],a.BalloonPanelView[OE(228)][OE(238)],a.BalloonPanelView[OE(228)][OE(132)],a.BalloonPanelView[OE(228)][OE(234)],a.BalloonPanelView[OE(228)][OE(170)],a.BalloonPanelView[OE(228)][OE(215)]];function YE(t,e){const n=LE();return(YE=function(t,e){return n[t-=130]})(t,e)}class $E extends a.View{[OE(262)];[OE(240)]=this[OE(273)]();[OE(166)]=this[OE(273)]();[OE(216)];[OE(163)];[OE(275)];[OE(243)];[OE(239)];[OE(168)];[OE(199)]=!1;[OE(137)];constructor(t,e){const n=OE;super(t),this[n(137)]=e[n(137)],this[n(240)]=this[n(273)](),this[n(166)]=this[n(273)](),this[n(262)]=this[n(156)](t),this[n(163)]=this[n(261)](t),this[n(275)]=this[n(144)](t),this[n(239)]=this[n(150)](t,e);const i={cssClasses:{showMoreButton:GE,showMoreBalloon:jE,overflowContainer:zE,controlsButton:FE}};this[n(216)]=new Dy(t,this[n(240)],i,this[n(137)],this),this[n(168)]={buttonView:this[n(262)],balloonView:this[n(163)],hideMethod:this[n(233)][n(266)](this),showMethod:this[n(154)][n(266)](this)},this[n(272)](),this[n(231)]()}[OE(160)](){const t=OE;super[t(160)](),this[t(271)](),this[t(216)][t(155)](this[t(176)]),this[t(216)][t(230)]()}[OE(181)](){const t=OE;super[t(181)](),this[t(216)][t(181)](),this[t(239)][t(181)]()}[OE(169)](t,e){const n=OE,i=this[n(263)](t,n(202),!0,e);this[n(196)](i,this[n(240)]),this[n(216)][n(230)]()}[OE(191)](t){const e=OE;this[e(211)](t,this[e(240)]),this[e(211)](t,this[e(216)][e(173)]),this[e(216)][e(230)]()}[OE(259)](t,e){const n=OE;let i=this[n(240)][n(183)](e=>e.id===t);i||(i=this[n(216)][n(173)][n(183)](e=>e.id===t)),i&&(i[n(178)]=e)}[OE(278)](t){const e=OE;this[e(166)][e(276)]();for(const n of t){const t=this[e(263)](n,e(179),!1,!1);this[e(196)](t,this[e(166)])}}[OE(218)](){const t=OE;this[t(240)][t(276)](),this[t(216)][t(276)]()}[OE(236)](){const t=OE;this[t(166)][t(276)]()}[OE(232)](t,e,n){const i=OE;this[i(239)][i(232)](t,e,n)}[OE(233)](){this[OE(235)](!1)}[OE(154)](){this[OE(235)](!0)}[OE(249)](){const t=OE;this[t(275)][t(151)](),this[t(262)][t(245)]=!1,this[t(243)]&&this[t(243)][t(276)]()}[OE(223)](){const t=OE;this[t(275)][t(136)](),this[t(262)][t(245)]=!0}[OE(255)]({source:t,withBackButton:e}){const n=OE;this[n(239)][n(274)]({source:t,withBackButton:e}),this[n(262)][n(245)]=!0}[OE(267)](t,e,n,i){const r=OE;this[r(239)][r(267)](t,n,i)}[OE(193)](t){const e=OE;this[e(239)][e(193)](t),this[e(262)][e(245)]=!1}[OE(182)](t){const e=OE;this[e(131)](this[e(163)],this[e(253)],t),this[e(207)](t)}[OE(207)](t){const e=OE,n=!t[e(222)][e(175)]&&t[e(222)][e(201)],i=t[e(204)][e(201)],r=t[e(251)][e(201)],s=t[e(162)][e(141)]>0,o=t[e(264)]&&t[e(264)][e(141)]>0;this[e(262)][e(167)]=n||i||r||s||o}[OE(272)](){const t=OE;this[t(246)]({tag:t(226),attributes:{class:[PE,t(139)]},children:[{tag:t(226),attributes:{class:ME},children:this[t(240)]}]})}[OE(231)](){const t=OE;this[t(262)].on(t(135),()=>{this[t(197)]()})}[OE(156)](t){const e=OE,n=new a.ButtonView(t);return n[e(161)]({label:Zl(t,e(258)),class:FE+" "+BE,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M8.514.5c1.007 0 2.056.352 2.866.96.813.611 1.449 1.539 1.449 2.69v7.8c0 .777-.382 1.457-.888 1.93-.505.474-1.195.8-1.92.82-1.473.04-2.848-1.237-2.848-2.75v-3.7a.75.75 0 0 1 1.5 0v3.7c0 .642.65 1.268 1.306 1.25.312-.008.663-.157.938-.414.274-.256.412-.562.412-.836v-7.8c0-.556-.303-1.08-.85-1.49A3.4 3.4 0 0 0 8.513 2a3.4 3.4 0 0 0-1.946.65c-.556.41-.868.934-.868 1.5v.028l-.001.013-.002.055-.006.212-.02.787c-.015.67-.034 1.605-.046 2.663-.025 2.123-.025 4.729.074 6.704.058 1.155.628 1.948 1.466 2.478.864.547 2.017.81 3.135.81 1.114 0 2.092-.265 2.789-.785.671-.5 1.152-1.286 1.213-2.503a80 80 0 0 0 .074-5.299 82 82 0 0 0-.073-2.283L14.301 7v-.086A.75.75 0 0 1 15.8 6.91v.013l.002.033.005.127c.005.11.013.273.02.48.017.413.035 1.007.048 1.725a82 82 0 0 1-.075 5.4c-.082 1.63-.758 2.843-1.815 3.631-1.032.77-2.358 1.082-3.684 1.082-1.322 0-2.774-.306-3.939-1.044-1.191-.754-2.076-1.962-2.161-3.669-.101-2.024-.101-4.67-.076-6.796.012-1.066.03-2.006.047-2.68.007-.337.015-.608.02-.794l.006-.215.002-.056v-.02c.009-1.162.663-2.082 1.477-2.683A4.9 4.9 0 0 1 8.514.5"/></svg>',isToggleable:!0,tooltip:!0,tooltipPosition:"sw"}),n}[OE(261)](t){return this[OE(172)](t,VE)}[OE(144)](t){const e=OE,n=this[e(172)](t,HE);return this[e(153)](n,t),n}[OE(150)](t,e){const n=OE,i={searchInputVisibleFrom:e[n(134)],onBackToContext:()=>{const t=n;this[t(154)](),this[t(163)][t(165)]({target:this[t(262)][t(176)],limiter:this[t(189)](),positions:KE})},onResourceSelected:(t,e)=>{const i=n;this[i(152)](i(142),{source:t,resource:e})},onLoadSourceResources:t=>{const e=n;this[e(152)](e(130),t)},onBalloonClosed:()=>{const t=n;this[t(262)][t(245)]=!1},getLimiterElement:()=>this[n(189)](),getTargetElement:()=>this[n(262)][n(176)]};return new NE(t,e[n(137)],i)}[OE(189)](){const t=OE;return this[t(176)]?.[t(140)]("."+WE)||document[t(209)]}[OE(172)](t,e){const n=OE,i=new a.BalloonPanelView(t);return i[n(248)]({attributes:{class:e}}),this[n(137)][n(256)](i),i}[OE(131)](t,e,n){const i=OE;if(t[i(237)][i(276)](),!n[i(222)][i(175)]&&n[i(222)][i(201)]){const n=this[i(180)](e,{label:Zl(e,i(247)),icon:hy});n.on(i(135),()=>{const t=i;this[t(152)](t(244)),this[t(233)]()}),t[i(237)][i(256)](n)}if(n[i(204)][i(201)]){const n=this[i(180)](e,{label:Zl(e,i(192)),icon:dy});n.on(i(135),()=>{const t=i;this[t(233)](),this[t(223)](),this[t(275)][t(165)]({target:this[t(262)][t(176)],limiter:this[t(189)](),positions:KE}),this[t(243)][t(146)]()}),t[i(237)][i(256)](n)}if(n[i(251)][i(201)]){const n=new a.FileDialogButtonView(e);n[i(161)]({label:Zl(e,i(210)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M17.5 9.303V8h-13v8.5h4.341c.191.54.457 1.044.785 1.5H2a1.5 1.5 0 0 1-1.5-1.5v-13A1.5 1.5 0 0 1 2 2h4.5a1.5 1.5 0 0 1 1.06.44L9.122 4H16a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 19 8v2.531a6 6 0 0 0-1.5-1.228M16 6.5v-1H8.5l-2-2H2v13h1V8a1.5 1.5 0 0 1 1.5-1.5z"/><path d="M14.5 19.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10M15 14v-2h-1v2h-2v1h2v2h1v-2h2v-1z"/></svg>',withText:!0,tooltip:!0,class:UE,allowMultipleFiles:!0}),n.on(i(135),()=>{this[i(233)]()}),n.on(i(260),(t,e)=>{const n=i;this[n(152)](n(195),e)}),n[i(221)]=!0,t[i(237)][i(256)](n)}for(const r of n[i(162)]){const n=this[i(180)](e,{label:r[i(138)],icon:r[i(265)]||QA,type:i(185)});t[i(237)][i(256)](n),n.on(i(135),()=>{const t=i;this[t(233)](),this[t(255)]({source:r,withBackButton:!this[t(199)]})})}for(const r of n[i(264)]||[]){const n=this[i(180)](e,{label:r[i(138)],icon:r[i(265)]||QA,type:i(147)});t[i(237)][i(256)](n),n.on(i(135),()=>{const t=i;this[t(233)](),this[t(152)](t(277),r)})}this[i(199)]=1===t[i(237)][i(141)],this[i(243)][i(241)]=!this[i(199)]}[OE(153)](t,e){const n=OE;this[n(243)]=new sE(e),this[n(243)].on(n(187),(t,e)=>{this[n(145)](e)}),this[n(243)].on(n(186),()=>{const t=n;this[t(249)](),this[t(199)]||(this[t(154)](),this[t(163)][t(165)]({target:this[t(262)][t(176)],limiter:this[t(189)](),positions:KE}))}),this[n(243)].on(n(200),()=>{const t=n;this[t(275)][t(269)]&&this[t(275)][t(165)]({target:this[t(262)][t(176)],limiter:this[t(189)](),positions:KE})}),t[n(237)][n(256)](this[n(243)])}[OE(180)](t,e){const n=OE,i=n(185)===e[n(224)]?new QE(t):new a.ButtonView(t);return i[n(161)]({label:e[n(138)],icon:e[n(265)],withText:!0,tooltip:!0,tooltipPosition:"sw",class:UE}),i}[OE(271)](){const t=OE;this[t(171)](),this[t(270)]()}[OE(270)](){const t=OE;(0,a.clickOutsideHandler)({emitter:this[t(275)],contextElements:[this[t(275)][t(176)]],callback:()=>{this[t(249)]()},activator:()=>this[t(275)][t(269)]})}[OE(235)](t){const e=OE,n=this[e(168)];n[e(148)][e(245)]=t,t?n[e(257)][e(136)]():n[e(257)][e(151)]()}[OE(171)](){const t=OE,{balloonView:e,buttonView:n,hideMethod:i}=this[t(168)];(0,a.clickOutsideHandler)({emitter:e,contextElements:[e[t(176)],n[t(176)]],callback:()=>{i()},activator:()=>n[t(245)]&&!this[t(275)][t(269)]&&!this[t(239)][t(212)]()})}[OE(263)](t,e,n=!1,i=!1){const r=OE,s=r(179)===e||!0===t[r(177)],o=new Sy(this[r(253)],t,s,n,i);return s||o.on(r(174),()=>{const t=r;this[t(152)](t(191),o.id)}),o}[OE(196)](t,e){e[OE(256)](t,0)}[OE(211)](t,e){const n=OE,i=e[n(183)](e=>e.id===t);i&&e[n(214)](i)}[OE(197)](){const t=OE;this[t(262)][t(245)]?this[t(233)]():(this[t(154)](),this[t(163)][t(165)]({target:this[t(262)][t(176)],limiter:this[t(189)](),positions:KE}),this[t(199)]&&this[t(163)][t(237)][t(220)](0)?.[t(152)](t(135)))}[OE(145)](t){const e=OE;this[e(243)][e(276)](),this[e(249)](),this[e(152)](e(188),t)}}class QE extends a.ButtonView{[OE(159)];constructor(t){const e=OE;super(t),this[e(161)]({withText:!0,role:e(217)}),this[e(159)]=this[e(190)](),this[e(248)]({attributes:{class:[qE]}})}[OE(160)](){const t=OE;super[t(160)](),this[t(194)][t(256)](this[t(159)])}[OE(190)](){const t=OE,e=new a.IconView;return e[t(237)]=XA,e[t(248)]({attributes:{class:qE+t(229)}}),e}}const XE=JE;function JE(t,e){const n=ZE();return(JE=function(t,e){return n[t-=114]})(t,e)}function ZE(){const t=["ck-ai-chat-controls-loader","_createCancelButtonView","ck-ai-button-secondary ck-ai-button-stop-generating","_loaderView","4kKAIbz","AI_CHAT_STOP_GENERATING","locale","12SXGDxk","fire","222014gnRzpz","AI_CHAT_IS_WRITING","399970UQMPcV","ck-ai-chat-controls-loader-icon-dot","set","1276743AEUHNF","_createLoaderView","setTemplate","ck-ai-chat-controls-loader-wrapper","48qlViPy","execute","ck-reset_all","ck-ai-chat-controls-loader-icon","18EDWWEq","95766TZVWAU","818395VdyFee","1328840zxHNhM","abortPromptStream","_cancelButtonView","8giGnmG","div","4163446tVsJQP"];return(ZE=function(){return t})()}!function(t){const e=JE,n=t();for(;;)try{if(324853===-parseInt(e(141))/1*(-parseInt(e(136))/2)+parseInt(e(115))/3+parseInt(e(126))/4+-parseInt(e(125))/5*(parseInt(e(139))/6)+parseInt(e(131))/7*(-parseInt(e(129))/8)+parseInt(e(123))/9*(parseInt(e(143))/10)+-parseInt(e(124))/11*(parseInt(e(119))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ZE);class tT extends a.View{[XE(128)];[XE(135)];constructor(t){const e=XE;super(t),this[e(128)]=this[e(133)](),this[e(135)]=this[e(116)](),this[e(117)]({tag:e(130),attributes:{class:["ck",e(118),e(121)]},children:[this[e(135)],this[e(128)]]})}[XE(133)](){const t=XE,e=new a.ButtonView(this[t(138)]);return e[t(114)]({label:Zl(this[t(138)],t(137)),withText:!0,class:t(134),icon:i.IconStop}),e.on(t(120),()=>{const e=t;this[e(140)](e(127))}),e}[XE(116)](){const t=XE,e=new a.View(this[t(138)]);return e[t(117)]({tag:t(130),attributes:{class:[t(132)]},children:[{tag:t(130),attributes:{class:[t(122)]},children:[{tag:t(130),attributes:{class:[t(144)]}},{tag:t(130),attributes:{class:[t(144)]}},{tag:t(130),attributes:{class:[t(144)]}}]},{text:Zl(this[t(138)],t(142))}]}),e}}var eT=r(8381),nT={attributes:{"data-cke":!0}};nT.setAttributes=Et(),nT.insert=yt().bind(null,"head"),nT.domAPI=It(),nT.insertStyleElement=Ct();bt()(eT.A,nT);eT.A&&eT.A.locals&&eT.A.locals;var iT=r(7747),rT={attributes:{"data-cke":!0}};rT.setAttributes=Et(),rT.insert=yt().bind(null,"head"),rT.domAPI=It(),rT.insertStyleElement=Ct();bt()(iT.A,rT);iT.A&&iT.A.locals&&iT.A.locals;var sT=r(8721),oT={attributes:{"data-cke":!0}};oT.setAttributes=Et(),oT.insert=yt().bind(null,"head"),oT.domAPI=It(),oT.insertStyleElement=Ct();bt()(sT.A,oT);sT.A&&sT.A.locals&&sT.A.locals;var aT=r(8720),cT={attributes:{"data-cke":!0}};cT.setAttributes=Et(),cT.insert=yt().bind(null,"head"),cT.domAPI=It(),cT.insertStyleElement=Ct();bt()(aT.A,cT);aT.A&&aT.A.locals&&aT.A.locals;var lT=r(3897),uT={attributes:{"data-cke":!0}};uT.setAttributes=Et(),uT.insert=yt().bind(null,"head"),uT.domAPI=It(),uT.insertStyleElement=Ct();bt()(lT.A,uT);lT.A&&lT.A.locals&&lT.A.locals;var hT=r(4401),dT={attributes:{"data-cke":!0}};dT.setAttributes=Et(),dT.insert=yt().bind(null,"head"),dT.domAPI=It(),dT.insertStyleElement=Ct();bt()(hT.A,dT);hT.A&&hT.A.locals&&hT.A.locals;var pT=r(9958),fT={attributes:{"data-cke":!0}};fT.setAttributes=Et(),fT.insert=yt().bind(null,"head"),fT.domAPI=It(),fT.insertStyleElement=Ct();bt()(pT.A,fT);pT.A&&pT.A.locals&&pT.A.locals;var gT=r(7091),mT={attributes:{"data-cke":!0}};mT.setAttributes=Et(),mT.insert=yt().bind(null,"head"),mT.domAPI=It(),mT.insertStyleElement=Ct();bt()(gT.A,mT);gT.A&&gT.A.locals&&gT.A.locals;var kT=r(2883),_T={attributes:{"data-cke":!0}};_T.setAttributes=Et(),_T.insert=yt().bind(null,"head"),_T.domAPI=It(),_T.insertStyleElement=Ct();bt()(kT.A,_T);kT.A&&kT.A.locals&&kT.A.locals;const bT=wT;function wT(t,e){const n=IT();return(wT=function(t,e){return n[t-=451]})(t,e)}function IT(){const t=["startConversation","_shouldRestorePromptInputFocus","setAddContextOptions","74795tlKrvB","value","isModelAvailable","setTemplate","_createModelUnavailableMessageView","clearPendingContextUI","toggleWebSearch","div","bindTemplate","AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT","addContextItem","_contextPanelView","setReasoning","setModelList","ck-ai-chat-controls__start-new-chat-button","focusPromptInput","1216137YfLHtg","change:isLoading","focus","clearConversationContextUI","setIsUploadInProgress","closeSourceResourceBalloon","ck-ai-chat-controls","locale","_createLoaderView","resetMessageInput","populateSourceResourceBalloon","form","_handlePromptInputFocus","5363165mPToyd","set","996ZoLGxo","abortPromptStream","setContextItemLoading","disableModelSelector","setInputPlaceholder","clearCurrentContextItems","delegate","addContextButtonView","setModel","updateResourceState","setPromptInputValue","565290tcjuRs","bodyCollection","_createPromptCapabilitiesView","_loaderView","isLoading","29522421UtCRFg","element","toggleReasoning","15008824pGKteB","removeContextItem","_promptInputView","_promptCapabilitiesView","ck-ai-chat-controls-model-unavailable-message","contextResourcesSearchInputVisibleFrom","_createPromptInputView","AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON","setPlaceholderText","selectModel","execute","clearConversationContextItems","fieldView","setWebSearch","low","_modelUnavailableMessageView","enableModelSelector","queryView","sendUserMessage","reset","ck-ai-chat-controls-disabled","setConversationContext","3ARexph","ck-hidden","7029668rrouIQ","isDisabled","_createContextPanelView"];return(IT=function(){return t})()}!function(t){const e=wT,n=t();for(;;)try{if(961724===-parseInt(e(469))/1+-parseInt(e(495))/2+parseInt(e(525))/3*(parseInt(e(527))/4)+parseInt(e(482))/5+parseInt(e(484))/6*(-parseInt(e(453))/7)+-parseInt(e(503))/8+parseInt(e(500))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(IT);class vT extends a.View{[bT(464)];[bT(505)];[bT(506)];[bT(498)];[bT(518)];[bT(451)];constructor(t,e){const n=bT;super(t),this[n(464)]=this[n(529)](t,{bodyCollection:e[n(496)],searchInputVisibleFrom:e[n(508)]}),this[n(505)]=this[n(509)](t),this[n(506)]=this[n(497)](t),this[n(498)]=this[n(477)](t),this[n(518)]=this[n(457)](t),this[n(451)]=!1,this[n(505)][n(490)](n(521)).to(this),this[n(498)][n(490)](n(485)).to(this),this[n(506)][n(490)](n(459)).to(this),this[n(506)][n(490)](n(502)).to(this),this[n(506)][n(490)](n(512)).to(this),this[n(464)][n(490)](...DE).to(this),this[n(483)](n(455),!0),this[n(483)](n(528),!1);const i=this[n(461)];this[n(456)]({tag:n(480),attributes:{class:["ck",n(475),i.if(n(528),n(523))]},children:[{tag:n(460),attributes:{class:[i.if(n(499),n(526),t=>t||!this[n(455)]),i.if(n(455),n(526),t=>!t||this[n(499)])]},children:[this[n(464)],this[n(505)],this[n(506)]]},{tag:n(460),attributes:{class:[i.if(n(499),n(526),t=>!t)]},children:[this[n(498)]]},{tag:n(460),attributes:{class:[i.if(n(455),n(526),t=>t)]},children:[this[n(518)]]}]}),(0,a.clickOutsideHandler)({emitter:this[n(505)],activator:()=>this[n(499)],contextElements:()=>[this[n(501)]],callback:()=>{this[n(451)]=!1}}),this.on(n(470),this[n(481)],{priority:n(517)})}[bT(529)](t,e){return new $E(t,e)}[bT(509)](t){const e=bT;return new DA(t,this[e(464)][e(491)])}[bT(497)](t){return new WA(t)}[bT(477)](t){return new tT(t)}[bT(457)](t){const e=bT,n=new yT(t);return n[e(490)](e(530)).to(this),n}[bT(481)](t,e,n){const i=bT;n?this[i(451)]=!0:this[i(451)]&&this[i(505)][i(471)]()}[bT(463)](t,e){const n=bT;this[n(464)][n(463)](t,e)}[bT(504)](t){const e=bT;this[e(464)][e(504)](t)}[bT(486)](t,e){const n=bT;this[n(464)][n(486)](t,e)}[bT(473)](t){const e=bT;this[e(505)][e(473)](t)}[bT(524)](t){const e=bT;this[e(464)][e(524)](t)}[bT(458)](){const t=bT;this[t(464)][t(489)]()}[bT(472)](){const t=bT;this[t(464)][t(514)]()}[bT(493)](t,e,n){const i=bT;this[i(464)][i(493)](t,e,n)}[bT(516)](t){const e=bT;this[e(506)][e(516)](t)}[bT(465)](t){const e=bT;this[e(506)][e(465)](t)}[bT(478)](){const t=bT;this[t(505)][t(522)]()}[bT(452)](t){const e=bT;this[e(464)][e(452)](t)}[bT(488)](t){const e=bT;this[e(505)][e(511)](t)}[bT(466)](t,e){const n=bT;this[n(506)][n(466)](t,e)}[bT(492)](t){const e=bT;t?(this[e(455)]=!0,this[e(506)][e(492)](t)):this[e(455)]=!1}[bT(519)](){const t=bT;this[t(506)][t(519)]()}[bT(487)](t){const e=bT;this[e(506)][e(487)](t)}[bT(479)](t,e,n,i){const r=bT;this[r(464)][r(479)](t,e,n,i)}[bT(474)](t){const e=bT;this[e(464)][e(474)](t)}[bT(468)](t=!1){const e=bT;this[e(505)][e(471)](t)}[bT(494)](t){const e=bT;this[e(505)][e(520)][e(515)][e(522)](),this[e(505)][e(520)][e(515)][e(454)]=t}}class yT extends a.View{constructor(t){const e=bT;super(t);const n=new a.ButtonView(t);n[e(483)]({label:Zl(this[e(476)],e(510)),withText:!0,class:[e(467)],tooltip:""}),n[e(490)](e(513)).to(this,e(530)),this[e(456)]({tag:e(460),attributes:{class:["ck",e(507)]},children:[{tag:"p",children:[{text:Zl(this[e(476)],e(462))+" "},n]}]})}}var AT=r(8108),ET={attributes:{"data-cke":!0}};ET.setAttributes=Et(),ET.insert=yt().bind(null,"head"),ET.domAPI=It(),ET.insertStyleElement=Ct();bt()(AT.A,ET);AT.A&&AT.A.locals&&AT.A.locals;function TT(t,e){const n=ST();return(TT=function(t,e){return n[t-=339]})(t,e)}const CT=TT;function ST(){const t=["conversationStartButton","children","3859360GgxZoS","138947NiRorU","execute","7503741afgssX","177hiNbld","_createStartConversationButton","resizeButton","ck-ai-header ck-ai-header_chat","isMaximized","ck-ai-chat__start-conversation","locale","29198zNghHv","AI_CHAT_HEADING","698754jiiNST","startConversation","6743935dBBMDb","AI_CHAT_LABEL_NEW_CHAT","fire","set","5772228WUGqkP","add"];return(ST=function(){return t})()}!function(t){const e=TT,n=t();for(;;)try{if(809800===parseInt(e(346))/1+-parseInt(e(356))/2*(parseInt(e(349))/3)+parseInt(e(341))/4+-parseInt(e(360))/5+-parseInt(e(358))/6+parseInt(e(348))/7+parseInt(e(345))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ST);class xT extends a.FormHeaderView{[CT(343)];[CT(351)];constructor(t,e){const n=CT;super(t,{label:Zl(t,n(357)),class:n(352),icon:i.IconAIChat}),this[n(340)](n(353),!1),this[n(343)]=this[n(350)](t),this[n(344)][n(342)](this[n(343)]),e&&(this[n(351)]=ru(t,this),this[n(344)][n(342)](this[n(351)]))}[CT(350)](t){const e=CT,n=new a.ButtonView(t);return n[e(340)]({label:Zl(this[e(355)],e(361)),withText:!0,icon:i.IconPlus,class:e(354)}),n.on(e(347),()=>{const t=e;this[t(339)](t(359))}),n}}var RT=r(1882),NT={attributes:{"data-cke":!0}};NT.setAttributes=Et(),NT.insert=yt().bind(null,"head"),NT.domAPI=It(),NT.insertStyleElement=Ct();bt()(RT.A,NT);RT.A&&RT.A.locals&&RT.A.locals;function OT(t,e){var n=DT();return(OT=function(t,e){return n[t-=337]})(t,e)}!function(t){for(var e=OT,n=t();;)try{if(417321===parseInt(e(339))/1+parseInt(e(352))/2*(-parseInt(e(345))/3)+-parseInt(e(342))/4+-parseInt(e(340))/5+-parseInt(e(347))/6*(-parseInt(e(341))/7)+parseInt(e(351))/8*(parseInt(e(348))/9)+-parseInt(e(338))/10*(parseInt(e(349))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(DT);class LT extends a.View{constructor(t){var e=OT;super(t),this[e(344)]({tag:e(343),attributes:{class:["ck",e(337)]},children:[{tag:"p",attributes:{class:["ck",e(350)]},children:[{text:Zl(t,e(346))}]}]})}}function DT(){var t=["22vuWgqO","ck-ai-disclaimer__content","36472HgKtvA","14QHAYFY","ck-ai-disclaimer","2184530kylIVy","795620fXKgSz","455500fhgktw","2066113ruXxbW","1479836WFuNkx","div","setTemplate","49818QRZDas","AI_DISCLAIMER_TEXT","12rrEarb","90ijkPZn"];return(DT=function(){return t})()}var PT=r(2698),MT={attributes:{"data-cke":!0}};MT.setAttributes=Et(),MT.insert=yt().bind(null,"head"),MT.domAPI=It(),MT.insertStyleElement=Ct();bt()(PT.A,MT);PT.A&&PT.A.locals&&PT.A.locals;var VT=r(6647),BT={attributes:{"data-cke":!0}};BT.setAttributes=Et(),BT.insert=yt().bind(null,"head"),BT.domAPI=It(),BT.insertStyleElement=Ct();bt()(VT.A,BT);VT.A&&VT.A.locals&&VT.A.locals;var HT=r(547),UT={attributes:{"data-cke":!0}};UT.setAttributes=Et(),UT.insert=yt().bind(null,"head"),UT.domAPI=It(),UT.insertStyleElement=Ct();bt()(HT.A,UT);HT.A&&HT.A.locals&&HT.A.locals;var qT=zT;function FT(){var t=["ck-rounded-corners","1037787aLxBqJ","populateSourceResourceBalloon","closeSourceResourceBalloon","detachFromDom","chatControls","chatHeader","17925RLlvML","chatFeed","attachToDom","224HqQJLA","5300TaGQPu","72fpGlve","6fwxhXl","ck-ai-chat","425828ciMPcw","setTemplate","28391dIhmCt","ck-reset_all","chatDisclaimer","div","1164200BWZHvu","contextResourcesSearchInputVisibleFrom","6088824gXNnZY","uiLanguageDirection","_bodyCollection","delegate","destroy","showResizeButton","8057580dczUAm"];return(FT=function(){return t})()}function zT(t,e){var n=FT();return(zT=function(t,e){return n[t-=168]})(t,e)}!function(t){for(var e=zT,n=t();;)try{if(752117===-parseInt(e(191))/1+parseInt(e(175))/2*(-parseInt(e(173))/3)+parseInt(e(170))/4*(-parseInt(e(197))/5)+parseInt(e(189))/6+parseInt(e(183))/7+-parseInt(e(181))/8*(parseInt(e(172))/9)+parseInt(e(171))/10*(parseInt(e(177))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(FT);class GT extends a.View{[qT(196)];[qT(168)];[qT(195)];[qT(179)];[qT(185)];constructor(t,e){var n=qT;super(t),this[n(185)]=new a.BodyCollection(t),this[n(185)][n(169)](),this[n(196)]=new xT(t,e[n(188)]),this[n(196)][n(186)](...vI).to(this),this[n(168)]=new EA(t,this[n(185)]),this[n(168)][n(186)](...vI).to(this),this[n(195)]=new vT(t,{bodyCollection:this[n(185)],contextResourcesSearchInputVisibleFrom:e[n(182)]}),this[n(195)][n(186)](...vI).to(this),this[n(179)]=new LT(t),this[n(176)]({tag:n(180),attributes:{class:["ck",n(178),n(174),n(190)],dir:t[n(184)]},children:[this[n(196)],this[n(168)],this[n(195)],this[n(179)]]})}[qT(192)](t,e,n,i){var r=qT;this[r(195)][r(192)](t,e,n,i)}[qT(193)](t){var e=qT;this[e(195)][e(193)](t)}[qT(187)](){var t=qT;this[t(185)][t(194)](),super[t(187)]()}}var jT=r(4816),WT={attributes:{"data-cke":!0}};WT.setAttributes=Et(),WT.insert=yt().bind(null,"head"),WT.domAPI=It(),WT.insertStyleElement=Ct();bt()(jT.A,WT);jT.A&&jT.A.locals&&jT.A.locals;const KT=YT;function YT(t,e){const n=$T();return(YT=function(t,e){return n[t-=426]})(t,e)}function $T(){const t=["set","disableControls","capabilities","find","enableControls","isOfficialPlugin","finishInteraction","updateSuggestionItem","abort","clearPendingContextUI","_promiseQueue","5eahwtY","setSelectedModel","isWebSearchEnabled","displayedPrompt","AI_CHAT_WELCOME_MESSAGE","AITabs","setModelList","addFeedItemAIReply","removeContextItem","showDiff","createConversation","642650UzavHj","updateCapabilities","setReasoning","error-message","user-message","isModelAvailable","ai.models.showModelSelector","addFeedInteractionHeader","315TriQoR","1034352UYBcnc","interactionId","stopAutoScroll","addTab","conversationCreated","from","resetMessageInput","AI_CHAT_FEED_LOADING_MESSAGE_REASONING","1750287MYOJlG","AIChatUI","_animateConversationTitle","disableModelSelector","markFeedItemAsDone","7485aNjuKN","addFeedItemAISuggestion","updateFeedInteractionHeader","prepareLoadingMessage","7058322ovMnfd","length","forEach","setFeedItemRenderingStrategy","custom-element","populateSourceResourceBalloon","isDone","AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING","chatHeader","removeFeedInteraction","updateFeedItemAIReplySuggestionContent","requires","isDisabled","removeFeedItem","renderingStrategy","TrackChanges","view","attributes","_getInputPlaceholder","<p>","ai.chat.welcomeMessage","insertSuggestion","_titleAnimationInterval","getItemIds","setIsMaximized","isMaximized","has","fire","value","1424vGJAuQ","scrollFeedToSuggestion","clear","startAutoScroll","focusPromptInput","enableModelSelector","AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH","showResizeButton","setPromptInputValue","setConversationContext","_view","hasItem","conversation-start","setInputPlaceholder","feedItemRenderingStrategy","removeItem","1676506JKNdtM","_isTrackChangesCommandValueBound","addContextItem","contextItems","closeSourceResourceBalloon","setContextItemLoading","addItem","options","clearConversationContextUI","</p>","delegate","chatControls","isPremiumPlugin","addFeedItemError","setIsUploadInProgress","pluginName","chat","filter","ai-reply","get","addFeedItemStaticMessage","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH","queueEmptyPromise","markItemAsDone","isBusy","remove","interaction-header","plugins","label","AI_CHAT_FEED_LOADING_MESSAGE_REGULAR","resetConversationTitle","setLoadingMessage","clearLoadingMessage","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING","trackChanges","children","1029555QfPpKq","last","isPending","ai.availableReplyActions","destroy","hasFeedItem","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR","ai-suggestion-reply","availableModels","updateFeedItemAIReplyContent","then","updateFeedItemAIReplySuggestionPartState","stopInteraction","streaming","updateResourceState","setConversationTitle","startsWith","setSuggestionPartActive","scrollToSuggestion","setWebSearch","setAddContextOptions","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING","isTrackChangesOn","_interactionPromiseResolver","toggleLoadingSkeleton","AI_CHAT_HEADING","updateFeedItemAIReplySources","enqueue","values","addFeedItemUserMessage","setFeedItemAIReplySuggestionPartActive","context","toggleSuggestionDisplayMode","isReasoningEnabled","areActionsDisabled","ai.chat.context.searchInputVisibleFrom","setModel","isVisible","config","commands","updateWebSources","updateReplyItem","userMessage","isLoading","chatFeed","startInteraction","updateSuggestionPartState","addFeedItemCustomElement","locale","bind"];return($T=function(){return t})()}!function(t){const e=YT,n=t();for(;;)try{if(755305===parseInt(e(500))/1+-parseInt(e(464))/2+-parseInt(e(594))/3*(parseInt(e(448))/4)+parseInt(e(561))/5*(-parseInt(e(598))/6)+parseInt(e(589))/7+parseInt(e(581))/8+parseInt(e(580))/9*(parseInt(e(572))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($T);class QT extends n.ContextPlugin{static get[KT(430)](){return[Gl]}[KT(458)];static get[KT(479)](){return KT(590)}static get[KT(555)](){return!0}static get[KT(476)](){return!0}[KT(462)]=KT(513);[KT(570)]=!0;[KT(560)];[KT(523)];[KT(441)]=void 0;[KT(465)]=!1;constructor(t){const e=KT;super(t);const n=this[e(531)][e(491)][e(483)](e(566));this[e(550)](e(488),!1),this[e(560)]=new xv,this[e(458)]=new GT(this[e(531)][e(548)],{showResizeButton:n[e(455)],contextResourcesSearchInputVisibleFrom:this[e(531)][e(538)][e(483)](e(535))}),this[e(458)][e(474)](...vI).to(this),this[e(458)].on(e(532),(t,{showDiff:n})=>{this[e(570)]=n}),n[e(435)][e(584)]({id:e(480),buttonLabel:Zl(this[e(531)][e(548)],e(525)),buttonIcon:i.IconAIChat,order:0,content:this[e(458)]}),this[e(458)][e(475)][e(549)](e(543)).to(this,e(488),t=>t),this[e(458)][e(544)][e(549)](e(502)).to(this,e(488),t=>t),this[e(458)][e(475)][e(461)](this[e(437)]()),this[e(549)](e(577)).to(this[e(458)][e(475)],e(577))}[KT(504)](){const t=KT;super[t(504)](),this[t(441)]&&clearInterval(this[t(441)])}[KT(571)](t){const e=KT,n=this[e(531)][e(538)][e(483)](e(439))??Zl(this[e(531)][e(548)],e(565));this[e(458)][e(544)][e(450)](),this[e(458)][e(475)][e(453)](),this[e(458)][e(475)][e(567)](t[e(508)],!this[e(531)][e(538)][e(483)](e(578))),this[e(484)]({id:e(460),staticMessage:n}),this[e(446)](e(585))}[KT(484)]({id:t,staticMessage:e}){const n=KT;this[n(458)][n(544)][n(470)](n(482),{id:t,initialContent:n(438)+e+n(473)})}[KT(529)](t){const e=KT,n=t[e(436)]?.[e(564)]||t[e(542)];this[e(458)][e(544)][e(470)](e(576),{contextItems:Array[e(586)](t[e(467)][e(528)]()),initialContent:e(438)+n+e(473),id:t.id})}[KT(477)]({errorMessage:t,id:e}){const n=KT;this[n(458)][n(544)][n(470)](n(575),{initialContent:n(438)+t+n(473),id:e})}[KT(568)](t){const e=KT;return this[e(560)][e(527)](async()=>{const n=e;this[n(458)][n(544)][n(470)](n(482),{id:t[n(582)]+":"+t.id}),this[n(496)]()})}async[KT(595)](t){const e=KT,n=eI(this[e(531)]);let i=n[e(538)][e(483)](e(503))||[...Bv];if(n[e(491)][e(445)](e(434))){if(!this[e(465)]){this[e(465)]=!0;const t=n[e(539)][e(483)](e(498));this[e(458)][e(544)][e(549)](e(522)).to(t,e(447))}}else i=i[e(481)](t=>e(440)!=t);return this[e(560)][e(527)](async()=>{const n=e;this[n(458)][n(544)][n(470)](n(507),{id:t[n(582)]+":"+t.id,areActionsDisabled:t[n(534)],showDiff:this[n(570)],availableActions:i}),this[n(496)]()})}[KT(579)](t,e){const n=KT,i=this[n(458)][n(544)][n(499)][n(501)];if(i instanceof Zy)return this[n(458)][n(544)][n(499)][n(489)](i),void this[n(458)][n(544)][n(470)](n(490),{id:t.id,capabilities:{isWebSearchEnabled:i[n(552)][n(563)]||e[n(563)],isReasoningEnabled:i[n(552)][n(533)]||e[n(533)]}});this[n(458)][n(544)][n(470)](n(490),{id:t.id,capabilities:e})}async[KT(547)](t,e){const n=KT;let i;return await this[n(560)][n(527)](async()=>{const r=n;i=this[r(458)][r(544)][r(470)](r(602),{content:t,id:e})}),i}[KT(432)](t){const e=KT;this[e(458)][e(544)][e(463)](t)}[KT(505)](t){const e=KT;return this[e(458)][e(544)][e(459)](t)}[KT(596)](t){const e=KT,n=this[e(458)][e(544)][e(499)][e(553)](n=>n[e(471)].id==t.id&&n instanceof Zy);n&&n[e(550)](e(537),t[e(537)])}async[KT(509)](t){const e=KT,n=t[e(433)]||this[e(462)];return this[e(560)][e(527)](async i=>{const r=e;await this[r(458)][r(544)][r(541)]({...t,abortSignal:i,renderingStrategy:n}),t[r(604)]&&this[r(593)](t.id)})}[KT(526)](t,e){const n=KT;this[n(458)][n(544)][n(540)](t,e)}async[KT(429)](t){const e=KT,n=t[e(433)]||this[e(462)];return this[e(560)][e(527)](async i=>{const r=e;await this[r(458)][r(544)][r(557)]({...t,abortSignal:i,renderingStrategy:n}),t[r(604)]&&this[r(593)](t.id)})}[KT(511)](t){const e=KT;this[e(458)][e(544)][e(546)](t)}[KT(530)](t){const e=KT;this[e(458)][e(544)][e(517)](t)}[KT(593)](t){const e=KT;this[e(458)][e(544)][e(487)](t)}[KT(428)](t){const e=KT;this[e(458)][e(544)][e(442)]()[e(481)](n=>n[e(516)](t))[e(600)](t=>this[e(458)][e(544)][e(463)](t))}[KT(545)](){const t=KT,e=this[t(597)]({isWebSearchEnabled:!1,isReasoningEnabled:!1});this[t(495)](e),this[t(458)][t(475)][t(592)](!this[t(531)][t(538)][t(483)](t(578))),this[t(488)]=!0,this[t(458)][t(544)][t(451)]()}[KT(512)](t){const e=KT;this[e(560)][e(558)](),this[e(458)][e(544)][e(442)]()[e(481)](n=>n[e(516)](t.id))[e(600)](t=>this[e(593)](t)),this[e(488)]=!1,this[e(458)][e(544)][e(583)]()}async[KT(556)](){const t=KT;return this[t(560)][t(486)][t(510)](()=>{const e=t;this[e(488)]=!1,this[e(458)][e(544)][e(583)]()})}[KT(466)](t,e){const n=KT;this[n(458)][n(475)][n(466)](t,e)}[KT(569)](t){const e=KT;this[e(458)][e(475)][e(569)](t)}[KT(469)](t,e){const n=KT;this[n(458)][n(475)][n(469)](t,e)}[KT(478)](t){const e=KT;this[e(458)][e(475)][e(478)](t)}[KT(457)](t){const e=KT;this[e(458)][e(475)][e(457)](t)}[KT(559)](){const t=KT;this[t(458)][t(475)][t(559)]()}[KT(472)](){const t=KT;this[t(458)][t(475)][t(472)]()}[KT(514)](t,e,n){const i=KT;this[i(458)][i(475)][i(514)](t,e,n)}[KT(587)](){const t=KT;this[t(458)][t(475)][t(587)](),this[t(458)][t(475)][t(461)](this[t(437)]())}[KT(520)](t){const e=KT;this[e(458)][e(475)][e(520)](t)}[KT(573)](t){const e=KT;this[e(458)][e(475)][e(519)](t[e(563)]),this[e(458)][e(475)][e(574)](t[e(533)]),this[e(458)][e(475)][e(461)](this[e(437)](t))}[KT(562)](t,e){const n=KT;this[n(458)][n(475)][n(536)](t),e&&this[n(458)][n(475)][n(592)](!1)}[KT(601)](t){this[KT(462)]=t}[KT(524)](t){const e=KT;this[e(458)][e(544)][e(524)](t)}[KT(494)](){const t=KT;this[t(515)](Zl(this[t(531)][t(548)],t(525)))}[KT(515)](t,e=!1){const n=KT;if(e&&!(0,o._isMotionReduced)()&&t[n(599)])return this[n(458)][n(427)][n(492)]="",void this[n(591)](t);this[n(458)][n(427)][n(492)]=t}[KT(495)](t){const e=KT;this[e(458)][e(544)][e(495)](t)}[KT(496)](){const t=KT;this[t(458)][t(544)][t(495)]("")}[KT(591)](t){const e=KT;let n=0;clearInterval(this[e(441)]),this[e(441)]=setInterval(()=>{const i=e;this[i(458)][i(427)][i(492)]=this[i(458)][i(427)][i(492)]+t[n],n++,n===t[i(599)]&&clearInterval(this[i(441)])},30)}[KT(443)](t){const e=KT;this[e(458)][e(427)][e(444)]=t}[KT(597)](t){const e=KT;return t[e(563)]&&t[e(533)]?Zl(this[e(531)][e(548)],e(426)):t[e(563)]?Zl(this[e(531)][e(548)],e(454)):t[e(533)]?Zl(this[e(531)][e(548)],e(588)):Zl(this[e(531)][e(548)],e(493))}[KT(437)](t){const e=KT;return t?t[e(563)]&&t[e(533)]?Zl(this[e(531)][e(548)],e(521)):t[e(563)]?Zl(this[e(531)][e(548)],e(485)):t[e(533)]?Zl(this[e(531)][e(548)],e(497)):Zl(this[e(531)][e(548)],e(506)):Zl(this[e(531)][e(548)],e(506))}[KT(603)](t,e,n,i){const r=KT;this[r(458)][r(603)](t,e,n,i)}[KT(468)](t){const e=KT;this[e(458)][e(468)](t)}[KT(456)](t){const e=KT;this[e(458)][e(475)][e(456)](t)}[KT(452)](t=!1){const e=KT;this[e(458)][e(475)][e(452)](t)}[KT(449)](t,e){const n=KT;this[n(458)][n(544)][n(518)](t,e)}[KT(451)](){const t=KT;this[t(458)][t(544)][t(451)]()}[KT(551)](){const t=KT;this[t(458)][t(475)][t(431)]=!0}[KT(554)](){const t=KT;this[t(458)][t(475)][t(431)]=!1}}function XT(t,e){const n=ZT();return(XT=function(t,e){return n[t-=205]})(t,e)}const JT=XT;function ZT(){const t=["items","806184hqOLSJ","filter","ck-ai-chat-history__sections","6383403FWqMjA","2672225vWkPII","28hAITmj","3952476xlGUaf","5067792BOLIhO","3364932YBJzJL","sections","addMany","extendTemplate","8238CXcedQ","226OdetNv"];return(ZT=function(){return t})()}!function(t){const e=XT,n=t();for(;;)try{if(891909===parseInt(e(213))/1*(parseInt(e(214))/2)+parseInt(e(208))/3+-parseInt(e(209))/4+-parseInt(e(205))/5+-parseInt(e(207))/6+-parseInt(e(206))/7*(parseInt(e(216))/8)+parseInt(e(219))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ZT);class tC extends a.ListView{[JT(210)];constructor(t,e){const n=JT;super(t),this[n(210)]=e,this[n(215)][n(211)](this[n(210)]),this[n(212)]({attributes:{class:[n(218)]}})}[JT(217)](t){const e=JT;let n=0,i=0;for(const r of this[e(210)]){const{resultsCount:s,totalItemsCount:o}=r[e(217)](t);n+=s,i+=o}return{resultsCount:n,totalItemsCount:i}}}function eC(){const t=["6KuhhAD","bindTemplate","4419690RaQwyv","isVisible","104uDFgFM","splice","ck-hidden","filter","187887tFUrlB","setTemplate","getItem","341518roAckw","itemsViews","length","title","8QCZDuI","isMatching","find","div","removeItem","set","_itemsListView","indexOf","addMany","130vZhPNQ","232538jAWnAu","401994Smqlgq","items","ck-ai-chat-history__section-title","ck-ai-chat-history__section","2370755cOyodb","379887XYZBmJ","remove","highlightText"];return(eC=function(){return t})()}const nC=iC;function iC(t,e){const n=eC();return(iC=function(t,e){return n[t-=151]})(t,e)}!function(t){const e=iC,n=t();for(;;)try{if(309403===parseInt(e(151))/1+parseInt(e(171))/2+parseInt(e(157))/3*(-parseInt(e(175))/4)+-parseInt(e(156))/5*(parseInt(e(160))/6)+-parseInt(e(168))/7*(parseInt(e(164))/8)+-parseInt(e(152))/9*(-parseInt(e(184))/10)+parseInt(e(162))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(eC);class rC extends a.ListItemView{[nC(174)];[nC(172)];[nC(181)];constructor(t,{title:e,items:n}){const i=nC;super(t);const r=this[i(161)];this[i(180)](i(163),!0),this[i(174)]=e,this[i(172)]=n;const s=new a.View(t);s[i(169)]({tag:i(178),attributes:{class:[i(154)]},children:[this[i(174)]]}),this[i(181)]=new a.ListView(t),this[i(181)][i(153)][i(183)](this[i(172)]),this[i(169)]({tag:"li",attributes:{class:[i(155),r.if(i(163),i(166),t=>!t)]},children:[s,this[i(181)]]})}[nC(167)](t){const e=nC,n=this[e(172)][e(173)];let i=0;for(const n of this[e(172)]){if(t){const i=n[e(176)](t);n[e(163)]=!!i,n[e(159)](t)}else n[e(163)]=!0,n[e(159)](null);n[e(163)]&&i++}return this[e(163)]=i>0,{resultsCount:i,totalItemsCount:n}}[nC(170)](t){const e=nC;return this[e(172)][e(177)](e=>e.id===t)}[nC(179)](t){const e=nC,n=this[e(172)][e(182)](t);-1!==n&&(this[e(172)][e(165)](n,1),this[e(181)][e(153)][e(158)](t))}}function sC(){const t=["AI_CHAT_HISTORY_EDIT_NAME","AI_CHAT_HISTORY_ACCEPT","label","loadingState","isMatching","ck-ai-chat-history__item","showConfirm","actions","selectConversation","ck-ai-chat-history__item-row","417476BCpbdN","ck-ai-chat-history__item-check","bind","AI_CHAT_HISTORY_REMOVE","highlightText","bindTemplate","edit:cancel","clear","element","AI_CHAT_HISTORY_CANCEL","_createCheckView","createCollection","LOADING_LABELS","string","value","setConversationPinned","_createCancelEditButtonView","ck-ai-chat-history__item-content","AI_CHAT_HISTORY_SHOW_MORE_ITEMS","51iEWYDw","text","9173130jTKKGI","3305889YmvmdX","ck-confirm-view-submit","panelPosition","then","_createMenuDropdownView","_createPinButtonView","pinned","span","ck-hidden","ck-ai-chat-history__item-date","children","ck-ai-chat-history__item--active","key","25352oXyDAC","panelView","ck-ai-chat-history__item-check-container","set","_createSpinnerView","removeConversation","items","ck-ai-loader__text","ck-confirm-view-cancel","updateLoadingState","ck-ai-chat-history__item-main-content","AI_CHAT_HISTORY_LOADING_REMOVING","addMany","_createAcceptEditButtonView","extendTemplate","div","isVisible","execute","isOn","fire","AI_CHAT_HISTORY_PIN_BUTTON","16buOfsY","_titleView","editConversationTitle","withText","2634443uDnbLN","change:isEdit","ck-ai-chat-history__item-title","listitem","AI_CHAT_HISTORY_LOADING_PINNING","updateTitle","mainContent","click","ck-ai-chat-history__item-actions","buttonView","add","835942ITtuMn","focus","ck-ai-chat-history__item--edit","AI_CHAT_HISTORY_LOADING_UNPINNING","match","isEdit","3087285mwGyts","tiny","_commitEditInputValue","12GhOeEy","setTemplate","ck-ai-loader","Enter","AI_CHAT_HISTORY_LOADING_RENAMING","_createEditInputView","AI_CHAT_HISTORY_REMOVE_CONFIRM","locale"];return(sC=function(){return t})()}const oC=aC;function aC(t,e){const n=sC();return(aC=function(t,e){return n[t-=187]})(t,e)}!function(t){const e=aC,n=t();for(;;)try{if(389051===parseInt(e(255))/1+-parseInt(e(228))/2+-parseInt(e(274))/3*(-parseInt(e(192))/4)+-parseInt(e(234))/5+parseInt(e(237))/6*(-parseInt(e(217))/7)+parseInt(e(213))/8*(parseInt(e(277))/9)+parseInt(e(276))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(sC);class cC extends((0,xb.ConfirmMixin)(a.ListItemView)){id;static[oC(267)]={remove:oC(203),rename:oC(241),pin:oC(221),unpin:oC(231)};[oC(252)];[oC(223)];[oC(214)];constructor(t,e){const n=oC;super(t);const i=this[n(260)];this[n(195)](n(233),!1),this[n(195)](n(208),!0),this[n(195)](n(283),!!e[n(283)]),this[n(195)](n(248),null),this.id=e.id;const{title:r,createdAt:s,active:o=!1}=e;this[n(214)]=new a.HighlightedTextView,this[n(214)][n(275)]=r,this[n(214)][n(206)]({attributes:{class:[n(219)]}});const c=this[n(265)](),l=this[n(282)](t),u=this[n(281)](),h=this[n(242)](t,r),d=this[n(205)](t,h),p=this[n(271)](t,h);this[n(252)]=this[n(266)](),this[n(223)]=this[n(266)](),this[n(223)][n(227)](this[n(214)]),this[n(252)][n(227)](l),this[n(252)][n(227)](u),this.on(n(218),(t,e,i)=>{const r=n;this[r(252)][r(262)](),this[r(223)][r(262)](),i?(this[r(252)][r(227)](d),this[r(252)][r(227)](p),this[r(223)][r(227)](h),h[r(263)][r(229)]()):(this[r(252)][r(227)](l),this[r(252)][r(227)](u),this[r(223)][r(227)](this[r(214)]))}),this[n(238)]({tag:"li",attributes:{class:[n(250),o?n(190):"",i.if(n(208),n(187),t=>!t),i.if(n(233),n(230))],role:n(220)},children:[{tag:n(284),attributes:{class:[n(194)]},children:[{tag:n(207),attributes:{class:[n(256),i.if(n(248),n(187),t=>!!t)]},children:o?[c]:[]},{tag:n(207),attributes:{class:[n(239),i.if(n(248),n(187),t=>!t)]},children:[this[n(196)]()]}]},{tag:n(207),attributes:{class:[n(254)]},children:[{tag:n(207),attributes:{class:[n(272)]},on:{click:this[n(260)].to(n(224))},children:[{tag:n(207),attributes:{class:[n(202)]},children:[{tag:n(207),attributes:{class:[n(219),i.if(n(248),n(187),t=>!!t)]},children:this[n(223)]},{tag:n(207),attributes:{class:[n(199),i.if(n(248),n(187),t=>!t)]},children:[{text:i.to(n(248),t=>t?Zl(this[n(244)],cC[n(267)][t]):"")}]}]},{tag:n(284),attributes:{class:[n(188)]},children:[s]}]},{tag:n(207),attributes:{class:[n(225)]},children:this[n(252)]}]}]}),this.on(n(224),()=>{const t=n;this[t(233)]||this[t(211)](t(253),{id:this.id})})}[oC(222)](t){const e=oC;this[e(214)][e(275)]=pt(t)}[oC(201)](t,e){const n=oC;this[n(195)](n(248),e?t:null)}[oC(265)](){const t=oC,e=new a.IconView;return e[t(195)]({content:i.IconCheck}),e}[oC(282)](t){const e=oC,n=new a.ButtonView(t);return n[e(195)]({label:Zl(t,e(212)),icon:i.IconPin,withText:!1,tooltip:!0}),n[e(257)](e(210)).to(this,e(283)),n.on(e(209),()=>{const t=e,n=!this[t(283)];this[t(211)](t(270),{id:this.id,pinned:n})}),n}[oC(281)](){const t=oC,e=(0,a.createDropdown)(this[t(244)],xb.LateFocusDropdownButtonView),n=e[t(193)][t(189)];e[t(226)][t(195)]({label:Zl(this[t(244)],t(273)),icon:i.IconThreeHorizontalDots}),e[t(279)]="sw";const r=new a.ButtonView(this[t(244)]);r[t(247)]=Zl(this[t(244)],t(245)),r[t(216)]=!0,r.on(t(209),()=>{this[t(233)]=!0});const s=new a.ButtonView(this[t(244)]);s[t(247)]=Zl(this[t(244)],t(258)),s[t(216)]=!0,s.on(t(209),()=>{const e=t;this[e(251)](Zl(this[e(244)],e(243)),this[e(263)])[e(280)](()=>{const t=e;this[t(211)](t(197),{id:this.id})})});const o=new a.ListView(this[t(244)]),c=new a.ListItemView(this[t(244)]);c[t(189)][t(227)](r);const l=new a.ListItemView(this[t(244)]);return l[t(189)][t(227)](s),o[t(198)][t(204)]([c,l]),n[t(227)](o),e}[oC(242)](t,e){const n=oC,i=new a.InputTextView(t),r=i[n(260)];return i[n(269)]=e,i[n(206)]({on:{keydown:r.to(t=>{const e=n;e(240)==t[e(191)]&&this[e(236)](i)})}}),i}[oC(205)](t,e){const n=oC,r=new a.ButtonView(t);return r[n(195)]({icon:i.IconCheck,withText:!1,tooltip:Zl(t,n(246))}),r[n(206)]({attributes:{class:[n(278)]}}),r.on(n(209),()=>{this[n(236)](e)}),r}[oC(236)](t){const e=oC,n=t[e(263)][e(269)]||"";this[e(214)][e(275)]=n,this[e(233)]=!1,this[e(211)](e(215),{id:this.id,title:n})}[oC(271)](t,e){const n=oC,r=new a.ButtonView(t);return r[n(195)]({icon:i.IconCancel,withText:!1,tooltip:Zl(t,n(264))}),r[n(206)]({attributes:{class:[n(200)]}}),r.on(n(209),()=>{const t=n;this[t(233)]=!1,e[t(269)]=this[t(214)][t(275)]||"",this[t(211)](t(261))}),r}[oC(196)](){const t=oC,e=new ky(t(235));return e[t(208)]=!0,e}[oC(249)](t){const e=oC;return this[e(214)]&&e(268)==typeof this[e(214)][e(275)]&&this[e(214)][e(275)][e(232)](t)?{title:!0}:null}[oC(259)](t){const e=oC;this[e(214)][e(259)](t)}}const lC=hC;function uC(){const t=["itemsViews","AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY","indexOf","_createSkeletonView","AI_CHAT_HISTORY_SEARCH_LABEL","ck-ai-chat__start-conversation","removeHistoryItem","hasItems","clear","10201662zaaIBG","updateItemTitle","679848KEWgll","3982992YzbEak","ltr","isVisible","_createListItemViews","errorMessage","isEmptyViewVisible","sectionsView","bindTemplate","ck-ai-notification","ck-ai-chat-history__empty-message","change:errorMessage","ck-rounded-corners","emptyView","queryView","_createErrorView","splice","isMaximized","openChat","ck-reset_all","value","fieldView","AI_CHAT_LABEL_NEW_CHAT","30ZkZVYd","removeItem","getItem","isMainErrorViewVisible","ck-ai-notification_error__dismiss-button","search","sections","fire","children","bind","_refreshSearch","extendTemplate","aiHistory","updateLoadingState","render","isLoading","searchView","AI_CHAT_HISTORY_HEADING","updateTitle","execute","ck-ai-chat-history","title","4nNUoRP","ck-ai-chat-history__empty","some","isSearchViewVisible","updateItemLoadingState","35MKBcow","remove","207032vMrgVA","setTemplate","447602EIDVbC","element","ck-ai-header ck-ai-header_history","ck-ai-notification_error","delegate","updateHistoryItemsWithCategories","2821074MztQoG","ck-ai-chat-history__content","change:isLoading","_createSearchView","ck-hidden","resizeButton","skeletonView","items","change:hasItems","_createEmptyStateView","mainErrorView","div","set","push","_updateViewVisibility","3660695vMaVpY","length","locale","add","AI_CHAT_HISTORY_EMPTY_MESSAGE","AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY","addMany"];return(uC=function(){return t})()}function hC(t,e){const n=uC();return(hC=function(t,e){return n[t-=430]})(t,e)}!function(t){const e=hC,n=t();for(;;)try{if(478783===-parseInt(e(519))/1+parseInt(e(480))/2+-parseInt(e(486))/3+-parseInt(e(471))/4*(parseInt(e(501))/5)+-parseInt(e(520))/6+-parseInt(e(476))/7*(parseInt(e(478))/8)+-parseInt(e(517))/9*(-parseInt(e(449))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(uC);class dC extends a.View{[lC(465)];[lC(496)];[lC(492)];[lC(439)];[lC(433)];[lC(491)];constructor(t,e){const n=lC;super(t),this[n(498)](n(515),!1),this[n(498)](n(464),!0),this[n(498)](n(431),""),this[n(498)](n(443),!1),this[n(498)](n(474),!1),this[n(498)](n(432),!1),this[n(498)](n(452),!1);const r=new a.FormHeaderView(t,{label:Zl(t,n(466)),icon:i.IconAIHistory,class:n(482)});e&&(this[n(491)]=ru(t,this),r[n(457)][n(504)](this[n(491)])),this[n(433)]=new tC(t,[]),this[n(433)][n(484)](...mC).to(this),this[n(496)]=this[n(441)](),this[n(492)]=this[n(511)](),this[n(439)]=this[n(495)](),this[n(465)]=this[n(489)](),this[n(496)][n(460)]({attributes:{class:[this[n(434)].if(n(452),n(490),t=>!t)]}}),this.on(n(488),()=>this[n(500)]()),this.on(n(494),()=>this[n(500)]()),this.on(n(437),()=>this[n(500)]()),this[n(479)]({tag:n(497),attributes:{class:["ck",n(445),n(469),n(438)],dir:n(521)},children:[r,{tag:n(497),attributes:{class:[n(487)]},children:[this[n(492)],this[n(496)],this[n(439)],this[n(465)]]}]})}[lC(500)](){const t=lC;this[t(474)]=!this[t(464)]&&this[t(515)],this[t(432)]=!this[t(464)]&&!this[t(515)]&&!this[t(431)],this[t(452)]=!this[t(474)]&&!!this[t(431)]}[lC(489)](){const t=lC,e=new a.SearchTextView(this[t(503)],{filteredView:this[t(433)],queryView:{label:Zl(this[t(503)],t(512))},infoView:{text:{notFound:{primary:e=>Zl(this[t(503)],t(506),e),secondary:Zl(this[t(503)],t(509))}}}}),n=this[t(441)]();return n[t(460)]({attributes:{class:[this[t(434)].if(t(431),t(490),t=>!t)]}}),e.on(t(463),()=>{const i=t;e[i(457)][i(504)](n,1)}),e[t(460)]({attributes:{class:[this[t(434)].if(t(474),t(490),t=>!t)]}}),e}[lC(511)](){const t=lC,e=new pA(this[t(503)],fA[t(461)]);return e[t(460)]({attributes:{class:[this[t(434)].if(t(464),t(490),t=>!t)]}}),e}[lC(441)](){const t=lC,e=new a.View(this[t(503)]),n=new a.ButtonView(this[t(503)]);n[t(498)]({withText:!1,icon:i.IconCancel,class:t(453)}),n[t(458)](t(522)).to(this,t(515),t=>!!t),n.on(t(468),()=>{this[t(431)]=""});const r=this[t(434)];return e[t(479)]({tag:t(497),attributes:{class:["ck",t(435),t(483)]},children:[{tag:"p",children:[{text:r.to(t(431))}]},n]}),e}[lC(495)](){const t=lC,e=new a.ButtonView(this[t(503)]);e[t(498)]({label:Zl(this[t(503)],t(448)),withText:!0,icon:i.IconPlus,class:t(513)}),e.on(t(468),()=>{const e=t;this[e(456)](e(444))});const n=new a.View(this[t(503)]);return n[t(479)]({tag:t(497),attributes:{class:[t(472),this[t(434)].if(t(432),t(490),t=>!t)]},children:[{tag:"p",attributes:{class:[t(436)]},children:[Zl(this[t(503)],t(505))]},e]}),n}[lC(430)](t,e){const n=lC,i=[];for(const r of t){const t=new cC(e,r);t[n(484)](...mC).to(this),i[n(499)](t)}return i}[lC(485)](t){const e=lC,n=this[e(503)]||"en",i=[];for(const r of t){const t=this[e(430)](r[e(493)],n);i[e(499)](new rC(n,{title:r[e(470)],items:t}))}this[e(433)][e(455)]=i,this[e(433)][e(493)][e(516)](),this[e(433)][e(493)][e(507)](i),this[e(515)]=t[e(473)](t=>t[e(493)][e(502)]>0),this[e(459)]()}[lC(514)](t){const e=lC;for(const n of this[e(433)][e(455)]){const i=n[e(451)](t);if(i){if(n[e(450)](i),0===n[e(508)][e(502)]){const t=this[e(433)][e(455)][e(510)](n);-1!==t&&(this[e(433)][e(455)][e(442)](t,1),this[e(433)][e(493)][e(477)](n))}this[e(515)]=this[e(433)][e(455)][e(502)]>0,this[e(459)]();break}}}[lC(518)](t,e){const n=lC;for(const i of this[n(433)][n(455)]){const r=i[n(451)](t);if(r){r[n(467)](e);break}}}[lC(475)](t,e,n){const i=lC;for(const r of this[i(433)][i(455)]){const s=r[i(451)](t);if(s){s[i(462)](e,n);break}}}[lC(459)](){const t=lC;if(this[t(515)]){const e=this[t(465)][t(440)][t(447)]?.[t(481)]?.[t(446)]||"";this[t(465)][t(454)](e)}}}var pC=r(5190),fC={attributes:{"data-cke":!0}};fC.setAttributes=Et(),fC.insert=yt().bind(null,"head"),fC.domAPI=It(),fC.insertStyleElement=Ct();bt()(pC.A,fC);pC.A&&pC.A.locals&&pC.A.locals;const gC=kC;!function(t){const e=kC,n=t();for(;;)try{if(561417===parseInt(e(352))/1*(-parseInt(e(369))/2)+parseInt(e(359))/3*(parseInt(e(395))/4)+parseInt(e(360))/5*(parseInt(e(388))/6)+-parseInt(e(394))/7*(-parseInt(e(377))/8)+parseInt(e(373))/9*(-parseInt(e(374))/10)+parseInt(e(368))/11*(parseInt(e(387))/12)+-parseInt(e(354))/13)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bC);const mC=[gC(378),gC(393),gC(366),gC(365),gC(390),gC(371),gC(385)];function kC(t,e){const n=bC();return(kC=function(t,e){return n[t-=352]})(t,e)}class _C extends n.ContextPlugin{static get[gC(353)](){return[Gl]}[gC(398)];static get[gC(375)](){return gC(391)}static get[gC(396)](){return!0}static get[gC(376)](){return!0}constructor(t){const e=gC;super(t);const n=this[e(372)][e(379)][e(386)](e(382));this[e(398)]=new dC(this[e(372)][e(389)],n[e(355)]),this[e(398)][e(370)](...mC).to(this),n[e(363)][e(357)]({id:e(392),buttonLabel:Zl(this[e(372)][e(389)],e(399)),buttonIcon:i.IconAIHistory,order:0,content:this[e(398)]})}[gC(380)](t){const e=gC;this[e(398)][e(380)](t)}[gC(400)](t){const e=gC;this[e(398)][e(397)](t)}[gC(383)](t,e){const n=gC;this[n(398)][n(383)](t,e)}[gC(384)](t,e,n){const i=gC;this[i(398)][i(384)](t,e,n)}[gC(381)](t){const e=gC;this[e(398)][e(358)]=t}[gC(364)](t){const e=gC;this[e(398)][e(367)]=t}[gC(356)](){const t=gC;this[t(398)][t(367)]=""}[gC(362)](t){const e=gC;this[e(398)][e(361)]=t}}function bC(){const t=["7846512cOLDcR","showConversationHistory","plugins","removeHistoryItem","setLoadingSkeleton","AITabs","updateItemTitle","updateItemLoadingState","resizeTabs","get","4822404AGygTc","132uilULd","locale","selectConversation","AIChatHistoryUI","history","removeConversation","7oLZKYP","8kkzJSd","isOfficialPlugin","updateHistoryItemsWithCategories","_historyView","AI_CHAT_HISTORY_HEADING","updateItems","211dKsVip","requires","18123287EtvEZm","showResizeButton","hideError","addTab","isLoading","1528338JItoiq","9085wMwYea","isMaximized","setIsMaximized","view","showError","setConversationPinned","editConversationTitle","errorMessage","11jfFNLI","562kGrdld","delegate","openChat","context","20214boULJL","1900DkKDOF","pluginName","isPremiumPlugin"];return(bC=function(){return t})()}var wC=vC;function IC(){var t=["6fURkWH","20320lKJOdT","2yBzXHj","3533872ZgSKWG","title","987888eBJFYY","set","362870RXxTqY","updateTitle","7817800AzBtDa","pinned","710717ZbOZlg","340kKxFuG","updatePinned","30960lypjNh","createdAt","updatedAt"];return(IC=function(){return t})()}function vC(t,e){var n=IC();return(vC=function(t,e){return n[t-=422]})(t,e)}!function(t){for(var e=vC,n=t();;)try{if(283999===parseInt(e(424))/1*(-parseInt(e(429))/2)+-parseInt(e(427))/3+parseInt(e(434))/4*(-parseInt(e(423))/5)+parseInt(e(422))/6*(parseInt(e(433))/7)+parseInt(e(425))/8+-parseInt(e(436))/9+parseInt(e(431))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(IC);class yC extends((0,o.ObservableMixin)()){id;[wC(437)];constructor({id:t,title:e,createdAt:n,updatedAt:i,pinned:r}){var s=wC;super(),this.id=t,this[s(437)]=new Date(n),this[s(428)](s(426),e),this[s(428)](s(438),i?new Date(i):null),this[s(428)](s(432),r||!1)}[wC(430)](t){var e=wC;this[e(428)](e(426),pt(t)),this[e(438)]=new Date}[wC(435)](t){var e=wC;this[e(428)](e(432),t),this[e(438)]=new Date}}const AC=EC;function EC(t,e){const n=TC();return(EC=function(t,e){return n[t-=138]})(t,e)}function TC(){const t=["push","getResult","updatePinned","addItem","removeItem","getItems","1125477hGJAcL","getConversations","7wCOPGk","getTime","splice","findIndex","error","group","from","fetchConversations","getMonth","266764DWPbJy","connector","getDate","updateItemTitle","deleteConversation","createdAt","itemUpdated","fire","pinned","itemRemoved","getItem","execute","5oSgdrI","updateItemPinned","filter","map","9005733PvOZnT","updateConversation","items","10QWAhPI","loadItems","185722MZKRNp","itemsLoaded","updateTitle","find","599532YGRfLa","getFullYear","init","1930800GRbJLn","438198gffFbf","2eKiJNP"];return(TC=function(){return t})()}!function(t){const e=EC,n=t();for(;;)try{if(153743===-parseInt(e(145))/1*(parseInt(e(154))/2)+-parseInt(e(153))/3+-parseInt(e(172))/4*(parseInt(e(184))/5)+-parseInt(e(149))/6*(-parseInt(e(163))/7)+-parseInt(e(152))/8+parseInt(e(161))/9*(-parseInt(e(143))/10)+parseInt(e(140))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(TC);class CC extends((0,o.EmitterMixin)()){[AC(142)]=[];[AC(173)];[AC(168)];constructor({connector:t,group:e}){const n=AC;super(),this[n(173)]=t,this[n(168)]=e}async[AC(151)](){const t=AC;try{const e=this[t(173)][t(170)](this[t(168)]),n=await e[t(162)]();this[t(144)](n)}catch(e){this[t(179)](t(167),{error:e,operation:t(151)})}}[AC(158)](t){const e=AC;this[e(142)][e(155)](t)}async[AC(159)](t){const e=AC,n=this[e(142)][e(166)](e=>e.id===t);if(-1===n)return!1;try{return await this[e(173)][e(176)](t)[e(183)](),this[e(142)][e(165)](n,1),this[e(179)](e(181),{itemId:t}),!0}catch(n){return this[e(179)](e(167),{error:n,operation:e(159),itemId:t}),!1}}[AC(182)](t){const e=AC;return this[e(142)][e(148)](e=>e.id===t)}async[AC(175)](t,e){const n=AC,i=this[n(182)](t);if(!i)return!1;try{return await this[n(173)][n(141)](t,{title:e})[n(156)](),i[n(147)](e),this[n(179)](n(178),{itemId:t,updates:{title:e}}),!0}catch(e){return this[n(179)](n(167),{error:e,operation:n(175),itemId:t}),!1}}async[AC(185)](t,e){const n=AC,i=this[n(182)](t);if(!i)return!1;try{return await this[n(173)][n(141)](t,{pinned:e})[n(156)](),i[n(157)](e),this[n(179)](n(178),{itemId:t,updates:{pinned:e}}),!0}catch(e){return this[n(179)](n(167),{error:e,operation:n(185),itemId:t}),!1}}[AC(144)](t){const e=AC;try{this[e(142)]=[],t[e(139)](t=>{this[e(158)](new yC(t))}),this[e(179)](e(146),{items:[...this[e(142)]]})}catch(t){this[e(179)](e(167),{error:t,operation:e(144)})}}[AC(160)](t={}){const e=AC,n=void 0!==t[e(180)]&&t[e(180)],i=t[e(169)]?new Date(t[e(169)][e(150)](),t[e(169)][e(171)](),t[e(169)][e(174)]()):null,r=t.to?new Date(t.to[e(150)](),t.to[e(171)](),t.to[e(174)]()):null;return this[e(142)][e(138)](t=>{const s=e;if(t[s(180)]!==n)return!1;if(r){const e=new Date(t[s(177)][s(150)](),t[s(177)][s(171)](),t[s(177)][s(174)]());return i?i[s(164)]()===r[s(164)]()?e[s(164)]()===i[s(164)]():e<r&&e>=i:e<r}return!0})}}const SC=RC;function xC(){const t=["change:activeConversation","getMonth","_aiConnector","AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS","setIsMaximized","removeHistoryItem","remove","itemId","setLoadingSkeleton","itemsLoaded","handleRemovedConversation","AI_CHAT_HISTORY_PIN_ACTION","_getCategorizedItems","get","removeItem","title","8034000nSJLTa","118825MLDaZy","AI_CHAT_HISTORY_ERROR_UPDATE_PINNED","activeConversation","chat","_clearItemLoading","showError","openChat","updateItemLoadingState","map","AI_CHAT_HISTORY_ERROR_LOAD_ITEMS","AI_CHAT_HISTORY_ERROR_REMOVE_ITEM","55CNrDMy","activateTab:history","10KGBJXY","pinned","itemRemoved","_updateHistoryItemsUI","AI_CHAT_HISTORY_CATEGORY_YESTERDAY","getGroupId","getDate","_handleTogglePin","pin","AI_CHAT_HISTORY_CATEGORY_PINNED","AI_CHAT_HISTORY_ERROR_GENERIC","createdAt","12CrGtsa","1127700yDSExY","requires","updates","updateItemPinned","selectConversation","765sFkkLg","removeConversation","getFullYear","editConversationTitle","operation","_aiChatController","view","loadConversation","36SMvTjU","_aiChatHistoryUi","unpin","resize","toLocaleDateString","_setItemLoading","AI_CHAT_HISTORY_CATEGORY_LATER","getItem","AI_CHAT_HISTORY_ERROR_UPDATE_TITLE","length","plugins","resizedTabs","isPremiumPlugin","itemUpdated","history","AIChatHistoryController","getItems","setDate","_showConversationHistory","_generateErrorMessage","AI_CHAT_HISTORY_UNPIN_ACTION","isOfficialPlugin","_handleEditTitle","1543390XYTaEX","518088LEyzit","setConversationPinned","_handleRemove","1463710ZputSA","activateTab","context","AI_CHAT_HISTORY_CATEGORY_TODAY","listenTo","items","rename","updateItemTitle","AI_CHAT_UNTITLED_CONVERSATION","_handleHistoryErrorUI","_handleSelectConversation","130336bpIVra","loadItems","resizeTabs","push","error","init","_setIsMaximized","updateItems","locale","pluginName"];return(xC=function(){return t})()}function RC(t,e){const n=xC();return(RC=function(t,e){return n[t-=336]})(t,e)}!function(t){const e=RC,n=t();for(;;)try{if(720624===-parseInt(e(438))/1+parseInt(e(347))/2*(parseInt(e(397))/3)+-parseInt(e(359))/4*(-parseInt(e(396))/5)+-parseInt(e(373))/6*(parseInt(e(360))/7)+-parseInt(e(411))/8*(parseInt(e(365))/9)+parseInt(e(400))/10*(parseInt(e(345))/11)+parseInt(e(437))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xC);class NC extends n.ContextPlugin{[SC(423)];[SC(374)];[SC(370)];static get[SC(361)](){return[Jl,lI,_C,Gl]}static get[SC(420)](){return SC(388)}static get[SC(394)](){return!0}static get[SC(385)](){return!0}[SC(416)](){const t=SC;this[t(423)]=this[t(402)][t(383)][t(434)](Jl),this[t(374)]=this[t(402)][t(383)][t(434)](_C),this[t(370)]=this[t(402)][t(383)][t(434)](lI);const e=this[t(402)][t(383)][t(434)](Gl);try{const n=this[t(370)][t(352)]();this[t(387)]=new CC({connector:this[t(423)],group:n}),this[t(404)](this[t(374)],t(366),(e,n)=>{const i=t;this[i(378)](n.id,i(427)),this[i(399)](n.id)}),this[t(404)](this[t(374)],t(368),(e,n)=>{const i=t;this[i(378)](n.id,i(406)),this[i(395)](n.id,n[i(436)])}),this[t(404)](this[t(387)],t(386),(e,n)=>{const i=t;void 0!==n[i(362)][i(436)]&&this[i(374)][i(407)](n[i(428)],n[i(362)][i(436)]),void 0!==n[i(362)][i(348)]&&this[i(350)](),this[i(338)](n[i(428)])}),this[t(404)](this[t(387)],t(349),(e,n)=>{const i=t;this[i(370)][i(431)](n[i(428)]),this[i(374)][i(426)](n[i(428)]),this[i(338)](n[i(428)])}),this[t(404)](this[t(387)],t(430),()=>{this[t(350)]()}),this[t(404)](this[t(387)],t(415),(e,n)=>{const i=t;this[i(409)](n[i(415)],n[i(369)],n[i(428)])}),this[t(404)](this[t(374)],t(364),(e,n)=>{this[t(410)](n.id)}),this[t(404)](this[t(374)],t(398),(e,n)=>{const i=t,r=n[i(348)]?i(355):i(375);this[i(378)](n.id,r),this[i(354)](n.id,n[i(348)])}),this[t(404)](this[t(374)],t(340),()=>{const n=t;e[n(371)][n(401)](n(337))}),this[t(404)](this[t(370)],t(421),()=>{this[t(350)]()}),e[t(371)].on(t(346),()=>{this[t(391)]()}),this[t(404)](e,t(384),(e,n)=>{this[t(417)](n)}),this[t(404)](this[t(374)],t(413),()=>{e[t(376)]()})}catch(e){this[t(409)](e,t(416))}}async[SC(395)](t,e){const n=SC;await this[n(387)][n(407)](t,e)}async[SC(354)](t,e){const n=SC;await this[n(387)][n(363)](t,e)}async[SC(399)](t){const e=SC;await this[e(387)][e(435)](t)}async[SC(410)](t){const e=SC;await this[e(370)][e(372)](t)}async[SC(391)](){const t=SC;this[t(374)][t(339)](""),this[t(374)][t(429)](!0),await this[t(387)][t(416)](),this[t(374)][t(429)](!1)}[SC(350)](){const t=SC,e=this[t(370)][t(336)]?.id,n=this[t(433)]()[t(342)](n=>({title:n[t(436)],items:n[t(405)][t(342)](n=>({id:n.id,title:n[t(436)]||Zl(this[t(402)][t(419)],t(408)),createdAt:new Date(n[t(358)])[t(377)](),active:n.id===e,pinned:n[t(348)]}))}));this[t(374)][t(418)](n)}[SC(378)](t,e){const n=SC;this[n(374)][n(341)](t,e,!0)}[SC(338)](t){const e=SC;this[e(374)][e(341)](t,null,!1)}[SC(409)](t,e,n){const i=SC,r=this[i(392)](e,n);this[i(374)][i(339)](r),n&&this[i(338)](n),this[i(374)][i(429)](!1)}[SC(392)](t,e){const n=SC,i=e?this[n(387)][n(380)](e):null,r=i?.[n(436)]||Zl(this[n(402)][n(419)],n(408));switch(t){case n(407):return Zl(this[n(402)][n(419)],n(381),r);case n(363):{const t=Zl(this[n(402)][n(419)],i?.[n(348)]?n(393):n(432));return Zl(this[n(402)][n(419)],n(439),[t,r])}case n(435):return Zl(this[n(402)][n(419)],n(344),r);case n(416):case n(412):return Zl(this[n(402)][n(419)],n(343));default:return Zl(this[n(402)][n(419)],n(357))}}[SC(433)](){const t=SC,e=new Date,n=new Date(e[t(367)](),e[t(422)](),e[t(353)]()),i=new Date(n);i[t(390)](i[t(353)]()-1);const r=new Date(n);r[t(390)](r[t(353)]()-14);const s=this[t(387)][t(389)]({pinned:!0}),o=this[t(387)][t(389)]({from:n,to:n}),a=this[t(387)][t(389)]({from:i,to:i}),c=this[t(387)][t(389)]({from:r,to:i}),l=this[t(387)][t(389)]({to:r}),u=[];return s[t(382)]>0&&u[t(414)]({title:Zl(this[t(402)][t(419)],t(356)),items:s}),o[t(382)]>0&&u[t(414)]({title:Zl(this[t(402)][t(419)],t(403)),items:o}),a[t(382)]>0&&u[t(414)]({title:Zl(this[t(402)][t(419)],t(351)),items:a}),c[t(382)]>0&&u[t(414)]({title:Zl(this[t(402)][t(419)],t(424)),items:c}),l[t(382)]>0&&u[t(414)]({title:Zl(this[t(402)][t(419)],t(379)),items:l}),u}[SC(417)](t){const e=SC;this[e(374)][e(425)](t)}}var OC=LC;function LC(t,e){var n=PC();return(LC=function(t,e){return n[t-=439]})(t,e)}!function(t){for(var e=LC,n=t();;)try{if(788279===-parseInt(e(453))/1+parseInt(e(442))/2+parseInt(e(448))/3*(-parseInt(e(446))/4)+-parseInt(e(449))/5*(-parseInt(e(443))/6)+-parseInt(e(441))/7*(-parseInt(e(444))/8)+-parseInt(e(440))/9+parseInt(e(452))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(PC);class DC extends n.ContextPlugin{static get[OC(450)](){return[NC,_C]}static get[OC(445)](){return OC(447)}static get[OC(451)](){return!0}static get[OC(439)](){return!0}}function PC(){var t=["11308815VuRTRy","552909FHeTse","812862TpVRNs","3353340wqDaUA","88BZKEcV","pluginName","298388WTzCOS","AIChatHistory","15aQyCaI","10GGOhEj","requires","isOfficialPlugin","10812230jQUCst","1056492YZsMoG","isPremiumPlugin"];return(PC=function(){return t})()}var MC=VC;function VC(t,e){var n=BC();return(VC=function(t,e){return n[t-=293]})(t,e)}function BC(){var t=["isOfficialPlugin","sendMessage","ai.chat.context","3162609qYDzxM","3859443eMJJUU","5cmjvKe","1711746hXUWpC","pluginName","requires","config","registerToolDataCallback","removeSelectionFromChatContext","573816pJStzv","get","3849GqOdGA","10ClrSwl","AIChat","addSelectionToChatContext","16iFWyCV","ai.chat.initialConversation","startConversation","plugins","_registerToolDataCallback","new","isPremiumPlugin","9660167djYKiS","focusPromptInput","context","define","414911dPZqzH","930TiqHSK"];return(BC=function(){return t})()}!function(t){for(var e=VC,n=t();;)try{if(403223===parseInt(e(298))/1+-parseInt(e(299))/2*(parseInt(e(314))/3)+parseInt(e(312))/4+parseInt(e(305))/5*(-parseInt(e(306))/6)+parseInt(e(304))/7+-parseInt(e(318))/8*(parseInt(e(303))/9)+-parseInt(e(315))/10*(-parseInt(e(294))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(BC);class HC extends n.ContextPlugin{static get[MC(308)](){return[lI,fI,QT,DC]}static get[MC(307)](){return MC(316)}static get[MC(300)](){return!0}static get[MC(293)](){return!0}constructor(t){var e=MC;super(t),this[e(296)][e(309)][e(297)](e(302),{document:{enabled:!0},urls:{enabled:!0},files:{enabled:!0},sources:[]}),this[e(296)][e(309)][e(297)](e(319),e(323))}async[MC(317)](){var t=MC;await this[t(296)][t(321)][t(313)](lI)[t(317)]()}async[MC(320)](){var t=MC;await this[t(296)][t(321)][t(313)](lI)[t(320)]()}async[MC(301)]({message:t,attributes:e}){var n=MC;await this[n(296)][n(321)][n(313)](lI)[n(301)]({message:t,attributes:e})}[MC(311)](){var t=MC;this[t(296)][t(321)][t(313)](lI)[t(311)]()}[MC(295)](){var t=MC;this[t(296)][t(321)][t(313)](lI)[t(295)]()}[MC(310)](t){var e=MC;this[e(296)][e(321)][e(313)](lI)[e(322)](t)}}const UC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M19 19h-1.486l-1.289-3.5h-5.85L8.989 19H7.501l4.957-12h1.586zm-8.13-4.7h4.76l-2.38-5.8z" clip-rule="evenodd"/><path d="M5.648.5c.414 0 .75.337.75.751v.95h4.35a.75.75 0 0 1 0 1.5H9.486c-.337 1.817-1.254 4.38-3.062 6.917.234.25.42.434.56.563a5 5 0 0 0 .293.253h.001a.75.75 0 0 1-.857 1.231H6.42l-.003-.002-.004-.003-.01-.008-.028-.02-.092-.072a7 7 0 0 1-.317-.278 12 12 0 0 1-.472-.463c-1.345 1.606-2.094 2.28-4.376 3.584a.75.75 0 0 1-.736-1.306c2.018-.997 2.852-1.878 4.11-3.42-.546-.738-.982-1.637-1.286-2.357a19 19 0 0 1-.563-1.516l-.008-.026-.002-.007-.001-.002-.019-.076A.75.75 0 0 1 4.04 6.26l.026.072.001.004.006.02.025.078.101.297c.09.255.22.61.388 1.005.233.553.525 1.152.852 1.67C6.86 7.313 7.63 5.146 7.953 3.7H.948a.75.75 0 0 1 0-1.5h3.95v-.949A.75.75 0 0 1 5.648.5m11.293 1.37c.204.55.638.984 1.189 1.188l1.869.692-1.87.691c-.55.204-.984.638-1.188 1.189L16.25 7.5l-.692-1.87a2.01 2.01 0 0 0-1.188-1.19l-1.87-.691 1.87-.692c.55-.204.985-.638 1.188-1.189L16.25 0z"/></svg>';function qC(){const t=["review","125910DWkeJE","4524331cPRIen","translate","extendTemplate","3254590rAMGoG","label","677398KdeprH","icon","ck-ai-chat-shortcut","678156GVAMac","set","chat","1241640XDBenp","1864599gxjSYT"];return(qC=function(){return t})()}function FC(t,e){const n=qC();return(FC=function(t,e){return n[t-=171]})(t,e)}!function(t){const e=FC,n=t();for(;;)try{if(411816===-parseInt(e(172))/1+parseInt(e(178))/2+parseInt(e(179))/3+-parseInt(e(175))/4+-parseInt(e(185))/5+parseInt(e(181))/6+parseInt(e(182))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qC);class zC extends a.ButtonView{id;constructor(t,e){const n=FC;super(t);const{id:i,type:r,icon:s}=e;this.id=i,this[n(176)]({label:e[n(171)],withText:!0,class:n(174)}),this[n(184)]({attributes:{"data-cke-ai-shortcut-id":e.id}}),s?this[n(173)]=s:n(177)===r?this[n(173)]='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M.773 12.536a.75.75 0 0 1 .945.498l.018.051a9 9 0 0 0 .42.964c.317.62.799 1.397 1.473 2.072.701.7 1.38 1.191 1.88 1.505a8 8 0 0 0 .746.417l.037.016.005.003a.75.75 0 0 1-.522 1.404l-.072-.027-.01-.004-.018-.008-.058-.027a10 10 0 0 1-.905-.504 12.3 12.3 0 0 1-2.143-1.715c-.82-.82-1.388-1.744-1.748-2.451a10 10 0 0 1-.5-1.145l-.026-.075-.006-.021-.003-.007v-.003l-.001-.001L1 13.25l-.715.228a.75.75 0 0 1 .488-.942M13.314.953a.75.75 0 0 1 .913-.419l.072.028.009.004.018.007.059.028q.075.034.204.1c.172.09.413.223.701.404a12.3 12.3 0 0 1 2.143 1.715c.82.82 1.387 1.744 1.748 2.45a10 10 0 0 1 .499 1.145l.026.075.007.022.003.007v.003h.001c-.002.002-.043.015-.715.228l.715-.227a.751.751 0 0 1-1.43.455l-.004-.011-.017-.052a9 9 0 0 0-.42-.964c-.317-.619-.8-1.397-1.474-2.07a10.8 10.8 0 0 0-1.88-1.507 8 8 0 0 0-.746-.417l-.036-.015-.006-.003a.75.75 0 0 1-.39-.986M11.29 6.84a3.76 3.76 0 0 0 2.22 2.22L17 10.35l-3.49 1.292a3.76 3.76 0 0 0-2.219 2.22L10 17.35l-1.292-3.49a3.76 3.76 0 0 0-2.22-2.22L3 10.35l3.49-1.291A3.76 3.76 0 0 0 8.71 6.84L10 3.35zm6.009 8.66a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0M14.8 18a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0M3.798 2.001a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0m-2.499 2.5a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0"/></svg>':n(180)===r?this[n(173)]='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m14.57 9.33-8.194 8.194H3.598V14.75l8.193-8.198 2.779 2.78Zm-.108-5.14a.73.73 0 0 1 .522.217l1.734 1.73a.736.736 0 0 1 0 1.043l-1.355 1.36-2.78-2.78 1.357-1.352a.74.74 0 0 1 .522-.218M4.05.19l.692 1.869c.204.55.638.985 1.189 1.189l1.87.691-1.87.692c-.55.204-.985.638-1.189 1.189L4.05 7.69l-.69-1.87a2.01 2.01 0 0 0-1.19-1.189L.3 3.94l1.87-.691c.55-.204.985-.638 1.189-1.189z"/></svg>':n(183)===r&&(this[n(173)]=UC)}}const GC=jC;function jC(t,e){const n=WC();return(jC=function(t,e){return n[t-=250]})(t,e)}function WC(){const t=["execute","map","303406QfykUm","addMany","5LLmtyl","setTemplate","children","2LoyfWs","144ZvrdQh","1059240Abfzrm","locale","1578onwCyx","delegate","items","228770KIUZUK","ck-ai-chat-shortcuts","listView","div","1822374KCuApK","3020171NpJXaG","340rzwUxG","2149312hlQIWV","add"];return(WC=function(){return t})()}!function(t){const e=jC,n=t();for(;;)try{if(253202===parseInt(e(271))/1*(parseInt(e(266))/2)+-parseInt(e(252))/3*(-parseInt(e(261))/4)+-parseInt(e(268))/5*(parseInt(e(259))/6)+-parseInt(e(250))/7+parseInt(e(262))/8+parseInt(e(272))/9*(parseInt(e(255))/10)+-parseInt(e(260))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(WC);class KC extends a.View{[GC(257)];constructor(t,e){const n=GC;super(t);const i=e[n(265)](t=>{const e=n,i=new a.ListItemView(this[e(251)]),r=new zC(this[e(251)],t);return i[e(270)][e(263)](r),r[e(253)](e(264)).to(this),i});this[n(257)]=new a.ListView(this[n(251)]),this[n(257)][n(254)][n(267)](i),this[n(269)]({tag:n(258),attributes:{class:["ck",n(256)]},children:[this[n(257)]]})}}var YC=r(898),$C={attributes:{"data-cke":!0}};$C.setAttributes=Et(),$C.insert=yt().bind(null,"head"),$C.domAPI=It(),$C.insertStyleElement=Ct();bt()(YC.A,$C);YC.A&&YC.A.locals&&YC.A.locals;const QC=XC;function XC(t,e){const n=JC();return(XC=function(t,e){return n[t-=213]})(t,e)}function JC(){const t=["setModel","params","1197hZdzUo","4494822suETPT","config","activeConversation","args","getModel","2995998qgjUql","REVIEW","addCurrentDocumentToChatContext","activateTab","isFromHistory","_shortcutsView","translate","listenTo","_injectShortcuts","ai.chat.shortcuts","ai-chat-shortcuts-translate-not-found","15rKpboc","runReviewCheck","5272hyVBLq","AIChatController","conversationCreated","reviewMode","AITabs","render","init","isOfficialPlugin","CHAT","has","review","setReasoning","setPromptInputValue","interactionStarted","_validateShortcuts","_executeShortcut","_runReviewShortcut","check","AIChatShortcuts","hasFeedItem","addFeedItemCustomElement","language","_runChatShortcut","element","locale","chat","getDefault","TRANSLATE","focusPromptInput","destroy","removeFeedItem","isPremiumPlugin","_shortcuts","fire","string","get","1955884nglLJr","AIChat","forEach","values","_aiChatUI","460HCBvdH","type","view","prompt","chat-shortcuts","pluginName","ai-chat-shortcuts-ai-tabs-not-found","chatModels","AITranslateUI","plugins","setWebSearch","ai-chat-shortcuts-review-mode-not-found","_removeShortcuts","ai-chat-shortcuts-invalid-config","source","includes","execute","_switchTab","custom","1093MWBkaW","requires","_runTranslateShortcut","label","42701630gVsjxe","11804544QcYudj","AIReviewModeUI","sendMessage","find","context","length"];return(JC=function(){return t})()}!function(t){const e=XC,n=t();for(;;)try{if(856772===parseInt(e(233))/1*(parseInt(e(214))/2)+-parseInt(e(247))/3+parseInt(e(301))/4*(-parseInt(e(263))/5)+parseInt(e(252))/6+parseInt(e(246))/7*(parseInt(e(265))/8)+-parseInt(e(238))/9+parseInt(e(237))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(JC);const ZC=QC(218);var tS;!function(t){const e=QC;t[e(273)]=e(290),t[e(253)]=e(275),t[e(292)]=e(258)}(tS||(tS={}));class eS extends n.ContextPlugin{[QC(297)];[QC(257)];[QC(213)];static get[QC(234)](){return[QT]}static get[QC(219)](){return QC(283)}static get[QC(272)](){return!0}static get[QC(296)](){return!0}[QC(271)](){const t=QC;this[t(213)]=this[t(242)][t(223)][t(300)](QT),this[t(297)]=this[t(242)][t(248)][t(300)](t(261))??[];const e=this[t(242)][t(223)][t(300)](t(266));this[t(297)][t(243)]&&(this[t(279)](),this[t(213)].on(t(267),()=>{const n=t;e[n(249)][n(256)]||this[n(260)]()}),this[t(259)](e,t(278),()=>{this[t(226)]()}))}[QC(279)](){const t=QC,e=Object[t(304)](tS);this[t(297)][t(303)](n=>{const i=t;let r=!0;if(n.id&&n[i(236)]&&e[i(229)](n[i(215)])?i(290)===n[i(215)]&&(r=i(299)==typeof n[i(217)]):r=!1,!r)throw new o.CKEditorError(i(227),this[i(242)],{shortcut:n})})}[QC(260)](){const t=QC,e=this[t(242)][t(223)][t(300)](QT);this[t(257)]=new KC(this[t(242)][t(289)],this[t(297)]),this[t(257)][t(270)](),e[t(285)](this[t(257)][t(288)],ZC),this[t(257)].on(t(230),e=>{const n=t,i=e[n(228)].id;this[n(280)](i)})}[QC(226)](){const t=QC,e=this[t(242)][t(223)][t(300)](QT);e[t(284)](ZC)&&e[t(295)](ZC),this[t(257)]?.[t(294)]()}[QC(280)](t){const e=QC,n=this[e(297)][e(241)](e=>e.id===t),i=n[e(215)];e(290)===i?this[e(287)](n):e(275)===i?n[e(282)]?this[e(281)](n):this[e(231)](e(268)):e(258)===i&&(n[e(286)]?this[e(235)](n):this[e(231)](e(258)))}[QC(231)](t){const e=QC;if(!this[e(242)][e(223)][e(274)](e(269)))throw new o.CKEditorError(e(220),this[e(242)],{tabName:t});this[e(242)][e(223)][e(300)](e(269))[e(216)][e(255)](t)}async[QC(287)]({prompt:t,draftMode:e,useWebSearch:n=!1,useReasoning:i=!1,model:r}){const s=QC,o=this[s(242)][s(223)][s(300)](s(302)),a=this[s(242)][s(223)][s(300)](s(266)),c=a[s(249)];let l;l=r?await c[s(221)][s(251)](r):await c[s(221)][s(291)](),l&&await c[s(244)](l),c[s(224)](n),c[s(276)](i),a[s(254)](),e?(this[s(213)][s(277)](t),this[s(213)][s(293)](!0)):o[s(240)]({message:t})}[QC(281)]({check:t,model:e,prompt:n,params:i}){const r=QC;if(!this[r(242)][r(223)][r(274)](r(239)))throw new o.CKEditorError(r(225),this[r(242)]);this[r(231)](r(268));const s={id:t,isCustom:r(232)===t};e&&n&&(s[r(250)]={model:e,prompt:n}),i&&(s[r(245)]=i),this[r(242)][r(223)][r(300)](r(239))[r(298)](r(264),s)}[QC(235)]({language:t}){const e=QC;if(!this[e(242)][e(223)][e(274)](e(222)))throw new o.CKEditorError(e(262),this[e(242)]);this[e(231)](e(258)),this[e(242)][e(223)][e(300)](e(222))[e(298)](e(264),{id:t,args:{language:t}})}}const nS=iS;function iS(t,e){const n=sS();return(iS=function(t,e){return n[t-=336]})(t,e)}!function(t){const e=iS,n=t();for(;;)try{if(976438===parseInt(e(343))/1+parseInt(e(353))/2*(parseInt(e(340))/3)+-parseInt(e(351))/4+-parseInt(e(355))/5*(-parseInt(e(342))/6)+-parseInt(e(350))/7*(-parseInt(e(348))/8)+parseInt(e(338))/9+parseInt(e(347))/10*(-parseInt(e(346))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(sS);class rS extends n.Command{constructor(t){const e=iS;super(t);const n=t[e(339)][e(354)](e(341))[e(344)];this[e(345)](e(336)).to(n,e(349)),this[e(352)]=!0}[nS(337)](){const t=nS,e=this[t(356)][t(339)][t(354)](t(341))[t(344)];e[t(349)]=!e[t(349)]}}function sS(){const t=["8205295QZxDen","683112xYnBxp","isEnabled","2eGJAmo","get","929105cYnMfK","editor","value","execute","14382576xNVXrr","plugins","4463664aubYSM","AITabs","48KDsxWJ","1635314mwJLrl","view","bind","68560833FtKGrN","10brPZdY","8csROWM","isVisible"];return(sS=function(){return t})()}var oS=r(6381),aS={attributes:{"data-cke":!0}};aS.setAttributes=Et(),aS.insert=yt().bind(null,"head"),aS.domAPI=It(),aS.insertStyleElement=Ct();bt()(oS.A,aS);oS.A&&oS.A.locals&&oS.A.locals;const cS=lS;function lS(t,e){const n=uS();return(lS=function(t,e){return n[t-=461]})(t,e)}function uS(){const t=["execute","36wdcSTL","bind","pluginName","menuBar:toggleAi","requires","set","menuitemcheckbox","get","AIToggleButtonUI","30fbiLJI","listenTo","2004948PsazkQ","editor","add","isPremiumPlugin","92bRDZuT","2214027FwyWTr","AI_TOGGLE_BUTTON_LABEL","locale","componentFactory","7kCbIpV","6ODLeSj","42429DwqCYf","commands","init","value","37633224UwEfEA","780712rzekhJ","287627BviGhU","isOfficialPlugin","isEnabled","isOn","90995AYWJGT","ck-ai-toggle-button","toggleAi","_createAIUIButton"];return(uS=function(){return t})()}!function(t){const e=lS,n=t();for(;;)try{if(820872===parseInt(e(480))/1*(-parseInt(e(473))/2)+-parseInt(e(474))/3*(parseInt(e(467))/4)+-parseInt(e(484))/5*(parseInt(e(489))/6)+parseInt(e(472))/7*(-parseInt(e(479))/8)+parseInt(e(468))/9*(-parseInt(e(461))/10)+-parseInt(e(463))/11+parseInt(e(478))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(uS);class hS extends n.Plugin{static get[cS(493)](){return[Gl]}static get[cS(491)](){return cS(497)}static get[cS(481)](){return!0}static get[cS(466)](){return!0}[cS(476)](){const t=cS,e=this[t(464)];e[t(475)][t(465)](t(486),new rS(e)),e.ui[t(471)][t(465)](t(486),()=>{const e=t,n=this[e(487)](a.ButtonView);return n[e(494)]({tooltip:!0,class:e(485)}),n}),e.ui[t(471)][t(465)](t(492),()=>{const e=t,n=this[e(487)](a.MenuBarMenuListItemButtonView);return n[e(494)]({role:e(495)}),n})}[cS(487)](t){const e=cS,n=this[e(464)],i=n[e(475)][e(496)](e(486)),r=new t(n[e(470)]);return r[e(494)]({label:Zl(n[e(470)],e(469)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M.773 12.536a.75.75 0 0 1 .945.498l.018.051a9 9 0 0 0 .42.964c.317.62.799 1.397 1.473 2.072.701.7 1.38 1.191 1.88 1.505a8 8 0 0 0 .746.417l.037.016.005.003a.75.75 0 0 1-.522 1.404l-.072-.027-.01-.004-.018-.008-.058-.027a10 10 0 0 1-.905-.504 12.3 12.3 0 0 1-2.143-1.715c-.82-.82-1.388-1.744-1.748-2.451a10 10 0 0 1-.5-1.145l-.026-.075-.006-.021-.003-.007v-.003l-.001-.001L1 13.25l-.715.228a.75.75 0 0 1 .488-.942M13.314.953a.75.75 0 0 1 .913-.419l.072.028.009.004.018.007.059.028q.075.034.204.1c.172.09.413.223.701.404a12.3 12.3 0 0 1 2.143 1.715c.82.82 1.387 1.744 1.748 2.45a10 10 0 0 1 .499 1.145l.026.075.007.022.003.007v.003h.001c-.002.002-.043.015-.715.228l.715-.227a.751.751 0 0 1-1.43.455l-.004-.011-.017-.052a9 9 0 0 0-.42-.964c-.317-.619-.8-1.397-1.474-2.07a10.8 10.8 0 0 0-1.88-1.507 8 8 0 0 0-.746-.417l-.036-.015-.006-.003a.75.75 0 0 1-.39-.986M11.29 6.84a3.76 3.76 0 0 0 2.22 2.22L17 10.35l-3.49 1.292a3.76 3.76 0 0 0-2.219 2.22L10 17.35l-1.292-3.49a3.76 3.76 0 0 0-2.22-2.22L3 10.35l3.49-1.291A3.76 3.76 0 0 0 8.71 6.84L10 3.35zm6.009 8.66a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0M14.8 18a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0M3.798 2.001a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0m-2.499 2.5a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0"/></svg>',isToggleable:!0}),r[e(490)](e(482)).to(i),r[e(490)](e(483)).to(i,e(477),t=>!!t),this[e(462)](r,e(488),()=>{i[e(488)]()}),r}}var dS=r(5794),pS={attributes:{"data-cke":!0}};pS.setAttributes=Et(),pS.insert=yt().bind(null,"head"),pS.domAPI=It(),pS.insertStyleElement=Ct();bt()(dS.A,pS);dS.A&&dS.A.locals&&dS.A.locals;const fS=gS;function gS(t,e){const n=kS();return(gS=function(t,e){return n[t-=320]})(t,e)}!function(t){const e=gS,n=t();for(;;)try{if(110623===parseInt(e(334))/1*(-parseInt(e(338))/2)+parseInt(e(337))/3+-parseInt(e(335))/4*(parseInt(e(348))/5)+-parseInt(e(323))/6*(parseInt(e(345))/7)+-parseInt(e(347))/8+-parseInt(e(326))/9+parseInt(e(324))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kS);const mS=[fS(329),fS(328),fS(320),fS(336)];function kS(){const t=["setTemplate","_isErrorVisible","_errorMessage","ck-hidden","showBlockingError","set","696017EtObXC","showError","1504936tUvcZu","100hhFzoP","_createErrorView","hideError","showNext","ck-ai-suggestion__error","div","6qmEetI","5760360ApuiMZ","locale","1435464BTOJdt","bindTemplate","insertSuggestion","applySuggestion","ck-ai-suggestion__error-text","ck-ai-balloon-error","span","_errorView","1879EJKJgC","21884MHyYdI","showPrevious","284427rUMpEP","4ntlqqT"];return(kS=function(){return t})()}class _S extends a.View{[fS(333)];constructor(t){const e=fS;super(t),this[e(344)](e(341),""),this[e(344)](e(340),!1)}[fS(343)](t){this[fS(346)](t)}[fS(346)](t){const e=fS;this[e(333)]||(this[e(333)]=this[e(349)]()),this[e(341)]=t,this[e(340)]=!0}[fS(350)](){this[fS(340)]=!1}[fS(349)](){const t=fS,e=new a.View(this[t(325)]),n=new a.View(this[t(325)]);return n[t(339)]({tag:t(332),attributes:{class:["ck",t(330)]},children:[{text:this[t(327)].to(t(341))}]}),e[t(339)]({tag:t(322),attributes:{class:["ck",t(321),t(331),this[t(327)].if(t(340),t(342),t=>!t)]},children:[n]}),e}}const bS=wS;function wS(t,e){const n=IS();return(wS=function(t,e){return n[t-=356]})(t,e)}function IS(){const t=["AIBalloon","576qIQxWE","10gfyqEt","137622RpHQqw","_currentConfig","isOfficialPlugin","getMarkersGroup","model","max","mainView","end","iconView","plugins","once","filter","listenTo","stopListening","label","show","length","get","ck-ai-balloon ","isEqual","9477216yZnSEl","ai-selection","high","width","1213anMPLe","11RbcYHE","startsWith","fire","_showDialog","_calculateOptimalTopPosition","window","_calculateDialogPosition","Dialog","ranges","height","_cleanupFakeVisualSelectionMarkerRemovalListener","change","root","hideFakeVisualSelection","start","differ","_hideFakeVisualSelection","index","headerView","getBoundingRect","delegate","context","pluginName","$graveyard","updatePosition","_isUpdatingMarkers","beforeDialogClosed","selectionRemoved","isOpen","requires","getIntersection","close","bind","markers","document","round","1824RdSBBE","dialogClosed","open","rootName","getVisible","showBlockingError","editing","81140OLPSdt","ai-balloon-","left","hideError","7478148PyTzkx","getChangedMarkers","_getSelectionElements","view","2306cobNbP","locale","isPremiumPlugin","content","7752BUjsOS","1072162fiHTum","ai-balloon-selection","map","_updateDialog","top","_setupFakeVisualSelectionMarkerRemovalListener","_showFakeVisualSelection","AI_BALLOON_SELECTION_REMOVED_ERROR","bottom","showFakeVisualSelection","hide"];return(IS=function(){return t})()}!function(t){const e=wS,n=t();for(;;)try{if(869210===parseInt(e(373))/1*(-parseInt(e(425))/2)+parseInt(e(429))/3*(parseInt(e(410))/4)+-parseInt(e(443))/5*(parseInt(e(444))/6)+-parseInt(e(430))/7+parseInt(e(369))/8+parseInt(e(442))/9*(-parseInt(e(417))/10)+parseInt(e(374))/11*(parseInt(e(421))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(IS);bS(411),bS(401);const vS=10;class yS extends n.ContextPlugin{static get[bS(403)](){return[fI]}static get[bS(396)](){return bS(441)}static get[bS(446)](){return!0}static get[bS(427)](){return!0}[bS(402)]=!1;[bS(445)];[bS(399)]=!1;[bS(412)](t){const e=bS,{id:n}=this[e(445)]??{};this[e(445)]=t;const{id:i}=this[e(445)];this[e(402)]&&n===i?this[e(433)]():this[e(377)]()}[bS(405)](){const t=bS,e=eI(this[t(395)])[t(358)][t(366)](t(381));e[t(402)]&&this[t(445)]&&e.id===this[t(445)].id&&e[t(440)]()}[bS(433)](){const t=bS,e=eI(this[t(395)])[t(358)][t(366)](t(381)),{icon:n,title:i}=this[t(445)];e[t(424)]?.[t(392)]&&(e[t(424)][t(392)][t(363)]=i,e[t(424)][t(392)][t(357)]&&n&&(e[t(424)][t(392)][t(357)][t(428)]=n)),this[t(399)]=!0,this[t(436)](),this[t(399)]=!1,e[t(424)]?.[t(398)]()}[bS(436)](){const t=bS;this[t(395)][t(358)][t(366)](fI)[t(439)](this[t(445)][t(382)],t(418)+this[t(445)][t(391)],!0,!0)}[bS(390)](t){const e=bS;this[e(395)][e(358)][e(366)](fI)[e(387)](e(418)+t)}[bS(377)](){const t=bS,e=eI(this[t(395)])[t(358)][t(366)](t(381)),{id:n,title:i,icon:r,class:s,mainView:a}=this[t(445)];a[t(394)](...mS).to(this),e[t(364)]({title:i,icon:r,hasCloseButton:!0,id:n,position:this[t(380)][t(406)](this),className:t(367)+(s||""),content:a,onShow:e=>{const i=t;this[i(436)](),this[i(435)]();const r=this[i(423)]();r&&r[0]&&(0,o.scrollViewportToShowTarget)({target:r[0],ancestorOffset:20,alignToTop:!0,viewportOffset:{top:20,bottom:20,left:0,right:0}}),this[i(402)]=!0,e[i(359)](i(440),()=>{const t=i;this[t(376)](t(400),{id:n})},{priority:i(371)})},onHide:()=>{const e=t;this[e(390)](this[e(445)][e(391)]),this[e(384)](),this[e(376)](e(411),{id:n}),this[e(402)]=!1}})}[bS(380)](t,e){const n=bS;if(!e)return null;const i=this[n(423)]();if(!i||0===i[n(365)])return{left:Math[n(409)](e[n(419)]+e[n(372)]/2-t[n(372)]/2),top:Math[n(409)](e[n(434)]+e[n(383)]/2-t[n(383)]/2)};const r=Math[n(409)](e[n(419)]+e[n(372)]/2-t[n(372)]/2),s=i[n(432)](t=>new o.Rect(t)),a=t[n(383)];return{left:r,top:this[n(378)](s,a,e)}}[bS(378)](t,e,n){const i=bS,r=new o.Rect(o.global[i(379)]),s=t[i(432)](t=>t[i(414)]())[i(360)](t=>t),a=o.Rect[i(393)](s);if(!a)return Math[i(409)](n[i(434)]+n[i(383)]/2);const c=r[i(404)](a);if(!c)return Math[i(409)](n[i(434)]+n[i(383)]/2);const l=n[i(414)](),u=l&&a[i(383)]>l[i(383)],h=c[i(434)],d=c[i(438)];if(u){const t=(l||r)[i(383)]/2-e/2,s=h-vS-n[i(434)],o=n[i(438)]-d-vS;return s>=e?Math[i(449)](vS,h-e-vS):o>=e?d+vS:Math[i(449)](vS,t)}const p=h-e,f=n[i(438)]-d-vS,g=h-vS-n[i(434)];let m;return m=f>=e?d+vS:g>=e?p-vS:h+a[i(383)]/2-e/2,m}[bS(435)](){const t=bS,e=eI(this[t(395)]);this[t(361)](e[t(448)][t(408)],t(385),()=>{const n=t;if(!this[n(399)])for(const{name:t,data:{newRange:i}}of e[n(448)][n(408)][n(389)][n(422)]())if(t[n(375)](pI+":")&&(i&&(i[n(388)][n(368)](i[n(356)])||n(397)==i[n(386)][n(413)])||null==i)){const t=Zl(this[n(395)][n(426)],n(437));this[n(445)][n(450)][n(415)](t),this[n(376)](n(401))}})}[bS(384)](){const t=bS,e=eI(this[t(395)]);this[t(445)][t(450)][t(420)](),this[t(362)](e[t(448)][t(408)])}[bS(423)](){const t=bS,e=eI(this[t(395)]);return(0,xb.getAllMarkersDomElementsSorted)(e[t(416)],[...e[t(448)][t(407)][t(447)](t(370)),...e[t(448)][t(407)][t(447)](t(431))])}}const AS='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M3.23 2.93a.88.88 0 0 1 1.248 0l1.47 1.468q.298-.186.605-.353c1.066-.58 2.247-.992 3.438-.961 1.176.03 2.344.464 3.405 1.05 1.066.588 2.069 1.355 2.925 2.104a27 27 0 0 1 2.852 2.918l.043.052.011.016.005.004a.7.7 0 0 1 .103.183l.018.047.02.083.01.05.002.078-.003.062-.01.06q-.005.038-.016.077l-.02.06-.03.07-.01.016-.056.087-.002-.001.002.002h-.002l-.003.006-.011.014-.044.054-.161.2a26 26 0 0 1-2.693 2.803q-.414.367-.868.73l1.256 1.256a.881.881 0 0 1-.785 1.49.87.87 0 0 0-.25-.55L3.444 3.872a.9.9 0 0 0-.465-.245.88.88 0 0 1 .252-.698m1.19 4.413A25 25 0 0 0 2.58 9.204l-.013.016a.654.654 0 0 0 .006.876c.484.53 1.173 1.236 1.98 1.943.812.708 1.73 1.407 2.679 1.93.954.527 1.896.853 2.76.876.52.013 1.07-.094 1.635-.298l1.082 1.082c-.877.395-1.812.651-2.754.626-1.176-.03-2.345-.464-3.406-1.05-1.066-.587-2.068-1.354-2.924-2.103a27 27 0 0 1-2.851-2.918l-.044-.052-.01-.014-.005-.004v-.002a1 1 0 0 1-.06-.087l-.008-.014q-.022-.044-.038-.089l-.016-.04-.02-.086q-.005-.024-.007-.05-.006-.039-.003-.075v-.06q.004-.038.012-.076l.012-.056q.013-.041.03-.08l.023-.054.012-.02.055-.086h.002l-.002-.001.003-.005.012-.015.043-.054.16-.2A26 26 0 0 1 3.42 6.343zm6.057 6.058q-.247.035-.506.035a3.765 3.765 0 0 1-3.73-4.27zm-.524-8.906c-.85-.021-1.779.276-2.727.79l-.25.142L8.011 6.46a3.77 3.77 0 0 1 1.96-.555 3.765 3.765 0 0 1 3.766 3.764 3.77 3.77 0 0 1-.558 1.96l1.272 1.271c.323-.25.637-.513.936-.778a25 25 0 0 0 1.977-1.988l.015-.016a.655.655 0 0 0-.006-.878 26 26 0 0 0-1.981-1.941c-.81-.708-1.73-1.407-2.679-1.932-.954-.526-1.896-.852-2.76-.874m1.148 2.541a1.41 1.41 0 0 0-1.384 1.132l1.662 1.662a1.412 1.412 0 0 0-.278-2.794"/></svg>';var ES=r(6862),TS={attributes:{"data-cke":!0}};TS.setAttributes=Et(),TS.insert=yt().bind(null,"head"),TS.domAPI=It(),TS.insertStyleElement=Ct();bt()(ES.A,TS);ES.A&&ES.A.locals&&ES.A.locals;function CS(){const t=["10376127WRhYiU","AI_MINI_TOOLBAR_LIKE","toggleShowChangesEnabled","items","_setupRatingButtons","copyButton","showCopy","dislikeButton","87041jnRKBL","add","showLike","toggleShowChanges","AI_MINI_TOOLBAR_DISLIKE","4530957qEqaad","ck-ai-mini-toolbar-copy-button__check-mark","ck-ai-mini-toolbar-copy-button","4GqBgdL","showDislike","_config","isEnabled","ck-ai-mini-toolbar-copy-button ck-ai-mini-toolbar-copy-button_copied","AI_MINI_TOOLBAR_COPY","26OLcojG","2059113xkYnvz","length","children","addMany","4316575GUivOT","likeButton","class","icon","_setupCopyButton","showChangesButton","customView","AI_SUGGESTION_BUTTON_SHOW_CHANGES","full","dislike","ck-ai-mini-toolbar","set","isShowChangesOn","ck-ai-mini-toolbar ck-hidden","bind","9649008RjFcBP","fire","7740690bNIIta","like","showChanges","20vddpBB","locale","extendTemplate","_setupShowChangesButton","ck-ai-button-tertiary","isOn","execute"];return(CS=function(){return t})()}const SS=xS;function xS(t,e){const n=CS();return(xS=function(t,e){return n[t-=114]})(t,e)}!function(t){const e=xS,n=t();for(;;)try{if(757507===-parseInt(e(162))/1*(parseInt(e(122))/2)+-parseInt(e(167))/3*(-parseInt(e(116))/4)+parseInt(e(127))/5+-parseInt(e(144))/6+-parseInt(e(123))/7+-parseInt(e(142))/8+parseInt(e(154))/9*(parseInt(e(147))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(CS);class RS extends a.ToolbarView{[SS(159)];[SS(128)];[SS(161)];[SS(132)];[SS(118)];constructor(t,e={}){const n=SS;super(t),this[n(138)](n(119),!0),this[n(138)](n(139),!1),this[n(118)]={showCopy:!1,showLike:!1,showDislike:!1,...e};const i=!(this[n(118)][n(160)]||this[n(118)][n(146)]||this[n(118)][n(164)]||this[n(118)][n(117)]||this[n(118)][n(133)]?.[n(124)]);this[n(129)]=n(i?140:137),this[n(118)][n(160)]&&(this[n(131)](),this[n(157)][n(163)](this[n(159)])),this[n(118)][n(146)]&&(this[n(150)](),this[n(157)][n(163)](this[n(132)])),this[n(158)](),this[n(118)][n(164)]&&this[n(157)][n(163)](this[n(128)]),this[n(118)][n(117)]&&this[n(157)][n(163)](this[n(161)]),this[n(118)][n(133)]&&this[n(157)][n(126)](this[n(118)][n(133)])}[SS(156)](t){const e=SS;this[e(132)][e(119)]=t}[SS(158)](){const t=SS;this[t(128)]=new a.ButtonView(this[t(148)]),this[t(128)][t(138)]({icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M6.05 8.609v8.38c0 1.11.903 2.01 2.017 2.01h7.553c.896 0 1.684-.588 1.936-1.445l2.361-8.041a2.012 2.012 0 0 0-1.935-2.575h-4.353l.788-2.618a2.01 2.01 0 0 0-1.294-2.485l-.698-.232a2.02 2.02 0 0 0-2.269.725l-3.72 5.098c-.25.344-.386.758-.386 1.183m1.513 8.38V8.61c0-.107.034-.21.096-.296l3.72-5.099a.505.505 0 0 1 .567-.18l.699.231a.5.5 0 0 1 .323.621l-1.177 3.912a.503.503 0 0 0 .483.647h5.708c.336 0 .578.322.484.644l-2.362 8.041a.504.504 0 0 1-.484.362H8.067a.503.503 0 0 1-.504-.503M3.328 6.937H1.714C.767 6.937 0 7.703 0 8.647v8.644C0 18.234.767 19 1.714 19h1.614c.946 0 1.714-.766 1.714-1.71V8.647c0-.943-.768-1.709-1.714-1.709m-1.815 1.71c0-.112.09-.202.201-.202h1.614c.111 0 .201.09.201.201v8.645a.2.2 0 0 1-.201.2H1.714a.2.2 0 0 1-.201-.2z" clip-rule="evenodd"/></svg>',label:Zl(this[t(148)],t(155)),tooltip:!0}),this[t(128)][t(141)](t(119)).to(this),this[t(128)].on(t(153),()=>{const e=t;this[e(143)](e(145))}),this[t(161)]=new a.ButtonView(this[t(148)]),this[t(161)][t(138)]({icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M13.95 11.89V3.51c0-1.11-.903-2.01-2.017-2.01H4.38c-.896 0-1.684.589-1.936 1.446l-2.361 8.04a2.012 2.012 0 0 0 1.935 2.576h4.353l-.788 2.618a2.01 2.01 0 0 0 1.294 2.485l.698.232a2.02 2.02 0 0 0 2.269-.725l3.72-5.099c.25-.343.386-.757.386-1.182m-1.513-8.38v8.38c0 .107-.034.21-.096.296l-3.72 5.1a.505.505 0 0 1-.567.18l-.699-.232a.5.5 0 0 1-.323-.62L8.209 12.7a.503.503 0 0 0-.483-.647H2.018a.503.503 0 0 1-.484-.643l2.362-8.042a.504.504 0 0 1 .484-.361h7.553c.278 0 .504.225.504.502m4.235 10.053h1.614c.947 0 1.714-.765 1.714-1.709V3.21c0-.944-.767-1.709-1.714-1.709h-1.614c-.946 0-1.714.765-1.714 1.709v8.644c0 .944.768 1.709 1.714 1.709m1.815-1.709c0 .111-.09.201-.201.201h-1.614a.2.2 0 0 1-.201-.2V3.208c0-.111.09-.201.201-.201h1.614a.2.2 0 0 1 .201.2z" clip-rule="evenodd"/></svg>',label:Zl(this[t(148)],t(166)),tooltip:!0}),this[t(161)][t(141)](t(119)).to(this),this[t(161)].on(t(153),()=>{const e=t;this[e(143)](e(136))})}[SS(131)](){const t=SS;this[t(159)]=new a.ButtonView(this[t(148)]),this[t(159)][t(138)]({icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5 2.801a.7.7 0 0 0-.7.7v11.5a.8.8 0 0 1-1.6 0v-11.5a2.3 2.3 0 0 1 2.3-2.3h6.5a.8.8 0 0 1 0 1.6zm.7 3.7a2.3 2.3 0 0 1 2.3-2.3h7a2.3 2.3 0 0 1 2.3 2.3v10a2.3 2.3 0 0 1-2.3 2.3H8a2.3 2.3 0 0 1-2.3-2.3zm2.3-.7a.7.7 0 0 0-.7.7v10a.7.7 0 0 0 .7.7h7a.7.7 0 0 0 .7-.7v-10a.7.7 0 0 0-.7-.7z"/></svg>',label:Zl(this[t(148)],t(121)),class:t(115),tooltip:!0}),this[t(159)][t(141)](t(119)).to(this);const e=new a.IconView;e[t(138)]({content:ZA}),e[t(149)]({attributes:{class:[t(114)]}}),this[t(159)].on(t(153),()=>{const e=t;this[e(159)][e(129)]=e(120),setTimeout(()=>{const t=e;this[t(159)][t(129)]=t(115)},2e3)}),this[t(159)][t(125)][t(163)](e)}[SS(150)](){const t=SS;this[t(132)]=new a.ButtonView(this[t(148)]),this[t(132)][t(138)]({icon:AS,label:Zl(this[t(148)],t(134)),withText:t(135)==this[t(118)][t(146)],tooltip:t(135)!=this[t(118)][t(146)],class:t(151)}),this[t(132)][t(141)](t(152)).to(this,t(139)),this[t(132)][t(141)](t(119)).to(this),this[t(132)][t(141)](t(130)).to(this,t(139),t=>t?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><g fill-rule="evenodd"><path d="M9.972 5.906a3.765 3.765 0 1 1 0 7.53 3.765 3.765 0 0 1 0-7.53m1.13 1.13a1.412 1.412 0 1 0 0 2.823 1.412 1.412 0 0 0 0-2.824"/><path d="M9.99 3.084c1.177.03 2.345.465 3.406 1.05 1.066.588 2.07 1.355 2.925 2.105a27 27 0 0 1 2.852 2.917q.027.036.043.053l.011.015.004.003v.002q.068.084.103.183l.019.047.019.083.01.05a.7.7 0 0 1 0 .139q-.002.031-.01.06l-.016.078q-.009.029-.022.058-.012.035-.028.07l-.01.018-.056.087-.002-.002v.004l-.004.005-.012.015-.042.054-.161.198a26 26 0 0 1-2.694 2.803c-.856.762-1.863 1.537-2.933 2.117-1.066.58-2.247.992-3.438.962-1.176-.03-2.345-.465-3.406-1.05-1.066-.59-2.07-1.355-2.924-2.103a27 27 0 0 1-2.851-2.92l-.044-.052-.011-.015-.003-.004v-.001a1 1 0 0 1-.062-.088l-.006-.013-.039-.088-.016-.042q-.013-.043-.02-.086-.006-.025-.008-.05L.56 9.669v-.06q.005-.036.013-.075l.012-.056.03-.08.023-.054.012-.022.055-.083v.001h.001v-.002l.005-.005.01-.015.044-.054q.055-.071.16-.198a26 26 0 0 1 2.692-2.801c.858-.764 1.864-1.54 2.935-2.12 1.066-.58 2.247-.99 3.438-.961m-.037 1.411c-.85-.022-1.779.276-2.727.79-.943.511-1.859 1.214-2.67 1.934A24 24 0 0 0 2.58 9.207l-.014.015a.654.654 0 0 0 .007.877c.484.53 1.173 1.235 1.98 1.943.813.709 1.73 1.406 2.68 1.93.953.527 1.894.853 2.759.875.849.021 1.778-.276 2.727-.79.943-.512 1.86-1.212 2.67-1.933a25 25 0 0 0 1.977-1.989l.015-.016a.654.654 0 0 0-.007-.875 26 26 0 0 0-1.98-1.943c-.812-.71-1.73-1.407-2.68-1.932-.953-.525-1.894-.853-2.759-.874"/></g></svg>':AS),this[t(132)].on(t(153),()=>{const e=t;this[e(143)](e(165))})}}var NS=r(6819),OS={attributes:{"data-cke":!0}};OS.setAttributes=Et(),OS.insert=yt().bind(null,"head"),OS.domAPI=It(),OS.insertStyleElement=Ct();bt()(NS.A,OS);NS.A&&NS.A.locals&&NS.A.locals;const LS=DS;function DS(t,e){const n=PS();return(DS=function(t,e){return n[t-=363]})(t,e)}function PS(){const t=["showDiff","1352aiVFPV","toggleSuggestionDisplayMode","AI_BALLOON_PREVIOUS_LABEL","216LlGbzx","tab","isEnabled","createCollection","availableActions","focusCycler","destroy","_togglePartToolbarButtonsVisibility","focusLast","_focusTracker","_keystrokes","toggleRotatorButtonsVisibility","_isErrorVisible","6693190xubmAf","_streamableContentView","ck-ai-chat-balloon__toolbar-container","_config","_miniToolbarView","locale","add","4dApkIW","update","render","div","change:isTrackChangesOn","_createNextButtonView","_stateView","isTrackChangesOn","65781XWxPPI","previousButtonView","setTemplate","bind","element","_state","bindTemplate","insertSuggestion","full","toggleShowChanges","togglePartToolbarEnabled","hideError","1482545delOCO","setState","ck-ai-chat-balloon-main_state_","children","showError","addMany","isShowChangesOn","includes","_focusables","listenTo","showBlockingError","set","AI_BALLOON_NEXT_LABEL","showNext","focusFirst","delegate","execute","828477KWLPPR","fire","_toolbarContainerView","change:_state","applySuggestion","showPrevious","updateContent","focus","keepErrors","setButtonsVisibility","50498ZiSZcV","_createPreviousButtonView","shift + tab","rejectSuggestion","_partToolbarView","pending","has","116lhVBCB","93798lronDk","nextButtonView","_errorView","ck-ai-chat-balloon-main","isVisible"];return(PS=function(){return t})()}!function(t){const e=DS,n=t();for(;;)try{if(238425===parseInt(e(426))/1*(-parseInt(e(419))/2)+-parseInt(e(402))/3+-parseInt(e(365))/4*(parseInt(e(385))/5)+parseInt(e(420))/6+parseInt(e(412))/7+parseInt(e(429))/8*(parseInt(e(373))/9)+parseInt(e(442))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(PS);class MS extends _S{[LS(388)];[LS(421)];[LS(374)];[LS(434)];[LS(393)];[LS(438)];[LS(439)];[LS(445)];[LS(443)];[LS(404)];[LS(416)];[LS(371)];[LS(446)];constructor(t,e){const n=LS;super(t);const i=this[n(379)];this[n(396)](n(425),!1),this[n(396)](n(378),n(417)),this[n(438)]=new o.FocusTracker,this[n(439)]=new o.KeystrokeHandler,this[n(393)]=this[n(432)](),this[n(434)]=new a.FocusCycler({focusables:this[n(393)],focusTracker:this[n(438)],keystrokeHandler:this[n(439)],actions:{focusPrevious:n(414),focusNext:n(430)}}),this[n(445)]=e,this[n(421)]=this[n(370)](),this[n(374)]=this[n(413)](),this[n(443)]=new Iv(t),this[n(416)]=new uv(t,e[n(433)]),this[n(416)][n(400)](n(406),n(380),n(415)).to(this),this[n(436)](e),this[n(371)]=new iv(t),this[n(371)][n(424)]=!1,this[n(446)]=new RS(t,{showChanges:n(381)}),this[n(446)][n(376)](n(391)).to(this,n(425)),this[n(446)].on(n(382),()=>{const t=n;this[t(403)](t(427))}),this[n(404)]=new VS(t,[this[n(416)],this[n(371)],this[n(446)]]),this[n(388)]=this[n(432)]([this[n(443)],this[n(404)]]),this.on(n(405),(t,e,i,r)=>{const s=n;let o,a;s(417)===r?(o=this[s(416)],a=this[s(371)]):(o=this[s(371)],a=this[s(416)]),this[s(371)][s(386)](i),o[s(424)]=!1,a[s(424)]=!0}),this[n(375)]({tag:n(368),attributes:{class:["ck",n(423),i.to(n(378),t=>n(387)+t)]},children:this[n(388)]}),this.on(n(369),()=>{this[n(436)](e)})}[LS(367)](){const t=LS;super[t(367)](),this[t(421)][t(367)](),this[t(374)][t(367)](),this[t(438)][t(364)](this[t(377)]),this[t(438)][t(364)](this[t(421)]),this[t(438)][t(364)](this[t(374)]),this[t(438)][t(364)](this[t(446)]),this[t(438)][t(364)](this[t(416)]),this[t(439)][t(394)](this[t(377)]),this[t(439)][t(394)](this[t(421)][t(377)]),this[t(439)][t(394)](this[t(374)][t(377)]),this[t(393)][t(390)]([this[t(421)],this[t(374)],this[t(416)],this[t(446)]])}[LS(435)](){const t=LS;super[t(435)](),this[t(374)][t(435)](),this[t(421)][t(435)]()}[LS(409)](){const t=LS;this[t(434)][t(399)]()}[LS(437)](){const t=LS;this[t(434)][t(437)]()}async[LS(408)](t){const e=LS;t?.[e(410)]||this[e(384)](),await this[e(443)][e(366)](t)}[LS(386)](t){this[LS(378)]=t}[LS(389)](t){const e=LS;super[e(389)](t),this[e(388)][e(418)](this[e(422)])||this[e(388)][e(364)](this[e(422)],0)}[LS(384)](){const t=LS;this[t(441)]&&(super[t(384)](),this[t(383)](!0))}[LS(395)](t){const e=LS;super[e(395)](t),this[e(383)](!1)}[LS(440)](t){const e=LS;this[e(421)][e(424)]=this[e(374)][e(424)]=t}[LS(383)](t){const e=LS;this[e(416)][e(431)]=t}[LS(436)]({showApplyButton:t,showSuggestButton:e}){const n=LS;t=t&&!this[n(372)]&&this[n(445)][n(433)][n(392)](n(406)),e=e&&this[n(445)][n(433)][n(392)](n(380)),this[n(416)][n(411)]({showApplyButton:t,showSuggestButton:e})}[LS(370)](){const t=LS,e=new a.ButtonView(this[t(363)]);return e[t(396)]({icon:i.IconChevronDown,label:Zl(this[t(363)],t(397)),isVisible:!0}),e.on(t(401),()=>{const e=t;this[e(403)](e(398))}),e}[LS(413)](){const t=LS,e=new a.ButtonView(this[t(363)]);return e[t(396)]({icon:i.IconChevronUp,label:Zl(this[t(363)],t(428)),isVisible:!0}),e.on(t(401),()=>{const e=t;this[e(403)](e(407))}),e}}class VS extends a.View{constructor(t,e){const n=LS;super(t),this[n(375)]({tag:n(368),attributes:{class:[n(444)]},children:e})}}const BS=US;function HS(){const t=["isOfficialPlugin","plugins","aiChatBalloon","config","48660qMfksu","remove","beforeDialogClosed","commands","close","Dialog","204tOwSWt","applySuggestion","ck-ai-chat-balloon","delegate","headerView","has","AIBalloon","showPrevious","bind","isTrackChangesOn","TrackChanges","editor","setState","toggleRotatorButtonsVisibility","49hhQmDm","togglePartToolbarEnabled","12LyXFCI","previousButtonView","11428490GmGAvr","2270488rCRcmg","153400SLBUAa","rejectSuggestion","showDiff","ai.availableReplyActions","areActionsDisabled","open","set","1229709tsmbLJ","value","isPremiumPlugin","focus","filter","children","trackChanges","AIChatBalloon","once","showRotator","pluginName","requires","updateContent","_chatBalloonView","view","_restoreDefaultViewFocus","locale","showNext","dialogClosed","_toggleRotatorButtonsInDialogHeader","render","1134138vtZYTH","2568465fyJHEp","38lawITq","nextButtonView","addMany","insertSuggestion","9YvAKNV","11fPujQe","_createChatBalloonView","get"];return(HS=function(){return t})()}function US(t,e){const n=HS();return(US=function(t,e){return n[t-=442]})(t,e)}!function(t){const e=US,n=t();for(;;)try{if(992705===parseInt(e(460))/1+parseInt(e(490))/2*(parseInt(e(502))/3)+-parseInt(e(456))/4*(parseInt(e(489))/5)+parseInt(e(488))/6*(parseInt(e(454))/7)+parseInt(e(459))/8*(parseInt(e(494))/9)+parseInt(e(458))/10*(-parseInt(e(495))/11)+-parseInt(e(508))/12*(-parseInt(e(467))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(HS);class qS extends n.Plugin{static get[BS(478)](){return[a.Dialog,yS]}static get[BS(477)](){return BS(474)}static get[BS(498)](){return!0}static get[BS(469)](){return!0}[BS(480)];constructor(t){const e=BS;super(t),this[e(466)](e(462),!1)}[BS(465)](t){const e=BS,n=this[e(451)];this[e(480)]||(this[e(480)]=this[e(496)]()),n[e(499)][e(497)](e(446))[e(465)]({...t,id:e(500),class:e(442),mainView:this[e(480)]}),this[e(486)](t[e(476)]),this[e(480)][e(455)](!t[e(464)]),this[e(482)]()}[BS(506)](){const t=BS;this[t(451)][t(499)][t(497)](t(446))[t(506)]()}[BS(479)](t){const e=BS;return this[e(480)]||(this[e(480)]=this[e(496)]()),this[e(480)][e(479)](t)}[BS(452)](t){const e=BS;this[e(480)]&&this[e(480)][e(452)](t)}[BS(496)](){const t=BS,e=this[t(451)],n=e[t(499)][t(497)](t(446)),i=e[t(505)][t(497)](t(473));let r=e[t(501)][t(497)](t(463))||[...Bv];e[t(499)][t(445)](t(450))||(r=r[t(471)](e=>t(493)!=e));const s=new MS(e[t(483)],{availableActions:r,showApplyButton:!0,showSuggestButton:!!i});return s[t(448)](t(462)).to(this),s[t(443)](..._I).to(this),s[t(443)](t(447),t(484)).to(this),n[t(443)](t(485)).to(this),s.on(t(509),this[t(482)][t(448)](this)),s.on(t(493),this[t(482)][t(448)](this)),s.on(t(461),this[t(482)][t(448)](this)),i&&s[t(448)](t(449)).to(i,t(468)),s[t(487)](),s}[BS(486)](t){const e=BS,n=this[e(451)],i=n[e(499)][e(497)](e(507))[e(481)][e(444)][e(472)];this[e(480)][e(453)](t),i[e(445)](this[e(480)][e(457)])||(i[e(492)]([this[e(480)][e(457)],this[e(480)][e(491)]],0),n[e(499)][e(497)](e(446))[e(475)](e(504),()=>{const t=e;i[t(503)](this[t(480)][t(457)]),i[t(503)](this[t(480)][t(491)])}))}[BS(482)](){const t=BS;this[t(480)][t(470)]()}}var FS=zS;function zS(t,e){var n=GS();return(zS=function(t,e){return n[t-=104]})(t,e)}function GS(){var t=["24iQXSTr","20618961WxpdnT","AIEditorIntegration","pluginName","194439frrJCM","40BCstkE","isOfficialPlugin","12264230MirNLD","requires","isPremiumPlugin","6579225FNMtOF","195740KTwPPJ","32hMguiD","7kUyVFf","41066VECnPV","11907824CGDyyJ"];return(GS=function(){return t})()}!function(t){for(var e=zS,n=t();;)try{if(881643===parseInt(e(107))/1*(-parseInt(e(105))/2)+parseInt(e(113))/3*(-parseInt(e(114))/4)+-parseInt(e(104))/5*(parseInt(e(109))/6)+-parseInt(e(106))/7*(parseInt(e(108))/8)+parseInt(e(119))/9+parseInt(e(116))/10+parseInt(e(110))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(GS);class jS extends n.Plugin{static get[FS(117)](){return[hS,qS,xb.SuggestionsConversion]}static get[FS(112)](){return FS(111)}static get[FS(115)](){return!0}static get[FS(118)](){return!0}}const WS='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M15.739 13.009c0-.416.44-.644.749-.422l.06.05 3.297 3.232.036.039a.53.53 0 0 1 0 .666l-.036.039-3.297 3.232c-.288.283-.747.098-.803-.292l-.006-.08v-1.468c-.343.04-.898.142-1.57.404l-.189.077c-.654.276-1.15.766-1.464 1.156l-.123.16a.48.48 0 0 1-.574.163.516.516 0 0 1-.314-.56l.064-.388c.074-.426.184-.955.335-1.474.196-.676.483-1.408.906-1.854l.113-.114c.986-.957 2.195-1.094 2.816-1.094zM.773 12.536a.75.75 0 0 1 .945.498l.018.052a9 9 0 0 0 .42.964c.316.619.8 1.396 1.473 2.07.701.702 1.38 1.193 1.88 1.507a8 8 0 0 0 .746.417l.037.015.005.003a.75.75 0 0 1-.522 1.404l-.072-.027-.01-.004-.018-.008-.058-.027a10 10 0 0 1-.905-.504 12.3 12.3 0 0 1-2.143-1.715c-.82-.82-1.388-1.744-1.748-2.45a10 10 0 0 1-.5-1.145l-.026-.076-.006-.021-.003-.007v-.003H.285a.75.75 0 0 1 .488-.943M11.29 6.84a3.76 3.76 0 0 0 2.22 2.218L17 10.35l-3.49 1.291a3.76 3.76 0 0 0-2.22 2.22L10 17.35l-1.291-3.49a3.76 3.76 0 0 0-2.22-2.22l-3.49-1.29 3.49-1.292a3.76 3.76 0 0 0 2.22-2.218l1.29-3.49zM13.314.953a.75.75 0 0 1 .913-.42l.072.028.01.004.018.008.058.027q.076.035.204.1c.172.09.413.223.702.404.576.362 1.348.92 2.142 1.715.82.82 1.388 1.744 1.748 2.451a10 10 0 0 1 .5 1.145l.026.075.006.021.003.007v.003l.001.001a.75.75 0 0 1-1.43.455l-.003-.01-.018-.052-.079-.21a9 9 0 0 0-.342-.754c-.315-.62-.798-1.397-1.472-2.071a10.8 10.8 0 0 0-1.88-1.506 8 8 0 0 0-.746-.417l-.037-.016-.005-.003a.75.75 0 0 1-.391-.985M2.05 3.75a.75.75 0 1 1-.002 1.502.75.75 0 0 1 .001-1.501M4.548 1.25a.75.75 0 1 1 0 1.501.75.75 0 0 1 0-1.5"/></svg>',KS='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7.718 5.12c.285.77.893 1.378 1.663 1.663l2.618.97-2.618.968a2.82 2.82 0 0 0-1.663 1.664l-.969 2.617-.969-2.617A2.82 2.82 0 0 0 4.117 8.72l-2.618-.969 2.618-.969A2.82 2.82 0 0 0 5.78 5.12l.969-2.618zm10.609 9.086a.75.75 0 0 1 0 1.492l-.078.004h-8a.75.75 0 0 1 0-1.5h8zm-.077-4.504a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5zm.002-4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5zM3.461 12.749c.136.367.425.657.791.793l1.247.46-1.247.46a1.34 1.34 0 0 0-.79.793l-.463 1.247-.46-1.246a1.34 1.34 0 0 0-.793-.793l-1.247-.46 1.247-.461a1.34 1.34 0 0 0 .792-.793L3 11.502z"/></svg>';function YS(t,e){const n=$S();return(YS=function(t,e){return n[t-=145]})(t,e)}function $S(){const t=["51HBZUAt","execute","parent","icon","6jQSjig","view","7116399LhpXMU","displayedPrompt","5819443dJOAWh","extendTemplate","commands","870230yRLjiG","106046sEZcWk","bindTemplate","3371564ruWZPD","locale","menuitem","focus","set","aiQuickAction","5748824HkgAsh","isEnabled","32324ZqisTd","editing","ck-ai-quick-actions-button"];return($S=function(){return t})()}function QS(t){const{editor:e,action:n,withText:i=!1,withIcon:r=!0,isInDropdown:s=!0,shouldPreventFocus:o=!1}=t;return()=>{const t=YS,c=e[t(168)],l=new a.ButtonView(c),u=l[t(166)];s&&l[t(162)]({on:{mouseenter:u.to(()=>{const e=t;o&&o()||l[e(145)]()})}});const h=n[t(156)]??n[t(155)]?.[t(156)];return l[t(146)]({label:n[t(160)],withText:i,role:t(169),icon:r?h??KS:void 0,tooltip:!i,class:t(152),isEnabled:n[t(149)]}),l.on(t(154),()=>{const i=t;e[i(151)][i(158)][i(145)](),e[i(163)][i(154)](i(147),n)}),l}}function XS(){const t=["mouseenter","153pMiagK","content","10640gwBkWf","bindTemplate","55155biWmHL","_createArrowView","1513174KfWvvw","1048716QxePIq","menuitem","extendTemplate","render","children","arrowView","45JExdlg","74qiujsA","664700McoGJn","3726240GIargI","ck-dropdown-menu-list__nested-menu__button__arrow","ck-dropdown-menu-list__nested-menu__button","100441ceuacx","set","2810nUzgsl","isOn","add"];return(XS=function(){return t})()}!function(t){const e=YS,n=t();for(;;)try{if(494371===-parseInt(e(150))/1+-parseInt(e(165))/2*(parseInt(e(153))/3)+parseInt(e(167))/4+parseInt(e(164))/5*(-parseInt(e(157))/6)+parseInt(e(161))/7+parseInt(e(148))/8+-parseInt(e(159))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($S);const JS=ZS;function ZS(t,e){const n=XS();return(ZS=function(t,e){return n[t-=391]})(t,e)}!function(t){const e=ZS,n=t();for(;;)try{if(811927===parseInt(e(405))/1+-parseInt(e(413))/2*(-parseInt(e(403))/3)+parseInt(e(414))/4+-parseInt(e(412))/5*(-parseInt(e(406))/6)+-parseInt(e(415))/7+-parseInt(e(401))/8*(parseInt(e(399))/9)+parseInt(e(395))/10*(-parseInt(e(393))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(XS);class tx extends a.ListItemButtonView{[JS(411)];constructor(t,e){const n=JS;super(t,e);const i=this[n(402)];this[n(394)]({withText:!0,role:n(407)}),this[n(411)]=this[n(404)](),this[n(408)]({attributes:{class:[n(392)],"aria-haspopup":!0,"aria-expanded":this[n(402)].to(n(396),t=>String(t)),"data-cke-tooltip-disabled":i.to(n(396))},on:{mouseenter:i.to(n(398))}})}[JS(409)](){const t=JS;super[t(409)](),this[t(410)][t(397)](this[t(411)])}[JS(404)](){const t=JS,e=new a.IconView;return e[t(400)]=XA,e[t(408)]({attributes:{class:t(391)}}),e}}const ex=ix;function nx(){const t=["sort","length","_clearHighlight","source","items","623440PqGzZp","label","930AeFkOX","clear","_allSearchableItems","toLowerCase","filter","2184680LeFSwM","39357lGPwsU","item","trim","addMany","function","_highlightQuery","forEach","highlightText","931062pztvaz","21WQywVu","groupLabel","map","highlightViews","_allListItems","12YBaMJg","includes","1050460ewcXGk","260718gmmDPz","255003JLPlPX"];return(nx=function(){return t})()}function ix(t,e){const n=nx();return(ix=function(t,e){return n[t-=417]})(t,e)}!function(t){const e=ix,n=t();for(;;)try{if(312276===-parseInt(e(431))/1+parseInt(e(430))/2+-parseInt(e(432))/3*(-parseInt(e(428))/4)+parseInt(e(438))/5+-parseInt(e(422))/6*(parseInt(e(423))/7)+-parseInt(e(445))/8+parseInt(e(446))/9*(parseInt(e(440))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(nx);class rx extends a.ListView{[ex(427)];[ex(442)];constructor(t,e,n){const i=ex;super(t),this[i(427)]=e,this[i(442)]=n}[ex(444)](t){const e=ex;if(!t)return this[e(437)][e(441)](),this[e(437)][e(417)](this[e(427)]),this[e(435)](),{resultsCount:this[e(427)][e(434)],totalItemsCount:this[e(427)][e(434)]};const n=t[e(436)][e(443)]()[e(448)](),i=this[e(442)][e(444)](t=>(t[e(424)]?t[e(439)]+" ("+t[e(424)]+")":t[e(439)])[e(443)]()[e(429)](n));return this[e(437)][e(441)](),this[e(437)][e(417)](i[e(433)]((t,n)=>{const i=e,r=t[i(424)],s=n[i(424)];return r||s?r?1:-1:0})[e(425)](t=>t[e(447)])),this[e(419)](n,i),{resultsCount:i[e(434)],totalItemsCount:this[e(442)][e(434)]}}[ex(419)](t,e){const n=ex;if(!t)return;const i=new RegExp(oE(t),"gi");e[n(420)](t=>{const e=n;t[e(426)]&&t[e(426)][e(420)](t=>{const n=e;n(418)==typeof t[n(421)]&&t[n(421)](i)})})}[ex(435)](){const t=ex;this[t(442)][t(420)](e=>{const n=t;e[n(426)]&&e[n(426)][n(420)](t=>{const e=n;e(418)==typeof t[e(421)]&&t[e(421)](null)})})}}const sx=ax;function ox(){const t=["view","ck-ai-quick-actions-button_with-group__open-paren","relatedTarget","set","ArrowRight","_searchTextView","element","_isSearchFocused","ck-ai-quick-actions-search-result-button","_focusables",".ck-ai-quick-actions-group-list","3113504umlRGx","ck-ai-quick-actions-button ck-ai-quick-actions-button_with-group","_bodyCollection","menu","text","ck-rounded-corners","22cxJJoR","eastSouth","ck-reset_all","ck-ai-quick-actions-search-result__content","children","div","ck-ai-quick-actions-button","clear","render","ck-ai-quick-actions-search-result-button_with-group","focusTracker","ck-dropdown-menu__nested-menu__panel","button","isOn","_hasSearch","menuitem","editing","_createActionGroupButton","_handleSearchResultButtonClick","ck-ai-quick-actions-group-list","label","24121179wCQrhn","AI_QUICK_ACTIONS_SEARCH","ck-ai-quick-actions-button_with-group__close-paren","4INKoJw","reset","ck-ai-quick-actions-search","uiLanguageDirection","1387129SmZTbx","destroy","ck-ai-quick-actions-button ck-ai-quick-actions-search-result-button ck-ai-quick-actions-search-result-button_with-group","actions","role","resetSearch","commands","_createSearchResultGroupedActionButton","chain","ArrowLeft","_createListItems","ck-ai-quick-actions-button__group-icon","get","_createSearchResultIndividualActionButton","5443655cRZtKe","_hideNestedPanel","fire","forEach","AI_QUICK_ACTIONS_SEARCH_NOT_FOUND","_createActionButton","detachFromDom","_openNestedPanels","267357lyZBkt",".ck-ai-quick-actions-group-panel","show","_createSearchResultActionRow","setTemplate","contains","ck-dropdown-menu-list","_getPanelKeystroke","ck-ai-quick-actions-group-panel","_getButtonKeystroke","push","ck-button","span","_handlePanelKeydown","content","bindTemplate","_createSearchResultGroupRow","bind","3593175qHXkyx","_setupActionButtonExecution","isEnabled","displayedPrompt","_createSearchResultActionButton","addEventListener","ck-ai-quick-actions-button_with-group","focus","_createSearchTextView","ck-button_with-text","_setupGroupMenuBehavior","items","closest","activeElement","_isMovingToNestedMenu","rtl","_createSearchResultContentView","fieldView","hide","optionsListView","_hideAllNestedPanels","aiQuickAction","ck-ai-quick-actions","some","ownerDocument","focusCycler","ck-ai-quick-actions-search-result__group-row","pin","parent","locale",".ck-ai-quick-actions-group-button","icon","_showNestedPanel","9182850HERGew","add","extendTemplate","first","_createGroupActionsList","execute","ck-ai-quick-actions-search-result__action-row","addMany","mouseleave","ck-ai-quick-actions-button ck-ai-quick-actions-search-result-button","queryView","delete","key","isVisible","keystrokes","ck-ai-quick-actions-group-button","_allSearchableItems"];return(ox=function(){return t})()}function ax(t,e){const n=ox();return(ax=function(t,e){return n[t-=222]})(t,e)}!function(t){const e=ax,n=t();for(;;)try{if(769564===parseInt(e(278))/1+-parseInt(e(250))/2*(-parseInt(e(300))/3)+-parseInt(e(274))/4*(-parseInt(e(318))/5)+parseInt(e(351))/6+-parseInt(e(292))/7+-parseInt(e(244))/8+-parseInt(e(271))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ox);const cx=sx(247),lx=sx(265);class ux extends a.View{[sx(246)];[sx(337)];[sx(238)]=null;[sx(232)]=[];[sx(254)];[sx(260)];[sx(230)];[sx(242)];[sx(343)];[sx(299)]=new Set;[sx(264)];constructor(t,e,n,i,r=!1){const s=sx,c=t[s(347)];super(c),this[s(246)]=i,this[s(264)]=r;const l=this[s(288)](t,e,n);this[s(337)]=new rx(c,l,this[s(232)]),this[s(337)][s(282)]=cx,this[s(337)][s(329)][s(223)](l),this[s(260)]=new o.FocusTracker,this[s(230)]=new o.KeystrokeHandler,r&&(this[s(238)]=this[s(326)]()),this[s(242)]=l,this[s(343)]=new a.FocusCycler({focusables:this[s(242)],focusTracker:this[s(260)],keystrokeHandler:this[s(230)]}),r&&this[s(238)]&&this[s(343)][s(286)](this[s(238)][s(343)]);const u=r&&this[s(238)]?[this[s(238)]]:[this[s(337)]];this[s(254)]=new a.ViewCollection(u),this[s(304)]({tag:s(255),attributes:{class:["ck",s(252),s(340),s(249)],dir:c[s(277)]},children:this[s(254)]})}[sx(326)](){const t=sx;return new a.SearchTextView(this[t(347)],{filteredView:this[t(337)],queryView:{label:Zl(this[t(347)],t(272))},class:t(276),infoView:{text:{notFound:{primary:Zl(this[t(347)],t(296))}}}})}[sx(240)](){const t=sx;if(!this[t(264)]||!this[t(238)]||!this[t(238)][t(226)][t(335)][t(239)])return!1;const e=this[t(238)][t(226)][t(335)][t(239)][t(342)]?.[t(331)];return this[t(238)][t(226)][t(335)][t(239)][t(305)](e)}[sx(288)](t,e,n){const i=sx,r=new a.ViewCollection;return e[i(295)](e=>{const s=i;if(s(281)in e){const{listItem:i}=this[s(267)](t,e,n);r[s(352)](i),e[s(281)][s(295)](n=>{const i=s;this[i(297)](t,n,e[i(270)],e[i(349)]);const{listItem:r,highlightViews:o}=this[i(322)](t,n,e[i(270)],e[i(349)]);this[i(232)][i(310)]({item:r,label:n[i(321)],groupLabel:e[i(270)],highlightViews:o})})}else{const{listItem:n}=this[s(297)](t,e);r[s(352)](n);const i=n[s(254)][s(354)];if(i){const{listItem:n,highlightViews:r}=this[s(322)](t,e);this[s(232)][s(310)]({item:n,label:i[s(270)]||"",highlightViews:r})}}}),r}[sx(297)](t,e,n,i){const r=sx,s=new a.ListItemView(this[r(347)]);if(n&&i){const o=new a.ButtonView(this[r(347)]),c=o[r(315)],l=new a.HighlightedTextView;l[r(248)]=e[r(321)];const u=new a.HighlightedTextView;u[r(248)]=n;const h=new a.IconView;h[r(314)]=i,h[r(353)]({attributes:{class:r(289)}});const d=new a.View(this[r(347)]);d[r(304)]({tag:r(312),attributes:{class:r(234)},children:[{text:" ("}]});const p=new a.View(this[r(347)]);return p[r(304)]({tag:r(312),attributes:{class:r(273)},children:[{text:")"}]}),o[r(236)]({label:e[r(321)]+" ("+n+")",withText:!0,role:r(265),class:r(245),tooltip:!1}),o[r(304)]({tag:r(262),attributes:{class:["ck",r(311),r(327),r(256),r(324)],type:r(262),role:r(265),tabindex:"-1"},children:[l,d,h,u,p],on:{mouseenter:c.to(()=>{const t=r;this[t(240)]()||o[t(325)]()}),click:c.to(()=>{const t=r;o[t(294)](t(356))})}}),o.on(r(356),()=>{const n=r;t[n(266)][n(233)][n(325)](),t[n(284)][n(356)](n(339),e)}),s[r(254)][r(352)](o),{listItem:s,highlightViews:[l,u]}}{const n=new a.ButtonLabelWithHighlightView,i=new a.ButtonView(this[r(347)],n),o=i[r(315)],c=e[r(349)]??e[r(346)]?.[r(349)],l=void 0!==e[r(349)];return i[r(236)]({label:e[r(321)],withText:!0,role:r(265),icon:l?c??KS:void 0,tooltip:!1,class:r(256)}),i[r(353)]({on:{mouseenter:o.to(()=>{const t=r;this[t(240)]()||i[t(325)]()})}}),i.on(r(356),()=>{const n=r;t[n(266)][n(233)][n(325)](),t[n(284)][n(356)](n(339),e)}),s[r(254)][r(352)](i),{listItem:s,highlightViews:[n]}}}[sx(322)](t,e,n,i){const r=sx;return n&&i?this[r(285)](t,e,n,i):this[r(291)](t,e)}[sx(285)](t,e,n,i){const r=sx,s=new a.ListItemView(this[r(347)]),o=new a.ButtonView(this[r(347)]),c=o[r(315)],{view:l,highlightView:u}=this[r(316)](n,i),{view:h,highlightView:d}=this[r(303)](e[r(321)]),p=this[r(334)](l,h);return o[r(236)]({label:e[r(321)],withText:!0,role:r(265),class:r(280),tooltip:!1}),o[r(304)]({tag:r(262),attributes:{class:["ck",r(311),r(327),r(256),r(241),r(259)],type:r(262),role:r(265),tabindex:"-1"},children:[p],on:{mouseenter:c.to(()=>{const t=r;this[t(240)]()||o[t(325)]()}),click:c.to(()=>{this[r(268)](o)})}}),this[r(319)](o,t,e),s[r(254)][r(352)](o),{listItem:s,highlightViews:[u,d]}}[sx(291)](t,e){const n=sx,i=new a.ListItemView(this[n(347)]),r=new a.ButtonLabelWithHighlightView,s=new a.ButtonView(this[n(347)],r),o=s[n(315)];return s[n(236)]({label:e[n(321)],withText:!0,role:n(265),icon:void 0,tooltip:!1,class:n(225)}),s[n(353)]({on:{mouseenter:o.to(()=>{const t=n;this[t(240)]()||s[t(325)]()})}}),this[n(319)](s,t,e),i[n(254)][n(352)](s),{listItem:i,highlightViews:[r]}}[sx(316)](t,e){const n=sx,i=new a.View(this[n(347)]),r=new a.IconView;r[n(314)]=e,r[n(353)]({attributes:{class:n(289)}});const s=new a.HighlightedTextView;return s[n(248)]=t,i[n(304)]({tag:n(255),attributes:{class:n(344)},children:[r,s]}),{view:i,highlightView:s}}[sx(303)](t){const e=sx,n=new a.View(this[e(347)]),i=new a.HighlightedTextView;return i[e(248)]=t,n[e(304)]({tag:e(255),attributes:{class:e(222)},children:[i]}),{view:n,highlightView:i}}[sx(334)](t,e){const n=sx,i=new a.View(this[n(347)]);return i[n(304)]({tag:n(255),attributes:{class:n(253)},children:[t,e]}),i}[sx(319)](t,e,n){const i=sx;t.on(i(356),()=>{const t=i;e[t(266)][t(233)][t(325)](),e[t(284)][t(356)](t(339),n)})}[sx(267)](t,e,n){const i=sx,r=new a.ListItemView(this[i(347)]),s=new a.ButtonLabelWithHighlightView,o=new tx(this[i(347)],s),c=o[i(315)],l=this[i(307)](n),u=this[i(355)](t,e[i(281)],n);o[i(236)]({label:e[i(270)],withText:!0,role:lx,icon:e[i(349)]??KS,isEnabled:e[i(281)][i(341)](t=>t[i(320)])}),o[i(353)]({on:{mouseenter:c.to(()=>{const t=i;this[t(240)]()||o[t(325)]()})}});const h=new a.BalloonPanelView(this[i(347)]);return h[i(353)]({attributes:{class:["ck",i(252),i(308),i(261)]},on:{keydown:c.to(t=>{this[i(313)](t,l,o,h)})}}),o[i(317)](i(263)).to(h,i(229)),this[i(246)][i(352)](h),h[i(314)][i(352)](u),this[i(328)](o,h),r[i(254)][i(352)](o),{listItem:r,highlightView:s}}[sx(355)](t,e,n){const i=sx,r=new a.ListView(this[i(347)]);return r[i(353)]({attributes:{class:["ck",i(252),i(269),i(306)]}}),e[i(295)](e=>{const s=i,o=new a.ListItemView(this[s(347)]),c=QS({editor:t,action:e,withText:!0,withIcon:!1,isInDropdown:!0,shouldPreventFocus:()=>this[s(240)]()})();o[s(254)][s(352)](c),n[s(260)][s(352)](c),r[s(329)][s(352)](o)}),r}[sx(328)](t,e){const n=sx,i=t[n(315)],r=this[n(309)](t);t[n(353)]({attributes:{class:[n(231)]},on:{mouseenter:i.to(()=>{this[n(350)](e,t)}),mouseleave:i.to(t=>{const i=n,r=t[i(235)];this[i(332)](r,e)||this[i(293)](e)}),keydown:i.to(i=>{const s=n;i[s(228)]==r&&(this[s(350)](e,t),e[s(314)][s(290)](0)[s(325)]())})}}),e.on(n(258),()=>{const i=n;e[i(239)]?.[i(323)](i(224),n=>{const r=i,s=n[r(235)];t[r(239)]?.[r(305)](s)||this[r(332)](s,e)||this[r(293)](e)})})}[sx(350)](t,e){const n=sx;this[n(299)][n(295)](e=>{const i=n;e!==t&&e[i(229)]&&e[i(336)]()}),t[n(302)](),t[n(345)]({positions:[a.DropdownMenuPanelPositioningFunctions[n(251)]],target:e[n(239)],fitInViewport:!0}),this[n(299)][n(352)](t)}[sx(293)](t){const e=sx;t[e(336)](),this[e(299)][e(227)](t)}[sx(338)](){const t=sx;this[t(299)][t(295)](e=>e[t(336)]()),this[t(299)][t(257)]()}[sx(332)](t,e){const n=sx;if(!t)return!1;if(e[n(239)]?.[n(305)](t))return!0;const i=t;return i[n(330)]&&(null!==i[n(330)](n(301))||null!==i[n(330)](n(243))||null!==i[n(330)](n(348)))}[sx(283)](){const t=sx;this[t(238)]&&this[t(238)][t(275)]()}[sx(279)](){const t=sx;this[t(338)](),this[t(246)][t(298)](),super[t(279)]()}[sx(325)](){const t=sx;this[t(238)]?this[t(238)][t(325)]():this[t(337)][t(325)]()}[sx(307)](t){const e=sx;return e(333)===t[e(347)][e(277)]?e(237):e(287)}[sx(309)](t){const e=sx;return e(333)===t[e(347)][e(277)]?e(287):e(237)}[sx(313)](t,e,n,i){const r=sx;t[r(228)]==e&&(n[r(325)](),this[r(293)](i))}[sx(268)](t){const e=sx;t[e(294)](e(356))}}function hx(){const t=["770208WZmNNp","icon","8kvXkpj","getRanges","2150505rpRfTT","24210UhtvYL","ck-ai-quick-actions-dropdown","ai-quick-actions-dropdown-selection","16921bBatGP","change:isOpen","15887100CsCOkr","selection","4807PPmzPz","get","buttonView","label","document","model","resetSearch","plugins","add","panelView","children","56KsQkSL","locale","AIEditing","hideFakeVisualSelection","length","has","367035DdgDsJ","from","8bcOTeO","set","52JApAmA","showFakeVisualSelection","1361934pOUGML"];return(hx=function(){return t})()}function dx(t,e){const n=hx();return(dx=function(t,e){return n[t-=171]})(t,e)}function px(t){const{editor:e,content:n,buttonDefinition:i,bodyCollection:r,hasSearch:s=!1}=t;return()=>{const t=dx,o=e[t(201)],c=(0,a.createDropdown)(o);c[t(191)][t(173)]({icon:i[t(178)]??KS,label:i[t(192)],tooltip:!0}),c[t(173)]({class:t(183)});const l=new ux(e,n,c,r,s);if(c[t(198)][t(199)][t(197)](l),s){const n=t(184);c.on(t(186),(i,r,s)=>{const o=t;if(s){if(e[o(196)][o(205)](o(202))){const t=e[o(196)][o(190)](fI),i=e[o(194)][o(193)][o(188)],r=Array[o(171)](i[o(180)]());r[o(204)]>0&&t[o(175)](r,n,!1,!0)}}else e[o(196)][o(205)](o(202))&&e[o(196)][o(190)](fI)[o(203)](n),l[o(195)]()})}return c}}!function(t){const e=dx,n=t();for(;;)try{if(621318===-parseInt(e(185))/1*(-parseInt(e(172))/2)+parseInt(e(176))/3+parseInt(e(174))/4*(-parseInt(e(206))/5)+parseInt(e(177))/6*(parseInt(e(200))/7)+-parseInt(e(179))/8*(parseInt(e(181))/9)+-parseInt(e(182))/10*(parseInt(e(189))/11)+parseInt(e(187))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(hx);var fx=r(280),gx={attributes:{"data-cke":!0}};gx.setAttributes=Et(),gx.insert=yt().bind(null,"head"),gx.domAPI=It(),gx.insertStyleElement=Ct();bt()(fx.A,gx);fx.A&&fx.A.locals&&fx.A.locals;function mx(t,e){const n=_x();return(mx=function(t,e){return n[t-=475]})(t,e)}const kx=mx;function _x(){const t=["requires","REVIEW","isEnabled","AI_QUICK_ACTIONS_TRANSLATE_GERMAN","ACTION","filter","commands","AI_QUICK_ACTIONS_TRANSLATE_SPANISH","AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING","german","AI_QUICK_ACTIONS_MORE_FRIENDLY","menu","AI_QUICK_ACTIONS_MORE_DIRECT","AI_QUICK_ACTIONS_CHAT_COMMANDS","AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN","AIQuickActionsUI","AI_QUICK_ACTIONS_ASK_AI","_prepareQuickActionsDefinition","focus","menuBarView","menuBar:aiQuickActions","make-shorter","other","items","1183292pLdwVp","highlight-key-points","improve-writing","plugins","make-tone-direct","editor","pluginName","map","has","translate-to-korean","AI_QUICK_ACTIONS_TRANSLATE_FRENCH","locale","translate-to-french","ai.quickActions.isSearchEnabled","english","7oMyuuf","AI_QUICK_ACTIONS_MORE_CONFIDENT","change-tone","make-tone-professional","set","italian","icon","AI_QUICK_ACTIONS_MAKE_LONGER","menuitem","japanese","AI_QUICK_ACTIONS_MORE_PROFESSIONAL","_quickActionsDefinition","push","isOfficialPlugin","execute","spanish","translate-to-spanish","_initializeQuickActionsMenuBar","AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE","AI_QUICK_ACTIONS_EXPLAIN","AI_QUICK_ACTIONS_TRANSLATE_KOREAN","AI_QUICK_ACTIONS_OTHER","delegate","DisplayNames","AI_QUICK_ACTIONS_MORE_CASUAL","ask-ai","AI_QUICK_ACTIONS_CONTINUE_WRITING","russian","CHAT","AI_QUICK_ACTIONS_TRANSLATE_JAPANESE","AI_QUICK_ACTIONS_TRANSLATE","AI_QUICK_ACTIONS_TRANSLATE_ENGLISH","translate-to-german","_initializeQuickActionsDropdown","39906EmsAre","values","translate-to-italian","AI_QUICK_ACTIONS_IMPROVE_WRITING","translate","adjust-length","AIActions","korean","fix-grammar","AIConnector","<task>For the given selected part of an HTML document you must extract and present the key points from its content.</task><rules>1. Present the output as a clear, structured list (bullets or numbered).- Each point should be concise (one sentence or less).- Do not merge distinct ideas into one bullet.2. Identify what type of text it is and adapt the extraction style:- If it is descriptive capture the main attributes or features.- If it is argumentative extract the main claim and supporting reasons separately.- If it is narrative/story-like extract the main events in chronological order.- If it is data-driven (stats, figures, facts) highlight the most important facts or numbers.- If it is instructional list the steps or main actions in simplified form.- If it provides comparisons extract the contrasted items and their differences/similarities.- If it does not fit any category above extract the main ideas in plain, short statements.3. Keep the list between 3–7 items where possible.- If the text is very short, fewer items are fine.- If it is very long, focus on the most important ideas only.4. Do not copy long text fragments — restate in simple words.5. Do not add interpretation, evaluation, or commentary beyond the text.6. Ensure the list can stand alone without requiring the reader to see the original document.7. Use the context of the whole document, but focus on the selected part when creating your key points.8. Your key points should be written in %0 language.</rules><constraints>1. You MUST NOT perform any edits or modifications on the provided document.2. You MUST NOT include document modifications in your response.3. Your message should only include the extracted key points. Do not add any additional text, flattery, questions or followup suggestions.</constraints>","_executeQuickAction","explain","chat-commands","<task>For the given selected part of an HTML document you must summarize its content in a few sentences, keeping only the essential meaning.</task><rules>1. Your summary should be short and clear:- Aim for 2–4 sentences unless the text is extremely short.- Focus on capturing the main idea(s) without unnecessary detail.2. Identify what type of text it is and adapt the summary style:- If it is descriptive condense the description into its core idea.- If it is argumentative or opinion-based summarize the main claim and reasoning neutrally.- If it is narrative/story-like capture the main event or outcome without side details.- If it is data-driven (stats, figures, facts) summarize what the data shows in plain language.- If it is instructional restate the overall purpose of the steps without listing every step.- If it does not fit any of the categories above provide a general concise summary.3. Provide context if necessary for clarity:- Mention the subject or topic explicitly so the summary can stand alone.4. Do not simply copy sentences from the original text — rephrase in plain language.5. Avoid adding new information or interpretation not present in the text.6. Summarize in a way that would make sense to someone who has not read the original text.7. Use the context of the whole document, but focus on the selected part when creating your summary.8. Your summary should be written in %0 language.</rules><constraints>1. You MUST NOT perform any edits or modifications on the provided document.2. You MUST NOT include document modifications in your response.3. Your message should only include the summary. Do not add any additional text, flattery, questions or followup suggestions.</constraints>","displayedPrompt","model","AI_QUICK_ACTIONS_TRANSLATE_ITALIAN","<task>For given selected part of HTML document you must explain the meaning of it's content clearly and in plain language.</task><rules>1. Identify what type of text it is:- If it looks like a definition explain the concept in simple terms.- If it looks like a description clarify what it is describing and why it matters.- If it contains technical terms or jargon break them down into everyday language.- If it looks instructional restate as clear steps someone can follow.- If it provides examples explain what the example shows and why it's relevant.- If it presents an argument or claim restate the claim neutrally and explain its purpose.- If it is narrative/story-like explain what event or situation is being described.- If it is data-driven (stats, figures, facts) explain what the data indicates.- If it is a quotation explain the meaning of the quote in context.- If it compares/contrasts things explain the key differences or similarities simply.- If it does not fit any of the categories above give a clear, plain-language explanation of its meaning, focusing on usefulness.2. Provide context if the meaning could be unclear without it. (e.g., explain where such a term might be used, or why it is important).3. Keep the explanation short but complete (2–5 sentences).Avoid overly technical detail unless it is necessary for understanding.4. Do not simply repeat the original text — restate and expand it in plain words.5. If possible, add a short example or analogy to make it easier to understand.6. Use the context of the whole document, but focus on the selected part when creating your explanation.7. Your explanation should be written in %0 language.</rules><constraints>1. You MUST NOT perform any edits or modifications on provided document.2. You MUST NOT include document modifications in your response.3. Your message should only include explanation. Do not add any additional text, flattery, questions or followup suggestions.</constraints>","language","AI_QUICK_ACTIONS_TRANSLATE_CHINESE","AI_QUICK_ACTIONS_ADJUST_LENGTH","portuguese","423975LROtxi","children","4390YNBZpp","get","message","forEach","some","label","make-tone-friendly","config","translate-to-russian","make-tone-casual","attachToDom","ai.quickActions.extraCommands","summarize","268005KiJlbC","panelView","chinese","find","translate-to-japanese","_shouldIncludeAction","aiQuickAction","898656NroPSn","type","AI_QUICK_ACTIONS_CHANGE_TONE","continue","AI_QUICK_ACTIONS_SUMMARIZE","make-tone-confident","translate-to-english","french","isPremiumPlugin","getAll","_getDefaultAndCustomActions","length","216303BZVUbh","getDefaultQuickActions","AI_QUICK_ACTIONS_HEADING","ai.quickActions.removeCommands","editing","_initializeQuickActionsComponents","AI_QUICK_ACTIONS_MAKE_SHORTER","init","view","English","ai-quick-actions-models-unable-to-retrieve","48VjBCmy","uiLanguage","buttonView","includes","_initializeQuickActionsComponentsAndCommands","close","30041Pinfrk","replace","AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS","8nRzqbt","AIReviewMode","ai.chat.context.document.enabled","ai-quick-actions-unavailable-model","translate-to-portuguese","aiQuickActions","make-longer","add","AIChat","translate-to-chinese","actions","componentFactory"];return(_x=function(){return t})()}!function(t){const e=mx,n=t();for(;;)try{if(221941===-parseInt(e(494))/1+parseInt(e(548))/2*(parseInt(e(528))/3)+-parseInt(e(584))/4+-parseInt(e(509))/5*(parseInt(e(539))/6)+-parseInt(e(599))/7*(parseInt(e(516))/8)+-parseInt(e(633))/9+-parseInt(e(496))/10*(-parseInt(e(545))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_x);const bx=kx(489),wx=kx(485),Ix=kx(481);var vx,yx;!function(t){const e=kx;t[e(627)]=e(627),t[e(564)]=e(564),t[e(561)]=e(561)}(vx||(vx={})),function(t){const e=kx;t[e(627)]=e(556),t[e(564)]=e(477),t[e(561)]=e(549)}(yx||(yx={}));class Ax extends n.Plugin{static get[kx(560)](){return[a.BalloonToolbar,Jl]}static get[kx(590)](){return kx(575)}static get[kx(612)](){return!0}static get[kx(524)](){return!0}async[kx(535)](){const t=kx,e=await this[t(526)]();this[t(577)](e),this[t(543)]()}static[kx(529)](t){return function(t){const e=mx,n=new(Intl[e(622)])(["en"],{type:e(490)}).of(t[e(540)])||e(537);return[{id:e(624),displayedPrompt:Zl(t,e(576)),type:vx[e(627)],icon:WS},{id:e(484),label:Zl(t,e(573)),icon:WS,actions:[{id:e(483),displayedPrompt:Zl(t,e(618)),prompt:bx[e(546)]("%0",n),type:vx[e(627)]},{id:e(508),displayedPrompt:Zl(t,e(520)),prompt:wx[e(546)]("%0",n),type:vx[e(627)]},{id:e(585),displayedPrompt:Zl(t,e(547)),prompt:Ix[e(546)]("%0",n),type:vx[e(627)]}]},{id:e(586),displayedPrompt:Zl(t,e(636)),type:vx[e(564)],icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M14.832 15.502a.75.75 0 0 1 .754.749.75.75 0 0 1-.755.749H7.28a.753.753 0 0 1-.756-.749c0-.414.339-.749.756-.749zm1.237-12.5a.946.946 0 0 1 .851 1.322c-.69 1.575-1.272 2.683-1.893 3.406-.563.655-1.17 1.005-1.884 1.126-.449 1.736-1.662 2.854-2.73 3.527a8.8 8.8 0 0 1-2.038.937q-.092.029-.146.042l-.042.012-.013.003H8.17l-.002.002a.76.76 0 0 1-.917-.546.75.75 0 0 1 .55-.908l.002-.001.023-.006.104-.03a7.3 7.3 0 0 0 1.673-.77c.952-.6 1.888-1.526 2.14-2.92a.97.97 0 0 1 .91-.792l.168-.014c.382-.05.694-.212 1.056-.633.377-.438.782-1.133 1.293-2.229-2.808.253-5.14 2.025-6.952 4.332-1.991 2.537-3.253 5.6-3.728 7.563a.757.757 0 0 1-.911.553.75.75 0 0 1-.559-.903c.519-2.144 1.867-5.409 4.007-8.134 2.136-2.72 5.164-5.024 9.042-4.939M4.44 1.87c.205.55.64.985 1.19 1.189l1.87.691-1.87.691c-.55.204-.985.64-1.19 1.19L3.75 7.5l-.692-1.87a2.01 2.01 0 0 0-1.19-1.189L0 3.75l1.869-.691c.55-.204.985-.64 1.19-1.19L3.748 0z"/></svg>'},{id:e(519),displayedPrompt:Zl(t,e(625)),type:vx[e(564)],icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7.591 16.502c.421 0 .762.336.762.75s-.341.75-.762.75h-5.08a.757.757 0 0 1-.761-.751c0-.414.34-.749.761-.749zm3.302-8.942c0-1.009 1.135-1.576 1.952-1.056l.158.12 4.817 4.182c.576.5.572 1.386-.008 1.882L12.996 16.8c-.823.702-2.103.127-2.103-.945V14.46H2.511a.756.756 0 0 1-.761-.75c0-.414.34-.75.761-.75h8.636c.701 0 1.27.56 1.27 1.25v1.098l4.176-3.568-4.175-3.627V9.28c0 .69-.57 1.25-1.271 1.25H2.511a.756.756 0 0 1-.761-.75c0-.414.34-.75.761-.75h8.382zm6.047-5.689c.205.55.639.986 1.19 1.19l1.869.691-1.87.691c-.55.204-.984.64-1.188 1.19l-.692 1.869-.692-1.87a2.01 2.01 0 0 0-1.188-1.189l-1.87-.691 1.87-.691c.55-.204.984-.64 1.188-1.19l.691-1.869zM7.591 5.502c.421 0 .762.336.762.75s-.34.75-.762.75h-5.08a.756.756 0 0 1-.761-.75c0-.414.34-.75.761-.75z"/></svg>'},{id:e(479),displayedPrompt:Zl(t,e(568)),type:vx[e(564)],icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M17.413 12.037 10.487 19l-3.421-3.446 1.053-1.058 2.37 2.386 5.873-5.902z"/><path fill-rule="evenodd" d="m12.976 12.465-1.004 1.009-.737-1.995H5.378l-1.39 3.492H2.5L7.463 3H9.05zm-7.1-2.183h4.764L8.257 4.496z" clip-rule="evenodd"/><path d="M16.958 1.87c.203.55.634.985 1.182 1.189l1.859.691-1.86.691a2.01 2.01 0 0 0-1.181 1.19L16.27 7.5l-.689-1.87A2 2 0 0 0 14.4 4.442l-1.858-.691L14.4 3.06c.548-.204.98-.64 1.182-1.19L16.27 0z"/></svg>'},{id:e(476),label:Zl(t,e(492)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m13.749 15.5.691-1.87c.204-.55.638-.984 1.189-1.188l1.87-.692-1.87-.692A2.01 2.01 0 0 1 14.44 9.87L13.75 8l-.692 1.87c-.204.55-.638.984-1.189 1.188l-1.87.692 1.87.692c.55.204.985.638 1.189 1.188zm.5-11.5a.75.75 0 0 1 0 1.5h-11a.75.75 0 0 1 0-1.5zm-4 4a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1 0-1.5zm-3 4a.75.75 0 0 1 0 1.5h-4a.75.75 0 0 1 0-1.5z"/></svg>',actions:[{id:e(581),displayedPrompt:Zl(t,e(534)),type:vx[e(564)]},{id:e(554),displayedPrompt:Zl(t,e(606)),type:vx[e(564)]}]},{id:e(601),label:Zl(t,e(518)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M11.282 2.775a4.274 4.274 0 0 1 5.466.466 4.23 4.23 0 0 1 .47 5.443.75.75 0 0 1-.113.907.75.75 0 0 1-.913.114 4.27 4.27 0 0 1-2.846.759l-2.625 2.362a1 1 0 0 1 .015.14v4.788a.75.75 0 0 1-1.5 0v-3.59l-2.678 2.41a1.26 1.26 0 0 1-1.083.298l-1.134-.226-1.062 1.058a.75.75 0 0 1-1.059-1.063l1.06-1.056-.224-1.121c-.078-.39.035-.792.3-1.085l6.14-6.752c-.09-.983.165-1.99.761-2.83a.75.75 0 0 1 .113-.906.75.75 0 0 1 .912-.116m-6.73 11.519.164.82a1 1 0 0 1 .097.097l.834.165 6.027-5.426a4.26 4.26 0 0 1-1.665-1.658zm6.779-9.39a2.73 2.73 0 0 0 .455 3.274 2.77 2.77 0 0 0 3.294.456zm4.359-.6a2.77 2.77 0 0 0-3.294-.456l3.748 3.728a2.73 2.73 0 0 0-.454-3.272" clip-rule="evenodd"/><path d="M4.44 1.87c.205.55.639.985 1.19 1.189l1.87.691-1.87.691c-.551.204-.985.64-1.19 1.19L3.75 7.5l-.693-1.87A2.01 2.01 0 0 0 1.87 4.442L0 3.751l1.87-.691c.55-.204.984-.64 1.188-1.19L3.75 0z"/></svg>',actions:[{id:e(505),displayedPrompt:Zl(t,e(623)),type:vx[e(564)]},{id:e(588),displayedPrompt:Zl(t,e(572)),type:vx[e(564)]},{id:e(502),displayedPrompt:Zl(t,e(570)),type:vx[e(564)]},{id:e(521),displayedPrompt:Zl(t,e(600)),type:vx[e(564)]},{id:e(602),displayedPrompt:Zl(t,e(609)),type:vx[e(564)]}]},{id:e(475),label:Zl(t,e(629)),icon:UC,actions:[{id:e(522),displayedPrompt:Zl(t,e(630)),type:vx[e(564)],actionName:e(475),args:{language:e(598)}},{id:e(557),displayedPrompt:Zl(t,e(491)),type:vx[e(564)],actionName:e(475),args:{language:e(511)}},{id:e(615),displayedPrompt:Zl(t,e(567)),type:vx[e(564)],actionName:e(475),args:{language:e(614)}},{id:e(631),displayedPrompt:Zl(t,e(563)),type:vx[e(564)],actionName:e(475),args:{language:e(569)}},{id:e(596),displayedPrompt:Zl(t,e(594)),type:vx[e(564)],actionName:e(475),args:{language:e(523)}},{id:e(513),displayedPrompt:Zl(t,e(628)),type:vx[e(564)],actionName:e(475),args:{language:e(608)}},{id:e(552),displayedPrompt:Zl(t,e(617)),type:vx[e(564)],actionName:e(475),args:{language:e(493)}},{id:e(593),displayedPrompt:Zl(t,e(619)),type:vx[e(564)],actionName:e(475),args:{language:e(478)}},{id:e(635),displayedPrompt:Zl(t,e(488)),type:vx[e(564)],actionName:e(475),args:{language:e(604)}},{id:e(504),displayedPrompt:Zl(t,e(574)),type:vx[e(564)],actionName:e(475),args:{language:e(626)}}]},{id:e(582),label:Zl(t,e(620)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m16.25 0 .69 1.87c.205.55.639.984 1.19 1.188L20 3.75l-1.87.692a2.02 2.02 0 0 0-1.19 1.188l-.69 1.87-.693-1.87a2.01 2.01 0 0 0-1.188-1.188l-1.87-.692 1.87-.692c.55-.204.985-.638 1.188-1.188z"/><path d="M10 1c.704 0 1.053-.003 1.474.09.445.099.635.613.426 1.019-.163.315-.523.465-.875.423C10.712 2.495 10.42 2.5 10 2.5a7.5 7.5 0 1 0 7.5 7.5c0-.26-.047-.582-.102-.89a.82.82 0 0 1 .458-.89c.456-.214 1.007.027 1.08.525.053.375.064.746.064 1.255a9 9 0 1 1-9-9"/><path d="M7.05 10a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m4.2 0a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m4.2 0a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0"/></svg>',actions:[]}]}(t)}async[kx(526)](){const t=kx,e=Ax[t(529)](this[t(589)][t(595)]),n=this[t(589)][t(503)][t(497)](t(507))||[];let i=[];try{i=await new Xw({connector:this[t(589)][t(587)][t(497)](t(480)),locale:this[t(589)][t(595)]})[t(525)]()}catch(e){const n=new o.CKEditorError(t(538),this,{error:e});(0,o.logError)(n[t(498)])}finally{const r=n[t(591)](t=>({...t,icon:void 0}));e[t(512)](e=>t(582)===e.id)[t(558)][t(611)](...r),e[t(499)](e=>{const n=t;if(n(558)in e)e[n(558)][n(499)](t=>{const e=n;if(t[e(562)]=!!i[e(512)](n=>n.id===t[e(487)])||void 0===t[e(487)],!t[e(562)]){const n=new o.CKEditorError(e(551),this,{actionId:t.id,modelId:t[e(487)]});(0,o.logError)(n[e(498)])}});else if(e[n(562)]=!!i[n(512)](t=>t.id===e[n(487)])||void 0===e[n(487)],!e[n(562)]){const t=new o.CKEditorError(n(551),this,{actionId:e.id,modelId:e[n(487)]});(0,o.logError)(t[n(498)])}})}return e}[kx(543)](){const t=kx,e=new a.BodyCollection(this[t(589)][t(595)]);e[t(506)](),this[t(632)](e),this[t(616)](),this[t(533)](e)}[kx(632)](t){const e=kx,n=this[e(589)][e(503)][e(497)](e(597))??!0;this[e(589)].ui[e(559)][e(555)](e(553),px({editor:this[e(589)],content:this[e(610)],buttonDefinition:{icon:KS,label:Zl(this[e(589)][e(595)],e(530))},bodyCollection:t,hasSearch:n}))}[kx(577)](t){const e=kx;this[e(610)]=t[e(591)](t=>{const n=e;if(n(558)in t){const e=t;return{...e,actions:e[n(558)][n(591)](t=>{const{actions:n,...i}=e;return{...t,parent:i}})[n(565)](t=>this[n(514)](t))}}return t})[e(565)](t=>e(558)in t?t[e(558)][e(527)]>0:this[e(514)](t))}[kx(514)](t){const e=kx,n=this[e(589)][e(503)][e(497)](e(531))||[];return this[e(589)][e(587)][e(592)](yx[t[e(517)]])&&!n[e(542)](t.id)&&!(t[e(517)]===vx[e(627)]&&!1===this[e(589)][e(503)][e(497)](e(550)))}[kx(533)](t){const e=kx;this[e(610)][e(499)](n=>{const i=e;if(i(558)in n){const e=px({editor:this[i(589)],content:n[i(558)],buttonDefinition:n,bodyCollection:t});this[i(589)].ui[i(559)][i(555)](n.id,e),n[i(558)][i(499)](t=>{const e=i,n=QS({editor:this[e(589)],action:t});this[e(589)].ui[e(559)][e(555)](t.id,n)})}else{const t=QS({editor:this[i(589)],action:n,withText:!1,withIcon:!0,isInDropdown:!1});this[i(589)].ui[i(559)][i(555)](n.id,t)}})}[kx(616)](){const t=kx;this[t(589)].ui[t(559)][t(555)](t(580),e=>{const n=t,i=new a.MenuBarMenuView(e),r=Zl(e,n(530));i[n(541)][n(603)]({label:r,icon:KS});const s=new a.MenuBarMenuListView(e);s[n(603)]({ariaLabel:r,role:n(571)}),this[n(610)][n(499)](t=>{const r=n;if(r(558)in t){const n=t,o=new a.MenuBarMenuListItemView(e,i),c=new a.MenuBarMenuView(e),l=new a.MenuBarMenuListView(e);c[r(541)][r(603)]({label:n[r(501)],icon:n[r(605)]}),n[r(558)][r(499)](t=>{const n=r,i=new a.MenuBarMenuListItemView(e,c),s=new a.MenuBarMenuListItemButtonView(e);s[n(603)]({label:t[n(486)],icon:t[n(605)],role:n(607),isEnabled:t[n(562)]}),s.on(n(613),()=>{this[n(482)](t)}),s[n(621)](n(613)).to(c),i[n(495)][n(555)](s),l[n(583)][n(555)](i)}),c[r(510)][r(495)][r(555)](l),o[r(495)][r(555)](c),s[r(583)][r(555)](o)}else{const n=t,o=new a.MenuBarMenuListItemView(e,i),c=new a.MenuBarMenuListItemButtonView(e);c[r(603)]({label:n[r(486)],icon:n[r(605)],role:r(607),isEnabled:n[r(562)]}),c.on(r(613),()=>{this[r(482)](n)}),c[r(621)](r(613)).to(i),o[r(495)][r(555)](c),s[r(583)][r(555)](o)}});const o=Object[n(634)](yx)[n(500)](t=>this[n(589)][n(587)][n(592)](t));return i[n(603)]({isEnabled:o}),i[n(510)][n(495)][n(555)](s),i})}[kx(482)](t){const e=kx,n=this[e(589)];n[e(532)][e(536)][e(578)](),n[e(566)][e(613)](e(515),t);const i=n.ui[e(536)][e(579)];i&&i[e(544)]&&i[e(544)]()}}function Ex(t,e){const n=Cx();return(Ex=function(t,e){return n[t-=415]})(t,e)}const Tx=Ex;function Cx(){const t=["AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND","ACTION","10314zYGkpt","locale","prompt","removeSelectionFromChatContext","actionName","activateTab","2104130zjPCFb","focusPromptInput","plugins","4281632RcBRiy","chat","model","get","view","icon","_handleAIChatAction","856431zMXowD","_expandSelectionIfCollapsed","displayedPrompt","ask-ai","startConversation","AIChatController","args","getSelectedBlocks","AIChat","sendMessage","editor","isVisible","ai-quick-actions-plugin-not-found","_handleAIActionsActionLabel","6558622mttNmj","log","REVIEW","type","5130SEkAES","AIReviewMode","AITabs","activeTab","parent","handleAIReviewAction","change","getLimitElement","selection","execute","_handleAIReviewAction","_handleAIActionsAction","CHAT","307623UeygME","label","setSelection","document","schema","other","addSelectionToChatContext","has","80NcHfSe","executeAction","1201545KiTuzg","isCollapsed","AIActions"];return(Cx=function(){return t})()}!function(t){const e=Ex,n=t();for(;;)try{if(998297===parseInt(e(435))/1+-parseInt(e(425))/2+parseInt(e(466))/3+-parseInt(e(428))/4+parseInt(e(453))/5*(parseInt(e(419))/6)+-parseInt(e(449))/7+parseInt(e(474))/8*(parseInt(e(476))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Cx);class Sx extends n.Command{[Tx(462)](t){const e=Tx;switch(this[e(436)](),t[e(452)]){case vx[e(465)]:if(!this[e(445)][e(427)][e(473)](e(443))){const t=Zl(this[e(445)][e(420)],e(417),e(443));throw new o.CKEditorError(e(447),this[e(445)],{errorMessage:t})}this[e(434)](t);break;case vx[e(418)]:if(!this[e(445)][e(427)][e(473)](e(416))){const t=Zl(this[e(445)][e(420)],e(417),e(416));throw new o.CKEditorError(e(447),this[e(445)],{errorMessage:t})}this[e(464)](t);break;case vx[e(451)]:if(!this[e(445)][e(427)][e(473)](e(454))){const t=Zl(this[e(445)][e(420)],e(417),e(454));throw new o.CKEditorError(e(447),this[e(445)],{errorMessage:t})}this[e(463)](t)}}async[Tx(434)](t){const e=Tx,n=this[e(445)][e(427)][e(431)](e(443)),i=this[e(445)][e(427)][e(431)](e(440)),r=this[e(445)][e(427)][e(431)](e(455))[e(432)];r[e(446)]||(r[e(446)]=!0),e(429)!==r[e(456)]&&r[e(424)](e(429)),e(438)===t.id?(i[e(422)](),await n[e(472)](),n[e(426)]()):(await n[e(439)](),i[e(422)](),await n[e(472)](),n[e(426)](),await n[e(444)]({message:t[e(421)]||t[e(437)],attributes:{quickActionData:{id:t.id},displayedPrompt:t[e(437)]}}))}[Tx(436)](){const t=Tx,e=this[t(445)],n=e[t(430)][t(469)][t(461)];if(!n[t(415)])return;const i=(0,o.first)(n[t(442)]())||e[t(430)][t(470)][t(460)](n);e[t(430)][t(459)](e=>{e[t(468)](i,"in")})}[Tx(448)](t){const e=Tx;return t[e(457)]?.[e(467)]&&e(471)!==t[e(457)]?.id?t[e(457)][e(467)]+": "+t[e(437)]:t[e(437)]}async[Tx(464)](t){const e=Tx,n=this[e(445)][e(427)][e(431)](e(416)),i=t[e(421)]?{userMessage:t[e(421)],model:t[e(430)]}:{actionName:t[e(423)]||t.id,args:t[e(441)]},r=this[e(448)](t);await n[e(475)](i,r,t[e(433)])}async[Tx(463)](t){const e=Tx;console[e(450)](e(458),t)}}const xx=Rx;function Rx(t,e){const n=Nx();return(Rx=function(t,e){return n[t-=477]})(t,e)}function Nx(){const t=["add","init","commands","isPremiumPlugin","735bBUTiJ","AIQuickActionsEditing","document","AIChat","model","294858tBucNV","selection","directChange","2142280tPdIuD","isOfficialPlugin","has","change:range","removeSelectionFromChatContext","pluginName","346ipKhPE","get","aiQuickAction","14UpGGCG","351304KzXUVR","68505GWwIJP","3018KnTCxO","editor","plugins","4855032vmpjgx"];return(Nx=function(){return t})()}!function(t){const e=Rx,n=t();for(;;)try{if(155523===parseInt(e(498))/1+parseInt(e(493))/2*(-parseInt(e(499))/3)+parseInt(e(497))/4+-parseInt(e(479))/5+-parseInt(e(484))/6*(parseInt(e(496))/7)+-parseInt(e(487))/8+parseInt(e(502))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nx);class Ox extends n.Plugin{static get[xx(492)](){return xx(480)}static get[xx(488)](){return!0}static get[xx(478)](){return!0}[xx(504)](){const t=xx,e=this[t(500)],n=new Sx(this[t(500)]);if(e[t(477)][t(503)](t(495),n),e[t(501)][t(489)](t(482))){const n=this[t(500)][t(501)][t(494)](t(482));e[t(483)][t(481)][t(485)].on(t(490),(e,i)=>{const r=t;i[r(486)]&&n[r(491)]()})}}}class Lx{diff(t,e,n={}){let i;"function"==typeof n?(i=n,n={}):"callback"in n&&(i=n.callback);const r=this.castInput(t,n),s=this.castInput(e,n),o=this.removeEmpty(this.tokenize(r,n)),a=this.removeEmpty(this.tokenize(s,n));return this.diffWithOptionsObj(o,a,n,i)}diffWithOptionsObj(t,e,n,i){var r;const s=t=>(t=this.postProcess(t,n),i?void setTimeout(function(){i(t)},0):t),o=e.length,a=t.length;let c=1,l=o+a;null!=n.maxEditLength&&(l=Math.min(l,n.maxEditLength));const u=null!==(r=n.timeout)&&void 0!==r?r:1/0,h=Date.now()+u,d=[{oldPos:-1,lastComponent:void 0}];let p=this.extractCommon(d[0],e,t,0,n);if(d[0].oldPos+1>=a&&p+1>=o)return s(this.buildValues(d[0].lastComponent,e,t));let f=-1/0,g=1/0;const m=()=>{for(let i=Math.max(f,-c);i<=Math.min(g,c);i+=2){let r;const c=d[i-1],l=d[i+1];c&&(d[i-1]=void 0);let u=!1;if(l){const t=l.oldPos-i;u=l&&0<=t&&t<o}const h=c&&c.oldPos+1<a;if(u||h){if(r=!h||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,n):this.addToPath(c,!1,!0,1,n),p=this.extractCommon(r,e,t,i,n),r.oldPos+1>=a&&p+1>=o)return s(this.buildValues(r.lastComponent,e,t))||!0;d[i]=r,r.oldPos+1>=a&&(g=Math.min(g,i-1)),p+1>=o&&(f=Math.max(f,i+1))}else d[i]=void 0}c++};if(i)!function t(){setTimeout(function(){if(c>l||Date.now()>h)return i(void 0);m()||t()},0)}();else for(;c<=l&&Date.now()<=h;){const t=m();if(t)return t}}addToPath(t,e,n,i,r){const s=t.lastComponent;return s&&!r.oneChangePerToken&&s.added===e&&s.removed===n?{oldPos:t.oldPos+i,lastComponent:{count:s.count+1,added:e,removed:n,previousComponent:s.previousComponent}}:{oldPos:t.oldPos+i,lastComponent:{count:1,added:e,removed:n,previousComponent:s}}}extractCommon(t,e,n,i,r){const s=e.length,o=n.length;let a=t.oldPos,c=a-i,l=0;for(;c+1<s&&a+1<o&&this.equals(n[a+1],e[c+1],r);)c++,a++,l++,r.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return l&&!r.oneChangePerToken&&(t.lastComponent={count:l,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=a,c}equals(t,e,n){return n.comparator?n.comparator(t,e):t===e||!!n.ignoreCase&&t.toLowerCase()===e.toLowerCase()}removeEmpty(t){const e=[];for(let n=0;n<t.length;n++)t[n]&&e.push(t[n]);return e}castInput(t,e){return t}tokenize(t,e){return Array.from(t)}join(t){return t.join("")}postProcess(t,e){return t}get useLongestToken(){return!1}buildValues(t,e,n){const i=[];let r;for(;t;)i.push(t),r=t.previousComponent,delete t.previousComponent,t=r;i.reverse();const s=i.length;let o=0,a=0,c=0;for(;o<s;o++){const t=i[o];if(t.removed)t.value=this.join(n.slice(c,c+t.count)),c+=t.count;else{if(!t.added&&this.useLongestToken){let i=e.slice(a,a+t.count);i=i.map(function(t,e){const i=n[c+e];return i.length>t.length?i:t}),t.value=this.join(i)}else t.value=this.join(e.slice(a,a+t.count));a+=t.count,t.added||(c+=t.count)}}return i}}const Dx=new class extends Lx{tokenize(t){return t.slice()}join(t){return t}removeEmpty(t){return t}};const Px=Vx;function Mx(){const t=["map","children","pop","modified","value","2939301tIlVXe","isDone","1337960PQunwo","removed","node","4934464CdKFdx","14bBNqRd","added","parsedMergedContent","_getDifferentChangeGroups","parsedContent","746094YxXTjX","28470357OtUJme","length","changeGroups","cloneNode","new","255qsOSBZ","data-id","pending","112916hPJnJr","1460382ALxJTE","childNodes","updateChangeGroups","documentContextContent"];return(Mx=function(){return t})()}function Vx(t,e){const n=Mx();return(Vx=function(t,e){return n[t-=486]})(t,e)}!function(t){const e=Vx,n=t();for(;;)try{if(729348===parseInt(e(508))/1+-parseInt(e(497))/2+parseInt(e(506))/3+parseInt(e(496))/4*(parseInt(e(493))/5)+-parseInt(e(487))/6*(-parseInt(e(512))/7)+parseInt(e(511))/8+-parseInt(e(488))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Mx);class Bx extends hw{[Px(499)](){const t=Px;if(this[t(514)]=this[t(486)][t(491)](!0),0==this[t(514)][t(498)][t(489)])return void(this[t(490)]=[]);const e=function(t,e,n){return Dx.diff(t,e,n)}(this[t(500)][t(502)][t(501)](e=>({node:e,id:dd(e,t(494))})),this[t(514)][t(502)][t(501)](e=>({node:e,id:dd(e,t(494))||(0,o.uid)()})),{comparator:(t,e)=>t.id==e.id,oneChangePerToken:!0});if(!this[t(507)])for(;e[t(489)]&&e[e[t(489)]-1][t(509)];)e[t(503)]();const n=e[t(501)](e=>{const n=t,i=e[n(513)]?n(492):e[n(509)]?n(509):n(504);return{node:e[n(505)][0][n(510)],type:i,id:e[n(505)][0].id}});this[t(490)]=[{changes:n,state:t(495),index:0}]}[Px(515)](t,e){return e}}const Hx=Ux;function Ux(t,e){const n=qx();return(Ux=function(t,e){return n[t-=177]})(t,e)}function qx(){const t=["editor","889530suSycP","Current document","21aSqxLN","fire","TEXT","args","createReply","executeAction","hasError","855xSQaUN","content","2435LiPizc","2596jlGRDm","8468559aMAacj","864691LFXaOe","html","2038824WGBvto","current-document","getDocumentContext","actionName","delegate","replyCreated","replies","5886927URjLLW","executeCustomAction","push","sendRequest","userMessage","version","3362UagflY","10yVPJrz","connector","model"];return(qx=function(){return t})()}!function(t){const e=Ux,n=t();for(;;)try{if(441615===-parseInt(e(204))/1+-parseInt(e(185))/2*(-parseInt(e(199))/3)+-parseInt(e(202))/4*(-parseInt(e(201))/5)+-parseInt(e(190))/6+parseInt(e(192))/7*(-parseInt(e(206))/8)+parseInt(e(179))/9*(parseInt(e(186))/10)+parseInt(e(203))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qx);class Fx extends kw{[Hx(200)];[Hx(184)];[Hx(209)];[Hx(195)];[Hx(183)];[Hx(188)];[Hx(198)]=!1;constructor(t){const e=Hx;super(t),this[e(200)]=t[e(200)],this[e(184)]=t[e(184)],this[e(209)]=t[e(209)],this[e(195)]=t[e(195)],this[e(183)]=t[e(183)],this[e(188)]=t[e(188)]}async[Hx(182)](){const t=Hx;return this[t(209)]?this[t(187)][t(197)]({content:this[t(200)],actionName:this[t(209)],args:this[t(195)]}):this[t(187)][t(180)]({content:this[t(200)],message:this[t(183)],model:this[t(188)],outputFormat:t(205)})}[Hx(208)](){const t=Hx;return{type:_w[t(194)],content:this[t(200)],version:this[t(184)],label:t(191),uiId:t(207)}}[Hx(196)](t){const e=Hx,n=new Bx({editor:this[e(189)],documentContextContent:this[e(200)],...t});return this[e(178)][e(181)](n),n[e(210)](...mw).to(this),this[e(193)](e(177),n),n}}const zx=Gx;function Gx(t,e){const n=Wx();return(Gx=function(t,e){return n[t-=472]})(t,e)}!function(t){const e=Gx,n=t();for(;;)try{if(292749===parseInt(e(478))/1+parseInt(e(489))/2*(parseInt(e(474))/3)+parseInt(e(498))/4+-parseInt(e(483))/5*(-parseInt(e(475))/6)+parseInt(e(486))/7+parseInt(e(497))/8+parseInt(e(487))/9*(-parseInt(e(481))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Wx);class jx extends a.ToolbarView{constructor(t,e=!0,n=!0){const i=Gx;super(t),this[i(477)](i(492),!1),e&&(this[i(480)]=this[i(485)](Zl(t,i(482)),i(476)),this[i(480)][i(493)](i(492)).to(this),this[i(495)][i(473)](this[i(480)])),n&&(this[i(491)]=this[i(485)](Zl(t,i(472)),i(e?479:476)),this[i(491)][i(493)](i(492)).to(this),this[i(495)][i(473)](this[i(491)])),this[i(490)]({showApplyButton:e,showSuggestButton:n}),this[i(488)]({attributes:{class:[i(494)]}})}[zx(490)]({showApplyButton:t,showSuggestButton:e}){const n=zx;this[n(480)]&&(this[n(480)][n(484)]=t),this[n(491)]&&(this[n(491)][n(484)]=e)}[zx(485)](t,e){const n=zx,i=new a.ButtonView(this[n(496)]);return i[n(477)]({label:t,class:e,isVisible:!0,withText:!0}),i}}function Wx(){const t=["extendTemplate","9106kGuJlb","setButtonsVisibility","suggestButton","isEnabled","bind","ck-ai-balloon__toolbar","items","locale","1369040mdYShB","1679944RrDUoN","AI_BALLOON_SUGGEST_BUTTON","add","354fAdLUt","6fRwQkZ","ck-ai-button-primary","set","552256FAOFKQ","ck-ai-button-secondary","applyButton","200gRMQSj","AI_BALLOON_APPLY_BUTTON","1312525reausq","isVisible","_createButton","1104306TAhvoh","813663oHPZAR"];return(Wx=function(){return t})()}function Kx(t,e){var n=Yx();return(Kx=function(t,e){return n[t-=443]})(t,e)}function Yx(){var t=["12lDSzjq","AI_DISCLAIMER_TEXT","12873ljdGID","426102uMdTWu","5648hTKgZC","684058FMUECh","14541560lQdGgZ","646788mcwDgt","setTemplate","9pmFfgc","65DvNOJw","12slObNm","ck-ai-balloon__disclaimer-content","3723722KuMXmB","div","ck-ai-balloon__disclaimer","36355803WLJDOC"];return(Yx=function(){return t})()}!function(t){for(var e=Kx,n=t();;)try{if(944789===parseInt(e(445))/1+-parseInt(e(453))/2+-parseInt(e(447))/3*(-parseInt(e(457))/4)+parseInt(e(450))/5*(parseInt(e(443))/6)+parseInt(e(459))/7*(-parseInt(e(444))/8)+parseInt(e(449))/9*(-parseInt(e(446))/10)+parseInt(e(456))/11*(parseInt(e(451))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yx);class $x extends a.View{constructor(t){var e=Kx;super(t),this[e(448)]({tag:e(454),attributes:{class:["ck",e(455)]},children:[{tag:"p",attributes:{class:["ck",e(452)]},children:[{text:Zl(t,e(458))}]}]})}}function Qx(t,e){const n=Xx();return(Qx=function(t,e){return n[t-=472]})(t,e)}function Xx(){const t=["819UBfjEA","ck-ai-suggestion__loader","1527668ShgLFt","set","4147248qkQsWT","ck-ai-suggestion__loader-text","929586sTRWcg","AI_CHAT_IS_WRITING","isVisible","2447425SCyloX","div","3Odxzat","span","setTemplate","ck-hidden","25338BaBjeH","locale","small","bindTemplate","181852AHnVUW","9308349vJCqJl"];return(Xx=function(){return t})()}!function(t){const e=Qx,n=t();for(;;)try{if(319738===parseInt(e(474))/1*(-parseInt(e(482))/2)+-parseInt(e(490))/3+parseInt(e(486))/4+-parseInt(e(472))/5+-parseInt(e(478))/6*(-parseInt(e(484))/7)+-parseInt(e(488))/8+parseInt(e(483))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Xx);class Jx extends a.View{constructor(t){const e=Qx;super(t),this[e(487)](e(492),!0);const n=new ky(e(480));n[e(492)]=!0;const i=new a.View(this[e(479)]);i[e(476)]({tag:e(475),attributes:{class:["ck",e(489)]},children:[Zl(this[e(479)],e(491))]}),this[e(476)]({tag:e(473),attributes:{class:["ck",e(485),this[e(481)].if(e(492),e(477),t=>!t)]},children:[n,i]})}}var Zx=r(9307),tR={attributes:{"data-cke":!0}};tR.setAttributes=Et(),tR.insert=yt().bind(null,"head"),tR.domAPI=It(),tR.insertStyleElement=Ct();bt()(Zx.A,tR);Zx.A&&Zx.A.locals&&Zx.A.locals;const eR=iR;function nR(){const t=["toggleSuggestionDisplayMode","hideLoader","AI_ACTIONS_NEXT_INTERACTION","includes","_addDisclaimerView","_navigationTryAgainButton","focusCycler","12khaWBc","set","isVisible","AI_ACTIONS_PREVIOUS_INTERACTION","toggleShowChangesEnabled","toggleShowChanges","_navigationNextButton","_navigationCounter","_keystrokes","createCollection","applySuggestion","update","applyButton","ck-ai-actions-balloon-main","4571965LErtXn","AI_ACTIONS_TRY_AGAIN","_contentWrapper","tab","bind","_focusables","201eUxQCs","_scrollManager","span","availableActions","stopAutoScroll","resetShowChangesButton","ck-ai-navigation-button ck-ai-next-button","_isLoading","_toggleToolbarButtonsVisibility","add","showNext","324362sGxmkQ","div","_addToolbar","isEnabled","setIsLoading","miniToolbarConfig","addMany","_config","setButtonsVisibility","clear","ck-ai-actions-balloon-content","_setupMiniToolbarButtons","showError","ck-ai-actions-balloon-content-wrapper","_hasError","isShowChangesOn","updateContent","start","setErrorState","ck-ai-custom-action-button","isTrackChangesOn","stop","clearContent","1/1","focus","_createLoaderView","1957193yDKtYq","_errorView","_initializeScrollManager","hideError","render","_navigationPreviousButton","change:isTrackChangesOn","clearErrorState","_streamableContentView","_toolbarView","shift + tab","disableMiniToolbarButtons","showLoader","updateMiniToolbarButtons","tryAgain","startAutoScroll","interactionCount","addMiniToolbarItem","_disclaimerView","_focusTracker","showBlockingError","setTemplate","locale","ck-ai-interaction-counter","element","1466062rcJuYp","12468269aYfjcj","30bqJSZd","has","remove","_addContentWrapper","_loaderView","ck-ai-navigation-button ck-ai-previous-button","_dialogContent","104AkelQU","_createStreamableContentView","fire","focusFirst","showPrevious","37732zgPdTn","_getScrollableElement","destroy","listenTo","bindTemplate","items","isBusy","suggestButton","insertSuggestion","focusLast","_miniToolbarView","removeMiniToolbarItem","toggleIsLoading","setInteractionCount","delegate","828126mqRczL","_createMiniToolbar","execute"];return(nR=function(){return t})()}function iR(t,e){const n=nR();return(iR=function(t,e){return n[t-=438]})(t,e)}!function(t){const e=iR,n=t();for(;;)try{if(862774===-parseInt(e(540))/1+-parseInt(e(489))/2+parseInt(e(478))/3*(-parseInt(e(554))/4)+-parseInt(e(472))/5+-parseInt(e(458))/6*(parseInt(e(515))/7)+parseInt(e(549))/8*(parseInt(e(448))/9)+-parseInt(e(542))/10*(-parseInt(e(541))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(nR);eR(468),eR(441);class rR extends _S{[eR(457)];[eR(496)];[eR(474)];[eR(523)];[eR(524)];[eR(443)];[eR(546)];[eR(533)];[eR(534)];[eR(466)];[eR(548)];[eR(477)];[eR(479)];[eR(520)];[eR(464)];[eR(456)];[eR(465)];constructor(t,e){const n=eR;super(t),this[n(459)](n(439),!1),this[n(459)](n(509),!1),this[n(459)](n(485),!1),this[n(459)](n(503),!1),this[n(496)]=e,this[n(534)]=new o.FocusTracker,this[n(466)]=new o.KeystrokeHandler,this[n(477)]=this[n(467)](),this[n(457)]=new a.FocusCycler({focusables:this[n(477)],focusTracker:this[n(534)],keystrokeHandler:this[n(466)],actions:{focusPrevious:n(525),focusNext:n(475)}}),this[n(548)]=new a.ViewCollection,this[n(545)](e),this[n(455)](),this[n(491)](e),this[n(477)][n(498)](),this[n(477)][n(495)]([this[n(524)]]),this[n(536)]({tag:n(490),attributes:{class:[n(471)]},children:this[n(548)]}),this.on(n(521),()=>{this[n(486)](e)})}[eR(519)](){const t=eR;super[t(519)]();for(const e of this[t(477)])this[t(534)][t(487)](e[t(539)]);this[t(466)][t(557)](this[t(539)]),this[t(517)]()}[eR(556)](){const t=eR;super[t(556)](),this[t(479)]&&this[t(479)][t(556)]()}[eR(513)](t){const e=eR;-1===t?this[e(457)][e(442)]():this[e(457)][e(552)]()}[eR(493)](t){this[eR(485)]=t}[eR(507)](){const t=eR;this[t(503)]=!0,this[t(443)][t(462)](!1)}[eR(522)](){const t=eR;this[t(503)]=!1,this[t(443)][t(462)](!0)}[eR(501)](t){const e=eR;super[e(501)](t),this[e(548)][e(543)](this[e(516)])||this[e(548)][e(487)](this[e(516)],0)}[eR(518)](){const t=eR;super[t(518)](),this[t(522)]()}[eR(535)](t){const e=eR;super[e(535)](t),this[e(507)]()}[eR(532)](t){const e=eR;this[e(443)][e(438)][e(543)](t)||this[e(443)][e(438)][e(487)](t)}[eR(444)](t){const e=eR;this[e(443)][e(438)][e(543)](t)&&this[e(443)][e(438)][e(544)](t)}[eR(527)](){const t=eR;this[t(546)]&&(this[t(485)]=!0)}[eR(452)](){const t=eR;this[t(546)]&&(this[t(485)]=!1)}[eR(486)]({showApplyButton:t,showSuggestButton:e}){const n=eR;t=t&&!this[n(509)]&&this[n(496)][n(481)][n(454)](n(468)),e=e&&this[n(496)][n(481)][n(454)](n(441)),this[n(524)][n(497)]({showApplyButton:t,showSuggestButton:e})}async[eR(505)](t){const e=eR;await this[e(523)][e(469)](t)}[eR(511)](){const t=eR;this[t(523)][t(498)]()}[eR(545)](t){const e=eR;this[e(474)]=new a.View(this[e(537)]),this[e(474)][e(536)]({tag:e(490),attributes:{class:[e(499)]},children:[{tag:e(490),attributes:{class:[e(502)]},children:[this[e(514)](),this[e(550)]()]},this[e(449)](t[e(494)])]}),this[e(548)][e(487)](this[e(474)])}[eR(455)](){const t=eR;this[t(533)]=new $x(this[t(537)]),this[t(548)][t(487)](this[t(533)])}[eR(491)]({showApplyButton:t,showSuggestButton:e}){const n=eR;this[n(524)]=new jx(this[n(537)],t,e),this[n(524)][n(470)]?.on(n(450),()=>{const t=n;this[t(551)](t(468))}),this[n(524)][n(440)]?.on(n(450),()=>{const t=n;this[t(551)](t(441))}),this[n(524)][n(476)](n(492)).to(this,n(439),this,n(485),this,n(503),(t,e,n)=>!(t||e||n)),this[n(486)]({showApplyButton:t,showSuggestButton:e}),this[n(548)][n(487)](this[n(524)])}[eR(449)](t){const e=eR;return this[e(443)]=new RS(this[e(537)],t),this[e(443)][e(447)](..._I).to(this),this[e(443)].on(e(463),()=>{const t=e;this[t(443)][t(504)]=!this[t(443)][t(504)],this[t(551)](t(451),{showDiff:this[t(443)][t(504)]})}),this[e(443)][e(476)](e(492)).to(this,e(439),this,e(485),(t,e)=>!(t||e)),this[e(443)]}[eR(514)](){const t=eR;return this[t(546)]=new Jx(this[t(537)]),this[t(546)][t(476)](t(460)).to(this,t(485)),this[t(546)]}[eR(550)](){const t=eR;return this[t(523)]=new Iv(this[t(537)]),this[t(523)]}[eR(500)](){const t=eR,e=new a.ButtonView(this[t(537)]),n=new a.ButtonView(this[t(537)]),i=new sR(this[t(537)]),r=new a.ButtonView(this[t(537)]);e[t(459)]({icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.106 4.946c.272.274.27.712.033 1.016a6.1 6.1 0 0 0-1.291 3.764c0 3.375 2.722 6.111 6.08 6.111q.418 0 .822-.057l-.964-.968-.048-.054a.71.71 0 0 1 .048-.943.7.7 0 0 1 .939-.05l.053.05 1.984 1.994c.143.144.21.335.204.523a.7.7 0 0 1-.156.495l-.048.053-1.984 1.994a.7.7 0 0 1-.992 0 .71.71 0 0 1 0-.997l.645-.647a8 8 0 0 1-.504.018c-4.132 0-7.482-3.368-7.482-7.522 0-1.803.632-3.458 1.684-4.754.248-.304.701-.304.977-.026M9.057.464a.7.7 0 0 1 .992 0 .71.71 0 0 1 0 .997l-.966.97q.46-.058.938-.058c4.132 0 7.483 3.367 7.483 7.521a7.5 7.5 0 0 1-1.685 4.754c-.247.304-.7.304-.977.026-.271-.273-.27-.712-.032-1.016a6.1 6.1 0 0 0 1.29-3.764c0-3.375-2.721-6.11-6.079-6.111a6 6 0 0 0-.673.039l.701.705.049.053a.71.71 0 0 1-.049.944.7.7 0 0 1-.939.048l-.053-.048L7.073 3.53a.7.7 0 0 1-.203-.524.7.7 0 0 1 .155-.495l.048-.053z"/></svg>',label:Zl(this[t(537)],t(473)),tooltip:!0,class:t(508)}),n[t(459)]({icon:JA,tooltip:Zl(this[t(537)],t(461)),class:t(547)}),r[t(459)]({icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M8.537 14.813a.888.888 0 1 1-1.254-1.255L10.84 10 7.283 6.442a.888.888 0 1 1 1.254-1.255L12.74 9.39a.888.888 0 0 1-.16 1.382z"/></svg>',tooltip:Zl(this[t(537)],t(453)),class:t(484)}),e[t(476)](t(492)).to(this,t(439),t=>!t),e.on(t(450),()=>{const e=t;this[e(551)](e(529))}),n[t(476)](t(492)).to(this,t(439),t=>!t),n.on(t(450),()=>{const e=t;this[e(551)](e(553))}),r[t(476)](t(492)).to(this,t(439),t=>!t),r.on(t(450),()=>{const e=t;this[e(551)](e(488))}),this[t(520)]=n,this[t(465)]=i,this[t(464)]=r,this[t(456)]=e}[eR(528)](t,e){const n=eR;this[n(520)]||this[n(500)]();const i=t>1;if(this[n(532)](this[n(456)]),i){this[n(532)](this[n(520)]),this[n(532)](this[n(465)]),this[n(532)](this[n(464)]);const i=t-e;this[n(465)][n(446)](i+"/"+t),this[n(520)][n(492)]=e<t-1,this[n(464)][n(492)]=e>0}else this[n(444)](this[n(520)]),this[n(444)](this[n(465)]),this[n(444)](this[n(464)])}[eR(526)](){const t=eR;this[t(456)][t(492)]=!1,this[t(520)][t(492)]=!1,this[t(464)][t(492)]=!1}[eR(530)](){const t=eR;this[t(517)](),this[t(479)]&&this[t(479)][t(506)]()}[eR(482)](){const t=eR;this[t(479)]&&this[t(479)][t(510)]()}[eR(445)](t){this[eR(485)]=t}[eR(483)](){const t=eR;this[t(443)][t(504)]=!1}[eR(517)](){const t=eR,e=this[t(555)]();e&&!this[t(479)]&&(this[t(479)]=new oA(e))}[eR(555)](){const t=eR;return this[t(523)][t(539)]}}class sR extends a.View{constructor(t){const e=eR;super(t);const n=this[e(558)];this[e(459)](e(531),e(512)),this[e(536)]({tag:e(480),attributes:{class:[e(538)]},children:[{text:n.to(e(531))}]})}[eR(446)](t){const e=eR;this[e(459)](e(531),t)}}const oR=aR;function aR(t,e){const n=cR();return(aR=function(t,e){return n[t-=474]})(t,e)}function cR(){const t=["_navigateToPrevious","stop","_clone","attachToDom","isCollapsed","54530faMicD","document","26097XRJJRj","stopListening","tryAgain","signal","_setLoadingState","error","_clearInteractionHistory","message","5iqvnij","upsertAIActionRating","locale","stickiness","Error updating content in replyCreated:","detachFromDom","_regularCalculateMarkerPath","_displayInteractionAtIndex","pluginName","startAutoScroll","getSelectedBlocks","upsertCustomAIActionRating","updateContent","trackChanges","_navigateToNext","indexOf","createPositionBefore","type","executeAction","TrackChanges","getLimitElement","rejected","accepted","some","close","_promiseQueue","clearContent","selectionRemoved","commands","length","documentContextContent","_executeAction","_createInteraction","459XwLfmf","name","rename","replyContentUpdated","_execute","AI_ACTIONS_GENERIC_ERROR","getSelectedTableCells","_appendChild","getSelectionAsFragment","parent","_refreshInteraction","slice","48vEzdct","schema","_copyMarkersToFragment","aiActionsBalloon","replyChangeGroupStateUpdated","markers","getSelectedContent","ai-no-track-changes","state","applySuggestion","batch","_currentInteractionIndex","74RmRwRz","open","getChildAtOffset","setIsLoading","_wrapWithCommonAncestors","_aiConnector","actionName","_actionsBalloonView","merge","setErrorState","nodeAfter","map","random","max","from","containsRange","AIActions","static","_createActionsBalloonView","_isAbortError","reinsert","resetShowChangesButton","TableSelection","507768lMiTLw","_stopInteraction","value","addOperation","interactionFinished","isTableSelection","stopAutoScroll","move","2208VxZHuY","affectsData","sourcePosition","47234xnpUxr","Error updating content during navigation:","listenTo","AIBalloon","filter","_applyChanges","pending","isTrackChangesOn","insert","updateMiniToolbarButtons","ck-ai-actions-balloon","_applyOperationsAsSuggestions","start","range","isDocumentOperation","abort","actionCallId","replies","modelToDataWithIds","includes","history","end","streaming","getChild","plugins","enqueue","isEqual","_interactions","getDocumentContext","replyCreated","Error updating content in toggleSuggestionDisplayMode:","createRange","toggleIsLoading","ai.availableReplyActions","_filterOperationsOutsideRange","showLoader","rootName","getAncestors","split","_clearLoadingState","_getExecuteDataRegular","model","TrackChangesEditing","6831068Rpokjd","has","queueEmptyPromise","hideError","startsWith","position","root","isPremiumPlugin","setSelection","path","_interactionParams","set","1180830xUyIrX","createPositionFromPath","_balloonShowDiff","editor","_clearErrorState","documentFragment","change","bind","hideLoader","createPositionAt","getRange","isOfficialPlugin","ai-request-aborted","_anchorOperation","icon","setChangeGroupState","get","toggleSuggestionDisplayMode","showPrevious","_setupApplyListeners","isBusy","showNext","applyOperation","selection","stopInteraction","nextSibling","version","Error clearing loading state in interactionFinished:","getCommonAncestor","_getExecuteDataInTable","_interaction","push","dialogClosed","$graveyard","_setErrorState","focus","changeGroups","disableMiniToolbarButtons","operationsA","catch","requires","_bodyCollection","createPositionAfter","config","hasError","clone","AIConnector","getOperations","Attribute","1176623iNpgzS","insertSuggestion","showError","remove","getRoot","getRanges","destroy","Error refreshing interaction:","Error updating content in replyContentUpdated:","baseVersion","getFirstRange","howMany"];return(cR=function(){return t})()}!function(t){const e=aR,n=t();for(;;)try{if(872658===-parseInt(e(686))/1*(parseInt(e(529))/2)+-parseInt(e(552))/3+-parseInt(e(606))/4*(-parseInt(e(694))/5)+-parseInt(e(618))/6+parseInt(e(667))/7*(parseInt(e(517))/8)+-parseInt(e(505))/9*(-parseInt(e(684))/10)+parseInt(e(563))/11*(-parseInt(e(560))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(cR);class lR extends n.Plugin{static get[oR(658)](){return[Jl,a.Dialog,fI,yS,xb.DocumentCompare]}static get[oR(480)](){return oR(545)}static get[oR(629)](){return!0}static get[oR(613)](){return!0}[oR(534)];[oR(590)]=[];[oR(528)]=0;[oR(616)];[oR(620)]=!1;[oR(497)];[oR(659)];get[oR(648)](){const t=oR;return this[t(590)][this[t(590)][t(501)]-1]}[oR(536)];constructor(t){const e=oR;super(t),this[e(659)]=new a.BodyCollection(this[e(621)][e(474)]),this[e(659)][e(682)](),this[e(534)]=this[e(621)][e(587)][e(634)](e(664)),this[e(617)](e(638),!1),this[e(497)]=new xv}[oR(642)](){this[oR(553)]()}async[oR(490)](t,e,n){const i=oR;if(this[i(553)](),this[i(621)][i(587)][i(607)](i(551))&&this[i(621)][i(587)][i(634)](i(551))[i(511)]()){const{modelFragment:r,anchorData:s}=this[i(647)]();return this[i(503)](t,r,s,e,n)}const{modelFragment:r,anchorData:s}=this[i(603)]();return this[i(503)](t,r,s,e,n)}async[oR(673)](){const t=oR;return this[t(553)](),this[t(659)][t(477)](),super[t(673)]()}[oR(547)](){const t=oR,e=this[t(621)][t(587)][t(607)](t(491));let n=this[t(621)][t(661)][t(634)](t(596))||[...Bv];e||(n=n[t(567)](e=>t(668)!=e));const i=this[t(621)][t(500)][t(634)](t(485)),r=new rR(this[t(621)][t(474)],{showApplyButton:!0,showSuggestButton:e,miniToolbarConfig:{showChanges:t(632)},availableActions:n});return r[t(625)](t(638)).to(this),i&&r[t(625)](t(570)).to(i,t(554)),r.on(t(688),()=>{this[t(515)]()}),r.on(t(636),()=>{this[t(679)]()}),r.on(t(639),()=>{this[t(486)]()}),r}[oR(603)](){const t=oR,e=this[t(621)][t(604)][t(685)][t(641)];if(e[t(683)]){const n=(0,o.first)(e[t(482)]())||this[t(621)][t(604)][t(518)][t(492)](e);this[t(621)][t(604)][t(624)](e=>{e[t(614)](n,"in")})}const n=e[t(677)](),i=this[t(533)](this[t(621)][t(604)][t(523)](e),n[t(575)],n[t(584)]);this[t(519)](i,e,{isTableSelection:!1});const r=e[t(677)]()[t(575)],s=new Map;let a=i;for(let e=0;e<r[t(615)][t(501)];e++)s[t(617)](a,r[t(615)][e]),a=a[t(586)](0);return{modelFragment:i,anchorData:s}}[oR(647)](){const t=oR,e=this[t(621)][t(604)][t(685)][t(641)],n=this[t(621)][t(587)][t(634)](t(551))[t(513)](),i=e[t(677)]()[t(575)][t(514)][t(514)],r=this[t(621)][t(604)][t(594)](this[t(621)][t(604)][t(488)](i),this[t(621)][t(604)][t(660)](i)),s=this[t(533)](n,r[t(575)],r[t(584)]);this[t(519)](s,e,{isTableSelection:!0});const o=e[t(677)]()[t(575)],a=new Map;let c=s;for(let e=0;e<o[t(615)][t(501)];e++)if(a[t(617)](c,o[t(615)][e]),e<o[t(615)][t(501)]-1)c=c[t(586)](0);else{let n=c[t(643)];for(;n;)a[t(617)](n,o[t(615)][e]),n=n[t(643)]}return{modelFragment:s,anchorData:a}}async[oR(503)](t,e,n,i,r){const s=oR,o=this[s(621)][s(587)][s(634)](fI),a=this[s(621)][s(587)][s(634)](yS),c=this[s(621)][s(604)][s(685)][s(641)],l=await o[s(581)](e),u=this[s(621)][s(604)][s(685)][s(644)],h=[...c[s(672)]()];return this[s(536)]||(this[s(536)]=this[s(547)]()),this[s(692)](),this[s(622)](),this[s(536)][s(498)](),a[s(530)]({index:1e3*Math[s(541)]()%1e3,title:i,icon:r||KS,mainView:this[s(536)],class:s(573),ranges:h,id:s(520)}),this[s(690)](),this[s(687)](this[s(536)]),this[s(687)](a),this[s(616)]={action:t,content:l,version:u,aiBalloon:a,modelFragment:e,anchorData:n},this[s(637)](),this[s(565)](a,s(499),()=>{const t=s;this[t(553)](),this[t(536)][t(655)]()}),this[s(565)](a,s(650),(t,{id:e})=>{const n=s;if(n(520)===e){if(this[n(648)]&&this[n(648)][n(580)][n(501)]>0){const t=this[n(648)][n(580)][this[n(648)][n(580)][n(501)]-1],e=t[n(654)][0];e&&n(569)===e[n(525)]&&t[n(633)](0,n(493))}this[n(553)](),this[n(692)](),this[n(687)](this[n(536)]),this[n(687)](a)}}),this[s(504)](l,u,a,t)}[oR(637)](){const t=oR;if(!this[t(616)])return;const{modelFragment:e,anchorData:n}=this[t(616)];this[t(565)](this[t(536)],t(526),()=>{this[t(568)](e,n,!1)}),this[t(565)](this[t(536)],t(668),()=>{this[t(568)](e,n,!0)})}[oR(533)](t,e,n){const i=oR,r=this[i(621)][i(604)][i(594)](e,n)[i(646)](),s=r.is(i(623))?[]:r[i(600)]({includeSelf:!0})[i(516)](1);if(s[i(501)]){const e=s[i(540)](t=>t[i(681)](!1));for(let t=1;t<e[i(501)];t++)e[t-1][i(512)](e[t]);return e[e[i(501)]-1][i(512)](t),new u.ModelDocumentFragment(e[0])}return t}[oR(519)](t,e,n={isTableSelection:!1}){const i=oR,r=this[i(621)][i(604)],s=Array[i(543)](e[i(672)]()),o=e[i(677)]()[i(575)];for(const e of r[i(522)]){if(e[i(506)][i(610)](pI)||!e[i(561)])continue;const a=e[i(628)]();if(!s[i(495)](t=>t[i(544)](a,!0)))continue;const c=this[i(478)](a[i(575)],o,n[i(557)]),l=this[i(478)](a[i(584)],o,n[i(557)]),u=r[i(619)](t,c),h=r[i(619)](t,l);if(!u[i(589)](h)){const n=r[i(594)](u,h);t[i(522)][i(617)](e[i(506)],n)}}}[oR(478)](t,e,n=!1){const i=oR,r=[...t[i(615)][i(516)]()];for(let s=0;s<Math[i(542)](e[i(615)][i(501)],t[i(615)][i(501)]);s++){const o=e[i(615)][s]||0,a=(t[i(615)][s]||0)-o;if(r[s]=a,0!==a&&!n)break}return r}async[oR(504)](t,e,n,i){const r=oR,s=this[r(621)];this[r(616)]||(this[r(616)]={action:i,content:t,version:e,aiBalloon:n,modelFragment:this[r(621)][r(604)][r(523)](this[r(621)][r(604)][r(685)][r(641)]),anchorData:new Map});const o=new Fx({connector:this[r(534)],editor:s,content:t,version:e,...i});this[r(590)][r(649)](o);const a=(t,e=!1,n=r(585))=>this[r(497)][r(588)](async i=>{const o=r;try{const r=Ob({editor:s,changeGroups:t[o(654)],documentContextContent:t[o(502)],showDiff:e,trimUnchanged:!1});r[o(501)]&&await this[o(536)][o(484)]({part:r[0],renderingStrategy:n,abortSignal:i})}catch(t){if(this[o(548)](t))return;throw t}});this[r(648)].on(r(592),(t,e)=>{const n=r;this[n(536)][n(626)](),this[n(536)][n(481)](),a(e)[n(657)](t=>{const e=n;this[e(548)](t)||(console[e(691)](e(476),t),this[e(652)](o))})}),this[r(648)].on(r(508),(t,e)=>{const n=r;a(e)[n(657)](t=>{const e=n;this[e(548)](t)||(console[e(691)](e(675),t),this[e(652)](o))})}),this[r(648)].on(r(556),async()=>{const t=r;try{await this[t(602)](),this[t(536)][t(572)](this[t(590)][t(501)],this[t(528)]),await this[t(497)][t(608)]}catch(e){this[t(548)](e)||(console[t(691)](t(645),e),this[t(652)](o))}finally{this[t(536)][t(558)]()}}),this[r(565)](this[r(536)],r(635),async(t,{showDiff:e})=>{const n=r;try{this[n(620)]=e;const t=this[n(648)][n(580)][this[n(648)][n(580)][n(501)]-1];t&&await a(t,e,n(546))}catch(t){this[n(548)](t)||(console[n(691)](n(593),t),this[n(652)](o))}}),this[r(648)].on(r(521),(t,{reply:e})=>{const n=r,i={positiveCount:e[n(654)][n(567)](t=>n(494)===t[n(525)])[n(501)],totalCount:e[n(654)][n(501)]},s=this[n(648)][n(579)],o=this[n(648)][n(535)];o?this[n(534)][n(695)](o,s,i):this[n(534)][n(483)](s,i)}),this[r(690)]();try{const t=await this[r(648)][r(575)]();return this[r(536)][r(572)](this[r(590)][r(501)],this[r(528)]),t}catch(t){if(this[r(548)](t))return;this[r(536)][r(626)](),this[r(652)](o)}}[oR(568)](t,e,n){const i=oR,r=this[i(621)];if(n&&!r[i(587)][i(607)](i(491)))throw new o.CKEditorError(i(524),null);const s=this[i(621)][i(587)][i(634)](xb.DocumentCompare),a=this[i(590)][this[i(590)][i(501)]-1-this[i(528)]];if(!a||!a[i(580)][i(501)])return;const c=a[i(580)][a[i(580)][i(501)]-1],l=c[i(654)];c[i(633)](0,i(494));let h=rI({editor:r,reply:c,interaction:a,groups:l,transform:!1,documentCompare:s,documentCompareOptions:{anchor:r[i(604)][i(627)](t,0),markDeletions:n}});h=this[i(597)](h,e);for(const t of h)this[i(631)](e,t,r[i(604)][i(685)][i(671)]());const d=a[i(591)]()[i(644)],p=r[i(604)][i(685)][i(583)][i(665)](d),f={document:r[i(604)][i(685)],useRelations:!1,padWithNoOps:!1},g=(0,u.transformOperationSets)(h,p,f)[i(656)];r[i(604)][i(624)](t=>{const e=i;if(t[e(614)](r[e(604)][e(685)][e(641)][e(653)]),n)r[e(587)][e(634)](e(605))[e(574)](g);else for(const n of g)n[e(676)]=r[e(604)][e(685)][e(644)],sI(r,n),t[e(527)][e(555)](n),r[e(604)][e(640)](n)}),this[i(621)][i(587)][i(634)](i(566))[i(496)]()}[oR(597)](t,e){const n=oR;return t[n(567)](t=>{const i=n;if(i(507)==t[i(489)]){const n=t[i(611)][i(539)];return!e[i(607)](n)}if(t[i(489)][i(487)](i(666))>-1){const n=t[i(576)][i(575)][i(539)];return!e[i(607)](n)}return!0})}[oR(631)](t,e,n){const i=oR,r=e[i(663)]();for(const t in e){const n=e[t];n instanceof u.ModelRange?e[t]=new u.ModelRange(s(n[i(575)]),s(n[i(584)])):n instanceof u.ModelPosition&&(e[t]=s(n))}if([i(571),i(559),i(670),i(549),i(601),i(537)][i(582)](r[i(489)]))if(r[i(577)]=!1,r[i(676)]=null,i(670)==r[i(489)]){const t=r[i(562)],e=r[i(678)];new u._DetachOperation(t,e)[i(509)]()}else r[i(509)]();function s(e){const r=i;if(r(651)==e[r(612)][r(599)])return e;const s=[];let o=e[r(612)];for(let n=0;n<e[r(615)][r(501)];n++){const i=t[r(634)](o)||0;s[n]=e[r(615)][n]+i,o=o[r(531)](e[r(615)][n])}return new u.ModelPosition(n,s,e[r(475)])}}[oR(515)](){const t=oR;if(!this[t(616)])return;this[t(590)][t(501)]>0&&this[t(553)](),this[t(528)]=0,this[t(620)]=!1;const{action:e,content:n,version:i,aiBalloon:r}=this[t(616)];this[t(622)](),this[t(536)][t(498)](),this[t(536)][t(598)](),this[t(536)][t(550)](),this[t(536)][t(572)](this[t(590)][t(501)],this[t(528)]),this[t(687)](this[t(536)]),this[t(637)](),this[t(504)](n,i,r,e)[t(657)](e=>{const n=t;this[n(548)](e)||console[n(691)](n(674),e)})}[oR(548)](t){const e=oR;return!!t[e(693)]&&t[e(693)][e(610)](e(630))}[oR(692)](){const t=oR;this[t(590)]=[],this[t(616)]=void 0,this[t(528)]=0,this[t(536)][t(572)](this[t(590)][t(501)],this[t(528)])}[oR(553)](){const t=oR;this[t(648)]&&this[t(648)][t(680)](),this[t(497)][t(578)](),this[t(638)]=!1,this[t(616)]&&this[t(536)][t(558)]()}[oR(679)](){const t=oR,e=this[t(590)][t(501)];this[t(528)]<e-1&&this[t(479)](this[t(528)]+1)}[oR(486)](){const t=oR;this[t(528)]>0&&this[t(479)](this[t(528)]-1)}async[oR(479)](t){const e=oR;if(!this[e(616)])return;this[e(528)]=t;const n=this[e(590)][this[e(590)][e(501)]-1-this[e(528)]];if(!n)return;if(n[e(662)])return this[e(652)](n),void this[e(536)][e(572)](this[e(590)][e(501)],this[e(528)]);if(!n[e(580)][e(501)])return;this[e(536)][e(609)](),this[e(616)]&&this[e(622)]();const i=n[e(580)][n[e(580)][e(501)]-1];if(i){const t=this[e(621)];try{const n=Ob({editor:t,changeGroups:i[e(654)],documentContextContent:i[e(502)],showDiff:this[e(620)],trimUnchanged:!1});await new Promise(t=>setTimeout(t,50)),await this[e(536)][e(484)]({part:n[0],renderingStrategy:e(546),abortSignal:(new AbortController)[e(689)]})}catch(t){this[e(548)](t)||console[e(691)](e(564),t)}}this[e(536)][e(572)](this[e(590)][e(501)],this[e(528)])}[oR(690)](){const t=oR;this[t(536)][t(532)](!0),this[t(638)]=!0}async[oR(652)](t){const e=oR,n=Zl(this[e(621)][e(474)],e(510));this[e(536)][e(669)](n),t[e(662)]=!0,await this[e(497)][e(608)],this[e(536)][e(538)](),this[e(536)][e(595)](!0)}[oR(622)](){const t=oR;this[t(536)][t(609)](),this[t(536)][t(595)](!1)}async[oR(602)](){const t=oR;await this[t(497)][t(608)],this[t(638)]=!1,this[t(536)][t(532)](!1)}}var uR=hR;function hR(t,e){var n=dR();return(hR=function(t,e){return n[t-=144]})(t,e)}function dR(){var t=["define","11871288ggJXdT","2lwDIGw","ai.quickActions","9485265UCQlWx","2997930JKdAeW","431512KteBAT","isOfficialPlugin","pluginName","AIQuickActions","126iSOFCa","isPremiumPlugin","60214840tfoDbs","config","1057741qdJirV","4yLVWWN","4886322YugCjf","requires"];return(dR=function(){return t})()}!function(t){for(var e=hR,n=t();;)try{if(961679===parseInt(e(147))/1*(-parseInt(e(153))/2)+parseInt(e(156))/3+parseInt(e(148))/4*(-parseInt(e(155))/5)+-parseInt(e(149))/6+parseInt(e(161))/7*(-parseInt(e(157))/8)+-parseInt(e(152))/9+parseInt(e(145))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dR);class pR extends n.Plugin{static get[uR(150)](){return[Ax,Ox,lR]}static get[uR(159)](){return uR(160)}static get[uR(158)](){return!0}static get[uR(144)](){return!0}constructor(t){var e=uR;super(t),t[e(146)][e(151)](e(154),{extraCommands:[],removeCommands:[],isSearchEnabled:!0})}}const fR=mR;function gR(){const t=["isInfoToggleOn","label","target","setTemplate","ck-ai_review__check-run-result-accept-button","icon","ck-hidden","1423842yqpzuB","mouseout","2178640EPxfCH","tagName","setItemAsInactive","_createAcceptButtonView","AI_REVIEW_MODE_LEARN_MORE","infoButtonView","ck-ai-button-secondary","dismissChange","preventDefault","setItemAsActive","324988vbZtxy","click","_createResultResponseView","bind","outdatedButtonView","locale","disabled","ck-ai_review__check-run-result-status-button","1928745lZvoQO","_createInfoButtonView","changeId","fire","stopPropagation","pending","set","12753MjEJKa","_createOutdatedButtonView","27WbVSgu","ck-ai_review__check-run-result_active","AI_REVIEW_MODE_CHECK_STATUS_REJECTED","rejected","status","resultResponseView","isEnabled","change:status","AI_REVIEW_MODE_DISMISS_CHANGE","AI_REVIEW_MODE_CHECK_STATUS_OUTDATED","panel","acceptButtonView","accepted","div","isOn","1856IZWlBt","ck-ai_review__check-run-result","ck-ai_review__check-run-result-dismiss-button","ck-ai_review__check-run-result-footer","_createDismissButtonView","mouseover","isActive","AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED","activateChange","ck-reset_all-excluded","ck-ai_review__check-run-result-response","AI_REVIEW_MODE_ACCEPT_CHANGE","dismissButtonView","ck-ai-button-tertiary ck-ai_review__check-run-result-info-button ck-hidden","showDiff","acceptChange","ck-content","extendTemplate","menuitemcheckbox","deactivateChange","outdated","ck-ai-button-tertiary","execute","573313ktNKts","1627344PZCHGx","bindTemplate","hover","ck-ai_review__check-run-result-action-buttons"];return(gR=function(){return t})()}function mR(t,e){const n=gR();return(mR=function(t,e){return n[t-=269]})(t,e)}!function(t){const e=mR,n=t();for(;;)try{if(374902===parseInt(e(284))/1+-parseInt(e(296))/2+-parseInt(e(325))/3*(-parseInt(e(308))/4)+-parseInt(e(298))/5+parseInt(e(285))/6+parseInt(e(316))/7+-parseInt(e(340))/8*(parseInt(e(323))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gR);class kR extends a.View{[fR(330)];[fR(336)];[fR(273)];[fR(303)];[fR(312)];constructor(t,e){const n=fR;super(t),this.id=e,this[n(322)](n(329),n(321)),this[n(322)](n(318),e),this[n(330)]=this[n(310)](),this[n(336)]=this[n(301)](),this[n(273)]=this[n(344)](),this[n(303)]=this[n(317)](),this[n(312)]=this[n(324)](),this[n(322)](n(289),!1),this[n(322)](n(346),!1),this[n(322)](n(275),!0),this[n(292)]({tag:n(338),attributes:{class:[n(341),this[n(286)].if(n(346),n(326))]},on:{click:this[n(286)].to(n(309)),mouseover:this[n(286)].to(n(345)),mouseout:this[n(286)].to(n(297))},children:[this[n(330)],{tag:n(338),attributes:{class:[n(343)]},children:[{tag:n(338),attributes:{class:[n(288)]},children:[this[n(336)],this[n(273)],this[n(312)]]},this[n(303)]]}]}),this.on(n(309),(t,i)=>{const r=n;i&&i[r(291)]&&"A"===i[r(291)][r(299)]&&i[r(306)](),this[r(319)](r(269),{id:e,source:this,uiInteraction:r(309)})}),this.on(n(345),()=>{const t=n;this[t(319)](t(269),{id:e,source:this,uiInteraction:t(287)})}),this.on(n(297),()=>{const t=n;this[t(319)](t(280),{origin:t(335),id:e,source:this})})}[fR(307)](){this[fR(346)]=!0}[fR(300)](){this[fR(346)]=!1}[fR(310)](){const t=fR,e=new a.View(this[t(313)]);return e[t(292)]({tag:t(338),attributes:{class:["ck",t(277),t(270),t(271),this[t(286)].if(t(275),t(295),t=>!t)]}}),e}[fR(301)](){const t=fR,e=new a.ButtonView(this[t(313)]);return e[t(322)]({label:Zl(this[t(313)],t(272)),withText:!0}),e[t(278)]({on:{click:this[t(286)].to(e=>{const n=t;this[n(319)](n(276),{id:this[n(318)]}),e[n(320)]()})},attributes:{class:[t(304),t(293),this[t(286)].if(t(329),t(295),e=>t(321)!==e&&t(337)!==e),this[t(286)].if(t(329),t(293),e=>t(321)===e),this[t(286)].if(t(329),t(315),e=>t(337)===e)]}}),this.on(t(332),(n,r,s)=>{const o=t;e[o(331)]=o(321)===s,o(337)===s&&(e[o(290)]=Zl(this[o(313)],o(347)),e[o(294)]=i.IconCheck)}),e}[fR(344)](){const t=fR,e=new a.ButtonView(this[t(313)]);return e[t(322)]({label:Zl(this[t(313)],t(333)),withText:!0}),e[t(278)]({on:{click:this[t(286)].to(e=>{const n=t;this[n(319)](n(305),{id:this[n(318)]}),e[n(320)]()})},attributes:{class:[t(282),this[t(286)].if(t(329),t(295),e=>t(321)!==e&&t(328)!==e),this[t(286)].if(t(329),t(342),e=>t(321)===e),this[t(286)].if(t(329),t(315),e=>t(328)===e)]}}),this.on(t(332),(n,r,s)=>{const o=t;e[o(331)]=o(321)===s,o(328)===s&&(e[o(290)]=Zl(this[o(313)],o(327)),e[o(294)]=i.IconCancel)}),e}[fR(317)](){const t=fR,e=new a.ButtonView(this[t(313)]);return e[t(322)]({label:Zl(this[t(313)],t(302)),icon:i.IconInfo,tooltip:!0,isToggleable:!0,role:t(279),class:t(274)}),e[t(311)](t(339)).to(this,t(289),t=>t),e.on(t(283),()=>{const e=t;this[e(289)]=!this[e(289)]}),e}[fR(324)](){const t=fR,e=new a.ButtonView(this[t(313)]);return e[t(322)]({label:Zl(this[t(313)],t(334)),icon:i.IconOutdated,withText:!0,isEnabled:!1}),e[t(278)]({attributes:{class:[t(304),t(315),this[t(286)].if(t(329),t(295),e=>t(281)!==e)],disabled:t(314)}}),e}}var _R=r(6792),bR={attributes:{"data-cke":!0}};bR.setAttributes=Et(),bR.insert=yt().bind(null,"head"),bR.domAPI=It(),bR.insertStyleElement=Ct();bt()(_R.A,bR);_R.A&&_R.A.locals&&_R.A.locals;var wR=r(7831),IR={attributes:{"data-cke":!0}};IR.setAttributes=Et(),IR.insert=yt().bind(null,"head"),IR.domAPI=It(),IR.insertStyleElement=Ct();bt()(wR.A,IR);wR.A&&wR.A.locals&&wR.A.locals;const vR=AR;!function(t){const e=AR,n=t();for(;;)try{if(269648===-parseInt(e(315))/1+parseInt(e(309))/2+parseInt(e(250))/3+parseInt(e(251))/4*(-parseInt(e(284))/5)+parseInt(e(295))/6+-parseInt(e(255))/7+parseInt(e(273))/8*(parseInt(e(296))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ER);class yR extends a.BalloonPanelView{[vR(301)];[vR(313)]=void 0;[vR(258)]=void 0;[vR(290)]=void 0;constructor(t,e){const n=vR;super(t),this[n(291)]({isVisible:!1,position:n(242),class:null,top:0,left:0}),this[n(243)]({tag:n(283),attributes:{class:[n(303)],tabindex:"-1"}}),this[n(291)](n(286),!1),this[n(298)][n(264)](this[n(292)]()),e[n(264)](this)}[vR(268)](){const t=vR;super[t(268)](),this[t(314)]()}[vR(246)](t){const e=vR;this[e(301)][e(259)]=t.id,this[e(301)][e(272)][e(299)][e(267)]=t[e(276)]}[vR(316)](t,e,n,i,r,s){const o=vR,a=e();if(!a)return;this[o(246)](t),this[o(307)]();const c=Array[o(270)](a[o(260)]())[o(287)](),l=this[o(261)](n,c),u=c[l??0];o(245)===i?(this[o(286)]=!0,this[o(285)]({target:()=>this[o(304)](e(),l,t.id,r,s)||u})):o(262)===i&&(this[o(286)]=!1,this[o(285)]({target:()=>this[o(306)](e(),l,t.id)||u}))}[vR(289)](){const t=vR;this[t(248)](),this[t(300)](),this[t(313)]=void 0,this[t(258)]=void 0,this[t(290)]=void 0}[vR(317)](){const t=vR;this[t(301)][t(249)]=!1}[vR(263)](){const t=vR;this[t(301)][t(249)]=!0}[vR(274)](){const t=vR;this[t(277)](t(274),{origin:t(269)})}[vR(314)](){const t=vR;(0,a.clickOutsideHandler)({emitter:this,activator:()=>this[t(278)],contextElements:()=>{const e=t,n=[this[e(299)]];return this[e(258)]&&n[e(256)](this[e(258)]),n},callback:()=>{const e=t;this[e(248)](),this[e(300)](),this[e(274)](),this[e(258)]=void 0,this[e(313)]=void 0,this[e(290)]=void 0}})}[vR(292)](){const t=vR,e=new a.View;return this[t(301)]=new kR(this[t(252)],""),this[t(301)][t(272)][t(243)]({attributes:{class:[t(253)]}}),this[t(301)][t(279)](t(257),t(266)).to(this),e[t(247)]({tag:t(283),attributes:{class:[t(303),t(308),this[t(302)].if(t(286),t(275))]},children:[{tag:"p",attributes:{class:[t(293)]},children:[this[t(301)]]}]}),e}[vR(304)](t,e,n,i,r){const s=vR;if(!t)return null;const o=this[s(281)][s(288)](s(244),""),a=Array[s(270)](t[s(260)]());let c,l=a[s(287)]();return void 0!==e&&this[s(280)](l[e],i,r)?(c=l[e],this[s(313)]=e):this[s(280)](l[0],i,r)&&void 0===e?c=l[0]:(l="s"==o[0]?[...a][s(287)]():a,l[s(254)](t=>{this[s(280)](t,i,r)&&(c=t)})),this[s(290)]=n,this[s(258)]=t,c||t[s(241)]()}[vR(306)](t,e,n){const i=vR;if(!t)return null;const r=Array[i(270)](t[i(260)]())[i(287)]();return void 0===this[i(313)]&&void 0!==e&&this[i(290)]!==n?(this[i(313)]=e,this[i(258)]=t,this[i(290)]=n,r[e]):void 0!==this[i(313)]&&this[i(290)]===n?t!==this[i(258)]?Array[i(270)](this[i(258)][i(260)]())[i(287)]()[this[i(313)]]:r[this[i(313)]]:void 0!==e&&this[i(290)]!==n?(this[i(313)]=e,this[i(258)]=t,this[i(290)]=n,r[e]):t[i(241)]()}[vR(261)](t,e){const n=vR;if(t)for(let i=0;i<e[n(312)];i++){const r=e[i];if(t[n(310)]>=r[n(311)]-3&&t[n(310)]<=r[n(282)]+3&&t[n(297)]>=r[n(265)]-3&&t[n(297)]<=r[n(271)]+3)return i}}[vR(280)](t,e,n){const i=vR,r=new o.Rect(t),s=e||document[i(318)],a=r[i(305)]((0,o.getConstrainedViewportRect)(n)),c=new o.Rect(s)[i(305)](r);return!!(a&&c&&r[i(294)]>0)}}function AR(t,e){const n=ER();return(AR=function(t,e){return n[t-=241]})(t,e)}function ER(){const t=["getBoundingClientRect","arrow_se","extendTemplate","arrow_","click","updateContent","setTemplate","hide","showDiff","1007982sZQwiS","100qbmaxK","locale","ck-content","forEach","3036082CfOTzS","push","acceptChange","_pinnedTargetElement","changeId","getClientRects","_getPointedRectIndexFromEvent","hover","showDiffInBalloon","add","top","dismissChange","innerHTML","render","balloon","from","bottom","resultResponseView","24eAxXKn","deactivateChange","ck-ai_review-balloon-panel-suggestion_diff-active","contentDiffed","fire","isVisible","delegate","_isPinnedRectVisible","position","right","div","103565ZGIhrH","pin","isDiffActive","reverse","replace","hideBalloon","_pinnedTargetChangeId","set","_createContentView","ck-ai_review__suggestion-text","width","2686842twtqXt","496863VKNmjX","clientY","content","element","unpin","resultItemView","bindTemplate","ck-reset","_getBestRectPositionOnClick","getIntersection","_getBestRectPositionOnHover","show","ck-ai_review-balloon-panel-suggestion","675388OnLWtg","clientX","left","length","_pinnedRectIndex","_setupClickOutsideHandler","65917SzlXRd","showBalloon","hideDiffInBalloon","documentElement"];return(ER=function(){return t})()}var TR=r(8990),CR={attributes:{"data-cke":!0}};CR.setAttributes=Et(),CR.insert=yt().bind(null,"head"),CR.domAPI=It(),CR.insertStyleElement=Ct();bt()(TR.A,CR);TR.A&&TR.A.locals&&TR.A.locals;const SR=xR;function xR(t,e){const n=NR();return(xR=function(t,e){return n[t-=462]})(t,e)}!function(t){const e=xR,n=t();for(;;)try{if(421588===-parseInt(e(472))/1*(parseInt(e(482))/2)+parseInt(e(506))/3*(parseInt(e(543))/4)+-parseInt(e(471))/5+parseInt(e(501))/6*(-parseInt(e(541))/7)+-parseInt(e(497))/8*(-parseInt(e(513))/9)+-parseInt(e(467))/10+-parseInt(e(514))/11*(-parseInt(e(545))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(NR);const RR=[SR(495),SR(473),SR(531),SR(521),SR(532),SR(512),SR(522),SR(489),SR(503),SR(547),SR(494),SR(505),SR(551)];function NR(){const t=["setChecks","hideChangeBalloon","attachToDom","setItemAsInactive","element","find","isPremiumPlugin","abortReviewStream","acceptAllChanges","isOfficialPlugin","requires","delegate","accepted","addCheckRunResult","_balloonSuggestionView","showChunkErrorView","hasChecks","7GOOjFD","_mainView","60532JwgjgZ","setTitle","5408316lPgttg","showGeneralReviewCoreErrorView","dismissChange","showReviewCheckResultsView","showChangeBalloon","ai.models.showModelSelector","retryReview","outdated","fire","context","status","setAvailableChecks","reviewCheckResultsView","7049110LMDSIf","showReviewCheckListView","showNoChangesView","get","1439570EnsXZd","226bgzFHq","runReviewCheck","locale","reviewCheckListView","forEach","setItemAsActive","AI_REVIEW_INITIALIZATION_ERROR_MESSAGE","showBalloon","showReviewCheckList","error-chunk","2626YyQiSw","createMainView","destroy","plugins","hideActionsWhenResultIsReady","AITabs","hideDiffInBalloon","deactivateChange","showResult","getResults","detachFromDom","hideBalloon","learnMore","getReviewCheckList","showCheckRunResults","2850736etdPOH","setCheckResultTitle","setActiveStateInResults","showDiffInBalloon","982398tvLFwA","showReviewCompletedView","acceptChange","showCheckRunResult","finishReview","33Isjaus","showActionsWhenResultIsReady","showGeneralResultsErrorView","resetActiveStateInResults","registerTab","rejected","leaveReviewCoreResultList","9kImeOi","33AJIvYr","hideResult","config","error-general","getChangeElement","updateChangeState","_bodyCollection","toggleDiff","activateChange","init"];return(NR=function(){return t})()}class OR extends n.ContextPlugin{[SR(542)];[SR(538)];[SR(520)];static get[SR(534)](){return[Gl]}static get[SR(533)](){return!0}static get[SR(530)](){return!0}constructor(t){const e=SR;super(t),this[e(520)]=new a.BodyCollection(this[e(463)][e(474)]),this[e(520)][e(526)](),this[e(542)]=this[e(483)](),this[e(542)][e(535)](...RR).to(this),this[e(538)]=new yR(this[e(463)][e(474)],this[e(520)]),this[e(538)][e(535)](e(503),e(547),e(489)).to(this)}[SR(523)](){const t=SR,e=this[t(463)][t(485)][t(470)](t(487));this[t(510)](e)}[SR(484)](){const t=SR;this[t(520)][t(492)](),super[t(484)]()}[SR(465)](t){const e=SR;if(!this[e(542)][e(475)][e(540)]()){const n=!this[e(463)][e(516)][e(470)](e(550));this[e(542)][e(475)][e(524)](t,n)}this[e(542)][e(468)]()}[SR(480)](){const t=SR;this[t(462)](t(495))}[SR(496)](t){const e=SR;t&&(e(517)!==t[e(464)]?e(481)!==t[e(464)]?this[e(542)][e(548)]():this[e(539)]():this[e(508)]())}[SR(504)](t){const e=SR;this[e(542)][e(537)](t)}[SR(508)](){const t=SR;this[t(542)][t(508)]()}[SR(546)](t){const e=SR;this[e(542)][e(546)](t??Zl(this[e(463)][e(474)],e(478)))}[SR(539)](){const t=SR;this[t(542)][t(539)]()}[SR(498)](t,e){const n=SR;this[n(542)][n(466)][n(544)](t,e)}[SR(499)](t){const e=SR;this[e(542)][e(466)][e(491)]()[e(476)](n=>{const i=e;n.id===t&&n[i(477)]()})}[SR(509)](){const t=SR;this[t(542)][t(466)][t(491)]()[t(476)](e=>e[t(527)]())}[SR(519)](t,e){const n=SR;n(536)===e||n(511)===e||n(552)===e?this[n(542)][n(466)][n(515)](t,e):this[n(542)][n(466)][n(490)](t,e)}[SR(502)](){const t=SR;this[t(542)][t(502)]()}[SR(507)](){const t=SR;this[t(542)][t(507)]()}[SR(469)](){const t=SR;this[t(542)][t(469)]()}[SR(486)](){const t=SR;this[t(542)][t(486)]()}[SR(549)](t,e,n,i,r,s){const o=SR;this[o(538)][o(479)](t,e,n,i,r,s)}[SR(525)](){const t=SR;this[t(538)][t(493)]()}[SR(488)](){const t=SR;this[t(538)][t(488)]()}[SR(500)](){const t=SR;this[t(538)][t(500)]()}[SR(518)](t){const e=SR,n=this[e(542)][e(466)][e(491)]()[e(529)](e=>e.id===t);return n?n[e(528)]:null}[SR(489)](){const t=SR;this[t(538)][t(489)]()}}function LR(){const t=["9900960lOThvi","1561365pKDoeC","ck-ai_review__general-error-container","3562083KqIssN","ck-hidden","ck ck-ai-notification ck-ai-notification_error","201uWNhKV","173aUfRkM","11333VArfpE","set","isVisible","bindTemplate","div","4482864NvBtEG","86004ayzCSz","errorMessage","2274izjuwc","15338fKRqNl","setTemplate"];return(LR=function(){return t})()}function DR(t,e){const n=LR();return(DR=function(t,e){return n[t-=212]})(t,e)}!function(t){const e=DR,n=t();for(;;)try{if(739509===-parseInt(e(217))/1*(-parseInt(e(227))/2)+-parseInt(e(216))/3*(parseInt(e(224))/4)+parseInt(e(230))/5+parseInt(e(226))/6*(-parseInt(e(218))/7)+parseInt(e(223))/8+-parseInt(e(213))/9+parseInt(e(229))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(LR);class PR extends a.View{constructor(t){const e=DR;super(t),this[e(219)](e(220),!1),this[e(219)](e(225),"");const n=this[e(221)];this[e(228)]({tag:e(222),attributes:{class:["ck",e(212),n.if(e(220),e(214),t=>!t)]},children:[{tag:"p",attributes:{class:e(215)},children:[{text:n.to(e(225))}]}]})}}var MR=BR;function VR(){var t=["36323UCLwLV","ck-ai-review","isCompleted","showReviewCheckListView","656701yPESLy","generalErrorView","reviewCheckListView","ltr","set","showGeneralReviewCoreErrorView","resetAllParameterizedChecks","showGeneralResultsErrorView","hideActionsWhenResultIsReady","showReviewCompletedView","addCheckRunResult","ck-rounded-corners","setTemplate","12meSJjM","isLoading","8245278oeQbLF","showReviewCheckResultsView","showGeneralErrorMessage","showNoChangesView","errorMessage","reviewCoreHeader","resetErrorState","isResultReady","list","header","3029058swWBuv","ck-reset_all","showChunkErrorView","9555450EBgCCF","completed","2288268sCTsvR","4eMyrGw","isVisible","showChunkErrorMessage","clearResults","11jwhnLM","reviewCheckResultsView","8YmPXJK","showActionsWhenResultIsReady","delegate","results","reviewCompletedView","div","5zvmMqu","addResult","114qKFwpk","12878463inJBIH","finishReview"];return(VR=function(){return t})()}function BR(t,e){var n=VR();return(BR=function(t,e){return n[t-=346]})(t,e)}!function(t){for(var e=BR,n=t();;)try{if(781488===parseInt(e(373))/1*(parseInt(e(352))/2)+-parseInt(e(346))/3+parseInt(e(351))/4*(-parseInt(e(364))/5)+parseInt(e(366))/6*(parseInt(e(369))/7)+parseInt(e(358))/8*(parseInt(e(388))/9)+parseInt(e(349))/10*(-parseInt(e(356))/11)+parseInt(e(386))/12*(parseInt(e(367))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(VR);class HR extends a.View{[MR(393)];[MR(374)];[MR(375)];[MR(357)];[MR(362)];constructor(t,e){var n=MR;super(t),this[n(393)]=e[n(397)],this[n(374)]=new PR(t),this[n(375)]=e[n(396)],this[n(375)][n(360)](...RR).to(this),this[n(357)]=e[n(361)],this[n(357)][n(360)](...RR).to(this),this[n(362)]=e[n(350)],this[n(362)][n(360)](n(368)).to(this),this[n(375)][n(377)](n(353),!1),this[n(357)][n(377)](n(353),!1),this[n(357)][n(377)](n(387),!1),this[n(357)][n(377)](n(395),!1),this[n(362)][n(377)](n(353),!1),this[n(385)]({tag:n(363),attributes:{class:["ck",n(347),n(370),n(384)],dir:n(376)},children:[this[n(393)],this[n(374)],this[n(375)],this[n(357)],this[n(362)]]})}[MR(372)](){var t=MR;this[t(375)][t(379)](),this[t(375)][t(377)](t(353),!0),this[t(357)][t(377)](t(353),!1),this[t(362)][t(377)](t(353),!1)}[MR(389)](){var t=MR;this[t(381)](),this[t(357)][t(394)](),this[t(375)][t(377)](t(353),!1),this[t(357)][t(377)](t(353),!0),this[t(357)][t(355)](),this[t(357)][t(377)](t(387),!0),this[t(357)][t(377)](t(371),!1)}[MR(383)](t){var e=MR;this[e(357)][e(365)](t),this[e(357)][e(377)](e(387),!1)}[MR(382)](){var t=MR;this[t(357)][t(377)](t(353),!0),this[t(362)][t(377)](t(353),!1),this[t(357)][t(377)](t(371),!0),this[t(375)][t(377)](t(353),!1)}[MR(359)](){var t=MR;this[t(357)][t(395)]?(this[t(375)][t(377)](t(353),!1),this[t(357)][t(377)](t(353),!0),this[t(362)][t(377)](t(353),!1)):this[t(357)][t(395)]=!0}[MR(391)](){var t=MR;this[t(375)][t(377)](t(353),!1),this[t(357)][t(377)](t(353),!1),this[t(362)][t(377)](t(353),!0)}[MR(381)](){var t=MR;this[t(357)][t(395)]=!1}[MR(378)](t){var e=MR;this[e(374)][e(377)](e(353),!0),this[e(374)][e(392)]=t}[MR(380)](){var t=MR;this[t(357)][t(377)](t(387),!1),this[t(359)](),this[t(357)][t(390)]()}[MR(348)](){var t=MR;this[t(357)][t(377)](t(387),!1),this[t(359)](),this[t(357)][t(354)]()}}var UR=r(3713),qR={attributes:{"data-cke":!0}};qR.setAttributes=Et(),qR.insert=yt().bind(null,"head"),qR.domAPI=It(),qR.insertStyleElement=Ct();bt()(UR.A,qR);UR.A&&UR.A.locals&&UR.A.locals;function FR(t,e){var n=GR();return(FR=function(t,e){return n[t-=163]})(t,e)}!function(t){for(var e=FR,n=t();;)try{if(951998===-parseInt(e(168))/1+-parseInt(e(164))/2*(-parseInt(e(174))/3)+parseInt(e(165))/4+-parseInt(e(169))/5*(parseInt(e(170))/6)+-parseInt(e(173))/7+-parseInt(e(171))/8*(-parseInt(e(172))/9)+-parseInt(e(178))/10*(-parseInt(e(176))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(GR);class zR extends a.ButtonView{constructor(t,e){var n=FR;super(e),this[n(175)]({label:t,withText:!0,class:n(177)}),this.on(n(167),()=>{var t=n;this[t(163)](t(166))})}}function GR(){var t=["set","24788269qAYmuZ","ck-ai-button-primary","10oNsXcY","fire","826IenwnM","2948008IziRfj","finishReview","execute","1388934pIQdcq","31435oBNMuL","750njJgas","16IqkLLu","910395FGoQxK","8244460vkwHto","8076yERWdf"];return(GR=function(){return t})()}var jR=r(2241),WR={attributes:{"data-cke":!0}};WR.setAttributes=Et(),WR.insert=yt().bind(null,"head"),WR.domAPI=It(),WR.insertStyleElement=Ct();bt()(jR.A,WR);jR.A&&jR.A.locals&&jR.A.locals;class KR extends a.ListItemView{_resultViews;_resultsHeader;reviewDisclaimer;_cancelButtonView;_acceptAllButtonView;_exitReviewButtonView;_toggleDiffButtonView;_errorMessageView;_finishReviewButtonView;_contents;constructor(t,e){super(t),this._contents=e,this._resultViews=new a.ViewCollection,this._cancelButtonView=this._createCancelButtonView(),this._acceptAllButtonView=this._createAcceptAllButtonView(),this._exitReviewButtonView=this._createExitReviewButtonView(),this._toggleDiffButtonView=this._createToggleDiffButtonView(),this._finishReviewButtonView=this._createFinishReviewButtonView(),this._resultsHeader=this._createResultHeaderView(),this._errorMessageView=this._createErrorView(),this.reviewDisclaimer=new LT(t),this.set("isLoading",!1),this.set("isToggleDiffOn",!1),this.set("isResultReady",!1),this.set("headerTitle",""),this.set("headerSubtitle",""),this.set("isError",!1),this.set("showErrorMessage",!1),this.set("errorType","general"),this.set("isCompleted",!1);const n=this._createCombinedSkeletonLoader(),i=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck-ai_review__check-run",i.if("isLoading","ck-ai_review__check-run_loading",t=>t),i.if("isResultReady","ck-ai_review__check-run_ready",t=>t),i.if("isVisible","ck-hidden",t=>!t)]},children:[this._resultsHeader,{tag:"div",attributes:{class:["ck-ai_review__check-run-results-wrapper"]},children:[this._errorMessageView,{tag:"div",attributes:{class:["ck-ai_review__check-run-results-container","ck-reset_all-excluded",this.bindTemplate.if("isLoading","ck-hidden",t=>t)]},children:this._resultViews},n]},this.reviewDisclaimer]})}clearResults(){this._resultViews.clear()}getResults(){return this._resultViews}addResult(t){const e=new kR(this.locale,t.id);e.delegate("acceptChange","dismissChange","activateChange","deactivateChange").to(this),this._resultViews.add(e),e.resultResponseView.element.innerHTML=t.contentDiffed}hideResult(t,e){if("pending"===e)return;const n=this._resultViews.find(e=>e.id===t);n&&(n.status=e,n.element?.classList.add("ck-ai_review__check-run-result_grayout"))}showResult(t,e){if("pending"!==e)return;const n=this._resultViews.find(e=>e.id===t);n&&(n.status=e,n.element?.classList.remove("ck-ai_review__check-run-result_grayout"))}setTitle(t,e){this.headerTitle=t,this.headerSubtitle=e||""}showChunkErrorMessage(){this.errorType="chunk",this.showErrorMessage=!0}showGeneralErrorMessage(){this.isError=!0,this.errorType="general",this.showErrorMessage=!0}resetErrorState(){this.isError=!1,this.errorType="general",this.showErrorMessage=!1}_createSkeletonLoader(){return new pA(this.locale,fA.aiReviewChecks)}_createCombinedSkeletonLoader(){const t=new a.View(this.locale),e=[];for(let t=0;t<16;t++){const t=this._createSkeletonLoader();t.extendTemplate({attributes:{class:["ck-ai_review__check-run-skeleton-item"]}}),e.push(t)}return t.setTemplate({tag:"div",attributes:{class:["ck-ai_review__check-run-skeleton-container",this.bindTemplate.if("isLoading","ck-hidden",t=>!t)]},children:e}),t}_createErrorView(){const t=new a.View(this.locale),e=new a.ButtonView(this.locale),n=this.locale.t;return t.delegate("retryReview").to(this),e.set({label:n("Try again"),withText:!0,class:"ck-ai-button-secondary ck-ai_review__check-run-error-retry-button"}),e.on("execute",()=>{this.fire("retryReview")}),t.setTemplate({tag:"div",attributes:{class:["ck-ai_review__check-run-error-container",this.bindTemplate.if("showErrorMessage","ck-hidden",t=>!t),this.bindTemplate.if("errorType","ck-ai_review__check-run-error-container_border-bottom",t=>"chunk"===t)]},children:[{tag:"div",attributes:{class:["ck","ck-ai-notification","ck-ai-notification_error","ck-ai-notification__full-width","ck-ai_review__check-run-error-message",this.bindTemplate.if("errorType","ck-ai-notification_warning",t=>"chunk"===t)]},children:[{tag:"p",attributes:{class:["ck-ai-notification__content",this.bindTemplate.if("errorType","ck-hidden",t=>"general"!==t)]},children:[{text:this._contents.generalErrorText}]},{tag:"p",attributes:{class:["ck-ai-notification__content",this.bindTemplate.if("errorType","ck-hidden",t=>"chunk"!==t)]},children:[{text:Zl(this.locale,"AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE")}]}]},e]}),t}_createCancelButtonView(){const t=new a.ButtonView(this.locale);return t.set({label:Zl(this.locale,"AI_REVIEW_MODE_STOP_GENERATING"),withText:!0,class:["ck-ai-button-secondary ck-ai-button-stop-generating"],icon:i.IconStop}),t.extendTemplate({attributes:{class:[this.bindTemplate.if("isResultReady","ck-hidden",t=>t),this.bindTemplate.if("isCompleted","ck-hidden",t=>t)]}}),t.on("execute",()=>{this.fire("abortReviewStream")}),t}_createToggleDiffButtonView(){const t=new a.ButtonView(this.locale);t.set({tooltip:!0,isToggleable:!0,role:"menuitemcheckbox"}),t.bind("isEnabled").to(this,"isError",t=>!t),t.extendTemplate({attributes:{class:["ck-ai-button-secondary","ck-ai_review__check-run-toggle-diff-button",this.bindTemplate.if("isResultReady","ck-hidden",t=>!t),this.bindTemplate.if("isCompleted","ck-hidden",t=>t)]}});const e=Zl(this.locale,"AI_REVIEW_MODE_HIDE_CHANGES"),n=Zl(this.locale,"AI_REVIEW_MODE_SHOW_CHANGES");return t.bind("isOn").to(this,"isToggleDiffOn",t=>t),t.bind("icon").to(this,"isToggleDiffOn",t=>t?i.IconEye:i.IconEyeCrossedOut),t.bind("label").to(this,"isToggleDiffOn",t=>t?e:n),t.on("execute",()=>{this.isToggleDiffOn=!this.isToggleDiffOn,this.fire("toggleDiff",{on:this.isToggleDiffOn})}),t}_createAcceptAllButtonView(){const t=new a.ButtonView(this.locale);return t.set({label:Zl(this.locale,"AI_REVIEW_MODE_ACCEPT_ALL"),withText:!0}),t.bind("isEnabled").to(this,"isError",t=>!t),t.extendTemplate({attributes:{class:["ck-ai-button-primary","ck-ai_review__check-run-accept-all-button",this.bindTemplate.if("isResultReady","ck-hidden",t=>!t),this.bindTemplate.if("isCompleted","ck-hidden",t=>t)]}}),t.on("execute",()=>{this.fire("acceptAllChanges")}),t}_createExitReviewButtonView(){const t=new a.ButtonView(this.locale);return t.set({label:Zl(this.locale,"AI_REVIEW_MODE_EXIT_REVIEW"),withText:!0}),t.extendTemplate({attributes:{class:["ck-ai-button-tertiary","ck-ai_review__check-run-exit-button",this.bindTemplate.if("isResultReady","ck-hidden",t=>!t),this.bindTemplate.if("isCompleted","ck-hidden",t=>t)]}}),t.on("execute",()=>{this.fire("leaveReviewCoreResultList")}),t}_createResultHeaderView(){const t=new a.View(this.locale),e=this._createTitleView();return t.setTemplate({tag:"div",attributes:{class:["ck-ai_review__check-run-results-header",this.bindTemplate.if("isCompleted","ck-ai_review__review-completed-header",t=>t)]},children:[e,{tag:"div",attributes:{class:["ck-ai_review__check-run-results-header-buttons"]},children:[this._cancelButtonView,this._acceptAllButtonView,this._exitReviewButtonView,this._toggleDiffButtonView,this._finishReviewButtonView]}]}),t}_createTitleView(){const t=new a.View(this.locale),e=new ky;return e.bind("isVisible").to(this,"isResultReady",t=>!t),t.setTemplate({tag:"div",attributes:{class:["ck-ai_review__check-run-results-header-title-wrapper"]},children:[e,{tag:"div",attributes:{class:["ck-ai_review__check-run-results-header-title-content",this.bindTemplate.if("isCompleted","ck-hidden",t=>t)]},children:[{tag:"span",attributes:{class:["ck-ai_review__check-run-results-header-title"]},children:[{text:this.bindTemplate.to("headerTitle")}]},{tag:"span",attributes:{class:["ck-ai_review__check-run-results-header-subtitle"]},children:[{text:this.bindTemplate.to("headerSubtitle")}]}]},{tag:"span",attributes:{class:["ck-ai_review__review-completed-header-title",this.bindTemplate.if("isCompleted","ck-hidden",t=>!t)]},children:[{text:Zl(this.locale,"AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE")}]}]}),t}_createFinishReviewButtonView(){const t=new zR(Zl(this.locale,"AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL"),this.locale);return t.extendTemplate({attributes:{class:[this.bindTemplate.if("isCompleted","ck-hidden",t=>!t)]}}),t.delegate("finishReview").to(this),t}}const YR=$R;function $R(t,e){const n=QR();return($R=function(t,e){return n[t-=124]})(t,e)}function QR(){const t=["_createResultHeaderView","ck-ai_review__review-completed-content-text","_resultsHeader","locale","3700240DOdJAe","4NniDxy","_createFinishReviewButtonView","ck-ai_review__review-completed-header-buttons","5814048LgYcFk","ck-ai_review__review-completed-content","ck-ai_review__review-completed-content-icon","setTemplate","ck-ai_review__review-completed-header","7026733pnmBAx","ck-ai_review__review-completed-header-title","finishReview","emptyResultsText","ck-hidden","isVisible","ck-ai_review__review-completed","div","bindTemplate","3781017bjjOMf","buttonText","13728140gwzmUx","_finishReviewButtonView","span","2cFNsvy","961480vGtTxq","headerText","delegate","6MllZxH","1376601xuyhlK"];return(QR=function(){return t})()}!function(t){const e=$R,n=t();for(;;)try{if(522881===-parseInt(e(135))/1+-parseInt(e(134))/2*(parseInt(e(139))/3)+-parseInt(e(145))/4*(parseInt(e(144))/5)+parseInt(e(138))/6*(parseInt(e(153))/7)+parseInt(e(148))/8+-parseInt(e(129))/9+parseInt(e(131))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(QR);class XR extends a.ListItemView{[YR(142)];[YR(132)];constructor(t,e){const n=YR;super(t),this[n(132)]=this[n(146)](e[n(130)]),this[n(142)]=this[n(140)](e[n(136)]);const i=this[n(128)];this[n(151)]({tag:n(127),attributes:{class:[n(126),i.if(n(125),n(124),t=>!t)]},children:[this[n(142)],{tag:n(127),attributes:{class:[n(149)]},children:[{tag:n(133),attributes:{class:[n(150)]},children:[{text:"👍"}]},{tag:"p",attributes:{class:[n(141)]},children:[{text:e[n(156)]}]}]}]})}[YR(146)](t){const e=YR,n=new zR(t,this[e(143)]);return n[e(137)](e(155)).to(this),n}[YR(140)](t){const e=YR,n=new a.View(this[e(143)]);return n[e(151)]({tag:e(127),attributes:{class:[e(152)]},children:[{tag:e(133),attributes:{class:[e(154)]},children:[{text:t}]},{tag:e(127),attributes:{class:[e(147)]},children:[this[e(132)]]}]}),n}}const JR=tN;function ZR(){const t=["bind","length","733590gzlyZX","1363099KUBByh","locale","div","find","set","369230PdSlVA","execute","button","64pOXWGr","ck-ai_review__check-list-item-parameterized-form-element","menuitemradio","menu","32dIkkQF","33196941xUfpJg","default","buttonView","_prepareListOptions","setTemplate","_defaultValue","resetToDefault","525606OkZInQ","listenTo","model","1967917aHfkiA","data","_defaultLabel","isOn","extendTemplate","stopPropagation","label","_dropdownView","10sxZKYz","add","7915194UoBcis","source","ck-ai_review__check-list-item-parameterized-form-element_dropdown","bindTemplate","ck-reset_all","formValue"];return(ZR=function(){return t})()}function tN(t,e){const n=ZR();return(tN=function(t,e){return n[t-=418]})(t,e)}!function(t){const e=tN,n=t();for(;;)try{if(871670===-parseInt(e(437))/1+-parseInt(e(436))/2+parseInt(e(457))/3+-parseInt(e(445))/4*(-parseInt(e(442))/5)+-parseInt(e(428))/6+-parseInt(e(418))/7*(parseInt(e(449))/8)+parseInt(e(450))/9*(parseInt(e(426))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ZR);class eN extends a.View{[JR(425)];[JR(455)];[JR(420)];constructor(t,e){const n=JR;super(t),this[n(455)]=e[n(451)]||(e[n(419)][n(435)]>0?e[n(419)][0].id:""),this[n(420)]=e[n(419)][n(440)](t=>t.id===this[n(455)])?.[n(424)]||"",this[n(441)](n(433),""),this[n(425)]=(0,a.createDropdown)(this[n(438)]);const i=this[n(453)](e[n(419)]);(0,a.addListToDropdown)(this[n(425)],i,{role:n(448),ariaLabel:e[n(424)]}),this[n(425)][n(452)][n(441)]({label:this[n(420)],withText:!0}),this[n(425)][n(422)]({on:{click:this[n(431)].to(t=>{t[n(423)]()})}}),this[n(458)](this[n(425)],n(443),t=>{const e=n;this[e(433)]=t[e(429)][e(459)].id,this[e(425)][e(452)][e(424)]=t[e(429)][e(459)][e(424)]}),this[n(454)]({tag:n(439),attributes:{class:["ck",n(432),n(446),n(430)]},children:[this[n(425)]]})}[JR(456)](){const t=JR;this[t(433)]=this[t(455)],this[t(425)][t(452)][t(424)]=this[t(420)]}[JR(453)](t=[]){const e=JR,n=new o.Collection;this[e(456)]();for(const i of t){const t=new a.UIModel({label:i[e(424)],withText:!0,role:e(447),id:i.id,model:i});t[e(434)](e(421)).to(this,e(433),e=>e===t.id);const r={type:e(444),model:t};n[e(427)](r)}return n}}const nN=iN;function iN(t,e){const n=rN();return(iN=function(t,e){return n[t-=298]})(t,e)}function rN(){const t=["140pHXJRp","1260361KfZVMZ","827150cGcJAG","formType","_formItem","setTemplate","ck-ai_review__form-item","bind","children","set","2271535JFIlXB","add","locale","33555TpXdig","ck-form__row_with-submit","8HFUVJu","42432084dnVdII","argsKey","div","value","ck-reset_all","4980288biWWrW","3130290iKRzPB","dropdown","formValue","resetToDefault"];return(rN=function(){return t})()}!function(t){const e=iN,n=t();for(;;)try{if(826722===-parseInt(e(307))/1+-parseInt(e(302))/2+-parseInt(e(319))/3*(parseInt(e(306))/4)+-parseInt(e(308))/5+-parseInt(e(301))/6+-parseInt(e(316))/7*(-parseInt(e(321))/8)+parseInt(e(322))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rN);class sN extends a.ListItemView{[nN(310)]=null;constructor(t,e,n){const i=nN;super(t),this[i(323)]=e?.[i(323)],i(303)===e[i(309)]&&(this[i(310)]=new eN(this[i(318)],e)),this[i(315)](i(299),""),this[i(313)](i(299)).to(this[i(310)],i(304));const r=new a.FormRowView(this[i(318)],{children:[this[i(310)]],class:[n?i(320):""]});n&&r[i(314)][i(317)](n),this[i(311)]({tag:i(298),attributes:{class:["ck",i(312),i(300)]},children:[r]})}[nN(305)](){const t=nN;this[t(310)][t(305)]()}}var oN=cN;function aN(){var t=["99psOvBb","910511lgIKtW","listenTo","extendTemplate","minRows","MIN_ROWS","keystrokes","1708938ROdkjN","ck-review__prompt-input","element","value","set","trim","20vZPtlc","ai-review-prompt-input","render","233848OPYnRN","470673HJfShm","isEmpty","update","1SLazmb","2519yjXZox","24540sXxYFJ","MAX_ROWS","36370vunwjK","maxRows","78196aSAjHp"];return(aN=function(){return t})()}function cN(t,e){var n=aN();return(cN=function(t,e){return n[t-=492]})(t,e)}!function(t){for(var e=cN,n=t();;)try{if(239838===-parseInt(e(510))/1*(parseInt(e(516))/2)+parseInt(e(507))/3+-parseInt(e(503))/4*(-parseInt(e(514))/5)+-parseInt(e(497))/6+parseInt(e(518))/7+parseInt(e(506))/8*(-parseInt(e(517))/9)+-parseInt(e(512))/10*(-parseInt(e(511))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(aN);class lN extends a.TextareaView{[oN(496)];static[oN(495)]=1;static[oN(513)]=12;constructor(t){var e=oN;super(t),this[e(501)](e(508),!0),this[e(496)]=new o.KeystrokeHandler,this[e(494)]=lN[e(495)],this[e(515)]=lN[e(513)],this[e(493)]({attributes:{id:e(504),class:["ck",e(498)]}})}[oN(505)](){var t=oN;super[t(505)](),this.on(t(509),()=>{var e=t;this[e(508)]=""===this[e(499)][e(500)]?.[e(502)]()}),this[t(496)][t(492)](this[t(499)])}}class uN extends a.View{focusTracker=new o.FocusTracker;keystrokes=new o.KeystrokeHandler;focusCycler;_focusables=new a.ViewCollection;submitButtonView;cancelButtonView;promptInputView;actionsFooterView;_modelSelectionDropdown;_modelNameView;_modelSelectionDropdownItems;_check;_defaultValue;_defaultLabel;constructor(t,e,n=!1){super(t),this._check=e,this.set("prompt",""),this.set("modelId",""),this.set("modelDisplayMode","selector"),this.set("activeModelName",null),this._defaultValue=e.defaultModel?e.defaultModel.id:"",this._defaultLabel=e.defaultModel?e.defaultModel.name:"",this.submitButtonView=this._createSubmitButtonView(),this.cancelButtonView=this._createCancelButtonView(),this.promptInputView=new a.LabeledFieldView(this.locale,()=>new lN(t)),this.promptInputView.fieldView.bind("value").to(this,"prompt"),this.promptInputView.fieldView.on("input",()=>{this.prompt=this.promptInputView.fieldView.element.value}),this._modelSelectionDropdown=this._createModelSelectionDropdown(),this._modelSelectionDropdownItems=new o.Collection,this._modelNameView=this._createModelNameView(),this._setModelList(n),(0,a.addListToDropdown)(this._modelSelectionDropdown,this._modelSelectionDropdownItems),this.actionsFooterView=this._createActionsFooterView(),this.setTemplate({tag:"div",attributes:{class:["ck-ai_review__check-list-item-custom-actions"]},children:[new a.FormRowView(this.locale,{children:[this.promptInputView]}),new a.FormRowView(this.locale,{children:[this.actionsFooterView]})]}),this.promptInputView.fieldView.keystrokes.set("Enter",(t,e)=>{this._isValid()?(this.fire("runReviewCheck",{id:"custom",args:{prompt:this.prompt,model:this.modelId},isCustom:!0}),e()):e()}),this.focusCycler=new a.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}})}render(){super.render(),[this.promptInputView,this._modelSelectionDropdown,this.cancelButtonView,this.submitButtonView].forEach(t=>{this._focusables.add(t),this.focusTracker.add(t.element)}),this.keystrokes.listenTo(this.element)}get modelDefaultValue(){return this._defaultValue}get modelDefaultLabel(){return this._defaultLabel}resetToDefault(){this.prompt="",this.modelId=this.modelDefaultValue,this._modelSelectionDropdown.buttonView.label=this.modelDefaultLabel,this.resetFormValidationStatus()}resetFormValidationStatus(){this.promptInputView.errorText=""}_isValid(){this.resetFormValidationStatus();for(const t of this._getFormValidators()){const e=t();if(e)return this.promptInputView.errorText=e,!1}return!0}_getFormValidators(){return[()=>{if(0===this.promptInputView.fieldView.value?.trim().length)return Zl(this.locale,"AI_REVIEW_MODE_PROMPT_EMPTY_ERROR")}]}_createSubmitButtonView(){const t=new a.ButtonView(this.locale),e=this.locale.t;return t.set({label:e("Submit"),withText:!0,class:"ck-ai-button-primary"}),t.on("execute",()=>{this._isValid()&&this.fire("runReviewCheck",{id:"custom",args:{prompt:this.prompt,model:this.modelId},isCustom:!0})}),t}_createCancelButtonView(){const t=new a.ButtonView(this.locale),e=this.locale.t;return t.set({label:e("Cancel"),withText:!0,class:"ck-ai-button-tertiary"}),t.extendTemplate({on:{click:this.bindTemplate.to(t=>{t.stopPropagation()})}}),t.on("execute",()=>{this.resetToDefault(),this.fire("closeCustomCheck")}),t}_setModelList(t){this._modelSelectionDropdownItems.clear();const e=this._check.models;if(t)this.set("modelDisplayMode","hidden");else{const t=1===e.length;this.set("modelDisplayMode",t?"name":"selector")}if(this.resetToDefault(),e?.length){1===e.length&&this.set("activeModelName",e[0].name||e[0].id);for(const t of e){const e=new a.UIModel({label:t.name,withText:!0,role:"menuitemradio",id:t.id,model:t});e.bind("isOn").to(this,"modelId",e=>e===t.id),this._modelSelectionDropdownItems.add({type:"button",model:e,labelView:new dN(this.locale,t)})}}}_createModelSelectionDropdown(){const t=(0,a.createDropdown)(this.locale);return t.set({panelPosition:"se",class:"ck-ai_review__check-list-item-model-dropdown"}),t.buttonView.set({label:this._defaultLabel,withText:!0,tooltip:!0}),t.buttonView.bind("isVisible").to(this,"modelDisplayMode",t=>"selector"===t),this.listenTo(t,"execute",e=>{this.modelId=e.source.model.id,t.buttonView.label=e.source.label}),t}_createModelNameView(){const t=new hN(this.locale);return t.bind("text").to(this,"activeModelName",t=>t??""),t.bind("isVisible").to(this,"modelDisplayMode",t=>"name"===t),t}_createActionsFooterView(){const t=new a.View(this.locale);return t.setTemplate({tag:"div",attributes:{class:["ck-ai_review__check-list-item-custom-actions-footer"]},children:[this._modelSelectionDropdown,this._modelNameView,{tag:"div",attributes:{class:["ck-ai_review__check-list-item-parameterized-custom-actions-buttons"]},children:[this.cancelButtonView,this.submitButtonView]}]}),t}}class hN extends a.View{constructor(t){super(t),this.set("text",void 0),this.set("isVisible",!0);const e=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-ai_review__check-list-item-model-name",e.if("isVisible","ck-hidden",t=>!t)]},children:[{text:e.to("text")}]})}}class dN extends a.ButtonLabelView{constructor(t,e){super();const n=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-button__label"],style:n.to("style"),id:n.to("id")},children:[{tag:"div",attributes:{class:["ck-ai_review__check-list-item-model-dropdown-name"]},children:[{tag:"span",children:[{text:n.to("text")}]}]},{tag:"div",attributes:{class:["ck-ai_review__check-list-item-model-dropdown-description"]},children:[{tag:"span",children:[e.description||""]}]}]})}}class pN extends a.ListItemView{_formItemsCollection=new a.ViewCollection;_customCheckView=null;_hideModels=!1;constructor(t,e,n,i=!1){super(t),this._hideModels=i,this.set("isParametrizedViewOpen",!1),this.set("isListItemRendered",!1),this.set("isItemParametrized",e.isParameterized);const r=this._createIconView();this.setTemplate({tag:"div",attributes:{class:["ck-ai_review__check-list-item",this.bindTemplate.if("isParametrizedViewOpen","ck-ai_review__check-list-item_selected",t=>t),this.bindTemplate.if("isListItemRendered","ck-ai_review__check-list-item_rendered",t=>t)],style:{"--ck-ai-review-check-list-item-index":n}},on:{click:this.bindTemplate.to("click")},children:[{tag:"div",attributes:{class:["ck-ai_review__check-list-item-content"]},children:[{tag:"div",attributes:{class:["ck-ai_review__check-list-item-main-content"]},children:[{tag:"div",attributes:{class:["ck-ai_review__check-list-item-title"]},children:[{tag:"span",attributes:{class:["ck-ai_review__check-list-item-title-text"]},children:[{text:e.title}]},r]},{tag:"div",attributes:{class:["ck-ai_review__check-list-item-description"]},children:e.description?[{text:e.description}]:[]}]}]},...e.isParameterized?[this._createParameterizedView(e)]:[],..."custom"===e.id?[this._createCustomView(e,this._hideModels)]:[]]}),this.on("click",()=>{e.isParameterized?this.isParametrizedViewOpen=!0:this.fire("runReviewCheck",{id:e.id,args:e.useArgs?e.args:void 0})}),requestAnimationFrame(()=>{this.isListItemRendered=!0})}render(){super.render(),this.isItemParametrized&&(0,a.clickOutsideHandler)({emitter:this,activator:()=>!0===this.isParametrizedViewOpen,contextElements:[this.element],callback:()=>{this.isParametrizedViewOpen=!1}})}resetToDefault(){this.isParametrizedViewOpen=!1,this._formItemsCollection.forEach(t=>{t.resetToDefault()}),this._customCheckView&&this._customCheckView.resetToDefault()}_createIconView(){const t=new a.IconView;return t.content=i.IconChevronRight,t.extendTemplate({attributes:{class:["ck-ai_review__check-list-item-title-icon"]}}),t}_createParameterizedView(t){const e=new a.View,n=this._createFormView(t);return e.setTemplate({tag:"div",attributes:{class:["ck-ai_review__check-list-item-parameterized",this.bindTemplate.if("isParametrizedViewOpen","ck-hidden",t=>!t)]},children:[n]}),e}_createFormView(t){const e=new a.View,n=Array.isArray(t.options)?t.options:[],i=new a.ButtonView(this.locale),r=this.locale.t;i.set({label:r("Submit"),withText:!0,class:"ck-ai-button-primary"}),i.extendTemplate({on:{click:this.bindTemplate.to(t=>{t.stopPropagation()})}}),i.on("execute",()=>{const e=[],n={};this._formItemsCollection.forEach(i=>{e.push(i.value),t.useArgs&&t.options&&(n[i.argsKey]=i.value)}),this.fire("runReviewCheck",{id:t.id,params:e.length?e:void 0,args:Object.keys(n).length?n:void 0})});const s=n.length;return n.forEach((t,e)=>{const n=e===s-1;this._formItemsCollection.add(new sN(this.locale,t,n?i:null))}),e.setTemplate({tag:"div",attributes:{class:["ck-ai_review__check-list-item-parameterized-form"]},children:this._formItemsCollection}),e}_createCustomView(t,e=!1){return this._customCheckView=new uN(this.locale,t,e),this._customCheckView.extendTemplate({attributes:{class:["ck-ai_review__check-list-item-parameterized","ck-ai_review__check-list-item-parameterized_custom",this.bindTemplate.if("isParametrizedViewOpen","ck-hidden",t=>!t)]}}),this._customCheckView.delegate("runReviewCheck").to(this),this.listenTo(this._customCheckView,"closeCustomCheck",()=>{this.isParametrizedViewOpen=!1}),this.on("change:isParametrizedViewOpen",(t,e,n)=>{n||this._customCheckView.resetFormValidationStatus()}),this._customCheckView}}var fN=r(8360),gN={attributes:{"data-cke":!0}};gN.setAttributes=Et(),gN.insert=yt().bind(null,"head"),gN.domAPI=It(),gN.insertStyleElement=Ct();bt()(fN.A,gN);fN.A&&fN.A.locals&&fN.A.locals;const mN=_N;function kN(){const t=["div","311420LBjMIh","_checkViews","_setupTemplate","ck-ai_review__check-list","setTemplate","locale","setChecks","bindTemplate","1538375KIGMIp","3lxicHu","hasChecks","resetToDefault","resetAllParameterizedChecks","isVisible","781CQlaan","runReviewCheck","entries","ck-hidden","135560msQRQA","length","28EMsldb","33422NNqmXT","add","delegate","98191BXWRJO","60270Jttode","99WkCaTs","458154qABMgK","clear"];return(kN=function(){return t})()}function _N(t,e){const n=kN();return(_N=function(t,e){return n[t-=323]})(t,e)}!function(t){const e=_N,n=t();for(;;)try{if(158134===parseInt(e(328))/1+parseInt(e(325))/2*(-parseInt(e(343))/3)+parseInt(e(334))/4+parseInt(e(342))/5+-parseInt(e(331))/6*(-parseInt(e(324))/7)+parseInt(e(352))/8*(-parseInt(e(330))/9)+parseInt(e(329))/10*(-parseInt(e(348))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kN);class bN extends a.ListItemView{[mN(335)];constructor(t){const e=mN;super(t),this[e(335)]=new a.ViewCollection,this[e(336)]()}[mN(340)](t,e=!1){const n=mN;this[n(335)][n(332)]();for(const[i,r]of t[n(350)]()){const t=new pN(this[n(339)],r,i,e);t[n(327)](n(349)).to(this),this[n(335)][n(326)](t)}}[mN(344)](){const t=mN;return this[t(335)][t(323)]>0}[mN(346)](){const t=mN;for(const e of this[t(335)])e instanceof pN&&e[t(345)]()}[mN(336)](){const t=mN,e=this[t(341)];this[t(338)]({tag:t(333),attributes:{class:[t(337),e.if(t(347),t(351),t=>!t)]},children:this[t(335)]})}}const wN=vN;function IN(){const t=["6vZdNzE","798497uWHVni","41552dfwcKd","plugins","AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL","_mainView","pluginName","createMainView","AI_REVIEW_MODE_EMPTY_RESULTS_TEXT","view","AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE","fire","AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE","addTab","247260zKSYSA","leaveReview","AI_REVIEW_MODE","activateTab","AITabs","2835384fEJuAh","2702308zAeAmr","ck-ai-header ck-ai-header_review","get","60QRaYHQ","context","getReviewCheckList","registerTab","locale","10112301lNqBwK","AIReviewModeUI","1719024OieOkv","reviewMode"];return(IN=function(){return t})()}function vN(t,e){const n=IN();return(vN=function(t,e){return n[t-=277]})(t,e)}!function(t){const e=vN,n=t();for(;;)try{if(615246===-parseInt(e(285))/1+parseInt(e(286))/2*(-parseInt(e(284))/3)+parseInt(e(298))/4*(-parseInt(e(307))/5)+parseInt(e(303))/6+parseInt(e(304))/7+parseInt(e(282))/8+parseInt(e(280))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(IN);class yN extends OR{static get[wN(290)](){return wN(281)}[wN(291)](){const t=wN,e=this[t(308)][t(279)],n=new a.FormHeaderView(e,{label:Zl(e,t(300)),icon:i.IconAIReview,class:t(305)});return new HR(this[t(308)][t(279)],{header:n,list:new bN(e),results:new KR(e,{generalErrorText:Zl(e,t(296))}),completed:new XR(e,{headerText:Zl(e,t(294)),emptyResultsText:Zl(e,t(292)),buttonText:Zl(e,t(288))})})}[wN(278)](){const t=wN,e=this[t(308)][t(287)][t(306)](t(302));e[t(293)].on(t(301),(e,n)=>{const i=t;i(283)===n?this[i(295)](i(277)):this[i(295)](i(299))}),e[t(293)][t(297)]({id:t(283),buttonLabel:Zl(this[t(308)][t(279)],t(300)),buttonIcon:i.IconAIReview,order:0,content:this[t(289)]})}}function AN(t,e,{signal:n,edges:i}={}){let r,s=null;const o=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(r,s),r=void 0,s=null)};let l=null;const u=()=>{null!=l&&clearTimeout(l),l=setTimeout(()=>{l=null,a&&c(),d()},e)},h=()=>{null!==l&&(clearTimeout(l),l=null)},d=()=>{h(),r=void 0,s=null},p=function(...t){if(n?.aborted)return;r=this,s=t;const e=null==l;u(),o&&e&&c()};return p.schedule=u,p.cancel=d,p.flush=()=>{h(),c()},n?.addEventListener("abort",d,{once:!0}),p}const EN=TN;function TN(t,e){const n=CN();return(TN=function(t,e){return n[t-=200]})(t,e)}function CN(){const t=["getDiff","getMarkerElementForChange","changeMarkerRemoved","enableReadOnlyMode","hasClass"," ck-ai_review__change_active",'[data-id="',"_findMarkerElement","_insertMarkers","dataDowncast","isDocumentOperation","toData","attributeToAttribute","markChangePositionInEditorContent","_groupAdjacentOperations","startsWith","groupId","_hasSameTopLevelElement","every","getAttribute","schema","version","_removeChildren","root","processor","insertContent","span","values","pop","delete","_appendChild","removeMarker","markers","suggestion-context","markerToHighlight","content","1351200aDNaZp","containsRange","createRawElement","isInline","position","createRangeOn","hasContentAfter","$markedRemove:synthetic","getDocumentData","newRange","oldRange","editing","switchToEdit","changeMarkerRestored","plugins","_createGetContentUsingDataIdFn","model","get","isOfficialPlugin","differ",".ck-reset.ck-ai_review-balloon-panel-suggestion","className","getContentElementForChange","439730jsgump","ai-review","ellipsisAfter","1187720geTQPF","_upsertDataId","setMarkersInElementAsActive","No element found for ID: ","remove-only","isAtStart","_markers","listenTo","_haveOnlyInlineContent","set","changeMarkerHovered","stringify","warn","231EIAAAi","isBlock","applyOperation","remove","_findAdjacentContextDistance","markerName","ck-ai_review-marker_context-end","isAtEnd","createPositionAfter","highest","createPositionAt","toView","3701RfnplF","split","getHtml","conversion","_validateMarkers","diffContent","isIntersecting","_activeMarkers","_findMarkerElementById","fire","_handleMarkerChanges","innerHTML","markerToElement","deleteContent","_getOperationEnd","createDocumentFragment","push","forward","outside","append","_createGetContextFn","closest","$documentFragment","setAllMarkersAsInactive","view","getRange","batch","addMarker","concat","data","26mUJTlV","AIEditing","index","offset","_nextDataId","_shiftOperation","registerPostFixer","htmlProcessor","operationsIsolated","$graveyard","querySelector","ck-ai_review-marker_add","clone","documentFragment","suggestion:deletion:id:authorId:","_getChangeContext","size","ck-ai_review-marker_context-","emitter","_changeRangeOwnerDocument","forEach","applyChange","affectsData","DocumentCompare","createUIElement","toDomElement","element","$root","backward","data-marker-id","baseVersion","marker","add","147676fhxKMV","length","end","getRoot","history","map","_changeOperationOwnerDocument","clear","getStart","start","sort","remove-text","_translateOperationToEditorContent","getEditor","ck-ai_review-marker_underline","for","editingDowncast","name","join","_changeRange","reactivateMarkers","howMany","_createGetContentFn","getChanges","relatedTarget","ck-ai_review__change_active","childCount","_eventEmitter","changeMarkerClicked","clearAllMarkers","elements","from","AIReviewCoreEditing","_sortMarkers",'[data-marker-id="',"createRange","htmlWriter","has","_changePositionOwnerDocument","parent","ellipsisBefore","target","exec","isTouching","offsetSize","pluginName","ck-ai_review-marker_strikethrough","asString","context","_domEmitter","rejectChange","addOperation","isOpening","viewToDom","body","review-","9MhAUKk","_getPositionLimitingRange","_setAttribute","suggestion:insertion:id:authorId:","outerHTML","remove-context","flat","getPath","6KXeZIl","createRangeIn","ck-ai_review-marker_hide","asFragment","mouseup","changeMarkerBlurred","_clone","path","_removeAttribute","type","1884281KPhIJH","_parseMarkerName","getEditableElement","_getMarkersDataForGroup","rootName","_getOperationStart","_haveSingleTopLevelElement","parentElement","hasAttribute","getChild","operationsA","getChangedMarkers","operations","_changePosition","document","getShiftedBy","inside","keys","parse","domConverter","$textProxy","ck-ai_review-marker_","createSelection","switchToReadOnly","reconvertMarker","$markedRemove","disableReadOnlyMode","2135664VztEuE","jumpTo","isLimit","hasContentBefore","containerElement","change","getOperations","afterInit","downcast","insert","nodes","mouseover","ck-ai_review-marker_context-start","getChildren","requires","getDomRoot","filter","isPremiumPlugin","includes","getRoots"];return(CN=function(){return t})()}!function(t){const e=TN,n=t();for(;;)try{if(157119===parseInt(e(352))/1*(parseInt(e(382))/2)+parseInt(e(200))/3*(parseInt(e(415))/4)+-parseInt(e(301))/5+-parseInt(e(208))/6*(parseInt(e(218))/7)+-parseInt(e(327))/8+-parseInt(e(245))/9+-parseInt(e(324))/10*(-parseInt(e(340))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(CN);const SN=EN(470);class xN extends n.ContextPlugin{static get[EN(259)](){return[xb.DocumentCompare,fI]}static get[EN(460)](){return EN(447)}static get[EN(319)](){return!0}static get[EN(262)](){return!0}[EN(333)]=new Map;[EN(359)]=new Set;[EN(464)];[EN(442)];constructor(t){const e=EN;super(t),this[e(464)]=new((0,o.DomEmitterMixin)()),this[e(442)]=new((0,o.EmitterMixin)())}get[EN(400)](){return this[EN(442)]}[EN(252)](){const t=EN,e=eI(this[t(463)]);e[t(355)][t(430)](t(431))[t(364)]({model:SN+t(254),view:(e,{writer:n})=>{const i=t,r=this[i(333)][i(318)](e[i(345)]),s={class:i(393)+(this[i(359)][i(452)](r?.id||"")?i(270):""),"data-marker-id":e[i(345)]};return n[i(406)](i(291),s,function(t){const e=i,n=this[e(407)](t);return n[e(363)]=r?.[e(300)]?.[e(462)]||"",n})}}),e[t(355)][t(430)](t(431))[t(299)]({model:SN+t(331),view:e=>{const n=t,i=this[n(333)][n(318)](e[n(345)]),r=[n(461)];return this[n(359)][n(452)](i?.id||"")&&r[n(368)](n(440)),{classes:r,attributes:{"data-marker-id":e[n(345)]}}}}),e[t(355)][t(430)](t(431))[t(299)]({model:SN+t(205),view:e=>{const n=t,i=this[n(333)][n(318)](e[n(345)]),r=[n(429)];return this[n(359)][n(452)](i?.id||"")&&r[n(368)](n(440)),{classes:r,attributes:{"data-marker-id":e[n(345)]}}}}),e[t(355)][t(430)](t(431))[t(299)]({model:SN+t(426),view:e=>{const n=t,i=this[n(333)][n(318)](e[n(345)]),r=[n(210)];return this[n(359)][n(452)](i?.id||"")&&r[n(368)](n(440)),{classes:r,attributes:{"data-marker-id":e[n(345)]}}}}),e[t(355)][t(430)](t(274))[t(364)]({model:SN+t(298),view:(e,{writer:n})=>n[t(303)](t(291),{class:t(399)+(e[t(467)]?t(424):t(417))})}),e[t(355)][t(430)](t(253))[t(277)]({model:xb.DATA_ID_MODEL_ATTRIBUTE,view:xb.DATA_ID_VIEW_ATTRIBUTE});const n=e.ui[t(220)]()||document[t(469)];this[t(464)][t(334)](n,t(212),(e,n)=>{const i=t,r=n[i(456)],s=this[i(272)](r);if(!s)return;const o=s[i(284)](i(411)),a=o[i(353)](":")[i(293)]()?.[i(353)]("_")[0];this[i(442)][i(361)](i(443),{markerId:o,changeId:a,markerElement:()=>this[i(360)](o),domEvent:n})},{usePassive:!0,priority:t(349)}),this[t(464)][t(334)](n,t(256),(e,n)=>{const i=t,r=n[i(456)],s=n[i(439)];let o=this[i(272)](r);if(!o&&s&&(o=this[i(272)](s)),!o)return;const a=o[i(284)](i(411)),c=a[i(353)](":")[i(293)]()?.[i(353)]("_")[0];this[i(442)][i(361)](i(337),{changeId:c,markerElement:()=>this[i(360)](a),domEvent:n})}),this[t(464)][t(334)](document,t(256),function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:r=!0,maxWait:s}=n,o=Array(2);let a;i&&(o[0]="leading"),r&&(o[1]="trailing");let c=null;const l=AN(function(...e){a=t.apply(this,e),c=null},e,{edges:o}),u=function(...e){return null!=s&&(null===c&&(c=Date.now()),Date.now()-c>=s)?(a=t.apply(this,e),c=Date.now(),l.cancel(),l.schedule(),a):(l.apply(this,e),a)};return u.cancel=l.cancel,u.flush=()=>(l.flush(),a),u}((e,n)=>{const i=t,r=n[i(456)];this[i(272)](r)||r[i(373)](i(321))||this[i(442)][i(361)](i(213))},200)),e[t(317)][t(232)][t(388)](n=>this[t(356)](e,n)),e[t(317)][t(232)].on(t(250),()=>this[t(362)](e))}[EN(309)](){const t=EN,e=this[t(463)][t(315)][t(318)](t(383)),n=eI(this[t(463)]),i=n[t(317)],r=new u.ModelDocumentFragment;for(const e of i[t(232)][t(418)]()[t(258)]()){const n=e[t(214)](!0);r[t(295)](n)}for(const e of i[t(297)])r[t(297)][t(336)](e[t(432)],this[t(401)](e[t(377)]()[t(394)](),r));const s=new u.ModelTreeWalker({ignoreElementEnd:!0,startPosition:i[t(350)](r,0)}),o=new Set,a=new Map;for(const{item:r}of s){if(!r.is(t(238)))continue;const c=r[t(454)];if(c&&c.is(t(408))){const r=this[t(328)](c,()=>e[t(386)](o));o[t(414)](r);for(const n of c[t(258)]())n.is(t(408))&&o[t(414)](this[t(328)](n,()=>e[t(386)](o)));let l=c;for(;l[t(454)]&&!l[t(454)].is(t(395));)l=l[t(454)],l[t(226)](xb.DATA_ID_MODEL_ATTRIBUTE)&&l[t(216)](xb.DATA_ID_MODEL_ATTRIBUTE);a[t(336)](r,{path:c[t(207)](),getContent:this[t(316)](l[t(214)](!0),r,n[t(381)])}),s[t(246)](i[t(348)](c))}}return{content:n[t(381)][t(289)][t(276)](n[t(381)][t(351)](r)),version:n[t(317)][t(232)][t(286)],elements:a}}[EN(357)](t,e,n=!1){const i=EN,r=[],s=eI(this[i(463)]),a=s[i(381)][i(236)](e,i(374)),c=s[i(381)][i(236)](t,i(374)),l=s[i(317)][i(350)](c,0);if(this[i(224)](a)){if(!this[i(282)](c,a))return r}else{const t=s[i(317)][i(285)];if(!this[i(335)](c,t)||!this[i(335)](a,t))return r}const h=this[i(463)][i(315)][i(318)](i(405))[i(265)](t,e,{anchor:l,markDeletions:!0})[i(251)]()[i(261)](t=>i(254)===t[i(217)]||i(413)===t[i(217)]&&t[i(432)][i(280)](i(243))),d=this[i(279)](h),p=[];if(n){if(d[i(416)]){const t=d[0][i(230)][0],e=i(254)===t[i(217)]?t[i(305)]:t[i(310)][i(424)],n=this[i(201)](e,s,i(234)),r=n?a[i(227)](0)[i(258)]():a[i(258)](),l=n||s[i(317)][i(209)](c),h=[new u.MarkerOperation(i(308)+(0,o.uid)(),null,l,s[i(317)][i(232)][i(317)][i(297)],!0,s[i(317)][i(232)][i(286)]+1),new u.InsertOperation(l[i(417)],r,s[i(317)][i(232)][i(286)]+2)];p[i(368)]({operations:h,operationsIsolated:h,groupOffset:0})}}else p[i(368)](...d);let f=0;return s[i(317)][i(250)](t=>{const e=i;for(let i=0;i<p[e(416)];i++){const o=p[i],a=t[e(367)]();for(const n of c[e(258)]())t[e(371)](n[e(214)](!0),a);for(const n of o[e(390)])if(e(254)===n[e(217)]){const i=n;i[e(412)]=null,i[e(275)]=!1,this[e(421)](i,a),t[e(378)][e(466)](n),s[e(317)][e(342)](n);const r=e(203)+f++,o=s[e(317)][e(450)](i[e(305)],i[e(305)][e(233)](i[e(436)]));a[e(297)][e(336)](r,o)}else if(e(413)===n[e(217)]&&n[e(432)][e(280)](e(243))){const t=n,i=e(396)+f++;this[e(421)](t,a),a[e(297)][e(336)](i,t[e(310)])}if(n)r[e(368)]({...o,context:this[e(437)](c,s[e(381)]),content:this[e(437)](c,s[e(381)])});else{const t=this[e(397)](this[e(453)](this[e(223)](o[e(390)][0]),a),this[e(453)](this[e(366)](o[e(390)][o[e(390)][e(416)]-1]),a));a[e(297)][e(336)](SN+e(298),new u.ModelRange(t[e(424)],t[e(417)])),r[e(368)]({...o,context:this[e(372)](a,s[e(381)],{ellipsisBefore:t[e(248)],ellipsisAfter:t[e(307)]}),content:this[e(437)](a,s[e(381)])})}}}),r}[EN(278)](t,e){const n=EN;if(!t[n(416)])return;const i=t[0][n(454)].id,r=e[n(445)][n(318)](i);if(!r)return void console[n(339)](n(330)+i);const s=r[n(215)],o=eI(this[n(463)]),a=o[n(317)][n(232)][n(419)][n(251)](e[n(286)]),c=[];for(const e of t){const t=e[n(390)][n(420)](t=>this[n(427)](t,s,o[n(317)][n(232)][n(264)]()[0]));if(!t||!t[n(416)])continue;const i=t[n(283)](t=>n(413)===t[n(217)]&&t[n(432)][n(280)](n(243))),r={document:o[n(317)][n(232)],useRelations:!1,padWithNoOps:!1},l=(0,u.transformOperationSets)(t,a,r)[n(228)];for(const t of l)if(n(254)===t[n(217)]){const i=t,r=i[n(255)];o[n(317)][n(250)](t=>{const s=n,a=t[s(367)]();for(const e of r)t[s(371)](e[s(214)](!0),a);c[s(368)]({start:i[s(305)],end:i[s(305)],type:s(254),groupId:e.id,content:{asString:this[s(437)](a,o[s(381)])(),asFragment:a}})})}else if(n(413)===t[n(217)]&&t[n(432)][n(280)](n(243))){const r=t;let s=n(426);if(i){const t=this[n(344)](r[n(310)][n(424)],n(410),o[n(317)][n(285)]),i=this[n(344)](r[n(310)][n(417)],n(369),o[n(317)][n(285)]);if(t||i){const s=r[n(310)][n(424)][n(233)](-t),o=r[n(310)][n(417)][n(233)](i);c[n(368)]({start:s,end:o,groupId:e.id,type:n(205)})}else s=n(331)}c[n(368)]({start:r[n(310)][n(424)],end:r[n(310)][n(417)],groupId:e.id,type:s})}}this[n(273)](c)}[EN(444)](){const t=EN,e=eI(this[t(463)]);e[t(317)][t(250)](n=>{const i=t;for(const t of this[i(333)][i(235)]())e[i(317)][i(297)][i(318)](t)&&n[i(296)](t)}),this[t(333)][t(422)](),this[t(359)][t(422)]()}[EN(241)](){const t=EN;eI(this[t(463)])[t(268)](t(325))}[EN(313)](){const t=EN;eI(this[t(463)])[t(244)](t(325))}[EN(403)](t){const e=EN,n=eI(this[e(463)]),i=n[e(317)],r=t[e(420)](t=>this[e(221)](t))[e(206)]();i[e(250)](t=>{const s=e;for(const e of r){const r=n[s(317)][s(297)][s(318)](e.id);if(r){if(s(254)===e[s(217)]){if(!e[s(300)])continue;i[s(290)](e[s(300)][s(211)]||null,r[s(377)]()[s(424)])}else s(426)!==e[s(217)]&&s(331)!==e[s(217)]||i[s(365)](i[s(240)](r[s(377)]()));t[s(296)](e.id),this[s(333)][s(294)](e.id)}}})}[EN(465)](t){const e=EN,n=eI(this[e(463)]),i=this[e(221)](t);n[e(317)][e(250)](t=>{const n=e;for(const e of i)t[n(296)](e.id),this[n(333)][n(294)](e.id)})}[EN(428)](){return eI(this[EN(463)])}[EN(266)](t){const e=EN,n=Array[e(446)](this[e(333)][e(292)]())[e(261)](n=>n[e(281)]===t);if(!n[e(416)])return null;const i=1===n[e(416)]?n[0]:this[e(448)](n)[0],r=eI(this[e(463)])[e(317)][e(297)][e(318)](i.id);return r?{modelRange:r[e(377)](),getElement:()=>this[e(360)](i.id)}:null}[EN(323)](t){const e=EN,n=Array[e(446)](this[e(333)][e(292)]())[e(261)](n=>n[e(281)]===t);if(!n[e(416)])return null;const i=1===n[e(416)]?n[0]:this[e(448)](n)[0],r=eI(this[e(463)]),s=r[e(317)][e(297)][e(318)](i.id);if(!s)return null;const o=s[e(377)](),a=r[e(312)][e(376)][e(260)]();if(!a||!o)return null;let c=o[e(424)][e(454)];for(;c[e(454)]&&e(409)!==c[e(454)][e(432)];)c=c[e(454)];if(!c||!c[e(432)])return null;const l=a[e(392)](e(449)+i.id+'"]');if(!l)return null;let u=null;r[e(317)][e(250)](t=>{const n=e;u=t[n(367)](),t[n(371)](c[n(214)](!0),u)});const h=r[e(381)][e(351)](u)[e(227)](0);return l[e(373)](h[e(432)])}[EN(435)](t){const e=EN,n=this[e(221)](t);if(!n[e(416)])return;const i=Array[e(446)](this[e(359)])[e(425)](),r=Array[e(446)](new Set(n[e(420)](t=>t.id)))[e(425)]();i[e(433)]("|")!==r[e(433)]("|")&&(this[e(375)](),this[e(329)](t))}[EN(329)](t){const e=EN,n=this[e(221)](t);if(!n[e(416)])return;const i=eI(this[e(463)]),r=new Set(n[e(420)](t=>t.id)),s=Array[e(446)](r[e(292)]())[e(420)](t=>i[e(317)][e(297)][e(318)](t))[e(261)](t=>!!t);r[e(402)](t=>{const n=e;this[n(359)][n(414)](t)}),i[e(317)][e(250)](()=>{const t=e;s[t(402)](e=>{const n=t;i[n(312)][n(242)](e)})})}[EN(375)](){const t=EN,e=Array[t(446)](this[t(359)]);if(!e[t(416)])return;this[t(359)][t(422)]();const n=eI(this[t(463)]),i=e[t(420)](e=>n[t(317)][t(297)][t(318)](e))[t(261)](t=>!!t);n[t(317)][t(250)](()=>{const e=t;i[e(402)](t=>{const i=e;n[i(312)][i(242)](t)})})}[EN(201)](t,e,n=EN(370)){const i=EN;if(!t)return null;let r=t[i(454)];for(;r&&r[i(454)]&&i(409)!==r[i(454)][i(432)]&&!e[i(317)][i(285)][i(247)](r)&&!e[i(317)][i(285)][i(341)](r);)r=r[i(454)];if(!r||!r[i(432)]||i(409)===r[i(432)])return null;let s=null;return e[i(317)][i(250)](t=>{const e=i;s=e(234)===n?t[e(209)](r):t[e(306)](r)}),s}[EN(356)](t,e){const n=EN,i=Array[n(446)](this[n(333)][n(235)]()),r=new Map;for(const e of i){const i=t[n(317)][n(297)][n(318)](e);if(!i)continue;const s=i[n(423)]()[n(215)][0];r[n(452)](s)||r[n(336)](s,[]),r[n(318)](s)[n(368)](i)}const s=new Set;for(const e of t[n(317)][n(232)][n(320)][n(438)]()){let t=-1,i=null;if(n(254)===e[n(217)])i=new u.ModelRange(e[n(305)],e[n(305)][n(233)](e[n(416)])),t=e[n(305)][n(215)][0];else{if(n(343)!==e[n(217)])continue;i=new u.ModelRange(e[n(305)]),t=e[n(305)][n(215)][0]}const o=r[n(318)](t)||[];if(o[n(416)])for(const t of o)if(i[n(288)][n(222)]===t[n(377)]()[n(288)][n(222)]&&(n(254)!==e[n(217)]||!i[n(302)](t[n(377)]()))&&(i[n(358)](t[n(377)]())||i[n(424)][n(458)](t[n(377)]()[n(417)])||i[n(417)][n(458)](t[n(377)]()[n(424)]))){const e=this[n(219)](t[n(432)]);Array[n(446)](this[n(333)][n(292)]())[n(261)](t=>t[n(281)]===e[n(281)])[n(402)](t=>s[n(414)](t.id))}}if(s[n(398)]){for(const t of s)e[n(296)](t);return!0}return!1}[EN(362)](t){const e=EN;for(const{name:n,data:i}of t[e(317)][e(232)][e(320)][e(229)]()){if(!n[e(280)](SN))continue;const t=i[e(311)],r=i[e(310)],s=t&&e(391)===t[e(288)][e(222)],o=r&&e(391)===r[e(288)][e(222)];if(s&&o)continue;const a=this[e(219)](n);this[e(333)][e(318)](n)&&(o||!r?this[e(442)][e(361)](e(267),{markerId:n,changeId:a[e(281)]}):s&&r&&this[e(442)][e(361)](e(314),{markerId:n,changeId:a[e(281)]}))}}[EN(219)](t){const e=EN,n=t[e(353)](":"),i=(n[1]||"")[e(353)]("_");return{prefix:n[0],groupId:i[0],suffix:i[1]}}[EN(427)](t,e,n){const i=EN;if(i(254)===t[i(217)]){const r=t;return new u.InsertOperation(this[i(231)](e[i(380)](r[i(305)][i(385)]),n),r[i(255)],r[i(412)])}if(i(413)===t[i(217)]&&t[i(432)][i(280)](i(243))){const r=t;return new u.MarkerOperation(r[i(432)],r[i(311)],this[i(434)](r[i(310)],e[i(380)](r[i(310)][i(424)][i(385)]),e[i(380)](r[i(310)][i(417)][i(385)]),n),r[i(333)],r[i(404)],r[i(412)])}return t}[EN(279)](t){const e=EN;if(!t[e(416)])return[];const n=[];let i=0,r=0,s=[];for(let o=0;o<=t[e(416)];o++){const a=t[o],c=t[o-1];!a||c&&!this[e(366)](c)[e(458)](this[e(223)](a))?(n[e(368)]({operations:s,operationsIsolated:s[e(420)](t=>this[e(387)](t[e(394)](),-r)),groupOffset:i}),s=a?[a]:[],r+=i,i=0):s[e(368)](a),a&&e(254)===a[e(217)]&&(i+=a[e(436)])}return n}[EN(344)](t,e,n,i=1){const r=EN,s=new u.ModelTreeWalker({startPosition:t,direction:e});let o=0;for(let a=0;a<i;a++){let i=0,a=!1,c=r(369)===e?/^\W*\w+/:/\w+\W*$/;for(const{item:t}of s)if(t.is(r(238))){const n=c[r(457)](t[r(381)]);if(n&&n[r(416)]){if(i+=r(369)===e?n[r(384)]+n[0][r(416)]:t[r(381)][r(416)]-n[r(384)],n[0][r(416)]!==t[r(381)][r(416)])break;a=!0,c=r(369)===e?/^\w+/:/\w+$/}else{if(a)break;i+=t[r(459)]}}else if(t.is(r(408))){n[r(304)](t)&&!a&&(i+=1);break}o+=i,s[r(246)](t[r(233)](r(369)===e?o:-o))}return o}[EN(397)](t,e){const n=EN,i=eI(this[n(463)])[n(317)][n(285)],r=this[n(344)](t,n(410),i,6),s=this[n(344)](e,n(369),i,6),o=t[n(233)](-r),a=e[n(233)](s);return{start:o,end:a,hasContentBefore:!o[n(332)],hasContentAfter:!a[n(347)]}}[EN(273)](t){const e=EN,n=this[e(463)][e(315)][e(318)](e(383)),i=new Set;eI(this[e(463)])[e(317)][e(250)](r=>{const s=e;for(const e of t){const t=""+SN+e[s(217)]+":"+e[s(281)]+"_"+n[s(386)](i);this[s(333)][s(336)](t,{id:t,groupId:e[s(281)],type:e[s(217)],content:e[s(300)]}),r[s(379)](t,{usingOperation:!1,affectsData:!1,range:r[s(450)](e[s(424)],e[s(417)])})}})}[EN(372)](t,e,n){let i="";return()=>{const r=TN;if(!i){const s=e[r(351)](t,{showSuggestionHighlights:!0});let o=s[r(227)](0);if(o.is(r(249))||(o=s),!o)return"";let a=!1;const c=[];for(const t of o[r(258)]())t.is(r(408),r(291))&&t[r(269)](r(346))&&(a=!1),a&&c[r(368)](t),t.is(r(408),r(291))&&t[r(269)](r(257))&&(a=!0);o[r(287)](0,o[r(441)]),n?.[r(455)]&&o[r(295)]("…"),o[r(295)](c),n?.[r(326)]&&o[r(295)]("…");const l=e[r(389)][r(237)][r(468)](s),u=e[r(389)][r(451)][r(354)](l);i=u}return i}}[EN(437)](t,e){const n=EN;let i="";return()=>(i||(i=e[n(338)](t,{showSuggestionHighlights:!0})),i)}[EN(316)](t,e,n){let i="";return()=>{const r=TN;if(!i){const s=n[r(351)](new u.ModelDocumentFragment(t)),o=n[r(389)][r(237)][r(468)](s)[r(392)](r(271)+e+'"]');i=o?.[r(204)]||""}return i}}[EN(272)](t,e=5){const n=EN;let i=t,r=null;for(let t=0;t<e&&i;t++)if(i[n(322)]){if((""+i[n(322)])[n(263)](n(239))){if(!i[n(284)](n(411)))break;r=i;break}i=i[n(225)]}else i=i[n(225)];return r}[EN(360)](t){const e=EN,n=eI(this[e(463)]),i=n[e(317)][e(297)][e(318)](t);return i?(0,xb.getMarkerDomElement)(n[e(312)],i):null}[EN(221)](t){const e=EN;return Array[e(446)](this[e(333)][e(292)]())[e(261)](n=>n[e(281)]===t)}[EN(223)](t){const e=EN;return e(254)===t[e(217)]?t[e(305)]:t[e(310)][e(424)]}[EN(366)](t,e=!1){const n=EN;return n(254)===t[n(217)]?e?t[n(305)]:t[n(305)][n(233)](t[n(436)]):t[n(310)][n(417)]}[EN(387)](t,e){const n=EN;return n(254)===t[n(217)]?t[n(305)]=t[n(305)][n(233)](e):n(413)===t[n(217)]&&t[n(310)]&&(t[n(310)]=new u.ModelRange(t[n(310)][n(424)][n(233)](e),t[n(310)][n(417)][n(233)](e))),t}[EN(421)](t,e){const n=EN;n(254)===t[n(217)]?t[n(305)]=this[n(453)](t[n(305)],e):n(413)===t[n(217)]&&t[n(310)]&&(t[n(310)]=this[n(401)](t[n(310)],e))}[EN(453)](t,e){const n=EN;return new u.ModelPosition(e,t[n(215)])}[EN(401)](t,e){const n=EN;return new u.ModelRange(this[n(453)](t[n(424)],e),this[n(453)](t[n(417)],e))}[EN(231)](t,e){return new u.ModelPosition(e,[...t])}[EN(434)](t,e,n,i){const r=EN;return new u.ModelRange(this[r(231)](e,i),this[r(231)](n,i))}[EN(448)](t){const e=EN,n=t=>{const e=TN;switch(t){case e(254):return 0;case e(205):return 1;case e(331):return 2;case e(426):return 3}};return t[e(425)]((t,i)=>n(t[e(217)])-n(i[e(217)]))}[EN(282)](t,e){const n=EN,i=t[n(227)](0),r=e[n(227)](0);return!(!i||!r||i.is(n(408))&&r.is(n(408))&&i[n(432)]!==r[n(432)]||i.is(n(408))&&!r.is(n(408))||!i.is(n(408))&&r.is(n(408)))}[EN(224)](t){return 1===t[EN(441)]}[EN(335)](t,e){const n=EN;for(const i of t[n(258)]())if(i.is(n(408))&&!e[n(304)](i))return!1;return!0}[EN(328)](t,e){const n=EN;let i=t[n(284)](xb.DATA_ID_MODEL_ATTRIBUTE);return i||(i=e(),t[n(202)](xb.DATA_ID_MODEL_ATTRIBUTE,i)),i}}var RN=NN;function NN(t,e){var n=ON();return(NN=function(t,e){return n[t-=291]})(t,e)}function ON(){var t=["237KYApzT","54798mzbvQV","110PhZwok","contentInitial","1174624DworRZ","93213rnUnWt","7036udWUhv","10VyohQz","7858950JWjRqI","897720QAndSj","documentVersion","1886773zWeoBF","8zewBJs","contentNew"];return(ON=function(){return t})()}!function(t){for(var e=NN,n=t();;)try{if(172300===-parseInt(e(295))/1+-parseInt(e(300))/2*(parseInt(e(294))/3)+-parseInt(e(298))/4+parseInt(e(301))/5*(-parseInt(e(303))/6)+parseInt(e(291))/7*(parseInt(e(292))/8)+-parseInt(e(299))/9*(-parseInt(e(296))/10)+parseInt(e(302))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ON);class LN extends((0,o.EmitterMixin)()){id;[RN(293)];[RN(297)];[RN(304)];constructor({id:t,contentNew:e,contentInitial:n,documentVersion:i}){var r=RN;super(),this.id=t,this[r(293)]=e,this[r(297)]=n,this[r(304)]=i}}var DN=MN;function PN(){var t=["contentDiffed","57837FsjqAB","operations","249656JoBUpY","operationsIsolated","45NNPpqo","change:status","1021590adgGim","4hakWGy","525684BYYLJf","isRated","276SpRHnn","50BrmTvN","1800wYpGfY","context","9300264OaEmIR","set","9045834mXexUf","_editorOperations","613801tSdgEM","isActivated","_data","pending","status","parent"];return(PN=function(){return t})()}function MN(t,e){var n=PN();return(MN=function(t,e){return n[t-=362]})(t,e)}!function(t){for(var e=MN,n=t();;)try{if(670117===-parseInt(e(372))/1*(-parseInt(e(386))/2)+parseInt(e(379))/3*(parseInt(e(364))/4)+-parseInt(e(365))/5*(-parseInt(e(362))/6)+parseInt(e(370))/7+-parseInt(e(368))/8+parseInt(e(383))/9*(parseInt(e(385))/10)+-parseInt(e(381))/11*(parseInt(e(366))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(PN);class VN extends((0,o.ObservableMixin)()){id;[DN(377)];[DN(374)];[DN(371)]=[];constructor(t,e,n){var i=DN;super(),this.id=t,this[i(377)]=n,this[i(374)]=e,this[i(369)](i(373),!1),this[i(369)](i(363),!1),this[i(369)](i(376),i(375)),this.on(i(384),()=>{var t=i;t(375)!==this[t(376)]&&this[t(373)]&&(this[t(373)]=!1)})}get[DN(378)](){var t=DN;return this[t(374)][t(367)]()}get[DN(380)](){var t=DN;return this[t(374)][t(380)]}get[DN(382)](){var t=DN;return this[t(374)][t(382)]}}const BN=HN;function HN(t,e){const n=qN();return(HN=function(t,e){return n[t-=490]})(t,e)}!function(t){const e=HN,n=t();for(;;)try{if(673937===parseInt(e(500))/1+parseInt(e(505))/2*(parseInt(e(504))/3)+parseInt(e(578))/4+-parseInt(e(539))/5*(parseInt(e(514))/6)+parseInt(e(589))/7*(-parseInt(e(566))/8)+-parseInt(e(580))/9*(parseInt(e(516))/10)+parseInt(e(537))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qN);class UN extends((0,o.ObservableMixin)()){id=(0,o.uid)();[BN(529)];[BN(507)]=new Map;[BN(524)]=[];[BN(521)];[BN(494)];[BN(546)];[BN(549)];[BN(511)];[BN(533)]=null;[BN(582)];[BN(534)]=!1;constructor(t,e,n,i,r){const s=BN;super(),this[s(521)]=e,this[s(494)]=t,this[s(546)]=n,this[s(549)]=i,this[s(511)]=r,this.on(s(538),(t,e,n)=>{const i=s;i(561)==n&&(this[i(534)]=!0),this[i(572)](i(502),{status:n,run:this,error:this[i(582)]})}),this[s(570)](s(506),s(491))}get[BN(584)](){return this[BN(494)]}get[BN(577)](){const t=BN;return this[t(507)][t(543)]}get[BN(574)](){const t=BN;return this[t(521)][t(574)]}get[BN(535)](){return""}get[BN(560)](){return this[BN(521)].id}get[BN(520)](){const t=BN;return!this[t(524)][t(586)](e=>t(568)===e[t(506)])}get[BN(576)](){return this[BN(582)]}[BN(550)](t){this[BN(494)]=t}async[BN(517)](){const t=BN;this[t(506)]=t(490),this[t(582)]=void 0;try{this[t(533)]=this[t(510)]();const e=await this[t(533)][t(573)]();this[t(506)]=t(522);for await(const n of e)t(556)!==n[t(522)][t(552)]&&(t(497)!==n[t(522)][t(552)]?t(585)!==n[t(587)]?this[t(581)](n[t(522)][t(518)],n[t(522)][t(542)]):this[t(529)]=n[t(522)][t(529)]:this[t(506)]=t(540));t(540)!==this[t(506)]&&(0===this[t(507)][t(543)]||0===this[t(524)][t(503)]?this[t(506)]=t(556):this[t(506)]=t(548))}catch(e){this[t(582)]=e,e instanceof Error&&e[t(495)][t(528)](t(590))?this[t(506)]=t(561):this[t(506)]=t(498)}finally{this[t(533)]=null}}async[BN(564)](){const t=BN;this[t(507)][t(575)](),this[t(524)][t(503)]=0,this[t(582)]=void 0,await this[t(517)]()}[BN(557)](t,e){const n=BN,i=this[n(507)][n(569)](t);if(!i)return;if(0===e[n(503)])return;const r=[];e[n(545)]((t,e)=>{const s=n,o=new VN(i.id+"-"+e,t,i);o.on(s(538),()=>{const t=s;this[t(572)](t(531),{change:o,status:o[t(506)]})}),o.on(s(567),()=>{const t=s;o[t(579)]?this[t(572)](t(530),{change:o}):this[t(572)](t(526),{change:o})}),this[s(524)][s(523)](o),r[s(523)](o)}),this[n(572)](n(551),{changes:r,result:i,source:this})}[BN(565)](){const t=BN;this[t(533)]&&(this[t(533)][t(496)][t(565)](),this[t(533)]=null,this[t(506)]=t(561))}[BN(512)](t){const e=BN,n=this[e(524)][e(558)](e=>e.id===t);return!(!n||e(568)!==n[e(506)])}[BN(563)](){const t=BN;return this[t(524)][t(583)](e=>!0===e[t(579)])}[BN(562)](){const t=BN;return this[t(524)][t(513)](e=>t(568)===e[t(506)])}[BN(499)](t){const e=BN;return this[e(524)][e(558)](e=>e.id===t)}[BN(532)](){const t=BN;for(const e of this[t(524)])t(568)===e[t(506)]&&(e[t(506)]=t(508));this[t(492)]()}[BN(525)](t){const e=BN,n=this[e(524)][e(558)](e=>e.id===t);n&&e(568)===n[e(506)]&&(n[e(506)]=e(508)),this[e(492)]()}[BN(527)](t){const e=BN,n=this[e(524)][e(558)](e=>e.id===t);n&&e(568)===n[e(506)]&&(n[e(506)]=e(519)),this[e(492)]()}[BN(547)](t){const e=BN,n=this[e(524)][e(558)](e=>e.id===t);n&&e(568)===n[e(506)]&&(n[e(506)]=e(554)),this[e(492)]()}[BN(559)](t){const e=BN,n=this[e(524)][e(558)](e=>e.id===t);n&&e(554)===n[e(506)]&&(n[e(506)]=e(568)),this[e(492)]()}[BN(536)](t){const e=BN;this[e(524)][e(513)](n=>n[e(579)]&&n.id!==t)[e(545)](t=>{t[e(579)]=!1});const n=this[e(524)][e(558)](e=>e.id===t);n&&e(568)===n[e(506)]&&(n[e(579)]=!0)}[BN(553)](){const t=BN;this[t(524)][t(513)](e=>e[t(579)])[t(545)](e=>{e[t(579)]=!1})}[BN(501)](){const t=BN;this[t(506)]=t(548)}async[BN(541)](t){const e=BN;if(e(491)===this[e(506)]||e(490)===this[e(506)]||e(522)===this[e(506)]||this[e(534)])return;if(!this[e(529)]||0===this[e(524)][e(503)])return;let n;if(t){const i=this[e(524)][e(558)](e=>e.id===t);if(i&&i[e(571)])return;i&&(n=i[e(588)].id,i[e(571)]=!0)}const i={positiveCount:this[e(524)][e(513)](t=>e(508)===t[e(506)])[e(503)],totalCount:this[e(524)][e(503)]};this[e(515)](i,this[e(529)],n)}[BN(581)](t,e){const n=BN,i=this[n(494)][n(544)][n(569)](t);if(!i)return;const r=i[n(555)]();if(r===e)return;const s=new LN({id:t,contentInitial:r,contentNew:e,documentVersion:this[n(494)][n(509)]});this[n(507)][n(570)](s.id,s),this[n(572)](n(591),{result:s,source:this})}[BN(492)](){const t=BN;t(493)===this[t(506)]&&this[t(524)][t(513)](e=>t(568)===e[t(506)])[t(503)]>0&&(this[t(506)]=t(548)),t(548)===this[t(506)]&&0===this[t(524)][t(513)](e=>t(568)===e[t(506)])[t(503)]&&(this[t(506)]=t(493))}}function qN(){const t=["start","dataId","rejected","hasModifications","_sourceCheck","data","push","_changes","markChangeAsAccepted","reviewCheckResultDeactivated","markChangeAsRejected","includes","callId","reviewCheckResultActivated","reviewCheckResultChangeStatusUpdated","markAllChangesAsAccepted","_activeRequest","_wasAborted","subTitle","activateChange","23182951rpKtHf","change:status","10875fANUWQ","error-chunk","sendRating","textDelta","size","elements","forEach","_aiConnector","markChangeAsOutdated","ready","_reviewParams","updateDocumentData","reviewCheckResultReady","operation","deactivateChange","outdated","getContent","unmodified","addResultChanges","find","markChangeAsPending","reviewName","aborted","getActiveChanges","isAnyChangeActivated","restart","abort","8VJdLQZ","change:isActivated","pending","get","set","isRated","fire","getStream","title","clear","currentError","processedResultsCount","501004Jpkhpd","isActivated","261SUBZhW","_addReviewCheckResult","_currentError","some","documentData","review-metadata","every","event","parent","7342419rBtLeC","ai-request-aborted","reviewCheckResultAdded","loading","initialized","_checkIfFinished","finished","_documentData","message","abortController","error","error-general","getChangeById","921640qbHpZm","forceReadyState","reviewCheckRunUpdated","length","231213NPEINg","4HPAsVt","status","_results","accepted","version","_createApiRequest","_reviewArgs","isChangeActive","filter","678wSPWTa","_sendRatingRequest","462050wnILHR"];return(qN=function(){return t})()}const FN=zN;function zN(t,e){const n=GN();return(zN=function(t,e){return n[t-=317]})(t,e)}function GN(){const t=["options","callSystemReview","subTitle","749106YbmynA","reviewName","label","793384TJoARV","join","_sourceCheck","7AhCtcX","_aiConnector","_reviewParams","3142530AYIgBB","apiId","_sendRatingRequest","length","data","5574lHyRdv","_createApiRequest","1788fRgRQt","_documentData","88527EbNqzz","useArgs","5764936yWSeax","find","content","push","upsertAIReviewRating","16320042sAiWIL","_composeReviewName","_reviewArgs"];return(GN=function(){return t})()}!function(t){const e=zN,n=t();for(;;)try{if(549625===-parseInt(e(339))/1+parseInt(e(324))/2+parseInt(e(335))/3*(parseInt(e(337))/4)+parseInt(e(330))/5+-parseInt(e(321))/6*(parseInt(e(327))/7)+parseInt(e(341))/8+-parseInt(e(346))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(GN);class jN extends UN{get[FN(320)](){const t=FN;if(!this[t(329)]||0===this[t(329)][t(333)])return"";const e=[];if(this[t(329)][t(333)]>0&&this[t(326)][t(318)])for(let n=0;n<this[t(329)][t(333)];n++){if(!this[t(329)][n]||!this[t(326)][t(318)][n])continue;const i=this[t(326)][t(318)][n],r=i[t(334)]?.[t(342)](e=>e.id===this[t(329)][n]);r&&e[t(344)](r[t(323)])}return e[t(325)](", ")}get[FN(322)](){return this[FN(347)]()}[FN(336)](){const t=FN;return this[t(328)][t(319)]({reviewName:this[t(347)](),content:this[t(338)][t(343)],args:this[t(317)]})}[FN(332)](t,e,n){const i=FN;return this[i(328)][i(345)](this[i(322)],e,t,n)}[FN(347)](){const t=FN;return!this[t(329)]||0===this[t(329)][t(333)]||this[t(326)][t(340)]?this[t(326)][t(331)]:[this[t(326)][t(331)],...this[t(329)]][t(325)]("-")}}const WN=KN;function KN(t,e){const n=YN();return(KN=function(t,e){return n[t-=122]})(t,e)}function YN(){const t=["markChangeAsAccepted","dismissChange","hasModifications","params","showReviewCheckList","finished","getActiveChanges","restart","switchToEdit","getRoot","requires","title","ai-request-aborted","_onChangeMarkerHovered","4YnaLfP","documentData","_onReviewRunLeave","_onChangeMarkerBlurred","result","showCheckRunResults","includes","plugins","_onReviewCheckResultActivated","_aiReviewCoreEditing","_aiReviewCoreUi","2rDMouo","changeMarkerClicked","reviewCheckResultActivated","getDocumentData","updateChangeState","getEditor","522280qfvryQ","args","ai-review-mode-models-unable-to-retrieve","start","map","2327935hsJJGa","markChangeAsPending","ck-ai_review-diff","_onChangeMarkerClicked","currentError","_markChangePositionInEditorContent","getCheckById","leaveReview","showChunkErrorView","emitter","1012347PnECOD","data","_currentReviewCheckRun","showCheckRunResult","leaveReviewCoreResultList","init","ai-review-mode-no-current-check-run","_scrollToChange","9OYDyss","ck-ai-translate-mode-content","startsWith","get","closest","showGeneralReviewCoreErrorView","message","deactivateChange","1060149IbcRya","changeMarkerBlurred","abortReviewStream","panel","contentInitial","reviewCheckResultReady","loading","404140SSCVOU","reviewCheckResultAdded","status","unmodified","markChangeAsRejected","stopListening","145876huRliO","_changeActivationSource","markChangeAsOutdated","error-general","rejectChange","runReviewCheck","isOfficialPlugin","addResultChanges","locale","sendRating","acceptAllChanges","switchToReadOnly","setCheckResultTitle","change","_aiReviewCheckList","abort","_initRequiredPlugins","markAllChangesAsAccepted","getReviewCheckList","checks","applyChange","showNoChangesView","aborted","isChangeActive","getChangeElement","ai-review-mode-source-check-not-found","hideChangeBalloon","forceReadyState","ai-review-mode-check-run-failed","_getChecksList","contentNew","removeClass","isPremiumPlugin","showActionsWhenResultIsReady","_diffContent","setAvailableChecks","ck-ai_review-highlights","ai-review-mode-check-run-general-error","_onDeactivateChange","6pjXChD","updateDocumentData","ready","showReviewCompletedView","_createReviewCheckRun","context","changeMarkerHovered","AIConnector","changes","activateChange","_getTranslationWithDefault",".ck-ai_review__check-run-result","ai-review-mode-check-run-chunk-error","editing","_onReviewCheckResultDeactivated","reviewCheckResultChangeStatusUpdated","acceptChange","reviewCheckRunUpdated","reviewCheckResultDeactivated","retryReview","subTitle","60PaTmxQ","error-chunk","_aiConnector","_onChangeMarkerRestored","processedResultsCount","_onActivateChange","changeId","_logError","_onReviewCheckRun","source","listenTo","showGeneralResultsErrorView","clearAllMarkers","_onCheckRunFinished","finishReview","_onChangeMarkerRemoved","view","_getChangeContentElement","2604296tzQHgg","content","changeMarkerRemoved","length","changeMarkerRestored","document"];return(YN=function(){return t})()}!function(t){const e=KN,n=t();for(;;)try{if(278716===-parseInt(e(175))/1+parseInt(e(125))/2*(-parseInt(e(162))/3)+parseInt(e(273))/4*(parseInt(e(136))/5)+parseInt(e(214))/6*(-parseInt(e(146))/7)+-parseInt(e(253))/8*(-parseInt(e(154))/9)+-parseInt(e(131))/10+parseInt(e(169))/11*(parseInt(e(235))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(YN);class $N extends n.ContextPlugin{[WN(237)];[WN(124)];[WN(123)];[WN(189)];[WN(148)];[WN(176)]=null;static get[WN(269)](){return[Jl]}static get[WN(181)](){return!0}static get[WN(207)](){return!0}async[WN(151)](){const t=WN;this[t(191)](),this[t(189)]=await this[t(204)](),this[t(245)](this[t(124)],t(193),()=>{const e=t;this[e(124)][e(210)](this[e(189)][e(194)])}),this[t(245)](this[t(124)],t(180),async(e,n)=>{const i=t,r=this[i(189)][i(142)](n.id);if(r){this[i(243)](n),this[i(123)][i(186)](),this[i(148)]=this[i(218)](n,r),this[i(124)][i(187)](this[i(148)][i(270)],this[i(148)][i(234)]),this[i(148)].on(i(231),(t,e)=>{const n=i;switch(e[n(171)]){case n(147):case n(168):this[n(124)][n(278)](e);break;case n(264):this[n(248)]();break;case n(216):this[n(124)][n(208)]();break;case n(172):this[n(124)][n(196)]();break;case n(178):this[n(124)][n(246)](),this[n(242)](new o.CKEditorError(n(212),this,void 0,this[n(148)]?.[n(140)]));break;case n(236):this[n(124)][n(144)](),this[n(242)](new o.CKEditorError(n(226),this,void 0,this[n(148)]?.[n(140)]));break;case n(197):this[n(148)]&&this[n(148)][n(239)]>0?setTimeout(()=>{const t=n;this[t(148)]?.[t(202)]()},0):this[n(275)](!0)}n(216)!==e[n(171)]&&n(236)!==e[n(171)]&&n(178)!==e[n(171)]||this[n(148)]?.[n(184)]()}),this[i(148)].on(i(170),(t,e)=>{const n=i;if(!this[n(148)])throw new o.CKEditorError(n(152),this);const r=this[n(209)](e[n(277)][n(166)],e[n(277)][n(205)]);e[n(244)][n(182)](e[n(277)].id,r)}),this[i(148)].on(i(167),(t,e)=>{const n=i;for(const t of e[n(222)])this[n(124)][n(149)](t);this[n(141)](e[n(222)],e[n(244)][n(274)])}),this[i(148)].on(i(229),(t,e)=>{const n=i;this[n(124)][n(129)](e[n(188)].id,e[n(171)])}),this[i(148)].on(i(127),(t,e)=>{this[i(122)](e)}),this[i(148)].on(i(232),()=>{this[i(228)]()});try{await this[i(148)][i(134)]()}catch(t){t instanceof Error&&t[i(160)][i(279)](i(271))||(t instanceof o.CKEditorError?this[i(242)](t):this[i(242)](new o.CKEditorError(i(203),this,void 0,t)))}}else this[i(242)](new o.CKEditorError(i(200),this,{checkId:n.id}))}),this[t(245)](this[t(124)],t(143),()=>{this[t(275)]()}),this[t(245)](this[t(124)],t(150),()=>{this[t(275)](!0)}),this[t(245)](this[t(124)],t(164),()=>{const e=t;this[e(148)]&&this[e(148)][e(190)]()}),this[t(245)](this[t(124)],t(249),()=>{this[t(275)](!0)}),this[t(245)](this[t(124)],t(185),()=>{const e=t;if(!this[e(148)])return;const n=this[e(148)][e(265)]();if(!n[e(256)])return;this[e(123)][e(195)](n[e(135)](t=>t.id));const i=this[e(148)];i[e(192)](),i[e(184)]()}),this[t(245)](this[t(124)],t(230),(e,n)=>{const i=t;this[i(148)]&&this[i(148)][i(198)](n.id)&&(this[i(123)][i(195)]([n.id]),this[i(148)][i(259)](n.id),this[i(124)][i(201)](),this[i(148)][i(184)](n.id))}),this[t(245)](this[t(124)],t(260),(e,n)=>{const i=t;this[i(148)]&&this[i(148)][i(198)](n.id)&&(this[i(123)][i(179)](n.id),this[i(148)][i(173)](n.id),this[i(124)][i(201)](),this[i(148)][i(184)](n.id))}),this[t(245)](this[t(124)],t(233),async()=>{const e=t;this[e(148)]&&(this[e(123)][e(247)](),this[e(148)][e(215)](this[e(123)][e(128)]()),await this[e(148)][e(266)]())}),this[t(245)](this[t(124)],t(223),(e,n)=>{this[t(240)](n)}),this[t(245)](this[t(124)],t(161),(e,n)=>{this[t(213)](n)}),this[t(245)](this[t(123)][t(145)],t(126),(e,n)=>{this[t(139)](e,n)}),this[t(245)](this[t(123)][t(145)],t(220),(e,n)=>{this[t(272)](e,n)}),this[t(245)](this[t(123)][t(145)],t(163),()=>{this[t(276)]()}),this[t(245)](this[t(123)][t(145)],t(255),(e,n)=>{this[t(250)](e,n)}),this[t(245)](this[t(123)][t(145)],t(257),(e,n)=>{this[t(238)](e,n)})}[WN(218)](t,e){const n=WN;return new jN(this[n(123)][n(128)](),e,this[n(237)],t[n(262)],t[n(132)])}[WN(250)](t,e){const n=WN;this[n(148)]&&this[n(148)][n(177)](e[n(241)])}[WN(238)](t,e){const n=WN;this[n(148)]&&this[n(148)][n(137)](e[n(241)])}[WN(248)](){const t=WN;this[t(124)][t(217)]()}[WN(191)](){const t=WN;this[t(237)]=this[t(219)][t(280)][t(157)](t(221))}[WN(275)](t=!1){const e=WN;this[e(148)]&&(this[e(148)][e(261)]||this[e(148)][e(184)](),this[e(148)][e(174)](),this[e(148)][e(190)](),this[e(148)]=void 0),t&&this[e(124)][e(263)](),this[e(123)][e(247)](),this[e(123)][e(267)](),this[e(176)]=null;const n=this[e(123)][e(130)]();n&&n[e(227)][e(251)][e(188)](t=>{const i=e,r=n[i(227)][i(251)][i(258)][i(268)]();t[i(206)](i(138),r),t[i(206)](i(211),r),t[i(206)](i(155),r)})}[WN(224)](t,e){const n=WN,i=Zl(this[n(219)][n(183)],t);return i===t?e:i}[WN(242)](t,e=!1){const n=WN;(0,o.logError)(t[n(160)]),e||(t[n(160)][n(156)](n(133))?this[n(124)][n(159)]():this[n(124)][n(246)]())}[WN(153)](t){const e=WN;if(e(254)===this[e(176)]){const n=this[e(124)][e(199)](t);n&&(0,o.scrollAncestorsToShowTarget)(n[e(158)](e(225))||n)}else if(e(165)===this[e(176)]){const n=this[e(252)](t);if(!n)return;(0,o.scrollViewportToShowTarget)({target:n,viewportOffset:{top:85,left:0,bottom:0,right:0},ancestorOffset:20,alignToTop:!0})}}}const QN=XN;function XN(t,e){const n=JN();return(XN=function(t,e){return n[t-=190]})(t,e)}function JN(){const t=["Choose tone and style to change content as you need.","Professional","814047HHEjdN","friendly","Casual","shorter","Adjust length","Longer","professional","Adjust tone and style","make-tone","casual","readability","921831BWGEiz","Confident","correctness","length","371756PuJIqx","Readability","1203090akInWo","tone","make","Correctness","Improve the clarity and readability of the text.","Enhance the overall readability of the text.","custom","dropdown","Refine text length to match your needs.","12521520LlPuLy","longer","Ensure the text is factually accurate and free of errors.","Direct","direct","4HqbRob","confident","2392684liUfXW","clarity","Shorter","Friendly","Type a custom command to review the content exactly as you need.","3021855vSSrur","Custom command","Clarity"];return(JN=function(){return t})()}!function(t){const e=XN,n=t();for(;;)try{if(419424===parseInt(e(208))/1+-parseInt(e(196))/2*(-parseInt(e(219))/3)+parseInt(e(223))/4+parseInt(e(203))/5+parseInt(e(225))/6+-parseInt(e(198))/7+-parseInt(e(191))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(JN);const ZN=[{id:QN(231),commandId:QN(231),title:QN(204),description:QN(202),isParameterized:!0},{id:QN(221),commandId:QN(221),title:QN(228),description:QN(193),isParameterized:!1},{id:QN(199),commandId:QN(199),title:QN(205),description:QN(229),isParameterized:!1},{id:QN(218),commandId:QN(218),title:QN(224),description:QN(230),isParameterized:!1},{id:QN(222),commandId:QN(227),title:QN(212),description:QN(190),isParameterized:!0,options:[{formType:QN(232),label:QN(212),default:QN(192),data:[{label:QN(213),id:QN(192)},{label:QN(200),id:QN(211)}]}]},{id:QN(226),commandId:QN(216),title:QN(215),description:QN(206),isParameterized:!0,options:[{formType:QN(232),label:QN(215),default:QN(217),data:[{label:QN(210),id:QN(217)},{label:QN(194),id:QN(195)},{label:QN(201),id:QN(209)},{label:QN(220),id:QN(197)},{label:QN(207),id:QN(214)}]}]}];function tO(){var t=["310OfmlTr","4473427TltEhG","commandId","apiId","useArgs","9ISdCcx","26010rpBNje","options","826ogcRwL","description","isParameterized","5941104HbJZtz","3913940sbABHq","2630drSdhj","title","args","85016EuhqyL","1389AibbuM"];return(tO=function(){return t})()}var eO=nO;function nO(t,e){var n=tO();return(nO=function(t,e){return n[t-=142]})(t,e)}!function(t){for(var e=nO,n=t();;)try{if(908987===parseInt(e(149))/1+parseInt(e(154))/2*(-parseInt(e(158))/3)+parseInt(e(152))/4+parseInt(e(159))/5*(parseInt(e(147))/6)+-parseInt(e(142))/7+-parseInt(e(157))/8*(-parseInt(e(146))/9)+parseInt(e(153))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(tO);class iO{id;[eO(143)];[eO(155)];[eO(150)];[eO(151)];[eO(145)];[eO(148)];[eO(156)];get[eO(144)](){return this[eO(143)]}constructor(t){var e=eO;this.id=t.id,this[e(143)]=t[e(143)],this[e(155)]=t[e(155)],this[e(150)]=t[e(150)],this[e(151)]=t[e(151)],this[e(145)]=t[e(145)],this[e(148)]=t[e(148)],this[e(156)]=t[e(156)]}}function rO(){var t=["12080AdVNXG","filter","569260hroijZ","48600mnBaYo","map","find","setupChecks","6eSlCRo","11MznBDF","3123eUUMcx","checks","325kNhSrk","removeCheckById","228fWrFfk","5395330DLjhOk","getCheckById","43578plXDvu","16744uHEiSN","_checks","12wRbIwu","1087404mnsJvc"];return(rO=function(){return t})()}var sO=oO;function oO(t,e){var n=rO();return(oO=function(t,e){return n[t-=431]})(t,e)}!function(t){for(var e=oO,n=t();;)try{if(288856===-parseInt(e(433))/1*(parseInt(e(451))/2)+-parseInt(e(442))/3*(parseInt(e(437))/4)+-parseInt(e(438))/5*(parseInt(e(448))/6)+parseInt(e(431))/7+-parseInt(e(435))/8*(parseInt(e(444))/9)+-parseInt(e(449))/10*(parseInt(e(443))/11)+parseInt(e(434))/12*(parseInt(e(446))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rO);class aO extends((0,o.ObservableMixin)()){[sO(432)]=[];[sO(441)](t){var e=sO;this[e(432)]=t[e(439)](t=>new iO(t))}get[sO(445)](){return this[sO(432)]}[sO(450)](t){var e=sO;return this[e(445)][e(440)](e=>e.id===t)}[sO(447)](t){var e=sO;this[e(432)]=this[e(432)][e(436)](e=>e.id!==t)}}function cO(t,e){var n=lO();return(cO=function(t,e){return n[t-=319]})(t,e)}function lO(){var t=["224cAxlfu","_defaultModel","7RRJmHP","defaultModel","128152AFmPAH","_models","1870384xFcKPh","50NRLqeQ","6483246rucMcb","13653252XNuAJz","models","7722440LPZlRx","11044QBlHEI","9630907UutKNf","9uabsEp"];return(lO=function(){return t})()}var uO=cO;!function(t){for(var e=cO,n=t();;)try{if(829870===-parseInt(e(321))/1*(parseInt(e(324))/2)+-parseInt(e(323))/3*(parseInt(e(328))/4)+-parseInt(e(320))/5+parseInt(e(332))/6*(parseInt(e(326))/7)+-parseInt(e(330))/8+-parseInt(e(333))/9+parseInt(e(331))/10*(parseInt(e(322))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lO);class hO extends iO{[uO(329)]=[];[uO(325)]=null;constructor(t,e,n){var i=uO;super(t),this[i(329)]=e,this[i(325)]=n}get[uO(319)](){return this[uO(329)]}get[uO(327)](){return this[uO(325)]}}var dO=pO;function pO(t,e){var n=gO();return(pO=function(t,e){return n[t-=400]})(t,e)}!function(t){for(var e=pO,n=t();;)try{if(552805===parseInt(e(406))/1+parseInt(e(408))/2+-parseInt(e(409))/3+-parseInt(e(413))/4+-parseInt(e(401))/5*(-parseInt(e(400))/6)+-parseInt(e(412))/7+parseInt(e(411))/8*(parseInt(e(405))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gO);class fO extends iO{[dO(404)]=!0;[dO(407)];[dO(414)];[dO(410)]=null;constructor(t,e,n){var i=dO;super(t),this[i(407)]=t[i(407)],this[i(414)]=t[i(414)],this[i(414)]?this[i(410)]=e[i(403)](t=>t.id===this[i(414)])||null:this[i(410)]=n}get[dO(402)](){return this[dO(410)]}}function gO(){var t=["2967153EoSTnc","_defaultModel","8cHzcGz","2291226SeEhQP","4067060aEnxBS","model","524466uEXLAq","60caiBLS","defaultModel","find","isExtra","5868936PgVcAd","470791aBGAjx","prompt","1428224oMxKdt"];return(gO=function(){return t})()}var mO=_O;function kO(){var t=["_checks","1238678SMVtJS","612435wahWCC","isExtra","setupChecks","2214392aKVuYi","6GpkNTJ","custom","248895HmXeyb","73404muXuUe","map","439188xfRneV","_allModels","_defaultModel","913578LJFZpK","_recommendedModels"];return(kO=function(){return t})()}function _O(t,e){var n=kO();return(_O=function(t,e){return n[t-=495]})(t,e)}!function(t){for(var e=_O,n=t();;)try{if(121641===-parseInt(e(504))/1*(parseInt(e(501))/2)+-parseInt(e(497))/3+-parseInt(e(506))/4+parseInt(e(503))/5+parseInt(e(509))/6+parseInt(e(496))/7+parseInt(e(500))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kO);class bO extends aO{[mO(507)]=[];[mO(510)]=[];[mO(508)]=null;constructor(t,e,n){var i=mO;super(),this[i(507)]=t,this[i(510)]=e,this[i(508)]=n}[mO(499)](t){var e=mO;this[e(495)]=t[e(505)](t=>!0===t[e(498)]?new fO(t,this[e(507)],this[e(508)]):e(502)===t.id?new hO(t,this[e(510)],this[e(508)]):new iO(t))}}function wO(){var t=["124374xZcoCw","_aiConnector","1280752OxELnZ","339062xtWdrU","90848yEBzLL","_model","454448tYBBjk","callCustomReview","_documentData","10rRLxfu","_sendRatingRequest","content","upsertCustomAIReviewRating","_createApiRequest","subTitle","785406KpRzdf","_prompt","1652686MuekHH"];return(wO=function(){return t})()}var IO=vO;function vO(t,e){var n=wO();return(vO=function(t,e){return n[t-=123]})(t,e)}!function(t){for(var e=vO,n=t();;)try{if(236736===parseInt(e(123))/1+-parseInt(e(126))/2+parseInt(e(135))/3+-parseInt(e(140))/4+-parseInt(e(129))/5*(parseInt(e(138))/6)+parseInt(e(137))/7+-parseInt(e(124))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(wO);class yO extends UN{[IO(136)];[IO(125)];constructor(t,e,n,i,r){var s=IO;super(n,i,r),this[s(136)]=t,this[s(125)]=e}get[IO(134)](){return this[IO(136)]}[IO(133)](){var t=IO;return this[t(139)][t(127)]({content:this[t(128)][t(131)],prompt:this[t(136)],model:this[t(125)]})}[IO(130)](t,e,n){var i=IO;return this[i(139)][i(132)](e,t,n)}}function AO(){var t=["548772MVhFXf","model","9rXjSfF","_model","304285CroXIE","prompt","3659754PYNAeR","192430jzeFoM","4024552hEfZHR","998014URAxJB","subTitle","858634KaJwtH","_prompt"];return(AO=function(){return t})()}var EO=TO;function TO(t,e){var n=AO();return(TO=function(t,e){return n[t-=355]})(t,e)}!function(t){for(var e=TO,n=t();;)try{if(876989===-parseInt(e(359))/1+-parseInt(e(361))/2*(-parseInt(e(367))/3)+-parseInt(e(365))/4+-parseInt(e(356))/5+-parseInt(e(358))/6+-parseInt(e(363))/7+parseInt(e(360))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(AO);class CO extends yO{get[EO(362)](){return""}set[EO(357)](t){this[EO(364)]=t}set[EO(366)](t){this[EO(355)]=t}}const SO=xO;function xO(t,e){const n=RO();return(xO=function(t,e){return n[t-=400]})(t,e)}function RO(){const t=["content","_onReviewCheckResultDeactivated","params","init","plugins","4804632lFSFmX","config","7903690nCWHwG","_DESCRIPTION","getClassNames","description","toggleDiff","defaultModel","_OPTIONS_DATA_","args","ai-review-mode-non-existent-commands-used","setMarkersInElementAsActive","_aiReviewCoreUi","_getExtraChecks","custom","setActiveStateInResults","7oecbPX","get","_onChangeMarkerHovered","_onActivateChange","getRoot","ai.review.extraCommands","models","startsWith","checks","data","AIReviewModeUI","_translateReviewCheck","addClass","_isDiffOn","getAll","88422tCwmPH","change","isExtra","title","getDocumentData","_filterChecksWithMissingModel","hover","_aiReviewCoreEditing","_onReviewCheckRun","view","uiInteraction","replaceAll","changeId","domEvent","_getTranslationWithDefault","ai.review.availableCommands","_aiConnector","markChangePositionInEditorContent","_scrollToChange","_onChangeMarkerBlurred","prompt","isAnyChangeActivated","define","getEditor","_diffContent","deactivateChange","ck-ai_review-","push","setupChecks","removeClass","ai.models","showDiffInBalloon","_OPTIONS_LABEL","isCustom","panel","getElement","1444592pixArl","getAvailableModels","1043184ExXHDb","find","AI_REVIEW_CHECK_","map","AIReviewCoreEditing","_hasDefaultAvailableCommands","locale","hideChangeBalloon","label","ck-ai_review-diff","default","374914jGnyMd","AIReviewModeController","10qGiLHY","_onDiffChange","context","_getModels","diffContent","11evHaXv","origin","model","join","some","_markChangePositionInEditorContent","ai-review-mode-models-unable-to-retrieve","_changeActivationSource","_logError","1211598AQgiCQ","hideDiffInBalloon","_createReviewCheckRun","ai-review-mode-command-unavailable-due-to-missing-model","options","ck-ai_review-highlights","length","activateChange","_currentReviewCheckRun","filter","all","_logErrorForNonExistentChecks","getDefault","_onReviewCheckResultActivated","showChangeBalloon","markerElement","setAllMarkersAsInactive","getDomRoot","viewportOffset","recommended","getChangeById","resetActiveStateInResults","listenTo","_onChangeMarkerClicked","5TWQmSh","_TITLE","editing","removeCheckById","click","_onDeactivateChange","balloon","document","forEach","toUpperCase","pluginName","getMarkerElementForChange","_getChecksList","_getChangeContentElement","_initRequiredPlugins"];return(RO=function(){return t})()}!function(t){const e=xO,n=t();for(;;)try{if(311684===parseInt(e(454))/1+parseInt(e(456))/2*(parseInt(e(405))/3)+parseInt(e(441))/4*(-parseInt(e(494))/5)+parseInt(e(443))/6*(-parseInt(e(530))/7)+-parseInt(e(514))/8+parseInt(e(470))/9+-parseInt(e(516))/10*(-parseInt(e(461))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(RO);class NO extends $N{static get[SO(504)](){return SO(455)}[SO(403)]=!1;[SO(448)]=!1;constructor(t){const e=SO;super(t),this[e(448)]=!this[e(458)][e(515)][e(531)](e(420)),this[e(458)][e(515)][e(427)](e(420),ZN[e(446)](t=>t.id)),this[e(458)][e(515)][e(427)](e(535),[])}async[SO(512)](){const t=SO;await super[t(512)](),this[t(492)](this[t(526)],t(520),(e,n)=>{const i=t;this[i(403)]=n.on,this[i(457)](this[i(403)])})}[SO(508)](){const t=SO;super[t(508)](),this[t(526)]=this[t(458)][t(513)][t(531)](t(400)),this[t(412)]=this[t(458)][t(513)][t(531)](t(447))}[SO(472)](t,e){const n=SO;return t[n(438)]?new yO(t[n(523)][n(425)],t[n(523)][n(463)],this[n(412)][n(409)](),e,this[n(421)]):e[n(407)]?new CO(e[n(425)],e[n(521)].id,this[n(412)][n(409)](),e,this[n(421)]):new jN(this[n(412)][n(409)](),e,this[n(421)],t[n(511)],t[n(523)])}[SO(483)](t){const e=SO;this[e(526)][e(529)](t[e(406)].id),this[e(423)](t[e(406)].id);const n=this[e(412)][e(505)](t[e(406)].id);if(!n)return;const i=this[e(412)][e(428)]();this[e(526)][e(484)](t[e(406)],()=>n[e(440)](),void 0,e(498),i?.[e(496)]?.[e(414)]?.[e(487)](),i?.ui?.[e(488)]),this[e(412)][e(525)](t[e(406)].id)}[SO(510)](){const t=SO;this[t(526)][t(491)](),this[t(526)][t(450)](),this[t(412)][t(486)]()}[SO(533)](t){const e=SO;this[e(478)]&&e(498)===t[e(415)]&&(this[e(468)]=e(439),this[e(478)][e(477)](t.id))}[SO(499)](t){const e=SO;this[e(478)]&&e(500)===t[e(462)]&&this[e(478)][e(430)]()}[SO(493)](t,e){const n=SO;if(!this[n(478)])return;this[n(468)]=n(509),this[n(478)][n(477)](e[n(417)]);const i=this[n(478)][n(490)](e[n(417)]);if(!i)return;const r=this[n(412)][n(428)]();this[n(526)][n(484)](i,e[n(485)],e[n(418)],n(498),r?.[n(496)]?.[n(414)]?.[n(487)](),r?.ui?.[n(488)])}[SO(532)](t,e){const n=SO;if(!this[n(478)])return;if(this[n(478)][n(426)]())return;const i=this[n(478)][n(490)](e[n(417)]);if(!i)return;const r=this[n(412)][n(428)]();this[n(526)][n(484)](i,e[n(485)],e[n(418)],n(411),r?.[n(496)]?.[n(414)]?.[n(487)](),r?.ui?.[n(488)])}[SO(424)](){const t=SO;this[t(478)]&&(this[t(478)][t(426)]()||this[t(526)][t(450)]())}[SO(507)](t){const e=SO,n=this[e(412)][e(505)](t);return n?n[e(440)]():null}[SO(466)](t,e){const n=SO;this[n(412)][n(422)](t,e)}[SO(429)](t,e){const n=SO;return this[n(412)][n(460)](t,e)}[SO(413)](){const t=SO;this[t(457)](this[t(403)])}[SO(457)](t){const e=SO,n=this[e(412)][e(428)]();t?this[e(526)][e(471)]():this[e(526)][e(436)](),n&&n[e(496)][e(414)][e(406)](i=>{const r=e,s=n[r(496)][r(414)][r(501)][r(534)]();for(const t of s[r(518)]())t[r(537)](r(431))&&i[r(434)](t,s);i[r(402)](r(t?452:475),s)})}async[SO(506)](){const t=SO,e=[...ZN,...this[t(527)]()],n=this[t(458)][t(515)][t(531)](t(420))||[];this[t(481)](n,e);let i=e;this[t(448)]||(i=n[t(446)](n=>e[t(444)](t=>t.id===n))[t(479)](t=>!!t)),i=i[t(446)](e=>e[t(407)]?e:this[t(401)](e));const r=i[t(465)](e=>e[t(407)]||t(528)===e.id);let s=[],o=[],a=null;if(r){const e=await this[t(459)]();s=e[t(480)],o=e[t(489)],a=e[t(453)]}const c=new bO(s,o,a);return c[t(433)](i),r&&this[t(410)](c),c}[SO(527)](){const t=SO;return(this[t(458)][t(515)][t(531)](t(535))||[])[t(446)](e=>({id:e.id,commandId:e.id,title:e[t(451)],description:e[t(519)],isParameterized:!1,isExtra:!0,prompt:e[t(425)],model:e[t(463)]}))}[SO(481)](t,e){const n=SO,i=t[n(479)](t=>!e[n(465)](e=>e.id===t));i[n(476)]&&this[n(469)](new o.CKEditorError(n(524),this,{commandIds:i[n(464)](", ")}),!0)}async[SO(459)](){const t=SO;try{const e=new Xw({connector:this[t(421)],config:this[t(458)][t(515)][t(531)](t(435)),locale:this[t(458)][t(449)]});return{all:await e[t(404)](),recommended:await e[t(442)](),default:await e[t(482)]()}}catch(e){return this[t(469)](new o.CKEditorError(t(467),this,void 0,e)),{all:[],recommended:[],default:null}}}[SO(401)](t){const e=SO,n=e(445)+t.id[e(503)]()[e(416)]("-","_"),i={...t,title:this[e(419)](n+e(495),t[e(408)]),description:this[e(419)](n+e(517),t[e(519)])};return t[e(474)]&&(i[e(474)]=t[e(474)][e(446)](t=>({...t,label:this[e(419)](n+e(437),t[e(451)]||""),data:t[e(539)]?t[e(539)][e(446)](t=>({...t,label:this[e(419)](n+e(522)+t.id[e(503)](),t[e(451)])})):void 0}))),i}[SO(410)](t){const e=SO,n=[];t[e(538)][e(502)](t=>{const i=e;(t instanceof fO&&!t[i(521)]||t instanceof hO&&!t[i(536)][i(476)])&&n[i(432)](t.id)}),n[e(476)]&&n[e(502)](n=>{const i=e;t[i(497)](n),this[i(469)](new o.CKEditorError(i(473),this,{commandId:n}),!0)})}}var OO=LO;function LO(t,e){var n=DO();return(LO=function(t,e){return n[t-=214]})(t,e)}function DO(){var t=["9191399iKsGPZ","102546ASPESK","4229400ygbTcV","pluginName","requires","150404uNGmOD","isPremiumPlugin","11730232hHEQUe","3396920vIuKRO","196hDjxGq","isOfficialPlugin","AIReviewMode","26REaOQv","12776886fjDMTP"];return(DO=function(){return t})()}!function(t){for(var e=LO,n=t();;)try{if(979454===parseInt(e(226))/1*(parseInt(e(219))/2)+-parseInt(e(215))/3*(-parseInt(e(223))/4)+-parseInt(e(222))/5+-parseInt(e(216))/6+-parseInt(e(214))/7+parseInt(e(221))/8+-parseInt(e(227))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(DO);class PO extends n.ContextPlugin{static get[OO(218)](){return[NO,yN,xN]}static get[OO(217)](){return OO(225)}static get[OO(224)](){return!0}static get[OO(220)](){return!0}}function MO(){var t=["2013435YoRqRO","3zvmrRH","1574520xzAdnu","apiId","433949IBPyed","14umVzBU","932112DMGsDB","translate","1499682ekqpcJ","6283521rrTksc","3470648zpDIwN"];return(MO=function(){return t})()}function VO(t,e){var n=MO();return(VO=function(t,e){return n[t-=455]})(t,e)}var BO=VO;!function(t){for(var e=VO,n=t();;)try{if(258606===-parseInt(e(459))/1+parseInt(e(461))/2+-parseInt(e(456))/3*(-parseInt(e(457))/4)+-parseInt(e(455))/5+parseInt(e(463))/6*(parseInt(e(460))/7)+parseInt(e(465))/8+-parseInt(e(464))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(MO);class HO extends iO{get[BO(458)](){return BO(462)}}function UO(){var t=["447239vhdsoB","388998hpnxbu","3004sFYLIz","8NEjVnQ","7tMFDla","map","77SKoaLb","122370YPBMGJ","516OblMYT","_checks","setupChecks","824wgVRUH","2215RGKtFd","286285ujpRmH","3325059poFDIf","1638JUlEHz"];return(UO=function(){return t})()}var qO=FO;function FO(t,e){var n=UO();return(FO=function(t,e){return n[t-=227]})(t,e)}!function(t){for(var e=FO,n=t();;)try{if(245122===-parseInt(e(236))/1+-parseInt(e(234))/2*(parseInt(e(238))/3)+parseInt(e(241))/4*(-parseInt(e(235))/5)+parseInt(e(240))/6*(parseInt(e(227))/7)+-parseInt(e(242))/8*(parseInt(e(237))/9)+-parseInt(e(230))/10*(parseInt(e(229))/11)+-parseInt(e(231))/12*(-parseInt(e(239))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(UO);class zO extends aO{[qO(233)](t){var e=qO;this[e(232)]=t[e(228)](t=>new HO(t))}}function GO(){var t=["51RBHtIq","1930504ZAjGTG","_sourceCheck","subTitle","title","1214720dozSwP","_title","4375554kYztUw","233080aXWNPH","6AqPSlM","31836BzLYIJ","8102948LweiBi","378dnXTzw","8805540LJwAvI"];return(GO=function(){return t})()}var jO=WO;function WO(t,e){var n=GO();return(WO=function(t,e){return n[t-=131]})(t,e)}!function(t){for(var e=WO,n=t();;)try{if(681911===-parseInt(e(136))/1*(parseInt(e(132))/2)+parseInt(e(131))/3*(parseInt(e(137))/4)+-parseInt(e(141))/5+-parseInt(e(143))/6+parseInt(e(133))/7+parseInt(e(144))/8*(parseInt(e(134))/9)+-parseInt(e(135))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(GO);class KO extends jN{[jO(142)];constructor(t,e,n,i,r,s){var o=jO;super(t,e,n,r,s),this[o(142)]=i}get[jO(140)](){return this[jO(142)]}get[jO(139)](){var t=jO;return this[t(138)][t(140)]}}const YO=$O;function $O(t,e){const n=QO();return($O=function(t,e){return n[t-=149]})(t,e)}function QO(){const t=["korean","ck-ai-translate-","title","startsWith","setAllMarkersAsInactive","French","2739120aCcEkn","AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_","_aiConnector","getContentElementForChange","_markChangePositionInEditorContent","German","activateChange","_getChangeContentElement","setupChecks","_onChangeMarkerClicked","getEditor","plugins","_initRequiredPlugins","deactivateChange","_translateChecks","_onCheckRunFinished","changeId","map","Japanese","_onDeactivateChange","toUpperCase","63rkZxos","1072350DLTuxf","addClass","Portuguese","Chinese (Simplified)","getDocumentData","getRoot","_onChangeMarkerBlurred","chinese","params","context","japanese","ai.translate.languages","document","label","_onReviewCheckRun","AIReviewCoreEditing","diffContent","portuguese","176347coGZBr","spanish","_getTranslationWithDefault","552008oexLEv","_onActivateChange","push","setActiveStateInResults","origin","Russian","italian","AITranslateUI","884947mFwOWc","_scrollToChange","removeClass","replaceAll","45XMDagY","setMarkersInElementAsActive","english","panel","_aiReviewCoreEditing","English","_createReviewCheckRun","_onReviewCheckResultActivated","19556STAJiZ","_changeActivationSource","change","french","ck-ai-review-","define","pluginName","Italian","click","6oCLulf","hover","markChangePositionInEditorContent","_onChangeMarkerHovered","getClassNames","russian","args","618392GouKMR","locale","resetActiveStateInResults","Korean","_diffContent","content","ck-ai-translate-mode-content","_onReviewCheckResultDeactivated","_onReviewRunLeave","_getChecksList","_aiReviewCoreUi","uiInteraction","reactivateMarkers","editing","AITranslateController","config","AI_REVIEW_CHECK_TRANSLATE_TITLE","Spanish","german","view","get","_currentReviewCheckRun"];return(QO=function(){return t})()}!function(t){const e=$O,n=t();for(;;)try{if(365711===-parseInt(e(236))/1+parseInt(e(152))/2*(parseInt(e(251))/3)+-parseInt(e(168))/4+parseInt(e(218))/5+parseInt(e(161))/6*(parseInt(e(247))/7)+-parseInt(e(239))/8*(-parseInt(e(217))/9)+-parseInt(e(196))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(QO);class XO extends $N{static get[YO(158)](){return YO(182)}constructor(t){const e=YO;super(t),this[e(227)][e(183)][e(157)](e(229),[{label:e(149),id:e(253)},{label:e(185),id:e(237)},{label:e(195),id:e(155)},{label:e(201),id:e(186)},{label:e(221),id:e(225)},{label:e(214),id:e(228)},{label:e(244),id:e(166)},{label:e(220),id:e(235)},{label:e(171),id:e(190)},{label:e(159),id:e(245)}])}[YO(211)](){this[YO(176)](!0)}[YO(208)](){const t=YO;super[t(208)](),this[t(178)]=this[t(227)][t(207)][t(188)](t(246)),this[t(255)]=this[t(227)][t(207)][t(188)](t(233))}[YO(150)](t,e){const n=YO;return new KO(this[n(255)][n(222)](),e,this[n(198)],Zl(this[n(227)][n(169)],n(184)),t[n(226)],t[n(167)])}[YO(151)](t){const e=YO;this[e(178)][e(242)](t[e(154)].id),this[e(255)][e(252)](t[e(154)].id)}[YO(175)](){const t=YO;this[t(255)][t(194)](),this[t(178)][t(170)]()}[YO(240)](t){const e=YO;this[e(189)]&&(e(162)===t[e(179)]&&(this[e(153)]=e(254),this[e(189)][e(202)](t.id)),e(160)===t[e(179)]&&this[e(248)](t.id))}[YO(215)](t){const e=YO;this[e(189)]&&e(254)===t[e(243)]&&this[e(189)][e(209)]()}[YO(205)](t,e){const n=YO;this[n(189)]&&(this[n(153)]=n(173),this[n(189)][n(202)](e[n(212)]),this[n(248)](e[n(212)]))}[YO(164)](t,e){const n=YO;this[n(189)]&&(this[n(153)]=n(173),this[n(189)][n(202)](e[n(212)]),this[n(255)][n(180)](e[n(212)]))}[YO(224)](){const t=YO;this[t(189)]&&t(173)===this[t(153)]&&(this[t(189)][t(209)](),this[t(255)][t(194)]())}[YO(203)](t){const e=YO;return this[e(255)][e(199)](t)}[YO(200)](t,e){const n=YO;this[n(255)][n(163)](t,e)}[YO(172)](t,e){const n=YO;return this[n(255)][n(234)](t,e,!0)}[YO(232)](){const t=YO,e=this[t(255)][t(206)]();e&&e[t(181)][t(187)][t(154)](n=>{const i=t,r=e[i(181)][i(187)][i(230)][i(223)]();for(const t of r[i(165)]())(t[i(193)](i(156))||i(191)===t)&&n[i(249)](t,r);n[i(219)](i(174),r)})}async[YO(177)](){const t=YO,e=[],n=this[t(227)][t(183)][t(188)](t(229))||[];for(const i of n)e[t(241)]({title:i[t(231)],id:i.id,commandId:i.id,description:"",isParameterized:!1,useArgs:!0,args:{language:i.id}});const i=new zO;return i[t(204)](this[t(210)](e)),i}[YO(210)](t){const e=YO;return t[e(213)](t=>{const n=e,i=n(197)+t[n(192)][n(216)]()[n(250)]("-","_");return{...t,title:this[n(238)](i,t[n(192)])}})}}function JO(t,e){const n=eL();return(JO=function(t,e){return n[t-=303]})(t,e)}const ZO=JO;!function(t){const e=JO,n=t();for(;;)try{if(826892===-parseInt(e(310))/1*(-parseInt(e(317))/2)+-parseInt(e(313))/3+-parseInt(e(322))/4+-parseInt(e(306))/5*(-parseInt(e(312))/6)+-parseInt(e(309))/7*(parseInt(e(303))/8)+parseInt(e(321))/9+parseInt(e(319))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(eL);class tL extends KR{constructor(t,e){const n=JO;super(t,e),this.on(n(323),(t,e,i)=>{const r=n;i&&(this[r(304)]=Zl(this[r(318)],r(308)))}),this.on(n(324),(t,e,i)=>{const r=n;i&&(this[r(304)]=Zl(this[r(318)],r(305)))})}[ZO(307)](){const t=ZO,e=super[t(307)]();return e[t(315)](t(311),Zl(this[t(318)],t(314))),e}[ZO(320)](){const t=ZO,e=super[t(320)]();return e[t(315)](t(311),Zl(this[t(318)],t(316))),e}}function eL(){const t=["2269364FeHOMi","set:isLoading","set:isResultReady","3664552cPZGWa","headerTitle","AI_TRANSLATE_CHECK_RESULTS_READY_TITLE","2155nZoQMz","_createAcceptAllButtonView","AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE","21FqRtrK","207357ZBbEUa","label","22098GLnsIl","3391419dxUqIR","AI_TRANSLATE_ACCEPT_ALL","set","AI_CHAT_HISTORY_CANCEL","14bseFBB","locale","1628190nZDzvk","_createExitReviewButtonView","6274998aGyCGT"];return(eL=function(){return t})()}const nL=rL;function iL(){const t=["AI_TRANSLATE_CHECK_LIST_HEADER_TITLE","isVisible","ck-ai-translate__check-list-wrapper","7erDYYe","1053FttGUg","122633StlPIE","_setupTemplate","AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION","ck-ai-translate__check-list-header","300EzWBRM","1610fdCFFt","ck-hidden","2202pfcSpU","_checkViews","locale","395tzhHyk","ck-ai_review__check-list","165MXlsQw","1185144Dcwtsz","1985344qVpNzj","div","7652bHDboi","setTemplate","bindTemplate","170621EOIhvU"];return(iL=function(){return t})()}function rL(t,e){const n=iL();return(rL=function(t,e){return n[t-=201]})(t,e)}!function(t){const e=rL,n=t();for(;;)try{if(196646===-parseInt(e(219))/1+-parseInt(e(210))/2*(-parseInt(e(206))/3)+parseInt(e(207))/4+-parseInt(e(204))/5*(parseInt(e(201))/6)+parseInt(e(217))/7*(parseInt(e(208))/8)+parseInt(e(218))/9*(-parseInt(e(224))/10)+parseInt(e(213))/11*(-parseInt(e(223))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(iL);class sL extends bN{[nL(220)](){const t=nL,e=this[t(212)];this[t(211)]({tag:t(209),attributes:{class:[t(216),e.if(t(215),t(225),t=>!t)]},children:[{tag:t(209),attributes:{class:[t(222)]},children:[{tag:"h2",children:[{text:Zl(this[t(203)],t(214))}]},{tag:"p",children:[{text:Zl(this[t(203)],t(221))}]}]},{tag:t(209),attributes:{class:[t(205),e.if(t(215),t(225),t=>!t)]},children:this[t(202)]}]})}}var oL=r(5758),aL={attributes:{"data-cke":!0}};aL.setAttributes=Et(),aL.insert=yt().bind(null,"head"),aL.domAPI=It(),aL.insertStyleElement=Ct();bt()(oL.A,aL);oL.A&&oL.A.locals&&oL.A.locals;const cL=uL;function lL(){const t=["458524KGoerf","30XUeiCU","40bIghOB","AI_TRANSLATE_FINISH_HEADER_TITLE","AI_REVIEW_CHECK_TRANSLATE_TITLE","4hsIamE","createMainView","AI_TRANSLATE_EMPTY_RESULTS_TEXT","66TdIxAX","1406776WmpLXN","65531rOAmna","leaveReview","locale","72TBiEag","view","1971skdRXr","ck-ai-translate-mode","activateTab","fire","_mainView","399755IiEFHi","extendTemplate","22066200RljsOs","context","registerTab","ck-ai-header ck-ai-header_review-translate","plugins","translate","get","addTab","pluginName","569000rCjrTk","AI_TRANSLATE_FINISH_BUTTON_LABEL","AITranslateUI","AI_TRANSLATE_GENERAL_ERROR_MESSAGE","getReviewCheckList","AITabs"];return(lL=function(){return t})()}function uL(t,e){const n=lL();return(uL=function(t,e){return n[t-=255]})(t,e)}!function(t){const e=uL,n=t();for(;;)try{if(559001===-parseInt(e(289))/1*(-parseInt(e(280))/2)+-parseInt(e(257))/3*(-parseInt(e(284))/4)+parseInt(e(262))/5*(parseInt(e(287))/6)+-parseInt(e(288))/7+parseInt(e(273))/8*(parseInt(e(255))/9)+-parseInt(e(281))/10*(-parseInt(e(279))/11)+-parseInt(e(264))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lL);class hL extends OR{static get[cL(272)](){return cL(275)}[cL(285)](){const t=cL,e=this[t(265)][t(291)],n=new a.FormHeaderView(e,{label:Zl(e,t(283)),icon:i.IconAITranslate,class:t(267)}),r=new HR(e,{header:n,list:new sL(e),results:new tL(e,{generalErrorText:Zl(e,t(276))}),completed:new XR(e,{headerText:Zl(e,t(282)),emptyResultsText:Zl(e,t(286)),buttonText:Zl(e,t(274))})});return r[t(263)]({attributes:{class:t(258)}}),r}[cL(266)](){const t=cL,e=this[t(265)][t(268)][t(270)](t(278));e[t(256)].on(t(259),(e,n)=>{const i=t;i(269)===n?this[i(260)](i(277)):this[i(260)](i(290))}),e[t(256)][t(271)]({id:t(269),buttonLabel:Zl(this[t(265)][t(291)],t(283)),buttonIcon:i.IconAITranslate,order:0,content:this[t(261)]})}}var dL=pL;function pL(t,e){var n=fL();return(pL=function(t,e){return n[t-=273]})(t,e)}function fL(){var t=["3mTHneC","196881TTfazW","AITranslate","552rOFEBV","64505UokmLt","12367762QAcWWF","pluginName","3514680mRraRs","isPremiumPlugin","requires","195sxYFTp","13412IHHGgr","256518xNfFxQ","1449996xQbRbL","isOfficialPlugin","136ITRBrN"];return(fL=function(){return t})()}!function(t){for(var e=pL,n=t();;)try{if(515388===-parseInt(e(273))/1+-parseInt(e(285))/2*(-parseInt(e(288))/3)+parseInt(e(283))/4*(parseInt(e(282))/5)+-parseInt(e(275))/6*(-parseInt(e(276))/7)+-parseInt(e(287))/8*(-parseInt(e(284))/9)+-parseInt(e(279))/10+-parseInt(e(277))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(fL);class gL extends n.ContextPlugin{static get[dL(281)](){return[XO,hL,xN]}static get[dL(278)](){return dL(274)}static get[dL(286)](){return!0}static get[dL(280)](){return!0}}function mL(){var t=["1951848koKMjj","344rhNmDt","2217474LjqHMJ","29407iJRiNv","5SvRPhM","490ZBPCHz","287727bYrCMM","414940sywdLi","19680POMCAM","9oOyLUq","3381480kQBRTf"];return(mL=function(){return t})()}function kL(t,e){var n=mL();return(kL=function(t,e){return n[t-=101]})(t,e)}!function(t){for(var e=kL,n=t();;)try{if(931539===-parseInt(e(106))/1+parseInt(e(105))/2+parseInt(e(107))/3*(-parseInt(e(109))/4)+-parseInt(e(102))/5*(-parseInt(e(111))/6)+-parseInt(e(101))/7*(-parseInt(e(110))/8)+parseInt(e(108))/9+parseInt(e(103))/10*(parseInt(e(104))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mL)})(),(window.CKEditor5=window.CKEditor5||{}).ai=s})();