@ckeditor/ckeditor5-ai 47.3.0-alpha.2 → 47.3.0-alpha.4

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 (298) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +18 -11
  3. package/dist/index.css +19 -11
  4. package/dist/index.js +5 -5
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +15 -15
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  158. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  159. package/src/aiassistant/aiassistant.js +1 -1
  160. package/src/aiassistant/aiassistantediting.js +1 -1
  161. package/src/aiassistant/aiassistantui.js +1 -1
  162. package/src/aiassistant/legacyerrors.js +1 -1
  163. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  164. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  165. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformview.js +1 -1
  169. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  171. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  172. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  173. package/src/aiassistant/utils/common-translations.js +1 -1
  174. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  175. package/src/aiballoon/aiballoon.js +1 -1
  176. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  177. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatcontroller.js +1 -1
  181. package/src/aichat/aichatui.js +1 -1
  182. package/src/aichat/model/aichatcontext.js +1 -1
  183. package/src/aichat/model/aichatconversation.js +1 -1
  184. package/src/aichat/model/aichatinteraction.js +1 -1
  185. package/src/aichat/model/aichatmodels.js +1 -1
  186. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  187. package/src/aichat/ui/aichatfeedview.js +1 -1
  188. package/src/aichat/ui/aichatheaderview.js +1 -1
  189. package/src/aichat/ui/aichatview.js +1 -1
  190. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  211. package/src/aichat/utils/eventnames.js +1 -1
  212. package/src/aichat/utils/promisequeue.js +1 -1
  213. package/src/aichathistory/aichathistory.js +1 -1
  214. package/src/aichathistory/aichathistorycontroller.js +1 -1
  215. package/src/aichathistory/aichathistoryui.js +1 -1
  216. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  217. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  218. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  219. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistoryview.d.ts +1 -0
  222. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  240. package/src/aicore/utils/common-translations.js +1 -1
  241. package/src/aicore/utils/createresizebutton.js +1 -1
  242. package/src/aicore/utils/documentposition.js +1 -1
  243. package/src/aicore/utils/documentrange.js +1 -1
  244. package/src/aicore/utils/eventnames.js +1 -1
  245. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  246. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  247. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  248. package/src/aicore/utils/htmlparser.js +1 -1
  249. package/src/aicore/utils/htmlstreamer.js +1 -1
  250. package/src/aicore/utils/scrollmanager.js +1 -1
  251. package/src/aieditorintegration/aieditorintegration.js +1 -1
  252. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  253. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  254. package/src/aiquickactions/aiquickactions.js +1 -1
  255. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  256. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  257. package/src/aiquickactions/aiquickactionsui.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  259. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  260. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  261. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  262. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  263. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  264. package/src/aireviewmode/aireviewmode.js +1 -1
  265. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  266. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  267. package/src/aireviewmode/aireviewmodeui.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  270. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  272. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  273. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  274. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  275. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  276. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  287. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  288. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  289. package/src/aitabs/aitabs.js +1 -1
  290. package/src/aitabs/aitabsmainview.js +1 -1
  291. package/src/aitabs/tabs/aitabsview.js +1 -1
  292. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  293. package/src/aitabs/tabs/tabpanelview.js +1 -1
  294. package/src/errors.js +1 -1
  295. package/src/errorsmap.js +1 -1
  296. package/src/index.js +1 -1
  297. package/theme/aiballoon/aiballoon.css +2 -1
  298. package/theme/aiquickactions/aiquickactions.css +17 -10
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2644ac=_0x1da3;function _0xd6c1(){const _0x5d804f=['has','isCollapsed','label','AIReviewMode','13142992iGozOG','log','document','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','sendMessage','AIActions','_handleAIReviewAction','_handleAIActionsAction','AITabs','change','_handleAIActionsActionLabel','view','selection','26848HSnpxN','removeSelectionFromChatContext','model','locale','schema','18cJdXZh','AIChatController','type','actionName','getSelectedBlocks','1935130jagdkF','prompt','editor','get','REVIEW','getLimitElement','plugins','executeAction','handleAIReviewAction','other','chat','execute','657LqRwqn','ask-ai','displayedPrompt','_handleAIChatAction','5327382jgFFXI','11097520gWXhYe','484710oIHALb','parent','CHAT','ai-quick-actions-plugin-not-found','focusPromptInput','addSelectionToChatContext','ACTION','args','15710aYMzNr','AIChat','startConversation','setSelection','26XGsczL','_expandSelectionIfCollapsed','icon','activateTab'];_0xd6c1=function(){return _0x5d804f;};return _0xd6c1();}(function(_0x448611,_0x2be398){const _0x4a0a26=_0x1da3,_0x415453=_0x448611();while(!![]){try{const _0x11657f=-parseInt(_0x4a0a26(0x12b))/0x1*(parseInt(_0x4a0a26(0x12f))/0x2)+parseInt(_0x4a0a26(0x11d))/0x3*(parseInt(_0x4a0a26(0x144))/0x4)+parseInt(_0x4a0a26(0x14e))/0x5+-parseInt(_0x4a0a26(0x121))/0x6+-parseInt(_0x4a0a26(0x122))/0x7+parseInt(_0x4a0a26(0x137))/0x8+-parseInt(_0x4a0a26(0x149))/0x9*(-parseInt(_0x4a0a26(0x123))/0xa);if(_0x11657f===_0x2be398)break;else _0x415453['push'](_0x415453['shift']());}catch(_0x17fd06){_0x415453['push'](_0x415453['shift']());}}}(_0xd6c1,0xe06f3));import{Command as _0x49a5cf}from'ckeditor5/src/core.js';import{CKEditorError as _0x48cfe,first as _0x2ec35e}from'ckeditor5/src/utils.js';function _0x1da3(_0x1f8236,_0x11289b){const _0xd6c160=_0xd6c1();return _0x1da3=function(_0x1da3e3,_0x42f546){_0x1da3e3=_0x1da3e3-0x11a;let _0x3ef03d=_0xd6c160[_0x1da3e3];return _0x3ef03d;},_0x1da3(_0x1f8236,_0x11289b);}import{AIQuickActionType as _0x2b1da3}from'./aiquickactionsui.js';import{getTranslation as _0x5bb14d}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x49a5cf{[_0x2644ac(0x11c)](_0x19830a){const _0x384fb2=_0x2644ac;switch(this[_0x384fb2(0x130)](),_0x19830a[_0x384fb2(0x14b)]){case _0x2b1da3[_0x384fb2(0x125)]:if(!this[_0x384fb2(0x150)][_0x384fb2(0x154)][_0x384fb2(0x133)](_0x384fb2(0x12c))){const _0x41606c=_0x5bb14d(this[_0x384fb2(0x150)][_0x384fb2(0x147)],_0x384fb2(0x13a),_0x384fb2(0x12c));throw new _0x48cfe(_0x384fb2(0x126),this[_0x384fb2(0x150)],{'errorMessage':_0x41606c});}this[_0x384fb2(0x120)](_0x19830a);break;case _0x2b1da3[_0x384fb2(0x129)]:if(!this[_0x384fb2(0x150)][_0x384fb2(0x154)][_0x384fb2(0x133)](_0x384fb2(0x13c))){const _0x4d8dc7=_0x5bb14d(this[_0x384fb2(0x150)][_0x384fb2(0x147)],_0x384fb2(0x13a),_0x384fb2(0x13c));throw new _0x48cfe(_0x384fb2(0x126),this[_0x384fb2(0x150)],{'errorMessage':_0x4d8dc7});}this[_0x384fb2(0x13e)](_0x19830a);break;case _0x2b1da3[_0x384fb2(0x152)]:if(!this[_0x384fb2(0x150)][_0x384fb2(0x154)][_0x384fb2(0x133)](_0x384fb2(0x136))){const _0x85eda7=_0x5bb14d(this[_0x384fb2(0x150)][_0x384fb2(0x147)],_0x384fb2(0x13a),_0x384fb2(0x136));throw new _0x48cfe(_0x384fb2(0x126),this[_0x384fb2(0x150)],{'errorMessage':_0x85eda7});}this[_0x384fb2(0x13d)](_0x19830a);}}async[_0x2644ac(0x120)](_0x3bbea7){const _0xaea8f1=_0x2644ac,_0x4ce64e=this[_0xaea8f1(0x150)][_0xaea8f1(0x154)][_0xaea8f1(0x151)](_0xaea8f1(0x12c)),_0x3397ab=this[_0xaea8f1(0x150)][_0xaea8f1(0x154)][_0xaea8f1(0x151)](_0xaea8f1(0x14a));if(this[_0xaea8f1(0x150)][_0xaea8f1(0x154)][_0xaea8f1(0x151)](_0xaea8f1(0x13f))[_0xaea8f1(0x142)][_0xaea8f1(0x132)](_0xaea8f1(0x11b)),_0xaea8f1(0x11e)===_0x3bbea7['id'])_0x3397ab[_0xaea8f1(0x145)](),await _0x4ce64e[_0xaea8f1(0x128)](),_0x4ce64e[_0xaea8f1(0x127)]();else await _0x4ce64e[_0xaea8f1(0x12d)](),_0x3397ab[_0xaea8f1(0x145)](),await _0x4ce64e[_0xaea8f1(0x128)](),_0x4ce64e[_0xaea8f1(0x127)](),await _0x4ce64e[_0xaea8f1(0x13b)]({'message':_0x3bbea7[_0xaea8f1(0x14f)]||_0x3bbea7[_0xaea8f1(0x11f)],'quickActionData':{'id':_0x3bbea7['id'],'displayedPrompt':_0x3bbea7[_0xaea8f1(0x11f)]}});}[_0x2644ac(0x130)](){const _0x5ec502=_0x2644ac,_0x1687f7=this[_0x5ec502(0x150)],_0x201ddd=_0x1687f7[_0x5ec502(0x146)][_0x5ec502(0x139)][_0x5ec502(0x143)];if(!_0x201ddd[_0x5ec502(0x134)])return;const _0xd69f5b=_0x2ec35e(_0x201ddd[_0x5ec502(0x14d)]())||_0x1687f7[_0x5ec502(0x146)][_0x5ec502(0x148)][_0x5ec502(0x153)](_0x201ddd);_0x1687f7[_0x5ec502(0x146)][_0x5ec502(0x140)](_0x3cdf92=>{const _0x476820=_0x5ec502;_0x3cdf92[_0x476820(0x12e)](_0xd69f5b,'in');});}[_0x2644ac(0x141)](_0x55f2bc){const _0x29be31=_0x2644ac;return _0x55f2bc[_0x29be31(0x124)]?.[_0x29be31(0x135)]&&_0x29be31(0x11a)!==_0x55f2bc[_0x29be31(0x124)]?.['id']?_0x55f2bc[_0x29be31(0x124)][_0x29be31(0x135)]+':\x20'+_0x55f2bc[_0x29be31(0x11f)]:_0x55f2bc[_0x29be31(0x11f)];}async[_0x2644ac(0x13e)](_0x248242){const _0x58a8d0=_0x2644ac,_0x4281ed=this[_0x58a8d0(0x150)][_0x58a8d0(0x154)][_0x58a8d0(0x151)](_0x58a8d0(0x13c)),_0x45f628=_0x248242[_0x58a8d0(0x14f)]?{'userMessage':_0x248242[_0x58a8d0(0x14f)],'model':_0x248242[_0x58a8d0(0x146)]}:{'actionName':_0x248242[_0x58a8d0(0x14c)]||_0x248242['id'],'args':_0x248242[_0x58a8d0(0x12a)]},_0x578985=this[_0x58a8d0(0x141)](_0x248242);await _0x4281ed[_0x58a8d0(0x155)](_0x45f628,_0x578985,_0x248242[_0x58a8d0(0x131)]);}async[_0x2644ac(0x13d)](_0x344b10){const _0x7b7669=_0x2644ac;console[_0x7b7669(0x138)](_0x7b7669(0x156),_0x344b10);}}
23
+ const _0x3a968f=_0x3d2e;(function(_0x2438ac,_0x181412){const _0x3286b0=_0x3d2e,_0x4b7eae=_0x2438ac();while(!![]){try{const _0x2302a9=-parseInt(_0x3286b0(0x194))/0x1+parseInt(_0x3286b0(0x188))/0x2+parseInt(_0x3286b0(0x167))/0x3+-parseInt(_0x3286b0(0x16b))/0x4*(parseInt(_0x3286b0(0x16f))/0x5)+-parseInt(_0x3286b0(0x189))/0x6*(-parseInt(_0x3286b0(0x171))/0x7)+parseInt(_0x3286b0(0x19e))/0x8*(parseInt(_0x3286b0(0x19a))/0x9)+-parseInt(_0x3286b0(0x16d))/0xa;if(_0x2302a9===_0x181412)break;else _0x4b7eae['push'](_0x4b7eae['shift']());}catch(_0x17190d){_0x4b7eae['push'](_0x4b7eae['shift']());}}}(_0x1607,0xaf488));function _0x3d2e(_0x19c1fb,_0x5d1a6c){const _0x16078c=_0x1607();return _0x3d2e=function(_0x3d2eea,_0x2389e2){_0x3d2eea=_0x3d2eea-0x164;let _0x437bd4=_0x16078c[_0x3d2eea];return _0x437bd4;},_0x3d2e(_0x19c1fb,_0x5d1a6c);}import{Command as _0x15f25a}from'ckeditor5/src/core.js';function _0x1607(){const _0x411473=['AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','activateTab','addSelectionToChatContext','plugins','812163suGWbT','editor','REVIEW','removeSelectionFromChatContext','1377536HIrxLh','_handleAIActionsAction','7656600pYJYoa','ask-ai','5EWCsvE','change','42YwEsTU','getLimitElement','AITabs','log','ai-quick-actions-plugin-not-found','getSelectedBlocks','handleAIReviewAction','AIReviewMode','_handleAIChatAction','type','execute','parent','ACTION','label','schema','CHAT','locale','_handleAIActionsActionLabel','displayedPrompt','has','prompt','isCollapsed','get','1149882lpNKcz','884514YtPsVP','sendMessage','AIActions','actionName','startConversation','other','executeAction','AIChatController','icon','document','focusPromptInput','559347pEBNOU','args','_handleAIReviewAction','model','selection','setSelection','45bFcDqU','_expandSelectionIfCollapsed','chat','AIChat','1051480LVOJVK','view'];_0x1607=function(){return _0x411473;};return _0x1607();}import{CKEditorError as _0x14f2c7,first as _0x41d154}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x43f8df}from'./aiquickactionsui.js';import{getTranslation as _0x667f0}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x15f25a{[_0x3a968f(0x17b)](_0x1127a5){const _0x39392e=_0x3a968f;switch(this[_0x39392e(0x19b)](),_0x1127a5[_0x39392e(0x17a)]){case _0x43f8df[_0x39392e(0x180)]:if(!this[_0x39392e(0x168)][_0x39392e(0x166)][_0x39392e(0x184)](_0x39392e(0x19d))){const _0x1fc5ba=_0x667f0(this[_0x39392e(0x168)][_0x39392e(0x181)],_0x39392e(0x1a0),_0x39392e(0x19d));throw new _0x14f2c7(_0x39392e(0x175),this[_0x39392e(0x168)],{'errorMessage':_0x1fc5ba});}this[_0x39392e(0x179)](_0x1127a5);break;case _0x43f8df[_0x39392e(0x17d)]:if(!this[_0x39392e(0x168)][_0x39392e(0x166)][_0x39392e(0x184)](_0x39392e(0x18b))){const _0x50eb7a=_0x667f0(this[_0x39392e(0x168)][_0x39392e(0x181)],_0x39392e(0x1a0),_0x39392e(0x18b));throw new _0x14f2c7(_0x39392e(0x175),this[_0x39392e(0x168)],{'errorMessage':_0x50eb7a});}this[_0x39392e(0x16c)](_0x1127a5);break;case _0x43f8df[_0x39392e(0x169)]:if(!this[_0x39392e(0x168)][_0x39392e(0x166)][_0x39392e(0x184)](_0x39392e(0x178))){const _0x49dd95=_0x667f0(this[_0x39392e(0x168)][_0x39392e(0x181)],_0x39392e(0x1a0),_0x39392e(0x178));throw new _0x14f2c7(_0x39392e(0x175),this[_0x39392e(0x168)],{'errorMessage':_0x49dd95});}this[_0x39392e(0x196)](_0x1127a5);}}async[_0x3a968f(0x179)](_0x576ae0){const _0x3b8b30=_0x3a968f,_0x710aaf=this[_0x3b8b30(0x168)][_0x3b8b30(0x166)][_0x3b8b30(0x187)](_0x3b8b30(0x19d)),_0x11fcfc=this[_0x3b8b30(0x168)][_0x3b8b30(0x166)][_0x3b8b30(0x187)](_0x3b8b30(0x190));if(this[_0x3b8b30(0x168)][_0x3b8b30(0x166)][_0x3b8b30(0x187)](_0x3b8b30(0x173))[_0x3b8b30(0x19f)][_0x3b8b30(0x164)](_0x3b8b30(0x19c)),_0x3b8b30(0x16e)===_0x576ae0['id'])_0x11fcfc[_0x3b8b30(0x16a)](),await _0x710aaf[_0x3b8b30(0x165)](),_0x710aaf[_0x3b8b30(0x193)]();else await _0x710aaf[_0x3b8b30(0x18d)](),_0x11fcfc[_0x3b8b30(0x16a)](),await _0x710aaf[_0x3b8b30(0x165)](),_0x710aaf[_0x3b8b30(0x193)](),await _0x710aaf[_0x3b8b30(0x18a)]({'message':_0x576ae0[_0x3b8b30(0x185)]||_0x576ae0[_0x3b8b30(0x183)],'quickActionData':{'id':_0x576ae0['id'],'displayedPrompt':_0x576ae0[_0x3b8b30(0x183)]}});}[_0x3a968f(0x19b)](){const _0x2c12fc=_0x3a968f,_0x57d259=this[_0x2c12fc(0x168)],_0x365352=_0x57d259[_0x2c12fc(0x197)][_0x2c12fc(0x192)][_0x2c12fc(0x198)];if(!_0x365352[_0x2c12fc(0x186)])return;const _0x510b4f=_0x41d154(_0x365352[_0x2c12fc(0x176)]())||_0x57d259[_0x2c12fc(0x197)][_0x2c12fc(0x17f)][_0x2c12fc(0x172)](_0x365352);_0x57d259[_0x2c12fc(0x197)][_0x2c12fc(0x170)](_0x1356b6=>{const _0x5e3203=_0x2c12fc;_0x1356b6[_0x5e3203(0x199)](_0x510b4f,'in');});}[_0x3a968f(0x182)](_0x85c96d){const _0x3592ea=_0x3a968f;return _0x85c96d[_0x3592ea(0x17c)]?.[_0x3592ea(0x17e)]&&_0x3592ea(0x18e)!==_0x85c96d[_0x3592ea(0x17c)]?.['id']?_0x85c96d[_0x3592ea(0x17c)][_0x3592ea(0x17e)]+':\x20'+_0x85c96d[_0x3592ea(0x183)]:_0x85c96d[_0x3592ea(0x183)];}async[_0x3a968f(0x16c)](_0x9624c6){const _0x5d9a78=_0x3a968f,_0x5b4483=this[_0x5d9a78(0x168)][_0x5d9a78(0x166)][_0x5d9a78(0x187)](_0x5d9a78(0x18b)),_0x1f868d=_0x9624c6[_0x5d9a78(0x185)]?{'userMessage':_0x9624c6[_0x5d9a78(0x185)],'model':_0x9624c6[_0x5d9a78(0x197)]}:{'actionName':_0x9624c6[_0x5d9a78(0x18c)]||_0x9624c6['id'],'args':_0x9624c6[_0x5d9a78(0x195)]},_0xc5987f=this[_0x5d9a78(0x182)](_0x9624c6);await _0x5b4483[_0x5d9a78(0x18f)](_0x1f868d,_0xc5987f,_0x9624c6[_0x5d9a78(0x191)]);}async[_0x3a968f(0x196)](_0x45bc1f){const _0x5076cc=_0x3a968f;console[_0x5076cc(0x174)](_0x5076cc(0x177),_0x45bc1f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb1c639=_0x177e;(function(_0x59f293,_0x5d49e5){const _0x2ee7a3=_0x177e,_0x3071d1=_0x59f293();while(!![]){try{const _0x2256c7=-parseInt(_0x2ee7a3(0x185))/0x1*(parseInt(_0x2ee7a3(0x180))/0x2)+parseInt(_0x2ee7a3(0x16a))/0x3+-parseInt(_0x2ee7a3(0x176))/0x4*(parseInt(_0x2ee7a3(0x183))/0x5)+parseInt(_0x2ee7a3(0x178))/0x6*(-parseInt(_0x2ee7a3(0x182))/0x7)+-parseInt(_0x2ee7a3(0x173))/0x8*(parseInt(_0x2ee7a3(0x17b))/0x9)+-parseInt(_0x2ee7a3(0x167))/0xa+-parseInt(_0x2ee7a3(0x17f))/0xb*(-parseInt(_0x2ee7a3(0x174))/0xc);if(_0x2256c7===_0x5d49e5)break;else _0x3071d1['push'](_0x3071d1['shift']());}catch(_0x1524cc){_0x3071d1['push'](_0x3071d1['shift']());}}}(_0x4ea8,0x5251e));import{Plugin as _0x3fdfa8}from'ckeditor5/src/core.js';function _0x4ea8(){const _0x445463=['removeSelectionFromChatContext','7tXjhEz','8435evqWxw','add','4132vnCTVK','4409590BEghpu','directChange','editor','1393290JRiXdj','AIChat','commands','has','document','change:range','init','model','AIQuickActionsEditing','344MugUAf','12DRYGQu','isPremiumPlugin','1508MeeqHN','isOfficialPlugin','492306dzooYz','selection','pluginName','134838WiiaGO','aiQuickAction','plugins','get','21753853EapIhP','146seJiLz'];_0x4ea8=function(){return _0x445463;};return _0x4ea8();}function _0x177e(_0x1d2799,_0x527d68){const _0x4ea8cb=_0x4ea8();return _0x177e=function(_0x177efc,_0x3c6556){_0x177efc=_0x177efc-0x167;let _0x2eae26=_0x4ea8cb[_0x177efc];return _0x2eae26;},_0x177e(_0x1d2799,_0x527d68);}import{AIQuickActionsCommand as _0x5562b6}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x3fdfa8{static get[_0xb1c639(0x17a)](){const _0x105894=_0xb1c639;return _0x105894(0x172);}static get[_0xb1c639(0x177)](){return!0x0;}static get[_0xb1c639(0x175)](){return!0x0;}[_0xb1c639(0x170)](){const _0x3ec1d2=_0xb1c639,_0xf7ac74=this[_0x3ec1d2(0x169)],_0xa68a52=new _0x5562b6(this[_0x3ec1d2(0x169)]);if(_0xf7ac74[_0x3ec1d2(0x16c)][_0x3ec1d2(0x184)](_0x3ec1d2(0x17c),_0xa68a52),_0xf7ac74[_0x3ec1d2(0x17d)][_0x3ec1d2(0x16d)](_0x3ec1d2(0x16b))){const _0x137fce=this[_0x3ec1d2(0x169)][_0x3ec1d2(0x17d)][_0x3ec1d2(0x17e)](_0x3ec1d2(0x16b));_0xf7ac74[_0x3ec1d2(0x171)][_0x3ec1d2(0x16e)][_0x3ec1d2(0x179)]['on'](_0x3ec1d2(0x16f),(_0x6cfca7,_0x2ca430)=>{const _0x168bf1=_0x3ec1d2;_0x2ca430[_0x168bf1(0x168)]&&_0x137fce[_0x168bf1(0x181)]();});}}}
23
+ const _0xc0d770=_0x14e0;function _0x14e0(_0x59295e,_0x4d24fa){const _0x13ed11=_0x13ed();return _0x14e0=function(_0x14e078,_0x44fd80){_0x14e078=_0x14e078-0x1ad;let _0x50d727=_0x13ed11[_0x14e078];return _0x50d727;},_0x14e0(_0x59295e,_0x4d24fa);}function _0x13ed(){const _0x155d07=['model','800248AtMDkc','removeSelectionFromChatContext','change:range','isOfficialPlugin','446646rbkUpc','document','369520HxvVIr','has','2323008ZIecUl','AIQuickActionsEditing','11HDvDFu','aiQuickAction','directChange','plugins','AIChat','792zQWMtU','get','pluginName','14igTCGh','isPremiumPlugin','add','init','1LsHxkL','selection','editor','commands','4253553aAHXQw','12AbkeDu','464532kEprdS','1555uDlsHi'];_0x13ed=function(){return _0x155d07;};return _0x13ed();}(function(_0x6a762f,_0x389901){const _0x5e223c=_0x14e0,_0x57a2de=_0x6a762f();while(!![]){try{const _0x36998b=-parseInt(_0x5e223c(0x1bb))/0x1*(-parseInt(_0x5e223c(0x1c8))/0x2)+parseInt(_0x5e223c(0x1c1))/0x3*(-parseInt(_0x5e223c(0x1c0))/0x4)+parseInt(_0x5e223c(0x1c2))/0x5*(parseInt(_0x5e223c(0x1b4))/0x6)+-parseInt(_0x5e223c(0x1b7))/0x7*(-parseInt(_0x5e223c(0x1c4))/0x8)+parseInt(_0x5e223c(0x1bf))/0x9+-parseInt(_0x5e223c(0x1ca))/0xa*(parseInt(_0x5e223c(0x1af))/0xb)+-parseInt(_0x5e223c(0x1ad))/0xc;if(_0x36998b===_0x389901)break;else _0x57a2de['push'](_0x57a2de['shift']());}catch(_0x3b8437){_0x57a2de['push'](_0x57a2de['shift']());}}}(_0x13ed,0x3b142));import{Plugin as _0x54160a}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x490fb2}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x54160a{static get[_0xc0d770(0x1b6)](){const _0x28b5c0=_0xc0d770;return _0x28b5c0(0x1ae);}static get[_0xc0d770(0x1c7)](){return!0x0;}static get[_0xc0d770(0x1b8)](){return!0x0;}[_0xc0d770(0x1ba)](){const _0x50aafb=_0xc0d770,_0x5bd803=this[_0x50aafb(0x1bd)],_0x41fecb=new _0x490fb2(this[_0x50aafb(0x1bd)]);if(_0x5bd803[_0x50aafb(0x1be)][_0x50aafb(0x1b9)](_0x50aafb(0x1b0),_0x41fecb),_0x5bd803[_0x50aafb(0x1b2)][_0x50aafb(0x1cb)](_0x50aafb(0x1b3))){const _0x543f4b=this[_0x50aafb(0x1bd)][_0x50aafb(0x1b2)][_0x50aafb(0x1b5)](_0x50aafb(0x1b3));_0x5bd803[_0x50aafb(0x1c3)][_0x50aafb(0x1c9)][_0x50aafb(0x1bc)]['on'](_0x50aafb(0x1c6),(_0x5a8491,_0x1eef5b)=>{const _0x46577c=_0x50aafb;_0x1eef5b[_0x46577c(0x1b1)]&&_0x543f4b[_0x46577c(0x1c5)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2752b9=_0x2ed9;(function(_0x245d09,_0x25b32f){const _0x27eb4d=_0x2ed9,_0x4f6418=_0x245d09();while(!![]){try{const _0x56e4a1=parseInt(_0x27eb4d(0x211))/0x1*(parseInt(_0x27eb4d(0x1c2))/0x2)+parseInt(_0x27eb4d(0x1a2))/0x3+parseInt(_0x27eb4d(0x1b1))/0x4*(-parseInt(_0x27eb4d(0x1ec))/0x5)+-parseInt(_0x27eb4d(0x22c))/0x6*(parseInt(_0x27eb4d(0x198))/0x7)+-parseInt(_0x27eb4d(0x1eb))/0x8+parseInt(_0x27eb4d(0x1ff))/0x9+parseInt(_0x27eb4d(0x233))/0xa;if(_0x56e4a1===_0x25b32f)break;else _0x4f6418['push'](_0x4f6418['shift']());}catch(_0x56043d){_0x4f6418['push'](_0x4f6418['shift']());}}}(_0x1663,0x7af9f));import{IconAIAdjustLength as _0x22693d,IconAIChangeTone as _0x45cc1d,IconAIChatCommands as _0x407623,IconAIContinueWriting as _0x177426,IconAIGrammarCheck as _0x2610b4,IconAIImproveWriting as _0x193cc2,IconAIOther as _0x41845f,IconAIQuickActions as _0x5e907f,IconAITranslate as _0x25dd68}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1bd717}from'ckeditor5/src/core.js';import{CKEditorError as _0x2bb04d,logError as _0x309e48}from'ckeditor5/src/utils.js';function _0x2ed9(_0xe9901f,_0x38c6ea){const _0x166352=_0x1663();return _0x2ed9=function(_0x2ed954,_0xd8d723){_0x2ed954=_0x2ed954-0x198;let _0x7b1c06=_0x166352[_0x2ed954];return _0x7b1c06;},_0x2ed9(_0xe9901f,_0x38c6ea);}import{getTranslation as _0x5a8b2b}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x5c2f1d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x49e81c}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0xf0bf15,BalloonToolbar as _0x312631,MenuBarMenuView as _0x3f819c,MenuBarMenuListView as _0x555077,MenuBarMenuListItemView as _0x2d8ea,MenuBarMenuListItemButtonView as _0x3d5ec3}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x1663(){const _0x2ba52b=['AI_QUICK_ACTIONS_IMPROVE_WRITING','icon','set','1624506tUMQXn','translate-to-russian','continue','message','children','getAvailableModels','russian','isPremiumPlugin','make-tone-friendly','isOfficialPlugin','map','chat-commands','korean','AIChat','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','20CNSBRV','<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>','translate-to-italian','values','AI_QUICK_ACTIONS_HEADING','italian','menu','items','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','uiLanguage','portuguese','translate-to-english','change-tone','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','58612vyyEAm','ACTION','CHAT','aiQuickAction','explain','AI_QUICK_ACTIONS_CHAT_COMMANDS','_getDefaultAndCustomActions','make-shorter','config','forEach','length','AIConnector','translate-to-chinese','_executeQuickAction','english','AIReviewMode','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AIQuickActionsUI','has','view','german','delegate','AI_QUICK_ACTIONS_MORE_CASUAL','ai.chat.models.displayedModels','REVIEW','improve-writing','menuBar:aiQuickActions','model','get','AI_QUICK_ACTIONS_SUMMARIZE','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','focus','adjust-length','AI_QUICK_ACTIONS_MAKE_SHORTER','plugins','actions','displayedPrompt','japanese','ask-ai','find','push','2588448AdNsRC','837170Nqufkp','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_EXPLAIN','panelView','menuBarView','replace','componentFactory','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_ASK_AI','_initializeQuickActionsComponents','DisplayNames','commands','ai.quickActions.extraCommands','getDefaultQuickActions','spanish','ai.quickActions.isSearchEnabled','filter','other','make-tone-casual','7918938iKYNeR','french','make-tone-confident','label','language','some','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','includes','close','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_MORE_DIRECT','highlight-key-points','make-longer','ai.quickActions.removeCommands','translate-to-german','_quickActionsDefinition','execute','7ctkmsG','attachToDom','editing','AI_QUICK_ACTIONS_ADJUST_LENGTH','isEnabled','buttonView','translate-to-portuguese','<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>','AI_QUICK_ACTIONS_MORE_FRIENDLY','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MORE_CONFIDENT','translate-to-japanese','init','translate-to-korean','ai-quick-actions-unavailable-model','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','_initializeQuickActionsDropdown','translate-to-spanish','editor','type','AI_QUICK_ACTIONS_TRANSLATE','chinese','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','requires','AI_QUICK_ACTIONS_CONTINUE_WRITING','544014bUasFg','English','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','menuitem','AIActions','_initializeQuickActionsComponentsAndCommands','2192490FXLuuZ','aiQuickActions','pluginName','locale','_shouldIncludeAction','_initializeQuickActionsMenuBar','14uxTkwF','translate','add','<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>','AI_QUICK_ACTIONS_CHANGE_TONE','summarize','make-tone-direct'];_0x1663=function(){return _0x2ba52b;};return _0x1663();}import{AIModels as _0x298ca6}from'../aicore/model/aimodels.js';const Lt=_0x2752b9(0x19b),Dt=_0x2752b9(0x218),Ht=_0x2752b9(0x1b2);export var AIQuickActionType;!function(_0x261d72){const _0x8e3145=_0x2752b9;_0x261d72[_0x8e3145(0x1c4)]=_0x8e3145(0x1c4),_0x261d72[_0x8e3145(0x1c3)]=_0x8e3145(0x1c3),_0x261d72[_0x8e3145(0x1da)]=_0x8e3145(0x1da);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x25e38d){const _0x1a32cb=_0x2752b9;_0x25e38d[_0x1a32cb(0x1c4)]=_0x1a32cb(0x1af),_0x25e38d[_0x1a32cb(0x1c3)]=_0x1a32cb(0x231),_0x25e38d[_0x1a32cb(0x1da)]=_0x1a32cb(0x1d1);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1bd717{static get[_0x2752b9(0x22a)](){return[_0x312631];}static get[_0x2752b9(0x235)](){const _0x2941f8=_0x2752b9;return _0x2941f8(0x1d3);}static get[_0x2752b9(0x1ab)](){return!0x0;}static get[_0x2752b9(0x1a9)](){return!0x0;}async[_0x2752b9(0x21d)](){const _0x45565b=_0x2752b9,_0x9082c1=await this[_0x45565b(0x1c8)]();this[_0x45565b(0x1ed)](_0x9082c1),this[_0x45565b(0x232)]();}static[_0x2752b9(0x1f9)](_0x1b05d7){return function(_0x163ef8){const _0x159017=_0x2ed9,_0x2cde82=new Intl[(_0x159017(0x1f6))](['en'],{'type':_0x159017(0x203)})['of'](_0x163ef8[_0x159017(0x1bc)]),_0x5bc48d=_0x2cde82||_0x159017(0x22d),_0x647fa5=[{'id':_0x159017(0x1e8),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1f4)),'type':AIQuickActionType[_0x159017(0x1c4)],'icon':_0x407623},{'id':_0x159017(0x1ad),'label':_0x5a8b2b(_0x163ef8,_0x159017(0x1c7)),'icon':_0x407623,'actions':[{'id':_0x159017(0x1c6),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1ee)),'prompt':Lt[_0x159017(0x1f1)]('%0',_0x5bc48d),'type':AIQuickActionType[_0x159017(0x1c4)]},{'id':_0x159017(0x19d),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1df)),'prompt':Dt[_0x159017(0x1f1)]('%0',_0x5bc48d),'type':AIQuickActionType[_0x159017(0x1c4)]},{'id':_0x159017(0x20b),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1b0)),'prompt':Ht[_0x159017(0x1f1)]('%0',_0x5bc48d),'type':AIQuickActionType[_0x159017(0x1c4)]}]},{'id':_0x159017(0x1db),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x19f)),'type':AIQuickActionType[_0x159017(0x1c3)],'icon':_0x193cc2},{'id':_0x159017(0x1a4),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x22b)),'type':AIQuickActionType[_0x159017(0x1c3)],'icon':_0x177426},{'id':_0x159017(0x22e),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1e0)),'type':AIQuickActionType[_0x159017(0x1c3)],'icon':_0x2610b4},{'id':_0x159017(0x1e2),'label':_0x5a8b2b(_0x163ef8,_0x159017(0x214)),'icon':_0x22693d,'actions':[{'id':_0x159017(0x1c9),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1e3)),'type':AIQuickActionType[_0x159017(0x1c3)]},{'id':_0x159017(0x20c),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x220)),'type':AIQuickActionType[_0x159017(0x1c3)]}]},{'id':_0x159017(0x1bf),'label':_0x5a8b2b(_0x163ef8,_0x159017(0x19c)),'icon':_0x45cc1d,'actions':[{'id':_0x159017(0x1fe),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1d8)),'type':AIQuickActionType[_0x159017(0x1c3)]},{'id':_0x159017(0x19e),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x20a)),'type':AIQuickActionType[_0x159017(0x1c3)]},{'id':_0x159017(0x1aa),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x219)),'type':AIQuickActionType[_0x159017(0x1c3)]},{'id':_0x159017(0x201),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x21b)),'type':AIQuickActionType[_0x159017(0x1c3)]},{'id':_0x159017(0x1ba),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1d2)),'type':AIQuickActionType[_0x159017(0x1c3)]}]},{'id':_0x159017(0x199),'label':_0x5a8b2b(_0x163ef8,_0x159017(0x227)),'icon':_0x25dd68,'actions':[{'id':_0x159017(0x1be),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1c1)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1d0)}},{'id':_0x159017(0x1ce),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1c0)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x228)}},{'id':_0x159017(0x224),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x22f)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1fa)}},{'id':_0x159017(0x20e),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x205)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1d6)}},{'id':_0x159017(0x221),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x222)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x200)}},{'id':_0x159017(0x21c),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1f3)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1e7)}},{'id':_0x159017(0x217),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1bb)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1bd)}},{'id':_0x159017(0x21e),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x209)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1ae)}},{'id':_0x159017(0x1b3),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x229)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1b6)}},{'id':_0x159017(0x1a3),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1b9)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1a8)}}]},{'id':_0x159017(0x1fd),'label':_0x5a8b2b(_0x163ef8,_0x159017(0x208)),'icon':_0x41845f,'actions':[]}];return _0x647fa5;}(_0x1b05d7);}async[_0x2752b9(0x1c8)](){const _0x3c4b7d=_0x2752b9,_0x2e9cdd=AIQuickActionsUI[_0x3c4b7d(0x1f9)](this[_0x3c4b7d(0x225)][_0x3c4b7d(0x236)]),_0x5e015b=this[_0x3c4b7d(0x225)][_0x3c4b7d(0x1ca)][_0x3c4b7d(0x1de)](_0x3c4b7d(0x1f8))||[];let _0x938d1e=[];try{_0x938d1e=await new _0x298ca6({'connector':this[_0x3c4b7d(0x225)][_0x3c4b7d(0x1e4)][_0x3c4b7d(0x1de)](_0x3c4b7d(0x1cd)),'availableModels':this[_0x3c4b7d(0x225)][_0x3c4b7d(0x1ca)][_0x3c4b7d(0x1de)](_0x3c4b7d(0x1d9))})[_0x3c4b7d(0x1a7)]();}catch(_0x3b294b){const _0x546891=new _0x2bb04d(_0x3c4b7d(0x21a),this,{'error':_0x3b294b});_0x309e48(_0x546891[_0x3c4b7d(0x1a5)]);}finally{const _0x3afeeb=_0x5e015b[_0x3c4b7d(0x1ac)](_0x3fc779=>({..._0x3fc779,'icon':void 0x0}));_0x2e9cdd[_0x3c4b7d(0x1e9)](_0x20dc0d=>_0x3c4b7d(0x1fd)===_0x20dc0d['id'])[_0x3c4b7d(0x1e5)][_0x3c4b7d(0x1ea)](..._0x3afeeb),_0x2e9cdd[_0x3c4b7d(0x1cb)](_0x23226a=>{const _0xd9182d=_0x3c4b7d;if(_0xd9182d(0x1e5)in _0x23226a)_0x23226a[_0xd9182d(0x1e5)][_0xd9182d(0x1cb)](_0x34c1ac=>{const _0x5639d0=_0xd9182d;if(_0x34c1ac[_0x5639d0(0x215)]=!!_0x938d1e[_0x5639d0(0x1e9)](_0xb72ea=>_0xb72ea['id']===_0x34c1ac[_0x5639d0(0x1dd)])||void 0x0===_0x34c1ac[_0x5639d0(0x1dd)],!_0x34c1ac[_0x5639d0(0x215)]){const _0x3b1734=new _0x2bb04d(_0x5639d0(0x21f),this,{'actionId':_0x34c1ac['id'],'modelId':_0x34c1ac[_0x5639d0(0x1dd)]});_0x309e48(_0x3b1734[_0x5639d0(0x1a5)]);}});else{if(_0x23226a[_0xd9182d(0x215)]=!!_0x938d1e[_0xd9182d(0x1e9)](_0x221162=>_0x221162['id']===_0x23226a[_0xd9182d(0x1dd)])||void 0x0===_0x23226a[_0xd9182d(0x1dd)],!_0x23226a[_0xd9182d(0x215)]){const _0x438da6=new _0x2bb04d(_0xd9182d(0x21f),this,{'actionId':_0x23226a['id'],'modelId':_0x23226a[_0xd9182d(0x1dd)]});_0x309e48(_0x438da6[_0xd9182d(0x1a5)]);}}});}return _0x2e9cdd;}[_0x2752b9(0x232)](){const _0x50e050=_0x2752b9,_0x4aa09f=new _0xf0bf15(this[_0x50e050(0x225)][_0x50e050(0x236)]);_0x4aa09f[_0x50e050(0x212)](),this[_0x50e050(0x223)](_0x4aa09f),this[_0x50e050(0x238)](),this[_0x50e050(0x1f5)](_0x4aa09f);}[_0x2752b9(0x223)](_0x584c39){const _0x372d98=_0x2752b9,_0x4f6bf9=this[_0x372d98(0x225)][_0x372d98(0x1ca)][_0x372d98(0x1de)](_0x372d98(0x1fb))??!0x0;this[_0x372d98(0x225)]['ui'][_0x372d98(0x1f2)][_0x372d98(0x19a)](_0x372d98(0x234),_0x5c2f1d({'editor':this[_0x372d98(0x225)],'content':this[_0x372d98(0x20f)],'buttonDefinition':{'icon':_0x5e907f,'label':_0x5a8b2b(this[_0x372d98(0x225)][_0x372d98(0x236)],_0x372d98(0x1b5))},'bodyCollection':_0x584c39,'hasSearch':_0x4f6bf9}));}[_0x2752b9(0x1ed)](_0x208c7e){const _0x3102bc=_0x2752b9;this[_0x3102bc(0x20f)]=_0x208c7e[_0x3102bc(0x1ac)](_0x24deda=>{const _0x4df753=_0x3102bc;if(_0x4df753(0x1e5)in _0x24deda){const _0x29ccb8=_0x24deda;return{..._0x29ccb8,'actions':_0x29ccb8[_0x4df753(0x1e5)][_0x4df753(0x1ac)](_0x5d18d6=>{const {actions:_0x126d12,..._0x1b43b3}=_0x29ccb8;return{..._0x5d18d6,'parent':_0x1b43b3};})[_0x4df753(0x1fc)](_0x23b150=>this[_0x4df753(0x237)](_0x23b150))};}return _0x24deda;})[_0x3102bc(0x1fc)](_0x1f0bc4=>_0x3102bc(0x1e5)in _0x1f0bc4?_0x1f0bc4[_0x3102bc(0x1e5)][_0x3102bc(0x1cc)]>0x0:this[_0x3102bc(0x237)](_0x1f0bc4));}[_0x2752b9(0x237)](_0x47cb2d){const _0x4eb4f9=_0x2752b9,_0x4156b5=this[_0x4eb4f9(0x225)][_0x4eb4f9(0x1ca)][_0x4eb4f9(0x1de)](_0x4eb4f9(0x20d))||[];return this[_0x4eb4f9(0x225)][_0x4eb4f9(0x1e4)][_0x4eb4f9(0x1d4)](AIQuickActionTypeToPluginName[_0x47cb2d[_0x4eb4f9(0x226)]])&&!_0x4156b5[_0x4eb4f9(0x206)](_0x47cb2d['id']);}[_0x2752b9(0x1f5)](_0x471280){const _0x4418f9=_0x2752b9;this[_0x4418f9(0x20f)][_0x4418f9(0x1cb)](_0x2ff925=>{const _0x4aa177=_0x4418f9;if(_0x4aa177(0x1e5)in _0x2ff925){const _0xd872da=_0x5c2f1d({'editor':this[_0x4aa177(0x225)],'content':_0x2ff925[_0x4aa177(0x1e5)],'buttonDefinition':_0x2ff925,'bodyCollection':_0x471280});this[_0x4aa177(0x225)]['ui'][_0x4aa177(0x1f2)][_0x4aa177(0x19a)](_0x2ff925['id'],_0xd872da),_0x2ff925[_0x4aa177(0x1e5)][_0x4aa177(0x1cb)](_0x32480d=>{const _0xed6531=_0x4aa177,_0x25c2ab=_0x49e81c({'editor':this[_0xed6531(0x225)],'action':_0x32480d});this[_0xed6531(0x225)]['ui'][_0xed6531(0x1f2)][_0xed6531(0x19a)](_0x32480d['id'],_0x25c2ab);});}else{const _0x1edcd1=_0x49e81c({'editor':this[_0x4aa177(0x225)],'action':_0x2ff925,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4aa177(0x225)]['ui'][_0x4aa177(0x1f2)][_0x4aa177(0x19a)](_0x2ff925['id'],_0x1edcd1);}});}[_0x2752b9(0x238)](){const _0xb1bdb2=_0x2752b9;this[_0xb1bdb2(0x225)]['ui'][_0xb1bdb2(0x1f2)][_0xb1bdb2(0x19a)](_0xb1bdb2(0x1dc),_0x2a9632=>{const _0xda1979=_0xb1bdb2,_0x441b18=new _0x3f819c(_0x2a9632),_0x4723f7=_0x5a8b2b(_0x2a9632,_0xda1979(0x1b5));_0x441b18[_0xda1979(0x216)][_0xda1979(0x1a1)]({'label':_0x4723f7,'icon':_0x5e907f});const _0x1701b9=new _0x555077(_0x2a9632);_0x1701b9[_0xda1979(0x1a1)]({'ariaLabel':_0x4723f7,'role':_0xda1979(0x1b7)}),this[_0xda1979(0x20f)][_0xda1979(0x1cb)](_0xef126e=>{const _0x30b8ed=_0xda1979;if(_0x30b8ed(0x1e5)in _0xef126e){const _0x3712cb=_0xef126e,_0x24aea5=new _0x2d8ea(_0x2a9632,_0x441b18),_0x178a84=new _0x3f819c(_0x2a9632),_0x601ced=new _0x555077(_0x2a9632);_0x178a84[_0x30b8ed(0x216)][_0x30b8ed(0x1a1)]({'label':_0x3712cb[_0x30b8ed(0x202)],'icon':_0x3712cb[_0x30b8ed(0x1a0)]}),_0x3712cb[_0x30b8ed(0x1e5)][_0x30b8ed(0x1cb)](_0x3fc91a=>{const _0x222a02=_0x30b8ed,_0x58b416=new _0x2d8ea(_0x2a9632,_0x178a84),_0x2a46a3=new _0x3d5ec3(_0x2a9632);_0x2a46a3[_0x222a02(0x1a1)]({'label':_0x3fc91a[_0x222a02(0x1e6)],'icon':_0x3fc91a[_0x222a02(0x1a0)],'role':_0x222a02(0x230),'isEnabled':_0x3fc91a[_0x222a02(0x215)]}),_0x2a46a3['on'](_0x222a02(0x210),()=>{const _0x5c4226=_0x222a02;this[_0x5c4226(0x1cf)](_0x3fc91a);}),_0x2a46a3[_0x222a02(0x1d7)](_0x222a02(0x210))['to'](_0x178a84),_0x58b416[_0x222a02(0x1a6)][_0x222a02(0x19a)](_0x2a46a3),_0x601ced[_0x222a02(0x1b8)][_0x222a02(0x19a)](_0x58b416);}),_0x178a84[_0x30b8ed(0x1ef)][_0x30b8ed(0x1a6)][_0x30b8ed(0x19a)](_0x601ced),_0x24aea5[_0x30b8ed(0x1a6)][_0x30b8ed(0x19a)](_0x178a84),_0x1701b9[_0x30b8ed(0x1b8)][_0x30b8ed(0x19a)](_0x24aea5);}else{const _0x28bc91=_0xef126e,_0x3e3a67=new _0x2d8ea(_0x2a9632,_0x441b18),_0x3c526c=new _0x3d5ec3(_0x2a9632);_0x3c526c[_0x30b8ed(0x1a1)]({'label':_0x28bc91[_0x30b8ed(0x1e6)],'icon':_0x28bc91[_0x30b8ed(0x1a0)],'role':_0x30b8ed(0x230),'isEnabled':_0x28bc91[_0x30b8ed(0x215)]}),_0x3c526c['on'](_0x30b8ed(0x210),()=>{const _0x5daf3a=_0x30b8ed;this[_0x5daf3a(0x1cf)](_0x28bc91);}),_0x3c526c[_0x30b8ed(0x1d7)](_0x30b8ed(0x210))['to'](_0x441b18),_0x3e3a67[_0x30b8ed(0x1a6)][_0x30b8ed(0x19a)](_0x3c526c),_0x1701b9[_0x30b8ed(0x1b8)][_0x30b8ed(0x19a)](_0x3e3a67);}});const _0x33be47=Object[_0xda1979(0x1b4)](AIQuickActionTypeToPluginName)[_0xda1979(0x204)](_0x3fc0b2=>this[_0xda1979(0x225)][_0xda1979(0x1e4)][_0xda1979(0x1d4)](_0x3fc0b2));return _0x441b18[_0xda1979(0x1a1)]({'isEnabled':_0x33be47}),_0x441b18[_0xda1979(0x1ef)][_0xda1979(0x1a6)][_0xda1979(0x19a)](_0x1701b9),_0x441b18;});}[_0x2752b9(0x1cf)](_0x34b114){const _0x1d00e2=_0x2752b9,_0x150e71=this[_0x1d00e2(0x225)];_0x150e71[_0x1d00e2(0x213)][_0x1d00e2(0x1d5)][_0x1d00e2(0x1e1)](),_0x150e71[_0x1d00e2(0x1f7)][_0x1d00e2(0x210)](_0x1d00e2(0x1c5),_0x34b114);const _0x54b868=_0x150e71['ui'][_0x1d00e2(0x1d5)][_0x1d00e2(0x1f0)];_0x54b868&&_0x54b868[_0x1d00e2(0x207)]&&_0x54b868[_0x1d00e2(0x207)]();}}
23
+ const _0x4650d5=_0x1adf;(function(_0x47209a,_0x3cf0b4){const _0x164a86=_0x1adf,_0x5e6359=_0x47209a();while(!![]){try{const _0x2ad33b=parseInt(_0x164a86(0x25c))/0x1+-parseInt(_0x164a86(0x262))/0x2*(-parseInt(_0x164a86(0x259))/0x3)+-parseInt(_0x164a86(0x270))/0x4+-parseInt(_0x164a86(0x1fd))/0x5+parseInt(_0x164a86(0x24c))/0x6*(parseInt(_0x164a86(0x260))/0x7)+-parseInt(_0x164a86(0x266))/0x8+-parseInt(_0x164a86(0x27e))/0x9*(parseInt(_0x164a86(0x289))/0xa);if(_0x2ad33b===_0x3cf0b4)break;else _0x5e6359['push'](_0x5e6359['shift']());}catch(_0x3c4f49){_0x5e6359['push'](_0x5e6359['shift']());}}}(_0x58c3,0x2fcd1));import{IconAIAdjustLength as _0x133ceb,IconAIChangeTone as _0xb5fb4a,IconAIChatCommands as _0x31e9cc,IconAIContinueWriting as _0x134cdf,IconAIGrammarCheck as _0x49677c,IconAIImproveWriting as _0x29e235,IconAIOther as _0x2e3bca,IconAIQuickActions as _0x362020,IconAITranslate as _0x4cbad4}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x234c61}from'ckeditor5/src/core.js';import{CKEditorError as _0x4b9e35,logError as _0x15d564}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f6c39}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x1014e7}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x20d605}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x37c278,BalloonToolbar as _0x27798f,MenuBarMenuView as _0x420976,MenuBarMenuListView as _0x585355,MenuBarMenuListItemView as _0xfeb2ef,MenuBarMenuListItemButtonView as _0x4bc993}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x2a27f0}from'../aicore/model/aimodels.js';const ae=_0x4650d5(0x243),se=_0x4650d5(0x24d),re=_0x4650d5(0x1f8);export var AIQuickActionType;!function(_0x1c70b9){const _0x13d273=_0x4650d5;_0x1c70b9[_0x13d273(0x219)]=_0x13d273(0x219),_0x1c70b9[_0x13d273(0x1f5)]=_0x13d273(0x1f5),_0x1c70b9[_0x13d273(0x27d)]=_0x13d273(0x27d);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;function _0x1adf(_0x3cda4c,_0x5f2923){const _0x58c38f=_0x58c3();return _0x1adf=function(_0x1adfe7,_0x10cdef){_0x1adfe7=_0x1adfe7-0x1ed;let _0x1555be=_0x58c38f[_0x1adfe7];return _0x1555be;},_0x1adf(_0x3cda4c,_0x5f2923);}!function(_0x1cdb79){const _0x2da469=_0x4650d5;_0x1cdb79[_0x2da469(0x219)]=_0x2da469(0x203),_0x1cdb79[_0x2da469(0x1f5)]=_0x2da469(0x1fe),_0x1cdb79[_0x2da469(0x27d)]=_0x2da469(0x277);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x234c61{static get[_0x4650d5(0x208)](){return[_0x27798f];}static get[_0x4650d5(0x224)](){const _0x207aef=_0x4650d5;return _0x207aef(0x23b);}static get[_0x4650d5(0x249)](){return!0x0;}static get[_0x4650d5(0x24f)](){return!0x0;}async[_0x4650d5(0x20c)](){const _0x5c0cba=_0x4650d5,_0x57413e=await this[_0x5c0cba(0x23a)]();this[_0x5c0cba(0x214)](_0x57413e),this[_0x5c0cba(0x239)]();}static[_0x4650d5(0x25d)](_0x53e226){return function(_0x3fdb73){const _0x1fc72a=_0x1adf,_0xf52a7f=new Intl[(_0x1fc72a(0x252))](['en'],{'type':_0x1fc72a(0x21a)})['of'](_0x3fdb73[_0x1fc72a(0x264)]),_0x39c801=_0xf52a7f||_0x1fc72a(0x247),_0x2aefad=[{'id':_0x1fc72a(0x25e),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x21b)),'type':AIQuickActionType[_0x1fc72a(0x219)],'icon':_0x31e9cc},{'id':_0x1fc72a(0x272),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x24b)),'icon':_0x31e9cc,'actions':[{'id':_0x1fc72a(0x227),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x20a)),'prompt':ae[_0x1fc72a(0x26b)]('%0',_0x39c801),'type':AIQuickActionType[_0x1fc72a(0x219)]},{'id':_0x1fc72a(0x21d),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x23e)),'prompt':se[_0x1fc72a(0x26b)]('%0',_0x39c801),'type':AIQuickActionType[_0x1fc72a(0x219)]},{'id':_0x1fc72a(0x222),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x22d)),'prompt':re[_0x1fc72a(0x26b)]('%0',_0x39c801),'type':AIQuickActionType[_0x1fc72a(0x219)]}]},{'id':_0x1fc72a(0x28c),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x246)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'icon':_0x29e235},{'id':_0x1fc72a(0x1f3),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x1f0)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'icon':_0x134cdf},{'id':_0x1fc72a(0x282),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x20e)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'icon':_0x49677c},{'id':_0x1fc72a(0x242),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x275)),'icon':_0x133ceb,'actions':[{'id':_0x1fc72a(0x225),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x229)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x23c),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x25b)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]}]},{'id':_0x1fc72a(0x1fb),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x27a)),'icon':_0xb5fb4a,'actions':[{'id':_0x1fc72a(0x216),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x263)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x27b),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x21f)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x212),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x210)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x244),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x233)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]},{'id':_0x1fc72a(0x221),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x206)),'type':AIQuickActionType[_0x1fc72a(0x1f5)]}]},{'id':_0x1fc72a(0x209),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x240)),'icon':_0x4cbad4,'actions':[{'id':_0x1fc72a(0x1ee),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x215)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x22c)}},{'id':_0x1fc72a(0x232),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x213)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x248)}},{'id':_0x1fc72a(0x1f4),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x251)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x1f6)}},{'id':_0x1fc72a(0x286),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x223)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x1f7)}},{'id':_0x1fc72a(0x23f),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x256)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x268)}},{'id':_0x1fc72a(0x22b),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x284)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x265)}},{'id':_0x1fc72a(0x250),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x231)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x207)}},{'id':_0x1fc72a(0x205),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x26a)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x21c)}},{'id':_0x1fc72a(0x202),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x204)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x1fa)}},{'id':_0x1fc72a(0x26e),'displayedPrompt':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x269)),'type':AIQuickActionType[_0x1fc72a(0x1f5)],'actionName':_0x1fc72a(0x209),'args':{'language':_0x1fc72a(0x20d)}}]},{'id':_0x1fc72a(0x24e),'label':_0x4f6c39(_0x3fdb73,_0x1fc72a(0x27f)),'icon':_0x2e3bca,'actions':[]}];return _0x2aefad;}(_0x53e226);}async[_0x4650d5(0x23a)](){const _0x4dee59=_0x4650d5,_0x2f5fb2=AIQuickActionsUI[_0x4dee59(0x25d)](this[_0x4dee59(0x20f)][_0x4dee59(0x257)]),_0x47ea85=this[_0x4dee59(0x20f)][_0x4dee59(0x20b)][_0x4dee59(0x226)](_0x4dee59(0x278))||[];let _0x459e77=[];try{_0x459e77=await new _0x2a27f0({'connector':this[_0x4dee59(0x20f)][_0x4dee59(0x21e)][_0x4dee59(0x226)](_0x4dee59(0x22a)),'availableModels':this[_0x4dee59(0x20f)][_0x4dee59(0x20b)][_0x4dee59(0x226)](_0x4dee59(0x1fc))})[_0x4dee59(0x255)]();}catch(_0x183935){const _0x4c930e=new _0x4b9e35(_0x4dee59(0x25a),this,{'error':_0x183935});_0x15d564(_0x4c930e[_0x4dee59(0x26f)]);}finally{const _0x42b263=_0x47ea85[_0x4dee59(0x22f)](_0x5eb65b=>({..._0x5eb65b,'icon':void 0x0}));_0x2f5fb2[_0x4dee59(0x28d)](_0x420bc1=>_0x4dee59(0x24e)===_0x420bc1['id'])[_0x4dee59(0x288)][_0x4dee59(0x27c)](..._0x42b263),_0x2f5fb2[_0x4dee59(0x234)](_0x442fed=>{const _0x471eab=_0x4dee59;if(_0x471eab(0x288)in _0x442fed)_0x442fed[_0x471eab(0x288)][_0x471eab(0x234)](_0x307ef2=>{const _0xbd5c5d=_0x471eab;if(_0x307ef2[_0xbd5c5d(0x200)]=!!_0x459e77[_0xbd5c5d(0x28d)](_0x3385d3=>_0x3385d3['id']===_0x307ef2[_0xbd5c5d(0x285)])||void 0x0===_0x307ef2[_0xbd5c5d(0x285)],!_0x307ef2[_0xbd5c5d(0x200)]){const _0x4025d2=new _0x4b9e35(_0xbd5c5d(0x26d),this,{'actionId':_0x307ef2['id'],'modelId':_0x307ef2[_0xbd5c5d(0x285)]});_0x15d564(_0x4025d2[_0xbd5c5d(0x26f)]);}});else{if(_0x442fed[_0x471eab(0x200)]=!!_0x459e77[_0x471eab(0x28d)](_0x1472be=>_0x1472be['id']===_0x442fed[_0x471eab(0x285)])||void 0x0===_0x442fed[_0x471eab(0x285)],!_0x442fed[_0x471eab(0x200)]){const _0x35c9c6=new _0x4b9e35(_0x471eab(0x26d),this,{'actionId':_0x442fed['id'],'modelId':_0x442fed[_0x471eab(0x285)]});_0x15d564(_0x35c9c6[_0x471eab(0x26f)]);}}});}return _0x2f5fb2;}[_0x4650d5(0x239)](){const _0x172804=_0x4650d5,_0x2ce69d=new _0x37c278(this[_0x172804(0x20f)][_0x172804(0x257)]);_0x2ce69d[_0x172804(0x25f)](),this[_0x172804(0x253)](_0x2ce69d),this[_0x172804(0x1ef)](),this[_0x172804(0x241)](_0x2ce69d);}[_0x4650d5(0x253)](_0x1899ce){const _0x241439=_0x4650d5,_0x5241d1=this[_0x241439(0x20f)][_0x241439(0x20b)][_0x241439(0x226)](_0x241439(0x273))??!0x0;this[_0x241439(0x20f)]['ui'][_0x241439(0x261)][_0x241439(0x28b)](_0x241439(0x201),_0x1014e7({'editor':this[_0x241439(0x20f)],'content':this[_0x241439(0x24a)],'buttonDefinition':{'icon':_0x362020,'label':_0x4f6c39(this[_0x241439(0x20f)][_0x241439(0x257)],_0x241439(0x26c))},'bodyCollection':_0x1899ce,'hasSearch':_0x5241d1}));}[_0x4650d5(0x214)](_0x4652d9){const _0x232317=_0x4650d5;this[_0x232317(0x24a)]=_0x4652d9[_0x232317(0x22f)](_0xdb08bd=>{const _0x350e56=_0x232317;if(_0x350e56(0x288)in _0xdb08bd){const _0x5812f7=_0xdb08bd;return{..._0x5812f7,'actions':_0x5812f7[_0x350e56(0x288)][_0x350e56(0x22f)](_0x414f50=>{const {actions:_0x39dc41,..._0x367c7f}=_0x5812f7;return{..._0x414f50,'parent':_0x367c7f};})[_0x350e56(0x237)](_0x5f5acf=>this[_0x350e56(0x218)](_0x5f5acf))};}return _0xdb08bd;})[_0x232317(0x237)](_0x182793=>_0x232317(0x288)in _0x182793?_0x182793[_0x232317(0x288)][_0x232317(0x211)]>0x0:this[_0x232317(0x218)](_0x182793));}[_0x4650d5(0x218)](_0x374679){const _0x288da2=_0x4650d5,_0x18e3d1=this[_0x288da2(0x20f)][_0x288da2(0x20b)][_0x288da2(0x226)](_0x288da2(0x280))||[];return this[_0x288da2(0x20f)][_0x288da2(0x21e)][_0x288da2(0x230)](AIQuickActionTypeToPluginName[_0x374679[_0x288da2(0x279)]])&&!_0x18e3d1[_0x288da2(0x1f1)](_0x374679['id']);}[_0x4650d5(0x241)](_0x18be7c){const _0x510fcc=_0x4650d5;this[_0x510fcc(0x24a)][_0x510fcc(0x234)](_0x304f34=>{const _0x20bfbd=_0x510fcc;if(_0x20bfbd(0x288)in _0x304f34){const _0x2315a9=_0x1014e7({'editor':this[_0x20bfbd(0x20f)],'content':_0x304f34[_0x20bfbd(0x288)],'buttonDefinition':_0x304f34,'bodyCollection':_0x18be7c});this[_0x20bfbd(0x20f)]['ui'][_0x20bfbd(0x261)][_0x20bfbd(0x28b)](_0x304f34['id'],_0x2315a9),_0x304f34[_0x20bfbd(0x288)][_0x20bfbd(0x234)](_0x384f61=>{const _0x4525ec=_0x20bfbd,_0x355bdc=_0x20d605({'editor':this[_0x4525ec(0x20f)],'action':_0x384f61});this[_0x4525ec(0x20f)]['ui'][_0x4525ec(0x261)][_0x4525ec(0x28b)](_0x384f61['id'],_0x355bdc);});}else{const _0x1f18c6=_0x20d605({'editor':this[_0x20bfbd(0x20f)],'action':_0x304f34,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x20bfbd(0x20f)]['ui'][_0x20bfbd(0x261)][_0x20bfbd(0x28b)](_0x304f34['id'],_0x1f18c6);}});}[_0x4650d5(0x1ef)](){const _0xc15b1d=_0x4650d5;this[_0xc15b1d(0x20f)]['ui'][_0xc15b1d(0x261)][_0xc15b1d(0x28b)](_0xc15b1d(0x245),_0x347ca3=>{const _0x15846f=_0xc15b1d,_0x1d9845=new _0x420976(_0x347ca3),_0x2ec835=_0x4f6c39(_0x347ca3,_0x15846f(0x26c));_0x1d9845[_0x15846f(0x287)][_0x15846f(0x1f9)]({'label':_0x2ec835,'icon':_0x362020});const _0x3a2c54=new _0x585355(_0x347ca3);_0x3a2c54[_0x15846f(0x1f9)]({'ariaLabel':_0x2ec835,'role':_0x15846f(0x254)}),this[_0x15846f(0x24a)][_0x15846f(0x234)](_0x3fe389=>{const _0x2a5bea=_0x15846f;if(_0x2a5bea(0x288)in _0x3fe389){const _0x50645b=_0x3fe389,_0x166072=new _0xfeb2ef(_0x347ca3,_0x1d9845),_0x3bdc74=new _0x420976(_0x347ca3),_0x2d475f=new _0x585355(_0x347ca3);_0x3bdc74[_0x2a5bea(0x287)][_0x2a5bea(0x1f9)]({'label':_0x50645b[_0x2a5bea(0x22e)],'icon':_0x50645b[_0x2a5bea(0x236)]}),_0x50645b[_0x2a5bea(0x288)][_0x2a5bea(0x234)](_0x58137f=>{const _0x316bdb=_0x2a5bea,_0x121c5a=new _0xfeb2ef(_0x347ca3,_0x3bdc74),_0x3a7ced=new _0x4bc993(_0x347ca3);_0x3a7ced[_0x316bdb(0x1f9)]({'label':_0x58137f[_0x316bdb(0x217)],'icon':_0x58137f[_0x316bdb(0x236)],'role':_0x316bdb(0x1ed),'isEnabled':_0x58137f[_0x316bdb(0x200)]}),_0x3a7ced['on'](_0x316bdb(0x220),()=>{const _0x51a29d=_0x316bdb;this[_0x51a29d(0x1f2)](_0x58137f);}),_0x3a7ced[_0x316bdb(0x258)](_0x316bdb(0x220))['to'](_0x3bdc74),_0x121c5a[_0x316bdb(0x228)][_0x316bdb(0x28b)](_0x3a7ced),_0x2d475f[_0x316bdb(0x276)][_0x316bdb(0x28b)](_0x121c5a);}),_0x3bdc74[_0x2a5bea(0x271)][_0x2a5bea(0x228)][_0x2a5bea(0x28b)](_0x2d475f),_0x166072[_0x2a5bea(0x228)][_0x2a5bea(0x28b)](_0x3bdc74),_0x3a2c54[_0x2a5bea(0x276)][_0x2a5bea(0x28b)](_0x166072);}else{const _0x4e9ffe=_0x3fe389,_0x2435f3=new _0xfeb2ef(_0x347ca3,_0x1d9845),_0x534c5f=new _0x4bc993(_0x347ca3);_0x534c5f[_0x2a5bea(0x1f9)]({'label':_0x4e9ffe[_0x2a5bea(0x217)],'icon':_0x4e9ffe[_0x2a5bea(0x236)],'role':_0x2a5bea(0x1ed),'isEnabled':_0x4e9ffe[_0x2a5bea(0x200)]}),_0x534c5f['on'](_0x2a5bea(0x220),()=>{const _0x534602=_0x2a5bea;this[_0x534602(0x1f2)](_0x4e9ffe);}),_0x534c5f[_0x2a5bea(0x258)](_0x2a5bea(0x220))['to'](_0x1d9845),_0x2435f3[_0x2a5bea(0x228)][_0x2a5bea(0x28b)](_0x534c5f),_0x3a2c54[_0x2a5bea(0x276)][_0x2a5bea(0x28b)](_0x2435f3);}});const _0x1c7ef0=Object[_0x15846f(0x238)](AIQuickActionTypeToPluginName)[_0x15846f(0x23d)](_0x1e7040=>this[_0x15846f(0x20f)][_0x15846f(0x21e)][_0x15846f(0x230)](_0x1e7040));return _0x1d9845[_0x15846f(0x1f9)]({'isEnabled':_0x1c7ef0}),_0x1d9845[_0x15846f(0x271)][_0x15846f(0x228)][_0x15846f(0x28b)](_0x3a2c54),_0x1d9845;});}[_0x4650d5(0x1f2)](_0x51cd90){const _0x580ec1=_0x4650d5,_0x568a53=this[_0x580ec1(0x20f)];_0x568a53[_0x580ec1(0x281)][_0x580ec1(0x1ff)][_0x580ec1(0x28a)](),_0x568a53[_0x580ec1(0x267)][_0x580ec1(0x220)](_0x580ec1(0x235),_0x51cd90);const _0x40eb3=_0x568a53['ui'][_0x580ec1(0x1ff)][_0x580ec1(0x283)];_0x40eb3&&_0x40eb3[_0x580ec1(0x274)]&&_0x40eb3[_0x580ec1(0x274)]();}}function _0x58c3(){const _0x1af00b=['other','isPremiumPlugin','translate-to-portuguese','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','DisplayNames','_initializeQuickActionsDropdown','menu','getAvailableModels','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','locale','delegate','159GPmhfV','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MAKE_LONGER','127328bzOoRV','getDefaultQuickActions','ask-ai','attachToDom','70VFnaaG','componentFactory','10760GFcbwe','AI_QUICK_ACTIONS_MORE_CASUAL','uiLanguage','japanese','1056728GeIweJ','commands','french','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','replace','AI_QUICK_ACTIONS_HEADING','ai-quick-actions-unavailable-model','translate-to-russian','message','1123928mfNMfR','panelView','chat-commands','ai.quickActions.isSearchEnabled','close','AI_QUICK_ACTIONS_ADJUST_LENGTH','items','AIReviewMode','ai.quickActions.extraCommands','type','AI_QUICK_ACTIONS_CHANGE_TONE','make-tone-direct','push','REVIEW','9LOLvUg','AI_QUICK_ACTIONS_OTHER','ai.quickActions.removeCommands','editing','fix-grammar','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','model','translate-to-german','buttonView','actions','825790LrbMqK','focus','add','improve-writing','find','menuitem','translate-to-english','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_CONTINUE_WRITING','includes','_executeQuickAction','continue','translate-to-spanish','ACTION','spanish','german','<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>','set','italian','change-tone','ai.chat.models.displayedModels','362465IofEak','AIActions','view','isEnabled','aiQuickActions','translate-to-italian','AIChat','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','translate-to-korean','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','portuguese','requires','translate','AI_QUICK_ACTIONS_EXPLAIN','config','init','russian','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','editor','AI_QUICK_ACTIONS_MORE_FRIENDLY','length','make-tone-friendly','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-tone-casual','displayedPrompt','_shouldIncludeAction','CHAT','language','AI_QUICK_ACTIONS_ASK_AI','korean','summarize','plugins','AI_QUICK_ACTIONS_MORE_DIRECT','execute','make-tone-professional','highlight-key-points','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','pluginName','make-shorter','get','explain','children','AI_QUICK_ACTIONS_MAKE_SHORTER','AIConnector','translate-to-japanese','english','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','label','map','has','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-chinese','AI_QUICK_ACTIONS_MORE_CONFIDENT','forEach','aiQuickAction','icon','filter','values','_initializeQuickActionsComponentsAndCommands','_getDefaultAndCustomActions','AIQuickActionsUI','make-longer','some','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE','_initializeQuickActionsComponents','adjust-length','<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>','make-tone-confident','menuBar:aiQuickActions','AI_QUICK_ACTIONS_IMPROVE_WRITING','English','chinese','isOfficialPlugin','_quickActionsDefinition','AI_QUICK_ACTIONS_CHAT_COMMANDS','210882PrSGHr','<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>'];_0x58c3=function(){return _0x1af00b;};return _0x58c3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x39ec(_0x120c7d,_0x36a0c4){const _0x68be18=_0x68be();return _0x39ec=function(_0x39ecd2,_0x1aa8bc){_0x39ecd2=_0x39ecd2-0x1e4;let _0x2214c4=_0x68be18[_0x39ecd2];return _0x2214c4;},_0x39ec(_0x120c7d,_0x36a0c4);}(function(_0x13adc9,_0x4c1bce){const _0x25a8fc=_0x39ec,_0x5549e4=_0x13adc9();while(!![]){try{const _0x44f5cb=-parseInt(_0x25a8fc(0x1f5))/0x1*(parseInt(_0x25a8fc(0x1ee))/0x2)+parseInt(_0x25a8fc(0x1fc))/0x3*(-parseInt(_0x25a8fc(0x1fb))/0x4)+-parseInt(_0x25a8fc(0x1e5))/0x5*(parseInt(_0x25a8fc(0x1fa))/0x6)+parseInt(_0x25a8fc(0x1f8))/0x7+parseInt(_0x25a8fc(0x1f4))/0x8*(-parseInt(_0x25a8fc(0x1ec))/0x9)+-parseInt(_0x25a8fc(0x200))/0xa*(parseInt(_0x25a8fc(0x1f9))/0xb)+-parseInt(_0x25a8fc(0x1f3))/0xc*(-parseInt(_0x25a8fc(0x1e4))/0xd);if(_0x44f5cb===_0x4c1bce)break;else _0x5549e4['push'](_0x5549e4['shift']());}catch(_0x43c9a3){_0x5549e4['push'](_0x5549e4['shift']());}}}(_0x68be,0x6d839));import{ButtonView as _0x2ad095}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4b7c5d}from'@ckeditor/ckeditor5-icons';function _0x68be(){const _0x242002=['24tjeWMr','889079nlBZtv','icon','commands','290836jtwwSW','572FhljYs','3937842MrbJIq','546584blSNwI','3ygnxsI','extendTemplate','aiQuickAction','view','35040rooeCb','78nrXeNW','5mhEeIy','focus','displayedPrompt','bindTemplate','isEnabled','set','parent','2439783oayzyj','locale','2XEOHSr','editing','ck-ai-quick-actions-button','execute','menuitem','6169044JUDzvu'];_0x68be=function(){return _0x242002;};return _0x68be();}export function aiQuickActionsButtonCreator(_0x207f5b){const {editor:_0x2742d2,action:_0x48e8ad,withText:_0x1abe23=!0x1,withIcon:_0x176d01=!0x0,isInDropdown:_0x106c3e=!0x0,shouldPreventFocus:_0x3b7d16=!0x1}=_0x207f5b;return()=>{const _0x236114=_0x39ec,_0x46f39f=_0x2742d2[_0x236114(0x1ed)],_0x36d789=new _0x2ad095(_0x46f39f),_0x4bb5da=_0x36d789[_0x236114(0x1e8)];_0x106c3e&&_0x36d789[_0x236114(0x1fd)]({'on':{'mouseenter':_0x4bb5da['to'](()=>{const _0x22d2af=_0x236114;_0x3b7d16&&_0x3b7d16()||_0x36d789[_0x22d2af(0x1e6)]();})}});const _0x1be313=_0x48e8ad[_0x236114(0x1f6)]??_0x48e8ad[_0x236114(0x1eb)]?.[_0x236114(0x1f6)];return _0x36d789[_0x236114(0x1ea)]({'label':_0x48e8ad[_0x236114(0x1e7)],'withText':_0x1abe23,'role':_0x236114(0x1f2),'icon':_0x176d01?_0x1be313??_0x4b7c5d:void 0x0,'tooltip':!_0x1abe23,'class':_0x236114(0x1f0),'isEnabled':_0x48e8ad[_0x236114(0x1e9)]}),_0x36d789['on'](_0x236114(0x1f1),()=>{const _0x32132a=_0x236114;_0x2742d2[_0x32132a(0x1ef)][_0x32132a(0x1ff)][_0x32132a(0x1e6)](),_0x2742d2[_0x32132a(0x1f7)][_0x32132a(0x1f1)](_0x32132a(0x1fe),_0x48e8ad);}),_0x36d789;};}
23
+ (function(_0x18c969,_0x126068){const _0x1b9efb=_0x1e13,_0x4dac4a=_0x18c969();while(!![]){try{const _0x5105fa=parseInt(_0x1b9efb(0x1bd))/0x1+parseInt(_0x1b9efb(0x1b5))/0x2+parseInt(_0x1b9efb(0x1b7))/0x3+-parseInt(_0x1b9efb(0x1ba))/0x4+parseInt(_0x1b9efb(0x1c2))/0x5+parseInt(_0x1b9efb(0x1b3))/0x6+-parseInt(_0x1b9efb(0x1b6))/0x7*(parseInt(_0x1b9efb(0x1c1))/0x8);if(_0x5105fa===_0x126068)break;else _0x4dac4a['push'](_0x4dac4a['shift']());}catch(_0x3652d1){_0x4dac4a['push'](_0x4dac4a['shift']());}}}(_0x343f,0x1c965));function _0x1e13(_0x519072,_0x1ceff6){const _0x343f8b=_0x343f();return _0x1e13=function(_0x1e1333,_0x37ecfc){_0x1e1333=_0x1e1333-0x1b1;let _0x2f125a=_0x343f8b[_0x1e1333];return _0x2f125a;},_0x1e13(_0x519072,_0x1ceff6);}import{ButtonView as _0x6c64db}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xa16ca4}from'@ckeditor/ckeditor5-icons';function _0x343f(){const _0xcaf76=['190636TBsqZq','826cKQFBl','651060ubDpJR','menuitem','commands','876816JJQupk','aiQuickAction','locale','224874EuOQMm','extendTemplate','editing','execute','23816sSqucL','16295xPfGZr','ck-ai-quick-actions-button','icon','focus','set','displayedPrompt','view','isEnabled','parent','882672SHjSxU','bindTemplate'];_0x343f=function(){return _0xcaf76;};return _0x343f();}export function aiQuickActionsButtonCreator(_0x4c238f){const {editor:_0x1baa4a,action:_0x1fcc6c,withText:_0x3e0c35=!0x1,withIcon:_0x5e3109=!0x0,isInDropdown:_0x93841f=!0x0,shouldPreventFocus:_0x3b4ea4=!0x1}=_0x4c238f;return()=>{const _0x23454e=_0x1e13,_0x5acd30=_0x1baa4a[_0x23454e(0x1bc)],_0x53fc53=new _0x6c64db(_0x5acd30),_0xfb7942=_0x53fc53[_0x23454e(0x1b4)];_0x93841f&&_0x53fc53[_0x23454e(0x1be)]({'on':{'mouseenter':_0xfb7942['to'](()=>{const _0x17b26b=_0x23454e;_0x3b4ea4&&_0x3b4ea4()||_0x53fc53[_0x17b26b(0x1c5)]();})}});const _0x1a7232=_0x1fcc6c[_0x23454e(0x1c4)]??_0x1fcc6c[_0x23454e(0x1b2)]?.[_0x23454e(0x1c4)];return _0x53fc53[_0x23454e(0x1c6)]({'label':_0x1fcc6c[_0x23454e(0x1c7)],'withText':_0x3e0c35,'role':_0x23454e(0x1b8),'icon':_0x5e3109?_0x1a7232??_0xa16ca4:void 0x0,'tooltip':!_0x3e0c35,'class':_0x23454e(0x1c3),'isEnabled':_0x1fcc6c[_0x23454e(0x1b1)]}),_0x53fc53['on'](_0x23454e(0x1c0),()=>{const _0x5e1d22=_0x23454e;_0x1baa4a[_0x5e1d22(0x1bf)][_0x5e1d22(0x1c8)][_0x5e1d22(0x1c5)](),_0x1baa4a[_0x5e1d22(0x1b9)][_0x5e1d22(0x1c0)](_0x5e1d22(0x1bb),_0x1fcc6c);}),_0x53fc53;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4815f0=_0x12e1;(function(_0xf37e44,_0x37735d){const _0x518b5f=_0x12e1,_0x37290c=_0xf37e44();while(!![]){try{const _0x23b174=parseInt(_0x518b5f(0xde))/0x1*(-parseInt(_0x518b5f(0xa4))/0x2)+parseInt(_0x518b5f(0xfa))/0x3*(-parseInt(_0x518b5f(0xd7))/0x4)+parseInt(_0x518b5f(0xb4))/0x5+parseInt(_0x518b5f(0x81))/0x6+parseInt(_0x518b5f(0xaa))/0x7*(parseInt(_0x518b5f(0x87))/0x8)+parseInt(_0x518b5f(0xa0))/0x9+parseInt(_0x518b5f(0xae))/0xa;if(_0x23b174===_0x37735d)break;else _0x37290c['push'](_0x37290c['shift']());}catch(_0x4bff9f){_0x37290c['push'](_0x37290c['shift']());}}}(_0x14f7,0x7f12c));import{View as _0x42054e,ListItemView as _0x34c45b,ListView as _0x1ce4b6,BalloonPanelView as _0x223975,DropdownMenuPanelPositioningFunctions as _0x431bbe,ViewCollection as _0x4306bd,FocusCycler as _0x4dc946,ButtonView as _0x5a69bf,IconView as _0x1756ba,HighlightedTextView as _0x2e9191,ButtonLabelWithHighlightView as _0x109af0,SearchTextView as _0x86056c}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x7ebb5}from'@ckeditor/ckeditor5-icons';function _0x12e1(_0x1dc1b7,_0x5ef778){const _0x14f7ca=_0x14f7();return _0x12e1=function(_0x12e182,_0x2c45ab){_0x12e182=_0x12e182-0x81;let _0xb407a7=_0x14f7ca[_0x12e182];return _0xb407a7;},_0x12e1(_0x1dc1b7,_0x5ef778);}import{FocusTracker as _0x2ecc61,KeystrokeHandler as _0x1eb3ce}from'ckeditor5/src/utils.js';function _0x14f7(){const _0x39e4eb=['3882845pyaZPw','detachFromDom','addMany','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','.ck-ai-quick-actions-group-panel','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result__action-row','displayedPrompt','commands','add','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__content','_bodyCollection','ck-ai-quick-actions-search-result-button','element','ck-button_with-text','extendTemplate','hide','locale','focusCycler','fieldView','items','optionsListView','_openNestedPanels','ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-button_with-group__open-paren','push','editing','_isMovingToNestedMenu','render','_setupActionButtonExecution','ck-button','ck-dropdown-menu-list','ck-ai-quick-actions-group-button','356BqvVSN','_hasSearch','div','_setupGroupMenuBehavior','_createSearchResultGroupedActionButton','reset','_createSearchResultContentView','306YbezpR','bindTemplate','relatedTarget','button','parent','chain','ck-dropdown-menu__nested-menu__panel','uiLanguageDirection','eastSouth','_hideNestedPanel','aiQuickAction','show','ck-ai-quick-actions-group-panel','_createActionButton','contains','icon','ck-ai-quick-actions-button','_isSearchFocused','setTemplate','_createListItems','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions','_searchTextView','delete','ownerDocument','ck-rounded-corners','pin','18687tRNcTt','isEnabled','set','_createSearchResultIndividualActionButton','addEventListener','rtl','ck-ai-quick-actions-search','text','ck-ai-quick-actions-button__group-icon','bind','span','ArrowLeft','_getPanelKeystroke','children','_handlePanelKeydown','1027662aeYWhI','ck-reset_all','_getButtonKeystroke','_createSearchTextView','resetSearch','closest','32sRFZlH','execute','_handleSearchResultButtonClick','_createSearchResultGroupRow','actions','focus','ck-ai-quick-actions-button_with-group__close-paren','content','AI_QUICK_ACTIONS_SEARCH','isOn','ck-ai-quick-actions-search-result__group-row','fire','get','clear','ArrowRight','role','queryView','mouseleave','menu','ck-ai-quick-actions-search-result-button_with-group','_allSearchableItems','activeElement','forEach','some','_hideAllNestedPanels','2366172wVHKjT','destroy','menuitem','_focusables','6524BJWyuZ','isVisible','keystrokes','_createActionGroupButton','_createSearchResultActionRow','focusTracker','579467kHAIMx','_createSearchResultActionButton','_createGroupActionsList','label','5311670cHBPIY','key','ck-ai-quick-actions-group-list','view','_showNestedPanel','first'];_0x14f7=function(){return _0x39e4eb;};return _0x14f7();}import{aiQuickActionsButtonCreator as _0x2b5ae3}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x491b76}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x5a5bf5}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0xc9b9b1}from'./aiquickactionsfilteredlistview.js';const Ts=_0x4815f0(0x99),Rs=_0x4815f0(0xa2);export class AIQuickActionsDropdownContentView extends _0x42054e{[_0x4815f0(0xc1)];[_0x4815f0(0xcb)];[_0x4815f0(0xf5)]=null;[_0x4815f0(0x9b)]=[];[_0x4815f0(0x107)];[_0x4815f0(0xa9)];[_0x4815f0(0xa6)];[_0x4815f0(0xa3)];[_0x4815f0(0xc8)];[_0x4815f0(0xcc)]=new Set();[_0x4815f0(0xd8)];constructor(_0x53d689,_0xae893f,_0x4a8aa3,_0x3c15cb,_0x4b5f31=!0x1){const _0x49b0af=_0x4815f0,_0x5a0633=_0x53d689[_0x49b0af(0xc7)];super(_0x5a0633),this[_0x49b0af(0xc1)]=_0x3c15cb,this[_0x49b0af(0xd8)]=_0x4b5f31;const _0x208dad=this[_0x49b0af(0xf1)](_0x53d689,_0xae893f,_0x4a8aa3);this[_0x49b0af(0xcb)]=new _0xc9b9b1(_0x5a0633,_0x208dad,this[_0x49b0af(0x9b)]),this[_0x49b0af(0xcb)][_0x49b0af(0x96)]=Ts,this[_0x49b0af(0xcb)][_0x49b0af(0xca)][_0x49b0af(0xb6)](_0x208dad),this[_0x49b0af(0xa9)]=new _0x2ecc61(),this[_0x49b0af(0xa6)]=new _0x1eb3ce(),_0x4b5f31&&(this[_0x49b0af(0xf5)]=this[_0x49b0af(0x84)]()),this[_0x49b0af(0xa3)]=_0x208dad,this[_0x49b0af(0xc8)]=new _0x4dc946({'focusables':this[_0x49b0af(0xa3)],'focusTracker':this[_0x49b0af(0xa9)],'keystrokeHandler':this[_0x49b0af(0xa6)]}),_0x4b5f31&&this[_0x49b0af(0xf5)]&&this[_0x49b0af(0xc8)][_0x49b0af(0xe3)](this[_0x49b0af(0xf5)][_0x49b0af(0xc8)]);const _0x31dea1=_0x4b5f31&&this[_0x49b0af(0xf5)]?[this[_0x49b0af(0xf5)]]:[this[_0x49b0af(0xcb)]];this[_0x49b0af(0x107)]=new _0x4306bd(_0x31dea1),this[_0x49b0af(0xf0)]({'tag':_0x49b0af(0xd9),'attributes':{'class':['ck',_0x49b0af(0x82),_0x49b0af(0xf4),_0x49b0af(0xf8)],'dir':_0x5a0633[_0x49b0af(0xe5)]},'children':this[_0x49b0af(0x107)]});}[_0x4815f0(0x84)](){const _0x2482d8=_0x4815f0;return new _0x86056c(this[_0x2482d8(0xc7)],{'filteredView':this[_0x2482d8(0xcb)],'queryView':{'label':_0x5a5bf5(this[_0x2482d8(0xc7)],_0x2482d8(0x8f))},'class':_0x2482d8(0x100),'infoView':{'text':{'notFound':{'primary':_0x5a5bf5(this[_0x2482d8(0xc7)],_0x2482d8(0xf2))}}}});}[_0x4815f0(0xef)](){const _0x54f3fe=_0x4815f0;if(!this[_0x54f3fe(0xd8)]||!this[_0x54f3fe(0xf5)]||!this[_0x54f3fe(0xf5)][_0x54f3fe(0x97)][_0x54f3fe(0xc9)][_0x54f3fe(0xc3)])return!0x1;const _0x3217f4=this[_0x54f3fe(0xf5)][_0x54f3fe(0x97)][_0x54f3fe(0xc9)][_0x54f3fe(0xc3)][_0x54f3fe(0xf7)]?.[_0x54f3fe(0x9c)];return this[_0x54f3fe(0xf5)][_0x54f3fe(0x97)][_0x54f3fe(0xc9)][_0x54f3fe(0xc3)][_0x54f3fe(0xec)](_0x3217f4);}[_0x4815f0(0xf1)](_0x4e651c,_0x3a4efb,_0x3d7dcd){const _0x54f5af=_0x4815f0,_0x17145a=new _0x4306bd();return _0x3a4efb[_0x54f5af(0x9d)](_0x300167=>{const _0x5b357b=_0x54f5af;if(_0x5b357b(0x8b)in _0x300167){const {listItem:_0x899573}=this[_0x5b357b(0xa7)](_0x4e651c,_0x300167,_0x3d7dcd);_0x17145a[_0x5b357b(0xbe)](_0x899573),_0x300167[_0x5b357b(0x8b)][_0x5b357b(0x9d)](_0x43a864=>{const _0x5a0930=_0x5b357b;this[_0x5a0930(0xeb)](_0x4e651c,_0x43a864,_0x300167[_0x5a0930(0xad)],_0x300167[_0x5a0930(0xed)]);const {listItem:_0x19d584,highlightViews:_0x5e16d5}=this[_0x5a0930(0xab)](_0x4e651c,_0x43a864,_0x300167[_0x5a0930(0xad)],_0x300167[_0x5a0930(0xed)]);this[_0x5a0930(0x9b)][_0x5a0930(0xcf)]({'item':_0x19d584,'label':_0x43a864[_0x5a0930(0xbc)],'groupLabel':_0x300167[_0x5a0930(0xad)],'highlightViews':_0x5e16d5});});}else{const {listItem:_0x31126b}=this[_0x5b357b(0xeb)](_0x4e651c,_0x300167);_0x17145a[_0x5b357b(0xbe)](_0x31126b);const _0x2f35d9=_0x31126b[_0x5b357b(0x107)][_0x5b357b(0xb3)];if(_0x2f35d9){const {listItem:_0x35e0cd,highlightViews:_0x56106b}=this[_0x5b357b(0xab)](_0x4e651c,_0x300167);this[_0x5b357b(0x9b)][_0x5b357b(0xcf)]({'item':_0x35e0cd,'label':_0x2f35d9[_0x5b357b(0xad)]||'','highlightViews':_0x56106b});}}}),_0x17145a;}[_0x4815f0(0xeb)](_0x25c1bf,_0x1888e6,_0x40f6ec,_0x29d9fd){const _0x2525cd=_0x4815f0,_0x241d8e=new _0x34c45b(this[_0x2525cd(0xc7)]);if(_0x40f6ec&&_0x29d9fd){const _0x20a0d=new _0x5a69bf(this[_0x2525cd(0xc7)]),_0x589598=_0x20a0d[_0x2525cd(0xdf)],_0x24b62c=new _0x2e9191();_0x24b62c[_0x2525cd(0x101)]=_0x1888e6[_0x2525cd(0xbc)];const _0x5521cb=new _0x2e9191();_0x5521cb[_0x2525cd(0x101)]=_0x40f6ec;const _0x573571=new _0x1756ba();_0x573571[_0x2525cd(0x8e)]=_0x29d9fd,_0x573571[_0x2525cd(0xc5)]({'attributes':{'class':_0x2525cd(0x102)}});const _0x42911d=new _0x42054e(this[_0x2525cd(0xc7)]);_0x42911d[_0x2525cd(0xf0)]({'tag':_0x2525cd(0x104),'attributes':{'class':_0x2525cd(0xce)},'children':[{'text':'\x20('}]});const _0x10e819=new _0x42054e(this[_0x2525cd(0xc7)]);return _0x10e819[_0x2525cd(0xf0)]({'tag':_0x2525cd(0x104),'attributes':{'class':_0x2525cd(0x8d)},'children':[{'text':')'}]}),_0x20a0d[_0x2525cd(0xfc)]({'label':_0x1888e6[_0x2525cd(0xbc)]+'\x20('+_0x40f6ec+')','withText':!0x0,'role':_0x2525cd(0xa2),'class':_0x2525cd(0xb9),'tooltip':!0x1}),_0x20a0d[_0x2525cd(0xf0)]({'tag':_0x2525cd(0xe1),'attributes':{'class':['ck',_0x2525cd(0xd4),_0x2525cd(0xc4),_0x2525cd(0xee),_0x2525cd(0xcd)],'type':_0x2525cd(0xe1),'role':_0x2525cd(0xa2),'tabindex':'-1'},'children':[_0x24b62c,_0x42911d,_0x573571,_0x5521cb,_0x10e819],'on':{'mouseenter':_0x589598['to'](()=>{const _0x1302db=_0x2525cd;this[_0x1302db(0xef)]()||_0x20a0d[_0x1302db(0x8c)]();}),'click':_0x589598['to'](()=>{const _0x3ad11f=_0x2525cd;_0x20a0d[_0x3ad11f(0x92)](_0x3ad11f(0x88));})}}),_0x20a0d['on'](_0x2525cd(0x88),()=>{const _0x1a581a=_0x2525cd;_0x25c1bf[_0x1a581a(0xd0)][_0x1a581a(0xb1)][_0x1a581a(0x8c)](),_0x25c1bf[_0x1a581a(0xbd)][_0x1a581a(0x88)](_0x1a581a(0xe8),_0x1888e6);}),_0x241d8e[_0x2525cd(0x107)][_0x2525cd(0xbe)](_0x20a0d),{'listItem':_0x241d8e,'highlightViews':[_0x24b62c,_0x5521cb]};}{const _0x55b3c1=new _0x109af0(),_0x4c95ca=new _0x5a69bf(this[_0x2525cd(0xc7)],_0x55b3c1),_0xfb909e=_0x4c95ca[_0x2525cd(0xdf)],_0x1b80f2=_0x1888e6[_0x2525cd(0xed)]??_0x1888e6[_0x2525cd(0xe2)]?.[_0x2525cd(0xed)],_0x174281=void 0x0!==_0x1888e6[_0x2525cd(0xed)];return _0x4c95ca[_0x2525cd(0xfc)]({'label':_0x1888e6[_0x2525cd(0xbc)],'withText':!0x0,'role':_0x2525cd(0xa2),'icon':_0x174281?_0x1b80f2??_0x7ebb5:void 0x0,'tooltip':!0x1,'class':_0x2525cd(0xee)}),_0x4c95ca[_0x2525cd(0xc5)]({'on':{'mouseenter':_0xfb909e['to'](()=>{const _0x9adc0f=_0x2525cd;this[_0x9adc0f(0xef)]()||_0x4c95ca[_0x9adc0f(0x8c)]();})}}),_0x4c95ca['on'](_0x2525cd(0x88),()=>{const _0x3a84cf=_0x2525cd;_0x25c1bf[_0x3a84cf(0xd0)][_0x3a84cf(0xb1)][_0x3a84cf(0x8c)](),_0x25c1bf[_0x3a84cf(0xbd)][_0x3a84cf(0x88)](_0x3a84cf(0xe8),_0x1888e6);}),_0x241d8e[_0x2525cd(0x107)][_0x2525cd(0xbe)](_0x4c95ca),{'listItem':_0x241d8e,'highlightViews':[_0x55b3c1]};}}[_0x4815f0(0xab)](_0x16f6e8,_0x111d67,_0x3b2210,_0x22f201){const _0x44c29f=_0x4815f0;return _0x3b2210&&_0x22f201?this[_0x44c29f(0xdb)](_0x16f6e8,_0x111d67,_0x3b2210,_0x22f201):this[_0x44c29f(0xfd)](_0x16f6e8,_0x111d67);}[_0x4815f0(0xdb)](_0x58ab60,_0x1ae885,_0x5b45d4,_0xed5af3){const _0x392158=_0x4815f0,_0x157211=new _0x34c45b(this[_0x392158(0xc7)]),_0xfb128d=new _0x5a69bf(this[_0x392158(0xc7)]),_0x1e6ab9=_0xfb128d[_0x392158(0xdf)],{view:_0x54ea6e,highlightView:_0x621e4}=this[_0x392158(0x8a)](_0x5b45d4,_0xed5af3),{view:_0x4717d4,highlightView:_0x5dcd63}=this[_0x392158(0xa8)](_0x1ae885[_0x392158(0xbc)]),_0x2c02fc=this[_0x392158(0xdd)](_0x54ea6e,_0x4717d4);return _0xfb128d[_0x392158(0xfc)]({'label':_0x1ae885[_0x392158(0xbc)],'withText':!0x0,'role':_0x392158(0xa2),'class':_0x392158(0xf3),'tooltip':!0x1}),_0xfb128d[_0x392158(0xf0)]({'tag':_0x392158(0xe1),'attributes':{'class':['ck',_0x392158(0xd4),_0x392158(0xc4),_0x392158(0xee),_0x392158(0xc2),_0x392158(0x9a)],'type':_0x392158(0xe1),'role':_0x392158(0xa2),'tabindex':'-1'},'children':[_0x2c02fc],'on':{'mouseenter':_0x1e6ab9['to'](()=>{const _0x29b562=_0x392158;this[_0x29b562(0xef)]()||_0xfb128d[_0x29b562(0x8c)]();}),'click':_0x1e6ab9['to'](()=>{const _0xa38373=_0x392158;this[_0xa38373(0x89)](_0xfb128d);})}}),this[_0x392158(0xd3)](_0xfb128d,_0x58ab60,_0x1ae885),_0x157211[_0x392158(0x107)][_0x392158(0xbe)](_0xfb128d),{'listItem':_0x157211,'highlightViews':[_0x621e4,_0x5dcd63]};}[_0x4815f0(0xfd)](_0x388c34,_0x26ceeb){const _0x2776be=_0x4815f0,_0x4c079f=new _0x34c45b(this[_0x2776be(0xc7)]),_0x4cada3=new _0x109af0(),_0x498ecf=new _0x5a69bf(this[_0x2776be(0xc7)],_0x4cada3),_0x21fe7c=_0x498ecf[_0x2776be(0xdf)];return _0x498ecf[_0x2776be(0xfc)]({'label':_0x26ceeb[_0x2776be(0xbc)],'withText':!0x0,'role':_0x2776be(0xa2),'icon':void 0x0,'tooltip':!0x1,'class':_0x2776be(0xb7)}),_0x498ecf[_0x2776be(0xc5)]({'on':{'mouseenter':_0x21fe7c['to'](()=>{const _0x30ea4f=_0x2776be;this[_0x30ea4f(0xef)]()||_0x498ecf[_0x30ea4f(0x8c)]();})}}),this[_0x2776be(0xd3)](_0x498ecf,_0x388c34,_0x26ceeb),_0x4c079f[_0x2776be(0x107)][_0x2776be(0xbe)](_0x498ecf),{'listItem':_0x4c079f,'highlightViews':[_0x4cada3]};}[_0x4815f0(0x8a)](_0x25530d,_0x26ae31){const _0x596068=_0x4815f0,_0x444799=new _0x42054e(this[_0x596068(0xc7)]),_0x2d5aed=new _0x1756ba();_0x2d5aed[_0x596068(0x8e)]=_0x26ae31,_0x2d5aed[_0x596068(0xc5)]({'attributes':{'class':_0x596068(0x102)}});const _0x4c6b44=new _0x2e9191();return _0x4c6b44[_0x596068(0x101)]=_0x25530d,_0x444799[_0x596068(0xf0)]({'tag':_0x596068(0xd9),'attributes':{'class':_0x596068(0x91)},'children':[_0x2d5aed,_0x4c6b44]}),{'view':_0x444799,'highlightView':_0x4c6b44};}[_0x4815f0(0xa8)](_0x4aac75){const _0x5ea429=_0x4815f0,_0xd3dca5=new _0x42054e(this[_0x5ea429(0xc7)]),_0xe22157=new _0x2e9191();return _0xe22157[_0x5ea429(0x101)]=_0x4aac75,_0xd3dca5[_0x5ea429(0xf0)]({'tag':_0x5ea429(0xd9),'attributes':{'class':_0x5ea429(0xbb)},'children':[_0xe22157]}),{'view':_0xd3dca5,'highlightView':_0xe22157};}[_0x4815f0(0xdd)](_0x63c88,_0x2e2664){const _0x2474a8=_0x4815f0,_0xe0e87e=new _0x42054e(this[_0x2474a8(0xc7)]);return _0xe0e87e[_0x2474a8(0xf0)]({'tag':_0x2474a8(0xd9),'attributes':{'class':_0x2474a8(0xc0)},'children':[_0x63c88,_0x2e2664]}),_0xe0e87e;}[_0x4815f0(0xd3)](_0x3f3047,_0xd875c3,_0x14a913){const _0x35cbff=_0x4815f0;_0x3f3047['on'](_0x35cbff(0x88),()=>{const _0x513c03=_0x35cbff;_0xd875c3[_0x513c03(0xd0)][_0x513c03(0xb1)][_0x513c03(0x8c)](),_0xd875c3[_0x513c03(0xbd)][_0x513c03(0x88)](_0x513c03(0xe8),_0x14a913);});}[_0x4815f0(0xa7)](_0x3fd731,_0x5edf8e,_0x436aae){const _0x4b0c77=_0x4815f0,_0x21edda=new _0x34c45b(this[_0x4b0c77(0xc7)]),_0x8ec097=new _0x109af0(),_0x1e9144=new _0x491b76(this[_0x4b0c77(0xc7)],_0x8ec097),_0x2cdd97=_0x1e9144[_0x4b0c77(0xdf)],_0x50c524=this[_0x4b0c77(0x106)](_0x436aae),_0x15ba75=this[_0x4b0c77(0xac)](_0x3fd731,_0x5edf8e[_0x4b0c77(0x8b)],_0x436aae);_0x1e9144[_0x4b0c77(0xfc)]({'label':_0x5edf8e[_0x4b0c77(0xad)],'withText':!0x0,'role':Rs,'icon':_0x5edf8e[_0x4b0c77(0xed)]??_0x7ebb5,'isEnabled':_0x5edf8e[_0x4b0c77(0x8b)][_0x4b0c77(0x9e)](_0x4695c7=>_0x4695c7[_0x4b0c77(0xfb)])}),_0x1e9144[_0x4b0c77(0xc5)]({'on':{'mouseenter':_0x2cdd97['to'](()=>{const _0x1081f7=_0x4b0c77;this[_0x1081f7(0xef)]()||_0x1e9144[_0x1081f7(0x8c)]();})}});const _0x3fcb5d=new _0x223975(this[_0x4b0c77(0xc7)]);return _0x3fcb5d[_0x4b0c77(0xc5)]({'attributes':{'class':['ck',_0x4b0c77(0x82),_0x4b0c77(0xea),_0x4b0c77(0xe4)]},'on':{'keydown':_0x2cdd97['to'](_0x3607ba=>{const _0x3de0f8=_0x4b0c77;this[_0x3de0f8(0x108)](_0x3607ba,_0x50c524,_0x1e9144,_0x3fcb5d);})}}),_0x1e9144[_0x4b0c77(0x103)](_0x4b0c77(0x90))['to'](_0x3fcb5d,_0x4b0c77(0xa5)),this[_0x4b0c77(0xc1)][_0x4b0c77(0xbe)](_0x3fcb5d),_0x3fcb5d[_0x4b0c77(0x8e)][_0x4b0c77(0xbe)](_0x15ba75),this[_0x4b0c77(0xda)](_0x1e9144,_0x3fcb5d),_0x21edda[_0x4b0c77(0x107)][_0x4b0c77(0xbe)](_0x1e9144),{'listItem':_0x21edda,'highlightView':_0x8ec097};}[_0x4815f0(0xac)](_0x1c3795,_0x169992,_0x2eedb4){const _0x8610=_0x4815f0,_0x35771e=new _0x1ce4b6(this[_0x8610(0xc7)]);return _0x35771e[_0x8610(0xc5)]({'attributes':{'class':['ck',_0x8610(0x82),_0x8610(0xb0),_0x8610(0xd5)]}}),_0x169992[_0x8610(0x9d)](_0x3fccd9=>{const _0x418f73=_0x8610,_0x5c585e=new _0x34c45b(this[_0x418f73(0xc7)]),_0x2a7123=_0x2b5ae3({'editor':_0x1c3795,'action':_0x3fccd9,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x418f73(0xef)]()})();_0x5c585e[_0x418f73(0x107)][_0x418f73(0xbe)](_0x2a7123),_0x2eedb4[_0x418f73(0xa9)][_0x418f73(0xbe)](_0x2a7123),_0x35771e[_0x418f73(0xca)][_0x418f73(0xbe)](_0x5c585e);}),_0x35771e;}[_0x4815f0(0xda)](_0x428cea,_0x7bb1a2){const _0x4e798a=_0x4815f0,_0x3cfa29=_0x428cea[_0x4e798a(0xdf)],_0x11c23d=this[_0x4e798a(0x83)](_0x428cea);_0x428cea[_0x4e798a(0xc5)]({'attributes':{'class':[_0x4e798a(0xd6)]},'on':{'mouseenter':_0x3cfa29['to'](()=>{const _0x19007a=_0x4e798a;this[_0x19007a(0xb2)](_0x7bb1a2,_0x428cea);}),'mouseleave':_0x3cfa29['to'](_0xe02514=>{const _0x54290e=_0x4e798a,_0x10ef6e=_0xe02514[_0x54290e(0xe0)];this[_0x54290e(0xd1)](_0x10ef6e,_0x7bb1a2)||this[_0x54290e(0xe7)](_0x7bb1a2);}),'keydown':_0x3cfa29['to'](_0x59c1fe=>{const _0x4f9712=_0x4e798a;_0x59c1fe[_0x4f9712(0xaf)]==_0x11c23d&&(this[_0x4f9712(0xb2)](_0x7bb1a2,_0x428cea),_0x7bb1a2[_0x4f9712(0x8e)][_0x4f9712(0x93)](0x0)[_0x4f9712(0x8c)]());})}}),_0x7bb1a2['on'](_0x4e798a(0xd2),()=>{const _0x58231b=_0x4e798a;_0x7bb1a2[_0x58231b(0xc3)]?.[_0x58231b(0xfe)](_0x58231b(0x98),_0x169d33=>{const _0x25dabf=_0x58231b,_0x4b21c3=_0x169d33[_0x25dabf(0xe0)];_0x428cea[_0x25dabf(0xc3)]?.[_0x25dabf(0xec)](_0x4b21c3)||this[_0x25dabf(0xd1)](_0x4b21c3,_0x7bb1a2)||this[_0x25dabf(0xe7)](_0x7bb1a2);});});}[_0x4815f0(0xb2)](_0x24ef9c,_0x3a7182){const _0x1f2144=_0x4815f0;this[_0x1f2144(0xcc)][_0x1f2144(0x9d)](_0x18dd7c=>{const _0x4ace72=_0x1f2144;_0x18dd7c!==_0x24ef9c&&_0x18dd7c[_0x4ace72(0xa5)]&&_0x18dd7c[_0x4ace72(0xc6)]();}),_0x24ef9c[_0x1f2144(0xe9)](),_0x24ef9c[_0x1f2144(0xf9)]({'positions':[_0x431bbe[_0x1f2144(0xe6)]],'target':_0x3a7182[_0x1f2144(0xc3)],'fitInViewport':!0x0}),this[_0x1f2144(0xcc)][_0x1f2144(0xbe)](_0x24ef9c);}[_0x4815f0(0xe7)](_0x38dbff){const _0x8767c3=_0x4815f0;_0x38dbff[_0x8767c3(0xc6)](),this[_0x8767c3(0xcc)][_0x8767c3(0xf6)](_0x38dbff);}[_0x4815f0(0x9f)](){const _0x80bc42=_0x4815f0;this[_0x80bc42(0xcc)][_0x80bc42(0x9d)](_0x582ed2=>_0x582ed2[_0x80bc42(0xc6)]()),this[_0x80bc42(0xcc)][_0x80bc42(0x94)]();}[_0x4815f0(0xd1)](_0x1a0063,_0x46812e){const _0x145097=_0x4815f0;if(!_0x1a0063)return!0x1;if(_0x46812e[_0x145097(0xc3)]?.[_0x145097(0xec)](_0x1a0063))return!0x0;const _0x1f759a=_0x1a0063;return _0x1f759a[_0x145097(0x86)]&&(null!==_0x1f759a[_0x145097(0x86)](_0x145097(0xb8))||null!==_0x1f759a[_0x145097(0x86)](_0x145097(0xba))||null!==_0x1f759a[_0x145097(0x86)](_0x145097(0xbf)));}[_0x4815f0(0x85)](){const _0xf4b9d2=_0x4815f0;this[_0xf4b9d2(0xf5)]&&this[_0xf4b9d2(0xf5)][_0xf4b9d2(0xdc)]();}[_0x4815f0(0xa1)](){const _0x12d1a8=_0x4815f0;this[_0x12d1a8(0x9f)](),this[_0x12d1a8(0xc1)][_0x12d1a8(0xb5)](),super[_0x12d1a8(0xa1)]();}[_0x4815f0(0x8c)](){const _0xbbdd26=_0x4815f0;this[_0xbbdd26(0xf5)]?this[_0xbbdd26(0xf5)][_0xbbdd26(0x8c)]():this[_0xbbdd26(0xcb)][_0xbbdd26(0x8c)]();}[_0x4815f0(0x106)](_0x16ef74){const _0x3ec48b=_0x4815f0;return _0x3ec48b(0xff)===_0x16ef74[_0x3ec48b(0xc7)][_0x3ec48b(0xe5)]?_0x3ec48b(0x95):_0x3ec48b(0x105);}[_0x4815f0(0x83)](_0x54e018){const _0x69fe=_0x4815f0;return _0x69fe(0xff)===_0x54e018[_0x69fe(0xc7)][_0x69fe(0xe5)]?_0x69fe(0x105):_0x69fe(0x95);}[_0x4815f0(0x108)](_0x53acd1,_0x139644,_0x35ca6a,_0x3fe9e4){const _0x336d63=_0x4815f0;_0x53acd1[_0x336d63(0xaf)]==_0x139644&&(_0x35ca6a[_0x336d63(0x8c)](),this[_0x336d63(0xe7)](_0x3fe9e4));}[_0x4815f0(0x89)](_0x403b3f){const _0x3cdf79=_0x4815f0;_0x403b3f[_0x3cdf79(0x92)](_0x3cdf79(0x88));}}
23
+ const _0x918bd=_0x385e;(function(_0x231ebb,_0xb1a076){const _0x150f23=_0x385e,_0x577c3f=_0x231ebb();while(!![]){try{const _0x5304e1=-parseInt(_0x150f23(0x1f8))/0x1+-parseInt(_0x150f23(0x1d5))/0x2*(parseInt(_0x150f23(0x1a0))/0x3)+parseInt(_0x150f23(0x213))/0x4+-parseInt(_0x150f23(0x1ed))/0x5+parseInt(_0x150f23(0x218))/0x6+-parseInt(_0x150f23(0x1c2))/0x7+parseInt(_0x150f23(0x1e7))/0x8*(parseInt(_0x150f23(0x1e2))/0x9);if(_0x5304e1===_0xb1a076)break;else _0x577c3f['push'](_0x577c3f['shift']());}catch(_0x2877ed){_0x577c3f['push'](_0x577c3f['shift']());}}}(_0x547e,0xdd2b9));import{View as _0x3638cd,ListItemView as _0x40222b,ListView as _0x3a44a9,BalloonPanelView as _0x5a4e79,DropdownMenuPanelPositioningFunctions as _0x1fcf45,ViewCollection as _0x39b30e,FocusCycler as _0x1e9565,ButtonView as _0x13db5e,IconView as _0x5c2fbc,HighlightedTextView as _0x6140f3,ButtonLabelWithHighlightView as _0x4f1b02,SearchTextView as _0x42b25e}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x332d74}from'@ckeditor/ckeditor5-icons';function _0x385e(_0x327d62,_0x324b89){const _0x547efa=_0x547e();return _0x385e=function(_0x385e7a,_0x3fe018){_0x385e7a=_0x385e7a-0x1a0;let _0x287159=_0x547efa[_0x385e7a];return _0x287159;},_0x385e(_0x327d62,_0x324b89);}import{FocusTracker as _0x2b33a3,KeystrokeHandler as _0x242a5f}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x2c6f55}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x5c924c}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x218172}from'../../aicore/utils/common-translations.js';function _0x547e(){const _0x407e7f=['children','icon','_showNestedPanel','some','3ptQCBo','_hideNestedPanel','push','ArrowLeft','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-button__group-icon','optionsListView','hide','execute','ck-reset_all','_createSearchResultActionRow','get','_getPanelKeystroke','_handlePanelKeydown','ck-ai-quick-actions-search-result__action-row','_createSearchResultContentView','key','_createSearchResultGroupRow','_createGroupActionsList','fieldView','ck-ai-quick-actions-group-panel','addMany','_setupActionButtonExecution','parent','bindTemplate','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group__open-paren','commands','set','_createListItems','reset','rtl','focusTracker','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','8660736ZjAKNy','queryView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','ArrowRight','ck-ai-quick-actions-search-result__content','content','_isSearchFocused','element','ck-ai-quick-actions-group-list','_setupGroupMenuBehavior','ck-dropdown-menu-list','AI_QUICK_ACTIONS_SEARCH','_createSearchTextView','.ck-ai-quick-actions-group-panel','label','fire','actions','ck-ai-quick-actions-group-button','addEventListener','2832706lVnwxD','_createActionButton','role','span','ck-ai-quick-actions-button_with-group','eastSouth','closest','.ck-ai-quick-actions-group-button','isEnabled','focusCycler','_isMovingToNestedMenu','_allSearchableItems','forEach','189BfHQlE','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_bodyCollection','bind','editing','1110696SNNAfd','_focusables','delete','aiQuickAction','_getButtonKeystroke','ck-ai-quick-actions-search-result-button','6075180mBNEIa','uiLanguageDirection','_searchTextView','destroy','add','_hideAllNestedPanels','mouseleave','menu','text','.ck-ai-quick-actions-group-list','items','47195OLsQvo','detachFromDom','button','chain','activeElement','keystrokes','extendTemplate','view','render','ck-rounded-corners','displayedPrompt','ck-ai-quick-actions-search','locale','contains','focus','ck-button','clear','ck-ai-quick-actions','_createActionGroupButton','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-search-result-button_with-group','ownerDocument','ck-ai-quick-actions-button_with-group__close-paren','_createSearchResultActionButton','pin','relatedTarget','setTemplate','6946076MLwNax','menuitem','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_createSearchResultGroupedActionButton','_createSearchResultIndividualActionButton','1017894dGtxsU','resetSearch','_handleSearchResultButtonClick','first','ck-button_with-text','_hasSearch','_openNestedPanels','isOn','isVisible','show','div'];_0x547e=function(){return _0x407e7f;};return _0x547e();}import{AIQuickActionsFilteredListView as _0x121891}from'./aiquickactionsfilteredlistview.js';const ys=_0x918bd(0x1f4),Ts=_0x918bd(0x214);export class AIQuickActionsDropdownContentView extends _0x3638cd{[_0x918bd(0x1e4)];[_0x918bd(0x1a6)];[_0x918bd(0x1ef)]=null;[_0x918bd(0x1e0)]=[];[_0x918bd(0x223)];[_0x918bd(0x1c0)];[_0x918bd(0x1fd)];[_0x918bd(0x1e8)];[_0x918bd(0x1de)];[_0x918bd(0x21e)]=new Set();[_0x918bd(0x21d)];constructor(_0x597686,_0x5b219e,_0xbe1d6,_0x470b18,_0x51a017=!0x1){const _0x2f71f6=_0x918bd,_0xab24a=_0x597686[_0x2f71f6(0x204)];super(_0xab24a),this[_0x2f71f6(0x1e4)]=_0x470b18,this[_0x2f71f6(0x21d)]=_0x51a017;const _0x38b4db=this[_0x2f71f6(0x1bd)](_0x597686,_0x5b219e,_0xbe1d6);this[_0x2f71f6(0x1a6)]=new _0x121891(_0xab24a,_0x38b4db,this[_0x2f71f6(0x1e0)]),this[_0x2f71f6(0x1a6)][_0x2f71f6(0x1d7)]=ys,this[_0x2f71f6(0x1a6)][_0x2f71f6(0x1f7)][_0x2f71f6(0x1b5)](_0x38b4db),this[_0x2f71f6(0x1c0)]=new _0x2b33a3(),this[_0x2f71f6(0x1fd)]=new _0x242a5f(),_0x51a017&&(this[_0x2f71f6(0x1ef)]=this[_0x2f71f6(0x1ce)]()),this[_0x2f71f6(0x1e8)]=_0x38b4db,this[_0x2f71f6(0x1de)]=new _0x1e9565({'focusables':this[_0x2f71f6(0x1e8)],'focusTracker':this[_0x2f71f6(0x1c0)],'keystrokeHandler':this[_0x2f71f6(0x1fd)]}),_0x51a017&&this[_0x2f71f6(0x1ef)]&&this[_0x2f71f6(0x1de)][_0x2f71f6(0x1fb)](this[_0x2f71f6(0x1ef)][_0x2f71f6(0x1de)]);const _0x126e4a=_0x51a017&&this[_0x2f71f6(0x1ef)]?[this[_0x2f71f6(0x1ef)]]:[this[_0x2f71f6(0x1a6)]];this[_0x2f71f6(0x223)]=new _0x39b30e(_0x126e4a),this[_0x2f71f6(0x212)]({'tag':_0x2f71f6(0x222),'attributes':{'class':['ck',_0x2f71f6(0x1a9),_0x2f71f6(0x209),_0x2f71f6(0x201)],'dir':_0xab24a[_0x2f71f6(0x1ee)]},'children':this[_0x2f71f6(0x223)]});}[_0x918bd(0x1ce)](){const _0x3f3b6f=_0x918bd;return new _0x42b25e(this[_0x3f3b6f(0x204)],{'filteredView':this[_0x3f3b6f(0x1a6)],'queryView':{'label':_0x218172(this[_0x3f3b6f(0x204)],_0x3f3b6f(0x1cd))},'class':_0x3f3b6f(0x203),'infoView':{'text':{'notFound':{'primary':_0x218172(this[_0x3f3b6f(0x204)],_0x3f3b6f(0x215))}}}});}[_0x918bd(0x1c8)](){const _0x3f58e3=_0x918bd;if(!this[_0x3f58e3(0x21d)]||!this[_0x3f58e3(0x1ef)]||!this[_0x3f58e3(0x1ef)][_0x3f58e3(0x1c3)][_0x3f58e3(0x1b3)][_0x3f58e3(0x1c9)])return!0x1;const _0x2616c6=this[_0x3f58e3(0x1ef)][_0x3f58e3(0x1c3)][_0x3f58e3(0x1b3)][_0x3f58e3(0x1c9)][_0x3f58e3(0x20d)]?.[_0x3f58e3(0x1fc)];return this[_0x3f58e3(0x1ef)][_0x3f58e3(0x1c3)][_0x3f58e3(0x1b3)][_0x3f58e3(0x1c9)][_0x3f58e3(0x205)](_0x2616c6);}[_0x918bd(0x1bd)](_0x43e8f1,_0x3232e9,_0x3e13ff){const _0x3b1a97=_0x918bd,_0x22fca0=new _0x39b30e();return _0x3232e9[_0x3b1a97(0x1e1)](_0xe8dd77=>{const _0x12131c=_0x3b1a97;if(_0x12131c(0x1d2)in _0xe8dd77){const {listItem:_0x39ec36}=this[_0x12131c(0x20a)](_0x43e8f1,_0xe8dd77,_0x3e13ff);_0x22fca0[_0x12131c(0x1f1)](_0x39ec36),_0xe8dd77[_0x12131c(0x1d2)][_0x12131c(0x1e1)](_0x4a88fc=>{const _0x30410a=_0x12131c;this[_0x30410a(0x1d6)](_0x43e8f1,_0x4a88fc,_0xe8dd77[_0x30410a(0x1d0)],_0xe8dd77[_0x30410a(0x224)]);const {listItem:_0x594d8a,highlightViews:_0x438f69}=this[_0x30410a(0x20f)](_0x43e8f1,_0x4a88fc,_0xe8dd77[_0x30410a(0x1d0)],_0xe8dd77[_0x30410a(0x224)]);this[_0x30410a(0x1e0)][_0x30410a(0x1a2)]({'item':_0x594d8a,'label':_0x4a88fc[_0x30410a(0x202)],'groupLabel':_0xe8dd77[_0x30410a(0x1d0)],'highlightViews':_0x438f69});});}else{const {listItem:_0x5abb08}=this[_0x12131c(0x1d6)](_0x43e8f1,_0xe8dd77);_0x22fca0[_0x12131c(0x1f1)](_0x5abb08);const _0x238705=_0x5abb08[_0x12131c(0x223)][_0x12131c(0x21b)];if(_0x238705){const {listItem:_0x2734fc,highlightViews:_0x2ede40}=this[_0x12131c(0x20f)](_0x43e8f1,_0xe8dd77);this[_0x12131c(0x1e0)][_0x12131c(0x1a2)]({'item':_0x2734fc,'label':_0x238705[_0x12131c(0x1d0)]||'','highlightViews':_0x2ede40});}}}),_0x22fca0;}[_0x918bd(0x1d6)](_0x8ca381,_0x14441f,_0x40ab62,_0x4c2771){const _0x495eee=_0x918bd,_0x2b5e31=new _0x40222b(this[_0x495eee(0x204)]);if(_0x40ab62&&_0x4c2771){const _0x50bdf3=new _0x13db5e(this[_0x495eee(0x204)]),_0x4701f8=_0x50bdf3[_0x495eee(0x1b8)],_0x3a392a=new _0x6140f3();_0x3a392a[_0x495eee(0x1f5)]=_0x14441f[_0x495eee(0x202)];const _0x4670e0=new _0x6140f3();_0x4670e0[_0x495eee(0x1f5)]=_0x40ab62;const _0x34016f=new _0x5c2fbc();_0x34016f[_0x495eee(0x1c7)]=_0x4c2771,_0x34016f[_0x495eee(0x1fe)]({'attributes':{'class':_0x495eee(0x1a5)}});const _0xe0c3c8=new _0x3638cd(this[_0x495eee(0x204)]);_0xe0c3c8[_0x495eee(0x212)]({'tag':_0x495eee(0x1d8),'attributes':{'class':_0x495eee(0x1ba)},'children':[{'text':'\x20('}]});const _0x18862b=new _0x3638cd(this[_0x495eee(0x204)]);return _0x18862b[_0x495eee(0x212)]({'tag':_0x495eee(0x1d8),'attributes':{'class':_0x495eee(0x20e)},'children':[{'text':')'}]}),_0x50bdf3[_0x495eee(0x1bc)]({'label':_0x14441f[_0x495eee(0x202)]+'\x20('+_0x40ab62+')','withText':!0x0,'role':_0x495eee(0x214),'class':_0x495eee(0x1c4),'tooltip':!0x1}),_0x50bdf3[_0x495eee(0x212)]({'tag':_0x495eee(0x1fa),'attributes':{'class':['ck',_0x495eee(0x207),_0x495eee(0x21c),_0x495eee(0x1b9),_0x495eee(0x1d9)],'type':_0x495eee(0x1fa),'role':_0x495eee(0x214),'tabindex':'-1'},'children':[_0x3a392a,_0xe0c3c8,_0x34016f,_0x4670e0,_0x18862b],'on':{'mouseenter':_0x4701f8['to'](()=>{const _0x31ac42=_0x495eee;this[_0x31ac42(0x1c8)]()||_0x50bdf3[_0x31ac42(0x206)]();}),'click':_0x4701f8['to'](()=>{const _0x3af398=_0x495eee;_0x50bdf3[_0x3af398(0x1d1)](_0x3af398(0x1a8));})}}),_0x50bdf3['on'](_0x495eee(0x1a8),()=>{const _0x3fdb8d=_0x495eee;_0x8ca381[_0x3fdb8d(0x1e6)][_0x3fdb8d(0x1ff)][_0x3fdb8d(0x206)](),_0x8ca381[_0x3fdb8d(0x1bb)][_0x3fdb8d(0x1a8)](_0x3fdb8d(0x1ea),_0x14441f);}),_0x2b5e31[_0x495eee(0x223)][_0x495eee(0x1f1)](_0x50bdf3),{'listItem':_0x2b5e31,'highlightViews':[_0x3a392a,_0x4670e0]};}{const _0x44a5ec=new _0x4f1b02(),_0x4f68c2=new _0x13db5e(this[_0x495eee(0x204)],_0x44a5ec),_0x14a947=_0x4f68c2[_0x495eee(0x1b8)],_0x3c5153=_0x14441f[_0x495eee(0x224)]??_0x14441f[_0x495eee(0x1b7)]?.[_0x495eee(0x224)],_0x2d7bb8=void 0x0!==_0x14441f[_0x495eee(0x224)];return _0x4f68c2[_0x495eee(0x1bc)]({'label':_0x14441f[_0x495eee(0x202)],'withText':!0x0,'role':_0x495eee(0x214),'icon':_0x2d7bb8?_0x3c5153??_0x332d74:void 0x0,'tooltip':!0x1,'class':_0x495eee(0x1b9)}),_0x4f68c2[_0x495eee(0x1fe)]({'on':{'mouseenter':_0x14a947['to'](()=>{const _0x460235=_0x495eee;this[_0x460235(0x1c8)]()||_0x4f68c2[_0x460235(0x206)]();})}}),_0x4f68c2['on'](_0x495eee(0x1a8),()=>{const _0xf96123=_0x495eee;_0x8ca381[_0xf96123(0x1e6)][_0xf96123(0x1ff)][_0xf96123(0x206)](),_0x8ca381[_0xf96123(0x1bb)][_0xf96123(0x1a8)](_0xf96123(0x1ea),_0x14441f);}),_0x2b5e31[_0x495eee(0x223)][_0x495eee(0x1f1)](_0x4f68c2),{'listItem':_0x2b5e31,'highlightViews':[_0x44a5ec]};}}[_0x918bd(0x20f)](_0x37e14a,_0x51a729,_0x2e28ab,_0x3196c5){const _0x56d8b9=_0x918bd;return _0x2e28ab&&_0x3196c5?this[_0x56d8b9(0x216)](_0x37e14a,_0x51a729,_0x2e28ab,_0x3196c5):this[_0x56d8b9(0x217)](_0x37e14a,_0x51a729);}[_0x918bd(0x216)](_0x2c5fdd,_0xa6ff74,_0x599b1c,_0x2fd159){const _0x470284=_0x918bd,_0x4fa93f=new _0x40222b(this[_0x470284(0x204)]),_0xd6bbd2=new _0x13db5e(this[_0x470284(0x204)]),_0x992aa0=_0xd6bbd2[_0x470284(0x1b8)],{view:_0x39aedf,highlightView:_0x3fd173}=this[_0x470284(0x1b1)](_0x599b1c,_0x2fd159),{view:_0x48332e,highlightView:_0x5466db}=this[_0x470284(0x1aa)](_0xa6ff74[_0x470284(0x202)]),_0x54cbd9=this[_0x470284(0x1af)](_0x39aedf,_0x48332e);return _0xd6bbd2[_0x470284(0x1bc)]({'label':_0xa6ff74[_0x470284(0x202)],'withText':!0x0,'role':_0x470284(0x214),'class':_0x470284(0x1c1),'tooltip':!0x1}),_0xd6bbd2[_0x470284(0x212)]({'tag':_0x470284(0x1fa),'attributes':{'class':['ck',_0x470284(0x207),_0x470284(0x21c),_0x470284(0x1b9),_0x470284(0x1ec),_0x470284(0x20c)],'type':_0x470284(0x1fa),'role':_0x470284(0x214),'tabindex':'-1'},'children':[_0x54cbd9],'on':{'mouseenter':_0x992aa0['to'](()=>{const _0x30a4f3=_0x470284;this[_0x30a4f3(0x1c8)]()||_0xd6bbd2[_0x30a4f3(0x206)]();}),'click':_0x992aa0['to'](()=>{const _0x3e0c7f=_0x470284;this[_0x3e0c7f(0x21a)](_0xd6bbd2);})}}),this[_0x470284(0x1b6)](_0xd6bbd2,_0x2c5fdd,_0xa6ff74),_0x4fa93f[_0x470284(0x223)][_0x470284(0x1f1)](_0xd6bbd2),{'listItem':_0x4fa93f,'highlightViews':[_0x3fd173,_0x5466db]};}[_0x918bd(0x217)](_0x30750d,_0x231ca9){const _0x2d883f=_0x918bd,_0x842f42=new _0x40222b(this[_0x2d883f(0x204)]),_0x3e0209=new _0x4f1b02(),_0x2f7539=new _0x13db5e(this[_0x2d883f(0x204)],_0x3e0209),_0x2b354b=_0x2f7539[_0x2d883f(0x1b8)];return _0x2f7539[_0x2d883f(0x1bc)]({'label':_0x231ca9[_0x2d883f(0x202)],'withText':!0x0,'role':_0x2d883f(0x214),'icon':void 0x0,'tooltip':!0x1,'class':_0x2d883f(0x1e3)}),_0x2f7539[_0x2d883f(0x1fe)]({'on':{'mouseenter':_0x2b354b['to'](()=>{const _0x3f01de=_0x2d883f;this[_0x3f01de(0x1c8)]()||_0x2f7539[_0x3f01de(0x206)]();})}}),this[_0x2d883f(0x1b6)](_0x2f7539,_0x30750d,_0x231ca9),_0x842f42[_0x2d883f(0x223)][_0x2d883f(0x1f1)](_0x2f7539),{'listItem':_0x842f42,'highlightViews':[_0x3e0209]};}[_0x918bd(0x1b1)](_0xabe77b,_0x46bc9b){const _0x5aed52=_0x918bd,_0x4db9fc=new _0x3638cd(this[_0x5aed52(0x204)]),_0x38fbfc=new _0x5c2fbc();_0x38fbfc[_0x5aed52(0x1c7)]=_0x46bc9b,_0x38fbfc[_0x5aed52(0x1fe)]({'attributes':{'class':_0x5aed52(0x1a5)}});const _0x27186a=new _0x6140f3();return _0x27186a[_0x5aed52(0x1f5)]=_0xabe77b,_0x4db9fc[_0x5aed52(0x212)]({'tag':_0x5aed52(0x222),'attributes':{'class':_0x5aed52(0x1a4)},'children':[_0x38fbfc,_0x27186a]}),{'view':_0x4db9fc,'highlightView':_0x27186a};}[_0x918bd(0x1aa)](_0x1e0fc3){const _0x40589c=_0x918bd,_0x5ccfd0=new _0x3638cd(this[_0x40589c(0x204)]),_0xde6031=new _0x6140f3();return _0xde6031[_0x40589c(0x1f5)]=_0x1e0fc3,_0x5ccfd0[_0x40589c(0x212)]({'tag':_0x40589c(0x222),'attributes':{'class':_0x40589c(0x1ae)},'children':[_0xde6031]}),{'view':_0x5ccfd0,'highlightView':_0xde6031};}[_0x918bd(0x1af)](_0x43b07a,_0xc49ef7){const _0x32ae94=_0x918bd,_0x3e4f54=new _0x3638cd(this[_0x32ae94(0x204)]);return _0x3e4f54[_0x32ae94(0x212)]({'tag':_0x32ae94(0x222),'attributes':{'class':_0x32ae94(0x1c6)},'children':[_0x43b07a,_0xc49ef7]}),_0x3e4f54;}[_0x918bd(0x1b6)](_0x52a80e,_0x9830f6,_0x101245){const _0x172cb1=_0x918bd;_0x52a80e['on'](_0x172cb1(0x1a8),()=>{const _0x23a6f9=_0x172cb1;_0x9830f6[_0x23a6f9(0x1e6)][_0x23a6f9(0x1ff)][_0x23a6f9(0x206)](),_0x9830f6[_0x23a6f9(0x1bb)][_0x23a6f9(0x1a8)](_0x23a6f9(0x1ea),_0x101245);});}[_0x918bd(0x20a)](_0x183d0f,_0x3acf33,_0x101c30){const _0xa26ccb=_0x918bd,_0x186a76=new _0x40222b(this[_0xa26ccb(0x204)]),_0x1f1cc1=new _0x4f1b02(),_0x531c2b=new _0x5c924c(this[_0xa26ccb(0x204)],_0x1f1cc1),_0x5eca61=_0x531c2b[_0xa26ccb(0x1b8)],_0x33de24=this[_0xa26ccb(0x1ac)](_0x101c30),_0x1bfa0a=this[_0xa26ccb(0x1b2)](_0x183d0f,_0x3acf33[_0xa26ccb(0x1d2)],_0x101c30);_0x531c2b[_0xa26ccb(0x1bc)]({'label':_0x3acf33[_0xa26ccb(0x1d0)],'withText':!0x0,'role':Ts,'icon':_0x3acf33[_0xa26ccb(0x224)]??_0x332d74,'isEnabled':_0x3acf33[_0xa26ccb(0x1d2)][_0xa26ccb(0x226)](_0x4c2de1=>_0x4c2de1[_0xa26ccb(0x1dd)])}),_0x531c2b[_0xa26ccb(0x1fe)]({'on':{'mouseenter':_0x5eca61['to'](()=>{const _0x5ce796=_0xa26ccb;this[_0x5ce796(0x1c8)]()||_0x531c2b[_0x5ce796(0x206)]();})}});const _0x346ed5=new _0x5a4e79(this[_0xa26ccb(0x204)]);return _0x346ed5[_0xa26ccb(0x1fe)]({'attributes':{'class':['ck',_0xa26ccb(0x1a9),_0xa26ccb(0x1b4),_0xa26ccb(0x20b)]},'on':{'keydown':_0x5eca61['to'](_0x595f89=>{const _0xc81e04=_0xa26ccb;this[_0xc81e04(0x1ad)](_0x595f89,_0x33de24,_0x531c2b,_0x346ed5);})}}),_0x531c2b[_0xa26ccb(0x1e5)](_0xa26ccb(0x21f))['to'](_0x346ed5,_0xa26ccb(0x220)),this[_0xa26ccb(0x1e4)][_0xa26ccb(0x1f1)](_0x346ed5),_0x346ed5[_0xa26ccb(0x1c7)][_0xa26ccb(0x1f1)](_0x1bfa0a),this[_0xa26ccb(0x1cb)](_0x531c2b,_0x346ed5),_0x186a76[_0xa26ccb(0x223)][_0xa26ccb(0x1f1)](_0x531c2b),{'listItem':_0x186a76,'highlightView':_0x1f1cc1};}[_0x918bd(0x1b2)](_0x54626a,_0x287db3,_0x3a48dd){const _0xf43aaf=_0x918bd,_0x253d7b=new _0x3a44a9(this[_0xf43aaf(0x204)]);return _0x253d7b[_0xf43aaf(0x1fe)]({'attributes':{'class':['ck',_0xf43aaf(0x1a9),_0xf43aaf(0x1ca),_0xf43aaf(0x1cc)]}}),_0x287db3[_0xf43aaf(0x1e1)](_0x34f753=>{const _0x13c2c5=_0xf43aaf,_0x237243=new _0x40222b(this[_0x13c2c5(0x204)]),_0x2547e4=_0x2c6f55({'editor':_0x54626a,'action':_0x34f753,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x13c2c5(0x1c8)]()})();_0x237243[_0x13c2c5(0x223)][_0x13c2c5(0x1f1)](_0x2547e4),_0x3a48dd[_0x13c2c5(0x1c0)][_0x13c2c5(0x1f1)](_0x2547e4),_0x253d7b[_0x13c2c5(0x1f7)][_0x13c2c5(0x1f1)](_0x237243);}),_0x253d7b;}[_0x918bd(0x1cb)](_0x33e2d7,_0x34aeef){const _0x39f0c5=_0x918bd,_0x455bc9=_0x33e2d7[_0x39f0c5(0x1b8)],_0x1516aa=this[_0x39f0c5(0x1eb)](_0x33e2d7);_0x33e2d7[_0x39f0c5(0x1fe)]({'attributes':{'class':[_0x39f0c5(0x1d3)]},'on':{'mouseenter':_0x455bc9['to'](()=>{const _0x4b1d7f=_0x39f0c5;this[_0x4b1d7f(0x225)](_0x34aeef,_0x33e2d7);}),'mouseleave':_0x455bc9['to'](_0x353407=>{const _0x5d7538=_0x39f0c5,_0x530535=_0x353407[_0x5d7538(0x211)];this[_0x5d7538(0x1df)](_0x530535,_0x34aeef)||this[_0x5d7538(0x1a1)](_0x34aeef);}),'keydown':_0x455bc9['to'](_0x4d78e0=>{const _0x427c96=_0x39f0c5;_0x4d78e0[_0x427c96(0x1b0)]==_0x1516aa&&(this[_0x427c96(0x225)](_0x34aeef,_0x33e2d7),_0x34aeef[_0x427c96(0x1c7)][_0x427c96(0x1ab)](0x0)[_0x427c96(0x206)]());})}}),_0x34aeef['on'](_0x39f0c5(0x200),()=>{const _0x521e56=_0x39f0c5;_0x34aeef[_0x521e56(0x1c9)]?.[_0x521e56(0x1d4)](_0x521e56(0x1f3),_0x534864=>{const _0x44fc0e=_0x521e56,_0x35d133=_0x534864[_0x44fc0e(0x211)];_0x33e2d7[_0x44fc0e(0x1c9)]?.[_0x44fc0e(0x205)](_0x35d133)||this[_0x44fc0e(0x1df)](_0x35d133,_0x34aeef)||this[_0x44fc0e(0x1a1)](_0x34aeef);});});}[_0x918bd(0x225)](_0x4c1c42,_0x5edc17){const _0x5efeb4=_0x918bd;this[_0x5efeb4(0x21e)][_0x5efeb4(0x1e1)](_0x41c175=>{const _0x268c2a=_0x5efeb4;_0x41c175!==_0x4c1c42&&_0x41c175[_0x268c2a(0x220)]&&_0x41c175[_0x268c2a(0x1a7)]();}),_0x4c1c42[_0x5efeb4(0x221)](),_0x4c1c42[_0x5efeb4(0x210)]({'positions':[_0x1fcf45[_0x5efeb4(0x1da)]],'target':_0x5edc17[_0x5efeb4(0x1c9)],'fitInViewport':!0x0}),this[_0x5efeb4(0x21e)][_0x5efeb4(0x1f1)](_0x4c1c42);}[_0x918bd(0x1a1)](_0x368a15){const _0x445b0d=_0x918bd;_0x368a15[_0x445b0d(0x1a7)](),this[_0x445b0d(0x21e)][_0x445b0d(0x1e9)](_0x368a15);}[_0x918bd(0x1f2)](){const _0x3877e6=_0x918bd;this[_0x3877e6(0x21e)][_0x3877e6(0x1e1)](_0x4d5c08=>_0x4d5c08[_0x3877e6(0x1a7)]()),this[_0x3877e6(0x21e)][_0x3877e6(0x208)]();}[_0x918bd(0x1df)](_0x1da211,_0x313dbb){const _0x1592a1=_0x918bd;if(!_0x1da211)return!0x1;if(_0x313dbb[_0x1592a1(0x1c9)]?.[_0x1592a1(0x205)](_0x1da211))return!0x0;const _0x5147aa=_0x1da211;return _0x5147aa[_0x1592a1(0x1db)]&&(null!==_0x5147aa[_0x1592a1(0x1db)](_0x1592a1(0x1cf))||null!==_0x5147aa[_0x1592a1(0x1db)](_0x1592a1(0x1f6))||null!==_0x5147aa[_0x1592a1(0x1db)](_0x1592a1(0x1dc)));}[_0x918bd(0x219)](){const _0x28fdd8=_0x918bd;this[_0x28fdd8(0x1ef)]&&this[_0x28fdd8(0x1ef)][_0x28fdd8(0x1be)]();}[_0x918bd(0x1f0)](){const _0x238dd7=_0x918bd;this[_0x238dd7(0x1f2)](),this[_0x238dd7(0x1e4)][_0x238dd7(0x1f9)](),super[_0x238dd7(0x1f0)]();}[_0x918bd(0x206)](){const _0x47e414=_0x918bd;this[_0x47e414(0x1ef)]?this[_0x47e414(0x1ef)][_0x47e414(0x206)]():this[_0x47e414(0x1a6)][_0x47e414(0x206)]();}[_0x918bd(0x1ac)](_0x1249b6){const _0x33a1eb=_0x918bd;return _0x33a1eb(0x1bf)===_0x1249b6[_0x33a1eb(0x204)][_0x33a1eb(0x1ee)]?_0x33a1eb(0x1c5):_0x33a1eb(0x1a3);}[_0x918bd(0x1eb)](_0xfd09c9){const _0x3ec426=_0x918bd;return _0x3ec426(0x1bf)===_0xfd09c9[_0x3ec426(0x204)][_0x3ec426(0x1ee)]?_0x3ec426(0x1a3):_0x3ec426(0x1c5);}[_0x918bd(0x1ad)](_0x518b63,_0x1ece08,_0x3a09be,_0x1878aa){const _0x9d8a52=_0x918bd;_0x518b63[_0x9d8a52(0x1b0)]==_0x1ece08&&(_0x3a09be[_0x9d8a52(0x206)](),this[_0x9d8a52(0x1a1)](_0x1878aa));}[_0x918bd(0x21a)](_0x2614da){const _0x31c26b=_0x918bd;_0x2614da[_0x31c26b(0x1d1)](_0x31c26b(0x1a8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5bd5ac,_0x283cd9){const _0x2d311a=_0x3554,_0xaab1dc=_0x5bd5ac();while(!![]){try{const _0x50f851=parseInt(_0x2d311a(0x19e))/0x1*(-parseInt(_0x2d311a(0x189))/0x2)+parseInt(_0x2d311a(0x182))/0x3+parseInt(_0x2d311a(0x184))/0x4*(-parseInt(_0x2d311a(0x190))/0x5)+parseInt(_0x2d311a(0x18b))/0x6+parseInt(_0x2d311a(0x186))/0x7+-parseInt(_0x2d311a(0x197))/0x8*(-parseInt(_0x2d311a(0x196))/0x9)+-parseInt(_0x2d311a(0x195))/0xa;if(_0x50f851===_0x283cd9)break;else _0xaab1dc['push'](_0xaab1dc['shift']());}catch(_0x151bed){_0xaab1dc['push'](_0xaab1dc['shift']());}}}(_0x5659,0xc67f5));function _0x5659(){const _0x111803=['showFakeVisualSelection','56YALbEk','children','add','change:isOpen','selection','has','2556480JdvDEE','label','222996UAYaMa','AIEditing','10071341sKXDQZ','locale','document','5608BGeSRh','length','5818584hZqDIH','panelView','resetSearch','get','set','115qxsRGt','ck-ai-quick-actions-dropdown','icon','plugins','ai-quick-actions-dropdown-selection','25263230zerWOa','3415347ITKsES','32DfXtwj','hideFakeVisualSelection','getRanges','from','buttonView','model'];_0x5659=function(){return _0x111803;};return _0x5659();}function _0x3554(_0x1df0cb,_0x2946f1){const _0x5659e3=_0x5659();return _0x3554=function(_0x355410,_0x47905d){_0x355410=_0x355410-0x17d;let _0x3bb736=_0x5659e3[_0x355410];return _0x3bb736;},_0x3554(_0x1df0cb,_0x2946f1);}import{createDropdown as _0x1736d3}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x53195d}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x1340bd}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x184a0c}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x303b94){const {editor:_0x209c28,content:_0x29d3a0,buttonDefinition:_0x51106e,bodyCollection:_0x13b471,hasSearch:_0x2cc36f=!0x1}=_0x303b94;return()=>{const _0x2da46b=_0x3554,_0x1df937=_0x209c28[_0x2da46b(0x187)],_0x52e3c1=_0x1736d3(_0x1df937);_0x52e3c1[_0x2da46b(0x19b)][_0x2da46b(0x18f)]({'icon':_0x51106e[_0x2da46b(0x192)]??_0x53195d,'label':_0x51106e[_0x2da46b(0x183)],'tooltip':!0x0}),_0x52e3c1[_0x2da46b(0x18f)]({'class':_0x2da46b(0x191)});const _0x1d8a62=new _0x1340bd(_0x209c28,_0x29d3a0,_0x52e3c1,_0x13b471,_0x2cc36f);if(_0x52e3c1[_0x2da46b(0x18c)][_0x2da46b(0x17d)][_0x2da46b(0x17e)](_0x1d8a62),_0x2cc36f){const _0x165cb4=_0x2da46b(0x194);_0x52e3c1['on'](_0x2da46b(0x17f),(_0xff140b,_0x4adb6f,_0x42cd04)=>{const _0x56c0ec=_0x2da46b;if(_0x42cd04){if(_0x209c28[_0x56c0ec(0x193)][_0x56c0ec(0x181)](_0x56c0ec(0x185))){const _0x641c84=_0x209c28[_0x56c0ec(0x193)][_0x56c0ec(0x18e)](_0x184a0c),_0x32db54=_0x209c28[_0x56c0ec(0x19c)][_0x56c0ec(0x188)][_0x56c0ec(0x180)],_0x594253=Array[_0x56c0ec(0x19a)](_0x32db54[_0x56c0ec(0x199)]());_0x594253[_0x56c0ec(0x18a)]>0x0&&_0x641c84[_0x56c0ec(0x19d)](_0x594253,_0x165cb4,!0x1,!0x0);}}else _0x209c28[_0x56c0ec(0x193)][_0x56c0ec(0x181)](_0x56c0ec(0x185))&&_0x209c28[_0x56c0ec(0x193)][_0x56c0ec(0x18e)](_0x184a0c)[_0x56c0ec(0x198)](_0x165cb4),_0x1d8a62[_0x56c0ec(0x18d)]();});}return _0x52e3c1;};}
23
+ (function(_0x35940e,_0x418072){const _0x394056=_0x177b,_0x20ff07=_0x35940e();while(!![]){try{const _0x1ec9ac=-parseInt(_0x394056(0xf5))/0x1+-parseInt(_0x394056(0xe0))/0x2*(parseInt(_0x394056(0xf0))/0x3)+-parseInt(_0x394056(0xec))/0x4*(-parseInt(_0x394056(0xd8))/0x5)+parseInt(_0x394056(0xe2))/0x6+-parseInt(_0x394056(0xf6))/0x7*(-parseInt(_0x394056(0xe3))/0x8)+-parseInt(_0x394056(0xe9))/0x9+parseInt(_0x394056(0xf9))/0xa;if(_0x1ec9ac===_0x418072)break;else _0x20ff07['push'](_0x20ff07['shift']());}catch(_0x4210e1){_0x20ff07['push'](_0x20ff07['shift']());}}}(_0x36e7,0x6f19b));import{createDropdown as _0xa75936}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xc9980a}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x227ba9}from'./aiquickactionsdropdowncontentview.js';function _0x177b(_0x5bbf04,_0x45e28f){const _0x36e728=_0x36e7();return _0x177b=function(_0x177be3,_0x18f0b7){_0x177be3=_0x177be3-0xd8;let _0x12e86e=_0x36e728[_0x177be3];return _0x12e86e;},_0x177b(_0x5bbf04,_0x45e28f);}import{AIEditing as _0x5e6ea7}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x43938f){const {editor:_0x1aefe9,content:_0x2235ac,buttonDefinition:_0x23c13e,bodyCollection:_0x2547ca,hasSearch:_0x4d45df=!0x1}=_0x43938f;return()=>{const _0x13db09=_0x177b,_0x50c2b8=_0x1aefe9[_0x13db09(0xda)],_0x5163c3=_0xa75936(_0x50c2b8);_0x5163c3[_0x13db09(0xea)][_0x13db09(0xdd)]({'icon':_0x23c13e[_0x13db09(0xe8)]??_0xc9980a,'label':_0x23c13e[_0x13db09(0xe7)],'tooltip':!0x0}),_0x5163c3[_0x13db09(0xdd)]({'class':_0x13db09(0xe5)});const _0x5d318f=new _0x227ba9(_0x1aefe9,_0x2235ac,_0x5163c3,_0x2547ca,_0x4d45df);if(_0x5163c3[_0x13db09(0xeb)][_0x13db09(0xf2)][_0x13db09(0xf1)](_0x5d318f),_0x4d45df){const _0x42721f=_0x13db09(0xe4);_0x5163c3['on'](_0x13db09(0xed),(_0x3d571d,_0x390303,_0x1ddc43)=>{const _0x5c7e17=_0x13db09;if(_0x1ddc43){if(_0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xef)](_0x5c7e17(0xee))){const _0x4a6846=_0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xf8)](_0x5e6ea7),_0x209ba8=_0x1aefe9[_0x5c7e17(0xf3)][_0x5c7e17(0xd9)][_0x5c7e17(0xe1)],_0x574aea=Array[_0x5c7e17(0xdb)](_0x209ba8[_0x5c7e17(0xde)]());_0x574aea[_0x5c7e17(0xdc)]>0x0&&_0x4a6846[_0x5c7e17(0xe6)](_0x574aea,_0x42721f,!0x1,!0x0);}}else _0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xef)](_0x5c7e17(0xee))&&_0x1aefe9[_0x5c7e17(0xf7)][_0x5c7e17(0xf8)](_0x5e6ea7)[_0x5c7e17(0xf4)](_0x42721f),_0x5d318f[_0x5c7e17(0xdf)]();});}return _0x5163c3;};}function _0x36e7(){const _0x4080f4=['buttonView','panelView','75484YiiDtc','change:isOpen','AIEditing','has','12UIwtjw','add','children','model','hideFakeVisualSelection','766152aNAgLO','7lmIMUW','plugins','get','14674140eAlpCs','235NyWvtU','document','locale','from','length','set','getRanges','resetSearch','371334PRJpNK','selection','1355250eELJTJ','1909256xzIEXz','ai-quick-actions-dropdown-selection','ck-ai-quick-actions-dropdown','showFakeVisualSelection','label','icon','7694964JylfCB'];_0x36e7=function(){return _0x4080f4;};return _0x36e7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfce800=_0xe392;function _0xe392(_0x2c827b,_0x31041a){const _0x3503b4=_0x3503();return _0xe392=function(_0xe39218,_0xb70619){_0xe39218=_0xe39218-0xe7;let _0x578bad=_0x3503b4[_0xe39218];return _0x578bad;},_0xe392(_0x2c827b,_0x31041a);}(function(_0x191088,_0x69fdd){const _0x5662a5=_0xe392,_0x5252e4=_0x191088();while(!![]){try{const _0x1dae45=parseInt(_0x5662a5(0xe8))/0x1+parseInt(_0x5662a5(0x103))/0x2+-parseInt(_0x5662a5(0xf9))/0x3+parseInt(_0x5662a5(0xee))/0x4+-parseInt(_0x5662a5(0xf2))/0x5+parseInt(_0x5662a5(0xed))/0x6*(parseInt(_0x5662a5(0xf5))/0x7)+parseInt(_0x5662a5(0xf7))/0x8*(-parseInt(_0x5662a5(0x104))/0x9);if(_0x1dae45===_0x69fdd)break;else _0x5252e4['push'](_0x5252e4['shift']());}catch(_0x3e6dac){_0x5252e4['push'](_0x5252e4['shift']());}}}(_0x3503,0xb51b6));import{ListView as _0x3172a6}from'ckeditor5/src/ui.js';function _0x3503(){const _0x17ef1f=['function','3466755PYrbVQ','highlightText','trim','532OOOKou','length','17009336TZYfdh','clear','207339zjZhAM','toLowerCase','_clearHighlight','_highlightQuery','map','highlightViews','label','forEach','_allSearchableItems','groupLabel','2770562KssQQw','9hmceTS','includes','280249kqRqaN','item','addMany','filter','source','70074rZKiRh','4309244ECpvcc','items','_allListItems'];_0x3503=function(){return _0x17ef1f;};return _0x3503();}import{escapeRegExp as _0x1f4cf9}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x3172a6{[_0xfce800(0xf0)];[_0xfce800(0x101)];constructor(_0x25a76a,_0x79fe06,_0x33b82e){const _0x311366=_0xfce800;super(_0x25a76a),this[_0x311366(0xf0)]=_0x79fe06,this[_0x311366(0x101)]=_0x33b82e;}[_0xfce800(0xeb)](_0x35654d){const _0x72cf63=_0xfce800;if(!_0x35654d)return this[_0x72cf63(0xef)][_0x72cf63(0xf8)](),this[_0x72cf63(0xef)][_0x72cf63(0xea)](this[_0x72cf63(0xf0)]),this[_0x72cf63(0xfb)](),{'resultsCount':this[_0x72cf63(0xf0)][_0x72cf63(0xf6)],'totalItemsCount':this[_0x72cf63(0xf0)][_0x72cf63(0xf6)]};const _0x1bb96e=_0x35654d[_0x72cf63(0xec)][_0x72cf63(0xfa)]()[_0x72cf63(0xf4)](),_0x5b29a5=this[_0x72cf63(0x101)][_0x72cf63(0xeb)](_0x50ea84=>(_0x50ea84[_0x72cf63(0x102)]?_0x50ea84[_0x72cf63(0xff)]+'\x20('+_0x50ea84[_0x72cf63(0x102)]+')':_0x50ea84[_0x72cf63(0xff)])[_0x72cf63(0xfa)]()[_0x72cf63(0xe7)](_0x1bb96e));return this[_0x72cf63(0xef)][_0x72cf63(0xf8)](),this[_0x72cf63(0xef)][_0x72cf63(0xea)](_0x5b29a5[_0x72cf63(0xfd)](_0x2f0316=>_0x2f0316[_0x72cf63(0xe9)])),this[_0x72cf63(0xfc)](_0x1bb96e,_0x5b29a5),{'resultsCount':_0x5b29a5[_0x72cf63(0xf6)],'totalItemsCount':this[_0x72cf63(0x101)][_0x72cf63(0xf6)]};}[_0xfce800(0xfc)](_0x37d61a,_0x5752ad){const _0x13ddcc=_0xfce800;if(!_0x37d61a)return;const _0xc96bf8=new RegExp(_0x1f4cf9(_0x37d61a),'gi');_0x5752ad[_0x13ddcc(0x100)](_0x2d39f=>{const _0x1230af=_0x13ddcc;_0x2d39f[_0x1230af(0xfe)]&&_0x2d39f[_0x1230af(0xfe)][_0x1230af(0x100)](_0xcfc11d=>{const _0x40b2b7=_0x1230af;_0x40b2b7(0xf1)==typeof _0xcfc11d[_0x40b2b7(0xf3)]&&_0xcfc11d[_0x40b2b7(0xf3)](_0xc96bf8);});});}[_0xfce800(0xfb)](){const _0x3117f9=_0xfce800;this[_0x3117f9(0x101)][_0x3117f9(0x100)](_0x7b1408=>{const _0x4bc978=_0x3117f9;_0x7b1408[_0x4bc978(0xfe)]&&_0x7b1408[_0x4bc978(0xfe)][_0x4bc978(0x100)](_0x37134f=>{const _0x56a146=_0x4bc978;_0x56a146(0xf1)==typeof _0x37134f[_0x56a146(0xf3)]&&_0x37134f[_0x56a146(0xf3)](null);});});}}
23
+ const _0x1fcea0=_0x3c84;(function(_0x51c7d3,_0x5972af){const _0x489519=_0x3c84,_0x378034=_0x51c7d3();while(!![]){try{const _0xbe871b=-parseInt(_0x489519(0x1bd))/0x1*(parseInt(_0x489519(0x1b9))/0x2)+-parseInt(_0x489519(0x1b7))/0x3+parseInt(_0x489519(0x1c8))/0x4+parseInt(_0x489519(0x1cb))/0x5+parseInt(_0x489519(0x1c9))/0x6+parseInt(_0x489519(0x1b5))/0x7+-parseInt(_0x489519(0x1d1))/0x8;if(_0xbe871b===_0x5972af)break;else _0x378034['push'](_0x378034['shift']());}catch(_0x565d76){_0x378034['push'](_0x378034['shift']());}}}(_0x1dcd,0x1fdbb));function _0x3c84(_0x45d325,_0x1711e5){const _0x1dcdf9=_0x1dcd();return _0x3c84=function(_0x3c8496,_0x4b5dd4){_0x3c8496=_0x3c8496-0x1b5;let _0x18741c=_0x1dcdf9[_0x3c8496];return _0x18741c;},_0x3c84(_0x45d325,_0x1711e5);}import{ListView as _0x5d3086}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x5709e9}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x5d3086{[_0x1fcea0(0x1ca)];[_0x1fcea0(0x1c6)];constructor(_0x2ade2e,_0x364644,_0x1219df){const _0x54dfa5=_0x1fcea0;super(_0x2ade2e),this[_0x54dfa5(0x1ca)]=_0x364644,this[_0x54dfa5(0x1c6)]=_0x1219df;}[_0x1fcea0(0x1c2)](_0x137511){const _0xda95ba=_0x1fcea0;if(!_0x137511)return this[_0xda95ba(0x1bc)][_0xda95ba(0x1be)](),this[_0xda95ba(0x1bc)][_0xda95ba(0x1c0)](this[_0xda95ba(0x1ca)]),this[_0xda95ba(0x1c1)](),{'resultsCount':this[_0xda95ba(0x1ca)][_0xda95ba(0x1bf)],'totalItemsCount':this[_0xda95ba(0x1ca)][_0xda95ba(0x1bf)]};const _0x4ad4fb=_0x137511[_0xda95ba(0x1ce)][_0xda95ba(0x1c3)]()[_0xda95ba(0x1d0)](),_0x193738=this[_0xda95ba(0x1c6)][_0xda95ba(0x1c2)](_0x484462=>(_0x484462[_0xda95ba(0x1c7)]?_0x484462[_0xda95ba(0x1cc)]+'\x20('+_0x484462[_0xda95ba(0x1c7)]+')':_0x484462[_0xda95ba(0x1cc)])[_0xda95ba(0x1c3)]()[_0xda95ba(0x1ba)](_0x4ad4fb));return this[_0xda95ba(0x1bc)][_0xda95ba(0x1be)](),this[_0xda95ba(0x1bc)][_0xda95ba(0x1c0)](_0x193738[_0xda95ba(0x1cd)]((_0x1f85d8,_0x11d038)=>{const _0x3ae057=_0xda95ba,_0x1ac5d3=_0x1f85d8[_0x3ae057(0x1c7)],_0x4b8d39=_0x11d038[_0x3ae057(0x1c7)];return _0x1ac5d3||_0x4b8d39?_0x1ac5d3?0x1:-0x1:0x0;})[_0xda95ba(0x1bb)](_0x45ea7f=>_0x45ea7f[_0xda95ba(0x1cf)])),this[_0xda95ba(0x1b8)](_0x4ad4fb,_0x193738),{'resultsCount':_0x193738[_0xda95ba(0x1bf)],'totalItemsCount':this[_0xda95ba(0x1c6)][_0xda95ba(0x1bf)]};}[_0x1fcea0(0x1b8)](_0x5b7a6a,_0x492873){const _0x1fc1b6=_0x1fcea0;if(!_0x5b7a6a)return;const _0x544796=new RegExp(_0x5709e9(_0x5b7a6a),'gi');_0x492873[_0x1fc1b6(0x1b6)](_0x374b56=>{const _0x1e479b=_0x1fc1b6;_0x374b56[_0x1e479b(0x1d2)]&&_0x374b56[_0x1e479b(0x1d2)][_0x1e479b(0x1b6)](_0x19168=>{const _0x5a8ee7=_0x1e479b;_0x5a8ee7(0x1c4)==typeof _0x19168[_0x5a8ee7(0x1c5)]&&_0x19168[_0x5a8ee7(0x1c5)](_0x544796);});});}[_0x1fcea0(0x1c1)](){const _0x2c410a=_0x1fcea0;this[_0x2c410a(0x1c6)][_0x2c410a(0x1b6)](_0x32ea07=>{const _0x582d48=_0x2c410a;_0x32ea07[_0x582d48(0x1d2)]&&_0x32ea07[_0x582d48(0x1d2)][_0x582d48(0x1b6)](_0x515f3d=>{const _0x5be73f=_0x582d48;_0x5be73f(0x1c4)==typeof _0x515f3d[_0x5be73f(0x1c5)]&&_0x515f3d[_0x5be73f(0x1c5)](null);});});}}function _0x1dcd(){const _0x2a53c3=['length','addMany','_clearHighlight','filter','toLowerCase','function','highlightText','_allSearchableItems','groupLabel','302432VBpZUX','1331772LqtAUy','_allListItems','1064830EmryRA','label','sort','source','item','trim','2335264FThhNT','highlightViews','1687448CqZKvP','forEach','774399ynWZlL','_highlightQuery','8iLMTnC','includes','map','items','17767dPdSTp','clear'];_0x1dcd=function(){return _0x2a53c3;};return _0x1dcd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18b189=_0x3c10;function _0x3c10(_0x2e038f,_0x53178d){const _0x521d04=_0x521d();return _0x3c10=function(_0x3c108c,_0x421c6e){_0x3c108c=_0x3c108c-0x98;let _0x2e2c11=_0x521d04[_0x3c108c];return _0x2e2c11;},_0x3c10(_0x2e038f,_0x53178d);}(function(_0x510a6d,_0x2548c9){const _0x733dea=_0x3c10,_0xe1abc6=_0x510a6d();while(!![]){try{const _0x53cabe=parseInt(_0x733dea(0xad))/0x1+-parseInt(_0x733dea(0xab))/0x2+-parseInt(_0x733dea(0xa1))/0x3*(parseInt(_0x733dea(0xa6))/0x4)+parseInt(_0x733dea(0xaf))/0x5+parseInt(_0x733dea(0xa4))/0x6*(-parseInt(_0x733dea(0x98))/0x7)+parseInt(_0x733dea(0xa0))/0x8+-parseInt(_0x733dea(0x9e))/0x9*(-parseInt(_0x733dea(0xae))/0xa);if(_0x53cabe===_0x2548c9)break;else _0xe1abc6['push'](_0xe1abc6['shift']());}catch(_0x48403e){_0xe1abc6['push'](_0xe1abc6['shift']());}}}(_0x521d,0xcc267));import{IconView as _0x41e455,ListItemButtonView as _0x2cc0b7}from'ckeditor5/src/ui.js';function _0x521d(){const _0x4ae501=['menuitem','content','644082xgNSmw','extendTemplate','639916Thvlbh','ck-dropdown-menu-list__nested-menu__button__arrow','arrowView','ck-dropdown-menu-list__nested-menu__button','children','1108782HDojcf','add','684569Vwchhx','5690AYRmMI','7675300AupTKp','91bVAHGe','mouseenter','_createArrowView','bindTemplate','set','isOn','1953DXOERB','render','4823824iSMGbi','3hCsXix'];_0x521d=function(){return _0x4ae501;};return _0x521d();}import{IconDropdownArrow as _0x33d9e0}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x2cc0b7{[_0x18b189(0xa8)];constructor(_0x1e4e74,_0x484be3){const _0x37736e=_0x18b189;super(_0x1e4e74,_0x484be3);const _0x4d210c=this[_0x37736e(0x9b)];this[_0x37736e(0x9c)]({'withText':!0x0,'role':_0x37736e(0xa2)}),this[_0x37736e(0xa8)]=this[_0x37736e(0x9a)](),this[_0x37736e(0xa5)]({'attributes':{'class':[_0x37736e(0xa9)],'aria-haspopup':!0x0,'aria-expanded':this[_0x37736e(0x9b)]['to'](_0x37736e(0x9d),_0x3821be=>String(_0x3821be)),'data-cke-tooltip-disabled':_0x4d210c['to'](_0x37736e(0x9d))},'on':{'mouseenter':_0x4d210c['to'](_0x37736e(0x99))}});}[_0x18b189(0x9f)](){const _0x352026=_0x18b189;super[_0x352026(0x9f)](),this[_0x352026(0xaa)][_0x352026(0xac)](this[_0x352026(0xa8)]);}[_0x18b189(0x9a)](){const _0x3abd90=_0x18b189,_0x1dea96=new _0x41e455();return _0x1dea96[_0x3abd90(0xa3)]=_0x33d9e0,_0x1dea96[_0x3abd90(0xa5)]({'attributes':{'class':_0x3abd90(0xa7)}}),_0x1dea96;}}
23
+ const _0x383586=_0x4c72;(function(_0x59257a,_0x262666){const _0x354bcf=_0x4c72,_0x5515ab=_0x59257a();while(!![]){try{const _0xeb560a=parseInt(_0x354bcf(0x1c0))/0x1*(parseInt(_0x354bcf(0x1cf))/0x2)+parseInt(_0x354bcf(0x1bf))/0x3*(parseInt(_0x354bcf(0x1d2))/0x4)+-parseInt(_0x354bcf(0x1cb))/0x5*(-parseInt(_0x354bcf(0x1c8))/0x6)+parseInt(_0x354bcf(0x1d1))/0x7+-parseInt(_0x354bcf(0x1c5))/0x8+parseInt(_0x354bcf(0x1c3))/0x9+-parseInt(_0x354bcf(0x1c6))/0xa;if(_0xeb560a===_0x262666)break;else _0x5515ab['push'](_0x5515ab['shift']());}catch(_0x20bfbb){_0x5515ab['push'](_0x5515ab['shift']());}}}(_0x1df0,0xb5b94));import{IconView as _0x294671,ListItemButtonView as _0x54ab41}from'ckeditor5/src/ui.js';function _0x4c72(_0x51bad6,_0x477ae2){const _0x1df051=_0x1df0();return _0x4c72=function(_0x4c7204,_0x1280b7){_0x4c7204=_0x4c7204-0x1bc;let _0x367c98=_0x1df051[_0x4c7204];return _0x367c98;},_0x4c72(_0x51bad6,_0x477ae2);}function _0x1df0(){const _0x4d7948=['9664hQKWxM','bindTemplate','314111xbcLdZ','510388TAabNp','add','isOn','arrowView','content','33OGytwU','29snZfvl','ck-dropdown-menu-list__nested-menu__button','_createArrowView','5747319PSSppc','set','10631264QSgXTu','1923890YNSAWo','children','954YfzzjG','mouseenter','extendTemplate','1210PnftMk','render','menuitem','ck-dropdown-menu-list__nested-menu__button__arrow'];_0x1df0=function(){return _0x4d7948;};return _0x1df0();}import{IconDropdownArrow as _0x15609d}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x54ab41{[_0x383586(0x1bd)];constructor(_0x2b892a,_0x11fb3e){const _0x1110ff=_0x383586;super(_0x2b892a,_0x11fb3e);const _0x58d05a=this[_0x1110ff(0x1d0)];this[_0x1110ff(0x1c4)]({'withText':!0x0,'role':_0x1110ff(0x1cd)}),this[_0x1110ff(0x1bd)]=this[_0x1110ff(0x1c2)](),this[_0x1110ff(0x1ca)]({'attributes':{'class':[_0x1110ff(0x1c1)],'aria-haspopup':!0x0,'aria-expanded':this[_0x1110ff(0x1d0)]['to'](_0x1110ff(0x1bc),_0x17eb35=>String(_0x17eb35)),'data-cke-tooltip-disabled':_0x58d05a['to'](_0x1110ff(0x1bc))},'on':{'mouseenter':_0x58d05a['to'](_0x1110ff(0x1c9))}});}[_0x383586(0x1cc)](){const _0x513745=_0x383586;super[_0x513745(0x1cc)](),this[_0x513745(0x1c7)][_0x513745(0x1d3)](this[_0x513745(0x1bd)]);}[_0x383586(0x1c2)](){const _0x1f5836=_0x383586,_0x31a5dc=new _0x294671();return _0x31a5dc[_0x1f5836(0x1be)]=_0x15609d,_0x31a5dc[_0x1f5836(0x1ca)]({'attributes':{'class':_0x1f5836(0x1ce)}}),_0x31a5dc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5560(_0x5a0214,_0x480b6d){const _0x568c8c=_0x568c();return _0x5560=function(_0x556024,_0x548f16){_0x556024=_0x556024-0xc4;let _0x224ed8=_0x568c8c[_0x556024];return _0x224ed8;},_0x5560(_0x5a0214,_0x480b6d);}const _0x4b0f41=_0x5560;function _0x568c(){const _0xdd776a=['Adjust\x20tone\x20and\x20style','Confident','korean','792336xZEoNP','make-tone','16553112mmlRFO','Portuguese','shorter','French','1762XYRiAy','casual','2651084vmvIXf','readability','professional','Readability','6377iolNbO','Clarity','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','20TYJAzc','dropdown','japanese','2010TwNSHo','Translate\x20the\x20text\x20into\x20another\x20language.','longer','Japanese','russian','Shorter','Friendly','custom','Chinese\x20(Simplified)','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Russian','Correctness','correctness','German','Adjust\x20length','Spanish','Custom\x20command','chinese','french','italian','portuguese','English','3638916RejjKb','make','Direct','friendly','german','spanish','Casual','Select\x20language','Italian','Professional','9758736iursGZ','translate','confident','11YEivCJ','5ekjBON','language','clarity','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Korean','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','direct','Translate','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','english','Longer','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','696IgUXwd'];_0x568c=function(){return _0xdd776a;};return _0x568c();}(function(_0xc5fe2,_0x15afa8){const _0x55c958=_0x5560,_0x3c2938=_0xc5fe2();while(!![]){try{const _0x3f0a38=parseInt(_0x55c958(0xe3))/0x1+-parseInt(_0x55c958(0xe9))/0x2*(-parseInt(_0x55c958(0xdf))/0x3)+-parseInt(_0x55c958(0xeb))/0x4*(parseInt(_0x55c958(0xd3))/0x5)+-parseInt(_0x55c958(0xf5))/0x6*(parseInt(_0x55c958(0xef))/0x7)+parseInt(_0x55c958(0xcf))/0x8+-parseInt(_0x55c958(0xc5))/0x9*(-parseInt(_0x55c958(0xf2))/0xa)+parseInt(_0x55c958(0xd2))/0xb*(-parseInt(_0x55c958(0xe5))/0xc);if(_0x3f0a38===_0x15afa8)break;else _0x3c2938['push'](_0x3c2938['shift']());}catch(_0x525f64){_0x3c2938['push'](_0x3c2938['shift']());}}}(_0x568c,0xa57cc));export const AI_REVIEW_CHECKS=[{'id':_0x4b0f41(0xfc),'title':_0x4b0f41(0x105),'description':_0x4b0f41(0xd6),'isParameterized':!0x0},{'id':_0x4b0f41(0x101),'title':_0x4b0f41(0x100),'description':_0x4b0f41(0xfe),'isParameterized':!0x1},{'id':_0x4b0f41(0xd5),'title':_0x4b0f41(0xf0),'description':_0x4b0f41(0xde),'isParameterized':!0x1},{'id':_0x4b0f41(0xec),'title':_0x4b0f41(0xee),'description':_0x4b0f41(0xd8),'isParameterized':!0x1},{'id':_0x4b0f41(0xc6),'title':_0x4b0f41(0x103),'description':_0x4b0f41(0xdb),'isParameterized':!0x0,'options':[{'formType':_0x4b0f41(0xf3),'label':_0x4b0f41(0x103),'default':_0x4b0f41(0xf7),'data':[{'label':_0x4b0f41(0xdd),'id':_0x4b0f41(0xf7)},{'label':_0x4b0f41(0xfa),'id':_0x4b0f41(0xe7)}]}]},{'id':_0x4b0f41(0xe4),'title':_0x4b0f41(0xe0),'description':_0x4b0f41(0xf1),'isParameterized':!0x0,'options':[{'formType':_0x4b0f41(0xf3),'label':_0x4b0f41(0xe0),'default':_0x4b0f41(0xea),'data':[{'label':_0x4b0f41(0xcb),'id':_0x4b0f41(0xea)},{'label':_0x4b0f41(0xc7),'id':_0x4b0f41(0xd9)},{'label':_0x4b0f41(0xfb),'id':_0x4b0f41(0xc8)},{'label':_0x4b0f41(0xe1),'id':_0x4b0f41(0xd1)},{'label':_0x4b0f41(0xce),'id':_0x4b0f41(0xed)}]}]},{'id':_0x4b0f41(0xd0),'title':_0x4b0f41(0xda),'description':_0x4b0f41(0xf6),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x4b0f41(0xf3),'label':_0x4b0f41(0xcc),'argsKey':_0x4b0f41(0xd4),'data':[{'label':_0x4b0f41(0xc4),'id':_0x4b0f41(0xdc)},{'label':_0x4b0f41(0x104),'id':_0x4b0f41(0xca)},{'label':_0x4b0f41(0xe8),'id':_0x4b0f41(0x107)},{'label':_0x4b0f41(0x102),'id':_0x4b0f41(0xc9)},{'label':_0x4b0f41(0xfd),'id':_0x4b0f41(0x106)},{'label':_0x4b0f41(0xf8),'id':_0x4b0f41(0xf4)},{'label':_0x4b0f41(0xff),'id':_0x4b0f41(0xf9)},{'label':_0x4b0f41(0xe6),'id':_0x4b0f41(0x109)},{'label':_0x4b0f41(0xd7),'id':_0x4b0f41(0xe2)},{'label':_0x4b0f41(0xcd),'id':_0x4b0f41(0x108)}]}]}];
23
+ const _0x173040=_0x5cac;function _0x28b9(){const _0x4a1499=['Shorter','Correctness','32qZyMIt','Readability','Chinese\x20(Simplified)','German','34445AHolDj','english','English','friendly','shorter','casual','Translate','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Russian','Direct','dropdown','italian','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','direct','Professional','correctness','Adjust\x20length','Japanese','632LcmHHo','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','french','2EiBbbL','Spanish','13624100KBcVPQ','Korean','japanese','russian','12250629fmmYNb','Clarity','919526OSBDdE','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','clarity','custom','portuguese','korean','French','Confident','spanish','longer','confident','readability','german','Friendly','language','309393wPxqOl','translate','chinese','Translate\x20the\x20text\x20into\x20another\x20language.','Casual','Adjust\x20tone\x20and\x20style','Portuguese','3506358BElxis','Custom\x20command','professional','Longer','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','make-tone','1141824VDpPxi','Select\x20language','Italian','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','make'];_0x28b9=function(){return _0x4a1499;};return _0x28b9();}(function(_0x1d0428,_0x500417){const _0x59bcec=_0x5cac,_0x548005=_0x1d0428();while(!![]){try{const _0x281ca1=-parseInt(_0x59bcec(0x193))/0x1*(-parseInt(_0x59bcec(0x18b))/0x2)+-parseInt(_0x59bcec(0x1a9))/0x3+parseInt(_0x59bcec(0x188))/0x4*(parseInt(_0x59bcec(0x1ba))/0x5)+-parseInt(_0x59bcec(0x1af))/0x6+parseInt(_0x59bcec(0x1a2))/0x7*(parseInt(_0x59bcec(0x1b6))/0x8)+-parseInt(_0x59bcec(0x191))/0x9+parseInt(_0x59bcec(0x18d))/0xa;if(_0x281ca1===_0x500417)break;else _0x548005['push'](_0x548005['shift']());}catch(_0x14a5d9){_0x548005['push'](_0x548005['shift']());}}}(_0x28b9,0xc9e2b));function _0x5cac(_0x27c880,_0xd8ee2d){const _0x28b979=_0x28b9();return _0x5cac=function(_0x5cac66,_0x630b98){_0x5cac66=_0x5cac66-0x181;let _0xff1600=_0x28b979[_0x5cac66];return _0xff1600;},_0x5cac(_0x27c880,_0xd8ee2d);}export const AI_REVIEW_CHECKS=[{'id':_0x173040(0x196),'title':_0x173040(0x1aa),'description':_0x173040(0x1c1),'isParameterized':!0x0},{'id':_0x173040(0x185),'title':_0x173040(0x1b5),'description':_0x173040(0x182),'isParameterized':!0x1},{'id':_0x173040(0x195),'title':_0x173040(0x192),'description':_0x173040(0x1ad),'isParameterized':!0x1},{'id':_0x173040(0x19e),'title':_0x173040(0x1b7),'description':_0x173040(0x189),'isParameterized':!0x1},{'id':_0x173040(0x1b3),'title':_0x173040(0x186),'description':_0x173040(0x194),'isParameterized':!0x0,'options':[{'formType':_0x173040(0x1c4),'label':_0x173040(0x186),'default':_0x173040(0x19c),'data':[{'label':_0x173040(0x1ac),'id':_0x173040(0x19c)},{'label':_0x173040(0x1b4),'id':_0x173040(0x1be)}]}]},{'id':_0x173040(0x1ae),'title':_0x173040(0x1a7),'description':_0x173040(0x1b2),'isParameterized':!0x0,'options':[{'formType':_0x173040(0x1c4),'label':_0x173040(0x1a7),'default':_0x173040(0x1bf),'data':[{'label':_0x173040(0x1a6),'id':_0x173040(0x1bf)},{'label':_0x173040(0x1c3),'id':_0x173040(0x183)},{'label':_0x173040(0x1a0),'id':_0x173040(0x1bd)},{'label':_0x173040(0x19a),'id':_0x173040(0x19d)},{'label':_0x173040(0x184),'id':_0x173040(0x1ab)}]}]},{'id':_0x173040(0x1a3),'title':_0x173040(0x1c0),'description':_0x173040(0x1a5),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x173040(0x1c4),'label':_0x173040(0x1b0),'argsKey':_0x173040(0x1a1),'data':[{'label':_0x173040(0x1bc),'id':_0x173040(0x1bb)},{'label':_0x173040(0x18c),'id':_0x173040(0x19b)},{'label':_0x173040(0x199),'id':_0x173040(0x18a)},{'label':_0x173040(0x1b9),'id':_0x173040(0x19f)},{'label':_0x173040(0x1b8),'id':_0x173040(0x1a4)},{'label':_0x173040(0x187),'id':_0x173040(0x18f)},{'label':_0x173040(0x1c2),'id':_0x173040(0x190)},{'label':_0x173040(0x1a8),'id':_0x173040(0x197)},{'label':_0x173040(0x18e),'id':_0x173040(0x198)},{'label':_0x173040(0x1b1),'id':_0x173040(0x181)}]}]}];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1890(_0x5724be,_0x590c54){var _0x30bd2b=_0x30bd();return _0x1890=function(_0x189087,_0x2003eb){_0x189087=_0x189087-0x191;var _0x2e75c3=_0x30bd2b[_0x189087];return _0x2e75c3;},_0x1890(_0x5724be,_0x590c54);}var _0x220b74=_0x1890;(function(_0x4aef60,_0x30fd05){var _0x5b1742=_0x1890,_0x1bb2a4=_0x4aef60();while(!![]){try{var _0x6bc9f7=parseInt(_0x5b1742(0x19a))/0x1*(parseInt(_0x5b1742(0x194))/0x2)+parseInt(_0x5b1742(0x19e))/0x3+-parseInt(_0x5b1742(0x19b))/0x4*(parseInt(_0x5b1742(0x197))/0x5)+parseInt(_0x5b1742(0x1a1))/0x6*(parseInt(_0x5b1742(0x193))/0x7)+parseInt(_0x5b1742(0x195))/0x8*(-parseInt(_0x5b1742(0x19d))/0x9)+-parseInt(_0x5b1742(0x191))/0xa*(-parseInt(_0x5b1742(0x192))/0xb)+-parseInt(_0x5b1742(0x19f))/0xc;if(_0x6bc9f7===_0x30fd05)break;else _0x1bb2a4['push'](_0x1bb2a4['shift']());}catch(_0x8c5688){_0x1bb2a4['push'](_0x1bb2a4['shift']());}}}(_0x30bd,0x7d202));function _0x30bd(){var _0x546ef6=['14677608cJPOOq','AIReviewMode','492780fupCJS','1188330fErvIS','88dgQlKq','35Izjcxh','1815224gjvdEE','32ODDbUh','isPremiumPlugin','5gsNBcO','requires','isOfficialPlugin','1jvPHjo','3615764uJvjBh','pluginName','250299geqYHt','1445721Yyleqa'];_0x30bd=function(){return _0x546ef6;};return _0x30bd();}import{ContextPlugin as _0x42cadd}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4dc060}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x3bfe33}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x53974b}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x42cadd{static get[_0x220b74(0x198)](){return[_0x4dc060,_0x3bfe33,_0x53974b];}static get[_0x220b74(0x19c)](){var _0x50b31c=_0x220b74;return _0x50b31c(0x1a0);}static get[_0x220b74(0x199)](){return!0x0;}static get[_0x220b74(0x196)](){return!0x0;}}
23
+ var _0x3a91bb=_0x55ba;(function(_0xf474fc,_0x2620bd){var _0x2426f6=_0x55ba,_0x12db8a=_0xf474fc();while(!![]){try{var _0x3acfa1=-parseInt(_0x2426f6(0x1e2))/0x1+-parseInt(_0x2426f6(0x1d8))/0x2*(parseInt(_0x2426f6(0x1db))/0x3)+-parseInt(_0x2426f6(0x1e3))/0x4*(-parseInt(_0x2426f6(0x1df))/0x5)+-parseInt(_0x2426f6(0x1de))/0x6+-parseInt(_0x2426f6(0x1e4))/0x7+-parseInt(_0x2426f6(0x1d9))/0x8*(-parseInt(_0x2426f6(0x1e0))/0x9)+parseInt(_0x2426f6(0x1e1))/0xa;if(_0x3acfa1===_0x2620bd)break;else _0x12db8a['push'](_0x12db8a['shift']());}catch(_0x3102ca){_0x12db8a['push'](_0x12db8a['shift']());}}}(_0x26bb,0x98450));function _0x55ba(_0x2b17f8,_0xe67e5e){var _0x26bb43=_0x26bb();return _0x55ba=function(_0x55ba74,_0x968708){_0x55ba74=_0x55ba74-0x1d8;var _0x429c09=_0x26bb43[_0x55ba74];return _0x429c09;},_0x55ba(_0x2b17f8,_0xe67e5e);}import{ContextPlugin as _0xcfc5e0}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x24b668}from'./aireviewmodecontroller.js';function _0x26bb(){var _0x3604db=['1611GthrXK','20779060FfKMpN','748386eddBiQ','40216xmEfQZ','2045120iyVAyM','AIReviewMode','pluginName','44YxjdEF','49904LNxCFC','isOfficialPlugin','139809QzwGuG','isPremiumPlugin','requires','6468468EGyWWu','285LkIYHx'];_0x26bb=function(){return _0x3604db;};return _0x26bb();}import{AIReviewModeUI as _0x447703}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x4d4fd4}from'./aireviewmodeediting.js';export class AIReviewMode extends _0xcfc5e0{static get[_0x3a91bb(0x1dd)](){return[_0x24b668,_0x447703,_0x4d4fd4];}static get[_0x3a91bb(0x1e6)](){var _0x24f84a=_0x3a91bb;return _0x24f84a(0x1e5);}static get[_0x3a91bb(0x1da)](){return!0x0;}static get[_0x3a91bb(0x1dc)](){return!0x0;}}