@ckeditor/ckeditor5-ai 47.0.0-alpha.1 → 47.0.0-alpha.3

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 (402) 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 +59 -38
  41. package/dist/index.css +77 -39
  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 +40 -1
  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/aiconfig.d.ts +5 -0
  303. package/src/aicore/aiconnector.js +1 -1
  304. package/src/aicore/aiediting.js +1 -1
  305. package/src/aicore/model/aicapabilities.js +1 -1
  306. package/src/aicore/model/aicontext.js +1 -1
  307. package/src/aicore/model/aiinteraction.js +1 -1
  308. package/src/aicore/model/aireply.js +1 -1
  309. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  310. package/src/aicore/pipeline/airesponseparser.js +2 -2
  311. package/src/aicore/ui/aidisclaimerview.js +1 -1
  312. package/src/aicore/ui/aiskeleton.js +1 -1
  313. package/src/aicore/ui/aispinner.js +1 -1
  314. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  315. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
  316. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  317. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
  318. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  319. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
  320. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  321. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  322. package/src/aicore/utils/common-translations.js +1 -1
  323. package/src/aicore/utils/createresizebutton.js +1 -1
  324. package/src/aicore/utils/documentposition.js +1 -1
  325. package/src/aicore/utils/documentrange.js +1 -1
  326. package/src/aicore/utils/eventnames.js +1 -1
  327. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  328. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  329. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -1
  330. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  331. package/src/aicore/utils/htmlparser.js +1 -1
  332. package/src/aicore/utils/htmlstreamer.js +1 -1
  333. package/src/aiquickactions/aiquickactions.js +1 -1
  334. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  335. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  336. package/src/aiquickactions/aiquickactionsui.js +1 -1
  337. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  338. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  339. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  340. package/src/aiquickactions/utils/common-translations.js +1 -1
  341. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
  342. package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
  343. package/src/aireviewmode/aireviewmode.d.ts +37 -0
  344. package/src/aireviewmode/aireviewmode.js +1 -1
  345. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  346. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  347. package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
  348. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  349. package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
  350. package/src/aireviewmode/aireviewmodeui.js +1 -1
  351. package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
  352. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  353. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  354. package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
  355. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  356. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  357. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  358. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  359. package/src/aireviewmode/model/aireviewcheckrun.d.ts +24 -2
  360. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  361. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
  362. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  363. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  364. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
  365. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  366. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  367. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
  368. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
  369. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
  370. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  371. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  372. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  373. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
  374. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  375. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
  376. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  377. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
  378. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  379. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
  380. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  381. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
  382. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  383. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  384. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  385. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  386. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  387. package/src/aitabs/aitabs.js +1 -1
  388. package/src/aitabs/aitabsmainview.js +1 -1
  389. package/src/aitabs/tabs/aitabsview.js +1 -1
  390. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  391. package/src/aitabs/tabs/tabpanelview.js +1 -1
  392. package/src/index.d.ts +3 -2
  393. package/src/index.js +1 -1
  394. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  395. package/theme/aichat/aichat-controls.css +4 -0
  396. package/theme/aichat/aichatfeed.css +10 -2
  397. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
  398. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  399. package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
  400. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  401. package/src/aireviewmode/utils/common-translations.d.ts +0 -9
  402. package/src/aireviewmode/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4cc5(){const _0x69089e=['328347SmageU','element','applyChange','processor','markChangePositionInEditorContent','startsWith','ck-ai_review-mode-marker_context-start','operationsIsolated','outerHTML','_insertMarkers','map','caption','values','change','remove-only','getPath','_groupAdjacentOperations','847fIAzDD','concat','isOfficialPlugin','getRoots','nodes','toData','Scroll\x20to\x20change\x20in\x20editor\x20content','ck-ai_review-mode-marker_strikethrough','hasContentAfter','data','switchToReadOnly','remove-context','addOperation','_shiftOperation','isOpening','end','exec','name','markerToElement','createUIElement','filter','isTouching','4137054tQPYPF','markers','DocumentCompare','offset','toView','suggestion:insertion:id:authorId:','delete','ck-ai_review-mode-marker_underline','stringify','_setAttribute','deleteContent','No\x20element\x20found\x20for\x20ID:\x20','htmlWriter','_createGetContextFn','baseVersion','_appendChild','offsetSize','isPremiumPlugin','[data-id=\x22','373591bTsoXQ','getAttribute','diffContent','push','_changeRangeOwnerDocument','documentFragment','applyOperation','warn','get','model','innerHTML','domConverter','_removeChildren','suggestion-context','type','rejectChange','context','parse','editingDowncast','getHtml','index','reviewmode-','getShiftedBy','jumpTo','isAtEnd','version','createPositionAfter','_getMarkersDataForGroup','length','querySelector','affectsData','88xykHqt','_createGetContentFn','_changePositionOwnerDocument','isAtStart','flat','_getOperationStart','batch','412uYoxuW','marker','backward','ck-ai_review-mode-marker_context-end','clear','model:$text','createRawElement','getOperations','ck-ai_review-mode-marker_hide','removeMarker','isInline','schema','_getTopElement','_nextDataId','getDocumentData','getContentElement','_markers','dataDowncast','ai-review-mode','$textProxy','$markedRemove','insertContent','enableReadOnlyMode','set','newRange','ck-ai_review-mode-marker_context-','start','hasClass','createDocumentFragment','pluginName','span','position','history','_changeOperationOwnerDocument','elements','_changeRange','conversion','downcast','getChildren','htmlProcessor','document','addMarker','disableReadOnlyMode','for','every','insert','hasContentBefore','getChild','isDocumentOperation','_clone','remove-text','forward','clone','4066908KfYEte','getDiff','AIEditing','log','32961CxOsKh','7TAQhry','oldRange','requires','_getChangeContext','clearAllMarkers','getRoot','from','2pWpxCT','4486105rzqMWc','viewToDom','ck-ai_review-mode-marker_add','suggestion:deletion:id:authorId:','_getOperationEnd','createRange','_translateOperationToEditorContent','createSelection','append','afterInit','markerName','childCount','createText','16130YkAzKH','_createGetContentUsingDataIdFn','parent','ellipsisAfter','createPositionAt','_changePosition','groupId','ellipsisBefore','howMany','text','plugins','_findAdjacentContextDistance','add','toDomElement','$documentFragment','keys','AIReviewModeEditing','attributeToAttribute','getRange','scrollToChangeInEditorContent','markerToHighlight','switchToEdit','path','operationsA'];_0x4cc5=function(){return _0x69089e;};return _0x4cc5();}const _0x1ebd13=_0x2553;(function(_0x3f15e7,_0x697561){const _0x249ca0=_0x2553,_0x4a08f8=_0x3f15e7();while(!![]){try{const _0xb13f5e=parseInt(_0x249ca0(0x203))/0x1*(-parseInt(_0x249ca0(0x1a3))/0x2)+-parseInt(_0x249ca0(0x19b))/0x3*(-parseInt(_0x249ca0(0x162))/0x4)+-parseInt(_0x249ca0(0x1a4))/0x5+parseInt(_0x249ca0(0x1f0))/0x6*(parseInt(_0x249ca0(0x19c))/0x7)+parseInt(_0x249ca0(0x15b))/0x8*(-parseInt(_0x249ca0(0x1c9))/0x9)+-parseInt(_0x249ca0(0x1b1))/0xa*(-parseInt(_0x249ca0(0x1da))/0xb)+parseInt(_0x249ca0(0x197))/0xc;if(_0xb13f5e===_0x697561)break;else _0x4a08f8['push'](_0x4a08f8['shift']());}catch(_0x1b5e21){_0x4a08f8['push'](_0x4a08f8['shift']());}}}(_0x4cc5,0x9573b));import{InsertOperation as _0x5ad732,MarkerOperation as _0x1ec959,ModelDocumentFragment as _0x33550f,ModelPosition as _0x9c055e,ModelRange as _0x2e17f0,ModelTreeWalker as _0x433dc0,transformOperationSets as _0x4779a4}from'ckeditor5/src/engine.js';import{uid as _0x5a1824}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x4549a3}from'ckeditor5/src/core.js';function _0x2553(_0x5b2c45,_0x209b7b){const _0x4cc5bd=_0x4cc5();return _0x2553=function(_0x2553b3,_0x12680a){_0x2553b3=_0x2553b3-0x149;let _0x46026d=_0x4cc5bd[_0x2553b3];return _0x46026d;},_0x2553(_0x5b2c45,_0x209b7b);}import{DocumentCompare as _0x6663a0,DATA_ID_MODEL_ATTRIBUTE as _0x487153,DATA_ID_VIEW_ATTRIBUTE as _0x2ebc94}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2630e4}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x28ac9c}from'../aicore/aiediting.js';const Xt=_0x1ebd13(0x151);export class AIReviewModeEditing extends _0x4549a3{static get[_0x1ebd13(0x17f)](){const _0x59808a=_0x1ebd13;return _0x59808a(0x1c1);}static get[_0x1ebd13(0x19e)](){return[_0x6663a0,_0x28ac9c];}static get[_0x1ebd13(0x1dc)](){return!0x0;}static get[_0x1ebd13(0x201)](){return!0x0;}[_0x1ebd13(0x172)]=new Map();[_0x1ebd13(0x1ad)](){const _0x234b91=_0x1ebd13,_0x3b68=_0x2630e4(this[_0x234b91(0x14c)]);_0x3b68[_0x234b91(0x186)][_0x234b91(0x18d)](_0x234b91(0x14e))[_0x234b91(0x1ec)]({'model':Xt+_0x234b91(0x18f),'view':(_0x4cce96,{writer:_0x6483aa})=>{const _0x3b7ae8=_0x234b91,_0x25538c=this[_0x3b7ae8(0x172)][_0x3b7ae8(0x20b)](_0x4cce96[_0x3b7ae8(0x1ae)]);return _0x6483aa[_0x3b7ae8(0x1ed)](_0x3b7ae8(0x180),{'class':_0x3b7ae8(0x1a6)},function(_0x4b72a5){const _0x10b709=_0x3b7ae8,_0x33c224=this[_0x10b709(0x1be)](_0x4b72a5);return _0x33c224[_0x10b709(0x20d)]=_0x25538c?.[_0x10b709(0x1ba)]||'',_0x33c224;});}}),_0x3b68[_0x234b91(0x186)][_0x234b91(0x18d)](_0x234b91(0x173))[_0x234b91(0x1ec)]({'model':Xt+_0x234b91(0x149),'view':(_0x4adc72,{writer:_0x2e4b04})=>_0x2e4b04[_0x234b91(0x168)](_0x234b91(0x180),{'class':_0x234b91(0x17b)+(_0x4adc72[_0x234b91(0x1e8)]?_0x234b91(0x17c):_0x234b91(0x1e9))})}),_0x3b68[_0x234b91(0x186)][_0x234b91(0x18d)](_0x234b91(0x14e))[_0x234b91(0x1c5)]({'model':Xt+_0x234b91(0x1d7),'view':()=>({'classes':_0x234b91(0x1e1)})}),_0x3b68[_0x234b91(0x186)][_0x234b91(0x18d)](_0x234b91(0x14e))[_0x234b91(0x1c5)]({'model':Xt+_0x234b91(0x1e5),'view':()=>({'classes':_0x234b91(0x1f7)})}),_0x3b68[_0x234b91(0x186)][_0x234b91(0x18d)](_0x234b91(0x14e))[_0x234b91(0x1c5)]({'model':Xt+_0x234b91(0x194),'view':()=>({'classes':_0x234b91(0x16a)})}),_0x3b68[_0x234b91(0x186)][_0x234b91(0x18d)](_0x234b91(0x187))[_0x234b91(0x1c2)]({'model':_0x487153,'view':_0x2ebc94});}[_0x1ebd13(0x170)](){const _0xee34=_0x1ebd13,_0x5ae7ae=this[_0xee34(0x14c)][_0xee34(0x1bb)][_0xee34(0x20b)](_0xee34(0x199)),_0x24e0e5=_0x2630e4(this[_0xee34(0x14c)]),_0x3e07a4=_0x24e0e5[_0xee34(0x20c)],_0x10febe=new _0x33550f();for(const _0x256def of _0x3e07a4[_0xee34(0x18a)][_0xee34(0x1a1)]()[_0xee34(0x188)]()){const _0xdf9d44=_0x256def[_0xee34(0x193)](!0x0);_0x10febe[_0xee34(0x1ff)](_0xdf9d44);}for(const _0x238407 of _0x3e07a4[_0xee34(0x1f1)])_0x10febe[_0xee34(0x1f1)][_0xee34(0x179)](_0x238407[_0xee34(0x1eb)],this[_0xee34(0x207)](_0x238407[_0xee34(0x1c3)]()[_0xee34(0x196)](),_0x10febe));const _0x3ff01b=new _0x433dc0({'ignoreElementEnd':!0x0,'startPosition':_0x3e07a4[_0xee34(0x1b5)](_0x10febe,0x0)}),_0x211e72=new Set(),_0x21f18d=new Map();for(const {item:_0x193829}of _0x3ff01b){if(!_0x193829['is'](_0xee34(0x175)))continue;const _0x46128f=_0x193829[_0xee34(0x1b3)];if((!_0x46128f||!_0x46128f['is'](_0xee34(0x1ca),_0xee34(0x1d4)))&&(_0x46128f&&_0x46128f['is'](_0xee34(0x1ca)))){let _0x1b003d=_0x46128f[_0xee34(0x204)](_0x487153);_0x1b003d||(_0x1b003d=_0x5ae7ae[_0xee34(0x16f)](_0x211e72),_0x46128f[_0xee34(0x1f9)](_0x487153,_0x1b003d)),_0x211e72[_0xee34(0x1bd)](_0x1b003d);const _0x4271e7=this[_0xee34(0x16e)](_0x46128f);_0x21f18d[_0xee34(0x179)](_0x1b003d,{'path':_0x46128f[_0xee34(0x1d8)](),'getContent':this[_0xee34(0x1b2)](_0x4271e7[_0xee34(0x193)](!0x0),_0x1b003d,_0x24e0e5[_0xee34(0x1e3)])}),_0x3ff01b[_0xee34(0x153)](_0x3e07a4[_0xee34(0x156)](_0x46128f));}}return{'content':_0x24e0e5[_0xee34(0x1e3)][_0xee34(0x1cc)][_0xee34(0x1df)](_0x24e0e5[_0xee34(0x1e3)][_0xee34(0x1f4)](_0x10febe)),'version':_0x24e0e5[_0xee34(0x20c)][_0xee34(0x18a)][_0xee34(0x155)],'elements':_0x21f18d};}[_0x1ebd13(0x205)](_0x55ca5d,_0x5029b8){const _0x3b10cc=_0x1ebd13,_0x46d468=_0x2630e4(this[_0x3b10cc(0x14c)]),_0x100e7d=_0x46d468[_0x3b10cc(0x1e3)][_0x3b10cc(0x14d)](_0x55ca5d,_0x3b10cc(0x1bf)),_0x20e6c8=_0x46d468[_0x3b10cc(0x20c)][_0x3b10cc(0x1b5)](_0x100e7d,0x0),_0x57810a=this[_0x3b10cc(0x14c)][_0x3b10cc(0x1bb)][_0x3b10cc(0x20b)](_0x3b10cc(0x1f2))[_0x3b10cc(0x198)](_0x55ca5d,_0x5029b8,{'anchor':_0x20e6c8,'markDeletions':!0x0})[_0x3b10cc(0x169)]()[_0x3b10cc(0x1ee)](_0x223f8b=>_0x3b10cc(0x18f)===_0x223f8b[_0x3b10cc(0x14a)]||_0x3b10cc(0x163)===_0x223f8b[_0x3b10cc(0x14a)]&&_0x223f8b[_0x3b10cc(0x1eb)][_0x3b10cc(0x1ce)](_0x3b10cc(0x176))),_0x1085d5=this[_0x3b10cc(0x1d9)](_0x57810a),_0x365ae7=[];let _0x170e28=0x0;return _0x46d468[_0x3b10cc(0x20c)][_0x3b10cc(0x1d6)](_0x8d6608=>{const _0x18ff6d=_0x3b10cc;for(let _0x2e0da1=0x0;_0x2e0da1<_0x1085d5[_0x18ff6d(0x158)];_0x2e0da1++){const _0x223c9b=_0x1085d5[_0x2e0da1],_0x393e04=_0x8d6608[_0x18ff6d(0x17e)]();for(const _0x36da08 of _0x100e7d[_0x18ff6d(0x188)]())_0x8d6608[_0x18ff6d(0x1ac)](_0x36da08[_0x18ff6d(0x193)](!0x0),_0x393e04);for(const _0x2eec64 of _0x223c9b[_0x18ff6d(0x1d0)])if(_0x18ff6d(0x18f)===_0x2eec64[_0x18ff6d(0x14a)]){const _0x2f3744=_0x2eec64;_0x2f3744[_0x18ff6d(0x1fe)]=null,_0x2f3744[_0x18ff6d(0x192)]=!0x1,this[_0x18ff6d(0x183)](_0x2f3744,_0x393e04),_0x8d6608[_0x18ff6d(0x161)][_0x18ff6d(0x1e6)](_0x2eec64),_0x46d468[_0x18ff6d(0x20c)][_0x18ff6d(0x209)](_0x2eec64);const _0x2f6e2f=_0x18ff6d(0x1f5)+_0x170e28++,_0x4fc221=_0x46d468[_0x18ff6d(0x20c)][_0x18ff6d(0x1a9)](_0x2f3744[_0x18ff6d(0x181)],_0x2f3744[_0x18ff6d(0x181)][_0x18ff6d(0x152)](_0x2f3744[_0x18ff6d(0x1b9)]));_0x393e04[_0x18ff6d(0x1f1)][_0x18ff6d(0x179)](_0x2f6e2f,_0x4fc221);}else{if(_0x18ff6d(0x163)===_0x2eec64[_0x18ff6d(0x14a)]&&_0x2eec64[_0x18ff6d(0x1eb)][_0x18ff6d(0x1ce)](_0x18ff6d(0x176))){const _0x497b8e=_0x2eec64,_0x3ecb80=_0x18ff6d(0x1a7)+_0x170e28++;this[_0x18ff6d(0x183)](_0x497b8e,_0x393e04),_0x393e04[_0x18ff6d(0x1f1)][_0x18ff6d(0x179)](_0x3ecb80,_0x497b8e[_0x18ff6d(0x17a)]);}}const _0x360b49=this[_0x18ff6d(0x19f)](this[_0x18ff6d(0x15d)](this[_0x18ff6d(0x160)](_0x223c9b[_0x18ff6d(0x1d0)][0x0]),_0x393e04),this[_0x18ff6d(0x15d)](this[_0x18ff6d(0x1a8)](_0x223c9b[_0x18ff6d(0x1d0)][_0x223c9b[_0x18ff6d(0x1d0)][_0x18ff6d(0x158)]-0x1]),_0x393e04));_0x393e04[_0x18ff6d(0x1f1)][_0x18ff6d(0x179)](Xt+_0x18ff6d(0x149),new _0x2e17f0(_0x360b49[_0x18ff6d(0x17c)],_0x360b49[_0x18ff6d(0x1e9)])),_0x365ae7[_0x18ff6d(0x206)]({..._0x223c9b,'context':this[_0x18ff6d(0x1fd)](_0x393e04,_0x46d468[_0x18ff6d(0x1e3)],{'ellipsisBefore':_0x360b49[_0x18ff6d(0x190)],'ellipsisAfter':_0x360b49[_0x18ff6d(0x1e2)]}),'content':this[_0x18ff6d(0x15c)](_0x393e04,_0x46d468[_0x18ff6d(0x1e3)])});}}),_0x365ae7;}[_0x1ebd13(0x1cd)](_0xc4f16b,_0x423f6e){const _0x28c59c=_0x1ebd13,_0x2df371=_0xc4f16b[0x0][_0x28c59c(0x1b3)]['id'],_0xfa36d3=_0x423f6e[_0x28c59c(0x184)][_0x28c59c(0x20b)](_0x2df371);if(!_0xfa36d3)return void console[_0x28c59c(0x20a)](_0x28c59c(0x1fb)+_0x2df371);const _0x17d9d6=_0xfa36d3[_0x28c59c(0x1c7)],_0x5e57dc=_0x2630e4(this[_0x28c59c(0x14c)]),_0x51a4bd=_0x5e57dc[_0x28c59c(0x20c)][_0x28c59c(0x18a)][_0x28c59c(0x182)][_0x28c59c(0x169)](_0x423f6e[_0x28c59c(0x155)]),_0x44fa67=[];for(const _0xd0710b of _0xc4f16b){const _0x40ea17=_0xd0710b[_0x28c59c(0x1d0)][_0x28c59c(0x1d3)](_0x18d1ad=>this[_0x28c59c(0x1aa)](_0x18d1ad,_0x17d9d6,_0x5e57dc[_0x28c59c(0x20c)][_0x28c59c(0x18a)][_0x28c59c(0x1dd)]()[0x0]));if(!_0x40ea17||!_0x40ea17[_0x28c59c(0x158)])continue;const _0x18e578=_0x40ea17[_0x28c59c(0x18e)](_0x183d13=>_0x28c59c(0x163)===_0x183d13[_0x28c59c(0x14a)]&&_0x183d13[_0x28c59c(0x1eb)][_0x28c59c(0x1ce)](_0x28c59c(0x176))),_0x175c56={'document':_0x5e57dc[_0x28c59c(0x20c)][_0x28c59c(0x18a)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x25b2c8=_0x4779a4(_0x40ea17,_0x51a4bd,_0x175c56)[_0x28c59c(0x1c8)];for(const _0x7d8fbf of _0x25b2c8)if(_0x28c59c(0x18f)===_0x7d8fbf[_0x28c59c(0x14a)]){const _0x2780d5=_0x7d8fbf,_0x1f5d20=_0x2780d5[_0x28c59c(0x1de)];let _0x1fae3d='';for(const _0x42c3e4 of _0x1f5d20)_0x42c3e4&&_0x42c3e4['is'](_0x28c59c(0x167))&&(_0x1fae3d+=_0x42c3e4[_0x28c59c(0x1e3)]);_0x44fa67[_0x28c59c(0x206)]({'start':_0x2780d5[_0x28c59c(0x181)],'end':_0x2780d5[_0x28c59c(0x181)],'type':_0x28c59c(0x18f),'groupId':_0xd0710b['id'],'text':_0x1fae3d});}else{if(_0x28c59c(0x163)===_0x7d8fbf[_0x28c59c(0x14a)]&&_0x7d8fbf[_0x28c59c(0x1eb)][_0x28c59c(0x1ce)](_0x28c59c(0x176))){const _0x5f4b36=_0x7d8fbf;let _0x567878=_0x28c59c(0x194);if(_0x18e578){const _0x2b1272=this[_0x28c59c(0x1bc)](_0x5f4b36[_0x28c59c(0x17a)][_0x28c59c(0x17c)],_0x28c59c(0x164),_0x5e57dc[_0x28c59c(0x20c)][_0x28c59c(0x16d)]),_0x1fe526=this[_0x28c59c(0x1bc)](_0x5f4b36[_0x28c59c(0x17a)][_0x28c59c(0x1e9)],_0x28c59c(0x195),_0x5e57dc[_0x28c59c(0x20c)][_0x28c59c(0x16d)]);if(_0x2b1272||_0x1fe526){const _0x14dea2=_0x5f4b36[_0x28c59c(0x17a)][_0x28c59c(0x17c)][_0x28c59c(0x152)](-_0x2b1272),_0x4f59d4=_0x5f4b36[_0x28c59c(0x17a)][_0x28c59c(0x1e9)][_0x28c59c(0x152)](_0x1fe526);_0x44fa67[_0x28c59c(0x206)]({'start':_0x14dea2,'end':_0x4f59d4,'groupId':_0xd0710b['id'],'type':_0x28c59c(0x1e5)});}else _0x567878=_0x28c59c(0x1d7);}_0x44fa67[_0x28c59c(0x206)]({'start':_0x5f4b36[_0x28c59c(0x17a)][_0x28c59c(0x17c)],'end':_0x5f4b36[_0x28c59c(0x17a)][_0x28c59c(0x1e9)],'groupId':_0xd0710b['id'],'type':_0x567878});}}}this[_0x28c59c(0x1d2)](_0x44fa67);}[_0x1ebd13(0x1a0)](){const _0x24fee5=_0x1ebd13;_0x2630e4(this[_0x24fee5(0x14c)])[_0x24fee5(0x20c)][_0x24fee5(0x1d6)](_0x4e509e=>{const _0x13e97b=_0x24fee5;for(const _0x55e2ff of this[_0x13e97b(0x172)][_0x13e97b(0x1c0)]())_0x4e509e[_0x13e97b(0x16b)](_0x55e2ff);}),this[_0x24fee5(0x172)][_0x24fee5(0x166)]();}[_0x1ebd13(0x1e4)](){const _0x5c2b46=_0x1ebd13;_0x2630e4(this[_0x5c2b46(0x14c)])[_0x5c2b46(0x178)](_0x5c2b46(0x174));}[_0x1ebd13(0x1c6)](){const _0x5f4a26=_0x1ebd13;_0x2630e4(this[_0x5f4a26(0x14c)])[_0x5f4a26(0x18c)](_0x5f4a26(0x174));}[_0x1ebd13(0x1cb)](_0x21a52a){const _0x1e85ed=_0x1ebd13,_0xd3c113=_0x2630e4(this[_0x1e85ed(0x14c)]),_0x39bb9f=_0xd3c113[_0x1e85ed(0x20c)],_0x231efe=_0x21a52a[_0x1e85ed(0x1d3)](_0x2f025f=>this[_0x1e85ed(0x157)](_0x2f025f))[_0x1e85ed(0x15f)]();_0x39bb9f[_0x1e85ed(0x1d6)](_0x59c36c=>{const _0x3a0de9=_0x1e85ed;for(const _0xfff5db of _0x231efe){const _0x4d8103=_0xd3c113[_0x3a0de9(0x20c)][_0x3a0de9(0x1f1)][_0x3a0de9(0x20b)](_0xfff5db['id']);_0x4d8103&&(_0x3a0de9(0x18f)===_0xfff5db[_0x3a0de9(0x14a)]?_0x39bb9f[_0x3a0de9(0x177)](_0x59c36c[_0x3a0de9(0x1b0)](_0xfff5db[_0x3a0de9(0x1ba)]||''),_0x4d8103[_0x3a0de9(0x1c3)]()[_0x3a0de9(0x17c)]):_0x3a0de9(0x194)!==_0xfff5db[_0x3a0de9(0x14a)]&&_0x3a0de9(0x1d7)!==_0xfff5db[_0x3a0de9(0x14a)]||_0x39bb9f[_0x3a0de9(0x1fa)](_0x39bb9f[_0x3a0de9(0x1ab)](_0x4d8103[_0x3a0de9(0x1c3)]())),_0x59c36c[_0x3a0de9(0x16b)](_0xfff5db['id']),this[_0x3a0de9(0x172)][_0x3a0de9(0x1f6)](_0xfff5db['id']));}});}[_0x1ebd13(0x14b)](_0x29fd5b){const _0x1369f0=_0x1ebd13,_0x305b0c=_0x2630e4(this[_0x1369f0(0x14c)]),_0x2311e2=this[_0x1369f0(0x157)](_0x29fd5b);_0x305b0c[_0x1369f0(0x20c)][_0x1369f0(0x1d6)](_0x9e2732=>{const _0x115690=_0x1369f0;for(const _0x3260be of _0x2311e2)_0x9e2732[_0x115690(0x16b)](_0x3260be['id']),this[_0x115690(0x172)][_0x115690(0x1f6)](_0x3260be['id']);});}[_0x1ebd13(0x171)](){const _0x3924df=_0x1ebd13,_0x29a640=_0x2630e4(this[_0x3924df(0x14c)]);return _0x29a640&&_0x29a640['ui']&&_0x29a640['ui'][_0x3924df(0x1ca)]?_0x29a640['ui'][_0x3924df(0x1ca)]:null;}[_0x1ebd13(0x1aa)](_0x318a8b,_0x128d0b,_0x13c22e){const _0xf0754f=_0x1ebd13;if(_0xf0754f(0x18f)===_0x318a8b[_0xf0754f(0x14a)]){const _0x93a4c0=_0x318a8b;return new _0x5ad732(this[_0xf0754f(0x1b6)](_0x93a4c0[_0xf0754f(0x181)],_0x128d0b[_0xf0754f(0x1db)](_0x93a4c0[_0xf0754f(0x181)][_0xf0754f(0x1f3)]),_0x13c22e),_0x93a4c0[_0xf0754f(0x1de)],_0x93a4c0[_0xf0754f(0x1fe)]);}if(_0xf0754f(0x163)===_0x318a8b[_0xf0754f(0x14a)]&&_0x318a8b[_0xf0754f(0x1eb)][_0xf0754f(0x1ce)](_0xf0754f(0x176))){const _0x5e8546=_0x318a8b;return new _0x1ec959(_0x5e8546[_0xf0754f(0x1eb)],_0x5e8546[_0xf0754f(0x19d)],this[_0xf0754f(0x185)](_0x5e8546[_0xf0754f(0x17a)],_0x128d0b[_0xf0754f(0x1db)](_0x5e8546[_0xf0754f(0x17a)][_0xf0754f(0x17c)][_0xf0754f(0x1f3)]),_0x128d0b[_0xf0754f(0x1db)](_0x5e8546[_0xf0754f(0x17a)][_0xf0754f(0x1e9)][_0xf0754f(0x1f3)]),_0x13c22e),_0x5e8546[_0xf0754f(0x172)],_0x5e8546[_0xf0754f(0x15a)],_0x5e8546[_0xf0754f(0x1fe)]);}return _0x318a8b;}[_0x1ebd13(0x1d9)](_0x56874e){const _0x5a54b7=_0x1ebd13;if(!_0x56874e[_0x5a54b7(0x158)])return[];const _0x1aeb64=[];let _0x4806c2=0x0,_0x5cdcde=0x0,_0x56ea0f=[];for(let _0x173b45=0x0;_0x173b45<=_0x56874e[_0x5a54b7(0x158)];_0x173b45++){const _0x2ac573=_0x56874e[_0x173b45],_0x2a266c=_0x56874e[_0x173b45-0x1];!_0x2ac573||_0x2a266c&&!this[_0x5a54b7(0x1a8)](_0x2a266c)[_0x5a54b7(0x1ef)](this[_0x5a54b7(0x160)](_0x2ac573))?(_0x1aeb64[_0x5a54b7(0x206)]({'operations':_0x56ea0f,'operationsIsolated':_0x56ea0f[_0x5a54b7(0x1d3)](_0xe14b79=>this[_0x5a54b7(0x1e7)](_0xe14b79[_0x5a54b7(0x196)](),-_0x5cdcde)),'groupOffset':_0x4806c2}),_0x56ea0f=_0x2ac573?[_0x2ac573]:[],_0x5cdcde+=_0x4806c2,_0x4806c2=0x0):_0x56ea0f[_0x5a54b7(0x206)](_0x2ac573),_0x2ac573&&_0x5a54b7(0x18f)===_0x2ac573[_0x5a54b7(0x14a)]&&(_0x4806c2+=_0x2ac573[_0x5a54b7(0x1b9)]);}return _0x1aeb64;}[_0x1ebd13(0x1c4)](_0x70eb56){const _0x4724fc=_0x1ebd13;console[_0x4724fc(0x19a)](_0x4724fc(0x1e0),_0x70eb56['id']);}[_0x1ebd13(0x1bc)](_0x5989b4,_0x4b0157,_0x49bbc7,_0x52d9de=0x1){const _0x5ab860=_0x1ebd13,_0x155203=new _0x433dc0({'startPosition':_0x5989b4,'direction':_0x4b0157});let _0x1e8249=0x0;for(let _0x2a0713=0x0;_0x2a0713<_0x52d9de;_0x2a0713++){let _0x4b124c=0x0,_0x3efdac=!0x1,_0x2c7858=_0x5ab860(0x195)===_0x4b0157?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x3cae08}of _0x155203)if(_0x3cae08['is'](_0x5ab860(0x175))){const _0x2847c8=_0x2c7858[_0x5ab860(0x1ea)](_0x3cae08[_0x5ab860(0x1e3)]);if(_0x2847c8&&_0x2847c8[_0x5ab860(0x158)]){if(_0x4b124c+=_0x5ab860(0x195)===_0x4b0157?_0x2847c8[_0x5ab860(0x150)]+_0x2847c8[0x0][_0x5ab860(0x158)]:_0x3cae08[_0x5ab860(0x1e3)][_0x5ab860(0x158)]-_0x2847c8[_0x5ab860(0x150)],_0x2847c8[0x0][_0x5ab860(0x158)]!==_0x3cae08[_0x5ab860(0x1e3)][_0x5ab860(0x158)])break;_0x3efdac=!0x0,_0x2c7858=_0x5ab860(0x195)===_0x4b0157?/^\w+/:/\w+$/;}else{if(_0x3efdac)break;_0x4b124c+=_0x3cae08[_0x5ab860(0x200)];}}else{if(_0x3cae08['is'](_0x5ab860(0x1ca))){_0x49bbc7[_0x5ab860(0x16c)](_0x3cae08)&&!_0x3efdac&&(_0x4b124c+=0x1);break;}}_0x1e8249+=_0x4b124c,_0x155203[_0x5ab860(0x153)](_0x5989b4[_0x5ab860(0x152)](_0x5ab860(0x195)===_0x4b0157?_0x1e8249:-_0x1e8249));}return _0x1e8249;}[_0x1ebd13(0x19f)](_0x4a27da,_0x5b2e3a){const _0x1572f3=_0x1ebd13,_0x182a40=_0x2630e4(this[_0x1572f3(0x14c)])[_0x1572f3(0x20c)][_0x1572f3(0x16d)],_0x2e94e2=this[_0x1572f3(0x1bc)](_0x4a27da,_0x1572f3(0x164),_0x182a40,0x6),_0x477186=this[_0x1572f3(0x1bc)](_0x5b2e3a,_0x1572f3(0x195),_0x182a40,0x6),_0x4d72a8=_0x4a27da[_0x1572f3(0x152)](-_0x2e94e2),_0x5c2827=_0x5b2e3a[_0x1572f3(0x152)](_0x477186);return{'start':_0x4d72a8,'end':_0x5c2827,'hasContentBefore':!_0x4d72a8[_0x1572f3(0x15e)],'hasContentAfter':!_0x5c2827[_0x1572f3(0x154)]};}[_0x1ebd13(0x1d2)](_0x4a4455){const _0x22d5b9=_0x1ebd13;_0x2630e4(this[_0x22d5b9(0x14c)])[_0x22d5b9(0x20c)][_0x22d5b9(0x1d6)](_0x23429c=>{const _0x36525d=_0x22d5b9;for(const _0x41ec96 of _0x4a4455){const _0xd0fa6b=''+Xt+_0x41ec96[_0x36525d(0x14a)]+':'+_0x41ec96[_0x36525d(0x1b7)]+'_'+_0x5a1824();this[_0x36525d(0x172)][_0x36525d(0x179)](_0xd0fa6b,{'id':_0xd0fa6b,'groupId':_0x41ec96[_0x36525d(0x1b7)],'type':_0x41ec96[_0x36525d(0x14a)],'text':_0x41ec96[_0x36525d(0x1ba)]}),_0x23429c[_0x36525d(0x18b)](_0xd0fa6b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x23429c[_0x36525d(0x1a9)](_0x41ec96[_0x36525d(0x17c)],_0x41ec96[_0x36525d(0x1e9)])});}});}[_0x1ebd13(0x1fd)](_0x2093c5,_0x47b778,_0x28f5a1){let _0x2bafe0='';return()=>{const _0x38fd63=_0x2553;if(!_0x2bafe0){const _0x45b5e9=_0x47b778[_0x38fd63(0x1f4)](_0x2093c5,{'showSuggestionHighlights':!0x0}),_0x50f233=_0x45b5e9[_0x38fd63(0x191)](0x0);if(!_0x50f233)return'';let _0x14ed07=!0x1;const _0x574c48=[];for(const _0x4c8f57 of _0x50f233[_0x38fd63(0x188)]())_0x4c8f57['is'](_0x38fd63(0x1ca),_0x38fd63(0x180))&&_0x4c8f57[_0x38fd63(0x17d)](_0x38fd63(0x165))&&(_0x14ed07=!0x1),_0x14ed07&&_0x574c48[_0x38fd63(0x206)](_0x4c8f57),_0x4c8f57['is'](_0x38fd63(0x1ca),_0x38fd63(0x180))&&_0x4c8f57[_0x38fd63(0x17d)](_0x38fd63(0x1cf))&&(_0x14ed07=!0x0);_0x50f233[_0x38fd63(0x20f)](0x0,_0x50f233[_0x38fd63(0x1af)]),_0x28f5a1?.[_0x38fd63(0x1b8)]&&_0x50f233[_0x38fd63(0x1ff)]('…'),_0x50f233[_0x38fd63(0x1ff)](_0x574c48),_0x28f5a1?.[_0x38fd63(0x1b4)]&&_0x50f233[_0x38fd63(0x1ff)]('…');const _0x226a1a=_0x47b778[_0x38fd63(0x189)][_0x38fd63(0x20e)][_0x38fd63(0x1a5)](_0x45b5e9),_0x301525=_0x47b778[_0x38fd63(0x189)][_0x38fd63(0x1fc)][_0x38fd63(0x14f)](_0x226a1a);_0x2bafe0=_0x301525;}return _0x2bafe0;};}[_0x1ebd13(0x15c)](_0x436179,_0x1a5563){const _0x5381c4=_0x1ebd13;let _0x2486cb='';return()=>(_0x2486cb||(_0x2486cb=_0x1a5563[_0x5381c4(0x1f8)](_0x436179,{'showSuggestionHighlights':!0x0})),_0x2486cb);}[_0x1ebd13(0x1b2)](_0x15ae5f,_0x167dca,_0x7c1ab9){let _0x9b5a46='';return()=>{const _0x5bb8ea=_0x2553;if(!_0x9b5a46){const _0x2d5026=_0x7c1ab9[_0x5bb8ea(0x1f4)](new _0x33550f(_0x15ae5f)),_0x2b5b1c=_0x7c1ab9[_0x5bb8ea(0x189)][_0x5bb8ea(0x20e)][_0x5bb8ea(0x1a5)](_0x2d5026)[_0x5bb8ea(0x159)](_0x5bb8ea(0x202)+_0x167dca+'\x22]');_0x9b5a46=_0x2b5b1c?.[_0x5bb8ea(0x1d1)]||'';}return _0x9b5a46;};}[_0x1ebd13(0x157)](_0x2f34cb){const _0x12b9da=_0x1ebd13;return Array[_0x12b9da(0x1a2)](this[_0x12b9da(0x172)][_0x12b9da(0x1d5)]())[_0x12b9da(0x1ee)](_0x964586=>_0x964586[_0x12b9da(0x1b7)]===_0x2f34cb);}[_0x1ebd13(0x160)](_0x37df4c){const _0x34a605=_0x1ebd13;return _0x34a605(0x18f)===_0x37df4c[_0x34a605(0x14a)]?_0x37df4c[_0x34a605(0x181)]:_0x37df4c[_0x34a605(0x17a)][_0x34a605(0x17c)];}[_0x1ebd13(0x1a8)](_0x47d924,_0x2570a5=!0x1){const _0x421507=_0x1ebd13;return _0x421507(0x18f)===_0x47d924[_0x421507(0x14a)]?_0x2570a5?_0x47d924[_0x421507(0x181)]:_0x47d924[_0x421507(0x181)][_0x421507(0x152)](_0x47d924[_0x421507(0x1b9)]):_0x47d924[_0x421507(0x17a)][_0x421507(0x1e9)];}[_0x1ebd13(0x1e7)](_0x5e655b,_0x2f1e4d){const _0x4d46ad=_0x1ebd13;return _0x4d46ad(0x18f)===_0x5e655b[_0x4d46ad(0x14a)]?_0x5e655b[_0x4d46ad(0x181)]=_0x5e655b[_0x4d46ad(0x181)][_0x4d46ad(0x152)](_0x2f1e4d):_0x4d46ad(0x163)===_0x5e655b[_0x4d46ad(0x14a)]&&_0x5e655b[_0x4d46ad(0x17a)]&&(_0x5e655b[_0x4d46ad(0x17a)]=new _0x2e17f0(_0x5e655b[_0x4d46ad(0x17a)][_0x4d46ad(0x17c)][_0x4d46ad(0x152)](_0x2f1e4d),_0x5e655b[_0x4d46ad(0x17a)][_0x4d46ad(0x1e9)][_0x4d46ad(0x152)](_0x2f1e4d))),_0x5e655b;}[_0x1ebd13(0x183)](_0xd61c41,_0x3284a4){const _0x98532=_0x1ebd13;_0x98532(0x18f)===_0xd61c41[_0x98532(0x14a)]?_0xd61c41[_0x98532(0x181)]=this[_0x98532(0x15d)](_0xd61c41[_0x98532(0x181)],_0x3284a4):_0x98532(0x163)===_0xd61c41[_0x98532(0x14a)]&&_0xd61c41[_0x98532(0x17a)]&&(_0xd61c41[_0x98532(0x17a)]=this[_0x98532(0x207)](_0xd61c41[_0x98532(0x17a)],_0x3284a4));}[_0x1ebd13(0x15d)](_0x4c8166,_0x861488){const _0xc203ca=_0x1ebd13;return new _0x9c055e(_0x861488,_0x4c8166[_0xc203ca(0x1c7)]);}[_0x1ebd13(0x207)](_0x5a178e,_0x2d38e9){const _0x5492c2=_0x1ebd13;return new _0x2e17f0(this[_0x5492c2(0x15d)](_0x5a178e[_0x5492c2(0x17c)],_0x2d38e9),this[_0x5492c2(0x15d)](_0x5a178e[_0x5492c2(0x1e9)],_0x2d38e9));}[_0x1ebd13(0x1b6)](_0x15c6b4,_0x4b67d9,_0x56f201){return new _0x9c055e(_0x56f201,[..._0x4b67d9]);}[_0x1ebd13(0x185)](_0x5c1049,_0x1d4a62,_0xce7073,_0x582a4e){const _0x1c9754=_0x1ebd13;return new _0x2e17f0(this[_0x1c9754(0x1b6)](_0x5c1049[_0x1c9754(0x17c)],_0x1d4a62,_0x582a4e),this[_0x1c9754(0x1b6)](_0x5c1049[_0x1c9754(0x1e9)],_0xce7073,_0x582a4e));}[_0x1ebd13(0x16e)](_0x186f25){const _0x6c69be=_0x1ebd13;let _0x361361=_0x186f25;for(;_0x361361[_0x6c69be(0x1b3)]&&!_0x361361[_0x6c69be(0x1b3)]['is'](_0x6c69be(0x208));)_0x361361=_0x361361[_0x6c69be(0x1b3)];return _0x361361;}}
23
+ const _0x3f8f65=_0x36ec;(function(_0x54ba12,_0x331321){const _0x2b6a0a=_0x36ec,_0x1d65a1=_0x54ba12();while(!![]){try{const _0x2bedc1=parseInt(_0x2b6a0a(0x1a2))/0x1*(parseInt(_0x2b6a0a(0x11c))/0x2)+parseInt(_0x2b6a0a(0x13e))/0x3+-parseInt(_0x2b6a0a(0x148))/0x4*(-parseInt(_0x2b6a0a(0x1a1))/0x5)+parseInt(_0x2b6a0a(0x19e))/0x6+-parseInt(_0x2b6a0a(0x1a6))/0x7+-parseInt(_0x2b6a0a(0x13b))/0x8*(-parseInt(_0x2b6a0a(0x120))/0x9)+-parseInt(_0x2b6a0a(0x18e))/0xa;if(_0x2bedc1===_0x331321)break;else _0x1d65a1['push'](_0x1d65a1['shift']());}catch(_0x515366){_0x1d65a1['push'](_0x1d65a1['shift']());}}}(_0x181f,0x8c7b1));import{InsertOperation as _0xadc1bc,MarkerOperation as _0x22fc1a,ModelDocumentFragment as _0x4a4399,ModelPosition as _0x3699d3,ModelRange as _0x5b06c2,ModelTreeWalker as _0x4d4f5c,transformOperationSets as _0x1e19e7}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x3f0977,EmitterMixin as _0x49eb6b}from'ckeditor5/src/utils.js';function _0x36ec(_0x21ec86,_0x2b8370){const _0x181fc8=_0x181f();return _0x36ec=function(_0x36eca7,_0x18897e){_0x36eca7=_0x36eca7-0x107;let _0x6cc509=_0x181fc8[_0x36eca7];return _0x6cc509;},_0x36ec(_0x21ec86,_0x2b8370);}import{ContextPlugin as _0x3d8352}from'ckeditor5/src/core.js';import{DocumentCompare as _0x39ec43,DATA_ID_MODEL_ATTRIBUTE as _0x2fdc57,DATA_ID_VIEW_ATTRIBUTE as _0x2d7abf}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x181f(){const _0x4e03ab=['schema','documentFragment','_markers','toDomElement','_changePositionOwnerDocument','baseVersion','offset','from','className','backward','clear','conversion','applyChange','_groupAdjacentOperations','view','type','click','$markedRemove','element','ck-ai_review-mode-marker_underline','caption','target','stringify','operationsIsolated','getMarkerElementForChange','marker','createDocumentFragment','keys','[data-id=\x22','hasContentBefore','switchToEdit','_nextDataId','ck-ai_review-mode-marker_hide','_changeOperationOwnerDocument','_findMarkerElement','outerHTML','_setAttribute','groupId','addMarker','getDocumentData','includes','suggestion-context','set','values','getRoots','for','jumpTo','getRange','concat','position','parent','$documentFragment','ck-ai_review-mode-marker_','createText','isOfficialPlugin','start','filter','index','getRoot','18098830lXIHbc','exec','isOpening','_findAdjacentContextDistance','affectsData','createPositionAt','applyOperation','getChild','data-marker-id','markerToHighlight','markChangePositionInEditorContent','nodes','editing','_sortMarkers','querySelector','_getMarkersDataForGroup','4680672FQOcOf','_changeRange','afterInit','5wfQEYL','2075PUxdyl','hasContentAfter','parentElement','AIEditing','4623318EYByiJ','ai-review-mode','pluginName','isTouching','toView','pop','downcast','context','getChildren','fire','getPath','suggestion:insertion:id:authorId:','every','ck-ai_review-mode-marker_context-start','_domEmitter','path','disableReadOnlyMode','getShiftedBy','length','plugins','isInline','sort','name','enableReadOnlyMode','change','forward','history','startsWith','delete','markers','suggestion:deletion:id:authorId:','diffContent','_getChangeContext','remove-text','getHtml','isAtEnd','_changeRangeOwnerDocument','remove-only','_getTopElement','_changePosition','dataDowncast','elements','split','htmlProcessor','ck-ai_review-mode-marker_add','deleteContent','viewToDom','offsetSize','newRange','markerToElement','isAtStart','processor','data','createUIElement','getDomRoot','htmlWriter','getOperations','_createGetContentUsingDataIdFn','howMany','model','flat','_clone','add','append','[data-marker-id=\x22','requires','get','AIReviewModeEditing','addOperation','end','insert','DocumentCompare','isPremiumPlugin','push','editingDowncast','batch','_insertMarkers','ellipsisAfter','hasClass','94pciQur','toData','_getOperationStart','_translateOperationToEditorContent','800730yAGtSj','getAttribute','remove-context','ck-ai_review-mode-marker_context-','createRawElement','oldRange','markerName','removeMarker','span','_removeChildren','emitter','operationsA','createSelection','ellipsisBefore','_shiftOperation','isDocumentOperation','rejectChange','switchToReadOnly','getDiff','$textProxy','reviewmode-','ck-ai_review-mode-marker_context-end','getContentElement','text','No\x20element\x20found\x20for\x20ID:\x20','_eventEmitter','warn','88wKaxLC','ck-ai_review-mode-marker_strikethrough','listenTo','3407910RGzdUH','childCount','version','attributeToAttribute','map','domConverter','parse','clone','document','clearAllMarkers','213956nfTSxd','innerHTML','createRange','_createGetContentFn','_createGetContextFn','model:$text','insertContent','createPositionAfter','_getOperationEnd','_appendChild','changeMarkerClick'];_0x181f=function(){return _0x4e03ab;};return _0x181f();}import{getEditorFromContext as _0x387c48}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x4a61fc}from'../aicore/aiediting.js';const Gt=_0x3f8f65(0x134);export class AIReviewModeEditing extends _0x3d8352{static get[_0x3f8f65(0x1a8)](){const _0x489dce=_0x3f8f65;return _0x489dce(0x110);}static get[_0x3f8f65(0x10e)](){return[_0x39ec43,_0x4a61fc];}static get[_0x3f8f65(0x189)](){return!0x0;}static get[_0x3f8f65(0x115)](){return!0x0;}[_0x3f8f65(0x155)]=new Map();[_0x3f8f65(0x1b4)];[_0x3f8f65(0x139)];constructor(_0x13d5f5){const _0x2e2a5c=_0x3f8f65;super(_0x13d5f5),this[_0x2e2a5c(0x1b4)]=new(_0x3f0977())(),this[_0x2e2a5c(0x139)]=new(_0x49eb6b())();}get[_0x3f8f65(0x12a)](){const _0xe7c2eb=_0x3f8f65;return this[_0xe7c2eb(0x139)];}[_0x3f8f65(0x1a0)](){const _0x422960=_0x3f8f65,_0x3bf3c6=_0x387c48(this[_0x422960(0x1ad)]);_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x117))[_0x422960(0x1d7)]({'model':Gt+_0x422960(0x113),'view':(_0x36e24e,{writer:_0x26ab6f})=>{const _0x51b97c=_0x422960,_0x38c8b7=this[_0x51b97c(0x155)][_0x51b97c(0x10f)](_0x36e24e[_0x51b97c(0x126)]),_0xb25717={'class':_0x51b97c(0x1d2),'data-marker-id':_0x36e24e[_0x51b97c(0x126)]};return _0x26ab6f[_0x51b97c(0x1db)](_0x51b97c(0x128),_0xb25717,function(_0x22fc42){const _0x4f5004=_0x51b97c,_0x5715e2=this[_0x4f5004(0x156)](_0x22fc42);return _0x5715e2[_0x4f5004(0x149)]=_0x38c8b7?.[_0x4f5004(0x137)]||'',_0x5715e2;});}}),_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x117))[_0x422960(0x197)]({'model':Gt+_0x422960(0x1cb),'view':_0x58c5e8=>({'classes':_0x422960(0x13c),'attributes':{'data-marker-id':_0x58c5e8[_0x422960(0x126)]}})}),_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x117))[_0x422960(0x197)]({'model':Gt+_0x422960(0x122),'view':_0x464cf5=>({'classes':_0x422960(0x166),'attributes':{'data-marker-id':_0x464cf5[_0x422960(0x126)]}})}),_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x117))[_0x422960(0x197)]({'model':Gt+_0x422960(0x1c7),'view':_0x61728b=>({'classes':_0x422960(0x173),'attributes':{'data-marker-id':_0x61728b[_0x422960(0x126)]}})}),_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x1ce))[_0x422960(0x1d7)]({'model':Gt+_0x422960(0x17c),'view':(_0x4299e3,{writer:_0x318e91})=>_0x318e91[_0x422960(0x124)](_0x422960(0x128),{'class':_0x422960(0x123)+(_0x4299e3[_0x422960(0x190)]?_0x422960(0x18a):_0x422960(0x112))})}),_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x1ac))[_0x422960(0x141)]({'model':_0x2fdc57,'view':_0x2d7abf}),this[_0x422960(0x1b4)][_0x422960(0x13d)](document,_0x422960(0x163),(_0xff6d84,_0x15d8b5)=>{const _0x32b230=_0x422960,_0x2cd82f=_0x15d8b5[_0x32b230(0x168)],_0x2c88ba=this[_0x32b230(0x175)](_0x2cd82f);if(!_0x2c88ba)return;const _0x3408c9=_0x2c88ba[_0x32b230(0x121)](_0x32b230(0x196)),_0x4eb02c=_0x3408c9[_0x32b230(0x1d0)](':')[_0x32b230(0x1ab)]()?.[_0x32b230(0x1d0)]('_')[0x0];this[_0x32b230(0x139)][_0x32b230(0x1af)](_0x32b230(0x152),{'markerId':_0x3408c9,'changeId':_0x4eb02c});});}[_0x3f8f65(0x17a)](){const _0x556b21=_0x3f8f65,_0x1bce9b=this[_0x556b21(0x1ad)][_0x556b21(0x1b9)][_0x556b21(0x10f)](_0x556b21(0x1a5)),_0x1f06ec=_0x387c48(this[_0x556b21(0x1ad)]),_0x34ddf0=_0x1f06ec[_0x556b21(0x108)],_0x4d129c=new _0x4a4399();for(const _0x2f21d0 of _0x34ddf0[_0x556b21(0x146)][_0x556b21(0x18d)]()[_0x556b21(0x1ae)]()){const _0x83fc9c=_0x2f21d0[_0x556b21(0x10a)](!0x0);_0x4d129c[_0x556b21(0x151)](_0x83fc9c);}for(const _0x1a681f of _0x34ddf0[_0x556b21(0x1c3)])_0x4d129c[_0x556b21(0x1c3)][_0x556b21(0x17d)](_0x1a681f[_0x556b21(0x1bc)],this[_0x556b21(0x1ca)](_0x1a681f[_0x556b21(0x182)]()[_0x556b21(0x145)](),_0x4d129c));const _0x8bb20c=new _0x4d4f5c({'ignoreElementEnd':!0x0,'startPosition':_0x34ddf0[_0x556b21(0x193)](_0x4d129c,0x0)}),_0x464c8c=new Set(),_0x3beb07=new Map();for(const {item:_0x573986}of _0x8bb20c){if(!_0x573986['is'](_0x556b21(0x133)))continue;const _0x26f9a8=_0x573986[_0x556b21(0x185)];if((!_0x26f9a8||!_0x26f9a8['is'](_0x556b21(0x165),_0x556b21(0x167)))&&(_0x26f9a8&&_0x26f9a8['is'](_0x556b21(0x165)))){let _0x4f6552=_0x26f9a8[_0x556b21(0x121)](_0x2fdc57);_0x4f6552||(_0x4f6552=_0x1bce9b[_0x556b21(0x172)](_0x464c8c),_0x26f9a8[_0x556b21(0x177)](_0x2fdc57,_0x4f6552)),_0x464c8c[_0x556b21(0x10b)](_0x4f6552);const _0x3568c2=this[_0x556b21(0x1cc)](_0x26f9a8);_0x3beb07[_0x556b21(0x17d)](_0x4f6552,{'path':_0x26f9a8[_0x556b21(0x1b0)](),'getContent':this[_0x556b21(0x1df)](_0x3568c2[_0x556b21(0x10a)](!0x0),_0x4f6552,_0x1f06ec[_0x556b21(0x1da)])}),_0x8bb20c[_0x556b21(0x181)](_0x34ddf0[_0x556b21(0x14f)](_0x26f9a8));}}return{'content':_0x1f06ec[_0x556b21(0x1da)][_0x556b21(0x1d9)][_0x556b21(0x11d)](_0x1f06ec[_0x556b21(0x1da)][_0x556b21(0x1aa)](_0x4d129c)),'version':_0x1f06ec[_0x556b21(0x108)][_0x556b21(0x146)][_0x556b21(0x140)],'elements':_0x3beb07};}[_0x3f8f65(0x1c5)](_0x339a69,_0x56fdf4){const _0x159d55=_0x3f8f65,_0x48095c=_0x387c48(this[_0x159d55(0x1ad)]),_0x399f14=_0x48095c[_0x159d55(0x1da)][_0x159d55(0x144)](_0x339a69,_0x159d55(0x186)),_0x26867a=_0x48095c[_0x159d55(0x108)][_0x159d55(0x193)](_0x399f14,0x0),_0x1bd3f7=this[_0x159d55(0x1ad)][_0x159d55(0x1b9)][_0x159d55(0x10f)](_0x159d55(0x114))[_0x159d55(0x132)](_0x339a69,_0x56fdf4,{'anchor':_0x26867a,'markDeletions':!0x0})[_0x159d55(0x1de)]()[_0x159d55(0x18b)](_0x19c3db=>_0x159d55(0x113)===_0x19c3db[_0x159d55(0x162)]||_0x159d55(0x16c)===_0x19c3db[_0x159d55(0x162)]&&_0x19c3db[_0x159d55(0x1bc)][_0x159d55(0x1c1)](_0x159d55(0x164))),_0x1019a7=this[_0x159d55(0x160)](_0x1bd3f7),_0x3cec51=[];let _0x4d0694=0x0;return _0x48095c[_0x159d55(0x108)][_0x159d55(0x1be)](_0x253fc9=>{const _0x1cad94=_0x159d55;for(let _0x91fa37=0x0;_0x91fa37<_0x1019a7[_0x1cad94(0x1b8)];_0x91fa37++){const _0xe01c23=_0x1019a7[_0x91fa37],_0x1d4b3c=_0x253fc9[_0x1cad94(0x16d)]();for(const _0x403584 of _0x399f14[_0x1cad94(0x1ae)]())_0x253fc9[_0x1cad94(0x10c)](_0x403584[_0x1cad94(0x10a)](!0x0),_0x1d4b3c);for(const _0x1885a7 of _0xe01c23[_0x1cad94(0x16a)])if(_0x1cad94(0x113)===_0x1885a7[_0x1cad94(0x162)]){const _0x51f2e8=_0x1885a7;_0x51f2e8[_0x1cad94(0x158)]=null,_0x51f2e8[_0x1cad94(0x12f)]=!0x1,this[_0x1cad94(0x174)](_0x51f2e8,_0x1d4b3c),_0x253fc9[_0x1cad94(0x118)][_0x1cad94(0x111)](_0x1885a7),_0x48095c[_0x1cad94(0x108)][_0x1cad94(0x194)](_0x1885a7);const _0xc63ad=_0x1cad94(0x1b1)+_0x4d0694++,_0x4715ba=_0x48095c[_0x1cad94(0x108)][_0x1cad94(0x14a)](_0x51f2e8[_0x1cad94(0x184)],_0x51f2e8[_0x1cad94(0x184)][_0x1cad94(0x1b7)](_0x51f2e8[_0x1cad94(0x107)]));_0x1d4b3c[_0x1cad94(0x1c3)][_0x1cad94(0x17d)](_0xc63ad,_0x4715ba);}else{if(_0x1cad94(0x16c)===_0x1885a7[_0x1cad94(0x162)]&&_0x1885a7[_0x1cad94(0x1bc)][_0x1cad94(0x1c1)](_0x1cad94(0x164))){const _0x3b88cb=_0x1885a7,_0x271199=_0x1cad94(0x1c4)+_0x4d0694++;this[_0x1cad94(0x174)](_0x3b88cb,_0x1d4b3c),_0x1d4b3c[_0x1cad94(0x1c3)][_0x1cad94(0x17d)](_0x271199,_0x3b88cb[_0x1cad94(0x1d6)]);}}const _0x229f2e=this[_0x1cad94(0x1c6)](this[_0x1cad94(0x157)](this[_0x1cad94(0x11e)](_0xe01c23[_0x1cad94(0x16a)][0x0]),_0x1d4b3c),this[_0x1cad94(0x157)](this[_0x1cad94(0x150)](_0xe01c23[_0x1cad94(0x16a)][_0xe01c23[_0x1cad94(0x16a)][_0x1cad94(0x1b8)]-0x1]),_0x1d4b3c));_0x1d4b3c[_0x1cad94(0x1c3)][_0x1cad94(0x17d)](Gt+_0x1cad94(0x17c),new _0x5b06c2(_0x229f2e[_0x1cad94(0x18a)],_0x229f2e[_0x1cad94(0x112)])),_0x3cec51[_0x1cad94(0x116)]({..._0xe01c23,'context':this[_0x1cad94(0x14c)](_0x1d4b3c,_0x48095c[_0x1cad94(0x1da)],{'ellipsisBefore':_0x229f2e[_0x1cad94(0x170)],'ellipsisAfter':_0x229f2e[_0x1cad94(0x1a3)]}),'content':this[_0x1cad94(0x14b)](_0x1d4b3c,_0x48095c[_0x1cad94(0x1da)])});}}),_0x3cec51;}[_0x3f8f65(0x198)](_0x2b1d6f,_0x30acc2){const _0x35fb90=_0x3f8f65,_0x474236=_0x2b1d6f[0x0][_0x35fb90(0x185)]['id'],_0x5d5a8e=_0x30acc2[_0x35fb90(0x1cf)][_0x35fb90(0x10f)](_0x474236);if(!_0x5d5a8e)return void console[_0x35fb90(0x13a)](_0x35fb90(0x138)+_0x474236);const _0x41cbc8=_0x5d5a8e[_0x35fb90(0x1b5)],_0x3f37a5=_0x387c48(this[_0x35fb90(0x1ad)]),_0x43905e=_0x3f37a5[_0x35fb90(0x108)][_0x35fb90(0x146)][_0x35fb90(0x1c0)][_0x35fb90(0x1de)](_0x30acc2[_0x35fb90(0x140)]),_0x443acd=[];for(const _0x3f7d22 of _0x2b1d6f){const _0x443ad8=_0x3f7d22[_0x35fb90(0x16a)][_0x35fb90(0x142)](_0x4c4b19=>this[_0x35fb90(0x11f)](_0x4c4b19,_0x41cbc8,_0x3f37a5[_0x35fb90(0x108)][_0x35fb90(0x146)][_0x35fb90(0x17f)]()[0x0]));if(!_0x443ad8||!_0x443ad8[_0x35fb90(0x1b8)])continue;const _0x3f9ead=_0x443ad8[_0x35fb90(0x1b2)](_0x3b5cdb=>_0x35fb90(0x16c)===_0x3b5cdb[_0x35fb90(0x162)]&&_0x3b5cdb[_0x35fb90(0x1bc)][_0x35fb90(0x1c1)](_0x35fb90(0x164))),_0x1a3596={'document':_0x3f37a5[_0x35fb90(0x108)][_0x35fb90(0x146)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4c8fe0=_0x1e19e7(_0x443ad8,_0x43905e,_0x1a3596)[_0x35fb90(0x12b)];for(const _0x55341f of _0x4c8fe0)if(_0x35fb90(0x113)===_0x55341f[_0x35fb90(0x162)]){const _0xf7e8a1=_0x55341f,_0x1d4393=_0xf7e8a1[_0x35fb90(0x199)];let _0x5e0ae3='';for(const _0x3a8a97 of _0x1d4393)_0x3a8a97&&_0x3a8a97['is'](_0x35fb90(0x14d))&&(_0x5e0ae3+=_0x3a8a97[_0x35fb90(0x1da)]);_0x443acd[_0x35fb90(0x116)]({'start':_0xf7e8a1[_0x35fb90(0x184)],'end':_0xf7e8a1[_0x35fb90(0x184)],'type':_0x35fb90(0x113),'groupId':_0x3f7d22['id'],'text':_0x5e0ae3});}else{if(_0x35fb90(0x16c)===_0x55341f[_0x35fb90(0x162)]&&_0x55341f[_0x35fb90(0x1bc)][_0x35fb90(0x1c1)](_0x35fb90(0x164))){const _0x51155e=_0x55341f;let _0xf33655=_0x35fb90(0x1c7);if(_0x3f9ead){const _0x1e42ff=this[_0x35fb90(0x191)](_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x18a)],_0x35fb90(0x15c),_0x3f37a5[_0x35fb90(0x108)][_0x35fb90(0x153)]),_0x3c6414=this[_0x35fb90(0x191)](_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x112)],_0x35fb90(0x1bf),_0x3f37a5[_0x35fb90(0x108)][_0x35fb90(0x153)]);if(_0x1e42ff||_0x3c6414){const _0x1fdfdd=_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x18a)][_0x35fb90(0x1b7)](-_0x1e42ff),_0x24ae49=_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x112)][_0x35fb90(0x1b7)](_0x3c6414);_0x443acd[_0x35fb90(0x116)]({'start':_0x1fdfdd,'end':_0x24ae49,'groupId':_0x3f7d22['id'],'type':_0x35fb90(0x122)});}else _0xf33655=_0x35fb90(0x1cb);}_0x443acd[_0x35fb90(0x116)]({'start':_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x18a)],'end':_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x112)],'groupId':_0x3f7d22['id'],'type':_0xf33655});}}}this[_0x35fb90(0x119)](_0x443acd);}[_0x3f8f65(0x147)](){const _0x4e584c=_0x3f8f65;_0x387c48(this[_0x4e584c(0x1ad)])[_0x4e584c(0x108)][_0x4e584c(0x1be)](_0x3bb1da=>{const _0x3f99a0=_0x4e584c;for(const _0x39e2c8 of this[_0x3f99a0(0x155)][_0x3f99a0(0x16e)]())_0x3bb1da[_0x3f99a0(0x127)](_0x39e2c8);}),this[_0x4e584c(0x155)][_0x4e584c(0x15d)]();}[_0x3f8f65(0x131)](){const _0x393c32=_0x3f8f65;_0x387c48(this[_0x393c32(0x1ad)])[_0x393c32(0x1bd)](_0x393c32(0x1a7));}[_0x3f8f65(0x171)](){const _0x528a35=_0x3f8f65;_0x387c48(this[_0x528a35(0x1ad)])[_0x528a35(0x1b6)](_0x528a35(0x1a7));}[_0x3f8f65(0x15f)](_0x279a91){const _0x4afd71=_0x3f8f65,_0x416596=_0x387c48(this[_0x4afd71(0x1ad)]),_0x154d79=_0x416596[_0x4afd71(0x108)],_0x120a08=_0x279a91[_0x4afd71(0x142)](_0x32675d=>this[_0x4afd71(0x19d)](_0x32675d))[_0x4afd71(0x109)]();_0x154d79[_0x4afd71(0x1be)](_0x2eaf7e=>{const _0x55c91c=_0x4afd71;for(const _0x297929 of _0x120a08){const _0x472bad=_0x416596[_0x55c91c(0x108)][_0x55c91c(0x1c3)][_0x55c91c(0x10f)](_0x297929['id']);_0x472bad&&(_0x55c91c(0x113)===_0x297929[_0x55c91c(0x162)]?_0x154d79[_0x55c91c(0x14e)](_0x2eaf7e[_0x55c91c(0x188)](_0x297929[_0x55c91c(0x137)]||''),_0x472bad[_0x55c91c(0x182)]()[_0x55c91c(0x18a)]):_0x55c91c(0x1c7)!==_0x297929[_0x55c91c(0x162)]&&_0x55c91c(0x1cb)!==_0x297929[_0x55c91c(0x162)]||_0x154d79[_0x55c91c(0x1d3)](_0x154d79[_0x55c91c(0x12c)](_0x472bad[_0x55c91c(0x182)]())),_0x2eaf7e[_0x55c91c(0x127)](_0x297929['id']),this[_0x55c91c(0x155)][_0x55c91c(0x1c2)](_0x297929['id']));}});}[_0x3f8f65(0x130)](_0x31d98f){const _0x3bf015=_0x3f8f65,_0x389b4e=_0x387c48(this[_0x3bf015(0x1ad)]),_0x2927ac=this[_0x3bf015(0x19d)](_0x31d98f);_0x389b4e[_0x3bf015(0x108)][_0x3bf015(0x1be)](_0x3cbd5b=>{const _0xc4bfe7=_0x3bf015;for(const _0x3ab039 of _0x2927ac)_0x3cbd5b[_0xc4bfe7(0x127)](_0x3ab039['id']),this[_0xc4bfe7(0x155)][_0xc4bfe7(0x1c2)](_0x3ab039['id']);});}[_0x3f8f65(0x136)](){const _0x178ac6=_0x3f8f65,_0xcf5f14=_0x387c48(this[_0x178ac6(0x1ad)]);return _0xcf5f14&&_0xcf5f14['ui']&&_0xcf5f14['ui'][_0x178ac6(0x165)]?_0xcf5f14['ui'][_0x178ac6(0x165)]:null;}[_0x3f8f65(0x16b)](_0x45a7bc){const _0xfc8061=_0x3f8f65,_0x2d070c=Array[_0xfc8061(0x15a)](this[_0xfc8061(0x155)][_0xfc8061(0x17e)]())[_0xfc8061(0x18b)](_0xd9c6c5=>_0xd9c6c5[_0xfc8061(0x178)]===_0x45a7bc);if(!_0x2d070c[_0xfc8061(0x1b8)])return null;const _0xc3ed5c=0x1===_0x2d070c[_0xfc8061(0x1b8)]?_0x2d070c[0x0]:this[_0xfc8061(0x19b)](_0x2d070c)[0x0],_0xd2d62f=_0x387c48(this[_0xfc8061(0x1ad)]),_0x399900=_0xd2d62f[_0xfc8061(0x108)][_0xfc8061(0x1c3)][_0xfc8061(0x10f)](_0xc3ed5c['id']);if(!_0x399900)return null;const _0x4a6eeb=_0x399900[_0xfc8061(0x182)](),_0x58ea25=_0xd2d62f[_0xfc8061(0x19a)][_0xfc8061(0x161)][_0xfc8061(0x1dc)]();if(!_0x58ea25||!_0x4a6eeb)return null;const _0x6823ad=_0x58ea25[_0xfc8061(0x19c)](_0xfc8061(0x10d)+_0xc3ed5c['id']+'\x22]');return _0x6823ad?{'modelRange':_0x4a6eeb,'domElement':_0x6823ad}:null;}[_0x3f8f65(0x11f)](_0xb90517,_0x34f793,_0x562a72){const _0x65de4b=_0x3f8f65;if(_0x65de4b(0x113)===_0xb90517[_0x65de4b(0x162)]){const _0x511cb0=_0xb90517;return new _0xadc1bc(this[_0x65de4b(0x1cd)](_0x511cb0[_0x65de4b(0x184)],_0x34f793[_0x65de4b(0x183)](_0x511cb0[_0x65de4b(0x184)][_0x65de4b(0x159)]),_0x562a72),_0x511cb0[_0x65de4b(0x199)],_0x511cb0[_0x65de4b(0x158)]);}if(_0x65de4b(0x16c)===_0xb90517[_0x65de4b(0x162)]&&_0xb90517[_0x65de4b(0x1bc)][_0x65de4b(0x1c1)](_0x65de4b(0x164))){const _0x12bad7=_0xb90517;return new _0x22fc1a(_0x12bad7[_0x65de4b(0x1bc)],_0x12bad7[_0x65de4b(0x125)],this[_0x65de4b(0x19f)](_0x12bad7[_0x65de4b(0x1d6)],_0x34f793[_0x65de4b(0x183)](_0x12bad7[_0x65de4b(0x1d6)][_0x65de4b(0x18a)][_0x65de4b(0x159)]),_0x34f793[_0x65de4b(0x183)](_0x12bad7[_0x65de4b(0x1d6)][_0x65de4b(0x112)][_0x65de4b(0x159)]),_0x562a72),_0x12bad7[_0x65de4b(0x155)],_0x12bad7[_0x65de4b(0x192)],_0x12bad7[_0x65de4b(0x158)]);}return _0xb90517;}[_0x3f8f65(0x160)](_0x1b0e1f){const _0x53e92d=_0x3f8f65;if(!_0x1b0e1f[_0x53e92d(0x1b8)])return[];const _0x1d0cd6=[];let _0x30dda7=0x0,_0x1d28d1=0x0,_0x568d39=[];for(let _0x504244=0x0;_0x504244<=_0x1b0e1f[_0x53e92d(0x1b8)];_0x504244++){const _0x4be984=_0x1b0e1f[_0x504244],_0x755875=_0x1b0e1f[_0x504244-0x1];!_0x4be984||_0x755875&&!this[_0x53e92d(0x150)](_0x755875)[_0x53e92d(0x1a9)](this[_0x53e92d(0x11e)](_0x4be984))?(_0x1d0cd6[_0x53e92d(0x116)]({'operations':_0x568d39,'operationsIsolated':_0x568d39[_0x53e92d(0x142)](_0x5e131b=>this[_0x53e92d(0x12e)](_0x5e131b[_0x53e92d(0x145)](),-_0x1d28d1)),'groupOffset':_0x30dda7}),_0x568d39=_0x4be984?[_0x4be984]:[],_0x1d28d1+=_0x30dda7,_0x30dda7=0x0):_0x568d39[_0x53e92d(0x116)](_0x4be984),_0x4be984&&_0x53e92d(0x113)===_0x4be984[_0x53e92d(0x162)]&&(_0x30dda7+=_0x4be984[_0x53e92d(0x107)]);}return _0x1d0cd6;}[_0x3f8f65(0x191)](_0x3be0fd,_0x39f346,_0x23b2cc,_0x136971=0x1){const _0x5bf6ae=_0x3f8f65,_0x2da8b7=new _0x4d4f5c({'startPosition':_0x3be0fd,'direction':_0x39f346});let _0x10fd07=0x0;for(let _0x108736=0x0;_0x108736<_0x136971;_0x108736++){let _0x7b8718=0x0,_0x3d9521=!0x1,_0xc79b98=_0x5bf6ae(0x1bf)===_0x39f346?/^\W*\w+/:/\w+\W*$/;for(const {item:_0xe13105}of _0x2da8b7)if(_0xe13105['is'](_0x5bf6ae(0x133))){const _0x4586ab=_0xc79b98[_0x5bf6ae(0x18f)](_0xe13105[_0x5bf6ae(0x1da)]);if(_0x4586ab&&_0x4586ab[_0x5bf6ae(0x1b8)]){if(_0x7b8718+=_0x5bf6ae(0x1bf)===_0x39f346?_0x4586ab[_0x5bf6ae(0x18c)]+_0x4586ab[0x0][_0x5bf6ae(0x1b8)]:_0xe13105[_0x5bf6ae(0x1da)][_0x5bf6ae(0x1b8)]-_0x4586ab[_0x5bf6ae(0x18c)],_0x4586ab[0x0][_0x5bf6ae(0x1b8)]!==_0xe13105[_0x5bf6ae(0x1da)][_0x5bf6ae(0x1b8)])break;_0x3d9521=!0x0,_0xc79b98=_0x5bf6ae(0x1bf)===_0x39f346?/^\w+/:/\w+$/;}else{if(_0x3d9521)break;_0x7b8718+=_0xe13105[_0x5bf6ae(0x1d5)];}}else{if(_0xe13105['is'](_0x5bf6ae(0x165))){_0x23b2cc[_0x5bf6ae(0x1ba)](_0xe13105)&&!_0x3d9521&&(_0x7b8718+=0x1);break;}}_0x10fd07+=_0x7b8718,_0x2da8b7[_0x5bf6ae(0x181)](_0x3be0fd[_0x5bf6ae(0x1b7)](_0x5bf6ae(0x1bf)===_0x39f346?_0x10fd07:-_0x10fd07));}return _0x10fd07;}[_0x3f8f65(0x1c6)](_0x8e085c,_0x2dadfa){const _0x3f4c28=_0x3f8f65,_0x3b206d=_0x387c48(this[_0x3f4c28(0x1ad)])[_0x3f4c28(0x108)][_0x3f4c28(0x153)],_0x2c1c01=this[_0x3f4c28(0x191)](_0x8e085c,_0x3f4c28(0x15c),_0x3b206d,0x6),_0x5b5d66=this[_0x3f4c28(0x191)](_0x2dadfa,_0x3f4c28(0x1bf),_0x3b206d,0x6),_0x52b256=_0x8e085c[_0x3f4c28(0x1b7)](-_0x2c1c01),_0x5712bb=_0x2dadfa[_0x3f4c28(0x1b7)](_0x5b5d66);return{'start':_0x52b256,'end':_0x5712bb,'hasContentBefore':!_0x52b256[_0x3f4c28(0x1d8)],'hasContentAfter':!_0x5712bb[_0x3f4c28(0x1c9)]};}[_0x3f8f65(0x119)](_0x5c9da5){const _0x34688f=_0x3f8f65,_0x1ae975=this[_0x34688f(0x1ad)][_0x34688f(0x1b9)][_0x34688f(0x10f)](_0x34688f(0x1a5)),_0x324ff7=new Set();_0x387c48(this[_0x34688f(0x1ad)])[_0x34688f(0x108)][_0x34688f(0x1be)](_0x2c11ac=>{const _0x2c8d60=_0x34688f;for(const _0x205a54 of _0x5c9da5){const _0x36cbae=''+Gt+_0x205a54[_0x2c8d60(0x162)]+':'+_0x205a54[_0x2c8d60(0x178)]+'_'+_0x1ae975[_0x2c8d60(0x172)](_0x324ff7);this[_0x2c8d60(0x155)][_0x2c8d60(0x17d)](_0x36cbae,{'id':_0x36cbae,'groupId':_0x205a54[_0x2c8d60(0x178)],'type':_0x205a54[_0x2c8d60(0x162)],'text':_0x205a54[_0x2c8d60(0x137)]}),_0x2c11ac[_0x2c8d60(0x179)](_0x36cbae,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2c11ac[_0x2c8d60(0x14a)](_0x205a54[_0x2c8d60(0x18a)],_0x205a54[_0x2c8d60(0x112)])});}});}[_0x3f8f65(0x14c)](_0x1a6dbc,_0x1ba692,_0xad613a){let _0x5cf59a='';return()=>{const _0x2d500d=_0x36ec;if(!_0x5cf59a){const _0x44df88=_0x1ba692[_0x2d500d(0x1aa)](_0x1a6dbc,{'showSuggestionHighlights':!0x0}),_0x2e3554=_0x44df88[_0x2d500d(0x195)](0x0);if(!_0x2e3554)return'';let _0x2c4b63=!0x1;const _0x190cfd=[];for(const _0x5444ca of _0x2e3554[_0x2d500d(0x1ae)]())_0x5444ca['is'](_0x2d500d(0x165),_0x2d500d(0x128))&&_0x5444ca[_0x2d500d(0x11b)](_0x2d500d(0x135))&&(_0x2c4b63=!0x1),_0x2c4b63&&_0x190cfd[_0x2d500d(0x116)](_0x5444ca),_0x5444ca['is'](_0x2d500d(0x165),_0x2d500d(0x128))&&_0x5444ca[_0x2d500d(0x11b)](_0x2d500d(0x1b3))&&(_0x2c4b63=!0x0);_0x2e3554[_0x2d500d(0x129)](0x0,_0x2e3554[_0x2d500d(0x13f)]),_0xad613a?.[_0x2d500d(0x12d)]&&_0x2e3554[_0x2d500d(0x151)]('…'),_0x2e3554[_0x2d500d(0x151)](_0x190cfd),_0xad613a?.[_0x2d500d(0x11a)]&&_0x2e3554[_0x2d500d(0x151)]('…');const _0x293104=_0x1ba692[_0x2d500d(0x1d1)][_0x2d500d(0x143)][_0x2d500d(0x1d4)](_0x44df88),_0x1e0c15=_0x1ba692[_0x2d500d(0x1d1)][_0x2d500d(0x1dd)][_0x2d500d(0x1c8)](_0x293104);_0x5cf59a=_0x1e0c15;}return _0x5cf59a;};}[_0x3f8f65(0x14b)](_0x2240f4,_0x1d5d77){const _0x3fd754=_0x3f8f65;let _0x3b6ef8='';return()=>(_0x3b6ef8||(_0x3b6ef8=_0x1d5d77[_0x3fd754(0x169)](_0x2240f4,{'showSuggestionHighlights':!0x0})),_0x3b6ef8);}[_0x3f8f65(0x1df)](_0x571ea1,_0x315ca1,_0x548686){let _0x1530d7='';return()=>{const _0xecff4e=_0x36ec;if(!_0x1530d7){const _0x99afd1=_0x548686[_0xecff4e(0x1aa)](new _0x4a4399(_0x571ea1)),_0x236e1a=_0x548686[_0xecff4e(0x1d1)][_0xecff4e(0x143)][_0xecff4e(0x1d4)](_0x99afd1)[_0xecff4e(0x19c)](_0xecff4e(0x16f)+_0x315ca1+'\x22]');_0x1530d7=_0x236e1a?.[_0xecff4e(0x176)]||'';}return _0x1530d7;};}[_0x3f8f65(0x175)](_0x1af99e,_0x6ba2ff=0x5){const _0x449c34=_0x3f8f65;let _0x53b41e=_0x1af99e,_0x1ff4c0=null;for(let _0x2c1a65=0x0;_0x2c1a65<_0x6ba2ff&&_0x53b41e;_0x2c1a65++){if(!_0x53b41e[_0x449c34(0x15b)]){_0x53b41e=_0x53b41e[_0x449c34(0x1a4)];continue;}if(!(''+_0x53b41e[_0x449c34(0x15b)])[_0x449c34(0x17b)](_0x449c34(0x187))){_0x53b41e=_0x53b41e[_0x449c34(0x1a4)];continue;}if(!_0x53b41e[_0x449c34(0x121)](_0x449c34(0x196)))break;_0x1ff4c0=_0x53b41e;break;}return _0x1ff4c0;}[_0x3f8f65(0x19d)](_0x1d12e0){const _0x511db7=_0x3f8f65;return Array[_0x511db7(0x15a)](this[_0x511db7(0x155)][_0x511db7(0x17e)]())[_0x511db7(0x18b)](_0x23d40f=>_0x23d40f[_0x511db7(0x178)]===_0x1d12e0);}[_0x3f8f65(0x11e)](_0x53a657){const _0x222bda=_0x3f8f65;return _0x222bda(0x113)===_0x53a657[_0x222bda(0x162)]?_0x53a657[_0x222bda(0x184)]:_0x53a657[_0x222bda(0x1d6)][_0x222bda(0x18a)];}[_0x3f8f65(0x150)](_0x5a1a6e,_0x266f43=!0x1){const _0x3730f2=_0x3f8f65;return _0x3730f2(0x113)===_0x5a1a6e[_0x3730f2(0x162)]?_0x266f43?_0x5a1a6e[_0x3730f2(0x184)]:_0x5a1a6e[_0x3730f2(0x184)][_0x3730f2(0x1b7)](_0x5a1a6e[_0x3730f2(0x107)]):_0x5a1a6e[_0x3730f2(0x1d6)][_0x3730f2(0x112)];}[_0x3f8f65(0x12e)](_0x3d857a,_0x46fca1){const _0x2ef606=_0x3f8f65;return _0x2ef606(0x113)===_0x3d857a[_0x2ef606(0x162)]?_0x3d857a[_0x2ef606(0x184)]=_0x3d857a[_0x2ef606(0x184)][_0x2ef606(0x1b7)](_0x46fca1):_0x2ef606(0x16c)===_0x3d857a[_0x2ef606(0x162)]&&_0x3d857a[_0x2ef606(0x1d6)]&&(_0x3d857a[_0x2ef606(0x1d6)]=new _0x5b06c2(_0x3d857a[_0x2ef606(0x1d6)][_0x2ef606(0x18a)][_0x2ef606(0x1b7)](_0x46fca1),_0x3d857a[_0x2ef606(0x1d6)][_0x2ef606(0x112)][_0x2ef606(0x1b7)](_0x46fca1))),_0x3d857a;}[_0x3f8f65(0x174)](_0x5cef88,_0x45e244){const _0x3791e1=_0x3f8f65;_0x3791e1(0x113)===_0x5cef88[_0x3791e1(0x162)]?_0x5cef88[_0x3791e1(0x184)]=this[_0x3791e1(0x157)](_0x5cef88[_0x3791e1(0x184)],_0x45e244):_0x3791e1(0x16c)===_0x5cef88[_0x3791e1(0x162)]&&_0x5cef88[_0x3791e1(0x1d6)]&&(_0x5cef88[_0x3791e1(0x1d6)]=this[_0x3791e1(0x1ca)](_0x5cef88[_0x3791e1(0x1d6)],_0x45e244));}[_0x3f8f65(0x157)](_0x22b046,_0x14d01a){const _0x217aa1=_0x3f8f65;return new _0x3699d3(_0x14d01a,_0x22b046[_0x217aa1(0x1b5)]);}[_0x3f8f65(0x1ca)](_0x5c9e01,_0x3587bc){const _0x2fd060=_0x3f8f65;return new _0x5b06c2(this[_0x2fd060(0x157)](_0x5c9e01[_0x2fd060(0x18a)],_0x3587bc),this[_0x2fd060(0x157)](_0x5c9e01[_0x2fd060(0x112)],_0x3587bc));}[_0x3f8f65(0x1cd)](_0xef11bd,_0x5224e7,_0x1f165c){return new _0x3699d3(_0x1f165c,[..._0x5224e7]);}[_0x3f8f65(0x19f)](_0x2f8695,_0x492aa5,_0x36358f,_0x29ed9e){const _0x220f6d=_0x3f8f65;return new _0x5b06c2(this[_0x220f6d(0x1cd)](_0x2f8695[_0x220f6d(0x18a)],_0x492aa5,_0x29ed9e),this[_0x220f6d(0x1cd)](_0x2f8695[_0x220f6d(0x112)],_0x36358f,_0x29ed9e));}[_0x3f8f65(0x1cc)](_0x354101){const _0x5ef604=_0x3f8f65;let _0x3f822b=_0x354101;for(;_0x3f822b[_0x5ef604(0x185)]&&!_0x3f822b[_0x5ef604(0x185)]['is'](_0x5ef604(0x154));)_0x3f822b=_0x3f822b[_0x5ef604(0x185)];return _0x3f822b;}[_0x3f8f65(0x19b)](_0xc273c7){const _0x21588f=_0x3f8f65,_0x1e80f6=_0x35a36e=>{const _0x4582b5=_0x36ec;switch(_0x35a36e){case _0x4582b5(0x113):return 0x1;case _0x4582b5(0x122):return 0x2;case _0x4582b5(0x1cb):return 0x3;case _0x4582b5(0x1c7):return 0x4;}};return _0xc273c7[_0x21588f(0x1bb)]((_0x16fd3f,_0x564ff5)=>_0x1e80f6(_0x16fd3f[_0x21588f(0x162)])-_0x1e80f6(_0x564ff5[_0x21588f(0x162)]));}}
@@ -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 _0x9571d=_0x30cf;(function(_0x229e81,_0x38ee90){const _0x7f5f98=_0x30cf,_0x2b356e=_0x229e81();while(!![]){try{const _0x3095e1=parseInt(_0x7f5f98(0x88))/0x1*(parseInt(_0x7f5f98(0xac))/0x2)+-parseInt(_0x7f5f98(0x98))/0x3*(-parseInt(_0x7f5f98(0x73))/0x4)+parseInt(_0x7f5f98(0x8b))/0x5*(-parseInt(_0x7f5f98(0x9a))/0x6)+parseInt(_0x7f5f98(0x9e))/0x7*(-parseInt(_0x7f5f98(0x8d))/0x8)+parseInt(_0x7f5f98(0x9c))/0x9*(-parseInt(_0x7f5f98(0x93))/0xa)+parseInt(_0x7f5f98(0x87))/0xb+-parseInt(_0x7f5f98(0x6f))/0xc*(-parseInt(_0x7f5f98(0x7c))/0xd);if(_0x3095e1===_0x38ee90)break;else _0x2b356e['push'](_0x2b356e['shift']());}catch(_0x24eef9){_0x2b356e['push'](_0x2b356e['shift']());}}}(_0x3d4e,0xd287e));import{ContextPlugin as _0x2564bf}from'ckeditor5/src/core.js';import{IconAIReview as _0x97a7ec}from'ckeditor5/src/icons.js';function _0x30cf(_0x31cb11,_0x30b420){const _0x3d4e93=_0x3d4e();return _0x30cf=function(_0x30cf12,_0xe78c7e){_0x30cf12=_0x30cf12-0x6d;let _0x52a69d=_0x3d4e93[_0x30cf12];return _0x52a69d;},_0x30cf(_0x31cb11,_0x30b420);}function _0x3d4e(){const _0x5727a4=['reviewCheckResultsView','showReviewCheckList','pluginName','abortReviewStream','acceptAllChanges','AIReviewModeUI','activateTab','learnMore','error-chunk','17861580bjkftD','1GOkMvi','reviewMode','showCheckRunResults','124625ehtMyW','getReviewCheckList','8WCTfZN','setAvailableChecks','setTitle','delegate','showReviewCheckListView','AITabs','10EcnTax','finishReview','isOfficialPlugin','leaveReviewModeResultList','showChunkErrorView','63mrgfEK','acceptChange','408SdeKrD','leaveReviewMode','7226829mdZmIb','_reviewModeView','9384781pCWLKg','rejected','runReviewCheck','addCheckRunResult','getResults','dismissChange','reviewCheckListView','setItemAsInactive','setChecks','view','addTab','forEach','context','hasChecks','2876270DPLGNH','requires','resetActiveStateInResults','showReviewCheckResultsView','updateChangeState','toggleDiff','accepted','showActionsWhenResultIsReady','plugins','hideActionsWhenResultIsReady','showReviewCompletedView','status','fire','24KWBSRP','showCheckRunResult','init','setCheckResultTitle','51676ECyoYY','locale','showGeneralErrorView','scrollToSuggestionInDocument','error-general','get','AI_REVIEW_MODE','hideResult','isPremiumPlugin','8889946Fobgvb','retryReview'];_0x3d4e=function(){return _0x5727a4;};return _0x3d4e();}import{AITabs as _0x23b417}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x277dd2}from'./ui/aireviewmodeview.js';import{getTranslation as _0x5998ec}from'./utils/common-translations.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x9571d(0x8c),_0x9571d(0xa0),_0x9571d(0x81),_0x9571d(0xb1),_0x9571d(0x82),_0x9571d(0x96),_0x9571d(0x76),_0x9571d(0x99),_0x9571d(0xa3),_0x9571d(0x85),_0x9571d(0x94),_0x9571d(0x7d)];export class AIReviewModeUI extends _0x2564bf{[_0x9571d(0x9d)];static get[_0x9571d(0xad)](){return[_0x23b417];}static get[_0x9571d(0x80)](){const _0x936859=_0x9571d;return _0x936859(0x83);}static get[_0x9571d(0x95)](){return!0x0;}static get[_0x9571d(0x7b)](){return!0x0;}constructor(_0x29749b){const _0x2f9022=_0x9571d;super(_0x29749b),this[_0x2f9022(0x9d)]=new _0x277dd2(this[_0x2f9022(0xaa)][_0x2f9022(0x74)]),this[_0x2f9022(0x9d)][_0x2f9022(0x90)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this);}[_0x9571d(0x71)](){const _0x4bb325=_0x9571d,_0x5a41d2=this[_0x4bb325(0xaa)][_0x4bb325(0xb4)][_0x4bb325(0x78)](_0x4bb325(0x92));_0x5a41d2[_0x4bb325(0xa7)]['on'](_0x4bb325(0x84),(_0x265618,_0x250443)=>{const _0x21c6cc=_0x4bb325;_0x21c6cc(0x89)===_0x250443?this[_0x21c6cc(0x6e)](_0x21c6cc(0x8c)):this[_0x21c6cc(0x6e)](_0x21c6cc(0x9b));}),_0x5a41d2[_0x4bb325(0xa7)][_0x4bb325(0xa8)]({'id':_0x4bb325(0x89),'buttonLabel':_0x5998ec(this[_0x4bb325(0xaa)][_0x4bb325(0x74)],_0x4bb325(0x79)),'buttonIcon':_0x97a7ec,'order':0x0,'content':this[_0x4bb325(0x9d)]});}[_0x9571d(0x8e)](_0x2dea41){const _0x2a4143=_0x9571d;this[_0x2a4143(0x9d)][_0x2a4143(0xa4)][_0x2a4143(0xab)]()||this[_0x2a4143(0x9d)][_0x2a4143(0xa4)][_0x2a4143(0xa6)](_0x2dea41),this[_0x2a4143(0x9d)][_0x2a4143(0x91)]();}[_0x9571d(0x7f)](){const _0x1d53e6=_0x9571d;this[_0x1d53e6(0x6e)](_0x1d53e6(0x8c));}[_0x9571d(0x8a)](_0x192d20){const _0x26bd1d=_0x9571d;_0x192d20&&(_0x26bd1d(0x77)!==_0x192d20[_0x26bd1d(0x6d)]?_0x26bd1d(0x86)!==_0x192d20[_0x26bd1d(0x6d)]?this[_0x26bd1d(0x9d)][_0x26bd1d(0xaf)]():this[_0x26bd1d(0x97)]():this[_0x26bd1d(0x75)]());}[_0x9571d(0x70)](_0xba9fa6){const _0x773ecc=_0x9571d;this[_0x773ecc(0x9d)][_0x773ecc(0xa1)](_0xba9fa6);}[_0x9571d(0x75)](){const _0x8ec122=_0x9571d;this[_0x8ec122(0x9d)][_0x8ec122(0x75)]();}[_0x9571d(0x97)](){const _0x153a0c=_0x9571d;this[_0x153a0c(0x9d)][_0x153a0c(0x97)]();}[_0x9571d(0x72)](_0x6cd903){const _0x2a3486=_0x9571d;this[_0x2a3486(0x9d)][_0x2a3486(0x7e)][_0x2a3486(0x8f)](_0x6cd903);}[_0x9571d(0xae)](){const _0x17caae=_0x9571d;this[_0x17caae(0x9d)][_0x17caae(0x7e)][_0x17caae(0xa2)]()[_0x17caae(0xa9)](_0x942b20=>_0x942b20[_0x17caae(0xa5)]());}[_0x9571d(0xb0)](_0x39ba02,_0x4940e8){const _0x1133a1=_0x9571d;_0x1133a1(0xb2)!==_0x4940e8&&_0x1133a1(0x9f)!==_0x4940e8||this[_0x1133a1(0x9d)][_0x1133a1(0x7e)][_0x1133a1(0x7a)](_0x39ba02);}[_0x9571d(0xb6)](){const _0x17be89=_0x9571d;this[_0x17be89(0x9d)][_0x17be89(0xb6)]();}[_0x9571d(0xb3)](){const _0x218ab3=_0x9571d;this[_0x218ab3(0x9d)][_0x218ab3(0xb3)]();}[_0x9571d(0xb5)](){const _0x5dd8d8=_0x9571d;this[_0x5dd8d8(0x9d)][_0x5dd8d8(0xb5)]();}}
23
+ const _0x1f4102=_0x24bd;function _0x4cb1(){const _0x567baf=['_reviewModeBalloonSuggestionItemView','hideBalloon','delegate','showChunkErrorView','AI_REVIEW_MODE','hideChangeBalloon','7720Wagxky','abortReviewStream','AIReviewModeUI','resetActiveStateInResults','20CWfPdC','hideResult','7eoUMHe','reviewCheckResultsView','acceptAllChanges','error-general','toggleDiff','604LKNdCq','showReviewCheckResultsView','find','leaveReviewModeResultList','showReviewCheckListView','setItemAsInactive','retryReview','setItemAsActive','reviewCheckListView','requires','3858288HUDpCb','showReviewCompletedView','locale','dismissChange','3922721Epuhyh','pluginName','setAvailableChecks','4BUIHKn','attachToDom','reviewMode','showGeneralErrorView','activateTab','isPremiumPlugin','showBalloon','getChangeElement','updateChangeState','hasChecks','learnMore','_bodyCollection','fire','activateChange','2504568jwwIZL','isOfficialPlugin','showNoChangesView','1948SzOzpK','addCheckRunResult','showCheckRunResults','setTitle','view','getReviewCheckList','element','showActionsWhenResultIsReady','destroy','leaveReviewMode','setChecks','acceptChange','forEach','717147octCYx','showChangeBalloon','accepted','hideActionsWhenResultIsReady','setActiveStateInResults','runReviewCheck','_reviewModeView','AITabs','detachFromDom','rejected','getResults','context','error-chunk','showCheckRunResult','get','status','2182866mmZBFQ','setCheckResultTitle','finishReview','addTab','deactivateChange','showReviewCheckList','init','plugins'];_0x4cb1=function(){return _0x567baf;};return _0x4cb1();}(function(_0x1f9e26,_0x443037){const _0x2f8466=_0x24bd,_0x2fc42d=_0x1f9e26();while(!![]){try{const _0xaa200=-parseInt(_0x2f8466(0x71))/0x1*(-parseInt(_0x2f8466(0x82))/0x2)+parseInt(_0x2f8466(0x7f))/0x3+parseInt(_0x2f8466(0xb8))/0x4*(parseInt(_0x2f8466(0xad))/0x5)+parseInt(_0x2f8466(0x9f))/0x6+parseInt(_0x2f8466(0xb3))/0x7*(-parseInt(_0x2f8466(0xc2))/0x8)+-parseInt(_0x2f8466(0x8f))/0x9*(parseInt(_0x2f8466(0xb1))/0xa)+-parseInt(_0x2f8466(0x6e))/0xb;if(_0xaa200===_0x443037)break;else _0x2fc42d['push'](_0x2fc42d['shift']());}catch(_0x18dc36){_0x2fc42d['push'](_0x2fc42d['shift']());}}}(_0x4cb1,0x6acc4));import{ContextPlugin as _0x585afa}from'ckeditor5/src/core.js';import{IconAIReview as _0xedf448}from'ckeditor5/src/icons.js';import{BodyCollection as _0x14a941}from'ckeditor5/src/ui.js';import{AITabs as _0x384560}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x5ad0ba}from'./ui/aireviewmodeview.js';function _0x24bd(_0x294ab7,_0x22ef58){const _0x4cb1a7=_0x4cb1();return _0x24bd=function(_0x24bd5b,_0x116d1c){_0x24bd5b=_0x24bd5b-0x6e;let _0x231e0f=_0x4cb1a7[_0x24bd5b];return _0x231e0f;},_0x24bd(_0x294ab7,_0x22ef58);}import{getTranslation as _0x3eead9}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x14c8c3}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x1f4102(0x87),_0x1f4102(0x94),_0x1f4102(0xae),_0x1f4102(0xb7),_0x1f4102(0xb5),_0x1f4102(0xbb),_0x1f4102(0x7e),_0x1f4102(0x8d),_0x1f4102(0xc5),_0x1f4102(0x7b),_0x1f4102(0xa1),_0x1f4102(0xbe)];export class AIReviewModeUI extends _0x585afa{[_0x1f4102(0x95)];[_0x1f4102(0xa7)];[_0x1f4102(0x7c)];static get[_0x1f4102(0xc1)](){return[_0x384560];}static get[_0x1f4102(0x6f)](){const _0x3ff6a1=_0x1f4102;return _0x3ff6a1(0xaf);}static get[_0x1f4102(0x80)](){return!0x0;}static get[_0x1f4102(0x76)](){return!0x0;}constructor(_0x37534e){const _0xe7c632=_0x1f4102;super(_0x37534e),this[_0xe7c632(0x7c)]=new _0x14a941(this[_0xe7c632(0x9a)][_0xe7c632(0xc4)]),this[_0xe7c632(0x7c)][_0xe7c632(0x72)](),this[_0xe7c632(0x95)]=new _0x5ad0ba(this[_0xe7c632(0x9a)][_0xe7c632(0xc4)]),this[_0xe7c632(0x95)][_0xe7c632(0xa9)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0xe7c632(0xa7)]=new _0x14c8c3(this[_0xe7c632(0x9a)][_0xe7c632(0xc4)],this[_0xe7c632(0x7c)]),this[_0xe7c632(0xa7)][_0xe7c632(0xa9)](_0xe7c632(0x8d),_0xe7c632(0xc5),_0xe7c632(0xa3))['to'](this);}[_0x1f4102(0xa5)](){const _0x9b26d2=_0x1f4102,_0x3f46e3=this[_0x9b26d2(0x9a)][_0x9b26d2(0xa6)][_0x9b26d2(0x9d)](_0x9b26d2(0x96));_0x3f46e3[_0x9b26d2(0x86)]['on'](_0x9b26d2(0x75),(_0x32b611,_0x50c3d4)=>{const _0xd1a718=_0x9b26d2;_0xd1a718(0x73)===_0x50c3d4?this[_0xd1a718(0x7d)](_0xd1a718(0x87)):this[_0xd1a718(0x7d)](_0xd1a718(0x8b));}),_0x3f46e3[_0x9b26d2(0x86)][_0x9b26d2(0xa2)]({'id':_0x9b26d2(0x73),'buttonLabel':_0x3eead9(this[_0x9b26d2(0x9a)][_0x9b26d2(0xc4)],_0x9b26d2(0xab)),'buttonIcon':_0xedf448,'order':0x0,'content':this[_0x9b26d2(0x95)]});}[_0x1f4102(0x8a)](){const _0x38f600=_0x1f4102;this[_0x38f600(0x7c)][_0x38f600(0x97)](),super[_0x38f600(0x8a)]();}[_0x1f4102(0x70)](_0x3dd981){const _0x344336=_0x1f4102;this[_0x344336(0x95)][_0x344336(0xc0)][_0x344336(0x7a)]()||this[_0x344336(0x95)][_0x344336(0xc0)][_0x344336(0x8c)](_0x3dd981),this[_0x344336(0x95)][_0x344336(0xbc)]();}[_0x1f4102(0xa4)](){const _0x2ed86b=_0x1f4102;this[_0x2ed86b(0x7d)](_0x2ed86b(0x87));}[_0x1f4102(0x84)](_0x19bd2a){const _0x306f8a=_0x1f4102;_0x19bd2a&&(_0x306f8a(0xb6)!==_0x19bd2a[_0x306f8a(0x9e)]?_0x306f8a(0x9b)!==_0x19bd2a[_0x306f8a(0x9e)]?this[_0x306f8a(0x95)][_0x306f8a(0xb9)]():this[_0x306f8a(0xaa)]():this[_0x306f8a(0x74)]());}[_0x1f4102(0x9c)](_0x4d0463){const _0x3e3c24=_0x1f4102;this[_0x3e3c24(0x95)][_0x3e3c24(0x83)](_0x4d0463);}[_0x1f4102(0x74)](){const _0x106b5a=_0x1f4102;this[_0x106b5a(0x95)][_0x106b5a(0x74)]();}[_0x1f4102(0xaa)](){const _0x5a36cd=_0x1f4102;this[_0x5a36cd(0x95)][_0x5a36cd(0xaa)]();}[_0x1f4102(0xa0)](_0x1129cd){const _0x2e5109=_0x1f4102;this[_0x2e5109(0x95)][_0x2e5109(0xb4)][_0x2e5109(0x85)](_0x1129cd);}[_0x1f4102(0x93)](_0x35be06){const _0x30aee9=_0x1f4102;this[_0x30aee9(0x95)][_0x30aee9(0xb4)][_0x30aee9(0x99)]()[_0x30aee9(0x8e)](_0x51aae2=>{const _0x6ec3e0=_0x30aee9;_0x51aae2['id']===_0x35be06&&_0x51aae2[_0x6ec3e0(0xbf)]();});}[_0x1f4102(0xb0)](){const _0x3f3245=_0x1f4102;this[_0x3f3245(0x95)][_0x3f3245(0xb4)][_0x3f3245(0x99)]()[_0x3f3245(0x8e)](_0x5010be=>_0x5010be[_0x3f3245(0xbd)]());}[_0x1f4102(0x79)](_0x5883df,_0x2c309e){const _0x5165a3=_0x1f4102;_0x5165a3(0x91)!==_0x2c309e&&_0x5165a3(0x98)!==_0x2c309e||this[_0x5165a3(0x95)][_0x5165a3(0xb4)][_0x5165a3(0xb2)](_0x5883df);}[_0x1f4102(0xc3)](){const _0xb94cc2=_0x1f4102;this[_0xb94cc2(0x95)][_0xb94cc2(0xc3)]();}[_0x1f4102(0x89)](){const _0x7b7e74=_0x1f4102;this[_0x7b7e74(0x95)][_0x7b7e74(0x89)]();}[_0x1f4102(0x81)](){const _0x1dbd34=_0x1f4102;this[_0x1dbd34(0x95)][_0x1dbd34(0x81)]();}[_0x1f4102(0x92)](){const _0x1fe818=_0x1f4102;this[_0x1fe818(0x95)][_0x1fe818(0x92)]();}[_0x1f4102(0x90)](_0x5abf07,_0x5f3ef3){const _0x14ffad=_0x1f4102;this[_0x14ffad(0xa7)][_0x14ffad(0x77)](_0x5abf07,_0x5f3ef3);}[_0x1f4102(0xac)](){const _0x2f3650=_0x1f4102;this[_0x2f3650(0xa7)][_0x2f3650(0xa8)]();}[_0x1f4102(0x78)](_0x190817){const _0x42a590=_0x1f4102,_0x1ebfda=this[_0x42a590(0x95)][_0x42a590(0xb4)][_0x42a590(0x99)]()[_0x42a590(0xba)](_0x249f3c=>_0x249f3c['id']===_0x190817);return _0x1ebfda?_0x1ebfda[_0x42a590(0x88)]:null;}[_0x1f4102(0xa3)](){const _0x10e9d1=_0x1f4102;this[_0x10e9d1(0xa7)][_0x10e9d1(0xa3)]();}}
@@ -6,6 +6,7 @@
6
6
  * @module ai/aireviewmode/model/aireviewcheck
7
7
  * @publicApi
8
8
  */
9
+ import { type AIReviewCheckDefinition, type AIReviewCheckOptions } from '../aireviewcheckdefinitions.js';
9
10
  /**
10
11
  * Represents the single type of check that can be performed in the AI Review Mode.
11
12
  */
@@ -38,23 +39,5 @@ export declare class AIReviewCheck {
38
39
  /**
39
40
  * Creates a new instance of the AIReviewCheck.
40
41
  */
41
- constructor({ id, title, description, isParameterized, useArgs, options }: {
42
- id: string;
43
- title: string;
44
- description: string;
45
- isParameterized: boolean;
46
- useArgs?: boolean;
47
- options?: Array<AIReviewCheckOptions>;
48
- });
42
+ constructor({ id, title, description, isParameterized, useArgs, options }: AIReviewCheckDefinition);
49
43
  }
50
- export type AIReviewCheckOptionData = {
51
- label: string;
52
- id: string;
53
- };
54
- export type AIReviewCheckOptions = {
55
- formType: string;
56
- label?: string;
57
- default?: string;
58
- data?: Array<AIReviewCheckOptionData>;
59
- argsKey?: string;
60
- };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa087(_0x41dbe5,_0x3ef7c6){var _0xe5589a=_0xe558();return _0xa087=function(_0xa0875f,_0x38838c){_0xa0875f=_0xa0875f-0xd7;var _0x512f6e=_0xe5589a[_0xa0875f];return _0x512f6e;},_0xa087(_0x41dbe5,_0x3ef7c6);}var _0x553e07=_0xa087;(function(_0x3831ba,_0x2ecc9d){var _0xfaf71=_0xa087,_0x2b675b=_0x3831ba();while(!![]){try{var _0x3bd585=parseInt(_0xfaf71(0xe1))/0x1+-parseInt(_0xfaf71(0xdd))/0x2+-parseInt(_0xfaf71(0xda))/0x3+parseInt(_0xfaf71(0xdb))/0x4*(-parseInt(_0xfaf71(0xdc))/0x5)+parseInt(_0xfaf71(0xe0))/0x6+-parseInt(_0xfaf71(0xde))/0x7+parseInt(_0xfaf71(0xe3))/0x8;if(_0x3bd585===_0x2ecc9d)break;else _0x2b675b['push'](_0x2b675b['shift']());}catch(_0x4d859a){_0x2b675b['push'](_0x2b675b['shift']());}}}(_0xe558,0xb3d8b));export class AIReviewCheck{['id'];[_0x553e07(0xd9)];[_0x553e07(0xe2)];[_0x553e07(0xdf)];[_0x553e07(0xd7)];[_0x553e07(0xd8)];constructor({id:_0x5a257e,title:_0x1369bb,description:_0x13f075,isParameterized:_0x57b117,useArgs:_0x30142f,options:_0x4a7441}){var _0x3b1cec=_0x553e07;this['id']=_0x5a257e,this[_0x3b1cec(0xd9)]=_0x1369bb,this[_0x3b1cec(0xe2)]=_0x13f075,this[_0x3b1cec(0xdf)]=_0x57b117,this[_0x3b1cec(0xd7)]=_0x30142f,this[_0x3b1cec(0xd8)]=_0x4a7441;}}function _0xe558(){var _0x201471=['1452087PYIhKZ','description','7748352BiHCDC','useArgs','options','title','3490458qIkADo','30596joTblc','845mhgcGl','97290aULZPW','1789410yIUvRV','isParameterized','6458772eZbUkV'];_0xe558=function(){return _0x201471;};return _0xe558();}
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 _0x2ff41a=_0x3cdf;(function(_0x25854a,_0x1967ec){var _0x23f2a0=_0x3cdf,_0xc8d0bd=_0x25854a();while(!![]){try{var _0x3763e8=parseInt(_0x23f2a0(0x161))/0x1*(parseInt(_0x23f2a0(0x162))/0x2)+-parseInt(_0x23f2a0(0x157))/0x3*(-parseInt(_0x23f2a0(0x15a))/0x4)+parseInt(_0x23f2a0(0x164))/0x5+parseInt(_0x23f2a0(0x15f))/0x6*(-parseInt(_0x23f2a0(0x159))/0x7)+parseInt(_0x23f2a0(0x160))/0x8+-parseInt(_0x23f2a0(0x15e))/0x9*(parseInt(_0x23f2a0(0x15b))/0xa)+parseInt(_0x23f2a0(0x15c))/0xb*(-parseInt(_0x23f2a0(0x158))/0xc);if(_0x3763e8===_0x1967ec)break;else _0xc8d0bd['push'](_0xc8d0bd['shift']());}catch(_0x3bcc6b){_0xc8d0bd['push'](_0xc8d0bd['shift']());}}}(_0x1878,0xeadf8));import{AIReviewCheck as _0x4bdb79}from'./aireviewcheck.js';function _0x1878(){var _0x132b8f=['15987422wVdsKT','models','333zzFjeK','12WsYmLm','8438408FhCLjM','1711697SLGuPK','2ROKewu','_models','7092005YpUTrB','1570830nQzriR','24BGeLcU','3696742oyUfXn','8DTWUhj','82990ojdSDl'];_0x1878=function(){return _0x132b8f;};return _0x1878();}function _0x3cdf(_0x440b7b,_0x2e155f){var _0x18786a=_0x1878();return _0x3cdf=function(_0x3cdf14,_0x19dede){_0x3cdf14=_0x3cdf14-0x157;var _0x5068b8=_0x18786a[_0x3cdf14];return _0x5068b8;},_0x3cdf(_0x440b7b,_0x2e155f);}export class AIReviewCheckCustom extends _0x4bdb79{[_0x2ff41a(0x163)]=[];get[_0x2ff41a(0x15d)](){var _0x33256a=_0x2ff41a;return this[_0x33256a(0x163)];}set[_0x2ff41a(0x15d)](_0xf5dcb8){var _0x1d178f=_0x2ff41a;this[_0x1d178f(0x163)]=_0xf5dcb8;}}
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;}}
@@ -3,6 +3,7 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { AIReviewCheck } from './aireviewcheck.js';
6
+ import { type AIReviewCheckDefinition } from '../aireviewcheckdefinitions.js';
6
7
  declare const AIReviewCheckList_base: {
7
8
  new (): import("ckeditor5/src/utils.js").Observable;
8
9
  prototype: import("ckeditor5/src/utils.js").Observable;
@@ -14,15 +15,11 @@ export declare class AIReviewCheckList extends /* #__PURE__ */ AIReviewCheckList
14
15
  /**
15
16
  * @inheritDoc
16
17
  */
17
- constructor();
18
+ constructor(checks: Array<AIReviewCheckDefinition>);
18
19
  /**
19
20
  * The list of available review checks.
20
21
  */
21
22
  get checks(): Array<AIReviewCheck>;
22
- /**
23
- * The list of available review checks including expanded parameterized checks.
24
- */
25
- get getExpandedChecks(): Array<any>;
26
23
  /**
27
24
  * Returns the check by its ID.
28
25
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d218d=_0x4673;(function(_0x1f5870,_0x47fba8){const _0x1ad669=_0x4673,_0x27b370=_0x1f5870();while(!![]){try{const _0x239838=parseInt(_0x1ad669(0x14a))/0x1*(-parseInt(_0x1ad669(0x133))/0x2)+parseInt(_0x1ad669(0x167))/0x3*(-parseInt(_0x1ad669(0x153))/0x4)+-parseInt(_0x1ad669(0x15d))/0x5*(parseInt(_0x1ad669(0x14f))/0x6)+parseInt(_0x1ad669(0x147))/0x7+parseInt(_0x1ad669(0x15c))/0x8+parseInt(_0x1ad669(0x14e))/0x9+-parseInt(_0x1ad669(0x135))/0xa*(-parseInt(_0x1ad669(0x16c))/0xb);if(_0x239838===_0x47fba8)break;else _0x27b370['push'](_0x27b370['shift']());}catch(_0x2efc06){_0x27b370['push'](_0x27b370['shift']());}}}(_0x190e,0x9e626));function _0x4673(_0x578899,_0x5b0bc3){const _0x190e3a=_0x190e();return _0x4673=function(_0x467396,_0x1981f1){_0x467396=_0x467396-0x11a;let _0x250433=_0x190e3a[_0x467396];return _0x250433;},_0x4673(_0x578899,_0x5b0bc3);}import{ObservableMixin as _0x5aff3c}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x52d6ec}from'./aireviewcheck.js';function _0x190e(){const _0x228f79=['english','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Japanese','Direct','data','Russian','Shorter','join','German','reduce','checks','Clarity','japanese','dropdown','clarity','russian','isParameterized','_getExpandedReviewChecks','Spanish','Translate\x20the\x20text\x20into\x20another\x20language.','custom','2IrOhqw','spanish','3490nhDtxg','getCheckById','make-tone','shorter','Casual','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','direct','friendly','make','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','map','Adjust\x20tone\x20and\x20style','Select\x20language','Korean','French','correctness','german','Portuguese','1916789XaVPqv','readability','Custom\x20command','941508vgocAt','Longer','language','longer','5950314yfMLBn','2526BJIVhk','translate','Translate','label','4eKLdOD','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Italian','chinese','french','Adjust\x20length','confident',':\x20\x0a','8237240QQLCqa','7855tirJbN','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','English','Readability','length','Chinese\x20(Simplified)','Friendly','flatMap','_checks','find','284379ZCRrSL','options','korean','useArgs','Confident','12034gqoYDj','title','_getAvailableReviewChecks','casual','Correctness','Professional','portuguese','italian','professional','getExpandedChecks'];_0x190e=function(){return _0x228f79;};return _0x190e();}import{AIReviewCheckCustom as _0x5de422}from'./aireviewcheckcustom.js';const ta=[{'id':_0x2d218d(0x132),'title':_0x2d218d(0x149),'description':_0x2d218d(0x13e),'isParameterized':!0x0},{'id':_0x2d218d(0x144),'title':_0x2d218d(0x170),'description':_0x2d218d(0x11f),'isParameterized':!0x1},{'id':_0x2d218d(0x12c),'title':_0x2d218d(0x129),'description':_0x2d218d(0x154),'isParameterized':!0x1},{'id':_0x2d218d(0x148),'title':_0x2d218d(0x160),'description':_0x2d218d(0x155),'isParameterized':!0x1},{'id':_0x2d218d(0x13d),'title':_0x2d218d(0x159),'description':_0x2d218d(0x15e),'isParameterized':!0x0,'options':[{'formType':_0x2d218d(0x12b),'label':_0x2d218d(0x159),'default':_0x2d218d(0x14d),'data':[{'label':_0x2d218d(0x14b),'id':_0x2d218d(0x14d)},{'label':_0x2d218d(0x124),'id':_0x2d218d(0x138)}]}]},{'id':_0x2d218d(0x137),'title':_0x2d218d(0x140),'description':_0x2d218d(0x13a),'isParameterized':!0x0,'options':[{'formType':_0x2d218d(0x12b),'label':_0x2d218d(0x140),'default':_0x2d218d(0x16f),'data':[{'label':_0x2d218d(0x139),'id':_0x2d218d(0x16f)},{'label':_0x2d218d(0x121),'id':_0x2d218d(0x13b)},{'label':_0x2d218d(0x163),'id':_0x2d218d(0x13c)},{'label':_0x2d218d(0x16b),'id':_0x2d218d(0x15a)},{'label':_0x2d218d(0x171),'id':_0x2d218d(0x11c)}]}]},{'id':_0x2d218d(0x150),'title':_0x2d218d(0x151),'description':_0x2d218d(0x131),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x2d218d(0x12b),'label':_0x2d218d(0x141),'default':_0x2d218d(0x134),'argsKey':_0x2d218d(0x14c),'data':[{'label':_0x2d218d(0x15f),'id':_0x2d218d(0x11e)},{'label':_0x2d218d(0x130),'id':_0x2d218d(0x134)},{'label':_0x2d218d(0x143),'id':_0x2d218d(0x158)},{'label':_0x2d218d(0x126),'id':_0x2d218d(0x145)},{'label':_0x2d218d(0x162),'id':_0x2d218d(0x157)},{'label':_0x2d218d(0x120),'id':_0x2d218d(0x12a)},{'label':_0x2d218d(0x123),'id':_0x2d218d(0x12d)},{'label':_0x2d218d(0x146),'id':_0x2d218d(0x11a)},{'label':_0x2d218d(0x142),'id':_0x2d218d(0x169)},{'label':_0x2d218d(0x156),'id':_0x2d218d(0x11b)}]}]}];export class AIReviewCheckList extends _0x5aff3c(){[_0x2d218d(0x165)];constructor(){const _0x2f73ab=_0x2d218d;super(),this[_0x2f73ab(0x165)]=this[_0x2f73ab(0x16e)]();}get[_0x2d218d(0x128)](){const _0x543bd5=_0x2d218d;return this[_0x543bd5(0x165)];}get[_0x2d218d(0x11d)](){const _0x1318b9=_0x2d218d;return this[_0x1318b9(0x12f)]();}[_0x2d218d(0x136)](_0x284849){const _0x276089=_0x2d218d;return this[_0x276089(0x11d)][_0x276089(0x166)](_0x310280=>_0x310280['id']===_0x284849);}[_0x2d218d(0x16e)](){const _0x4be089=_0x2d218d;return ta[_0x4be089(0x13f)](_0x19a4d4=>_0x4be089(0x132)===_0x19a4d4['id']?new _0x5de422(_0x19a4d4):new _0x52d6ec(_0x19a4d4));}[_0x2d218d(0x12f)](){const _0x48e4b2=_0x2d218d;return ta[_0x48e4b2(0x164)](_0x32daf6=>{const _0x92858b=_0x48e4b2;if(_0x32daf6?.[_0x92858b(0x16a)])return[_0x32daf6];if(_0x32daf6[_0x92858b(0x12e)]&&_0x32daf6[_0x92858b(0x168)]?.[_0x92858b(0x161)]){const _0x3bf3d1=_0x32daf6[_0x92858b(0x168)][_0x92858b(0x13f)](_0x3cbc74=>_0x3cbc74[_0x92858b(0x122)]||[]);return _0x3bf3d1[_0x92858b(0x127)]((_0x379caf,_0x4afe06)=>_0x379caf[_0x92858b(0x164)](_0x44a97f=>_0x4afe06[_0x92858b(0x13f)](_0x5f5696=>[..._0x44a97f,_0x5f5696])),[[]])[_0x92858b(0x13f)](_0x31ed6a=>{const _0x1b4b39=_0x92858b,_0x167de7=_0x31ed6a[_0x1b4b39(0x13f)](_0x5dd8b1=>_0x5dd8b1['id'])[_0x1b4b39(0x125)]('-'),_0x1c16a8=_0x31ed6a[_0x1b4b39(0x13f)](_0x4ddf8e=>_0x4ddf8e[_0x1b4b39(0x152)])[_0x1b4b39(0x125)](',\x20');return{..._0x32daf6,'id':_0x32daf6['id']+'-'+_0x167de7,'title':_0x32daf6[_0x1b4b39(0x16d)]+_0x1b4b39(0x15b)+_0x1c16a8,'selectedOptions':_0x31ed6a};});}return[_0x32daf6];});}}
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 _0x5cd5(){var _0x1d2f71=['contentInitial','1273070LxJIFJ','contentNew','documentVersion','1923365dNWVnB','4eNTOWN','6071283yvRBmE','8362145AjGclQ','8nBiVEQ','6FKyAYb','1475978ywKGCM','34522xutNVN','32KCPRpp','1268181RFpfBI'];_0x5cd5=function(){return _0x1d2f71;};return _0x5cd5();}var _0x17ef39=_0x133a;(function(_0x5866b4,_0x580bb6){var _0x1fad55=_0x133a,_0x3bea71=_0x5866b4();while(!![]){try{var _0x25c04d=-parseInt(_0x1fad55(0xa3))/0x1*(-parseInt(_0x1fad55(0xa4))/0x2)+parseInt(_0x1fad55(0xa5))/0x3*(parseInt(_0x1fad55(0x9d))/0x4)+-parseInt(_0x1fad55(0xaa))/0x5*(parseInt(_0x1fad55(0xa1))/0x6)+-parseInt(_0x1fad55(0xa2))/0x7+-parseInt(_0x1fad55(0xa0))/0x8*(parseInt(_0x1fad55(0x9e))/0x9)+-parseInt(_0x1fad55(0xa7))/0xa+parseInt(_0x1fad55(0x9f))/0xb;if(_0x25c04d===_0x580bb6)break;else _0x3bea71['push'](_0x3bea71['shift']());}catch(_0xc5669){_0x3bea71['push'](_0x3bea71['shift']());}}}(_0x5cd5,0x527bd));function _0x133a(_0x9c06f1,_0x543c91){var _0x5cd5e0=_0x5cd5();return _0x133a=function(_0x133a89,_0x31938a){_0x133a89=_0x133a89-0x9d;var _0x5ec498=_0x5cd5e0[_0x133a89];return _0x5ec498;},_0x133a(_0x9c06f1,_0x543c91);}import{EmitterMixin as _0x1a6f83}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x1a6f83(){['id'];[_0x17ef39(0xa8)];[_0x17ef39(0xa6)];[_0x17ef39(0xa9)];constructor({id:_0x4f9620,contentNew:_0x3d135b,contentInitial:_0x280f71,documentVersion:_0x3f4054}){var _0x222b07=_0x17ef39;super(),this['id']=_0x4f9620,this[_0x222b07(0xa8)]=_0x3d135b,this[_0x222b07(0xa6)]=_0x280f71,this[_0x222b07(0xa9)]=_0x3f4054;}}
23
+ function _0x1104(_0x3513cf,_0x1a8b80){var _0x4ffe86=_0x4ffe();return _0x1104=function(_0x11044e,_0x1a07eb){_0x11044e=_0x11044e-0x83;var _0x571cdb=_0x4ffe86[_0x11044e];return _0x571cdb;},_0x1104(_0x3513cf,_0x1a8b80);}var _0x2265d0=_0x1104;function _0x4ffe(){var _0x550b66=['1017100SORcUH','documentVersion','1nuAtKl','contentNew','8lgEimZ','contentInitial','1011355WzxSAB','2561157ONGztS','25262DijSLv','2359662jowfWo','105GSlOPu','6158590GobmxC','10584pqlnGM'];_0x4ffe=function(){return _0x550b66;};return _0x4ffe();}(function(_0x492e66,_0x2dd5be){var _0x531cb0=_0x1104,_0x562276=_0x492e66();while(!![]){try{var _0x214d0e=-parseInt(_0x531cb0(0x8c))/0x1*(parseInt(_0x531cb0(0x85))/0x2)+-parseInt(_0x531cb0(0x87))/0x3*(-parseInt(_0x531cb0(0x89))/0x4)+parseInt(_0x531cb0(0x83))/0x5+parseInt(_0x531cb0(0x86))/0x6+-parseInt(_0x531cb0(0x8a))/0x7*(parseInt(_0x531cb0(0x8e))/0x8)+parseInt(_0x531cb0(0x84))/0x9+-parseInt(_0x531cb0(0x88))/0xa;if(_0x214d0e===_0x2dd5be)break;else _0x562276['push'](_0x562276['shift']());}catch(_0x223e87){_0x562276['push'](_0x562276['shift']());}}}(_0x4ffe,0x3091d));import{EmitterMixin as _0x5b629c}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x5b629c(){['id'];[_0x2265d0(0x8d)];[_0x2265d0(0x8f)];[_0x2265d0(0x8b)];constructor({id:_0x6f1605,contentNew:_0x189932,contentInitial:_0x57d203,documentVersion:_0x3f620f}){var _0x5d3cad=_0x2265d0;super(),this['id']=_0x6f1605,this[_0x5d3cad(0x8d)]=_0x189932,this[_0x5d3cad(0x8f)]=_0x57d203,this[_0x5d3cad(0x8b)]=_0x3f620f;}}
@@ -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
- var _0x13fef3=_0xf98b;function _0xf98b(_0x11424f,_0x3bdcc6){var _0x1786cb=_0x1786();return _0xf98b=function(_0xf98b81,_0x2ecdef){_0xf98b81=_0xf98b81-0x83;var _0xacca4b=_0x1786cb[_0xf98b81];return _0xacca4b;},_0xf98b(_0x11424f,_0x3bdcc6);}(function(_0x2e497a,_0x495e5a){var _0x2b86d4=_0xf98b,_0x24b26c=_0x2e497a();while(!![]){try{var _0x2bd527=-parseInt(_0x2b86d4(0x8c))/0x1+parseInt(_0x2b86d4(0x8f))/0x2+-parseInt(_0x2b86d4(0x8e))/0x3*(parseInt(_0x2b86d4(0x91))/0x4)+parseInt(_0x2b86d4(0x90))/0x5+parseInt(_0x2b86d4(0x8a))/0x6+parseInt(_0x2b86d4(0x89))/0x7+-parseInt(_0x2b86d4(0x88))/0x8*(parseInt(_0x2b86d4(0x95))/0x9);if(_0x2bd527===_0x495e5a)break;else _0x24b26c['push'](_0x24b26c['shift']());}catch(_0x4544f2){_0x24b26c['push'](_0x24b26c['shift']());}}}(_0x1786,0xad64b));import{ObservableMixin as _0x382806}from'ckeditor5/src/utils.js';function _0x1786(){var _0x297805=['status','3xPwbrY','377126dmOidX','1354940QGvOyY','2021224DrovSg','contentDiffed','parent','context','2721645WIlLbx','set','operationsIsolated','_data','active','operations','16dZJbFL','6421478wYNWoW','3843822nudrwY','_editorOperations','197207weWvRZ'];_0x1786=function(){return _0x297805;};return _0x1786();}export class AIReviewCheckResultChange extends _0x382806(){['id'];[_0x13fef3(0x93)];[_0x13fef3(0x85)];[_0x13fef3(0x8b)]=[];constructor(_0x155876,_0x8d0ab5,_0x2ac72f){var _0x3d20d8=_0x13fef3;super(),this['id']=_0x155876,this[_0x3d20d8(0x93)]=_0x2ac72f,this[_0x3d20d8(0x85)]=_0x8d0ab5,this[_0x3d20d8(0x83)](_0x3d20d8(0x8d),_0x3d20d8(0x86));}get[_0x13fef3(0x92)](){var _0xde069=_0x13fef3;return this[_0xde069(0x85)][_0xde069(0x94)]();}get[_0x13fef3(0x87)](){var _0x1673ac=_0x13fef3;return this[_0x1673ac(0x85)][_0x1673ac(0x87)];}get[_0x13fef3(0x84)](){var _0x350b04=_0x13fef3;return this[_0x350b04(0x85)][_0x350b04(0x84)];}}
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)];}}
@@ -23,7 +23,7 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
23
23
  * The check run ID.
24
24
  */
25
25
  readonly id: string;
26
- constructor(documentData: AIDocumentData, sourceCheck: AIReviewCheck, connector: AIConnector, args?: Record<string, any>);
26
+ constructor(documentData: AIDocumentData, sourceCheck: AIReviewCheck, connector: AIConnector, params?: Array<string>, args?: Record<string, any>);
27
27
  /**
28
28
  * Returns the document data obtained at the time of the check run.
29
29
  */
@@ -32,6 +32,10 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
32
32
  * Returns the number of successfully processed results.
33
33
  */
34
34
  get processedResultsCount(): number;
35
+ /**
36
+ * Returns the check title.
37
+ */
38
+ get title(): string;
35
39
  /**
36
40
  * Starts the check run resulting in an API call. After the call is finished, the status
37
41
  * and list of changes are updated.
@@ -51,6 +55,8 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
51
55
  markAllChangesAsAccepted(): void;
52
56
  markChangeAsAccepted(changeId: string): void;
53
57
  markChangeAsRejected(changeId: string): void;
58
+ activateChange(changeId: string): void;
59
+ deactivateChange(): void;
54
60
  forceReadyState(): void;
55
61
  }
56
62
  export type AIReviewCheckRunUpdatedEvent = {
@@ -98,5 +104,21 @@ export type AIReviewCheckResultChangeRejectedEvent = {
98
104
  }
99
105
  ];
100
106
  };
101
- 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';
102
124
  export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32ff22=_0xfc59;(function(_0x509ddd,_0x39f708){const _0x1427ac=_0xfc59,_0x14528e=_0x509ddd();while(!![]){try{const _0x1e530e=-parseInt(_0x1427ac(0xd9))/0x1+parseInt(_0x1427ac(0x94))/0x2*(parseInt(_0x1427ac(0xbd))/0x3)+parseInt(_0x1427ac(0xd2))/0x4*(-parseInt(_0x1427ac(0xda))/0x5)+parseInt(_0x1427ac(0xa1))/0x6*(-parseInt(_0x1427ac(0xaf))/0x7)+parseInt(_0x1427ac(0xd7))/0x8+parseInt(_0x1427ac(0xbe))/0x9+-parseInt(_0x1427ac(0xd5))/0xa*(-parseInt(_0x1427ac(0xcc))/0xb);if(_0x1e530e===_0x39f708)break;else _0x14528e['push'](_0x14528e['shift']());}catch(_0x57d8ca){_0x14528e['push'](_0x14528e['shift']());}}}(_0x20e2,0x53378));import{ObservableMixin as _0x5ecc9d,uid as _0x5ede9c}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0xf21085}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x26cd66}from'./aireviewcheckresultchange.js';function _0xfc59(_0x27cd31,_0x597db4){const _0x20e2ee=_0x20e2();return _0xfc59=function(_0xfc5997,_0x2a04b3){_0xfc5997=_0xfc5997-0x92;let _0x785065=_0x20e2ee[_0xfc5997];return _0x785065;},_0xfc59(_0x27cd31,_0x597db4);}export class AIReviewCheckRun extends _0x5ecc9d(){['id']=_0x5ede9c();[_0x32ff22(0xb4)]=new Map();[_0x32ff22(0xa4)]=[];[_0x32ff22(0x9c)];[_0x32ff22(0xc2)];[_0x32ff22(0x9b)];[_0x32ff22(0x95)];[_0x32ff22(0xdd)]=null;[_0x32ff22(0xca)];constructor(_0x105748,_0x128d25,_0x3c3c2b,_0x2dc67a){const _0x4c9b95=_0x32ff22;super(),this[_0x4c9b95(0x9c)]=_0x105748,this[_0x4c9b95(0xc2)]=_0x128d25,this[_0x4c9b95(0x9b)]=_0x3c3c2b,this[_0x4c9b95(0x95)]=_0x2dc67a,this['on'](_0x4c9b95(0xc3),(_0x4bdf06,_0x24f0d2,_0xd15b07)=>{const _0xa8129=_0x4c9b95;this[_0xa8129(0xb0)](_0xa8129(0xac),{'status':_0xd15b07,'run':this,'error':this[_0xa8129(0xca)]});}),this[_0x4c9b95(0xbc)](_0x4c9b95(0x9e),_0x4c9b95(0xbb));}get[_0x32ff22(0xb8)](){const _0xc523a6=_0x32ff22;return this[_0xc523a6(0x9c)];}get[_0x32ff22(0xa3)](){const _0x266ae1=_0x32ff22;return this[_0x266ae1(0xb4)][_0x266ae1(0xbf)];}async[_0x32ff22(0xa0)](){const _0x2d9235=_0x32ff22;this[_0x2d9235(0x9e)]=_0x2d9235(0xc5),this[_0x2d9235(0xca)]=void 0x0;try{this[_0x2d9235(0xdd)]=this[_0x2d9235(0x98)]();const _0x1bf807=await this[_0x2d9235(0xdd)][_0x2d9235(0xa9)]();this[_0x2d9235(0x9e)]=_0x2d9235(0x9d);for await(const _0x12094f of _0x1bf807)_0x2d9235(0xce)!==_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xb9)]&&(_0x2d9235(0x92)!==_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xb9)]?this[_0x2d9235(0xb2)](_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xaa)],_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xd6)]):this[_0x2d9235(0x9e)]=_0x2d9235(0xb7));_0x2d9235(0xb7)!==this[_0x2d9235(0x9e)]&&(this[_0x2d9235(0x9e)]=_0x2d9235(0xb1));}catch(_0xd734c4){this[_0x2d9235(0xca)]=_0xd734c4,_0xd734c4 instanceof Error&&_0xd734c4[_0x2d9235(0xab)][_0x2d9235(0xd4)](_0x2d9235(0xba))?this[_0x2d9235(0x9e)]=_0x2d9235(0xc4):this[_0x2d9235(0x9e)]=_0x2d9235(0xc6);}finally{this[_0x2d9235(0xdd)]=null;}}async[_0x32ff22(0xc0)](){const _0x2fb7d5=_0x32ff22;this[_0x2fb7d5(0xb4)][_0x2fb7d5(0xad)](),this[_0x2fb7d5(0xa4)][_0x2fb7d5(0xa7)]=0x0,this[_0x2fb7d5(0xca)]=void 0x0,await this[_0x2fb7d5(0xa0)]();}[_0x32ff22(0xd1)](_0x10de17,_0x5ec867){const _0x4f2ef6=_0x32ff22,_0x5e1332=this[_0x4f2ef6(0xb4)][_0x4f2ef6(0xdb)](_0x10de17);if(!_0x5e1332)return;const _0x41a881=[];_0x5ec867[_0x4f2ef6(0xc7)]((_0x49623a,_0x47911d)=>{const _0x5654a0=_0x4f2ef6,_0x233b93=new _0x26cd66(_0x5e1332['id']+'-'+_0x47911d,_0x49623a,_0x5e1332);_0x233b93['on'](_0x5654a0(0xc3),()=>{const _0x591caa=_0x5654a0;_0x591caa(0xd8)===_0x233b93[_0x591caa(0x9e)]?this[_0x591caa(0xb0)](_0x591caa(0x93),{'change':_0x233b93}):_0x591caa(0xcd)===_0x233b93[_0x591caa(0x9e)]&&this[_0x591caa(0xb0)](_0x591caa(0xa5),{'change':_0x233b93});}),this[_0x5654a0(0xa4)][_0x5654a0(0xc8)](_0x233b93),_0x41a881[_0x5654a0(0xc8)](_0x233b93);}),this[_0x4f2ef6(0xb0)](_0x4f2ef6(0xa6),{'changes':_0x41a881,'result':_0x5e1332,'source':this});}[_0x32ff22(0xd3)](){const _0x4455d6=_0x32ff22;this[_0x4455d6(0xdd)]&&(this[_0x4455d6(0xdd)][_0x4455d6(0x9a)][_0x4455d6(0xd3)](),this[_0x4455d6(0xdd)]=null,this[_0x4455d6(0x9e)]=_0x4455d6(0xc4));}[_0x32ff22(0xae)](_0xc72371){const _0x18e422=_0x32ff22,_0x160a05=this[_0x18e422(0xa4)][_0x18e422(0x9f)](_0xf81da6=>_0xf81da6['id']===_0xc72371);return!(!_0x160a05||_0x18e422(0x96)!==_0x160a05[_0x18e422(0x9e)]);}[_0x32ff22(0xc1)](){const _0x336972=_0x32ff22;return this[_0x336972(0xa4)][_0x336972(0x99)](_0x5837ec=>_0x336972(0x96)===_0x5837ec[_0x336972(0x9e)]);}[_0x32ff22(0xcf)](){const _0x3e67e8=_0x32ff22;for(const _0x526cda of this[_0x3e67e8(0xa4)])_0x3e67e8(0x96)===_0x526cda[_0x3e67e8(0x9e)]&&(_0x526cda[_0x3e67e8(0x9e)]=_0x3e67e8(0xd8));this[_0x3e67e8(0xcb)]();}[_0x32ff22(0x97)](_0x5aea35){const _0x5dd71e=_0x32ff22,_0x4f9828=this[_0x5dd71e(0xa4)][_0x5dd71e(0x9f)](_0x5dc400=>_0x5dc400['id']===_0x5aea35);_0x4f9828&&_0x5dd71e(0x96)===_0x4f9828[_0x5dd71e(0x9e)]&&(_0x4f9828[_0x5dd71e(0x9e)]=_0x5dd71e(0xd8)),this[_0x5dd71e(0xcb)]();}[_0x32ff22(0xa2)](_0xbe8376){const _0x361f2a=_0x32ff22,_0x4b907f=this[_0x361f2a(0xa4)][_0x361f2a(0x9f)](_0xa95921=>_0xa95921['id']===_0xbe8376);_0x4b907f&&_0x361f2a(0x96)===_0x4b907f[_0x361f2a(0x9e)]&&(_0x4b907f[_0x361f2a(0x9e)]=_0x361f2a(0xcd)),this[_0x361f2a(0xcb)]();}[_0x32ff22(0xa8)](){const _0x50779e=_0x32ff22;this[_0x50779e(0x9e)]=_0x50779e(0xb1);}[_0x32ff22(0xb2)](_0x321459,_0x3281d3){const _0x1c2575=_0x32ff22,_0x7f5f36=this[_0x1c2575(0x9c)][_0x1c2575(0xdc)][_0x1c2575(0xdb)](_0x321459);if(!_0x7f5f36)return;const _0x23b0e2=_0x7f5f36[_0x1c2575(0xc9)]();if(_0x23b0e2===_0x3281d3)return;const _0x4c70d6=new _0xf21085({'id':_0x321459,'contentInitial':_0x23b0e2,'contentNew':_0x3281d3,'documentVersion':this[_0x1c2575(0x9c)][_0x1c2575(0xb3)]});this[_0x1c2575(0xb4)][_0x1c2575(0xbc)](_0x4c70d6['id'],_0x4c70d6),this[_0x1c2575(0xb0)](_0x1c2575(0xb6),{'result':_0x4c70d6,'source':this});}[_0x32ff22(0xcb)](){const _0x458956=_0x32ff22;if(_0x458956(0xb1)!==this[_0x458956(0x9e)])return;0x0===this[_0x458956(0xa4)][_0x458956(0x99)](_0x431fc0=>_0x458956(0x96)===_0x431fc0[_0x458956(0x9e)])[_0x458956(0xa7)]&&(this[_0x458956(0x9e)]=_0x458956(0xb5));}[_0x32ff22(0x98)](){const _0x1775e9=_0x32ff22;throw new Error(_0x1775e9(0xd0));}}function _0x20e2(){const _0x3463d4=['getContent','_currentError','_checkIfFinished','2178946BVISTk','rejected','unmodified','markAllChangesAsAccepted','Not\x20implemented.','addResultChanges','4ftoXPG','abort','includes','10sJIaJS','textDelta','3050544ttFMwN','accepted','166677IqwsZt','2222245hSlFnS','get','elements','_activeRequest','error','reviewCheckResultAccepted','2OqFUca','_reviewArgs','active','markChangeAsAccepted','_createApiRequest','filter','abortController','_aiConnector','_documentData','data','status','find','start','11988hCTTWr','markChangeAsRejected','processedResultsCount','_changes','reviewCheckResultRejected','reviewCheckResultReady','length','forceReadyState','getStream','dataId','message','reviewCheckRunUpdated','clear','isChangeActive','315wGeLuw','fire','ready','_addReviewCheckResult','version','_results','finished','reviewCheckResultAdded','error-chunk','documentData','operation','ai-request-aborted','initialized','set','437787QOHcly','2849031uCnLEL','size','restart','getActiveChanges','_sourceCheck','change:status','aborted','loading','error-general','forEach','push'];_0x20e2=function(){return _0x3463d4;};return _0x20e2();}
23
+ const _0x33aa24=_0x31c0;(function(_0x5cadee,_0xf9f987){const _0x1d7325=_0x31c0,_0x12e859=_0x5cadee();while(!![]){try{const _0x552cb0=-parseInt(_0x1d7325(0x21d))/0x1*(parseInt(_0x1d7325(0x1d5))/0x2)+-parseInt(_0x1d7325(0x222))/0x3*(-parseInt(_0x1d7325(0x217))/0x4)+-parseInt(_0x1d7325(0x1d2))/0x5+-parseInt(_0x1d7325(0x219))/0x6+parseInt(_0x1d7325(0x1d6))/0x7*(parseInt(_0x1d7325(0x207))/0x8)+parseInt(_0x1d7325(0x1d9))/0x9+parseInt(_0x1d7325(0x1d7))/0xa;if(_0x552cb0===_0xf9f987)break;else _0x12e859['push'](_0x12e859['shift']());}catch(_0x17eff6){_0x12e859['push'](_0x12e859['shift']());}}}(_0x2b6e,0xadd43));import{ObservableMixin as _0x2075fe,uid as _0x159aec}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x3a5afa}from'./aireviewcheckresult.js';function _0x31c0(_0x446a2c,_0x542438){const _0x2b6e87=_0x2b6e();return _0x31c0=function(_0x31c0a2,_0x34520b){_0x31c0a2=_0x31c0a2-0x1d0;let _0x3e2cf8=_0x2b6e87[_0x31c0a2];return _0x3e2cf8;},_0x31c0(_0x446a2c,_0x542438);}import{AIReviewCheckResultChange as _0x17fa83}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x2075fe(){['id']=_0x159aec();[_0x33aa24(0x221)]=new Map();[_0x33aa24(0x216)]=[];[_0x33aa24(0x220)];[_0x33aa24(0x1e2)];[_0x33aa24(0x21c)];[_0x33aa24(0x1de)];[_0x33aa24(0x1f9)];[_0x33aa24(0x1e6)]=null;[_0x33aa24(0x1dc)];constructor(_0x1d20d2,_0x18b57f,_0x303fdf,_0x45ec33,_0x465385){const _0x21587a=_0x33aa24;super(),this[_0x21587a(0x220)]=_0x1d20d2,this[_0x21587a(0x1e2)]=_0x18b57f,this[_0x21587a(0x21c)]=_0x303fdf,this[_0x21587a(0x1de)]=_0x45ec33,this[_0x21587a(0x1f9)]=_0x465385,this['on'](_0x21587a(0x203),(_0x48ad5f,_0xc822cf,_0x4c07cc)=>{const _0x3b8b5a=_0x21587a;this[_0x3b8b5a(0x1f6)](_0x3b8b5a(0x1f3),{'status':_0x4c07cc,'run':this,'error':this[_0x3b8b5a(0x1dc)]});}),this[_0x21587a(0x1fe)](_0x21587a(0x1fc),_0x21587a(0x1dd));}get[_0x33aa24(0x1f7)](){const _0x1f86c5=_0x33aa24;return this[_0x1f86c5(0x220)];}get[_0x33aa24(0x200)](){const _0x55c9e7=_0x33aa24;return this[_0x55c9e7(0x221)][_0x55c9e7(0x21a)];}get[_0x33aa24(0x20f)](){const _0x550b53=_0x33aa24;return this[_0x550b53(0x1e2)][_0x550b53(0x20f)];}async[_0x33aa24(0x21b)](){const _0x447a81=_0x33aa24;this[_0x447a81(0x1fc)]=_0x447a81(0x202),this[_0x447a81(0x1dc)]=void 0x0;try{this[_0x447a81(0x1e6)]=this[_0x447a81(0x205)]();const _0x2a28b=await this[_0x447a81(0x1e6)][_0x447a81(0x1f5)]();this[_0x447a81(0x1fc)]=_0x447a81(0x20b);for await(const _0x50e8b1 of _0x2a28b)_0x447a81(0x1f8)!==_0x50e8b1[_0x447a81(0x20b)][_0x447a81(0x1f4)]&&(_0x447a81(0x212)!==_0x50e8b1[_0x447a81(0x20b)][_0x447a81(0x1f4)]?this[_0x447a81(0x1fa)](_0x50e8b1[_0x447a81(0x20b)][_0x447a81(0x213)],_0x50e8b1[_0x447a81(0x20b)][_0x447a81(0x1ed)]):this[_0x447a81(0x1fc)]=_0x447a81(0x208));_0x447a81(0x208)!==this[_0x447a81(0x1fc)]&&(0x0===this[_0x447a81(0x221)][_0x447a81(0x21a)]?this[_0x447a81(0x1fc)]=_0x447a81(0x1f8):this[_0x447a81(0x1fc)]=_0x447a81(0x1d3));}catch(_0x1ae7ff){this[_0x447a81(0x1dc)]=_0x1ae7ff,_0x1ae7ff instanceof Error&&_0x1ae7ff[_0x447a81(0x1ff)][_0x447a81(0x20a)](_0x447a81(0x1f2))?this[_0x447a81(0x1fc)]=_0x447a81(0x1db):this[_0x447a81(0x1fc)]=_0x447a81(0x1e1);}finally{this[_0x447a81(0x1e6)]=null;}}async[_0x33aa24(0x1ee)](){const _0x37349e=_0x33aa24;this[_0x37349e(0x221)][_0x37349e(0x1eb)](),this[_0x37349e(0x216)][_0x37349e(0x1f1)]=0x0,this[_0x37349e(0x1dc)]=void 0x0,await this[_0x37349e(0x21b)]();}[_0x33aa24(0x1ea)](_0x35b4f4,_0x232b6b){const _0x276d49=_0x33aa24,_0x4f9aee=this[_0x276d49(0x221)][_0x276d49(0x201)](_0x35b4f4);if(!_0x4f9aee)return;const _0x34ef37=[];_0x232b6b[_0x276d49(0x20e)]((_0x194681,_0x32b207)=>{const _0x316bc7=_0x276d49,_0x21eeb8=new _0x17fa83(_0x4f9aee['id']+'-'+_0x32b207,_0x194681,_0x4f9aee);_0x21eeb8['on'](_0x316bc7(0x203),()=>{const _0x3f36df=_0x316bc7;_0x3f36df(0x21f)===_0x21eeb8[_0x3f36df(0x1fc)]?this[_0x3f36df(0x1f6)](_0x3f36df(0x1e9),{'change':_0x21eeb8}):_0x3f36df(0x20c)===_0x21eeb8[_0x3f36df(0x1fc)]&&this[_0x3f36df(0x1f6)](_0x3f36df(0x214),{'change':_0x21eeb8});}),_0x21eeb8['on'](_0x316bc7(0x1fb),()=>{const _0x30e4c8=_0x316bc7;_0x21eeb8[_0x30e4c8(0x210)]?this[_0x30e4c8(0x1f6)](_0x30e4c8(0x1ec),{'change':_0x21eeb8}):this[_0x30e4c8(0x1f6)](_0x30e4c8(0x21e),{'change':_0x21eeb8});}),this[_0x316bc7(0x216)][_0x316bc7(0x1e3)](_0x21eeb8),_0x34ef37[_0x316bc7(0x1e3)](_0x21eeb8);}),this[_0x276d49(0x1f6)](_0x276d49(0x1df),{'changes':_0x34ef37,'result':_0x4f9aee,'source':this});}[_0x33aa24(0x1da)](){const _0x1a005d=_0x33aa24;this[_0x1a005d(0x1e6)]&&(this[_0x1a005d(0x1e6)][_0x1a005d(0x1e0)][_0x1a005d(0x1da)](),this[_0x1a005d(0x1e6)]=null,this[_0x1a005d(0x1fc)]=_0x1a005d(0x1db));}[_0x33aa24(0x1fd)](_0xb02aa4){const _0x56c304=_0x33aa24,_0x2732b2=this[_0x56c304(0x216)][_0x56c304(0x206)](_0x1c92d5=>_0x1c92d5['id']===_0xb02aa4);return!(!_0x2732b2||_0x56c304(0x1e5)!==_0x2732b2[_0x56c304(0x1fc)]);}[_0x33aa24(0x1d8)](){const _0x5590e8=_0x33aa24;return this[_0x5590e8(0x216)][_0x5590e8(0x215)](_0x200102=>_0x5590e8(0x1e5)===_0x200102[_0x5590e8(0x1fc)]);}[_0x33aa24(0x1d4)](){const _0x57b53c=_0x33aa24;for(const _0x205bf8 of this[_0x57b53c(0x216)])_0x57b53c(0x1e5)===_0x205bf8[_0x57b53c(0x1fc)]&&(_0x205bf8[_0x57b53c(0x1fc)]=_0x57b53c(0x21f));this[_0x57b53c(0x1e8)]();}[_0x33aa24(0x20d)](_0x5637e6){const _0x42f47a=_0x33aa24,_0x1e9fed=this[_0x42f47a(0x216)][_0x42f47a(0x206)](_0x5366df=>_0x5366df['id']===_0x5637e6);_0x1e9fed&&_0x42f47a(0x1e5)===_0x1e9fed[_0x42f47a(0x1fc)]&&(_0x1e9fed[_0x42f47a(0x1fc)]=_0x42f47a(0x21f)),this[_0x42f47a(0x1e8)]();}[_0x33aa24(0x218)](_0x5a436b){const _0x99d524=_0x33aa24,_0x1c3c21=this[_0x99d524(0x216)][_0x99d524(0x206)](_0x1596dd=>_0x1596dd['id']===_0x5a436b);_0x1c3c21&&_0x99d524(0x1e5)===_0x1c3c21[_0x99d524(0x1fc)]&&(_0x1c3c21[_0x99d524(0x1fc)]=_0x99d524(0x20c)),this[_0x99d524(0x1e8)]();}[_0x33aa24(0x211)](_0x47bebf){const _0x149f2f=_0x33aa24;this[_0x149f2f(0x216)][_0x149f2f(0x215)](_0xf99977=>_0xf99977[_0x149f2f(0x210)]&&_0xf99977['id']!==_0x47bebf)[_0x149f2f(0x20e)](_0x36dc7b=>{const _0x1be2c1=_0x149f2f;_0x36dc7b[_0x1be2c1(0x210)]=!0x1;});const _0x5ca23a=this[_0x149f2f(0x216)][_0x149f2f(0x206)](_0x1938ed=>_0x1938ed['id']===_0x47bebf);_0x5ca23a&&(_0x5ca23a[_0x149f2f(0x210)]=!0x0);}[_0x33aa24(0x1f0)](){const _0x27aec6=_0x33aa24;this[_0x27aec6(0x216)][_0x27aec6(0x215)](_0x945a=>_0x945a[_0x27aec6(0x210)])[_0x27aec6(0x20e)](_0x3295a8=>{const _0x207085=_0x27aec6;_0x3295a8[_0x207085(0x210)]=!0x1;});}[_0x33aa24(0x1ef)](){const _0x2ab774=_0x33aa24;this[_0x2ab774(0x1fc)]=_0x2ab774(0x1d3);}[_0x33aa24(0x1fa)](_0x39b026,_0x21bef6){const _0xb8512d=_0x33aa24,_0x597f35=this[_0xb8512d(0x220)][_0xb8512d(0x209)][_0xb8512d(0x201)](_0x39b026);if(!_0x597f35)return;const _0x3d3923=_0x597f35[_0xb8512d(0x204)]();if(_0x3d3923===_0x21bef6)return;const _0x1f70d2=new _0x3a5afa({'id':_0x39b026,'contentInitial':_0x3d3923,'contentNew':_0x21bef6,'documentVersion':this[_0xb8512d(0x220)][_0xb8512d(0x1d0)]});this[_0xb8512d(0x221)][_0xb8512d(0x1fe)](_0x1f70d2['id'],_0x1f70d2),this[_0xb8512d(0x1f6)](_0xb8512d(0x1e4),{'result':_0x1f70d2,'source':this});}[_0x33aa24(0x1e8)](){const _0x513271=_0x33aa24;if(_0x513271(0x1d3)!==this[_0x513271(0x1fc)])return;0x0===this[_0x513271(0x216)][_0x513271(0x215)](_0x19db18=>_0x513271(0x1e5)===_0x19db18[_0x513271(0x1fc)])[_0x513271(0x1f1)]&&(this[_0x513271(0x1fc)]=_0x513271(0x1e7));}[_0x33aa24(0x205)](){const _0x1c4b83=_0x33aa24;throw new Error(_0x1c4b83(0x1d1));}}function _0x2b6e(){const _0x2b73a9=['clear','reviewCheckResultActivated','textDelta','restart','forceReadyState','deactivateChange','length','ai-request-aborted','reviewCheckRunUpdated','operation','getStream','fire','documentData','unmodified','_reviewArgs','_addReviewCheckResult','change:isActivated','status','isChangeActive','set','message','processedResultsCount','get','loading','change:status','getContent','_createApiRequest','find','1424UeNbhy','error-chunk','elements','includes','data','rejected','markChangeAsAccepted','forEach','title','isActivated','activateChange','error','dataId','reviewCheckResultRejected','filter','_changes','72UkzTRd','markChangeAsRejected','5345742vDwame','size','start','_aiConnector','97dvuwiU','reviewCheckResultDeactivated','accepted','_documentData','_results','68592VZPfbg','version','Not\x20implemented.','6064600cIxuui','ready','markAllChangesAsAccepted','1322fOKbVf','15841ghzeLe','15178860LVOSUl','getActiveChanges','4929705XvVLkY','abort','aborted','_currentError','initialized','_reviewParams','reviewCheckResultReady','abortController','error-general','_sourceCheck','push','reviewCheckResultAdded','active','_activeRequest','finished','_checkIfFinished','reviewCheckResultAccepted','addResultChanges'];_0x2b6e=function(){return _0x2b73a9;};return _0x2b6e();}
@@ -15,4 +15,8 @@ import { type AIReviewCheck } from './aireviewcheck.js';
15
15
  */
16
16
  export declare class AIReviewCustomCheckRun extends AIReviewCheckRun {
17
17
  constructor(prompt: string, model: string, documentData: AIDocumentData, sourceCheck: AIReviewCheck, connector: AIConnector);
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ get title(): string;
18
22
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x19ee(_0x597a1b,_0x490d9e){var _0x2746ce=_0x2746();return _0x19ee=function(_0x19ee2b,_0x5624d8){_0x19ee2b=_0x19ee2b-0x9e;var _0x5aa9d1=_0x2746ce[_0x19ee2b];return _0x5aa9d1;},_0x19ee(_0x597a1b,_0x490d9e);}var _0x38b7cc=_0x19ee;(function(_0x5c1a40,_0x2e4e3a){var _0x54f9ac=_0x19ee,_0x242471=_0x5c1a40();while(!![]){try{var _0x14ecdb=-parseInt(_0x54f9ac(0xad))/0x1*(parseInt(_0x54f9ac(0xaa))/0x2)+-parseInt(_0x54f9ac(0xac))/0x3+-parseInt(_0x54f9ac(0xab))/0x4+parseInt(_0x54f9ac(0x9e))/0x5*(parseInt(_0x54f9ac(0xa3))/0x6)+-parseInt(_0x54f9ac(0xa6))/0x7+-parseInt(_0x54f9ac(0xa1))/0x8+parseInt(_0x54f9ac(0xa5))/0x9*(parseInt(_0x54f9ac(0xa4))/0xa);if(_0x14ecdb===_0x2e4e3a)break;else _0x242471['push'](_0x242471['shift']());}catch(_0x101bde){_0x242471['push'](_0x242471['shift']());}}}(_0x2746,0xa427d));import{AIReviewCheckRun as _0xa7a3c9}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0xa7a3c9{[_0x38b7cc(0xa2)];[_0x38b7cc(0xa9)];constructor(_0x157e2b,_0x3d058e,_0x1c6e35,_0x4e1edc,_0x41b60f){var _0x51b938=_0x38b7cc;super(_0x1c6e35,_0x4e1edc,_0x41b60f),this[_0x51b938(0xa2)]=_0x157e2b,this[_0x51b938(0xa9)]=_0x3d058e;}[_0x38b7cc(0x9f)](){var _0x46c9d5=_0x38b7cc;return this[_0x46c9d5(0xa8)][_0x46c9d5(0xae)]({'content':this[_0x46c9d5(0xa0)][_0x46c9d5(0xa7)],'prompt':this[_0x46c9d5(0xa2)],'model':this[_0x46c9d5(0xa9)]});}}function _0x2746(){var _0x44a0d3=['_model','12790bZsyWE','1744136aNBghh','3621546bvUSHy','10cSfDff','callCustomReview','397470eeEOGC','_createApiRequest','_documentData','8536288xFjcbd','_prompt','18HzCLFH','30rzXITd','11648178jQHIjM','4722375jeKSHf','content','_aiConnector'];_0x2746=function(){return _0x44a0d3;};return _0x2746();}
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
- const _0x259ff4=_0x1334;(function(_0x2ee72e,_0x158813){const _0x1d8279=_0x1334,_0x4c390f=_0x2ee72e();while(!![]){try{const _0x20e846=-parseInt(_0x1d8279(0x1f7))/0x1+parseInt(_0x1d8279(0x1ef))/0x2+parseInt(_0x1d8279(0x1f3))/0x3*(-parseInt(_0x1d8279(0x1f6))/0x4)+parseInt(_0x1d8279(0x1f1))/0x5+-parseInt(_0x1d8279(0x1ed))/0x6+-parseInt(_0x1d8279(0x1ec))/0x7*(-parseInt(_0x1d8279(0x1ee))/0x8)+parseInt(_0x1d8279(0x1f2))/0x9;if(_0x20e846===_0x158813)break;else _0x4c390f['push'](_0x4c390f['shift']());}catch(_0x4ac418){_0x4c390f['push'](_0x4c390f['shift']());}}}(_0x3561,0x84e04));import{EmitterMixin as _0x1f58b1}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x1f58b1(){[_0x259ff4(0x1f8)]=[];[_0x259ff4(0x1f9)];constructor({connector:_0x50e1af}){const _0x5a9520=_0x259ff4;super(),this[_0x5a9520(0x1f9)]=_0x50e1af;}async[_0x259ff4(0x1fb)](){const _0x2d3be1=_0x259ff4;if(!this[_0x2d3be1(0x1f8)][_0x2d3be1(0x1f5)])try{const _0x362dea=this[_0x2d3be1(0x1f9)][_0x2d3be1(0x1f4)](),_0x4526a7=await _0x362dea[_0x2d3be1(0x1f0)]();this[_0x2d3be1(0x1f8)]=_0x4526a7[_0x2d3be1(0x1fa)];}catch{}return this[_0x2d3be1(0x1f8)];}}function _0x1334(_0x28407f,_0x1cc32a){const _0x356119=_0x3561();return _0x1334=function(_0x1334a5,_0x2f7f9f){_0x1334a5=_0x1334a5-0x1ec;let _0x25651a=_0x356119[_0x1334a5];return _0x25651a;},_0x1334(_0x28407f,_0x1cc32a);}function _0x3561(){const _0x1ded6e=['list','2800170lJXoKP','8872713JeVryc','306081cmSJCD','getModels','length','8uCCUYZ','644290pIMNcW','_modelList','_connector','items','getAll','13237mXyFNA','4039590KrpHzT','1976yFyKJm','105802wvAjBK'];_0x3561=function(){return _0x1ded6e;};return _0x3561();}
23
+ function _0x1159(_0x508bea,_0x2d89dc){const _0x3babcd=_0x3bab();return _0x1159=function(_0x115924,_0x2e517a){_0x115924=_0x115924-0x12a;let _0x1d063a=_0x3babcd[_0x115924];return _0x1d063a;},_0x1159(_0x508bea,_0x2d89dc);}const _0x49c0c3=_0x1159;(function(_0x84d35,_0x5b2820){const _0x3bf6ea=_0x1159,_0x2a1271=_0x84d35();while(!![]){try{const _0x2c3aa2=-parseInt(_0x3bf6ea(0x134))/0x1*(-parseInt(_0x3bf6ea(0x137))/0x2)+parseInt(_0x3bf6ea(0x12e))/0x3+-parseInt(_0x3bf6ea(0x133))/0x4+-parseInt(_0x3bf6ea(0x12d))/0x5*(-parseInt(_0x3bf6ea(0x139))/0x6)+parseInt(_0x3bf6ea(0x135))/0x7+parseInt(_0x3bf6ea(0x136))/0x8+-parseInt(_0x3bf6ea(0x12c))/0x9;if(_0x2c3aa2===_0x5b2820)break;else _0x2a1271['push'](_0x2a1271['shift']());}catch(_0x456084){_0x2a1271['push'](_0x2a1271['shift']());}}}(_0x3bab,0xc4cdc));function _0x3bab(){const _0x1ecc35=['getAll','length','30421017YflGzx','175KVjPZJ','4228059HGkuvh','list','items','_modelList','getModels','526352YKjYDR','5818lIqClL','2277765LpDkDy','1010520pOJPAO','444fKoWOq','_connector','199740WzSiij'];_0x3bab=function(){return _0x1ecc35;};return _0x3bab();}import{EmitterMixin as _0x51d36e}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x51d36e(){[_0x49c0c3(0x131)]=[];[_0x49c0c3(0x138)];constructor({connector:_0x119466}){const _0x596fb7=_0x49c0c3;super(),this[_0x596fb7(0x138)]=_0x119466;}async[_0x49c0c3(0x12a)](){const _0x491128=_0x49c0c3;if(!this[_0x491128(0x131)][_0x491128(0x12b)])try{const _0x34489c=this[_0x491128(0x138)][_0x491128(0x132)](),_0x2460b8=await _0x34489c[_0x491128(0x12f)]();this[_0x491128(0x131)]=_0x2460b8[_0x491128(0x130)];}catch{}return this[_0x491128(0x131)];}}