@ckeditor/ckeditor5-ai 47.2.0 → 47.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (472) hide show
  1. package/LICENSE.md +16 -20
  2. package/build/ai.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/dist/index-editor.css +285 -65
  76. package/dist/index.css +286 -68
  77. package/dist/index.js +5 -5
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/ast.js +1 -1
  83. package/dist/translations/ast.umd.js +1 -1
  84. package/dist/translations/az.js +1 -1
  85. package/dist/translations/az.umd.js +1 -1
  86. package/dist/translations/be.js +1 -1
  87. package/dist/translations/be.umd.js +1 -1
  88. package/dist/translations/bg.js +1 -1
  89. package/dist/translations/bg.umd.js +1 -1
  90. package/dist/translations/bn.js +1 -1
  91. package/dist/translations/bn.umd.js +1 -1
  92. package/dist/translations/bs.js +1 -1
  93. package/dist/translations/bs.umd.js +1 -1
  94. package/dist/translations/ca.js +1 -1
  95. package/dist/translations/ca.umd.js +1 -1
  96. package/dist/translations/cs.js +1 -1
  97. package/dist/translations/cs.umd.js +1 -1
  98. package/dist/translations/da.js +1 -1
  99. package/dist/translations/da.umd.js +1 -1
  100. package/dist/translations/de-ch.js +1 -1
  101. package/dist/translations/de-ch.umd.js +1 -1
  102. package/dist/translations/de.js +1 -1
  103. package/dist/translations/de.umd.js +1 -1
  104. package/dist/translations/el.js +1 -1
  105. package/dist/translations/el.umd.js +1 -1
  106. package/dist/translations/en-au.js +1 -1
  107. package/dist/translations/en-au.umd.js +1 -1
  108. package/dist/translations/en-gb.js +1 -1
  109. package/dist/translations/en-gb.umd.js +1 -1
  110. package/dist/translations/en.js +1 -1
  111. package/dist/translations/en.umd.js +1 -1
  112. package/dist/translations/eo.js +1 -1
  113. package/dist/translations/eo.umd.js +1 -1
  114. package/dist/translations/es-co.js +1 -1
  115. package/dist/translations/es-co.umd.js +1 -1
  116. package/dist/translations/es.js +1 -1
  117. package/dist/translations/es.umd.js +1 -1
  118. package/dist/translations/et.js +1 -1
  119. package/dist/translations/et.umd.js +1 -1
  120. package/dist/translations/eu.js +1 -1
  121. package/dist/translations/eu.umd.js +1 -1
  122. package/dist/translations/fa.js +1 -1
  123. package/dist/translations/fa.umd.js +1 -1
  124. package/dist/translations/fi.js +1 -1
  125. package/dist/translations/fi.umd.js +1 -1
  126. package/dist/translations/fr.js +1 -1
  127. package/dist/translations/fr.umd.js +1 -1
  128. package/dist/translations/gl.js +1 -1
  129. package/dist/translations/gl.umd.js +1 -1
  130. package/dist/translations/gu.js +1 -1
  131. package/dist/translations/gu.umd.js +1 -1
  132. package/dist/translations/he.js +1 -1
  133. package/dist/translations/he.umd.js +1 -1
  134. package/dist/translations/hi.js +1 -1
  135. package/dist/translations/hi.umd.js +1 -1
  136. package/dist/translations/hr.js +1 -1
  137. package/dist/translations/hr.umd.js +1 -1
  138. package/dist/translations/hu.js +1 -1
  139. package/dist/translations/hu.umd.js +1 -1
  140. package/dist/translations/hy.js +1 -1
  141. package/dist/translations/hy.umd.js +1 -1
  142. package/dist/translations/id.js +1 -1
  143. package/dist/translations/id.umd.js +1 -1
  144. package/dist/translations/it.js +1 -1
  145. package/dist/translations/it.umd.js +1 -1
  146. package/dist/translations/ja.js +1 -1
  147. package/dist/translations/ja.umd.js +1 -1
  148. package/dist/translations/jv.js +1 -1
  149. package/dist/translations/jv.umd.js +1 -1
  150. package/dist/translations/kk.js +1 -1
  151. package/dist/translations/kk.umd.js +1 -1
  152. package/dist/translations/km.js +1 -1
  153. package/dist/translations/km.umd.js +1 -1
  154. package/dist/translations/kn.js +1 -1
  155. package/dist/translations/kn.umd.js +1 -1
  156. package/dist/translations/ko.js +1 -1
  157. package/dist/translations/ko.umd.js +1 -1
  158. package/dist/translations/ku.js +1 -1
  159. package/dist/translations/ku.umd.js +1 -1
  160. package/dist/translations/lt.js +1 -1
  161. package/dist/translations/lt.umd.js +1 -1
  162. package/dist/translations/lv.js +1 -1
  163. package/dist/translations/lv.umd.js +1 -1
  164. package/dist/translations/ms.js +1 -1
  165. package/dist/translations/ms.umd.js +1 -1
  166. package/dist/translations/nb.js +1 -1
  167. package/dist/translations/nb.umd.js +1 -1
  168. package/dist/translations/ne.js +1 -1
  169. package/dist/translations/ne.umd.js +1 -1
  170. package/dist/translations/nl.js +1 -1
  171. package/dist/translations/nl.umd.js +1 -1
  172. package/dist/translations/no.js +1 -1
  173. package/dist/translations/no.umd.js +1 -1
  174. package/dist/translations/oc.js +1 -1
  175. package/dist/translations/oc.umd.js +1 -1
  176. package/dist/translations/pl.js +1 -1
  177. package/dist/translations/pl.umd.js +1 -1
  178. package/dist/translations/pt-br.js +1 -1
  179. package/dist/translations/pt-br.umd.js +1 -1
  180. package/dist/translations/pt.js +1 -1
  181. package/dist/translations/pt.umd.js +1 -1
  182. package/dist/translations/ro.js +1 -1
  183. package/dist/translations/ro.umd.js +1 -1
  184. package/dist/translations/ru.js +1 -1
  185. package/dist/translations/ru.umd.js +1 -1
  186. package/dist/translations/si.js +1 -1
  187. package/dist/translations/si.umd.js +1 -1
  188. package/dist/translations/sk.js +1 -1
  189. package/dist/translations/sk.umd.js +1 -1
  190. package/dist/translations/sl.js +1 -1
  191. package/dist/translations/sl.umd.js +1 -1
  192. package/dist/translations/sq.js +1 -1
  193. package/dist/translations/sq.umd.js +1 -1
  194. package/dist/translations/sr-latn.js +1 -1
  195. package/dist/translations/sr-latn.umd.js +1 -1
  196. package/dist/translations/sr.js +1 -1
  197. package/dist/translations/sr.umd.js +1 -1
  198. package/dist/translations/sv.js +1 -1
  199. package/dist/translations/sv.umd.js +1 -1
  200. package/dist/translations/th.js +1 -1
  201. package/dist/translations/th.umd.js +1 -1
  202. package/dist/translations/ti.js +1 -1
  203. package/dist/translations/ti.umd.js +1 -1
  204. package/dist/translations/tk.js +1 -1
  205. package/dist/translations/tk.umd.js +1 -1
  206. package/dist/translations/tr.js +1 -1
  207. package/dist/translations/tr.umd.js +1 -1
  208. package/dist/translations/tt.js +1 -1
  209. package/dist/translations/tt.umd.js +1 -1
  210. package/dist/translations/ug.js +1 -1
  211. package/dist/translations/ug.umd.js +1 -1
  212. package/dist/translations/uk.js +1 -1
  213. package/dist/translations/uk.umd.js +1 -1
  214. package/dist/translations/ur.js +1 -1
  215. package/dist/translations/ur.umd.js +1 -1
  216. package/dist/translations/uz.js +1 -1
  217. package/dist/translations/uz.umd.js +1 -1
  218. package/dist/translations/vi.js +1 -1
  219. package/dist/translations/vi.umd.js +1 -1
  220. package/dist/translations/zh-cn.js +1 -1
  221. package/dist/translations/zh-cn.umd.js +1 -1
  222. package/dist/translations/zh.js +1 -1
  223. package/dist/translations/zh.umd.js +1 -1
  224. package/lang/contexts.json +10 -1
  225. package/lang/translations/af.po +36 -0
  226. package/lang/translations/ar.po +36 -0
  227. package/lang/translations/ast.po +36 -0
  228. package/lang/translations/az.po +36 -0
  229. package/lang/translations/be.po +36 -0
  230. package/lang/translations/bg.po +36 -0
  231. package/lang/translations/bn.po +36 -0
  232. package/lang/translations/bs.po +36 -0
  233. package/lang/translations/ca.po +36 -0
  234. package/lang/translations/cs.po +36 -0
  235. package/lang/translations/da.po +36 -0
  236. package/lang/translations/de-ch.po +36 -0
  237. package/lang/translations/de.po +36 -0
  238. package/lang/translations/el.po +36 -0
  239. package/lang/translations/en-au.po +36 -0
  240. package/lang/translations/en-gb.po +36 -0
  241. package/lang/translations/en.po +36 -0
  242. package/lang/translations/eo.po +36 -0
  243. package/lang/translations/es-co.po +36 -0
  244. package/lang/translations/es.po +36 -0
  245. package/lang/translations/et.po +36 -0
  246. package/lang/translations/eu.po +36 -0
  247. package/lang/translations/fa.po +36 -0
  248. package/lang/translations/fi.po +36 -0
  249. package/lang/translations/fr.po +36 -0
  250. package/lang/translations/gl.po +36 -0
  251. package/lang/translations/gu.po +36 -0
  252. package/lang/translations/he.po +36 -0
  253. package/lang/translations/hi.po +36 -0
  254. package/lang/translations/hr.po +36 -0
  255. package/lang/translations/hu.po +36 -0
  256. package/lang/translations/hy.po +36 -0
  257. package/lang/translations/id.po +36 -0
  258. package/lang/translations/it.po +36 -0
  259. package/lang/translations/ja.po +36 -0
  260. package/lang/translations/jv.po +36 -0
  261. package/lang/translations/kk.po +36 -0
  262. package/lang/translations/km.po +36 -0
  263. package/lang/translations/kn.po +36 -0
  264. package/lang/translations/ko.po +36 -0
  265. package/lang/translations/ku.po +36 -0
  266. package/lang/translations/lt.po +36 -0
  267. package/lang/translations/lv.po +36 -0
  268. package/lang/translations/ms.po +36 -0
  269. package/lang/translations/nb.po +36 -0
  270. package/lang/translations/ne.po +36 -0
  271. package/lang/translations/nl.po +36 -0
  272. package/lang/translations/no.po +36 -0
  273. package/lang/translations/oc.po +36 -0
  274. package/lang/translations/pl.po +36 -0
  275. package/lang/translations/pt-br.po +36 -0
  276. package/lang/translations/pt.po +36 -0
  277. package/lang/translations/ro.po +36 -0
  278. package/lang/translations/ru.po +36 -0
  279. package/lang/translations/si.po +36 -0
  280. package/lang/translations/sk.po +36 -0
  281. package/lang/translations/sl.po +36 -0
  282. package/lang/translations/sq.po +36 -0
  283. package/lang/translations/sr-latn.po +36 -0
  284. package/lang/translations/sr.po +36 -0
  285. package/lang/translations/sv.po +36 -0
  286. package/lang/translations/th.po +36 -0
  287. package/lang/translations/ti.po +36 -0
  288. package/lang/translations/tk.po +36 -0
  289. package/lang/translations/tr.po +36 -0
  290. package/lang/translations/tt.po +36 -0
  291. package/lang/translations/ug.po +36 -0
  292. package/lang/translations/uk.po +36 -0
  293. package/lang/translations/ur.po +36 -0
  294. package/lang/translations/uz.po +36 -0
  295. package/lang/translations/vi.po +36 -0
  296. package/lang/translations/zh-cn.po +36 -0
  297. package/lang/translations/zh.po +36 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +8 -0
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +12 -0
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.js +1 -1
  330. package/src/aichat/aichatui.js +1 -1
  331. package/src/aichat/model/aichatcontext.d.ts +1 -1
  332. package/src/aichat/model/aichatcontext.js +1 -1
  333. package/src/aichat/model/aichatconversation.js +1 -1
  334. package/src/aichat/model/aichatinteraction.js +1 -1
  335. package/src/aichat/model/aichatmodels.js +1 -1
  336. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  337. package/src/aichat/ui/aichatfeedview.js +1 -1
  338. package/src/aichat/ui/aichatheaderview.js +1 -1
  339. package/src/aichat/ui/aichatview.js +1 -1
  340. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  341. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  342. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  343. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  345. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  346. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  347. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  348. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  353. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  354. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  355. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  356. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  361. package/src/aichat/utils/eventnames.js +1 -1
  362. package/src/aichat/utils/promisequeue.js +1 -1
  363. package/src/aichathistory/aichathistory.js +1 -1
  364. package/src/aichathistory/aichathistorycontroller.js +1 -1
  365. package/src/aichathistory/aichathistoryui.js +1 -1
  366. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  367. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  368. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  369. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  370. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  371. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  372. package/src/aicore/aiconnector.js +1 -1
  373. package/src/aicore/aiediting.js +1 -1
  374. package/src/aicore/model/aicapabilities.js +1 -1
  375. package/src/aicore/model/aicontext.js +1 -1
  376. package/src/aicore/model/aiinteraction.js +1 -1
  377. package/src/aicore/model/aimodels.js +1 -1
  378. package/src/aicore/model/aireply.js +1 -1
  379. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  380. package/src/aicore/pipeline/airesponseparser.js +2 -2
  381. package/src/aicore/ui/aidisclaimerview.js +1 -1
  382. package/src/aicore/ui/aiskeleton.js +1 -1
  383. package/src/aicore/ui/aispinner.js +1 -1
  384. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  385. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  386. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  387. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  388. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  389. package/src/aicore/utils/common-translations.js +1 -1
  390. package/src/aicore/utils/createresizebutton.js +1 -1
  391. package/src/aicore/utils/documentposition.js +1 -1
  392. package/src/aicore/utils/documentrange.js +1 -1
  393. package/src/aicore/utils/eventnames.js +1 -1
  394. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  395. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  396. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  397. package/src/aicore/utils/htmlparser.js +1 -1
  398. package/src/aicore/utils/htmlstreamer.js +1 -1
  399. package/src/aicore/utils/scrollmanager.js +23 -0
  400. package/src/aieditorintegration/aieditorintegration.js +1 -1
  401. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  402. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  403. package/src/aiquickactions/aiquickactions.d.ts +24 -1
  404. package/src/aiquickactions/aiquickactions.js +1 -1
  405. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  406. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  407. package/src/aiquickactions/aiquickactionsui.d.ts +5 -1
  408. package/src/aiquickactions/aiquickactionsui.js +1 -1
  409. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +39 -6
  410. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  411. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +6 -1
  412. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  413. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +30 -5
  414. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +5 -0
  416. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +23 -0
  417. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +29 -0
  418. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +23 -0
  419. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  422. package/src/aireviewmode/aireviewmodeediting.d.ts +16 -0
  423. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  424. package/src/aireviewmode/aireviewmodeui.d.ts +8 -2
  425. package/src/aireviewmode/aireviewmodeui.js +1 -1
  426. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  428. package/src/aireviewmode/model/aireviewchecklist.d.ts +4 -0
  429. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  430. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  431. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -0
  433. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  434. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  436. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  437. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +11 -2
  438. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  439. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  440. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +24 -0
  443. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +23 -0
  444. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  445. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  446. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  447. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  448. package/src/aireviewmode/ui/aireviewmodeview.d.ts +7 -1
  449. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  450. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  451. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  452. package/src/aitabs/aitabs.js +1 -1
  453. package/src/aitabs/aitabsmainview.js +1 -1
  454. package/src/aitabs/tabs/aitabsview.js +1 -1
  455. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  456. package/src/aitabs/tabs/tabpanelview.js +1 -1
  457. package/src/errors.js +1 -1
  458. package/src/errorsmap.d.ts +8 -0
  459. package/src/errorsmap.js +23 -0
  460. package/src/index.js +1 -1
  461. package/theme/aiballoon/aiballoon.css +26 -0
  462. package/theme/aichat/aichat.css +1 -3
  463. package/theme/aichat/aichathistory.css +1 -1
  464. package/theme/aichat/aisuggestioncontainer.css +1 -1
  465. package/theme/aiquickactions/aiquickactions.css +139 -25
  466. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +24 -0
  467. package/theme/aireviewmode/aireviewmode-check-run.css +13 -0
  468. package/theme/aireviewmode/aireviewmode.css +33 -10
  469. package/theme/common/{aichaterror.css → ainotification.css} +17 -14
  470. package/theme/common/aitrackchanges.css +9 -0
  471. package/src/aichat/utils/scrollmanager.js +0 -23
  472. /package/src/{aichat → aicore}/utils/scrollmanager.d.ts +0 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x20b4(){const _0x10ac90=['Translate','Friendly','2721970qMLNbi','russian','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','korean','Translate\x20the\x20text\x20into\x20another\x20language.','longer','Correctness','Italian','make','2069582PVCkeb','chinese','81390aogazo','casual','shorter','Adjust\x20tone\x20and\x20style','dropdown','Professional','French','direct','Readability','language','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','italian','Longer','Shorter','Direct','Adjust\x20length','Japanese','5476513uubhyC','translate','custom','1759505AqPOMY','professional','Chinese\x20(Simplified)','readability','Casual','english','portuguese','spanish','french','japanese','5648466hlJzjz','German','confident','English','german','12MUvwKw','make-tone','Russian','friendly','Select\x20language','Portuguese','clarity','Korean','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Clarity','correctness','892020WDmpGW','531wXdFXy','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Custom\x20command','Spanish','8qEcnRU','Confident'];_0x20b4=function(){return _0x10ac90;};return _0x20b4();}const _0x35a58a=_0x49bb;(function(_0x35b3d6,_0x1980a1){const _0x1210ef=_0x49bb,_0x1ef1b9=_0x35b3d6();while(!![]){try{const _0x54f847=parseInt(_0x1210ef(0xf8))/0x1+-parseInt(_0x1210ef(0xe2))/0x2+parseInt(_0x1210ef(0x102))/0x3+-parseInt(_0x1210ef(0x113))/0x4+-parseInt(_0x1210ef(0x11c))/0x5*(parseInt(_0x1210ef(0x107))/0x6)+parseInt(_0x1210ef(0xf5))/0x7*(-parseInt(_0x1210ef(0x118))/0x8)+-parseInt(_0x1210ef(0x114))/0x9*(-parseInt(_0x1210ef(0xe4))/0xa);if(_0x54f847===_0x1980a1)break;else _0x1ef1b9['push'](_0x1ef1b9['shift']());}catch(_0x3c99cd){_0x1ef1b9['push'](_0x1ef1b9['shift']());}}}(_0x20b4,0xf2931));function _0x49bb(_0xdd29c5,_0x2c9e64){const _0x20b4cb=_0x20b4();return _0x49bb=function(_0x49bba2,_0x3fb0f8){_0x49bba2=_0x49bba2-0xdb;let _0x441249=_0x20b4cb[_0x49bba2];return _0x441249;},_0x49bb(_0xdd29c5,_0x2c9e64);}export const AI_REVIEW_CHECKS=[{'id':_0x35a58a(0xf7),'title':_0x35a58a(0x116),'description':_0x35a58a(0xdb),'isParameterized':!0x0},{'id':_0x35a58a(0x112),'title':_0x35a58a(0xdf),'description':_0x35a58a(0x115),'isParameterized':!0x1},{'id':_0x35a58a(0x10d),'title':_0x35a58a(0x111),'description':_0x35a58a(0x11e),'isParameterized':!0x1},{'id':_0x35a58a(0xfb),'title':_0x35a58a(0xec),'description':_0x35a58a(0x10f),'isParameterized':!0x1},{'id':_0x35a58a(0xe1),'title':_0x35a58a(0xf3),'description':_0x35a58a(0xee),'isParameterized':!0x0,'options':[{'formType':_0x35a58a(0xe8),'label':_0x35a58a(0xf3),'default':_0x35a58a(0xde),'data':[{'label':_0x35a58a(0xf0),'id':_0x35a58a(0xde)},{'label':_0x35a58a(0xf1),'id':_0x35a58a(0xe6)}]}]},{'id':_0x35a58a(0x108),'title':_0x35a58a(0xe7),'description':_0x35a58a(0x110),'isParameterized':!0x0,'options':[{'formType':_0x35a58a(0xe8),'label':_0x35a58a(0xe7),'default':_0x35a58a(0xe5),'data':[{'label':_0x35a58a(0xfc),'id':_0x35a58a(0xe5)},{'label':_0x35a58a(0xf2),'id':_0x35a58a(0xeb)},{'label':_0x35a58a(0x11b),'id':_0x35a58a(0x10a)},{'label':_0x35a58a(0x119),'id':_0x35a58a(0x104)},{'label':_0x35a58a(0xe9),'id':_0x35a58a(0xf9)}]}]},{'id':_0x35a58a(0xf6),'title':_0x35a58a(0x11a),'description':_0x35a58a(0xdd),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x35a58a(0xe8),'label':_0x35a58a(0x10b),'argsKey':_0x35a58a(0xed),'data':[{'label':_0x35a58a(0x105),'id':_0x35a58a(0xfd)},{'label':_0x35a58a(0x117),'id':_0x35a58a(0xff)},{'label':_0x35a58a(0xea),'id':_0x35a58a(0x100)},{'label':_0x35a58a(0x103),'id':_0x35a58a(0x106)},{'label':_0x35a58a(0xfa),'id':_0x35a58a(0xe3)},{'label':_0x35a58a(0xf4),'id':_0x35a58a(0x101)},{'label':_0x35a58a(0x109),'id':_0x35a58a(0x11d)},{'label':_0x35a58a(0x10c),'id':_0x35a58a(0xfe)},{'label':_0x35a58a(0x10e),'id':_0x35a58a(0xdc)},{'label':_0x35a58a(0xe0),'id':_0x35a58a(0xef)}]}]}];
23
+ function _0x428d(){const _0x1f3fa2=['direct','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','shorter','korean','Longer','Readability','russian','German','Korean','9jpoqhl','make','english','Spanish','Select\x20language','Translate\x20the\x20text\x20into\x20another\x20language.','chinese','german','Russian','casual','language','professional','1026980xnohOo','translate','Casual','make-tone','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','readability','Translate','japanese','Chinese\x20(Simplified)','dropdown','318aSUjHg','Friendly','Adjust\x20tone\x20and\x20style','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','spanish','31756bpTgkB','longer','English','78197aSyGkP','custom','french','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Custom\x20command','French','friendly','Portuguese','Adjust\x20length','confident','portuguese','1192220EJIAIa','Professional','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Japanese','448984HUdgyY','Clarity','clarity','Confident','correctness','Italian','2496755ghHCPr','36HsByTc','536804QTWYQa','Shorter','italian','Correctness','Direct','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.'];_0x428d=function(){return _0x1f3fa2;};return _0x428d();}const _0x11b432=_0x24fd;function _0x24fd(_0x3e76c0,_0x37f60b){const _0x428d9b=_0x428d();return _0x24fd=function(_0x24fd2d,_0x257662){_0x24fd2d=_0x24fd2d-0xc5;let _0x13a862=_0x428d9b[_0x24fd2d];return _0x13a862;},_0x24fd(_0x3e76c0,_0x37f60b);}(function(_0x38f1f9,_0x29d0ed){const _0x246c57=_0x24fd,_0x1fef7d=_0x38f1f9();while(!![]){try{const _0x2a95af=parseInt(_0x246c57(0x102))/0x1+-parseInt(_0x246c57(0xe8))/0x2*(-parseInt(_0x246c57(0xcd))/0x3)+parseInt(_0x246c57(0xd9))/0x4+parseInt(_0x246c57(0x100))/0x5+-parseInt(_0x246c57(0xe3))/0x6*(parseInt(_0x246c57(0xeb))/0x7)+parseInt(_0x246c57(0xfa))/0x8+parseInt(_0x246c57(0x101))/0x9*(-parseInt(_0x246c57(0xf6))/0xa);if(_0x2a95af===_0x29d0ed)break;else _0x1fef7d['push'](_0x1fef7d['shift']());}catch(_0x761f62){_0x1fef7d['push'](_0x1fef7d['shift']());}}}(_0x428d,0x5001a));export const AI_REVIEW_CHECKS=[{'id':_0x11b432(0xec),'title':_0x11b432(0xef),'description':_0x11b432(0xf8),'isParameterized':!0x0},{'id':_0x11b432(0xfe),'title':_0x11b432(0x105),'description':_0x11b432(0xdd),'isParameterized':!0x1},{'id':_0x11b432(0xfc),'title':_0x11b432(0xfb),'description':_0x11b432(0x107),'isParameterized':!0x1},{'id':_0x11b432(0xde),'title':_0x11b432(0xc9),'description':_0x11b432(0xc5),'isParameterized':!0x1},{'id':_0x11b432(0xce),'title':_0x11b432(0xf3),'description':_0x11b432(0xe6),'isParameterized':!0x0,'options':[{'formType':_0x11b432(0xe2),'label':_0x11b432(0xf3),'default':_0x11b432(0xe9),'data':[{'label':_0x11b432(0xc8),'id':_0x11b432(0xe9)},{'label':_0x11b432(0x103),'id':_0x11b432(0xc6)}]}]},{'id':_0x11b432(0xdc),'title':_0x11b432(0xe5),'description':_0x11b432(0xee),'isParameterized':!0x0,'options':[{'formType':_0x11b432(0xe2),'label':_0x11b432(0xe5),'default':_0x11b432(0xd6),'data':[{'label':_0x11b432(0xdb),'id':_0x11b432(0xd6)},{'label':_0x11b432(0x106),'id':_0x11b432(0x108)},{'label':_0x11b432(0xe4),'id':_0x11b432(0xf1)},{'label':_0x11b432(0xfd),'id':_0x11b432(0xf4)},{'label':_0x11b432(0xf7),'id':_0x11b432(0xd8)}]}]},{'id':_0x11b432(0xda),'title':_0x11b432(0xdf),'description':_0x11b432(0xd2),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x11b432(0xe2),'label':_0x11b432(0xd1),'argsKey':_0x11b432(0xd7),'data':[{'label':_0x11b432(0xea),'id':_0x11b432(0xcf)},{'label':_0x11b432(0xd0),'id':_0x11b432(0xe7)},{'label':_0x11b432(0xf0),'id':_0x11b432(0xed)},{'label':_0x11b432(0xcb),'id':_0x11b432(0xd4)},{'label':_0x11b432(0xe1),'id':_0x11b432(0xd3)},{'label':_0x11b432(0xf9),'id':_0x11b432(0xe0)},{'label':_0x11b432(0xd5),'id':_0x11b432(0xca)},{'label':_0x11b432(0xf2),'id':_0x11b432(0xf5)},{'label':_0x11b432(0xcc),'id':_0x11b432(0xc7)},{'label':_0x11b432(0xff),'id':_0x11b432(0x104)}]}]}];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x389488=_0x86ef;(function(_0x2cf3b5,_0x77812a){var _0x5a193c=_0x86ef,_0x12584a=_0x2cf3b5();while(!![]){try{var _0x1a6c3d=-parseInt(_0x5a193c(0x1af))/0x1*(parseInt(_0x5a193c(0x1bb))/0x2)+parseInt(_0x5a193c(0x1b9))/0x3+-parseInt(_0x5a193c(0x1b6))/0x4*(parseInt(_0x5a193c(0x1b7))/0x5)+-parseInt(_0x5a193c(0x1ac))/0x6*(-parseInt(_0x5a193c(0x1b5))/0x7)+-parseInt(_0x5a193c(0x1b3))/0x8+-parseInt(_0x5a193c(0x1b2))/0x9+parseInt(_0x5a193c(0x1ae))/0xa*(parseInt(_0x5a193c(0x1ba))/0xb);if(_0x1a6c3d===_0x77812a)break;else _0x12584a['push'](_0x12584a['shift']());}catch(_0x4d269c){_0x12584a['push'](_0x12584a['shift']());}}}(_0x4d3a,0x4bed0));import{ContextPlugin as _0x459cdb}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x25b479}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x161bd9}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x37bf0c}from'./aireviewmodeediting.js';function _0x4d3a(){var _0x50dcab=['2958957fLIJOH','1648744KcDYPI','requires','42LiOSJX','1263772LPerod','5rAUqnQ','pluginName','1652091WrltLm','11FJkcdt','1174HOhQoD','59484arWgqS','isOfficialPlugin','6919130ByMVDA','239sLHepT','AIReviewMode','isPremiumPlugin'];_0x4d3a=function(){return _0x50dcab;};return _0x4d3a();}function _0x86ef(_0x453353,_0x17c1da){var _0x4d3a88=_0x4d3a();return _0x86ef=function(_0x86efef,_0x66e91f){_0x86efef=_0x86efef-0x1ac;var _0x1b3cbc=_0x4d3a88[_0x86efef];return _0x1b3cbc;},_0x86ef(_0x453353,_0x17c1da);}export class AIReviewMode extends _0x459cdb{static get[_0x389488(0x1b4)](){return[_0x25b479,_0x161bd9,_0x37bf0c];}static get[_0x389488(0x1b8)](){var _0x1dbb51=_0x389488;return _0x1dbb51(0x1b0);}static get[_0x389488(0x1ad)](){return!0x0;}static get[_0x389488(0x1b1)](){return!0x0;}}
23
+ var _0x297b82=_0x4011;function _0x4011(_0x1423fc,_0x58e137){var _0x3aec99=_0x3aec();return _0x4011=function(_0x40112b,_0x3cf9d3){_0x40112b=_0x40112b-0x12c;var _0x2d717a=_0x3aec99[_0x40112b];return _0x2d717a;},_0x4011(_0x1423fc,_0x58e137);}function _0x3aec(){var _0x383b6c=['isPremiumPlugin','pluginName','1694638byuMJA','5947716yFcCYD','911120eRCbof','isOfficialPlugin','944RCoCVw','3jNxOuR','20UkkGZz','16924Gnysgx','requires','748993oCQiUF','12EpsGUU','7065YeXlPo','117566QSXIZm','57SrvokC','AIReviewMode'];_0x3aec=function(){return _0x383b6c;};return _0x3aec();}(function(_0x1a5768,_0x4a2895){var _0x1b1eeb=_0x4011,_0x26eff5=_0x1a5768();while(!![]){try{var _0x21bc14=parseInt(_0x1b1eeb(0x13a))/0x1*(-parseInt(_0x1b1eeb(0x130))/0x2)+parseInt(_0x1b1eeb(0x131))/0x3*(-parseInt(_0x1b1eeb(0x13c))/0x4)+parseInt(_0x1b1eeb(0x137))/0x5*(-parseInt(_0x1b1eeb(0x12e))/0x6)+parseInt(_0x1b1eeb(0x12d))/0x7+-parseInt(_0x1b1eeb(0x139))/0x8*(parseInt(_0x1b1eeb(0x12f))/0x9)+parseInt(_0x1b1eeb(0x13b))/0xa*(parseInt(_0x1b1eeb(0x135))/0xb)+parseInt(_0x1b1eeb(0x136))/0xc;if(_0x21bc14===_0x4a2895)break;else _0x26eff5['push'](_0x26eff5['shift']());}catch(_0xc4ceb5){_0x26eff5['push'](_0x26eff5['shift']());}}}(_0x3aec,0x3014e));import{ContextPlugin as _0x21ab47}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4d8e67}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x5ce842}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x3f373a}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x21ab47{static get[_0x297b82(0x12c)](){return[_0x4d8e67,_0x5ce842,_0x3f373a];}static get[_0x297b82(0x134)](){var _0x1e0160=_0x297b82;return _0x1e0160(0x132);}static get[_0x297b82(0x138)](){return!0x0;}static get[_0x297b82(0x133)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58339a=_0x34c7;(function(_0x5055a7,_0x34208e){const _0x339235=_0x34c7,_0x531f9a=_0x5055a7();while(!![]){try{const _0x3c59d0=parseInt(_0x339235(0x23c))/0x1+-parseInt(_0x339235(0x213))/0x2+parseInt(_0x339235(0x26d))/0x3+parseInt(_0x339235(0x246))/0x4+parseInt(_0x339235(0x1cf))/0x5*(-parseInt(_0x339235(0x1ed))/0x6)+-parseInt(_0x339235(0x250))/0x7+parseInt(_0x339235(0x219))/0x8;if(_0x3c59d0===_0x34208e)break;else _0x531f9a['push'](_0x531f9a['shift']());}catch(_0x28a9cd){_0x531f9a['push'](_0x531f9a['shift']());}}}(_0x3576,0x43c5f));import{ContextPlugin as _0x24c5d2}from'ckeditor5/src/core.js';import{CKEditorError as _0x3576cd,logError as _0x46ad18,scrollAncestorsToShowTarget as _0xa00fe,scrollViewportToShowTarget as _0xc92221}from'ckeditor5/src/utils.js';import{AIConnector as _0x5a2af0}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x26058c}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x2e33d3}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0xec0af9}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x3ee920}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x121cb0}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x374ad5}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x24c5d2{[_0x58339a(0x1fa)];[_0x58339a(0x25b)];[_0x58339a(0x227)];[_0x58339a(0x22b)];[_0x58339a(0x259)];[_0x58339a(0x1d8)]=!0x1;[_0x58339a(0x1d2)]=null;static get[_0x58339a(0x24b)](){return[_0x5a2af0];}static get[_0x58339a(0x1fd)](){const _0x1bab50=_0x58339a;return _0x1bab50(0x1da);}static get[_0x58339a(0x1e1)](){return!0x0;}static get[_0x58339a(0x232)](){return!0x0;}async[_0x58339a(0x1e4)](){const _0x1f2c95=_0x58339a;this[_0x1f2c95(0x1fa)]=this[_0x1f2c95(0x1fc)][_0x1f2c95(0x25a)][_0x1f2c95(0x205)](_0x1f2c95(0x1ef)),this[_0x1f2c95(0x25b)]=this[_0x1f2c95(0x1fc)][_0x1f2c95(0x25a)][_0x1f2c95(0x205)](_0x1f2c95(0x1ff)),this[_0x1f2c95(0x227)]=this[_0x1f2c95(0x1fc)][_0x1f2c95(0x25a)][_0x1f2c95(0x205)](_0x1f2c95(0x212));const _0x29b193=this[_0x1f2c95(0x1fc)][_0x1f2c95(0x1f9)][_0x1f2c95(0x205)](_0x1f2c95(0x1d5));if(_0x29b193){for(const _0x244404 of _0x121cb0)_0x1f2c95(0x268)===_0x244404['id']&&(_0x244404[_0x1f2c95(0x1dd)][0x0][_0x1f2c95(0x21a)]=_0x29b193);}const _0x4acc48=this[_0x1f2c95(0x253)](_0x121cb0);this[_0x1f2c95(0x22b)]=new _0x26058c(_0x4acc48);const _0x433746=this[_0x1f2c95(0x22b)][_0x1f2c95(0x206)][_0x1f2c95(0x230)](_0x67ce6a=>_0x1f2c95(0x22c)===_0x67ce6a['id']);if(_0x433746){const _0x1f34b6=await new _0x3ee920({'connector':this[_0x1f2c95(0x1fa)]})[_0x1f2c95(0x1f5)]();_0x433746[_0x1f2c95(0x1f7)]=_0x1f34b6[_0x1f2c95(0x22e)](_0x549b15=>({..._0x549b15,'description':this[_0x1f2c95(0x236)](_0x1f2c95(0x1ce)+_0x549b15['id'][_0x1f2c95(0x204)](),_0x549b15[_0x1f2c95(0x24c)])}));}this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x1e6),()=>{const _0x52643a=_0x1f2c95;this[_0x52643a(0x25b)][_0x52643a(0x233)](this[_0x52643a(0x22b)][_0x52643a(0x206)]);}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x247),async(_0x45f26e,_0x37d800)=>{const _0x2fa947=_0x1f2c95,_0x156fb3=this[_0x2fa947(0x22b)][_0x2fa947(0x218)](_0x37d800['id']);if(_0x156fb3){this[_0x2fa947(0x256)](this[_0x2fa947(0x1d8)]),_0x37d800[_0x2fa947(0x1e3)]?this[_0x2fa947(0x259)]=new _0xec0af9(_0x37d800[_0x2fa947(0x1fb)][_0x2fa947(0x210)],_0x37d800[_0x2fa947(0x1fb)][_0x2fa947(0x26f)],this[_0x2fa947(0x227)][_0x2fa947(0x255)](),_0x156fb3,this[_0x2fa947(0x1fa)]):this[_0x2fa947(0x259)]=new _0x2e33d3(this[_0x2fa947(0x227)][_0x2fa947(0x255)](),_0x156fb3,this[_0x2fa947(0x1fa)],_0x37d800[_0x2fa947(0x1de)],_0x37d800[_0x2fa947(0x1fb)]),this[_0x2fa947(0x25b)][_0x2fa947(0x1d0)](this[_0x2fa947(0x259)][_0x2fa947(0x24e)],this[_0x2fa947(0x259)][_0x2fa947(0x240)]),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x241),(_0x48ac99,_0x159540)=>{const _0x23a108=_0x2fa947;_0x23a108(0x21a)===_0x159540[_0x23a108(0x214)]||_0x23a108(0x21b)===_0x159540[_0x23a108(0x214)]?(this[_0x23a108(0x227)][_0x23a108(0x201)](),this[_0x23a108(0x25b)][_0x23a108(0x211)](_0x159540)):_0x23a108(0x1fe)===_0x159540[_0x23a108(0x214)]?this[_0x23a108(0x25b)][_0x23a108(0x1f3)]():_0x23a108(0x1e2)===_0x159540[_0x23a108(0x214)]?this[_0x23a108(0x25b)][_0x23a108(0x1dc)]():_0x23a108(0x20a)===_0x159540[_0x23a108(0x214)]?this[_0x23a108(0x25b)][_0x23a108(0x26c)]():_0x23a108(0x207)===_0x159540[_0x23a108(0x214)]?(this[_0x23a108(0x25b)][_0x23a108(0x265)](),this[_0x23a108(0x263)](new _0x3576cd(_0x23a108(0x269),this,this[_0x23a108(0x259)]?.[_0x23a108(0x238)]))):_0x23a108(0x215)===_0x159540[_0x23a108(0x214)]?(this[_0x23a108(0x25b)][_0x23a108(0x275)](),this[_0x23a108(0x263)](new _0x3576cd(_0x23a108(0x23b),this,this[_0x23a108(0x259)]?.[_0x23a108(0x238)]))):_0x23a108(0x22d)===_0x159540[_0x23a108(0x214)]&&(this[_0x23a108(0x259)]&&this[_0x23a108(0x259)][_0x23a108(0x217)]>0x0?setTimeout(()=>{const _0x52bd17=_0x23a108;this[_0x52bd17(0x259)]?.[_0x52bd17(0x25c)]();},0x0):this[_0x23a108(0x1ee)](!0x0)),_0x23a108(0x1e2)!==_0x159540[_0x23a108(0x214)]&&_0x23a108(0x215)!==_0x159540[_0x23a108(0x214)]&&_0x23a108(0x207)!==_0x159540[_0x23a108(0x214)]||this[_0x23a108(0x259)]?.[_0x23a108(0x276)]();}),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x254),(_0x45cc44,_0x12c3dd)=>{const _0x118e31=_0x2fa947;if(!this[_0x118e31(0x259)])throw new _0x3576cd(_0x118e31(0x1e0),this);const _0x4234a8=this[_0x118e31(0x227)][_0x118e31(0x261)](_0x12c3dd[_0x118e31(0x237)][_0x118e31(0x271)],_0x12c3dd[_0x118e31(0x237)][_0x118e31(0x1f0)]);_0x12c3dd[_0x118e31(0x202)][_0x118e31(0x1d4)](_0x12c3dd[_0x118e31(0x237)]['id'],_0x4234a8);}),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x25d),(_0xb2a855,_0x414764)=>{const _0x5d232f=_0x2fa947;for(const _0x55d3f7 of _0x414764[_0x5d232f(0x20c)])this[_0x5d232f(0x25b)][_0x5d232f(0x239)](_0x55d3f7);this[_0x5d232f(0x227)][_0x5d232f(0x21c)](_0x414764[_0x5d232f(0x20c)],_0x414764[_0x5d232f(0x202)][_0x5d232f(0x24d)]);}),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x244),(_0x5ccca5,_0xcbe2b7)=>{const _0x2e9929=_0x2fa947;this[_0x2e9929(0x25b)][_0x2e9929(0x1d6)](_0xcbe2b7[_0x2e9929(0x252)]['id'],_0xcbe2b7[_0x2e9929(0x214)]);}),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x21d),(_0x5b3845,_0x1d590a)=>{const _0x179640=_0x2fa947;this[_0x179640(0x25b)][_0x179640(0x257)](_0x1d590a[_0x179640(0x252)]['id']);const _0x35d608=this[_0x179640(0x227)][_0x179640(0x220)](_0x1d590a[_0x179640(0x252)]['id']);if(_0x35d608){if(_0x179640(0x1f6)===this[_0x179640(0x1d2)]){const _0x190de9=this[_0x179640(0x25b)][_0x179640(0x1d9)](_0x1d590a[_0x179640(0x252)]['id']);_0x190de9&&_0xa00fe(_0x190de9[_0x179640(0x20d)](_0x179640(0x200))||_0x190de9);}else{if(_0x179640(0x1eb)===this[_0x179640(0x1d2)]){const _0x5a4d55={'target':_0x35d608[_0x179640(0x23f)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0xc92221(_0x5a4d55);}}this[_0x179640(0x25b)][_0x179640(0x1e9)](_0x1d590a[_0x179640(0x252)],_0x35d608[_0x179640(0x23f)]);}}),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x23e),()=>{const _0x3dd2bc=_0x2fa947;this[_0x3dd2bc(0x25b)][_0x3dd2bc(0x243)](),this[_0x3dd2bc(0x25b)][_0x3dd2bc(0x225)]();});try{await this[_0x2fa947(0x259)][_0x2fa947(0x1d1)]();}catch(_0x156bab){_0x156bab instanceof Error&&_0x156bab[_0x2fa947(0x248)][_0x2fa947(0x222)](_0x2fa947(0x26a))||(_0x156bab instanceof _0x3576cd?this[_0x2fa947(0x263)](_0x156bab):this[_0x2fa947(0x263)](new _0x3576cd(_0x2fa947(0x1d7),this,{'error':_0x156bab})));}}else this[_0x2fa947(0x263)](new _0x3576cd(_0x2fa947(0x228),this,{'checkId':_0x37d800['id']}));}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x1f8),()=>{const _0x3a2159=_0x1f2c95;this[_0x3a2159(0x1ee)]();}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x266),()=>{const _0xa1e92d=_0x1f2c95;this[_0xa1e92d(0x1ee)](!0x0);}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x1df),()=>{const _0x4d490b=_0x1f2c95;this[_0x4d490b(0x259)]&&this[_0x4d490b(0x259)][_0x4d490b(0x208)]();}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x22f),()=>{const _0x235549=_0x1f2c95;this[_0x235549(0x1ee)](!0x0);}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x1f1),()=>{const _0x413199=_0x1f2c95;if(!this[_0x413199(0x259)])return;const _0x1f78ee=this[_0x413199(0x259)][_0x413199(0x1ec)]();_0x1f78ee[_0x413199(0x203)]&&(this[_0x413199(0x227)][_0x413199(0x25f)](_0x1f78ee[_0x413199(0x22e)](_0x3752b2=>_0x3752b2['id'])),this[_0x413199(0x259)][_0x413199(0x231)](),this[_0x413199(0x259)][_0x413199(0x276)]());}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x234),(_0x348ff0,_0x82d1df)=>{const _0x24eec4=_0x1f2c95;this[_0x24eec4(0x259)]&&this[_0x24eec4(0x259)][_0x24eec4(0x221)](_0x82d1df['id'])&&(this[_0x24eec4(0x227)][_0x24eec4(0x25f)]([_0x82d1df['id']]),this[_0x24eec4(0x259)][_0x24eec4(0x251)](_0x82d1df['id']),this[_0x24eec4(0x25b)][_0x24eec4(0x225)](),this[_0x24eec4(0x259)][_0x24eec4(0x276)](_0x82d1df['id']));}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x24f),(_0x3e3ad2,_0x3f779b)=>{const _0xb520ac=_0x1f2c95;this[_0xb520ac(0x259)]&&this[_0xb520ac(0x259)][_0xb520ac(0x221)](_0x3f779b['id'])&&(this[_0xb520ac(0x227)][_0xb520ac(0x26b)](_0x3f779b['id']),this[_0xb520ac(0x259)][_0xb520ac(0x260)](_0x3f779b['id']),this[_0xb520ac(0x25b)][_0xb520ac(0x225)](),this[_0xb520ac(0x259)][_0xb520ac(0x276)](_0x3f779b['id']));}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x23d),(_0x3e3527,_0x3ae633)=>{const _0xf245a=_0x1f2c95;this[_0xf245a(0x1d8)]=_0x3ae633['on'],this[_0xf245a(0x256)](this[_0xf245a(0x1d8)]);}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x229),async()=>{const _0x22d43c=_0x1f2c95;this[_0x22d43c(0x259)]&&await this[_0x22d43c(0x259)][_0x22d43c(0x1db)]();}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x245),(_0x2ae073,_0x5083cb)=>{const _0x75191=_0x1f2c95;this[_0x75191(0x259)]&&(this[_0x75191(0x1d2)]=_0x75191(0x1eb),this[_0x75191(0x259)][_0x75191(0x245)](_0x5083cb['id']));}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x25e),()=>{const _0x2de5fc=_0x1f2c95;this[_0x2de5fc(0x259)]&&this[_0x2de5fc(0x259)][_0x2de5fc(0x25e)]();}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x227)][_0x1f2c95(0x242)],_0x1f2c95(0x24a),(_0x25424c,_0x4137cb)=>{const _0x1bd593=_0x1f2c95;this[_0x1bd593(0x259)]&&(this[_0x1bd593(0x1d2)]=_0x1bd593(0x1f6),this[_0x1bd593(0x259)][_0x1bd593(0x245)](_0x4137cb[_0x1bd593(0x1e5)]));}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x227)][_0x1f2c95(0x242)],_0x1f2c95(0x262),(_0x2d7d80,_0x446b8d)=>{const _0x4414b7=_0x1f2c95;this[_0x4414b7(0x259)]&&this[_0x4414b7(0x259)][_0x4414b7(0x270)](_0x446b8d[_0x4414b7(0x1e5)]);}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x227)][_0x1f2c95(0x242)],_0x1f2c95(0x26e),(_0x478832,_0x35a1ff)=>{const _0x83a4c3=_0x1f2c95;this[_0x83a4c3(0x259)]&&this[_0x83a4c3(0x259)][_0x83a4c3(0x273)](_0x35a1ff[_0x83a4c3(0x1e5)]);});}[_0x58339a(0x1ee)](_0x4dcfd6=!0x1){const _0x1c206f=_0x58339a;this[_0x1c206f(0x259)]&&(this[_0x1c206f(0x259)][_0x1c206f(0x21e)]||this[_0x1c206f(0x259)][_0x1c206f(0x276)](),this[_0x1c206f(0x259)][_0x1c206f(0x235)](),this[_0x1c206f(0x259)][_0x1c206f(0x208)](),this[_0x1c206f(0x259)]=void 0x0),_0x4dcfd6&&this[_0x1c206f(0x25b)][_0x1c206f(0x249)](),this[_0x1c206f(0x227)][_0x1c206f(0x21f)](),this[_0x1c206f(0x227)][_0x1c206f(0x267)](),this[_0x1c206f(0x1d2)]=null;const _0x4c7265=this[_0x1c206f(0x227)][_0x1c206f(0x1ea)]();_0x4c7265&&_0x4c7265[_0x1c206f(0x209)][_0x1c206f(0x1f4)][_0x1c206f(0x252)](_0x7b313=>{const _0x328df2=_0x1c206f,_0x5b4c2d=_0x4c7265[_0x328df2(0x209)][_0x328df2(0x1f4)][_0x328df2(0x20e)][_0x328df2(0x20f)]();_0x7b313[_0x328df2(0x23a)](_0x328df2(0x216),_0x5b4c2d),_0x7b313[_0x328df2(0x23a)](_0x328df2(0x1f2),_0x5b4c2d);});}[_0x58339a(0x256)](_0x16d99b){const _0x24d321=_0x58339a,_0x1eda4e=this[_0x24d321(0x227)][_0x24d321(0x1ea)]();_0x16d99b?this[_0x24d321(0x25b)][_0x24d321(0x20b)]():this[_0x24d321(0x25b)][_0x24d321(0x223)](),_0x1eda4e&&_0x1eda4e[_0x24d321(0x209)][_0x24d321(0x1f4)][_0x24d321(0x252)](_0xa92e56=>{const _0x533c8f=_0x24d321,_0x5ad98b=_0x1eda4e[_0x533c8f(0x209)][_0x533c8f(0x1f4)][_0x533c8f(0x20e)][_0x533c8f(0x20f)]();_0xa92e56[_0x533c8f(0x23a)](_0x533c8f(0x216),_0x5ad98b),_0xa92e56[_0x533c8f(0x23a)](_0x533c8f(0x1f2),_0x5ad98b),_0xa92e56[_0x533c8f(0x274)](_0x16d99b?_0x533c8f(0x216):_0x533c8f(0x1f2),_0x5ad98b);});}[_0x58339a(0x253)](_0x480c06){const _0x2e6049=_0x58339a;return _0x480c06[_0x2e6049(0x22e)](_0x38cafa=>{const _0x23889e=_0x2e6049,_0x2e5883=_0x23889e(0x226)+_0x38cafa['id'][_0x23889e(0x204)]()[_0x23889e(0x258)]('-','_'),_0x52709d={..._0x38cafa,'title':this[_0x23889e(0x236)](_0x2e5883+_0x23889e(0x264),_0x38cafa[_0x23889e(0x24e)]),'description':this[_0x23889e(0x236)](_0x2e5883+_0x23889e(0x1e8),_0x38cafa[_0x23889e(0x24c)])};return _0x38cafa[_0x23889e(0x1dd)]&&(_0x52709d[_0x23889e(0x1dd)]=_0x38cafa[_0x23889e(0x1dd)][_0x23889e(0x22e)](_0x3c29a2=>({..._0x3c29a2,'label':this[_0x23889e(0x236)](_0x2e5883+_0x23889e(0x1e7),_0x3c29a2[_0x23889e(0x1d3)]||''),'data':_0x3c29a2[_0x23889e(0x21a)]?_0x3c29a2[_0x23889e(0x21a)][_0x23889e(0x22e)](_0x262e7f=>({..._0x262e7f,'label':this[_0x23889e(0x236)](_0x2e5883+_0x23889e(0x272)+_0x262e7f['id'][_0x23889e(0x204)](),_0x262e7f[_0x23889e(0x1d3)])})):void 0x0}))),_0x52709d;});}[_0x58339a(0x236)](_0x2d9005,_0x18758c){const _0x2a9320=_0x58339a,_0x38410f=this[_0x2a9320(0x1fc)][_0x2a9320(0x224)],_0x18a679=_0x374ad5(_0x38410f,_0x2d9005);return _0x18a679===_0x2d9005?_0x18758c:_0x18a679;}[_0x58339a(0x263)](_0x19792b){const _0x334bf6=_0x58339a;_0x46ad18(_0x19792b[_0x334bf6(0x248)]),this[_0x334bf6(0x25b)][_0x334bf6(0x265)]();}}function _0x34c7(_0x26659c,_0x13014d){const _0x357666=_0x3576();return _0x34c7=function(_0x34c701,_0x5a9337){_0x34c701=_0x34c701-0x1ce;let _0x3f8025=_0x357666[_0x34c701];return _0x3f8025;},_0x34c7(_0x26659c,_0x13014d);}function _0x3576(){const _0x423a65=['getCheckById','4891952aejFpa','data','loading','markChangePositionInEditorContent','reviewCheckResultActivated','hasModifications','clearAllMarkers','getMarkerElementForChange','isChangeActive','includes','showDiffInBalloon','locale','hideChangeBalloon','AI_REVIEW_CHECK_','_aiReviewModeEditing','ai-review-mode-source-check-not-found','retryReview','listenTo','_aiReviewCheckList','custom','aborted','map','finishReview','find','markAllChangesAsAccepted','isPremiumPlugin','setAvailableChecks','acceptChange','stopListening','_getTranslationWithDefault','result','currentError','showCheckRunResult','removeClass','ai-review-mode-check-run-chunk-error','52048UEBawn','toggleDiff','reviewCheckResultDeactivated','domElement','subTitle','reviewCheckRunUpdated','emitter','resetActiveStateInResults','reviewCheckResultChangeStatusUpdated','activateChange','247504ZjtYqq','runReviewCheck','message','showReviewCheckList','changeMarkerClick','requires','description','documentData','title','dismissChange','2888326Aulldd','markChangeAsAccepted','change','_translateReviewChecks','reviewCheckResultAdded','getDocumentData','_onDiffChange','setActiveStateInResults','replaceAll','_currentReviewCheckRun','plugins','_aiReviewModeUi','forceReadyState','reviewCheckResultReady','deactivateChange','applyChange','markChangeAsRejected','diffContent','changeMarkerRemoved','_logError','_TITLE','showGeneralErrorView','leaveReviewModeResultList','switchToEdit','translate','ai-review-mode-check-run-general-error','ai-request-aborted','rejectChange','showNoChangesView','1271943TuBXpl','changeMarkerRestored','model','markChangeAsOutdated','contentInitial','_OPTIONS_DATA_','markChangeAsPending','addClass','showChunkErrorView','sendRating','AI_MODEL_DESCRIPTION_','15205jssnEu','setCheckResultTitle','start','_changeActivationSource','label','addResultChanges','ai.reviewMode.translations','updateChangeState','ai-review-mode-check-run-failed','_isDiffOn','getChangeElement','AIReviewModeController','restart','showActionsWhenResultIsReady','options','params','abortReviewStream','ai-review-mode-no-current-check-run','isOfficialPlugin','ready','isCustom','init','changeId','getReviewCheckList','_OPTIONS_LABEL','_DESCRIPTION','showChangeBalloon','getEditor','panel','getActiveChanges','276CpmYPd','_onReviewModeRunLeave','AIConnector','contentNew','acceptAllChanges','ck-ai-review-mode-highlights','showReviewCompletedView','view','getAll','content','models','leaveReviewMode','config','_aiConnector','args','context','pluginName','finished','AIReviewModeUI','.ck-ai-review-mode__check-run-result','switchToReadOnly','source','length','toUpperCase','get','checks','error-general','abort','editing','unmodified','hideDiffInBalloon','changes','closest','document','getRoot','prompt','showCheckRunResults','AIReviewModeEditing','638592KpnVbf','status','error-chunk','ck-ai-review-mode-diff','processedResultsCount'];_0x3576=function(){return _0x423a65;};return _0x3576();}
23
+ const _0xbd60ae=_0x35da;function _0x35da(_0x8a2ffc,_0x499468){const _0xb485c3=_0xb485();return _0x35da=function(_0x35dae4,_0x4205ca){_0x35dae4=_0x35dae4-0x107;let _0x26231e=_0xb485c3[_0x35dae4];return _0x26231e;},_0x35da(_0x8a2ffc,_0x499468);}(function(_0x3be43b,_0x524e8d){const _0x158ecd=_0x35da,_0x48a911=_0x3be43b();while(!![]){try{const _0x220ae8=-parseInt(_0x158ecd(0x1a7))/0x1+-parseInt(_0x158ecd(0x166))/0x2+parseInt(_0x158ecd(0x1ab))/0x3+-parseInt(_0x158ecd(0x198))/0x4*(parseInt(_0x158ecd(0x168))/0x5)+parseInt(_0x158ecd(0x110))/0x6*(-parseInt(_0x158ecd(0x181))/0x7)+-parseInt(_0x158ecd(0x162))/0x8*(-parseInt(_0x158ecd(0x199))/0x9)+parseInt(_0x158ecd(0x145))/0xa*(parseInt(_0x158ecd(0x130))/0xb);if(_0x220ae8===_0x524e8d)break;else _0x48a911['push'](_0x48a911['shift']());}catch(_0x3ddd0f){_0x48a911['push'](_0x48a911['shift']());}}}(_0xb485,0xa5c6f));import{ContextPlugin as _0x9f7424}from'ckeditor5/src/core.js';import{CKEditorError as _0x25cd1c,logError as _0x15ff2d,scrollAncestorsToShowTarget as _0x2b014b,scrollViewportToShowTarget as _0x935a22}from'ckeditor5/src/utils.js';function _0xb485(){const _0x2dcbb4=['hideDiffInBalloon','closest','changeMarkerClick','forceReadyState','getReviewCheckList','getDocumentData','markChangeAsPending','activateChange','getRoot','reviewCheckResultReady','model','_onReviewModeRunLeave','switchToEdit','get','error-chunk','applyChange','showReviewCheckList','markChangeAsRejected','reviewCheckResultChangeStatusUpdated','.ck-ai-review-mode__check-run-result','_currentReviewCheckRun','56rPsKoH','showNoChangesView','_aiConnector','markChangeAsAccepted','1592240VwowQV','addResultChanges','490135WQzhQG','showChangeBalloon','setAvailableChecks','source','showDiffInBalloon','abort','markerElement','hideChangeBalloon','ai-review-mode-check-run-chunk-error','showCheckRunResults','toggleDiff','locale','context','showReviewCompletedView','_getTranslationWithDefault','prompt','isAnyChangeActivated','documentData','requires','change','leaveReviewMode','_isDiffOn','_aiReviewModeUi','finished','_logError','7KSsAUq','startsWith','_OPTIONS_DATA_','domElement','dismissChange','ai.reviewMode.translations','showCheckRunResult','AIConnector','translate','AIReviewModeController','ai-review-mode-models-unable-to-retrieve','checks','isChangeActive','reviewCheckRunUpdated','_DESCRIPTION','clearAllMarkers','_aiReviewCheckList','markAllChangesAsAccepted','getAll','currentError','_onDiffChange','sendRating','isOfficialPlugin','52naOiUv','1587807xBcuUw','data','retryReview','contentInitial','processedResultsCount','ai-review-mode-source-check-not-found','changeId','showGeneralResultsErrorView','restart','showActionsWhenResultIsReady','changes','find','reviewCheckResultActivated','setActiveStateInResults','186212AXRQaB','hasModifications','init','markChangeAsOutdated','3937650iSyuzZ','finishReview','abortReviewStream','leaveReviewModeResultList','subTitle','includes','_changeActivationSource','unmodified','updateDocumentData','contentNew','custom','AIReviewModeEditing','_OPTIONS_LABEL','click','diffContent','view','length','description','changeMarkerRemoved','getCheckById','setCheckResultTitle','removeCheckById','updateChangeState','document','content','start','domEvent','toUpperCase','map','viewportOffset','_aiReviewModeEditing','result','5560290BxJUPY','panel','addClass','args','isPremiumPlugin','models','error-general','reviewCheckResultAdded','switchToReadOnly','message','ai-review-mode-check-run-failed','showGeneralReviewModeErrorView','changeMarkerHovered','AI_MODEL_DESCRIPTION_','rejectChange','deactivateChange','title','loading','config','stopListening','getActiveChanges','ck-ai-review-mode-highlights','pluginName','ai-review-mode-no-current-check-run','ai-review-mode-check-run-general-error','getEditor','hover','runReviewCheck','label','params','replaceAll','showChunkErrorView','2892802UpTiTz','aborted','plugins','ai-request-aborted','changeMarkerBlurred','AIReviewModeUI','getChangeElement','editing','_translateReviewChecks','ready','AI_REVIEW_CHECK_','getChangeById','emitter','acceptAllChanges','getDomRoot','acceptChange','markChangePositionInEditorContent','isCustom','reviewCheckResultDeactivated','ck-ai-review-mode-diff','getMarkerElementForChange','50WgEuKP','changeMarkerRestored','status','resetActiveStateInResults','listenTo','removeClass','options','_TITLE'];_0xb485=function(){return _0x2dcbb4;};return _0xb485();}import{AIConnector as _0x361ccd}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3fe93b}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x34324c}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1e490e}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x51b461}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x709d11}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x3a3218}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x9f7424{[_0xbd60ae(0x164)];[_0xbd60ae(0x17e)];[_0xbd60ae(0x10e)];[_0xbd60ae(0x191)];[_0xbd60ae(0x161)];[_0xbd60ae(0x17d)]=!0x1;[_0xbd60ae(0x1b1)]=null;static get[_0xbd60ae(0x17a)](){return[_0x361ccd];}static get[_0xbd60ae(0x126)](){const _0x20e8f7=_0xbd60ae;return _0x20e8f7(0x18a);}static get[_0xbd60ae(0x197)](){return!0x0;}static get[_0xbd60ae(0x114)](){return!0x0;}async[_0xbd60ae(0x1a9)](){const _0x5d1455=_0xbd60ae;this[_0x5d1455(0x164)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x188)),this[_0x5d1455(0x17e)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x135)),this[_0x5d1455(0x10e)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x1b6));const _0x1aac4a=this[_0x5d1455(0x174)][_0x5d1455(0x122)][_0x5d1455(0x15a)](_0x5d1455(0x186));if(_0x1aac4a){for(const _0x155e6d of _0x709d11)_0x5d1455(0x189)===_0x155e6d['id']&&(_0x155e6d[_0x5d1455(0x14b)][0x0][_0x5d1455(0x19a)]=_0x1aac4a);}const _0x25baf1=this[_0x5d1455(0x138)](_0x709d11);this[_0x5d1455(0x191)]=new _0x3fe93b(_0x25baf1);const _0x489a48=this[_0x5d1455(0x191)][_0x5d1455(0x18c)][_0x5d1455(0x1a4)](_0x26226e=>_0x5d1455(0x1b5)===_0x26226e['id']);if(_0x489a48)try{const _0x584438=await new _0x51b461({'connector':this[_0x5d1455(0x164)]})[_0x5d1455(0x193)]();_0x489a48[_0x5d1455(0x115)]=_0x584438[_0x5d1455(0x10c)](_0x865a68=>({..._0x865a68,'description':this[_0x5d1455(0x176)](_0x5d1455(0x11d)+_0x865a68['id'][_0x5d1455(0x10b)](),_0x865a68[_0x5d1455(0x1bc)])}));}catch(_0x10eb6f){this[_0x5d1455(0x191)][_0x5d1455(0x1c0)](_0x5d1455(0x1b5)),this[_0x5d1455(0x180)](new _0x25cd1c(_0x5d1455(0x18b),this,{'error':_0x10eb6f}));}this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x151),()=>{const _0x402763=_0x5d1455;this[_0x402763(0x17e)][_0x402763(0x16a)](this[_0x402763(0x191)][_0x402763(0x18c)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x12b),async(_0x3db480,_0xba6f97)=>{const _0x3ef4c4=_0x5d1455,_0x260a2b=this[_0x3ef4c4(0x191)][_0x3ef4c4(0x1be)](_0xba6f97['id']);if(_0x260a2b){this[_0x3ef4c4(0x195)](this[_0x3ef4c4(0x17d)]),_0xba6f97[_0x3ef4c4(0x141)]?this[_0x3ef4c4(0x161)]=new _0x1e490e(_0xba6f97[_0x3ef4c4(0x113)][_0x3ef4c4(0x177)],_0xba6f97[_0x3ef4c4(0x113)][_0x3ef4c4(0x157)],this[_0x3ef4c4(0x10e)][_0x3ef4c4(0x152)](),_0x260a2b,this[_0x3ef4c4(0x164)]):this[_0x3ef4c4(0x161)]=new _0x34324c(this[_0x3ef4c4(0x10e)][_0x3ef4c4(0x152)](),_0x260a2b,this[_0x3ef4c4(0x164)],_0xba6f97[_0x3ef4c4(0x12d)],_0xba6f97[_0x3ef4c4(0x113)]),this[_0x3ef4c4(0x17e)][_0x3ef4c4(0x1bf)](this[_0x3ef4c4(0x161)][_0x3ef4c4(0x120)],this[_0x3ef4c4(0x161)][_0x3ef4c4(0x1af)]),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x18e),(_0x5caeb4,_0x49c10e)=>{const _0x1324db=_0x3ef4c4;_0x1324db(0x19a)===_0x49c10e[_0x1324db(0x147)]||_0x1324db(0x121)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x10e)][_0x1324db(0x118)](),this[_0x1324db(0x17e)][_0x1324db(0x171)](_0x49c10e)):_0x1324db(0x17f)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x175)]():_0x1324db(0x139)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x1a2)]():_0x1324db(0x1b2)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x163)]():_0x1324db(0x116)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x17e)][_0x1324db(0x1a0)](),this[_0x1324db(0x180)](new _0x25cd1c(_0x1324db(0x128),this,this[_0x1324db(0x161)]?.[_0x1324db(0x194)]))):_0x1324db(0x15b)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x17e)][_0x1324db(0x12f)](),this[_0x1324db(0x180)](new _0x25cd1c(_0x1324db(0x170),this,this[_0x1324db(0x161)]?.[_0x1324db(0x194)]))):_0x1324db(0x131)===_0x49c10e[_0x1324db(0x147)]&&(this[_0x1324db(0x161)]&&this[_0x1324db(0x161)][_0x1324db(0x19d)]>0x0?setTimeout(()=>{const _0xb1adce=_0x1324db;this[_0xb1adce(0x161)]?.[_0xb1adce(0x150)]();},0x0):this[_0x1324db(0x158)](!0x0)),_0x1324db(0x139)!==_0x49c10e[_0x1324db(0x147)]&&_0x1324db(0x15b)!==_0x49c10e[_0x1324db(0x147)]&&_0x1324db(0x116)!==_0x49c10e[_0x1324db(0x147)]||this[_0x1324db(0x161)]?.[_0x1324db(0x196)]();}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x117),(_0x5ddf2b,_0x2c005f)=>{const _0xa6f683=_0x3ef4c4;if(!this[_0xa6f683(0x161)])throw new _0x25cd1c(_0xa6f683(0x127),this);const _0x451873=this[_0xa6f683(0x10e)][_0xa6f683(0x1b9)](_0x2c005f[_0xa6f683(0x10f)][_0xa6f683(0x19c)],_0x2c005f[_0xa6f683(0x10f)][_0xa6f683(0x1b4)]);_0x2c005f[_0xa6f683(0x16b)][_0xa6f683(0x167)](_0x2c005f[_0xa6f683(0x10f)]['id'],_0x451873);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x156),(_0x45fa72,_0x23dc21)=>{const _0x483ad8=_0x3ef4c4;for(const _0x760f32 of _0x23dc21[_0x483ad8(0x1a3)])this[_0x483ad8(0x17e)][_0x483ad8(0x187)](_0x760f32);this[_0x483ad8(0x10e)][_0x483ad8(0x140)](_0x23dc21[_0x483ad8(0x1a3)],_0x23dc21[_0x483ad8(0x16b)][_0x483ad8(0x179)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x15f),(_0x2600a2,_0x1254fa)=>{const _0x4ecdbf=_0x3ef4c4;this[_0x4ecdbf(0x17e)][_0x4ecdbf(0x1c1)](_0x1254fa[_0x4ecdbf(0x17b)]['id'],_0x1254fa[_0x4ecdbf(0x147)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x1a5),(_0xb5febb,_0x154ecc)=>{const _0x541dfd=_0x3ef4c4;this[_0x541dfd(0x17e)][_0x541dfd(0x1a6)](_0x154ecc[_0x541dfd(0x17b)]['id']);const _0x165c8b=this[_0x541dfd(0x10e)][_0x541dfd(0x144)](_0x154ecc[_0x541dfd(0x17b)]['id']);if(!_0x165c8b)return;if(_0x541dfd(0x108)===this[_0x541dfd(0x1b1)]){const _0x59db4f=this[_0x541dfd(0x17e)][_0x541dfd(0x136)](_0x154ecc[_0x541dfd(0x17b)]['id']);_0x59db4f&&_0x2b014b(_0x59db4f[_0x541dfd(0x14e)](_0x541dfd(0x160))||_0x59db4f);}else{if(_0x541dfd(0x111)===this[_0x541dfd(0x1b1)]){const _0x2a636f={'target':_0x165c8b[_0x541dfd(0x184)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x935a22(_0x2a636f);}}const _0x13fa29=this[_0x541dfd(0x10e)][_0x541dfd(0x129)]();this[_0x541dfd(0x17e)][_0x541dfd(0x169)](_0x154ecc[_0x541dfd(0x17b)],_0x165c8b[_0x541dfd(0x184)],void 0x0,_0x541dfd(0x1b8),_0x13fa29?.[_0x541dfd(0x137)]?.[_0x541dfd(0x1ba)]?.[_0x541dfd(0x13e)](),_0x13fa29?.['ui']?.[_0x541dfd(0x10d)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x142),()=>{const _0x23b933=_0x3ef4c4;this[_0x23b933(0x17e)][_0x23b933(0x148)](),this[_0x23b933(0x17e)][_0x23b933(0x16f)]();});try{await this[_0x3ef4c4(0x161)][_0x3ef4c4(0x109)]();}catch(_0x49e320){_0x49e320 instanceof Error&&_0x49e320[_0x3ef4c4(0x119)][_0x3ef4c4(0x1b0)](_0x3ef4c4(0x133))||(_0x49e320 instanceof _0x25cd1c?this[_0x3ef4c4(0x180)](_0x49e320):this[_0x3ef4c4(0x180)](new _0x25cd1c(_0x3ef4c4(0x11a),this,{'error':_0x49e320})));}}else this[_0x3ef4c4(0x180)](new _0x25cd1c(_0x3ef4c4(0x19e),this,{'checkId':_0xba6f97['id']}));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x17c),()=>{const _0x472a61=_0x5d1455;this[_0x472a61(0x158)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ae),()=>{const _0x323fbe=_0x5d1455;this[_0x323fbe(0x158)](!0x0);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ad),()=>{const _0x24c30a=_0x5d1455;this[_0x24c30a(0x161)]&&this[_0x24c30a(0x161)][_0x24c30a(0x16d)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ac),()=>{const _0x18d4ef=_0x5d1455;this[_0x18d4ef(0x158)](!0x0);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x13d),()=>{const _0x5e9ccd=_0x5d1455;if(!this[_0x5e9ccd(0x161)])return;const _0x426e20=this[_0x5e9ccd(0x161)][_0x5e9ccd(0x124)]();_0x426e20[_0x5e9ccd(0x1bb)]&&(this[_0x5e9ccd(0x10e)][_0x5e9ccd(0x15c)](_0x426e20[_0x5e9ccd(0x10c)](_0x3056ff=>_0x3056ff['id'])),this[_0x5e9ccd(0x161)][_0x5e9ccd(0x192)](),this[_0x5e9ccd(0x161)][_0x5e9ccd(0x196)]());}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x13f),(_0x3f7f1f,_0x5189af)=>{const _0x34043c=_0x5d1455;this[_0x34043c(0x161)]&&this[_0x34043c(0x161)][_0x34043c(0x18d)](_0x5189af['id'])&&(this[_0x34043c(0x10e)][_0x34043c(0x15c)]([_0x5189af['id']]),this[_0x34043c(0x161)][_0x34043c(0x165)](_0x5189af['id']),this[_0x34043c(0x17e)][_0x34043c(0x16f)](),this[_0x34043c(0x161)][_0x34043c(0x196)](_0x5189af['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x185),(_0x2204b8,_0x2468d9)=>{const _0x53206e=_0x5d1455;this[_0x53206e(0x161)]&&this[_0x53206e(0x161)][_0x53206e(0x18d)](_0x2468d9['id'])&&(this[_0x53206e(0x10e)][_0x53206e(0x11e)](_0x2468d9['id']),this[_0x53206e(0x161)][_0x53206e(0x15e)](_0x2468d9['id']),this[_0x53206e(0x17e)][_0x53206e(0x16f)](),this[_0x53206e(0x161)][_0x53206e(0x196)](_0x2468d9['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x172),(_0x4d517b,_0x29361d)=>{const _0x4fd45a=_0x5d1455;this[_0x4fd45a(0x17d)]=_0x29361d['on'],this[_0x4fd45a(0x195)](this[_0x4fd45a(0x17d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x19b),async()=>{const _0x3ec9a5=_0x5d1455;this[_0x3ec9a5(0x161)]&&(this[_0x3ec9a5(0x10e)][_0x3ec9a5(0x190)](),this[_0x3ec9a5(0x161)][_0x3ec9a5(0x1b3)](this[_0x3ec9a5(0x10e)][_0x3ec9a5(0x152)]()),await this[_0x3ec9a5(0x161)][_0x3ec9a5(0x1a1)]());}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x154),(_0x1c09eb,_0x243d30)=>{const _0x4145a5=_0x5d1455;this[_0x4145a5(0x161)]&&(this[_0x4145a5(0x1b1)]=_0x4145a5(0x111),this[_0x4145a5(0x161)][_0x4145a5(0x154)](_0x243d30['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x11f),()=>{const _0x4b4f49=_0x5d1455;this[_0x4b4f49(0x161)]&&this[_0x4b4f49(0x161)][_0x4b4f49(0x11f)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x14f),(_0x4979bd,_0xf67292)=>{const _0x19fe23=_0x5d1455;if(!this[_0x19fe23(0x161)])return;this[_0x19fe23(0x1b1)]=_0x19fe23(0x108),this[_0x19fe23(0x161)][_0x19fe23(0x154)](_0xf67292[_0x19fe23(0x19f)]);const _0x1aba68=this[_0x19fe23(0x161)][_0x19fe23(0x13b)](_0xf67292[_0x19fe23(0x19f)]);if(!_0x1aba68)return;const _0x4770e4=this[_0x19fe23(0x10e)][_0x19fe23(0x129)]();this[_0x19fe23(0x17e)][_0x19fe23(0x169)](_0x1aba68,_0xf67292[_0x19fe23(0x16e)],_0xf67292[_0x19fe23(0x10a)],_0x19fe23(0x1b8),_0x4770e4?.[_0x19fe23(0x137)]?.[_0x19fe23(0x1ba)]?.[_0x19fe23(0x13e)](),_0x4770e4?.['ui']?.[_0x19fe23(0x10d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x11c),(_0x33b4a0,_0x45a535)=>{const _0x502113=_0x5d1455;if(!this[_0x502113(0x161)])return;if(this[_0x502113(0x161)][_0x502113(0x178)]())return;const _0x4c7428=this[_0x502113(0x161)][_0x502113(0x13b)](_0x45a535[_0x502113(0x19f)]);if(!_0x4c7428)return;const _0x5ef0e0=this[_0x502113(0x10e)][_0x502113(0x129)]();this[_0x502113(0x17e)][_0x502113(0x169)](_0x4c7428,_0x45a535[_0x502113(0x16e)],_0x45a535[_0x502113(0x10a)],_0x502113(0x12a),_0x5ef0e0?.[_0x502113(0x137)]?.[_0x502113(0x1ba)]?.[_0x502113(0x13e)](),_0x5ef0e0?.['ui']?.[_0x502113(0x10d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x134),()=>{const _0x38928a=_0x5d1455;if(!this[_0x38928a(0x161)])return;this[_0x38928a(0x161)][_0x38928a(0x178)]()||this[_0x38928a(0x17e)][_0x38928a(0x16f)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x1bd),(_0x2932a0,_0x1438be)=>{const _0x4f876a=_0x5d1455;this[_0x4f876a(0x161)]&&this[_0x4f876a(0x161)][_0x4f876a(0x1aa)](_0x1438be[_0x4f876a(0x19f)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x146),(_0x2ffc86,_0x299767)=>{const _0x512059=_0x5d1455;this[_0x512059(0x161)]&&this[_0x512059(0x161)][_0x512059(0x153)](_0x299767[_0x512059(0x19f)]);});}[_0xbd60ae(0x158)](_0x199a8e=!0x1){const _0x3ca427=_0xbd60ae;this[_0x3ca427(0x161)]&&(this[_0x3ca427(0x161)][_0x3ca427(0x1a8)]||this[_0x3ca427(0x161)][_0x3ca427(0x196)](),this[_0x3ca427(0x161)][_0x3ca427(0x123)](),this[_0x3ca427(0x161)][_0x3ca427(0x16d)](),this[_0x3ca427(0x161)]=void 0x0),_0x199a8e&&this[_0x3ca427(0x17e)][_0x3ca427(0x15d)](),this[_0x3ca427(0x10e)][_0x3ca427(0x190)](),this[_0x3ca427(0x10e)][_0x3ca427(0x159)](),this[_0x3ca427(0x1b1)]=null;const _0x435c8f=this[_0x3ca427(0x10e)][_0x3ca427(0x129)]();_0x435c8f&&_0x435c8f[_0x3ca427(0x137)][_0x3ca427(0x1ba)][_0x3ca427(0x17b)](_0x25d642=>{const _0x55b4ed=_0x3ca427,_0x44b798=_0x435c8f[_0x55b4ed(0x137)][_0x55b4ed(0x1ba)][_0x55b4ed(0x107)][_0x55b4ed(0x155)]();_0x25d642[_0x55b4ed(0x14a)](_0x55b4ed(0x143),_0x44b798),_0x25d642[_0x55b4ed(0x14a)](_0x55b4ed(0x125),_0x44b798);});}[_0xbd60ae(0x195)](_0x336b43){const _0x1ac484=_0xbd60ae,_0x3cf79c=this[_0x1ac484(0x10e)][_0x1ac484(0x129)]();_0x336b43?this[_0x1ac484(0x17e)][_0x1ac484(0x14d)]():this[_0x1ac484(0x17e)][_0x1ac484(0x16c)](),_0x3cf79c&&_0x3cf79c[_0x1ac484(0x137)][_0x1ac484(0x1ba)][_0x1ac484(0x17b)](_0x402697=>{const _0x13f781=_0x1ac484,_0x41e3fe=_0x3cf79c[_0x13f781(0x137)][_0x13f781(0x1ba)][_0x13f781(0x107)][_0x13f781(0x155)]();_0x402697[_0x13f781(0x14a)](_0x13f781(0x143),_0x41e3fe),_0x402697[_0x13f781(0x14a)](_0x13f781(0x125),_0x41e3fe),_0x402697[_0x13f781(0x112)](_0x336b43?_0x13f781(0x143):_0x13f781(0x125),_0x41e3fe);});}[_0xbd60ae(0x138)](_0x132a9a){const _0x3e2822=_0xbd60ae;return _0x132a9a[_0x3e2822(0x10c)](_0x5d07f5=>{const _0x514077=_0x3e2822,_0x4bafcf=_0x514077(0x13a)+_0x5d07f5['id'][_0x514077(0x10b)]()[_0x514077(0x12e)]('-','_'),_0x1a3bfb={..._0x5d07f5,'title':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x14c),_0x5d07f5[_0x514077(0x120)]),'description':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x18f),_0x5d07f5[_0x514077(0x1bc)])};return _0x5d07f5[_0x514077(0x14b)]&&(_0x1a3bfb[_0x514077(0x14b)]=_0x5d07f5[_0x514077(0x14b)][_0x514077(0x10c)](_0xe772a3=>({..._0xe772a3,'label':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x1b7),_0xe772a3[_0x514077(0x12c)]||''),'data':_0xe772a3[_0x514077(0x19a)]?_0xe772a3[_0x514077(0x19a)][_0x514077(0x10c)](_0xd13aad=>({..._0xd13aad,'label':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x183)+_0xd13aad['id'][_0x514077(0x10b)](),_0xd13aad[_0x514077(0x12c)])})):void 0x0}))),_0x1a3bfb;});}[_0xbd60ae(0x176)](_0x58df9c,_0x1d5ab9){const _0x325be7=_0xbd60ae,_0x584a56=this[_0x325be7(0x174)][_0x325be7(0x173)],_0x2cd6a1=_0x3a3218(_0x584a56,_0x58df9c);return _0x2cd6a1===_0x58df9c?_0x1d5ab9:_0x2cd6a1;}[_0xbd60ae(0x180)](_0xc1c3d5){const _0x4b35b2=_0xbd60ae;_0x15ff2d(_0xc1c3d5[_0x4b35b2(0x119)]),_0xc1c3d5[_0x4b35b2(0x119)][_0x4b35b2(0x182)](_0x4b35b2(0x18b))?this[_0x4b35b2(0x17e)][_0x4b35b2(0x11b)]():this[_0x4b35b2(0x17e)][_0x4b35b2(0x1a0)]();}}
@@ -139,6 +139,8 @@ export type AIReviewModeChangeMarkerClickedEvent = {
139
139
  {
140
140
  markerId: string;
141
141
  changeId: string;
142
+ markerElement: HTMLElement;
143
+ domEvent: MouseEvent;
142
144
  }
143
145
  ];
144
146
  };
@@ -160,3 +162,17 @@ export type AIReviewModeChangeMarkerRestoredEvent = {
160
162
  }
161
163
  ];
162
164
  };
165
+ export type AIReviewModeChangeMarkerBlurredEvent = {
166
+ name: 'changeMarkerBlurred';
167
+ args: [];
168
+ };
169
+ export type AIReviewModeChangeMarkerHoveredEvent = {
170
+ name: 'changeMarkerHovered';
171
+ args: [
172
+ {
173
+ changeId: string;
174
+ markerElement: HTMLElement;
175
+ domEvent: MouseEvent;
176
+ }
177
+ ];
178
+ };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x230b3b=_0x51b5;(function(_0x5849a0,_0x31f069){const _0x33f9d5=_0x51b5,_0x5d8cd6=_0x5849a0();while(!![]){try{const _0x555a8e=-parseInt(_0x33f9d5(0x124))/0x1+-parseInt(_0x33f9d5(0x141))/0x2*(parseInt(_0x33f9d5(0x153))/0x3)+-parseInt(_0x33f9d5(0x174))/0x4*(parseInt(_0x33f9d5(0x165))/0x5)+parseInt(_0x33f9d5(0x167))/0x6*(-parseInt(_0x33f9d5(0x1ef))/0x7)+-parseInt(_0x33f9d5(0x1f0))/0x8*(parseInt(_0x33f9d5(0x1ff))/0x9)+-parseInt(_0x33f9d5(0x1e4))/0xa*(parseInt(_0x33f9d5(0x144))/0xb)+-parseInt(_0x33f9d5(0x164))/0xc*(-parseInt(_0x33f9d5(0x16c))/0xd);if(_0x555a8e===_0x31f069)break;else _0x5d8cd6['push'](_0x5d8cd6['shift']());}catch(_0x230e04){_0x5d8cd6['push'](_0x5d8cd6['shift']());}}}(_0x4644,0x476ee));import{InsertOperation as _0x1900c7,MarkerOperation as _0x44ec3e,ModelDocumentFragment as _0x277d2a,ModelPosition as _0x1256cf,ModelRange as _0x2fa77b,ModelTreeWalker as _0xc24a46,transformOperationSets as _0x1f3c7f}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x42c415,EmitterMixin as _0x2b82a6}from'ckeditor5/src/utils.js';import{ContextPlugin as _0xe3e8d}from'ckeditor5/src/core.js';function _0x51b5(_0x1da5ed,_0x2794db){const _0x464480=_0x4644();return _0x51b5=function(_0x51b5cf,_0x104103){_0x51b5cf=_0x51b5cf-0x117;let _0x2045ee=_0x464480[_0x51b5cf];return _0x2045ee;},_0x51b5(_0x1da5ed,_0x2794db);}function _0x4644(){const _0xba699e=['suggestion-context','toData','getChildren','childCount','start','offsetSize','affectsData','every','applyChange','dataDowncast','_translateOperationToEditorContent','_appendChild','history','hasClass','getChangedMarkers','warn','containsRange','getPath','createSelection','exec','end','remove-text','isOfficialPlugin','insertContent','sort','_changeOperationOwnerDocument','set','_getChangeContext','_createGetContentFn','getHtml','model','_removeChildren','[data-id=\x22','processor','ck-ai_review-mode-marker_hide','changeMarkerClick','_domEmitter','_shiftOperation','requires','position','ck-ai_review-mode-marker_context-','name','createDocumentFragment','schema','registerPostFixer','elements','changeMarkerRemoved','remove-context','append','createPositionAt','pluginName','index','operationsA','click','length','oldRange','getRoots','documentFragment','target','_parseMarkerName','span','getChanges','clone','context','forEach','_markers','domConverter','data-marker-id','markChangePositionInEditorContent','map','element','ck-ai_review-mode-marker_underline','suggestion:deletion:id:authorId:','_removeAttribute','[data-marker-id=\x22','_changeRange','_insertMarkers','$documentFragment','flat','filter','getStart','parse','toDomElement','add','switchToReadOnly','_setAttribute','_getOperationStart','attributeToAttribute','for','getDomRoot','parent','_changePosition','enableReadOnlyMode','remove','backward','parentElement','keys','pop','howMany','toView','ck-ai_review-mode-marker_context-end','batch','isAtStart','plugins','conversion','createUIElement','$markedRemove','createText','addOperation','markerName','type','2895670cvztsl','disableReadOnlyMode','hasContentBefore','hasContentAfter','DocumentCompare','isIntersecting','downcast','_changeRangeOwnerDocument','concat','suggestion:insertion:id:authorId:','remove-only','14DtISRX','1384bsTjWi','isInline','innerHTML','getOperations','markerToHighlight','createRange','offset','isPremiumPlugin','querySelector','_createGetContentUsingDataIdFn','has','forward','getMarkerElementForChange','viewToDom','getRange','24093DrFJXj','version','newRange','push','AIEditing','_eventEmitter','htmlWriter','jumpTo','groupId','reviewmode-','stringify','_getMarkersDataForGroup','operationsIsolated','_getOperationEnd','delete','_nextDataId','emitter','_sortMarkers','_findMarkerElement','getDiff','ck-ai_review-mode-marker_strikethrough','markers','455910rnuMfx','getDocumentData','size','getShiftedBy','createPositionAfter','applyOperation','addMarker','htmlProcessor','baseVersion','model:$text','removeMarker','AIReviewModeEditing','ai-review-mode','_handleMarkerChanges','_groupAdjacentOperations','ck-ai_review-mode-marker_add','getRoot','rejectChange','switchToEdit','isOpening','hasAttribute','getEditor','startsWith','ck-ai_review-mode-marker_','editingDowncast','No\x20element\x20found\x20for\x20ID:\x20','outerHTML','change','_createGetContextFn','98FbZTJn','rootName','fire','22iAKoTn','insert','getAttribute','from','root','marker','path','includes','_changePositionOwnerDocument','markerToElement','split','_validateMarkers','caption','values','className','34659hZjNGR','get','changeMarkerRestored','ck-ai_review-mode-marker_context-start','afterInit','diffContent','nodes','clear','$graveyard','isTouching','isDocumentOperation','getChild','createRawElement','$textProxy','listenTo','_findAdjacentContextDistance','text','372ffGSUs','30IMhJLL','_clone','1650504MIGsOO','data','deleteContent','editing','view','1441778lTUJrv','clearAllMarkers','isAtEnd','ellipsisAfter','document','differ','ellipsisBefore','_hasSameTopLevelElement','354044XOEiGo'];_0x4644=function(){return _0xba699e;};return _0x4644();}import{DocumentCompare as _0x53f5b9,DATA_ID_MODEL_ATTRIBUTE as _0x9df2c5,DATA_ID_VIEW_ATTRIBUTE as _0x37a4ae}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x4793dc}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x7ff054}from'../aicore/aiediting.js';const we=_0x230b3b(0x117);export class AIReviewModeEditing extends _0xe3e8d{static get[_0x230b3b(0x1a7)](){const _0x138dc4=_0x230b3b;return _0x138dc4(0x12f);}static get[_0x230b3b(0x19b)](){return[_0x53f5b9,_0x7ff054];}static get[_0x230b3b(0x18b)](){return!0x0;}static get[_0x230b3b(0x1f7)](){return!0x0;}[_0x230b3b(0x1b6)]=new Map();[_0x230b3b(0x199)];[_0x230b3b(0x204)];constructor(_0x34a825){const _0x1f72e4=_0x230b3b;super(_0x34a825),this[_0x1f72e4(0x199)]=new(_0x42c415())(),this[_0x1f72e4(0x204)]=new(_0x2b82a6())();}get[_0x230b3b(0x11e)](){const _0x10cda5=_0x230b3b;return this[_0x10cda5(0x204)];}[_0x230b3b(0x157)](){const _0x3a3d62=_0x230b3b,_0xcd84d1=_0x4793dc(this[_0x3a3d62(0x1b4)]);_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x13c))[_0x3a3d62(0x14d)]({'model':we+_0x3a3d62(0x145),'view':(_0x1cf676,{writer:_0x6d9e35})=>{const _0x2413e8=_0x3a3d62,_0xacd8b=this[_0x2413e8(0x1b6)][_0x2413e8(0x154)](_0x1cf676[_0x2413e8(0x1e2)]),_0x58e53e={'class':_0x2413e8(0x133),'data-marker-id':_0x1cf676[_0x2413e8(0x1e2)]};return _0x6d9e35[_0x2413e8(0x1de)](_0x2413e8(0x1b1),_0x58e53e,function(_0x45fad6){const _0x18c25c=_0x2413e8,_0x3e9857=this[_0x18c25c(0x1c7)](_0x45fad6);return _0x3e9857[_0x18c25c(0x1f2)]=_0xacd8b?.[_0x18c25c(0x163)]||'',_0x3e9857;});}}),_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x13c))[_0x3a3d62(0x1f4)]({'model':we+_0x3a3d62(0x1ee),'view':_0x4796e9=>({'classes':_0x3a3d62(0x122),'attributes':{'data-marker-id':_0x4796e9[_0x3a3d62(0x1e2)]}})}),_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x13c))[_0x3a3d62(0x1f4)]({'model':we+_0x3a3d62(0x1a4),'view':_0x2b3663=>({'classes':_0x3a3d62(0x1bc),'attributes':{'data-marker-id':_0x2b3663[_0x3a3d62(0x1e2)]}})}),_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x13c))[_0x3a3d62(0x1f4)]({'model':we+_0x3a3d62(0x18a),'view':_0x4d3230=>({'classes':_0x3a3d62(0x197),'attributes':{'data-marker-id':_0x4d3230[_0x3a3d62(0x1e2)]}})}),_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x17e))[_0x3a3d62(0x14d)]({'model':we+_0x3a3d62(0x175),'view':(_0x568b29,{writer:_0x56c221})=>_0x56c221[_0x3a3d62(0x15f)](_0x3a3d62(0x1b1),{'class':_0x3a3d62(0x19d)+(_0x568b29[_0x3a3d62(0x137)]?_0x3a3d62(0x179):_0x3a3d62(0x189))})}),_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x1ea))[_0x3a3d62(0x1cc)]({'model':_0x9df2c5,'view':_0x37a4ae}),this[_0x3a3d62(0x199)][_0x3a3d62(0x161)](document,_0x3a3d62(0x1aa),(_0x5095bc,_0x7bcb78)=>{const _0x21d5b2=_0x3a3d62,_0x45cd74=_0x7bcb78[_0x21d5b2(0x1af)],_0x3ccc6f=this[_0x21d5b2(0x120)](_0x45cd74);if(!_0x3ccc6f)return;const _0x5804c6=_0x3ccc6f[_0x21d5b2(0x146)](_0x21d5b2(0x1b8)),_0x385ec8=_0x5804c6[_0x21d5b2(0x14e)](':')[_0x21d5b2(0x1d6)]()?.[_0x21d5b2(0x14e)]('_')[0x0];this[_0x21d5b2(0x204)][_0x21d5b2(0x143)](_0x21d5b2(0x198),{'markerId':_0x5804c6,'changeId':_0x385ec8});}),_0xcd84d1[_0x3a3d62(0x193)][_0x3a3d62(0x170)][_0x3a3d62(0x1a1)](_0x2feae8=>this[_0x3a3d62(0x14f)](_0xcd84d1,_0x2feae8)),_0xcd84d1[_0x3a3d62(0x193)][_0x3a3d62(0x170)]['on'](_0x3a3d62(0x13f),()=>this[_0x3a3d62(0x131)](_0xcd84d1));}[_0x230b3b(0x125)](){const _0x367ebc=_0x230b3b,_0x253941=this[_0x367ebc(0x1b4)][_0x367ebc(0x1dc)][_0x367ebc(0x154)](_0x367ebc(0x203)),_0x32139b=_0x4793dc(this[_0x367ebc(0x1b4)]),_0x791d6b=_0x32139b[_0x367ebc(0x193)],_0x1db5c5=new _0x277d2a();for(const _0x550de0 of _0x791d6b[_0x367ebc(0x170)][_0x367ebc(0x134)]()[_0x367ebc(0x177)]()){const _0x4dec1a=_0x550de0[_0x367ebc(0x166)](!0x0);_0x1db5c5[_0x367ebc(0x180)](_0x4dec1a);}for(const _0x549c35 of _0x791d6b[_0x367ebc(0x123)])_0x1db5c5[_0x367ebc(0x123)][_0x367ebc(0x18f)](_0x549c35[_0x367ebc(0x19e)],this[_0x367ebc(0x1eb)](_0x549c35[_0x367ebc(0x1fe)]()[_0x367ebc(0x1b3)](),_0x1db5c5));const _0x3c3601=new _0xc24a46({'ignoreElementEnd':!0x0,'startPosition':_0x791d6b[_0x367ebc(0x1a6)](_0x1db5c5,0x0)}),_0x31a300=new Set(),_0x519fc8=new Map();for(const {item:_0x518c87}of _0x3c3601){if(!_0x518c87['is'](_0x367ebc(0x160)))continue;const _0x267af2=_0x518c87[_0x367ebc(0x1cf)];if((!_0x267af2||!_0x267af2['is'](_0x367ebc(0x1bb),_0x367ebc(0x150)))&&(_0x267af2&&_0x267af2['is'](_0x367ebc(0x1bb)))){let _0x4d316b=_0x267af2[_0x367ebc(0x146)](_0x9df2c5);_0x4d316b||(_0x4d316b=_0x253941[_0x367ebc(0x11d)](_0x31a300),_0x267af2[_0x367ebc(0x1ca)](_0x9df2c5,_0x4d316b)),_0x31a300[_0x367ebc(0x1c8)](_0x4d316b);let _0x21c00c=_0x267af2;for(;_0x21c00c[_0x367ebc(0x1cf)]&&!_0x21c00c[_0x367ebc(0x1cf)]['is'](_0x367ebc(0x1ae));)_0x21c00c=_0x21c00c[_0x367ebc(0x1cf)],_0x21c00c[_0x367ebc(0x138)](_0x9df2c5)&&_0x21c00c[_0x367ebc(0x1be)](_0x9df2c5);_0x519fc8[_0x367ebc(0x18f)](_0x4d316b,{'path':_0x267af2[_0x367ebc(0x186)](),'getContent':this[_0x367ebc(0x1f9)](_0x21c00c[_0x367ebc(0x166)](!0x0),_0x4d316b,_0x32139b[_0x367ebc(0x168)])}),_0x3c3601[_0x367ebc(0x206)](_0x791d6b[_0x367ebc(0x128)](_0x267af2));}}return{'content':_0x32139b[_0x367ebc(0x168)][_0x367ebc(0x196)][_0x367ebc(0x176)](_0x32139b[_0x367ebc(0x168)][_0x367ebc(0x1d8)](_0x1db5c5)),'version':_0x32139b[_0x367ebc(0x193)][_0x367ebc(0x170)][_0x367ebc(0x200)],'elements':_0x519fc8};}[_0x230b3b(0x158)](_0x14a129,_0x350b48){const _0x2783a8=_0x230b3b,_0x23087a=[],_0x138d76=_0x4793dc(this[_0x2783a8(0x1b4)]),_0xef50be=_0x138d76[_0x2783a8(0x168)][_0x2783a8(0x1c6)](_0x14a129,_0x2783a8(0x1c2)),_0x5ccc0=_0x138d76[_0x2783a8(0x193)][_0x2783a8(0x1a6)](_0xef50be,0x0),_0x3ddaad=_0x138d76[_0x2783a8(0x168)][_0x2783a8(0x1c6)](_0x350b48,_0x2783a8(0x1c2));if(!this[_0x2783a8(0x173)](_0xef50be,_0x3ddaad))return _0x23087a;const _0x2e1ee3=this[_0x2783a8(0x1b4)][_0x2783a8(0x1dc)][_0x2783a8(0x154)](_0x2783a8(0x1e8))[_0x2783a8(0x121)](_0x14a129,_0x350b48,{'anchor':_0x5ccc0,'markDeletions':!0x0})[_0x2783a8(0x1f3)]()[_0x2783a8(0x1c4)](_0x2f45b0=>_0x2783a8(0x145)===_0x2f45b0[_0x2783a8(0x1e3)]||_0x2783a8(0x149)===_0x2f45b0[_0x2783a8(0x1e3)]&&_0x2f45b0[_0x2783a8(0x19e)][_0x2783a8(0x13a)](_0x2783a8(0x1df))),_0x172f55=this[_0x2783a8(0x132)](_0x2e1ee3);let _0x20f1e1=0x0;return _0x138d76[_0x2783a8(0x193)][_0x2783a8(0x13f)](_0x31e67f=>{const _0x4943cb=_0x2783a8;for(let _0x167666=0x0;_0x167666<_0x172f55[_0x4943cb(0x1ab)];_0x167666++){const _0x51b081=_0x172f55[_0x167666],_0x3ff393=_0x31e67f[_0x4943cb(0x19f)]();for(const _0x86cc23 of _0xef50be[_0x4943cb(0x177)]())_0x31e67f[_0x4943cb(0x1a5)](_0x86cc23[_0x4943cb(0x166)](!0x0),_0x3ff393);for(const _0x15c458 of _0x51b081[_0x4943cb(0x11a)])if(_0x4943cb(0x145)===_0x15c458[_0x4943cb(0x1e3)]){const _0x23603a=_0x15c458;_0x23603a[_0x4943cb(0x12c)]=null,_0x23603a[_0x4943cb(0x15d)]=!0x1,this[_0x4943cb(0x18e)](_0x23603a,_0x3ff393),_0x31e67f[_0x4943cb(0x1da)][_0x4943cb(0x1e1)](_0x15c458),_0x138d76[_0x4943cb(0x193)][_0x4943cb(0x129)](_0x15c458);const _0x556074=_0x4943cb(0x1ed)+_0x20f1e1++,_0x4fc5b9=_0x138d76[_0x4943cb(0x193)][_0x4943cb(0x1f5)](_0x23603a[_0x4943cb(0x19c)],_0x23603a[_0x4943cb(0x19c)][_0x4943cb(0x127)](_0x23603a[_0x4943cb(0x1d7)]));_0x3ff393[_0x4943cb(0x123)][_0x4943cb(0x18f)](_0x556074,_0x4fc5b9);}else{if(_0x4943cb(0x149)===_0x15c458[_0x4943cb(0x1e3)]&&_0x15c458[_0x4943cb(0x19e)][_0x4943cb(0x13a)](_0x4943cb(0x1df))){const _0x3a15ed=_0x15c458,_0x526fba=_0x4943cb(0x1bd)+_0x20f1e1++;this[_0x4943cb(0x18e)](_0x3a15ed,_0x3ff393),_0x3ff393[_0x4943cb(0x123)][_0x4943cb(0x18f)](_0x526fba,_0x3a15ed[_0x4943cb(0x201)]);}}const _0x5a2f64=this[_0x4943cb(0x190)](this[_0x4943cb(0x14c)](this[_0x4943cb(0x1cb)](_0x51b081[_0x4943cb(0x11a)][0x0]),_0x3ff393),this[_0x4943cb(0x14c)](this[_0x4943cb(0x11b)](_0x51b081[_0x4943cb(0x11a)][_0x51b081[_0x4943cb(0x11a)][_0x4943cb(0x1ab)]-0x1]),_0x3ff393));_0x3ff393[_0x4943cb(0x123)][_0x4943cb(0x18f)](we+_0x4943cb(0x175),new _0x2fa77b(_0x5a2f64[_0x4943cb(0x179)],_0x5a2f64[_0x4943cb(0x189)])),_0x23087a[_0x4943cb(0x202)]({..._0x51b081,'context':this[_0x4943cb(0x140)](_0x3ff393,_0x138d76[_0x4943cb(0x168)],{'ellipsisBefore':_0x5a2f64[_0x4943cb(0x1e6)],'ellipsisAfter':_0x5a2f64[_0x4943cb(0x1e7)]}),'content':this[_0x4943cb(0x191)](_0x3ff393,_0x138d76[_0x4943cb(0x168)])});}}),_0x23087a;}[_0x230b3b(0x1b9)](_0x40d38e,_0xe20a2c){const _0x2ce701=_0x230b3b;if(!_0x40d38e[_0x2ce701(0x1ab)])return;const _0x17c1bb=_0x40d38e[0x0][_0x2ce701(0x1cf)]['id'],_0x2420e0=_0xe20a2c[_0x2ce701(0x1a2)][_0x2ce701(0x154)](_0x17c1bb);if(!_0x2420e0)return void console[_0x2ce701(0x184)](_0x2ce701(0x13d)+_0x17c1bb);const _0x1e114d=_0x2420e0[_0x2ce701(0x14a)],_0xa2182c=_0x4793dc(this[_0x2ce701(0x1b4)]),_0x57bf92=_0xa2182c[_0x2ce701(0x193)][_0x2ce701(0x170)][_0x2ce701(0x181)][_0x2ce701(0x1f3)](_0xe20a2c[_0x2ce701(0x200)]),_0x38a7b7=[];for(const _0x15bc01 of _0x40d38e){const _0x46266a=_0x15bc01[_0x2ce701(0x11a)][_0x2ce701(0x1ba)](_0x2f6288=>this[_0x2ce701(0x17f)](_0x2f6288,_0x1e114d,_0xa2182c[_0x2ce701(0x193)][_0x2ce701(0x170)][_0x2ce701(0x1ad)]()[0x0]));if(!_0x46266a||!_0x46266a[_0x2ce701(0x1ab)])continue;const _0x1c35c5=_0x46266a[_0x2ce701(0x17c)](_0x1732c4=>_0x2ce701(0x149)===_0x1732c4[_0x2ce701(0x1e3)]&&_0x1732c4[_0x2ce701(0x19e)][_0x2ce701(0x13a)](_0x2ce701(0x1df))),_0x1482a8={'document':_0xa2182c[_0x2ce701(0x193)][_0x2ce701(0x170)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x57b0e7=_0x1f3c7f(_0x46266a,_0x57bf92,_0x1482a8)[_0x2ce701(0x1a9)];for(const _0x29b225 of _0x57b0e7)if(_0x2ce701(0x145)===_0x29b225[_0x2ce701(0x1e3)]){const _0x402f07=_0x29b225,_0xaacc4c=_0x402f07[_0x2ce701(0x159)];let _0x54d264='';for(const _0x139b62 of _0xaacc4c)_0x139b62&&_0x139b62['is'](_0x2ce701(0x12d))&&(_0x54d264+=_0x139b62[_0x2ce701(0x168)]);_0x38a7b7[_0x2ce701(0x202)]({'start':_0x402f07[_0x2ce701(0x19c)],'end':_0x402f07[_0x2ce701(0x19c)],'type':_0x2ce701(0x145),'groupId':_0x15bc01['id'],'text':_0x54d264});}else{if(_0x2ce701(0x149)===_0x29b225[_0x2ce701(0x1e3)]&&_0x29b225[_0x2ce701(0x19e)][_0x2ce701(0x13a)](_0x2ce701(0x1df))){const _0x40132d=_0x29b225;let _0x2c47df=_0x2ce701(0x18a);if(_0x1c35c5){const _0x12a1db=this[_0x2ce701(0x162)](_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x179)],_0x2ce701(0x1d3),_0xa2182c[_0x2ce701(0x193)][_0x2ce701(0x1a0)]),_0x2059a6=this[_0x2ce701(0x162)](_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x189)],_0x2ce701(0x1fb),_0xa2182c[_0x2ce701(0x193)][_0x2ce701(0x1a0)]);if(_0x12a1db||_0x2059a6){const _0x37cc02=_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x179)][_0x2ce701(0x127)](-_0x12a1db),_0xc8c0f2=_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x189)][_0x2ce701(0x127)](_0x2059a6);_0x38a7b7[_0x2ce701(0x202)]({'start':_0x37cc02,'end':_0xc8c0f2,'groupId':_0x15bc01['id'],'type':_0x2ce701(0x1a4)});}else _0x2c47df=_0x2ce701(0x1ee);}_0x38a7b7[_0x2ce701(0x202)]({'start':_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x179)],'end':_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x189)],'groupId':_0x15bc01['id'],'type':_0x2c47df});}}}this[_0x2ce701(0x1c1)](_0x38a7b7);}[_0x230b3b(0x16d)](){const _0xdecb4c=_0x230b3b,_0x198cc3=_0x4793dc(this[_0xdecb4c(0x1b4)]);_0x198cc3[_0xdecb4c(0x193)][_0xdecb4c(0x13f)](_0x281743=>{const _0x3cdfd3=_0xdecb4c;for(const _0x20eee1 of this[_0x3cdfd3(0x1b6)][_0x3cdfd3(0x1d5)]())_0x198cc3[_0x3cdfd3(0x193)][_0x3cdfd3(0x123)][_0x3cdfd3(0x154)](_0x20eee1)&&_0x281743[_0x3cdfd3(0x12e)](_0x20eee1);}),this[_0xdecb4c(0x1b6)][_0xdecb4c(0x15a)]();}[_0x230b3b(0x1c9)](){const _0x3ccbd0=_0x230b3b;_0x4793dc(this[_0x3ccbd0(0x1b4)])[_0x3ccbd0(0x1d1)](_0x3ccbd0(0x130));}[_0x230b3b(0x136)](){const _0x5e77a3=_0x230b3b;_0x4793dc(this[_0x5e77a3(0x1b4)])[_0x5e77a3(0x1e5)](_0x5e77a3(0x130));}[_0x230b3b(0x17d)](_0x4e2e10){const _0xb2469f=_0x230b3b,_0x1c3dfe=_0x4793dc(this[_0xb2469f(0x1b4)]),_0x44955d=_0x1c3dfe[_0xb2469f(0x193)],_0x58c5e6=_0x4e2e10[_0xb2469f(0x1ba)](_0x2fecc9=>this[_0xb2469f(0x119)](_0x2fecc9))[_0xb2469f(0x1c3)]();_0x44955d[_0xb2469f(0x13f)](_0xf4a286=>{const _0x2b0d47=_0xb2469f;for(const _0x2a460b of _0x58c5e6){const _0x3afe55=_0x1c3dfe[_0x2b0d47(0x193)][_0x2b0d47(0x123)][_0x2b0d47(0x154)](_0x2a460b['id']);_0x3afe55&&(_0x2b0d47(0x145)===_0x2a460b[_0x2b0d47(0x1e3)]?_0x44955d[_0x2b0d47(0x18c)](_0xf4a286[_0x2b0d47(0x1e0)](_0x2a460b[_0x2b0d47(0x163)]||''),_0x3afe55[_0x2b0d47(0x1fe)]()[_0x2b0d47(0x179)]):_0x2b0d47(0x18a)!==_0x2a460b[_0x2b0d47(0x1e3)]&&_0x2b0d47(0x1ee)!==_0x2a460b[_0x2b0d47(0x1e3)]||_0x44955d[_0x2b0d47(0x169)](_0x44955d[_0x2b0d47(0x187)](_0x3afe55[_0x2b0d47(0x1fe)]())),_0xf4a286[_0x2b0d47(0x12e)](_0x2a460b['id']),this[_0x2b0d47(0x1b6)][_0x2b0d47(0x11c)](_0x2a460b['id']));}});}[_0x230b3b(0x135)](_0x8a26b9){const _0x2b0f1d=_0x230b3b,_0x1e53b5=_0x4793dc(this[_0x2b0f1d(0x1b4)]),_0x24b500=this[_0x2b0f1d(0x119)](_0x8a26b9);_0x1e53b5[_0x2b0f1d(0x193)][_0x2b0f1d(0x13f)](_0x5b355e=>{const _0x56a254=_0x2b0f1d;for(const _0x3ae21d of _0x24b500)_0x5b355e[_0x56a254(0x12e)](_0x3ae21d['id']),this[_0x56a254(0x1b6)][_0x56a254(0x11c)](_0x3ae21d['id']);});}[_0x230b3b(0x139)](){const _0x42c452=_0x230b3b;return _0x4793dc(this[_0x42c452(0x1b4)]);}[_0x230b3b(0x1fc)](_0x3d74ee){const _0x2c4392=_0x230b3b,_0x15e6a4=Array[_0x2c4392(0x147)](this[_0x2c4392(0x1b6)][_0x2c4392(0x151)]())[_0x2c4392(0x1c4)](_0x52de76=>_0x52de76[_0x2c4392(0x207)]===_0x3d74ee);if(!_0x15e6a4[_0x2c4392(0x1ab)])return null;const _0x24adf6=0x1===_0x15e6a4[_0x2c4392(0x1ab)]?_0x15e6a4[0x0]:this[_0x2c4392(0x11f)](_0x15e6a4)[0x0],_0x19f5b8=_0x4793dc(this[_0x2c4392(0x1b4)]),_0x4dea50=_0x19f5b8[_0x2c4392(0x193)][_0x2c4392(0x123)][_0x2c4392(0x154)](_0x24adf6['id']);if(!_0x4dea50)return null;const _0x584d3f=_0x4dea50[_0x2c4392(0x1fe)](),_0x4d82e6=_0x19f5b8[_0x2c4392(0x16a)][_0x2c4392(0x16b)][_0x2c4392(0x1ce)]();if(!_0x4d82e6||!_0x584d3f)return null;const _0x16b485=_0x4d82e6[_0x2c4392(0x1f8)](_0x2c4392(0x1bf)+_0x24adf6['id']+'\x22]');return _0x16b485?{'modelRange':_0x584d3f,'domElement':_0x16b485}:null;}[_0x230b3b(0x14f)](_0x43d5de,_0x1e9131){const _0x41065b=_0x230b3b,_0x1013ae=Array[_0x41065b(0x147)](this[_0x41065b(0x1b6)][_0x41065b(0x1d5)]()),_0x23bb50=new Map();for(const _0x4f878d of _0x1013ae){const _0x58daa2=_0x43d5de[_0x41065b(0x193)][_0x41065b(0x123)][_0x41065b(0x154)](_0x4f878d);if(!_0x58daa2)continue;const _0x2bc571=_0x58daa2[_0x41065b(0x1c5)]()[_0x41065b(0x14a)][0x0];_0x23bb50[_0x41065b(0x1fa)](_0x2bc571)||_0x23bb50[_0x41065b(0x18f)](_0x2bc571,[]),_0x23bb50[_0x41065b(0x154)](_0x2bc571)[_0x41065b(0x202)](_0x58daa2);}const _0x262a7e=new Set();for(const _0x5dac95 of _0x43d5de[_0x41065b(0x193)][_0x41065b(0x170)][_0x41065b(0x171)][_0x41065b(0x1b2)]()){let _0x1c2889=-0x1,_0x469dd9=null;if(_0x41065b(0x145)===_0x5dac95[_0x41065b(0x1e3)])_0x469dd9=new _0x2fa77b(_0x5dac95[_0x41065b(0x19c)],_0x5dac95[_0x41065b(0x19c)][_0x41065b(0x127)](_0x5dac95[_0x41065b(0x1ab)])),_0x1c2889=_0x5dac95[_0x41065b(0x19c)][_0x41065b(0x14a)][0x0];else{if(_0x41065b(0x1d2)!==_0x5dac95[_0x41065b(0x1e3)])continue;_0x469dd9=new _0x2fa77b(_0x5dac95[_0x41065b(0x19c)]),_0x1c2889=_0x5dac95[_0x41065b(0x19c)][_0x41065b(0x14a)][0x0];}const _0x1f096f=_0x23bb50[_0x41065b(0x154)](_0x1c2889)||[];if(_0x1f096f[_0x41065b(0x1ab)]){for(const _0x86cfe5 of _0x1f096f)if(_0x469dd9[_0x41065b(0x148)][_0x41065b(0x142)]===_0x86cfe5[_0x41065b(0x1fe)]()[_0x41065b(0x148)][_0x41065b(0x142)]&&(_0x41065b(0x145)!==_0x5dac95[_0x41065b(0x1e3)]||!_0x469dd9[_0x41065b(0x185)](_0x86cfe5[_0x41065b(0x1fe)]()))&&(_0x469dd9[_0x41065b(0x1e9)](_0x86cfe5[_0x41065b(0x1fe)]())||_0x469dd9[_0x41065b(0x179)][_0x41065b(0x15c)](_0x86cfe5[_0x41065b(0x1fe)]()[_0x41065b(0x189)])||_0x469dd9[_0x41065b(0x189)][_0x41065b(0x15c)](_0x86cfe5[_0x41065b(0x1fe)]()[_0x41065b(0x179)]))){const _0x32fb39=this[_0x41065b(0x1b0)](_0x86cfe5[_0x41065b(0x19e)]);Array[_0x41065b(0x147)](this[_0x41065b(0x1b6)][_0x41065b(0x151)]())[_0x41065b(0x1c4)](_0x4d91cb=>_0x4d91cb[_0x41065b(0x207)]===_0x32fb39[_0x41065b(0x207)])[_0x41065b(0x1b5)](_0xe31e53=>_0x262a7e[_0x41065b(0x1c8)](_0xe31e53['id']));}}}if(_0x262a7e[_0x41065b(0x126)]){for(const _0x44f1e9 of _0x262a7e)_0x1e9131[_0x41065b(0x12e)](_0x44f1e9);return!0x0;}return!0x1;}[_0x230b3b(0x131)](_0x4bcc40){const _0x35cd29=_0x230b3b;for(const {name:_0x3615a0,data:_0x42fee0}of _0x4bcc40[_0x35cd29(0x193)][_0x35cd29(0x170)][_0x35cd29(0x171)][_0x35cd29(0x183)]()){if(!_0x3615a0[_0x35cd29(0x13a)](we))continue;const _0x3c8261=_0x42fee0[_0x35cd29(0x1ac)],_0x328b12=_0x42fee0[_0x35cd29(0x201)],_0x308c58=_0x3c8261&&_0x35cd29(0x15b)===_0x3c8261[_0x35cd29(0x148)][_0x35cd29(0x142)],_0x4be4f2=_0x328b12&&_0x35cd29(0x15b)===_0x328b12[_0x35cd29(0x148)][_0x35cd29(0x142)];if(_0x308c58&&_0x4be4f2)continue;const _0x454d76=this[_0x35cd29(0x1b0)](_0x3615a0);this[_0x35cd29(0x1b6)][_0x35cd29(0x154)](_0x3615a0)&&(_0x4be4f2||!_0x328b12?this[_0x35cd29(0x204)][_0x35cd29(0x143)](_0x35cd29(0x1a3),{'markerId':_0x3615a0,'changeId':_0x454d76[_0x35cd29(0x207)]}):_0x308c58&&_0x328b12&&this[_0x35cd29(0x204)][_0x35cd29(0x143)](_0x35cd29(0x155),{'markerId':_0x3615a0,'changeId':_0x454d76[_0x35cd29(0x207)]}));}}[_0x230b3b(0x1b0)](_0x4f95f2){const _0x4f642c=_0x230b3b,_0x5b0045=_0x4f95f2[_0x4f642c(0x14e)](':'),_0x1e8e99=(_0x5b0045[0x1]||'')[_0x4f642c(0x14e)]('_');return{'prefix':_0x5b0045[0x0],'groupId':_0x1e8e99[0x0],'suffix':_0x1e8e99[0x1]};}[_0x230b3b(0x17f)](_0x6c7574,_0x2488d2,_0x18dd02){const _0x4b55d0=_0x230b3b;if(_0x4b55d0(0x145)===_0x6c7574[_0x4b55d0(0x1e3)]){const _0x4258fe=_0x6c7574;return new _0x1900c7(this[_0x4b55d0(0x1d0)](_0x2488d2[_0x4b55d0(0x1ec)](_0x4258fe[_0x4b55d0(0x19c)][_0x4b55d0(0x1f6)]),_0x18dd02),_0x4258fe[_0x4b55d0(0x159)],_0x4258fe[_0x4b55d0(0x12c)]);}if(_0x4b55d0(0x149)===_0x6c7574[_0x4b55d0(0x1e3)]&&_0x6c7574[_0x4b55d0(0x19e)][_0x4b55d0(0x13a)](_0x4b55d0(0x1df))){const _0x15dd50=_0x6c7574;return new _0x44ec3e(_0x15dd50[_0x4b55d0(0x19e)],_0x15dd50[_0x4b55d0(0x1ac)],this[_0x4b55d0(0x1c0)](_0x15dd50[_0x4b55d0(0x201)],_0x2488d2[_0x4b55d0(0x1ec)](_0x15dd50[_0x4b55d0(0x201)][_0x4b55d0(0x179)][_0x4b55d0(0x1f6)]),_0x2488d2[_0x4b55d0(0x1ec)](_0x15dd50[_0x4b55d0(0x201)][_0x4b55d0(0x189)][_0x4b55d0(0x1f6)]),_0x18dd02),_0x15dd50[_0x4b55d0(0x1b6)],_0x15dd50[_0x4b55d0(0x17b)],_0x15dd50[_0x4b55d0(0x12c)]);}return _0x6c7574;}[_0x230b3b(0x132)](_0x905922){const _0x1723b7=_0x230b3b;if(!_0x905922[_0x1723b7(0x1ab)])return[];const _0xcaefab=[];let _0x2ec18f=0x0,_0x3e7d21=0x0,_0x5b9f1c=[];for(let _0x58785a=0x0;_0x58785a<=_0x905922[_0x1723b7(0x1ab)];_0x58785a++){const _0x5870b5=_0x905922[_0x58785a],_0x439689=_0x905922[_0x58785a-0x1];!_0x5870b5||_0x439689&&!this[_0x1723b7(0x11b)](_0x439689)[_0x1723b7(0x15c)](this[_0x1723b7(0x1cb)](_0x5870b5))?(_0xcaefab[_0x1723b7(0x202)]({'operations':_0x5b9f1c,'operationsIsolated':_0x5b9f1c[_0x1723b7(0x1ba)](_0x40756f=>this[_0x1723b7(0x19a)](_0x40756f[_0x1723b7(0x1b3)](),-_0x3e7d21)),'groupOffset':_0x2ec18f}),_0x5b9f1c=_0x5870b5?[_0x5870b5]:[],_0x3e7d21+=_0x2ec18f,_0x2ec18f=0x0):_0x5b9f1c[_0x1723b7(0x202)](_0x5870b5),_0x5870b5&&_0x1723b7(0x145)===_0x5870b5[_0x1723b7(0x1e3)]&&(_0x2ec18f+=_0x5870b5[_0x1723b7(0x1d7)]);}return _0xcaefab;}[_0x230b3b(0x162)](_0x5f0e22,_0x49f6ca,_0x12620b,_0x5cb618=0x1){const _0x57105e=_0x230b3b,_0x2d3540=new _0xc24a46({'startPosition':_0x5f0e22,'direction':_0x49f6ca});let _0x1281d6=0x0;for(let _0x2db3ff=0x0;_0x2db3ff<_0x5cb618;_0x2db3ff++){let _0x3fba89=0x0,_0x218a69=!0x1,_0x31a675=_0x57105e(0x1fb)===_0x49f6ca?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5d4a44}of _0x2d3540)if(_0x5d4a44['is'](_0x57105e(0x160))){const _0x4b8a49=_0x31a675[_0x57105e(0x188)](_0x5d4a44[_0x57105e(0x168)]);if(_0x4b8a49&&_0x4b8a49[_0x57105e(0x1ab)]){if(_0x3fba89+=_0x57105e(0x1fb)===_0x49f6ca?_0x4b8a49[_0x57105e(0x1a8)]+_0x4b8a49[0x0][_0x57105e(0x1ab)]:_0x5d4a44[_0x57105e(0x168)][_0x57105e(0x1ab)]-_0x4b8a49[_0x57105e(0x1a8)],_0x4b8a49[0x0][_0x57105e(0x1ab)]!==_0x5d4a44[_0x57105e(0x168)][_0x57105e(0x1ab)])break;_0x218a69=!0x0,_0x31a675=_0x57105e(0x1fb)===_0x49f6ca?/^\w+/:/\w+$/;}else{if(_0x218a69)break;_0x3fba89+=_0x5d4a44[_0x57105e(0x17a)];}}else{if(_0x5d4a44['is'](_0x57105e(0x1bb))){_0x12620b[_0x57105e(0x1f1)](_0x5d4a44)&&!_0x218a69&&(_0x3fba89+=0x1);break;}}_0x1281d6+=_0x3fba89,_0x2d3540[_0x57105e(0x206)](_0x5f0e22[_0x57105e(0x127)](_0x57105e(0x1fb)===_0x49f6ca?_0x1281d6:-_0x1281d6));}return _0x1281d6;}[_0x230b3b(0x190)](_0x16527a,_0x3b0856){const _0x46e42b=_0x230b3b,_0x525500=_0x4793dc(this[_0x46e42b(0x1b4)])[_0x46e42b(0x193)][_0x46e42b(0x1a0)],_0x51fe24=this[_0x46e42b(0x162)](_0x16527a,_0x46e42b(0x1d3),_0x525500,0x6),_0x41a343=this[_0x46e42b(0x162)](_0x3b0856,_0x46e42b(0x1fb),_0x525500,0x6),_0x1e5783=_0x16527a[_0x46e42b(0x127)](-_0x51fe24),_0x3204ec=_0x3b0856[_0x46e42b(0x127)](_0x41a343);return{'start':_0x1e5783,'end':_0x3204ec,'hasContentBefore':!_0x1e5783[_0x46e42b(0x1db)],'hasContentAfter':!_0x3204ec[_0x46e42b(0x16e)]};}[_0x230b3b(0x1c1)](_0x45b0cc){const _0xfe7e20=_0x230b3b,_0x211c1e=this[_0xfe7e20(0x1b4)][_0xfe7e20(0x1dc)][_0xfe7e20(0x154)](_0xfe7e20(0x203)),_0x4db690=new Set();_0x4793dc(this[_0xfe7e20(0x1b4)])[_0xfe7e20(0x193)][_0xfe7e20(0x13f)](_0x541523=>{const _0x4b55c9=_0xfe7e20;for(const _0x36db43 of _0x45b0cc){const _0x24f8ca=''+we+_0x36db43[_0x4b55c9(0x1e3)]+':'+_0x36db43[_0x4b55c9(0x207)]+'_'+_0x211c1e[_0x4b55c9(0x11d)](_0x4db690);this[_0x4b55c9(0x1b6)][_0x4b55c9(0x18f)](_0x24f8ca,{'id':_0x24f8ca,'groupId':_0x36db43[_0x4b55c9(0x207)],'type':_0x36db43[_0x4b55c9(0x1e3)],'text':_0x36db43[_0x4b55c9(0x163)]}),_0x541523[_0x4b55c9(0x12a)](_0x24f8ca,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x541523[_0x4b55c9(0x1f5)](_0x36db43[_0x4b55c9(0x179)],_0x36db43[_0x4b55c9(0x189)])});}});}[_0x230b3b(0x140)](_0x2c51da,_0x839eeb,_0x2fe4d7){let _0x10d816='';return()=>{const _0x2cd76f=_0x51b5;if(!_0x10d816){const _0x5e86e7=_0x839eeb[_0x2cd76f(0x1d8)](_0x2c51da,{'showSuggestionHighlights':!0x0}),_0x5f0a53=_0x5e86e7[_0x2cd76f(0x15e)](0x0);if(!_0x5f0a53)return'';let _0x1eceab=!0x1;const _0x1fec20=[];for(const _0x502da5 of _0x5f0a53[_0x2cd76f(0x177)]())_0x502da5['is'](_0x2cd76f(0x1bb),_0x2cd76f(0x1b1))&&_0x502da5[_0x2cd76f(0x182)](_0x2cd76f(0x1d9))&&(_0x1eceab=!0x1),_0x1eceab&&_0x1fec20[_0x2cd76f(0x202)](_0x502da5),_0x502da5['is'](_0x2cd76f(0x1bb),_0x2cd76f(0x1b1))&&_0x502da5[_0x2cd76f(0x182)](_0x2cd76f(0x156))&&(_0x1eceab=!0x0);_0x5f0a53[_0x2cd76f(0x194)](0x0,_0x5f0a53[_0x2cd76f(0x178)]),_0x2fe4d7?.[_0x2cd76f(0x172)]&&_0x5f0a53[_0x2cd76f(0x180)]('…'),_0x5f0a53[_0x2cd76f(0x180)](_0x1fec20),_0x2fe4d7?.[_0x2cd76f(0x16f)]&&_0x5f0a53[_0x2cd76f(0x180)]('…');const _0x18ce98=_0x839eeb[_0x2cd76f(0x12b)][_0x2cd76f(0x1b7)][_0x2cd76f(0x1fd)](_0x5e86e7),_0x1f0827=_0x839eeb[_0x2cd76f(0x12b)][_0x2cd76f(0x205)][_0x2cd76f(0x192)](_0x18ce98);_0x10d816=_0x1f0827;}return _0x10d816;};}[_0x230b3b(0x191)](_0x20dca2,_0x365f18){const _0x5900ea=_0x230b3b;let _0x314c01='';return()=>(_0x314c01||(_0x314c01=_0x365f18[_0x5900ea(0x118)](_0x20dca2,{'showSuggestionHighlights':!0x0})),_0x314c01);}[_0x230b3b(0x1f9)](_0x13006b,_0x174fd8,_0x448b50){let _0xf81963='';return()=>{const _0x5009de=_0x51b5;if(!_0xf81963){const _0x3dd325=_0x448b50[_0x5009de(0x1d8)](new _0x277d2a(_0x13006b)),_0x25afdd=_0x448b50[_0x5009de(0x12b)][_0x5009de(0x1b7)][_0x5009de(0x1fd)](_0x3dd325)[_0x5009de(0x1f8)](_0x5009de(0x195)+_0x174fd8+'\x22]');_0xf81963=_0x25afdd?.[_0x5009de(0x13e)]||'';}return _0xf81963;};}[_0x230b3b(0x120)](_0x13a49,_0x13b17b=0x5){const _0x3aae31=_0x230b3b;let _0x545718=_0x13a49,_0x26eb9e=null;for(let _0x4cb2e8=0x0;_0x4cb2e8<_0x13b17b&&_0x545718;_0x4cb2e8++){if(!_0x545718[_0x3aae31(0x152)]){_0x545718=_0x545718[_0x3aae31(0x1d4)];continue;}if(!(''+_0x545718[_0x3aae31(0x152)])[_0x3aae31(0x14b)](_0x3aae31(0x13b))){_0x545718=_0x545718[_0x3aae31(0x1d4)];continue;}if(!_0x545718[_0x3aae31(0x146)](_0x3aae31(0x1b8)))break;_0x26eb9e=_0x545718;break;}return _0x26eb9e;}[_0x230b3b(0x119)](_0x3d20a2){const _0x412b33=_0x230b3b;return Array[_0x412b33(0x147)](this[_0x412b33(0x1b6)][_0x412b33(0x151)]())[_0x412b33(0x1c4)](_0x12615f=>_0x12615f[_0x412b33(0x207)]===_0x3d20a2);}[_0x230b3b(0x1cb)](_0x13a459){const _0x5ca9dd=_0x230b3b;return _0x5ca9dd(0x145)===_0x13a459[_0x5ca9dd(0x1e3)]?_0x13a459[_0x5ca9dd(0x19c)]:_0x13a459[_0x5ca9dd(0x201)][_0x5ca9dd(0x179)];}[_0x230b3b(0x11b)](_0x4d71e2,_0x2360a9=!0x1){const _0x247e8b=_0x230b3b;return _0x247e8b(0x145)===_0x4d71e2[_0x247e8b(0x1e3)]?_0x2360a9?_0x4d71e2[_0x247e8b(0x19c)]:_0x4d71e2[_0x247e8b(0x19c)][_0x247e8b(0x127)](_0x4d71e2[_0x247e8b(0x1d7)]):_0x4d71e2[_0x247e8b(0x201)][_0x247e8b(0x189)];}[_0x230b3b(0x19a)](_0x7c962f,_0x2706c4){const _0x10f465=_0x230b3b;return _0x10f465(0x145)===_0x7c962f[_0x10f465(0x1e3)]?_0x7c962f[_0x10f465(0x19c)]=_0x7c962f[_0x10f465(0x19c)][_0x10f465(0x127)](_0x2706c4):_0x10f465(0x149)===_0x7c962f[_0x10f465(0x1e3)]&&_0x7c962f[_0x10f465(0x201)]&&(_0x7c962f[_0x10f465(0x201)]=new _0x2fa77b(_0x7c962f[_0x10f465(0x201)][_0x10f465(0x179)][_0x10f465(0x127)](_0x2706c4),_0x7c962f[_0x10f465(0x201)][_0x10f465(0x189)][_0x10f465(0x127)](_0x2706c4))),_0x7c962f;}[_0x230b3b(0x18e)](_0x9f0670,_0x2c8f4d){const _0x4c6304=_0x230b3b;_0x4c6304(0x145)===_0x9f0670[_0x4c6304(0x1e3)]?_0x9f0670[_0x4c6304(0x19c)]=this[_0x4c6304(0x14c)](_0x9f0670[_0x4c6304(0x19c)],_0x2c8f4d):_0x4c6304(0x149)===_0x9f0670[_0x4c6304(0x1e3)]&&_0x9f0670[_0x4c6304(0x201)]&&(_0x9f0670[_0x4c6304(0x201)]=this[_0x4c6304(0x1eb)](_0x9f0670[_0x4c6304(0x201)],_0x2c8f4d));}[_0x230b3b(0x14c)](_0x202861,_0x195ee8){const _0x44ffb4=_0x230b3b;return new _0x1256cf(_0x195ee8,_0x202861[_0x44ffb4(0x14a)]);}[_0x230b3b(0x1eb)](_0x26aaa9,_0x3e8122){const _0x55bfad=_0x230b3b;return new _0x2fa77b(this[_0x55bfad(0x14c)](_0x26aaa9[_0x55bfad(0x179)],_0x3e8122),this[_0x55bfad(0x14c)](_0x26aaa9[_0x55bfad(0x189)],_0x3e8122));}[_0x230b3b(0x1d0)](_0x433dfd,_0x4f14ba){return new _0x1256cf(_0x4f14ba,[..._0x433dfd]);}[_0x230b3b(0x1c0)](_0x31b90b,_0x5d8b33,_0x2766d3,_0x3a02c6){const _0x1f21f0=_0x230b3b;return new _0x2fa77b(this[_0x1f21f0(0x1d0)](_0x5d8b33,_0x3a02c6),this[_0x1f21f0(0x1d0)](_0x2766d3,_0x3a02c6));}[_0x230b3b(0x11f)](_0x252da4){const _0x431a98=_0x230b3b,_0x1164e8=_0x11d2a2=>{const _0x30b451=_0x51b5;switch(_0x11d2a2){case _0x30b451(0x145):return 0x1;case _0x30b451(0x1a4):return 0x2;case _0x30b451(0x1ee):return 0x3;case _0x30b451(0x18a):return 0x4;}};return _0x252da4[_0x431a98(0x18d)]((_0x3af14c,_0x1d86ad)=>_0x1164e8(_0x3af14c[_0x431a98(0x1e3)])-_0x1164e8(_0x1d86ad[_0x431a98(0x1e3)]));}[_0x230b3b(0x173)](_0xd2b3bb,_0x1613ab){const _0x302944=_0x230b3b,_0x1f5b27=_0xd2b3bb[_0x302944(0x15e)](0x0),_0x18fd11=_0x1613ab[_0x302944(0x15e)](0x0);return!(!_0x1f5b27||!_0x18fd11)&&((!_0x1f5b27['is'](_0x302944(0x1bb))||!_0x18fd11['is'](_0x302944(0x1bb))||_0x1f5b27[_0x302944(0x19e)]===_0x18fd11[_0x302944(0x19e)])&&!(_0x1f5b27['is'](_0x302944(0x1bb))&&!_0x18fd11['is'](_0x302944(0x1bb))||!_0x1f5b27['is'](_0x302944(0x1bb))&&_0x18fd11['is'](_0x302944(0x1bb))));}}
23
+ const _0x9ddc56=_0x54ad;function _0x54ad(_0x4dca3e,_0x1c6ca7){const _0x141443=_0x1414();return _0x54ad=function(_0x54ad26,_0x330112){_0x54ad26=_0x54ad26-0xd3;let _0x1e40ee=_0x141443[_0x54ad26];return _0x1e40ee;},_0x54ad(_0x4dca3e,_0x1c6ca7);}(function(_0x2e7245,_0x39ca54){const _0x271bf9=_0x54ad,_0x8eafe5=_0x2e7245();while(!![]){try{const _0x20f770=parseInt(_0x271bf9(0x137))/0x1*(-parseInt(_0x271bf9(0x1c0))/0x2)+parseInt(_0x271bf9(0x101))/0x3+-parseInt(_0x271bf9(0x19e))/0x4*(-parseInt(_0x271bf9(0x1a1))/0x5)+parseInt(_0x271bf9(0x1b2))/0x6+parseInt(_0x271bf9(0x166))/0x7+parseInt(_0x271bf9(0x1b8))/0x8+-parseInt(_0x271bf9(0x190))/0x9*(-parseInt(_0x271bf9(0xe5))/0xa);if(_0x20f770===_0x39ca54)break;else _0x8eafe5['push'](_0x8eafe5['shift']());}catch(_0x2d57bf){_0x8eafe5['push'](_0x8eafe5['shift']());}}}(_0x1414,0x5110f));function _0x1414(){const _0x418291=['data','delete','values','baseVersion','_validateMarkers','nodes','enableReadOnlyMode','root','stringify','rejectChange','includes','AIReviewModeEditing','ck-ai_review-mode-marker_context-start','elements','getPath','map','markers','_clone','target','emitter','ck-ai_review-mode-marker_underline','parse','operationsA','_insertMarkers','querySelector','isAtStart','getChanges','version','_sortMarkers','reviewmode-','911106itGxWP','append','_domEmitter','remove-text','$markedRemove','_hasSameTopLevelElement','getRoots','insert','childCount','split','disableReadOnlyMode','getStart','filter','size','30964StLJpx','operationsIsolated','createText','95xSobPg','createDocumentFragment','ck-ai_review-mode-marker_context-end','hasContentBefore','end','remove','_findMarkerElement','markerToHighlight','createPositionAt','pop','dataDowncast','isPremiumPlugin','attributeToAttribute','_getMarkersDataForGroup','warn','_groupAdjacentOperations','ellipsisAfter','127020wDWgEq','fire','newRange','keys','_createGetContentUsingDataIdFn','ck-ai_review-mode-marker_context-','944200KcLVBL','index','_findAdjacentContextDistance','view','jumpTo','plugins','_haveOnlyInlineContent','_markers','1106044LeQJSU','processor','getEditor','text','ai-review-mode','addOperation','_parseMarkerName','removeMarker','model:$text','name','toView','No\x20element\x20found\x20for\x20ID:\x20','ck-ai_review-mode-marker_add','hasContentAfter','htmlProcessor','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','offsetSize','_createGetContentFn','applyOperation','_haveSingleTopLevelElement','suggestion-context','rootName','_setAttribute','span','createRawElement','push','insertContent','model','30RONRxx','AIEditing','toData','suggestion:deletion:id:authorId:','_changePosition','editing','downcast','$graveyard','forEach','createSelection','changeMarkerRestored','isOfficialPlugin','_changeOperationOwnerDocument','getRange','marker','domConverter','change','closest','hasAttribute','isInline','markerToElement','$textProxy','affectsData','forward','markChangePositionInEditorContent','_shiftOperation','DocumentCompare','[data-id=\x22','126846Wugxaw','history','batch','startsWith','_createGetContextFn','has','click','flat','every','getAttribute','containsRange','from','ck-ai_review-mode-marker_hide','_eventEmitter','createPositionAfter','listenTo','_handleMarkerChanges','className','_upsertDataId','htmlWriter','[data-marker-id=\x22','_getOperationEnd','ck-ai_review-mode-marker_','switchToReadOnly','_getOperationStart','parent','documentFragment','clearAllMarkers','conversion','changeMarkerHovered','set','editingDowncast','getChildren','getChangedMarkers','_appendChild','schema','getChild','isIntersecting','registerPostFixer','exec','context','differ','getOperations','document','ck-ai_review-mode-marker_strikethrough','get','element','_changePositionOwnerDocument','getHtml','getMarkerElementForChange','getDiff','backward','type','groupId','1vnXGIe','innerHTML','isAtEnd','containerElement','concat','for','offset','requires','createRange','outerHTML','getRoot','applyChange','_getChangeContext','hasClass','_removeChildren','_nextDataId','length','isTouching','changeMarkerBlurred','createUIElement','mouseover','addMarker','afterInit','toDomElement','remove-context','clear','viewToDom','sort','relatedTarget','getDocumentData','data-marker-id','remove-only','parentElement','oldRange','markerName','isOpening','changeMarkerClick','ellipsisBefore','pluginName','suggestion:insertion:id:authorId:','isDocumentOperation','_changeRange','path','howMany','diffContent','_removeAttribute','switchToEdit','1769677oQnbuU','getDomRoot','_changeRangeOwnerDocument','deleteContent','$documentFragment','add','clone','start','changeMarkerRemoved','getShiftedBy','_translateOperationToEditorContent','position'];_0x1414=function(){return _0x418291;};return _0x1414();}import{InsertOperation as _0x232256,MarkerOperation as _0x1f36b5,ModelDocumentFragment as _0x295fd2,ModelPosition as _0xae77cd,ModelRange as _0x5cdd59,ModelTreeWalker as _0x24eca4,transformOperationSets as _0xc342d2}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x1868c3,EmitterMixin as _0x4f70fd}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x5eb5ea}from'ckeditor5/src/core.js';import{DocumentCompare as _0x41b878,DATA_ID_MODEL_ATTRIBUTE as _0x544b8f,DATA_ID_VIEW_ATTRIBUTE as _0x159cfe}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2184e2}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x9db21b}from'../aicore/aiediting.js';import{debounce as _0x501643}from'es-toolkit/compat';const le=_0x9ddc56(0x18f);export class AIReviewModeEditing extends _0x5eb5ea{static get[_0x9ddc56(0x15d)](){const _0x586f28=_0x9ddc56;return _0x586f28(0x17d);}static get[_0x9ddc56(0x13e)](){return[_0x41b878,_0x9db21b];}static get[_0x9ddc56(0xf0)](){return!0x0;}static get[_0x9ddc56(0x1ac)](){return!0x0;}[_0x9ddc56(0x1bf)]=new Map();[_0x9ddc56(0x192)];[_0x9ddc56(0x10e)];constructor(_0x53f2de){const _0x23d55c=_0x9ddc56;super(_0x53f2de),this[_0x23d55c(0x192)]=new(_0x1868c3())(),this[_0x23d55c(0x10e)]=new(_0x4f70fd())();}get[_0x9ddc56(0x185)](){const _0x310abf=_0x9ddc56;return this[_0x310abf(0x10e)];}[_0x9ddc56(0x14d)](){const _0x37ae6e=_0x9ddc56,_0xe6729e=_0x2184e2(this[_0x37ae6e(0x129)]);_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0xf9)]({'model':le+_0x37ae6e(0x197),'view':(_0x545ca8,{writer:_0x6480d4})=>{const _0x27f9b6=_0x37ae6e,_0x2458c2=this[_0x27f9b6(0x1bf)][_0x27f9b6(0x12e)](_0x545ca8[_0x27f9b6(0x159)]),_0x2de5b2={'class':_0x27f9b6(0xd5),'data-marker-id':_0x545ca8[_0x27f9b6(0x159)]};return _0x6480d4[_0x27f9b6(0x14a)](_0x27f9b6(0xe0),_0x2de5b2,function(_0x22eb91){const _0x11bdc0=_0x27f9b6,_0x2fc7fc=this[_0x11bdc0(0x14e)](_0x22eb91);return _0x2fc7fc[_0x11bdc0(0x138)]=_0x2458c2?.[_0x11bdc0(0x1c3)]||'',_0x2fc7fc;});}}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0x1a8)]({'model':le+_0x37ae6e(0x156),'view':_0xad688c=>({'classes':_0x37ae6e(0x12d),'attributes':{'data-marker-id':_0xad688c[_0x37ae6e(0x159)]}})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0x1a8)]({'model':le+_0x37ae6e(0x14f),'view':_0x45a2db=>({'classes':_0x37ae6e(0x186),'attributes':{'data-marker-id':_0x45a2db[_0x37ae6e(0x159)]}})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0x1a8)]({'model':le+_0x37ae6e(0x193),'view':_0x154750=>({'classes':_0x37ae6e(0x10d),'attributes':{'data-marker-id':_0x154750[_0x37ae6e(0x159)]}})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x1ab))[_0x37ae6e(0xf9)]({'model':le+_0x37ae6e(0xdd),'view':(_0x12f9bd,{writer:_0x13ad7b})=>_0x13ad7b[_0x37ae6e(0xe1)](_0x37ae6e(0xe0),{'class':_0x37ae6e(0x1b7)+(_0x12f9bd[_0x37ae6e(0x15a)]?_0x37ae6e(0x16d):_0x37ae6e(0x1a5))})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0xeb))[_0x37ae6e(0x1ad)]({'model':_0x544b8f,'view':_0x159cfe}),this[_0x37ae6e(0x192)][_0x37ae6e(0x110)](document,_0x37ae6e(0x107),(_0x39b724,_0x5a69ee)=>{const _0x4abf65=_0x37ae6e,_0x1d3e64=_0x5a69ee[_0x4abf65(0x184)],_0x36cdbb=this[_0x4abf65(0x1a7)](_0x1d3e64);if(!_0x36cdbb)return;const _0x285963=_0x36cdbb[_0x4abf65(0x10a)](_0x4abf65(0x155)),_0x11c1da=_0x285963[_0x4abf65(0x199)](':')[_0x4abf65(0x1aa)]()?.[_0x4abf65(0x199)]('_')[0x0];this[_0x4abf65(0x10e)][_0x4abf65(0x1b3)](_0x4abf65(0x15b),{'markerId':_0x285963,'changeId':_0x11c1da,'markerElement':_0x36cdbb,'domEvent':_0x5a69ee});}),this[_0x37ae6e(0x192)][_0x37ae6e(0x110)](document,_0x37ae6e(0x14b),(_0x4c3576,_0x2bae28)=>{const _0x45518f=_0x37ae6e,_0x2c3bf3=_0x2bae28[_0x45518f(0x184)],_0x507804=_0x2bae28[_0x45518f(0x153)];let _0x59605a=this[_0x45518f(0x1a7)](_0x2c3bf3);if(!_0x59605a&&_0x507804&&(_0x59605a=this[_0x45518f(0x1a7)](_0x507804)),!_0x59605a)return;const _0x1f0358=_0x59605a[_0x45518f(0x10a)](_0x45518f(0x155)),_0x18b699=_0x1f0358[_0x45518f(0x199)](':')[_0x45518f(0x1aa)]()?.[_0x45518f(0x199)]('_')[0x0];this[_0x45518f(0x10e)][_0x45518f(0x1b3)](_0x45518f(0x11e),{'changeId':_0x18b699,'markerElement':_0x59605a,'domEvent':_0x2bae28});}),this[_0x37ae6e(0x192)][_0x37ae6e(0x110)](document,_0x37ae6e(0x14b),_0x501643((_0x328b6a,_0x527f0b)=>{const _0x4038c1=_0x37ae6e,_0x407076=_0x527f0b[_0x4038c1(0x184)];if(this[_0x4038c1(0x1a7)](_0x407076))return;_0x407076[_0x4038c1(0xf6)](_0x4038c1(0xd8))||this[_0x4038c1(0x10e)][_0x4038c1(0x1b3)](_0x4038c1(0x149));},0xc8)),_0xe6729e[_0x37ae6e(0xe4)][_0x37ae6e(0x12c)][_0x37ae6e(0x127)](_0x305e6c=>this[_0x37ae6e(0x176)](_0xe6729e,_0x305e6c)),_0xe6729e[_0x37ae6e(0xe4)][_0x37ae6e(0x12c)]['on'](_0x37ae6e(0xf5),()=>this[_0x37ae6e(0x111)](_0xe6729e));}[_0x9ddc56(0x154)](){const _0xdc3503=_0x9ddc56,_0x521366=this[_0xdc3503(0x129)][_0xdc3503(0x1bd)][_0xdc3503(0x12e)](_0xdc3503(0xe6)),_0x273a4d=_0x2184e2(this[_0xdc3503(0x129)]),_0x59361e=_0x273a4d[_0xdc3503(0xe4)],_0x348bdf=new _0x295fd2();for(const _0x19be45 of _0x59361e[_0xdc3503(0x12c)][_0xdc3503(0x141)]()[_0xdc3503(0x121)]()){const _0x2090af=_0x19be45[_0xdc3503(0x183)](!0x0);_0x348bdf[_0xdc3503(0x123)](_0x2090af);}for(const _0x1a93c0 of _0x59361e[_0xdc3503(0x182)])_0x348bdf[_0xdc3503(0x182)][_0xdc3503(0x11f)](_0x1a93c0[_0xdc3503(0x1c9)],this[_0xdc3503(0x168)](_0x1a93c0[_0xdc3503(0xf2)]()[_0xdc3503(0x16c)](),_0x348bdf));const _0x26990c=new _0x24eca4({'ignoreElementEnd':!0x0,'startPosition':_0x59361e[_0xdc3503(0x1a9)](_0x348bdf,0x0)}),_0x3bc305=new Set(),_0x3e2106=new Map();for(const {item:_0x4936ea}of _0x26990c){if(!_0x4936ea['is'](_0xdc3503(0xfa)))continue;const _0x209c2b=_0x4936ea[_0xdc3503(0x11a)];if(_0x209c2b&&_0x209c2b['is'](_0xdc3503(0x12f))){const _0x4fbdce=this[_0xdc3503(0x113)](_0x209c2b,()=>_0x521366[_0xdc3503(0x146)](_0x3bc305));_0x3bc305[_0xdc3503(0x16b)](_0x4fbdce);for(const _0x1e8fd9 of _0x209c2b[_0xdc3503(0x121)]())_0x1e8fd9['is'](_0xdc3503(0x12f))&&_0x3bc305[_0xdc3503(0x16b)](this[_0xdc3503(0x113)](_0x1e8fd9,()=>_0x521366[_0xdc3503(0x146)](_0x3bc305)));let _0x45e42f=_0x209c2b;for(;_0x45e42f[_0xdc3503(0x11a)]&&!_0x45e42f[_0xdc3503(0x11a)]['is'](_0xdc3503(0x11b));)_0x45e42f=_0x45e42f[_0xdc3503(0x11a)],_0x45e42f[_0xdc3503(0xf7)](_0x544b8f)&&_0x45e42f[_0xdc3503(0x164)](_0x544b8f);_0x3e2106[_0xdc3503(0x11f)](_0x4fbdce,{'path':_0x209c2b[_0xdc3503(0x180)](),'getContent':this[_0xdc3503(0x1b6)](_0x45e42f[_0xdc3503(0x183)](!0x0),_0x4fbdce,_0x273a4d[_0xdc3503(0x172)])}),_0x26990c[_0xdc3503(0x1bc)](_0x59361e[_0xdc3503(0x10f)](_0x209c2b));}}return{'content':_0x273a4d[_0xdc3503(0x172)][_0xdc3503(0x1c1)][_0xdc3503(0xe7)](_0x273a4d[_0xdc3503(0x172)][_0xdc3503(0xd3)](_0x348bdf)),'version':_0x273a4d[_0xdc3503(0xe4)][_0xdc3503(0x12c)][_0xdc3503(0x18d)],'elements':_0x3e2106};}[_0x9ddc56(0x163)](_0x20c5cf,_0x341d4f){const _0x2f9fcb=_0x9ddc56,_0x2e3c8d=[],_0x289be0=_0x2184e2(this[_0x2f9fcb(0x129)]),_0x3e391c=_0x289be0[_0x2f9fcb(0x172)][_0x2f9fcb(0x187)](_0x341d4f,_0x2f9fcb(0x16a)),_0x3b7043=_0x289be0[_0x2f9fcb(0x172)][_0x2f9fcb(0x187)](_0x20c5cf,_0x2f9fcb(0x16a)),_0x1a9c72=_0x289be0[_0x2f9fcb(0xe4)][_0x2f9fcb(0x1a9)](_0x3b7043,0x0);if(this[_0x2f9fcb(0xdc)](_0x3e391c)){if(!this[_0x2f9fcb(0x195)](_0x3b7043,_0x3e391c))return _0x2e3c8d;}else{const _0x423185=_0x289be0[_0x2f9fcb(0xe4)][_0x2f9fcb(0x124)];if(!this[_0x2f9fcb(0x1be)](_0x3b7043,_0x423185)||!this[_0x2f9fcb(0x1be)](_0x3e391c,_0x423185))return _0x2e3c8d;}const _0x1789b9=this[_0x2f9fcb(0x129)][_0x2f9fcb(0x1bd)][_0x2f9fcb(0x12e)](_0x2f9fcb(0xff))[_0x2f9fcb(0x133)](_0x20c5cf,_0x341d4f,{'anchor':_0x1a9c72,'markDeletions':!0x0})[_0x2f9fcb(0x12b)]()[_0x2f9fcb(0x19c)](_0x21f84b=>_0x2f9fcb(0x197)===_0x21f84b[_0x2f9fcb(0x135)]||_0x2f9fcb(0xf3)===_0x21f84b[_0x2f9fcb(0x135)]&&_0x21f84b[_0x2f9fcb(0x1c9)][_0x2f9fcb(0x104)](_0x2f9fcb(0x194))),_0x530136=this[_0x2f9fcb(0x1b0)](_0x1789b9);let _0x47bdda=0x0;return _0x289be0[_0x2f9fcb(0xe4)][_0x2f9fcb(0xf5)](_0x320d97=>{const _0x516246=_0x2f9fcb;for(let _0x2f2eb3=0x0;_0x2f2eb3<_0x530136[_0x516246(0x147)];_0x2f2eb3++){const _0x3a4bb2=_0x530136[_0x2f2eb3],_0x28a975=_0x320d97[_0x516246(0x1a2)]();for(const _0xe68d4 of _0x3b7043[_0x516246(0x121)]())_0x320d97[_0x516246(0x191)](_0xe68d4[_0x516246(0x183)](!0x0),_0x28a975);for(const _0x1ada28 of _0x3a4bb2[_0x516246(0x19f)])if(_0x516246(0x197)===_0x1ada28[_0x516246(0x135)]){const _0x3081cf=_0x1ada28;_0x3081cf[_0x516246(0x175)]=null,_0x3081cf[_0x516246(0x15f)]=!0x1,this[_0x516246(0xf1)](_0x3081cf,_0x28a975),_0x320d97[_0x516246(0x103)][_0x516246(0x1c5)](_0x1ada28),_0x289be0[_0x516246(0xe4)][_0x516246(0xdb)](_0x1ada28);const _0x4a6b04=_0x516246(0x15e)+_0x47bdda++,_0x2c7a27=_0x289be0[_0x516246(0xe4)][_0x516246(0x13f)](_0x3081cf[_0x516246(0x171)],_0x3081cf[_0x516246(0x171)][_0x516246(0x16f)](_0x3081cf[_0x516246(0x162)]));_0x28a975[_0x516246(0x182)][_0x516246(0x11f)](_0x4a6b04,_0x2c7a27);}else{if(_0x516246(0xf3)===_0x1ada28[_0x516246(0x135)]&&_0x1ada28[_0x516246(0x1c9)][_0x516246(0x104)](_0x516246(0x194))){const _0x4b89a9=_0x1ada28,_0x55d8f9=_0x516246(0xe8)+_0x47bdda++;this[_0x516246(0xf1)](_0x4b89a9,_0x28a975),_0x28a975[_0x516246(0x182)][_0x516246(0x11f)](_0x55d8f9,_0x4b89a9[_0x516246(0x1b4)]);}}const _0x2922ed=this[_0x516246(0x143)](this[_0x516246(0x130)](this[_0x516246(0x119)](_0x3a4bb2[_0x516246(0x19f)][0x0]),_0x28a975),this[_0x516246(0x130)](this[_0x516246(0x116)](_0x3a4bb2[_0x516246(0x19f)][_0x3a4bb2[_0x516246(0x19f)][_0x516246(0x147)]-0x1]),_0x28a975));_0x28a975[_0x516246(0x182)][_0x516246(0x11f)](le+_0x516246(0xdd),new _0x5cdd59(_0x2922ed[_0x516246(0x16d)],_0x2922ed[_0x516246(0x1a5)])),_0x2e3c8d[_0x516246(0xe2)]({..._0x3a4bb2,'context':this[_0x516246(0x105)](_0x28a975,_0x289be0[_0x516246(0x172)],{'ellipsisBefore':_0x2922ed[_0x516246(0x1a4)],'ellipsisAfter':_0x2922ed[_0x516246(0xd6)]}),'content':this[_0x516246(0xda)](_0x28a975,_0x289be0[_0x516246(0x172)])});}}),_0x2e3c8d;}[_0x9ddc56(0xfd)](_0x36818b,_0x319b6c){const _0x2356c9=_0x9ddc56;if(!_0x36818b[_0x2356c9(0x147)])return;const _0x2805f0=_0x36818b[0x0][_0x2356c9(0x11a)]['id'],_0x53ca34=_0x319b6c[_0x2356c9(0x17f)][_0x2356c9(0x12e)](_0x2805f0);if(!_0x53ca34)return void console[_0x2356c9(0x1af)](_0x2356c9(0xd4)+_0x2805f0);const _0xa14177=_0x53ca34[_0x2356c9(0x161)],_0x1bd56d=_0x2184e2(this[_0x2356c9(0x129)]),_0x19971e=_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x12c)][_0x2356c9(0x102)][_0x2356c9(0x12b)](_0x319b6c[_0x2356c9(0x18d)]),_0x1d2b3e=[];for(const _0x319ba5 of _0x36818b){const _0x8403b6=_0x319ba5[_0x2356c9(0x19f)][_0x2356c9(0x181)](_0x10bda0=>this[_0x2356c9(0x170)](_0x10bda0,_0xa14177,_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x12c)][_0x2356c9(0x196)]()[0x0]));if(!_0x8403b6||!_0x8403b6[_0x2356c9(0x147)])continue;const _0x38ca90=_0x8403b6[_0x2356c9(0x109)](_0x128b74=>_0x2356c9(0xf3)===_0x128b74[_0x2356c9(0x135)]&&_0x128b74[_0x2356c9(0x1c9)][_0x2356c9(0x104)](_0x2356c9(0x194))),_0x48be6d={'document':_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x12c)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x28fe24=_0xc342d2(_0x8403b6,_0x19971e,_0x48be6d)[_0x2356c9(0x188)];for(const _0xf92b76 of _0x28fe24)if(_0x2356c9(0x197)===_0xf92b76[_0x2356c9(0x135)]){const _0x6b88f=_0xf92b76,_0x42c067=_0x6b88f[_0x2356c9(0x177)];let _0xb0a44f='';for(const _0xb01b18 of _0x42c067)_0xb01b18&&_0xb01b18['is'](_0x2356c9(0x1c8))&&(_0xb0a44f+=_0xb01b18[_0x2356c9(0x172)]);_0x1d2b3e[_0x2356c9(0xe2)]({'start':_0x6b88f[_0x2356c9(0x171)],'end':_0x6b88f[_0x2356c9(0x171)],'type':_0x2356c9(0x197),'groupId':_0x319ba5['id'],'text':_0xb0a44f});}else{if(_0x2356c9(0xf3)===_0xf92b76[_0x2356c9(0x135)]&&_0xf92b76[_0x2356c9(0x1c9)][_0x2356c9(0x104)](_0x2356c9(0x194))){const _0x2fdebe=_0xf92b76;let _0x430af2=_0x2356c9(0x193);if(_0x38ca90){const _0xce78dc=this[_0x2356c9(0x1ba)](_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x16d)],_0x2356c9(0x134),_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x124)]),_0x48d8e2=this[_0x2356c9(0x1ba)](_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x1a5)],_0x2356c9(0xfc),_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x124)]);if(_0xce78dc||_0x48d8e2){const _0x4c4a6a=_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x16d)][_0x2356c9(0x16f)](-_0xce78dc),_0x1a670b=_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x1a5)][_0x2356c9(0x16f)](_0x48d8e2);_0x1d2b3e[_0x2356c9(0xe2)]({'start':_0x4c4a6a,'end':_0x1a670b,'groupId':_0x319ba5['id'],'type':_0x2356c9(0x14f)});}else _0x430af2=_0x2356c9(0x156);}_0x1d2b3e[_0x2356c9(0xe2)]({'start':_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x16d)],'end':_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x1a5)],'groupId':_0x319ba5['id'],'type':_0x430af2});}}}this[_0x2356c9(0x189)](_0x1d2b3e);}[_0x9ddc56(0x11c)](){const _0x53c5ae=_0x9ddc56,_0x30831a=_0x2184e2(this[_0x53c5ae(0x129)]);_0x30831a[_0x53c5ae(0xe4)][_0x53c5ae(0xf5)](_0x590068=>{const _0x5d8937=_0x53c5ae;for(const _0x1e0c32 of this[_0x5d8937(0x1bf)][_0x5d8937(0x1b5)]())_0x30831a[_0x5d8937(0xe4)][_0x5d8937(0x182)][_0x5d8937(0x12e)](_0x1e0c32)&&_0x590068[_0x5d8937(0x1c7)](_0x1e0c32);}),this[_0x53c5ae(0x1bf)][_0x53c5ae(0x150)]();}[_0x9ddc56(0x118)](){const _0x1e6b09=_0x9ddc56;_0x2184e2(this[_0x1e6b09(0x129)])[_0x1e6b09(0x178)](_0x1e6b09(0x1c4));}[_0x9ddc56(0x165)](){const _0x556779=_0x9ddc56;_0x2184e2(this[_0x556779(0x129)])[_0x556779(0x19a)](_0x556779(0x1c4));}[_0x9ddc56(0x142)](_0x5a32c7){const _0x229533=_0x9ddc56,_0x554899=_0x2184e2(this[_0x229533(0x129)]),_0x2f65dd=_0x554899[_0x229533(0xe4)],_0x3fbe75=_0x5a32c7[_0x229533(0x181)](_0x5335d0=>this[_0x229533(0x1ae)](_0x5335d0))[_0x229533(0x108)]();_0x2f65dd[_0x229533(0xf5)](_0x5ef5ed=>{const _0x17f37a=_0x229533;for(const _0x423d11 of _0x3fbe75){const _0x3f5a01=_0x554899[_0x17f37a(0xe4)][_0x17f37a(0x182)][_0x17f37a(0x12e)](_0x423d11['id']);_0x3f5a01&&(_0x17f37a(0x197)===_0x423d11[_0x17f37a(0x135)]?_0x2f65dd[_0x17f37a(0xe3)](_0x5ef5ed[_0x17f37a(0x1a0)](_0x423d11[_0x17f37a(0x1c3)]||''),_0x3f5a01[_0x17f37a(0xf2)]()[_0x17f37a(0x16d)]):_0x17f37a(0x193)!==_0x423d11[_0x17f37a(0x135)]&&_0x17f37a(0x156)!==_0x423d11[_0x17f37a(0x135)]||_0x2f65dd[_0x17f37a(0x169)](_0x2f65dd[_0x17f37a(0xee)](_0x3f5a01[_0x17f37a(0xf2)]())),_0x5ef5ed[_0x17f37a(0x1c7)](_0x423d11['id']),this[_0x17f37a(0x1bf)][_0x17f37a(0x173)](_0x423d11['id']));}});}[_0x9ddc56(0x17b)](_0x1843cf){const _0x4784d2=_0x9ddc56,_0x43e374=_0x2184e2(this[_0x4784d2(0x129)]),_0x5cfb18=this[_0x4784d2(0x1ae)](_0x1843cf);_0x43e374[_0x4784d2(0xe4)][_0x4784d2(0xf5)](_0x22033b=>{const _0xc092bf=_0x4784d2;for(const _0xf2177c of _0x5cfb18)_0x22033b[_0xc092bf(0x1c7)](_0xf2177c['id']),this[_0xc092bf(0x1bf)][_0xc092bf(0x173)](_0xf2177c['id']);});}[_0x9ddc56(0x1c2)](){const _0x212938=_0x9ddc56;return _0x2184e2(this[_0x212938(0x129)]);}[_0x9ddc56(0x132)](_0x11b1ab){const _0x35aa90=_0x9ddc56,_0x50729d=Array[_0x35aa90(0x10c)](this[_0x35aa90(0x1bf)][_0x35aa90(0x174)]())[_0x35aa90(0x19c)](_0x36b347=>_0x36b347[_0x35aa90(0x136)]===_0x11b1ab);if(!_0x50729d[_0x35aa90(0x147)])return null;const _0x244fde=0x1===_0x50729d[_0x35aa90(0x147)]?_0x50729d[0x0]:this[_0x35aa90(0x18e)](_0x50729d)[0x0],_0x97a0f4=_0x2184e2(this[_0x35aa90(0x129)]),_0x554f64=_0x97a0f4[_0x35aa90(0xe4)][_0x35aa90(0x182)][_0x35aa90(0x12e)](_0x244fde['id']);if(!_0x554f64)return null;const _0x4f988a=_0x554f64[_0x35aa90(0xf2)](),_0x450537=_0x97a0f4[_0x35aa90(0xea)][_0x35aa90(0x1bb)][_0x35aa90(0x167)]();if(!_0x450537||!_0x4f988a)return null;const _0x206690=_0x450537[_0x35aa90(0x18a)](_0x35aa90(0x115)+_0x244fde['id']+'\x22]');return _0x206690?{'modelRange':_0x4f988a,'domElement':_0x206690}:null;}[_0x9ddc56(0x176)](_0x41f7eb,_0x3e871a){const _0x5d2a2b=_0x9ddc56,_0x1b3298=Array[_0x5d2a2b(0x10c)](this[_0x5d2a2b(0x1bf)][_0x5d2a2b(0x1b5)]()),_0xe992ce=new Map();for(const _0x1727e3 of _0x1b3298){const _0xa3b7f8=_0x41f7eb[_0x5d2a2b(0xe4)][_0x5d2a2b(0x182)][_0x5d2a2b(0x12e)](_0x1727e3);if(!_0xa3b7f8)continue;const _0x1142fe=_0xa3b7f8[_0x5d2a2b(0x19b)]()[_0x5d2a2b(0x161)][0x0];_0xe992ce[_0x5d2a2b(0x106)](_0x1142fe)||_0xe992ce[_0x5d2a2b(0x11f)](_0x1142fe,[]),_0xe992ce[_0x5d2a2b(0x12e)](_0x1142fe)[_0x5d2a2b(0xe2)](_0xa3b7f8);}const _0x4afe9e=new Set();for(const _0x5e44d7 of _0x41f7eb[_0x5d2a2b(0xe4)][_0x5d2a2b(0x12c)][_0x5d2a2b(0x12a)][_0x5d2a2b(0x18c)]()){let _0x1b6d8=-0x1,_0x1cd9af=null;if(_0x5d2a2b(0x197)===_0x5e44d7[_0x5d2a2b(0x135)])_0x1cd9af=new _0x5cdd59(_0x5e44d7[_0x5d2a2b(0x171)],_0x5e44d7[_0x5d2a2b(0x171)][_0x5d2a2b(0x16f)](_0x5e44d7[_0x5d2a2b(0x147)])),_0x1b6d8=_0x5e44d7[_0x5d2a2b(0x171)][_0x5d2a2b(0x161)][0x0];else{if(_0x5d2a2b(0x1a6)!==_0x5e44d7[_0x5d2a2b(0x135)])continue;_0x1cd9af=new _0x5cdd59(_0x5e44d7[_0x5d2a2b(0x171)]),_0x1b6d8=_0x5e44d7[_0x5d2a2b(0x171)][_0x5d2a2b(0x161)][0x0];}const _0x58716e=_0xe992ce[_0x5d2a2b(0x12e)](_0x1b6d8)||[];if(_0x58716e[_0x5d2a2b(0x147)]){for(const _0x1ffc78 of _0x58716e)if(_0x1cd9af[_0x5d2a2b(0x179)][_0x5d2a2b(0xde)]===_0x1ffc78[_0x5d2a2b(0xf2)]()[_0x5d2a2b(0x179)][_0x5d2a2b(0xde)]&&(_0x5d2a2b(0x197)!==_0x5e44d7[_0x5d2a2b(0x135)]||!_0x1cd9af[_0x5d2a2b(0x10b)](_0x1ffc78[_0x5d2a2b(0xf2)]()))&&(_0x1cd9af[_0x5d2a2b(0x126)](_0x1ffc78[_0x5d2a2b(0xf2)]())||_0x1cd9af[_0x5d2a2b(0x16d)][_0x5d2a2b(0x148)](_0x1ffc78[_0x5d2a2b(0xf2)]()[_0x5d2a2b(0x1a5)])||_0x1cd9af[_0x5d2a2b(0x1a5)][_0x5d2a2b(0x148)](_0x1ffc78[_0x5d2a2b(0xf2)]()[_0x5d2a2b(0x16d)]))){const _0x30eae0=this[_0x5d2a2b(0x1c6)](_0x1ffc78[_0x5d2a2b(0x1c9)]);Array[_0x5d2a2b(0x10c)](this[_0x5d2a2b(0x1bf)][_0x5d2a2b(0x174)]())[_0x5d2a2b(0x19c)](_0x343884=>_0x343884[_0x5d2a2b(0x136)]===_0x30eae0[_0x5d2a2b(0x136)])[_0x5d2a2b(0xed)](_0x4cd359=>_0x4afe9e[_0x5d2a2b(0x16b)](_0x4cd359['id']));}}}if(_0x4afe9e[_0x5d2a2b(0x19d)]){for(const _0x298f08 of _0x4afe9e)_0x3e871a[_0x5d2a2b(0x1c7)](_0x298f08);return!0x0;}return!0x1;}[_0x9ddc56(0x111)](_0x1c67cf){const _0x3fed47=_0x9ddc56;for(const {name:_0x5b24dd,data:_0x3e1772}of _0x1c67cf[_0x3fed47(0xe4)][_0x3fed47(0x12c)][_0x3fed47(0x12a)][_0x3fed47(0x122)]()){if(!_0x5b24dd[_0x3fed47(0x104)](le))continue;const _0x1bdd6f=_0x3e1772[_0x3fed47(0x158)],_0x5dcb2b=_0x3e1772[_0x3fed47(0x1b4)],_0x24ba6c=_0x1bdd6f&&_0x3fed47(0xec)===_0x1bdd6f[_0x3fed47(0x179)][_0x3fed47(0xde)],_0xd7750c=_0x5dcb2b&&_0x3fed47(0xec)===_0x5dcb2b[_0x3fed47(0x179)][_0x3fed47(0xde)];if(_0x24ba6c&&_0xd7750c)continue;const _0x4d7b61=this[_0x3fed47(0x1c6)](_0x5b24dd);this[_0x3fed47(0x1bf)][_0x3fed47(0x12e)](_0x5b24dd)&&(_0xd7750c||!_0x5dcb2b?this[_0x3fed47(0x10e)][_0x3fed47(0x1b3)](_0x3fed47(0x16e),{'markerId':_0x5b24dd,'changeId':_0x4d7b61[_0x3fed47(0x136)]}):_0x24ba6c&&_0x5dcb2b&&this[_0x3fed47(0x10e)][_0x3fed47(0x1b3)](_0x3fed47(0xef),{'markerId':_0x5b24dd,'changeId':_0x4d7b61[_0x3fed47(0x136)]}));}}[_0x9ddc56(0x1c6)](_0x373690){const _0x11e7f4=_0x9ddc56,_0x3cbfed=_0x373690[_0x11e7f4(0x199)](':'),_0x3fa1d6=(_0x3cbfed[0x1]||'')[_0x11e7f4(0x199)]('_');return{'prefix':_0x3cbfed[0x0],'groupId':_0x3fa1d6[0x0],'suffix':_0x3fa1d6[0x1]};}[_0x9ddc56(0x170)](_0x58b4cd,_0xed5fda,_0x4243e4){const _0x32fc1a=_0x9ddc56;if(_0x32fc1a(0x197)===_0x58b4cd[_0x32fc1a(0x135)]){const _0x56ab5e=_0x58b4cd;return new _0x232256(this[_0x32fc1a(0xe9)](_0xed5fda[_0x32fc1a(0x13b)](_0x56ab5e[_0x32fc1a(0x171)][_0x32fc1a(0x13d)]),_0x4243e4),_0x56ab5e[_0x32fc1a(0x177)],_0x56ab5e[_0x32fc1a(0x175)]);}if(_0x32fc1a(0xf3)===_0x58b4cd[_0x32fc1a(0x135)]&&_0x58b4cd[_0x32fc1a(0x1c9)][_0x32fc1a(0x104)](_0x32fc1a(0x194))){const _0x5ee257=_0x58b4cd;return new _0x1f36b5(_0x5ee257[_0x32fc1a(0x1c9)],_0x5ee257[_0x32fc1a(0x158)],this[_0x32fc1a(0x160)](_0x5ee257[_0x32fc1a(0x1b4)],_0xed5fda[_0x32fc1a(0x13b)](_0x5ee257[_0x32fc1a(0x1b4)][_0x32fc1a(0x16d)][_0x32fc1a(0x13d)]),_0xed5fda[_0x32fc1a(0x13b)](_0x5ee257[_0x32fc1a(0x1b4)][_0x32fc1a(0x1a5)][_0x32fc1a(0x13d)]),_0x4243e4),_0x5ee257[_0x32fc1a(0x1bf)],_0x5ee257[_0x32fc1a(0xfb)],_0x5ee257[_0x32fc1a(0x175)]);}return _0x58b4cd;}[_0x9ddc56(0x1b0)](_0x2a9788){const _0x5e4e55=_0x9ddc56;if(!_0x2a9788[_0x5e4e55(0x147)])return[];const _0x1b4eab=[];let _0x2fd118=0x0,_0x5e89f8=0x0,_0x156573=[];for(let _0x33f514=0x0;_0x33f514<=_0x2a9788[_0x5e4e55(0x147)];_0x33f514++){const _0x24c746=_0x2a9788[_0x33f514],_0x30e8c3=_0x2a9788[_0x33f514-0x1];!_0x24c746||_0x30e8c3&&!this[_0x5e4e55(0x116)](_0x30e8c3)[_0x5e4e55(0x148)](this[_0x5e4e55(0x119)](_0x24c746))?(_0x1b4eab[_0x5e4e55(0xe2)]({'operations':_0x156573,'operationsIsolated':_0x156573[_0x5e4e55(0x181)](_0x36414b=>this[_0x5e4e55(0xfe)](_0x36414b[_0x5e4e55(0x16c)](),-_0x5e89f8)),'groupOffset':_0x2fd118}),_0x156573=_0x24c746?[_0x24c746]:[],_0x5e89f8+=_0x2fd118,_0x2fd118=0x0):_0x156573[_0x5e4e55(0xe2)](_0x24c746),_0x24c746&&_0x5e4e55(0x197)===_0x24c746[_0x5e4e55(0x135)]&&(_0x2fd118+=_0x24c746[_0x5e4e55(0x162)]);}return _0x1b4eab;}[_0x9ddc56(0x1ba)](_0x2148c5,_0x7ba81a,_0x5c575d,_0x314d90=0x1){const _0x5055d7=_0x9ddc56,_0x36f513=new _0x24eca4({'startPosition':_0x2148c5,'direction':_0x7ba81a});let _0x18807f=0x0;for(let _0x500c85=0x0;_0x500c85<_0x314d90;_0x500c85++){let _0x52207c=0x0,_0xa0ea67=!0x1,_0x47cc45=_0x5055d7(0xfc)===_0x7ba81a?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x189960}of _0x36f513)if(_0x189960['is'](_0x5055d7(0xfa))){const _0x3eeee3=_0x47cc45[_0x5055d7(0x128)](_0x189960[_0x5055d7(0x172)]);if(_0x3eeee3&&_0x3eeee3[_0x5055d7(0x147)]){if(_0x52207c+=_0x5055d7(0xfc)===_0x7ba81a?_0x3eeee3[_0x5055d7(0x1b9)]+_0x3eeee3[0x0][_0x5055d7(0x147)]:_0x189960[_0x5055d7(0x172)][_0x5055d7(0x147)]-_0x3eeee3[_0x5055d7(0x1b9)],_0x3eeee3[0x0][_0x5055d7(0x147)]!==_0x189960[_0x5055d7(0x172)][_0x5055d7(0x147)])break;_0xa0ea67=!0x0,_0x47cc45=_0x5055d7(0xfc)===_0x7ba81a?/^\w+/:/\w+$/;}else{if(_0xa0ea67)break;_0x52207c+=_0x189960[_0x5055d7(0xd9)];}}else{if(_0x189960['is'](_0x5055d7(0x12f))){_0x5c575d[_0x5055d7(0xf8)](_0x189960)&&!_0xa0ea67&&(_0x52207c+=0x1);break;}}_0x18807f+=_0x52207c,_0x36f513[_0x5055d7(0x1bc)](_0x2148c5[_0x5055d7(0x16f)](_0x5055d7(0xfc)===_0x7ba81a?_0x18807f:-_0x18807f));}return _0x18807f;}[_0x9ddc56(0x143)](_0x436298,_0x20daab){const _0x1c68aa=_0x9ddc56,_0x3d4294=_0x2184e2(this[_0x1c68aa(0x129)])[_0x1c68aa(0xe4)][_0x1c68aa(0x124)],_0x4a577e=this[_0x1c68aa(0x1ba)](_0x436298,_0x1c68aa(0x134),_0x3d4294,0x6),_0x578d1d=this[_0x1c68aa(0x1ba)](_0x20daab,_0x1c68aa(0xfc),_0x3d4294,0x6),_0x4ca6f2=_0x436298[_0x1c68aa(0x16f)](-_0x4a577e),_0x36aa8b=_0x20daab[_0x1c68aa(0x16f)](_0x578d1d);return{'start':_0x4ca6f2,'end':_0x36aa8b,'hasContentBefore':!_0x4ca6f2[_0x1c68aa(0x18b)],'hasContentAfter':!_0x36aa8b[_0x1c68aa(0x139)]};}[_0x9ddc56(0x189)](_0x35d355){const _0x324763=_0x9ddc56,_0x172e4e=this[_0x324763(0x129)][_0x324763(0x1bd)][_0x324763(0x12e)](_0x324763(0xe6)),_0x5e78ad=new Set();_0x2184e2(this[_0x324763(0x129)])[_0x324763(0xe4)][_0x324763(0xf5)](_0x391284=>{const _0x4bee45=_0x324763;for(const _0x27247f of _0x35d355){const _0x4df787=''+le+_0x27247f[_0x4bee45(0x135)]+':'+_0x27247f[_0x4bee45(0x136)]+'_'+_0x172e4e[_0x4bee45(0x146)](_0x5e78ad);this[_0x4bee45(0x1bf)][_0x4bee45(0x11f)](_0x4df787,{'id':_0x4df787,'groupId':_0x27247f[_0x4bee45(0x136)],'type':_0x27247f[_0x4bee45(0x135)],'text':_0x27247f[_0x4bee45(0x1c3)]}),_0x391284[_0x4bee45(0x14c)](_0x4df787,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x391284[_0x4bee45(0x13f)](_0x27247f[_0x4bee45(0x16d)],_0x27247f[_0x4bee45(0x1a5)])});}});}[_0x9ddc56(0x105)](_0x37a8dc,_0x124662,_0x2c795c){let _0x3c4a4f='';return()=>{const _0x3c5ea1=_0x54ad;if(!_0x3c4a4f){const _0x1349ff=_0x124662[_0x3c5ea1(0xd3)](_0x37a8dc,{'showSuggestionHighlights':!0x0});let _0x178f68=_0x1349ff[_0x3c5ea1(0x125)](0x0);if(_0x178f68['is'](_0x3c5ea1(0x13a))||(_0x178f68=_0x1349ff),!_0x178f68)return'';let _0x14c87e=!0x1;const _0x21e9f0=[];for(const _0x2ccec8 of _0x178f68[_0x3c5ea1(0x121)]())_0x2ccec8['is'](_0x3c5ea1(0x12f),_0x3c5ea1(0xe0))&&_0x2ccec8[_0x3c5ea1(0x144)](_0x3c5ea1(0x1a3))&&(_0x14c87e=!0x1),_0x14c87e&&_0x21e9f0[_0x3c5ea1(0xe2)](_0x2ccec8),_0x2ccec8['is'](_0x3c5ea1(0x12f),_0x3c5ea1(0xe0))&&_0x2ccec8[_0x3c5ea1(0x144)](_0x3c5ea1(0x17e))&&(_0x14c87e=!0x0);_0x178f68[_0x3c5ea1(0x145)](0x0,_0x178f68[_0x3c5ea1(0x198)]),_0x2c795c?.[_0x3c5ea1(0x15c)]&&_0x178f68[_0x3c5ea1(0x123)]('…'),_0x178f68[_0x3c5ea1(0x123)](_0x21e9f0),_0x2c795c?.[_0x3c5ea1(0x1b1)]&&_0x178f68[_0x3c5ea1(0x123)]('…');const _0x38f7e2=_0x124662[_0x3c5ea1(0xd7)][_0x3c5ea1(0xf4)][_0x3c5ea1(0x151)](_0x1349ff),_0xd88288=_0x124662[_0x3c5ea1(0xd7)][_0x3c5ea1(0x114)][_0x3c5ea1(0x131)](_0x38f7e2);_0x3c4a4f=_0xd88288;}return _0x3c4a4f;};}[_0x9ddc56(0xda)](_0x5c2bbd,_0x42cb1a){const _0x410706=_0x9ddc56;let _0x59b188='';return()=>(_0x59b188||(_0x59b188=_0x42cb1a[_0x410706(0x17a)](_0x5c2bbd,{'showSuggestionHighlights':!0x0})),_0x59b188);}[_0x9ddc56(0x1b6)](_0x574222,_0x11f986,_0x3bb467){let _0x4f7737='';return()=>{const _0x187edb=_0x54ad;if(!_0x4f7737){const _0x43bb76=_0x3bb467[_0x187edb(0xd3)](new _0x295fd2(_0x574222)),_0x41a8c0=_0x3bb467[_0x187edb(0xd7)][_0x187edb(0xf4)][_0x187edb(0x151)](_0x43bb76)[_0x187edb(0x18a)](_0x187edb(0x100)+_0x11f986+'\x22]');_0x4f7737=_0x41a8c0?.[_0x187edb(0x140)]||'';}return _0x4f7737;};}[_0x9ddc56(0x1a7)](_0x9d50e3,_0x103a5e=0x5){const _0x1708bb=_0x9ddc56;let _0x3b079d=_0x9d50e3,_0x2fefa1=null;for(let _0x4af384=0x0;_0x4af384<_0x103a5e&&_0x3b079d;_0x4af384++){if(!_0x3b079d[_0x1708bb(0x112)]){_0x3b079d=_0x3b079d[_0x1708bb(0x157)];continue;}if(!(''+_0x3b079d[_0x1708bb(0x112)])[_0x1708bb(0x17c)](_0x1708bb(0x117))){_0x3b079d=_0x3b079d[_0x1708bb(0x157)];continue;}if(!_0x3b079d[_0x1708bb(0x10a)](_0x1708bb(0x155)))break;_0x2fefa1=_0x3b079d;break;}return _0x2fefa1;}[_0x9ddc56(0x1ae)](_0x2334ac){const _0xa2c63c=_0x9ddc56;return Array[_0xa2c63c(0x10c)](this[_0xa2c63c(0x1bf)][_0xa2c63c(0x174)]())[_0xa2c63c(0x19c)](_0x5dd869=>_0x5dd869[_0xa2c63c(0x136)]===_0x2334ac);}[_0x9ddc56(0x119)](_0x4a8341){const _0x337f29=_0x9ddc56;return _0x337f29(0x197)===_0x4a8341[_0x337f29(0x135)]?_0x4a8341[_0x337f29(0x171)]:_0x4a8341[_0x337f29(0x1b4)][_0x337f29(0x16d)];}[_0x9ddc56(0x116)](_0x57a08b,_0x17fae6=!0x1){const _0x293d04=_0x9ddc56;return _0x293d04(0x197)===_0x57a08b[_0x293d04(0x135)]?_0x17fae6?_0x57a08b[_0x293d04(0x171)]:_0x57a08b[_0x293d04(0x171)][_0x293d04(0x16f)](_0x57a08b[_0x293d04(0x162)]):_0x57a08b[_0x293d04(0x1b4)][_0x293d04(0x1a5)];}[_0x9ddc56(0xfe)](_0x55533c,_0x577fac){const _0x22373f=_0x9ddc56;return _0x22373f(0x197)===_0x55533c[_0x22373f(0x135)]?_0x55533c[_0x22373f(0x171)]=_0x55533c[_0x22373f(0x171)][_0x22373f(0x16f)](_0x577fac):_0x22373f(0xf3)===_0x55533c[_0x22373f(0x135)]&&_0x55533c[_0x22373f(0x1b4)]&&(_0x55533c[_0x22373f(0x1b4)]=new _0x5cdd59(_0x55533c[_0x22373f(0x1b4)][_0x22373f(0x16d)][_0x22373f(0x16f)](_0x577fac),_0x55533c[_0x22373f(0x1b4)][_0x22373f(0x1a5)][_0x22373f(0x16f)](_0x577fac))),_0x55533c;}[_0x9ddc56(0xf1)](_0x53850b,_0x2eb569){const _0x3afbf5=_0x9ddc56;_0x3afbf5(0x197)===_0x53850b[_0x3afbf5(0x135)]?_0x53850b[_0x3afbf5(0x171)]=this[_0x3afbf5(0x130)](_0x53850b[_0x3afbf5(0x171)],_0x2eb569):_0x3afbf5(0xf3)===_0x53850b[_0x3afbf5(0x135)]&&_0x53850b[_0x3afbf5(0x1b4)]&&(_0x53850b[_0x3afbf5(0x1b4)]=this[_0x3afbf5(0x168)](_0x53850b[_0x3afbf5(0x1b4)],_0x2eb569));}[_0x9ddc56(0x130)](_0x567ed9,_0x7a8e22){const _0x2b4314=_0x9ddc56;return new _0xae77cd(_0x7a8e22,_0x567ed9[_0x2b4314(0x161)]);}[_0x9ddc56(0x168)](_0x223fca,_0x216b41){const _0x8f6de3=_0x9ddc56;return new _0x5cdd59(this[_0x8f6de3(0x130)](_0x223fca[_0x8f6de3(0x16d)],_0x216b41),this[_0x8f6de3(0x130)](_0x223fca[_0x8f6de3(0x1a5)],_0x216b41));}[_0x9ddc56(0xe9)](_0x315e9f,_0x350c2d){return new _0xae77cd(_0x350c2d,[..._0x315e9f]);}[_0x9ddc56(0x160)](_0x1e9593,_0x17ad04,_0x494a48,_0x5863a5){const _0x1cb493=_0x9ddc56;return new _0x5cdd59(this[_0x1cb493(0xe9)](_0x17ad04,_0x5863a5),this[_0x1cb493(0xe9)](_0x494a48,_0x5863a5));}[_0x9ddc56(0x18e)](_0x5e7e0c){const _0x27f4aa=_0x9ddc56,_0x390138=_0x57fa2d=>{const _0x4f7cf5=_0x54ad;switch(_0x57fa2d){case _0x4f7cf5(0x197):return 0x1;case _0x4f7cf5(0x14f):return 0x2;case _0x4f7cf5(0x156):return 0x3;case _0x4f7cf5(0x193):return 0x4;}};return _0x5e7e0c[_0x27f4aa(0x152)]((_0x84aeab,_0x2e4a46)=>_0x390138(_0x84aeab[_0x27f4aa(0x135)])-_0x390138(_0x2e4a46[_0x27f4aa(0x135)]));}[_0x9ddc56(0x195)](_0x50a758,_0x300568){const _0x1a9c5a=_0x9ddc56,_0x1f7792=_0x50a758[_0x1a9c5a(0x125)](0x0),_0x30b54a=_0x300568[_0x1a9c5a(0x125)](0x0);return!(!_0x1f7792||!_0x30b54a)&&((!_0x1f7792['is'](_0x1a9c5a(0x12f))||!_0x30b54a['is'](_0x1a9c5a(0x12f))||_0x1f7792[_0x1a9c5a(0x1c9)]===_0x30b54a[_0x1a9c5a(0x1c9)])&&!(_0x1f7792['is'](_0x1a9c5a(0x12f))&&!_0x30b54a['is'](_0x1a9c5a(0x12f))||!_0x1f7792['is'](_0x1a9c5a(0x12f))&&_0x30b54a['is'](_0x1a9c5a(0x12f))));}[_0x9ddc56(0xdc)](_0x60150c){const _0x2d3369=_0x9ddc56;return 0x1===_0x60150c[_0x2d3369(0x198)];}[_0x9ddc56(0x1be)](_0x6d6d1a,_0x220404){const _0x3a311e=_0x9ddc56;for(const _0x1854b4 of _0x6d6d1a[_0x3a311e(0x121)]())if(_0x1854b4['is'](_0x3a311e(0x12f))&&!_0x220404[_0x3a311e(0xf8)](_0x1854b4))return!0x1;return!0x0;}[_0x9ddc56(0x113)](_0x45bbb4,_0x2f2f31){const _0x1c6f6b=_0x9ddc56;let _0x367a48=_0x45bbb4[_0x1c6f6b(0x10a)](_0x544b8f);return _0x367a48||(_0x367a48=_0x2f2f31(),_0x45bbb4[_0x1c6f6b(0xdf)](_0x544b8f,_0x367a48)),_0x367a48;}}
@@ -54,7 +54,8 @@ export declare class AIReviewModeUI extends ContextPlugin {
54
54
  contentDiffed: string;
55
55
  id: string;
56
56
  }): void;
57
- showGeneralErrorView(): void;
57
+ showGeneralResultsErrorView(): void;
58
+ showGeneralReviewModeErrorView(errorMessage?: string): void;
58
59
  showChunkErrorView(): void;
59
60
  setCheckResultTitle(title: string, subtitle?: string): void;
60
61
  setActiveStateInResults(id: string): void;
@@ -64,7 +65,12 @@ export declare class AIReviewModeUI extends ContextPlugin {
64
65
  showActionsWhenResultIsReady(): void;
65
66
  showNoChangesView(): void;
66
67
  hideActionsWhenResultIsReady(): void;
67
- showChangeBalloon(change: AIReviewCheckResultChange, target: HTMLElement): void;
68
+ showChangeBalloon(change: AIReviewCheckResultChange, target: HTMLElement, domEvent: MouseEvent | undefined, eventType: 'click' | 'hover', limiter?: HTMLElement, viewportOffset?: {
69
+ top?: number;
70
+ left?: number;
71
+ bottom?: number;
72
+ right?: number;
73
+ }): void;
68
74
  hideChangeBalloon(): void;
69
75
  hideDiffInBalloon(): void;
70
76
  showDiffInBalloon(): void;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bac87=_0x3b6d;(function(_0x4d4a4c,_0x27b6c9){const _0x3f6809=_0x3b6d,_0x50763a=_0x4d4a4c();while(!![]){try{const _0x413d55=parseInt(_0x3f6809(0xfa))/0x1+parseInt(_0x3f6809(0xea))/0x2*(-parseInt(_0x3f6809(0xfe))/0x3)+parseInt(_0x3f6809(0xf5))/0x4+parseInt(_0x3f6809(0x116))/0x5*(-parseInt(_0x3f6809(0xf9))/0x6)+-parseInt(_0x3f6809(0xc6))/0x7+-parseInt(_0x3f6809(0x111))/0x8*(parseInt(_0x3f6809(0xf8))/0x9)+parseInt(_0x3f6809(0xe9))/0xa;if(_0x413d55===_0x27b6c9)break;else _0x50763a['push'](_0x50763a['shift']());}catch(_0x15cbbd){_0x50763a['push'](_0x50763a['shift']());}}}(_0x4a76,0x9feac));function _0x3b6d(_0x116f77,_0x1b1aeb){const _0x4a76da=_0x4a76();return _0x3b6d=function(_0x3b6d0f,_0x37dd08){_0x3b6d0f=_0x3b6d0f-0xc4;let _0x10a6f2=_0x4a76da[_0x3b6d0f];return _0x10a6f2;},_0x3b6d(_0x116f77,_0x1b1aeb);}import{ContextPlugin as _0x4e2403}from'ckeditor5/src/core.js';import{IconAIReview as _0x29061b}from'ckeditor5/src/icons.js';import{BodyCollection as _0x30bfae}from'ckeditor5/src/ui.js';import{AITabs as _0x45b2ef}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x3350fb}from'./ui/aireviewmodeview.js';function _0x4a76(){const _0x375e57=['getReviewCheckList','showReviewCheckList','showReviewCheckResultsView','fire','showActionsWhenResultIsReady','_reviewModeView','updateChangeState','pluginName','activateChange','delegate','abortReviewStream','toggleDiff','showReviewCompletedView','reviewCheckResultsView','31563250QgMvyB','52XymrDB','hideResult','plugins','hasChecks','setActiveStateInResults','_bodyCollection','isOfficialPlugin','getResults','outdated','setCheckResultTitle','error-general','1036404XmnEZY','learnMore','showChangeBalloon','1737PtJKXZ','276LWVtoR','398506snDqjv','retryReview','finishReview','showResult','129462ZsxHpm','isPremiumPlugin','resetActiveStateInResults','error-chunk','showCheckRunResults','getChangeElement','showNoChangesView','status','acceptAllChanges','forEach','addCheckRunResult','rejected','acceptChange','init','setChecks','AI_REVIEW_MODE','reviewCheckListView','setTitle','locale','10160zjclHw','setAvailableChecks','find','element','showReviewCheckListView','93605KTnzXL','accepted','hideChangeBalloon','deactivateChange','destroy','activateTab','leaveReviewModeResultList','requires','hideActionsWhenResultIsReady','setItemAsActive','dismissChange','6514424YxHSVI','runReviewCheck','addTab','view','setItemAsInactive','showDiffInBalloon','leaveReviewMode','showGeneralErrorView','AITabs','reviewMode','_reviewModeBalloonSuggestionItemView','get','hideBalloon','showCheckRunResult','AIReviewModeUI','hideDiffInBalloon','showBalloon','context','detachFromDom','attachToDom','showChunkErrorView'];_0x4a76=function(){return _0x375e57;};return _0x4a76();}import{getTranslation as _0x164a5a}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x193c84}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x2bac87(0xdb),_0x2bac87(0xc7),_0x2bac87(0xe5),_0x2bac87(0xe6),_0x2bac87(0x106),_0x2bac87(0x11c),_0x2bac87(0xe3),_0x2bac87(0x10a),_0x2bac87(0xc5),_0x2bac87(0xf6),_0x2bac87(0xfc),_0x2bac87(0xfb)];export class AIReviewModeUI extends _0x4e2403{[_0x2bac87(0xe0)];[_0x2bac87(0xd0)];[_0x2bac87(0xef)];static get[_0x2bac87(0x11d)](){return[_0x45b2ef];}static get[_0x2bac87(0xe2)](){const _0x49bf0f=_0x2bac87;return _0x49bf0f(0xd4);}static get[_0x2bac87(0xf0)](){return!0x0;}static get[_0x2bac87(0xff)](){return!0x0;}constructor(_0x3306ac){const _0x2d127a=_0x2bac87;super(_0x3306ac),this[_0x2d127a(0xef)]=new _0x30bfae(this[_0x2d127a(0xd7)][_0x2d127a(0x110)]),this[_0x2d127a(0xef)][_0x2d127a(0xd9)](),this[_0x2d127a(0xe0)]=new _0x3350fb(this[_0x2d127a(0xd7)][_0x2d127a(0x110)]),this[_0x2d127a(0xe0)][_0x2d127a(0xe4)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x2d127a(0xd0)]=new _0x193c84(this[_0x2d127a(0xd7)][_0x2d127a(0x110)],this[_0x2d127a(0xef)]),this[_0x2d127a(0xd0)][_0x2d127a(0xe4)](_0x2d127a(0x10a),_0x2d127a(0xc5),_0x2d127a(0x119))['to'](this);}[_0x2bac87(0x10b)](){const _0x3b7038=_0x2bac87,_0x1f9919=this[_0x3b7038(0xd7)][_0x3b7038(0xec)][_0x3b7038(0xd1)](_0x3b7038(0xce));_0x1f9919[_0x3b7038(0xc9)]['on'](_0x3b7038(0x11b),(_0x46e2ec,_0xdec8d8)=>{const _0x2f4238=_0x3b7038;_0x2f4238(0xcf)===_0xdec8d8?this[_0x2f4238(0xde)](_0x2f4238(0xdb)):this[_0x2f4238(0xde)](_0x2f4238(0xcc));}),_0x1f9919[_0x3b7038(0xc9)][_0x3b7038(0xc8)]({'id':_0x3b7038(0xcf),'buttonLabel':_0x164a5a(this[_0x3b7038(0xd7)][_0x3b7038(0x110)],_0x3b7038(0x10d)),'buttonIcon':_0x29061b,'order':0x0,'content':this[_0x3b7038(0xe0)]});}[_0x2bac87(0x11a)](){const _0x22d7d2=_0x2bac87;this[_0x22d7d2(0xef)][_0x22d7d2(0xd8)](),super[_0x22d7d2(0x11a)]();}[_0x2bac87(0x112)](_0x2a90b4){const _0x316c98=_0x2bac87;this[_0x316c98(0xe0)][_0x316c98(0x10e)][_0x316c98(0xed)]()||this[_0x316c98(0xe0)][_0x316c98(0x10e)][_0x316c98(0x10c)](_0x2a90b4),this[_0x316c98(0xe0)][_0x316c98(0x115)]();}[_0x2bac87(0xdc)](){const _0x4386b3=_0x2bac87;this[_0x4386b3(0xde)](_0x4386b3(0xdb));}[_0x2bac87(0x102)](_0x2b9a69){const _0x310d18=_0x2bac87;_0x2b9a69&&(_0x310d18(0xf4)!==_0x2b9a69[_0x310d18(0x105)]?_0x310d18(0x101)!==_0x2b9a69[_0x310d18(0x105)]?this[_0x310d18(0xe0)][_0x310d18(0xdd)]():this[_0x310d18(0xda)]():this[_0x310d18(0xcd)]());}[_0x2bac87(0xd3)](_0x38d36a){const _0x1a8163=_0x2bac87;this[_0x1a8163(0xe0)][_0x1a8163(0x108)](_0x38d36a);}[_0x2bac87(0xcd)](){const _0x605020=_0x2bac87;this[_0x605020(0xe0)][_0x605020(0xcd)]();}[_0x2bac87(0xda)](){const _0x589e98=_0x2bac87;this[_0x589e98(0xe0)][_0x589e98(0xda)]();}[_0x2bac87(0xf3)](_0x14b0e1,_0x58d034){const _0x6ca81e=_0x2bac87;this[_0x6ca81e(0xe0)][_0x6ca81e(0xe8)][_0x6ca81e(0x10f)](_0x14b0e1,_0x58d034);}[_0x2bac87(0xee)](_0x168fd6){const _0x443f18=_0x2bac87;this[_0x443f18(0xe0)][_0x443f18(0xe8)][_0x443f18(0xf1)]()[_0x443f18(0x107)](_0x4dd03c=>{const _0x51e457=_0x443f18;_0x4dd03c['id']===_0x168fd6&&_0x4dd03c[_0x51e457(0xc4)]();});}[_0x2bac87(0x100)](){const _0x5266ae=_0x2bac87;this[_0x5266ae(0xe0)][_0x5266ae(0xe8)][_0x5266ae(0xf1)]()[_0x5266ae(0x107)](_0xe6c69=>_0xe6c69[_0x5266ae(0xca)]());}[_0x2bac87(0xe1)](_0x301fb0,_0x362d04){const _0x210502=_0x2bac87;_0x210502(0x117)===_0x362d04||_0x210502(0x109)===_0x362d04||_0x210502(0xf2)===_0x362d04?this[_0x210502(0xe0)][_0x210502(0xe8)][_0x210502(0xeb)](_0x301fb0,_0x362d04):this[_0x210502(0xe0)][_0x210502(0xe8)][_0x210502(0xfd)](_0x301fb0,_0x362d04);}[_0x2bac87(0xe7)](){const _0x1ae683=_0x2bac87;this[_0x1ae683(0xe0)][_0x1ae683(0xe7)]();}[_0x2bac87(0xdf)](){const _0x1b131c=_0x2bac87;this[_0x1b131c(0xe0)][_0x1b131c(0xdf)]();}[_0x2bac87(0x104)](){const _0x52e3be=_0x2bac87;this[_0x52e3be(0xe0)][_0x52e3be(0x104)]();}[_0x2bac87(0x11e)](){const _0x1da2db=_0x2bac87;this[_0x1da2db(0xe0)][_0x1da2db(0x11e)]();}[_0x2bac87(0xf7)](_0x3a6223,_0x30cab5){const _0xc767c8=_0x2bac87;this[_0xc767c8(0xd0)][_0xc767c8(0xd6)](_0x3a6223,_0x30cab5);}[_0x2bac87(0x118)](){const _0x4a9b95=_0x2bac87;this[_0x4a9b95(0xd0)][_0x4a9b95(0xd2)]();}[_0x2bac87(0xd5)](){const _0x384021=_0x2bac87;this[_0x384021(0xd0)][_0x384021(0xd5)]();}[_0x2bac87(0xcb)](){const _0x48ac23=_0x2bac87;this[_0x48ac23(0xd0)][_0x48ac23(0xcb)]();}[_0x2bac87(0x103)](_0x2faf8c){const _0x4c0a30=_0x2bac87,_0x65dac2=this[_0x4c0a30(0xe0)][_0x4c0a30(0xe8)][_0x4c0a30(0xf1)]()[_0x4c0a30(0x113)](_0x5cea2f=>_0x5cea2f['id']===_0x2faf8c);return _0x65dac2?_0x65dac2[_0x4c0a30(0x114)]:null;}[_0x2bac87(0x119)](){const _0x2099f1=_0x2bac87;this[_0x2099f1(0xd0)][_0x2099f1(0x119)]();}}
23
+ const _0x5b9f52=_0x41a6;(function(_0x16f362,_0x8d4082){const _0x170056=_0x41a6,_0x3abd57=_0x16f362();while(!![]){try{const _0x56b604=parseInt(_0x170056(0xe4))/0x1*(-parseInt(_0x170056(0xde))/0x2)+parseInt(_0x170056(0xe2))/0x3*(-parseInt(_0x170056(0xe0))/0x4)+-parseInt(_0x170056(0xea))/0x5*(-parseInt(_0x170056(0xdf))/0x6)+parseInt(_0x170056(0xc8))/0x7*(-parseInt(_0x170056(0xfe))/0x8)+-parseInt(_0x170056(0xcc))/0x9+parseInt(_0x170056(0xee))/0xa*(-parseInt(_0x170056(0xe1))/0xb)+parseInt(_0x170056(0xb5))/0xc;if(_0x56b604===_0x8d4082)break;else _0x3abd57['push'](_0x3abd57['shift']());}catch(_0x32322b){_0x3abd57['push'](_0x3abd57['shift']());}}}(_0x52ea,0x76539));import{ContextPlugin as _0x59ab8b}from'ckeditor5/src/core.js';import{IconAIReview as _0x112eeb}from'ckeditor5/src/icons.js';import{BodyCollection as _0x4a95c9}from'ckeditor5/src/ui.js';import{AITabs as _0x378ea8}from'../aitabs/aitabs.js';import{AIReviewModeView as _0xd47131}from'./ui/aireviewmodeview.js';import{getTranslation as _0x4645a5}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x286d9b}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x5b9f52(0xca),_0x5b9f52(0xba),_0x5b9f52(0xae),_0x5b9f52(0xd4),_0x5b9f52(0xf1),_0x5b9f52(0xef),_0x5b9f52(0xa6),_0x5b9f52(0xc0),_0x5b9f52(0xa4),_0x5b9f52(0xc2),_0x5b9f52(0xbd),_0x5b9f52(0xc1)];export class AIReviewModeUI extends _0x59ab8b{[_0x5b9f52(0xe6)];[_0x5b9f52(0xec)];[_0x5b9f52(0xd0)];static get[_0x5b9f52(0xd7)](){return[_0x378ea8];}static get[_0x5b9f52(0xf3)](){const _0x3929e1=_0x5b9f52;return _0x3929e1(0xe5);}static get[_0x5b9f52(0xc7)](){return!0x0;}static get[_0x5b9f52(0xf8)](){return!0x0;}constructor(_0x4543c3){const _0x51a5a6=_0x5b9f52;super(_0x4543c3),this[_0x51a5a6(0xd0)]=new _0x4a95c9(this[_0x51a5a6(0xd6)][_0x51a5a6(0xad)]),this[_0x51a5a6(0xd0)][_0x51a5a6(0xb0)](),this[_0x51a5a6(0xe6)]=new _0xd47131(this[_0x51a5a6(0xd6)][_0x51a5a6(0xad)]),this[_0x51a5a6(0xe6)][_0x51a5a6(0xb7)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x51a5a6(0xec)]=new _0x286d9b(this[_0x51a5a6(0xd6)][_0x51a5a6(0xad)],this[_0x51a5a6(0xd0)]),this[_0x51a5a6(0xec)][_0x51a5a6(0xb7)](_0x51a5a6(0xc0),_0x51a5a6(0xa4),_0x51a5a6(0xc6))['to'](this);}[_0x5b9f52(0xd3)](){const _0x2899ee=_0x5b9f52,_0x3e96bb=this[_0x2899ee(0xd6)][_0x2899ee(0xa9)][_0x2899ee(0xcb)](_0x2899ee(0xbe));_0x3e96bb[_0x2899ee(0xc5)]['on'](_0x2899ee(0xcd),(_0x1e939b,_0x54fe97)=>{const _0x17469f=_0x2899ee;_0x17469f(0xf4)===_0x54fe97?this[_0x17469f(0xaa)](_0x17469f(0xca)):this[_0x17469f(0xaa)](_0x17469f(0xb6));}),_0x3e96bb[_0x2899ee(0xc5)][_0x2899ee(0xa1)]({'id':_0x2899ee(0xf4),'buttonLabel':_0x4645a5(this[_0x2899ee(0xd6)][_0x2899ee(0xad)],_0x2899ee(0xd8)),'buttonIcon':_0x112eeb,'order':0x0,'content':this[_0x2899ee(0xe6)]});}[_0x5b9f52(0xda)](){const _0x4fa7c7=_0x5b9f52;this[_0x4fa7c7(0xd0)][_0x4fa7c7(0xa3)](),super[_0x4fa7c7(0xda)]();}[_0x5b9f52(0xfb)](_0x104a27){const _0x2b3f4b=_0x5b9f52;this[_0x2b3f4b(0xe6)][_0x2b3f4b(0xf0)][_0x2b3f4b(0xce)]()||this[_0x2b3f4b(0xe6)][_0x2b3f4b(0xf0)][_0x2b3f4b(0xbb)](_0x104a27),this[_0x2b3f4b(0xe6)][_0x2b3f4b(0xc9)]();}[_0x5b9f52(0xdd)](){const _0x49c2b6=_0x5b9f52;this[_0x49c2b6(0xaa)](_0x49c2b6(0xca));}[_0x5b9f52(0xc4)](_0x1901ac){const _0xa6888b=_0x5b9f52;_0x1901ac&&(_0xa6888b(0xb8)!==_0x1901ac[_0xa6888b(0xf6)]?_0xa6888b(0xab)!==_0x1901ac[_0xa6888b(0xf6)]?this[_0xa6888b(0xe6)][_0xa6888b(0xfd)]():this[_0xa6888b(0xe7)]():this[_0xa6888b(0xd2)]());}[_0x5b9f52(0xe8)](_0x51df62){const _0x4e54b6=_0x5b9f52;this[_0x4e54b6(0xe6)][_0x4e54b6(0xa2)](_0x51df62);}[_0x5b9f52(0xd2)](){const _0x6ff164=_0x5b9f52;this[_0x6ff164(0xe6)][_0x6ff164(0xd2)]();}[_0x5b9f52(0xdc)](_0x1820c1){const _0x140532=_0x5b9f52;this[_0x140532(0xe6)][_0x140532(0xdc)](_0x1820c1??_0x4645a5(this[_0x140532(0xd6)][_0x140532(0xad)],_0x140532(0xfc)));}[_0x5b9f52(0xe7)](){const _0x331deb=_0x5b9f52;this[_0x331deb(0xe6)][_0x331deb(0xe7)]();}[_0x5b9f52(0xf9)](_0x47ac61,_0x1f8454){const _0x346a98=_0x5b9f52;this[_0x346a98(0xe6)][_0x346a98(0xd9)][_0x346a98(0xf5)](_0x47ac61,_0x1f8454);}[_0x5b9f52(0xb1)](_0x2a577e){const _0x435bfb=_0x5b9f52;this[_0x435bfb(0xe6)][_0x435bfb(0xd9)][_0x435bfb(0xbc)]()[_0x435bfb(0xac)](_0x15ea5f=>{const _0x4d477e=_0x435bfb;_0x15ea5f['id']===_0x2a577e&&_0x15ea5f[_0x4d477e(0xb2)]();});}[_0x5b9f52(0xbf)](){const _0x1c4b68=_0x5b9f52;this[_0x1c4b68(0xe6)][_0x1c4b68(0xd9)][_0x1c4b68(0xbc)]()[_0x1c4b68(0xac)](_0x2d567f=>_0x2d567f[_0x1c4b68(0xa7)]());}[_0x5b9f52(0xe3)](_0x163358,_0x497e0f){const _0x583472=_0x5b9f52;_0x583472(0xaf)===_0x497e0f||_0x583472(0xa5)===_0x497e0f||_0x583472(0xb4)===_0x497e0f?this[_0x583472(0xe6)][_0x583472(0xd9)][_0x583472(0xd5)](_0x163358,_0x497e0f):this[_0x583472(0xe6)][_0x583472(0xd9)][_0x583472(0xd1)](_0x163358,_0x497e0f);}[_0x5b9f52(0xdb)](){const _0x3af404=_0x5b9f52;this[_0x3af404(0xe6)][_0x3af404(0xdb)]();}[_0x5b9f52(0xeb)](){const _0xaf17f5=_0x5b9f52;this[_0xaf17f5(0xe6)][_0xaf17f5(0xeb)]();}[_0x5b9f52(0xed)](){const _0x3a2b66=_0x5b9f52;this[_0x3a2b66(0xe6)][_0x3a2b66(0xed)]();}[_0x5b9f52(0xcf)](){const _0x3a5938=_0x5b9f52;this[_0x3a5938(0xe6)][_0x3a5938(0xcf)]();}[_0x5b9f52(0xf7)](_0x444223,_0x22ad77,_0x3d494d,_0x167007,_0x274554,_0x55fdfa){const _0x219f41=_0x5b9f52;this[_0x219f41(0xec)][_0x219f41(0xb3)](_0x444223,_0x22ad77,_0x3d494d,_0x167007,_0x274554,_0x55fdfa);}[_0x5b9f52(0xe9)](){const _0x3728cf=_0x5b9f52;this[_0x3728cf(0xec)][_0x3728cf(0xc3)]();}[_0x5b9f52(0xfa)](){const _0x386e09=_0x5b9f52;this[_0x386e09(0xec)][_0x386e09(0xfa)]();}[_0x5b9f52(0xa8)](){const _0x4bd566=_0x5b9f52;this[_0x4bd566(0xec)][_0x4bd566(0xa8)]();}[_0x5b9f52(0xff)](_0x32cd69){const _0x1f342f=_0x5b9f52,_0x2c0122=this[_0x1f342f(0xe6)][_0x1f342f(0xd9)][_0x1f342f(0xbc)]()[_0x1f342f(0xf2)](_0x538aa5=>_0x538aa5['id']===_0x32cd69);return _0x2c0122?_0x2c0122[_0x1f342f(0xb9)]:null;}[_0x5b9f52(0xc6)](){const _0x2cabe8=_0x5b9f52;this[_0x2cabe8(0xec)][_0x2cabe8(0xc6)]();}}function _0x41a6(_0x52388e,_0x2a52d2){const _0x52eaeb=_0x52ea();return _0x41a6=function(_0x41a66b,_0x18704a){_0x41a66b=_0x41a66b-0xa1;let _0x2adc2d=_0x52eaeb[_0x41a66b];return _0x2adc2d;},_0x41a6(_0x52388e,_0x2a52d2);}function _0x52ea(){const _0x41722f=['init','toggleDiff','hideResult','context','requires','AI_REVIEW_MODE','reviewCheckResultsView','destroy','showReviewCompletedView','showGeneralReviewModeErrorView','showReviewCheckList','42278XuPGiy','47082zdbevf','16VXSwPO','8864504NrYGSN','437406aTPVXW','updateChangeState','4lNUaGe','AIReviewModeUI','_reviewModeView','showChunkErrorView','showCheckRunResult','hideChangeBalloon','310ZIbPBX','showActionsWhenResultIsReady','_reviewModeBalloonSuggestionItemView','showNoChangesView','10ufyjQC','leaveReviewModeResultList','reviewCheckListView','acceptAllChanges','find','pluginName','reviewMode','setTitle','status','showChangeBalloon','isPremiumPlugin','setCheckResultTitle','hideDiffInBalloon','setAvailableChecks','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','showReviewCheckResultsView','1744016qZOwhO','getChangeElement','addTab','addCheckRunResult','detachFromDom','dismissChange','rejected','activateChange','setItemAsInactive','showDiffInBalloon','plugins','fire','error-chunk','forEach','locale','abortReviewStream','accepted','attachToDom','setActiveStateInResults','setItemAsActive','showBalloon','outdated','31061004Qvnwkz','leaveReviewMode','delegate','error-general','element','runReviewCheck','setChecks','getResults','finishReview','AITabs','resetActiveStateInResults','acceptChange','retryReview','learnMore','hideBalloon','showCheckRunResults','view','deactivateChange','isOfficialPlugin','21CFiFJe','showReviewCheckListView','getReviewCheckList','get','4163688ejOvjk','activateTab','hasChecks','hideActionsWhenResultIsReady','_bodyCollection','showResult','showGeneralResultsErrorView'];_0x52ea=function(){return _0x41722f;};return _0x52ea();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x421afc=_0x4598;(function(_0xcc8ab7,_0x2e7044){var _0x3b5f14=_0x4598,_0x163edc=_0xcc8ab7();while(!![]){try{var _0xba8ec3=parseInt(_0x3b5f14(0x1fc))/0x1+parseInt(_0x3b5f14(0x1fd))/0x2+parseInt(_0x3b5f14(0x1f2))/0x3+-parseInt(_0x3b5f14(0x1f3))/0x4+-parseInt(_0x3b5f14(0x1f5))/0x5*(parseInt(_0x3b5f14(0x1fe))/0x6)+parseInt(_0x3b5f14(0x1f9))/0x7+-parseInt(_0x3b5f14(0x1f6))/0x8*(parseInt(_0x3b5f14(0x1ff))/0x9);if(_0xba8ec3===_0x2e7044)break;else _0x163edc['push'](_0x163edc['shift']());}catch(_0x4b8e98){_0x163edc['push'](_0x163edc['shift']());}}}(_0x110f,0xc3be2));function _0x4598(_0x48987a,_0x5934b2){var _0x110fe1=_0x110f();return _0x4598=function(_0x4598a8,_0x336488){_0x4598a8=_0x4598a8-0x1f2;var _0x33c33d=_0x110fe1[_0x4598a8];return _0x33c33d;},_0x4598(_0x48987a,_0x5934b2);}function _0x110f(){var _0x118fc0=['title','5KPdtXk','568OVJMQH','options','description','5632942gkOQst','useArgs','isParameterized','285855JCsgDQ','523124YoJBPw','467184hRrUUb','4509SrUUrG','1617960GPoJVV','3904984ArFwdk'];_0x110f=function(){return _0x118fc0;};return _0x110f();}export class AIReviewCheck{['id'];[_0x421afc(0x1f4)];[_0x421afc(0x1f8)];[_0x421afc(0x1fb)];[_0x421afc(0x1fa)];[_0x421afc(0x1f7)];constructor({id:_0x1bc165,title:_0x190253,description:_0xee51e7,isParameterized:_0x3082a4,useArgs:_0xf2eb09,options:_0x530248}){var _0x5b3ace=_0x421afc;this['id']=_0x1bc165,this[_0x5b3ace(0x1f4)]=_0x190253,this[_0x5b3ace(0x1f8)]=_0xee51e7,this[_0x5b3ace(0x1fb)]=_0x3082a4,this[_0x5b3ace(0x1fa)]=_0xf2eb09,this[_0x5b3ace(0x1f7)]=_0x530248;}}
23
+ var _0x505a0b=_0x15d3;(function(_0x31799e,_0x304fe4){var _0x19f161=_0x15d3,_0x1051a6=_0x31799e();while(!![]){try{var _0x7a6b1d=-parseInt(_0x19f161(0x15a))/0x1*(-parseInt(_0x19f161(0x153))/0x2)+-parseInt(_0x19f161(0x158))/0x3+parseInt(_0x19f161(0x155))/0x4*(-parseInt(_0x19f161(0x157))/0x5)+parseInt(_0x19f161(0x15c))/0x6*(-parseInt(_0x19f161(0x154))/0x7)+parseInt(_0x19f161(0x15b))/0x8+parseInt(_0x19f161(0x151))/0x9*(parseInt(_0x19f161(0x150))/0xa)+parseInt(_0x19f161(0x15d))/0xb;if(_0x7a6b1d===_0x304fe4)break;else _0x1051a6['push'](_0x1051a6['shift']());}catch(_0x5c3ba8){_0x1051a6['push'](_0x1051a6['shift']());}}}(_0x3452,0x38bc6));function _0x15d3(_0x209924,_0x346ecc){var _0x345202=_0x3452();return _0x15d3=function(_0x15d3e9,_0x3a019c){_0x15d3e9=_0x15d3e9-0x14f;var _0x19347b=_0x345202[_0x15d3e9];return _0x19347b;},_0x15d3(_0x209924,_0x346ecc);}function _0x3452(){var _0xc09c0b=['100JbxAYK','1202937heGjgx','useArgs','14QtXyxl','3592144WdlAzC','607494uTFDmE','2427733AImrUA','options','description','6730QNPaDt','5319trPphU','isParameterized','3542KDKOPy','7MjGLvG','71528vFJxpp','title'];_0x3452=function(){return _0xc09c0b;};return _0x3452();}export class AIReviewCheck{['id'];[_0x505a0b(0x156)];[_0x505a0b(0x14f)];[_0x505a0b(0x152)];[_0x505a0b(0x159)];[_0x505a0b(0x15e)];constructor({id:_0x5d4d0a,title:_0x30b433,description:_0x48348c,isParameterized:_0x1812aa,useArgs:_0x22fce4,options:_0x43893a}){var _0xa74c8c=_0x505a0b;this['id']=_0x5d4d0a,this[_0xa74c8c(0x156)]=_0x30b433,this[_0xa74c8c(0x14f)]=_0x48348c,this[_0xa74c8c(0x152)]=_0x1812aa,this[_0xa74c8c(0x159)]=_0x22fce4,this[_0xa74c8c(0x15e)]=_0x43893a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xc1b212=_0x575f;function _0x24d1(){var _0x4c9e1c=['3689yrQsFB','5736992ArHnDI','8923705bSXWro','1170WLLxgS','1958832yQpakK','_models','1025128RcyjDl','2WBxpQp','357843gapAmi','models','29309490QfBKdE'];_0x24d1=function(){return _0x4c9e1c;};return _0x24d1();}(function(_0x480b4b,_0x5ae2a6){var _0x387c38=_0x575f,_0x3db7d4=_0x480b4b();while(!![]){try{var _0x4eaf49=-parseInt(_0x387c38(0xf0))/0x1+parseInt(_0x387c38(0xf1))/0x2*(parseInt(_0x387c38(0xf2))/0x3)+-parseInt(_0x387c38(0xee))/0x4+-parseInt(_0x387c38(0xec))/0x5+parseInt(_0x387c38(0xed))/0x6*(parseInt(_0x387c38(0xea))/0x7)+parseInt(_0x387c38(0xeb))/0x8+parseInt(_0x387c38(0xf4))/0x9;if(_0x4eaf49===_0x5ae2a6)break;else _0x3db7d4['push'](_0x3db7d4['shift']());}catch(_0x299667){_0x3db7d4['push'](_0x3db7d4['shift']());}}}(_0x24d1,0xdaccb));function _0x575f(_0x5b17c3,_0x1d93fb){var _0x24d16e=_0x24d1();return _0x575f=function(_0x575fc0,_0x3d4f8e){_0x575fc0=_0x575fc0-0xea;var _0x23f822=_0x24d16e[_0x575fc0];return _0x23f822;},_0x575f(_0x5b17c3,_0x1d93fb);}import{AIReviewCheck as _0x3bc3a7}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x3bc3a7{[_0xc1b212(0xef)]=[];get[_0xc1b212(0xf3)](){var _0x4a9b84=_0xc1b212;return this[_0x4a9b84(0xef)];}set[_0xc1b212(0xf3)](_0x482127){var _0x1fbe70=_0xc1b212;this[_0x1fbe70(0xef)]=_0x482127;}}
23
+ var _0x2b3733=_0x4b5e;(function(_0x51dc58,_0x4f468e){var _0x134d8c=_0x4b5e,_0x441b62=_0x51dc58();while(!![]){try{var _0xa9eb53=parseInt(_0x134d8c(0xb1))/0x1*(-parseInt(_0x134d8c(0xba))/0x2)+-parseInt(_0x134d8c(0xb7))/0x3+parseInt(_0x134d8c(0xb5))/0x4+-parseInt(_0x134d8c(0xb4))/0x5+parseInt(_0x134d8c(0xb3))/0x6*(parseInt(_0x134d8c(0xb8))/0x7)+parseInt(_0x134d8c(0xbd))/0x8*(-parseInt(_0x134d8c(0xb2))/0x9)+parseInt(_0x134d8c(0xbb))/0xa*(parseInt(_0x134d8c(0xbc))/0xb);if(_0xa9eb53===_0x4f468e)break;else _0x441b62['push'](_0x441b62['shift']());}catch(_0x5189cf){_0x441b62['push'](_0x441b62['shift']());}}}(_0x1003,0x8c2e7));import{AIReviewCheck as _0x52c1b7}from'./aireviewcheck.js';function _0x4b5e(_0x573695,_0x464290){var _0x100387=_0x1003();return _0x4b5e=function(_0x4b5e27,_0x4f0db0){_0x4b5e27=_0x4b5e27-0xb1;var _0x36c21d=_0x100387[_0x4b5e27];return _0x36c21d;},_0x4b5e(_0x573695,_0x464290);}export class AIReviewCheckCustom extends _0x52c1b7{[_0x2b3733(0xb6)]=[];get[_0x2b3733(0xb9)](){var _0x4f99c9=_0x2b3733;return this[_0x4f99c9(0xb6)];}set[_0x2b3733(0xb9)](_0x208cc8){var _0x3d7fc8=_0x2b3733;this[_0x3d7fc8(0xb6)]=_0x208cc8;}}function _0x1003(){var _0xf3dedf=['8iMORDL','3Kwgvvj','8140842nEQGxc','74562htgpfz','5103595tAOkdY','1300364sAKdJS','_models','3052836MBrKAu','140XCyIST','models','16998BjLHwv','20YbFkDl','16329049ONArrL'];_0x1003=function(){return _0xf3dedf;};return _0x1003();}
@@ -24,5 +24,9 @@ export declare class AIReviewCheckList extends /* #__PURE__ */ AIReviewCheckList
24
24
  * Returns the check by its ID.
25
25
  */
26
26
  getCheckById(id: string): AIReviewCheck | undefined;
27
+ /**
28
+ * Removes the check by its ID.
29
+ */
30
+ removeCheckById(id: string): void;
27
31
  }
28
32
  export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x293e83=_0x4bd0;(function(_0x3ee8d3,_0x201afc){var _0x377af3=_0x4bd0,_0x4a8dfd=_0x3ee8d3();while(!![]){try{var _0x1f9326=-parseInt(_0x377af3(0xd3))/0x1+parseInt(_0x377af3(0xdc))/0x2+parseInt(_0x377af3(0xdf))/0x3*(parseInt(_0x377af3(0xd4))/0x4)+-parseInt(_0x377af3(0xde))/0x5+-parseInt(_0x377af3(0xd6))/0x6+-parseInt(_0x377af3(0xd7))/0x7+parseInt(_0x377af3(0xda))/0x8;if(_0x1f9326===_0x201afc)break;else _0x4a8dfd['push'](_0x4a8dfd['shift']());}catch(_0x1dcfd2){_0x4a8dfd['push'](_0x4a8dfd['shift']());}}}(_0x15c5,0x9c84e));function _0x15c5(){var _0x557d22=['custom','_mapCheckDefinitions','395811meagzN','1504vrYCXZ','getCheckById','2588868EjPUtr','6478262sldJtX','map','find','9792456yruMOi','checks','1347694ByBzee','_checks','1178715QYITva','5838IFFQXN'];_0x15c5=function(){return _0x557d22;};return _0x15c5();}import{ObservableMixin as _0x56e9c6}from'ckeditor5/src/utils.js';function _0x4bd0(_0x403ad1,_0x2431d3){var _0x15c5b1=_0x15c5();return _0x4bd0=function(_0x4bd0d9,_0x641fe9){_0x4bd0d9=_0x4bd0d9-0xd3;var _0x27f5b5=_0x15c5b1[_0x4bd0d9];return _0x27f5b5;},_0x4bd0(_0x403ad1,_0x2431d3);}import{AIReviewCheck as _0x178232}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x251d1a}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x56e9c6(){[_0x293e83(0xdd)];constructor(_0x13577b){var _0x53ad32=_0x293e83;super(),this[_0x53ad32(0xdd)]=this[_0x53ad32(0xe1)](_0x13577b);}get[_0x293e83(0xdb)](){var _0x50849a=_0x293e83;return this[_0x50849a(0xdd)];}[_0x293e83(0xd5)](_0x311e44){var _0x876203=_0x293e83;return this[_0x876203(0xdb)][_0x876203(0xd9)](_0x288e0c=>_0x288e0c['id']===_0x311e44);}[_0x293e83(0xe1)](_0x4e2f36){var _0x4b82aa=_0x293e83;return _0x4e2f36[_0x4b82aa(0xd8)](_0x1600ec=>_0x4b82aa(0xe0)===_0x1600ec['id']?new _0x251d1a(_0x1600ec):new _0x178232(_0x1600ec));}}
23
+ var _0x3fda91=_0x5906;(function(_0x20b6bd,_0x30b747){var _0x3dc1d6=_0x5906,_0x54ea93=_0x20b6bd();while(!![]){try{var _0x51a37e=parseInt(_0x3dc1d6(0x17d))/0x1+parseInt(_0x3dc1d6(0x18b))/0x2+-parseInt(_0x3dc1d6(0x183))/0x3*(-parseInt(_0x3dc1d6(0x188))/0x4)+-parseInt(_0x3dc1d6(0x185))/0x5+-parseInt(_0x3dc1d6(0x18c))/0x6*(parseInt(_0x3dc1d6(0x182))/0x7)+parseInt(_0x3dc1d6(0x180))/0x8+parseInt(_0x3dc1d6(0x181))/0x9;if(_0x51a37e===_0x30b747)break;else _0x54ea93['push'](_0x54ea93['shift']());}catch(_0x4dcaba){_0x54ea93['push'](_0x54ea93['shift']());}}}(_0xc4c5,0xc85a6));function _0x5906(_0x493536,_0x535402){var _0xc4c5b6=_0xc4c5();return _0x5906=function(_0x5906ba,_0x1634b6){_0x5906ba=_0x5906ba-0x17c;var _0x5a857a=_0xc4c5b6[_0x5906ba];return _0x5a857a;},_0x5906(_0x493536,_0x535402);}function _0xc4c5(){var _0x350dc9=['950652HHzCTT','20258RnLztW','15NBvhMo','custom','4371080Wnztjj','removeCheckById','_checks','1067596dtFjpe','_mapCheckDefinitions','checks','602600nvlrqW','2406iVNYPK','filter','find','360578oUWlxS','map','getCheckById','6026840FZfCbt'];_0xc4c5=function(){return _0x350dc9;};return _0xc4c5();}import{ObservableMixin as _0x3c85b9}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x10d9b0}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x782e4b}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x3c85b9(){[_0x3fda91(0x187)];constructor(_0xe74036){var _0x2f794c=_0x3fda91;super(),this[_0x2f794c(0x187)]=this[_0x2f794c(0x189)](_0xe74036);}get[_0x3fda91(0x18a)](){var _0x1ae0a8=_0x3fda91;return this[_0x1ae0a8(0x187)];}[_0x3fda91(0x17f)](_0xf7ab0c){var _0x355733=_0x3fda91;return this[_0x355733(0x18a)][_0x355733(0x17c)](_0x28e2d2=>_0x28e2d2['id']===_0xf7ab0c);}[_0x3fda91(0x186)](_0xf2e938){var _0x1be219=_0x3fda91;this[_0x1be219(0x187)]=this[_0x1be219(0x187)][_0x1be219(0x18d)](_0x4a50c7=>_0x4a50c7['id']!==_0xf2e938);}[_0x3fda91(0x189)](_0x45ef1e){var _0x1ca676=_0x3fda91;return _0x45ef1e[_0x1ca676(0x17e)](_0x42d59e=>_0x1ca676(0x184)===_0x42d59e['id']?new _0x782e4b(_0x42d59e):new _0x10d9b0(_0x42d59e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x242b9a=_0x5ecf;(function(_0x4211ac,_0x3c16f6){var _0x493f79=_0x5ecf,_0xcf961d=_0x4211ac();while(!![]){try{var _0x4221d6=parseInt(_0x493f79(0x1e3))/0x1*(-parseInt(_0x493f79(0x1e7))/0x2)+parseInt(_0x493f79(0x1ea))/0x3*(parseInt(_0x493f79(0x1e5))/0x4)+-parseInt(_0x493f79(0x1eb))/0x5+-parseInt(_0x493f79(0x1e6))/0x6+-parseInt(_0x493f79(0x1ee))/0x7*(parseInt(_0x493f79(0x1e8))/0x8)+-parseInt(_0x493f79(0x1ed))/0x9*(-parseInt(_0x493f79(0x1e9))/0xa)+parseInt(_0x493f79(0x1ef))/0xb;if(_0x4221d6===_0x3c16f6)break;else _0xcf961d['push'](_0xcf961d['shift']());}catch(_0x45240f){_0xcf961d['push'](_0xcf961d['shift']());}}}(_0x39d1,0xb7307));function _0x5ecf(_0x2b5e33,_0x16e94b){var _0x39d1ba=_0x39d1();return _0x5ecf=function(_0x5ecfba,_0x20982d){_0x5ecfba=_0x5ecfba-0x1e2;var _0xe425df=_0x39d1ba[_0x5ecfba];return _0xe425df;},_0x5ecf(_0x2b5e33,_0x16e94b);}function _0x39d1(){var _0x1422bd=['2398645iThhMR','contentInitial','2971035QDhzmX','6433ZtFwsM','20392163IEqHuQ','documentVersion','2wTQVli','contentNew','28MOolPm','7548666xZJhvu','1176944qMtTpv','7416AKbtBs','40WxkfYF','575463pgEmls'];_0x39d1=function(){return _0x1422bd;};return _0x39d1();}import{EmitterMixin as _0x122540}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x122540(){['id'];[_0x242b9a(0x1e4)];[_0x242b9a(0x1ec)];[_0x242b9a(0x1e2)];constructor({id:_0x433da0,contentNew:_0x224733,contentInitial:_0xff26f7,documentVersion:_0xca7d27}){var _0x361989=_0x242b9a;super(),this['id']=_0x433da0,this[_0x361989(0x1e4)]=_0x224733,this[_0x361989(0x1ec)]=_0xff26f7,this[_0x361989(0x1e2)]=_0xca7d27;}}
23
+ var _0x156ebd=_0xedd6;function _0xedd6(_0xafbfe,_0xcc69c4){var _0x435bad=_0x435b();return _0xedd6=function(_0xedd6eb,_0x4b8fa3){_0xedd6eb=_0xedd6eb-0x70;var _0x3075ef=_0x435bad[_0xedd6eb];return _0x3075ef;},_0xedd6(_0xafbfe,_0xcc69c4);}(function(_0x31d891,_0x2bddf3){var _0x1c57b4=_0xedd6,_0x488d0b=_0x31d891();while(!![]){try{var _0x40dae0=-parseInt(_0x1c57b4(0x7d))/0x1*(-parseInt(_0x1c57b4(0x71))/0x2)+-parseInt(_0x1c57b4(0x79))/0x3*(-parseInt(_0x1c57b4(0x73))/0x4)+parseInt(_0x1c57b4(0x76))/0x5*(-parseInt(_0x1c57b4(0x77))/0x6)+-parseInt(_0x1c57b4(0x7c))/0x7*(-parseInt(_0x1c57b4(0x7e))/0x8)+parseInt(_0x1c57b4(0x72))/0x9+-parseInt(_0x1c57b4(0x74))/0xa*(-parseInt(_0x1c57b4(0x78))/0xb)+-parseInt(_0x1c57b4(0x75))/0xc;if(_0x40dae0===_0x2bddf3)break;else _0x488d0b['push'](_0x488d0b['shift']());}catch(_0x4c1099){_0x488d0b['push'](_0x488d0b['shift']());}}}(_0x435b,0x74e21));import{EmitterMixin as _0x4d787c}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x4d787c(){['id'];[_0x156ebd(0x7a)];[_0x156ebd(0x70)];[_0x156ebd(0x7b)];constructor({id:_0x373715,contentNew:_0x591bf3,contentInitial:_0xe26f43,documentVersion:_0x1b7a61}){var _0x4c34a=_0x156ebd;super(),this['id']=_0x373715,this[_0x4c34a(0x7a)]=_0x591bf3,this[_0x4c34a(0x70)]=_0xe26f43,this[_0x4c34a(0x7b)]=_0x1b7a61;}}function _0x435b(){var _0x21979e=['contentNew','documentVersion','133FeVgyl','25YslgBY','387976FjJENk','contentInitial','75742dvukxs','3429873GdUgzR','1156SyCzLe','4216330eYaDXZ','27899316iMaXwa','5eQnnnE','1650186LDiZKu','11OuqsmA','4233lQvnnw'];_0x435b=function(){return _0x21979e;};return _0x435b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x416e11=_0x3752;function _0x24df(){var _0x4b5687=['context','set','_data','status','isRated','7652659RWPfZu','6644076KKehhc','9YzzDol','3934068macORy','62727TjHIFo','change:status','719352vDevUg','5GzigDm','2969704llcgMJ','operations','_editorOperations','parent','pending','operationsIsolated','isActivated','330400UwJErh','contentDiffed'];_0x24df=function(){return _0x4b5687;};return _0x24df();}(function(_0x4a594d,_0x25739d){var _0x546e6e=_0x3752,_0x131968=_0x4a594d();while(!![]){try{var _0x48764d=-parseInt(_0x546e6e(0x190))/0x1+parseInt(_0x546e6e(0x19d))/0x2+parseInt(_0x546e6e(0x19b))/0x3+parseInt(_0x546e6e(0x19a))/0x4+-parseInt(_0x546e6e(0x188))/0x5*(parseInt(_0x546e6e(0x198))/0x6)+parseInt(_0x546e6e(0x197))/0x7+-parseInt(_0x546e6e(0x189))/0x8*(parseInt(_0x546e6e(0x199))/0x9);if(_0x48764d===_0x25739d)break;else _0x131968['push'](_0x131968['shift']());}catch(_0x312bc3){_0x131968['push'](_0x131968['shift']());}}}(_0x24df,0x9e4bc));import{ObservableMixin as _0xd9b935}from'ckeditor5/src/utils.js';function _0x3752(_0x15b9b0,_0xf10391){var _0x24df49=_0x24df();return _0x3752=function(_0x3752fa,_0x2169b4){_0x3752fa=_0x3752fa-0x188;var _0x1e59c6=_0x24df49[_0x3752fa];return _0x1e59c6;},_0x3752(_0x15b9b0,_0xf10391);}export class AIReviewCheckResultChange extends _0xd9b935(){['id'];[_0x416e11(0x18c)];[_0x416e11(0x194)];[_0x416e11(0x18b)]=[];constructor(_0x201263,_0xe4f139,_0x16bacd){var _0xfe434f=_0x416e11;super(),this['id']=_0x201263,this[_0xfe434f(0x18c)]=_0x16bacd,this[_0xfe434f(0x194)]=_0xe4f139,this[_0xfe434f(0x193)](_0xfe434f(0x18f),!0x1),this[_0xfe434f(0x193)](_0xfe434f(0x196),!0x1),this[_0xfe434f(0x193)](_0xfe434f(0x195),_0xfe434f(0x18d)),this['on'](_0xfe434f(0x19c),()=>{var _0x155cf8=_0xfe434f;_0x155cf8(0x18d)!==this[_0x155cf8(0x195)]&&this[_0x155cf8(0x18f)]&&(this[_0x155cf8(0x18f)]=!0x1);});}get[_0x416e11(0x191)](){var _0x4ad422=_0x416e11;return this[_0x4ad422(0x194)][_0x4ad422(0x192)]();}get[_0x416e11(0x18a)](){var _0x9aec09=_0x416e11;return this[_0x9aec09(0x194)][_0x9aec09(0x18a)];}get[_0x416e11(0x18e)](){var _0x1e987c=_0x416e11;return this[_0x1e987c(0x194)][_0x1e987c(0x18e)];}}
23
+ var _0x2dc000=_0x56cd;(function(_0x1783d4,_0x386ed7){var _0x19c77b=_0x56cd,_0x3343cb=_0x1783d4();while(!![]){try{var _0x2bd5d1=parseInt(_0x19c77b(0xf6))/0x1+-parseInt(_0x19c77b(0xeb))/0x2*(-parseInt(_0x19c77b(0xf1))/0x3)+-parseInt(_0x19c77b(0xf3))/0x4*(-parseInt(_0x19c77b(0xf7))/0x5)+-parseInt(_0x19c77b(0xfd))/0x6+parseInt(_0x19c77b(0xfb))/0x7*(-parseInt(_0x19c77b(0xed))/0x8)+-parseInt(_0x19c77b(0xee))/0x9*(parseInt(_0x19c77b(0xea))/0xa)+parseInt(_0x19c77b(0xfe))/0xb*(parseInt(_0x19c77b(0xf5))/0xc);if(_0x2bd5d1===_0x386ed7)break;else _0x3343cb['push'](_0x3343cb['shift']());}catch(_0x166242){_0x3343cb['push'](_0x3343cb['shift']());}}}(_0x17bb,0x8a22e));function _0x56cd(_0x48d0cf,_0x2a7198){var _0x17bb68=_0x17bb();return _0x56cd=function(_0x56cd74,_0x1084ab){_0x56cd74=_0x56cd74-0xea;var _0x5cc239=_0x17bb68[_0x56cd74];return _0x5cc239;},_0x56cd(_0x48d0cf,_0x2a7198);}import{ObservableMixin as _0x52d97b}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x52d97b(){['id'];[_0x2dc000(0xfa)];[_0x2dc000(0xef)];[_0x2dc000(0x102)]=[];constructor(_0x1214a8,_0x165611,_0xff0385){var _0x2aebec=_0x2dc000;super(),this['id']=_0x1214a8,this[_0x2aebec(0xfa)]=_0xff0385,this[_0x2aebec(0xef)]=_0x165611,this[_0x2aebec(0xf0)](_0x2aebec(0xff),!0x1),this[_0x2aebec(0xf0)](_0x2aebec(0xf2),!0x1),this[_0x2aebec(0xf0)](_0x2aebec(0xec),_0x2aebec(0x101)),this['on'](_0x2aebec(0xf4),()=>{var _0x249462=_0x2aebec;_0x249462(0x101)!==this[_0x249462(0xec)]&&this[_0x249462(0xff)]&&(this[_0x249462(0xff)]=!0x1);});}get[_0x2dc000(0x100)](){var _0x53a284=_0x2dc000;return this[_0x53a284(0xef)][_0x53a284(0xf9)]();}get[_0x2dc000(0xfc)](){var _0x5a055d=_0x2dc000;return this[_0x5a055d(0xef)][_0x5a055d(0xfc)];}get[_0x2dc000(0xf8)](){var _0x328147=_0x2dc000;return this[_0x328147(0xef)][_0x328147(0xf8)];}}function _0x17bb(){var _0x5cf975=['6417654wgnmeV','407IbFmlW','isActivated','contentDiffed','pending','_editorOperations','4428310ColWaW','1114166ZWxltJ','status','32bdLOSx','9WimLZp','_data','set','6msvnBc','isRated','20140jmJyAj','change:status','309648yljJRA','477839ftGQYV','635Yqmgys','operationsIsolated','context','parent','1938916BnSBuA','operations'];_0x17bb=function(){return _0x5cf975;};return _0x17bb();}
@@ -56,6 +56,10 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
56
56
  * Returns the current error that occurred during the check run, if any.
57
57
  */
58
58
  get currentError(): Error | undefined;
59
+ /**
60
+ * Updates the document data used for the check run. It allows to rerun the same check with different data.
61
+ */
62
+ updateDocumentData(documentData: AIDocumentData): void;
59
63
  /**
60
64
  * Starts the check run resulting in an API call. After the call is finished, the status
61
65
  * and list of changes are updated.
@@ -71,7 +75,9 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
71
75
  */
72
76
  abort(): void;
73
77
  isChangeActive(changeId: string): boolean;
78
+ isAnyChangeActivated(): boolean;
74
79
  getActiveChanges(): Array<AIReviewCheckResultChange>;
80
+ getChangeById(changeId: string): AIReviewCheckResultChange | undefined;
75
81
  markAllChangesAsAccepted(): void;
76
82
  markChangeAsAccepted(changeId: string): void;
77
83
  markChangeAsRejected(changeId: string): void;