@ckeditor/ckeditor5-ai 47.7.5-alpha.0 → 47.7.6

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 (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x133e(_0x4c4ea2,_0x488634){const _0x3b2438=_0x3b24();return _0x133e=function(_0x133e93,_0x311f03){_0x133e93=_0x133e93-0x105;let _0x57394d=_0x3b2438[_0x133e93];return _0x57394d;},_0x133e(_0x4c4ea2,_0x488634);}const _0x39d73a=_0x133e;(function(_0x157a2d,_0x2ac7a9){const _0x470f15=_0x133e,_0x5f44aa=_0x157a2d();while(!![]){try{const _0x58ec91=parseInt(_0x470f15(0x10e))/0x1+-parseInt(_0x470f15(0x113))/0x2*(parseInt(_0x470f15(0x10f))/0x3)+-parseInt(_0x470f15(0x11a))/0x4+-parseInt(_0x470f15(0x112))/0x5*(-parseInt(_0x470f15(0x10d))/0x6)+parseInt(_0x470f15(0x105))/0x7*(-parseInt(_0x470f15(0x11f))/0x8)+-parseInt(_0x470f15(0x108))/0x9+parseInt(_0x470f15(0x109))/0xa;if(_0x58ec91===_0x2ac7a9)break;else _0x5f44aa['push'](_0x5f44aa['shift']());}catch(_0x48555a){_0x5f44aa['push'](_0x5f44aa['shift']());}}}(_0x3b24,0x40a88));function _0x3b24(){const _0x1c3018=['ai-documentposition-index-out-of-bounds','ai-documentposition-createfrompath-path-cannot-be-empty','parent','2251926LkGPbT','147840otHqgR','180LgkhRe','data','previousNode','5EPTnVE','542kdTEXh','path','match','isEqual','createAt','end','getNudgedToWordBoundary','629992eWEqdD','nextNode','createAfter','start','createFromPath','16DDGcoe','same','reduce','slice','document','createBefore','indexOf','30695VkGtTQ','length','index','3798270IFKlgO','3462370IJSxtJ'];_0x3b24=function(){return _0x1c3018;};return _0x3b24();}import{CKEditorError as _0x37c6f5,compareArrays as _0x2918a6}from'ckeditor5/src/utils.js';import{getNodePath as _0x20fd33,isText as _0x412cb0,getChildren as _0x310cbe,isDocument as _0x4a8808,getParent as _0xe62f5c,textContent as _0x2af423,hasChildren as _0x35e938}from'./htmlparser.js';export class DocumentPosition{[_0x39d73a(0x10c)];[_0x39d73a(0x107)];[_0x39d73a(0x123)];constructor(_0x4b4bff,_0x1b2e96,_0x2d7fc5){const _0x2ac435=_0x39d73a;if(_0x412cb0(_0x1b2e96)&&_0x2d7fc5>_0x1b2e96[_0x2ac435(0x110)][_0x2ac435(0x106)])throw new _0x37c6f5(_0x2ac435(0x10a),null,{'index':_0x2d7fc5,'parent':_0x1b2e96});if(_0x35e938(_0x1b2e96)&&_0x2d7fc5>_0x310cbe(_0x1b2e96)[_0x2ac435(0x106)])throw new _0x37c6f5(_0x2ac435(0x10a),null,{'index':_0x2d7fc5,'parent':_0x1b2e96});if(_0x2d7fc5<0x0)throw new _0x37c6f5(_0x2ac435(0x10a),null,{'index':_0x2d7fc5,'parent':_0x1b2e96});this[_0x2ac435(0x10c)]=_0x1b2e96,this[_0x2ac435(0x107)]=_0x2d7fc5,this[_0x2ac435(0x123)]=_0x4b4bff;}get[_0x39d73a(0x114)](){const _0xf8b1db=_0x39d73a;return[..._0x20fd33(this[_0xf8b1db(0x10c)]),this[_0xf8b1db(0x107)]];}[_0x39d73a(0x116)](_0x20f1de){const _0x66a5e6=_0x39d73a;return this[_0x66a5e6(0x123)]==_0x20f1de[_0x66a5e6(0x123)]&&_0x66a5e6(0x120)===_0x2918a6(this[_0x66a5e6(0x114)],_0x20f1de[_0x66a5e6(0x114)]);}get[_0x39d73a(0x11b)](){const _0x5aac79=_0x39d73a;if(_0x35e938(this[_0x5aac79(0x10c)])){const _0x718eb3=_0x310cbe(this[_0x5aac79(0x10c)])[this[_0x5aac79(0x107)]];if(_0x718eb3)return _0x718eb3;{const _0x2db9d0=DocumentPosition[_0x5aac79(0x11c)](this[_0x5aac79(0x123)],this[_0x5aac79(0x10c)]);if(_0x2db9d0)return _0x2db9d0[_0x5aac79(0x11b)];}}return null;}get[_0x39d73a(0x111)](){const _0x3e0c6a=_0x39d73a;if(_0x35e938(this[_0x3e0c6a(0x10c)])){const _0xe744dc=_0x310cbe(this[_0x3e0c6a(0x10c)])[this[_0x3e0c6a(0x107)]-0x1];if(_0xe744dc)return _0xe744dc;{const _0x2c1aba=DocumentPosition[_0x3e0c6a(0x124)](this[_0x3e0c6a(0x123)],this[_0x3e0c6a(0x10c)]);if(_0x2c1aba)return _0x2c1aba[_0x3e0c6a(0x111)];}}return null;}[_0x39d73a(0x119)](_0x4fe242=_0x39d73a(0x11d)){const _0x3f3505=_0x39d73a;if(!_0x412cb0(this[_0x3f3505(0x10c)]))return this;const _0x3ab378=this[_0x3f3505(0x114)][this[_0x3f3505(0x114)][_0x3f3505(0x106)]-0x1],_0x25e84a=_0x2af423(this[_0x3f3505(0x10c)])[_0x3f3505(0x115)](/(?:\s*\S+\s*)/g);let _0x144059=0x0,_0x18d1fd=_0x3ab378;for(const _0x3a37ff of _0x25e84a){if(_0x144059+_0x3a37ff[_0x3f3505(0x106)]===_0x3ab378)return this;if(_0x144059+_0x3a37ff[_0x3f3505(0x106)]>_0x3ab378){_0x18d1fd=_0x3f3505(0x11d)===_0x4fe242?_0x144059:_0x144059+_0x3a37ff[_0x3f3505(0x106)];break;}_0x144059+=_0x3a37ff[_0x3f3505(0x106)];}return DocumentPosition[_0x3f3505(0x117)](this[_0x3f3505(0x123)],this[_0x3f3505(0x10c)],_0x18d1fd);}static[_0x39d73a(0x11c)](_0x94a5c7,_0xf8ef71){const _0x16a84a=_0x39d73a;if(_0x4a8808(_0xf8ef71))return null;const _0x1c57ab=_0xe62f5c(_0xf8ef71);return DocumentPosition[_0x16a84a(0x117)](_0x94a5c7,_0x1c57ab,_0x310cbe(_0x1c57ab)[_0x16a84a(0x125)](_0xf8ef71)+0x1);}static[_0x39d73a(0x124)](_0x4ece34,_0x31b387){const _0x523f8c=_0x39d73a;if(_0x4a8808(_0x31b387))return null;const _0x33312e=_0xe62f5c(_0x31b387);return DocumentPosition[_0x523f8c(0x117)](_0x4ece34,_0x33312e,_0x310cbe(_0x33312e)[_0x523f8c(0x125)](_0x31b387));}static[_0x39d73a(0x117)](_0x1c34fb,_0x40c4be,_0xc35851=_0x39d73a(0x11d)){const _0x4b0a70=_0x39d73a;return new DocumentPosition(_0x1c34fb,_0x40c4be,_0x4b0a70(0x11d)===_0xc35851?0x0:_0x4b0a70(0x118)===_0xc35851?_0x412cb0(_0x40c4be)?_0x40c4be[_0x4b0a70(0x110)][_0x4b0a70(0x106)]:_0x310cbe(_0x40c4be)[_0x4b0a70(0x106)]:_0xc35851);}static[_0x39d73a(0x11e)](_0x12e337,_0x5dbce4){const _0x5ede5b=_0x39d73a;if(!_0x5dbce4[_0x5ede5b(0x106)])throw new _0x37c6f5(_0x5ede5b(0x10b),null,{'path':_0x5dbce4});const _0x2eb252=_0x5dbce4[_0x5ede5b(0x122)](0x0,-0x1)[_0x5ede5b(0x121)]((_0x44a283,_0x435678)=>_0x412cb0(_0x44a283)?_0x44a283:_0x310cbe(_0x44a283)[_0x435678],_0x12e337);return DocumentPosition[_0x5ede5b(0x117)](_0x12e337,_0x2eb252,_0x5dbce4[_0x5dbce4[_0x5ede5b(0x106)]-0x1]);}}
23
+ const _0x18bcf=_0x1959;(function(_0x11d101,_0x511ee6){const _0x369150=_0x1959,_0x578f17=_0x11d101();while(!![]){try{const _0x46a0b2=parseInt(_0x369150(0x1ae))/0x1+parseInt(_0x369150(0x1b7))/0x2*(-parseInt(_0x369150(0x1a8))/0x3)+-parseInt(_0x369150(0x1b1))/0x4+parseInt(_0x369150(0x1b4))/0x5+parseInt(_0x369150(0x1b9))/0x6*(-parseInt(_0x369150(0x19e))/0x7)+parseInt(_0x369150(0x19f))/0x8+-parseInt(_0x369150(0x1b0))/0x9;if(_0x46a0b2===_0x511ee6)break;else _0x578f17['push'](_0x578f17['shift']());}catch(_0x301d9b){_0x578f17['push'](_0x578f17['shift']());}}}(_0x263f,0x1a97d));import{CKEditorError as _0x4c3980,compareArrays as _0x2564b2}from'ckeditor5/src/utils.js';function _0x263f(){const _0x53b9fc=['createBefore','4782pycZJf','slice','createFromPath','reduce','previousNode','28pWkdsN','141792OhqlKI','start','same','path','parent','end','getNudgedToWordBoundary','index','isEqual','8805tcIwZH','createAfter','document','createAt','ai-documentposition-createfrompath-path-cannot-be-empty','match','154878chyBkN','length','1057446PJLdYC','152576Yaimyp','data','indexOf','607820UTFGmw','ai-documentposition-index-out-of-bounds','nextNode','18ZUhqYT'];_0x263f=function(){return _0x53b9fc;};return _0x263f();}function _0x1959(_0x503ef6,_0x11f4a8){const _0x263f9d=_0x263f();return _0x1959=function(_0x1959c6,_0x13728b){_0x1959c6=_0x1959c6-0x19e;let _0x3e1b91=_0x263f9d[_0x1959c6];return _0x3e1b91;},_0x1959(_0x503ef6,_0x11f4a8);}import{getNodePath as _0x1f9d49,isText as _0x3aaf95,getChildren as _0x24680e,isDocument as _0x52e430,getParent as _0x1c8467,textContent as _0x23fff3,hasChildren as _0x1793bb}from'./htmlparser.js';export class DocumentPosition{[_0x18bcf(0x1a3)];[_0x18bcf(0x1a6)];[_0x18bcf(0x1aa)];constructor(_0x52988a,_0x4b0fea,_0x4c9726){const _0x2fd25b=_0x18bcf;if(_0x3aaf95(_0x4b0fea)&&_0x4c9726>_0x4b0fea[_0x2fd25b(0x1b2)][_0x2fd25b(0x1af)])throw new _0x4c3980(_0x2fd25b(0x1b5),null,{'index':_0x4c9726,'parent':_0x4b0fea});if(_0x1793bb(_0x4b0fea)&&_0x4c9726>_0x24680e(_0x4b0fea)[_0x2fd25b(0x1af)])throw new _0x4c3980(_0x2fd25b(0x1b5),null,{'index':_0x4c9726,'parent':_0x4b0fea});if(_0x4c9726<0x0)throw new _0x4c3980(_0x2fd25b(0x1b5),null,{'index':_0x4c9726,'parent':_0x4b0fea});this[_0x2fd25b(0x1a3)]=_0x4b0fea,this[_0x2fd25b(0x1a6)]=_0x4c9726,this[_0x2fd25b(0x1aa)]=_0x52988a;}get[_0x18bcf(0x1a2)](){const _0x4d62f8=_0x18bcf;return[..._0x1f9d49(this[_0x4d62f8(0x1a3)]),this[_0x4d62f8(0x1a6)]];}[_0x18bcf(0x1a7)](_0x1fd517){const _0x355f93=_0x18bcf;return this[_0x355f93(0x1aa)]==_0x1fd517[_0x355f93(0x1aa)]&&_0x355f93(0x1a1)===_0x2564b2(this[_0x355f93(0x1a2)],_0x1fd517[_0x355f93(0x1a2)]);}get[_0x18bcf(0x1b6)](){const _0x2a7e93=_0x18bcf;if(_0x1793bb(this[_0x2a7e93(0x1a3)])){const _0x312e3e=_0x24680e(this[_0x2a7e93(0x1a3)])[this[_0x2a7e93(0x1a6)]];if(_0x312e3e)return _0x312e3e;{const _0x2f5524=DocumentPosition[_0x2a7e93(0x1a9)](this[_0x2a7e93(0x1aa)],this[_0x2a7e93(0x1a3)]);if(_0x2f5524)return _0x2f5524[_0x2a7e93(0x1b6)];}}return null;}get[_0x18bcf(0x1bd)](){const _0xd3f2b4=_0x18bcf;if(_0x1793bb(this[_0xd3f2b4(0x1a3)])){const _0x46d89a=_0x24680e(this[_0xd3f2b4(0x1a3)])[this[_0xd3f2b4(0x1a6)]-0x1];if(_0x46d89a)return _0x46d89a;{const _0x10ba81=DocumentPosition[_0xd3f2b4(0x1b8)](this[_0xd3f2b4(0x1aa)],this[_0xd3f2b4(0x1a3)]);if(_0x10ba81)return _0x10ba81[_0xd3f2b4(0x1bd)];}}return null;}[_0x18bcf(0x1a5)](_0x3118b1=_0x18bcf(0x1a0)){const _0x29af19=_0x18bcf;if(!_0x3aaf95(this[_0x29af19(0x1a3)]))return this;const _0x221bc4=this[_0x29af19(0x1a2)][this[_0x29af19(0x1a2)][_0x29af19(0x1af)]-0x1],_0x595690=_0x23fff3(this[_0x29af19(0x1a3)])[_0x29af19(0x1ad)](/(?:\s*\S+\s*)/g);let _0x4b3a6e=0x0,_0x3ba71c=_0x221bc4;for(const _0x35a7fa of _0x595690){if(_0x4b3a6e+_0x35a7fa[_0x29af19(0x1af)]===_0x221bc4)return this;if(_0x4b3a6e+_0x35a7fa[_0x29af19(0x1af)]>_0x221bc4){_0x3ba71c=_0x29af19(0x1a0)===_0x3118b1?_0x4b3a6e:_0x4b3a6e+_0x35a7fa[_0x29af19(0x1af)];break;}_0x4b3a6e+=_0x35a7fa[_0x29af19(0x1af)];}return DocumentPosition[_0x29af19(0x1ab)](this[_0x29af19(0x1aa)],this[_0x29af19(0x1a3)],_0x3ba71c);}static[_0x18bcf(0x1a9)](_0x5c1728,_0x43bddb){const _0xf8c88d=_0x18bcf;if(_0x52e430(_0x43bddb))return null;const _0x4afb18=_0x1c8467(_0x43bddb);return DocumentPosition[_0xf8c88d(0x1ab)](_0x5c1728,_0x4afb18,_0x24680e(_0x4afb18)[_0xf8c88d(0x1b3)](_0x43bddb)+0x1);}static[_0x18bcf(0x1b8)](_0x17d416,_0x560759){const _0x19a830=_0x18bcf;if(_0x52e430(_0x560759))return null;const _0x2a6636=_0x1c8467(_0x560759);return DocumentPosition[_0x19a830(0x1ab)](_0x17d416,_0x2a6636,_0x24680e(_0x2a6636)[_0x19a830(0x1b3)](_0x560759));}static[_0x18bcf(0x1ab)](_0x2c2469,_0x649499,_0x2cbecc=_0x18bcf(0x1a0)){const _0x50b2bb=_0x18bcf;return new DocumentPosition(_0x2c2469,_0x649499,_0x50b2bb(0x1a0)===_0x2cbecc?0x0:_0x50b2bb(0x1a4)===_0x2cbecc?_0x3aaf95(_0x649499)?_0x649499[_0x50b2bb(0x1b2)][_0x50b2bb(0x1af)]:_0x24680e(_0x649499)[_0x50b2bb(0x1af)]:_0x2cbecc);}static[_0x18bcf(0x1bb)](_0x5be1e1,_0x300e91){const _0x397c91=_0x18bcf;if(!_0x300e91[_0x397c91(0x1af)])throw new _0x4c3980(_0x397c91(0x1ac),null,{'path':_0x300e91});const _0x64282e=_0x300e91[_0x397c91(0x1ba)](0x0,-0x1)[_0x397c91(0x1bc)]((_0x10f02a,_0x31867a)=>_0x3aaf95(_0x10f02a)?_0x10f02a:_0x24680e(_0x10f02a)[_0x31867a],_0x5be1e1);return DocumentPosition[_0x397c91(0x1ab)](_0x5be1e1,_0x64282e,_0x300e91[_0x300e91[_0x397c91(0x1af)]-0x1]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9d12be=_0x4925;(function(_0x4a056c,_0xc84fe2){const _0x213c82=_0x4925,_0x5ece83=_0x4a056c();while(!![]){try{const _0x603964=parseInt(_0x213c82(0x1bc))/0x1+parseInt(_0x213c82(0x1d0))/0x2*(-parseInt(_0x213c82(0x1b6))/0x3)+-parseInt(_0x213c82(0x1ce))/0x4+parseInt(_0x213c82(0x1bf))/0x5*(parseInt(_0x213c82(0x1bb))/0x6)+parseInt(_0x213c82(0x1d2))/0x7+parseInt(_0x213c82(0x1cd))/0x8*(-parseInt(_0x213c82(0x1c3))/0x9)+-parseInt(_0x213c82(0x1ca))/0xa*(-parseInt(_0x213c82(0x1be))/0xb);if(_0x603964===_0xc84fe2)break;else _0x5ece83['push'](_0x5ece83['shift']());}catch(_0x48fc8e){_0x5ece83['push'](_0x5ece83['shift']());}}}(_0x2cc0,0x5c60a));function _0x2cc0(){const _0x451d67=['getContent','24ktFkwg','31061xpDZql','createAfter','5218103IbFAZE','923755yyYCBx','reverse','getNudgedToWordBoundary','push','80361CmoFDE','createFromPath','parent','end','previousNode','createBefore','isEqual','10vHgSSX','forEach','firstChild','664bsEPWS','2007464ILpwug','length','94bmWVbQ','data','3921491ZNUwBJ','path','includes','start','nextNode','slice','11700wDWaEX','createAt','document','lastChild'];_0x2cc0=function(){return _0x451d67;};return _0x2cc0();}import{DocumentPosition as _0x32afbf}from'./documentposition.js';function _0x4925(_0x428ea6,_0x447500){const _0x2cc0cc=_0x2cc0();return _0x4925=function(_0x4925da,_0xc21c7a){_0x4925da=_0x4925da-0x1b3;let _0xa7671d=_0x2cc0cc[_0x4925da];return _0xa7671d;},_0x4925(_0x428ea6,_0x447500);}import{clone as _0xaaf349,getParents as _0x66b569,Document as _0x51d84e,Text as _0x4d5911,isTag as _0x4b3236,isText as _0x475300,replaceElement as _0x23f6a0,removeElement as _0x44dc58}from'./htmlparser.js';export class DocumentRange{[_0x9d12be(0x1b3)];[_0x9d12be(0x1c6)];constructor(_0x5606e9,_0x583e66){const _0x23d810=_0x9d12be;this[_0x23d810(0x1b3)]=_0x5606e9,this[_0x23d810(0x1c6)]=_0x583e66;}[_0x9d12be(0x1c9)](_0x57982d){const _0x257375=_0x9d12be;return this==_0x57982d||this[_0x257375(0x1b3)][_0x257375(0x1c9)](_0x57982d[_0x257375(0x1b3)])&&this[_0x257375(0x1c6)][_0x257375(0x1c9)](_0x57982d[_0x257375(0x1c6)]);}[_0x9d12be(0x1c1)](){const _0x228fd3=_0x9d12be;return new DocumentRange(this[_0x228fd3(0x1b3)][_0x228fd3(0x1c1)](_0x228fd3(0x1b3)),this[_0x228fd3(0x1c6)][_0x228fd3(0x1c1)](_0x228fd3(0x1c6)));}[_0x9d12be(0x1ba)](){const _0x219b0d=_0x9d12be,_0x40b9f9=_0xaaf349(this[_0x219b0d(0x1b3)][_0x219b0d(0x1b8)]),_0x56274e=_0x32afbf[_0x219b0d(0x1c4)](_0x40b9f9,this[_0x219b0d(0x1b3)][_0x219b0d(0x1d3)]),_0x4bf827=_0x32afbf[_0x219b0d(0x1c4)](_0x40b9f9,this[_0x219b0d(0x1c6)][_0x219b0d(0x1d3)]);let _0x5636d2,_0x36c448;if(_0x475300(_0x56274e[_0x219b0d(0x1c5)])){const _0x1dfb76=_0x56274e[_0x219b0d(0x1d3)][_0x56274e[_0x219b0d(0x1d3)][_0x219b0d(0x1cf)]-0x1],_0x3634f0=new _0x4d5911(_0x56274e[_0x219b0d(0x1c5)][_0x219b0d(0x1d1)][_0x219b0d(0x1b5)](_0x1dfb76));_0x23f6a0(_0x56274e[_0x219b0d(0x1c5)],_0x3634f0),_0x5636d2=_0x3634f0;}else _0x5636d2=_0x56274e[_0x219b0d(0x1b4)];if(_0x475300(_0x4bf827[_0x219b0d(0x1c5)])){const _0x296d7b=_0x4bf827[_0x219b0d(0x1d3)][_0x4bf827[_0x219b0d(0x1d3)][_0x219b0d(0x1cf)]-0x1],_0x12ff30=new _0x4d5911(_0x4bf827[_0x219b0d(0x1c5)][_0x219b0d(0x1d1)][_0x219b0d(0x1b5)](0x0,_0x296d7b));_0x23f6a0(_0x4bf827[_0x219b0d(0x1c5)],_0x12ff30),_0x36c448=_0x12ff30;}else _0x36c448=_0x4bf827[_0x219b0d(0x1c7)];if(!(_0x5636d2&&_0x36c448&&_0x40b9f9[_0x219b0d(0x1cc)]&&_0x40b9f9[_0x219b0d(0x1b9)]))return new _0x51d84e([]);const _0x4b7093=_0x66b569(_0x5636d2),_0x20c6d4=_0x66b569(_0x36c448),_0x3a3b09=[],_0x588687=[];let _0x436409=_0x40b9f9[_0x219b0d(0x1cc)];for(;_0x436409&&_0x436409!==_0x5636d2;){let _0x23dca5;_0x4b7093[_0x219b0d(0x1d4)](_0x436409)||_0x3a3b09[_0x219b0d(0x1c2)](_0x436409),_0x23dca5=_0x4b3236(_0x436409)?_0x32afbf[_0x219b0d(0x1b7)](_0x40b9f9,_0x436409,_0x219b0d(0x1b3)):_0x32afbf[_0x219b0d(0x1bd)](_0x40b9f9,_0x436409),_0x436409=_0x23dca5?_0x23dca5[_0x219b0d(0x1b4)]:null;}for(_0x436409=_0x40b9f9[_0x219b0d(0x1b9)];_0x436409&&_0x436409!==_0x36c448;){let _0xe92d97;_0x20c6d4[_0x219b0d(0x1d4)](_0x436409)||_0x588687[_0x219b0d(0x1c2)](_0x436409),_0xe92d97=_0x4b3236(_0x436409)?_0x32afbf[_0x219b0d(0x1b7)](_0x40b9f9,_0x436409,_0x219b0d(0x1c6)):_0x32afbf[_0x219b0d(0x1c8)](_0x40b9f9,_0x436409),_0x436409=_0xe92d97?_0xe92d97[_0x219b0d(0x1c7)]:null;}return _0x3a3b09[_0x219b0d(0x1cb)](_0x41dbc2=>{_0x44dc58(_0x41dbc2);}),_0x588687[_0x219b0d(0x1c0)]()[_0x219b0d(0x1cb)](_0x37e4e4=>{_0x44dc58(_0x37e4e4);}),_0x40b9f9;}}
23
+ const _0x11f25f=_0x2219;(function(_0x3ce880,_0xeef50e){const _0x5482ee=_0x2219,_0x40470c=_0x3ce880();while(!![]){try{const _0x5a98ca=-parseInt(_0x5482ee(0x14e))/0x1*(parseInt(_0x5482ee(0x148))/0x2)+-parseInt(_0x5482ee(0x13e))/0x3*(-parseInt(_0x5482ee(0x151))/0x4)+-parseInt(_0x5482ee(0x14d))/0x5*(parseInt(_0x5482ee(0x159))/0x6)+parseInt(_0x5482ee(0x154))/0x7+parseInt(_0x5482ee(0x149))/0x8*(-parseInt(_0x5482ee(0x14a))/0x9)+parseInt(_0x5482ee(0x13a))/0xa+parseInt(_0x5482ee(0x155))/0xb*(-parseInt(_0x5482ee(0x15a))/0xc);if(_0x5a98ca===_0xeef50e)break;else _0x40470c['push'](_0x40470c['shift']());}catch(_0x5dc4cd){_0x40470c['push'](_0x40470c['shift']());}}}(_0x29cb,0x3a62e));import{DocumentPosition as _0x83ca0a}from'./documentposition.js';function _0x29cb(){const _0x30f81b=['data','842176EHbPPv','length','reverse','253414beKSVY','88oqNTge','end','includes','nextNode','402fiqiDF','112860eXOsru','createAt','path','4510910bkpbQs','firstChild','document','lastChild','6CQyfSN','push','createAfter','parent','isEqual','previousNode','createFromPath','start','createBefore','slice','2raCMqd','636080NzlzNw','9NGYRtH','getContent','forEach','29045cmkFem','125278tUtytI','getNudgedToWordBoundary'];_0x29cb=function(){return _0x30f81b;};return _0x29cb();}import{clone as _0x687c97,getParents as _0x187ef1,Document as _0x1b1b63,Text as _0x1b4d86,isTag as _0x5d8262,isText as _0x261475,replaceElement as _0x19f436,removeElement as _0x4c3f40}from'./htmlparser.js';function _0x2219(_0x28913d,_0x30ad34){const _0x29cbc4=_0x29cb();return _0x2219=function(_0x221913,_0x243c90){_0x221913=_0x221913-0x138;let _0x3bd0d6=_0x29cbc4[_0x221913];return _0x3bd0d6;},_0x2219(_0x28913d,_0x30ad34);}export class DocumentRange{[_0x11f25f(0x145)];[_0x11f25f(0x156)];constructor(_0x158b93,_0x153d94){const _0x4b1749=_0x11f25f;this[_0x4b1749(0x145)]=_0x158b93,this[_0x4b1749(0x156)]=_0x153d94;}[_0x11f25f(0x142)](_0x184aaa){const _0x4528f4=_0x11f25f;return this==_0x184aaa||this[_0x4528f4(0x145)][_0x4528f4(0x142)](_0x184aaa[_0x4528f4(0x145)])&&this[_0x4528f4(0x156)][_0x4528f4(0x142)](_0x184aaa[_0x4528f4(0x156)]);}[_0x11f25f(0x14f)](){const _0x552495=_0x11f25f;return new DocumentRange(this[_0x552495(0x145)][_0x552495(0x14f)](_0x552495(0x145)),this[_0x552495(0x156)][_0x552495(0x14f)](_0x552495(0x156)));}[_0x11f25f(0x14b)](){const _0x509c5f=_0x11f25f,_0x247617=_0x687c97(this[_0x509c5f(0x145)][_0x509c5f(0x13c)]),_0x81ddf3=_0x83ca0a[_0x509c5f(0x144)](_0x247617,this[_0x509c5f(0x145)][_0x509c5f(0x139)]),_0x304fa6=_0x83ca0a[_0x509c5f(0x144)](_0x247617,this[_0x509c5f(0x156)][_0x509c5f(0x139)]);let _0x14390e,_0x59aa3a;if(_0x261475(_0x81ddf3[_0x509c5f(0x141)])){const _0x4acf2c=_0x81ddf3[_0x509c5f(0x139)][_0x81ddf3[_0x509c5f(0x139)][_0x509c5f(0x152)]-0x1],_0x47e6b3=new _0x1b4d86(_0x81ddf3[_0x509c5f(0x141)][_0x509c5f(0x150)][_0x509c5f(0x147)](_0x4acf2c));_0x19f436(_0x81ddf3[_0x509c5f(0x141)],_0x47e6b3),_0x14390e=_0x47e6b3;}else _0x14390e=_0x81ddf3[_0x509c5f(0x158)];if(_0x261475(_0x304fa6[_0x509c5f(0x141)])){const _0x2fbccc=_0x304fa6[_0x509c5f(0x139)][_0x304fa6[_0x509c5f(0x139)][_0x509c5f(0x152)]-0x1],_0x2006a7=new _0x1b4d86(_0x304fa6[_0x509c5f(0x141)][_0x509c5f(0x150)][_0x509c5f(0x147)](0x0,_0x2fbccc));_0x19f436(_0x304fa6[_0x509c5f(0x141)],_0x2006a7),_0x59aa3a=_0x2006a7;}else _0x59aa3a=_0x304fa6[_0x509c5f(0x143)];if(!(_0x14390e&&_0x59aa3a&&_0x247617[_0x509c5f(0x13b)]&&_0x247617[_0x509c5f(0x13d)]))return new _0x1b1b63([]);const _0x5dbe55=_0x187ef1(_0x14390e),_0x30c946=_0x187ef1(_0x59aa3a),_0x244c7c=[],_0xf1d289=[];let _0x1ef37a=_0x247617[_0x509c5f(0x13b)];for(;_0x1ef37a&&_0x1ef37a!==_0x14390e;){let _0x2894fa;_0x5dbe55[_0x509c5f(0x157)](_0x1ef37a)||_0x244c7c[_0x509c5f(0x13f)](_0x1ef37a),_0x2894fa=_0x5d8262(_0x1ef37a)?_0x83ca0a[_0x509c5f(0x138)](_0x247617,_0x1ef37a,_0x509c5f(0x145)):_0x83ca0a[_0x509c5f(0x140)](_0x247617,_0x1ef37a),_0x1ef37a=_0x2894fa?_0x2894fa[_0x509c5f(0x158)]:null;}for(_0x1ef37a=_0x247617[_0x509c5f(0x13d)];_0x1ef37a&&_0x1ef37a!==_0x59aa3a;){let _0xcac28b;_0x30c946[_0x509c5f(0x157)](_0x1ef37a)||_0xf1d289[_0x509c5f(0x13f)](_0x1ef37a),_0xcac28b=_0x5d8262(_0x1ef37a)?_0x83ca0a[_0x509c5f(0x138)](_0x247617,_0x1ef37a,_0x509c5f(0x156)):_0x83ca0a[_0x509c5f(0x146)](_0x247617,_0x1ef37a),_0x1ef37a=_0xcac28b?_0xcac28b[_0x509c5f(0x143)]:null;}return _0x244c7c[_0x509c5f(0x14c)](_0x2aba4c=>{_0x4c3f40(_0x2aba4c);}),_0xf1d289[_0x509c5f(0x153)]()[_0x509c5f(0x14c)](_0x314dc9=>{_0x4c3f40(_0x314dc9);}),_0x247617;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x9f63(){const _0x2eb8ca=['3162755lXoiLk','dislike','140jmgNtY','mouseOverSuggestion','insertSuggestion','1143725oqtTyi','toggleSuggestionDisplayMode','showChangeInText','like','410509nXvfLM','83763DLrosm','mouseLeaveSuggestion','applySuggestion','3903xOayXP','4363695dSfYiv','40oQWolk','rejectSuggestion','1208zXFhBr','6haEKSR','6469608oHUkME'];_0x9f63=function(){return _0x2eb8ca;};return _0x9f63();}function _0x5bd8(_0x2bc0e8,_0x2141cd){const _0x9f63f5=_0x9f63();return _0x5bd8=function(_0x5bd813,_0x3cdd44){_0x5bd813=_0x5bd813-0x1ab;let _0x2c945c=_0x9f63f5[_0x5bd813];return _0x2c945c;},_0x5bd8(_0x2bc0e8,_0x2141cd);}const _0x1b88a3=_0x5bd8;(function(_0x45a194,_0xa4a19a){const _0x11b2bd=_0x5bd8,_0xf8a4e7=_0x45a194();while(!![]){try{const _0x4691a6=parseInt(_0x11b2bd(0x1b6))/0x1+parseInt(_0x11b2bd(0x1ac))/0x2*(parseInt(_0x11b2bd(0x1be))/0x3)+parseInt(_0x11b2bd(0x1b0))/0x4+parseInt(_0x11b2bd(0x1b1))/0x5*(-parseInt(_0x11b2bd(0x1af))/0x6)+parseInt(_0x11b2bd(0x1ab))/0x7+parseInt(_0x11b2bd(0x1ae))/0x8*(-parseInt(_0x11b2bd(0x1bb))/0x9)+-parseInt(_0x11b2bd(0x1b3))/0xa*(parseInt(_0x11b2bd(0x1ba))/0xb);if(_0x4691a6===_0xa4a19a)break;else _0xf8a4e7['push'](_0xf8a4e7['shift']());}catch(_0xc7b42b){_0xf8a4e7['push'](_0xf8a4e7['shift']());}}}(_0x9f63,0xcf8ee));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x1b88a3(0x1b8),_0x1b88a3(0x1b5),_0x1b88a3(0x1bd),_0x1b88a3(0x1ad),_0x1b88a3(0x1b4),_0x1b88a3(0x1bc),_0x1b88a3(0x1b7),_0x1b88a3(0x1b9),_0x1b88a3(0x1b2)];
23
+ function _0x1f28(_0x527f4d,_0x3b6424){const _0x5a99de=_0x5a99();return _0x1f28=function(_0x1f2885,_0x4a3cac){_0x1f2885=_0x1f2885-0x8b;let _0x57ff93=_0x5a99de[_0x1f2885];return _0x57ff93;},_0x1f28(_0x527f4d,_0x3b6424);}function _0x5a99(){const _0xba55ea=['7jPdmCY','242BYdbHH','dislike','1556804lObeog','toggleSuggestionDisplayMode','insertSuggestion','mouseLeaveSuggestion','mouseOverSuggestion','4695426pTEXVL','7479NYGNZr','3430RGFyIE','like','rejectSuggestion','5793416ewSWxT','1445mAVYpD','applySuggestion','3494628iSNtNN','2HNEtGK','1553808kxMesR','7012HYvneE','showChangeInText'];_0x5a99=function(){return _0xba55ea;};return _0x5a99();}const _0x1d154c=_0x1f28;(function(_0x34cdc8,_0x50d265){const _0x18569c=_0x1f28,_0x41fd67=_0x34cdc8();while(!![]){try{const _0x31cc36=parseInt(_0x18569c(0x8e))/0x1*(parseInt(_0x18569c(0x95))/0x2)+parseInt(_0x18569c(0x9a))/0x3+parseInt(_0x18569c(0x90))/0x4*(-parseInt(_0x18569c(0x8b))/0x5)+parseInt(_0x18569c(0x8d))/0x6+-parseInt(_0x18569c(0x92))/0x7*(-parseInt(_0x18569c(0x9f))/0x8)+-parseInt(_0x18569c(0x9b))/0x9*(parseInt(_0x18569c(0x9c))/0xa)+-parseInt(_0x18569c(0x93))/0xb*(parseInt(_0x18569c(0x8f))/0xc);if(_0x31cc36===_0x50d265)break;else _0x41fd67['push'](_0x41fd67['shift']());}catch(_0x25d755){_0x41fd67['push'](_0x41fd67['shift']());}}}(_0x5a99,0xc0727));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x1d154c(0x91),_0x1d154c(0x97),_0x1d154c(0x8c),_0x1d154c(0x9e),_0x1d154c(0x99),_0x1d154c(0x98),_0x1d154c(0x96),_0x1d154c(0x9d),_0x1d154c(0x94)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4b8486,_0x5e7e48){var _0x470c72=_0x81b7,_0x368e4e=_0x4b8486();while(!![]){try{var _0x173ed5=parseInt(_0x470c72(0xce))/0x1+-parseInt(_0x470c72(0xd0))/0x2+-parseInt(_0x470c72(0xd5))/0x3+parseInt(_0x470c72(0xda))/0x4*(parseInt(_0x470c72(0xdc))/0x5)+-parseInt(_0x470c72(0xd8))/0x6*(parseInt(_0x470c72(0xd6))/0x7)+parseInt(_0x470c72(0xd7))/0x8*(-parseInt(_0x470c72(0xdb))/0x9)+parseInt(_0x470c72(0xcd))/0xa;if(_0x173ed5===_0x5e7e48)break;else _0x368e4e['push'](_0x368e4e['shift']());}catch(_0x28210c){_0x368e4e['push'](_0x368e4e['shift']());}}}(_0x452e,0xd0ec9));import{CKEditorError as _0x58df4c}from'ckeditor5/src/utils.js';import{Editor as _0x398224}from'ckeditor5/src/core.js';function _0x81b7(_0x258b6b,_0x341f4f){var _0x452ed6=_0x452e();return _0x81b7=function(_0x81b7a9,_0x3f1667){_0x81b7a9=_0x81b7a9-0xcd;var _0x4d5961=_0x452ed6[_0x81b7a9];return _0x4d5961;},_0x81b7(_0x258b6b,_0x341f4f);}export function getEditorFromContext(_0xc00eb4){var _0x113557=_0x81b7;if(_0xc00eb4 instanceof _0x398224)return _0xc00eb4;if(_0xc00eb4?.[_0x113557(0xd9)]&&_0xc00eb4[_0x113557(0xd9)][_0x113557(0xd2)](0x0))return _0xc00eb4[_0x113557(0xd9)][_0x113557(0xd3)]>0x1&&console[_0x113557(0xcf)](_0x113557(0xd4)),_0xc00eb4[_0x113557(0xd9)][_0x113557(0xd2)](0x0);throw new _0x58df4c(_0x113557(0xd1));}function _0x452e(){var _0x321f74=['194364cXpxRr','editors','9732lRJRRF','4326804PeJtBC','1965fvmpGZ','39426110tQolGO','646973QLMFvM','warn','3103682qgiWQf','ai-get-editor-from-context-no-editor','get','length','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','3210291lnFvuu','343FxYgvL','8ZODEnw'];_0x452e=function(){return _0x321f74;};return _0x452e();}
23
+ (function(_0x3d7093,_0x1169aa){var _0x14b3cd=_0x1508,_0x27e6fc=_0x3d7093();while(!![]){try{var _0x57bd01=-parseInt(_0x14b3cd(0x1c8))/0x1+-parseInt(_0x14b3cd(0x1d3))/0x2*(parseInt(_0x14b3cd(0x1d5))/0x3)+-parseInt(_0x14b3cd(0x1d8))/0x4+parseInt(_0x14b3cd(0x1ce))/0x5*(-parseInt(_0x14b3cd(0x1ca))/0x6)+-parseInt(_0x14b3cd(0x1cb))/0x7*(parseInt(_0x14b3cd(0x1d6))/0x8)+parseInt(_0x14b3cd(0x1d7))/0x9+-parseInt(_0x14b3cd(0x1cf))/0xa*(-parseInt(_0x14b3cd(0x1cd))/0xb);if(_0x57bd01===_0x1169aa)break;else _0x27e6fc['push'](_0x27e6fc['shift']());}catch(_0x427243){_0x27e6fc['push'](_0x27e6fc['shift']());}}}(_0x4a29,0x71b29));import{CKEditorError as _0x58cbc9}from'ckeditor5/src/utils.js';function _0x4a29(){var _0xb78a12=['8245appjcj','10KqnkzG','ai-get-editor-from-context-no-editor','editors','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','1319026ysaLSd','get','3vUUTUZ','16WALlvB','7145253PKzqbV','1376648UwjNJp','60228OgRHOO','length','1578RmAGKr','2291275YayuXK','warn','20064308kVnNEb'];_0x4a29=function(){return _0xb78a12;};return _0x4a29();}import{Editor as _0x17bbf0}from'ckeditor5/src/core.js';function _0x1508(_0x5cdf21,_0x44f45c){var _0x4a2959=_0x4a29();return _0x1508=function(_0x1508d6,_0x30b762){_0x1508d6=_0x1508d6-0x1c8;var _0x5e399e=_0x4a2959[_0x1508d6];return _0x5e399e;},_0x1508(_0x5cdf21,_0x44f45c);}export function getEditorFromContext(_0x2e70b0){var _0x1fee99=_0x1508;if(_0x2e70b0 instanceof _0x17bbf0)return _0x2e70b0;if(_0x2e70b0?.[_0x1fee99(0x1d1)]&&_0x2e70b0[_0x1fee99(0x1d1)][_0x1fee99(0x1d4)](0x0))return _0x2e70b0[_0x1fee99(0x1d1)][_0x1fee99(0x1c9)]>0x1&&console[_0x1fee99(0x1cc)](_0x1fee99(0x1d2)),_0x2e70b0[_0x1fee99(0x1d1)][_0x1fee99(0x1d4)](0x0);throw new _0x58cbc9(_0x1fee99(0x1d0));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x31c453,_0x5a3a17){const _0x5478f6=_0x55e6,_0x48c994=_0x31c453();while(!![]){try{const _0xaf589c=-parseInt(_0x5478f6(0x175))/0x1*(-parseInt(_0x5478f6(0x15e))/0x2)+-parseInt(_0x5478f6(0x179))/0x3*(-parseInt(_0x5478f6(0x16f))/0x4)+-parseInt(_0x5478f6(0x162))/0x5+parseInt(_0x5478f6(0x163))/0x6*(parseInt(_0x5478f6(0x170))/0x7)+parseInt(_0x5478f6(0x17f))/0x8+-parseInt(_0x5478f6(0x166))/0x9+parseInt(_0x5478f6(0x177))/0xa;if(_0xaf589c===_0x5a3a17)break;else _0x48c994['push'](_0x48c994['shift']());}catch(_0x1ef82a){_0x48c994['push'](_0x48c994['shift']());}}}(_0xc9e5,0xcbe51));import{transformOperationSets as _0x11b4d3}from'ckeditor5/src/engine.js';import{append as _0x154d49,findByAttribute as _0x1b02b4,prependChild as _0x3b2f98,removeElement as _0x425224,serialize as _0x2c2ae0}from'./htmlparser.js';function _0xc9e5(){const _0x42d7ff=['40dhqBtq','14RqJaAu','removed','documentContextContent','oldRange','document','17509sywSED','operationsA','10681240blqVnL','previousSibling','42735EaXtsH','filter','getDocumentContext','marker','name','model','2603136JcYyjw','map','markers','shift','cloneNode','86pZjsUi','version','get','type','6222740kFfeGB','2444388ihBpdW','length','anchorId','9215532BpbLiP','content','getDiff','data-id','new','node','getOperations','history','getRange'];_0xc9e5=function(){return _0x42d7ff;};return _0xc9e5();}export function getOperationsFromReply({editor:_0x19322c,interaction:_0x1e6320,reply:_0x425456,groups:_0x456b57,transform:_0xd389d8,documentCompare:_0x242bf6,documentCompareOptions:_0x3ada2c}){const _0xfe1526=_0x55e6,_0x1027ea=_0x1e6320[_0xfe1526(0x17b)]();if(!_0x1027ea)return[];const _0x3b7aab=_0x1027ea[_0xfe1526(0x167)],_0x5f1be1=_0x1027ea[_0xfe1526(0x15f)],_0x5b6bb4=_0x425456[_0xfe1526(0x172)][_0xfe1526(0x15d)](!0x0);for(const {changes:_0x3366f0}of _0x456b57){const _0x2034b9=_0x3366f0[_0xfe1526(0x17a)](_0x2f4953=>_0xfe1526(0x16a)!=_0x2f4953[_0xfe1526(0x161)])[_0xfe1526(0x180)](_0x54deef=>_0x1b02b4(_0xfe1526(0x169),_0x54deef['id'],_0x5b6bb4)),_0x2fde79=_0x3366f0[_0xfe1526(0x17a)](_0x249a45=>_0xfe1526(0x171)!=_0x249a45[_0xfe1526(0x161)])[_0xfe1526(0x180)](_0xc9f941=>_0xc9f941[_0xfe1526(0x16b)][_0xfe1526(0x15d)](!0x0));let _0x338ea1=null;if(_0x2034b9[_0xfe1526(0x164)]){_0x338ea1=_0x2034b9[0x0][_0xfe1526(0x178)];for(let _0x324a4f=0x0;_0x324a4f<_0x2034b9[_0xfe1526(0x164)];_0x324a4f++)_0x425224(_0x2034b9[_0x324a4f]);}if(_0x2fde79[_0xfe1526(0x164)]){_0x338ea1||(_0x3366f0[0x0][_0xfe1526(0x165)]?_0x338ea1=_0x1b02b4(_0xfe1526(0x169),_0x3366f0[0x0][_0xfe1526(0x165)],_0x5b6bb4):(_0x338ea1=_0x2fde79[_0xfe1526(0x182)](),_0x3b2f98(_0x5b6bb4,_0x338ea1)));for(let _0x1c9cc0=0x0;_0x1c9cc0<_0x2fde79[_0xfe1526(0x164)];_0x1c9cc0++)_0x154d49(_0x338ea1,_0x2fde79[_0x1c9cc0]),_0x338ea1=_0x2fde79[_0x1c9cc0];}}const _0x3727ac=_0x2c2ae0(_0x5b6bb4),_0xed5b12=_0x242bf6[_0xfe1526(0x168)](_0x3b7aab,_0x3727ac,_0x3ada2c)[_0xfe1526(0x16c)]();if(_0xd389d8){const _0xb4c72b=_0x19322c[_0xfe1526(0x17e)][_0xfe1526(0x174)][_0xfe1526(0x16d)][_0xfe1526(0x16c)](_0x5f1be1),_0x3ed654={'document':_0x19322c[_0xfe1526(0x17e)][_0xfe1526(0x174)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x11b4d3(_0xed5b12,_0xb4c72b,_0x3ed654)[_0xfe1526(0x176)];}return _0xed5b12;}function _0x55e6(_0xc3d97f,_0x1bd086){const _0xc9e596=_0xc9e5();return _0x55e6=function(_0x55e668,_0x234eb7){_0x55e668=_0x55e668-0x15d;let _0x2e5be4=_0xc9e596[_0x55e668];return _0x2e5be4;},_0x55e6(_0xc3d97f,_0x1bd086);}export function fixMarkerOperationOldRange(_0x4b322c,_0x5d0165){const _0x293706=_0x55e6;if(_0x293706(0x17c)!=_0x5d0165[_0x293706(0x161)])return;const _0x59cdc6=_0x4b322c[_0x293706(0x17e)][_0x293706(0x181)][_0x293706(0x160)](_0x5d0165[_0x293706(0x17d)]);_0x59cdc6&&(_0x5d0165[_0x293706(0x173)]=_0x59cdc6[_0x293706(0x16e)]());}
23
+ function _0x3ce4(_0x2c2821,_0x2e381c){const _0x37406c=_0x3740();return _0x3ce4=function(_0x3ce49b,_0x550ccb){_0x3ce49b=_0x3ce49b-0x9c;let _0x4d15d6=_0x37406c[_0x3ce49b];return _0x4d15d6;},_0x3ce4(_0x2c2821,_0x2e381c);}(function(_0x1a3dbd,_0x3086d5){const _0x20270b=_0x3ce4,_0xb269ed=_0x1a3dbd();while(!![]){try{const _0x4a6a3b=parseInt(_0x20270b(0xb8))/0x1+parseInt(_0x20270b(0xa4))/0x2+-parseInt(_0x20270b(0xac))/0x3+parseInt(_0x20270b(0xa3))/0x4*(-parseInt(_0x20270b(0xa2))/0x5)+parseInt(_0x20270b(0x9f))/0x6+parseInt(_0x20270b(0xa6))/0x7+parseInt(_0x20270b(0xb0))/0x8;if(_0x4a6a3b===_0x3086d5)break;else _0xb269ed['push'](_0xb269ed['shift']());}catch(_0x3659cb){_0xb269ed['push'](_0xb269ed['shift']());}}}(_0x3740,0x97f18));import{transformOperationSets as _0x31bd5b}from'ckeditor5/src/engine.js';import{append as _0x4da049,findByAttribute as _0x17864d,prependChild as _0xc71978,removeElement as _0x24c72f,serialize as _0x5b1025}from'./htmlparser.js';function _0x3740(){const _0x36391a=['494400nrjmCj','marker','81256EPOWyY','markers','shift','length','data-id','node','3694275EvmKyl','get','previousSibling','content','2968352wrOFOK','getRange','getDiff','model','type','new','name','document','819243HIyHNE','operationsA','anchorId','getDocumentContext','removed','version','documentContextContent','cloneNode','getOperations','filter','history','2630022NDkxse','oldRange','map','168235lLXsDs','4SvOwIC'];_0x3740=function(){return _0x36391a;};return _0x3740();}export function getOperationsFromReply({editor:_0x1db396,interaction:_0x2b3994,reply:_0x19f5ae,groups:_0x3a408a,transform:_0x1733b1,documentCompare:_0x4e053a,documentCompareOptions:_0x50fd9a}){const _0x59316c=_0x3ce4,_0x53de4f=_0x2b3994[_0x59316c(0xbb)]();if(!_0x53de4f)return[];const _0x1f478d=_0x53de4f[_0x59316c(0xaf)],_0x1454f9=_0x53de4f[_0x59316c(0xbd)],_0x2d5fb6=_0x19f5ae[_0x59316c(0xbe)][_0x59316c(0xbf)](!0x0);for(const {changes:_0x435f92}of _0x3a408a){const _0x30be2b=_0x435f92[_0x59316c(0x9d)](_0x22e681=>_0x59316c(0xb5)!=_0x22e681[_0x59316c(0xb4)])[_0x59316c(0xa1)](_0x3ce548=>_0x17864d(_0x59316c(0xaa),_0x3ce548['id'],_0x2d5fb6)),_0x426dbe=_0x435f92[_0x59316c(0x9d)](_0x547fe7=>_0x59316c(0xbc)!=_0x547fe7[_0x59316c(0xb4)])[_0x59316c(0xa1)](_0x2c1bf5=>_0x2c1bf5[_0x59316c(0xab)][_0x59316c(0xbf)](!0x0));let _0x78f0ac=null;if(_0x30be2b[_0x59316c(0xa9)]){_0x78f0ac=_0x30be2b[0x0][_0x59316c(0xae)];for(let _0x3bbc5a=0x0;_0x3bbc5a<_0x30be2b[_0x59316c(0xa9)];_0x3bbc5a++)_0x24c72f(_0x30be2b[_0x3bbc5a]);}if(_0x426dbe[_0x59316c(0xa9)]){_0x78f0ac||(_0x435f92[0x0][_0x59316c(0xba)]?_0x78f0ac=_0x17864d(_0x59316c(0xaa),_0x435f92[0x0][_0x59316c(0xba)],_0x2d5fb6):(_0x78f0ac=_0x426dbe[_0x59316c(0xa8)](),_0xc71978(_0x2d5fb6,_0x78f0ac)));for(let _0x4f06be=0x0;_0x4f06be<_0x426dbe[_0x59316c(0xa9)];_0x4f06be++)_0x4da049(_0x78f0ac,_0x426dbe[_0x4f06be]),_0x78f0ac=_0x426dbe[_0x4f06be];}}const _0x56cb98=_0x5b1025(_0x2d5fb6),_0xc0b58f=_0x4e053a[_0x59316c(0xb2)](_0x1f478d,_0x56cb98,_0x50fd9a)[_0x59316c(0x9c)]();if(_0x1733b1){const _0x46e4f0=_0x1db396[_0x59316c(0xb3)][_0x59316c(0xb7)][_0x59316c(0x9e)][_0x59316c(0x9c)](_0x1454f9),_0x871f30={'document':_0x1db396[_0x59316c(0xb3)][_0x59316c(0xb7)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x31bd5b(_0xc0b58f,_0x46e4f0,_0x871f30)[_0x59316c(0xb9)];}return _0xc0b58f;}export function fixMarkerOperationOldRange(_0x568ec5,_0x155dfa){const _0x30bc6a=_0x3ce4;if(_0x30bc6a(0xa5)!=_0x155dfa[_0x30bc6a(0xb4)])return;const _0xc85787=_0x568ec5[_0x30bc6a(0xb3)][_0x30bc6a(0xa7)][_0x30bc6a(0xad)](_0x155dfa[_0x30bc6a(0xb6)]);_0xc85787&&(_0x155dfa[_0x30bc6a(0xa0)]=_0xc85787[_0x30bc6a(0xb1)]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4bf4e0,_0x1b41e8){const _0x408588=_0xa6fe,_0x44246e=_0x4bf4e0();while(!![]){try{const _0x4c74fd=-parseInt(_0x408588(0xcd))/0x1*(parseInt(_0x408588(0xae))/0x2)+-parseInt(_0x408588(0x8c))/0x3+parseInt(_0x408588(0xa1))/0x4+parseInt(_0x408588(0xb5))/0x5*(-parseInt(_0x408588(0xdc))/0x6)+parseInt(_0x408588(0xc5))/0x7+-parseInt(_0x408588(0x9f))/0x8*(parseInt(_0x408588(0x98))/0x9)+parseInt(_0x408588(0xc0))/0xa;if(_0x4c74fd===_0x1b41e8)break;else _0x44246e['push'](_0x44246e['shift']());}catch(_0x570476){_0x44246e['push'](_0x44246e['shift']());}}}(_0xdbfe,0xbf4ab));import{findOne as _0x454019,getAttribute as _0x3b1a41,Document as _0x37cc74,serialize as _0x1977da,parse as _0x438b93}from'./htmlparser.js';import{fixElementSuggestionRange as _0x47eb8e}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x118c4b,_DetachOperation as _0xf852b7,_removeFromModelNodeList as _0xa2a93b,_insertIntoModelNodeList as _0x12f4c1}from'ckeditor5/src/engine.js';import{uid as _0x49269a}from'ckeditor5/src/utils.js';function _0xdbfe(){const _0x6e616d=['path','_createFromRanges','addOperation','offset','range','start','rename','parse','plugins','parent','name','$text','marker','changeAttribute','baseVersion','_getTransformedByInsertion','slice','isRegisteredAttribute','newName','getDiff','reverse','nodeBefore','batch','isObject','focus','createSelection','add','oldName','index','createRangeOn','isBlock','createPositionAt','delete','665067yjDmbL','end','forward','suggestion:attribute:','insert','cloneNode','getOperations','root','DocumentCompare','newRange','getMovedRangeStart','length','3554541oULioq','suggestion:formatBlock:$fakeWrap:','stringify','suggestion:insertion:',':$aiSuggestion','isDocumentOperation','setTo','8QKNZBp','set','3463680lDwlqJ','suggestion:deletion:','get','isMarkedRemoveOperation','clone','getMinimalFlatRanges','removed','$elementName','type','getTransformedByOperation','nodeAfter','toNone','addAttribute','104OMoGxB','map','remove','split','targetPosition','$root','element','155bVLqpz','SuggestionsConversion','word','applyOperation','...','change','node','push','schema','new','move','18339000HkMJtR','sourcePosition','children','modifySelection','POSITIVE_INFINITY','1426544PIIqZp','changes','textNode','markers','position','createRange','getShiftedBy','key','19576rZuwNy','newValue','merge','oldValue','getFirstRange','isAfter','moveTargetPosition','stickiness','data-id','splitPosition','isBefore','_getTransformedByDeletion','removeAttribute','data','backward','93966DHinKN','model','createPositionFromPath','howMany'];_0xdbfe=function(){return _0x6e616d;};return _0xdbfe();}export function getSuggestionPartsFromReply({editor:_0x5a9a42,changeGroups:_0x354103,documentContextContent:_0x261453,showDiff:_0x123f3a,trimUnchanged:_0x4c3e8f=!0x0}){const _0x4357df=_0xa6fe;return _0x354103[_0x4357df(0xaf)](_0x869790=>{const _0x20c9a2=_0x4357df,_0xb19e36=new _0x37cc74([]),_0x3f62f1=new _0x37cc74([]);for(const _0x5d786d of _0x869790[_0x20c9a2(0xc6)])if(_0x123f3a&&_0x20c9a2(0xa7)==_0x5d786d[_0x20c9a2(0xa9)]||_0x3f62f1[_0x20c9a2(0xc2)][_0x20c9a2(0xbc)](_0x5d786d[_0x20c9a2(0xbb)][_0x20c9a2(0x91)](!0x0)),_0x20c9a2(0xbe)!=_0x5d786d[_0x20c9a2(0xa9)]&&(_0x123f3a||_0x20c9a2(0xa7)!=_0x5d786d[_0x20c9a2(0xa9)])){const _0x589879=_0x454019(_0x478b9e=>_0x3b1a41(_0x478b9e,_0x20c9a2(0xd5))==_0x5d786d['id'],_0x261453,!0x0);_0x589879&&_0xb19e36[_0x20c9a2(0xc2)][_0x20c9a2(0xbc)](_0x589879[_0x20c9a2(0x91)](!0x0));}const {content:_0x14e6c8,hasChanges:_0x53738d}=function(_0x50bdc3,_0x5bb786,_0x5dbeb9,_0x27e0fd,_0x474f88=!0x0){const _0x1f709c=_0x20c9a2,_0x5c8916=_0x50bdc3[_0x1f709c(0xe8)][_0x1f709c(0xa3)](_0x1f709c(0x94)),_0x48e714=_0x1977da(_0x5bb786),_0x1c6088=_0x1977da(_0x5dbeb9),_0x719699=_0x50bdc3[_0x1f709c(0xda)][_0x1f709c(0xe7)](_0x48e714,_0x1f709c(0xb3)),_0x39f4ac=_0x50bdc3[_0x1f709c(0xdd)][_0x1f709c(0x8a)](_0x719699,0x0),_0x146373=_0x5c8916[_0x1f709c(0xf3)](_0x48e714,_0x1c6088,{'anchor':_0x39f4ac,'markDeletions':_0x27e0fd}),_0x3670a9=_0x146373[_0x1f709c(0x92)]();if(0x0==_0x3670a9[_0x1f709c(0x97)])return{'content':_0x5bb786[_0x1f709c(0x91)](!0x0),'hasChanges':!0x1};_0x27e0fd?function(_0x3667a0,_0x1772af,_0x39e8b5){const _0x1df004=_0x1f709c;if(0x0==_0x3667a0[_0x1df004(0x97)])return;const _0x44dbe3=_0x39e8b5[_0x1df004(0xe8)][_0x1df004(0xa3)](_0x1df004(0x94)),_0x523743=_0x39e8b5[_0x1df004(0xe8)][_0x1df004(0xa3)](_0x1df004(0xb6));_0x39e8b5[_0x1df004(0xdd)][_0x1df004(0xba)](_0x2de90f=>{const _0x2a17ce=_0x1df004,_0x143dcc=new Set();for(let _0x35988e=0x0;_0x35988e<_0x3667a0[_0x2a17ce(0x97)];_0x35988e++){const _0x23fc8c=_0x3667a0[_0x35988e];if(_0x23fc8c[_0x2a17ce(0xee)]=null,_0x23fc8c[_0x2a17ce(0x9d)]=!0x1,_0x44dbe3[_0x2a17ce(0xa4)](_0x23fc8c)){const _0x30aa01=_0x47eb8e(_0x23fc8c[_0x2a17ce(0x95)],_0x39e8b5[_0x2a17ce(0xdd)]),_0x2c5999=_0x2a17ce(0xa2)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x2c5999,_0x30aa01);}else switch(_0x23fc8c[_0x2a17ce(0xa9)]){case _0x2a17ce(0xe6):{if(_0x23fc8c[_0x2a17ce(0x86)]==_0x23fc8c[_0x2a17ce(0xf2)])break;_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);const _0x3138c0=_0x2a17ce(0xa8),_0x5f2ccc=_0x23fc8c[_0x2a17ce(0xc9)],_0x3b2f6f=_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xca)](_0x5f2ccc,_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0x8a)](_0x5f2ccc[_0x2a17ce(0xab)],_0x2a17ce(0x8d))),_0x344f7b=_0x2a17ce(0x8f)+_0x3138c0+':'+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x344f7b,_0x3b2f6f);break;}case _0x2a17ce(0xad):case _0x2a17ce(0xd9):case _0x2a17ce(0xed):{if(_0x23fc8c[_0x2a17ce(0xd0)]==_0x23fc8c[_0x2a17ce(0xce)])break;_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);const _0x4c9110=_0x23fc8c[_0x2a17ce(0xcc)];if(!_0x523743[_0x2a17ce(0xf1)](_0x4c9110))break;const _0x3f6e51=_0x47eb8e(_0x23fc8c[_0x2a17ce(0xe4)],_0x39e8b5[_0x2a17ce(0xdd)]),_0x2abd4d=_0x2a17ce(0x8f)+_0x4c9110+':'+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x2abd4d,_0x3f6e51);break;}case _0x2a17ce(0x90):{_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);if(_0x3667a0[_0x35988e+0x1]&&_0x2a17ce(0xbf)==_0x3667a0[_0x35988e+0x1][_0x2a17ce(0xa9)]){no(_0x1772af,_0x23fc8c);break;}const _0x3690b7=_0x23fc8c[_0x2a17ce(0xc9)],_0x1228b4=_0x23fc8c[_0x2a17ce(0xdf)],_0x4ccb47=_0x47eb8e(_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xca)](_0x3690b7,_0x3690b7[_0x2a17ce(0xcb)](_0x1228b4)),_0x39e8b5[_0x2a17ce(0xdd)]),_0x9c7249=_0x2a17ce(0x9b)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x9c7249,_0x4ccb47);break;}case _0x2a17ce(0xb1):{_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);const _0x5165d7=_0x23fc8c[_0x2a17ce(0xd6)],_0x418b92=_0x23fc8c[_0x2a17ce(0xd3)],_0x2ad587=_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xca)](_0x5165d7,_0x418b92),_0x85f9cd=_0x2a17ce(0x9b)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x85f9cd,_0x2ad587);break;}case _0x2a17ce(0xbf):{_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c),_0x3667a0[_0x35988e-0x1]&&_0x2a17ce(0x90)==_0x3667a0[_0x35988e-0x1][_0x2a17ce(0xa9)]&&no(_0x1772af,_0x23fc8c);const _0x24a6b8=_0x23fc8c[_0x2a17ce(0x96)](),_0x517441=_0x23fc8c[_0x2a17ce(0xdf)];for(let _0x57661c=0x0;_0x57661c<_0x517441;_0x57661c++){const _0x594ba2=_0x24a6b8[_0x2a17ce(0xcb)](_0x57661c)[_0x2a17ce(0xab)];_0x143dcc[_0x2a17ce(0x85)](_0x594ba2);}break;}case _0x2a17ce(0xb0):{const _0x1fe45f=_0x23fc8c[_0x2a17ce(0xc1)],_0x4e9059=_0x23fc8c[_0x2a17ce(0xdf)],_0x59e627=new _0xf852b7(_0x1fe45f,_0x4e9059);_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x59e627),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x59e627);break;}}}for(const _0x2c3584 of _0x143dcc){const _0x25d66a=_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0x88)](_0x2c3584),_0x54b4f5=_0x2a17ce(0x99)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x54b4f5,_0x47eb8e(_0x25d66a,_0x39e8b5[_0x2a17ce(0xdd)]));}});}(_0x3670a9,_0x719699,_0x50bdc3):_0x50bdc3[_0x1f709c(0xdd)][_0x1f709c(0xba)](_0x2fe660=>{const _0x2eba34=_0x1f709c;for(const _0x56ee38 of _0x3670a9)if(_0x2eba34(0xb0)==_0x56ee38[_0x2eba34(0xa9)]){const _0x2c9380=_0x56ee38[_0x2eba34(0xc1)],_0x22ec57=_0x56ee38[_0x2eba34(0xdf)],_0x2bdb70=new _0xf852b7(_0x2c9380,_0x22ec57);_0x2fe660[_0x2eba34(0xf6)][_0x2eba34(0xe2)](_0x2bdb70),_0x50bdc3[_0x2eba34(0xdd)][_0x2eba34(0xb8)](_0x2bdb70);}else{if(_0x2eba34(0xec)==_0x56ee38[_0x2eba34(0xa9)]){const _0x1c4e3f=_0x56ee38[_0x2eba34(0xea)],_0x4e5d44=_0x56ee38[_0x2eba34(0x95)];null!==_0x4e5d44?_0x719699[_0x2eba34(0xc8)][_0x2eba34(0xa0)](_0x1c4e3f,_0x4e5d44):_0x719699[_0x2eba34(0xc8)][_0x2eba34(0x8b)](_0x1c4e3f);}else _0x56ee38[_0x2eba34(0xee)]=null,_0x56ee38[_0x2eba34(0x9d)]=!0x1,_0x2fe660[_0x2eba34(0xf6)][_0x2eba34(0xe2)](_0x56ee38),_0x50bdc3[_0x2eba34(0xdd)][_0x2eba34(0xb8)](_0x56ee38);}});if(_0x474f88){const _0x51de64=getMinimalSelection(_0x50bdc3,_0x3670a9,_0x719699);expandSelectionWithContext(_0x50bdc3[_0x1f709c(0xdd)],_0x51de64),function(_0x360fc3,_0x5acf7a){const _0x290e94=_0x1f709c,_0x383b48=_0x5acf7a[_0x290e94(0xd1)]()[_0x290e94(0xe5)];let _0x1bb7ba=_0x5acf7a[_0x290e94(0xd1)]()[_0x290e94(0x8d)];const _0xee5529=_0x383b48[_0x290e94(0x93)];(_0x1bb7ba[_0x290e94(0xc7)]||_0x1bb7ba[_0x290e94(0xab)]&&_0x1bb7ba[_0x290e94(0xab)]['is'](_0x290e94(0xeb)))&&(_0x12f4c1(_0x1bb7ba,_0x290e94(0xb9)),_0x1bb7ba=_0x1bb7ba[_0x290e94(0xcb)](0x3)),(_0x383b48[_0x290e94(0xc7)]||_0x383b48[_0x290e94(0xf5)]&&_0x383b48[_0x290e94(0xf5)]['is'](_0x290e94(0xeb)))&&(_0x12f4c1(_0x383b48,_0x290e94(0xb9)),function(_0x4115bd,_0x3afe54,_0x31f007){const _0x33673c=_0x290e94;for(let [_0x2add45,_0x1d4da2]of _0x4115bd[_0x33673c(0xc8)]){const _0x34ce15=_0x1d4da2[_0x33673c(0xef)](_0x3afe54,_0x31f007,!0x1);_0x1d4da2=_0x34ce15[0x0],_0x4115bd[_0x33673c(0xc8)][_0x33673c(0xa0)](_0x2add45,_0x1d4da2);}}(_0xee5529,_0x383b48,0x3),_0x383b48[_0x290e94(0xe9)]==_0x1bb7ba[_0x290e94(0xe9)]&&(_0x1bb7ba=_0x1bb7ba[_0x290e94(0xcb)](0x3)));const _0x2fac7b=_0x360fc3[_0x290e94(0xca)](_0x360fc3[_0x290e94(0x8a)](_0xee5529,0x0),_0x383b48),_0x410d34=_0x360fc3[_0x290e94(0xca)](_0x1bb7ba,_0x360fc3[_0x290e94(0x8a)](_0xee5529,_0x290e94(0x8d))),_0x584949=[..._0x2fac7b[_0x290e94(0xa6)](),..._0x410d34[_0x290e94(0xa6)]()];_0x584949[_0x290e94(0xf4)]();for(const _0x599396 of _0x584949)_0xa2a93b(_0x599396),_transformMarkersByDeletion(_0xee5529,_0x599396);}(_0x50bdc3[_0x1f709c(0xdd)],_0x51de64);}const _0x5ab847=_0x50bdc3[_0x1f709c(0xda)][_0x1f709c(0x9a)](_0x719699,{'showSuggestionHighlights':!0x0});return{'content':_0x438b93(_0x5ab847),'hasChanges':!0x0};}(_0x5a9a42,_0xb19e36,_0x3f62f1,_0x123f3a,_0x4c3e8f);return{'type':_0x869790[_0x20c9a2(0xc6)][0x0][_0x20c9a2(0xa9)],'index':_0x869790[_0x20c9a2(0x87)],'content':_0x14e6c8,'hasChanges':_0x53738d};});}function no(_0x1b7e01,_0x281dab){const _0x518c71=_0xa6fe;for(const [_0x265119,_0x469298]of _0x1b7e01[_0x518c71(0xc8)]){const _0x35d283=_0x118c4b[_0x518c71(0xe1)](_0x469298[_0x518c71(0xaa)](_0x281dab));_0x1b7e01[_0x518c71(0xc8)][_0x518c71(0xa0)](_0x265119,_0x35d283);}}export function getMinimalSelection(_0x3eaa75,_0x107937,_0x3f9d59){const _0x5c1ade=_0xa6fe,_0x2aa637=_0x3eaa75[_0x5c1ade(0xe8)][_0x5c1ade(0xa3)](_0x5c1ade(0x94));let _0x1254fe=_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0x8a)](_0x3f9d59,Number[_0x5c1ade(0xc4)]),_0x2c2f5=_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0x8a)](_0x3f9d59,0x0);for(const _0x4319f9 of _0x107937){let _0x1f02f7,_0x1096c7;if(_0x2aa637[_0x5c1ade(0xa4)](_0x4319f9))_0x1f02f7=_0x4319f9[_0x5c1ade(0x95)][_0x5c1ade(0xe5)],_0x1096c7=_0x4319f9[_0x5c1ade(0x95)][_0x5c1ade(0x8d)];else switch(_0x1254fe=_0x1254fe[_0x5c1ade(0xaa)](_0x4319f9),_0x2c2f5=_0x2c2f5[_0x5c1ade(0xaa)](_0x4319f9),_0x4319f9[_0x5c1ade(0xa9)]){case _0x5c1ade(0xe6):_0x1f02f7=_0x4319f9[_0x5c1ade(0xc9)],_0x1096c7=_0x1f02f7[_0x5c1ade(0xcb)](0x1);break;case _0x5c1ade(0xad):case _0x5c1ade(0xd9):case _0x5c1ade(0xed):_0x1f02f7=_0x4319f9[_0x5c1ade(0xe4)][_0x5c1ade(0xe5)],_0x1096c7=_0x4319f9[_0x5c1ade(0xe4)][_0x5c1ade(0x8d)];break;case _0x5c1ade(0x90):_0x1f02f7=_0x4319f9[_0x5c1ade(0xc9)],_0x1096c7=_0x1f02f7[_0x5c1ade(0xcb)](_0x4319f9[_0x5c1ade(0xdf)]);break;case _0x5c1ade(0xb1):_0x1f02f7=_0x4319f9[_0x5c1ade(0xd6)],_0x1096c7=_0x4319f9[_0x5c1ade(0xd3)];break;case _0x5c1ade(0xcf):{const _0x2c07cd=_0x4319f9[_0x5c1ade(0xb2)][_0x5c1ade(0xe0)][_0x5c1ade(0xf0)](0x0,-0x1);_0x1f02f7=_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0xde)](_0x3f9d59,_0x2c07cd),_0x1096c7=_0x1f02f7[_0x5c1ade(0xcb)](0x1);break;}case _0x5c1ade(0xb0):{const _0x3ecdb8=_0x4319f9[_0x5c1ade(0xdf)],_0x2c858c=_0x4319f9[_0x5c1ade(0xc1)][_0x5c1ade(0xef)](_0x4319f9[_0x5c1ade(0xb2)],_0x3ecdb8),_0x725ceb=_0x4319f9[_0x5c1ade(0x96)]();_0x5c1ade(0xb0)==_0x4319f9[_0x5c1ade(0xa9)]?(_0x1f02f7=_0x2c858c,_0x1096c7=_0x2c858c):(_0x1f02f7=_0x725ceb,_0x1096c7=_0x725ceb[_0x5c1ade(0xcb)](_0x3ecdb8));break;}}_0x1f02f7&&_0x1f02f7[_0x5c1ade(0xd7)](_0x1254fe)&&(_0x1254fe=_0x1f02f7[_0x5c1ade(0xa5)](),_0x1254fe[_0x5c1ade(0xd4)]=_0x5c1ade(0xac)),_0x1096c7&&_0x1096c7[_0x5c1ade(0xd2)](_0x2c2f5)&&(_0x2c2f5=_0x1096c7[_0x5c1ade(0xa5)](),_0x2c2f5[_0x5c1ade(0xd4)]=_0x5c1ade(0xac));}return _0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0xf9)](_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0xca)](_0x1254fe,_0x2c2f5));}export function expandSelectionWithContext(_0x3ad3cb,_0x4a05c1){const _0x154d09=_0xa6fe;ro(_0x3ad3cb,_0x4a05c1,_0x154d09(0x8e));const _0x3d35d8=_0x4a05c1[_0x154d09(0xd1)]();_0x4a05c1[_0x154d09(0x9e)]([]),_0x4a05c1[_0x154d09(0x9e)](_0x3d35d8,{'backward':!0x0}),ro(_0x3ad3cb,_0x4a05c1,_0x154d09(0xdb));}function ro(_0x11f8bd,_0x91c0a4,_0x1324cb){const _0x350a29=_0xa6fe;let _0x3551aa=0x14;for(;_0x3551aa;){_0x11f8bd[_0x350a29(0xc3)](_0x91c0a4,{'unit':_0x350a29(0xb7),'direction':_0x1324cb}),_0x3551aa--;const _0x1dddc0=_0x91c0a4[_0x350a29(0xf8)][_0x350a29(0x8e)==_0x1324cb?_0x350a29(0xf5):_0x350a29(0xab)];if(_0x1dddc0&&_0x1dddc0['is'](_0x350a29(0xb4))&&_0x11f8bd[_0x350a29(0xbd)][_0x350a29(0x89)](_0x1dddc0)&&_0x11f8bd[_0x350a29(0xbd)][_0x350a29(0xf7)](_0x1dddc0))break;}}function _0xa6fe(_0x4330ca,_0x1dc7ea){const _0xdbfe60=_0xdbfe();return _0xa6fe=function(_0xa6fe43,_0xca8e4a){_0xa6fe43=_0xa6fe43-0x85;let _0xcb4757=_0xdbfe60[_0xa6fe43];return _0xcb4757;},_0xa6fe(_0x4330ca,_0x1dc7ea);}export function _transformMarkersByDeletion(_0x3df5c0,_0x3bf35e){const _0x1d0691=_0xa6fe;for(const [_0x440e97,_0x37cd52]of _0x3df5c0[_0x1d0691(0xc8)]){const _0x13f86e=_0x37cd52[_0x1d0691(0xd8)](_0x3bf35e[_0x1d0691(0xe5)],_0x3bf35e[_0x1d0691(0x8d)][_0x1d0691(0xe3)]-_0x3bf35e[_0x1d0691(0xe5)][_0x1d0691(0xe3)]);null!=_0x13f86e?_0x3df5c0[_0x1d0691(0xc8)][_0x1d0691(0xa0)](_0x440e97,_0x13f86e):_0x3df5c0[_0x1d0691(0xc8)][_0x1d0691(0x8b)](_0x440e97);}}
23
+ (function(_0x377b68,_0x3a314a){const _0x3ad62d=_0x2546,_0x93eb9f=_0x377b68();while(!![]){try{const _0x559f79=-parseInt(_0x3ad62d(0x1ac))/0x1+parseInt(_0x3ad62d(0x1ab))/0x2*(-parseInt(_0x3ad62d(0x19d))/0x3)+parseInt(_0x3ad62d(0x180))/0x4*(parseInt(_0x3ad62d(0x184))/0x5)+-parseInt(_0x3ad62d(0x169))/0x6+-parseInt(_0x3ad62d(0x18b))/0x7+-parseInt(_0x3ad62d(0x1a2))/0x8*(parseInt(_0x3ad62d(0x15a))/0x9)+parseInt(_0x3ad62d(0x1c1))/0xa;if(_0x559f79===_0x3a314a)break;else _0x93eb9f['push'](_0x93eb9f['shift']());}catch(_0x9e8b8e){_0x93eb9f['push'](_0x93eb9f['shift']());}}}(_0x27cb,0x7b622));import{findOne as _0x166997,getAttribute as _0x4bc301,Document as _0x5af33c,serialize as _0x16be5c,parse as _0x442179}from'./htmlparser.js';import{fixElementSuggestionRange as _0x579067}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2546(_0x4b099d,_0x417549){const _0x27cb42=_0x27cb();return _0x2546=function(_0x2546f0,_0x4cdefc){_0x2546f0=_0x2546f0-0x14f;let _0x397adb=_0x27cb42[_0x2546f0];return _0x397adb;},_0x2546(_0x4b099d,_0x417549);}function _0x27cb(){const _0x3ab836=['$elementName','getMovedRangeStart','22545020UrNEas','add','createSelection','addAttribute','reverse','createRange','forward','getTransformedByOperation','sourcePosition','getFirstRange','model','batch','...','clone','7823097wKmFHr','index','addOperation','isDocumentOperation',':$aiSuggestion','howMany','changeAttribute','data-id','suggestion:attribute:','stickiness','oldValue','push','removeAttribute','POSITIVE_INFINITY','root','5117142qFJrgs','range','splitPosition','marker','toNone','isBefore','getOperations','insert','schema','end','change','newValue','cloneNode','isRegisteredAttribute','DocumentCompare','type','modifySelection','path','$text','remove','_createFromRanges','backward','element','96692KZzZGU','map','length','get','185dkPhAr','split','_getTransformedByInsertion','stringify','targetPosition','new','rename','4371087VkfYiN','SuggestionsConversion','$root','getDiff','merge','nodeBefore','offset','isObject','move','createRangeOn','newRange','createPositionAt','getMinimalFlatRanges','suggestion:insertion:','moveTargetPosition','slice','data','textNode','423IGhKks','setTo','children','parse','focus','8HGrnPx','delete','suggestion:formatBlock:$fakeWrap:','set','isAfter','word','newName','nodeAfter','oldName','1010CgXUvu','225789nMLkiN','removed','position','plugins','key','name','markers','isBlock','changes','getShiftedBy','createPositionFromPath','suggestion:deletion:','isMarkedRemoveOperation','_getTransformedByDeletion','applyOperation','parent','baseVersion','node','start'];_0x27cb=function(){return _0x3ab836;};return _0x27cb();}import{ModelRange as _0x22b3af,_DetachOperation as _0x3a24a6,_removeFromModelNodeList as _0x55c1fe,_insertIntoModelNodeList as _0x1990ef}from'ckeditor5/src/engine.js';import{uid as _0x23fad5}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x4897f5,changeGroups:_0x19651c,documentContextContent:_0x55ce55,showDiff:_0x5291de,trimUnchanged:_0x273bda=!0x0}){const _0x119b2f=_0x2546;return _0x19651c[_0x119b2f(0x181)](_0xf37c8e=>{const _0x4e5679=_0x119b2f,_0x1ba27f=new _0x5af33c([]),_0x153f46=new _0x5af33c([]);for(const _0x4a2b19 of _0xf37c8e[_0x4e5679(0x1b4)])if(_0x5291de&&_0x4e5679(0x1ad)==_0x4a2b19[_0x4e5679(0x178)]||_0x153f46[_0x4e5679(0x19f)][_0x4e5679(0x165)](_0x4a2b19[_0x4e5679(0x1bd)][_0x4e5679(0x175)](!0x0)),_0x4e5679(0x189)!=_0x4a2b19[_0x4e5679(0x178)]&&(_0x5291de||_0x4e5679(0x1ad)!=_0x4a2b19[_0x4e5679(0x178)])){const _0x5b45f2=_0x166997(_0x32861e=>_0x4bc301(_0x32861e,_0x4e5679(0x161))==_0x4a2b19['id'],_0x55ce55,!0x0);_0x5b45f2&&_0x1ba27f[_0x4e5679(0x19f)][_0x4e5679(0x165)](_0x5b45f2[_0x4e5679(0x175)](!0x0));}const {content:_0x2db8e3,hasChanges:_0x1a93b8}=function(_0x33df0a,_0x368e73,_0x6ba459,_0x32be0c,_0x20d49d=!0x0){const _0x4bcf4d=_0x4e5679,_0x34ef38=_0x33df0a[_0x4bcf4d(0x1af)][_0x4bcf4d(0x183)](_0x4bcf4d(0x177)),_0x21ccf7=_0x16be5c(_0x368e73),_0x1a7c80=_0x16be5c(_0x6ba459),_0x458ab5=_0x33df0a[_0x4bcf4d(0x19b)][_0x4bcf4d(0x1a0)](_0x21ccf7,_0x4bcf4d(0x18d)),_0x2bb941=_0x33df0a[_0x4bcf4d(0x156)][_0x4bcf4d(0x196)](_0x458ab5,0x0),_0x360905=_0x34ef38[_0x4bcf4d(0x18e)](_0x21ccf7,_0x1a7c80,{'anchor':_0x2bb941,'markDeletions':_0x32be0c}),_0x3c13a3=_0x360905[_0x4bcf4d(0x16f)]();if(0x0==_0x3c13a3[_0x4bcf4d(0x182)])return{'content':_0x368e73[_0x4bcf4d(0x175)](!0x0),'hasChanges':!0x1};_0x32be0c?function(_0x319c05,_0x25b302,_0x20fec7){const _0x1b3f38=_0x4bcf4d;if(0x0==_0x319c05[_0x1b3f38(0x182)])return;const _0x155a57=_0x20fec7[_0x1b3f38(0x1af)][_0x1b3f38(0x183)](_0x1b3f38(0x177)),_0x20995a=_0x20fec7[_0x1b3f38(0x1af)][_0x1b3f38(0x183)](_0x1b3f38(0x18c));_0x20fec7[_0x1b3f38(0x156)][_0x1b3f38(0x173)](_0x51aa6e=>{const _0x30b7ae=_0x1b3f38,_0x2cb561=new Set();for(let _0x56b6dc=0x0;_0x56b6dc<_0x319c05[_0x30b7ae(0x182)];_0x56b6dc++){const _0x5d768f=_0x319c05[_0x56b6dc];if(_0x5d768f[_0x30b7ae(0x1bc)]=null,_0x5d768f[_0x30b7ae(0x15d)]=!0x1,_0x155a57[_0x30b7ae(0x1b8)](_0x5d768f)){const _0x25978b=_0x579067(_0x5d768f[_0x30b7ae(0x195)],_0x20fec7[_0x30b7ae(0x156)]),_0x21e9ba=_0x30b7ae(0x1b7)+_0x23fad5()+_0x30b7ae(0x15e);_0x25b302[_0x30b7ae(0x1b2)][_0x30b7ae(0x1a5)](_0x21e9ba,_0x25978b);}else switch(_0x5d768f[_0x30b7ae(0x178)]){case _0x30b7ae(0x18a):{if(_0x5d768f[_0x30b7ae(0x1aa)]==_0x5d768f[_0x30b7ae(0x1a8)])break;_0x51aa6e[_0x30b7ae(0x157)][_0x30b7ae(0x15c)](_0x5d768f),_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x1ba)](_0x5d768f);const _0x56b101=_0x30b7ae(0x1bf),_0x55a6bc=_0x5d768f[_0x30b7ae(0x1ae)],_0x286051=_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x151)](_0x55a6bc,_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x196)](_0x55a6bc[_0x30b7ae(0x1a9)],_0x30b7ae(0x172))),_0xb8c821=_0x30b7ae(0x162)+_0x56b101+':'+_0x23fad5()+_0x30b7ae(0x15e);_0x25b302[_0x30b7ae(0x1b2)][_0x30b7ae(0x1a5)](_0xb8c821,_0x286051);break;}case _0x30b7ae(0x14f):case _0x30b7ae(0x166):case _0x30b7ae(0x160):{if(_0x5d768f[_0x30b7ae(0x164)]==_0x5d768f[_0x30b7ae(0x174)])break;_0x51aa6e[_0x30b7ae(0x157)][_0x30b7ae(0x15c)](_0x5d768f),_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x1ba)](_0x5d768f);const _0x238832=_0x5d768f[_0x30b7ae(0x1b0)];if(!_0x20995a[_0x30b7ae(0x176)](_0x238832))break;const _0x527c42=_0x579067(_0x5d768f[_0x30b7ae(0x16a)],_0x20fec7[_0x30b7ae(0x156)]),_0x283013=_0x30b7ae(0x162)+_0x238832+':'+_0x23fad5()+_0x30b7ae(0x15e);_0x25b302[_0x30b7ae(0x1b2)][_0x30b7ae(0x1a5)](_0x283013,_0x527c42);break;}case _0x30b7ae(0x170):{_0x51aa6e[_0x30b7ae(0x157)][_0x30b7ae(0x15c)](_0x5d768f),_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x1ba)](_0x5d768f);if(_0x319c05[_0x56b6dc+0x1]&&_0x30b7ae(0x193)==_0x319c05[_0x56b6dc+0x1][_0x30b7ae(0x178)]){no(_0x25b302,_0x5d768f);break;}const _0x2d70e7=_0x5d768f[_0x30b7ae(0x1ae)],_0x5e801f=_0x5d768f[_0x30b7ae(0x15f)],_0x2aced3=_0x579067(_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x151)](_0x2d70e7,_0x2d70e7[_0x30b7ae(0x1b5)](_0x5e801f)),_0x20fec7[_0x30b7ae(0x156)]),_0x3e1e6c=_0x30b7ae(0x198)+_0x23fad5()+_0x30b7ae(0x15e);_0x25b302[_0x30b7ae(0x1b2)][_0x30b7ae(0x1a5)](_0x3e1e6c,_0x2aced3);break;}case _0x30b7ae(0x185):{_0x51aa6e[_0x30b7ae(0x157)][_0x30b7ae(0x15c)](_0x5d768f),_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x1ba)](_0x5d768f);const _0x1699f5=_0x5d768f[_0x30b7ae(0x16b)],_0xb4eb46=_0x5d768f[_0x30b7ae(0x199)],_0x5f1b5f=_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x151)](_0x1699f5,_0xb4eb46),_0x3998db=_0x30b7ae(0x198)+_0x23fad5()+_0x30b7ae(0x15e);_0x25b302[_0x30b7ae(0x1b2)][_0x30b7ae(0x1a5)](_0x3998db,_0x5f1b5f);break;}case _0x30b7ae(0x193):{_0x51aa6e[_0x30b7ae(0x157)][_0x30b7ae(0x15c)](_0x5d768f),_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x1ba)](_0x5d768f),_0x319c05[_0x56b6dc-0x1]&&_0x30b7ae(0x170)==_0x319c05[_0x56b6dc-0x1][_0x30b7ae(0x178)]&&no(_0x25b302,_0x5d768f);const _0x3e8c29=_0x5d768f[_0x30b7ae(0x1c0)](),_0x4bde1f=_0x5d768f[_0x30b7ae(0x15f)];for(let _0x39319c=0x0;_0x39319c<_0x4bde1f;_0x39319c++){const _0x357ed8=_0x3e8c29[_0x30b7ae(0x1b5)](_0x39319c)[_0x30b7ae(0x1a9)];_0x2cb561[_0x30b7ae(0x1c2)](_0x357ed8);}break;}case _0x30b7ae(0x17c):{const _0x1c3a5e=_0x5d768f[_0x30b7ae(0x154)],_0x3b9b3a=_0x5d768f[_0x30b7ae(0x15f)],_0x3fc3c3=new _0x3a24a6(_0x1c3a5e,_0x3b9b3a);_0x51aa6e[_0x30b7ae(0x157)][_0x30b7ae(0x15c)](_0x3fc3c3),_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x1ba)](_0x3fc3c3);break;}}}for(const _0x1c35ab of _0x2cb561){const _0x27108a=_0x20fec7[_0x30b7ae(0x156)][_0x30b7ae(0x194)](_0x1c35ab),_0x43a2d0=_0x30b7ae(0x1a4)+_0x23fad5()+_0x30b7ae(0x15e);_0x25b302[_0x30b7ae(0x1b2)][_0x30b7ae(0x1a5)](_0x43a2d0,_0x579067(_0x27108a,_0x20fec7[_0x30b7ae(0x156)]));}});}(_0x3c13a3,_0x458ab5,_0x33df0a):_0x33df0a[_0x4bcf4d(0x156)][_0x4bcf4d(0x173)](_0x707674=>{const _0x5b694c=_0x4bcf4d;for(const _0x9f36bb of _0x3c13a3)if(_0x5b694c(0x17c)==_0x9f36bb[_0x5b694c(0x178)]){const _0x515543=_0x9f36bb[_0x5b694c(0x154)],_0x425462=_0x9f36bb[_0x5b694c(0x15f)],_0xe22237=new _0x3a24a6(_0x515543,_0x425462);_0x707674[_0x5b694c(0x157)][_0x5b694c(0x15c)](_0xe22237),_0x33df0a[_0x5b694c(0x156)][_0x5b694c(0x1ba)](_0xe22237);}else{if(_0x5b694c(0x16c)==_0x9f36bb[_0x5b694c(0x178)]){const _0x37ed20=_0x9f36bb[_0x5b694c(0x1b1)],_0x43d5ef=_0x9f36bb[_0x5b694c(0x195)];null!==_0x43d5ef?_0x458ab5[_0x5b694c(0x1b2)][_0x5b694c(0x1a5)](_0x37ed20,_0x43d5ef):_0x458ab5[_0x5b694c(0x1b2)][_0x5b694c(0x1a3)](_0x37ed20);}else _0x9f36bb[_0x5b694c(0x1bc)]=null,_0x9f36bb[_0x5b694c(0x15d)]=!0x1,_0x707674[_0x5b694c(0x157)][_0x5b694c(0x15c)](_0x9f36bb),_0x33df0a[_0x5b694c(0x156)][_0x5b694c(0x1ba)](_0x9f36bb);}});if(_0x20d49d){const _0x3f2154=getMinimalSelection(_0x33df0a,_0x3c13a3,_0x458ab5);expandSelectionWithContext(_0x33df0a[_0x4bcf4d(0x156)],_0x3f2154),function(_0x5b0133,_0x2f97f7){const _0x1e4638=_0x4bcf4d,_0x1883c2=_0x2f97f7[_0x1e4638(0x155)]()[_0x1e4638(0x1be)];let _0x21bb03=_0x2f97f7[_0x1e4638(0x155)]()[_0x1e4638(0x172)];const _0x47b5c4=_0x1883c2[_0x1e4638(0x168)];(_0x21bb03[_0x1e4638(0x19c)]||_0x21bb03[_0x1e4638(0x1a9)]&&_0x21bb03[_0x1e4638(0x1a9)]['is'](_0x1e4638(0x17b)))&&(_0x1990ef(_0x21bb03,_0x1e4638(0x158)),_0x21bb03=_0x21bb03[_0x1e4638(0x1b5)](0x3)),(_0x1883c2[_0x1e4638(0x19c)]||_0x1883c2[_0x1e4638(0x190)]&&_0x1883c2[_0x1e4638(0x190)]['is'](_0x1e4638(0x17b)))&&(_0x1990ef(_0x1883c2,_0x1e4638(0x158)),function(_0x209516,_0x5660b0,_0xa7802b){const _0x297fab=_0x1e4638;for(let [_0x47dcb2,_0x194494]of _0x209516[_0x297fab(0x1b2)]){const _0x6f7441=_0x194494[_0x297fab(0x186)](_0x5660b0,_0xa7802b,!0x1);_0x194494=_0x6f7441[0x0],_0x209516[_0x297fab(0x1b2)][_0x297fab(0x1a5)](_0x47dcb2,_0x194494);}}(_0x47b5c4,_0x1883c2,0x3),_0x1883c2[_0x1e4638(0x1bb)]==_0x21bb03[_0x1e4638(0x1bb)]&&(_0x21bb03=_0x21bb03[_0x1e4638(0x1b5)](0x3)));const _0xace69c=_0x5b0133[_0x1e4638(0x151)](_0x5b0133[_0x1e4638(0x196)](_0x47b5c4,0x0),_0x1883c2),_0x805f43=_0x5b0133[_0x1e4638(0x151)](_0x21bb03,_0x5b0133[_0x1e4638(0x196)](_0x47b5c4,_0x1e4638(0x172))),_0x1b1078=[..._0xace69c[_0x1e4638(0x197)](),..._0x805f43[_0x1e4638(0x197)]()];_0x1b1078[_0x1e4638(0x150)]();for(const _0x1fc390 of _0x1b1078)_0x55c1fe(_0x1fc390),_transformMarkersByDeletion(_0x47b5c4,_0x1fc390);}(_0x33df0a[_0x4bcf4d(0x156)],_0x3f2154);}const _0x4752cf=_0x33df0a[_0x4bcf4d(0x19b)][_0x4bcf4d(0x187)](_0x458ab5,{'showSuggestionHighlights':!0x0});return{'content':_0x442179(_0x4752cf),'hasChanges':!0x0};}(_0x4897f5,_0x1ba27f,_0x153f46,_0x5291de,_0x273bda);return{'type':_0xf37c8e[_0x4e5679(0x1b4)][0x0][_0x4e5679(0x178)],'index':_0xf37c8e[_0x4e5679(0x15b)],'content':_0x2db8e3,'hasChanges':_0x1a93b8};});}function no(_0x179c2f,_0x335871){const _0x5606c5=_0x2546;for(const [_0x45e16c,_0x2efcc3]of _0x179c2f[_0x5606c5(0x1b2)]){const _0x36fc77=_0x22b3af[_0x5606c5(0x17d)](_0x2efcc3[_0x5606c5(0x153)](_0x335871));_0x179c2f[_0x5606c5(0x1b2)][_0x5606c5(0x1a5)](_0x45e16c,_0x36fc77);}}export function getMinimalSelection(_0x188a24,_0x1cbeb2,_0x46f0de){const _0x5f323c=_0x2546,_0x3d27d8=_0x188a24[_0x5f323c(0x1af)][_0x5f323c(0x183)](_0x5f323c(0x177));let _0x238162=_0x188a24[_0x5f323c(0x156)][_0x5f323c(0x196)](_0x46f0de,Number[_0x5f323c(0x167)]),_0x57b54e=_0x188a24[_0x5f323c(0x156)][_0x5f323c(0x196)](_0x46f0de,0x0);for(const _0xb0fa0c of _0x1cbeb2){let _0x515b88,_0x619c34;if(_0x3d27d8[_0x5f323c(0x1b8)](_0xb0fa0c))_0x515b88=_0xb0fa0c[_0x5f323c(0x195)][_0x5f323c(0x1be)],_0x619c34=_0xb0fa0c[_0x5f323c(0x195)][_0x5f323c(0x172)];else switch(_0x238162=_0x238162[_0x5f323c(0x153)](_0xb0fa0c),_0x57b54e=_0x57b54e[_0x5f323c(0x153)](_0xb0fa0c),_0xb0fa0c[_0x5f323c(0x178)]){case _0x5f323c(0x18a):_0x515b88=_0xb0fa0c[_0x5f323c(0x1ae)],_0x619c34=_0x515b88[_0x5f323c(0x1b5)](0x1);break;case _0x5f323c(0x14f):case _0x5f323c(0x166):case _0x5f323c(0x160):_0x515b88=_0xb0fa0c[_0x5f323c(0x16a)][_0x5f323c(0x1be)],_0x619c34=_0xb0fa0c[_0x5f323c(0x16a)][_0x5f323c(0x172)];break;case _0x5f323c(0x170):_0x515b88=_0xb0fa0c[_0x5f323c(0x1ae)],_0x619c34=_0x515b88[_0x5f323c(0x1b5)](_0xb0fa0c[_0x5f323c(0x15f)]);break;case _0x5f323c(0x185):_0x515b88=_0xb0fa0c[_0x5f323c(0x16b)],_0x619c34=_0xb0fa0c[_0x5f323c(0x199)];break;case _0x5f323c(0x18f):{const _0x330707=_0xb0fa0c[_0x5f323c(0x188)][_0x5f323c(0x17a)][_0x5f323c(0x19a)](0x0,-0x1);_0x515b88=_0x188a24[_0x5f323c(0x156)][_0x5f323c(0x1b6)](_0x46f0de,_0x330707),_0x619c34=_0x515b88[_0x5f323c(0x1b5)](0x1);break;}case _0x5f323c(0x17c):{const _0x567cc6=_0xb0fa0c[_0x5f323c(0x15f)],_0x454b28=_0xb0fa0c[_0x5f323c(0x154)][_0x5f323c(0x186)](_0xb0fa0c[_0x5f323c(0x188)],_0x567cc6),_0x8ea1a3=_0xb0fa0c[_0x5f323c(0x1c0)]();_0x5f323c(0x17c)==_0xb0fa0c[_0x5f323c(0x178)]?(_0x515b88=_0x454b28,_0x619c34=_0x454b28):(_0x515b88=_0x8ea1a3,_0x619c34=_0x8ea1a3[_0x5f323c(0x1b5)](_0x567cc6));break;}}_0x515b88&&_0x515b88[_0x5f323c(0x16e)](_0x238162)&&(_0x238162=_0x515b88[_0x5f323c(0x159)](),_0x238162[_0x5f323c(0x163)]=_0x5f323c(0x16d)),_0x619c34&&_0x619c34[_0x5f323c(0x1a6)](_0x57b54e)&&(_0x57b54e=_0x619c34[_0x5f323c(0x159)](),_0x57b54e[_0x5f323c(0x163)]=_0x5f323c(0x16d));}return _0x188a24[_0x5f323c(0x156)][_0x5f323c(0x1c3)](_0x188a24[_0x5f323c(0x156)][_0x5f323c(0x151)](_0x238162,_0x57b54e));}export function expandSelectionWithContext(_0x47bbe8,_0x10a60d){const _0x4166b5=_0x2546;ro(_0x47bbe8,_0x10a60d,_0x4166b5(0x152));const _0x2ea93c=_0x10a60d[_0x4166b5(0x155)]();_0x10a60d[_0x4166b5(0x19e)]([]),_0x10a60d[_0x4166b5(0x19e)](_0x2ea93c,{'backward':!0x0}),ro(_0x47bbe8,_0x10a60d,_0x4166b5(0x17e));}function ro(_0x8e6509,_0x94ef41,_0x3ad85a){const _0x24d0cb=_0x2546;let _0x2d02e9=0x14;for(;_0x2d02e9;){_0x8e6509[_0x24d0cb(0x179)](_0x94ef41,{'unit':_0x24d0cb(0x1a7),'direction':_0x3ad85a}),_0x2d02e9--;const _0x183a16=_0x94ef41[_0x24d0cb(0x1a1)][_0x24d0cb(0x152)==_0x3ad85a?_0x24d0cb(0x190):_0x24d0cb(0x1a9)];if(_0x183a16&&_0x183a16['is'](_0x24d0cb(0x17f))&&_0x8e6509[_0x24d0cb(0x171)][_0x24d0cb(0x1b3)](_0x183a16)&&_0x8e6509[_0x24d0cb(0x171)][_0x24d0cb(0x192)](_0x183a16))break;}}export function _transformMarkersByDeletion(_0x2d0336,_0x17e510){const _0x131e80=_0x2546;for(const [_0x3e2e1b,_0x4b90bc]of _0x2d0336[_0x131e80(0x1b2)]){const _0x3b6d6a=_0x4b90bc[_0x131e80(0x1b9)](_0x17e510[_0x131e80(0x1be)],_0x17e510[_0x131e80(0x172)][_0x131e80(0x191)]-_0x17e510[_0x131e80(0x1be)][_0x131e80(0x191)]);null!=_0x3b6d6a?_0x2d0336[_0x131e80(0x1b2)][_0x131e80(0x1a5)](_0x3e2e1b,_0x3b6d6a):_0x2d0336[_0x131e80(0x1b2)][_0x131e80(0x1a3)](_0x3e2e1b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3f3f77,_0x4238b1){const _0x3c2bbf=_0x5f29,_0xa30265=_0x3f3f77();while(!![]){try{const _0x5e1db0=-parseInt(_0x3c2bbf(0xf4))/0x1*(parseInt(_0x3c2bbf(0xec))/0x2)+-parseInt(_0x3c2bbf(0xee))/0x3+-parseInt(_0x3c2bbf(0xeb))/0x4+-parseInt(_0x3c2bbf(0xfd))/0x5+parseInt(_0x3c2bbf(0xf0))/0x6+parseInt(_0x3c2bbf(0xfe))/0x7*(parseInt(_0x3c2bbf(0xf7))/0x8)+parseInt(_0x3c2bbf(0xed))/0x9;if(_0x5e1db0===_0x4238b1)break;else _0xa30265['push'](_0xa30265['shift']());}catch(_0x83b3d7){_0xa30265['push'](_0xa30265['shift']());}}}(_0x46f5,0x44985));function _0x5f29(_0x51e837,_0x1dcef1){const _0x46f508=_0x46f5();return _0x5f29=function(_0x5f29ff,_0x3793aa){_0x5f29ff=_0x5f29ff-0xe8;let _0x5e828c=_0x46f508[_0x5f29ff];return _0x5e828c;},_0x5f29(_0x51e837,_0x1dcef1);}import{parseDocument as _0x28ec92}from'htmlparser2';import{append as _0x37efda,appendChild as _0xb3e324,find as _0x370d3c,findAll as _0x13db4d,findOne as _0x58ba14,getChildren as _0x88bc04,isComment as _0x20c131,isTag as _0x334cae,prepend as _0x517b49,prependChild as _0x1a54aa,removeElement as _0x3e759a,replaceElement as _0x5a7072,textContent as _0x2b9744,getParent as _0x4f8d0a,hasChildren as _0x387e75}from'domutils';function _0x46f5(){const _0x5afd70=['reverse','cloneNode','1793416jGXKpW','indexOf','attribs','forEach','afterbegin','nextSibling','2011155rTXUHX','7okamyt','beforebegin','slice','replace','beforeend','1986952BBlMmv','68772EsNLGc','10203858hsXREq','452568CPzqdy','parentNode','2519214ZcMsrX','push','map','afterend','13JrksAC'];_0x46f5=function(){return _0x5afd70;};return _0x46f5();}import _0x4ca0dd from'dom-serializer';import{cloneNode as _0x3ee466,isDocument as _0x4a6244,isText as _0x2c075f,Element as _0x71117e,Text as _0x195bf0,Document as _0x8f925,NodeWithChildren as _0x7e8b12}from'domhandler';export{_0x3ee466 as cloneNode,_0x370d3c as find,_0x58ba14 as findOne,_0x13db4d as findAll,_0x88bc04 as getChildren,_0x4f8d0a as getParent,_0x20c131 as isComment,_0x4a6244 as isDocument,_0x334cae as isTag,_0x2c075f as isText,_0x37efda as append,_0xb3e324 as appendChild,_0x517b49 as prepend,_0x1a54aa as prependChild,_0x4ca0dd as render,_0x3e759a as removeElement,_0x5a7072 as replaceElement,_0x2b9744 as textContent,_0x387e75 as hasChildren,_0x71117e as Element,_0x8f925 as Document,_0x7e8b12 as NodeWithChildren,_0x195bf0 as Text};export function parse(_0x4f3edd){return _0x28ec92(_0x4f3edd);}export function serialize(_0x57f5fc){return _0x4ca0dd(_0x57f5fc);}export function findByAttribute(_0x5cb302,_0x58c917,_0xcb26ba){const _0x16b2db=_0x5f29,_0x49b0f4=null!==_0x58c917?_0x365fcc=>_0x365fcc[_0x16b2db(0xf9)][_0x5cb302]===_0x58c917:_0x2fdbf9=>Boolean(_0x2fdbf9[_0x16b2db(0xf9)][_0x5cb302]);return _0x58ba14(_0x2e99a0=>_0x334cae(_0x2e99a0)&&_0x49b0f4(_0x2e99a0),_0xcb26ba);}export function findAllByAttribute(_0x465181,_0x3dbb57,_0x242670){const _0x11b023=_0x5f29,_0x41b02a=null!==_0x3dbb57?_0x3d6cf6=>_0x3d6cf6[_0x11b023(0xf9)][_0x465181]===_0x3dbb57:_0x332799=>Boolean(_0x332799[_0x11b023(0xf9)][_0x465181]);return _0x13db4d(_0x1d003a=>_0x334cae(_0x1d003a)&&_0x41b02a(_0x1d003a),_0x242670);}export function findAllComments(_0x42da8f){return _0x370d3c(_0x36b982=>_0x20c131(_0x36b982),_0x42da8f,!0x0,0x1/0x0);}export function getAttribute(_0x1eab82,_0xdd68bf){const _0x426571=_0x5f29;return _0x1eab82&&_0x334cae(_0x1eab82)?_0x1eab82[_0x426571(0xf9)][_0xdd68bf]:null;}export function setAttribute(_0x8945ea,_0x19ea7d,_0x346ed4){const _0x2c1f89=_0x5f29;_0x334cae(_0x8945ea)&&(null===_0x346ed4?delete _0x8945ea[_0x2c1f89(0xf9)][_0x19ea7d]:_0x8945ea[_0x2c1f89(0xf9)][_0x19ea7d]=_0x346ed4);}export function insertElement(_0x5673bf,_0x1c34df,_0x33a17f){const _0x378828=_0x5f29,_0x406aee=_0x1c34df[_0x378828(0xf6)](!0x0);_0x378828(0xff)===_0x33a17f?_0x517b49(_0x5673bf,_0x406aee):_0x378828(0xfb)===_0x33a17f?_0x1a54aa(_0x5673bf,_0x406aee):_0x378828(0xea)===_0x33a17f?_0xb3e324(_0x5673bf,_0x406aee):_0x378828(0xf3)===_0x33a17f&&_0x37efda(_0x5673bf,_0x406aee);}export function moveElement(_0x41ea9b,_0x2bfd10){_0x3e759a(_0x41ea9b),_0x5a7072(_0x2bfd10,_0x41ea9b);}export function clone(_0x5b207d){const _0x1f3fe7=_0x5f29;return _0x5b207d[_0x1f3fe7(0xf6)](!0x0);}export function getParents(_0x5808ac){const _0x27ce64=_0x5f29,_0x1ef666=[];let _0x3c5cc8=_0x5808ac;for(;_0x3c5cc8;)_0x3c5cc8=_0x4f8d0a(_0x3c5cc8),_0x3c5cc8&&_0x1ef666[_0x27ce64(0xf1)](_0x3c5cc8);return _0x1ef666;}export function normalizeHTML(_0x2c6dc1){const _0x304762=_0x5f29;return _0x2c6dc1[_0x304762(0xe9)](/^\s+/gm,'')[_0x304762(0xe9)](/\s+$/gm,'')[_0x304762(0xe9)](/\n*/g,'')[_0x304762(0xe9)](/\s+/g,'\x20')[_0x304762(0xe9)](/>\s*</g,'><');}export function areNodesSame(_0x450ae3,_0xbfd0df){return normalizeHTML(serialize(_0x450ae3))===normalizeHTML(serialize(_0xbfd0df));}export function getNodeNestingLevel(_0x228879){const _0x167630=_0x5f29;let _0x2fafa4=0x0;for(;_0x228879[_0x167630(0xef)];)_0x228879=_0x228879[_0x167630(0xef)],_0x2fafa4++;return _0x2fafa4;}export function removeElementsAfter(_0x57c310){const _0x248a64=_0x5f29,_0x10f960=[];let _0x242fd8=_0x57c310[_0x248a64(0xfc)];for(;_0x242fd8;)_0x10f960[_0x248a64(0xf1)](_0x242fd8),_0x242fd8=_0x242fd8[_0x248a64(0xfc)];_0x10f960[_0x248a64(0xfa)](_0x12d273=>{_0x3e759a(_0x12d273);});}export function getNodePath(_0x51a9b5){const _0x1b80d7=_0x5f29;return[_0x51a9b5,...getParents(_0x51a9b5)][_0x1b80d7(0xe8)](0x0,-0x1)[_0x1b80d7(0xf2)](_0x54d4a6=>{const _0x44b316=_0x1b80d7,_0x51a4e0=_0x4f8d0a(_0x54d4a6);return _0x88bc04(_0x51a4e0)[_0x44b316(0xf8)](_0x54d4a6);})[_0x1b80d7(0xf5)]();}
23
+ (function(_0x5017d5,_0x1a9ff7){const _0x16ca3c=_0x2d50,_0x3926ef=_0x5017d5();while(!![]){try{const _0x1bfa7d=-parseInt(_0x16ca3c(0xb6))/0x1*(parseInt(_0x16ca3c(0xbe))/0x2)+-parseInt(_0x16ca3c(0xc2))/0x3+parseInt(_0x16ca3c(0xc3))/0x4+-parseInt(_0x16ca3c(0xb5))/0x5+parseInt(_0x16ca3c(0xb1))/0x6+-parseInt(_0x16ca3c(0xbb))/0x7+parseInt(_0x16ca3c(0xb9))/0x8*(parseInt(_0x16ca3c(0xbf))/0x9);if(_0x1bfa7d===_0x1a9ff7)break;else _0x3926ef['push'](_0x3926ef['shift']());}catch(_0x3d7121){_0x3926ef['push'](_0x3926ef['shift']());}}}(_0x521d,0x8c6e0));import{parseDocument as _0xd7bc96}from'htmlparser2';import{append as _0x34cc2c,appendChild as _0x48f8fb,find as _0x16bed5,findAll as _0x154754,findOne as _0x5a4a72,getChildren as _0x1f39da,isComment as _0x482e1e,isTag as _0x1cd6cb,prepend as _0x3fa5f1,prependChild as _0xe838fd,removeElement as _0x15e4c7,replaceElement as _0xf1383a,textContent as _0x888700,getParent as _0x2d8b74,hasChildren as _0x1672f4}from'domutils';import _0x211395 from'dom-serializer';import{cloneNode as _0x1212b2,isDocument as _0x1be18c,isText as _0x457f8f,Element as _0x2bce89,Text as _0x5407d3,Document as _0x53e2ca,NodeWithChildren as _0x2aaf0b}from'domhandler';export{_0x1212b2 as cloneNode,_0x16bed5 as find,_0x5a4a72 as findOne,_0x154754 as findAll,_0x1f39da as getChildren,_0x2d8b74 as getParent,_0x482e1e as isComment,_0x1be18c as isDocument,_0x1cd6cb as isTag,_0x457f8f as isText,_0x34cc2c as append,_0x48f8fb as appendChild,_0x3fa5f1 as prepend,_0xe838fd as prependChild,_0x211395 as render,_0x15e4c7 as removeElement,_0xf1383a as replaceElement,_0x888700 as textContent,_0x1672f4 as hasChildren,_0x2bce89 as Element,_0x53e2ca as Document,_0x2aaf0b as NodeWithChildren,_0x5407d3 as Text};export function parse(_0x10ad0b){return _0xd7bc96(_0x10ad0b);}function _0x521d(){const _0x4eb4a2=['forEach','5476JNnNgi','147186PGEUNd','slice','replace','1740711teLiuS','2090504jUamQQ','beforeend','afterend','reverse','map','beforebegin','6015894WskPJk','cloneNode','afterbegin','attribs','4552600DEfPnG','182ILgKTl','nextSibling','push','720uXnVJB','parentNode','3030034QxLWNG','indexOf'];_0x521d=function(){return _0x4eb4a2;};return _0x521d();}export function serialize(_0x34fc81){return _0x211395(_0x34fc81);}export function findByAttribute(_0x4c0953,_0x246ebf,_0x4f86e6){const _0x5c78c8=_0x2d50,_0x39e467=null!==_0x246ebf?_0x503476=>_0x503476[_0x5c78c8(0xb4)][_0x4c0953]===_0x246ebf:_0x579a29=>Boolean(_0x579a29[_0x5c78c8(0xb4)][_0x4c0953]);return _0x5a4a72(_0x1ce0ce=>_0x1cd6cb(_0x1ce0ce)&&_0x39e467(_0x1ce0ce),_0x4f86e6);}export function findAllByAttribute(_0x392065,_0x1f1767,_0x57dcd1){const _0x6591af=_0x2d50,_0x36cc4e=null!==_0x1f1767?_0x37381c=>_0x37381c[_0x6591af(0xb4)][_0x392065]===_0x1f1767:_0x3fd995=>Boolean(_0x3fd995[_0x6591af(0xb4)][_0x392065]);return _0x154754(_0x3c8c37=>_0x1cd6cb(_0x3c8c37)&&_0x36cc4e(_0x3c8c37),_0x57dcd1);}export function findAllComments(_0xf46e76){return _0x16bed5(_0x543a5e=>_0x482e1e(_0x543a5e),_0xf46e76,!0x0,0x1/0x0);}export function getAttribute(_0x7cf555,_0x253806){const _0x46baed=_0x2d50;return _0x7cf555&&_0x1cd6cb(_0x7cf555)?_0x7cf555[_0x46baed(0xb4)][_0x253806]:null;}export function setAttribute(_0x295223,_0x1bbf8e,_0x4c2fb6){const _0x38c467=_0x2d50;_0x1cd6cb(_0x295223)&&(null===_0x4c2fb6?delete _0x295223[_0x38c467(0xb4)][_0x1bbf8e]:_0x295223[_0x38c467(0xb4)][_0x1bbf8e]=_0x4c2fb6);}export function insertElement(_0x287998,_0x586d0e,_0x471950){const _0x395b91=_0x2d50,_0x32d7ce=_0x586d0e[_0x395b91(0xb2)](!0x0);_0x395b91(0xb0)===_0x471950?_0x3fa5f1(_0x287998,_0x32d7ce):_0x395b91(0xb3)===_0x471950?_0xe838fd(_0x287998,_0x32d7ce):_0x395b91(0xc4)===_0x471950?_0x48f8fb(_0x287998,_0x32d7ce):_0x395b91(0xc5)===_0x471950&&_0x34cc2c(_0x287998,_0x32d7ce);}function _0x2d50(_0x4fff5b,_0x4f6f5d){const _0x521d88=_0x521d();return _0x2d50=function(_0x2d50d4,_0xe43ac1){_0x2d50d4=_0x2d50d4-0xaf;let _0x455756=_0x521d88[_0x2d50d4];return _0x455756;},_0x2d50(_0x4fff5b,_0x4f6f5d);}export function moveElement(_0x64fd19,_0x248fa1){_0x15e4c7(_0x64fd19),_0xf1383a(_0x248fa1,_0x64fd19);}export function clone(_0x6b4fa3){const _0x4002aa=_0x2d50;return _0x6b4fa3[_0x4002aa(0xb2)](!0x0);}export function getParents(_0x25c92b){const _0xb9735a=_0x2d50,_0x38b989=[];let _0x56d0d1=_0x25c92b;for(;_0x56d0d1;)_0x56d0d1=_0x2d8b74(_0x56d0d1),_0x56d0d1&&_0x38b989[_0xb9735a(0xb8)](_0x56d0d1);return _0x38b989;}export function normalizeHTML(_0x45bdc1){const _0x123fe6=_0x2d50;return _0x45bdc1[_0x123fe6(0xc1)](/^\s+/gm,'')[_0x123fe6(0xc1)](/\s+$/gm,'')[_0x123fe6(0xc1)](/\n*/g,'')[_0x123fe6(0xc1)](/\s+/g,'\x20')[_0x123fe6(0xc1)](/>\s*</g,'><');}export function areNodesSame(_0x4565d9,_0x476699){return normalizeHTML(serialize(_0x4565d9))===normalizeHTML(serialize(_0x476699));}export function getNodeNestingLevel(_0x1a582a){const _0x2fad17=_0x2d50;let _0x1067f3=0x0;for(;_0x1a582a[_0x2fad17(0xba)];)_0x1a582a=_0x1a582a[_0x2fad17(0xba)],_0x1067f3++;return _0x1067f3;}export function removeElementsAfter(_0x5e1ab7){const _0x3f3775=_0x2d50,_0x56c0f7=[];let _0x5a2bbc=_0x5e1ab7[_0x3f3775(0xb7)];for(;_0x5a2bbc;)_0x56c0f7[_0x3f3775(0xb8)](_0x5a2bbc),_0x5a2bbc=_0x5a2bbc[_0x3f3775(0xb7)];_0x56c0f7[_0x3f3775(0xbd)](_0x331b5a=>{_0x15e4c7(_0x331b5a);});}export function getNodePath(_0x47897e){const _0x32defb=_0x2d50;return[_0x47897e,...getParents(_0x47897e)][_0x32defb(0xc0)](0x0,-0x1)[_0x32defb(0xaf)](_0x4cefb8=>{const _0x3a0c09=_0x32defb,_0x31cdc9=_0x2d8b74(_0x4cefb8);return _0x1f39da(_0x31cdc9)[_0x3a0c09(0xbc)](_0x4cefb8);})[_0x32defb(0xc6)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x15b0(){const _0xc5deb1=['isWordSplitSource','signal','forEach','lastUpdateTime','match','querySelectorAll','replaceWith','reverse','length','sub','ins','span','del','children','now','2826929cwzmwq','map','cleanUpAnimations','2322KBbfHR','delay','textNodeStyle','107832QbLzPm','document','128574OLktvn','isWordSplitResult','getParsedDocumentNodeList','div','currentIndex','160010eoDmIn','stream','90782njIQqI','includes','splitTextNodeIntoWordNodes','entries','mark','sup','push','onStreamUpdate','span[data-ck-html-streamer-word-chunk]','code','options','shouldBeStreamed','126aFzbKW','925zRUwwR','reset','tagName','from','bind','renderNode','isStreaming','stop','attribs','timeoutAbortController','parent','2347920IfGbEY','abort','strong','childNodes','4aUxJjL','join','nodesList','addEventListener'];_0x15b0=function(){return _0xc5deb1;};return _0x15b0();}const _0x4e4073=_0x4a49;(function(_0x3d504b,_0xf534d7){const _0x5d3bdc=_0x4a49,_0x56017b=_0x3d504b();while(!![]){try{const _0xe46162=parseInt(_0x5d3bdc(0xb0))/0x1*(-parseInt(_0x5d3bdc(0x8e))/0x2)+-parseInt(_0x5d3bdc(0xa9))/0x3+parseInt(_0x5d3bdc(0xa7))/0x4+parseInt(_0x5d3bdc(0xbd))/0x5*(-parseInt(_0x5d3bdc(0xa4))/0x6)+parseInt(_0x5d3bdc(0xa1))/0x7+parseInt(_0x5d3bdc(0xc8))/0x8+parseInt(_0x5d3bdc(0xbc))/0x9*(-parseInt(_0x5d3bdc(0xae))/0xa);if(_0xe46162===_0xf534d7)break;else _0x56017b['push'](_0x56017b['shift']());}catch(_0x1fc303){_0x56017b['push'](_0x56017b['shift']());}}}(_0x15b0,0x31de8));function _0x4a49(_0x1f3001,_0x571af3){const _0x15b0cb=_0x15b0();return _0x4a49=function(_0x4a49f8,_0x3649e4){_0x4a49f8=_0x4a49f8-0x8b;let _0x5979f6=_0x15b0cb[_0x4a49f8];return _0x5979f6;},_0x4a49(_0x1f3001,_0x571af3);}import _0x254c5f from'morphdom';import{NodeWithChildren as _0x5c3291,Text as _0x1b2ec2,Element as _0x196e8f,isText as _0x3c6e52,isDocument as _0x4a02e6,isTag as _0x1a8f40,cloneNode as _0x31b16a,getChildren as _0x53c634,prepend as _0x29ad16,removeElement as _0x5cde7d,textContent as _0x125cdc,render as _0x2958c3}from'./htmlparser.js';export class HTMLStreamer{[_0x4e4073(0xba)];[_0x4e4073(0xc3)]=!0x1;[_0x4e4073(0xa8)]=null;[_0x4e4073(0x90)]=[];[_0x4e4073(0xad)]=0x0;[_0x4e4073(0xc6)]=null;[_0x4e4073(0x95)]=0x0;constructor(_0x27c99){const _0x336e22=_0x4e4073;this[_0x336e22(0xba)]={'delay':_0x27c99[_0x336e22(0xa5)]??0x14,'textNodeStyle':_0x27c99[_0x336e22(0xa6)],'onStreamUpdate':_0x27c99[_0x336e22(0xb7)]||(()=>{})};}async[_0x4e4073(0xaf)]({document:_0x5886e5,targetElement:_0x42191b,abortSignal:_0x21eb61}){const _0x3ecb98=_0x4e4073;this[_0x3ecb98(0xc3)]&&this[_0x3ecb98(0xc4)](),_0x21eb61?.[_0x3ecb98(0x91)](_0x3ecb98(0x8b),this[_0x3ecb98(0xc4)][_0x3ecb98(0xc1)](this)),this[_0x3ecb98(0xa8)]=_0x31b16a(_0x5886e5,!0x0),this[_0x3ecb98(0x90)]=this[_0x3ecb98(0xab)](),this[_0x3ecb98(0xc3)]=!0x0,this[_0x3ecb98(0xad)]>this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)]&&(this[_0x3ecb98(0xad)]=this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)]);for(let _0x1e81f1=0x0;_0x1e81f1<this[_0x3ecb98(0xad)];_0x1e81f1++)this[_0x3ecb98(0x90)][_0x1e81f1][_0x3ecb98(0xbb)]=!0x0;do{const _0x27f495=Date[_0x3ecb98(0xa0)](),_0x4c4b61=this[_0x3ecb98(0x90)][this[_0x3ecb98(0xad)]],_0x223d94=_0x27f495-this[_0x3ecb98(0x95)];if(_0x4c4b61){_0x4c4b61[_0x3ecb98(0xbb)]=!0x0;let _0x415160=_0x4c4b61[_0x3ecb98(0xc7)];for(;_0x415160;)_0x415160[_0x3ecb98(0xbb)]=!0x0,_0x415160=_0x415160[_0x3ecb98(0xc7)];}if(_0x223d94<this[_0x3ecb98(0xba)][_0x3ecb98(0xa5)])try{const {promise:_0x3a4795,abortController:_0xe45efc}=Ls(this[_0x3ecb98(0xba)][_0x3ecb98(0xa5)]-_0x223d94);this[_0x3ecb98(0xc6)]=_0xe45efc,await _0x3a4795;}catch(_0x1eaa81){return;}_0x254c5f(_0x42191b,'<'+_0x42191b[_0x3ecb98(0xbf)]+'>'+this[_0x3ecb98(0xc2)](this[_0x3ecb98(0xa8)])+'</'+_0x42191b[_0x3ecb98(0xbf)]+'>',{'childrenOnly':!0x0}),this[_0x3ecb98(0xba)][_0x3ecb98(0xb7)]&&this[_0x3ecb98(0xba)][_0x3ecb98(0xb7)](),this[_0x3ecb98(0xad)]++,this[_0x3ecb98(0x95)]=Date[_0x3ecb98(0xa0)]();}while(this[_0x3ecb98(0xad)]<this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)]);this[_0x3ecb98(0xad)]=this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)],this[_0x3ecb98(0xc3)]=!0x1;}[_0x4e4073(0xbe)](){const _0x42c931=_0x4e4073;this[_0x42c931(0xc3)]=!0x1,this[_0x42c931(0xa8)]=null,this[_0x42c931(0x90)]=[],this[_0x42c931(0xad)]=0x0,this[_0x42c931(0xc6)]=null;}[_0x4e4073(0xa3)]({targetElement:_0x58c7dd}){const _0x3dedbf=_0x4e4073;Array[_0x3dedbf(0xc0)](_0x58c7dd[_0x3dedbf(0x97)](_0x3dedbf(0xb8)))[_0x3dedbf(0x99)]()[_0x3dedbf(0x94)](_0x5e1797=>{const _0x3a8256=_0x3dedbf;_0x5e1797[_0x3a8256(0x98)](_0x5e1797[_0x3a8256(0x8d)][0x0]);});}[_0x4e4073(0xc4)](){const _0x2f082c=_0x4e4073;this[_0x2f082c(0xc3)]=!0x1,this[_0x2f082c(0xc6)]&&(this[_0x2f082c(0xc6)][_0x2f082c(0x8b)](),this[_0x2f082c(0xc6)]=null);}[_0x4e4073(0xc2)](_0x4f615b){const _0x1b66bb=_0x4e4073;let _0x2d9b='';if(function(_0x21766b){return _0x4a02e6(_0x21766b);}(_0x4f615b)){for(const _0x4b8112 of _0x4f615b[_0x1b66bb(0x9f)])_0x2d9b+=this[_0x1b66bb(0xc2)](_0x4b8112);}else{if(Ts(_0x4f615b)){if(!_0x4f615b[_0x1b66bb(0xbb)])return'';const _0x56e66a=_0x4f615b,_0x5c34cd=Object[_0x1b66bb(0xb3)](_0x56e66a[_0x1b66bb(0xc5)])[_0x1b66bb(0xa2)](([_0x10cf37,_0x137e15])=>_0x10cf37+'=\x22'+_0x137e15+'\x22')[_0x1b66bb(0x8f)]('\x20');_0x2d9b+='<'+_0x56e66a[_0x1b66bb(0xbf)]+(_0x5c34cd?'\x20'+_0x5c34cd:'')+'>';for(const _0x1017eb of _0x53c634(_0x56e66a))_0x2d9b+=this[_0x1b66bb(0xc2)](_0x1017eb);_0x2d9b+='</'+_0x56e66a[_0x1b66bb(0xbf)]+'>';}else{if(!Ss(_0x4f615b))return'';if(!_0x4f615b[_0x1b66bb(0xbb)])return'';!function(_0x46e9b2){const _0x281e14=_0x1b66bb;if(!_0x46e9b2[_0x281e14(0xc7)]||!Ts(_0x46e9b2[_0x281e14(0xc7)]))return!0x1;if(!ys[_0x281e14(0xb1)](_0x46e9b2[_0x281e14(0xc7)][_0x281e14(0xbf)]))return!0x1;return!_0x125cdc(_0x46e9b2)[_0x281e14(0x96)](/^\s*[<>]\s*$/);}(_0x4f615b)?_0x2d9b+=_0x2958c3(_0x4f615b):_0x2d9b+=_0x2958c3(new _0x196e8f(_0x1b66bb(0x9d),{'data-ck-html-streamer-word-chunk':'','style':this[_0x1b66bb(0xba)][_0x1b66bb(0xa6)]},[_0x4f615b]));}}return _0x2d9b;}[_0x4e4073(0xab)](){const _0x22c68d=_0x4e4073,_0x706993=[];return function(_0x15273c,_0x1bbd8c){const _0x404d20=_0x4a49,_0x19fab7=_0x54b1f2=>{const _0x35eb10=_0x4a49;if(_0x1bbd8c(_0x54b1f2),_0x54b1f2 instanceof _0x5c3291)for(let _0x47b37f=0x0;_0x47b37f<_0x54b1f2[_0x35eb10(0x9f)][_0x35eb10(0x9a)];_0x47b37f++){const _0x41142d=_0x54b1f2[_0x35eb10(0x9f)][_0x47b37f];_0x19fab7(_0x41142d);}};for(let _0x20742a=0x0;_0x20742a<_0x15273c[_0x404d20(0x9f)][_0x404d20(0x9a)];_0x20742a++)_0x19fab7(_0x15273c[_0x404d20(0x9f)][_0x20742a]);}(this[_0x22c68d(0xa8)],_0x2d8625=>{const _0x187282=_0x22c68d;if(Ss(_0x2d8625)){const _0x4d40fb=this[_0x187282(0xb2)](_0x2d8625);_0x4d40fb[_0x187282(0x9a)]&&_0x706993[_0x187282(0xb6)](..._0x4d40fb);}_0x2d8625[_0x187282(0x92)]||_0x2d8625[_0x187282(0xaa)]||_0x706993[_0x187282(0xb6)](_0x2d8625);}),_0x706993;}[_0x4e4073(0xb2)](_0x50f33b){const _0x41dca8=_0x4e4073;if(_0x50f33b[_0x41dca8(0x92)]||_0x50f33b[_0x41dca8(0xaa)])return[];const _0x318d72=_0x125cdc(_0x50f33b)[_0x41dca8(0x96)](/(?:\s*\S+\s*)/g),_0x5a9b00=[];if(_0x318d72&&_0x318d72[_0x41dca8(0x9a)]>0x1){for(const _0x3a0a97 of _0x318d72){const _0x3f5bae=new _0x1b2ec2(_0x3a0a97);_0x3f5bae[_0x41dca8(0xaa)]=!0x0,_0x29ad16(_0x50f33b,_0x3f5bae),_0x5a9b00[_0x41dca8(0xb6)](_0x3f5bae);}_0x50f33b[_0x41dca8(0x92)]=!0x0,_0x5cde7d(_0x50f33b);}return _0x5a9b00;}}const ys=['p','li','td','th',_0x4e4073(0x9d),'h1','h2','h3','h4','h5','h6','b',_0x4e4073(0x8c),'i','em',_0x4e4073(0xb4),_0x4e4073(0x9e),_0x4e4073(0x9c),_0x4e4073(0xb5),_0x4e4073(0x9b),'a',_0x4e4073(0xb9),_0x4e4073(0xac)];function Ss(_0x29247c){return _0x3c6e52(_0x29247c);}function Ts(_0xba52b5){return _0x1a8f40(_0xba52b5);}function Ls(_0x22b774){const _0x4e13c6=new AbortController();return{'promise':new Promise((_0x31f226,_0x5c7fbc)=>{const _0xbecc0c=_0x4a49,_0x4ba0a0=setTimeout(_0x31f226,_0x22b774);_0x4e13c6[_0xbecc0c(0x93)][_0xbecc0c(0x91)](_0xbecc0c(0x8b),()=>{clearTimeout(_0x4ba0a0),_0x5c7fbc();});}),'abortController':_0x4e13c6};}
23
+ const _0x742f0f=_0x5794;(function(_0xe24217,_0x55ddbc){const _0x4f0b2e=_0x5794,_0x9fd2ee=_0xe24217();while(!![]){try{const _0x38e838=parseInt(_0x4f0b2e(0x1ca))/0x1+-parseInt(_0x4f0b2e(0x1cc))/0x2*(parseInt(_0x4f0b2e(0x1d1))/0x3)+parseInt(_0x4f0b2e(0x1bc))/0x4+parseInt(_0x4f0b2e(0x1d0))/0x5+-parseInt(_0x4f0b2e(0x1b7))/0x6*(parseInt(_0x4f0b2e(0x1a2))/0x7)+-parseInt(_0x4f0b2e(0x1ad))/0x8+parseInt(_0x4f0b2e(0x1c7))/0x9;if(_0x38e838===_0x55ddbc)break;else _0x9fd2ee['push'](_0x9fd2ee['shift']());}catch(_0x59e905){_0x9fd2ee['push'](_0x9fd2ee['shift']());}}}(_0x323b,0x6d099));import _0x5324d0 from'morphdom';import{NodeWithChildren as _0x4288b1,Text as _0x591b4a,Element as _0xd38c43,isText as _0xff8130,isDocument as _0x13c03a,isTag as _0x5ed507,cloneNode as _0x587c0b,getChildren as _0x49f4fc,prepend as _0x43bb53,removeElement as _0x1a7e17,textContent as _0x33d0d0,render as _0x169548}from'./htmlparser.js';function _0x323b(){const _0x16a607=['span[data-ck-html-streamer-word-chunk]','attribs','tagName','options','signal','replaceWith','abort','document','246bSfgzD','push','includes','lastUpdateTime','sub','3281168Dcyluk','currentIndex','code','name','reset','isStreaming','reverse','del','span','querySelectorAll','match','3356451EWGKxb','childNodes','shouldBeStreamed','503842elkpwq','forEach','68zoxZHI','stream','timeoutAbortController','isWordSplitSource','2611700bgeCmQ','46329KedeTs','length','renderNode','isWordSplitResult','getParsedDocumentNodeList','ins','splitTextNodeIntoWordNodes','nodesList','addEventListener','from','bind','sup','div','86373gBNyWO','mark','parent','children','flatMap','strong','textNodeStyle','now','cleanUpAnimations','delay','onStreamUpdate','5934680qiiimr','stop'];_0x323b=function(){return _0x16a607;};return _0x323b();}export class HTMLStreamer{[_0x742f0f(0x1b2)];[_0x742f0f(0x1c1)]=!0x1;[_0x742f0f(0x1b6)]=null;[_0x742f0f(0x1d8)]=[];[_0x742f0f(0x1bd)]=0x0;[_0x742f0f(0x1ce)]=null;[_0x742f0f(0x1ba)]=0x0;constructor(_0x381d23){const _0x596dd7=_0x742f0f;this[_0x596dd7(0x1b2)]={'delay':_0x381d23[_0x596dd7(0x1ab)]??0x14,'textNodeStyle':_0x381d23[_0x596dd7(0x1a8)],'onStreamUpdate':_0x381d23[_0x596dd7(0x1ac)]||(()=>{})};}async[_0x742f0f(0x1cd)]({document:_0x4eb6a8,targetElement:_0x3e74ef,abortSignal:_0x31688d}){const _0x4cbc28=_0x742f0f;this[_0x4cbc28(0x1c1)]&&this[_0x4cbc28(0x1ae)](),_0x31688d?.[_0x4cbc28(0x19d)](_0x4cbc28(0x1b5),this[_0x4cbc28(0x1ae)][_0x4cbc28(0x19f)](this)),this[_0x4cbc28(0x1b6)]=_0x587c0b(_0x4eb6a8,!0x0),this[_0x4cbc28(0x1d8)]=this[_0x4cbc28(0x1d5)](),this[_0x4cbc28(0x1c1)]=!0x0,this[_0x4cbc28(0x1bd)]>this[_0x4cbc28(0x1d8)][_0x4cbc28(0x1d2)]&&(this[_0x4cbc28(0x1bd)]=this[_0x4cbc28(0x1d8)][_0x4cbc28(0x1d2)]);for(let _0x5c8ffd=0x0;_0x5c8ffd<this[_0x4cbc28(0x1bd)];_0x5c8ffd++)this[_0x4cbc28(0x1d8)][_0x5c8ffd][_0x4cbc28(0x1c9)]=!0x0;do{const _0x5585e8=Date[_0x4cbc28(0x1a9)](),_0x538b0c=this[_0x4cbc28(0x1d8)][this[_0x4cbc28(0x1bd)]],_0x3edb89=_0x5585e8-this[_0x4cbc28(0x1ba)];if(_0x538b0c){_0x538b0c[_0x4cbc28(0x1c9)]=!0x0;let _0x5e08cc=_0x538b0c[_0x4cbc28(0x1a4)];for(;_0x5e08cc;)_0x5e08cc[_0x4cbc28(0x1c9)]=!0x0,_0x5e08cc=_0x5e08cc[_0x4cbc28(0x1a4)];}if(_0x3edb89<this[_0x4cbc28(0x1b2)][_0x4cbc28(0x1ab)])try{const {promise:_0x4318d6,abortController:_0x3a7740}=$s(this[_0x4cbc28(0x1b2)][_0x4cbc28(0x1ab)]-_0x3edb89);this[_0x4cbc28(0x1ce)]=_0x3a7740,await _0x4318d6;}catch(_0x45f806){return;}_0x5324d0(_0x3e74ef,'<'+_0x3e74ef[_0x4cbc28(0x1b1)]+'>'+this[_0x4cbc28(0x1d3)](this[_0x4cbc28(0x1b6)])+'</'+_0x3e74ef[_0x4cbc28(0x1b1)]+'>',{'childrenOnly':!0x0}),this[_0x4cbc28(0x1b2)][_0x4cbc28(0x1ac)]&&this[_0x4cbc28(0x1b2)][_0x4cbc28(0x1ac)](),this[_0x4cbc28(0x1bd)]++,this[_0x4cbc28(0x1ba)]=Date[_0x4cbc28(0x1a9)]();}while(this[_0x4cbc28(0x1bd)]<this[_0x4cbc28(0x1d8)][_0x4cbc28(0x1d2)]);this[_0x4cbc28(0x1bd)]=this[_0x4cbc28(0x1d8)][_0x4cbc28(0x1d2)],this[_0x4cbc28(0x1c1)]=!0x1;}[_0x742f0f(0x1c0)](){const _0x240430=_0x742f0f;this[_0x240430(0x1c1)]=!0x1,this[_0x240430(0x1b6)]=null,this[_0x240430(0x1d8)]=[],this[_0x240430(0x1bd)]=0x0,this[_0x240430(0x1ce)]=null;}[_0x742f0f(0x1aa)]({targetElement:_0x389e65}){const _0x734951=_0x742f0f;Array[_0x734951(0x19e)](_0x389e65[_0x734951(0x1c5)](_0x734951(0x1af)))[_0x734951(0x1c2)]()[_0x734951(0x1cb)](_0x5be3f1=>{const _0x3092d6=_0x734951;_0x5be3f1[_0x3092d6(0x1b4)](_0x5be3f1[_0x3092d6(0x1c8)][0x0]);});}[_0x742f0f(0x1ae)](){const _0xace68=_0x742f0f;this[_0xace68(0x1c1)]=!0x1,this[_0xace68(0x1ce)]&&(this[_0xace68(0x1ce)][_0xace68(0x1b5)](),this[_0xace68(0x1ce)]=null);}[_0x742f0f(0x1d3)](_0x5393d8){const _0x107589=_0x742f0f;return _0x169548(Ds(_0x5393d8,this[_0x107589(0x1b2)][_0x107589(0x1a8)]));}[_0x742f0f(0x1d5)](){const _0x142c18=_0x742f0f,_0x250495=[];return function(_0x2e5fff,_0xb860d){const _0x57275b=_0x5794,_0xde2230=_0x423287=>{const _0x591a71=_0x5794;if(_0xb860d(_0x423287),_0x423287 instanceof _0x4288b1)for(let _0x477997=0x0;_0x477997<_0x423287[_0x591a71(0x1a5)][_0x591a71(0x1d2)];_0x477997++){const _0x443393=_0x423287[_0x591a71(0x1a5)][_0x477997];_0xde2230(_0x443393);}};for(let _0x59617b=0x0;_0x59617b<_0x2e5fff[_0x57275b(0x1a5)][_0x57275b(0x1d2)];_0x59617b++)_0xde2230(_0x2e5fff[_0x57275b(0x1a5)][_0x59617b]);}(this[_0x142c18(0x1b6)],_0x2d3621=>{const _0x28c982=_0x142c18;if(Ts(_0x2d3621)){const _0x501ab1=this[_0x28c982(0x1d7)](_0x2d3621);_0x501ab1[_0x28c982(0x1d2)]&&_0x250495[_0x28c982(0x1b8)](..._0x501ab1);}_0x2d3621[_0x28c982(0x1cf)]||_0x2d3621[_0x28c982(0x1d4)]||_0x250495[_0x28c982(0x1b8)](_0x2d3621);}),_0x250495;}[_0x742f0f(0x1d7)](_0x54ddfb){const _0x4e9412=_0x742f0f;if(_0x54ddfb[_0x4e9412(0x1cf)]||_0x54ddfb[_0x4e9412(0x1d4)])return[];const _0x44dc26=_0x33d0d0(_0x54ddfb)[_0x4e9412(0x1c6)](/(?:\s*\S+\s*)/g),_0x4aa428=[];if(_0x44dc26&&_0x44dc26[_0x4e9412(0x1d2)]>0x1){for(const _0x2d3a97 of _0x44dc26){const _0x114ab3=new _0x591b4a(_0x2d3a97);_0x114ab3[_0x4e9412(0x1d4)]=!0x0,_0x43bb53(_0x54ddfb,_0x114ab3),_0x4aa428[_0x4e9412(0x1b8)](_0x114ab3);}_0x54ddfb[_0x4e9412(0x1cf)]=!0x0,_0x1a7e17(_0x54ddfb);}return _0x4aa428;}}const Ss=['p','li','td','th',_0x742f0f(0x1c4),'h1','h2','h3','h4','h5','h6','b',_0x742f0f(0x1a7),'i','em',_0x742f0f(0x1a3),_0x742f0f(0x1c3),_0x742f0f(0x1d6),_0x742f0f(0x1a0),_0x742f0f(0x1bb),'a',_0x742f0f(0x1be),_0x742f0f(0x1a1)];function Ts(_0x53abcc){return _0xff8130(_0x53abcc);}function Cs(_0x34f0ce){return _0x5ed507(_0x34f0ce);}function $s(_0x280352){const _0x4efe4a=new AbortController();return{'promise':new Promise((_0x529174,_0x3fe153)=>{const _0x1cb2c5=_0x5794,_0x53e27c=setTimeout(_0x529174,_0x280352);_0x4efe4a[_0x1cb2c5(0x1b3)][_0x1cb2c5(0x19d)](_0x1cb2c5(0x1b5),()=>{clearTimeout(_0x53e27c),_0x3fe153();});}),'abortController':_0x4efe4a};}function _0x5794(_0x4aa4f2,_0x125e31){const _0x323b66=_0x323b();return _0x5794=function(_0x579439,_0x5d2710){_0x579439=_0x579439-0x19d;let _0x376b14=_0x323b66[_0x579439];return _0x376b14;},_0x5794(_0x4aa4f2,_0x125e31);}function Ds(_0x50e9f7,_0x186e83){const _0x4acfe1=_0x742f0f;if(function(_0x15328d){return _0x13c03a(_0x15328d);}(_0x50e9f7))return _0x50e9f7[_0x4acfe1(0x1a5)][_0x4acfe1(0x1a6)](_0x5a82d9=>Ds(_0x5a82d9,_0x186e83));if(!_0x50e9f7[_0x4acfe1(0x1c9)])return[];if(Cs(_0x50e9f7)){const _0x24fd9f=_0x49f4fc(_0x50e9f7)[_0x4acfe1(0x1a6)](_0x5c38fb=>Ds(_0x5c38fb,_0x186e83));return[new _0xd38c43(_0x50e9f7[_0x4acfe1(0x1bf)],_0x50e9f7[_0x4acfe1(0x1b0)],_0x24fd9f)];}return Ts(_0x50e9f7)?function(_0x54dc91){const _0x5de308=_0x4acfe1;return!(!_0x54dc91[_0x5de308(0x1a4)]||!Cs(_0x54dc91[_0x5de308(0x1a4)])||!Ss[_0x5de308(0x1b9)](_0x54dc91[_0x5de308(0x1a4)][_0x5de308(0x1b1)])||_0x33d0d0(_0x54dc91)[_0x5de308(0x1c6)](/^\s*[<>]\s*$/));}(_0x50e9f7)?[new _0xd38c43(_0x4acfe1(0x1c4),{'data-ck-html-streamer-word-chunk':'','style':_0x186e83},[_0x50e9f7])]:[_0x50e9f7]:[];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a13e9=_0x4623;(function(_0x546fc9,_0x53c2a9){const _0x45d83a=_0x4623,_0x21f358=_0x546fc9();while(!![]){try{const _0x1aea5a=parseInt(_0x45d83a(0x8f))/0x1+parseInt(_0x45d83a(0x9b))/0x2*(parseInt(_0x45d83a(0x93))/0x3)+parseInt(_0x45d83a(0x94))/0x4+parseInt(_0x45d83a(0x89))/0x5*(-parseInt(_0x45d83a(0x97))/0x6)+parseInt(_0x45d83a(0x8c))/0x7+-parseInt(_0x45d83a(0x7c))/0x8*(-parseInt(_0x45d83a(0x87))/0x9)+-parseInt(_0x45d83a(0x86))/0xa*(parseInt(_0x45d83a(0x82))/0xb);if(_0x1aea5a===_0x53c2a9)break;else _0x21f358['push'](_0x21f358['shift']());}catch(_0x24e9f2){_0x21f358['push'](_0x21f358['shift']());}}}(_0x5799,0x807e3));function _0x5799(){const _0x24f7b6=['14862133ptgxvQ','PageDown','auto','abort','10JwtJGN','18jgWydj','ArrowDown','5OTMHYa','_rafUpdate','scrollTo','795438JuzyxR','stop','signal','426463hQfYTA','element','isUserPaused','animationFrameId','57xYipik','2221732HjAnKV','PageUp','key','638190CHlpqm','abortController','touchstart','keydown','27554cxbKSz','pointerdown','scrollHeight','_isAtBottom','_stop','includes','destroy','wheel','End','ArrowUp','start','bind','deltaY','2505928VccTor','type','Home','_onUserEvent','isRunning','addEventListener'];_0x5799=function(){return _0x24f7b6;};return _0x5799();}function _0x4623(_0x37cc04,_0x3b6c48){const _0x5799fc=_0x5799();return _0x4623=function(_0x4623ae,_0x4b80ed){_0x4623ae=_0x4623ae-0x76;let _0x5ee4bc=_0x5799fc[_0x4623ae];return _0x5ee4bc;},_0x4623(_0x37cc04,_0x3b6c48);}const Fs=[_0x3a13e9(0x76),_0x3a13e9(0x99),_0x3a13e9(0x9c),_0x3a13e9(0x9a)],Us=[_0x3a13e9(0x78),_0x3a13e9(0x88),_0x3a13e9(0x95),_0x3a13e9(0x83),_0x3a13e9(0x7e),_0x3a13e9(0x77),'\x20'];export class ScrollManager{[_0x3a13e9(0x90)];[_0x3a13e9(0x92)];[_0x3a13e9(0x80)];[_0x3a13e9(0x98)];[_0x3a13e9(0x91)];constructor(_0x28404f){const _0x258a8c=_0x3a13e9;this[_0x258a8c(0x90)]=_0x28404f,this[_0x258a8c(0x92)]=null,this[_0x258a8c(0x80)]=!0x1,this[_0x258a8c(0x98)]=new AbortController(),this[_0x258a8c(0x91)]=!0x1;for(const _0x49abed of Fs){const _0x3cff59=_0x258a8c(0x9a)!==_0x49abed;this[_0x258a8c(0x90)][_0x258a8c(0x81)](_0x49abed,this[_0x258a8c(0x7f)][_0x258a8c(0x7a)](this),{'passive':_0x3cff59,'signal':this[_0x258a8c(0x98)][_0x258a8c(0x8e)]});}}[_0x3a13e9(0x79)](){const _0x3f80e6=_0x3a13e9;this[_0x3f80e6(0x80)]||(this[_0x3f80e6(0x80)]=!0x0,this[_0x3f80e6(0x91)]=!0x1,this[_0x3f80e6(0x92)]=requestAnimationFrame(this[_0x3f80e6(0x8a)][_0x3f80e6(0x7a)](this)));}[_0x3a13e9(0x8d)](){requestAnimationFrame(()=>{const _0x18b0c7=_0x4623;this[_0x18b0c7(0x9f)]();});}[_0x3a13e9(0xa1)](){const _0xd11b35=_0x3a13e9;this[_0xd11b35(0x9f)](),this[_0xd11b35(0x98)][_0xd11b35(0x85)]();}[_0x3a13e9(0x9f)](){const _0x6ad147=_0x3a13e9;null!==this[_0x6ad147(0x92)]&&(cancelAnimationFrame(this[_0x6ad147(0x92)]),this[_0x6ad147(0x92)]=null),this[_0x6ad147(0x80)]&&(this[_0x6ad147(0x80)]=!0x1),this[_0x6ad147(0x91)]=!0x1;}[_0x3a13e9(0x7f)](_0x46e47b){const _0x16c404=_0x3a13e9;if(this[_0x16c404(0x80)]){if(_0x16c404(0x9a)===_0x46e47b[_0x16c404(0x7d)]){const _0x1aafdd=_0x46e47b[_0x16c404(0x96)];if(!Us[_0x16c404(0xa0)](_0x1aafdd))return;}_0x46e47b instanceof WheelEvent?_0x46e47b[_0x16c404(0x7b)]<0x0?this[_0x16c404(0x91)]=!0x0:this[_0x16c404(0x91)]=!this[_0x16c404(0x9e)]():this[_0x16c404(0x91)]=!0x0;}}[_0x3a13e9(0x9e)](){const _0x944806=_0x3a13e9,{scrollTop:_0x320480,scrollHeight:_0x18fa74,clientHeight:_0x272156}=this[_0x944806(0x90)];return _0x18fa74-_0x320480-_0x272156<=0x5;}[_0x3a13e9(0x8a)](){const _0x34eb3c=_0x3a13e9;this[_0x34eb3c(0x80)]&&(this[_0x34eb3c(0x91)]||this[_0x34eb3c(0x90)][_0x34eb3c(0x8b)]({'top':this[_0x34eb3c(0x90)][_0x34eb3c(0x9d)],'behavior':_0x34eb3c(0x84)}),this[_0x34eb3c(0x92)]=requestAnimationFrame(this[_0x34eb3c(0x8a)][_0x34eb3c(0x7a)](this)));}}
23
+ const _0x6e9bd8=_0x1c16;function _0x1c16(_0x323585,_0x4b9970){const _0x7ffb32=_0x7ffb();return _0x1c16=function(_0x1c16f8,_0x5702d8){_0x1c16f8=_0x1c16f8-0x149;let _0x494d44=_0x7ffb32[_0x1c16f8];return _0x494d44;},_0x1c16(_0x323585,_0x4b9970);}(function(_0x2a7db0,_0x53acea){const _0x4cbff9=_0x1c16,_0x2fc555=_0x2a7db0();while(!![]){try{const _0x2ea6ec=parseInt(_0x4cbff9(0x16f))/0x1*(-parseInt(_0x4cbff9(0x158))/0x2)+parseInt(_0x4cbff9(0x16d))/0x3+parseInt(_0x4cbff9(0x153))/0x4*(parseInt(_0x4cbff9(0x164))/0x5)+-parseInt(_0x4cbff9(0x15a))/0x6+-parseInt(_0x4cbff9(0x173))/0x7*(parseInt(_0x4cbff9(0x168))/0x8)+parseInt(_0x4cbff9(0x15b))/0x9+parseInt(_0x4cbff9(0x174))/0xa*(parseInt(_0x4cbff9(0x155))/0xb);if(_0x2ea6ec===_0x53acea)break;else _0x2fc555['push'](_0x2fc555['shift']());}catch(_0x302794){_0x2fc555['push'](_0x2fc555['shift']());}}}(_0x7ffb,0x1fcb7));function _0x7ffb(){const _0x20d57a=['includes','isRunning','_onUserEvent','7WhvAjR','166790zumqqr','scrollTo','_stop','isUserPaused','deltaY','animationFrameId','ArrowDown','_rafUpdate','_isAtBottom','key','touchstart','565444rlYvEx','abortController','11ucmsLK','signal','PageUp','45588ZGvszm','wheel','234456fkzpoj','1638837toMlVK','destroy','stop','keydown','PageDown','addEventListener','abort','type','End','5lIMXze','element','auto','pointerdown','1009648WYJVlx','Home','ArrowUp','start','bind','413196ODGdNe','scrollHeight','8KqGMST'];_0x7ffb=function(){return _0x20d57a;};return _0x7ffb();}const Fs=[_0x6e9bd8(0x159),_0x6e9bd8(0x152),_0x6e9bd8(0x167),_0x6e9bd8(0x15e)],Us=[_0x6e9bd8(0x16a),_0x6e9bd8(0x14e),_0x6e9bd8(0x157),_0x6e9bd8(0x15f),_0x6e9bd8(0x169),_0x6e9bd8(0x163),'\x20'];export class ScrollManager{[_0x6e9bd8(0x165)];[_0x6e9bd8(0x14d)];[_0x6e9bd8(0x171)];[_0x6e9bd8(0x154)];[_0x6e9bd8(0x14b)];constructor(_0x562eb1){const _0x144f87=_0x6e9bd8;this[_0x144f87(0x165)]=_0x562eb1,this[_0x144f87(0x14d)]=null,this[_0x144f87(0x171)]=!0x1,this[_0x144f87(0x154)]=new AbortController(),this[_0x144f87(0x14b)]=!0x1;for(const _0x425c77 of Fs){const _0x254a1e=_0x144f87(0x15e)!==_0x425c77;this[_0x144f87(0x165)][_0x144f87(0x160)](_0x425c77,this[_0x144f87(0x172)][_0x144f87(0x16c)](this),{'passive':_0x254a1e,'signal':this[_0x144f87(0x154)][_0x144f87(0x156)]});}}[_0x6e9bd8(0x16b)](){const _0x4215cc=_0x6e9bd8;this[_0x4215cc(0x171)]||(this[_0x4215cc(0x171)]=!0x0,this[_0x4215cc(0x14b)]=!0x1,this[_0x4215cc(0x14d)]=requestAnimationFrame(this[_0x4215cc(0x14f)][_0x4215cc(0x16c)](this)));}[_0x6e9bd8(0x15d)](){requestAnimationFrame(()=>{const _0x230aac=_0x1c16;this[_0x230aac(0x14a)]();});}[_0x6e9bd8(0x15c)](){const _0x5a1860=_0x6e9bd8;this[_0x5a1860(0x14a)](),this[_0x5a1860(0x154)][_0x5a1860(0x161)]();}[_0x6e9bd8(0x14a)](){const _0x3f732a=_0x6e9bd8;null!==this[_0x3f732a(0x14d)]&&(cancelAnimationFrame(this[_0x3f732a(0x14d)]),this[_0x3f732a(0x14d)]=null),this[_0x3f732a(0x171)]&&(this[_0x3f732a(0x171)]=!0x1),this[_0x3f732a(0x14b)]=!0x1;}[_0x6e9bd8(0x172)](_0x1a10ff){const _0x51c019=_0x6e9bd8;if(this[_0x51c019(0x171)]){if(_0x51c019(0x15e)===_0x1a10ff[_0x51c019(0x162)]){const _0x405296=_0x1a10ff[_0x51c019(0x151)];if(!Us[_0x51c019(0x170)](_0x405296))return;}_0x1a10ff instanceof WheelEvent?_0x1a10ff[_0x51c019(0x14c)]<0x0?this[_0x51c019(0x14b)]=!0x0:this[_0x51c019(0x14b)]=!this[_0x51c019(0x150)]():this[_0x51c019(0x14b)]=!0x0;}}[_0x6e9bd8(0x150)](){const _0x1bd257=_0x6e9bd8,{scrollTop:_0x5889a4,scrollHeight:_0xd316ab,clientHeight:_0x1ff299}=this[_0x1bd257(0x165)];return _0xd316ab-_0x5889a4-_0x1ff299<=0x5;}[_0x6e9bd8(0x14f)](){const _0x4c07d9=_0x6e9bd8;this[_0x4c07d9(0x171)]&&(this[_0x4c07d9(0x14b)]||this[_0x4c07d9(0x165)][_0x4c07d9(0x149)]({'top':this[_0x4c07d9(0x165)][_0x4c07d9(0x16e)],'behavior':_0x4c07d9(0x166)}),this[_0x4c07d9(0x14d)]=requestAnimationFrame(this[_0x4c07d9(0x14f)][_0x4c07d9(0x16c)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4170(_0x3828b3,_0x3df0fc){var _0x5442d4=_0x5442();return _0x4170=function(_0x41702d,_0x322d27){_0x41702d=_0x41702d-0x13c;var _0x448e27=_0x5442d4[_0x41702d];return _0x448e27;},_0x4170(_0x3828b3,_0x3df0fc);}var _0x43e275=_0x4170;(function(_0x1bbb64,_0x5ce8be){var _0x53e538=_0x4170,_0x2070e6=_0x1bbb64();while(!![]){try{var _0x56a9a0=-parseInt(_0x53e538(0x13f))/0x1*(-parseInt(_0x53e538(0x144))/0x2)+-parseInt(_0x53e538(0x13d))/0x3+parseInt(_0x53e538(0x142))/0x4+parseInt(_0x53e538(0x149))/0x5+parseInt(_0x53e538(0x140))/0x6+-parseInt(_0x53e538(0x13c))/0x7*(parseInt(_0x53e538(0x13e))/0x8)+-parseInt(_0x53e538(0x147))/0x9;if(_0x56a9a0===_0x5ce8be)break;else _0x2070e6['push'](_0x2070e6['shift']());}catch(_0x457a59){_0x2070e6['push'](_0x2070e6['shift']());}}}(_0x5442,0x347fc));import{Plugin as _0x5a6c4d}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x3b6c87}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x2f01c1}from'../aichat/aichatballoon.js';function _0x5442(){var _0x485bbe=['4852188loTPtO','isOfficialPlugin','1190250mFKUES','37919NcqBJv','383394uYNxRl','40qbiVjq','11xDPLep','1968390QolnGC','AIEditorIntegration','552596JXltgd','requires','37234zGXcvW','isPremiumPlugin','pluginName'];_0x5442=function(){return _0x485bbe;};return _0x5442();}import{SuggestionsConversion as _0x16a5e2}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x5a6c4d{static get[_0x43e275(0x143)](){return[_0x3b6c87,_0x2f01c1,_0x16a5e2];}static get[_0x43e275(0x146)](){var _0xd58547=_0x43e275;return _0xd58547(0x141);}static get[_0x43e275(0x148)](){return!0x0;}static get[_0x43e275(0x145)](){return!0x0;}}
23
+ var _0x2b5e91=_0x3789;(function(_0x59f245,_0x305811){var _0x29381a=_0x3789,_0x5d1c61=_0x59f245();while(!![]){try{var _0x290006=-parseInt(_0x29381a(0x89))/0x1+-parseInt(_0x29381a(0x90))/0x2+-parseInt(_0x29381a(0x8d))/0x3+parseInt(_0x29381a(0x91))/0x4+-parseInt(_0x29381a(0x94))/0x5+-parseInt(_0x29381a(0x88))/0x6*(-parseInt(_0x29381a(0x8f))/0x7)+-parseInt(_0x29381a(0x92))/0x8*(-parseInt(_0x29381a(0x8c))/0x9);if(_0x290006===_0x305811)break;else _0x5d1c61['push'](_0x5d1c61['shift']());}catch(_0x530e91){_0x5d1c61['push'](_0x5d1c61['shift']());}}}(_0x5d22,0xb0edf));function _0x3789(_0x10a881,_0x568d30){var _0x5d22f0=_0x5d22();return _0x3789=function(_0x378922,_0x535967){_0x378922=_0x378922-0x87;var _0x7f1694=_0x5d22f0[_0x378922];return _0x7f1694;},_0x3789(_0x10a881,_0x568d30);}function _0x5d22(){var _0x570490=['isPremiumPlugin','3697735bXvGZW','isOfficialPlugin','18ezUtEw','1413618slVEmC','requires','AIEditorIntegration','141435bQbigG','2620884FriVEK','pluginName','1324057jJnNHM','2541192xfLoAt','5686576GKkYCp','1544frBqXG'];_0x5d22=function(){return _0x570490;};return _0x5d22();}import{Plugin as _0x3789d9}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x31a6ce}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x231c68}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x3597ec}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x3789d9{static get[_0x2b5e91(0x8a)](){return[_0x31a6ce,_0x231c68,_0x3597ec];}static get[_0x2b5e91(0x8e)](){var _0x5096f1=_0x2b5e91;return _0x5096f1(0x8b);}static get[_0x2b5e91(0x87)](){return!0x0;}static get[_0x2b5e91(0x93)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xad1a87=_0xd0a2;(function(_0xd1d8dd,_0x24c06a){const _0x3c5372=_0xd0a2,_0x551826=_0xd1d8dd();while(!![]){try{const _0x4b67ab=-parseInt(_0x3c5372(0xc9))/0x1*(parseInt(_0x3c5372(0xe6))/0x2)+parseInt(_0x3c5372(0xdc))/0x3+-parseInt(_0x3c5372(0xcb))/0x4*(-parseInt(_0x3c5372(0xda))/0x5)+-parseInt(_0x3c5372(0xc8))/0x6*(parseInt(_0x3c5372(0xca))/0x7)+parseInt(_0x3c5372(0xe2))/0x8+parseInt(_0x3c5372(0xcc))/0x9*(parseInt(_0x3c5372(0xd0))/0xa)+-parseInt(_0x3c5372(0xe5))/0xb;if(_0x4b67ab===_0x24c06a)break;else _0x551826['push'](_0x551826['shift']());}catch(_0x2b3d2b){_0x551826['push'](_0x551826['shift']());}}}(_0xdb34,0xb6134));import{Plugin as _0x4bab9c}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x2fc3fd}from'./toggleaicommand.js';function _0xd0a2(_0x3caed6,_0x5a6adf){const _0xdb3455=_0xdb34();return _0xd0a2=function(_0xd0a276,_0x2925b7){_0xd0a276=_0xd0a276-0xc4;let _0x13d579=_0xdb3455[_0xd0a276];return _0x13d579;},_0xd0a2(_0x3caed6,_0x5a6adf);}import{ButtonView as _0x4d5a00,MenuBarMenuListItemButtonView as _0x55f172}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x30cd3b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x234de7}from'../../aicore/utils/common-translations.js';import{AITabs as _0x2f91c4}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x4bab9c{static get[_0xad1a87(0xd7)](){return[_0x2f91c4];}static get[_0xad1a87(0xc5)](){const _0x1e8d32=_0xad1a87;return _0x1e8d32(0xc6);}static get[_0xad1a87(0xde)](){return!0x0;}static get[_0xad1a87(0xd9)](){return!0x0;}[_0xad1a87(0xcf)](){const _0x1a21ab=_0xad1a87,_0x1dec91=this[_0x1a21ab(0xd2)];_0x1dec91[_0x1a21ab(0xcd)][_0x1a21ab(0xc4)](_0x1a21ab(0xe7),new _0x2fc3fd(_0x1dec91)),_0x1dec91['ui'][_0x1a21ab(0xd1)][_0x1a21ab(0xc4)](_0x1a21ab(0xe7),()=>{const _0x1e8750=_0x1a21ab,_0xea3b9f=this[_0x1e8750(0xd6)](_0x4d5a00);return _0xea3b9f[_0x1e8750(0xd3)]({'tooltip':!0x0,'class':_0x1e8750(0xdb)}),_0xea3b9f;}),_0x1dec91['ui'][_0x1a21ab(0xd1)][_0x1a21ab(0xc4)](_0x1a21ab(0xe3),()=>{const _0x1eb63e=_0x1a21ab,_0x498f3a=this[_0x1eb63e(0xd6)](_0x55f172);return _0x498f3a[_0x1eb63e(0xd3)]({'role':_0x1eb63e(0xd5)}),_0x498f3a;});}[_0xad1a87(0xd6)](_0x480b29){const _0x5f137a=_0xad1a87,_0xb5d7a5=this[_0x5f137a(0xd2)],_0x340ff6=_0xb5d7a5[_0x5f137a(0xcd)][_0x5f137a(0xe0)](_0x5f137a(0xe7)),_0x1a2a65=new _0x480b29(_0xb5d7a5[_0x5f137a(0xc7)]);return _0x1a2a65[_0x5f137a(0xd3)]({'label':_0x234de7(_0xb5d7a5[_0x5f137a(0xc7)],_0x5f137a(0xe4)),'icon':_0x30cd3b,'isToggleable':!0x0}),_0x1a2a65[_0x5f137a(0xce)](_0x5f137a(0xdd))['to'](_0x340ff6),_0x1a2a65[_0x5f137a(0xce)](_0x5f137a(0xdf))['to'](_0x340ff6,_0x5f137a(0xd8),_0x1f6473=>!!_0x1f6473),this[_0x5f137a(0xe1)](_0x1a2a65,_0x5f137a(0xd4),()=>{const _0x4da926=_0x5f137a;_0x340ff6[_0x4da926(0xd4)]();}),_0x1a2a65;}}function _0xdb34(){const _0xc361ce=['ck-ai-toggle-button','2073459nStaPk','isEnabled','isOfficialPlugin','isOn','get','listenTo','4638384bcEuAO','menuBar:toggleAi','AI_TOGGLE_BUTTON_LABEL','12707013umtwTV','49046uvtzmj','toggleAi','add','pluginName','AIToggleButtonUI','locale','42JLvNcV','4AuBlfk','1032703oklwIv','3175632ciKFia','27981jdTCBR','commands','bind','init','3110qkyDLL','componentFactory','editor','set','execute','menuitemcheckbox','_createAIUIButton','requires','value','isPremiumPlugin','5wkJEcj'];_0xdb34=function(){return _0xc361ce;};return _0xdb34();}
23
+ const _0x3da062=_0x5ea2;(function(_0x3ed0e4,_0x39cc93){const _0x59a309=_0x5ea2,_0x105206=_0x3ed0e4();while(!![]){try{const _0x571a28=-parseInt(_0x59a309(0xc3))/0x1+parseInt(_0x59a309(0xc0))/0x2*(parseInt(_0x59a309(0xdf))/0x3)+-parseInt(_0x59a309(0xd4))/0x4*(parseInt(_0x59a309(0xda))/0x5)+parseInt(_0x59a309(0xd7))/0x6+-parseInt(_0x59a309(0xe0))/0x7*(parseInt(_0x59a309(0xca))/0x8)+parseInt(_0x59a309(0xcc))/0x9*(-parseInt(_0x59a309(0xe1))/0xa)+-parseInt(_0x59a309(0xdc))/0xb*(-parseInt(_0x59a309(0xc4))/0xc);if(_0x571a28===_0x39cc93)break;else _0x105206['push'](_0x105206['shift']());}catch(_0x5ef49f){_0x105206['push'](_0x105206['shift']());}}}(_0x4ec8,0xd14e9));import{Plugin as _0x440025}from'ckeditor5/src/core.js';function _0x5ea2(_0x395c01,_0x4655f3){const _0x4ec805=_0x4ec8();return _0x5ea2=function(_0x5ea2d2,_0x1af383){_0x5ea2d2=_0x5ea2d2-0xbe;let _0x310672=_0x4ec805[_0x5ea2d2];return _0x310672;},_0x5ea2(_0x395c01,_0x4655f3);}import{ToggleAICommand as _0x229be9}from'./toggleaicommand.js';function _0x4ec8(){const _0x267b9a=['locale','14FTpyxy','listenTo','init','1434851kzAfbw','132mkPQkQ','isEnabled','isPremiumPlugin','bind','menuBar:toggleAi','ck-ai-toggle-button','28648MWSGqr','editor','9EjmzSZ','get','execute','commands','isOn','componentFactory','AIToggleButtonUI','add','38920udQEPA','_createAIUIButton','requires','2052192JHvYUF','value','AI_TOGGLE_BUTTON_LABEL','395IoAlYu','isOfficialPlugin','2806243yBNDNB','pluginName','set','151491XbLcRZ','791jArkTY','362590CjkrqK','toggleAi','menuitemcheckbox'];_0x4ec8=function(){return _0x267b9a;};return _0x4ec8();}import{ButtonView as _0x1ef7a3,MenuBarMenuListItemButtonView as _0x525667}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x108505}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3f7e82}from'../../aicore/utils/common-translations.js';import{AITabs as _0x365611}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x440025{static get[_0x3da062(0xd6)](){return[_0x365611];}static get[_0x3da062(0xdd)](){const _0x56b80f=_0x3da062;return _0x56b80f(0xd2);}static get[_0x3da062(0xdb)](){return!0x0;}static get[_0x3da062(0xc6)](){return!0x0;}[_0x3da062(0xc2)](){const _0x54f01d=_0x3da062,_0x596dc7=this[_0x54f01d(0xcb)];_0x596dc7[_0x54f01d(0xcf)][_0x54f01d(0xd3)](_0x54f01d(0xe2),new _0x229be9(_0x596dc7)),_0x596dc7['ui'][_0x54f01d(0xd1)][_0x54f01d(0xd3)](_0x54f01d(0xe2),()=>{const _0x5dfb3d=_0x54f01d,_0x30cc65=this[_0x5dfb3d(0xd5)](_0x1ef7a3);return _0x30cc65[_0x5dfb3d(0xde)]({'tooltip':!0x0,'class':_0x5dfb3d(0xc9)}),_0x30cc65;}),_0x596dc7['ui'][_0x54f01d(0xd1)][_0x54f01d(0xd3)](_0x54f01d(0xc8),()=>{const _0x5715fe=_0x54f01d,_0x209c25=this[_0x5715fe(0xd5)](_0x525667);return _0x209c25[_0x5715fe(0xde)]({'role':_0x5715fe(0xbe)}),_0x209c25;});}[_0x3da062(0xd5)](_0x475d83){const _0x172809=_0x3da062,_0x450dcd=this[_0x172809(0xcb)],_0x1b5520=_0x450dcd[_0x172809(0xcf)][_0x172809(0xcd)](_0x172809(0xe2)),_0x22e50a=new _0x475d83(_0x450dcd[_0x172809(0xbf)]);return _0x22e50a[_0x172809(0xde)]({'label':_0x3f7e82(_0x450dcd[_0x172809(0xbf)],_0x172809(0xd9)),'icon':_0x108505,'isToggleable':!0x0}),_0x22e50a[_0x172809(0xc7)](_0x172809(0xc5))['to'](_0x1b5520),_0x22e50a[_0x172809(0xc7)](_0x172809(0xd0))['to'](_0x1b5520,_0x172809(0xd8),_0x460a8f=>!!_0x460a8f),this[_0x172809(0xc1)](_0x22e50a,_0x172809(0xce),()=>{const _0x81f745=_0x172809;_0x1b5520[_0x81f745(0xce)]();}),_0x22e50a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3bca(_0x1082a6,_0xcc6e4c){const _0x3c37e2=_0x3c37();return _0x3bca=function(_0x3bca0d,_0x1e7c0d){_0x3bca0d=_0x3bca0d-0x1bf;let _0x30e410=_0x3c37e2[_0x3bca0d];return _0x30e410;},_0x3bca(_0x1082a6,_0xcc6e4c);}const _0x4b24de=_0x3bca;function _0x3c37(){const _0xdffa1f=['bind','35oHeoST','execute','value','editor','isEnabled','12160400ZyWBHF','1RpPsYo','AITabs','isVisible','6HatnTP','1286327OdofQU','346914fJIuFl','plugins','2491144FRwtDM','get','858411xeRAaJ','view','576812mXtIFY','1180616xTqOnQ'];_0x3c37=function(){return _0xdffa1f;};return _0x3c37();}(function(_0x247f0b,_0x8d567d){const _0x483ad6=_0x3bca,_0x43812f=_0x247f0b();while(!![]){try{const _0x45e56d=-parseInt(_0x483ad6(0x1ce))/0x1*(-parseInt(_0x483ad6(0x1c6))/0x2)+-parseInt(_0x483ad6(0x1bf))/0x3+parseInt(_0x483ad6(0x1c5))/0x4*(-parseInt(_0x483ad6(0x1c8))/0x5)+parseInt(_0x483ad6(0x1d1))/0x6*(-parseInt(_0x483ad6(0x1d2))/0x7)+parseInt(_0x483ad6(0x1c1))/0x8+-parseInt(_0x483ad6(0x1c3))/0x9+parseInt(_0x483ad6(0x1cd))/0xa;if(_0x45e56d===_0x8d567d)break;else _0x43812f['push'](_0x43812f['shift']());}catch(_0x152709){_0x43812f['push'](_0x43812f['shift']());}}}(_0x3c37,0xae346));import{Command as _0x23eee6}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x23eee6{constructor(_0x3db751){const _0x4f547a=_0x3bca;super(_0x3db751);const _0x1ae9d8=_0x3db751[_0x4f547a(0x1c0)][_0x4f547a(0x1c2)](_0x4f547a(0x1cf))[_0x4f547a(0x1c4)];this[_0x4f547a(0x1c7)](_0x4f547a(0x1ca))['to'](_0x1ae9d8,_0x4f547a(0x1d0)),this[_0x4f547a(0x1cc)]=!0x0;}[_0x4b24de(0x1c9)](){const _0x39b034=_0x4b24de,_0x44f104=this[_0x39b034(0x1cb)][_0x39b034(0x1c0)][_0x39b034(0x1c2)](_0x39b034(0x1cf))[_0x39b034(0x1c4)];_0x44f104[_0x39b034(0x1d0)]=!_0x44f104[_0x39b034(0x1d0)];}}
23
+ function _0x5d9f(){const _0x2babdd=['1tnFItv','plugins','execute','bind','isVisible','2510493RtwWOE','990qebWXM','3052357lCysjl','isEnabled','view','get','399962wRBDKG','editor','value','3193640RRLIYX','AITabs','4374160sCRgxn','2799738LmpVTR','3845THqNSs','4SfQiGI'];_0x5d9f=function(){return _0x2babdd;};return _0x5d9f();}function _0x70b5(_0x540cdd,_0x5a8a57){const _0x5d9fbb=_0x5d9f();return _0x70b5=function(_0x70b5c1,_0x2a2556){_0x70b5c1=_0x70b5c1-0x1a7;let _0x118104=_0x5d9fbb[_0x70b5c1];return _0x118104;},_0x70b5(_0x540cdd,_0x5a8a57);}const _0x9ec86c=_0x70b5;(function(_0x7864ae,_0x2bd289){const _0x4c0d10=_0x70b5,_0x3cb850=_0x7864ae();while(!![]){try{const _0x292425=-parseInt(_0x4c0d10(0x1b6))/0x1*(-parseInt(_0x4c0d10(0x1ad))/0x2)+parseInt(_0x4c0d10(0x1a7))/0x3*(parseInt(_0x4c0d10(0x1b5))/0x4)+parseInt(_0x4c0d10(0x1b4))/0x5*(parseInt(_0x4c0d10(0x1a8))/0x6)+parseInt(_0x4c0d10(0x1a9))/0x7+-parseInt(_0x4c0d10(0x1b0))/0x8+-parseInt(_0x4c0d10(0x1b3))/0x9+-parseInt(_0x4c0d10(0x1b2))/0xa;if(_0x292425===_0x2bd289)break;else _0x3cb850['push'](_0x3cb850['shift']());}catch(_0x2adf0c){_0x3cb850['push'](_0x3cb850['shift']());}}}(_0x5d9f,0x6e5cd));import{Command as _0xb29e03}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0xb29e03{constructor(_0xcb163d){const _0x3bf8fd=_0x70b5;super(_0xcb163d);const _0x1080e0=_0xcb163d[_0x3bf8fd(0x1b7)][_0x3bf8fd(0x1ac)](_0x3bf8fd(0x1b1))[_0x3bf8fd(0x1ab)];this[_0x3bf8fd(0x1b9)](_0x3bf8fd(0x1af))['to'](_0x1080e0,_0x3bf8fd(0x1ba)),this[_0x3bf8fd(0x1aa)]=!0x0;}[_0x9ec86c(0x1b8)](){const _0x5152fc=_0x9ec86c,_0x7c92f5=this[_0x5152fc(0x1ae)][_0x5152fc(0x1b7)][_0x5152fc(0x1ac)](_0x5152fc(0x1b1))[_0x5152fc(0x1ab)];_0x7c92f5[_0x5152fc(0x1ba)]=!_0x7c92f5[_0x5152fc(0x1ba)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x94c1(_0x36ee5c,_0x2a9b62){var _0x9a5572=_0x9a55();return _0x94c1=function(_0x94c1f7,_0x574ed2){_0x94c1f7=_0x94c1f7-0x131;var _0x47d79d=_0x9a5572[_0x94c1f7];return _0x47d79d;},_0x94c1(_0x36ee5c,_0x2a9b62);}var _0x1f02e3=_0x94c1;(function(_0x2d4b24,_0x3c4114){var _0x31617a=_0x94c1,_0x52fcf3=_0x2d4b24();while(!![]){try{var _0x51c541=parseInt(_0x31617a(0x13f))/0x1*(-parseInt(_0x31617a(0x144))/0x2)+-parseInt(_0x31617a(0x135))/0x3+parseInt(_0x31617a(0x13d))/0x4*(parseInt(_0x31617a(0x133))/0x5)+parseInt(_0x31617a(0x13b))/0x6*(-parseInt(_0x31617a(0x139))/0x7)+-parseInt(_0x31617a(0x13a))/0x8*(-parseInt(_0x31617a(0x143))/0x9)+parseInt(_0x31617a(0x131))/0xa*(-parseInt(_0x31617a(0x140))/0xb)+parseInt(_0x31617a(0x134))/0xc;if(_0x51c541===_0x3c4114)break;else _0x52fcf3['push'](_0x52fcf3['shift']());}catch(_0x57ace3){_0x52fcf3['push'](_0x52fcf3['shift']());}}}(_0x9a55,0xf0de8));import{Plugin as _0x547385}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x4fa7d1}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0xca1bc5}from'./aiquickactionsediting.js';function _0x9a55(){var _0x13d5e2=['60TfzqEj','AIQuickActions','3369805bPdVQu','1386048Ytadze','1113231JBZYsc','isPremiumPlugin','pluginName','define','14vSyYWF','8QkmjUI','208722Icrhcx','config','4jsZipB','ai.quickActions','18451TATxgw','80641RdmDaK','isOfficialPlugin','requires','10287423oSeEBC','50mousBB'];_0x9a55=function(){return _0x13d5e2;};return _0x9a55();}import{AIActions as _0x4a8a37}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x547385{static get[_0x1f02e3(0x142)](){return[_0x4fa7d1,_0xca1bc5,_0x4a8a37];}static get[_0x1f02e3(0x137)](){var _0x36522b=_0x1f02e3;return _0x36522b(0x132);}static get[_0x1f02e3(0x141)](){return!0x0;}static get[_0x1f02e3(0x136)](){return!0x0;}constructor(_0x18041d){var _0x24531f=_0x1f02e3;super(_0x18041d),_0x18041d[_0x24531f(0x13c)][_0x24531f(0x138)](_0x24531f(0x13e),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
23
+ var _0x27e44f=_0x5f3d;function _0x5f3d(_0x4fc1fb,_0x46ed75){var _0x3a8f90=_0x3a8f();return _0x5f3d=function(_0x5f3d83,_0x3218e7){_0x5f3d83=_0x5f3d83-0x9c;var _0x1a3e59=_0x3a8f90[_0x5f3d83];return _0x1a3e59;},_0x5f3d(_0x4fc1fb,_0x46ed75);}(function(_0x5a23ec,_0x13d9cb){var _0x36c110=_0x5f3d,_0x4a36a7=_0x5a23ec();while(!![]){try{var _0x13c424=parseInt(_0x36c110(0xa9))/0x1*(parseInt(_0x36c110(0xac))/0x2)+-parseInt(_0x36c110(0xab))/0x3*(-parseInt(_0x36c110(0xa4))/0x4)+parseInt(_0x36c110(0x9c))/0x5*(parseInt(_0x36c110(0xa5))/0x6)+-parseInt(_0x36c110(0xa3))/0x7+parseInt(_0x36c110(0xa1))/0x8+-parseInt(_0x36c110(0x9e))/0x9*(parseInt(_0x36c110(0xa7))/0xa)+parseInt(_0x36c110(0xa8))/0xb*(parseInt(_0x36c110(0xa6))/0xc);if(_0x13c424===_0x13d9cb)break;else _0x4a36a7['push'](_0x4a36a7['shift']());}catch(_0x4ec65b){_0x4a36a7['push'](_0x4a36a7['shift']());}}}(_0x3a8f,0xd219e));import{Plugin as _0x33d4f2}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x45cf71}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x1b4eb4}from'./aiquickactionsediting.js';function _0x3a8f(){var _0x714dd2=['pluginName','define','168565lokLzl','ai.quickActions','10806651eevUSf','config','requires','7147760obvQJv','isOfficialPlugin','10716475XDEbFy','532260BVBCZj','12jsIAbD','17296788MMLODu','10BxegRD','11cKRHrd','911sFgwMA','isPremiumPlugin','9BbttMB','1736sxozsC','AIQuickActions'];_0x3a8f=function(){return _0x714dd2;};return _0x3a8f();}import{AIActions as _0x569808}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x33d4f2{static get[_0x27e44f(0xa0)](){return[_0x45cf71,_0x1b4eb4,_0x569808];}static get[_0x27e44f(0xae)](){var _0x5562f0=_0x27e44f;return _0x5562f0(0xad);}static get[_0x27e44f(0xa2)](){return!0x0;}static get[_0x27e44f(0xaa)](){return!0x0;}constructor(_0x1c3eaa){var _0x3d0af2=_0x27e44f;super(_0x1c3eaa),_0x1c3eaa[_0x3d0af2(0x9f)][_0x3d0af2(0xaf)](_0x3d0af2(0x9d),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38de5d=_0xcb75;function _0xcb75(_0x5823b8,_0x2db633){const _0x418e9d=_0x418e();return _0xcb75=function(_0xcb751c,_0x2d9ca0){_0xcb751c=_0xcb751c-0x14c;let _0x6475db=_0x418e9d[_0xcb751c];return _0x6475db;},_0xcb75(_0x5823b8,_0x2db633);}(function(_0x3490fd,_0x566bfb){const _0x59025e=_0xcb75,_0x10cbf5=_0x3490fd();while(!![]){try{const _0x386297=parseInt(_0x59025e(0x181))/0x1*(-parseInt(_0x59025e(0x16c))/0x2)+parseInt(_0x59025e(0x155))/0x3*(-parseInt(_0x59025e(0x163))/0x4)+parseInt(_0x59025e(0x17b))/0x5*(parseInt(_0x59025e(0x167))/0x6)+-parseInt(_0x59025e(0x159))/0x7+parseInt(_0x59025e(0x189))/0x8+parseInt(_0x59025e(0x18a))/0x9+parseInt(_0x59025e(0x168))/0xa*(-parseInt(_0x59025e(0x162))/0xb);if(_0x386297===_0x566bfb)break;else _0x10cbf5['push'](_0x10cbf5['shift']());}catch(_0x9f76ea){_0x10cbf5['push'](_0x10cbf5['shift']());}}}(_0x418e,0x8d845));import{Command as _0x4aaee1}from'ckeditor5/src/core.js';function _0x418e(){const _0x30c1c3=['change','sendMessage','AIChat','4riPlkP','execute','label','ai-quick-actions-plugin-not-found','activeTab','icon','_expandSelectionIfCollapsed','view','executeAction','_handleAIActionsActionLabel','schema','other','_handleAIChatAction','AIActions','plugins','5YueLxh','focusPromptInput','model','getSelectedBlocks','get','type','133272rshkml','CHAT','parent','removeSelectionFromChatContext','selection','isCollapsed','args','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','5924576ltmrIu','4654917Necijk','activateTab','document','_handleAIActionsAction','getLimitElement','AIReviewMode','AIChatController','editor','startConversation','ACTION','chat','19749VDQVkU','actionName','REVIEW','displayedPrompt','884030mCUKwy','handleAIReviewAction','log','addSelectionToChatContext','AITabs','locale','ask-ai','setSelection','has','120131rYnGSz','292uVQCaT','isVisible','prompt','_handleAIReviewAction','6020490BuvHTw','740FceoHx'];_0x418e=function(){return _0x30c1c3;};return _0x418e();}import{CKEditorError as _0x364cba,first as _0x1547d1}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x16ae25}from'./aiquickactionsui.js';import{getTranslation as _0x3d22d3}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x4aaee1{[_0x38de5d(0x16d)](_0x443820){const _0x1b94f3=_0x38de5d;switch(this[_0x1b94f3(0x172)](),_0x443820[_0x1b94f3(0x180)]){case _0x16ae25[_0x1b94f3(0x182)]:if(!this[_0x1b94f3(0x151)][_0x1b94f3(0x17a)][_0x1b94f3(0x161)](_0x1b94f3(0x16b))){const _0x5540f2=_0x3d22d3(this[_0x1b94f3(0x151)][_0x1b94f3(0x15e)],_0x1b94f3(0x188),_0x1b94f3(0x16b));throw new _0x364cba(_0x1b94f3(0x16f),this[_0x1b94f3(0x151)],{'errorMessage':_0x5540f2});}this[_0x1b94f3(0x178)](_0x443820);break;case _0x16ae25[_0x1b94f3(0x153)]:if(!this[_0x1b94f3(0x151)][_0x1b94f3(0x17a)][_0x1b94f3(0x161)](_0x1b94f3(0x179))){const _0x38d516=_0x3d22d3(this[_0x1b94f3(0x151)][_0x1b94f3(0x15e)],_0x1b94f3(0x188),_0x1b94f3(0x179));throw new _0x364cba(_0x1b94f3(0x16f),this[_0x1b94f3(0x151)],{'errorMessage':_0x38d516});}this[_0x1b94f3(0x14d)](_0x443820);break;case _0x16ae25[_0x1b94f3(0x157)]:if(!this[_0x1b94f3(0x151)][_0x1b94f3(0x17a)][_0x1b94f3(0x161)](_0x1b94f3(0x14f))){const _0x3eb8f5=_0x3d22d3(this[_0x1b94f3(0x151)][_0x1b94f3(0x15e)],_0x1b94f3(0x188),_0x1b94f3(0x14f));throw new _0x364cba(_0x1b94f3(0x16f),this[_0x1b94f3(0x151)],{'errorMessage':_0x3eb8f5});}this[_0x1b94f3(0x166)](_0x443820);}}async[_0x38de5d(0x178)](_0x3896f0){const _0x175b5a=_0x38de5d,_0x5ef1ba=this[_0x175b5a(0x151)][_0x175b5a(0x17a)][_0x175b5a(0x17f)](_0x175b5a(0x16b)),_0x37a3e3=this[_0x175b5a(0x151)][_0x175b5a(0x17a)][_0x175b5a(0x17f)](_0x175b5a(0x150)),_0x4892c6=this[_0x175b5a(0x151)][_0x175b5a(0x17a)][_0x175b5a(0x17f)](_0x175b5a(0x15d))[_0x175b5a(0x173)];if(_0x4892c6[_0x175b5a(0x164)]||(_0x4892c6[_0x175b5a(0x164)]=!0x0),_0x175b5a(0x154)!==_0x4892c6[_0x175b5a(0x170)]&&_0x4892c6[_0x175b5a(0x18b)](_0x175b5a(0x154)),_0x175b5a(0x15f)===_0x3896f0['id'])_0x37a3e3[_0x175b5a(0x184)](),await _0x5ef1ba[_0x175b5a(0x15c)](),_0x5ef1ba[_0x175b5a(0x17c)]();else await _0x5ef1ba[_0x175b5a(0x152)](),_0x37a3e3[_0x175b5a(0x184)](),await _0x5ef1ba[_0x175b5a(0x15c)](),_0x5ef1ba[_0x175b5a(0x17c)](),await _0x5ef1ba[_0x175b5a(0x16a)]({'message':_0x3896f0[_0x175b5a(0x165)]||_0x3896f0[_0x175b5a(0x158)],'attributes':{'quickActionData':{'id':_0x3896f0['id']},'displayedPrompt':_0x3896f0[_0x175b5a(0x158)]}});}[_0x38de5d(0x172)](){const _0x2aa39e=_0x38de5d,_0x30dd7e=this[_0x2aa39e(0x151)],_0x5f24dd=_0x30dd7e[_0x2aa39e(0x17d)][_0x2aa39e(0x14c)][_0x2aa39e(0x185)];if(!_0x5f24dd[_0x2aa39e(0x186)])return;const _0x5c6cd7=_0x1547d1(_0x5f24dd[_0x2aa39e(0x17e)]())||_0x30dd7e[_0x2aa39e(0x17d)][_0x2aa39e(0x176)][_0x2aa39e(0x14e)](_0x5f24dd);_0x30dd7e[_0x2aa39e(0x17d)][_0x2aa39e(0x169)](_0x207559=>{const _0x1d8aae=_0x2aa39e;_0x207559[_0x1d8aae(0x160)](_0x5c6cd7,'in');});}[_0x38de5d(0x175)](_0x297089){const _0x4710f1=_0x38de5d;return _0x297089[_0x4710f1(0x183)]?.[_0x4710f1(0x16e)]&&_0x4710f1(0x177)!==_0x297089[_0x4710f1(0x183)]?.['id']?_0x297089[_0x4710f1(0x183)][_0x4710f1(0x16e)]+':\x20'+_0x297089[_0x4710f1(0x158)]:_0x297089[_0x4710f1(0x158)];}async[_0x38de5d(0x14d)](_0x32ab0b){const _0x2de1ae=_0x38de5d,_0x547f9e=this[_0x2de1ae(0x151)][_0x2de1ae(0x17a)][_0x2de1ae(0x17f)](_0x2de1ae(0x179)),_0x191a02=_0x32ab0b[_0x2de1ae(0x165)]?{'userMessage':_0x32ab0b[_0x2de1ae(0x165)],'model':_0x32ab0b[_0x2de1ae(0x17d)]}:{'actionName':_0x32ab0b[_0x2de1ae(0x156)]||_0x32ab0b['id'],'args':_0x32ab0b[_0x2de1ae(0x187)]},_0x35633d=this[_0x2de1ae(0x175)](_0x32ab0b);await _0x547f9e[_0x2de1ae(0x174)](_0x191a02,_0x35633d,_0x32ab0b[_0x2de1ae(0x171)]);}async[_0x38de5d(0x166)](_0x333179){const _0x3b3e1c=_0x38de5d;console[_0x3b3e1c(0x15b)](_0x3b3e1c(0x15a),_0x333179);}}
23
+ function _0x3862(){const _0x1f9cd0=['193794dKWAft','activeTab','parent','9oZLBSr','6283400BAbyqx','chat','2304230VFikar','ask-ai','startConversation','has','actionName','AIChat','2428JUcknK','args','displayedPrompt','type','execute','ACTION','isVisible','setSelection','document','REVIEW','get','_handleAIActionsActionLabel','handleAIReviewAction','prompt','ai-quick-actions-plugin-not-found','1119waTZOZ','icon','selection','removeSelectionFromChatContext','115Gorhbn','activateTab','684RwjiQW','addSelectionToChatContext','_handleAIActionsAction','AIActions','schema','editor','view','AITabs','log','isCollapsed','executeAction','sendMessage','getSelectedBlocks','32186UsMwVP','getLimitElement','607zOpvuZ','plugins','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','focusPromptInput','3226BShZnU','_handleAIChatAction','AIReviewMode','_expandSelectionIfCollapsed','other','_handleAIReviewAction','change','4522196KryDHB','locale','model','CHAT','label','AIChatController'];_0x3862=function(){return _0x1f9cd0;};return _0x3862();}const _0x30f916=_0x2d89;(function(_0x2bd4ef,_0x60313b){const _0x335dec=_0x2d89,_0x5a4838=_0x2bd4ef();while(!![]){try{const _0x5cc9ef=-parseInt(_0x335dec(0x84))/0x1*(-parseInt(_0x335dec(0x88))/0x2)+parseInt(_0x335dec(0xb0))/0x3*(parseInt(_0x335dec(0xa1))/0x4)+parseInt(_0x335dec(0xb4))/0x5*(-parseInt(_0x335dec(0x95))/0x6)+-parseInt(_0x335dec(0x8f))/0x7+parseInt(_0x335dec(0x99))/0x8+parseInt(_0x335dec(0x98))/0x9*(-parseInt(_0x335dec(0x9b))/0xa)+parseInt(_0x335dec(0x82))/0xb*(parseInt(_0x335dec(0xb6))/0xc);if(_0x5cc9ef===_0x60313b)break;else _0x5a4838['push'](_0x5a4838['shift']());}catch(_0x331882){_0x5a4838['push'](_0x5a4838['shift']());}}}(_0x3862,0x8370d));import{Command as _0x8114a2}from'ckeditor5/src/core.js';function _0x2d89(_0x5f1ddd,_0x18340f){const _0x386224=_0x3862();return _0x2d89=function(_0x2d89f5,_0x30e8e6){_0x2d89f5=_0x2d89f5-0x7e;let _0x3ac712=_0x386224[_0x2d89f5];return _0x3ac712;},_0x2d89(_0x5f1ddd,_0x18340f);}import{CKEditorError as _0xe43f7,first as _0x535ca0}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x2c6790}from'./aiquickactionsui.js';import{getTranslation as _0x4e7d88}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x8114a2{[_0x30f916(0xa5)](_0x5cd532){const _0x401968=_0x30f916;switch(this[_0x401968(0x8b)](),_0x5cd532[_0x401968(0xa4)]){case _0x2c6790[_0x401968(0x92)]:if(!this[_0x401968(0xbb)][_0x401968(0x85)][_0x401968(0x9e)](_0x401968(0xa0))){const _0x3492e9=_0x4e7d88(this[_0x401968(0xbb)][_0x401968(0x90)],_0x401968(0x86),_0x401968(0xa0));throw new _0xe43f7(_0x401968(0xaf),this[_0x401968(0xbb)],{'errorMessage':_0x3492e9});}this[_0x401968(0x89)](_0x5cd532);break;case _0x2c6790[_0x401968(0xa6)]:if(!this[_0x401968(0xbb)][_0x401968(0x85)][_0x401968(0x9e)](_0x401968(0xb9))){const _0x266ebf=_0x4e7d88(this[_0x401968(0xbb)][_0x401968(0x90)],_0x401968(0x86),_0x401968(0xb9));throw new _0xe43f7(_0x401968(0xaf),this[_0x401968(0xbb)],{'errorMessage':_0x266ebf});}this[_0x401968(0xb8)](_0x5cd532);break;case _0x2c6790[_0x401968(0xaa)]:if(!this[_0x401968(0xbb)][_0x401968(0x85)][_0x401968(0x9e)](_0x401968(0x8a))){const _0x133e16=_0x4e7d88(this[_0x401968(0xbb)][_0x401968(0x90)],_0x401968(0x86),_0x401968(0x8a));throw new _0xe43f7(_0x401968(0xaf),this[_0x401968(0xbb)],{'errorMessage':_0x133e16});}this[_0x401968(0x8d)](_0x5cd532);}}async[_0x30f916(0x89)](_0x4ccbeb){const _0x3b1598=_0x30f916,_0x2578df=this[_0x3b1598(0xbb)][_0x3b1598(0x85)][_0x3b1598(0xab)](_0x3b1598(0xa0)),_0x16733e=this[_0x3b1598(0xbb)][_0x3b1598(0x85)][_0x3b1598(0xab)](_0x3b1598(0x94)),_0x38026e=this[_0x3b1598(0xbb)][_0x3b1598(0x85)][_0x3b1598(0xab)](_0x3b1598(0xbd))[_0x3b1598(0xbc)];if(_0x38026e[_0x3b1598(0xa7)]||(_0x38026e[_0x3b1598(0xa7)]=!0x0),_0x3b1598(0x9a)!==_0x38026e[_0x3b1598(0x96)]&&_0x38026e[_0x3b1598(0xb5)](_0x3b1598(0x9a)),_0x3b1598(0x9c)===_0x4ccbeb['id'])_0x16733e[_0x3b1598(0xb3)](),await _0x2578df[_0x3b1598(0xb7)](),_0x2578df[_0x3b1598(0x87)]();else await _0x2578df[_0x3b1598(0x9d)](),_0x16733e[_0x3b1598(0xb3)](),await _0x2578df[_0x3b1598(0xb7)](),_0x2578df[_0x3b1598(0x87)](),await _0x2578df[_0x3b1598(0x80)]({'message':_0x4ccbeb[_0x3b1598(0xae)]||_0x4ccbeb[_0x3b1598(0xa3)],'attributes':{'quickActionData':{'id':_0x4ccbeb['id']},'displayedPrompt':_0x4ccbeb[_0x3b1598(0xa3)]}});}[_0x30f916(0x8b)](){const _0x3214f3=_0x30f916,_0x37889=this[_0x3214f3(0xbb)],_0x9e95fa=_0x37889[_0x3214f3(0x91)][_0x3214f3(0xa9)][_0x3214f3(0xb2)];if(!_0x9e95fa[_0x3214f3(0x7e)])return;const _0x4a2d9c=_0x535ca0(_0x9e95fa[_0x3214f3(0x81)]())||_0x37889[_0x3214f3(0x91)][_0x3214f3(0xba)][_0x3214f3(0x83)](_0x9e95fa);_0x37889[_0x3214f3(0x91)][_0x3214f3(0x8e)](_0x3a8486=>{const _0x8d2019=_0x3214f3;_0x3a8486[_0x8d2019(0xa8)](_0x4a2d9c,'in');});}[_0x30f916(0xac)](_0x3adbe4){const _0xa30a23=_0x30f916;return _0x3adbe4[_0xa30a23(0x97)]?.[_0xa30a23(0x93)]&&_0xa30a23(0x8c)!==_0x3adbe4[_0xa30a23(0x97)]?.['id']?_0x3adbe4[_0xa30a23(0x97)][_0xa30a23(0x93)]+':\x20'+_0x3adbe4[_0xa30a23(0xa3)]:_0x3adbe4[_0xa30a23(0xa3)];}async[_0x30f916(0xb8)](_0x5805a1){const _0x4ac22a=_0x30f916,_0x52b750=this[_0x4ac22a(0xbb)][_0x4ac22a(0x85)][_0x4ac22a(0xab)](_0x4ac22a(0xb9)),_0x2864e1=_0x5805a1[_0x4ac22a(0xae)]?{'userMessage':_0x5805a1[_0x4ac22a(0xae)],'model':_0x5805a1[_0x4ac22a(0x91)]}:{'actionName':_0x5805a1[_0x4ac22a(0x9f)]||_0x5805a1['id'],'args':_0x5805a1[_0x4ac22a(0xa2)]},_0x490634=this[_0x4ac22a(0xac)](_0x5805a1);await _0x52b750[_0x4ac22a(0x7f)](_0x2864e1,_0x490634,_0x5805a1[_0x4ac22a(0xb1)]);}async[_0x30f916(0x8d)](_0x5cc960){const _0x402eb1=_0x30f916;console[_0x402eb1(0xbe)](_0x402eb1(0xad),_0x5cc960);}}