@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 47.0.0-alpha.7

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 (327) hide show
  1. package/LICENSE.md +4 -0
  2. package/build/ai.js +1 -1
  3. package/ckeditor5-metadata.json +14 -0
  4. package/dist/index-editor.css +70 -19
  5. package/dist/index.css +80 -19
  6. package/dist/index.js +4 -4
  7. package/dist/translations/af.js +1 -1
  8. package/dist/translations/af.umd.js +1 -1
  9. package/dist/translations/ar.js +1 -1
  10. package/dist/translations/ar.umd.js +1 -1
  11. package/dist/translations/ast.js +1 -1
  12. package/dist/translations/ast.umd.js +1 -1
  13. package/dist/translations/az.js +1 -1
  14. package/dist/translations/az.umd.js +1 -1
  15. package/dist/translations/be.js +1 -1
  16. package/dist/translations/be.umd.js +1 -1
  17. package/dist/translations/bg.js +1 -1
  18. package/dist/translations/bg.umd.js +1 -1
  19. package/dist/translations/bn.js +1 -1
  20. package/dist/translations/bn.umd.js +1 -1
  21. package/dist/translations/bs.js +1 -1
  22. package/dist/translations/bs.umd.js +1 -1
  23. package/dist/translations/ca.js +1 -1
  24. package/dist/translations/ca.umd.js +1 -1
  25. package/dist/translations/cs.js +1 -1
  26. package/dist/translations/cs.umd.js +1 -1
  27. package/dist/translations/da.js +1 -1
  28. package/dist/translations/da.umd.js +1 -1
  29. package/dist/translations/de-ch.js +1 -1
  30. package/dist/translations/de-ch.umd.js +1 -1
  31. package/dist/translations/de.js +1 -1
  32. package/dist/translations/de.umd.js +1 -1
  33. package/dist/translations/el.js +1 -1
  34. package/dist/translations/el.umd.js +1 -1
  35. package/dist/translations/en-au.js +1 -1
  36. package/dist/translations/en-au.umd.js +1 -1
  37. package/dist/translations/en-gb.js +1 -1
  38. package/dist/translations/en-gb.umd.js +1 -1
  39. package/dist/translations/en.js +1 -1
  40. package/dist/translations/en.umd.js +1 -1
  41. package/dist/translations/eo.js +1 -1
  42. package/dist/translations/eo.umd.js +1 -1
  43. package/dist/translations/es-co.js +1 -1
  44. package/dist/translations/es-co.umd.js +1 -1
  45. package/dist/translations/es.js +1 -1
  46. package/dist/translations/es.umd.js +1 -1
  47. package/dist/translations/et.js +1 -1
  48. package/dist/translations/et.umd.js +1 -1
  49. package/dist/translations/eu.js +1 -1
  50. package/dist/translations/eu.umd.js +1 -1
  51. package/dist/translations/fa.js +1 -1
  52. package/dist/translations/fa.umd.js +1 -1
  53. package/dist/translations/fi.js +1 -1
  54. package/dist/translations/fi.umd.js +1 -1
  55. package/dist/translations/fr.js +1 -1
  56. package/dist/translations/fr.umd.js +1 -1
  57. package/dist/translations/gl.js +1 -1
  58. package/dist/translations/gl.umd.js +1 -1
  59. package/dist/translations/gu.js +1 -1
  60. package/dist/translations/gu.umd.js +1 -1
  61. package/dist/translations/he.js +1 -1
  62. package/dist/translations/he.umd.js +1 -1
  63. package/dist/translations/hi.js +1 -1
  64. package/dist/translations/hi.umd.js +1 -1
  65. package/dist/translations/hr.js +1 -1
  66. package/dist/translations/hr.umd.js +1 -1
  67. package/dist/translations/hu.js +1 -1
  68. package/dist/translations/hu.umd.js +1 -1
  69. package/dist/translations/hy.js +1 -1
  70. package/dist/translations/hy.umd.js +1 -1
  71. package/dist/translations/id.js +1 -1
  72. package/dist/translations/id.umd.js +1 -1
  73. package/dist/translations/it.js +1 -1
  74. package/dist/translations/it.umd.js +1 -1
  75. package/dist/translations/ja.js +1 -1
  76. package/dist/translations/ja.umd.js +1 -1
  77. package/dist/translations/jv.js +1 -1
  78. package/dist/translations/jv.umd.js +1 -1
  79. package/dist/translations/kk.js +1 -1
  80. package/dist/translations/kk.umd.js +1 -1
  81. package/dist/translations/km.js +1 -1
  82. package/dist/translations/km.umd.js +1 -1
  83. package/dist/translations/kn.js +1 -1
  84. package/dist/translations/kn.umd.js +1 -1
  85. package/dist/translations/ko.js +1 -1
  86. package/dist/translations/ko.umd.js +1 -1
  87. package/dist/translations/ku.js +1 -1
  88. package/dist/translations/ku.umd.js +1 -1
  89. package/dist/translations/lt.js +1 -1
  90. package/dist/translations/lt.umd.js +1 -1
  91. package/dist/translations/lv.js +1 -1
  92. package/dist/translations/lv.umd.js +1 -1
  93. package/dist/translations/ms.js +1 -1
  94. package/dist/translations/ms.umd.js +1 -1
  95. package/dist/translations/nb.js +1 -1
  96. package/dist/translations/nb.umd.js +1 -1
  97. package/dist/translations/ne.js +1 -1
  98. package/dist/translations/ne.umd.js +1 -1
  99. package/dist/translations/nl.js +1 -1
  100. package/dist/translations/nl.umd.js +1 -1
  101. package/dist/translations/no.js +1 -1
  102. package/dist/translations/no.umd.js +1 -1
  103. package/dist/translations/oc.js +1 -1
  104. package/dist/translations/oc.umd.js +1 -1
  105. package/dist/translations/pl.js +1 -1
  106. package/dist/translations/pl.umd.js +1 -1
  107. package/dist/translations/pt-br.js +1 -1
  108. package/dist/translations/pt-br.umd.js +1 -1
  109. package/dist/translations/pt.js +1 -1
  110. package/dist/translations/pt.umd.js +1 -1
  111. package/dist/translations/ro.js +1 -1
  112. package/dist/translations/ro.umd.js +1 -1
  113. package/dist/translations/ru.js +1 -1
  114. package/dist/translations/ru.umd.js +1 -1
  115. package/dist/translations/si.js +1 -1
  116. package/dist/translations/si.umd.js +1 -1
  117. package/dist/translations/sk.js +1 -1
  118. package/dist/translations/sk.umd.js +1 -1
  119. package/dist/translations/sl.js +1 -1
  120. package/dist/translations/sl.umd.js +1 -1
  121. package/dist/translations/sq.js +1 -1
  122. package/dist/translations/sq.umd.js +1 -1
  123. package/dist/translations/sr-latn.js +1 -1
  124. package/dist/translations/sr-latn.umd.js +1 -1
  125. package/dist/translations/sr.js +1 -1
  126. package/dist/translations/sr.umd.js +1 -1
  127. package/dist/translations/sv.js +1 -1
  128. package/dist/translations/sv.umd.js +1 -1
  129. package/dist/translations/th.js +1 -1
  130. package/dist/translations/th.umd.js +1 -1
  131. package/dist/translations/ti.js +1 -1
  132. package/dist/translations/ti.umd.js +1 -1
  133. package/dist/translations/tk.js +1 -1
  134. package/dist/translations/tk.umd.js +1 -1
  135. package/dist/translations/tr.js +1 -1
  136. package/dist/translations/tr.umd.js +1 -1
  137. package/dist/translations/tt.js +1 -1
  138. package/dist/translations/tt.umd.js +1 -1
  139. package/dist/translations/ug.js +1 -1
  140. package/dist/translations/ug.umd.js +1 -1
  141. package/dist/translations/uk.js +1 -1
  142. package/dist/translations/uk.umd.js +1 -1
  143. package/dist/translations/ur.js +1 -1
  144. package/dist/translations/ur.umd.js +1 -1
  145. package/dist/translations/uz.js +1 -1
  146. package/dist/translations/uz.umd.js +1 -1
  147. package/dist/translations/vi.js +1 -1
  148. package/dist/translations/vi.umd.js +1 -1
  149. package/dist/translations/zh-cn.js +1 -1
  150. package/dist/translations/zh-cn.umd.js +1 -1
  151. package/dist/translations/zh.js +1 -1
  152. package/dist/translations/zh.umd.js +1 -1
  153. package/lang/contexts.json +6 -0
  154. package/package.json +15 -15
  155. package/src/aiactions/aiactions.d.ts +0 -2
  156. package/src/aiactions/aiactions.js +1 -1
  157. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  158. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  159. package/src/aiactions/model/aiactionsreply.js +1 -1
  160. package/src/aiassistant/adapters/aiadapter.js +1 -1
  161. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  162. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  163. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  164. package/src/aiassistant/aiassistant.js +1 -1
  165. package/src/aiassistant/aiassistantediting.js +1 -1
  166. package/src/aiassistant/aiassistantui.js +1 -1
  167. package/src/aiassistant/legacyerrors.js +1 -1
  168. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  169. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  170. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  171. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  172. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  173. package/src/aiassistant/ui/form/aiformview.js +1 -1
  174. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  175. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  176. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  177. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  178. package/src/aiassistant/utils/common-translations.js +1 -1
  179. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  180. package/src/aiballoon/aiballoon.js +1 -1
  181. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  182. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  183. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  184. package/src/aiballoon/ui/aiballoonview.js +1 -1
  185. package/src/aichat/aichat.js +1 -1
  186. package/src/aichat/aichatcontroller.d.ts +4 -0
  187. package/src/aichat/aichatcontroller.js +1 -1
  188. package/src/aichat/aichatui.d.ts +9 -2
  189. package/src/aichat/aichatui.js +1 -1
  190. package/src/aichat/model/aichatcontext.js +1 -1
  191. package/src/aichat/model/aichatconversation.js +1 -1
  192. package/src/aichat/model/aichatinteraction.js +1 -1
  193. package/src/aichat/model/aichatmodels.js +1 -1
  194. package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
  195. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  196. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  197. package/src/aichat/ui/aichatfeedview.js +1 -1
  198. package/src/aichat/ui/aichatheaderview.js +1 -1
  199. package/src/aichat/ui/aichatview.js +1 -1
  200. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  202. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  203. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  204. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  205. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  206. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  207. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  210. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  211. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  212. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  216. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  218. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  219. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  220. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  221. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  222. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  223. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  224. package/src/aichat/utils/eventnames.js +1 -1
  225. package/src/aichat/utils/promisequeue.js +1 -1
  226. package/src/aichat/utils/scrollmanager.js +1 -1
  227. package/src/aichathistory/aichathistory.js +1 -1
  228. package/src/aichathistory/aichathistorycontroller.js +1 -1
  229. package/src/aichathistory/aichathistoryui.js +1 -1
  230. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  231. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  232. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  233. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  234. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  235. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  236. package/src/aiconfig.d.ts +17 -0
  237. package/src/aicore/aiconnector.d.ts +13 -0
  238. package/src/aicore/aiconnector.js +1 -1
  239. package/src/aicore/aiediting.js +1 -1
  240. package/src/aicore/model/aicapabilities.js +1 -1
  241. package/src/aicore/model/aicontext.js +1 -1
  242. package/src/aicore/model/aiinteraction.d.ts +41 -1
  243. package/src/aicore/model/aiinteraction.js +1 -1
  244. package/src/aicore/model/aireply.d.ts +2 -2
  245. package/src/aicore/model/aireply.js +1 -1
  246. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  247. package/src/aicore/pipeline/airesponseparser.js +2 -2
  248. package/src/aicore/ui/aidisclaimerview.js +1 -1
  249. package/src/aicore/ui/aiskeleton.js +1 -1
  250. package/src/aicore/ui/aispinner.js +1 -1
  251. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  252. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  253. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  254. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  255. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  256. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  257. package/src/aicore/utils/common-translations.js +1 -1
  258. package/src/aicore/utils/createresizebutton.js +1 -1
  259. package/src/aicore/utils/documentposition.js +1 -1
  260. package/src/aicore/utils/documentrange.js +1 -1
  261. package/src/aicore/utils/eventnames.js +1 -1
  262. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  263. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  264. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  265. package/src/aicore/utils/htmlparser.js +1 -1
  266. package/src/aicore/utils/htmlstreamer.js +1 -1
  267. package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
  268. package/src/aieditorintegration/aieditorintegration.js +23 -0
  269. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
  270. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
  271. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
  272. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
  273. package/src/aiquickactions/aiquickactions.js +1 -1
  274. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  275. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  276. package/src/aiquickactions/aiquickactionsui.js +1 -1
  277. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  278. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  279. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  280. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  281. package/src/aireviewmode/aireviewmode.js +1 -1
  282. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  283. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  284. package/src/aireviewmode/aireviewmodeui.js +1 -1
  285. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  286. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  287. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  288. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  289. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  290. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  291. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  292. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  293. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  294. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  295. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  296. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  303. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  306. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.d.ts +6 -0
  309. package/src/aitabs/aitabsmainview.js +1 -1
  310. package/src/aitabs/tabs/aitabsview.js +1 -1
  311. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  312. package/src/aitabs/tabs/tabpanelview.js +1 -1
  313. package/src/augmentation.d.ts +6 -0
  314. package/src/index.d.ts +4 -1
  315. package/src/index.js +1 -1
  316. package/theme/aiballoon/aiballoon.css +17 -4
  317. package/theme/aichat/aichat-controls.css +6 -0
  318. package/theme/aichat/aichat.css +2 -0
  319. package/theme/aichat/aichathistory.css +26 -9
  320. package/theme/aichat/aiminitoolbar.css +8 -0
  321. package/theme/aichat/aisuggestioncontainer.css +14 -2
  322. package/theme/aireviewmode/aireviewmode-check-run-result.css +6 -0
  323. package/theme/aitabs/aitabsview.css +6 -1
  324. package/theme/common/aibutton.css +0 -4
  325. package/theme/common/aiheader.css +1 -0
  326. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  327. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -23,6 +23,7 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
23
23
  * The check run ID.
24
24
  */
25
25
  readonly id: string;
26
+ callId?: string;
26
27
  constructor(documentData: AIDocumentData, sourceCheck: AIReviewCheck, connector: AIConnector, params?: Array<string>, args?: Record<string, any>);
27
28
  /**
28
29
  * Returns the document data obtained at the time of the check run.
@@ -58,6 +59,9 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
58
59
  activateChange(changeId: string): void;
59
60
  deactivateChange(): void;
60
61
  forceReadyState(): void;
62
+ getAcceptedChangesCount(): number;
63
+ getTotalChangesCount(): number;
64
+ get reviewName(): string;
61
65
  }
62
66
  export type AIReviewCheckRunUpdatedEvent = {
63
67
  name: 'reviewCheckRunUpdated';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x278339=_0x1773;function _0x1773(_0x1ad13d,_0x2075be){const _0xc4337c=_0xc433();return _0x1773=function(_0x1773e5,_0x52254a){_0x1773e5=_0x1773e5-0x1e2;let _0xe92e18=_0xc4337c[_0x1773e5];return _0xe92e18;},_0x1773(_0x1ad13d,_0x2075be);}(function(_0x5279f3,_0x428b63){const _0x41f928=_0x1773,_0x1a755c=_0x5279f3();while(!![]){try{const _0x82517c=parseInt(_0x41f928(0x1fb))/0x1+-parseInt(_0x41f928(0x218))/0x2+-parseInt(_0x41f928(0x20a))/0x3*(-parseInt(_0x41f928(0x1ef))/0x4)+parseInt(_0x41f928(0x1eb))/0x5+-parseInt(_0x41f928(0x1fa))/0x6*(parseInt(_0x41f928(0x1ec))/0x7)+-parseInt(_0x41f928(0x1e3))/0x8*(parseInt(_0x41f928(0x1e7))/0x9)+parseInt(_0x41f928(0x213))/0xa*(parseInt(_0x41f928(0x21d))/0xb);if(_0x82517c===_0x428b63)break;else _0x1a755c['push'](_0x1a755c['shift']());}catch(_0x5299d5){_0x1a755c['push'](_0x1a755c['shift']());}}}(_0xc433,0xd145a));import{ObservableMixin as _0x19912d,uid as _0x297d31}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x31997c}from'./aireviewcheckresult.js';function _0xc433(){const _0x115110=['forEach','push','_reviewParams','data','rejected','_aiConnector','change:status','_reviewArgs','getStream','activateChange','markChangeAsRejected','change:isActivated','dataId','1903624pauugg','error','reviewCheckResultRejected','operation','27GLeJOI','accepted','_activeRequest','_createApiRequest','4304580usGNsR','54971bPOSzI','filter','abortController','248PqqpPt','get','length','forceReadyState','find','finished','active','_documentData','error-chunk','addResultChanges','aborted','822KBCNkS','918504TVAPBW','elements','_results','size','reviewCheckResultAdded','_sourceCheck','includes','reviewCheckRunUpdated','_checkIfFinished','Not\x20implemented.','isChangeActive','_changes','restart','title','set','15666VVCnJA','documentData','markAllChangesAsAccepted','error-general','_addReviewCheckResult','getActiveChanges','reviewCheckResultAccepted','deactivateChange','markChangeAsAccepted','30TDdTeJ','reviewCheckResultReady','textDelta','clear','status','1205958gSLdIy','getContent','reviewCheckResultActivated','isActivated','reviewCheckResultDeactivated','4204541nEbpPV','ready','start','abort','initialized','loading','_currentError','version','unmodified','fire','message','processedResultsCount','ai-request-aborted'];_0xc433=function(){return _0x115110;};return _0xc433();}import{AIReviewCheckResultChange as _0x2f487d}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x19912d(){['id']=_0x297d31();[_0x278339(0x1fd)]=new Map();[_0x278339(0x206)]=[];[_0x278339(0x1f6)];[_0x278339(0x200)];[_0x278339(0x22f)];[_0x278339(0x22c)];[_0x278339(0x231)];[_0x278339(0x1e9)]=null;[_0x278339(0x223)];constructor(_0x760269,_0x20e5d1,_0x14afa8,_0x55e72e,_0x1cade8){const _0x102c25=_0x278339;super(),this[_0x102c25(0x1f6)]=_0x760269,this[_0x102c25(0x200)]=_0x20e5d1,this[_0x102c25(0x22f)]=_0x14afa8,this[_0x102c25(0x22c)]=_0x55e72e,this[_0x102c25(0x231)]=_0x1cade8,this['on'](_0x102c25(0x230),(_0x34fc09,_0xce93ec,_0x499f4b)=>{const _0x85f60e=_0x102c25;this[_0x85f60e(0x226)](_0x85f60e(0x202),{'status':_0x499f4b,'run':this,'error':this[_0x85f60e(0x223)]});}),this[_0x102c25(0x209)](_0x102c25(0x217),_0x102c25(0x221));}get[_0x278339(0x20b)](){const _0x293587=_0x278339;return this[_0x293587(0x1f6)];}get[_0x278339(0x228)](){const _0x553eb2=_0x278339;return this[_0x553eb2(0x1fd)][_0x553eb2(0x1fe)];}get[_0x278339(0x208)](){const _0x12e770=_0x278339;return this[_0x12e770(0x200)][_0x12e770(0x208)];}async[_0x278339(0x21f)](){const _0x61b67=_0x278339;this[_0x61b67(0x217)]=_0x61b67(0x222),this[_0x61b67(0x223)]=void 0x0;try{this[_0x61b67(0x1e9)]=this[_0x61b67(0x1ea)]();const _0x44c5d0=await this[_0x61b67(0x1e9)][_0x61b67(0x232)]();this[_0x61b67(0x217)]=_0x61b67(0x22d);for await(const _0x39af4d of _0x44c5d0)_0x61b67(0x225)!==_0x39af4d[_0x61b67(0x22d)][_0x61b67(0x1e6)]&&(_0x61b67(0x1e4)!==_0x39af4d[_0x61b67(0x22d)][_0x61b67(0x1e6)]?this[_0x61b67(0x20e)](_0x39af4d[_0x61b67(0x22d)][_0x61b67(0x1e2)],_0x39af4d[_0x61b67(0x22d)][_0x61b67(0x215)]):this[_0x61b67(0x217)]=_0x61b67(0x1f7));_0x61b67(0x1f7)!==this[_0x61b67(0x217)]&&(0x0===this[_0x61b67(0x1fd)][_0x61b67(0x1fe)]?this[_0x61b67(0x217)]=_0x61b67(0x225):this[_0x61b67(0x217)]=_0x61b67(0x21e));}catch(_0x4b67d6){this[_0x61b67(0x223)]=_0x4b67d6,_0x4b67d6 instanceof Error&&_0x4b67d6[_0x61b67(0x227)][_0x61b67(0x201)](_0x61b67(0x229))?this[_0x61b67(0x217)]=_0x61b67(0x1f9):this[_0x61b67(0x217)]=_0x61b67(0x20d);}finally{this[_0x61b67(0x1e9)]=null;}}async[_0x278339(0x207)](){const _0x26b08a=_0x278339;this[_0x26b08a(0x1fd)][_0x26b08a(0x216)](),this[_0x26b08a(0x206)][_0x26b08a(0x1f1)]=0x0,this[_0x26b08a(0x223)]=void 0x0,await this[_0x26b08a(0x21f)]();}[_0x278339(0x1f8)](_0x34802f,_0x5b4c6d){const _0x1674a8=_0x278339,_0x2b964a=this[_0x1674a8(0x1fd)][_0x1674a8(0x1f0)](_0x34802f);if(!_0x2b964a)return;const _0x42bc14=[];_0x5b4c6d[_0x1674a8(0x22a)]((_0x11f1fa,_0x5eb950)=>{const _0x2dd89b=_0x1674a8,_0x56c6cb=new _0x2f487d(_0x2b964a['id']+'-'+_0x5eb950,_0x11f1fa,_0x2b964a);_0x56c6cb['on'](_0x2dd89b(0x230),()=>{const _0x312101=_0x2dd89b;_0x312101(0x1e8)===_0x56c6cb[_0x312101(0x217)]?this[_0x312101(0x226)](_0x312101(0x210),{'change':_0x56c6cb}):_0x312101(0x22e)===_0x56c6cb[_0x312101(0x217)]&&this[_0x312101(0x226)](_0x312101(0x1e5),{'change':_0x56c6cb});}),_0x56c6cb['on'](_0x2dd89b(0x235),()=>{const _0x2471f=_0x2dd89b;_0x56c6cb[_0x2471f(0x21b)]?this[_0x2471f(0x226)](_0x2471f(0x21a),{'change':_0x56c6cb}):this[_0x2471f(0x226)](_0x2471f(0x21c),{'change':_0x56c6cb});}),this[_0x2dd89b(0x206)][_0x2dd89b(0x22b)](_0x56c6cb),_0x42bc14[_0x2dd89b(0x22b)](_0x56c6cb);}),this[_0x1674a8(0x226)](_0x1674a8(0x214),{'changes':_0x42bc14,'result':_0x2b964a,'source':this});}[_0x278339(0x220)](){const _0x28f56c=_0x278339;this[_0x28f56c(0x1e9)]&&(this[_0x28f56c(0x1e9)][_0x28f56c(0x1ee)][_0x28f56c(0x220)](),this[_0x28f56c(0x1e9)]=null,this[_0x28f56c(0x217)]=_0x28f56c(0x1f9));}[_0x278339(0x205)](_0x925088){const _0x4609c8=_0x278339,_0x76e32f=this[_0x4609c8(0x206)][_0x4609c8(0x1f3)](_0x2dcdd9=>_0x2dcdd9['id']===_0x925088);return!(!_0x76e32f||_0x4609c8(0x1f5)!==_0x76e32f[_0x4609c8(0x217)]);}[_0x278339(0x20f)](){const _0x669ac2=_0x278339;return this[_0x669ac2(0x206)][_0x669ac2(0x1ed)](_0x5e88e1=>_0x669ac2(0x1f5)===_0x5e88e1[_0x669ac2(0x217)]);}[_0x278339(0x20c)](){const _0x5d39a3=_0x278339;for(const _0x11849d of this[_0x5d39a3(0x206)])_0x5d39a3(0x1f5)===_0x11849d[_0x5d39a3(0x217)]&&(_0x11849d[_0x5d39a3(0x217)]=_0x5d39a3(0x1e8));this[_0x5d39a3(0x203)]();}[_0x278339(0x212)](_0x1537de){const _0x1201b6=_0x278339,_0x11040b=this[_0x1201b6(0x206)][_0x1201b6(0x1f3)](_0x326a6d=>_0x326a6d['id']===_0x1537de);_0x11040b&&_0x1201b6(0x1f5)===_0x11040b[_0x1201b6(0x217)]&&(_0x11040b[_0x1201b6(0x217)]=_0x1201b6(0x1e8)),this[_0x1201b6(0x203)]();}[_0x278339(0x234)](_0xf50de4){const _0x146e89=_0x278339,_0x24b89a=this[_0x146e89(0x206)][_0x146e89(0x1f3)](_0x3b760a=>_0x3b760a['id']===_0xf50de4);_0x24b89a&&_0x146e89(0x1f5)===_0x24b89a[_0x146e89(0x217)]&&(_0x24b89a[_0x146e89(0x217)]=_0x146e89(0x22e)),this[_0x146e89(0x203)]();}[_0x278339(0x233)](_0xd2a7bf){const _0x3b914f=_0x278339;this[_0x3b914f(0x206)][_0x3b914f(0x1ed)](_0x410c13=>_0x410c13[_0x3b914f(0x21b)]&&_0x410c13['id']!==_0xd2a7bf)[_0x3b914f(0x22a)](_0x168e08=>{const _0x574f34=_0x3b914f;_0x168e08[_0x574f34(0x21b)]=!0x1;});const _0x485460=this[_0x3b914f(0x206)][_0x3b914f(0x1f3)](_0x3a1c47=>_0x3a1c47['id']===_0xd2a7bf);_0x485460&&(_0x485460[_0x3b914f(0x21b)]=!0x0);}[_0x278339(0x211)](){const _0x42903e=_0x278339;this[_0x42903e(0x206)][_0x42903e(0x1ed)](_0x7b274f=>_0x7b274f[_0x42903e(0x21b)])[_0x42903e(0x22a)](_0x2c2645=>{const _0x27de2f=_0x42903e;_0x2c2645[_0x27de2f(0x21b)]=!0x1;});}[_0x278339(0x1f2)](){const _0x8f9be1=_0x278339;this[_0x8f9be1(0x217)]=_0x8f9be1(0x21e);}[_0x278339(0x20e)](_0x3f34d3,_0x18b77d){const _0x1098e8=_0x278339,_0x1a429e=this[_0x1098e8(0x1f6)][_0x1098e8(0x1fc)][_0x1098e8(0x1f0)](_0x3f34d3);if(!_0x1a429e)return;const _0x3d90fe=_0x1a429e[_0x1098e8(0x219)]();if(_0x3d90fe===_0x18b77d)return;const _0x5dfc64=new _0x31997c({'id':_0x3f34d3,'contentInitial':_0x3d90fe,'contentNew':_0x18b77d,'documentVersion':this[_0x1098e8(0x1f6)][_0x1098e8(0x224)]});this[_0x1098e8(0x1fd)][_0x1098e8(0x209)](_0x5dfc64['id'],_0x5dfc64),this[_0x1098e8(0x226)](_0x1098e8(0x1ff),{'result':_0x5dfc64,'source':this});}[_0x278339(0x203)](){const _0x46905e=_0x278339;if(_0x46905e(0x21e)!==this[_0x46905e(0x217)])return;0x0===this[_0x46905e(0x206)][_0x46905e(0x1ed)](_0x1e83e2=>_0x46905e(0x1f5)===_0x1e83e2[_0x46905e(0x217)])[_0x46905e(0x1f1)]&&(this[_0x46905e(0x217)]=_0x46905e(0x1f4));}[_0x278339(0x1ea)](){const _0x34270e=_0x278339;throw new Error(_0x34270e(0x204));}}
23
+ const _0x23e536=_0xdd60;(function(_0x2c6aa6,_0x357824){const _0x51ae31=_0xdd60,_0x6a1b0a=_0x2c6aa6();while(!![]){try{const _0x2664bc=parseInt(_0x51ae31(0xdd))/0x1*(-parseInt(_0x51ae31(0xbd))/0x2)+-parseInt(_0x51ae31(0xbc))/0x3+parseInt(_0x51ae31(0xbe))/0x4+parseInt(_0x51ae31(0xb6))/0x5*(-parseInt(_0x51ae31(0xe7))/0x6)+-parseInt(_0x51ae31(0xb3))/0x7+-parseInt(_0x51ae31(0xcf))/0x8+parseInt(_0x51ae31(0x104))/0x9;if(_0x2664bc===_0x357824)break;else _0x6a1b0a['push'](_0x6a1b0a['shift']());}catch(_0x2c6de3){_0x6a1b0a['push'](_0x6a1b0a['shift']());}}}(_0x8fc3,0x586b6));import{ObservableMixin as _0xece2d4,uid as _0x1b7607}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x2598fc}from'./aireviewcheckresult.js';function _0xdd60(_0x24a46b,_0xc48948){const _0x8fc30c=_0x8fc3();return _0xdd60=function(_0xdd608a,_0x30b8d6){_0xdd608a=_0xdd608a-0xad;let _0x3671f0=_0x8fc30c[_0xdd608a];return _0x3671f0;},_0xdd60(_0x24a46b,_0xc48948);}import{AIReviewCheckResultChange as _0x52dffb}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0xece2d4(){['id']=_0x1b7607();[_0x23e536(0xf2)]=new Map();[_0x23e536(0xca)]=[];[_0x23e536(0x102)];[_0x23e536(0xd2)];[_0x23e536(0xf1)];[_0x23e536(0xb0)];[_0x23e536(0xd3)];[_0x23e536(0xf6)]=null;[_0x23e536(0xd5)];[_0x23e536(0xee)];constructor(_0x3a867f,_0x2ca904,_0x234ebc,_0x402d4c,_0x7aad04){const _0x31ff0f=_0x23e536;super(),this[_0x31ff0f(0x102)]=_0x3a867f,this[_0x31ff0f(0xd2)]=_0x2ca904,this[_0x31ff0f(0xf1)]=_0x234ebc,this[_0x31ff0f(0xb0)]=_0x402d4c,this[_0x31ff0f(0xd3)]=_0x7aad04,this['on'](_0x31ff0f(0xc3),(_0x3175c8,_0x5a62b8,_0xd4687a)=>{const _0x296d09=_0x31ff0f;this[_0x296d09(0xb1)](_0x296d09(0xc7),{'status':_0xd4687a,'run':this,'error':this[_0x296d09(0xd5)]});}),this[_0x31ff0f(0xd1)](_0x31ff0f(0xba),_0x31ff0f(0xc9));}get[_0x23e536(0xdc)](){const _0x38f13f=_0x23e536;return this[_0x38f13f(0x102)];}get[_0x23e536(0xd7)](){const _0x5be5fb=_0x23e536;return this[_0x5be5fb(0xf2)][_0x5be5fb(0xd6)];}get[_0x23e536(0xf5)](){const _0x327599=_0x23e536;return this[_0x327599(0xd2)][_0x327599(0xf5)];}async[_0x23e536(0xfb)](){const _0x6480a3=_0x23e536;this[_0x6480a3(0xba)]=_0x6480a3(0xe5),this[_0x6480a3(0xd5)]=void 0x0;try{this[_0x6480a3(0xf6)]=this[_0x6480a3(0xeb)]();const _0x2a7715=await this[_0x6480a3(0xf6)][_0x6480a3(0xd8)]();this[_0x6480a3(0xba)]=_0x6480a3(0xb2);for await(const _0x14b00c of _0x2a7715)_0x6480a3(0xd0)!==_0x14b00c[_0x6480a3(0xb2)][_0x6480a3(0xcd)]&&(_0x6480a3(0xc8)!==_0x14b00c[_0x6480a3(0xb2)][_0x6480a3(0xcd)]?_0x6480a3(0xf8)!==_0x14b00c[_0x6480a3(0xe8)]?this[_0x6480a3(0xe6)](_0x14b00c[_0x6480a3(0xb2)][_0x6480a3(0xed)],_0x14b00c[_0x6480a3(0xb2)][_0x6480a3(0xe3)]):this[_0x6480a3(0xee)]=_0x14b00c[_0x6480a3(0xb2)][_0x6480a3(0xee)]:this[_0x6480a3(0xba)]=_0x6480a3(0xf3));_0x6480a3(0xf3)!==this[_0x6480a3(0xba)]&&(0x0===this[_0x6480a3(0xf2)][_0x6480a3(0xd6)]?this[_0x6480a3(0xba)]=_0x6480a3(0xd0):this[_0x6480a3(0xba)]=_0x6480a3(0xbf));}catch(_0x519157){this[_0x6480a3(0xd5)]=_0x519157,_0x519157 instanceof Error&&_0x519157[_0x6480a3(0xce)][_0x6480a3(0xe9)](_0x6480a3(0xc4))?this[_0x6480a3(0xba)]=_0x6480a3(0xc6):this[_0x6480a3(0xba)]=_0x6480a3(0xbb);}finally{this[_0x6480a3(0xf6)]=null;}}async[_0x23e536(0xfd)](){const _0xbaaca0=_0x23e536;this[_0xbaaca0(0xf2)][_0xbaaca0(0xff)](),this[_0xbaaca0(0xca)][_0xbaaca0(0xb7)]=0x0,this[_0xbaaca0(0xd5)]=void 0x0,await this[_0xbaaca0(0xfb)]();}[_0x23e536(0xb8)](_0x37ef6d,_0x838b6a){const _0x1bcbe9=_0x23e536,_0x349ed0=this[_0x1bcbe9(0xf2)][_0x1bcbe9(0xb4)](_0x37ef6d);if(!_0x349ed0)return;const _0x2b3609=[];_0x838b6a[_0x1bcbe9(0xc0)]((_0xcf7739,_0x35dbb4)=>{const _0x508613=_0x1bcbe9,_0x550942=new _0x52dffb(_0x349ed0['id']+'-'+_0x35dbb4,_0xcf7739,_0x349ed0);_0x550942['on'](_0x508613(0xc3),()=>{const _0x5cd814=_0x508613;_0x5cd814(0xf9)===_0x550942[_0x5cd814(0xba)]?this[_0x5cd814(0xb1)](_0x5cd814(0xfa),{'change':_0x550942}):_0x5cd814(0xf0)===_0x550942[_0x5cd814(0xba)]&&this[_0x5cd814(0xb1)](_0x5cd814(0x100),{'change':_0x550942});}),_0x550942['on'](_0x508613(0xef),()=>{const _0x161208=_0x508613;_0x550942[_0x161208(0xad)]?this[_0x161208(0xb1)](_0x161208(0xd4),{'change':_0x550942}):this[_0x161208(0xb1)](_0x161208(0xb5),{'change':_0x550942});}),this[_0x508613(0xca)][_0x508613(0xc2)](_0x550942),_0x2b3609[_0x508613(0xc2)](_0x550942);}),this[_0x1bcbe9(0xb1)](_0x1bcbe9(0xec),{'changes':_0x2b3609,'result':_0x349ed0,'source':this});}[_0x23e536(0xb9)](){const _0x2617a9=_0x23e536;this[_0x2617a9(0xf6)]&&(this[_0x2617a9(0xf6)][_0x2617a9(0xdf)][_0x2617a9(0xb9)](),this[_0x2617a9(0xf6)]=null,this[_0x2617a9(0xba)]=_0x2617a9(0xc6));}[_0x23e536(0xe4)](_0x262732){const _0xc714f=_0x23e536,_0x2615be=this[_0xc714f(0xca)][_0xc714f(0xf7)](_0x445968=>_0x445968['id']===_0x262732);return!(!_0x2615be||_0xc714f(0xcb)!==_0x2615be[_0xc714f(0xba)]);}[_0x23e536(0xae)](){const _0x253c35=_0x23e536;return this[_0x253c35(0xca)][_0x253c35(0xc1)](_0x10e2fd=>_0x253c35(0xcb)===_0x10e2fd[_0x253c35(0xba)]);}[_0x23e536(0xcc)](){const _0x1ce73e=_0x23e536;for(const _0x5abb86 of this[_0x1ce73e(0xca)])_0x1ce73e(0xcb)===_0x5abb86[_0x1ce73e(0xba)]&&(_0x5abb86[_0x1ce73e(0xba)]=_0x1ce73e(0xf9));this[_0x1ce73e(0xde)]();}[_0x23e536(0xe0)](_0x1c1fe6){const _0x536d2c=_0x23e536,_0x591a8f=this[_0x536d2c(0xca)][_0x536d2c(0xf7)](_0xda731f=>_0xda731f['id']===_0x1c1fe6);_0x591a8f&&_0x536d2c(0xcb)===_0x591a8f[_0x536d2c(0xba)]&&(_0x591a8f[_0x536d2c(0xba)]=_0x536d2c(0xf9)),this[_0x536d2c(0xde)]();}[_0x23e536(0xc5)](_0x437b7d){const _0x32f971=_0x23e536,_0x5d691=this[_0x32f971(0xca)][_0x32f971(0xf7)](_0x222b5d=>_0x222b5d['id']===_0x437b7d);_0x5d691&&_0x32f971(0xcb)===_0x5d691[_0x32f971(0xba)]&&(_0x5d691[_0x32f971(0xba)]=_0x32f971(0xf0)),this[_0x32f971(0xde)]();}[_0x23e536(0xfe)](_0x47edc7){const _0x257a38=_0x23e536;this[_0x257a38(0xca)][_0x257a38(0xc1)](_0x25674d=>_0x25674d[_0x257a38(0xad)]&&_0x25674d['id']!==_0x47edc7)[_0x257a38(0xc0)](_0x35983b=>{const _0x48eb9e=_0x257a38;_0x35983b[_0x48eb9e(0xad)]=!0x1;});const _0x370a29=this[_0x257a38(0xca)][_0x257a38(0xf7)](_0x22ec14=>_0x22ec14['id']===_0x47edc7);_0x370a29&&(_0x370a29[_0x257a38(0xad)]=!0x0);}[_0x23e536(0x103)](){const _0x120ac1=_0x23e536;this[_0x120ac1(0xca)][_0x120ac1(0xc1)](_0x59d582=>_0x59d582[_0x120ac1(0xad)])[_0x120ac1(0xc0)](_0x322c6d=>{const _0x1afb4b=_0x120ac1;_0x322c6d[_0x1afb4b(0xad)]=!0x1;});}[_0x23e536(0xaf)](){const _0x20ef17=_0x23e536;this[_0x20ef17(0xba)]=_0x20ef17(0xbf);}[_0x23e536(0xe6)](_0x305d53,_0x40e465){const _0xb44691=_0x23e536,_0x459c6d=this[_0xb44691(0x102)][_0xb44691(0xea)][_0xb44691(0xb4)](_0x305d53);if(!_0x459c6d)return;const _0x18f197=_0x459c6d[_0xb44691(0xe1)]();if(_0x18f197===_0x40e465)return;const _0x2119bc=new _0x2598fc({'id':_0x305d53,'contentInitial':_0x18f197,'contentNew':_0x40e465,'documentVersion':this[_0xb44691(0x102)][_0xb44691(0xfc)]});this[_0xb44691(0xf2)][_0xb44691(0xd1)](_0x2119bc['id'],_0x2119bc),this[_0xb44691(0xb1)](_0xb44691(0xda),{'result':_0x2119bc,'source':this});}[_0x23e536(0xde)](){const _0x2ac7c7=_0x23e536;if(_0x2ac7c7(0xbf)!==this[_0x2ac7c7(0xba)])return;0x0===this[_0x2ac7c7(0xca)][_0x2ac7c7(0xc1)](_0x162ae1=>_0x2ac7c7(0xcb)===_0x162ae1[_0x2ac7c7(0xba)])[_0x2ac7c7(0xb7)]&&(this[_0x2ac7c7(0xba)]=_0x2ac7c7(0xe2));}[_0x23e536(0xeb)](){const _0x1b63ce=_0x23e536;throw new Error(_0x1b63ce(0xf4));}[_0x23e536(0xd9)](){const _0x31d71a=_0x23e536;return this[_0x31d71a(0xca)][_0x31d71a(0xc1)](_0x437a15=>_0x31d71a(0xf9)===_0x437a15[_0x31d71a(0xba)])[_0x31d71a(0xb7)];}[_0x23e536(0xdb)](){const _0x2576d4=_0x23e536;return this[_0x2576d4(0xca)][_0x2576d4(0xb7)];}get[_0x23e536(0x101)](){const _0x22027d=_0x23e536;return this[_0x22027d(0xd2)]['id'];}}function _0x8fc3(){const _0xe30d5e=['1005513nFFUXb','226kvlizO','1144188KVuZbJ','ready','forEach','filter','push','change:status','ai-request-aborted','markChangeAsRejected','aborted','reviewCheckRunUpdated','error','initialized','_changes','active','markAllChangesAsAccepted','operation','message','740952XahEHW','unmodified','set','_sourceCheck','_reviewArgs','reviewCheckResultActivated','_currentError','size','processedResultsCount','getStream','getAcceptedChangesCount','reviewCheckResultAdded','getTotalChangesCount','documentData','3851NlkZXZ','_checkIfFinished','abortController','markChangeAsAccepted','getContent','finished','textDelta','isChangeActive','loading','_addReviewCheckResult','15672uEjUuv','event','includes','elements','_createApiRequest','reviewCheckResultReady','dataId','callId','change:isActivated','rejected','_aiConnector','_results','error-chunk','Not\x20implemented.','title','_activeRequest','find','review-metadata','accepted','reviewCheckResultAccepted','start','version','restart','activateChange','clear','reviewCheckResultRejected','reviewName','_documentData','deactivateChange','15422409VQmjhU','isActivated','getActiveChanges','forceReadyState','_reviewParams','fire','data','4836615TKbrMg','get','reviewCheckResultDeactivated','160VDEjBv','length','addResultChanges','abort','status','error-general'];_0x8fc3=function(){return _0xe30d5e;};return _0x8fc3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2504(_0x5dea5b,_0x115e9c){var _0xa6b5a3=_0xa6b5();return _0x2504=function(_0x2504e9,_0x4c23ff){_0x2504e9=_0x2504e9-0xf6;var _0x394dbd=_0xa6b5a3[_0x2504e9];return _0x394dbd;},_0x2504(_0x5dea5b,_0x115e9c);}var _0x1cf50c=_0x2504;(function(_0x59c9b1,_0x33a89e){var _0x1389c3=_0x2504,_0x4acd77=_0x59c9b1();while(!![]){try{var _0x50c3c7=parseInt(_0x1389c3(0xfe))/0x1*(-parseInt(_0x1389c3(0xf8))/0x2)+-parseInt(_0x1389c3(0x107))/0x3*(-parseInt(_0x1389c3(0xf9))/0x4)+parseInt(_0x1389c3(0x106))/0x5*(parseInt(_0x1389c3(0x103))/0x6)+parseInt(_0x1389c3(0xff))/0x7+parseInt(_0x1389c3(0xfc))/0x8+parseInt(_0x1389c3(0x105))/0x9+-parseInt(_0x1389c3(0x100))/0xa;if(_0x50c3c7===_0x33a89e)break;else _0x4acd77['push'](_0x4acd77['shift']());}catch(_0x117018){_0x4acd77['push'](_0x4acd77['shift']());}}}(_0xa6b5,0xf387e));function _0xa6b5(){var _0x79a818=['4ogKUxB','_model','_aiConnector','7378824drEAoY','_documentData','27234gjBWrH','8599640DDEhyV','24215870GQHOdW','callCustomReview','_createApiRequest','495024WaVFqq','content','8162118RFaBpy','25QmDMIO','4176588mivAHp','title','_prompt','106NyDlcR'];_0xa6b5=function(){return _0x79a818;};return _0xa6b5();}import{AIReviewCheckRun as _0x1b034c}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x1b034c{[_0x1cf50c(0xf7)];[_0x1cf50c(0xfa)];constructor(_0x1ae990,_0x59427e,_0x334a46,_0x2962ee,_0x29941c){var _0x49107d=_0x1cf50c;super(_0x334a46,_0x2962ee,_0x29941c),this[_0x49107d(0xf7)]=_0x1ae990,this[_0x49107d(0xfa)]=_0x59427e;}get[_0x1cf50c(0xf6)](){var _0x3e5666=_0x1cf50c;return this[_0x3e5666(0xf7)];}[_0x1cf50c(0x102)](){var _0x553678=_0x1cf50c;return this[_0x553678(0xfb)][_0x553678(0x101)]({'content':this[_0x553678(0xfd)][_0x553678(0x104)],'prompt':this[_0x553678(0xf7)],'model':this[_0x553678(0xfa)]});}}
23
+ var _0x3634fe=_0x2866;(function(_0x310651,_0x13eb4d){var _0x319dab=_0x2866,_0x3aaced=_0x310651();while(!![]){try{var _0x5380a1=-parseInt(_0x319dab(0x1dd))/0x1+-parseInt(_0x319dab(0x1d8))/0x2*(parseInt(_0x319dab(0x1da))/0x3)+-parseInt(_0x319dab(0x1d6))/0x4+parseInt(_0x319dab(0x1d5))/0x5+-parseInt(_0x319dab(0x1e0))/0x6+parseInt(_0x319dab(0x1db))/0x7*(-parseInt(_0x319dab(0x1de))/0x8)+parseInt(_0x319dab(0x1d3))/0x9;if(_0x5380a1===_0x13eb4d)break;else _0x3aaced['push'](_0x3aaced['shift']());}catch(_0x39e9c1){_0x3aaced['push'](_0x3aaced['shift']());}}}(_0x29b3,0xdd28b));function _0x2866(_0x249be7,_0x19a63f){var _0x29b3ce=_0x29b3();return _0x2866=function(_0x28664e,_0x586cf0){_0x28664e=_0x28664e-0x1d3;var _0x3e4f2e=_0x29b3ce[_0x28664e];return _0x3e4f2e;},_0x2866(_0x249be7,_0x19a63f);}import{AIReviewCheckRun as _0xc11469}from'./aireviewcheckrun.js';function _0x29b3(){var _0x10c701=['2643687YMttQN','5089441qCrUTr','title','1681525ytaZrx','8nlbdLL','_prompt','839394bMfSjn','callCustomReview','_createApiRequest','_aiConnector','23172453uUsfyy','_model','8949675WTSssq','116276eoOTko','_documentData','2AFKlDk','content'];_0x29b3=function(){return _0x10c701;};return _0x29b3();}export class AIReviewCustomCheckRun extends _0xc11469{[_0x3634fe(0x1df)];[_0x3634fe(0x1d4)];constructor(_0x313e4e,_0xed99cb,_0x44dcd5,_0x173e17,_0x47d3ef){var _0x500399=_0x3634fe;super(_0x44dcd5,_0x173e17,_0x47d3ef),this[_0x500399(0x1df)]=_0x313e4e,this[_0x500399(0x1d4)]=_0xed99cb;}get[_0x3634fe(0x1dc)](){var _0x4a3e9f=_0x3634fe;return this[_0x4a3e9f(0x1df)];}[_0x3634fe(0x1e2)](){var _0x90fd4=_0x3634fe;return this[_0x90fd4(0x1e3)][_0x90fd4(0x1e1)]({'content':this[_0x90fd4(0x1d7)][_0x90fd4(0x1d9)],'prompt':this[_0x90fd4(0x1df)],'model':this[_0x90fd4(0x1d4)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd1fd88=_0x401b;function _0x5a32(){const _0x35ed63=['836453uojPzb','_modelList','1944691MLMKHY','1438720KFkWAG','18DQowTI','getAll','items','_connector','list','getModels','3657432WTBKby','length','16hrZosM','40dsJkPP','502696pajvdL','2119608hnbCuN','585261jPfDmS'];_0x5a32=function(){return _0x35ed63;};return _0x5a32();}function _0x401b(_0x39517c,_0xf3be60){const _0x5a3274=_0x5a32();return _0x401b=function(_0x401b5c,_0x24656e){_0x401b5c=_0x401b5c-0x1d8;let _0x51b723=_0x5a3274[_0x401b5c];return _0x51b723;},_0x401b(_0x39517c,_0xf3be60);}(function(_0xfdf0df,_0x2285ac){const _0x2682b3=_0x401b,_0xde06bd=_0xfdf0df();while(!![]){try{const _0x4fcf29=parseInt(_0x2682b3(0x1e6))/0x1+parseInt(_0x2682b3(0x1e3))/0x2+parseInt(_0x2682b3(0x1e5))/0x3*(parseInt(_0x2682b3(0x1e1))/0x4)+parseInt(_0x2682b3(0x1d8))/0x5+parseInt(_0x2682b3(0x1d9))/0x6*(-parseInt(_0x2682b3(0x1e8))/0x7)+parseInt(_0x2682b3(0x1df))/0x8+-parseInt(_0x2682b3(0x1e4))/0x9*(parseInt(_0x2682b3(0x1e2))/0xa);if(_0x4fcf29===_0x2285ac)break;else _0xde06bd['push'](_0xde06bd['shift']());}catch(_0x48134b){_0xde06bd['push'](_0xde06bd['shift']());}}}(_0x5a32,0xcc7d1));import{EmitterMixin as _0x446afd}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x446afd(){[_0xd1fd88(0x1e7)]=[];[_0xd1fd88(0x1dc)];constructor({connector:_0x346d2f}){const _0x285528=_0xd1fd88;super(),this[_0x285528(0x1dc)]=_0x346d2f;}async[_0xd1fd88(0x1da)](){const _0x36280c=_0xd1fd88;if(!this[_0x36280c(0x1e7)][_0x36280c(0x1e0)])try{const _0x47d901=this[_0x36280c(0x1dc)][_0x36280c(0x1de)](),_0x46a046=await _0x47d901[_0x36280c(0x1dd)]();this[_0x36280c(0x1e7)]=_0x46a046[_0x36280c(0x1db)];}catch{}return this[_0x36280c(0x1e7)];}}
23
+ const _0x24efec=_0x12c6;function _0x408e(){const _0x124a39=['41mOnZVq','length','152AxPTfl','77454uyQQqS','10082uNsmsO','_modelList','getModels','12758010yKMVXG','_connector','getAll','list','4100aPqGfA','2460EOKuXF','items','1678748GuVEMv','3360154jddFZe','1830201DVXeTT'];_0x408e=function(){return _0x124a39;};return _0x408e();}(function(_0x45fcc2,_0x4b4a2d){const _0x2ef1fe=_0x12c6,_0x4b2f43=_0x45fcc2();while(!![]){try{const _0x36e6f0=parseInt(_0x2ef1fe(0x13c))/0x1*(parseInt(_0x2ef1fe(0x12f))/0x2)+-parseInt(_0x2ef1fe(0x13b))/0x3+parseInt(_0x2ef1fe(0x139))/0x4+parseInt(_0x2ef1fe(0x136))/0x5*(-parseInt(_0x2ef1fe(0x137))/0x6)+-parseInt(_0x2ef1fe(0x13a))/0x7+-parseInt(_0x2ef1fe(0x13e))/0x8*(parseInt(_0x2ef1fe(0x12e))/0x9)+parseInt(_0x2ef1fe(0x132))/0xa;if(_0x36e6f0===_0x4b4a2d)break;else _0x4b2f43['push'](_0x4b2f43['shift']());}catch(_0x140314){_0x4b2f43['push'](_0x4b2f43['shift']());}}}(_0x408e,0x4c42e));function _0x12c6(_0x2037ba,_0x12e9c8){const _0x408eda=_0x408e();return _0x12c6=function(_0x12c616,_0x17bb37){_0x12c616=_0x12c616-0x12e;let _0x4c7d78=_0x408eda[_0x12c616];return _0x4c7d78;},_0x12c6(_0x2037ba,_0x12e9c8);}import{EmitterMixin as _0xbf57cb}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0xbf57cb(){[_0x24efec(0x130)]=[];[_0x24efec(0x133)];constructor({connector:_0x2efba2}){const _0x52ffae=_0x24efec;super(),this[_0x52ffae(0x133)]=_0x2efba2;}async[_0x24efec(0x134)](){const _0x31402a=_0x24efec;if(!this[_0x31402a(0x130)][_0x31402a(0x13d)])try{const _0x575d3c=this[_0x31402a(0x133)][_0x31402a(0x131)](),_0x351f77=await _0x575d3c[_0x31402a(0x135)]();this[_0x31402a(0x130)]=_0x351f77[_0x31402a(0x138)];}catch{}return this[_0x31402a(0x130)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dd133=_0x3f74;function _0x3f74(_0x34cf67,_0x3066fa){const _0x5ef5eb=_0x5ef5();return _0x3f74=function(_0x3f7460,_0x2530c5){_0x3f7460=_0x3f7460-0x18f;let _0x1647ec=_0x5ef5eb[_0x3f7460];return _0x1647ec;},_0x3f74(_0x34cf67,_0x3066fa);}(function(_0x288698,_0x34beef){const _0x10be01=_0x3f74,_0x4d8511=_0x288698();while(!![]){try{const _0x58f233=-parseInt(_0x10be01(0x1a1))/0x1*(parseInt(_0x10be01(0x18f))/0x2)+-parseInt(_0x10be01(0x19a))/0x3*(parseInt(_0x10be01(0x1aa))/0x4)+-parseInt(_0x10be01(0x19c))/0x5*(-parseInt(_0x10be01(0x195))/0x6)+parseInt(_0x10be01(0x190))/0x7*(parseInt(_0x10be01(0x1a5))/0x8)+parseInt(_0x10be01(0x196))/0x9*(parseInt(_0x10be01(0x1a2))/0xa)+parseInt(_0x10be01(0x1ac))/0xb+-parseInt(_0x10be01(0x19f))/0xc*(-parseInt(_0x10be01(0x1a0))/0xd);if(_0x58f233===_0x34beef)break;else _0x4d8511['push'](_0x4d8511['shift']());}catch(_0x498084){_0x4d8511['push'](_0x4d8511['shift']());}}}(_0x5ef5,0x5ed2e));function _0x5ef5(){const _0x18fd44=['13YvBrCS','1MFrzsw','63230nxaIUR','_reviewParams','label','2765384eByZhs','_createApiRequest','length','push','join','316FOaJHY','find','413666InDGND','callSystemReview','814826csXwrS','7sDlPvT','options','_reviewArgs','title','_sourceCheck','1443048dQZjEH','774JCrLcI','_documentData','_composeReviewName','data','21954ggyaSR','_aiConnector','5lkZzPx','content','useArgs','2476416dtbxwk'];_0x5ef5=function(){return _0x18fd44;};return _0x5ef5();}import{AIReviewCheckRun as _0xcba758}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0xcba758{get[_0x4dd133(0x193)](){const _0x5d1041=_0x4dd133;if(!this[_0x5d1041(0x1a3)]||0x0===this[_0x5d1041(0x1a3)][_0x5d1041(0x1a7)]||this[_0x5d1041(0x194)][_0x5d1041(0x19e)])return this[_0x5d1041(0x194)][_0x5d1041(0x193)];const _0x3f3ab0=[];if(this[_0x5d1041(0x1a3)][_0x5d1041(0x1a7)]>0x0&&this[_0x5d1041(0x194)][_0x5d1041(0x191)])for(let _0x3deca4=0x0;_0x3deca4<this[_0x5d1041(0x1a3)][_0x5d1041(0x1a7)];_0x3deca4++){if(!this[_0x5d1041(0x1a3)][_0x3deca4]||!this[_0x5d1041(0x194)][_0x5d1041(0x191)][_0x3deca4])continue;const _0x11b507=this[_0x5d1041(0x194)][_0x5d1041(0x191)][_0x3deca4],_0x4854b2=_0x11b507[_0x5d1041(0x199)]?.[_0x5d1041(0x1ab)](_0xed3022=>_0xed3022['id']===this[_0x5d1041(0x1a3)][_0x3deca4]);_0x4854b2&&_0x3f3ab0[_0x5d1041(0x1a8)](_0x4854b2[_0x5d1041(0x1a4)]);}return this[_0x5d1041(0x194)][_0x5d1041(0x193)]+':\x20'+_0x3f3ab0[_0x5d1041(0x1a9)](',\x20');}[_0x4dd133(0x1a6)](){const _0x13070c=_0x4dd133;return this[_0x13070c(0x19b)][_0x13070c(0x1ad)]({'reviewName':this[_0x13070c(0x198)](),'content':this[_0x13070c(0x197)][_0x13070c(0x19d)],'args':this[_0x13070c(0x192)]});}[_0x4dd133(0x198)](){const _0x458dc7=_0x4dd133;return!this[_0x458dc7(0x1a3)]||0x0===this[_0x458dc7(0x1a3)][_0x458dc7(0x1a7)]||this[_0x458dc7(0x194)][_0x458dc7(0x19e)]?this[_0x458dc7(0x194)]['id']:[this[_0x458dc7(0x194)]['id'],...this[_0x458dc7(0x1a3)]][_0x458dc7(0x1a9)]('-');}}
23
+ const _0x2c7063=_0x23fa;(function(_0x16b5d7,_0xf0595f){const _0x1c61b9=_0x23fa,_0x32c7ba=_0x16b5d7();while(!![]){try{const _0x94ae78=parseInt(_0x1c61b9(0xeb))/0x1*(parseInt(_0x1c61b9(0xf8))/0x2)+parseInt(_0x1c61b9(0xfe))/0x3+parseInt(_0x1c61b9(0x101))/0x4+-parseInt(_0x1c61b9(0xf5))/0x5+parseInt(_0x1c61b9(0x102))/0x6*(-parseInt(_0x1c61b9(0xf2))/0x7)+parseInt(_0x1c61b9(0xef))/0x8+-parseInt(_0x1c61b9(0x103))/0x9;if(_0x94ae78===_0xf0595f)break;else _0x32c7ba['push'](_0x32c7ba['shift']());}catch(_0x1e2670){_0x32c7ba['push'](_0x32c7ba['shift']());}}}(_0xc4d9,0xc226f));import{AIReviewCheckRun as _0x5f1a40}from'./aireviewcheckrun.js';function _0x23fa(_0x15e0cb,_0x544c2a){const _0xc4d947=_0xc4d9();return _0x23fa=function(_0x23fa7e,_0xf88ee4){_0x23fa7e=_0x23fa7e-0xeb;let _0x9e60f4=_0xc4d947[_0x23fa7e];return _0x9e60f4;},_0x23fa(_0x15e0cb,_0x544c2a);}function _0xc4d9(){const _0x147a58=['432237fQWRAG','find','callSystemReview','content','2614120tpYoxN','push','_sourceCheck','995127TVNYVk','_aiConnector','_composeReviewName','4990795sepBPb','title','options','2FCZiId','useArgs','label','data','_reviewArgs','length','3218382BUpPfv','_documentData','_reviewParams','5336668vfNCqN','18DLKkPr','8514666KoMPLx','_createApiRequest','join'];_0xc4d9=function(){return _0x147a58;};return _0xc4d9();}export class AIReviewSystemCheckRun extends _0x5f1a40{get[_0x2c7063(0xf6)](){const _0x4a78e5=_0x2c7063;if(!this[_0x4a78e5(0x100)]||0x0===this[_0x4a78e5(0x100)][_0x4a78e5(0xfd)]||this[_0x4a78e5(0xf1)][_0x4a78e5(0xf9)])return this[_0x4a78e5(0xf1)][_0x4a78e5(0xf6)];const _0x2b93db=[];if(this[_0x4a78e5(0x100)][_0x4a78e5(0xfd)]>0x0&&this[_0x4a78e5(0xf1)][_0x4a78e5(0xf7)])for(let _0x2881c7=0x0;_0x2881c7<this[_0x4a78e5(0x100)][_0x4a78e5(0xfd)];_0x2881c7++){if(!this[_0x4a78e5(0x100)][_0x2881c7]||!this[_0x4a78e5(0xf1)][_0x4a78e5(0xf7)][_0x2881c7])continue;const _0x5a758a=this[_0x4a78e5(0xf1)][_0x4a78e5(0xf7)][_0x2881c7],_0xbbf087=_0x5a758a[_0x4a78e5(0xfb)]?.[_0x4a78e5(0xec)](_0x539eed=>_0x539eed['id']===this[_0x4a78e5(0x100)][_0x2881c7]);_0xbbf087&&_0x2b93db[_0x4a78e5(0xf0)](_0xbbf087[_0x4a78e5(0xfa)]);}return this[_0x4a78e5(0xf1)][_0x4a78e5(0xf6)]+':\x20'+_0x2b93db[_0x4a78e5(0x105)](',\x20');}[_0x2c7063(0x104)](){const _0x384f65=_0x2c7063;return this[_0x384f65(0xf3)][_0x384f65(0xed)]({'reviewName':this[_0x384f65(0xf4)](),'content':this[_0x384f65(0xff)][_0x384f65(0xee)],'args':this[_0x384f65(0xfc)]});}[_0x2c7063(0xf4)](){const _0x1170ee=_0x2c7063;return!this[_0x1170ee(0x100)]||0x0===this[_0x1170ee(0x100)][_0x1170ee(0xfd)]||this[_0x1170ee(0xf1)][_0x1170ee(0xf9)]?this[_0x1170ee(0xf1)]['id']:[this[_0x1170ee(0xf1)]['id'],...this[_0x1170ee(0x100)]][_0x1170ee(0x105)]('-');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2ab9de=_0x1a14;(function(_0x29e99f,_0x3a9f2b){var _0x5bc614=_0x1a14,_0x1fa520=_0x29e99f();while(!![]){try{var _0x2d9f7c=parseInt(_0x5bc614(0x17b))/0x1+-parseInt(_0x5bc614(0x182))/0x2*(-parseInt(_0x5bc614(0x180))/0x3)+-parseInt(_0x5bc614(0x17c))/0x4*(-parseInt(_0x5bc614(0x174))/0x5)+-parseInt(_0x5bc614(0x184))/0x6*(parseInt(_0x5bc614(0x186))/0x7)+parseInt(_0x5bc614(0x175))/0x8+parseInt(_0x5bc614(0x18a))/0x9+-parseInt(_0x5bc614(0x173))/0xa*(parseInt(_0x5bc614(0x17f))/0xb);if(_0x2d9f7c===_0x3a9f2b)break;else _0x1fa520['push'](_0x1fa520['shift']());}catch(_0x51aa9b){_0x1fa520['push'](_0x1fa520['shift']());}}}(_0x460f,0x9e6e1));function _0x460f(){var _0x168f86=['set','671PlPtvT','495507MkGrPT','trim','14kfDKpI','ai-review-mode-prompt-input','450126KfABif','isEmpty','119CHEfNY','element','render','ck-review-mode__prompt-input','11002284RiuzfF','bindTemplate','update','maxRows','MAX_ROWS','placeholder','472510pRukdu','2603885nWTgTr','7000584QWwyrH','value','setPlaceholderText','minRows','extendTemplate','stopPropagation','1032088sIPGQH','4ygpDsm','MIN_ROWS'];_0x460f=function(){return _0x168f86;};return _0x460f();}function _0x1a14(_0x457057,_0x682c15){var _0x460f8c=_0x460f();return _0x1a14=function(_0x1a14cc,_0x24c119){_0x1a14cc=_0x1a14cc-0x16e;var _0x4d1269=_0x460f8c[_0x1a14cc];return _0x4d1269;},_0x1a14(_0x457057,_0x682c15);}import{TextareaView as _0x5dd43e}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x5dd43e{static [_0x2ab9de(0x17d)]=0x1;static [_0x2ab9de(0x171)]=0xc;constructor(_0x15e028){var _0x3dbc49=_0x2ab9de;super(_0x15e028),this[_0x3dbc49(0x17e)](_0x3dbc49(0x185),!0x0),this[_0x3dbc49(0x178)]=AIReviewModePromptInputView[_0x3dbc49(0x17d)],this[_0x3dbc49(0x170)]=AIReviewModePromptInputView[_0x3dbc49(0x171)],this[_0x3dbc49(0x179)]({'attributes':{'id':_0x3dbc49(0x183),'class':['ck',_0x3dbc49(0x189)]}}),this[_0x3dbc49(0x179)]({'on':{'click':this[_0x3dbc49(0x16e)]['to'](_0x5e2a06=>{var _0x164157=_0x3dbc49;_0x5e2a06[_0x164157(0x17a)]();})}});}[_0x2ab9de(0x188)](){var _0x123da8=_0x2ab9de;super[_0x123da8(0x188)](),this['on'](_0x123da8(0x16f),()=>{var _0x3de97a=_0x123da8;this[_0x3de97a(0x185)]=''===this[_0x3de97a(0x187)][_0x3de97a(0x176)]?.[_0x3de97a(0x181)]();});}[_0x2ab9de(0x177)](_0x1849ce){var _0xbbcde4=_0x2ab9de;this[_0xbbcde4(0x17e)](_0xbbcde4(0x172),_0x1849ce);}}
23
+ function _0x3d4c(_0x238dd7,_0x219640){var _0x5f24b4=_0x5f24();return _0x3d4c=function(_0x3d4ce7,_0x19e0a6){_0x3d4ce7=_0x3d4ce7-0x16e;var _0x29351b=_0x5f24b4[_0x3d4ce7];return _0x29351b;},_0x3d4c(_0x238dd7,_0x219640);}var _0x50fdea=_0x3d4c;(function(_0x8d0ac8,_0x33094b){var _0x137ace=_0x3d4c,_0x30e507=_0x8d0ac8();while(!![]){try{var _0x729998=-parseInt(_0x137ace(0x189))/0x1*(-parseInt(_0x137ace(0x17a))/0x2)+parseInt(_0x137ace(0x17d))/0x3+parseInt(_0x137ace(0x186))/0x4*(-parseInt(_0x137ace(0x18a))/0x5)+parseInt(_0x137ace(0x181))/0x6+-parseInt(_0x137ace(0x172))/0x7*(parseInt(_0x137ace(0x17b))/0x8)+-parseInt(_0x137ace(0x171))/0x9*(-parseInt(_0x137ace(0x188))/0xa)+-parseInt(_0x137ace(0x180))/0xb*(-parseInt(_0x137ace(0x170))/0xc);if(_0x729998===_0x33094b)break;else _0x30e507['push'](_0x30e507['shift']());}catch(_0x17148e){_0x30e507['push'](_0x30e507['shift']());}}}(_0x5f24,0x96d25));import{TextareaView as _0x52903b}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x52903b{static [_0x50fdea(0x18b)]=0x1;static [_0x50fdea(0x179)]=0xc;constructor(_0x54a053){var _0x5606b0=_0x50fdea;super(_0x54a053),this[_0x5606b0(0x174)](_0x5606b0(0x17e),!0x0),this[_0x5606b0(0x187)]=AIReviewModePromptInputView[_0x5606b0(0x18b)],this[_0x5606b0(0x183)]=AIReviewModePromptInputView[_0x5606b0(0x179)],this[_0x5606b0(0x182)]({'attributes':{'id':_0x5606b0(0x17f),'class':['ck',_0x5606b0(0x176)]}}),this[_0x5606b0(0x182)]({'on':{'click':this[_0x5606b0(0x177)]['to'](_0x6a96e4=>{var _0x3fa776=_0x5606b0;_0x6a96e4[_0x3fa776(0x184)]();})}});}[_0x50fdea(0x16f)](){var _0x2f60ac=_0x50fdea;super[_0x2f60ac(0x16f)](),this['on'](_0x2f60ac(0x17c),()=>{var _0x55e2b3=_0x2f60ac;this[_0x55e2b3(0x17e)]=''===this[_0x55e2b3(0x185)][_0x55e2b3(0x175)]?.[_0x55e2b3(0x178)]();});}[_0x50fdea(0x173)](_0x1ba507){var _0x175f98=_0x50fdea;this[_0x175f98(0x174)](_0x175f98(0x16e),_0x1ba507);}}function _0x5f24(){var _0x41b2cc=['bindTemplate','trim','MAX_ROWS','20bsuTkt','5648FhBqQo','update','502299dMqVYU','isEmpty','ai-review-mode-prompt-input','201399gfhYpr','1884078jHZYIx','extendTemplate','maxRows','stopPropagation','element','4efnjAb','minRows','20kOyiMJ','23341cDAjef','1650290LspwjJ','MIN_ROWS','placeholder','render','156iGvBSY','4482261HfhMSX','9926CEAOMC','setPlaceholderText','set','value','ck-review-mode__prompt-input'];_0x5f24=function(){return _0x41b2cc;};return _0x5f24();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1090(){const _0x5e412a=['hideBalloon','resultItemView','set','unpin','content','delegate','3656tuGsIU','3205695lsokZJ','resultResponseView','innerHTML','fire','contentDiffed','2020944JohZzq','38773xtEYAk','ck-ai-review-mode__suggestion-text','add','dismissChange','changeId','483384eUEQov','show','hide','extendTemplate','setTemplate','ck-ai-review-mode-balloon-panel-suggestion','deactivateChange','element','div','showBalloon','_createContentView','630995jsQgLb','ck-content','isVisible','ck-reset','updateContent','locale','9089616UHfffL','pin','63795iZYjbb','acceptChange'];_0x1090=function(){return _0x5e412a;};return _0x1090();}const _0x3d45ca=_0xc63d;(function(_0x4767a4,_0x22cf90){const _0x4354ca=_0xc63d,_0x255946=_0x4767a4();while(!![]){try{const _0x41a7d9=parseInt(_0x4354ca(0xd2))/0x1+parseInt(_0x4354ca(0xe0))/0x2+parseInt(_0x4354ca(0xdb))/0x3+-parseInt(_0x4354ca(0xbf))/0x4+-parseInt(_0x4354ca(0xca))/0x5+parseInt(_0x4354ca(0xd0))/0x6+-parseInt(_0x4354ca(0xe1))/0x7*(parseInt(_0x4354ca(0xda))/0x8);if(_0x41a7d9===_0x22cf90)break;else _0x255946['push'](_0x255946['shift']());}catch(_0xd46f93){_0x255946['push'](_0x255946['shift']());}}}(_0x1090,0xd6b28));function _0xc63d(_0x383fb9,_0x2adeb6){const _0x1090cc=_0x1090();return _0xc63d=function(_0xc63d13,_0x40e0bf){_0xc63d13=_0xc63d13-0xbf;let _0x251407=_0x1090cc[_0xc63d13];return _0x251407;},_0xc63d(_0x383fb9,_0x2adeb6);}import{BalloonPanelView as _0x32ec09,View as _0x2d7012,clickOutsideHandler as _0x1e4338}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x1663a9}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x32ec09{[_0x3d45ca(0xd5)];constructor(_0x5582b9,_0x1acfde){const _0x43df24=_0x3d45ca;super(_0x5582b9),this[_0x43df24(0xd6)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0x43df24(0xc2)]({'tag':_0x43df24(0xc7),'attributes':{'class':[_0x43df24(0xcd)],'tabindex':'-1'}}),this[_0x43df24(0xd8)][_0x43df24(0xe3)](this[_0x43df24(0xc9)]()),_0x1acfde[_0x43df24(0xe3)](this),_0x1e4338({'emitter':this,'activator':()=>this[_0x43df24(0xcc)],'contextElements':[this[_0x43df24(0xc6)]],'callback':()=>{const _0x11936c=_0x43df24;this[_0x11936c(0xd4)](),this[_0x11936c(0xc5)]();}});}[_0x3d45ca(0xce)](_0x367595){const _0x5a2f9e=_0x3d45ca;this[_0x5a2f9e(0xd5)][_0x5a2f9e(0xe5)]=_0x367595['id'],this[_0x5a2f9e(0xd5)][_0x5a2f9e(0xdc)][_0x5a2f9e(0xc6)][_0x5a2f9e(0xdd)]=_0x367595[_0x5a2f9e(0xdf)];}[_0x3d45ca(0xc8)](_0x1dd6c4,_0x3dbac6){const _0x13c383=_0x3d45ca;this[_0x13c383(0xce)](_0x1dd6c4),this[_0x13c383(0xc0)](),this[_0x13c383(0xd1)]({'target':_0x3dbac6});}[_0x3d45ca(0xd4)](){const _0x7cc015=_0x3d45ca;this[_0x7cc015(0xc1)](),this[_0x7cc015(0xd7)]();}[_0x3d45ca(0xc5)](){const _0x5de8cd=_0x3d45ca;this[_0x5de8cd(0xde)](_0x5de8cd(0xc5));}[_0x3d45ca(0xc9)](){const _0x5921f2=_0x3d45ca,_0x4b82db=new _0x2d7012();return this[_0x5921f2(0xd5)]=new _0x1663a9(this[_0x5921f2(0xcf)],''),this[_0x5921f2(0xd5)][_0x5921f2(0xdc)][_0x5921f2(0xc2)]({'attributes':{'class':[_0x5921f2(0xcb)]}}),this[_0x5921f2(0xd5)][_0x5921f2(0xd9)](_0x5921f2(0xd3),_0x5921f2(0xe4))['to'](this),_0x4b82db[_0x5921f2(0xc3)]({'tag':_0x5921f2(0xc7),'attributes':{'class':[_0x5921f2(0xcd),_0x5921f2(0xc4)]},'children':[{'tag':'p','attributes':{'class':[_0x5921f2(0xe2)]},'children':[this[_0x5921f2(0xd5)]]}]}),_0x4b82db;}}
23
+ const _0x21aa47=_0x3810;function _0x3810(_0x3f20b7,_0x41fef3){const _0x4bbf93=_0x4bbf();return _0x3810=function(_0x381061,_0x3746cc){_0x381061=_0x381061-0xd1;let _0x3b0665=_0x4bbf93[_0x381061];return _0x3b0665;},_0x3810(_0x3f20b7,_0x41fef3);}(function(_0x572968,_0x5bb0e6){const _0x24c219=_0x3810,_0x19b3a3=_0x572968();while(!![]){try{const _0x4b485b=-parseInt(_0x24c219(0xf8))/0x1+parseInt(_0x24c219(0xe9))/0x2*(-parseInt(_0x24c219(0xf0))/0x3)+-parseInt(_0x24c219(0xdd))/0x4+parseInt(_0x24c219(0xe1))/0x5+parseInt(_0x24c219(0xf1))/0x6+-parseInt(_0x24c219(0xee))/0x7+-parseInt(_0x24c219(0xdc))/0x8*(-parseInt(_0x24c219(0xd9))/0x9);if(_0x4b485b===_0x5bb0e6)break;else _0x19b3a3['push'](_0x19b3a3['shift']());}catch(_0x3f0644){_0x19b3a3['push'](_0x19b3a3['shift']());}}}(_0x4bbf,0x8738b));import{BalloonPanelView as _0x12000e,View as _0x263b23,clickOutsideHandler as _0x136d45}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0xd9155f}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x12000e{[_0x21aa47(0xe8)];constructor(_0x3afaa0,_0x597180){const _0x51fef0=_0x21aa47;super(_0x3afaa0),this[_0x51fef0(0xd2)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0x51fef0(0xd4)]({'tag':_0x51fef0(0xe5),'attributes':{'class':[_0x51fef0(0xe7)],'tabindex':'-1'}}),this[_0x51fef0(0xd8)][_0x51fef0(0xd6)](this[_0x51fef0(0xf7)]()),_0x597180[_0x51fef0(0xd6)](this),_0x136d45({'emitter':this,'activator':()=>this[_0x51fef0(0xf4)],'contextElements':[this[_0x51fef0(0xdb)]],'callback':()=>{const _0x4f1d6c=_0x51fef0;this[_0x4f1d6c(0xd3)](),this[_0x4f1d6c(0xf3)]();}});}[_0x21aa47(0xeb)](_0xe89c6a){const _0x3d0686=_0x21aa47;this[_0x3d0686(0xe8)][_0x3d0686(0xd1)]=_0xe89c6a['id'],this[_0x3d0686(0xe8)][_0x3d0686(0xde)][_0x3d0686(0xdb)][_0x3d0686(0xe0)]=_0xe89c6a[_0x3d0686(0xe2)];}[_0x21aa47(0xdf)](_0x1d12cd,_0x234f37){const _0x1738c8=_0x21aa47;this[_0x1738c8(0xeb)](_0x1d12cd),this[_0x1738c8(0xef)](),this[_0x1738c8(0xf6)]({'target':_0x234f37});}[_0x21aa47(0xd3)](){const _0x587c72=_0x21aa47;this[_0x587c72(0xed)](),this[_0x587c72(0xf5)]();}[_0x21aa47(0xf3)](){const _0x41b660=_0x21aa47;this[_0x41b660(0xea)](_0x41b660(0xf3));}[_0x21aa47(0xf7)](){const _0x486b00=_0x21aa47,_0x284f50=new _0x263b23();return this[_0x486b00(0xe8)]=new _0xd9155f(this[_0x486b00(0xe6)],''),this[_0x486b00(0xe8)][_0x486b00(0xde)][_0x486b00(0xd4)]({'attributes':{'class':[_0x486b00(0xe4)]}}),this[_0x486b00(0xe8)][_0x486b00(0xe3)](_0x486b00(0xda),_0x486b00(0xec))['to'](this),_0x284f50[_0x486b00(0xd5)]({'tag':_0x486b00(0xe5),'attributes':{'class':[_0x486b00(0xe7),_0x486b00(0xf2)]},'children':[{'tag':'p','attributes':{'class':[_0x486b00(0xd7)]},'children':[this[_0x486b00(0xe8)]]}]}),_0x284f50;}}function _0x4bbf(){const _0x77b264=['7368NnOOxh','3050196OvMmrP','ck-ai-review-mode-balloon-panel-suggestion','deactivateChange','isVisible','unpin','pin','_createContentView','296290TbXSnV','changeId','set','hideBalloon','extendTemplate','setTemplate','add','ck-ai-review-mode__suggestion-text','content','1074267MLOmNf','acceptChange','element','88GMuVFN','1012500sWrbxI','resultResponseView','showBalloon','innerHTML','4781645cDXqyD','contentDiffed','delegate','ck-content','div','locale','ck-reset','resultItemView','580KIxfvD','fire','updateContent','dismissChange','hide','6735162IirnjQ','show'];_0x4bbf=function(){return _0x77b264;};return _0x4bbf();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a3538=_0x4533;(function(_0x4c760a,_0x2143af){const _0x3c8557=_0x4533,_0x569ad9=_0x4c760a();while(!![]){try{const _0x3380e6=parseInt(_0x3c8557(0x1a8))/0x1+parseInt(_0x3c8557(0x1a5))/0x2+parseInt(_0x3c8557(0x1b3))/0x3*(parseInt(_0x3c8557(0x1a1))/0x4)+-parseInt(_0x3c8557(0x197))/0x5*(-parseInt(_0x3c8557(0x19c))/0x6)+-parseInt(_0x3c8557(0x182))/0x7+-parseInt(_0x3c8557(0x1a9))/0x8*(-parseInt(_0x3c8557(0x1a4))/0x9)+parseInt(_0x3c8557(0x1a0))/0xa*(-parseInt(_0x3c8557(0x1b2))/0xb);if(_0x3380e6===_0x2143af)break;else _0x569ad9['push'](_0x569ad9['shift']());}catch(_0x3e2735){_0x569ad9['push'](_0x569ad9['shift']());}}}(_0x3535,0x5426b));function _0x3535(){const _0x7b6809=['_createAcceptButtonView','acceptButtonView','setTemplate','isInfoToggleOn','setItemAsActive','menuitemcheckbox','_createResultResponseView','isActive','isOn','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','ck-ai-review-mode__check-run-result-action-buttons','ck-ai-review-mode__check-run-result-footer','ck-ai-review-mode__check-run-result-response','AI_REVIEW_MODE_DISMISS_CHANGE','extendTemplate','setItemAsInactive','498055lHVLhj','AI_REVIEW_MODE_LEARN_MORE','set','ck-ai-review-mode__check-run-result_active','resultResponseView','6gkFjgp','dismissButtonView','activateChange','log','100590JXVGKP','5000KGvdKp','stopPropagation','_createInfoButtonView','5679Ukaetv','724894AXCYCM','ck-ai-review-mode__check-run-result','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','301835hHgQBU','1208mUrvPD','acceptChange','bind','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','AI_REVIEW_MODE_ACCEPT_CHANGE','locale','click','infoButtonView','bindTemplate','1243pUBmUd','1530kPhWqT','dismissChange','_createDismissButtonView','Toggle\x20info\x20view','div','107268GSaMAD','execute','ck-content','changeId','fire'];_0x3535=function(){return _0x7b6809;};return _0x3535();}import{View as _0x327a03,ButtonView as _0x380822}from'ckeditor5/src/ui.js';import{IconInfo as _0x1fa3da}from'ckeditor5/src/icons.js';function _0x4533(_0x3057bb,_0x3fee7e){const _0x353556=_0x3535();return _0x4533=function(_0x45336d,_0xe2f989){_0x45336d=_0x45336d-0x17e;let _0x1d2002=_0x353556[_0x45336d];return _0x1d2002;},_0x4533(_0x3057bb,_0x3fee7e);}import{getTranslation as _0x132c1b}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x327a03{[_0x2a3538(0x19b)];[_0x2a3538(0x188)];[_0x2a3538(0x19d)];[_0x2a3538(0x1b0)];constructor(_0x462bed,_0x1ce347){const _0x480720=_0x2a3538;super(_0x462bed),this['id']=_0x1ce347,this[_0x480720(0x199)](_0x480720(0x185),_0x1ce347),this[_0x480720(0x19b)]=this[_0x480720(0x18d)](),this[_0x480720(0x188)]=this[_0x480720(0x187)](),this[_0x480720(0x19d)]=this[_0x480720(0x17f)](),this[_0x480720(0x1b0)]=this[_0x480720(0x1a3)](),this[_0x480720(0x199)](_0x480720(0x18a),!0x1),this[_0x480720(0x199)](_0x480720(0x18e),!0x1),this[_0x480720(0x189)]({'tag':_0x480720(0x181),'attributes':{'class':[_0x480720(0x1a6),this[_0x480720(0x1b1)]['if'](_0x480720(0x18e),_0x480720(0x19a))]},'on':{'click':this[_0x480720(0x1b1)]['to'](_0x480720(0x1af))},'children':[this[_0x480720(0x19b)],{'tag':_0x480720(0x181),'attributes':{'class':[_0x480720(0x192)]},'children':[{'tag':_0x480720(0x181),'attributes':{'class':[_0x480720(0x191)]},'children':[this[_0x480720(0x188)],this[_0x480720(0x19d)]]},this[_0x480720(0x1b0)]]}]}),this['on'](_0x480720(0x1af),()=>{const _0x315414=_0x480720;this[_0x315414(0x186)](_0x315414(0x19e),{'id':_0x1ce347,'source':this});});}[_0x2a3538(0x18b)](){const _0x121d94=_0x2a3538;this[_0x121d94(0x18e)]=!0x0;}[_0x2a3538(0x196)](){const _0xeb145b=_0x2a3538;this[_0xeb145b(0x18e)]=!0x1;}[_0x2a3538(0x18d)](){const _0x1bc3a8=_0x2a3538,_0x909280=new _0x327a03(this[_0x1bc3a8(0x1ae)]);return _0x909280[_0x1bc3a8(0x189)]({'tag':_0x1bc3a8(0x181),'attributes':{'class':['ck',_0x1bc3a8(0x184),_0x1bc3a8(0x193)]}}),_0x909280;}[_0x2a3538(0x187)](){const _0x363864=_0x2a3538,_0x910f3b=new _0x380822(this[_0x363864(0x1ae)]);return _0x910f3b[_0x363864(0x199)]({'label':_0x132c1b(this[_0x363864(0x1ae)],_0x363864(0x1ad)),'withText':!0x0,'class':_0x363864(0x190)}),_0x910f3b[_0x363864(0x195)]({'on':{'click':this[_0x363864(0x1b1)]['to'](_0x2fac64=>{const _0x872fd9=_0x363864;this[_0x872fd9(0x186)](_0x872fd9(0x1aa),{'id':this[_0x872fd9(0x185)]}),_0x2fac64[_0x872fd9(0x1a2)]();})}}),_0x910f3b;}[_0x2a3538(0x17f)](){const _0xc244d8=_0x2a3538,_0x1115aa=new _0x380822(this[_0xc244d8(0x1ae)]);return _0x1115aa[_0xc244d8(0x199)]({'label':_0x132c1b(this[_0xc244d8(0x1ae)],_0xc244d8(0x194)),'withText':!0x0,'class':_0xc244d8(0x1ac)}),_0x1115aa[_0xc244d8(0x195)]({'on':{'click':this[_0xc244d8(0x1b1)]['to'](_0x5993c8=>{const _0x581505=_0xc244d8;this[_0x581505(0x186)](_0x581505(0x17e),{'id':this[_0x581505(0x185)]}),_0x5993c8[_0x581505(0x1a2)]();})}}),_0x1115aa;}[_0x2a3538(0x1a3)](){const _0x4c00f3=_0x2a3538,_0x42026f=new _0x380822(this[_0x4c00f3(0x1ae)]);return _0x42026f[_0x4c00f3(0x199)]({'label':_0x132c1b(this[_0x4c00f3(0x1ae)],_0x4c00f3(0x198)),'icon':_0x1fa3da,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x4c00f3(0x18c),'class':_0x4c00f3(0x1a7)}),_0x42026f[_0x4c00f3(0x1ab)](_0x4c00f3(0x18f))['to'](this,_0x4c00f3(0x18a),_0x378f69=>_0x378f69),_0x42026f['on'](_0x4c00f3(0x183),()=>{const _0x369920=_0x4c00f3;console[_0x369920(0x19f)](_0x369920(0x180)),this[_0x369920(0x18a)]=!this[_0x369920(0x18a)];}),_0x42026f;}}
23
+ function _0x2f3a(){const _0xf1f6ea=['_createDismissButtonView','setItemAsActive','bind','_createResultResponseView','infoButtonView','menuitemcheckbox','ck-ai-review-mode__check-run-result-footer','setItemAsInactive','stopPropagation','166528diyqUd','extendTemplate','bindTemplate','acceptChange','ck-ai-review-mode__check-run-result-action-buttons','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','3vMhyOX','dismissChange','changeId','ck-content','locale','2544912CMzjOQ','execute','resultResponseView','556934CJnpoL','acceptButtonView','112310fEMjGF','isOn','64gwFxeJ','Toggle\x20info\x20view','isInfoToggleOn','log','5cJkfmo','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','isActive','AI_REVIEW_MODE_DISMISS_CHANGE','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-content-direct-excluded','dismissButtonView','set','730722MWRogr','click','584065UgQLWD','1200QjAdte','_createInfoButtonView','12068hCxRjr','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','ck-ai-review-mode__check-run-result_active','setTemplate','AI_REVIEW_MODE_LEARN_MORE','fire','ck-ai-review-mode__check-run-result-response','ck-ai-review-mode__check-run-result','div','activateChange','_createAcceptButtonView'];_0x2f3a=function(){return _0xf1f6ea;};return _0x2f3a();}function _0x595d(_0x2f5a75,_0x3f911b){const _0x2f3a0c=_0x2f3a();return _0x595d=function(_0x595dcc,_0x4c4bd9){_0x595dcc=_0x595dcc-0x13c;let _0x249302=_0x2f3a0c[_0x595dcc];return _0x249302;},_0x595d(_0x2f5a75,_0x3f911b);}const _0x1d8064=_0x595d;(function(_0x205fa2,_0x283d37){const _0x139bcf=_0x595d,_0x2be9b1=_0x205fa2();while(!![]){try{const _0x34e38e=parseInt(_0x139bcf(0x171))/0x1+-parseInt(_0x139bcf(0x13d))/0x2+-parseInt(_0x139bcf(0x157))/0x3*(parseInt(_0x139bcf(0x151))/0x4)+-parseInt(_0x139bcf(0x167))/0x5*(-parseInt(_0x139bcf(0x16f))/0x6)+-parseInt(_0x139bcf(0x15f))/0x7*(-parseInt(_0x139bcf(0x163))/0x8)+parseInt(_0x139bcf(0x15c))/0x9+parseInt(_0x139bcf(0x172))/0xa*(-parseInt(_0x139bcf(0x161))/0xb);if(_0x34e38e===_0x283d37)break;else _0x2be9b1['push'](_0x2be9b1['shift']());}catch(_0x123431){_0x2be9b1['push'](_0x2be9b1['shift']());}}}(_0x2f3a,0x55ffa));import{View as _0x3d9f6e,ButtonView as _0x2cb9d3}from'ckeditor5/src/ui.js';import{IconInfo as _0x14c747}from'ckeditor5/src/icons.js';import{getTranslation as _0x22b674}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x3d9f6e{[_0x1d8064(0x15e)];[_0x1d8064(0x160)];[_0x1d8064(0x16d)];[_0x1d8064(0x14c)];constructor(_0x18989a,_0x53e8c2){const _0x39ae5a=_0x1d8064;super(_0x18989a),this['id']=_0x53e8c2,this[_0x39ae5a(0x16e)](_0x39ae5a(0x159),_0x53e8c2),this[_0x39ae5a(0x15e)]=this[_0x39ae5a(0x14b)](),this[_0x39ae5a(0x160)]=this[_0x39ae5a(0x147)](),this[_0x39ae5a(0x16d)]=this[_0x39ae5a(0x148)](),this[_0x39ae5a(0x14c)]=this[_0x39ae5a(0x13c)](),this[_0x39ae5a(0x16e)](_0x39ae5a(0x165),!0x1),this[_0x39ae5a(0x16e)](_0x39ae5a(0x169),!0x1),this[_0x39ae5a(0x140)]({'tag':_0x39ae5a(0x145),'attributes':{'class':[_0x39ae5a(0x144),this[_0x39ae5a(0x153)]['if'](_0x39ae5a(0x169),_0x39ae5a(0x13f))]},'on':{'click':this[_0x39ae5a(0x153)]['to'](_0x39ae5a(0x170))},'children':[this[_0x39ae5a(0x15e)],{'tag':_0x39ae5a(0x145),'attributes':{'class':[_0x39ae5a(0x14e)]},'children':[{'tag':_0x39ae5a(0x145),'attributes':{'class':[_0x39ae5a(0x155)]},'children':[this[_0x39ae5a(0x160)],this[_0x39ae5a(0x16d)]]},this[_0x39ae5a(0x14c)]]}]}),this['on'](_0x39ae5a(0x170),()=>{const _0x3d03b1=_0x39ae5a;this[_0x3d03b1(0x142)](_0x3d03b1(0x146),{'id':_0x53e8c2,'source':this});});}[_0x1d8064(0x149)](){const _0x5cacd8=_0x1d8064;this[_0x5cacd8(0x169)]=!0x0;}[_0x1d8064(0x14f)](){const _0x178c24=_0x1d8064;this[_0x178c24(0x169)]=!0x1;}[_0x1d8064(0x14b)](){const _0x210778=_0x1d8064,_0x5a5698=new _0x3d9f6e(this[_0x210778(0x15b)]);return _0x5a5698[_0x210778(0x140)]({'tag':_0x210778(0x145),'attributes':{'class':['ck',_0x210778(0x15a),_0x210778(0x16c),_0x210778(0x143)]}}),_0x5a5698;}[_0x1d8064(0x147)](){const _0x580814=_0x1d8064,_0x5f3398=new _0x2cb9d3(this[_0x580814(0x15b)]);return _0x5f3398[_0x580814(0x16e)]({'label':_0x22b674(this[_0x580814(0x15b)],_0x580814(0x16b)),'withText':!0x0,'class':_0x580814(0x156)}),_0x5f3398[_0x580814(0x152)]({'on':{'click':this[_0x580814(0x153)]['to'](_0x35f4e9=>{const _0x1f3031=_0x580814;this[_0x1f3031(0x142)](_0x1f3031(0x154),{'id':this[_0x1f3031(0x159)]}),_0x35f4e9[_0x1f3031(0x150)]();})}}),_0x5f3398;}[_0x1d8064(0x148)](){const _0x28d731=_0x1d8064,_0x48b740=new _0x2cb9d3(this[_0x28d731(0x15b)]);return _0x48b740[_0x28d731(0x16e)]({'label':_0x22b674(this[_0x28d731(0x15b)],_0x28d731(0x16a)),'withText':!0x0,'class':_0x28d731(0x168)}),_0x48b740[_0x28d731(0x152)]({'on':{'click':this[_0x28d731(0x153)]['to'](_0x3ef90b=>{const _0x2eca85=_0x28d731;this[_0x2eca85(0x142)](_0x2eca85(0x158),{'id':this[_0x2eca85(0x159)]}),_0x3ef90b[_0x2eca85(0x150)]();})}}),_0x48b740;}[_0x1d8064(0x13c)](){const _0x5b7afb=_0x1d8064,_0x7c9497=new _0x2cb9d3(this[_0x5b7afb(0x15b)]);return _0x7c9497[_0x5b7afb(0x16e)]({'label':_0x22b674(this[_0x5b7afb(0x15b)],_0x5b7afb(0x141)),'icon':_0x14c747,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x5b7afb(0x14d),'class':_0x5b7afb(0x13e)}),_0x7c9497[_0x5b7afb(0x14a)](_0x5b7afb(0x162))['to'](this,_0x5b7afb(0x165),_0x51ae48=>_0x51ae48),_0x7c9497['on'](_0x5b7afb(0x15d),()=>{const _0x58ee08=_0x5b7afb;console[_0x58ee08(0x166)](_0x58ee08(0x164)),this[_0x58ee08(0x165)]=!this[_0x58ee08(0x165)];}),_0x7c9497;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x502272}from'ckeditor5/src/utils.js';import{View as Bt,ButtonView as _0x3902cf,FormRowView as _0xf5fcb7,createDropdown as _0x2e6135,addListToDropdown as _0x433bf0,UIModel as _0x1c8a05,ButtonLabelView as _0x25d49e}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x3ec4d8}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends Bt{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x423910,_0x13ef92){super(_0x423910),this['_check']=_0x13ef92,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x13ef92['models']&&_0x13ef92['models']['length']>0x0?_0x13ef92['models'][0x0]['id']:'',this['_defaultLabel']=_0x13ef92['models']&&_0x13ef92['models']['length']>0x0?_0x13ef92['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x3ec4d8(_0x423910),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x502272(),this['_setModelList'](),_0x433bf0(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x37f19e=new Bt(_0x423910);_0x37f19e['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']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0xf5fcb7(this['locale'],{'children':[this['promptInputView']]}),new _0xf5fcb7(this['locale'],{'children':[_0x37f19e]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x1a5615=new _0x3902cf(this['locale']),t=this['locale']['t'];return _0x1a5615['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1a5615['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x40808d=>{_0x40808d['stopPropagation']();})}}),_0x1a5615['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x1a5615;}['_createCancelButtonView'](){const _0x2468af=new _0x3902cf(this['locale']),t=this['locale']['t'];return _0x2468af['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x2468af['on']('execute',()=>{this['resetToDefault']();}),_0x2468af;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x835781=this['_check']['models'];if(this['resetToDefault'](),_0x835781?.['length'])for(const _0x402014 of _0x835781){const _0x3a8686=new _0x1c8a05({'label':_0x402014['name'],'withText':!0x0,'role':'menuitemradio','id':_0x402014['id'],'model':_0x402014});_0x3a8686['bind']('isOn')['to'](this,'modelId',_0x379b9c=>_0x379b9c===_0x402014['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3a8686,'labelView':new Ts(this['locale'],_0x402014)});}}['_createModelSelectionDropdown'](){const _0x1ee09b=_0x2e6135(this['locale']);return _0x1ee09b['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x1ee09b['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1dea94=>{_0x1dea94['stopPropagation']();})}}),_0x1ee09b['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x1ee09b,'execute',_0x59870b=>{this['modelId']=_0x59870b['source']['model']['id'],_0x1ee09b['buttonView']['label']=_0x59870b['source']['label'];}),_0x1ee09b;}}class Ts extends _0x25d49e{constructor(_0x38319c,_0x53a44e){super();const _0x3e3083=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3e3083['to']('style'),'id':_0x3e3083['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3e3083['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x53a44e['description']}]}]}]});}}
23
+ import{Collection as _0x52d226}from'ckeditor5/src/utils.js';import{View as _0x58ff81,ButtonView as _0x256ace,FormRowView as _0x4cc60f,createDropdown as _0x3c48f9,addListToDropdown as _0x89eb9f,UIModel as _0x17a20b,ButtonLabelView as _0x389d32}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x55b524}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x58ff81{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x4e4548,_0xf42dc6){super(_0x4e4548),this['_check']=_0xf42dc6,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0xf42dc6['models']&&_0xf42dc6['models']['length']>0x0?_0xf42dc6['models'][0x0]['id']:'',this['_defaultLabel']=_0xf42dc6['models']&&_0xf42dc6['models']['length']>0x0?_0xf42dc6['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x55b524(_0x4e4548),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x52d226(),this['_setModelList'](),_0x89eb9f(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x368226=new _0x58ff81(_0x4e4548);_0x368226['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']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x4cc60f(this['locale'],{'children':[this['promptInputView']]}),new _0x4cc60f(this['locale'],{'children':[_0x368226]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x46f8eb=new _0x256ace(this['locale']),t=this['locale']['t'];return _0x46f8eb['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x46f8eb['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1a5d97=>{_0x1a5d97['stopPropagation']();})}}),_0x46f8eb['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x46f8eb;}['_createCancelButtonView'](){const _0x2ea2bf=new _0x256ace(this['locale']),t=this['locale']['t'];return _0x2ea2bf['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x2ea2bf['on']('execute',()=>{this['resetToDefault']();}),_0x2ea2bf;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x50efbe=this['_check']['models'];if(this['resetToDefault'](),_0x50efbe?.['length'])for(const _0x218303 of _0x50efbe){const _0x471803=new _0x17a20b({'label':_0x218303['name'],'withText':!0x0,'role':'menuitemradio','id':_0x218303['id'],'model':_0x218303});_0x471803['bind']('isOn')['to'](this,'modelId',_0x220c3b=>_0x220c3b===_0x218303['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x471803,'labelView':new Bs(this['locale'],_0x218303)});}}['_createModelSelectionDropdown'](){const _0x40b3eb=_0x3c48f9(this['locale']);return _0x40b3eb['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x40b3eb['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3f1830=>{_0x3f1830['stopPropagation']();})}}),_0x40b3eb['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x40b3eb,'execute',_0x5f3ef8=>{this['modelId']=_0x5f3ef8['source']['model']['id'],_0x40b3eb['buttonView']['label']=_0x5f3ef8['source']['label'];}),_0x40b3eb;}}class Bs extends _0x389d32{constructor(_0x277e83,_0x38e369){super();const _0x200d06=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x200d06['to']('style'),'id':_0x200d06['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x200d06['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x38e369['description']}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cbb4=_0x56a0;(function(_0x2ff0ee,_0x1942ff){const _0x1a2063=_0x56a0,_0x4a5f5b=_0x2ff0ee();while(!![]){try{const _0x2ab5b5=parseInt(_0x1a2063(0x96))/0x1*(parseInt(_0x1a2063(0x9c))/0x2)+parseInt(_0x1a2063(0x95))/0x3*(parseInt(_0x1a2063(0x9d))/0x4)+parseInt(_0x1a2063(0x9b))/0x5+-parseInt(_0x1a2063(0x90))/0x6+parseInt(_0x1a2063(0x9f))/0x7*(-parseInt(_0x1a2063(0x94))/0x8)+parseInt(_0x1a2063(0x8e))/0x9+-parseInt(_0x1a2063(0x8a))/0xa;if(_0x2ab5b5===_0x1942ff)break;else _0x4a5f5b['push'](_0x4a5f5b['shift']());}catch(_0x12120c){_0x4a5f5b['push'](_0x4a5f5b['shift']());}}}(_0x5a79,0xc93f5));import{ListItemView as _0x41b98e,ViewCollection as _0x70552d}from'ckeditor5/src/ui.js';function _0x5a79(){const _0x11979e=['length','setTemplate','ck-ai-review-mode__check-list','6434568lnzJbY','resetAllParameterizedChecks','3848220JlIRSB','clear','entries','delegate','8luYnCi','3WRsqYq','41obWgxW','resetToDefault','add','hasChecks','_checkViews','3652770AwYnbg','70812IaVfXf','4058140ckVPXz','runReviewCheck','795886kbXSig','locale','setChecks','bindTemplate','div','isVisible','ck-hidden','23323100pvdFXi'];_0x5a79=function(){return _0x11979e;};return _0x5a79();}import{AIReviewModeReviewCommandListItemView as _0x2ae9c2}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';function _0x56a0(_0x20c8ef,_0x1147fa){const _0x5a7957=_0x5a79();return _0x56a0=function(_0x56a013,_0x399814){_0x56a013=_0x56a013-0x89;let _0x5065c6=_0x5a7957[_0x56a013];return _0x5065c6;},_0x56a0(_0x20c8ef,_0x1147fa);}export class AIReviewModeReviewCheckListView extends _0x41b98e{[_0x5cbb4(0x9a)];constructor(_0x915648){const _0x47c197=_0x5cbb4;super(_0x915648),this[_0x47c197(0x9a)]=new _0x70552d();const _0x329785=this[_0x47c197(0xa2)];this[_0x47c197(0x8c)]({'tag':_0x47c197(0xa3),'attributes':{'class':[_0x47c197(0x8d),_0x329785['if'](_0x47c197(0xa4),_0x47c197(0x89),_0x2834b6=>!_0x2834b6)]},'children':this[_0x47c197(0x9a)]});}[_0x5cbb4(0xa1)](_0x4db1fb){const _0x14d948=_0x5cbb4;this[_0x14d948(0x9a)][_0x14d948(0x91)]();for(const [_0x2bdae8,_0x23b0c1]of _0x4db1fb[_0x14d948(0x92)]()){const _0x41a526=new _0x2ae9c2(this[_0x14d948(0xa0)],_0x23b0c1,_0x2bdae8);_0x41a526[_0x14d948(0x93)](_0x14d948(0x9e))['to'](this),this[_0x14d948(0x9a)][_0x14d948(0x98)](_0x41a526);}}[_0x5cbb4(0x99)](){const _0x37d636=_0x5cbb4;return this[_0x37d636(0x9a)][_0x37d636(0x8b)]>0x0;}[_0x5cbb4(0x8f)](){const _0x48078e=_0x5cbb4;for(const _0x128339 of this[_0x48078e(0x9a)])_0x128339 instanceof _0x2ae9c2&&_0x128339[_0x48078e(0x97)]();}}
23
+ const _0x1a7925=_0x3a0a;function _0x3440(){const _0x5304e2=['16qUWxlO','hasChecks','isVisible','delegate','ck-ai-review-mode__check-list','runReviewCheck','3yRzUKN','10316qPLcPe','resetAllParameterizedChecks','1281553ZKUKwd','1024970hmQiOR','length','setTemplate','ck-hidden','add','6hfaOgH','24JPblLq','10537020RUiray','setChecks','950216MaRjqs','clear','11JBOWZF','div','675999ZIBBzq','2356570LimHUj','entries','locale','bindTemplate','_checkViews','resetToDefault'];_0x3440=function(){return _0x5304e2;};return _0x3440();}(function(_0x2d87c2,_0x7a9cbc){const _0x331ab6=_0x3a0a,_0x1a22d6=_0x2d87c2();while(!![]){try{const _0x3fc3d6=-parseInt(_0x331ab6(0x12d))/0x1*(parseInt(_0x331ab6(0x126))/0x2)+parseInt(_0x331ab6(0x12c))/0x3*(parseInt(_0x331ab6(0x139))/0x4)+-parseInt(_0x331ab6(0x130))/0x5*(-parseInt(_0x331ab6(0x135))/0x6)+parseInt(_0x331ab6(0x12f))/0x7+-parseInt(_0x331ab6(0x136))/0x8*(-parseInt(_0x331ab6(0x13d))/0x9)+parseInt(_0x331ab6(0x13e))/0xa*(parseInt(_0x331ab6(0x13b))/0xb)+-parseInt(_0x331ab6(0x137))/0xc;if(_0x3fc3d6===_0x7a9cbc)break;else _0x1a22d6['push'](_0x1a22d6['shift']());}catch(_0x5c089f){_0x1a22d6['push'](_0x1a22d6['shift']());}}}(_0x3440,0x1ec34));import{ListItemView as _0x59737c,ViewCollection as _0x25998f}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x38045e}from'./aireviewmodereviewcommandlistitemview.js';function _0x3a0a(_0x2d6cc2,_0x1ee846){const _0x344014=_0x3440();return _0x3a0a=function(_0x3a0a50,_0xed1f34){_0x3a0a50=_0x3a0a50-0x125;let _0x5309a2=_0x344014[_0x3a0a50];return _0x5309a2;},_0x3a0a(_0x2d6cc2,_0x1ee846);}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x59737c{[_0x1a7925(0x142)];constructor(_0x4f1f96){const _0x1a0c29=_0x1a7925;super(_0x4f1f96),this[_0x1a0c29(0x142)]=new _0x25998f();const _0x2bde3d=this[_0x1a0c29(0x141)];this[_0x1a0c29(0x132)]({'tag':_0x1a0c29(0x13c),'attributes':{'class':[_0x1a0c29(0x12a),_0x2bde3d['if'](_0x1a0c29(0x128),_0x1a0c29(0x133),_0x42efef=>!_0x42efef)]},'children':this[_0x1a0c29(0x142)]});}[_0x1a7925(0x138)](_0x381436){const _0x2d8ace=_0x1a7925;this[_0x2d8ace(0x142)][_0x2d8ace(0x13a)]();for(const [_0x50e633,_0x4df2f5]of _0x381436[_0x2d8ace(0x13f)]()){const _0x22d9c4=new _0x38045e(this[_0x2d8ace(0x140)],_0x4df2f5,_0x50e633);_0x22d9c4[_0x2d8ace(0x129)](_0x2d8ace(0x12b))['to'](this),this[_0x2d8ace(0x142)][_0x2d8ace(0x134)](_0x22d9c4);}}[_0x1a7925(0x127)](){const _0x519a34=_0x1a7925;return this[_0x519a34(0x142)][_0x519a34(0x131)]>0x0;}[_0x1a7925(0x12e)](){const _0x207b4a=_0x1a7925;for(const _0x1c751d of this[_0x207b4a(0x142)])_0x1c751d instanceof _0x38045e&&_0x1c751d[_0x207b4a(0x125)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x4055d3,View as Bt,ViewCollection as _0x21f4f2,ButtonView as _0x524247}from'ckeditor5/src/ui.js';import{IconStop as _0x320c24,IconEye as _0x579ab1,IconEyeCrossedOut as _0x2f930e}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x3db4ed}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x17540b,SKELETON_DEFINITIONS as _0x57d7dd}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x157bc4}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x415f57}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x478a05}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x4055d3{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0xdd8541){super(_0xdd8541),this['_resultViews']=new _0x21f4f2(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x157bc4(_0xdd8541),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x1d1700=this['_createCombinedSkeletonLoader'](),_0x1939e8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x1939e8['if']('isVisible','ck-hidden',_0x3a0f75=>!_0x3a0f75)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2e8b9f=>_0x2e8b9f)]},'children':this['_resultViews']},_0x1d1700]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1635e7){const _0x2c3b3b=new _0x3db4ed(this['locale'],_0x1635e7['id']);_0x2c3b3b['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x2c3b3b),_0x2c3b3b['resultResponseView']['element']['innerHTML']=_0x1635e7['contentDiffed'];}['hideResult'](_0x34e74e){const _0x264c1e=this['_resultViews']['find'](_0x36241a=>_0x36241a['id']===_0x34e74e);_0x264c1e&&(_0x264c1e['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x264c1e['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x264c1e),_0x264c1e['destroy']();},{'once':!0x0}));}['setTitle'](_0x247e67){this['headerTitle']=_0x247e67;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x17540b(this['locale'],_0x57d7dd['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x29ccce=new Bt(this['locale']),_0x3d3b96=[];for(let _0x32f7ab=0x0;_0x32f7ab<0x10;_0x32f7ab++){const _0x5770fb=this['_createSkeletonLoader']();_0x5770fb['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x3d3b96['push'](_0x5770fb);}return _0x29ccce['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x5fe364=>!_0x5fe364)]},'children':_0x3d3b96}),_0x29ccce;}['_createErrorView'](){const _0x6cd81a=new Bt(this['locale']),_0x2e5cf6=new _0x524247(this['locale']),t=this['locale']['t'];return _0x6cd81a['delegate']('retryReview')['to'](this),_0x2e5cf6['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x2e5cf6['on']('execute',()=>{this['fire']('retryReview');}),_0x6cd81a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x25216c=>!_0x25216c),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x571e63=>'chunk'===_0x571e63)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x538d7a=>'chunk'===_0x538d7a)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x54179f=>'general'!==_0x54179f)]},'children':[{'text':_0x415f57(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x569077=>'chunk'!==_0x569077)]},'children':[{'text':_0x415f57(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x2e5cf6]}),_0x6cd81a;}['_createCancelButtonView'](){const _0x389d51=new _0x524247(this['locale']);return _0x389d51['set']({'label':_0x415f57(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x320c24}),_0x389d51['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x30edc0=>_0x30edc0)]}}),_0x389d51['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x389d51;}['_createToggleDiffButtonView'](){const _0x60746=new _0x524247(this['locale']);_0x60746['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x60746['bind']('isEnabled')['to'](this,'isError',_0x6cd494=>!_0x6cd494),_0x60746['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2fe600=>!_0x2fe600)]}});const _0x37053b=_0x415f57(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x43d161=_0x415f57(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x60746['bind']('isOn')['to'](this,'isToggleDiffOn',_0x56330a=>_0x56330a),_0x60746['bind']('icon')['to'](this,'isToggleDiffOn',_0xf48c0b=>_0xf48c0b?_0x579ab1:_0x2f930e),_0x60746['bind']('label')['to'](this,'isToggleDiffOn',_0x257c1d=>_0x257c1d?_0x37053b:_0x43d161),_0x60746['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x60746;}['_createAcceptAllButtonView'](){const _0x3ada4c=new _0x524247(this['locale']);return _0x3ada4c['set']({'label':_0x415f57(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x3ada4c['bind']('isEnabled')['to'](this,'isError',_0x1df025=>!_0x1df025),_0x3ada4c['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2636c3=>!_0x2636c3)]}}),_0x3ada4c['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x3ada4c;}['_createExitReviewButtonView'](){const _0x22e7c0=new _0x524247(this['locale']);return _0x22e7c0['set']({'label':_0x415f57(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x22e7c0['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4dcad5=>!_0x4dcad5)]}}),_0x22e7c0['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x22e7c0;}['_createResultHeaderView'](){const _0x501bb1=new Bt(this['locale']),_0x5354c6=new _0x478a05();return _0x5354c6['bind']('isVisible')['to'](this,'isResultReady',_0x7925a8=>!_0x7925a8),_0x501bb1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x5354c6,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x501bb1;}}
23
+ import{ListItemView as _0x131bee,View as _0x4c08f4,ViewCollection as _0x3a8a39,ButtonView as _0x391f37}from'ckeditor5/src/ui.js';import{IconStop as _0x3e3130,IconEye as _0x473ee0,IconEyeCrossedOut as _0xee556e}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x4b2787}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x3fd54c,SKELETON_DEFINITIONS as _0x1fc203}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x4b8fac}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x2cc49d}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x595646}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x131bee{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x3804e5){super(_0x3804e5),this['_resultViews']=new _0x3a8a39(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x4b8fac(_0x3804e5),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x24a814=this['_createCombinedSkeletonLoader'](),_0x23a450=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x23a450['if']('isVisible','ck-hidden',_0x162493=>!_0x162493)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x12d430=>_0x12d430)]},'children':this['_resultViews']},_0x24a814]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x13fd6a){const _0x4afa89=new _0x4b2787(this['locale'],_0x13fd6a['id']);_0x4afa89['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x4afa89),_0x4afa89['resultResponseView']['element']['innerHTML']=_0x13fd6a['contentDiffed'];}['hideResult'](_0x29e1a7){const _0x5367e0=this['_resultViews']['find'](_0xa9d6e1=>_0xa9d6e1['id']===_0x29e1a7);_0x5367e0&&(_0x5367e0['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x5367e0['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x5367e0),_0x5367e0['destroy']();},{'once':!0x0}));}['setTitle'](_0x50b948){this['headerTitle']=_0x50b948;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x3fd54c(this['locale'],_0x1fc203['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x278980=new _0x4c08f4(this['locale']),_0x29ccbb=[];for(let _0x25c2e8=0x0;_0x25c2e8<0x10;_0x25c2e8++){const _0x247729=this['_createSkeletonLoader']();_0x247729['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x29ccbb['push'](_0x247729);}return _0x278980['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0xda03a5=>!_0xda03a5)]},'children':_0x29ccbb}),_0x278980;}['_createErrorView'](){const _0x395ff2=new _0x4c08f4(this['locale']),_0x168215=new _0x391f37(this['locale']),t=this['locale']['t'];return _0x395ff2['delegate']('retryReview')['to'](this),_0x168215['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x168215['on']('execute',()=>{this['fire']('retryReview');}),_0x395ff2['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x17523a=>!_0x17523a),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0xdb4337=>'chunk'===_0xdb4337)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x4d905c=>'chunk'===_0x4d905c)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3fcf3f=>'general'!==_0x3fcf3f)]},'children':[{'text':_0x2cc49d(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x45e227=>'chunk'!==_0x45e227)]},'children':[{'text':_0x2cc49d(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x168215]}),_0x395ff2;}['_createCancelButtonView'](){const _0x5745d7=new _0x391f37(this['locale']);return _0x5745d7['set']({'label':_0x2cc49d(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x3e3130}),_0x5745d7['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2f7d32=>_0x2f7d32)]}}),_0x5745d7['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x5745d7;}['_createToggleDiffButtonView'](){const _0x3aa90a=new _0x391f37(this['locale']);_0x3aa90a['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x3aa90a['bind']('isEnabled')['to'](this,'isError',_0x5ed1a2=>!_0x5ed1a2),_0x3aa90a['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x28e534=>!_0x28e534)]}});const _0x2072a6=_0x2cc49d(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x2cb0ac=_0x2cc49d(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x3aa90a['bind']('isOn')['to'](this,'isToggleDiffOn',_0x14c790=>_0x14c790),_0x3aa90a['bind']('icon')['to'](this,'isToggleDiffOn',_0x319e9a=>_0x319e9a?_0x473ee0:_0xee556e),_0x3aa90a['bind']('label')['to'](this,'isToggleDiffOn',_0x5bfe63=>_0x5bfe63?_0x2072a6:_0x2cb0ac),_0x3aa90a['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x3aa90a;}['_createAcceptAllButtonView'](){const _0x60d4c6=new _0x391f37(this['locale']);return _0x60d4c6['set']({'label':_0x2cc49d(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x60d4c6['bind']('isEnabled')['to'](this,'isError',_0x9862e7=>!_0x9862e7),_0x60d4c6['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1bcc24=>!_0x1bcc24)]}}),_0x60d4c6['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x60d4c6;}['_createExitReviewButtonView'](){const _0xfd610=new _0x391f37(this['locale']);return _0xfd610['set']({'label':_0x2cc49d(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0xfd610['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2b2efe=>!_0x2b2efe)]}}),_0xfd610['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0xfd610;}['_createResultHeaderView'](){const _0x4d4e17=new _0x4c08f4(this['locale']),_0x1d633c=new _0x595646();return _0x1d633c['bind']('isVisible')['to'](this,'isResultReady',_0x2a3b26=>!_0x2a3b26),_0x4d4e17['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x1d633c,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x4d4e17;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x20410f,IconView as _0xc4273e,View as Bt,ViewCollection as _0x33f17d,ButtonView as _0x3678dc,clickOutsideHandler as _0xa9d537}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x174ce7}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x925534}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x154beb}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x20410f{['_formItemsCollection']=new _0x33f17d();['_customCheckView']=null;constructor(_0x32013a,_0x494937,_0x85948a){super(_0x32013a),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x494937['isParameterized']);const _0x5e6872=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x30a6ef=>_0x30a6ef),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x3dc336=>_0x3dc336)],'style':{'--ck-ai-check-list-item-index':_0x85948a}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x494937['title']}]},_0x5e6872]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x494937['description']}]}]}]},..._0x494937['isParameterized']?[this['_createParameterizedView'](_0x494937)]:[],...'custom'===_0x494937['id']?[this['_createCustomView'](_0x494937)]:[]]}),this['on']('click',()=>{_0x494937['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x494937['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0xa9d537({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x4512cf=>{_0x4512cf['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1dcfcc=new _0xc4273e();return _0x1dcfcc['content']=_0x174ce7,_0x1dcfcc['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x1dcfcc;}['_createParameterizedView'](_0x223fdc){const _0x4d7cf4=new Bt(),_0x12bbb8=this['_createFormView'](_0x223fdc);return _0x4d7cf4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0xc51fe7=>!_0xc51fe7)]},'children':[_0x12bbb8]}),_0x4d7cf4;}['_createFormView'](_0x3e59da){const _0x297d14=new Bt(),_0x21a1a7=Array['isArray'](_0x3e59da['options'])?_0x3e59da['options']:[],_0x46d670=new _0x3678dc(this['locale']),t=this['locale']['t'];_0x46d670['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x46d670['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x229dbd=>{_0x229dbd['stopPropagation']();})}}),_0x46d670['on']('execute',()=>{const _0x5d2c2d=[],_0x41dc47={};this['_formItemsCollection']['forEach'](_0xd7d5ee=>{_0x5d2c2d['push'](_0xd7d5ee['value']),_0x3e59da['useArgs']&&_0x3e59da['options']&&(_0x41dc47[_0xd7d5ee['argsKey']]=_0xd7d5ee['value']);}),this['fire']('runReviewCheck',{'id':_0x3e59da['id'],'params':_0x5d2c2d['length']?_0x5d2c2d:void 0x0,'args':Object['keys'](_0x41dc47)['length']?_0x41dc47:void 0x0});});const _0x4a362a=_0x21a1a7['length'];return _0x21a1a7['forEach']((_0x26b09f,_0x4d3ed8)=>{const _0x4e399b=_0x4d3ed8===_0x4a362a-0x1;this['_formItemsCollection']['add'](new _0x925534(this['locale'],_0x26b09f,_0x4e399b?_0x46d670:null));}),_0x297d14['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x297d14;}['_createCustomView'](_0x32593e){return this['_customCheckView']=new _0x154beb(this['locale'],_0x32593e),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2a58a6=>!_0x2a58a6)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
23
+ import{ListItemView as _0x205083,IconView as _0x2a8f2e,View as _0x532d8a,ViewCollection as _0x55804e,ButtonView as _0x3b491a,clickOutsideHandler as _0x27da22}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x5413c6}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x461e89}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x43a24b}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x205083{['_formItemsCollection']=new _0x55804e();['_customCheckView']=null;constructor(_0x6c536e,_0x34be78,_0x3682ef){super(_0x6c536e),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x34be78['isParameterized']);const _0x6d76ba=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x53cdb0=>_0x53cdb0),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x30fc9f=>_0x30fc9f)],'style':{'--ck-ai-check-list-item-index':_0x3682ef}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x34be78['title']}]},_0x6d76ba]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x34be78['description']}]}]}]},..._0x34be78['isParameterized']?[this['_createParameterizedView'](_0x34be78)]:[],...'custom'===_0x34be78['id']?[this['_createCustomView'](_0x34be78)]:[]]}),this['on']('click',()=>{_0x34be78['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x34be78['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x27da22({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x5d5b6b=>{_0x5d5b6b['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x43d0e1=new _0x2a8f2e();return _0x43d0e1['content']=_0x5413c6,_0x43d0e1['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x43d0e1;}['_createParameterizedView'](_0x1ea136){const _0x3db123=new _0x532d8a(),_0x50a17d=this['_createFormView'](_0x1ea136);return _0x3db123['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x31bcd7=>!_0x31bcd7)]},'children':[_0x50a17d]}),_0x3db123;}['_createFormView'](_0x245129){const _0x5d6cf0=new _0x532d8a(),_0x2c0c3e=Array['isArray'](_0x245129['options'])?_0x245129['options']:[],_0x4355ac=new _0x3b491a(this['locale']),t=this['locale']['t'];_0x4355ac['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x4355ac['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x290d91=>{_0x290d91['stopPropagation']();})}}),_0x4355ac['on']('execute',()=>{const _0x15183a=[],_0x88cc26={};this['_formItemsCollection']['forEach'](_0x2e1b98=>{_0x15183a['push'](_0x2e1b98['value']),_0x245129['useArgs']&&_0x245129['options']&&(_0x88cc26[_0x2e1b98['argsKey']]=_0x2e1b98['value']);}),this['fire']('runReviewCheck',{'id':_0x245129['id'],'params':_0x15183a['length']?_0x15183a:void 0x0,'args':Object['keys'](_0x88cc26)['length']?_0x88cc26:void 0x0});});const _0x215eeb=_0x2c0c3e['length'];return _0x2c0c3e['forEach']((_0x4711e2,_0x444386)=>{const _0x1c7519=_0x444386===_0x215eeb-0x1;this['_formItemsCollection']['add'](new _0x461e89(this['locale'],_0x4711e2,_0x1c7519?_0x4355ac:null));}),_0x5d6cf0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x5d6cf0;}['_createCustomView'](_0x36dda0){return this['_customCheckView']=new _0x43a24b(this['locale'],_0x36dda0),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x5b920a=>!_0x5b920a)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ac669=_0x3397;(function(_0x373fd4,_0x55f56f){const _0x412cd2=_0x3397,_0x11b1e5=_0x373fd4();while(!![]){try{const _0x877ad6=-parseInt(_0x412cd2(0xf7))/0x1*(parseInt(_0x412cd2(0xf4))/0x2)+parseInt(_0x412cd2(0xec))/0x3*(parseInt(_0x412cd2(0xe9))/0x4)+parseInt(_0x412cd2(0xf9))/0x5+-parseInt(_0x412cd2(0xfd))/0x6+-parseInt(_0x412cd2(0xe1))/0x7+parseInt(_0x412cd2(0xfb))/0x8*(-parseInt(_0x412cd2(0xe3))/0x9)+parseInt(_0x412cd2(0xe4))/0xa;if(_0x877ad6===_0x55f56f)break;else _0x11b1e5['push'](_0x11b1e5['shift']());}catch(_0x15135a){_0x11b1e5['push'](_0x11b1e5['shift']());}}}(_0x1098,0x6b830));function _0x3397(_0x13c45b,_0x3de613){const _0x109853=_0x1098();return _0x3397=function(_0x3397d2,_0x321b3e){_0x3397d2=_0x3397d2-0xdc;let _0x5a5391=_0x109853[_0x3397d2];return _0x5a5391;},_0x3397(_0x13c45b,_0x3de613);}function _0x1098(){const _0x1faff6=['ck-ai-review-mode__review-completed-header-buttons','34KWxTNS','ck-ai-review-mode__review-completed','738690ClvHkR','ck-hidden','8sxnYEU','_createFinishReviewButtonView','2602212oZYdqL','_finishReviewButtonView','fire','completed','locale','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','span','viewType','ck-ai-review-mode__review-completed-content-text','resultsHeader','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','4631879oJtNGJ','ck-ai-review-mode__review-completed-content','3950253MTlQPY','14995180GOiJJq','div','ck-ai-review-mode__review-completed-header-title','AI_REVIEW_MODE_COMPLETED_TEXT','isVisible','381624aNVDpD','setTemplate','ck-ai-button-primary','12gPVUZe','ck-ai-review-mode__review-completed-content-icon','ck-ai-review-mode__review-completed-header','_createResultHeaderView','finishReview','bindTemplate','execute','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','3188gpdqnH','set'];_0x1098=function(){return _0x1faff6;};return _0x1098();}import{ListItemView as _0x1bceda,View as _0x83c18,ButtonView as _0x231b6f}from'ckeditor5/src/ui.js';import{getTranslation as _0x56683c}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x1bceda{[_0x1ac669(0xdf)];[_0x1ac669(0xfe)];constructor(_0x23b31b){const _0x206f29=_0x1ac669;super(_0x23b31b),this[_0x206f29(0xfe)]=this[_0x206f29(0xfc)](),this[_0x206f29(0xdf)]=this[_0x206f29(0xef)](),this[_0x206f29(0xf5)](_0x206f29(0xdd),_0x206f29(0x100));const _0x1e6b63=this[_0x206f29(0xf1)];this[_0x206f29(0xea)]({'tag':_0x206f29(0xe5),'attributes':{'class':[_0x206f29(0xf8),_0x1e6b63['if'](_0x206f29(0xe8),_0x206f29(0xfa),_0x3d93bc=>!_0x3d93bc)]},'children':[this[_0x206f29(0xdf)],{'tag':_0x206f29(0xe5),'attributes':{'class':[_0x206f29(0xe2)]},'children':[{'tag':_0x206f29(0xdc),'attributes':{'class':[_0x206f29(0xed)]},'children':[{'text':'🎉'}]},{'tag':'p','attributes':{'class':[_0x206f29(0xde)]},'children':[{'text':_0x1e6b63['to'](_0x206f29(0xdd),_0x5dd48d=>_0x56683c(_0x23b31b,_0x206f29(0x100)===_0x5dd48d?_0x206f29(0xe7):_0x206f29(0x102)))}]}]}]});}[_0x1ac669(0xfc)](){const _0x95146e=_0x1ac669,_0x7cfe5c=new _0x231b6f(this[_0x95146e(0x101)]);return _0x7cfe5c[_0x95146e(0xf5)]({'label':_0x56683c(this[_0x95146e(0x101)],_0x95146e(0xf3)),'withText':!0x0,'class':_0x95146e(0xeb)}),_0x7cfe5c['on'](_0x95146e(0xf2),()=>{const _0x835ffe=_0x95146e;this[_0x835ffe(0xff)](_0x835ffe(0xf0));}),_0x7cfe5c;}[_0x1ac669(0xef)](){const _0xbf28d8=_0x1ac669,_0x5bed3d=new _0x83c18(this[_0xbf28d8(0x101)]);return _0x5bed3d[_0xbf28d8(0xea)]({'tag':_0xbf28d8(0xe5),'attributes':{'class':[_0xbf28d8(0xee)]},'children':[{'tag':_0xbf28d8(0xdc),'attributes':{'class':[_0xbf28d8(0xe6)]},'children':[{'text':_0x56683c(this[_0xbf28d8(0x101)],_0xbf28d8(0xe0))}]},{'tag':_0xbf28d8(0xe5),'attributes':{'class':[_0xbf28d8(0xf6)]},'children':[this[_0xbf28d8(0xfe)]]}]}),_0x5bed3d;}}
23
+ const _0x4fa957=_0x1b0e;(function(_0x338780,_0x11b4bf){const _0xc146e8=_0x1b0e,_0x50f38d=_0x338780();while(!![]){try{const _0x490807=-parseInt(_0xc146e8(0x1a6))/0x1+-parseInt(_0xc146e8(0x19a))/0x2*(parseInt(_0xc146e8(0x19d))/0x3)+parseInt(_0xc146e8(0x1a0))/0x4*(parseInt(_0xc146e8(0x199))/0x5)+-parseInt(_0xc146e8(0x19b))/0x6*(parseInt(_0xc146e8(0x1ac))/0x7)+-parseInt(_0xc146e8(0x1b9))/0x8*(parseInt(_0xc146e8(0x1a5))/0x9)+parseInt(_0xc146e8(0x1a3))/0xa+parseInt(_0xc146e8(0x1b4))/0xb*(parseInt(_0xc146e8(0x19e))/0xc);if(_0x490807===_0x11b4bf)break;else _0x50f38d['push'](_0x50f38d['shift']());}catch(_0x3e33c2){_0x50f38d['push'](_0x50f38d['shift']());}}}(_0xc86f,0x2f445));function _0xc86f(){const _0x478894=['setTemplate','173090yStzWJ','ck-ai-review-mode__review-completed-content-text','9IYdaky','219634xRKnwU','set','ck-ai-review-mode__review-completed','viewType','_finishReviewButtonView','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','7lpWBYs','_createResultHeaderView','ck-ai-review-mode__review-completed-content-icon','ck-hidden','ck-ai-review-mode__review-completed-header','ck-ai-review-mode__review-completed-header-buttons','ck-ai-review-mode__review-completed-content','span','785202xojKBK','ck-ai-button-primary','div','resultsHeader','locale','74920eYUgQG','_createFinishReviewButtonView','finishReview','execute','fire','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','AI_REVIEW_MODE_COMPLETED_TEXT','ck-ai-review-mode__review-completed-header-title','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','846760gbcgHf','8wnHuhZ','80202VCGKYh','completed','187773lUIUeM','84SwBjRm','isVisible','4STNhZG','bindTemplate'];_0xc86f=function(){return _0x478894;};return _0xc86f();}import{ListItemView as _0x4d72b8,View as _0xfd2c17,ButtonView as _0x3af142}from'ckeditor5/src/ui.js';function _0x1b0e(_0x4527ff,_0x40dcc8){const _0xc86f8a=_0xc86f();return _0x1b0e=function(_0x1b0e34,_0x3f68ea){_0x1b0e34=_0x1b0e34-0x198;let _0x4c28da=_0xc86f8a[_0x1b0e34];return _0x4c28da;},_0x1b0e(_0x4527ff,_0x40dcc8);}import{getTranslation as _0x3a740e}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x4d72b8{[_0x4fa957(0x1b7)];[_0x4fa957(0x1aa)];constructor(_0x3f4dd4){const _0x31fc2a=_0x4fa957;super(_0x3f4dd4),this[_0x31fc2a(0x1aa)]=this[_0x31fc2a(0x1ba)](),this[_0x31fc2a(0x1b7)]=this[_0x31fc2a(0x1ad)](),this[_0x31fc2a(0x1a7)](_0x31fc2a(0x1a9),_0x31fc2a(0x19c));const _0x577d8a=this[_0x31fc2a(0x1a1)];this[_0x31fc2a(0x1a2)]({'tag':_0x31fc2a(0x1b6),'attributes':{'class':[_0x31fc2a(0x1a8),_0x577d8a['if'](_0x31fc2a(0x19f),_0x31fc2a(0x1af),_0x485670=>!_0x485670)]},'children':[this[_0x31fc2a(0x1b7)],{'tag':_0x31fc2a(0x1b6),'attributes':{'class':[_0x31fc2a(0x1b2)]},'children':[{'tag':_0x31fc2a(0x1b3),'attributes':{'class':[_0x31fc2a(0x1ae)]},'children':[{'text':_0x577d8a['to'](_0x31fc2a(0x1a9),_0x130631=>_0x31fc2a(0x19c)===_0x130631?'🎉':'👍')}]},{'tag':'p','attributes':{'class':[_0x31fc2a(0x1a4)]},'children':[{'text':_0x577d8a['to'](_0x31fc2a(0x1a9),_0x26ac4b=>_0x3a740e(_0x3f4dd4,_0x31fc2a(0x19c)===_0x26ac4b?_0x31fc2a(0x1bf):_0x31fc2a(0x1be)))}]}]}]});}[_0x4fa957(0x1ba)](){const _0x3bee24=_0x4fa957,_0x45a754=new _0x3af142(this[_0x3bee24(0x1b8)]);return _0x45a754[_0x3bee24(0x1a7)]({'label':_0x3a740e(this[_0x3bee24(0x1b8)],_0x3bee24(0x1ab)),'withText':!0x0,'class':_0x3bee24(0x1b5)}),_0x45a754['on'](_0x3bee24(0x1bc),()=>{const _0x459927=_0x3bee24;this[_0x459927(0x1bd)](_0x459927(0x1bb));}),_0x45a754;}[_0x4fa957(0x1ad)](){const _0x579902=_0x4fa957,_0x2908d5=new _0xfd2c17(this[_0x579902(0x1b8)]);return _0x2908d5[_0x579902(0x1a2)]({'tag':_0x579902(0x1b6),'attributes':{'class':[_0x579902(0x1b0)]},'children':[{'tag':_0x579902(0x1b3),'attributes':{'class':[_0x579902(0x1c0)]},'children':[{'text':_0x3a740e(this[_0x579902(0x1b8)],_0x579902(0x198))}]},{'tag':_0x579902(0x1b6),'attributes':{'class':[_0x579902(0x1b1)]},'children':[this[_0x579902(0x1aa)]]}]}),_0x2908d5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3aa5ab=_0x1aa3;(function(_0x5f5cc7,_0x5d81d8){var _0x6c5540=_0x1aa3,_0x337f89=_0x5f5cc7();while(!![]){try{var _0x55bb43=-parseInt(_0x6c5540(0xd4))/0x1*(-parseInt(_0x6c5540(0xb3))/0x2)+-parseInt(_0x6c5540(0xad))/0x3*(-parseInt(_0x6c5540(0xcd))/0x4)+-parseInt(_0x6c5540(0xb1))/0x5*(parseInt(_0x6c5540(0xc6))/0x6)+-parseInt(_0x6c5540(0xb5))/0x7+-parseInt(_0x6c5540(0xd5))/0x8*(-parseInt(_0x6c5540(0xbe))/0x9)+-parseInt(_0x6c5540(0xc7))/0xa+parseInt(_0x6c5540(0xca))/0xb;if(_0x55bb43===_0x5d81d8)break;else _0x337f89['push'](_0x337f89['shift']());}catch(_0x3cc4a2){_0x337f89['push'](_0x337f89['shift']());}}}(_0x43b1,0x75374));import{View as _0x1cdb05,FormHeaderView as _0x778e86}from'ckeditor5/src/ui.js';import{IconAIReview as _0xb7f91}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x5028ce}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x1b1423}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x1157c7}from'./aireviewmodereviewcheckresultsview.js';function _0x43b1(){var _0x1f5a84=['ck-ai-review-mode','isLoading','showChunkErrorView','isVisible','showReviewCheckListView','resetAllParameterizedChecks','36itHQwU','finishReview','showGeneralErrorView','isResultReady','set','ck-rounded-corners','ck-reset_all','AI_REVIEW_MODE','66168toJNpo','4553800cewEXJ','showChunkErrorMessage','resetErrorState','9879771kxEhWc','completed','showNoChangesView','44cOHBBL','div','showReviewCheckResultsView','setTemplate','viewType','showReviewCompletedView','reviewCompletedView','49HYRVJn','1630064oZSMuf','clearResults','showActionsWhenResultIsReady','ltr','showGeneralErrorMessage','reviewModeHeader','addCheckRunResult','124305sZQBkF','unmodified','hideActionsWhenResultIsReady','addResult','215scfeQJ','reviewCheckListView','3682KmNHIg','delegate','5946409vsiVKD','reviewCheckResultsView','ck-ai-header\x20ck-ai-header_review-mode'];_0x43b1=function(){return _0x1f5a84;};return _0x43b1();}function _0x1aa3(_0x59396c,_0x3784){var _0x43b1fb=_0x43b1();return _0x1aa3=function(_0x1aa30b,_0x3e63e1){_0x1aa30b=_0x1aa30b-0xaa;var _0x264e58=_0x43b1fb[_0x1aa30b];return _0x264e58;},_0x1aa3(_0x59396c,_0x3784);}import{AIReviewModeReviewCompletedView as _0x1b82cc}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x35d0ad}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x1cdb05{[_0x3aa5ab(0xab)];[_0x3aa5ab(0xb2)];[_0x3aa5ab(0xb6)];[_0x3aa5ab(0xd3)];constructor(_0x1614b1){var _0x63c63e=_0x3aa5ab;super(_0x1614b1),this[_0x63c63e(0xab)]=new _0x778e86(_0x1614b1,{'label':_0x35d0ad(_0x1614b1,_0x63c63e(0xc5)),'icon':_0xb7f91,'class':_0x63c63e(0xb7)}),this[_0x63c63e(0xb2)]=new _0x5028ce(_0x1614b1),this[_0x63c63e(0xb2)][_0x63c63e(0xb4)](..._0x1b1423)['to'](this),this[_0x63c63e(0xb6)]=new _0x1157c7(_0x1614b1),this[_0x63c63e(0xb6)][_0x63c63e(0xb4)](..._0x1b1423)['to'](this),this[_0x63c63e(0xd3)]=new _0x1b82cc(_0x1614b1),this[_0x63c63e(0xd3)][_0x63c63e(0xb4)](_0x63c63e(0xbf))['to'](this),this[_0x63c63e(0xb2)][_0x63c63e(0xc2)](_0x63c63e(0xbb),!0x1),this[_0x63c63e(0xb6)][_0x63c63e(0xc2)](_0x63c63e(0xbb),!0x1),this[_0x63c63e(0xb6)][_0x63c63e(0xc2)](_0x63c63e(0xb9),!0x1),this[_0x63c63e(0xb6)][_0x63c63e(0xc2)](_0x63c63e(0xc1),!0x1),this[_0x63c63e(0xd3)][_0x63c63e(0xc2)](_0x63c63e(0xbb),!0x1),this[_0x63c63e(0xd0)]({'tag':_0x63c63e(0xce),'attributes':{'class':['ck',_0x63c63e(0xc4),_0x63c63e(0xb8),_0x63c63e(0xc3)],'dir':_0x63c63e(0xd8)},'children':[this[_0x63c63e(0xab)],this[_0x63c63e(0xb2)],this[_0x63c63e(0xb6)],this[_0x63c63e(0xd3)]]});}[_0x3aa5ab(0xbc)](){var _0x580c00=_0x3aa5ab;this[_0x580c00(0xb2)][_0x580c00(0xbd)](),this[_0x580c00(0xb2)][_0x580c00(0xc2)](_0x580c00(0xbb),!0x0),this[_0x580c00(0xb6)][_0x580c00(0xc2)](_0x580c00(0xbb),!0x1),this[_0x580c00(0xd3)][_0x580c00(0xc2)](_0x580c00(0xbb),!0x1);}[_0x3aa5ab(0xcf)](){var _0x4ae97e=_0x3aa5ab;this[_0x4ae97e(0xaf)](),this[_0x4ae97e(0xb6)][_0x4ae97e(0xc9)](),this[_0x4ae97e(0xb2)][_0x4ae97e(0xc2)](_0x4ae97e(0xbb),!0x1),this[_0x4ae97e(0xb6)][_0x4ae97e(0xc2)](_0x4ae97e(0xbb),!0x0),this[_0x4ae97e(0xb6)][_0x4ae97e(0xd6)](),this[_0x4ae97e(0xb6)][_0x4ae97e(0xc2)](_0x4ae97e(0xb9),!0x0);}[_0x3aa5ab(0xac)](_0x239432){var _0x4ecd41=_0x3aa5ab;this[_0x4ecd41(0xb6)][_0x4ecd41(0xb0)](_0x239432),this[_0x4ecd41(0xb6)][_0x4ecd41(0xc2)](_0x4ecd41(0xb9),!0x1);}[_0x3aa5ab(0xd2)](){var _0x9c0f4e=_0x3aa5ab;this[_0x9c0f4e(0xb2)][_0x9c0f4e(0xc2)](_0x9c0f4e(0xbb),!0x1),this[_0x9c0f4e(0xb6)][_0x9c0f4e(0xc2)](_0x9c0f4e(0xbb),!0x1),this[_0x9c0f4e(0xd3)][_0x9c0f4e(0xc2)](_0x9c0f4e(0xd1),_0x9c0f4e(0xcb)),this[_0x9c0f4e(0xd3)][_0x9c0f4e(0xc2)](_0x9c0f4e(0xbb),!0x0);}[_0x3aa5ab(0xd7)](){var _0x2299bb=_0x3aa5ab;this[_0x2299bb(0xb6)][_0x2299bb(0xc1)]=!0x0;}[_0x3aa5ab(0xcc)](){var _0x3d6747=_0x3aa5ab;this[_0x3d6747(0xb2)][_0x3d6747(0xc2)](_0x3d6747(0xbb),!0x1),this[_0x3d6747(0xb6)][_0x3d6747(0xc2)](_0x3d6747(0xbb),!0x1),this[_0x3d6747(0xd3)][_0x3d6747(0xc2)](_0x3d6747(0xd1),_0x3d6747(0xae)),this[_0x3d6747(0xd3)][_0x3d6747(0xc2)](_0x3d6747(0xbb),!0x0);}[_0x3aa5ab(0xaf)](){var _0xb75784=_0x3aa5ab;this[_0xb75784(0xb6)][_0xb75784(0xc1)]=!0x1;}[_0x3aa5ab(0xc0)](){var _0x1f9477=_0x3aa5ab;this[_0x1f9477(0xb6)][_0x1f9477(0xc2)](_0x1f9477(0xb9),!0x1),this[_0x1f9477(0xd7)](),this[_0x1f9477(0xb6)][_0x1f9477(0xaa)]();}[_0x3aa5ab(0xba)](){var _0x52137e=_0x3aa5ab;this[_0x52137e(0xb6)][_0x52137e(0xc2)](_0x52137e(0xb9),!0x1),this[_0x52137e(0xd7)](),this[_0x52137e(0xb6)][_0x52137e(0xc8)]();}}
23
+ var _0x539b9a=_0x95b5;(function(_0x3cd68f,_0x365c73){var _0x13e607=_0x95b5,_0x4a27de=_0x3cd68f();while(!![]){try{var _0x4b07c3=parseInt(_0x13e607(0x19c))/0x1*(-parseInt(_0x13e607(0x1a4))/0x2)+-parseInt(_0x13e607(0x181))/0x3+parseInt(_0x13e607(0x1a5))/0x4+parseInt(_0x13e607(0x192))/0x5*(parseInt(_0x13e607(0x188))/0x6)+-parseInt(_0x13e607(0x197))/0x7*(-parseInt(_0x13e607(0x18a))/0x8)+parseInt(_0x13e607(0x185))/0x9+parseInt(_0x13e607(0x19b))/0xa*(-parseInt(_0x13e607(0x196))/0xb);if(_0x4b07c3===_0x365c73)break;else _0x4a27de['push'](_0x4a27de['shift']());}catch(_0x2e144b){_0x4a27de['push'](_0x4a27de['shift']());}}}(_0x544a,0x74319));import{View as _0x288801,FormHeaderView as _0x1daa0b}from'ckeditor5/src/ui.js';import{IconAIReview as _0x34fe4b}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x559213}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x2b1c63}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x2cc76d}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x498cff}from'./aireviewmodereviewcompletedview.js';function _0x544a(){var _0xb48fa4=['964745ypXmEH','isResultReady','ltr','showGeneralErrorView','4375822jomZrL','4910213bZAbiO','isVisible','resetErrorState','ck-rounded-corners','10rtJMzR','646799sFZsty','reviewCompletedView','showChunkErrorMessage','div','showGeneralErrorMessage','showReviewCheckResultsView','addResult','ck-ai-review-mode','2AwwtYx','835500HoiQVI','reviewCheckListView','showNoChangesView','showReviewCheckListView','showChunkErrorView','resetAllParameterizedChecks','completed','reviewCheckResultsView','hideActionsWhenResultIsReady','ck-reset_all','delegate','1040094RbUoUr','isLoading','clearResults','showReviewCompletedView','3402423LuqmRN','set','AI_REVIEW_MODE','18SUsIiq','ck-ai-header\x20ck-ai-header_review-mode','8UiQgYu','finishReview','reviewModeHeader','addCheckRunResult','unmodified','viewType','showActionsWhenResultIsReady','setTemplate'];_0x544a=function(){return _0xb48fa4;};return _0x544a();}import{getTranslation as _0x333192}from'../../aicore/utils/common-translations.js';function _0x95b5(_0x387f85,_0x476628){var _0x544ad5=_0x544a();return _0x95b5=function(_0x95b56e,_0xaf3a5e){_0x95b56e=_0x95b56e-0x17e;var _0x532509=_0x544ad5[_0x95b56e];return _0x532509;},_0x95b5(_0x387f85,_0x476628);}export class AIReviewModeView extends _0x288801{[_0x539b9a(0x18c)];[_0x539b9a(0x1a6)];[_0x539b9a(0x1ac)];[_0x539b9a(0x19d)];constructor(_0xd0b650){var _0x1c6d99=_0x539b9a;super(_0xd0b650),this[_0x1c6d99(0x18c)]=new _0x1daa0b(_0xd0b650,{'label':_0x333192(_0xd0b650,_0x1c6d99(0x187)),'icon':_0x34fe4b,'class':_0x1c6d99(0x189)}),this[_0x1c6d99(0x1a6)]=new _0x559213(_0xd0b650),this[_0x1c6d99(0x1a6)][_0x1c6d99(0x180)](..._0x2b1c63)['to'](this),this[_0x1c6d99(0x1ac)]=new _0x2cc76d(_0xd0b650),this[_0x1c6d99(0x1ac)][_0x1c6d99(0x180)](..._0x2b1c63)['to'](this),this[_0x1c6d99(0x19d)]=new _0x498cff(_0xd0b650),this[_0x1c6d99(0x19d)][_0x1c6d99(0x180)](_0x1c6d99(0x18b))['to'](this),this[_0x1c6d99(0x1a6)][_0x1c6d99(0x186)](_0x1c6d99(0x198),!0x1),this[_0x1c6d99(0x1ac)][_0x1c6d99(0x186)](_0x1c6d99(0x198),!0x1),this[_0x1c6d99(0x1ac)][_0x1c6d99(0x186)](_0x1c6d99(0x182),!0x1),this[_0x1c6d99(0x1ac)][_0x1c6d99(0x186)](_0x1c6d99(0x193),!0x1),this[_0x1c6d99(0x19d)][_0x1c6d99(0x186)](_0x1c6d99(0x198),!0x1),this[_0x1c6d99(0x191)]({'tag':_0x1c6d99(0x19f),'attributes':{'class':['ck',_0x1c6d99(0x17f),_0x1c6d99(0x1a3),_0x1c6d99(0x19a)],'dir':_0x1c6d99(0x194)},'children':[this[_0x1c6d99(0x18c)],this[_0x1c6d99(0x1a6)],this[_0x1c6d99(0x1ac)],this[_0x1c6d99(0x19d)]]});}[_0x539b9a(0x1a8)](){var _0x4804d0=_0x539b9a;this[_0x4804d0(0x1a6)][_0x4804d0(0x1aa)](),this[_0x4804d0(0x1a6)][_0x4804d0(0x186)](_0x4804d0(0x198),!0x0),this[_0x4804d0(0x1ac)][_0x4804d0(0x186)](_0x4804d0(0x198),!0x1),this[_0x4804d0(0x19d)][_0x4804d0(0x186)](_0x4804d0(0x198),!0x1);}[_0x539b9a(0x1a1)](){var _0x565df0=_0x539b9a;this[_0x565df0(0x17e)](),this[_0x565df0(0x1ac)][_0x565df0(0x199)](),this[_0x565df0(0x1a6)][_0x565df0(0x186)](_0x565df0(0x198),!0x1),this[_0x565df0(0x1ac)][_0x565df0(0x186)](_0x565df0(0x198),!0x0),this[_0x565df0(0x1ac)][_0x565df0(0x183)](),this[_0x565df0(0x1ac)][_0x565df0(0x186)](_0x565df0(0x182),!0x0);}[_0x539b9a(0x18d)](_0x485fda){var _0x522d40=_0x539b9a;this[_0x522d40(0x1ac)][_0x522d40(0x1a2)](_0x485fda),this[_0x522d40(0x1ac)][_0x522d40(0x186)](_0x522d40(0x182),!0x1);}[_0x539b9a(0x184)](){var _0x5d0bfb=_0x539b9a;this[_0x5d0bfb(0x1a6)][_0x5d0bfb(0x186)](_0x5d0bfb(0x198),!0x1),this[_0x5d0bfb(0x1ac)][_0x5d0bfb(0x186)](_0x5d0bfb(0x198),!0x1),this[_0x5d0bfb(0x19d)][_0x5d0bfb(0x186)](_0x5d0bfb(0x18f),_0x5d0bfb(0x1ab)),this[_0x5d0bfb(0x19d)][_0x5d0bfb(0x186)](_0x5d0bfb(0x198),!0x0);}[_0x539b9a(0x190)](){var _0xacaaf3=_0x539b9a;this[_0xacaaf3(0x1ac)][_0xacaaf3(0x193)]=!0x0;}[_0x539b9a(0x1a7)](){var _0x27bad2=_0x539b9a;this[_0x27bad2(0x1a6)][_0x27bad2(0x186)](_0x27bad2(0x198),!0x1),this[_0x27bad2(0x1ac)][_0x27bad2(0x186)](_0x27bad2(0x198),!0x1),this[_0x27bad2(0x19d)][_0x27bad2(0x186)](_0x27bad2(0x18f),_0x27bad2(0x18e)),this[_0x27bad2(0x19d)][_0x27bad2(0x186)](_0x27bad2(0x198),!0x0);}[_0x539b9a(0x17e)](){var _0x35db27=_0x539b9a;this[_0x35db27(0x1ac)][_0x35db27(0x193)]=!0x1;}[_0x539b9a(0x195)](){var _0x1c8772=_0x539b9a;this[_0x1c8772(0x1ac)][_0x1c8772(0x186)](_0x1c8772(0x182),!0x1),this[_0x1c8772(0x190)](),this[_0x1c8772(0x1ac)][_0x1c8772(0x1a0)]();}[_0x539b9a(0x1a9)](){var _0x1eb403=_0x539b9a;this[_0x1eb403(0x1ac)][_0x1eb403(0x186)](_0x1eb403(0x182),!0x1),this[_0x1eb403(0x190)](),this[_0x1eb403(0x1ac)][_0x1eb403(0x19e)]();}}