@ckeditor/ckeditor5-ai 47.0.0 → 47.1.0-alpha.1

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 (328) hide show
  1. package/build/ai.js +1 -1
  2. package/ckeditor5-metadata.json +9 -2
  3. package/dist/index-editor.css +119 -34
  4. package/dist/index.css +144 -35
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +5 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.js +1 -1
  155. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  156. package/src/aiactions/model/aiactionsreply.js +1 -1
  157. package/src/aiassistant/adapters/aiadapter.js +1 -1
  158. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  159. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  160. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  179. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  180. package/src/aiballoon/ui/aiballoonview.js +1 -1
  181. package/src/aichat/aichat.d.ts +3 -3
  182. package/src/aichat/aichat.js +1 -1
  183. package/src/aichat/aichatcontroller.js +1 -1
  184. package/src/aichat/aichatui.d.ts +6 -0
  185. package/src/aichat/aichatui.js +1 -1
  186. package/src/aichat/model/aichatcontext.js +1 -1
  187. package/src/aichat/model/aichatconversation.d.ts +2 -4
  188. package/src/aichat/model/aichatconversation.js +1 -1
  189. package/src/aichat/model/aichatinteraction.js +1 -1
  190. package/src/aichat/model/aichatmodels.d.ts +11 -4
  191. package/src/aichat/model/aichatmodels.js +1 -1
  192. package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
  193. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  194. package/src/aichat/ui/aichatfeedview.js +1 -1
  195. package/src/aichat/ui/aichatheaderview.js +1 -1
  196. package/src/aichat/ui/aichatview.js +1 -1
  197. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  200. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  203. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  204. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  216. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  218. package/src/aichat/utils/eventnames.js +1 -1
  219. package/src/aichat/utils/promisequeue.js +1 -1
  220. package/src/aichat/utils/scrollmanager.js +1 -1
  221. package/src/aichathistory/aichathistory.js +1 -1
  222. package/src/aichathistory/aichathistorycontroller.js +1 -1
  223. package/src/aichathistory/aichathistoryui.js +1 -1
  224. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  225. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  226. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  227. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  228. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  229. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  230. package/src/aiconfig.d.ts +4 -0
  231. package/src/aicore/aiconnector.js +1 -1
  232. package/src/aicore/aiediting.js +1 -1
  233. package/src/aicore/model/aicapabilities.js +1 -1
  234. package/src/aicore/model/aicontext.js +1 -1
  235. package/src/aicore/model/aiinteraction.js +1 -1
  236. package/src/aicore/model/aireply.d.ts +1 -1
  237. package/src/aicore/model/aireply.js +1 -1
  238. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  239. package/src/aicore/pipeline/airesponseparser.js +2 -2
  240. package/src/aicore/ui/aidisclaimerview.js +1 -1
  241. package/src/aicore/ui/aiskeleton.js +1 -1
  242. package/src/aicore/ui/aispinner.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  248. package/src/aicore/utils/common-translations.js +1 -1
  249. package/src/aicore/utils/createresizebutton.js +1 -1
  250. package/src/aicore/utils/documentposition.js +1 -1
  251. package/src/aicore/utils/documentrange.js +1 -1
  252. package/src/aicore/utils/eventnames.js +1 -1
  253. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  254. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  255. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  256. package/src/aicore/utils/htmlparser.js +1 -1
  257. package/src/aicore/utils/htmlstreamer.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.d.ts +2 -1
  262. package/src/aiquickactions/aiquickactions.js +1 -1
  263. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  264. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  265. package/src/aiquickactions/aiquickactionsui.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -1
  267. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  270. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  271. package/src/aireviewmode/aireviewmode.js +1 -1
  272. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  273. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  274. package/src/aireviewmode/aireviewmodeui.d.ts +3 -1
  275. package/src/aireviewmode/aireviewmodeui.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  278. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  279. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  280. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  281. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  282. package/src/aireviewmode/model/aireviewcheckrun.d.ts +31 -3
  283. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  285. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  286. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  287. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
  288. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  289. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
  290. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  291. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
  292. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
  294. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  295. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
  296. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  303. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  306. package/src/aitabs/aitabs.js +1 -1
  307. package/src/aitabs/aitabsmainview.d.ts +4 -0
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/errors.d.ts +5 -0
  313. package/src/errors.js +23 -0
  314. package/src/index.js +1 -1
  315. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
  316. package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
  317. package/theme/aichat/aichat-controls.css +1 -0
  318. package/theme/aichat/aichat.css +0 -1
  319. package/theme/aichat/aichatfeed.css +9 -0
  320. package/theme/aichat/aisuggestioncontainer.css +7 -1
  321. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
  322. package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
  323. package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
  324. package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
  325. package/theme/aitabs/aitabsview.css +2 -2
  326. package/theme/aitabs/tabs/tabsview.css +13 -3
  327. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
  328. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1e33f3=_0x61fe;(function(_0x96594c,_0x2cf24e){var _0x1c0c72=_0x61fe,_0x1c6083=_0x96594c();while(!![]){try{var _0x10a6c6=-parseInt(_0x1c0c72(0x1ce))/0x1+-parseInt(_0x1c0c72(0x1cf))/0x2*(-parseInt(_0x1c0c72(0x1a9))/0x3)+parseInt(_0x1c0c72(0x1c0))/0x4*(-parseInt(_0x1c0c72(0x1be))/0x5)+-parseInt(_0x1c0c72(0x1a8))/0x6+parseInt(_0x1c0c72(0x1ae))/0x7+-parseInt(_0x1c0c72(0x1b1))/0x8+-parseInt(_0x1c0c72(0x1cc))/0x9*(parseInt(_0x1c0c72(0x1b0))/0xa);if(_0x10a6c6===_0x2cf24e)break;else _0x1c6083['push'](_0x1c6083['shift']());}catch(_0x51e158){_0x1c6083['push'](_0x1c6083['shift']());}}}(_0x115b,0xb2f90));import{View as _0x285700,FormHeaderView as _0xcdb920}from'ckeditor5/src/ui.js';function _0x61fe(_0x10327a,_0x5cd699){var _0x115b5f=_0x115b();return _0x61fe=function(_0x61fe4d,_0x31b7f8){_0x61fe4d=_0x61fe4d-0x1a2;var _0x410e9d=_0x115b5f[_0x61fe4d];return _0x410e9d;},_0x61fe(_0x10327a,_0x5cd699);}import{IconAIReview as _0x3349be}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x122e3b}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x231ba6}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x120616}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x3327c9}from'./aireviewmodereviewcompletedview.js';function _0x115b(){var _0x504f1c=['ck-ai-review-mode','415845yjfkWk','reviewCheckResultsView','4bLhBNQ','resetErrorState','resetAllParameterizedChecks','AI_REVIEW_MODE','isResultReady','ltr','div','hideActionsWhenResultIsReady','showChunkErrorMessage','addResult','showGeneralErrorMessage','isLoading','40527IJcBbz','showNoChangesView','108346TtbEym','5498wtlPgO','reviewCheckListView','delegate','showReviewCompletedView','ck-ai-header\x20ck-ai-header_review-mode','finishReview','addCheckRunResult','328512uSwWfq','1059TceVtS','reviewCompletedView','showActionsWhenResultIsReady','showGeneralErrorView','showReviewCheckListView','782075qYpwBw','viewType','90bOzIsy','498048eXTkrm','clearResults','set','reviewModeHeader','showReviewCheckResultsView','showChunkErrorView','ck-reset_all','ck-rounded-corners','setTemplate','unmodified','completed','isVisible'];_0x115b=function(){return _0x504f1c;};return _0x115b();}import{getTranslation as _0x41d44b}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x285700{[_0x1e33f3(0x1b4)];[_0x1e33f3(0x1a2)];[_0x1e33f3(0x1bf)];[_0x1e33f3(0x1aa)];constructor(_0x2c2e70){var _0x4f3954=_0x1e33f3;super(_0x2c2e70),this[_0x4f3954(0x1b4)]=new _0xcdb920(_0x2c2e70,{'label':_0x41d44b(_0x2c2e70,_0x4f3954(0x1c3)),'icon':_0x3349be,'class':_0x4f3954(0x1a5)}),this[_0x4f3954(0x1a2)]=new _0x122e3b(_0x2c2e70),this[_0x4f3954(0x1a2)][_0x4f3954(0x1a3)](..._0x231ba6)['to'](this),this[_0x4f3954(0x1bf)]=new _0x120616(_0x2c2e70),this[_0x4f3954(0x1bf)][_0x4f3954(0x1a3)](..._0x231ba6)['to'](this),this[_0x4f3954(0x1aa)]=new _0x3327c9(_0x2c2e70),this[_0x4f3954(0x1aa)][_0x4f3954(0x1a3)](_0x4f3954(0x1a6))['to'](this),this[_0x4f3954(0x1a2)][_0x4f3954(0x1b3)](_0x4f3954(0x1bc),!0x1),this[_0x4f3954(0x1bf)][_0x4f3954(0x1b3)](_0x4f3954(0x1bc),!0x1),this[_0x4f3954(0x1bf)][_0x4f3954(0x1b3)](_0x4f3954(0x1cb),!0x1),this[_0x4f3954(0x1bf)][_0x4f3954(0x1b3)](_0x4f3954(0x1c4),!0x1),this[_0x4f3954(0x1aa)][_0x4f3954(0x1b3)](_0x4f3954(0x1bc),!0x1),this[_0x4f3954(0x1b9)]({'tag':_0x4f3954(0x1c6),'attributes':{'class':['ck',_0x4f3954(0x1b7),_0x4f3954(0x1bd),_0x4f3954(0x1b8)],'dir':_0x4f3954(0x1c5)},'children':[this[_0x4f3954(0x1b4)],this[_0x4f3954(0x1a2)],this[_0x4f3954(0x1bf)],this[_0x4f3954(0x1aa)]]});}[_0x1e33f3(0x1ad)](){var _0x1d62aa=_0x1e33f3;this[_0x1d62aa(0x1a2)][_0x1d62aa(0x1c2)](),this[_0x1d62aa(0x1a2)][_0x1d62aa(0x1b3)](_0x1d62aa(0x1bc),!0x0),this[_0x1d62aa(0x1bf)][_0x1d62aa(0x1b3)](_0x1d62aa(0x1bc),!0x1),this[_0x1d62aa(0x1aa)][_0x1d62aa(0x1b3)](_0x1d62aa(0x1bc),!0x1);}[_0x1e33f3(0x1b5)](){var _0x753e32=_0x1e33f3;this[_0x753e32(0x1c7)](),this[_0x753e32(0x1bf)][_0x753e32(0x1c1)](),this[_0x753e32(0x1a2)][_0x753e32(0x1b3)](_0x753e32(0x1bc),!0x1),this[_0x753e32(0x1bf)][_0x753e32(0x1b3)](_0x753e32(0x1bc),!0x0),this[_0x753e32(0x1bf)][_0x753e32(0x1b2)](),this[_0x753e32(0x1bf)][_0x753e32(0x1b3)](_0x753e32(0x1cb),!0x0);}[_0x1e33f3(0x1a7)](_0x4607cd){var _0x3dd8f9=_0x1e33f3;this[_0x3dd8f9(0x1bf)][_0x3dd8f9(0x1c9)](_0x4607cd),this[_0x3dd8f9(0x1bf)][_0x3dd8f9(0x1b3)](_0x3dd8f9(0x1cb),!0x1);}[_0x1e33f3(0x1a4)](){var _0x1e78c1=_0x1e33f3;this[_0x1e78c1(0x1a2)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1bc),!0x1),this[_0x1e78c1(0x1bf)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1bc),!0x1),this[_0x1e78c1(0x1aa)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1af),_0x1e78c1(0x1bb)),this[_0x1e78c1(0x1aa)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1bc),!0x0);}[_0x1e33f3(0x1ab)](){var _0x39d413=_0x1e33f3;this[_0x39d413(0x1bf)][_0x39d413(0x1c4)]=!0x0;}[_0x1e33f3(0x1cd)](){var _0x1e2ea8=_0x1e33f3;this[_0x1e2ea8(0x1a2)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1bc),!0x1),this[_0x1e2ea8(0x1bf)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1bc),!0x1),this[_0x1e2ea8(0x1aa)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1af),_0x1e2ea8(0x1ba)),this[_0x1e2ea8(0x1aa)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1bc),!0x0);}[_0x1e33f3(0x1c7)](){var _0x207242=_0x1e33f3;this[_0x207242(0x1bf)][_0x207242(0x1c4)]=!0x1;}[_0x1e33f3(0x1ac)](){var _0x4ec5d7=_0x1e33f3;this[_0x4ec5d7(0x1bf)][_0x4ec5d7(0x1b3)](_0x4ec5d7(0x1cb),!0x1),this[_0x4ec5d7(0x1ab)](),this[_0x4ec5d7(0x1bf)][_0x4ec5d7(0x1ca)]();}[_0x1e33f3(0x1b6)](){var _0x3fc409=_0x1e33f3;this[_0x3fc409(0x1bf)][_0x3fc409(0x1b3)](_0x3fc409(0x1cb),!0x1),this[_0x3fc409(0x1ab)](),this[_0x3fc409(0x1bf)][_0x3fc409(0x1c8)]();}}
23
+ var _0x3dce45=_0x5def;(function(_0x164083,_0x5be66a){var _0x517442=_0x5def,_0x21e695=_0x164083();while(!![]){try{var _0xa46b78=-parseInt(_0x517442(0xd1))/0x1+-parseInt(_0x517442(0xe1))/0x2*(-parseInt(_0x517442(0xd4))/0x3)+-parseInt(_0x517442(0xf3))/0x4*(parseInt(_0x517442(0xeb))/0x5)+parseInt(_0x517442(0xdb))/0x6*(parseInt(_0x517442(0xec))/0x7)+parseInt(_0x517442(0xd9))/0x8*(-parseInt(_0x517442(0xe6))/0x9)+parseInt(_0x517442(0xde))/0xa+parseInt(_0x517442(0xf0))/0xb*(parseInt(_0x517442(0xca))/0xc);if(_0xa46b78===_0x5be66a)break;else _0x21e695['push'](_0x21e695['shift']());}catch(_0x1ca8de){_0x21e695['push'](_0x21e695['shift']());}}}(_0x15ce,0x26f26));import{View as _0x570b54,FormHeaderView as _0x40e5e0}from'ckeditor5/src/ui.js';import{IconAIReview as _0x1d23e9}from'ckeditor5/src/icons.js';function _0x15ce(){var _0x4cf297=['viewType','finishReview','div','showActionsWhenResultIsReady','8168kjHvAJ','showReviewCompletedView','72942dfDxtP','resetErrorState','addResult','468550NeccAS','ck-ai-review-mode','setTemplate','96526CrRtGo','clearResults','ltr','showGeneralErrorMessage','addCheckRunResult','765nKWXuf','isVisible','ck-reset_all','showNoChangesView','showGeneralErrorView','10rlDmeN','91ppozXt','isLoading','completed','reviewCheckListView','11Ndgqyt','showReviewCheckResultsView','reviewCompletedView','187468QScjhv','isResultReady','ck-ai-header\x20ck-ai-header_review-mode','reviewModeHeader','showReviewCheckListView','ck-rounded-corners','AI_REVIEW_MODE','4762260hDuDTP','reviewCheckResultsView','unmodified','delegate','set','showChunkErrorMessage','hideActionsWhenResultIsReady','309969lmMWjc','resetAllParameterizedChecks','showChunkErrorView','3PqwfgY'];_0x15ce=function(){return _0x4cf297;};return _0x15ce();}function _0x5def(_0xf9d545,_0x4d071b){var _0x15cede=_0x15ce();return _0x5def=function(_0x5def49,_0x15d834){_0x5def49=_0x5def49-0xc7;var _0x2cfd00=_0x15cede[_0x5def49];return _0x2cfd00;},_0x5def(_0xf9d545,_0x4d071b);}import{AIReviewModeReviewCheckListView as _0x41b5e3}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x392984}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x4eb40c}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x1b5534}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x3e824b}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x570b54{[_0x3dce45(0xf6)];[_0x3dce45(0xef)];[_0x3dce45(0xcb)];[_0x3dce45(0xf2)];constructor(_0x240fdb){var _0x2c5457=_0x3dce45;super(_0x240fdb),this[_0x2c5457(0xf6)]=new _0x40e5e0(_0x240fdb,{'label':_0x3e824b(_0x240fdb,_0x2c5457(0xc9)),'icon':_0x1d23e9,'class':_0x2c5457(0xf5)}),this[_0x2c5457(0xef)]=new _0x41b5e3(_0x240fdb),this[_0x2c5457(0xef)][_0x2c5457(0xcd)](..._0x392984)['to'](this),this[_0x2c5457(0xcb)]=new _0x4eb40c(_0x240fdb),this[_0x2c5457(0xcb)][_0x2c5457(0xcd)](..._0x392984)['to'](this),this[_0x2c5457(0xf2)]=new _0x1b5534(_0x240fdb),this[_0x2c5457(0xf2)][_0x2c5457(0xcd)](_0x2c5457(0xd6))['to'](this),this[_0x2c5457(0xef)][_0x2c5457(0xce)](_0x2c5457(0xe7),!0x1),this[_0x2c5457(0xcb)][_0x2c5457(0xce)](_0x2c5457(0xe7),!0x1),this[_0x2c5457(0xcb)][_0x2c5457(0xce)](_0x2c5457(0xed),!0x1),this[_0x2c5457(0xcb)][_0x2c5457(0xce)](_0x2c5457(0xf4),!0x1),this[_0x2c5457(0xf2)][_0x2c5457(0xce)](_0x2c5457(0xe7),!0x1),this[_0x2c5457(0xe0)]({'tag':_0x2c5457(0xd7),'attributes':{'class':['ck',_0x2c5457(0xe8),_0x2c5457(0xdf),_0x2c5457(0xc8)],'dir':_0x2c5457(0xe3)},'children':[this[_0x2c5457(0xf6)],this[_0x2c5457(0xef)],this[_0x2c5457(0xcb)],this[_0x2c5457(0xf2)]]});}[_0x3dce45(0xc7)](){var _0x4c11e1=_0x3dce45;this[_0x4c11e1(0xef)][_0x4c11e1(0xd2)](),this[_0x4c11e1(0xef)][_0x4c11e1(0xce)](_0x4c11e1(0xe7),!0x0),this[_0x4c11e1(0xcb)][_0x4c11e1(0xce)](_0x4c11e1(0xe7),!0x1),this[_0x4c11e1(0xf2)][_0x4c11e1(0xce)](_0x4c11e1(0xe7),!0x1);}[_0x3dce45(0xf1)](){var _0xcbe2f2=_0x3dce45;this[_0xcbe2f2(0xd0)](),this[_0xcbe2f2(0xcb)][_0xcbe2f2(0xdc)](),this[_0xcbe2f2(0xef)][_0xcbe2f2(0xce)](_0xcbe2f2(0xe7),!0x1),this[_0xcbe2f2(0xcb)][_0xcbe2f2(0xce)](_0xcbe2f2(0xe7),!0x0),this[_0xcbe2f2(0xcb)][_0xcbe2f2(0xe2)](),this[_0xcbe2f2(0xcb)][_0xcbe2f2(0xce)](_0xcbe2f2(0xed),!0x0);}[_0x3dce45(0xe5)](_0x22d874){var _0x37545d=_0x3dce45;this[_0x37545d(0xcb)][_0x37545d(0xdd)](_0x22d874),this[_0x37545d(0xcb)][_0x37545d(0xce)](_0x37545d(0xed),!0x1);}[_0x3dce45(0xda)](){var _0xa62321=_0x3dce45;this[_0xa62321(0xef)][_0xa62321(0xce)](_0xa62321(0xe7),!0x1),this[_0xa62321(0xcb)][_0xa62321(0xce)](_0xa62321(0xe7),!0x1),this[_0xa62321(0xf2)][_0xa62321(0xce)](_0xa62321(0xd5),_0xa62321(0xee)),this[_0xa62321(0xf2)][_0xa62321(0xce)](_0xa62321(0xe7),!0x0);}[_0x3dce45(0xd8)](){var _0x23c4c7=_0x3dce45;this[_0x23c4c7(0xcb)][_0x23c4c7(0xf4)]=!0x0;}[_0x3dce45(0xe9)](){var _0x4a34d1=_0x3dce45;this[_0x4a34d1(0xef)][_0x4a34d1(0xce)](_0x4a34d1(0xe7),!0x1),this[_0x4a34d1(0xcb)][_0x4a34d1(0xce)](_0x4a34d1(0xe7),!0x1),this[_0x4a34d1(0xf2)][_0x4a34d1(0xce)](_0x4a34d1(0xd5),_0x4a34d1(0xcc)),this[_0x4a34d1(0xf2)][_0x4a34d1(0xce)](_0x4a34d1(0xe7),!0x0);}[_0x3dce45(0xd0)](){var _0x25df19=_0x3dce45;this[_0x25df19(0xcb)][_0x25df19(0xf4)]=!0x1;}[_0x3dce45(0xea)](){var _0xe6e18d=_0x3dce45;this[_0xe6e18d(0xcb)][_0xe6e18d(0xce)](_0xe6e18d(0xed),!0x1),this[_0xe6e18d(0xd8)](),this[_0xe6e18d(0xcb)][_0xe6e18d(0xe4)]();}[_0x3dce45(0xd3)](){var _0x21240b=_0x3dce45;this[_0x21240b(0xcb)][_0x21240b(0xce)](_0x21240b(0xed),!0x1),this[_0x21240b(0xd8)](),this[_0x21240b(0xcb)][_0x21240b(0xcf)]();}}
@@ -3,7 +3,7 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
- * @module ai/aireviewmode/ui/form/aireviewmodeformamanager
6
+ * @module ai/aireviewmode/ui/form/aireviewmodeformdropdown
7
7
  */
8
8
  import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { View } from 'ckeditor5/src/ui.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x21f1(_0x434e55,_0x4b2c60){const _0x16ca38=_0x16ca();return _0x21f1=function(_0x21f194,_0x4150f9){_0x21f194=_0x21f194-0x153;let _0x5675bf=_0x16ca38[_0x21f194];return _0x5675bf;},_0x21f1(_0x434e55,_0x4b2c60);}const _0x5e8927=_0x21f1;function _0x16ca(){const _0x3e25ce=['_dropdownView','_prepareListOptions','40wcIKhJ','listenTo','54TaHKLt','stopPropagation','15129ulKjIk','5339994PvjlMF','add','setTemplate','_defaultValue','isOn','5274OXSPXu','locale','formValue','274487VvdJah','find','resetToDefault','5400VLrkSq','extendTemplate','data','bindTemplate','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','ck-reset_all','bind','ck-ai-review-mode__check-list-item-parameterized-form-element','source','43844LwJxoz','2911469FlKLlB','execute','_defaultLabel','4890571vNKCrq','label','div','menu','default','button','215JuGdOr','length','buttonView','menuitemradio','model','set'];_0x16ca=function(){return _0x3e25ce;};return _0x16ca();}(function(_0x174129,_0x13fea9){const _0x3d48b7=_0x21f1,_0x4546d8=_0x174129();while(!![]){try{const _0x6e1d10=parseInt(_0x3d48b7(0x168))/0x1+-parseInt(_0x3d48b7(0x15d))/0x2*(parseInt(_0x3d48b7(0x165))/0x3)+-parseInt(_0x3d48b7(0x174))/0x4*(-parseInt(_0x3d48b7(0x153))/0x5)+-parseInt(_0x3d48b7(0x160))/0x6+parseInt(_0x3d48b7(0x178))/0x7+-parseInt(_0x3d48b7(0x16b))/0x8*(-parseInt(_0x3d48b7(0x15f))/0x9)+-parseInt(_0x3d48b7(0x15b))/0xa*(parseInt(_0x3d48b7(0x175))/0xb);if(_0x6e1d10===_0x13fea9)break;else _0x4546d8['push'](_0x4546d8['shift']());}catch(_0x3f901f){_0x4546d8['push'](_0x4546d8['shift']());}}}(_0x16ca,0x8e52d));import{Collection as _0x4d49e7}from'ckeditor5/src/utils.js';import{View as _0x38d2c4,createDropdown as _0x2228af,addListToDropdown as _0x3a35d7,UIModel as _0x239252}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x38d2c4{[_0x5e8927(0x159)];[_0x5e8927(0x163)];[_0x5e8927(0x177)];constructor(_0x32b6d4,_0x38dc6c){const _0x1cd908=_0x5e8927;super(_0x32b6d4),this[_0x1cd908(0x163)]=_0x38dc6c[_0x1cd908(0x17c)]||(_0x38dc6c[_0x1cd908(0x16d)][_0x1cd908(0x154)]>0x0?_0x38dc6c[_0x1cd908(0x16d)][0x0]['id']:''),this[_0x1cd908(0x177)]=_0x38dc6c[_0x1cd908(0x16d)][_0x1cd908(0x169)](_0x105585=>_0x105585['id']===this[_0x1cd908(0x163)])?.[_0x1cd908(0x179)]||'',this[_0x1cd908(0x158)](_0x1cd908(0x167),''),this[_0x1cd908(0x159)]=_0x2228af(this[_0x1cd908(0x166)]);const _0x1ffbe2=this[_0x1cd908(0x15a)](_0x38dc6c[_0x1cd908(0x16d)]);_0x3a35d7(this[_0x1cd908(0x159)],_0x1ffbe2,{'role':_0x1cd908(0x17b),'ariaLabel':_0x38dc6c[_0x1cd908(0x179)]}),this[_0x1cd908(0x159)][_0x1cd908(0x155)][_0x1cd908(0x158)]({'label':this[_0x1cd908(0x177)],'withText':!0x0}),this[_0x1cd908(0x159)][_0x1cd908(0x16c)]({'on':{'click':this[_0x1cd908(0x16e)]['to'](_0x4334a5=>{const _0x1a7ca7=_0x1cd908;_0x4334a5[_0x1a7ca7(0x15e)]();})}}),this[_0x1cd908(0x15c)](this[_0x1cd908(0x159)],_0x1cd908(0x176),_0xa4195e=>{const _0x353d82=_0x1cd908;this[_0x353d82(0x167)]=_0xa4195e[_0x353d82(0x173)][_0x353d82(0x157)]['id'],this[_0x353d82(0x159)][_0x353d82(0x155)][_0x353d82(0x179)]=_0xa4195e[_0x353d82(0x173)][_0x353d82(0x157)][_0x353d82(0x179)];}),this[_0x1cd908(0x162)]({'tag':_0x1cd908(0x17a),'attributes':{'class':['ck',_0x1cd908(0x170),_0x1cd908(0x172),_0x1cd908(0x16f)]},'children':[this[_0x1cd908(0x159)]]});}[_0x5e8927(0x16a)](){const _0x109f84=_0x5e8927;this[_0x109f84(0x167)]=this[_0x109f84(0x163)],this[_0x109f84(0x159)][_0x109f84(0x155)][_0x109f84(0x179)]=this[_0x109f84(0x177)];}[_0x5e8927(0x15a)](_0x48b67c=[]){const _0xc061d6=_0x5e8927,_0x5d7021=new _0x4d49e7();this[_0xc061d6(0x16a)]();for(const _0x3d2fe9 of _0x48b67c){const _0x2a4ada=new _0x239252({'label':_0x3d2fe9[_0xc061d6(0x179)],'withText':!0x0,'role':_0xc061d6(0x156),'id':_0x3d2fe9['id'],'model':_0x3d2fe9});_0x2a4ada[_0xc061d6(0x171)](_0xc061d6(0x164))['to'](this,_0xc061d6(0x167),_0x35945a=>_0x35945a===_0x2a4ada['id']);const _0x1fb019={'type':_0xc061d6(0x17d),'model':_0x2a4ada};_0x5d7021[_0xc061d6(0x161)](_0x1fb019);}return _0x5d7021;}}
23
+ function _0x461a(_0x5734fd,_0x33e09e){const _0x10e013=_0x10e0();return _0x461a=function(_0x461a27,_0x390da7){_0x461a27=_0x461a27-0xdd;let _0xa33b4b=_0x10e013[_0x461a27];return _0xa33b4b;},_0x461a(_0x5734fd,_0x33e09e);}const _0x1e8e03=_0x461a;function _0x10e0(){const _0x2c8090=['default','buttonView','data','1217226EDJFUi','source','bindTemplate','execute','1308725AJYkjA','_defaultLabel','_prepareListOptions','div','ck-reset_all','_dropdownView','_defaultValue','isOn','button','resetToDefault','menu','setTemplate','add','extendTemplate','find','listenTo','76731QDyoVK','length','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','5292jMcADd','bind','set','model','locale','4152nRqYHv','stopPropagation','822168dlJFUx','411471faWWpt','4fHTCYp','ck-ai-review-mode__check-list-item-parameterized-form-element','formValue','menuitemradio','104342wKaOjL','label'];_0x10e0=function(){return _0x2c8090;};return _0x10e0();}(function(_0xcb2a84,_0x2f0f39){const _0x1f3f0e=_0x461a,_0x54254d=_0xcb2a84();while(!![]){try{const _0xbdc40a=parseInt(_0x1f3f0e(0x103))/0x1*(parseInt(_0x1f3f0e(0xe6))/0x2)+parseInt(_0x1f3f0e(0xe5))/0x3+parseInt(_0x1f3f0e(0xe4))/0x4+-parseInt(_0x1f3f0e(0xf3))/0x5+parseInt(_0x1f3f0e(0xef))/0x6+parseInt(_0x1f3f0e(0xea))/0x7+-parseInt(_0x1f3f0e(0xe2))/0x8*(parseInt(_0x1f3f0e(0xdd))/0x9);if(_0xbdc40a===_0x2f0f39)break;else _0x54254d['push'](_0x54254d['shift']());}catch(_0x54bea1){_0x54254d['push'](_0x54254d['shift']());}}}(_0x10e0,0x23e4d));import{Collection as _0x12652a}from'ckeditor5/src/utils.js';import{View as _0x1d8e0b,createDropdown as _0x538004,addListToDropdown as _0x13be57,UIModel as _0x5202e3}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x1d8e0b{[_0x1e8e03(0xf8)];[_0x1e8e03(0xf9)];[_0x1e8e03(0xf4)];constructor(_0x43547e,_0x58ed45){const _0x2d122e=_0x1e8e03;super(_0x43547e),this[_0x2d122e(0xf9)]=_0x58ed45[_0x2d122e(0xec)]||(_0x58ed45[_0x2d122e(0xee)][_0x2d122e(0x104)]>0x0?_0x58ed45[_0x2d122e(0xee)][0x0]['id']:''),this[_0x2d122e(0xf4)]=_0x58ed45[_0x2d122e(0xee)][_0x2d122e(0x101)](_0x57c854=>_0x57c854['id']===this[_0x2d122e(0xf9)])?.[_0x2d122e(0xeb)]||'',this[_0x2d122e(0xdf)](_0x2d122e(0xe8),''),this[_0x2d122e(0xf8)]=_0x538004(this[_0x2d122e(0xe1)]);const _0x1cf821=this[_0x2d122e(0xf5)](_0x58ed45[_0x2d122e(0xee)]);_0x13be57(this[_0x2d122e(0xf8)],_0x1cf821,{'role':_0x2d122e(0xfd),'ariaLabel':_0x58ed45[_0x2d122e(0xeb)]}),this[_0x2d122e(0xf8)][_0x2d122e(0xed)][_0x2d122e(0xdf)]({'label':this[_0x2d122e(0xf4)],'withText':!0x0}),this[_0x2d122e(0xf8)][_0x2d122e(0x100)]({'on':{'click':this[_0x2d122e(0xf1)]['to'](_0x19a107=>{const _0x12f85d=_0x2d122e;_0x19a107[_0x12f85d(0xe3)]();})}}),this[_0x2d122e(0x102)](this[_0x2d122e(0xf8)],_0x2d122e(0xf2),_0x33ef82=>{const _0x229d67=_0x2d122e;this[_0x229d67(0xe8)]=_0x33ef82[_0x229d67(0xf0)][_0x229d67(0xe0)]['id'],this[_0x229d67(0xf8)][_0x229d67(0xed)][_0x229d67(0xeb)]=_0x33ef82[_0x229d67(0xf0)][_0x229d67(0xe0)][_0x229d67(0xeb)];}),this[_0x2d122e(0xfe)]({'tag':_0x2d122e(0xf6),'attributes':{'class':['ck',_0x2d122e(0xf7),_0x2d122e(0xe7),_0x2d122e(0x105)]},'children':[this[_0x2d122e(0xf8)]]});}[_0x1e8e03(0xfc)](){const _0x800dd3=_0x1e8e03;this[_0x800dd3(0xe8)]=this[_0x800dd3(0xf9)],this[_0x800dd3(0xf8)][_0x800dd3(0xed)][_0x800dd3(0xeb)]=this[_0x800dd3(0xf4)];}[_0x1e8e03(0xf5)](_0x375251=[]){const _0x2ac471=_0x1e8e03,_0x163bfe=new _0x12652a();this[_0x2ac471(0xfc)]();for(const _0x23e1a2 of _0x375251){const _0x267b1e=new _0x5202e3({'label':_0x23e1a2[_0x2ac471(0xeb)],'withText':!0x0,'role':_0x2ac471(0xe9),'id':_0x23e1a2['id'],'model':_0x23e1a2});_0x267b1e[_0x2ac471(0xde)](_0x2ac471(0xfa))['to'](this,_0x2ac471(0xe8),_0x3912cc=>_0x3912cc===_0x267b1e['id']);const _0x4d2925={'type':_0x2ac471(0xfb),'model':_0x267b1e};_0x163bfe[_0x2ac471(0xff)](_0x4d2925);}return _0x163bfe;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1335b5=_0x3828;(function(_0x286ddc,_0x34f370){const _0x257354=_0x3828,_0x48c2b9=_0x286ddc();while(!![]){try{const _0x47a0e6=-parseInt(_0x257354(0x10a))/0x1*(parseInt(_0x257354(0x11f))/0x2)+-parseInt(_0x257354(0x120))/0x3*(parseInt(_0x257354(0x11b))/0x4)+parseInt(_0x257354(0x10f))/0x5*(parseInt(_0x257354(0x111))/0x6)+parseInt(_0x257354(0x113))/0x7*(-parseInt(_0x257354(0x11d))/0x8)+-parseInt(_0x257354(0x126))/0x9*(parseInt(_0x257354(0x125))/0xa)+-parseInt(_0x257354(0x10d))/0xb+-parseInt(_0x257354(0x119))/0xc*(-parseInt(_0x257354(0x10b))/0xd);if(_0x47a0e6===_0x34f370)break;else _0x48c2b9['push'](_0x48c2b9['shift']());}catch(_0x1e08b7){_0x48c2b9['push'](_0x48c2b9['shift']());}}}(_0x9fa5,0xb9577));function _0x3828(_0x5179f5,_0x4e7118){const _0x9fa526=_0x9fa5();return _0x3828=function(_0x382849,_0x56e019){_0x382849=_0x382849-0x10a;let _0x421fe1=_0x9fa526[_0x382849];return _0x421fe1;},_0x3828(_0x5179f5,_0x4e7118);}import{FormRowView as _0x52473c,ListItemView as _0x2efabc}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x2bd8fa}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x2efabc{[_0x1335b5(0x10c)]=null;constructor(_0x55c90b,_0x5dfb97,_0x4bf613){const _0x291048=_0x1335b5;super(_0x55c90b),this[_0x291048(0x10e)]=_0x5dfb97?.[_0x291048(0x10e)];if(_0x291048(0x112)===_0x5dfb97[_0x291048(0x11e)])this[_0x291048(0x10c)]=new _0x2bd8fa(this[_0x291048(0x127)],_0x5dfb97);this[_0x291048(0x117)](_0x291048(0x11a),''),this[_0x291048(0x116)](_0x291048(0x11a))['to'](this[_0x291048(0x10c)],_0x291048(0x115));const _0x5157dc=new _0x52473c(this[_0x291048(0x127)],{'children':[this[_0x291048(0x10c)]],'class':[_0x4bf613?_0x291048(0x118):'']});_0x4bf613&&_0x5157dc[_0x291048(0x124)][_0x291048(0x110)](_0x4bf613),this[_0x291048(0x122)]({'tag':_0x291048(0x121),'attributes':{'class':['ck',_0x291048(0x123),_0x291048(0x114)]},'children':[_0x5157dc]});}[_0x1335b5(0x11c)](){const _0x56b07d=_0x1335b5;this[_0x56b07d(0x10c)][_0x56b07d(0x11c)]();}}function _0x9fa5(){const _0x35767d=['167974zfTmDY','671082CYOCdU','div','setTemplate','ck-ai-review-mode__form-item','children','6772210VnkIon','18HnuveK','locale','3fLhGKI','33475IbVMsl','_formItem','14945997JUzhle','argsKey','3904085oaVkzW','add','6vifJvc','dropdown','232729POgSaa','ck-reset_all','formValue','bind','set','ck-form__row_with-submit','24972RHgybP','value','20myvoRp','resetToDefault','312rHLtHK','formType'];_0x9fa5=function(){return _0x35767d;};return _0x9fa5();}
23
+ const _0x50987=_0x25c9;function _0x2786(){const _0x5b2547=['children','ck-form__row_with-submit','2572ljTmDx','ck-reset_all','2532KuPTCL','resetToDefault','ck-ai-review-mode__form-item','formValue','formType','141712qYYejv','533048tYRJKq','div','1225030PZggoZ','add','1090mCObKt','315324pWwLEF','136248EEAtRs','setTemplate','set','value','909xMtmub','dropdown','locale','45JCMles','bind','argsKey','_formItem'];_0x2786=function(){return _0x5b2547;};return _0x2786();}(function(_0x127f6a,_0x240f66){const _0x2dd8cd=_0x25c9,_0x57670f=_0x127f6a();while(!![]){try{const _0x52d247=parseInt(_0x2dd8cd(0xc4))/0x1+parseInt(_0x2dd8cd(0xca))/0x2+-parseInt(_0x2dd8cd(0xb4))/0x3*(-parseInt(_0x2dd8cd(0xbd))/0x4)+parseInt(_0x2dd8cd(0xc9))/0x5*(-parseInt(_0x2dd8cd(0xbf))/0x6)+-parseInt(_0x2dd8cd(0xcb))/0x7+-parseInt(_0x2dd8cd(0xc5))/0x8*(parseInt(_0x2dd8cd(0xb7))/0x9)+parseInt(_0x2dd8cd(0xc7))/0xa;if(_0x52d247===_0x240f66)break;else _0x57670f['push'](_0x57670f['shift']());}catch(_0x3d3094){_0x57670f['push'](_0x57670f['shift']());}}}(_0x2786,0x2a03b));function _0x25c9(_0x4f92bf,_0x1d3e5a){const _0x2786f5=_0x2786();return _0x25c9=function(_0x25c9ac,_0x3e1575){_0x25c9ac=_0x25c9ac-0xb1;let _0xc36ebd=_0x2786f5[_0x25c9ac];return _0xc36ebd;},_0x25c9(_0x4f92bf,_0x1d3e5a);}import{FormRowView as _0x400c79,ListItemView as _0x3fab32}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x52f7b6}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x3fab32{[_0x50987(0xba)]=null;constructor(_0x5d0284,_0x5e248a,_0x5982d0){const _0x1fd1c1=_0x50987;super(_0x5d0284),this[_0x1fd1c1(0xb9)]=_0x5e248a?.[_0x1fd1c1(0xb9)];if(_0x1fd1c1(0xb5)===_0x5e248a[_0x1fd1c1(0xc3)])this[_0x1fd1c1(0xba)]=new _0x52f7b6(this[_0x1fd1c1(0xb6)],_0x5e248a);this[_0x1fd1c1(0xb2)](_0x1fd1c1(0xb3),''),this[_0x1fd1c1(0xb8)](_0x1fd1c1(0xb3))['to'](this[_0x1fd1c1(0xba)],_0x1fd1c1(0xc2));const _0x82a9eb=new _0x400c79(this[_0x1fd1c1(0xb6)],{'children':[this[_0x1fd1c1(0xba)]],'class':[_0x5982d0?_0x1fd1c1(0xbc):'']});_0x5982d0&&_0x82a9eb[_0x1fd1c1(0xbb)][_0x1fd1c1(0xc8)](_0x5982d0),this[_0x1fd1c1(0xb1)]({'tag':_0x1fd1c1(0xc6),'attributes':{'class':['ck',_0x1fd1c1(0xc1),_0x1fd1c1(0xbe)]},'children':[_0x82a9eb]});}[_0x50987(0xc0)](){const _0x11656a=_0x50987;this[_0x11656a(0xba)][_0x11656a(0xc0)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x455262=_0x303c;function _0x303c(_0x527508,_0x1ba7c9){const _0x5c86bd=_0x5c86();return _0x303c=function(_0x303c98,_0x496ff0){_0x303c98=_0x303c98-0x11d;let _0x2aac32=_0x5c86bd[_0x303c98];return _0x2aac32;},_0x303c(_0x527508,_0x1ba7c9);}(function(_0x74888b,_0x4d7338){const _0x37eb3f=_0x303c,_0x4406c2=_0x74888b();while(!![]){try{const _0x3367fc=parseInt(_0x37eb3f(0x121))/0x1+-parseInt(_0x37eb3f(0x12a))/0x2+-parseInt(_0x37eb3f(0x12b))/0x3*(-parseInt(_0x37eb3f(0x14b))/0x4)+parseInt(_0x37eb3f(0x134))/0x5*(-parseInt(_0x37eb3f(0x145))/0x6)+-parseInt(_0x37eb3f(0x126))/0x7+-parseInt(_0x37eb3f(0x12e))/0x8+parseInt(_0x37eb3f(0x13c))/0x9;if(_0x3367fc===_0x4d7338)break;else _0x4406c2['push'](_0x4406c2['shift']());}catch(_0x2b92ab){_0x4406c2['push'](_0x4406c2['shift']());}}}(_0x5c86,0x7fa0d));import{ContextPlugin as _0x1705eb,Editor as _0x47262d}from'ckeditor5/src/core.js';function _0x5c86(){const _0x599ea2=['isPremiumPlugin','5IUIdVt','focusTracker','side','overlay','isOfficialPlugin','ai-tabs-unsupported-ui-type','body','showResizeButton','3673107wIxHzS','appendChild','ai-tabs-sidebar-container-element-not-found','ai-tabs-configuration-not-found','render','switchSide','type','switchType','context','3621126LDsRwj','set','add','view','bind','remove','2281676kwPhnp','includes','isMaximized','AITabs','ai.container','resize','565408sOTHES','fire','right','container','sidebar','1379308VotKVr','pluginName','destroy','resizedTabs','52000JaCwrr','3vgWveb','element','custom','1556960BNMxVX','locale','config','ai-tabs-unsupported-ui-side','get'];_0x5c86=function(){return _0x599ea2;};return _0x5c86();}import{CKEditorError as _0x43a9ad}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x57e3fa,AI_TABS_VIEW_SIDES as _0x4a919f,AI_TABS_VIEW_TYPES as _0x20154e}from'./aitabsmainview.js';export class AITabs extends _0x1705eb{[_0x455262(0x148)];[_0x455262(0x124)]=null;[_0x455262(0x13b)]=!0x0;static get[_0x455262(0x127)](){const _0x4a2708=_0x455262;return _0x4a2708(0x11e);}static get[_0x455262(0x138)](){return!0x0;}static get[_0x455262(0x133)](){return!0x0;}constructor(_0x3f0410){const _0x4a72dd=_0x455262;super(_0x3f0410);const _0x467495=this[_0x4a72dd(0x144)][_0x4a72dd(0x130)][_0x4a72dd(0x132)](_0x4a72dd(0x11f));if(this[_0x4a72dd(0x146)](_0x4a72dd(0x136),_0x4a72dd(0x123)),!_0x467495)throw new _0x43a9ad(_0x4a72dd(0x13f));if(void 0x0!==_0x467495[_0x4a72dd(0x13b)]&&(this[_0x4a72dd(0x13b)]=_0x467495[_0x4a72dd(0x13b)]),_0x4a72dd(0x125)!==_0x467495[_0x4a72dd(0x142)]&&_0x4a72dd(0x137)!==_0x467495[_0x4a72dd(0x142)]||_0x467495[_0x4a72dd(0x136)]&&(this[_0x4a72dd(0x136)]=_0x467495[_0x4a72dd(0x136)]),_0x4a72dd(0x125)===_0x467495[_0x4a72dd(0x142)]){if(this[_0x4a72dd(0x124)]=_0x467495[_0x4a72dd(0x12c)],this[_0x4a72dd(0x146)](_0x4a72dd(0x142),_0x4a72dd(0x125)),!this[_0x4a72dd(0x124)])throw new _0x43a9ad(_0x4a72dd(0x13e));}else _0x4a72dd(0x137)===_0x467495[_0x4a72dd(0x142)]?(this[_0x4a72dd(0x124)]=document[_0x4a72dd(0x13a)],this[_0x4a72dd(0x146)](_0x4a72dd(0x142),_0x4a72dd(0x137))):(this[_0x4a72dd(0x124)]=null,this[_0x4a72dd(0x146)](_0x4a72dd(0x142),_0x4a72dd(0x12d)));this[_0x4a72dd(0x148)]=new _0x57e3fa(this[_0x4a72dd(0x144)][_0x4a72dd(0x12f)],{'side':this[_0x4a72dd(0x136)],'type':this[_0x4a72dd(0x142)]}),this[_0x4a72dd(0x148)][_0x4a72dd(0x140)](),this[_0x4a72dd(0x148)][_0x4a72dd(0x149)](_0x4a72dd(0x136))['to'](this,_0x4a72dd(0x136)),this[_0x4a72dd(0x148)][_0x4a72dd(0x149)](_0x4a72dd(0x142))['to'](this,_0x4a72dd(0x142)),this[_0x4a72dd(0x124)]&&this[_0x4a72dd(0x124)][_0x4a72dd(0x13d)](this[_0x4a72dd(0x148)][_0x4a72dd(0x12c)]),this[_0x4a72dd(0x144)]instanceof _0x47262d&&this[_0x4a72dd(0x144)]['ui'][_0x4a72dd(0x135)][_0x4a72dd(0x147)](this[_0x4a72dd(0x148)][_0x4a72dd(0x12c)]);}[_0x455262(0x143)](_0x412d4c){const _0x1438a8=_0x455262;if(_0x412d4c&&this[_0x1438a8(0x142)]!==_0x412d4c){if(!_0x20154e[_0x1438a8(0x14c)](_0x412d4c))throw new _0x43a9ad(_0x1438a8(0x139));this[_0x1438a8(0x142)]=_0x412d4c;}}[_0x455262(0x141)](_0x19a040){const _0x2d8c55=_0x455262;if(_0x19a040&&this[_0x2d8c55(0x136)]!==_0x19a040){if(!_0x4a919f[_0x2d8c55(0x14c)](_0x19a040))throw new _0x43a9ad(_0x2d8c55(0x131));this[_0x2d8c55(0x136)]=_0x19a040;}}[_0x455262(0x120)](){const _0x4fdc5a=_0x455262;this[_0x4fdc5a(0x148)][_0x4fdc5a(0x11d)]=!this[_0x4fdc5a(0x148)][_0x4fdc5a(0x11d)],this[_0x4fdc5a(0x122)](_0x4fdc5a(0x129),this[_0x4fdc5a(0x148)][_0x4fdc5a(0x11d)]);}[_0x455262(0x128)](){const _0x9729eb=_0x455262;super[_0x9729eb(0x128)](),this[_0x9729eb(0x148)][_0x9729eb(0x128)](),this[_0x9729eb(0x148)][_0x9729eb(0x12c)]&&this[_0x9729eb(0x148)][_0x9729eb(0x12c)][_0x9729eb(0x14a)]();}}
23
+ function _0x53ed(){const _0x3c965c=['right','includes','ai-tabs-unsupported-ui-side','fire','type','remove','body','view','AITabs','104ZFRzjj','isOfficialPlugin','showResizeButton','appendChild','render','container','focusTracker','resize','switchSide','side','switchType','element','63621Ewggur','destroy','6629qQwsTq','2336290HlNSHf','118197hSmJBK','isPremiumPlugin','locale','resizedTabs','set','overlay','custom','sidebar','isMaximized','7278KPGlQX','ai.container','18388lQBtKn','config','2400QYRJqv','ai-tabs-sidebar-container-element-not-found','ai-tabs-unsupported-ui-type','get','context','bind','12672hyNhYx','visibleByDefault','ai-tabs-configuration-not-found','add','490402mpGPju','543QgOGUY','pluginName'];_0x53ed=function(){return _0x3c965c;};return _0x53ed();}const _0x4ae352=_0x4343;(function(_0x5bedec,_0x4971ee){const _0x47a128=_0x4343,_0x467fb2=_0x5bedec();while(!![]){try{const _0x495f14=-parseInt(_0x47a128(0x1bd))/0x1+-parseInt(_0x47a128(0x1a5))/0x2+-parseInt(_0x47a128(0x1a6))/0x3*(parseInt(_0x47a128(0x1cc))/0x4)+parseInt(_0x47a128(0x1c0))/0x5+parseInt(_0x47a128(0x1ca))/0x6*(parseInt(_0x47a128(0x1bf))/0x7)+parseInt(_0x47a128(0x1b1))/0x8*(-parseInt(_0x47a128(0x1c1))/0x9)+-parseInt(_0x47a128(0x1ce))/0xa*(-parseInt(_0x47a128(0x1a1))/0xb);if(_0x495f14===_0x4971ee)break;else _0x467fb2['push'](_0x467fb2['shift']());}catch(_0x315f63){_0x467fb2['push'](_0x467fb2['shift']());}}}(_0x53ed,0x8dce9));function _0x4343(_0x14416d,_0x32dfc6){const _0x53ed95=_0x53ed();return _0x4343=function(_0x43434b,_0x576dc4){_0x43434b=_0x43434b-0x19d;let _0x149cea=_0x53ed95[_0x43434b];return _0x149cea;},_0x4343(_0x14416d,_0x32dfc6);}import{ContextPlugin as _0x33a8a9,Editor as _0x562d4b}from'ckeditor5/src/core.js';import{CKEditorError as _0x23fe3f}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x32fdd3,AI_TABS_VIEW_SIDES as _0x4a2831,AI_TABS_VIEW_TYPES as _0x930e2c}from'./aitabsmainview.js';export class AITabs extends _0x33a8a9{[_0x4ae352(0x1af)];[_0x4ae352(0x1b6)]=null;[_0x4ae352(0x1b3)]=!0x0;static get[_0x4ae352(0x1a7)](){const _0x1f1417=_0x4ae352;return _0x1f1417(0x1b0);}static get[_0x4ae352(0x1b2)](){return!0x0;}static get[_0x4ae352(0x1c2)](){return!0x0;}constructor(_0x203f01){const _0x4c2625=_0x4ae352;super(_0x203f01);const _0x323285=this[_0x4c2625(0x19f)][_0x4c2625(0x1cd)][_0x4c2625(0x19e)](_0x4c2625(0x1cb));if(this[_0x4c2625(0x1c5)](_0x4c2625(0x1ba),_0x4c2625(0x1a8)),!_0x323285)throw new _0x23fe3f(_0x4c2625(0x1a3));if(void 0x0!==_0x323285[_0x4c2625(0x1b3)]&&(this[_0x4c2625(0x1b3)]=_0x323285[_0x4c2625(0x1b3)]),_0x4c2625(0x1c8)!==_0x323285[_0x4c2625(0x1ac)]&&_0x4c2625(0x1c6)!==_0x323285[_0x4c2625(0x1ac)]||_0x323285[_0x4c2625(0x1ba)]&&(this[_0x4c2625(0x1ba)]=_0x323285[_0x4c2625(0x1ba)]),_0x4c2625(0x1c8)===_0x323285[_0x4c2625(0x1ac)]){if(this[_0x4c2625(0x1b6)]=_0x323285[_0x4c2625(0x1bc)],this[_0x4c2625(0x1c5)](_0x4c2625(0x1ac),_0x4c2625(0x1c8)),!this[_0x4c2625(0x1b6)])throw new _0x23fe3f(_0x4c2625(0x1cf));}else _0x4c2625(0x1c6)===_0x323285[_0x4c2625(0x1ac)]?(this[_0x4c2625(0x1b6)]=document[_0x4c2625(0x1ae)],this[_0x4c2625(0x1c5)](_0x4c2625(0x1ac),_0x4c2625(0x1c6))):(this[_0x4c2625(0x1b6)]=null,this[_0x4c2625(0x1c5)](_0x4c2625(0x1ac),_0x4c2625(0x1c7)));this[_0x4c2625(0x1af)]=new _0x32fdd3(this[_0x4c2625(0x19f)][_0x4c2625(0x1c3)],{'side':this[_0x4c2625(0x1ba)],'type':this[_0x4c2625(0x1ac)],'visibleByDefault':void 0x0===_0x323285[_0x4c2625(0x1a2)]||_0x323285[_0x4c2625(0x1a2)]}),this[_0x4c2625(0x1af)][_0x4c2625(0x1b5)](),this[_0x4c2625(0x1af)][_0x4c2625(0x1a0)](_0x4c2625(0x1ba))['to'](this,_0x4c2625(0x1ba)),this[_0x4c2625(0x1af)][_0x4c2625(0x1a0)](_0x4c2625(0x1ac))['to'](this,_0x4c2625(0x1ac)),this[_0x4c2625(0x1b6)]&&this[_0x4c2625(0x1b6)][_0x4c2625(0x1b4)](this[_0x4c2625(0x1af)][_0x4c2625(0x1bc)]),this[_0x4c2625(0x19f)]instanceof _0x562d4b&&this[_0x4c2625(0x19f)]['ui'][_0x4c2625(0x1b7)][_0x4c2625(0x1a4)](this[_0x4c2625(0x1af)][_0x4c2625(0x1bc)]);}[_0x4ae352(0x1bb)](_0x3ce214){const _0x3628b0=_0x4ae352;if(_0x3ce214&&this[_0x3628b0(0x1ac)]!==_0x3ce214){if(!_0x930e2c[_0x3628b0(0x1a9)](_0x3ce214))throw new _0x23fe3f(_0x3628b0(0x19d));this[_0x3628b0(0x1ac)]=_0x3ce214;}}[_0x4ae352(0x1b9)](_0x38cdac){const _0x25a307=_0x4ae352;if(_0x38cdac&&this[_0x25a307(0x1ba)]!==_0x38cdac){if(!_0x4a2831[_0x25a307(0x1a9)](_0x38cdac))throw new _0x23fe3f(_0x25a307(0x1aa));this[_0x25a307(0x1ba)]=_0x38cdac;}}[_0x4ae352(0x1b8)](){const _0x2a477b=_0x4ae352;this[_0x2a477b(0x1af)][_0x2a477b(0x1c9)]=!this[_0x2a477b(0x1af)][_0x2a477b(0x1c9)],this[_0x2a477b(0x1ab)](_0x2a477b(0x1c4),this[_0x2a477b(0x1af)][_0x2a477b(0x1c9)]);}[_0x4ae352(0x1be)](){const _0x1d0254=_0x4ae352;super[_0x1d0254(0x1be)](),this[_0x1d0254(0x1af)][_0x1d0254(0x1be)](),this[_0x1d0254(0x1af)][_0x1d0254(0x1bc)]&&this[_0x1d0254(0x1af)][_0x1d0254(0x1bc)][_0x1d0254(0x1ad)]();}}
@@ -48,4 +48,8 @@ export type AITabsMainViewOptions = AITabsViewOptions & {
48
48
  * * `'custom'` - the tabs are displayed as a custom UI, the integrator is responsible for the layout.
49
49
  */
50
50
  type?: (typeof AI_TABS_VIEW_TYPES)[number];
51
+ /**
52
+ * Whether the AI interface should be visible when created.
53
+ */
54
+ visibleByDefault?: boolean;
51
55
  };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x511a(_0x3dae6f,_0x5022c1){const _0x483bae=_0x483b();return _0x511a=function(_0x511a34,_0x102268){_0x511a34=_0x511a34-0x9b;let _0x58fce9=_0x483bae[_0x511a34];return _0x58fce9;},_0x511a(_0x3dae6f,_0x5022c1);}function _0x483b(){const _0x2551c0=['114gkFiPW','ck-hidden','ck-ai-tabs__sidebar','2400WDcQEc','set','buttonViews','2140YAfIjQ','side','isVisible','160816mmcDmI','custom','728FNglyI','right','add','withText','ck-ai-tabs','bindTemplate','sidebar','435561fVhfUO','left','type','639JxfYjQ','3865uQlQnP','extendTemplate','overlay','11860hXAcKn','6754AKJkwn','ck-ai-tabs__overlay','1204RJZcIv'];_0x483b=function(){return _0x2551c0;};return _0x483b();}const _0x29ac78=_0x511a;(function(_0x134656,_0xd05f74){const _0x49fea9=_0x511a,_0x23293b=_0x134656();while(!![]){try{const _0x2d4692=-parseInt(_0x49fea9(0xad))/0x1+-parseInt(_0x49fea9(0x9d))/0x2+parseInt(_0x49fea9(0xa6))/0x3+parseInt(_0x49fea9(0xb0))/0x4*(parseInt(_0x49fea9(0xaa))/0x5)+-parseInt(_0x49fea9(0xb1))/0x6*(parseInt(_0x49fea9(0x9f))/0x7)+-parseInt(_0x49fea9(0xb4))/0x8*(parseInt(_0x49fea9(0xa9))/0x9)+-parseInt(_0x49fea9(0xb7))/0xa*(parseInt(_0x49fea9(0xae))/0xb);if(_0x2d4692===_0xd05f74)break;else _0x23293b['push'](_0x23293b['shift']());}catch(_0x3f8d3a){_0x23293b['push'](_0x23293b['shift']());}}}(_0x483b,0x1ff68));import{AITabsView as _0x1e06be}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x29ac78(0xac),_0x29ac78(0xa5),_0x29ac78(0x9e)];export const AI_TABS_VIEW_SIDES=[_0x29ac78(0xa7),_0x29ac78(0xa0)];export class AITabsMainView extends _0x1e06be{constructor(_0x54621a,_0x118e67={}){const _0x11d3c4=_0x29ac78;super(_0x54621a,_0x118e67),this[_0x11d3c4(0xb5)](_0x11d3c4(0xa8),_0x118e67[_0x11d3c4(0xa8)]||_0x11d3c4(0xa5)),this[_0x11d3c4(0xb5)](_0x11d3c4(0x9b),_0x118e67[_0x11d3c4(0x9b)]||_0x11d3c4(0xa0)),this[_0x11d3c4(0xb5)](_0x11d3c4(0x9c),!0x0);const _0x2e757f=this[_0x11d3c4(0xa4)];this[_0x11d3c4(0xab)]({'attributes':{'class':[_0x11d3c4(0xa3),_0x2e757f['if'](_0x11d3c4(0xa8),_0x11d3c4(0xaf),_0x34d679=>_0x11d3c4(0xac)===_0x34d679),_0x2e757f['if'](_0x11d3c4(0xa8),_0x11d3c4(0xb3),_0x36d05a=>_0x11d3c4(0xa5)===_0x36d05a),_0x2e757f['if'](_0x11d3c4(0x9c),_0x11d3c4(0xb2),_0x441be6=>!_0x441be6)]}}),this[_0x11d3c4(0xb6)]['on'](_0x11d3c4(0xa1),(_0x5233f9,_0x5d03a2)=>{const _0x1e2435=_0x11d3c4;_0x5d03a2[_0x1e2435(0xb5)](_0x1e2435(0xa2),!0x1);});}}
23
+ const _0x1d32c5=_0xf1dc;function _0xf1dc(_0x179dab,_0x519e04){const _0x33e55b=_0x33e5();return _0xf1dc=function(_0xf1dc40,_0x16e89b){_0xf1dc40=_0xf1dc40-0x147;let _0x5c3b5a=_0x33e55b[_0xf1dc40];return _0x5c3b5a;},_0xf1dc(_0x179dab,_0x519e04);}(function(_0x87bd53,_0x482104){const _0x52097d=_0xf1dc,_0x2a4194=_0x87bd53();while(!![]){try{const _0x4c4a54=-parseInt(_0x52097d(0x149))/0x1+parseInt(_0x52097d(0x159))/0x2+-parseInt(_0x52097d(0x14c))/0x3+parseInt(_0x52097d(0x155))/0x4*(-parseInt(_0x52097d(0x156))/0x5)+parseInt(_0x52097d(0x15a))/0x6*(parseInt(_0x52097d(0x161))/0x7)+parseInt(_0x52097d(0x154))/0x8*(-parseInt(_0x52097d(0x163))/0x9)+parseInt(_0x52097d(0x147))/0xa;if(_0x4c4a54===_0x482104)break;else _0x2a4194['push'](_0x2a4194['shift']());}catch(_0x40bb44){_0x2a4194['push'](_0x2a4194['shift']());}}}(_0x33e5,0xa1809));import{AITabsView as _0x4bc2c5}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x33e5(){const _0x120f93=['15542400kLeWWC','custom','989519uGtxKP','visibleByDefault','bindTemplate','1183893QTEQMq','buttonViews','sidebar','ck-hidden','set','isVisible','withText','side','9360JMRnxh','8PMgynh','362680LBooRa','type','overlay','2302354KskRtY','354aQJxXt','left','ck-ai-tabs','extendTemplate','ck-ai-tabs__sidebar','ck-ai-tabs__overlay','add','73724YVWuiO','right','8739AEjfMR'];_0x33e5=function(){return _0x120f93;};return _0x33e5();}export const AI_TABS_VIEW_TYPES=[_0x1d32c5(0x158),_0x1d32c5(0x14e),_0x1d32c5(0x148)];export const AI_TABS_VIEW_SIDES=[_0x1d32c5(0x15b),_0x1d32c5(0x162)];export class AITabsMainView extends _0x4bc2c5{constructor(_0x11265b,_0x38335b={}){const _0x357701=_0x1d32c5;super(_0x11265b,_0x38335b),this[_0x357701(0x150)](_0x357701(0x157),_0x38335b[_0x357701(0x157)]||_0x357701(0x14e)),this[_0x357701(0x150)](_0x357701(0x153),_0x38335b[_0x357701(0x153)]||_0x357701(0x162)),this[_0x357701(0x150)](_0x357701(0x151),_0x38335b[_0x357701(0x14a)]??!0x0);const _0x47fb8c=this[_0x357701(0x14b)];this[_0x357701(0x15d)]({'attributes':{'class':[_0x357701(0x15c),_0x47fb8c['if'](_0x357701(0x157),_0x357701(0x15f),_0x2525d6=>_0x357701(0x158)===_0x2525d6),_0x47fb8c['if'](_0x357701(0x157),_0x357701(0x15e),_0x49fe39=>_0x357701(0x14e)===_0x49fe39),_0x47fb8c['if'](_0x357701(0x151),_0x357701(0x14f),_0x519a63=>!_0x519a63)]}}),this[_0x357701(0x14d)]['on'](_0x357701(0x160),(_0x533fac,_0x157edd)=>{const _0x3fd49e=_0x357701;_0x157edd[_0x3fd49e(0x150)](_0x3fd49e(0x152),!0x1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35da02=_0x10a5;function _0x10a5(_0x384202,_0x42740d){const _0x2f96b4=_0x2f96();return _0x10a5=function(_0x10a577,_0x2492a0){_0x10a577=_0x10a577-0x9f;let _0x342b9e=_0x2f96b4[_0x10a577];return _0x342b9e;},_0x10a5(_0x384202,_0x42740d);}(function(_0x412191,_0x5cdbca){const _0x53edae=_0x10a5,_0x87121d=_0x412191();while(!![]){try{const _0x10967f=parseInt(_0x53edae(0x9f))/0x1*(-parseInt(_0x53edae(0xa5))/0x2)+parseInt(_0x53edae(0xb4))/0x3*(parseInt(_0x53edae(0xc8))/0x4)+parseInt(_0x53edae(0xbc))/0x5+parseInt(_0x53edae(0xae))/0x6*(parseInt(_0x53edae(0xc9))/0x7)+parseInt(_0x53edae(0xd3))/0x8*(-parseInt(_0x53edae(0xd7))/0x9)+-parseInt(_0x53edae(0xd4))/0xa+parseInt(_0x53edae(0xd1))/0xb;if(_0x10967f===_0x5cdbca)break;else _0x87121d['push'](_0x87121d['shift']());}catch(_0x50cb13){_0x87121d['push'](_0x87121d['shift']());}}}(_0x2f96,0xb7fcf));function _0x2f96(){const _0xcf7ef7=['isOn','panelViews','locale','ck-tabs__panels-container_','addTab:','ck-tabs_','_tabs','ck-ai-tabs_maximized','panel','hide:','getTabIds','bindTemplate','1342229XFjaFq','ui-tabsview-tab-not-found','content','class','fire','show:','2NonuKU','execute','set','ck-tabs__buttons-container_','ck-tabs__panels-container','left','activateTab:','getTab','buttonViews','126wmKKhH','show','ck-reset','reduce','createCollection','side','955770Movouc','length','_getPanel','_showPanel','getIndex','activateTab','icon','children','6742310PYnHrB','_setupButton','_getButton','activeTab','bind','button','right','ck-tabs','keys','add','label','isMaximized','4IcHtkG','98105PvlWsQ','find','_hidePanel','render','buttonIcon','hideTab','isVisible','addTab','27741054LaHrsa','order','22856hhSJvb','13560600VKYnMW','showTab','ck-tabs__buttons-container','3249RUchUY','get','_hideButton','buttonLabel','setTemplate','top','_showButton','div','hide'];_0x2f96=function(){return _0xcf7ef7;};return _0x2f96();}import{View as _0x17568b}from'ckeditor5/src/ui.js';import{toArray as _0x1e4205,CKEditorError as _0x5875b7}from'ckeditor5/src/utils.js';import{TabButtonView as _0x4d0eb9}from'./tabbuttonview.js';import{TabPanelView as _0x448685}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x35da02(0xdc),_0x35da02(0xaa),_0x35da02(0xc2)];export class AITabsView extends _0x17568b{[_0x35da02(0xad)]=this[_0x35da02(0xb2)]();[_0x35da02(0xe1)]=this[_0x35da02(0xb2)]();[_0x35da02(0xe6)]=new Map();constructor(_0x2ba14b,_0x202b6f={}){const _0x3d9ca6=_0x35da02;super(_0x2ba14b),this[_0x3d9ca6(0xa7)](_0x3d9ca6(0xa2),void 0x0),this[_0x3d9ca6(0xa7)](_0x3d9ca6(0xbf),null),this[_0x3d9ca6(0xa7)](_0x3d9ca6(0xb3),_0x202b6f[_0x3d9ca6(0xb3)]||_0x3d9ca6(0xdc)),this[_0x3d9ca6(0xa7)](_0x3d9ca6(0xc7),!0x1);const _0x5dc7e6=this[_0x3d9ca6(0xeb)];this[_0x3d9ca6(0xdb)]({'tag':_0x3d9ca6(0xde),'attributes':{'class':['ck',_0x3d9ca6(0xb0),_0x3d9ca6(0xc3),..._0x1e4205(_0x202b6f[_0x3d9ca6(0xa2)]||[]),_0x5dc7e6['to'](_0x3d9ca6(0xb3),_0xdd23a6=>_0x3d9ca6(0xe5)+_0xdd23a6),_0x5dc7e6['to'](_0x3d9ca6(0xa2)),_0x5dc7e6['to'](_0x3d9ca6(0xc7),_0x595923=>_0x595923?_0x3d9ca6(0xe7):'')],'tabindex':'0'},'children':[{'tag':_0x3d9ca6(0xde),'attributes':{'class':['ck',_0x3d9ca6(0xd6),_0x5dc7e6['to'](_0x3d9ca6(0xb3),_0x10542c=>_0x3d9ca6(0xa8)+_0x10542c)]},'children':this[_0x3d9ca6(0xad)]},{'tag':_0x3d9ca6(0xde),'attributes':{'class':['ck',_0x3d9ca6(0xa9),_0x5dc7e6['to'](_0x3d9ca6(0xb3),_0xc49b4e=>_0x3d9ca6(0xe3)+_0xc49b4e)]},'children':this[_0x3d9ca6(0xe1)]},..._0x1e4205(_0x202b6f[_0x3d9ca6(0xbb)]||[])]});}[_0x35da02(0xea)](){const _0x262b20=_0x35da02;return[...this[_0x262b20(0xe6)][_0x262b20(0xc4)]()];}[_0x35da02(0xac)](_0x491d86){const _0x4d7c2f=_0x35da02,_0x26f855=this[_0x4d7c2f(0xe6)][_0x4d7c2f(0xd8)](_0x491d86);return _0x26f855||null;}[_0x35da02(0xd0)](_0x286a08){const _0x166386=_0x35da02,_0x3a20d3=this[_0x166386(0xbd)]({'id':_0x286a08['id'],'label':_0x286a08[_0x166386(0xda)],'icon':_0x286a08[_0x166386(0xcd)],'order':_0x286a08[_0x166386(0xd2)]}),_0x33589f=new _0x448685(this[_0x166386(0xe2)]);return _0x33589f[_0x166386(0xcc)](),_0x286a08[_0x166386(0xa1)]&&_0x33589f[_0x166386(0xbb)][_0x166386(0xc5)](_0x286a08[_0x166386(0xa1)]),this[_0x166386(0xe1)][_0x166386(0xc5)](_0x33589f),this[_0x166386(0xe6)][_0x166386(0xa7)](_0x286a08['id'],{'button':_0x3a20d3,'panel':_0x33589f,'order':void 0x0!==_0x286a08[_0x166386(0xd2)]?_0x286a08[_0x166386(0xd2)]:null}),this[_0x166386(0xa3)](_0x166386(0xe4)+_0x286a08['id'],{'id':_0x286a08['id'],'button':_0x3a20d3,'panel':_0x33589f}),null===this[_0x166386(0xbf)]?this[_0x166386(0xb9)](_0x286a08['id']):this[_0x166386(0xcb)](_0x286a08['id']),{'button':_0x3a20d3,'panel':_0x33589f};}[_0x35da02(0xb9)](_0x44dbef){const _0x52b969=_0x35da02;if(null!==_0x44dbef&&!this[_0x52b969(0xac)](_0x44dbef))throw new _0x5875b7(_0x52b969(0xa0),{'tabs':this,'tabId':_0x44dbef});this[_0x52b969(0xbf)]!==_0x44dbef&&(this[_0x52b969(0xbf)]&&this[_0x52b969(0xcb)](this[_0x52b969(0xbf)]),this[_0x52b969(0xbf)]=_0x44dbef,_0x44dbef&&this[_0x52b969(0xb7)](_0x44dbef),this[_0x52b969(0xa3)](_0x52b969(0xab)+_0x44dbef,_0x44dbef));}[_0x35da02(0xd5)](_0x3257af){const _0x3409fc=_0x35da02;if(!this[_0x3409fc(0xac)](_0x3257af))throw new _0x5875b7(_0x3409fc(0xa0),{'tabs':this,'tabId':_0x3257af});this[_0x3409fc(0xb7)](_0x3257af),this[_0x3409fc(0xdd)](_0x3257af),this[_0x3409fc(0xa3)](_0x3409fc(0xa4)+_0x3257af,_0x3257af);}[_0x35da02(0xce)](_0x1a0503){const _0x443929=_0x35da02;if(!this[_0x443929(0xac)](_0x1a0503))throw new _0x5875b7(_0x443929(0xa0),{'tabs':this,'tabId':_0x1a0503});const _0x2aebc2=this[_0x443929(0xbf)];this[_0x443929(0xcb)](_0x1a0503),this[_0x443929(0xd9)](_0x1a0503);const _0x118f68=this[_0x443929(0xea)]();_0x2aebc2===_0x1a0503&&_0x118f68[_0x443929(0xb5)]>0x1&&this[_0x443929(0xb9)](_0x118f68[_0x443929(0xca)](_0x546e3a=>_0x546e3a!==_0x1a0503)),this[_0x443929(0xa3)](_0x443929(0xe9)+_0x1a0503,_0x1a0503);}[_0x35da02(0xb6)](_0x590a51){const _0xad2ad=_0x35da02,_0x258705=this[_0xad2ad(0xe6)][_0xad2ad(0xd8)](_0x590a51);return _0x258705?_0x258705[_0xad2ad(0xe8)]:null;}[_0x35da02(0xb7)](_0x110e68){const _0x35af94=_0x35da02;null!==this[_0x35af94(0xbf)]&&this[_0x35af94(0xbf)]!==_0x110e68||this[_0x35af94(0xb6)](_0x110e68)[_0x35af94(0xaf)]();}[_0x35da02(0xcb)](_0x16a3a8){const _0x21c5b1=_0x35da02,_0x315854=this[_0x21c5b1(0xb6)](_0x16a3a8);_0x315854[_0x21c5b1(0xcf)]&&(this[_0x21c5b1(0xbf)]===_0x16a3a8&&(this[_0x21c5b1(0xbf)]=null),_0x315854[_0x21c5b1(0xdf)]());}[_0x35da02(0xbe)](_0x528cb1){const _0x5b2964=_0x35da02,_0x1c08c9=this[_0x5b2964(0xe6)][_0x5b2964(0xd8)](_0x528cb1);return _0x1c08c9?_0x1c08c9[_0x5b2964(0xc1)]:null;}[_0x35da02(0xdd)](_0xe3fb83){const _0x3f3353=_0x35da02;this[_0x3f3353(0xbe)](_0xe3fb83)[_0x3f3353(0xaf)]();}[_0x35da02(0xd9)](_0x49c7e4){const _0x38ade5=_0x35da02;this[_0x38ade5(0xbe)](_0x49c7e4)[_0x38ade5(0xdf)]();}[_0x35da02(0xbd)](_0x4dc48c){const _0x444fdc=_0x35da02,_0x4bb14a=new _0x4d0eb9(this[_0x444fdc(0xe2)],{'side':this[_0x444fdc(0xb3)]}),_0x188f06=this[_0x444fdc(0xad)];if(_0x4bb14a[_0x444fdc(0xa7)]({'label':_0x4dc48c[_0x444fdc(0xc6)],'icon':_0x4dc48c[_0x444fdc(0xba)],'tooltip':!0x0,'withText':!0x0}),_0x4bb14a[_0x444fdc(0xc0)](_0x444fdc(0xe0))['to'](this,_0x444fdc(0xbf),_0x4100ef=>_0x4100ef===_0x4dc48c['id']),_0x4bb14a[_0x444fdc(0xc0)](_0x444fdc(0xb3))['to'](this,_0x444fdc(0xb3)),_0x4dc48c[_0x444fdc(0xd2)]){const _0x3497a4=[...this[_0x444fdc(0xe6)]][_0x444fdc(0xb1)]((_0x27e6ef,_0x63a0a1)=>{const _0xff3b69=_0x444fdc,_0x17ac0a=_0x63a0a1[0x0],{order:_0x41b6fc}=_0x63a0a1[0x1];return!_0x41b6fc||_0x41b6fc>_0x4dc48c[_0xff3b69(0xd2)]?_0x27e6ef:_0x41b6fc>=_0x27e6ef[_0xff3b69(0xd2)]?{'id':_0x17ac0a,'order':_0x41b6fc}:_0x27e6ef;},{'id':'','order':0x0}),_0x421eaf=_0x188f06[_0x444fdc(0xb8)](this[_0x444fdc(0xbe)](_0x3497a4['id']));_0x188f06[_0x444fdc(0xc5)](_0x4bb14a,_0x421eaf+0x1);}else _0x188f06[_0x444fdc(0xc5)](_0x4bb14a);return _0x4bb14a['on'](_0x444fdc(0xa6),()=>{const _0xa99b88=_0x444fdc;this[_0xa99b88(0xb9)](_0x4dc48c['id']);}),_0x4bb14a;}}
23
+ function _0x528c(){const _0x47c9d6=['ck-tabs__panels-container','9100107GtJXou','activateTab','right','children','_showPanel','add','left','992788dcEkgq','hide','_tabs','22662IErFrI','_getPanel','buttonViews','set','panel','keys','content','render','addTab:','order','_hideButton','_hidePanel','getIndex','top','locale','getTab','isMaximized','_showButton','bind','fire','_getButton','button','2181544pLoGbe','_setupButton','label','panelViews','find','execute','ui-tabsview-tab-not-found','div','ck-tabs_','side','isOn','ck-tabs__buttons-container_','setTemplate','activeTab','createCollection','buttonLabel','bindTemplate','activateTab:','ck-tabs__panels-container_','hideTab','addTab','ck-ai-tabs_maximized','buttonIcon','show:','140BendVq','get','10Ohzeyi','26067371mMrDNp','21CHtIop','show','showTab','isVisible','ck-reset','hide:','getTabIds','reduce','354251NZsJLy','icon','200395mbsmpA','ck-tabs__buttons-container','class','114YdQTbw','ck-tabs','length'];_0x528c=function(){return _0x47c9d6;};return _0x528c();}const _0x1cc3c9=_0x2cc0;(function(_0x537bdf,_0x2befc2){const _0x74e083=_0x2cc0,_0xd84670=_0x537bdf();while(!![]){try{const _0x38d1ea=-parseInt(_0x74e083(0xe3))/0x1+-parseInt(_0x74e083(0xf3))/0x2+parseInt(_0x74e083(0xf6))/0x3*(-parseInt(_0x74e083(0x124))/0x4)+-parseInt(_0x74e083(0xe5))/0x5*(parseInt(_0x74e083(0xe8))/0x6)+-parseInt(_0x74e083(0x128))/0x7*(parseInt(_0x74e083(0x10c))/0x8)+parseInt(_0x74e083(0xec))/0x9+parseInt(_0x74e083(0x126))/0xa*(parseInt(_0x74e083(0x127))/0xb);if(_0x38d1ea===_0x2befc2)break;else _0xd84670['push'](_0xd84670['shift']());}catch(_0x29dacd){_0xd84670['push'](_0xd84670['shift']());}}}(_0x528c,0xa78bd));function _0x2cc0(_0x5d4cdf,_0x363ad8){const _0x528c1b=_0x528c();return _0x2cc0=function(_0x2cc026,_0x26403f){_0x2cc026=_0x2cc026-0xde;let _0x556cc0=_0x528c1b[_0x2cc026];return _0x556cc0;},_0x2cc0(_0x5d4cdf,_0x363ad8);}import{View as _0xaf0208}from'ckeditor5/src/ui.js';import{toArray as _0x1ec9e7,CKEditorError as _0x27181b}from'ckeditor5/src/utils.js';import{TabButtonView as _0xdb47ef}from'./tabbuttonview.js';import{TabPanelView as _0x2500c3}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x1cc3c9(0x103),_0x1cc3c9(0xf2),_0x1cc3c9(0xee)];export class AITabsView extends _0xaf0208{[_0x1cc3c9(0xf8)]=this[_0x1cc3c9(0x11a)]();[_0x1cc3c9(0x10f)]=this[_0x1cc3c9(0x11a)]();[_0x1cc3c9(0xf5)]=new Map();constructor(_0x368fec,_0x4503a2={}){const _0x5e8855=_0x1cc3c9;super(_0x368fec),this[_0x5e8855(0xf9)](_0x5e8855(0xe7),void 0x0),this[_0x5e8855(0xf9)](_0x5e8855(0x119),null),this[_0x5e8855(0xf9)](_0x5e8855(0x115),_0x4503a2[_0x5e8855(0x115)]||_0x5e8855(0x103)),this[_0x5e8855(0xf9)](_0x5e8855(0x106),!0x1);const _0x1397a1=this[_0x5e8855(0x11c)];this[_0x5e8855(0x118)]({'tag':_0x5e8855(0x113),'attributes':{'class':['ck',_0x5e8855(0xdf),_0x5e8855(0xe9),..._0x1ec9e7(_0x4503a2[_0x5e8855(0xe7)]||[]),_0x1397a1['to'](_0x5e8855(0x115),_0x922f5f=>_0x5e8855(0x114)+_0x922f5f),_0x1397a1['to'](_0x5e8855(0xe7)),_0x1397a1['to'](_0x5e8855(0x106),_0x1d886d=>_0x1d886d?_0x5e8855(0x121):'')],'tabindex':'0'},'children':[{'tag':_0x5e8855(0x113),'attributes':{'class':['ck',_0x5e8855(0xe6),_0x1397a1['to'](_0x5e8855(0x115),_0x5a868e=>_0x5e8855(0x117)+_0x5a868e)]},'children':this[_0x5e8855(0xf8)]},{'tag':_0x5e8855(0x113),'attributes':{'class':['ck',_0x5e8855(0xeb),_0x1397a1['to'](_0x5e8855(0x115),_0x276821=>_0x5e8855(0x11e)+_0x276821)]},'children':this[_0x5e8855(0x10f)]},..._0x1ec9e7(_0x4503a2[_0x5e8855(0xef)]||[])]});}[_0x1cc3c9(0xe1)](){const _0x50f623=_0x1cc3c9;return[...this[_0x50f623(0xf5)][_0x50f623(0xfb)]()];}[_0x1cc3c9(0x105)](_0x2184dc){const _0x247214=_0x1cc3c9,_0x278be1=this[_0x247214(0xf5)][_0x247214(0x125)](_0x2184dc);return _0x278be1||null;}[_0x1cc3c9(0x120)](_0x42bfa3){const _0x5c73aa=_0x1cc3c9,_0x3e57bf=this[_0x5c73aa(0x10d)]({'id':_0x42bfa3['id'],'label':_0x42bfa3[_0x5c73aa(0x11b)],'icon':_0x42bfa3[_0x5c73aa(0x122)],'order':_0x42bfa3[_0x5c73aa(0xff)]}),_0x2b0f0f=new _0x2500c3(this[_0x5c73aa(0x104)]);return _0x2b0f0f[_0x5c73aa(0xfd)](),_0x42bfa3[_0x5c73aa(0xfc)]&&_0x2b0f0f[_0x5c73aa(0xef)][_0x5c73aa(0xf1)](_0x42bfa3[_0x5c73aa(0xfc)]),this[_0x5c73aa(0x10f)][_0x5c73aa(0xf1)](_0x2b0f0f),this[_0x5c73aa(0xf5)][_0x5c73aa(0xf9)](_0x42bfa3['id'],{'button':_0x3e57bf,'panel':_0x2b0f0f,'order':void 0x0!==_0x42bfa3[_0x5c73aa(0xff)]?_0x42bfa3[_0x5c73aa(0xff)]:null}),this[_0x5c73aa(0x109)](_0x5c73aa(0xfe)+_0x42bfa3['id'],{'id':_0x42bfa3['id'],'button':_0x3e57bf,'panel':_0x2b0f0f}),null===this[_0x5c73aa(0x119)]?this[_0x5c73aa(0xed)](_0x42bfa3['id']):this[_0x5c73aa(0x101)](_0x42bfa3['id']),{'button':_0x3e57bf,'panel':_0x2b0f0f};}[_0x1cc3c9(0xed)](_0x233b13){const _0x5a67a7=_0x1cc3c9;if(null!==_0x233b13&&!this[_0x5a67a7(0x105)](_0x233b13))throw new _0x27181b(_0x5a67a7(0x112),{'tabs':this,'tabId':_0x233b13});this[_0x5a67a7(0x119)]!==_0x233b13&&(this[_0x5a67a7(0x119)]&&this[_0x5a67a7(0x101)](this[_0x5a67a7(0x119)]),this[_0x5a67a7(0x119)]=_0x233b13,_0x233b13&&this[_0x5a67a7(0xf0)](_0x233b13),this[_0x5a67a7(0x109)](_0x5a67a7(0x11d)+_0x233b13,_0x233b13));}[_0x1cc3c9(0x12a)](_0xa7b1e3){const _0x59ed36=_0x1cc3c9;if(!this[_0x59ed36(0x105)](_0xa7b1e3))throw new _0x27181b(_0x59ed36(0x112),{'tabs':this,'tabId':_0xa7b1e3});this[_0x59ed36(0xf0)](_0xa7b1e3),this[_0x59ed36(0x107)](_0xa7b1e3),this[_0x59ed36(0x109)](_0x59ed36(0x123)+_0xa7b1e3,_0xa7b1e3);}[_0x1cc3c9(0x11f)](_0x4e6ce5){const _0x1c25fc=_0x1cc3c9;if(!this[_0x1c25fc(0x105)](_0x4e6ce5))throw new _0x27181b(_0x1c25fc(0x112),{'tabs':this,'tabId':_0x4e6ce5});const _0x297b07=this[_0x1c25fc(0x119)];this[_0x1c25fc(0x101)](_0x4e6ce5),this[_0x1c25fc(0x100)](_0x4e6ce5);const _0x287f9b=this[_0x1c25fc(0xe1)]();_0x297b07===_0x4e6ce5&&_0x287f9b[_0x1c25fc(0xea)]>0x1&&this[_0x1c25fc(0xed)](_0x287f9b[_0x1c25fc(0x110)](_0xee642a=>_0xee642a!==_0x4e6ce5)),this[_0x1c25fc(0x109)](_0x1c25fc(0xe0)+_0x4e6ce5,_0x4e6ce5);}[_0x1cc3c9(0xf7)](_0x40b1ee){const _0x22b28f=_0x1cc3c9,_0x350547=this[_0x22b28f(0xf5)][_0x22b28f(0x125)](_0x40b1ee);return _0x350547?_0x350547[_0x22b28f(0xfa)]:null;}[_0x1cc3c9(0xf0)](_0x5f3b99){const _0x2a7eb1=_0x1cc3c9;null!==this[_0x2a7eb1(0x119)]&&this[_0x2a7eb1(0x119)]!==_0x5f3b99||this[_0x2a7eb1(0xf7)](_0x5f3b99)[_0x2a7eb1(0x129)]();}[_0x1cc3c9(0x101)](_0x4dc555){const _0x2f2d14=_0x1cc3c9,_0x23818f=this[_0x2f2d14(0xf7)](_0x4dc555);_0x23818f[_0x2f2d14(0xde)]&&(this[_0x2f2d14(0x119)]===_0x4dc555&&(this[_0x2f2d14(0x119)]=null),_0x23818f[_0x2f2d14(0xf4)]());}[_0x1cc3c9(0x10a)](_0x273654){const _0x3391c6=_0x1cc3c9,_0x2c11fe=this[_0x3391c6(0xf5)][_0x3391c6(0x125)](_0x273654);return _0x2c11fe?_0x2c11fe[_0x3391c6(0x10b)]:null;}[_0x1cc3c9(0x107)](_0x591498){const _0x2637ad=_0x1cc3c9;this[_0x2637ad(0x10a)](_0x591498)[_0x2637ad(0x129)]();}[_0x1cc3c9(0x100)](_0x54b4a8){const _0x23d2a6=_0x1cc3c9;this[_0x23d2a6(0x10a)](_0x54b4a8)[_0x23d2a6(0xf4)]();}[_0x1cc3c9(0x10d)](_0x145a04){const _0x477988=_0x1cc3c9,_0x218057=new _0xdb47ef(this[_0x477988(0x104)],{'side':this[_0x477988(0x115)]}),_0x4d17f1=this[_0x477988(0xf8)];if(_0x218057[_0x477988(0xf9)]({'label':_0x145a04[_0x477988(0x10e)],'icon':_0x145a04[_0x477988(0xe4)],'tooltip':!0x0,'withText':!0x0}),_0x218057[_0x477988(0x108)](_0x477988(0x116))['to'](this,_0x477988(0x119),_0x47d391=>_0x47d391===_0x145a04['id']),_0x218057[_0x477988(0x108)](_0x477988(0x115))['to'](this,_0x477988(0x115)),_0x145a04[_0x477988(0xff)]){const _0x845a24=[...this[_0x477988(0xf5)]][_0x477988(0xe2)]((_0x8c5d5e,_0x17bcb9)=>{const _0x1009f5=_0x477988,_0x5122d7=_0x17bcb9[0x0],{order:_0xe882df}=_0x17bcb9[0x1];return!_0xe882df||_0xe882df>_0x145a04[_0x1009f5(0xff)]?_0x8c5d5e:_0xe882df>=_0x8c5d5e[_0x1009f5(0xff)]?{'id':_0x5122d7,'order':_0xe882df}:_0x8c5d5e;},{'id':'','order':0x0}),_0x6b879a=_0x4d17f1[_0x477988(0x102)](this[_0x477988(0x10a)](_0x845a24['id']));_0x4d17f1[_0x477988(0xf1)](_0x218057,_0x6b879a+0x1);}else _0x4d17f1[_0x477988(0xf1)](_0x218057);return _0x218057['on'](_0x477988(0x111),()=>{const _0x3ed3c3=_0x477988;this[_0x3ed3c3(0xed)](_0x145a04['id']);}),_0x218057;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x918c62=_0x6895;function _0x4b27(){const _0x4a6009=['isToggleable','753998HHXZBI','class','show','6855312uhaBJY','ck-tab-button','266724lzEiUY','1565716OapQsd','410TaRVCe','448oBtNpI','set','extendTemplate','126609SsXGMO','ck-tab-button_','hide','isVisible','166689VKDFIe','660715pmmYki','3afXYzm','bindTemplate','side','top','15LGRqks'];_0x4b27=function(){return _0x4a6009;};return _0x4b27();}(function(_0x383511,_0x3b32a3){const _0x59a891=_0x6895,_0xcd755b=_0x383511();while(!![]){try{const _0x5627df=parseInt(_0x59a891(0xd6))/0x1+parseInt(_0x59a891(0xc5))/0x2*(-parseInt(_0x59a891(0xd0))/0x3)+-parseInt(_0x59a891(0xc4))/0x4*(parseInt(_0x59a891(0xd4))/0x5)+parseInt(_0x59a891(0xd9))/0x6+parseInt(_0x59a891(0xca))/0x7*(-parseInt(_0x59a891(0xc7))/0x8)+parseInt(_0x59a891(0xce))/0x9*(parseInt(_0x59a891(0xc6))/0xa)+-parseInt(_0x59a891(0xcf))/0xb;if(_0x5627df===_0x3b32a3)break;else _0xcd755b['push'](_0xcd755b['shift']());}catch(_0x2f46d8){_0xcd755b['push'](_0xcd755b['shift']());}}}(_0x4b27,0x92809));import{ButtonView as _0x12eb17}from'ckeditor5/src/ui.js';import{toArray as _0x457b9b}from'ckeditor5/src/utils.js';function _0x6895(_0xc2b322,_0x46fc2a){const _0x4b2727=_0x4b27();return _0x6895=function(_0x68959c,_0x3aa9a9){_0x68959c=_0x68959c-0xc4;let _0x51e09d=_0x4b2727[_0x68959c];return _0x51e09d;},_0x6895(_0xc2b322,_0x46fc2a);}import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x12eb17{constructor(_0x3f61fc,_0x383918={}){const _0x44d268=_0x6895;super(_0x3f61fc),this[_0x44d268(0xd5)]=!0x0,this[_0x44d268(0xc8)](_0x44d268(0xd2),_0x383918[_0x44d268(0xd2)]||_0x44d268(0xd3));const _0x4b3a2b=this[_0x44d268(0xd1)];this[_0x44d268(0xc9)]({'attributes':{'class':[_0x44d268(0xda),..._0x457b9b(_0x383918[_0x44d268(0xd7)]||[]),_0x4b3a2b['to'](_0x44d268(0xd2),_0xf61a9d=>_0x44d268(0xcb)+_0xf61a9d),_0x4b3a2b['to'](_0x44d268(0xd7))]}});}[_0x918c62(0xd8)](){const _0x848a9d=_0x918c62;this[_0x848a9d(0xc8)](_0x848a9d(0xcd),!0x0);}[_0x918c62(0xcc)](){const _0xaa1bba=_0x918c62;this[_0xaa1bba(0xc8)](_0xaa1bba(0xcd),!0x1);}}
23
+ const _0x2a058e=_0x14d0;function _0x14d0(_0x18a054,_0x1a80d6){const _0x8bb87a=_0x8bb8();return _0x14d0=function(_0x14d079,_0x443bd8){_0x14d079=_0x14d079-0x105;let _0x267294=_0x8bb87a[_0x14d079];return _0x267294;},_0x14d0(_0x18a054,_0x1a80d6);}(function(_0x16caf8,_0x9592cb){const _0x1635b6=_0x14d0,_0x5af283=_0x16caf8();while(!![]){try{const _0x3cb022=-parseInt(_0x1635b6(0x115))/0x1*(-parseInt(_0x1635b6(0x106))/0x2)+-parseInt(_0x1635b6(0x117))/0x3*(-parseInt(_0x1635b6(0x10e))/0x4)+-parseInt(_0x1635b6(0x110))/0x5+parseInt(_0x1635b6(0x112))/0x6*(parseInt(_0x1635b6(0x10a))/0x7)+parseInt(_0x1635b6(0x109))/0x8*(-parseInt(_0x1635b6(0x111))/0x9)+-parseInt(_0x1635b6(0x116))/0xa*(parseInt(_0x1635b6(0x11b))/0xb)+-parseInt(_0x1635b6(0x10b))/0xc;if(_0x3cb022===_0x9592cb)break;else _0x5af283['push'](_0x5af283['shift']());}catch(_0x16c8f2){_0x5af283['push'](_0x5af283['shift']());}}}(_0x8bb8,0xee5eb));import{ButtonView as _0x206de0}from'ckeditor5/src/ui.js';function _0x8bb8(){const _0x2a3371=['143YWQKvS','top','set','2mhNhmM','ck-tab-button_','hide','1259008EoaQRn','520261TysQkz','4689936xXsbHW','ck-tab-button','isToggleable','4KwtWAI','show','4777065KgHRdS','63hfFLrM','138KwXEkI','bindTemplate','class','1839899daxyMj','1370750hnRjwd','4970649qcLxbe','isVisible','side','extendTemplate'];_0x8bb8=function(){return _0x2a3371;};return _0x8bb8();}import{toArray as _0x1fc475}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x206de0{constructor(_0x1b18cc,_0x3ff35a={}){const _0x5cdd98=_0x14d0;super(_0x1b18cc),this[_0x5cdd98(0x10d)]=!0x0,this[_0x5cdd98(0x105)](_0x5cdd98(0x119),_0x3ff35a[_0x5cdd98(0x119)]||_0x5cdd98(0x11c));const _0xe11128=this[_0x5cdd98(0x113)];this[_0x5cdd98(0x11a)]({'attributes':{'class':[_0x5cdd98(0x10c),..._0x1fc475(_0x3ff35a[_0x5cdd98(0x114)]||[]),_0xe11128['to'](_0x5cdd98(0x119),_0x43b188=>_0x5cdd98(0x107)+_0x43b188),_0xe11128['to'](_0x5cdd98(0x114))]}});}[_0x2a058e(0x10f)](){const _0x1bd42e=_0x2a058e;this[_0x1bd42e(0x105)](_0x1bd42e(0x118),!0x0);}[_0x2a058e(0x108)](){const _0x326dff=_0x2a058e;this[_0x326dff(0x105)](_0x326dff(0x118),!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8bc7bd=_0x26dd;(function(_0x2c3008,_0x4b6ffb){const _0x1e30b5=_0x26dd,_0x3e1479=_0x2c3008();while(!![]){try{const _0x13c492=-parseInt(_0x1e30b5(0x112))/0x1+-parseInt(_0x1e30b5(0x114))/0x2+parseInt(_0x1e30b5(0x118))/0x3*(-parseInt(_0x1e30b5(0x11e))/0x4)+-parseInt(_0x1e30b5(0x122))/0x5*(parseInt(_0x1e30b5(0x11f))/0x6)+parseInt(_0x1e30b5(0x113))/0x7*(-parseInt(_0x1e30b5(0x111))/0x8)+-parseInt(_0x1e30b5(0x11b))/0x9+parseInt(_0x1e30b5(0x121))/0xa*(parseInt(_0x1e30b5(0x11c))/0xb);if(_0x13c492===_0x4b6ffb)break;else _0x3e1479['push'](_0x3e1479['shift']());}catch(_0x11968c){_0x3e1479['push'](_0x3e1479['shift']());}}}(_0x5834,0x7372e));import{View as _0x3e0b10}from'ckeditor5/src/ui.js';function _0x5834(){const _0xed376c=['570991WkTqyu','7KsCXbr','557478IIAfCh','div','children','isVisible','9465HNLqrK','setTemplate','show','1671462hdqLZK','517LpQUEg','ck-hidden','948piFsak','9966JfUnwn','set','769430omVzEi','1695bYqNkb','createCollection','ck-tab-panel','class','hide','bindTemplate','6377448RjdkkW'];_0x5834=function(){return _0xed376c;};return _0x5834();}import{toArray as _0x354dc0}from'ckeditor5/src/utils.js';function _0x26dd(_0x284a1c,_0x33800e){const _0x583421=_0x5834();return _0x26dd=function(_0x26dd2b,_0x2fdbf3){_0x26dd2b=_0x26dd2b-0x10d;let _0x2cf89c=_0x583421[_0x26dd2b];return _0x2cf89c;},_0x26dd(_0x284a1c,_0x33800e);}export class TabPanelView extends _0x3e0b10{[_0x8bc7bd(0x116)];constructor(_0x54235e,_0x3356b8={}){const _0x51a1a4=_0x8bc7bd;super(_0x54235e);const _0x17fb6b=this[_0x51a1a4(0x110)];this[_0x51a1a4(0x120)](_0x51a1a4(0x117),!0x1),this[_0x51a1a4(0x120)](_0x51a1a4(0x10e),''),this[_0x51a1a4(0x116)]=this[_0x51a1a4(0x123)](),this[_0x51a1a4(0x119)]({'tag':_0x51a1a4(0x115),'attributes':{'class':[_0x51a1a4(0x10d),..._0x354dc0(_0x3356b8[_0x51a1a4(0x10e)]||[]),_0x17fb6b['to'](_0x51a1a4(0x10e)),_0x17fb6b['if'](_0x51a1a4(0x117),_0x51a1a4(0x11d),_0x2745e0=>!_0x2745e0)]},'children':this[_0x51a1a4(0x116)]});}[_0x8bc7bd(0x11a)](){const _0xb5d31e=_0x8bc7bd;this[_0xb5d31e(0x120)](_0xb5d31e(0x117),!0x0);}[_0x8bc7bd(0x10f)](){const _0x5142af=_0x8bc7bd;this[_0x5142af(0x120)](_0x5142af(0x117),!0x1);}}
23
+ const _0x424729=_0x1222;function _0xe3d2(){const _0x37003b=['4652400ePPFhL','637965WyXqMv','hide','328630HhNmQT','5620TNmpVS','ck-tab-panel','isVisible','875286pPjajx','show','class','592952vSHNxJ','setTemplate','createCollection','2205CKCNUz','6tGFdzJ','ck-hidden','div','children','1235864OEIUnV','set','bindTemplate','4gmOjME'];_0xe3d2=function(){return _0x37003b;};return _0xe3d2();}(function(_0x42de62,_0x2eda42){const _0x405b59=_0x1222,_0x72fef=_0x42de62();while(!![]){try{const _0x1ac20b=parseInt(_0x405b59(0x1a9))/0x1+parseInt(_0x405b59(0x1a2))/0x2+-parseInt(_0x405b59(0x1a6))/0x3+-parseInt(_0x405b59(0x1b4))/0x4*(-parseInt(_0x405b59(0x1a0))/0x5)+-parseInt(_0x405b59(0x1ad))/0x6*(-parseInt(_0x405b59(0x1b1))/0x7)+-parseInt(_0x405b59(0x19f))/0x8+-parseInt(_0x405b59(0x1ac))/0x9*(-parseInt(_0x405b59(0x1a3))/0xa);if(_0x1ac20b===_0x2eda42)break;else _0x72fef['push'](_0x72fef['shift']());}catch(_0x6e3ec6){_0x72fef['push'](_0x72fef['shift']());}}}(_0xe3d2,0x4f89e));import{View as _0x3adc0e}from'ckeditor5/src/ui.js';import{toArray as _0xd4d2c8}from'ckeditor5/src/utils.js';function _0x1222(_0x5bf777,_0x258b1e){const _0xe3d2c6=_0xe3d2();return _0x1222=function(_0x122211,_0x355058){_0x122211=_0x122211-0x19f;let _0x12f42c=_0xe3d2c6[_0x122211];return _0x12f42c;},_0x1222(_0x5bf777,_0x258b1e);}export class TabPanelView extends _0x3adc0e{[_0x424729(0x1b0)];constructor(_0x1d129d,_0x52657e={}){const _0x46b000=_0x424729;super(_0x1d129d);const _0x377717=this[_0x46b000(0x1b3)];this[_0x46b000(0x1b2)](_0x46b000(0x1a5),!0x1),this[_0x46b000(0x1b2)](_0x46b000(0x1a8),''),this[_0x46b000(0x1b0)]=this[_0x46b000(0x1ab)](),this[_0x46b000(0x1aa)]({'tag':_0x46b000(0x1af),'attributes':{'class':[_0x46b000(0x1a4),..._0xd4d2c8(_0x52657e[_0x46b000(0x1a8)]||[]),_0x377717['to'](_0x46b000(0x1a8)),_0x377717['if'](_0x46b000(0x1a5),_0x46b000(0x1ae),_0x5221e5=>!_0x5221e5)]},'children':this[_0x46b000(0x1b0)]});}[_0x424729(0x1a7)](){const _0x133613=_0x424729;this[_0x133613(0x1b2)](_0x133613(0x1a5),!0x0);}[_0x424729(0x1a1)](){const _0x46e658=_0x424729;this[_0x46e658(0x1b2)](_0x46e658(0x1a5),!0x1);}}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ export {};
package/src/errors.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x335689,_0x1a5069){var _0x3f4e62=_0x3f0f,_0x2d2a42=_0x335689();while(!![]){try{var _0x3e7384=-parseInt(_0x3f4e62(0x1b0))/0x1*(-parseInt(_0x3f4e62(0x1a7))/0x2)+-parseInt(_0x3f4e62(0x1ae))/0x3+parseInt(_0x3f4e62(0x1b1))/0x4+-parseInt(_0x3f4e62(0x1af))/0x5*(parseInt(_0x3f4e62(0x1a8))/0x6)+-parseInt(_0x3f4e62(0x1a6))/0x7*(parseInt(_0x3f4e62(0x1a9))/0x8)+parseInt(_0x3f4e62(0x1ac))/0x9*(parseInt(_0x3f4e62(0x1ab))/0xa)+parseInt(_0x3f4e62(0x1ad))/0xb*(parseInt(_0x3f4e62(0x1aa))/0xc);if(_0x3e7384===_0x1a5069)break;else _0x2d2a42['push'](_0x2d2a42['shift']());}catch(_0x40642a){_0x2d2a42['push'](_0x2d2a42['shift']());}}}(_0x5f36,0xc47e1));function _0x3f0f(_0x116096,_0x304da7){var _0x5f3639=_0x5f36();return _0x3f0f=function(_0x3f0f93,_0x248914){_0x3f0f93=_0x3f0f93-0x1a6;var _0x1fb620=_0x5f3639[_0x3f0f93];return _0x1fb620;},_0x3f0f(_0x116096,_0x304da7);}function _0x5f36(){var _0x23bcaa=['843717ocXLsC','4924iobpeA','678VCccfx','16rQdPIK','116580ZPrwnV','284660fPqydY','18LUCbmo','1023SuiKCN','3125055hqBsTR','3205XMlFGX','48lzdVKe','4325640mIcixu'];_0x5f36=function(){return _0x23bcaa;};return _0x5f36();}import{CKEditorError as _0x1cf20a}from'ckeditor5/src/utils.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1f890b,_0x3932b8){var _0x3a976b=_0x36de,_0x4cd9ad=_0x1f890b();while(!![]){try{var _0x43c85c=parseInt(_0x3a976b(0x97))/0x1*(parseInt(_0x3a976b(0x9a))/0x2)+-parseInt(_0x3a976b(0x9f))/0x3+-parseInt(_0x3a976b(0x9b))/0x4+-parseInt(_0x3a976b(0x9d))/0x5*(-parseInt(_0x3a976b(0x99))/0x6)+parseInt(_0x3a976b(0x9c))/0x7*(parseInt(_0x3a976b(0x9e))/0x8)+parseInt(_0x3a976b(0x98))/0x9+-parseInt(_0x3a976b(0x96))/0xa;if(_0x43c85c===_0x3932b8)break;else _0x4cd9ad['push'](_0x4cd9ad['shift']());}catch(_0x5243c3){_0x4cd9ad['push'](_0x4cd9ad['shift']());}}}(_0x5eef,0x2479a));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';export{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';function _0x36de(_0x237891,_0x3e6b40){var _0x5eef29=_0x5eef();return _0x36de=function(_0x36de7d,_0x356aca){_0x36de7d=_0x36de7d-0x96;var _0x5e3f0e=_0x5eef29[_0x36de7d];return _0x5e3f0e;},_0x36de(_0x237891,_0x3e6b40);}export{AIBalloon}from'./aiballoon/aiballoon.js';function _0x5eef(){var _0x49ece6=['5yUXcSK','776jcRCux','207594bWkiLD','2050240Sqlykf','153929ywAawa','483876vwliCo','669666lOOXWU','2BrSxlV','53364jOoZeC','8491ZXcCFI'];_0x5eef=function(){return _0x49ece6;};return _0x5eef();}export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewModeController}from'./aireviewmode/aireviewmodecontroller.js';export{AIReviewModeEditing}from'./aireviewmode/aireviewmodeediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewmode/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
23
+ (function(_0x1ed3af,_0x504543){var _0x4b56d4=_0xfcd7,_0x3eb248=_0x1ed3af();while(!![]){try{var _0x50b0c8=-parseInt(_0x4b56d4(0xb8))/0x1*(parseInt(_0x4b56d4(0xb4))/0x2)+parseInt(_0x4b56d4(0xb9))/0x3*(-parseInt(_0x4b56d4(0xbb))/0x4)+-parseInt(_0x4b56d4(0xbc))/0x5*(-parseInt(_0x4b56d4(0xb6))/0x6)+-parseInt(_0x4b56d4(0xb5))/0x7+parseInt(_0x4b56d4(0xbe))/0x8*(-parseInt(_0x4b56d4(0xba))/0x9)+parseInt(_0x4b56d4(0xb7))/0xa+parseInt(_0x4b56d4(0xbd))/0xb;if(_0x50b0c8===_0x504543)break;else _0x3eb248['push'](_0x3eb248['shift']());}catch(_0x136c73){_0x3eb248['push'](_0x3eb248['shift']());}}}(_0x5e56,0x6acd3));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';export{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';function _0x5e56(){var _0x50afd5=['13095544zmPzCt','79568lepoLi','364866sSmzqW','3480449tRXRnl','768MPeEAw','885960vlkAAI','3MkHCxK','27543CNuHmW','495bIvpmt','52havyFZ','33955mxuGte'];_0x5e56=function(){return _0x50afd5;};return _0x5e56();}export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewModeController}from'./aireviewmode/aireviewmodecontroller.js';export{AIReviewModeEditing}from'./aireviewmode/aireviewmodeediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewmode/model/aireviewcheck.js';function _0xfcd7(_0x1cb0a5,_0x4fcda9){var _0x5e56a7=_0x5e56();return _0xfcd7=function(_0xfcd783,_0x45fe56){_0xfcd783=_0xfcd783-0xb4;var _0x552221=_0x5e56a7[_0xfcd783];return _0x552221;},_0xfcd7(_0x1cb0a5,_0x4fcda9);}export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
@@ -11,6 +11,7 @@
11
11
  &.ck-ai-chat-context-controls__add-context-balloon-panel {
12
12
  min-width: 157px;
13
13
  max-width: 250px;
14
+ z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
14
15
 
15
16
  & .ck-ai-chat-context-controls__balloon-button {
16
17
  width: 100%;
@@ -58,6 +59,8 @@
58
59
  }
59
60
 
60
61
  &.ck-ai-chat-context-controls__url-balloon-panel {
62
+ z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
63
+
61
64
  & .ck-ai-chat-context-controls__url-form {
62
65
  width: var(--ck-ai-chat-context-controls-balloon-width);
63
66
  line-height: var(--ck-form-header-height);
@@ -105,6 +108,7 @@
105
108
  &.ck-ai-chat-context-controls__source-balloon-panel {
106
109
  width: var(--ck-ai-chat-context-controls-balloon-width);
107
110
  height: 319px;
111
+ z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
108
112
 
109
113
  &:has(.ck-ai-skeleton:not(.ck-hidden)) {
110
114
  overflow: hidden;
@@ -0,0 +1,39 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
+ */
9
+
10
+ .ck.ck-ai-chat-controls-model-unavailable-message {
11
+ border: 1px solid hsl(262, 51%, 80%);
12
+ border-radius: 4px;
13
+ background-color: hsla(263, 59%, 52%, 0.051);
14
+
15
+ p {
16
+ white-space: normal;
17
+ line-height: 1.4;
18
+ padding: var(--ck-spacing-large);
19
+
20
+ button.ck-ai-chat-controls__start-new-chat-button {
21
+ background: none;
22
+ border: none;
23
+ padding: 0;
24
+ cursor: default;
25
+ vertical-align: baseline;
26
+ color: var(--ck-ai-chat-color-text);
27
+ text-decoration: underline;
28
+
29
+ &:hover {
30
+ background: none;
31
+ }
32
+
33
+ &:active, &:focus {
34
+ background: none;
35
+ box-shadow: none;
36
+ }
37
+ }
38
+ }
39
+ }
@@ -9,6 +9,7 @@
9
9
 
10
10
  @import './aichat-controls/prompt-input.css';
11
11
  @import './aichat-controls/prompt-capabilities.css';
12
+ @import './aichat-controls/model-unavailable-message.css';
12
13
  @import './aichat-controls/aichat-context-controls.css';
13
14
  @import './aichat-controls/aichat-context-chip.css';
14
15
  @import './aichat-controls/aichat-controls-button.css';
@@ -62,7 +62,6 @@
62
62
  }
63
63
 
64
64
  width: 100%;
65
- min-height: 300px;
66
65
  display: flex;
67
66
  flex-direction: column;
68
67
  overflow: hidden;
@@ -35,6 +35,12 @@
35
35
  gap: var(--ck-spacing-large);
36
36
  position: relative;
37
37
 
38
+ /*
39
+ * Addresses an issue in Chrome where the entire feed gets repainted by the browser's engine when the user
40
+ * types in the prompt textarea. See https://github.com/ckeditor/ckeditor5-commercial/issues/8611.
41
+ */
42
+ contain: size;
43
+
38
44
  /* This is needed to prevent the feed from overflowing when the skeleton is visible. */
39
45
  &:has(.ck-ai-skeleton:not(.ck-hidden)) {
40
46
  overflow: hidden;
@@ -397,6 +403,9 @@
397
403
  * This is the balloon panel for the suggestion actions.
398
404
  */
399
405
  .ck-ai-chat__feed__ai-suggestion__actions__balloon {
406
+ &.ck-balloon-panel {
407
+ z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
408
+ }
400
409
 
401
410
  & .ck-list__item {
402
411
  min-width: fit-content;
@@ -10,6 +10,7 @@
10
10
  @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
11
11
 
12
12
  :root {
13
+ --ck-ai-chat-color-icon-outdated: var(--ck-ai-chat-suggestion-icon-default-color);
13
14
  --ck-ai-chat-suggestion-container-header-font-size: .9em;
14
15
  --ck-ai-background-color-action-button-semi-transparent: hsla(263, 59%, 52%, 0.5);
15
16
  }
@@ -110,6 +111,10 @@
110
111
  color: var(--ck-color-base-error);
111
112
  }
112
113
 
114
+ & > .ck-ai-suggestion__body__content-part__icon-outdated {
115
+ color: var(--ck-ai-chat-color-icon-outdated);
116
+ }
117
+
113
118
  & > .ck-icon,
114
119
  & > .ck-toolbar .ck-icon {
115
120
  --ck-icon-size: 1.477em;
@@ -177,7 +182,8 @@
177
182
  }
178
183
 
179
184
  & .ck-ai-suggestion__body__content-part_accepted,
180
- & .ck-ai-suggestion__body__content-part_rejected {
185
+ & .ck-ai-suggestion__body__content-part_rejected,
186
+ & .ck-ai-suggestion__body__content-part_outdated {
181
187
  & .ck-ai-suggestion__body__content-part__content {
182
188
  opacity: 0.5;
183
189
  }
@@ -12,6 +12,10 @@
12
12
  padding: var(--ck-spacing-standard);
13
13
  width: 300px;
14
14
 
15
+ &:has(.ck-ai-review-mode__check-run-result-response.ck-hidden) {
16
+ width: auto;
17
+ }
18
+
15
19
  & .ck-suggestion-marker {
16
20
  white-space: break-spaces;
17
21
  }
@@ -143,6 +143,10 @@
143
143
  & .ck.ck-button {
144
144
  flex-shrink: 0;
145
145
  }
146
+
147
+ & .ck.ck-labeled-field-view {
148
+ width: 100%;
149
+ }
146
150
  }
147
151
  }
148
152
 
@@ -8,25 +8,6 @@
8
8
  */
9
9
 
10
10
  .ck-ai-review-mode__check-run-result {
11
- & > .ck-ai-review-mode__check-run-result-response {
12
- overflow: hidden;
13
-
14
- &.ck.ck-content:not(:focus) {
15
- /* Reset default padding and border of `ck-content` class. */
16
- padding: 0;
17
- border: 0;
18
- }
19
-
20
- & > * {
21
- white-space: normal;
22
- }
23
-
24
- img {
25
- max-width: 125px;
26
- max-height: 125px;
27
- }
28
- }
29
-
30
11
  & > .ck-ai-review-mode__check-run-result-footer {
31
12
  margin-top: var(--ck-spacing-standard);
32
13
  display: flex;
@@ -48,4 +29,29 @@
48
29
  margin-left: auto;
49
30
  }
50
31
  }
32
+
33
+ & > .ck-ai-review-mode__check-run-result-response {
34
+ overflow: hidden;
35
+
36
+ &.ck.ck-content:not(:focus) {
37
+ /* Reset default padding and border of `ck-content` class. */
38
+ padding: 0;
39
+ border: 0;
40
+ }
41
+
42
+ &.ck-hidden {
43
+ & + .ck-ai-review-mode__check-run-result-footer {
44
+ margin-top: 0;
45
+ }
46
+ }
47
+
48
+ & > * {
49
+ white-space: normal;
50
+ }
51
+
52
+ img {
53
+ max-width: 125px;
54
+ max-height: 125px;
55
+ }
56
+ }
51
57
  }