@ckeditor/ckeditor5-ai 47.0.0-alpha.8 → 47.0.0-alpha.9

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 (293) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.d.ts +197 -1
  181. package/src/aichat/model/aichatcontext.js +1 -1
  182. package/src/aichat/model/aichatconversation.js +1 -1
  183. package/src/aichat/model/aichatinteraction.js +1 -1
  184. package/src/aichat/model/aichatmodels.d.ts +30 -0
  185. package/src/aichat/model/aichatmodels.js +1 -1
  186. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  187. package/src/aichat/ui/aichatfeedview.js +1 -1
  188. package/src/aichat/ui/aichatheaderview.js +1 -1
  189. package/src/aichat/ui/aichatview.js +1 -1
  190. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  211. package/src/aichat/utils/eventnames.js +1 -1
  212. package/src/aichat/utils/promisequeue.js +1 -1
  213. package/src/aichat/utils/scrollmanager.js +1 -1
  214. package/src/aichathistory/aichathistory.js +1 -1
  215. package/src/aichathistory/aichathistorycontroller.js +1 -1
  216. package/src/aichathistory/aichathistoryui.js +1 -1
  217. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  218. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  219. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aireply.js +1 -1
  229. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  230. package/src/aicore/pipeline/airesponseparser.js +2 -2
  231. package/src/aicore/ui/aidisclaimerview.js +1 -1
  232. package/src/aicore/ui/aiskeleton.js +1 -1
  233. package/src/aicore/ui/aispinner.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  239. package/src/aicore/utils/common-translations.js +1 -1
  240. package/src/aicore/utils/createresizebutton.js +1 -1
  241. package/src/aicore/utils/documentposition.js +1 -1
  242. package/src/aicore/utils/documentrange.js +1 -1
  243. package/src/aicore/utils/eventnames.js +1 -1
  244. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  245. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  246. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  247. package/src/aicore/utils/htmlparser.js +1 -1
  248. package/src/aicore/utils/htmlstreamer.js +1 -1
  249. package/src/aieditorintegration/aieditorintegration.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  251. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  252. package/src/aiquickactions/aiquickactions.d.ts +1 -0
  253. package/src/aiquickactions/aiquickactions.js +1 -1
  254. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  255. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  256. package/src/aiquickactions/aiquickactionsui.d.ts +49 -0
  257. package/src/aiquickactions/aiquickactionsui.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  259. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  260. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  261. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  262. package/src/aireviewmode/aireviewmode.js +1 -1
  263. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  264. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  265. package/src/aireviewmode/aireviewmodeui.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  268. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  272. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  273. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  274. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  275. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  286. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  287. package/src/aitabs/aitabs.d.ts +14 -0
  288. package/src/aitabs/aitabs.js +1 -1
  289. package/src/aitabs/aitabsmainview.js +1 -1
  290. package/src/aitabs/tabs/aitabsview.js +1 -1
  291. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  292. package/src/aitabs/tabs/tabpanelview.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x435f(_0x1a2a11,_0x1cd9de){const _0x5af16f=_0x5af1();return _0x435f=function(_0x435f6d,_0x170d62){_0x435f6d=_0x435f6d-0x104;let _0x2e3a7b=_0x5af16f[_0x435f6d];return _0x2e3a7b;},_0x435f(_0x1a2a11,_0x1cd9de);}const _0x276382=_0x435f;function _0x5af1(){const _0x114b13=['loading','_sourceCheck','size','forEach','12774280dIILER','_reviewParams','error-general','aborted','isChangeActive','message','_reviewArgs','callId','_currentError','processedResultsCount','_aiConnector','getStream','set','status','908014SiBwoT','_addReviewCheckResult','abortController','filter','reviewName','fire','_createApiRequest','active','clear','_checkIfFinished','initialized','getActiveChanges','error-chunk','finished','_documentData','dataId','1417564PMjMEO','markChangeAsAccepted','ready','version','6147924gZmbDA','unmodified','restart','documentData','isActivated','3RpQwWj','_results','markAllChangesAsAccepted','data','start','Not\x20implemented.','change:status','reviewCheckResultReady','90WWOqac','getAcceptedChangesCount','push','479381sVeMzR','get','reviewCheckRunUpdated','getContent','reviewCheckResultDeactivated','length','ai-request-aborted','reviewCheckResultAccepted','deactivateChange','error','11BpVouV','forceReadyState','9rMuFnL','reviewCheckResultActivated','_changes','rejected','change:isActivated','elements','textDelta','_activeRequest','addResultChanges','2349820lSRWOr','abort','markChangeAsRejected','4400888fcsRfZ','activateChange','accepted','reviewCheckResultRejected','event','includes','find','operation','title','reviewCheckResultAdded','getTotalChangesCount','3ztePCk','review-metadata'];_0x5af1=function(){return _0x114b13;};return _0x5af1();}(function(_0x1abad9,_0x2423e0){const _0x44e01e=_0x435f,_0x2c38b4=_0x1abad9();while(!![]){try{const _0x339725=parseInt(_0x44e01e(0x12c))/0x1*(parseInt(_0x44e01e(0x113))/0x2)+-parseInt(_0x44e01e(0x15a))/0x3*(-parseInt(_0x44e01e(0x123))/0x4)+-parseInt(_0x44e01e(0x14c))/0x5+parseInt(_0x44e01e(0x134))/0x6*(parseInt(_0x44e01e(0x137))/0x7)+-parseInt(_0x44e01e(0x14f))/0x8*(parseInt(_0x44e01e(0x143))/0x9)+-parseInt(_0x44e01e(0x105))/0xa+-parseInt(_0x44e01e(0x141))/0xb*(-parseInt(_0x44e01e(0x127))/0xc);if(_0x339725===_0x2423e0)break;else _0x2c38b4['push'](_0x2c38b4['shift']());}catch(_0x5f4978){_0x2c38b4['push'](_0x2c38b4['shift']());}}}(_0x5af1,0xea011));import{ObservableMixin as _0xcb3fe3,uid as _0x28d9b8}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x5b4cdd}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x1eaf4d}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0xcb3fe3(){['id']=_0x28d9b8();[_0x276382(0x12d)]=new Map();[_0x276382(0x145)]=[];[_0x276382(0x121)];[_0x276382(0x15d)];[_0x276382(0x10f)];[_0x276382(0x106)];[_0x276382(0x10b)];[_0x276382(0x14a)]=null;[_0x276382(0x10d)];[_0x276382(0x10c)];constructor(_0x14e34f,_0x2ffa9d,_0x45760e,_0x4fed14,_0x462871){const _0x551792=_0x276382;super(),this[_0x551792(0x121)]=_0x14e34f,this[_0x551792(0x15d)]=_0x2ffa9d,this[_0x551792(0x10f)]=_0x45760e,this[_0x551792(0x106)]=_0x4fed14,this[_0x551792(0x10b)]=_0x462871,this['on'](_0x551792(0x132),(_0x35ad98,_0x2d4d79,_0x9addde)=>{const _0x3b4c21=_0x551792;this[_0x3b4c21(0x118)](_0x3b4c21(0x139),{'status':_0x9addde,'run':this,'error':this[_0x3b4c21(0x10d)]});}),this[_0x551792(0x111)](_0x551792(0x112),_0x551792(0x11d));}get[_0x276382(0x12a)](){const _0x3950b9=_0x276382;return this[_0x3950b9(0x121)];}get[_0x276382(0x10e)](){const _0x4939e=_0x276382;return this[_0x4939e(0x12d)][_0x4939e(0x15e)];}get[_0x276382(0x157)](){const _0x2a564a=_0x276382;return this[_0x2a564a(0x15d)][_0x2a564a(0x157)];}async[_0x276382(0x130)](){const _0x53acc9=_0x276382;this[_0x53acc9(0x112)]=_0x53acc9(0x15c),this[_0x53acc9(0x10d)]=void 0x0;try{this[_0x53acc9(0x14a)]=this[_0x53acc9(0x119)]();const _0x472424=await this[_0x53acc9(0x14a)][_0x53acc9(0x110)]();this[_0x53acc9(0x112)]=_0x53acc9(0x12f);for await(const _0x5dfdc5 of _0x472424)_0x53acc9(0x128)!==_0x5dfdc5[_0x53acc9(0x12f)][_0x53acc9(0x156)]&&(_0x53acc9(0x140)!==_0x5dfdc5[_0x53acc9(0x12f)][_0x53acc9(0x156)]?_0x53acc9(0x15b)!==_0x5dfdc5[_0x53acc9(0x153)]?this[_0x53acc9(0x114)](_0x5dfdc5[_0x53acc9(0x12f)][_0x53acc9(0x122)],_0x5dfdc5[_0x53acc9(0x12f)][_0x53acc9(0x149)]):this[_0x53acc9(0x10c)]=_0x5dfdc5[_0x53acc9(0x12f)][_0x53acc9(0x10c)]:this[_0x53acc9(0x112)]=_0x53acc9(0x11f));_0x53acc9(0x11f)!==this[_0x53acc9(0x112)]&&(0x0===this[_0x53acc9(0x12d)][_0x53acc9(0x15e)]?this[_0x53acc9(0x112)]=_0x53acc9(0x128):this[_0x53acc9(0x112)]=_0x53acc9(0x125));}catch(_0x27baa5){this[_0x53acc9(0x10d)]=_0x27baa5,_0x27baa5 instanceof Error&&_0x27baa5[_0x53acc9(0x10a)][_0x53acc9(0x154)](_0x53acc9(0x13d))?this[_0x53acc9(0x112)]=_0x53acc9(0x108):this[_0x53acc9(0x112)]=_0x53acc9(0x107);}finally{this[_0x53acc9(0x14a)]=null;}}async[_0x276382(0x129)](){const _0x3530f3=_0x276382;this[_0x3530f3(0x12d)][_0x3530f3(0x11b)](),this[_0x3530f3(0x145)][_0x3530f3(0x13c)]=0x0,this[_0x3530f3(0x10d)]=void 0x0,await this[_0x3530f3(0x130)]();}[_0x276382(0x14b)](_0x58206c,_0x182516){const _0x4146b1=_0x276382,_0x5e29f5=this[_0x4146b1(0x12d)][_0x4146b1(0x138)](_0x58206c);if(!_0x5e29f5)return;const _0x4d29fe=[];_0x182516[_0x4146b1(0x104)]((_0x38c211,_0x2f8244)=>{const _0x1b7a73=_0x4146b1,_0x2d020f=new _0x1eaf4d(_0x5e29f5['id']+'-'+_0x2f8244,_0x38c211,_0x5e29f5);_0x2d020f['on'](_0x1b7a73(0x132),()=>{const _0x18140a=_0x1b7a73;_0x18140a(0x151)===_0x2d020f[_0x18140a(0x112)]?this[_0x18140a(0x118)](_0x18140a(0x13e),{'change':_0x2d020f}):_0x18140a(0x146)===_0x2d020f[_0x18140a(0x112)]&&this[_0x18140a(0x118)](_0x18140a(0x152),{'change':_0x2d020f});}),_0x2d020f['on'](_0x1b7a73(0x147),()=>{const _0x55df37=_0x1b7a73;_0x2d020f[_0x55df37(0x12b)]?this[_0x55df37(0x118)](_0x55df37(0x144),{'change':_0x2d020f}):this[_0x55df37(0x118)](_0x55df37(0x13b),{'change':_0x2d020f});}),this[_0x1b7a73(0x145)][_0x1b7a73(0x136)](_0x2d020f),_0x4d29fe[_0x1b7a73(0x136)](_0x2d020f);}),this[_0x4146b1(0x118)](_0x4146b1(0x133),{'changes':_0x4d29fe,'result':_0x5e29f5,'source':this});}[_0x276382(0x14d)](){const _0x553b2c=_0x276382;this[_0x553b2c(0x14a)]&&(this[_0x553b2c(0x14a)][_0x553b2c(0x115)][_0x553b2c(0x14d)](),this[_0x553b2c(0x14a)]=null,this[_0x553b2c(0x112)]=_0x553b2c(0x108));}[_0x276382(0x109)](_0x154ef9){const _0x4f8060=_0x276382,_0x1ce3cb=this[_0x4f8060(0x145)][_0x4f8060(0x155)](_0x17d07e=>_0x17d07e['id']===_0x154ef9);return!(!_0x1ce3cb||_0x4f8060(0x11a)!==_0x1ce3cb[_0x4f8060(0x112)]);}[_0x276382(0x11e)](){const _0x111eb0=_0x276382;return this[_0x111eb0(0x145)][_0x111eb0(0x116)](_0x2bf219=>_0x111eb0(0x11a)===_0x2bf219[_0x111eb0(0x112)]);}[_0x276382(0x12e)](){const _0x428046=_0x276382;for(const _0x5415cc of this[_0x428046(0x145)])_0x428046(0x11a)===_0x5415cc[_0x428046(0x112)]&&(_0x5415cc[_0x428046(0x112)]=_0x428046(0x151));this[_0x428046(0x11c)]();}[_0x276382(0x124)](_0x431e10){const _0x5909f8=_0x276382,_0x21a2dc=this[_0x5909f8(0x145)][_0x5909f8(0x155)](_0x44e2f4=>_0x44e2f4['id']===_0x431e10);_0x21a2dc&&_0x5909f8(0x11a)===_0x21a2dc[_0x5909f8(0x112)]&&(_0x21a2dc[_0x5909f8(0x112)]=_0x5909f8(0x151)),this[_0x5909f8(0x11c)]();}[_0x276382(0x14e)](_0x2880f0){const _0x4171f0=_0x276382,_0x53f918=this[_0x4171f0(0x145)][_0x4171f0(0x155)](_0x3bb9be=>_0x3bb9be['id']===_0x2880f0);_0x53f918&&_0x4171f0(0x11a)===_0x53f918[_0x4171f0(0x112)]&&(_0x53f918[_0x4171f0(0x112)]=_0x4171f0(0x146)),this[_0x4171f0(0x11c)]();}[_0x276382(0x150)](_0x38f3e1){const _0x24a090=_0x276382;this[_0x24a090(0x145)][_0x24a090(0x116)](_0x551648=>_0x551648[_0x24a090(0x12b)]&&_0x551648['id']!==_0x38f3e1)[_0x24a090(0x104)](_0x44c892=>{const _0x46706d=_0x24a090;_0x44c892[_0x46706d(0x12b)]=!0x1;});const _0xac0c76=this[_0x24a090(0x145)][_0x24a090(0x155)](_0x1e47c3=>_0x1e47c3['id']===_0x38f3e1);_0xac0c76&&(_0xac0c76[_0x24a090(0x12b)]=!0x0);}[_0x276382(0x13f)](){const _0x4c5331=_0x276382;this[_0x4c5331(0x145)][_0x4c5331(0x116)](_0x385d1d=>_0x385d1d[_0x4c5331(0x12b)])[_0x4c5331(0x104)](_0xa19b27=>{const _0x5ae000=_0x4c5331;_0xa19b27[_0x5ae000(0x12b)]=!0x1;});}[_0x276382(0x142)](){const _0x500937=_0x276382;this[_0x500937(0x112)]=_0x500937(0x125);}[_0x276382(0x114)](_0x7a3bc6,_0x4a8f71){const _0x5eb8b6=_0x276382,_0x378afa=this[_0x5eb8b6(0x121)][_0x5eb8b6(0x148)][_0x5eb8b6(0x138)](_0x7a3bc6);if(!_0x378afa)return;const _0x56e873=_0x378afa[_0x5eb8b6(0x13a)]();if(_0x56e873===_0x4a8f71)return;const _0x1601b2=new _0x5b4cdd({'id':_0x7a3bc6,'contentInitial':_0x56e873,'contentNew':_0x4a8f71,'documentVersion':this[_0x5eb8b6(0x121)][_0x5eb8b6(0x126)]});this[_0x5eb8b6(0x12d)][_0x5eb8b6(0x111)](_0x1601b2['id'],_0x1601b2),this[_0x5eb8b6(0x118)](_0x5eb8b6(0x158),{'result':_0x1601b2,'source':this});}[_0x276382(0x11c)](){const _0x4bb3eb=_0x276382;if(_0x4bb3eb(0x125)!==this[_0x4bb3eb(0x112)])return;0x0===this[_0x4bb3eb(0x145)][_0x4bb3eb(0x116)](_0x250f1f=>_0x4bb3eb(0x11a)===_0x250f1f[_0x4bb3eb(0x112)])[_0x4bb3eb(0x13c)]&&(this[_0x4bb3eb(0x112)]=_0x4bb3eb(0x120));}[_0x276382(0x119)](){const _0x145f4d=_0x276382;throw new Error(_0x145f4d(0x131));}[_0x276382(0x135)](){const _0x30e63d=_0x276382;return this[_0x30e63d(0x145)][_0x30e63d(0x116)](_0x4b5218=>_0x30e63d(0x151)===_0x4b5218[_0x30e63d(0x112)])[_0x30e63d(0x13c)];}[_0x276382(0x159)](){const _0x572df3=_0x276382;return this[_0x572df3(0x145)][_0x572df3(0x13c)];}get[_0x276382(0x117)](){const _0xe55bac=_0x276382;return this[_0xe55bac(0x15d)]['id'];}}
23
+ function _0x3995(_0x119c9e,_0xdafbae){const _0x10c55f=_0x10c5();return _0x3995=function(_0x39950e,_0x4dbb10){_0x39950e=_0x39950e-0x1e6;let _0x5b4c44=_0x10c55f[_0x39950e];return _0x5b4c44;},_0x3995(_0x119c9e,_0xdafbae);}function _0x10c5(){const _0x17d561=['message','data','forEach','40VArvrl','_changes','loading','includes','isActivated','getContent','operation','reviewCheckResultAccepted','status','version','event','active','_reviewArgs','accepted','ready','899613lKiaiI','markChangeAsRejected','documentData','4AZQJZA','2703944xSrLdw','error-general','rejected','title','getAcceptedChangesCount','7osrtAE','isChangeActive','size','abortController','processedResultsCount','getTotalChangesCount','_documentData','getActiveChanges','248318zvIfhn','clear','unmodified','change:isActivated','change:status','_createApiRequest','forceReadyState','push','get','ai-request-aborted','activateChange','15BFvSbk','abort','717369kumgpe','aborted','restart','fire','_reviewParams','dataId','168684HwvUOy','_checkIfFinished','filter','set','reviewCheckResultAdded','reviewCheckRunUpdated','_aiConnector','getStream','markAllChangesAsAccepted','_sourceCheck','_activeRequest','length','Not\x20implemented.','elements','_addReviewCheckResult','initialized','reviewCheckResultDeactivated','callId','find','deactivateChange','reviewCheckResultReady','start','addResultChanges','review-metadata','error','textDelta','finished','_currentError','markChangeAsAccepted','17452Ewvhnz','_results','reviewName','reviewCheckResultActivated','reviewCheckResultRejected','error-chunk','198081uznMMW'];_0x10c5=function(){return _0x17d561;};return _0x10c5();}const _0x37f7b9=_0x3995;(function(_0x22d8ba,_0xb486a3){const _0x31f005=_0x3995,_0x1c9584=_0x22d8ba();while(!![]){try{const _0x2e9120=-parseInt(_0x31f005(0x229))/0x1*(parseInt(_0x31f005(0x207))/0x2)+parseInt(_0x31f005(0x23e))/0x3*(parseInt(_0x31f005(0x223))/0x4)+parseInt(_0x31f005(0x23c))/0x5*(parseInt(_0x31f005(0x1ea))/0x6)+parseInt(_0x31f005(0x231))/0x7+-parseInt(_0x31f005(0x224))/0x8+-parseInt(_0x31f005(0x20d))/0x9+-parseInt(_0x31f005(0x211))/0xa*(-parseInt(_0x31f005(0x220))/0xb);if(_0x2e9120===_0xb486a3)break;else _0x1c9584['push'](_0x1c9584['shift']());}catch(_0x4f9b40){_0x1c9584['push'](_0x1c9584['shift']());}}}(_0x10c5,0x40b1b));import{ObservableMixin as _0x3c7fde,uid as _0x2974bb}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x3cc400}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x99fec9}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x3c7fde(){['id']=_0x2974bb();[_0x37f7b9(0x208)]=new Map();[_0x37f7b9(0x212)]=[];[_0x37f7b9(0x22f)];[_0x37f7b9(0x1f3)];[_0x37f7b9(0x1f0)];[_0x37f7b9(0x1e8)];[_0x37f7b9(0x21d)];[_0x37f7b9(0x1f4)]=null;[_0x37f7b9(0x205)];[_0x37f7b9(0x1fb)];constructor(_0x9ecb75,_0x45c552,_0x21e456,_0x26f39c,_0x2670f8){const _0x1d18a9=_0x37f7b9;super(),this[_0x1d18a9(0x22f)]=_0x9ecb75,this[_0x1d18a9(0x1f3)]=_0x45c552,this[_0x1d18a9(0x1f0)]=_0x21e456,this[_0x1d18a9(0x1e8)]=_0x26f39c,this[_0x1d18a9(0x21d)]=_0x2670f8,this['on'](_0x1d18a9(0x235),(_0x59c7f9,_0x1140f0,_0x838ad1)=>{const _0x4ddd1c=_0x1d18a9;this[_0x4ddd1c(0x1e7)](_0x4ddd1c(0x1ef),{'status':_0x838ad1,'run':this,'error':this[_0x4ddd1c(0x205)]});}),this[_0x1d18a9(0x1ed)](_0x1d18a9(0x219),_0x1d18a9(0x1f9));}get[_0x37f7b9(0x222)](){const _0x408490=_0x37f7b9;return this[_0x408490(0x22f)];}get[_0x37f7b9(0x22d)](){const _0x5dbb9b=_0x37f7b9;return this[_0x5dbb9b(0x208)][_0x5dbb9b(0x22b)];}get[_0x37f7b9(0x227)](){const _0x453c57=_0x37f7b9;return this[_0x453c57(0x1f3)][_0x453c57(0x227)];}async[_0x37f7b9(0x1ff)](){const _0x10ec24=_0x37f7b9;this[_0x10ec24(0x219)]=_0x10ec24(0x213),this[_0x10ec24(0x205)]=void 0x0;try{this[_0x10ec24(0x1f4)]=this[_0x10ec24(0x236)]();const _0x28521d=await this[_0x10ec24(0x1f4)][_0x10ec24(0x1f1)]();this[_0x10ec24(0x219)]=_0x10ec24(0x20f);for await(const _0x35b920 of _0x28521d)_0x10ec24(0x233)!==_0x35b920[_0x10ec24(0x20f)][_0x10ec24(0x217)]&&(_0x10ec24(0x202)!==_0x35b920[_0x10ec24(0x20f)][_0x10ec24(0x217)]?_0x10ec24(0x201)!==_0x35b920[_0x10ec24(0x21b)]?this[_0x10ec24(0x1f8)](_0x35b920[_0x10ec24(0x20f)][_0x10ec24(0x1e9)],_0x35b920[_0x10ec24(0x20f)][_0x10ec24(0x203)]):this[_0x10ec24(0x1fb)]=_0x35b920[_0x10ec24(0x20f)][_0x10ec24(0x1fb)]:this[_0x10ec24(0x219)]=_0x10ec24(0x20c));_0x10ec24(0x20c)!==this[_0x10ec24(0x219)]&&(0x0===this[_0x10ec24(0x208)][_0x10ec24(0x22b)]?this[_0x10ec24(0x219)]=_0x10ec24(0x233):this[_0x10ec24(0x219)]=_0x10ec24(0x21f));}catch(_0xf8d48e){this[_0x10ec24(0x205)]=_0xf8d48e,_0xf8d48e instanceof Error&&_0xf8d48e[_0x10ec24(0x20e)][_0x10ec24(0x214)](_0x10ec24(0x23a))?this[_0x10ec24(0x219)]=_0x10ec24(0x23f):this[_0x10ec24(0x219)]=_0x10ec24(0x225);}finally{this[_0x10ec24(0x1f4)]=null;}}async[_0x37f7b9(0x1e6)](){const _0x14b6ca=_0x37f7b9;this[_0x14b6ca(0x208)][_0x14b6ca(0x232)](),this[_0x14b6ca(0x212)][_0x14b6ca(0x1f5)]=0x0,this[_0x14b6ca(0x205)]=void 0x0,await this[_0x14b6ca(0x1ff)]();}[_0x37f7b9(0x200)](_0x4d2ffb,_0x2564d0){const _0x27bc7d=_0x37f7b9,_0xcfe05e=this[_0x27bc7d(0x208)][_0x27bc7d(0x239)](_0x4d2ffb);if(!_0xcfe05e)return;const _0x2b3608=[];_0x2564d0[_0x27bc7d(0x210)]((_0x1d2bd8,_0x4d99f0)=>{const _0x3d3c06=_0x27bc7d,_0x59a476=new _0x99fec9(_0xcfe05e['id']+'-'+_0x4d99f0,_0x1d2bd8,_0xcfe05e);_0x59a476['on'](_0x3d3c06(0x235),()=>{const _0x33fe52=_0x3d3c06;_0x33fe52(0x21e)===_0x59a476[_0x33fe52(0x219)]?this[_0x33fe52(0x1e7)](_0x33fe52(0x218),{'change':_0x59a476}):_0x33fe52(0x226)===_0x59a476[_0x33fe52(0x219)]&&this[_0x33fe52(0x1e7)](_0x33fe52(0x20b),{'change':_0x59a476});}),_0x59a476['on'](_0x3d3c06(0x234),()=>{const _0x16f4a3=_0x3d3c06;_0x59a476[_0x16f4a3(0x215)]?this[_0x16f4a3(0x1e7)](_0x16f4a3(0x20a),{'change':_0x59a476}):this[_0x16f4a3(0x1e7)](_0x16f4a3(0x1fa),{'change':_0x59a476});}),this[_0x3d3c06(0x212)][_0x3d3c06(0x238)](_0x59a476),_0x2b3608[_0x3d3c06(0x238)](_0x59a476);}),this[_0x27bc7d(0x1e7)](_0x27bc7d(0x1fe),{'changes':_0x2b3608,'result':_0xcfe05e,'source':this});}[_0x37f7b9(0x23d)](){const _0x274421=_0x37f7b9;this[_0x274421(0x1f4)]&&(this[_0x274421(0x1f4)][_0x274421(0x22c)][_0x274421(0x23d)](),this[_0x274421(0x1f4)]=null,this[_0x274421(0x219)]=_0x274421(0x23f));}[_0x37f7b9(0x22a)](_0x526f6c){const _0x16aa6b=_0x37f7b9,_0x12e3e6=this[_0x16aa6b(0x212)][_0x16aa6b(0x1fc)](_0x18c5d7=>_0x18c5d7['id']===_0x526f6c);return!(!_0x12e3e6||_0x16aa6b(0x21c)!==_0x12e3e6[_0x16aa6b(0x219)]);}[_0x37f7b9(0x230)](){const _0x2d4efc=_0x37f7b9;return this[_0x2d4efc(0x212)][_0x2d4efc(0x1ec)](_0x42273d=>_0x2d4efc(0x21c)===_0x42273d[_0x2d4efc(0x219)]);}[_0x37f7b9(0x1f2)](){const _0x3c8419=_0x37f7b9;for(const _0x4a168d of this[_0x3c8419(0x212)])_0x3c8419(0x21c)===_0x4a168d[_0x3c8419(0x219)]&&(_0x4a168d[_0x3c8419(0x219)]=_0x3c8419(0x21e));this[_0x3c8419(0x1eb)]();}[_0x37f7b9(0x206)](_0x2e1a68){const _0x2915c0=_0x37f7b9,_0x1db828=this[_0x2915c0(0x212)][_0x2915c0(0x1fc)](_0x2480c2=>_0x2480c2['id']===_0x2e1a68);_0x1db828&&_0x2915c0(0x21c)===_0x1db828[_0x2915c0(0x219)]&&(_0x1db828[_0x2915c0(0x219)]=_0x2915c0(0x21e)),this[_0x2915c0(0x1eb)]();}[_0x37f7b9(0x221)](_0x4ab44a){const _0x195c2a=_0x37f7b9,_0x33205f=this[_0x195c2a(0x212)][_0x195c2a(0x1fc)](_0x539c8d=>_0x539c8d['id']===_0x4ab44a);_0x33205f&&_0x195c2a(0x21c)===_0x33205f[_0x195c2a(0x219)]&&(_0x33205f[_0x195c2a(0x219)]=_0x195c2a(0x226)),this[_0x195c2a(0x1eb)]();}[_0x37f7b9(0x23b)](_0x51b4ea){const _0x17feb8=_0x37f7b9;this[_0x17feb8(0x212)][_0x17feb8(0x1ec)](_0x22c6a8=>_0x22c6a8[_0x17feb8(0x215)]&&_0x22c6a8['id']!==_0x51b4ea)[_0x17feb8(0x210)](_0x1ef37a=>{const _0x5cd994=_0x17feb8;_0x1ef37a[_0x5cd994(0x215)]=!0x1;});const _0x386992=this[_0x17feb8(0x212)][_0x17feb8(0x1fc)](_0x5ae291=>_0x5ae291['id']===_0x51b4ea);_0x386992&&(_0x386992[_0x17feb8(0x215)]=!0x0);}[_0x37f7b9(0x1fd)](){const _0x14fc40=_0x37f7b9;this[_0x14fc40(0x212)][_0x14fc40(0x1ec)](_0x317c92=>_0x317c92[_0x14fc40(0x215)])[_0x14fc40(0x210)](_0x496065=>{const _0x42b129=_0x14fc40;_0x496065[_0x42b129(0x215)]=!0x1;});}[_0x37f7b9(0x237)](){const _0x5df9e3=_0x37f7b9;this[_0x5df9e3(0x219)]=_0x5df9e3(0x21f);}[_0x37f7b9(0x1f8)](_0x535990,_0x510fbc){const _0x167cda=_0x37f7b9,_0xc680dc=this[_0x167cda(0x22f)][_0x167cda(0x1f7)][_0x167cda(0x239)](_0x535990);if(!_0xc680dc)return;const _0x7a1379=_0xc680dc[_0x167cda(0x216)]();if(_0x7a1379===_0x510fbc)return;const _0x5ee3e0=new _0x3cc400({'id':_0x535990,'contentInitial':_0x7a1379,'contentNew':_0x510fbc,'documentVersion':this[_0x167cda(0x22f)][_0x167cda(0x21a)]});this[_0x167cda(0x208)][_0x167cda(0x1ed)](_0x5ee3e0['id'],_0x5ee3e0),this[_0x167cda(0x1e7)](_0x167cda(0x1ee),{'result':_0x5ee3e0,'source':this});}[_0x37f7b9(0x1eb)](){const _0x3a248b=_0x37f7b9;if(_0x3a248b(0x21f)!==this[_0x3a248b(0x219)])return;0x0===this[_0x3a248b(0x212)][_0x3a248b(0x1ec)](_0x53b372=>_0x3a248b(0x21c)===_0x53b372[_0x3a248b(0x219)])[_0x3a248b(0x1f5)]&&(this[_0x3a248b(0x219)]=_0x3a248b(0x204));}[_0x37f7b9(0x236)](){const _0x439512=_0x37f7b9;throw new Error(_0x439512(0x1f6));}[_0x37f7b9(0x228)](){const _0x4b3108=_0x37f7b9;return this[_0x4b3108(0x212)][_0x4b3108(0x1ec)](_0x9373b3=>_0x4b3108(0x21e)===_0x9373b3[_0x4b3108(0x219)])[_0x4b3108(0x1f5)];}[_0x37f7b9(0x22e)](){const _0x2f71f1=_0x37f7b9;return this[_0x2f71f1(0x212)][_0x2f71f1(0x1f5)];}get[_0x37f7b9(0x209)](){const _0x195ecd=_0x37f7b9;return this[_0x195ecd(0x1f3)]['id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xc17672=_0x17d2;(function(_0x27eeb7,_0x3d89db){var _0x4b01fb=_0x17d2,_0x271864=_0x27eeb7();while(!![]){try{var _0x531c8b=parseInt(_0x4b01fb(0xaa))/0x1*(-parseInt(_0x4b01fb(0xac))/0x2)+parseInt(_0x4b01fb(0xad))/0x3+-parseInt(_0x4b01fb(0xa3))/0x4*(-parseInt(_0x4b01fb(0xa8))/0x5)+parseInt(_0x4b01fb(0xb6))/0x6*(parseInt(_0x4b01fb(0xab))/0x7)+parseInt(_0x4b01fb(0xa7))/0x8*(parseInt(_0x4b01fb(0xb5))/0x9)+parseInt(_0x4b01fb(0xa5))/0xa+-parseInt(_0x4b01fb(0xb3))/0xb*(parseInt(_0x4b01fb(0xae))/0xc);if(_0x531c8b===_0x3d89db)break;else _0x271864['push'](_0x271864['shift']());}catch(_0x489a97){_0x271864['push'](_0x271864['shift']());}}}(_0x47c5,0xc2ff5));function _0x17d2(_0x2e56c8,_0x370c62){var _0x47c568=_0x47c5();return _0x17d2=function(_0x17d29c,_0x38cf12){_0x17d29c=_0x17d29c-0xa3;var _0x5e3634=_0x47c568[_0x17d29c];return _0x5e3634;},_0x17d2(_0x2e56c8,_0x370c62);}function _0x47c5(){var _0xf30525=['100eomomU','1556517aZRUad','12LYVaRF','_createApiRequest','_aiConnector','callCustomReview','content','25033899mXjdyx','title','315IVJbOr','10326ztRGHF','1050904DThXGw','_prompt','2538830UsPXTe','_model','75496EgoFLX','20psNSzU','_documentData','11086sPvxte','5999MwrEsX'];_0x47c5=function(){return _0xf30525;};return _0x47c5();}import{AIReviewCheckRun as _0x130363}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x130363{[_0xc17672(0xa4)];[_0xc17672(0xa6)];constructor(_0x479d47,_0x392cd5,_0x49ddbc,_0xa5b0fe,_0xc4153d){var _0x5b7e60=_0xc17672;super(_0x49ddbc,_0xa5b0fe,_0xc4153d),this[_0x5b7e60(0xa4)]=_0x479d47,this[_0x5b7e60(0xa6)]=_0x392cd5;}get[_0xc17672(0xb4)](){var _0x34f8eb=_0xc17672;return this[_0x34f8eb(0xa4)];}[_0xc17672(0xaf)](){var _0x5a342f=_0xc17672;return this[_0x5a342f(0xb0)][_0x5a342f(0xb1)]({'content':this[_0x5a342f(0xa9)][_0x5a342f(0xb2)],'prompt':this[_0x5a342f(0xa4)],'model':this[_0x5a342f(0xa6)]});}}
23
+ var _0x450933=_0x4384;function _0x59b3(){var _0x16c789=['content','8bJrUaE','_prompt','callCustomReview','48DurHGy','809253gEEPoS','title','11VvYshS','_aiConnector','16700kWGQQS','494966hgtARk','_documentData','_model','329861vLCxbe','1505050oJigME','_createApiRequest','148055FFahQA','3gKKDgd','142527MgdwJB'];_0x59b3=function(){return _0x16c789;};return _0x59b3();}function _0x4384(_0x5b7f32,_0x5f5cbc){var _0x59b36b=_0x59b3();return _0x4384=function(_0x438433,_0x9b3d75){_0x438433=_0x438433-0x134;var _0x2e07ff=_0x59b36b[_0x438433];return _0x2e07ff;},_0x4384(_0x5b7f32,_0x5f5cbc);}(function(_0x4e870c,_0x4f2383){var _0x450157=_0x4384,_0x289d90=_0x4e870c();while(!![]){try{var _0x14cb8b=parseInt(_0x450157(0x13a))/0x1+-parseInt(_0x450157(0x145))/0x2*(-parseInt(_0x450157(0x139))/0x3)+-parseInt(_0x450157(0x144))/0x4+-parseInt(_0x450157(0x138))/0x5*(parseInt(_0x450157(0x13f))/0x6)+parseInt(_0x450157(0x135))/0x7*(-parseInt(_0x450157(0x13c))/0x8)+-parseInt(_0x450157(0x140))/0x9+parseInt(_0x450157(0x136))/0xa*(parseInt(_0x450157(0x142))/0xb);if(_0x14cb8b===_0x4f2383)break;else _0x289d90['push'](_0x289d90['shift']());}catch(_0x3da2b3){_0x289d90['push'](_0x289d90['shift']());}}}(_0x59b3,0x27a6c));import{AIReviewCheckRun as _0x1ffb5d}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x1ffb5d{[_0x450933(0x13d)];[_0x450933(0x134)];constructor(_0x221292,_0x3ffd50,_0x25b329,_0x4335c1,_0x1cc156){var _0x51a375=_0x450933;super(_0x25b329,_0x4335c1,_0x1cc156),this[_0x51a375(0x13d)]=_0x221292,this[_0x51a375(0x134)]=_0x3ffd50;}get[_0x450933(0x141)](){var _0x3d4c1b=_0x450933;return this[_0x3d4c1b(0x13d)];}[_0x450933(0x137)](){var _0x1dea8d=_0x450933;return this[_0x1dea8d(0x143)][_0x1dea8d(0x13e)]({'content':this[_0x1dea8d(0x146)][_0x1dea8d(0x13b)],'prompt':this[_0x1dea8d(0x13d)],'model':this[_0x1dea8d(0x134)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d1dd7=_0x3f22;(function(_0x33b6f5,_0x19495f){const _0x4ea53f=_0x3f22,_0x4e469c=_0x33b6f5();while(!![]){try{const _0x3a4598=parseInt(_0x4ea53f(0x13f))/0x1+parseInt(_0x4ea53f(0x140))/0x2*(-parseInt(_0x4ea53f(0x13e))/0x3)+parseInt(_0x4ea53f(0x138))/0x4*(-parseInt(_0x4ea53f(0x135))/0x5)+parseInt(_0x4ea53f(0x136))/0x6*(-parseInt(_0x4ea53f(0x13a))/0x7)+parseInt(_0x4ea53f(0x13d))/0x8+-parseInt(_0x4ea53f(0x131))/0x9*(parseInt(_0x4ea53f(0x13c))/0xa)+parseInt(_0x4ea53f(0x139))/0xb;if(_0x3a4598===_0x19495f)break;else _0x4e469c['push'](_0x4e469c['shift']());}catch(_0xc36b27){_0x4e469c['push'](_0x4e469c['shift']());}}}(_0x406f,0x86eda));import{EmitterMixin as _0x2a3b71}from'ckeditor5/src/utils.js';function _0x3f22(_0x4b9fd2,_0x501a37){const _0x406f66=_0x406f();return _0x3f22=function(_0x3f22cf,_0x224a82){_0x3f22cf=_0x3f22cf-0x130;let _0x2f4b0f=_0x406f66[_0x3f22cf];return _0x2f4b0f;},_0x3f22(_0x4b9fd2,_0x501a37);}export class AIReviewModels extends _0x2a3b71(){[_0x2d1dd7(0x130)]=[];[_0x2d1dd7(0x133)];constructor({connector:_0x130e2c}){const _0x15677d=_0x2d1dd7;super(),this[_0x15677d(0x133)]=_0x130e2c;}async[_0x2d1dd7(0x134)](){const _0x144b20=_0x2d1dd7;if(!this[_0x144b20(0x130)][_0x144b20(0x137)])try{const _0x3ff701=this[_0x144b20(0x133)][_0x144b20(0x141)](),_0x1e82f1=await _0x3ff701[_0x144b20(0x132)]();this[_0x144b20(0x130)]=_0x1e82f1[_0x144b20(0x13b)];}catch{}return this[_0x144b20(0x130)];}}function _0x406f(){const _0x59535f=['825702TXifda','248260jdmdia','getModels','_modelList','99OeSLAq','list','_connector','getAll','30ANifHX','1840008pxTycX','length','199632GDnisB','2435741pYyXOJ','7EGyBqp','items','197630hOtIvp','3625376XMEcSZ','3YVzXNr'];_0x406f=function(){return _0x59535f;};return _0x406f();}
23
+ const _0xb03b32=_0x2939;(function(_0x4d5f93,_0x4cc052){const _0x1d9f84=_0x2939,_0x8e131f=_0x4d5f93();while(!![]){try{const _0x4899c0=-parseInt(_0x1d9f84(0x117))/0x1*(-parseInt(_0x1d9f84(0x116))/0x2)+-parseInt(_0x1d9f84(0x121))/0x3+parseInt(_0x1d9f84(0x118))/0x4+parseInt(_0x1d9f84(0x11a))/0x5*(-parseInt(_0x1d9f84(0x11b))/0x6)+parseInt(_0x1d9f84(0x113))/0x7+parseInt(_0x1d9f84(0x119))/0x8+-parseInt(_0x1d9f84(0x11e))/0x9;if(_0x4899c0===_0x4cc052)break;else _0x8e131f['push'](_0x8e131f['shift']());}catch(_0x8cc48){_0x8e131f['push'](_0x8e131f['shift']());}}}(_0x26f0,0x64663));function _0x2939(_0x23e982,_0x40c3a3){const _0x26f067=_0x26f0();return _0x2939=function(_0x29391e,_0x5f1293){_0x29391e=_0x29391e-0x113;let _0x1d5f5e=_0x26f067[_0x29391e];return _0x1d5f5e;},_0x2939(_0x23e982,_0x40c3a3);}function _0x26f0(){const _0x53649a=['2890608VHFmQP','getAll','getModels','2QegOiN','317071pEDfXS','2009620IOjZhH','3727920BWBnQM','15xbTDYT','1469406sPMLvE','list','length','558927ZwOlEE','items','_connector','1471107NVSVRG','_modelList'];_0x26f0=function(){return _0x53649a;};return _0x26f0();}import{EmitterMixin as _0x286b48}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x286b48(){[_0xb03b32(0x122)]=[];[_0xb03b32(0x120)];constructor({connector:_0x32757a}){const _0x3251d8=_0xb03b32;super(),this[_0x3251d8(0x120)]=_0x32757a;}async[_0xb03b32(0x114)](){const _0x4bdc8e=_0xb03b32;if(!this[_0x4bdc8e(0x122)][_0x4bdc8e(0x11d)])try{const _0x3a1bb3=this[_0x4bdc8e(0x120)][_0x4bdc8e(0x115)](),_0x4d559b=await _0x3a1bb3[_0x4bdc8e(0x11c)]();this[_0x4bdc8e(0x122)]=_0x4d559b[_0x4bdc8e(0x11f)];}catch{}return this[_0x4bdc8e(0x122)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2794c9=_0x509f;(function(_0x291492,_0xdea6b){const _0x221ae4=_0x509f,_0x4eac21=_0x291492();while(!![]){try{const _0x49f84c=parseInt(_0x221ae4(0x144))/0x1+-parseInt(_0x221ae4(0x13c))/0x2+-parseInt(_0x221ae4(0x133))/0x3+parseInt(_0x221ae4(0x135))/0x4*(-parseInt(_0x221ae4(0x146))/0x5)+-parseInt(_0x221ae4(0x12f))/0x6*(-parseInt(_0x221ae4(0x12c))/0x7)+-parseInt(_0x221ae4(0x131))/0x8+-parseInt(_0x221ae4(0x12e))/0x9*(-parseInt(_0x221ae4(0x12d))/0xa);if(_0x49f84c===_0xdea6b)break;else _0x4eac21['push'](_0x4eac21['shift']());}catch(_0xd9417f){_0x4eac21['push'](_0x4eac21['shift']());}}}(_0x5a9d,0xedea5));function _0x509f(_0x1e5f14,_0x15497b){const _0x5a9de0=_0x5a9d();return _0x509f=function(_0x509f8c,_0x55e4a4){_0x509f8c=_0x509f8c-0x12b;let _0x4e5591=_0x5a9de0[_0x509f8c];return _0x4e5591;},_0x509f(_0x1e5f14,_0x15497b);}import{AIReviewCheckRun as _0x340e24}from'./aireviewcheckrun.js';function _0x5a9d(){const _0x1c9499=['title','length','_documentData','605167XZKpjU','useArgs','318830ujrsSI','join','7bNXZsX','121630RUoDXg','342TGLnvl','11565846WyKQXY','push','13665360nMwIBd','content','538089bUIrTZ','label','4ciWxOY','options','data','_createApiRequest','find','_reviewParams','_sourceCheck','138404EFkIiQ','_composeReviewName','callSystemReview','_aiConnector','_reviewArgs'];_0x5a9d=function(){return _0x1c9499;};return _0x5a9d();}export class AIReviewSystemCheckRun extends _0x340e24{get[_0x2794c9(0x141)](){const _0x5de271=_0x2794c9;if(!this[_0x5de271(0x13a)]||0x0===this[_0x5de271(0x13a)][_0x5de271(0x142)]||this[_0x5de271(0x13b)][_0x5de271(0x145)])return this[_0x5de271(0x13b)][_0x5de271(0x141)];const _0x396820=[];if(this[_0x5de271(0x13a)][_0x5de271(0x142)]>0x0&&this[_0x5de271(0x13b)][_0x5de271(0x136)])for(let _0x51b8d5=0x0;_0x51b8d5<this[_0x5de271(0x13a)][_0x5de271(0x142)];_0x51b8d5++){if(!this[_0x5de271(0x13a)][_0x51b8d5]||!this[_0x5de271(0x13b)][_0x5de271(0x136)][_0x51b8d5])continue;const _0x37843b=this[_0x5de271(0x13b)][_0x5de271(0x136)][_0x51b8d5],_0xee2947=_0x37843b[_0x5de271(0x137)]?.[_0x5de271(0x139)](_0x4dcbe0=>_0x4dcbe0['id']===this[_0x5de271(0x13a)][_0x51b8d5]);_0xee2947&&_0x396820[_0x5de271(0x130)](_0xee2947[_0x5de271(0x134)]);}return this[_0x5de271(0x13b)][_0x5de271(0x141)]+':\x20'+_0x396820[_0x5de271(0x12b)](',\x20');}[_0x2794c9(0x138)](){const _0x5a7bbf=_0x2794c9;return this[_0x5a7bbf(0x13f)][_0x5a7bbf(0x13e)]({'reviewName':this[_0x5a7bbf(0x13d)](),'content':this[_0x5a7bbf(0x143)][_0x5a7bbf(0x132)],'args':this[_0x5a7bbf(0x140)]});}[_0x2794c9(0x13d)](){const _0x537065=_0x2794c9;return!this[_0x537065(0x13a)]||0x0===this[_0x537065(0x13a)][_0x537065(0x142)]||this[_0x537065(0x13b)][_0x537065(0x145)]?this[_0x537065(0x13b)]['id']:[this[_0x537065(0x13b)]['id'],...this[_0x537065(0x13a)]][_0x537065(0x12b)]('-');}}
23
+ const _0x212118=_0x25cf;(function(_0x21cb25,_0x458fb7){const _0xd5b8cb=_0x25cf,_0x589934=_0x21cb25();while(!![]){try{const _0x6da6a2=parseInt(_0xd5b8cb(0x119))/0x1+-parseInt(_0xd5b8cb(0x12c))/0x2*(parseInt(_0xd5b8cb(0x117))/0x3)+-parseInt(_0xd5b8cb(0x113))/0x4*(parseInt(_0xd5b8cb(0x118))/0x5)+-parseInt(_0xd5b8cb(0x11f))/0x6*(-parseInt(_0xd5b8cb(0x126))/0x7)+-parseInt(_0xd5b8cb(0x12d))/0x8*(-parseInt(_0xd5b8cb(0x11b))/0x9)+parseInt(_0xd5b8cb(0x130))/0xa*(parseInt(_0xd5b8cb(0x131))/0xb)+parseInt(_0xd5b8cb(0x123))/0xc*(-parseInt(_0xd5b8cb(0x11d))/0xd);if(_0x6da6a2===_0x458fb7)break;else _0x589934['push'](_0x589934['shift']());}catch(_0x4a77f0){_0x589934['push'](_0x589934['shift']());}}}(_0x1dec,0xae152));function _0x1dec(){const _0x2726e4=['86696KQGvEM','_reviewArgs','title','45230ULWFuF','3443yDWrJu','95416RKdzKJ','label','data','length','30021vdCQkf','15fFRZkn','716728YJyHfE','_aiConnector','477nOspyB','_createApiRequest','15215252vcdWwt','_sourceCheck','7662WVzsQr','_documentData','content','_composeReviewName','24zsafoj','_reviewParams','push','2569KGsHxR','options','join','callSystemReview','find','useArgs','10orrwYp'];_0x1dec=function(){return _0x2726e4;};return _0x1dec();}function _0x25cf(_0x1eca96,_0x473e24){const _0x1decc6=_0x1dec();return _0x25cf=function(_0x25cfb6,_0x3214b5){_0x25cfb6=_0x25cfb6-0x113;let _0xdb8bff=_0x1decc6[_0x25cfb6];return _0xdb8bff;},_0x25cf(_0x1eca96,_0x473e24);}import{AIReviewCheckRun as _0x550404}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x550404{get[_0x212118(0x12f)](){const _0xf18ddf=_0x212118;if(!this[_0xf18ddf(0x124)]||0x0===this[_0xf18ddf(0x124)][_0xf18ddf(0x116)]||this[_0xf18ddf(0x11e)][_0xf18ddf(0x12b)])return this[_0xf18ddf(0x11e)][_0xf18ddf(0x12f)];const _0x5dab84=[];if(this[_0xf18ddf(0x124)][_0xf18ddf(0x116)]>0x0&&this[_0xf18ddf(0x11e)][_0xf18ddf(0x127)])for(let _0x29bd6d=0x0;_0x29bd6d<this[_0xf18ddf(0x124)][_0xf18ddf(0x116)];_0x29bd6d++){if(!this[_0xf18ddf(0x124)][_0x29bd6d]||!this[_0xf18ddf(0x11e)][_0xf18ddf(0x127)][_0x29bd6d])continue;const _0xb3cf77=this[_0xf18ddf(0x11e)][_0xf18ddf(0x127)][_0x29bd6d],_0x4cdf1d=_0xb3cf77[_0xf18ddf(0x115)]?.[_0xf18ddf(0x12a)](_0xc5e787=>_0xc5e787['id']===this[_0xf18ddf(0x124)][_0x29bd6d]);_0x4cdf1d&&_0x5dab84[_0xf18ddf(0x125)](_0x4cdf1d[_0xf18ddf(0x114)]);}return this[_0xf18ddf(0x11e)][_0xf18ddf(0x12f)]+':\x20'+_0x5dab84[_0xf18ddf(0x128)](',\x20');}[_0x212118(0x11c)](){const _0x3e629e=_0x212118;return this[_0x3e629e(0x11a)][_0x3e629e(0x129)]({'reviewName':this[_0x3e629e(0x122)](),'content':this[_0x3e629e(0x120)][_0x3e629e(0x121)],'args':this[_0x3e629e(0x12e)]});}[_0x212118(0x122)](){const _0x4f957b=_0x212118;return!this[_0x4f957b(0x124)]||0x0===this[_0x4f957b(0x124)][_0x4f957b(0x116)]||this[_0x4f957b(0x11e)][_0x4f957b(0x12b)]?this[_0x4f957b(0x11e)]['id']:[this[_0x4f957b(0x11e)]['id'],...this[_0x4f957b(0x124)]][_0x4f957b(0x128)]('-');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x34e51c=_0x12b3;(function(_0x543969,_0x34ec9d){var _0x3ba214=_0x12b3,_0x32312d=_0x543969();while(!![]){try{var _0x102593=parseInt(_0x3ba214(0x115))/0x1+-parseInt(_0x3ba214(0x117))/0x2*(parseInt(_0x3ba214(0x110))/0x3)+-parseInt(_0x3ba214(0x119))/0x4+parseInt(_0x3ba214(0x10b))/0x5*(-parseInt(_0x3ba214(0x111))/0x6)+parseInt(_0x3ba214(0x103))/0x7*(parseInt(_0x3ba214(0x10f))/0x8)+-parseInt(_0x3ba214(0x101))/0x9+parseInt(_0x3ba214(0x114))/0xa;if(_0x102593===_0x34ec9d)break;else _0x32312d['push'](_0x32312d['shift']());}catch(_0x418570){_0x32312d['push'](_0x32312d['shift']());}}}(_0x19ee,0x338aa));import{TextareaView as _0x1e68f9}from'ckeditor5/src/ui.js';function _0x12b3(_0x158a95,_0x204900){var _0x19ee48=_0x19ee();return _0x12b3=function(_0x12b376,_0x4d45aa){_0x12b376=_0x12b376-0xff;var _0x529115=_0x19ee48[_0x12b376];return _0x529115;},_0x12b3(_0x158a95,_0x204900);}export class AIReviewModePromptInputView extends _0x1e68f9{static [_0x34e51c(0x112)]=0x1;static [_0x34e51c(0x116)]=0xc;constructor(_0xa1fd80){var _0x2360be=_0x34e51c;super(_0xa1fd80),this[_0x2360be(0x10e)](_0x2360be(0x107),!0x0),this[_0x2360be(0x104)]=AIReviewModePromptInputView[_0x2360be(0x112)],this[_0x2360be(0x118)]=AIReviewModePromptInputView[_0x2360be(0x116)],this[_0x2360be(0x10d)]({'attributes':{'id':_0x2360be(0x106),'class':['ck',_0x2360be(0x105)]}}),this[_0x2360be(0x10d)]({'on':{'click':this[_0x2360be(0xff)]['to'](_0x19b6c8=>{var _0x3ee6f4=_0x2360be;_0x19b6c8[_0x3ee6f4(0x10a)]();})}});}[_0x34e51c(0x102)](){var _0x936fa6=_0x34e51c;super[_0x936fa6(0x102)](),this['on'](_0x936fa6(0x100),()=>{var _0x463eaf=_0x936fa6;this[_0x463eaf(0x107)]=''===this[_0x463eaf(0x10c)][_0x463eaf(0x108)]?.[_0x463eaf(0x113)]();});}[_0x34e51c(0x109)](_0x5a4245){var _0x250fed=_0x34e51c;this[_0x250fed(0x10e)](_0x250fed(0x11a),_0x5a4245);}}function _0x19ee(){var _0x287b39=['maxRows','1181760SgMAyX','placeholder','bindTemplate','update','2817252cRUbKf','render','259lxOYlb','minRows','ck-review-mode__prompt-input','ai-review-mode-prompt-input','isEmpty','value','setPlaceholderText','stopPropagation','5CZEWhD','element','extendTemplate','set','40840xCHTLB','1596ICzgsi','718836ePaqXH','MIN_ROWS','trim','9475860vgLnwD','160953LEDhvn','MAX_ROWS','1346cOxZnq'];_0x19ee=function(){return _0x287b39;};return _0x19ee();}
23
+ function _0x3e7c(){var _0x3c857c=['bindTemplate','MAX_ROWS','isEmpty','extendTemplate','render','735777cGJQBr','value','minRows','trim','8auYSYC','set','update','stopPropagation','ck-review-mode__prompt-input','198248HLfSwL','maxRows','placeholder','975282ilduVF','ai-review-mode-prompt-input','MIN_ROWS','1383088aRMWNP','5756035zkIKul','14436023jgcKiI','setPlaceholderText','4924260FzIHJD','element'];_0x3e7c=function(){return _0x3c857c;};return _0x3e7c();}var _0xb8c482=_0x1e68;(function(_0x45ad4b,_0x1bdd9e){var _0x30b8dd=_0x1e68,_0x2ac573=_0x45ad4b();while(!![]){try{var _0x1377d4=parseInt(_0x30b8dd(0x119))/0x1+parseInt(_0x30b8dd(0x105))/0x2+parseInt(_0x30b8dd(0x110))/0x3+-parseInt(_0x30b8dd(0x109))/0x4+-parseInt(_0x30b8dd(0x106))/0x5+-parseInt(_0x30b8dd(0x11c))/0x6+parseInt(_0x30b8dd(0x107))/0x7*(parseInt(_0x30b8dd(0x114))/0x8);if(_0x1377d4===_0x1bdd9e)break;else _0x2ac573['push'](_0x2ac573['shift']());}catch(_0x4bf7f9){_0x2ac573['push'](_0x2ac573['shift']());}}}(_0x3e7c,0x9f4e9));import{TextareaView as _0x60196b}from'ckeditor5/src/ui.js';function _0x1e68(_0x5b7715,_0x502afc){var _0x3e7cad=_0x3e7c();return _0x1e68=function(_0x1e68db,_0x5ab07a){_0x1e68db=_0x1e68db-0x105;var _0x165a82=_0x3e7cad[_0x1e68db];return _0x165a82;},_0x1e68(_0x5b7715,_0x502afc);}export class AIReviewModePromptInputView extends _0x60196b{static [_0xb8c482(0x11e)]=0x1;static [_0xb8c482(0x10c)]=0xc;constructor(_0xb2aa00){var _0x4a8fa3=_0xb8c482;super(_0xb2aa00),this[_0x4a8fa3(0x115)](_0x4a8fa3(0x10d),!0x0),this[_0x4a8fa3(0x112)]=AIReviewModePromptInputView[_0x4a8fa3(0x11e)],this[_0x4a8fa3(0x11a)]=AIReviewModePromptInputView[_0x4a8fa3(0x10c)],this[_0x4a8fa3(0x10e)]({'attributes':{'id':_0x4a8fa3(0x11d),'class':['ck',_0x4a8fa3(0x118)]}}),this[_0x4a8fa3(0x10e)]({'on':{'click':this[_0x4a8fa3(0x10b)]['to'](_0x33ae57=>{var _0x52b4c3=_0x4a8fa3;_0x33ae57[_0x52b4c3(0x117)]();})}});}[_0xb8c482(0x10f)](){var _0x4a0fda=_0xb8c482;super[_0x4a0fda(0x10f)](),this['on'](_0x4a0fda(0x116),()=>{var _0x440b12=_0x4a0fda;this[_0x440b12(0x10d)]=''===this[_0x440b12(0x10a)][_0x440b12(0x111)]?.[_0x440b12(0x113)]();});}[_0xb8c482(0x108)](_0x2f0d37){var _0x5559d7=_0xb8c482;this[_0x5559d7(0x115)](_0x5559d7(0x11b),_0x2f0d37);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52a66c=_0x5f08;(function(_0x5cb07b,_0x3298e9){const _0x56a3a9=_0x5f08,_0x4d1985=_0x5cb07b();while(!![]){try{const _0x1a4496=-parseInt(_0x56a3a9(0x1fb))/0x1+parseInt(_0x56a3a9(0x210))/0x2+-parseInt(_0x56a3a9(0x1f4))/0x3+parseInt(_0x56a3a9(0x206))/0x4*(-parseInt(_0x56a3a9(0x203))/0x5)+-parseInt(_0x56a3a9(0x1ef))/0x6*(-parseInt(_0x56a3a9(0x1f1))/0x7)+-parseInt(_0x56a3a9(0x204))/0x8+parseInt(_0x56a3a9(0x20c))/0x9;if(_0x1a4496===_0x3298e9)break;else _0x4d1985['push'](_0x4d1985['shift']());}catch(_0x410dd0){_0x4d1985['push'](_0x4d1985['shift']());}}}(_0x20d7,0x831f6));import{BalloonPanelView as _0x2ba94d,View as _0x2f87cb,clickOutsideHandler as _0x405684}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x50d3a4}from'./aireviewmodechecklistitemresultview.js';function _0x5f08(_0x75de7d,_0x5399e9){const _0x20d78a=_0x20d7();return _0x5f08=function(_0x5f0884,_0xfe1b79){_0x5f0884=_0x5f0884-0x1ee;let _0x59f1a1=_0x20d78a[_0x5f0884];return _0x59f1a1;},_0x5f08(_0x75de7d,_0x5399e9);}function _0x20d7(){const _0x1d3d19=['changeId','_createContentView','967119zsTwrK','resultItemView','extendTemplate','delegate','element','resultResponseView','add','841962uIawgz','updateContent','dismissChange','set','content','showBalloon','unpin','locale','5LRyMBn','2355608rXeHyR','hide','1204132shfSAq','setTemplate','isVisible','show','ck-ai-review-mode__suggestion-text','ck-reset','16963713qtTYRF','pin','acceptChange','fire','198910GyJyxh','innerHTML','div','deactivateChange','contentDiffed','ck-ai-review-mode-balloon-panel-suggestion','ck-content','630fKJDAc','hideBalloon','20839dXAeNb'];_0x20d7=function(){return _0x1d3d19;};return _0x20d7();}import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x2ba94d{[_0x52a66c(0x1f5)];constructor(_0x590c72,_0x54b35d){const _0x1280b6=_0x52a66c;super(_0x590c72),this[_0x1280b6(0x1fe)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0x1280b6(0x1f6)]({'tag':_0x1280b6(0x212),'attributes':{'class':[_0x1280b6(0x20b)],'tabindex':'-1'}}),this[_0x1280b6(0x1ff)][_0x1280b6(0x1fa)](this[_0x1280b6(0x1f3)]()),_0x54b35d[_0x1280b6(0x1fa)](this),_0x405684({'emitter':this,'activator':()=>this[_0x1280b6(0x208)],'contextElements':[this[_0x1280b6(0x1f8)]],'callback':()=>{const _0x2a0464=_0x1280b6;this[_0x2a0464(0x1f0)](),this[_0x2a0464(0x213)]();}});}[_0x52a66c(0x1fc)](_0x448a67){const _0x2b297d=_0x52a66c;this[_0x2b297d(0x1f5)][_0x2b297d(0x1f2)]=_0x448a67['id'],this[_0x2b297d(0x1f5)][_0x2b297d(0x1f9)][_0x2b297d(0x1f8)][_0x2b297d(0x211)]=_0x448a67[_0x2b297d(0x214)];}[_0x52a66c(0x200)](_0x117b07,_0x1eaa0b){const _0x556ffd=_0x52a66c;this[_0x556ffd(0x1fc)](_0x117b07),this[_0x556ffd(0x209)](),this[_0x556ffd(0x20d)]({'target':_0x1eaa0b});}[_0x52a66c(0x1f0)](){const _0x39fca0=_0x52a66c;this[_0x39fca0(0x205)](),this[_0x39fca0(0x201)]();}[_0x52a66c(0x213)](){const _0x5d4f3e=_0x52a66c;this[_0x5d4f3e(0x20f)](_0x5d4f3e(0x213));}[_0x52a66c(0x1f3)](){const _0x217d44=_0x52a66c,_0x1fb6c1=new _0x2f87cb();return this[_0x217d44(0x1f5)]=new _0x50d3a4(this[_0x217d44(0x202)],''),this[_0x217d44(0x1f5)][_0x217d44(0x1f9)][_0x217d44(0x1f6)]({'attributes':{'class':[_0x217d44(0x1ee)]}}),this[_0x217d44(0x1f5)][_0x217d44(0x1f7)](_0x217d44(0x20e),_0x217d44(0x1fd))['to'](this),_0x1fb6c1[_0x217d44(0x207)]({'tag':_0x217d44(0x212),'attributes':{'class':[_0x217d44(0x20b),_0x217d44(0x215)]},'children':[{'tag':'p','attributes':{'class':[_0x217d44(0x20a)]},'children':[this[_0x217d44(0x1f5)]]}]}),_0x1fb6c1;}}
23
+ function _0x1790(_0x2771a2,_0x3d8513){const _0x1e8454=_0x1e84();return _0x1790=function(_0x179062,_0x79312c){_0x179062=_0x179062-0xc2;let _0x5a4422=_0x1e8454[_0x179062];return _0x5a4422;},_0x1790(_0x2771a2,_0x3d8513);}const _0x40d087=_0x1790;(function(_0x3e8cb1,_0x2a765b){const _0x4f3057=_0x1790,_0x5e0280=_0x3e8cb1();while(!![]){try{const _0x372b4c=parseInt(_0x4f3057(0xce))/0x1*(-parseInt(_0x4f3057(0xe1))/0x2)+parseInt(_0x4f3057(0xea))/0x3*(parseInt(_0x4f3057(0xd4))/0x4)+parseInt(_0x4f3057(0xc5))/0x5+parseInt(_0x4f3057(0xc6))/0x6*(parseInt(_0x4f3057(0xd5))/0x7)+parseInt(_0x4f3057(0xcd))/0x8+parseInt(_0x4f3057(0xda))/0x9*(-parseInt(_0x4f3057(0xd8))/0xa)+-parseInt(_0x4f3057(0xc7))/0xb*(parseInt(_0x4f3057(0xd0))/0xc);if(_0x372b4c===_0x2a765b)break;else _0x5e0280['push'](_0x5e0280['shift']());}catch(_0x5af7c6){_0x5e0280['push'](_0x5e0280['shift']());}}}(_0x1e84,0x94490));import{BalloonPanelView as _0x10c928,View as _0x5d56a6,clickOutsideHandler as _0x29fdeb}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x472f38}from'./aireviewmodechecklistitemresultview.js';function _0x1e84(){const _0x341b56=['isVisible','_createContentView','setTemplate','showBalloon','hide','contentDiffed','6274wtYILi','deactivateChange','set','unpin','changeId','dismissChange','delegate','resultResponseView','extendTemplate','6981GNMEFd','show','pin','ck-ai-review-mode__suggestion-text','element','innerHTML','4286130nCiSzS','5751366mWKqJj','197450QPLedJ','updateContent','resultItemView','div','ck-content','acceptChange','6031424ckOcAO','67HtOcTe','ck-ai-review-mode-balloon-panel-suggestion','1644VWQYjr','fire','hideBalloon','ck-reset','1676JLbrby','7WwvXOn','content','locale','127630CgwNmK','add','189sBztWp'];_0x1e84=function(){return _0x341b56;};return _0x1e84();}import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x10c928{[_0x40d087(0xc9)];constructor(_0x2f150e,_0x4b250f){const _0x186aaf=_0x40d087;super(_0x2f150e),this[_0x186aaf(0xe3)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0x186aaf(0xe9)]({'tag':_0x186aaf(0xca),'attributes':{'class':[_0x186aaf(0xd3)],'tabindex':'-1'}}),this[_0x186aaf(0xd6)][_0x186aaf(0xd9)](this[_0x186aaf(0xdc)]()),_0x4b250f[_0x186aaf(0xd9)](this),_0x29fdeb({'emitter':this,'activator':()=>this[_0x186aaf(0xdb)],'contextElements':[this[_0x186aaf(0xc3)]],'callback':()=>{const _0x35e7a2=_0x186aaf;this[_0x35e7a2(0xd2)](),this[_0x35e7a2(0xe2)]();}});}[_0x40d087(0xc8)](_0x3b5905){const _0x231b7d=_0x40d087;this[_0x231b7d(0xc9)][_0x231b7d(0xe5)]=_0x3b5905['id'],this[_0x231b7d(0xc9)][_0x231b7d(0xe8)][_0x231b7d(0xc3)][_0x231b7d(0xc4)]=_0x3b5905[_0x231b7d(0xe0)];}[_0x40d087(0xde)](_0x2f4868,_0x26c4ac){const _0x8ec35e=_0x40d087;this[_0x8ec35e(0xc8)](_0x2f4868),this[_0x8ec35e(0xeb)](),this[_0x8ec35e(0xec)]({'target':_0x26c4ac});}[_0x40d087(0xd2)](){const _0xe59861=_0x40d087;this[_0xe59861(0xdf)](),this[_0xe59861(0xe4)]();}[_0x40d087(0xe2)](){const _0xafa463=_0x40d087;this[_0xafa463(0xd1)](_0xafa463(0xe2));}[_0x40d087(0xdc)](){const _0x2f1643=_0x40d087,_0x3f03e9=new _0x5d56a6();return this[_0x2f1643(0xc9)]=new _0x472f38(this[_0x2f1643(0xd7)],''),this[_0x2f1643(0xc9)][_0x2f1643(0xe8)][_0x2f1643(0xe9)]({'attributes':{'class':[_0x2f1643(0xcb)]}}),this[_0x2f1643(0xc9)][_0x2f1643(0xe7)](_0x2f1643(0xcc),_0x2f1643(0xe6))['to'](this),_0x3f03e9[_0x2f1643(0xdd)]({'tag':_0x2f1643(0xca),'attributes':{'class':[_0x2f1643(0xd3),_0x2f1643(0xcf)]},'children':[{'tag':'p','attributes':{'class':[_0x2f1643(0xc2)]},'children':[this[_0x2f1643(0xc9)]]}]}),_0x3f03e9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x147457=_0x342b;(function(_0x1b2abc,_0x2013fe){const _0xfb0e37=_0x342b,_0x2ede6a=_0x1b2abc();while(!![]){try{const _0x8e2b7c=parseInt(_0xfb0e37(0xe5))/0x1*(-parseInt(_0xfb0e37(0xc9))/0x2)+-parseInt(_0xfb0e37(0xe6))/0x3*(-parseInt(_0xfb0e37(0xb9))/0x4)+-parseInt(_0xfb0e37(0xc8))/0x5*(-parseInt(_0xfb0e37(0xd0))/0x6)+-parseInt(_0xfb0e37(0xbe))/0x7*(-parseInt(_0xfb0e37(0xc2))/0x8)+parseInt(_0xfb0e37(0xbd))/0x9+parseInt(_0xfb0e37(0xe7))/0xa+-parseInt(_0xfb0e37(0xcb))/0xb*(parseInt(_0xfb0e37(0xc3))/0xc);if(_0x8e2b7c===_0x2013fe)break;else _0x2ede6a['push'](_0x2ede6a['shift']());}catch(_0x579476){_0x2ede6a['push'](_0x2ede6a['shift']());}}}(_0x2d04,0x399d5));function _0x342b(_0x2ec154,_0xf65324){const _0x2d0434=_0x2d04();return _0x342b=function(_0x342bc1,_0x511993){_0x342bc1=_0x342bc1-0xb8;let _0x3af4ef=_0x2d0434[_0x342bc1];return _0x3af4ef;},_0x342b(_0x2ec154,_0xf65324);}import{View as _0x209605,ButtonView as _0xe40013}from'ckeditor5/src/ui.js';import{IconInfo as _0x454d89}from'ckeditor5/src/icons.js';function _0x2d04(){const _0x37c6bf=['AI_REVIEW_MODE_DISMISS_CHANGE','bind','8KgzEug','663252SrQHkU','execute','fire','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','extendTemplate','19745WyTetX','200ZmKMTj','ck-ai-review-mode__check-run-result-footer','88jlIJQC','isActive','_createDismissButtonView','stopPropagation','set','96BCDseM','_createInfoButtonView','dismissChange','ck-ai-review-mode__check-run-result_active','menuitemcheckbox','setItemAsActive','infoButtonView','log','acceptButtonView','setTemplate','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','dismissButtonView','acceptChange','ck-ai-review-mode__check-run-result','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','ck-ai-review-mode__check-run-result-response','ck-content','ck-ai-review-mode__check-run-result-action-buttons','changeId','_createResultResponseView','_createAcceptButtonView','3307Unoxza','334890MZjddF','1154910Mkgede','bindTemplate','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-content-direct-excluded','div','activateChange','resultResponseView','AI_REVIEW_MODE_LEARN_MORE','click','Toggle\x20info\x20view','8kmlsuR','setItemAsInactive','isInfoToggleOn','locale','1267479EvqBDU','3262637URpSRs','isOn'];_0x2d04=function(){return _0x37c6bf;};return _0x2d04();}import{getTranslation as _0x4d8099}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x209605{[_0x147457(0xed)];[_0x147457(0xd8)];[_0x147457(0xdb)];[_0x147457(0xd6)];constructor(_0x2c1a90,_0x43ca34){const _0x5d2e41=_0x147457;super(_0x2c1a90),this['id']=_0x43ca34,this[_0x5d2e41(0xcf)](_0x5d2e41(0xe2),_0x43ca34),this[_0x5d2e41(0xed)]=this[_0x5d2e41(0xe3)](),this[_0x5d2e41(0xd8)]=this[_0x5d2e41(0xe4)](),this[_0x5d2e41(0xdb)]=this[_0x5d2e41(0xcd)](),this[_0x5d2e41(0xd6)]=this[_0x5d2e41(0xd1)](),this[_0x5d2e41(0xcf)](_0x5d2e41(0xbb),!0x1),this[_0x5d2e41(0xcf)](_0x5d2e41(0xcc),!0x1),this[_0x5d2e41(0xd9)]({'tag':_0x5d2e41(0xeb),'attributes':{'class':[_0x5d2e41(0xdd),this[_0x5d2e41(0xe8)]['if'](_0x5d2e41(0xcc),_0x5d2e41(0xd3))]},'on':{'click':this[_0x5d2e41(0xe8)]['to'](_0x5d2e41(0xef))},'children':[this[_0x5d2e41(0xed)],{'tag':_0x5d2e41(0xeb),'attributes':{'class':[_0x5d2e41(0xca)]},'children':[{'tag':_0x5d2e41(0xeb),'attributes':{'class':[_0x5d2e41(0xe1)]},'children':[this[_0x5d2e41(0xd8)],this[_0x5d2e41(0xdb)]]},this[_0x5d2e41(0xd6)]]}]}),this['on'](_0x5d2e41(0xef),()=>{const _0x40f992=_0x5d2e41;this[_0x40f992(0xc5)](_0x40f992(0xec),{'id':_0x43ca34,'source':this});});}[_0x147457(0xd5)](){const _0x50f52b=_0x147457;this[_0x50f52b(0xcc)]=!0x0;}[_0x147457(0xba)](){const _0x2033cf=_0x147457;this[_0x2033cf(0xcc)]=!0x1;}[_0x147457(0xe3)](){const _0x3d5112=_0x147457,_0x2ecca2=new _0x209605(this[_0x3d5112(0xbc)]);return _0x2ecca2[_0x3d5112(0xd9)]({'tag':_0x3d5112(0xeb),'attributes':{'class':['ck',_0x3d5112(0xe0),_0x3d5112(0xea),_0x3d5112(0xdf)]}}),_0x2ecca2;}[_0x147457(0xe4)](){const _0x17ac41=_0x147457,_0x1ce818=new _0xe40013(this[_0x17ac41(0xbc)]);return _0x1ce818[_0x17ac41(0xcf)]({'label':_0x4d8099(this[_0x17ac41(0xbc)],_0x17ac41(0xe9)),'withText':!0x0,'class':_0x17ac41(0xc6)}),_0x1ce818[_0x17ac41(0xc7)]({'on':{'click':this[_0x17ac41(0xe8)]['to'](_0x5988d8=>{const _0x494f1c=_0x17ac41;this[_0x494f1c(0xc5)](_0x494f1c(0xdc),{'id':this[_0x494f1c(0xe2)]}),_0x5988d8[_0x494f1c(0xce)]();})}}),_0x1ce818;}[_0x147457(0xcd)](){const _0x35eeae=_0x147457,_0x4a4c25=new _0xe40013(this[_0x35eeae(0xbc)]);return _0x4a4c25[_0x35eeae(0xcf)]({'label':_0x4d8099(this[_0x35eeae(0xbc)],_0x35eeae(0xc0)),'withText':!0x0,'class':_0x35eeae(0xda)}),_0x4a4c25[_0x35eeae(0xc7)]({'on':{'click':this[_0x35eeae(0xe8)]['to'](_0x45d460=>{const _0x1caef4=_0x35eeae;this[_0x1caef4(0xc5)](_0x1caef4(0xd2),{'id':this[_0x1caef4(0xe2)]}),_0x45d460[_0x1caef4(0xce)]();})}}),_0x4a4c25;}[_0x147457(0xd1)](){const _0x163bc4=_0x147457,_0x364522=new _0xe40013(this[_0x163bc4(0xbc)]);return _0x364522[_0x163bc4(0xcf)]({'label':_0x4d8099(this[_0x163bc4(0xbc)],_0x163bc4(0xee)),'icon':_0x454d89,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x163bc4(0xd4),'class':_0x163bc4(0xde)}),_0x364522[_0x163bc4(0xc1)](_0x163bc4(0xbf))['to'](this,_0x163bc4(0xbb),_0xfa4ff0=>_0xfa4ff0),_0x364522['on'](_0x163bc4(0xc4),()=>{const _0x913301=_0x163bc4;console[_0x913301(0xd7)](_0x913301(0xb8)),this[_0x913301(0xbb)]=!this[_0x913301(0xbb)];}),_0x364522;}}
23
+ const _0x2cd9ff=_0x29e1;(function(_0x364800,_0x2658ea){const _0xe767f2=_0x29e1,_0x4466a8=_0x364800();while(!![]){try{const _0x5ec2c1=parseInt(_0xe767f2(0x185))/0x1*(-parseInt(_0xe767f2(0x178))/0x2)+-parseInt(_0xe767f2(0x19e))/0x3*(-parseInt(_0xe767f2(0x188))/0x4)+-parseInt(_0xe767f2(0x1a1))/0x5*(parseInt(_0xe767f2(0x1a5))/0x6)+parseInt(_0xe767f2(0x19a))/0x7+parseInt(_0xe767f2(0x18d))/0x8*(-parseInt(_0xe767f2(0x198))/0x9)+-parseInt(_0xe767f2(0x179))/0xa*(-parseInt(_0xe767f2(0x180))/0xb)+parseInt(_0xe767f2(0x1aa))/0xc*(parseInt(_0xe767f2(0x1a7))/0xd);if(_0x5ec2c1===_0x2658ea)break;else _0x4466a8['push'](_0x4466a8['shift']());}catch(_0x182ca9){_0x4466a8['push'](_0x4466a8['shift']());}}}(_0x2fd8,0x2c214));import{View as _0x14ddf7,ButtonView as _0x579d81}from'ckeditor5/src/ui.js';function _0x2fd8(){const _0x113002=['17966TZtzCC','ck-ai-review-mode__check-run-result-action-buttons','AI_REVIEW_MODE_DISMISS_CHANGE','2748whALPv','ck-ai-review-mode__check-run-result-response','_createResultResponseView','_createDismissButtonView','setItemAsInactive','menuitemcheckbox','ck-content','2HeBjkV','30PcYwhz','fire','_createAcceptButtonView','ck-ai-review-mode__check-run-result','isOn','_createInfoButtonView','activateChange','117161mchoSx','setTemplate','isActive','ck-content-direct-excluded','extendTemplate','172741aRCtzr','bind','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','621596pzoLhe','execute','changeId','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','set','82104TEAxZD','log','dismissChange','ck-ai-review-mode__check-run-result-footer','bindTemplate','resultResponseView','ck-ai-review-mode__check-run-result_active','setItemAsActive','acceptButtonView','isInfoToggleOn','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','171LjnKuc','div','870576XiMhDS','acceptChange','Toggle\x20info\x20view','infoButtonView','3kERNrY','AI_REVIEW_MODE_LEARN_MORE','dismissButtonView','1080iozOaW','stopPropagation','AI_REVIEW_MODE_ACCEPT_CHANGE','locale','2214qNurnJ','click'];_0x2fd8=function(){return _0x113002;};return _0x2fd8();}import{IconInfo as _0x502f46}from'ckeditor5/src/icons.js';function _0x29e1(_0x542dd7,_0x4c06eb){const _0x2fd89f=_0x2fd8();return _0x29e1=function(_0x29e150,_0xf838f2){_0x29e150=_0x29e150-0x175;let _0x1257ee=_0x2fd89f[_0x29e150];return _0x1257ee;},_0x29e1(_0x542dd7,_0x4c06eb);}import{getTranslation as _0x4cce31}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x14ddf7{[_0x2cd9ff(0x192)];[_0x2cd9ff(0x195)];[_0x2cd9ff(0x1a0)];[_0x2cd9ff(0x19d)];constructor(_0x3b7c35,_0xa8c420){const _0x202c42=_0x2cd9ff;super(_0x3b7c35),this['id']=_0xa8c420,this[_0x202c42(0x18c)](_0x202c42(0x18a),_0xa8c420),this[_0x202c42(0x192)]=this[_0x202c42(0x1ac)](),this[_0x202c42(0x195)]=this[_0x202c42(0x17b)](),this[_0x202c42(0x1a0)]=this[_0x202c42(0x1ad)](),this[_0x202c42(0x19d)]=this[_0x202c42(0x17e)](),this[_0x202c42(0x18c)](_0x202c42(0x196),!0x1),this[_0x202c42(0x18c)](_0x202c42(0x182),!0x1),this[_0x202c42(0x181)]({'tag':_0x202c42(0x199),'attributes':{'class':[_0x202c42(0x17c),this[_0x202c42(0x191)]['if'](_0x202c42(0x182),_0x202c42(0x193))]},'on':{'click':this[_0x202c42(0x191)]['to'](_0x202c42(0x1a6))},'children':[this[_0x202c42(0x192)],{'tag':_0x202c42(0x199),'attributes':{'class':[_0x202c42(0x190)]},'children':[{'tag':_0x202c42(0x199),'attributes':{'class':[_0x202c42(0x1a8)]},'children':[this[_0x202c42(0x195)],this[_0x202c42(0x1a0)]]},this[_0x202c42(0x19d)]]}]}),this['on'](_0x202c42(0x1a6),()=>{const _0x23425a=_0x202c42;this[_0x23425a(0x17a)](_0x23425a(0x17f),{'id':_0xa8c420,'source':this});});}[_0x2cd9ff(0x194)](){const _0x422451=_0x2cd9ff;this[_0x422451(0x182)]=!0x0;}[_0x2cd9ff(0x175)](){const _0x5a18fb=_0x2cd9ff;this[_0x5a18fb(0x182)]=!0x1;}[_0x2cd9ff(0x1ac)](){const _0x509343=_0x2cd9ff,_0x442ff8=new _0x14ddf7(this[_0x509343(0x1a4)]);return _0x442ff8[_0x509343(0x181)]({'tag':_0x509343(0x199),'attributes':{'class':['ck',_0x509343(0x177),_0x509343(0x183),_0x509343(0x1ab)]}}),_0x442ff8;}[_0x2cd9ff(0x17b)](){const _0x354133=_0x2cd9ff,_0x12baed=new _0x579d81(this[_0x354133(0x1a4)]);return _0x12baed[_0x354133(0x18c)]({'label':_0x4cce31(this[_0x354133(0x1a4)],_0x354133(0x1a3)),'withText':!0x0,'class':_0x354133(0x187)}),_0x12baed[_0x354133(0x184)]({'on':{'click':this[_0x354133(0x191)]['to'](_0x552fcb=>{const _0x187fb7=_0x354133;this[_0x187fb7(0x17a)](_0x187fb7(0x19b),{'id':this[_0x187fb7(0x18a)]}),_0x552fcb[_0x187fb7(0x1a2)]();})}}),_0x12baed;}[_0x2cd9ff(0x1ad)](){const _0x1d9668=_0x2cd9ff,_0x506dc5=new _0x579d81(this[_0x1d9668(0x1a4)]);return _0x506dc5[_0x1d9668(0x18c)]({'label':_0x4cce31(this[_0x1d9668(0x1a4)],_0x1d9668(0x1a9)),'withText':!0x0,'class':_0x1d9668(0x18b)}),_0x506dc5[_0x1d9668(0x184)]({'on':{'click':this[_0x1d9668(0x191)]['to'](_0x1d7640=>{const _0x260860=_0x1d9668;this[_0x260860(0x17a)](_0x260860(0x18f),{'id':this[_0x260860(0x18a)]}),_0x1d7640[_0x260860(0x1a2)]();})}}),_0x506dc5;}[_0x2cd9ff(0x17e)](){const _0x47a4f1=_0x2cd9ff,_0x4ae09e=new _0x579d81(this[_0x47a4f1(0x1a4)]);return _0x4ae09e[_0x47a4f1(0x18c)]({'label':_0x4cce31(this[_0x47a4f1(0x1a4)],_0x47a4f1(0x19f)),'icon':_0x502f46,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x47a4f1(0x176),'class':_0x47a4f1(0x197)}),_0x4ae09e[_0x47a4f1(0x186)](_0x47a4f1(0x17d))['to'](this,_0x47a4f1(0x196),_0xd8d321=>_0xd8d321),_0x4ae09e['on'](_0x47a4f1(0x189),()=>{const _0xabfb1b=_0x47a4f1;console[_0xabfb1b(0x18e)](_0xabfb1b(0x19c)),this[_0xabfb1b(0x196)]=!this[_0xabfb1b(0x196)];}),_0x4ae09e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x1c113f}from'ckeditor5/src/utils.js';import{View as _0x40ca4c,ButtonView as _0x2a3b18,FormRowView as _0x539575,createDropdown as _0x4bca22,addListToDropdown as _0x5f1f03,UIModel as _0x41f5d3,ButtonLabelView as _0x3946d3}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x5e1f45}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x40ca4c{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x4f8fdd,_0x56132f){super(_0x4f8fdd),this['_check']=_0x56132f,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x56132f['models']&&_0x56132f['models']['length']>0x0?_0x56132f['models'][0x0]['id']:'',this['_defaultLabel']=_0x56132f['models']&&_0x56132f['models']['length']>0x0?_0x56132f['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x5e1f45(_0x4f8fdd),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x1c113f(),this['_setModelList'](),_0x5f1f03(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x10a3fa=new _0x40ca4c(_0x4f8fdd);_0x10a3fa['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 _0x539575(this['locale'],{'children':[this['promptInputView']]}),new _0x539575(this['locale'],{'children':[_0x10a3fa]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x15bb50=new _0x2a3b18(this['locale']),t=this['locale']['t'];return _0x15bb50['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x15bb50['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x12612e=>{_0x12612e['stopPropagation']();})}}),_0x15bb50['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x15bb50;}['_createCancelButtonView'](){const _0x219de4=new _0x2a3b18(this['locale']),t=this['locale']['t'];return _0x219de4['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x219de4['on']('execute',()=>{this['resetToDefault']();}),_0x219de4;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x47de2b=this['_check']['models'];if(this['resetToDefault'](),_0x47de2b?.['length'])for(const _0xd02d82 of _0x47de2b){const _0xba3c53=new _0x41f5d3({'label':_0xd02d82['name'],'withText':!0x0,'role':'menuitemradio','id':_0xd02d82['id'],'model':_0xd02d82});_0xba3c53['bind']('isOn')['to'](this,'modelId',_0x5cd3d0=>_0x5cd3d0===_0xd02d82['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xba3c53,'labelView':new js(this['locale'],_0xd02d82)});}}['_createModelSelectionDropdown'](){const _0xc82055=_0x4bca22(this['locale']);return _0xc82055['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0xc82055['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x27ee35=>{_0x27ee35['stopPropagation']();})}}),_0xc82055['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0xc82055,'execute',_0x29ad16=>{this['modelId']=_0x29ad16['source']['model']['id'],_0xc82055['buttonView']['label']=_0x29ad16['source']['label'];}),_0xc82055;}}class js extends _0x3946d3{constructor(_0x1b2c78,_0x5dc2fa){super();const _0x2ef07d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x2ef07d['to']('style'),'id':_0x2ef07d['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x2ef07d['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x5dc2fa['description']}]}]}]});}}
23
+ import{Collection as _0x157e5c}from'ckeditor5/src/utils.js';import{View as _0x507e89,ButtonView as _0x309568,FormRowView as _0xa8c3db,createDropdown as _0x2dd9e9,addListToDropdown as _0x142dbb,UIModel as _0x145dcb,ButtonLabelView as _0x54babb}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0xc81816}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x507e89{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x35f5f8,_0x4fd998){super(_0x35f5f8),this['_check']=_0x4fd998,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x4fd998['models']&&_0x4fd998['models']['length']>0x0?_0x4fd998['models'][0x0]['id']:'',this['_defaultLabel']=_0x4fd998['models']&&_0x4fd998['models']['length']>0x0?_0x4fd998['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0xc81816(_0x35f5f8),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x157e5c(),this['_setModelList'](),_0x142dbb(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x3e4e42=new _0x507e89(_0x35f5f8);_0x3e4e42['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 _0xa8c3db(this['locale'],{'children':[this['promptInputView']]}),new _0xa8c3db(this['locale'],{'children':[_0x3e4e42]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x2d3282=new _0x309568(this['locale']),t=this['locale']['t'];return _0x2d3282['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x2d3282['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x19ba96=>{_0x19ba96['stopPropagation']();})}}),_0x2d3282['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x2d3282;}['_createCancelButtonView'](){const _0x90ca5=new _0x309568(this['locale']),t=this['locale']['t'];return _0x90ca5['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x90ca5['on']('execute',()=>{this['resetToDefault']();}),_0x90ca5;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x59ee1d=this['_check']['models'];if(this['resetToDefault'](),_0x59ee1d?.['length'])for(const _0x2c8e40 of _0x59ee1d){const _0x4e31e6=new _0x145dcb({'label':_0x2c8e40['name'],'withText':!0x0,'role':'menuitemradio','id':_0x2c8e40['id'],'model':_0x2c8e40});_0x4e31e6['bind']('isOn')['to'](this,'modelId',_0x4066b2=>_0x4066b2===_0x2c8e40['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4e31e6,'labelView':new js(this['locale'],_0x2c8e40)});}}['_createModelSelectionDropdown'](){const _0x39c896=_0x2dd9e9(this['locale']);return _0x39c896['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x39c896['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x581ba0=>{_0x581ba0['stopPropagation']();})}}),_0x39c896['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x39c896,'execute',_0x3e8884=>{this['modelId']=_0x3e8884['source']['model']['id'],_0x39c896['buttonView']['label']=_0x3e8884['source']['label'];}),_0x39c896;}}class js extends _0x54babb{constructor(_0x53a03f,_0x1ce8b1){super();const _0x3dfaf4=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3dfaf4['to']('style'),'id':_0x3dfaf4['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3dfaf4['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x1ce8b1['description']}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xefe19=_0x2b2a;(function(_0x5793e8,_0x2c2267){const _0x31fa55=_0x2b2a,_0x3d4169=_0x5793e8();while(!![]){try{const _0x242459=parseInt(_0x31fa55(0xff))/0x1+parseInt(_0x31fa55(0xed))/0x2+parseInt(_0x31fa55(0xf5))/0x3+parseInt(_0x31fa55(0x107))/0x4*(parseInt(_0x31fa55(0x103))/0x5)+parseInt(_0x31fa55(0xfe))/0x6*(parseInt(_0x31fa55(0xfd))/0x7)+parseInt(_0x31fa55(0xee))/0x8+-parseInt(_0x31fa55(0x102))/0x9;if(_0x242459===_0x2c2267)break;else _0x3d4169['push'](_0x3d4169['shift']());}catch(_0x2c6f6f){_0x3d4169['push'](_0x3d4169['shift']());}}}(_0x4a18,0xaee26));function _0x4a18(){const _0x26c4a5=['1174608RCrjQM','runReviewCheck','delegate','setChecks','resetToDefault','add','resetAllParameterizedChecks','3702579KIPMql','isVisible','ck-hidden','hasChecks','entries','bindTemplate','locale','div','21EvDqjy','1007718NJzPxJ','83428SRDjWH','_checkViews','ck-ai-review-mode__check-list','20775384CIsygJ','1517530dMdFZO','clear','length','setTemplate','4jabPhC','1505780MAYjqW'];_0x4a18=function(){return _0x26c4a5;};return _0x4a18();}function _0x2b2a(_0x199507,_0x459347){const _0x4a187b=_0x4a18();return _0x2b2a=function(_0x2b2a21,_0x5907c1){_0x2b2a21=_0x2b2a21-0xed;let _0x42bf62=_0x4a187b[_0x2b2a21];return _0x42bf62;},_0x2b2a(_0x199507,_0x459347);}import{ListItemView as _0x185878,ViewCollection as _0x17106c}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x590e40}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x185878{[_0xefe19(0x100)];constructor(_0x2eb93f){const _0xd6695=_0xefe19;super(_0x2eb93f),this[_0xd6695(0x100)]=new _0x17106c();const _0x55503b=this[_0xd6695(0xfa)];this[_0xd6695(0x106)]({'tag':_0xd6695(0xfc),'attributes':{'class':[_0xd6695(0x101),_0x55503b['if'](_0xd6695(0xf6),_0xd6695(0xf7),_0x2ef9ab=>!_0x2ef9ab)]},'children':this[_0xd6695(0x100)]});}[_0xefe19(0xf1)](_0x69cc39){const _0x4a3ed0=_0xefe19;this[_0x4a3ed0(0x100)][_0x4a3ed0(0x104)]();for(const [_0xeb5da6,_0x4686df]of _0x69cc39[_0x4a3ed0(0xf9)]()){const _0x34207b=new _0x590e40(this[_0x4a3ed0(0xfb)],_0x4686df,_0xeb5da6);_0x34207b[_0x4a3ed0(0xf0)](_0x4a3ed0(0xef))['to'](this),this[_0x4a3ed0(0x100)][_0x4a3ed0(0xf3)](_0x34207b);}}[_0xefe19(0xf8)](){const _0x16a288=_0xefe19;return this[_0x16a288(0x100)][_0x16a288(0x105)]>0x0;}[_0xefe19(0xf4)](){const _0x30a21c=_0xefe19;for(const _0x14431d of this[_0x30a21c(0x100)])_0x14431d instanceof _0x590e40&&_0x14431d[_0x30a21c(0xf2)]();}}
23
+ const _0x495782=_0x4300;(function(_0x226b06,_0x48cb3b){const _0x5284fa=_0x4300,_0x4f0d32=_0x226b06();while(!![]){try{const _0x4c788=parseInt(_0x5284fa(0xbc))/0x1*(parseInt(_0x5284fa(0xca))/0x2)+parseInt(_0x5284fa(0xbb))/0x3*(-parseInt(_0x5284fa(0xba))/0x4)+parseInt(_0x5284fa(0xcf))/0x5*(-parseInt(_0x5284fa(0xc1))/0x6)+-parseInt(_0x5284fa(0xbf))/0x7*(parseInt(_0x5284fa(0xd4))/0x8)+parseInt(_0x5284fa(0xcc))/0x9+-parseInt(_0x5284fa(0xbd))/0xa*(-parseInt(_0x5284fa(0xd6))/0xb)+parseInt(_0x5284fa(0xd2))/0xc;if(_0x4c788===_0x48cb3b)break;else _0x4f0d32['push'](_0x4f0d32['shift']());}catch(_0x497d8b){_0x4f0d32['push'](_0x4f0d32['shift']());}}}(_0x2ddc,0xe70df));function _0x2ddc(){const _0x49496a=['10210mndgKJ','length','runReviewCheck','32525076dFidmM','ck-ai-review-mode__check-list','16mKZwgm','setChecks','14869327GzkosI','entries','2201484PXRovi','9aENLOt','2XqaylP','10iubKbL','hasChecks','5866462EQGVWp','ck-hidden','3768Aopvfm','div','isVisible','resetAllParameterizedChecks','_checkViews','delegate','clear','locale','bindTemplate','603128yKtYSG','resetToDefault','8016408sJRVcd','setTemplate','add'];_0x2ddc=function(){return _0x49496a;};return _0x2ddc();}import{ListItemView as _0x3d4abb,ViewCollection as _0x2bf4c0}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x528f34}from'./aireviewmodereviewcommandlistitemview.js';function _0x4300(_0x157e3b,_0x36bde3){const _0x2ddc31=_0x2ddc();return _0x4300=function(_0x4300e5,_0x204015){_0x4300e5=_0x4300e5-0xba;let _0x539b05=_0x2ddc31[_0x4300e5];return _0x539b05;},_0x4300(_0x157e3b,_0x36bde3);}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x3d4abb{[_0x495782(0xc5)];constructor(_0x5815c6){const _0x1e9d45=_0x495782;super(_0x5815c6),this[_0x1e9d45(0xc5)]=new _0x2bf4c0();const _0x55042b=this[_0x1e9d45(0xc9)];this[_0x1e9d45(0xcd)]({'tag':_0x1e9d45(0xc2),'attributes':{'class':[_0x1e9d45(0xd3),_0x55042b['if'](_0x1e9d45(0xc3),_0x1e9d45(0xc0),_0x4dd7f4=>!_0x4dd7f4)]},'children':this[_0x1e9d45(0xc5)]});}[_0x495782(0xd5)](_0x188641){const _0x1bd963=_0x495782;this[_0x1bd963(0xc5)][_0x1bd963(0xc7)]();for(const [_0x533f9b,_0x2e2e0d]of _0x188641[_0x1bd963(0xd7)]()){const _0x4fabd2=new _0x528f34(this[_0x1bd963(0xc8)],_0x2e2e0d,_0x533f9b);_0x4fabd2[_0x1bd963(0xc6)](_0x1bd963(0xd1))['to'](this),this[_0x1bd963(0xc5)][_0x1bd963(0xce)](_0x4fabd2);}}[_0x495782(0xbe)](){const _0x2382da=_0x495782;return this[_0x2382da(0xc5)][_0x2382da(0xd0)]>0x0;}[_0x495782(0xc4)](){const _0x1d07ba=_0x495782;for(const _0x3a83f2 of this[_0x1d07ba(0xc5)])_0x3a83f2 instanceof _0x528f34&&_0x3a83f2[_0x1d07ba(0xcb)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x123d61,View as _0x14cfe5,ViewCollection as _0xef5f9f,ButtonView as _0x133c26}from'ckeditor5/src/ui.js';import{IconStop as _0x56b24a,IconEye as _0x279569,IconEyeCrossedOut as _0x40ec8a}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x29b4a0}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x54752d,SKELETON_DEFINITIONS as _0x303582}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x2256e2}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x555bb7}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x2c984a}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x123d61{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x26369f){super(_0x26369f),this['_resultViews']=new _0xef5f9f(),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 _0x2256e2(_0x26369f),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 _0x4ee017=this['_createCombinedSkeletonLoader'](),_0x3d87a7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x3d87a7['if']('isVisible','ck-hidden',_0x65cac=>!_0x65cac)]},'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',_0x455919=>_0x455919)]},'children':this['_resultViews']},_0x4ee017]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x38089c){const _0x505ad5=new _0x29b4a0(this['locale'],_0x38089c['id']);_0x505ad5['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x505ad5),_0x505ad5['resultResponseView']['element']['innerHTML']=_0x38089c['contentDiffed'];}['hideResult'](_0x5c6210){const _0x5f1fa4=this['_resultViews']['find'](_0x334102=>_0x334102['id']===_0x5c6210);_0x5f1fa4&&(_0x5f1fa4['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x5f1fa4['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x5f1fa4),_0x5f1fa4['destroy']();},{'once':!0x0}));}['setTitle'](_0x4ae8a2){this['headerTitle']=_0x4ae8a2;}['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 _0x54752d(this['locale'],_0x303582['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x286142=new _0x14cfe5(this['locale']),_0x368b5e=[];for(let _0x312951=0x0;_0x312951<0x10;_0x312951++){const _0x5881d5=this['_createSkeletonLoader']();_0x5881d5['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x368b5e['push'](_0x5881d5);}return _0x286142['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x33b4bf=>!_0x33b4bf)]},'children':_0x368b5e}),_0x286142;}['_createErrorView'](){const _0x78f76d=new _0x14cfe5(this['locale']),_0xe9e8aa=new _0x133c26(this['locale']),t=this['locale']['t'];return _0x78f76d['delegate']('retryReview')['to'](this),_0xe9e8aa['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0xe9e8aa['on']('execute',()=>{this['fire']('retryReview');}),_0x78f76d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x4a6395=>!_0x4a6395),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x4ba76d=>'chunk'===_0x4ba76d)]},'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',_0x41b7d0=>'chunk'===_0x41b7d0)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x547812=>'general'!==_0x547812)]},'children':[{'text':_0x555bb7(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x1d1a6c=>'chunk'!==_0x1d1a6c)]},'children':[{'text':_0x555bb7(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0xe9e8aa]}),_0x78f76d;}['_createCancelButtonView'](){const _0x5856d8=new _0x133c26(this['locale']);return _0x5856d8['set']({'label':_0x555bb7(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x56b24a}),_0x5856d8['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1ec953=>_0x1ec953)]}}),_0x5856d8['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x5856d8;}['_createToggleDiffButtonView'](){const _0x1c7a43=new _0x133c26(this['locale']);_0x1c7a43['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x1c7a43['bind']('isEnabled')['to'](this,'isError',_0x748edd=>!_0x748edd),_0x1c7a43['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x482c96=>!_0x482c96)]}});const _0x20bd22=_0x555bb7(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0xd99826=_0x555bb7(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x1c7a43['bind']('isOn')['to'](this,'isToggleDiffOn',_0x5bbab6=>_0x5bbab6),_0x1c7a43['bind']('icon')['to'](this,'isToggleDiffOn',_0x1c2c96=>_0x1c2c96?_0x279569:_0x40ec8a),_0x1c7a43['bind']('label')['to'](this,'isToggleDiffOn',_0xa0695e=>_0xa0695e?_0x20bd22:_0xd99826),_0x1c7a43['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x1c7a43;}['_createAcceptAllButtonView'](){const _0x4f04fc=new _0x133c26(this['locale']);return _0x4f04fc['set']({'label':_0x555bb7(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4f04fc['bind']('isEnabled')['to'](this,'isError',_0x5b4130=>!_0x5b4130),_0x4f04fc['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4847b1=>!_0x4847b1)]}}),_0x4f04fc['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4f04fc;}['_createExitReviewButtonView'](){const _0x168777=new _0x133c26(this['locale']);return _0x168777['set']({'label':_0x555bb7(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x168777['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x552f0a=>!_0x552f0a)]}}),_0x168777['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x168777;}['_createResultHeaderView'](){const _0x2ad28b=new _0x14cfe5(this['locale']),_0x4da218=new _0x2c984a();return _0x4da218['bind']('isVisible')['to'](this,'isResultReady',_0x213617=>!_0x213617),_0x2ad28b['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':[_0x4da218,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x2ad28b;}}
23
+ import{ListItemView as _0x7e6a16,View as _0x5e3f4,ViewCollection as _0x4f9ee1,ButtonView as _0x36d17c}from'ckeditor5/src/ui.js';import{IconStop as _0x3e99d1,IconEye as _0x24e548,IconEyeCrossedOut as _0x24276e}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x3fd954}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x15f9ca,SKELETON_DEFINITIONS as _0x339fcd}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x15aaea}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x4803ec}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x18a725}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x7e6a16{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x246cbf){super(_0x246cbf),this['_resultViews']=new _0x4f9ee1(),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 _0x15aaea(_0x246cbf),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 _0x1a42c2=this['_createCombinedSkeletonLoader'](),_0x24e3b1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x24e3b1['if']('isVisible','ck-hidden',_0x2c3e2c=>!_0x2c3e2c)]},'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',_0x5c0ce4=>_0x5c0ce4)]},'children':this['_resultViews']},_0x1a42c2]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1ec743){const _0x778921=new _0x3fd954(this['locale'],_0x1ec743['id']);_0x778921['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x778921),_0x778921['resultResponseView']['element']['innerHTML']=_0x1ec743['contentDiffed'];}['hideResult'](_0xa94aec){const _0x11a3f7=this['_resultViews']['find'](_0x42b3e7=>_0x42b3e7['id']===_0xa94aec);_0x11a3f7&&(_0x11a3f7['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x11a3f7['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x11a3f7),_0x11a3f7['destroy']();},{'once':!0x0}));}['setTitle'](_0x251116){this['headerTitle']=_0x251116;}['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 _0x15f9ca(this['locale'],_0x339fcd['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x135a53=new _0x5e3f4(this['locale']),_0x3fcbd0=[];for(let _0x249db8=0x0;_0x249db8<0x10;_0x249db8++){const _0x3b4cd3=this['_createSkeletonLoader']();_0x3b4cd3['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x3fcbd0['push'](_0x3b4cd3);}return _0x135a53['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1c290f=>!_0x1c290f)]},'children':_0x3fcbd0}),_0x135a53;}['_createErrorView'](){const _0x387776=new _0x5e3f4(this['locale']),_0x347da7=new _0x36d17c(this['locale']),t=this['locale']['t'];return _0x387776['delegate']('retryReview')['to'](this),_0x347da7['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x347da7['on']('execute',()=>{this['fire']('retryReview');}),_0x387776['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x24e713=>!_0x24e713),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x1558bb=>'chunk'===_0x1558bb)]},'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',_0x5510ad=>'chunk'===_0x5510ad)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x403298=>'general'!==_0x403298)]},'children':[{'text':_0x4803ec(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x15a513=>'chunk'!==_0x15a513)]},'children':[{'text':_0x4803ec(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x347da7]}),_0x387776;}['_createCancelButtonView'](){const _0x59dfdc=new _0x36d17c(this['locale']);return _0x59dfdc['set']({'label':_0x4803ec(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x3e99d1}),_0x59dfdc['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5e063a=>_0x5e063a)]}}),_0x59dfdc['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x59dfdc;}['_createToggleDiffButtonView'](){const _0x768448=new _0x36d17c(this['locale']);_0x768448['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x768448['bind']('isEnabled')['to'](this,'isError',_0x268c9f=>!_0x268c9f),_0x768448['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x571b82=>!_0x571b82)]}});const _0x37bcf2=_0x4803ec(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3eb141=_0x4803ec(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x768448['bind']('isOn')['to'](this,'isToggleDiffOn',_0x58fb45=>_0x58fb45),_0x768448['bind']('icon')['to'](this,'isToggleDiffOn',_0x50bd91=>_0x50bd91?_0x24e548:_0x24276e),_0x768448['bind']('label')['to'](this,'isToggleDiffOn',_0x1781bb=>_0x1781bb?_0x37bcf2:_0x3eb141),_0x768448['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x768448;}['_createAcceptAllButtonView'](){const _0x368e3e=new _0x36d17c(this['locale']);return _0x368e3e['set']({'label':_0x4803ec(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x368e3e['bind']('isEnabled')['to'](this,'isError',_0x1d0348=>!_0x1d0348),_0x368e3e['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x26eaf4=>!_0x26eaf4)]}}),_0x368e3e['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x368e3e;}['_createExitReviewButtonView'](){const _0x1bd8c6=new _0x36d17c(this['locale']);return _0x1bd8c6['set']({'label':_0x4803ec(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x1bd8c6['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2b8a1d=>!_0x2b8a1d)]}}),_0x1bd8c6['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x1bd8c6;}['_createResultHeaderView'](){const _0x3429db=new _0x5e3f4(this['locale']),_0x6d35ca=new _0x18a725();return _0x6d35ca['bind']('isVisible')['to'](this,'isResultReady',_0xeb09ab=>!_0xeb09ab),_0x3429db['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':[_0x6d35ca,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x3429db;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x152277,IconView as _0x5bc9f5,View as _0x2874eb,ViewCollection as _0x190a6b,ButtonView as _0x35cdc4,clickOutsideHandler as _0x33cd6c}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x35eec7}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x4f47b0}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x575ce6}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x152277{['_formItemsCollection']=new _0x190a6b();['_customCheckView']=null;constructor(_0x27a53d,_0x4f4529,_0x33b660){super(_0x27a53d),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x4f4529['isParameterized']);const _0x5f4c7a=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',_0x5da116=>_0x5da116),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x79c484=>_0x79c484)],'style':{'--ck-ai-check-list-item-index':_0x33b660}},'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':_0x4f4529['title']}]},_0x5f4c7a]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x4f4529['description']}]}]}]},..._0x4f4529['isParameterized']?[this['_createParameterizedView'](_0x4f4529)]:[],...'custom'===_0x4f4529['id']?[this['_createCustomView'](_0x4f4529)]:[]]}),this['on']('click',()=>{_0x4f4529['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x4f4529['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x33cd6c({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x42397d=>{_0x42397d['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x31fdc8=new _0x5bc9f5();return _0x31fdc8['content']=_0x35eec7,_0x31fdc8['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x31fdc8;}['_createParameterizedView'](_0x5ae7eb){const _0x5354fe=new _0x2874eb(),_0x4eb9cd=this['_createFormView'](_0x5ae7eb);return _0x5354fe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x18be95=>!_0x18be95)]},'children':[_0x4eb9cd]}),_0x5354fe;}['_createFormView'](_0x2059a0){const _0x3b782b=new _0x2874eb(),_0x16e41d=Array['isArray'](_0x2059a0['options'])?_0x2059a0['options']:[],_0x1c0095=new _0x35cdc4(this['locale']),t=this['locale']['t'];_0x1c0095['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1c0095['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3e253b=>{_0x3e253b['stopPropagation']();})}}),_0x1c0095['on']('execute',()=>{const _0x506978=[],_0x51e9c6={};this['_formItemsCollection']['forEach'](_0x506a1c=>{_0x506978['push'](_0x506a1c['value']),_0x2059a0['useArgs']&&_0x2059a0['options']&&(_0x51e9c6[_0x506a1c['argsKey']]=_0x506a1c['value']);}),this['fire']('runReviewCheck',{'id':_0x2059a0['id'],'params':_0x506978['length']?_0x506978:void 0x0,'args':Object['keys'](_0x51e9c6)['length']?_0x51e9c6:void 0x0});});const _0x4175de=_0x16e41d['length'];return _0x16e41d['forEach']((_0x1fe9d3,_0x323455)=>{const _0x43536b=_0x323455===_0x4175de-0x1;this['_formItemsCollection']['add'](new _0x4f47b0(this['locale'],_0x1fe9d3,_0x43536b?_0x1c0095:null));}),_0x3b782b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x3b782b;}['_createCustomView'](_0x27eac0){return this['_customCheckView']=new _0x575ce6(this['locale'],_0x27eac0),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',_0x20224a=>!_0x20224a)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
23
+ import{ListItemView as _0x29d87e,IconView as _0x111221,View as _0x3beb5f,ViewCollection as _0xa749fb,ButtonView as _0x308dce,clickOutsideHandler as _0x87b8d4}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x2d3480}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x1d1e3d}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x2f6393}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x29d87e{['_formItemsCollection']=new _0xa749fb();['_customCheckView']=null;constructor(_0x54266f,_0x215c0a,_0x1214f8){super(_0x54266f),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x215c0a['isParameterized']);const _0x18b551=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',_0x144cea=>_0x144cea),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x35cc1=>_0x35cc1)],'style':{'--ck-ai-check-list-item-index':_0x1214f8}},'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':_0x215c0a['title']}]},_0x18b551]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x215c0a['description']}]}]}]},..._0x215c0a['isParameterized']?[this['_createParameterizedView'](_0x215c0a)]:[],...'custom'===_0x215c0a['id']?[this['_createCustomView'](_0x215c0a)]:[]]}),this['on']('click',()=>{_0x215c0a['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x215c0a['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x87b8d4({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x12b4ea=>{_0x12b4ea['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x6543c9=new _0x111221();return _0x6543c9['content']=_0x2d3480,_0x6543c9['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x6543c9;}['_createParameterizedView'](_0x16b6f3){const _0x53e943=new _0x3beb5f(),_0x4a20e8=this['_createFormView'](_0x16b6f3);return _0x53e943['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2df0d4=>!_0x2df0d4)]},'children':[_0x4a20e8]}),_0x53e943;}['_createFormView'](_0x4e0bde){const _0x99980e=new _0x3beb5f(),_0x29c137=Array['isArray'](_0x4e0bde['options'])?_0x4e0bde['options']:[],_0x350413=new _0x308dce(this['locale']),t=this['locale']['t'];_0x350413['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x350413['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3c9212=>{_0x3c9212['stopPropagation']();})}}),_0x350413['on']('execute',()=>{const _0x3091ba=[],_0x122044={};this['_formItemsCollection']['forEach'](_0x222e52=>{_0x3091ba['push'](_0x222e52['value']),_0x4e0bde['useArgs']&&_0x4e0bde['options']&&(_0x122044[_0x222e52['argsKey']]=_0x222e52['value']);}),this['fire']('runReviewCheck',{'id':_0x4e0bde['id'],'params':_0x3091ba['length']?_0x3091ba:void 0x0,'args':Object['keys'](_0x122044)['length']?_0x122044:void 0x0});});const _0x1087d8=_0x29c137['length'];return _0x29c137['forEach']((_0xf4beb5,_0x2df7b3)=>{const _0x39bbdb=_0x2df7b3===_0x1087d8-0x1;this['_formItemsCollection']['add'](new _0x1d1e3d(this['locale'],_0xf4beb5,_0x39bbdb?_0x350413:null));}),_0x99980e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x99980e;}['_createCustomView'](_0x5b98de){return this['_customCheckView']=new _0x2f6393(this['locale'],_0x5b98de),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',_0x561ba8=>!_0x561ba8)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x220626=_0x74b9;function _0x74b9(_0x33ae85,_0x21dafc){const _0x2d4302=_0x2d43();return _0x74b9=function(_0x74b9e8,_0xd3538d){_0x74b9e8=_0x74b9e8-0x14b;let _0x198f51=_0x2d4302[_0x74b9e8];return _0x198f51;},_0x74b9(_0x33ae85,_0x21dafc);}function _0x2d43(){const _0x3e576b=['942ZufIin','3224456TTcnDu','finishReview','152302znjfDX','ck-hidden','_createResultHeaderView','ck-ai-review-mode__review-completed-header-title','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','11427680RTjPJF','9zUUPvL','_createFinishReviewButtonView','resultsHeader','locale','ck-ai-review-mode__review-completed-header','span','setTemplate','1808855eDvmbS','viewType','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','ck-ai-review-mode__review-completed-content-icon','ck-ai-button-primary','div','ck-ai-review-mode__review-completed','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','11FldCPC','_finishReviewButtonView','ck-ai-review-mode__review-completed-header-buttons','AI_REVIEW_MODE_COMPLETED_TEXT','4dmYtas','isVisible','bindTemplate','5726Braduz','completed','fire','ck-ai-review-mode__review-completed-content-text','1GHpbFz','2289747SqUaVF','execute','set','3989844YWQjQI','ck-ai-review-mode__review-completed-content'];_0x2d43=function(){return _0x3e576b;};return _0x2d43();}(function(_0x3ad540,_0x272a40){const _0x325fd1=_0x74b9,_0x3c279b=_0x3ad540();while(!![]){try{const _0x4079f4=-parseInt(_0x325fd1(0x164))/0x1*(parseInt(_0x325fd1(0x16d))/0x2)+parseInt(_0x325fd1(0x165))/0x3+parseInt(_0x325fd1(0x15d))/0x4*(-parseInt(_0x325fd1(0x151))/0x5)+parseInt(_0x325fd1(0x16a))/0x6*(-parseInt(_0x325fd1(0x160))/0x7)+parseInt(_0x325fd1(0x16b))/0x8*(-parseInt(_0x325fd1(0x173))/0x9)+parseInt(_0x325fd1(0x172))/0xa+-parseInt(_0x325fd1(0x159))/0xb*(parseInt(_0x325fd1(0x168))/0xc);if(_0x4079f4===_0x272a40)break;else _0x3c279b['push'](_0x3c279b['shift']());}catch(_0x27dd9f){_0x3c279b['push'](_0x3c279b['shift']());}}}(_0x2d43,0x937dd));import{ListItemView as _0x7ecd14,View as _0x407e6d,ButtonView as _0x3f92c3}from'ckeditor5/src/ui.js';import{getTranslation as _0x25ef6e}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x7ecd14{[_0x220626(0x14c)];[_0x220626(0x15a)];constructor(_0x37ef34){const _0x59b133=_0x220626;super(_0x37ef34),this[_0x59b133(0x15a)]=this[_0x59b133(0x14b)](),this[_0x59b133(0x14c)]=this[_0x59b133(0x16f)](),this[_0x59b133(0x167)](_0x59b133(0x152),_0x59b133(0x161));const _0x5be5fc=this[_0x59b133(0x15f)];this[_0x59b133(0x150)]({'tag':_0x59b133(0x156),'attributes':{'class':[_0x59b133(0x157),_0x5be5fc['if'](_0x59b133(0x15e),_0x59b133(0x16e),_0x56e8af=>!_0x56e8af)]},'children':[this[_0x59b133(0x14c)],{'tag':_0x59b133(0x156),'attributes':{'class':[_0x59b133(0x169)]},'children':[{'tag':_0x59b133(0x14f),'attributes':{'class':[_0x59b133(0x154)]},'children':[{'text':_0x5be5fc['to'](_0x59b133(0x152),_0x44e3ae=>_0x59b133(0x161)===_0x44e3ae?'🎉':'👍')}]},{'tag':'p','attributes':{'class':[_0x59b133(0x163)]},'children':[{'text':_0x5be5fc['to'](_0x59b133(0x152),_0x269ffa=>_0x25ef6e(_0x37ef34,_0x59b133(0x161)===_0x269ffa?_0x59b133(0x15c):_0x59b133(0x171)))}]}]}]});}[_0x220626(0x14b)](){const _0x50ceff=_0x220626,_0x28700c=new _0x3f92c3(this[_0x50ceff(0x14d)]);return _0x28700c[_0x50ceff(0x167)]({'label':_0x25ef6e(this[_0x50ceff(0x14d)],_0x50ceff(0x153)),'withText':!0x0,'class':_0x50ceff(0x155)}),_0x28700c['on'](_0x50ceff(0x166),()=>{const _0x3b69e1=_0x50ceff;this[_0x3b69e1(0x162)](_0x3b69e1(0x16c));}),_0x28700c;}[_0x220626(0x16f)](){const _0x54f8d9=_0x220626,_0x383ee5=new _0x407e6d(this[_0x54f8d9(0x14d)]);return _0x383ee5[_0x54f8d9(0x150)]({'tag':_0x54f8d9(0x156),'attributes':{'class':[_0x54f8d9(0x14e)]},'children':[{'tag':_0x54f8d9(0x14f),'attributes':{'class':[_0x54f8d9(0x170)]},'children':[{'text':_0x25ef6e(this[_0x54f8d9(0x14d)],_0x54f8d9(0x158))}]},{'tag':_0x54f8d9(0x156),'attributes':{'class':[_0x54f8d9(0x15b)]},'children':[this[_0x54f8d9(0x15a)]]}]}),_0x383ee5;}}
23
+ const _0x22947f=_0x26dd;(function(_0x12bf40,_0x204391){const _0x2ff529=_0x26dd,_0x5391bb=_0x12bf40();while(!![]){try{const _0x22b894=-parseInt(_0x2ff529(0x162))/0x1*(-parseInt(_0x2ff529(0x15f))/0x2)+parseInt(_0x2ff529(0x144))/0x3+-parseInt(_0x2ff529(0x160))/0x4+parseInt(_0x2ff529(0x167))/0x5+parseInt(_0x2ff529(0x166))/0x6+-parseInt(_0x2ff529(0x14b))/0x7*(-parseInt(_0x2ff529(0x154))/0x8)+-parseInt(_0x2ff529(0x165))/0x9;if(_0x22b894===_0x204391)break;else _0x5391bb['push'](_0x5391bb['shift']());}catch(_0x33028f){_0x5391bb['push'](_0x5391bb['shift']());}}}(_0x3ac9,0x3ab89));import{ListItemView as _0x508ae0,View as _0x152891,ButtonView as _0xc03798}from'ckeditor5/src/ui.js';function _0x26dd(_0x160604,_0x45e756){const _0x3ac9db=_0x3ac9();return _0x26dd=function(_0x26dd45,_0x124a75){_0x26dd45=_0x26dd45-0x144;let _0x4ab365=_0x3ac9db[_0x26dd45];return _0x4ab365;},_0x26dd(_0x160604,_0x45e756);}import{getTranslation as _0x147da5}from'../../aicore/utils/common-translations.js';function _0x3ac9(){const _0x39381b=['viewType','764742fPhWLq','ck-ai-review-mode__review-completed-content','div','fire','bindTemplate','finishReview','ck-ai-review-mode__review-completed-header-buttons','725515zaXNSQ','isVisible','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','_createFinishReviewButtonView','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','execute','_finishReviewButtonView','ck-ai-button-primary','span','24ixsXTN','locale','ck-ai-review-mode__review-completed','ck-ai-review-mode__review-completed-header','AI_REVIEW_MODE_COMPLETED_TEXT','ck-ai-review-mode__review-completed-header-title','_createResultHeaderView','resultsHeader','setTemplate','completed','set','4rziOny','847080cQbmro','ck-ai-review-mode__review-completed-content-icon','201514XhsYSv','ck-hidden','ck-ai-review-mode__review-completed-content-text','10209546ogRiHn','2513958viIdXT','994075nnxtnz','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'];_0x3ac9=function(){return _0x39381b;};return _0x3ac9();}import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x508ae0{[_0x22947f(0x15b)];[_0x22947f(0x151)];constructor(_0x3cb693){const _0x262521=_0x22947f;super(_0x3cb693),this[_0x262521(0x151)]=this[_0x262521(0x14e)](),this[_0x262521(0x15b)]=this[_0x262521(0x15a)](),this[_0x262521(0x15e)](_0x262521(0x169),_0x262521(0x15d));const _0x5266c3=this[_0x262521(0x148)];this[_0x262521(0x15c)]({'tag':_0x262521(0x146),'attributes':{'class':[_0x262521(0x156),_0x5266c3['if'](_0x262521(0x14c),_0x262521(0x163),_0x2efaa4=>!_0x2efaa4)]},'children':[this[_0x262521(0x15b)],{'tag':_0x262521(0x146),'attributes':{'class':[_0x262521(0x145)]},'children':[{'tag':_0x262521(0x153),'attributes':{'class':[_0x262521(0x161)]},'children':[{'text':_0x5266c3['to'](_0x262521(0x169),_0x40295f=>_0x262521(0x15d)===_0x40295f?'🎉':'👍')}]},{'tag':'p','attributes':{'class':[_0x262521(0x164)]},'children':[{'text':_0x5266c3['to'](_0x262521(0x169),_0x4c62cd=>_0x147da5(_0x3cb693,_0x262521(0x15d)===_0x4c62cd?_0x262521(0x158):_0x262521(0x14d)))}]}]}]});}[_0x22947f(0x14e)](){const _0x417990=_0x22947f,_0x38edde=new _0xc03798(this[_0x417990(0x155)]);return _0x38edde[_0x417990(0x15e)]({'label':_0x147da5(this[_0x417990(0x155)],_0x417990(0x14f)),'withText':!0x0,'class':_0x417990(0x152)}),_0x38edde['on'](_0x417990(0x150),()=>{const _0x28011f=_0x417990;this[_0x28011f(0x147)](_0x28011f(0x149));}),_0x38edde;}[_0x22947f(0x15a)](){const _0x3ccc13=_0x22947f,_0xff8b89=new _0x152891(this[_0x3ccc13(0x155)]);return _0xff8b89[_0x3ccc13(0x15c)]({'tag':_0x3ccc13(0x146),'attributes':{'class':[_0x3ccc13(0x157)]},'children':[{'tag':_0x3ccc13(0x153),'attributes':{'class':[_0x3ccc13(0x159)]},'children':[{'text':_0x147da5(this[_0x3ccc13(0x155)],_0x3ccc13(0x168))}]},{'tag':_0x3ccc13(0x146),'attributes':{'class':[_0x3ccc13(0x14a)]},'children':[this[_0x3ccc13(0x151)]]}]}),_0xff8b89;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2af7e7=_0x2134;(function(_0x636510,_0x4ece2a){var _0x4be5c0=_0x2134,_0x2b0a17=_0x636510();while(!![]){try{var _0x4e7f95=-parseInt(_0x4be5c0(0x101))/0x1+parseInt(_0x4be5c0(0x110))/0x2*(parseInt(_0x4be5c0(0x10a))/0x3)+parseInt(_0x4be5c0(0x113))/0x4+-parseInt(_0x4be5c0(0x11a))/0x5*(-parseInt(_0x4be5c0(0x10b))/0x6)+-parseInt(_0x4be5c0(0xfb))/0x7*(parseInt(_0x4be5c0(0x106))/0x8)+parseInt(_0x4be5c0(0x111))/0x9*(-parseInt(_0x4be5c0(0x127))/0xa)+parseInt(_0x4be5c0(0x120))/0xb*(parseInt(_0x4be5c0(0x11b))/0xc);if(_0x4e7f95===_0x4ece2a)break;else _0x2b0a17['push'](_0x2b0a17['shift']());}catch(_0x4a4121){_0x2b0a17['push'](_0x2b0a17['shift']());}}}(_0x310d,0x3c05c));import{View as _0x140133,FormHeaderView as _0xed024c}from'ckeditor5/src/ui.js';import{IconAIReview as _0x4cc032}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x95a32c}from'./aireviewmodereviewchecklistview.js';function _0x310d(){var _0x45861a=['ck-ai-header\x20ck-ai-header_review-mode','set','hideActionsWhenResultIsReady','ck-ai-review-mode','86119RJFlwH','addResult','ck-rounded-corners','div','showGeneralErrorMessage','finishReview','showChunkErrorMessage','13070FGxrDq','reviewModeHeader','isResultReady','showReviewCheckResultsView','7iWlMOQ','ltr','AI_REVIEW_MODE','resetAllParameterizedChecks','completed','reviewCheckResultsView','68418aiHfCV','ck-reset_all','showNoChangesView','viewType','setTemplate','2552808GTCXgC','reviewCompletedView','showActionsWhenResultIsReady','clearResults','320007OktgQJ','87546BTQWeg','showReviewCompletedView','addCheckRunResult','reviewCheckListView','isVisible','2BBioet','396BrxYHd','resetErrorState','464924puUtHK','showChunkErrorView','delegate','showGeneralErrorView','showReviewCheckListView','unmodified','isLoading','155aIgxPN','24riQxvr'];_0x310d=function(){return _0x45861a;};return _0x310d();}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x46eeec}from'../aireviewmodeui.js';function _0x2134(_0x135c0e,_0x2175b5){var _0x310d38=_0x310d();return _0x2134=function(_0x2134b6,_0x41a7cf){_0x2134b6=_0x2134b6-0xfb;var _0x71b41b=_0x310d38[_0x2134b6];return _0x71b41b;},_0x2134(_0x135c0e,_0x2175b5);}import{AIReviewModeReviewCheckResultsView as _0xfa7e0f}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x1fb738}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x33fd50}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x140133{[_0x2af7e7(0x128)];[_0x2af7e7(0x10e)];[_0x2af7e7(0x100)];[_0x2af7e7(0x107)];constructor(_0x4b2f62){var _0x4e4435=_0x2af7e7;super(_0x4b2f62),this[_0x4e4435(0x128)]=new _0xed024c(_0x4b2f62,{'label':_0x33fd50(_0x4b2f62,_0x4e4435(0xfd)),'icon':_0x4cc032,'class':_0x4e4435(0x11c)}),this[_0x4e4435(0x10e)]=new _0x95a32c(_0x4b2f62),this[_0x4e4435(0x10e)][_0x4e4435(0x115)](..._0x46eeec)['to'](this),this[_0x4e4435(0x100)]=new _0xfa7e0f(_0x4b2f62),this[_0x4e4435(0x100)][_0x4e4435(0x115)](..._0x46eeec)['to'](this),this[_0x4e4435(0x107)]=new _0x1fb738(_0x4b2f62),this[_0x4e4435(0x107)][_0x4e4435(0x115)](_0x4e4435(0x125))['to'](this),this[_0x4e4435(0x10e)][_0x4e4435(0x11d)](_0x4e4435(0x10f),!0x1),this[_0x4e4435(0x100)][_0x4e4435(0x11d)](_0x4e4435(0x10f),!0x1),this[_0x4e4435(0x100)][_0x4e4435(0x11d)](_0x4e4435(0x119),!0x1),this[_0x4e4435(0x100)][_0x4e4435(0x11d)](_0x4e4435(0x129),!0x1),this[_0x4e4435(0x107)][_0x4e4435(0x11d)](_0x4e4435(0x10f),!0x1),this[_0x4e4435(0x105)]({'tag':_0x4e4435(0x123),'attributes':{'class':['ck',_0x4e4435(0x102),_0x4e4435(0x11f),_0x4e4435(0x122)],'dir':_0x4e4435(0xfc)},'children':[this[_0x4e4435(0x128)],this[_0x4e4435(0x10e)],this[_0x4e4435(0x100)],this[_0x4e4435(0x107)]]});}[_0x2af7e7(0x117)](){var _0xd645ad=_0x2af7e7;this[_0xd645ad(0x10e)][_0xd645ad(0xfe)](),this[_0xd645ad(0x10e)][_0xd645ad(0x11d)](_0xd645ad(0x10f),!0x0),this[_0xd645ad(0x100)][_0xd645ad(0x11d)](_0xd645ad(0x10f),!0x1),this[_0xd645ad(0x107)][_0xd645ad(0x11d)](_0xd645ad(0x10f),!0x1);}[_0x2af7e7(0x12a)](){var _0x152010=_0x2af7e7;this[_0x152010(0x11e)](),this[_0x152010(0x100)][_0x152010(0x112)](),this[_0x152010(0x10e)][_0x152010(0x11d)](_0x152010(0x10f),!0x1),this[_0x152010(0x100)][_0x152010(0x11d)](_0x152010(0x10f),!0x0),this[_0x152010(0x100)][_0x152010(0x109)](),this[_0x152010(0x100)][_0x152010(0x11d)](_0x152010(0x119),!0x0);}[_0x2af7e7(0x10d)](_0x446fd7){var _0x424a9e=_0x2af7e7;this[_0x424a9e(0x100)][_0x424a9e(0x121)](_0x446fd7),this[_0x424a9e(0x100)][_0x424a9e(0x11d)](_0x424a9e(0x119),!0x1);}[_0x2af7e7(0x10c)](){var _0x43643f=_0x2af7e7;this[_0x43643f(0x10e)][_0x43643f(0x11d)](_0x43643f(0x10f),!0x1),this[_0x43643f(0x100)][_0x43643f(0x11d)](_0x43643f(0x10f),!0x1),this[_0x43643f(0x107)][_0x43643f(0x11d)](_0x43643f(0x104),_0x43643f(0xff)),this[_0x43643f(0x107)][_0x43643f(0x11d)](_0x43643f(0x10f),!0x0);}[_0x2af7e7(0x108)](){var _0x29430a=_0x2af7e7;this[_0x29430a(0x100)][_0x29430a(0x129)]=!0x0;}[_0x2af7e7(0x103)](){var _0x206d30=_0x2af7e7;this[_0x206d30(0x10e)][_0x206d30(0x11d)](_0x206d30(0x10f),!0x1),this[_0x206d30(0x100)][_0x206d30(0x11d)](_0x206d30(0x10f),!0x1),this[_0x206d30(0x107)][_0x206d30(0x11d)](_0x206d30(0x104),_0x206d30(0x118)),this[_0x206d30(0x107)][_0x206d30(0x11d)](_0x206d30(0x10f),!0x0);}[_0x2af7e7(0x11e)](){var _0x2adef7=_0x2af7e7;this[_0x2adef7(0x100)][_0x2adef7(0x129)]=!0x1;}[_0x2af7e7(0x116)](){var _0x410c40=_0x2af7e7;this[_0x410c40(0x100)][_0x410c40(0x11d)](_0x410c40(0x119),!0x1),this[_0x410c40(0x108)](),this[_0x410c40(0x100)][_0x410c40(0x124)]();}[_0x2af7e7(0x114)](){var _0x53eb60=_0x2af7e7;this[_0x53eb60(0x100)][_0x53eb60(0x11d)](_0x53eb60(0x119),!0x1),this[_0x53eb60(0x108)](),this[_0x53eb60(0x100)][_0x53eb60(0x126)]();}}
23
+ var _0x574aec=_0x2ffd;(function(_0x32dba8,_0x94c088){var _0x4d5d44=_0x2ffd,_0x15a0f0=_0x32dba8();while(!![]){try{var _0x4c835f=-parseInt(_0x4d5d44(0xf7))/0x1*(parseInt(_0x4d5d44(0xfd))/0x2)+parseInt(_0x4d5d44(0xe5))/0x3+parseInt(_0x4d5d44(0xe8))/0x4*(-parseInt(_0x4d5d44(0x10c))/0x5)+parseInt(_0x4d5d44(0x10b))/0x6*(parseInt(_0x4d5d44(0x107))/0x7)+-parseInt(_0x4d5d44(0x10e))/0x8+parseInt(_0x4d5d44(0x109))/0x9*(parseInt(_0x4d5d44(0xe7))/0xa)+-parseInt(_0x4d5d44(0x100))/0xb*(-parseInt(_0x4d5d44(0x105))/0xc);if(_0x4c835f===_0x94c088)break;else _0x15a0f0['push'](_0x15a0f0['shift']());}catch(_0x5793d7){_0x15a0f0['push'](_0x15a0f0['shift']());}}}(_0x54d4,0xe2dd1));import{View as _0x1a68e6,FormHeaderView as _0x8b70f5}from'ckeditor5/src/ui.js';import{IconAIReview as _0x1f2e14}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x974281}from'./aireviewmodereviewchecklistview.js';function _0x54d4(){var _0x599401=['resetErrorState','showGeneralErrorMessage','unmodified','addResult','5087079khZdei','reviewCheckListView','329690HSppwF','28vxQXpi','set','showNoChangesView','showReviewCheckResultsView','finishReview','reviewCompletedView','setTemplate','showReviewCompletedView','showGeneralErrorView','hideActionsWhenResultIsReady','showChunkErrorMessage','isLoading','isResultReady','resetAllParameterizedChecks','viewType','4DCCDGQ','clearResults','ltr','ck-reset_all','delegate','showChunkErrorView','294774LRgsCI','reviewCheckResultsView','addCheckRunResult','11jpKkWY','ck-rounded-corners','reviewModeHeader','isVisible','showActionsWhenResultIsReady','14266596mbIVRN','AI_REVIEW_MODE','36169yxcBuV','div','72abpzis','showReviewCheckListView','480cuMyip','565055VtVBcS','ck-ai-review-mode','10014640PfVlfF','completed','ck-ai-header\x20ck-ai-header_review-mode'];_0x54d4=function(){return _0x599401;};return _0x54d4();}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x422d48}from'../aireviewmodeui.js';function _0x2ffd(_0xc73eb2,_0x342f2c){var _0x54d450=_0x54d4();return _0x2ffd=function(_0x2ffdb6,_0x4a20fe){_0x2ffdb6=_0x2ffdb6-0xe0;var _0x5bce36=_0x54d450[_0x2ffdb6];return _0x5bce36;},_0x2ffd(_0xc73eb2,_0x342f2c);}import{AIReviewModeReviewCheckResultsView as _0x379a41}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x45490f}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x199c20}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x1a68e6{[_0x574aec(0x102)];[_0x574aec(0xe6)];[_0x574aec(0xfe)];[_0x574aec(0xed)];constructor(_0x5ea65a){var _0xf52d02=_0x574aec;super(_0x5ea65a),this[_0xf52d02(0x102)]=new _0x8b70f5(_0x5ea65a,{'label':_0x199c20(_0x5ea65a,_0xf52d02(0x106)),'icon':_0x1f2e14,'class':_0xf52d02(0xe0)}),this[_0xf52d02(0xe6)]=new _0x974281(_0x5ea65a),this[_0xf52d02(0xe6)][_0xf52d02(0xfb)](..._0x422d48)['to'](this),this[_0xf52d02(0xfe)]=new _0x379a41(_0x5ea65a),this[_0xf52d02(0xfe)][_0xf52d02(0xfb)](..._0x422d48)['to'](this),this[_0xf52d02(0xed)]=new _0x45490f(_0x5ea65a),this[_0xf52d02(0xed)][_0xf52d02(0xfb)](_0xf52d02(0xec))['to'](this),this[_0xf52d02(0xe6)][_0xf52d02(0xe9)](_0xf52d02(0x103),!0x1),this[_0xf52d02(0xfe)][_0xf52d02(0xe9)](_0xf52d02(0x103),!0x1),this[_0xf52d02(0xfe)][_0xf52d02(0xe9)](_0xf52d02(0xf3),!0x1),this[_0xf52d02(0xfe)][_0xf52d02(0xe9)](_0xf52d02(0xf4),!0x1),this[_0xf52d02(0xed)][_0xf52d02(0xe9)](_0xf52d02(0x103),!0x1),this[_0xf52d02(0xee)]({'tag':_0xf52d02(0x108),'attributes':{'class':['ck',_0xf52d02(0xfa),_0xf52d02(0x10d),_0xf52d02(0x101)],'dir':_0xf52d02(0xf9)},'children':[this[_0xf52d02(0x102)],this[_0xf52d02(0xe6)],this[_0xf52d02(0xfe)],this[_0xf52d02(0xed)]]});}[_0x574aec(0x10a)](){var _0x59b2d3=_0x574aec;this[_0x59b2d3(0xe6)][_0x59b2d3(0xf5)](),this[_0x59b2d3(0xe6)][_0x59b2d3(0xe9)](_0x59b2d3(0x103),!0x0),this[_0x59b2d3(0xfe)][_0x59b2d3(0xe9)](_0x59b2d3(0x103),!0x1),this[_0x59b2d3(0xed)][_0x59b2d3(0xe9)](_0x59b2d3(0x103),!0x1);}[_0x574aec(0xeb)](){var _0x236d01=_0x574aec;this[_0x236d01(0xf1)](),this[_0x236d01(0xfe)][_0x236d01(0xe1)](),this[_0x236d01(0xe6)][_0x236d01(0xe9)](_0x236d01(0x103),!0x1),this[_0x236d01(0xfe)][_0x236d01(0xe9)](_0x236d01(0x103),!0x0),this[_0x236d01(0xfe)][_0x236d01(0xf8)](),this[_0x236d01(0xfe)][_0x236d01(0xe9)](_0x236d01(0xf3),!0x0);}[_0x574aec(0xff)](_0x4d9d0b){var _0x35be1c=_0x574aec;this[_0x35be1c(0xfe)][_0x35be1c(0xe4)](_0x4d9d0b),this[_0x35be1c(0xfe)][_0x35be1c(0xe9)](_0x35be1c(0xf3),!0x1);}[_0x574aec(0xef)](){var _0x218a16=_0x574aec;this[_0x218a16(0xe6)][_0x218a16(0xe9)](_0x218a16(0x103),!0x1),this[_0x218a16(0xfe)][_0x218a16(0xe9)](_0x218a16(0x103),!0x1),this[_0x218a16(0xed)][_0x218a16(0xe9)](_0x218a16(0xf6),_0x218a16(0x10f)),this[_0x218a16(0xed)][_0x218a16(0xe9)](_0x218a16(0x103),!0x0);}[_0x574aec(0x104)](){var _0x22c789=_0x574aec;this[_0x22c789(0xfe)][_0x22c789(0xf4)]=!0x0;}[_0x574aec(0xea)](){var _0x140cf7=_0x574aec;this[_0x140cf7(0xe6)][_0x140cf7(0xe9)](_0x140cf7(0x103),!0x1),this[_0x140cf7(0xfe)][_0x140cf7(0xe9)](_0x140cf7(0x103),!0x1),this[_0x140cf7(0xed)][_0x140cf7(0xe9)](_0x140cf7(0xf6),_0x140cf7(0xe3)),this[_0x140cf7(0xed)][_0x140cf7(0xe9)](_0x140cf7(0x103),!0x0);}[_0x574aec(0xf1)](){var _0x46568c=_0x574aec;this[_0x46568c(0xfe)][_0x46568c(0xf4)]=!0x1;}[_0x574aec(0xf0)](){var _0x5714cf=_0x574aec;this[_0x5714cf(0xfe)][_0x5714cf(0xe9)](_0x5714cf(0xf3),!0x1),this[_0x5714cf(0x104)](),this[_0x5714cf(0xfe)][_0x5714cf(0xe2)]();}[_0x574aec(0xfc)](){var _0x1d8dbd=_0x574aec;this[_0x1d8dbd(0xfe)][_0x1d8dbd(0xe9)](_0x1d8dbd(0xf3),!0x1),this[_0x1d8dbd(0x104)](),this[_0x1d8dbd(0xfe)][_0x1d8dbd(0xf2)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5815cd=_0x1350;(function(_0x57ba2d,_0x3b1195){const _0x37dbac=_0x1350,_0x13ac14=_0x57ba2d();while(!![]){try{const _0x1a62c8=parseInt(_0x37dbac(0x18e))/0x1*(-parseInt(_0x37dbac(0x188))/0x2)+-parseInt(_0x37dbac(0x187))/0x3*(-parseInt(_0x37dbac(0x195))/0x4)+-parseInt(_0x37dbac(0x196))/0x5*(parseInt(_0x37dbac(0x183))/0x6)+-parseInt(_0x37dbac(0x191))/0x7+parseInt(_0x37dbac(0x18c))/0x8*(-parseInt(_0x37dbac(0x18d))/0x9)+parseInt(_0x37dbac(0x185))/0xa+-parseInt(_0x37dbac(0x181))/0xb*(-parseInt(_0x37dbac(0x18b))/0xc);if(_0x1a62c8===_0x3b1195)break;else _0x13ac14['push'](_0x13ac14['shift']());}catch(_0x4e61a4){_0x13ac14['push'](_0x13ac14['shift']());}}}(_0x1194,0x6efd1));import{FormRowView as _0x394388,ListItemView as _0x5dc23f}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x3833e0}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x5dc23f{[_0x5815cd(0x184)]=null;constructor(_0x44d645,_0xf41108,_0x5c4847){const _0x25c54d=_0x5815cd;super(_0x44d645),this[_0x25c54d(0x19a)]=_0xf41108?.[_0x25c54d(0x19a)];if(_0x25c54d(0x193)===_0xf41108[_0x25c54d(0x189)])this[_0x25c54d(0x184)]=new _0x3833e0(this[_0x25c54d(0x17f)],_0xf41108);this[_0x25c54d(0x199)](_0x25c54d(0x186),''),this[_0x25c54d(0x197)](_0x25c54d(0x186))['to'](this[_0x25c54d(0x184)],_0x25c54d(0x194));const _0x3bb48a=new _0x394388(this[_0x25c54d(0x17f)],{'children':[this[_0x25c54d(0x184)]],'class':[_0x5c4847?_0x25c54d(0x192):'']});_0x5c4847&&_0x3bb48a[_0x25c54d(0x180)][_0x25c54d(0x182)](_0x5c4847),this[_0x25c54d(0x18f)]({'tag':_0x25c54d(0x17e),'attributes':{'class':['ck',_0x25c54d(0x198),_0x25c54d(0x190)]},'children':[_0x3bb48a]});}[_0x5815cd(0x18a)](){const _0x40d797=_0x5815cd;this[_0x40d797(0x184)][_0x40d797(0x18a)]();}}function _0x1350(_0x2bf52b,_0x40e6b1){const _0x119480=_0x1194();return _0x1350=function(_0x13509e,_0x56674e){_0x13509e=_0x13509e-0x17e;let _0xe3969c=_0x119480[_0x13509e];return _0xe3969c;},_0x1350(_0x2bf52b,_0x40e6b1);}function _0x1194(){const _0x2bea48=['dropdown','formValue','1105172SwSWch','44325WSdern','bind','ck-ai-review-mode__form-item','set','argsKey','div','locale','children','22682Yuormj','add','474lAlkSD','_formItem','5253480VoMBGY','value','9FlrCjd','600590LDFhRd','formType','resetToDefault','5532AxvGaJ','8qjVlUQ','45621SUFSnC','2JeeCxT','setTemplate','ck-reset_all','3809442IfXKWj','ck-form__row_with-submit'];_0x1194=function(){return _0x2bea48;};return _0x1194();}
23
+ const _0x1335b5=_0x3828;(function(_0x286ddc,_0x34f370){const _0x257354=_0x3828,_0x48c2b9=_0x286ddc();while(!![]){try{const _0x47a0e6=-parseInt(_0x257354(0x10a))/0x1*(parseInt(_0x257354(0x11f))/0x2)+-parseInt(_0x257354(0x120))/0x3*(parseInt(_0x257354(0x11b))/0x4)+parseInt(_0x257354(0x10f))/0x5*(parseInt(_0x257354(0x111))/0x6)+parseInt(_0x257354(0x113))/0x7*(-parseInt(_0x257354(0x11d))/0x8)+-parseInt(_0x257354(0x126))/0x9*(parseInt(_0x257354(0x125))/0xa)+-parseInt(_0x257354(0x10d))/0xb+-parseInt(_0x257354(0x119))/0xc*(-parseInt(_0x257354(0x10b))/0xd);if(_0x47a0e6===_0x34f370)break;else _0x48c2b9['push'](_0x48c2b9['shift']());}catch(_0x1e08b7){_0x48c2b9['push'](_0x48c2b9['shift']());}}}(_0x9fa5,0xb9577));function _0x3828(_0x5179f5,_0x4e7118){const _0x9fa526=_0x9fa5();return _0x3828=function(_0x382849,_0x56e019){_0x382849=_0x382849-0x10a;let _0x421fe1=_0x9fa526[_0x382849];return _0x421fe1;},_0x3828(_0x5179f5,_0x4e7118);}import{FormRowView as _0x52473c,ListItemView as _0x2efabc}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x2bd8fa}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x2efabc{[_0x1335b5(0x10c)]=null;constructor(_0x55c90b,_0x5dfb97,_0x4bf613){const _0x291048=_0x1335b5;super(_0x55c90b),this[_0x291048(0x10e)]=_0x5dfb97?.[_0x291048(0x10e)];if(_0x291048(0x112)===_0x5dfb97[_0x291048(0x11e)])this[_0x291048(0x10c)]=new _0x2bd8fa(this[_0x291048(0x127)],_0x5dfb97);this[_0x291048(0x117)](_0x291048(0x11a),''),this[_0x291048(0x116)](_0x291048(0x11a))['to'](this[_0x291048(0x10c)],_0x291048(0x115));const _0x5157dc=new _0x52473c(this[_0x291048(0x127)],{'children':[this[_0x291048(0x10c)]],'class':[_0x4bf613?_0x291048(0x118):'']});_0x4bf613&&_0x5157dc[_0x291048(0x124)][_0x291048(0x110)](_0x4bf613),this[_0x291048(0x122)]({'tag':_0x291048(0x121),'attributes':{'class':['ck',_0x291048(0x123),_0x291048(0x114)]},'children':[_0x5157dc]});}[_0x1335b5(0x11c)](){const _0x56b07d=_0x1335b5;this[_0x56b07d(0x10c)][_0x56b07d(0x11c)]();}}function _0x9fa5(){const _0x35767d=['167974zfTmDY','671082CYOCdU','div','setTemplate','ck-ai-review-mode__form-item','children','6772210VnkIon','18HnuveK','locale','3fLhGKI','33475IbVMsl','_formItem','14945997JUzhle','argsKey','3904085oaVkzW','add','6vifJvc','dropdown','232729POgSaa','ck-reset_all','formValue','bind','set','ck-form__row_with-submit','24972RHgybP','value','20myvoRp','resetToDefault','312rHLtHK','formType'];_0x9fa5=function(){return _0x35767d;};return _0x9fa5();}