@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/LICENSE.md +0 -4
  2. package/build/ai.js +2 -1
  3. package/dist/index.js +5 -5
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/lang/contexts.json +1 -0
  151. package/package.json +15 -16
  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.d.ts +15 -156
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.d.ts +2 -0
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatballoon.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/ui/aichatballoonview.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  213. package/src/aichat/utils/eventnames.js +1 -1
  214. package/src/aichat/utils/promisequeue.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  225. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  226. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  227. package/src/aicore/aiconnector.js +1 -1
  228. package/src/aicore/aiediting.js +1 -1
  229. package/src/aicore/model/aicapabilities.js +1 -1
  230. package/src/aicore/model/aicontext.js +1 -1
  231. package/src/aicore/model/aiinteraction.js +1 -1
  232. package/src/aicore/model/aimodels.js +1 -1
  233. package/src/aicore/model/aireply.js +1 -1
  234. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  235. package/src/aicore/pipeline/airesponseparser.js +2 -2
  236. package/src/aicore/ui/aidisclaimerview.js +1 -1
  237. package/src/aicore/ui/aiskeleton.js +1 -1
  238. package/src/aicore/ui/aispinner.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  248. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  249. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  250. package/src/aicore/utils/common-translations.js +1 -1
  251. package/src/aicore/utils/createresizebutton.js +1 -1
  252. package/src/aicore/utils/documentposition.js +1 -1
  253. package/src/aicore/utils/documentrange.js +1 -1
  254. package/src/aicore/utils/eventnames.js +1 -1
  255. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  256. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  257. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  258. package/src/aicore/utils/htmlparser.js +1 -1
  259. package/src/aicore/utils/htmlstreamer.js +1 -1
  260. package/src/aicore/utils/scrollmanager.js +1 -1
  261. package/src/aieditorintegration/aieditorintegration.js +1 -1
  262. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  263. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  264. package/src/aiquickactions/aiquickactions.js +1 -1
  265. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  266. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  267. package/src/aiquickactions/aiquickactionsui.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  270. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  271. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  272. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  273. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  274. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  275. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  276. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  277. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  278. package/src/aireviewcore/aireviewcoreui.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  280. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  281. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  282. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  283. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  293. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  294. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  295. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  296. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  297. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  298. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  299. package/src/aireviewmode/aireviewmode.js +1 -1
  300. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  301. package/src/aireviewmode/aireviewmodeui.js +1 -1
  302. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  303. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  304. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  305. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  306. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/aitranslate/aitranslate.js +1 -1
  313. package/src/aitranslate/aitranslatecontroller.js +1 -1
  314. package/src/aitranslate/aitranslateui.js +1 -1
  315. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  316. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  317. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  318. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  319. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  320. package/src/errors.js +1 -1
  321. package/src/errorsmap.js +1 -1
  322. package/src/index.js +1 -1
  323. package/build/966.ai.js +0 -5
  324. package/build/translations/en.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e019f=_0x2ff8;(function(_0x1ef433,_0x4ff931){const _0x296e99=_0x2ff8,_0x92eac=_0x1ef433();while(!![]){try{const _0x1763f2=parseInt(_0x296e99(0x1bd))/0x1*(parseInt(_0x296e99(0x19c))/0x2)+-parseInt(_0x296e99(0x1d4))/0x3*(-parseInt(_0x296e99(0x1a4))/0x4)+-parseInt(_0x296e99(0x1d5))/0x5+-parseInt(_0x296e99(0x1c3))/0x6+parseInt(_0x296e99(0x1b4))/0x7*(-parseInt(_0x296e99(0x1c1))/0x8)+parseInt(_0x296e99(0x1d3))/0x9+-parseInt(_0x296e99(0x1c7))/0xa*(parseInt(_0x296e99(0x1bf))/0xb);if(_0x1763f2===_0x4ff931)break;else _0x92eac['push'](_0x92eac['shift']());}catch(_0x3a81a5){_0x92eac['push'](_0x92eac['shift']());}}}(_0x4c9e,0xa23c0));import _0x32fe16 from'morphdom';import{NodeWithChildren as _0x32f782,Text as _0x41f42d,Element as _0x5564c5,isText as _0x750932,isDocument as _0x5be66c,isTag as _0x27722e,cloneNode as _0x4eeea1,getChildren as _0x4a11ea,prepend as _0x3958cf,removeElement as _0x51dbde,textContent as _0x2f005c,render as _0x533db8}from'./htmlparser.js';export class HTMLStreamer{[_0x2e019f(0x19e)];[_0x2e019f(0x1c2)]=!0x1;[_0x2e019f(0x1a7)]=null;[_0x2e019f(0x1a6)]=[];[_0x2e019f(0x1cb)]=0x0;[_0x2e019f(0x1be)]=null;[_0x2e019f(0x1c4)]=0x0;constructor(_0x1dfdb6){const _0x1d0dc9=_0x2e019f;this[_0x1d0dc9(0x19e)]={'delay':_0x1dfdb6[_0x1d0dc9(0x1b2)]??0x14,'textNodeStyle':_0x1dfdb6[_0x1d0dc9(0x19a)],'onStreamUpdate':_0x1dfdb6[_0x1d0dc9(0x1b7)]||(()=>{})};}async[_0x2e019f(0x1b3)]({document:_0x2fd1f8,targetElement:_0x3e15af,abortSignal:_0x3a5822}){const _0x1438dc=_0x2e019f;this[_0x1438dc(0x1c2)]&&this[_0x1438dc(0x1bc)](),_0x3a5822?.[_0x1438dc(0x1a8)](_0x1438dc(0x1a3),this[_0x1438dc(0x1bc)][_0x1438dc(0x1ae)](this)),this[_0x1438dc(0x1a7)]=_0x4eeea1(_0x2fd1f8,!0x0),this[_0x1438dc(0x1a6)]=this[_0x1438dc(0x1a9)](),this[_0x1438dc(0x1c2)]=!0x0,this[_0x1438dc(0x1cb)]>this[_0x1438dc(0x1a6)][_0x1438dc(0x1c8)]&&(this[_0x1438dc(0x1cb)]=this[_0x1438dc(0x1a6)][_0x1438dc(0x1c8)]);for(let _0x2ed78b=0x0;_0x2ed78b<this[_0x1438dc(0x1cb)];_0x2ed78b++)this[_0x1438dc(0x1a6)][_0x2ed78b][_0x1438dc(0x1d1)]=!0x0;do{const _0x4c6f87=Date[_0x1438dc(0x1bb)](),_0x2b02ad=this[_0x1438dc(0x1a6)][this[_0x1438dc(0x1cb)]],_0x12d857=_0x4c6f87-this[_0x1438dc(0x1c4)];if(_0x2b02ad){_0x2b02ad[_0x1438dc(0x1d1)]=!0x0;let _0x2766e5=_0x2b02ad[_0x1438dc(0x1aa)];for(;_0x2766e5;)_0x2766e5[_0x1438dc(0x1d1)]=!0x0,_0x2766e5=_0x2766e5[_0x1438dc(0x1aa)];}if(_0x12d857<this[_0x1438dc(0x19e)][_0x1438dc(0x1b2)])try{const {promise:_0x1e3f80,abortController:_0x284bfa}=Os(this[_0x1438dc(0x19e)][_0x1438dc(0x1b2)]-_0x12d857);this[_0x1438dc(0x1be)]=_0x284bfa,await _0x1e3f80;}catch(_0x33a921){return;}_0x32fe16(_0x3e15af,'<'+_0x3e15af[_0x1438dc(0x19f)]+'>'+this[_0x1438dc(0x1d0)](this[_0x1438dc(0x1a7)])+'</'+_0x3e15af[_0x1438dc(0x19f)]+'>',{'childrenOnly':!0x0}),this[_0x1438dc(0x19e)][_0x1438dc(0x1b7)]&&this[_0x1438dc(0x19e)][_0x1438dc(0x1b7)](),this[_0x1438dc(0x1cb)]++,this[_0x1438dc(0x1c4)]=Date[_0x1438dc(0x1bb)]();}while(this[_0x1438dc(0x1cb)]<this[_0x1438dc(0x1a6)][_0x1438dc(0x1c8)]);this[_0x1438dc(0x1cb)]=this[_0x1438dc(0x1a6)][_0x1438dc(0x1c8)],this[_0x1438dc(0x1c2)]=!0x1;}[_0x2e019f(0x1ad)](){const _0x27669c=_0x2e019f;this[_0x27669c(0x1c2)]=!0x1,this[_0x27669c(0x1a7)]=null,this[_0x27669c(0x1a6)]=[],this[_0x27669c(0x1cb)]=0x0,this[_0x27669c(0x1be)]=null;}[_0x2e019f(0x1a2)]({targetElement:_0x155889}){const _0x1a98c5=_0x2e019f;Array[_0x1a98c5(0x1b5)](_0x155889[_0x1a98c5(0x1d7)](_0x1a98c5(0x1c5)))[_0x1a98c5(0x1ca)]()[_0x1a98c5(0x1ce)](_0x477d3e=>{const _0x17296e=_0x1a98c5;_0x477d3e[_0x17296e(0x1ba)](_0x477d3e[_0x17296e(0x1c0)][0x0]);});}[_0x2e019f(0x1bc)](){const _0x1f163f=_0x2e019f;this[_0x1f163f(0x1c2)]=!0x1,this[_0x1f163f(0x1be)]&&(this[_0x1f163f(0x1be)][_0x1f163f(0x1a3)](),this[_0x1f163f(0x1be)]=null);}[_0x2e019f(0x1d0)](_0x22567e){const _0x44970c=_0x2e019f;let _0x85fb22='';if(function(_0x287a78){return _0x5be66c(_0x287a78);}(_0x22567e)){for(const _0x189d4f of _0x22567e[_0x44970c(0x1ab)])_0x85fb22+=this[_0x44970c(0x1d0)](_0x189d4f);}else{if(Ls(_0x22567e)){if(!_0x22567e[_0x44970c(0x1d1)])return'';const _0x46ee92=_0x22567e,_0x137701=Object[_0x44970c(0x1cf)](_0x46ee92[_0x44970c(0x1a5)])[_0x44970c(0x1b1)](([_0x46bd52,_0xa3007d])=>_0x46bd52+'=\x22'+_0xa3007d+'\x22')[_0x44970c(0x1d2)]('\x20');_0x85fb22+='<'+_0x46ee92[_0x44970c(0x19f)]+(_0x137701?'\x20'+_0x137701:'')+'>';for(const _0x26f17d of _0x4a11ea(_0x46ee92))_0x85fb22+=this[_0x44970c(0x1d0)](_0x26f17d);_0x85fb22+='</'+_0x46ee92[_0x44970c(0x19f)]+'>';}else{if(!Ts(_0x22567e))return'';if(!_0x22567e[_0x44970c(0x1d1)])return'';!function(_0x831fa0){const _0x987adb=_0x44970c;if(!_0x831fa0[_0x987adb(0x1aa)]||!Ls(_0x831fa0[_0x987adb(0x1aa)]))return!0x1;if(!ys[_0x987adb(0x19b)](_0x831fa0[_0x987adb(0x1aa)][_0x987adb(0x19f)]))return!0x1;return!_0x2f005c(_0x831fa0)[_0x987adb(0x1cd)](/^\s*[<>]\s*$/);}(_0x22567e)?_0x85fb22+=_0x533db8(_0x22567e):_0x85fb22+=_0x533db8(new _0x5564c5(_0x44970c(0x1a1),{'data-ck-html-streamer-word-chunk':'','style':this[_0x44970c(0x19e)][_0x44970c(0x19a)]},[_0x22567e]));}}return _0x85fb22;}[_0x2e019f(0x1a9)](){const _0x2a6a5f=_0x2e019f,_0x375cd8=[];return function(_0x2f6bbd,_0x220012){const _0xa84360=_0x2ff8,_0x45041b=_0x1a5f92=>{const _0x1236f7=_0x2ff8;if(_0x220012(_0x1a5f92),_0x1a5f92 instanceof _0x32f782)for(let _0x339f72=0x0;_0x339f72<_0x1a5f92[_0x1236f7(0x1ab)][_0x1236f7(0x1c8)];_0x339f72++){const _0x1683c1=_0x1a5f92[_0x1236f7(0x1ab)][_0x339f72];_0x45041b(_0x1683c1);}};for(let _0x1befaf=0x0;_0x1befaf<_0x2f6bbd[_0xa84360(0x1ab)][_0xa84360(0x1c8)];_0x1befaf++)_0x45041b(_0x2f6bbd[_0xa84360(0x1ab)][_0x1befaf]);}(this[_0x2a6a5f(0x1a7)],_0x242573=>{const _0x42bcff=_0x2a6a5f;if(Ts(_0x242573)){const _0x291bff=this[_0x42bcff(0x1b0)](_0x242573);_0x291bff[_0x42bcff(0x1c8)]&&_0x375cd8[_0x42bcff(0x1d6)](..._0x291bff);}_0x242573[_0x42bcff(0x1a0)]||_0x242573[_0x42bcff(0x1d8)]||_0x375cd8[_0x42bcff(0x1d6)](_0x242573);}),_0x375cd8;}[_0x2e019f(0x1b0)](_0x3ceae3){const _0x3f67e5=_0x2e019f;if(_0x3ceae3[_0x3f67e5(0x1a0)]||_0x3ceae3[_0x3f67e5(0x1d8)])return[];const _0x3cd1b7=_0x2f005c(_0x3ceae3)[_0x3f67e5(0x1cd)](/(?:\s*\S+\s*)/g),_0x2e819e=[];if(_0x3cd1b7&&_0x3cd1b7[_0x3f67e5(0x1c8)]>0x1){for(const _0x34e958 of _0x3cd1b7){const _0x15ce38=new _0x41f42d(_0x34e958);_0x15ce38[_0x3f67e5(0x1d8)]=!0x0,_0x3958cf(_0x3ceae3,_0x15ce38),_0x2e819e[_0x3f67e5(0x1d6)](_0x15ce38);}_0x3ceae3[_0x3f67e5(0x1a0)]=!0x0,_0x51dbde(_0x3ceae3);}return _0x2e819e;}}const ys=['p','li','td','th',_0x2e019f(0x1a1),'h1','h2','h3','h4','h5','h6','b',_0x2e019f(0x1b8),'i','em',_0x2e019f(0x1b6),_0x2e019f(0x19d),_0x2e019f(0x1af),_0x2e019f(0x1cc),_0x2e019f(0x1c6),'a',_0x2e019f(0x1ac),_0x2e019f(0x1c9)];function Ts(_0x3c8b4d){return _0x750932(_0x3c8b4d);}function _0x2ff8(_0x521eb6,_0x1a8e83){const _0x4c9ed6=_0x4c9e();return _0x2ff8=function(_0x2ff8b7,_0x18e63a){_0x2ff8b7=_0x2ff8b7-0x19a;let _0x12194d=_0x4c9ed6[_0x2ff8b7];return _0x12194d;},_0x2ff8(_0x521eb6,_0x1a8e83);}function _0x4c9e(){const _0xdaed1b=['ins','splitTextNodeIntoWordNodes','map','delay','stream','21aNvVRk','from','mark','onStreamUpdate','strong','signal','replaceWith','now','stop','3rSuItu','timeoutAbortController','103609akMrpS','childNodes','2077592zASjjA','isStreaming','3155364naVpMv','lastUpdateTime','span[data-ck-html-streamer-word-chunk]','sub','70tqjOGf','length','div','reverse','currentIndex','sup','match','forEach','entries','renderNode','shouldBeStreamed','join','10824777AnrCDI','1421733PNwUHA','1739680UMMQMC','push','querySelectorAll','isWordSplitResult','textNodeStyle','includes','155198ySBtfg','del','options','tagName','isWordSplitSource','span','cleanUpAnimations','abort','8kEPUGp','attribs','nodesList','document','addEventListener','getParsedDocumentNodeList','parent','children','code','reset','bind'];_0x4c9e=function(){return _0xdaed1b;};return _0x4c9e();}function Ls(_0x1c4429){return _0x27722e(_0x1c4429);}function Os(_0x277084){const _0x19a5eb=new AbortController();return{'promise':new Promise((_0x3f1ef7,_0x1cac26)=>{const _0x389061=_0x2ff8,_0x4bfb44=setTimeout(_0x3f1ef7,_0x277084);_0x19a5eb[_0x389061(0x1b9)][_0x389061(0x1a8)](_0x389061(0x1a3),()=>{clearTimeout(_0x4bfb44),_0x1cac26();});}),'abortController':_0x19a5eb};}
23
+ const _0x4d7f4c=_0x35b0;(function(_0xec48ac,_0x57341d){const _0x3273e9=_0x35b0,_0x18eb17=_0xec48ac();while(!![]){try{const _0x3a87a9=-parseInt(_0x3273e9(0xcb))/0x1*(parseInt(_0x3273e9(0xc0))/0x2)+parseInt(_0x3273e9(0xa6))/0x3+-parseInt(_0x3273e9(0xaf))/0x4+parseInt(_0x3273e9(0xb9))/0x5*(parseInt(_0x3273e9(0xc8))/0x6)+parseInt(_0x3273e9(0xcc))/0x7+-parseInt(_0x3273e9(0xc2))/0x8+parseInt(_0x3273e9(0xb2))/0x9;if(_0x3a87a9===_0x57341d)break;else _0x18eb17['push'](_0x18eb17['shift']());}catch(_0x5b6be7){_0x18eb17['push'](_0x18eb17['shift']());}}}(_0x5bb3,0x7d3b0));import _0x585284 from'morphdom';import{NodeWithChildren as _0x30aa01,Text as _0x23212d,Element as _0x40e641,isText as _0x3943f3,isDocument as _0x1a5990,isTag as _0x2fcdf3,cloneNode as _0x31c5cb,getChildren as _0x35927e,prepend as _0x1216f7,removeElement as _0x372c22,textContent as _0x18f39,render as _0x5f59e2}from'./htmlparser.js';function _0x35b0(_0x42ea17,_0x904546){const _0x5bb3f2=_0x5bb3();return _0x35b0=function(_0x35b011,_0x595a78){_0x35b011=_0x35b011-0x96;let _0x36feb0=_0x5bb3f2[_0x35b011];return _0x36feb0;},_0x35b0(_0x42ea17,_0x904546);}export class HTMLStreamer{[_0x4d7f4c(0xa1)];[_0x4d7f4c(0xb6)]=!0x1;[_0x4d7f4c(0xce)]=null;[_0x4d7f4c(0xa7)]=[];[_0x4d7f4c(0xab)]=0x0;[_0x4d7f4c(0xa8)]=null;[_0x4d7f4c(0xba)]=0x0;constructor(_0x466f5b){const _0x312408=_0x4d7f4c;this[_0x312408(0xa1)]={'delay':_0x466f5b[_0x312408(0xa9)]??0x14,'textNodeStyle':_0x466f5b[_0x312408(0xa4)],'onStreamUpdate':_0x466f5b[_0x312408(0x96)]||(()=>{})};}async[_0x4d7f4c(0x9c)]({document:_0x48807a,targetElement:_0x5c0559,abortSignal:_0x89de31}){const _0x30abd6=_0x4d7f4c;this[_0x30abd6(0xb6)]&&this[_0x30abd6(0x9d)](),_0x89de31?.[_0x30abd6(0xb8)](_0x30abd6(0xa3),this[_0x30abd6(0x9d)][_0x30abd6(0x9b)](this)),this[_0x30abd6(0xce)]=_0x31c5cb(_0x48807a,!0x0),this[_0x30abd6(0xa7)]=this[_0x30abd6(0xcf)](),this[_0x30abd6(0xb6)]=!0x0,this[_0x30abd6(0xab)]>this[_0x30abd6(0xa7)][_0x30abd6(0xb4)]&&(this[_0x30abd6(0xab)]=this[_0x30abd6(0xa7)][_0x30abd6(0xb4)]);for(let _0x331d36=0x0;_0x331d36<this[_0x30abd6(0xab)];_0x331d36++)this[_0x30abd6(0xa7)][_0x331d36][_0x30abd6(0xbc)]=!0x0;do{const _0x36c8ed=Date[_0x30abd6(0xbb)](),_0x2378c6=this[_0x30abd6(0xa7)][this[_0x30abd6(0xab)]],_0x316c66=_0x36c8ed-this[_0x30abd6(0xba)];if(_0x2378c6){_0x2378c6[_0x30abd6(0xbc)]=!0x0;let _0x38b9a4=_0x2378c6[_0x30abd6(0xc9)];for(;_0x38b9a4;)_0x38b9a4[_0x30abd6(0xbc)]=!0x0,_0x38b9a4=_0x38b9a4[_0x30abd6(0xc9)];}if(_0x316c66<this[_0x30abd6(0xa1)][_0x30abd6(0xa9)])try{const {promise:_0x51cb12,abortController:_0x2e06d1}=Ds(this[_0x30abd6(0xa1)][_0x30abd6(0xa9)]-_0x316c66);this[_0x30abd6(0xa8)]=_0x2e06d1,await _0x51cb12;}catch(_0x233f57){return;}_0x585284(_0x5c0559,'<'+_0x5c0559[_0x30abd6(0xaa)]+'>'+this[_0x30abd6(0xc4)](this[_0x30abd6(0xce)])+'</'+_0x5c0559[_0x30abd6(0xaa)]+'>',{'childrenOnly':!0x0}),this[_0x30abd6(0xa1)][_0x30abd6(0x96)]&&this[_0x30abd6(0xa1)][_0x30abd6(0x96)](),this[_0x30abd6(0xab)]++,this[_0x30abd6(0xba)]=Date[_0x30abd6(0xbb)]();}while(this[_0x30abd6(0xab)]<this[_0x30abd6(0xa7)][_0x30abd6(0xb4)]);this[_0x30abd6(0xab)]=this[_0x30abd6(0xa7)][_0x30abd6(0xb4)],this[_0x30abd6(0xb6)]=!0x1;}[_0x4d7f4c(0xa0)](){const _0x4bd07f=_0x4d7f4c;this[_0x4bd07f(0xb6)]=!0x1,this[_0x4bd07f(0xce)]=null,this[_0x4bd07f(0xa7)]=[],this[_0x4bd07f(0xab)]=0x0,this[_0x4bd07f(0xa8)]=null;}[_0x4d7f4c(0xd2)]({targetElement:_0x4fd17a}){const _0x191d8b=_0x4d7f4c;Array[_0x191d8b(0xa2)](_0x4fd17a[_0x191d8b(0xd1)](_0x191d8b(0xb7)))[_0x191d8b(0xbd)]()[_0x191d8b(0xbf)](_0x5157e0=>{const _0x2d8a2f=_0x191d8b;_0x5157e0[_0x2d8a2f(0xb3)](_0x5157e0[_0x2d8a2f(0x9a)][0x0]);});}[_0x4d7f4c(0x9d)](){const _0x4e4b99=_0x4d7f4c;this[_0x4e4b99(0xb6)]=!0x1,this[_0x4e4b99(0xa8)]&&(this[_0x4e4b99(0xa8)][_0x4e4b99(0xa3)](),this[_0x4e4b99(0xa8)]=null);}[_0x4d7f4c(0xc4)](_0x2977ec){const _0x461e41=_0x4d7f4c;let _0x1a71fd='';if(function(_0xa586a2){return _0x1a5990(_0xa586a2);}(_0x2977ec)){for(const _0x3f41dc of _0x2977ec[_0x461e41(0x9e)])_0x1a71fd+=this[_0x461e41(0xc4)](_0x3f41dc);}else{if(Ts(_0x2977ec)){if(!_0x2977ec[_0x461e41(0xbc)])return'';const _0x54f705=_0x2977ec,_0x4eca33=Object[_0x461e41(0x98)](_0x54f705[_0x461e41(0x97)])[_0x461e41(0xa5)](([_0x4dac95,_0x17e4df])=>_0x4dac95+'=\x22'+_0x17e4df+'\x22')[_0x461e41(0xd0)]('\x20');_0x1a71fd+='<'+_0x54f705[_0x461e41(0xaa)]+(_0x4eca33?'\x20'+_0x4eca33:'')+'>';for(const _0x169e8e of _0x35927e(_0x54f705))_0x1a71fd+=this[_0x461e41(0xc4)](_0x169e8e);_0x1a71fd+='</'+_0x54f705[_0x461e41(0xaa)]+'>';}else{if(!Ns(_0x2977ec))return'';if(!_0x2977ec[_0x461e41(0xbc)])return'';!function(_0x56d1b5){const _0x4b02b4=_0x461e41;if(!_0x56d1b5[_0x4b02b4(0xc9)]||!Ts(_0x56d1b5[_0x4b02b4(0xc9)]))return!0x1;if(!ys[_0x4b02b4(0xc5)](_0x56d1b5[_0x4b02b4(0xc9)][_0x4b02b4(0xaa)]))return!0x1;return!_0x18f39(_0x56d1b5)[_0x4b02b4(0xb5)](/^\s*[<>]\s*$/);}(_0x2977ec)?_0x1a71fd+=_0x5f59e2(_0x2977ec):_0x1a71fd+=_0x5f59e2(new _0x40e641(_0x461e41(0xae),{'data-ck-html-streamer-word-chunk':'','style':this[_0x461e41(0xa1)][_0x461e41(0xa4)]},[_0x2977ec]));}}return _0x1a71fd;}[_0x4d7f4c(0xcf)](){const _0x47d285=_0x4d7f4c,_0x5ac8f3=[];return function(_0x49cf21,_0x4d0262){const _0x1f70e6=_0x35b0,_0x3b1cbf=_0x56d0b1=>{const _0x1b7f95=_0x35b0;if(_0x4d0262(_0x56d0b1),_0x56d0b1 instanceof _0x30aa01)for(let _0x5c63ca=0x0;_0x5c63ca<_0x56d0b1[_0x1b7f95(0x9e)][_0x1b7f95(0xb4)];_0x5c63ca++){const _0x210634=_0x56d0b1[_0x1b7f95(0x9e)][_0x5c63ca];_0x3b1cbf(_0x210634);}};for(let _0x213928=0x0;_0x213928<_0x49cf21[_0x1f70e6(0x9e)][_0x1f70e6(0xb4)];_0x213928++)_0x3b1cbf(_0x49cf21[_0x1f70e6(0x9e)][_0x213928]);}(this[_0x47d285(0xce)],_0x2a48ab=>{const _0x2e0004=_0x47d285;if(Ns(_0x2a48ab)){const _0x3dadb8=this[_0x2e0004(0xb1)](_0x2a48ab);_0x3dadb8[_0x2e0004(0xb4)]&&_0x5ac8f3[_0x2e0004(0x9f)](..._0x3dadb8);}_0x2a48ab[_0x2e0004(0xad)]||_0x2a48ab[_0x2e0004(0xc6)]||_0x5ac8f3[_0x2e0004(0x9f)](_0x2a48ab);}),_0x5ac8f3;}[_0x4d7f4c(0xb1)](_0x4b6468){const _0xb64715=_0x4d7f4c;if(_0x4b6468[_0xb64715(0xad)]||_0x4b6468[_0xb64715(0xc6)])return[];const _0x46962e=_0x18f39(_0x4b6468)[_0xb64715(0xb5)](/(?:\s*\S+\s*)/g),_0x570838=[];if(_0x46962e&&_0x46962e[_0xb64715(0xb4)]>0x1){for(const _0x4db1c5 of _0x46962e){const _0xf2ae26=new _0x23212d(_0x4db1c5);_0xf2ae26[_0xb64715(0xc6)]=!0x0,_0x1216f7(_0x4b6468,_0xf2ae26),_0x570838[_0xb64715(0x9f)](_0xf2ae26);}_0x4b6468[_0xb64715(0xad)]=!0x0,_0x372c22(_0x4b6468);}return _0x570838;}}const ys=['p','li','td','th',_0x4d7f4c(0xae),'h1','h2','h3','h4','h5','h6','b',_0x4d7f4c(0xca),'i','em',_0x4d7f4c(0xcd),_0x4d7f4c(0xbe),_0x4d7f4c(0x99),_0x4d7f4c(0xac),_0x4d7f4c(0xc1),'a',_0x4d7f4c(0xc3),_0x4d7f4c(0xb0)];function Ns(_0x1b1c73){return _0x3943f3(_0x1b1c73);}function Ts(_0x3746d9){return _0x2fcdf3(_0x3746d9);}function _0x5bb3(){const _0xaf508=['signal','131034FmDMcJ','parent','strong','83AxooiX','5561353PcMjgc','mark','document','getParsedDocumentNodeList','join','querySelectorAll','cleanUpAnimations','onStreamUpdate','attribs','entries','ins','childNodes','bind','stream','stop','children','push','reset','options','from','abort','textNodeStyle','map','30693BYnaYU','nodesList','timeoutAbortController','delay','tagName','currentIndex','sup','isWordSplitSource','span','4094180oWGVeq','div','splitTextNodeIntoWordNodes','8969418skydTL','replaceWith','length','match','isStreaming','span[data-ck-html-streamer-word-chunk]','addEventListener','145SGtfLo','lastUpdateTime','now','shouldBeStreamed','reverse','del','forEach','280JrpCRg','sub','7092272MmtQCS','code','renderNode','includes','isWordSplitResult'];_0x5bb3=function(){return _0xaf508;};return _0x5bb3();}function Ds(_0x18cd8f){const _0x9b79bc=new AbortController();return{'promise':new Promise((_0x133588,_0x506d61)=>{const _0x264ffd=_0x35b0,_0x143675=setTimeout(_0x133588,_0x18cd8f);_0x9b79bc[_0x264ffd(0xc7)][_0x264ffd(0xb8)](_0x264ffd(0xa3),()=>{clearTimeout(_0x143675),_0x506d61();});}),'abortController':_0x9b79bc};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fa32b=_0x204b;(function(_0x5032fc,_0x1da44d){const _0x5d3d35=_0x204b,_0x3fcd7f=_0x5032fc();while(!![]){try{const _0x5c4bc6=parseInt(_0x5d3d35(0x16d))/0x1*(parseInt(_0x5d3d35(0x152))/0x2)+parseInt(_0x5d3d35(0x154))/0x3*(parseInt(_0x5d3d35(0x153))/0x4)+parseInt(_0x5d3d35(0x166))/0x5+parseInt(_0x5d3d35(0x172))/0x6*(parseInt(_0x5d3d35(0x15c))/0x7)+-parseInt(_0x5d3d35(0x15f))/0x8*(-parseInt(_0x5d3d35(0x14a))/0x9)+parseInt(_0x5d3d35(0x16f))/0xa*(parseInt(_0x5d3d35(0x149))/0xb)+parseInt(_0x5d3d35(0x16a))/0xc*(-parseInt(_0x5d3d35(0x16e))/0xd);if(_0x5c4bc6===_0x1da44d)break;else _0x3fcd7f['push'](_0x3fcd7f['shift']());}catch(_0x55132e){_0x3fcd7f['push'](_0x3fcd7f['shift']());}}}(_0x53b7,0x2c925));function _0x204b(_0x320631,_0x5e7471){const _0x53b7f0=_0x53b7();return _0x204b=function(_0x204b02,_0x464426){_0x204b02=_0x204b02-0x145;let _0x413445=_0x53b7f0[_0x204b02];return _0x413445;},_0x204b(_0x320631,_0x5e7471);}const Fs=[_0x2fa32b(0x14b),_0x2fa32b(0x16c),_0x2fa32b(0x167),_0x2fa32b(0x14c)],qs=[_0x2fa32b(0x158),_0x2fa32b(0x162),_0x2fa32b(0x147),_0x2fa32b(0x169),_0x2fa32b(0x14f),_0x2fa32b(0x157),'\x20'];export class ScrollManager{[_0x2fa32b(0x148)];[_0x2fa32b(0x150)];[_0x2fa32b(0x15a)];[_0x2fa32b(0x156)];[_0x2fa32b(0x164)];constructor(_0x24b63d){const _0x3e18e7=_0x2fa32b;this[_0x3e18e7(0x148)]=_0x24b63d,this[_0x3e18e7(0x150)]=null,this[_0x3e18e7(0x15a)]=!0x1,this[_0x3e18e7(0x156)]=new AbortController(),this[_0x3e18e7(0x164)]=!0x1;for(const _0x547713 of Fs){const _0x27efbc=_0x3e18e7(0x14c)!==_0x547713;this[_0x3e18e7(0x148)][_0x3e18e7(0x146)](_0x547713,this[_0x3e18e7(0x165)][_0x3e18e7(0x14d)](this),{'passive':_0x27efbc,'signal':this[_0x3e18e7(0x156)][_0x3e18e7(0x168)]});}}[_0x2fa32b(0x155)](){const _0x3cdf88=_0x2fa32b;this[_0x3cdf88(0x15a)]||(this[_0x3cdf88(0x15a)]=!0x0,this[_0x3cdf88(0x164)]=!0x1,this[_0x3cdf88(0x150)]=requestAnimationFrame(this[_0x3cdf88(0x14e)][_0x3cdf88(0x14d)](this)));}[_0x2fa32b(0x145)](){requestAnimationFrame(()=>{const _0x4d4b40=_0x204b;this[_0x4d4b40(0x159)]();});}[_0x2fa32b(0x160)](){const _0x271763=_0x2fa32b;this[_0x271763(0x159)](),this[_0x271763(0x156)][_0x271763(0x15e)]();}[_0x2fa32b(0x159)](){const _0x1982b7=_0x2fa32b;null!==this[_0x1982b7(0x150)]&&(cancelAnimationFrame(this[_0x1982b7(0x150)]),this[_0x1982b7(0x150)]=null),this[_0x1982b7(0x15a)]&&(this[_0x1982b7(0x15a)]=!0x1),this[_0x1982b7(0x164)]=!0x1;}[_0x2fa32b(0x165)](_0x506404){const _0x4d3a2c=_0x2fa32b;if(this[_0x4d3a2c(0x15a)]){if(_0x4d3a2c(0x14c)===_0x506404[_0x4d3a2c(0x15d)]){const _0x5757b4=_0x506404[_0x4d3a2c(0x15b)];if(!qs[_0x4d3a2c(0x170)](_0x5757b4))return;}_0x506404 instanceof WheelEvent?_0x506404[_0x4d3a2c(0x163)]<0x0?this[_0x4d3a2c(0x164)]=!0x0:this[_0x4d3a2c(0x164)]=!this[_0x4d3a2c(0x151)]():this[_0x4d3a2c(0x164)]=!0x0;}}[_0x2fa32b(0x151)](){const _0x4e201c=_0x2fa32b,{scrollTop:_0x12a608,scrollHeight:_0x1bacf5,clientHeight:_0x23b024}=this[_0x4e201c(0x148)];return _0x1bacf5-_0x12a608-_0x23b024<=0x5;}[_0x2fa32b(0x14e)](){const _0x2e8c00=_0x2fa32b;this[_0x2e8c00(0x15a)]&&(this[_0x2e8c00(0x164)]||this[_0x2e8c00(0x148)][_0x2e8c00(0x161)]({'top':this[_0x2e8c00(0x148)][_0x2e8c00(0x171)],'behavior':_0x2e8c00(0x16b)}),this[_0x2e8c00(0x150)]=requestAnimationFrame(this[_0x2e8c00(0x14e)][_0x2e8c00(0x14d)](this)));}}function _0x53b7(){const _0x1ddd3a=['_onUserEvent','515945VDJJmj','pointerdown','signal','PageDown','3084BkTgAu','auto','touchstart','33DWlEcJ','62283iMKWWa','396080HnLdbI','includes','scrollHeight','767310WfEAuB','stop','addEventListener','PageUp','element','77jxUQqe','700767lVhtnZ','wheel','keydown','bind','_rafUpdate','Home','animationFrameId','_isAtBottom','20108pWCJHQ','28LSAIhG','124341Msqgqy','start','abortController','End','ArrowUp','_stop','isRunning','key','14QkXQxU','type','abort','16cRPdMz','destroy','scrollTo','ArrowDown','deltaY','isUserPaused'];_0x53b7=function(){return _0x1ddd3a;};return _0x53b7();}
23
+ const _0xa2d9c6=_0x298c;(function(_0x35b937,_0x11b700){const _0x493cd5=_0x298c,_0x542cfc=_0x35b937();while(!![]){try{const _0x4ee6a7=parseInt(_0x493cd5(0xca))/0x1+-parseInt(_0x493cd5(0xcb))/0x2*(parseInt(_0x493cd5(0xac))/0x3)+-parseInt(_0x493cd5(0xb8))/0x4+parseInt(_0x493cd5(0xbf))/0x5*(-parseInt(_0x493cd5(0xbb))/0x6)+parseInt(_0x493cd5(0xbd))/0x7*(parseInt(_0x493cd5(0xd0))/0x8)+-parseInt(_0x493cd5(0xaf))/0x9+-parseInt(_0x493cd5(0xc7))/0xa*(-parseInt(_0x493cd5(0xcf))/0xb);if(_0x4ee6a7===_0x11b700)break;else _0x542cfc['push'](_0x542cfc['shift']());}catch(_0x248298){_0x542cfc['push'](_0x542cfc['shift']());}}}(_0x27d7,0x52de4));function _0x298c(_0x1094e0,_0x405a07){const _0x27d7ec=_0x27d7();return _0x298c=function(_0x298cad,_0x538064){_0x298cad=_0x298cad-0xa9;let _0x289f3=_0x27d7ec[_0x298cad];return _0x289f3;},_0x298c(_0x1094e0,_0x405a07);}const Fs=[_0xa2d9c6(0xbe),_0xa2d9c6(0xab),_0xa2d9c6(0xce),_0xa2d9c6(0xb1)],Us=[_0xa2d9c6(0xcc),_0xa2d9c6(0xd2),_0xa2d9c6(0xd3),_0xa2d9c6(0xc3),_0xa2d9c6(0xb6),_0xa2d9c6(0xc4),'\x20'];export class ScrollManager{[_0xa2d9c6(0xa9)];[_0xa2d9c6(0xb5)];[_0xa2d9c6(0xb9)];[_0xa2d9c6(0xba)];[_0xa2d9c6(0xae)];constructor(_0x1448f4){const _0x448452=_0xa2d9c6;this[_0x448452(0xa9)]=_0x1448f4,this[_0x448452(0xb5)]=null,this[_0x448452(0xb9)]=!0x1,this[_0x448452(0xba)]=new AbortController(),this[_0x448452(0xae)]=!0x1;for(const _0xe2c5a0 of Fs){const _0x378d35=_0x448452(0xb1)!==_0xe2c5a0;this[_0x448452(0xa9)][_0x448452(0xc0)](_0xe2c5a0,this[_0x448452(0xaa)][_0x448452(0xbc)](this),{'passive':_0x378d35,'signal':this[_0x448452(0xba)][_0x448452(0xb2)]});}}[_0xa2d9c6(0xc6)](){const _0x3e7644=_0xa2d9c6;this[_0x3e7644(0xb9)]||(this[_0x3e7644(0xb9)]=!0x0,this[_0x3e7644(0xae)]=!0x1,this[_0x3e7644(0xb5)]=requestAnimationFrame(this[_0x3e7644(0xc5)][_0x3e7644(0xbc)](this)));}[_0xa2d9c6(0xb4)](){requestAnimationFrame(()=>{const _0x33a426=_0x298c;this[_0x33a426(0xb3)]();});}[_0xa2d9c6(0xc9)](){const _0xdbaa7d=_0xa2d9c6;this[_0xdbaa7d(0xb3)](),this[_0xdbaa7d(0xba)][_0xdbaa7d(0xd1)]();}[_0xa2d9c6(0xb3)](){const _0x28d104=_0xa2d9c6;null!==this[_0x28d104(0xb5)]&&(cancelAnimationFrame(this[_0x28d104(0xb5)]),this[_0x28d104(0xb5)]=null),this[_0x28d104(0xb9)]&&(this[_0x28d104(0xb9)]=!0x1),this[_0x28d104(0xae)]=!0x1;}[_0xa2d9c6(0xaa)](_0x3621cf){const _0xe9a1e0=_0xa2d9c6;if(this[_0xe9a1e0(0xb9)]){if(_0xe9a1e0(0xb1)===_0x3621cf[_0xe9a1e0(0xad)]){const _0xa53344=_0x3621cf[_0xe9a1e0(0xcd)];if(!Us[_0xe9a1e0(0xb0)](_0xa53344))return;}_0x3621cf instanceof WheelEvent?_0x3621cf[_0xe9a1e0(0xc2)]<0x0?this[_0xe9a1e0(0xae)]=!0x0:this[_0xe9a1e0(0xae)]=!this[_0xe9a1e0(0xc1)]():this[_0xe9a1e0(0xae)]=!0x0;}}[_0xa2d9c6(0xc1)](){const _0x53ecf0=_0xa2d9c6,{scrollTop:_0xeb5df7,scrollHeight:_0x5cf940,clientHeight:_0x283204}=this[_0x53ecf0(0xa9)];return _0x5cf940-_0xeb5df7-_0x283204<=0x5;}[_0xa2d9c6(0xc5)](){const _0x26e442=_0xa2d9c6;this[_0x26e442(0xb9)]&&(this[_0x26e442(0xae)]||this[_0x26e442(0xa9)][_0x26e442(0xb7)]({'top':this[_0x26e442(0xa9)][_0x26e442(0xd4)],'behavior':_0x26e442(0xc8)}),this[_0x26e442(0xb5)]=requestAnimationFrame(this[_0x26e442(0xc5)][_0x26e442(0xbc)](this)));}}function _0x27d7(){const _0x39501f=['wheel','1999355EpCwDD','addEventListener','_isAtBottom','deltaY','PageDown','End','_rafUpdate','start','40kISryX','auto','destroy','158918zgOsHE','553178CghMdy','ArrowUp','key','pointerdown','3590653dxOGKi','358376tUomut','abort','ArrowDown','PageUp','scrollHeight','element','_onUserEvent','touchstart','3oEWqTp','type','isUserPaused','2962863OiPQNr','includes','keydown','signal','_stop','stop','animationFrameId','Home','scrollTo','1553188wRTJQx','isRunning','abortController','6tMmlBY','bind','42cbyWWb'];_0x27d7=function(){return _0x39501f;};return _0x27d7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xe165f=_0x2797;(function(_0x3b77e6,_0x5d7f4b){var _0x2e5a20=_0x2797,_0x405170=_0x3b77e6();while(!![]){try{var _0x315948=parseInt(_0x2e5a20(0xec))/0x1*(-parseInt(_0x2e5a20(0xe6))/0x2)+-parseInt(_0x2e5a20(0xe8))/0x3+-parseInt(_0x2e5a20(0xe7))/0x4+-parseInt(_0x2e5a20(0xee))/0x5+parseInt(_0x2e5a20(0xeb))/0x6*(-parseInt(_0x2e5a20(0xe9))/0x7)+-parseInt(_0x2e5a20(0xe3))/0x8+parseInt(_0x2e5a20(0xea))/0x9*(parseInt(_0x2e5a20(0xe5))/0xa);if(_0x315948===_0x5d7f4b)break;else _0x405170['push'](_0x405170['shift']());}catch(_0x45491a){_0x405170['push'](_0x405170['shift']());}}}(_0x286b,0x201c9));function _0x2797(_0x33b557,_0x5253f4){var _0x286b13=_0x286b();return _0x2797=function(_0x2797e5,_0x38b137){_0x2797e5=_0x2797e5-0xe2;var _0x23b9b5=_0x286b13[_0x2797e5];return _0x23b9b5;},_0x2797(_0x33b557,_0x5253f4);}import{Plugin as _0x3ec4a0}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x5f1ca5}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x2956dd}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x2fd2c7}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x3ec4a0{static get[_0xe165f(0xed)](){return[_0x5f1ca5,_0x2956dd,_0x2fd2c7];}static get[_0xe165f(0xe4)](){var _0xa8a94=_0xe165f;return _0xa8a94(0xe2);}static get[_0xe165f(0xf0)](){return!0x0;}static get[_0xe165f(0xef)](){return!0x0;}}function _0x286b(){var _0x3c5963=['requires','296510yKGpKk','isPremiumPlugin','isOfficialPlugin','AIEditorIntegration','1939488IQLxkE','pluginName','1491330pvJaHa','4DotonX','130348mzgZEf','145377KvxKnR','16562QQWgoq','45DsjFfC','438GwjwCv','29317ljwGDT'];_0x286b=function(){return _0x3c5963;};return _0x286b();}
23
+ var _0x1bbb49=_0x43a9;function _0x4136(){var _0x2d1a67=['5oIyUWo','1950390JtTIqi','pluginName','1157391EXgVFJ','24cUobvl','268160saFozq','isOfficialPlugin','requires','338335tpQHeu','2467536aORcNO','AIEditorIntegration','1548279ExqjDf','isPremiumPlugin','5985TlDQZF'];_0x4136=function(){return _0x2d1a67;};return _0x4136();}(function(_0x433465,_0x2ae1ad){var _0x518254=_0x43a9,_0x3b954a=_0x433465();while(!![]){try{var _0x7ded52=-parseInt(_0x518254(0x1ed))/0x1+parseInt(_0x518254(0x1e6))/0x2+-parseInt(_0x518254(0x1f0))/0x3+-parseInt(_0x518254(0x1ea))/0x4*(-parseInt(_0x518254(0x1f3))/0x5)+parseInt(_0x518254(0x1ee))/0x6+parseInt(_0x518254(0x1f2))/0x7*(parseInt(_0x518254(0x1e9))/0x8)+parseInt(_0x518254(0x1e8))/0x9;if(_0x7ded52===_0x2ae1ad)break;else _0x3b954a['push'](_0x3b954a['shift']());}catch(_0x109b29){_0x3b954a['push'](_0x3b954a['shift']());}}}(_0x4136,0xb2473));import{Plugin as _0x263a3a}from'ckeditor5/src/core.js';function _0x43a9(_0x27a3df,_0x338275){var _0x41363c=_0x4136();return _0x43a9=function(_0x43a97a,_0xbe8093){_0x43a97a=_0x43a97a-0x1e6;var _0x23bd02=_0x41363c[_0x43a97a];return _0x23bd02;},_0x43a9(_0x27a3df,_0x338275);}import{AIToggleButtonUI as _0x22b263}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x1a183a}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x5f57a7}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x263a3a{static get[_0x1bbb49(0x1ec)](){return[_0x22b263,_0x1a183a,_0x5f57a7];}static get[_0x1bbb49(0x1e7)](){var _0xf1fd=_0x1bbb49;return _0xf1fd(0x1ef);}static get[_0x1bbb49(0x1eb)](){return!0x0;}static get[_0x1bbb49(0x1f1)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe395ea=_0xdf74;(function(_0x2aeaa3,_0xcb7382){const _0x46d618=_0xdf74,_0x1654d3=_0x2aeaa3();while(!![]){try{const _0x207920=-parseInt(_0x46d618(0xc3))/0x1+parseInt(_0x46d618(0xaa))/0x2*(-parseInt(_0x46d618(0xb7))/0x3)+-parseInt(_0x46d618(0xbb))/0x4+-parseInt(_0x46d618(0xc5))/0x5+parseInt(_0x46d618(0xb3))/0x6*(parseInt(_0x46d618(0xbd))/0x7)+parseInt(_0x46d618(0xca))/0x8*(-parseInt(_0x46d618(0xac))/0x9)+-parseInt(_0x46d618(0xc6))/0xa*(-parseInt(_0x46d618(0xb9))/0xb);if(_0x207920===_0xcb7382)break;else _0x1654d3['push'](_0x1654d3['shift']());}catch(_0x3c62c2){_0x1654d3['push'](_0x1654d3['shift']());}}}(_0x4de0,0xc1b87));import{Plugin as _0x19138f}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x30f793}from'./toggleaicommand.js';import{ButtonView as _0xdd31e6,MenuBarMenuListItemButtonView as _0x132f64}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x512424}from'@ckeditor/ckeditor5-icons';function _0x4de0(){const _0xb6861e=['36rhSYuK','get','requires','init','pluginName','_createAIUIButton','isPremiumPlugin','149412TXlafl','toggleAi','componentFactory','locale','1374213mqbZrM','menuBar:toggleAi','1342KiykVf','execute','344968sqfAhD','listenTo','427IOkjEB','bind','isEnabled','isOn','value','editor','1519664aWxLLr','set','130340FvgzMQ','127030WrKUVO','isOfficialPlugin','ck-ai-toggle-button','menuitemcheckbox','370528SLazNg','commands','AI_TOGGLE_BUTTON_LABEL','add','2ICQSeG','AIToggleButtonUI'];_0x4de0=function(){return _0xb6861e;};return _0x4de0();}import{getTranslation as _0x23aa80}from'../../aicore/utils/common-translations.js';import{AITabs as _0x43c0f8}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0xdf74(_0x5b275c,_0xf7b7){const _0x4de05f=_0x4de0();return _0xdf74=function(_0xdf74d1,_0xee795d){_0xdf74d1=_0xdf74d1-0xa9;let _0x1ec74d=_0x4de05f[_0xdf74d1];return _0x1ec74d;},_0xdf74(_0x5b275c,_0xf7b7);}export class AIToggleButtonUI extends _0x19138f{static get[_0xe395ea(0xae)](){return[_0x43c0f8];}static get[_0xe395ea(0xb0)](){const _0x3bb4e4=_0xe395ea;return _0x3bb4e4(0xab);}static get[_0xe395ea(0xc7)](){return!0x0;}static get[_0xe395ea(0xb2)](){return!0x0;}[_0xe395ea(0xaf)](){const _0x37878c=_0xe395ea,_0x41db3b=this[_0x37878c(0xc2)];_0x41db3b[_0x37878c(0xcb)][_0x37878c(0xa9)](_0x37878c(0xb4),new _0x30f793(_0x41db3b)),_0x41db3b['ui'][_0x37878c(0xb5)][_0x37878c(0xa9)](_0x37878c(0xb4),()=>{const _0x11608d=_0x37878c,_0x57144a=this[_0x11608d(0xb1)](_0xdd31e6);return _0x57144a[_0x11608d(0xc4)]({'tooltip':!0x0,'class':_0x11608d(0xc8)}),_0x57144a;}),_0x41db3b['ui'][_0x37878c(0xb5)][_0x37878c(0xa9)](_0x37878c(0xb8),()=>{const _0x364515=_0x37878c,_0x4cb586=this[_0x364515(0xb1)](_0x132f64);return _0x4cb586[_0x364515(0xc4)]({'role':_0x364515(0xc9)}),_0x4cb586;});}[_0xe395ea(0xb1)](_0x987163){const _0x198997=_0xe395ea,_0x323cd6=this[_0x198997(0xc2)],_0x53c7be=_0x323cd6[_0x198997(0xcb)][_0x198997(0xad)](_0x198997(0xb4)),_0x5d647b=new _0x987163(_0x323cd6[_0x198997(0xb6)]);return _0x5d647b[_0x198997(0xc4)]({'label':_0x23aa80(_0x323cd6[_0x198997(0xb6)],_0x198997(0xcc)),'icon':_0x512424,'isToggleable':!0x0}),_0x5d647b[_0x198997(0xbe)](_0x198997(0xbf))['to'](_0x53c7be),_0x5d647b[_0x198997(0xbe)](_0x198997(0xc0))['to'](_0x53c7be,_0x198997(0xc1),_0x5a67d6=>!!_0x5a67d6),this[_0x198997(0xbc)](_0x5d647b,_0x198997(0xba),()=>{const _0x40185e=_0x198997;_0x53c7be[_0x40185e(0xba)]();}),_0x5d647b;}}
23
+ const _0x30b55b=_0x547c;(function(_0x472ce0,_0xc2f01a){const _0x1d7794=_0x547c,_0x38268f=_0x472ce0();while(!![]){try{const _0x11383e=parseInt(_0x1d7794(0x20e))/0x1+-parseInt(_0x1d7794(0x1fa))/0x2*(-parseInt(_0x1d7794(0x1f1))/0x3)+-parseInt(_0x1d7794(0x1f8))/0x4+parseInt(_0x1d7794(0x202))/0x5*(parseInt(_0x1d7794(0x20d))/0x6)+parseInt(_0x1d7794(0x20c))/0x7*(-parseInt(_0x1d7794(0x1f6))/0x8)+parseInt(_0x1d7794(0x201))/0x9*(parseInt(_0x1d7794(0x210))/0xa)+parseInt(_0x1d7794(0x208))/0xb*(-parseInt(_0x1d7794(0x1fe))/0xc);if(_0x11383e===_0xc2f01a)break;else _0x38268f['push'](_0x38268f['shift']());}catch(_0x552b3a){_0x38268f['push'](_0x38268f['shift']());}}}(_0x31db,0x4ef04));function _0x31db(){const _0x75e519=['commands','22yOSnfF','AIToggleButtonUI','listenTo','value','350LiOIJv','1974tafcGx','335762sAlCBY','menuBar:toggleAi','60EujaBQ','editor','pluginName','add','AI_TOGGLE_BUTTON_LABEL','get','764328wnLWnA','set','toggleAi','locale','isOn','4304EKkaEA','componentFactory','780676IGKaoy','menuitemcheckbox','4YUGaju','isEnabled','isPremiumPlugin','_createAIUIButton','8278140vxEEjN','ck-ai-toggle-button','requires','784170hfCCpJ','8465VwuivV','bind','isOfficialPlugin','init','execute'];_0x31db=function(){return _0x75e519;};return _0x31db();}import{Plugin as _0x5ec505}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x27cc5d}from'./toggleaicommand.js';import{ButtonView as _0x29ae25,MenuBarMenuListItemButtonView as _0x1b0595}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x3f2b95}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3f3e8a}from'../../aicore/utils/common-translations.js';import{AITabs as _0x580cf9}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x547c(_0x4b95b7,_0x1d56a1){const _0x31dbc8=_0x31db();return _0x547c=function(_0x547c32,_0x460ef9){_0x547c32=_0x547c32-0x1f0;let _0x390ff0=_0x31dbc8[_0x547c32];return _0x390ff0;},_0x547c(_0x4b95b7,_0x1d56a1);}export class AIToggleButtonUI extends _0x5ec505{static get[_0x30b55b(0x200)](){return[_0x580cf9];}static get[_0x30b55b(0x212)](){const _0x22cc97=_0x30b55b;return _0x22cc97(0x209);}static get[_0x30b55b(0x204)](){return!0x0;}static get[_0x30b55b(0x1fc)](){return!0x0;}[_0x30b55b(0x205)](){const _0x214139=_0x30b55b,_0x389bc1=this[_0x214139(0x211)];_0x389bc1[_0x214139(0x207)][_0x214139(0x213)](_0x214139(0x1f3),new _0x27cc5d(_0x389bc1)),_0x389bc1['ui'][_0x214139(0x1f7)][_0x214139(0x213)](_0x214139(0x1f3),()=>{const _0x5c4b78=_0x214139,_0x3a0721=this[_0x5c4b78(0x1fd)](_0x29ae25);return _0x3a0721[_0x5c4b78(0x1f2)]({'tooltip':!0x0,'class':_0x5c4b78(0x1ff)}),_0x3a0721;}),_0x389bc1['ui'][_0x214139(0x1f7)][_0x214139(0x213)](_0x214139(0x20f),()=>{const _0xb6ba36=_0x214139,_0x2b26d5=this[_0xb6ba36(0x1fd)](_0x1b0595);return _0x2b26d5[_0xb6ba36(0x1f2)]({'role':_0xb6ba36(0x1f9)}),_0x2b26d5;});}[_0x30b55b(0x1fd)](_0x5c49ca){const _0x1acbac=_0x30b55b,_0x5deaa0=this[_0x1acbac(0x211)],_0x10be1d=_0x5deaa0[_0x1acbac(0x207)][_0x1acbac(0x1f0)](_0x1acbac(0x1f3)),_0x51fa10=new _0x5c49ca(_0x5deaa0[_0x1acbac(0x1f4)]);return _0x51fa10[_0x1acbac(0x1f2)]({'label':_0x3f3e8a(_0x5deaa0[_0x1acbac(0x1f4)],_0x1acbac(0x214)),'icon':_0x3f2b95,'isToggleable':!0x0}),_0x51fa10[_0x1acbac(0x203)](_0x1acbac(0x1fb))['to'](_0x10be1d),_0x51fa10[_0x1acbac(0x203)](_0x1acbac(0x1f5))['to'](_0x10be1d,_0x1acbac(0x20b),_0x214238=>!!_0x214238),this[_0x1acbac(0x20a)](_0x51fa10,_0x1acbac(0x206),()=>{const _0x5c5159=_0x1acbac;_0x10be1d[_0x5c5159(0x206)]();}),_0x51fa10;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e7c(){const _0x32db24=['202545NZCtJv','84978LAPPDa','3579560jnwykp','isEnabled','1828589IbQfWY','5sheepe','414056NaQVgN','AITabs','execute','202364IyBXBv','editor','137765qkohPl','view','value','bind','plugins','get','isVisible'];_0x2e7c=function(){return _0x32db24;};return _0x2e7c();}const _0x11c5dd=_0x1b7c;(function(_0x28bd3c,_0x52f0aa){const _0x33713e=_0x1b7c,_0x3beb6b=_0x28bd3c();while(!![]){try{const _0x2da958=parseInt(_0x33713e(0x79))/0x1+parseInt(_0x33713e(0x74))/0x2+parseInt(_0x33713e(0x6e))/0x3+-parseInt(_0x33713e(0x77))/0x4*(parseInt(_0x33713e(0x73))/0x5)+parseInt(_0x33713e(0x6f))/0x6+parseInt(_0x33713e(0x72))/0x7+-parseInt(_0x33713e(0x70))/0x8;if(_0x2da958===_0x52f0aa)break;else _0x3beb6b['push'](_0x3beb6b['shift']());}catch(_0x38c07f){_0x3beb6b['push'](_0x3beb6b['shift']());}}}(_0x2e7c,0x2e4de));function _0x1b7c(_0x36c488,_0x12c90b){const _0x2e7c9f=_0x2e7c();return _0x1b7c=function(_0x1b7cf1,_0x3ed78c){_0x1b7cf1=_0x1b7cf1-0x6c;let _0x5a00cc=_0x2e7c9f[_0x1b7cf1];return _0x5a00cc;},_0x1b7c(_0x36c488,_0x12c90b);}import{Command as _0x321dcd}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x321dcd{constructor(_0x439e05){const _0x35af54=_0x1b7c;super(_0x439e05);const _0x57de18=_0x439e05[_0x35af54(0x7d)][_0x35af54(0x6c)](_0x35af54(0x75))[_0x35af54(0x7a)];this[_0x35af54(0x7c)](_0x35af54(0x7b))['to'](_0x57de18,_0x35af54(0x6d)),this[_0x35af54(0x71)]=!0x0;}[_0x11c5dd(0x76)](){const _0x57735e=_0x11c5dd,_0x47e690=this[_0x57735e(0x78)][_0x57735e(0x7d)][_0x57735e(0x6c)](_0x57735e(0x75))[_0x57735e(0x7a)];_0x47e690[_0x57735e(0x6d)]=!_0x47e690[_0x57735e(0x6d)];}}
23
+ const _0x144a61=_0xffaa;function _0x9666(){const _0x9cea45=['plugins','isEnabled','view','1249858ekhazb','isVisible','4657982EIGuio','351lyqFdd','114147fPvNDW','AITabs','value','get','editor','1007772ILSbYW','145448IxXJWs','2254062PVSbui','18KijFjT','110290kRbBhv','execute','bind'];_0x9666=function(){return _0x9cea45;};return _0x9666();}(function(_0x210be8,_0x3ae124){const _0x150cae=_0xffaa,_0x48d26a=_0x210be8();while(!![]){try{const _0x55e59f=parseInt(_0x150cae(0xd0))/0x1+-parseInt(_0x150cae(0xdf))/0x2+-parseInt(_0x150cae(0xd7))/0x3+parseInt(_0x150cae(0xd5))/0x4+parseInt(_0x150cae(0xd9))/0x5*(parseInt(_0x150cae(0xd8))/0x6)+parseInt(_0x150cae(0xce))/0x7+-parseInt(_0x150cae(0xd6))/0x8*(-parseInt(_0x150cae(0xcf))/0x9);if(_0x55e59f===_0x3ae124)break;else _0x48d26a['push'](_0x48d26a['shift']());}catch(_0x5e7952){_0x48d26a['push'](_0x48d26a['shift']());}}}(_0x9666,0x69182));function _0xffaa(_0x45946a,_0x2d8f22){const _0x96661b=_0x9666();return _0xffaa=function(_0xffaa87,_0x3711cb){_0xffaa87=_0xffaa87-0xcd;let _0x30be39=_0x96661b[_0xffaa87];return _0x30be39;},_0xffaa(_0x45946a,_0x2d8f22);}import{Command as _0x28f602}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x28f602{constructor(_0xb52a16){const _0x1b33a9=_0xffaa;super(_0xb52a16);const _0x2552b8=_0xb52a16[_0x1b33a9(0xdc)][_0x1b33a9(0xd3)](_0x1b33a9(0xd1))[_0x1b33a9(0xde)];this[_0x1b33a9(0xdb)](_0x1b33a9(0xd2))['to'](_0x2552b8,_0x1b33a9(0xcd)),this[_0x1b33a9(0xdd)]=!0x0;}[_0x144a61(0xda)](){const _0x5c9835=_0x144a61,_0x2e2518=this[_0x5c9835(0xd4)][_0x5c9835(0xdc)][_0x5c9835(0xd3)](_0x5c9835(0xd1))[_0x5c9835(0xde)];_0x2e2518[_0x5c9835(0xcd)]=!_0x2e2518[_0x5c9835(0xcd)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x41846b=_0x29e0;(function(_0x3beb89,_0x56ddc5){var _0x1495be=_0x29e0,_0x23a511=_0x3beb89();while(!![]){try{var _0x563844=parseInt(_0x1495be(0x191))/0x1*(-parseInt(_0x1495be(0x189))/0x2)+-parseInt(_0x1495be(0x181))/0x3*(-parseInt(_0x1495be(0x18c))/0x4)+parseInt(_0x1495be(0x18a))/0x5+parseInt(_0x1495be(0x185))/0x6+parseInt(_0x1495be(0x193))/0x7*(parseInt(_0x1495be(0x192))/0x8)+parseInt(_0x1495be(0x184))/0x9*(parseInt(_0x1495be(0x18e))/0xa)+-parseInt(_0x1495be(0x18d))/0xb*(parseInt(_0x1495be(0x188))/0xc);if(_0x563844===_0x56ddc5)break;else _0x23a511['push'](_0x23a511['shift']());}catch(_0x5f46fe){_0x23a511['push'](_0x23a511['shift']());}}}(_0x4849,0x96a6e));function _0x4849(){var _0x1f0ac0=['10mRYvaa','AIQuickActions','pluginName','38243AorcXJ','128bKNfkX','295827BueoEo','ai.quickActions','1932369FwmtzX','define','isPremiumPlugin','10198431ZGaStP','101292LfQito','config','isOfficialPlugin','144KUEmEI','46SBaaRA','5487235mFkQTY','requires','4isiLQB','1898534zqkTok'];_0x4849=function(){return _0x1f0ac0;};return _0x4849();}import{Plugin as _0x126698}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x42b233}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x1f0c78}from'./aiquickactionsediting.js';function _0x29e0(_0x34f7df,_0x4b4855){var _0x484928=_0x4849();return _0x29e0=function(_0x29e0b5,_0x4ab96b){_0x29e0b5=_0x29e0b5-0x181;var _0x544c25=_0x484928[_0x29e0b5];return _0x544c25;},_0x29e0(_0x34f7df,_0x4b4855);}import{AIActions as _0x2d927c}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x126698{static get[_0x41846b(0x18b)](){return[_0x42b233,_0x1f0c78,_0x2d927c];}static get[_0x41846b(0x190)](){var _0x3b055e=_0x41846b;return _0x3b055e(0x18f);}static get[_0x41846b(0x187)](){return!0x0;}static get[_0x41846b(0x183)](){return!0x0;}constructor(_0xcfa388){var _0x283b17=_0x41846b;super(_0xcfa388),_0xcfa388[_0x283b17(0x186)][_0x283b17(0x182)](_0x283b17(0x194),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
23
+ function _0x29c4(_0x71b044,_0xb81eb7){var _0x1394ff=_0x1394();return _0x29c4=function(_0x29c4e5,_0x3608dd){_0x29c4e5=_0x29c4e5-0x19f;var _0x20f539=_0x1394ff[_0x29c4e5];return _0x20f539;},_0x29c4(_0x71b044,_0xb81eb7);}var _0x56d273=_0x29c4;(function(_0x254649,_0x38aed6){var _0x5408a3=_0x29c4,_0x3c9348=_0x254649();while(!![]){try{var _0x363dc9=-parseInt(_0x5408a3(0x1a7))/0x1+parseInt(_0x5408a3(0x19f))/0x2+parseInt(_0x5408a3(0x1aa))/0x3+parseInt(_0x5408a3(0x1a6))/0x4*(-parseInt(_0x5408a3(0x1ab))/0x5)+parseInt(_0x5408a3(0x1ae))/0x6*(-parseInt(_0x5408a3(0x1ad))/0x7)+-parseInt(_0x5408a3(0x1a4))/0x8*(parseInt(_0x5408a3(0x1a1))/0x9)+parseInt(_0x5408a3(0x1a5))/0xa;if(_0x363dc9===_0x38aed6)break;else _0x3c9348['push'](_0x3c9348['shift']());}catch(_0x1eef67){_0x3c9348['push'](_0x3c9348['shift']());}}}(_0x1394,0xe6839));import{Plugin as _0x4b6261}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0xdc5d44}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x492937}from'./aiquickactionsediting.js';function _0x1394(){var _0x2cc4f6=['requires','ai.quickActions','3128QxRmil','46764860evMVCf','963212uykdGl','1664239XWmDhW','isOfficialPlugin','pluginName','872385LnXGib','25AymWJn','AIQuickActions','7msHOmY','6034062iuvNiM','isPremiumPlugin','config','666658BzBVvR','define','11106yTcfXw'];_0x1394=function(){return _0x2cc4f6;};return _0x1394();}import{AIActions as _0x57bb30}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x4b6261{static get[_0x56d273(0x1a2)](){return[_0xdc5d44,_0x492937,_0x57bb30];}static get[_0x56d273(0x1a9)](){var _0x2b7955=_0x56d273;return _0x2b7955(0x1ac);}static get[_0x56d273(0x1a8)](){return!0x0;}static get[_0x56d273(0x1af)](){return!0x0;}constructor(_0x26738a){var _0x40dbd5=_0x56d273;super(_0x26738a),_0x26738a[_0x40dbd5(0x1b0)][_0x40dbd5(0x1a0)](_0x40dbd5(0x1a3),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x187aef=_0x34d5;function _0x34d5(_0x4e5379,_0x4b7a3a){const _0x15cf57=_0x15cf();return _0x34d5=function(_0x34d570,_0x81bd9){_0x34d570=_0x34d570-0x140;let _0xb78377=_0x15cf57[_0x34d570];return _0xb78377;},_0x34d5(_0x4e5379,_0x4b7a3a);}function _0x15cf(){const _0x153698=['AIReviewMode','view','icon','locale','146cfFUKt','34252pWYyGG','args','getLimitElement','document','ai-quick-actions-plugin-not-found','REVIEW','1925tWshlJ','handleAIReviewAction','_handleAIActionsActionLabel','53283EqLqSp','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','log','CHAT','1117419xgbjQL','_handleAIActionsAction','getSelectedBlocks','selection','_expandSelectionIfCollapsed','23892jYzXtd','95PTTcfp','get','_handleAIReviewAction','editor','addSelectionToChatContext','24650aWaMtN','parent','ask-ai','chat','514512xQepRx','focusPromptInput','displayedPrompt','executeAction','isVisible','AIChat','setSelection','removeSelectionFromChatContext','startConversation','prompt','AITabs','other','_handleAIChatAction','isCollapsed','plugins','AIChatController','schema','has','model','activeTab','4581GBplwg','sendMessage','AIActions','activateTab','label','type','11089Cobeva','ACTION','8416vLGKAp','28rvcTAP','actionName','execute','change'];_0x15cf=function(){return _0x153698;};return _0x15cf();}(function(_0x1b330,_0x1cb551){const _0x146158=_0x34d5,_0x2c2406=_0x1b330();while(!![]){try{const _0x11d5bb=parseInt(_0x146158(0x15b))/0x1+parseInt(_0x146158(0x14d))/0x2*(-parseInt(_0x146158(0x157))/0x3)+-parseInt(_0x146158(0x14e))/0x4*(parseInt(_0x146158(0x161))/0x5)+parseInt(_0x146158(0x16a))/0x6*(parseInt(_0x146158(0x145))/0x7)+parseInt(_0x146158(0x144))/0x8*(-parseInt(_0x146158(0x17e))/0x9)+parseInt(_0x146158(0x166))/0xa*(-parseInt(_0x146158(0x154))/0xb)+parseInt(_0x146158(0x160))/0xc*(parseInt(_0x146158(0x142))/0xd);if(_0x11d5bb===_0x1cb551)break;else _0x2c2406['push'](_0x2c2406['shift']());}catch(_0x4d2408){_0x2c2406['push'](_0x2c2406['shift']());}}}(_0x15cf,0xb2df1));import{Command as _0x501af2}from'ckeditor5/src/core.js';import{CKEditorError as _0x26aa07,first as _0x3baf0a}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x214366}from'./aiquickactionsui.js';import{getTranslation as _0x575e58}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x501af2{[_0x187aef(0x147)](_0x478460){const _0x46efa9=_0x187aef;switch(this[_0x46efa9(0x15f)](),_0x478460[_0x46efa9(0x141)]){case _0x214366[_0x46efa9(0x15a)]:if(!this[_0x46efa9(0x164)][_0x46efa9(0x178)][_0x46efa9(0x17b)](_0x46efa9(0x16f))){const _0x156bab=_0x575e58(this[_0x46efa9(0x164)][_0x46efa9(0x14c)],_0x46efa9(0x158),_0x46efa9(0x16f));throw new _0x26aa07(_0x46efa9(0x152),this[_0x46efa9(0x164)],{'errorMessage':_0x156bab});}this[_0x46efa9(0x176)](_0x478460);break;case _0x214366[_0x46efa9(0x143)]:if(!this[_0x46efa9(0x164)][_0x46efa9(0x178)][_0x46efa9(0x17b)](_0x46efa9(0x180))){const _0x36c9a1=_0x575e58(this[_0x46efa9(0x164)][_0x46efa9(0x14c)],_0x46efa9(0x158),_0x46efa9(0x180));throw new _0x26aa07(_0x46efa9(0x152),this[_0x46efa9(0x164)],{'errorMessage':_0x36c9a1});}this[_0x46efa9(0x15c)](_0x478460);break;case _0x214366[_0x46efa9(0x153)]:if(!this[_0x46efa9(0x164)][_0x46efa9(0x178)][_0x46efa9(0x17b)](_0x46efa9(0x149))){const _0x4be51a=_0x575e58(this[_0x46efa9(0x164)][_0x46efa9(0x14c)],_0x46efa9(0x158),_0x46efa9(0x149));throw new _0x26aa07(_0x46efa9(0x152),this[_0x46efa9(0x164)],{'errorMessage':_0x4be51a});}this[_0x46efa9(0x163)](_0x478460);}}async[_0x187aef(0x176)](_0x1ad4b2){const _0x125cd9=_0x187aef,_0x303b77=this[_0x125cd9(0x164)][_0x125cd9(0x178)][_0x125cd9(0x162)](_0x125cd9(0x16f)),_0x4cf4c4=this[_0x125cd9(0x164)][_0x125cd9(0x178)][_0x125cd9(0x162)](_0x125cd9(0x179)),_0x5da4a0=this[_0x125cd9(0x164)][_0x125cd9(0x178)][_0x125cd9(0x162)](_0x125cd9(0x174))[_0x125cd9(0x14a)];if(_0x5da4a0[_0x125cd9(0x16e)]||(_0x5da4a0[_0x125cd9(0x16e)]=!0x0),_0x125cd9(0x169)!==_0x5da4a0[_0x125cd9(0x17d)]&&_0x5da4a0[_0x125cd9(0x181)](_0x125cd9(0x169)),_0x125cd9(0x168)===_0x1ad4b2['id'])_0x4cf4c4[_0x125cd9(0x171)](),await _0x303b77[_0x125cd9(0x165)](),_0x303b77[_0x125cd9(0x16b)]();else await _0x303b77[_0x125cd9(0x172)](),_0x4cf4c4[_0x125cd9(0x171)](),await _0x303b77[_0x125cd9(0x165)](),_0x303b77[_0x125cd9(0x16b)](),await _0x303b77[_0x125cd9(0x17f)]({'message':_0x1ad4b2[_0x125cd9(0x173)]||_0x1ad4b2[_0x125cd9(0x16c)],'attributes':{'quickActionData':{'id':_0x1ad4b2['id']},'displayedPrompt':_0x1ad4b2[_0x125cd9(0x16c)]}});}[_0x187aef(0x15f)](){const _0x1699ed=_0x187aef,_0x133abd=this[_0x1699ed(0x164)],_0x3bbca4=_0x133abd[_0x1699ed(0x17c)][_0x1699ed(0x151)][_0x1699ed(0x15e)];if(!_0x3bbca4[_0x1699ed(0x177)])return;const _0x5030e2=_0x3baf0a(_0x3bbca4[_0x1699ed(0x15d)]())||_0x133abd[_0x1699ed(0x17c)][_0x1699ed(0x17a)][_0x1699ed(0x150)](_0x3bbca4);_0x133abd[_0x1699ed(0x17c)][_0x1699ed(0x148)](_0x57838d=>{const _0x1a61d1=_0x1699ed;_0x57838d[_0x1a61d1(0x170)](_0x5030e2,'in');});}[_0x187aef(0x156)](_0x381648){const _0xd910de=_0x187aef;return _0x381648[_0xd910de(0x167)]?.[_0xd910de(0x140)]&&_0xd910de(0x175)!==_0x381648[_0xd910de(0x167)]?.['id']?_0x381648[_0xd910de(0x167)][_0xd910de(0x140)]+':\x20'+_0x381648[_0xd910de(0x16c)]:_0x381648[_0xd910de(0x16c)];}async[_0x187aef(0x15c)](_0x103ca6){const _0xcf1926=_0x187aef,_0x489b73=this[_0xcf1926(0x164)][_0xcf1926(0x178)][_0xcf1926(0x162)](_0xcf1926(0x180)),_0x2e7f74=_0x103ca6[_0xcf1926(0x173)]?{'userMessage':_0x103ca6[_0xcf1926(0x173)],'model':_0x103ca6[_0xcf1926(0x17c)]}:{'actionName':_0x103ca6[_0xcf1926(0x146)]||_0x103ca6['id'],'args':_0x103ca6[_0xcf1926(0x14f)]},_0x3c1b8b=this[_0xcf1926(0x156)](_0x103ca6);await _0x489b73[_0xcf1926(0x16d)](_0x2e7f74,_0x3c1b8b,_0x103ca6[_0xcf1926(0x14b)]);}async[_0x187aef(0x163)](_0x2dc317){const _0x547dfb=_0x187aef;console[_0x547dfb(0x159)](_0x547dfb(0x155),_0x2dc317);}}
23
+ const _0x2ec14e=_0x32d4;function _0x32d4(_0x1718d4,_0x3c2eb3){const _0x12786a=_0x1278();return _0x32d4=function(_0x32d481,_0x409c53){_0x32d481=_0x32d481-0x12a;let _0x5ce529=_0x12786a[_0x32d481];return _0x5ce529;},_0x32d4(_0x1718d4,_0x3c2eb3);}(function(_0x5e3c44,_0xeed221){const _0x1c3d38=_0x32d4,_0x360a80=_0x5e3c44();while(!![]){try{const _0x7a7e25=-parseInt(_0x1c3d38(0x13f))/0x1+-parseInt(_0x1c3d38(0x167))/0x2+-parseInt(_0x1c3d38(0x161))/0x3+-parseInt(_0x1c3d38(0x162))/0x4*(parseInt(_0x1c3d38(0x14f))/0x5)+-parseInt(_0x1c3d38(0x15b))/0x6*(parseInt(_0x1c3d38(0x157))/0x7)+parseInt(_0x1c3d38(0x15a))/0x8*(-parseInt(_0x1c3d38(0x166))/0x9)+parseInt(_0x1c3d38(0x159))/0xa*(parseInt(_0x1c3d38(0x160))/0xb);if(_0x7a7e25===_0xeed221)break;else _0x360a80['push'](_0x360a80['shift']());}catch(_0x51c9da){_0x360a80['push'](_0x360a80['shift']());}}}(_0x1278,0x46fc4));function _0x1278(){const _0x442023=['ask-ai','ai-quick-actions-plugin-not-found','model','removeSelectionFromChatContext','view','other','getLimitElement','isCollapsed','startConversation','change','activateTab','_handleAIActionsActionLabel','actionName','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','ACTION','1075220QmiwSv','setSelection','isVisible','prompt','args','_handleAIReviewAction','focusPromptInput','_handleAIActionsAction','600901fxFgPp','locale','422330Ukbcmz','8zeClAS','30Tdhtlp','displayedPrompt','log','executeAction','AITabs','682pAhugS','1130577XKevaQ','4Fldghg','label','chat','editor','4493403fhYLiS','718014vQFAzs','handleAIReviewAction','CHAT','_expandSelectionIfCollapsed','_handleAIChatAction','document','type','parent','getSelectedBlocks','AIActions','icon','AIChat','get','sendMessage','execute','has','addSelectionToChatContext','plugins','AIChatController','REVIEW','activeTab','selection','AIReviewMode','schema','448298NoMhFs'];_0x1278=function(){return _0x442023;};return _0x1278();}import{Command as _0x82e4f3}from'ckeditor5/src/core.js';import{CKEditorError as _0x814c8e,first as _0x304e1c}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x23cdae}from'./aiquickactionsui.js';import{getTranslation as _0x45f31d}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x82e4f3{[_0x2ec14e(0x135)](_0x2c36f0){const _0x278260=_0x2ec14e;switch(this[_0x278260(0x12a)](),_0x2c36f0[_0x278260(0x12d)]){case _0x23cdae[_0x278260(0x169)]:if(!this[_0x278260(0x165)][_0x278260(0x138)][_0x278260(0x136)](_0x278260(0x132))){const _0x37e552=_0x45f31d(this[_0x278260(0x165)][_0x278260(0x158)],_0x278260(0x14d),_0x278260(0x132));throw new _0x814c8e(_0x278260(0x141),this[_0x278260(0x165)],{'errorMessage':_0x37e552});}this[_0x278260(0x12b)](_0x2c36f0);break;case _0x23cdae[_0x278260(0x14e)]:if(!this[_0x278260(0x165)][_0x278260(0x138)][_0x278260(0x136)](_0x278260(0x130))){const _0x291f6b=_0x45f31d(this[_0x278260(0x165)][_0x278260(0x158)],_0x278260(0x14d),_0x278260(0x130));throw new _0x814c8e(_0x278260(0x141),this[_0x278260(0x165)],{'errorMessage':_0x291f6b});}this[_0x278260(0x156)](_0x2c36f0);break;case _0x23cdae[_0x278260(0x13a)]:if(!this[_0x278260(0x165)][_0x278260(0x138)][_0x278260(0x136)](_0x278260(0x13d))){const _0x3aa914=_0x45f31d(this[_0x278260(0x165)][_0x278260(0x158)],_0x278260(0x14d),_0x278260(0x13d));throw new _0x814c8e(_0x278260(0x141),this[_0x278260(0x165)],{'errorMessage':_0x3aa914});}this[_0x278260(0x154)](_0x2c36f0);}}async[_0x2ec14e(0x12b)](_0x3a0710){const _0x198906=_0x2ec14e,_0xe1820b=this[_0x198906(0x165)][_0x198906(0x138)][_0x198906(0x133)](_0x198906(0x132)),_0x3ff175=this[_0x198906(0x165)][_0x198906(0x138)][_0x198906(0x133)](_0x198906(0x139)),_0x59d9f0=this[_0x198906(0x165)][_0x198906(0x138)][_0x198906(0x133)](_0x198906(0x15f))[_0x198906(0x144)];if(_0x59d9f0[_0x198906(0x151)]||(_0x59d9f0[_0x198906(0x151)]=!0x0),_0x198906(0x164)!==_0x59d9f0[_0x198906(0x13b)]&&_0x59d9f0[_0x198906(0x14a)](_0x198906(0x164)),_0x198906(0x140)===_0x3a0710['id'])_0x3ff175[_0x198906(0x143)](),await _0xe1820b[_0x198906(0x137)](),_0xe1820b[_0x198906(0x155)]();else await _0xe1820b[_0x198906(0x148)](),_0x3ff175[_0x198906(0x143)](),await _0xe1820b[_0x198906(0x137)](),_0xe1820b[_0x198906(0x155)](),await _0xe1820b[_0x198906(0x134)]({'message':_0x3a0710[_0x198906(0x152)]||_0x3a0710[_0x198906(0x15c)],'attributes':{'quickActionData':{'id':_0x3a0710['id']},'displayedPrompt':_0x3a0710[_0x198906(0x15c)]}});}[_0x2ec14e(0x12a)](){const _0x509d6b=_0x2ec14e,_0x20b0e4=this[_0x509d6b(0x165)],_0x5c9131=_0x20b0e4[_0x509d6b(0x142)][_0x509d6b(0x12c)][_0x509d6b(0x13c)];if(!_0x5c9131[_0x509d6b(0x147)])return;const _0x108d34=_0x304e1c(_0x5c9131[_0x509d6b(0x12f)]())||_0x20b0e4[_0x509d6b(0x142)][_0x509d6b(0x13e)][_0x509d6b(0x146)](_0x5c9131);_0x20b0e4[_0x509d6b(0x142)][_0x509d6b(0x149)](_0x4c698f=>{const _0x3c9d35=_0x509d6b;_0x4c698f[_0x3c9d35(0x150)](_0x108d34,'in');});}[_0x2ec14e(0x14b)](_0x22091d){const _0x304821=_0x2ec14e;return _0x22091d[_0x304821(0x12e)]?.[_0x304821(0x163)]&&_0x304821(0x145)!==_0x22091d[_0x304821(0x12e)]?.['id']?_0x22091d[_0x304821(0x12e)][_0x304821(0x163)]+':\x20'+_0x22091d[_0x304821(0x15c)]:_0x22091d[_0x304821(0x15c)];}async[_0x2ec14e(0x156)](_0x56ae8d){const _0x52caf7=_0x2ec14e,_0x326d8c=this[_0x52caf7(0x165)][_0x52caf7(0x138)][_0x52caf7(0x133)](_0x52caf7(0x130)),_0x20f827=_0x56ae8d[_0x52caf7(0x152)]?{'userMessage':_0x56ae8d[_0x52caf7(0x152)],'model':_0x56ae8d[_0x52caf7(0x142)]}:{'actionName':_0x56ae8d[_0x52caf7(0x14c)]||_0x56ae8d['id'],'args':_0x56ae8d[_0x52caf7(0x153)]},_0x2c8f35=this[_0x52caf7(0x14b)](_0x56ae8d);await _0x326d8c[_0x52caf7(0x15e)](_0x20f827,_0x2c8f35,_0x56ae8d[_0x52caf7(0x131)]);}async[_0x2ec14e(0x154)](_0x485750){const _0xf419d6=_0x2ec14e;console[_0xf419d6(0x15d)](_0xf419d6(0x168),_0x485750);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56b095=_0x59f3;(function(_0x541670,_0x2ba21d){const _0xa510ba=_0x59f3,_0x15f064=_0x541670();while(!![]){try{const _0x1b25ac=parseInt(_0xa510ba(0x1b2))/0x1+-parseInt(_0xa510ba(0x1b7))/0x2*(-parseInt(_0xa510ba(0x1ca))/0x3)+-parseInt(_0xa510ba(0x1b9))/0x4*(-parseInt(_0xa510ba(0x1b6))/0x5)+-parseInt(_0xa510ba(0x1b3))/0x6*(parseInt(_0xa510ba(0x1ab))/0x7)+-parseInt(_0xa510ba(0x1c1))/0x8*(-parseInt(_0xa510ba(0x1c8))/0x9)+-parseInt(_0xa510ba(0x1bc))/0xa*(parseInt(_0xa510ba(0x1c9))/0xb)+-parseInt(_0xa510ba(0x1ba))/0xc*(parseInt(_0xa510ba(0x1c7))/0xd);if(_0x1b25ac===_0x2ba21d)break;else _0x15f064['push'](_0x15f064['shift']());}catch(_0x37ed6b){_0x15f064['push'](_0x15f064['shift']());}}}(_0x326d,0xe08c9));function _0x326d(){const _0x1ba205=['model','directChange','selection','AIChat','14514904eSqHgP','has','pluginName','removeSelectionFromChatContext','isOfficialPlugin','add','52lvIybd','9wEzrCb','11Gofvfs','1277568ZhBDML','425089UYZoRZ','editor','aiQuickAction','plugins','AIQuickActionsEditing','get','change:range','1409423QMLxyA','90kmiXlw','init','document','240DtFxDH','2HyDelU','commands','97368EntzTs','8699148EgPiRP','isPremiumPlugin','876840tctFEX'];_0x326d=function(){return _0x1ba205;};return _0x326d();}import{Plugin as _0x1be0b5}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x3d3c27}from'./aiquickactionscommand.js';function _0x59f3(_0x5c985a,_0x9fdef0){const _0x326db5=_0x326d();return _0x59f3=function(_0x59f32c,_0x1285c2){_0x59f32c=_0x59f32c-0x1ab;let _0x263509=_0x326db5[_0x59f32c];return _0x263509;},_0x59f3(_0x5c985a,_0x9fdef0);}export class AIQuickActionsEditing extends _0x1be0b5{static get[_0x56b095(0x1c3)](){const _0x1734bf=_0x56b095;return _0x1734bf(0x1af);}static get[_0x56b095(0x1c5)](){return!0x0;}static get[_0x56b095(0x1bb)](){return!0x0;}[_0x56b095(0x1b4)](){const _0x3c1e4b=_0x56b095,_0x48c990=this[_0x3c1e4b(0x1ac)],_0x262f68=new _0x3d3c27(this[_0x3c1e4b(0x1ac)]);if(_0x48c990[_0x3c1e4b(0x1b8)][_0x3c1e4b(0x1c6)](_0x3c1e4b(0x1ad),_0x262f68),_0x48c990[_0x3c1e4b(0x1ae)][_0x3c1e4b(0x1c2)](_0x3c1e4b(0x1c0))){const _0x5dcd46=this[_0x3c1e4b(0x1ac)][_0x3c1e4b(0x1ae)][_0x3c1e4b(0x1b0)](_0x3c1e4b(0x1c0));_0x48c990[_0x3c1e4b(0x1bd)][_0x3c1e4b(0x1b5)][_0x3c1e4b(0x1bf)]['on'](_0x3c1e4b(0x1b1),(_0x346287,_0x59bfb5)=>{const _0x3dc21f=_0x3c1e4b;_0x59bfb5[_0x3dc21f(0x1be)]&&_0x5dcd46[_0x3dc21f(0x1c4)]();});}}}
23
+ const _0x3e8254=_0x3aab;function _0x3aab(_0x4d9b72,_0xa7652){const _0x4f4e1f=_0x4f4e();return _0x3aab=function(_0x3aab7e,_0x5d88ff){_0x3aab7e=_0x3aab7e-0x1ed;let _0x248f0d=_0x4f4e1f[_0x3aab7e];return _0x248f0d;},_0x3aab(_0x4d9b72,_0xa7652);}(function(_0x5c828a,_0xc517ee){const _0x22cb4b=_0x3aab,_0x43e7a7=_0x5c828a();while(!![]){try{const _0x470103=-parseInt(_0x22cb4b(0x203))/0x1+-parseInt(_0x22cb4b(0x209))/0x2*(parseInt(_0x22cb4b(0x202))/0x3)+parseInt(_0x22cb4b(0x1fa))/0x4*(parseInt(_0x22cb4b(0x205))/0x5)+-parseInt(_0x22cb4b(0x1fc))/0x6+parseInt(_0x22cb4b(0x1f2))/0x7+parseInt(_0x22cb4b(0x204))/0x8+-parseInt(_0x22cb4b(0x1ee))/0x9*(-parseInt(_0x22cb4b(0x1f7))/0xa);if(_0x470103===_0xc517ee)break;else _0x43e7a7['push'](_0x43e7a7['shift']());}catch(_0x18cf21){_0x43e7a7['push'](_0x43e7a7['shift']());}}}(_0x4f4e,0x724d6));import{Plugin as _0x4b0ffd}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x529357}from'./aiquickactionscommand.js';function _0x4f4e(){const _0xa7abcb=['directChange','18516xyMoJE','741893HsjUrK','300848atFubj','8005kwCTiM','init','commands','isOfficialPlugin','88cnwesH','AIChat','8825409aJGXIo','aiQuickAction','selection','isPremiumPlugin','4236141hQvabp','model','plugins','document','get','10gfEHod','has','change:range','492SJBXGz','add','2031900HOKFWJ','pluginName','editor','AIQuickActionsEditing','removeSelectionFromChatContext'];_0x4f4e=function(){return _0xa7abcb;};return _0x4f4e();}export class AIQuickActionsEditing extends _0x4b0ffd{static get[_0x3e8254(0x1fd)](){const _0x58c948=_0x3e8254;return _0x58c948(0x1ff);}static get[_0x3e8254(0x208)](){return!0x0;}static get[_0x3e8254(0x1f1)](){return!0x0;}[_0x3e8254(0x206)](){const _0x3446d7=_0x3e8254,_0x481ffc=this[_0x3446d7(0x1fe)],_0xca2776=new _0x529357(this[_0x3446d7(0x1fe)]);if(_0x481ffc[_0x3446d7(0x207)][_0x3446d7(0x1fb)](_0x3446d7(0x1ef),_0xca2776),_0x481ffc[_0x3446d7(0x1f4)][_0x3446d7(0x1f8)](_0x3446d7(0x1ed))){const _0x5edaea=this[_0x3446d7(0x1fe)][_0x3446d7(0x1f4)][_0x3446d7(0x1f6)](_0x3446d7(0x1ed));_0x481ffc[_0x3446d7(0x1f3)][_0x3446d7(0x1f5)][_0x3446d7(0x1f0)]['on'](_0x3446d7(0x1f9),(_0x5a8872,_0x51b805)=>{const _0xe0738=_0x3446d7;_0x51b805[_0xe0738(0x201)]&&_0x5edaea[_0xe0738(0x200)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12867d=_0xe7bb;(function(_0x5b96f2,_0x3ae006){const _0x1a6e41=_0xe7bb,_0x3f3bd0=_0x5b96f2();while(!![]){try{const _0x5bbe05=-parseInt(_0x1a6e41(0x124))/0x1+-parseInt(_0x1a6e41(0x118))/0x2+parseInt(_0x1a6e41(0xc5))/0x3+parseInt(_0x1a6e41(0xa9))/0x4*(-parseInt(_0x1a6e41(0x127))/0x5)+parseInt(_0x1a6e41(0x10a))/0x6*(parseInt(_0x1a6e41(0xe7))/0x7)+parseInt(_0x1a6e41(0xd0))/0x8+parseInt(_0x1a6e41(0x13d))/0x9*(parseInt(_0x1a6e41(0x115))/0xa);if(_0x5bbe05===_0x3ae006)break;else _0x3f3bd0['push'](_0x3f3bd0['shift']());}catch(_0x136b45){_0x3f3bd0['push'](_0x3f3bd0['shift']());}}}(_0x3eb5,0xb2270));import{IconAIAdjustLength as _0x3f1d28,IconAIChangeTone as _0x2182c7,IconAIChatCommands as _0x4e3522,IconAIContinueWriting as _0x197a53,IconAIGrammarCheck as _0x592d1f,IconAIImproveWriting as _0x2e8cd6,IconAIOther as _0x8d1c54,IconAIQuickActions as _0x4690e6,IconAITranslate as _0x400a8c}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1ea037}from'ckeditor5/src/core.js';import{CKEditorError as _0x160cd5,logError as _0x4b5475}from'ckeditor5/src/utils.js';import{getTranslation as _0x136237}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4bc92b}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x55fccd}from'./ui/aiquickactionsbuttoncreator.js';function _0xe7bb(_0x5e782e,_0x131fbe){const _0x3eb5a8=_0x3eb5();return _0xe7bb=function(_0xe7bbec,_0x1eeb29){_0xe7bbec=_0xe7bbec-0xa0;let _0x1d1950=_0x3eb5a8[_0xe7bbec];return _0x1d1950;},_0xe7bb(_0x5e782e,_0x131fbe);}import{BodyCollection as _0x3f8741,BalloonToolbar as _0x5677f6,MenuBarMenuView as _0x12067d,MenuBarMenuListView as _0x4687a4,MenuBarMenuListItemView as _0x14d2db,MenuBarMenuListItemButtonView as _0x330456}from'ckeditor5/src/ui.js';import{AIModels as _0x1999eb}from'../aicore/model/aimodels.js';import{AIConnector as _0x285015}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x12867d(0xf6),ie=_0x12867d(0x10b),ne=_0x12867d(0x106);export var AIQuickActionType;!function(_0x43134c){const _0x90daa5=_0x12867d;_0x43134c[_0x90daa5(0xe6)]=_0x90daa5(0xe6),_0x43134c[_0x90daa5(0xfa)]=_0x90daa5(0xfa),_0x43134c[_0x90daa5(0xd2)]=_0x90daa5(0xd2);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x38279a){const _0x158a63=_0x12867d;_0x38279a[_0x158a63(0xe6)]=_0x158a63(0xef),_0x38279a[_0x158a63(0xfa)]=_0x158a63(0xf2),_0x38279a[_0x158a63(0xd2)]=_0x158a63(0xca);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1ea037{static get[_0x12867d(0xc0)](){return[_0x5677f6,_0x285015];}static get[_0x12867d(0x116)](){const _0x137bb7=_0x12867d;return _0x137bb7(0x12e);}static get[_0x12867d(0xa4)](){return!0x0;}static get[_0x12867d(0x105)](){return!0x0;}async[_0x12867d(0xbe)](){const _0x3b5d3a=_0x12867d,_0x23bac8=await this[_0x3b5d3a(0xae)]();this[_0x3b5d3a(0xd7)](_0x23bac8),this[_0x3b5d3a(0xde)]();}static[_0x12867d(0xf3)](_0x1aeee4){return function(_0x263fef){const _0xdf8972=_0xe7bb,_0x270c26=new Intl[(_0xdf8972(0xf9))](['en'],{'type':_0xdf8972(0x100)})['of'](_0x263fef[_0xdf8972(0x114)]),_0x526885=_0x270c26||_0xdf8972(0xea),_0x2dc68d=[{'id':_0xdf8972(0xfd),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xbb)),'type':AIQuickActionType[_0xdf8972(0xe6)],'icon':_0x4e3522},{'id':_0xdf8972(0xa3),'label':_0x136237(_0x263fef,_0xdf8972(0xa7)),'icon':_0x4e3522,'actions':[{'id':_0xdf8972(0x102),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x11d)),'prompt':ee[_0xdf8972(0x12c)]('%0',_0x526885),'type':AIQuickActionType[_0xdf8972(0xe6)]},{'id':_0xdf8972(0xc7),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x12f)),'prompt':ie[_0xdf8972(0x12c)]('%0',_0x526885),'type':AIQuickActionType[_0xdf8972(0xe6)]},{'id':_0xdf8972(0xee),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xf1)),'prompt':ne[_0xdf8972(0x12c)]('%0',_0x526885),'type':AIQuickActionType[_0xdf8972(0xe6)]}]},{'id':_0xdf8972(0x13f),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb1)),'type':AIQuickActionType[_0xdf8972(0xfa)],'icon':_0x2e8cd6},{'id':_0xdf8972(0xb0),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x11f)),'type':AIQuickActionType[_0xdf8972(0xfa)],'icon':_0x197a53},{'id':_0xdf8972(0x111),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb7)),'type':AIQuickActionType[_0xdf8972(0xfa)],'icon':_0x592d1f},{'id':_0xdf8972(0xec),'label':_0x136237(_0x263fef,_0xdf8972(0xad)),'icon':_0x3f1d28,'actions':[{'id':_0xdf8972(0x136),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10e)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xda),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x110)),'type':AIQuickActionType[_0xdf8972(0xfa)]}]},{'id':_0xdf8972(0xbf),'label':_0x136237(_0x263fef,_0xdf8972(0xfb)),'icon':_0x2182c7,'actions':[{'id':_0xdf8972(0x137),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xc9)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xdf),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10d)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xb8),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xaf)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0x130),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xe1)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xcd),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb5)),'type':AIQuickActionType[_0xdf8972(0xfa)]}]},{'id':_0xdf8972(0xce),'label':_0x136237(_0x263fef,_0xdf8972(0xfc)),'icon':_0x400a8c,'actions':[{'id':_0xdf8972(0xed),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xe9)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xd8)}},{'id':_0xdf8972(0x119),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb4)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x11a)}},{'id':_0xdf8972(0xd5),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xd3)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xc8)}},{'id':_0xdf8972(0x13a),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xa8)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x131)}},{'id':_0xdf8972(0xcb),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xe2)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xf0)}},{'id':_0xdf8972(0x113),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x101)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x11e)}},{'id':_0xdf8972(0xff),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x13b)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x138)}},{'id':_0xdf8972(0xfe),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10f)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x104)}},{'id':_0xdf8972(0xba),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10c)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x121)}},{'id':_0xdf8972(0x135),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x128)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xaa)}}]},{'id':_0xdf8972(0x112),'label':_0x136237(_0x263fef,_0xdf8972(0xb3)),'icon':_0x8d1c54,'actions':[]}];return _0x2dc68d;}(_0x1aeee4);}async[_0x12867d(0xae)](){const _0x1dd5f4=_0x12867d,_0x17e048=AIQuickActionsUI[_0x1dd5f4(0xf3)](this[_0x1dd5f4(0x139)][_0x1dd5f4(0xac)]),_0xfb5417=this[_0x1dd5f4(0x139)][_0x1dd5f4(0x11c)][_0x1dd5f4(0x108)](_0x1dd5f4(0xb9))||[];let _0x16ae56=[];try{_0x16ae56=await new _0x1999eb({'connector':this[_0x1dd5f4(0x139)][_0x1dd5f4(0x125)][_0x1dd5f4(0x108)](_0x1dd5f4(0xe3)),'locale':this[_0x1dd5f4(0x139)][_0x1dd5f4(0xac)]})[_0x1dd5f4(0x103)]();}catch(_0x4dd0a0){const _0x460b99=new _0x160cd5(_0x1dd5f4(0x11b),this,{'error':_0x4dd0a0});_0x4b5475(_0x460b99[_0x1dd5f4(0xb2)]);}finally{const _0x32c3ed=_0xfb5417[_0x1dd5f4(0xa0)](_0x2676bc=>({..._0x2676bc,'icon':void 0x0}));_0x17e048[_0x1dd5f4(0xe5)](_0x3085cb=>_0x1dd5f4(0x112)===_0x3085cb['id'])[_0x1dd5f4(0xd6)][_0x1dd5f4(0xe4)](..._0x32c3ed),_0x17e048[_0x1dd5f4(0x12b)](_0x45c5f5=>{const _0x55f12e=_0x1dd5f4;if(_0x55f12e(0xd6)in _0x45c5f5)_0x45c5f5[_0x55f12e(0xd6)][_0x55f12e(0x12b)](_0x29a16f=>{const _0x2cb32f=_0x55f12e;if(_0x29a16f[_0x2cb32f(0xb6)]=!!_0x16ae56[_0x2cb32f(0xe5)](_0x201f86=>_0x201f86['id']===_0x29a16f[_0x2cb32f(0x134)])||void 0x0===_0x29a16f[_0x2cb32f(0x134)],!_0x29a16f[_0x2cb32f(0xb6)]){const _0x3d476a=new _0x160cd5(_0x2cb32f(0x140),this,{'actionId':_0x29a16f['id'],'modelId':_0x29a16f[_0x2cb32f(0x134)]});_0x4b5475(_0x3d476a[_0x2cb32f(0xb2)]);}});else{if(_0x45c5f5[_0x55f12e(0xb6)]=!!_0x16ae56[_0x55f12e(0xe5)](_0xb7e63c=>_0xb7e63c['id']===_0x45c5f5[_0x55f12e(0x134)])||void 0x0===_0x45c5f5[_0x55f12e(0x134)],!_0x45c5f5[_0x55f12e(0xb6)]){const _0x3be286=new _0x160cd5(_0x55f12e(0x140),this,{'actionId':_0x45c5f5['id'],'modelId':_0x45c5f5[_0x55f12e(0x134)]});_0x4b5475(_0x3be286[_0x55f12e(0xb2)]);}}});}return _0x17e048;}[_0x12867d(0xde)](){const _0x7344df=_0x12867d,_0x22e0c2=new _0x3f8741(this[_0x7344df(0x139)][_0x7344df(0xac)]);_0x22e0c2[_0x7344df(0xf5)](),this[_0x7344df(0xc1)](_0x22e0c2),this[_0x7344df(0xcf)](),this[_0x7344df(0x12a)](_0x22e0c2);}[_0x12867d(0xc1)](_0x28f779){const _0x207f51=_0x12867d,_0x5216e8=this[_0x207f51(0x139)][_0x207f51(0x11c)][_0x207f51(0x108)](_0x207f51(0xc3))??!0x0;this[_0x207f51(0x139)]['ui'][_0x207f51(0x109)][_0x207f51(0xa5)](_0x207f51(0xd1),_0x4bc92b({'editor':this[_0x207f51(0x139)],'content':this[_0x207f51(0x123)],'buttonDefinition':{'icon':_0x4690e6,'label':_0x136237(this[_0x207f51(0x139)][_0x207f51(0xac)],_0x207f51(0xa1))},'bodyCollection':_0x28f779,'hasSearch':_0x5216e8}));}[_0x12867d(0xd7)](_0x43bc38){const _0x3c1c3c=_0x12867d;this[_0x3c1c3c(0x123)]=_0x43bc38[_0x3c1c3c(0xa0)](_0x5214d9=>{const _0x3d0b4d=_0x3c1c3c;if(_0x3d0b4d(0xd6)in _0x5214d9){const _0x1fae32=_0x5214d9;return{..._0x1fae32,'actions':_0x1fae32[_0x3d0b4d(0xd6)][_0x3d0b4d(0xa0)](_0xefed40=>{const {actions:_0x37f500,..._0x161575}=_0x1fae32;return{..._0xefed40,'parent':_0x161575};})[_0x3d0b4d(0x126)](_0x4e3b91=>this[_0x3d0b4d(0xdb)](_0x4e3b91))};}return _0x5214d9;})[_0x3c1c3c(0x126)](_0x3d5239=>_0x3c1c3c(0xd6)in _0x3d5239?_0x3d5239[_0x3c1c3c(0xd6)][_0x3c1c3c(0xa2)]>0x0:this[_0x3c1c3c(0xdb)](_0x3d5239));}[_0x12867d(0xdb)](_0x2e9538){const _0x26bfe1=_0x12867d,_0xcc086b=this[_0x26bfe1(0x139)][_0x26bfe1(0x11c)][_0x26bfe1(0x108)](_0x26bfe1(0xe0))||[];return this[_0x26bfe1(0x139)][_0x26bfe1(0x125)][_0x26bfe1(0xbc)](AIQuickActionTypeToPluginName[_0x2e9538[_0x26bfe1(0xc2)]])&&!_0xcc086b[_0x26bfe1(0xd4)](_0x2e9538['id'])&&!(_0x2e9538[_0x26bfe1(0xc2)]===AIQuickActionType[_0x26bfe1(0xe6)]&&!0x1===this[_0x26bfe1(0x139)][_0x26bfe1(0x11c)][_0x26bfe1(0x108)](_0x26bfe1(0xdd)));}[_0x12867d(0x12a)](_0x2ca2c6){const _0x110f38=_0x12867d;this[_0x110f38(0x123)][_0x110f38(0x12b)](_0x51c092=>{const _0x1da64c=_0x110f38;if(_0x1da64c(0xd6)in _0x51c092){const _0x4219cd=_0x4bc92b({'editor':this[_0x1da64c(0x139)],'content':_0x51c092[_0x1da64c(0xd6)],'buttonDefinition':_0x51c092,'bodyCollection':_0x2ca2c6});this[_0x1da64c(0x139)]['ui'][_0x1da64c(0x109)][_0x1da64c(0xa5)](_0x51c092['id'],_0x4219cd),_0x51c092[_0x1da64c(0xd6)][_0x1da64c(0x12b)](_0x1f122c=>{const _0x5e4ce0=_0x1da64c,_0x215ec6=_0x55fccd({'editor':this[_0x5e4ce0(0x139)],'action':_0x1f122c});this[_0x5e4ce0(0x139)]['ui'][_0x5e4ce0(0x109)][_0x5e4ce0(0xa5)](_0x1f122c['id'],_0x215ec6);});}else{const _0x4fda4b=_0x55fccd({'editor':this[_0x1da64c(0x139)],'action':_0x51c092,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x1da64c(0x139)]['ui'][_0x1da64c(0x109)][_0x1da64c(0xa5)](_0x51c092['id'],_0x4fda4b);}});}[_0x12867d(0xcf)](){const _0x275fd0=_0x12867d;this[_0x275fd0(0x139)]['ui'][_0x275fd0(0x109)][_0x275fd0(0xa5)](_0x275fd0(0x132),_0x181b5d=>{const _0x45d264=_0x275fd0,_0x3bd075=new _0x12067d(_0x181b5d),_0x1401bd=_0x136237(_0x181b5d,_0x45d264(0xa1));_0x3bd075[_0x45d264(0xc4)][_0x45d264(0x13e)]({'label':_0x1401bd,'icon':_0x4690e6});const _0x16bfe0=new _0x4687a4(_0x181b5d);_0x16bfe0[_0x45d264(0x13e)]({'ariaLabel':_0x1401bd,'role':_0x45d264(0xc6)}),this[_0x45d264(0x123)][_0x45d264(0x12b)](_0x45b74f=>{const _0x54b5cd=_0x45d264;if(_0x54b5cd(0xd6)in _0x45b74f){const _0x413e0b=_0x45b74f,_0xb8f738=new _0x14d2db(_0x181b5d,_0x3bd075),_0x3bfc28=new _0x12067d(_0x181b5d),_0x5454e2=new _0x4687a4(_0x181b5d);_0x3bfc28[_0x54b5cd(0xc4)][_0x54b5cd(0x13e)]({'label':_0x413e0b[_0x54b5cd(0x122)],'icon':_0x413e0b[_0x54b5cd(0x117)]}),_0x413e0b[_0x54b5cd(0xd6)][_0x54b5cd(0x12b)](_0x69ea1b=>{const _0x2cb492=_0x54b5cd,_0x535d57=new _0x14d2db(_0x181b5d,_0x3bfc28),_0x48b77c=new _0x330456(_0x181b5d);_0x48b77c[_0x2cb492(0x13e)]({'label':_0x69ea1b[_0x2cb492(0xf4)],'icon':_0x69ea1b[_0x2cb492(0x117)],'role':_0x2cb492(0x107),'isEnabled':_0x69ea1b[_0x2cb492(0xb6)]}),_0x48b77c['on'](_0x2cb492(0x133),()=>{const _0x1a4728=_0x2cb492;this[_0x1a4728(0xf8)](_0x69ea1b);}),_0x48b77c[_0x2cb492(0xeb)](_0x2cb492(0x133))['to'](_0x3bfc28),_0x535d57[_0x2cb492(0xf7)][_0x2cb492(0xa5)](_0x48b77c),_0x5454e2[_0x2cb492(0xab)][_0x2cb492(0xa5)](_0x535d57);}),_0x3bfc28[_0x54b5cd(0x120)][_0x54b5cd(0xf7)][_0x54b5cd(0xa5)](_0x5454e2),_0xb8f738[_0x54b5cd(0xf7)][_0x54b5cd(0xa5)](_0x3bfc28),_0x16bfe0[_0x54b5cd(0xab)][_0x54b5cd(0xa5)](_0xb8f738);}else{const _0x548d71=_0x45b74f,_0x437254=new _0x14d2db(_0x181b5d,_0x3bd075),_0x3610c1=new _0x330456(_0x181b5d);_0x3610c1[_0x54b5cd(0x13e)]({'label':_0x548d71[_0x54b5cd(0xf4)],'icon':_0x548d71[_0x54b5cd(0x117)],'role':_0x54b5cd(0x107),'isEnabled':_0x548d71[_0x54b5cd(0xb6)]}),_0x3610c1['on'](_0x54b5cd(0x133),()=>{const _0x37f90b=_0x54b5cd;this[_0x37f90b(0xf8)](_0x548d71);}),_0x3610c1[_0x54b5cd(0xeb)](_0x54b5cd(0x133))['to'](_0x3bd075),_0x437254[_0x54b5cd(0xf7)][_0x54b5cd(0xa5)](_0x3610c1),_0x16bfe0[_0x54b5cd(0xab)][_0x54b5cd(0xa5)](_0x437254);}});const _0x2b52af=Object[_0x45d264(0xd9)](AIQuickActionTypeToPluginName)[_0x45d264(0xbd)](_0x5132cf=>this[_0x45d264(0x139)][_0x45d264(0x125)][_0x45d264(0xbc)](_0x5132cf));return _0x3bd075[_0x45d264(0x13e)]({'isEnabled':_0x2b52af}),_0x3bd075[_0x45d264(0x120)][_0x45d264(0xf7)][_0x45d264(0xa5)](_0x16bfe0),_0x3bd075;});}[_0x12867d(0xf8)](_0x5df2e5){const _0xbc84e7=_0x12867d,_0x570482=this[_0xbc84e7(0x139)];_0x570482[_0xbc84e7(0xe8)][_0xbc84e7(0xa6)][_0xbc84e7(0x12d)](),_0x570482[_0xbc84e7(0x129)][_0xbc84e7(0x133)](_0xbc84e7(0x13c),_0x5df2e5);const _0x2d2ed3=_0x570482['ui'][_0xbc84e7(0xa6)][_0xbc84e7(0xdc)];_0x2d2ed3&&_0x2d2ed3[_0xbc84e7(0xcc)]&&_0x2d2ed3[_0xbc84e7(0xcc)]();}}function _0x3eb5(){const _0x110dc3=['AI_QUICK_ACTIONS_ASK_AI','has','some','init','change-tone','requires','_initializeQuickActionsDropdown','type','ai.quickActions.isSearchEnabled','buttonView','2827830wmEqAl','menu','summarize','spanish','AI_QUICK_ACTIONS_MORE_CASUAL','AIReviewMode','translate-to-french','close','make-tone-professional','translate','_initializeQuickActionsMenuBar','6146128OGljEP','aiQuickActions','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','includes','translate-to-spanish','actions','_prepareQuickActionsDefinition','english','values','make-longer','_shouldIncludeAction','menuBarView','ai.chat.context.document.enabled','_initializeQuickActionsComponentsAndCommands','make-tone-direct','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AIConnector','push','find','CHAT','28YiDoxF','editing','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','English','delegate','adjust-length','translate-to-english','highlight-key-points','AIChat','french','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIActions','getDefaultQuickActions','displayedPrompt','attachToDom','<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>','children','_executeQuickAction','DisplayNames','ACTION','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_TRANSLATE','ask-ai','translate-to-korean','translate-to-portuguese','language','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','explain','getAll','korean','isPremiumPlugin','<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>','menuitem','get','componentFactory','1275066WbfcWA','<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_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_MAKE_LONGER','fix-grammar','other','translate-to-japanese','uiLanguage','19100MbeSJj','pluginName','icon','1699842ICZStO','translate-to-chinese','chinese','ai-quick-actions-models-unable-to-retrieve','config','AI_QUICK_ACTIONS_EXPLAIN','japanese','AI_QUICK_ACTIONS_CONTINUE_WRITING','panelView','italian','label','_quickActionsDefinition','920629jDoPmh','plugins','filter','2013895myVlXS','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','commands','_initializeQuickActionsComponents','forEach','replace','focus','AIQuickActionsUI','AI_QUICK_ACTIONS_SUMMARIZE','make-tone-confident','german','menuBar:aiQuickActions','execute','model','translate-to-russian','make-shorter','make-tone-casual','portuguese','editor','translate-to-german','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','aiQuickAction','3510OHakbX','set','improve-writing','ai-quick-actions-unavailable-model','map','AI_QUICK_ACTIONS_HEADING','length','chat-commands','isOfficialPlugin','add','view','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','8rSAHUu','russian','items','locale','AI_QUICK_ACTIONS_ADJUST_LENGTH','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_MORE_FRIENDLY','continue','AI_QUICK_ACTIONS_IMPROVE_WRITING','message','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','isEnabled','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','make-tone-friendly','ai.quickActions.extraCommands','translate-to-italian'];_0x3eb5=function(){return _0x110dc3;};return _0x3eb5();}
23
+ const _0x5aeb24=_0x2e48;(function(_0x3f3448,_0x531ae8){const _0x3a5292=_0x2e48,_0x25d6b0=_0x3f3448();while(!![]){try{const _0x13d06f=-parseInt(_0x3a5292(0x217))/0x1+parseInt(_0x3a5292(0x23a))/0x2+-parseInt(_0x3a5292(0x1f8))/0x3+-parseInt(_0x3a5292(0x223))/0x4+-parseInt(_0x3a5292(0x231))/0x5*(-parseInt(_0x3a5292(0x229))/0x6)+-parseInt(_0x3a5292(0x236))/0x7*(-parseInt(_0x3a5292(0x1e1))/0x8)+-parseInt(_0x3a5292(0x1ef))/0x9;if(_0x13d06f===_0x531ae8)break;else _0x25d6b0['push'](_0x25d6b0['shift']());}catch(_0x344997){_0x25d6b0['push'](_0x25d6b0['shift']());}}}(_0x517a,0x74777));function _0x517a(){const _0x5b8385=['isPremiumPlugin','1510Jfyagi','menuBarView','make-longer','<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-models-unable-to-retrieve','781123ONKcoG','isEnabled','_initializeQuickActionsMenuBar','filter','622526bSEHkQ','<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_TRANSLATE_CHINESE','English','_initializeQuickActionsDropdown','values','has','AI_QUICK_ACTIONS_MORE_CONFIDENT','commands','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','type','attachToDom','translate-to-italian','menuBar:aiQuickActions','forEach','getDefaultQuickActions','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','spanish','panelView','translate-to-japanese','ai-quick-actions-unavailable-model','italian','children','AIChat','items','delegate','editing','chinese','<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>','focus','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','ai.chat.context.document.enabled','displayedPrompt','translate-to-russian','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','other','componentFactory','summarize','icon','_executeQuickAction','AI_QUICK_ACTIONS_MORE_FRIENDLY','locale','label','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','map','explain','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_OTHER','requires','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-chinese','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','add','init','_shouldIncludeAction','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate-to-spanish','german','make-tone-professional','_quickActionsDefinition','DisplayNames','fix-grammar','translate-to-korean','AI_QUICK_ACTIONS_ASK_AI','uiLanguage','24FoOczd','make-tone-confident','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','some','getAll','length','AI_QUICK_ACTIONS_MAKE_LONGER','config','make-tone-casual','ACTION','language','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','_prepareQuickActionsDefinition','6248349EhtbTD','make-tone-friendly','AI_QUICK_ACTIONS_MORE_CASUAL','get','menu','translate-to-german','highlight-key-points','ai.quickActions.extraCommands','_initializeQuickActionsComponents','293499BjmmpG','russian','message','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','improve-writing','set','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','actions','AI_QUICK_ACTIONS_IMPROVE_WRITING','model','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','continue','push','translate-to-french','translate','REVIEW','french','AI_QUICK_ACTIONS_CHAT_COMMANDS','AIActions','execute','includes','AIConnector','chat-commands','buttonView','translate-to-english','close','AI_QUICK_ACTIONS_CHANGE_TONE','ai.quickActions.isSearchEnabled','translate-to-portuguese','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_SUMMARIZE','111439TBzPym','view','find','change-tone','korean','ask-ai','AIQuickActionsUI','portuguese','editor','isOfficialPlugin','plugins','japanese','336688aOWzOr','CHAT','AIReviewMode','make-tone-direct','pluginName','aiQuickActions','16266UWiJwa','adjust-length','aiQuickAction','AI_QUICK_ACTIONS_HEADING','english','replace','AI_QUICK_ACTIONS_MORE_DIRECT'];_0x517a=function(){return _0x5b8385;};return _0x517a();}import{IconAIAdjustLength as _0x350300,IconAIChangeTone as _0x43c613,IconAIChatCommands as _0x1ab747,IconAIContinueWriting as _0x24e520,IconAIGrammarCheck as _0x4b8727,IconAIImproveWriting as _0x3bbce0,IconAIOther as _0x1e6d1f,IconAIQuickActions as _0x567bfa,IconAITranslate as _0x516f76}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2ca796}from'ckeditor5/src/core.js';import{CKEditorError as _0xfb552,logError as _0x95974c}from'ckeditor5/src/utils.js';import{getTranslation as _0x501a19}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x531a4c}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x43a96a}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x8e18dc,BalloonToolbar as _0xa4249a,MenuBarMenuView as _0x39d651,MenuBarMenuListView as _0xf4e266,MenuBarMenuListItemView as _0x12d4c7,MenuBarMenuListItemButtonView as _0x5ebc55}from'ckeditor5/src/ui.js';import{AIModels as _0xe3c4cc}from'../aicore/model/aimodels.js';import{AIConnector as _0x30cf98}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x5aeb24(0x234),ie=_0x5aeb24(0x23b),ne=_0x5aeb24(0x257);export var AIQuickActionType;!function(_0x14ff52){const _0x63a337=_0x5aeb24;_0x14ff52[_0x63a337(0x224)]=_0x63a337(0x224),_0x14ff52[_0x63a337(0x1eb)]=_0x63a337(0x1eb),_0x14ff52[_0x63a337(0x207)]=_0x63a337(0x207);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x256f3e){const _0x332891=_0x5aeb24;_0x256f3e[_0x332891(0x224)]=_0x332891(0x252),_0x256f3e[_0x332891(0x1eb)]=_0x332891(0x20a),_0x256f3e[_0x332891(0x207)]=_0x332891(0x225);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x2e48(_0x14fdaa,_0xc989c4){const _0x517afc=_0x517a();return _0x2e48=function(_0x2e48d8,_0x31acd9){_0x2e48d8=_0x2e48d8-0x1d0;let _0x2beed5=_0x517afc[_0x2e48d8];return _0x2beed5;},_0x2e48(_0x14fdaa,_0xc989c4);}export class AIQuickActionsUI extends _0x2ca796{static get[_0x5aeb24(0x26d)](){return[_0xa4249a,_0x30cf98];}static get[_0x5aeb24(0x227)](){const _0x171ec3=_0x5aeb24;return _0x171ec3(0x21d);}static get[_0x5aeb24(0x220)](){return!0x0;}static get[_0x5aeb24(0x230)](){return!0x0;}async[_0x5aeb24(0x1d3)](){const _0x10df6e=_0x5aeb24,_0x4b1e48=await this[_0x10df6e(0x215)]();this[_0x10df6e(0x1ee)](_0x4b1e48),this[_0x10df6e(0x25e)]();}static[_0x5aeb24(0x249)](_0x467180){return function(_0x267dfd){const _0x160f1d=_0x2e48,_0x195d38=new Intl[(_0x160f1d(0x1dc))](['en'],{'type':_0x160f1d(0x1ec)})['of'](_0x267dfd[_0x160f1d(0x1e0)]),_0x4dd819=_0x195d38||_0x160f1d(0x23d),_0x44a1d4=[{'id':_0x160f1d(0x21c),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1df)),'type':AIQuickActionType[_0x160f1d(0x224)],'icon':_0x1ab747},{'id':_0x160f1d(0x20e),'label':_0x501a19(_0x267dfd,_0x160f1d(0x209)),'icon':_0x1ab747,'actions':[{'id':_0x160f1d(0x26a),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1d5)),'prompt':ee[_0x160f1d(0x22e)]('%0',_0x4dd819),'type':AIQuickActionType[_0x160f1d(0x224)]},{'id':_0x160f1d(0x262),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x216)),'prompt':ie[_0x160f1d(0x22e)]('%0',_0x4dd819),'type':AIQuickActionType[_0x160f1d(0x224)]},{'id':_0x160f1d(0x1f5),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x24a)),'prompt':ne[_0x160f1d(0x22e)]('%0',_0x4dd819),'type':AIQuickActionType[_0x160f1d(0x224)]}]},{'id':_0x160f1d(0x1fc),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x200)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'icon':_0x3bbce0},{'id':_0x160f1d(0x203),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x26e)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'icon':_0x24e520},{'id':_0x160f1d(0x1dd),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1ed)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'icon':_0x4b8727},{'id':_0x160f1d(0x22a),'label':_0x501a19(_0x267dfd,_0x160f1d(0x1d7)),'icon':_0x350300,'actions':[{'id':_0x160f1d(0x1e3),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x26b)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x233),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1e8)),'type':AIQuickActionType[_0x160f1d(0x1eb)]}]},{'id':_0x160f1d(0x21a),'label':_0x501a19(_0x267dfd,_0x160f1d(0x212)),'icon':_0x43c613,'actions':[{'id':_0x160f1d(0x1ea),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1f1)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x226),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x22f)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x1f0),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x265)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x1e2),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x241)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x1da),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x25f)),'type':AIQuickActionType[_0x160f1d(0x1eb)]}]},{'id':_0x160f1d(0x206),'label':_0x501a19(_0x267dfd,_0x160f1d(0x1d6)),'icon':_0x516f76,'actions':[{'id':_0x160f1d(0x210),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1d0)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x22d)}},{'id':_0x160f1d(0x26f),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x23c)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x256)}},{'id':_0x160f1d(0x1d8),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x202)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x24c)}},{'id':_0x160f1d(0x1f4),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x243)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x1d9)}},{'id':_0x160f1d(0x205),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1fb)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x208)}},{'id':_0x160f1d(0x24e),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1e4)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x222)}},{'id':_0x160f1d(0x214),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x268)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x21e)}},{'id':_0x160f1d(0x1de),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1fe)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x21b)}},{'id':_0x160f1d(0x246),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1d1)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x250)}},{'id':_0x160f1d(0x25d),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x25a)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x1f9)}}]},{'id':_0x160f1d(0x260),'label':_0x501a19(_0x267dfd,_0x160f1d(0x26c)),'icon':_0x1e6d1f,'actions':[]}];return _0x44a1d4;}(_0x467180);}async[_0x5aeb24(0x215)](){const _0x2ec2dd=_0x5aeb24,_0x24e243=AIQuickActionsUI[_0x2ec2dd(0x249)](this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x266)]),_0x8803bb=this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x1e9)][_0x2ec2dd(0x1f2)](_0x2ec2dd(0x1f6))||[];let _0x3b2bab=[];try{_0x3b2bab=await new _0xe3c4cc({'connector':this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x221)][_0x2ec2dd(0x1f2)](_0x2ec2dd(0x20d)),'locale':this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x266)]})[_0x2ec2dd(0x1e6)]();}catch(_0x2a50c6){const _0x494a2e=new _0xfb552(_0x2ec2dd(0x235),this,{'error':_0x2a50c6});_0x95974c(_0x494a2e[_0x2ec2dd(0x1fa)]);}finally{const _0x34100a=_0x8803bb[_0x2ec2dd(0x269)](_0x1d9028=>({..._0x1d9028,'icon':void 0x0}));_0x24e243[_0x2ec2dd(0x219)](_0x155d61=>_0x2ec2dd(0x260)===_0x155d61['id'])[_0x2ec2dd(0x1ff)][_0x2ec2dd(0x204)](..._0x34100a),_0x24e243[_0x2ec2dd(0x248)](_0x6f4250=>{const _0x28be51=_0x2ec2dd;if(_0x28be51(0x1ff)in _0x6f4250)_0x6f4250[_0x28be51(0x1ff)][_0x28be51(0x248)](_0x5b5d0a=>{const _0x1e02c1=_0x28be51;if(_0x5b5d0a[_0x1e02c1(0x237)]=!!_0x3b2bab[_0x1e02c1(0x219)](_0x3faa16=>_0x3faa16['id']===_0x5b5d0a[_0x1e02c1(0x201)])||void 0x0===_0x5b5d0a[_0x1e02c1(0x201)],!_0x5b5d0a[_0x1e02c1(0x237)]){const _0x1f2e93=new _0xfb552(_0x1e02c1(0x24f),this,{'actionId':_0x5b5d0a['id'],'modelId':_0x5b5d0a[_0x1e02c1(0x201)]});_0x95974c(_0x1f2e93[_0x1e02c1(0x1fa)]);}});else{if(_0x6f4250[_0x28be51(0x237)]=!!_0x3b2bab[_0x28be51(0x219)](_0x393b3c=>_0x393b3c['id']===_0x6f4250[_0x28be51(0x201)])||void 0x0===_0x6f4250[_0x28be51(0x201)],!_0x6f4250[_0x28be51(0x237)]){const _0x3645f6=new _0xfb552(_0x28be51(0x24f),this,{'actionId':_0x6f4250['id'],'modelId':_0x6f4250[_0x28be51(0x201)]});_0x95974c(_0x3645f6[_0x28be51(0x1fa)]);}}});}return _0x24e243;}[_0x5aeb24(0x25e)](){const _0x2ffb9a=_0x5aeb24,_0x246f03=new _0x8e18dc(this[_0x2ffb9a(0x21f)][_0x2ffb9a(0x266)]);_0x246f03[_0x2ffb9a(0x245)](),this[_0x2ffb9a(0x23e)](_0x246f03),this[_0x2ffb9a(0x238)](),this[_0x2ffb9a(0x1f7)](_0x246f03);}[_0x5aeb24(0x23e)](_0x1acae3){const _0x213e7e=_0x5aeb24,_0x26796d=this[_0x213e7e(0x21f)][_0x213e7e(0x1e9)][_0x213e7e(0x1f2)](_0x213e7e(0x213))??!0x0;this[_0x213e7e(0x21f)]['ui'][_0x213e7e(0x261)][_0x213e7e(0x1d2)](_0x213e7e(0x228),_0x531a4c({'editor':this[_0x213e7e(0x21f)],'content':this[_0x213e7e(0x1db)],'buttonDefinition':{'icon':_0x567bfa,'label':_0x501a19(this[_0x213e7e(0x21f)][_0x213e7e(0x266)],_0x213e7e(0x22c))},'bodyCollection':_0x1acae3,'hasSearch':_0x26796d}));}[_0x5aeb24(0x1ee)](_0x54b120){const _0x14dfc4=_0x5aeb24;this[_0x14dfc4(0x1db)]=_0x54b120[_0x14dfc4(0x269)](_0x4bfb1a=>{const _0x473cb1=_0x14dfc4;if(_0x473cb1(0x1ff)in _0x4bfb1a){const _0x46e01b=_0x4bfb1a;return{..._0x46e01b,'actions':_0x46e01b[_0x473cb1(0x1ff)][_0x473cb1(0x269)](_0xb8c564=>{const {actions:_0x496ca4,..._0x4d2ed1}=_0x46e01b;return{..._0xb8c564,'parent':_0x4d2ed1};})[_0x473cb1(0x239)](_0x3ab44d=>this[_0x473cb1(0x1d4)](_0x3ab44d))};}return _0x4bfb1a;})[_0x14dfc4(0x239)](_0x8b53ec=>_0x14dfc4(0x1ff)in _0x8b53ec?_0x8b53ec[_0x14dfc4(0x1ff)][_0x14dfc4(0x1e7)]>0x0:this[_0x14dfc4(0x1d4)](_0x8b53ec));}[_0x5aeb24(0x1d4)](_0x1f00c4){const _0x4ac0ce=_0x5aeb24,_0x1cde39=this[_0x4ac0ce(0x21f)][_0x4ac0ce(0x1e9)][_0x4ac0ce(0x1f2)](_0x4ac0ce(0x259))||[];return this[_0x4ac0ce(0x21f)][_0x4ac0ce(0x221)][_0x4ac0ce(0x240)](AIQuickActionTypeToPluginName[_0x1f00c4[_0x4ac0ce(0x244)]])&&!_0x1cde39[_0x4ac0ce(0x20c)](_0x1f00c4['id'])&&!(_0x1f00c4[_0x4ac0ce(0x244)]===AIQuickActionType[_0x4ac0ce(0x224)]&&!0x1===this[_0x4ac0ce(0x21f)][_0x4ac0ce(0x1e9)][_0x4ac0ce(0x1f2)](_0x4ac0ce(0x25b)));}[_0x5aeb24(0x1f7)](_0x1374f8){const _0x134120=_0x5aeb24;this[_0x134120(0x1db)][_0x134120(0x248)](_0x4b4808=>{const _0x10de09=_0x134120;if(_0x10de09(0x1ff)in _0x4b4808){const _0x4d6647=_0x531a4c({'editor':this[_0x10de09(0x21f)],'content':_0x4b4808[_0x10de09(0x1ff)],'buttonDefinition':_0x4b4808,'bodyCollection':_0x1374f8});this[_0x10de09(0x21f)]['ui'][_0x10de09(0x261)][_0x10de09(0x1d2)](_0x4b4808['id'],_0x4d6647),_0x4b4808[_0x10de09(0x1ff)][_0x10de09(0x248)](_0x2f6731=>{const _0x474ee5=_0x10de09,_0x329585=_0x43a96a({'editor':this[_0x474ee5(0x21f)],'action':_0x2f6731});this[_0x474ee5(0x21f)]['ui'][_0x474ee5(0x261)][_0x474ee5(0x1d2)](_0x2f6731['id'],_0x329585);});}else{const _0x45c806=_0x43a96a({'editor':this[_0x10de09(0x21f)],'action':_0x4b4808,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x10de09(0x21f)]['ui'][_0x10de09(0x261)][_0x10de09(0x1d2)](_0x4b4808['id'],_0x45c806);}});}[_0x5aeb24(0x238)](){const _0xcdf63e=_0x5aeb24;this[_0xcdf63e(0x21f)]['ui'][_0xcdf63e(0x261)][_0xcdf63e(0x1d2)](_0xcdf63e(0x247),_0x5b985d=>{const _0x51674b=_0xcdf63e,_0x198b16=new _0x39d651(_0x5b985d),_0x37f5bc=_0x501a19(_0x5b985d,_0x51674b(0x22c));_0x198b16[_0x51674b(0x20f)][_0x51674b(0x1fd)]({'label':_0x37f5bc,'icon':_0x567bfa});const _0x37b874=new _0xf4e266(_0x5b985d);_0x37b874[_0x51674b(0x1fd)]({'ariaLabel':_0x37f5bc,'role':_0x51674b(0x1f3)}),this[_0x51674b(0x1db)][_0x51674b(0x248)](_0x24b1ce=>{const _0x1716ee=_0x51674b;if(_0x1716ee(0x1ff)in _0x24b1ce){const _0x48585a=_0x24b1ce,_0x2b236a=new _0x12d4c7(_0x5b985d,_0x198b16),_0x480779=new _0x39d651(_0x5b985d),_0x451479=new _0xf4e266(_0x5b985d);_0x480779[_0x1716ee(0x20f)][_0x1716ee(0x1fd)]({'label':_0x48585a[_0x1716ee(0x267)],'icon':_0x48585a[_0x1716ee(0x263)]}),_0x48585a[_0x1716ee(0x1ff)][_0x1716ee(0x248)](_0x3fa404=>{const _0x4006db=_0x1716ee,_0x3566b3=new _0x12d4c7(_0x5b985d,_0x480779),_0x1ecfd5=new _0x5ebc55(_0x5b985d);_0x1ecfd5[_0x4006db(0x1fd)]({'label':_0x3fa404[_0x4006db(0x25c)],'icon':_0x3fa404[_0x4006db(0x263)],'role':_0x4006db(0x24b),'isEnabled':_0x3fa404[_0x4006db(0x237)]}),_0x1ecfd5['on'](_0x4006db(0x20b),()=>{const _0x3a9775=_0x4006db;this[_0x3a9775(0x264)](_0x3fa404);}),_0x1ecfd5[_0x4006db(0x254)](_0x4006db(0x20b))['to'](_0x480779),_0x3566b3[_0x4006db(0x251)][_0x4006db(0x1d2)](_0x1ecfd5),_0x451479[_0x4006db(0x253)][_0x4006db(0x1d2)](_0x3566b3);}),_0x480779[_0x1716ee(0x24d)][_0x1716ee(0x251)][_0x1716ee(0x1d2)](_0x451479),_0x2b236a[_0x1716ee(0x251)][_0x1716ee(0x1d2)](_0x480779),_0x37b874[_0x1716ee(0x253)][_0x1716ee(0x1d2)](_0x2b236a);}else{const _0x7dc61f=_0x24b1ce,_0x1b9288=new _0x12d4c7(_0x5b985d,_0x198b16),_0x5c2c49=new _0x5ebc55(_0x5b985d);_0x5c2c49[_0x1716ee(0x1fd)]({'label':_0x7dc61f[_0x1716ee(0x25c)],'icon':_0x7dc61f[_0x1716ee(0x263)],'role':_0x1716ee(0x24b),'isEnabled':_0x7dc61f[_0x1716ee(0x237)]}),_0x5c2c49['on'](_0x1716ee(0x20b),()=>{const _0x12a63e=_0x1716ee;this[_0x12a63e(0x264)](_0x7dc61f);}),_0x5c2c49[_0x1716ee(0x254)](_0x1716ee(0x20b))['to'](_0x198b16),_0x1b9288[_0x1716ee(0x251)][_0x1716ee(0x1d2)](_0x5c2c49),_0x37b874[_0x1716ee(0x253)][_0x1716ee(0x1d2)](_0x1b9288);}});const _0x461e45=Object[_0x51674b(0x23f)](AIQuickActionTypeToPluginName)[_0x51674b(0x1e5)](_0x568928=>this[_0x51674b(0x21f)][_0x51674b(0x221)][_0x51674b(0x240)](_0x568928));return _0x198b16[_0x51674b(0x1fd)]({'isEnabled':_0x461e45}),_0x198b16[_0x51674b(0x24d)][_0x51674b(0x251)][_0x51674b(0x1d2)](_0x37b874),_0x198b16;});}[_0x5aeb24(0x264)](_0x4e9310){const _0x55bcdd=_0x5aeb24,_0x1d97ff=this[_0x55bcdd(0x21f)];_0x1d97ff[_0x55bcdd(0x255)][_0x55bcdd(0x218)][_0x55bcdd(0x258)](),_0x1d97ff[_0x55bcdd(0x242)][_0x55bcdd(0x20b)](_0x55bcdd(0x22b),_0x4e9310);const _0x58f9b2=_0x1d97ff['ui'][_0x55bcdd(0x218)][_0x55bcdd(0x232)];_0x58f9b2&&_0x58f9b2[_0x55bcdd(0x211)]&&_0x58f9b2[_0x55bcdd(0x211)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4b0b53,_0x3094c4){const _0x3d4de5=_0x3506,_0x3e2066=_0x4b0b53();while(!![]){try{const _0x19b7fb=-parseInt(_0x3d4de5(0x1dc))/0x1+parseInt(_0x3d4de5(0x1d8))/0x2+parseInt(_0x3d4de5(0x1cd))/0x3+parseInt(_0x3d4de5(0x1dd))/0x4+parseInt(_0x3d4de5(0x1cb))/0x5*(-parseInt(_0x3d4de5(0x1c7))/0x6)+-parseInt(_0x3d4de5(0x1d5))/0x7+parseInt(_0x3d4de5(0x1c9))/0x8;if(_0x19b7fb===_0x3094c4)break;else _0x3e2066['push'](_0x3e2066['shift']());}catch(_0x5eb2d9){_0x3e2066['push'](_0x3e2066['shift']());}}}(_0x4e05,0x453dc));import{ButtonView as _0x5c5603}from'ckeditor5/src/ui.js';function _0x4e05(){const _0x3fead6=['execute','16350LTMozZ','icon','2315056TcFMlu','isEnabled','425IXVPYv','locale','1202760kuIfFu','parent','commands','displayedPrompt','menuitem','editing','focus','set','3458406lZTvHu','ck-ai-quick-actions-button','aiQuickAction','346980Jmjytq','bindTemplate','extendTemplate','view','84801pKDrjX','921216HtIoZJ'];_0x4e05=function(){return _0x3fead6;};return _0x4e05();}import{IconAIQuickActions as _0x192e74}from'@ckeditor/ckeditor5-icons';function _0x3506(_0x5b2c62,_0x3467d7){const _0x4e05d0=_0x4e05();return _0x3506=function(_0x3506b6,_0x3d991b){_0x3506b6=_0x3506b6-0x1c7;let _0x107d6b=_0x4e05d0[_0x3506b6];return _0x107d6b;},_0x3506(_0x5b2c62,_0x3467d7);}export function aiQuickActionsButtonCreator(_0x175620){const {editor:_0x5d6461,action:_0x3ab84e,withText:_0x2a9445=!0x1,withIcon:_0x5269dd=!0x0,isInDropdown:_0x3d704e=!0x0,shouldPreventFocus:_0x5b9a39=!0x1}=_0x175620;return()=>{const _0xfdaca0=_0x3506,_0x5da3fe=_0x5d6461[_0xfdaca0(0x1cc)],_0xcf61fe=new _0x5c5603(_0x5da3fe),_0x3c2716=_0xcf61fe[_0xfdaca0(0x1d9)];_0x3d704e&&_0xcf61fe[_0xfdaca0(0x1da)]({'on':{'mouseenter':_0x3c2716['to'](()=>{const _0x1f28d4=_0xfdaca0;_0x5b9a39&&_0x5b9a39()||_0xcf61fe[_0x1f28d4(0x1d3)]();})}});const _0x5578c7=_0x3ab84e[_0xfdaca0(0x1c8)]??_0x3ab84e[_0xfdaca0(0x1ce)]?.[_0xfdaca0(0x1c8)];return _0xcf61fe[_0xfdaca0(0x1d4)]({'label':_0x3ab84e[_0xfdaca0(0x1d0)],'withText':_0x2a9445,'role':_0xfdaca0(0x1d1),'icon':_0x5269dd?_0x5578c7??_0x192e74:void 0x0,'tooltip':!_0x2a9445,'class':_0xfdaca0(0x1d6),'isEnabled':_0x3ab84e[_0xfdaca0(0x1ca)]}),_0xcf61fe['on'](_0xfdaca0(0x1de),()=>{const _0x44e726=_0xfdaca0;_0x5d6461[_0x44e726(0x1d2)][_0x44e726(0x1db)][_0x44e726(0x1d3)](),_0x5d6461[_0x44e726(0x1cf)][_0x44e726(0x1de)](_0x44e726(0x1d7),_0x3ab84e);}),_0xcf61fe;};}
23
+ function _0x1710(_0x535168,_0x2c5aa2){const _0x58330b=_0x5833();return _0x1710=function(_0x1710f3,_0x2ae622){_0x1710f3=_0x1710f3-0xe6;let _0x2b5dfb=_0x58330b[_0x1710f3];return _0x2b5dfb;},_0x1710(_0x535168,_0x2c5aa2);}(function(_0x5ca500,_0x3b381b){const _0x487fa5=_0x1710,_0x48c8cc=_0x5ca500();while(!![]){try{const _0x295733=parseInt(_0x487fa5(0xf6))/0x1+-parseInt(_0x487fa5(0xef))/0x2+parseInt(_0x487fa5(0xfd))/0x3+-parseInt(_0x487fa5(0xfc))/0x4*(-parseInt(_0x487fa5(0xfa))/0x5)+-parseInt(_0x487fa5(0xfe))/0x6*(-parseInt(_0x487fa5(0xec))/0x7)+-parseInt(_0x487fa5(0xf5))/0x8*(-parseInt(_0x487fa5(0xe8))/0x9)+-parseInt(_0x487fa5(0xe6))/0xa;if(_0x295733===_0x3b381b)break;else _0x48c8cc['push'](_0x48c8cc['shift']());}catch(_0x577015){_0x48c8cc['push'](_0x48c8cc['shift']());}}}(_0x5833,0x880ea));import{ButtonView as _0x1ac1a6}from'ckeditor5/src/ui.js';function _0x5833(){const _0x14fd6e=['bindTemplate','ck-ai-quick-actions-button','execute','14ndWOMJ','set','parent','336152jPNCvW','extendTemplate','isEnabled','view','icon','menuitem','1147096UyEeoq','685861oEUhnW','displayedPrompt','focus','commands','5diaqBZ','aiQuickAction','4040508MHfnxD','995634bnDewX','1212990DtwCtr','editing','18502170TQbnSP','locale','9zjysdD'];_0x5833=function(){return _0x14fd6e;};return _0x5833();}import{IconAIQuickActions as _0x32d7b0}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x4e3949){const {editor:_0x149a53,action:_0x5ac1ed,withText:_0x1fcbb8=!0x1,withIcon:_0x529596=!0x0,isInDropdown:_0x4bb10b=!0x0,shouldPreventFocus:_0x27f0cf=!0x1}=_0x4e3949;return()=>{const _0x4f2ae2=_0x1710,_0x519e39=_0x149a53[_0x4f2ae2(0xe7)],_0x37f663=new _0x1ac1a6(_0x519e39),_0x46e506=_0x37f663[_0x4f2ae2(0xe9)];_0x4bb10b&&_0x37f663[_0x4f2ae2(0xf0)]({'on':{'mouseenter':_0x46e506['to'](()=>{const _0x526d2e=_0x4f2ae2;_0x27f0cf&&_0x27f0cf()||_0x37f663[_0x526d2e(0xf8)]();})}});const _0x44e62a=_0x5ac1ed[_0x4f2ae2(0xf3)]??_0x5ac1ed[_0x4f2ae2(0xee)]?.[_0x4f2ae2(0xf3)];return _0x37f663[_0x4f2ae2(0xed)]({'label':_0x5ac1ed[_0x4f2ae2(0xf7)],'withText':_0x1fcbb8,'role':_0x4f2ae2(0xf4),'icon':_0x529596?_0x44e62a??_0x32d7b0:void 0x0,'tooltip':!_0x1fcbb8,'class':_0x4f2ae2(0xea),'isEnabled':_0x5ac1ed[_0x4f2ae2(0xf1)]}),_0x37f663['on'](_0x4f2ae2(0xeb),()=>{const _0x154cb7=_0x4f2ae2;_0x149a53[_0x154cb7(0xff)][_0x154cb7(0xf2)][_0x154cb7(0xf8)](),_0x149a53[_0x154cb7(0xf9)][_0x154cb7(0xeb)](_0x154cb7(0xfb),_0x5ac1ed);}),_0x37f663;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ec767=_0x25f8;(function(_0x32d0b1,_0x5dae0d){const _0x1ac7c3=_0x25f8,_0x37a8e9=_0x32d0b1();while(!![]){try{const _0x5a43f5=-parseInt(_0x1ac7c3(0x139))/0x1*(-parseInt(_0x1ac7c3(0x17d))/0x2)+-parseInt(_0x1ac7c3(0x161))/0x3*(-parseInt(_0x1ac7c3(0x13b))/0x4)+parseInt(_0x1ac7c3(0x12f))/0x5+parseInt(_0x1ac7c3(0x13a))/0x6+-parseInt(_0x1ac7c3(0x143))/0x7+-parseInt(_0x1ac7c3(0xfe))/0x8+-parseInt(_0x1ac7c3(0x153))/0x9;if(_0x5a43f5===_0x5dae0d)break;else _0x37a8e9['push'](_0x37a8e9['shift']());}catch(_0xed6f25){_0x37a8e9['push'](_0x37a8e9['shift']());}}}(_0x1fbd,0x91b07));import{View as _0xb74707,ListItemView as _0x22b8ba,ListView as _0x3f96aa,BalloonPanelView as _0x271ef6,DropdownMenuPanelPositioningFunctions as _0x48b61b,ViewCollection as _0x290b31,FocusCycler as _0x224dcc,ButtonView as _0x1b6dda,IconView as _0xf08085,HighlightedTextView as _0x365385,ButtonLabelWithHighlightView as _0xb31c85,SearchTextView as _0x2f5b11}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5108ee}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2f0975,KeystrokeHandler as _0xacd6d0}from'ckeditor5/src/utils.js';function _0x1fbd(){const _0x1a0880=['isVisible','actions','2073514kpzEmp','isEnabled','reset','ck-ai-quick-actions-search-result__group-row','_createSearchResultIndividualActionButton','fieldView','set','queryView','4457400rfXMvZ','ck-ai-quick-actions-group-button','_createSearchResultGroupedActionButton','role','ck-ai-quick-actions-button__group-icon','_hideAllNestedPanels','closest','ck-ai-quick-actions-group-panel','fire','children','_allSearchableItems','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','clear','_searchTextView','displayedPrompt','addMany','bindTemplate','extendTemplate','element','get','_setupActionButtonExecution','execute','span','activeElement','addEventListener','ck-ai-quick-actions-button_with-group__close-paren','pin','editing','isOn','add','_createListItems','focusCycler','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','items','.ck-ai-quick-actions-group-button','rtl','ck-rounded-corners','_createSearchResultActionButton','keystrokes','mouseleave','setTemplate','delete','_hasSearch','locale','_createSearchResultGroupRow','render','_openNestedPanels','chain','aiQuickAction','282535zpBHjT','focusTracker','push','ck-ai-quick-actions','ck-ai-quick-actions-search-result__action-row','eastSouth','_createActionGroupButton','_focusables','ownerDocument','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','1qNojbC','1606938QlkkKm','4399544OIaOzQ','forEach','optionsListView','ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result-button','AI_QUICK_ACTIONS_SEARCH','first','uiLanguageDirection','989205EdqoTM','destroy','_handlePanelKeydown','_handleSearchResultButtonClick','resetSearch','ck-ai-quick-actions-button','ArrowLeft','key','icon','menu','menuitem','_getPanelKeystroke','_hideNestedPanel','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','content','detachFromDom','10491660ReBFff','div','button','relatedTarget','ck-ai-quick-actions-search-result-button_with-group','ck-button_with-text','hide','show','ck-ai-quick-actions-button_with-group__open-paren','_createSearchTextView','commands','_showNestedPanel','_isSearchFocused','label','3ABLYDX','_createGroupActionsList','contains','focus','_getButtonKeystroke','parent','_createSearchResultContentView','_isMovingToNestedMenu','ArrowRight','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-search-result__content','_createActionButton','_bodyCollection','_setupGroupMenuBehavior','_createSearchResultActionRow','text','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-search','ck-ai-quick-actions-button_with-group','.ck-ai-quick-actions-group-panel','bind','some','ck-button','view','ck-dropdown-menu-list','ck-reset_all'];_0x1fbd=function(){return _0x1a0880;};return _0x1fbd();}import{aiQuickActionsButtonCreator as _0x12dc38}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x47710c}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x90d739}from'../../aicore/utils/common-translations.js';function _0x25f8(_0x5e2cb9,_0x599855){const _0x1fbd3e=_0x1fbd();return _0x25f8=function(_0x25f89c,_0x282763){_0x25f89c=_0x25f89c-0xfb;let _0x2e621d=_0x1fbd3e[_0x25f89c];return _0x2e621d;},_0x25f8(_0x5e2cb9,_0x599855);}import{AIQuickActionsFilteredListView as _0x104ea5}from'./aiquickactionsfilteredlistview.js';const Js=_0x5ec767(0x14c),Ws=_0x5ec767(0x14d);export class AIQuickActionsDropdownContentView extends _0xb74707{[_0x5ec767(0x16d)];[_0x5ec767(0x13d)];[_0x5ec767(0x10b)]=null;[_0x5ec767(0x108)]=[];[_0x5ec767(0x107)];[_0x5ec767(0x130)];[_0x5ec767(0x124)];[_0x5ec767(0x136)];[_0x5ec767(0x11d)];[_0x5ec767(0x12c)]=new Set();[_0x5ec767(0x128)];constructor(_0x5f1a79,_0x546842,_0x2bfa53,_0x3c6659,_0x31e8b2=!0x1){const _0x1bea2d=_0x5ec767,_0x14ac8d=_0x5f1a79[_0x1bea2d(0x129)];super(_0x14ac8d),this[_0x1bea2d(0x16d)]=_0x3c6659,this[_0x1bea2d(0x128)]=_0x31e8b2;const _0x236b1e=this[_0x1bea2d(0x11c)](_0x5f1a79,_0x546842,_0x2bfa53);this[_0x1bea2d(0x13d)]=new _0x104ea5(_0x14ac8d,_0x236b1e,this[_0x1bea2d(0x108)]),this[_0x1bea2d(0x13d)][_0x1bea2d(0x101)]=Js,this[_0x1bea2d(0x13d)][_0x1bea2d(0x11f)][_0x1bea2d(0x10d)](_0x236b1e),this[_0x1bea2d(0x130)]=new _0x2f0975(),this[_0x1bea2d(0x124)]=new _0xacd6d0(),_0x31e8b2&&(this[_0x1bea2d(0x10b)]=this[_0x1bea2d(0x15c)]()),this[_0x1bea2d(0x136)]=_0x236b1e,this[_0x1bea2d(0x11d)]=new _0x224dcc({'focusables':this[_0x1bea2d(0x136)],'focusTracker':this[_0x1bea2d(0x130)],'keystrokeHandler':this[_0x1bea2d(0x124)]}),_0x31e8b2&&this[_0x1bea2d(0x10b)]&&this[_0x1bea2d(0x11d)][_0x1bea2d(0x12d)](this[_0x1bea2d(0x10b)][_0x1bea2d(0x11d)]);const _0x350f03=_0x31e8b2&&this[_0x1bea2d(0x10b)]?[this[_0x1bea2d(0x10b)]]:[this[_0x1bea2d(0x13d)]];this[_0x1bea2d(0x107)]=new _0x290b31(_0x350f03),this[_0x1bea2d(0x126)]({'tag':_0x1bea2d(0x154),'attributes':{'class':['ck',_0x1bea2d(0x17a),_0x1bea2d(0x132),_0x1bea2d(0x122)],'dir':_0x14ac8d[_0x1bea2d(0x142)]},'children':this[_0x1bea2d(0x107)]});}[_0x5ec767(0x15c)](){const _0x1f6ee4=_0x5ec767;return new _0x2f5b11(this[_0x1f6ee4(0x129)],{'filteredView':this[_0x1f6ee4(0x13d)],'queryView':{'label':_0x90d739(this[_0x1f6ee4(0x129)],_0x1f6ee4(0x140))},'class':_0x1f6ee4(0x172),'infoView':{'text':{'notFound':{'primary':_0x90d739(this[_0x1f6ee4(0x129)],_0x1f6ee4(0x138))}}}});}[_0x5ec767(0x15f)](){const _0x31cfb9=_0x5ec767;if(!this[_0x31cfb9(0x128)]||!this[_0x31cfb9(0x10b)]||!this[_0x31cfb9(0x10b)][_0x31cfb9(0xfd)][_0x31cfb9(0xfb)][_0x31cfb9(0x110)])return!0x1;const _0x474b3c=this[_0x31cfb9(0x10b)][_0x31cfb9(0xfd)][_0x31cfb9(0xfb)][_0x31cfb9(0x110)][_0x31cfb9(0x137)]?.[_0x31cfb9(0x115)];return this[_0x31cfb9(0x10b)][_0x31cfb9(0xfd)][_0x31cfb9(0xfb)][_0x31cfb9(0x110)][_0x31cfb9(0x163)](_0x474b3c);}[_0x5ec767(0x11c)](_0x2736f7,_0x48428c,_0x1429b4){const _0x555c75=_0x5ec767,_0x365adf=new _0x290b31();return _0x48428c[_0x555c75(0x13c)](_0xaf9606=>{const _0x3a829b=_0x555c75;if(_0x3a829b(0x17c)in _0xaf9606){const {listItem:_0xb397a3}=this[_0x3a829b(0x135)](_0x2736f7,_0xaf9606,_0x1429b4);_0x365adf[_0x3a829b(0x11b)](_0xb397a3),_0xaf9606[_0x3a829b(0x17c)][_0x3a829b(0x13c)](_0x2d4158=>{const _0x3986ac=_0x3a829b;this[_0x3986ac(0x16c)](_0x2736f7,_0x2d4158,_0xaf9606[_0x3986ac(0x160)],_0xaf9606[_0x3986ac(0x14b)]);const {listItem:_0x36fc54,highlightViews:_0x1f0e05}=this[_0x3986ac(0x123)](_0x2736f7,_0x2d4158,_0xaf9606[_0x3986ac(0x160)],_0xaf9606[_0x3986ac(0x14b)]);this[_0x3986ac(0x108)][_0x3986ac(0x131)]({'item':_0x36fc54,'label':_0x2d4158[_0x3986ac(0x10c)],'groupLabel':_0xaf9606[_0x3986ac(0x160)],'highlightViews':_0x1f0e05});});}else{const {listItem:_0x5973e7}=this[_0x3a829b(0x16c)](_0x2736f7,_0xaf9606);_0x365adf[_0x3a829b(0x11b)](_0x5973e7);const _0x23caf1=_0x5973e7[_0x3a829b(0x107)][_0x3a829b(0x141)];if(_0x23caf1){const {listItem:_0xa19359,highlightViews:_0x5a3391}=this[_0x3a829b(0x123)](_0x2736f7,_0xaf9606);this[_0x3a829b(0x108)][_0x3a829b(0x131)]({'item':_0xa19359,'label':_0x23caf1[_0x3a829b(0x160)]||'','highlightViews':_0x5a3391});}}}),_0x365adf;}[_0x5ec767(0x16c)](_0x13cbc6,_0x2f20ee,_0x4818f8,_0x55adb6){const _0x2e3f2b=_0x5ec767,_0x320db3=new _0x22b8ba(this[_0x2e3f2b(0x129)]);if(_0x4818f8&&_0x55adb6){const _0x568caf=new _0x1b6dda(this[_0x2e3f2b(0x129)]),_0x48dde3=_0x568caf[_0x2e3f2b(0x10e)],_0x56d9d8=new _0x365385();_0x56d9d8[_0x2e3f2b(0x170)]=_0x2f20ee[_0x2e3f2b(0x10c)];const _0x5c6f31=new _0x365385();_0x5c6f31[_0x2e3f2b(0x170)]=_0x4818f8;const _0x38dc50=new _0xf08085();_0x38dc50[_0x2e3f2b(0x151)]=_0x55adb6,_0x38dc50[_0x2e3f2b(0x10f)]({'attributes':{'class':_0x2e3f2b(0x102)}});const _0x41ff58=new _0xb74707(this[_0x2e3f2b(0x129)]);_0x41ff58[_0x2e3f2b(0x126)]({'tag':_0x2e3f2b(0x114),'attributes':{'class':_0x2e3f2b(0x15b)},'children':[{'text':'\x20('}]});const _0x201611=new _0xb74707(this[_0x2e3f2b(0x129)]);return _0x201611[_0x2e3f2b(0x126)]({'tag':_0x2e3f2b(0x114),'attributes':{'class':_0x2e3f2b(0x117)},'children':[{'text':')'}]}),_0x568caf[_0x2e3f2b(0xfc)]({'label':_0x2f20ee[_0x2e3f2b(0x10c)]+'\x20('+_0x4818f8+')','withText':!0x0,'role':_0x2e3f2b(0x14d),'class':_0x2e3f2b(0x150),'tooltip':!0x1}),_0x568caf[_0x2e3f2b(0x126)]({'tag':_0x2e3f2b(0x155),'attributes':{'class':['ck',_0x2e3f2b(0x177),_0x2e3f2b(0x158),_0x2e3f2b(0x148),_0x2e3f2b(0x173)],'type':_0x2e3f2b(0x155),'role':_0x2e3f2b(0x14d),'tabindex':'-1'},'children':[_0x56d9d8,_0x41ff58,_0x38dc50,_0x5c6f31,_0x201611],'on':{'mouseenter':_0x48dde3['to'](()=>{const _0x5e2db2=_0x2e3f2b;this[_0x5e2db2(0x15f)]()||_0x568caf[_0x5e2db2(0x164)]();}),'click':_0x48dde3['to'](()=>{const _0x5044d3=_0x2e3f2b;_0x568caf[_0x5044d3(0x106)](_0x5044d3(0x113));})}}),_0x568caf['on'](_0x2e3f2b(0x113),()=>{const _0x2d7a90=_0x2e3f2b;_0x13cbc6[_0x2d7a90(0x119)][_0x2d7a90(0x178)][_0x2d7a90(0x164)](),_0x13cbc6[_0x2d7a90(0x15d)][_0x2d7a90(0x113)](_0x2d7a90(0x12e),_0x2f20ee);}),_0x320db3[_0x2e3f2b(0x107)][_0x2e3f2b(0x11b)](_0x568caf),{'listItem':_0x320db3,'highlightViews':[_0x56d9d8,_0x5c6f31]};}{const _0x54cdb7=new _0xb31c85(),_0x30dbe6=new _0x1b6dda(this[_0x2e3f2b(0x129)],_0x54cdb7),_0x5f57c9=_0x30dbe6[_0x2e3f2b(0x10e)],_0x39a02c=_0x2f20ee[_0x2e3f2b(0x14b)]??_0x2f20ee[_0x2e3f2b(0x166)]?.[_0x2e3f2b(0x14b)],_0x39fd33=void 0x0!==_0x2f20ee[_0x2e3f2b(0x14b)];return _0x30dbe6[_0x2e3f2b(0xfc)]({'label':_0x2f20ee[_0x2e3f2b(0x10c)],'withText':!0x0,'role':_0x2e3f2b(0x14d),'icon':_0x39fd33?_0x39a02c??_0x5108ee:void 0x0,'tooltip':!0x1,'class':_0x2e3f2b(0x148)}),_0x30dbe6[_0x2e3f2b(0x10f)]({'on':{'mouseenter':_0x5f57c9['to'](()=>{const _0x16fe80=_0x2e3f2b;this[_0x16fe80(0x15f)]()||_0x30dbe6[_0x16fe80(0x164)]();})}}),_0x30dbe6['on'](_0x2e3f2b(0x113),()=>{const _0x430e98=_0x2e3f2b;_0x13cbc6[_0x430e98(0x119)][_0x430e98(0x178)][_0x430e98(0x164)](),_0x13cbc6[_0x430e98(0x15d)][_0x430e98(0x113)](_0x430e98(0x12e),_0x2f20ee);}),_0x320db3[_0x2e3f2b(0x107)][_0x2e3f2b(0x11b)](_0x30dbe6),{'listItem':_0x320db3,'highlightViews':[_0x54cdb7]};}}[_0x5ec767(0x123)](_0x537f5c,_0x55f94b,_0x393980,_0x425647){const _0x26d449=_0x5ec767;return _0x393980&&_0x425647?this[_0x26d449(0x100)](_0x537f5c,_0x55f94b,_0x393980,_0x425647):this[_0x26d449(0x181)](_0x537f5c,_0x55f94b);}[_0x5ec767(0x100)](_0x58f288,_0xea109,_0x363746,_0x2db276){const _0x2a7695=_0x5ec767,_0x1fbe09=new _0x22b8ba(this[_0x2a7695(0x129)]),_0x2eb6e6=new _0x1b6dda(this[_0x2a7695(0x129)]),_0x1bd923=_0x2eb6e6[_0x2a7695(0x10e)],{view:_0x2bafed,highlightView:_0xbacc61}=this[_0x2a7695(0x12a)](_0x363746,_0x2db276),{view:_0xfdbfe4,highlightView:_0x1c987d}=this[_0x2a7695(0x16f)](_0xea109[_0x2a7695(0x10c)]),_0x6e99c3=this[_0x2a7695(0x167)](_0x2bafed,_0xfdbfe4);return _0x2eb6e6[_0x2a7695(0xfc)]({'label':_0xea109[_0x2a7695(0x10c)],'withText':!0x0,'role':_0x2a7695(0x14d),'class':_0x2a7695(0x11e),'tooltip':!0x1}),_0x2eb6e6[_0x2a7695(0x126)]({'tag':_0x2a7695(0x155),'attributes':{'class':['ck',_0x2a7695(0x177),_0x2a7695(0x158),_0x2a7695(0x148),_0x2a7695(0x13f),_0x2a7695(0x157)],'type':_0x2a7695(0x155),'role':_0x2a7695(0x14d),'tabindex':'-1'},'children':[_0x6e99c3],'on':{'mouseenter':_0x1bd923['to'](()=>{const _0x234ea0=_0x2a7695;this[_0x234ea0(0x15f)]()||_0x2eb6e6[_0x234ea0(0x164)]();}),'click':_0x1bd923['to'](()=>{const _0x3a55c3=_0x2a7695;this[_0x3a55c3(0x146)](_0x2eb6e6);})}}),this[_0x2a7695(0x112)](_0x2eb6e6,_0x58f288,_0xea109),_0x1fbe09[_0x2a7695(0x107)][_0x2a7695(0x11b)](_0x2eb6e6),{'listItem':_0x1fbe09,'highlightViews':[_0xbacc61,_0x1c987d]};}[_0x5ec767(0x181)](_0x18233e,_0x3c6092){const _0x1f54d7=_0x5ec767,_0x32238b=new _0x22b8ba(this[_0x1f54d7(0x129)]),_0x5c4cac=new _0xb31c85(),_0x374d0f=new _0x1b6dda(this[_0x1f54d7(0x129)],_0x5c4cac),_0x44f04c=_0x374d0f[_0x1f54d7(0x10e)];return _0x374d0f[_0x1f54d7(0xfc)]({'label':_0x3c6092[_0x1f54d7(0x10c)],'withText':!0x0,'role':_0x1f54d7(0x14d),'icon':void 0x0,'tooltip':!0x1,'class':_0x1f54d7(0x109)}),_0x374d0f[_0x1f54d7(0x10f)]({'on':{'mouseenter':_0x44f04c['to'](()=>{const _0x2ff031=_0x1f54d7;this[_0x2ff031(0x15f)]()||_0x374d0f[_0x2ff031(0x164)]();})}}),this[_0x1f54d7(0x112)](_0x374d0f,_0x18233e,_0x3c6092),_0x32238b[_0x1f54d7(0x107)][_0x1f54d7(0x11b)](_0x374d0f),{'listItem':_0x32238b,'highlightViews':[_0x5c4cac]};}[_0x5ec767(0x12a)](_0x57bde1,_0x29a3f6){const _0x380644=_0x5ec767,_0x441739=new _0xb74707(this[_0x380644(0x129)]),_0x249bed=new _0xf08085();_0x249bed[_0x380644(0x151)]=_0x29a3f6,_0x249bed[_0x380644(0x10f)]({'attributes':{'class':_0x380644(0x102)}});const _0x43ef50=new _0x365385();return _0x43ef50[_0x380644(0x170)]=_0x57bde1,_0x441739[_0x380644(0x126)]({'tag':_0x380644(0x154),'attributes':{'class':_0x380644(0x180)},'children':[_0x249bed,_0x43ef50]}),{'view':_0x441739,'highlightView':_0x43ef50};}[_0x5ec767(0x16f)](_0x2731b0){const _0x8aec8c=_0x5ec767,_0x2f4cc2=new _0xb74707(this[_0x8aec8c(0x129)]),_0x58462e=new _0x365385();return _0x58462e[_0x8aec8c(0x170)]=_0x2731b0,_0x2f4cc2[_0x8aec8c(0x126)]({'tag':_0x8aec8c(0x154),'attributes':{'class':_0x8aec8c(0x133)},'children':[_0x58462e]}),{'view':_0x2f4cc2,'highlightView':_0x58462e};}[_0x5ec767(0x167)](_0x5575d8,_0x2189e4){const _0x4b1757=_0x5ec767,_0x16b8e2=new _0xb74707(this[_0x4b1757(0x129)]);return _0x16b8e2[_0x4b1757(0x126)]({'tag':_0x4b1757(0x154),'attributes':{'class':_0x4b1757(0x16b)},'children':[_0x5575d8,_0x2189e4]}),_0x16b8e2;}[_0x5ec767(0x112)](_0xc0dc6e,_0x4b5975,_0x574970){const _0xc85f61=_0x5ec767;_0xc0dc6e['on'](_0xc85f61(0x113),()=>{const _0x1f6cb0=_0xc85f61;_0x4b5975[_0x1f6cb0(0x119)][_0x1f6cb0(0x178)][_0x1f6cb0(0x164)](),_0x4b5975[_0x1f6cb0(0x15d)][_0x1f6cb0(0x113)](_0x1f6cb0(0x12e),_0x574970);});}[_0x5ec767(0x135)](_0x5dcc8c,_0x66563c,_0x195487){const _0x4fa37f=_0x5ec767,_0x34704a=new _0x22b8ba(this[_0x4fa37f(0x129)]),_0x25a204=new _0xb31c85(),_0x425f69=new _0x47710c(this[_0x4fa37f(0x129)],_0x25a204),_0x311ab2=_0x425f69[_0x4fa37f(0x10e)],_0x5306bc=this[_0x4fa37f(0x14e)](_0x195487),_0x409a52=this[_0x4fa37f(0x162)](_0x5dcc8c,_0x66563c[_0x4fa37f(0x17c)],_0x195487);_0x425f69[_0x4fa37f(0xfc)]({'label':_0x66563c[_0x4fa37f(0x160)],'withText':!0x0,'role':Ws,'icon':_0x66563c[_0x4fa37f(0x14b)]??_0x5108ee,'isEnabled':_0x66563c[_0x4fa37f(0x17c)][_0x4fa37f(0x176)](_0x1d82ea=>_0x1d82ea[_0x4fa37f(0x17e)])}),_0x425f69[_0x4fa37f(0x10f)]({'on':{'mouseenter':_0x311ab2['to'](()=>{const _0x3ec721=_0x4fa37f;this[_0x3ec721(0x15f)]()||_0x425f69[_0x3ec721(0x164)]();})}});const _0x1212d8=new _0x271ef6(this[_0x4fa37f(0x129)]);return _0x1212d8[_0x4fa37f(0x10f)]({'attributes':{'class':['ck',_0x4fa37f(0x17a),_0x4fa37f(0x105),_0x4fa37f(0x16a)]},'on':{'keydown':_0x311ab2['to'](_0x3ab0f3=>{const _0x202ef8=_0x4fa37f;this[_0x202ef8(0x145)](_0x3ab0f3,_0x5306bc,_0x425f69,_0x1212d8);})}}),_0x425f69[_0x4fa37f(0x175)](_0x4fa37f(0x11a))['to'](_0x1212d8,_0x4fa37f(0x17b)),this[_0x4fa37f(0x16d)][_0x4fa37f(0x11b)](_0x1212d8),_0x1212d8[_0x4fa37f(0x151)][_0x4fa37f(0x11b)](_0x409a52),this[_0x4fa37f(0x16e)](_0x425f69,_0x1212d8),_0x34704a[_0x4fa37f(0x107)][_0x4fa37f(0x11b)](_0x425f69),{'listItem':_0x34704a,'highlightView':_0x25a204};}[_0x5ec767(0x162)](_0x6656ee,_0x33c57d,_0x2e0e8d){const _0x186180=_0x5ec767,_0x4c55ba=new _0x3f96aa(this[_0x186180(0x129)]);return _0x4c55ba[_0x186180(0x10f)]({'attributes':{'class':['ck',_0x186180(0x17a),_0x186180(0x13e),_0x186180(0x179)]}}),_0x33c57d[_0x186180(0x13c)](_0xa8108=>{const _0x31b7d6=_0x186180,_0x3cbced=new _0x22b8ba(this[_0x31b7d6(0x129)]),_0x261eb3=_0x12dc38({'editor':_0x6656ee,'action':_0xa8108,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x31b7d6(0x15f)]()})();_0x3cbced[_0x31b7d6(0x107)][_0x31b7d6(0x11b)](_0x261eb3),_0x2e0e8d[_0x31b7d6(0x130)][_0x31b7d6(0x11b)](_0x261eb3),_0x4c55ba[_0x31b7d6(0x11f)][_0x31b7d6(0x11b)](_0x3cbced);}),_0x4c55ba;}[_0x5ec767(0x16e)](_0x3fa296,_0x17882e){const _0x4f1ba1=_0x5ec767,_0x1931a6=_0x3fa296[_0x4f1ba1(0x10e)],_0x20c9ff=this[_0x4f1ba1(0x165)](_0x3fa296);_0x3fa296[_0x4f1ba1(0x10f)]({'attributes':{'class':[_0x4f1ba1(0xff)]},'on':{'mouseenter':_0x1931a6['to'](()=>{const _0x253a22=_0x4f1ba1;this[_0x253a22(0x15e)](_0x17882e,_0x3fa296);}),'mouseleave':_0x1931a6['to'](_0x3f8e93=>{const _0x314463=_0x4f1ba1,_0x7c1ec0=_0x3f8e93[_0x314463(0x156)];this[_0x314463(0x168)](_0x7c1ec0,_0x17882e)||this[_0x314463(0x14f)](_0x17882e);}),'keydown':_0x1931a6['to'](_0x23c048=>{const _0x35bc08=_0x4f1ba1;_0x23c048[_0x35bc08(0x14a)]==_0x20c9ff&&(this[_0x35bc08(0x15e)](_0x17882e,_0x3fa296),_0x17882e[_0x35bc08(0x151)][_0x35bc08(0x111)](0x0)[_0x35bc08(0x164)]());})}}),_0x17882e['on'](_0x4f1ba1(0x12b),()=>{const _0x43ac30=_0x4f1ba1;_0x17882e[_0x43ac30(0x110)]?.[_0x43ac30(0x116)](_0x43ac30(0x125),_0xf95960=>{const _0x127cfc=_0x43ac30,_0x5c907c=_0xf95960[_0x127cfc(0x156)];_0x3fa296[_0x127cfc(0x110)]?.[_0x127cfc(0x163)](_0x5c907c)||this[_0x127cfc(0x168)](_0x5c907c,_0x17882e)||this[_0x127cfc(0x14f)](_0x17882e);});});}[_0x5ec767(0x15e)](_0x3a0e41,_0x12d258){const _0x561e17=_0x5ec767;this[_0x561e17(0x12c)][_0x561e17(0x13c)](_0x46b4d9=>{const _0x23657a=_0x561e17;_0x46b4d9!==_0x3a0e41&&_0x46b4d9[_0x23657a(0x17b)]&&_0x46b4d9[_0x23657a(0x159)]();}),_0x3a0e41[_0x561e17(0x15a)](),_0x3a0e41[_0x561e17(0x118)]({'positions':[_0x48b61b[_0x561e17(0x134)]],'target':_0x12d258[_0x561e17(0x110)],'fitInViewport':!0x0}),this[_0x561e17(0x12c)][_0x561e17(0x11b)](_0x3a0e41);}[_0x5ec767(0x14f)](_0x5d73df){const _0x1904a0=_0x5ec767;_0x5d73df[_0x1904a0(0x159)](),this[_0x1904a0(0x12c)][_0x1904a0(0x127)](_0x5d73df);}[_0x5ec767(0x103)](){const _0xa11282=_0x5ec767;this[_0xa11282(0x12c)][_0xa11282(0x13c)](_0x4109ce=>_0x4109ce[_0xa11282(0x159)]()),this[_0xa11282(0x12c)][_0xa11282(0x10a)]();}[_0x5ec767(0x168)](_0x477dac,_0x11149d){const _0x282dd2=_0x5ec767;if(!_0x477dac)return!0x1;if(_0x11149d[_0x282dd2(0x110)]?.[_0x282dd2(0x163)](_0x477dac))return!0x0;const _0x11ad12=_0x477dac;return _0x11ad12[_0x282dd2(0x104)]&&(null!==_0x11ad12[_0x282dd2(0x104)](_0x282dd2(0x174))||null!==_0x11ad12[_0x282dd2(0x104)](_0x282dd2(0x171))||null!==_0x11ad12[_0x282dd2(0x104)](_0x282dd2(0x120)));}[_0x5ec767(0x147)](){const _0x55b8af=_0x5ec767;this[_0x55b8af(0x10b)]&&this[_0x55b8af(0x10b)][_0x55b8af(0x17f)]();}[_0x5ec767(0x144)](){const _0x1af86c=_0x5ec767;this[_0x1af86c(0x103)](),this[_0x1af86c(0x16d)][_0x1af86c(0x152)](),super[_0x1af86c(0x144)]();}[_0x5ec767(0x164)](){const _0x51918b=_0x5ec767;this[_0x51918b(0x10b)]?this[_0x51918b(0x10b)][_0x51918b(0x164)]():this[_0x51918b(0x13d)][_0x51918b(0x164)]();}[_0x5ec767(0x14e)](_0x1cb537){const _0x4371ef=_0x5ec767;return _0x4371ef(0x121)===_0x1cb537[_0x4371ef(0x129)][_0x4371ef(0x142)]?_0x4371ef(0x169):_0x4371ef(0x149);}[_0x5ec767(0x165)](_0x1885d2){const _0x555dec=_0x5ec767;return _0x555dec(0x121)===_0x1885d2[_0x555dec(0x129)][_0x555dec(0x142)]?_0x555dec(0x149):_0x555dec(0x169);}[_0x5ec767(0x145)](_0x642ec9,_0x56b144,_0x19388b,_0x477abd){const _0x3a4427=_0x5ec767;_0x642ec9[_0x3a4427(0x14a)]==_0x56b144&&(_0x19388b[_0x3a4427(0x164)](),this[_0x3a4427(0x14f)](_0x477abd));}[_0x5ec767(0x146)](_0x31b70d){const _0x381f96=_0x5ec767;_0x31b70d[_0x381f96(0x106)](_0x381f96(0x113));}}
23
+ const _0x31b758=_0x31b1;(function(_0x5d2dbe,_0x28b354){const _0x996e2=_0x31b1,_0x155db6=_0x5d2dbe();while(!![]){try{const _0x52ff1f=-parseInt(_0x996e2(0x113))/0x1*(-parseInt(_0x996e2(0xc0))/0x2)+parseInt(_0x996e2(0xfd))/0x3+parseInt(_0x996e2(0xfb))/0x4+parseInt(_0x996e2(0xf3))/0x5*(parseInt(_0x996e2(0xc5))/0x6)+-parseInt(_0x996e2(0xe9))/0x7+-parseInt(_0x996e2(0x10f))/0x8*(-parseInt(_0x996e2(0x100))/0x9)+-parseInt(_0x996e2(0xbb))/0xa;if(_0x52ff1f===_0x28b354)break;else _0x155db6['push'](_0x155db6['shift']());}catch(_0xf55bff){_0x155db6['push'](_0x155db6['shift']());}}}(_0x2ca8,0xa3c89));import{View as _0x2de5d0,ListItemView as _0x5b930b,ListView as _0x1ef31f,BalloonPanelView as _0x18e612,DropdownMenuPanelPositioningFunctions as _0xeac3cd,ViewCollection as _0x534115,FocusCycler as _0x1d8c71,ButtonView as _0x36ddcf,IconView as _0x473eb9,HighlightedTextView as _0x5d06cc,ButtonLabelWithHighlightView as _0x2efd8b,SearchTextView as _0x2701e4}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x1638a6}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x277567,KeystrokeHandler as _0x4d6868}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x2a181d}from'./aiquickactionsbuttoncreator.js';function _0x31b1(_0xf1f80a,_0x567a8e){const _0x2ca8c8=_0x2ca8();return _0x31b1=function(_0x31b1b9,_0x2c6b94){_0x31b1b9=_0x31b1b9-0xa2;let _0x53c342=_0x2ca8c8[_0x31b1b9];return _0x53c342;},_0x31b1(_0xf1f80a,_0x567a8e);}import{DropdownMenuButtonWithHighlightView as _0x5917db}from'./dropdownmenubuttonwithhighlightview.js';function _0x2ca8(){const _0x419943=['_handleSearchResultButtonClick','1753268zVxlBG','icon','3808998WwNwVG','ck-ai-quick-actions-button','isEnabled','9PsCqdW','focus','resetSearch','.ck-ai-quick-actions-group-panel','_setupGroupMenuBehavior','items','some','div','execute','ck-ai-quick-actions-search-result-button_with-group','setTemplate','_isMovingToNestedMenu','destroy','ck-button','extendTemplate','5677768JuCQyB','show','ArrowRight','ck-ai-quick-actions-button_with-group__close-paren','74IAfGTd','role','isOn','_createSearchResultActionButton','detachFromDom','relatedTarget','ck-button_with-text','element','_handlePanelKeydown','forEach','add','ck-rounded-corners','bindTemplate','render','ck-ai-quick-actions','_createSearchResultContentView','ck-ai-quick-actions-search','actions','ck-ai-quick-actions-button_with-group__open-paren','_createSearchTextView','isVisible','ck-ai-quick-actions-search-result__group-row','ck-dropdown-menu-list','addEventListener','label','_focusables','_createSearchResultGroupRow','focusCycler','span','parent','closest','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultActionRow','mouseleave','ck-dropdown-menu__nested-menu__panel','queryView','ck-reset_all','eastSouth','_createActionButton','ck-ai-quick-actions-group-button','fieldView','pin','_isSearchFocused','_hasSearch','hide','uiLanguageDirection','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','16132360xtzlPk','push','set','view','_showNestedPanel','14270FIuXYd','addMany','_createGroupActionsList','get','ck-ai-quick-actions-search-result__content','6huKuhD','key','_createActionGroupButton','_bodyCollection','_hideAllNestedPanels','rtl','chain','contains','_createListItems','focusTracker','children','displayedPrompt','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','locale','_createSearchResultGroupedActionButton','ownerDocument','fire','_setupActionButtonExecution','first','_searchTextView','ck-ai-quick-actions-search-result__action-row','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','reset','_openNestedPanels','activeElement','ck-ai-quick-actions-button__group-icon','ArrowLeft','optionsListView','_createSearchResultIndividualActionButton','_hideNestedPanel','commands','ck-ai-quick-actions-button_with-group','keystrokes','ck-ai-quick-actions-search-result-button','_getButtonKeystroke','5610836ZFIdgw','_allSearchableItems','button','_getPanelKeystroke','ck-ai-quick-actions-group-panel','bind','menuitem','AI_QUICK_ACTIONS_SEARCH','clear','text','699735OEzHFd','ck-ai-quick-actions-group-list','delete','content','aiQuickAction','menu','editing'];_0x2ca8=function(){return _0x419943;};return _0x2ca8();}import{getTranslation as _0x3aaee8}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x543c65}from'./aiquickactionsfilteredlistview.js';const Qs=_0x31b758(0xf8),Gs=_0x31b758(0xef);export class AIQuickActionsDropdownContentView extends _0x2de5d0{[_0x31b758(0xc8)];[_0x31b758(0xe1)];[_0x31b758(0xd8)]=null;[_0x31b758(0xea)]=[];[_0x31b758(0xcf)];[_0x31b758(0xce)];[_0x31b758(0xe6)];[_0x31b758(0xa4)];[_0x31b758(0xa6)];[_0x31b758(0xdd)]=new Set();[_0x31b758(0xb6)];constructor(_0x3955ea,_0x73fb60,_0x58dc37,_0x498190,_0x335e4a=!0x1){const _0x55b362=_0x31b758,_0x706ec7=_0x3955ea[_0x55b362(0xd2)];super(_0x706ec7),this[_0x55b362(0xc8)]=_0x498190,this[_0x55b362(0xb6)]=_0x335e4a;const _0x37dc35=this[_0x55b362(0xcd)](_0x3955ea,_0x73fb60,_0x58dc37);this[_0x55b362(0xe1)]=new _0x543c65(_0x706ec7,_0x37dc35,this[_0x55b362(0xea)]),this[_0x55b362(0xe1)][_0x55b362(0x114)]=Qs,this[_0x55b362(0xe1)][_0x55b362(0x105)][_0x55b362(0xc1)](_0x37dc35),this[_0x55b362(0xce)]=new _0x277567(),this[_0x55b362(0xe6)]=new _0x4d6868(),_0x335e4a&&(this[_0x55b362(0xd8)]=this[_0x55b362(0x126)]()),this[_0x55b362(0xa4)]=_0x37dc35,this[_0x55b362(0xa6)]=new _0x1d8c71({'focusables':this[_0x55b362(0xa4)],'focusTracker':this[_0x55b362(0xce)],'keystrokeHandler':this[_0x55b362(0xe6)]}),_0x335e4a&&this[_0x55b362(0xd8)]&&this[_0x55b362(0xa6)][_0x55b362(0xcb)](this[_0x55b362(0xd8)][_0x55b362(0xa6)]);const _0x1f058e=_0x335e4a&&this[_0x55b362(0xd8)]?[this[_0x55b362(0xd8)]]:[this[_0x55b362(0xe1)]];this[_0x55b362(0xcf)]=new _0x534115(_0x1f058e),this[_0x55b362(0x10a)]({'tag':_0x55b362(0x107),'attributes':{'class':['ck',_0x55b362(0xaf),_0x55b362(0x121),_0x55b362(0x11e)],'dir':_0x706ec7[_0x55b362(0xb8)]},'children':this[_0x55b362(0xcf)]});}[_0x31b758(0x126)](){const _0x592445=_0x31b758;return new _0x2701e4(this[_0x592445(0xd2)],{'filteredView':this[_0x592445(0xe1)],'queryView':{'label':_0x3aaee8(this[_0x592445(0xd2)],_0x592445(0xf0))},'class':_0x592445(0x123),'infoView':{'text':{'notFound':{'primary':_0x3aaee8(this[_0x592445(0xd2)],_0x592445(0xd1))}}}});}[_0x31b758(0xb5)](){const _0xc00a33=_0x31b758;if(!this[_0xc00a33(0xb6)]||!this[_0xc00a33(0xd8)]||!this[_0xc00a33(0xd8)][_0xc00a33(0xae)][_0xc00a33(0xb3)][_0xc00a33(0x11a)])return!0x1;const _0x464ffc=this[_0xc00a33(0xd8)][_0xc00a33(0xae)][_0xc00a33(0xb3)][_0xc00a33(0x11a)][_0xc00a33(0xd4)]?.[_0xc00a33(0xde)];return this[_0xc00a33(0xd8)][_0xc00a33(0xae)][_0xc00a33(0xb3)][_0xc00a33(0x11a)][_0xc00a33(0xcc)](_0x464ffc);}[_0x31b758(0xcd)](_0x4b7012,_0x5f534c,_0x5aca81){const _0x2a0afc=_0x31b758,_0x37f4b2=new _0x534115();return _0x5f534c[_0x2a0afc(0x11c)](_0x3fc298=>{const _0x747e6b=_0x2a0afc;if(_0x747e6b(0x124)in _0x3fc298){const {listItem:_0x212586}=this[_0x747e6b(0xc7)](_0x4b7012,_0x3fc298,_0x5aca81);_0x37f4b2[_0x747e6b(0x11d)](_0x212586),_0x3fc298[_0x747e6b(0x124)][_0x747e6b(0x11c)](_0x3a165c=>{const _0x5203f7=_0x747e6b;this[_0x5203f7(0xb1)](_0x4b7012,_0x3a165c,_0x3fc298[_0x5203f7(0xa3)],_0x3fc298[_0x5203f7(0xfc)]);const {listItem:_0x594021,highlightViews:_0x1315df}=this[_0x5203f7(0x116)](_0x4b7012,_0x3a165c,_0x3fc298[_0x5203f7(0xa3)],_0x3fc298[_0x5203f7(0xfc)]);this[_0x5203f7(0xea)][_0x5203f7(0xbc)]({'item':_0x594021,'label':_0x3a165c[_0x5203f7(0xd0)],'groupLabel':_0x3fc298[_0x5203f7(0xa3)],'highlightViews':_0x1315df});});}else{const {listItem:_0x4b5449}=this[_0x747e6b(0xb1)](_0x4b7012,_0x3fc298);_0x37f4b2[_0x747e6b(0x11d)](_0x4b5449);const _0x219a0d=_0x4b5449[_0x747e6b(0xcf)][_0x747e6b(0xd7)];if(_0x219a0d){const {listItem:_0xa6fe50,highlightViews:_0x3a0e67}=this[_0x747e6b(0x116)](_0x4b7012,_0x3fc298);this[_0x747e6b(0xea)][_0x747e6b(0xbc)]({'item':_0xa6fe50,'label':_0x219a0d[_0x747e6b(0xa3)]||'','highlightViews':_0x3a0e67});}}}),_0x37f4b2;}[_0x31b758(0xb1)](_0x1c8066,_0x209909,_0x29da09,_0x551f33){const _0x2012ac=_0x31b758,_0x9ffdd4=new _0x5b930b(this[_0x2012ac(0xd2)]);if(_0x29da09&&_0x551f33){const _0x5234d1=new _0x36ddcf(this[_0x2012ac(0xd2)]),_0x312418=_0x5234d1[_0x2012ac(0x11f)],_0x49f36a=new _0x5d06cc();_0x49f36a[_0x2012ac(0xf2)]=_0x209909[_0x2012ac(0xd0)];const _0x36f5e6=new _0x5d06cc();_0x36f5e6[_0x2012ac(0xf2)]=_0x29da09;const _0x3ac8eb=new _0x473eb9();_0x3ac8eb[_0x2012ac(0xf6)]=_0x551f33,_0x3ac8eb[_0x2012ac(0x10e)]({'attributes':{'class':_0x2012ac(0xdf)}});const _0x292775=new _0x2de5d0(this[_0x2012ac(0xd2)]);_0x292775[_0x2012ac(0x10a)]({'tag':_0x2012ac(0xa7),'attributes':{'class':_0x2012ac(0x125)},'children':[{'text':'\x20('}]});const _0x27ef73=new _0x2de5d0(this[_0x2012ac(0xd2)]);return _0x27ef73[_0x2012ac(0x10a)]({'tag':_0x2012ac(0xa7),'attributes':{'class':_0x2012ac(0x112)},'children':[{'text':')'}]}),_0x5234d1[_0x2012ac(0xbd)]({'label':_0x209909[_0x2012ac(0xd0)]+'\x20('+_0x29da09+')','withText':!0x0,'role':_0x2012ac(0xef),'class':_0x2012ac(0xaa),'tooltip':!0x1}),_0x5234d1[_0x2012ac(0x10a)]({'tag':_0x2012ac(0xeb),'attributes':{'class':['ck',_0x2012ac(0x10d),_0x2012ac(0x119),_0x2012ac(0xfe),_0x2012ac(0xe5)],'type':_0x2012ac(0xeb),'role':_0x2012ac(0xef),'tabindex':'-1'},'children':[_0x49f36a,_0x292775,_0x3ac8eb,_0x36f5e6,_0x27ef73],'on':{'mouseenter':_0x312418['to'](()=>{const _0x505624=_0x2012ac;this[_0x505624(0xb5)]()||_0x5234d1[_0x505624(0x101)]();}),'click':_0x312418['to'](()=>{const _0x9ec0ed=_0x2012ac;_0x5234d1[_0x9ec0ed(0xd5)](_0x9ec0ed(0x108));})}}),_0x5234d1['on'](_0x2012ac(0x108),()=>{const _0x468b68=_0x2012ac;_0x1c8066[_0x468b68(0xf9)][_0x468b68(0xbe)][_0x468b68(0x101)](),_0x1c8066[_0x468b68(0xe4)][_0x468b68(0x108)](_0x468b68(0xf7),_0x209909);}),_0x9ffdd4[_0x2012ac(0xcf)][_0x2012ac(0x11d)](_0x5234d1),{'listItem':_0x9ffdd4,'highlightViews':[_0x49f36a,_0x36f5e6]};}{const _0x615c0e=new _0x2efd8b(),_0x5cbfef=new _0x36ddcf(this[_0x2012ac(0xd2)],_0x615c0e),_0x5e775a=_0x5cbfef[_0x2012ac(0x11f)],_0x4ed6c2=_0x209909[_0x2012ac(0xfc)]??_0x209909[_0x2012ac(0xa8)]?.[_0x2012ac(0xfc)],_0x22a6bc=void 0x0!==_0x209909[_0x2012ac(0xfc)];return _0x5cbfef[_0x2012ac(0xbd)]({'label':_0x209909[_0x2012ac(0xd0)],'withText':!0x0,'role':_0x2012ac(0xef),'icon':_0x22a6bc?_0x4ed6c2??_0x1638a6:void 0x0,'tooltip':!0x1,'class':_0x2012ac(0xfe)}),_0x5cbfef[_0x2012ac(0x10e)]({'on':{'mouseenter':_0x5e775a['to'](()=>{const _0x3b5424=_0x2012ac;this[_0x3b5424(0xb5)]()||_0x5cbfef[_0x3b5424(0x101)]();})}}),_0x5cbfef['on'](_0x2012ac(0x108),()=>{const _0x342deb=_0x2012ac;_0x1c8066[_0x342deb(0xf9)][_0x342deb(0xbe)][_0x342deb(0x101)](),_0x1c8066[_0x342deb(0xe4)][_0x342deb(0x108)](_0x342deb(0xf7),_0x209909);}),_0x9ffdd4[_0x2012ac(0xcf)][_0x2012ac(0x11d)](_0x5cbfef),{'listItem':_0x9ffdd4,'highlightViews':[_0x615c0e]};}}[_0x31b758(0x116)](_0x11bd61,_0x56d23f,_0x200e09,_0x4e72f5){const _0x329455=_0x31b758;return _0x200e09&&_0x4e72f5?this[_0x329455(0xd3)](_0x11bd61,_0x56d23f,_0x200e09,_0x4e72f5):this[_0x329455(0xe2)](_0x11bd61,_0x56d23f);}[_0x31b758(0xd3)](_0x46d356,_0x3d5fd3,_0x207c72,_0x5c2839){const _0x48ee59=_0x31b758,_0x23e38a=new _0x5b930b(this[_0x48ee59(0xd2)]),_0x359316=new _0x36ddcf(this[_0x48ee59(0xd2)]),_0x2f2a21=_0x359316[_0x48ee59(0x11f)],{view:_0x96bb,highlightView:_0x236e97}=this[_0x48ee59(0xa5)](_0x207c72,_0x5c2839),{view:_0x344306,highlightView:_0x29dc23}=this[_0x48ee59(0xab)](_0x3d5fd3[_0x48ee59(0xd0)]),_0x1a008b=this[_0x48ee59(0x122)](_0x96bb,_0x344306);return _0x359316[_0x48ee59(0xbd)]({'label':_0x3d5fd3[_0x48ee59(0xd0)],'withText':!0x0,'role':_0x48ee59(0xef),'class':_0x48ee59(0xdb),'tooltip':!0x1}),_0x359316[_0x48ee59(0x10a)]({'tag':_0x48ee59(0xeb),'attributes':{'class':['ck',_0x48ee59(0x10d),_0x48ee59(0x119),_0x48ee59(0xfe),_0x48ee59(0xe7),_0x48ee59(0x109)],'type':_0x48ee59(0xeb),'role':_0x48ee59(0xef),'tabindex':'-1'},'children':[_0x1a008b],'on':{'mouseenter':_0x2f2a21['to'](()=>{const _0x235eae=_0x48ee59;this[_0x235eae(0xb5)]()||_0x359316[_0x235eae(0x101)]();}),'click':_0x2f2a21['to'](()=>{const _0x5ef15e=_0x48ee59;this[_0x5ef15e(0xfa)](_0x359316);})}}),this[_0x48ee59(0xd6)](_0x359316,_0x46d356,_0x3d5fd3),_0x23e38a[_0x48ee59(0xcf)][_0x48ee59(0x11d)](_0x359316),{'listItem':_0x23e38a,'highlightViews':[_0x236e97,_0x29dc23]};}[_0x31b758(0xe2)](_0x1492f5,_0x4dd783){const _0x1ffa35=_0x31b758,_0x4e5a00=new _0x5b930b(this[_0x1ffa35(0xd2)]),_0xc96010=new _0x2efd8b(),_0x1b327c=new _0x36ddcf(this[_0x1ffa35(0xd2)],_0xc96010),_0x1f9f3a=_0x1b327c[_0x1ffa35(0x11f)];return _0x1b327c[_0x1ffa35(0xbd)]({'label':_0x4dd783[_0x1ffa35(0xd0)],'withText':!0x0,'role':_0x1ffa35(0xef),'icon':void 0x0,'tooltip':!0x1,'class':_0x1ffa35(0xba)}),_0x1b327c[_0x1ffa35(0x10e)]({'on':{'mouseenter':_0x1f9f3a['to'](()=>{const _0x3be308=_0x1ffa35;this[_0x3be308(0xb5)]()||_0x1b327c[_0x3be308(0x101)]();})}}),this[_0x1ffa35(0xd6)](_0x1b327c,_0x1492f5,_0x4dd783),_0x4e5a00[_0x1ffa35(0xcf)][_0x1ffa35(0x11d)](_0x1b327c),{'listItem':_0x4e5a00,'highlightViews':[_0xc96010]};}[_0x31b758(0xa5)](_0x5ece1e,_0x3d1508){const _0x38b5f8=_0x31b758,_0x5211c7=new _0x2de5d0(this[_0x38b5f8(0xd2)]),_0x2266bd=new _0x473eb9();_0x2266bd[_0x38b5f8(0xf6)]=_0x3d1508,_0x2266bd[_0x38b5f8(0x10e)]({'attributes':{'class':_0x38b5f8(0xdf)}});const _0x32e83a=new _0x5d06cc();return _0x32e83a[_0x38b5f8(0xf2)]=_0x5ece1e,_0x5211c7[_0x38b5f8(0x10a)]({'tag':_0x38b5f8(0x107),'attributes':{'class':_0x38b5f8(0x128)},'children':[_0x2266bd,_0x32e83a]}),{'view':_0x5211c7,'highlightView':_0x32e83a};}[_0x31b758(0xab)](_0x120b41){const _0x1ab892=_0x31b758,_0x203440=new _0x2de5d0(this[_0x1ab892(0xd2)]),_0x468612=new _0x5d06cc();return _0x468612[_0x1ab892(0xf2)]=_0x120b41,_0x203440[_0x1ab892(0x10a)]({'tag':_0x1ab892(0x107),'attributes':{'class':_0x1ab892(0xd9)},'children':[_0x468612]}),{'view':_0x203440,'highlightView':_0x468612};}[_0x31b758(0x122)](_0x27b5e2,_0x437a21){const _0xde60c9=_0x31b758,_0x109c8b=new _0x2de5d0(this[_0xde60c9(0xd2)]);return _0x109c8b[_0xde60c9(0x10a)]({'tag':_0xde60c9(0x107),'attributes':{'class':_0xde60c9(0xc4)},'children':[_0x27b5e2,_0x437a21]}),_0x109c8b;}[_0x31b758(0xd6)](_0x4b387b,_0x344af9,_0x124bfa){const _0x4bea24=_0x31b758;_0x4b387b['on'](_0x4bea24(0x108),()=>{const _0x4e946e=_0x4bea24;_0x344af9[_0x4e946e(0xf9)][_0x4e946e(0xbe)][_0x4e946e(0x101)](),_0x344af9[_0x4e946e(0xe4)][_0x4e946e(0x108)](_0x4e946e(0xf7),_0x124bfa);});}[_0x31b758(0xc7)](_0x2863bd,_0x2c2865,_0x219f18){const _0x1c8053=_0x31b758,_0x197b41=new _0x5b930b(this[_0x1c8053(0xd2)]),_0x9ab16e=new _0x2efd8b(),_0x549edf=new _0x5917db(this[_0x1c8053(0xd2)],_0x9ab16e),_0x2a3bfa=_0x549edf[_0x1c8053(0x11f)],_0x4b8a3b=this[_0x1c8053(0xec)](_0x219f18),_0x599ed7=this[_0x1c8053(0xc2)](_0x2863bd,_0x2c2865[_0x1c8053(0x124)],_0x219f18);_0x549edf[_0x1c8053(0xbd)]({'label':_0x2c2865[_0x1c8053(0xa3)],'withText':!0x0,'role':Gs,'icon':_0x2c2865[_0x1c8053(0xfc)]??_0x1638a6,'isEnabled':_0x2c2865[_0x1c8053(0x124)][_0x1c8053(0x106)](_0x52b131=>_0x52b131[_0x1c8053(0xff)])}),_0x549edf[_0x1c8053(0x10e)]({'on':{'mouseenter':_0x2a3bfa['to'](()=>{const _0x27a140=_0x1c8053;this[_0x27a140(0xb5)]()||_0x549edf[_0x27a140(0x101)]();})}});const _0x56558f=new _0x18e612(this[_0x1c8053(0xd2)]);return _0x56558f[_0x1c8053(0x10e)]({'attributes':{'class':['ck',_0x1c8053(0xaf),_0x1c8053(0xed),_0x1c8053(0xad)]},'on':{'keydown':_0x2a3bfa['to'](_0x505744=>{const _0x52bea6=_0x1c8053;this[_0x52bea6(0x11b)](_0x505744,_0x4b8a3b,_0x549edf,_0x56558f);})}}),_0x549edf[_0x1c8053(0xee)](_0x1c8053(0x115))['to'](_0x56558f,_0x1c8053(0x127)),this[_0x1c8053(0xc8)][_0x1c8053(0x11d)](_0x56558f),_0x56558f[_0x1c8053(0xf6)][_0x1c8053(0x11d)](_0x599ed7),this[_0x1c8053(0x104)](_0x549edf,_0x56558f),_0x197b41[_0x1c8053(0xcf)][_0x1c8053(0x11d)](_0x549edf),{'listItem':_0x197b41,'highlightView':_0x9ab16e};}[_0x31b758(0xc2)](_0x3ec9bb,_0x40dbb3,_0x2e2124){const _0x3a0723=_0x31b758,_0x5fa54d=new _0x1ef31f(this[_0x3a0723(0xd2)]);return _0x5fa54d[_0x3a0723(0x10e)]({'attributes':{'class':['ck',_0x3a0723(0xaf),_0x3a0723(0xf4),_0x3a0723(0x129)]}}),_0x40dbb3[_0x3a0723(0x11c)](_0x6c148d=>{const _0x32744f=_0x3a0723,_0x5e0f5f=new _0x5b930b(this[_0x32744f(0xd2)]),_0xc11fac=_0x2a181d({'editor':_0x3ec9bb,'action':_0x6c148d,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x32744f(0xb5)]()})();_0x5e0f5f[_0x32744f(0xcf)][_0x32744f(0x11d)](_0xc11fac),_0x2e2124[_0x32744f(0xce)][_0x32744f(0x11d)](_0xc11fac),_0x5fa54d[_0x32744f(0x105)][_0x32744f(0x11d)](_0x5e0f5f);}),_0x5fa54d;}[_0x31b758(0x104)](_0x1b3d4d,_0x3ca27d){const _0x58bc67=_0x31b758,_0x57514a=_0x1b3d4d[_0x58bc67(0x11f)],_0x53cc62=this[_0x58bc67(0xe8)](_0x1b3d4d);_0x1b3d4d[_0x58bc67(0x10e)]({'attributes':{'class':[_0x58bc67(0xb2)]},'on':{'mouseenter':_0x57514a['to'](()=>{const _0x3e3b19=_0x58bc67;this[_0x3e3b19(0xbf)](_0x3ca27d,_0x1b3d4d);}),'mouseleave':_0x57514a['to'](_0x33ba8e=>{const _0x7d8683=_0x58bc67,_0x252f3b=_0x33ba8e[_0x7d8683(0x118)];this[_0x7d8683(0x10b)](_0x252f3b,_0x3ca27d)||this[_0x7d8683(0xe3)](_0x3ca27d);}),'keydown':_0x57514a['to'](_0x478ae2=>{const _0x2d7424=_0x58bc67;_0x478ae2[_0x2d7424(0xc6)]==_0x53cc62&&(this[_0x2d7424(0xbf)](_0x3ca27d,_0x1b3d4d),_0x3ca27d[_0x2d7424(0xf6)][_0x2d7424(0xc3)](0x0)[_0x2d7424(0x101)]());})}}),_0x3ca27d['on'](_0x58bc67(0x120),()=>{const _0x2bd4a3=_0x58bc67;_0x3ca27d[_0x2bd4a3(0x11a)]?.[_0x2bd4a3(0xa2)](_0x2bd4a3(0xac),_0x496508=>{const _0x190245=_0x2bd4a3,_0x156061=_0x496508[_0x190245(0x118)];_0x1b3d4d[_0x190245(0x11a)]?.[_0x190245(0xcc)](_0x156061)||this[_0x190245(0x10b)](_0x156061,_0x3ca27d)||this[_0x190245(0xe3)](_0x3ca27d);});});}[_0x31b758(0xbf)](_0xc691e1,_0x474fd){const _0x453a32=_0x31b758;this[_0x453a32(0xdd)][_0x453a32(0x11c)](_0x3727ff=>{const _0x4ecf28=_0x453a32;_0x3727ff!==_0xc691e1&&_0x3727ff[_0x4ecf28(0x127)]&&_0x3727ff[_0x4ecf28(0xb7)]();}),_0xc691e1[_0x453a32(0x110)](),_0xc691e1[_0x453a32(0xb4)]({'positions':[_0xeac3cd[_0x453a32(0xb0)]],'target':_0x474fd[_0x453a32(0x11a)],'fitInViewport':!0x0}),this[_0x453a32(0xdd)][_0x453a32(0x11d)](_0xc691e1);}[_0x31b758(0xe3)](_0x500111){const _0x1aa704=_0x31b758;_0x500111[_0x1aa704(0xb7)](),this[_0x1aa704(0xdd)][_0x1aa704(0xf5)](_0x500111);}[_0x31b758(0xc9)](){const _0x444d1c=_0x31b758;this[_0x444d1c(0xdd)][_0x444d1c(0x11c)](_0x3c96b8=>_0x3c96b8[_0x444d1c(0xb7)]()),this[_0x444d1c(0xdd)][_0x444d1c(0xf1)]();}[_0x31b758(0x10b)](_0x204be0,_0x1ebf2b){const _0x463053=_0x31b758;if(!_0x204be0)return!0x1;if(_0x1ebf2b[_0x463053(0x11a)]?.[_0x463053(0xcc)](_0x204be0))return!0x0;const _0x31604f=_0x204be0;return _0x31604f[_0x463053(0xa9)]&&(null!==_0x31604f[_0x463053(0xa9)](_0x463053(0x103))||null!==_0x31604f[_0x463053(0xa9)](_0x463053(0xda))||null!==_0x31604f[_0x463053(0xa9)](_0x463053(0xb9)));}[_0x31b758(0x102)](){const _0x3ecd91=_0x31b758;this[_0x3ecd91(0xd8)]&&this[_0x3ecd91(0xd8)][_0x3ecd91(0xdc)]();}[_0x31b758(0x10c)](){const _0x103044=_0x31b758;this[_0x103044(0xc9)](),this[_0x103044(0xc8)][_0x103044(0x117)](),super[_0x103044(0x10c)]();}[_0x31b758(0x101)](){const _0x3c5e61=_0x31b758;this[_0x3c5e61(0xd8)]?this[_0x3c5e61(0xd8)][_0x3c5e61(0x101)]():this[_0x3c5e61(0xe1)][_0x3c5e61(0x101)]();}[_0x31b758(0xec)](_0x4e23c6){const _0x5b6aaf=_0x31b758;return _0x5b6aaf(0xca)===_0x4e23c6[_0x5b6aaf(0xd2)][_0x5b6aaf(0xb8)]?_0x5b6aaf(0x111):_0x5b6aaf(0xe0);}[_0x31b758(0xe8)](_0x33dde5){const _0x44c1f5=_0x31b758;return _0x44c1f5(0xca)===_0x33dde5[_0x44c1f5(0xd2)][_0x44c1f5(0xb8)]?_0x44c1f5(0xe0):_0x44c1f5(0x111);}[_0x31b758(0x11b)](_0x181235,_0x2dd7b8,_0x1a2484,_0x416237){const _0x7b6c87=_0x31b758;_0x181235[_0x7b6c87(0xc6)]==_0x2dd7b8&&(_0x1a2484[_0x7b6c87(0x101)](),this[_0x7b6c87(0xe3)](_0x416237));}[_0x31b758(0xfa)](_0x54441f){const _0x450f30=_0x31b758;_0x54441f[_0x450f30(0xd5)](_0x450f30(0x108));}}