@ckeditor/ckeditor5-ai 47.7.5-alpha.0 → 47.7.5

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 (318) 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/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27e8d4=_0x1a5b;(function(_0x5a1dd3,_0x1aa6d8){const _0x41f891=_0x1a5b,_0x2e456f=_0x5a1dd3();while(!![]){try{const _0x42fa7b=parseInt(_0x41f891(0x1f1))/0x1*(parseInt(_0x41f891(0x200))/0x2)+parseInt(_0x41f891(0x1d4))/0x3+parseInt(_0x41f891(0x203))/0x4*(-parseInt(_0x41f891(0x21a))/0x5)+-parseInt(_0x41f891(0x1dd))/0x6+parseInt(_0x41f891(0x1f7))/0x7+parseInt(_0x41f891(0x205))/0x8*(-parseInt(_0x41f891(0x1f0))/0x9)+parseInt(_0x41f891(0x1fa))/0xa*(parseInt(_0x41f891(0x1e6))/0xb);if(_0x42fa7b===_0x1aa6d8)break;else _0x2e456f['push'](_0x2e456f['shift']());}catch(_0x426f09){_0x2e456f['push'](_0x2e456f['shift']());}}}(_0x4afa,0x55c4c));import{Rect as _0x303656,getConstrainedViewportRect as _0x1ff9f7}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x41d869,View as _0x360859,clickOutsideHandler as _0x192b36}from'ckeditor5/src/ui.js';function _0x1a5b(_0x255407,_0x517c6a){const _0x4afa01=_0x4afa();return _0x1a5b=function(_0x1a5b92,_0x62f241){_0x1a5b92=_0x1a5b92-0x1d3;let _0x50069d=_0x4afa01[_0x1a5b92];return _0x50069d;},_0x1a5b(_0x255407,_0x517c6a);}import{AIReviewCoreReviewCheckListItemResultsView as _0xcb507e}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x41d869{[_0x27e8d4(0x1ff)];[_0x27e8d4(0x204)]=void 0x0;[_0x27e8d4(0x1e5)]=void 0x0;[_0x27e8d4(0x20e)]=void 0x0;constructor(_0x4d4804,_0x1000ce){const _0x3eec61=_0x27e8d4;super(_0x4d4804),this[_0x3eec61(0x1e2)]({'isVisible':!0x1,'position':_0x3eec61(0x1ef),'class':null,'top':0x0,'left':0x0}),this[_0x3eec61(0x1d7)]({'tag':_0x3eec61(0x202),'attributes':{'class':[_0x3eec61(0x20b)],'tabindex':'-1'}}),this[_0x3eec61(0x1e2)](_0x3eec61(0x1e9),!0x1),this[_0x3eec61(0x1fb)][_0x3eec61(0x1d5)](this[_0x3eec61(0x20f)]()),_0x1000ce[_0x3eec61(0x1d5)](this);}[_0x27e8d4(0x212)](){const _0x41d485=_0x27e8d4;super[_0x41d485(0x212)](),this[_0x41d485(0x1d9)]();}[_0x27e8d4(0x1f3)](_0x175466){const _0x7f12e3=_0x27e8d4;this[_0x7f12e3(0x1ff)][_0x7f12e3(0x1e3)]=_0x175466['id'],this[_0x7f12e3(0x1ff)][_0x7f12e3(0x208)][_0x7f12e3(0x1d6)][_0x7f12e3(0x221)]=_0x175466[_0x7f12e3(0x1df)];}[_0x27e8d4(0x201)](_0x5c5706,_0x520198,_0x1a8565,_0x39afc8,_0x422e0e,_0xcad9ed){const _0x2dec46=_0x27e8d4,_0xa6c75a=_0x520198();if(!_0xa6c75a)return;this[_0x2dec46(0x1f3)](_0x5c5706),this[_0x2dec46(0x211)]();const _0x5ef9de=Array[_0x2dec46(0x21b)](_0xa6c75a[_0x2dec46(0x217)]())[_0x2dec46(0x207)](),_0x4362af=this[_0x2dec46(0x1ec)](_0x1a8565,_0x5ef9de),_0x146238=_0x5ef9de[_0x4362af??0x0];_0x2dec46(0x1fe)===_0x39afc8?(this[_0x2dec46(0x1e9)]=!0x0,this[_0x2dec46(0x21f)]({'target':()=>this[_0x2dec46(0x1f4)](_0x520198(),_0x4362af,_0x5c5706['id'],_0x422e0e,_0xcad9ed)||_0x146238})):_0x2dec46(0x1de)===_0x39afc8&&(this[_0x2dec46(0x1e9)]=!0x1,this[_0x2dec46(0x21f)]({'target':()=>this[_0x2dec46(0x21c)](_0x520198(),_0x4362af,_0x5c5706['id'])||_0x146238}));}[_0x27e8d4(0x1e0)](){const _0x240b00=_0x27e8d4;this[_0x240b00(0x1e7)](),this[_0x240b00(0x21d)](),this[_0x240b00(0x204)]=void 0x0,this[_0x240b00(0x1e5)]=void 0x0,this[_0x240b00(0x20e)]=void 0x0;}[_0x27e8d4(0x213)](){const _0x22bd83=_0x27e8d4;this[_0x22bd83(0x1ff)][_0x22bd83(0x214)]=!0x1;}[_0x27e8d4(0x219)](){const _0x5dcf7a=_0x27e8d4;this[_0x5dcf7a(0x1ff)][_0x5dcf7a(0x214)]=!0x0;}[_0x27e8d4(0x1f5)](){const _0x105dff=_0x27e8d4;this[_0x105dff(0x1fd)](_0x105dff(0x1f5),{'origin':_0x105dff(0x1e1)});}[_0x27e8d4(0x1d9)](){const _0x37dfc1=_0x27e8d4;_0x192b36({'emitter':this,'activator':()=>this[_0x37dfc1(0x20c)],'contextElements':()=>{const _0x13960d=_0x37dfc1,_0x53b51e=[this[_0x13960d(0x1d6)]];return this[_0x13960d(0x1e5)]&&_0x53b51e[_0x13960d(0x1ea)](this[_0x13960d(0x1e5)]),_0x53b51e;},'callback':()=>{const _0x2c61eb=_0x37dfc1;this[_0x2c61eb(0x1e7)](),this[_0x2c61eb(0x21d)](),this[_0x2c61eb(0x1f5)](),this[_0x2c61eb(0x1e5)]=void 0x0,this[_0x2c61eb(0x204)]=void 0x0,this[_0x2c61eb(0x20e)]=void 0x0;}});}[_0x27e8d4(0x20f)](){const _0xaeb126=_0x27e8d4,_0x5431b5=new _0x360859();return this[_0xaeb126(0x1ff)]=new _0xcb507e(this[_0xaeb126(0x1fc)],''),this[_0xaeb126(0x1ff)][_0xaeb126(0x208)][_0xaeb126(0x1d7)]({'attributes':{'class':[_0xaeb126(0x222)]}}),this[_0xaeb126(0x1ff)][_0xaeb126(0x210)](_0xaeb126(0x1db),_0xaeb126(0x218))['to'](this),_0x5431b5[_0xaeb126(0x1f6)]({'tag':_0xaeb126(0x202),'attributes':{'class':[_0xaeb126(0x20b),_0xaeb126(0x1ed),this[_0xaeb126(0x1e4)]['if'](_0xaeb126(0x1e9),_0xaeb126(0x209))]},'children':[{'tag':'p','attributes':{'class':[_0xaeb126(0x1f8)]},'children':[this[_0xaeb126(0x1ff)]]}]}),_0x5431b5;}[_0x27e8d4(0x1f4)](_0x194606,_0x25f2f3,_0x16c74c,_0xe5e1be,_0x4caff6){const _0x2da983=_0x27e8d4;if(!_0x194606)return null;const _0x449d50=this[_0x2da983(0x20d)][_0x2da983(0x206)](_0x2da983(0x1dc),''),_0x1fa281=Array[_0x2da983(0x21b)](_0x194606[_0x2da983(0x217)]());let _0x29edb5,_0x4c77a2=_0x1fa281[_0x2da983(0x207)]();return void 0x0!==_0x25f2f3&&this[_0x2da983(0x20a)](_0x4c77a2[_0x25f2f3],_0xe5e1be,_0x4caff6)?(_0x29edb5=_0x4c77a2[_0x25f2f3],this[_0x2da983(0x204)]=_0x25f2f3):this[_0x2da983(0x20a)](_0x4c77a2[0x0],_0xe5e1be,_0x4caff6)&&void 0x0===_0x25f2f3?_0x29edb5=_0x4c77a2[0x0]:(_0x4c77a2='s'==_0x449d50[0x0]?[..._0x1fa281][_0x2da983(0x207)]():_0x1fa281,_0x4c77a2[_0x2da983(0x220)](_0x2ea729=>{const _0x1512ef=_0x2da983;this[_0x1512ef(0x20a)](_0x2ea729,_0xe5e1be,_0x4caff6)&&(_0x29edb5=_0x2ea729);})),this[_0x2da983(0x20e)]=_0x16c74c,this[_0x2da983(0x1e5)]=_0x194606,_0x29edb5||_0x194606[_0x2da983(0x1ee)]();}[_0x27e8d4(0x21c)](_0x18d02d,_0x27e169,_0x2cbca0){const _0x31f528=_0x27e8d4;if(!_0x18d02d)return null;const _0x2a3e4a=Array[_0x31f528(0x21b)](_0x18d02d[_0x31f528(0x217)]())[_0x31f528(0x207)]();if(void 0x0===this[_0x31f528(0x204)]&&void 0x0!==_0x27e169&&this[_0x31f528(0x20e)]!==_0x2cbca0)return this[_0x31f528(0x204)]=_0x27e169,this[_0x31f528(0x1e5)]=_0x18d02d,this[_0x31f528(0x20e)]=_0x2cbca0,_0x2a3e4a[_0x27e169];if(void 0x0!==this[_0x31f528(0x204)]&&this[_0x31f528(0x20e)]===_0x2cbca0){if(_0x18d02d!==this[_0x31f528(0x1e5)])return Array[_0x31f528(0x21b)](this[_0x31f528(0x1e5)][_0x31f528(0x217)]())[_0x31f528(0x207)]()[this[_0x31f528(0x204)]];return _0x2a3e4a[this[_0x31f528(0x204)]];}return void 0x0!==_0x27e169&&this[_0x31f528(0x20e)]!==_0x2cbca0?(this[_0x31f528(0x204)]=_0x27e169,this[_0x31f528(0x1e5)]=_0x18d02d,this[_0x31f528(0x20e)]=_0x2cbca0,_0x2a3e4a[_0x27e169]):_0x18d02d[_0x31f528(0x1ee)]();}[_0x27e8d4(0x1ec)](_0x169587,_0x3cb494){const _0x56b814=_0x27e8d4;if(_0x169587)for(let _0x2b8f15=0x0;_0x2b8f15<_0x3cb494[_0x56b814(0x21e)];_0x2b8f15++){const _0xf13a6e=_0x3cb494[_0x2b8f15];if(_0x169587[_0x56b814(0x1f9)]>=_0xf13a6e[_0x56b814(0x1da)]-0x3&&_0x169587[_0x56b814(0x1f9)]<=_0xf13a6e[_0x56b814(0x1e8)]+0x3&&_0x169587[_0x56b814(0x216)]>=_0xf13a6e[_0x56b814(0x1d3)]-0x3&&_0x169587[_0x56b814(0x216)]<=_0xf13a6e[_0x56b814(0x1d8)]+0x3)return _0x2b8f15;}}[_0x27e8d4(0x20a)](_0x2c2ddf,_0x75cd1d,_0x13d7b7){const _0x280bc6=_0x27e8d4,_0x45c48c=new _0x303656(_0x2c2ddf),_0x25a270=_0x75cd1d||document[_0x280bc6(0x1eb)],_0x4fb257=_0x45c48c[_0x280bc6(0x1f2)](_0x1ff9f7(_0x13d7b7)),_0x5d10e8=new _0x303656(_0x25a270)[_0x280bc6(0x1f2)](_0x45c48c);return!!(_0x4fb257&&_0x5d10e8&&_0x45c48c[_0x280bc6(0x215)]>0x0);}}function _0x4afa(){const _0x6967d3=['unpin','length','pin','forEach','innerHTML','ck-content','top','4029CandzM','add','element','extendTemplate','bottom','_setupClickOutsideHandler','left','acceptChange','arrow_','3520524rkLbEA','hover','contentDiffed','hideBalloon','balloon','set','changeId','bindTemplate','_pinnedTargetElement','22AZyKAX','hide','right','isDiffActive','push','documentElement','_getPointedRectIndexFromEvent','ck-ai_review-balloon-panel-suggestion','getBoundingClientRect','arrow_se','265968ckxNfv','4LBfylG','getIntersection','updateContent','_getBestRectPositionOnClick','deactivateChange','setTemplate','4667278eLlBdm','ck-ai_review__suggestion-text','clientX','6883460HwRmey','content','locale','fire','click','resultItemView','10714pIdQGr','showBalloon','div','28692ynHKEe','_pinnedRectIndex','152rklnJX','replace','reverse','resultResponseView','ck-ai_review-balloon-panel-suggestion_diff-active','_isPinnedRectVisible','ck-reset','isVisible','position','_pinnedTargetChangeId','_createContentView','delegate','show','render','hideDiffInBalloon','showDiff','width','clientY','getClientRects','dismissChange','showDiffInBalloon','395usaQpp','from','_getBestRectPositionOnHover'];_0x4afa=function(){return _0x6967d3;};return _0x4afa();}
23
+ const _0x4fbc58=_0x537a;function _0x537a(_0x393410,_0xe9fed5){const _0x497fdd=_0x497f();return _0x537a=function(_0x537a1a,_0x1d700a){_0x537a1a=_0x537a1a-0x1dd;let _0x581f59=_0x497fdd[_0x537a1a];return _0x581f59;},_0x537a(_0x393410,_0xe9fed5);}(function(_0xf59758,_0x2ad880){const _0x5e0795=_0x537a,_0x568ada=_0xf59758();while(!![]){try{const _0x3e4015=parseInt(_0x5e0795(0x210))/0x1*(-parseInt(_0x5e0795(0x220))/0x2)+parseInt(_0x5e0795(0x1fc))/0x3+-parseInt(_0x5e0795(0x229))/0x4*(-parseInt(_0x5e0795(0x215))/0x5)+parseInt(_0x5e0795(0x221))/0x6*(-parseInt(_0x5e0795(0x1fe))/0x7)+parseInt(_0x5e0795(0x1df))/0x8+parseInt(_0x5e0795(0x214))/0x9+-parseInt(_0x5e0795(0x1e0))/0xa;if(_0x3e4015===_0x2ad880)break;else _0x568ada['push'](_0x568ada['shift']());}catch(_0x3e9010){_0x568ada['push'](_0x568ada['shift']());}}}(_0x497f,0x51e38));import{Rect as _0x5b501,getConstrainedViewportRect as _0x5cddc8}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x343cd1,View as _0x3ba332,clickOutsideHandler as _0x5934af}from'ckeditor5/src/ui.js';function _0x497f(){const _0x4741f6=['ck-ai_review-balloon-panel-suggestion','hideBalloon','ck-content','749004ONWhNu','isVisible','443534ZvetiV','changeId','isDiffActive','position','resultItemView','getClientRects','delegate','width','add','bottom','div','_getPointedRectIndexFromEvent','showDiffInBalloon','forEach','push','setTemplate','ck-ai_review-balloon-panel-suggestion_diff-active','_pinnedTargetElement','36881LcCGRV','innerHTML','_getBestRectPositionOnHover','_pinnedTargetChangeId','3698667EOialJ','46060SWpvZy','reverse','fire','_createContentView','right','extendTemplate','length','set','_setupClickOutsideHandler','_getBestRectPositionOnClick','ck-reset','8IjttAb','6eOFAbd','_isPinnedRectVisible','balloon','arrow_se','hide','ck-ai_review__suggestion-text','content','element','272rToUKC','left','bindTemplate','render','dismissChange','384360bNYdTC','7887900jfkgrt','from','getBoundingClientRect','showDiff','resultResponseView','hideDiffInBalloon','clientX','clientY','showBalloon','pin','_pinnedRectIndex','updateContent','hover','show','top','replace','deactivateChange','acceptChange','locale','arrow_','unpin','contentDiffed','documentElement','getIntersection','click'];_0x497f=function(){return _0x4741f6;};return _0x497f();}import{AIReviewCoreReviewCheckListItemResultsView as _0x59c542}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x343cd1{[_0x4fbc58(0x202)];[_0x4fbc58(0x1ea)]=void 0x0;[_0x4fbc58(0x20f)]=void 0x0;[_0x4fbc58(0x213)]=void 0x0;constructor(_0x3a5a5a,_0x5a191b){const _0x23c873=_0x4fbc58;super(_0x3a5a5a),this[_0x23c873(0x21c)]({'isVisible':!0x1,'position':_0x23c873(0x224),'class':null,'top':0x0,'left':0x0}),this[_0x23c873(0x21a)]({'tag':_0x23c873(0x208),'attributes':{'class':[_0x23c873(0x21f)],'tabindex':'-1'}}),this[_0x23c873(0x21c)](_0x23c873(0x200),!0x1),this[_0x23c873(0x227)][_0x23c873(0x206)](this[_0x23c873(0x218)]()),_0x5a191b[_0x23c873(0x206)](this);}[_0x4fbc58(0x1dd)](){const _0x307165=_0x4fbc58;super[_0x307165(0x1dd)](),this[_0x307165(0x21d)]();}[_0x4fbc58(0x1eb)](_0x2cf739){const _0x33c85=_0x4fbc58;this[_0x33c85(0x202)][_0x33c85(0x1ff)]=_0x2cf739['id'],this[_0x33c85(0x202)][_0x33c85(0x1e4)][_0x33c85(0x228)][_0x33c85(0x211)]=_0x2cf739[_0x33c85(0x1f5)];}[_0x4fbc58(0x1e8)](_0x56e72b,_0x2b2f5d,_0x3c54a8,_0x320fa2,_0x1557bf,_0x5dd5f0){const _0x32b05c=_0x4fbc58,_0x1072d7=_0x2b2f5d();if(!_0x1072d7)return;this[_0x32b05c(0x1eb)](_0x56e72b),this[_0x32b05c(0x1ed)]();const _0x1ea057=Array[_0x32b05c(0x1e1)](_0x1072d7[_0x32b05c(0x203)]())[_0x32b05c(0x216)](),_0x879338=this[_0x32b05c(0x209)](_0x3c54a8,_0x1ea057),_0x582d31=_0x1ea057[_0x879338??0x0];_0x32b05c(0x1f8)===_0x320fa2?(this[_0x32b05c(0x200)]=!0x0,this[_0x32b05c(0x1e9)]({'target':()=>this[_0x32b05c(0x21e)](_0x2b2f5d(),_0x879338,_0x56e72b['id'],_0x1557bf,_0x5dd5f0)||_0x582d31})):_0x32b05c(0x1ec)===_0x320fa2&&(this[_0x32b05c(0x200)]=!0x1,this[_0x32b05c(0x1e9)]({'target':()=>this[_0x32b05c(0x212)](_0x2b2f5d(),_0x879338,_0x56e72b['id'])||_0x582d31}));}[_0x4fbc58(0x1fa)](){const _0x37eb89=_0x4fbc58;this[_0x37eb89(0x225)](),this[_0x37eb89(0x1f4)](),this[_0x37eb89(0x1ea)]=void 0x0,this[_0x37eb89(0x20f)]=void 0x0,this[_0x37eb89(0x213)]=void 0x0;}[_0x4fbc58(0x1e5)](){const _0x236940=_0x4fbc58;this[_0x236940(0x202)][_0x236940(0x1e3)]=!0x1;}[_0x4fbc58(0x20a)](){const _0x2f8017=_0x4fbc58;this[_0x2f8017(0x202)][_0x2f8017(0x1e3)]=!0x0;}[_0x4fbc58(0x1f0)](){const _0x39f4d7=_0x4fbc58;this[_0x39f4d7(0x217)](_0x39f4d7(0x1f0),{'origin':_0x39f4d7(0x223)});}[_0x4fbc58(0x21d)](){const _0x5e7665=_0x4fbc58;_0x5934af({'emitter':this,'activator':()=>this[_0x5e7665(0x1fd)],'contextElements':()=>{const _0x282277=_0x5e7665,_0xd96f89=[this[_0x282277(0x228)]];return this[_0x282277(0x20f)]&&_0xd96f89[_0x282277(0x20c)](this[_0x282277(0x20f)]),_0xd96f89;},'callback':()=>{const _0x371261=_0x5e7665;this[_0x371261(0x225)](),this[_0x371261(0x1f4)](),this[_0x371261(0x1f0)](),this[_0x371261(0x20f)]=void 0x0,this[_0x371261(0x1ea)]=void 0x0,this[_0x371261(0x213)]=void 0x0;}});}[_0x4fbc58(0x218)](){const _0x14671b=_0x4fbc58,_0x1cec17=new _0x3ba332();return this[_0x14671b(0x202)]=new _0x59c542(this[_0x14671b(0x1f2)],''),this[_0x14671b(0x202)][_0x14671b(0x1e4)][_0x14671b(0x21a)]({'attributes':{'class':[_0x14671b(0x1fb)]}}),this[_0x14671b(0x202)][_0x14671b(0x204)](_0x14671b(0x1f1),_0x14671b(0x1de))['to'](this),_0x1cec17[_0x14671b(0x20d)]({'tag':_0x14671b(0x208),'attributes':{'class':[_0x14671b(0x21f),_0x14671b(0x1f9),this[_0x14671b(0x22b)]['if'](_0x14671b(0x200),_0x14671b(0x20e))]},'children':[{'tag':'p','attributes':{'class':[_0x14671b(0x226)]},'children':[this[_0x14671b(0x202)]]}]}),_0x1cec17;}[_0x4fbc58(0x21e)](_0x35e1de,_0x153b59,_0x149818,_0x2b1fc1,_0x245894){const _0x44042e=_0x4fbc58;if(!_0x35e1de)return null;const _0x4ea481=this[_0x44042e(0x201)][_0x44042e(0x1ef)](_0x44042e(0x1f3),''),_0x4c1874=Array[_0x44042e(0x1e1)](_0x35e1de[_0x44042e(0x203)]());let _0x2d25da,_0x5b2152=_0x4c1874[_0x44042e(0x216)]();return void 0x0!==_0x153b59&&this[_0x44042e(0x222)](_0x5b2152[_0x153b59],_0x2b1fc1,_0x245894)?(_0x2d25da=_0x5b2152[_0x153b59],this[_0x44042e(0x1ea)]=_0x153b59):this[_0x44042e(0x222)](_0x5b2152[0x0],_0x2b1fc1,_0x245894)&&void 0x0===_0x153b59?_0x2d25da=_0x5b2152[0x0]:(_0x5b2152='s'==_0x4ea481[0x0]?[..._0x4c1874][_0x44042e(0x216)]():_0x4c1874,_0x5b2152[_0x44042e(0x20b)](_0x143537=>{const _0xe06dbd=_0x44042e;this[_0xe06dbd(0x222)](_0x143537,_0x2b1fc1,_0x245894)&&(_0x2d25da=_0x143537);})),this[_0x44042e(0x213)]=_0x149818,this[_0x44042e(0x20f)]=_0x35e1de,_0x2d25da||_0x35e1de[_0x44042e(0x1e2)]();}[_0x4fbc58(0x212)](_0x5ed811,_0x5c7e1c,_0x35c113){const _0x3712f6=_0x4fbc58;if(!_0x5ed811)return null;const _0x15c507=Array[_0x3712f6(0x1e1)](_0x5ed811[_0x3712f6(0x203)]())[_0x3712f6(0x216)]();if(void 0x0===this[_0x3712f6(0x1ea)]&&void 0x0!==_0x5c7e1c&&this[_0x3712f6(0x213)]!==_0x35c113)return this[_0x3712f6(0x1ea)]=_0x5c7e1c,this[_0x3712f6(0x20f)]=_0x5ed811,this[_0x3712f6(0x213)]=_0x35c113,_0x15c507[_0x5c7e1c];if(void 0x0!==this[_0x3712f6(0x1ea)]&&this[_0x3712f6(0x213)]===_0x35c113){if(_0x5ed811!==this[_0x3712f6(0x20f)])return Array[_0x3712f6(0x1e1)](this[_0x3712f6(0x20f)][_0x3712f6(0x203)]())[_0x3712f6(0x216)]()[this[_0x3712f6(0x1ea)]];return _0x15c507[this[_0x3712f6(0x1ea)]];}return void 0x0!==_0x5c7e1c&&this[_0x3712f6(0x213)]!==_0x35c113?(this[_0x3712f6(0x1ea)]=_0x5c7e1c,this[_0x3712f6(0x20f)]=_0x5ed811,this[_0x3712f6(0x213)]=_0x35c113,_0x15c507[_0x5c7e1c]):_0x5ed811[_0x3712f6(0x1e2)]();}[_0x4fbc58(0x209)](_0x2fb3ef,_0x19b0c2){const _0x3ef3bb=_0x4fbc58;if(_0x2fb3ef)for(let _0x26292f=0x0;_0x26292f<_0x19b0c2[_0x3ef3bb(0x21b)];_0x26292f++){const _0x57067e=_0x19b0c2[_0x26292f];if(_0x2fb3ef[_0x3ef3bb(0x1e6)]>=_0x57067e[_0x3ef3bb(0x22a)]-0x3&&_0x2fb3ef[_0x3ef3bb(0x1e6)]<=_0x57067e[_0x3ef3bb(0x219)]+0x3&&_0x2fb3ef[_0x3ef3bb(0x1e7)]>=_0x57067e[_0x3ef3bb(0x1ee)]-0x3&&_0x2fb3ef[_0x3ef3bb(0x1e7)]<=_0x57067e[_0x3ef3bb(0x207)]+0x3)return _0x26292f;}}[_0x4fbc58(0x222)](_0x372a0b,_0x569ec,_0x758eed){const _0x386c0a=_0x4fbc58,_0x3c716c=new _0x5b501(_0x372a0b),_0x373141=_0x569ec||document[_0x386c0a(0x1f6)],_0x2b8ba0=_0x3c716c[_0x386c0a(0x1f7)](_0x5cddc8(_0x758eed)),_0x5e4aad=new _0x5b501(_0x373141)[_0x386c0a(0x1f7)](_0x3c716c);return!!(_0x2b8ba0&&_0x5e4aad&&_0x3c716c[_0x386c0a(0x205)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2902ed=_0x38aa;function _0x38aa(_0x2a513a,_0x566a2f){const _0xdc00d=_0xdc00();return _0x38aa=function(_0x38aab3,_0xfc77ec){_0x38aab3=_0x38aab3-0xb0;let _0x833b94=_0xdc00d[_0x38aab3];return _0x833b94;},_0x38aa(_0x2a513a,_0x566a2f);}(function(_0x1555a9,_0x554395){const _0x459a3a=_0x38aa,_0x3ce2dc=_0x1555a9();while(!![]){try{const _0x4acf80=parseInt(_0x459a3a(0xcc))/0x1*(-parseInt(_0x459a3a(0xd4))/0x2)+parseInt(_0x459a3a(0xc0))/0x3*(parseInt(_0x459a3a(0xe2))/0x4)+parseInt(_0x459a3a(0xfa))/0x5+parseInt(_0x459a3a(0xf5))/0x6*(parseInt(_0x459a3a(0xd6))/0x7)+parseInt(_0x459a3a(0xc6))/0x8+-parseInt(_0x459a3a(0xc9))/0x9+-parseInt(_0x459a3a(0xce))/0xa;if(_0x4acf80===_0x554395)break;else _0x3ce2dc['push'](_0x3ce2dc['shift']());}catch(_0x19ef65){_0x3ce2dc['push'](_0x3ce2dc['shift']());}}}(_0xdc00,0x1e419));import{View as _0x2c9a10,ButtonView as _0x139505}from'ckeditor5/src/ui.js';import{IconInfo as _0xcdf8d4,IconCheck as _0x230244,IconCancel as _0x519681,IconOutdated as _0x5dc3b3}from'ckeditor5/src/icons.js';import{getTranslation as _0x156943}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x2c9a10{[_0x2902ed(0xef)];[_0x2902ed(0xca)];[_0x2902ed(0xc3)];[_0x2902ed(0xb8)];[_0x2902ed(0xbd)];constructor(_0x28057d,_0x1e8cfe){const _0x4c97cd=_0x2902ed;super(_0x28057d),this['id']=_0x1e8cfe,this[_0x4c97cd(0xde)](_0x4c97cd(0xe5),_0x4c97cd(0xc1)),this[_0x4c97cd(0xde)](_0x4c97cd(0xfe),_0x1e8cfe),this[_0x4c97cd(0xef)]=this[_0x4c97cd(0xcf)](),this[_0x4c97cd(0xca)]=this[_0x4c97cd(0xdb)](),this[_0x4c97cd(0xc3)]=this[_0x4c97cd(0xfc)](),this[_0x4c97cd(0xb8)]=this[_0x4c97cd(0xd3)](),this[_0x4c97cd(0xbd)]=this[_0x4c97cd(0xb5)](),this[_0x4c97cd(0xde)](_0x4c97cd(0xd2),!0x1),this[_0x4c97cd(0xde)](_0x4c97cd(0xe4),!0x1),this[_0x4c97cd(0xde)](_0x4c97cd(0xb0),!0x0),this[_0x4c97cd(0xf3)]({'tag':_0x4c97cd(0xe6),'attributes':{'class':[_0x4c97cd(0xb7),this[_0x4c97cd(0xc8)]['if'](_0x4c97cd(0xe4),_0x4c97cd(0xd5))]},'on':{'click':this[_0x4c97cd(0xc8)]['to'](_0x4c97cd(0xd9)),'mouseover':this[_0x4c97cd(0xc8)]['to'](_0x4c97cd(0xf8)),'mouseout':this[_0x4c97cd(0xc8)]['to'](_0x4c97cd(0xe1))},'children':[this[_0x4c97cd(0xef)],{'tag':_0x4c97cd(0xe6),'attributes':{'class':[_0x4c97cd(0xb6)]},'children':[{'tag':_0x4c97cd(0xe6),'attributes':{'class':[_0x4c97cd(0xdc)]},'children':[this[_0x4c97cd(0xca)],this[_0x4c97cd(0xc3)],this[_0x4c97cd(0xbd)]]},this[_0x4c97cd(0xb8)]]}]}),this['on'](_0x4c97cd(0xd9),(_0x138243,_0x4e7470)=>{const _0x5e386f=_0x4c97cd;_0x4e7470&&_0x4e7470[_0x5e386f(0xe3)]&&'A'===_0x4e7470[_0x5e386f(0xe3)][_0x5e386f(0xf0)]&&_0x4e7470[_0x5e386f(0xe7)](),this[_0x5e386f(0xee)](_0x5e386f(0xda),{'id':_0x1e8cfe,'source':this,'uiInteraction':_0x5e386f(0xd9)});}),this['on'](_0x4c97cd(0xf8),()=>{const _0x45c706=_0x4c97cd;this[_0x45c706(0xee)](_0x45c706(0xda),{'id':_0x1e8cfe,'source':this,'uiInteraction':_0x45c706(0xc5)});}),this['on'](_0x4c97cd(0xe1),()=>{const _0x36a6ac=_0x4c97cd;this[_0x36a6ac(0xee)](_0x36a6ac(0xdd),{'origin':_0x36a6ac(0xea),'id':_0x1e8cfe,'source':this});});}[_0x2902ed(0xec)](){const _0x51ef22=_0x2902ed;this[_0x51ef22(0xe4)]=!0x0;}[_0x2902ed(0xe8)](){const _0x11dbe6=_0x2902ed;this[_0x11dbe6(0xe4)]=!0x1;}[_0x2902ed(0xcf)](){const _0x2941c3=_0x2902ed,_0x500068=new _0x2c9a10(this[_0x2941c3(0xba)]);return _0x500068[_0x2941c3(0xf3)]({'tag':_0x2941c3(0xe6),'attributes':{'class':['ck',_0x2941c3(0xf9),_0x2941c3(0xf6),_0x2941c3(0xe0),this[_0x2941c3(0xc8)]['if'](_0x2941c3(0xb0),_0x2941c3(0xb9),_0x4b192c=>!_0x4b192c)]}}),_0x500068;}[_0x2902ed(0xdb)](){const _0x3e5c8d=_0x2902ed,_0x2f4310=new _0x139505(this[_0x3e5c8d(0xba)]);return _0x2f4310[_0x3e5c8d(0xde)]({'label':_0x156943(this[_0x3e5c8d(0xba)],_0x3e5c8d(0xd8)),'withText':!0x0}),_0x2f4310[_0x3e5c8d(0xdf)]({'on':{'click':this[_0x3e5c8d(0xc8)]['to'](_0x2c445b=>{const _0x245898=_0x3e5c8d;this[_0x245898(0xee)](_0x245898(0xf7),{'id':this[_0x245898(0xfe)]}),_0x2c445b[_0x245898(0xc2)]();})},'attributes':{'class':[_0x3e5c8d(0xfb),_0x3e5c8d(0xf4),this[_0x3e5c8d(0xc8)]['if'](_0x3e5c8d(0xe5),_0x3e5c8d(0xb9),_0x5de2b2=>_0x3e5c8d(0xc1)!==_0x5de2b2&&_0x3e5c8d(0xb3)!==_0x5de2b2),this[_0x3e5c8d(0xc8)]['if'](_0x3e5c8d(0xe5),_0x3e5c8d(0xf4),_0x2d3877=>_0x3e5c8d(0xc1)===_0x2d3877),this[_0x3e5c8d(0xc8)]['if'](_0x3e5c8d(0xe5),_0x3e5c8d(0xbe),_0x1e51d6=>_0x3e5c8d(0xb3)===_0x1e51d6)]}}),this['on'](_0x3e5c8d(0xd0),(_0x408a8a,_0x3eae88,_0x140e30)=>{const _0x120368=_0x3e5c8d;_0x2f4310[_0x120368(0xbb)]=_0x120368(0xc1)===_0x140e30,_0x120368(0xb3)===_0x140e30&&(_0x2f4310[_0x120368(0xbf)]=_0x156943(this[_0x120368(0xba)],_0x120368(0xbc)),_0x2f4310[_0x120368(0xc4)]=_0x230244);}),_0x2f4310;}[_0x2902ed(0xfc)](){const _0x44eb80=_0x2902ed,_0x1cd42c=new _0x139505(this[_0x44eb80(0xba)]);return _0x1cd42c[_0x44eb80(0xde)]({'label':_0x156943(this[_0x44eb80(0xba)],_0x44eb80(0xc7)),'withText':!0x0}),_0x1cd42c[_0x44eb80(0xdf)]({'on':{'click':this[_0x44eb80(0xc8)]['to'](_0xe5468a=>{const _0x411153=_0x44eb80;this[_0x411153(0xee)](_0x411153(0xb4),{'id':this[_0x411153(0xfe)]}),_0xe5468a[_0x411153(0xc2)]();})},'attributes':{'class':[_0x44eb80(0xcb),this[_0x44eb80(0xc8)]['if'](_0x44eb80(0xe5),_0x44eb80(0xb9),_0x330b61=>_0x44eb80(0xc1)!==_0x330b61&&_0x44eb80(0xed)!==_0x330b61),this[_0x44eb80(0xc8)]['if'](_0x44eb80(0xe5),_0x44eb80(0xd1),_0x4b39b0=>_0x44eb80(0xc1)===_0x4b39b0),this[_0x44eb80(0xc8)]['if'](_0x44eb80(0xe5),_0x44eb80(0xbe),_0x2100ad=>_0x44eb80(0xed)===_0x2100ad)]}}),this['on'](_0x44eb80(0xd0),(_0x3628f3,_0xaee846,_0x39cf81)=>{const _0x597e0f=_0x44eb80;_0x1cd42c[_0x597e0f(0xbb)]=_0x597e0f(0xc1)===_0x39cf81,_0x597e0f(0xed)===_0x39cf81&&(_0x1cd42c[_0x597e0f(0xbf)]=_0x156943(this[_0x597e0f(0xba)],_0x597e0f(0xf2)),_0x1cd42c[_0x597e0f(0xc4)]=_0x519681);}),_0x1cd42c;}[_0x2902ed(0xd3)](){const _0x21071d=_0x2902ed,_0x5c4a3c=new _0x139505(this[_0x21071d(0xba)]);return _0x5c4a3c[_0x21071d(0xde)]({'label':_0x156943(this[_0x21071d(0xba)],_0x21071d(0xeb)),'icon':_0xcdf8d4,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x21071d(0xb2),'class':_0x21071d(0xcd)}),_0x5c4a3c[_0x21071d(0xb1)](_0x21071d(0xff))['to'](this,_0x21071d(0xd2),_0x3203f5=>_0x3203f5),_0x5c4a3c['on'](_0x21071d(0xfd),()=>{const _0x5830df=_0x21071d;this[_0x5830df(0xd2)]=!this[_0x5830df(0xd2)];}),_0x5c4a3c;}[_0x2902ed(0xb5)](){const _0x27085e=_0x2902ed,_0x7e30b7=new _0x139505(this[_0x27085e(0xba)]);return _0x7e30b7[_0x27085e(0xde)]({'label':_0x156943(this[_0x27085e(0xba)],_0x27085e(0xd7)),'icon':_0x5dc3b3,'withText':!0x0,'isEnabled':!0x1}),_0x7e30b7[_0x27085e(0xdf)]({'attributes':{'class':[_0x27085e(0xfb),_0x27085e(0xbe),this[_0x27085e(0xc8)]['if'](_0x27085e(0xe5),_0x27085e(0xb9),_0x51746a=>_0x27085e(0xf1)!==_0x51746a)],'disabled':_0x27085e(0xe9)}}),_0x7e30b7;}}function _0xdc00(){const _0x60d8dc=['mouseover','ck-content','847885jSzKcX','ck-ai-button-secondary','_createDismissButtonView','execute','changeId','isOn','showDiff','bind','menuitemcheckbox','accepted','dismissChange','_createOutdatedButtonView','ck-ai_review__check-run-result-footer','ck-ai_review__check-run-result','infoButtonView','ck-hidden','locale','isEnabled','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','outdatedButtonView','ck-ai_review__check-run-result-status-button','label','4137KEIJZj','pending','stopPropagation','dismissButtonView','icon','hover','121920rZgORO','AI_REVIEW_MODE_DISMISS_CHANGE','bindTemplate','1323027vfBenD','acceptButtonView','ck-ai-button-tertiary','1MxldOk','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','2116030KNiqXz','_createResultResponseView','change:status','ck-ai_review__check-run-result-dismiss-button','isInfoToggleOn','_createInfoButtonView','103654ATjeKv','ck-ai_review__check-run-result_active','246078AnxtCN','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','AI_REVIEW_MODE_ACCEPT_CHANGE','click','activateChange','_createAcceptButtonView','ck-ai_review__check-run-result-action-buttons','deactivateChange','set','extendTemplate','ck-ai_review__check-run-result-response','mouseout','708ntaGRJ','target','isActive','status','div','preventDefault','setItemAsInactive','disabled','panel','AI_REVIEW_MODE_LEARN_MORE','setItemAsActive','rejected','fire','resultResponseView','tagName','outdated','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','setTemplate','ck-ai_review__check-run-result-accept-button','18iUkHEt','ck-reset_all-excluded','acceptChange'];_0xdc00=function(){return _0x60d8dc;};return _0xdc00();}
23
+ const _0x53462c=_0x5f5a;(function(_0x236335,_0x298a3b){const _0x3783f7=_0x5f5a,_0x17d672=_0x236335();while(!![]){try{const _0x427cfb=-parseInt(_0x3783f7(0xd7))/0x1*(parseInt(_0x3783f7(0xb8))/0x2)+-parseInt(_0x3783f7(0xad))/0x3*(parseInt(_0x3783f7(0xda))/0x4)+-parseInt(_0x3783f7(0xf6))/0x5*(-parseInt(_0x3783f7(0xbb))/0x6)+-parseInt(_0x3783f7(0xb1))/0x7*(parseInt(_0x3783f7(0xc6))/0x8)+parseInt(_0x3783f7(0xbd))/0x9*(parseInt(_0x3783f7(0xfb))/0xa)+-parseInt(_0x3783f7(0xf8))/0xb+parseInt(_0x3783f7(0xdb))/0xc*(parseInt(_0x3783f7(0xfd))/0xd);if(_0x427cfb===_0x298a3b)break;else _0x17d672['push'](_0x17d672['shift']());}catch(_0x1f8da1){_0x17d672['push'](_0x17d672['shift']());}}}(_0x5ac2,0xb2df3));import{View as _0x40157b,ButtonView as _0x419134}from'ckeditor5/src/ui.js';function _0x5f5a(_0x29e4b5,_0x2659ae){const _0x5ac212=_0x5ac2();return _0x5f5a=function(_0x5f5a66,_0x197023){_0x5f5a66=_0x5f5a66-0xad;let _0x438ef9=_0x5ac212[_0x5f5a66];return _0x438ef9;},_0x5f5a(_0x29e4b5,_0x2659ae);}function _0x5ac2(){const _0x164ae4=['outdated','set','isEnabled','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','change:status','infoButtonView','ck-ai_review__check-run-result-accept-button','isOn','3672464gZzact','_createDismissButtonView','dismissButtonView','panel','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','acceptButtonView','outdatedButtonView','mouseout','tagName','div','label','resultResponseView','ck-ai_review__check-run-result','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-button-tertiary','_createInfoButtonView','ck-reset_all-excluded','165049nsKvDn','_createResultResponseView','ck-ai_review__check-run-result_active','860JTTXHF','1644hzGlfq','ck-ai_review__check-run-result-status-button','mouseover','target','isInfoToggleOn','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','pending','setTemplate','acceptChange','setItemAsInactive','ck-ai_review__check-run-result-response','ck-ai_review__check-run-result-action-buttons','setItemAsActive','fire','icon','rejected','stopPropagation','accepted','ck-content','preventDefault','activateChange','changeId','isActive','status','menuitemcheckbox','disabled','AI_REVIEW_MODE_LEARN_MORE','206285cIHHhK','ck-ai_review__check-run-result-footer','5209380caMGvO','_createAcceptButtonView','dismissChange','7590fqdqsS','bindTemplate','153881oOHqCU','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','deactivateChange','5730qqcKLu','ck-ai-button-secondary','locale','showDiff','7hDEQyM','click','execute','hover','AI_REVIEW_MODE_ACCEPT_CHANGE','bind','ck-hidden','14nSVfXY','extendTemplate','ck-ai_review__check-run-result-dismiss-button','96ykTUcw','_createOutdatedButtonView','11259rpchDP'];_0x5ac2=function(){return _0x164ae4;};return _0x5ac2();}import{IconInfo as _0x303981,IconCheck as _0x521e2f,IconCancel as _0x299c12,IconOutdated as _0x401bfe}from'ckeditor5/src/icons.js';import{getTranslation as _0x568947}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x40157b{[_0x53462c(0xd1)];[_0x53462c(0xcb)];[_0x53462c(0xc8)];[_0x53462c(0xc3)];[_0x53462c(0xcc)];constructor(_0x11dd91,_0x2bfc7b){const _0x1b56f4=_0x53462c;super(_0x11dd91),this['id']=_0x2bfc7b,this[_0x1b56f4(0xbf)](_0x1b56f4(0xf2),_0x1b56f4(0xe1)),this[_0x1b56f4(0xbf)](_0x1b56f4(0xf0),_0x2bfc7b),this[_0x1b56f4(0xd1)]=this[_0x1b56f4(0xd8)](),this[_0x1b56f4(0xcb)]=this[_0x1b56f4(0xf9)](),this[_0x1b56f4(0xc8)]=this[_0x1b56f4(0xc7)](),this[_0x1b56f4(0xc3)]=this[_0x1b56f4(0xd5)](),this[_0x1b56f4(0xcc)]=this[_0x1b56f4(0xbc)](),this[_0x1b56f4(0xbf)](_0x1b56f4(0xdf),!0x1),this[_0x1b56f4(0xbf)](_0x1b56f4(0xf1),!0x1),this[_0x1b56f4(0xbf)](_0x1b56f4(0xb0),!0x0),this[_0x1b56f4(0xe2)]({'tag':_0x1b56f4(0xcf),'attributes':{'class':[_0x1b56f4(0xd2),this[_0x1b56f4(0xfc)]['if'](_0x1b56f4(0xf1),_0x1b56f4(0xd9))]},'on':{'click':this[_0x1b56f4(0xfc)]['to'](_0x1b56f4(0xb2)),'mouseover':this[_0x1b56f4(0xfc)]['to'](_0x1b56f4(0xdd)),'mouseout':this[_0x1b56f4(0xfc)]['to'](_0x1b56f4(0xcd))},'children':[this[_0x1b56f4(0xd1)],{'tag':_0x1b56f4(0xcf),'attributes':{'class':[_0x1b56f4(0xf7)]},'children':[{'tag':_0x1b56f4(0xcf),'attributes':{'class':[_0x1b56f4(0xe6)]},'children':[this[_0x1b56f4(0xcb)],this[_0x1b56f4(0xc8)],this[_0x1b56f4(0xcc)]]},this[_0x1b56f4(0xc3)]]}]}),this['on'](_0x1b56f4(0xb2),(_0x5c7cad,_0x1339a8)=>{const _0x2c35e6=_0x1b56f4;_0x1339a8&&_0x1339a8[_0x2c35e6(0xde)]&&'A'===_0x1339a8[_0x2c35e6(0xde)][_0x2c35e6(0xce)]&&_0x1339a8[_0x2c35e6(0xee)](),this[_0x2c35e6(0xe8)](_0x2c35e6(0xef),{'id':_0x2bfc7b,'source':this,'uiInteraction':_0x2c35e6(0xb2)});}),this['on'](_0x1b56f4(0xdd),()=>{const _0x3bb408=_0x1b56f4;this[_0x3bb408(0xe8)](_0x3bb408(0xef),{'id':_0x2bfc7b,'source':this,'uiInteraction':_0x3bb408(0xb4)});}),this['on'](_0x1b56f4(0xcd),()=>{const _0x48901f=_0x1b56f4;this[_0x48901f(0xe8)](_0x48901f(0xff),{'origin':_0x48901f(0xc9),'id':_0x2bfc7b,'source':this});});}[_0x53462c(0xe7)](){const _0x24eae5=_0x53462c;this[_0x24eae5(0xf1)]=!0x0;}[_0x53462c(0xe4)](){const _0x5c1e03=_0x53462c;this[_0x5c1e03(0xf1)]=!0x1;}[_0x53462c(0xd8)](){const _0x31913e=_0x53462c,_0x310982=new _0x40157b(this[_0x31913e(0xaf)]);return _0x310982[_0x31913e(0xe2)]({'tag':_0x31913e(0xcf),'attributes':{'class':['ck',_0x31913e(0xed),_0x31913e(0xd6),_0x31913e(0xe5),this[_0x31913e(0xfc)]['if'](_0x31913e(0xb0),_0x31913e(0xb7),_0x40447d=>!_0x40447d)]}}),_0x310982;}[_0x53462c(0xf9)](){const _0x3ea4f8=_0x53462c,_0x53d76b=new _0x419134(this[_0x3ea4f8(0xaf)]);return _0x53d76b[_0x3ea4f8(0xbf)]({'label':_0x568947(this[_0x3ea4f8(0xaf)],_0x3ea4f8(0xb5)),'withText':!0x0}),_0x53d76b[_0x3ea4f8(0xb9)]({'on':{'click':this[_0x3ea4f8(0xfc)]['to'](_0x19f25e=>{const _0x1652dc=_0x3ea4f8;this[_0x1652dc(0xe8)](_0x1652dc(0xe3),{'id':this[_0x1652dc(0xf0)]}),_0x19f25e[_0x1652dc(0xeb)]();})},'attributes':{'class':[_0x3ea4f8(0xae),_0x3ea4f8(0xc4),this[_0x3ea4f8(0xfc)]['if'](_0x3ea4f8(0xf2),_0x3ea4f8(0xb7),_0x51617d=>_0x3ea4f8(0xe1)!==_0x51617d&&_0x3ea4f8(0xec)!==_0x51617d),this[_0x3ea4f8(0xfc)]['if'](_0x3ea4f8(0xf2),_0x3ea4f8(0xc4),_0x6ad096=>_0x3ea4f8(0xe1)===_0x6ad096),this[_0x3ea4f8(0xfc)]['if'](_0x3ea4f8(0xf2),_0x3ea4f8(0xdc),_0x2b2145=>_0x3ea4f8(0xec)===_0x2b2145)]}}),this['on'](_0x3ea4f8(0xc2),(_0x55054f,_0x57611b,_0x5c799b)=>{const _0xccebbe=_0x3ea4f8;_0x53d76b[_0xccebbe(0xc0)]=_0xccebbe(0xe1)===_0x5c799b,_0xccebbe(0xec)===_0x5c799b&&(_0x53d76b[_0xccebbe(0xd0)]=_0x568947(this[_0xccebbe(0xaf)],_0xccebbe(0xc1)),_0x53d76b[_0xccebbe(0xe9)]=_0x521e2f);}),_0x53d76b;}[_0x53462c(0xc7)](){const _0x45e42d=_0x53462c,_0x6263e9=new _0x419134(this[_0x45e42d(0xaf)]);return _0x6263e9[_0x45e42d(0xbf)]({'label':_0x568947(this[_0x45e42d(0xaf)],_0x45e42d(0xd3)),'withText':!0x0}),_0x6263e9[_0x45e42d(0xb9)]({'on':{'click':this[_0x45e42d(0xfc)]['to'](_0x236b3e=>{const _0x327eb1=_0x45e42d;this[_0x327eb1(0xe8)](_0x327eb1(0xfa),{'id':this[_0x327eb1(0xf0)]}),_0x236b3e[_0x327eb1(0xeb)]();})},'attributes':{'class':[_0x45e42d(0xd4),this[_0x45e42d(0xfc)]['if'](_0x45e42d(0xf2),_0x45e42d(0xb7),_0x3a2c23=>_0x45e42d(0xe1)!==_0x3a2c23&&_0x45e42d(0xea)!==_0x3a2c23),this[_0x45e42d(0xfc)]['if'](_0x45e42d(0xf2),_0x45e42d(0xba),_0xaddbe3=>_0x45e42d(0xe1)===_0xaddbe3),this[_0x45e42d(0xfc)]['if'](_0x45e42d(0xf2),_0x45e42d(0xdc),_0x1f53fe=>_0x45e42d(0xea)===_0x1f53fe)]}}),this['on'](_0x45e42d(0xc2),(_0x17a62a,_0x45692e,_0x3806e3)=>{const _0x2ad907=_0x45e42d;_0x6263e9[_0x2ad907(0xc0)]=_0x2ad907(0xe1)===_0x3806e3,_0x2ad907(0xea)===_0x3806e3&&(_0x6263e9[_0x2ad907(0xd0)]=_0x568947(this[_0x2ad907(0xaf)],_0x2ad907(0xe0)),_0x6263e9[_0x2ad907(0xe9)]=_0x299c12);}),_0x6263e9;}[_0x53462c(0xd5)](){const _0x3451a3=_0x53462c,_0x2750b8=new _0x419134(this[_0x3451a3(0xaf)]);return _0x2750b8[_0x3451a3(0xbf)]({'label':_0x568947(this[_0x3451a3(0xaf)],_0x3451a3(0xf5)),'icon':_0x303981,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x3451a3(0xf3),'class':_0x3451a3(0xca)}),_0x2750b8[_0x3451a3(0xb6)](_0x3451a3(0xc5))['to'](this,_0x3451a3(0xdf),_0x285ee6=>_0x285ee6),_0x2750b8['on'](_0x3451a3(0xb3),()=>{const _0x18fe11=_0x3451a3;this[_0x18fe11(0xdf)]=!this[_0x18fe11(0xdf)];}),_0x2750b8;}[_0x53462c(0xbc)](){const _0x3f5df3=_0x53462c,_0x157f42=new _0x419134(this[_0x3f5df3(0xaf)]);return _0x157f42[_0x3f5df3(0xbf)]({'label':_0x568947(this[_0x3f5df3(0xaf)],_0x3f5df3(0xfe)),'icon':_0x401bfe,'withText':!0x0,'isEnabled':!0x1}),_0x157f42[_0x3f5df3(0xb9)]({'attributes':{'class':[_0x3f5df3(0xae),_0x3f5df3(0xdc),this[_0x3f5df3(0xfc)]['if'](_0x3f5df3(0xf2),_0x3f5df3(0xb7),_0x411dd1=>_0x3f5df3(0xbe)!==_0x411dd1)],'disabled':_0x3f5df3(0xf4)}}),_0x157f42;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x4d586a,KeystrokeHandler as _0xe83c00,FocusTracker as _0x138887}from'ckeditor5/src/utils.js';import{View as _0x45d871,ViewCollection as _0x29fdd1,ButtonView as _0x58328a,FormRowView as _0x14f14a,createDropdown as _0x383d3e,addListToDropdown as _0x976e35,UIModel as _0x56c7bd,ButtonLabelView as _0xa1357b,LabeledFieldView as _0x5a2e2a,FocusCycler as _0x300f61}from'ckeditor5/src/ui.js';import{getTranslation as _0x3075d6}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x51237e}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x45d871{['focusTracker']=new _0x138887();['keystrokes']=new _0xe83c00();['focusCycler'];['_focusables']=new _0x29fdd1();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x464d85,_0x9dbabb,_0xfcfc2e=!0x1){super(_0x464d85),this['_check']=_0x9dbabb,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x9dbabb['defaultModel']?_0x9dbabb['defaultModel']['id']:'',this['_defaultLabel']=_0x9dbabb['defaultModel']?_0x9dbabb['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x5a2e2a(this['locale'],()=>new _0x51237e(_0x464d85)),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 _0x4d586a(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0xfcfc2e),_0x976e35(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x14f14a(this['locale'],{'children':[this['promptInputView']]}),new _0x14f14a(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x55fe42,_0xcbecaa)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0xcbecaa()):_0xcbecaa();}),this['focusCycler']=new _0x300f61({'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'](_0x421959=>{this['_focusables']['add'](_0x421959),this['focusTracker']['add'](_0x421959['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 _0x338616 of this['_getFormValidators']()){const _0x3e7cf6=_0x338616();if(_0x3e7cf6)return this['promptInputView']['errorText']=_0x3e7cf6,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x3075d6(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3716dc=new _0x58328a(this['locale']),t=this['locale']['t'];return _0x3716dc['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3716dc['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3716dc;}['_createCancelButtonView'](){const _0x38faf8=new _0x58328a(this['locale']),t=this['locale']['t'];return _0x38faf8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x38faf8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2c35d5=>{_0x2c35d5['stopPropagation']();})}}),_0x38faf8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x38faf8;}['_setModelList'](_0x4829a6){this['_modelSelectionDropdownItems']['clear']();const _0x235d9f=this['_check']['models'];if(_0x4829a6)this['set']('modelDisplayMode','hidden');else{const _0x55d192=0x1===_0x235d9f['length'];this['set']('modelDisplayMode',_0x55d192?'name':'selector');}if(this['resetToDefault'](),_0x235d9f?.['length']){0x1===_0x235d9f['length']&&this['set']('activeModelName',_0x235d9f[0x0]['name']||_0x235d9f[0x0]['id']);for(const _0x3e13a of _0x235d9f){const _0x231326=new _0x56c7bd({'label':_0x3e13a['name'],'withText':!0x0,'role':'menuitemradio','id':_0x3e13a['id'],'model':_0x3e13a});_0x231326['bind']('isOn')['to'](this,'modelId',_0x361ab6=>_0x361ab6===_0x3e13a['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x231326,'labelView':new ModelButtonLabelView(this['locale'],_0x3e13a)});}}}['_createModelSelectionDropdown'](){const _0x11e455=_0x383d3e(this['locale']);return _0x11e455['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x11e455['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x11e455['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x29294e=>'selector'===_0x29294e),this['listenTo'](_0x11e455,'execute',_0x406bfc=>{this['modelId']=_0x406bfc['source']['model']['id'],_0x11e455['buttonView']['label']=_0x406bfc['source']['label'];}),_0x11e455;}['_createModelNameView'](){const _0x1e1548=new ModelNameView(this['locale']);return _0x1e1548['bind']('text')['to'](this,'activeModelName',_0x592270=>_0x592270??''),_0x1e1548['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2d0e17=>'name'===_0x2d0e17),_0x1e1548;}['_createActionsFooterView'](){const _0x483b45=new _0x45d871(this['locale']);return _0x483b45['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']]}]}),_0x483b45;}}class ModelNameView extends _0x45d871{constructor(_0x54a51a){super(_0x54a51a),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x289cb6=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x289cb6['if']('isVisible','ck-hidden',_0x2e1a07=>!_0x2e1a07)]},'children':[{'text':_0x289cb6['to']('text')}]});}}class ModelButtonLabelView extends _0xa1357b{constructor(_0x52de61,_0x393180){super();const _0x59263d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x59263d['to']('style'),'id':_0x59263d['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x59263d['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x393180['description']||'']}]}]});}}
23
+ import{Collection as _0x5f40a1,KeystrokeHandler as _0x31b603,FocusTracker as _0x2df2d4}from'ckeditor5/src/utils.js';import{View as _0xe71736,ViewCollection as _0x54953c,ButtonView as _0x4fa069,FormRowView as _0x14585c,createDropdown as _0x169257,addListToDropdown as _0x35b4ab,UIModel as _0x147170,ButtonLabelView as _0x4b7a10,LabeledFieldView as _0x91d691,FocusCycler as _0xb1f4c8}from'ckeditor5/src/ui.js';import{getTranslation as _0x2762de}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x4bf712}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0xe71736{['focusTracker']=new _0x2df2d4();['keystrokes']=new _0x31b603();['focusCycler'];['_focusables']=new _0x54953c();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x46ad90,_0x365c3d,_0x5c701d=!0x1){super(_0x46ad90),this['_check']=_0x365c3d,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x365c3d['defaultModel']?_0x365c3d['defaultModel']['id']:'',this['_defaultLabel']=_0x365c3d['defaultModel']?_0x365c3d['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x91d691(this['locale'],()=>new _0x4bf712(_0x46ad90)),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 _0x5f40a1(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x5c701d),_0x35b4ab(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x14585c(this['locale'],{'children':[this['promptInputView']]}),new _0x14585c(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x5642e4,_0x108e1e)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x108e1e()):_0x108e1e();}),this['focusCycler']=new _0xb1f4c8({'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'](_0x16689f=>{this['_focusables']['add'](_0x16689f),this['focusTracker']['add'](_0x16689f['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 _0x1fad7e of this['_getFormValidators']()){const _0xe6e9d5=_0x1fad7e();if(_0xe6e9d5)return this['promptInputView']['errorText']=_0xe6e9d5,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x2762de(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3748b8=new _0x4fa069(this['locale']),t=this['locale']['t'];return _0x3748b8['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3748b8['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3748b8;}['_createCancelButtonView'](){const _0x3e081b=new _0x4fa069(this['locale']),t=this['locale']['t'];return _0x3e081b['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x3e081b['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3d84ec=>{_0x3d84ec['stopPropagation']();})}}),_0x3e081b['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x3e081b;}['_setModelList'](_0x57f580){this['_modelSelectionDropdownItems']['clear']();const _0x385e5d=this['_check']['models'];if(_0x57f580)this['set']('modelDisplayMode','hidden');else{const _0x2ccb41=0x1===_0x385e5d['length'];this['set']('modelDisplayMode',_0x2ccb41?'name':'selector');}if(this['resetToDefault'](),_0x385e5d?.['length']){0x1===_0x385e5d['length']&&this['set']('activeModelName',_0x385e5d[0x0]['name']||_0x385e5d[0x0]['id']);for(const _0x28c726 of _0x385e5d){const _0x257fca=new _0x147170({'label':_0x28c726['name'],'withText':!0x0,'role':'menuitemradio','id':_0x28c726['id'],'model':_0x28c726});_0x257fca['bind']('isOn')['to'](this,'modelId',_0x4c8e4b=>_0x4c8e4b===_0x28c726['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x257fca,'labelView':new ModelButtonLabelView(this['locale'],_0x28c726)});}}}['_createModelSelectionDropdown'](){const _0x4895e3=_0x169257(this['locale']);return _0x4895e3['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x4895e3['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x4895e3['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x58e30a=>'selector'===_0x58e30a),this['listenTo'](_0x4895e3,'execute',_0x4900aa=>{this['modelId']=_0x4900aa['source']['model']['id'],_0x4895e3['buttonView']['label']=_0x4900aa['source']['label'];}),_0x4895e3;}['_createModelNameView'](){const _0x276fb7=new ModelNameView(this['locale']);return _0x276fb7['bind']('text')['to'](this,'activeModelName',_0x174313=>_0x174313??''),_0x276fb7['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3121d2=>'name'===_0x3121d2),_0x276fb7;}['_createActionsFooterView'](){const _0x3bc52a=new _0xe71736(this['locale']);return _0x3bc52a['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']]}]}),_0x3bc52a;}}class ModelNameView extends _0xe71736{constructor(_0xda2be7){super(_0xda2be7),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x25ccc3=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x25ccc3['if']('isVisible','ck-hidden',_0x65daf9=>!_0x65daf9)]},'children':[{'text':_0x25ccc3['to']('text')}]});}}class ModelButtonLabelView extends _0x4b7a10{constructor(_0x34174e,_0x152918){super();const _0x526de0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x526de0['to']('style'),'id':_0x526de0['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x526de0['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x152918['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2a041c,_0x17767e){var _0x48a132=_0x1fc8,_0x46e15a=_0x2a041c();while(!![]){try{var _0x171397=parseInt(_0x48a132(0x1f1))/0x1+-parseInt(_0x48a132(0x1e5))/0x2+parseInt(_0x48a132(0x1e8))/0x3*(-parseInt(_0x48a132(0x1e9))/0x4)+-parseInt(_0x48a132(0x1ec))/0x5+-parseInt(_0x48a132(0x1eb))/0x6*(parseInt(_0x48a132(0x1f0))/0x7)+parseInt(_0x48a132(0x1ee))/0x8*(parseInt(_0x48a132(0x1ef))/0x9)+parseInt(_0x48a132(0x1e7))/0xa;if(_0x171397===_0x17767e)break;else _0x46e15a['push'](_0x46e15a['shift']());}catch(_0x1ce135){_0x46e15a['push'](_0x46e15a['shift']());}}}(_0x5b78,0x250bb));import{ButtonView as _0x5b5436}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x5b78(){var _0x3ab03f=['12wUwgoF','872760uxzntf','set','23064bKFjsS','567LMTzvt','954968XAxaNd','42180JkaJXg','ck-ai-button-primary','finishReview','287628fzUVvJ','fire','8182080mrwlRI','3iORVBj','1196256leuLae','execute'];_0x5b78=function(){return _0x3ab03f;};return _0x5b78();}function _0x1fc8(_0x12f27a,_0x211685){var _0x5b78d2=_0x5b78();return _0x1fc8=function(_0x1fc84f,_0x8c339b){_0x1fc84f=_0x1fc84f-0x1e4;var _0x49a088=_0x5b78d2[_0x1fc84f];return _0x49a088;},_0x1fc8(_0x12f27a,_0x211685);}export class AIReviewCoreFinishReviewButtonView extends _0x5b5436{constructor(_0x520e70,_0x586c57){var _0x511ba9=_0x1fc8;super(_0x586c57),this[_0x511ba9(0x1ed)]({'label':_0x520e70,'withText':!0x0,'class':_0x511ba9(0x1f2)}),this['on'](_0x511ba9(0x1ea),()=>{var _0x4ac745=_0x511ba9;this[_0x4ac745(0x1e6)](_0x4ac745(0x1e4));});}}
23
+ function _0x1197(_0xe96f8d,_0x312932){var _0x74774b=_0x7477();return _0x1197=function(_0x1197b0,_0x51442e){_0x1197b0=_0x1197b0-0x7a;var _0x39bb8c=_0x74774b[_0x1197b0];return _0x39bb8c;},_0x1197(_0xe96f8d,_0x312932);}(function(_0x322f70,_0x149d4f){var _0x32a5e9=_0x1197,_0x135cb8=_0x322f70();while(!![]){try{var _0x55f3ae=-parseInt(_0x32a5e9(0x7c))/0x1+parseInt(_0x32a5e9(0x7e))/0x2+-parseInt(_0x32a5e9(0x81))/0x3*(-parseInt(_0x32a5e9(0x84))/0x4)+-parseInt(_0x32a5e9(0x85))/0x5*(parseInt(_0x32a5e9(0x7d))/0x6)+-parseInt(_0x32a5e9(0x82))/0x7+parseInt(_0x32a5e9(0x7a))/0x8+parseInt(_0x32a5e9(0x7b))/0x9;if(_0x55f3ae===_0x149d4f)break;else _0x135cb8['push'](_0x135cb8['shift']());}catch(_0x1d5991){_0x135cb8['push'](_0x135cb8['shift']());}}}(_0x7477,0xc4ab0));function _0x7477(){var _0x5120af=['1662sBIeuv','616182dVRBwD','ck-ai-button-primary','execute','18066wnuUBO','8886017aNWmCg','set','792EiqIUK','18365cYqeaS','finishReview','fire','7813392VouqZG','15616782SHAnbv','1119915FEyIgB'];_0x7477=function(){return _0x5120af;};return _0x7477();}import{ButtonView as _0x77179b}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x77179b{constructor(_0x5f1dd3,_0xb55389){var _0x4e2aa1=_0x1197;super(_0xb55389),this[_0x4e2aa1(0x83)]({'label':_0x5f1dd3,'withText':!0x0,'class':_0x4e2aa1(0x7f)}),this['on'](_0x4e2aa1(0x80),()=>{var _0x5f5d82=_0x4e2aa1;this[_0x5f5d82(0x87)](_0x5f5d82(0x86));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a61(_0x2afd16,_0x4cf287){const _0x17c281=_0x17c2();return _0x5a61=function(_0x5a61d6,_0xa98e18){_0x5a61d6=_0x5a61d6-0x7e;let _0x368753=_0x17c281[_0x5a61d6];return _0x368753;},_0x5a61(_0x2afd16,_0x4cf287);}(function(_0x18cba1,_0x48264f){const _0xb89a31=_0x5a61,_0x269239=_0x18cba1();while(!![]){try{const _0x23abff=parseInt(_0xb89a31(0x81))/0x1*(parseInt(_0xb89a31(0x90))/0x2)+-parseInt(_0xb89a31(0x85))/0x3+parseInt(_0xb89a31(0x83))/0x4+-parseInt(_0xb89a31(0x82))/0x5*(-parseInt(_0xb89a31(0x7f))/0x6)+parseInt(_0xb89a31(0x89))/0x7*(parseInt(_0xb89a31(0x84))/0x8)+-parseInt(_0xb89a31(0x8b))/0x9*(parseInt(_0xb89a31(0x80))/0xa)+-parseInt(_0xb89a31(0x8c))/0xb*(-parseInt(_0xb89a31(0x92))/0xc);if(_0x23abff===_0x48264f)break;else _0x269239['push'](_0x269239['shift']());}catch(_0x2c22bd){_0x269239['push'](_0x269239['shift']());}}}(_0x17c2,0xdb8fb));import{View as _0x148b9a}from'ckeditor5/src/ui.js';function _0x17c2(){const _0x139733=['7299mPVTTk','5907QxiaZQ','setTemplate','isVisible','ck-hidden','1034WnqpVu','div','3264nMwWxa','ck-ai_review__general-error-container','24IEpPJh','18830fzkLtj','1709XiqlXC','1066810ppBBKV','2079440aejAoR','10512344EykEAT','3871596SdyPAJ','bindTemplate','errorMessage','ck\x20ck-ai-notification\x20ck-ai-notification_error','7cEATEk','set'];_0x17c2=function(){return _0x139733;};return _0x17c2();}export class AIReviewCoreGeneralErrorView extends _0x148b9a{constructor(_0x4aa0ca){const _0x1e437c=_0x5a61;super(_0x4aa0ca),this[_0x1e437c(0x8a)](_0x1e437c(0x8e),!0x1),this[_0x1e437c(0x8a)](_0x1e437c(0x87),'');const _0x488e03=this[_0x1e437c(0x86)];this[_0x1e437c(0x8d)]({'tag':_0x1e437c(0x91),'attributes':{'class':['ck',_0x1e437c(0x7e),_0x488e03['if'](_0x1e437c(0x8e),_0x1e437c(0x8f),_0x31a143=>!_0x31a143)]},'children':[{'tag':'p','attributes':{'class':_0x1e437c(0x88)},'children':[{'text':_0x488e03['to'](_0x1e437c(0x87))}]}]});}}
23
+ function _0x4440(){const _0x275ff3=['701757sGMeEv','10mHMvCv','8RMltiX','div','2582703pJtZdz','71490XZOQzt','ck-hidden','ck\x20ck-ai-notification\x20ck-ai-notification_error','set','bindTemplate','25XHIaBa','719040aMFpHu','ck-ai_review__general-error-container','errorMessage','isVisible','26834fUgUtH','1398420vwNcqB','setTemplate','79541zlPobB'];_0x4440=function(){return _0x275ff3;};return _0x4440();}(function(_0x44a8d6,_0x138347){const _0x2555d9=_0xbea4,_0x4b5366=_0x44a8d6();while(!![]){try{const _0x2891d5=-parseInt(_0x2555d9(0xef))/0x1*(parseInt(_0x2555d9(0xf4))/0x2)+-parseInt(_0x2555d9(0xf8))/0x3+parseInt(_0x2555d9(0xf0))/0x4+parseInt(_0x2555d9(0xf5))/0x5+parseInt(_0x2555d9(0xfd))/0x6+parseInt(_0x2555d9(0xf7))/0x7*(-parseInt(_0x2555d9(0xfa))/0x8)+parseInt(_0x2555d9(0xfc))/0x9*(parseInt(_0x2555d9(0xf9))/0xa);if(_0x2891d5===_0x138347)break;else _0x4b5366['push'](_0x4b5366['shift']());}catch(_0x1d3d3d){_0x4b5366['push'](_0x4b5366['shift']());}}}(_0x4440,0x2b5d3));import{View as _0x24a0d5}from'ckeditor5/src/ui.js';function _0xbea4(_0x1fab7a,_0x4179ca){const _0x444026=_0x4440();return _0xbea4=function(_0xbea44b,_0x44ddd5){_0xbea44b=_0xbea44b-0xee;let _0x5755c6=_0x444026[_0xbea44b];return _0x5755c6;},_0xbea4(_0x1fab7a,_0x4179ca);}export class AIReviewCoreGeneralErrorView extends _0x24a0d5{constructor(_0x2f2bf7){const _0x242ba1=_0xbea4;super(_0x2f2bf7),this[_0x242ba1(0x100)](_0x242ba1(0xf3),!0x1),this[_0x242ba1(0x100)](_0x242ba1(0xf2),'');const _0x2b0885=this[_0x242ba1(0xee)];this[_0x242ba1(0xf6)]({'tag':_0x242ba1(0xfb),'attributes':{'class':['ck',_0x242ba1(0xf1),_0x2b0885['if'](_0x242ba1(0xf3),_0x242ba1(0xfe),_0x524637=>!_0x524637)]},'children':[{'tag':'p','attributes':{'class':_0x242ba1(0xff)},'children':[{'text':_0x2b0885['to'](_0x242ba1(0xf2))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5d7a(_0x357a1a,_0x2e7d72){var _0x129f2f=_0x129f();return _0x5d7a=function(_0x5d7a48,_0x36cf44){_0x5d7a48=_0x5d7a48-0x124;var _0x1553d8=_0x129f2f[_0x5d7a48];return _0x1553d8;},_0x5d7a(_0x357a1a,_0x2e7d72);}var _0x5bde0b=_0x5d7a;(function(_0x5b71c6,_0x563343){var _0x49fe1e=_0x5d7a,_0x47c011=_0x5b71c6();while(!![]){try{var _0x2b6863=-parseInt(_0x49fe1e(0x132))/0x1*(parseInt(_0x49fe1e(0x12b))/0x2)+-parseInt(_0x49fe1e(0x135))/0x3*(-parseInt(_0x49fe1e(0x13e))/0x4)+-parseInt(_0x49fe1e(0x13d))/0x5*(parseInt(_0x49fe1e(0x134))/0x6)+parseInt(_0x49fe1e(0x133))/0x7+parseInt(_0x49fe1e(0x126))/0x8*(-parseInt(_0x49fe1e(0x12d))/0x9)+-parseInt(_0x49fe1e(0x12c))/0xa+parseInt(_0x49fe1e(0x131))/0xb;if(_0x2b6863===_0x563343)break;else _0x47c011['push'](_0x47c011['shift']());}catch(_0x52da09){_0x47c011['push'](_0x47c011['shift']());}}}(_0x129f,0x99470));import{TextareaView as _0x175d78}from'ckeditor5/src/ui.js';function _0x129f(){var _0x424a07=['extendTemplate','MIN_ROWS','MAX_ROWS','2350650AoPyrR','4129920LQjlgb','27kxPVte','value','trim','element','6242258iIWBNP','1KYBlIo','4686766qTClTc','90PiCUZd','15jgNNCt','update','listenTo','keystrokes','ck-review__prompt-input','minRows','maxRows','isEmpty','45485VdRXgI','969876qeAmup','render','ai-review-prompt-input','258040TytUIg','set'];_0x129f=function(){return _0x424a07;};return _0x129f();}import{KeystrokeHandler as _0x56e9fc}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x175d78{[_0x5bde0b(0x138)];static [_0x5bde0b(0x129)]=0x1;static [_0x5bde0b(0x12a)]=0xc;constructor(_0x5b72c1){var _0x3cfcff=_0x5bde0b;super(_0x5b72c1),this[_0x3cfcff(0x127)](_0x3cfcff(0x13c),!0x0),this[_0x3cfcff(0x138)]=new _0x56e9fc(),this[_0x3cfcff(0x13a)]=AIReviewCorePromptInputView[_0x3cfcff(0x129)],this[_0x3cfcff(0x13b)]=AIReviewCorePromptInputView[_0x3cfcff(0x12a)],this[_0x3cfcff(0x128)]({'attributes':{'id':_0x3cfcff(0x125),'class':['ck',_0x3cfcff(0x139)]}});}[_0x5bde0b(0x124)](){var _0x280495=_0x5bde0b;super[_0x280495(0x124)](),this['on'](_0x280495(0x136),()=>{var _0x522f9a=_0x280495;this[_0x522f9a(0x13c)]=''===this[_0x522f9a(0x130)][_0x522f9a(0x12e)]?.[_0x522f9a(0x12f)]();}),this[_0x280495(0x138)][_0x280495(0x137)](this[_0x280495(0x130)]);}}
23
+ function _0x4924(){var _0x181940=['set','maxRows','1297980daKAZJ','ck-review__prompt-input','1383220zIkEEl','3550812vrNBfh','listenTo','isEmpty','MIN_ROWS','trim','minRows','ai-review-prompt-input','update','7fjjLab','extendTemplate','207317iWekWv','keystrokes','3111328tNjREI','1361440mTaxZe','367284RmzABW','MAX_ROWS','value','render','element'];_0x4924=function(){return _0x181940;};return _0x4924();}var _0x279f5a=_0x4d6e;(function(_0x69d8b,_0x2bdf0b){var _0x17654a=_0x4d6e,_0x190c86=_0x69d8b();while(!![]){try{var _0x200769=parseInt(_0x17654a(0x170))/0x1+parseInt(_0x17654a(0x165))/0x2+parseInt(_0x17654a(0x15c))/0x3+-parseInt(_0x17654a(0x166))/0x4+parseInt(_0x17654a(0x173))/0x5+-parseInt(_0x17654a(0x163))/0x6*(parseInt(_0x17654a(0x16e))/0x7)+parseInt(_0x17654a(0x172))/0x8;if(_0x200769===_0x2bdf0b)break;else _0x190c86['push'](_0x190c86['shift']());}catch(_0x2d9c39){_0x190c86['push'](_0x190c86['shift']());}}}(_0x4924,0x8d3de));import{TextareaView as _0x4cffcf}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xde36ed}from'ckeditor5/src/utils.js';function _0x4d6e(_0x4c4aab,_0x318dbe){var _0x492437=_0x4924();return _0x4d6e=function(_0x4d6e5b,_0x3e83d0){_0x4d6e5b=_0x4d6e5b-0x15c;var _0x5edb33=_0x492437[_0x4d6e5b];return _0x5edb33;},_0x4d6e(_0x4c4aab,_0x318dbe);}export class AIReviewCorePromptInputView extends _0x4cffcf{[_0x279f5a(0x171)];static [_0x279f5a(0x169)]=0x1;static [_0x279f5a(0x15d)]=0xc;constructor(_0x52be99){var _0x4b7246=_0x279f5a;super(_0x52be99),this[_0x4b7246(0x161)](_0x4b7246(0x168),!0x0),this[_0x4b7246(0x171)]=new _0xde36ed(),this[_0x4b7246(0x16b)]=AIReviewCorePromptInputView[_0x4b7246(0x169)],this[_0x4b7246(0x162)]=AIReviewCorePromptInputView[_0x4b7246(0x15d)],this[_0x4b7246(0x16f)]({'attributes':{'id':_0x4b7246(0x16c),'class':['ck',_0x4b7246(0x164)]}});}[_0x279f5a(0x15f)](){var _0x5f10a3=_0x279f5a;super[_0x5f10a3(0x15f)](),this['on'](_0x5f10a3(0x16d),()=>{var _0x4d7a60=_0x5f10a3;this[_0x4d7a60(0x168)]=''===this[_0x4d7a60(0x160)][_0x4d7a60(0x15e)]?.[_0x4d7a60(0x16a)]();}),this[_0x5f10a3(0x171)][_0x5f10a3(0x167)](this[_0x5f10a3(0x160)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f4e7d=_0x21d9;(function(_0x72bd17,_0x2b84f9){const _0x12b3fd=_0x21d9,_0x3ff877=_0x72bd17();while(!![]){try{const _0x2635f4=parseInt(_0x12b3fd(0x1b7))/0x1+parseInt(_0x12b3fd(0x1c1))/0x2*(parseInt(_0x12b3fd(0x1cf))/0x3)+parseInt(_0x12b3fd(0x1be))/0x4+-parseInt(_0x12b3fd(0x1c4))/0x5*(parseInt(_0x12b3fd(0x1cd))/0x6)+parseInt(_0x12b3fd(0x1b8))/0x7*(-parseInt(_0x12b3fd(0x1d3))/0x8)+parseInt(_0x12b3fd(0x1c0))/0x9+-parseInt(_0x12b3fd(0x1d1))/0xa*(parseInt(_0x12b3fd(0x1c8))/0xb);if(_0x2635f4===_0x2b84f9)break;else _0x3ff877['push'](_0x3ff877['shift']());}catch(_0x154dd1){_0x3ff877['push'](_0x3ff877['shift']());}}}(_0x316e,0x2afa0));function _0x316e(){const _0x23e4f0=['setChecks','entries','1144712uJQLLS','runReviewCheck','3060612OrrSXE','7106zhHiiV','ck-hidden','resetToDefault','27050zfJKHV','length','div','ck-ai_review__check-list','167255ywyHcT','isVisible','bindTemplate','_setupTemplate','delegate','18MRzkXR','add','228gOiqaf','locale','430Gbcbck','resetAllParameterizedChecks','835352BKLERX','_checkViews','54222hwPNjr','7HVXGJs','clear','hasChecks','setTemplate'];_0x316e=function(){return _0x23e4f0;};return _0x316e();}import{ListItemView as _0x592c29,ViewCollection as _0x32c9bf}from'ckeditor5/src/ui.js';function _0x21d9(_0x5c3dd0,_0x1db024){const _0x316e18=_0x316e();return _0x21d9=function(_0x21d9d1,_0x2e7b20){_0x21d9d1=_0x21d9d1-0x1b6;let _0x5f0d51=_0x316e18[_0x21d9d1];return _0x5f0d51;},_0x21d9(_0x5c3dd0,_0x1db024);}import{AIReviewCoreReviewCommandListItemView as _0x2a2247}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x592c29{[_0x4f4e7d(0x1b6)];constructor(_0x1efdd3){const _0x1582ca=_0x4f4e7d;super(_0x1efdd3),this[_0x1582ca(0x1b6)]=new _0x32c9bf(),this[_0x1582ca(0x1cb)]();}[_0x4f4e7d(0x1bc)](_0x4c5689,_0x3b577b=!0x1){const _0x384d22=_0x4f4e7d;this[_0x384d22(0x1b6)][_0x384d22(0x1b9)]();for(const [_0x569aaa,_0x20f5be]of _0x4c5689[_0x384d22(0x1bd)]()){const _0x84f105=new _0x2a2247(this[_0x384d22(0x1d0)],_0x20f5be,_0x569aaa,_0x3b577b);_0x84f105[_0x384d22(0x1cc)](_0x384d22(0x1bf))['to'](this),this[_0x384d22(0x1b6)][_0x384d22(0x1ce)](_0x84f105);}}[_0x4f4e7d(0x1ba)](){const _0x330299=_0x4f4e7d;return this[_0x330299(0x1b6)][_0x330299(0x1c5)]>0x0;}[_0x4f4e7d(0x1d2)](){const _0x4ac6a0=_0x4f4e7d;for(const _0x16a890 of this[_0x4ac6a0(0x1b6)])_0x16a890 instanceof _0x2a2247&&_0x16a890[_0x4ac6a0(0x1c3)]();}[_0x4f4e7d(0x1cb)](){const _0x5e1d8b=_0x4f4e7d,_0x55718d=this[_0x5e1d8b(0x1ca)];this[_0x5e1d8b(0x1bb)]({'tag':_0x5e1d8b(0x1c6),'attributes':{'class':[_0x5e1d8b(0x1c7),_0x55718d['if'](_0x5e1d8b(0x1c9),_0x5e1d8b(0x1c2),_0x145983=>!_0x145983)]},'children':this[_0x5e1d8b(0x1b6)]});}}
23
+ const _0x486607=_0x1fd8;(function(_0x410fed,_0x32402a){const _0x31dfd1=_0x1fd8,_0x3c8312=_0x410fed();while(!![]){try{const _0x896fa7=parseInt(_0x31dfd1(0x122))/0x1+parseInt(_0x31dfd1(0x117))/0x2*(-parseInt(_0x31dfd1(0x10b))/0x3)+parseInt(_0x31dfd1(0x10f))/0x4+-parseInt(_0x31dfd1(0x108))/0x5+-parseInt(_0x31dfd1(0x11e))/0x6+-parseInt(_0x31dfd1(0x10d))/0x7*(parseInt(_0x31dfd1(0x107))/0x8)+-parseInt(_0x31dfd1(0x110))/0x9*(-parseInt(_0x31dfd1(0x10c))/0xa);if(_0x896fa7===_0x32402a)break;else _0x3c8312['push'](_0x3c8312['shift']());}catch(_0x46ec83){_0x3c8312['push'](_0x3c8312['shift']());}}}(_0x1e1e,0x23d38));import{ListItemView as _0x41fb59,ViewCollection as _0x4ee49a}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x2d0de6}from'./aireviewcorereviewcommandlistitemview.js';function _0x1e1e(){const _0x2f1638=['runReviewCheck','ck-ai_review__check-list','bindTemplate','126816DuyvMK','div','setTemplate','entries','length','resetToDefault','resetAllParameterizedChecks','439848MIeRwc','hasChecks','setChecks','ck-hidden','98606YkrSSs','add','230104OAaPfU','519055pRmBSe','isVisible','clear','9XwJaXg','10DhYpKg','35TJQGUv','delegate','615560qLgYuf','3648654LuFWiH','_checkViews','locale','_setupTemplate'];_0x1e1e=function(){return _0x2f1638;};return _0x1e1e();}import'../../../theme/aireviewcore/aireviewcore-check-list.css';function _0x1fd8(_0x35265f,_0x30b035){const _0x1e1e43=_0x1e1e();return _0x1fd8=function(_0x1fd8ee,_0xd13bb9){_0x1fd8ee=_0x1fd8ee-0x106;let _0x2867dc=_0x1e1e43[_0x1fd8ee];return _0x2867dc;},_0x1fd8(_0x35265f,_0x30b035);}export class AIReviewCoreReviewCheckListView extends _0x41fb59{[_0x486607(0x111)];constructor(_0x2b10f8){const _0x1644b0=_0x486607;super(_0x2b10f8),this[_0x1644b0(0x111)]=new _0x4ee49a(),this[_0x1644b0(0x113)]();}[_0x486607(0x120)](_0x1adb67,_0x28c598=!0x1){const _0x79cdd8=_0x486607;this[_0x79cdd8(0x111)][_0x79cdd8(0x10a)]();for(const [_0x441f5b,_0x1397ab]of _0x1adb67[_0x79cdd8(0x11a)]()){const _0x26f31b=new _0x2d0de6(this[_0x79cdd8(0x112)],_0x1397ab,_0x441f5b,_0x28c598);_0x26f31b[_0x79cdd8(0x10e)](_0x79cdd8(0x114))['to'](this),this[_0x79cdd8(0x111)][_0x79cdd8(0x106)](_0x26f31b);}}[_0x486607(0x11f)](){const _0x135734=_0x486607;return this[_0x135734(0x111)][_0x135734(0x11b)]>0x0;}[_0x486607(0x11d)](){const _0x42c0ab=_0x486607;for(const _0x381cca of this[_0x42c0ab(0x111)])_0x381cca instanceof _0x2d0de6&&_0x381cca[_0x42c0ab(0x11c)]();}[_0x486607(0x113)](){const _0x4d2be3=_0x486607,_0x1e418f=this[_0x4d2be3(0x116)];this[_0x4d2be3(0x119)]({'tag':_0x4d2be3(0x118),'attributes':{'class':[_0x4d2be3(0x115),_0x1e418f['if'](_0x4d2be3(0x109),_0x4d2be3(0x121),_0x1b833a=>!_0x1b833a)]},'children':this[_0x4d2be3(0x111)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x51abfd,IconView as _0x1d9c85,View as _0x14f47c,ViewCollection as _0x20d9cc,ButtonView as _0x362845,clickOutsideHandler as ts}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x188d98}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x307ff0}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x141e03}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x51abfd{['_formItemsCollection']=new _0x20d9cc();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x23a057,_0x82dd9b,_0x1fff1a,_0x388541=!0x1){super(_0x23a057),this['_hideModels']=_0x388541,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x82dd9b['isParameterized']);const _0x2f4594=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',_0x3b1637=>_0x3b1637),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x3144ed=>_0x3144ed)],'style':{'--ck-ai-review-check-list-item-index':_0x1fff1a}},'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':_0x82dd9b['title']}]},_0x2f4594]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x82dd9b['description']?[{'text':_0x82dd9b['description']}]:[]}]}]},..._0x82dd9b['isParameterized']?[this['_createParameterizedView'](_0x82dd9b)]:[],...'custom'===_0x82dd9b['id']?[this['_createCustomView'](_0x82dd9b,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x82dd9b['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x82dd9b['id'],'args':_0x82dd9b['useArgs']?_0x82dd9b['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&ts({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x24e3f5=>{_0x24e3f5['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x470d8d=new _0x1d9c85();return _0x470d8d['content']=_0x188d98,_0x470d8d['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x470d8d;}['_createParameterizedView'](_0x27bab6){const _0x53e9b4=new _0x14f47c(),_0x20c5c3=this['_createFormView'](_0x27bab6);return _0x53e9b4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0xa7c0d=>!_0xa7c0d)]},'children':[_0x20c5c3]}),_0x53e9b4;}['_createFormView'](_0x138468){const _0x3cba10=new _0x14f47c(),_0x5dbda9=Array['isArray'](_0x138468['options'])?_0x138468['options']:[],_0x8c2aa9=new _0x362845(this['locale']),t=this['locale']['t'];_0x8c2aa9['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x8c2aa9['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4fb6ce=>{_0x4fb6ce['stopPropagation']();})}}),_0x8c2aa9['on']('execute',()=>{const _0x12654b=[],_0x43c9ef={};this['_formItemsCollection']['forEach'](_0x5ce717=>{_0x12654b['push'](_0x5ce717['value']),_0x138468['useArgs']&&_0x138468['options']&&(_0x43c9ef[_0x5ce717['argsKey']]=_0x5ce717['value']);}),this['fire']('runReviewCheck',{'id':_0x138468['id'],'params':_0x12654b['length']?_0x12654b:void 0x0,'args':Object['keys'](_0x43c9ef)['length']?_0x43c9ef:void 0x0});});const _0x3e667b=_0x5dbda9['length'];return _0x5dbda9['forEach']((_0x401d1b,_0xedadfd)=>{const _0x2b393d=_0xedadfd===_0x3e667b-0x1;this['_formItemsCollection']['add'](new _0x307ff0(this['locale'],_0x401d1b,_0x2b393d?_0x8c2aa9:null));}),_0x3cba10['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x3cba10;}['_createCustomView'](_0x558c4d,_0x144167=!0x1){return this['_customCheckView']=new _0x141e03(this['locale'],_0x558c4d,_0x144167),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',_0x30f25f=>!_0x30f25f)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x17a41b,_0x12502e,_0x1a0dac)=>{_0x1a0dac||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0xe77087,IconView as _0x1172b3,View as _0x370b4f,ViewCollection as _0x4b6966,ButtonView as _0x3b95e8,clickOutsideHandler as _0x57b5ac}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x41b19f}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x5b620a}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0xe77087{['_formItemsCollection']=new _0x4b6966();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x586483,_0x1a4215,_0x41c8a2,_0x241b61=!0x1){super(_0x586483),this['_hideModels']=_0x241b61,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x1a4215['isParameterized']);const _0x53808f=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',_0x1ba9ae=>_0x1ba9ae),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x39bc2c=>_0x39bc2c)],'style':{'--ck-ai-review-check-list-item-index':_0x41c8a2}},'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':_0x1a4215['title']}]},_0x53808f]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x1a4215['description']?[{'text':_0x1a4215['description']}]:[]}]}]},..._0x1a4215['isParameterized']?[this['_createParameterizedView'](_0x1a4215)]:[],...'custom'===_0x1a4215['id']?[this['_createCustomView'](_0x1a4215,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x1a4215['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x1a4215['id'],'args':_0x1a4215['useArgs']?_0x1a4215['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x57b5ac({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x3aa62c=>{_0x3aa62c['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0xd14005=new _0x1172b3();return _0xd14005['content']=_0x41b19f,_0xd14005['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0xd14005;}['_createParameterizedView'](_0x5c257e){const _0x41c95e=new _0x370b4f(),_0x25bcb0=this['_createFormView'](_0x5c257e);return _0x41c95e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x55b404=>!_0x55b404)]},'children':[_0x25bcb0]}),_0x41c95e;}['_createFormView'](_0x4af2e0){const _0x4c1bec=new _0x370b4f(),_0xdfea58=Array['isArray'](_0x4af2e0['options'])?_0x4af2e0['options']:[],_0x22df25=new _0x3b95e8(this['locale']),t=this['locale']['t'];_0x22df25['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x22df25['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x35990a=>{_0x35990a['stopPropagation']();})}}),_0x22df25['on']('execute',()=>{const _0x43122d=[],_0x58ea05={};this['_formItemsCollection']['forEach'](_0x5197bc=>{_0x43122d['push'](_0x5197bc['value']),_0x4af2e0['useArgs']&&_0x4af2e0['options']&&(_0x58ea05[_0x5197bc['argsKey']]=_0x5197bc['value']);}),this['fire']('runReviewCheck',{'id':_0x4af2e0['id'],'params':_0x43122d['length']?_0x43122d:void 0x0,'args':Object['keys'](_0x58ea05)['length']?_0x58ea05:void 0x0});});const _0x440742=_0xdfea58['length'];return _0xdfea58['forEach']((_0x48268e,_0x40d050)=>{const _0x29aec7=_0x40d050===_0x440742-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x48268e,_0x29aec7?_0x22df25:null));}),_0x4c1bec['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x4c1bec;}['_createCustomView'](_0x200984,_0x340728=!0x1){return this['_customCheckView']=new _0x5b620a(this['locale'],_0x200984,_0x340728),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',_0xe7130e=>!_0xe7130e)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x752072,_0x5d7427,_0x1f5ca1)=>{_0x1f5ca1||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x148b11=_0x11c8;function _0x11c8(_0x49184c,_0x2caa98){const _0x593172=_0x5931();return _0x11c8=function(_0x11c869,_0xa90ee9){_0x11c869=_0x11c869-0x110;let _0x1b5c4f=_0x593172[_0x11c869];return _0x1b5c4f;},_0x11c8(_0x49184c,_0x2caa98);}function _0x5931(){const _0x2a9f6d=['bindTemplate','emptyResultsText','ck-ai_review__review-completed-header-buttons','11538nsUXXr','finishReview','ck-ai_review__review-completed-content-text','45572oiWeBF','delegate','178665mxFbJE','60XGjNFv','isVisible','8EeFtcs','ck-ai_review__review-completed','setTemplate','102210ToetvA','312330PHfpRs','ck-ai_review__review-completed-header-title','_createResultHeaderView','2049775yKPrjS','_resultsHeader','ck-hidden','_createFinishReviewButtonView','ck-ai_review__review-completed-header','span','120QPVUpW','buttonText','locale','198dSChgu','ck-ai_review__review-completed-content','headerText','_finishReviewButtonView','ck-ai_review__review-completed-content-icon','div','269505wdPHJp'];_0x5931=function(){return _0x2a9f6d;};return _0x5931();}(function(_0x5131ba,_0x293c79){const _0x28756b=_0x11c8,_0x7017c9=_0x5131ba();while(!![]){try{const _0x1bb57c=-parseInt(_0x28756b(0x12a))/0x1+parseInt(_0x28756b(0x125))/0x2*(-parseInt(_0x28756b(0x118))/0x3)+parseInt(_0x28756b(0x128))/0x4*(parseInt(_0x28756b(0x12b))/0x5)+parseInt(_0x28756b(0x131))/0x6+parseInt(_0x28756b(0x112))/0x7+parseInt(_0x28756b(0x12d))/0x8*(-parseInt(_0x28756b(0x121))/0x9)+-parseInt(_0x28756b(0x130))/0xa*(-parseInt(_0x28756b(0x11b))/0xb);if(_0x1bb57c===_0x293c79)break;else _0x7017c9['push'](_0x7017c9['shift']());}catch(_0x21bd9e){_0x7017c9['push'](_0x7017c9['shift']());}}}(_0x5931,0x3739c));import{ListItemView as _0x225a03,View as _0xd829d}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x4a6f31}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x225a03{[_0x148b11(0x113)];[_0x148b11(0x11e)];constructor(_0x22bc50,_0x5739d9){const _0x1aeefa=_0x148b11;super(_0x22bc50),this[_0x1aeefa(0x11e)]=this[_0x1aeefa(0x115)](_0x5739d9[_0x1aeefa(0x119)]),this[_0x1aeefa(0x113)]=this[_0x1aeefa(0x111)](_0x5739d9[_0x1aeefa(0x11d)]);const _0x1b5596=this[_0x1aeefa(0x122)];this[_0x1aeefa(0x12f)]({'tag':_0x1aeefa(0x120),'attributes':{'class':[_0x1aeefa(0x12e),_0x1b5596['if'](_0x1aeefa(0x12c),_0x1aeefa(0x114),_0x32ac90=>!_0x32ac90)]},'children':[this[_0x1aeefa(0x113)],{'tag':_0x1aeefa(0x120),'attributes':{'class':[_0x1aeefa(0x11c)]},'children':[{'tag':_0x1aeefa(0x117),'attributes':{'class':[_0x1aeefa(0x11f)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x1aeefa(0x127)]},'children':[{'text':_0x5739d9[_0x1aeefa(0x123)]}]}]}]});}[_0x148b11(0x115)](_0x14e15f){const _0x51e576=_0x148b11,_0x3bca60=new _0x4a6f31(_0x14e15f,this[_0x51e576(0x11a)]);return _0x3bca60[_0x51e576(0x129)](_0x51e576(0x126))['to'](this),_0x3bca60;}[_0x148b11(0x111)](_0xf74f6f){const _0x5c127b=_0x148b11,_0x27b493=new _0xd829d(this[_0x5c127b(0x11a)]);return _0x27b493[_0x5c127b(0x12f)]({'tag':_0x5c127b(0x120),'attributes':{'class':[_0x5c127b(0x116)]},'children':[{'tag':_0x5c127b(0x117),'attributes':{'class':[_0x5c127b(0x110)]},'children':[{'text':_0xf74f6f}]},{'tag':_0x5c127b(0x120),'attributes':{'class':[_0x5c127b(0x124)]},'children':[this[_0x5c127b(0x11e)]]}]}),_0x27b493;}}
23
+ const _0x4e1c42=_0x4296;(function(_0x429154,_0x69e82c){const _0xeb3991=_0x4296,_0x74c708=_0x429154();while(!![]){try{const _0x210d30=parseInt(_0xeb3991(0x1a9))/0x1+-parseInt(_0xeb3991(0x19d))/0x2*(-parseInt(_0xeb3991(0x18c))/0x3)+-parseInt(_0xeb3991(0x1a1))/0x4*(-parseInt(_0xeb3991(0x194))/0x5)+-parseInt(_0xeb3991(0x1a3))/0x6+parseInt(_0xeb3991(0x1a5))/0x7+parseInt(_0xeb3991(0x1aa))/0x8*(parseInt(_0xeb3991(0x19f))/0x9)+parseInt(_0xeb3991(0x19c))/0xa*(-parseInt(_0xeb3991(0x1a2))/0xb);if(_0x210d30===_0x69e82c)break;else _0x74c708['push'](_0x74c708['shift']());}catch(_0x5607c7){_0x74c708['push'](_0x74c708['shift']());}}}(_0x26c2,0x221f8));function _0x4296(_0x50a6ac,_0x393230){const _0x26c272=_0x26c2();return _0x4296=function(_0x4296dc,_0x3a83bc){_0x4296dc=_0x4296dc-0x189;let _0x5d0556=_0x26c272[_0x4296dc];return _0x5d0556;},_0x4296(_0x50a6ac,_0x393230);}import{ListItemView as _0x112ee3,View as _0x153dd6}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x4324f6}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x112ee3{[_0x4e1c42(0x19b)];[_0x4e1c42(0x1a0)];constructor(_0x5dc94a,_0x576611){const _0x427781=_0x4e1c42;super(_0x5dc94a),this[_0x427781(0x1a0)]=this[_0x427781(0x196)](_0x576611[_0x427781(0x18b)]),this[_0x427781(0x19b)]=this[_0x427781(0x18d)](_0x576611[_0x427781(0x19a)]);const _0x28b096=this[_0x427781(0x18a)];this[_0x427781(0x195)]({'tag':_0x427781(0x1a7),'attributes':{'class':[_0x427781(0x1a4),_0x28b096['if'](_0x427781(0x197),_0x427781(0x191),_0x2f68b5=>!_0x2f68b5)]},'children':[this[_0x427781(0x19b)],{'tag':_0x427781(0x1a7),'attributes':{'class':[_0x427781(0x19e)]},'children':[{'tag':_0x427781(0x190),'attributes':{'class':[_0x427781(0x192)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x427781(0x193)]},'children':[{'text':_0x576611[_0x427781(0x18f)]}]}]}]});}[_0x4e1c42(0x196)](_0x7f1cf7){const _0x1a6453=_0x4e1c42,_0x9d2f81=new _0x4324f6(_0x7f1cf7,this[_0x1a6453(0x1a6)]);return _0x9d2f81[_0x1a6453(0x1a8)](_0x1a6453(0x189))['to'](this),_0x9d2f81;}[_0x4e1c42(0x18d)](_0x1b4607){const _0x6f1d61=_0x4e1c42,_0xca85c5=new _0x153dd6(this[_0x6f1d61(0x1a6)]);return _0xca85c5[_0x6f1d61(0x195)]({'tag':_0x6f1d61(0x1a7),'attributes':{'class':[_0x6f1d61(0x199)]},'children':[{'tag':_0x6f1d61(0x190),'attributes':{'class':[_0x6f1d61(0x198)]},'children':[{'text':_0x1b4607}]},{'tag':_0x6f1d61(0x1a7),'attributes':{'class':[_0x6f1d61(0x18e)]},'children':[this[_0x6f1d61(0x1a0)]]}]}),_0xca85c5;}}function _0x26c2(){const _0x3a8f28=['setTemplate','_createFinishReviewButtonView','isVisible','ck-ai_review__review-completed-header-title','ck-ai_review__review-completed-header','headerText','_resultsHeader','403290oDxxWo','22sxyLyJ','ck-ai_review__review-completed-content','9gSThoO','_finishReviewButtonView','78268BleMBp','143cmfanq','53160rNUoWU','ck-ai_review__review-completed','893802TxhZOH','locale','div','delegate','79978xCMupJ','1634408ZwXGXr','finishReview','bindTemplate','buttonText','65829Bhepaa','_createResultHeaderView','ck-ai_review__review-completed-header-buttons','emptyResultsText','span','ck-hidden','ck-ai_review__review-completed-content-icon','ck-ai_review__review-completed-content-text','5QcjVQo'];_0x26c2=function(){return _0x3a8f28;};return _0x26c2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x1afec8,View as _0x36ec74,ViewCollection as _0x24dee4,ButtonView as _0x1b2d3a}from'ckeditor5/src/ui.js';import{IconStop as _0x5f7ac2,IconEye as _0x5104a6,IconEyeCrossedOut as _0xfaec81}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x19d636,SKELETON_DEFINITIONS as _0x522f22}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x9205ea}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x4d2dd0}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x125545}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x30befc}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x4b286c}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x1afec8{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x5e9af0,_0x312c7e){super(_0x5e9af0),this['_contents']=_0x312c7e,this['_resultViews']=new _0x24dee4(),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 _0x9205ea(_0x5e9af0),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 _0x175e68=this['_createCombinedSkeletonLoader'](),_0x59b5d0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x59b5d0['if']('isLoading','ck-ai_review__check-run_loading',_0x24cecc=>_0x24cecc),_0x59b5d0['if']('isResultReady','ck-ai_review__check-run_ready',_0x1ec6e6=>_0x1ec6e6),_0x59b5d0['if']('isVisible','ck-hidden',_0x4a16fc=>!_0x4a16fc)]},'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',_0xb73aad=>_0xb73aad)]},'children':this['_resultViews']},_0x175e68]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x50e839){const _0x58ca55=new _0x30befc(this['locale'],_0x50e839['id']);_0x58ca55['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x58ca55),_0x58ca55['resultResponseView']['element']['innerHTML']=_0x50e839['contentDiffed'];}['hideResult'](_0x4b1b00,_0x52d9a2){if('pending'===_0x52d9a2)return;const _0x4e5fa8=this['_resultViews']['find'](_0x5d6c7a=>_0x5d6c7a['id']===_0x4b1b00);_0x4e5fa8&&(_0x4e5fa8['status']=_0x52d9a2,_0x4e5fa8['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x2d3060,_0x9347b){if('pending'!==_0x9347b)return;const _0x4c0d52=this['_resultViews']['find'](_0x286d59=>_0x286d59['id']===_0x2d3060);_0x4c0d52&&(_0x4c0d52['status']=_0x9347b,_0x4c0d52['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x5c2dc0,_0x6b38ad){this['headerTitle']=_0x5c2dc0,this['headerSubtitle']=_0x6b38ad||'';}['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 _0x19d636(this['locale'],_0x522f22['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x1eac03=new _0x36ec74(this['locale']),_0x17a1a5=[];for(let _0x390237=0x0;_0x390237<0x10;_0x390237++){const _0x369f88=this['_createSkeletonLoader']();_0x369f88['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x17a1a5['push'](_0x369f88);}return _0x1eac03['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2e69f3=>!_0x2e69f3)]},'children':_0x17a1a5}),_0x1eac03;}['_createErrorView'](){const _0x3bb220=new _0x36ec74(this['locale']),_0x213085=new _0x1b2d3a(this['locale']),t=this['locale']['t'];return _0x3bb220['delegate']('retryReview')['to'](this),_0x213085['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x213085['on']('execute',()=>{this['fire']('retryReview');}),_0x3bb220['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x3f19d3=>!_0x3f19d3),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0xb4260b=>'chunk'===_0xb4260b)]},'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',_0x259d7e=>'chunk'===_0x259d7e)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x396f56=>'general'!==_0x396f56)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4ccb1f=>'chunk'!==_0x4ccb1f)]},'children':[{'text':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x213085]}),_0x3bb220;}['_createCancelButtonView'](){const _0x6e8161=new _0x1b2d3a(this['locale']);return _0x6e8161['set']({'label':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x5f7ac2}),_0x6e8161['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x177f11=>_0x177f11),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2aeae6=>_0x2aeae6)]}}),_0x6e8161['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x6e8161;}['_createToggleDiffButtonView'](){const _0x51bcf8=new _0x1b2d3a(this['locale']);_0x51bcf8['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x51bcf8['bind']('isEnabled')['to'](this,'isError',_0x4b87a3=>!_0x4b87a3),_0x51bcf8['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3ff98b=>!_0x3ff98b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x287e6d=>_0x287e6d)]}});const _0x3e216e=_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3953f5=_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x51bcf8['bind']('isOn')['to'](this,'isToggleDiffOn',_0x529342=>_0x529342),_0x51bcf8['bind']('icon')['to'](this,'isToggleDiffOn',_0x33813b=>_0x33813b?_0x5104a6:_0xfaec81),_0x51bcf8['bind']('label')['to'](this,'isToggleDiffOn',_0x13356e=>_0x13356e?_0x3e216e:_0x3953f5),_0x51bcf8['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x51bcf8;}['_createAcceptAllButtonView'](){const _0x4f6c0b=new _0x1b2d3a(this['locale']);return _0x4f6c0b['set']({'label':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4f6c0b['bind']('isEnabled')['to'](this,'isError',_0x2af8de=>!_0x2af8de),_0x4f6c0b['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x456405=>!_0x456405),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3fb4eb=>_0x3fb4eb)]}}),_0x4f6c0b['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4f6c0b;}['_createExitReviewButtonView'](){const _0x5238ea=new _0x1b2d3a(this['locale']);return _0x5238ea['set']({'label':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x5238ea['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x91948b=>!_0x91948b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x197cef=>_0x197cef)]}}),_0x5238ea['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x5238ea;}['_createResultHeaderView'](){const _0x421083=new _0x36ec74(this['locale']),_0x201ce2=this['_createTitleView']();return _0x421083['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x49aeaf=>_0x49aeaf)]},'children':[_0x201ce2,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x421083;}['_createTitleView'](){const _0x3d18d8=new _0x36ec74(this['locale']),_0x32b923=new _0x125545();return _0x32b923['bind']('isVisible')['to'](this,'isResultReady',_0x52660a=>!_0x52660a),_0x3d18d8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x32b923,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2708e3=>_0x2708e3)]},'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',_0x3f175a=>!_0x3f175a)]},'children':[{'text':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x3d18d8;}['_createFinishReviewButtonView'](){const _0x159816=new _0x4b286c(_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x159816['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x50d32e=>!_0x50d32e)]}}),_0x159816['delegate']('finishReview')['to'](this),_0x159816;}}
23
+ import{ListItemView as _0x2aafcc,View as _0x947de9,ViewCollection as _0x3e00e2,ButtonView as _0x387562}from'ckeditor5/src/ui.js';import{IconStop as _0x3bd171,IconEye as _0x43cb9,IconEyeCrossedOut as _0x26ecf5}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x1eb22f,SKELETON_DEFINITIONS as _0x55520d}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x222175}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1cb57e}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x418f78}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x41e0cc}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x51c488}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x2aafcc{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3274bf,_0x28d965){super(_0x3274bf),this['_contents']=_0x28d965,this['_resultViews']=new _0x3e00e2(),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 _0x222175(_0x3274bf),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 _0x1ae976=this['_createCombinedSkeletonLoader'](),_0xb33d03=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0xb33d03['if']('isLoading','ck-ai_review__check-run_loading',_0x1eb2fa=>_0x1eb2fa),_0xb33d03['if']('isResultReady','ck-ai_review__check-run_ready',_0x50d47e=>_0x50d47e),_0xb33d03['if']('isVisible','ck-hidden',_0x4eb6c1=>!_0x4eb6c1)]},'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',_0x100b54=>_0x100b54)]},'children':this['_resultViews']},_0x1ae976]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1db878){const _0x140b58=new _0x41e0cc(this['locale'],_0x1db878['id']);_0x140b58['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x140b58),_0x140b58['resultResponseView']['element']['innerHTML']=_0x1db878['contentDiffed'];}['hideResult'](_0x99e8f2,_0x1640e3){if('pending'===_0x1640e3)return;const _0xe5328e=this['_resultViews']['find'](_0x5e20f1=>_0x5e20f1['id']===_0x99e8f2);_0xe5328e&&(_0xe5328e['status']=_0x1640e3,_0xe5328e['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x22226d,_0x32b11b){if('pending'!==_0x32b11b)return;const _0x438cd0=this['_resultViews']['find'](_0x7d0d86=>_0x7d0d86['id']===_0x22226d);_0x438cd0&&(_0x438cd0['status']=_0x32b11b,_0x438cd0['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x49e7a3,_0x1f6798){this['headerTitle']=_0x49e7a3,this['headerSubtitle']=_0x1f6798||'';}['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 _0x1eb22f(this['locale'],_0x55520d['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x3a8562=new _0x947de9(this['locale']),_0x287459=[];for(let _0x1f6d20=0x0;_0x1f6d20<0x10;_0x1f6d20++){const _0x6b04d1=this['_createSkeletonLoader']();_0x6b04d1['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x287459['push'](_0x6b04d1);}return _0x3a8562['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x11e84a=>!_0x11e84a)]},'children':_0x287459}),_0x3a8562;}['_createErrorView'](){const _0x556711=new _0x947de9(this['locale']),_0x36fb3d=new _0x387562(this['locale']),t=this['locale']['t'];return _0x556711['delegate']('retryReview')['to'](this),_0x36fb3d['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x36fb3d['on']('execute',()=>{this['fire']('retryReview');}),_0x556711['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0xd04b52=>!_0xd04b52),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2444ec=>'chunk'===_0x2444ec)]},'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',_0x564ab9=>'chunk'===_0x564ab9)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x37ae12=>'general'!==_0x37ae12)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3b9e58=>'chunk'!==_0x3b9e58)]},'children':[{'text':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x36fb3d]}),_0x556711;}['_createCancelButtonView'](){const _0xec6a7d=new _0x387562(this['locale']);return _0xec6a7d['set']({'label':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x3bd171}),_0xec6a7d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x164622=>_0x164622),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3d1cf9=>_0x3d1cf9)]}}),_0xec6a7d['on']('execute',()=>{this['fire']('abortReviewStream');}),_0xec6a7d;}['_createToggleDiffButtonView'](){const _0x21e72a=new _0x387562(this['locale']);_0x21e72a['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x21e72a['bind']('isEnabled')['to'](this,'isError',_0x270511=>!_0x270511),_0x21e72a['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xfdc2ca=>!_0xfdc2ca),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x49858e=>_0x49858e)]}});const _0x236bd4=_0x1cb57e(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x44c257=_0x1cb57e(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x21e72a['bind']('isOn')['to'](this,'isToggleDiffOn',_0x3fd979=>_0x3fd979),_0x21e72a['bind']('icon')['to'](this,'isToggleDiffOn',_0x163358=>_0x163358?_0x43cb9:_0x26ecf5),_0x21e72a['bind']('label')['to'](this,'isToggleDiffOn',_0x1bc831=>_0x1bc831?_0x236bd4:_0x44c257),_0x21e72a['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x21e72a;}['_createAcceptAllButtonView'](){const _0x239cf1=new _0x387562(this['locale']);return _0x239cf1['set']({'label':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x239cf1['bind']('isEnabled')['to'](this,'isError',_0x5097b8=>!_0x5097b8),_0x239cf1['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x269146=>!_0x269146),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x17671c=>_0x17671c)]}}),_0x239cf1['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x239cf1;}['_createExitReviewButtonView'](){const _0x278f9d=new _0x387562(this['locale']);return _0x278f9d['set']({'label':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x278f9d['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1a4e3f=>!_0x1a4e3f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x35b173=>_0x35b173)]}}),_0x278f9d['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x278f9d;}['_createResultHeaderView'](){const _0x235fbe=new _0x947de9(this['locale']),_0x799b36=this['_createTitleView']();return _0x235fbe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x143ab8=>_0x143ab8)]},'children':[_0x799b36,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x235fbe;}['_createTitleView'](){const _0x122568=new _0x947de9(this['locale']),_0x2f4ae3=new _0x418f78();return _0x2f4ae3['bind']('isVisible')['to'](this,'isResultReady',_0x7683ad=>!_0x7683ad),_0x122568['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x2f4ae3,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5f330c=>_0x5f330c)]},'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',_0x41f051=>!_0x41f051)]},'children':[{'text':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x122568;}['_createFinishReviewButtonView'](){const _0x12cd39=new _0x51c488(_0x1cb57e(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x12cd39['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0xa2e2c1=>!_0xa2e2c1)]}}),_0x12cd39['delegate']('finishReview')['to'](this),_0x12cd39;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x31d947=_0x6228;function _0x350b(){var _0x421f63=['reviewCheckResultsView','generalErrorView','2396401JKvzCr','resetErrorState','5XMKOHD','1336784Nyodqv','showGeneralReviewCoreErrorView','isCompleted','showGeneralResultsErrorView','finishReview','set','159532XNRAuj','addResult','header','delegate','errorMessage','results','clearResults','isLoading','showReviewCompletedView','ltr','6UzQnzz','622485qSYqjw','showActionsWhenResultIsReady','ck-reset_all','showChunkErrorView','ck-rounded-corners','addCheckRunResult','reviewCompletedView','showReviewCheckResultsView','reviewCheckListView','showNoChangesView','div','ck-ai-review','1849743krrELx','186270gTLYaA','showReviewCheckListView','reviewCoreHeader','setTemplate','315249xkkume','isResultReady','showGeneralErrorMessage','resetAllParameterizedChecks','isVisible','list','hideActionsWhenResultIsReady','showChunkErrorMessage','completed'];_0x350b=function(){return _0x421f63;};return _0x350b();}(function(_0x764b3f,_0x55b882){var _0x7df43b=_0x6228,_0x370070=_0x764b3f();while(!![]){try{var _0x301c43=parseInt(_0x7df43b(0x1f7))/0x1+parseInt(_0x7df43b(0x1f3))/0x2+parseInt(_0x7df43b(0x1e6))/0x3+-parseInt(_0x7df43b(0x1db))/0x4*(parseInt(_0x7df43b(0x1d4))/0x5)+-parseInt(_0x7df43b(0x1e5))/0x6*(parseInt(_0x7df43b(0x1d2))/0x7)+parseInt(_0x7df43b(0x1d5))/0x8+-parseInt(_0x7df43b(0x1f2))/0x9;if(_0x301c43===_0x55b882)break;else _0x370070['push'](_0x370070['shift']());}catch(_0x33e1c5){_0x370070['push'](_0x370070['shift']());}}}(_0x350b,0x2fa98));import{View as _0x9865d8}from'ckeditor5/src/ui.js';function _0x6228(_0x45d4af,_0x158ddf){var _0x350b95=_0x350b();return _0x6228=function(_0x6228eb,_0x4f1cac){_0x6228eb=_0x6228eb-0x1cb;var _0x286e2f=_0x350b95[_0x6228eb];return _0x286e2f;},_0x6228(_0x45d4af,_0x158ddf);}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x2dbe37}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x2622fa}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x9865d8{[_0x31d947(0x1f5)];[_0x31d947(0x1d1)];[_0x31d947(0x1ee)];[_0x31d947(0x1d0)];[_0x31d947(0x1ec)];constructor(_0x90c357,_0x1b75f4){var _0x57546b=_0x31d947;super(_0x90c357),this[_0x57546b(0x1f5)]=_0x1b75f4[_0x57546b(0x1dd)],this[_0x57546b(0x1d1)]=new _0x2622fa(_0x90c357),this[_0x57546b(0x1ee)]=_0x1b75f4[_0x57546b(0x1cc)],this[_0x57546b(0x1ee)][_0x57546b(0x1de)](..._0x2dbe37)['to'](this),this[_0x57546b(0x1d0)]=_0x1b75f4[_0x57546b(0x1e0)],this[_0x57546b(0x1d0)][_0x57546b(0x1de)](..._0x2dbe37)['to'](this),this[_0x57546b(0x1ec)]=_0x1b75f4[_0x57546b(0x1cf)],this[_0x57546b(0x1ec)][_0x57546b(0x1de)](_0x57546b(0x1d9))['to'](this),this[_0x57546b(0x1ee)][_0x57546b(0x1da)](_0x57546b(0x1cb),!0x1),this[_0x57546b(0x1d0)][_0x57546b(0x1da)](_0x57546b(0x1cb),!0x1),this[_0x57546b(0x1d0)][_0x57546b(0x1da)](_0x57546b(0x1e2),!0x1),this[_0x57546b(0x1d0)][_0x57546b(0x1da)](_0x57546b(0x1f8),!0x1),this[_0x57546b(0x1ec)][_0x57546b(0x1da)](_0x57546b(0x1cb),!0x1),this[_0x57546b(0x1f6)]({'tag':_0x57546b(0x1f0),'attributes':{'class':['ck',_0x57546b(0x1e8),_0x57546b(0x1f1),_0x57546b(0x1ea)],'dir':_0x57546b(0x1e4)},'children':[this[_0x57546b(0x1f5)],this[_0x57546b(0x1d1)],this[_0x57546b(0x1ee)],this[_0x57546b(0x1d0)],this[_0x57546b(0x1ec)]]});}[_0x31d947(0x1f4)](){var _0x390783=_0x31d947;this[_0x390783(0x1ee)][_0x390783(0x1fa)](),this[_0x390783(0x1ee)][_0x390783(0x1da)](_0x390783(0x1cb),!0x0),this[_0x390783(0x1d0)][_0x390783(0x1da)](_0x390783(0x1cb),!0x1),this[_0x390783(0x1ec)][_0x390783(0x1da)](_0x390783(0x1cb),!0x1);}[_0x31d947(0x1ed)](){var _0x346a90=_0x31d947;this[_0x346a90(0x1cd)](),this[_0x346a90(0x1d0)][_0x346a90(0x1d3)](),this[_0x346a90(0x1ee)][_0x346a90(0x1da)](_0x346a90(0x1cb),!0x1),this[_0x346a90(0x1d0)][_0x346a90(0x1da)](_0x346a90(0x1cb),!0x0),this[_0x346a90(0x1d0)][_0x346a90(0x1e1)](),this[_0x346a90(0x1d0)][_0x346a90(0x1da)](_0x346a90(0x1e2),!0x0),this[_0x346a90(0x1d0)][_0x346a90(0x1da)](_0x346a90(0x1d7),!0x1);}[_0x31d947(0x1eb)](_0x4fe433){var _0x578248=_0x31d947;this[_0x578248(0x1d0)][_0x578248(0x1dc)](_0x4fe433),this[_0x578248(0x1d0)][_0x578248(0x1da)](_0x578248(0x1e2),!0x1);}[_0x31d947(0x1e3)](){var _0x4dd3ca=_0x31d947;this[_0x4dd3ca(0x1d0)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1cb),!0x0),this[_0x4dd3ca(0x1ec)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1cb),!0x1),this[_0x4dd3ca(0x1d0)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1d7),!0x0),this[_0x4dd3ca(0x1ee)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1cb),!0x1);}[_0x31d947(0x1e7)](){var _0x3fc582=_0x31d947;this[_0x3fc582(0x1d0)][_0x3fc582(0x1f8)]?(this[_0x3fc582(0x1ee)][_0x3fc582(0x1da)](_0x3fc582(0x1cb),!0x1),this[_0x3fc582(0x1d0)][_0x3fc582(0x1da)](_0x3fc582(0x1cb),!0x0),this[_0x3fc582(0x1ec)][_0x3fc582(0x1da)](_0x3fc582(0x1cb),!0x1)):this[_0x3fc582(0x1d0)][_0x3fc582(0x1f8)]=!0x0;}[_0x31d947(0x1ef)](){var _0x2edc1a=_0x31d947;this[_0x2edc1a(0x1ee)][_0x2edc1a(0x1da)](_0x2edc1a(0x1cb),!0x1),this[_0x2edc1a(0x1d0)][_0x2edc1a(0x1da)](_0x2edc1a(0x1cb),!0x1),this[_0x2edc1a(0x1ec)][_0x2edc1a(0x1da)](_0x2edc1a(0x1cb),!0x0);}[_0x31d947(0x1cd)](){var _0x2de68d=_0x31d947;this[_0x2de68d(0x1d0)][_0x2de68d(0x1f8)]=!0x1;}[_0x31d947(0x1d6)](_0x4c780c){var _0x5250f6=_0x31d947;this[_0x5250f6(0x1d1)][_0x5250f6(0x1da)](_0x5250f6(0x1cb),!0x0),this[_0x5250f6(0x1d1)][_0x5250f6(0x1df)]=_0x4c780c;}[_0x31d947(0x1d8)](){var _0x3b5e52=_0x31d947;this[_0x3b5e52(0x1d0)][_0x3b5e52(0x1da)](_0x3b5e52(0x1e2),!0x1),this[_0x3b5e52(0x1e7)](),this[_0x3b5e52(0x1d0)][_0x3b5e52(0x1f9)]();}[_0x31d947(0x1e9)](){var _0x37367e=_0x31d947;this[_0x37367e(0x1d0)][_0x37367e(0x1da)](_0x37367e(0x1e2),!0x1),this[_0x37367e(0x1e7)](),this[_0x37367e(0x1d0)][_0x37367e(0x1ce)]();}}
23
+ var _0x555e26=_0x119f;(function(_0x3d5ea5,_0x3f2e16){var _0x1fef17=_0x119f,_0x13e40=_0x3d5ea5();while(!![]){try{var _0x10004d=parseInt(_0x1fef17(0xec))/0x1+parseInt(_0x1fef17(0x10e))/0x2+parseInt(_0x1fef17(0xff))/0x3+-parseInt(_0x1fef17(0x104))/0x4*(-parseInt(_0x1fef17(0xfd))/0x5)+parseInt(_0x1fef17(0xf9))/0x6*(-parseInt(_0x1fef17(0x113))/0x7)+parseInt(_0x1fef17(0xf0))/0x8+parseInt(_0x1fef17(0xfe))/0x9*(-parseInt(_0x1fef17(0x10a))/0xa);if(_0x10004d===_0x3f2e16)break;else _0x13e40['push'](_0x13e40['shift']());}catch(_0x382f11){_0x13e40['push'](_0x13e40['shift']());}}}(_0x4e0a,0xb8efb));import{View as _0x499fd4}from'ckeditor5/src/ui.js';function _0x4e0a(){var _0x54269e=['ck-ai-review','showActionsWhenResultIsReady','showGeneralErrorMessage','ltr','1244qrAYjp','div','isResultReady','addCheckRunResult','addResult','isLoading','2650790tohHxY','list','reviewCheckListView','delegate','1556010WcsfqG','showChunkErrorView','errorMessage','completed','set','82817gxyvdZ','showGeneralReviewCoreErrorView','ck-reset_all','resetAllParameterizedChecks','reviewCoreHeader','resetErrorState','reviewCompletedView','showNoChangesView','showReviewCheckListView','generalErrorView','1309937QcsNUb','header','showReviewCompletedView','finishReview','7073296Fkwvcb','showReviewCheckResultsView','setTemplate','showGeneralResultsErrorView','clearResults','ck-rounded-corners','reviewCheckResultsView','isCompleted','hideActionsWhenResultIsReady','12zlmTUN','isVisible','showChunkErrorMessage','results','1090fnVPMy','99TYuPve','1971384IMWmBU'];_0x4e0a=function(){return _0x54269e;};return _0x4e0a();}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x256e6d}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x20fec0}from'./aireviewcoregeneralerrorview.js';function _0x119f(_0x2c59d9,_0x88ada0){var _0x4e0ab7=_0x4e0a();return _0x119f=function(_0x119f24,_0x3957ad){_0x119f24=_0x119f24-0xe9;var _0x21aa0d=_0x4e0ab7[_0x119f24];return _0x21aa0d;},_0x119f(_0x2c59d9,_0x88ada0);}export class AIReviewCoreView extends _0x499fd4{[_0x555e26(0x117)];[_0x555e26(0xeb)];[_0x555e26(0x10c)];[_0x555e26(0xf6)];[_0x555e26(0x119)];constructor(_0x2c4117,_0x4d01eb){var _0x144644=_0x555e26;super(_0x2c4117),this[_0x144644(0x117)]=_0x4d01eb[_0x144644(0xed)],this[_0x144644(0xeb)]=new _0x20fec0(_0x2c4117),this[_0x144644(0x10c)]=_0x4d01eb[_0x144644(0x10b)],this[_0x144644(0x10c)][_0x144644(0x10d)](..._0x256e6d)['to'](this),this[_0x144644(0xf6)]=_0x4d01eb[_0x144644(0xfc)],this[_0x144644(0xf6)][_0x144644(0x10d)](..._0x256e6d)['to'](this),this[_0x144644(0x119)]=_0x4d01eb[_0x144644(0x111)],this[_0x144644(0x119)][_0x144644(0x10d)](_0x144644(0xef))['to'](this),this[_0x144644(0x10c)][_0x144644(0x112)](_0x144644(0xfa),!0x1),this[_0x144644(0xf6)][_0x144644(0x112)](_0x144644(0xfa),!0x1),this[_0x144644(0xf6)][_0x144644(0x112)](_0x144644(0x109),!0x1),this[_0x144644(0xf6)][_0x144644(0x112)](_0x144644(0x106),!0x1),this[_0x144644(0x119)][_0x144644(0x112)](_0x144644(0xfa),!0x1),this[_0x144644(0xf2)]({'tag':_0x144644(0x105),'attributes':{'class':['ck',_0x144644(0x115),_0x144644(0x100),_0x144644(0xf5)],'dir':_0x144644(0x103)},'children':[this[_0x144644(0x117)],this[_0x144644(0xeb)],this[_0x144644(0x10c)],this[_0x144644(0xf6)],this[_0x144644(0x119)]]});}[_0x555e26(0xea)](){var _0x4e5ddc=_0x555e26;this[_0x4e5ddc(0x10c)][_0x4e5ddc(0x116)](),this[_0x4e5ddc(0x10c)][_0x4e5ddc(0x112)](_0x4e5ddc(0xfa),!0x0),this[_0x4e5ddc(0xf6)][_0x4e5ddc(0x112)](_0x4e5ddc(0xfa),!0x1),this[_0x4e5ddc(0x119)][_0x4e5ddc(0x112)](_0x4e5ddc(0xfa),!0x1);}[_0x555e26(0xf1)](){var _0x425178=_0x555e26;this[_0x425178(0xf8)](),this[_0x425178(0xf6)][_0x425178(0x118)](),this[_0x425178(0x10c)][_0x425178(0x112)](_0x425178(0xfa),!0x1),this[_0x425178(0xf6)][_0x425178(0x112)](_0x425178(0xfa),!0x0),this[_0x425178(0xf6)][_0x425178(0xf4)](),this[_0x425178(0xf6)][_0x425178(0x112)](_0x425178(0x109),!0x0),this[_0x425178(0xf6)][_0x425178(0x112)](_0x425178(0xf7),!0x1);}[_0x555e26(0x107)](_0x2af88b){var _0x3524ff=_0x555e26;this[_0x3524ff(0xf6)][_0x3524ff(0x108)](_0x2af88b),this[_0x3524ff(0xf6)][_0x3524ff(0x112)](_0x3524ff(0x109),!0x1);}[_0x555e26(0xee)](){var _0x3a376c=_0x555e26;this[_0x3a376c(0xf6)][_0x3a376c(0x112)](_0x3a376c(0xfa),!0x0),this[_0x3a376c(0x119)][_0x3a376c(0x112)](_0x3a376c(0xfa),!0x1),this[_0x3a376c(0xf6)][_0x3a376c(0x112)](_0x3a376c(0xf7),!0x0),this[_0x3a376c(0x10c)][_0x3a376c(0x112)](_0x3a376c(0xfa),!0x1);}[_0x555e26(0x101)](){var _0x5ae558=_0x555e26;this[_0x5ae558(0xf6)][_0x5ae558(0x106)]?(this[_0x5ae558(0x10c)][_0x5ae558(0x112)](_0x5ae558(0xfa),!0x1),this[_0x5ae558(0xf6)][_0x5ae558(0x112)](_0x5ae558(0xfa),!0x0),this[_0x5ae558(0x119)][_0x5ae558(0x112)](_0x5ae558(0xfa),!0x1)):this[_0x5ae558(0xf6)][_0x5ae558(0x106)]=!0x0;}[_0x555e26(0xe9)](){var _0x273b34=_0x555e26;this[_0x273b34(0x10c)][_0x273b34(0x112)](_0x273b34(0xfa),!0x1),this[_0x273b34(0xf6)][_0x273b34(0x112)](_0x273b34(0xfa),!0x1),this[_0x273b34(0x119)][_0x273b34(0x112)](_0x273b34(0xfa),!0x0);}[_0x555e26(0xf8)](){var _0x138631=_0x555e26;this[_0x138631(0xf6)][_0x138631(0x106)]=!0x1;}[_0x555e26(0x114)](_0x1114d3){var _0xfe03c1=_0x555e26;this[_0xfe03c1(0xeb)][_0xfe03c1(0x112)](_0xfe03c1(0xfa),!0x0),this[_0xfe03c1(0xeb)][_0xfe03c1(0x110)]=_0x1114d3;}[_0x555e26(0xf3)](){var _0x2e91d9=_0x555e26;this[_0x2e91d9(0xf6)][_0x2e91d9(0x112)](_0x2e91d9(0x109),!0x1),this[_0x2e91d9(0x101)](),this[_0x2e91d9(0xf6)][_0x2e91d9(0x102)]();}[_0x555e26(0x10f)](){var _0x4a5188=_0x555e26;this[_0x4a5188(0xf6)][_0x4a5188(0x112)](_0x4a5188(0x109),!0x1),this[_0x4a5188(0x101)](),this[_0x4a5188(0xf6)][_0x4a5188(0xfb)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd968e0=_0x1660;(function(_0x357dfb,_0x10d5b3){const _0x162929=_0x1660,_0x1be693=_0x357dfb();while(!![]){try{const _0x493e29=parseInt(_0x162929(0x1c4))/0x1+parseInt(_0x162929(0x1bb))/0x2*(parseInt(_0x162929(0x1ab))/0x3)+-parseInt(_0x162929(0x1b4))/0x4+parseInt(_0x162929(0x1c1))/0x5*(-parseInt(_0x162929(0x1a8))/0x6)+-parseInt(_0x162929(0x1ba))/0x7*(-parseInt(_0x162929(0x1b5))/0x8)+-parseInt(_0x162929(0x1ac))/0x9+-parseInt(_0x162929(0x1cb))/0xa*(parseInt(_0x162929(0x1c5))/0xb);if(_0x493e29===_0x10d5b3)break;else _0x1be693['push'](_0x1be693['shift']());}catch(_0x3d82a9){_0x1be693['push'](_0x1be693['shift']());}}}(_0x583b,0x96f9b));import{Collection as _0x57f3be}from'ckeditor5/src/utils.js';function _0x1660(_0x5403b7,_0x32fd3d){const _0x583b77=_0x583b();return _0x1660=function(_0x16607b,_0x4e12ab){_0x16607b=_0x16607b-0x1a7;let _0x217326=_0x583b77[_0x16607b];return _0x217326;},_0x1660(_0x5403b7,_0x32fd3d);}import{View as _0x1e890f,createDropdown as _0x344a76,addListToDropdown as _0x415486,UIModel as _0x1a0944}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x1e890f{[_0xd968e0(0x1a7)];[_0xd968e0(0x1c7)];[_0xd968e0(0x1b0)];constructor(_0x437a55,_0x16daca){const _0x2c1295=_0xd968e0;super(_0x437a55),this[_0x2c1295(0x1c7)]=_0x16daca[_0x2c1295(0x1ca)]||(_0x16daca[_0x2c1295(0x1b3)][_0x2c1295(0x1be)]>0x0?_0x16daca[_0x2c1295(0x1b3)][0x0]['id']:''),this[_0x2c1295(0x1b0)]=_0x16daca[_0x2c1295(0x1b3)][_0x2c1295(0x1bd)](_0xc4be68=>_0xc4be68['id']===this[_0x2c1295(0x1c7)])?.[_0x2c1295(0x1c0)]||'',this[_0x2c1295(0x1b1)](_0x2c1295(0x1b6),''),this[_0x2c1295(0x1a7)]=_0x344a76(this[_0x2c1295(0x1c3)]);const _0x3c45bb=this[_0x2c1295(0x1ae)](_0x16daca[_0x2c1295(0x1b3)]);_0x415486(this[_0x2c1295(0x1a7)],_0x3c45bb,{'role':_0x2c1295(0x1c8),'ariaLabel':_0x16daca[_0x2c1295(0x1c0)]}),this[_0x2c1295(0x1a7)][_0x2c1295(0x1c6)][_0x2c1295(0x1b1)]({'label':this[_0x2c1295(0x1b0)],'withText':!0x0}),this[_0x2c1295(0x1a7)][_0x2c1295(0x1aa)]({'on':{'click':this[_0x2c1295(0x1b2)]['to'](_0x377474=>{const _0x28a44f=_0x2c1295;_0x377474[_0x28a44f(0x1d1)]();})}}),this[_0x2c1295(0x1cf)](this[_0x2c1295(0x1a7)],_0x2c1295(0x1b7),_0x214a2f=>{const _0x5c66e2=_0x2c1295;this[_0x5c66e2(0x1b6)]=_0x214a2f[_0x5c66e2(0x1cc)][_0x5c66e2(0x1af)]['id'],this[_0x5c66e2(0x1a7)][_0x5c66e2(0x1c6)][_0x5c66e2(0x1c0)]=_0x214a2f[_0x5c66e2(0x1cc)][_0x5c66e2(0x1af)][_0x5c66e2(0x1c0)];}),this[_0x2c1295(0x1b9)]({'tag':_0x2c1295(0x1cd),'attributes':{'class':['ck',_0x2c1295(0x1d0),_0x2c1295(0x1ad),_0x2c1295(0x1bf)]},'children':[this[_0x2c1295(0x1a7)]]});}[_0xd968e0(0x1a9)](){const _0x516b27=_0xd968e0;this[_0x516b27(0x1b6)]=this[_0x516b27(0x1c7)],this[_0x516b27(0x1a7)][_0x516b27(0x1c6)][_0x516b27(0x1c0)]=this[_0x516b27(0x1b0)];}[_0xd968e0(0x1ae)](_0xcad5cc=[]){const _0x35d7f0=_0xd968e0,_0x5ef940=new _0x57f3be();this[_0x35d7f0(0x1a9)]();for(const _0x52928b of _0xcad5cc){const _0x2a1600=new _0x1a0944({'label':_0x52928b[_0x35d7f0(0x1c0)],'withText':!0x0,'role':_0x35d7f0(0x1c2),'id':_0x52928b['id'],'model':_0x52928b});_0x2a1600[_0x35d7f0(0x1bc)](_0x35d7f0(0x1c9))['to'](this,_0x35d7f0(0x1b6),_0x474101=>_0x474101===_0x2a1600['id']);const _0x2627e6={'type':_0x35d7f0(0x1ce),'model':_0x2a1600};_0x5ef940[_0x35d7f0(0x1b8)](_0x2627e6);}return _0x5ef940;}}function _0x583b(){const _0x7901f4=['880940fUuYNw','9325560QbECbs','formValue','execute','add','setTemplate','7IuEfSJ','2ItyWPQ','bind','find','length','ck-ai_review__check-list-item-parameterized-form-element_dropdown','label','4775YtEObn','menuitemradio','locale','484655WnfYKk','11kdQmbN','buttonView','_defaultValue','menu','isOn','default','3539330EFuPqU','source','div','button','listenTo','ck-reset_all','stopPropagation','_dropdownView','3480BZosQq','resetToDefault','extendTemplate','2136657mqkpyd','5544954fLmRbc','ck-ai_review__check-list-item-parameterized-form-element','_prepareListOptions','model','_defaultLabel','set','bindTemplate','data'];_0x583b=function(){return _0x7901f4;};return _0x583b();}
23
+ const _0x21b526=_0x68e9;(function(_0x289119,_0x346323){const _0x3250db=_0x68e9,_0x98fcc5=_0x289119();while(!![]){try{const _0x472515=parseInt(_0x3250db(0x16d))/0x1*(-parseInt(_0x3250db(0x18f))/0x2)+-parseInt(_0x3250db(0x17e))/0x3+-parseInt(_0x3250db(0x17c))/0x4+parseInt(_0x3250db(0x190))/0x5+-parseInt(_0x3250db(0x174))/0x6*(parseInt(_0x3250db(0x186))/0x7)+parseInt(_0x3250db(0x17a))/0x8+parseInt(_0x3250db(0x183))/0x9;if(_0x472515===_0x346323)break;else _0x98fcc5['push'](_0x98fcc5['shift']());}catch(_0x240151){_0x98fcc5['push'](_0x98fcc5['shift']());}}}(_0x4129,0xee08e));import{Collection as _0x5a915e}from'ckeditor5/src/utils.js';import{View as _0x3d6b27,createDropdown as _0x1f873f,addListToDropdown as _0x5d014a,UIModel as _0x3a55a5}from'ckeditor5/src/ui.js';function _0x68e9(_0xb9832b,_0x2df2e1){const _0x412993=_0x4129();return _0x68e9=function(_0x68e98d,_0x4a588a){_0x68e98d=_0x68e98d-0x16d;let _0x56a620=_0x412993[_0x68e98d];return _0x56a620;},_0x68e9(_0xb9832b,_0x2df2e1);}function _0x4129(){const _0x55061c=['2840444XzwekK','ck-ai_review__check-list-item-parameterized-form-element','1384821lGZUJn','menuitemradio','button','stopPropagation','extendTemplate','22712130weasAX','ck-reset_all','model','852656pylZkj','isOn','_defaultValue','source','setTemplate','locale','resetToDefault','bind','_dropdownView','134PtzKNc','6904210mxjUAg','find','_prepareListOptions','bindTemplate','menu','length','27503ppUyEs','listenTo','add','set','buttonView','div','default','72xJlclA','_defaultLabel','execute','label','ck-ai_review__check-list-item-parameterized-form-element_dropdown','formValue','12373544vmuZZk','data'];_0x4129=function(){return _0x55061c;};return _0x4129();}export class AIReviewCoreFormDropdownView extends _0x3d6b27{[_0x21b526(0x18e)];[_0x21b526(0x188)];[_0x21b526(0x175)];constructor(_0x276956,_0x393177){const _0x1ac55b=_0x21b526;super(_0x276956),this[_0x1ac55b(0x188)]=_0x393177[_0x1ac55b(0x173)]||(_0x393177[_0x1ac55b(0x17b)][_0x1ac55b(0x195)]>0x0?_0x393177[_0x1ac55b(0x17b)][0x0]['id']:''),this[_0x1ac55b(0x175)]=_0x393177[_0x1ac55b(0x17b)][_0x1ac55b(0x191)](_0x3614e2=>_0x3614e2['id']===this[_0x1ac55b(0x188)])?.[_0x1ac55b(0x177)]||'',this[_0x1ac55b(0x170)](_0x1ac55b(0x179),''),this[_0x1ac55b(0x18e)]=_0x1f873f(this[_0x1ac55b(0x18b)]);const _0x2c922a=this[_0x1ac55b(0x192)](_0x393177[_0x1ac55b(0x17b)]);_0x5d014a(this[_0x1ac55b(0x18e)],_0x2c922a,{'role':_0x1ac55b(0x194),'ariaLabel':_0x393177[_0x1ac55b(0x177)]}),this[_0x1ac55b(0x18e)][_0x1ac55b(0x171)][_0x1ac55b(0x170)]({'label':this[_0x1ac55b(0x175)],'withText':!0x0}),this[_0x1ac55b(0x18e)][_0x1ac55b(0x182)]({'on':{'click':this[_0x1ac55b(0x193)]['to'](_0xcd9007=>{const _0x49f90d=_0x1ac55b;_0xcd9007[_0x49f90d(0x181)]();})}}),this[_0x1ac55b(0x16e)](this[_0x1ac55b(0x18e)],_0x1ac55b(0x176),_0x567ad7=>{const _0x1bc4de=_0x1ac55b;this[_0x1bc4de(0x179)]=_0x567ad7[_0x1bc4de(0x189)][_0x1bc4de(0x185)]['id'],this[_0x1bc4de(0x18e)][_0x1bc4de(0x171)][_0x1bc4de(0x177)]=_0x567ad7[_0x1bc4de(0x189)][_0x1bc4de(0x185)][_0x1bc4de(0x177)];}),this[_0x1ac55b(0x18a)]({'tag':_0x1ac55b(0x172),'attributes':{'class':['ck',_0x1ac55b(0x184),_0x1ac55b(0x17d),_0x1ac55b(0x178)]},'children':[this[_0x1ac55b(0x18e)]]});}[_0x21b526(0x18c)](){const _0x15309e=_0x21b526;this[_0x15309e(0x179)]=this[_0x15309e(0x188)],this[_0x15309e(0x18e)][_0x15309e(0x171)][_0x15309e(0x177)]=this[_0x15309e(0x175)];}[_0x21b526(0x192)](_0x7eee0d=[]){const _0x53ba9d=_0x21b526,_0x5e6f12=new _0x5a915e();this[_0x53ba9d(0x18c)]();for(const _0x24a853 of _0x7eee0d){const _0x38d2d5=new _0x3a55a5({'label':_0x24a853[_0x53ba9d(0x177)],'withText':!0x0,'role':_0x53ba9d(0x17f),'id':_0x24a853['id'],'model':_0x24a853});_0x38d2d5[_0x53ba9d(0x18d)](_0x53ba9d(0x187))['to'](this,_0x53ba9d(0x179),_0x5d01c2=>_0x5d01c2===_0x38d2d5['id']);const _0x48c83a={'type':_0x53ba9d(0x180),'model':_0x38d2d5};_0x5e6f12[_0x53ba9d(0x16f)](_0x48c83a);}return _0x5e6f12;}}