@ckeditor/ckeditor5-ai 47.5.0-alpha.7 → 47.5.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 (315) 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/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aicore/aiconnector.d.ts +5 -2
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.d.ts +4 -2
  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/aisuggestioncontentpartheaderview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  245. package/src/aicore/utils/common-translations.js +1 -1
  246. package/src/aicore/utils/createresizebutton.js +1 -1
  247. package/src/aicore/utils/documentposition.js +1 -1
  248. package/src/aicore/utils/documentrange.js +1 -1
  249. package/src/aicore/utils/eventnames.js +1 -1
  250. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  251. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  252. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  253. package/src/aicore/utils/htmlparser.js +1 -1
  254. package/src/aicore/utils/htmlstreamer.js +1 -1
  255. package/src/aicore/utils/scrollmanager.js +1 -1
  256. package/src/aieditorintegration/aieditorintegration.js +1 -1
  257. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  259. package/src/aiquickactions/aiquickactions.js +1 -1
  260. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  261. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  262. package/src/aiquickactions/aiquickactionsui.js +1 -1
  263. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  267. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  270. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  271. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  272. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  273. package/src/aireviewcore/aireviewcoreui.js +1 -1
  274. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  275. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  276. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  279. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  280. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  291. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  293. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  294. package/src/aireviewmode/aireviewmode.js +1 -1
  295. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  296. package/src/aireviewmode/aireviewmodeui.js +1 -1
  297. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  298. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  299. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  300. package/src/aitabs/aitabs.js +1 -1
  301. package/src/aitabs/aitabsmainview.js +1 -1
  302. package/src/aitabs/tabs/aitabsview.js +1 -1
  303. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  304. package/src/aitabs/tabs/tabpanelview.js +1 -1
  305. package/src/aitranslate/aitranslate.js +1 -1
  306. package/src/aitranslate/aitranslatecontroller.js +1 -1
  307. package/src/aitranslate/aitranslateui.js +1 -1
  308. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  309. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  310. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  311. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  312. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  313. package/src/errors.js +1 -1
  314. package/src/errorsmap.js +1 -1
  315. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48b348=_0x13ad;(function(_0x44fdc5,_0x310733){const _0x39905e=_0x13ad,_0x16b0a5=_0x44fdc5();while(!![]){try{const _0x1f69b3=-parseInt(_0x39905e(0x1a8))/0x1*(parseInt(_0x39905e(0x1d1))/0x2)+parseInt(_0x39905e(0x1e6))/0x3*(-parseInt(_0x39905e(0x1a9))/0x4)+parseInt(_0x39905e(0x1e0))/0x5*(parseInt(_0x39905e(0x1ad))/0x6)+-parseInt(_0x39905e(0x1b9))/0x7*(parseInt(_0x39905e(0x1e8))/0x8)+parseInt(_0x39905e(0x1ef))/0x9+parseInt(_0x39905e(0x1a2))/0xa+parseInt(_0x39905e(0x1d8))/0xb*(parseInt(_0x39905e(0x1cf))/0xc);if(_0x1f69b3===_0x310733)break;else _0x16b0a5['push'](_0x16b0a5['shift']());}catch(_0x4ec5f5){_0x16b0a5['push'](_0x16b0a5['shift']());}}}(_0x2c59,0x73971));import{Rect as _0xe9d07,getConstrainedViewportRect as _0x9503c5}from'ckeditor5/src/utils.js';function _0x2c59(){const _0x4ca459=['ck-reset','8WpSAFO','dismissChange','documentElement','_pinnedTargetElement','showDiffInBalloon','right','showDiff','4237623ZwpNAq','ck-content','length','position','4356780xopMoY','locale','balloon','isVisible','showBalloon','getClientRects','397TwRcTV','10012bgnqpY','extendTemplate','_createContentView','left','502428CxCXWi','ck-ai_review-balloon-panel-suggestion_diff-active','ck-ai_review__suggestion-text','resultResponseView','clientX','_setupClickOutsideHandler','show','add','top','_getPointedRectIndexFromEvent','set','resultItemView','5182282dQJJVG','from','_getBestRectPositionOnClick','isDiffActive','setTemplate','fire','bindTemplate','_pinnedTargetChangeId','forEach','hover','div','hideDiffInBalloon','bottom','changeId','deactivateChange','innerHTML','render','hide','ck-ai_review-balloon-panel-suggestion','_getBestRectPositionOnHover','arrow_','updateContent','12uYcamo','pin','1598uCETlw','width','reverse','_pinnedRectIndex','getBoundingClientRect','click','content','4068130htrDmV','_isPinnedRectVisible','element','arrow_se','contentDiffed','hideBalloon','unpin','clientY','30gStetQ','replace','getIntersection','delegate','push','acceptChange','297JEQhYF'];_0x2c59=function(){return _0x4ca459;};return _0x2c59();}import{BalloonPanelView as _0x2d78a7,View as _0x3867e4,clickOutsideHandler as _0x1d4ed8}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0xc8c10b}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';function _0x13ad(_0x20e82e,_0x45978b){const _0x2c59bb=_0x2c59();return _0x13ad=function(_0x13ad6a,_0x293745){_0x13ad6a=_0x13ad6a-0x1a2;let _0x2ddccf=_0x2c59bb[_0x13ad6a];return _0x2ddccf;},_0x13ad(_0x20e82e,_0x45978b);}import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x2d78a7{[_0x48b348(0x1b8)];[_0x48b348(0x1d4)]=void 0x0;[_0x48b348(0x1eb)]=void 0x0;[_0x48b348(0x1c0)]=void 0x0;constructor(_0x35482d,_0x54d709){const _0x5de440=_0x48b348;super(_0x35482d),this[_0x5de440(0x1b7)]({'isVisible':!0x1,'position':_0x5de440(0x1db),'class':null,'top':0x0,'left':0x0}),this[_0x5de440(0x1aa)]({'tag':_0x5de440(0x1c3),'attributes':{'class':[_0x5de440(0x1e7)],'tabindex':'-1'}}),this[_0x5de440(0x1b7)](_0x5de440(0x1bc),!0x1),this[_0x5de440(0x1d7)][_0x5de440(0x1b4)](this[_0x5de440(0x1ab)]()),_0x54d709[_0x5de440(0x1b4)](this);}[_0x48b348(0x1c9)](){const _0xfed7db=_0x48b348;super[_0xfed7db(0x1c9)](),this[_0xfed7db(0x1b2)]();}[_0x48b348(0x1ce)](_0x344e55){const _0x3686de=_0x48b348;this[_0x3686de(0x1b8)][_0x3686de(0x1c6)]=_0x344e55['id'],this[_0x3686de(0x1b8)][_0x3686de(0x1b0)][_0x3686de(0x1da)][_0x3686de(0x1c8)]=_0x344e55[_0x3686de(0x1dc)];}[_0x48b348(0x1a6)](_0xb7f41d,_0x1d2261,_0x2c7444,_0x47813b,_0x4c9736,_0x3ec02e){const _0x369a4d=_0x48b348,_0x383204=_0x1d2261();if(!_0x383204)return;this[_0x369a4d(0x1ce)](_0xb7f41d),this[_0x369a4d(0x1b3)]();const _0x42a4ce=Array[_0x369a4d(0x1ba)](_0x383204[_0x369a4d(0x1a7)]())[_0x369a4d(0x1d3)](),_0x9effee=this[_0x369a4d(0x1b6)](_0x2c7444,_0x42a4ce),_0x31cbff=_0x42a4ce[_0x9effee??0x0];_0x369a4d(0x1d6)===_0x47813b?(this[_0x369a4d(0x1bc)]=!0x0,this[_0x369a4d(0x1d0)]({'target':()=>this[_0x369a4d(0x1bb)](_0x1d2261(),_0x9effee,_0xb7f41d['id'],_0x4c9736,_0x3ec02e)||_0x31cbff})):_0x369a4d(0x1c2)===_0x47813b&&(this[_0x369a4d(0x1bc)]=!0x1,this[_0x369a4d(0x1d0)]({'target':()=>this[_0x369a4d(0x1cc)](_0x1d2261(),_0x9effee,_0xb7f41d['id'])||_0x31cbff}));}[_0x48b348(0x1dd)](){const _0x42d12d=_0x48b348;this[_0x42d12d(0x1ca)](),this[_0x42d12d(0x1de)](),this[_0x42d12d(0x1d4)]=void 0x0,this[_0x42d12d(0x1eb)]=void 0x0,this[_0x42d12d(0x1c0)]=void 0x0;}[_0x48b348(0x1c4)](){const _0x24c280=_0x48b348;this[_0x24c280(0x1b8)][_0x24c280(0x1ee)]=!0x1;}[_0x48b348(0x1ec)](){const _0x1d4d87=_0x48b348;this[_0x1d4d87(0x1b8)][_0x1d4d87(0x1ee)]=!0x0;}[_0x48b348(0x1c7)](){const _0x51e9fa=_0x48b348;this[_0x51e9fa(0x1be)](_0x51e9fa(0x1c7),{'origin':_0x51e9fa(0x1a4)});}[_0x48b348(0x1b2)](){const _0x4a6517=_0x48b348;_0x1d4ed8({'emitter':this,'activator':()=>this[_0x4a6517(0x1a5)],'contextElements':()=>{const _0x558429=_0x4a6517,_0x34fb6c=[this[_0x558429(0x1da)]];return this[_0x558429(0x1eb)]&&_0x34fb6c[_0x558429(0x1e4)](this[_0x558429(0x1eb)]),_0x34fb6c;},'callback':()=>{const _0x5a0ed5=_0x4a6517;this[_0x5a0ed5(0x1ca)](),this[_0x5a0ed5(0x1de)](),this[_0x5a0ed5(0x1c7)](),this[_0x5a0ed5(0x1eb)]=void 0x0,this[_0x5a0ed5(0x1d4)]=void 0x0,this[_0x5a0ed5(0x1c0)]=void 0x0;}});}[_0x48b348(0x1ab)](){const _0xdadebf=_0x48b348,_0xe2af09=new _0x3867e4();return this[_0xdadebf(0x1b8)]=new _0xc8c10b(this[_0xdadebf(0x1a3)],''),this[_0xdadebf(0x1b8)][_0xdadebf(0x1b0)][_0xdadebf(0x1aa)]({'attributes':{'class':[_0xdadebf(0x1f0)]}}),this[_0xdadebf(0x1b8)][_0xdadebf(0x1e3)](_0xdadebf(0x1e5),_0xdadebf(0x1e9))['to'](this),_0xe2af09[_0xdadebf(0x1bd)]({'tag':_0xdadebf(0x1c3),'attributes':{'class':[_0xdadebf(0x1e7),_0xdadebf(0x1cb),this[_0xdadebf(0x1bf)]['if'](_0xdadebf(0x1bc),_0xdadebf(0x1ae))]},'children':[{'tag':'p','attributes':{'class':[_0xdadebf(0x1af)]},'children':[this[_0xdadebf(0x1b8)]]}]}),_0xe2af09;}[_0x48b348(0x1bb)](_0x32ac06,_0x201ed7,_0x13c5f3,_0x599d81,_0x24d543){const _0x2baebd=_0x48b348;if(!_0x32ac06)return null;const _0x1ebadd=this[_0x2baebd(0x1f2)][_0x2baebd(0x1e1)](_0x2baebd(0x1cd),''),_0x2ce35f=Array[_0x2baebd(0x1ba)](_0x32ac06[_0x2baebd(0x1a7)]());let _0xb1e7c,_0xed0358=_0x2ce35f[_0x2baebd(0x1d3)]();return void 0x0!==_0x201ed7&&this[_0x2baebd(0x1d9)](_0xed0358[_0x201ed7],_0x599d81,_0x24d543)?(_0xb1e7c=_0xed0358[_0x201ed7],this[_0x2baebd(0x1d4)]=_0x201ed7):this[_0x2baebd(0x1d9)](_0xed0358[0x0],_0x599d81,_0x24d543)&&void 0x0===_0x201ed7?_0xb1e7c=_0xed0358[0x0]:(_0xed0358='s'==_0x1ebadd[0x0]?[..._0x2ce35f][_0x2baebd(0x1d3)]():_0x2ce35f,_0xed0358[_0x2baebd(0x1c1)](_0x44dac4=>{const _0x52b664=_0x2baebd;this[_0x52b664(0x1d9)](_0x44dac4,_0x599d81,_0x24d543)&&(_0xb1e7c=_0x44dac4);})),this[_0x2baebd(0x1c0)]=_0x13c5f3,this[_0x2baebd(0x1eb)]=_0x32ac06,_0xb1e7c||_0x32ac06[_0x2baebd(0x1d5)]();}[_0x48b348(0x1cc)](_0xf0a696,_0x18fdfc,_0x2ea143){const _0x311d5d=_0x48b348;if(!_0xf0a696)return null;const _0x5729db=Array[_0x311d5d(0x1ba)](_0xf0a696[_0x311d5d(0x1a7)]())[_0x311d5d(0x1d3)]();if(void 0x0===this[_0x311d5d(0x1d4)]&&void 0x0!==_0x18fdfc&&this[_0x311d5d(0x1c0)]!==_0x2ea143)return this[_0x311d5d(0x1d4)]=_0x18fdfc,this[_0x311d5d(0x1eb)]=_0xf0a696,this[_0x311d5d(0x1c0)]=_0x2ea143,_0x5729db[_0x18fdfc];if(void 0x0!==this[_0x311d5d(0x1d4)]&&this[_0x311d5d(0x1c0)]===_0x2ea143){if(_0xf0a696!==this[_0x311d5d(0x1eb)])return Array[_0x311d5d(0x1ba)](this[_0x311d5d(0x1eb)][_0x311d5d(0x1a7)]())[_0x311d5d(0x1d3)]()[this[_0x311d5d(0x1d4)]];return _0x5729db[this[_0x311d5d(0x1d4)]];}return void 0x0!==_0x18fdfc&&this[_0x311d5d(0x1c0)]!==_0x2ea143?(this[_0x311d5d(0x1d4)]=_0x18fdfc,this[_0x311d5d(0x1eb)]=_0xf0a696,this[_0x311d5d(0x1c0)]=_0x2ea143,_0x5729db[_0x18fdfc]):_0xf0a696[_0x311d5d(0x1d5)]();}[_0x48b348(0x1b6)](_0x4ee3c4,_0x59a2ee){const _0x41fedb=_0x48b348;if(_0x4ee3c4)for(let _0x49436c=0x0;_0x49436c<_0x59a2ee[_0x41fedb(0x1f1)];_0x49436c++){const _0x3bc881=_0x59a2ee[_0x49436c];if(_0x4ee3c4[_0x41fedb(0x1b1)]>=_0x3bc881[_0x41fedb(0x1ac)]-0x3&&_0x4ee3c4[_0x41fedb(0x1b1)]<=_0x3bc881[_0x41fedb(0x1ed)]+0x3&&_0x4ee3c4[_0x41fedb(0x1df)]>=_0x3bc881[_0x41fedb(0x1b5)]-0x3&&_0x4ee3c4[_0x41fedb(0x1df)]<=_0x3bc881[_0x41fedb(0x1c5)]+0x3)return _0x49436c;}}[_0x48b348(0x1d9)](_0x210979,_0x4db92a,_0x16c0a3){const _0x5e3ff6=_0x48b348,_0x2ea2b2=new _0xe9d07(_0x210979),_0xf36f42=_0x4db92a||document[_0x5e3ff6(0x1ea)],_0x887ccf=_0x2ea2b2[_0x5e3ff6(0x1e2)](_0x9503c5(_0x16c0a3)),_0x478e94=new _0xe9d07(_0xf36f42)[_0x5e3ff6(0x1e2)](_0x2ea2b2);return!!(_0x887ccf&&_0x478e94&&_0x2ea2b2[_0x5e3ff6(0x1d2)]>0x0);}}
23
+ const _0x349517=_0x52c4;(function(_0x3ff049,_0x5ad334){const _0x163a4d=_0x52c4,_0x203c5c=_0x3ff049();while(!![]){try{const _0x182307=parseInt(_0x163a4d(0x1e9))/0x1+-parseInt(_0x163a4d(0x1ea))/0x2*(parseInt(_0x163a4d(0x1ff))/0x3)+parseInt(_0x163a4d(0x213))/0x4+-parseInt(_0x163a4d(0x20f))/0x5+parseInt(_0x163a4d(0x1f1))/0x6*(parseInt(_0x163a4d(0x1d7))/0x7)+-parseInt(_0x163a4d(0x1fa))/0x8+parseInt(_0x163a4d(0x210))/0x9;if(_0x182307===_0x5ad334)break;else _0x203c5c['push'](_0x203c5c['shift']());}catch(_0x5b2480){_0x203c5c['push'](_0x203c5c['shift']());}}}(_0xc73b,0xa2782));import{Rect as _0x5ada2b,getConstrainedViewportRect as _0x5a7dfe}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x604e3a,View as _0x98b63a,clickOutsideHandler as _0x181ce0}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4b1482}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';function _0x52c4(_0x58667a,_0x18fd74){const _0xc73b0d=_0xc73b();return _0x52c4=function(_0x52c42b,_0x2c92e2){_0x52c42b=_0x52c42b-0x1ca;let _0x53a1fd=_0xc73b0d[_0x52c42b];return _0x53a1fd;},_0x52c4(_0x58667a,_0x18fd74);}import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';function _0xc73b(){const _0x519ba7=['left','arrow_','_setupClickOutsideHandler','_pinnedTargetElement','ck-content','1256112UMyikG','_getPointedRectIndexFromEvent','resultItemView','getIntersection','add','2405451WyCsFQ','unpin','updateContent','balloon','_getBestRectPositionOnHover','from','div','documentElement','arrow_se','render','hover','reverse','_pinnedRectIndex','set','_isPinnedRectVisible','top','3327325cMzUPi','5151483asPawN','contentDiffed','deactivateChange','3583672obVHkr','acceptChange','delegate','hideBalloon','locale','show','pin','getBoundingClientRect','push','isVisible','forEach','hideDiffInBalloon','bindTemplate','ck-ai_review-balloon-panel-suggestion','_createContentView','dismissChange','getClientRects','ck-ai_review__suggestion-text','1363173weVZbm','resultResponseView','bottom','showDiffInBalloon','_pinnedTargetChangeId','replace','ck-ai_review-balloon-panel-suggestion_diff-active','clientY','fire','extendTemplate','showDiff','element','click','innerHTML','showBalloon','clientX','length','setTemplate','431987YftUcM','2LzeRLo','right','content','hide','ck-reset','_getBestRectPositionOnClick','position','12nkPOVe','width','changeId','isDiffActive'];_0xc73b=function(){return _0x519ba7;};return _0xc73b();}export class AIReviewCoreBalloonSuggestionItemView extends _0x604e3a{[_0x349517(0x1fc)];[_0x349517(0x20b)]=void 0x0;[_0x349517(0x1f8)]=void 0x0;[_0x349517(0x1db)]=void 0x0;constructor(_0x1d5a13,_0x126254){const _0x222e96=_0x349517;super(_0x1d5a13),this[_0x222e96(0x20c)]({'isVisible':!0x1,'position':_0x222e96(0x207),'class':null,'top':0x0,'left':0x0}),this[_0x222e96(0x1e0)]({'tag':_0x222e96(0x205),'attributes':{'class':[_0x222e96(0x1ee)],'tabindex':'-1'}}),this[_0x222e96(0x20c)](_0x222e96(0x1f4),!0x1),this[_0x222e96(0x1ec)][_0x222e96(0x1fe)](this[_0x222e96(0x1d3)]()),_0x126254[_0x222e96(0x1fe)](this);}[_0x349517(0x208)](){const _0x3be963=_0x349517;super[_0x3be963(0x208)](),this[_0x3be963(0x1f7)]();}[_0x349517(0x201)](_0x43100f){const _0x4e275e=_0x349517;this[_0x4e275e(0x1fc)][_0x4e275e(0x1f3)]=_0x43100f['id'],this[_0x4e275e(0x1fc)][_0x4e275e(0x1d8)][_0x4e275e(0x1e2)][_0x4e275e(0x1e4)]=_0x43100f[_0x4e275e(0x211)];}[_0x349517(0x1e5)](_0x36931d,_0xc89695,_0x494f99,_0x184e33,_0x37a4b2,_0xa77d26){const _0x4b146e=_0x349517,_0x37eba3=_0xc89695();if(!_0x37eba3)return;this[_0x4b146e(0x201)](_0x36931d),this[_0x4b146e(0x1ca)]();const _0x28420d=Array[_0x4b146e(0x204)](_0x37eba3[_0x4b146e(0x1d5)]())[_0x4b146e(0x20a)](),_0x48ebbd=this[_0x4b146e(0x1fb)](_0x494f99,_0x28420d),_0xa8cddf=_0x28420d[_0x48ebbd??0x0];_0x4b146e(0x1e3)===_0x184e33?(this[_0x4b146e(0x1f4)]=!0x0,this[_0x4b146e(0x1cb)]({'target':()=>this[_0x4b146e(0x1ef)](_0xc89695(),_0x48ebbd,_0x36931d['id'],_0x37a4b2,_0xa77d26)||_0xa8cddf})):_0x4b146e(0x209)===_0x184e33&&(this[_0x4b146e(0x1f4)]=!0x1,this[_0x4b146e(0x1cb)]({'target':()=>this[_0x4b146e(0x203)](_0xc89695(),_0x48ebbd,_0x36931d['id'])||_0xa8cddf}));}[_0x349517(0x216)](){const _0x1a2108=_0x349517;this[_0x1a2108(0x1ed)](),this[_0x1a2108(0x200)](),this[_0x1a2108(0x20b)]=void 0x0,this[_0x1a2108(0x1f8)]=void 0x0,this[_0x1a2108(0x1db)]=void 0x0;}[_0x349517(0x1d0)](){const _0xc2e69a=_0x349517;this[_0xc2e69a(0x1fc)][_0xc2e69a(0x1e1)]=!0x1;}[_0x349517(0x1da)](){const _0x57d8a7=_0x349517;this[_0x57d8a7(0x1fc)][_0x57d8a7(0x1e1)]=!0x0;}[_0x349517(0x212)](){const _0x456e92=_0x349517;this[_0x456e92(0x1df)](_0x456e92(0x212),{'origin':_0x456e92(0x202)});}[_0x349517(0x1f7)](){const _0x3af37b=_0x349517;_0x181ce0({'emitter':this,'activator':()=>this[_0x3af37b(0x1ce)],'contextElements':()=>{const _0x326441=_0x3af37b,_0x17ec86=[this[_0x326441(0x1e2)]];return this[_0x326441(0x1f8)]&&_0x17ec86[_0x326441(0x1cd)](this[_0x326441(0x1f8)]),_0x17ec86;},'callback':()=>{const _0x37ece6=_0x3af37b;this[_0x37ece6(0x1ed)](),this[_0x37ece6(0x200)](),this[_0x37ece6(0x212)](),this[_0x37ece6(0x1f8)]=void 0x0,this[_0x37ece6(0x20b)]=void 0x0,this[_0x37ece6(0x1db)]=void 0x0;}});}[_0x349517(0x1d3)](){const _0x55fa98=_0x349517,_0x295b45=new _0x98b63a();return this[_0x55fa98(0x1fc)]=new _0x4b1482(this[_0x55fa98(0x217)],''),this[_0x55fa98(0x1fc)][_0x55fa98(0x1d8)][_0x55fa98(0x1e0)]({'attributes':{'class':[_0x55fa98(0x1f9)]}}),this[_0x55fa98(0x1fc)][_0x55fa98(0x215)](_0x55fa98(0x214),_0x55fa98(0x1d4))['to'](this),_0x295b45[_0x55fa98(0x1e8)]({'tag':_0x55fa98(0x205),'attributes':{'class':[_0x55fa98(0x1ee),_0x55fa98(0x1d2),this[_0x55fa98(0x1d1)]['if'](_0x55fa98(0x1f4),_0x55fa98(0x1dd))]},'children':[{'tag':'p','attributes':{'class':[_0x55fa98(0x1d6)]},'children':[this[_0x55fa98(0x1fc)]]}]}),_0x295b45;}[_0x349517(0x1ef)](_0x175f6f,_0x1f1b68,_0x52149e,_0x30329e,_0x3ddf35){const _0x27f684=_0x349517;if(!_0x175f6f)return null;const _0x2d801c=this[_0x27f684(0x1f0)][_0x27f684(0x1dc)](_0x27f684(0x1f6),''),_0x263ac7=Array[_0x27f684(0x204)](_0x175f6f[_0x27f684(0x1d5)]());let _0x5c7cc3,_0x3ff26d=_0x263ac7[_0x27f684(0x20a)]();return void 0x0!==_0x1f1b68&&this[_0x27f684(0x20d)](_0x3ff26d[_0x1f1b68],_0x30329e,_0x3ddf35)?(_0x5c7cc3=_0x3ff26d[_0x1f1b68],this[_0x27f684(0x20b)]=_0x1f1b68):this[_0x27f684(0x20d)](_0x3ff26d[0x0],_0x30329e,_0x3ddf35)&&void 0x0===_0x1f1b68?_0x5c7cc3=_0x3ff26d[0x0]:(_0x3ff26d='s'==_0x2d801c[0x0]?[..._0x263ac7][_0x27f684(0x20a)]():_0x263ac7,_0x3ff26d[_0x27f684(0x1cf)](_0x3f2b23=>{const _0x57680f=_0x27f684;this[_0x57680f(0x20d)](_0x3f2b23,_0x30329e,_0x3ddf35)&&(_0x5c7cc3=_0x3f2b23);})),this[_0x27f684(0x1db)]=_0x52149e,this[_0x27f684(0x1f8)]=_0x175f6f,_0x5c7cc3||_0x175f6f[_0x27f684(0x1cc)]();}[_0x349517(0x203)](_0x270b08,_0xdf1fdd,_0x1a1908){const _0x95fdcd=_0x349517;if(!_0x270b08)return null;const _0x1a3401=Array[_0x95fdcd(0x204)](_0x270b08[_0x95fdcd(0x1d5)]())[_0x95fdcd(0x20a)]();if(void 0x0===this[_0x95fdcd(0x20b)]&&void 0x0!==_0xdf1fdd&&this[_0x95fdcd(0x1db)]!==_0x1a1908)return this[_0x95fdcd(0x20b)]=_0xdf1fdd,this[_0x95fdcd(0x1f8)]=_0x270b08,this[_0x95fdcd(0x1db)]=_0x1a1908,_0x1a3401[_0xdf1fdd];if(void 0x0!==this[_0x95fdcd(0x20b)]&&this[_0x95fdcd(0x1db)]===_0x1a1908){if(_0x270b08!==this[_0x95fdcd(0x1f8)])return Array[_0x95fdcd(0x204)](this[_0x95fdcd(0x1f8)][_0x95fdcd(0x1d5)]())[_0x95fdcd(0x20a)]()[this[_0x95fdcd(0x20b)]];return _0x1a3401[this[_0x95fdcd(0x20b)]];}return void 0x0!==_0xdf1fdd&&this[_0x95fdcd(0x1db)]!==_0x1a1908?(this[_0x95fdcd(0x20b)]=_0xdf1fdd,this[_0x95fdcd(0x1f8)]=_0x270b08,this[_0x95fdcd(0x1db)]=_0x1a1908,_0x1a3401[_0xdf1fdd]):_0x270b08[_0x95fdcd(0x1cc)]();}[_0x349517(0x1fb)](_0x461084,_0x355d63){const _0x40571b=_0x349517;if(_0x461084)for(let _0x27dda8=0x0;_0x27dda8<_0x355d63[_0x40571b(0x1e7)];_0x27dda8++){const _0x122823=_0x355d63[_0x27dda8];if(_0x461084[_0x40571b(0x1e6)]>=_0x122823[_0x40571b(0x1f5)]-0x3&&_0x461084[_0x40571b(0x1e6)]<=_0x122823[_0x40571b(0x1eb)]+0x3&&_0x461084[_0x40571b(0x1de)]>=_0x122823[_0x40571b(0x20e)]-0x3&&_0x461084[_0x40571b(0x1de)]<=_0x122823[_0x40571b(0x1d9)]+0x3)return _0x27dda8;}}[_0x349517(0x20d)](_0x3e88e2,_0x328af0,_0xb02fec){const _0x5af007=_0x349517,_0x2280aa=new _0x5ada2b(_0x3e88e2),_0x1545a3=_0x328af0||document[_0x5af007(0x206)],_0x9203a9=_0x2280aa[_0x5af007(0x1fd)](_0x5a7dfe(_0xb02fec)),_0x387cac=new _0x5ada2b(_0x1545a3)[_0x5af007(0x1fd)](_0x2280aa);return!!(_0x9203a9&&_0x387cac&&_0x2280aa[_0x5af007(0x1f2)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1c86(){const _0x35bed2=['AI_REVIEW_MODE_CHECK_STATUS_REJECTED','setItemAsActive','acceptChange','isOn','ck-ai_review__check-run-result_active','AI_REVIEW_MODE_DISMISS_CHANGE','extendTemplate','mouseover','isEnabled','showDiff','ck-ai-button-tertiary-filled\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','ck-ai_review__check-run-result-dismiss-button','panel','infoButtonView','status','isActive','fire','ck-ai_review__check-run-result','setItemAsInactive','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','_createInfoButtonView','_createOutdatedButtonView','251480NXaMdY','ck-hidden','label','_createAcceptButtonView','target','pending','3KzWYTK','ck-ai_review__check-run-result-action-buttons','ck-content','ck-ai-button-tertiary-filled','mouseout','dismissButtonView','36lcHhvL','setTemplate','outdated','acceptButtonView','207720QLEMvU','23734ONBcHV','hover','AI_REVIEW_MODE_ACCEPT_CHANGE','disabled','ck-ai-button-secondary','deactivateChange','changeId','ck-ai_review__check-run-result-footer','AI_REVIEW_MODE_LEARN_MORE','35tzXwOV','3976908Euuzdb','dismissChange','activateChange','outdatedButtonView','click','div','preventDefault','bind','ck-ai_review__check-run-result-accept-button','_createDismissButtonView','tagName','133270XQburh','set','resultResponseView','rejected','isInfoToggleOn','icon','menuitemcheckbox','ck-ai_review__check-run-result-response','396DvLZsi','locale','execute','stopPropagation','164910oswInJ','bindTemplate','ck-ai_review__check-run-result-status-button','accepted','change:status','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','ck-reset_all-excluded','_createResultResponseView','8806626WbFTlY'];_0x1c86=function(){return _0x35bed2;};return _0x1c86();}const _0x2b74d8=_0x4a0e;(function(_0x364e74,_0x228305){const _0x2489e5=_0x4a0e,_0x1acaf9=_0x364e74();while(!![]){try{const _0x5161eb=parseInt(_0x2489e5(0x1de))/0x1*(parseInt(_0x2489e5(0x1e9))/0x2)+-parseInt(_0x2489e5(0x1b9))/0x3+parseInt(_0x2489e5(0x1e4))/0x4*(-parseInt(_0x2489e5(0x1d8))/0x5)+parseInt(_0x2489e5(0x1f3))/0x6+parseInt(_0x2489e5(0x1f2))/0x7*(-parseInt(_0x2489e5(0x1e8))/0x8)+parseInt(_0x2489e5(0x1c1))/0x9+-parseInt(_0x2489e5(0x1fe))/0xa*(parseInt(_0x2489e5(0x206))/0xb);if(_0x5161eb===_0x228305)break;else _0x1acaf9['push'](_0x1acaf9['shift']());}catch(_0x43f5cb){_0x1acaf9['push'](_0x1acaf9['shift']());}}}(_0x1c86,0x88a56));import{View as _0x1714a7,ButtonView as _0xb83167}from'ckeditor5/src/ui.js';import{IconInfo as _0x1de412,IconCheck as _0x1123ac,IconCancel as _0x499fd2,IconOutdated as _0x4915eb}from'ckeditor5/src/icons.js';import{getTranslation as _0x5cc9c8}from'../../aicore/utils/common-translations.js';function _0x4a0e(_0x4d2a6c,_0xb681f2){const _0x1c8622=_0x1c86();return _0x4a0e=function(_0x4a0e16,_0x5893a6){_0x4a0e16=_0x4a0e16-0x1b7;let _0x2b5eae=_0x1c8622[_0x4a0e16];return _0x2b5eae;},_0x4a0e(_0x4d2a6c,_0xb681f2);}export class AIReviewCoreReviewCheckListItemResultsView extends _0x1714a7{[_0x2b74d8(0x200)];[_0x2b74d8(0x1e7)];[_0x2b74d8(0x1e3)];[_0x2b74d8(0x1cf)];[_0x2b74d8(0x1f6)];constructor(_0x188509,_0x53348b){const _0x49c6d6=_0x2b74d8;super(_0x188509),this['id']=_0x53348b,this[_0x49c6d6(0x1ff)](_0x49c6d6(0x1d0),_0x49c6d6(0x1dd)),this[_0x49c6d6(0x1ff)](_0x49c6d6(0x1ef),_0x53348b),this[_0x49c6d6(0x200)]=this[_0x49c6d6(0x1c0)](),this[_0x49c6d6(0x1e7)]=this[_0x49c6d6(0x1db)](),this[_0x49c6d6(0x1e3)]=this[_0x49c6d6(0x1fc)](),this[_0x49c6d6(0x1cf)]=this[_0x49c6d6(0x1d6)](),this[_0x49c6d6(0x1f6)]=this[_0x49c6d6(0x1d7)](),this[_0x49c6d6(0x1ff)](_0x49c6d6(0x202),!0x1),this[_0x49c6d6(0x1ff)](_0x49c6d6(0x1d1),!0x1),this[_0x49c6d6(0x1ff)](_0x49c6d6(0x1cb),!0x0),this[_0x49c6d6(0x1e5)]({'tag':_0x49c6d6(0x1f8),'attributes':{'class':[_0x49c6d6(0x1d3),this[_0x49c6d6(0x1ba)]['if'](_0x49c6d6(0x1d1),_0x49c6d6(0x1c6))]},'on':{'click':this[_0x49c6d6(0x1ba)]['to'](_0x49c6d6(0x1f7)),'mouseover':this[_0x49c6d6(0x1ba)]['to'](_0x49c6d6(0x1c9)),'mouseout':this[_0x49c6d6(0x1ba)]['to'](_0x49c6d6(0x1e2))},'children':[this[_0x49c6d6(0x200)],{'tag':_0x49c6d6(0x1f8),'attributes':{'class':[_0x49c6d6(0x1f0)]},'children':[{'tag':_0x49c6d6(0x1f8),'attributes':{'class':[_0x49c6d6(0x1df)]},'children':[this[_0x49c6d6(0x1e7)],this[_0x49c6d6(0x1e3)],this[_0x49c6d6(0x1f6)]]},this[_0x49c6d6(0x1cf)]]}]}),this['on'](_0x49c6d6(0x1f7),(_0x1205df,_0x28d4d0)=>{const _0x32c431=_0x49c6d6;_0x28d4d0&&_0x28d4d0[_0x32c431(0x1dc)]&&'A'===_0x28d4d0[_0x32c431(0x1dc)][_0x32c431(0x1fd)]&&_0x28d4d0[_0x32c431(0x1f9)](),this[_0x32c431(0x1d2)](_0x32c431(0x1f5),{'id':_0x53348b,'source':this,'uiInteraction':_0x32c431(0x1f7)});}),this['on'](_0x49c6d6(0x1c9),()=>{const _0x566c90=_0x49c6d6;this[_0x566c90(0x1d2)](_0x566c90(0x1f5),{'id':_0x53348b,'source':this,'uiInteraction':_0x566c90(0x1ea)});}),this['on'](_0x49c6d6(0x1e2),()=>{const _0x2927ec=_0x49c6d6;this[_0x2927ec(0x1d2)](_0x2927ec(0x1ee),{'origin':_0x2927ec(0x1ce),'id':_0x53348b,'source':this});});}[_0x2b74d8(0x1c3)](){const _0x2418a0=_0x2b74d8;this[_0x2418a0(0x1d1)]=!0x0;}[_0x2b74d8(0x1d4)](){const _0x940eb0=_0x2b74d8;this[_0x940eb0(0x1d1)]=!0x1;}[_0x2b74d8(0x1c0)](){const _0x3a530b=_0x2b74d8,_0x581c1c=new _0x1714a7(this[_0x3a530b(0x207)]);return _0x581c1c[_0x3a530b(0x1e5)]({'tag':_0x3a530b(0x1f8),'attributes':{'class':['ck',_0x3a530b(0x1e0),_0x3a530b(0x1bf),_0x3a530b(0x205),this[_0x3a530b(0x1ba)]['if'](_0x3a530b(0x1cb),_0x3a530b(0x1d9),_0x3b1bb9=>!_0x3b1bb9)]}}),_0x581c1c;}[_0x2b74d8(0x1db)](){const _0x15e6ff=_0x2b74d8,_0x5650cb=new _0xb83167(this[_0x15e6ff(0x207)]);return _0x5650cb[_0x15e6ff(0x1ff)]({'label':_0x5cc9c8(this[_0x15e6ff(0x207)],_0x15e6ff(0x1eb)),'withText':!0x0}),_0x5650cb[_0x15e6ff(0x1c8)]({'on':{'click':this[_0x15e6ff(0x1ba)]['to'](_0x55e82f=>{const _0x1141dd=_0x15e6ff;this[_0x1141dd(0x1d2)](_0x1141dd(0x1c4),{'id':this[_0x1141dd(0x1ef)]}),_0x55e82f[_0x1141dd(0x1b8)]();})},'attributes':{'class':[_0x15e6ff(0x1ed),_0x15e6ff(0x1fb),this[_0x15e6ff(0x1ba)]['if'](_0x15e6ff(0x1d0),_0x15e6ff(0x1d9),_0x28301c=>_0x15e6ff(0x1dd)!==_0x28301c&&_0x15e6ff(0x1bc)!==_0x28301c),this[_0x15e6ff(0x1ba)]['if'](_0x15e6ff(0x1d0),_0x15e6ff(0x1fb),_0x54b9a9=>_0x15e6ff(0x1dd)===_0x54b9a9),this[_0x15e6ff(0x1ba)]['if'](_0x15e6ff(0x1d0),_0x15e6ff(0x1bb),_0x537914=>_0x15e6ff(0x1bc)===_0x537914)]}}),this['on'](_0x15e6ff(0x1bd),(_0x101252,_0x23efc3,_0x5734ec)=>{const _0x3b6b5f=_0x15e6ff;_0x5650cb[_0x3b6b5f(0x1ca)]=_0x3b6b5f(0x1dd)===_0x5734ec,_0x3b6b5f(0x1bc)===_0x5734ec&&(_0x5650cb[_0x3b6b5f(0x1da)]=_0x5cc9c8(this[_0x3b6b5f(0x207)],_0x3b6b5f(0x1d5)),_0x5650cb[_0x3b6b5f(0x203)]=_0x1123ac);}),_0x5650cb;}[_0x2b74d8(0x1fc)](){const _0x449e67=_0x2b74d8,_0x3419f4=new _0xb83167(this[_0x449e67(0x207)]);return _0x3419f4[_0x449e67(0x1ff)]({'label':_0x5cc9c8(this[_0x449e67(0x207)],_0x449e67(0x1c7)),'withText':!0x0}),_0x3419f4[_0x449e67(0x1c8)]({'on':{'click':this[_0x449e67(0x1ba)]['to'](_0x536743=>{const _0x3a3860=_0x449e67;this[_0x3a3860(0x1d2)](_0x3a3860(0x1f4),{'id':this[_0x3a3860(0x1ef)]}),_0x536743[_0x3a3860(0x1b8)]();})},'attributes':{'class':[_0x449e67(0x1e1),this[_0x449e67(0x1ba)]['if'](_0x449e67(0x1d0),_0x449e67(0x1d9),_0x2495ba=>_0x449e67(0x1dd)!==_0x2495ba&&_0x449e67(0x201)!==_0x2495ba),this[_0x449e67(0x1ba)]['if'](_0x449e67(0x1d0),_0x449e67(0x1cd),_0x192081=>_0x449e67(0x1dd)===_0x192081),this[_0x449e67(0x1ba)]['if'](_0x449e67(0x1d0),_0x449e67(0x1bb),_0x33a53e=>_0x449e67(0x201)===_0x33a53e)]}}),this['on'](_0x449e67(0x1bd),(_0x52926e,_0x10b299,_0x5daa02)=>{const _0x4b01d1=_0x449e67;_0x3419f4[_0x4b01d1(0x1ca)]=_0x4b01d1(0x1dd)===_0x5daa02,_0x4b01d1(0x201)===_0x5daa02&&(_0x3419f4[_0x4b01d1(0x1da)]=_0x5cc9c8(this[_0x4b01d1(0x207)],_0x4b01d1(0x1c2)),_0x3419f4[_0x4b01d1(0x203)]=_0x499fd2);}),_0x3419f4;}[_0x2b74d8(0x1d6)](){const _0x452e08=_0x2b74d8,_0x1cea2b=new _0xb83167(this[_0x452e08(0x207)]);return _0x1cea2b[_0x452e08(0x1ff)]({'label':_0x5cc9c8(this[_0x452e08(0x207)],_0x452e08(0x1f1)),'icon':_0x1de412,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x452e08(0x204),'class':_0x452e08(0x1cc)}),_0x1cea2b[_0x452e08(0x1fa)](_0x452e08(0x1c5))['to'](this,_0x452e08(0x202),_0x57f4d0=>_0x57f4d0),_0x1cea2b['on'](_0x452e08(0x1b7),()=>{const _0x5906a5=_0x452e08;this[_0x5906a5(0x202)]=!this[_0x5906a5(0x202)];}),_0x1cea2b;}[_0x2b74d8(0x1d7)](){const _0xdf9d3=_0x2b74d8,_0x47babd=new _0xb83167(this[_0xdf9d3(0x207)]);return _0x47babd[_0xdf9d3(0x1ff)]({'label':_0x5cc9c8(this[_0xdf9d3(0x207)],_0xdf9d3(0x1be)),'icon':_0x4915eb,'withText':!0x0,'isEnabled':!0x1}),_0x47babd[_0xdf9d3(0x1c8)]({'attributes':{'class':[_0xdf9d3(0x1ed),_0xdf9d3(0x1bb),this[_0xdf9d3(0x1ba)]['if'](_0xdf9d3(0x1d0),_0xdf9d3(0x1d9),_0x286b14=>_0xdf9d3(0x1e6)!==_0x286b14)],'disabled':_0xdf9d3(0x1ec)}}),_0x47babd;}}
23
+ const _0x1a2151=_0x17c7;(function(_0x16c37f,_0x3a90a7){const _0x3ab1fe=_0x17c7,_0x5b7652=_0x16c37f();while(!![]){try{const _0x3c5cc6=-parseInt(_0x3ab1fe(0x173))/0x1*(-parseInt(_0x3ab1fe(0x170))/0x2)+-parseInt(_0x3ab1fe(0x12f))/0x3*(-parseInt(_0x3ab1fe(0x15a))/0x4)+parseInt(_0x3ab1fe(0x166))/0x5*(-parseInt(_0x3ab1fe(0x14b))/0x6)+-parseInt(_0x3ab1fe(0x135))/0x7+-parseInt(_0x3ab1fe(0x136))/0x8*(parseInt(_0x3ab1fe(0x12c))/0x9)+parseInt(_0x3ab1fe(0x12a))/0xa*(-parseInt(_0x3ab1fe(0x145))/0xb)+parseInt(_0x3ab1fe(0x16e))/0xc;if(_0x3c5cc6===_0x3a90a7)break;else _0x5b7652['push'](_0x5b7652['shift']());}catch(_0x28c236){_0x5b7652['push'](_0x5b7652['shift']());}}}(_0x716a,0x4b5f1));function _0x716a(){const _0xcf7780=['acceptChange','click','8516HqYJVt','stopPropagation','resultResponseView','isEnabled','accepted','outdatedButtonView','ck-ai_review__check-run-result-footer','acceptButtonView','ck-ai_review__check-run-result-response','bind','_createInfoButtonView','locale','7860RfCTFp','panel','deactivateChange','_createOutdatedButtonView','set','change:status','menuitemcheckbox','ck-ai-button-tertiary-filled','11272380Qjrfld','label','38PgdBnj','showDiff','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','30657CCkKHK','AI_REVIEW_MODE_DISMISS_CHANGE','isActive','dismissButtonView','hover','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','ck-ai_review__check-run-result-dismiss-button','preventDefault','icon','800180SaxBTL','isInfoToggleOn','5154462uZhySN','_createDismissButtonView','dismissChange','429RkXIuN','div','target','ck-ai_review__check-run-result','rejected','ck-ai_review__check-run-result_active','3303944nNSMiG','8Bmvpdn','setTemplate','bindTemplate','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai_review__check-run-result-accept-button','AI_REVIEW_MODE_ACCEPT_CHANGE','_createAcceptButtonView','ck-hidden','fire','mouseout','ck-reset_all-excluded','ck-ai_review__check-run-result-action-buttons','_createResultResponseView','setItemAsActive','changeId','22grlVTW','mouseover','pending','ck-ai_review__check-run-result-status-button','setItemAsInactive','ck-ai-button-secondary','1194LdBcdk','activateChange','execute','isOn','ck-content','infoButtonView','status','ck-ai-button-tertiary-filled\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','disabled','tagName','AI_REVIEW_MODE_LEARN_MORE','outdated','extendTemplate'];_0x716a=function(){return _0xcf7780;};return _0x716a();}import{View as _0x525380,ButtonView as _0x18957d}from'ckeditor5/src/ui.js';function _0x17c7(_0x48e66c,_0x4fd951){const _0x716a34=_0x716a();return _0x17c7=function(_0x17c7d5,_0x49228b){_0x17c7d5=_0x17c7d5-0x126;let _0x21e0d3=_0x716a34[_0x17c7d5];return _0x21e0d3;},_0x17c7(_0x48e66c,_0x4fd951);}import{IconInfo as _0x3d36c1,IconCheck as _0x56315,IconCancel as _0x4aae64,IconOutdated as _0x284a91}from'ckeditor5/src/icons.js';import{getTranslation as _0x5d82b2}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x525380{[_0x1a2151(0x15c)];[_0x1a2151(0x161)];[_0x1a2151(0x176)];[_0x1a2151(0x150)];[_0x1a2151(0x15f)];constructor(_0x4b8d55,_0x4bb766){const _0x5f36ff=_0x1a2151;super(_0x4b8d55),this['id']=_0x4bb766,this[_0x5f36ff(0x16a)](_0x5f36ff(0x151),_0x5f36ff(0x147)),this[_0x5f36ff(0x16a)](_0x5f36ff(0x144),_0x4bb766),this[_0x5f36ff(0x15c)]=this[_0x5f36ff(0x142)](),this[_0x5f36ff(0x161)]=this[_0x5f36ff(0x13c)](),this[_0x5f36ff(0x176)]=this[_0x5f36ff(0x12d)](),this[_0x5f36ff(0x150)]=this[_0x5f36ff(0x164)](),this[_0x5f36ff(0x15f)]=this[_0x5f36ff(0x169)](),this[_0x5f36ff(0x16a)](_0x5f36ff(0x12b),!0x1),this[_0x5f36ff(0x16a)](_0x5f36ff(0x175),!0x1),this[_0x5f36ff(0x16a)](_0x5f36ff(0x171),!0x0),this[_0x5f36ff(0x137)]({'tag':_0x5f36ff(0x130),'attributes':{'class':[_0x5f36ff(0x132),this[_0x5f36ff(0x138)]['if'](_0x5f36ff(0x175),_0x5f36ff(0x134))]},'on':{'click':this[_0x5f36ff(0x138)]['to'](_0x5f36ff(0x159)),'mouseover':this[_0x5f36ff(0x138)]['to'](_0x5f36ff(0x146)),'mouseout':this[_0x5f36ff(0x138)]['to'](_0x5f36ff(0x13f))},'children':[this[_0x5f36ff(0x15c)],{'tag':_0x5f36ff(0x130),'attributes':{'class':[_0x5f36ff(0x160)]},'children':[{'tag':_0x5f36ff(0x130),'attributes':{'class':[_0x5f36ff(0x141)]},'children':[this[_0x5f36ff(0x161)],this[_0x5f36ff(0x176)],this[_0x5f36ff(0x15f)]]},this[_0x5f36ff(0x150)]]}]}),this['on'](_0x5f36ff(0x159),(_0x1e57f6,_0x1ca55b)=>{const _0x1844f4=_0x5f36ff;_0x1ca55b&&_0x1ca55b[_0x1844f4(0x131)]&&'A'===_0x1ca55b[_0x1844f4(0x131)][_0x1844f4(0x154)]&&_0x1ca55b[_0x1844f4(0x128)](),this[_0x1844f4(0x13e)](_0x1844f4(0x14c),{'id':_0x4bb766,'source':this,'uiInteraction':_0x1844f4(0x159)});}),this['on'](_0x5f36ff(0x146),()=>{const _0x1793ae=_0x5f36ff;this[_0x1793ae(0x13e)](_0x1793ae(0x14c),{'id':_0x4bb766,'source':this,'uiInteraction':_0x1793ae(0x177)});}),this['on'](_0x5f36ff(0x13f),()=>{const _0x3cda56=_0x5f36ff;this[_0x3cda56(0x13e)](_0x3cda56(0x168),{'origin':_0x3cda56(0x167),'id':_0x4bb766,'source':this});});}[_0x1a2151(0x143)](){const _0x5e2538=_0x1a2151;this[_0x5e2538(0x175)]=!0x0;}[_0x1a2151(0x149)](){const _0x2fb16c=_0x1a2151;this[_0x2fb16c(0x175)]=!0x1;}[_0x1a2151(0x142)](){const _0x4fca1e=_0x1a2151,_0x19b11f=new _0x525380(this[_0x4fca1e(0x165)]);return _0x19b11f[_0x4fca1e(0x137)]({'tag':_0x4fca1e(0x130),'attributes':{'class':['ck',_0x4fca1e(0x14f),_0x4fca1e(0x140),_0x4fca1e(0x162),this[_0x4fca1e(0x138)]['if'](_0x4fca1e(0x171),_0x4fca1e(0x13d),_0x59f5d0=>!_0x59f5d0)]}}),_0x19b11f;}[_0x1a2151(0x13c)](){const _0x2bb784=_0x1a2151,_0x211b01=new _0x18957d(this[_0x2bb784(0x165)]);return _0x211b01[_0x2bb784(0x16a)]({'label':_0x5d82b2(this[_0x2bb784(0x165)],_0x2bb784(0x13b)),'withText':!0x0}),_0x211b01[_0x2bb784(0x157)]({'on':{'click':this[_0x2bb784(0x138)]['to'](_0x112c06=>{const _0xb9e6c9=_0x2bb784;this[_0xb9e6c9(0x13e)](_0xb9e6c9(0x158),{'id':this[_0xb9e6c9(0x144)]}),_0x112c06[_0xb9e6c9(0x15b)]();})},'attributes':{'class':[_0x2bb784(0x14a),_0x2bb784(0x13a),this[_0x2bb784(0x138)]['if'](_0x2bb784(0x151),_0x2bb784(0x13d),_0x473bb9=>_0x2bb784(0x147)!==_0x473bb9&&_0x2bb784(0x15e)!==_0x473bb9),this[_0x2bb784(0x138)]['if'](_0x2bb784(0x151),_0x2bb784(0x13a),_0x6cfa23=>_0x2bb784(0x147)===_0x6cfa23),this[_0x2bb784(0x138)]['if'](_0x2bb784(0x151),_0x2bb784(0x148),_0x51daa0=>_0x2bb784(0x15e)===_0x51daa0)]}}),this['on'](_0x2bb784(0x16b),(_0x112fba,_0x557f5b,_0x58daeb)=>{const _0x164c45=_0x2bb784;_0x211b01[_0x164c45(0x15d)]=_0x164c45(0x147)===_0x58daeb,_0x164c45(0x15e)===_0x58daeb&&(_0x211b01[_0x164c45(0x16f)]=_0x5d82b2(this[_0x164c45(0x165)],_0x164c45(0x139)),_0x211b01[_0x164c45(0x129)]=_0x56315);}),_0x211b01;}[_0x1a2151(0x12d)](){const _0x57090c=_0x1a2151,_0xd919af=new _0x18957d(this[_0x57090c(0x165)]);return _0xd919af[_0x57090c(0x16a)]({'label':_0x5d82b2(this[_0x57090c(0x165)],_0x57090c(0x174)),'withText':!0x0}),_0xd919af[_0x57090c(0x157)]({'on':{'click':this[_0x57090c(0x138)]['to'](_0x3b424a=>{const _0xf084b2=_0x57090c;this[_0xf084b2(0x13e)](_0xf084b2(0x12e),{'id':this[_0xf084b2(0x144)]}),_0x3b424a[_0xf084b2(0x15b)]();})},'attributes':{'class':[_0x57090c(0x16d),this[_0x57090c(0x138)]['if'](_0x57090c(0x151),_0x57090c(0x13d),_0x3434e6=>_0x57090c(0x147)!==_0x3434e6&&_0x57090c(0x133)!==_0x3434e6),this[_0x57090c(0x138)]['if'](_0x57090c(0x151),_0x57090c(0x127),_0x333a41=>_0x57090c(0x147)===_0x333a41),this[_0x57090c(0x138)]['if'](_0x57090c(0x151),_0x57090c(0x148),_0x338a17=>_0x57090c(0x133)===_0x338a17)]}}),this['on'](_0x57090c(0x16b),(_0x34a943,_0x192ed1,_0x3c9922)=>{const _0x5af4ef=_0x57090c;_0xd919af[_0x5af4ef(0x15d)]=_0x5af4ef(0x147)===_0x3c9922,_0x5af4ef(0x133)===_0x3c9922&&(_0xd919af[_0x5af4ef(0x16f)]=_0x5d82b2(this[_0x5af4ef(0x165)],_0x5af4ef(0x172)),_0xd919af[_0x5af4ef(0x129)]=_0x4aae64);}),_0xd919af;}[_0x1a2151(0x164)](){const _0x487a3b=_0x1a2151,_0x2ded0b=new _0x18957d(this[_0x487a3b(0x165)]);return _0x2ded0b[_0x487a3b(0x16a)]({'label':_0x5d82b2(this[_0x487a3b(0x165)],_0x487a3b(0x155)),'icon':_0x3d36c1,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x487a3b(0x16c),'class':_0x487a3b(0x152)}),_0x2ded0b[_0x487a3b(0x163)](_0x487a3b(0x14e))['to'](this,_0x487a3b(0x12b),_0x4193dc=>_0x4193dc),_0x2ded0b['on'](_0x487a3b(0x14d),()=>{const _0x3fd2c8=_0x487a3b;this[_0x3fd2c8(0x12b)]=!this[_0x3fd2c8(0x12b)];}),_0x2ded0b;}[_0x1a2151(0x169)](){const _0x5b9b4e=_0x1a2151,_0x319287=new _0x18957d(this[_0x5b9b4e(0x165)]);return _0x319287[_0x5b9b4e(0x16a)]({'label':_0x5d82b2(this[_0x5b9b4e(0x165)],_0x5b9b4e(0x126)),'icon':_0x284a91,'withText':!0x0,'isEnabled':!0x1}),_0x319287[_0x5b9b4e(0x157)]({'attributes':{'class':[_0x5b9b4e(0x14a),_0x5b9b4e(0x148),this[_0x5b9b4e(0x138)]['if'](_0x5b9b4e(0x151),_0x5b9b4e(0x13d),_0x172c54=>_0x5b9b4e(0x156)!==_0x172c54)],'disabled':_0x5b9b4e(0x153)}}),_0x319287;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x5f03e2,KeystrokeHandler as _0x5234bb,FocusTracker as _0x39b526}from'ckeditor5/src/utils.js';import{View as _0x47a050,ViewCollection as _0x452089,ButtonView as _0x13a413,FormRowView as _0x4885d3,createDropdown as _0x1716a1,addListToDropdown as _0x39eed,UIModel as _0x34f558,ButtonLabelView as _0x292fba,LabeledFieldView as _0x5af734,FocusCycler as _0x4972b}from'ckeditor5/src/ui.js';import{getTranslation as _0x3ddd20}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x392ff5}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x47a050{['focusTracker']=new _0x39b526();['keystrokes']=new _0x5234bb();['focusCycler'];['_focusables']=new _0x452089();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x1cb993,_0x56fefb,_0x878a5a=!0x1){super(_0x1cb993),this['_check']=_0x56fefb,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x56fefb['defaultModel']?_0x56fefb['defaultModel']['id']:'',this['_defaultLabel']=_0x56fefb['defaultModel']?_0x56fefb['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x5af734(this['locale'],()=>new _0x392ff5(_0x1cb993)),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 _0x5f03e2(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x878a5a),_0x39eed(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x4885d3(this['locale'],{'children':[this['promptInputView']]}),new _0x4885d3(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x47eb92,_0x491573)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x491573()):_0x491573();}),this['focusCycler']=new _0x4972b({'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'](_0x45ad41=>{this['_focusables']['add'](_0x45ad41),this['focusTracker']['add'](_0x45ad41['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 _0x42a8eb of this['_getFormValidators']()){const _0x116f9e=_0x42a8eb();if(_0x116f9e)return this['promptInputView']['errorText']=_0x116f9e,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x3ddd20(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x57b3b1=new _0x13a413(this['locale']),t=this['locale']['t'];return _0x57b3b1['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x57b3b1['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x57b3b1;}['_createCancelButtonView'](){const _0x39135d=new _0x13a413(this['locale']),t=this['locale']['t'];return _0x39135d['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x39135d['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5efe95=>{_0x5efe95['stopPropagation']();})}}),_0x39135d['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x39135d;}['_setModelList'](_0x2eb151){this['_modelSelectionDropdownItems']['clear']();const _0x2b39b8=this['_check']['models'];if(_0x2eb151)this['set']('modelDisplayMode','hidden');else{const _0x41211e=0x1===_0x2b39b8['length'];this['set']('modelDisplayMode',_0x41211e?'name':'selector');}if(this['resetToDefault'](),_0x2b39b8?.['length']){0x1===_0x2b39b8['length']&&this['set']('activeModelName',_0x2b39b8[0x0]['name']||_0x2b39b8[0x0]['id']);for(const _0x1736d6 of _0x2b39b8){const _0x5a5ed5=new _0x34f558({'label':_0x1736d6['name'],'withText':!0x0,'role':'menuitemradio','id':_0x1736d6['id'],'model':_0x1736d6});_0x5a5ed5['bind']('isOn')['to'](this,'modelId',_0x622445=>_0x622445===_0x1736d6['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x5a5ed5,'labelView':new ho(this['locale'],_0x1736d6)});}}}['_createModelSelectionDropdown'](){const _0x421f47=_0x1716a1(this['locale']);return _0x421f47['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x421f47['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x421f47['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x596d6a=>'selector'===_0x596d6a),this['listenTo'](_0x421f47,'execute',_0x46ab69=>{this['modelId']=_0x46ab69['source']['model']['id'],_0x421f47['buttonView']['label']=_0x46ab69['source']['label'];}),_0x421f47;}['_createModelNameView'](){const _0x534092=new Zs(this['locale']);return _0x534092['bind']('text')['to'](this,'activeModelName',_0x17a463=>_0x17a463??''),_0x534092['bind']('isVisible')['to'](this,'modelDisplayMode',_0x394c85=>'name'===_0x394c85),_0x534092;}['_createActionsFooterView'](){const _0x445d2d=new _0x47a050(this['locale']);return _0x445d2d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x445d2d;}}class Zs extends _0x47a050{constructor(_0x5353ad){super(_0x5353ad),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x451598=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x451598['if']('isVisible','ck-hidden',_0x1e96b8=>!_0x1e96b8)]},'children':[{'text':_0x451598['to']('text')}]});}}class ho extends _0x292fba{constructor(_0x28526c,_0xcb1e50){super();const _0x59b8b3=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x59b8b3['to']('style'),'id':_0x59b8b3['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x59b8b3['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0xcb1e50['description']||'']}]}]});}}
23
+ import{Collection as _0x5d911c,KeystrokeHandler as _0x5d073d,FocusTracker as _0x123e30}from'ckeditor5/src/utils.js';import{View as _0x506d32,ViewCollection as _0x1f7949,ButtonView as _0x1e0b49,FormRowView as _0x505ff0,createDropdown as _0xd3d519,addListToDropdown as _0x18e2b8,UIModel as _0x51b335,ButtonLabelView as _0x3ec159,LabeledFieldView as _0x334506,FocusCycler as _0x4cc2c1}from'ckeditor5/src/ui.js';import{getTranslation as _0x19a376}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x5e98a2}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x506d32{['focusTracker']=new _0x123e30();['keystrokes']=new _0x5d073d();['focusCycler'];['_focusables']=new _0x1f7949();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x103b09,_0x155e2c,_0x1bc528=!0x1){super(_0x103b09),this['_check']=_0x155e2c,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x155e2c['defaultModel']?_0x155e2c['defaultModel']['id']:'',this['_defaultLabel']=_0x155e2c['defaultModel']?_0x155e2c['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x334506(this['locale'],()=>new _0x5e98a2(_0x103b09)),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 _0x5d911c(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1bc528),_0x18e2b8(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x505ff0(this['locale'],{'children':[this['promptInputView']]}),new _0x505ff0(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x3ee326,_0x3e1c5e)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x3e1c5e()):_0x3e1c5e();}),this['focusCycler']=new _0x4cc2c1({'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'](_0x19de2b=>{this['_focusables']['add'](_0x19de2b),this['focusTracker']['add'](_0x19de2b['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 _0x1083a4 of this['_getFormValidators']()){const _0x383152=_0x1083a4();if(_0x383152)return this['promptInputView']['errorText']=_0x383152,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x19a376(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x141b85=new _0x1e0b49(this['locale']),t=this['locale']['t'];return _0x141b85['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x141b85['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x141b85;}['_createCancelButtonView'](){const _0x4d3db8=new _0x1e0b49(this['locale']),t=this['locale']['t'];return _0x4d3db8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x4d3db8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4ba59e=>{_0x4ba59e['stopPropagation']();})}}),_0x4d3db8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x4d3db8;}['_setModelList'](_0xfd4ab8){this['_modelSelectionDropdownItems']['clear']();const _0x34aa31=this['_check']['models'];if(_0xfd4ab8)this['set']('modelDisplayMode','hidden');else{const _0x503b6a=0x1===_0x34aa31['length'];this['set']('modelDisplayMode',_0x503b6a?'name':'selector');}if(this['resetToDefault'](),_0x34aa31?.['length']){0x1===_0x34aa31['length']&&this['set']('activeModelName',_0x34aa31[0x0]['name']||_0x34aa31[0x0]['id']);for(const _0x309c29 of _0x34aa31){const _0x54e9fe=new _0x51b335({'label':_0x309c29['name'],'withText':!0x0,'role':'menuitemradio','id':_0x309c29['id'],'model':_0x309c29});_0x54e9fe['bind']('isOn')['to'](this,'modelId',_0x2c94bc=>_0x2c94bc===_0x309c29['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x54e9fe,'labelView':new _o(this['locale'],_0x309c29)});}}}['_createModelSelectionDropdown'](){const _0x19771d=_0xd3d519(this['locale']);return _0x19771d['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x19771d['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x19771d['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1e1d1d=>'selector'===_0x1e1d1d),this['listenTo'](_0x19771d,'execute',_0x2f3468=>{this['modelId']=_0x2f3468['source']['model']['id'],_0x19771d['buttonView']['label']=_0x2f3468['source']['label'];}),_0x19771d;}['_createModelNameView'](){const _0x2d0364=new po(this['locale']);return _0x2d0364['bind']('text')['to'](this,'activeModelName',_0x5390c7=>_0x5390c7??''),_0x2d0364['bind']('isVisible')['to'](this,'modelDisplayMode',_0x262d51=>'name'===_0x262d51),_0x2d0364;}['_createActionsFooterView'](){const _0x42e0cb=new _0x506d32(this['locale']);return _0x42e0cb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x42e0cb;}}class po extends _0x506d32{constructor(_0x381d70){super(_0x381d70),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x482c1b=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x482c1b['if']('isVisible','ck-hidden',_0x329215=>!_0x329215)]},'children':[{'text':_0x482c1b['to']('text')}]});}}class _o extends _0x3ec159{constructor(_0x58b055,_0x586749){super();const _0x31bbf1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x31bbf1['to']('style'),'id':_0x31bbf1['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x31bbf1['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x586749['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x22b8(_0x44969e,_0x2ad4de){var _0x5982f9=_0x5982();return _0x22b8=function(_0x22b809,_0xdd7c9a){_0x22b809=_0x22b809-0x14e;var _0xf89ae1=_0x5982f9[_0x22b809];return _0xf89ae1;},_0x22b8(_0x44969e,_0x2ad4de);}(function(_0x27bd15,_0x1ccc4a){var _0x48b2bb=_0x22b8,_0x2a18a5=_0x27bd15();while(!![]){try{var _0x68c054=parseInt(_0x48b2bb(0x15c))/0x1*(-parseInt(_0x48b2bb(0x15b))/0x2)+parseInt(_0x48b2bb(0x157))/0x3+parseInt(_0x48b2bb(0x159))/0x4+-parseInt(_0x48b2bb(0x152))/0x5+parseInt(_0x48b2bb(0x151))/0x6*(parseInt(_0x48b2bb(0x150))/0x7)+parseInt(_0x48b2bb(0x15a))/0x8+parseInt(_0x48b2bb(0x154))/0x9*(-parseInt(_0x48b2bb(0x14e))/0xa);if(_0x68c054===_0x1ccc4a)break;else _0x2a18a5['push'](_0x2a18a5['shift']());}catch(_0x4d2ea1){_0x2a18a5['push'](_0x2a18a5['shift']());}}}(_0x5982,0x69377));import{ButtonView as _0x3c5f37}from'ckeditor5/src/ui.js';function _0x5982(){var _0x48eca7=['60MOmewA','2494600iSsnVB','ck-ai-button-primary','819hplLUd','set','fire','1286976OKBwUl','finishReview','2103252sZFfbG','2985496BKOpbu','2tiWyGC','379064DRbSmz','3710azKxPw','execute','10304VMRVPX'];_0x5982=function(){return _0x48eca7;};return _0x5982();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x3c5f37{constructor(_0x13d8a2,_0x5a5fce){var _0x31119f=_0x22b8;super(_0x5a5fce),this[_0x31119f(0x155)]({'label':_0x13d8a2,'withText':!0x0,'class':_0x31119f(0x153)}),this['on'](_0x31119f(0x14f),()=>{var _0x1b7969=_0x31119f;this[_0x1b7969(0x156)](_0x1b7969(0x158));});}}
23
+ (function(_0x444de3,_0x1b14f0){var _0x18a627=_0x116f,_0x229b62=_0x444de3();while(!![]){try{var _0xad1f54=parseInt(_0x18a627(0x106))/0x1+parseInt(_0x18a627(0x107))/0x2+parseInt(_0x18a627(0x110))/0x3*(parseInt(_0x18a627(0x10c))/0x4)+-parseInt(_0x18a627(0x102))/0x5*(parseInt(_0x18a627(0x112))/0x6)+parseInt(_0x18a627(0x109))/0x7*(-parseInt(_0x18a627(0x10d))/0x8)+parseInt(_0x18a627(0x105))/0x9*(-parseInt(_0x18a627(0x103))/0xa)+parseInt(_0x18a627(0x108))/0xb*(parseInt(_0x18a627(0x10f))/0xc);if(_0xad1f54===_0x1b14f0)break;else _0x229b62['push'](_0x229b62['shift']());}catch(_0x45a898){_0x229b62['push'](_0x229b62['shift']());}}}(_0x2c06,0xaff27));import{ButtonView as _0x2fb0d5}from'ckeditor5/src/ui.js';function _0x2c06(){var _0x55f46e=['ck-ai-button-primary','4958348LsSVTS','4918840SuDKxC','fire','10193268saYmpS','3YJTTPa','set','852504WbHaBi','10REDKqW','296730esTvvo','finishReview','414sGIonw','291370bVRuHX','2438238cQBbTa','11hJTLZu','14bqRTXP','execute'];_0x2c06=function(){return _0x55f46e;};return _0x2c06();}function _0x116f(_0x12d5d7,_0x157a8a){var _0x2c063b=_0x2c06();return _0x116f=function(_0x116f5a,_0x95e2b5){_0x116f5a=_0x116f5a-0x102;var _0x12d403=_0x2c063b[_0x116f5a];return _0x12d403;},_0x116f(_0x12d5d7,_0x157a8a);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x2fb0d5{constructor(_0x5c11e3,_0xff5c73){var _0x50bfc5=_0x116f;super(_0xff5c73),this[_0x50bfc5(0x111)]({'label':_0x5c11e3,'withText':!0x0,'class':_0x50bfc5(0x10b)}),this['on'](_0x50bfc5(0x10a),()=>{var _0x1368dd=_0x50bfc5;this[_0x1368dd(0x10e)](_0x1368dd(0x104));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x279e8e,_0x2cf356){const _0x40d7ff=_0x3e96,_0x33f605=_0x279e8e();while(!![]){try{const _0x4f6a1b=-parseInt(_0x40d7ff(0x1b9))/0x1+parseInt(_0x40d7ff(0x1ac))/0x2*(-parseInt(_0x40d7ff(0x1ad))/0x3)+-parseInt(_0x40d7ff(0x1be))/0x4+-parseInt(_0x40d7ff(0x1b2))/0x5*(parseInt(_0x40d7ff(0x1b1))/0x6)+parseInt(_0x40d7ff(0x1ba))/0x7*(-parseInt(_0x40d7ff(0x1b5))/0x8)+parseInt(_0x40d7ff(0x1af))/0x9+parseInt(_0x40d7ff(0x1ae))/0xa*(parseInt(_0x40d7ff(0x1b3))/0xb);if(_0x4f6a1b===_0x2cf356)break;else _0x33f605['push'](_0x33f605['shift']());}catch(_0x400cfa){_0x33f605['push'](_0x33f605['shift']());}}}(_0x1855,0x3e3ef));import{View as _0x155f44}from'ckeditor5/src/ui.js';export class AIReviewCoreGeneralErrorView extends _0x155f44{constructor(_0x3dbb4c){const _0x4c025d=_0x3e96;super(_0x3dbb4c),this[_0x4c025d(0x1b8)](_0x4c025d(0x1b6),!0x1),this[_0x4c025d(0x1b8)](_0x4c025d(0x1ab),'');const _0x19969a=this[_0x4c025d(0x1bd)];this[_0x4c025d(0x1b0)]({'tag':_0x4c025d(0x1bb),'attributes':{'class':['ck',_0x4c025d(0x1b7),_0x19969a['if'](_0x4c025d(0x1b6),_0x4c025d(0x1b4),_0x540c28=>!_0x540c28)]},'children':[{'tag':'p','attributes':{'class':_0x4c025d(0x1bc)},'children':[{'text':_0x19969a['to'](_0x4c025d(0x1ab))}]}]});}}function _0x3e96(_0x75e793,_0x50ce92){const _0x185579=_0x1855();return _0x3e96=function(_0x3e96d7,_0x2e7f3c){_0x3e96d7=_0x3e96d7-0x1ab;let _0x490200=_0x185579[_0x3e96d7];return _0x490200;},_0x3e96(_0x75e793,_0x50ce92);}function _0x1855(){const _0xf35e81=['141680irbekF','1974tJRWRA','div','ck\x20ck-ai-notification\x20ck-ai-notification_error','bindTemplate','1844172DraOBm','errorMessage','117546emnpZv','9LeiPml','1970VQDDMp','2229642smuoph','setTemplate','109266kyuloi','110KFShZH','88539Rffyet','ck-hidden','11312cEDwcU','isVisible','ck-ai_review__general-error-container','set'];_0x1855=function(){return _0xf35e81;};return _0x1855();}
23
+ (function(_0xd673a,_0x4b4415){const _0x316927=_0x1c8a,_0x3a444d=_0xd673a();while(!![]){try{const _0x5987b6=-parseInt(_0x316927(0x1e6))/0x1+-parseInt(_0x316927(0x1db))/0x2+-parseInt(_0x316927(0x1d3))/0x3*(-parseInt(_0x316927(0x1d5))/0x4)+parseInt(_0x316927(0x1d9))/0x5*(parseInt(_0x316927(0x1e3))/0x6)+parseInt(_0x316927(0x1d6))/0x7*(parseInt(_0x316927(0x1e1))/0x8)+-parseInt(_0x316927(0x1e4))/0x9+-parseInt(_0x316927(0x1d7))/0xa*(-parseInt(_0x316927(0x1e2))/0xb);if(_0x5987b6===_0x4b4415)break;else _0x3a444d['push'](_0x3a444d['shift']());}catch(_0x112b16){_0x3a444d['push'](_0x3a444d['shift']());}}}(_0x21a5,0x1bc6d));import{View as _0x4324b2}from'ckeditor5/src/ui.js';function _0x1c8a(_0x302831,_0x1728d6){const _0x21a582=_0x21a5();return _0x1c8a=function(_0x1c8a21,_0x3d8d9b){_0x1c8a21=_0x1c8a21-0x1d3;let _0x3abcd2=_0x21a582[_0x1c8a21];return _0x3abcd2;},_0x1c8a(_0x302831,_0x1728d6);}export class AIReviewCoreGeneralErrorView extends _0x4324b2{constructor(_0x404111){const _0x216f3d=_0x1c8a;super(_0x404111),this[_0x216f3d(0x1e0)](_0x216f3d(0x1d4),!0x1),this[_0x216f3d(0x1e0)](_0x216f3d(0x1e5),'');const _0x481060=this[_0x216f3d(0x1dc)];this[_0x216f3d(0x1da)]({'tag':_0x216f3d(0x1dd),'attributes':{'class':['ck',_0x216f3d(0x1de),_0x481060['if'](_0x216f3d(0x1d4),_0x216f3d(0x1d8),_0x15002a=>!_0x15002a)]},'children':[{'tag':'p','attributes':{'class':_0x216f3d(0x1df)},'children':[{'text':_0x481060['to'](_0x216f3d(0x1e5))}]}]});}}function _0x21a5(){const _0x670662=['set','47352AgXpXc','616etsTyc','15270hWKWYL','1657386rLMHCE','errorMessage','52595xzRFsu','340923ozKgeD','isVisible','4JcHZKg','28ULRcyY','20070xauBhA','ck-hidden','445ldYDvB','setTemplate','251384pwBnkl','bindTemplate','div','ck-ai_review__general-error-container','ck\x20ck-ai-notification\x20ck-ai-notification_error'];_0x21a5=function(){return _0x670662;};return _0x21a5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e42(_0x2ce168,_0x376d21){var _0x4974a2=_0x4974();return _0x2e42=function(_0x2e42ba,_0x1100ed){_0x2e42ba=_0x2e42ba-0xee;var _0x599f24=_0x4974a2[_0x2e42ba];return _0x599f24;},_0x2e42(_0x2ce168,_0x376d21);}var _0x30a6af=_0x2e42;(function(_0x2288ac,_0x1413ac){var _0x154ce1=_0x2e42,_0x1191cd=_0x2288ac();while(!![]){try{var _0x420237=-parseInt(_0x154ce1(0x104))/0x1+-parseInt(_0x154ce1(0xf4))/0x2*(parseInt(_0x154ce1(0x105))/0x3)+parseInt(_0x154ce1(0xfc))/0x4+parseInt(_0x154ce1(0x100))/0x5*(parseInt(_0x154ce1(0xfd))/0x6)+-parseInt(_0x154ce1(0xf5))/0x7+-parseInt(_0x154ce1(0x101))/0x8*(-parseInt(_0x154ce1(0xee))/0x9)+-parseInt(_0x154ce1(0xf0))/0xa;if(_0x420237===_0x1413ac)break;else _0x1191cd['push'](_0x1191cd['shift']());}catch(_0x4c6b1e){_0x1191cd['push'](_0x1191cd['shift']());}}}(_0x4974,0xd75b1));import{TextareaView as _0x438e4d}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5a0d1f}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x438e4d{[_0x30a6af(0x106)];static [_0x30a6af(0xf9)]=0x1;static [_0x30a6af(0xf6)]=0xc;constructor(_0x43c1cb){var _0x116a36=_0x30a6af;super(_0x43c1cb),this[_0x116a36(0xf2)](_0x116a36(0xff),!0x0),this[_0x116a36(0x106)]=new _0x5a0d1f(),this[_0x116a36(0xef)]=AIReviewCorePromptInputView[_0x116a36(0xf9)],this[_0x116a36(0x103)]=AIReviewCorePromptInputView[_0x116a36(0xf6)],this[_0x116a36(0xf1)]({'attributes':{'id':_0x116a36(0xfa),'class':['ck',_0x116a36(0x102)]}});}[_0x30a6af(0xf7)](){var _0xe7a251=_0x30a6af;super[_0xe7a251(0xf7)](),this['on'](_0xe7a251(0xfe),()=>{var _0x31b1b4=_0xe7a251;this[_0x31b1b4(0xff)]=''===this[_0x31b1b4(0xfb)][_0x31b1b4(0xf3)]?.[_0x31b1b4(0x107)]();}),this[_0xe7a251(0x106)][_0xe7a251(0xf8)](this[_0xe7a251(0xfb)]);}}function _0x4974(){var _0x59a3f4=['element','5761484luiAUm','4452132miSyQG','update','isEmpty','10lQCokO','112PqARWw','ck-review__prompt-input','maxRows','1004383MeNoiX','2685297Btximx','keystrokes','trim','990072YFEqlf','minRows','8102080eMJrJG','extendTemplate','set','value','2tUPSgq','6109180KypSjg','MAX_ROWS','render','listenTo','MIN_ROWS','ai-review-prompt-input'];_0x4974=function(){return _0x59a3f4;};return _0x4974();}
23
+ var _0x1d027b=_0x45f8;function _0x51cb(){var _0x162eef=['element','value','isEmpty','1800778LaBUDy','ck-review__prompt-input','minRows','render','536pTtaiC','update','MIN_ROWS','451956tyoTwy','3058VLILes','extendTemplate','65628kaGbbP','trim','1883436lJgOEr','1429653mrqmtk','keystrokes','MAX_ROWS','ai-review-prompt-input','16GBKnyA','set','2304018yxKbvA','maxRows','63110DHGgmr','listenTo','15EZNgFk'];_0x51cb=function(){return _0x162eef;};return _0x51cb();}(function(_0x4dcd2d,_0x4a1d23){var _0x55827e=_0x45f8,_0x283ec4=_0x4dcd2d();while(!![]){try{var _0x254880=parseInt(_0x55827e(0x1ca))/0x1+-parseInt(_0x55827e(0x1c9))/0x2+parseInt(_0x55827e(0x1df))/0x3*(parseInt(_0x55827e(0x1ce))/0x4)+parseInt(_0x55827e(0x1d4))/0x5*(parseInt(_0x55827e(0x1d0))/0x6)+-parseInt(_0x55827e(0x1d8))/0x7+parseInt(_0x55827e(0x1dc))/0x8*(parseInt(_0x55827e(0x1e2))/0x9)+parseInt(_0x55827e(0x1d2))/0xa*(-parseInt(_0x55827e(0x1e0))/0xb);if(_0x254880===_0x4a1d23)break;else _0x283ec4['push'](_0x283ec4['shift']());}catch(_0x23ca11){_0x283ec4['push'](_0x283ec4['shift']());}}}(_0x51cb,0xafa2c));function _0x45f8(_0x5e7101,_0x1294af){var _0x51cb5a=_0x51cb();return _0x45f8=function(_0x45f8fb,_0x17a833){_0x45f8fb=_0x45f8fb-0x1c8;var _0x44a424=_0x51cb5a[_0x45f8fb];return _0x44a424;},_0x45f8(_0x5e7101,_0x1294af);}import{TextareaView as _0x18c0fe}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x505a64}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x18c0fe{[_0x1d027b(0x1cb)];static [_0x1d027b(0x1de)]=0x1;static [_0x1d027b(0x1cc)]=0xc;constructor(_0x37ef06){var _0x3861c3=_0x1d027b;super(_0x37ef06),this[_0x3861c3(0x1cf)](_0x3861c3(0x1d7),!0x0),this[_0x3861c3(0x1cb)]=new _0x505a64(),this[_0x3861c3(0x1da)]=AIReviewCorePromptInputView[_0x3861c3(0x1de)],this[_0x3861c3(0x1d1)]=AIReviewCorePromptInputView[_0x3861c3(0x1cc)],this[_0x3861c3(0x1e1)]({'attributes':{'id':_0x3861c3(0x1cd),'class':['ck',_0x3861c3(0x1d9)]}});}[_0x1d027b(0x1db)](){var _0x3b802f=_0x1d027b;super[_0x3b802f(0x1db)](),this['on'](_0x3b802f(0x1dd),()=>{var _0x19401b=_0x3b802f;this[_0x19401b(0x1d7)]=''===this[_0x19401b(0x1d5)][_0x19401b(0x1d6)]?.[_0x19401b(0x1c8)]();}),this[_0x3b802f(0x1cb)][_0x3b802f(0x1d3)](this[_0x3b802f(0x1d5)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x28a3(){const _0x57124c=['delegate','bindTemplate','runReviewCheck','ck-ai_review__check-list','953370chXWMc','resetAllParameterizedChecks','setChecks','entries','557988YJhldB','139517tZygsK','clear','locale','46106UYdhYf','hasChecks','174334zAlFZQ','_checkViews','length','_setupTemplate','add','72uLelfm','490002Kgasie','resetToDefault','ck-hidden','setTemplate','104550qJgNdR','isVisible','div'];_0x28a3=function(){return _0x57124c;};return _0x28a3();}const _0x45ada0=_0x3421;(function(_0x279232,_0x5c29a9){const _0x496c33=_0x3421,_0x5401e7=_0x279232();while(!![]){try{const _0x16069a=parseInt(_0x496c33(0xba))/0x1+-parseInt(_0x496c33(0xb8))/0x2+parseInt(_0x496c33(0xa9))/0x3+-parseInt(_0x496c33(0xb4))/0x4+-parseInt(_0x496c33(0xb0))/0x5+parseInt(_0x496c33(0xa5))/0x6+parseInt(_0x496c33(0xb5))/0x7*(parseInt(_0x496c33(0xa4))/0x8);if(_0x16069a===_0x5c29a9)break;else _0x5401e7['push'](_0x5401e7['shift']());}catch(_0x3fde19){_0x5401e7['push'](_0x5401e7['shift']());}}}(_0x28a3,0x1c90e));function _0x3421(_0x29dc6b,_0x53c30c){const _0x28a32e=_0x28a3();return _0x3421=function(_0x34218d,_0x3c0ce2){_0x34218d=_0x34218d-0xa2;let _0x149b08=_0x28a32e[_0x34218d];return _0x149b08;},_0x3421(_0x29dc6b,_0x53c30c);}import{ListItemView as _0x1108c4,ViewCollection as _0x547ea7}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x7c99be}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x1108c4{[_0x45ada0(0xbb)];constructor(_0x137e45){const _0x1030ca=_0x45ada0;super(_0x137e45),this[_0x1030ca(0xbb)]=new _0x547ea7(),this[_0x1030ca(0xa2)]();}[_0x45ada0(0xb2)](_0x3460ff,_0xa876e6=!0x1){const _0x3f1364=_0x45ada0;this[_0x3f1364(0xbb)][_0x3f1364(0xb6)]();for(const [_0x54fa6f,_0x5d373c]of _0x3460ff[_0x3f1364(0xb3)]()){const _0x111977=new _0x7c99be(this[_0x3f1364(0xb7)],_0x5d373c,_0x54fa6f,_0xa876e6);_0x111977[_0x3f1364(0xac)](_0x3f1364(0xae))['to'](this),this[_0x3f1364(0xbb)][_0x3f1364(0xa3)](_0x111977);}}[_0x45ada0(0xb9)](){const _0x500819=_0x45ada0;return this[_0x500819(0xbb)][_0x500819(0xbc)]>0x0;}[_0x45ada0(0xb1)](){const _0x5e75fe=_0x45ada0;for(const _0x46285b of this[_0x5e75fe(0xbb)])_0x46285b instanceof _0x7c99be&&_0x46285b[_0x5e75fe(0xa6)]();}[_0x45ada0(0xa2)](){const _0x25fd23=_0x45ada0,_0x2b8502=this[_0x25fd23(0xad)];this[_0x25fd23(0xa8)]({'tag':_0x25fd23(0xab),'attributes':{'class':[_0x25fd23(0xaf),_0x2b8502['if'](_0x25fd23(0xaa),_0x25fd23(0xa7),_0x2673d8=>!_0x2673d8)]},'children':this[_0x25fd23(0xbb)]});}}
23
+ const _0xde9756=_0x4414;function _0x4414(_0x356321,_0x12884b){const _0x3e3c1c=_0x3e3c();return _0x4414=function(_0x4414dc,_0x58816d){_0x4414dc=_0x4414dc-0x174;let _0x259a1f=_0x3e3c1c[_0x4414dc];return _0x259a1f;},_0x4414(_0x356321,_0x12884b);}(function(_0x1079aa,_0x3c62d4){const _0x4b76a1=_0x4414,_0x49dfd9=_0x1079aa();while(!![]){try{const _0x415371=parseInt(_0x4b76a1(0x17f))/0x1+parseInt(_0x4b76a1(0x185))/0x2+parseInt(_0x4b76a1(0x181))/0x3+parseInt(_0x4b76a1(0x176))/0x4*(parseInt(_0x4b76a1(0x17e))/0x5)+parseInt(_0x4b76a1(0x17a))/0x6*(-parseInt(_0x4b76a1(0x175))/0x7)+parseInt(_0x4b76a1(0x184))/0x8+-parseInt(_0x4b76a1(0x182))/0x9*(parseInt(_0x4b76a1(0x186))/0xa);if(_0x415371===_0x3c62d4)break;else _0x49dfd9['push'](_0x49dfd9['shift']());}catch(_0xe10b3b){_0x49dfd9['push'](_0x49dfd9['shift']());}}}(_0x3e3c,0x38040));import{ListItemView as _0x3b483f,ViewCollection as _0x2b1fe2}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0xa219a3}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x3b483f{[_0xde9756(0x178)];constructor(_0x236475){const _0xc732de=_0xde9756;super(_0x236475),this[_0xc732de(0x178)]=new _0x2b1fe2(),this[_0xc732de(0x190)]();}[_0xde9756(0x17b)](_0x585af7,_0x4146dd=!0x1){const _0x599fb2=_0xde9756;this[_0x599fb2(0x178)][_0x599fb2(0x179)]();for(const [_0x105357,_0x1c9e27]of _0x585af7[_0x599fb2(0x18f)]()){const _0x12da64=new _0xa219a3(this[_0x599fb2(0x187)],_0x1c9e27,_0x105357,_0x4146dd);_0x12da64[_0x599fb2(0x18a)](_0x599fb2(0x17c))['to'](this),this[_0x599fb2(0x178)][_0x599fb2(0x17d)](_0x12da64);}}[_0xde9756(0x18b)](){const _0x5e262d=_0xde9756;return this[_0x5e262d(0x178)][_0x5e262d(0x189)]>0x0;}[_0xde9756(0x177)](){const _0x434cef=_0xde9756;for(const _0x34a4ac of this[_0x434cef(0x178)])_0x34a4ac instanceof _0xa219a3&&_0x34a4ac[_0x434cef(0x183)]();}[_0xde9756(0x190)](){const _0x24cd5d=_0xde9756,_0x4f7de6=this[_0x24cd5d(0x18d)];this[_0x24cd5d(0x180)]({'tag':_0x24cd5d(0x188),'attributes':{'class':[_0x24cd5d(0x18c),_0x4f7de6['if'](_0x24cd5d(0x18e),_0x24cd5d(0x174),_0x337561=>!_0x337561)]},'children':this[_0x24cd5d(0x178)]});}}function _0x3e3c(){const _0x35bb39=['28kshhZM','129568hWTMlW','resetAllParameterizedChecks','_checkViews','clear','684wFgLdS','setChecks','runReviewCheck','add','10GCzEZD','141169OkbcWl','setTemplate','52434SKamOq','18pUuuNF','resetToDefault','1152968sRHJbl','2580vOuEwf','694730IFfvkU','locale','div','length','delegate','hasChecks','ck-ai_review__check-list','bindTemplate','isVisible','entries','_setupTemplate','ck-hidden'];_0x3e3c=function(){return _0x35bb39;};return _0x3e3c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x30232b,IconView as _0x75d1c9,View as _0x1e046f,ViewCollection as _0x27c05d,ButtonView as _0x2dac63,clickOutsideHandler as _0xa1fba2}from'ckeditor5/src/ui.js';import{IconChevronRight as _0xfd71e6}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x1ab802}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x30232b{['_formItemsCollection']=new _0x27c05d();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x461ccb,_0x2a7737,_0x3e5423,_0x3ffc80=!0x1){super(_0x461ccb),this['_hideModels']=_0x3ffc80,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x2a7737['isParameterized']);const _0x34d0a2=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x5b0263=>_0x5b0263),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x1e02bd=>_0x1e02bd)],'style':{'--ck-ai-review-check-list-item-index':_0x3e5423}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x2a7737['title']}]},_0x34d0a2]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x2a7737['description']?[{'text':_0x2a7737['description']}]:[]}]}]},..._0x2a7737['isParameterized']?[this['_createParameterizedView'](_0x2a7737)]:[],...'custom'===_0x2a7737['id']?[this['_createCustomView'](_0x2a7737,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x2a7737['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x2a7737['id'],'args':_0x2a7737['useArgs']?_0x2a7737['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0xa1fba2({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0xd23d7=>{_0xd23d7['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x44e1bd=new _0x75d1c9();return _0x44e1bd['content']=_0xfd71e6,_0x44e1bd['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x44e1bd;}['_createParameterizedView'](_0x1384e1){const _0x394d00=new _0x1e046f(),_0xb1ed57=this['_createFormView'](_0x1384e1);return _0x394d00['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x258e15=>!_0x258e15)]},'children':[_0xb1ed57]}),_0x394d00;}['_createFormView'](_0x20d2df){const _0x3fb02d=new _0x1e046f(),_0x15804d=Array['isArray'](_0x20d2df['options'])?_0x20d2df['options']:[],_0x5c63eb=new _0x2dac63(this['locale']),t=this['locale']['t'];_0x5c63eb['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5c63eb['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x7e1e64=>{_0x7e1e64['stopPropagation']();})}}),_0x5c63eb['on']('execute',()=>{const _0x3ef034=[],_0x252e61={};this['_formItemsCollection']['forEach'](_0x37897f=>{_0x3ef034['push'](_0x37897f['value']),_0x20d2df['useArgs']&&_0x20d2df['options']&&(_0x252e61[_0x37897f['argsKey']]=_0x37897f['value']);}),this['fire']('runReviewCheck',{'id':_0x20d2df['id'],'params':_0x3ef034['length']?_0x3ef034:void 0x0,'args':Object['keys'](_0x252e61)['length']?_0x252e61:void 0x0});});const _0x499e35=_0x15804d['length'];return _0x15804d['forEach']((_0x302aa0,_0x465917)=>{const _0x2447e2=_0x465917===_0x499e35-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x302aa0,_0x2447e2?_0x5c63eb:null));}),_0x3fb02d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x3fb02d;}['_createCustomView'](_0x3497cd,_0x4b7ca3=!0x1){return this['_customCheckView']=new _0x1ab802(this['locale'],_0x3497cd,_0x4b7ca3),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x32fba0=>!_0x32fba0)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x167d3a,_0x3b748d,_0x45e117)=>{_0x45e117||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0x577ba1,IconView as _0x12fca0,View as _0x534b86,ViewCollection as _0x11af67,ButtonView as _0x3e6a0c,clickOutsideHandler as _0x44ec9e}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x5cf092}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x485f83}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x577ba1{['_formItemsCollection']=new _0x11af67();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x10e69e,_0x4850c2,_0x11c4cc,_0x18580f=!0x1){super(_0x10e69e),this['_hideModels']=_0x18580f,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x4850c2['isParameterized']);const _0x33edf3=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x3d178b=>_0x3d178b),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x4b2079=>_0x4b2079)],'style':{'--ck-ai-review-check-list-item-index':_0x11c4cc}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x4850c2['title']}]},_0x33edf3]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x4850c2['description']?[{'text':_0x4850c2['description']}]:[]}]}]},..._0x4850c2['isParameterized']?[this['_createParameterizedView'](_0x4850c2)]:[],...'custom'===_0x4850c2['id']?[this['_createCustomView'](_0x4850c2,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x4850c2['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x4850c2['id'],'args':_0x4850c2['useArgs']?_0x4850c2['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x44ec9e({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x5242e0=>{_0x5242e0['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x30953a=new _0x12fca0();return _0x30953a['content']=_0x5cf092,_0x30953a['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x30953a;}['_createParameterizedView'](_0x212b16){const _0x50d75c=new _0x534b86(),_0x28248d=this['_createFormView'](_0x212b16);return _0x50d75c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2a526f=>!_0x2a526f)]},'children':[_0x28248d]}),_0x50d75c;}['_createFormView'](_0x9b0b94){const _0x33d3d8=new _0x534b86(),_0x4eaaf6=Array['isArray'](_0x9b0b94['options'])?_0x9b0b94['options']:[],_0x945f29=new _0x3e6a0c(this['locale']),t=this['locale']['t'];_0x945f29['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x945f29['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1b2a26=>{_0x1b2a26['stopPropagation']();})}}),_0x945f29['on']('execute',()=>{const _0x1affdc=[],_0x2d78ea={};this['_formItemsCollection']['forEach'](_0x11d19d=>{_0x1affdc['push'](_0x11d19d['value']),_0x9b0b94['useArgs']&&_0x9b0b94['options']&&(_0x2d78ea[_0x11d19d['argsKey']]=_0x11d19d['value']);}),this['fire']('runReviewCheck',{'id':_0x9b0b94['id'],'params':_0x1affdc['length']?_0x1affdc:void 0x0,'args':Object['keys'](_0x2d78ea)['length']?_0x2d78ea:void 0x0});});const _0x301646=_0x4eaaf6['length'];return _0x4eaaf6['forEach']((_0x1f9caa,_0x3ce5c8)=>{const _0x1f6260=_0x3ce5c8===_0x301646-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x1f9caa,_0x1f6260?_0x945f29:null));}),_0x33d3d8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x33d3d8;}['_createCustomView'](_0x445278,_0x2b9ab7=!0x1){return this['_customCheckView']=new _0x485f83(this['locale'],_0x445278,_0x2b9ab7),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0xd3b83e=>!_0xd3b83e)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x2c76b7,_0x28ca6a,_0x5302b5)=>{_0x5302b5||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4acaa5=_0x5ec0;(function(_0x5b7c54,_0x8e766d){const _0x2e0a42=_0x5ec0,_0x166df2=_0x5b7c54();while(!![]){try{const _0x6cf203=-parseInt(_0x2e0a42(0xc6))/0x1+parseInt(_0x2e0a42(0xbd))/0x2*(-parseInt(_0x2e0a42(0xbb))/0x3)+parseInt(_0x2e0a42(0xc0))/0x4+parseInt(_0x2e0a42(0xb4))/0x5+-parseInt(_0x2e0a42(0xb9))/0x6+-parseInt(_0x2e0a42(0xce))/0x7*(-parseInt(_0x2e0a42(0xcb))/0x8)+-parseInt(_0x2e0a42(0xb6))/0x9*(parseInt(_0x2e0a42(0xd1))/0xa);if(_0x6cf203===_0x8e766d)break;else _0x166df2['push'](_0x166df2['shift']());}catch(_0x1653a3){_0x166df2['push'](_0x166df2['shift']());}}}(_0x5b36,0x620bb));import{ListItemView as _0x141ef3,View as _0x1954a8}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x12a57c}from'./aireviewcorefinishreviewbuttonview.js';function _0x5b36(){const _0x3a637f=['locale','363083ZvuCQR','bindTemplate','_resultsHeader','312440MDXvry','isVisible','buttonText','ck-ai_review__review-completed-header','2235415VAydyk','ck-ai_review__review-completed-content-icon','99sIopff','ck-ai_review__review-completed','ck-ai_review__review-completed-header-title','2065140QPHZrb','span','6YAgHgI','headerText','160238ZEywQe','ck-hidden','div','2611900aPwUqT','_createFinishReviewButtonView','ck-ai_review__review-completed-content','setTemplate','ck-ai_review__review-completed-content-text','_createResultHeaderView','576517QVxOCO','ck-ai_review__review-completed-header-buttons','emptyResultsText','_finishReviewButtonView','finishReview','112YnvCpd','delegate'];_0x5b36=function(){return _0x3a637f;};return _0x5b36();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x5ec0(_0x3022f9,_0x54bb4a){const _0x5b36ad=_0x5b36();return _0x5ec0=function(_0x5ec0f5,_0x344bd9){_0x5ec0f5=_0x5ec0f5-0xb1;let _0x249013=_0x5b36ad[_0x5ec0f5];return _0x249013;},_0x5ec0(_0x3022f9,_0x54bb4a);}export class AIReviewCoreReviewCompletedView extends _0x141ef3{[_0x4acaa5(0xd0)];[_0x4acaa5(0xc9)];constructor(_0x4440ba,_0x107ed1){const _0x5222bc=_0x4acaa5;super(_0x4440ba),this[_0x5222bc(0xc9)]=this[_0x5222bc(0xc1)](_0x107ed1[_0x5222bc(0xb2)]),this[_0x5222bc(0xd0)]=this[_0x5222bc(0xc5)](_0x107ed1[_0x5222bc(0xbc)]);const _0x443715=this[_0x5222bc(0xcf)];this[_0x5222bc(0xc3)]({'tag':_0x5222bc(0xbf),'attributes':{'class':[_0x5222bc(0xb7),_0x443715['if'](_0x5222bc(0xb1),_0x5222bc(0xbe),_0x2c3d29=>!_0x2c3d29)]},'children':[this[_0x5222bc(0xd0)],{'tag':_0x5222bc(0xbf),'attributes':{'class':[_0x5222bc(0xc2)]},'children':[{'tag':_0x5222bc(0xba),'attributes':{'class':[_0x5222bc(0xb5)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x5222bc(0xc4)]},'children':[{'text':_0x107ed1[_0x5222bc(0xc8)]}]}]}]});}[_0x4acaa5(0xc1)](_0x56e50e){const _0x68627b=_0x4acaa5,_0x1a7e45=new _0x12a57c(_0x56e50e,this[_0x68627b(0xcd)]);return _0x1a7e45[_0x68627b(0xcc)](_0x68627b(0xca))['to'](this),_0x1a7e45;}[_0x4acaa5(0xc5)](_0x5f0128){const _0x306d38=_0x4acaa5,_0x38b1fd=new _0x1954a8(this[_0x306d38(0xcd)]);return _0x38b1fd[_0x306d38(0xc3)]({'tag':_0x306d38(0xbf),'attributes':{'class':[_0x306d38(0xb3)]},'children':[{'tag':_0x306d38(0xba),'attributes':{'class':[_0x306d38(0xb8)]},'children':[{'text':_0x5f0128}]},{'tag':_0x306d38(0xbf),'attributes':{'class':[_0x306d38(0xc7)]},'children':[this[_0x306d38(0xc9)]]}]}),_0x38b1fd;}}
23
+ const _0x2b1696=_0x1ea2;(function(_0x483219,_0x4bbdc6){const _0x2f5420=_0x1ea2,_0x173645=_0x483219();while(!![]){try{const _0x1551ee=-parseInt(_0x2f5420(0x71))/0x1+-parseInt(_0x2f5420(0x73))/0x2+-parseInt(_0x2f5420(0x76))/0x3+parseInt(_0x2f5420(0x88))/0x4+parseInt(_0x2f5420(0x7c))/0x5*(-parseInt(_0x2f5420(0x86))/0x6)+parseInt(_0x2f5420(0x85))/0x7+-parseInt(_0x2f5420(0x7f))/0x8*(-parseInt(_0x2f5420(0x70))/0x9);if(_0x1551ee===_0x4bbdc6)break;else _0x173645['push'](_0x173645['shift']());}catch(_0x1ac8f9){_0x173645['push'](_0x173645['shift']());}}}(_0x432f,0x71a35));function _0x1ea2(_0x567196,_0x41132e){const _0x432f44=_0x432f();return _0x1ea2=function(_0x1ea207,_0x53540d){_0x1ea207=_0x1ea207-0x69;let _0x2321dc=_0x432f44[_0x1ea207];return _0x2321dc;},_0x1ea2(_0x567196,_0x41132e);}function _0x432f(){const _0x266155=['ck-ai_review__review-completed-header','setTemplate','buttonText','6936993BnZxhZ','580114POWvXp','ck-ai_review__review-completed-content','519526NiaTuM','emptyResultsText','ck-ai_review__review-completed-content-text','2319822SMEyzj','_resultsHeader','locale','isVisible','_finishReviewButtonView','delegate','11215aIdmXZ','ck-hidden','_createFinishReviewButtonView','16UImisQ','div','bindTemplate','ck-ai_review__review-completed-header-buttons','_createResultHeaderView','span','3324370FcvBSt','876YbJsIp','ck-ai_review__review-completed','1558504szHleY','ck-ai_review__review-completed-header-title','ck-ai_review__review-completed-content-icon','headerText','finishReview'];_0x432f=function(){return _0x266155;};return _0x432f();}import{ListItemView as _0x48e467,View as _0x480986}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x4769ed}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x48e467{[_0x2b1696(0x77)];[_0x2b1696(0x7a)];constructor(_0x3a6f37,_0x19cdb4){const _0x1c49fc=_0x2b1696;super(_0x3a6f37),this[_0x1c49fc(0x7a)]=this[_0x1c49fc(0x7e)](_0x19cdb4[_0x1c49fc(0x6f)]),this[_0x1c49fc(0x77)]=this[_0x1c49fc(0x83)](_0x19cdb4[_0x1c49fc(0x6b)]);const _0x577a9b=this[_0x1c49fc(0x81)];this[_0x1c49fc(0x6e)]({'tag':_0x1c49fc(0x80),'attributes':{'class':[_0x1c49fc(0x87),_0x577a9b['if'](_0x1c49fc(0x79),_0x1c49fc(0x7d),_0x59a084=>!_0x59a084)]},'children':[this[_0x1c49fc(0x77)],{'tag':_0x1c49fc(0x80),'attributes':{'class':[_0x1c49fc(0x72)]},'children':[{'tag':_0x1c49fc(0x84),'attributes':{'class':[_0x1c49fc(0x6a)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x1c49fc(0x75)]},'children':[{'text':_0x19cdb4[_0x1c49fc(0x74)]}]}]}]});}[_0x2b1696(0x7e)](_0x550992){const _0x2c1419=_0x2b1696,_0x2e163c=new _0x4769ed(_0x550992,this[_0x2c1419(0x78)]);return _0x2e163c[_0x2c1419(0x7b)](_0x2c1419(0x6c))['to'](this),_0x2e163c;}[_0x2b1696(0x83)](_0x5900c2){const _0xb82a13=_0x2b1696,_0x26ffa9=new _0x480986(this[_0xb82a13(0x78)]);return _0x26ffa9[_0xb82a13(0x6e)]({'tag':_0xb82a13(0x80),'attributes':{'class':[_0xb82a13(0x6d)]},'children':[{'tag':_0xb82a13(0x84),'attributes':{'class':[_0xb82a13(0x69)]},'children':[{'text':_0x5900c2}]},{'tag':_0xb82a13(0x80),'attributes':{'class':[_0xb82a13(0x82)]},'children':[this[_0xb82a13(0x7a)]]}]}),_0x26ffa9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x278c9c,View as _0xd27db0,ViewCollection as _0x4e28af,ButtonView as _0x1476bc}from'ckeditor5/src/ui.js';import{IconStop as _0x4344d7,IconEye as _0x2b0021,IconEyeCrossedOut as _0x19c48a}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x10340e,SKELETON_DEFINITIONS as _0x5d9a4a}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x188e12}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x5ef837}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0xefee94}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x365eab}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x1b2692}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x278c9c{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x28442b,_0x2e6cbf){super(_0x28442b),this['_contents']=_0x2e6cbf,this['_resultViews']=new _0x4e28af(),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 _0x188e12(_0x28442b),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 _0x1c44cb=this['_createCombinedSkeletonLoader'](),_0x3b1f88=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x3b1f88['if']('isLoading','ck-ai_review__check-run_loading',_0x2adc76=>_0x2adc76),_0x3b1f88['if']('isResultReady','ck-ai_review__check-run_ready',_0x179ff0=>_0x179ff0),_0x3b1f88['if']('isVisible','ck-hidden',_0x49ba21=>!_0x49ba21)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x246b0a=>_0x246b0a)]},'children':this['_resultViews']},_0x1c44cb]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x23ce30){const _0x15982f=new _0x365eab(this['locale'],_0x23ce30['id']);_0x15982f['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x15982f),_0x15982f['resultResponseView']['element']['innerHTML']=_0x23ce30['contentDiffed'];}['hideResult'](_0x1671b5,_0x1abc87){if('pending'===_0x1abc87)return;const _0x568455=this['_resultViews']['find'](_0x2cc753=>_0x2cc753['id']===_0x1671b5);_0x568455&&(_0x568455['status']=_0x1abc87,_0x568455['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x2e629d,_0x6b3223){if('pending'!==_0x6b3223)return;const _0xb0a049=this['_resultViews']['find'](_0x449e35=>_0x449e35['id']===_0x2e629d);_0xb0a049&&(_0xb0a049['status']=_0x6b3223,_0xb0a049['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x58c70d,_0xb23fd1){this['headerTitle']=_0x58c70d,this['headerSubtitle']=_0xb23fd1||'';}['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 _0x10340e(this['locale'],_0x5d9a4a['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x477110=new _0xd27db0(this['locale']),_0x1b592c=[];for(let _0x1922ca=0x0;_0x1922ca<0x10;_0x1922ca++){const _0x490269=this['_createSkeletonLoader']();_0x490269['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x1b592c['push'](_0x490269);}return _0x477110['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x4e7039=>!_0x4e7039)]},'children':_0x1b592c}),_0x477110;}['_createErrorView'](){const _0x53b5c0=new _0xd27db0(this['locale']),_0x41dfa8=new _0x1476bc(this['locale']),t=this['locale']['t'];return _0x53b5c0['delegate']('retryReview')['to'](this),_0x41dfa8['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x41dfa8['on']('execute',()=>{this['fire']('retryReview');}),_0x53b5c0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5165c3=>!_0x5165c3),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x3a35cb=>'chunk'===_0x3a35cb)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x350f97=>'chunk'===_0x350f97)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x550daa=>'general'!==_0x550daa)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x49541b=>'chunk'!==_0x49541b)]},'children':[{'text':_0x5ef837(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x41dfa8]}),_0x53b5c0;}['_createCancelButtonView'](){const _0x5e29f0=new _0x1476bc(this['locale']);return _0x5e29f0['set']({'label':_0x5ef837(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x4344d7}),_0x5e29f0['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x423aea=>_0x423aea),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1a3420=>_0x1a3420)]}}),_0x5e29f0['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x5e29f0;}['_createToggleDiffButtonView'](){const _0x15b191=new _0x1476bc(this['locale']);_0x15b191['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x15b191['bind']('isEnabled')['to'](this,'isError',_0x53d156=>!_0x53d156),_0x15b191['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x445b23=>!_0x445b23),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x301037=>_0x301037)]}});const _0x40b4cd=_0x5ef837(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3705d6=_0x5ef837(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x15b191['bind']('isOn')['to'](this,'isToggleDiffOn',_0x28c27c=>_0x28c27c),_0x15b191['bind']('icon')['to'](this,'isToggleDiffOn',_0x32fa5e=>_0x32fa5e?_0x2b0021:_0x19c48a),_0x15b191['bind']('label')['to'](this,'isToggleDiffOn',_0x3e9c36=>_0x3e9c36?_0x40b4cd:_0x3705d6),_0x15b191['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x15b191;}['_createAcceptAllButtonView'](){const _0x307252=new _0x1476bc(this['locale']);return _0x307252['set']({'label':_0x5ef837(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x307252['bind']('isEnabled')['to'](this,'isError',_0x5cfa99=>!_0x5cfa99),_0x307252['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x14f1c3=>!_0x14f1c3),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1c23d5=>_0x1c23d5)]}}),_0x307252['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x307252;}['_createExitReviewButtonView'](){const _0x39f845=new _0x1476bc(this['locale']);return _0x39f845['set']({'label':_0x5ef837(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x39f845['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x527fdb=>!_0x527fdb),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2056fc=>_0x2056fc)]}}),_0x39f845['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x39f845;}['_createResultHeaderView'](){const _0x4a559b=new _0xd27db0(this['locale']),_0xed393e=this['_createTitleView']();return _0x4a559b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x282c28=>_0x282c28)]},'children':[_0xed393e,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x4a559b;}['_createTitleView'](){const _0x131c61=new _0xd27db0(this['locale']),_0x33bf20=new _0xefee94();return _0x33bf20['bind']('isVisible')['to'](this,'isResultReady',_0x1cdf39=>!_0x1cdf39),_0x131c61['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x33bf20,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3021a3=>_0x3021a3)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x325641=>!_0x325641)]},'children':[{'text':_0x5ef837(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x131c61;}['_createFinishReviewButtonView'](){const _0x33b707=new _0x1b2692(_0x5ef837(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x33b707['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5049c7=>!_0x5049c7)]}}),_0x33b707['delegate']('finishReview')['to'](this),_0x33b707;}}
23
+ import{ListItemView as _0x11a24f,View as _0x258e6c,ViewCollection as _0x2ba660,ButtonView as _0x542232}from'ckeditor5/src/ui.js';import{IconStop as _0x5cb599,IconEye as _0x4bcc2e,IconEyeCrossedOut as _0x1f302e}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x45c2ca,SKELETON_DEFINITIONS as _0x590dcd}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x285096}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x3696b8}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x4ffa3e}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x310bc2}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x1952ad}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x11a24f{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x43742a,_0x4c35d4){super(_0x43742a),this['_contents']=_0x4c35d4,this['_resultViews']=new _0x2ba660(),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 _0x285096(_0x43742a),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 _0x88b7a6=this['_createCombinedSkeletonLoader'](),_0x25b7f9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x25b7f9['if']('isLoading','ck-ai_review__check-run_loading',_0x5200be=>_0x5200be),_0x25b7f9['if']('isResultReady','ck-ai_review__check-run_ready',_0x4764f8=>_0x4764f8),_0x25b7f9['if']('isVisible','ck-hidden',_0x1dea7e=>!_0x1dea7e)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x40ca66=>_0x40ca66)]},'children':this['_resultViews']},_0x88b7a6]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x7ef9ea){const _0x5bf1a5=new _0x310bc2(this['locale'],_0x7ef9ea['id']);_0x5bf1a5['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x5bf1a5),_0x5bf1a5['resultResponseView']['element']['innerHTML']=_0x7ef9ea['contentDiffed'];}['hideResult'](_0x2a4bf0,_0x55c7cd){if('pending'===_0x55c7cd)return;const _0xf2708d=this['_resultViews']['find'](_0xeca4ed=>_0xeca4ed['id']===_0x2a4bf0);_0xf2708d&&(_0xf2708d['status']=_0x55c7cd,_0xf2708d['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x249574,_0x254c53){if('pending'!==_0x254c53)return;const _0x3a406b=this['_resultViews']['find'](_0x326b68=>_0x326b68['id']===_0x249574);_0x3a406b&&(_0x3a406b['status']=_0x254c53,_0x3a406b['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x498969,_0x54b96c){this['headerTitle']=_0x498969,this['headerSubtitle']=_0x54b96c||'';}['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 _0x45c2ca(this['locale'],_0x590dcd['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0xe07e28=new _0x258e6c(this['locale']),_0x4ce9e7=[];for(let _0x1991e2=0x0;_0x1991e2<0x10;_0x1991e2++){const _0x410750=this['_createSkeletonLoader']();_0x410750['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x4ce9e7['push'](_0x410750);}return _0xe07e28['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x31fb37=>!_0x31fb37)]},'children':_0x4ce9e7}),_0xe07e28;}['_createErrorView'](){const _0x29e41a=new _0x258e6c(this['locale']),_0x3e51d8=new _0x542232(this['locale']),t=this['locale']['t'];return _0x29e41a['delegate']('retryReview')['to'](this),_0x3e51d8['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x3e51d8['on']('execute',()=>{this['fire']('retryReview');}),_0x29e41a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x422aa5=>!_0x422aa5),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2516f1=>'chunk'===_0x2516f1)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x37d000=>'chunk'===_0x37d000)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2335f9=>'general'!==_0x2335f9)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4b3564=>'chunk'!==_0x4b3564)]},'children':[{'text':_0x3696b8(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x3e51d8]}),_0x29e41a;}['_createCancelButtonView'](){const _0xdfac88=new _0x542232(this['locale']);return _0xdfac88['set']({'label':_0x3696b8(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x5cb599}),_0xdfac88['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x486c12=>_0x486c12),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5744a7=>_0x5744a7)]}}),_0xdfac88['on']('execute',()=>{this['fire']('abortReviewStream');}),_0xdfac88;}['_createToggleDiffButtonView'](){const _0x852168=new _0x542232(this['locale']);_0x852168['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x852168['bind']('isEnabled')['to'](this,'isError',_0x230f97=>!_0x230f97),_0x852168['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x339215=>!_0x339215),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x136fbf=>_0x136fbf)]}});const _0x2b91ba=_0x3696b8(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x8567a9=_0x3696b8(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x852168['bind']('isOn')['to'](this,'isToggleDiffOn',_0x58bae7=>_0x58bae7),_0x852168['bind']('icon')['to'](this,'isToggleDiffOn',_0x4e4ace=>_0x4e4ace?_0x4bcc2e:_0x1f302e),_0x852168['bind']('label')['to'](this,'isToggleDiffOn',_0x3aec2a=>_0x3aec2a?_0x2b91ba:_0x8567a9),_0x852168['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x852168;}['_createAcceptAllButtonView'](){const _0x2481e=new _0x542232(this['locale']);return _0x2481e['set']({'label':_0x3696b8(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x2481e['bind']('isEnabled')['to'](this,'isError',_0x500825=>!_0x500825),_0x2481e['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x182463=>!_0x182463),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4f3b1f=>_0x4f3b1f)]}}),_0x2481e['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x2481e;}['_createExitReviewButtonView'](){const _0x30cd9e=new _0x542232(this['locale']);return _0x30cd9e['set']({'label':_0x3696b8(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x30cd9e['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x354eee=>!_0x354eee),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1ede5b=>_0x1ede5b)]}}),_0x30cd9e['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x30cd9e;}['_createResultHeaderView'](){const _0x46b029=new _0x258e6c(this['locale']),_0x52d2d8=this['_createTitleView']();return _0x46b029['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x3e7f5a=>_0x3e7f5a)]},'children':[_0x52d2d8,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x46b029;}['_createTitleView'](){const _0x7cdea2=new _0x258e6c(this['locale']),_0xbb197b=new _0x4ffa3e();return _0xbb197b['bind']('isVisible')['to'](this,'isResultReady',_0xe91948=>!_0xe91948),_0x7cdea2['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0xbb197b,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4fe493=>_0x4fe493)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2b65b5=>!_0x2b65b5)]},'children':[{'text':_0x3696b8(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x7cdea2;}['_createFinishReviewButtonView'](){const _0xa2e67c=new _0x1952ad(_0x3696b8(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0xa2e67c['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x26e42a=>!_0x26e42a)]}}),_0xa2e67c['delegate']('finishReview')['to'](this),_0xa2e67c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3d8f(){var _0x22cd1f=['addCheckRunResult','15zyIQNQ','header','isCompleted','isLoading','generalErrorView','reviewCoreHeader','resetErrorState','10AOPLTv','hideActionsWhenResultIsReady','ck-reset_all','showGeneralResultsErrorView','showGeneralReviewCoreErrorView','4623849rXDSsd','showGeneralErrorMessage','showActionsWhenResultIsReady','5200979BkYFkE','finishReview','reviewCompletedView','5qcxYFr','delegate','showReviewCompletedView','reviewCheckResultsView','39972EdLfFy','errorMessage','completed','addResult','resetAllParameterizedChecks','2249QJAFrW','6247824kqRwjj','ltr','showChunkErrorView','reviewCheckListView','ck-rounded-corners','262772ejdxfs','79187yBPiqv','set','ck-ai-review','7212524deUARD','showNoChangesView','showReviewCheckListView','results','setTemplate','isVisible','isResultReady','list','14mXQjVo','showChunkErrorMessage','16GEDsRN','div','showReviewCheckResultsView','clearResults'];_0x3d8f=function(){return _0x22cd1f;};return _0x3d8f();}var _0x576266=_0x3fc8;(function(_0x589ae0,_0x5a6159){var _0x2b75de=_0x3fc8,_0x37faef=_0x589ae0();while(!![]){try{var _0x59b886=parseInt(_0x2b75de(0xc8))/0x1*(-parseInt(_0x2b75de(0x9f))/0x2)+-parseInt(_0x2b75de(0xa6))/0x3*(-parseInt(_0x2b75de(0xc7))/0x4)+-parseInt(_0x2b75de(0xb8))/0x5*(parseInt(_0x2b75de(0xc2))/0x6)+parseInt(_0x2b75de(0xb5))/0x7+parseInt(_0x2b75de(0xa1))/0x8*(parseInt(_0x2b75de(0xb2))/0x9)+parseInt(_0x2b75de(0xad))/0xa*(parseInt(_0x2b75de(0xcb))/0xb)+-parseInt(_0x2b75de(0xbc))/0xc*(parseInt(_0x2b75de(0xc1))/0xd);if(_0x59b886===_0x5a6159)break;else _0x37faef['push'](_0x37faef['shift']());}catch(_0x19de3e){_0x37faef['push'](_0x37faef['shift']());}}}(_0x3d8f,0x8e488));import{View as _0x384ae7}from'ckeditor5/src/ui.js';function _0x3fc8(_0x5a2b23,_0x365c27){var _0x3d8f59=_0x3d8f();return _0x3fc8=function(_0x3fc8a2,_0x59951e){_0x3fc8a2=_0x3fc8a2-0x9f;var _0x584fd3=_0x3d8f59[_0x3fc8a2];return _0x584fd3;},_0x3fc8(_0x5a2b23,_0x365c27);}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x1ebec2}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x1cc667}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x384ae7{[_0x576266(0xab)];[_0x576266(0xaa)];[_0x576266(0xc5)];[_0x576266(0xbb)];[_0x576266(0xb7)];constructor(_0x2c40d3,_0x43963b){var _0x3c7503=_0x576266;super(_0x2c40d3),this[_0x3c7503(0xab)]=_0x43963b[_0x3c7503(0xa7)],this[_0x3c7503(0xaa)]=new _0x1cc667(_0x2c40d3),this[_0x3c7503(0xc5)]=_0x43963b[_0x3c7503(0xd2)],this[_0x3c7503(0xc5)][_0x3c7503(0xb9)](..._0x1ebec2)['to'](this),this[_0x3c7503(0xbb)]=_0x43963b[_0x3c7503(0xce)],this[_0x3c7503(0xbb)][_0x3c7503(0xb9)](..._0x1ebec2)['to'](this),this[_0x3c7503(0xb7)]=_0x43963b[_0x3c7503(0xbe)],this[_0x3c7503(0xb7)][_0x3c7503(0xb9)](_0x3c7503(0xb6))['to'](this),this[_0x3c7503(0xc5)][_0x3c7503(0xc9)](_0x3c7503(0xd0),!0x1),this[_0x3c7503(0xbb)][_0x3c7503(0xc9)](_0x3c7503(0xd0),!0x1),this[_0x3c7503(0xbb)][_0x3c7503(0xc9)](_0x3c7503(0xa9),!0x1),this[_0x3c7503(0xbb)][_0x3c7503(0xc9)](_0x3c7503(0xd1),!0x1),this[_0x3c7503(0xb7)][_0x3c7503(0xc9)](_0x3c7503(0xd0),!0x1),this[_0x3c7503(0xcf)]({'tag':_0x3c7503(0xa2),'attributes':{'class':['ck',_0x3c7503(0xaf),_0x3c7503(0xca),_0x3c7503(0xc6)],'dir':_0x3c7503(0xc3)},'children':[this[_0x3c7503(0xab)],this[_0x3c7503(0xaa)],this[_0x3c7503(0xc5)],this[_0x3c7503(0xbb)],this[_0x3c7503(0xb7)]]});}[_0x576266(0xcd)](){var _0x245318=_0x576266;this[_0x245318(0xc5)][_0x245318(0xc0)](),this[_0x245318(0xc5)][_0x245318(0xc9)](_0x245318(0xd0),!0x0),this[_0x245318(0xbb)][_0x245318(0xc9)](_0x245318(0xd0),!0x1),this[_0x245318(0xb7)][_0x245318(0xc9)](_0x245318(0xd0),!0x1);}[_0x576266(0xa3)](){var _0x360b78=_0x576266;this[_0x360b78(0xae)](),this[_0x360b78(0xbb)][_0x360b78(0xac)](),this[_0x360b78(0xc5)][_0x360b78(0xc9)](_0x360b78(0xd0),!0x1),this[_0x360b78(0xbb)][_0x360b78(0xc9)](_0x360b78(0xd0),!0x0),this[_0x360b78(0xbb)][_0x360b78(0xa4)](),this[_0x360b78(0xbb)][_0x360b78(0xc9)](_0x360b78(0xa9),!0x0),this[_0x360b78(0xbb)][_0x360b78(0xc9)](_0x360b78(0xa8),!0x1);}[_0x576266(0xa5)](_0x4739de){var _0x4ac6fd=_0x576266;this[_0x4ac6fd(0xbb)][_0x4ac6fd(0xbf)](_0x4739de),this[_0x4ac6fd(0xbb)][_0x4ac6fd(0xc9)](_0x4ac6fd(0xa9),!0x1);}[_0x576266(0xba)](){var _0x100bd2=_0x576266;this[_0x100bd2(0xbb)][_0x100bd2(0xc9)](_0x100bd2(0xd0),!0x0),this[_0x100bd2(0xb7)][_0x100bd2(0xc9)](_0x100bd2(0xd0),!0x1),this[_0x100bd2(0xbb)][_0x100bd2(0xc9)](_0x100bd2(0xa8),!0x0),this[_0x100bd2(0xc5)][_0x100bd2(0xc9)](_0x100bd2(0xd0),!0x1);}[_0x576266(0xb4)](){var _0x3b5289=_0x576266;this[_0x3b5289(0xbb)][_0x3b5289(0xd1)]?(this[_0x3b5289(0xc5)][_0x3b5289(0xc9)](_0x3b5289(0xd0),!0x1),this[_0x3b5289(0xbb)][_0x3b5289(0xc9)](_0x3b5289(0xd0),!0x0),this[_0x3b5289(0xb7)][_0x3b5289(0xc9)](_0x3b5289(0xd0),!0x1)):this[_0x3b5289(0xbb)][_0x3b5289(0xd1)]=!0x0;}[_0x576266(0xcc)](){var _0x1da91e=_0x576266;this[_0x1da91e(0xc5)][_0x1da91e(0xc9)](_0x1da91e(0xd0),!0x1),this[_0x1da91e(0xbb)][_0x1da91e(0xc9)](_0x1da91e(0xd0),!0x1),this[_0x1da91e(0xb7)][_0x1da91e(0xc9)](_0x1da91e(0xd0),!0x0);}[_0x576266(0xae)](){var _0x3171a9=_0x576266;this[_0x3171a9(0xbb)][_0x3171a9(0xd1)]=!0x1;}[_0x576266(0xb1)](_0x3cd51f){var _0x45b909=_0x576266;this[_0x45b909(0xaa)][_0x45b909(0xc9)](_0x45b909(0xd0),!0x0),this[_0x45b909(0xaa)][_0x45b909(0xbd)]=_0x3cd51f;}[_0x576266(0xb0)](){var _0x4e0bcb=_0x576266;this[_0x4e0bcb(0xbb)][_0x4e0bcb(0xc9)](_0x4e0bcb(0xa9),!0x1),this[_0x4e0bcb(0xb4)](),this[_0x4e0bcb(0xbb)][_0x4e0bcb(0xb3)]();}[_0x576266(0xc4)](){var _0x2fb1e5=_0x576266;this[_0x2fb1e5(0xbb)][_0x2fb1e5(0xc9)](_0x2fb1e5(0xa9),!0x1),this[_0x2fb1e5(0xb4)](),this[_0x2fb1e5(0xbb)][_0x2fb1e5(0xa0)]();}}
23
+ var _0x350426=_0x3c8d;(function(_0xc96618,_0x2fb035){var _0x2c1ba2=_0x3c8d,_0x23e07d=_0xc96618();while(!![]){try{var _0x37556b=parseInt(_0x2c1ba2(0x14e))/0x1+parseInt(_0x2c1ba2(0x147))/0x2+-parseInt(_0x2c1ba2(0x155))/0x3+parseInt(_0x2c1ba2(0x138))/0x4*(-parseInt(_0x2c1ba2(0x164))/0x5)+parseInt(_0x2c1ba2(0x152))/0x6*(parseInt(_0x2c1ba2(0x149))/0x7)+parseInt(_0x2c1ba2(0x15a))/0x8*(-parseInt(_0x2c1ba2(0x156))/0x9)+parseInt(_0x2c1ba2(0x15e))/0xa;if(_0x37556b===_0x2fb035)break;else _0x23e07d['push'](_0x23e07d['shift']());}catch(_0x596f53){_0x23e07d['push'](_0x23e07d['shift']());}}}(_0xc71b,0x662a3));function _0x3c8d(_0x44d6b5,_0x5d65b9){var _0xc71bf5=_0xc71b();return _0x3c8d=function(_0x3c8d00,_0x2d7b76){_0x3c8d00=_0x3c8d00-0x137;var _0x1d1b34=_0xc71bf5[_0x3c8d00];return _0x1d1b34;},_0x3c8d(_0x44d6b5,_0x5d65b9);}import{View as _0x2dd7b9}from'ckeditor5/src/ui.js';function _0xc71b(){var _0x484f0d=['clearResults','24688Iseidn','reviewCheckListView','showNoChangesView','delegate','429690TKwMHp','isLoading','ck-rounded-corners','769941ZzoQYU','306vAfLbl','generalErrorView','ck-reset_all','hideActionsWhenResultIsReady','167208eoswQt','resetAllParameterizedChecks','ck-ai-review','showChunkErrorMessage','3225940dpsSvp','showActionsWhenResultIsReady','completed','setTemplate','reviewCheckResultsView','showReviewCompletedView','105ovAFAk','showGeneralErrorMessage','header','set','ltr','74644uXvTAK','showGeneralResultsErrorView','list','reviewCompletedView','finishReview','showReviewCheckResultsView','isCompleted','isResultReady','div','results','reviewCoreHeader','showGeneralReviewCoreErrorView','resetErrorState','addResult','errorMessage','1571624BSAMMU','showChunkErrorView','63KWHsOY','showReviewCheckListView','addCheckRunResult','isVisible'];_0xc71b=function(){return _0x484f0d;};return _0xc71b();}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x550a1e}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x261afa}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x2dd7b9{[_0x350426(0x142)];[_0x350426(0x157)];[_0x350426(0x14f)];[_0x350426(0x162)];[_0x350426(0x13b)];constructor(_0xe01793,_0x394461){var _0x487ed4=_0x350426;super(_0xe01793),this[_0x487ed4(0x142)]=_0x394461[_0x487ed4(0x166)],this[_0x487ed4(0x157)]=new _0x261afa(_0xe01793),this[_0x487ed4(0x14f)]=_0x394461[_0x487ed4(0x13a)],this[_0x487ed4(0x14f)][_0x487ed4(0x151)](..._0x550a1e)['to'](this),this[_0x487ed4(0x162)]=_0x394461[_0x487ed4(0x141)],this[_0x487ed4(0x162)][_0x487ed4(0x151)](..._0x550a1e)['to'](this),this[_0x487ed4(0x13b)]=_0x394461[_0x487ed4(0x160)],this[_0x487ed4(0x13b)][_0x487ed4(0x151)](_0x487ed4(0x13c))['to'](this),this[_0x487ed4(0x14f)][_0x487ed4(0x167)](_0x487ed4(0x14c),!0x1),this[_0x487ed4(0x162)][_0x487ed4(0x167)](_0x487ed4(0x14c),!0x1),this[_0x487ed4(0x162)][_0x487ed4(0x167)](_0x487ed4(0x153),!0x1),this[_0x487ed4(0x162)][_0x487ed4(0x167)](_0x487ed4(0x13f),!0x1),this[_0x487ed4(0x13b)][_0x487ed4(0x167)](_0x487ed4(0x14c),!0x1),this[_0x487ed4(0x161)]({'tag':_0x487ed4(0x140),'attributes':{'class':['ck',_0x487ed4(0x158),_0x487ed4(0x15c),_0x487ed4(0x154)],'dir':_0x487ed4(0x137)},'children':[this[_0x487ed4(0x142)],this[_0x487ed4(0x157)],this[_0x487ed4(0x14f)],this[_0x487ed4(0x162)],this[_0x487ed4(0x13b)]]});}[_0x350426(0x14a)](){var _0x33c094=_0x350426;this[_0x33c094(0x14f)][_0x33c094(0x15b)](),this[_0x33c094(0x14f)][_0x33c094(0x167)](_0x33c094(0x14c),!0x0),this[_0x33c094(0x162)][_0x33c094(0x167)](_0x33c094(0x14c),!0x1),this[_0x33c094(0x13b)][_0x33c094(0x167)](_0x33c094(0x14c),!0x1);}[_0x350426(0x13d)](){var _0x34856f=_0x350426;this[_0x34856f(0x159)](),this[_0x34856f(0x162)][_0x34856f(0x144)](),this[_0x34856f(0x14f)][_0x34856f(0x167)](_0x34856f(0x14c),!0x1),this[_0x34856f(0x162)][_0x34856f(0x167)](_0x34856f(0x14c),!0x0),this[_0x34856f(0x162)][_0x34856f(0x14d)](),this[_0x34856f(0x162)][_0x34856f(0x167)](_0x34856f(0x153),!0x0),this[_0x34856f(0x162)][_0x34856f(0x167)](_0x34856f(0x13e),!0x1);}[_0x350426(0x14b)](_0x8d25d5){var _0xa714c2=_0x350426;this[_0xa714c2(0x162)][_0xa714c2(0x145)](_0x8d25d5),this[_0xa714c2(0x162)][_0xa714c2(0x167)](_0xa714c2(0x153),!0x1);}[_0x350426(0x163)](){var _0x13f78d=_0x350426;this[_0x13f78d(0x162)][_0x13f78d(0x167)](_0x13f78d(0x14c),!0x0),this[_0x13f78d(0x13b)][_0x13f78d(0x167)](_0x13f78d(0x14c),!0x1),this[_0x13f78d(0x162)][_0x13f78d(0x167)](_0x13f78d(0x13e),!0x0),this[_0x13f78d(0x14f)][_0x13f78d(0x167)](_0x13f78d(0x14c),!0x1);}[_0x350426(0x15f)](){var _0xc971ae=_0x350426;this[_0xc971ae(0x162)][_0xc971ae(0x13f)]?(this[_0xc971ae(0x14f)][_0xc971ae(0x167)](_0xc971ae(0x14c),!0x1),this[_0xc971ae(0x162)][_0xc971ae(0x167)](_0xc971ae(0x14c),!0x0),this[_0xc971ae(0x13b)][_0xc971ae(0x167)](_0xc971ae(0x14c),!0x1)):this[_0xc971ae(0x162)][_0xc971ae(0x13f)]=!0x0;}[_0x350426(0x150)](){var _0xeb279c=_0x350426;this[_0xeb279c(0x14f)][_0xeb279c(0x167)](_0xeb279c(0x14c),!0x1),this[_0xeb279c(0x162)][_0xeb279c(0x167)](_0xeb279c(0x14c),!0x1),this[_0xeb279c(0x13b)][_0xeb279c(0x167)](_0xeb279c(0x14c),!0x0);}[_0x350426(0x159)](){var _0x2a65aa=_0x350426;this[_0x2a65aa(0x162)][_0x2a65aa(0x13f)]=!0x1;}[_0x350426(0x143)](_0x5b79fa){var _0x3ba6bd=_0x350426;this[_0x3ba6bd(0x157)][_0x3ba6bd(0x167)](_0x3ba6bd(0x14c),!0x0),this[_0x3ba6bd(0x157)][_0x3ba6bd(0x146)]=_0x5b79fa;}[_0x350426(0x139)](){var _0x27f51d=_0x350426;this[_0x27f51d(0x162)][_0x27f51d(0x167)](_0x27f51d(0x153),!0x1),this[_0x27f51d(0x15f)](),this[_0x27f51d(0x162)][_0x27f51d(0x165)]();}[_0x350426(0x148)](){var _0xccc908=_0x350426;this[_0xccc908(0x162)][_0xccc908(0x167)](_0xccc908(0x153),!0x1),this[_0xccc908(0x15f)](),this[_0xccc908(0x162)][_0xccc908(0x15d)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ebbe6=_0x5012;(function(_0x244dc7,_0x266d26){const _0x3157e7=_0x5012,_0x2c6f8a=_0x244dc7();while(!![]){try{const _0x17f821=-parseInt(_0x3157e7(0x1d8))/0x1+parseInt(_0x3157e7(0x1dc))/0x2*(parseInt(_0x3157e7(0x1d3))/0x3)+parseInt(_0x3157e7(0x1db))/0x4+parseInt(_0x3157e7(0x1ef))/0x5*(parseInt(_0x3157e7(0x1da))/0x6)+parseInt(_0x3157e7(0x1ee))/0x7*(-parseInt(_0x3157e7(0x1d1))/0x8)+parseInt(_0x3157e7(0x1de))/0x9*(parseInt(_0x3157e7(0x1d9))/0xa)+parseInt(_0x3157e7(0x1cf))/0xb*(-parseInt(_0x3157e7(0x1d5))/0xc);if(_0x17f821===_0x266d26)break;else _0x2c6f8a['push'](_0x2c6f8a['shift']());}catch(_0x9e958d){_0x2c6f8a['push'](_0x2c6f8a['shift']());}}}(_0x575a,0x4dd43));function _0x5012(_0x2cd4b6,_0x5ae28e){const _0x575a19=_0x575a();return _0x5012=function(_0x501281,_0x1b5653){_0x501281=_0x501281-0x1c4;let _0x29c99a=_0x575a19[_0x501281];return _0x29c99a;},_0x5012(_0x2cd4b6,_0x5ae28e);}import{Collection as _0x19adbe}from'ckeditor5/src/utils.js';import{View as _0x21fba5,createDropdown as _0x2836da,addListToDropdown as _0x485254,UIModel as _0x30d2db}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x21fba5{[_0x2ebbe6(0x1c9)];[_0x2ebbe6(0x1e7)];[_0x2ebbe6(0x1c7)];constructor(_0x2b1caa,_0x35a09a){const _0x266526=_0x2ebbe6;super(_0x2b1caa),this[_0x266526(0x1e7)]=_0x35a09a[_0x266526(0x1e0)]||(_0x35a09a[_0x266526(0x1d0)][_0x266526(0x1ed)]>0x0?_0x35a09a[_0x266526(0x1d0)][0x0]['id']:''),this[_0x266526(0x1c7)]=_0x35a09a[_0x266526(0x1d0)][_0x266526(0x1df)](_0x52f488=>_0x52f488['id']===this[_0x266526(0x1e7)])?.[_0x266526(0x1ea)]||'',this[_0x266526(0x1c6)](_0x266526(0x1eb),''),this[_0x266526(0x1c9)]=_0x2836da(this[_0x266526(0x1e8)]);const _0x4f7982=this[_0x266526(0x1ce)](_0x35a09a[_0x266526(0x1d0)]);_0x485254(this[_0x266526(0x1c9)],_0x4f7982,{'role':_0x266526(0x1e6),'ariaLabel':_0x35a09a[_0x266526(0x1ea)]}),this[_0x266526(0x1c9)][_0x266526(0x1e3)][_0x266526(0x1c6)]({'label':this[_0x266526(0x1c7)],'withText':!0x0}),this[_0x266526(0x1c9)][_0x266526(0x1e2)]({'on':{'click':this[_0x266526(0x1cb)]['to'](_0x1cb476=>{const _0x40b8ed=_0x266526;_0x1cb476[_0x40b8ed(0x1c5)]();})}}),this[_0x266526(0x1d6)](this[_0x266526(0x1c9)],_0x266526(0x1e5),_0x34ad0b=>{const _0x2ca3ce=_0x266526;this[_0x2ca3ce(0x1eb)]=_0x34ad0b[_0x2ca3ce(0x1c8)][_0x2ca3ce(0x1e4)]['id'],this[_0x2ca3ce(0x1c9)][_0x2ca3ce(0x1e3)][_0x2ca3ce(0x1ea)]=_0x34ad0b[_0x2ca3ce(0x1c8)][_0x2ca3ce(0x1e4)][_0x2ca3ce(0x1ea)];}),this[_0x266526(0x1e1)]({'tag':_0x266526(0x1cd),'attributes':{'class':['ck',_0x266526(0x1e9),_0x266526(0x1ec),_0x266526(0x1ca)]},'children':[this[_0x266526(0x1c9)]]});}[_0x2ebbe6(0x1d4)](){const _0x34e1e2=_0x2ebbe6;this[_0x34e1e2(0x1eb)]=this[_0x34e1e2(0x1e7)],this[_0x34e1e2(0x1c9)][_0x34e1e2(0x1e3)][_0x34e1e2(0x1ea)]=this[_0x34e1e2(0x1c7)];}[_0x2ebbe6(0x1ce)](_0x53135e=[]){const _0x2f7958=_0x2ebbe6,_0x3269cd=new _0x19adbe();this[_0x2f7958(0x1d4)]();for(const _0x1833ee of _0x53135e){const _0x12e2de=new _0x30d2db({'label':_0x1833ee[_0x2f7958(0x1ea)],'withText':!0x0,'role':_0x2f7958(0x1d2),'id':_0x1833ee['id'],'model':_0x1833ee});_0x12e2de[_0x2f7958(0x1dd)](_0x2f7958(0x1d7))['to'](this,_0x2f7958(0x1eb),_0x5ccc31=>_0x5ccc31===_0x12e2de['id']);const _0x206669={'type':_0x2f7958(0x1cc),'model':_0x12e2de};_0x3269cd[_0x2f7958(0x1c4)](_0x206669);}return _0x3269cd;}}function _0x575a(){const _0x34993d=['set','_defaultLabel','source','_dropdownView','ck-ai_review__check-list-item-parameterized-form-element_dropdown','bindTemplate','button','div','_prepareListOptions','2086634HTRvvl','data','596536DjVzTn','menuitemradio','15UBeeis','resetToDefault','24cASUUz','listenTo','isOn','596532UeHqKA','7500nTbpeo','18uGjRFE','1032656LInjnp','222242wyMGzF','bind','5049XYUPMe','find','default','setTemplate','extendTemplate','buttonView','model','execute','menu','_defaultValue','locale','ck-reset_all','label','formValue','ck-ai_review__check-list-item-parameterized-form-element','length','35xTdZke','721705zaCBpt','add','stopPropagation'];_0x575a=function(){return _0x34993d;};return _0x575a();}
23
+ function _0x1cf3(){const _0x5f4bb3=['485500IrHQvW','1038ayBqPW','data','389630EdMdJl','div','_dropdownView','_defaultLabel','16VMjSpu','ck-ai_review__check-list-item-parameterized-form-element','setTemplate','locale','bindTemplate','extendTemplate','buttonView','resetToDefault','button','add','formValue','198FJvGeU','bind','3196983ZSEtpM','set','listenTo','_prepareListOptions','length','stopPropagation','ck-ai_review__check-list-item-parameterized-form-element_dropdown','model','source','menuitemradio','label','execute','ck-reset_all','1170744koQBmk','isOn','3056202EgpEgH','1534228wLWTcb','_defaultValue','30NFjQHK','menu','default','45269LSXLmG','find'];_0x1cf3=function(){return _0x5f4bb3;};return _0x1cf3();}function _0x42e0(_0x14ac27,_0x2ae6f1){const _0x1cf317=_0x1cf3();return _0x42e0=function(_0x42e073,_0x22d60b){_0x42e073=_0x42e073-0x8d;let _0x4bfbb0=_0x1cf317[_0x42e073];return _0x4bfbb0;},_0x42e0(_0x14ac27,_0x2ae6f1);}const _0x2dbef7=_0x42e0;(function(_0xf31160,_0x3d19cb){const _0x2a12e9=_0x42e0,_0x3337fe=_0xf31160();while(!![]){try{const _0x1ca467=-parseInt(_0x2a12e9(0x93))/0x1+-parseInt(_0x2a12e9(0x96))/0x2+parseInt(_0x2a12e9(0xb1))/0x3+parseInt(_0x2a12e9(0x9d))/0x4*(-parseInt(_0x2a12e9(0x98))/0x5)+-parseInt(_0x2a12e9(0x9e))/0x6*(-parseInt(_0x2a12e9(0x9b))/0x7)+-parseInt(_0x2a12e9(0xa4))/0x8*(-parseInt(_0x2a12e9(0x95))/0x9)+parseInt(_0x2a12e9(0xa0))/0xa*(parseInt(_0x2a12e9(0xaf))/0xb);if(_0x1ca467===_0x3d19cb)break;else _0x3337fe['push'](_0x3337fe['shift']());}catch(_0x25c7d0){_0x3337fe['push'](_0x3337fe['shift']());}}}(_0x1cf3,0xdb712));import{Collection as _0x2614d3}from'ckeditor5/src/utils.js';import{View as _0x2d40ac,createDropdown as _0x2eded8,addListToDropdown as _0x467861,UIModel as _0x3636f3}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x2d40ac{[_0x2dbef7(0xa2)];[_0x2dbef7(0x97)];[_0x2dbef7(0xa3)];constructor(_0x9aefab,_0x293129){const _0x40f06a=_0x2dbef7;super(_0x9aefab),this[_0x40f06a(0x97)]=_0x293129[_0x40f06a(0x9a)]||(_0x293129[_0x40f06a(0x9f)][_0x40f06a(0xb5)]>0x0?_0x293129[_0x40f06a(0x9f)][0x0]['id']:''),this[_0x40f06a(0xa3)]=_0x293129[_0x40f06a(0x9f)][_0x40f06a(0x9c)](_0x4fdd25=>_0x4fdd25['id']===this[_0x40f06a(0x97)])?.[_0x40f06a(0x90)]||'',this[_0x40f06a(0xb2)](_0x40f06a(0xae),''),this[_0x40f06a(0xa2)]=_0x2eded8(this[_0x40f06a(0xa7)]);const _0x22cb03=this[_0x40f06a(0xb4)](_0x293129[_0x40f06a(0x9f)]);_0x467861(this[_0x40f06a(0xa2)],_0x22cb03,{'role':_0x40f06a(0x99),'ariaLabel':_0x293129[_0x40f06a(0x90)]}),this[_0x40f06a(0xa2)][_0x40f06a(0xaa)][_0x40f06a(0xb2)]({'label':this[_0x40f06a(0xa3)],'withText':!0x0}),this[_0x40f06a(0xa2)][_0x40f06a(0xa9)]({'on':{'click':this[_0x40f06a(0xa8)]['to'](_0x174be4=>{const _0x450453=_0x40f06a;_0x174be4[_0x450453(0xb6)]();})}}),this[_0x40f06a(0xb3)](this[_0x40f06a(0xa2)],_0x40f06a(0x91),_0x201897=>{const _0x407f4e=_0x40f06a;this[_0x407f4e(0xae)]=_0x201897[_0x407f4e(0x8e)][_0x407f4e(0x8d)]['id'],this[_0x407f4e(0xa2)][_0x407f4e(0xaa)][_0x407f4e(0x90)]=_0x201897[_0x407f4e(0x8e)][_0x407f4e(0x8d)][_0x407f4e(0x90)];}),this[_0x40f06a(0xa6)]({'tag':_0x40f06a(0xa1),'attributes':{'class':['ck',_0x40f06a(0x92),_0x40f06a(0xa5),_0x40f06a(0xb7)]},'children':[this[_0x40f06a(0xa2)]]});}[_0x2dbef7(0xab)](){const _0x42d4da=_0x2dbef7;this[_0x42d4da(0xae)]=this[_0x42d4da(0x97)],this[_0x42d4da(0xa2)][_0x42d4da(0xaa)][_0x42d4da(0x90)]=this[_0x42d4da(0xa3)];}[_0x2dbef7(0xb4)](_0x1cdeb1=[]){const _0x2da901=_0x2dbef7,_0x290945=new _0x2614d3();this[_0x2da901(0xab)]();for(const _0x3ca6d5 of _0x1cdeb1){const _0x3f92c4=new _0x3636f3({'label':_0x3ca6d5[_0x2da901(0x90)],'withText':!0x0,'role':_0x2da901(0x8f),'id':_0x3ca6d5['id'],'model':_0x3ca6d5});_0x3f92c4[_0x2da901(0xb0)](_0x2da901(0x94))['to'](this,_0x2da901(0xae),_0x26c751=>_0x26c751===_0x3f92c4['id']);const _0x138395={'type':_0x2da901(0xac),'model':_0x3f92c4};_0x290945[_0x2da901(0xad)](_0x138395);}return _0x290945;}}