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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichat/utils/scrollmanager.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.js +1 -1
  226. package/src/aicore/model/aireply.js +1 -1
  227. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  228. package/src/aicore/pipeline/airesponseparser.js +2 -2
  229. package/src/aicore/ui/aidisclaimerview.js +1 -1
  230. package/src/aicore/ui/aiskeleton.js +1 -1
  231. package/src/aicore/ui/aispinner.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  237. package/src/aicore/utils/common-translations.js +1 -1
  238. package/src/aicore/utils/createresizebutton.js +1 -1
  239. package/src/aicore/utils/documentposition.js +1 -1
  240. package/src/aicore/utils/documentrange.js +1 -1
  241. package/src/aicore/utils/eventnames.js +1 -1
  242. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  243. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  244. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  245. package/src/aicore/utils/htmlparser.js +1 -1
  246. package/src/aicore/utils/htmlstreamer.js +1 -1
  247. package/src/aieditorintegration/aieditorintegration.js +1 -1
  248. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  250. package/src/aiquickactions/aiquickactions.js +1 -1
  251. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  252. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  253. package/src/aiquickactions/aiquickactionsui.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  257. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  258. package/src/aireviewmode/aireviewmode.js +1 -1
  259. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  260. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  261. package/src/aireviewmode/aireviewmodeui.js +1 -1
  262. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  264. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  268. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  280. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  282. package/src/aitabs/aitabs.js +1 -1
  283. package/src/aitabs/aitabsmainview.js +1 -1
  284. package/src/aitabs/tabs/aitabsview.js +1 -1
  285. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  286. package/src/aitabs/tabs/tabpanelview.js +1 -1
  287. package/src/errors.js +1 -1
  288. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa90a59=_0x3a6a;(function(_0x1e7b9e,_0x18e24d){const _0xebd02e=_0x3a6a,_0x4c3dbc=_0x1e7b9e();while(!![]){try{const _0x3ad8bf=parseInt(_0xebd02e(0x108))/0x1*(parseInt(_0xebd02e(0x117))/0x2)+parseInt(_0xebd02e(0x129))/0x3*(parseInt(_0xebd02e(0x112))/0x4)+-parseInt(_0xebd02e(0x116))/0x5*(parseInt(_0xebd02e(0x10f))/0x6)+-parseInt(_0xebd02e(0x125))/0x7+parseInt(_0xebd02e(0x10e))/0x8*(-parseInt(_0xebd02e(0x126))/0x9)+-parseInt(_0xebd02e(0x109))/0xa*(parseInt(_0xebd02e(0x11a))/0xb)+parseInt(_0xebd02e(0x121))/0xc;if(_0x3ad8bf===_0x18e24d)break;else _0x4c3dbc['push'](_0x4c3dbc['shift']());}catch(_0xeb4e2c){_0x4c3dbc['push'](_0x4c3dbc['shift']());}}}(_0x20dd,0xf3d7f));import{Plugin as _0x47266e}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x1d0718}from'./toggleaicommand.js';import{ButtonView as _0x14cf57,MenuBarMenuListItemButtonView as _0x4b0e26}from'ckeditor5/src/ui.js';function _0x3a6a(_0x349389,_0x1ff02a){const _0x20dddb=_0x20dd();return _0x3a6a=function(_0x3a6a4a,_0x5ccc29){_0x3a6a4a=_0x3a6a4a-0x106;let _0x4ff7b9=_0x20dddb[_0x3a6a4a];return _0x4ff7b9;},_0x3a6a(_0x349389,_0x1ff02a);}import{IconAIAskAI as _0x207c7b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x44d050}from'../../aicore/utils/common-translations.js';import{AITabs as _0x228e2c}from'../../aitabs/aitabs.js';function _0x20dd(){const _0x229bab=['isEnabled','isOfficialPlugin','listenTo','2283296rHUzLT','4375908eqotCI','requires','execute','148BnCHNu','locale','editor','AIToggleButtonUI','5CRriwb','260432NomBIE','bind','set','11tCBXKC','add','commands','AI_TOGGLE_BUTTON_LABEL','init','_createAIUIButton','isOn','48660480tMJdEy','menuBar:toggleAi','componentFactory','value','9074534GcZpOf','9CnrJEo','isPremiumPlugin','toggleAi','3954NfjzDj','ck-ai-toggle-button','pluginName','get','1FiOoxE','9241470HvjNIr','menuitemcheckbox'];_0x20dd=function(){return _0x229bab;};return _0x20dd();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x47266e{static get[_0xa90a59(0x110)](){return[_0x228e2c];}static get[_0xa90a59(0x106)](){const _0x5ae35a=_0xa90a59;return _0x5ae35a(0x115);}static get[_0xa90a59(0x10c)](){return!0x0;}static get[_0xa90a59(0x127)](){return!0x0;}[_0xa90a59(0x11e)](){const _0xd1c693=_0xa90a59,_0x551777=this[_0xd1c693(0x114)];_0x551777[_0xd1c693(0x11c)][_0xd1c693(0x11b)](_0xd1c693(0x128),new _0x1d0718(_0x551777)),_0x551777['ui'][_0xd1c693(0x123)][_0xd1c693(0x11b)](_0xd1c693(0x128),()=>{const _0x17e165=_0xd1c693,_0x2c93b0=this[_0x17e165(0x11f)](_0x14cf57);return _0x2c93b0[_0x17e165(0x119)]({'tooltip':!0x0,'class':_0x17e165(0x12a)}),_0x2c93b0;}),_0x551777['ui'][_0xd1c693(0x123)][_0xd1c693(0x11b)](_0xd1c693(0x122),()=>{const _0x432e3c=_0xd1c693,_0x492187=this[_0x432e3c(0x11f)](_0x4b0e26);return _0x492187[_0x432e3c(0x119)]({'role':_0x432e3c(0x10a)}),_0x492187;});}[_0xa90a59(0x11f)](_0x7d885f){const _0x33289d=_0xa90a59,_0x5356eb=this[_0x33289d(0x114)],_0x2d8744=_0x5356eb[_0x33289d(0x11c)][_0x33289d(0x107)](_0x33289d(0x128)),_0x4632d9=new _0x7d885f(_0x5356eb[_0x33289d(0x113)]);return _0x4632d9[_0x33289d(0x119)]({'label':_0x44d050(_0x5356eb[_0x33289d(0x113)],_0x33289d(0x11d)),'icon':_0x207c7b,'isToggleable':!0x0}),_0x4632d9[_0x33289d(0x118)](_0x33289d(0x10b))['to'](_0x2d8744),_0x4632d9[_0x33289d(0x118)](_0x33289d(0x120))['to'](_0x2d8744,_0x33289d(0x124),_0x353863=>!!_0x353863),this[_0x33289d(0x10d)](_0x4632d9,_0x33289d(0x111),()=>{const _0x2d4768=_0x33289d;_0x2d8744[_0x2d4768(0x111)]();}),_0x4632d9;}}
23
+ const _0x44f9c9=_0x2619;(function(_0x473eb2,_0x11442f){const _0x3ce113=_0x2619,_0x131f38=_0x473eb2();while(!![]){try{const _0x45d4eb=-parseInt(_0x3ce113(0x149))/0x1+parseInt(_0x3ce113(0x14e))/0x2*(parseInt(_0x3ce113(0x13b))/0x3)+-parseInt(_0x3ce113(0x144))/0x4*(parseInt(_0x3ce113(0x14c))/0x5)+-parseInt(_0x3ce113(0x153))/0x6+parseInt(_0x3ce113(0x13d))/0x7*(-parseInt(_0x3ce113(0x13a))/0x8)+-parseInt(_0x3ce113(0x148))/0x9*(parseInt(_0x3ce113(0x143))/0xa)+parseInt(_0x3ce113(0x14b))/0xb;if(_0x45d4eb===_0x11442f)break;else _0x131f38['push'](_0x131f38['shift']());}catch(_0x3736f5){_0x131f38['push'](_0x131f38['shift']());}}}(_0x2332,0x3e96e));import{Plugin as _0x3f716e}from'ckeditor5/src/core.js';function _0x2332(){const _0x36c701=['locale','670328WaXtux','66ErWwET','get','21WqdNeG','AI_TOGGLE_BUTTON_LABEL','pluginName','AIToggleButtonUI','commands','menuitemcheckbox','395890nEMidY','260VpPvDi','init','isPremiumPlugin','menuBar:toggleAi','99LXEyrY','51679aJTcCB','toggleAi','12169311aFFmyP','7855IviGeP','listenTo','1894UBeTyr','set','requires','execute','componentFactory','180738UKtTtc','ck-ai-toggle-button','isEnabled','add','isOfficialPlugin','isOn','_createAIUIButton','bind','editor','value'];_0x2332=function(){return _0x36c701;};return _0x2332();}import{ToggleAICommand as _0x4a740d}from'./toggleaicommand.js';import{ButtonView as _0x16a97d,MenuBarMenuListItemButtonView as _0x873b5a}from'ckeditor5/src/ui.js';function _0x2619(_0x19dadb,_0x55c066){const _0x2332ab=_0x2332();return _0x2619=function(_0x2619f,_0x2d0e3a){_0x2619f=_0x2619f-0x135;let _0x55164d=_0x2332ab[_0x2619f];return _0x55164d;},_0x2619(_0x19dadb,_0x55c066);}import{IconAIAskAI as _0x2c0006}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x807a57}from'../../aicore/utils/common-translations.js';import{AITabs as _0x3c966f}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3f716e{static get[_0x44f9c9(0x150)](){return[_0x3c966f];}static get[_0x44f9c9(0x13f)](){const _0x19d1c3=_0x44f9c9;return _0x19d1c3(0x140);}static get[_0x44f9c9(0x157)](){return!0x0;}static get[_0x44f9c9(0x146)](){return!0x0;}[_0x44f9c9(0x145)](){const _0xce2530=_0x44f9c9,_0x38483b=this[_0xce2530(0x137)];_0x38483b[_0xce2530(0x141)][_0xce2530(0x156)](_0xce2530(0x14a),new _0x4a740d(_0x38483b)),_0x38483b['ui'][_0xce2530(0x152)][_0xce2530(0x156)](_0xce2530(0x14a),()=>{const _0x3aae80=_0xce2530,_0x2abb56=this[_0x3aae80(0x135)](_0x16a97d);return _0x2abb56[_0x3aae80(0x14f)]({'tooltip':!0x0,'class':_0x3aae80(0x154)}),_0x2abb56;}),_0x38483b['ui'][_0xce2530(0x152)][_0xce2530(0x156)](_0xce2530(0x147),()=>{const _0x339ade=_0xce2530,_0x5910af=this[_0x339ade(0x135)](_0x873b5a);return _0x5910af[_0x339ade(0x14f)]({'role':_0x339ade(0x142)}),_0x5910af;});}[_0x44f9c9(0x135)](_0x2866b7){const _0x18e61e=_0x44f9c9,_0x3dc99c=this[_0x18e61e(0x137)],_0x59526f=_0x3dc99c[_0x18e61e(0x141)][_0x18e61e(0x13c)](_0x18e61e(0x14a)),_0x1b4400=new _0x2866b7(_0x3dc99c[_0x18e61e(0x139)]);return _0x1b4400[_0x18e61e(0x14f)]({'label':_0x807a57(_0x3dc99c[_0x18e61e(0x139)],_0x18e61e(0x13e)),'icon':_0x2c0006,'isToggleable':!0x0}),_0x1b4400[_0x18e61e(0x136)](_0x18e61e(0x155))['to'](_0x59526f),_0x1b4400[_0x18e61e(0x136)](_0x18e61e(0x158))['to'](_0x59526f,_0x18e61e(0x138),_0x474dc3=>!!_0x474dc3),this[_0x18e61e(0x14d)](_0x1b4400,_0x18e61e(0x151),()=>{const _0x9da768=_0x18e61e;_0x59526f[_0x9da768(0x151)]();}),_0x1b4400;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x111024=_0x4503;(function(_0x788f42,_0x47ad7d){const _0x48c37c=_0x4503,_0x3bb86c=_0x788f42();while(!![]){try{const _0x3f3d9a=-parseInt(_0x48c37c(0x170))/0x1*(parseInt(_0x48c37c(0x166))/0x2)+parseInt(_0x48c37c(0x169))/0x3*(-parseInt(_0x48c37c(0x16d))/0x4)+parseInt(_0x48c37c(0x16a))/0x5*(-parseInt(_0x48c37c(0x15e))/0x6)+-parseInt(_0x48c37c(0x168))/0x7*(parseInt(_0x48c37c(0x165))/0x8)+-parseInt(_0x48c37c(0x164))/0x9*(-parseInt(_0x48c37c(0x15f))/0xa)+-parseInt(_0x48c37c(0x15a))/0xb+-parseInt(_0x48c37c(0x15c))/0xc*(-parseInt(_0x48c37c(0x16b))/0xd);if(_0x3f3d9a===_0x47ad7d)break;else _0x3bb86c['push'](_0x3bb86c['shift']());}catch(_0xc217dc){_0x3bb86c['push'](_0x3bb86c['shift']());}}}(_0xd4ea,0xa86fb));function _0x4503(_0x417650,_0x3b4872){const _0xd4ea43=_0xd4ea();return _0x4503=function(_0x45038e,_0x197ea2){_0x45038e=_0x45038e-0x15a;let _0x598b70=_0xd4ea43[_0x45038e];return _0x598b70;},_0x4503(_0x417650,_0x3b4872);}import{Command as _0xf949ca}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0xf949ca{constructor(_0xeb2ac2){const _0x49556f=_0x4503;super(_0xeb2ac2);const _0x427b04=_0xeb2ac2[_0x49556f(0x167)][_0x49556f(0x16e)](_0x49556f(0x15b))[_0x49556f(0x16f)];this[_0x49556f(0x162)](_0x49556f(0x16c))['to'](_0x427b04,_0x49556f(0x15d)),this[_0x49556f(0x161)]=!0x0;}[_0x111024(0x163)](){const _0x5831b4=_0x111024,_0x5f155f=this[_0x5831b4(0x160)][_0x5831b4(0x167)][_0x5831b4(0x16e)](_0x5831b4(0x15b))[_0x5831b4(0x16f)];_0x5f155f[_0x5831b4(0x15d)]=!_0x5f155f[_0x5831b4(0x15d)];}}function _0xd4ea(){const _0x4c1bbf=['1827570JgVxfO','editor','isEnabled','bind','execute','27MYdmGT','16fzelwU','1948WhJnsb','plugins','2238796vkAdAN','153138edyrLY','5245585hwuQzD','45175ZoDmjx','value','64KDzMUq','get','view','1256KBaBIY','2568258PKHvVz','AITabs','14172FTinBl','isVisible','6rsvWei'];_0xd4ea=function(){return _0x4c1bbf;};return _0xd4ea();}
23
+ const _0x51b4c1=_0x3eb5;(function(_0x4f114b,_0x532b62){const _0xcbb35b=_0x3eb5,_0x149a6d=_0x4f114b();while(!![]){try{const _0x22892d=-parseInt(_0xcbb35b(0xd6))/0x1+-parseInt(_0xcbb35b(0xe7))/0x2*(-parseInt(_0xcbb35b(0xd5))/0x3)+parseInt(_0xcbb35b(0xe3))/0x4*(parseInt(_0xcbb35b(0xdf))/0x5)+parseInt(_0xcbb35b(0xe4))/0x6*(parseInt(_0xcbb35b(0xd7))/0x7)+-parseInt(_0xcbb35b(0xe2))/0x8*(parseInt(_0xcbb35b(0xe0))/0x9)+-parseInt(_0xcbb35b(0xd9))/0xa+-parseInt(_0xcbb35b(0xe8))/0xb*(-parseInt(_0xcbb35b(0xd8))/0xc);if(_0x22892d===_0x532b62)break;else _0x149a6d['push'](_0x149a6d['shift']());}catch(_0x1e7a32){_0x149a6d['push'](_0x149a6d['shift']());}}}(_0x3d50,0x4f5e0));function _0x3eb5(_0x517156,_0x118186){const _0x3d50eb=_0x3d50();return _0x3eb5=function(_0x3eb5dc,_0x37aeba){_0x3eb5dc=_0x3eb5dc-0xd3;let _0x35ee33=_0x3d50eb[_0x3eb5dc];return _0x35ee33;},_0x3eb5(_0x517156,_0x118186);}import{Command as _0x36328f}from'ckeditor5/src/core.js';function _0x3d50(){const _0x551d6e=['22Toenzc','view','plugins','95052zUZnKl','219190bbHicg','28DAjPOs','5198916QzUjBi','5551730rugbFs','editor','bind','isEnabled','get','execute','2054595ncQRyN','15786OujvQL','value','1960SUpIvX','4FjeJGE','235086gTVNNH','isVisible','AITabs','6vXKbPt'];_0x3d50=function(){return _0x551d6e;};return _0x3d50();}export class ToggleAICommand extends _0x36328f{constructor(_0xb67dad){const _0x20b1c0=_0x3eb5;super(_0xb67dad);const _0x1dc121=_0xb67dad[_0x20b1c0(0xd4)][_0x20b1c0(0xdd)](_0x20b1c0(0xe6))[_0x20b1c0(0xd3)];this[_0x20b1c0(0xdb)](_0x20b1c0(0xe1))['to'](_0x1dc121,_0x20b1c0(0xe5)),this[_0x20b1c0(0xdc)]=!0x0;}[_0x51b4c1(0xde)](){const _0x23b056=_0x51b4c1,_0x8ecc34=this[_0x23b056(0xda)][_0x23b056(0xd4)][_0x23b056(0xdd)](_0x23b056(0xe6))[_0x23b056(0xd3)];_0x8ecc34[_0x23b056(0xe5)]=!_0x8ecc34[_0x23b056(0xe5)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1f7694=_0x4f84;function _0x41f1(){var _0x443a20=['44uRKNPZ','18uWDGfU','isOfficialPlugin','pluginName','24ExPxBY','242448Yhwrjg','4Jnrqwl','59432jAELiI','199659CsYyUS','50592lQFzrn','340570EvRWjt','AIQuickActions','define','14287unwrmn','config','157105pRCVCB','requires','isPremiumPlugin','472xaueoG','ai.quickActions'];_0x41f1=function(){return _0x443a20;};return _0x41f1();}(function(_0x4fd700,_0xc24b2){var _0x4ef900=_0x4f84,_0x4a6e5b=_0x4fd700();while(!![]){try{var _0x3f6005=parseInt(_0x4ef900(0x171))/0x1+parseInt(_0x4ef900(0x16f))/0x2+-parseInt(_0x4ef900(0x170))/0x3*(parseInt(_0x4ef900(0x16e))/0x4)+-parseInt(_0x4ef900(0x177))/0x5*(-parseInt(_0x4ef900(0x180))/0x6)+parseInt(_0x4ef900(0x175))/0x7*(parseInt(_0x4ef900(0x17a))/0x8)+parseInt(_0x4ef900(0x17d))/0x9*(-parseInt(_0x4ef900(0x172))/0xa)+-parseInt(_0x4ef900(0x17c))/0xb*(parseInt(_0x4ef900(0x16d))/0xc);if(_0x3f6005===_0xc24b2)break;else _0x4a6e5b['push'](_0x4a6e5b['shift']());}catch(_0x198422){_0x4a6e5b['push'](_0x4a6e5b['shift']());}}}(_0x41f1,0x1b150));import{Plugin as _0x3e253a}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x3d37c2}from'./aiquickactionsui.js';function _0x4f84(_0x2d679e,_0x23c032){var _0x41f117=_0x41f1();return _0x4f84=function(_0x4f84d1,_0xd12949){_0x4f84d1=_0x4f84d1-0x16d;var _0x57df24=_0x41f117[_0x4f84d1];return _0x57df24;},_0x4f84(_0x2d679e,_0x23c032);}import{AIQuickActionsEditing as _0x565044}from'./aiquickactionsediting.js';import{AIActions as _0x235e8c}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x3e253a{static get[_0x1f7694(0x178)](){return[_0x3d37c2,_0x565044,_0x235e8c];}static get[_0x1f7694(0x17f)](){var _0x42f5c5=_0x1f7694;return _0x42f5c5(0x173);}static get[_0x1f7694(0x17e)](){return!0x0;}static get[_0x1f7694(0x179)](){return!0x0;}constructor(_0xeb2103){var _0x801503=_0x1f7694;super(_0xeb2103),_0xeb2103[_0x801503(0x176)][_0x801503(0x174)](_0x801503(0x17b),{'extraCommands':[],'removeCommands':[]});}}
23
+ var _0x3ecc42=_0x3572;(function(_0x160420,_0x1608db){var _0x234a08=_0x3572,_0x28f284=_0x160420();while(!![]){try{var _0x2ddae8=parseInt(_0x234a08(0x1c9))/0x1+-parseInt(_0x234a08(0x1c8))/0x2+parseInt(_0x234a08(0x1c5))/0x3+-parseInt(_0x234a08(0x1c6))/0x4*(-parseInt(_0x234a08(0x1ca))/0x5)+parseInt(_0x234a08(0x1cb))/0x6*(-parseInt(_0x234a08(0x1d1))/0x7)+parseInt(_0x234a08(0x1d2))/0x8+-parseInt(_0x234a08(0x1cc))/0x9;if(_0x2ddae8===_0x1608db)break;else _0x28f284['push'](_0x28f284['shift']());}catch(_0x530182){_0x28f284['push'](_0x28f284['shift']());}}}(_0x2b90,0xf2b04));import{Plugin as _0x223617}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x39c605}from'./aiquickactionsui.js';function _0x3572(_0x4829a6,_0x12ab98){var _0x2b907c=_0x2b90();return _0x3572=function(_0x35724a,_0x46b202){_0x35724a=_0x35724a-0x1c3;var _0x2b4816=_0x2b907c[_0x35724a];return _0x2b4816;},_0x3572(_0x4829a6,_0x12ab98);}function _0x2b90(){var _0x254440=['AIQuickActions','6965oFZdBU','12465296sRmtEk','pluginName','config','requires','5344815QBTWFI','4QRnfWi','isOfficialPlugin','1471718LdhnJy','1559545hRmHKu','554675ULuaaR','9582AxaeeR','15221889zTItUA','isPremiumPlugin','ai.quickActions','define'];_0x2b90=function(){return _0x254440;};return _0x2b90();}import{AIQuickActionsEditing as _0x27c1fe}from'./aiquickactionsediting.js';import{AIActions as _0x3a9240}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x223617{static get[_0x3ecc42(0x1c4)](){return[_0x39c605,_0x27c1fe,_0x3a9240];}static get[_0x3ecc42(0x1d3)](){var _0x4b5fb3=_0x3ecc42;return _0x4b5fb3(0x1d0);}static get[_0x3ecc42(0x1c7)](){return!0x0;}static get[_0x3ecc42(0x1cd)](){return!0x0;}constructor(_0x5828ee){var _0x5dbdcf=_0x3ecc42;super(_0x5828ee),_0x5828ee[_0x5dbdcf(0x1c3)][_0x5dbdcf(0x1cf)](_0x5dbdcf(0x1ce),{'extraCommands':[],'removeCommands':[]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1e4e(_0x11fbd,_0x324f69){const _0x207100=_0x2071();return _0x1e4e=function(_0x1e4eac,_0x2c5f97){_0x1e4eac=_0x1e4eac-0xc3;let _0x570e36=_0x207100[_0x1e4eac];return _0x570e36;},_0x1e4e(_0x11fbd,_0x324f69);}function _0x2071(){const _0x4f9c3d=['addSelectionToChatContext','label','selection','_handleAIActionsAction','change','handleAIReviewAction','execute','7731504lDYGEJ','_handleAIChatAction','10nsORRO','setSelection','getLimitElement','isCollapsed','activateTab','4530075aIpohV','type','AIChatController','editor','AIChat','executeAction','129647RmDwLi','icon','getSelectedBlocks','_expandSelectionIfCollapsed','document','has','2aRsbFn','get','actionName','AITabs','locale','schema','7931718LeEawJ','displayedPrompt','6732PeSLYH','550437rzIuoR','model','view','AIActions','246JmMZYo','CHAT','startConversation','plugins','_handleAIReviewAction','48411605WaWZcI','ai-quick-actions-plugin-not-found','parent','prompt','_handleAIActionsActionLabel','log','ACTION','focusPromptInput','1623ZzjPek','chat','AIReviewMode','removeSelectionFromChatContext','other','sendMessage','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','REVIEW','args','ask-ai'];_0x2071=function(){return _0x4f9c3d;};return _0x2071();}const _0x215385=_0x1e4e;(function(_0x5612bc,_0x426205){const _0x4018cd=_0x1e4e,_0x51799c=_0x5612bc();while(!![]){try{const _0x54385d=parseInt(_0x4018cd(0xfe))/0x1*(parseInt(_0x4018cd(0xf5))/0x2)+-parseInt(_0x4018cd(0xd1))/0x3*(parseInt(_0x4018cd(0xfd))/0x4)+-parseInt(_0x4018cd(0xe9))/0x5+-parseInt(_0x4018cd(0xc4))/0x6*(parseInt(_0x4018cd(0xef))/0x7)+-parseInt(_0x4018cd(0xe2))/0x8+parseInt(_0x4018cd(0xfb))/0x9*(-parseInt(_0x4018cd(0xe4))/0xa)+parseInt(_0x4018cd(0xc9))/0xb;if(_0x54385d===_0x426205)break;else _0x51799c['push'](_0x51799c['shift']());}catch(_0x1db2f7){_0x51799c['push'](_0x51799c['shift']());}}}(_0x2071,0x80e01));import{Command as _0x26d089}from'ckeditor5/src/core.js';import{CKEditorError as _0x1c0a61,first as _0x31b843}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x5eebb2}from'./aiquickactionsui.js';import{getTranslation as _0x56805a}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x26d089{[_0x215385(0xe1)](_0x3a5646){const _0x2ddbd5=_0x215385;switch(this[_0x2ddbd5(0xf2)](),_0x3a5646[_0x2ddbd5(0xea)]){case _0x5eebb2[_0x2ddbd5(0xc5)]:if(!this[_0x2ddbd5(0xec)][_0x2ddbd5(0xc7)][_0x2ddbd5(0xf4)](_0x2ddbd5(0xed))){const _0x1dd512=_0x56805a(this[_0x2ddbd5(0xec)][_0x2ddbd5(0xf9)],_0x2ddbd5(0xd7),_0x2ddbd5(0xed));throw new _0x1c0a61(_0x2ddbd5(0xca),this[_0x2ddbd5(0xec)],{'errorMessage':_0x1dd512});}this[_0x2ddbd5(0xe3)](_0x3a5646);break;case _0x5eebb2[_0x2ddbd5(0xcf)]:if(!this[_0x2ddbd5(0xec)][_0x2ddbd5(0xc7)][_0x2ddbd5(0xf4)](_0x2ddbd5(0xc3))){const _0xc358a0=_0x56805a(this[_0x2ddbd5(0xec)][_0x2ddbd5(0xf9)],_0x2ddbd5(0xd7),_0x2ddbd5(0xc3));throw new _0x1c0a61(_0x2ddbd5(0xca),this[_0x2ddbd5(0xec)],{'errorMessage':_0xc358a0});}this[_0x2ddbd5(0xde)](_0x3a5646);break;case _0x5eebb2[_0x2ddbd5(0xd8)]:if(!this[_0x2ddbd5(0xec)][_0x2ddbd5(0xc7)][_0x2ddbd5(0xf4)](_0x2ddbd5(0xd3))){const _0x1db025=_0x56805a(this[_0x2ddbd5(0xec)][_0x2ddbd5(0xf9)],_0x2ddbd5(0xd7),_0x2ddbd5(0xd3));throw new _0x1c0a61(_0x2ddbd5(0xca),this[_0x2ddbd5(0xec)],{'errorMessage':_0x1db025});}this[_0x2ddbd5(0xc8)](_0x3a5646);}}async[_0x215385(0xe3)](_0x5ececc){const _0x6e3961=_0x215385,_0x336089=this[_0x6e3961(0xec)][_0x6e3961(0xc7)][_0x6e3961(0xf6)](_0x6e3961(0xed)),_0x104a0d=this[_0x6e3961(0xec)][_0x6e3961(0xc7)][_0x6e3961(0xf6)](_0x6e3961(0xeb));if(this[_0x6e3961(0xec)][_0x6e3961(0xc7)][_0x6e3961(0xf6)](_0x6e3961(0xf8))[_0x6e3961(0x100)][_0x6e3961(0xe8)](_0x6e3961(0xd2)),_0x6e3961(0xda)===_0x5ececc['id'])_0x104a0d[_0x6e3961(0xd4)](),await _0x336089[_0x6e3961(0xdb)](),_0x336089[_0x6e3961(0xd0)]();else await _0x336089[_0x6e3961(0xc6)](),_0x104a0d[_0x6e3961(0xd4)](),await _0x336089[_0x6e3961(0xdb)](),_0x336089[_0x6e3961(0xd0)](),await _0x336089[_0x6e3961(0xd6)]({'message':_0x5ececc[_0x6e3961(0xcc)]||_0x5ececc[_0x6e3961(0xfc)],'quickActionData':{'id':_0x5ececc['id'],'displayedPrompt':_0x5ececc[_0x6e3961(0xfc)]}});}[_0x215385(0xf2)](){const _0x425296=_0x215385,_0x9c321a=this[_0x425296(0xec)],_0x5c7561=_0x9c321a[_0x425296(0xff)][_0x425296(0xf3)][_0x425296(0xdd)];if(!_0x5c7561[_0x425296(0xe7)])return;const _0x3a88ac=_0x31b843(_0x5c7561[_0x425296(0xf1)]())||_0x9c321a[_0x425296(0xff)][_0x425296(0xfa)][_0x425296(0xe6)](_0x5c7561);_0x9c321a[_0x425296(0xff)][_0x425296(0xdf)](_0x546725=>{const _0x2d354a=_0x425296;_0x546725[_0x2d354a(0xe5)](_0x3a88ac,'in');});}[_0x215385(0xcd)](_0x434a18){const _0x41e1ff=_0x215385;return _0x434a18[_0x41e1ff(0xcb)]?.[_0x41e1ff(0xdc)]&&_0x41e1ff(0xd5)!==_0x434a18[_0x41e1ff(0xcb)]?.['id']?_0x434a18[_0x41e1ff(0xcb)][_0x41e1ff(0xdc)]+':\x20'+_0x434a18[_0x41e1ff(0xfc)]:_0x434a18[_0x41e1ff(0xfc)];}async[_0x215385(0xde)](_0x5d6a8f){const _0xa9e550=_0x215385,_0x388859=this[_0xa9e550(0xec)][_0xa9e550(0xc7)][_0xa9e550(0xf6)](_0xa9e550(0xc3)),_0x22f137=_0x5d6a8f[_0xa9e550(0xcc)]?{'userMessage':_0x5d6a8f[_0xa9e550(0xcc)],'model':_0x5d6a8f[_0xa9e550(0xff)]}:{'actionName':_0x5d6a8f[_0xa9e550(0xf7)]||_0x5d6a8f['id'],'args':_0x5d6a8f[_0xa9e550(0xd9)]},_0x6bed7b=this[_0xa9e550(0xcd)](_0x5d6a8f);await _0x388859[_0xa9e550(0xee)](_0x22f137,_0x6bed7b,_0x5d6a8f[_0xa9e550(0xf0)]);}async[_0x215385(0xc8)](_0x340cc1){const _0x177f3c=_0x215385;console[_0x177f3c(0xce)](_0x177f3c(0xe0),_0x340cc1);}}
23
+ const _0x50ebad=_0x323f;function _0x323f(_0x560974,_0x38b605){const _0x38ef6c=_0x38ef();return _0x323f=function(_0x323fbe,_0x579beb){_0x323fbe=_0x323fbe-0x149;let _0x572461=_0x38ef6c[_0x323fbe];return _0x572461;},_0x323f(_0x560974,_0x38b605);}(function(_0x3158b6,_0x45bd21){const _0x21d43e=_0x323f,_0x2cca0b=_0x3158b6();while(!![]){try{const _0x483ea3=-parseInt(_0x21d43e(0x17d))/0x1+-parseInt(_0x21d43e(0x17b))/0x2*(-parseInt(_0x21d43e(0x167))/0x3)+-parseInt(_0x21d43e(0x15b))/0x4+-parseInt(_0x21d43e(0x150))/0x5+-parseInt(_0x21d43e(0x152))/0x6*(-parseInt(_0x21d43e(0x149))/0x7)+parseInt(_0x21d43e(0x175))/0x8+parseInt(_0x21d43e(0x163))/0x9*(parseInt(_0x21d43e(0x17a))/0xa);if(_0x483ea3===_0x45bd21)break;else _0x2cca0b['push'](_0x2cca0b['shift']());}catch(_0x435c4e){_0x2cca0b['push'](_0x2cca0b['shift']());}}}(_0x38ef,0xe4efd));import{Command as _0x4297fd}from'ckeditor5/src/core.js';function _0x38ef(){const _0x5d2b1b=['AIChat','_handleAIActionsActionLabel','log','editor','model','execute','displayedPrompt','6857588aXesiL','label','isCollapsed','parent','CHAT','getLimitElement','_handleAIChatAction','_handleAIActionsAction','71919yjqEny','type','icon','AIReviewMode','21kwpXIQ','_handleAIReviewAction','has','chat','document','activateTab','executeAction','ACTION','schema','other','actionName','AIChatController','setSelection','sendMessage','2452784xNVmAx','startConversation','AITabs','AIActions','selection','2130nSRjll','131724fdIzAF','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','533822zGWeMc','REVIEW','focusPromptInput','prompt','_expandSelectionIfCollapsed','addSelectionToChatContext','ai-quick-actions-plugin-not-found','change','ask-ai','7LzfnNm','handleAIReviewAction','args','get','getSelectedBlocks','removeSelectionFromChatContext','view','4404590EpaBxR','locale','9582882aNVlVw','plugins'];_0x38ef=function(){return _0x5d2b1b;};return _0x38ef();}import{CKEditorError as _0x38eb85,first as _0x17d6b0}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x3f3dc5}from'./aiquickactionsui.js';import{getTranslation as _0x5f4515}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x4297fd{[_0x50ebad(0x159)](_0x53bfa1){const _0x594ebb=_0x50ebad;switch(this[_0x594ebb(0x181)](),_0x53bfa1[_0x594ebb(0x164)]){case _0x3f3dc5[_0x594ebb(0x15f)]:if(!this[_0x594ebb(0x157)][_0x594ebb(0x153)][_0x594ebb(0x169)](_0x594ebb(0x154))){const _0x2e5401=_0x5f4515(this[_0x594ebb(0x157)][_0x594ebb(0x151)],_0x594ebb(0x17c),_0x594ebb(0x154));throw new _0x38eb85(_0x594ebb(0x183),this[_0x594ebb(0x157)],{'errorMessage':_0x2e5401});}this[_0x594ebb(0x161)](_0x53bfa1);break;case _0x3f3dc5[_0x594ebb(0x16e)]:if(!this[_0x594ebb(0x157)][_0x594ebb(0x153)][_0x594ebb(0x169)](_0x594ebb(0x178))){const _0x8cf8d8=_0x5f4515(this[_0x594ebb(0x157)][_0x594ebb(0x151)],_0x594ebb(0x17c),_0x594ebb(0x178));throw new _0x38eb85(_0x594ebb(0x183),this[_0x594ebb(0x157)],{'errorMessage':_0x8cf8d8});}this[_0x594ebb(0x162)](_0x53bfa1);break;case _0x3f3dc5[_0x594ebb(0x17e)]:if(!this[_0x594ebb(0x157)][_0x594ebb(0x153)][_0x594ebb(0x169)](_0x594ebb(0x166))){const _0x5e3867=_0x5f4515(this[_0x594ebb(0x157)][_0x594ebb(0x151)],_0x594ebb(0x17c),_0x594ebb(0x166));throw new _0x38eb85(_0x594ebb(0x183),this[_0x594ebb(0x157)],{'errorMessage':_0x5e3867});}this[_0x594ebb(0x168)](_0x53bfa1);}}async[_0x50ebad(0x161)](_0x2e8bff){const _0x3a777f=_0x50ebad,_0x1e15c2=this[_0x3a777f(0x157)][_0x3a777f(0x153)][_0x3a777f(0x14c)](_0x3a777f(0x154)),_0x49739c=this[_0x3a777f(0x157)][_0x3a777f(0x153)][_0x3a777f(0x14c)](_0x3a777f(0x172));if(this[_0x3a777f(0x157)][_0x3a777f(0x153)][_0x3a777f(0x14c)](_0x3a777f(0x177))[_0x3a777f(0x14f)][_0x3a777f(0x16c)](_0x3a777f(0x16a)),_0x3a777f(0x185)===_0x2e8bff['id'])_0x49739c[_0x3a777f(0x14e)](),await _0x1e15c2[_0x3a777f(0x182)](),_0x1e15c2[_0x3a777f(0x17f)]();else await _0x1e15c2[_0x3a777f(0x176)](),_0x49739c[_0x3a777f(0x14e)](),await _0x1e15c2[_0x3a777f(0x182)](),_0x1e15c2[_0x3a777f(0x17f)](),await _0x1e15c2[_0x3a777f(0x174)]({'message':_0x2e8bff[_0x3a777f(0x180)]||_0x2e8bff[_0x3a777f(0x15a)],'quickActionData':{'id':_0x2e8bff['id'],'displayedPrompt':_0x2e8bff[_0x3a777f(0x15a)]}});}[_0x50ebad(0x181)](){const _0x5d0247=_0x50ebad,_0x1c2bb4=this[_0x5d0247(0x157)],_0x11d5af=_0x1c2bb4[_0x5d0247(0x158)][_0x5d0247(0x16b)][_0x5d0247(0x179)];if(!_0x11d5af[_0x5d0247(0x15d)])return;const _0xb0bfa5=_0x17d6b0(_0x11d5af[_0x5d0247(0x14d)]())||_0x1c2bb4[_0x5d0247(0x158)][_0x5d0247(0x16f)][_0x5d0247(0x160)](_0x11d5af);_0x1c2bb4[_0x5d0247(0x158)][_0x5d0247(0x184)](_0x2934b=>{const _0x327289=_0x5d0247;_0x2934b[_0x327289(0x173)](_0xb0bfa5,'in');});}[_0x50ebad(0x155)](_0x1bb07f){const _0x59c03e=_0x50ebad;return _0x1bb07f[_0x59c03e(0x15e)]?.[_0x59c03e(0x15c)]&&_0x59c03e(0x170)!==_0x1bb07f[_0x59c03e(0x15e)]?.['id']?_0x1bb07f[_0x59c03e(0x15e)][_0x59c03e(0x15c)]+':\x20'+_0x1bb07f[_0x59c03e(0x15a)]:_0x1bb07f[_0x59c03e(0x15a)];}async[_0x50ebad(0x162)](_0x3991d5){const _0x321574=_0x50ebad,_0x483a9f=this[_0x321574(0x157)][_0x321574(0x153)][_0x321574(0x14c)](_0x321574(0x178)),_0x277009=_0x3991d5[_0x321574(0x180)]?{'userMessage':_0x3991d5[_0x321574(0x180)],'model':_0x3991d5[_0x321574(0x158)]}:{'actionName':_0x3991d5[_0x321574(0x171)]||_0x3991d5['id'],'args':_0x3991d5[_0x321574(0x14b)]},_0x1696e7=this[_0x321574(0x155)](_0x3991d5);await _0x483a9f[_0x321574(0x16d)](_0x277009,_0x1696e7,_0x3991d5[_0x321574(0x165)]);}async[_0x50ebad(0x168)](_0x106fb8){const _0xb3eb06=_0x50ebad;console[_0xb3eb06(0x156)](_0xb3eb06(0x14a),_0x106fb8);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c4ec3=_0x43f3;(function(_0x193310,_0x36c09a){const _0x3fd379=_0x43f3,_0x284ea1=_0x193310();while(!![]){try{const _0x486cac=parseInt(_0x3fd379(0x1b0))/0x1+-parseInt(_0x3fd379(0x1aa))/0x2*(-parseInt(_0x3fd379(0x1a6))/0x3)+-parseInt(_0x3fd379(0x1a2))/0x4+parseInt(_0x3fd379(0x19e))/0x5+parseInt(_0x3fd379(0x1a9))/0x6*(-parseInt(_0x3fd379(0x1b4))/0x7)+parseInt(_0x3fd379(0x1ad))/0x8*(-parseInt(_0x3fd379(0x1ab))/0x9)+-parseInt(_0x3fd379(0x19a))/0xa*(-parseInt(_0x3fd379(0x1a8))/0xb);if(_0x486cac===_0x36c09a)break;else _0x284ea1['push'](_0x284ea1['shift']());}catch(_0x419ac3){_0x284ea1['push'](_0x284ea1['shift']());}}}(_0x56be,0x56f6c));function _0x43f3(_0x434fa1,_0x51ce18){const _0x56be9b=_0x56be();return _0x43f3=function(_0x43f339,_0x3b2a4c){_0x43f339=_0x43f339-0x198;let _0x50543f=_0x56be9b[_0x43f339];return _0x50543f;},_0x43f3(_0x434fa1,_0x51ce18);}import{Plugin as _0x4ab1f8}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x3e504d}from'./aiquickactionscommand.js';function _0x56be(){const _0x260bd6=['48sxbyvp','aiQuickAction','12254evFoLL','258816yCOrHu','16508KUiOpU','321795HADLtB','editor','152PswJNo','init','commands','90865orOSgx','selection','has','removeSelectionFromChatContext','84XetGxw','get','directChange','document','14490iYKGiZ','AIQuickActionsEditing','pluginName','plugins','890160GwZhaB','add','model','AIChat','1847864lkAxzV','isOfficialPlugin','isPremiumPlugin','change:range'];_0x56be=function(){return _0x260bd6;};return _0x56be();}export class AIQuickActionsEditing extends _0x4ab1f8{static get[_0x5c4ec3(0x19c)](){const _0x58c290=_0x5c4ec3;return _0x58c290(0x19b);}static get[_0x5c4ec3(0x1a3)](){return!0x0;}static get[_0x5c4ec3(0x1a4)](){return!0x0;}[_0x5c4ec3(0x1ae)](){const _0x4d94e3=_0x5c4ec3,_0x6d16de=this[_0x4d94e3(0x1ac)],_0x413b49=new _0x3e504d(this[_0x4d94e3(0x1ac)]);if(_0x6d16de[_0x4d94e3(0x1af)][_0x4d94e3(0x19f)](_0x4d94e3(0x1a7),_0x413b49),_0x6d16de[_0x4d94e3(0x19d)][_0x4d94e3(0x1b2)](_0x4d94e3(0x1a1))){const _0x157c7d=this[_0x4d94e3(0x1ac)][_0x4d94e3(0x19d)][_0x4d94e3(0x1b5)](_0x4d94e3(0x1a1));_0x6d16de[_0x4d94e3(0x1a0)][_0x4d94e3(0x199)][_0x4d94e3(0x1b1)]['on'](_0x4d94e3(0x1a5),(_0x23e481,_0x17cf94)=>{const _0x43b295=_0x4d94e3;_0x17cf94[_0x43b295(0x198)]&&_0x157c7d[_0x43b295(0x1b3)]();});}}}
23
+ function _0x4cf6(){const _0xc60e4b=['isOfficialPlugin','6705480pFYVlJ','392amnqfL','1248982VGdsht','init','get','add','467013PMoGgT','model','editor','removeSelectionFromChatContext','has','pluginName','directChange','24VgMMqR','4wSsdRk','selection','AIQuickActionsEditing','AIChat','93663CbCRsT','585541pyRxit','commands','change:range','88DIWTER','document','4413852wxHeto','plugins','3060470PAIxGj','isPremiumPlugin','aiQuickAction'];_0x4cf6=function(){return _0xc60e4b;};return _0x4cf6();}const _0x4d8dbe=_0x4731;(function(_0x3ebd4d,_0x4a12ca){const _0x1e618e=_0x4731,_0x42340d=_0x3ebd4d();while(!![]){try{const _0xd0c400=-parseInt(_0x1e618e(0xb5))/0x1+parseInt(_0x1e618e(0xb0))/0x2*(parseInt(_0x1e618e(0xc6))/0x3)+parseInt(_0x1e618e(0xba))/0x4+-parseInt(_0x1e618e(0xc0))/0x5+-parseInt(_0x1e618e(0xaf))/0x6*(parseInt(_0x1e618e(0xc2))/0x7)+-parseInt(_0x1e618e(0xc1))/0x8*(parseInt(_0x1e618e(0xb4))/0x9)+parseInt(_0x1e618e(0xbc))/0xa*(parseInt(_0x1e618e(0xb8))/0xb);if(_0xd0c400===_0x4a12ca)break;else _0x42340d['push'](_0x42340d['shift']());}catch(_0x58afb8){_0x42340d['push'](_0x42340d['shift']());}}}(_0x4cf6,0xae0c1));function _0x4731(_0x26ea0c,_0x3ff887){const _0x4cf6c8=_0x4cf6();return _0x4731=function(_0x4731ad,_0x2c48de){_0x4731ad=_0x4731ad-0xad;let _0x2d4c43=_0x4cf6c8[_0x4731ad];return _0x2d4c43;},_0x4731(_0x26ea0c,_0x3ff887);}import{Plugin as _0x2de8ac}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x29e83e}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x2de8ac{static get[_0x4d8dbe(0xad)](){const _0x23f9a5=_0x4d8dbe;return _0x23f9a5(0xb2);}static get[_0x4d8dbe(0xbf)](){return!0x0;}static get[_0x4d8dbe(0xbd)](){return!0x0;}[_0x4d8dbe(0xc3)](){const _0x3e18fe=_0x4d8dbe,_0x3effb4=this[_0x3e18fe(0xc8)],_0x18a336=new _0x29e83e(this[_0x3e18fe(0xc8)]);if(_0x3effb4[_0x3e18fe(0xb6)][_0x3e18fe(0xc5)](_0x3e18fe(0xbe),_0x18a336),_0x3effb4[_0x3e18fe(0xbb)][_0x3e18fe(0xca)](_0x3e18fe(0xb3))){const _0x3690f0=this[_0x3e18fe(0xc8)][_0x3e18fe(0xbb)][_0x3e18fe(0xc4)](_0x3e18fe(0xb3));_0x3effb4[_0x3e18fe(0xc7)][_0x3e18fe(0xb9)][_0x3e18fe(0xb1)]['on'](_0x3e18fe(0xb7),(_0x55d704,_0xc04226)=>{const _0x1c9d55=_0x3e18fe;_0xc04226[_0x1c9d55(0xae)]&&_0x3690f0[_0x1c9d55(0xc9)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d938d=_0x5d21;(function(_0x360cce,_0x13cce2){const _0x257e75=_0x5d21,_0x1b0efd=_0x360cce();while(!![]){try{const _0x5480d8=-parseInt(_0x257e75(0x1ab))/0x1*(parseInt(_0x257e75(0x1cb))/0x2)+parseInt(_0x257e75(0x1eb))/0x3+parseInt(_0x257e75(0x215))/0x4+parseInt(_0x257e75(0x1e9))/0x5*(parseInt(_0x257e75(0x1a8))/0x6)+-parseInt(_0x257e75(0x1d0))/0x7*(parseInt(_0x257e75(0x19f))/0x8)+-parseInt(_0x257e75(0x1aa))/0x9+parseInt(_0x257e75(0x211))/0xa;if(_0x5480d8===_0x13cce2)break;else _0x1b0efd['push'](_0x1b0efd['shift']());}catch(_0x451180){_0x1b0efd['push'](_0x1b0efd['shift']());}}}(_0x2dbe,0x9b7a7));import{IconAIAdjustLength as _0x11157a,IconAIAskAI as _0x3a87db,IconAIChangeTone as _0x54a18c,IconAIChatCommands as _0x52c66c,IconAIContinueWriting as _0x457147,IconAIGrammarCheck as _0x73d73e,IconAIImproveWriting as _0x46204a,IconAIOther as _0x180529,IconAIQuickActions as _0x17fc05,IconAITranslate as _0x330b45}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2770df}from'ckeditor5/src/core.js';import{getTranslation as _0x1374e8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0xba5f5}from'./ui/aiquickactionsdropdowncreator.js';function _0x5d21(_0x4fb507,_0x229b2){const _0x2dbe93=_0x2dbe();return _0x5d21=function(_0x5d2160,_0x218581){_0x5d2160=_0x5d2160-0x193;let _0x208e86=_0x2dbe93[_0x5d2160];return _0x208e86;},_0x5d21(_0x4fb507,_0x229b2);}import{aiQuickActionsButtonCreator as _0x59e8e9}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x393ded,BalloonToolbar as _0x550800,MenuBarMenuView as _0x17d780,MenuBarMenuListView as _0x10e156,MenuBarMenuListItemView as _0x31edee,MenuBarMenuListItemButtonView as _0x3819da}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x2dbe(){const _0x48c372=['some','AIActions','AI_QUICK_ACTIONS_IMPROVE_WRITING','includes','displayedPrompt','panelView','menu','chinese','delegate','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','CHAT','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_CHAT_COMMANDS','continue','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','forEach','get','AI_QUICK_ACTIONS_MORE_CONFIDENT','plugins','fix-grammar','362144CdSVOB','ai.quickActions.extraCommands','values','commands','make-tone-direct','explain','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-english','replace','12IruUky','aiQuickAction','11135844ykLkGA','1VzInRW','focus','AIChat','_initializeQuickActionsDropdown','make-longer','pluginName','ask-ai','spanish','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-tone-casual','items','type','length','uiLanguage','REVIEW','isOfficialPlugin','AI_QUICK_ACTIONS_MORE_CASUAL','getDefaultQuickActions','translate-to-french','highlight-key-points','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','make-tone-confident','isPremiumPlugin','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','translate-to-spanish','AI_QUICK_ACTIONS_MORE_FRIENDLY','_initializeQuickActionsMenuBar','russian','translate-to-german','requires','icon','2150238spaOnM','make-tone-friendly','summarize','translate-to-italian','translate-to-chinese','84myZCra','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_CHANGE_TONE','translate-to-portuguese','_executeQuickAction','korean','AIReviewMode','menuBar:aiQuickActions','filter','french','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','portuguese','editing','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE','_quickActionsDefinition','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','_prepareQuickActionsDefinition','_getDefaultAndCustomActions','locale','menuitem','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','german','chat-commands','1980215MtHrwT','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','3654288XSnDoS','AI_QUICK_ACTIONS_MORE_DIRECT','English','AI_QUICK_ACTIONS_MAKE_SHORTER','map','ACTION','label','actions','push','italian','AIQuickActionsUI','improve-writing','other','children','AI_QUICK_ACTIONS_OTHER','_initializeQuickActionsComponents','attachToDom','translate-to-korean','change-tone','_initializeQuickActionsComponentsAndCommands','japanese','ai.quickActions.removeCommands','english','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_EXPLAIN','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','add','close','find','aiQuickActions','buttonView','menuBarView','translate','has','editor','DisplayNames','AI_QUICK_ACTIONS_MAKE_LONGER','view','11326770OVwayX','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','language','execute','1398524zGNqAU','set','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate-to-japanese','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','translate-to-russian','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','config','init','AI_QUICK_ACTIONS_ASK_AI','make-tone-professional','make-shorter','componentFactory','_shouldIncludeAction'];_0x2dbe=function(){return _0x48c372;};return _0x2dbe();}const te=_0x3d938d(0x1e6),ee=_0x3d938d(0x204),ie=_0x3d938d(0x202);export var AIQuickActionType;!function(_0x319df8){const _0x47b0a4=_0x3d938d;_0x319df8[_0x47b0a4(0x195)]=_0x47b0a4(0x195),_0x319df8[_0x47b0a4(0x1f0)]=_0x47b0a4(0x1f0),_0x319df8[_0x47b0a4(0x1ba)]=_0x47b0a4(0x1ba);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x1b80d7){const _0x27c076=_0x3d938d;_0x1b80d7[_0x27c076(0x195)]=_0x27c076(0x1ad),_0x1b80d7[_0x27c076(0x1f0)]=_0x27c076(0x224),_0x1b80d7[_0x27c076(0x1ba)]=_0x27c076(0x1d6);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x2770df{static get[_0x3d938d(0x1c9)](){return[_0x550800];}static get[_0x3d938d(0x1b0)](){const _0x3eb1ac=_0x3d938d;return _0x3eb1ac(0x1f5);}static get[_0x3d938d(0x1bb)](){return!0x0;}static get[_0x3d938d(0x1c2)](){return!0x0;}[_0x3d938d(0x21d)](){const _0x31c361=_0x3d938d;this[_0x31c361(0x1e2)](this[_0x31c361(0x1e3)]()),this[_0x31c361(0x1fe)]();}static[_0x3d938d(0x1bd)](_0x2aae96){return function(_0x206590){const _0x15892c=_0x5d21,_0x435ecf=new Intl[(_0x15892c(0x20e))](['en'],{'type':_0x15892c(0x213)})['of'](_0x206590[_0x15892c(0x1b9)]),_0x3b8a13=_0x435ecf||_0x15892c(0x1ed),_0xa92289=[{'id':_0x15892c(0x1b1),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x21e)),'type':AIQuickActionType[_0x15892c(0x195)],'icon':_0x3a87db},{'id':_0x15892c(0x1e8),'label':_0x1374e8(_0x206590,_0x15892c(0x197)),'icon':_0x52c66c,'actions':[{'id':_0x15892c(0x1a4),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x203)),'prompt':te[_0x15892c(0x1a7)]('%0',_0x3b8a13),'type':AIQuickActionType[_0x15892c(0x195)]},{'id':_0x15892c(0x1cd),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1a5)),'prompt':ee[_0x15892c(0x1a7)]('%0',_0x3b8a13),'type':AIQuickActionType[_0x15892c(0x195)]},{'id':_0x15892c(0x1bf),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1e1)),'prompt':ie[_0x15892c(0x1a7)]('%0',_0x3b8a13),'type':AIQuickActionType[_0x15892c(0x195)]}]},{'id':_0x15892c(0x1f6),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x225)),'type':AIQuickActionType[_0x15892c(0x1f0)],'icon':_0x46204a},{'id':_0x15892c(0x198),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1b3)),'type':AIQuickActionType[_0x15892c(0x1f0)],'icon':_0x457147},{'id':_0x15892c(0x19e),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1da)),'type':AIQuickActionType[_0x15892c(0x1f0)],'icon':_0x73d73e},{'id':_0x15892c(0x1dd),'label':_0x1374e8(_0x206590,_0x15892c(0x217)),'icon':_0x11157a,'actions':[{'id':_0x15892c(0x220),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1ee)),'type':AIQuickActionType[_0x15892c(0x1f0)]},{'id':_0x15892c(0x1af),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x20f)),'type':AIQuickActionType[_0x15892c(0x1f0)]}]},{'id':_0x15892c(0x1fd),'label':_0x1374e8(_0x206590,_0x15892c(0x1d2)),'icon':_0x54a18c,'actions':[{'id':_0x15892c(0x1b5),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1bc)),'type':AIQuickActionType[_0x15892c(0x1f0)]},{'id':_0x15892c(0x1a3),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1ec)),'type':AIQuickActionType[_0x15892c(0x1f0)]},{'id':_0x15892c(0x1cc),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1c5)),'type':AIQuickActionType[_0x15892c(0x1f0)]},{'id':_0x15892c(0x1c1),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x19c)),'type':AIQuickActionType[_0x15892c(0x1f0)]},{'id':_0x15892c(0x21f),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1c3)),'type':AIQuickActionType[_0x15892c(0x1f0)]}]},{'id':_0x15892c(0x20b),'label':_0x1374e8(_0x206590,_0x15892c(0x1df)),'icon':_0x330b45,'actions':[{'id':_0x15892c(0x1a6),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1b4)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x201)}},{'id':_0x15892c(0x1cf),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1de)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x22a)}},{'id':_0x15892c(0x1c4),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1d1)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1b2)}},{'id':_0x15892c(0x1c8),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x212)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1e7)}},{'id':_0x15892c(0x1be),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x199)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1d9)}},{'id':_0x15892c(0x218),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x194)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1ff)}},{'id':_0x15892c(0x1d3),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1ea)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1db)}},{'id':_0x15892c(0x1fc),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1c0)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1d5)}},{'id':_0x15892c(0x1ce),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x219)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1f4)}},{'id':_0x15892c(0x21a),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x21b)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1c7)}}]},{'id':_0x15892c(0x1f7),'label':_0x1374e8(_0x206590,_0x15892c(0x1f9)),'icon':_0x180529,'actions':[]}];return _0xa92289;}(_0x2aae96);}[_0x3d938d(0x1e3)](){const _0x1bbb63=_0x3d938d,_0x2f38d3=AIQuickActionsUI[_0x1bbb63(0x1bd)](this[_0x1bbb63(0x20d)][_0x1bbb63(0x1e4)]),_0x50e85e=(this[_0x1bbb63(0x20d)][_0x1bbb63(0x21c)][_0x1bbb63(0x19b)](_0x1bbb63(0x1a0))||[])[_0x1bbb63(0x1ef)](_0x5970a5=>({..._0x5970a5,'icon':void 0x0}));return _0x2f38d3[_0x1bbb63(0x207)](_0x327da0=>_0x1bbb63(0x1f7)===_0x327da0['id'])[_0x1bbb63(0x1f2)][_0x1bbb63(0x1f3)](..._0x50e85e),_0x2f38d3;}[_0x3d938d(0x1fe)](){const _0x273c8e=_0x3d938d,_0x2c9197=new _0x393ded(this[_0x273c8e(0x20d)][_0x273c8e(0x1e4)]);_0x2c9197[_0x273c8e(0x1fb)](),this[_0x273c8e(0x1ae)](_0x2c9197),this[_0x273c8e(0x1c6)](),this[_0x273c8e(0x1fa)](_0x2c9197);}[_0x3d938d(0x1ae)](_0x1674ed){const _0x5bd083=_0x3d938d;this[_0x5bd083(0x20d)]['ui'][_0x5bd083(0x221)][_0x5bd083(0x205)](_0x5bd083(0x208),_0xba5f5(this[_0x5bd083(0x20d)],this[_0x5bd083(0x1e0)],{'icon':_0x17fc05,'label':_0x1374e8(this[_0x5bd083(0x20d)][_0x5bd083(0x1e4)],_0x5bd083(0x196))},_0x1674ed));}[_0x3d938d(0x1e2)](_0x234568){const _0x24ebb7=_0x3d938d;this[_0x24ebb7(0x1e0)]=_0x234568[_0x24ebb7(0x1ef)](_0x3828a7=>{const _0x6978a9=_0x24ebb7;if(_0x6978a9(0x1f2)in _0x3828a7){const _0x288e63=_0x3828a7;return{..._0x288e63,'actions':_0x288e63[_0x6978a9(0x1f2)][_0x6978a9(0x1ef)](_0x30e334=>{const {actions:_0x4d9fb7,..._0x4e64fb}=_0x288e63;return{..._0x30e334,'parent':_0x4e64fb};})[_0x6978a9(0x1d8)](_0x1d0248=>this[_0x6978a9(0x222)](_0x1d0248))};}return _0x3828a7;})[_0x24ebb7(0x1d8)](_0x26be04=>_0x24ebb7(0x1f2)in _0x26be04?_0x26be04[_0x24ebb7(0x1f2)][_0x24ebb7(0x1b8)]>0x0:this[_0x24ebb7(0x222)](_0x26be04));}[_0x3d938d(0x222)](_0x332d73){const _0x138ee0=_0x3d938d,_0x3de413=this[_0x138ee0(0x20d)][_0x138ee0(0x21c)][_0x138ee0(0x19b)](_0x138ee0(0x200))||[];return this[_0x138ee0(0x20d)][_0x138ee0(0x19d)][_0x138ee0(0x20c)](AIQuickActionTypeToPluginName[_0x332d73[_0x138ee0(0x1b7)]])&&!_0x3de413[_0x138ee0(0x226)](_0x332d73['id']);}[_0x3d938d(0x1fa)](_0xbbb7f8){const _0x1d0eb6=_0x3d938d;this[_0x1d0eb6(0x1e0)][_0x1d0eb6(0x19a)](_0x1bd76b=>{const _0x1f978a=_0x1d0eb6;if(_0x1f978a(0x1f2)in _0x1bd76b){const _0x5c94f6=_0xba5f5(this[_0x1f978a(0x20d)],_0x1bd76b[_0x1f978a(0x1f2)],_0x1bd76b,_0xbbb7f8);this[_0x1f978a(0x20d)]['ui'][_0x1f978a(0x221)][_0x1f978a(0x205)](_0x1bd76b['id'],_0x5c94f6),_0x1bd76b[_0x1f978a(0x1f2)][_0x1f978a(0x19a)](_0x4bdac5=>{const _0x2c7a4b=_0x1f978a,_0x11933f=_0x59e8e9(this[_0x2c7a4b(0x20d)],_0x4bdac5);this[_0x2c7a4b(0x20d)]['ui'][_0x2c7a4b(0x221)][_0x2c7a4b(0x205)](_0x4bdac5['id'],_0x11933f);});}else{const _0x1ef57e=_0x59e8e9(this[_0x1f978a(0x20d)],_0x1bd76b,!0x1,!0x0,!0x1);this[_0x1f978a(0x20d)]['ui'][_0x1f978a(0x221)][_0x1f978a(0x205)](_0x1bd76b['id'],_0x1ef57e);}});}[_0x3d938d(0x1c6)](){const _0x5ab39e=_0x3d938d;this[_0x5ab39e(0x20d)]['ui'][_0x5ab39e(0x221)][_0x5ab39e(0x205)](_0x5ab39e(0x1d7),_0x300f49=>{const _0x2791e=_0x5ab39e,_0x21df35=new _0x17d780(_0x300f49),_0x1e4354=_0x1374e8(_0x300f49,_0x2791e(0x196));_0x21df35[_0x2791e(0x209)][_0x2791e(0x216)]({'label':_0x1e4354,'icon':_0x17fc05});const _0x9b3d39=new _0x10e156(_0x300f49);_0x9b3d39[_0x2791e(0x216)]({'ariaLabel':_0x1e4354,'role':_0x2791e(0x229)}),this[_0x2791e(0x1e0)][_0x2791e(0x19a)](_0x5d6203=>{const _0x30474e=_0x2791e;if(_0x30474e(0x1f2)in _0x5d6203){const _0x51bd9d=_0x5d6203,_0x1c80d0=new _0x31edee(_0x300f49,_0x21df35),_0x41db21=new _0x17d780(_0x300f49),_0x1d8976=new _0x10e156(_0x300f49);_0x41db21[_0x30474e(0x209)][_0x30474e(0x216)]({'label':_0x51bd9d[_0x30474e(0x1f1)],'icon':_0x51bd9d[_0x30474e(0x1ca)]}),_0x51bd9d[_0x30474e(0x1f2)][_0x30474e(0x19a)](_0x20aac3=>{const _0x55b515=_0x30474e,_0x26dfcf=new _0x31edee(_0x300f49,_0x41db21),_0x12830f=new _0x3819da(_0x300f49);_0x12830f[_0x55b515(0x216)]({'label':_0x20aac3[_0x55b515(0x227)],'icon':_0x20aac3[_0x55b515(0x1ca)],'role':_0x55b515(0x1e5)}),_0x12830f['on'](_0x55b515(0x214),()=>{const _0x4a1aef=_0x55b515;this[_0x4a1aef(0x1d4)](_0x20aac3);}),_0x12830f[_0x55b515(0x193)](_0x55b515(0x214))['to'](_0x41db21),_0x26dfcf[_0x55b515(0x1f8)][_0x55b515(0x205)](_0x12830f),_0x1d8976[_0x55b515(0x1b6)][_0x55b515(0x205)](_0x26dfcf);}),_0x41db21[_0x30474e(0x228)][_0x30474e(0x1f8)][_0x30474e(0x205)](_0x1d8976),_0x1c80d0[_0x30474e(0x1f8)][_0x30474e(0x205)](_0x41db21),_0x9b3d39[_0x30474e(0x1b6)][_0x30474e(0x205)](_0x1c80d0);}else{const _0xba632d=_0x5d6203,_0x386a30=new _0x31edee(_0x300f49,_0x21df35),_0x4a41f8=new _0x3819da(_0x300f49);_0x4a41f8[_0x30474e(0x216)]({'label':_0xba632d[_0x30474e(0x227)],'icon':_0xba632d[_0x30474e(0x1ca)],'role':_0x30474e(0x1e5)}),_0x4a41f8['on'](_0x30474e(0x214),()=>{const _0x61bbfb=_0x30474e;this[_0x61bbfb(0x1d4)](_0xba632d);}),_0x4a41f8[_0x30474e(0x193)](_0x30474e(0x214))['to'](_0x21df35),_0x386a30[_0x30474e(0x1f8)][_0x30474e(0x205)](_0x4a41f8),_0x9b3d39[_0x30474e(0x1b6)][_0x30474e(0x205)](_0x386a30);}});const _0x3f4930=Object[_0x2791e(0x1a1)](AIQuickActionTypeToPluginName)[_0x2791e(0x223)](_0x16752e=>this[_0x2791e(0x20d)][_0x2791e(0x19d)][_0x2791e(0x20c)](_0x16752e));return _0x21df35[_0x2791e(0x216)]({'isEnabled':_0x3f4930}),_0x21df35[_0x2791e(0x228)][_0x2791e(0x1f8)][_0x2791e(0x205)](_0x9b3d39),_0x21df35;});}[_0x3d938d(0x1d4)](_0x54e943){const _0x27ce38=_0x3d938d,_0x437f1d=this[_0x27ce38(0x20d)];_0x437f1d[_0x27ce38(0x1dc)][_0x27ce38(0x210)][_0x27ce38(0x1ac)](),_0x437f1d[_0x27ce38(0x1a2)][_0x27ce38(0x214)](_0x27ce38(0x1a9),_0x54e943);const _0x372d17=_0x437f1d['ui'][_0x27ce38(0x210)][_0x27ce38(0x20a)];_0x372d17&&_0x372d17[_0x27ce38(0x206)]&&_0x372d17[_0x27ce38(0x206)]();}}
23
+ const _0x324abe=_0x4163;(function(_0x3cc483,_0x5f4be8){const _0xfc17e=_0x4163,_0x4a3c4d=_0x3cc483();while(!![]){try{const _0x361f75=parseInt(_0xfc17e(0x112))/0x1*(-parseInt(_0xfc17e(0xd5))/0x2)+-parseInt(_0xfc17e(0x160))/0x3*(parseInt(_0xfc17e(0xe1))/0x4)+parseInt(_0xfc17e(0x114))/0x5*(parseInt(_0xfc17e(0x135))/0x6)+parseInt(_0xfc17e(0xf2))/0x7+-parseInt(_0xfc17e(0x15e))/0x8*(parseInt(_0xfc17e(0x167))/0x9)+parseInt(_0xfc17e(0x156))/0xa*(-parseInt(_0xfc17e(0x14f))/0xb)+parseInt(_0xfc17e(0xfe))/0xc;if(_0x361f75===_0x5f4be8)break;else _0x4a3c4d['push'](_0x4a3c4d['shift']());}catch(_0x541283){_0x4a3c4d['push'](_0x4a3c4d['shift']());}}}(_0x39c1,0x97fe1));import{IconAIAdjustLength as _0x254508,IconAIAskAI as _0x24f731,IconAIChangeTone as _0x34ffa9,IconAIChatCommands as _0x212549,IconAIContinueWriting as _0x191889,IconAIGrammarCheck as _0xaef611,IconAIImproveWriting as _0x352611,IconAIOther as _0x44fdfa,IconAIQuickActions as _0x418ef1,IconAITranslate as _0x592dcc}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x12d320}from'ckeditor5/src/core.js';import{getTranslation as _0x3613a8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4e8e1f}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x14f495}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x2ca207,BalloonToolbar as _0x2e136d,MenuBarMenuView as _0x25c3ac,MenuBarMenuListView as _0x21ca6d,MenuBarMenuListItemView as _0x45325e,MenuBarMenuListItemButtonView as _0x4b630c}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Bt=_0x324abe(0x13f),Jt=_0x324abe(0x16d),Vt=_0x324abe(0xf0);export var AIQuickActionType;function _0x4163(_0x1daa07,_0x5b337a){const _0x39c1b3=_0x39c1();return _0x4163=function(_0x4163b7,_0x1c62bc){_0x4163b7=_0x4163b7-0xd4;let _0x3d23c1=_0x39c1b3[_0x4163b7];return _0x3d23c1;},_0x4163(_0x1daa07,_0x5b337a);}!function(_0x2d2b9d){const _0x45aabc=_0x324abe;_0x2d2b9d[_0x45aabc(0x117)]=_0x45aabc(0x117),_0x2d2b9d[_0x45aabc(0x111)]=_0x45aabc(0x111),_0x2d2b9d[_0x45aabc(0x140)]=_0x45aabc(0x140);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x21c663){const _0x55b327=_0x324abe;_0x21c663[_0x55b327(0x117)]=_0x55b327(0x11b),_0x21c663[_0x55b327(0x111)]=_0x55b327(0xe9),_0x21c663[_0x55b327(0x140)]=_0x55b327(0x120);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x39c1(){const _0xee24b3=['AI_QUICK_ACTIONS_TRANSLATE_FRENCH','DisplayNames','buttonView','make-tone-confident','pluginName','AI_QUICK_ACTIONS_EXPLAIN','translate-to-spanish','_executeQuickAction','AI_QUICK_ACTIONS_MORE_CONFIDENT','continue','1396NJAFBz','uiLanguage','get','add','language','close','has','make-tone-friendly','AIActions','make-shorter','children','ai.quickActions.removeCommands','portuguese','ai.quickActions.extraCommands','highlight-key-points','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AIQuickActionsUI','5413737sdJgGF','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','_shouldIncludeAction','displayedPrompt','editor','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE','translate-to-chinese','make-longer','delegate','menuitem','aiQuickActions','23298828yegBDd','set','russian','aiQuickAction','other','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CHAT_COMMANDS','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','init','locale','translate','isOfficialPlugin','AI_QUICK_ACTIONS_SUMMARIZE','isPremiumPlugin','_initializeQuickActionsDropdown','ACTION','7bVaYdK','filter','1637385RVRBoh','chat-commands','translate-to-italian','CHAT','_initializeQuickActionsComponents','translate-to-korean','AI_QUICK_ACTIONS_MAKE_SHORTER','AIChat','_prepareQuickActionsDefinition','panelView','focus','change-tone','AIReviewMode','translate-to-japanese','make-tone-casual','korean','improve-writing','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_HEADING','menu','length','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','spanish','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-english','values','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','summarize','translate-to-portuguese','label','12qQZzFG','_quickActionsDefinition','plugins','chinese','commands','menuBar:aiQuickActions','_initializeQuickActionsComponentsAndCommands','japanese','AI_QUICK_ACTIONS_MORE_FRIENDLY','execute','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','REVIEW','items','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','adjust-length','push','italian','find','map','config','attachToDom','AI_QUICK_ACTIONS_IMPROVE_WRITING','includes','type','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','componentFactory','55ooFtHP','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-russian','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_initializeQuickActionsMenuBar','some','forEach','995050BzEQfx','explain','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','view','translate-to-german','requires','672ieQqsC','editing','7434rKLuvr','replace','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','English','icon','getDefaultQuickActions','69219viEQnb','actions','german','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','make-tone-direct','ask-ai','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','french','211132WUuVXF','english'];_0x39c1=function(){return _0xee24b3;};return _0x39c1();}export class AIQuickActionsUI extends _0x12d320{static get[_0x324abe(0x15d)](){return[_0x2e136d];}static get[_0x324abe(0xdb)](){const _0x4aff2a=_0x324abe;return _0x4aff2a(0xf1);}static get[_0x324abe(0x10d)](){return!0x0;}static get[_0x324abe(0x10f)](){return!0x0;}[_0x324abe(0x10a)](){const _0x9d8f85=_0x324abe;this[_0x9d8f85(0x11c)](this[_0x9d8f85(0x12a)]()),this[_0x9d8f85(0x13b)]();}static[_0x324abe(0x166)](_0xeebc27){return function(_0x3d57ca){const _0x1baf8b=_0x4163,_0x5a0c35=new Intl[(_0x1baf8b(0xd8))](['en'],{'type':_0x1baf8b(0xe5)})['of'](_0x3d57ca[_0x1baf8b(0xe2)]),_0x5850fa=_0x5a0c35||_0x1baf8b(0x164),_0x5ac2a7=[{'id':_0x1baf8b(0x16c),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x158)),'type':AIQuickActionType[_0x1baf8b(0x117)],'icon':_0x24f731},{'id':_0x1baf8b(0x115),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x105)),'icon':_0x212549,'actions':[{'id':_0x1baf8b(0x157),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xdc)),'prompt':Bt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]},{'id':_0x1baf8b(0x132),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x10e)),'prompt':Jt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]},{'id':_0x1baf8b(0xef),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x15a)),'prompt':Vt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]}]},{'id':_0x1baf8b(0x124),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x14a)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0x352611},{'id':_0x1baf8b(0xe0),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x103)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0x191889},{'id':_0x1baf8b(0x162),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xf3)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0xaef611},{'id':_0x1baf8b(0x143),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12c)),'icon':_0x254508,'actions':[{'id':_0x1baf8b(0xea),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x11a)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xfa),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x150)),'type':AIQuickActionType[_0x1baf8b(0x111)]}]},{'id':_0x1baf8b(0x11f),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x126)),'icon':_0x34ffa9,'actions':[{'id':_0x1baf8b(0x122),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12e)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0x16b),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x104)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xe8),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x13d)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xda),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xdf)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xf7),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x125)),'type':AIQuickActionType[_0x1baf8b(0x111)]}]},{'id':_0x1baf8b(0x10c),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0xf8)),'icon':_0x592dcc,'actions':[{'id':_0x1baf8b(0x12f),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x152)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xd6)}},{'id':_0x1baf8b(0xf9),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12b)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x138)}},{'id':_0x1baf8b(0xdd),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x142)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x12d)}},{'id':_0x1baf8b(0x15c),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x131)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x169)}},{'id':_0x1baf8b(0x108),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xd7)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xd4)}},{'id':_0x1baf8b(0x121),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x14d)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x13c)}},{'id':_0x1baf8b(0x133),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x107)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xed)}},{'id':_0x1baf8b(0x119),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x109)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x123)}},{'id':_0x1baf8b(0x116),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x16a)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x145)}},{'id':_0x1baf8b(0x151),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x163)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x100)}}]},{'id':_0x1baf8b(0x102),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x159)),'icon':_0x44fdfa,'actions':[]}];return _0x5ac2a7;}(_0xeebc27);}[_0x324abe(0x12a)](){const _0x7eede9=_0x324abe,_0x58e3ef=AIQuickActionsUI[_0x7eede9(0x166)](this[_0x7eede9(0xf6)][_0x7eede9(0x10b)]),_0x57b4e7=(this[_0x7eede9(0xf6)][_0x7eede9(0x148)][_0x7eede9(0xe3)](_0x7eede9(0xee))||[])[_0x7eede9(0x147)](_0x3412a6=>({..._0x3412a6,'icon':void 0x0}));return _0x58e3ef[_0x7eede9(0x146)](_0x32423b=>_0x7eede9(0x102)===_0x32423b['id'])[_0x7eede9(0x168)][_0x7eede9(0x144)](..._0x57b4e7),_0x58e3ef;}[_0x324abe(0x13b)](){const _0x44c5c1=_0x324abe,_0xc2f981=new _0x2ca207(this[_0x44c5c1(0xf6)][_0x44c5c1(0x10b)]);_0xc2f981[_0x44c5c1(0x149)](),this[_0x44c5c1(0x110)](_0xc2f981),this[_0x44c5c1(0x153)](),this[_0x44c5c1(0x118)](_0xc2f981);}[_0x324abe(0x110)](_0x228cce){const _0x7352c0=_0x324abe;this[_0x7352c0(0xf6)]['ui'][_0x7352c0(0x14e)][_0x7352c0(0xe4)](_0x7352c0(0xfd),_0x4e8e1f(this[_0x7352c0(0xf6)],this[_0x7352c0(0x136)],{'icon':_0x418ef1,'label':_0x3613a8(this[_0x7352c0(0xf6)][_0x7352c0(0x10b)],_0x7352c0(0x127))},_0x228cce));}[_0x324abe(0x11c)](_0xc7da15){const _0x54dd9a=_0x324abe;this[_0x54dd9a(0x136)]=_0xc7da15[_0x54dd9a(0x147)](_0x3d81fd=>{const _0x1a2ad0=_0x54dd9a;if(_0x1a2ad0(0x168)in _0x3d81fd){const _0x4231d4=_0x3d81fd;return{..._0x4231d4,'actions':_0x4231d4[_0x1a2ad0(0x168)][_0x1a2ad0(0x147)](_0xcbbdca=>{const {actions:_0x3de6bd,..._0x44a343}=_0x4231d4;return{..._0xcbbdca,'parent':_0x44a343};})[_0x1a2ad0(0x113)](_0x5583a6=>this[_0x1a2ad0(0xf4)](_0x5583a6))};}return _0x3d81fd;})[_0x54dd9a(0x113)](_0x41d3f7=>_0x54dd9a(0x168)in _0x41d3f7?_0x41d3f7[_0x54dd9a(0x168)][_0x54dd9a(0x129)]>0x0:this[_0x54dd9a(0xf4)](_0x41d3f7));}[_0x324abe(0xf4)](_0x35ffe7){const _0xf44fd9=_0x324abe,_0x144fef=this[_0xf44fd9(0xf6)][_0xf44fd9(0x148)][_0xf44fd9(0xe3)](_0xf44fd9(0xec))||[];return this[_0xf44fd9(0xf6)][_0xf44fd9(0x137)][_0xf44fd9(0xe7)](AIQuickActionTypeToPluginName[_0x35ffe7[_0xf44fd9(0x14c)]])&&!_0x144fef[_0xf44fd9(0x14b)](_0x35ffe7['id']);}[_0x324abe(0x118)](_0xe044f8){const _0x2dca1b=_0x324abe;this[_0x2dca1b(0x136)][_0x2dca1b(0x155)](_0x221711=>{const _0x22052e=_0x2dca1b;if(_0x22052e(0x168)in _0x221711){const _0x4dd335=_0x4e8e1f(this[_0x22052e(0xf6)],_0x221711[_0x22052e(0x168)],_0x221711,_0xe044f8);this[_0x22052e(0xf6)]['ui'][_0x22052e(0x14e)][_0x22052e(0xe4)](_0x221711['id'],_0x4dd335),_0x221711[_0x22052e(0x168)][_0x22052e(0x155)](_0x3447eb=>{const _0x39e97e=_0x22052e,_0x4a429c=_0x14f495(this[_0x39e97e(0xf6)],_0x3447eb);this[_0x39e97e(0xf6)]['ui'][_0x39e97e(0x14e)][_0x39e97e(0xe4)](_0x3447eb['id'],_0x4a429c);});}else{const _0x370cb7=_0x14f495(this[_0x22052e(0xf6)],_0x221711,!0x1,!0x0,!0x1);this[_0x22052e(0xf6)]['ui'][_0x22052e(0x14e)][_0x22052e(0xe4)](_0x221711['id'],_0x370cb7);}});}[_0x324abe(0x153)](){const _0x5b5c15=_0x324abe;this[_0x5b5c15(0xf6)]['ui'][_0x5b5c15(0x14e)][_0x5b5c15(0xe4)](_0x5b5c15(0x13a),_0x4889d9=>{const _0x40ec80=_0x5b5c15,_0x53c082=new _0x25c3ac(_0x4889d9),_0x2f4323=_0x3613a8(_0x4889d9,_0x40ec80(0x127));_0x53c082[_0x40ec80(0xd9)][_0x40ec80(0xff)]({'label':_0x2f4323,'icon':_0x418ef1});const _0x3d51ee=new _0x21ca6d(_0x4889d9);_0x3d51ee[_0x40ec80(0xff)]({'ariaLabel':_0x2f4323,'role':_0x40ec80(0x128)}),this[_0x40ec80(0x136)][_0x40ec80(0x155)](_0xc08101=>{const _0x2c8011=_0x40ec80;if(_0x2c8011(0x168)in _0xc08101){const _0x1f5203=_0xc08101,_0x390662=new _0x45325e(_0x4889d9,_0x53c082),_0x428055=new _0x25c3ac(_0x4889d9),_0x58db9d=new _0x21ca6d(_0x4889d9);_0x428055[_0x2c8011(0xd9)][_0x2c8011(0xff)]({'label':_0x1f5203[_0x2c8011(0x134)],'icon':_0x1f5203[_0x2c8011(0x165)]}),_0x1f5203[_0x2c8011(0x168)][_0x2c8011(0x155)](_0x4eab46=>{const _0x443d37=_0x2c8011,_0x36f758=new _0x45325e(_0x4889d9,_0x428055),_0x3ee9b0=new _0x4b630c(_0x4889d9);_0x3ee9b0[_0x443d37(0xff)]({'label':_0x4eab46[_0x443d37(0xf5)],'icon':_0x4eab46[_0x443d37(0x165)],'role':_0x443d37(0xfc)}),_0x3ee9b0['on'](_0x443d37(0x13e),()=>{const _0x489871=_0x443d37;this[_0x489871(0xde)](_0x4eab46);}),_0x3ee9b0[_0x443d37(0xfb)](_0x443d37(0x13e))['to'](_0x428055),_0x36f758[_0x443d37(0xeb)][_0x443d37(0xe4)](_0x3ee9b0),_0x58db9d[_0x443d37(0x141)][_0x443d37(0xe4)](_0x36f758);}),_0x428055[_0x2c8011(0x11d)][_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x58db9d),_0x390662[_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x428055),_0x3d51ee[_0x2c8011(0x141)][_0x2c8011(0xe4)](_0x390662);}else{const _0x810244=_0xc08101,_0x347202=new _0x45325e(_0x4889d9,_0x53c082),_0x5861f0=new _0x4b630c(_0x4889d9);_0x5861f0[_0x2c8011(0xff)]({'label':_0x810244[_0x2c8011(0xf5)],'icon':_0x810244[_0x2c8011(0x165)],'role':_0x2c8011(0xfc)}),_0x5861f0['on'](_0x2c8011(0x13e),()=>{const _0x452beb=_0x2c8011;this[_0x452beb(0xde)](_0x810244);}),_0x5861f0[_0x2c8011(0xfb)](_0x2c8011(0x13e))['to'](_0x53c082),_0x347202[_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x5861f0),_0x3d51ee[_0x2c8011(0x141)][_0x2c8011(0xe4)](_0x347202);}});const _0x54271c=Object[_0x40ec80(0x130)](AIQuickActionTypeToPluginName)[_0x40ec80(0x154)](_0x27a620=>this[_0x40ec80(0xf6)][_0x40ec80(0x137)][_0x40ec80(0xe7)](_0x27a620));return _0x53c082[_0x40ec80(0xff)]({'isEnabled':_0x54271c}),_0x53c082[_0x40ec80(0x11d)][_0x40ec80(0xeb)][_0x40ec80(0xe4)](_0x3d51ee),_0x53c082;});}[_0x324abe(0xde)](_0x2bd0cb){const _0x4ed14d=_0x324abe,_0x4410b1=this[_0x4ed14d(0xf6)];_0x4410b1[_0x4ed14d(0x15f)][_0x4ed14d(0x15b)][_0x4ed14d(0x11e)](),_0x4410b1[_0x4ed14d(0x139)][_0x4ed14d(0x13e)](_0x4ed14d(0x101),_0x2bd0cb);const _0x50e1b3=_0x4410b1['ui'][_0x4ed14d(0x15b)][_0x4ed14d(0x106)];_0x50e1b3&&_0x50e1b3[_0x4ed14d(0xe6)]&&_0x50e1b3[_0x4ed14d(0xe6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x12a8a9,_0x46ccf8){const _0x5a499c=_0x5b5d,_0x3009c6=_0x12a8a9();while(!![]){try{const _0x10a776=-parseInt(_0x5a499c(0x115))/0x1*(parseInt(_0x5a499c(0x11a))/0x2)+-parseInt(_0x5a499c(0x109))/0x3*(parseInt(_0x5a499c(0x113))/0x4)+-parseInt(_0x5a499c(0x110))/0x5*(-parseInt(_0x5a499c(0x123))/0x6)+-parseInt(_0x5a499c(0x11e))/0x7*(parseInt(_0x5a499c(0x111))/0x8)+parseInt(_0x5a499c(0x122))/0x9*(-parseInt(_0x5a499c(0x121))/0xa)+parseInt(_0x5a499c(0x120))/0xb*(parseInt(_0x5a499c(0x11c))/0xc)+parseInt(_0x5a499c(0x116))/0xd;if(_0x10a776===_0x46ccf8)break;else _0x3009c6['push'](_0x3009c6['shift']());}catch(_0x4de591){_0x3009c6['push'](_0x3009c6['shift']());}}}(_0x5763,0x5f65b));import{ButtonView as _0x16423b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2ba2ce}from'@ckeditor/ckeditor5-icons';function _0x5b5d(_0x10b187,_0x3ce993){const _0x57632f=_0x5763();return _0x5b5d=function(_0x5b5d26,_0x16303c){_0x5b5d26=_0x5b5d26-0x109;let _0x456734=_0x57632f[_0x5b5d26];return _0x456734;},_0x5b5d(_0x10b187,_0x3ce993);}export function aiQuickActionsButtonCreator(_0x140d09,_0xe81f71,_0x65398b=!0x1,_0x139c7b=!0x0,_0x56e57b=!0x0){return()=>{const _0x5cd27c=_0x5b5d,_0x2faf6f=_0x140d09[_0x5cd27c(0x112)],_0x52a422=new _0x16423b(_0x2faf6f),_0x47560f=_0x52a422[_0x5cd27c(0x11d)];_0x56e57b&&_0x52a422[_0x5cd27c(0x114)]({'on':{'mouseenter':_0x47560f['to'](()=>{const _0x30c237=_0x5cd27c;_0x52a422[_0x30c237(0x10d)]();})}});const _0xb42d26=_0xe81f71[_0x5cd27c(0x10b)]??_0xe81f71[_0x5cd27c(0x11f)]?.[_0x5cd27c(0x10b)];return _0x52a422[_0x5cd27c(0x10c)]({'label':_0xe81f71[_0x5cd27c(0x10e)],'withText':_0x65398b,'role':_0x5cd27c(0x117),'icon':_0x139c7b?_0xb42d26??_0x2ba2ce:void 0x0,'tooltip':!_0x65398b,'class':_0x5cd27c(0x10f)}),_0x52a422['on'](_0x5cd27c(0x119),()=>{const _0x122396=_0x5cd27c;_0x140d09[_0x122396(0x124)][_0x122396(0x11b)][_0x122396(0x10d)](),_0x140d09[_0x122396(0x118)][_0x122396(0x119)](_0x122396(0x10a),_0xe81f71);}),_0x52a422;};}function _0x5763(){const _0xf819a2=['3751974emWLgf','30KnyAHd','editing','1042395siWflw','aiQuickAction','icon','set','focus','displayedPrompt','ck-ai-quick-actions-button','472495ZMAchA','368DDUPBw','locale','4AsttvE','extendTemplate','535810Djlrzd','24409710fvxUdl','menuitem','commands','execute','2wabKws','view','106452HOzvQP','bindTemplate','115171FZovef','parent','121CbAsJg','10eQzrRD'];_0x5763=function(){return _0xf819a2;};return _0x5763();}
23
+ (function(_0x47a4f9,_0x49813f){const _0x1758cb=_0x5d0e,_0x13ba92=_0x47a4f9();while(!![]){try{const _0xb52799=-parseInt(_0x1758cb(0x164))/0x1+parseInt(_0x1758cb(0x154))/0x2+-parseInt(_0x1758cb(0x15d))/0x3+parseInt(_0x1758cb(0x156))/0x4*(parseInt(_0x1758cb(0x161))/0x5)+-parseInt(_0x1758cb(0x157))/0x6+parseInt(_0x1758cb(0x15a))/0x7*(parseInt(_0x1758cb(0x160))/0x8)+parseInt(_0x1758cb(0x15c))/0x9;if(_0xb52799===_0x49813f)break;else _0x13ba92['push'](_0x13ba92['shift']());}catch(_0xb40007){_0x13ba92['push'](_0x13ba92['shift']());}}}(_0x60c7,0xf40aa));function _0x60c7(){const _0x402f6c=['commands','ck-ai-quick-actions-button','2382604goGKTe','editing','16qAkwHN','1586208HcvPSl','view','icon','193193GwBfwX','locale','7250886JcjuDy','2144556hwBIjx','displayedPrompt','bindTemplate','64Iipgyi','926995KjuiIn','menuitem','set','980530ncEGGD','focus','aiQuickAction','parent','extendTemplate','execute'];_0x60c7=function(){return _0x402f6c;};return _0x60c7();}import{ButtonView as _0x4a0f04}from'ckeditor5/src/ui.js';function _0x5d0e(_0x2b3807,_0x5355ca){const _0x60c792=_0x60c7();return _0x5d0e=function(_0x5d0e7c,_0x52a52f){_0x5d0e7c=_0x5d0e7c-0x150;let _0x19fa82=_0x60c792[_0x5d0e7c];return _0x19fa82;},_0x5d0e(_0x2b3807,_0x5355ca);}import{IconAIQuickActions as _0x1306f4}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x246758,_0x513900,_0x39242a=!0x1,_0x2bdaea=!0x0,_0x303c56=!0x0){return()=>{const _0xaadaed=_0x5d0e,_0x289bb5=_0x246758[_0xaadaed(0x15b)],_0x1df24b=new _0x4a0f04(_0x289bb5),_0x5b569c=_0x1df24b[_0xaadaed(0x15f)];_0x303c56&&_0x1df24b[_0xaadaed(0x150)]({'on':{'mouseenter':_0x5b569c['to'](()=>{const _0x24deb3=_0xaadaed;_0x1df24b[_0x24deb3(0x165)]();})}});const _0x1010ed=_0x513900[_0xaadaed(0x159)]??_0x513900[_0xaadaed(0x167)]?.[_0xaadaed(0x159)];return _0x1df24b[_0xaadaed(0x163)]({'label':_0x513900[_0xaadaed(0x15e)],'withText':_0x39242a,'role':_0xaadaed(0x162),'icon':_0x2bdaea?_0x1010ed??_0x1306f4:void 0x0,'tooltip':!_0x39242a,'class':_0xaadaed(0x153)}),_0x1df24b['on'](_0xaadaed(0x151),()=>{const _0x7f0606=_0xaadaed;_0x246758[_0x7f0606(0x155)][_0x7f0606(0x158)][_0x7f0606(0x165)](),_0x246758[_0x7f0606(0x152)][_0x7f0606(0x151)](_0x7f0606(0x166),_0x513900);}),_0x1df24b;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33887d=_0x562c;(function(_0x4528a5,_0x4e0577){const _0x1bc01a=_0x562c,_0x37e98a=_0x4528a5();while(!![]){try{const _0xdb16e2=-parseInt(_0x1bc01a(0x208))/0x1*(-parseInt(_0x1bc01a(0x21e))/0x2)+-parseInt(_0x1bc01a(0x200))/0x3+parseInt(_0x1bc01a(0x1f6))/0x4*(parseInt(_0x1bc01a(0x213))/0x5)+parseInt(_0x1bc01a(0x20c))/0x6*(parseInt(_0x1bc01a(0x20b))/0x7)+parseInt(_0x1bc01a(0x21b))/0x8+-parseInt(_0x1bc01a(0x1f7))/0x9*(-parseInt(_0x1bc01a(0x1e3))/0xa)+parseInt(_0x1bc01a(0x22a))/0xb*(-parseInt(_0x1bc01a(0x1e6))/0xc);if(_0xdb16e2===_0x4e0577)break;else _0x37e98a['push'](_0x37e98a['shift']());}catch(_0x494944){_0x37e98a['push'](_0x37e98a['shift']());}}}(_0x19f1,0x19f6c));import{View as _0x44f5a7,ListItemView as _0x131325,ListView as _0x5ac113,BalloonPanelView as _0x220413,DropdownMenuPanelPositioningFunctions as _0x37eaab,DropdownMenuButtonView as _0xe2b6e7,ViewCollection as _0xb6773f,FocusCycler as _0x4fe42a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xd5097c}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x240d8d,KeystrokeHandler as _0x445e52}from'ckeditor5/src/utils.js';function _0x19f1(){const _0x5eb7b2=['delete','763nwojUX','5766mSpuvI','_bodyCollection','mouseleave','uiLanguageDirection','_setupGroupMenuBehavior','_createListItems','set','2195LsEjPZ','keystrokes','_hideNestedPanel','add','focusCycler','bindTemplate','rtl','addEventListener','711640akxXar','isOn','menuitem','2SzQNxP','_openNestedPanels','hide','ck-rounded-corners','_createGroupActionsList','content','_createActionGroupButton','ck-ai-quick-actions-group-panel','forEach','eastSouth','closest','.ck-ai-quick-actions-group-panel','88TLiCZk','_isMovingToNestedMenu','div','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-group-list','role','detachFromDom','_focusables','focus','ck-dropdown-menu__nested-menu__panel','_showNestedPanel','10hqpRqi','bind','ArrowRight','703608UXQzcd','ck-ai-quick-actions','key','focusTracker','pin','label','clear','isVisible','ck-reset_all','extendTemplate','locale','relatedTarget','items','destroy','icon','contains','1644dzFnNr','152253qjbTYZ','optionsListView','get','.ck-ai-quick-actions-group-button','element','setTemplate','_createActionButton','menu','render','57567MjlEIg','ck-dropdown-menu-list','ck-ai-quick-actions-group-button','children','actions','show','_hideAllNestedPanels','addMany','203559HKrTNf','ArrowLeft'];_0x19f1=function(){return _0x5eb7b2;};return _0x19f1();}import{aiQuickActionsButtonCreator as _0xa6092f}from'./aiquickactionsbuttoncreator.js';const Ls=_0x33887d(0x1fe),Ns=_0x33887d(0x21d);function _0x562c(_0x125385,_0x1c71f0){const _0x19f10c=_0x19f1();return _0x562c=function(_0x562caf,_0x43e524){_0x562caf=_0x562caf-0x1df;let _0x41b0d3=_0x19f10c[_0x562caf];return _0x41b0d3;},_0x562c(_0x125385,_0x1c71f0);}export class AIQuickActionsDropdownContentView extends _0x44f5a7{[_0x33887d(0x20d)];[_0x33887d(0x1f8)];[_0x33887d(0x1e9)];[_0x33887d(0x214)];[_0x33887d(0x1df)];[_0x33887d(0x217)];[_0x33887d(0x21f)]=new Set();constructor(_0x25516b,_0x47e4bc,_0x59e578,_0x3bb9ca){const _0x1ec02b=_0x33887d,_0x54d7a3=_0x25516b[_0x1ec02b(0x1f0)];super(_0x54d7a3),this[_0x1ec02b(0x20d)]=_0x3bb9ca;const _0x59b602=this[_0x1ec02b(0x211)](_0x25516b,_0x47e4bc,_0x59e578);this[_0x1ec02b(0x1f8)]=new _0x5ac113(_0x54d7a3),this[_0x1ec02b(0x1f8)][_0x1ec02b(0x22f)]=Ls,this[_0x1ec02b(0x1f8)][_0x1ec02b(0x1f2)][_0x1ec02b(0x207)](_0x59b602),this[_0x1ec02b(0x1e9)]=new _0x240d8d(),this[_0x1ec02b(0x214)]=new _0x445e52(),this[_0x1ec02b(0x1df)]=_0x59b602,this[_0x1ec02b(0x217)]=new _0x4fe42a({'focusables':this[_0x1ec02b(0x1df)],'focusTracker':this[_0x1ec02b(0x1e9)],'keystrokeHandler':this[_0x1ec02b(0x214)]}),this[_0x1ec02b(0x1fc)]({'tag':_0x1ec02b(0x22c),'attributes':{'class':['ck',_0x1ec02b(0x1ee),_0x1ec02b(0x1e7),_0x1ec02b(0x221)],'dir':_0x54d7a3[_0x1ec02b(0x20f)]},'children':[this[_0x1ec02b(0x1f8)]]});}[_0x33887d(0x211)](_0x12c22f,_0x1e5ceb,_0x2be9ac){const _0x1b8b0f=_0x33887d,_0x5bea74=new _0xb6773f();return _0x1e5ceb[_0x1b8b0f(0x226)](_0x13dbed=>{const _0x57426a=_0x1b8b0f;_0x57426a(0x204)in _0x13dbed?_0x5bea74[_0x57426a(0x216)](this[_0x57426a(0x224)](_0x12c22f,_0x13dbed,_0x2be9ac)):_0x5bea74[_0x57426a(0x216)](this[_0x57426a(0x1fd)](_0x12c22f,_0x13dbed));}),_0x5bea74;}[_0x33887d(0x1fd)](_0x2237d7,_0x57e10c){const _0x137cc6=_0x33887d,_0x17afdb=new _0x131325(this[_0x137cc6(0x1f0)]),_0x59abac=_0xa6092f(_0x2237d7,_0x57e10c,!0x0,void 0x0!==_0x57e10c[_0x137cc6(0x1f4)])();return _0x17afdb[_0x137cc6(0x203)][_0x137cc6(0x216)](_0x59abac),_0x17afdb;}[_0x33887d(0x224)](_0x49617a,_0x5863bc,_0x45ed2b){const _0x3d8c74=_0x33887d,_0x3c5305=new _0x131325(this[_0x3d8c74(0x1f0)]),_0x3ca20c=new _0xe2b6e7(this[_0x3d8c74(0x1f0)]),_0x2a135d=_0x3ca20c[_0x3d8c74(0x218)],_0x5af1bd=_0x3d8c74(0x219)===_0x45ed2b[_0x3d8c74(0x1f0)][_0x3d8c74(0x20f)]?_0x3d8c74(0x1e5):_0x3d8c74(0x209),_0x19da66=this[_0x3d8c74(0x222)](_0x49617a,_0x5863bc[_0x3d8c74(0x204)],_0x45ed2b);_0x3ca20c[_0x3d8c74(0x212)]({'label':_0x5863bc[_0x3d8c74(0x1eb)],'withText':!0x0,'role':Ns,'icon':_0x5863bc[_0x3d8c74(0x1f4)]??_0xd5097c}),_0x3ca20c[_0x3d8c74(0x1ef)]({'on':{'mouseenter':_0x2a135d['to'](()=>{const _0x251ec8=_0x3d8c74;_0x3ca20c[_0x251ec8(0x1e0)]();})}});const _0x284d72=new _0x220413(this[_0x3d8c74(0x1f0)]);return _0x284d72[_0x3d8c74(0x1ef)]({'attributes':{'class':['ck',_0x3d8c74(0x1ee),_0x3d8c74(0x225),_0x3d8c74(0x1e1)]},'on':{'keydown':_0x2a135d['to'](_0x506dc7=>{const _0x1615d9=_0x3d8c74;_0x506dc7[_0x1615d9(0x1e8)]==_0x5af1bd&&(_0x3ca20c[_0x1615d9(0x1e0)](),this[_0x1615d9(0x215)](_0x284d72));})}}),_0x3ca20c[_0x3d8c74(0x1e4)](_0x3d8c74(0x21c))['to'](_0x284d72,_0x3d8c74(0x1ed)),this[_0x3d8c74(0x20d)][_0x3d8c74(0x216)](_0x284d72),_0x284d72[_0x3d8c74(0x223)][_0x3d8c74(0x216)](_0x19da66),this[_0x3d8c74(0x210)](_0x3ca20c,_0x284d72),_0x3c5305[_0x3d8c74(0x203)][_0x3d8c74(0x216)](_0x3ca20c),_0x3c5305;}[_0x33887d(0x222)](_0x4550fc,_0x34b370,_0x4c38ae){const _0x298b3b=_0x33887d,_0x4c79e6=new _0x5ac113(this[_0x298b3b(0x1f0)]);return _0x4c79e6[_0x298b3b(0x1ef)]({'attributes':{'class':['ck',_0x298b3b(0x1ee),_0x298b3b(0x22e),_0x298b3b(0x201)]}}),_0x34b370[_0x298b3b(0x226)](_0x2dcd1b=>{const _0x54da51=_0x298b3b,_0x119e6b=new _0x131325(this[_0x54da51(0x1f0)]),_0x34b838=_0xa6092f(_0x4550fc,_0x2dcd1b,!0x0,!0x1)();_0x119e6b[_0x54da51(0x203)][_0x54da51(0x216)](_0x34b838),_0x4c38ae[_0x54da51(0x1e9)][_0x54da51(0x216)](_0x34b838),_0x4c79e6[_0x54da51(0x1f2)][_0x54da51(0x216)](_0x119e6b);}),_0x4c79e6;}[_0x33887d(0x210)](_0x502ce2,_0x1b9cf9){const _0x1c343f=_0x33887d,_0x344128=_0x502ce2[_0x1c343f(0x218)],_0x24c8dd=_0x1c343f(0x219)===_0x502ce2[_0x1c343f(0x1f0)][_0x1c343f(0x20f)]?_0x1c343f(0x209):_0x1c343f(0x1e5);_0x502ce2[_0x1c343f(0x1ef)]({'attributes':{'class':[_0x1c343f(0x202)]},'on':{'mouseenter':_0x344128['to'](()=>{const _0x4fa7de=_0x1c343f;this[_0x4fa7de(0x1e2)](_0x1b9cf9,_0x502ce2);}),'mouseleave':_0x344128['to'](_0x88bfc9=>{const _0x290362=_0x1c343f,_0x4a2358=_0x88bfc9[_0x290362(0x1f1)];this[_0x290362(0x22b)](_0x4a2358,_0x1b9cf9)||this[_0x290362(0x215)](_0x1b9cf9);}),'keydown':_0x344128['to'](_0x20797d=>{const _0x4e1aaa=_0x1c343f;_0x20797d[_0x4e1aaa(0x1e8)]==_0x24c8dd&&(this[_0x4e1aaa(0x1e2)](_0x1b9cf9,_0x502ce2),_0x1b9cf9[_0x4e1aaa(0x223)][_0x4e1aaa(0x1f9)](0x0)[_0x4e1aaa(0x1e0)]());})}}),_0x1b9cf9['on'](_0x1c343f(0x1ff),()=>{const _0x4175b0=_0x1c343f;_0x1b9cf9[_0x4175b0(0x1fb)]?.[_0x4175b0(0x21a)](_0x4175b0(0x20e),_0x2cdca1=>{const _0x5a2778=_0x4175b0,_0x2d17d4=_0x2cdca1[_0x5a2778(0x1f1)];_0x502ce2[_0x5a2778(0x1fb)]?.[_0x5a2778(0x1f5)](_0x2d17d4)||this[_0x5a2778(0x22b)](_0x2d17d4,_0x1b9cf9)||this[_0x5a2778(0x215)](_0x1b9cf9);});});}[_0x33887d(0x1e2)](_0x5e286b,_0x24ea9f){const _0xb13b51=_0x33887d;this[_0xb13b51(0x21f)][_0xb13b51(0x226)](_0x2b91f4=>{const _0x31ca0e=_0xb13b51;_0x2b91f4!==_0x5e286b&&_0x2b91f4[_0x31ca0e(0x1ed)]&&_0x2b91f4[_0x31ca0e(0x220)]();}),_0x5e286b[_0xb13b51(0x205)](),_0x5e286b[_0xb13b51(0x1ea)]({'positions':[_0x37eaab[_0xb13b51(0x227)]],'target':_0x24ea9f[_0xb13b51(0x1fb)],'fitInViewport':!0x0}),this[_0xb13b51(0x21f)][_0xb13b51(0x216)](_0x5e286b);}[_0x33887d(0x215)](_0x55631b){const _0x5eb4bf=_0x33887d;_0x55631b[_0x5eb4bf(0x220)](),this[_0x5eb4bf(0x21f)][_0x5eb4bf(0x20a)](_0x55631b);}[_0x33887d(0x206)](){const _0x13f3d4=_0x33887d;this[_0x13f3d4(0x21f)][_0x13f3d4(0x226)](_0x340e81=>_0x340e81[_0x13f3d4(0x220)]()),this[_0x13f3d4(0x21f)][_0x13f3d4(0x1ec)]();}[_0x33887d(0x22b)](_0x37f98b,_0x5101e9){const _0x48f47b=_0x33887d;if(!_0x37f98b)return!0x1;if(_0x5101e9[_0x48f47b(0x1fb)]?.[_0x48f47b(0x1f5)](_0x37f98b))return!0x0;const _0x193707=_0x37f98b;return _0x193707[_0x48f47b(0x228)]&&(null!==_0x193707[_0x48f47b(0x228)](_0x48f47b(0x229))||null!==_0x193707[_0x48f47b(0x228)](_0x48f47b(0x22d))||null!==_0x193707[_0x48f47b(0x228)](_0x48f47b(0x1fa)));}[_0x33887d(0x1f3)](){const _0x530511=_0x33887d;this[_0x530511(0x206)](),this[_0x530511(0x20d)][_0x530511(0x230)](),super[_0x530511(0x1f3)]();}[_0x33887d(0x1e0)](){const _0x46589d=_0x33887d;this[_0x46589d(0x1f8)][_0x46589d(0x1e0)]();}}
23
+ const _0x6506cb=_0x1dcc;(function(_0x34c009,_0x3e8fa9){const _0x318353=_0x1dcc,_0x1983ca=_0x34c009();while(!![]){try{const _0x10e3fe=parseInt(_0x318353(0x1a2))/0x1*(-parseInt(_0x318353(0x174))/0x2)+-parseInt(_0x318353(0x176))/0x3+-parseInt(_0x318353(0x197))/0x4*(parseInt(_0x318353(0x177))/0x5)+-parseInt(_0x318353(0x19f))/0x6+-parseInt(_0x318353(0x185))/0x7*(-parseInt(_0x318353(0x19e))/0x8)+-parseInt(_0x318353(0x1bb))/0x9*(-parseInt(_0x318353(0x17f))/0xa)+parseInt(_0x318353(0x17a))/0xb;if(_0x10e3fe===_0x3e8fa9)break;else _0x1983ca['push'](_0x1983ca['shift']());}catch(_0xac53d){_0x1983ca['push'](_0x1983ca['shift']());}}}(_0x3035,0xaed10));function _0x1dcc(_0x592e91,_0x4cf1d8){const _0x303505=_0x3035();return _0x1dcc=function(_0x1dccc5,_0x2683b3){_0x1dccc5=_0x1dccc5-0x16b;let _0x559183=_0x303505[_0x1dccc5];return _0x559183;},_0x1dcc(_0x592e91,_0x4cf1d8);}import{View as _0x3f891c,ListItemView as _0x57221d,ListView as _0x2b56c4,BalloonPanelView as _0x45215a,DropdownMenuPanelPositioningFunctions as _0x264328,DropdownMenuButtonView as _0x300f47,ViewCollection as _0x2b3470,FocusCycler as _0x116114}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4b8b5e}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x160ee6,KeystrokeHandler as _0x5b49a5}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x355af4}from'./aiquickactionsbuttoncreator.js';const Ls=_0x6506cb(0x17e),Ns=_0x6506cb(0x1a8);export class AIQuickActionsDropdownContentView extends _0x3f891c{[_0x6506cb(0x1a4)];[_0x6506cb(0x179)];[_0x6506cb(0x198)];[_0x6506cb(0x1a6)];[_0x6506cb(0x175)];[_0x6506cb(0x19c)];[_0x6506cb(0x1b9)]=new Set();constructor(_0x5e5b48,_0x45a325,_0x4ade16,_0x464eab){const _0x4ef05c=_0x6506cb,_0x3b953e=_0x5e5b48[_0x4ef05c(0x1ae)];super(_0x3b953e),this[_0x4ef05c(0x1a4)]=_0x464eab;const _0x2a58d6=this[_0x4ef05c(0x18f)](_0x5e5b48,_0x45a325,_0x4ade16);this[_0x4ef05c(0x179)]=new _0x2b56c4(_0x3b953e),this[_0x4ef05c(0x179)][_0x4ef05c(0x184)]=Ls,this[_0x4ef05c(0x179)][_0x4ef05c(0x182)][_0x4ef05c(0x18a)](_0x2a58d6),this[_0x4ef05c(0x198)]=new _0x160ee6(),this[_0x4ef05c(0x1a6)]=new _0x5b49a5(),this[_0x4ef05c(0x175)]=_0x2a58d6,this[_0x4ef05c(0x19c)]=new _0x116114({'focusables':this[_0x4ef05c(0x175)],'focusTracker':this[_0x4ef05c(0x198)],'keystrokeHandler':this[_0x4ef05c(0x1a6)]}),this[_0x4ef05c(0x1b0)]({'tag':_0x4ef05c(0x17d),'attributes':{'class':['ck',_0x4ef05c(0x196),_0x4ef05c(0x16e),_0x4ef05c(0x18d)],'dir':_0x3b953e[_0x4ef05c(0x18b)]},'children':[this[_0x4ef05c(0x179)]]});}[_0x6506cb(0x18f)](_0x426868,_0x26f087,_0x13ec33){const _0x2bf450=_0x6506cb,_0x2445aa=new _0x2b3470();return _0x26f087[_0x2bf450(0x188)](_0x6e83c3=>{const _0x5d4e9b=_0x2bf450;_0x5d4e9b(0x17b)in _0x6e83c3?_0x2445aa[_0x5d4e9b(0x1a0)](this[_0x5d4e9b(0x1a3)](_0x426868,_0x6e83c3,_0x13ec33)):_0x2445aa[_0x5d4e9b(0x1a0)](this[_0x5d4e9b(0x16b)](_0x426868,_0x6e83c3));}),_0x2445aa;}[_0x6506cb(0x16b)](_0x58fa8a,_0xa217b4){const _0xc640be=_0x6506cb,_0x3ed017=new _0x57221d(this[_0xc640be(0x1ae)]),_0x3bca71=_0x355af4(_0x58fa8a,_0xa217b4,!0x0,void 0x0!==_0xa217b4[_0xc640be(0x180)])();return _0x3ed017[_0xc640be(0x1b8)][_0xc640be(0x1a0)](_0x3bca71),_0x3ed017;}[_0x6506cb(0x1a3)](_0x287497,_0x14b861,_0x4ab20e){const _0x2aff89=_0x6506cb,_0x478063=new _0x57221d(this[_0x2aff89(0x1ae)]),_0x486125=new _0x300f47(this[_0x2aff89(0x1ae)]),_0x1be5f7=_0x486125[_0x2aff89(0x181)],_0x2aa4da=_0x2aff89(0x191)===_0x4ab20e[_0x2aff89(0x1ae)][_0x2aff89(0x18b)]?_0x2aff89(0x18e):_0x2aff89(0x190),_0x3214f0=this[_0x2aff89(0x19d)](_0x287497,_0x14b861[_0x2aff89(0x17b)],_0x4ab20e);_0x486125[_0x2aff89(0x192)]({'label':_0x14b861[_0x2aff89(0x16f)],'withText':!0x0,'role':Ns,'icon':_0x14b861[_0x2aff89(0x180)]??_0x4b8b5e}),_0x486125[_0x2aff89(0x1af)]({'on':{'mouseenter':_0x1be5f7['to'](()=>{const _0xee7710=_0x2aff89;_0x486125[_0xee7710(0x1ad)]();})}});const _0x339019=new _0x45215a(this[_0x2aff89(0x1ae)]);return _0x339019[_0x2aff89(0x1af)]({'attributes':{'class':['ck',_0x2aff89(0x196),_0x2aff89(0x193),_0x2aff89(0x17c)]},'on':{'keydown':_0x1be5f7['to'](_0x33525d=>{const _0x14ba25=_0x2aff89;_0x33525d[_0x14ba25(0x1b1)]==_0x2aa4da&&(_0x486125[_0x14ba25(0x1ad)](),this[_0x14ba25(0x1a9)](_0x339019));})}}),_0x486125[_0x2aff89(0x195)](_0x2aff89(0x1b7))['to'](_0x339019,_0x2aff89(0x1b4)),this[_0x2aff89(0x1a4)][_0x2aff89(0x1a0)](_0x339019),_0x339019[_0x2aff89(0x19a)][_0x2aff89(0x1a0)](_0x3214f0),this[_0x2aff89(0x172)](_0x486125,_0x339019),_0x478063[_0x2aff89(0x1b8)][_0x2aff89(0x1a0)](_0x486125),_0x478063;}[_0x6506cb(0x19d)](_0xb5301f,_0x4b8858,_0x478142){const _0xd0fc74=_0x6506cb,_0x448f4c=new _0x2b56c4(this[_0xd0fc74(0x1ae)]);return _0x448f4c[_0xd0fc74(0x1af)]({'attributes':{'class':['ck',_0xd0fc74(0x196),_0xd0fc74(0x1b5),_0xd0fc74(0x1b2)]}}),_0x4b8858[_0xd0fc74(0x188)](_0x518038=>{const _0x59d653=_0xd0fc74,_0x5c78b9=new _0x57221d(this[_0x59d653(0x1ae)]),_0x2caa27=_0x355af4(_0xb5301f,_0x518038,!0x0,!0x1)();_0x5c78b9[_0x59d653(0x1b8)][_0x59d653(0x1a0)](_0x2caa27),_0x478142[_0x59d653(0x198)][_0x59d653(0x1a0)](_0x2caa27),_0x448f4c[_0x59d653(0x182)][_0x59d653(0x1a0)](_0x5c78b9);}),_0x448f4c;}[_0x6506cb(0x172)](_0x338ea6,_0x370258){const _0x409c71=_0x6506cb,_0x346221=_0x338ea6[_0x409c71(0x181)],_0x4605b7=_0x409c71(0x191)===_0x338ea6[_0x409c71(0x1ae)][_0x409c71(0x18b)]?_0x409c71(0x190):_0x409c71(0x18e);_0x338ea6[_0x409c71(0x1af)]({'attributes':{'class':[_0x409c71(0x1ab)]},'on':{'mouseenter':_0x346221['to'](()=>{const _0x59fdb4=_0x409c71;this[_0x59fdb4(0x183)](_0x370258,_0x338ea6);}),'mouseleave':_0x346221['to'](_0x4c805c=>{const _0xaf219=_0x409c71,_0x3eef45=_0x4c805c[_0xaf219(0x1a5)];this[_0xaf219(0x1a1)](_0x3eef45,_0x370258)||this[_0xaf219(0x1a9)](_0x370258);}),'keydown':_0x346221['to'](_0x4aaff7=>{const _0x516e3e=_0x409c71;_0x4aaff7[_0x516e3e(0x1b1)]==_0x4605b7&&(this[_0x516e3e(0x183)](_0x370258,_0x338ea6),_0x370258[_0x516e3e(0x19a)][_0x516e3e(0x19b)](0x0)[_0x516e3e(0x1ad)]());})}}),_0x370258['on'](_0x409c71(0x1aa),()=>{const _0x5bf496=_0x409c71;_0x370258[_0x5bf496(0x186)]?.[_0x5bf496(0x189)](_0x5bf496(0x18c),_0x6e1ea=>{const _0x4d02ec=_0x5bf496,_0x561829=_0x6e1ea[_0x4d02ec(0x1a5)];_0x338ea6[_0x4d02ec(0x186)]?.[_0x4d02ec(0x171)](_0x561829)||this[_0x4d02ec(0x1a1)](_0x561829,_0x370258)||this[_0x4d02ec(0x1a9)](_0x370258);});});}[_0x6506cb(0x183)](_0x4a66cb,_0x3a1c28){const _0x2989f7=_0x6506cb;this[_0x2989f7(0x1b9)][_0x2989f7(0x188)](_0x2cc178=>{const _0x21e09e=_0x2989f7;_0x2cc178!==_0x4a66cb&&_0x2cc178[_0x21e09e(0x1b4)]&&_0x2cc178[_0x21e09e(0x170)]();}),_0x4a66cb[_0x2989f7(0x16c)](),_0x4a66cb[_0x2989f7(0x199)]({'positions':[_0x264328[_0x2989f7(0x173)]],'target':_0x3a1c28[_0x2989f7(0x186)],'fitInViewport':!0x0}),this[_0x2989f7(0x1b9)][_0x2989f7(0x1a0)](_0x4a66cb);}[_0x6506cb(0x1a9)](_0x1445a8){const _0x1241f9=_0x6506cb;_0x1445a8[_0x1241f9(0x170)](),this[_0x1241f9(0x1b9)][_0x1241f9(0x178)](_0x1445a8);}[_0x6506cb(0x187)](){const _0x468b45=_0x6506cb;this[_0x468b45(0x1b9)][_0x468b45(0x188)](_0x3adb37=>_0x3adb37[_0x468b45(0x170)]()),this[_0x468b45(0x1b9)][_0x468b45(0x1a7)]();}[_0x6506cb(0x1a1)](_0x1f6075,_0x384a71){const _0x21e4db=_0x6506cb;if(!_0x1f6075)return!0x1;if(_0x384a71[_0x21e4db(0x186)]?.[_0x21e4db(0x171)](_0x1f6075))return!0x0;const _0x3362f4=_0x1f6075;return _0x3362f4[_0x21e4db(0x1ac)]&&(null!==_0x3362f4[_0x21e4db(0x1ac)](_0x21e4db(0x1ba))||null!==_0x3362f4[_0x21e4db(0x1ac)](_0x21e4db(0x1b3))||null!==_0x3362f4[_0x21e4db(0x1ac)](_0x21e4db(0x194)));}[_0x6506cb(0x1b6)](){const _0xdbd55e=_0x6506cb;this[_0xdbd55e(0x187)](),this[_0xdbd55e(0x1a4)][_0xdbd55e(0x16d)](),super[_0xdbd55e(0x1b6)]();}[_0x6506cb(0x1ad)](){const _0x23149d=_0x6506cb;this[_0x23149d(0x179)][_0x23149d(0x1ad)]();}}function _0x3035(){const _0x27a1da=['clear','menuitem','_hideNestedPanel','render','ck-ai-quick-actions-group-button','closest','focus','locale','extendTemplate','setTemplate','key','ck-dropdown-menu-list','.ck-ai-quick-actions-group-list','isVisible','ck-ai-quick-actions-group-list','destroy','isOn','children','_openNestedPanels','.ck-ai-quick-actions-group-panel','99uuEmAp','_createActionButton','show','detachFromDom','ck-ai-quick-actions','label','hide','contains','_setupGroupMenuBehavior','eastSouth','9346VwjWtK','_focusables','2481573hdBwQS','761705VeLwCH','delete','optionsListView','9780496NHungp','actions','ck-dropdown-menu__nested-menu__panel','div','menu','1204380lNnvpn','icon','bindTemplate','items','_showNestedPanel','role','154UlZhLk','element','_hideAllNestedPanels','forEach','addEventListener','addMany','uiLanguageDirection','mouseleave','ck-rounded-corners','ArrowRight','_createListItems','ArrowLeft','rtl','set','ck-ai-quick-actions-group-panel','.ck-ai-quick-actions-group-button','bind','ck-reset_all','28fVvznI','focusTracker','pin','content','get','focusCycler','_createGroupActionsList','517336KpPuGD','2489034iEpncG','add','_isMovingToNestedMenu','131NUnWWP','_createActionGroupButton','_bodyCollection','relatedTarget','keystrokes'];_0x3035=function(){return _0x27a1da;};return _0x3035();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x34385b,_0x186072){const _0x2eea84=_0x58fb,_0x29e743=_0x34385b();while(!![]){try{const _0x1dcf0e=parseInt(_0x2eea84(0x98))/0x1*(-parseInt(_0x2eea84(0xa6))/0x2)+parseInt(_0x2eea84(0x9c))/0x3+-parseInt(_0x2eea84(0x97))/0x4*(-parseInt(_0x2eea84(0x9f))/0x5)+parseInt(_0x2eea84(0xa1))/0x6*(-parseInt(_0x2eea84(0xa2))/0x7)+-parseInt(_0x2eea84(0xa8))/0x8+parseInt(_0x2eea84(0x9a))/0x9+-parseInt(_0x2eea84(0x9e))/0xa*(-parseInt(_0x2eea84(0xa7))/0xb);if(_0x1dcf0e===_0x186072)break;else _0x29e743['push'](_0x29e743['shift']());}catch(_0x542151){_0x29e743['push'](_0x29e743['shift']());}}}(_0x2d1c,0xe56f5));function _0x58fb(_0x3155c,_0x4fbace){const _0x2d1c9a=_0x2d1c();return _0x58fb=function(_0x58fb40,_0x41a638){_0x58fb40=_0x58fb40-0x97;let _0x117a95=_0x2d1c9a[_0x58fb40];return _0x117a95;},_0x58fb(_0x3155c,_0x4fbace);}import{createDropdown as _0xca619e}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4fc030}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x2635d8}from'./aiquickactionsdropdowncontentview.js';function _0x2d1c(){const _0x31dbfa=['add','280TQQkKI','2425tczFeY','ck-ai-quick-actions-dropdown','159714lfZNJa','287hgNNmd','panelView','children','buttonView','615046WcCIve','1006148iuyiXt','13727136PeEPvP','locale','icon','10104SsWRgr','6dOVEtc','set','3397896EhHIvc','label','4285248NlxxtU'];_0x2d1c=function(){return _0x31dbfa;};return _0x2d1c();}export function aiQuickActionsDropdownCreator(_0x3394a5,_0x455c8b,_0x4338cf,_0x1dac37){return()=>{const _0x1d6fd8=_0x58fb,_0x5f1266=_0x3394a5[_0x1d6fd8(0xa9)],_0x3957aa=_0xca619e(_0x5f1266);_0x3957aa[_0x1d6fd8(0xa5)][_0x1d6fd8(0x99)]({'icon':_0x4338cf[_0x1d6fd8(0xaa)]??_0x4fc030,'label':_0x4338cf[_0x1d6fd8(0x9b)],'tooltip':!0x0}),_0x3957aa[_0x1d6fd8(0x99)]({'class':_0x1d6fd8(0xa0)});const _0x4581c6=new _0x2635d8(_0x3394a5,_0x455c8b,_0x3957aa,_0x1dac37);return _0x3957aa[_0x1d6fd8(0xa3)][_0x1d6fd8(0xa4)][_0x1d6fd8(0x9d)](_0x4581c6),_0x3957aa;};}
23
+ function _0x3196(_0x341787,_0x2c7214){const _0x5d140f=_0x5d14();return _0x3196=function(_0x3196a6,_0x582652){_0x3196a6=_0x3196a6-0xc1;let _0x2a63b5=_0x5d140f[_0x3196a6];return _0x2a63b5;},_0x3196(_0x341787,_0x2c7214);}function _0x5d14(){const _0x5c0f61=['set','buttonView','61746zdWWyv','locale','140336icCMyf','78846nfQMPl','387388PsvgmV','icon','ck-ai-quick-actions-dropdown','2980DbgMhT','panelView','201249FsCSkb','add','label','56365kKwTZB','5IDxoNp','98yKDzPu','5401tVBOWG','children','104YSLgeh'];_0x5d14=function(){return _0x5c0f61;};return _0x5d14();}(function(_0x3c73bd,_0x48c529){const _0x55b8f7=_0x3196,_0x1ee83b=_0x3c73bd();while(!![]){try{const _0x2e1570=parseInt(_0x55b8f7(0xca))/0x1+-parseInt(_0x55b8f7(0xd4))/0x2+-parseInt(_0x55b8f7(0xc1))/0x3+-parseInt(_0x55b8f7(0xc2))/0x4*(parseInt(_0x55b8f7(0xcb))/0x5)+-parseInt(_0x55b8f7(0xd2))/0x6*(parseInt(_0x55b8f7(0xcc))/0x7)+parseInt(_0x55b8f7(0xcf))/0x8*(parseInt(_0x55b8f7(0xc7))/0x9)+parseInt(_0x55b8f7(0xc5))/0xa*(parseInt(_0x55b8f7(0xcd))/0xb);if(_0x2e1570===_0x48c529)break;else _0x1ee83b['push'](_0x1ee83b['shift']());}catch(_0x15c52c){_0x1ee83b['push'](_0x1ee83b['shift']());}}}(_0x5d14,0x26165));import{createDropdown as _0x5723cb}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3848a7}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x2adc3e}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x7eaf2d,_0x289e02,_0x1bf3a6,_0xbd2979){return()=>{const _0x475112=_0x3196,_0x3debda=_0x7eaf2d[_0x475112(0xd3)],_0x33b368=_0x5723cb(_0x3debda);_0x33b368[_0x475112(0xd1)][_0x475112(0xd0)]({'icon':_0x1bf3a6[_0x475112(0xc3)]??_0x3848a7,'label':_0x1bf3a6[_0x475112(0xc9)],'tooltip':!0x0}),_0x33b368[_0x475112(0xd0)]({'class':_0x475112(0xc4)});const _0x5bced0=new _0x2adc3e(_0x7eaf2d,_0x289e02,_0x33b368,_0xbd2979);return _0x33b368[_0x475112(0xc6)][_0x475112(0xce)][_0x475112(0xc8)](_0x5bced0),_0x33b368;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2a27(){const _0x5edd12=['make','italian','Portuguese','Italian','japanese','Shorter','English','readability','7bVCeTM','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','german','18bCUTeH','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','custom','french','korean','spanish','5636988PunUXG','english','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','clarity','chinese','Japanese','make-tone','Direct','confident','language','direct','Professional','professional','correctness','Clarity','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','russian','5914824zOqapZ','Custom\x20command','35864MemdCb','translate','1541975bmYZvV','dropdown','Longer','321632axTAcA','Translate\x20the\x20text\x20into\x20another\x20language.','Casual','portuguese','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','1596552xGktUY','friendly','Correctness','Russian','Adjust\x20tone\x20and\x20style','Chinese\x20(Simplified)','Confident','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Friendly','shorter','Adjust\x20length','casual','Korean','Translate','Spanish','German','114lEjKuK','French','13149030xNfJXI','Readability','longer','Select\x20language'];_0x2a27=function(){return _0x5edd12;};return _0x2a27();}function _0x5ce7(_0x587610,_0xbeba69){const _0x2a276d=_0x2a27();return _0x5ce7=function(_0x5ce72d,_0x41e78c){_0x5ce72d=_0x5ce72d-0xda;let _0x3f842c=_0x2a276d[_0x5ce72d];return _0x3f842c;},_0x5ce7(_0x587610,_0xbeba69);}const _0x2a87d2=_0x5ce7;(function(_0x26eaa1,_0x141522){const _0x447a6d=_0x5ce7,_0x4ba9e5=_0x26eaa1();while(!![]){try{const _0x34d6c9=-parseInt(_0x447a6d(0x103))/0x1+-parseInt(_0x447a6d(0x108))/0x2+-parseInt(_0x447a6d(0x118))/0x3*(-parseInt(_0x447a6d(0xfe))/0x4)+parseInt(_0x447a6d(0x100))/0x5+-parseInt(_0x447a6d(0xeb))/0x6+parseInt(_0x447a6d(0xe2))/0x7*(-parseInt(_0x447a6d(0xfc))/0x8)+parseInt(_0x447a6d(0xe5))/0x9*(parseInt(_0x447a6d(0x11a))/0xa);if(_0x34d6c9===_0x141522)break;else _0x4ba9e5['push'](_0x4ba9e5['shift']());}catch(_0x47470b){_0x4ba9e5['push'](_0x4ba9e5['shift']());}}}(_0x2a27,0x75396));export const AI_REVIEW_CHECKS=[{'id':_0x2a87d2(0xe7),'title':_0x2a87d2(0xfd),'description':_0x2a87d2(0xfa),'isParameterized':!0x0},{'id':_0x2a87d2(0xf8),'title':_0x2a87d2(0x10a),'description':_0x2a87d2(0xe6),'isParameterized':!0x1},{'id':_0x2a87d2(0xee),'title':_0x2a87d2(0xf9),'description':_0x2a87d2(0x107),'isParameterized':!0x1},{'id':_0x2a87d2(0xe1),'title':_0x2a87d2(0x11b),'description':_0x2a87d2(0x10f),'isParameterized':!0x1},{'id':_0x2a87d2(0xda),'title':_0x2a87d2(0x112),'description':_0x2a87d2(0xed),'isParameterized':!0x0,'options':[{'formType':_0x2a87d2(0x101),'label':_0x2a87d2(0x112),'default':_0x2a87d2(0x11c),'data':[{'label':_0x2a87d2(0x102),'id':_0x2a87d2(0x11c)},{'label':_0x2a87d2(0xdf),'id':_0x2a87d2(0x111)}]}]},{'id':_0x2a87d2(0xf1),'title':_0x2a87d2(0x10c),'description':_0x2a87d2(0xe3),'isParameterized':!0x0,'options':[{'formType':_0x2a87d2(0x101),'label':_0x2a87d2(0x10c),'default':_0x2a87d2(0x113),'data':[{'label':_0x2a87d2(0x105),'id':_0x2a87d2(0x113)},{'label':_0x2a87d2(0xf2),'id':_0x2a87d2(0xf5)},{'label':_0x2a87d2(0x110),'id':_0x2a87d2(0x109)},{'label':_0x2a87d2(0x10e),'id':_0x2a87d2(0xf3)},{'label':_0x2a87d2(0xf6),'id':_0x2a87d2(0xf7)}]}]},{'id':_0x2a87d2(0xff),'title':_0x2a87d2(0x115),'description':_0x2a87d2(0x104),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x2a87d2(0x101),'label':_0x2a87d2(0x11d),'argsKey':_0x2a87d2(0xf4),'data':[{'label':_0x2a87d2(0xe0),'id':_0x2a87d2(0xec)},{'label':_0x2a87d2(0x116),'id':_0x2a87d2(0xea)},{'label':_0x2a87d2(0x119),'id':_0x2a87d2(0xe8)},{'label':_0x2a87d2(0x117),'id':_0x2a87d2(0xe4)},{'label':_0x2a87d2(0x10d),'id':_0x2a87d2(0xef)},{'label':_0x2a87d2(0xf0),'id':_0x2a87d2(0xde)},{'label':_0x2a87d2(0x10b),'id':_0x2a87d2(0xfb)},{'label':_0x2a87d2(0xdc),'id':_0x2a87d2(0x106)},{'label':_0x2a87d2(0x114),'id':_0x2a87d2(0xe9)},{'label':_0x2a87d2(0xdd),'id':_0x2a87d2(0xdb)}]}]}];
23
+ function _0x4c2b(_0x43808c,_0x494113){const _0x2c91db=_0x2c91();return _0x4c2b=function(_0x4c2b6c,_0x1c5ab9){_0x4c2b6c=_0x4c2b6c-0x9d;let _0x1c2c9f=_0x2c91db[_0x4c2b6c];return _0x1c2c9f;},_0x4c2b(_0x43808c,_0x494113);}const _0x468bde=_0x4c2b;(function(_0x2daa1e,_0x5c551d){const _0x38e5e9=_0x4c2b,_0x1f5fee=_0x2daa1e();while(!![]){try{const _0x2af770=parseInt(_0x38e5e9(0xdc))/0x1+-parseInt(_0x38e5e9(0xcd))/0x2+parseInt(_0x38e5e9(0xcb))/0x3+parseInt(_0x38e5e9(0xc4))/0x4*(parseInt(_0x38e5e9(0xaf))/0x5)+parseInt(_0x38e5e9(0xc7))/0x6+parseInt(_0x38e5e9(0x9f))/0x7+-parseInt(_0x38e5e9(0xcf))/0x8;if(_0x2af770===_0x5c551d)break;else _0x1f5fee['push'](_0x1f5fee['shift']());}catch(_0x5ce805){_0x1f5fee['push'](_0x1f5fee['shift']());}}}(_0x2c91,0x21a2d));function _0x2c91(){const _0x2ca4ad=['readability','shorter','Readability','Direct','468sjArtA','portuguese','Casual','349338AylpqX','friendly','Friendly','Portuguese','204090zUeSWy','Professional','261974WCPReT','casual','4079528ejNqUc','custom','Adjust\x20tone\x20and\x20style','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Clarity','Translate\x20the\x20text\x20into\x20another\x20language.','confident','Correctness','Longer','English','Custom\x20command','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','professional','262081yEanvA','french','japanese','clarity','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','1419712FOExzk','german','italian','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Russian','Confident','Chinese\x20(Simplified)','Select\x20language','correctness','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','dropdown','Translate','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','translate','chinese','make','8015dRZdjl','english','Italian','language','direct','German','Korean','spanish','Adjust\x20length','Japanese','French','Shorter','Spanish','make-tone','russian','korean','longer'];_0x2c91=function(){return _0x2ca4ad;};return _0x2c91();}export const AI_REVIEW_CHECKS=[{'id':_0x468bde(0xd0),'title':_0x468bde(0xd9),'description':_0x468bde(0xda),'isParameterized':!0x0},{'id':_0x468bde(0xa7),'title':_0x468bde(0xd6),'description':_0x468bde(0xa8),'isParameterized':!0x1},{'id':_0x468bde(0x9d),'title':_0x468bde(0xd3),'description':_0x468bde(0xa2),'isParameterized':!0x1},{'id':_0x468bde(0xc0),'title':_0x468bde(0xc2),'description':_0x468bde(0xab),'isParameterized':!0x1},{'id':_0x468bde(0xae),'title':_0x468bde(0xb7),'description':_0x468bde(0x9e),'isParameterized':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xb7),'default':_0x468bde(0xbf),'data':[{'label':_0x468bde(0xd7),'id':_0x468bde(0xbf)},{'label':_0x468bde(0xba),'id':_0x468bde(0xc1)}]}]},{'id':_0x468bde(0xbc),'title':_0x468bde(0xd1),'description':_0x468bde(0xd2),'isParameterized':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xd1),'default':_0x468bde(0xce),'data':[{'label':_0x468bde(0xc6),'id':_0x468bde(0xce)},{'label':_0x468bde(0xc3),'id':_0x468bde(0xb3)},{'label':_0x468bde(0xc9),'id':_0x468bde(0xc8)},{'label':_0x468bde(0xa4),'id':_0x468bde(0xd5)},{'label':_0x468bde(0xcc),'id':_0x468bde(0xdb)}]}]},{'id':_0x468bde(0xac),'title':_0x468bde(0xaa),'description':_0x468bde(0xd4),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xa6),'argsKey':_0x468bde(0xb2),'data':[{'label':_0x468bde(0xd8),'id':_0x468bde(0xb0)},{'label':_0x468bde(0xbb),'id':_0x468bde(0xb6)},{'label':_0x468bde(0xb9),'id':_0x468bde(0xdd)},{'label':_0x468bde(0xb4),'id':_0x468bde(0xa0)},{'label':_0x468bde(0xa5),'id':_0x468bde(0xad)},{'label':_0x468bde(0xb8),'id':_0x468bde(0xde)},{'label':_0x468bde(0xa3),'id':_0x468bde(0xbd)},{'label':_0x468bde(0xca),'id':_0x468bde(0xc5)},{'label':_0x468bde(0xb5),'id':_0x468bde(0xbe)},{'label':_0x468bde(0xb1),'id':_0x468bde(0xa1)}]}]}];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x44db3c=_0x5d94;(function(_0x17ff20,_0x4004db){var _0x4366f6=_0x5d94,_0x3faa2d=_0x17ff20();while(!![]){try{var _0x4cdf86=parseInt(_0x4366f6(0x11f))/0x1+parseInt(_0x4366f6(0x126))/0x2*(parseInt(_0x4366f6(0x12b))/0x3)+parseInt(_0x4366f6(0x120))/0x4*(-parseInt(_0x4366f6(0x123))/0x5)+parseInt(_0x4366f6(0x11e))/0x6*(-parseInt(_0x4366f6(0x12a))/0x7)+parseInt(_0x4366f6(0x121))/0x8+parseInt(_0x4366f6(0x122))/0x9+-parseInt(_0x4366f6(0x11c))/0xa*(parseInt(_0x4366f6(0x125))/0xb);if(_0x4cdf86===_0x4004db)break;else _0x3faa2d['push'](_0x3faa2d['shift']());}catch(_0x4dfde7){_0x3faa2d['push'](_0x3faa2d['shift']());}}}(_0x57e0,0x729d8));import{ContextPlugin as _0x1a9fc5}from'ckeditor5/src/core.js';function _0x57e0(){var _0x5bc296=['6620170AhVkyY','isPremiumPlugin','114mDmzJY','929560XunsvP','567628mEQcUP','2399104hTSIQT','6570846dYePUn','5xivxOT','pluginName','33XfAaIB','10AOgMrn','AIReviewMode','requires','isOfficialPlugin','28910sQUhSr','429810zOREvs'];_0x57e0=function(){return _0x5bc296;};return _0x57e0();}import{AIReviewModeController as _0x37a814}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x2a9809}from'./aireviewmodeui.js';function _0x5d94(_0xac87b7,_0x5a6358){var _0x57e06e=_0x57e0();return _0x5d94=function(_0x5d9486,_0x5c5b37){_0x5d9486=_0x5d9486-0x11c;var _0x953ce5=_0x57e06e[_0x5d9486];return _0x953ce5;},_0x5d94(_0xac87b7,_0x5a6358);}import{AIReviewModeEditing as _0x3d0bca}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x1a9fc5{static get[_0x44db3c(0x128)](){return[_0x37a814,_0x2a9809,_0x3d0bca];}static get[_0x44db3c(0x124)](){var _0x4a7b35=_0x44db3c;return _0x4a7b35(0x127);}static get[_0x44db3c(0x129)](){return!0x0;}static get[_0x44db3c(0x11d)](){return!0x0;}}
23
+ var _0x5e6ab6=_0x4085;(function(_0x42d061,_0x28fa98){var _0x5cabe4=_0x4085,_0xc10109=_0x42d061();while(!![]){try{var _0x2f114b=parseInt(_0x5cabe4(0xc0))/0x1*(-parseInt(_0x5cabe4(0xbe))/0x2)+parseInt(_0x5cabe4(0xb7))/0x3+parseInt(_0x5cabe4(0xbc))/0x4*(parseInt(_0x5cabe4(0xbf))/0x5)+-parseInt(_0x5cabe4(0xb6))/0x6+-parseInt(_0x5cabe4(0xb8))/0x7+parseInt(_0x5cabe4(0xc2))/0x8+parseInt(_0x5cabe4(0xba))/0x9*(parseInt(_0x5cabe4(0xb9))/0xa);if(_0x2f114b===_0x28fa98)break;else _0xc10109['push'](_0xc10109['shift']());}catch(_0x36e72f){_0xc10109['push'](_0xc10109['shift']());}}}(_0x4477,0xca3a8));import{ContextPlugin as _0x512afd}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x62d115}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x3f0c14}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x28ca36}from'./aireviewmodeediting.js';function _0x4085(_0x1beeae,_0x256eb4){var _0x447764=_0x4477();return _0x4085=function(_0x4085ff,_0x35cd5b){_0x4085ff=_0x4085ff-0xb4;var _0x42ee02=_0x447764[_0x4085ff];return _0x42ee02;},_0x4085(_0x1beeae,_0x256eb4);}export class AIReviewMode extends _0x512afd{static get[_0x5e6ab6(0xbd)](){return[_0x62d115,_0x3f0c14,_0x28ca36];}static get[_0x5e6ab6(0xbb)](){var _0xa83e52=_0x5e6ab6;return _0xa83e52(0xb4);}static get[_0x5e6ab6(0xb5)](){return!0x0;}static get[_0x5e6ab6(0xc1)](){return!0x0;}}function _0x4477(){var _0x2a3ecc=['75906orUUgn','pluginName','352mnpMig','requires','3112742WqyssX','62160rCvTgo','1rIJJNR','isPremiumPlugin','939968sHcEpA','AIReviewMode','isOfficialPlugin','5053824IGFIsR','876981ucBxGe','4645606GqXZvz','2830AtcbzY'];_0x4477=function(){return _0x2a3ecc;};return _0x4477();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5467(_0x3c7fe4,_0x23265a){const _0x587fbf=_0x587f();return _0x5467=function(_0x54671a,_0x5ae6ce){_0x54671a=_0x54671a-0xbd;let _0x2c51f5=_0x587fbf[_0x54671a];return _0x2c51f5;},_0x5467(_0x3c7fe4,_0x23265a);}const _0x54c19f=_0x5467;(function(_0x3491bb,_0x31ae88){const _0x3bea46=_0x5467,_0x26ad44=_0x3491bb();while(!![]){try{const _0x19c050=parseInt(_0x3bea46(0x129))/0x1+-parseInt(_0x3bea46(0x11e))/0x2+-parseInt(_0x3bea46(0x145))/0x3*(-parseInt(_0x3bea46(0x14f))/0x4)+-parseInt(_0x3bea46(0x112))/0x5*(parseInt(_0x3bea46(0xc9))/0x6)+-parseInt(_0x3bea46(0x114))/0x7*(-parseInt(_0x3bea46(0xe8))/0x8)+-parseInt(_0x3bea46(0x15a))/0x9+parseInt(_0x3bea46(0x11c))/0xa;if(_0x19c050===_0x31ae88)break;else _0x26ad44['push'](_0x26ad44['shift']());}catch(_0x229ecf){_0x26ad44['push'](_0x26ad44['shift']());}}}(_0x587f,0xd3c64));import{ContextPlugin as _0x98f038}from'ckeditor5/src/core.js';import{CKEditorError as _0x3a05a7,logError as _0x23d975,scrollAncestorsToShowTarget as _0x202e55,scrollViewportToShowTarget as _0x536c5a}from'ckeditor5/src/utils.js';import{AIConnector as _0x4cb807}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x4ae012}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x5dec4e}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x29c7f6}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0xc89551}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x175bca}from'./aireviewcheckdefinitions.js';function _0x587f(){const _0x434724=['contentInitial','abortReviewStream','AIReviewModeController','showChunkErrorView','16658760snZoWI','reviewCheckResultRejected','1667572QyVXDX','ai-review-mode-source-check-not-found','length','reviewCheckResultDeactivated','reviewCheckResultActivated','AIReviewModeEditing','documentData','emitter','aborted','addResultChanges','getRoot','294638mJBBYu','changes','getMarkerElementForChange','reviewCheckResultAdded','_isDiffOn','editing','content','deactivateChange','_OPTIONS_LABEL','_OPTIONS_DATA_','hasModifications','_aiReviewCheckList','result','source','ai-request-aborted','options','leaveReviewMode','listenTo','showCheckRunResult','isOfficialPlugin','markAllChangesAsAccepted','getChangeElement','showReviewCheckList','removeClass','loading','_onReviewModeRunLeave','includes','message','3xvXFSP','plugins','hideChangeBalloon','abort','toggleDiff','accepted','restart','panel','showActionsWhenResultIsReady','sendRating','2580756pwJXFr','toUpperCase','_TITLE','model','locale','requires','stopListening','label','error-chunk','leaveReviewModeResultList','prompt','15234183GKVzQI','custom','getDocumentData','setAvailableChecks','dismissChange','reviewCheckRunUpdated','showDiffInBalloon','AIReviewModeUI','AIConnector','_getTranslationWithDefault','context','retryReview','setActiveStateInResults','changeMarkerClick','ready','ai-review-mode-check-run-failed','rejectChange','view','start','diffContent','_aiReviewModeEditing','reviewCheckResultReady','3886410ixXOkv','isChangeActive','AI_REVIEW_CHECK_','addClass','setCheckResultTitle','pluginName','reviewCheckResultAccepted','getCheckById','ai-review-mode-no-current-check-run','.ck-ai-review-mode__check-run-result','acceptAllChanges','get','showCheckRunResults','clearAllMarkers','_currentReviewCheckRun','hideDiffInBalloon','switchToReadOnly','subTitle','change','unmodified','getEditor','config','isPremiumPlugin','acceptChange','init','markChangePositionInEditorContent','domElement','_aiConnector','_DESCRIPTION','_changeActivationSource','_translateReviewChecks','310472knmRwq','showGeneralErrorView','markChangeAsAccepted','_onDiffChange','replaceAll','showChangeBalloon','showReviewCompletedView','_aiReviewModeUi','finishReview','finished','rejected','models','activateChange','ai.reviewMode.translations','contentNew','markChangeAsRejected','applyChange','status','_logError','runReviewCheck','description','translate','checks','changeId','switchToEdit','data','resetActiveStateInResults','isCustom','map','getReviewCheckList','ck-ai-review-mode-diff','updateChangeState','getActiveChanges','AI_MODEL_DESCRIPTION_','error-general','closest','showNoChangesView','params','getAll','ck-ai-review-mode-highlights','find','forceReadyState','5TcfZlV','processedResultsCount','259QODDgR','title','args','document'];_0x587f=function(){return _0x434724;};return _0x587f();}import{getTranslation as _0x169053}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x98f038{[_0x54c19f(0xe4)];[_0x54c19f(0xef)];[_0x54c19f(0xc7)];[_0x54c19f(0x134)];[_0x54c19f(0xd7)];[_0x54c19f(0x12d)]=!0x1;[_0x54c19f(0xe6)]=null;static get[_0x54c19f(0x154)](){return[_0x4cb807];}static get[_0x54c19f(0xce)](){const _0x1084a8=_0x54c19f;return _0x1084a8(0x11a);}static get[_0x54c19f(0x13c)](){return!0x0;}static get[_0x54c19f(0xdf)](){return!0x0;}async[_0x54c19f(0xe1)](){const _0x501f4a=_0x54c19f;this[_0x501f4a(0xe4)]=this[_0x501f4a(0xbd)][_0x501f4a(0x146)][_0x501f4a(0xd4)](_0x501f4a(0x162)),this[_0x501f4a(0xef)]=this[_0x501f4a(0xbd)][_0x501f4a(0x146)][_0x501f4a(0xd4)](_0x501f4a(0x161)),this[_0x501f4a(0xc7)]=this[_0x501f4a(0xbd)][_0x501f4a(0x146)][_0x501f4a(0xd4)](_0x501f4a(0x123));const _0x42e066=this[_0x501f4a(0xbd)][_0x501f4a(0xde)][_0x501f4a(0xd4)](_0x501f4a(0xf5));if(_0x42e066){for(const _0x18899d of _0x175bca)_0x501f4a(0xfd)===_0x18899d['id']&&(_0x18899d[_0x501f4a(0x138)][0x0][_0x501f4a(0x101)]=_0x42e066);}const _0x1630be=this[_0x501f4a(0xe7)](_0x175bca);this[_0x501f4a(0x134)]=new _0x4ae012(_0x1630be);const _0xbeb58a=this[_0x501f4a(0x134)][_0x501f4a(0xfe)][_0x501f4a(0x110)](_0x21cc41=>_0x501f4a(0x15b)===_0x21cc41['id']);if(_0xbeb58a){const _0x4da091=await new _0xc89551({'connector':this[_0x501f4a(0xe4)]})[_0x501f4a(0x10e)]();_0xbeb58a[_0x501f4a(0xf3)]=_0x4da091[_0x501f4a(0x104)](_0x97869f=>({..._0x97869f,'description':this[_0x501f4a(0x163)](_0x501f4a(0x109)+_0x97869f['id'][_0x501f4a(0x150)](),_0x97869f[_0x501f4a(0xfc)])}));}this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x105),()=>{const _0x3d2625=_0x501f4a;this[_0x3d2625(0xef)][_0x3d2625(0x15d)](this[_0x3d2625(0x134)][_0x3d2625(0xfe)]);}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xfb),async(_0x1d7649,_0x42c22c)=>{const _0x399374=_0x501f4a,_0xdbe5a3=this[_0x399374(0x134)][_0x399374(0xd0)](_0x42c22c['id']);if(_0xdbe5a3){this[_0x399374(0xeb)](this[_0x399374(0x12d)]),_0x42c22c[_0x399374(0x103)]?this[_0x399374(0xd7)]=new _0x29c7f6(_0x42c22c[_0x399374(0x116)][_0x399374(0x159)],_0x42c22c[_0x399374(0x116)][_0x399374(0x152)],this[_0x399374(0xc7)][_0x399374(0x15c)](),_0xdbe5a3,this[_0x399374(0xe4)]):this[_0x399374(0xd7)]=new _0x5dec4e(this[_0x399374(0xc7)][_0x399374(0x15c)](),_0xdbe5a3,this[_0x399374(0xe4)],_0x42c22c[_0x399374(0x10d)],_0x42c22c[_0x399374(0x116)]),this[_0x399374(0xef)][_0x399374(0xcd)](this[_0x399374(0xd7)][_0x399374(0x115)],this[_0x399374(0xd7)][_0x399374(0xda)]),this[_0x399374(0xd7)]['on'](_0x399374(0x15f),(_0x4036d3,_0xf2a78c)=>{const _0x34f2d9=_0x399374;_0x34f2d9(0x101)===_0xf2a78c[_0x34f2d9(0xf9)]||_0x34f2d9(0x141)===_0xf2a78c[_0x34f2d9(0xf9)]?(this[_0x34f2d9(0xc7)][_0x34f2d9(0xd9)](),this[_0x34f2d9(0xef)][_0x34f2d9(0xd5)](_0xf2a78c)):_0x34f2d9(0xf1)===_0xf2a78c[_0x34f2d9(0xf9)]?this[_0x34f2d9(0xef)][_0x34f2d9(0xee)]():_0x34f2d9(0xc1)===_0xf2a78c[_0x34f2d9(0xf9)]?this[_0x34f2d9(0xef)][_0x34f2d9(0x14d)]():_0x34f2d9(0xdc)===_0xf2a78c[_0x34f2d9(0xf9)]?this[_0x34f2d9(0xef)][_0x34f2d9(0x10c)]():_0x34f2d9(0x10a)===_0xf2a78c[_0x34f2d9(0xf9)]?this[_0x34f2d9(0xef)][_0x34f2d9(0xe9)]():_0x34f2d9(0x157)===_0xf2a78c[_0x34f2d9(0xf9)]?this[_0x34f2d9(0xef)][_0x34f2d9(0x11b)]():_0x34f2d9(0x126)===_0xf2a78c[_0x34f2d9(0xf9)]&&(this[_0x34f2d9(0xd7)]&&this[_0x34f2d9(0xd7)][_0x34f2d9(0x113)]>0x0?setTimeout(()=>{const _0x2030d5=_0x34f2d9;this[_0x2030d5(0xd7)]?.[_0x2030d5(0x111)]();},0x0):this[_0x34f2d9(0x142)](!0x0)),_0x34f2d9(0xc1)!==_0xf2a78c[_0x34f2d9(0xf9)]&&_0x34f2d9(0x157)!==_0xf2a78c[_0x34f2d9(0xf9)]&&_0x34f2d9(0x10a)!==_0xf2a78c[_0x34f2d9(0xf9)]||this[_0x34f2d9(0xd7)]?.[_0x34f2d9(0x14e)]();}),this[_0x399374(0xd7)]['on'](_0x399374(0x12c),(_0x34be71,_0xeff915)=>{const _0x560590=_0x399374;if(!this[_0x560590(0xd7)])throw new _0x3a05a7(_0x560590(0xd1),this);const _0x3dfed7=this[_0x560590(0xc7)][_0x560590(0xc6)](_0xeff915[_0x560590(0x135)][_0x560590(0x118)],_0xeff915[_0x560590(0x135)][_0x560590(0xf6)]);_0xeff915[_0x560590(0x136)][_0x560590(0x127)](_0xeff915[_0x560590(0x135)]['id'],_0x3dfed7);}),this[_0x399374(0xd7)]['on'](_0x399374(0xc8),(_0x492ec2,_0x273079)=>{const _0x555593=_0x399374;for(const _0x3add01 of _0x273079[_0x555593(0x12a)])this[_0x555593(0xef)][_0x555593(0x13b)](_0x3add01);this[_0x555593(0xc7)][_0x555593(0xe2)](_0x273079[_0x555593(0x12a)],_0x273079[_0x555593(0x136)][_0x555593(0x124)]);}),this[_0x399374(0xd7)]['on'](_0x399374(0xcf),(_0x520868,_0x27ed6e)=>{const _0x2003fb=_0x399374;this[_0x2003fb(0xef)][_0x2003fb(0x107)](_0x27ed6e[_0x2003fb(0xdb)]['id'],_0x2003fb(0x14a));}),this[_0x399374(0xd7)]['on'](_0x399374(0x11d),(_0x256e38,_0x1bf6dd)=>{const _0x1bf7b3=_0x399374;this[_0x1bf7b3(0xef)][_0x1bf7b3(0x107)](_0x1bf6dd[_0x1bf7b3(0xdb)]['id'],_0x1bf7b3(0xf2));}),this[_0x399374(0xd7)]['on'](_0x399374(0x122),(_0x426b0d,_0x5d7e4f)=>{const _0x5e6fd3=_0x399374;this[_0x5e6fd3(0xef)][_0x5e6fd3(0xbf)](_0x5d7e4f[_0x5e6fd3(0xdb)]['id']);const _0x4985e4=this[_0x5e6fd3(0xc7)][_0x5e6fd3(0x12b)](_0x5d7e4f[_0x5e6fd3(0xdb)]['id']);if(_0x4985e4){if(_0x5e6fd3(0x12f)===this[_0x5e6fd3(0xe6)]){const _0x14785f=this[_0x5e6fd3(0xef)][_0x5e6fd3(0x13e)](_0x5d7e4f[_0x5e6fd3(0xdb)]['id']);_0x14785f&&_0x202e55(_0x14785f[_0x5e6fd3(0x10b)](_0x5e6fd3(0xd2))||_0x14785f);}else{if(_0x5e6fd3(0x14c)===this[_0x5e6fd3(0xe6)]){const _0x5ba88b={'target':_0x4985e4[_0x5e6fd3(0xe3)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x536c5a(_0x5ba88b);}}this[_0x5e6fd3(0xef)][_0x5e6fd3(0xed)](_0x5d7e4f[_0x5e6fd3(0xdb)],_0x4985e4[_0x5e6fd3(0xe3)]);}}),this[_0x399374(0xd7)]['on'](_0x399374(0x121),()=>{const _0x503bf1=_0x399374;this[_0x503bf1(0xef)][_0x503bf1(0x102)]();});try{await this[_0x399374(0xd7)][_0x399374(0xc5)]();}catch(_0x27a45b){_0x27a45b instanceof Error&&_0x27a45b[_0x399374(0x144)][_0x399374(0x143)](_0x399374(0x137))||(_0x27a45b instanceof _0x3a05a7?this[_0x399374(0xfa)](_0x27a45b):this[_0x399374(0xfa)](new _0x3a05a7(_0x399374(0xc2),this,{'error':_0x27a45b})));}}else this[_0x399374(0xfa)](new _0x3a05a7(_0x399374(0x11f),this,{'checkId':_0x42c22c['id']}));}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x139),()=>{const _0x15bd4d=_0x501f4a;this[_0x15bd4d(0x142)]();}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x158),()=>{const _0x38bf65=_0x501f4a;this[_0x38bf65(0x142)](!0x0);}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x119),()=>{const _0x149167=_0x501f4a;this[_0x149167(0xd7)]&&this[_0x149167(0xd7)][_0x149167(0x148)]();}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xf0),()=>{const _0x30f889=_0x501f4a;this[_0x30f889(0x142)](!0x0);}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xd3),()=>{const _0xb2f695=_0x501f4a;if(!this[_0xb2f695(0xd7)])return;const _0x30e6e0=this[_0xb2f695(0xd7)][_0xb2f695(0x108)]();_0x30e6e0[_0xb2f695(0x120)]&&(this[_0xb2f695(0xc7)][_0xb2f695(0xf8)](_0x30e6e0[_0xb2f695(0x104)](_0xfb55f0=>_0xfb55f0['id'])),this[_0xb2f695(0xd7)][_0xb2f695(0x13d)](),this[_0xb2f695(0xd7)][_0xb2f695(0x14e)]());}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xe0),(_0x8f774d,_0x515eb6)=>{const _0x3832e2=_0x501f4a;this[_0x3832e2(0xd7)]&&this[_0x3832e2(0xd7)][_0x3832e2(0xca)](_0x515eb6['id'])&&(this[_0x3832e2(0xc7)][_0x3832e2(0xf8)]([_0x515eb6['id']]),this[_0x3832e2(0xd7)][_0x3832e2(0xea)](_0x515eb6['id']),this[_0x3832e2(0xef)][_0x3832e2(0x147)](),this[_0x3832e2(0xd7)][_0x3832e2(0x14e)](_0x515eb6['id']));}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x15e),(_0x3cce34,_0x1aa2a7)=>{const _0x121ca8=_0x501f4a;this[_0x121ca8(0xd7)]&&this[_0x121ca8(0xd7)][_0x121ca8(0xca)](_0x1aa2a7['id'])&&(this[_0x121ca8(0xc7)][_0x121ca8(0xc3)](_0x1aa2a7['id']),this[_0x121ca8(0xd7)][_0x121ca8(0xf7)](_0x1aa2a7['id']),this[_0x121ca8(0xef)][_0x121ca8(0x147)](),this[_0x121ca8(0xd7)][_0x121ca8(0x14e)](_0x1aa2a7['id']));}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x149),(_0x48a95b,_0x5cd681)=>{const _0x43f5e6=_0x501f4a;this[_0x43f5e6(0x12d)]=_0x5cd681['on'],this[_0x43f5e6(0xeb)](this[_0x43f5e6(0x12d)]);}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xbe),async()=>{const _0x54d87d=_0x501f4a;this[_0x54d87d(0xd7)]&&await this[_0x54d87d(0xd7)][_0x54d87d(0x14b)]();}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xf4),(_0x2c505f,_0x52e40e)=>{const _0x3c8cb2=_0x501f4a;this[_0x3c8cb2(0xd7)]&&(this[_0x3c8cb2(0xe6)]=_0x3c8cb2(0x14c),this[_0x3c8cb2(0xd7)][_0x3c8cb2(0xf4)](_0x52e40e['id']));}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x130),()=>{const _0x92dfc2=_0x501f4a;this[_0x92dfc2(0xd7)]&&this[_0x92dfc2(0xd7)][_0x92dfc2(0x130)]();}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xc7)][_0x501f4a(0x125)],_0x501f4a(0xc0),(_0x2f839b,_0x481743)=>{const _0x19a181=_0x501f4a;this[_0x19a181(0xd7)]&&(this[_0x19a181(0xe6)]=_0x19a181(0x12f),this[_0x19a181(0xd7)][_0x19a181(0xf4)](_0x481743[_0x19a181(0xff)]));});}[_0x54c19f(0x142)](_0x3baf04=!0x1){const _0x837b8=_0x54c19f;this[_0x837b8(0xd7)]&&(this[_0x837b8(0xd7)][_0x837b8(0x133)]||this[_0x837b8(0xd7)][_0x837b8(0x14e)](),this[_0x837b8(0xd7)][_0x837b8(0x148)](),this[_0x837b8(0xd7)][_0x837b8(0x155)](),this[_0x837b8(0xd7)]=void 0x0),_0x3baf04&&this[_0x837b8(0xef)][_0x837b8(0x13f)](),this[_0x837b8(0xc7)][_0x837b8(0xd6)](),this[_0x837b8(0xc7)][_0x837b8(0x100)](),this[_0x837b8(0xe6)]=null;const _0x5c1b5d=this[_0x837b8(0xc7)][_0x837b8(0xdd)]();_0x5c1b5d&&_0x5c1b5d[_0x837b8(0x12e)][_0x837b8(0xc4)][_0x837b8(0xdb)](_0x2b2fdf=>{const _0x1890aa=_0x837b8,_0x1f3ac1=_0x5c1b5d[_0x1890aa(0x12e)][_0x1890aa(0xc4)][_0x1890aa(0x117)][_0x1890aa(0x128)]();_0x2b2fdf[_0x1890aa(0x140)](_0x1890aa(0x106),_0x1f3ac1),_0x2b2fdf[_0x1890aa(0x140)](_0x1890aa(0x10f),_0x1f3ac1);});}[_0x54c19f(0xeb)](_0x2f50fe){const _0x1de61c=_0x54c19f,_0x1b2930=this[_0x1de61c(0xc7)][_0x1de61c(0xdd)]();_0x2f50fe?this[_0x1de61c(0xef)][_0x1de61c(0xd8)]():this[_0x1de61c(0xef)][_0x1de61c(0x160)](),_0x1b2930&&_0x1b2930[_0x1de61c(0x12e)][_0x1de61c(0xc4)][_0x1de61c(0xdb)](_0x1722bf=>{const _0xc0f922=_0x1de61c,_0x2c9406=_0x1b2930[_0xc0f922(0x12e)][_0xc0f922(0xc4)][_0xc0f922(0x117)][_0xc0f922(0x128)]();_0x1722bf[_0xc0f922(0x140)](_0xc0f922(0x106),_0x2c9406),_0x1722bf[_0xc0f922(0x140)](_0xc0f922(0x10f),_0x2c9406),_0x1722bf[_0xc0f922(0xcc)](_0x2f50fe?_0xc0f922(0x106):_0xc0f922(0x10f),_0x2c9406);});}[_0x54c19f(0xe7)](_0x766561){const _0x207584=_0x54c19f;return _0x766561[_0x207584(0x104)](_0x9a8ee4=>{const _0x3cc1f4=_0x207584,_0x5207b6=_0x3cc1f4(0xcb)+_0x9a8ee4['id'][_0x3cc1f4(0x150)]()[_0x3cc1f4(0xec)]('-','_'),_0x5ac777={..._0x9a8ee4,'title':this[_0x3cc1f4(0x163)](_0x5207b6+_0x3cc1f4(0x151),_0x9a8ee4[_0x3cc1f4(0x115)]),'description':this[_0x3cc1f4(0x163)](_0x5207b6+_0x3cc1f4(0xe5),_0x9a8ee4[_0x3cc1f4(0xfc)])};return _0x9a8ee4[_0x3cc1f4(0x138)]&&(_0x5ac777[_0x3cc1f4(0x138)]=_0x9a8ee4[_0x3cc1f4(0x138)][_0x3cc1f4(0x104)](_0x3a79cf=>({..._0x3a79cf,'label':this[_0x3cc1f4(0x163)](_0x5207b6+_0x3cc1f4(0x131),_0x3a79cf[_0x3cc1f4(0x156)]||''),'data':_0x3a79cf[_0x3cc1f4(0x101)]?_0x3a79cf[_0x3cc1f4(0x101)][_0x3cc1f4(0x104)](_0x7472eb=>({..._0x7472eb,'label':this[_0x3cc1f4(0x163)](_0x5207b6+_0x3cc1f4(0x132)+_0x7472eb['id'][_0x3cc1f4(0x150)](),_0x7472eb[_0x3cc1f4(0x156)])})):void 0x0}))),_0x5ac777;});}[_0x54c19f(0x163)](_0x1575f1,_0x29e2b7){const _0x3295b3=_0x54c19f,_0x55f5e8=this[_0x3295b3(0xbd)][_0x3295b3(0x153)],_0x47995e=_0x169053(_0x55f5e8,_0x1575f1);return _0x47995e===_0x1575f1?_0x29e2b7:_0x47995e;}[_0x54c19f(0xfa)](_0x42a424){const _0x2f1f3b=_0x54c19f;_0x23d975(_0x42a424[_0x2f1f3b(0x144)]),this[_0x2f1f3b(0xef)][_0x2f1f3b(0xe9)]();}}
23
+ const _0xd39d4c=_0x32d1;(function(_0x2f5278,_0x3eb721){const _0x1ec8bb=_0x32d1,_0x1d6697=_0x2f5278();while(!![]){try{const _0x3d859e=-parseInt(_0x1ec8bb(0x236))/0x1*(-parseInt(_0x1ec8bb(0x260))/0x2)+parseInt(_0x1ec8bb(0x1e1))/0x3*(parseInt(_0x1ec8bb(0x226))/0x4)+-parseInt(_0x1ec8bb(0x1fc))/0x5*(parseInt(_0x1ec8bb(0x272))/0x6)+parseInt(_0x1ec8bb(0x244))/0x7+parseInt(_0x1ec8bb(0x1f0))/0x8*(parseInt(_0x1ec8bb(0x20c))/0x9)+parseInt(_0x1ec8bb(0x1fd))/0xa*(parseInt(_0x1ec8bb(0x213))/0xb)+parseInt(_0x1ec8bb(0x1e5))/0xc*(-parseInt(_0x1ec8bb(0x23f))/0xd);if(_0x3d859e===_0x3eb721)break;else _0x1d6697['push'](_0x1d6697['shift']());}catch(_0x27fc47){_0x1d6697['push'](_0x1d6697['shift']());}}}(_0x2df4,0x21ffa));import{ContextPlugin as _0x14da28}from'ckeditor5/src/core.js';function _0x2df4(){const _0x55e2b0=['length','options','getAll','625772iUnNGe','showReviewCheckList','custom','_OPTIONS_LABEL','AIReviewModeController','_TITLE','status','_currentReviewCheckRun','config','emitter','showChangeBalloon','showReviewCompletedView','contentNew','requires','init','change','reviewCheckRunUpdated','editing','toggleDiff','changeId','isOfficialPlugin','ready','showDiffInBalloon','message','changes','forceReadyState','showGeneralErrorView','args','2iLAYnL','getReviewCheckList','reviewCheckResultRejected','includes','translate','showActionsWhenResultIsReady','panel','reviewCheckResultDeactivated','leaveReviewMode','accepted','showChunkErrorView','error-general','ck-ai-review-mode-highlights','error-chunk','ck-ai-review-mode-diff','clearAllMarkers','getCheckById','_translateReviewChecks','1085622XSSSmU','getDocumentData','data','AI_REVIEW_CHECK_','AIConnector','AIReviewModeEditing','isChangeActive','locale','finishReview','reviewCheckResultActivated','ai-review-mode-no-current-check-run','showNoChangesView','reviewCheckResultReady','params','updateChangeState','toUpperCase','ai-review-mode-source-check-not-found','prompt','reviewCheckResultAccepted','applyChange','ai.reviewMode.translations','getRoot','activateChange','runReviewCheck','finished','3ITrqRP','listenTo','.ck-ai-review-mode__check-run-result','get','60NqHAtO','_isDiffOn','model','source','sendRating','hideChangeBalloon','content','showCheckRunResult','abortReviewStream','subTitle','restart','19256VQopRA','_aiReviewModeEditing','AIReviewModeUI','checks','setActiveStateInResults','_OPTIONS_DATA_','replaceAll','processedResultsCount','title','markAllChangesAsAccepted','hasModifications','contentInitial','5aLINwR','2290IOEWLG','changeMarkerClick','acceptChange','getActiveChanges','result','leaveReviewModeResultList','unmodified','label','showCheckRunResults','rejected','context','_onReviewModeRunLeave','retryReview','resetActiveStateInResults','description','288kbylaT','reviewCheckResultAdded','getChangeElement','getEditor','hideDiffInBalloon','diffContent','find','7854hmREdK','_logError','abort','_changeActivationSource','AI_MODEL_DESCRIPTION_','getMarkerElementForChange','_getTranslationWithDefault','documentData','document','isPremiumPlugin','aborted','addResultChanges','plugins','addClass','isCustom','domElement','switchToEdit','setAvailableChecks','map','126908GVYfRF','dismissChange','_aiReviewModeUi','start','removeClass','_aiReviewCheckList','_onDiffChange','markChangeAsAccepted','acceptAllChanges','switchToReadOnly','pluginName','markChangePositionInEditorContent','loading','closest','view','models','112247wgdoyv','ai-request-aborted','markChangeAsRejected','setCheckResultTitle','rejectChange','ai-review-mode-check-run-failed','_aiConnector','deactivateChange','_DESCRIPTION','399633ITqkZu','stopListening'];_0x2df4=function(){return _0x55e2b0;};return _0x2df4();}function _0x32d1(_0x5e4310,_0xf1bdb3){const _0x2df45d=_0x2df4();return _0x32d1=function(_0x32d132,_0x30876d){_0x32d132=_0x32d132-0x1cf;let _0x4410d4=_0x2df45d[_0x32d132];return _0x4410d4;},_0x32d1(_0x5e4310,_0xf1bdb3);}import{CKEditorError as _0x36462e,logError as _0x232d3c,scrollAncestorsToShowTarget as _0x2ce398,scrollViewportToShowTarget as _0x25bb03}from'ckeditor5/src/utils.js';import{AIConnector as _0x523142}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x305c1d}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x4f8a5d}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x10437b}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x2f1cf7}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x284439}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x3d44b1}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x14da28{[_0xd39d4c(0x23c)];[_0xd39d4c(0x228)];[_0xd39d4c(0x1f1)];[_0xd39d4c(0x22b)];[_0xd39d4c(0x24b)];[_0xd39d4c(0x1e6)]=!0x1;[_0xd39d4c(0x216)]=null;static get[_0xd39d4c(0x251)](){return[_0x523142];}static get[_0xd39d4c(0x230)](){const _0x65bb28=_0xd39d4c;return _0x65bb28(0x248);}static get[_0xd39d4c(0x258)](){return!0x0;}static get[_0xd39d4c(0x21c)](){return!0x0;}async[_0xd39d4c(0x252)](){const _0x5e295e=_0xd39d4c;this[_0x5e295e(0x23c)]=this[_0x5e295e(0x207)][_0x5e295e(0x21f)][_0x5e295e(0x1e4)](_0x5e295e(0x276)),this[_0x5e295e(0x228)]=this[_0x5e295e(0x207)][_0x5e295e(0x21f)][_0x5e295e(0x1e4)](_0x5e295e(0x1f2)),this[_0x5e295e(0x1f1)]=this[_0x5e295e(0x207)][_0x5e295e(0x21f)][_0x5e295e(0x1e4)](_0x5e295e(0x277));const _0x3a7193=this[_0x5e295e(0x207)][_0x5e295e(0x24c)][_0x5e295e(0x1e4)](_0x5e295e(0x1dc));if(_0x3a7193){for(const _0x2c1b20 of _0x284439)_0x5e295e(0x264)===_0x2c1b20['id']&&(_0x2c1b20[_0x5e295e(0x242)][0x0][_0x5e295e(0x274)]=_0x3a7193);}const _0x384733=this[_0x5e295e(0x271)](_0x284439);this[_0x5e295e(0x22b)]=new _0x305c1d(_0x384733);const _0x5076b3=this[_0x5e295e(0x22b)][_0x5e295e(0x1f3)][_0x5e295e(0x212)](_0x562202=>_0x5e295e(0x246)===_0x562202['id']);if(_0x5076b3){const _0x38cb2c=await new _0x2f1cf7({'connector':this[_0x5e295e(0x23c)]})[_0x5e295e(0x243)]();_0x5076b3[_0x5e295e(0x235)]=_0x38cb2c[_0x5e295e(0x225)](_0x13b2a7=>({..._0x13b2a7,'description':this[_0x5e295e(0x219)](_0x5e295e(0x217)+_0x13b2a7['id'][_0x5e295e(0x1d7)](),_0x13b2a7[_0x5e295e(0x20b)])}));}this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x261),()=>{const _0x173016=_0x5e295e;this[_0x173016(0x228)][_0x173016(0x224)](this[_0x173016(0x22b)][_0x173016(0x1f3)]);}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x1df),async(_0x13f6b9,_0x3b760e)=>{const _0xc2c51b=_0x5e295e,_0x243319=this[_0xc2c51b(0x22b)][_0xc2c51b(0x270)](_0x3b760e['id']);if(_0x243319){this[_0xc2c51b(0x22c)](this[_0xc2c51b(0x1e6)]),_0x3b760e[_0xc2c51b(0x221)]?this[_0xc2c51b(0x24b)]=new _0x10437b(_0x3b760e[_0xc2c51b(0x25f)][_0xc2c51b(0x1d9)],_0x3b760e[_0xc2c51b(0x25f)][_0xc2c51b(0x1e7)],this[_0xc2c51b(0x1f1)][_0xc2c51b(0x273)](),_0x243319,this[_0xc2c51b(0x23c)]):this[_0xc2c51b(0x24b)]=new _0x4f8a5d(this[_0xc2c51b(0x1f1)][_0xc2c51b(0x273)](),_0x243319,this[_0xc2c51b(0x23c)],_0x3b760e[_0xc2c51b(0x1d5)],_0x3b760e[_0xc2c51b(0x25f)]),this[_0xc2c51b(0x228)][_0xc2c51b(0x239)](this[_0xc2c51b(0x24b)][_0xc2c51b(0x1f8)],this[_0xc2c51b(0x24b)][_0xc2c51b(0x1ee)]),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x254),(_0x3532f2,_0x16496c)=>{const _0x21860b=_0xc2c51b;_0x21860b(0x274)===_0x16496c[_0x21860b(0x24a)]||_0x21860b(0x232)===_0x16496c[_0x21860b(0x24a)]?(this[_0x21860b(0x1f1)][_0x21860b(0x22f)](),this[_0x21860b(0x228)][_0x21860b(0x205)](_0x16496c)):_0x21860b(0x1e0)===_0x16496c[_0x21860b(0x24a)]?this[_0x21860b(0x228)][_0x21860b(0x24f)]():_0x21860b(0x259)===_0x16496c[_0x21860b(0x24a)]?this[_0x21860b(0x228)][_0x21860b(0x265)]():_0x21860b(0x203)===_0x16496c[_0x21860b(0x24a)]?this[_0x21860b(0x228)][_0x21860b(0x1d3)]():_0x21860b(0x26b)===_0x16496c[_0x21860b(0x24a)]?this[_0x21860b(0x228)][_0x21860b(0x25e)]():_0x21860b(0x26d)===_0x16496c[_0x21860b(0x24a)]?this[_0x21860b(0x228)][_0x21860b(0x26a)]():_0x21860b(0x21d)===_0x16496c[_0x21860b(0x24a)]&&(this[_0x21860b(0x24b)]&&this[_0x21860b(0x24b)][_0x21860b(0x1f7)]>0x0?setTimeout(()=>{const _0x37fa2b=_0x21860b;this[_0x37fa2b(0x24b)]?.[_0x37fa2b(0x25d)]();},0x0):this[_0x21860b(0x208)](!0x0)),_0x21860b(0x259)!==_0x16496c[_0x21860b(0x24a)]&&_0x21860b(0x26d)!==_0x16496c[_0x21860b(0x24a)]&&_0x21860b(0x26b)!==_0x16496c[_0x21860b(0x24a)]||this[_0x21860b(0x24b)]?.[_0x21860b(0x1e9)]();}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x20d),(_0x58e317,_0x2e2f02)=>{const _0x492d7c=_0xc2c51b;if(!this[_0x492d7c(0x24b)])throw new _0x36462e(_0x492d7c(0x1d2),this);const _0x1b2d61=this[_0x492d7c(0x1f1)][_0x492d7c(0x211)](_0x2e2f02[_0x492d7c(0x201)][_0x492d7c(0x1fb)],_0x2e2f02[_0x492d7c(0x201)][_0x492d7c(0x250)]);_0x2e2f02[_0x492d7c(0x1e8)][_0x492d7c(0x21e)](_0x2e2f02[_0x492d7c(0x201)]['id'],_0x1b2d61);}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x1d4),(_0x5a1fd8,_0x3f33a2)=>{const _0xbc30cf=_0xc2c51b;for(const _0x4160c0 of _0x3f33a2[_0xbc30cf(0x25c)])this[_0xbc30cf(0x228)][_0xbc30cf(0x1ec)](_0x4160c0);this[_0xbc30cf(0x1f1)][_0xbc30cf(0x231)](_0x3f33a2[_0xbc30cf(0x25c)],_0x3f33a2[_0xbc30cf(0x1e8)][_0xbc30cf(0x21a)]);}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x1da),(_0xf45b48,_0x42b7e2)=>{const _0x4ee950=_0xc2c51b;this[_0x4ee950(0x228)][_0x4ee950(0x1d6)](_0x42b7e2[_0x4ee950(0x253)]['id'],_0x4ee950(0x269));}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x262),(_0x3d38bc,_0x13ffc9)=>{const _0xe3c86f=_0xc2c51b;this[_0xe3c86f(0x228)][_0xe3c86f(0x1d6)](_0x13ffc9[_0xe3c86f(0x253)]['id'],_0xe3c86f(0x206));}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x1d1),(_0x41e7f1,_0x855d09)=>{const _0x5e1fe5=_0xc2c51b;this[_0x5e1fe5(0x228)][_0x5e1fe5(0x1f4)](_0x855d09[_0x5e1fe5(0x253)]['id']);const _0x30b435=this[_0x5e1fe5(0x1f1)][_0x5e1fe5(0x218)](_0x855d09[_0x5e1fe5(0x253)]['id']);if(_0x30b435){if(_0x5e1fe5(0x1eb)===this[_0x5e1fe5(0x216)]){const _0x137cdf=this[_0x5e1fe5(0x228)][_0x5e1fe5(0x20e)](_0x855d09[_0x5e1fe5(0x253)]['id']);_0x137cdf&&_0x2ce398(_0x137cdf[_0x5e1fe5(0x233)](_0x5e1fe5(0x1e3))||_0x137cdf);}else{if(_0x5e1fe5(0x266)===this[_0x5e1fe5(0x216)]){const _0xbcc161={'target':_0x30b435[_0x5e1fe5(0x222)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x25bb03(_0xbcc161);}}this[_0x5e1fe5(0x228)][_0x5e1fe5(0x24e)](_0x855d09[_0x5e1fe5(0x253)],_0x30b435[_0x5e1fe5(0x222)]);}}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x267),()=>{const _0x4f2658=_0xc2c51b;this[_0x4f2658(0x228)][_0x4f2658(0x20a)]();});try{await this[_0xc2c51b(0x24b)][_0xc2c51b(0x229)]();}catch(_0xb2edf0){_0xb2edf0 instanceof Error&&_0xb2edf0[_0xc2c51b(0x25b)][_0xc2c51b(0x263)](_0xc2c51b(0x237))||(_0xb2edf0 instanceof _0x36462e?this[_0xc2c51b(0x214)](_0xb2edf0):this[_0xc2c51b(0x214)](new _0x36462e(_0xc2c51b(0x23b),this,{'error':_0xb2edf0})));}}else this[_0xc2c51b(0x214)](new _0x36462e(_0xc2c51b(0x1d8),this,{'checkId':_0x3b760e['id']}));}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x268),()=>{const _0x242167=_0x5e295e;this[_0x242167(0x208)]();}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x202),()=>{const _0x2d9946=_0x5e295e;this[_0x2d9946(0x208)](!0x0);}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x1ed),()=>{const _0x4847e1=_0x5e295e;this[_0x4847e1(0x24b)]&&this[_0x4847e1(0x24b)][_0x4847e1(0x215)]();}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x1d0),()=>{const _0x8f209a=_0x5e295e;this[_0x8f209a(0x208)](!0x0);}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x22e),()=>{const _0x329ad6=_0x5e295e;if(!this[_0x329ad6(0x24b)])return;const _0x7337bd=this[_0x329ad6(0x24b)][_0x329ad6(0x200)]();_0x7337bd[_0x329ad6(0x241)]&&(this[_0x329ad6(0x1f1)][_0x329ad6(0x1db)](_0x7337bd[_0x329ad6(0x225)](_0x401f01=>_0x401f01['id'])),this[_0x329ad6(0x24b)][_0x329ad6(0x1f9)](),this[_0x329ad6(0x24b)][_0x329ad6(0x1e9)]());}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x1ff),(_0x428d00,_0x4f36d6)=>{const _0x3e2e2f=_0x5e295e;this[_0x3e2e2f(0x24b)]&&this[_0x3e2e2f(0x24b)][_0x3e2e2f(0x278)](_0x4f36d6['id'])&&(this[_0x3e2e2f(0x1f1)][_0x3e2e2f(0x1db)]([_0x4f36d6['id']]),this[_0x3e2e2f(0x24b)][_0x3e2e2f(0x22d)](_0x4f36d6['id']),this[_0x3e2e2f(0x228)][_0x3e2e2f(0x1ea)](),this[_0x3e2e2f(0x24b)][_0x3e2e2f(0x1e9)](_0x4f36d6['id']));}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x227),(_0x3fe72d,_0x3853a1)=>{const _0x581dc7=_0x5e295e;this[_0x581dc7(0x24b)]&&this[_0x581dc7(0x24b)][_0x581dc7(0x278)](_0x3853a1['id'])&&(this[_0x581dc7(0x1f1)][_0x581dc7(0x23a)](_0x3853a1['id']),this[_0x581dc7(0x24b)][_0x581dc7(0x238)](_0x3853a1['id']),this[_0x581dc7(0x228)][_0x581dc7(0x1ea)](),this[_0x581dc7(0x24b)][_0x581dc7(0x1e9)](_0x3853a1['id']));}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x256),(_0x31b5b6,_0xb683e)=>{const _0x1904cf=_0x5e295e;this[_0x1904cf(0x1e6)]=_0xb683e['on'],this[_0x1904cf(0x22c)](this[_0x1904cf(0x1e6)]);}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x209),async()=>{const _0x1f0126=_0x5e295e;this[_0x1f0126(0x24b)]&&await this[_0x1f0126(0x24b)][_0x1f0126(0x1ef)]();}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x1de),(_0x2dde25,_0x43ffcf)=>{const _0x4db63c=_0x5e295e;this[_0x4db63c(0x24b)]&&(this[_0x4db63c(0x216)]=_0x4db63c(0x266),this[_0x4db63c(0x24b)][_0x4db63c(0x1de)](_0x43ffcf['id']));}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x23d),()=>{const _0x3fc4b6=_0x5e295e;this[_0x3fc4b6(0x24b)]&&this[_0x3fc4b6(0x24b)][_0x3fc4b6(0x23d)]();}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x1f1)][_0x5e295e(0x24d)],_0x5e295e(0x1fe),(_0x5d81b0,_0xfe927e)=>{const _0x1600cf=_0x5e295e;this[_0x1600cf(0x24b)]&&(this[_0x1600cf(0x216)]=_0x1600cf(0x1eb),this[_0x1600cf(0x24b)][_0x1600cf(0x1de)](_0xfe927e[_0x1600cf(0x257)]));});}[_0xd39d4c(0x208)](_0x1ab674=!0x1){const _0x2b9d48=_0xd39d4c;this[_0x2b9d48(0x24b)]&&(this[_0x2b9d48(0x24b)][_0x2b9d48(0x1fa)]||this[_0x2b9d48(0x24b)][_0x2b9d48(0x1e9)](),this[_0x2b9d48(0x24b)][_0x2b9d48(0x215)](),this[_0x2b9d48(0x24b)][_0x2b9d48(0x240)](),this[_0x2b9d48(0x24b)]=void 0x0),_0x1ab674&&this[_0x2b9d48(0x228)][_0x2b9d48(0x245)](),this[_0x2b9d48(0x1f1)][_0x2b9d48(0x26f)](),this[_0x2b9d48(0x1f1)][_0x2b9d48(0x223)](),this[_0x2b9d48(0x216)]=null;const _0x30d1e1=this[_0x2b9d48(0x1f1)][_0x2b9d48(0x20f)]();_0x30d1e1&&_0x30d1e1[_0x2b9d48(0x255)][_0x2b9d48(0x234)][_0x2b9d48(0x253)](_0xd9c2ea=>{const _0xf9491f=_0x2b9d48,_0x2f891c=_0x30d1e1[_0xf9491f(0x255)][_0xf9491f(0x234)][_0xf9491f(0x21b)][_0xf9491f(0x1dd)]();_0xd9c2ea[_0xf9491f(0x22a)](_0xf9491f(0x26e),_0x2f891c),_0xd9c2ea[_0xf9491f(0x22a)](_0xf9491f(0x26c),_0x2f891c);});}[_0xd39d4c(0x22c)](_0x109d7e){const _0x29b6b7=_0xd39d4c,_0x483d65=this[_0x29b6b7(0x1f1)][_0x29b6b7(0x20f)]();_0x109d7e?this[_0x29b6b7(0x228)][_0x29b6b7(0x210)]():this[_0x29b6b7(0x228)][_0x29b6b7(0x25a)](),_0x483d65&&_0x483d65[_0x29b6b7(0x255)][_0x29b6b7(0x234)][_0x29b6b7(0x253)](_0x1fee2c=>{const _0x14031d=_0x29b6b7,_0x171109=_0x483d65[_0x14031d(0x255)][_0x14031d(0x234)][_0x14031d(0x21b)][_0x14031d(0x1dd)]();_0x1fee2c[_0x14031d(0x22a)](_0x14031d(0x26e),_0x171109),_0x1fee2c[_0x14031d(0x22a)](_0x14031d(0x26c),_0x171109),_0x1fee2c[_0x14031d(0x220)](_0x109d7e?_0x14031d(0x26e):_0x14031d(0x26c),_0x171109);});}[_0xd39d4c(0x271)](_0x4fdc6a){const _0x28eeeb=_0xd39d4c;return _0x4fdc6a[_0x28eeeb(0x225)](_0x4f5a35=>{const _0x32f53e=_0x28eeeb,_0x5c591b=_0x32f53e(0x275)+_0x4f5a35['id'][_0x32f53e(0x1d7)]()[_0x32f53e(0x1f6)]('-','_'),_0x1ff734={..._0x4f5a35,'title':this[_0x32f53e(0x219)](_0x5c591b+_0x32f53e(0x249),_0x4f5a35[_0x32f53e(0x1f8)]),'description':this[_0x32f53e(0x219)](_0x5c591b+_0x32f53e(0x23e),_0x4f5a35[_0x32f53e(0x20b)])};return _0x4f5a35[_0x32f53e(0x242)]&&(_0x1ff734[_0x32f53e(0x242)]=_0x4f5a35[_0x32f53e(0x242)][_0x32f53e(0x225)](_0x33672e=>({..._0x33672e,'label':this[_0x32f53e(0x219)](_0x5c591b+_0x32f53e(0x247),_0x33672e[_0x32f53e(0x204)]||''),'data':_0x33672e[_0x32f53e(0x274)]?_0x33672e[_0x32f53e(0x274)][_0x32f53e(0x225)](_0x13878e=>({..._0x13878e,'label':this[_0x32f53e(0x219)](_0x5c591b+_0x32f53e(0x1f5)+_0x13878e['id'][_0x32f53e(0x1d7)](),_0x13878e[_0x32f53e(0x204)])})):void 0x0}))),_0x1ff734;});}[_0xd39d4c(0x219)](_0x58d3d5,_0x565925){const _0x9a3144=_0xd39d4c,_0x4e1da9=this[_0x9a3144(0x207)][_0x9a3144(0x1cf)],_0x516804=_0x3d44b1(_0x4e1da9,_0x58d3d5);return _0x516804===_0x58d3d5?_0x565925:_0x516804;}[_0xd39d4c(0x214)](_0x1cc540){const _0x5ff566=_0xd39d4c;_0x232d3c(_0x1cc540[_0x5ff566(0x25b)]),this[_0x5ff566(0x228)][_0x5ff566(0x25e)]();}}