@ckeditor/ckeditor5-ai 47.2.0-alpha.6 → 47.2.0

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 (290) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  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 +10 -2
  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.js +1 -1
  185. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  186. package/src/aichat/ui/aichatfeedview.js +1 -1
  187. package/src/aichat/ui/aichatheaderview.js +1 -1
  188. package/src/aichat/ui/aichatview.js +1 -1
  189. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  210. package/src/aichat/utils/eventnames.js +1 -1
  211. package/src/aichat/utils/promisequeue.js +1 -1
  212. package/src/aichat/utils/scrollmanager.js +1 -1
  213. package/src/aichathistory/aichathistory.js +1 -1
  214. package/src/aichathistory/aichathistorycontroller.js +1 -1
  215. package/src/aichathistory/aichathistoryui.js +1 -1
  216. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  217. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  218. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  219. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  222. package/src/aicore/aiconnector.js +1 -1
  223. package/src/aicore/aiediting.js +1 -1
  224. package/src/aicore/model/aicapabilities.js +1 -1
  225. package/src/aicore/model/aicontext.js +1 -1
  226. package/src/aicore/model/aiinteraction.js +1 -1
  227. package/src/aicore/model/aimodels.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.js +1 -1
  253. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  254. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  255. package/src/aiquickactions/aiquickactionsui.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  263. package/src/aireviewmode/aireviewmodeui.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  266. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  272. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  284. package/src/aitabs/aitabs.js +1 -1
  285. package/src/aitabs/aitabsmainview.js +1 -1
  286. package/src/aitabs/tabs/aitabsview.js +1 -1
  287. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  288. package/src/aitabs/tabs/tabpanelview.js +1 -1
  289. package/src/errors.js +1 -1
  290. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x6833(){const _0x3002a3=['reviewName','find','20gyitZf','_createApiRequest','63LoBKeN','_sourceCheck','430260HIKmMD','44KYyuTV','_sendRatingRequest','619087CLbhSf','224YazNAY','_reviewParams','label','data','1857812yAQCym','_composeReviewName','6HhFaPV','_reviewArgs','subTitle','push','8518IvYXyX','627352EmAddF','useArgs','callSystemReview','10150308aaZEOs','_documentData','length','join','options','232065BpnmBo','_aiConnector','upsertAIReviewRating','content'];_0x6833=function(){return _0x3002a3;};return _0x6833();}function _0x4d1d(_0x1891b7,_0x3f9828){const _0x683339=_0x6833();return _0x4d1d=function(_0x4d1d19,_0x561803){_0x4d1d19=_0x4d1d19-0x148;let _0x107842=_0x683339[_0x4d1d19];return _0x107842;},_0x4d1d(_0x1891b7,_0x3f9828);}const _0x5d324b=_0x4d1d;(function(_0x198884,_0x1c914e){const _0x1b24c3=_0x4d1d,_0x58e0d4=_0x198884();while(!![]){try{const _0x2e1867=parseInt(_0x1b24c3(0x157))/0x1*(parseInt(_0x1b24c3(0x161))/0x2)+-parseInt(_0x1b24c3(0x153))/0x3+-parseInt(_0x1b24c3(0x154))/0x4*(-parseInt(_0x1b24c3(0x149))/0x5)+parseInt(_0x1b24c3(0x15d))/0x6*(-parseInt(_0x1b24c3(0x156))/0x7)+-parseInt(_0x1b24c3(0x162))/0x8*(-parseInt(_0x1b24c3(0x151))/0x9)+parseInt(_0x1b24c3(0x14f))/0xa*(-parseInt(_0x1b24c3(0x15b))/0xb)+-parseInt(_0x1b24c3(0x165))/0xc;if(_0x2e1867===_0x1c914e)break;else _0x58e0d4['push'](_0x58e0d4['shift']());}catch(_0x32cd77){_0x58e0d4['push'](_0x58e0d4['shift']());}}}(_0x6833,0x91fe4));import{AIReviewCheckRun as _0x539b7b}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x539b7b{get[_0x5d324b(0x15f)](){const _0xb48f0b=_0x5d324b;if(!this[_0xb48f0b(0x158)]||0x0===this[_0xb48f0b(0x158)][_0xb48f0b(0x167)])return'';const _0x424afa=[];if(this[_0xb48f0b(0x158)][_0xb48f0b(0x167)]>0x0&&this[_0xb48f0b(0x152)][_0xb48f0b(0x148)])for(let _0x28bfbf=0x0;_0x28bfbf<this[_0xb48f0b(0x158)][_0xb48f0b(0x167)];_0x28bfbf++){if(!this[_0xb48f0b(0x158)][_0x28bfbf]||!this[_0xb48f0b(0x152)][_0xb48f0b(0x148)][_0x28bfbf])continue;const _0xb231eb=this[_0xb48f0b(0x152)][_0xb48f0b(0x148)][_0x28bfbf],_0x5d3074=_0xb231eb[_0xb48f0b(0x15a)]?.[_0xb48f0b(0x14e)](_0x5d7074=>_0x5d7074['id']===this[_0xb48f0b(0x158)][_0x28bfbf]);_0x5d3074&&_0x424afa[_0xb48f0b(0x160)](_0x5d3074[_0xb48f0b(0x159)]);}return _0x424afa[_0xb48f0b(0x168)](',\x20');}get[_0x5d324b(0x14d)](){const _0x7e7abf=_0x5d324b;return this[_0x7e7abf(0x15c)]();}[_0x5d324b(0x150)](){const _0x19c5c7=_0x5d324b;return this[_0x19c5c7(0x14a)][_0x19c5c7(0x164)]({'reviewName':this[_0x19c5c7(0x15c)](),'content':this[_0x19c5c7(0x166)][_0x19c5c7(0x14c)],'args':this[_0x19c5c7(0x15e)]});}[_0x5d324b(0x155)](_0x471cf9,_0x309678,_0x498df8){const _0x36d6ce=_0x5d324b;return this[_0x36d6ce(0x14a)][_0x36d6ce(0x14b)](this[_0x36d6ce(0x14d)],_0x309678,_0x471cf9,_0x498df8);}[_0x5d324b(0x15c)](){const _0x4f1383=_0x5d324b;return!this[_0x4f1383(0x158)]||0x0===this[_0x4f1383(0x158)][_0x4f1383(0x167)]||this[_0x4f1383(0x152)][_0x4f1383(0x163)]?this[_0x4f1383(0x152)]['id']:[this[_0x4f1383(0x152)]['id'],...this[_0x4f1383(0x158)]][_0x4f1383(0x168)]('-');}}
23
+ const _0x5ea13b=_0x3e6c;function _0x3e6c(_0x3d7b35,_0x3408a1){const _0x176c73=_0x176c();return _0x3e6c=function(_0x3e6ce0,_0x2b21b7){_0x3e6ce0=_0x3e6ce0-0xe3;let _0x50c5c1=_0x176c73[_0x3e6ce0];return _0x50c5c1;},_0x3e6c(_0x3d7b35,_0x3408a1);}(function(_0x448fa7,_0xa34827){const _0x4240b2=_0x3e6c,_0x4d8a29=_0x448fa7();while(!![]){try{const _0x1ac170=-parseInt(_0x4240b2(0xf8))/0x1*(parseInt(_0x4240b2(0xe5))/0x2)+-parseInt(_0x4240b2(0xf1))/0x3+parseInt(_0x4240b2(0xfa))/0x4+parseInt(_0x4240b2(0xfb))/0x5+parseInt(_0x4240b2(0xfc))/0x6+parseInt(_0x4240b2(0xec))/0x7+-parseInt(_0x4240b2(0x100))/0x8*(parseInt(_0x4240b2(0xe7))/0x9);if(_0x1ac170===_0xa34827)break;else _0x4d8a29['push'](_0x4d8a29['shift']());}catch(_0x5a1f7a){_0x4d8a29['push'](_0x4d8a29['shift']());}}}(_0x176c,0x1e663));import{AIReviewCheckRun as _0x34cd30}from'./aireviewcheckrun.js';function _0x176c(){const _0x288ab9=['subTitle','35625sDqMBF','_reviewParams','_sourceCheck','callSystemReview','reviewName','upsertAIReviewRating','_documentData','1073iDzuxa','push','183604yzRrBw','1193460jPGNIV','1459638NCVEhh','_reviewArgs','_sendRatingRequest','label','168NTnaPd','find','_createApiRequest','244LRywfZ','join','177057AlKQLk','_composeReviewName','options','data','useArgs','1067941DIWKFo','content','_aiConnector','length'];_0x176c=function(){return _0x288ab9;};return _0x176c();}export class AIReviewSystemCheckRun extends _0x34cd30{get[_0x5ea13b(0xf0)](){const _0x1b8e17=_0x5ea13b;if(!this[_0x1b8e17(0xf2)]||0x0===this[_0x1b8e17(0xf2)][_0x1b8e17(0xef)])return'';const _0x123daa=[];if(this[_0x1b8e17(0xf2)][_0x1b8e17(0xef)]>0x0&&this[_0x1b8e17(0xf3)][_0x1b8e17(0xe9)])for(let _0x25e3a3=0x0;_0x25e3a3<this[_0x1b8e17(0xf2)][_0x1b8e17(0xef)];_0x25e3a3++){if(!this[_0x1b8e17(0xf2)][_0x25e3a3]||!this[_0x1b8e17(0xf3)][_0x1b8e17(0xe9)][_0x25e3a3])continue;const _0x451fb5=this[_0x1b8e17(0xf3)][_0x1b8e17(0xe9)][_0x25e3a3],_0x2e5861=_0x451fb5[_0x1b8e17(0xea)]?.[_0x1b8e17(0xe3)](_0x15e840=>_0x15e840['id']===this[_0x1b8e17(0xf2)][_0x25e3a3]);_0x2e5861&&_0x123daa[_0x1b8e17(0xf9)](_0x2e5861[_0x1b8e17(0xff)]);}return _0x123daa[_0x1b8e17(0xe6)](',\x20');}get[_0x5ea13b(0xf5)](){const _0x3e2a26=_0x5ea13b;return this[_0x3e2a26(0xe8)]();}[_0x5ea13b(0xe4)](){const _0x3da7c7=_0x5ea13b;return this[_0x3da7c7(0xee)][_0x3da7c7(0xf4)]({'reviewName':this[_0x3da7c7(0xe8)](),'content':this[_0x3da7c7(0xf7)][_0x3da7c7(0xed)],'args':this[_0x3da7c7(0xfd)]});}[_0x5ea13b(0xfe)](_0x202192,_0x8b4b17,_0x2cb3a9){const _0xd383ee=_0x5ea13b;return this[_0xd383ee(0xee)][_0xd383ee(0xf6)](this[_0xd383ee(0xf5)],_0x8b4b17,_0x202192,_0x2cb3a9);}[_0x5ea13b(0xe8)](){const _0x254276=_0x5ea13b;return!this[_0x254276(0xf2)]||0x0===this[_0x254276(0xf2)][_0x254276(0xef)]||this[_0x254276(0xf3)][_0x254276(0xeb)]?this[_0x254276(0xf3)]['id']:[this[_0x254276(0xf3)]['id'],...this[_0x254276(0xf2)]][_0x254276(0xe6)]('-');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x247d99=_0x5e8f;(function(_0x5ace88,_0x541043){var _0x16340f=_0x5e8f,_0x56b486=_0x5ace88();while(!![]){try{var _0xf6e41f=parseInt(_0x16340f(0x9f))/0x1*(parseInt(_0x16340f(0xa2))/0x2)+-parseInt(_0x16340f(0xa1))/0x3*(-parseInt(_0x16340f(0xa6))/0x4)+-parseInt(_0x16340f(0x97))/0x5*(-parseInt(_0x16340f(0xa3))/0x6)+-parseInt(_0x16340f(0x8f))/0x7*(parseInt(_0x16340f(0x95))/0x8)+parseInt(_0x16340f(0x9d))/0x9+-parseInt(_0x16340f(0x9c))/0xa*(-parseInt(_0x16340f(0x9a))/0xb)+-parseInt(_0x16340f(0x93))/0xc;if(_0xf6e41f===_0x541043)break;else _0x56b486['push'](_0x56b486['shift']());}catch(_0x92e34f){_0x56b486['push'](_0x56b486['shift']());}}}(_0x44d6,0xcac9a));import{TextareaView as _0xd8a25f}from'ckeditor5/src/ui.js';function _0x5e8f(_0xfd0052,_0x50adc6){var _0x44d627=_0x44d6();return _0x5e8f=function(_0x5e8f87,_0x491145){_0x5e8f87=_0x5e8f87-0x8e;var _0x342bd3=_0x44d627[_0x5e8f87];return _0x342bd3;},_0x5e8f(_0xfd0052,_0x50adc6);}import{KeystrokeHandler as _0x1d8539}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0xd8a25f{[_0x247d99(0x99)];static [_0x247d99(0x90)]=0x1;static [_0x247d99(0x91)]=0xc;constructor(_0x3c3322){var _0x477a06=_0x247d99;super(_0x3c3322),this[_0x477a06(0xa9)](_0x477a06(0x92),!0x0),this[_0x477a06(0x99)]=new _0x1d8539(),this[_0x477a06(0x9e)]=AIReviewModePromptInputView[_0x477a06(0x90)],this[_0x477a06(0xa8)]=AIReviewModePromptInputView[_0x477a06(0x91)],this[_0x477a06(0x8e)]({'attributes':{'id':_0x477a06(0xa0),'class':['ck',_0x477a06(0xa5)]}});}[_0x247d99(0xa7)](){var _0x4f4fe5=_0x247d99;super[_0x4f4fe5(0xa7)](),this['on'](_0x4f4fe5(0x94),()=>{var _0x508208=_0x4f4fe5;this[_0x508208(0x92)]=''===this[_0x508208(0xa4)][_0x508208(0x9b)]?.[_0x508208(0x96)]();}),this[_0x4f4fe5(0x99)][_0x4f4fe5(0x98)](this[_0x4f4fe5(0xa4)]);}}function _0x44d6(){var _0x35ac3b=['MAX_ROWS','isEmpty','31232820mkIazf','update','2578504UAKrIy','trim','5EytRio','listenTo','keystrokes','11933317EFQVMM','value','10YEIbwJ','9820125JJtVje','minRows','2Icmqyn','ai-review-mode-prompt-input','2897061VOqYDN','800434MzNJUL','2749194fLJxDl','element','ck-review-mode__prompt-input','4YifYsN','render','maxRows','set','extendTemplate','21LeRHbd','MIN_ROWS'];_0x44d6=function(){return _0x35ac3b;};return _0x44d6();}
23
+ var _0x521365=_0x2515;(function(_0x30c907,_0x57aa26){var _0x1c0d9e=_0x2515,_0x42bcac=_0x30c907();while(!![]){try{var _0x5dea90=parseInt(_0x1c0d9e(0x202))/0x1*(-parseInt(_0x1c0d9e(0x1f3))/0x2)+-parseInt(_0x1c0d9e(0x204))/0x3*(-parseInt(_0x1c0d9e(0x1f5))/0x4)+-parseInt(_0x1c0d9e(0x1f2))/0x5+-parseInt(_0x1c0d9e(0x1ee))/0x6*(parseInt(_0x1c0d9e(0x1f1))/0x7)+parseInt(_0x1c0d9e(0x1fd))/0x8*(-parseInt(_0x1c0d9e(0x1f9))/0x9)+parseInt(_0x1c0d9e(0x1eb))/0xa*(parseInt(_0x1c0d9e(0x203))/0xb)+parseInt(_0x1c0d9e(0x1ec))/0xc;if(_0x5dea90===_0x57aa26)break;else _0x42bcac['push'](_0x42bcac['shift']());}catch(_0x5eb595){_0x42bcac['push'](_0x42bcac['shift']());}}}(_0x2839,0x75cb3));function _0x2515(_0x292dd6,_0x24e89c){var _0x2839d0=_0x2839();return _0x2515=function(_0x25159f,_0x313990){_0x25159f=_0x25159f-0x1e9;var _0x269e58=_0x2839d0[_0x25159f];return _0x269e58;},_0x2515(_0x292dd6,_0x24e89c);}import{TextareaView as _0x368f9f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xc257d}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x368f9f{[_0x521365(0x1fb)];static [_0x521365(0x1f0)]=0x1;static [_0x521365(0x200)]=0xc;constructor(_0x1fcf98){var _0x1494bc=_0x521365;super(_0x1fcf98),this[_0x1494bc(0x1fc)](_0x1494bc(0x1f4),!0x0),this[_0x1494bc(0x1fb)]=new _0xc257d(),this[_0x1494bc(0x1ea)]=AIReviewModePromptInputView[_0x1494bc(0x1f0)],this[_0x1494bc(0x1ff)]=AIReviewModePromptInputView[_0x1494bc(0x200)],this[_0x1494bc(0x201)]({'attributes':{'id':_0x1494bc(0x1f6),'class':['ck',_0x1494bc(0x1fe)]}});}[_0x521365(0x1ef)](){var _0x20ee54=_0x521365;super[_0x20ee54(0x1ef)](),this['on'](_0x20ee54(0x1e9),()=>{var _0x701d6=_0x20ee54;this[_0x701d6(0x1f4)]=''===this[_0x701d6(0x1fa)][_0x701d6(0x1f7)]?.[_0x701d6(0x1f8)]();}),this[_0x20ee54(0x1fb)][_0x20ee54(0x1ed)](this[_0x20ee54(0x1fa)]);}}function _0x2839(){var _0x583589=['18397XBHiXj','661573ImPhKo','1109316VwWKuL','update','minRows','130opGtpU','10124772kzBeIu','listenTo','198AgRkMf','render','MIN_ROWS','193823kjSZyH','1854970QXJtwE','2HWbIZw','isEmpty','4ZIfRtE','ai-review-mode-prompt-input','value','trim','27emHTCs','element','keystrokes','set','559336zlzFZZ','ck-review-mode__prompt-input','maxRows','MAX_ROWS','extendTemplate'];_0x2839=function(){return _0x583589;};return _0x2839();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d2a27=_0x4de6;(function(_0x257560,_0x5ea4c0){const _0x369e8b=_0x4de6,_0x55c25c=_0x257560();while(!![]){try{const _0x251505=-parseInt(_0x369e8b(0xfa))/0x1*(parseInt(_0x369e8b(0x101))/0x2)+parseInt(_0x369e8b(0xf7))/0x3+-parseInt(_0x369e8b(0xe7))/0x4*(parseInt(_0x369e8b(0xe3))/0x5)+-parseInt(_0x369e8b(0xef))/0x6*(-parseInt(_0x369e8b(0xfd))/0x7)+-parseInt(_0x369e8b(0xdb))/0x8*(-parseInt(_0x369e8b(0x10b))/0x9)+parseInt(_0x369e8b(0xe4))/0xa*(parseInt(_0x369e8b(0x103))/0xb)+-parseInt(_0x369e8b(0x105))/0xc;if(_0x251505===_0x5ea4c0)break;else _0x55c25c['push'](_0x55c25c['shift']());}catch(_0xddd0b4){_0x55c25c['push'](_0x55c25c['shift']());}}}(_0x1cb7,0xec26a));function _0x4de6(_0x58b03c,_0x1fa99e){const _0x1cb776=_0x1cb7();return _0x4de6=function(_0x4de666,_0x427dca){_0x4de666=_0x4de666-0xd6;let _0x5158f9=_0x1cb776[_0x4de666];return _0x5158f9;},_0x4de6(_0x58b03c,_0x1fa99e);}import{BalloonPanelView as _0x504962,View as _0x4ff77d,clickOutsideHandler as _0xa1b7ec}from'ckeditor5/src/ui.js';function _0x1cb7(){const _0x1ba301=['showDiffInBalloon','showBalloon','ck-ai-review-mode__suggestion-text','_setupClickOutsideHandler','_createContentView','getClientRects','5tNCTMi','460FfjBgx','contentDiffed','deactivateChange','1534212QXcGgg','isVisible','showDiff','delegate','extendTemplate','ck-ai-review-mode-balloon-panel-suggestion','fire','hideBalloon','84GosuNi','ck-content','find','arrow_se','content','locale','element','unpin','5538597XBRzyL','changeId','_getBestRectPosition','5ibpnyi','show','from','918169nPsBqk','width','render','set','347718HwrkKI','innerHTML','70950NVfmWV','resultItemView','43784100jCZHKO','hide','acceptChange','dismissChange','pin','updateContent','43830IOJxwP','hideDiffInBalloon','add','div','setTemplate','ck-reset','3104Iknqmm','resultResponseView'];_0x1cb7=function(){return _0x1ba301;};return _0x1cb7();}import{AIReviewModeReviewCheckListItemResultsView as _0x8fd2a5}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x504962{[_0x2d2a27(0x104)];constructor(_0x4dd9c5,_0x30006f){const _0xe3b03b=_0x2d2a27;super(_0x4dd9c5),this[_0xe3b03b(0x100)]({'isVisible':!0x1,'position':_0xe3b03b(0xf2),'class':null,'top':0x0,'left':0x0}),this[_0xe3b03b(0xeb)]({'tag':_0xe3b03b(0xd8),'attributes':{'class':[_0xe3b03b(0xda)],'tabindex':'-1'}}),this[_0xe3b03b(0xf3)][_0xe3b03b(0xd7)](this[_0xe3b03b(0xe1)]()),_0x30006f[_0xe3b03b(0xd7)](this);}[_0x2d2a27(0xff)](){const _0x41697f=_0x2d2a27;super[_0x41697f(0xff)](),this[_0x41697f(0xe0)]();}[_0x2d2a27(0x10a)](_0x4e00d7){const _0x23d658=_0x2d2a27;this[_0x23d658(0x104)][_0x23d658(0xf8)]=_0x4e00d7['id'],this[_0x23d658(0x104)][_0x23d658(0xdc)][_0x23d658(0xf5)][_0x23d658(0x102)]=_0x4e00d7[_0x23d658(0xe5)];}[_0x2d2a27(0xde)](_0x367c65,_0x52f608){const _0x30b486=_0x2d2a27;this[_0x30b486(0x10a)](_0x367c65),this[_0x30b486(0xfb)](),this[_0x30b486(0x109)]({'target':()=>this[_0x30b486(0xf9)](_0x52f608)});}[_0x2d2a27(0xee)](){const _0x33d41a=_0x2d2a27;this[_0x33d41a(0x106)](),this[_0x33d41a(0xf6)]();}[_0x2d2a27(0xd6)](){const _0x3d0ab6=_0x2d2a27;this[_0x3d0ab6(0x104)][_0x3d0ab6(0xe9)]=!0x1;}[_0x2d2a27(0xdd)](){const _0x3c1ccb=_0x2d2a27;this[_0x3c1ccb(0x104)][_0x3c1ccb(0xe9)]=!0x0;}[_0x2d2a27(0xe6)](){const _0x43c1e2=_0x2d2a27;this[_0x43c1e2(0xed)](_0x43c1e2(0xe6));}[_0x2d2a27(0xe0)](){const _0x4e184d=_0x2d2a27;_0xa1b7ec({'emitter':this,'activator':()=>this[_0x4e184d(0xe8)],'contextElements':[this[_0x4e184d(0xf5)]],'callback':()=>{const _0x4d5148=_0x4e184d;this[_0x4d5148(0xee)](),this[_0x4d5148(0xe6)]();}});}[_0x2d2a27(0xe1)](){const _0x55ed84=_0x2d2a27,_0x37d6fe=new _0x4ff77d();return this[_0x55ed84(0x104)]=new _0x8fd2a5(this[_0x55ed84(0xf4)],''),this[_0x55ed84(0x104)][_0x55ed84(0xdc)][_0x55ed84(0xeb)]({'attributes':{'class':[_0x55ed84(0xf0)]}}),this[_0x55ed84(0x104)][_0x55ed84(0xea)](_0x55ed84(0x107),_0x55ed84(0x108))['to'](this),_0x37d6fe[_0x55ed84(0xd9)]({'tag':_0x55ed84(0xd8),'attributes':{'class':[_0x55ed84(0xda),_0x55ed84(0xec)]},'children':[{'tag':'p','attributes':{'class':[_0x55ed84(0xdf)]},'children':[this[_0x55ed84(0x104)]]}]}),_0x37d6fe;}[_0x2d2a27(0xf9)](_0x135ec1){const _0x37844c=_0x2d2a27,_0x13da42=Array[_0x37844c(0xfc)](_0x135ec1[_0x37844c(0xe2)]());return _0x13da42[_0x37844c(0xf1)](_0xbb6515=>_0xbb6515[_0x37844c(0xfe)]>0x0)||_0x13da42[0x0];}}
23
+ const _0x18d01b=_0x226e;(function(_0x5635d9,_0x2c1fc4){const _0x41ffd3=_0x226e,_0x1f2d21=_0x5635d9();while(!![]){try{const _0x3a0edd=parseInt(_0x41ffd3(0x16d))/0x1*(parseInt(_0x41ffd3(0x175))/0x2)+-parseInt(_0x41ffd3(0x15b))/0x3*(parseInt(_0x41ffd3(0x15c))/0x4)+-parseInt(_0x41ffd3(0x16c))/0x5+parseInt(_0x41ffd3(0x160))/0x6+-parseInt(_0x41ffd3(0x16b))/0x7*(-parseInt(_0x41ffd3(0x170))/0x8)+parseInt(_0x41ffd3(0x153))/0x9*(parseInt(_0x41ffd3(0x158))/0xa)+parseInt(_0x41ffd3(0x156))/0xb*(-parseInt(_0x41ffd3(0x15a))/0xc);if(_0x3a0edd===_0x2c1fc4)break;else _0x1f2d21['push'](_0x1f2d21['shift']());}catch(_0x80fe0f){_0x1f2d21['push'](_0x1f2d21['shift']());}}}(_0x2cc2,0x5556b));import{BalloonPanelView as _0x639ee2,View as _0x100042,clickOutsideHandler as _0x5a228e}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x2e415d}from'./aireviewmodechecklistitemresultview.js';function _0x226e(_0x703028,_0x5cfbbe){const _0x2cc223=_0x2cc2();return _0x226e=function(_0x226eaa,_0x33e9a0){_0x226eaa=_0x226eaa-0x146;let _0x627c54=_0x2cc223[_0x226eaa];return _0x627c54;},_0x226e(_0x703028,_0x5cfbbe);}import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x639ee2{[_0x18d01b(0x164)];constructor(_0x12dac9,_0x3a4d03){const _0x1073e7=_0x18d01b;super(_0x12dac9),this[_0x1073e7(0x169)]({'isVisible':!0x1,'position':_0x1073e7(0x17a),'class':null,'top':0x0,'left':0x0}),this[_0x1073e7(0x178)]({'tag':_0x1073e7(0x15e),'attributes':{'class':[_0x1073e7(0x152)],'tabindex':'-1'}}),this[_0x1073e7(0x168)][_0x1073e7(0x176)](this[_0x1073e7(0x166)]()),_0x3a4d03[_0x1073e7(0x176)](this);}[_0x18d01b(0x16e)](){const _0x459f73=_0x18d01b;super[_0x459f73(0x16e)](),this[_0x459f73(0x151)]();}[_0x18d01b(0x15f)](_0x25b515){const _0x4f0be7=_0x18d01b;this[_0x4f0be7(0x164)][_0x4f0be7(0x167)]=_0x25b515['id'],this[_0x4f0be7(0x164)][_0x4f0be7(0x147)][_0x4f0be7(0x173)][_0x4f0be7(0x155)]=_0x25b515[_0x4f0be7(0x159)];}[_0x18d01b(0x172)](_0x1de32b,_0x137584){const _0x20569c=_0x18d01b;this[_0x20569c(0x15f)](_0x1de32b),this[_0x20569c(0x163)](),this[_0x20569c(0x162)]({'target':()=>this[_0x20569c(0x14c)](_0x137584)});}[_0x18d01b(0x16f)](){const _0x1fc4e3=_0x18d01b;this[_0x1fc4e3(0x154)](),this[_0x1fc4e3(0x165)]();}[_0x18d01b(0x17b)](){const _0x17099e=_0x18d01b;this[_0x17099e(0x164)][_0x17099e(0x161)]=!0x1;}[_0x18d01b(0x177)](){const _0x5b0e3d=_0x18d01b;this[_0x5b0e3d(0x164)][_0x5b0e3d(0x161)]=!0x0;}[_0x18d01b(0x157)](){const _0x4d3d84=_0x18d01b;this[_0x4d3d84(0x14d)](_0x4d3d84(0x157));}[_0x18d01b(0x151)](){const _0x4314c5=_0x18d01b;_0x5a228e({'emitter':this,'activator':()=>this[_0x4314c5(0x150)],'contextElements':[this[_0x4314c5(0x173)]],'callback':()=>{const _0x3ffef5=_0x4314c5;this[_0x3ffef5(0x16f)](),this[_0x3ffef5(0x157)]();}});}[_0x18d01b(0x166)](){const _0x5baaf8=_0x18d01b,_0x256ba9=new _0x100042();return this[_0x5baaf8(0x164)]=new _0x2e415d(this[_0x5baaf8(0x15d)],''),this[_0x5baaf8(0x164)][_0x5baaf8(0x147)][_0x5baaf8(0x178)]({'attributes':{'class':[_0x5baaf8(0x14a)]}}),this[_0x5baaf8(0x164)][_0x5baaf8(0x148)](_0x5baaf8(0x14e),_0x5baaf8(0x179))['to'](this),_0x256ba9[_0x5baaf8(0x146)]({'tag':_0x5baaf8(0x15e),'attributes':{'class':[_0x5baaf8(0x152),_0x5baaf8(0x14b)]},'children':[{'tag':'p','attributes':{'class':[_0x5baaf8(0x16a)]},'children':[this[_0x5baaf8(0x164)]]}]}),_0x256ba9;}[_0x18d01b(0x14c)](_0x569da0){const _0x578be8=_0x18d01b,_0x51adc6=Array[_0x578be8(0x174)](_0x569da0[_0x578be8(0x171)]());return _0x51adc6[_0x578be8(0x149)](_0x1642a3=>_0x1642a3[_0x578be8(0x14f)]>0x0)||_0x51adc6[0x0];}}function _0x2cc2(){const _0x2394c1=['acceptChange','width','isVisible','_setupClickOutsideHandler','ck-reset','14409ZPsrWK','hide','innerHTML','539RFyAFb','deactivateChange','850RjZHbt','contentDiffed','54744VmwWHE','3qhSbvQ','453032iavgTq','locale','div','updateContent','2727366uzxWqb','showDiff','pin','show','resultItemView','unpin','_createContentView','changeId','content','set','ck-ai-review-mode__suggestion-text','23044SSixkS','3036710ttknAl','21vkOMjE','render','hideBalloon','1208BFJHLD','getClientRects','showBalloon','element','from','19614OXYcYl','add','showDiffInBalloon','extendTemplate','dismissChange','arrow_se','hideDiffInBalloon','setTemplate','resultResponseView','delegate','find','ck-content','ck-ai-review-mode-balloon-panel-suggestion','_getBestRectPosition','fire'];_0x2cc2=function(){return _0x2394c1;};return _0x2cc2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3398ea=_0x28bd;function _0x54fd(){const _0xae8582=['isOn','disabled','changeId','pending','acceptButtonView','set','stopPropagation','ck-ai-review-mode__check-run-result-status-button','ACCEPTED','1cByAAQ','label','infoButtonView','div','setItemAsInactive','AI_REVIEW_MODE_CHECK_STATUS_','execute','ck-ai-review-mode__check-run-result','ck-ai-button-secondary','11qtNmLu','2491116hpuqcO','ck-ai-review-mode__check-run-result-dismiss-button','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','_createStatusButtonView','acceptChange','4793776EHZkuZ','ck-ai-review-mode__check-run-result-footer','_createDismissButtonView','REJECTED','statusButtonView','dismissButtonView','fire','bind','setTemplate','3501MfoLte','ck-ai-review-mode__check-run-result-action-buttons','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-ai-review-mode__check-run-result-accept-button','ck-content','ck-ai-review-mode__check-run-result-response','28864enwuzY','2320284AOBWWF','AI_REVIEW_MODE_LEARN_MORE','menuitemcheckbox','status','toUpperCase','extendTemplate','AI_REVIEW_MODE_DISMISS_CHANGE','_createInfoButtonView','1817826LDaQwe','icon','isActive','203mlNntw','765NtnmyW','dismissChange','activateChange','resultResponseView','_createAcceptButtonView','_createResultResponseView','click','37266DVtaFk','ck-hidden','showDiff','ck-ai-button-tertiary-filled','15850roOshA','locale','bindTemplate','isInfoToggleOn','ck-content-direct-excluded','ck-ai-review-mode__check-run-result_active','setItemAsActive'];_0x54fd=function(){return _0xae8582;};return _0x54fd();}(function(_0x3ac23f,_0x4f86f7){const _0x4fd7c3=_0x28bd,_0x41e685=_0x3ac23f();while(!![]){try{const _0x1c45f0=-parseInt(_0x4fd7c3(0x189))/0x1*(-parseInt(_0x4fd7c3(0x16a))/0x2)+parseInt(_0x4fd7c3(0x162))/0x3+-parseInt(_0x4fd7c3(0x161))/0x4*(parseInt(_0x4fd7c3(0x16e))/0x5)+parseInt(_0x4fd7c3(0x175))/0x6*(-parseInt(_0x4fd7c3(0x16d))/0x7)+parseInt(_0x4fd7c3(0x198))/0x8+-parseInt(_0x4fd7c3(0x15b))/0x9*(parseInt(_0x4fd7c3(0x179))/0xa)+parseInt(_0x4fd7c3(0x192))/0xb*(parseInt(_0x4fd7c3(0x193))/0xc);if(_0x1c45f0===_0x4f86f7)break;else _0x41e685['push'](_0x41e685['shift']());}catch(_0x55ebed){_0x41e685['push'](_0x41e685['shift']());}}}(_0x54fd,0x8fa88));function _0x28bd(_0x53502d,_0xaae466){const _0x54fd7d=_0x54fd();return _0x28bd=function(_0x28bd3f,_0x5a8a15){_0x28bd3f=_0x28bd3f-0x154;let _0x45eedd=_0x54fd7d[_0x28bd3f];return _0x45eedd;},_0x28bd(_0x53502d,_0xaae466);}import{View as _0x39d68d,ButtonView as _0xa2cf9}from'ckeditor5/src/ui.js';import{IconInfo as _0x2f8279,IconCheck as _0x27bcab,IconCancel as _0x3c8293,IconOutdated as _0x20e08f}from'ckeditor5/src/icons.js';import{getTranslation as _0x2a8942}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x39d68d{[_0x3398ea(0x171)];[_0x3398ea(0x184)];[_0x3398ea(0x157)];[_0x3398ea(0x18b)];[_0x3398ea(0x156)];constructor(_0x5b18e2,_0x2a2047){const _0x5e885c=_0x3398ea;super(_0x5b18e2),this['id']=_0x2a2047,this[_0x5e885c(0x185)](_0x5e885c(0x165),_0x5e885c(0x183)),this[_0x5e885c(0x185)](_0x5e885c(0x182),_0x2a2047),this[_0x5e885c(0x171)]=this[_0x5e885c(0x173)](),this[_0x5e885c(0x184)]=this[_0x5e885c(0x172)](),this[_0x5e885c(0x157)]=this[_0x5e885c(0x154)](),this[_0x5e885c(0x18b)]=this[_0x5e885c(0x169)](),this[_0x5e885c(0x156)]=this[_0x5e885c(0x196)](),this[_0x5e885c(0x185)](_0x5e885c(0x17c),!0x1),this[_0x5e885c(0x185)](_0x5e885c(0x16c),!0x1),this[_0x5e885c(0x185)](_0x5e885c(0x177),!0x0),this[_0x5e885c(0x15a)]({'tag':_0x5e885c(0x18c),'attributes':{'class':[_0x5e885c(0x190),this[_0x5e885c(0x17b)]['if'](_0x5e885c(0x16c),_0x5e885c(0x17e))]},'on':{'click':this[_0x5e885c(0x17b)]['to'](_0x5e885c(0x174))},'children':[this[_0x5e885c(0x171)],{'tag':_0x5e885c(0x18c),'attributes':{'class':[_0x5e885c(0x199)]},'children':[{'tag':_0x5e885c(0x18c),'attributes':{'class':[_0x5e885c(0x15c)]},'children':[this[_0x5e885c(0x184)],this[_0x5e885c(0x157)],this[_0x5e885c(0x156)]]},this[_0x5e885c(0x18b)]]}]}),this['on'](_0x5e885c(0x174),()=>{const _0x5c7ad0=_0x5e885c;this[_0x5c7ad0(0x158)](_0x5c7ad0(0x170),{'id':_0x2a2047,'source':this});});}[_0x3398ea(0x17f)](){const _0x1b3aad=_0x3398ea;this[_0x1b3aad(0x16c)]=!0x0;}[_0x3398ea(0x18d)](){const _0x4b84ad=_0x3398ea;this[_0x4b84ad(0x16c)]=!0x1;}[_0x3398ea(0x173)](){const _0x24290b=_0x3398ea,_0x2ca55a=new _0x39d68d(this[_0x24290b(0x17a)]);return _0x2ca55a[_0x24290b(0x15a)]({'tag':_0x24290b(0x18c),'attributes':{'class':['ck',_0x24290b(0x15f),_0x24290b(0x17d),_0x24290b(0x160),this[_0x24290b(0x17b)]['if'](_0x24290b(0x177),_0x24290b(0x176),_0x1168c6=>!_0x1168c6)]}}),_0x2ca55a;}[_0x3398ea(0x172)](){const _0x3dde61=_0x3398ea,_0x28fc81=new _0xa2cf9(this[_0x3dde61(0x17a)]);return _0x28fc81[_0x3dde61(0x185)]({'label':_0x2a8942(this[_0x3dde61(0x17a)],_0x3dde61(0x15d)),'withText':!0x0}),_0x28fc81[_0x3dde61(0x167)]({'on':{'click':this[_0x3dde61(0x17b)]['to'](_0x4dc350=>{const _0x25c356=_0x3dde61;this[_0x25c356(0x158)](_0x25c356(0x197),{'id':this[_0x25c356(0x182)]}),_0x4dc350[_0x25c356(0x186)]();})},'attributes':{'class':[_0x3dde61(0x191),_0x3dde61(0x15e),this[_0x3dde61(0x17b)]['if'](_0x3dde61(0x165),_0x3dde61(0x176),_0x4de67b=>_0x3dde61(0x183)!==_0x4de67b)]}}),_0x28fc81;}[_0x3398ea(0x154)](){const _0x556ed2=_0x3398ea,_0x824626=new _0xa2cf9(this[_0x556ed2(0x17a)]);return _0x824626[_0x556ed2(0x185)]({'label':_0x2a8942(this[_0x556ed2(0x17a)],_0x556ed2(0x168)),'withText':!0x0}),_0x824626[_0x556ed2(0x167)]({'on':{'click':this[_0x556ed2(0x17b)]['to'](_0x2ffb17=>{const _0x4c4cda=_0x556ed2;this[_0x4c4cda(0x158)](_0x4c4cda(0x16f),{'id':this[_0x4c4cda(0x182)]}),_0x2ffb17[_0x4c4cda(0x186)]();})},'attributes':{'class':[_0x556ed2(0x178),_0x556ed2(0x194),this[_0x556ed2(0x17b)]['if'](_0x556ed2(0x165),_0x556ed2(0x176),_0x394d5f=>_0x556ed2(0x183)!==_0x394d5f)]}}),_0x824626;}[_0x3398ea(0x169)](){const _0xb8da9f=_0x3398ea,_0x24437c=new _0xa2cf9(this[_0xb8da9f(0x17a)]);return _0x24437c[_0xb8da9f(0x185)]({'label':_0x2a8942(this[_0xb8da9f(0x17a)],_0xb8da9f(0x163)),'icon':_0x2f8279,'tooltip':!0x0,'isToggleable':!0x0,'role':_0xb8da9f(0x164),'class':_0xb8da9f(0x195)}),_0x24437c[_0xb8da9f(0x159)](_0xb8da9f(0x180))['to'](this,_0xb8da9f(0x17c),_0xea9e9a=>_0xea9e9a),_0x24437c['on'](_0xb8da9f(0x18f),()=>{const _0x175251=_0xb8da9f;this[_0x175251(0x17c)]=!this[_0x175251(0x17c)];}),_0x24437c;}[_0x3398ea(0x196)](){const _0x4556dc=_0x3398ea,_0x26e4a7=new _0xa2cf9(this[_0x4556dc(0x17a)]);return _0x26e4a7[_0x4556dc(0x185)]({'withText':!0x0,'isEnabled':!0x1}),_0x26e4a7[_0x4556dc(0x159)](_0x4556dc(0x18a))['to'](this,_0x4556dc(0x165),_0x56c045=>_0x2a8942(this[_0x4556dc(0x17a)],_0x4556dc(0x18e)+_0x56c045[_0x4556dc(0x166)]())),_0x26e4a7[_0x4556dc(0x159)](_0x4556dc(0x16b))['to'](this,_0x4556dc(0x165),_0x598fb2=>_0x4556dc(0x188)===_0x598fb2[_0x4556dc(0x166)]()?_0x27bcab:_0x4556dc(0x155)===_0x598fb2[_0x4556dc(0x166)]()?_0x3c8293:_0x20e08f),_0x26e4a7[_0x4556dc(0x167)]({'attributes':{'class':[_0x4556dc(0x191),_0x4556dc(0x187),this[_0x4556dc(0x17b)]['if'](_0x4556dc(0x165),_0x4556dc(0x176),_0x42bac9=>_0x4556dc(0x183)===_0x42bac9)],'disabled':_0x4556dc(0x181)}}),_0x26e4a7;}}
23
+ const _0x12b762=_0x48f9;(function(_0x33a2f5,_0x144cd7){const _0x44beb9=_0x48f9,_0x415d83=_0x33a2f5();while(!![]){try{const _0x4717f7=parseInt(_0x44beb9(0x1d0))/0x1*(-parseInt(_0x44beb9(0x1ec))/0x2)+-parseInt(_0x44beb9(0x1f0))/0x3*(-parseInt(_0x44beb9(0x1d6))/0x4)+parseInt(_0x44beb9(0x1f7))/0x5*(-parseInt(_0x44beb9(0x1d4))/0x6)+parseInt(_0x44beb9(0x1eb))/0x7+parseInt(_0x44beb9(0x20b))/0x8*(parseInt(_0x44beb9(0x1de))/0x9)+parseInt(_0x44beb9(0x20e))/0xa+parseInt(_0x44beb9(0x1f3))/0xb*(-parseInt(_0x44beb9(0x20f))/0xc);if(_0x4717f7===_0x144cd7)break;else _0x415d83['push'](_0x415d83['shift']());}catch(_0x3906dd){_0x415d83['push'](_0x415d83['shift']());}}}(_0x190d,0x35e9f));import{View as _0x4d3d7c,ButtonView as _0x1d13c8}from'ckeditor5/src/ui.js';import{IconInfo as _0x418cd4,IconCheck as _0x54f632,IconCancel as _0x40ed02,IconOutdated as _0xe895}from'ckeditor5/src/icons.js';import{getTranslation as _0x30bede}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x4d3d7c{[_0x12b762(0x1f5)];[_0x12b762(0x209)];[_0x12b762(0x1fd)];[_0x12b762(0x1dd)];[_0x12b762(0x1ed)];constructor(_0x28bf32,_0x4086d5){const _0xf5cb93=_0x12b762;super(_0x28bf32),this['id']=_0x4086d5,this[_0xf5cb93(0x1f2)](_0xf5cb93(0x1e4),_0xf5cb93(0x1f6)),this[_0xf5cb93(0x1f2)](_0xf5cb93(0x1ea),_0x4086d5),this[_0xf5cb93(0x1f5)]=this[_0xf5cb93(0x1d2)](),this[_0xf5cb93(0x209)]=this[_0xf5cb93(0x1cf)](),this[_0xf5cb93(0x1fd)]=this[_0xf5cb93(0x1d7)](),this[_0xf5cb93(0x1dd)]=this[_0xf5cb93(0x213)](),this[_0xf5cb93(0x1ed)]=this[_0xf5cb93(0x1d8)](),this[_0xf5cb93(0x1f2)](_0xf5cb93(0x1fc),!0x1),this[_0xf5cb93(0x1f2)](_0xf5cb93(0x1f8),!0x1),this[_0xf5cb93(0x1f2)](_0xf5cb93(0x20a),!0x0),this[_0xf5cb93(0x205)]({'tag':_0xf5cb93(0x1ee),'attributes':{'class':[_0xf5cb93(0x200),this[_0xf5cb93(0x202)]['if'](_0xf5cb93(0x1f8),_0xf5cb93(0x1fa))]},'on':{'click':this[_0xf5cb93(0x202)]['to'](_0xf5cb93(0x1e8))},'children':[this[_0xf5cb93(0x1f5)],{'tag':_0xf5cb93(0x1ee),'attributes':{'class':[_0xf5cb93(0x1d1)]},'children':[{'tag':_0xf5cb93(0x1ee),'attributes':{'class':[_0xf5cb93(0x1f4)]},'children':[this[_0xf5cb93(0x209)],this[_0xf5cb93(0x1fd)],this[_0xf5cb93(0x1ed)]]},this[_0xf5cb93(0x1dd)]]}]}),this['on'](_0xf5cb93(0x1e8),()=>{const _0x5968dd=_0xf5cb93;this[_0x5968dd(0x1e6)](_0x5968dd(0x1fb),{'id':_0x4086d5,'source':this});});}[_0x12b762(0x1df)](){const _0x12d214=_0x12b762;this[_0x12d214(0x1f8)]=!0x0;}[_0x12b762(0x206)](){const _0x1b04bf=_0x12b762;this[_0x1b04bf(0x1f8)]=!0x1;}[_0x12b762(0x1d2)](){const _0x7b599b=_0x12b762,_0x5bd092=new _0x4d3d7c(this[_0x7b599b(0x207)]);return _0x5bd092[_0x7b599b(0x205)]({'tag':_0x7b599b(0x1ee),'attributes':{'class':['ck',_0x7b599b(0x1ef),_0x7b599b(0x211),_0x7b599b(0x1d3),this[_0x7b599b(0x202)]['if'](_0x7b599b(0x20a),_0x7b599b(0x20c),_0xf5fbb5=>!_0xf5fbb5)]}}),_0x5bd092;}[_0x12b762(0x1cf)](){const _0x21a91a=_0x12b762,_0xbae6c9=new _0x1d13c8(this[_0x21a91a(0x207)]);return _0xbae6c9[_0x21a91a(0x1f2)]({'label':_0x30bede(this[_0x21a91a(0x207)],_0x21a91a(0x1e3)),'withText':!0x0}),_0xbae6c9[_0x21a91a(0x1e5)]({'on':{'click':this[_0x21a91a(0x202)]['to'](_0x4542c6=>{const _0x8a3586=_0x21a91a;this[_0x8a3586(0x1e6)](_0x8a3586(0x212),{'id':this[_0x8a3586(0x1ea)]}),_0x4542c6[_0x8a3586(0x210)]();})},'attributes':{'class':[_0x21a91a(0x201),_0x21a91a(0x208),this[_0x21a91a(0x202)]['if'](_0x21a91a(0x1e4),_0x21a91a(0x20c),_0x555e57=>_0x21a91a(0x1f6)!==_0x555e57)]}}),_0xbae6c9;}[_0x12b762(0x1d7)](){const _0x4827ce=_0x12b762,_0x409a31=new _0x1d13c8(this[_0x4827ce(0x207)]);return _0x409a31[_0x4827ce(0x1f2)]({'label':_0x30bede(this[_0x4827ce(0x207)],_0x4827ce(0x203)),'withText':!0x0}),_0x409a31[_0x4827ce(0x1e5)]({'on':{'click':this[_0x4827ce(0x202)]['to'](_0x4662a6=>{const _0x4ff72d=_0x4827ce;this[_0x4ff72d(0x1e6)](_0x4ff72d(0x20d),{'id':this[_0x4ff72d(0x1ea)]}),_0x4662a6[_0x4ff72d(0x210)]();})},'attributes':{'class':[_0x4827ce(0x204),_0x4827ce(0x1e0),this[_0x4827ce(0x202)]['if'](_0x4827ce(0x1e4),_0x4827ce(0x20c),_0x216bd0=>_0x4827ce(0x1f6)!==_0x216bd0)]}}),_0x409a31;}[_0x12b762(0x213)](){const _0x491580=_0x12b762,_0x8d20bc=new _0x1d13c8(this[_0x491580(0x207)]);return _0x8d20bc[_0x491580(0x1f2)]({'label':_0x30bede(this[_0x491580(0x207)],_0x491580(0x1dc)),'icon':_0x418cd4,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x491580(0x1d9),'class':_0x491580(0x1f1)}),_0x8d20bc[_0x491580(0x1ff)](_0x491580(0x1e7))['to'](this,_0x491580(0x1fc),_0x34ffa9=>_0x34ffa9),_0x8d20bc['on'](_0x491580(0x1db),()=>{const _0x50fce3=_0x491580;this[_0x50fce3(0x1fc)]=!this[_0x50fce3(0x1fc)];}),_0x8d20bc;}[_0x12b762(0x1d8)](){const _0x12e317=_0x12b762,_0x2499a9=new _0x1d13c8(this[_0x12e317(0x207)]);return _0x2499a9[_0x12e317(0x1f2)]({'withText':!0x0,'isEnabled':!0x1}),_0x2499a9[_0x12e317(0x1ff)](_0x12e317(0x1d5))['to'](this,_0x12e317(0x1e4),_0x137c2a=>_0x30bede(this[_0x12e317(0x207)],_0x12e317(0x1e1)+_0x137c2a[_0x12e317(0x1f9)]())),_0x2499a9[_0x12e317(0x1ff)](_0x12e317(0x1da))['to'](this,_0x12e317(0x1e4),_0x49ba1b=>_0x12e317(0x1e2)===_0x49ba1b[_0x12e317(0x1f9)]()?_0x54f632:_0x12e317(0x1fe)===_0x49ba1b[_0x12e317(0x1f9)]()?_0x40ed02:_0xe895),_0x2499a9[_0x12e317(0x1e5)]({'attributes':{'class':[_0x12e317(0x201),_0x12e317(0x1e9),this[_0x12e317(0x202)]['if'](_0x12e317(0x1e4),_0x12e317(0x20c),_0x42fb8a=>_0x12e317(0x1f6)===_0x42fb8a)],'disabled':_0x12e317(0x214)}}),_0x2499a9;}}function _0x48f9(_0x5a5cb3,_0x3e8def){const _0x190d4c=_0x190d();return _0x48f9=function(_0x48f9f3,_0x10a24e){_0x48f9f3=_0x48f9f3-0x1cf;let _0x29025f=_0x190d4c[_0x48f9f3];return _0x29025f;},_0x48f9(_0x5a5cb3,_0x3e8def);}function _0x190d(){const _0x51d824=['ck-ai-button-secondary','bindTemplate','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-button-tertiary-filled','setTemplate','setItemAsInactive','locale','ck-ai-review-mode__check-run-result-accept-button','acceptButtonView','showDiff','3107512ryfBlV','ck-hidden','dismissChange','4246670nAZDYN','7223448jUZsgn','stopPropagation','ck-content-direct-excluded','acceptChange','_createInfoButtonView','disabled','_createAcceptButtonView','104yPWHiS','ck-ai-review-mode__check-run-result-footer','_createResultResponseView','ck-ai-review-mode__check-run-result-response','27942knZZpU','label','4JWYIXC','_createDismissButtonView','_createStatusButtonView','menuitemcheckbox','icon','execute','AI_REVIEW_MODE_LEARN_MORE','infoButtonView','9KEElFX','setItemAsActive','ck-ai-review-mode__check-run-result-dismiss-button','AI_REVIEW_MODE_CHECK_STATUS_','ACCEPTED','AI_REVIEW_MODE_ACCEPT_CHANGE','status','extendTemplate','fire','isOn','click','ck-ai-review-mode__check-run-result-status-button','changeId','1575763nHNlEM','7744pqQWSh','statusButtonView','div','ck-content','687513bxygxV','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','set','11poIPCh','ck-ai-review-mode__check-run-result-action-buttons','resultResponseView','pending','45aFbBfG','isActive','toUpperCase','ck-ai-review-mode__check-run-result_active','activateChange','isInfoToggleOn','dismissButtonView','REJECTED','bind','ck-ai-review-mode__check-run-result'];_0x190d=function(){return _0x51d824;};return _0x190d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x932688,KeystrokeHandler as _0x2aa44b,FocusTracker as _0x2713c8}from'ckeditor5/src/utils.js';import{View as _0x5e5298,ViewCollection as _0x186f46,ButtonView as _0x4c9c8e,FormRowView as _0x3288a7,createDropdown as _0x4c4a8d,addListToDropdown as _0xa291f5,UIModel as _0xc4999c,ButtonLabelView as _0x3fa3d0,LabeledFieldView as _0x2bb550,FocusCycler as _0x43d417}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x502e8c}from'./aireviemodepromptinputview.js';import{getTranslation as _0x5d9015}from'../../aicore/utils/common-translations.js';import{AIModels as _0x2b3ae3}from'../../aicore/model/aimodels.js';export class AIReviewModeCustomCheckView extends _0x5e5298{['focusTracker']=new _0x2713c8();['keystrokes']=new _0x2aa44b();['focusCycler'];['_focusables']=new _0x186f46();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x16f947,_0x50e4cc){super(_0x16f947),this['_check']=_0x50e4cc,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x50e4cc['models']&&_0x50e4cc['models']['length']>0x0?_0x50e4cc['models'][0x0]['id']:'',this['_defaultLabel']=_0x50e4cc['models']&&_0x50e4cc['models']['length']>0x0?_0x50e4cc['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x2bb550(this['locale'],()=>new _0x502e8c(_0x16f947)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x932688(),this['_setModelList'](),_0xa291f5(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x3288a7(this['locale'],{'children':[this['promptInputView']]}),new _0x3288a7(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x1859ce,_0x1b7575)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x1b7575()):_0x1b7575();}),this['focusCycler']=new _0x43d417({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x46c058=>{this['_focusables']['add'](_0x46c058),this['focusTracker']['add'](_0x46c058['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x11bb6a of this['_getFormValidators']()){const _0x3cc43e=_0x11bb6a();if(_0x3cc43e)return this['promptInputView']['errorText']=_0x3cc43e,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x5d9015(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x5d1d90=new _0x4c9c8e(this['locale']),t=this['locale']['t'];return _0x5d1d90['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5d1d90['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x5d1d90;}['_createCancelButtonView'](){const _0x3c03fb=new _0x4c9c8e(this['locale']),t=this['locale']['t'];return _0x3c03fb['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x3c03fb['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4bc510=>{_0x4bc510['stopPropagation']();})}}),_0x3c03fb['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x3c03fb;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x369756=this['_check']['models'];if(this['resetToDefault'](),_0x369756?.['length']){const _0x2d9d45=_0x2b3ae3['getLocalized'](this['locale'],_0x369756);for(const _0x16aec7 of _0x2d9d45){const _0x3a04c5=new _0xc4999c({'label':_0x16aec7['name'],'withText':!0x0,'role':'menuitemradio','id':_0x16aec7['id'],'model':_0x16aec7});_0x3a04c5['bind']('isOn')['to'](this,'modelId',_0x28c3fc=>_0x28c3fc===_0x16aec7['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3a04c5,'labelView':new zs(this['locale'],_0x16aec7)});}}}['_createModelSelectionDropdown'](){const _0x135e0b=_0x4c4a8d(this['locale']);return _0x135e0b['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x135e0b['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x135e0b,'execute',_0x558356=>{this['modelId']=_0x558356['source']['model']['id'],_0x135e0b['buttonView']['label']=_0x558356['source']['label'];}),_0x135e0b;}['_createActionsFooterView'](){const _0x4d4f9d=new _0x5e5298(this['locale']);return _0x4d4f9d['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']]}]}),_0x4d4f9d;}}class zs extends _0x3fa3d0{constructor(_0x4820aa,_0x20aa63){super();const _0x55d849=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x55d849['to']('style'),'id':_0x55d849['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x55d849['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x20aa63['description']||'']}]}]});}}
23
+ import{Collection as _0x54eb33,KeystrokeHandler as _0x3f1f6e,FocusTracker as _0x1072c1}from'ckeditor5/src/utils.js';import{View as _0x26a1b4,ViewCollection as _0x926bfa,ButtonView as _0x337bfc,FormRowView as _0x7ec8ce,createDropdown as _0x197702,addListToDropdown as _0xf1781c,UIModel as _0x5ac78b,ButtonLabelView as _0x4e134e,LabeledFieldView as _0x12c82a,FocusCycler as _0x177ae8}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x54a8ad}from'./aireviemodepromptinputview.js';import{getTranslation as _0x50681d}from'../../aicore/utils/common-translations.js';import{AIModels as _0x3d1a84}from'../../aicore/model/aimodels.js';export class AIReviewModeCustomCheckView extends _0x26a1b4{['focusTracker']=new _0x1072c1();['keystrokes']=new _0x3f1f6e();['focusCycler'];['_focusables']=new _0x926bfa();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x17d4d3,_0x579bea){super(_0x17d4d3),this['_check']=_0x579bea,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x579bea['models']&&_0x579bea['models']['length']>0x0?_0x579bea['models'][0x0]['id']:'',this['_defaultLabel']=_0x579bea['models']&&_0x579bea['models']['length']>0x0?_0x579bea['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x12c82a(this['locale'],()=>new _0x54a8ad(_0x17d4d3)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x54eb33(),this['_setModelList'](),_0xf1781c(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x7ec8ce(this['locale'],{'children':[this['promptInputView']]}),new _0x7ec8ce(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x4389a8,_0x40cdc2)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x40cdc2()):_0x40cdc2();}),this['focusCycler']=new _0x177ae8({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x1b7981=>{this['_focusables']['add'](_0x1b7981),this['focusTracker']['add'](_0x1b7981['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x284fef of this['_getFormValidators']()){const _0x5c387d=_0x284fef();if(_0x5c387d)return this['promptInputView']['errorText']=_0x5c387d,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x50681d(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3cc533=new _0x337bfc(this['locale']),t=this['locale']['t'];return _0x3cc533['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3cc533['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3cc533;}['_createCancelButtonView'](){const _0x1056af=new _0x337bfc(this['locale']),t=this['locale']['t'];return _0x1056af['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x1056af['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x22f52d=>{_0x22f52d['stopPropagation']();})}}),_0x1056af['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x1056af;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x2fb221=this['_check']['models'];if(this['resetToDefault'](),_0x2fb221?.['length']){const _0x51534c=_0x3d1a84['getLocalized'](this['locale'],_0x2fb221);for(const _0x2866aa of _0x51534c){const _0xc57390=new _0x5ac78b({'label':_0x2866aa['name'],'withText':!0x0,'role':'menuitemradio','id':_0x2866aa['id'],'model':_0x2866aa});_0xc57390['bind']('isOn')['to'](this,'modelId',_0x146b97=>_0x146b97===_0x2866aa['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xc57390,'labelView':new Fs(this['locale'],_0x2866aa)});}}}['_createModelSelectionDropdown'](){const _0x24310e=_0x197702(this['locale']);return _0x24310e['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x24310e['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x24310e,'execute',_0x23753c=>{this['modelId']=_0x23753c['source']['model']['id'],_0x24310e['buttonView']['label']=_0x23753c['source']['label'];}),_0x24310e;}['_createActionsFooterView'](){const _0x2d59b7=new _0x26a1b4(this['locale']);return _0x2d59b7['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']]}]}),_0x2d59b7;}}class Fs extends _0x4e134e{constructor(_0x3dc43b,_0x3c6d89){super();const _0x13114a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x13114a['to']('style'),'id':_0x13114a['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x13114a['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3c6d89['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x132a85,_0x50e871){var _0x373959=_0x5231,_0x2e1517=_0x132a85();while(!![]){try{var _0x17cc39=parseInt(_0x373959(0xa6))/0x1+-parseInt(_0x373959(0xb0))/0x2*(parseInt(_0x373959(0xb5))/0x3)+parseInt(_0x373959(0xb3))/0x4+parseInt(_0x373959(0xab))/0x5+parseInt(_0x373959(0xb2))/0x6*(-parseInt(_0x373959(0xa7))/0x7)+-parseInt(_0x373959(0xb1))/0x8+parseInt(_0x373959(0xaf))/0x9*(parseInt(_0x373959(0xa8))/0xa);if(_0x17cc39===_0x50e871)break;else _0x2e1517['push'](_0x2e1517['shift']());}catch(_0x147f2c){_0x2e1517['push'](_0x2e1517['shift']());}}}(_0xe5ce,0x47382));import{ButtonView as _0x446daa}from'ckeditor5/src/ui.js';function _0x5231(_0x4470c1,_0xcd64f2){var _0xe5ce24=_0xe5ce();return _0x5231=function(_0x523118,_0x1fc890){_0x523118=_0x523118-0xa5;var _0x1448b0=_0xe5ce24[_0x523118];return _0x1448b0;},_0x5231(_0x4470c1,_0xcd64f2);}import{getTranslation as _0x42dde2}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x446daa{constructor(_0x493fce){var _0x3af7b5=_0x5231;super(_0x493fce),this[_0x3af7b5(0xa5)]({'label':_0x42dde2(this[_0x3af7b5(0xad)],_0x3af7b5(0xb4)),'withText':!0x0,'class':_0x3af7b5(0xaa)}),this['on'](_0x3af7b5(0xae),()=>{var _0x4b3bfb=_0x3af7b5;this[_0x4b3bfb(0xa9)](_0x4b3bfb(0xac));});}}function _0xe5ce(){var _0x975811=['ck-ai-button-primary','629450zOnqmQ','finishReview','locale','execute','9621LHLoew','102XfPaPa','1992776iAvfYc','11118NKLQpx','1119228PiImbO','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','30417iAKlmu','set','3179JTAjCP','161hryOnd','6470jDihkC','fire'];_0xe5ce=function(){return _0x975811;};return _0xe5ce();}
23
+ (function(_0x2ea648,_0x4bf0b0){var _0x4695f9=_0x3bf0,_0x332d96=_0x2ea648();while(!![]){try{var _0x25bd09=-parseInt(_0x4695f9(0x1d5))/0x1*(-parseInt(_0x4695f9(0x1d2))/0x2)+-parseInt(_0x4695f9(0x1cc))/0x3+parseInt(_0x4695f9(0x1d1))/0x4*(parseInt(_0x4695f9(0x1cd))/0x5)+parseInt(_0x4695f9(0x1d8))/0x6+-parseInt(_0x4695f9(0x1d3))/0x7*(parseInt(_0x4695f9(0x1d0))/0x8)+parseInt(_0x4695f9(0x1d6))/0x9+-parseInt(_0x4695f9(0x1ca))/0xa;if(_0x25bd09===_0x4bf0b0)break;else _0x332d96['push'](_0x332d96['shift']());}catch(_0x3327ed){_0x332d96['push'](_0x332d96['shift']());}}}(_0x3487,0x43f5e));import{ButtonView as _0x43cb24}from'ckeditor5/src/ui.js';import{getTranslation as _0x40fe85}from'../../aicore/utils/common-translations.js';function _0x3bf0(_0x439c31,_0x185387){var _0x34875e=_0x3487();return _0x3bf0=function(_0x3bf0c2,_0x3dff10){_0x3bf0c2=_0x3bf0c2-0x1c9;var _0x1dee79=_0x34875e[_0x3bf0c2];return _0x1dee79;},_0x3bf0(_0x439c31,_0x185387);}import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x43cb24{constructor(_0x2d011f){var _0x1424e2=_0x3bf0;super(_0x2d011f),this[_0x1424e2(0x1ce)]({'label':_0x40fe85(this[_0x1424e2(0x1cf)],_0x1424e2(0x1c9)),'withText':!0x0,'class':_0x1424e2(0x1cb)}),this['on'](_0x1424e2(0x1d9),()=>{var _0x3fde02=_0x1424e2;this[_0x3fde02(0x1d7)](_0x3fde02(0x1d4));});}}function _0x3487(){var _0x185be1=['set','locale','259936ZPJEcL','195484QdlzFy','77416VFqfpS','14iJkWbc','finishReview','3sGIsLi','5009535mwwBrX','fire','1578258MGLBUG','execute','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','8760520cWstNd','ck-ai-button-primary','761883lncYFG','55EDsDan'];_0x3487=function(){return _0x185be1;};return _0x3487();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f654b=_0x3d47;(function(_0x7b113a,_0x81b5f8){const _0x35e099=_0x3d47,_0x503e69=_0x7b113a();while(!![]){try{const _0xa541b3=-parseInt(_0x35e099(0x17c))/0x1*(parseInt(_0x35e099(0x194))/0x2)+parseInt(_0x35e099(0x18a))/0x3*(parseInt(_0x35e099(0x18f))/0x4)+parseInt(_0x35e099(0x196))/0x5+parseInt(_0x35e099(0x189))/0x6+parseInt(_0x35e099(0x17e))/0x7+-parseInt(_0x35e099(0x180))/0x8*(parseInt(_0x35e099(0x188))/0x9)+-parseInt(_0x35e099(0x193))/0xa*(parseInt(_0x35e099(0x187))/0xb);if(_0xa541b3===_0x81b5f8)break;else _0x503e69['push'](_0x503e69['shift']());}catch(_0x4e2a98){_0x503e69['push'](_0x503e69['shift']());}}}(_0x506f,0xe1ca5));function _0x506f(){const _0x321d0d=['3336648TJypPA','3KeDrjG','ck-ai-review-mode__check-list','isVisible','clear','entries','4409480rwldjO','delegate','ck-hidden','resetAllParameterizedChecks','5632130Nicxtd','26oujHkH','setChecks','3549420eRbequ','add','locale','75322bQPhDm','resetToDefault','12680703Mamshj','_checkViews','23016GtrBYn','runReviewCheck','hasChecks','bindTemplate','setTemplate','length','div','44jVxyuA','72vemLRl'];_0x506f=function(){return _0x321d0d;};return _0x506f();}import{ListItemView as _0x4cab2b,ViewCollection as _0x3b9fe0}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x2194b5}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';function _0x3d47(_0x40c40b,_0x4cf14a){const _0x506fbd=_0x506f();return _0x3d47=function(_0x3d47d8,_0x312614){_0x3d47d8=_0x3d47d8-0x17a;let _0x3fdab2=_0x506fbd[_0x3d47d8];return _0x3fdab2;},_0x3d47(_0x40c40b,_0x4cf14a);}export class AIReviewModeReviewCheckListView extends _0x4cab2b{[_0x4f654b(0x17f)];constructor(_0x45b5de){const _0xa308b2=_0x4f654b;super(_0x45b5de),this[_0xa308b2(0x17f)]=new _0x3b9fe0();const _0x109169=this[_0xa308b2(0x183)];this[_0xa308b2(0x184)]({'tag':_0xa308b2(0x186),'attributes':{'class':[_0xa308b2(0x18b),_0x109169['if'](_0xa308b2(0x18c),_0xa308b2(0x191),_0x50855b=>!_0x50855b)]},'children':this[_0xa308b2(0x17f)]});}[_0x4f654b(0x195)](_0x1134f1){const _0x5d22bc=_0x4f654b;this[_0x5d22bc(0x17f)][_0x5d22bc(0x18d)]();for(const [_0x22ebc8,_0x4b4a3e]of _0x1134f1[_0x5d22bc(0x18e)]()){const _0x3a7d77=new _0x2194b5(this[_0x5d22bc(0x17b)],_0x4b4a3e,_0x22ebc8);_0x3a7d77[_0x5d22bc(0x190)](_0x5d22bc(0x181))['to'](this),this[_0x5d22bc(0x17f)][_0x5d22bc(0x17a)](_0x3a7d77);}}[_0x4f654b(0x182)](){const _0x5858fa=_0x4f654b;return this[_0x5858fa(0x17f)][_0x5858fa(0x185)]>0x0;}[_0x4f654b(0x192)](){const _0x284346=_0x4f654b;for(const _0x40c752 of this[_0x284346(0x17f)])_0x40c752 instanceof _0x2194b5&&_0x40c752[_0x284346(0x17d)]();}}
23
+ const _0x2d569e=_0x483c;function _0x2597(){const _0x5e5921=['div','setChecks','resetToDefault','entries','615309ersHJr','4FBbXUm','hasChecks','resetAllParameterizedChecks','add','50601cDJufS','1831716DwLrLP','ck-ai-review-mode__check-list','runReviewCheck','locale','4JJNIHl','1598696BvhfbO','10563400pjqaTK','length','ck-hidden','clear','305508tzmiJg','delegate','isVisible','35cmYWJY','bindTemplate','3035215JQBxmS','_checkViews','setTemplate'];_0x2597=function(){return _0x5e5921;};return _0x2597();}(function(_0x34a2d1,_0x1f9949){const _0x49d656=_0x483c,_0x42684e=_0x34a2d1();while(!![]){try{const _0x31b4af=parseInt(_0x49d656(0x106))/0x1*(-parseInt(_0x49d656(0x10b))/0x2)+-parseInt(_0x49d656(0x101))/0x3*(-parseInt(_0x49d656(0x102))/0x4)+parseInt(_0x49d656(0xfa))/0x5+parseInt(_0x49d656(0x111))/0x6+-parseInt(_0x49d656(0xf8))/0x7*(-parseInt(_0x49d656(0x10c))/0x8)+-parseInt(_0x49d656(0x107))/0x9+-parseInt(_0x49d656(0x10d))/0xa;if(_0x31b4af===_0x1f9949)break;else _0x42684e['push'](_0x42684e['shift']());}catch(_0x3f1981){_0x42684e['push'](_0x42684e['shift']());}}}(_0x2597,0x7a5bf));import{ListItemView as _0x2eb5ac,ViewCollection as _0x3e5fed}from'ckeditor5/src/ui.js';function _0x483c(_0x1c3e4a,_0x361782){const _0x25973a=_0x2597();return _0x483c=function(_0x483c4a,_0x51b53b){_0x483c4a=_0x483c4a-0xf7;let _0x4e86ed=_0x25973a[_0x483c4a];return _0x4e86ed;},_0x483c(_0x1c3e4a,_0x361782);}import{AIReviewModeReviewCommandListItemView as _0x2f41ce}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x2eb5ac{[_0x2d569e(0xfb)];constructor(_0x47ad4a){const _0x452a19=_0x2d569e;super(_0x47ad4a),this[_0x452a19(0xfb)]=new _0x3e5fed();const _0x25f3de=this[_0x452a19(0xf9)];this[_0x452a19(0xfc)]({'tag':_0x452a19(0xfd),'attributes':{'class':[_0x452a19(0x108),_0x25f3de['if'](_0x452a19(0xf7),_0x452a19(0x10f),_0x1436ae=>!_0x1436ae)]},'children':this[_0x452a19(0xfb)]});}[_0x2d569e(0xfe)](_0x11acba){const _0x5390ca=_0x2d569e;this[_0x5390ca(0xfb)][_0x5390ca(0x110)]();for(const [_0x31a8bf,_0x22d62]of _0x11acba[_0x5390ca(0x100)]()){const _0x370496=new _0x2f41ce(this[_0x5390ca(0x10a)],_0x22d62,_0x31a8bf);_0x370496[_0x5390ca(0x112)](_0x5390ca(0x109))['to'](this),this[_0x5390ca(0xfb)][_0x5390ca(0x105)](_0x370496);}}[_0x2d569e(0x103)](){const _0x2924ca=_0x2d569e;return this[_0x2924ca(0xfb)][_0x2924ca(0x10e)]>0x0;}[_0x2d569e(0x104)](){const _0x2cb72d=_0x2d569e;for(const _0x550b5b of this[_0x2cb72d(0xfb)])_0x550b5b instanceof _0x2f41ce&&_0x550b5b[_0x2cb72d(0xff)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x558a73,View as _0x146a89,ViewCollection as _0x4cefdc,ButtonView as _0xdcb4ce}from'ckeditor5/src/ui.js';import{IconStop as _0x2f77b8,IconEye as _0x12ba4c,IconEyeCrossedOut as _0x566fcc}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0xffbe21}from'./aireviewmodechecklistitemresultview.js';import{AIReviewModeFinishReviewButtonView as _0x5dee07}from'./aireviewmodefinishreviewbuttonview.js';import{AISkeletonView as _0x5420d7,SKELETON_DEFINITIONS as _0x6122de}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x137761}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x32b734}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x37c9c2}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x558a73{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];constructor(_0x319915){super(_0x319915),this['_resultViews']=new _0x4cefdc(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x137761(_0x319915),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x2d2e8e=this['_createCombinedSkeletonLoader'](),_0x75e397=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x75e397['if']('isVisible','ck-hidden',_0x2e4df8=>!_0x2e4df8)]},'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',_0x41f0c2=>_0x41f0c2)]},'children':this['_resultViews']},_0x2d2e8e]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4155dc){const _0x1b8ec8=new _0xffbe21(this['locale'],_0x4155dc['id']);_0x1b8ec8['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x1b8ec8),_0x1b8ec8['resultResponseView']['element']['innerHTML']=_0x4155dc['contentDiffed'];}['hideResult'](_0x569023,_0x440c35){if('pending'===_0x440c35)return;const _0x344858=this['_resultViews']['find'](_0x555de2=>_0x555de2['id']===_0x569023);_0x344858&&(_0x344858['status']=_0x440c35,_0x344858['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_grayout'));}['showResult'](_0x3c49aa,_0x137f2e){if('pending'!==_0x137f2e)return;const _0x55944c=this['_resultViews']['find'](_0x4a6e60=>_0x4a6e60['id']===_0x3c49aa);_0x55944c&&(_0x55944c['status']=_0x137f2e,_0x55944c['element']?.['classList']['remove']('ck-ai-review-mode__check-run-result_grayout'));}['setTitle'](_0x3337b1,_0x34772a){this['headerTitle']=_0x3337b1,this['headerSubtitle']=_0x34772a||'';}['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 _0x5420d7(this['locale'],_0x6122de['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x243520=new _0x146a89(this['locale']),_0x2ddc30=[];for(let _0xedcf2e=0x0;_0xedcf2e<0x10;_0xedcf2e++){const _0x349387=this['_createSkeletonLoader']();_0x349387['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x2ddc30['push'](_0x349387);}return _0x243520['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x29ace5=>!_0x29ace5)]},'children':_0x2ddc30}),_0x243520;}['_createErrorView'](){const _0x57d45b=new _0x146a89(this['locale']),_0x485f80=new _0xdcb4ce(this['locale']),t=this['locale']['t'];return _0x57d45b['delegate']('retryReview')['to'](this),_0x485f80['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x485f80['on']('execute',()=>{this['fire']('retryReview');}),_0x57d45b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5d3e3b=>!_0x5d3e3b),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x263c06=>'chunk'===_0x263c06)]},'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',_0x705013=>'chunk'===_0x705013)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x408c0c=>'general'!==_0x408c0c)]},'children':[{'text':_0x32b734(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4d6001=>'chunk'!==_0x4d6001)]},'children':[{'text':_0x32b734(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x485f80]}),_0x57d45b;}['_createCancelButtonView'](){const _0x248ed1=new _0xdcb4ce(this['locale']);return _0x248ed1['set']({'label':_0x32b734(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x2f77b8}),_0x248ed1['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x550ad2=>_0x550ad2),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1ccf2c=>_0x1ccf2c)]}}),_0x248ed1['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x248ed1;}['_createToggleDiffButtonView'](){const _0x3018b6=new _0xdcb4ce(this['locale']);_0x3018b6['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x3018b6['bind']('isEnabled')['to'](this,'isError',_0x3b43c7=>!_0x3b43c7),_0x3018b6['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x6d35fd=>!_0x6d35fd),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2cc51d=>_0x2cc51d)]}});const _0x20046c=_0x32b734(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x1a71ae=_0x32b734(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x3018b6['bind']('isOn')['to'](this,'isToggleDiffOn',_0x420a5a=>_0x420a5a),_0x3018b6['bind']('icon')['to'](this,'isToggleDiffOn',_0x243ea8=>_0x243ea8?_0x12ba4c:_0x566fcc),_0x3018b6['bind']('label')['to'](this,'isToggleDiffOn',_0x145411=>_0x145411?_0x20046c:_0x1a71ae),_0x3018b6['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x3018b6;}['_createAcceptAllButtonView'](){const _0x139862=new _0xdcb4ce(this['locale']);return _0x139862['set']({'label':_0x32b734(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x139862['bind']('isEnabled')['to'](this,'isError',_0xea5095=>!_0xea5095),_0x139862['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5e3e7c=>!_0x5e3e7c),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x8e1e85=>_0x8e1e85)]}}),_0x139862['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x139862;}['_createExitReviewButtonView'](){const _0x477ae6=new _0xdcb4ce(this['locale']);return _0x477ae6['set']({'label':_0x32b734(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x477ae6['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x44d7ac=>!_0x44d7ac),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x565b10=>_0x565b10)]}}),_0x477ae6['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x477ae6;}['_createResultHeaderView'](){const _0x46de4a=new _0x146a89(this['locale']),_0x461081=this['_createTitleView']();return _0x46de4a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai-review-mode__review-completed-header',_0x53e6ab=>_0x53e6ab)]},'children':[_0x461081,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x46de4a;}['_createTitleView'](){const _0x1dbf8b=new _0x146a89(this['locale']),_0x5721bc=new _0x37c9c2();return _0x5721bc['bind']('isVisible')['to'](this,'isResultReady',_0x36ddba=>!_0x36ddba),_0x1dbf8b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x5721bc,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x286ee1=>_0x286ee1)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x51b856=>!_0x51b856)]},'children':[{'text':_0x32b734(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x1dbf8b;}['_createFinishReviewButtonView'](){const _0x2da59f=new _0x5dee07(this['locale']);return _0x2da59f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1f1586=>!_0x1f1586)]}}),_0x2da59f['delegate']('finishReview')['to'](this),_0x2da59f;}}
23
+ import{ListItemView as _0x21bf2c,View as _0x2a91ba,ViewCollection as _0x49cecb,ButtonView as _0x15acfc}from'ckeditor5/src/ui.js';import{IconStop as _0x125536,IconEye as _0x44efc0,IconEyeCrossedOut as _0x1edc0a}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x595a42}from'./aireviewmodechecklistitemresultview.js';import{AIReviewModeFinishReviewButtonView as _0x317f7e}from'./aireviewmodefinishreviewbuttonview.js';import{AISkeletonView as _0x270f0d,SKELETON_DEFINITIONS as _0xf74b1}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x56e1ac}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x291e9c}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x2511c8}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x21bf2c{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];constructor(_0x23085c){super(_0x23085c),this['_resultViews']=new _0x49cecb(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x56e1ac(_0x23085c),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x3fd9f6=this['_createCombinedSkeletonLoader'](),_0x3ea738=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x3ea738['if']('isVisible','ck-hidden',_0x4d9d0a=>!_0x4d9d0a)]},'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',_0x31ea40=>_0x31ea40)]},'children':this['_resultViews']},_0x3fd9f6]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x475c9c){const _0x4f1487=new _0x595a42(this['locale'],_0x475c9c['id']);_0x4f1487['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x4f1487),_0x4f1487['resultResponseView']['element']['innerHTML']=_0x475c9c['contentDiffed'];}['hideResult'](_0x55214a,_0x407cbc){if('pending'===_0x407cbc)return;const _0x520c0d=this['_resultViews']['find'](_0x35419f=>_0x35419f['id']===_0x55214a);_0x520c0d&&(_0x520c0d['status']=_0x407cbc,_0x520c0d['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_grayout'));}['showResult'](_0x45f0d7,_0x16de08){if('pending'!==_0x16de08)return;const _0x199f86=this['_resultViews']['find'](_0x27c914=>_0x27c914['id']===_0x45f0d7);_0x199f86&&(_0x199f86['status']=_0x16de08,_0x199f86['element']?.['classList']['remove']('ck-ai-review-mode__check-run-result_grayout'));}['setTitle'](_0x8aae45,_0x53ba1a){this['headerTitle']=_0x8aae45,this['headerSubtitle']=_0x53ba1a||'';}['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 _0x270f0d(this['locale'],_0xf74b1['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x565344=new _0x2a91ba(this['locale']),_0x553379=[];for(let _0x3b1794=0x0;_0x3b1794<0x10;_0x3b1794++){const _0x1462a0=this['_createSkeletonLoader']();_0x1462a0['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x553379['push'](_0x1462a0);}return _0x565344['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x40855f=>!_0x40855f)]},'children':_0x553379}),_0x565344;}['_createErrorView'](){const _0x421edd=new _0x2a91ba(this['locale']),_0x329a71=new _0x15acfc(this['locale']),t=this['locale']['t'];return _0x421edd['delegate']('retryReview')['to'](this),_0x329a71['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x329a71['on']('execute',()=>{this['fire']('retryReview');}),_0x421edd['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x1a17dd=>!_0x1a17dd),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x3035a1=>'chunk'===_0x3035a1)]},'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',_0x2d6d4e=>'chunk'===_0x2d6d4e)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3de209=>'general'!==_0x3de209)]},'children':[{'text':_0x291e9c(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x5c40f5=>'chunk'!==_0x5c40f5)]},'children':[{'text':_0x291e9c(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x329a71]}),_0x421edd;}['_createCancelButtonView'](){const _0x3581ed=new _0x15acfc(this['locale']);return _0x3581ed['set']({'label':_0x291e9c(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x125536}),_0x3581ed['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4945ad=>_0x4945ad),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x599ca8=>_0x599ca8)]}}),_0x3581ed['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x3581ed;}['_createToggleDiffButtonView'](){const _0x182cbf=new _0x15acfc(this['locale']);_0x182cbf['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x182cbf['bind']('isEnabled')['to'](this,'isError',_0x5bf676=>!_0x5bf676),_0x182cbf['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2d9e3a=>!_0x2d9e3a),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5b86f4=>_0x5b86f4)]}});const _0x36b4e3=_0x291e9c(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x114cb6=_0x291e9c(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x182cbf['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2f11b5=>_0x2f11b5),_0x182cbf['bind']('icon')['to'](this,'isToggleDiffOn',_0x3e9080=>_0x3e9080?_0x44efc0:_0x1edc0a),_0x182cbf['bind']('label')['to'](this,'isToggleDiffOn',_0xa56e1a=>_0xa56e1a?_0x36b4e3:_0x114cb6),_0x182cbf['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x182cbf;}['_createAcceptAllButtonView'](){const _0x1c710a=new _0x15acfc(this['locale']);return _0x1c710a['set']({'label':_0x291e9c(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x1c710a['bind']('isEnabled')['to'](this,'isError',_0x5935b3=>!_0x5935b3),_0x1c710a['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x496f92=>!_0x496f92),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x53253c=>_0x53253c)]}}),_0x1c710a['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x1c710a;}['_createExitReviewButtonView'](){const _0x191c72=new _0x15acfc(this['locale']);return _0x191c72['set']({'label':_0x291e9c(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x191c72['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d1276=>!_0x1d1276),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3b3d39=>_0x3b3d39)]}}),_0x191c72['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x191c72;}['_createResultHeaderView'](){const _0xeb9f67=new _0x2a91ba(this['locale']),_0x157494=this['_createTitleView']();return _0xeb9f67['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai-review-mode__review-completed-header',_0x5cbec6=>_0x5cbec6)]},'children':[_0x157494,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0xeb9f67;}['_createTitleView'](){const _0x21e2b9=new _0x2a91ba(this['locale']),_0x2d3972=new _0x2511c8();return _0x2d3972['bind']('isVisible')['to'](this,'isResultReady',_0x168b8c=>!_0x168b8c),_0x21e2b9['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x2d3972,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1c504e=>_0x1c504e)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0xe69a8=>!_0xe69a8)]},'children':[{'text':_0x291e9c(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x21e2b9;}['_createFinishReviewButtonView'](){const _0x408804=new _0x317f7e(this['locale']);return _0x408804['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3dd953=>!_0x3dd953)]}}),_0x408804['delegate']('finishReview')['to'](this),_0x408804;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x27af78,IconView as _0xa4ee6c,View as _0x402c45,ViewCollection as _0x517e9c,ButtonView as _0x204794,clickOutsideHandler as _0x4c3865}from'ckeditor5/src/ui.js';import{IconChevronRight as _0xb4bece}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x48a894}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x2a9d26}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x27af78{['_formItemsCollection']=new _0x517e9c();['_customCheckView']=null;constructor(_0x480ab6,_0x35f800,_0x2b44c8){super(_0x480ab6),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x35f800['isParameterized']);const _0x310bd9=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',_0x152be6=>_0x152be6),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x328a2e=>_0x328a2e)],'style':{'--ck-ai-review-check-list-item-index':_0x2b44c8}},'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':_0x35f800['title']}]},_0x310bd9]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x35f800['description']}]}]}]},..._0x35f800['isParameterized']?[this['_createParameterizedView'](_0x35f800)]:[],...'custom'===_0x35f800['id']?[this['_createCustomView'](_0x35f800)]:[]]}),this['on']('click',()=>{_0x35f800['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x35f800['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x4c3865({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x29408a=>{_0x29408a['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x4f367f=new _0xa4ee6c();return _0x4f367f['content']=_0xb4bece,_0x4f367f['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x4f367f;}['_createParameterizedView'](_0x81ddb0){const _0x1b8f48=new _0x402c45(),_0x3482d6=this['_createFormView'](_0x81ddb0);return _0x1b8f48['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x4c2a0a=>!_0x4c2a0a)]},'children':[_0x3482d6]}),_0x1b8f48;}['_createFormView'](_0x13734d){const _0x1a2500=new _0x402c45(),_0x12a4b2=Array['isArray'](_0x13734d['options'])?_0x13734d['options']:[],_0x149164=new _0x204794(this['locale']),t=this['locale']['t'];_0x149164['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x149164['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3a715b=>{_0x3a715b['stopPropagation']();})}}),_0x149164['on']('execute',()=>{const _0xd27204=[],_0x2bbbbc={};this['_formItemsCollection']['forEach'](_0x2257a0=>{_0xd27204['push'](_0x2257a0['value']),_0x13734d['useArgs']&&_0x13734d['options']&&(_0x2bbbbc[_0x2257a0['argsKey']]=_0x2257a0['value']);}),this['fire']('runReviewCheck',{'id':_0x13734d['id'],'params':_0xd27204['length']?_0xd27204:void 0x0,'args':Object['keys'](_0x2bbbbc)['length']?_0x2bbbbc:void 0x0});});const _0x2d90ee=_0x12a4b2['length'];return _0x12a4b2['forEach']((_0xf75794,_0xe89fb1)=>{const _0x5a6888=_0xe89fb1===_0x2d90ee-0x1;this['_formItemsCollection']['add'](new _0x48a894(this['locale'],_0xf75794,_0x5a6888?_0x149164:null));}),_0x1a2500['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x1a2500;}['_createCustomView'](_0x1863f8){return this['_customCheckView']=new _0x2a9d26(this['locale'],_0x1863f8),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',_0x4fa9b0=>!_0x4fa9b0)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x73ebba,_0x5f225b,_0x4bddb1)=>{_0x4bddb1||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0x3fa586,IconView as _0x96fd2b,View as _0x6a9c4b,ViewCollection as _0x1835a8,ButtonView as _0x344e32,clickOutsideHandler as _0x3b84fa}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x4ef733}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x1700df}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x3044b1}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x3fa586{['_formItemsCollection']=new _0x1835a8();['_customCheckView']=null;constructor(_0x1a8621,_0x14de23,_0x448ab8){super(_0x1a8621),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x14de23['isParameterized']);const _0x590fbd=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',_0x604386=>_0x604386),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x56abc0=>_0x56abc0)],'style':{'--ck-ai-review-check-list-item-index':_0x448ab8}},'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':_0x14de23['title']}]},_0x590fbd]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x14de23['description']}]}]}]},..._0x14de23['isParameterized']?[this['_createParameterizedView'](_0x14de23)]:[],...'custom'===_0x14de23['id']?[this['_createCustomView'](_0x14de23)]:[]]}),this['on']('click',()=>{_0x14de23['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x14de23['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x3b84fa({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x1ad744=>{_0x1ad744['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0xe6a126=new _0x96fd2b();return _0xe6a126['content']=_0x4ef733,_0xe6a126['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0xe6a126;}['_createParameterizedView'](_0x236f80){const _0x20c58c=new _0x6a9c4b(),_0x4123d4=this['_createFormView'](_0x236f80);return _0x20c58c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x44df07=>!_0x44df07)]},'children':[_0x4123d4]}),_0x20c58c;}['_createFormView'](_0x481b3b){const _0x228348=new _0x6a9c4b(),_0x53c748=Array['isArray'](_0x481b3b['options'])?_0x481b3b['options']:[],_0x3b2262=new _0x344e32(this['locale']),t=this['locale']['t'];_0x3b2262['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3b2262['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4cf3f1=>{_0x4cf3f1['stopPropagation']();})}}),_0x3b2262['on']('execute',()=>{const _0x41d8c6=[],_0x29e7c1={};this['_formItemsCollection']['forEach'](_0x3b51b7=>{_0x41d8c6['push'](_0x3b51b7['value']),_0x481b3b['useArgs']&&_0x481b3b['options']&&(_0x29e7c1[_0x3b51b7['argsKey']]=_0x3b51b7['value']);}),this['fire']('runReviewCheck',{'id':_0x481b3b['id'],'params':_0x41d8c6['length']?_0x41d8c6:void 0x0,'args':Object['keys'](_0x29e7c1)['length']?_0x29e7c1:void 0x0});});const _0x2daa1f=_0x53c748['length'];return _0x53c748['forEach']((_0x397784,_0x2198ed)=>{const _0x56bfc0=_0x2198ed===_0x2daa1f-0x1;this['_formItemsCollection']['add'](new _0x1700df(this['locale'],_0x397784,_0x56bfc0?_0x3b2262:null));}),_0x228348['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x228348;}['_createCustomView'](_0x2b31cb){return this['_customCheckView']=new _0x3044b1(this['locale'],_0x2b31cb),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',_0x6d6da6=>!_0x6d6da6)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x3ce6d8,_0x1c67bc,_0x46dce6)=>{_0x46dce6||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a4a17=_0x33bc;function _0x2d00(){const _0x623510=['117969hklvvn','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','9nEzrRu','finishReview','12USAdxm','ck-ai-review-mode__review-completed-header-title','10IdRKKN','setTemplate','ck-ai-review-mode__review-completed-content','ck-ai-review-mode__review-completed','ck-hidden','4673802CPDftH','delegate','bindTemplate','ck-ai-review-mode__review-completed-header-buttons','ck-ai-review-mode__review-completed-header','4061414fPtxIc','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','div','784376XBokhQ','isVisible','locale','span','resultsHeader','ck-ai-review-mode__review-completed-content-icon','ck-ai-review-mode__review-completed-content-text','_finishReviewButtonView','12472190oMrJgP','1088924KFJXCe','_createFinishReviewButtonView','441040BqeDbj','_createResultHeaderView'];_0x2d00=function(){return _0x623510;};return _0x2d00();}(function(_0x2a7188,_0x5005d0){const _0x20417d=_0x33bc,_0x108b10=_0x2a7188();while(!![]){try{const _0x47dd00=parseInt(_0x20417d(0xe1))/0x1*(parseInt(_0x20417d(0xe7))/0x2)+parseInt(_0x20417d(0xe5))/0x3*(parseInt(_0x20417d(0xdd))/0x4)+parseInt(_0x20417d(0xdf))/0x5+parseInt(_0x20417d(0xcc))/0x6+-parseInt(_0x20417d(0xd1))/0x7+-parseInt(_0x20417d(0xd4))/0x8+parseInt(_0x20417d(0xe3))/0x9*(-parseInt(_0x20417d(0xdc))/0xa);if(_0x47dd00===_0x5005d0)break;else _0x108b10['push'](_0x108b10['shift']());}catch(_0x5882e2){_0x108b10['push'](_0x108b10['shift']());}}}(_0x2d00,0x977bc));import{ListItemView as _0x3af285,View as _0x3ad961}from'ckeditor5/src/ui.js';import{AIReviewModeFinishReviewButtonView as _0x56e5de}from'./aireviewmodefinishreviewbuttonview.js';import{getTranslation as _0x4e1820}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x33bc(_0x1875cd,_0x448e85){const _0x2d008c=_0x2d00();return _0x33bc=function(_0x33bca4,_0x38adb4){_0x33bca4=_0x33bca4-0xc8;let _0x24a04f=_0x2d008c[_0x33bca4];return _0x24a04f;},_0x33bc(_0x1875cd,_0x448e85);}export class AIReviewModeReviewCompletedView extends _0x3af285{[_0x2a4a17(0xd8)];[_0x2a4a17(0xdb)];constructor(_0x2f122f){const _0x11fc7c=_0x2a4a17;super(_0x2f122f),this[_0x11fc7c(0xdb)]=this[_0x11fc7c(0xde)](),this[_0x11fc7c(0xd8)]=this[_0x11fc7c(0xe0)]();const _0x6db397=this[_0x11fc7c(0xce)];this[_0x11fc7c(0xc8)]({'tag':_0x11fc7c(0xd3),'attributes':{'class':[_0x11fc7c(0xca),_0x6db397['if'](_0x11fc7c(0xd5),_0x11fc7c(0xcb),_0x50b276=>!_0x50b276)]},'children':[this[_0x11fc7c(0xd8)],{'tag':_0x11fc7c(0xd3),'attributes':{'class':[_0x11fc7c(0xc9)]},'children':[{'tag':_0x11fc7c(0xd7),'attributes':{'class':[_0x11fc7c(0xd9)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x11fc7c(0xda)]},'children':[{'text':_0x4e1820(_0x2f122f,_0x11fc7c(0xe2))}]}]}]});}[_0x2a4a17(0xde)](){const _0x202eee=_0x2a4a17,_0x18cba6=new _0x56e5de(this[_0x202eee(0xd6)]);return _0x18cba6[_0x202eee(0xcd)](_0x202eee(0xe4))['to'](this),_0x18cba6;}[_0x2a4a17(0xe0)](){const _0x449a4d=_0x2a4a17,_0x1f29ed=new _0x3ad961(this[_0x449a4d(0xd6)]);return _0x1f29ed[_0x449a4d(0xc8)]({'tag':_0x449a4d(0xd3),'attributes':{'class':[_0x449a4d(0xd0)]},'children':[{'tag':_0x449a4d(0xd7),'attributes':{'class':[_0x449a4d(0xe6)]},'children':[{'text':_0x4e1820(this[_0x449a4d(0xd6)],_0x449a4d(0xd2))}]},{'tag':_0x449a4d(0xd3),'attributes':{'class':[_0x449a4d(0xcf)]},'children':[this[_0x449a4d(0xdb)]]}]}),_0x1f29ed;}}
23
+ const _0x2c3604=_0x4482;(function(_0x5386e1,_0xb5c54a){const _0x4d75dd=_0x4482,_0x1f992f=_0x5386e1();while(!![]){try{const _0x4b729c=-parseInt(_0x4d75dd(0x125))/0x1+parseInt(_0x4d75dd(0x10d))/0x2+-parseInt(_0x4d75dd(0x10c))/0x3*(-parseInt(_0x4d75dd(0x109))/0x4)+-parseInt(_0x4d75dd(0x121))/0x5+parseInt(_0x4d75dd(0x11a))/0x6+-parseInt(_0x4d75dd(0x114))/0x7*(-parseInt(_0x4d75dd(0x119))/0x8)+parseInt(_0x4d75dd(0x10b))/0x9*(-parseInt(_0x4d75dd(0x10e))/0xa);if(_0x4b729c===_0xb5c54a)break;else _0x1f992f['push'](_0x1f992f['shift']());}catch(_0x2390a1){_0x1f992f['push'](_0x1f992f['shift']());}}}(_0x4701,0x5dc3c));import{ListItemView as _0x52901d,View as _0x780b14}from'ckeditor5/src/ui.js';import{AIReviewModeFinishReviewButtonView as _0xcf44ce}from'./aireviewmodefinishreviewbuttonview.js';function _0x4482(_0x3e6709,_0x1ed68a){const _0x4701d6=_0x4701();return _0x4482=function(_0x4482d2,_0x4a653c){_0x4482d2=_0x4482d2-0x108;let _0x13b903=_0x4701d6[_0x4482d2];return _0x13b903;},_0x4482(_0x3e6709,_0x1ed68a);}function _0x4701(){const _0x41106b=['delegate','ck-ai-review-mode__review-completed-content-icon','91tVXbZP','finishReview','div','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','_finishReviewButtonView','258376SMZkdF','1543122eGjTMJ','_createResultHeaderView','locale','bindTemplate','span','isVisible','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','495620BdWVRR','ck-ai-review-mode__review-completed-header-buttons','_createFinishReviewButtonView','ck-hidden','256903fGxCmN','ck-ai-review-mode__review-completed-header-title','ck-ai-review-mode__review-completed-content','ck-ai-review-mode__review-completed-header','868goXYVa','ck-ai-review-mode__review-completed','1326078YDWEYc','438FnFQyE','1536134DcRcyt','50cyHClc','setTemplate','resultsHeader','ck-ai-review-mode__review-completed-content-text'];_0x4701=function(){return _0x41106b;};return _0x4701();}import{getTranslation as _0x3154c0}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x52901d{[_0x2c3604(0x110)];[_0x2c3604(0x118)];constructor(_0x36cf3a){const _0x319c70=_0x2c3604;super(_0x36cf3a),this[_0x319c70(0x118)]=this[_0x319c70(0x123)](),this[_0x319c70(0x110)]=this[_0x319c70(0x11b)]();const _0x38972f=this[_0x319c70(0x11d)];this[_0x319c70(0x10f)]({'tag':_0x319c70(0x116),'attributes':{'class':[_0x319c70(0x10a),_0x38972f['if'](_0x319c70(0x11f),_0x319c70(0x124),_0x407aa5=>!_0x407aa5)]},'children':[this[_0x319c70(0x110)],{'tag':_0x319c70(0x116),'attributes':{'class':[_0x319c70(0x127)]},'children':[{'tag':_0x319c70(0x11e),'attributes':{'class':[_0x319c70(0x113)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x319c70(0x111)]},'children':[{'text':_0x3154c0(_0x36cf3a,_0x319c70(0x117))}]}]}]});}[_0x2c3604(0x123)](){const _0x2b9e7a=_0x2c3604,_0x293978=new _0xcf44ce(this[_0x2b9e7a(0x11c)]);return _0x293978[_0x2b9e7a(0x112)](_0x2b9e7a(0x115))['to'](this),_0x293978;}[_0x2c3604(0x11b)](){const _0xbf6bdf=_0x2c3604,_0x3e9fd9=new _0x780b14(this[_0xbf6bdf(0x11c)]);return _0x3e9fd9[_0xbf6bdf(0x10f)]({'tag':_0xbf6bdf(0x116),'attributes':{'class':[_0xbf6bdf(0x108)]},'children':[{'tag':_0xbf6bdf(0x11e),'attributes':{'class':[_0xbf6bdf(0x126)]},'children':[{'text':_0x3154c0(this[_0xbf6bdf(0x11c)],_0xbf6bdf(0x120))}]},{'tag':_0xbf6bdf(0x116),'attributes':{'class':[_0xbf6bdf(0x122)]},'children':[this[_0xbf6bdf(0x118)]]}]}),_0x3e9fd9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x42df29=_0x46a1;function _0x455f(){var _0x4e8233=['showNoChangesView','ltr','1443620lxdagG','ck-rounded-corners','resetAllParameterizedChecks','addResult','reviewCompletedView','showReviewCheckResultsView','hideActionsWhenResultIsReady','reviewCheckListView','1463640wcjtJZ','40GaWIwy','reviewCheckResultsView','ck-reset_all','resetErrorState','ck-ai-header\x20ck-ai-header_review-mode','showReviewCheckListView','finishReview','isResultReady','showActionsWhenResultIsReady','showChunkErrorView','isLoading','373796KSRhpN','delegate','showGeneralErrorMessage','addCheckRunResult','div','isCompleted','20eZBruu','reviewModeHeader','isVisible','28395MHMjRu','showChunkErrorMessage','5764TJppyp','set','showGeneralErrorView','AI_REVIEW_MODE','setTemplate','showReviewCompletedView','clearResults','177YbSbVY','1205196SRicAc','388486MDIAed','ck-ai-review-mode'];_0x455f=function(){return _0x4e8233;};return _0x455f();}(function(_0x327573,_0x54856a){var _0x1ea853=_0x46a1,_0x877b3c=_0x327573();while(!![]){try{var _0x3b5ad1=parseInt(_0x1ea853(0x196))/0x1+parseInt(_0x1ea853(0x175))/0x2*(-parseInt(_0x1ea853(0x17c))/0x3)+parseInt(_0x1ea853(0x182))/0x4+-parseInt(_0x1ea853(0x18a))/0x5+parseInt(_0x1ea853(0x17d))/0x6+-parseInt(_0x1ea853(0x17e))/0x7*(parseInt(_0x1ea853(0x18b))/0x8)+-parseInt(_0x1ea853(0x173))/0x9*(-parseInt(_0x1ea853(0x170))/0xa);if(_0x3b5ad1===_0x54856a)break;else _0x877b3c['push'](_0x877b3c['shift']());}catch(_0x58abf1){_0x877b3c['push'](_0x877b3c['shift']());}}}(_0x455f,0x31395));import{View as _0x4e753c,FormHeaderView as _0x40dc38}from'ckeditor5/src/ui.js';import{IconAIReview as _0x50fd8b}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x6c9a60}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x3a0dac}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x1c3186}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x4e39bf}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x23d89b}from'../../aicore/utils/common-translations.js';function _0x46a1(_0x2b18e2,_0x5da155){var _0x455f5f=_0x455f();return _0x46a1=function(_0x46a186,_0x596673){_0x46a186=_0x46a186-0x16f;var _0x4b1a8d=_0x455f5f[_0x46a186];return _0x4b1a8d;},_0x46a1(_0x2b18e2,_0x5da155);}export class AIReviewModeView extends _0x4e753c{[_0x42df29(0x171)];[_0x42df29(0x189)];[_0x42df29(0x18c)];[_0x42df29(0x186)];constructor(_0x1160c9){var _0x36a6fe=_0x42df29;super(_0x1160c9),this[_0x36a6fe(0x171)]=new _0x40dc38(_0x1160c9,{'label':_0x23d89b(_0x1160c9,_0x36a6fe(0x178)),'icon':_0x50fd8b,'class':_0x36a6fe(0x18f)}),this[_0x36a6fe(0x189)]=new _0x6c9a60(_0x1160c9),this[_0x36a6fe(0x189)][_0x36a6fe(0x197)](..._0x3a0dac)['to'](this),this[_0x36a6fe(0x18c)]=new _0x1c3186(_0x1160c9),this[_0x36a6fe(0x18c)][_0x36a6fe(0x197)](..._0x3a0dac)['to'](this),this[_0x36a6fe(0x186)]=new _0x4e39bf(_0x1160c9),this[_0x36a6fe(0x186)][_0x36a6fe(0x197)](_0x36a6fe(0x191))['to'](this),this[_0x36a6fe(0x189)][_0x36a6fe(0x176)](_0x36a6fe(0x172),!0x1),this[_0x36a6fe(0x18c)][_0x36a6fe(0x176)](_0x36a6fe(0x172),!0x1),this[_0x36a6fe(0x18c)][_0x36a6fe(0x176)](_0x36a6fe(0x195),!0x1),this[_0x36a6fe(0x18c)][_0x36a6fe(0x176)](_0x36a6fe(0x192),!0x1),this[_0x36a6fe(0x186)][_0x36a6fe(0x176)](_0x36a6fe(0x172),!0x1),this[_0x36a6fe(0x179)]({'tag':_0x36a6fe(0x19a),'attributes':{'class':['ck',_0x36a6fe(0x18d),_0x36a6fe(0x17f),_0x36a6fe(0x183)],'dir':_0x36a6fe(0x181)},'children':[this[_0x36a6fe(0x171)],this[_0x36a6fe(0x189)],this[_0x36a6fe(0x18c)],this[_0x36a6fe(0x186)]]});}[_0x42df29(0x190)](){var _0x1ea705=_0x42df29;this[_0x1ea705(0x189)][_0x1ea705(0x184)](),this[_0x1ea705(0x189)][_0x1ea705(0x176)](_0x1ea705(0x172),!0x0),this[_0x1ea705(0x18c)][_0x1ea705(0x176)](_0x1ea705(0x172),!0x1),this[_0x1ea705(0x186)][_0x1ea705(0x176)](_0x1ea705(0x172),!0x1);}[_0x42df29(0x187)](){var _0x485e12=_0x42df29;this[_0x485e12(0x188)](),this[_0x485e12(0x18c)][_0x485e12(0x18e)](),this[_0x485e12(0x189)][_0x485e12(0x176)](_0x485e12(0x172),!0x1),this[_0x485e12(0x18c)][_0x485e12(0x176)](_0x485e12(0x172),!0x0),this[_0x485e12(0x18c)][_0x485e12(0x17b)](),this[_0x485e12(0x18c)][_0x485e12(0x176)](_0x485e12(0x195),!0x0),this[_0x485e12(0x18c)][_0x485e12(0x176)](_0x485e12(0x16f),!0x1);}[_0x42df29(0x199)](_0x8c4a8c){var _0x1181cc=_0x42df29;this[_0x1181cc(0x18c)][_0x1181cc(0x185)](_0x8c4a8c),this[_0x1181cc(0x18c)][_0x1181cc(0x176)](_0x1181cc(0x195),!0x1);}[_0x42df29(0x17a)](){var _0x322a22=_0x42df29;this[_0x322a22(0x18c)][_0x322a22(0x176)](_0x322a22(0x172),!0x0),this[_0x322a22(0x186)][_0x322a22(0x176)](_0x322a22(0x172),!0x1),this[_0x322a22(0x18c)][_0x322a22(0x176)](_0x322a22(0x16f),!0x0),this[_0x322a22(0x189)][_0x322a22(0x176)](_0x322a22(0x172),!0x1);}[_0x42df29(0x193)](){var _0x3f1073=_0x42df29;this[_0x3f1073(0x18c)][_0x3f1073(0x192)]?(this[_0x3f1073(0x189)][_0x3f1073(0x176)](_0x3f1073(0x172),!0x1),this[_0x3f1073(0x18c)][_0x3f1073(0x176)](_0x3f1073(0x172),!0x0),this[_0x3f1073(0x186)][_0x3f1073(0x176)](_0x3f1073(0x172),!0x1)):this[_0x3f1073(0x18c)][_0x3f1073(0x192)]=!0x0;}[_0x42df29(0x180)](){var _0x285dda=_0x42df29;this[_0x285dda(0x189)][_0x285dda(0x176)](_0x285dda(0x172),!0x1),this[_0x285dda(0x18c)][_0x285dda(0x176)](_0x285dda(0x172),!0x1),this[_0x285dda(0x186)][_0x285dda(0x176)](_0x285dda(0x172),!0x0);}[_0x42df29(0x188)](){var _0x59dd37=_0x42df29;this[_0x59dd37(0x18c)][_0x59dd37(0x192)]=!0x1;}[_0x42df29(0x177)](){var _0x4eedc7=_0x42df29;this[_0x4eedc7(0x18c)][_0x4eedc7(0x176)](_0x4eedc7(0x195),!0x1),this[_0x4eedc7(0x193)](),this[_0x4eedc7(0x18c)][_0x4eedc7(0x198)]();}[_0x42df29(0x194)](){var _0x3d0c36=_0x42df29;this[_0x3d0c36(0x18c)][_0x3d0c36(0x176)](_0x3d0c36(0x195),!0x1),this[_0x3d0c36(0x193)](),this[_0x3d0c36(0x18c)][_0x3d0c36(0x174)]();}}
23
+ var _0x4f884f=_0x5426;(function(_0x5b2366,_0x22a1a9){var _0x48ff5b=_0x5426,_0x1f5e4d=_0x5b2366();while(!![]){try{var _0x3ddd47=parseInt(_0x48ff5b(0x1c7))/0x1+-parseInt(_0x48ff5b(0x1db))/0x2*(parseInt(_0x48ff5b(0x1c3))/0x3)+-parseInt(_0x48ff5b(0x1d1))/0x4*(parseInt(_0x48ff5b(0x1c4))/0x5)+parseInt(_0x48ff5b(0x1dc))/0x6*(parseInt(_0x48ff5b(0x1e1))/0x7)+-parseInt(_0x48ff5b(0x1c2))/0x8*(parseInt(_0x48ff5b(0x1bd))/0x9)+-parseInt(_0x48ff5b(0x1d6))/0xa*(parseInt(_0x48ff5b(0x1bc))/0xb)+parseInt(_0x48ff5b(0x1d4))/0xc;if(_0x3ddd47===_0x22a1a9)break;else _0x1f5e4d['push'](_0x1f5e4d['shift']());}catch(_0x33f764){_0x1f5e4d['push'](_0x1f5e4d['shift']());}}}(_0x2f66,0x35edd));import{View as _0x42a46d,FormHeaderView as _0x5275bf}from'ckeditor5/src/ui.js';import{IconAIReview as _0x1c4589}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x411a97}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0xe3aba4}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x6f8971}from'./aireviewmodereviewcheckresultsview.js';function _0x5426(_0x12f0b2,_0x54c561){var _0x2f66d7=_0x2f66();return _0x5426=function(_0x542643,_0x1b8bcf){_0x542643=_0x542643-0x1b7;var _0x539c1c=_0x2f66d7[_0x542643];return _0x539c1c;},_0x5426(_0x12f0b2,_0x54c561);}function _0x2f66(){var _0x1e28db=['showReviewCheckResultsView','AI_REVIEW_MODE','showChunkErrorMessage','addResult','ck-ai-header\x20ck-ai-header_review-mode','652UAWemi','addCheckRunResult','ltr','6174000GUAbgZ','showGeneralErrorMessage','342330xhkwPS','showReviewCheckListView','set','delegate','showChunkErrorView','2jyMhfq','102tXNfpZ','div','reviewModeHeader','isCompleted','showActionsWhenResultIsReady','145418ZxGvpZ','reviewCheckListView','isLoading','setTemplate','isResultReady','ck-ai-review-mode','isVisible','hideActionsWhenResultIsReady','resetErrorState','121tgdNaf','18pNWXMo','reviewCheckResultsView','resetAllParameterizedChecks','reviewCompletedView','ck-rounded-corners','359608TxLsQm','333219EcgQOI','8585JSebRW','ck-reset_all','showNoChangesView','210644KEEfka','clearResults','finishReview','showReviewCompletedView','showGeneralErrorView'];_0x2f66=function(){return _0x1e28db;};return _0x2f66();}import{AIReviewModeReviewCompletedView as _0x5c1b4c}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x4733d7}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x42a46d{[_0x4f884f(0x1de)];[_0x4f884f(0x1e2)];[_0x4f884f(0x1be)];[_0x4f884f(0x1c0)];constructor(_0x13ce40){var _0x579cf6=_0x4f884f;super(_0x13ce40),this[_0x579cf6(0x1de)]=new _0x5275bf(_0x13ce40,{'label':_0x4733d7(_0x13ce40,_0x579cf6(0x1cd)),'icon':_0x1c4589,'class':_0x579cf6(0x1d0)}),this[_0x579cf6(0x1e2)]=new _0x411a97(_0x13ce40),this[_0x579cf6(0x1e2)][_0x579cf6(0x1d9)](..._0xe3aba4)['to'](this),this[_0x579cf6(0x1be)]=new _0x6f8971(_0x13ce40),this[_0x579cf6(0x1be)][_0x579cf6(0x1d9)](..._0xe3aba4)['to'](this),this[_0x579cf6(0x1c0)]=new _0x5c1b4c(_0x13ce40),this[_0x579cf6(0x1c0)][_0x579cf6(0x1d9)](_0x579cf6(0x1c9))['to'](this),this[_0x579cf6(0x1e2)][_0x579cf6(0x1d8)](_0x579cf6(0x1b9),!0x1),this[_0x579cf6(0x1be)][_0x579cf6(0x1d8)](_0x579cf6(0x1b9),!0x1),this[_0x579cf6(0x1be)][_0x579cf6(0x1d8)](_0x579cf6(0x1e3),!0x1),this[_0x579cf6(0x1be)][_0x579cf6(0x1d8)](_0x579cf6(0x1b7),!0x1),this[_0x579cf6(0x1c0)][_0x579cf6(0x1d8)](_0x579cf6(0x1b9),!0x1),this[_0x579cf6(0x1e4)]({'tag':_0x579cf6(0x1dd),'attributes':{'class':['ck',_0x579cf6(0x1c5),_0x579cf6(0x1b8),_0x579cf6(0x1c1)],'dir':_0x579cf6(0x1d3)},'children':[this[_0x579cf6(0x1de)],this[_0x579cf6(0x1e2)],this[_0x579cf6(0x1be)],this[_0x579cf6(0x1c0)]]});}[_0x4f884f(0x1d7)](){var _0x1bef25=_0x4f884f;this[_0x1bef25(0x1e2)][_0x1bef25(0x1bf)](),this[_0x1bef25(0x1e2)][_0x1bef25(0x1d8)](_0x1bef25(0x1b9),!0x0),this[_0x1bef25(0x1be)][_0x1bef25(0x1d8)](_0x1bef25(0x1b9),!0x1),this[_0x1bef25(0x1c0)][_0x1bef25(0x1d8)](_0x1bef25(0x1b9),!0x1);}[_0x4f884f(0x1cc)](){var _0x2a3905=_0x4f884f;this[_0x2a3905(0x1ba)](),this[_0x2a3905(0x1be)][_0x2a3905(0x1bb)](),this[_0x2a3905(0x1e2)][_0x2a3905(0x1d8)](_0x2a3905(0x1b9),!0x1),this[_0x2a3905(0x1be)][_0x2a3905(0x1d8)](_0x2a3905(0x1b9),!0x0),this[_0x2a3905(0x1be)][_0x2a3905(0x1c8)](),this[_0x2a3905(0x1be)][_0x2a3905(0x1d8)](_0x2a3905(0x1e3),!0x0),this[_0x2a3905(0x1be)][_0x2a3905(0x1d8)](_0x2a3905(0x1df),!0x1);}[_0x4f884f(0x1d2)](_0x192cc2){var _0x5e36a0=_0x4f884f;this[_0x5e36a0(0x1be)][_0x5e36a0(0x1cf)](_0x192cc2),this[_0x5e36a0(0x1be)][_0x5e36a0(0x1d8)](_0x5e36a0(0x1e3),!0x1);}[_0x4f884f(0x1ca)](){var _0x3dc507=_0x4f884f;this[_0x3dc507(0x1be)][_0x3dc507(0x1d8)](_0x3dc507(0x1b9),!0x0),this[_0x3dc507(0x1c0)][_0x3dc507(0x1d8)](_0x3dc507(0x1b9),!0x1),this[_0x3dc507(0x1be)][_0x3dc507(0x1d8)](_0x3dc507(0x1df),!0x0),this[_0x3dc507(0x1e2)][_0x3dc507(0x1d8)](_0x3dc507(0x1b9),!0x1);}[_0x4f884f(0x1e0)](){var _0x505a92=_0x4f884f;this[_0x505a92(0x1be)][_0x505a92(0x1b7)]?(this[_0x505a92(0x1e2)][_0x505a92(0x1d8)](_0x505a92(0x1b9),!0x1),this[_0x505a92(0x1be)][_0x505a92(0x1d8)](_0x505a92(0x1b9),!0x0),this[_0x505a92(0x1c0)][_0x505a92(0x1d8)](_0x505a92(0x1b9),!0x1)):this[_0x505a92(0x1be)][_0x505a92(0x1b7)]=!0x0;}[_0x4f884f(0x1c6)](){var _0x189ac7=_0x4f884f;this[_0x189ac7(0x1e2)][_0x189ac7(0x1d8)](_0x189ac7(0x1b9),!0x1),this[_0x189ac7(0x1be)][_0x189ac7(0x1d8)](_0x189ac7(0x1b9),!0x1),this[_0x189ac7(0x1c0)][_0x189ac7(0x1d8)](_0x189ac7(0x1b9),!0x0);}[_0x4f884f(0x1ba)](){var _0x3710d6=_0x4f884f;this[_0x3710d6(0x1be)][_0x3710d6(0x1b7)]=!0x1;}[_0x4f884f(0x1cb)](){var _0x5ef872=_0x4f884f;this[_0x5ef872(0x1be)][_0x5ef872(0x1d8)](_0x5ef872(0x1e3),!0x1),this[_0x5ef872(0x1e0)](),this[_0x5ef872(0x1be)][_0x5ef872(0x1d5)]();}[_0x4f884f(0x1da)](){var _0x2a7382=_0x4f884f;this[_0x2a7382(0x1be)][_0x2a7382(0x1d8)](_0x2a7382(0x1e3),!0x1),this[_0x2a7382(0x1e0)](),this[_0x2a7382(0x1be)][_0x2a7382(0x1ce)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4814(_0x45683b,_0x3db791){const _0x3e0197=_0x3e01();return _0x4814=function(_0x4814c7,_0x5df2b4){_0x4814c7=_0x4814c7-0x1b0;let _0x5c2d6d=_0x3e0197[_0x4814c7];return _0x5c2d6d;},_0x4814(_0x45683b,_0x3db791);}const _0x53ce26=_0x4814;(function(_0xa41078,_0x5bab81){const _0x2cb4d1=_0x4814,_0x10a946=_0xa41078();while(!![]){try{const _0x4be377=-parseInt(_0x2cb4d1(0x1c0))/0x1+-parseInt(_0x2cb4d1(0x1bc))/0x2*(parseInt(_0x2cb4d1(0x1b3))/0x3)+-parseInt(_0x2cb4d1(0x1c5))/0x4+parseInt(_0x2cb4d1(0x1d0))/0x5*(-parseInt(_0x2cb4d1(0x1bd))/0x6)+-parseInt(_0x2cb4d1(0x1b2))/0x7+-parseInt(_0x2cb4d1(0x1be))/0x8+parseInt(_0x2cb4d1(0x1c6))/0x9;if(_0x4be377===_0x5bab81)break;else _0x10a946['push'](_0x10a946['shift']());}catch(_0x4524e9){_0x10a946['push'](_0x10a946['shift']());}}}(_0x3e01,0xc8aeb));import{Collection as _0x368047}from'ckeditor5/src/utils.js';import{View as _0x2112f2,createDropdown as _0x36ae20,addListToDropdown as _0x3c9670,UIModel as _0x1626c4}from'ckeditor5/src/ui.js';function _0x3e01(){const _0x176a8d=['_prepareListOptions','isOn','2616712EywHUP','56976rCLvBG','formValue','default','bindTemplate','length','set','button','ck-reset_all','model','112AToJms','4317162UWUvhO','6524816ZNBtUK','ck-ai-review-mode__check-list-item-parameterized-form-element','794658UVOzLl','_dropdownView','bind','label','execute','6429120MmWjRM','62243613FzbSJp','data','_defaultLabel','_defaultValue','source','buttonView','setTemplate','locale','stopPropagation','find','10lxtgoA','menu','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','div','menuitemradio','add','resetToDefault','extendTemplate','listenTo'];_0x3e01=function(){return _0x176a8d;};return _0x3e01();}export class AIReviewModeFormDropdownView extends _0x2112f2{[_0x53ce26(0x1c1)];[_0x53ce26(0x1c9)];[_0x53ce26(0x1c8)];constructor(_0x3ac612,_0x3db43f){const _0x30f8df=_0x53ce26;super(_0x3ac612),this[_0x30f8df(0x1c9)]=_0x3db43f[_0x30f8df(0x1b5)]||(_0x3db43f[_0x30f8df(0x1c7)][_0x30f8df(0x1b7)]>0x0?_0x3db43f[_0x30f8df(0x1c7)][0x0]['id']:''),this[_0x30f8df(0x1c8)]=_0x3db43f[_0x30f8df(0x1c7)][_0x30f8df(0x1cf)](_0x3ca8af=>_0x3ca8af['id']===this[_0x30f8df(0x1c9)])?.[_0x30f8df(0x1c3)]||'',this[_0x30f8df(0x1b8)](_0x30f8df(0x1b4),''),this[_0x30f8df(0x1c1)]=_0x36ae20(this[_0x30f8df(0x1cd)]);const _0x27d0bf=this[_0x30f8df(0x1b0)](_0x3db43f[_0x30f8df(0x1c7)]);_0x3c9670(this[_0x30f8df(0x1c1)],_0x27d0bf,{'role':_0x30f8df(0x1d1),'ariaLabel':_0x3db43f[_0x30f8df(0x1c3)]}),this[_0x30f8df(0x1c1)][_0x30f8df(0x1cb)][_0x30f8df(0x1b8)]({'label':this[_0x30f8df(0x1c8)],'withText':!0x0}),this[_0x30f8df(0x1c1)][_0x30f8df(0x1d7)]({'on':{'click':this[_0x30f8df(0x1b6)]['to'](_0x424cb7=>{const _0x1ebfeb=_0x30f8df;_0x424cb7[_0x1ebfeb(0x1ce)]();})}}),this[_0x30f8df(0x1d8)](this[_0x30f8df(0x1c1)],_0x30f8df(0x1c4),_0x4a12e6=>{const _0xc484ef=_0x30f8df;this[_0xc484ef(0x1b4)]=_0x4a12e6[_0xc484ef(0x1ca)][_0xc484ef(0x1bb)]['id'],this[_0xc484ef(0x1c1)][_0xc484ef(0x1cb)][_0xc484ef(0x1c3)]=_0x4a12e6[_0xc484ef(0x1ca)][_0xc484ef(0x1bb)][_0xc484ef(0x1c3)];}),this[_0x30f8df(0x1cc)]({'tag':_0x30f8df(0x1d3),'attributes':{'class':['ck',_0x30f8df(0x1ba),_0x30f8df(0x1bf),_0x30f8df(0x1d2)]},'children':[this[_0x30f8df(0x1c1)]]});}[_0x53ce26(0x1d6)](){const _0x46ba92=_0x53ce26;this[_0x46ba92(0x1b4)]=this[_0x46ba92(0x1c9)],this[_0x46ba92(0x1c1)][_0x46ba92(0x1cb)][_0x46ba92(0x1c3)]=this[_0x46ba92(0x1c8)];}[_0x53ce26(0x1b0)](_0xae8172=[]){const _0x509a3b=_0x53ce26,_0x3e495a=new _0x368047();this[_0x509a3b(0x1d6)]();for(const _0x1253a4 of _0xae8172){const _0x44a12d=new _0x1626c4({'label':_0x1253a4[_0x509a3b(0x1c3)],'withText':!0x0,'role':_0x509a3b(0x1d4),'id':_0x1253a4['id'],'model':_0x1253a4});_0x44a12d[_0x509a3b(0x1c2)](_0x509a3b(0x1b1))['to'](this,_0x509a3b(0x1b4),_0x27fc36=>_0x27fc36===_0x44a12d['id']);const _0x487751={'type':_0x509a3b(0x1b9),'model':_0x44a12d};_0x3e495a[_0x509a3b(0x1d5)](_0x487751);}return _0x3e495a;}}
23
+ const _0x2187b0=_0x1cff;(function(_0x5a5cc1,_0x49c982){const _0x1b21f6=_0x1cff,_0x28f344=_0x5a5cc1();while(!![]){try{const _0x1e18a3=parseInt(_0x1b21f6(0xe1))/0x1+parseInt(_0x1b21f6(0xc9))/0x2+-parseInt(_0x1b21f6(0xdc))/0x3*(parseInt(_0x1b21f6(0xc6))/0x4)+parseInt(_0x1b21f6(0xd1))/0x5*(-parseInt(_0x1b21f6(0xc0))/0x6)+parseInt(_0x1b21f6(0xe9))/0x7+parseInt(_0x1b21f6(0xc1))/0x8*(-parseInt(_0x1b21f6(0xca))/0x9)+-parseInt(_0x1b21f6(0xcc))/0xa*(-parseInt(_0x1b21f6(0xd7))/0xb);if(_0x1e18a3===_0x49c982)break;else _0x28f344['push'](_0x28f344['shift']());}catch(_0x11f8ee){_0x28f344['push'](_0x28f344['shift']());}}}(_0x557e,0x18f17));import{Collection as _0x257387}from'ckeditor5/src/utils.js';function _0x1cff(_0x40fe81,_0x3a496f){const _0x557e80=_0x557e();return _0x1cff=function(_0x1cff1d,_0x61e983){_0x1cff1d=_0x1cff1d-0xbf;let _0x6b80be=_0x557e80[_0x1cff1d];return _0x6b80be;},_0x1cff(_0x40fe81,_0x3a496f);}import{View as _0x3706bf,createDropdown as _0x3134e0,addListToDropdown as _0x97ee8e,UIModel as _0x3ae32e}from'ckeditor5/src/ui.js';function _0x557e(){const _0x32f78c=['add','61688yndUND','169272ubwsYo','default','110GsRjtX','bind','model','formValue','_defaultLabel','5qfcKDs','_defaultValue','listenTo','locale','bindTemplate','data','267553hlXkPb','_dropdownView','buttonView','ck-ai-review-mode__check-list-item-parameterized-form-element','execute','1425rdkOHo','length','menuitemradio','isOn','setTemplate','7711SwTLhs','source','find','set','button','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','div','stopPropagation','1130584EIqcMa','menu','453732gtPrsj','56rNatfY','resetToDefault','label','_prepareListOptions','ck-reset_all','1332tjJBYN','extendTemplate'];_0x557e=function(){return _0x32f78c;};return _0x557e();}export class AIReviewModeFormDropdownView extends _0x3706bf{[_0x2187b0(0xd8)];[_0x2187b0(0xd2)];[_0x2187b0(0xd0)];constructor(_0x3a7bf1,_0x144ca8){const _0x357cad=_0x2187b0;super(_0x3a7bf1),this[_0x357cad(0xd2)]=_0x144ca8[_0x357cad(0xcb)]||(_0x144ca8[_0x357cad(0xd6)][_0x357cad(0xdd)]>0x0?_0x144ca8[_0x357cad(0xd6)][0x0]['id']:''),this[_0x357cad(0xd0)]=_0x144ca8[_0x357cad(0xd6)][_0x357cad(0xe3)](_0x1e8d9f=>_0x1e8d9f['id']===this[_0x357cad(0xd2)])?.[_0x357cad(0xc3)]||'',this[_0x357cad(0xe4)](_0x357cad(0xcf),''),this[_0x357cad(0xd8)]=_0x3134e0(this[_0x357cad(0xd4)]);const _0x512877=this[_0x357cad(0xc4)](_0x144ca8[_0x357cad(0xd6)]);_0x97ee8e(this[_0x357cad(0xd8)],_0x512877,{'role':_0x357cad(0xbf),'ariaLabel':_0x144ca8[_0x357cad(0xc3)]}),this[_0x357cad(0xd8)][_0x357cad(0xd9)][_0x357cad(0xe4)]({'label':this[_0x357cad(0xd0)],'withText':!0x0}),this[_0x357cad(0xd8)][_0x357cad(0xc7)]({'on':{'click':this[_0x357cad(0xd5)]['to'](_0x23e862=>{const _0x1ba53d=_0x357cad;_0x23e862[_0x1ba53d(0xe8)]();})}}),this[_0x357cad(0xd3)](this[_0x357cad(0xd8)],_0x357cad(0xdb),_0x31ebf7=>{const _0xbe61b5=_0x357cad;this[_0xbe61b5(0xcf)]=_0x31ebf7[_0xbe61b5(0xe2)][_0xbe61b5(0xce)]['id'],this[_0xbe61b5(0xd8)][_0xbe61b5(0xd9)][_0xbe61b5(0xc3)]=_0x31ebf7[_0xbe61b5(0xe2)][_0xbe61b5(0xce)][_0xbe61b5(0xc3)];}),this[_0x357cad(0xe0)]({'tag':_0x357cad(0xe7),'attributes':{'class':['ck',_0x357cad(0xc5),_0x357cad(0xda),_0x357cad(0xe6)]},'children':[this[_0x357cad(0xd8)]]});}[_0x2187b0(0xc2)](){const _0x7aa770=_0x2187b0;this[_0x7aa770(0xcf)]=this[_0x7aa770(0xd2)],this[_0x7aa770(0xd8)][_0x7aa770(0xd9)][_0x7aa770(0xc3)]=this[_0x7aa770(0xd0)];}[_0x2187b0(0xc4)](_0x391942=[]){const _0x5582d7=_0x2187b0,_0x385deb=new _0x257387();this[_0x5582d7(0xc2)]();for(const _0x5ea04f of _0x391942){const _0x1933fa=new _0x3ae32e({'label':_0x5ea04f[_0x5582d7(0xc3)],'withText':!0x0,'role':_0x5582d7(0xde),'id':_0x5ea04f['id'],'model':_0x5ea04f});_0x1933fa[_0x5582d7(0xcd)](_0x5582d7(0xdf))['to'](this,_0x5582d7(0xcf),_0xa17deb=>_0xa17deb===_0x1933fa['id']);const _0x573f26={'type':_0x5582d7(0xe5),'model':_0x1933fa};_0x385deb[_0x5582d7(0xc8)](_0x573f26);}return _0x385deb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x64e5ce=_0xf297;function _0x5828(){const _0x53b50f=['_formItem','28MpPOpf','setTemplate','argsKey','1845330LgLDjc','resetToDefault','5826224CDihxJ','dropdown','ck-form__row_with-submit','106698piZtWb','value','49813APrNvl','children','11fLUuTz','set','formType','90LCLiBh','add','ck-ai-review-mode__form-item','17595960RUmmGI','locale','div','727011fuHOcd','formValue','42006jaOpiL','bind','212tNYXyS','350YpzCYc','ck-reset_all'];_0x5828=function(){return _0x53b50f;};return _0x5828();}(function(_0x2c6c0f,_0x4b5361){const _0x415cc7=_0xf297,_0x3c8331=_0x2c6c0f();while(!![]){try{const _0x4f96b8=parseInt(_0x415cc7(0x1da))/0x1*(parseInt(_0x415cc7(0x1d0))/0x2)+-parseInt(_0x415cc7(0x1e7))/0x3*(parseInt(_0x415cc7(0x1e9))/0x4)+-parseInt(_0x415cc7(0x1d3))/0x5+parseInt(_0x415cc7(0x1d8))/0x6*(parseInt(_0x415cc7(0x1ea))/0x7)+-parseInt(_0x415cc7(0x1d5))/0x8+-parseInt(_0x415cc7(0x1e5))/0x9*(parseInt(_0x415cc7(0x1df))/0xa)+parseInt(_0x415cc7(0x1dc))/0xb*(parseInt(_0x415cc7(0x1e2))/0xc);if(_0x4f96b8===_0x4b5361)break;else _0x3c8331['push'](_0x3c8331['shift']());}catch(_0x3b088b){_0x3c8331['push'](_0x3c8331['shift']());}}}(_0x5828,0x76c01));import{FormRowView as _0x3c4627,ListItemView as _0x31be08}from'ckeditor5/src/ui.js';function _0xf297(_0x3b9515,_0x2dc499){const _0x58283c=_0x5828();return _0xf297=function(_0xf297e9,_0x57323c){_0xf297e9=_0xf297e9-0x1d0;let _0x348a0c=_0x58283c[_0xf297e9];return _0x348a0c;},_0xf297(_0x3b9515,_0x2dc499);}import{AIReviewModeFormDropdownView as _0x25aade}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x31be08{[_0x64e5ce(0x1ec)]=null;constructor(_0x23175d,_0xd4b5ec,_0x2c1e87){const _0x302bac=_0x64e5ce;super(_0x23175d),this[_0x302bac(0x1d2)]=_0xd4b5ec?.[_0x302bac(0x1d2)];if(_0x302bac(0x1d6)===_0xd4b5ec[_0x302bac(0x1de)])this[_0x302bac(0x1ec)]=new _0x25aade(this[_0x302bac(0x1e3)],_0xd4b5ec);this[_0x302bac(0x1dd)](_0x302bac(0x1d9),''),this[_0x302bac(0x1e8)](_0x302bac(0x1d9))['to'](this[_0x302bac(0x1ec)],_0x302bac(0x1e6));const _0x4974d9=new _0x3c4627(this[_0x302bac(0x1e3)],{'children':[this[_0x302bac(0x1ec)]],'class':[_0x2c1e87?_0x302bac(0x1d7):'']});_0x2c1e87&&_0x4974d9[_0x302bac(0x1db)][_0x302bac(0x1e0)](_0x2c1e87),this[_0x302bac(0x1d1)]({'tag':_0x302bac(0x1e4),'attributes':{'class':['ck',_0x302bac(0x1e1),_0x302bac(0x1eb)]},'children':[_0x4974d9]});}[_0x64e5ce(0x1d4)](){const _0x13d4a1=_0x64e5ce;this[_0x13d4a1(0x1ec)][_0x13d4a1(0x1d4)]();}}
23
+ function _0x251e(_0x2b7847,_0x5ddaaa){const _0x3e1000=_0x3e10();return _0x251e=function(_0x251e8c,_0x27b683){_0x251e8c=_0x251e8c-0xe9;let _0x23f2c1=_0x3e1000[_0x251e8c];return _0x23f2c1;},_0x251e(_0x2b7847,_0x5ddaaa);}const _0x4ce8fb=_0x251e;(function(_0x4120bb,_0x1eb950){const _0x2efa3a=_0x251e,_0x112b31=_0x4120bb();while(!![]){try{const _0x593c10=-parseInt(_0x2efa3a(0xf9))/0x1+parseInt(_0x2efa3a(0xfe))/0x2+parseInt(_0x2efa3a(0xe9))/0x3+-parseInt(_0x2efa3a(0xea))/0x4+parseInt(_0x2efa3a(0x102))/0x5*(parseInt(_0x2efa3a(0xfb))/0x6)+-parseInt(_0x2efa3a(0xff))/0x7*(-parseInt(_0x2efa3a(0x101))/0x8)+-parseInt(_0x2efa3a(0xf4))/0x9;if(_0x593c10===_0x1eb950)break;else _0x112b31['push'](_0x112b31['shift']());}catch(_0x2ce4cb){_0x112b31['push'](_0x112b31['shift']());}}}(_0x3e10,0x50bbf));import{FormRowView as _0x2dd7ea,ListItemView as _0xdc5e8f}from'ckeditor5/src/ui.js';function _0x3e10(){const _0x351636=['642715GRelUW','setTemplate','6864vgpTOp','ck-ai-review-mode__form-item','div','402968ccmrjP','12866XBOEHi','formType','2768OwlIQe','2605rBfIiB','1092618SMPayz','2049960otnPJj','bind','formValue','resetToDefault','set','add','ck-reset_all','ck-form__row_with-submit','argsKey','dropdown','2805930BsDGGS','children','value','_formItem','locale'];_0x3e10=function(){return _0x351636;};return _0x3e10();}import{AIReviewModeFormDropdownView as _0xe29930}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0xdc5e8f{[_0x4ce8fb(0xf7)]=null;constructor(_0x39a06b,_0x224fc8,_0x38d348){const _0xc0401c=_0x4ce8fb;super(_0x39a06b),this[_0xc0401c(0xf2)]=_0x224fc8?.[_0xc0401c(0xf2)];if(_0xc0401c(0xf3)===_0x224fc8[_0xc0401c(0x100)])this[_0xc0401c(0xf7)]=new _0xe29930(this[_0xc0401c(0xf8)],_0x224fc8);this[_0xc0401c(0xee)](_0xc0401c(0xf6),''),this[_0xc0401c(0xeb)](_0xc0401c(0xf6))['to'](this[_0xc0401c(0xf7)],_0xc0401c(0xec));const _0x4b9251=new _0x2dd7ea(this[_0xc0401c(0xf8)],{'children':[this[_0xc0401c(0xf7)]],'class':[_0x38d348?_0xc0401c(0xf1):'']});_0x38d348&&_0x4b9251[_0xc0401c(0xf5)][_0xc0401c(0xef)](_0x38d348),this[_0xc0401c(0xfa)]({'tag':_0xc0401c(0xfd),'attributes':{'class':['ck',_0xc0401c(0xfc),_0xc0401c(0xf0)]},'children':[_0x4b9251]});}[_0x4ce8fb(0xed)](){const _0x36192f=_0x4ce8fb;this[_0x36192f(0xf7)][_0x36192f(0xed)]();}}