@ckeditor/ckeditor5-ai 47.0.0-alpha.2 → 47.0.0-alpha.4

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 (384) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index-editor.css +50 -37
  41. package/dist/index.css +68 -38
  42. package/dist/index.js +4 -4
  43. package/dist/translations/af.js +1 -1
  44. package/dist/translations/af.umd.js +1 -1
  45. package/dist/translations/ar.js +1 -1
  46. package/dist/translations/ar.umd.js +1 -1
  47. package/dist/translations/ast.js +1 -1
  48. package/dist/translations/ast.umd.js +1 -1
  49. package/dist/translations/az.js +1 -1
  50. package/dist/translations/az.umd.js +1 -1
  51. package/dist/translations/be.js +1 -1
  52. package/dist/translations/be.umd.js +1 -1
  53. package/dist/translations/bg.js +1 -1
  54. package/dist/translations/bg.umd.js +1 -1
  55. package/dist/translations/bn.js +1 -1
  56. package/dist/translations/bn.umd.js +1 -1
  57. package/dist/translations/bs.js +1 -1
  58. package/dist/translations/bs.umd.js +1 -1
  59. package/dist/translations/ca.js +1 -1
  60. package/dist/translations/ca.umd.js +1 -1
  61. package/dist/translations/cs.js +1 -1
  62. package/dist/translations/cs.umd.js +1 -1
  63. package/dist/translations/da.js +1 -1
  64. package/dist/translations/da.umd.js +1 -1
  65. package/dist/translations/de-ch.js +1 -1
  66. package/dist/translations/de-ch.umd.js +1 -1
  67. package/dist/translations/de.js +1 -1
  68. package/dist/translations/de.umd.js +1 -1
  69. package/dist/translations/el.js +1 -1
  70. package/dist/translations/el.umd.js +1 -1
  71. package/dist/translations/en-au.js +1 -1
  72. package/dist/translations/en-au.umd.js +1 -1
  73. package/dist/translations/en-gb.js +1 -1
  74. package/dist/translations/en-gb.umd.js +1 -1
  75. package/dist/translations/en.js +1 -1
  76. package/dist/translations/en.umd.js +1 -1
  77. package/dist/translations/eo.js +1 -1
  78. package/dist/translations/eo.umd.js +1 -1
  79. package/dist/translations/es-co.js +1 -1
  80. package/dist/translations/es-co.umd.js +1 -1
  81. package/dist/translations/es.js +1 -1
  82. package/dist/translations/es.umd.js +1 -1
  83. package/dist/translations/et.js +1 -1
  84. package/dist/translations/et.umd.js +1 -1
  85. package/dist/translations/eu.js +1 -1
  86. package/dist/translations/eu.umd.js +1 -1
  87. package/dist/translations/fa.js +1 -1
  88. package/dist/translations/fa.umd.js +1 -1
  89. package/dist/translations/fi.js +1 -1
  90. package/dist/translations/fi.umd.js +1 -1
  91. package/dist/translations/fr.js +1 -1
  92. package/dist/translations/fr.umd.js +1 -1
  93. package/dist/translations/gl.js +1 -1
  94. package/dist/translations/gl.umd.js +1 -1
  95. package/dist/translations/gu.js +1 -1
  96. package/dist/translations/gu.umd.js +1 -1
  97. package/dist/translations/he.js +1 -1
  98. package/dist/translations/he.umd.js +1 -1
  99. package/dist/translations/hi.js +1 -1
  100. package/dist/translations/hi.umd.js +1 -1
  101. package/dist/translations/hr.js +1 -1
  102. package/dist/translations/hr.umd.js +1 -1
  103. package/dist/translations/hu.js +1 -1
  104. package/dist/translations/hu.umd.js +1 -1
  105. package/dist/translations/hy.js +1 -1
  106. package/dist/translations/hy.umd.js +1 -1
  107. package/dist/translations/id.js +1 -1
  108. package/dist/translations/id.umd.js +1 -1
  109. package/dist/translations/it.js +1 -1
  110. package/dist/translations/it.umd.js +1 -1
  111. package/dist/translations/ja.js +1 -1
  112. package/dist/translations/ja.umd.js +1 -1
  113. package/dist/translations/jv.js +1 -1
  114. package/dist/translations/jv.umd.js +1 -1
  115. package/dist/translations/kk.js +1 -1
  116. package/dist/translations/kk.umd.js +1 -1
  117. package/dist/translations/km.js +1 -1
  118. package/dist/translations/km.umd.js +1 -1
  119. package/dist/translations/kn.js +1 -1
  120. package/dist/translations/kn.umd.js +1 -1
  121. package/dist/translations/ko.js +1 -1
  122. package/dist/translations/ko.umd.js +1 -1
  123. package/dist/translations/ku.js +1 -1
  124. package/dist/translations/ku.umd.js +1 -1
  125. package/dist/translations/lt.js +1 -1
  126. package/dist/translations/lt.umd.js +1 -1
  127. package/dist/translations/lv.js +1 -1
  128. package/dist/translations/lv.umd.js +1 -1
  129. package/dist/translations/ms.js +1 -1
  130. package/dist/translations/ms.umd.js +1 -1
  131. package/dist/translations/nb.js +1 -1
  132. package/dist/translations/nb.umd.js +1 -1
  133. package/dist/translations/ne.js +1 -1
  134. package/dist/translations/ne.umd.js +1 -1
  135. package/dist/translations/nl.js +1 -1
  136. package/dist/translations/nl.umd.js +1 -1
  137. package/dist/translations/no.js +1 -1
  138. package/dist/translations/no.umd.js +1 -1
  139. package/dist/translations/oc.js +1 -1
  140. package/dist/translations/oc.umd.js +1 -1
  141. package/dist/translations/pl.js +1 -1
  142. package/dist/translations/pl.umd.js +1 -1
  143. package/dist/translations/pt-br.js +1 -1
  144. package/dist/translations/pt-br.umd.js +1 -1
  145. package/dist/translations/pt.js +1 -1
  146. package/dist/translations/pt.umd.js +1 -1
  147. package/dist/translations/ro.js +1 -1
  148. package/dist/translations/ro.umd.js +1 -1
  149. package/dist/translations/ru.js +1 -1
  150. package/dist/translations/ru.umd.js +1 -1
  151. package/dist/translations/si.js +1 -1
  152. package/dist/translations/si.umd.js +1 -1
  153. package/dist/translations/sk.js +1 -1
  154. package/dist/translations/sk.umd.js +1 -1
  155. package/dist/translations/sl.js +1 -1
  156. package/dist/translations/sl.umd.js +1 -1
  157. package/dist/translations/sq.js +1 -1
  158. package/dist/translations/sq.umd.js +1 -1
  159. package/dist/translations/sr-latn.js +1 -1
  160. package/dist/translations/sr-latn.umd.js +1 -1
  161. package/dist/translations/sr.js +1 -1
  162. package/dist/translations/sr.umd.js +1 -1
  163. package/dist/translations/sv.js +1 -1
  164. package/dist/translations/sv.umd.js +1 -1
  165. package/dist/translations/th.js +1 -1
  166. package/dist/translations/th.umd.js +1 -1
  167. package/dist/translations/ti.js +1 -1
  168. package/dist/translations/ti.umd.js +1 -1
  169. package/dist/translations/tk.js +1 -1
  170. package/dist/translations/tk.umd.js +1 -1
  171. package/dist/translations/tr.js +1 -1
  172. package/dist/translations/tr.umd.js +1 -1
  173. package/dist/translations/tt.js +1 -1
  174. package/dist/translations/tt.umd.js +1 -1
  175. package/dist/translations/ug.js +1 -1
  176. package/dist/translations/ug.umd.js +1 -1
  177. package/dist/translations/uk.js +1 -1
  178. package/dist/translations/uk.umd.js +1 -1
  179. package/dist/translations/ur.js +1 -1
  180. package/dist/translations/ur.umd.js +1 -1
  181. package/dist/translations/uz.js +1 -1
  182. package/dist/translations/uz.umd.js +1 -1
  183. package/dist/translations/vi.js +1 -1
  184. package/dist/translations/vi.umd.js +1 -1
  185. package/dist/translations/zh-cn.js +1 -1
  186. package/dist/translations/zh-cn.umd.js +1 -1
  187. package/dist/translations/zh.js +1 -1
  188. package/dist/translations/zh.umd.js +1 -1
  189. package/lang/contexts.json +5 -0
  190. package/lang/translations/ar.po +171 -171
  191. package/lang/translations/bg.po +155 -155
  192. package/lang/translations/bn.po +155 -155
  193. package/lang/translations/ca.po +155 -155
  194. package/lang/translations/cs.po +159 -159
  195. package/lang/translations/da.po +155 -155
  196. package/lang/translations/de.po +155 -155
  197. package/lang/translations/el.po +155 -155
  198. package/lang/translations/es.po +155 -155
  199. package/lang/translations/et.po +155 -155
  200. package/lang/translations/fi.po +155 -155
  201. package/lang/translations/fr.po +155 -155
  202. package/lang/translations/he.po +155 -155
  203. package/lang/translations/hi.po +155 -155
  204. package/lang/translations/hu.po +155 -155
  205. package/lang/translations/id.po +151 -151
  206. package/lang/translations/it.po +155 -155
  207. package/lang/translations/ja.po +151 -151
  208. package/lang/translations/ko.po +151 -151
  209. package/lang/translations/lt.po +159 -159
  210. package/lang/translations/lv.po +159 -159
  211. package/lang/translations/ms.po +151 -151
  212. package/lang/translations/nl.po +155 -155
  213. package/lang/translations/no.po +155 -155
  214. package/lang/translations/pl.po +159 -159
  215. package/lang/translations/pt-br.po +155 -155
  216. package/lang/translations/pt.po +155 -155
  217. package/lang/translations/ro.po +159 -159
  218. package/lang/translations/ru.po +159 -159
  219. package/lang/translations/sk.po +159 -159
  220. package/lang/translations/sr.po +159 -159
  221. package/lang/translations/sv.po +155 -155
  222. package/lang/translations/th.po +151 -151
  223. package/lang/translations/tr.po +155 -155
  224. package/lang/translations/uk.po +159 -159
  225. package/lang/translations/vi.po +151 -151
  226. package/lang/translations/zh-cn.po +151 -151
  227. package/lang/translations/zh.po +151 -151
  228. package/package.json +16 -15
  229. package/src/aiactions/aiactions.js +1 -1
  230. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  231. package/src/aiactions/model/aiactionsreply.d.ts +2 -1
  232. package/src/aiactions/model/aiactionsreply.js +1 -1
  233. package/src/aiassistant/adapters/aiadapter.js +1 -1
  234. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  235. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  236. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  237. package/src/aiassistant/aiassistant.js +1 -1
  238. package/src/aiassistant/aiassistantediting.js +1 -1
  239. package/src/aiassistant/aiassistantui.js +1 -1
  240. package/src/aiassistant/legacyerrors.js +1 -1
  241. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  242. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  243. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  244. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  245. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  246. package/src/aiassistant/ui/form/aiformview.js +1 -1
  247. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  248. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  249. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  250. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  251. package/src/aiassistant/utils/common-translations.js +1 -1
  252. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  253. package/src/aiballoon/aiballoon.js +1 -1
  254. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  255. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  256. package/src/aiballoon/ui/aiballoonview.js +1 -1
  257. package/src/aichat/aichat.js +1 -1
  258. package/src/aichat/aichatcontroller.js +1 -1
  259. package/src/aichat/aichatui.js +1 -1
  260. package/src/aichat/model/aichatcontext.js +1 -1
  261. package/src/aichat/model/aichatconversation.js +1 -1
  262. package/src/aichat/model/aichatinteraction.js +1 -1
  263. package/src/aichat/model/aichatmodels.js +1 -1
  264. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  265. package/src/aichat/ui/aichatfeedview.js +1 -1
  266. package/src/aichat/ui/aichatheaderview.js +1 -1
  267. package/src/aichat/ui/aichatview.js +1 -1
  268. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  269. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  270. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  272. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  273. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  274. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  275. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  277. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  278. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  279. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  280. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  285. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -1
  286. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  287. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  288. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  289. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  290. package/src/aichat/utils/eventnames.js +1 -1
  291. package/src/aichat/utils/promisequeue.js +1 -1
  292. package/src/aichat/utils/scrollmanager.js +1 -1
  293. package/src/aichathistory/aichathistory.js +1 -1
  294. package/src/aichathistory/aichathistorycontroller.js +1 -1
  295. package/src/aichathistory/aichathistoryui.js +1 -1
  296. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  297. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  298. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  299. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  300. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  301. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  302. package/src/aicore/aiconnector.js +1 -1
  303. package/src/aicore/aiediting.js +1 -1
  304. package/src/aicore/model/aicapabilities.js +1 -1
  305. package/src/aicore/model/aicontext.js +1 -1
  306. package/src/aicore/model/aiinteraction.js +1 -1
  307. package/src/aicore/model/aireply.js +1 -1
  308. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  309. package/src/aicore/pipeline/airesponseparser.js +2 -2
  310. package/src/aicore/ui/aidisclaimerview.js +1 -1
  311. package/src/aicore/ui/aiskeleton.js +1 -1
  312. package/src/aicore/ui/aispinner.js +1 -1
  313. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  314. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
  315. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  316. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
  317. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  318. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
  319. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  320. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  321. package/src/aicore/utils/common-translations.js +1 -1
  322. package/src/aicore/utils/createresizebutton.js +1 -1
  323. package/src/aicore/utils/documentposition.js +1 -1
  324. package/src/aicore/utils/documentrange.js +1 -1
  325. package/src/aicore/utils/eventnames.js +1 -1
  326. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  327. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  328. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -1
  329. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  330. package/src/aicore/utils/htmlparser.js +1 -1
  331. package/src/aicore/utils/htmlstreamer.js +1 -1
  332. package/src/aiquickactions/aiquickactions.js +1 -1
  333. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  334. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  335. package/src/aiquickactions/aiquickactionsui.js +1 -1
  336. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  337. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  338. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  339. package/src/aiquickactions/utils/common-translations.js +1 -1
  340. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  341. package/src/aireviewmode/aireviewmode.js +1 -1
  342. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  343. package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
  344. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  345. package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
  346. package/src/aireviewmode/aireviewmodeui.js +1 -1
  347. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  348. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  349. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  350. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  351. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  352. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  353. package/src/aireviewmode/model/aireviewcheckrun.d.ts +19 -1
  354. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  355. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  356. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  357. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  358. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  359. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
  360. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
  361. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
  362. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  363. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  364. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  365. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
  366. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  367. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  368. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
  369. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  370. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
  371. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  372. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  373. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  374. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  375. package/src/aitabs/aitabs.js +1 -1
  376. package/src/aitabs/aitabsmainview.js +1 -1
  377. package/src/aitabs/tabs/aitabsview.js +1 -1
  378. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  379. package/src/aitabs/tabs/tabpanelview.js +1 -1
  380. package/src/index.js +1 -1
  381. package/theme/aichat/aichatfeed.css +6 -2
  382. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
  383. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  384. package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c45b7=_0x40a3;(function(_0x166e81,_0x12ac73){const _0x294dbe=_0x40a3,_0x52843f=_0x166e81();while(!![]){try{const _0x1ee048=-parseInt(_0x294dbe(0x1da))/0x1+-parseInt(_0x294dbe(0x1d7))/0x2*(-parseInt(_0x294dbe(0x236))/0x3)+parseInt(_0x294dbe(0x1c8))/0x4+-parseInt(_0x294dbe(0x1bf))/0x5*(parseInt(_0x294dbe(0x1d1))/0x6)+-parseInt(_0x294dbe(0x1ff))/0x7*(parseInt(_0x294dbe(0x208))/0x8)+-parseInt(_0x294dbe(0x1cb))/0x9+parseInt(_0x294dbe(0x22f))/0xa;if(_0x1ee048===_0x12ac73)break;else _0x52843f['push'](_0x52843f['shift']());}catch(_0x216502){_0x52843f['push'](_0x52843f['shift']());}}}(_0x113c,0xc792e));import{InsertOperation as _0xb9845b,MarkerOperation as _0x267fbe,ModelDocumentFragment as _0x516427,ModelPosition as _0x195fd3,ModelRange as _0x3d57eb,ModelTreeWalker as _0x50d6b8,transformOperationSets as _0x2a0558}from'ckeditor5/src/engine.js';import{uid as _0x547958}from'ckeditor5/src/utils.js';function _0x113c(){const _0x5d0221=['getDocumentData','warn','keys','requires','_clone','rejectChange','path','markers','markerName','[data-id=\x22','map','markChangePositionInEditorContent','backward','createRawElement','addOperation','ck-ai_review-mode-marker_add','model:$text','ellipsisAfter','isPremiumPlugin','clear','ck-ai_review-mode-marker_context-end','batch','_getOperationStart','createUIElement','baseVersion','createRange','oldRange','_changeRangeOwnerDocument','conversion','getContentElement','getChildren','_translateOperationToEditorContent','No\x20element\x20found\x20for\x20ID:\x20','createDocumentFragment','getPath','removeMarker','20184700hhtDsu','remove-text','_createGetContentFn','isOpening','hasContentBefore','$textProxy','downcast','102cDptlO','context','_getOperationEnd','switchToEdit','markerToHighlight','createSelection','ai-review-mode','start','getRoots','$markedRemove','getDiff','getChild','element','addMarker','elements','operationsIsolated','plugins','htmlWriter','$documentFragment','createText','delete','clone','data','deleteContent','afterInit','model','getShiftedBy','text','querySelector','getRoot','parse','disableReadOnlyMode','set','howMany','AIReviewModeEditing','isInline','name','insert','scrollToChangeInEditorContent','jumpTo','applyChange','type','_getChangeContext','_createGetContentUsingDataIdFn','isOfficialPlugin','index','operationsA','applyOperation','stringify','affectsData','toData','createPositionAt','version','hasContentAfter','for','_findAdjacentContextDistance','remove-context','suggestion-context','Scroll\x20to\x20change\x20in\x20editor\x20content','ck-ai_review-mode-marker_context-','createPositionAfter','flat','enableReadOnlyMode','htmlProcessor','log','viewToDom','filter','schema','markerToElement','offset','_appendChild','reviewmode-','DocumentCompare','_insertMarkers','_groupAdjacentOperations','editingDowncast','outerHTML','exec','25COFwQk','concat','ck-ai_review-mode-marker_strikethrough','offsetSize','_markers','change','add','getOperations','span','2020140XDvWKQ','values','ellipsisBefore','1839501iRKmjG','newRange','end','attributeToAttribute','diffContent','isTouching','1122846yxmnfi','history','ck-ai_review-mode-marker_hide','documentFragment','getHtml','isAtEnd','46032CyDyeZ','_changePosition','document','1196377woVRPn','from','append','suggestion:deletion:id:authorId:','hasClass','push','_removeChildren','getRange','parent','toDomElement','_changePositionOwnerDocument','domConverter','pluginName','_shiftOperation','nodes','AIEditing','switchToReadOnly','position','insertContent','isDocumentOperation','ck-ai_review-mode-marker_underline','getAttribute','clearAllMarkers','get','_createGetContextFn','isAtStart','toView','suggestion:insertion:id:authorId:','length','processor','dataDowncast','_changeRange','caption','groupId','_changeOperationOwnerDocument','_getMarkersDataForGroup','remove-only','1064868OguneK','marker','_setAttribute','_getTopElement','forward','startsWith','_nextDataId','innerHTML','childCount','8zPVNQy','every','ck-ai_review-mode-marker_context-start'];_0x113c=function(){return _0x5d0221;};return _0x113c();}import{ContextPlugin as _0x3d970f}from'ckeditor5/src/core.js';import{DocumentCompare as _0x1021eb,DATA_ID_MODEL_ATTRIBUTE as _0x3ac137,DATA_ID_VIEW_ATTRIBUTE as _0x51b304}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40a3(_0x22b9c7,_0x29e796){const _0x113cb5=_0x113c();return _0x40a3=function(_0x40a320,_0x22bbb6){_0x40a320=_0x40a320-0x18a;let _0x7b875d=_0x113cb5[_0x40a320];return _0x7b875d;},_0x40a3(_0x22b9c7,_0x29e796);}import{getEditorFromContext as _0x58615d}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x2c16c1}from'../aicore/aiediting.js';const Zt=_0x4c45b7(0x1b8);export class AIReviewModeEditing extends _0x3d970f{static get[_0x4c45b7(0x1e6)](){const _0x350ffe=_0x4c45b7;return _0x350ffe(0x193);}static get[_0x4c45b7(0x20e)](){return[_0x1021eb,_0x2c16c1];}static get[_0x4c45b7(0x19d)](){return!0x0;}static get[_0x4c45b7(0x21d)](){return!0x0;}[_0x4c45b7(0x1c3)]=new Map();[_0x4c45b7(0x24e)](){const _0x5dedf0=_0x4c45b7,_0x485f69=_0x58615d(this[_0x5dedf0(0x237)]);_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x1bc))[_0x5dedf0(0x1b5)]({'model':Zt+_0x5dedf0(0x196),'view':(_0x305726,{writer:_0x383f24})=>{const _0x19a347=_0x5dedf0,_0x1de06b=this[_0x19a347(0x1c3)][_0x19a347(0x1f1)](_0x305726[_0x19a347(0x213)]);return _0x383f24[_0x19a347(0x222)](_0x19a347(0x1c7),{'class':_0x19a347(0x21a)},function(_0x29f54e){const _0x2c7060=_0x19a347,_0x1db657=this[_0x2c7060(0x1e3)](_0x29f54e);return _0x1db657[_0x2c7060(0x206)]=_0x1de06b?.[_0x2c7060(0x18c)]||'',_0x1db657;});}}),_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x1f8))[_0x5dedf0(0x1b5)]({'model':Zt+_0x5dedf0(0x1aa),'view':(_0x1ad85d,{writer:_0x7c5d8c})=>_0x7c5d8c[_0x5dedf0(0x218)](_0x5dedf0(0x1c7),{'class':_0x5dedf0(0x1ac)+(_0x1ad85d[_0x5dedf0(0x232)]?_0x5dedf0(0x23d):_0x5dedf0(0x1cd))})}),_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x1bc))[_0x5dedf0(0x23a)]({'model':Zt+_0x5dedf0(0x1fe),'view':()=>({'classes':_0x5dedf0(0x1c1)})}),_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x1bc))[_0x5dedf0(0x23a)]({'model':Zt+_0x5dedf0(0x1a9),'view':()=>({'classes':_0x5dedf0(0x1ee)})}),_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x1bc))[_0x5dedf0(0x23a)]({'model':Zt+_0x5dedf0(0x230),'view':()=>({'classes':_0x5dedf0(0x1d3)})}),_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x235))[_0x5dedf0(0x1ce)]({'model':_0x3ac137,'view':_0x51b304});}[_0x4c45b7(0x20b)](){const _0x1813ce=_0x4c45b7,_0x12ce57=this[_0x1813ce(0x237)][_0x1813ce(0x246)][_0x1813ce(0x1f1)](_0x1813ce(0x1e9)),_0x3ad3e1=_0x58615d(this[_0x1813ce(0x237)]),_0x1faa2a=_0x3ad3e1[_0x1813ce(0x18a)],_0x43fb2b=new _0x516427();for(const _0x27a643 of _0x1faa2a[_0x1813ce(0x1d9)][_0x1813ce(0x18e)]()[_0x1813ce(0x229)]()){const _0x49442a=_0x27a643[_0x1813ce(0x20f)](!0x0);_0x43fb2b[_0x1813ce(0x1b7)](_0x49442a);}for(const _0x50235d of _0x1faa2a[_0x1813ce(0x212)])_0x43fb2b[_0x1813ce(0x212)][_0x1813ce(0x191)](_0x50235d[_0x1813ce(0x195)],this[_0x1813ce(0x226)](_0x50235d[_0x1813ce(0x1e1)]()[_0x1813ce(0x24b)](),_0x43fb2b));const _0x5b95a2=new _0x50d6b8({'ignoreElementEnd':!0x0,'startPosition':_0x1faa2a[_0x1813ce(0x1a4)](_0x43fb2b,0x0)}),_0x331ea7=new Set(),_0x34a560=new Map();for(const {item:_0x28d6b1}of _0x5b95a2){if(!_0x28d6b1['is'](_0x1813ce(0x234)))continue;const _0x107bb4=_0x28d6b1[_0x1813ce(0x1e2)];if((!_0x107bb4||!_0x107bb4['is'](_0x1813ce(0x242),_0x1813ce(0x1fa)))&&(_0x107bb4&&_0x107bb4['is'](_0x1813ce(0x242)))){let _0x40d4e5=_0x107bb4[_0x1813ce(0x1ef)](_0x3ac137);_0x40d4e5||(_0x40d4e5=_0x12ce57[_0x1813ce(0x205)](_0x331ea7),_0x107bb4[_0x1813ce(0x201)](_0x3ac137,_0x40d4e5)),_0x331ea7[_0x1813ce(0x1c5)](_0x40d4e5);const _0x5d94ee=this[_0x1813ce(0x202)](_0x107bb4);_0x34a560[_0x1813ce(0x191)](_0x40d4e5,{'path':_0x107bb4[_0x1813ce(0x22d)](),'getContent':this[_0x1813ce(0x19c)](_0x5d94ee[_0x1813ce(0x20f)](!0x0),_0x40d4e5,_0x3ad3e1[_0x1813ce(0x24c)])}),_0x5b95a2[_0x1813ce(0x198)](_0x1faa2a[_0x1813ce(0x1ad)](_0x107bb4));}}return{'content':_0x3ad3e1[_0x1813ce(0x24c)][_0x1813ce(0x1f7)][_0x1813ce(0x1a3)](_0x3ad3e1[_0x1813ce(0x24c)][_0x1813ce(0x1f4)](_0x43fb2b)),'version':_0x3ad3e1[_0x1813ce(0x18a)][_0x1813ce(0x1d9)][_0x1813ce(0x1a5)],'elements':_0x34a560};}[_0x4c45b7(0x1cf)](_0x55ebe1,_0xf89282){const _0x1bac4d=_0x4c45b7,_0x4345aa=_0x58615d(this[_0x1bac4d(0x237)]),_0x341691=_0x4345aa[_0x1bac4d(0x24c)][_0x1bac4d(0x18f)](_0x55ebe1,_0x1bac4d(0x248)),_0x7597cd=_0x4345aa[_0x1bac4d(0x18a)][_0x1bac4d(0x1a4)](_0x341691,0x0),_0x4bdfdf=this[_0x1bac4d(0x237)][_0x1bac4d(0x246)][_0x1bac4d(0x1f1)](_0x1bac4d(0x1b9))[_0x1bac4d(0x240)](_0x55ebe1,_0xf89282,{'anchor':_0x7597cd,'markDeletions':!0x0})[_0x1bac4d(0x1c6)]()[_0x1bac4d(0x1b3)](_0xc82136=>_0x1bac4d(0x196)===_0xc82136[_0x1bac4d(0x19a)]||_0x1bac4d(0x200)===_0xc82136[_0x1bac4d(0x19a)]&&_0xc82136[_0x1bac4d(0x195)][_0x1bac4d(0x204)](_0x1bac4d(0x23f))),_0x31b5e2=this[_0x1bac4d(0x1bb)](_0x4bdfdf),_0x154401=[];let _0x221213=0x0;return _0x4345aa[_0x1bac4d(0x18a)][_0x1bac4d(0x1c4)](_0x50afb5=>{const _0x17a56e=_0x1bac4d;for(let _0x4cbfb0=0x0;_0x4cbfb0<_0x31b5e2[_0x17a56e(0x1f6)];_0x4cbfb0++){const _0x54ba1f=_0x31b5e2[_0x4cbfb0],_0xdcf738=_0x50afb5[_0x17a56e(0x22c)]();for(const _0xa12109 of _0x341691[_0x17a56e(0x229)]())_0x50afb5[_0x17a56e(0x1dc)](_0xa12109[_0x17a56e(0x20f)](!0x0),_0xdcf738);for(const _0x420a47 of _0x54ba1f[_0x17a56e(0x245)])if(_0x17a56e(0x196)===_0x420a47[_0x17a56e(0x19a)]){const _0x4213ff=_0x420a47;_0x4213ff[_0x17a56e(0x223)]=null,_0x4213ff[_0x17a56e(0x1ed)]=!0x1,this[_0x17a56e(0x1fc)](_0x4213ff,_0xdcf738),_0x50afb5[_0x17a56e(0x220)][_0x17a56e(0x219)](_0x420a47),_0x4345aa[_0x17a56e(0x18a)][_0x17a56e(0x1a0)](_0x420a47);const _0xa7fd59=_0x17a56e(0x1f5)+_0x221213++,_0x3d7cc9=_0x4345aa[_0x17a56e(0x18a)][_0x17a56e(0x224)](_0x4213ff[_0x17a56e(0x1eb)],_0x4213ff[_0x17a56e(0x1eb)][_0x17a56e(0x18b)](_0x4213ff[_0x17a56e(0x192)]));_0xdcf738[_0x17a56e(0x212)][_0x17a56e(0x191)](_0xa7fd59,_0x3d7cc9);}else{if(_0x17a56e(0x200)===_0x420a47[_0x17a56e(0x19a)]&&_0x420a47[_0x17a56e(0x195)][_0x17a56e(0x204)](_0x17a56e(0x23f))){const _0x1fdea3=_0x420a47,_0x2fda2a=_0x17a56e(0x1dd)+_0x221213++;this[_0x17a56e(0x1fc)](_0x1fdea3,_0xdcf738),_0xdcf738[_0x17a56e(0x212)][_0x17a56e(0x191)](_0x2fda2a,_0x1fdea3[_0x17a56e(0x1cc)]);}}const _0x273512=this[_0x17a56e(0x19b)](this[_0x17a56e(0x1e4)](this[_0x17a56e(0x221)](_0x54ba1f[_0x17a56e(0x245)][0x0]),_0xdcf738),this[_0x17a56e(0x1e4)](this[_0x17a56e(0x238)](_0x54ba1f[_0x17a56e(0x245)][_0x54ba1f[_0x17a56e(0x245)][_0x17a56e(0x1f6)]-0x1]),_0xdcf738));_0xdcf738[_0x17a56e(0x212)][_0x17a56e(0x191)](Zt+_0x17a56e(0x1aa),new _0x3d57eb(_0x273512[_0x17a56e(0x23d)],_0x273512[_0x17a56e(0x1cd)])),_0x154401[_0x17a56e(0x1df)]({..._0x54ba1f,'context':this[_0x17a56e(0x1f2)](_0xdcf738,_0x4345aa[_0x17a56e(0x24c)],{'ellipsisBefore':_0x273512[_0x17a56e(0x233)],'ellipsisAfter':_0x273512[_0x17a56e(0x1a6)]}),'content':this[_0x17a56e(0x231)](_0xdcf738,_0x4345aa[_0x17a56e(0x24c)])});}}),_0x154401;}[_0x4c45b7(0x216)](_0x182073,_0x488763){const _0x545110=_0x4c45b7,_0x74ac1e=_0x182073[0x0][_0x545110(0x1e2)]['id'],_0x190334=_0x488763[_0x545110(0x244)][_0x545110(0x1f1)](_0x74ac1e);if(!_0x190334)return void console[_0x545110(0x20c)](_0x545110(0x22b)+_0x74ac1e);const _0x5652e7=_0x190334[_0x545110(0x211)],_0x58bf6e=_0x58615d(this[_0x545110(0x237)]),_0x5a820b=_0x58bf6e[_0x545110(0x18a)][_0x545110(0x1d9)][_0x545110(0x1d2)][_0x545110(0x1c6)](_0x488763[_0x545110(0x1a5)]),_0xee75de=[];for(const _0x18190e of _0x182073){const _0x31cfdb=_0x18190e[_0x545110(0x245)][_0x545110(0x215)](_0x45b857=>this[_0x545110(0x22a)](_0x45b857,_0x5652e7,_0x58bf6e[_0x545110(0x18a)][_0x545110(0x1d9)][_0x545110(0x23e)]()[0x0]));if(!_0x31cfdb||!_0x31cfdb[_0x545110(0x1f6)])continue;const _0x5cb942=_0x31cfdb[_0x545110(0x209)](_0x4f3f58=>_0x545110(0x200)===_0x4f3f58[_0x545110(0x19a)]&&_0x4f3f58[_0x545110(0x195)][_0x545110(0x204)](_0x545110(0x23f))),_0x56b82c={'document':_0x58bf6e[_0x545110(0x18a)][_0x545110(0x1d9)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3041f6=_0x2a0558(_0x31cfdb,_0x5a820b,_0x56b82c)[_0x545110(0x19f)];for(const _0x4afd09 of _0x3041f6)if(_0x545110(0x196)===_0x4afd09[_0x545110(0x19a)]){const _0x314b2e=_0x4afd09,_0x19bcf6=_0x314b2e[_0x545110(0x1e8)];let _0x3b1775='';for(const _0x5ad49a of _0x19bcf6)_0x5ad49a&&_0x5ad49a['is'](_0x545110(0x21b))&&(_0x3b1775+=_0x5ad49a[_0x545110(0x24c)]);_0xee75de[_0x545110(0x1df)]({'start':_0x314b2e[_0x545110(0x1eb)],'end':_0x314b2e[_0x545110(0x1eb)],'type':_0x545110(0x196),'groupId':_0x18190e['id'],'text':_0x3b1775});}else{if(_0x545110(0x200)===_0x4afd09[_0x545110(0x19a)]&&_0x4afd09[_0x545110(0x195)][_0x545110(0x204)](_0x545110(0x23f))){const _0x2bd7e7=_0x4afd09;let _0x48d3a8=_0x545110(0x230);if(_0x5cb942){const _0x10cc45=this[_0x545110(0x1a8)](_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x23d)],_0x545110(0x217),_0x58bf6e[_0x545110(0x18a)][_0x545110(0x1b4)]),_0x3db27b=this[_0x545110(0x1a8)](_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x1cd)],_0x545110(0x203),_0x58bf6e[_0x545110(0x18a)][_0x545110(0x1b4)]);if(_0x10cc45||_0x3db27b){const _0x215fda=_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x23d)][_0x545110(0x18b)](-_0x10cc45),_0x56862d=_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x1cd)][_0x545110(0x18b)](_0x3db27b);_0xee75de[_0x545110(0x1df)]({'start':_0x215fda,'end':_0x56862d,'groupId':_0x18190e['id'],'type':_0x545110(0x1a9)});}else _0x48d3a8=_0x545110(0x1fe);}_0xee75de[_0x545110(0x1df)]({'start':_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x23d)],'end':_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x1cd)],'groupId':_0x18190e['id'],'type':_0x48d3a8});}}}this[_0x545110(0x1ba)](_0xee75de);}[_0x4c45b7(0x1f0)](){const _0x17a061=_0x4c45b7;_0x58615d(this[_0x17a061(0x237)])[_0x17a061(0x18a)][_0x17a061(0x1c4)](_0x59ba46=>{const _0x1dc6f9=_0x17a061;for(const _0x4a2474 of this[_0x1dc6f9(0x1c3)][_0x1dc6f9(0x20d)]())_0x59ba46[_0x1dc6f9(0x22e)](_0x4a2474);}),this[_0x17a061(0x1c3)][_0x17a061(0x21e)]();}[_0x4c45b7(0x1ea)](){const _0x4b1ad6=_0x4c45b7;_0x58615d(this[_0x4b1ad6(0x237)])[_0x4b1ad6(0x1af)](_0x4b1ad6(0x23c));}[_0x4c45b7(0x239)](){const _0x56363f=_0x4c45b7;_0x58615d(this[_0x56363f(0x237)])[_0x56363f(0x190)](_0x56363f(0x23c));}[_0x4c45b7(0x199)](_0x5c0e6c){const _0x2b8c2e=_0x4c45b7,_0x62ba7b=_0x58615d(this[_0x2b8c2e(0x237)]),_0x5b6aff=_0x62ba7b[_0x2b8c2e(0x18a)],_0x194eb6=_0x5c0e6c[_0x2b8c2e(0x215)](_0x42e547=>this[_0x2b8c2e(0x1fd)](_0x42e547))[_0x2b8c2e(0x1ae)]();_0x5b6aff[_0x2b8c2e(0x1c4)](_0x311b25=>{const _0x1dca6f=_0x2b8c2e;for(const _0x558177 of _0x194eb6){const _0x18c83a=_0x62ba7b[_0x1dca6f(0x18a)][_0x1dca6f(0x212)][_0x1dca6f(0x1f1)](_0x558177['id']);_0x18c83a&&(_0x1dca6f(0x196)===_0x558177[_0x1dca6f(0x19a)]?_0x5b6aff[_0x1dca6f(0x1ec)](_0x311b25[_0x1dca6f(0x249)](_0x558177[_0x1dca6f(0x18c)]||''),_0x18c83a[_0x1dca6f(0x1e1)]()[_0x1dca6f(0x23d)]):_0x1dca6f(0x230)!==_0x558177[_0x1dca6f(0x19a)]&&_0x1dca6f(0x1fe)!==_0x558177[_0x1dca6f(0x19a)]||_0x5b6aff[_0x1dca6f(0x24d)](_0x5b6aff[_0x1dca6f(0x23b)](_0x18c83a[_0x1dca6f(0x1e1)]())),_0x311b25[_0x1dca6f(0x22e)](_0x558177['id']),this[_0x1dca6f(0x1c3)][_0x1dca6f(0x24a)](_0x558177['id']));}});}[_0x4c45b7(0x210)](_0x384a14){const _0x5482ea=_0x4c45b7,_0x239a34=_0x58615d(this[_0x5482ea(0x237)]),_0x348988=this[_0x5482ea(0x1fd)](_0x384a14);_0x239a34[_0x5482ea(0x18a)][_0x5482ea(0x1c4)](_0x344c34=>{const _0x11c794=_0x5482ea;for(const _0x28d3f9 of _0x348988)_0x344c34[_0x11c794(0x22e)](_0x28d3f9['id']),this[_0x11c794(0x1c3)][_0x11c794(0x24a)](_0x28d3f9['id']);});}[_0x4c45b7(0x228)](){const _0x4350ee=_0x4c45b7,_0x359da9=_0x58615d(this[_0x4350ee(0x237)]);return _0x359da9&&_0x359da9['ui']&&_0x359da9['ui'][_0x4350ee(0x242)]?_0x359da9['ui'][_0x4350ee(0x242)]:null;}[_0x4c45b7(0x22a)](_0x62cf56,_0x468f89,_0x7d150e){const _0xd5c219=_0x4c45b7;if(_0xd5c219(0x196)===_0x62cf56[_0xd5c219(0x19a)]){const _0x26f931=_0x62cf56;return new _0xb9845b(this[_0xd5c219(0x1d8)](_0x26f931[_0xd5c219(0x1eb)],_0x468f89[_0xd5c219(0x1c0)](_0x26f931[_0xd5c219(0x1eb)][_0xd5c219(0x1b6)]),_0x7d150e),_0x26f931[_0xd5c219(0x1e8)],_0x26f931[_0xd5c219(0x223)]);}if(_0xd5c219(0x200)===_0x62cf56[_0xd5c219(0x19a)]&&_0x62cf56[_0xd5c219(0x195)][_0xd5c219(0x204)](_0xd5c219(0x23f))){const _0x1746ef=_0x62cf56;return new _0x267fbe(_0x1746ef[_0xd5c219(0x195)],_0x1746ef[_0xd5c219(0x225)],this[_0xd5c219(0x1f9)](_0x1746ef[_0xd5c219(0x1cc)],_0x468f89[_0xd5c219(0x1c0)](_0x1746ef[_0xd5c219(0x1cc)][_0xd5c219(0x23d)][_0xd5c219(0x1b6)]),_0x468f89[_0xd5c219(0x1c0)](_0x1746ef[_0xd5c219(0x1cc)][_0xd5c219(0x1cd)][_0xd5c219(0x1b6)]),_0x7d150e),_0x1746ef[_0xd5c219(0x1c3)],_0x1746ef[_0xd5c219(0x1a2)],_0x1746ef[_0xd5c219(0x223)]);}return _0x62cf56;}[_0x4c45b7(0x1bb)](_0x1c8afa){const _0xf743be=_0x4c45b7;if(!_0x1c8afa[_0xf743be(0x1f6)])return[];const _0x5d236a=[];let _0x62f06b=0x0,_0x2f528e=0x0,_0x394929=[];for(let _0x39b85b=0x0;_0x39b85b<=_0x1c8afa[_0xf743be(0x1f6)];_0x39b85b++){const _0x18d394=_0x1c8afa[_0x39b85b],_0x54eb86=_0x1c8afa[_0x39b85b-0x1];!_0x18d394||_0x54eb86&&!this[_0xf743be(0x238)](_0x54eb86)[_0xf743be(0x1d0)](this[_0xf743be(0x221)](_0x18d394))?(_0x5d236a[_0xf743be(0x1df)]({'operations':_0x394929,'operationsIsolated':_0x394929[_0xf743be(0x215)](_0x169c54=>this[_0xf743be(0x1e7)](_0x169c54[_0xf743be(0x24b)](),-_0x2f528e)),'groupOffset':_0x62f06b}),_0x394929=_0x18d394?[_0x18d394]:[],_0x2f528e+=_0x62f06b,_0x62f06b=0x0):_0x394929[_0xf743be(0x1df)](_0x18d394),_0x18d394&&_0xf743be(0x196)===_0x18d394[_0xf743be(0x19a)]&&(_0x62f06b+=_0x18d394[_0xf743be(0x192)]);}return _0x5d236a;}[_0x4c45b7(0x197)](_0x316565){const _0x3ff5de=_0x4c45b7;console[_0x3ff5de(0x1b1)](_0x3ff5de(0x1ab),_0x316565['id']);}[_0x4c45b7(0x1a8)](_0x5db973,_0x46acf1,_0x4699ee,_0xc848f0=0x1){const _0x2b14d5=_0x4c45b7,_0x2803b9=new _0x50d6b8({'startPosition':_0x5db973,'direction':_0x46acf1});let _0x5e1238=0x0;for(let _0x16d1a0=0x0;_0x16d1a0<_0xc848f0;_0x16d1a0++){let _0x22dadf=0x0,_0x36677f=!0x1,_0x4ce664=_0x2b14d5(0x203)===_0x46acf1?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x2f9451}of _0x2803b9)if(_0x2f9451['is'](_0x2b14d5(0x234))){const _0x23e961=_0x4ce664[_0x2b14d5(0x1be)](_0x2f9451[_0x2b14d5(0x24c)]);if(_0x23e961&&_0x23e961[_0x2b14d5(0x1f6)]){if(_0x22dadf+=_0x2b14d5(0x203)===_0x46acf1?_0x23e961[_0x2b14d5(0x19e)]+_0x23e961[0x0][_0x2b14d5(0x1f6)]:_0x2f9451[_0x2b14d5(0x24c)][_0x2b14d5(0x1f6)]-_0x23e961[_0x2b14d5(0x19e)],_0x23e961[0x0][_0x2b14d5(0x1f6)]!==_0x2f9451[_0x2b14d5(0x24c)][_0x2b14d5(0x1f6)])break;_0x36677f=!0x0,_0x4ce664=_0x2b14d5(0x203)===_0x46acf1?/^\w+/:/\w+$/;}else{if(_0x36677f)break;_0x22dadf+=_0x2f9451[_0x2b14d5(0x1c2)];}}else{if(_0x2f9451['is'](_0x2b14d5(0x242))){_0x4699ee[_0x2b14d5(0x194)](_0x2f9451)&&!_0x36677f&&(_0x22dadf+=0x1);break;}}_0x5e1238+=_0x22dadf,_0x2803b9[_0x2b14d5(0x198)](_0x5db973[_0x2b14d5(0x18b)](_0x2b14d5(0x203)===_0x46acf1?_0x5e1238:-_0x5e1238));}return _0x5e1238;}[_0x4c45b7(0x19b)](_0x47e08e,_0x250264){const _0x1a9290=_0x4c45b7,_0x39c59f=_0x58615d(this[_0x1a9290(0x237)])[_0x1a9290(0x18a)][_0x1a9290(0x1b4)],_0x8a1bdb=this[_0x1a9290(0x1a8)](_0x47e08e,_0x1a9290(0x217),_0x39c59f,0x6),_0x42e949=this[_0x1a9290(0x1a8)](_0x250264,_0x1a9290(0x203),_0x39c59f,0x6),_0x2f71c4=_0x47e08e[_0x1a9290(0x18b)](-_0x8a1bdb),_0x207644=_0x250264[_0x1a9290(0x18b)](_0x42e949);return{'start':_0x2f71c4,'end':_0x207644,'hasContentBefore':!_0x2f71c4[_0x1a9290(0x1f3)],'hasContentAfter':!_0x207644[_0x1a9290(0x1d6)]};}[_0x4c45b7(0x1ba)](_0x359c7){const _0x4f3620=_0x4c45b7;_0x58615d(this[_0x4f3620(0x237)])[_0x4f3620(0x18a)][_0x4f3620(0x1c4)](_0x4ebc47=>{const _0x494111=_0x4f3620;for(const _0x1a17fc of _0x359c7){const _0x50aba7=''+Zt+_0x1a17fc[_0x494111(0x19a)]+':'+_0x1a17fc[_0x494111(0x1fb)]+'_'+_0x547958();this[_0x494111(0x1c3)][_0x494111(0x191)](_0x50aba7,{'id':_0x50aba7,'groupId':_0x1a17fc[_0x494111(0x1fb)],'type':_0x1a17fc[_0x494111(0x19a)],'text':_0x1a17fc[_0x494111(0x18c)]}),_0x4ebc47[_0x494111(0x243)](_0x50aba7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4ebc47[_0x494111(0x224)](_0x1a17fc[_0x494111(0x23d)],_0x1a17fc[_0x494111(0x1cd)])});}});}[_0x4c45b7(0x1f2)](_0x504660,_0x4e03e8,_0x2704e8){let _0x15b440='';return()=>{const _0x1c1a72=_0x40a3;if(!_0x15b440){const _0x5a6724=_0x4e03e8[_0x1c1a72(0x1f4)](_0x504660,{'showSuggestionHighlights':!0x0}),_0x43d146=_0x5a6724[_0x1c1a72(0x241)](0x0);if(!_0x43d146)return'';let _0x3b96f6=!0x1;const _0x37067a=[];for(const _0x4851c1 of _0x43d146[_0x1c1a72(0x229)]())_0x4851c1['is'](_0x1c1a72(0x242),_0x1c1a72(0x1c7))&&_0x4851c1[_0x1c1a72(0x1de)](_0x1c1a72(0x21f))&&(_0x3b96f6=!0x1),_0x3b96f6&&_0x37067a[_0x1c1a72(0x1df)](_0x4851c1),_0x4851c1['is'](_0x1c1a72(0x242),_0x1c1a72(0x1c7))&&_0x4851c1[_0x1c1a72(0x1de)](_0x1c1a72(0x20a))&&(_0x3b96f6=!0x0);_0x43d146[_0x1c1a72(0x1e0)](0x0,_0x43d146[_0x1c1a72(0x207)]),_0x2704e8?.[_0x1c1a72(0x1ca)]&&_0x43d146[_0x1c1a72(0x1b7)]('…'),_0x43d146[_0x1c1a72(0x1b7)](_0x37067a),_0x2704e8?.[_0x1c1a72(0x21c)]&&_0x43d146[_0x1c1a72(0x1b7)]('…');const _0x552127=_0x4e03e8[_0x1c1a72(0x1b0)][_0x1c1a72(0x1e5)][_0x1c1a72(0x1b2)](_0x5a6724),_0x5d2cc7=_0x4e03e8[_0x1c1a72(0x1b0)][_0x1c1a72(0x247)][_0x1c1a72(0x1d5)](_0x552127);_0x15b440=_0x5d2cc7;}return _0x15b440;};}[_0x4c45b7(0x231)](_0x3c82d5,_0x9db280){const _0x4f3338=_0x4c45b7;let _0xe3cd19='';return()=>(_0xe3cd19||(_0xe3cd19=_0x9db280[_0x4f3338(0x1a1)](_0x3c82d5,{'showSuggestionHighlights':!0x0})),_0xe3cd19);}[_0x4c45b7(0x19c)](_0x582af0,_0x3b2a9d,_0x138fa2){let _0x2a8d68='';return()=>{const _0x2f4d4f=_0x40a3;if(!_0x2a8d68){const _0x9da6e9=_0x138fa2[_0x2f4d4f(0x1f4)](new _0x516427(_0x582af0)),_0x334f9a=_0x138fa2[_0x2f4d4f(0x1b0)][_0x2f4d4f(0x1e5)][_0x2f4d4f(0x1b2)](_0x9da6e9)[_0x2f4d4f(0x18d)](_0x2f4d4f(0x214)+_0x3b2a9d+'\x22]');_0x2a8d68=_0x334f9a?.[_0x2f4d4f(0x1bd)]||'';}return _0x2a8d68;};}[_0x4c45b7(0x1fd)](_0x4fd8e3){const _0x148690=_0x4c45b7;return Array[_0x148690(0x1db)](this[_0x148690(0x1c3)][_0x148690(0x1c9)]())[_0x148690(0x1b3)](_0x1beab1=>_0x1beab1[_0x148690(0x1fb)]===_0x4fd8e3);}[_0x4c45b7(0x221)](_0xc47db8){const _0x3037dd=_0x4c45b7;return _0x3037dd(0x196)===_0xc47db8[_0x3037dd(0x19a)]?_0xc47db8[_0x3037dd(0x1eb)]:_0xc47db8[_0x3037dd(0x1cc)][_0x3037dd(0x23d)];}[_0x4c45b7(0x238)](_0x358964,_0x1b33e3=!0x1){const _0x328e1a=_0x4c45b7;return _0x328e1a(0x196)===_0x358964[_0x328e1a(0x19a)]?_0x1b33e3?_0x358964[_0x328e1a(0x1eb)]:_0x358964[_0x328e1a(0x1eb)][_0x328e1a(0x18b)](_0x358964[_0x328e1a(0x192)]):_0x358964[_0x328e1a(0x1cc)][_0x328e1a(0x1cd)];}[_0x4c45b7(0x1e7)](_0x3b1584,_0x408906){const _0x1f1b3f=_0x4c45b7;return _0x1f1b3f(0x196)===_0x3b1584[_0x1f1b3f(0x19a)]?_0x3b1584[_0x1f1b3f(0x1eb)]=_0x3b1584[_0x1f1b3f(0x1eb)][_0x1f1b3f(0x18b)](_0x408906):_0x1f1b3f(0x200)===_0x3b1584[_0x1f1b3f(0x19a)]&&_0x3b1584[_0x1f1b3f(0x1cc)]&&(_0x3b1584[_0x1f1b3f(0x1cc)]=new _0x3d57eb(_0x3b1584[_0x1f1b3f(0x1cc)][_0x1f1b3f(0x23d)][_0x1f1b3f(0x18b)](_0x408906),_0x3b1584[_0x1f1b3f(0x1cc)][_0x1f1b3f(0x1cd)][_0x1f1b3f(0x18b)](_0x408906))),_0x3b1584;}[_0x4c45b7(0x1fc)](_0x4aca9d,_0xb9f20b){const _0x2976f3=_0x4c45b7;_0x2976f3(0x196)===_0x4aca9d[_0x2976f3(0x19a)]?_0x4aca9d[_0x2976f3(0x1eb)]=this[_0x2976f3(0x1e4)](_0x4aca9d[_0x2976f3(0x1eb)],_0xb9f20b):_0x2976f3(0x200)===_0x4aca9d[_0x2976f3(0x19a)]&&_0x4aca9d[_0x2976f3(0x1cc)]&&(_0x4aca9d[_0x2976f3(0x1cc)]=this[_0x2976f3(0x226)](_0x4aca9d[_0x2976f3(0x1cc)],_0xb9f20b));}[_0x4c45b7(0x1e4)](_0x1519de,_0xd32bcd){const _0x5d2cf3=_0x4c45b7;return new _0x195fd3(_0xd32bcd,_0x1519de[_0x5d2cf3(0x211)]);}[_0x4c45b7(0x226)](_0x1f971e,_0x47853a){const _0x45ed4b=_0x4c45b7;return new _0x3d57eb(this[_0x45ed4b(0x1e4)](_0x1f971e[_0x45ed4b(0x23d)],_0x47853a),this[_0x45ed4b(0x1e4)](_0x1f971e[_0x45ed4b(0x1cd)],_0x47853a));}[_0x4c45b7(0x1d8)](_0x1f4819,_0x1ab580,_0x5172f2){return new _0x195fd3(_0x5172f2,[..._0x1ab580]);}[_0x4c45b7(0x1f9)](_0x1e28cf,_0x10453b,_0x469643,_0x32df88){const _0x58e771=_0x4c45b7;return new _0x3d57eb(this[_0x58e771(0x1d8)](_0x1e28cf[_0x58e771(0x23d)],_0x10453b,_0x32df88),this[_0x58e771(0x1d8)](_0x1e28cf[_0x58e771(0x1cd)],_0x469643,_0x32df88));}[_0x4c45b7(0x202)](_0x4a756d){const _0x13a81a=_0x4c45b7;let _0x49e35a=_0x4a756d;for(;_0x49e35a[_0x13a81a(0x1e2)]&&!_0x49e35a[_0x13a81a(0x1e2)]['is'](_0x13a81a(0x1d4));)_0x49e35a=_0x49e35a[_0x13a81a(0x1e2)];return _0x49e35a;}}
23
+ const _0x55731f=_0x43ee;(function(_0x5a2f70,_0x4ceed5){const _0x44c21e=_0x43ee,_0x2d9126=_0x5a2f70();while(!![]){try{const _0x3ecc0f=-parseInt(_0x44c21e(0x2b1))/0x1*(-parseInt(_0x44c21e(0x2a5))/0x2)+parseInt(_0x44c21e(0x219))/0x3+parseInt(_0x44c21e(0x1da))/0x4+-parseInt(_0x44c21e(0x236))/0x5*(-parseInt(_0x44c21e(0x2af))/0x6)+-parseInt(_0x44c21e(0x273))/0x7*(-parseInt(_0x44c21e(0x1e3))/0x8)+parseInt(_0x44c21e(0x267))/0x9*(parseInt(_0x44c21e(0x2a3))/0xa)+-parseInt(_0x44c21e(0x27f))/0xb;if(_0x3ecc0f===_0x4ceed5)break;else _0x2d9126['push'](_0x2d9126['shift']());}catch(_0x48c5bc){_0x2d9126['push'](_0x2d9126['shift']());}}}(_0x541a,0x34ac7));function _0x43ee(_0xc5d033,_0x5a4f3e){const _0x541a03=_0x541a();return _0x43ee=function(_0x43ee4a,_0x5c77da){_0x43ee4a=_0x43ee4a-0x1da;let _0x542831=_0x541a03[_0x43ee4a];return _0x542831;},_0x43ee(_0xc5d033,_0x5a4f3e);}import{InsertOperation as _0x459e73,MarkerOperation as _0x43aad1,ModelDocumentFragment as _0x41dfcc,ModelPosition as _0x450e8b,ModelRange as _0x4bb759,ModelTreeWalker as _0x1d9402,transformOperationSets as _0x441e2f}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x153a02,EmitterMixin as _0xa0eb5e}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x3aa7ea}from'ckeditor5/src/core.js';import{DocumentCompare as _0x4b153b,DATA_ID_MODEL_ATTRIBUTE as _0x31e03e,DATA_ID_VIEW_ATTRIBUTE as _0x5dfe40}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x47fe83}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x3f2875}from'../aicore/aiediting.js';function _0x541a(){const _0x596f28=['baseVersion','288573RswVuR','remove-only','version','1467412kYpYVZ','getOperations','history','requires','AIEditing','_createGetContextFn','afterInit','keys','getPath','2518616ALaukK','createPositionAfter','stringify','backward','createRawElement','[data-id=\x22','createRange','_removeChildren','getAttribute','text','getShiftedBy','AIReviewModeEditing','clearAllMarkers','disableReadOnlyMode','set','_getOperationStart','isInline','dataDowncast','getDomRoot','applyOperation','_domEmitter','insert','exec','_shiftOperation','path','groupId','suggestion:insertion:id:authorId:','markerToElement','conversion','position','jumpTo','_changeRangeOwnerDocument','isAtEnd','span','markerName','_setAttribute','outerHTML','innerHTML','isDocumentOperation','ck-ai_review-mode-marker_underline','remove-context','querySelector','markChangePositionInEditorContent','type','plugins','operationsA','howMany','target','every','_insertMarkers','includes','offset','parentElement','getChildren','946794GHRxXy','schema','_getChangeContext','$markedRemove','ck-ai_review-mode-marker_add','_changePosition','change','warn','fire','applyChange','affectsData','document','_changeOperationOwnerDocument','markers','_findMarkerElement','_sortMarkers','element','toView','downcast','isOfficialPlugin','getContentElement','pluginName','getRoot','for','sort','className','clear','getRoots','getRange','1030475XJSoDx','isTouching','_createGetContentFn','_translateOperationToEditorContent','[data-marker-id=\x22','add','newRange','hasContentAfter','ai-review-mode','end','concat','_appendChild','split','ck-ai_review-mode-marker_','from','suggestion:deletion:id:authorId:','createUIElement','filter','getMarkerElementForChange','oldRange','remove-text','get','ck-ai_review-mode-marker_context-','_clone','enableReadOnlyMode','pop','values','operationsIsolated','parse','attributeToAttribute','getDocumentData','createDocumentFragment','name','getDiff','changeMarkerClick','createSelection','$textProxy','ck-ai_review-mode-marker_strikethrough','processor','childCount','context','htmlWriter','push','markerToHighlight','htmlProcessor','_getMarkersDataForGroup','hasContentBefore','switchToEdit','isAtStart','820467HDTUDf','start','_nextDataId','offsetSize','_createGetContentUsingDataIdFn','ellipsisBefore','addMarker','ellipsisAfter','index','marker','switchToReadOnly','length','7WKEYie','clone','data-marker-id','documentFragment','flat','data','elements','deleteContent','reviewmode-','DocumentCompare','ck-ai_review-mode-marker_hide','$documentFragment','18049317fpbNdd','toData','editingDowncast','click','suggestion-context','caption','addOperation','_findAdjacentContextDistance','isPremiumPlugin','_changePositionOwnerDocument','isOpening','startsWith','_markers','getChild','editing','map','ck-ai_review-mode-marker_context-end','_groupAdjacentOperations','append','No\x20element\x20found\x20for\x20ID:\x20','model:$text','removeMarker','_changeRange','emitter','diffContent','getHtml','view','domConverter','createPositionAt','delete','forward','rejectChange','insertContent','toDomElement','model','listenTo','40HYGBTm','hasClass','2dGrrTT','createText','_getTopElement','viewToDom','_eventEmitter','nodes','_getOperationEnd','batch','parent','ck-ai_review-mode-marker_context-start','6ffOCek'];_0x541a=function(){return _0x596f28;};return _0x541a();}const se=_0x55731f(0x27b);export class AIReviewModeEditing extends _0x3aa7ea{static get[_0x55731f(0x22e)](){const _0x4f71bc=_0x55731f;return _0x4f71bc(0x1ee);}static get[_0x55731f(0x1dd)](){return[_0x4b153b,_0x3f2875];}static get[_0x55731f(0x22c)](){return!0x0;}static get[_0x55731f(0x287)](){return!0x0;}[_0x55731f(0x28b)]=new Map();[_0x55731f(0x1f7)];[_0x55731f(0x2a9)];constructor(_0x4e6e76){const _0x6ec838=_0x55731f;super(_0x4e6e76),this[_0x6ec838(0x1f7)]=new(_0x153a02())(),this[_0x6ec838(0x2a9)]=new(_0xa0eb5e())();}get[_0x55731f(0x296)](){const _0x1e05b9=_0x55731f;return this[_0x1e05b9(0x2a9)];}[_0x55731f(0x1e0)](){const _0x483696=_0x55731f,_0x3f4c77=_0x47fe83(this[_0x483696(0x25e)]);_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x1fe)]({'model':se+_0x483696(0x1f8),'view':(_0x401b0a,{writer:_0x52f43a})=>{const _0x5b5a60=_0x483696,_0xdab9e0=this[_0x5b5a60(0x28b)][_0x5b5a60(0x24b)](_0x401b0a[_0x5b5a60(0x205)]),_0x125272={'class':_0x5b5a60(0x21d),'data-marker-id':_0x401b0a[_0x5b5a60(0x205)]};return _0x52f43a[_0x5b5a60(0x246)](_0x5b5a60(0x204),_0x125272,function(_0x58d10d){const _0x3e3462=_0x5b5a60,_0xc1a477=this[_0x3e3462(0x2a0)](_0x58d10d);return _0xc1a477[_0x3e3462(0x208)]=_0xdab9e0?.[_0x3e3462(0x1ec)]||'',_0xc1a477;});}}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x261)]({'model':se+_0x483696(0x2b2),'view':_0x404ab7=>({'classes':_0x483696(0x25b),'attributes':{'data-marker-id':_0x404ab7[_0x483696(0x205)]}})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x261)]({'model':se+_0x483696(0x20b),'view':_0x1a2769=>({'classes':_0x483696(0x20a),'attributes':{'data-marker-id':_0x1a2769[_0x483696(0x205)]}})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x261)]({'model':se+_0x483696(0x24a),'view':_0x23ba92=>({'classes':_0x483696(0x27d),'attributes':{'data-marker-id':_0x23ba92[_0x483696(0x205)]}})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x1f4))[_0x483696(0x1fe)]({'model':se+_0x483696(0x283),'view':(_0x61b99d,{writer:_0x59592e})=>_0x59592e[_0x483696(0x1e7)](_0x483696(0x204),{'class':_0x483696(0x24c)+(_0x61b99d[_0x483696(0x289)]?_0x483696(0x268):_0x483696(0x23f))})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x22b))[_0x483696(0x253)]({'model':_0x31e03e,'view':_0x5dfe40}),this[_0x483696(0x1f7)][_0x483696(0x2a2)](document,_0x483696(0x282),(_0x3a0a24,_0x59172f)=>{const _0x40d9da=_0x483696,_0x2e29cc=_0x59172f[_0x40d9da(0x212)],_0x3e1662=this[_0x40d9da(0x227)](_0x2e29cc);if(!_0x3e1662)return;const _0x452f15=_0x3e1662[_0x40d9da(0x1eb)](_0x40d9da(0x275)),_0x30e7ae=_0x452f15[_0x40d9da(0x242)](':')[_0x40d9da(0x24f)]()?.[_0x40d9da(0x242)]('_')[0x0];this[_0x40d9da(0x2a9)][_0x40d9da(0x221)](_0x40d9da(0x258),{'markerId':_0x452f15,'changeId':_0x30e7ae});});}[_0x55731f(0x254)](){const _0x310222=_0x55731f,_0xaa642d=this[_0x310222(0x25e)][_0x310222(0x20f)][_0x310222(0x24b)](_0x310222(0x1de)),_0x6fabf1=_0x47fe83(this[_0x310222(0x25e)]),_0x2a287e=_0x6fabf1[_0x310222(0x2a1)],_0x4e48c9=new _0x41dfcc();for(const _0x825996 of _0x2a287e[_0x310222(0x224)][_0x310222(0x22f)]()[_0x310222(0x218)]()){const _0x3041f8=_0x825996[_0x310222(0x24d)](!0x0);_0x4e48c9[_0x310222(0x241)](_0x3041f8);}for(const _0x1d6de9 of _0x2a287e[_0x310222(0x226)])_0x4e48c9[_0x310222(0x226)][_0x310222(0x1f1)](_0x1d6de9[_0x310222(0x256)],this[_0x310222(0x202)](_0x1d6de9[_0x310222(0x235)]()[_0x310222(0x274)](),_0x4e48c9));const _0x1f96de=new _0x1d9402({'ignoreElementEnd':!0x0,'startPosition':_0x2a287e[_0x310222(0x29b)](_0x4e48c9,0x0)}),_0xfd99d5=new Set(),_0x4df985=new Map();for(const {item:_0x5a1a6d}of _0x1f96de){if(!_0x5a1a6d['is'](_0x310222(0x25a)))continue;const _0x319695=_0x5a1a6d[_0x310222(0x2ad)];if((!_0x319695||!_0x319695['is'](_0x310222(0x229),_0x310222(0x284)))&&(_0x319695&&_0x319695['is'](_0x310222(0x229)))){let _0x3ebfaa=_0x319695[_0x310222(0x1eb)](_0x31e03e);_0x3ebfaa||(_0x3ebfaa=_0xaa642d[_0x310222(0x269)](_0xfd99d5),_0x319695[_0x310222(0x206)](_0x31e03e,_0x3ebfaa)),_0xfd99d5[_0x310222(0x23b)](_0x3ebfaa);const _0x567883=this[_0x310222(0x2a7)](_0x319695);_0x4df985[_0x310222(0x1f1)](_0x3ebfaa,{'path':_0x319695[_0x310222(0x1e2)](),'getContent':this[_0x310222(0x26b)](_0x567883[_0x310222(0x24d)](!0x0),_0x3ebfaa,_0x6fabf1[_0x310222(0x278)])}),_0x1f96de[_0x310222(0x201)](_0x2a287e[_0x310222(0x1e4)](_0x319695));}}return{'content':_0x6fabf1[_0x310222(0x278)][_0x310222(0x25c)][_0x310222(0x280)](_0x6fabf1[_0x310222(0x278)][_0x310222(0x22a)](_0x4e48c9)),'version':_0x6fabf1[_0x310222(0x2a1)][_0x310222(0x224)][_0x310222(0x2b3)],'elements':_0x4df985};}[_0x55731f(0x297)](_0x1f1f3d,_0x49ea61){const _0x2587ed=_0x55731f,_0x1f1494=_0x47fe83(this[_0x2587ed(0x25e)]),_0x64aaa4=_0x1f1494[_0x2587ed(0x278)][_0x2587ed(0x252)](_0x1f1f3d,_0x2587ed(0x27e)),_0x39fde8=_0x1f1494[_0x2587ed(0x2a1)][_0x2587ed(0x29b)](_0x64aaa4,0x0),_0x5c0de5=this[_0x2587ed(0x25e)][_0x2587ed(0x20f)][_0x2587ed(0x24b)](_0x2587ed(0x27c))[_0x2587ed(0x257)](_0x1f1f3d,_0x49ea61,{'anchor':_0x39fde8,'markDeletions':!0x0})[_0x2587ed(0x1db)]()[_0x2587ed(0x247)](_0x269a90=>_0x2587ed(0x1f8)===_0x269a90[_0x2587ed(0x20e)]||_0x2587ed(0x270)===_0x269a90[_0x2587ed(0x20e)]&&_0x269a90[_0x2587ed(0x256)][_0x2587ed(0x28a)](_0x2587ed(0x21c))),_0x33e8a3=this[_0x2587ed(0x290)](_0x5c0de5),_0x1e4fd4=[];let _0x3d392b=0x0;return _0x1f1494[_0x2587ed(0x2a1)][_0x2587ed(0x21f)](_0x33531a=>{const _0x1a570c=_0x2587ed;for(let _0x214027=0x0;_0x214027<_0x33e8a3[_0x1a570c(0x272)];_0x214027++){const _0x32ed9c=_0x33e8a3[_0x214027],_0x4e65e5=_0x33531a[_0x1a570c(0x255)]();for(const _0x26e028 of _0x64aaa4[_0x1a570c(0x218)]())_0x33531a[_0x1a570c(0x291)](_0x26e028[_0x1a570c(0x24d)](!0x0),_0x4e65e5);for(const _0x38c1c3 of _0x32ed9c[_0x1a570c(0x251)])if(_0x1a570c(0x1f8)===_0x38c1c3[_0x1a570c(0x20e)]){const _0x38760d=_0x38c1c3;_0x38760d[_0x1a570c(0x2b0)]=null,_0x38760d[_0x1a570c(0x209)]=!0x1,this[_0x1a570c(0x225)](_0x38760d,_0x4e65e5),_0x33531a[_0x1a570c(0x2ac)][_0x1a570c(0x285)](_0x38c1c3),_0x1f1494[_0x1a570c(0x2a1)][_0x1a570c(0x1f6)](_0x38c1c3);const _0x3396d1=_0x1a570c(0x1fd)+_0x3d392b++,_0x4960b7=_0x1f1494[_0x1a570c(0x2a1)][_0x1a570c(0x1e9)](_0x38760d[_0x1a570c(0x200)],_0x38760d[_0x1a570c(0x200)][_0x1a570c(0x1ed)](_0x38760d[_0x1a570c(0x211)]));_0x4e65e5[_0x1a570c(0x226)][_0x1a570c(0x1f1)](_0x3396d1,_0x4960b7);}else{if(_0x1a570c(0x270)===_0x38c1c3[_0x1a570c(0x20e)]&&_0x38c1c3[_0x1a570c(0x256)][_0x1a570c(0x28a)](_0x1a570c(0x21c))){const _0x384053=_0x38c1c3,_0x25e31d=_0x1a570c(0x245)+_0x3d392b++;this[_0x1a570c(0x225)](_0x384053,_0x4e65e5),_0x4e65e5[_0x1a570c(0x226)][_0x1a570c(0x1f1)](_0x25e31d,_0x384053[_0x1a570c(0x23c)]);}}const _0x5579f3=this[_0x1a570c(0x21b)](this[_0x1a570c(0x288)](this[_0x1a570c(0x1f2)](_0x32ed9c[_0x1a570c(0x251)][0x0]),_0x4e65e5),this[_0x1a570c(0x288)](this[_0x1a570c(0x2ab)](_0x32ed9c[_0x1a570c(0x251)][_0x32ed9c[_0x1a570c(0x251)][_0x1a570c(0x272)]-0x1]),_0x4e65e5));_0x4e65e5[_0x1a570c(0x226)][_0x1a570c(0x1f1)](se+_0x1a570c(0x283),new _0x4bb759(_0x5579f3[_0x1a570c(0x268)],_0x5579f3[_0x1a570c(0x23f)])),_0x1e4fd4[_0x1a570c(0x260)]({..._0x32ed9c,'context':this[_0x1a570c(0x1df)](_0x4e65e5,_0x1f1494[_0x1a570c(0x278)],{'ellipsisBefore':_0x5579f3[_0x1a570c(0x264)],'ellipsisAfter':_0x5579f3[_0x1a570c(0x23d)]}),'content':this[_0x1a570c(0x238)](_0x4e65e5,_0x1f1494[_0x1a570c(0x278)])});}}),_0x1e4fd4;}[_0x55731f(0x20d)](_0x6cb467,_0x3ba830){const _0x282a19=_0x55731f,_0x2729e6=_0x6cb467[0x0][_0x282a19(0x2ad)]['id'],_0x2f3536=_0x3ba830[_0x282a19(0x279)][_0x282a19(0x24b)](_0x2729e6);if(!_0x2f3536)return void console[_0x282a19(0x220)](_0x282a19(0x292)+_0x2729e6);const _0x5003ab=_0x2f3536[_0x282a19(0x1fb)],_0xfdf08a=_0x47fe83(this[_0x282a19(0x25e)]),_0x5ef8e7=_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x224)][_0x282a19(0x1dc)][_0x282a19(0x1db)](_0x3ba830[_0x282a19(0x2b3)]),_0xbfa3e8=[];for(const _0x458b5f of _0x6cb467){const _0x5ba02d=_0x458b5f[_0x282a19(0x251)][_0x282a19(0x28e)](_0x1803ad=>this[_0x282a19(0x239)](_0x1803ad,_0x5003ab,_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x224)][_0x282a19(0x234)]()[0x0]));if(!_0x5ba02d||!_0x5ba02d[_0x282a19(0x272)])continue;const _0x41a2c4=_0x5ba02d[_0x282a19(0x213)](_0x402db5=>_0x282a19(0x270)===_0x402db5[_0x282a19(0x20e)]&&_0x402db5[_0x282a19(0x256)][_0x282a19(0x28a)](_0x282a19(0x21c))),_0x47bfe7={'document':_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x224)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2e4886=_0x441e2f(_0x5ba02d,_0x5ef8e7,_0x47bfe7)[_0x282a19(0x210)];for(const _0x1e1eee of _0x2e4886)if(_0x282a19(0x1f8)===_0x1e1eee[_0x282a19(0x20e)]){const _0x13c06e=_0x1e1eee,_0x4defac=_0x13c06e[_0x282a19(0x2aa)];let _0x571045='';for(const _0x26c160 of _0x4defac)_0x26c160&&_0x26c160['is'](_0x282a19(0x293))&&(_0x571045+=_0x26c160[_0x282a19(0x278)]);_0xbfa3e8[_0x282a19(0x260)]({'start':_0x13c06e[_0x282a19(0x200)],'end':_0x13c06e[_0x282a19(0x200)],'type':_0x282a19(0x1f8),'groupId':_0x458b5f['id'],'text':_0x571045});}else{if(_0x282a19(0x270)===_0x1e1eee[_0x282a19(0x20e)]&&_0x1e1eee[_0x282a19(0x256)][_0x282a19(0x28a)](_0x282a19(0x21c))){const _0x175ce4=_0x1e1eee;let _0xc15c64=_0x282a19(0x24a);if(_0x41a2c4){const _0x449f03=this[_0x282a19(0x286)](_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x268)],_0x282a19(0x1e6),_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x21a)]),_0x52ff54=this[_0x282a19(0x286)](_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x23f)],_0x282a19(0x29d),_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x21a)]);if(_0x449f03||_0x52ff54){const _0x12ceb7=_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x268)][_0x282a19(0x1ed)](-_0x449f03),_0x41563b=_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x23f)][_0x282a19(0x1ed)](_0x52ff54);_0xbfa3e8[_0x282a19(0x260)]({'start':_0x12ceb7,'end':_0x41563b,'groupId':_0x458b5f['id'],'type':_0x282a19(0x20b)});}else _0xc15c64=_0x282a19(0x2b2);}_0xbfa3e8[_0x282a19(0x260)]({'start':_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x268)],'end':_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x23f)],'groupId':_0x458b5f['id'],'type':_0xc15c64});}}}this[_0x282a19(0x214)](_0xbfa3e8);}[_0x55731f(0x1ef)](){const _0x216b27=_0x55731f;_0x47fe83(this[_0x216b27(0x25e)])[_0x216b27(0x2a1)][_0x216b27(0x21f)](_0x3b6ed2=>{const _0x4410a4=_0x216b27;for(const _0x41fd9d of this[_0x4410a4(0x28b)][_0x4410a4(0x1e1)]())_0x3b6ed2[_0x4410a4(0x294)](_0x41fd9d);}),this[_0x216b27(0x28b)][_0x216b27(0x233)]();}[_0x55731f(0x271)](){const _0x2b63ef=_0x55731f;_0x47fe83(this[_0x2b63ef(0x25e)])[_0x2b63ef(0x24e)](_0x2b63ef(0x23e));}[_0x55731f(0x265)](){const _0x58066e=_0x55731f;_0x47fe83(this[_0x58066e(0x25e)])[_0x58066e(0x1f0)](_0x58066e(0x23e));}[_0x55731f(0x222)](_0x532100){const _0x1a640d=_0x55731f,_0x15f3e5=_0x47fe83(this[_0x1a640d(0x25e)]),_0x27a18a=_0x15f3e5[_0x1a640d(0x2a1)],_0x5be9d3=_0x532100[_0x1a640d(0x28e)](_0x304dda=>this[_0x1a640d(0x263)](_0x304dda))[_0x1a640d(0x277)]();_0x27a18a[_0x1a640d(0x21f)](_0x293c2c=>{const _0x1d0dc4=_0x1a640d;for(const _0x550fb1 of _0x5be9d3){const _0x34549d=_0x15f3e5[_0x1d0dc4(0x2a1)][_0x1d0dc4(0x226)][_0x1d0dc4(0x24b)](_0x550fb1['id']);_0x34549d&&(_0x1d0dc4(0x1f8)===_0x550fb1[_0x1d0dc4(0x20e)]?_0x27a18a[_0x1d0dc4(0x29f)](_0x293c2c[_0x1d0dc4(0x2a6)](_0x550fb1[_0x1d0dc4(0x1ec)]||''),_0x34549d[_0x1d0dc4(0x235)]()[_0x1d0dc4(0x268)]):_0x1d0dc4(0x24a)!==_0x550fb1[_0x1d0dc4(0x20e)]&&_0x1d0dc4(0x2b2)!==_0x550fb1[_0x1d0dc4(0x20e)]||_0x27a18a[_0x1d0dc4(0x27a)](_0x27a18a[_0x1d0dc4(0x259)](_0x34549d[_0x1d0dc4(0x235)]())),_0x293c2c[_0x1d0dc4(0x294)](_0x550fb1['id']),this[_0x1d0dc4(0x28b)][_0x1d0dc4(0x29c)](_0x550fb1['id']));}});}[_0x55731f(0x29e)](_0xa82a5b){const _0x31f272=_0x55731f,_0x491c23=_0x47fe83(this[_0x31f272(0x25e)]),_0x294d27=this[_0x31f272(0x263)](_0xa82a5b);_0x491c23[_0x31f272(0x2a1)][_0x31f272(0x21f)](_0x3c2a2e=>{const _0x50e255=_0x31f272;for(const _0x3bc8b9 of _0x294d27)_0x3c2a2e[_0x50e255(0x294)](_0x3bc8b9['id']),this[_0x50e255(0x28b)][_0x50e255(0x29c)](_0x3bc8b9['id']);});}[_0x55731f(0x22d)](){const _0xef8917=_0x55731f,_0x23c6d1=_0x47fe83(this[_0xef8917(0x25e)]);return _0x23c6d1&&_0x23c6d1['ui']&&_0x23c6d1['ui'][_0xef8917(0x229)]?_0x23c6d1['ui'][_0xef8917(0x229)]:null;}[_0x55731f(0x248)](_0x12c0cf){const _0xdaa3de=_0x55731f,_0x59c7e0=Array[_0xdaa3de(0x244)](this[_0xdaa3de(0x28b)][_0xdaa3de(0x250)]())[_0xdaa3de(0x247)](_0x1d2143=>_0x1d2143[_0xdaa3de(0x1fc)]===_0x12c0cf);if(!_0x59c7e0[_0xdaa3de(0x272)])return null;const _0x4bb57a=0x1===_0x59c7e0[_0xdaa3de(0x272)]?_0x59c7e0[0x0]:this[_0xdaa3de(0x228)](_0x59c7e0)[0x0],_0x17e325=_0x47fe83(this[_0xdaa3de(0x25e)]),_0x555aea=_0x17e325[_0xdaa3de(0x2a1)][_0xdaa3de(0x226)][_0xdaa3de(0x24b)](_0x4bb57a['id']);if(!_0x555aea)return null;const _0x550223=_0x555aea[_0xdaa3de(0x235)](),_0x2c5697=_0x17e325[_0xdaa3de(0x28d)][_0xdaa3de(0x299)][_0xdaa3de(0x1f5)]();if(!_0x2c5697||!_0x550223)return null;const _0x1b8895=_0x2c5697[_0xdaa3de(0x20c)](_0xdaa3de(0x23a)+_0x4bb57a['id']+'\x22]');return _0x1b8895?{'modelRange':_0x550223,'domElement':_0x1b8895}:null;}[_0x55731f(0x239)](_0x1dd8b0,_0x5cc80f,_0x414b6c){const _0x52c769=_0x55731f;if(_0x52c769(0x1f8)===_0x1dd8b0[_0x52c769(0x20e)]){const _0x333d80=_0x1dd8b0;return new _0x459e73(this[_0x52c769(0x21e)](_0x333d80[_0x52c769(0x200)],_0x5cc80f[_0x52c769(0x240)](_0x333d80[_0x52c769(0x200)][_0x52c769(0x216)]),_0x414b6c),_0x333d80[_0x52c769(0x2aa)],_0x333d80[_0x52c769(0x2b0)]);}if(_0x52c769(0x270)===_0x1dd8b0[_0x52c769(0x20e)]&&_0x1dd8b0[_0x52c769(0x256)][_0x52c769(0x28a)](_0x52c769(0x21c))){const _0x35679e=_0x1dd8b0;return new _0x43aad1(_0x35679e[_0x52c769(0x256)],_0x35679e[_0x52c769(0x249)],this[_0x52c769(0x295)](_0x35679e[_0x52c769(0x23c)],_0x5cc80f[_0x52c769(0x240)](_0x35679e[_0x52c769(0x23c)][_0x52c769(0x268)][_0x52c769(0x216)]),_0x5cc80f[_0x52c769(0x240)](_0x35679e[_0x52c769(0x23c)][_0x52c769(0x23f)][_0x52c769(0x216)]),_0x414b6c),_0x35679e[_0x52c769(0x28b)],_0x35679e[_0x52c769(0x223)],_0x35679e[_0x52c769(0x2b0)]);}return _0x1dd8b0;}[_0x55731f(0x290)](_0x1a6705){const _0x5b3f48=_0x55731f;if(!_0x1a6705[_0x5b3f48(0x272)])return[];const _0x1dfaf5=[];let _0x567daa=0x0,_0x335505=0x0,_0x25d606=[];for(let _0x1cffc4=0x0;_0x1cffc4<=_0x1a6705[_0x5b3f48(0x272)];_0x1cffc4++){const _0x4bf508=_0x1a6705[_0x1cffc4],_0x4f9f96=_0x1a6705[_0x1cffc4-0x1];!_0x4bf508||_0x4f9f96&&!this[_0x5b3f48(0x2ab)](_0x4f9f96)[_0x5b3f48(0x237)](this[_0x5b3f48(0x1f2)](_0x4bf508))?(_0x1dfaf5[_0x5b3f48(0x260)]({'operations':_0x25d606,'operationsIsolated':_0x25d606[_0x5b3f48(0x28e)](_0x2538dc=>this[_0x5b3f48(0x1fa)](_0x2538dc[_0x5b3f48(0x274)](),-_0x335505)),'groupOffset':_0x567daa}),_0x25d606=_0x4bf508?[_0x4bf508]:[],_0x335505+=_0x567daa,_0x567daa=0x0):_0x25d606[_0x5b3f48(0x260)](_0x4bf508),_0x4bf508&&_0x5b3f48(0x1f8)===_0x4bf508[_0x5b3f48(0x20e)]&&(_0x567daa+=_0x4bf508[_0x5b3f48(0x211)]);}return _0x1dfaf5;}[_0x55731f(0x286)](_0x18a5e3,_0x8dd133,_0x33ab29,_0x395344=0x1){const _0x15821d=_0x55731f,_0x16e788=new _0x1d9402({'startPosition':_0x18a5e3,'direction':_0x8dd133});let _0x5390d8=0x0;for(let _0x4e6c43=0x0;_0x4e6c43<_0x395344;_0x4e6c43++){let _0x4b9396=0x0,_0x5e4319=!0x1,_0x148b27=_0x15821d(0x29d)===_0x8dd133?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4252c5}of _0x16e788)if(_0x4252c5['is'](_0x15821d(0x25a))){const _0x2cc059=_0x148b27[_0x15821d(0x1f9)](_0x4252c5[_0x15821d(0x278)]);if(_0x2cc059&&_0x2cc059[_0x15821d(0x272)]){if(_0x4b9396+=_0x15821d(0x29d)===_0x8dd133?_0x2cc059[_0x15821d(0x26f)]+_0x2cc059[0x0][_0x15821d(0x272)]:_0x4252c5[_0x15821d(0x278)][_0x15821d(0x272)]-_0x2cc059[_0x15821d(0x26f)],_0x2cc059[0x0][_0x15821d(0x272)]!==_0x4252c5[_0x15821d(0x278)][_0x15821d(0x272)])break;_0x5e4319=!0x0,_0x148b27=_0x15821d(0x29d)===_0x8dd133?/^\w+/:/\w+$/;}else{if(_0x5e4319)break;_0x4b9396+=_0x4252c5[_0x15821d(0x26a)];}}else{if(_0x4252c5['is'](_0x15821d(0x229))){_0x33ab29[_0x15821d(0x1f3)](_0x4252c5)&&!_0x5e4319&&(_0x4b9396+=0x1);break;}}_0x5390d8+=_0x4b9396,_0x16e788[_0x15821d(0x201)](_0x18a5e3[_0x15821d(0x1ed)](_0x15821d(0x29d)===_0x8dd133?_0x5390d8:-_0x5390d8));}return _0x5390d8;}[_0x55731f(0x21b)](_0x5bf87b,_0x36fbb3){const _0x58150f=_0x55731f,_0x51b600=_0x47fe83(this[_0x58150f(0x25e)])[_0x58150f(0x2a1)][_0x58150f(0x21a)],_0x1d380a=this[_0x58150f(0x286)](_0x5bf87b,_0x58150f(0x1e6),_0x51b600,0x6),_0x3a6140=this[_0x58150f(0x286)](_0x36fbb3,_0x58150f(0x29d),_0x51b600,0x6),_0x28cabc=_0x5bf87b[_0x58150f(0x1ed)](-_0x1d380a),_0x447d04=_0x36fbb3[_0x58150f(0x1ed)](_0x3a6140);return{'start':_0x28cabc,'end':_0x447d04,'hasContentBefore':!_0x28cabc[_0x58150f(0x266)],'hasContentAfter':!_0x447d04[_0x58150f(0x203)]};}[_0x55731f(0x214)](_0x35efe6){const _0x1e4be1=_0x55731f,_0x3f5fb0=this[_0x1e4be1(0x25e)][_0x1e4be1(0x20f)][_0x1e4be1(0x24b)](_0x1e4be1(0x1de)),_0x23dbbd=new Set();_0x47fe83(this[_0x1e4be1(0x25e)])[_0x1e4be1(0x2a1)][_0x1e4be1(0x21f)](_0x8d290c=>{const _0x5506ae=_0x1e4be1;for(const _0x3535ce of _0x35efe6){const _0x3f47b5=''+se+_0x3535ce[_0x5506ae(0x20e)]+':'+_0x3535ce[_0x5506ae(0x1fc)]+'_'+_0x3f5fb0[_0x5506ae(0x269)](_0x23dbbd);this[_0x5506ae(0x28b)][_0x5506ae(0x1f1)](_0x3f47b5,{'id':_0x3f47b5,'groupId':_0x3535ce[_0x5506ae(0x1fc)],'type':_0x3535ce[_0x5506ae(0x20e)],'text':_0x3535ce[_0x5506ae(0x1ec)]}),_0x8d290c[_0x5506ae(0x26d)](_0x3f47b5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x8d290c[_0x5506ae(0x1e9)](_0x3535ce[_0x5506ae(0x268)],_0x3535ce[_0x5506ae(0x23f)])});}});}[_0x55731f(0x1df)](_0x21d7a8,_0x211b93,_0x198255){let _0x19ca7e='';return()=>{const _0x12db2f=_0x43ee;if(!_0x19ca7e){const _0x697ef0=_0x211b93[_0x12db2f(0x22a)](_0x21d7a8,{'showSuggestionHighlights':!0x0}),_0x1780d3=_0x697ef0[_0x12db2f(0x28c)](0x0);if(!_0x1780d3)return'';let _0x1b6a83=!0x1;const _0x51a5e8=[];for(const _0x135343 of _0x1780d3[_0x12db2f(0x218)]())_0x135343['is'](_0x12db2f(0x229),_0x12db2f(0x204))&&_0x135343[_0x12db2f(0x2a4)](_0x12db2f(0x28f))&&(_0x1b6a83=!0x1),_0x1b6a83&&_0x51a5e8[_0x12db2f(0x260)](_0x135343),_0x135343['is'](_0x12db2f(0x229),_0x12db2f(0x204))&&_0x135343[_0x12db2f(0x2a4)](_0x12db2f(0x2ae))&&(_0x1b6a83=!0x0);_0x1780d3[_0x12db2f(0x1ea)](0x0,_0x1780d3[_0x12db2f(0x25d)]),_0x198255?.[_0x12db2f(0x26c)]&&_0x1780d3[_0x12db2f(0x241)]('…'),_0x1780d3[_0x12db2f(0x241)](_0x51a5e8),_0x198255?.[_0x12db2f(0x26e)]&&_0x1780d3[_0x12db2f(0x241)]('…');const _0x175284=_0x211b93[_0x12db2f(0x262)][_0x12db2f(0x29a)][_0x12db2f(0x2a8)](_0x697ef0),_0x57e171=_0x211b93[_0x12db2f(0x262)][_0x12db2f(0x25f)][_0x12db2f(0x298)](_0x175284);_0x19ca7e=_0x57e171;}return _0x19ca7e;};}[_0x55731f(0x238)](_0x427dc5,_0x1768b4){const _0x5ef293=_0x55731f;let _0x471559='';return()=>(_0x471559||(_0x471559=_0x1768b4[_0x5ef293(0x1e5)](_0x427dc5,{'showSuggestionHighlights':!0x0})),_0x471559);}[_0x55731f(0x26b)](_0x40f423,_0x2443f5,_0x3d7bcd){let _0xf511ef='';return()=>{const _0x9466ae=_0x43ee;if(!_0xf511ef){const _0x121cc8=_0x3d7bcd[_0x9466ae(0x22a)](new _0x41dfcc(_0x40f423)),_0x17abae=_0x3d7bcd[_0x9466ae(0x262)][_0x9466ae(0x29a)][_0x9466ae(0x2a8)](_0x121cc8)[_0x9466ae(0x20c)](_0x9466ae(0x1e8)+_0x2443f5+'\x22]');_0xf511ef=_0x17abae?.[_0x9466ae(0x207)]||'';}return _0xf511ef;};}[_0x55731f(0x227)](_0x76343a,_0x1305b0=0x5){const _0x1cc24f=_0x55731f;let _0x43d6b1=_0x76343a,_0x55ef64=null;for(let _0x225723=0x0;_0x225723<_0x1305b0&&_0x43d6b1;_0x225723++){if(!_0x43d6b1[_0x1cc24f(0x232)]){_0x43d6b1=_0x43d6b1[_0x1cc24f(0x217)];continue;}if(!(''+_0x43d6b1[_0x1cc24f(0x232)])[_0x1cc24f(0x215)](_0x1cc24f(0x243))){_0x43d6b1=_0x43d6b1[_0x1cc24f(0x217)];continue;}if(!_0x43d6b1[_0x1cc24f(0x1eb)](_0x1cc24f(0x275)))break;_0x55ef64=_0x43d6b1;break;}return _0x55ef64;}[_0x55731f(0x263)](_0x435d36){const _0x2b7921=_0x55731f;return Array[_0x2b7921(0x244)](this[_0x2b7921(0x28b)][_0x2b7921(0x250)]())[_0x2b7921(0x247)](_0x77e47b=>_0x77e47b[_0x2b7921(0x1fc)]===_0x435d36);}[_0x55731f(0x1f2)](_0x43a44c){const _0x216425=_0x55731f;return _0x216425(0x1f8)===_0x43a44c[_0x216425(0x20e)]?_0x43a44c[_0x216425(0x200)]:_0x43a44c[_0x216425(0x23c)][_0x216425(0x268)];}[_0x55731f(0x2ab)](_0x14c0cd,_0x1b2290=!0x1){const _0x47669f=_0x55731f;return _0x47669f(0x1f8)===_0x14c0cd[_0x47669f(0x20e)]?_0x1b2290?_0x14c0cd[_0x47669f(0x200)]:_0x14c0cd[_0x47669f(0x200)][_0x47669f(0x1ed)](_0x14c0cd[_0x47669f(0x211)]):_0x14c0cd[_0x47669f(0x23c)][_0x47669f(0x23f)];}[_0x55731f(0x1fa)](_0x478cd0,_0x1518ca){const _0x46da0b=_0x55731f;return _0x46da0b(0x1f8)===_0x478cd0[_0x46da0b(0x20e)]?_0x478cd0[_0x46da0b(0x200)]=_0x478cd0[_0x46da0b(0x200)][_0x46da0b(0x1ed)](_0x1518ca):_0x46da0b(0x270)===_0x478cd0[_0x46da0b(0x20e)]&&_0x478cd0[_0x46da0b(0x23c)]&&(_0x478cd0[_0x46da0b(0x23c)]=new _0x4bb759(_0x478cd0[_0x46da0b(0x23c)][_0x46da0b(0x268)][_0x46da0b(0x1ed)](_0x1518ca),_0x478cd0[_0x46da0b(0x23c)][_0x46da0b(0x23f)][_0x46da0b(0x1ed)](_0x1518ca))),_0x478cd0;}[_0x55731f(0x225)](_0x794ee9,_0xe5e989){const _0xcb5ba3=_0x55731f;_0xcb5ba3(0x1f8)===_0x794ee9[_0xcb5ba3(0x20e)]?_0x794ee9[_0xcb5ba3(0x200)]=this[_0xcb5ba3(0x288)](_0x794ee9[_0xcb5ba3(0x200)],_0xe5e989):_0xcb5ba3(0x270)===_0x794ee9[_0xcb5ba3(0x20e)]&&_0x794ee9[_0xcb5ba3(0x23c)]&&(_0x794ee9[_0xcb5ba3(0x23c)]=this[_0xcb5ba3(0x202)](_0x794ee9[_0xcb5ba3(0x23c)],_0xe5e989));}[_0x55731f(0x288)](_0x3507c6,_0x3e5ed6){const _0x52ac50=_0x55731f;return new _0x450e8b(_0x3e5ed6,_0x3507c6[_0x52ac50(0x1fb)]);}[_0x55731f(0x202)](_0x57c149,_0xbb5242){const _0x45be9b=_0x55731f;return new _0x4bb759(this[_0x45be9b(0x288)](_0x57c149[_0x45be9b(0x268)],_0xbb5242),this[_0x45be9b(0x288)](_0x57c149[_0x45be9b(0x23f)],_0xbb5242));}[_0x55731f(0x21e)](_0x4183cb,_0x3d0eb3,_0x16bae9){return new _0x450e8b(_0x16bae9,[..._0x3d0eb3]);}[_0x55731f(0x295)](_0x391667,_0x308b28,_0x1b90e7,_0x10cbf7){const _0x2830b1=_0x55731f;return new _0x4bb759(this[_0x2830b1(0x21e)](_0x391667[_0x2830b1(0x268)],_0x308b28,_0x10cbf7),this[_0x2830b1(0x21e)](_0x391667[_0x2830b1(0x23f)],_0x1b90e7,_0x10cbf7));}[_0x55731f(0x2a7)](_0x1bf54b){const _0x45bb67=_0x55731f;let _0x5823be=_0x1bf54b;for(;_0x5823be[_0x45bb67(0x2ad)]&&!_0x5823be[_0x45bb67(0x2ad)]['is'](_0x45bb67(0x276));)_0x5823be=_0x5823be[_0x45bb67(0x2ad)];return _0x5823be;}[_0x55731f(0x228)](_0x5ac116){const _0x15a6de=_0x55731f,_0x471073=_0x13bc4b=>{const _0x507e8a=_0x43ee;switch(_0x13bc4b){case _0x507e8a(0x1f8):return 0x1;case _0x507e8a(0x20b):return 0x2;case _0x507e8a(0x2b2):return 0x3;case _0x507e8a(0x24a):return 0x4;}};return _0x5ac116[_0x15a6de(0x231)]((_0x3e38e7,_0x52b592)=>_0x471073(_0x3e38e7[_0x15a6de(0x20e)])-_0x471073(_0x52b592[_0x15a6de(0x20e)]));}}
@@ -10,8 +10,9 @@ import { type Context, type Editor, ContextPlugin } from 'ckeditor5/src/core.js'
10
10
  import { AITabs } from '../aitabs/aitabs.js';
11
11
  import { type AIReviewCheck } from './model/aireviewcheck.js';
12
12
  import { type AIReviewCheckRunUpdatedEvent } from './model/aireviewcheckrun.js';
13
+ import { type AIReviewCheckResultChange } from './model/aireviewcheckresultchange.js';
13
14
  import '../../theme/aireviewmode/aireviewmode.css';
14
- export declare const AI_REVIEW_MODE_UI_EVENT_NAMES: readonly ["getReviewCheckList", "runReviewCheck", "abortReviewStream", "toggleDiff", "acceptAllChanges", "leaveReviewModeResultList", "scrollToSuggestionInDocument", "acceptChange", "dismissChange", "learnMore", "finishReview", "retryReview"];
15
+ export declare const AI_REVIEW_MODE_UI_EVENT_NAMES: readonly ["getReviewCheckList", "runReviewCheck", "abortReviewStream", "toggleDiff", "acceptAllChanges", "leaveReviewModeResultList", "activateChange", "acceptChange", "dismissChange", "learnMore", "finishReview", "retryReview"];
15
16
  export declare class AIReviewModeUI extends ContextPlugin {
16
17
  /**
17
18
  * @inheritDoc
@@ -37,6 +38,10 @@ export declare class AIReviewModeUI extends ContextPlugin {
37
38
  * @inheritDoc
38
39
  */
39
40
  init(): void;
41
+ /**
42
+ * @inheritDoc
43
+ */
44
+ destroy(): void;
40
45
  /**
41
46
  * Sets the available checks in the AI Review Mode list view.
42
47
  */
@@ -53,11 +58,17 @@ export declare class AIReviewModeUI extends ContextPlugin {
53
58
  showGeneralErrorView(): void;
54
59
  showChunkErrorView(): void;
55
60
  setCheckResultTitle(title: string): void;
61
+ setActiveStateInResults(id: string): void;
56
62
  resetActiveStateInResults(): void;
57
63
  updateChangeState(id: string, status: 'active' | 'accepted' | 'rejected'): void;
58
64
  showReviewCompletedView(): void;
59
65
  showActionsWhenResultIsReady(): void;
66
+ showNoChangesView(): void;
60
67
  hideActionsWhenResultIsReady(): void;
68
+ showChangeBalloon(change: AIReviewCheckResultChange, target: HTMLElement): void;
69
+ hideChangeBalloon(): void;
70
+ getChangeElement(changeId: string): HTMLElement | null;
71
+ deactivateChange(): void;
61
72
  }
62
73
  export type AIReviewModeUIGetReviewCheckListEvent = {
63
74
  name: 'getReviewCheckList';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe21122=_0x5d85;(function(_0x2293e1,_0x5d2ac4){const _0x2aa754=_0x5d85,_0x5851b6=_0x2293e1();while(!![]){try{const _0x1faed0=-parseInt(_0x2aa754(0x1af))/0x1+parseInt(_0x2aa754(0x1c1))/0x2+-parseInt(_0x2aa754(0x1d8))/0x3*(-parseInt(_0x2aa754(0x1b0))/0x4)+-parseInt(_0x2aa754(0x1bb))/0x5+-parseInt(_0x2aa754(0x1a4))/0x6+-parseInt(_0x2aa754(0x1dc))/0x7*(-parseInt(_0x2aa754(0x1b5))/0x8)+-parseInt(_0x2aa754(0x1ac))/0x9*(-parseInt(_0x2aa754(0x1a2))/0xa);if(_0x1faed0===_0x5d2ac4)break;else _0x5851b6['push'](_0x5851b6['shift']());}catch(_0x73e11f){_0x5851b6['push'](_0x5851b6['shift']());}}}(_0x140e,0xcf1d3));import{ContextPlugin as _0x2a8889}from'ckeditor5/src/core.js';import{IconAIReview as _0x33306e}from'ckeditor5/src/icons.js';import{AITabs as _0x43615d}from'../aitabs/aitabs.js';function _0x5d85(_0x3f90b3,_0x5e183e){const _0x140e5f=_0x140e();return _0x5d85=function(_0x5d85bf,_0x51c612){_0x5d85bf=_0x5d85bf-0x19b;let _0x5b97ab=_0x140e5f[_0x5d85bf];return _0x5b97ab;},_0x5d85(_0x3f90b3,_0x5e183e);}import{AIReviewModeView as _0x1db463}from'./ui/aireviewmodeview.js';import{getTranslation as _0x20caa3}from'../aicore/utils/common-translations.js';import'../../theme/aireviewmode/aireviewmode.css';function _0x140e(){const _0x422752=['showReviewCompletedView','8185420qGjdSw','delegate','8928318ALeGLw','scrollToSuggestionInDocument','retryReview','setAvailableChecks','isPremiumPlugin','showReviewCheckListView','learnMore','acceptChange','9JbBSdH','locale','reviewCheckListView','163561gAlHRX','3252qCyWWH','toggleDiff','showReviewCheckResultsView','error-general','addCheckRunResult','17048niHOrU','getReviewCheckList','finishReview','AIReviewModeUI','showCheckRunResults','get','4446455egrJOy','activateTab','leaveReviewMode','AI_REVIEW_MODE','setChecks','updateChangeState','3088634lboVWn','leaveReviewModeResultList','isOfficialPlugin','accepted','showChunkErrorView','showActionsWhenResultIsReady','addTab','plugins','status','dismissChange','rejected','hideActionsWhenResultIsReady','setTitle','showCheckRunResult','pluginName','init','hideResult','acceptAllChanges','abortReviewStream','setCheckResultTitle','fire','hasChecks','showReviewCheckList','1161IWeDij','error-chunk','context','setItemAsInactive','2338kCakrw','AITabs','_reviewModeView','runReviewCheck','showGeneralErrorView','reviewCheckResultsView','getResults','forEach','view','reviewMode','requires','resetActiveStateInResults'];_0x140e=function(){return _0x422752;};return _0x140e();}export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0xe21122(0x1b6),_0xe21122(0x1df),_0xe21122(0x1d3),_0xe21122(0x1b1),_0xe21122(0x1d2),_0xe21122(0x1c2),_0xe21122(0x1a5),_0xe21122(0x1ab),_0xe21122(0x1ca),_0xe21122(0x1aa),_0xe21122(0x1b7),_0xe21122(0x1a6)];export class AIReviewModeUI extends _0x2a8889{[_0xe21122(0x1de)];static get[_0xe21122(0x19f)](){return[_0x43615d];}static get[_0xe21122(0x1cf)](){const _0x38e7aa=_0xe21122;return _0x38e7aa(0x1b8);}static get[_0xe21122(0x1c3)](){return!0x0;}static get[_0xe21122(0x1a8)](){return!0x0;}constructor(_0x5ab0ac){const _0x4979fd=_0xe21122;super(_0x5ab0ac),this[_0x4979fd(0x1de)]=new _0x1db463(this[_0x4979fd(0x1da)][_0x4979fd(0x1ad)]),this[_0x4979fd(0x1de)][_0x4979fd(0x1a3)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this);}[_0xe21122(0x1d0)](){const _0x64a80f=_0xe21122,_0x4ab9a4=this[_0x64a80f(0x1da)][_0x64a80f(0x1c8)][_0x64a80f(0x1ba)](_0x64a80f(0x1dd));_0x4ab9a4[_0x64a80f(0x19d)]['on'](_0x64a80f(0x1bc),(_0x502697,_0x4b4290)=>{const _0x47167b=_0x64a80f;_0x47167b(0x19e)===_0x4b4290?this[_0x47167b(0x1d5)](_0x47167b(0x1b6)):this[_0x47167b(0x1d5)](_0x47167b(0x1bd));}),_0x4ab9a4[_0x64a80f(0x19d)][_0x64a80f(0x1c7)]({'id':_0x64a80f(0x19e),'buttonLabel':_0x20caa3(this[_0x64a80f(0x1da)][_0x64a80f(0x1ad)],_0x64a80f(0x1be)),'buttonIcon':_0x33306e,'order':0x0,'content':this[_0x64a80f(0x1de)]});}[_0xe21122(0x1a7)](_0x24c287){const _0x5779e5=_0xe21122;this[_0x5779e5(0x1de)][_0x5779e5(0x1ae)][_0x5779e5(0x1d6)]()||this[_0x5779e5(0x1de)][_0x5779e5(0x1ae)][_0x5779e5(0x1bf)](_0x24c287),this[_0x5779e5(0x1de)][_0x5779e5(0x1a9)]();}[_0xe21122(0x1d7)](){const _0x2d4310=_0xe21122;this[_0x2d4310(0x1d5)](_0x2d4310(0x1b6));}[_0xe21122(0x1b9)](_0x1b0d78){const _0x149383=_0xe21122;_0x1b0d78&&(_0x149383(0x1b3)!==_0x1b0d78[_0x149383(0x1c9)]?_0x149383(0x1d9)!==_0x1b0d78[_0x149383(0x1c9)]?this[_0x149383(0x1de)][_0x149383(0x1b2)]():this[_0x149383(0x1c5)]():this[_0x149383(0x1e0)]());}[_0xe21122(0x1ce)](_0x630520){const _0xa2e04f=_0xe21122;this[_0xa2e04f(0x1de)][_0xa2e04f(0x1b4)](_0x630520);}[_0xe21122(0x1e0)](){const _0x17989f=_0xe21122;this[_0x17989f(0x1de)][_0x17989f(0x1e0)]();}[_0xe21122(0x1c5)](){const _0x3957df=_0xe21122;this[_0x3957df(0x1de)][_0x3957df(0x1c5)]();}[_0xe21122(0x1d4)](_0x3d5da9){const _0x471060=_0xe21122;this[_0x471060(0x1de)][_0x471060(0x1e1)][_0x471060(0x1cd)](_0x3d5da9);}[_0xe21122(0x1a0)](){const _0x5914a1=_0xe21122;this[_0x5914a1(0x1de)][_0x5914a1(0x1e1)][_0x5914a1(0x19b)]()[_0x5914a1(0x19c)](_0x4e3cc3=>_0x4e3cc3[_0x5914a1(0x1db)]());}[_0xe21122(0x1c0)](_0x1a504f,_0x2bd756){const _0xa70fc8=_0xe21122;_0xa70fc8(0x1c4)!==_0x2bd756&&_0xa70fc8(0x1cb)!==_0x2bd756||this[_0xa70fc8(0x1de)][_0xa70fc8(0x1e1)][_0xa70fc8(0x1d1)](_0x1a504f);}[_0xe21122(0x1a1)](){const _0x2f74e4=_0xe21122;this[_0x2f74e4(0x1de)][_0x2f74e4(0x1a1)]();}[_0xe21122(0x1c6)](){const _0x3cdeb8=_0xe21122;this[_0x3cdeb8(0x1de)][_0x3cdeb8(0x1c6)]();}[_0xe21122(0x1cc)](){const _0x1b92b2=_0xe21122;this[_0x1b92b2(0x1de)][_0x1b92b2(0x1cc)]();}}
23
+ const _0x5603c8=_0x4910;(function(_0x9ca7c,_0x101e9d){const _0x57c219=_0x4910,_0x948b67=_0x9ca7c();while(!![]){try{const _0x1a6587=-parseInt(_0x57c219(0x13f))/0x1+-parseInt(_0x57c219(0x12a))/0x2*(parseInt(_0x57c219(0x11c))/0x3)+parseInt(_0x57c219(0x16c))/0x4+parseInt(_0x57c219(0x132))/0x5*(-parseInt(_0x57c219(0x15e))/0x6)+parseInt(_0x57c219(0x166))/0x7+-parseInt(_0x57c219(0x134))/0x8*(-parseInt(_0x57c219(0x164))/0x9)+parseInt(_0x57c219(0x14b))/0xa*(parseInt(_0x57c219(0x14d))/0xb);if(_0x1a6587===_0x101e9d)break;else _0x948b67['push'](_0x948b67['shift']());}catch(_0x1a16d5){_0x948b67['push'](_0x948b67['shift']());}}}(_0x1c81,0xf28be));function _0x4910(_0x949db6,_0x371a6e){const _0x1c8126=_0x1c81();return _0x4910=function(_0x491056,_0x2f11e7){_0x491056=_0x491056-0x11b;let _0x4a3295=_0x1c8126[_0x491056];return _0x4a3295;},_0x4910(_0x949db6,_0x371a6e);}import{ContextPlugin as _0x345a4d}from'ckeditor5/src/core.js';import{IconAIReview as _0x83e5d7}from'ckeditor5/src/icons.js';import{BodyCollection as _0x249141}from'ckeditor5/src/ui.js';import{AITabs as _0xd592f3}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x5a7532}from'./ui/aireviewmodeview.js';import{getTranslation as _0x1c409e}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x173f99}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';function _0x1c81(){const _0x151a6f=['_reviewModeView','view','hideChangeBalloon','destroy','retryReview','130htQejW','finishReview','248NzKPnq','rejected','reviewMode','showReviewCheckResultsView','_bodyCollection','fire','isPremiumPlugin','showCheckRunResults','acceptChange','leaveReviewMode','showReviewCheckList','734898bLuHrA','error-general','toggleDiff','resetActiveStateInResults','setItemAsInactive','element','addTab','setTitle','showActionsWhenResultIsReady','attachToDom','deactivateChange','init','1130EAmlsx','updateChangeState','88033kWzCsP','showGeneralErrorView','activateTab','context','activateChange','getResults','AITabs','AI_REVIEW_MODE','locale','reviewCheckResultsView','setCheckResultTitle','delegate','showNoChangesView','requires','hideBalloon','dismissChange','get','346242VRPDln','plugins','showChangeBalloon','showCheckRunResult','AIReviewModeUI','isOfficialPlugin','198819cuRnVX','_reviewModeBalloonSuggestionItemView','13139644TqztQt','getChangeElement','status','forEach','reviewCheckListView','getReviewCheckList','5718880JQQIrI','addCheckRunResult','leaveReviewModeResultList','error-chunk','pluginName','setItemAsActive','accepted','abortReviewStream','42387uuhrdF','runReviewCheck','hideResult','hasChecks','showBalloon','showReviewCheckListView','acceptAllChanges','hideActionsWhenResultIsReady','setChecks','detachFromDom','showChunkErrorView','learnMore','setAvailableChecks','setActiveStateInResults','236jbFIZM','showReviewCompletedView','find'];_0x1c81=function(){return _0x151a6f;};return _0x1c81();}export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x5603c8(0x16b),_0x5603c8(0x11d),_0x5603c8(0x11b),_0x5603c8(0x141),_0x5603c8(0x122),_0x5603c8(0x16e),_0x5603c8(0x151),_0x5603c8(0x13c),_0x5603c8(0x15c),_0x5603c8(0x127),_0x5603c8(0x133),_0x5603c8(0x131)];export class AIReviewModeUI extends _0x345a4d{[_0x5603c8(0x12d)];[_0x5603c8(0x165)];[_0x5603c8(0x138)];static get[_0x5603c8(0x15a)](){return[_0xd592f3];}static get[_0x5603c8(0x170)](){const _0x12e468=_0x5603c8;return _0x12e468(0x162);}static get[_0x5603c8(0x163)](){return!0x0;}static get[_0x5603c8(0x13a)](){return!0x0;}constructor(_0x37b014){const _0x556cae=_0x5603c8;super(_0x37b014),this[_0x556cae(0x138)]=new _0x249141(this[_0x556cae(0x150)][_0x556cae(0x155)]),this[_0x556cae(0x138)][_0x556cae(0x148)](),this[_0x556cae(0x12d)]=new _0x5a7532(this[_0x556cae(0x150)][_0x556cae(0x155)]),this[_0x556cae(0x12d)][_0x556cae(0x158)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x556cae(0x165)]=new _0x173f99(this[_0x556cae(0x150)][_0x556cae(0x155)],this[_0x556cae(0x138)]),this[_0x556cae(0x165)][_0x556cae(0x158)](_0x556cae(0x13c),_0x556cae(0x15c),_0x556cae(0x149))['to'](this);}[_0x5603c8(0x14a)](){const _0x59846f=_0x5603c8,_0x26ca2e=this[_0x59846f(0x150)][_0x59846f(0x15f)][_0x59846f(0x15d)](_0x59846f(0x153));_0x26ca2e[_0x59846f(0x12e)]['on'](_0x59846f(0x14f),(_0x3f7701,_0x1dff80)=>{const _0x11a9e0=_0x59846f;_0x11a9e0(0x136)===_0x1dff80?this[_0x11a9e0(0x139)](_0x11a9e0(0x16b)):this[_0x11a9e0(0x139)](_0x11a9e0(0x13d));}),_0x26ca2e[_0x59846f(0x12e)][_0x59846f(0x145)]({'id':_0x59846f(0x136),'buttonLabel':_0x1c409e(this[_0x59846f(0x150)][_0x59846f(0x155)],_0x59846f(0x154)),'buttonIcon':_0x83e5d7,'order':0x0,'content':this[_0x59846f(0x12d)]});}[_0x5603c8(0x130)](){const _0x11532f=_0x5603c8;this[_0x11532f(0x138)][_0x11532f(0x125)](),super[_0x11532f(0x130)]();}[_0x5603c8(0x128)](_0x51f36d){const _0x24b625=_0x5603c8;this[_0x24b625(0x12d)][_0x24b625(0x16a)][_0x24b625(0x11f)]()||this[_0x24b625(0x12d)][_0x24b625(0x16a)][_0x24b625(0x124)](_0x51f36d),this[_0x24b625(0x12d)][_0x24b625(0x121)]();}[_0x5603c8(0x13e)](){const _0x5919dd=_0x5603c8;this[_0x5919dd(0x139)](_0x5919dd(0x16b));}[_0x5603c8(0x13b)](_0x195216){const _0x5596c9=_0x5603c8;_0x195216&&(_0x5596c9(0x140)!==_0x195216[_0x5596c9(0x168)]?_0x5596c9(0x16f)!==_0x195216[_0x5596c9(0x168)]?this[_0x5596c9(0x12d)][_0x5596c9(0x137)]():this[_0x5596c9(0x126)]():this[_0x5596c9(0x14e)]());}[_0x5603c8(0x161)](_0x254665){const _0x2441ce=_0x5603c8;this[_0x2441ce(0x12d)][_0x2441ce(0x16d)](_0x254665);}[_0x5603c8(0x14e)](){const _0x2945c6=_0x5603c8;this[_0x2945c6(0x12d)][_0x2945c6(0x14e)]();}[_0x5603c8(0x126)](){const _0x153f77=_0x5603c8;this[_0x153f77(0x12d)][_0x153f77(0x126)]();}[_0x5603c8(0x157)](_0x36a3f5){const _0x398344=_0x5603c8;this[_0x398344(0x12d)][_0x398344(0x156)][_0x398344(0x146)](_0x36a3f5);}[_0x5603c8(0x129)](_0x232d6c){const _0xf8aeee=_0x5603c8;this[_0xf8aeee(0x12d)][_0xf8aeee(0x156)][_0xf8aeee(0x152)]()[_0xf8aeee(0x169)](_0x1409e4=>{const _0xdbb145=_0xf8aeee;_0x1409e4['id']===_0x232d6c&&_0x1409e4[_0xdbb145(0x171)]();});}[_0x5603c8(0x142)](){const _0x20f376=_0x5603c8;this[_0x20f376(0x12d)][_0x20f376(0x156)][_0x20f376(0x152)]()[_0x20f376(0x169)](_0x2bbb75=>_0x2bbb75[_0x20f376(0x143)]());}[_0x5603c8(0x14c)](_0x148796,_0x341f65){const _0x3b3e20=_0x5603c8;_0x3b3e20(0x172)!==_0x341f65&&_0x3b3e20(0x135)!==_0x341f65||this[_0x3b3e20(0x12d)][_0x3b3e20(0x156)][_0x3b3e20(0x11e)](_0x148796);}[_0x5603c8(0x12b)](){const _0x1c218d=_0x5603c8;this[_0x1c218d(0x12d)][_0x1c218d(0x12b)]();}[_0x5603c8(0x147)](){const _0x4dabaf=_0x5603c8;this[_0x4dabaf(0x12d)][_0x4dabaf(0x147)]();}[_0x5603c8(0x159)](){const _0x1367a9=_0x5603c8;this[_0x1367a9(0x12d)][_0x1367a9(0x159)]();}[_0x5603c8(0x123)](){const _0x2f7268=_0x5603c8;this[_0x2f7268(0x12d)][_0x2f7268(0x123)]();}[_0x5603c8(0x160)](_0x59f896,_0xd1eda3){const _0x597da2=_0x5603c8;this[_0x597da2(0x165)][_0x597da2(0x120)](_0x59f896,_0xd1eda3);}[_0x5603c8(0x12f)](){const _0x479667=_0x5603c8;this[_0x479667(0x165)][_0x479667(0x15b)]();}[_0x5603c8(0x167)](_0x2b86ee){const _0x50af27=_0x5603c8,_0x94c640=this[_0x50af27(0x12d)][_0x50af27(0x156)][_0x50af27(0x152)]()[_0x50af27(0x12c)](_0x1d44e5=>_0x1d44e5['id']===_0x2b86ee);return _0x94c640?_0x94c640[_0x50af27(0x144)]:null;}[_0x5603c8(0x149)](){const _0x517e3c=_0x5603c8;this[_0x517e3c(0x165)][_0x517e3c(0x149)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x157e(){var _0x4baa99=['30VXPyXz','12729376EUrqcX','12YADreR','options','8923494ReKVoz','isParameterized','17275929jsUqlC','description','933111aNpjoK','2633315UtseVR','2fAqfhi','2984394EdLYRk','7LpQcEB','useArgs','1607757EkVidO','title'];_0x157e=function(){return _0x4baa99;};return _0x157e();}function _0x47f2(_0x4f61ed,_0x2ea7fa){var _0x157ebf=_0x157e();return _0x47f2=function(_0x47f2cf,_0x5496b3){_0x47f2cf=_0x47f2cf-0xb0;var _0x12f6a1=_0x157ebf[_0x47f2cf];return _0x12f6a1;},_0x47f2(_0x4f61ed,_0x2ea7fa);}var _0x39d857=_0x47f2;(function(_0x1df496,_0x17ddb){var _0x469e75=_0x47f2,_0x4c1542=_0x1df496();while(!![]){try{var _0x4c5240=parseInt(_0x469e75(0xb0))/0x1+-parseInt(_0x469e75(0xbc))/0x2*(parseInt(_0x469e75(0xbd))/0x3)+-parseInt(_0x469e75(0xb4))/0x4*(-parseInt(_0x469e75(0xbb))/0x5)+-parseInt(_0x469e75(0xb6))/0x6*(-parseInt(_0x469e75(0xbe))/0x7)+-parseInt(_0x469e75(0xb3))/0x8+parseInt(_0x469e75(0xba))/0x9*(parseInt(_0x469e75(0xb2))/0xa)+-parseInt(_0x469e75(0xb8))/0xb;if(_0x4c5240===_0x17ddb)break;else _0x4c1542['push'](_0x4c1542['shift']());}catch(_0x52b4e6){_0x4c1542['push'](_0x4c1542['shift']());}}}(_0x157e,0xca853));export class AIReviewCheck{['id'];[_0x39d857(0xb1)];[_0x39d857(0xb9)];[_0x39d857(0xb7)];[_0x39d857(0xbf)];[_0x39d857(0xb5)];constructor({id:_0x56ae75,title:_0x3721a6,description:_0x551989,isParameterized:_0x692495,useArgs:_0x3313f8,options:_0x4869e7}){var _0x1fc422=_0x39d857;this['id']=_0x56ae75,this[_0x1fc422(0xb1)]=_0x3721a6,this[_0x1fc422(0xb9)]=_0x551989,this[_0x1fc422(0xb7)]=_0x692495,this[_0x1fc422(0xbf)]=_0x3313f8,this[_0x1fc422(0xb5)]=_0x4869e7;}}
23
+ function _0x54ea(_0x41014b,_0x442efa){var _0x24fc8f=_0x24fc();return _0x54ea=function(_0x54ea1c,_0x422f74){_0x54ea1c=_0x54ea1c-0x141;var _0x43723d=_0x24fc8f[_0x54ea1c];return _0x43723d;},_0x54ea(_0x41014b,_0x442efa);}var _0x343800=_0x54ea;(function(_0x4439b2,_0x4a3f65){var _0x181a6e=_0x54ea,_0x46c894=_0x4439b2();while(!![]){try{var _0x2f7409=-parseInt(_0x181a6e(0x14d))/0x1*(-parseInt(_0x181a6e(0x147))/0x2)+parseInt(_0x181a6e(0x145))/0x3+-parseInt(_0x181a6e(0x148))/0x4+parseInt(_0x181a6e(0x14c))/0x5+-parseInt(_0x181a6e(0x146))/0x6*(-parseInt(_0x181a6e(0x14b))/0x7)+-parseInt(_0x181a6e(0x14f))/0x8*(-parseInt(_0x181a6e(0x14e))/0x9)+-parseInt(_0x181a6e(0x142))/0xa;if(_0x2f7409===_0x4a3f65)break;else _0x46c894['push'](_0x46c894['shift']());}catch(_0x4688fe){_0x46c894['push'](_0x46c894['shift']());}}}(_0x24fc,0xb3bff));export class AIReviewCheck{['id'];[_0x343800(0x14a)];[_0x343800(0x143)];[_0x343800(0x144)];[_0x343800(0x141)];[_0x343800(0x149)];constructor({id:_0x140ebc,title:_0x511168,description:_0x4321b2,isParameterized:_0x413033,useArgs:_0x2da71d,options:_0x1d7bae}){var _0x3a9b63=_0x343800;this['id']=_0x140ebc,this[_0x3a9b63(0x14a)]=_0x511168,this[_0x3a9b63(0x143)]=_0x4321b2,this[_0x3a9b63(0x144)]=_0x413033,this[_0x3a9b63(0x141)]=_0x2da71d,this[_0x3a9b63(0x149)]=_0x1d7bae;}}function _0x24fc(){var _0x750a9f=['201441ETOQSi','3871254oNrQGV','1208TppQmq','4219832YNwDaE','options','title','14PgfaJy','2213785BruHeX','1486fEtYfO','247068mDikVj','88bZDZwx','useArgs','12086250vmlJSw','description','isParameterized'];_0x24fc=function(){return _0x750a9f;};return _0x24fc();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4c6b2b=_0x489b;(function(_0xc661b8,_0x2f536e){var _0x1b4dbf=_0x489b,_0x207cb=_0xc661b8();while(!![]){try{var _0x292f78=parseInt(_0x1b4dbf(0x17b))/0x1+-parseInt(_0x1b4dbf(0x173))/0x2+-parseInt(_0x1b4dbf(0x179))/0x3+-parseInt(_0x1b4dbf(0x175))/0x4*(parseInt(_0x1b4dbf(0x178))/0x5)+parseInt(_0x1b4dbf(0x17a))/0x6+-parseInt(_0x1b4dbf(0x17d))/0x7*(-parseInt(_0x1b4dbf(0x17c))/0x8)+parseInt(_0x1b4dbf(0x176))/0x9;if(_0x292f78===_0x2f536e)break;else _0x207cb['push'](_0x207cb['shift']());}catch(_0xafbe24){_0x207cb['push'](_0x207cb['shift']());}}}(_0xb4c9,0x735dd));function _0xb4c9(){var _0x11a68b=['393379UxaLWM','891938choxlp','_models','104HIPaqT','1924461lCsKzI','models','46205zFhztH','918432WXaptD','1725402KlviIk','682539JjkLJL','40CpVFiL'];_0xb4c9=function(){return _0x11a68b;};return _0xb4c9();}function _0x489b(_0x57ec2e,_0xa21103){var _0xb4c964=_0xb4c9();return _0x489b=function(_0x489bfe,_0x31ec18){_0x489bfe=_0x489bfe-0x173;var _0x44be4b=_0xb4c964[_0x489bfe];return _0x44be4b;},_0x489b(_0x57ec2e,_0xa21103);}import{AIReviewCheck as _0x3651cf}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x3651cf{[_0x4c6b2b(0x174)]=[];get[_0x4c6b2b(0x177)](){var _0x59b9a8=_0x4c6b2b;return this[_0x59b9a8(0x174)];}set[_0x4c6b2b(0x177)](_0x258e5e){var _0x15de35=_0x4c6b2b;this[_0x15de35(0x174)]=_0x258e5e;}}
23
+ function _0x6e30(){var _0x35add2=['3jpqEpM','1014AGulGU','models','5794376orbnle','469716WzHWUm','1263000HECqYg','2057uWilkl','1913352qlZjna','_models','12562788fVGXxe','2ESUOVa','81QFfOGH','24205pHdptX','18440210igNtkJ'];_0x6e30=function(){return _0x35add2;};return _0x6e30();}var _0x39e57f=_0x3147;(function(_0x4a46f6,_0x52a116){var _0x7fcea=_0x3147,_0xed7bff=_0x4a46f6();while(!![]){try{var _0x3cb031=parseInt(_0x7fcea(0x113))/0x1*(-parseInt(_0x7fcea(0x116))/0x2)+parseInt(_0x7fcea(0x11a))/0x3*(parseInt(_0x7fcea(0x10f))/0x4)+parseInt(_0x7fcea(0x118))/0x5*(-parseInt(_0x7fcea(0x11b))/0x6)+-parseInt(_0x7fcea(0x115))/0x7+-parseInt(_0x7fcea(0x111))/0x8*(parseInt(_0x7fcea(0x117))/0x9)+-parseInt(_0x7fcea(0x119))/0xa+parseInt(_0x7fcea(0x112))/0xb*(parseInt(_0x7fcea(0x110))/0xc);if(_0x3cb031===_0x52a116)break;else _0xed7bff['push'](_0xed7bff['shift']());}catch(_0x2aff17){_0xed7bff['push'](_0xed7bff['shift']());}}}(_0x6e30,0xee97a));import{AIReviewCheck as _0x4dc71d}from'./aireviewcheck.js';function _0x3147(_0x20745c,_0x56aa7e){var _0x314709=_0x6e30();return _0x3147=function(_0x27d003,_0x4b29cc){_0x27d003=_0x27d003-0x10f;var _0x25943a=_0x314709[_0x27d003];return _0x25943a;},_0x3147(_0x20745c,_0x56aa7e);}export class AIReviewCheckCustom extends _0x4dc71d{[_0x39e57f(0x114)]=[];get[_0x39e57f(0x11c)](){var _0x222454=_0x39e57f;return this[_0x222454(0x114)];}set[_0x39e57f(0x11c)](_0x194a10){var _0x42456c=_0x39e57f;this[_0x42456c(0x114)]=_0x194a10;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x34a215=_0x40c2;(function(_0x4e6b8f,_0x49e66a){var _0x3d176e=_0x40c2,_0x1ee268=_0x4e6b8f();while(!![]){try{var _0x307234=parseInt(_0x3d176e(0x194))/0x1+parseInt(_0x3d176e(0x19a))/0x2+parseInt(_0x3d176e(0x191))/0x3*(-parseInt(_0x3d176e(0x189))/0x4)+parseInt(_0x3d176e(0x18f))/0x5*(-parseInt(_0x3d176e(0x199))/0x6)+-parseInt(_0x3d176e(0x197))/0x7*(-parseInt(_0x3d176e(0x188))/0x8)+parseInt(_0x3d176e(0x18a))/0x9*(-parseInt(_0x3d176e(0x193))/0xa)+-parseInt(_0x3d176e(0x18b))/0xb*(parseInt(_0x3d176e(0x18c))/0xc);if(_0x307234===_0x49e66a)break;else _0x1ee268['push'](_0x1ee268['shift']());}catch(_0x4ee787){_0x1ee268['push'](_0x1ee268['shift']());}}}(_0x5e3b,0x67073));import{ObservableMixin as _0x33624f}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x3c39ee}from'./aireviewcheck.js';function _0x40c2(_0x2cf38b,_0x5343b7){var _0x5e3b5a=_0x5e3b();return _0x40c2=function(_0x40c212,_0x2c0858){_0x40c212=_0x40c212-0x188;var _0x58fd15=_0x5e3b5a[_0x40c212];return _0x58fd15;},_0x40c2(_0x2cf38b,_0x5343b7);}import{AIReviewCheckCustom as _0x41726d}from'./aireviewcheckcustom.js';function _0x5e3b(){var _0x445892=['7SlQrLP','_checks','4697016qYCPlD','1338836jdlHXv','3324728DvsNQl','283516GBZbSS','5553nPobwS','1793UYGmVE','2808vAWwXr','map','find','5dYnDZM','getCheckById','3CjMUiU','custom','710wCFnYy','272658TDfXZo','checks','_mapCheckDefinitions'];_0x5e3b=function(){return _0x445892;};return _0x5e3b();}export class AIReviewCheckList extends _0x33624f(){[_0x34a215(0x198)];constructor(_0x2df9a3){var _0x2e3a05=_0x34a215;super(),this[_0x2e3a05(0x198)]=this[_0x2e3a05(0x196)](_0x2df9a3);}get[_0x34a215(0x195)](){var _0x16721f=_0x34a215;return this[_0x16721f(0x198)];}[_0x34a215(0x190)](_0x33b41f){var _0x466742=_0x34a215;return this[_0x466742(0x195)][_0x466742(0x18e)](_0x2c2f38=>_0x2c2f38['id']===_0x33b41f);}[_0x34a215(0x196)](_0x352d3d){var _0x32f3bb=_0x34a215;return _0x352d3d[_0x32f3bb(0x18d)](_0x1fe4e6=>_0x32f3bb(0x192)===_0x1fe4e6['id']?new _0x41726d(_0x1fe4e6):new _0x3c39ee(_0x1fe4e6));}}
23
+ var _0x453bdb=_0x4e2e;(function(_0x235224,_0x3106e4){var _0x4d131b=_0x4e2e,_0x27918b=_0x235224();while(!![]){try{var _0x576e57=-parseInt(_0x4d131b(0xd0))/0x1+parseInt(_0x4d131b(0xd2))/0x2*(parseInt(_0x4d131b(0xd5))/0x3)+-parseInt(_0x4d131b(0xd4))/0x4+-parseInt(_0x4d131b(0xce))/0x5*(parseInt(_0x4d131b(0xcf))/0x6)+parseInt(_0x4d131b(0xda))/0x7*(-parseInt(_0x4d131b(0xcb))/0x8)+-parseInt(_0x4d131b(0xd7))/0x9*(parseInt(_0x4d131b(0xd9))/0xa)+parseInt(_0x4d131b(0xdb))/0xb;if(_0x576e57===_0x3106e4)break;else _0x27918b['push'](_0x27918b['shift']());}catch(_0x486e55){_0x27918b['push'](_0x27918b['shift']());}}}(_0x1718,0x55592));function _0x1718(){var _0x2c9cc9=['24836482ODdTvm','checks','69528bPXRxZ','_checks','map','25MPXxUo','454074aNcKnj','222041vIpqRX','custom','5356SGXSHz','_mapCheckDefinitions','2691552WIfDGe','642nfTYQS','find','117WlxHCE','getCheckById','414490XNqtKT','539fwLBQM'];_0x1718=function(){return _0x2c9cc9;};return _0x1718();}import{ObservableMixin as _0x55e3b0}from'ckeditor5/src/utils.js';function _0x4e2e(_0x3c30cd,_0x1f3bdf){var _0x171835=_0x1718();return _0x4e2e=function(_0x4e2e0c,_0x13bb04){_0x4e2e0c=_0x4e2e0c-0xcb;var _0x10fb98=_0x171835[_0x4e2e0c];return _0x10fb98;},_0x4e2e(_0x3c30cd,_0x1f3bdf);}import{AIReviewCheck as _0x41b656}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x50bf41}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x55e3b0(){[_0x453bdb(0xcc)];constructor(_0x246c40){var _0x46f6e7=_0x453bdb;super(),this[_0x46f6e7(0xcc)]=this[_0x46f6e7(0xd3)](_0x246c40);}get[_0x453bdb(0xdc)](){var _0x49b7cd=_0x453bdb;return this[_0x49b7cd(0xcc)];}[_0x453bdb(0xd8)](_0x11a9dd){var _0x4f491a=_0x453bdb;return this[_0x4f491a(0xdc)][_0x4f491a(0xd6)](_0x1f5cfc=>_0x1f5cfc['id']===_0x11a9dd);}[_0x453bdb(0xd3)](_0x159ade){var _0x1100e1=_0x453bdb;return _0x159ade[_0x1100e1(0xcd)](_0x222d30=>_0x1100e1(0xd1)===_0x222d30['id']?new _0x50bf41(_0x222d30):new _0x41b656(_0x222d30));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x56db(_0x3b6715,_0x2b9ce5){var _0x69ed34=_0x69ed();return _0x56db=function(_0x56db77,_0x80f713){_0x56db77=_0x56db77-0x17c;var _0x18cf25=_0x69ed34[_0x56db77];return _0x18cf25;},_0x56db(_0x3b6715,_0x2b9ce5);}var _0x22c48b=_0x56db;(function(_0x5ae1a5,_0x64ccb9){var _0x8eee30=_0x56db,_0x1d6dc4=_0x5ae1a5();while(!![]){try{var _0x2d4e17=-parseInt(_0x8eee30(0x186))/0x1+parseInt(_0x8eee30(0x189))/0x2*(parseInt(_0x8eee30(0x17c))/0x3)+-parseInt(_0x8eee30(0x18a))/0x4*(parseInt(_0x8eee30(0x17d))/0x5)+parseInt(_0x8eee30(0x187))/0x6*(parseInt(_0x8eee30(0x180))/0x7)+parseInt(_0x8eee30(0x184))/0x8*(parseInt(_0x8eee30(0x181))/0x9)+parseInt(_0x8eee30(0x17f))/0xa*(parseInt(_0x8eee30(0x17e))/0xb)+-parseInt(_0x8eee30(0x183))/0xc*(parseInt(_0x8eee30(0x182))/0xd);if(_0x2d4e17===_0x64ccb9)break;else _0x1d6dc4['push'](_0x1d6dc4['shift']());}catch(_0x4102ad){_0x1d6dc4['push'](_0x1d6dc4['shift']());}}}(_0x69ed,0x1a8a7));function _0x69ed(){var _0x5b8f99=['documentVersion','33bQoEBG','7265qZReym','187xzGdAm','53950ebcKHF','7HWwKYR','1673631heiVda','347230JmKKlK','48HgUXWB','8edQGYs','contentNew','10094gEGnGD','385368DmZcYO','contentInitial','1582yGusuc','344RfGvXH'];_0x69ed=function(){return _0x5b8f99;};return _0x69ed();}import{EmitterMixin as _0x3e362d}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x3e362d(){['id'];[_0x22c48b(0x185)];[_0x22c48b(0x188)];[_0x22c48b(0x18b)];constructor({id:_0x477ed4,contentNew:_0x6ac0ea,contentInitial:_0x33f5c6,documentVersion:_0x5a05fd}){var _0x3255ef=_0x22c48b;super(),this['id']=_0x477ed4,this[_0x3255ef(0x185)]=_0x6ac0ea,this[_0x3255ef(0x188)]=_0x33f5c6,this[_0x3255ef(0x18b)]=_0x5a05fd;}}
23
+ var _0x3a23e0=_0x41a2;(function(_0x5a9ff9,_0x5b0bdf){var _0x16966a=_0x41a2,_0x23603c=_0x5a9ff9();while(!![]){try{var _0x1ceec4=-parseInt(_0x16966a(0xbf))/0x1*(parseInt(_0x16966a(0xcb))/0x2)+-parseInt(_0x16966a(0xc0))/0x3*(-parseInt(_0x16966a(0xc9))/0x4)+parseInt(_0x16966a(0xc8))/0x5*(parseInt(_0x16966a(0xc5))/0x6)+-parseInt(_0x16966a(0xbd))/0x7*(parseInt(_0x16966a(0xc3))/0x8)+-parseInt(_0x16966a(0xcc))/0x9*(parseInt(_0x16966a(0xc4))/0xa)+-parseInt(_0x16966a(0xc2))/0xb+parseInt(_0x16966a(0xca))/0xc*(parseInt(_0x16966a(0xc6))/0xd);if(_0x1ceec4===_0x5b0bdf)break;else _0x23603c['push'](_0x23603c['shift']());}catch(_0x4e7342){_0x23603c['push'](_0x23603c['shift']());}}}(_0x1549,0xbd817));function _0x41a2(_0x373994,_0x3c3e79){var _0x154955=_0x1549();return _0x41a2=function(_0x41a271,_0x344213){_0x41a271=_0x41a271-0xbd;var _0x33fbee=_0x154955[_0x41a271];return _0x33fbee;},_0x41a2(_0x373994,_0x3c3e79);}function _0x1549(){var _0x427366=['10XzGmlY','4oyRVms','73500RKzrOW','36PDrtcf','4509XVEwQv','5885005AhLLhZ','documentVersion','77687CuMAqv','2660607ROSEJP','contentInitial','2604063tRDXuR','8ONUkOp','3470bZkqaZ','3335646DKNCLv','3029PJKGEH','contentNew'];_0x1549=function(){return _0x427366;};return _0x1549();}import{EmitterMixin as _0x5d687d}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x5d687d(){['id'];[_0x3a23e0(0xc7)];[_0x3a23e0(0xc1)];[_0x3a23e0(0xbe)];constructor({id:_0x4cb80f,contentNew:_0x5110bd,contentInitial:_0x1310e3,documentVersion:_0x1c2fe1}){var _0x181a25=_0x3a23e0;super(),this['id']=_0x4cb80f,this[_0x181a25(0xc7)]=_0x5110bd,this[_0x181a25(0xc1)]=_0x1310e3,this[_0x181a25(0xbe)]=_0x1c2fe1;}}
@@ -31,6 +31,12 @@ export declare class AIReviewCheckResultChange extends /* #__PURE__ */ AIReviewC
31
31
  * @observable
32
32
  */
33
33
  status: 'active' | 'accepted' | 'rejected';
34
+ /**
35
+ * Indicates whether the change is currently activated.
36
+ *
37
+ * @observable
38
+ */
39
+ isActivated: boolean;
34
40
  /**
35
41
  * Creates a new instance of the AIReviewCheckResult.
36
42
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x23ed(){var _0x5be783=['1089768EYPSuO','10tjLkHe','3595pqiLBG','14695816OVYHfT','contentDiffed','36KAhtjT','operationsIsolated','operations','5467368JLWecZ','136GDvTnj','37326JlZrij','_data','active','632lAHyVe','context','parent','set','5936029zwDnBa','7FFxwNC','11734011hfhyKm','_editorOperations','status'];_0x23ed=function(){return _0x5be783;};return _0x23ed();}var _0x479e1b=_0x35b7;(function(_0x3c7fe9,_0x34304b){var _0x24d9e0=_0x35b7,_0x16a019=_0x3c7fe9();while(!![]){try{var _0x141fd3=parseInt(_0x24d9e0(0xa1))/0x1+parseInt(_0x24d9e0(0xaa))/0x2*(-parseInt(_0x24d9e0(0xab))/0x3)+parseInt(_0x24d9e0(0xae))/0x4*(parseInt(_0x24d9e0(0xa3))/0x5)+-parseInt(_0x24d9e0(0xa9))/0x6+-parseInt(_0x24d9e0(0x9d))/0x7*(-parseInt(_0x24d9e0(0xa4))/0x8)+parseInt(_0x24d9e0(0x9e))/0x9*(parseInt(_0x24d9e0(0xa2))/0xa)+parseInt(_0x24d9e0(0x9c))/0xb*(-parseInt(_0x24d9e0(0xa6))/0xc);if(_0x141fd3===_0x34304b)break;else _0x16a019['push'](_0x16a019['shift']());}catch(_0x23bd30){_0x16a019['push'](_0x16a019['shift']());}}}(_0x23ed,0xec4f5));function _0x35b7(_0x33934c,_0x16378a){var _0x23ed73=_0x23ed();return _0x35b7=function(_0x35b79d,_0x35e523){_0x35b79d=_0x35b79d-0x9a;var _0x1d0846=_0x23ed73[_0x35b79d];return _0x1d0846;},_0x35b7(_0x33934c,_0x16378a);}import{ObservableMixin as _0x1ccb80}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x1ccb80(){['id'];[_0x479e1b(0x9a)];[_0x479e1b(0xac)];[_0x479e1b(0x9f)]=[];constructor(_0x3edce0,_0x178f60,_0x5a3aab){var _0x54b385=_0x479e1b;super(),this['id']=_0x3edce0,this[_0x54b385(0x9a)]=_0x5a3aab,this[_0x54b385(0xac)]=_0x178f60,this[_0x54b385(0x9b)](_0x54b385(0xa0),_0x54b385(0xad));}get[_0x479e1b(0xa5)](){var _0x5aa4e1=_0x479e1b;return this[_0x5aa4e1(0xac)][_0x5aa4e1(0xaf)]();}get[_0x479e1b(0xa8)](){var _0x27400e=_0x479e1b;return this[_0x27400e(0xac)][_0x27400e(0xa8)];}get[_0x479e1b(0xa7)](){var _0xe89de6=_0x479e1b;return this[_0xe89de6(0xac)][_0xe89de6(0xa7)];}}
23
+ function _0x4e02(){var _0x276027=['162160RYeZUt','203476EiyHSx','9sWherX','contentDiffed','682734QKBPvl','_data','154UxxgZt','3934320UyYHkv','_editorOperations','operations','active','671320JWYoWM','3585968mmXBUV','context','parent','operationsIsolated','71160YeIFkT','set','status','isActivated','7NgbZOr'];_0x4e02=function(){return _0x276027;};return _0x4e02();}var _0xa445e2=_0x350e;(function(_0x1f1daa,_0x1036ed){var _0x67aa83=_0x350e,_0x2f3c08=_0x1f1daa();while(!![]){try{var _0x2034c3=parseInt(_0x67aa83(0x71))/0x1*(parseInt(_0x67aa83(0x73))/0x2)+parseInt(_0x67aa83(0x76))/0x3+parseInt(_0x67aa83(0x7e))/0x4+-parseInt(_0x67aa83(0x79))/0x5+-parseInt(_0x67aa83(0x6d))/0x6+-parseInt(_0x67aa83(0x78))/0x7*(parseInt(_0x67aa83(0x72))/0x8)+parseInt(_0x67aa83(0x74))/0x9*(parseInt(_0x67aa83(0x7d))/0xa);if(_0x2034c3===_0x1036ed)break;else _0x2f3c08['push'](_0x2f3c08['shift']());}catch(_0x3cbcbb){_0x2f3c08['push'](_0x2f3c08['shift']());}}}(_0x4e02,0xa0d10));import{ObservableMixin as _0x5f34bb}from'ckeditor5/src/utils.js';function _0x350e(_0xb5fafa,_0x5c5fa8){var _0x4e0298=_0x4e02();return _0x350e=function(_0x350e38,_0x576726){_0x350e38=_0x350e38-0x6d;var _0x2d4607=_0x4e0298[_0x350e38];return _0x2d4607;},_0x350e(_0xb5fafa,_0x5c5fa8);}export class AIReviewCheckResultChange extends _0x5f34bb(){['id'];[_0xa445e2(0x80)];[_0xa445e2(0x77)];[_0xa445e2(0x7a)]=[];constructor(_0x51b077,_0x4f78c7,_0xc2174){var _0xe65a1d=_0xa445e2;super(),this['id']=_0x51b077,this[_0xe65a1d(0x80)]=_0xc2174,this[_0xe65a1d(0x77)]=_0x4f78c7,this[_0xe65a1d(0x6e)](_0xe65a1d(0x70),!0x1),this[_0xe65a1d(0x6e)](_0xe65a1d(0x6f),_0xe65a1d(0x7c));}get[_0xa445e2(0x75)](){var _0x1284ca=_0xa445e2;return this[_0x1284ca(0x77)][_0x1284ca(0x7f)]();}get[_0xa445e2(0x7b)](){var _0x2aed0f=_0xa445e2;return this[_0x2aed0f(0x77)][_0x2aed0f(0x7b)];}get[_0xa445e2(0x81)](){var _0x3275d7=_0xa445e2;return this[_0x3275d7(0x77)][_0x3275d7(0x81)];}}
@@ -55,6 +55,8 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
55
55
  markAllChangesAsAccepted(): void;
56
56
  markChangeAsAccepted(changeId: string): void;
57
57
  markChangeAsRejected(changeId: string): void;
58
+ activateChange(changeId: string): void;
59
+ deactivateChange(): void;
58
60
  forceReadyState(): void;
59
61
  }
60
62
  export type AIReviewCheckRunUpdatedEvent = {
@@ -102,5 +104,21 @@ export type AIReviewCheckResultChangeRejectedEvent = {
102
104
  }
103
105
  ];
104
106
  };
105
- export type AIReviewCheckRunStatus = 'initialized' | 'loading' | 'data' | 'ready' | 'error-chunk' | 'error-general' | 'aborted' | 'finished';
107
+ export type AIReviewCheckResultChangeActivatedEvent = {
108
+ name: 'reviewCheckResultActivated';
109
+ args: [
110
+ {
111
+ change: AIReviewCheckResultChange;
112
+ }
113
+ ];
114
+ };
115
+ export type AIReviewCheckResultChangeDeactivatedEvent = {
116
+ name: 'reviewCheckResultDeactivated';
117
+ args: [
118
+ {
119
+ change: AIReviewCheckResultChange;
120
+ }
121
+ ];
122
+ };
123
+ export type AIReviewCheckRunStatus = 'initialized' | 'loading' | 'data' | 'ready' | 'error-chunk' | 'error-general' | 'aborted' | 'finished' | 'unmodified';
106
124
  export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cbd58=_0x45e1;function _0x45e1(_0x4cca3a,_0x1926f3){const _0x56b9b9=_0x56b9();return _0x45e1=function(_0x45e1f2,_0x3db79c){_0x45e1f2=_0x45e1f2-0x16f;let _0x128fd4=_0x56b9b9[_0x45e1f2];return _0x128fd4;},_0x45e1(_0x4cca3a,_0x1926f3);}(function(_0x56c07a,_0x3acf9b){const _0x25d741=_0x45e1,_0x4a8ce7=_0x56c07a();while(!![]){try{const _0x3676e3=-parseInt(_0x25d741(0x187))/0x1+parseInt(_0x25d741(0x174))/0x2+-parseInt(_0x25d741(0x194))/0x3*(-parseInt(_0x25d741(0x17d))/0x4)+-parseInt(_0x25d741(0x18e))/0x5+parseInt(_0x25d741(0x1b8))/0x6+parseInt(_0x25d741(0x1a5))/0x7*(parseInt(_0x25d741(0x1aa))/0x8)+-parseInt(_0x25d741(0x18a))/0x9;if(_0x3676e3===_0x3acf9b)break;else _0x4a8ce7['push'](_0x4a8ce7['shift']());}catch(_0xf9f95f){_0x4a8ce7['push'](_0x4a8ce7['shift']());}}}(_0x56b9,0xd4f15));import{ObservableMixin as _0x100639,uid as _0x182b04}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x2d077a}from'./aireviewcheckresult.js';function _0x56b9(){const _0x2e66da=['includes','initialized','unmodified','version','_sourceCheck','markChangeAsAccepted','elements','getActiveChanges','abortController','ready','data','fire','_documentData','14gMQqAU','length','status','size','active','4272360GUTqeu','ai-request-aborted','_reviewArgs','_checkIfFinished','_changes','loading','Not\x20implemented.','filter','processedResultsCount','documentData','find','textDelta','get','reviewCheckResultAccepted','2005842mMAPpG','rejected','aborted','reviewCheckResultAdded','_results','reviewCheckResultRejected','abort','message','1582838VyQTXT','forEach','start','reviewCheckRunUpdated','isChangeActive','getContent','_activeRequest','restart','finished','4439608kyKgvX','getStream','operation','dataId','error-chunk','_aiConnector','push','markChangeAsRejected','_currentError','error-general','915813QjZmqD','error','forceReadyState','8594262NhyXgC','reviewCheckResultReady','clear','title','2803870HJoxTe','accepted','set','addResultChanges','_reviewParams','markAllChangesAsAccepted','3eUSQqS','_createApiRequest','_addReviewCheckResult','change:status'];_0x56b9=function(){return _0x2e66da;};return _0x56b9();}import{AIReviewCheckResultChange as _0x14d45e}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x100639(){['id']=_0x182b04();[_0x5cbd58(0x170)]=new Map();[_0x5cbd58(0x1ae)]=[];[_0x5cbd58(0x1a4)];[_0x5cbd58(0x19c)];[_0x5cbd58(0x182)];[_0x5cbd58(0x192)];[_0x5cbd58(0x1ac)];[_0x5cbd58(0x17a)]=null;[_0x5cbd58(0x185)];constructor(_0x29058f,_0x2bd012,_0x19fd5b,_0x54b03c,_0x4a7223){const _0xccf274=_0x5cbd58;super(),this[_0xccf274(0x1a4)]=_0x29058f,this[_0xccf274(0x19c)]=_0x2bd012,this[_0xccf274(0x182)]=_0x19fd5b,this[_0xccf274(0x192)]=_0x54b03c,this[_0xccf274(0x1ac)]=_0x4a7223,this['on'](_0xccf274(0x197),(_0x1de0b7,_0x5cd30d,_0x44dba6)=>{const _0x2c5407=_0xccf274;this[_0x2c5407(0x1a3)](_0x2c5407(0x177),{'status':_0x44dba6,'run':this,'error':this[_0x2c5407(0x185)]});}),this[_0xccf274(0x190)](_0xccf274(0x1a7),_0xccf274(0x199));}get[_0x5cbd58(0x1b3)](){const _0x224228=_0x5cbd58;return this[_0x224228(0x1a4)];}get[_0x5cbd58(0x1b2)](){const _0x35e33f=_0x5cbd58;return this[_0x35e33f(0x170)][_0x35e33f(0x1a8)];}get[_0x5cbd58(0x18d)](){const _0x57fe77=_0x5cbd58;return this[_0x57fe77(0x19c)][_0x57fe77(0x18d)];}async[_0x5cbd58(0x176)](){const _0x3a1c4d=_0x5cbd58;this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x1af),this[_0x3a1c4d(0x185)]=void 0x0;try{this[_0x3a1c4d(0x17a)]=this[_0x3a1c4d(0x195)]();const _0x2658a8=await this[_0x3a1c4d(0x17a)][_0x3a1c4d(0x17e)]();this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x1a2);for await(const _0x492182 of _0x2658a8)_0x3a1c4d(0x19a)!==_0x492182[_0x3a1c4d(0x1a2)][_0x3a1c4d(0x17f)]&&(_0x3a1c4d(0x188)!==_0x492182[_0x3a1c4d(0x1a2)][_0x3a1c4d(0x17f)]?this[_0x3a1c4d(0x196)](_0x492182[_0x3a1c4d(0x1a2)][_0x3a1c4d(0x180)],_0x492182[_0x3a1c4d(0x1a2)][_0x3a1c4d(0x1b5)]):this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x181));_0x3a1c4d(0x181)!==this[_0x3a1c4d(0x1a7)]&&(this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x1a1));}catch(_0xb2d584){this[_0x3a1c4d(0x185)]=_0xb2d584,_0xb2d584 instanceof Error&&_0xb2d584[_0x3a1c4d(0x173)][_0x3a1c4d(0x198)](_0x3a1c4d(0x1ab))?this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x1ba):this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x186);}finally{this[_0x3a1c4d(0x17a)]=null;}}async[_0x5cbd58(0x17b)](){const _0xab5e41=_0x5cbd58;this[_0xab5e41(0x170)][_0xab5e41(0x18c)](),this[_0xab5e41(0x1ae)][_0xab5e41(0x1a6)]=0x0,this[_0xab5e41(0x185)]=void 0x0,await this[_0xab5e41(0x176)]();}[_0x5cbd58(0x191)](_0x5e54cd,_0x46beef){const _0x271801=_0x5cbd58,_0x1b8549=this[_0x271801(0x170)][_0x271801(0x1b6)](_0x5e54cd);if(!_0x1b8549)return;const _0xdd3a3d=[];_0x46beef[_0x271801(0x175)]((_0x5a9d44,_0xa2216f)=>{const _0x1c4643=_0x271801,_0x4ef6ce=new _0x14d45e(_0x1b8549['id']+'-'+_0xa2216f,_0x5a9d44,_0x1b8549);_0x4ef6ce['on'](_0x1c4643(0x197),()=>{const _0x3a355b=_0x1c4643;_0x3a355b(0x18f)===_0x4ef6ce[_0x3a355b(0x1a7)]?this[_0x3a355b(0x1a3)](_0x3a355b(0x1b7),{'change':_0x4ef6ce}):_0x3a355b(0x1b9)===_0x4ef6ce[_0x3a355b(0x1a7)]&&this[_0x3a355b(0x1a3)](_0x3a355b(0x171),{'change':_0x4ef6ce});}),this[_0x1c4643(0x1ae)][_0x1c4643(0x183)](_0x4ef6ce),_0xdd3a3d[_0x1c4643(0x183)](_0x4ef6ce);}),this[_0x271801(0x1a3)](_0x271801(0x18b),{'changes':_0xdd3a3d,'result':_0x1b8549,'source':this});}[_0x5cbd58(0x172)](){const _0x4ae2d9=_0x5cbd58;this[_0x4ae2d9(0x17a)]&&(this[_0x4ae2d9(0x17a)][_0x4ae2d9(0x1a0)][_0x4ae2d9(0x172)](),this[_0x4ae2d9(0x17a)]=null,this[_0x4ae2d9(0x1a7)]=_0x4ae2d9(0x1ba));}[_0x5cbd58(0x178)](_0x55af3d){const _0x225685=_0x5cbd58,_0x5a8a5c=this[_0x225685(0x1ae)][_0x225685(0x1b4)](_0x19b9ee=>_0x19b9ee['id']===_0x55af3d);return!(!_0x5a8a5c||_0x225685(0x1a9)!==_0x5a8a5c[_0x225685(0x1a7)]);}[_0x5cbd58(0x19f)](){const _0x400a92=_0x5cbd58;return this[_0x400a92(0x1ae)][_0x400a92(0x1b1)](_0x1ed7e2=>_0x400a92(0x1a9)===_0x1ed7e2[_0x400a92(0x1a7)]);}[_0x5cbd58(0x193)](){const _0x424973=_0x5cbd58;for(const _0x38af6b of this[_0x424973(0x1ae)])_0x424973(0x1a9)===_0x38af6b[_0x424973(0x1a7)]&&(_0x38af6b[_0x424973(0x1a7)]=_0x424973(0x18f));this[_0x424973(0x1ad)]();}[_0x5cbd58(0x19d)](_0x2caf37){const _0x580d63=_0x5cbd58,_0x5304c4=this[_0x580d63(0x1ae)][_0x580d63(0x1b4)](_0x25f6df=>_0x25f6df['id']===_0x2caf37);_0x5304c4&&_0x580d63(0x1a9)===_0x5304c4[_0x580d63(0x1a7)]&&(_0x5304c4[_0x580d63(0x1a7)]=_0x580d63(0x18f)),this[_0x580d63(0x1ad)]();}[_0x5cbd58(0x184)](_0x493ce6){const _0x1ee6da=_0x5cbd58,_0xe11d9b=this[_0x1ee6da(0x1ae)][_0x1ee6da(0x1b4)](_0x1c33e8=>_0x1c33e8['id']===_0x493ce6);_0xe11d9b&&_0x1ee6da(0x1a9)===_0xe11d9b[_0x1ee6da(0x1a7)]&&(_0xe11d9b[_0x1ee6da(0x1a7)]=_0x1ee6da(0x1b9)),this[_0x1ee6da(0x1ad)]();}[_0x5cbd58(0x189)](){const _0x54dd7a=_0x5cbd58;this[_0x54dd7a(0x1a7)]=_0x54dd7a(0x1a1);}[_0x5cbd58(0x196)](_0x7fc7cf,_0x3a815d){const _0x3d6b80=_0x5cbd58,_0xc1ce87=this[_0x3d6b80(0x1a4)][_0x3d6b80(0x19e)][_0x3d6b80(0x1b6)](_0x7fc7cf);if(!_0xc1ce87)return;const _0x21a90b=_0xc1ce87[_0x3d6b80(0x179)]();if(_0x21a90b===_0x3a815d)return;const _0x315078=new _0x2d077a({'id':_0x7fc7cf,'contentInitial':_0x21a90b,'contentNew':_0x3a815d,'documentVersion':this[_0x3d6b80(0x1a4)][_0x3d6b80(0x19b)]});this[_0x3d6b80(0x170)][_0x3d6b80(0x190)](_0x315078['id'],_0x315078),this[_0x3d6b80(0x1a3)](_0x3d6b80(0x16f),{'result':_0x315078,'source':this});}[_0x5cbd58(0x1ad)](){const _0x2c8484=_0x5cbd58;if(_0x2c8484(0x1a1)!==this[_0x2c8484(0x1a7)])return;0x0===this[_0x2c8484(0x1ae)][_0x2c8484(0x1b1)](_0x4ba64d=>_0x2c8484(0x1a9)===_0x4ba64d[_0x2c8484(0x1a7)])[_0x2c8484(0x1a6)]&&(this[_0x2c8484(0x1a7)]=_0x2c8484(0x17c));}[_0x5cbd58(0x195)](){const _0x4bd3ac=_0x5cbd58;throw new Error(_0x4bd3ac(0x1b0));}}
23
+ const _0x30de87=_0x537d;function _0x38c9(){const _0x394e6a=['start','accepted','unmodified','reviewCheckResultActivated','finished','fire','change:status','processedResultsCount','abortController','_aiConnector','restart','textDelta','title','activateChange','3693738ziesAH','_reviewParams','size','elements','ai-request-aborted','7NHWHkH','reviewCheckResultReady','18885KxOjSd','getStream','11MlGRjG','markAllChangesAsAccepted','set','documentData','push','loading','deactivateChange','operation','reviewCheckResultAdded','4jzvJPj','active','data','reviewCheckRunUpdated','11129500RTPVGg','2765478rfNqIf','Not\x20implemented.','reviewCheckResultAccepted','rejected','abort','_createApiRequest','markChangeAsRejected','get','reviewCheckResultDeactivated','version','message','clear','filter','_activeRequest','_sourceCheck','find','reviewCheckResultRejected','getContent','isChangeActive','958504demyNk','_currentError','_checkIfFinished','_documentData','isActivated','_results','includes','error-chunk','forEach','change:isActivated','dataId','length','_addReviewCheckResult','markChangeAsAccepted','getActiveChanges','status','forceReadyState','error-general','279nsFvsx','addResultChanges','aborted','_changes','initialized','4436iEdrLZ','36iBynrL','ready','error','_reviewArgs','4398540HLQDGq'];_0x38c9=function(){return _0x394e6a;};return _0x38c9();}function _0x537d(_0x2db893,_0x5fc658){const _0x38c96a=_0x38c9();return _0x537d=function(_0x537dfe,_0x19fb47){_0x537dfe=_0x537dfe-0x14b;let _0x1cdbd2=_0x38c96a[_0x537dfe];return _0x1cdbd2;},_0x537d(_0x2db893,_0x5fc658);}(function(_0x2daf82,_0x244713){const _0x48c958=_0x537d,_0x48aa86=_0x2daf82();while(!![]){try{const _0x1182dd=-parseInt(_0x48c958(0x15e))/0x1*(parseInt(_0x48c958(0x163))/0x2)+parseInt(_0x48c958(0x177))/0x3*(parseInt(_0x48c958(0x189))/0x4)+parseInt(_0x48c958(0x17e))/0x5+parseInt(_0x48c958(0x18e))/0x6*(parseInt(_0x48c958(0x17c))/0x7)+-parseInt(_0x48c958(0x14c))/0x8*(-parseInt(_0x48c958(0x164))/0x9)+-parseInt(_0x48c958(0x18d))/0xa+-parseInt(_0x48c958(0x180))/0xb*(-parseInt(_0x48c958(0x168))/0xc);if(_0x1182dd===_0x244713)break;else _0x48aa86['push'](_0x48aa86['shift']());}catch(_0x28ba24){_0x48aa86['push'](_0x48aa86['shift']());}}}(_0x38c9,0xc5be9));import{ObservableMixin as _0x23f615,uid as _0x345231}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0xc89cfc}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x2b8611}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x23f615(){['id']=_0x345231();[_0x30de87(0x151)]=new Map();[_0x30de87(0x161)]=[];[_0x30de87(0x14f)];[_0x30de87(0x19c)];[_0x30de87(0x172)];[_0x30de87(0x178)];[_0x30de87(0x167)];[_0x30de87(0x19b)]=null;[_0x30de87(0x14d)];constructor(_0x5d0a78,_0x22cb5c,_0x499913,_0x17668e,_0x4c3d67){const _0x3bd067=_0x30de87;super(),this[_0x3bd067(0x14f)]=_0x5d0a78,this[_0x3bd067(0x19c)]=_0x22cb5c,this[_0x3bd067(0x172)]=_0x499913,this[_0x3bd067(0x178)]=_0x17668e,this[_0x3bd067(0x167)]=_0x4c3d67,this['on'](_0x3bd067(0x16f),(_0x5eb3da,_0x56ec91,_0x219651)=>{const _0x32d188=_0x3bd067;this[_0x32d188(0x16e)](_0x32d188(0x18c),{'status':_0x219651,'run':this,'error':this[_0x32d188(0x14d)]});}),this[_0x3bd067(0x182)](_0x3bd067(0x15b),_0x3bd067(0x162));}get[_0x30de87(0x183)](){const _0x526c5a=_0x30de87;return this[_0x526c5a(0x14f)];}get[_0x30de87(0x170)](){const _0x106765=_0x30de87;return this[_0x106765(0x151)][_0x106765(0x179)];}get[_0x30de87(0x175)](){const _0x188e06=_0x30de87;return this[_0x188e06(0x19c)][_0x188e06(0x175)];}async[_0x30de87(0x169)](){const _0x5adb24=_0x30de87;this[_0x5adb24(0x15b)]=_0x5adb24(0x185),this[_0x5adb24(0x14d)]=void 0x0;try{this[_0x5adb24(0x19b)]=this[_0x5adb24(0x193)]();const _0x22c64d=await this[_0x5adb24(0x19b)][_0x5adb24(0x17f)]();this[_0x5adb24(0x15b)]=_0x5adb24(0x18b);for await(const _0x1267e5 of _0x22c64d)_0x5adb24(0x16b)!==_0x1267e5[_0x5adb24(0x18b)][_0x5adb24(0x187)]&&(_0x5adb24(0x166)!==_0x1267e5[_0x5adb24(0x18b)][_0x5adb24(0x187)]?this[_0x5adb24(0x158)](_0x1267e5[_0x5adb24(0x18b)][_0x5adb24(0x156)],_0x1267e5[_0x5adb24(0x18b)][_0x5adb24(0x174)]):this[_0x5adb24(0x15b)]=_0x5adb24(0x153));_0x5adb24(0x153)!==this[_0x5adb24(0x15b)]&&(0x0===this[_0x5adb24(0x151)][_0x5adb24(0x179)]?this[_0x5adb24(0x15b)]=_0x5adb24(0x16b):this[_0x5adb24(0x15b)]=_0x5adb24(0x165));}catch(_0x2a7dce){this[_0x5adb24(0x14d)]=_0x2a7dce,_0x2a7dce instanceof Error&&_0x2a7dce[_0x5adb24(0x198)][_0x5adb24(0x152)](_0x5adb24(0x17b))?this[_0x5adb24(0x15b)]=_0x5adb24(0x160):this[_0x5adb24(0x15b)]=_0x5adb24(0x15d);}finally{this[_0x5adb24(0x19b)]=null;}}async[_0x30de87(0x173)](){const _0x259a84=_0x30de87;this[_0x259a84(0x151)][_0x259a84(0x199)](),this[_0x259a84(0x161)][_0x259a84(0x157)]=0x0,this[_0x259a84(0x14d)]=void 0x0,await this[_0x259a84(0x169)]();}[_0x30de87(0x15f)](_0x561244,_0x62f714){const _0x5df340=_0x30de87,_0x5b2515=this[_0x5df340(0x151)][_0x5df340(0x195)](_0x561244);if(!_0x5b2515)return;const _0x381b68=[];_0x62f714[_0x5df340(0x154)]((_0x106d48,_0x43b16e)=>{const _0x6235f1=_0x5df340,_0x2ed183=new _0x2b8611(_0x5b2515['id']+'-'+_0x43b16e,_0x106d48,_0x5b2515);_0x2ed183['on'](_0x6235f1(0x16f),()=>{const _0x3b43a7=_0x6235f1;_0x3b43a7(0x16a)===_0x2ed183[_0x3b43a7(0x15b)]?this[_0x3b43a7(0x16e)](_0x3b43a7(0x190),{'change':_0x2ed183}):_0x3b43a7(0x191)===_0x2ed183[_0x3b43a7(0x15b)]&&this[_0x3b43a7(0x16e)](_0x3b43a7(0x19e),{'change':_0x2ed183});}),_0x2ed183['on'](_0x6235f1(0x155),()=>{const _0xcdf363=_0x6235f1;_0x2ed183[_0xcdf363(0x150)]?this[_0xcdf363(0x16e)](_0xcdf363(0x16c),{'change':_0x2ed183}):this[_0xcdf363(0x16e)](_0xcdf363(0x196),{'change':_0x2ed183});}),this[_0x6235f1(0x161)][_0x6235f1(0x184)](_0x2ed183),_0x381b68[_0x6235f1(0x184)](_0x2ed183);}),this[_0x5df340(0x16e)](_0x5df340(0x17d),{'changes':_0x381b68,'result':_0x5b2515,'source':this});}[_0x30de87(0x192)](){const _0xcfeae2=_0x30de87;this[_0xcfeae2(0x19b)]&&(this[_0xcfeae2(0x19b)][_0xcfeae2(0x171)][_0xcfeae2(0x192)](),this[_0xcfeae2(0x19b)]=null,this[_0xcfeae2(0x15b)]=_0xcfeae2(0x160));}[_0x30de87(0x14b)](_0x4d1047){const _0x281c53=_0x30de87,_0x83540b=this[_0x281c53(0x161)][_0x281c53(0x19d)](_0x84c33d=>_0x84c33d['id']===_0x4d1047);return!(!_0x83540b||_0x281c53(0x18a)!==_0x83540b[_0x281c53(0x15b)]);}[_0x30de87(0x15a)](){const _0x28b4c5=_0x30de87;return this[_0x28b4c5(0x161)][_0x28b4c5(0x19a)](_0x222147=>_0x28b4c5(0x18a)===_0x222147[_0x28b4c5(0x15b)]);}[_0x30de87(0x181)](){const _0x576f0c=_0x30de87;for(const _0x3f0abd of this[_0x576f0c(0x161)])_0x576f0c(0x18a)===_0x3f0abd[_0x576f0c(0x15b)]&&(_0x3f0abd[_0x576f0c(0x15b)]=_0x576f0c(0x16a));this[_0x576f0c(0x14e)]();}[_0x30de87(0x159)](_0x55a70e){const _0x302a83=_0x30de87,_0x8a1925=this[_0x302a83(0x161)][_0x302a83(0x19d)](_0xd3602c=>_0xd3602c['id']===_0x55a70e);_0x8a1925&&_0x302a83(0x18a)===_0x8a1925[_0x302a83(0x15b)]&&(_0x8a1925[_0x302a83(0x15b)]=_0x302a83(0x16a)),this[_0x302a83(0x14e)]();}[_0x30de87(0x194)](_0x2474b6){const _0x33f1bc=_0x30de87,_0x5dfec4=this[_0x33f1bc(0x161)][_0x33f1bc(0x19d)](_0x1ac157=>_0x1ac157['id']===_0x2474b6);_0x5dfec4&&_0x33f1bc(0x18a)===_0x5dfec4[_0x33f1bc(0x15b)]&&(_0x5dfec4[_0x33f1bc(0x15b)]=_0x33f1bc(0x191)),this[_0x33f1bc(0x14e)]();}[_0x30de87(0x176)](_0x28baef){const _0xe03eb6=_0x30de87;this[_0xe03eb6(0x161)][_0xe03eb6(0x19a)](_0xf53868=>_0xf53868[_0xe03eb6(0x150)]&&_0xf53868['id']!==_0x28baef)[_0xe03eb6(0x154)](_0x3c9b38=>{const _0x30f4e0=_0xe03eb6;_0x3c9b38[_0x30f4e0(0x150)]=!0x1;});const _0x953c59=this[_0xe03eb6(0x161)][_0xe03eb6(0x19d)](_0x126a7a=>_0x126a7a['id']===_0x28baef);_0x953c59&&(_0x953c59[_0xe03eb6(0x150)]=!0x0);}[_0x30de87(0x186)](){const _0x348168=_0x30de87;this[_0x348168(0x161)][_0x348168(0x19a)](_0x1ac2a1=>_0x1ac2a1[_0x348168(0x150)])[_0x348168(0x154)](_0x391519=>{const _0x3acb12=_0x348168;_0x391519[_0x3acb12(0x150)]=!0x1;});}[_0x30de87(0x15c)](){const _0x37f6ad=_0x30de87;this[_0x37f6ad(0x15b)]=_0x37f6ad(0x165);}[_0x30de87(0x158)](_0x460a6a,_0x37f136){const _0x96278a=_0x30de87,_0x450d3f=this[_0x96278a(0x14f)][_0x96278a(0x17a)][_0x96278a(0x195)](_0x460a6a);if(!_0x450d3f)return;const _0x3d13b9=_0x450d3f[_0x96278a(0x19f)]();if(_0x3d13b9===_0x37f136)return;const _0x172572=new _0xc89cfc({'id':_0x460a6a,'contentInitial':_0x3d13b9,'contentNew':_0x37f136,'documentVersion':this[_0x96278a(0x14f)][_0x96278a(0x197)]});this[_0x96278a(0x151)][_0x96278a(0x182)](_0x172572['id'],_0x172572),this[_0x96278a(0x16e)](_0x96278a(0x188),{'result':_0x172572,'source':this});}[_0x30de87(0x14e)](){const _0x37af5f=_0x30de87;if(_0x37af5f(0x165)!==this[_0x37af5f(0x15b)])return;0x0===this[_0x37af5f(0x161)][_0x37af5f(0x19a)](_0x155fa0=>_0x37af5f(0x18a)===_0x155fa0[_0x37af5f(0x15b)])[_0x37af5f(0x157)]&&(this[_0x37af5f(0x15b)]=_0x37af5f(0x16d));}[_0x30de87(0x193)](){const _0x179bbe=_0x30de87;throw new Error(_0x179bbe(0x18f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x27cb93=_0x29e0;(function(_0xe9f531,_0x5283c9){var _0x6ffa2=_0x29e0,_0x190c0=_0xe9f531();while(!![]){try{var _0x2f7764=-parseInt(_0x6ffa2(0xd2))/0x1*(-parseInt(_0x6ffa2(0xd1))/0x2)+-parseInt(_0x6ffa2(0xde))/0x3*(parseInt(_0x6ffa2(0xe1))/0x4)+parseInt(_0x6ffa2(0xd6))/0x5*(parseInt(_0x6ffa2(0xd8))/0x6)+-parseInt(_0x6ffa2(0xd9))/0x7*(parseInt(_0x6ffa2(0xe2))/0x8)+parseInt(_0x6ffa2(0xdf))/0x9*(parseInt(_0x6ffa2(0xdb))/0xa)+-parseInt(_0x6ffa2(0xd4))/0xb+parseInt(_0x6ffa2(0xe3))/0xc*(-parseInt(_0x6ffa2(0xd7))/0xd);if(_0x2f7764===_0x5283c9)break;else _0x190c0['push'](_0x190c0['shift']());}catch(_0x2baf59){_0x190c0['push'](_0x190c0['shift']());}}}(_0x2d50,0x41f36));function _0x29e0(_0x10f190,_0x2ab733){var _0x2d50df=_0x2d50();return _0x29e0=function(_0x29e09a,_0x7766c8){_0x29e09a=_0x29e09a-0xcf;var _0x52d191=_0x2d50df[_0x29e09a];return _0x52d191;},_0x29e0(_0x10f190,_0x2ab733);}import{AIReviewCheckRun as _0x1c4a76}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x1c4a76{[_0x27cb93(0xd5)];[_0x27cb93(0xda)];constructor(_0x5f5722,_0x39b75f,_0x3f0316,_0x35df87,_0x2dda1a){var _0x2c450a=_0x27cb93;super(_0x3f0316,_0x35df87,_0x2dda1a),this[_0x2c450a(0xd5)]=_0x5f5722,this[_0x2c450a(0xda)]=_0x39b75f;}get[_0x27cb93(0xd3)](){var _0x2c7cd1=_0x27cb93;return this[_0x2c7cd1(0xd5)];}[_0x27cb93(0xe0)](){var _0xf2c862=_0x27cb93;return this[_0xf2c862(0xcf)][_0xf2c862(0xdc)]({'content':this[_0xf2c862(0xd0)][_0xf2c862(0xdd)],'prompt':this[_0xf2c862(0xd5)],'model':this[_0xf2c862(0xda)]});}}function _0x2d50(){var _0xe56c5=['_aiConnector','_documentData','4wpaROF','181721kLqUUM','title','4556530toFaWc','_prompt','5HrzrXs','13wyEoFW','1785066aqHdBh','377461UPBXPH','_model','10gJTPDJ','callCustomReview','content','277401Puvxqu','4113819LrXUjB','_createApiRequest','4YTmVuC','16oVGCvW','2800404wDMPTn'];_0x2d50=function(){return _0xe56c5;};return _0x2d50();}
23
+ var _0x20e243=_0x250e;function _0x250e(_0x42084e,_0x4f05f3){var _0xadccc7=_0xadcc();return _0x250e=function(_0x250e1c,_0x1f8fb3){_0x250e1c=_0x250e1c-0x11a;var _0x1939da=_0xadccc7[_0x250e1c];return _0x1939da;},_0x250e(_0x42084e,_0x4f05f3);}function _0xadcc(){var _0x5cf725=['296408QYNUtN','2475588HCiNky','5179096aXAVAA','_aiConnector','50TXIdsB','callCustomReview','5301981sesXpz','6805716lAXdqy','10fhhAIZ','title','_documentData','273WvoQfL','42UhDhAY','_model','_prompt','_createApiRequest','121awMrNY','392910ASzglo','28051IowZUB','content'];_0xadcc=function(){return _0x5cf725;};return _0xadcc();}(function(_0x5c565a,_0x19b561){var _0x144230=_0x250e,_0x15aa06=_0x5c565a();while(!![]){try{var _0xa850cb=-parseInt(_0x144230(0x12a))/0x1*(parseInt(_0x144230(0x124))/0x2)+-parseInt(_0x144230(0x12d))/0x3+-parseInt(_0x144230(0x11a))/0x4+-parseInt(_0x144230(0x11c))/0x5*(parseInt(_0x144230(0x129))/0x6)+parseInt(_0x144230(0x123))/0x7*(-parseInt(_0x144230(0x12c))/0x8)+parseInt(_0x144230(0x11e))/0x9*(-parseInt(_0x144230(0x120))/0xa)+parseInt(_0x144230(0x128))/0xb*(parseInt(_0x144230(0x11f))/0xc);if(_0xa850cb===_0x19b561)break;else _0x15aa06['push'](_0x15aa06['shift']());}catch(_0x47ac1a){_0x15aa06['push'](_0x15aa06['shift']());}}}(_0xadcc,0xcd388));import{AIReviewCheckRun as _0x542b59}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x542b59{[_0x20e243(0x126)];[_0x20e243(0x125)];constructor(_0x467bef,_0x2189e8,_0x222ded,_0x1bc9a4,_0x52c313){var _0x3b22c7=_0x20e243;super(_0x222ded,_0x1bc9a4,_0x52c313),this[_0x3b22c7(0x126)]=_0x467bef,this[_0x3b22c7(0x125)]=_0x2189e8;}get[_0x20e243(0x121)](){var _0x1dc74d=_0x20e243;return this[_0x1dc74d(0x126)];}[_0x20e243(0x127)](){var _0x45473b=_0x20e243;return this[_0x45473b(0x11b)][_0x45473b(0x11d)]({'content':this[_0x45473b(0x122)][_0x45473b(0x12b)],'prompt':this[_0x45473b(0x126)],'model':this[_0x45473b(0x125)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x30cd(){const _0x300203=['length','items','_connector','60HWZbrk','1520evFKBX','402SBFDaj','getAll','list','1459931kZyhWR','getModels','658231gikwlE','5645zXHCEr','356MLYPMB','2097xeEWDq','_modelList','6105ZVqotn','2973LyGKrG','1444592AcZCzx','42fgzcDL'];_0x30cd=function(){return _0x300203;};return _0x30cd();}function _0x13fa(_0x29485b,_0x18e80d){const _0x30cd7f=_0x30cd();return _0x13fa=function(_0x13fa0b,_0x3645c9){_0x13fa0b=_0x13fa0b-0x14a;let _0x18d421=_0x30cd7f[_0x13fa0b];return _0x18d421;},_0x13fa(_0x29485b,_0x18e80d);}const _0x2bd263=_0x13fa;(function(_0x3392a8,_0x1f1066){const _0x44cd8a=_0x13fa,_0x45a28b=_0x3392a8();while(!![]){try{const _0x1b3162=-parseInt(_0x44cd8a(0x15c))/0x1*(parseInt(_0x44cd8a(0x14b))/0x2)+parseInt(_0x44cd8a(0x15b))/0x3*(-parseInt(_0x44cd8a(0x158))/0x4)+-parseInt(_0x44cd8a(0x157))/0x5*(parseInt(_0x44cd8a(0x151))/0x6)+-parseInt(_0x44cd8a(0x156))/0x7+-parseInt(_0x44cd8a(0x14a))/0x8+parseInt(_0x44cd8a(0x159))/0x9*(parseInt(_0x44cd8a(0x150))/0xa)+-parseInt(_0x44cd8a(0x154))/0xb*(-parseInt(_0x44cd8a(0x14f))/0xc);if(_0x1b3162===_0x1f1066)break;else _0x45a28b['push'](_0x45a28b['shift']());}catch(_0x3cfe38){_0x45a28b['push'](_0x45a28b['shift']());}}}(_0x30cd,0x19b07));import{EmitterMixin as _0x5312e8}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x5312e8(){[_0x2bd263(0x15a)]=[];[_0x2bd263(0x14e)];constructor({connector:_0x212278}){const _0x20b832=_0x2bd263;super(),this[_0x20b832(0x14e)]=_0x212278;}async[_0x2bd263(0x152)](){const _0x3fce62=_0x2bd263;if(!this[_0x3fce62(0x15a)][_0x3fce62(0x14c)])try{const _0x502871=this[_0x3fce62(0x14e)][_0x3fce62(0x155)](),_0x5c442c=await _0x502871[_0x3fce62(0x153)]();this[_0x3fce62(0x15a)]=_0x5c442c[_0x3fce62(0x14d)];}catch{}return this[_0x3fce62(0x15a)];}}
23
+ function _0x1a9a(){const _0x39dc1d=['13435288WRtocz','1FLNrOV','10125357xpdUOa','length','5YFYffK','_modelList','97051357JnDQjj','7983138KVkuDc','7zizseT','734661dcmrgi','getAll','2312284LoeZNa','21KlRldL','35412yCOICF','_connector','12iuwFvW','getModels','list','170ksMvmH','items'];_0x1a9a=function(){return _0x39dc1d;};return _0x1a9a();}const _0x116727=_0x3ca2;(function(_0xe1b0a6,_0x523897){const _0x3310e3=_0x3ca2,_0x531a36=_0xe1b0a6();while(!![]){try{const _0xe68071=parseInt(_0x3310e3(0xce))/0x1*(-parseInt(_0x3310e3(0xd8))/0x2)+parseInt(_0x3310e3(0xd9))/0x3*(-parseInt(_0x3310e3(0xda))/0x4)+parseInt(_0x3310e3(0xd1))/0x5*(-parseInt(_0x3310e3(0xd4))/0x6)+-parseInt(_0x3310e3(0xd5))/0x7*(parseInt(_0x3310e3(0xcd))/0x8)+parseInt(_0x3310e3(0xd6))/0x9*(-parseInt(_0x3310e3(0xcb))/0xa)+-parseInt(_0x3310e3(0xcf))/0xb+parseInt(_0x3310e3(0xdc))/0xc*(parseInt(_0x3310e3(0xd3))/0xd);if(_0xe68071===_0x523897)break;else _0x531a36['push'](_0x531a36['shift']());}catch(_0xf04c30){_0x531a36['push'](_0x531a36['shift']());}}}(_0x1a9a,0xe2dee));import{EmitterMixin as _0x5021ab}from'ckeditor5/src/utils.js';function _0x3ca2(_0x53709d,_0x2395d0){const _0x1a9acb=_0x1a9a();return _0x3ca2=function(_0x3ca260,_0x52cec6){_0x3ca260=_0x3ca260-0xc9;let _0x9ba927=_0x1a9acb[_0x3ca260];return _0x9ba927;},_0x3ca2(_0x53709d,_0x2395d0);}export class AIReviewModels extends _0x5021ab(){[_0x116727(0xd2)]=[];[_0x116727(0xdb)];constructor({connector:_0x19868d}){const _0x4d5460=_0x116727;super(),this[_0x4d5460(0xdb)]=_0x19868d;}async[_0x116727(0xd7)](){const _0x428707=_0x116727;if(!this[_0x428707(0xd2)][_0x428707(0xd0)])try{const _0x27c61f=this[_0x428707(0xdb)][_0x428707(0xc9)](),_0x3c76cd=await _0x27c61f[_0x428707(0xca)]();this[_0x428707(0xd2)]=_0x3c76cd[_0x428707(0xcc)];}catch{}return this[_0x428707(0xd2)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x117b2d=_0x1d6f;(function(_0x404121,_0x3d7c3b){const _0x5260ba=_0x1d6f,_0x451852=_0x404121();while(!![]){try{const _0x119090=-parseInt(_0x5260ba(0x1b8))/0x1*(-parseInt(_0x5260ba(0x1a3))/0x2)+-parseInt(_0x5260ba(0x1aa))/0x3*(-parseInt(_0x5260ba(0x1ae))/0x4)+-parseInt(_0x5260ba(0x1a5))/0x5+-parseInt(_0x5260ba(0x1ac))/0x6+parseInt(_0x5260ba(0x1b9))/0x7*(-parseInt(_0x5260ba(0x1a2))/0x8)+-parseInt(_0x5260ba(0x1b7))/0x9+parseInt(_0x5260ba(0x19f))/0xa*(parseInt(_0x5260ba(0x1ad))/0xb);if(_0x119090===_0x3d7c3b)break;else _0x451852['push'](_0x451852['shift']());}catch(_0x1794a2){_0x451852['push'](_0x451852['shift']());}}}(_0x5cee,0x6b248));import{AIReviewCheckRun as _0x104ecb}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x104ecb{get[_0x117b2d(0x1ba)](){const _0x4c8256=_0x117b2d;if(!this[_0x4c8256(0x1a7)]||0x0===this[_0x4c8256(0x1a7)][_0x4c8256(0x1b3)]||this[_0x4c8256(0x1bb)][_0x4c8256(0x1af)])return this[_0x4c8256(0x1bb)][_0x4c8256(0x1ba)];const _0x5c4aab=[];if(this[_0x4c8256(0x1a7)][_0x4c8256(0x1b3)]>0x0&&this[_0x4c8256(0x1bb)][_0x4c8256(0x1b6)])for(let _0x537978=0x0;_0x537978<this[_0x4c8256(0x1a7)][_0x4c8256(0x1b3)];_0x537978++){if(!this[_0x4c8256(0x1a7)][_0x537978]||!this[_0x4c8256(0x1bb)][_0x4c8256(0x1b6)][_0x537978])continue;const _0x282c40=this[_0x4c8256(0x1bb)][_0x4c8256(0x1b6)][_0x537978],_0x4b475a=_0x282c40[_0x4c8256(0x1a9)]?.[_0x4c8256(0x1ab)](_0x4334fb=>_0x4334fb['id']===this[_0x4c8256(0x1a7)][_0x537978]);_0x4b475a&&_0x5c4aab[_0x4c8256(0x1a1)](_0x4b475a[_0x4c8256(0x1a4)]);}return this[_0x4c8256(0x1bb)][_0x4c8256(0x1ba)]+':\x20'+_0x5c4aab[_0x4c8256(0x1b1)](',\x20');}[_0x117b2d(0x1a6)](){const _0x23e3ab=_0x117b2d;return this[_0x23e3ab(0x1a0)][_0x23e3ab(0x1b2)]({'reviewName':this[_0x23e3ab(0x1a8)](),'content':this[_0x23e3ab(0x1b0)][_0x23e3ab(0x1b4)],'args':this[_0x23e3ab(0x1b5)]});}[_0x117b2d(0x1a8)](){const _0x1a431b=_0x117b2d;return!this[_0x1a431b(0x1a7)]||0x0===this[_0x1a431b(0x1a7)][_0x1a431b(0x1b3)]||this[_0x1a431b(0x1bb)][_0x1a431b(0x1af)]?this[_0x1a431b(0x1bb)]['id']:[this[_0x1a431b(0x1bb)]['id'],...this[_0x1a431b(0x1a7)]][_0x1a431b(0x1b1)]('-');}}function _0x1d6f(_0x354356,_0x34eceb){const _0x5ceecc=_0x5cee();return _0x1d6f=function(_0x1d6f69,_0x102dc9){_0x1d6f69=_0x1d6f69-0x19f;let _0x3b9e41=_0x5ceecc[_0x1d6f69];return _0x3b9e41;},_0x1d6f(_0x354356,_0x34eceb);}function _0x5cee(){const _0xa047b3=['_aiConnector','push','40pPiYZM','11290gzZavY','label','409590rAjqlE','_createApiRequest','_reviewParams','_composeReviewName','data','37389gzHBhc','find','4596810zdXpWF','66sjGZqu','76pyXPMZ','useArgs','_documentData','join','callSystemReview','length','content','_reviewArgs','options','5927805sGsFDT','78IHOSzD','344141yQnohq','title','_sourceCheck','2523770DhRQLF'];_0x5cee=function(){return _0xa047b3;};return _0x5cee();}
23
+ function _0x17ab(){const _0x6d9b7f=['useArgs','126621cOJSTg','_reviewArgs','title','join','length','1434728hXkkAj','label','3wfzxqk','_reviewParams','2268490uplAMQ','push','callSystemReview','36xyzjwC','24KVNFhL','_aiConnector','options','find','4194068ohRUez','content','_sourceCheck','data','_createApiRequest','790anQCSI','1415994YbQgIL','_composeReviewName','7061054ZckusG','23427kncsMF','_documentData'];_0x17ab=function(){return _0x6d9b7f;};return _0x17ab();}const _0x473a53=_0x50fb;(function(_0x85cb3d,_0xc7f56d){const _0x130816=_0x50fb,_0x52bd9d=_0x85cb3d();while(!![]){try{const _0x29c6e2=parseInt(_0x130816(0x10e))/0x1*(-parseInt(_0x130816(0x101))/0x2)+-parseInt(_0x130816(0x118))/0x3*(parseInt(_0x130816(0x105))/0x4)+-parseInt(_0x130816(0x11a))/0x5+-parseInt(_0x130816(0x10b))/0x6+parseInt(_0x130816(0x10d))/0x7+parseInt(_0x130816(0x116))/0x8*(parseInt(_0x130816(0x11d))/0x9)+-parseInt(_0x130816(0x10a))/0xa*(-parseInt(_0x130816(0x111))/0xb);if(_0x29c6e2===_0xc7f56d)break;else _0x52bd9d['push'](_0x52bd9d['shift']());}catch(_0x2770ca){_0x52bd9d['push'](_0x52bd9d['shift']());}}}(_0x17ab,0x966b5));function _0x50fb(_0x264dde,_0x4e4ff9){const _0x17ab88=_0x17ab();return _0x50fb=function(_0x50fbdb,_0x71f2c){_0x50fbdb=_0x50fbdb-0x101;let _0x3b8dc3=_0x17ab88[_0x50fbdb];return _0x3b8dc3;},_0x50fb(_0x264dde,_0x4e4ff9);}import{AIReviewCheckRun as _0x124142}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x124142{get[_0x473a53(0x113)](){const _0x2d1267=_0x473a53;if(!this[_0x2d1267(0x119)]||0x0===this[_0x2d1267(0x119)][_0x2d1267(0x115)]||this[_0x2d1267(0x107)][_0x2d1267(0x110)])return this[_0x2d1267(0x107)][_0x2d1267(0x113)];const _0x22702d=[];if(this[_0x2d1267(0x119)][_0x2d1267(0x115)]>0x0&&this[_0x2d1267(0x107)][_0x2d1267(0x103)])for(let _0x817cc1=0x0;_0x817cc1<this[_0x2d1267(0x119)][_0x2d1267(0x115)];_0x817cc1++){if(!this[_0x2d1267(0x119)][_0x817cc1]||!this[_0x2d1267(0x107)][_0x2d1267(0x103)][_0x817cc1])continue;const _0x1d3b4a=this[_0x2d1267(0x107)][_0x2d1267(0x103)][_0x817cc1],_0x356206=_0x1d3b4a[_0x2d1267(0x108)]?.[_0x2d1267(0x104)](_0x396cb6=>_0x396cb6['id']===this[_0x2d1267(0x119)][_0x817cc1]);_0x356206&&_0x22702d[_0x2d1267(0x11b)](_0x356206[_0x2d1267(0x117)]);}return this[_0x2d1267(0x107)][_0x2d1267(0x113)]+':\x20'+_0x22702d[_0x2d1267(0x114)](',\x20');}[_0x473a53(0x109)](){const _0x449bc8=_0x473a53;return this[_0x449bc8(0x102)][_0x449bc8(0x11c)]({'reviewName':this[_0x449bc8(0x10c)](),'content':this[_0x449bc8(0x10f)][_0x449bc8(0x106)],'args':this[_0x449bc8(0x112)]});}[_0x473a53(0x10c)](){const _0x4fd3a6=_0x473a53;return!this[_0x4fd3a6(0x119)]||0x0===this[_0x4fd3a6(0x119)][_0x4fd3a6(0x115)]||this[_0x4fd3a6(0x107)][_0x4fd3a6(0x110)]?this[_0x4fd3a6(0x107)]['id']:[this[_0x4fd3a6(0x107)]['id'],...this[_0x4fd3a6(0x119)]][_0x4fd3a6(0x114)]('-');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4d6dba=_0x1e86;function _0x41ba(){var _0x3054de=['extendTemplate','maxRows','ck-review-mode__prompt-input','render','272795bMGxrO','bindTemplate','minRows','76978CNuSXn','1197873YvCDNo','element','value','250381FZnUzp','78XvDdcz','placeholder','3645005SZQTic','set','stopPropagation','setPlaceholderText','2670976TYzDSS','MAX_ROWS','MIN_ROWS','update','ai-review-mode-prompt-input','8EEcdzc','trim','573168ljGcLT','isEmpty'];_0x41ba=function(){return _0x3054de;};return _0x41ba();}function _0x1e86(_0x28df39,_0x1128eb){var _0x41ba13=_0x41ba();return _0x1e86=function(_0x1e86e1,_0x20c0eb){_0x1e86e1=_0x1e86e1-0x1ce;var _0x5500c2=_0x41ba13[_0x1e86e1];return _0x5500c2;},_0x1e86(_0x28df39,_0x1128eb);}(function(_0x464766,_0x1a194f){var _0x28b520=_0x1e86,_0xdd8adc=_0x464766();while(!![]){try{var _0x3a3609=parseInt(_0x28b520(0x1db))/0x1+-parseInt(_0x28b520(0x1d7))/0x2+-parseInt(_0x28b520(0x1ce))/0x3+parseInt(_0x28b520(0x1e2))/0x4+-parseInt(_0x28b520(0x1d4))/0x5*(parseInt(_0x28b520(0x1dc))/0x6)+parseInt(_0x28b520(0x1de))/0x7+-parseInt(_0x28b520(0x1e7))/0x8*(parseInt(_0x28b520(0x1d8))/0x9);if(_0x3a3609===_0x1a194f)break;else _0xdd8adc['push'](_0xdd8adc['shift']());}catch(_0x32ec75){_0xdd8adc['push'](_0xdd8adc['shift']());}}}(_0x41ba,0x59953));import{TextareaView as _0x295712}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x295712{static [_0x4d6dba(0x1e4)]=0x1;static [_0x4d6dba(0x1e3)]=0xc;constructor(_0x540389){var _0x259fe2=_0x4d6dba;super(_0x540389),this[_0x259fe2(0x1df)](_0x259fe2(0x1cf),!0x0),this[_0x259fe2(0x1d6)]=AIReviewModePromptInputView[_0x259fe2(0x1e4)],this[_0x259fe2(0x1d1)]=AIReviewModePromptInputView[_0x259fe2(0x1e3)],this[_0x259fe2(0x1d0)]({'attributes':{'id':_0x259fe2(0x1e6),'class':['ck',_0x259fe2(0x1d2)]}}),this[_0x259fe2(0x1d0)]({'on':{'click':this[_0x259fe2(0x1d5)]['to'](_0x47c083=>{var _0x1111ba=_0x259fe2;_0x47c083[_0x1111ba(0x1e0)]();})}});}[_0x4d6dba(0x1d3)](){var _0x436586=_0x4d6dba;super[_0x436586(0x1d3)](),this['on'](_0x436586(0x1e5),()=>{var _0x2b17ad=_0x436586;this[_0x2b17ad(0x1cf)]=''===this[_0x2b17ad(0x1d9)][_0x2b17ad(0x1da)]?.[_0x2b17ad(0x1e8)]();});}[_0x4d6dba(0x1e1)](_0x101ed9){var _0x35ef0f=_0x4d6dba;this[_0x35ef0f(0x1df)](_0x35ef0f(0x1dd),_0x101ed9);}}
23
+ var _0x37ce1f=_0x1a98;(function(_0x4caf0a,_0x38bdc5){var _0x24e25c=_0x1a98,_0x2c3f15=_0x4caf0a();while(!![]){try{var _0x38ba80=parseInt(_0x24e25c(0x158))/0x1*(parseInt(_0x24e25c(0x14e))/0x2)+-parseInt(_0x24e25c(0x153))/0x3*(-parseInt(_0x24e25c(0x15d))/0x4)+parseInt(_0x24e25c(0x159))/0x5*(parseInt(_0x24e25c(0x160))/0x6)+-parseInt(_0x24e25c(0x14c))/0x7+parseInt(_0x24e25c(0x162))/0x8+-parseInt(_0x24e25c(0x150))/0x9*(-parseInt(_0x24e25c(0x152))/0xa)+-parseInt(_0x24e25c(0x15a))/0xb;if(_0x38ba80===_0x38bdc5)break;else _0x2c3f15['push'](_0x2c3f15['shift']());}catch(_0x53547d){_0x2c3f15['push'](_0x2c3f15['shift']());}}}(_0x14c2,0x1d075));function _0x1a98(_0x321eb6,_0x151caa){var _0x14c28c=_0x14c2();return _0x1a98=function(_0x1a9841,_0x471744){_0x1a9841=_0x1a9841-0x146;var _0x44fefe=_0x14c28c[_0x1a9841];return _0x44fefe;},_0x1a98(_0x321eb6,_0x151caa);}import{TextareaView as _0x555bfd}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x555bfd{static [_0x37ce1f(0x161)]=0x1;static [_0x37ce1f(0x154)]=0xc;constructor(_0x587139){var _0x43f751=_0x37ce1f;super(_0x587139),this[_0x43f751(0x14a)](_0x43f751(0x146),!0x0),this[_0x43f751(0x15b)]=AIReviewModePromptInputView[_0x43f751(0x161)],this[_0x43f751(0x147)]=AIReviewModePromptInputView[_0x43f751(0x154)],this[_0x43f751(0x148)]({'attributes':{'id':_0x43f751(0x14f),'class':['ck',_0x43f751(0x14b)]}}),this[_0x43f751(0x148)]({'on':{'click':this[_0x43f751(0x149)]['to'](_0x2d6e28=>{var _0x2c14cb=_0x43f751;_0x2d6e28[_0x2c14cb(0x15c)]();})}});}[_0x37ce1f(0x14d)](){var _0x194109=_0x37ce1f;super[_0x194109(0x14d)](),this['on'](_0x194109(0x156),()=>{var _0x15a486=_0x194109;this[_0x15a486(0x146)]=''===this[_0x15a486(0x151)][_0x15a486(0x15f)]?.[_0x15a486(0x15e)]();});}[_0x37ce1f(0x157)](_0x21e9ca){var _0x4ea793=_0x37ce1f;this[_0x4ea793(0x14a)](_0x4ea793(0x155),_0x21e9ca);}}function _0x14c2(){var _0x444f4a=['trim','value','6yhDscc','MIN_ROWS','208704thXXzL','isEmpty','maxRows','extendTemplate','bindTemplate','set','ck-review-mode__prompt-input','36757ivAyYZ','render','1210YIKalk','ai-review-mode-prompt-input','513GRjmfb','element','12020tMZrAC','1851MYMhMr','MAX_ROWS','placeholder','update','setPlaceholderText','27KJwozH','181495ExEyTY','1774212ocLvCW','minRows','stopPropagation','896qIgFuN'];_0x14c2=function(){return _0x444f4a;};return _0x14c2();}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/customcontrols/aireviewmodeballoonsuggestionview
7
+ */
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ import { BalloonPanelView, type BodyCollection } from 'ckeditor5/src/ui.js';
10
+ import { AIReviewModeReviewCheckListItemResultsView } from './aireviewmodechecklistitemresultview.js';
11
+ import type { AIReviewCheckResultChange } from '../model/aireviewcheckresultchange.js';
12
+ import '../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';
13
+ import '../../../theme/aireviewmode/aireviewmode-check-run-result.css';
14
+ export declare class AIReviewModeBalloonSuggestionItemView extends BalloonPanelView {
15
+ /**
16
+ * Creates an instance of the review mode suggestion panel view.
17
+ *
18
+ * @param locale The localization services instance.
19
+ */
20
+ resultItemView: AIReviewModeReviewCheckListItemResultsView;
21
+ constructor(locale: Locale, bodyCollection: BodyCollection);
22
+ updateContent(change: AIReviewCheckResultChange): void;
23
+ showBalloon(change: AIReviewCheckResultChange, target: HTMLElement): void;
24
+ hideBalloon(): void;
25
+ deactivateChange(): void;
26
+ }
27
+ export type AIReviewModeUIDeactivateChangeEvent = {
28
+ name: 'deactivateChange';
29
+ args: [];
30
+ };