@ckeditor/ckeditor5-ai 47.1.0 → 47.2.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (498) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +573 -203
  75. package/dist/index.css +627 -204
  76. package/dist/index.js +5 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/contexts.json +8 -1
  224. package/lang/translations/af.po +52 -4
  225. package/lang/translations/ar.po +52 -4
  226. package/lang/translations/ast.po +52 -4
  227. package/lang/translations/az.po +52 -4
  228. package/lang/translations/be.po +52 -4
  229. package/lang/translations/bg.po +52 -4
  230. package/lang/translations/bn.po +52 -4
  231. package/lang/translations/bs.po +52 -4
  232. package/lang/translations/ca.po +52 -4
  233. package/lang/translations/cs.po +52 -4
  234. package/lang/translations/da.po +52 -4
  235. package/lang/translations/de-ch.po +52 -4
  236. package/lang/translations/de.po +52 -4
  237. package/lang/translations/el.po +52 -4
  238. package/lang/translations/en-au.po +52 -4
  239. package/lang/translations/en-gb.po +52 -4
  240. package/lang/translations/en.po +52 -4
  241. package/lang/translations/eo.po +52 -4
  242. package/lang/translations/es-co.po +52 -4
  243. package/lang/translations/es.po +52 -4
  244. package/lang/translations/et.po +52 -4
  245. package/lang/translations/eu.po +52 -4
  246. package/lang/translations/fa.po +52 -4
  247. package/lang/translations/fi.po +52 -4
  248. package/lang/translations/fr.po +52 -4
  249. package/lang/translations/gl.po +52 -4
  250. package/lang/translations/gu.po +52 -4
  251. package/lang/translations/he.po +52 -4
  252. package/lang/translations/hi.po +52 -4
  253. package/lang/translations/hr.po +52 -4
  254. package/lang/translations/hu.po +52 -4
  255. package/lang/translations/hy.po +52 -4
  256. package/lang/translations/id.po +52 -4
  257. package/lang/translations/it.po +52 -4
  258. package/lang/translations/ja.po +52 -4
  259. package/lang/translations/jv.po +52 -4
  260. package/lang/translations/kk.po +52 -4
  261. package/lang/translations/km.po +52 -4
  262. package/lang/translations/kn.po +52 -4
  263. package/lang/translations/ko.po +52 -4
  264. package/lang/translations/ku.po +52 -4
  265. package/lang/translations/lt.po +52 -4
  266. package/lang/translations/lv.po +52 -4
  267. package/lang/translations/ms.po +52 -4
  268. package/lang/translations/nb.po +52 -4
  269. package/lang/translations/ne.po +52 -4
  270. package/lang/translations/nl.po +52 -4
  271. package/lang/translations/no.po +52 -4
  272. package/lang/translations/oc.po +52 -4
  273. package/lang/translations/pl.po +52 -4
  274. package/lang/translations/pt-br.po +52 -4
  275. package/lang/translations/pt.po +52 -4
  276. package/lang/translations/ro.po +52 -4
  277. package/lang/translations/ru.po +52 -4
  278. package/lang/translations/si.po +52 -4
  279. package/lang/translations/sk.po +52 -4
  280. package/lang/translations/sl.po +52 -4
  281. package/lang/translations/sq.po +52 -4
  282. package/lang/translations/sr-latn.po +52 -4
  283. package/lang/translations/sr.po +52 -4
  284. package/lang/translations/sv.po +52 -4
  285. package/lang/translations/th.po +52 -4
  286. package/lang/translations/ti.po +52 -4
  287. package/lang/translations/tk.po +52 -4
  288. package/lang/translations/tr.po +52 -4
  289. package/lang/translations/tt.po +52 -4
  290. package/lang/translations/ug.po +52 -4
  291. package/lang/translations/uk.po +52 -4
  292. package/lang/translations/ur.po +52 -4
  293. package/lang/translations/uz.po +52 -4
  294. package/lang/translations/vi.po +52 -4
  295. package/lang/translations/zh-cn.po +52 -4
  296. package/lang/translations/zh.po +52 -4
  297. package/package.json +15 -15
  298. package/src/aiactions/aiactions.d.ts +1 -1
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +5 -1
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.d.ts +1 -1
  330. package/src/aichat/aichatcontroller.js +1 -1
  331. package/src/aichat/aichatui.d.ts +1 -0
  332. package/src/aichat/aichatui.js +1 -1
  333. package/src/aichat/model/aichatcontext.d.ts +4 -0
  334. package/src/aichat/model/aichatcontext.js +1 -1
  335. package/src/aichat/model/aichatconversation.js +1 -1
  336. package/src/aichat/model/aichatinteraction.js +1 -1
  337. package/src/aichat/model/aichatmodels.d.ts +8 -29
  338. package/src/aichat/model/aichatmodels.js +1 -1
  339. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
  340. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  341. package/src/aichat/ui/aichatfeedview.d.ts +2 -2
  342. package/src/aichat/ui/aichatfeedview.js +1 -1
  343. package/src/aichat/ui/aichatheaderview.js +1 -1
  344. package/src/aichat/ui/aichatview.d.ts +4 -1
  345. package/src/aichat/ui/aichatview.js +1 -1
  346. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  347. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +4 -1
  350. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  351. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  352. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  353. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  354. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  355. package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
  356. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
  357. package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
  358. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
  359. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  360. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
  361. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  362. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  363. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  367. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
  371. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  372. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  373. package/src/aichat/utils/eventnames.js +1 -1
  374. package/src/aichat/utils/promisequeue.js +1 -1
  375. package/src/aichat/utils/scrollmanager.js +1 -1
  376. package/src/aichathistory/aichathistory.js +1 -1
  377. package/src/aichathistory/aichathistorycontroller.js +1 -1
  378. package/src/aichathistory/aichathistoryui.js +1 -1
  379. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  380. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  381. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  382. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -1
  383. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  385. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  386. package/src/aiconfig.d.ts +28 -7
  387. package/src/aicore/aiconnector.d.ts +1 -0
  388. package/src/aicore/aiconnector.js +1 -1
  389. package/src/aicore/aiediting.js +1 -1
  390. package/src/aicore/model/aicapabilities.js +1 -1
  391. package/src/aicore/model/aicontext.js +1 -1
  392. package/src/aicore/model/aiinteraction.js +1 -1
  393. package/src/aicore/model/aimodels.d.ts +66 -0
  394. package/src/aicore/model/aimodels.js +23 -0
  395. package/src/aicore/model/aireply.d.ts +9 -1
  396. package/src/aicore/model/aireply.js +1 -1
  397. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  398. package/src/aicore/pipeline/airesponseparser.js +2 -2
  399. package/src/aicore/ui/aidisclaimerview.js +1 -1
  400. package/src/aicore/ui/aiskeleton.js +1 -1
  401. package/src/aicore/ui/aispinner.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +5 -2
  404. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  407. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
  408. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  409. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  410. package/src/aicore/utils/common-translations.js +1 -1
  411. package/src/aicore/utils/createresizebutton.js +1 -1
  412. package/src/aicore/utils/documentposition.js +1 -1
  413. package/src/aicore/utils/documentrange.js +1 -1
  414. package/src/aicore/utils/eventnames.js +1 -1
  415. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  416. package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
  417. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  418. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  419. package/src/aicore/utils/htmlparser.js +1 -1
  420. package/src/aicore/utils/htmlstreamer.js +1 -1
  421. package/src/aieditorintegration/aieditorintegration.d.ts +2 -1
  422. package/src/aieditorintegration/aieditorintegration.js +1 -1
  423. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  424. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  425. package/src/aiquickactions/aiquickactions.js +1 -1
  426. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  427. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  428. package/src/aiquickactions/aiquickactionsui.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  431. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.js +1 -1
  434. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  435. package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
  436. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  437. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  438. package/src/aireviewmode/aireviewmodeui.js +1 -1
  439. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  440. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
  441. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  442. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  444. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  445. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
  447. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  448. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  449. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  450. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  451. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  452. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
  453. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  454. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  455. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
  456. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
  457. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  466. package/src/aitabs/aitabs.js +1 -1
  467. package/src/aitabs/aitabsmainview.js +1 -1
  468. package/src/aitabs/tabs/aitabsview.js +1 -1
  469. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  470. package/src/aitabs/tabs/tabpanelview.js +1 -1
  471. package/src/errors.js +1 -1
  472. package/src/index.d.ts +1 -0
  473. package/src/index.js +1 -1
  474. package/theme/aiballoon/aiballoon.css +12 -0
  475. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  476. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
  477. package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
  478. package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
  479. package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
  480. package/theme/aichat/aichat-controls.css +11 -27
  481. package/theme/aichat/aichat.css +2 -3
  482. package/theme/aichat/aichatfeed.css +1 -27
  483. package/theme/aichat/aichathistory.css +12 -0
  484. package/theme/aichat/aisuggestioncontainer.css +5 -0
  485. package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
  486. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  487. package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
  488. package/theme/aireviewmode/aireviewmode.css +17 -7
  489. package/theme/aitabs/aitabsview.css +1 -1
  490. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  491. package/theme/aitabs/tabs/tabsview.css +1 -0
  492. package/theme/common/aibutton.css +27 -0
  493. package/theme/common/aiheader.css +14 -4
  494. package/theme/common/aitrackchanges.css +8 -1
  495. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
  496. package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
  497. package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
  498. package/src/aireviewmode/model/aireviewmodels.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x7ca578=_0x1054;(function(_0x522e7a,_0x4ebf58){var _0x12764e=_0x1054,_0x3e815c=_0x522e7a();while(!![]){try{var _0x22cba8=parseInt(_0x12764e(0x8b))/0x1+parseInt(_0x12764e(0x8a))/0x2+parseInt(_0x12764e(0x89))/0x3*(-parseInt(_0x12764e(0x90))/0x4)+parseInt(_0x12764e(0x87))/0x5*(parseInt(_0x12764e(0x8c))/0x6)+-parseInt(_0x12764e(0x88))/0x7+parseInt(_0x12764e(0x86))/0x8*(-parseInt(_0x12764e(0x95))/0x9)+-parseInt(_0x12764e(0x93))/0xa;if(_0x22cba8===_0x4ebf58)break;else _0x3e815c['push'](_0x3e815c['shift']());}catch(_0x44516a){_0x3e815c['push'](_0x3e815c['shift']());}}}(_0xceea,0x58ce1));function _0x1054(_0x41c27a,_0x32ba95){var _0xceea44=_0xceea();return _0x1054=function(_0x1054a7,_0x2a6f84){_0x1054a7=_0x1054a7-0x85;var _0xdfe5d8=_0xceea44[_0x1054a7];return _0xdfe5d8;},_0x1054(_0x41c27a,_0x32ba95);}import{ObservableMixin as _0x4c5eda}from'ckeditor5/src/utils.js';function _0xceea(){var _0x352f84=['custom','331852RYnOLP','getCheckById','map','1890770VkruBr','find','1997694OdvCkM','_checks','8CcwfQi','40ENZJbM','1369025GONYtx','6dFsJYD','1228652mwlJGO','500411DKJTPF','16164KrKhLf','checks','_mapCheckDefinitions'];_0xceea=function(){return _0x352f84;};return _0xceea();}import{AIReviewCheck as _0x31ea81}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x5b0ac7}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x4c5eda(){[_0x7ca578(0x85)];constructor(_0x3eadee){var _0x257bcf=_0x7ca578;super(),this[_0x257bcf(0x85)]=this[_0x257bcf(0x8e)](_0x3eadee);}get[_0x7ca578(0x8d)](){var _0x2844c4=_0x7ca578;return this[_0x2844c4(0x85)];}[_0x7ca578(0x91)](_0x55463e){var _0x5c0ef8=_0x7ca578;return this[_0x5c0ef8(0x8d)][_0x5c0ef8(0x94)](_0x4f6ebc=>_0x4f6ebc['id']===_0x55463e);}[_0x7ca578(0x8e)](_0x3dfdf2){var _0x30cbf1=_0x7ca578;return _0x3dfdf2[_0x30cbf1(0x92)](_0xb5f4d7=>_0x30cbf1(0x8f)===_0xb5f4d7['id']?new _0x5b0ac7(_0xb5f4d7):new _0x31ea81(_0xb5f4d7));}}
23
+ var _0x17fa23=_0x2606;(function(_0x345012,_0x2f8883){var _0xf9ebc2=_0x2606,_0x570dde=_0x345012();while(!![]){try{var _0x7f6a5e=parseInt(_0xf9ebc2(0x130))/0x1+-parseInt(_0xf9ebc2(0x132))/0x2+-parseInt(_0xf9ebc2(0x133))/0x3*(-parseInt(_0xf9ebc2(0x12d))/0x4)+parseInt(_0xf9ebc2(0x134))/0x5*(-parseInt(_0xf9ebc2(0x139))/0x6)+parseInt(_0xf9ebc2(0x12f))/0x7+parseInt(_0xf9ebc2(0x136))/0x8+-parseInt(_0xf9ebc2(0x137))/0x9*(-parseInt(_0xf9ebc2(0x13c))/0xa);if(_0x7f6a5e===_0x2f8883)break;else _0x570dde['push'](_0x570dde['shift']());}catch(_0x3b7cca){_0x570dde['push'](_0x570dde['shift']());}}}(_0x5f46,0x8b333));function _0x2606(_0x268e0f,_0x5d044b){var _0x5f464e=_0x5f46();return _0x2606=function(_0x2606a8,_0x47551c){_0x2606a8=_0x2606a8-0x12c;var _0x325bd8=_0x5f464e[_0x2606a8];return _0x325bd8;},_0x2606(_0x268e0f,_0x5d044b);}function _0x5f46(){var _0x318405=['1699264fgrWzV','411215XdsOuz','find','1840282Oxbanw','33yGrPPw','85IclEyA','custom','3796600OrqdAt','56043JlENYe','_mapCheckDefinitions','220074WUAVrp','checks','_checks','20kcVPOx','map','353764eNTJpf','getCheckById'];_0x5f46=function(){return _0x318405;};return _0x5f46();}import{ObservableMixin as _0x4b2f56}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x5e147c}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x288b63}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x4b2f56(){[_0x17fa23(0x13b)];constructor(_0x22ae98){var _0x183e8d=_0x17fa23;super(),this[_0x183e8d(0x13b)]=this[_0x183e8d(0x138)](_0x22ae98);}get[_0x17fa23(0x13a)](){var _0x385a47=_0x17fa23;return this[_0x385a47(0x13b)];}[_0x17fa23(0x12e)](_0x19a422){var _0x889e37=_0x17fa23;return this[_0x889e37(0x13a)][_0x889e37(0x131)](_0x2f5897=>_0x2f5897['id']===_0x19a422);}[_0x17fa23(0x138)](_0x554519){var _0x5cf78f=_0x17fa23;return _0x554519[_0x5cf78f(0x12c)](_0x3f7b5b=>_0x5cf78f(0x135)===_0x3f7b5b['id']?new _0x288b63(_0x3f7b5b):new _0x5e147c(_0x3f7b5b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3584(_0x27fd65,_0x132639){var _0x250ae0=_0x250a();return _0x3584=function(_0x358401,_0x351bf9){_0x358401=_0x358401-0x1b3;var _0x16089b=_0x250ae0[_0x358401];return _0x16089b;},_0x3584(_0x27fd65,_0x132639);}var _0x4e47a8=_0x3584;function _0x250a(){var _0x2481ed=['236455ObrluJ','235002yFTBSr','6QVpGpa','64426728cvkdWX','26UmDrvR','1257219VQNduc','3495681HefTew','858810zxjZnD','contentNew','contentInitial','1448AzDZjC','documentVersion','13mpoSKc','20pbkOFb','121elGhJj','55323wXgjOc'];_0x250a=function(){return _0x2481ed;};return _0x250a();}(function(_0x43584f,_0x2c00e6){var _0x405fac=_0x3584,_0x23eb4c=_0x43584f();while(!![]){try{var _0x4a8da8=-parseInt(_0x405fac(0x1b3))/0x1+-parseInt(_0x405fac(0x1c2))/0x2*(parseInt(_0x405fac(0x1bf))/0x3)+parseInt(_0x405fac(0x1bb))/0x4*(parseInt(_0x405fac(0x1be))/0x5)+-parseInt(_0x405fac(0x1c0))/0x6*(parseInt(_0x405fac(0x1b4))/0x7)+-parseInt(_0x405fac(0x1b8))/0x8*(parseInt(_0x405fac(0x1bd))/0x9)+-parseInt(_0x405fac(0x1b5))/0xa*(parseInt(_0x405fac(0x1bc))/0xb)+-parseInt(_0x405fac(0x1c1))/0xc*(-parseInt(_0x405fac(0x1ba))/0xd);if(_0x4a8da8===_0x2c00e6)break;else _0x23eb4c['push'](_0x23eb4c['shift']());}catch(_0x543617){_0x23eb4c['push'](_0x23eb4c['shift']());}}}(_0x250a,0xbcbf3));import{EmitterMixin as _0x1bcd40}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x1bcd40(){['id'];[_0x4e47a8(0x1b6)];[_0x4e47a8(0x1b7)];[_0x4e47a8(0x1b9)];constructor({id:_0x4ef77f,contentNew:_0x964d9d,contentInitial:_0x9e9232,documentVersion:_0x3802e4}){var _0x28e4d6=_0x4e47a8;super(),this['id']=_0x4ef77f,this[_0x28e4d6(0x1b6)]=_0x964d9d,this[_0x28e4d6(0x1b7)]=_0x9e9232,this[_0x28e4d6(0x1b9)]=_0x3802e4;}}
23
+ var _0x528ace=_0x2e83;function _0x2e83(_0x46196c,_0x251931){var _0x47cf36=_0x47cf();return _0x2e83=function(_0x2e8350,_0x470ac3){_0x2e8350=_0x2e8350-0x142;var _0x2e9f63=_0x47cf36[_0x2e8350];return _0x2e9f63;},_0x2e83(_0x46196c,_0x251931);}(function(_0x3fb184,_0x330658){var _0x71c16c=_0x2e83,_0xd76323=_0x3fb184();while(!![]){try{var _0x470ddf=parseInt(_0x71c16c(0x149))/0x1*(-parseInt(_0x71c16c(0x14d))/0x2)+-parseInt(_0x71c16c(0x143))/0x3*(parseInt(_0x71c16c(0x144))/0x4)+-parseInt(_0x71c16c(0x142))/0x5*(parseInt(_0x71c16c(0x14e))/0x6)+-parseInt(_0x71c16c(0x146))/0x7+parseInt(_0x71c16c(0x148))/0x8+-parseInt(_0x71c16c(0x14b))/0x9*(-parseInt(_0x71c16c(0x145))/0xa)+parseInt(_0x71c16c(0x14f))/0xb;if(_0x470ddf===_0x330658)break;else _0xd76323['push'](_0xd76323['shift']());}catch(_0x31e359){_0xd76323['push'](_0xd76323['shift']());}}}(_0x47cf,0x4af49));import{EmitterMixin as _0x2f2187}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x2f2187(){['id'];[_0x528ace(0x14c)];[_0x528ace(0x147)];[_0x528ace(0x14a)];constructor({id:_0x3d7483,contentNew:_0x3c181d,contentInitial:_0x38cf4a,documentVersion:_0x18abda}){var _0x5dd516=_0x528ace;super(),this['id']=_0x3d7483,this[_0x5dd516(0x14c)]=_0x3c181d,this[_0x5dd516(0x147)]=_0x38cf4a,this[_0x5dd516(0x14a)]=_0x18abda;}}function _0x47cf(){var _0xc8bb81=['6HNwSbM','7834310CWvfNt','2045735Gfszzv','3747CssLsn','1516hOAToP','2917480hMuYFB','653737GEmtXM','contentInitial','950488sIsCqw','131591KxrmhY','documentVersion','18tTanUQ','contentNew','2oTZtrH'];_0x47cf=function(){return _0xc8bb81;};return _0x47cf();}
@@ -30,7 +30,7 @@ export declare class AIReviewCheckResultChange extends /* #__PURE__ */ AIReviewC
30
30
  *
31
31
  * @observable
32
32
  */
33
- status: 'active' | 'accepted' | 'rejected';
33
+ status: 'pending' | 'accepted' | 'rejected' | 'outdated';
34
34
  /**
35
35
  * Indicates whether the change is currently activated.
36
36
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x191c(_0x523517,_0x251313){var _0x2161d4=_0x2161();return _0x191c=function(_0x191c86,_0x24b42c){_0x191c86=_0x191c86-0x7b;var _0x21a862=_0x2161d4[_0x191c86];return _0x21a862;},_0x191c(_0x523517,_0x251313);}var _0x35cfc8=_0x191c;function _0x2161(){var _0x278757=['isRated','105pQFlwk','contentDiffed','255740xgEADz','416854czIdCS','operationsIsolated','315430axcNHd','1722440pfSYlT','status','_data','_editorOperations','2056548zvGnpp','active','set','parent','78IEtnyw','context','396QglDSc','operations','29938xcJkHq','isActivated','33103ROFISe'];_0x2161=function(){return _0x278757;};return _0x2161();}(function(_0x90a9bc,_0x188bce){var _0x446efd=_0x191c,_0x4fa1dc=_0x90a9bc();while(!![]){try{var _0x4c2c22=parseInt(_0x446efd(0x80))/0x1+-parseInt(_0x446efd(0x8f))/0x2*(-parseInt(_0x446efd(0x7d))/0x3)+parseInt(_0x446efd(0x87))/0x4+-parseInt(_0x446efd(0x7f))/0x5+parseInt(_0x446efd(0x8b))/0x6*(parseInt(_0x446efd(0x7b))/0x7)+parseInt(_0x446efd(0x83))/0x8+-parseInt(_0x446efd(0x8d))/0x9*(parseInt(_0x446efd(0x82))/0xa);if(_0x4c2c22===_0x188bce)break;else _0x4fa1dc['push'](_0x4fa1dc['shift']());}catch(_0x401954){_0x4fa1dc['push'](_0x4fa1dc['shift']());}}}(_0x2161,0x47728));import{ObservableMixin as _0x1a18a0}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x1a18a0(){['id'];[_0x35cfc8(0x8a)];[_0x35cfc8(0x85)];[_0x35cfc8(0x86)]=[];constructor(_0x12aca3,_0x131a35,_0x540c77){var _0x2e955b=_0x35cfc8;super(),this['id']=_0x12aca3,this[_0x2e955b(0x8a)]=_0x540c77,this[_0x2e955b(0x85)]=_0x131a35,this[_0x2e955b(0x89)](_0x2e955b(0x90),!0x1),this[_0x2e955b(0x89)](_0x2e955b(0x7c),!0x1),this[_0x2e955b(0x89)](_0x2e955b(0x84),_0x2e955b(0x88));}get[_0x35cfc8(0x7e)](){var _0xc6c051=_0x35cfc8;return this[_0xc6c051(0x85)][_0xc6c051(0x8c)]();}get[_0x35cfc8(0x8e)](){var _0x15c221=_0x35cfc8;return this[_0x15c221(0x85)][_0x15c221(0x8e)];}get[_0x35cfc8(0x81)](){var _0x38a023=_0x35cfc8;return this[_0x38a023(0x85)][_0x38a023(0x81)];}}
23
+ function _0x56ea(){var _0x35fa9c=['set','pending','1896JszkyF','isRated','change:status','operationsIsolated','context','operations','1116891DOPOdf','845SdAsAT','_data','1fEgiXg','3032744wtGVIB','_editorOperations','status','2470890jiLIMD','contentDiffed','isActivated','4348253iGkBFS','1457604lngcda','parent','1418319bROCSf'];_0x56ea=function(){return _0x35fa9c;};return _0x56ea();}var _0x564b6b=_0x3b74;(function(_0x3bcfd4,_0x4b3b5e){var _0x531507=_0x3b74,_0xe2072d=_0x3bcfd4();while(!![]){try{var _0x285dca=-parseInt(_0x531507(0x118))/0x1*(parseInt(_0x531507(0x120))/0x2)+-parseInt(_0x531507(0x115))/0x3+-parseInt(_0x531507(0x125))/0x4*(parseInt(_0x531507(0x116))/0x5)+parseInt(_0x531507(0x11c))/0x6+parseInt(_0x531507(0x11f))/0x7+parseInt(_0x531507(0x119))/0x8+parseInt(_0x531507(0x122))/0x9;if(_0x285dca===_0x4b3b5e)break;else _0xe2072d['push'](_0xe2072d['shift']());}catch(_0x8be0b0){_0xe2072d['push'](_0xe2072d['shift']());}}}(_0x56ea,0x5ed79));import{ObservableMixin as _0x2efdb0}from'ckeditor5/src/utils.js';function _0x3b74(_0x20406f,_0x513c15){var _0x56ea3a=_0x56ea();return _0x3b74=function(_0x3b74b4,_0x2cf94d){_0x3b74b4=_0x3b74b4-0x114;var _0x2c6b22=_0x56ea3a[_0x3b74b4];return _0x2c6b22;},_0x3b74(_0x20406f,_0x513c15);}export class AIReviewCheckResultChange extends _0x2efdb0(){['id'];[_0x564b6b(0x121)];[_0x564b6b(0x117)];[_0x564b6b(0x11a)]=[];constructor(_0x545301,_0x293952,_0x270f42){var _0x35c007=_0x564b6b;super(),this['id']=_0x545301,this[_0x35c007(0x121)]=_0x270f42,this[_0x35c007(0x117)]=_0x293952,this[_0x35c007(0x123)](_0x35c007(0x11e),!0x1),this[_0x35c007(0x123)](_0x35c007(0x126),!0x1),this[_0x35c007(0x123)](_0x35c007(0x11b),_0x35c007(0x124)),this['on'](_0x35c007(0x127),()=>{var _0x2dcc1c=_0x35c007;_0x2dcc1c(0x124)!==this[_0x2dcc1c(0x11b)]&&this[_0x2dcc1c(0x11e)]&&(this[_0x2dcc1c(0x11e)]=!0x1);});}get[_0x564b6b(0x11d)](){var _0x220ce1=_0x564b6b;return this[_0x220ce1(0x117)][_0x220ce1(0x129)]();}get[_0x564b6b(0x114)](){var _0x1d6286=_0x564b6b;return this[_0x1d6286(0x117)][_0x1d6286(0x114)];}get[_0x564b6b(0x128)](){var _0x3f4ed1=_0x564b6b;return this[_0x3f4ed1(0x117)][_0x3f4ed1(0x128)];}}
@@ -52,6 +52,10 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
52
52
  * Whether the check run has any modifications (accepted or rejected changes).
53
53
  */
54
54
  get hasModifications(): boolean;
55
+ /**
56
+ * Returns the current error that occurred during the check run, if any.
57
+ */
58
+ get currentError(): Error | undefined;
55
59
  /**
56
60
  * Starts the check run resulting in an API call. After the call is finished, the status
57
61
  * and list of changes are updated.
@@ -71,6 +75,8 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
71
75
  markAllChangesAsAccepted(): void;
72
76
  markChangeAsAccepted(changeId: string): void;
73
77
  markChangeAsRejected(changeId: string): void;
78
+ markChangeAsOutdated(changeId: string): void;
79
+ markChangeAsPending(changeId: string): void;
74
80
  activateChange(changeId: string): void;
75
81
  deactivateChange(): void;
76
82
  forceReadyState(): void;
@@ -120,19 +126,12 @@ export type AIReviewCheckResultReadyEvent = {
120
126
  }
121
127
  ];
122
128
  };
123
- export type AIReviewCheckResultChangeAcceptedEvent = {
124
- name: 'reviewCheckResultAccepted';
125
- args: [
126
- {
127
- change: AIReviewCheckResultChange;
128
- }
129
- ];
130
- };
131
- export type AIReviewCheckResultChangeRejectedEvent = {
132
- name: 'reviewCheckResultRejected';
129
+ export type AIReviewCheckResultChangeStatusUpdatedEvent = {
130
+ name: 'reviewCheckResultChangeStatusUpdated';
133
131
  args: [
134
132
  {
135
133
  change: AIReviewCheckResultChange;
134
+ status: AIReviewCheckResultChange['status'];
136
135
  }
137
136
  ];
138
137
  };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x34b8(){const _0x29b97c=['aborted','815590tWIGTB','67923wEeZzk','reviewCheckResultActivated','includes','initialized','9vEQRif','reviewCheckResultReady','_createApiRequest','get','_sendRatingRequest','processedResultsCount','change:status','_checkIfFinished','9762UbivZc','_addReviewCheckResult','dataId','set','error-chunk','status','find','textDelta','24ZFFnTB','_reviewArgs','reviewName','abortController','markAllChangesAsAccepted','ai-request-aborted','operation','422002DERIdO','title','2113144RzGCue','_documentData','490ihcbnj','hasModifications','getContent','isChangeActive','reviewCheckResultAccepted','filter','10068DjmhCK','review-metadata','reviewCheckResultAdded','subTitle','abort','activateChange','sendRating','loading','ready','forceReadyState','_changes','start','elements','693875kfrwzY','parent','length','1TuYNWN','markChangeAsAccepted','_aiConnector','_activeRequest','clear','callId','finished','reviewCheckResultRejected','addResultChanges','getActiveChanges','event','restart','reviewCheckResultDeactivated','data','accepted','rejected','change:isActivated','_currentError','version','documentData','unmodified','push','fire','error-general','forEach','error','every','isRated','getStream','2915ZzDoJE','reviewCheckRunUpdated','_sourceCheck','_results','markChangeAsRejected','message','deactivateChange','active','_reviewParams','size','isActivated'];_0x34b8=function(){return _0x29b97c;};return _0x34b8();}function _0x3ebb(_0x4e5fb5,_0x478bb7){const _0x34b81f=_0x34b8();return _0x3ebb=function(_0x3ebb66,_0x54d9a5){_0x3ebb66=_0x3ebb66-0x15a;let _0x2cd2ab=_0x34b81f[_0x3ebb66];return _0x2cd2ab;},_0x3ebb(_0x4e5fb5,_0x478bb7);}const _0x34c8b5=_0x3ebb;(function(_0x35cfb1,_0x2e7ca9){const _0x5712eb=_0x3ebb,_0x540a81=_0x35cfb1();while(!![]){try{const _0xcfc13d=parseInt(_0x5712eb(0x15a))/0x1*(parseInt(_0x5712eb(0x19f))/0x2)+-parseInt(_0x5712eb(0x184))/0x3*(-parseInt(_0x5712eb(0x198))/0x4)+-parseInt(_0x5712eb(0x1b6))/0x5+parseInt(_0x5712eb(0x190))/0x6*(parseInt(_0x5712eb(0x1a3))/0x7)+parseInt(_0x5712eb(0x1a1))/0x8*(-parseInt(_0x5712eb(0x188))/0x9)+-parseInt(_0x5712eb(0x183))/0xa+-parseInt(_0x5712eb(0x177))/0xb*(-parseInt(_0x5712eb(0x1a9))/0xc);if(_0xcfc13d===_0x2e7ca9)break;else _0x540a81['push'](_0x540a81['shift']());}catch(_0x185940){_0x540a81['push'](_0x540a81['shift']());}}}(_0x34b8,0x307c3));import{ObservableMixin as _0xaa832d,uid as _0xa6000e}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x47c163}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x1f0f1e}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0xaa832d(){['id']=_0xa6000e();[_0x34c8b5(0x15f)];[_0x34c8b5(0x17a)]=new Map();[_0x34c8b5(0x1b3)]=[];[_0x34c8b5(0x1a2)];[_0x34c8b5(0x179)];[_0x34c8b5(0x15c)];[_0x34c8b5(0x17f)];[_0x34c8b5(0x199)];[_0x34c8b5(0x15d)]=null;[_0x34c8b5(0x16b)];constructor(_0x432990,_0x42816c,_0x24589c,_0x470ab,_0x371e9c){const _0xb78c05=_0x34c8b5;super(),this[_0xb78c05(0x1a2)]=_0x432990,this[_0xb78c05(0x179)]=_0x42816c,this[_0xb78c05(0x15c)]=_0x24589c,this[_0xb78c05(0x17f)]=_0x470ab,this[_0xb78c05(0x199)]=_0x371e9c,this['on'](_0xb78c05(0x18e),(_0x43392e,_0xa7f400,_0x3599ab)=>{const _0x9e802=_0xb78c05;this[_0x9e802(0x170)](_0x9e802(0x178),{'status':_0x3599ab,'run':this,'error':this[_0x9e802(0x16b)]});}),this[_0xb78c05(0x193)](_0xb78c05(0x195),_0xb78c05(0x187));}get[_0x34c8b5(0x16d)](){const _0x1491b4=_0x34c8b5;return this[_0x1491b4(0x1a2)];}get[_0x34c8b5(0x18d)](){const _0x1c1faa=_0x34c8b5;return this[_0x1c1faa(0x17a)][_0x1c1faa(0x180)];}get[_0x34c8b5(0x1a0)](){const _0x5b8f9b=_0x34c8b5;return this[_0x5b8f9b(0x179)][_0x5b8f9b(0x1a0)];}get[_0x34c8b5(0x1ac)](){return'';}get[_0x34c8b5(0x19a)](){const _0x1ed58b=_0x34c8b5;return this[_0x1ed58b(0x179)]['id'];}get[_0x34c8b5(0x1a4)](){const _0xb20ce1=_0x34c8b5;return!this[_0xb20ce1(0x1b3)][_0xb20ce1(0x174)](_0x25ca86=>_0xb20ce1(0x17e)===_0x25ca86[_0xb20ce1(0x195)]);}async[_0x34c8b5(0x1b4)](){const _0x3669bd=_0x34c8b5;this[_0x3669bd(0x195)]=_0x3669bd(0x1b0),this[_0x3669bd(0x16b)]=void 0x0;try{this[_0x3669bd(0x15d)]=this[_0x3669bd(0x18a)]();const _0x501bb8=await this[_0x3669bd(0x15d)][_0x3669bd(0x176)]();this[_0x3669bd(0x195)]=_0x3669bd(0x167);for await(const _0x1b2bc2 of _0x501bb8)_0x3669bd(0x16e)!==_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x19e)]&&(_0x3669bd(0x173)!==_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x19e)]?_0x3669bd(0x1aa)!==_0x1b2bc2[_0x3669bd(0x164)]?this[_0x3669bd(0x191)](_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x192)],_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x197)]):this[_0x3669bd(0x15f)]=_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x15f)]:this[_0x3669bd(0x195)]=_0x3669bd(0x194));_0x3669bd(0x194)!==this[_0x3669bd(0x195)]&&(0x0===this[_0x3669bd(0x17a)][_0x3669bd(0x180)]?this[_0x3669bd(0x195)]=_0x3669bd(0x16e):this[_0x3669bd(0x195)]=_0x3669bd(0x1b1));}catch(_0x53cd6f){this[_0x3669bd(0x16b)]=_0x53cd6f,_0x53cd6f instanceof Error&&_0x53cd6f[_0x3669bd(0x17c)][_0x3669bd(0x186)](_0x3669bd(0x19d))?this[_0x3669bd(0x195)]=_0x3669bd(0x182):this[_0x3669bd(0x195)]=_0x3669bd(0x171);}finally{this[_0x3669bd(0x15d)]=null;}}async[_0x34c8b5(0x165)](){const _0x4d1fe7=_0x34c8b5;this[_0x4d1fe7(0x17a)][_0x4d1fe7(0x15e)](),this[_0x4d1fe7(0x1b3)][_0x4d1fe7(0x1b8)]=0x0,this[_0x4d1fe7(0x16b)]=void 0x0,await this[_0x4d1fe7(0x1b4)]();}[_0x34c8b5(0x162)](_0x523639,_0x26617c){const _0x485d81=_0x34c8b5,_0x4f284a=this[_0x485d81(0x17a)][_0x485d81(0x18b)](_0x523639);if(!_0x4f284a)return;const _0x104031=[];_0x26617c[_0x485d81(0x172)]((_0xb19516,_0x105ad5)=>{const _0x967bfb=_0x485d81,_0x541e2e=new _0x1f0f1e(_0x4f284a['id']+'-'+_0x105ad5,_0xb19516,_0x4f284a);_0x541e2e['on'](_0x967bfb(0x18e),()=>{const _0x43eab0=_0x967bfb;_0x43eab0(0x168)===_0x541e2e[_0x43eab0(0x195)]?this[_0x43eab0(0x170)](_0x43eab0(0x1a7),{'change':_0x541e2e}):_0x43eab0(0x169)===_0x541e2e[_0x43eab0(0x195)]&&this[_0x43eab0(0x170)](_0x43eab0(0x161),{'change':_0x541e2e});}),_0x541e2e['on'](_0x967bfb(0x16a),()=>{const _0x598a24=_0x967bfb;_0x541e2e[_0x598a24(0x181)]?this[_0x598a24(0x170)](_0x598a24(0x185),{'change':_0x541e2e}):this[_0x598a24(0x170)](_0x598a24(0x166),{'change':_0x541e2e});}),this[_0x967bfb(0x1b3)][_0x967bfb(0x16f)](_0x541e2e),_0x104031[_0x967bfb(0x16f)](_0x541e2e);}),this[_0x485d81(0x170)](_0x485d81(0x189),{'changes':_0x104031,'result':_0x4f284a,'source':this});}[_0x34c8b5(0x1ad)](){const _0x154d5d=_0x34c8b5;this[_0x154d5d(0x15d)]&&(this[_0x154d5d(0x15d)][_0x154d5d(0x19b)][_0x154d5d(0x1ad)](),this[_0x154d5d(0x15d)]=null,this[_0x154d5d(0x195)]=_0x154d5d(0x182));}[_0x34c8b5(0x1a6)](_0x4cd151){const _0x4b5543=_0x34c8b5,_0x319cdc=this[_0x4b5543(0x1b3)][_0x4b5543(0x196)](_0xe3f32b=>_0xe3f32b['id']===_0x4cd151);return!(!_0x319cdc||_0x4b5543(0x17e)!==_0x319cdc[_0x4b5543(0x195)]);}[_0x34c8b5(0x163)](){const _0x5ca91f=_0x34c8b5;return this[_0x5ca91f(0x1b3)][_0x5ca91f(0x1a8)](_0x5dcf76=>_0x5ca91f(0x17e)===_0x5dcf76[_0x5ca91f(0x195)]);}[_0x34c8b5(0x19c)](){const _0x3fe0cd=_0x34c8b5;for(const _0x3aa8a8 of this[_0x3fe0cd(0x1b3)])_0x3fe0cd(0x17e)===_0x3aa8a8[_0x3fe0cd(0x195)]&&(_0x3aa8a8[_0x3fe0cd(0x195)]=_0x3fe0cd(0x168));this[_0x3fe0cd(0x18f)]();}[_0x34c8b5(0x15b)](_0x38a3b2){const _0x4c98b0=_0x34c8b5,_0x3dd4cf=this[_0x4c98b0(0x1b3)][_0x4c98b0(0x196)](_0x19b2be=>_0x19b2be['id']===_0x38a3b2);_0x3dd4cf&&_0x4c98b0(0x17e)===_0x3dd4cf[_0x4c98b0(0x195)]&&(_0x3dd4cf[_0x4c98b0(0x195)]=_0x4c98b0(0x168)),this[_0x4c98b0(0x18f)]();}[_0x34c8b5(0x17b)](_0x266b3d){const _0x2191fa=_0x34c8b5,_0xfb35d6=this[_0x2191fa(0x1b3)][_0x2191fa(0x196)](_0x20c09d=>_0x20c09d['id']===_0x266b3d);_0xfb35d6&&_0x2191fa(0x17e)===_0xfb35d6[_0x2191fa(0x195)]&&(_0xfb35d6[_0x2191fa(0x195)]=_0x2191fa(0x169)),this[_0x2191fa(0x18f)]();}[_0x34c8b5(0x1ae)](_0x56ece3){const _0x1a4f06=_0x34c8b5;this[_0x1a4f06(0x1b3)][_0x1a4f06(0x1a8)](_0x306560=>_0x306560[_0x1a4f06(0x181)]&&_0x306560['id']!==_0x56ece3)[_0x1a4f06(0x172)](_0x40c1e5=>{const _0x4055ad=_0x1a4f06;_0x40c1e5[_0x4055ad(0x181)]=!0x1;});const _0x2ea20c=this[_0x1a4f06(0x1b3)][_0x1a4f06(0x196)](_0x417ab1=>_0x417ab1['id']===_0x56ece3);_0x2ea20c&&(_0x2ea20c[_0x1a4f06(0x181)]=!0x0);}[_0x34c8b5(0x17d)](){const _0x91dfd=_0x34c8b5;this[_0x91dfd(0x1b3)][_0x91dfd(0x1a8)](_0x359768=>_0x359768[_0x91dfd(0x181)])[_0x91dfd(0x172)](_0x49e4b3=>{const _0x41f398=_0x91dfd;_0x49e4b3[_0x41f398(0x181)]=!0x1;});}[_0x34c8b5(0x1b2)](){const _0x2778b9=_0x34c8b5;this[_0x2778b9(0x195)]=_0x2778b9(0x1b1);}async[_0x34c8b5(0x1af)](_0x19d8ef){const _0x59f9ef=_0x34c8b5;if(_0x59f9ef(0x187)===this[_0x59f9ef(0x195)]||_0x59f9ef(0x1b0)===this[_0x59f9ef(0x195)]||_0x59f9ef(0x167)===this[_0x59f9ef(0x195)])return;if(!this[_0x59f9ef(0x15f)]||0x0===this[_0x59f9ef(0x1b3)][_0x59f9ef(0x1b8)])return;let _0x5bfb0e;if(_0x19d8ef){const _0x2a3dd7=this[_0x59f9ef(0x1b3)][_0x59f9ef(0x196)](_0x167cb9=>_0x167cb9['id']===_0x19d8ef);if(_0x2a3dd7&&_0x2a3dd7[_0x59f9ef(0x175)])return;_0x2a3dd7&&(_0x5bfb0e=_0x2a3dd7[_0x59f9ef(0x1b7)]['id'],_0x2a3dd7[_0x59f9ef(0x175)]=!0x0);}const _0x54f30e={'positiveCount':this[_0x59f9ef(0x1b3)][_0x59f9ef(0x1a8)](_0x45b4a0=>_0x59f9ef(0x168)===_0x45b4a0[_0x59f9ef(0x195)])[_0x59f9ef(0x1b8)],'totalCount':this[_0x59f9ef(0x1b3)][_0x59f9ef(0x1b8)]};this[_0x59f9ef(0x18c)](_0x54f30e,this[_0x59f9ef(0x15f)],_0x5bfb0e);}[_0x34c8b5(0x191)](_0x328890,_0x5c24d8){const _0x10cc55=_0x34c8b5,_0x1397cf=this[_0x10cc55(0x1a2)][_0x10cc55(0x1b5)][_0x10cc55(0x18b)](_0x328890);if(!_0x1397cf)return;const _0x285f96=_0x1397cf[_0x10cc55(0x1a5)]();if(_0x285f96===_0x5c24d8)return;const _0x580576=new _0x47c163({'id':_0x328890,'contentInitial':_0x285f96,'contentNew':_0x5c24d8,'documentVersion':this[_0x10cc55(0x1a2)][_0x10cc55(0x16c)]});this[_0x10cc55(0x17a)][_0x10cc55(0x193)](_0x580576['id'],_0x580576),this[_0x10cc55(0x170)](_0x10cc55(0x1ab),{'result':_0x580576,'source':this});}[_0x34c8b5(0x18f)](){const _0x4e969a=_0x34c8b5;if(_0x4e969a(0x1b1)!==this[_0x4e969a(0x195)])return;0x0===this[_0x4e969a(0x1b3)][_0x4e969a(0x1a8)](_0x1e0b4f=>_0x4e969a(0x17e)===_0x1e0b4f[_0x4e969a(0x195)])[_0x4e969a(0x1b8)]&&(this[_0x4e969a(0x195)]=_0x4e969a(0x160));}}
23
+ const _0x215b2d=_0x22ce;(function(_0x1404b1,_0x554fdb){const _0xb52a8c=_0x22ce,_0x33a07a=_0x1404b1();while(!![]){try{const _0x19b591=parseInt(_0xb52a8c(0x153))/0x1+parseInt(_0xb52a8c(0x190))/0x2*(parseInt(_0xb52a8c(0x16d))/0x3)+-parseInt(_0xb52a8c(0x161))/0x4+-parseInt(_0xb52a8c(0x17c))/0x5+-parseInt(_0xb52a8c(0x199))/0x6+-parseInt(_0xb52a8c(0x156))/0x7+parseInt(_0xb52a8c(0x18b))/0x8*(parseInt(_0xb52a8c(0x196))/0x9);if(_0x19b591===_0x554fdb)break;else _0x33a07a['push'](_0x33a07a['shift']());}catch(_0x1b0a88){_0x33a07a['push'](_0x33a07a['shift']());}}}(_0x16ec,0xf3786));import{ObservableMixin as _0x214a67,uid as _0x4267d6}from'ckeditor5/src/utils.js';function _0x16ec(){const _0x4d5494=['loading','_sourceCheck','hasModifications','currentError','_addReviewCheckResult','_results','markChangeAsRejected','1489707YNcScH','size','find','_documentData','error-chunk','data','restart','error','reviewCheckResultDeactivated','initialized','markChangeAsOutdated','status','_reviewParams','reviewCheckRunUpdated','_createApiRequest','647855sBlMvg','change:status','message','documentData','dataId','accepted','set','sendRating','aborted','elements','subTitle','forEach','rejected','ai-request-aborted','_aiConnector','8ahQfqI','finished','textDelta','getContent','fire','6tNEnNR','event','callId','abort','markChangeAsAccepted','length','7373610mMGHgz','parent','processedResultsCount','3124788xPXGHy','reviewCheckResultActivated','reviewCheckResultChangeStatusUpdated','includes','addResultChanges','isRated','markAllChangesAsAccepted','_sendRatingRequest','reviewCheckResultReady','clear','review-metadata','ready','markChangeAsPending','_currentError','activateChange','every','forceReadyState','reviewName','pending','filter','reviewCheckResultAdded','change:isActivated','push','deactivateChange','outdated','1019545yqymLt','error-general','unmodified','2559928IwGpCW','version','operation','start','_reviewArgs','title','get','_activeRequest','_changes','isActivated','_checkIfFinished','5260860yQBuRt','isChangeActive','abortController','getActiveChanges','getStream'];_0x16ec=function(){return _0x4d5494;};return _0x16ec();}import{AIReviewCheckResult as _0x4bf7cb}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x3ebd55}from'./aireviewcheckresultchange.js';function _0x22ce(_0x3679c7,_0x87046a){const _0x16ec4f=_0x16ec();return _0x22ce=function(_0x22ce1b,_0x283823){_0x22ce1b=_0x22ce1b-0x13f;let _0x47c6d3=_0x16ec4f[_0x22ce1b];return _0x47c6d3;},_0x22ce(_0x3679c7,_0x87046a);}export class AIReviewCheckRun extends _0x214a67(){['id']=_0x4267d6();[_0x215b2d(0x192)];[_0x215b2d(0x16b)]=new Map();[_0x215b2d(0x15e)]=[];[_0x215b2d(0x170)];[_0x215b2d(0x167)];[_0x215b2d(0x18a)];[_0x215b2d(0x179)];[_0x215b2d(0x15a)];[_0x215b2d(0x15d)]=null;[_0x215b2d(0x147)];constructor(_0x407429,_0x3eaa2f,_0x2d365a,_0x29bda6,_0x1daf53){const _0x438dfe=_0x215b2d;super(),this[_0x438dfe(0x170)]=_0x407429,this[_0x438dfe(0x167)]=_0x3eaa2f,this[_0x438dfe(0x18a)]=_0x2d365a,this[_0x438dfe(0x179)]=_0x29bda6,this[_0x438dfe(0x15a)]=_0x1daf53,this['on'](_0x438dfe(0x17d),(_0x552a6f,_0x1a1c6d,_0x4c5b04)=>{const _0x5680b6=_0x438dfe;this[_0x5680b6(0x18f)](_0x5680b6(0x17a),{'status':_0x4c5b04,'run':this,'error':this[_0x5680b6(0x147)]});}),this[_0x438dfe(0x182)](_0x438dfe(0x178),_0x438dfe(0x176));}get[_0x215b2d(0x17f)](){const _0x4637ed=_0x215b2d;return this[_0x4637ed(0x170)];}get[_0x215b2d(0x198)](){const _0x12d6e9=_0x215b2d;return this[_0x12d6e9(0x16b)][_0x12d6e9(0x16e)];}get[_0x215b2d(0x15b)](){const _0x404715=_0x215b2d;return this[_0x404715(0x167)][_0x404715(0x15b)];}get[_0x215b2d(0x186)](){return'';}get[_0x215b2d(0x14b)](){const _0x15a8bf=_0x215b2d;return this[_0x15a8bf(0x167)]['id'];}get[_0x215b2d(0x168)](){const _0x1406f0=_0x215b2d;return!this[_0x1406f0(0x15e)][_0x1406f0(0x149)](_0x2d2b38=>_0x1406f0(0x14c)===_0x2d2b38[_0x1406f0(0x178)]);}get[_0x215b2d(0x169)](){const _0x497f64=_0x215b2d;return this[_0x497f64(0x147)];}async[_0x215b2d(0x159)](){const _0xa2d856=_0x215b2d;this[_0xa2d856(0x178)]=_0xa2d856(0x166),this[_0xa2d856(0x147)]=void 0x0;try{this[_0xa2d856(0x15d)]=this[_0xa2d856(0x17b)]();const _0x43b3f0=await this[_0xa2d856(0x15d)][_0xa2d856(0x165)]();this[_0xa2d856(0x178)]=_0xa2d856(0x172);for await(const _0x3ca593 of _0x43b3f0)_0xa2d856(0x155)!==_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x158)]&&(_0xa2d856(0x174)!==_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x158)]?_0xa2d856(0x144)!==_0x3ca593[_0xa2d856(0x191)]?this[_0xa2d856(0x16a)](_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x180)],_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x18d)]):this[_0xa2d856(0x192)]=_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x192)]:this[_0xa2d856(0x178)]=_0xa2d856(0x171));_0xa2d856(0x171)!==this[_0xa2d856(0x178)]&&(0x0===this[_0xa2d856(0x16b)][_0xa2d856(0x16e)]?this[_0xa2d856(0x178)]=_0xa2d856(0x155):this[_0xa2d856(0x178)]=_0xa2d856(0x145));}catch(_0x10cd8b){this[_0xa2d856(0x147)]=_0x10cd8b,_0x10cd8b instanceof Error&&_0x10cd8b[_0xa2d856(0x17e)][_0xa2d856(0x19c)](_0xa2d856(0x189))?this[_0xa2d856(0x178)]=_0xa2d856(0x184):this[_0xa2d856(0x178)]=_0xa2d856(0x154);}finally{this[_0xa2d856(0x15d)]=null;}}async[_0x215b2d(0x173)](){const _0x11a395=_0x215b2d;this[_0x11a395(0x16b)][_0x11a395(0x143)](),this[_0x11a395(0x15e)][_0x11a395(0x195)]=0x0,this[_0x11a395(0x147)]=void 0x0,await this[_0x11a395(0x159)]();}[_0x215b2d(0x19d)](_0x34aa02,_0x7b227c){const _0x33958e=_0x215b2d,_0x1b3b46=this[_0x33958e(0x16b)][_0x33958e(0x15c)](_0x34aa02);if(!_0x1b3b46)return;const _0x1fe288=[];_0x7b227c[_0x33958e(0x187)]((_0x554533,_0x527531)=>{const _0x239f1d=_0x33958e,_0x510600=new _0x3ebd55(_0x1b3b46['id']+'-'+_0x527531,_0x554533,_0x1b3b46);_0x510600['on'](_0x239f1d(0x17d),()=>{const _0x5b393c=_0x239f1d;this[_0x5b393c(0x18f)](_0x5b393c(0x19b),{'change':_0x510600,'status':_0x510600[_0x5b393c(0x178)]});}),_0x510600['on'](_0x239f1d(0x14f),()=>{const _0x20cc98=_0x239f1d;_0x510600[_0x20cc98(0x15f)]?this[_0x20cc98(0x18f)](_0x20cc98(0x19a),{'change':_0x510600}):this[_0x20cc98(0x18f)](_0x20cc98(0x175),{'change':_0x510600});}),this[_0x239f1d(0x15e)][_0x239f1d(0x150)](_0x510600),_0x1fe288[_0x239f1d(0x150)](_0x510600);}),this[_0x33958e(0x18f)](_0x33958e(0x142),{'changes':_0x1fe288,'result':_0x1b3b46,'source':this});}[_0x215b2d(0x193)](){const _0x343a07=_0x215b2d;this[_0x343a07(0x15d)]&&(this[_0x343a07(0x15d)][_0x343a07(0x163)][_0x343a07(0x193)](),this[_0x343a07(0x15d)]=null,this[_0x343a07(0x178)]=_0x343a07(0x184));}[_0x215b2d(0x162)](_0x5ad2ab){const _0x30c4a3=_0x215b2d,_0x381666=this[_0x30c4a3(0x15e)][_0x30c4a3(0x16f)](_0x15c8bc=>_0x15c8bc['id']===_0x5ad2ab);return!(!_0x381666||_0x30c4a3(0x14c)!==_0x381666[_0x30c4a3(0x178)]);}[_0x215b2d(0x164)](){const _0x1b1d4d=_0x215b2d;return this[_0x1b1d4d(0x15e)][_0x1b1d4d(0x14d)](_0x445d38=>_0x1b1d4d(0x14c)===_0x445d38[_0x1b1d4d(0x178)]);}[_0x215b2d(0x140)](){const _0x100809=_0x215b2d;for(const _0x111998 of this[_0x100809(0x15e)])_0x100809(0x14c)===_0x111998[_0x100809(0x178)]&&(_0x111998[_0x100809(0x178)]=_0x100809(0x181));this[_0x100809(0x160)]();}[_0x215b2d(0x194)](_0x47230b){const _0xf4942=_0x215b2d,_0x151677=this[_0xf4942(0x15e)][_0xf4942(0x16f)](_0x4795d3=>_0x4795d3['id']===_0x47230b);_0x151677&&_0xf4942(0x14c)===_0x151677[_0xf4942(0x178)]&&(_0x151677[_0xf4942(0x178)]=_0xf4942(0x181)),this[_0xf4942(0x160)]();}[_0x215b2d(0x16c)](_0x4e1749){const _0x4bd608=_0x215b2d,_0x3c3a17=this[_0x4bd608(0x15e)][_0x4bd608(0x16f)](_0x5f1238=>_0x5f1238['id']===_0x4e1749);_0x3c3a17&&_0x4bd608(0x14c)===_0x3c3a17[_0x4bd608(0x178)]&&(_0x3c3a17[_0x4bd608(0x178)]=_0x4bd608(0x188)),this[_0x4bd608(0x160)]();}[_0x215b2d(0x177)](_0x2ac63d){const _0x2e551c=_0x215b2d,_0x3bc329=this[_0x2e551c(0x15e)][_0x2e551c(0x16f)](_0x4ea913=>_0x4ea913['id']===_0x2ac63d);_0x3bc329&&_0x2e551c(0x14c)===_0x3bc329[_0x2e551c(0x178)]&&(_0x3bc329[_0x2e551c(0x178)]=_0x2e551c(0x152)),this[_0x2e551c(0x160)]();}[_0x215b2d(0x146)](_0x566305){const _0x213bdb=_0x215b2d,_0x3fbc39=this[_0x213bdb(0x15e)][_0x213bdb(0x16f)](_0x17cf27=>_0x17cf27['id']===_0x566305);_0x3fbc39&&_0x213bdb(0x152)===_0x3fbc39[_0x213bdb(0x178)]&&(_0x3fbc39[_0x213bdb(0x178)]=_0x213bdb(0x14c)),this[_0x213bdb(0x160)]();}[_0x215b2d(0x148)](_0x24b818){const _0x9051ef=_0x215b2d;this[_0x9051ef(0x15e)][_0x9051ef(0x14d)](_0x565d28=>_0x565d28[_0x9051ef(0x15f)]&&_0x565d28['id']!==_0x24b818)[_0x9051ef(0x187)](_0x2b160c=>{const _0x5b6827=_0x9051ef;_0x2b160c[_0x5b6827(0x15f)]=!0x1;});const _0x30e2cf=this[_0x9051ef(0x15e)][_0x9051ef(0x16f)](_0x49f06f=>_0x49f06f['id']===_0x24b818);_0x30e2cf&&_0x9051ef(0x14c)===_0x30e2cf[_0x9051ef(0x178)]&&(_0x30e2cf[_0x9051ef(0x15f)]=!0x0);}[_0x215b2d(0x151)](){const _0x20bae7=_0x215b2d;this[_0x20bae7(0x15e)][_0x20bae7(0x14d)](_0x509976=>_0x509976[_0x20bae7(0x15f)])[_0x20bae7(0x187)](_0x218141=>{const _0x5060e5=_0x20bae7;_0x218141[_0x5060e5(0x15f)]=!0x1;});}[_0x215b2d(0x14a)](){const _0x294e41=_0x215b2d;this[_0x294e41(0x178)]=_0x294e41(0x145);}async[_0x215b2d(0x183)](_0xccfaa8){const _0x2ca46c=_0x215b2d;if(_0x2ca46c(0x176)===this[_0x2ca46c(0x178)]||_0x2ca46c(0x166)===this[_0x2ca46c(0x178)]||_0x2ca46c(0x172)===this[_0x2ca46c(0x178)])return;if(!this[_0x2ca46c(0x192)]||0x0===this[_0x2ca46c(0x15e)][_0x2ca46c(0x195)])return;let _0x3b45dd;if(_0xccfaa8){const _0x124841=this[_0x2ca46c(0x15e)][_0x2ca46c(0x16f)](_0x23bbd3=>_0x23bbd3['id']===_0xccfaa8);if(_0x124841&&_0x124841[_0x2ca46c(0x13f)])return;_0x124841&&(_0x3b45dd=_0x124841[_0x2ca46c(0x197)]['id'],_0x124841[_0x2ca46c(0x13f)]=!0x0);}const _0xa8f6bc={'positiveCount':this[_0x2ca46c(0x15e)][_0x2ca46c(0x14d)](_0x445e43=>_0x2ca46c(0x181)===_0x445e43[_0x2ca46c(0x178)])[_0x2ca46c(0x195)],'totalCount':this[_0x2ca46c(0x15e)][_0x2ca46c(0x195)]};this[_0x2ca46c(0x141)](_0xa8f6bc,this[_0x2ca46c(0x192)],_0x3b45dd);}[_0x215b2d(0x16a)](_0x1eef2f,_0x42c1db){const _0x3f1199=_0x215b2d,_0x237df6=this[_0x3f1199(0x170)][_0x3f1199(0x185)][_0x3f1199(0x15c)](_0x1eef2f);if(!_0x237df6)return;const _0x2a9514=_0x237df6[_0x3f1199(0x18e)]();if(_0x2a9514===_0x42c1db)return;const _0x226b34=new _0x4bf7cb({'id':_0x1eef2f,'contentInitial':_0x2a9514,'contentNew':_0x42c1db,'documentVersion':this[_0x3f1199(0x170)][_0x3f1199(0x157)]});this[_0x3f1199(0x16b)][_0x3f1199(0x182)](_0x226b34['id'],_0x226b34),this[_0x3f1199(0x18f)](_0x3f1199(0x14e),{'result':_0x226b34,'source':this});}[_0x215b2d(0x160)](){const _0x382b6d=_0x215b2d;_0x382b6d(0x18c)===this[_0x382b6d(0x178)]&&(this[_0x382b6d(0x15e)][_0x382b6d(0x14d)](_0x3ccb67=>_0x382b6d(0x14c)===_0x3ccb67[_0x382b6d(0x178)])[_0x382b6d(0x195)]>0x0&&(this[_0x382b6d(0x178)]=_0x382b6d(0x145))),_0x382b6d(0x145)===this[_0x382b6d(0x178)]&&(0x0===this[_0x382b6d(0x15e)][_0x382b6d(0x14d)](_0x500af5=>_0x382b6d(0x14c)===_0x500af5[_0x382b6d(0x178)])[_0x382b6d(0x195)]&&(this[_0x382b6d(0x178)]=_0x382b6d(0x18c)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x43331c=_0x5de6;function _0x5de6(_0x465cf7,_0x222941){var _0x492d9a=_0x492d();return _0x5de6=function(_0x5de66b,_0x18db8d){_0x5de66b=_0x5de66b-0x103;var _0x2db467=_0x492d9a[_0x5de66b];return _0x2db467;},_0x5de6(_0x465cf7,_0x222941);}(function(_0x14dfc5,_0x2c704a){var _0x2971c7=_0x5de6,_0x39909b=_0x14dfc5();while(!![]){try{var _0x14bd32=-parseInt(_0x2971c7(0x10d))/0x1*(-parseInt(_0x2971c7(0x10a))/0x2)+parseInt(_0x2971c7(0x115))/0x3+-parseInt(_0x2971c7(0x10e))/0x4*(-parseInt(_0x2971c7(0x106))/0x5)+-parseInt(_0x2971c7(0x103))/0x6+parseInt(_0x2971c7(0x112))/0x7+-parseInt(_0x2971c7(0x104))/0x8+-parseInt(_0x2971c7(0x10f))/0x9*(-parseInt(_0x2971c7(0x10c))/0xa);if(_0x14bd32===_0x2c704a)break;else _0x39909b['push'](_0x39909b['shift']());}catch(_0x149084){_0x39909b['push'](_0x39909b['shift']());}}}(_0x492d,0x37478));function _0x492d(){var _0x3bacd1=['2420984WywABA','callCustomReview','5UgdoTW','_createApiRequest','_prompt','_sendRatingRequest','4uFZFVp','upsertCustomAIReviewRating','10XghYEZ','9378fFwnCQ','414444OGUECR','5284071UuiKQc','_documentData','content','1114589fNbESK','subTitle','_aiConnector','142923VxUwJP','_model','2323842likUqH'];_0x492d=function(){return _0x3bacd1;};return _0x492d();}import{AIReviewCheckRun as _0x2df89d}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x2df89d{[_0x43331c(0x108)];[_0x43331c(0x116)];constructor(_0xb0600d,_0x4d704a,_0x223e0,_0x12e06d,_0x2fb4d3){var _0x566190=_0x43331c;super(_0x223e0,_0x12e06d,_0x2fb4d3),this[_0x566190(0x108)]=_0xb0600d,this[_0x566190(0x116)]=_0x4d704a;}get[_0x43331c(0x113)](){var _0x26da8c=_0x43331c;return this[_0x26da8c(0x108)];}[_0x43331c(0x107)](){var _0x5d9dfe=_0x43331c;return this[_0x5d9dfe(0x114)][_0x5d9dfe(0x105)]({'content':this[_0x5d9dfe(0x110)][_0x5d9dfe(0x111)],'prompt':this[_0x5d9dfe(0x108)],'model':this[_0x5d9dfe(0x116)]});}[_0x43331c(0x109)](_0x14d880,_0x1cdf09,_0x40cf13){var _0x5198c0=_0x43331c;return this[_0x5198c0(0x114)][_0x5198c0(0x10b)](_0x1cdf09,_0x14d880,_0x40cf13);}}
23
+ var _0xc2e149=_0x1c87;(function(_0x3f8299,_0x5d4602){var _0x4fee21=_0x1c87,_0x317555=_0x3f8299();while(!![]){try{var _0x327803=-parseInt(_0x4fee21(0x181))/0x1+parseInt(_0x4fee21(0x188))/0x2+-parseInt(_0x4fee21(0x17d))/0x3*(parseInt(_0x4fee21(0x182))/0x4)+-parseInt(_0x4fee21(0x17c))/0x5+-parseInt(_0x4fee21(0x18b))/0x6*(-parseInt(_0x4fee21(0x184))/0x7)+parseInt(_0x4fee21(0x18c))/0x8+parseInt(_0x4fee21(0x17e))/0x9;if(_0x327803===_0x5d4602)break;else _0x317555['push'](_0x317555['shift']());}catch(_0x8486cf){_0x317555['push'](_0x317555['shift']());}}}(_0x4115,0xceba0));function _0x1c87(_0x16aea8,_0x44ae73){var _0x4115e8=_0x4115();return _0x1c87=function(_0x1c87df,_0x4362bb){_0x1c87df=_0x1c87df-0x17c;var _0x4e5cc3=_0x4115e8[_0x1c87df];return _0x4e5cc3;},_0x1c87(_0x16aea8,_0x44ae73);}function _0x4115(){var _0x24c0df=['_createApiRequest','_documentData','166236Jjechi','2162184bXGSgc','subTitle','_sendRatingRequest','444905tWDFWb','119580NLmVxc','12654738jZcxEN','_prompt','_model','1550054UFqrNf','48dFgctz','content','287zKJzBK','callCustomReview','upsertCustomAIReviewRating','_aiConnector','303612myaRVs'];_0x4115=function(){return _0x24c0df;};return _0x4115();}import{AIReviewCheckRun as _0x3b7504}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x3b7504{[_0xc2e149(0x17f)];[_0xc2e149(0x180)];constructor(_0x4ef064,_0x1a9c03,_0x1ab612,_0x21155f,_0x4c48fb){var _0x23fdff=_0xc2e149;super(_0x1ab612,_0x21155f,_0x4c48fb),this[_0x23fdff(0x17f)]=_0x4ef064,this[_0x23fdff(0x180)]=_0x1a9c03;}get[_0xc2e149(0x18d)](){var _0x1811ed=_0xc2e149;return this[_0x1811ed(0x17f)];}[_0xc2e149(0x189)](){var _0x59735c=_0xc2e149;return this[_0x59735c(0x187)][_0x59735c(0x185)]({'content':this[_0x59735c(0x18a)][_0x59735c(0x183)],'prompt':this[_0x59735c(0x17f)],'model':this[_0x59735c(0x180)]});}[_0xc2e149(0x18e)](_0x468292,_0x554137,_0x325937){var _0x740d7d=_0xc2e149;return this[_0x740d7d(0x187)][_0x740d7d(0x186)](_0x554137,_0x468292,_0x325937);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1008b2=_0x25e3;(function(_0x19d5cc,_0x116758){const _0x5602eb=_0x25e3,_0x4b4e3b=_0x19d5cc();while(!![]){try{const _0x32d5ca=parseInt(_0x5602eb(0x12a))/0x1*(-parseInt(_0x5602eb(0x12f))/0x2)+parseInt(_0x5602eb(0x12c))/0x3+parseInt(_0x5602eb(0x11f))/0x4*(parseInt(_0x5602eb(0x13a))/0x5)+-parseInt(_0x5602eb(0x11c))/0x6*(-parseInt(_0x5602eb(0x12b))/0x7)+-parseInt(_0x5602eb(0x138))/0x8+parseInt(_0x5602eb(0x11d))/0x9+parseInt(_0x5602eb(0x127))/0xa*(parseInt(_0x5602eb(0x13b))/0xb);if(_0x32d5ca===_0x116758)break;else _0x4b4e3b['push'](_0x4b4e3b['shift']());}catch(_0x15d4cf){_0x4b4e3b['push'](_0x4b4e3b['shift']());}}}(_0x1e37,0x35966));function _0x1e37(){const _0x550e01=['_aiConnector','length','subTitle','options','label','push','callSystemReview','2289448nHrbNF','reviewName','4355lvBXpF','133221zlsfvp','234MVDyGP','3145320uZWsZU','_createApiRequest','108YfoRiv','_sourceCheck','join','content','_reviewArgs','_documentData','upsertAIReviewRating','useArgs','10LuVhgR','_composeReviewName','data','1SSeYyl','29442cBbjZg','1048026Tomabi','find','_reviewParams','785618GsIzzw','_sendRatingRequest'];_0x1e37=function(){return _0x550e01;};return _0x1e37();}import{AIReviewCheckRun as _0x38533b}from'./aireviewcheckrun.js';function _0x25e3(_0xb63d9,_0x303484){const _0x1e3784=_0x1e37();return _0x25e3=function(_0x25e3f0,_0x2a9718){_0x25e3f0=_0x25e3f0-0x11c;let _0x296455=_0x1e3784[_0x25e3f0];return _0x296455;},_0x25e3(_0xb63d9,_0x303484);}export class AIReviewSystemCheckRun extends _0x38533b{get[_0x1008b2(0x133)](){const _0x3481aa=_0x1008b2;if(!this[_0x3481aa(0x12e)]||0x0===this[_0x3481aa(0x12e)][_0x3481aa(0x132)])return'';const _0x178c97=[];if(this[_0x3481aa(0x12e)][_0x3481aa(0x132)]>0x0&&this[_0x3481aa(0x120)][_0x3481aa(0x134)])for(let _0x3d3da4=0x0;_0x3d3da4<this[_0x3481aa(0x12e)][_0x3481aa(0x132)];_0x3d3da4++){if(!this[_0x3481aa(0x12e)][_0x3d3da4]||!this[_0x3481aa(0x120)][_0x3481aa(0x134)][_0x3d3da4])continue;const _0x49a073=this[_0x3481aa(0x120)][_0x3481aa(0x134)][_0x3d3da4],_0x27c19a=_0x49a073[_0x3481aa(0x129)]?.[_0x3481aa(0x12d)](_0x4f4d95=>_0x4f4d95['id']===this[_0x3481aa(0x12e)][_0x3d3da4]);_0x27c19a&&_0x178c97[_0x3481aa(0x136)](_0x27c19a[_0x3481aa(0x135)]);}return _0x178c97[_0x3481aa(0x121)](',\x20');}get[_0x1008b2(0x139)](){const _0xc3c5ed=_0x1008b2;return this[_0xc3c5ed(0x128)]();}[_0x1008b2(0x11e)](){const _0x915c06=_0x1008b2;return this[_0x915c06(0x131)][_0x915c06(0x137)]({'reviewName':this[_0x915c06(0x128)](),'content':this[_0x915c06(0x124)][_0x915c06(0x122)],'args':this[_0x915c06(0x123)]});}[_0x1008b2(0x130)](_0x43453c,_0x63d835,_0x5d0b3f){const _0x39876c=_0x1008b2;return this[_0x39876c(0x131)][_0x39876c(0x125)](this[_0x39876c(0x139)],_0x63d835,_0x43453c,_0x5d0b3f);}[_0x1008b2(0x128)](){const _0x20841f=_0x1008b2;return!this[_0x20841f(0x12e)]||0x0===this[_0x20841f(0x12e)][_0x20841f(0x132)]||this[_0x20841f(0x120)][_0x20841f(0x126)]?this[_0x20841f(0x120)]['id']:[this[_0x20841f(0x120)]['id'],...this[_0x20841f(0x12e)]][_0x20841f(0x121)]('-');}}
23
+ const _0x1752b=_0x44d3;(function(_0x510d98,_0x1a904b){const _0x3404fd=_0x44d3,_0x2688b6=_0x510d98();while(!![]){try{const _0xb3efbd=-parseInt(_0x3404fd(0x1ff))/0x1+parseInt(_0x3404fd(0x1f5))/0x2*(parseInt(_0x3404fd(0x207))/0x3)+-parseInt(_0x3404fd(0x20d))/0x4*(-parseInt(_0x3404fd(0x209))/0x5)+-parseInt(_0x3404fd(0x1f4))/0x6*(-parseInt(_0x3404fd(0x211))/0x7)+-parseInt(_0x3404fd(0x20a))/0x8*(-parseInt(_0x3404fd(0x208))/0x9)+parseInt(_0x3404fd(0x1f8))/0xa+-parseInt(_0x3404fd(0x200))/0xb;if(_0xb3efbd===_0x1a904b)break;else _0x2688b6['push'](_0x2688b6['shift']());}catch(_0x5eba18){_0x2688b6['push'](_0x2688b6['shift']());}}}(_0x917d,0x244e3));function _0x44d3(_0x3f4c0e,_0x59c54f){const _0x917df1=_0x917d();return _0x44d3=function(_0x44d37d,_0x2f1ae4){_0x44d37d=_0x44d37d-0x1f3;let _0x185f15=_0x917df1[_0x44d37d];return _0x185f15;},_0x44d3(_0x3f4c0e,_0x59c54f);}import{AIReviewCheckRun as _0x3d9f16}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x3d9f16{get[_0x1752b(0x20b)](){const _0x18acf7=_0x1752b;if(!this[_0x18acf7(0x201)]||0x0===this[_0x18acf7(0x201)][_0x18acf7(0x1fe)])return'';const _0x3f417c=[];if(this[_0x18acf7(0x201)][_0x18acf7(0x1fe)]>0x0&&this[_0x18acf7(0x202)][_0x18acf7(0x1fb)])for(let _0x7a6fa0=0x0;_0x7a6fa0<this[_0x18acf7(0x201)][_0x18acf7(0x1fe)];_0x7a6fa0++){if(!this[_0x18acf7(0x201)][_0x7a6fa0]||!this[_0x18acf7(0x202)][_0x18acf7(0x1fb)][_0x7a6fa0])continue;const _0x397480=this[_0x18acf7(0x202)][_0x18acf7(0x1fb)][_0x7a6fa0],_0x3f1ce7=_0x397480[_0x18acf7(0x206)]?.[_0x18acf7(0x203)](_0x1bb741=>_0x1bb741['id']===this[_0x18acf7(0x201)][_0x7a6fa0]);_0x3f1ce7&&_0x3f417c[_0x18acf7(0x1f3)](_0x3f1ce7[_0x18acf7(0x20e)]);}return _0x3f417c[_0x18acf7(0x1f9)](',\x20');}get[_0x1752b(0x20f)](){const _0x48e1da=_0x1752b;return this[_0x48e1da(0x212)]();}[_0x1752b(0x210)](){const _0x298be0=_0x1752b;return this[_0x298be0(0x1fc)][_0x298be0(0x204)]({'reviewName':this[_0x298be0(0x212)](),'content':this[_0x298be0(0x1fa)][_0x298be0(0x1f6)],'args':this[_0x298be0(0x205)]});}[_0x1752b(0x1f7)](_0x364e36,_0x6a3581,_0x451445){const _0x10c867=_0x1752b;return this[_0x10c867(0x1fc)][_0x10c867(0x20c)](this[_0x10c867(0x20f)],_0x6a3581,_0x364e36,_0x451445);}[_0x1752b(0x212)](){const _0x267cec=_0x1752b;return!this[_0x267cec(0x201)]||0x0===this[_0x267cec(0x201)][_0x267cec(0x1fe)]||this[_0x267cec(0x202)][_0x267cec(0x1fd)]?this[_0x267cec(0x202)]['id']:[this[_0x267cec(0x202)]['id'],...this[_0x267cec(0x201)]][_0x267cec(0x1f9)]('-');}}function _0x917d(){const _0x5e5fff=['2154720bqysIV','join','_documentData','options','_aiConnector','useArgs','length','120056KUOnnu','8500184PCOuMN','_reviewParams','_sourceCheck','find','callSystemReview','_reviewArgs','data','1695WncBtb','15462nbGUvN','65yJmjad','1296DVSRHz','subTitle','upsertAIReviewRating','87284MHDQfZ','label','reviewName','_createApiRequest','59171DkHEWz','_composeReviewName','push','102zUIQdg','426gkowMj','content','_sendRatingRequest'];_0x917d=function(){return _0x5e5fff;};return _0x917d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2db11f=_0x150f;function _0x150f(_0xd49f8d,_0x281a84){var _0x2ff256=_0x2ff2();return _0x150f=function(_0x150fdc,_0x3e0df6){_0x150fdc=_0x150fdc-0xc6;var _0x234b07=_0x2ff256[_0x150fdc];return _0x234b07;},_0x150f(_0xd49f8d,_0x281a84);}(function(_0x244636,_0x45699c){var _0x1144db=_0x150f,_0x2bb1f5=_0x244636();while(!![]){try{var _0x138b97=-parseInt(_0x1144db(0xd5))/0x1+-parseInt(_0x1144db(0xde))/0x2+-parseInt(_0x1144db(0xd4))/0x3+-parseInt(_0x1144db(0xc8))/0x4+parseInt(_0x1144db(0xdb))/0x5*(-parseInt(_0x1144db(0xdf))/0x6)+-parseInt(_0x1144db(0xcf))/0x7*(-parseInt(_0x1144db(0xc7))/0x8)+parseInt(_0x1144db(0xcd))/0x9*(parseInt(_0x1144db(0xd9))/0xa);if(_0x138b97===_0x45699c)break;else _0x2bb1f5['push'](_0x2bb1f5['shift']());}catch(_0x42b45f){_0x2bb1f5['push'](_0x2bb1f5['shift']());}}}(_0x2ff2,0xb9123));function _0x2ff2(){var _0x5f434d=['set','element','631473uleIDL','121922LBCJiw','extendTemplate','listenTo','keystrokes','10840qgHPvF','render','4207765BIeyLC','ai-review-mode-prompt-input','update','1273046oZrfVT','6EMampe','MAX_ROWS','601384wapCrq','3933024hcZfHG','trim','MIN_ROWS','value','maxRows','19503MlrQDO','isEmpty','112cPQObZ','minRows','ck-review-mode__prompt-input'];_0x2ff2=function(){return _0x5f434d;};return _0x2ff2();}import{TextareaView as _0x56d34f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5ae01a}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x56d34f{[_0x2db11f(0xd8)];static [_0x2db11f(0xca)]=0x1;static [_0x2db11f(0xc6)]=0xc;constructor(_0x26dd36){var _0x5e9b25=_0x2db11f;super(_0x26dd36),this[_0x5e9b25(0xd2)](_0x5e9b25(0xce),!0x0),this[_0x5e9b25(0xd8)]=new _0x5ae01a(),this[_0x5e9b25(0xd0)]=AIReviewModePromptInputView[_0x5e9b25(0xca)],this[_0x5e9b25(0xcc)]=AIReviewModePromptInputView[_0x5e9b25(0xc6)],this[_0x5e9b25(0xd6)]({'attributes':{'id':_0x5e9b25(0xdc),'class':['ck',_0x5e9b25(0xd1)]}});}[_0x2db11f(0xda)](){var _0x2aedf5=_0x2db11f;super[_0x2aedf5(0xda)](),this['on'](_0x2aedf5(0xdd),()=>{var _0x1d08f0=_0x2aedf5;this[_0x1d08f0(0xce)]=''===this[_0x1d08f0(0xd3)][_0x1d08f0(0xcb)]?.[_0x1d08f0(0xc9)]();}),this[_0x2aedf5(0xd8)][_0x2aedf5(0xd7)](this[_0x2aedf5(0xd3)]);}}
23
+ var _0x18075e=_0x2ac8;(function(_0x555fd3,_0x3f5acd){var _0x188fe4=_0x2ac8,_0x146010=_0x555fd3();while(!![]){try{var _0x2a6805=-parseInt(_0x188fe4(0x76))/0x1*(parseInt(_0x188fe4(0x79))/0x2)+-parseInt(_0x188fe4(0x7f))/0x3+-parseInt(_0x188fe4(0x8a))/0x4+parseInt(_0x188fe4(0x74))/0x5+-parseInt(_0x188fe4(0x86))/0x6+parseInt(_0x188fe4(0x7a))/0x7*(-parseInt(_0x188fe4(0x83))/0x8)+parseInt(_0x188fe4(0x88))/0x9;if(_0x2a6805===_0x3f5acd)break;else _0x146010['push'](_0x146010['shift']());}catch(_0x1ae6aa){_0x146010['push'](_0x146010['shift']());}}}(_0x11d8,0x54d53));import{TextareaView as _0x43f4c3}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x450c04}from'ckeditor5/src/utils.js';function _0x2ac8(_0x2deb12,_0x1a9f4e){var _0x11d8ee=_0x11d8();return _0x2ac8=function(_0x2ac89b,_0x2a1693){_0x2ac89b=_0x2ac89b-0x72;var _0x34ec2e=_0x11d8ee[_0x2ac89b];return _0x34ec2e;},_0x2ac8(_0x2deb12,_0x1a9f4e);}function _0x11d8(){var _0x115916=['2459400QgDgTr','set','118439gNLaAa','extendTemplate','MIN_ROWS','8uRoFIz','7AYdIsm','ai-review-mode-prompt-input','ck-review-mode__prompt-input','minRows','element','812778wRbIPy','update','maxRows','render','802856NaWziT','listenTo','keystrokes','3185130xoYzbe','trim','11424132mTMWyI','isEmpty','151436BJFHNl','value','MAX_ROWS'];_0x11d8=function(){return _0x115916;};return _0x11d8();}export class AIReviewModePromptInputView extends _0x43f4c3{[_0x18075e(0x85)];static [_0x18075e(0x78)]=0x1;static [_0x18075e(0x73)]=0xc;constructor(_0x562e4e){var _0x2a2b5c=_0x18075e;super(_0x562e4e),this[_0x2a2b5c(0x75)](_0x2a2b5c(0x89),!0x0),this[_0x2a2b5c(0x85)]=new _0x450c04(),this[_0x2a2b5c(0x7d)]=AIReviewModePromptInputView[_0x2a2b5c(0x78)],this[_0x2a2b5c(0x81)]=AIReviewModePromptInputView[_0x2a2b5c(0x73)],this[_0x2a2b5c(0x77)]({'attributes':{'id':_0x2a2b5c(0x7b),'class':['ck',_0x2a2b5c(0x7c)]}});}[_0x18075e(0x82)](){var _0x6a03e3=_0x18075e;super[_0x6a03e3(0x82)](),this['on'](_0x6a03e3(0x80),()=>{var _0x57e78c=_0x6a03e3;this[_0x57e78c(0x89)]=''===this[_0x57e78c(0x7e)][_0x57e78c(0x72)]?.[_0x57e78c(0x87)]();}),this[_0x6a03e3(0x85)][_0x6a03e3(0x84)](this[_0x6a03e3(0x7e)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5441(){const _0xa82a7=['954200MCgKAX','content','getClientRects','showBalloon','hideBalloon','add','resultItemView','extendTemplate','find','innerHTML','129756JmyrIY','_getBestRectPosition','54DApLAO','1732412viAsWc','pin','unpin','dismissChange','isVisible','ck-ai-review-mode__suggestion-text','div','_setupClickOutsideHandler','69097kUTzbt','ck-reset','arrow_se','updateContent','11565090yEQhjQ','fire','deactivateChange','locale','hideDiffInBalloon','1142840PkfWzO','3kuppOr','show','_createContentView','acceptChange','set','width','119550ywvzGF','ck-ai-review-mode-balloon-panel-suggestion','setTemplate','delegate','showDiff','resultResponseView','render','changeId','contentDiffed','from','element','showDiffInBalloon','hide','ck-content'];_0x5441=function(){return _0xa82a7;};return _0x5441();}const _0x8b16ad=_0x4eaa;(function(_0x4fb812,_0x1ffa02){const _0x34b355=_0x4eaa,_0x358411=_0x4fb812();while(!![]){try{const _0x5d7bb0=-parseInt(_0x34b355(0x180))/0x1+parseInt(_0x34b355(0x168))/0x2+parseInt(_0x34b355(0x162))/0x3*(-parseInt(_0x34b355(0x183))/0x4)+-parseInt(_0x34b355(0x161))/0x5+parseInt(_0x34b355(0x182))/0x6*(-parseInt(_0x34b355(0x18b))/0x7)+-parseInt(_0x34b355(0x176))/0x8+parseInt(_0x34b355(0x15c))/0x9;if(_0x5d7bb0===_0x1ffa02)break;else _0x358411['push'](_0x358411['shift']());}catch(_0x41e6c3){_0x358411['push'](_0x358411['shift']());}}}(_0x5441,0x5449c));import{BalloonPanelView as _0x280d7a,View as _0x4f28e6,clickOutsideHandler as _0x1a3b16}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x18a1d3}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';function _0x4eaa(_0x3da3fd,_0x255a16){const _0x544161=_0x5441();return _0x4eaa=function(_0x4eaa4f,_0x2a8166){_0x4eaa4f=_0x4eaa4f-0x15b;let _0x3cba17=_0x544161[_0x4eaa4f];return _0x3cba17;},_0x4eaa(_0x3da3fd,_0x255a16);}export class AIReviewModeBalloonSuggestionItemView extends _0x280d7a{[_0x8b16ad(0x17c)];constructor(_0x5dd9cd,_0x83dfbe){const _0x5d0457=_0x8b16ad;super(_0x5dd9cd),this[_0x5d0457(0x166)]({'isVisible':!0x1,'position':_0x5d0457(0x18d),'class':null,'top':0x0,'left':0x0}),this[_0x5d0457(0x17d)]({'tag':_0x5d0457(0x189),'attributes':{'class':[_0x5d0457(0x18c)],'tabindex':'-1'}}),this[_0x5d0457(0x177)][_0x5d0457(0x17b)](this[_0x5d0457(0x164)]()),_0x83dfbe[_0x5d0457(0x17b)](this);}[_0x8b16ad(0x16e)](){const _0x397754=_0x8b16ad;super[_0x397754(0x16e)](),this[_0x397754(0x18a)]();}[_0x8b16ad(0x15b)](_0x4154e6){const _0x3686ef=_0x8b16ad;this[_0x3686ef(0x17c)][_0x3686ef(0x16f)]=_0x4154e6['id'],this[_0x3686ef(0x17c)][_0x3686ef(0x16d)][_0x3686ef(0x172)][_0x3686ef(0x17f)]=_0x4154e6[_0x3686ef(0x170)];}[_0x8b16ad(0x179)](_0x2b1e7e,_0xb55777){const _0xc2e77b=_0x8b16ad;this[_0xc2e77b(0x15b)](_0x2b1e7e),this[_0xc2e77b(0x163)](),this[_0xc2e77b(0x184)]({'target':()=>this[_0xc2e77b(0x181)](_0xb55777)});}[_0x8b16ad(0x17a)](){const _0x238ac4=_0x8b16ad;this[_0x238ac4(0x174)](),this[_0x238ac4(0x185)]();}[_0x8b16ad(0x160)](){const _0x1f4836=_0x8b16ad;this[_0x1f4836(0x17c)][_0x1f4836(0x16c)]=!0x1;}[_0x8b16ad(0x173)](){const _0x5810f5=_0x8b16ad;this[_0x5810f5(0x17c)][_0x5810f5(0x16c)]=!0x0;}[_0x8b16ad(0x15e)](){const _0x5587f1=_0x8b16ad;this[_0x5587f1(0x15d)](_0x5587f1(0x15e));}[_0x8b16ad(0x18a)](){const _0x10b70e=_0x8b16ad;_0x1a3b16({'emitter':this,'activator':()=>this[_0x10b70e(0x187)],'contextElements':[this[_0x10b70e(0x172)]],'callback':()=>{const _0x2dc6ba=_0x10b70e;this[_0x2dc6ba(0x17a)](),this[_0x2dc6ba(0x15e)]();}});}[_0x8b16ad(0x164)](){const _0x29f985=_0x8b16ad,_0x63e39b=new _0x4f28e6();return this[_0x29f985(0x17c)]=new _0x18a1d3(this[_0x29f985(0x15f)],''),this[_0x29f985(0x17c)][_0x29f985(0x16d)][_0x29f985(0x17d)]({'attributes':{'class':[_0x29f985(0x175)]}}),this[_0x29f985(0x17c)][_0x29f985(0x16b)](_0x29f985(0x165),_0x29f985(0x186))['to'](this),_0x63e39b[_0x29f985(0x16a)]({'tag':_0x29f985(0x189),'attributes':{'class':[_0x29f985(0x18c),_0x29f985(0x169)]},'children':[{'tag':'p','attributes':{'class':[_0x29f985(0x188)]},'children':[this[_0x29f985(0x17c)]]}]}),_0x63e39b;}[_0x8b16ad(0x181)](_0x40e52a){const _0x285823=_0x8b16ad,_0x14ad0a=Array[_0x285823(0x171)](_0x40e52a[_0x285823(0x178)]());return _0x14ad0a[_0x285823(0x17e)](_0x14bd32=>_0x14bd32[_0x285823(0x167)]>0x0)||_0x14ad0a[0x0];}}
23
+ const _0x4ad900=_0x27f8;(function(_0x2850dc,_0x5d2e70){const _0x4e6823=_0x27f8,_0x5d17e8=_0x2850dc();while(!![]){try{const _0x52a77e=parseInt(_0x4e6823(0x124))/0x1+-parseInt(_0x4e6823(0x122))/0x2+-parseInt(_0x4e6823(0x12a))/0x3*(-parseInt(_0x4e6823(0x114))/0x4)+-parseInt(_0x4e6823(0x10d))/0x5*(-parseInt(_0x4e6823(0x119))/0x6)+-parseInt(_0x4e6823(0x104))/0x7+parseInt(_0x4e6823(0x11b))/0x8+-parseInt(_0x4e6823(0x10e))/0x9;if(_0x52a77e===_0x5d2e70)break;else _0x5d17e8['push'](_0x5d17e8['shift']());}catch(_0xfc2a36){_0x5d17e8['push'](_0x5d17e8['shift']());}}}(_0x6f3b,0x87bc5));import{BalloonPanelView as _0x33f6e8,View as _0x366715,clickOutsideHandler as _0x3eb825}from'ckeditor5/src/ui.js';function _0x27f8(_0x22371d,_0x116cdf){const _0x6f3bcc=_0x6f3b();return _0x27f8=function(_0x27f8fd,_0x5ea75e){_0x27f8fd=_0x27f8fd-0x102;let _0xfea8f=_0x6f3bcc[_0x27f8fd];return _0xfea8f;},_0x27f8(_0x22371d,_0x116cdf);}function _0x6f3b(){const _0x1d65b5=['ck-reset','showDiffInBalloon','showDiff','content','hideDiffInBalloon','fire','_setupClickOutsideHandler','getClientRects','show','extendTemplate','updateContent','7430843OgtFBr','locale','contentDiffed','deactivateChange','set','setTemplate','ck-ai-review-mode__suggestion-text','unpin','_createContentView','655rhBEXd','2718954ICKFvW','find','element','delegate','resultItemView','render','19540blhWyB','showBalloon','dismissChange','arrow_se','ck-content','28128cyEQdF','from','184120JPzwit','isVisible','innerHTML','changeId','hide','pin','width','259274VCNYgF','resultResponseView','992012AXkzyA','div','hideBalloon','acceptChange','ck-ai-review-mode-balloon-panel-suggestion','add','258XgHTcU','_getBestRectPosition'];_0x6f3b=function(){return _0x1d65b5;};return _0x6f3b();}import{AIReviewModeReviewCheckListItemResultsView as _0x4b04d4}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x33f6e8{[_0x4ad900(0x112)];constructor(_0x4730c7,_0x1507e5){const _0x107c08=_0x4ad900;super(_0x4730c7),this[_0x107c08(0x108)]({'isVisible':!0x1,'position':_0x107c08(0x117),'class':null,'top':0x0,'left':0x0}),this[_0x107c08(0x102)]({'tag':_0x107c08(0x125),'attributes':{'class':[_0x107c08(0x12c)],'tabindex':'-1'}}),this[_0x107c08(0x12f)][_0x107c08(0x129)](this[_0x107c08(0x10c)]()),_0x1507e5[_0x107c08(0x129)](this);}[_0x4ad900(0x113)](){const _0x2a00b6=_0x4ad900;super[_0x2a00b6(0x113)](),this[_0x2a00b6(0x132)]();}[_0x4ad900(0x103)](_0x4cfd6d){const _0x411856=_0x4ad900;this[_0x411856(0x112)][_0x411856(0x11e)]=_0x4cfd6d['id'],this[_0x411856(0x112)][_0x411856(0x123)][_0x411856(0x110)][_0x411856(0x11d)]=_0x4cfd6d[_0x411856(0x106)];}[_0x4ad900(0x115)](_0x309056,_0x537d30){const _0x1371d8=_0x4ad900;this[_0x1371d8(0x103)](_0x309056),this[_0x1371d8(0x134)](),this[_0x1371d8(0x120)]({'target':()=>this[_0x1371d8(0x12b)](_0x537d30)});}[_0x4ad900(0x126)](){const _0x46db8e=_0x4ad900;this[_0x46db8e(0x11f)](),this[_0x46db8e(0x10b)]();}[_0x4ad900(0x130)](){const _0x3ea298=_0x4ad900;this[_0x3ea298(0x112)][_0x3ea298(0x12e)]=!0x1;}[_0x4ad900(0x12d)](){const _0x230c5a=_0x4ad900;this[_0x230c5a(0x112)][_0x230c5a(0x12e)]=!0x0;}[_0x4ad900(0x107)](){const _0x3e20bc=_0x4ad900;this[_0x3e20bc(0x131)](_0x3e20bc(0x107));}[_0x4ad900(0x132)](){const _0x2ad152=_0x4ad900;_0x3eb825({'emitter':this,'activator':()=>this[_0x2ad152(0x11c)],'contextElements':[this[_0x2ad152(0x110)]],'callback':()=>{const _0x565983=_0x2ad152;this[_0x565983(0x126)](),this[_0x565983(0x107)]();}});}[_0x4ad900(0x10c)](){const _0x3f68a1=_0x4ad900,_0x33b6de=new _0x366715();return this[_0x3f68a1(0x112)]=new _0x4b04d4(this[_0x3f68a1(0x105)],''),this[_0x3f68a1(0x112)][_0x3f68a1(0x123)][_0x3f68a1(0x102)]({'attributes':{'class':[_0x3f68a1(0x118)]}}),this[_0x3f68a1(0x112)][_0x3f68a1(0x111)](_0x3f68a1(0x127),_0x3f68a1(0x116))['to'](this),_0x33b6de[_0x3f68a1(0x109)]({'tag':_0x3f68a1(0x125),'attributes':{'class':[_0x3f68a1(0x12c),_0x3f68a1(0x128)]},'children':[{'tag':'p','attributes':{'class':[_0x3f68a1(0x10a)]},'children':[this[_0x3f68a1(0x112)]]}]}),_0x33b6de;}[_0x4ad900(0x12b)](_0x49db65){const _0x3a831d=_0x4ad900,_0x14706e=Array[_0x3a831d(0x11a)](_0x49db65[_0x3a831d(0x133)]());return _0x14706e[_0x3a831d(0x10f)](_0x423113=>_0x423113[_0x3a831d(0x121)]>0x0)||_0x14706e[0x0];}}
@@ -7,11 +7,13 @@
7
7
  */
8
8
  import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { View, ButtonView } from 'ckeditor5/src/ui.js';
10
+ import { type AIReviewCheckResultChange } from '../model/aireviewcheckresultchange.js';
10
11
  export declare class AIReviewModeReviewCheckListItemResultsView extends View {
11
12
  resultResponseView: View;
12
13
  acceptButtonView: ButtonView;
13
14
  dismissButtonView: ButtonView;
14
15
  infoButtonView: ButtonView;
16
+ statusButtonView: ButtonView;
15
17
  /**
16
18
  * @observable
17
19
  */
@@ -28,6 +30,10 @@ export declare class AIReviewModeReviewCheckListItemResultsView extends View {
28
30
  * @observable
29
31
  */
30
32
  showDiff: boolean;
33
+ /**
34
+ * @observable
35
+ */
36
+ status: AIReviewCheckResultChange['status'];
31
37
  readonly id: string;
32
38
  constructor(locale: Locale, id: string);
33
39
  setItemAsActive(): void;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9599ce=_0x4564;(function(_0x5cb99d,_0x275bfe){const _0x2d277b=_0x4564,_0x4de57c=_0x5cb99d();while(!![]){try{const _0x4b536f=parseInt(_0x2d277b(0x1c6))/0x1*(-parseInt(_0x2d277b(0x1a6))/0x2)+-parseInt(_0x2d277b(0x1ae))/0x3*(parseInt(_0x2d277b(0x1c4))/0x4)+parseInt(_0x2d277b(0x1be))/0x5+-parseInt(_0x2d277b(0x1b1))/0x6*(-parseInt(_0x2d277b(0x1b8))/0x7)+parseInt(_0x2d277b(0x197))/0x8+parseInt(_0x2d277b(0x1a4))/0x9+parseInt(_0x2d277b(0x1c2))/0xa*(-parseInt(_0x2d277b(0x1a5))/0xb);if(_0x4b536f===_0x275bfe)break;else _0x4de57c['push'](_0x4de57c['shift']());}catch(_0x5dc2ca){_0x4de57c['push'](_0x4de57c['shift']());}}}(_0x179f,0x43fab));function _0x4564(_0x5028b3,_0x4838a5){const _0x179fc=_0x179f();return _0x4564=function(_0x456450,_0x55a7d6){_0x456450=_0x456450-0x196;let _0x4d5fcb=_0x179fc[_0x456450];return _0x4d5fcb;},_0x4564(_0x5028b3,_0x4838a5);}import{View as _0x1a828e,ButtonView as _0x1cbcef}from'ckeditor5/src/ui.js';import{IconInfo as _0x3ac8de}from'ckeditor5/src/icons.js';import{getTranslation as _0x966871}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x1a828e{[_0x9599ce(0x19d)];[_0x9599ce(0x19b)];[_0x9599ce(0x1ac)];[_0x9599ce(0x1af)];constructor(_0x1efd93,_0x478b6e){const _0x281652=_0x9599ce;super(_0x1efd93),this['id']=_0x478b6e,this[_0x281652(0x19a)](_0x281652(0x199),_0x478b6e),this[_0x281652(0x19d)]=this[_0x281652(0x1cb)](),this[_0x281652(0x19b)]=this[_0x281652(0x1b7)](),this[_0x281652(0x1ac)]=this[_0x281652(0x1c3)](),this[_0x281652(0x1af)]=this[_0x281652(0x1b5)](),this[_0x281652(0x19a)](_0x281652(0x1c5),!0x1),this[_0x281652(0x19a)](_0x281652(0x1c8),!0x1),this[_0x281652(0x19a)](_0x281652(0x1ca),!0x0),this[_0x281652(0x19f)]({'tag':_0x281652(0x1b2),'attributes':{'class':[_0x281652(0x1c9),this[_0x281652(0x1cc)]['if'](_0x281652(0x1c8),_0x281652(0x1a7))]},'on':{'click':this[_0x281652(0x1cc)]['to'](_0x281652(0x1ad))},'children':[this[_0x281652(0x19d)],{'tag':_0x281652(0x1b2),'attributes':{'class':[_0x281652(0x196)]},'children':[{'tag':_0x281652(0x1b2),'attributes':{'class':[_0x281652(0x1b9)]},'children':[this[_0x281652(0x19b)],this[_0x281652(0x1ac)]]},this[_0x281652(0x1af)]]}]}),this['on'](_0x281652(0x1ad),()=>{const _0x3e5e6e=_0x281652;this[_0x3e5e6e(0x1c0)](_0x3e5e6e(0x1aa),{'id':_0x478b6e,'source':this});});}[_0x9599ce(0x1b4)](){const _0x5f447a=_0x9599ce;this[_0x5f447a(0x1c8)]=!0x0;}[_0x9599ce(0x1b6)](){const _0x51590a=_0x9599ce;this[_0x51590a(0x1c8)]=!0x1;}[_0x9599ce(0x1cb)](){const _0x3ded7f=_0x9599ce,_0x2e1ebb=new _0x1a828e(this[_0x3ded7f(0x1c7)]);return _0x2e1ebb[_0x3ded7f(0x19f)]({'tag':_0x3ded7f(0x1b2),'attributes':{'class':['ck',_0x3ded7f(0x1ba),_0x3ded7f(0x1a1),_0x3ded7f(0x198),this[_0x3ded7f(0x1cc)]['if'](_0x3ded7f(0x1ca),_0x3ded7f(0x1a2),_0x313529=>!_0x313529)]}}),_0x2e1ebb;}[_0x9599ce(0x1b7)](){const _0x17134f=_0x9599ce,_0x13d389=new _0x1cbcef(this[_0x17134f(0x1c7)]);return _0x13d389[_0x17134f(0x19a)]({'label':_0x966871(this[_0x17134f(0x1c7)],_0x17134f(0x19e)),'withText':!0x0,'class':_0x17134f(0x1bd)}),_0x13d389[_0x17134f(0x1a3)]({'on':{'click':this[_0x17134f(0x1cc)]['to'](_0x25d0a6=>{const _0x50ec19=_0x17134f;this[_0x50ec19(0x1c0)](_0x50ec19(0x1c1),{'id':this[_0x50ec19(0x199)]}),_0x25d0a6[_0x50ec19(0x1a0)]();})}}),_0x13d389;}[_0x9599ce(0x1c3)](){const _0x3d3234=_0x9599ce,_0x4ea1b9=new _0x1cbcef(this[_0x3d3234(0x1c7)]);return _0x4ea1b9[_0x3d3234(0x19a)]({'label':_0x966871(this[_0x3d3234(0x1c7)],_0x3d3234(0x1b0)),'withText':!0x0,'class':_0x3d3234(0x19c)}),_0x4ea1b9[_0x3d3234(0x1a3)]({'on':{'click':this[_0x3d3234(0x1cc)]['to'](_0x153a33=>{const _0xfa5318=_0x3d3234;this[_0xfa5318(0x1c0)](_0xfa5318(0x1ab),{'id':this[_0xfa5318(0x199)]}),_0x153a33[_0xfa5318(0x1a0)]();})}}),_0x4ea1b9;}[_0x9599ce(0x1b5)](){const _0x4c893b=_0x9599ce,_0x24a18d=new _0x1cbcef(this[_0x4c893b(0x1c7)]);return _0x24a18d[_0x4c893b(0x19a)]({'label':_0x966871(this[_0x4c893b(0x1c7)],_0x4c893b(0x1bb)),'icon':_0x3ac8de,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x4c893b(0x1a8),'class':_0x4c893b(0x1a9)}),_0x24a18d[_0x4c893b(0x1bc)](_0x4c893b(0x1bf))['to'](this,_0x4c893b(0x1c5),_0x44c0d5=>_0x44c0d5),_0x24a18d['on'](_0x4c893b(0x1b3),()=>{const _0x249bfd=_0x4c893b;this[_0x249bfd(0x1c5)]=!this[_0x249bfd(0x1c5)];}),_0x24a18d;}}function _0x179f(){const _0x5e2df7=['ck-content','AI_REVIEW_MODE_LEARN_MORE','bind','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','342805FslbaI','isOn','fire','acceptChange','1320260ZZMVNp','_createDismissButtonView','76GJNDuY','isInfoToggleOn','197bZwQWT','locale','isActive','ck-ai-review-mode__check-run-result','showDiff','_createResultResponseView','bindTemplate','ck-ai-review-mode__check-run-result-footer','2329088XRoHps','ck-ai-review-mode__check-run-result-response','changeId','set','acceptButtonView','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','resultResponseView','AI_REVIEW_MODE_ACCEPT_CHANGE','setTemplate','stopPropagation','ck-content-direct-excluded','ck-hidden','extendTemplate','3146562LifaEU','22xzDyyJ','2298DyormM','ck-ai-review-mode__check-run-result_active','menuitemcheckbox','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','activateChange','dismissChange','dismissButtonView','click','20901DDOCoC','infoButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','9516RngJLl','div','execute','setItemAsActive','_createInfoButtonView','setItemAsInactive','_createAcceptButtonView','847epyqYK','ck-ai-review-mode__check-run-result-action-buttons'];_0x179f=function(){return _0x5e2df7;};return _0x179f();}
23
+ const _0x3aed5f=_0x1bbb;(function(_0x1ea0f6,_0x16b6c1){const _0x4ac7f2=_0x1bbb,_0x770f3a=_0x1ea0f6();while(!![]){try{const _0x17f212=-parseInt(_0x4ac7f2(0x1f4))/0x1+parseInt(_0x4ac7f2(0x1fb))/0x2+-parseInt(_0x4ac7f2(0x1ca))/0x3*(parseInt(_0x4ac7f2(0x205))/0x4)+-parseInt(_0x4ac7f2(0x207))/0x5*(parseInt(_0x4ac7f2(0x1ec))/0x6)+parseInt(_0x4ac7f2(0x1f2))/0x7*(parseInt(_0x4ac7f2(0x1f1))/0x8)+parseInt(_0x4ac7f2(0x1ed))/0x9+parseInt(_0x4ac7f2(0x1e6))/0xa;if(_0x17f212===_0x16b6c1)break;else _0x770f3a['push'](_0x770f3a['shift']());}catch(_0x512f21){_0x770f3a['push'](_0x770f3a['shift']());}}}(_0x4ced,0x80f4c));import{View as _0x53c2f5,ButtonView as _0xfe63e2}from'ckeditor5/src/ui.js';function _0x1bbb(_0x3171c8,_0xefbdce){const _0x4ced5d=_0x4ced();return _0x1bbb=function(_0x1bbb0a,_0x4d7aa5){_0x1bbb0a=_0x1bbb0a-0x1c8;let _0x2cfa7d=_0x4ced5d[_0x1bbb0a];return _0x2cfa7d;},_0x1bbb(_0x3171c8,_0xefbdce);}import{IconInfo as _0xfc3154,IconCheck as _0x6d052f,IconCancel as _0x38dbfb,IconOutdated as _0x190273}from'ckeditor5/src/icons.js';function _0x4ced(){const _0x3e103e=['_createResultResponseView','setItemAsInactive','54VWoNGC','7530867aRyCnv','acceptChange','dismissButtonView','ck-content-direct-excluded','56LHlhkp','9569LrpWRU','showDiff','548084HDpKnO','extendTemplate','toUpperCase','AI_REVIEW_MODE_ACCEPT_CHANGE','isInfoToggleOn','click','REJECTED','204028ypixFh','infoButtonView','_createDismissButtonView','ck-ai-review-mode__check-run-result-action-buttons','isOn','statusButtonView','ck-ai-review-mode__check-run-result','ACCEPTED','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-review-mode__check-run-result-accept-button','4LVAgcI','AI_REVIEW_MODE_CHECK_STATUS_','146480PXDyVz','setItemAsActive','setTemplate','dismissChange','ck-ai-button-tertiary-filled','label','ck-ai-review-mode__check-run-result-footer','2480817kEFUuv','icon','ck-ai-button-secondary','disabled','_createAcceptButtonView','ck-content','fire','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','div','acceptButtonView','locale','ck-ai-review-mode__check-run-result-status-button','bind','ck-ai-review-mode__check-run-result_active','menuitemcheckbox','ck-ai-review-mode__check-run-result-dismiss-button','bindTemplate','changeId','_createStatusButtonView','activateChange','ck-hidden','resultResponseView','status','execute','ck-ai-review-mode__check-run-result-response','stopPropagation','isActive','set','12185450wKftuu','pending','AI_REVIEW_MODE_LEARN_MORE','_createInfoButtonView'];_0x4ced=function(){return _0x3e103e;};return _0x4ced();}import{getTranslation as _0x4558f4}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x53c2f5{[_0x3aed5f(0x1df)];[_0x3aed5f(0x1d3)];[_0x3aed5f(0x1ef)];[_0x3aed5f(0x1fc)];[_0x3aed5f(0x200)];constructor(_0x380113,_0x3fe03a){const _0x3fc360=_0x3aed5f;super(_0x380113),this['id']=_0x3fe03a,this[_0x3fc360(0x1e5)](_0x3fc360(0x1e0),_0x3fc360(0x1e7)),this[_0x3fc360(0x1e5)](_0x3fc360(0x1db),_0x3fe03a),this[_0x3fc360(0x1df)]=this[_0x3fc360(0x1ea)](),this[_0x3fc360(0x1d3)]=this[_0x3fc360(0x1ce)](),this[_0x3fc360(0x1ef)]=this[_0x3fc360(0x1fd)](),this[_0x3fc360(0x1fc)]=this[_0x3fc360(0x1e9)](),this[_0x3fc360(0x200)]=this[_0x3fc360(0x1dc)](),this[_0x3fc360(0x1e5)](_0x3fc360(0x1f8),!0x1),this[_0x3fc360(0x1e5)](_0x3fc360(0x1e4),!0x1),this[_0x3fc360(0x1e5)](_0x3fc360(0x1f3),!0x0),this[_0x3fc360(0x209)]({'tag':_0x3fc360(0x1d2),'attributes':{'class':[_0x3fc360(0x201),this[_0x3fc360(0x1da)]['if'](_0x3fc360(0x1e4),_0x3fc360(0x1d7))]},'on':{'click':this[_0x3fc360(0x1da)]['to'](_0x3fc360(0x1f9))},'children':[this[_0x3fc360(0x1df)],{'tag':_0x3fc360(0x1d2),'attributes':{'class':[_0x3fc360(0x1c9)]},'children':[{'tag':_0x3fc360(0x1d2),'attributes':{'class':[_0x3fc360(0x1fe)]},'children':[this[_0x3fc360(0x1d3)],this[_0x3fc360(0x1ef)],this[_0x3fc360(0x200)]]},this[_0x3fc360(0x1fc)]]}]}),this['on'](_0x3fc360(0x1f9),()=>{const _0x43b430=_0x3fc360;this[_0x43b430(0x1d0)](_0x43b430(0x1dd),{'id':_0x3fe03a,'source':this});});}[_0x3aed5f(0x208)](){const _0x10b5b1=_0x3aed5f;this[_0x10b5b1(0x1e4)]=!0x0;}[_0x3aed5f(0x1eb)](){const _0x22f2eb=_0x3aed5f;this[_0x22f2eb(0x1e4)]=!0x1;}[_0x3aed5f(0x1ea)](){const _0x21d7c2=_0x3aed5f,_0x226655=new _0x53c2f5(this[_0x21d7c2(0x1d4)]);return _0x226655[_0x21d7c2(0x209)]({'tag':_0x21d7c2(0x1d2),'attributes':{'class':['ck',_0x21d7c2(0x1cf),_0x21d7c2(0x1f0),_0x21d7c2(0x1e2),this[_0x21d7c2(0x1da)]['if'](_0x21d7c2(0x1f3),_0x21d7c2(0x1de),_0x590330=>!_0x590330)]}}),_0x226655;}[_0x3aed5f(0x1ce)](){const _0x3cfb50=_0x3aed5f,_0x4b4988=new _0xfe63e2(this[_0x3cfb50(0x1d4)]);return _0x4b4988[_0x3cfb50(0x1e5)]({'label':_0x4558f4(this[_0x3cfb50(0x1d4)],_0x3cfb50(0x1f7)),'withText':!0x0}),_0x4b4988[_0x3cfb50(0x1f5)]({'on':{'click':this[_0x3cfb50(0x1da)]['to'](_0x480ee2=>{const _0x3f9f8b=_0x3cfb50;this[_0x3f9f8b(0x1d0)](_0x3f9f8b(0x1ee),{'id':this[_0x3f9f8b(0x1db)]}),_0x480ee2[_0x3f9f8b(0x1e3)]();})},'attributes':{'class':[_0x3cfb50(0x1cc),_0x3cfb50(0x204),this[_0x3cfb50(0x1da)]['if'](_0x3cfb50(0x1e0),_0x3cfb50(0x1de),_0x3e1cb7=>_0x3cfb50(0x1e7)!==_0x3e1cb7)]}}),_0x4b4988;}[_0x3aed5f(0x1fd)](){const _0x221972=_0x3aed5f,_0x842d50=new _0xfe63e2(this[_0x221972(0x1d4)]);return _0x842d50[_0x221972(0x1e5)]({'label':_0x4558f4(this[_0x221972(0x1d4)],_0x221972(0x203)),'withText':!0x0}),_0x842d50[_0x221972(0x1f5)]({'on':{'click':this[_0x221972(0x1da)]['to'](_0x32f360=>{const _0x5eedb4=_0x221972;this[_0x5eedb4(0x1d0)](_0x5eedb4(0x20a),{'id':this[_0x5eedb4(0x1db)]}),_0x32f360[_0x5eedb4(0x1e3)]();})},'attributes':{'class':[_0x221972(0x20b),_0x221972(0x1d9),this[_0x221972(0x1da)]['if'](_0x221972(0x1e0),_0x221972(0x1de),_0x5440ee=>_0x221972(0x1e7)!==_0x5440ee)]}}),_0x842d50;}[_0x3aed5f(0x1e9)](){const _0x19d2c0=_0x3aed5f,_0x3da62f=new _0xfe63e2(this[_0x19d2c0(0x1d4)]);return _0x3da62f[_0x19d2c0(0x1e5)]({'label':_0x4558f4(this[_0x19d2c0(0x1d4)],_0x19d2c0(0x1e8)),'icon':_0xfc3154,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x19d2c0(0x1d8),'class':_0x19d2c0(0x1d1)}),_0x3da62f[_0x19d2c0(0x1d6)](_0x19d2c0(0x1ff))['to'](this,_0x19d2c0(0x1f8),_0x2d89d2=>_0x2d89d2),_0x3da62f['on'](_0x19d2c0(0x1e1),()=>{const _0x3c5ab8=_0x19d2c0;this[_0x3c5ab8(0x1f8)]=!this[_0x3c5ab8(0x1f8)];}),_0x3da62f;}[_0x3aed5f(0x1dc)](){const _0x2a4fac=_0x3aed5f,_0x52f88f=new _0xfe63e2(this[_0x2a4fac(0x1d4)]);return _0x52f88f[_0x2a4fac(0x1e5)]({'withText':!0x0,'isEnabled':!0x1}),_0x52f88f[_0x2a4fac(0x1d6)](_0x2a4fac(0x1c8))['to'](this,_0x2a4fac(0x1e0),_0x1da0d2=>_0x4558f4(this[_0x2a4fac(0x1d4)],_0x2a4fac(0x206)+_0x1da0d2[_0x2a4fac(0x1f6)]())),_0x52f88f[_0x2a4fac(0x1d6)](_0x2a4fac(0x1cb))['to'](this,_0x2a4fac(0x1e0),_0x39cdc3=>_0x2a4fac(0x202)===_0x39cdc3[_0x2a4fac(0x1f6)]()?_0x6d052f:_0x2a4fac(0x1fa)===_0x39cdc3[_0x2a4fac(0x1f6)]()?_0x38dbfb:_0x190273),_0x52f88f[_0x2a4fac(0x1f5)]({'attributes':{'class':[_0x2a4fac(0x1cc),_0x2a4fac(0x1d5),this[_0x2a4fac(0x1da)]['if'](_0x2a4fac(0x1e0),_0x2a4fac(0x1de),_0x26b155=>_0x2a4fac(0x1e7)===_0x26b155)],'disabled':_0x2a4fac(0x1cd)}}),_0x52f88f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x4cb982,KeystrokeHandler as _0x17e8f6,FocusTracker as _0x4a0647}from'ckeditor5/src/utils.js';import{View as _0xf8c373,ViewCollection as _0x35f1e7,ButtonView as _0x39d2df,FormRowView as _0x59ea51,createDropdown as _0x5b023c,addListToDropdown as _0x208925,UIModel as _0x268acc,ButtonLabelView as _0x3600ae,LabeledFieldView as _0x4af9c6,FocusCycler as _0x32df2f}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x54f84f}from'./aireviemodepromptinputview.js';import{getTranslation as _0x8afad}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0xf8c373{['focusTracker']=new _0x4a0647();['keystrokes']=new _0x17e8f6();['focusCycler'];['_focusables']=new _0x35f1e7();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x243a6d,_0x168af6){super(_0x243a6d),this['_check']=_0x168af6,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x168af6['models']&&_0x168af6['models']['length']>0x0?_0x168af6['models'][0x0]['id']:'',this['_defaultLabel']=_0x168af6['models']&&_0x168af6['models']['length']>0x0?_0x168af6['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x4af9c6(this['locale'],()=>new _0x54f84f(_0x243a6d)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x4cb982(),this['_setModelList'](),_0x208925(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x59ea51(this['locale'],{'children':[this['promptInputView']]}),new _0x59ea51(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x591a69,_0x538bbc)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x538bbc()):_0x538bbc();}),this['focusCycler']=new _0x32df2f({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x155c3e=>{this['_focusables']['add'](_0x155c3e),this['focusTracker']['add'](_0x155c3e['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x188cf6 of this['_getFormValidators']()){const _0x4d0f86=_0x188cf6();if(_0x4d0f86)return this['promptInputView']['errorText']=_0x4d0f86,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x8afad(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3d1a84=new _0x39d2df(this['locale']),t=this['locale']['t'];return _0x3d1a84['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3d1a84['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3d1a84;}['_createCancelButtonView'](){const _0x506e22=new _0x39d2df(this['locale']),t=this['locale']['t'];return _0x506e22['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x506e22['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x17f28f=>{_0x17f28f['stopPropagation']();})}}),_0x506e22['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x506e22;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x55a8b4=this['_check']['models'];if(this['resetToDefault'](),_0x55a8b4?.['length'])for(const _0x4b151b of _0x55a8b4){const _0x25b67b=new _0x268acc({'label':_0x4b151b['name'],'withText':!0x0,'role':'menuitemradio','id':_0x4b151b['id'],'model':_0x4b151b});_0x25b67b['bind']('isOn')['to'](this,'modelId',_0x226850=>_0x226850===_0x4b151b['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x25b67b,'labelView':new Hs(this['locale'],_0x4b151b)});}}['_createModelSelectionDropdown'](){const _0x35ce50=_0x5b023c(this['locale']);return _0x35ce50['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x35ce50['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x35ce50,'execute',_0x5cd230=>{this['modelId']=_0x5cd230['source']['model']['id'],_0x35ce50['buttonView']['label']=_0x5cd230['source']['label'];}),_0x35ce50;}['_createActionsFooterView'](){const _0x5282f1=new _0xf8c373(this['locale']);return _0x5282f1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x5282f1;}}class Hs extends _0x3600ae{constructor(_0x3ce27b,_0x5a0dbb){super();const _0x22b3e0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x22b3e0['to']('style'),'id':_0x22b3e0['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x22b3e0['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x5a0dbb['description']||'']}]}]});}}
23
+ import{Collection as _0x14ad7b,KeystrokeHandler as _0x103622,FocusTracker as ts}from'ckeditor5/src/utils.js';import{View as _0x1a1724,ViewCollection as _0x28315d,ButtonView as _0x46edd8,FormRowView as _0x3d64f4,createDropdown as _0x247fc8,addListToDropdown as _0x24eb8d,UIModel as _0x3b1e6d,ButtonLabelView as _0x49b586,LabeledFieldView as _0x3344c1,FocusCycler as $t}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0xbcd24b}from'./aireviemodepromptinputview.js';import{getTranslation as _0x481da8}from'../../aicore/utils/common-translations.js';import{AIModels as _0xdb13f2}from'../../aicore/model/aimodels.js';export class AIReviewModeCustomCheckView extends _0x1a1724{['focusTracker']=new ts();['keystrokes']=new _0x103622();['focusCycler'];['_focusables']=new _0x28315d();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x588bcc,_0x26dd3){super(_0x588bcc),this['_check']=_0x26dd3,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x26dd3['models']&&_0x26dd3['models']['length']>0x0?_0x26dd3['models'][0x0]['id']:'',this['_defaultLabel']=_0x26dd3['models']&&_0x26dd3['models']['length']>0x0?_0x26dd3['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x3344c1(this['locale'],()=>new _0xbcd24b(_0x588bcc)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x14ad7b(),this['_setModelList'](),_0x24eb8d(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x3d64f4(this['locale'],{'children':[this['promptInputView']]}),new _0x3d64f4(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x4c9b81,_0x347fc6)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x347fc6()):_0x347fc6();}),this['focusCycler']=new $t({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x3b89e7=>{this['_focusables']['add'](_0x3b89e7),this['focusTracker']['add'](_0x3b89e7['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x4d8ba5 of this['_getFormValidators']()){const _0x4e22a1=_0x4d8ba5();if(_0x4e22a1)return this['promptInputView']['errorText']=_0x4e22a1,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x481da8(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x285652=new _0x46edd8(this['locale']),t=this['locale']['t'];return _0x285652['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x285652['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x285652;}['_createCancelButtonView'](){const _0x22eec2=new _0x46edd8(this['locale']),t=this['locale']['t'];return _0x22eec2['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x22eec2['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2e21bb=>{_0x2e21bb['stopPropagation']();})}}),_0x22eec2['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x22eec2;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x16197a=this['_check']['models'];if(this['resetToDefault'](),_0x16197a?.['length']){const _0x4e2e16=_0xdb13f2['getLocalized'](this['locale'],_0x16197a);for(const _0x59bdea of _0x4e2e16){const _0x4be839=new _0x3b1e6d({'label':_0x59bdea['name'],'withText':!0x0,'role':'menuitemradio','id':_0x59bdea['id'],'model':_0x59bdea});_0x4be839['bind']('isOn')['to'](this,'modelId',_0x192dc7=>_0x192dc7===_0x59bdea['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4be839,'labelView':new Ws(this['locale'],_0x59bdea)});}}}['_createModelSelectionDropdown'](){const _0x32908a=_0x247fc8(this['locale']);return _0x32908a['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x32908a['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x32908a,'execute',_0x72d10=>{this['modelId']=_0x72d10['source']['model']['id'],_0x32908a['buttonView']['label']=_0x72d10['source']['label'];}),_0x32908a;}['_createActionsFooterView'](){const _0x124207=new _0x1a1724(this['locale']);return _0x124207['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x124207;}}class Ws extends _0x49b586{constructor(_0x30cf44,_0x133059){super();const _0x53732f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x53732f['to']('style'),'id':_0x53732f['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x53732f['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x133059['description']||'']}]}]});}}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/aireviewmodefinishreviewbuttonview
7
+ */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { ButtonView } from 'ckeditor5/src/ui.js';
10
+ import '../../../theme/aireviewmode/aireviewmode-review-completed.css';
11
+ export declare class AIReviewModeFinishReviewButtonView extends ButtonView {
12
+ constructor(locale: Locale);
13
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x38d212,_0x3f6b18){var _0x291eb1=_0x6681,_0x3c2b20=_0x38d212();while(!![]){try{var _0x3d369e=parseInt(_0x291eb1(0x1a2))/0x1+parseInt(_0x291eb1(0x1ac))/0x2*(parseInt(_0x291eb1(0x1a3))/0x3)+parseInt(_0x291eb1(0x1ad))/0x4+-parseInt(_0x291eb1(0x1ae))/0x5*(parseInt(_0x291eb1(0x1a8))/0x6)+-parseInt(_0x291eb1(0x1a0))/0x7+parseInt(_0x291eb1(0x1a6))/0x8+-parseInt(_0x291eb1(0x1af))/0x9;if(_0x3d369e===_0x3f6b18)break;else _0x3c2b20['push'](_0x3c2b20['shift']());}catch(_0x469d32){_0x3c2b20['push'](_0x3c2b20['shift']());}}}(_0x504b,0x52428));function _0x6681(_0x1e4e52,_0x2eaa91){var _0x504b68=_0x504b();return _0x6681=function(_0x6681db,_0x401412){_0x6681db=_0x6681db-0x1a0;var _0x3e9af1=_0x504b68[_0x6681db];return _0x3e9af1;},_0x6681(_0x1e4e52,_0x2eaa91);}import{ButtonView as _0x3cc038}from'ckeditor5/src/ui.js';import{getTranslation as _0x56ed6f}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x3cc038{constructor(_0x2685cf){var _0x4dacb8=_0x6681;super(_0x2685cf),this[_0x4dacb8(0x1aa)]({'label':_0x56ed6f(this[_0x4dacb8(0x1a9)],_0x4dacb8(0x1a5)),'withText':!0x0,'class':_0x4dacb8(0x1ab)}),this['on'](_0x4dacb8(0x1a4),()=>{var _0x584103=_0x4dacb8;this[_0x584103(0x1a1)](_0x584103(0x1a7));});}}function _0x504b(){var _0xf7c2b9=['171FYZZFC','execute','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','2081120OLDflY','finishReview','168AQSffW','locale','set','ck-ai-button-primary','1404cCWQDh','1087608QzaBNc','2175jNJAbz','371673drxTXI','2441530kbqKyb','fire','167147yrJCwx'];_0x504b=function(){return _0xf7c2b9;};return _0x504b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x112f2d=_0x5b40;function _0x54d7(){const _0x553107=['setTemplate','82OsdbET','ck-ai-review-mode__check-list','2759910qZafFt','clear','resetAllParameterizedChecks','isVisible','entries','1167792AAtIuG','2936530uKhOIZ','setChecks','add','9cZzClN','49YFLPhs','9BlpbPE','5MSJDzl','bindTemplate','1166187uRUlSk','_checkViews','runReviewCheck','20747WpecaW','3065376SUZBuG','317692hXUmdF','delegate','ck-hidden','resetToDefault','locale','hasChecks','div','length'];_0x54d7=function(){return _0x553107;};return _0x54d7();}(function(_0xe578a0,_0x14332e){const _0x3a2176=_0x5b40,_0x3f6fbf=_0xe578a0();while(!![]){try{const _0x47d026=-parseInt(_0x3a2176(0xe1))/0x1*(-parseInt(_0x3a2176(0xce))/0x2)+-parseInt(_0x3a2176(0xd9))/0x3*(parseInt(_0x3a2176(0xc5))/0x4)+-parseInt(_0x3a2176(0xdc))/0x5*(parseInt(_0x3a2176(0xd0))/0x6)+parseInt(_0x3a2176(0xda))/0x7*(parseInt(_0x3a2176(0xd5))/0x8)+-parseInt(_0x3a2176(0xdb))/0x9*(parseInt(_0x3a2176(0xd6))/0xa)+-parseInt(_0x3a2176(0xde))/0xb+-parseInt(_0x3a2176(0xc4))/0xc;if(_0x47d026===_0x14332e)break;else _0x3f6fbf['push'](_0x3f6fbf['shift']());}catch(_0x171738){_0x3f6fbf['push'](_0x3f6fbf['shift']());}}}(_0x54d7,0x7eba1));function _0x5b40(_0x42aeff,_0x4ba178){const _0x54d7c5=_0x54d7();return _0x5b40=function(_0x5b4021,_0x3b5a61){_0x5b4021=_0x5b4021-0xc4;let _0x5d0cd1=_0x54d7c5[_0x5b4021];return _0x5d0cd1;},_0x5b40(_0x42aeff,_0x4ba178);}import{ListItemView as _0x5ef376,ViewCollection as _0xdf1441}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x2cea73}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x5ef376{[_0x112f2d(0xdf)];constructor(_0xc3197){const _0x256b7f=_0x112f2d;super(_0xc3197),this[_0x256b7f(0xdf)]=new _0xdf1441();const _0x37adc6=this[_0x256b7f(0xdd)];this[_0x256b7f(0xcd)]({'tag':_0x256b7f(0xcb),'attributes':{'class':[_0x256b7f(0xcf),_0x37adc6['if'](_0x256b7f(0xd3),_0x256b7f(0xc7),_0x2dcdfe=>!_0x2dcdfe)]},'children':this[_0x256b7f(0xdf)]});}[_0x112f2d(0xd7)](_0xc5d5d7){const _0x2ab71f=_0x112f2d;this[_0x2ab71f(0xdf)][_0x2ab71f(0xd1)]();for(const [_0x29535b,_0x1cf977]of _0xc5d5d7[_0x2ab71f(0xd4)]()){const _0x5243b8=new _0x2cea73(this[_0x2ab71f(0xc9)],_0x1cf977,_0x29535b);_0x5243b8[_0x2ab71f(0xc6)](_0x2ab71f(0xe0))['to'](this),this[_0x2ab71f(0xdf)][_0x2ab71f(0xd8)](_0x5243b8);}}[_0x112f2d(0xca)](){const _0x2ac28c=_0x112f2d;return this[_0x2ac28c(0xdf)][_0x2ac28c(0xcc)]>0x0;}[_0x112f2d(0xd2)](){const _0x5f40a6=_0x112f2d;for(const _0x1d76d9 of this[_0x5f40a6(0xdf)])_0x1d76d9 instanceof _0x2cea73&&_0x1d76d9[_0x5f40a6(0xc8)]();}}
23
+ function _0x398b(_0x27e0fc,_0x3cc2ea){const _0x166f4a=_0x166f();return _0x398b=function(_0x398b71,_0x5cae34){_0x398b71=_0x398b71-0x191;let _0x45cf04=_0x166f4a[_0x398b71];return _0x45cf04;},_0x398b(_0x27e0fc,_0x3cc2ea);}const _0x1054b4=_0x398b;(function(_0xb69093,_0x51c765){const _0x4503b8=_0x398b,_0x3d3b8b=_0xb69093();while(!![]){try{const _0x543f4d=parseInt(_0x4503b8(0x1a8))/0x1+parseInt(_0x4503b8(0x196))/0x2+parseInt(_0x4503b8(0x1a3))/0x3*(-parseInt(_0x4503b8(0x195))/0x4)+-parseInt(_0x4503b8(0x1a5))/0x5+parseInt(_0x4503b8(0x1a1))/0x6*(parseInt(_0x4503b8(0x19a))/0x7)+-parseInt(_0x4503b8(0x19c))/0x8+-parseInt(_0x4503b8(0x1a2))/0x9;if(_0x543f4d===_0x51c765)break;else _0x3d3b8b['push'](_0x3d3b8b['shift']());}catch(_0x105a02){_0x3d3b8b['push'](_0x3d3b8b['shift']());}}}(_0x166f,0xa18b1));import{ListItemView as _0x277b81,ViewCollection as _0xc25d34}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x5e4e3c}from'./aireviewmodereviewcommandlistitemview.js';function _0x166f(){const _0x1f87b3=['616joXkMu','hasChecks','5412696LUaeam','div','locale','add','resetToDefault','89748PBxbQk','761877hPzlaX','27gsJJFc','length','2959225wtvWBS','setChecks','runReviewCheck','424980uDrMzu','entries','ck-hidden','clear','delegate','setTemplate','ck-ai-review-mode__check-list','_checkViews','52432taMZjp','782908opkcbM','isVisible','bindTemplate','resetAllParameterizedChecks'];_0x166f=function(){return _0x1f87b3;};return _0x166f();}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x277b81{[_0x1054b4(0x194)];constructor(_0x19efb8){const _0x40852c=_0x1054b4;super(_0x19efb8),this[_0x40852c(0x194)]=new _0xc25d34();const _0x52c933=this[_0x40852c(0x198)];this[_0x40852c(0x192)]({'tag':_0x40852c(0x19d),'attributes':{'class':[_0x40852c(0x193),_0x52c933['if'](_0x40852c(0x197),_0x40852c(0x1aa),_0x4a9849=>!_0x4a9849)]},'children':this[_0x40852c(0x194)]});}[_0x1054b4(0x1a6)](_0x48bfb3){const _0x2ac341=_0x1054b4;this[_0x2ac341(0x194)][_0x2ac341(0x1ab)]();for(const [_0x35907c,_0x28c1d7]of _0x48bfb3[_0x2ac341(0x1a9)]()){const _0x56ce33=new _0x5e4e3c(this[_0x2ac341(0x19e)],_0x28c1d7,_0x35907c);_0x56ce33[_0x2ac341(0x191)](_0x2ac341(0x1a7))['to'](this),this[_0x2ac341(0x194)][_0x2ac341(0x19f)](_0x56ce33);}}[_0x1054b4(0x19b)](){const _0x38ce4c=_0x1054b4;return this[_0x38ce4c(0x194)][_0x38ce4c(0x1a4)]>0x0;}[_0x1054b4(0x199)](){const _0x5e7220=_0x1054b4;for(const _0x43efba of this[_0x5e7220(0x194)])_0x43efba instanceof _0x5e4e3c&&_0x43efba[_0x5e7220(0x1a0)]();}}
@@ -9,6 +9,7 @@ import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { ListItemView, View, ViewCollection } from 'ckeditor5/src/ui.js';
10
10
  import { AIReviewModeReviewCheckListItemResultsView } from './aireviewmodechecklistitemresultview.js';
11
11
  import { AIDisclaimerView } from '../../aicore/ui/aidisclaimerview.js';
12
+ import { type AIReviewCheckResultChange } from '../model/aireviewcheckresultchange.js';
12
13
  import '../../../theme/aireviewmode/aireviewmode-check-run.css';
13
14
  import '../../../theme/aireviewmode/aireviewmode-check-run-result.css';
14
15
  export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
@@ -44,6 +45,12 @@ export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
44
45
  * @observable
45
46
  */
46
47
  isToggleDiffOn: boolean;
48
+ /**
49
+ * Indicates whether the review is completed.
50
+ *
51
+ * @observable
52
+ */
53
+ isCompleted: boolean;
47
54
  /**
48
55
  * Indicates whether the results are ready and can be interacted with.
49
56
  *
@@ -60,7 +67,8 @@ export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
60
67
  contentDiffed: string;
61
68
  id: string;
62
69
  }): void;
63
- hideResult(id: string): void;
70
+ hideResult(id: string, status: AIReviewCheckResultChange['status']): void;
71
+ showResult(id: string, status: AIReviewCheckResultChange['status']): void;
64
72
  /**
65
73
  * Sets the title of the current check results.
66
74
  *