@ckeditor/ckeditor5-ai 47.7.1 → 47.7.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0xa759ce=_0xfb03;function _0x1ab1(){const _0x30609a=['2217733sCArye','showBalloon','locale','showDiffInBalloon','updateContent','width','length','resultResponseView','dismissChange','set','documentElement','extendTemplate','_pinnedTargetElement','showDiff','div','push','_getPointedRectIndexFromEvent','right','hide','23115970WWvNZX','top','bindTemplate','_pinnedRectIndex','add','getBoundingClientRect','acceptChange','ck-content','3LkRBYB','clientY','1312074oiDiyD','contentDiffed','deactivateChange','_isPinnedRectVisible','isVisible','_setupClickOutsideHandler','delegate','hideDiffInBalloon','hideBalloon','position','11zxdxqV','ck-ai_review-balloon-panel-suggestion','resultItemView','click','_getBestRectPositionOnClick','_pinnedTargetChangeId','clientX','forEach','3822344gfgwgo','getClientRects','from','left','1960jZNInV','reverse','changeId','4716gATmex','_createContentView','unpin','render','hover','innerHTML','ck-ai_review__suggestion-text','getIntersection','setTemplate','arrow_se','element','isDiffActive','show','4910964trGyJu','bottom','5521490jAVBWd','content','_getBestRectPositionOnHover','pin','arrow_','6fTMcmN','ck-reset','replace','fire','balloon','ck-ai_review-balloon-panel-suggestion_diff-active'];_0x1ab1=function(){return _0x30609a;};return _0x1ab1();}(function(_0x6166b7,_0x31a3c3){const _0x36f77e=_0xfb03,_0x1279f6=_0x6166b7();while(!![]){try{const _0x15dd0a=-parseInt(_0x36f77e(0x1ba))/0x1+-parseInt(_0x36f77e(0x1cc))/0x2*(parseInt(_0x36f77e(0x1b8))/0x3)+parseInt(_0x36f77e(0x1e0))/0x4+parseInt(_0x36f77e(0x1e2))/0x5+parseInt(_0x36f77e(0x197))/0x6*(-parseInt(_0x36f77e(0x19d))/0x7)+parseInt(_0x36f77e(0x1d0))/0x8*(-parseInt(_0x36f77e(0x1d3))/0x9)+parseInt(_0x36f77e(0x1b0))/0xa*(parseInt(_0x36f77e(0x1c4))/0xb);if(_0x15dd0a===_0x31a3c3)break;else _0x1279f6['push'](_0x1279f6['shift']());}catch(_0x2188e3){_0x1279f6['push'](_0x1279f6['shift']());}}}(_0x1ab1,0xee157));import{Rect as _0x44bd32,getConstrainedViewportRect as _0x3c35b4}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x4d3110,View as _0x416bfe,clickOutsideHandler as _0x4040e0}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x419d2a}from'./aireviewcorechecklistitemresultview.js';function _0xfb03(_0x5d3981,_0xea3806){const _0x1ab13d=_0x1ab1();return _0xfb03=function(_0xfb03fc,_0x47ea66){_0xfb03fc=_0xfb03fc-0x196;let _0x55c3e5=_0x1ab13d[_0xfb03fc];return _0x55c3e5;},_0xfb03(_0x5d3981,_0xea3806);}import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x4d3110{[_0xa759ce(0x1c6)];[_0xa759ce(0x1b3)]=void 0x0;[_0xa759ce(0x1a9)]=void 0x0;[_0xa759ce(0x1c9)]=void 0x0;constructor(_0x3e0de1,_0xa7baf8){const _0x3e7ddd=_0xa759ce;super(_0x3e0de1),this[_0x3e7ddd(0x1a6)]({'isVisible':!0x1,'position':_0x3e7ddd(0x1dc),'class':null,'top':0x0,'left':0x0}),this[_0x3e7ddd(0x1a8)]({'tag':_0x3e7ddd(0x1ab),'attributes':{'class':[_0x3e7ddd(0x198)],'tabindex':'-1'}}),this[_0x3e7ddd(0x1a6)](_0x3e7ddd(0x1de),!0x1),this[_0x3e7ddd(0x1e3)][_0x3e7ddd(0x1b4)](this[_0x3e7ddd(0x1d4)]()),_0xa7baf8[_0x3e7ddd(0x1b4)](this);}[_0xa759ce(0x1d6)](){const _0x2dce88=_0xa759ce;super[_0x2dce88(0x1d6)](),this[_0x2dce88(0x1bf)]();}[_0xa759ce(0x1a1)](_0x2c7130){const _0x435598=_0xa759ce;this[_0x435598(0x1c6)][_0x435598(0x1d2)]=_0x2c7130['id'],this[_0x435598(0x1c6)][_0x435598(0x1a4)][_0x435598(0x1dd)][_0x435598(0x1d8)]=_0x2c7130[_0x435598(0x1bb)];}[_0xa759ce(0x19e)](_0x5d0e07,_0x1849d7,_0x2eb924,_0x4cc4ab,_0x13d6a5,_0xcaf1a6){const _0x303b3a=_0xa759ce,_0x4d5486=_0x1849d7();if(!_0x4d5486)return;this[_0x303b3a(0x1a1)](_0x5d0e07),this[_0x303b3a(0x1df)]();const _0x16fd1e=Array[_0x303b3a(0x1ce)](_0x4d5486[_0x303b3a(0x1cd)]())[_0x303b3a(0x1d1)](),_0x2c69ee=this[_0x303b3a(0x1ad)](_0x2eb924,_0x16fd1e),_0x13cff3=_0x16fd1e[_0x2c69ee??0x0];_0x303b3a(0x1c7)===_0x4cc4ab?(this[_0x303b3a(0x1de)]=!0x0,this[_0x303b3a(0x1e5)]({'target':()=>this[_0x303b3a(0x1c8)](_0x1849d7(),_0x2c69ee,_0x5d0e07['id'],_0x13d6a5,_0xcaf1a6)||_0x13cff3})):_0x303b3a(0x1d7)===_0x4cc4ab&&(this[_0x303b3a(0x1de)]=!0x1,this[_0x303b3a(0x1e5)]({'target':()=>this[_0x303b3a(0x1e4)](_0x1849d7(),_0x2c69ee,_0x5d0e07['id'])||_0x13cff3}));}[_0xa759ce(0x1c2)](){const _0xe464cf=_0xa759ce;this[_0xe464cf(0x1af)](),this[_0xe464cf(0x1d5)](),this[_0xe464cf(0x1b3)]=void 0x0,this[_0xe464cf(0x1a9)]=void 0x0,this[_0xe464cf(0x1c9)]=void 0x0;}[_0xa759ce(0x1c1)](){const _0x2b85b7=_0xa759ce;this[_0x2b85b7(0x1c6)][_0x2b85b7(0x1aa)]=!0x1;}[_0xa759ce(0x1a0)](){const _0x964134=_0xa759ce;this[_0x964134(0x1c6)][_0x964134(0x1aa)]=!0x0;}[_0xa759ce(0x1bc)](){const _0x3420be=_0xa759ce;this[_0x3420be(0x19a)](_0x3420be(0x1bc),{'origin':_0x3420be(0x19b)});}[_0xa759ce(0x1bf)](){const _0x1c0599=_0xa759ce;_0x4040e0({'emitter':this,'activator':()=>this[_0x1c0599(0x1be)],'contextElements':()=>{const _0x38291b=_0x1c0599,_0x12e5a8=[this[_0x38291b(0x1dd)]];return this[_0x38291b(0x1a9)]&&_0x12e5a8[_0x38291b(0x1ac)](this[_0x38291b(0x1a9)]),_0x12e5a8;},'callback':()=>{const _0x427fcd=_0x1c0599;this[_0x427fcd(0x1af)](),this[_0x427fcd(0x1d5)](),this[_0x427fcd(0x1bc)](),this[_0x427fcd(0x1a9)]=void 0x0,this[_0x427fcd(0x1b3)]=void 0x0,this[_0x427fcd(0x1c9)]=void 0x0;}});}[_0xa759ce(0x1d4)](){const _0x2947e0=_0xa759ce,_0x5a3467=new _0x416bfe();return this[_0x2947e0(0x1c6)]=new _0x419d2a(this[_0x2947e0(0x19f)],''),this[_0x2947e0(0x1c6)][_0x2947e0(0x1a4)][_0x2947e0(0x1a8)]({'attributes':{'class':[_0x2947e0(0x1b7)]}}),this[_0x2947e0(0x1c6)][_0x2947e0(0x1c0)](_0x2947e0(0x1b6),_0x2947e0(0x1a5))['to'](this),_0x5a3467[_0x2947e0(0x1db)]({'tag':_0x2947e0(0x1ab),'attributes':{'class':[_0x2947e0(0x198),_0x2947e0(0x1c5),this[_0x2947e0(0x1b2)]['if'](_0x2947e0(0x1de),_0x2947e0(0x19c))]},'children':[{'tag':'p','attributes':{'class':[_0x2947e0(0x1d9)]},'children':[this[_0x2947e0(0x1c6)]]}]}),_0x5a3467;}[_0xa759ce(0x1c8)](_0x587a60,_0x14cae1,_0x2c5395,_0x5c830c,_0x4ab14f){const _0x2e73a4=_0xa759ce;if(!_0x587a60)return null;const _0x3de175=this[_0x2e73a4(0x1c3)][_0x2e73a4(0x199)](_0x2e73a4(0x196),''),_0xe186ba=Array[_0x2e73a4(0x1ce)](_0x587a60[_0x2e73a4(0x1cd)]());let _0x3e76b0,_0x2ef72f=_0xe186ba[_0x2e73a4(0x1d1)]();return void 0x0!==_0x14cae1&&this[_0x2e73a4(0x1bd)](_0x2ef72f[_0x14cae1],_0x5c830c,_0x4ab14f)?(_0x3e76b0=_0x2ef72f[_0x14cae1],this[_0x2e73a4(0x1b3)]=_0x14cae1):this[_0x2e73a4(0x1bd)](_0x2ef72f[0x0],_0x5c830c,_0x4ab14f)&&void 0x0===_0x14cae1?_0x3e76b0=_0x2ef72f[0x0]:(_0x2ef72f='s'==_0x3de175[0x0]?[..._0xe186ba][_0x2e73a4(0x1d1)]():_0xe186ba,_0x2ef72f[_0x2e73a4(0x1cb)](_0x1cd8c9=>{const _0x4c0d71=_0x2e73a4;this[_0x4c0d71(0x1bd)](_0x1cd8c9,_0x5c830c,_0x4ab14f)&&(_0x3e76b0=_0x1cd8c9);})),this[_0x2e73a4(0x1c9)]=_0x2c5395,this[_0x2e73a4(0x1a9)]=_0x587a60,_0x3e76b0||_0x587a60[_0x2e73a4(0x1b5)]();}[_0xa759ce(0x1e4)](_0x26e33d,_0x48ed68,_0x348be9){const _0x5cc270=_0xa759ce;if(!_0x26e33d)return null;const _0x79dd80=Array[_0x5cc270(0x1ce)](_0x26e33d[_0x5cc270(0x1cd)]())[_0x5cc270(0x1d1)]();if(void 0x0===this[_0x5cc270(0x1b3)]&&void 0x0!==_0x48ed68&&this[_0x5cc270(0x1c9)]!==_0x348be9)return this[_0x5cc270(0x1b3)]=_0x48ed68,this[_0x5cc270(0x1a9)]=_0x26e33d,this[_0x5cc270(0x1c9)]=_0x348be9,_0x79dd80[_0x48ed68];if(void 0x0!==this[_0x5cc270(0x1b3)]&&this[_0x5cc270(0x1c9)]===_0x348be9){if(_0x26e33d!==this[_0x5cc270(0x1a9)])return Array[_0x5cc270(0x1ce)](this[_0x5cc270(0x1a9)][_0x5cc270(0x1cd)]())[_0x5cc270(0x1d1)]()[this[_0x5cc270(0x1b3)]];return _0x79dd80[this[_0x5cc270(0x1b3)]];}return void 0x0!==_0x48ed68&&this[_0x5cc270(0x1c9)]!==_0x348be9?(this[_0x5cc270(0x1b3)]=_0x48ed68,this[_0x5cc270(0x1a9)]=_0x26e33d,this[_0x5cc270(0x1c9)]=_0x348be9,_0x79dd80[_0x48ed68]):_0x26e33d[_0x5cc270(0x1b5)]();}[_0xa759ce(0x1ad)](_0xa0714a,_0x2163d2){const _0x4b9bec=_0xa759ce;if(_0xa0714a)for(let _0x5e7ac6=0x0;_0x5e7ac6<_0x2163d2[_0x4b9bec(0x1a3)];_0x5e7ac6++){const _0x28773b=_0x2163d2[_0x5e7ac6];if(_0xa0714a[_0x4b9bec(0x1ca)]>=_0x28773b[_0x4b9bec(0x1cf)]-0x3&&_0xa0714a[_0x4b9bec(0x1ca)]<=_0x28773b[_0x4b9bec(0x1ae)]+0x3&&_0xa0714a[_0x4b9bec(0x1b9)]>=_0x28773b[_0x4b9bec(0x1b1)]-0x3&&_0xa0714a[_0x4b9bec(0x1b9)]<=_0x28773b[_0x4b9bec(0x1e1)]+0x3)return _0x5e7ac6;}}[_0xa759ce(0x1bd)](_0x1dbe8a,_0x5a3d7f,_0x3e0ccd){const _0x56744d=_0xa759ce,_0x47ec51=new _0x44bd32(_0x1dbe8a),_0x34d450=_0x5a3d7f||document[_0x56744d(0x1a7)],_0x289792=_0x47ec51[_0x56744d(0x1da)](_0x3c35b4(_0x3e0ccd)),_0x3cae2a=new _0x44bd32(_0x34d450)[_0x56744d(0x1da)](_0x47ec51);return!!(_0x289792&&_0x3cae2a&&_0x47ec51[_0x56744d(0x1a2)]>0x0);}}
23
+ const _0x36c9b2=_0x323f;(function(_0x3876ac,_0x12a5b5){const _0x1f3640=_0x323f,_0x5e2dc1=_0x3876ac();while(!![]){try{const _0x43cee0=-parseInt(_0x1f3640(0x219))/0x1*(parseInt(_0x1f3640(0x1e0))/0x2)+parseInt(_0x1f3640(0x1f4))/0x3+parseInt(_0x1f3640(0x1ee))/0x4+-parseInt(_0x1f3640(0x1f1))/0x5+-parseInt(_0x1f3640(0x1e4))/0x6*(parseInt(_0x1f3640(0x1da))/0x7)+-parseInt(_0x1f3640(0x202))/0x8*(parseInt(_0x1f3640(0x211))/0x9)+-parseInt(_0x1f3640(0x1db))/0xa*(-parseInt(_0x1f3640(0x1e7))/0xb);if(_0x43cee0===_0x12a5b5)break;else _0x5e2dc1['push'](_0x5e2dc1['shift']());}catch(_0x2e81ca){_0x5e2dc1['push'](_0x5e2dc1['shift']());}}}(_0x57b8,0xb44f7));import{Rect as _0x3e1c4c,getConstrainedViewportRect as _0x4d8772}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x52058a,View as _0x43ab33,clickOutsideHandler as _0xe6982b}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4d7376}from'./aireviewcorechecklistitemresultview.js';function _0x323f(_0x3305bd,_0x916f77){const _0x57b82a=_0x57b8();return _0x323f=function(_0x323fc9,_0x50be8d){_0x323fc9=_0x323fc9-0x1d4;let _0x5e96a9=_0x57b82a[_0x323fc9];return _0x5e96a9;},_0x323f(_0x3305bd,_0x916f77);}function _0x57b8(){const _0x57237b=['changeId','hide','top','_pinnedRectIndex','deactivateChange','updateContent','3444296yKjKFH','forEach','bottom','1227095GmdMzN','replace','length','2399880ByVzqO','contentDiffed','ck-ai_review__suggestion-text','resultItemView','_createContentView','render','acceptChange','content','balloon','from','documentElement','add','getBoundingClientRect','right','8etRtyv','left','dismissChange','_pinnedTargetElement','position','getClientRects','isVisible','push','clientY','clientX','setTemplate','extendTemplate','hover','arrow_se','showBalloon','8715609RPXGRt','ck-content','_pinnedTargetChangeId','ck-ai_review-balloon-panel-suggestion_diff-active','_getBestRectPositionOnClick','hideBalloon','innerHTML','_getBestRectPositionOnHover','28knzjRn','reverse','hideDiffInBalloon','resultResponseView','delegate','arrow_','show','unpin','width','div','_getPointedRectIndexFromEvent','bindTemplate','_isPinnedRectVisible','pin','ck-reset','click','set','110306AZxlVl','215770ADSgJE','ck-ai_review-balloon-panel-suggestion','_setupClickOutsideHandler','locale','isDiffActive','99232kWVUqP','showDiffInBalloon','getIntersection','showDiff','42XayrPx','fire','element','913iboZec'];_0x57b8=function(){return _0x57237b;};return _0x57b8();}import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x52058a{[_0x36c9b2(0x1f7)];[_0x36c9b2(0x1eb)]=void 0x0;[_0x36c9b2(0x205)]=void 0x0;[_0x36c9b2(0x213)]=void 0x0;constructor(_0x551c3b,_0x442c6d){const _0x13b144=_0x36c9b2;super(_0x551c3b),this[_0x13b144(0x1d9)]({'isVisible':!0x1,'position':_0x13b144(0x20f),'class':null,'top':0x0,'left':0x0}),this[_0x13b144(0x20d)]({'tag':_0x13b144(0x222),'attributes':{'class':[_0x13b144(0x1d7)],'tabindex':'-1'}}),this[_0x13b144(0x1d9)](_0x13b144(0x1df),!0x1),this[_0x13b144(0x1fb)][_0x13b144(0x1ff)](this[_0x13b144(0x1f8)]()),_0x442c6d[_0x13b144(0x1ff)](this);}[_0x36c9b2(0x1f9)](){const _0x1248fc=_0x36c9b2;super[_0x1248fc(0x1f9)](),this[_0x1248fc(0x1dd)]();}[_0x36c9b2(0x1ed)](_0x12bcea){const _0x3595c4=_0x36c9b2;this[_0x3595c4(0x1f7)][_0x3595c4(0x1e8)]=_0x12bcea['id'],this[_0x3595c4(0x1f7)][_0x3595c4(0x21c)][_0x3595c4(0x1e6)][_0x3595c4(0x217)]=_0x12bcea[_0x3595c4(0x1f5)];}[_0x36c9b2(0x210)](_0x16e440,_0x5b4966,_0xf4062a,_0x42dfb7,_0x335480,_0x61fd64){const _0x5ad1fb=_0x36c9b2,_0xc0db2=_0x5b4966();if(!_0xc0db2)return;this[_0x5ad1fb(0x1ed)](_0x16e440),this[_0x5ad1fb(0x21f)]();const _0x4dbf1b=Array[_0x5ad1fb(0x1fd)](_0xc0db2[_0x5ad1fb(0x207)]())[_0x5ad1fb(0x21a)](),_0x1c41a1=this[_0x5ad1fb(0x223)](_0xf4062a,_0x4dbf1b),_0x4e2976=_0x4dbf1b[_0x1c41a1??0x0];_0x5ad1fb(0x1d8)===_0x42dfb7?(this[_0x5ad1fb(0x1df)]=!0x0,this[_0x5ad1fb(0x1d6)]({'target':()=>this[_0x5ad1fb(0x215)](_0x5b4966(),_0x1c41a1,_0x16e440['id'],_0x335480,_0x61fd64)||_0x4e2976})):_0x5ad1fb(0x20e)===_0x42dfb7&&(this[_0x5ad1fb(0x1df)]=!0x1,this[_0x5ad1fb(0x1d6)]({'target':()=>this[_0x5ad1fb(0x218)](_0x5b4966(),_0x1c41a1,_0x16e440['id'])||_0x4e2976}));}[_0x36c9b2(0x216)](){const _0x290ac9=_0x36c9b2;this[_0x290ac9(0x1e9)](),this[_0x290ac9(0x220)](),this[_0x290ac9(0x1eb)]=void 0x0,this[_0x290ac9(0x205)]=void 0x0,this[_0x290ac9(0x213)]=void 0x0;}[_0x36c9b2(0x21b)](){const _0x5f0ba5=_0x36c9b2;this[_0x5f0ba5(0x1f7)][_0x5f0ba5(0x1e3)]=!0x1;}[_0x36c9b2(0x1e1)](){const _0x4c56f7=_0x36c9b2;this[_0x4c56f7(0x1f7)][_0x4c56f7(0x1e3)]=!0x0;}[_0x36c9b2(0x1ec)](){const _0x1b180c=_0x36c9b2;this[_0x1b180c(0x1e5)](_0x1b180c(0x1ec),{'origin':_0x1b180c(0x1fc)});}[_0x36c9b2(0x1dd)](){const _0x416a5b=_0x36c9b2;_0xe6982b({'emitter':this,'activator':()=>this[_0x416a5b(0x208)],'contextElements':()=>{const _0xa2cf4d=_0x416a5b,_0x15b817=[this[_0xa2cf4d(0x1e6)]];return this[_0xa2cf4d(0x205)]&&_0x15b817[_0xa2cf4d(0x209)](this[_0xa2cf4d(0x205)]),_0x15b817;},'callback':()=>{const _0x4f4f33=_0x416a5b;this[_0x4f4f33(0x1e9)](),this[_0x4f4f33(0x220)](),this[_0x4f4f33(0x1ec)](),this[_0x4f4f33(0x205)]=void 0x0,this[_0x4f4f33(0x1eb)]=void 0x0,this[_0x4f4f33(0x213)]=void 0x0;}});}[_0x36c9b2(0x1f8)](){const _0x3a0d64=_0x36c9b2,_0x3de893=new _0x43ab33();return this[_0x3a0d64(0x1f7)]=new _0x4d7376(this[_0x3a0d64(0x1de)],''),this[_0x3a0d64(0x1f7)][_0x3a0d64(0x21c)][_0x3a0d64(0x20d)]({'attributes':{'class':[_0x3a0d64(0x212)]}}),this[_0x3a0d64(0x1f7)][_0x3a0d64(0x21d)](_0x3a0d64(0x1fa),_0x3a0d64(0x204))['to'](this),_0x3de893[_0x3a0d64(0x20c)]({'tag':_0x3a0d64(0x222),'attributes':{'class':[_0x3a0d64(0x1d7),_0x3a0d64(0x1dc),this[_0x3a0d64(0x1d4)]['if'](_0x3a0d64(0x1df),_0x3a0d64(0x214))]},'children':[{'tag':'p','attributes':{'class':[_0x3a0d64(0x1f6)]},'children':[this[_0x3a0d64(0x1f7)]]}]}),_0x3de893;}[_0x36c9b2(0x215)](_0x19df24,_0x259a91,_0x2c2483,_0x5dc888,_0x5c8a59){const _0x15c817=_0x36c9b2;if(!_0x19df24)return null;const _0x4e6452=this[_0x15c817(0x206)][_0x15c817(0x1f2)](_0x15c817(0x21e),''),_0x2d05b0=Array[_0x15c817(0x1fd)](_0x19df24[_0x15c817(0x207)]());let _0x2a2e90,_0x3f6d5c=_0x2d05b0[_0x15c817(0x21a)]();return void 0x0!==_0x259a91&&this[_0x15c817(0x1d5)](_0x3f6d5c[_0x259a91],_0x5dc888,_0x5c8a59)?(_0x2a2e90=_0x3f6d5c[_0x259a91],this[_0x15c817(0x1eb)]=_0x259a91):this[_0x15c817(0x1d5)](_0x3f6d5c[0x0],_0x5dc888,_0x5c8a59)&&void 0x0===_0x259a91?_0x2a2e90=_0x3f6d5c[0x0]:(_0x3f6d5c='s'==_0x4e6452[0x0]?[..._0x2d05b0][_0x15c817(0x21a)]():_0x2d05b0,_0x3f6d5c[_0x15c817(0x1ef)](_0x32225a=>{const _0x4b37c8=_0x15c817;this[_0x4b37c8(0x1d5)](_0x32225a,_0x5dc888,_0x5c8a59)&&(_0x2a2e90=_0x32225a);})),this[_0x15c817(0x213)]=_0x2c2483,this[_0x15c817(0x205)]=_0x19df24,_0x2a2e90||_0x19df24[_0x15c817(0x200)]();}[_0x36c9b2(0x218)](_0x1b522b,_0x42baf0,_0x36ca97){const _0x3ea471=_0x36c9b2;if(!_0x1b522b)return null;const _0x553f53=Array[_0x3ea471(0x1fd)](_0x1b522b[_0x3ea471(0x207)]())[_0x3ea471(0x21a)]();if(void 0x0===this[_0x3ea471(0x1eb)]&&void 0x0!==_0x42baf0&&this[_0x3ea471(0x213)]!==_0x36ca97)return this[_0x3ea471(0x1eb)]=_0x42baf0,this[_0x3ea471(0x205)]=_0x1b522b,this[_0x3ea471(0x213)]=_0x36ca97,_0x553f53[_0x42baf0];if(void 0x0!==this[_0x3ea471(0x1eb)]&&this[_0x3ea471(0x213)]===_0x36ca97){if(_0x1b522b!==this[_0x3ea471(0x205)])return Array[_0x3ea471(0x1fd)](this[_0x3ea471(0x205)][_0x3ea471(0x207)]())[_0x3ea471(0x21a)]()[this[_0x3ea471(0x1eb)]];return _0x553f53[this[_0x3ea471(0x1eb)]];}return void 0x0!==_0x42baf0&&this[_0x3ea471(0x213)]!==_0x36ca97?(this[_0x3ea471(0x1eb)]=_0x42baf0,this[_0x3ea471(0x205)]=_0x1b522b,this[_0x3ea471(0x213)]=_0x36ca97,_0x553f53[_0x42baf0]):_0x1b522b[_0x3ea471(0x200)]();}[_0x36c9b2(0x223)](_0x48c717,_0x2dff51){const _0x471ac1=_0x36c9b2;if(_0x48c717)for(let _0x468d9f=0x0;_0x468d9f<_0x2dff51[_0x471ac1(0x1f3)];_0x468d9f++){const _0x458806=_0x2dff51[_0x468d9f];if(_0x48c717[_0x471ac1(0x20b)]>=_0x458806[_0x471ac1(0x203)]-0x3&&_0x48c717[_0x471ac1(0x20b)]<=_0x458806[_0x471ac1(0x201)]+0x3&&_0x48c717[_0x471ac1(0x20a)]>=_0x458806[_0x471ac1(0x1ea)]-0x3&&_0x48c717[_0x471ac1(0x20a)]<=_0x458806[_0x471ac1(0x1f0)]+0x3)return _0x468d9f;}}[_0x36c9b2(0x1d5)](_0x282a55,_0x4bc2f1,_0x37841a){const _0x2f55da=_0x36c9b2,_0x3c8407=new _0x3e1c4c(_0x282a55),_0x2fe56e=_0x4bc2f1||document[_0x2f55da(0x1fe)],_0x4e24eb=_0x3c8407[_0x2f55da(0x1e2)](_0x4d8772(_0x37841a)),_0x152aeb=new _0x3e1c4c(_0x2fe56e)[_0x2f55da(0x1e2)](_0x3c8407);return!!(_0x4e24eb&&_0x152aeb&&_0x3c8407[_0x2f55da(0x221)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e4a24=_0x5e14;function _0x2510(){const _0x1defdf=['ck-ai_review__check-run-result-response','258445mHNict','status','6DtvQcX','_createAcceptButtonView','extendTemplate','ck-ai_review__check-run-result-status-button','panel','div','set','setItemAsInactive','isOn','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai_review__check-run-result_active','fire','outdated','showDiff','bind','acceptButtonView','activateChange','rejected','bindTemplate','isActive','setTemplate','ck-ai_review__check-run-result','ck-ai-button-secondary','ck-hidden','dismissChange','ck-ai_review__check-run-result-accept-button','menuitemcheckbox','acceptChange','change:status','resultResponseView','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','_createInfoButtonView','_createDismissButtonView','17118ZcuHeJ','ck-ai-button-tertiary','hover','isEnabled','ck-content','deactivateChange','click','changeId','isInfoToggleOn','AI_REVIEW_MODE_DISMISS_CHANGE','tagName','mouseover','ck-ai_review__check-run-result-action-buttons','952617fkTcgP','accepted','ck-reset_all-excluded','setItemAsActive','_createResultResponseView','label','locale','disabled','execute','7306150AhzqxG','pending','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','outdatedButtonView','9nmzUql','infoButtonView','3624816RstLxx','AI_REVIEW_MODE_LEARN_MORE','6536uWzzZr','ck-ai_review__check-run-result-dismiss-button','icon','stopPropagation','preventDefault','1241658XmuQuf','mouseout','AI_REVIEW_MODE_ACCEPT_CHANGE','target','dismissButtonView','ck-ai_review__check-run-result-footer','10677730oWQBvx','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','580BEmoMz','_createOutdatedButtonView'];_0x2510=function(){return _0x1defdf;};return _0x2510();}(function(_0x273520,_0x5e7640){const _0x428e98=_0x5e14,_0x19490d=_0x273520();while(!![]){try{const _0x2060aa=-parseInt(_0x428e98(0xd2))/0x1+parseInt(_0x428e98(0xe8))/0x2*(-parseInt(_0x428e98(0xdf))/0x3)+parseInt(_0x428e98(0xe1))/0x4+parseInt(_0x428e98(0xdb))/0x5+-parseInt(_0x428e98(0xa4))/0x6*(parseInt(_0x428e98(0xee))/0x7)+parseInt(_0x428e98(0xe3))/0x8*(parseInt(_0x428e98(0xc5))/0x9)+-parseInt(_0x428e98(0x9f))/0xa*(-parseInt(_0x428e98(0xa2))/0xb);if(_0x2060aa===_0x5e7640)break;else _0x19490d['push'](_0x19490d['shift']());}catch(_0x41830b){_0x19490d['push'](_0x19490d['shift']());}}}(_0x2510,0xe65e0));import{View as _0x1fb392,ButtonView as _0x2dae0a}from'ckeditor5/src/ui.js';import{IconInfo as _0x262596,IconCheck as _0x58ea57,IconCancel as _0x167cf0,IconOutdated as _0x2a2d91}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d5bfb}from'../../aicore/utils/common-translations.js';function _0x5e14(_0x546055,_0x47a1c4){const _0x251076=_0x2510();return _0x5e14=function(_0x5e1467,_0x14a1a2){_0x5e1467=_0x5e1467-0x9f;let _0x3bb0c1=_0x251076[_0x5e1467];return _0x3bb0c1;},_0x5e14(_0x546055,_0x47a1c4);}export class AIReviewCoreReviewCheckListItemResultsView extends _0x1fb392{[_0x2e4a24(0xc1)];[_0x2e4a24(0xb3)];[_0x2e4a24(0xec)];[_0x2e4a24(0xe0)];[_0x2e4a24(0xde)];constructor(_0x1a6bff,_0x2ff577){const _0x3711e2=_0x2e4a24;super(_0x1a6bff),this['id']=_0x2ff577,this[_0x3711e2(0xaa)](_0x3711e2(0xa3),_0x3711e2(0xdc)),this[_0x3711e2(0xaa)](_0x3711e2(0xcc),_0x2ff577),this[_0x3711e2(0xc1)]=this[_0x3711e2(0xd6)](),this[_0x3711e2(0xb3)]=this[_0x3711e2(0xa5)](),this[_0x3711e2(0xec)]=this[_0x3711e2(0xc4)](),this[_0x3711e2(0xe0)]=this[_0x3711e2(0xc3)](),this[_0x3711e2(0xde)]=this[_0x3711e2(0xa0)](),this[_0x3711e2(0xaa)](_0x3711e2(0xcd),!0x1),this[_0x3711e2(0xaa)](_0x3711e2(0xb7),!0x1),this[_0x3711e2(0xaa)](_0x3711e2(0xb1),!0x0),this[_0x3711e2(0xb8)]({'tag':_0x3711e2(0xa9),'attributes':{'class':[_0x3711e2(0xb9),this[_0x3711e2(0xb6)]['if'](_0x3711e2(0xb7),_0x3711e2(0xae))]},'on':{'click':this[_0x3711e2(0xb6)]['to'](_0x3711e2(0xcb)),'mouseover':this[_0x3711e2(0xb6)]['to'](_0x3711e2(0xd0)),'mouseout':this[_0x3711e2(0xb6)]['to'](_0x3711e2(0xe9))},'children':[this[_0x3711e2(0xc1)],{'tag':_0x3711e2(0xa9),'attributes':{'class':[_0x3711e2(0xed)]},'children':[{'tag':_0x3711e2(0xa9),'attributes':{'class':[_0x3711e2(0xd1)]},'children':[this[_0x3711e2(0xb3)],this[_0x3711e2(0xec)],this[_0x3711e2(0xde)]]},this[_0x3711e2(0xe0)]]}]}),this['on'](_0x3711e2(0xcb),(_0x4ba869,_0x3abf59)=>{const _0x1aaf2f=_0x3711e2;_0x3abf59&&_0x3abf59[_0x1aaf2f(0xeb)]&&'A'===_0x3abf59[_0x1aaf2f(0xeb)][_0x1aaf2f(0xcf)]&&_0x3abf59[_0x1aaf2f(0xe7)](),this[_0x1aaf2f(0xaf)](_0x1aaf2f(0xb4),{'id':_0x2ff577,'source':this,'uiInteraction':_0x1aaf2f(0xcb)});}),this['on'](_0x3711e2(0xd0),()=>{const _0x1dd787=_0x3711e2;this[_0x1dd787(0xaf)](_0x1dd787(0xb4),{'id':_0x2ff577,'source':this,'uiInteraction':_0x1dd787(0xc7)});}),this['on'](_0x3711e2(0xe9),()=>{const _0x5435d7=_0x3711e2;this[_0x5435d7(0xaf)](_0x5435d7(0xca),{'origin':_0x5435d7(0xa8),'id':_0x2ff577,'source':this});});}[_0x2e4a24(0xd5)](){const _0x4aacab=_0x2e4a24;this[_0x4aacab(0xb7)]=!0x0;}[_0x2e4a24(0xab)](){const _0x44302e=_0x2e4a24;this[_0x44302e(0xb7)]=!0x1;}[_0x2e4a24(0xd6)](){const _0x1fd673=_0x2e4a24,_0x45f34a=new _0x1fb392(this[_0x1fd673(0xd8)]);return _0x45f34a[_0x1fd673(0xb8)]({'tag':_0x1fd673(0xa9),'attributes':{'class':['ck',_0x1fd673(0xc9),_0x1fd673(0xd4),_0x1fd673(0xa1),this[_0x1fd673(0xb6)]['if'](_0x1fd673(0xb1),_0x1fd673(0xbb),_0x3b1393=>!_0x3b1393)]}}),_0x45f34a;}[_0x2e4a24(0xa5)](){const _0x355f61=_0x2e4a24,_0x1d2cf9=new _0x2dae0a(this[_0x355f61(0xd8)]);return _0x1d2cf9[_0x355f61(0xaa)]({'label':_0x2d5bfb(this[_0x355f61(0xd8)],_0x355f61(0xea)),'withText':!0x0}),_0x1d2cf9[_0x355f61(0xa6)]({'on':{'click':this[_0x355f61(0xb6)]['to'](_0x4bc4f9=>{const _0x3bb984=_0x355f61;this[_0x3bb984(0xaf)](_0x3bb984(0xbf),{'id':this[_0x3bb984(0xcc)]}),_0x4bc4f9[_0x3bb984(0xe6)]();})},'attributes':{'class':[_0x355f61(0xba),_0x355f61(0xbd),this[_0x355f61(0xb6)]['if'](_0x355f61(0xa3),_0x355f61(0xbb),_0xe1ce2e=>_0x355f61(0xdc)!==_0xe1ce2e&&_0x355f61(0xd3)!==_0xe1ce2e),this[_0x355f61(0xb6)]['if'](_0x355f61(0xa3),_0x355f61(0xbd),_0x1e6e05=>_0x355f61(0xdc)===_0x1e6e05),this[_0x355f61(0xb6)]['if'](_0x355f61(0xa3),_0x355f61(0xa7),_0x2a3c77=>_0x355f61(0xd3)===_0x2a3c77)]}}),this['on'](_0x355f61(0xc0),(_0x231c1d,_0x9464d0,_0xf6decb)=>{const _0x551392=_0x355f61;_0x1d2cf9[_0x551392(0xc8)]=_0x551392(0xdc)===_0xf6decb,_0x551392(0xd3)===_0xf6decb&&(_0x1d2cf9[_0x551392(0xd7)]=_0x2d5bfb(this[_0x551392(0xd8)],_0x551392(0xad)),_0x1d2cf9[_0x551392(0xe5)]=_0x58ea57);}),_0x1d2cf9;}[_0x2e4a24(0xc4)](){const _0xcee92f=_0x2e4a24,_0x7b9fc9=new _0x2dae0a(this[_0xcee92f(0xd8)]);return _0x7b9fc9[_0xcee92f(0xaa)]({'label':_0x2d5bfb(this[_0xcee92f(0xd8)],_0xcee92f(0xce)),'withText':!0x0}),_0x7b9fc9[_0xcee92f(0xa6)]({'on':{'click':this[_0xcee92f(0xb6)]['to'](_0x2e344f=>{const _0x5aabc5=_0xcee92f;this[_0x5aabc5(0xaf)](_0x5aabc5(0xbc),{'id':this[_0x5aabc5(0xcc)]}),_0x2e344f[_0x5aabc5(0xe6)]();})},'attributes':{'class':[_0xcee92f(0xc6),this[_0xcee92f(0xb6)]['if'](_0xcee92f(0xa3),_0xcee92f(0xbb),_0xfb14a5=>_0xcee92f(0xdc)!==_0xfb14a5&&_0xcee92f(0xb5)!==_0xfb14a5),this[_0xcee92f(0xb6)]['if'](_0xcee92f(0xa3),_0xcee92f(0xe4),_0x2ab92a=>_0xcee92f(0xdc)===_0x2ab92a),this[_0xcee92f(0xb6)]['if'](_0xcee92f(0xa3),_0xcee92f(0xa7),_0x5cd1f5=>_0xcee92f(0xb5)===_0x5cd1f5)]}}),this['on'](_0xcee92f(0xc0),(_0x11f44b,_0x55a20e,_0x59c6d3)=>{const _0x15d3e1=_0xcee92f;_0x7b9fc9[_0x15d3e1(0xc8)]=_0x15d3e1(0xdc)===_0x59c6d3,_0x15d3e1(0xb5)===_0x59c6d3&&(_0x7b9fc9[_0x15d3e1(0xd7)]=_0x2d5bfb(this[_0x15d3e1(0xd8)],_0x15d3e1(0xc2)),_0x7b9fc9[_0x15d3e1(0xe5)]=_0x167cf0);}),_0x7b9fc9;}[_0x2e4a24(0xc3)](){const _0x1b51b9=_0x2e4a24,_0xdd3555=new _0x2dae0a(this[_0x1b51b9(0xd8)]);return _0xdd3555[_0x1b51b9(0xaa)]({'label':_0x2d5bfb(this[_0x1b51b9(0xd8)],_0x1b51b9(0xe2)),'icon':_0x262596,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x1b51b9(0xbe),'class':_0x1b51b9(0xef)}),_0xdd3555[_0x1b51b9(0xb2)](_0x1b51b9(0xac))['to'](this,_0x1b51b9(0xcd),_0x471ed3=>_0x471ed3),_0xdd3555['on'](_0x1b51b9(0xda),()=>{const _0x1e4b35=_0x1b51b9;this[_0x1e4b35(0xcd)]=!this[_0x1e4b35(0xcd)];}),_0xdd3555;}[_0x2e4a24(0xa0)](){const _0x482317=_0x2e4a24,_0x29013c=new _0x2dae0a(this[_0x482317(0xd8)]);return _0x29013c[_0x482317(0xaa)]({'label':_0x2d5bfb(this[_0x482317(0xd8)],_0x482317(0xdd)),'icon':_0x2a2d91,'withText':!0x0,'isEnabled':!0x1}),_0x29013c[_0x482317(0xa6)]({'attributes':{'class':[_0x482317(0xba),_0x482317(0xa7),this[_0x482317(0xb6)]['if'](_0x482317(0xa3),_0x482317(0xbb),_0x45f86a=>_0x482317(0xb0)!==_0x45f86a)],'disabled':_0x482317(0xd9)}}),_0x29013c;}}
23
+ function _0x1a96(){const _0x512de7=['infoButtonView','ck-ai_review__check-run-result-response','resultResponseView','ck-reset_all-excluded','locale','ck-ai_review__check-run-result-action-buttons','152108aQcVIJ','334344BnkiEV','_createInfoButtonView','_createAcceptButtonView','180TeYuwr','10908TdNtDA','1270314nCjbUO','status','disabled','change:status','tagName','fire','ck-ai_review__check-run-result_active','_createResultResponseView','outdatedButtonView','rejected','div','acceptChange','panel','isInfoToggleOn','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','ck-ai_review__check-run-result-dismiss-button','showDiff','changeId','24znUhvT','accepted','extendTemplate','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','outdated','ck-ai-button-secondary','3199AlGOct','530jCnwkO','ck-ai-button-tertiary','menuitemcheckbox','pending','ck-ai_review__check-run-result-footer','setItemAsInactive','setTemplate','icon','hover','label','ck-ai_review__check-run-result','dismissChange','_createOutdatedButtonView','set','isEnabled','4182ZpNHMd','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','bindTemplate','setItemAsActive','ck-ai_review__check-run-result-accept-button','deactivateChange','target','isActive','dismissButtonView','ck-content','activateChange','AI_REVIEW_MODE_DISMISS_CHANGE','acceptButtonView','420599bjGBHB','bind','execute','ck-hidden','329360OgYdZv','mouseover','AI_REVIEW_MODE_LEARN_MORE','stopPropagation','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','AI_REVIEW_MODE_ACCEPT_CHANGE','preventDefault','_createDismissButtonView','ck-ai_review__check-run-result-status-button','mouseout','isOn','click'];_0x1a96=function(){return _0x512de7;};return _0x1a96();}const _0x55f3d4=_0x260e;(function(_0x4a5bb6,_0x25d0fe){const _0x4da82b=_0x260e,_0x105e3e=_0x4a5bb6();while(!![]){try{const _0x5b1b42=-parseInt(_0x4da82b(0x1a4))/0x1+-parseInt(_0x4da82b(0x1bf))/0x2*(parseInt(_0x4da82b(0x1be))/0x3)+parseInt(_0x4da82b(0x1d2))/0x4*(parseInt(_0x4da82b(0x1a8))/0x5)+-parseInt(_0x4da82b(0x1e8))/0x6*(parseInt(_0x4da82b(0x1d8))/0x7)+parseInt(_0x4da82b(0x1bb))/0x8+parseInt(_0x4da82b(0x1c0))/0x9+-parseInt(_0x4da82b(0x1d9))/0xa*(-parseInt(_0x4da82b(0x1ba))/0xb);if(_0x5b1b42===_0x25d0fe)break;else _0x105e3e['push'](_0x105e3e['shift']());}catch(_0xc56eab){_0x105e3e['push'](_0x105e3e['shift']());}}}(_0x1a96,0x3bbcf));import{View as _0x249d9b,ButtonView as _0x5f9e81}from'ckeditor5/src/ui.js';import{IconInfo as _0x66effe,IconCheck as _0x361857,IconCancel as _0x1ed8fc,IconOutdated as _0x555d51}from'ckeditor5/src/icons.js';function _0x260e(_0x175625,_0x34ea48){const _0x1a96c7=_0x1a96();return _0x260e=function(_0x260edf,_0x33fce3){_0x260edf=_0x260edf-0x19e;let _0x10649d=_0x1a96c7[_0x260edf];return _0x10649d;},_0x260e(_0x175625,_0x34ea48);}import{getTranslation as _0x20bab9}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x249d9b{[_0x55f3d4(0x1b6)];[_0x55f3d4(0x1a3)];[_0x55f3d4(0x19f)];[_0x55f3d4(0x1b4)];[_0x55f3d4(0x1c8)];constructor(_0x2b2eb4,_0x53f301){const _0x53b062=_0x55f3d4;super(_0x2b2eb4),this['id']=_0x53f301,this[_0x53b062(0x1e6)](_0x53b062(0x1c1),_0x53b062(0x1dc)),this[_0x53b062(0x1e6)](_0x53b062(0x1d1),_0x53f301),this[_0x53b062(0x1b6)]=this[_0x53b062(0x1c7)](),this[_0x53b062(0x1a3)]=this[_0x53b062(0x1bd)](),this[_0x53b062(0x19f)]=this[_0x53b062(0x1af)](),this[_0x53b062(0x1b4)]=this[_0x53b062(0x1bc)](),this[_0x53b062(0x1c8)]=this[_0x53b062(0x1e5)](),this[_0x53b062(0x1e6)](_0x53b062(0x1cd),!0x1),this[_0x53b062(0x1e6)](_0x53b062(0x19e),!0x1),this[_0x53b062(0x1e6)](_0x53b062(0x1d0),!0x0),this[_0x53b062(0x1df)]({'tag':_0x53b062(0x1ca),'attributes':{'class':[_0x53b062(0x1e3),this[_0x53b062(0x1ea)]['if'](_0x53b062(0x19e),_0x53b062(0x1c6))]},'on':{'click':this[_0x53b062(0x1ea)]['to'](_0x53b062(0x1b3)),'mouseover':this[_0x53b062(0x1ea)]['to'](_0x53b062(0x1a9)),'mouseout':this[_0x53b062(0x1ea)]['to'](_0x53b062(0x1b1))},'children':[this[_0x53b062(0x1b6)],{'tag':_0x53b062(0x1ca),'attributes':{'class':[_0x53b062(0x1dd)]},'children':[{'tag':_0x53b062(0x1ca),'attributes':{'class':[_0x53b062(0x1b9)]},'children':[this[_0x53b062(0x1a3)],this[_0x53b062(0x19f)],this[_0x53b062(0x1c8)]]},this[_0x53b062(0x1b4)]]}]}),this['on'](_0x53b062(0x1b3),(_0x59fa92,_0x4d2e70)=>{const _0x3540e8=_0x53b062;_0x4d2e70&&_0x4d2e70[_0x3540e8(0x1ee)]&&'A'===_0x4d2e70[_0x3540e8(0x1ee)][_0x3540e8(0x1c4)]&&_0x4d2e70[_0x3540e8(0x1ae)](),this[_0x3540e8(0x1c5)](_0x3540e8(0x1a1),{'id':_0x53f301,'source':this,'uiInteraction':_0x3540e8(0x1b3)});}),this['on'](_0x53b062(0x1a9),()=>{const _0x377a2b=_0x53b062;this[_0x377a2b(0x1c5)](_0x377a2b(0x1a1),{'id':_0x53f301,'source':this,'uiInteraction':_0x377a2b(0x1e1)});}),this['on'](_0x53b062(0x1b1),()=>{const _0x5a2c9a=_0x53b062;this[_0x5a2c9a(0x1c5)](_0x5a2c9a(0x1ed),{'origin':_0x5a2c9a(0x1cc),'id':_0x53f301,'source':this});});}[_0x55f3d4(0x1eb)](){const _0x1f148f=_0x55f3d4;this[_0x1f148f(0x19e)]=!0x0;}[_0x55f3d4(0x1de)](){const _0x22b712=_0x55f3d4;this[_0x22b712(0x19e)]=!0x1;}[_0x55f3d4(0x1c7)](){const _0x385edc=_0x55f3d4,_0xd37aa0=new _0x249d9b(this[_0x385edc(0x1b8)]);return _0xd37aa0[_0x385edc(0x1df)]({'tag':_0x385edc(0x1ca),'attributes':{'class':['ck',_0x385edc(0x1a0),_0x385edc(0x1b7),_0x385edc(0x1b5),this[_0x385edc(0x1ea)]['if'](_0x385edc(0x1d0),_0x385edc(0x1a7),_0x74f1fe=>!_0x74f1fe)]}}),_0xd37aa0;}[_0x55f3d4(0x1bd)](){const _0x36216e=_0x55f3d4,_0x4ed12d=new _0x5f9e81(this[_0x36216e(0x1b8)]);return _0x4ed12d[_0x36216e(0x1e6)]({'label':_0x20bab9(this[_0x36216e(0x1b8)],_0x36216e(0x1ad)),'withText':!0x0}),_0x4ed12d[_0x36216e(0x1d4)]({'on':{'click':this[_0x36216e(0x1ea)]['to'](_0x286ac1=>{const _0x497b62=_0x36216e;this[_0x497b62(0x1c5)](_0x497b62(0x1cb),{'id':this[_0x497b62(0x1d1)]}),_0x286ac1[_0x497b62(0x1ab)]();})},'attributes':{'class':[_0x36216e(0x1d7),_0x36216e(0x1ec),this[_0x36216e(0x1ea)]['if'](_0x36216e(0x1c1),_0x36216e(0x1a7),_0x56b106=>_0x36216e(0x1dc)!==_0x56b106&&_0x36216e(0x1d3)!==_0x56b106),this[_0x36216e(0x1ea)]['if'](_0x36216e(0x1c1),_0x36216e(0x1ec),_0x59da0b=>_0x36216e(0x1dc)===_0x59da0b),this[_0x36216e(0x1ea)]['if'](_0x36216e(0x1c1),_0x36216e(0x1b0),_0x349e1e=>_0x36216e(0x1d3)===_0x349e1e)]}}),this['on'](_0x36216e(0x1c3),(_0x4604f2,_0x5cd4fb,_0x5e1619)=>{const _0x71626d=_0x36216e;_0x4ed12d[_0x71626d(0x1e7)]=_0x71626d(0x1dc)===_0x5e1619,_0x71626d(0x1d3)===_0x5e1619&&(_0x4ed12d[_0x71626d(0x1e2)]=_0x20bab9(this[_0x71626d(0x1b8)],_0x71626d(0x1ac)),_0x4ed12d[_0x71626d(0x1e0)]=_0x361857);}),_0x4ed12d;}[_0x55f3d4(0x1af)](){const _0x9c39bc=_0x55f3d4,_0xe33d62=new _0x5f9e81(this[_0x9c39bc(0x1b8)]);return _0xe33d62[_0x9c39bc(0x1e6)]({'label':_0x20bab9(this[_0x9c39bc(0x1b8)],_0x9c39bc(0x1a2)),'withText':!0x0}),_0xe33d62[_0x9c39bc(0x1d4)]({'on':{'click':this[_0x9c39bc(0x1ea)]['to'](_0x470e8b=>{const _0x12dbd0=_0x9c39bc;this[_0x12dbd0(0x1c5)](_0x12dbd0(0x1e4),{'id':this[_0x12dbd0(0x1d1)]}),_0x470e8b[_0x12dbd0(0x1ab)]();})},'attributes':{'class':[_0x9c39bc(0x1da),this[_0x9c39bc(0x1ea)]['if'](_0x9c39bc(0x1c1),_0x9c39bc(0x1a7),_0x16f059=>_0x9c39bc(0x1dc)!==_0x16f059&&_0x9c39bc(0x1c9)!==_0x16f059),this[_0x9c39bc(0x1ea)]['if'](_0x9c39bc(0x1c1),_0x9c39bc(0x1cf),_0x5c5292=>_0x9c39bc(0x1dc)===_0x5c5292),this[_0x9c39bc(0x1ea)]['if'](_0x9c39bc(0x1c1),_0x9c39bc(0x1b0),_0x188293=>_0x9c39bc(0x1c9)===_0x188293)]}}),this['on'](_0x9c39bc(0x1c3),(_0x2ddcb9,_0x35e3c2,_0x349bf0)=>{const _0x414393=_0x9c39bc;_0xe33d62[_0x414393(0x1e7)]=_0x414393(0x1dc)===_0x349bf0,_0x414393(0x1c9)===_0x349bf0&&(_0xe33d62[_0x414393(0x1e2)]=_0x20bab9(this[_0x414393(0x1b8)],_0x414393(0x1e9)),_0xe33d62[_0x414393(0x1e0)]=_0x1ed8fc);}),_0xe33d62;}[_0x55f3d4(0x1bc)](){const _0x3e50ad=_0x55f3d4,_0x34eff8=new _0x5f9e81(this[_0x3e50ad(0x1b8)]);return _0x34eff8[_0x3e50ad(0x1e6)]({'label':_0x20bab9(this[_0x3e50ad(0x1b8)],_0x3e50ad(0x1aa)),'icon':_0x66effe,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x3e50ad(0x1db),'class':_0x3e50ad(0x1ce)}),_0x34eff8[_0x3e50ad(0x1a5)](_0x3e50ad(0x1b2))['to'](this,_0x3e50ad(0x1cd),_0x45b09a=>_0x45b09a),_0x34eff8['on'](_0x3e50ad(0x1a6),()=>{const _0x246b56=_0x3e50ad;this[_0x246b56(0x1cd)]=!this[_0x246b56(0x1cd)];}),_0x34eff8;}[_0x55f3d4(0x1e5)](){const _0x8945af=_0x55f3d4,_0x187355=new _0x5f9e81(this[_0x8945af(0x1b8)]);return _0x187355[_0x8945af(0x1e6)]({'label':_0x20bab9(this[_0x8945af(0x1b8)],_0x8945af(0x1d5)),'icon':_0x555d51,'withText':!0x0,'isEnabled':!0x1}),_0x187355[_0x8945af(0x1d4)]({'attributes':{'class':[_0x8945af(0x1d7),_0x8945af(0x1b0),this[_0x8945af(0x1ea)]['if'](_0x8945af(0x1c1),_0x8945af(0x1a7),_0x26dfeb=>_0x8945af(0x1d6)!==_0x26dfeb)],'disabled':_0x8945af(0x1c2)}}),_0x187355;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x5934f7,KeystrokeHandler as _0xa6b957,FocusTracker as _0x2409e1}from'ckeditor5/src/utils.js';import{View as _0xe5d07d,ViewCollection as _0x56f276,ButtonView as _0x1f4c88,FormRowView as _0x103bca,createDropdown as _0x43fa5b,addListToDropdown as _0x3b2213,UIModel as _0x23fa1b,ButtonLabelView as _0x316894,LabeledFieldView as _0x4f04c2,FocusCycler as _0x5a18cd}from'ckeditor5/src/ui.js';import{getTranslation as _0x2a2dd5}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x15f531}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0xe5d07d{['focusTracker']=new _0x2409e1();['keystrokes']=new _0xa6b957();['focusCycler'];['_focusables']=new _0x56f276();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5a1c71,_0x39c002,_0x3c9f6f=!0x1){super(_0x5a1c71),this['_check']=_0x39c002,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x39c002['defaultModel']?_0x39c002['defaultModel']['id']:'',this['_defaultLabel']=_0x39c002['defaultModel']?_0x39c002['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x4f04c2(this['locale'],()=>new _0x15f531(_0x5a1c71)),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 _0x5934f7(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x3c9f6f),_0x3b2213(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x103bca(this['locale'],{'children':[this['promptInputView']]}),new _0x103bca(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x333d0e,_0x42df72)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x42df72()):_0x42df72();}),this['focusCycler']=new _0x5a18cd({'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'](_0xd7a871=>{this['_focusables']['add'](_0xd7a871),this['focusTracker']['add'](_0xd7a871['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 _0x2a503d of this['_getFormValidators']()){const _0x39c794=_0x2a503d();if(_0x39c794)return this['promptInputView']['errorText']=_0x39c794,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x2a2dd5(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x44af93=new _0x1f4c88(this['locale']),t=this['locale']['t'];return _0x44af93['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x44af93['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x44af93;}['_createCancelButtonView'](){const _0x11f806=new _0x1f4c88(this['locale']),t=this['locale']['t'];return _0x11f806['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x11f806['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x36369f=>{_0x36369f['stopPropagation']();})}}),_0x11f806['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x11f806;}['_setModelList'](_0x38afc0){this['_modelSelectionDropdownItems']['clear']();const _0xf9dbc2=this['_check']['models'];if(_0x38afc0)this['set']('modelDisplayMode','hidden');else{const _0x3f4bbd=0x1===_0xf9dbc2['length'];this['set']('modelDisplayMode',_0x3f4bbd?'name':'selector');}if(this['resetToDefault'](),_0xf9dbc2?.['length']){0x1===_0xf9dbc2['length']&&this['set']('activeModelName',_0xf9dbc2[0x0]['name']||_0xf9dbc2[0x0]['id']);for(const _0x4de16f of _0xf9dbc2){const _0xddfdc1=new _0x23fa1b({'label':_0x4de16f['name'],'withText':!0x0,'role':'menuitemradio','id':_0x4de16f['id'],'model':_0x4de16f});_0xddfdc1['bind']('isOn')['to'](this,'modelId',_0x1025b7=>_0x1025b7===_0x4de16f['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xddfdc1,'labelView':new ko(this['locale'],_0x4de16f)});}}}['_createModelSelectionDropdown'](){const _0x3ccb07=_0x43fa5b(this['locale']);return _0x3ccb07['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x3ccb07['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x3ccb07['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3792f7=>'selector'===_0x3792f7),this['listenTo'](_0x3ccb07,'execute',_0x171fff=>{this['modelId']=_0x171fff['source']['model']['id'],_0x3ccb07['buttonView']['label']=_0x171fff['source']['label'];}),_0x3ccb07;}['_createModelNameView'](){const _0x77dc0=new _o(this['locale']);return _0x77dc0['bind']('text')['to'](this,'activeModelName',_0x323285=>_0x323285??''),_0x77dc0['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2237bc=>'name'===_0x2237bc),_0x77dc0;}['_createActionsFooterView'](){const _0x25f035=new _0xe5d07d(this['locale']);return _0x25f035['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']]}]}),_0x25f035;}}class _o extends _0xe5d07d{constructor(_0x3387ec){super(_0x3387ec),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x44b3a4=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x44b3a4['if']('isVisible','ck-hidden',_0x259577=>!_0x259577)]},'children':[{'text':_0x44b3a4['to']('text')}]});}}class ko extends _0x316894{constructor(_0x238fa5,_0x30ae4a){super();const _0x3bd051=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3bd051['to']('style'),'id':_0x3bd051['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x3bd051['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x30ae4a['description']||'']}]}]});}}
23
+ import{Collection as _0x40543d,KeystrokeHandler as _0x212db2,FocusTracker as _0x48d199}from'ckeditor5/src/utils.js';import{View as _0x1514dd,ViewCollection as _0x59237a,ButtonView as _0xed68c0,FormRowView as _0x46863d,createDropdown as _0x2c05e8,addListToDropdown as _0x2c4a48,UIModel as _0x29a73b,ButtonLabelView as _0x13d421,LabeledFieldView as _0x42044e,FocusCycler as _0x174861}from'ckeditor5/src/ui.js';import{getTranslation as _0x510f2}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x45f7a4}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x1514dd{['focusTracker']=new _0x48d199();['keystrokes']=new _0x212db2();['focusCycler'];['_focusables']=new _0x59237a();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x1def41,_0x1cc19f,_0x4a3685=!0x1){super(_0x1def41),this['_check']=_0x1cc19f,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x1cc19f['defaultModel']?_0x1cc19f['defaultModel']['id']:'',this['_defaultLabel']=_0x1cc19f['defaultModel']?_0x1cc19f['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x42044e(this['locale'],()=>new _0x45f7a4(_0x1def41)),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 _0x40543d(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x4a3685),_0x2c4a48(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x46863d(this['locale'],{'children':[this['promptInputView']]}),new _0x46863d(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x12676d,_0x2ac5d2)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x2ac5d2()):_0x2ac5d2();}),this['focusCycler']=new _0x174861({'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'](_0x449d06=>{this['_focusables']['add'](_0x449d06),this['focusTracker']['add'](_0x449d06['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 _0x3ccc93 of this['_getFormValidators']()){const _0x29ffb2=_0x3ccc93();if(_0x29ffb2)return this['promptInputView']['errorText']=_0x29ffb2,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x510f2(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x384f27=new _0xed68c0(this['locale']),t=this['locale']['t'];return _0x384f27['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x384f27['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x384f27;}['_createCancelButtonView'](){const _0x420555=new _0xed68c0(this['locale']),t=this['locale']['t'];return _0x420555['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x420555['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x21861e=>{_0x21861e['stopPropagation']();})}}),_0x420555['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x420555;}['_setModelList'](_0x44b6b7){this['_modelSelectionDropdownItems']['clear']();const _0x36b9a2=this['_check']['models'];if(_0x44b6b7)this['set']('modelDisplayMode','hidden');else{const _0x3ad6eb=0x1===_0x36b9a2['length'];this['set']('modelDisplayMode',_0x3ad6eb?'name':'selector');}if(this['resetToDefault'](),_0x36b9a2?.['length']){0x1===_0x36b9a2['length']&&this['set']('activeModelName',_0x36b9a2[0x0]['name']||_0x36b9a2[0x0]['id']);for(const _0x3da81d of _0x36b9a2){const _0xc714ce=new _0x29a73b({'label':_0x3da81d['name'],'withText':!0x0,'role':'menuitemradio','id':_0x3da81d['id'],'model':_0x3da81d});_0xc714ce['bind']('isOn')['to'](this,'modelId',_0x350d0d=>_0x350d0d===_0x3da81d['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xc714ce,'labelView':new ModelButtonLabelView(this['locale'],_0x3da81d)});}}}['_createModelSelectionDropdown'](){const _0x4d41c6=_0x2c05e8(this['locale']);return _0x4d41c6['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x4d41c6['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x4d41c6['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x278767=>'selector'===_0x278767),this['listenTo'](_0x4d41c6,'execute',_0x59e3ff=>{this['modelId']=_0x59e3ff['source']['model']['id'],_0x4d41c6['buttonView']['label']=_0x59e3ff['source']['label'];}),_0x4d41c6;}['_createModelNameView'](){const _0x4e64bd=new ModelNameView(this['locale']);return _0x4e64bd['bind']('text')['to'](this,'activeModelName',_0x5849c7=>_0x5849c7??''),_0x4e64bd['bind']('isVisible')['to'](this,'modelDisplayMode',_0x127887=>'name'===_0x127887),_0x4e64bd;}['_createActionsFooterView'](){const _0x5e8d3f=new _0x1514dd(this['locale']);return _0x5e8d3f['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']]}]}),_0x5e8d3f;}}class ModelNameView extends _0x1514dd{constructor(_0x226403){super(_0x226403),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x500d5d=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x500d5d['if']('isVisible','ck-hidden',_0x17d46e=>!_0x17d46e)]},'children':[{'text':_0x500d5d['to']('text')}]});}}class ModelButtonLabelView extends _0x13d421{constructor(_0x344a0b,_0x263b76){super();const _0x300d37=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x300d37['to']('style'),'id':_0x300d37['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x300d37['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x263b76['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3c3672,_0x266e4c){var _0x3e575c=_0x5872,_0x57407c=_0x3c3672();while(!![]){try{var _0x136936=-parseInt(_0x3e575c(0x94))/0x1*(-parseInt(_0x3e575c(0x8f))/0x2)+parseInt(_0x3e575c(0x8a))/0x3*(-parseInt(_0x3e575c(0x87))/0x4)+parseInt(_0x3e575c(0x91))/0x5*(parseInt(_0x3e575c(0x8e))/0x6)+-parseInt(_0x3e575c(0x8b))/0x7*(parseInt(_0x3e575c(0x88))/0x8)+-parseInt(_0x3e575c(0x96))/0x9+-parseInt(_0x3e575c(0x95))/0xa+parseInt(_0x3e575c(0x92))/0xb;if(_0x136936===_0x266e4c)break;else _0x57407c['push'](_0x57407c['shift']());}catch(_0x4e8009){_0x57407c['push'](_0x57407c['shift']());}}}(_0xebf6,0xb7e36));function _0x5872(_0xbbb777,_0x17d8dc){var _0xebf69c=_0xebf6();return _0x5872=function(_0x587255,_0x96e784){_0x587255=_0x587255-0x87;var _0x2ba6f5=_0xebf69c[_0x587255];return _0x2ba6f5;},_0x5872(_0xbbb777,_0x17d8dc);}import{ButtonView as _0x439582}from'ckeditor5/src/ui.js';function _0xebf6(){var _0x587ca8=['set','39969oVzSKK','3080749vBbncr','fire','ck-ai-button-primary','96rjXHeI','332XNLfkm','finishReview','27210ahPFTg','28832221BxqThJ','execute','3367SeCHwc','9690410cEptrj','8623782iEanfD','44NlLMfx','8AlTuoh'];_0xebf6=function(){return _0x587ca8;};return _0xebf6();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x439582{constructor(_0x2ab347,_0x226023){var _0x5b7615=_0x5872;super(_0x226023),this[_0x5b7615(0x89)]({'label':_0x2ab347,'withText':!0x0,'class':_0x5b7615(0x8d)}),this['on'](_0x5b7615(0x93),()=>{var _0xf329e=_0x5b7615;this[_0xf329e(0x8c)](_0xf329e(0x90));});}}
23
+ function _0x41d1(){var _0x165164=['455oNqDMw','6883392ReELDA','set','79624osxroM','execute','1794194YdzESY','1569447JaIvKK','49684BmTfNh','finishReview','ck-ai-button-primary','fire','27873855TXQPQk','60426EXtLuj','155NiQMnn'];_0x41d1=function(){return _0x165164;};return _0x41d1();}(function(_0x15ab22,_0x1f2f05){var _0x4369b9=_0x1b86,_0x5a8bd1=_0x15ab22();while(!![]){try{var _0x11b0a8=parseInt(_0x4369b9(0x131))/0x1+-parseInt(_0x4369b9(0x12a))/0x2+-parseInt(_0x4369b9(0x12b))/0x3+-parseInt(_0x4369b9(0x12c))/0x4*(parseInt(_0x4369b9(0x132))/0x5)+-parseInt(_0x4369b9(0x134))/0x6+-parseInt(_0x4369b9(0x133))/0x7*(-parseInt(_0x4369b9(0x136))/0x8)+parseInt(_0x4369b9(0x130))/0x9;if(_0x11b0a8===_0x1f2f05)break;else _0x5a8bd1['push'](_0x5a8bd1['shift']());}catch(_0x18a669){_0x5a8bd1['push'](_0x5a8bd1['shift']());}}}(_0x41d1,0xcffe1));function _0x1b86(_0x52e944,_0xe57d4f){var _0x41d120=_0x41d1();return _0x1b86=function(_0x1b869d,_0x5131d9){_0x1b869d=_0x1b869d-0x129;var _0xeb76bc=_0x41d120[_0x1b869d];return _0xeb76bc;},_0x1b86(_0x52e944,_0xe57d4f);}import{ButtonView as _0x310480}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x310480{constructor(_0x39d275,_0x8c9f30){var _0x1ec99e=_0x1b86;super(_0x8c9f30),this[_0x1ec99e(0x135)]({'label':_0x39d275,'withText':!0x0,'class':_0x1ec99e(0x12e)}),this['on'](_0x1ec99e(0x129),()=>{var _0x75bbf6=_0x1ec99e;this[_0x75bbf6(0x12f)](_0x75bbf6(0x12d));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4fb8fd,_0x3de12f){const _0xcb4d56=_0x24d3,_0x1d3653=_0x4fb8fd();while(!![]){try{const _0x18357b=-parseInt(_0xcb4d56(0x88))/0x1*(parseInt(_0xcb4d56(0x7f))/0x2)+-parseInt(_0xcb4d56(0x8f))/0x3*(parseInt(_0xcb4d56(0x82))/0x4)+-parseInt(_0xcb4d56(0x83))/0x5+parseInt(_0xcb4d56(0x85))/0x6*(parseInt(_0xcb4d56(0x8d))/0x7)+-parseInt(_0xcb4d56(0x80))/0x8+parseInt(_0xcb4d56(0x81))/0x9*(-parseInt(_0xcb4d56(0x8b))/0xa)+parseInt(_0xcb4d56(0x84))/0xb;if(_0x18357b===_0x3de12f)break;else _0x1d3653['push'](_0x1d3653['shift']());}catch(_0x851a32){_0x1d3653['push'](_0x1d3653['shift']());}}}(_0x526b,0xa2cae));import{View as _0x32405b}from'ckeditor5/src/ui.js';export class AIReviewCoreGeneralErrorView extends _0x32405b{constructor(_0x139fa3){const _0x3f4d90=_0x24d3;super(_0x139fa3),this[_0x3f4d90(0x7c)](_0x3f4d90(0x86),!0x1),this[_0x3f4d90(0x7c)](_0x3f4d90(0x7e),'');const _0x11c21e=this[_0x3f4d90(0x7d)];this[_0x3f4d90(0x89)]({'tag':_0x3f4d90(0x8c),'attributes':{'class':['ck',_0x3f4d90(0x87),_0x11c21e['if'](_0x3f4d90(0x86),_0x3f4d90(0x8a),_0x1be2ee=>!_0x1be2ee)]},'children':[{'tag':'p','attributes':{'class':_0x3f4d90(0x8e)},'children':[{'text':_0x11c21e['to'](_0x3f4d90(0x7e))}]}]});}}function _0x24d3(_0x659e47,_0x151b8d){const _0x526b51=_0x526b();return _0x24d3=function(_0x24d301,_0xd40fac){_0x24d301=_0x24d301-0x7c;let _0xb5e5c3=_0x526b51[_0x24d301];return _0xb5e5c3;},_0x24d3(_0x659e47,_0x151b8d);}function _0x526b(){const _0x21f759=['36tdHIhR','10348592aZRpBV','180rfAgwh','412804dzbhsH','3317915SRjPuC','32749937gmkeNh','534Mdswzk','isVisible','ck-ai_review__general-error-container','2285RMfTvU','setTemplate','ck-hidden','387060ItJUuf','div','60683kMryFL','ck\x20ck-ai-notification\x20ck-ai-notification_error','9STDerA','set','bindTemplate','errorMessage'];_0x526b=function(){return _0x21f759;};return _0x526b();}
23
+ (function(_0x5e55df,_0x25792b){const _0x5c8697=_0x12e3,_0x3d0f2c=_0x5e55df();while(!![]){try{const _0x3faa31=parseInt(_0x5c8697(0x1a3))/0x1+parseInt(_0x5c8697(0x1b1))/0x2*(-parseInt(_0x5c8697(0x1a9))/0x3)+parseInt(_0x5c8697(0x1b0))/0x4+parseInt(_0x5c8697(0x1a7))/0x5+-parseInt(_0x5c8697(0x1af))/0x6+-parseInt(_0x5c8697(0x1a8))/0x7+parseInt(_0x5c8697(0x1ad))/0x8*(parseInt(_0x5c8697(0x1ac))/0x9);if(_0x3faa31===_0x25792b)break;else _0x3d0f2c['push'](_0x3d0f2c['shift']());}catch(_0x35603f){_0x3d0f2c['push'](_0x3d0f2c['shift']());}}}(_0x10b1,0x1d868));function _0x12e3(_0x59e4f3,_0x3ce48d){const _0x10b104=_0x10b1();return _0x12e3=function(_0x12e373,_0x500ef7){_0x12e373=_0x12e373-0x1a1;let _0x3a84e1=_0x10b104[_0x12e373];return _0x3a84e1;},_0x12e3(_0x59e4f3,_0x3ce48d);}import{View as _0x5cf0ad}from'ckeditor5/src/ui.js';function _0x10b1(){const _0x1498f3=['ck-ai_review__general-error-container','ck\x20ck-ai-notification\x20ck-ai-notification_error','isVisible','187193bmtcLV','setTemplate','ck-hidden','bindTemplate','394785jsMcsp','203049kpgBSR','535809UbZPVt','set','errorMessage','251523RknKwQ','8THSIoF','div','591000DWPNyD','531796UcRXOI','2YzQjLs'];_0x10b1=function(){return _0x1498f3;};return _0x10b1();}export class AIReviewCoreGeneralErrorView extends _0x5cf0ad{constructor(_0x4b9641){const _0x48bf66=_0x12e3;super(_0x4b9641),this[_0x48bf66(0x1aa)](_0x48bf66(0x1a2),!0x1),this[_0x48bf66(0x1aa)](_0x48bf66(0x1ab),'');const _0x49e8f6=this[_0x48bf66(0x1a6)];this[_0x48bf66(0x1a4)]({'tag':_0x48bf66(0x1ae),'attributes':{'class':['ck',_0x48bf66(0x1b2),_0x49e8f6['if'](_0x48bf66(0x1a2),_0x48bf66(0x1a5),_0xe762a2=>!_0xe762a2)]},'children':[{'tag':'p','attributes':{'class':_0x48bf66(0x1a1)},'children':[{'text':_0x49e8f6['to'](_0x48bf66(0x1ab))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xbf8114=_0x594a;(function(_0xc8cce1,_0x112bc6){var _0x242cb5=_0x594a,_0x40889a=_0xc8cce1();while(!![]){try{var _0x4ba367=-parseInt(_0x242cb5(0x195))/0x1+-parseInt(_0x242cb5(0x196))/0x2+parseInt(_0x242cb5(0x18b))/0x3+parseInt(_0x242cb5(0x198))/0x4*(-parseInt(_0x242cb5(0x18f))/0x5)+-parseInt(_0x242cb5(0x186))/0x6+-parseInt(_0x242cb5(0x192))/0x7*(-parseInt(_0x242cb5(0x18d))/0x8)+parseInt(_0x242cb5(0x197))/0x9;if(_0x4ba367===_0x112bc6)break;else _0x40889a['push'](_0x40889a['shift']());}catch(_0x3bc74c){_0x40889a['push'](_0x40889a['shift']());}}}(_0x2151,0x47e21));import{TextareaView as _0x443615}from'ckeditor5/src/ui.js';function _0x2151(){var _0x5efbbd=['MAX_ROWS','render','minRows','value','166392OJYxLP','update','16ROXmPS','isEmpty','175XvqLKi','ai-review-prompt-input','keystrokes','496979fbQxtO','MIN_ROWS','extendTemplate','191895sUoqMD','532230nZbHxS','9654804hXPoCC','19984nbenhW','listenTo','ck-review__prompt-input','maxRows','set','trim','element','2057466DCIZKL'];_0x2151=function(){return _0x5efbbd;};return _0x2151();}import{KeystrokeHandler as _0x47f9c8}from'ckeditor5/src/utils.js';function _0x594a(_0x25b911,_0x2d7ec7){var _0x21511b=_0x2151();return _0x594a=function(_0x594a40,_0x28c506){_0x594a40=_0x594a40-0x183;var _0x198b73=_0x21511b[_0x594a40];return _0x198b73;},_0x594a(_0x25b911,_0x2d7ec7);}export class AIReviewCorePromptInputView extends _0x443615{[_0xbf8114(0x191)];static [_0xbf8114(0x193)]=0x1;static [_0xbf8114(0x187)]=0xc;constructor(_0x47e5b8){var _0x434d89=_0xbf8114;super(_0x47e5b8),this[_0x434d89(0x183)](_0x434d89(0x18e),!0x0),this[_0x434d89(0x191)]=new _0x47f9c8(),this[_0x434d89(0x189)]=AIReviewCorePromptInputView[_0x434d89(0x193)],this[_0x434d89(0x19b)]=AIReviewCorePromptInputView[_0x434d89(0x187)],this[_0x434d89(0x194)]({'attributes':{'id':_0x434d89(0x190),'class':['ck',_0x434d89(0x19a)]}});}[_0xbf8114(0x188)](){var _0x3b174a=_0xbf8114;super[_0x3b174a(0x188)](),this['on'](_0x3b174a(0x18c),()=>{var _0x7add48=_0x3b174a;this[_0x7add48(0x18e)]=''===this[_0x7add48(0x185)][_0x7add48(0x18a)]?.[_0x7add48(0x184)]();}),this[_0x3b174a(0x191)][_0x3b174a(0x199)](this[_0x3b174a(0x185)]);}}
23
+ var _0x255eb9=_0x23e3;(function(_0x1e983f,_0x47709c){var _0x2bc8ae=_0x23e3,_0x22c1a0=_0x1e983f();while(!![]){try{var _0x408696=-parseInt(_0x2bc8ae(0xd4))/0x1*(-parseInt(_0x2bc8ae(0xc9))/0x2)+parseInt(_0x2bc8ae(0xdc))/0x3+parseInt(_0x2bc8ae(0xca))/0x4+-parseInt(_0x2bc8ae(0xcd))/0x5*(-parseInt(_0x2bc8ae(0xde))/0x6)+-parseInt(_0x2bc8ae(0xd7))/0x7*(parseInt(_0x2bc8ae(0xd0))/0x8)+parseInt(_0x2bc8ae(0xcf))/0x9+-parseInt(_0x2bc8ae(0xd6))/0xa;if(_0x408696===_0x47709c)break;else _0x22c1a0['push'](_0x22c1a0['shift']());}catch(_0x5a84d0){_0x22c1a0['push'](_0x22c1a0['shift']());}}}(_0x4e51,0x3a7a2));function _0x23e3(_0x1b28db,_0x4bebc3){var _0x4e518d=_0x4e51();return _0x23e3=function(_0x23e358,_0x452098){_0x23e358=_0x23e358-0xc9;var _0x2fe2eb=_0x4e518d[_0x23e358];return _0x2fe2eb;},_0x23e3(_0x1b28db,_0x4bebc3);}function _0x4e51(){var _0xc0b29f=['9512700dEHEqr','7924ISIEdK','ai-review-prompt-input','trim','ck-review__prompt-input','listenTo','771789PzCliI','minRows','31368WOlssC','isEmpty','MIN_ROWS','keystrokes','extendTemplate','8AvaFIx','1183080JCRmTt','maxRows','render','385hgRMxm','element','2601675YsdIcC','2088YTxhtR','set','MAX_ROWS','value','60395yjmXYA','update'];_0x4e51=function(){return _0xc0b29f;};return _0x4e51();}import{TextareaView as _0x447b25}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5e9373}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x447b25{[_0x255eb9(0xe1)];static [_0x255eb9(0xe0)]=0x1;static [_0x255eb9(0xd2)]=0xc;constructor(_0x43dbc8){var _0x4ff9a3=_0x255eb9;super(_0x43dbc8),this[_0x4ff9a3(0xd1)](_0x4ff9a3(0xdf),!0x0),this[_0x4ff9a3(0xe1)]=new _0x5e9373(),this[_0x4ff9a3(0xdd)]=AIReviewCorePromptInputView[_0x4ff9a3(0xe0)],this[_0x4ff9a3(0xcb)]=AIReviewCorePromptInputView[_0x4ff9a3(0xd2)],this[_0x4ff9a3(0xe2)]({'attributes':{'id':_0x4ff9a3(0xd8),'class':['ck',_0x4ff9a3(0xda)]}});}[_0x255eb9(0xcc)](){var _0x114567=_0x255eb9;super[_0x114567(0xcc)](),this['on'](_0x114567(0xd5),()=>{var _0x3d7abe=_0x114567;this[_0x3d7abe(0xdf)]=''===this[_0x3d7abe(0xce)][_0x3d7abe(0xd3)]?.[_0x3d7abe(0xd9)]();}),this[_0x114567(0xe1)][_0x114567(0xdb)](this[_0x114567(0xce)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35e3b7=_0x26b8;(function(_0x2f7475,_0x638447){const _0x3c0f4f=_0x26b8,_0x2a3c5c=_0x2f7475();while(!![]){try{const _0x36b2b7=parseInt(_0x3c0f4f(0x1ed))/0x1*(-parseInt(_0x3c0f4f(0x1db))/0x2)+-parseInt(_0x3c0f4f(0x1f1))/0x3*(-parseInt(_0x3c0f4f(0x1e3))/0x4)+parseInt(_0x3c0f4f(0x1e9))/0x5*(parseInt(_0x3c0f4f(0x1f3))/0x6)+parseInt(_0x3c0f4f(0x1e4))/0x7+parseInt(_0x3c0f4f(0x1e2))/0x8*(parseInt(_0x3c0f4f(0x1e0))/0x9)+-parseInt(_0x3c0f4f(0x1e8))/0xa*(parseInt(_0x3c0f4f(0x1d5))/0xb)+-parseInt(_0x3c0f4f(0x1da))/0xc;if(_0x36b2b7===_0x638447)break;else _0x2a3c5c['push'](_0x2a3c5c['shift']());}catch(_0x5df5c6){_0x2a3c5c['push'](_0x2a3c5c['shift']());}}}(_0x3a99,0x23cfd));import{ListItemView as _0x27da7e,ViewCollection as _0x5dc5ab}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x7720e3}from'./aireviewcorereviewcommandlistitemview.js';function _0x3a99(){const _0x4dcabf=['setChecks','hasChecks','6387ZzTOXA','runReviewCheck','1746ELKbRI','11RzuvFV','isVisible','locale','setTemplate','entries','3795264PhpFGN','436948KjkWZX','clear','_checkViews','bindTemplate','resetAllParameterizedChecks','45oWuHJq','resetToDefault','271256alFYoq','236MJGsCK','1991290zFTIdV','length','_setupTemplate','ck-ai_review__check-list','1877300MvWbvs','4975wPKfnn','div','add','delegate','1moWxAk','ck-hidden'];_0x3a99=function(){return _0x4dcabf;};return _0x3a99();}function _0x26b8(_0x1e6a32,_0x30fd61){const _0x3a99f1=_0x3a99();return _0x26b8=function(_0x26b859,_0x4d9a04){_0x26b859=_0x26b859-0x1d5;let _0x2daaa0=_0x3a99f1[_0x26b859];return _0x2daaa0;},_0x26b8(_0x1e6a32,_0x30fd61);}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x27da7e{[_0x35e3b7(0x1dd)];constructor(_0x527c00){const _0x333461=_0x35e3b7;super(_0x527c00),this[_0x333461(0x1dd)]=new _0x5dc5ab(),this[_0x333461(0x1e6)]();}[_0x35e3b7(0x1ef)](_0x4e7f7e,_0x101035=!0x1){const _0x4d091d=_0x35e3b7;this[_0x4d091d(0x1dd)][_0x4d091d(0x1dc)]();for(const [_0x54fd6f,_0x2dc272]of _0x4e7f7e[_0x4d091d(0x1d9)]()){const _0x2264d8=new _0x7720e3(this[_0x4d091d(0x1d7)],_0x2dc272,_0x54fd6f,_0x101035);_0x2264d8[_0x4d091d(0x1ec)](_0x4d091d(0x1f2))['to'](this),this[_0x4d091d(0x1dd)][_0x4d091d(0x1eb)](_0x2264d8);}}[_0x35e3b7(0x1f0)](){const _0x42e4e2=_0x35e3b7;return this[_0x42e4e2(0x1dd)][_0x42e4e2(0x1e5)]>0x0;}[_0x35e3b7(0x1df)](){const _0x42fe2b=_0x35e3b7;for(const _0x5f41e6 of this[_0x42fe2b(0x1dd)])_0x5f41e6 instanceof _0x7720e3&&_0x5f41e6[_0x42fe2b(0x1e1)]();}[_0x35e3b7(0x1e6)](){const _0x30b3b2=_0x35e3b7,_0xc13de=this[_0x30b3b2(0x1de)];this[_0x30b3b2(0x1d8)]({'tag':_0x30b3b2(0x1ea),'attributes':{'class':[_0x30b3b2(0x1e7),_0xc13de['if'](_0x30b3b2(0x1d6),_0x30b3b2(0x1ee),_0x4f0bef=>!_0x4f0bef)]},'children':this[_0x30b3b2(0x1dd)]});}}
23
+ function _0x2a87(_0x2f7c94,_0x2f095b){const _0x495911=_0x4959();return _0x2a87=function(_0x2a872e,_0x30d6cd){_0x2a872e=_0x2a872e-0x14f;let _0x419dc8=_0x495911[_0x2a872e];return _0x419dc8;},_0x2a87(_0x2f7c94,_0x2f095b);}const _0x5a0d84=_0x2a87;(function(_0x2a0074,_0x18a5a6){const _0x163405=_0x2a87,_0x45563d=_0x2a0074();while(!![]){try{const _0x3f9ccc=parseInt(_0x163405(0x16b))/0x1+-parseInt(_0x163405(0x168))/0x2*(-parseInt(_0x163405(0x164))/0x3)+-parseInt(_0x163405(0x153))/0x4+parseInt(_0x163405(0x162))/0x5*(-parseInt(_0x163405(0x158))/0x6)+-parseInt(_0x163405(0x16a))/0x7*(-parseInt(_0x163405(0x15d))/0x8)+-parseInt(_0x163405(0x165))/0x9+-parseInt(_0x163405(0x157))/0xa;if(_0x3f9ccc===_0x18a5a6)break;else _0x45563d['push'](_0x45563d['shift']());}catch(_0x27781f){_0x45563d['push'](_0x45563d['shift']());}}}(_0x4959,0x5bbee));import{ListItemView as _0x113c33,ViewCollection as _0x26ead6}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x365d1e}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';function _0x4959(){const _0x1d0311=['2342570GxHlNT','72Svvkqs','_setupTemplate','setTemplate','delegate','resetAllParameterizedChecks','187072nHvGqo','entries','hasChecks','div','bindTemplate','104235tCwjdZ','length','1583103SiEvCV','4881249RGRNqI','add','clear','2IJEqHK','locale','168zkTNSZ','641506losmOq','isVisible','resetToDefault','_checkViews','ck-hidden','1311404MpjTXG','runReviewCheck','ck-ai_review__check-list','setChecks'];_0x4959=function(){return _0x1d0311;};return _0x4959();}export class AIReviewCoreReviewCheckListView extends _0x113c33{[_0x5a0d84(0x151)];constructor(_0x40be19){const _0xa2ec26=_0x5a0d84;super(_0x40be19),this[_0xa2ec26(0x151)]=new _0x26ead6(),this[_0xa2ec26(0x159)]();}[_0x5a0d84(0x156)](_0x5ee1ce,_0x4aeaeb=!0x1){const _0x4a7399=_0x5a0d84;this[_0x4a7399(0x151)][_0x4a7399(0x167)]();for(const [_0x4ab668,_0x4d52a1]of _0x5ee1ce[_0x4a7399(0x15e)]()){const _0x12f3f7=new _0x365d1e(this[_0x4a7399(0x169)],_0x4d52a1,_0x4ab668,_0x4aeaeb);_0x12f3f7[_0x4a7399(0x15b)](_0x4a7399(0x154))['to'](this),this[_0x4a7399(0x151)][_0x4a7399(0x166)](_0x12f3f7);}}[_0x5a0d84(0x15f)](){const _0x493688=_0x5a0d84;return this[_0x493688(0x151)][_0x493688(0x163)]>0x0;}[_0x5a0d84(0x15c)](){const _0x13eeef=_0x5a0d84;for(const _0x4a4419 of this[_0x13eeef(0x151)])_0x4a4419 instanceof _0x365d1e&&_0x4a4419[_0x13eeef(0x150)]();}[_0x5a0d84(0x159)](){const _0x271596=_0x5a0d84,_0x222143=this[_0x271596(0x161)];this[_0x271596(0x15a)]({'tag':_0x271596(0x160),'attributes':{'class':[_0x271596(0x155),_0x222143['if'](_0x271596(0x14f),_0x271596(0x152),_0x148b4e=>!_0x148b4e)]},'children':this[_0x271596(0x151)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x19223a,IconView as _0x3b8aa6,View as _0x8d86f1,ViewCollection as _0x43bdb9,ButtonView as _0x21c6aa,clickOutsideHandler as _0x257eac}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x11fef5}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0xd73de1}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x42fe78}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x19223a{['_formItemsCollection']=new _0x43bdb9();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x2570de,_0x185331,_0x377b42,_0x23f05a=!0x1){super(_0x2570de),this['_hideModels']=_0x23f05a,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x185331['isParameterized']);const _0x4f07df=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',_0x4f0ad1=>_0x4f0ad1),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x59bfd4=>_0x59bfd4)],'style':{'--ck-ai-review-check-list-item-index':_0x377b42}},'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':_0x185331['title']}]},_0x4f07df]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x185331['description']?[{'text':_0x185331['description']}]:[]}]}]},..._0x185331['isParameterized']?[this['_createParameterizedView'](_0x185331)]:[],...'custom'===_0x185331['id']?[this['_createCustomView'](_0x185331,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x185331['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x185331['id'],'args':_0x185331['useArgs']?_0x185331['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x257eac({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x1f04cc=>{_0x1f04cc['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x323483=new _0x3b8aa6();return _0x323483['content']=_0x11fef5,_0x323483['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x323483;}['_createParameterizedView'](_0x124248){const _0x3ebc69=new _0x8d86f1(),_0xaf70ad=this['_createFormView'](_0x124248);return _0x3ebc69['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x28a14b=>!_0x28a14b)]},'children':[_0xaf70ad]}),_0x3ebc69;}['_createFormView'](_0xcbc8c8){const _0x1ae875=new _0x8d86f1(),_0x29c77a=Array['isArray'](_0xcbc8c8['options'])?_0xcbc8c8['options']:[],_0x5d8cce=new _0x21c6aa(this['locale']),t=this['locale']['t'];_0x5d8cce['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5d8cce['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x19a80a=>{_0x19a80a['stopPropagation']();})}}),_0x5d8cce['on']('execute',()=>{const _0xe6fe33=[],_0x367b0c={};this['_formItemsCollection']['forEach'](_0x9a2fbe=>{_0xe6fe33['push'](_0x9a2fbe['value']),_0xcbc8c8['useArgs']&&_0xcbc8c8['options']&&(_0x367b0c[_0x9a2fbe['argsKey']]=_0x9a2fbe['value']);}),this['fire']('runReviewCheck',{'id':_0xcbc8c8['id'],'params':_0xe6fe33['length']?_0xe6fe33:void 0x0,'args':Object['keys'](_0x367b0c)['length']?_0x367b0c:void 0x0});});const _0x25c6b7=_0x29c77a['length'];return _0x29c77a['forEach']((_0x591860,_0x4a8323)=>{const _0x38a815=_0x4a8323===_0x25c6b7-0x1;this['_formItemsCollection']['add'](new _0xd73de1(this['locale'],_0x591860,_0x38a815?_0x5d8cce:null));}),_0x1ae875['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x1ae875;}['_createCustomView'](_0x519573,_0x372a04=!0x1){return this['_customCheckView']=new _0x42fe78(this['locale'],_0x519573,_0x372a04),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',_0x2b2b7f=>!_0x2b2b7f)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x17bb21,_0x2cbc20,_0x272f61)=>{_0x272f61||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0x445aa4,IconView as _0x5ae743,View as _0x7be69,ViewCollection as _0x199064,ButtonView as _0x152fce,clickOutsideHandler as _0x4211be}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x27a68a}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x209027}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x445aa4{['_formItemsCollection']=new _0x199064();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x30016b,_0xfcdcdc,_0x10e4c4,_0x4eec19=!0x1){super(_0x30016b),this['_hideModels']=_0x4eec19,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0xfcdcdc['isParameterized']);const _0x532410=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',_0x47c22b=>_0x47c22b),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x5bb09a=>_0x5bb09a)],'style':{'--ck-ai-review-check-list-item-index':_0x10e4c4}},'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':_0xfcdcdc['title']}]},_0x532410]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0xfcdcdc['description']?[{'text':_0xfcdcdc['description']}]:[]}]}]},..._0xfcdcdc['isParameterized']?[this['_createParameterizedView'](_0xfcdcdc)]:[],...'custom'===_0xfcdcdc['id']?[this['_createCustomView'](_0xfcdcdc,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0xfcdcdc['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0xfcdcdc['id'],'args':_0xfcdcdc['useArgs']?_0xfcdcdc['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x4211be({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x1d970f=>{_0x1d970f['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1a98a2=new _0x5ae743();return _0x1a98a2['content']=_0x27a68a,_0x1a98a2['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x1a98a2;}['_createParameterizedView'](_0x274ef7){const _0x164560=new _0x7be69(),_0x3ea5fa=this['_createFormView'](_0x274ef7);return _0x164560['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x5b0ea6=>!_0x5b0ea6)]},'children':[_0x3ea5fa]}),_0x164560;}['_createFormView'](_0x3313f7){const _0x188ebb=new _0x7be69(),_0x16b427=Array['isArray'](_0x3313f7['options'])?_0x3313f7['options']:[],_0x5cb803=new _0x152fce(this['locale']),t=this['locale']['t'];_0x5cb803['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5cb803['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xaf6e36=>{_0xaf6e36['stopPropagation']();})}}),_0x5cb803['on']('execute',()=>{const _0x503005=[],_0x2bb14a={};this['_formItemsCollection']['forEach'](_0x12d472=>{_0x503005['push'](_0x12d472['value']),_0x3313f7['useArgs']&&_0x3313f7['options']&&(_0x2bb14a[_0x12d472['argsKey']]=_0x12d472['value']);}),this['fire']('runReviewCheck',{'id':_0x3313f7['id'],'params':_0x503005['length']?_0x503005:void 0x0,'args':Object['keys'](_0x2bb14a)['length']?_0x2bb14a:void 0x0});});const _0x1f2266=_0x16b427['length'];return _0x16b427['forEach']((_0x3609f5,_0x48b330)=>{const _0x48939f=_0x48b330===_0x1f2266-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x3609f5,_0x48939f?_0x5cb803:null));}),_0x188ebb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x188ebb;}['_createCustomView'](_0x5f2d70,_0x35d83d=!0x1){return this['_customCheckView']=new _0x209027(this['locale'],_0x5f2d70,_0x35d83d),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',_0xb8b9b8=>!_0xb8b9b8)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0xeb3604,_0x23ae67,_0x31d450)=>{_0x31d450||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa2d7d5=_0x160e;(function(_0x3dbb7d,_0x4a5ee5){const _0x5ddc22=_0x160e,_0x41ddca=_0x3dbb7d();while(!![]){try{const _0x44c4b7=-parseInt(_0x5ddc22(0xa3))/0x1+-parseInt(_0x5ddc22(0xad))/0x2+parseInt(_0x5ddc22(0xaf))/0x3+-parseInt(_0x5ddc22(0xa1))/0x4+-parseInt(_0x5ddc22(0x9f))/0x5*(parseInt(_0x5ddc22(0x9d))/0x6)+parseInt(_0x5ddc22(0x9c))/0x7+parseInt(_0x5ddc22(0xa8))/0x8;if(_0x44c4b7===_0x4a5ee5)break;else _0x41ddca['push'](_0x41ddca['shift']());}catch(_0x4ea0e2){_0x41ddca['push'](_0x41ddca['shift']());}}}(_0x2454,0xe11d7));import{ListItemView as _0x48e030,View as _0x2398fc}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x4913a8}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x160e(_0x2006d3,_0x3db3ee){const _0x24548f=_0x2454();return _0x160e=function(_0x160e54,_0x304a6e){_0x160e54=_0x160e54-0x99;let _0x543b0c=_0x24548f[_0x160e54];return _0x543b0c;},_0x160e(_0x2006d3,_0x3db3ee);}export class AIReviewCoreReviewCompletedView extends _0x48e030{[_0xa2d7d5(0x9e)];[_0xa2d7d5(0xa0)];constructor(_0x415c5b,_0x6c4291){const _0x62580=_0xa2d7d5;super(_0x415c5b),this[_0x62580(0xa0)]=this[_0x62580(0xa9)](_0x6c4291[_0x62580(0xac)]),this[_0x62580(0x9e)]=this[_0x62580(0xb2)](_0x6c4291[_0x62580(0xa6)]);const _0x3a6fb6=this[_0x62580(0xa5)];this[_0x62580(0xa2)]({'tag':_0x62580(0xb4),'attributes':{'class':[_0x62580(0xb6),_0x3a6fb6['if'](_0x62580(0xaa),_0x62580(0xae),_0x4fe38b=>!_0x4fe38b)]},'children':[this[_0x62580(0x9e)],{'tag':_0x62580(0xb4),'attributes':{'class':[_0x62580(0xa7)]},'children':[{'tag':_0x62580(0xb1),'attributes':{'class':[_0x62580(0xa4)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x62580(0x99)]},'children':[{'text':_0x6c4291[_0x62580(0xb0)]}]}]}]});}[_0xa2d7d5(0xa9)](_0x4f65ff){const _0x30662d=_0xa2d7d5,_0x2a163f=new _0x4913a8(_0x4f65ff,this[_0x30662d(0xab)]);return _0x2a163f[_0x30662d(0x9a)](_0x30662d(0x9b))['to'](this),_0x2a163f;}[_0xa2d7d5(0xb2)](_0xb8b728){const _0xbe7fd5=_0xa2d7d5,_0x1037aa=new _0x2398fc(this[_0xbe7fd5(0xab)]);return _0x1037aa[_0xbe7fd5(0xa2)]({'tag':_0xbe7fd5(0xb4),'attributes':{'class':[_0xbe7fd5(0xb7)]},'children':[{'tag':_0xbe7fd5(0xb1),'attributes':{'class':[_0xbe7fd5(0xb3)]},'children':[{'text':_0xb8b728}]},{'tag':_0xbe7fd5(0xb4),'attributes':{'class':[_0xbe7fd5(0xb5)]},'children':[this[_0xbe7fd5(0xa0)]]}]}),_0x1037aa;}}function _0x2454(){const _0x234f6d=['7804454rokPnB','4428FITQMZ','_resultsHeader','3205xdOiEb','_finishReviewButtonView','5561544ekoLhc','setTemplate','1673362BCoFwy','ck-ai_review__review-completed-content-icon','bindTemplate','headerText','ck-ai_review__review-completed-content','26412024EmakBR','_createFinishReviewButtonView','isVisible','locale','buttonText','2522152qASsTG','ck-hidden','3910584OaKICB','emptyResultsText','span','_createResultHeaderView','ck-ai_review__review-completed-header-title','div','ck-ai_review__review-completed-header-buttons','ck-ai_review__review-completed','ck-ai_review__review-completed-header','ck-ai_review__review-completed-content-text','delegate','finishReview'];_0x2454=function(){return _0x234f6d;};return _0x2454();}
23
+ const _0x19dcec=_0x2903;function _0x23f1(){const _0x13bb06=['_resultsHeader','110UprQxs','ck-ai_review__review-completed-content-text','setTemplate','1525224ydSkkC','ck-ai_review__review-completed','389345MVXcXt','headerText','7145412GvBcWf','emptyResultsText','5ALwVxI','556735yFilLW','ck-ai_review__review-completed-content','locale','ck-ai_review__review-completed-content-icon','span','_createFinishReviewButtonView','6327tanPoI','buttonText','4OpelBx','2216HoujBL','isVisible','ck-ai_review__review-completed-header','div','_finishReviewButtonView','ck-ai_review__review-completed-header-buttons','bindTemplate','ck-ai_review__review-completed-header-title','2252943StooHk','9ckTDwV','ck-hidden','finishReview','9027336LZssfA','_createResultHeaderView','delegate'];_0x23f1=function(){return _0x13bb06;};return _0x23f1();}function _0x2903(_0x216010,_0x4667fd){const _0x23f145=_0x23f1();return _0x2903=function(_0x29034e,_0x230ff0){_0x29034e=_0x29034e-0x13a;let _0x10bcbc=_0x23f145[_0x29034e];return _0x10bcbc;},_0x2903(_0x216010,_0x4667fd);}(function(_0x4ef71e,_0x248b52){const _0x4d49bc=_0x2903,_0x57dfa5=_0x4ef71e();while(!![]){try{const _0x55b777=parseInt(_0x4d49bc(0x14d))/0x1*(-parseInt(_0x4d49bc(0x155))/0x2)+-parseInt(_0x4d49bc(0x153))/0x3*(-parseInt(_0x4d49bc(0x156))/0x4)+-parseInt(_0x4d49bc(0x14c))/0x5*(-parseInt(_0x4d49bc(0x13f))/0x6)+-parseInt(_0x4d49bc(0x13b))/0x7+-parseInt(_0x4d49bc(0x146))/0x8*(parseInt(_0x4d49bc(0x13c))/0x9)+parseInt(_0x4d49bc(0x143))/0xa*(parseInt(_0x4d49bc(0x148))/0xb)+-parseInt(_0x4d49bc(0x14a))/0xc;if(_0x55b777===_0x248b52)break;else _0x57dfa5['push'](_0x57dfa5['shift']());}catch(_0x348e28){_0x57dfa5['push'](_0x57dfa5['shift']());}}}(_0x23f1,0xcd4a0));import{ListItemView as _0x40a450,View as _0x54769c}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x37a93f}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x40a450{[_0x19dcec(0x142)];[_0x19dcec(0x15a)];constructor(_0x4ffa47,_0x49e2d3){const _0x2207e9=_0x19dcec;super(_0x4ffa47),this[_0x2207e9(0x15a)]=this[_0x2207e9(0x152)](_0x49e2d3[_0x2207e9(0x154)]),this[_0x2207e9(0x142)]=this[_0x2207e9(0x140)](_0x49e2d3[_0x2207e9(0x149)]);const _0x476d6a=this[_0x2207e9(0x15c)];this[_0x2207e9(0x145)]({'tag':_0x2207e9(0x159),'attributes':{'class':[_0x2207e9(0x147),_0x476d6a['if'](_0x2207e9(0x157),_0x2207e9(0x13d),_0x273e9e=>!_0x273e9e)]},'children':[this[_0x2207e9(0x142)],{'tag':_0x2207e9(0x159),'attributes':{'class':[_0x2207e9(0x14e)]},'children':[{'tag':_0x2207e9(0x151),'attributes':{'class':[_0x2207e9(0x150)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x2207e9(0x144)]},'children':[{'text':_0x49e2d3[_0x2207e9(0x14b)]}]}]}]});}[_0x19dcec(0x152)](_0x343f49){const _0x1bb478=_0x19dcec,_0x988299=new _0x37a93f(_0x343f49,this[_0x1bb478(0x14f)]);return _0x988299[_0x1bb478(0x141)](_0x1bb478(0x13e))['to'](this),_0x988299;}[_0x19dcec(0x140)](_0x54309e){const _0x549cdc=_0x19dcec,_0x4775fd=new _0x54769c(this[_0x549cdc(0x14f)]);return _0x4775fd[_0x549cdc(0x145)]({'tag':_0x549cdc(0x159),'attributes':{'class':[_0x549cdc(0x158)]},'children':[{'tag':_0x549cdc(0x151),'attributes':{'class':[_0x549cdc(0x13a)]},'children':[{'text':_0x54309e}]},{'tag':_0x549cdc(0x159),'attributes':{'class':[_0x549cdc(0x15b)]},'children':[this[_0x549cdc(0x15a)]]}]}),_0x4775fd;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x4c0fd5,View as _0x2f4163,ViewCollection as _0x1123f,ButtonView as _0x147bff}from'ckeditor5/src/ui.js';import{IconStop as _0x28e099,IconEye as _0x27a00d,IconEyeCrossedOut as _0x27b965}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x4be245,SKELETON_DEFINITIONS as _0x35ba06}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x50f066}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x5c3de3}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x48ee8b}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x2cf7ff}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x21c5db}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x4c0fd5{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x477614,_0x2debd6){super(_0x477614),this['_contents']=_0x2debd6,this['_resultViews']=new _0x1123f(),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 _0x50f066(_0x477614),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 _0x354734=this['_createCombinedSkeletonLoader'](),_0x1f6712=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x1f6712['if']('isLoading','ck-ai_review__check-run_loading',_0x39f3f8=>_0x39f3f8),_0x1f6712['if']('isResultReady','ck-ai_review__check-run_ready',_0x53d2d0=>_0x53d2d0),_0x1f6712['if']('isVisible','ck-hidden',_0x1590cc=>!_0x1590cc)]},'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',_0x4de87d=>_0x4de87d)]},'children':this['_resultViews']},_0x354734]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x46e514){const _0xd42aa8=new _0x2cf7ff(this['locale'],_0x46e514['id']);_0xd42aa8['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0xd42aa8),_0xd42aa8['resultResponseView']['element']['innerHTML']=_0x46e514['contentDiffed'];}['hideResult'](_0x4d26d4,_0x16c063){if('pending'===_0x16c063)return;const _0x235556=this['_resultViews']['find'](_0x2b9e99=>_0x2b9e99['id']===_0x4d26d4);_0x235556&&(_0x235556['status']=_0x16c063,_0x235556['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x4fafef,_0x22c078){if('pending'!==_0x22c078)return;const _0x27b962=this['_resultViews']['find'](_0x15d91c=>_0x15d91c['id']===_0x4fafef);_0x27b962&&(_0x27b962['status']=_0x22c078,_0x27b962['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0xdcbee2,_0x23313d){this['headerTitle']=_0xdcbee2,this['headerSubtitle']=_0x23313d||'';}['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 _0x4be245(this['locale'],_0x35ba06['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x16c9b8=new _0x2f4163(this['locale']),_0x37150f=[];for(let _0x23a4b2=0x0;_0x23a4b2<0x10;_0x23a4b2++){const _0x535a0e=this['_createSkeletonLoader']();_0x535a0e['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x37150f['push'](_0x535a0e);}return _0x16c9b8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x7420f2=>!_0x7420f2)]},'children':_0x37150f}),_0x16c9b8;}['_createErrorView'](){const _0x263d0a=new _0x2f4163(this['locale']),_0x97b26d=new _0x147bff(this['locale']),t=this['locale']['t'];return _0x263d0a['delegate']('retryReview')['to'](this),_0x97b26d['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x97b26d['on']('execute',()=>{this['fire']('retryReview');}),_0x263d0a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x35a625=>!_0x35a625),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x311dfe=>'chunk'===_0x311dfe)]},'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',_0x3bf9cc=>'chunk'===_0x3bf9cc)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xce9df7=>'general'!==_0xce9df7)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2c2c67=>'chunk'!==_0x2c2c67)]},'children':[{'text':_0x5c3de3(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x97b26d]}),_0x263d0a;}['_createCancelButtonView'](){const _0x3fc211=new _0x147bff(this['locale']);return _0x3fc211['set']({'label':_0x5c3de3(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x28e099}),_0x3fc211['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0xd6160f=>_0xd6160f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x138a40=>_0x138a40)]}}),_0x3fc211['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x3fc211;}['_createToggleDiffButtonView'](){const _0x67e472=new _0x147bff(this['locale']);_0x67e472['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x67e472['bind']('isEnabled')['to'](this,'isError',_0x4cb3af=>!_0x4cb3af),_0x67e472['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3498fc=>!_0x3498fc),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x539ec5=>_0x539ec5)]}});const _0x3d55b7=_0x5c3de3(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x970e3e=_0x5c3de3(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x67e472['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2a7770=>_0x2a7770),_0x67e472['bind']('icon')['to'](this,'isToggleDiffOn',_0x490fb5=>_0x490fb5?_0x27a00d:_0x27b965),_0x67e472['bind']('label')['to'](this,'isToggleDiffOn',_0x4baf8b=>_0x4baf8b?_0x3d55b7:_0x970e3e),_0x67e472['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x67e472;}['_createAcceptAllButtonView'](){const _0x3502b3=new _0x147bff(this['locale']);return _0x3502b3['set']({'label':_0x5c3de3(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x3502b3['bind']('isEnabled')['to'](this,'isError',_0x51c596=>!_0x51c596),_0x3502b3['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2abe4a=>!_0x2abe4a),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5b3403=>_0x5b3403)]}}),_0x3502b3['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x3502b3;}['_createExitReviewButtonView'](){const _0xb27d5a=new _0x147bff(this['locale']);return _0xb27d5a['set']({'label':_0x5c3de3(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0xb27d5a['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x14643e=>!_0x14643e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xa974e2=>_0xa974e2)]}}),_0xb27d5a['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0xb27d5a;}['_createResultHeaderView'](){const _0x587c22=new _0x2f4163(this['locale']),_0x33ab70=this['_createTitleView']();return _0x587c22['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x1b8be5=>_0x1b8be5)]},'children':[_0x33ab70,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x587c22;}['_createTitleView'](){const _0x43c148=new _0x2f4163(this['locale']),_0x43a38f=new _0x48ee8b();return _0x43a38f['bind']('isVisible')['to'](this,'isResultReady',_0x2af6aa=>!_0x2af6aa),_0x43c148['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x43a38f,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3451c5=>_0x3451c5)]},'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',_0x339398=>!_0x339398)]},'children':[{'text':_0x5c3de3(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x43c148;}['_createFinishReviewButtonView'](){const _0x52a09f=new _0x21c5db(_0x5c3de3(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x52a09f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0xff444a=>!_0xff444a)]}}),_0x52a09f['delegate']('finishReview')['to'](this),_0x52a09f;}}
23
+ import{ListItemView as _0x3d7565,View as _0x32abc5,ViewCollection as _0x3c4645,ButtonView as _0x9ae4d7}from'ckeditor5/src/ui.js';import{IconStop as _0x142baa,IconEye as _0x1352ad,IconEyeCrossedOut as _0xadae0e}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x52558c,SKELETON_DEFINITIONS as _0x117229}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x28fd5c}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0xa87536}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x518980}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x535460}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0xc11c9c}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x3d7565{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x179282,_0x174da2){super(_0x179282),this['_contents']=_0x174da2,this['_resultViews']=new _0x3c4645(),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 _0x28fd5c(_0x179282),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 _0x51f627=this['_createCombinedSkeletonLoader'](),_0x11ec35=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x11ec35['if']('isLoading','ck-ai_review__check-run_loading',_0x33e3bb=>_0x33e3bb),_0x11ec35['if']('isResultReady','ck-ai_review__check-run_ready',_0x2f62f2=>_0x2f62f2),_0x11ec35['if']('isVisible','ck-hidden',_0x1c6c30=>!_0x1c6c30)]},'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',_0x1eeb8b=>_0x1eeb8b)]},'children':this['_resultViews']},_0x51f627]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0xefbb26){const _0x1fa90a=new _0x535460(this['locale'],_0xefbb26['id']);_0x1fa90a['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x1fa90a),_0x1fa90a['resultResponseView']['element']['innerHTML']=_0xefbb26['contentDiffed'];}['hideResult'](_0xc70b48,_0x3dc9c1){if('pending'===_0x3dc9c1)return;const _0x40e2ad=this['_resultViews']['find'](_0x50a9f1=>_0x50a9f1['id']===_0xc70b48);_0x40e2ad&&(_0x40e2ad['status']=_0x3dc9c1,_0x40e2ad['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x2474d2,_0x56ce43){if('pending'!==_0x56ce43)return;const _0x630329=this['_resultViews']['find'](_0x50aaf1=>_0x50aaf1['id']===_0x2474d2);_0x630329&&(_0x630329['status']=_0x56ce43,_0x630329['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x1ab5c1,_0x16f92f){this['headerTitle']=_0x1ab5c1,this['headerSubtitle']=_0x16f92f||'';}['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 _0x52558c(this['locale'],_0x117229['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x2679df=new _0x32abc5(this['locale']),_0x5862cc=[];for(let _0x149c0c=0x0;_0x149c0c<0x10;_0x149c0c++){const _0x358279=this['_createSkeletonLoader']();_0x358279['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x5862cc['push'](_0x358279);}return _0x2679df['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x5d3f5b=>!_0x5d3f5b)]},'children':_0x5862cc}),_0x2679df;}['_createErrorView'](){const _0x45f3c4=new _0x32abc5(this['locale']),_0x3af5b4=new _0x9ae4d7(this['locale']),t=this['locale']['t'];return _0x45f3c4['delegate']('retryReview')['to'](this),_0x3af5b4['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x3af5b4['on']('execute',()=>{this['fire']('retryReview');}),_0x45f3c4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5266de=>!_0x5266de),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x8992f0=>'chunk'===_0x8992f0)]},'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',_0x32e191=>'chunk'===_0x32e191)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x43c982=>'general'!==_0x43c982)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3b9e8b=>'chunk'!==_0x3b9e8b)]},'children':[{'text':_0xa87536(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x3af5b4]}),_0x45f3c4;}['_createCancelButtonView'](){const _0x4bf24e=new _0x9ae4d7(this['locale']);return _0x4bf24e['set']({'label':_0xa87536(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x142baa}),_0x4bf24e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5a3c54=>_0x5a3c54),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x23a857=>_0x23a857)]}}),_0x4bf24e['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x4bf24e;}['_createToggleDiffButtonView'](){const _0x13e69c=new _0x9ae4d7(this['locale']);_0x13e69c['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x13e69c['bind']('isEnabled')['to'](this,'isError',_0x622b85=>!_0x622b85),_0x13e69c['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x231b67=>!_0x231b67),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x7b1bb3=>_0x7b1bb3)]}});const _0x2b11ce=_0xa87536(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x468e8d=_0xa87536(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x13e69c['bind']('isOn')['to'](this,'isToggleDiffOn',_0x44b973=>_0x44b973),_0x13e69c['bind']('icon')['to'](this,'isToggleDiffOn',_0x90afed=>_0x90afed?_0x1352ad:_0xadae0e),_0x13e69c['bind']('label')['to'](this,'isToggleDiffOn',_0x5d036b=>_0x5d036b?_0x2b11ce:_0x468e8d),_0x13e69c['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x13e69c;}['_createAcceptAllButtonView'](){const _0x49cf86=new _0x9ae4d7(this['locale']);return _0x49cf86['set']({'label':_0xa87536(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x49cf86['bind']('isEnabled')['to'](this,'isError',_0x5bcd33=>!_0x5bcd33),_0x49cf86['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5f327d=>!_0x5f327d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3e8e2d=>_0x3e8e2d)]}}),_0x49cf86['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x49cf86;}['_createExitReviewButtonView'](){const _0x2839ae=new _0x9ae4d7(this['locale']);return _0x2839ae['set']({'label':_0xa87536(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x2839ae['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4b481a=>!_0x4b481a),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x29dbd1=>_0x29dbd1)]}}),_0x2839ae['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x2839ae;}['_createResultHeaderView'](){const _0x1ab195=new _0x32abc5(this['locale']),_0x5a8a5c=this['_createTitleView']();return _0x1ab195['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x2af550=>_0x2af550)]},'children':[_0x5a8a5c,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x1ab195;}['_createTitleView'](){const _0x13f152=new _0x32abc5(this['locale']),_0x12cc35=new _0x518980();return _0x12cc35['bind']('isVisible')['to'](this,'isResultReady',_0x4b5926=>!_0x4b5926),_0x13f152['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x12cc35,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4a4ff7=>_0x4a4ff7)]},'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',_0x5e1993=>!_0x5e1993)]},'children':[{'text':_0xa87536(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x13f152;}['_createFinishReviewButtonView'](){const _0x198188=new _0xc11c9c(_0xa87536(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x198188['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3af8ee=>!_0x3af8ee)]}}),_0x198188['delegate']('finishReview')['to'](this),_0x198188;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x567dd3=_0x3fe0;(function(_0x12bc92,_0x4a88a9){var _0x233b7=_0x3fe0,_0x4bc3d0=_0x12bc92();while(!![]){try{var _0x2d1e03=parseInt(_0x233b7(0xed))/0x1*(-parseInt(_0x233b7(0xe7))/0x2)+-parseInt(_0x233b7(0xda))/0x3*(parseInt(_0x233b7(0xd2))/0x4)+parseInt(_0x233b7(0xe2))/0x5*(-parseInt(_0x233b7(0xf9))/0x6)+-parseInt(_0x233b7(0xd5))/0x7*(-parseInt(_0x233b7(0xce))/0x8)+parseInt(_0x233b7(0xe6))/0x9+parseInt(_0x233b7(0xd9))/0xa+parseInt(_0x233b7(0xd3))/0xb*(-parseInt(_0x233b7(0xd0))/0xc);if(_0x2d1e03===_0x4a88a9)break;else _0x4bc3d0['push'](_0x4bc3d0['shift']());}catch(_0x49e83c){_0x4bc3d0['push'](_0x4bc3d0['shift']());}}}(_0x5e5f,0xefc9b));import{View as _0x5ac069}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x47c52e}from'../aireviewcoreui.js';function _0x3fe0(_0x5c6513,_0x340286){var _0x5e5f00=_0x5e5f();return _0x3fe0=function(_0x3fe0a3,_0x3d6859){_0x3fe0a3=_0x3fe0a3-0xc7;var _0x30744b=_0x5e5f00[_0x3fe0a3];return _0x30744b;},_0x3fe0(_0x5c6513,_0x340286);}import{AIReviewCoreGeneralErrorView as _0x4af469}from'./aireviewcoregeneralerrorview.js';function _0x5e5f(){var _0x402540=['list','reviewCompletedView','showGeneralErrorMessage','25040aaaHBF','showGeneralResultsErrorView','showGeneralReviewCoreErrorView','ck-rounded-corners','8290908Waxcrz','76918iNOMzR','showReviewCompletedView','showNoChangesView','delegate','isVisible','showReviewCheckListView','4TvKiDD','showReviewCheckResultsView','clearResults','resetErrorState','div','setTemplate','generalErrorView','addCheckRunResult','ck-ai-review','addResult','errorMessage','reviewCoreHeader','576MPMHbB','ck-reset_all','reviewCheckResultsView','showActionsWhenResultIsReady','finishReview','set','resetAllParameterizedChecks','showChunkErrorView','9383624bLRcBo','reviewCheckListView','84RelnTJ','completed','1523868xZJHbR','822085jVYowJ','isResultReady','7iopodK','hideActionsWhenResultIsReady','isCompleted','header','11886560KgAFEz','9zciehI','isLoading','ltr','results','showChunkErrorMessage'];_0x5e5f=function(){return _0x402540;};return _0x5e5f();}export class AIReviewCoreView extends _0x5ac069{[_0x567dd3(0xf8)];[_0x567dd3(0xf3)];[_0x567dd3(0xcf)];[_0x567dd3(0xc8)];[_0x567dd3(0xe0)];constructor(_0x53212b,_0x3dfd61){var _0x445037=_0x567dd3;super(_0x53212b),this[_0x445037(0xf8)]=_0x3dfd61[_0x445037(0xd8)],this[_0x445037(0xf3)]=new _0x4af469(_0x53212b),this[_0x445037(0xcf)]=_0x3dfd61[_0x445037(0xdf)],this[_0x445037(0xcf)][_0x445037(0xea)](..._0x47c52e)['to'](this),this[_0x445037(0xc8)]=_0x3dfd61[_0x445037(0xdd)],this[_0x445037(0xc8)][_0x445037(0xea)](..._0x47c52e)['to'](this),this[_0x445037(0xe0)]=_0x3dfd61[_0x445037(0xd1)],this[_0x445037(0xe0)][_0x445037(0xea)](_0x445037(0xca))['to'](this),this[_0x445037(0xcf)][_0x445037(0xcb)](_0x445037(0xeb),!0x1),this[_0x445037(0xc8)][_0x445037(0xcb)](_0x445037(0xeb),!0x1),this[_0x445037(0xc8)][_0x445037(0xcb)](_0x445037(0xdb),!0x1),this[_0x445037(0xc8)][_0x445037(0xcb)](_0x445037(0xd4),!0x1),this[_0x445037(0xe0)][_0x445037(0xcb)](_0x445037(0xeb),!0x1),this[_0x445037(0xf2)]({'tag':_0x445037(0xf1),'attributes':{'class':['ck',_0x445037(0xc7),_0x445037(0xf5),_0x445037(0xe5)],'dir':_0x445037(0xdc)},'children':[this[_0x445037(0xf8)],this[_0x445037(0xf3)],this[_0x445037(0xcf)],this[_0x445037(0xc8)],this[_0x445037(0xe0)]]});}[_0x567dd3(0xec)](){var _0x49b45b=_0x567dd3;this[_0x49b45b(0xcf)][_0x49b45b(0xcc)](),this[_0x49b45b(0xcf)][_0x49b45b(0xcb)](_0x49b45b(0xeb),!0x0),this[_0x49b45b(0xc8)][_0x49b45b(0xcb)](_0x49b45b(0xeb),!0x1),this[_0x49b45b(0xe0)][_0x49b45b(0xcb)](_0x49b45b(0xeb),!0x1);}[_0x567dd3(0xee)](){var _0x3b9943=_0x567dd3;this[_0x3b9943(0xd6)](),this[_0x3b9943(0xc8)][_0x3b9943(0xf0)](),this[_0x3b9943(0xcf)][_0x3b9943(0xcb)](_0x3b9943(0xeb),!0x1),this[_0x3b9943(0xc8)][_0x3b9943(0xcb)](_0x3b9943(0xeb),!0x0),this[_0x3b9943(0xc8)][_0x3b9943(0xef)](),this[_0x3b9943(0xc8)][_0x3b9943(0xcb)](_0x3b9943(0xdb),!0x0),this[_0x3b9943(0xc8)][_0x3b9943(0xcb)](_0x3b9943(0xd7),!0x1);}[_0x567dd3(0xf4)](_0x116fe9){var _0x39f761=_0x567dd3;this[_0x39f761(0xc8)][_0x39f761(0xf6)](_0x116fe9),this[_0x39f761(0xc8)][_0x39f761(0xcb)](_0x39f761(0xdb),!0x1);}[_0x567dd3(0xe8)](){var _0x29b17f=_0x567dd3;this[_0x29b17f(0xc8)][_0x29b17f(0xcb)](_0x29b17f(0xeb),!0x0),this[_0x29b17f(0xe0)][_0x29b17f(0xcb)](_0x29b17f(0xeb),!0x1),this[_0x29b17f(0xc8)][_0x29b17f(0xcb)](_0x29b17f(0xd7),!0x0),this[_0x29b17f(0xcf)][_0x29b17f(0xcb)](_0x29b17f(0xeb),!0x1);}[_0x567dd3(0xc9)](){var _0x5b840d=_0x567dd3;this[_0x5b840d(0xc8)][_0x5b840d(0xd4)]?(this[_0x5b840d(0xcf)][_0x5b840d(0xcb)](_0x5b840d(0xeb),!0x1),this[_0x5b840d(0xc8)][_0x5b840d(0xcb)](_0x5b840d(0xeb),!0x0),this[_0x5b840d(0xe0)][_0x5b840d(0xcb)](_0x5b840d(0xeb),!0x1)):this[_0x5b840d(0xc8)][_0x5b840d(0xd4)]=!0x0;}[_0x567dd3(0xe9)](){var _0x42564f=_0x567dd3;this[_0x42564f(0xcf)][_0x42564f(0xcb)](_0x42564f(0xeb),!0x1),this[_0x42564f(0xc8)][_0x42564f(0xcb)](_0x42564f(0xeb),!0x1),this[_0x42564f(0xe0)][_0x42564f(0xcb)](_0x42564f(0xeb),!0x0);}[_0x567dd3(0xd6)](){var _0x87eb84=_0x567dd3;this[_0x87eb84(0xc8)][_0x87eb84(0xd4)]=!0x1;}[_0x567dd3(0xe4)](_0x3f82d0){var _0x2d008d=_0x567dd3;this[_0x2d008d(0xf3)][_0x2d008d(0xcb)](_0x2d008d(0xeb),!0x0),this[_0x2d008d(0xf3)][_0x2d008d(0xf7)]=_0x3f82d0;}[_0x567dd3(0xe3)](){var _0x19bde0=_0x567dd3;this[_0x19bde0(0xc8)][_0x19bde0(0xcb)](_0x19bde0(0xdb),!0x1),this[_0x19bde0(0xc9)](),this[_0x19bde0(0xc8)][_0x19bde0(0xe1)]();}[_0x567dd3(0xcd)](){var _0x519add=_0x567dd3;this[_0x519add(0xc8)][_0x519add(0xcb)](_0x519add(0xdb),!0x1),this[_0x519add(0xc9)](),this[_0x519add(0xc8)][_0x519add(0xde)]();}}
23
+ var _0x290d5d=_0x53cc;(function(_0x1da326,_0x2e041c){var _0x2d99c2=_0x53cc,_0x4e95c4=_0x1da326();while(!![]){try{var _0x141887=parseInt(_0x2d99c2(0x175))/0x1+-parseInt(_0x2d99c2(0x189))/0x2+-parseInt(_0x2d99c2(0x164))/0x3+parseInt(_0x2d99c2(0x163))/0x4*(-parseInt(_0x2d99c2(0x15d))/0x5)+-parseInt(_0x2d99c2(0x15e))/0x6*(-parseInt(_0x2d99c2(0x16f))/0x7)+-parseInt(_0x2d99c2(0x16a))/0x8*(-parseInt(_0x2d99c2(0x188))/0x9)+parseInt(_0x2d99c2(0x169))/0xa;if(_0x141887===_0x2e041c)break;else _0x4e95c4['push'](_0x4e95c4['shift']());}catch(_0x47ebe3){_0x4e95c4['push'](_0x4e95c4['shift']());}}}(_0x31be,0xedb1a));function _0x53cc(_0x240878,_0x55755e){var _0x31be6a=_0x31be();return _0x53cc=function(_0x53cc12,_0xffb30f){_0x53cc12=_0x53cc12-0x15b;var _0x116153=_0x31be6a[_0x53cc12];return _0x116153;},_0x53cc(_0x240878,_0x55755e);}function _0x31be(){var _0x478c48=['12366153QENzPC','2869044ZSfCJM','addResult','div','generalErrorView','ck-rounded-corners','7255030LNWRBU','513798kbUdJg','ck-reset_all','showChunkErrorView','showNoChangesView','isCompleted','4HjEXaX','3088572XpkSiE','set','isResultReady','completed','isVisible','16559860Nljacj','8HkSZwK','delegate','isLoading','showGeneralResultsErrorView','showReviewCheckListView','7PgNBhW','reviewCoreHeader','resetErrorState','results','hideActionsWhenResultIsReady','showReviewCompletedView','1773010TJOVRh','finishReview','errorMessage','list','ck-ai-review','header','setTemplate','addCheckRunResult','resetAllParameterizedChecks','showReviewCheckResultsView','showGeneralErrorMessage','reviewCompletedView','showChunkErrorMessage','reviewCheckListView','showGeneralReviewCoreErrorView','showActionsWhenResultIsReady','reviewCheckResultsView','ltr','clearResults'];_0x31be=function(){return _0x478c48;};return _0x31be();}import{View as _0x555aab}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x1012e3}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x289cbc}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x555aab{[_0x290d5d(0x170)];[_0x290d5d(0x15b)];[_0x290d5d(0x182)];[_0x290d5d(0x185)];[_0x290d5d(0x180)];constructor(_0x48abab,_0x1ab977){var _0x5970da=_0x290d5d;super(_0x48abab),this[_0x5970da(0x170)]=_0x1ab977[_0x5970da(0x17a)],this[_0x5970da(0x15b)]=new _0x289cbc(_0x48abab),this[_0x5970da(0x182)]=_0x1ab977[_0x5970da(0x178)],this[_0x5970da(0x182)][_0x5970da(0x16b)](..._0x1012e3)['to'](this),this[_0x5970da(0x185)]=_0x1ab977[_0x5970da(0x172)],this[_0x5970da(0x185)][_0x5970da(0x16b)](..._0x1012e3)['to'](this),this[_0x5970da(0x180)]=_0x1ab977[_0x5970da(0x167)],this[_0x5970da(0x180)][_0x5970da(0x16b)](_0x5970da(0x176))['to'](this),this[_0x5970da(0x182)][_0x5970da(0x165)](_0x5970da(0x168),!0x1),this[_0x5970da(0x185)][_0x5970da(0x165)](_0x5970da(0x168),!0x1),this[_0x5970da(0x185)][_0x5970da(0x165)](_0x5970da(0x16c),!0x1),this[_0x5970da(0x185)][_0x5970da(0x165)](_0x5970da(0x166),!0x1),this[_0x5970da(0x180)][_0x5970da(0x165)](_0x5970da(0x168),!0x1),this[_0x5970da(0x17b)]({'tag':_0x5970da(0x18b),'attributes':{'class':['ck',_0x5970da(0x15f),_0x5970da(0x179),_0x5970da(0x15c)],'dir':_0x5970da(0x186)},'children':[this[_0x5970da(0x170)],this[_0x5970da(0x15b)],this[_0x5970da(0x182)],this[_0x5970da(0x185)],this[_0x5970da(0x180)]]});}[_0x290d5d(0x16e)](){var _0x482754=_0x290d5d;this[_0x482754(0x182)][_0x482754(0x17d)](),this[_0x482754(0x182)][_0x482754(0x165)](_0x482754(0x168),!0x0),this[_0x482754(0x185)][_0x482754(0x165)](_0x482754(0x168),!0x1),this[_0x482754(0x180)][_0x482754(0x165)](_0x482754(0x168),!0x1);}[_0x290d5d(0x17e)](){var _0x4c2083=_0x290d5d;this[_0x4c2083(0x173)](),this[_0x4c2083(0x185)][_0x4c2083(0x171)](),this[_0x4c2083(0x182)][_0x4c2083(0x165)](_0x4c2083(0x168),!0x1),this[_0x4c2083(0x185)][_0x4c2083(0x165)](_0x4c2083(0x168),!0x0),this[_0x4c2083(0x185)][_0x4c2083(0x187)](),this[_0x4c2083(0x185)][_0x4c2083(0x165)](_0x4c2083(0x16c),!0x0),this[_0x4c2083(0x185)][_0x4c2083(0x165)](_0x4c2083(0x162),!0x1);}[_0x290d5d(0x17c)](_0x49df24){var _0x3c0333=_0x290d5d;this[_0x3c0333(0x185)][_0x3c0333(0x18a)](_0x49df24),this[_0x3c0333(0x185)][_0x3c0333(0x165)](_0x3c0333(0x16c),!0x1);}[_0x290d5d(0x174)](){var _0x4fd1d7=_0x290d5d;this[_0x4fd1d7(0x185)][_0x4fd1d7(0x165)](_0x4fd1d7(0x168),!0x0),this[_0x4fd1d7(0x180)][_0x4fd1d7(0x165)](_0x4fd1d7(0x168),!0x1),this[_0x4fd1d7(0x185)][_0x4fd1d7(0x165)](_0x4fd1d7(0x162),!0x0),this[_0x4fd1d7(0x182)][_0x4fd1d7(0x165)](_0x4fd1d7(0x168),!0x1);}[_0x290d5d(0x184)](){var _0x40f873=_0x290d5d;this[_0x40f873(0x185)][_0x40f873(0x166)]?(this[_0x40f873(0x182)][_0x40f873(0x165)](_0x40f873(0x168),!0x1),this[_0x40f873(0x185)][_0x40f873(0x165)](_0x40f873(0x168),!0x0),this[_0x40f873(0x180)][_0x40f873(0x165)](_0x40f873(0x168),!0x1)):this[_0x40f873(0x185)][_0x40f873(0x166)]=!0x0;}[_0x290d5d(0x161)](){var _0x3b71bb=_0x290d5d;this[_0x3b71bb(0x182)][_0x3b71bb(0x165)](_0x3b71bb(0x168),!0x1),this[_0x3b71bb(0x185)][_0x3b71bb(0x165)](_0x3b71bb(0x168),!0x1),this[_0x3b71bb(0x180)][_0x3b71bb(0x165)](_0x3b71bb(0x168),!0x0);}[_0x290d5d(0x173)](){var _0x4279cf=_0x290d5d;this[_0x4279cf(0x185)][_0x4279cf(0x166)]=!0x1;}[_0x290d5d(0x183)](_0x24a7e2){var _0x447380=_0x290d5d;this[_0x447380(0x15b)][_0x447380(0x165)](_0x447380(0x168),!0x0),this[_0x447380(0x15b)][_0x447380(0x177)]=_0x24a7e2;}[_0x290d5d(0x16d)](){var _0x5be489=_0x290d5d;this[_0x5be489(0x185)][_0x5be489(0x165)](_0x5be489(0x16c),!0x1),this[_0x5be489(0x184)](),this[_0x5be489(0x185)][_0x5be489(0x17f)]();}[_0x290d5d(0x160)](){var _0x530dd3=_0x290d5d;this[_0x530dd3(0x185)][_0x530dd3(0x165)](_0x530dd3(0x16c),!0x1),this[_0x530dd3(0x184)](),this[_0x530dd3(0x185)][_0x530dd3(0x181)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x167d(){const _0x1feaae=['bind','menuitemradio','12Ozloqg','extendTemplate','execute','ck-ai_review__check-list-item-parameterized-form-element_dropdown','13388ULWmbG','menu','425fhIQpN','7rZHmAO','_defaultLabel','975576vCRUgM','listenTo','19655556ICInfA','ck-reset_all','add','source','10FjWwmj','42024WJvgyt','9066627fSmQye','button','setTemplate','ck-ai_review__check-list-item-parameterized-form-element','formValue','find','_dropdownView','div','bindTemplate','locale','_prepareListOptions','3880gdCuZb','set','default','stopPropagation','data','buttonView','model','_defaultValue','length','resetToDefault','isOn','13158123JCwWng','87uQxurZ','label'];_0x167d=function(){return _0x1feaae;};return _0x167d();}const _0x45414b=_0x119d;(function(_0x1823fd,_0x12f0c7){const _0x489c84=_0x119d,_0x168d73=_0x1823fd();while(!![]){try{const _0x3e9093=-parseInt(_0x489c84(0xb4))/0x1*(-parseInt(_0x489c84(0xbc))/0x2)+-parseInt(_0x489c84(0xc1))/0x3*(parseInt(_0x489c84(0xb8))/0x4)+parseInt(_0x489c84(0xbe))/0x5*(-parseInt(_0x489c84(0x9c))/0x6)+-parseInt(_0x489c84(0xbf))/0x7*(parseInt(_0x489c84(0xa8))/0x8)+parseInt(_0x489c84(0x9d))/0x9*(-parseInt(_0x489c84(0x9b))/0xa)+parseInt(_0x489c84(0xb3))/0xb+parseInt(_0x489c84(0xc3))/0xc;if(_0x3e9093===_0x12f0c7)break;else _0x168d73['push'](_0x168d73['shift']());}catch(_0x1c5baf){_0x168d73['push'](_0x168d73['shift']());}}}(_0x167d,0xcc862));import{Collection as _0x9f3d79}from'ckeditor5/src/utils.js';function _0x119d(_0x5d232d,_0x401ead){const _0x167db9=_0x167d();return _0x119d=function(_0x119da1,_0x10d5c4){_0x119da1=_0x119da1-0x99;let _0x4ca382=_0x167db9[_0x119da1];return _0x4ca382;},_0x119d(_0x5d232d,_0x401ead);}import{View as _0xa85e0e,createDropdown as _0x3f0b2e,addListToDropdown as _0x2b04c8,UIModel as _0x146875}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0xa85e0e{[_0x45414b(0xa3)];[_0x45414b(0xaf)];[_0x45414b(0xc0)];constructor(_0x381937,_0x369120){const _0x1b8a2c=_0x45414b;super(_0x381937),this[_0x1b8a2c(0xaf)]=_0x369120[_0x1b8a2c(0xaa)]||(_0x369120[_0x1b8a2c(0xac)][_0x1b8a2c(0xb0)]>0x0?_0x369120[_0x1b8a2c(0xac)][0x0]['id']:''),this[_0x1b8a2c(0xc0)]=_0x369120[_0x1b8a2c(0xac)][_0x1b8a2c(0xa2)](_0x5df1db=>_0x5df1db['id']===this[_0x1b8a2c(0xaf)])?.[_0x1b8a2c(0xb5)]||'',this[_0x1b8a2c(0xa9)](_0x1b8a2c(0xa1),''),this[_0x1b8a2c(0xa3)]=_0x3f0b2e(this[_0x1b8a2c(0xa6)]);const _0x51f6fa=this[_0x1b8a2c(0xa7)](_0x369120[_0x1b8a2c(0xac)]);_0x2b04c8(this[_0x1b8a2c(0xa3)],_0x51f6fa,{'role':_0x1b8a2c(0xbd),'ariaLabel':_0x369120[_0x1b8a2c(0xb5)]}),this[_0x1b8a2c(0xa3)][_0x1b8a2c(0xad)][_0x1b8a2c(0xa9)]({'label':this[_0x1b8a2c(0xc0)],'withText':!0x0}),this[_0x1b8a2c(0xa3)][_0x1b8a2c(0xb9)]({'on':{'click':this[_0x1b8a2c(0xa5)]['to'](_0x3cadaa=>{const _0x1958be=_0x1b8a2c;_0x3cadaa[_0x1958be(0xab)]();})}}),this[_0x1b8a2c(0xc2)](this[_0x1b8a2c(0xa3)],_0x1b8a2c(0xba),_0x5e6752=>{const _0x1413a9=_0x1b8a2c;this[_0x1413a9(0xa1)]=_0x5e6752[_0x1413a9(0x9a)][_0x1413a9(0xae)]['id'],this[_0x1413a9(0xa3)][_0x1413a9(0xad)][_0x1413a9(0xb5)]=_0x5e6752[_0x1413a9(0x9a)][_0x1413a9(0xae)][_0x1413a9(0xb5)];}),this[_0x1b8a2c(0x9f)]({'tag':_0x1b8a2c(0xa4),'attributes':{'class':['ck',_0x1b8a2c(0xc4),_0x1b8a2c(0xa0),_0x1b8a2c(0xbb)]},'children':[this[_0x1b8a2c(0xa3)]]});}[_0x45414b(0xb1)](){const _0x2a0c85=_0x45414b;this[_0x2a0c85(0xa1)]=this[_0x2a0c85(0xaf)],this[_0x2a0c85(0xa3)][_0x2a0c85(0xad)][_0x2a0c85(0xb5)]=this[_0x2a0c85(0xc0)];}[_0x45414b(0xa7)](_0x4d8947=[]){const _0x2a3736=_0x45414b,_0x25ecb7=new _0x9f3d79();this[_0x2a3736(0xb1)]();for(const _0x452b48 of _0x4d8947){const _0x5def2a=new _0x146875({'label':_0x452b48[_0x2a3736(0xb5)],'withText':!0x0,'role':_0x2a3736(0xb7),'id':_0x452b48['id'],'model':_0x452b48});_0x5def2a[_0x2a3736(0xb6)](_0x2a3736(0xb2))['to'](this,_0x2a3736(0xa1),_0xbb1fe7=>_0xbb1fe7===_0x5def2a['id']);const _0x15943e={'type':_0x2a3736(0x9e),'model':_0x5def2a};_0x25ecb7[_0x2a3736(0x99)](_0x15943e);}return _0x25ecb7;}}
23
+ const _0x539ff0=_0x136a;(function(_0x13be7c,_0x83724c){const _0x4453df=_0x136a,_0x5e2ec9=_0x13be7c();while(!![]){try{const _0x3c566f=parseInt(_0x4453df(0x19a))/0x1*(parseInt(_0x4453df(0x199))/0x2)+-parseInt(_0x4453df(0x19f))/0x3+parseInt(_0x4453df(0x194))/0x4*(-parseInt(_0x4453df(0x1a6))/0x5)+-parseInt(_0x4453df(0x18e))/0x6+-parseInt(_0x4453df(0x1aa))/0x7*(parseInt(_0x4453df(0x187))/0x8)+-parseInt(_0x4453df(0x195))/0x9*(parseInt(_0x4453df(0x193))/0xa)+parseInt(_0x4453df(0x192))/0xb;if(_0x3c566f===_0x83724c)break;else _0x5e2ec9['push'](_0x5e2ec9['shift']());}catch(_0x30734f){_0x5e2ec9['push'](_0x5e2ec9['shift']());}}}(_0x32be,0x1fb8f));function _0x136a(_0x4320de,_0x2f4754){const _0x32bee9=_0x32be();return _0x136a=function(_0x136ac8,_0x5559c4){_0x136ac8=_0x136ac8-0x185;let _0x5ee927=_0x32bee9[_0x136ac8];return _0x5ee927;},_0x136a(_0x4320de,_0x2f4754);}import{Collection as _0x3582f2}from'ckeditor5/src/utils.js';function _0x32be(){const _0x47dec9=['104BNFPLr','_defaultLabel','button','label','setTemplate','default','listenTo','242724pBFsXL','_defaultValue','set','length','10264793LEQEfJ','146330ckYOEs','16HQhVtv','117WCckuf','bind','buttonView','formValue','8kIIZtt','5802FqKNpq','isOn','stopPropagation','ck-ai_review__check-list-item-parameterized-form-element','_prepareListOptions','658542zNFOjL','div','ck-reset_all','resetToDefault','model','add','ck-ai_review__check-list-item-parameterized-form-element_dropdown','305410WJSOFK','execute','extendTemplate','_dropdownView','71029pEYdcY','locale','bindTemplate','source','data','find','menu','menuitemradio'];_0x32be=function(){return _0x47dec9;};return _0x32be();}import{View as _0xeabc73,createDropdown as _0xccc79d,addListToDropdown as _0x3b6ab6,UIModel as _0x562f4d}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0xeabc73{[_0x539ff0(0x1a9)];[_0x539ff0(0x18f)];[_0x539ff0(0x188)];constructor(_0x45d8d1,_0x447717){const _0x1cc5e8=_0x539ff0;super(_0x45d8d1),this[_0x1cc5e8(0x18f)]=_0x447717[_0x1cc5e8(0x18c)]||(_0x447717[_0x1cc5e8(0x1ae)][_0x1cc5e8(0x191)]>0x0?_0x447717[_0x1cc5e8(0x1ae)][0x0]['id']:''),this[_0x1cc5e8(0x188)]=_0x447717[_0x1cc5e8(0x1ae)][_0x1cc5e8(0x1af)](_0x10c955=>_0x10c955['id']===this[_0x1cc5e8(0x18f)])?.[_0x1cc5e8(0x18a)]||'',this[_0x1cc5e8(0x190)](_0x1cc5e8(0x198),''),this[_0x1cc5e8(0x1a9)]=_0xccc79d(this[_0x1cc5e8(0x1ab)]);const _0x4f6796=this[_0x1cc5e8(0x19e)](_0x447717[_0x1cc5e8(0x1ae)]);_0x3b6ab6(this[_0x1cc5e8(0x1a9)],_0x4f6796,{'role':_0x1cc5e8(0x185),'ariaLabel':_0x447717[_0x1cc5e8(0x18a)]}),this[_0x1cc5e8(0x1a9)][_0x1cc5e8(0x197)][_0x1cc5e8(0x190)]({'label':this[_0x1cc5e8(0x188)],'withText':!0x0}),this[_0x1cc5e8(0x1a9)][_0x1cc5e8(0x1a8)]({'on':{'click':this[_0x1cc5e8(0x1ac)]['to'](_0x17dd7e=>{const _0x213245=_0x1cc5e8;_0x17dd7e[_0x213245(0x19c)]();})}}),this[_0x1cc5e8(0x18d)](this[_0x1cc5e8(0x1a9)],_0x1cc5e8(0x1a7),_0x4a4ec3=>{const _0x48eefd=_0x1cc5e8;this[_0x48eefd(0x198)]=_0x4a4ec3[_0x48eefd(0x1ad)][_0x48eefd(0x1a3)]['id'],this[_0x48eefd(0x1a9)][_0x48eefd(0x197)][_0x48eefd(0x18a)]=_0x4a4ec3[_0x48eefd(0x1ad)][_0x48eefd(0x1a3)][_0x48eefd(0x18a)];}),this[_0x1cc5e8(0x18b)]({'tag':_0x1cc5e8(0x1a0),'attributes':{'class':['ck',_0x1cc5e8(0x1a1),_0x1cc5e8(0x19d),_0x1cc5e8(0x1a5)]},'children':[this[_0x1cc5e8(0x1a9)]]});}[_0x539ff0(0x1a2)](){const _0x32f381=_0x539ff0;this[_0x32f381(0x198)]=this[_0x32f381(0x18f)],this[_0x32f381(0x1a9)][_0x32f381(0x197)][_0x32f381(0x18a)]=this[_0x32f381(0x188)];}[_0x539ff0(0x19e)](_0xcc03c1=[]){const _0x427ad0=_0x539ff0,_0xbfd299=new _0x3582f2();this[_0x427ad0(0x1a2)]();for(const _0x552d88 of _0xcc03c1){const _0x2e543d=new _0x562f4d({'label':_0x552d88[_0x427ad0(0x18a)],'withText':!0x0,'role':_0x427ad0(0x186),'id':_0x552d88['id'],'model':_0x552d88});_0x2e543d[_0x427ad0(0x196)](_0x427ad0(0x19b))['to'](this,_0x427ad0(0x198),_0x16865c=>_0x16865c===_0x2e543d['id']);const _0x5d6282={'type':_0x427ad0(0x189),'model':_0x2e543d};_0xbfd299[_0x427ad0(0x1a4)](_0x5d6282);}return _0xbfd299;}}