@ckeditor/ckeditor5-ai 47.2.0-alpha.2 → 47.2.0-alpha.3

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 (289) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichat/utils/scrollmanager.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.js +1 -1
  226. package/src/aicore/model/aimodels.js +1 -1
  227. package/src/aicore/model/aireply.js +1 -1
  228. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  229. package/src/aicore/pipeline/airesponseparser.js +2 -2
  230. package/src/aicore/ui/aidisclaimerview.js +1 -1
  231. package/src/aicore/ui/aiskeleton.js +1 -1
  232. package/src/aicore/ui/aispinner.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  238. package/src/aicore/utils/common-translations.js +1 -1
  239. package/src/aicore/utils/createresizebutton.js +1 -1
  240. package/src/aicore/utils/documentposition.js +1 -1
  241. package/src/aicore/utils/documentrange.js +1 -1
  242. package/src/aicore/utils/eventnames.js +1 -1
  243. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  244. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  245. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  246. package/src/aicore/utils/htmlparser.js +1 -1
  247. package/src/aicore/utils/htmlstreamer.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  259. package/src/aireviewmode/aireviewmode.js +1 -1
  260. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  261. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  262. package/src/aireviewmode/aireviewmodeui.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  265. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  283. package/src/aitabs/aitabs.js +1 -1
  284. package/src/aitabs/aitabsmainview.js +1 -1
  285. package/src/aitabs/tabs/aitabsview.js +1 -1
  286. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  287. package/src/aitabs/tabs/tabpanelview.js +1 -1
  288. package/src/errors.js +1 -1
  289. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1b095c,_0x8e2395){const _0x5de6bf=_0x218e,_0x1d4017=_0x1b095c();while(!![]){try{const _0x56fb8=-parseInt(_0x5de6bf(0x1de))/0x1*(parseInt(_0x5de6bf(0x1ad))/0x2)+parseInt(_0x5de6bf(0x1e2))/0x3*(-parseInt(_0x5de6bf(0x210))/0x4)+parseInt(_0x5de6bf(0x1ed))/0x5*(parseInt(_0x5de6bf(0x206))/0x6)+-parseInt(_0x5de6bf(0x1b2))/0x7+-parseInt(_0x5de6bf(0x213))/0x8+parseInt(_0x5de6bf(0x1b8))/0x9+parseInt(_0x5de6bf(0x1fb))/0xa*(parseInt(_0x5de6bf(0x20f))/0xb);if(_0x56fb8===_0x8e2395)break;else _0x1d4017['push'](_0x1d4017['shift']());}catch(_0x7b915b){_0x1d4017['push'](_0x1d4017['shift']());}}}(_0x13fe,0xecd8d));function _0x218e(_0x348eeb,_0x5212fb){const _0x13fe50=_0x13fe();return _0x218e=function(_0x218e27,_0x4fef8e){_0x218e27=_0x218e27-0x1ac;let _0x3dd1a8=_0x13fe50[_0x218e27];return _0x3dd1a8;},_0x218e(_0x348eeb,_0x5212fb);}import{findOne as _0x5358f4,getAttribute as _0x19be69,Document as _0x2d6cbc,serialize as _0x592478,parse as _0x177d80}from'./htmlparser.js';import{fixElementSuggestionRange as _0x36558f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x13fe(){const _0x337650=['batch','focus','toNone','getDiff','9559ZxNiSp','4jCHFep','model','getShiftedBy','2918304rWFvYd','oldValue','getFirstRange','removed','createSelection','remove','markers','moveTargetPosition','addAttribute','clone','sourcePosition','parent','cloneNode','position','delete','_getTransformedByInsertion','32AwJRDM','data','howMany','rename','nodeAfter','5504310sArgvN','getMinimalFlatRanges','start','newRange','change','oldName','5746248EmepXs','suggestion:deletion:','suggestion:attribute:','element','isBlock','modifySelection','schema','range','textNode','slice','word','SuggestionsConversion','isBefore','map','targetPosition','suggestion:formatBlock:$fakeWrap:','parse','root','forward','isObject','isMarkedRemoveOperation','baseVersion','newName','plugins','nodeBefore','end','stringify','isRegisteredAttribute','index','offset','createRange','changes','createPositionAt','isDocumentOperation','merge','name','getOperations','$text','109129mvCzUS','applyOperation','removeAttribute','DocumentCompare','1529439pyIyZK','insert','data-id','push','createRangeOn','getMovedRangeStart','node','new','isAfter','$elementName','length','538885UaWyAS','backward','createPositionFromPath','setTo','newValue','children','_createFromRanges','...','getTransformedByOperation','add','type','path','reverse','splitPosition','30620gImydt','set','move','get','addOperation','suggestion:insertion:','split','marker',':$aiSuggestion','$root','stickiness','60inLXSg','_getTransformedByDeletion','key','changeAttribute','POSITIVE_INFINITY'];_0x13fe=function(){return _0x337650;};return _0x13fe();}import{ModelRange as _0x5ba3b3,_DetachOperation as _0x4364ad,_removeFromModelNodeList as _0xfb0ed2,_insertIntoModelNodeList as _0x30fa92}from'ckeditor5/src/engine.js';import{uid as _0xc0e14c}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x1564bf,changeGroups:_0x3eecbe,documentContextContent:_0x1c8fa4,showDiff:_0x4e70b3,trimUnchanged:_0x13b652=!0x0}){const _0x5d5a94=_0x218e;return _0x3eecbe[_0x5d5a94(0x1c5)](_0x2e67bd=>{const _0x171c4c=_0x5d5a94,_0x81fd04=new _0x2d6cbc([]),_0x26997d=new _0x2d6cbc([]);for(const _0x2a437f of _0x2e67bd[_0x171c4c(0x1d7)])if(_0x4e70b3&&_0x171c4c(0x216)==_0x2a437f[_0x171c4c(0x1f7)]||_0x26997d[_0x171c4c(0x1f2)][_0x171c4c(0x1e5)](_0x2a437f[_0x171c4c(0x1e8)][_0x171c4c(0x21f)](!0x0)),_0x171c4c(0x1e9)!=_0x2a437f[_0x171c4c(0x1f7)]&&(_0x4e70b3||_0x171c4c(0x216)!=_0x2a437f[_0x171c4c(0x1f7)])){const _0x1eafbf=_0x5358f4(_0x39c63f=>_0x19be69(_0x39c63f,_0x171c4c(0x1e4))==_0x2a437f['id'],_0x1c8fa4,!0x0);_0x1eafbf&&_0x81fd04[_0x171c4c(0x1f2)][_0x171c4c(0x1e5)](_0x1eafbf[_0x171c4c(0x21f)](!0x0));}const {content:_0x5408a1,hasChanges:_0x1de60c}=function(_0x38d20,_0x5e68e8,_0x2a513a,_0x3917b4,_0x24b86b=!0x0){const _0x40b356=_0x171c4c,_0x3ae8da=_0x38d20[_0x40b356(0x1cf)][_0x40b356(0x1fe)](_0x40b356(0x1e1)),_0x1e1b7e=_0x592478(_0x5e68e8),_0xb7d82c=_0x592478(_0x2a513a),_0x5d9e4b=_0x38d20[_0x40b356(0x1ae)][_0x40b356(0x1c8)](_0x1e1b7e,_0x40b356(0x204)),_0x25e4bf=_0x38d20[_0x40b356(0x211)][_0x40b356(0x1d8)](_0x5d9e4b,0x0),_0x2b19e4=_0x3ae8da[_0x40b356(0x20e)](_0x1e1b7e,_0xb7d82c,{'anchor':_0x25e4bf,'markDeletions':_0x3917b4}),_0x4fa13d=_0x2b19e4[_0x40b356(0x1dc)]();if(0x0==_0x4fa13d[_0x40b356(0x1ec)])return{'content':_0x5e68e8[_0x40b356(0x21f)](!0x0),'hasChanges':!0x1};_0x3917b4?function(_0x71eb10,_0x13081c,_0x13c3f2){const _0x42c141=_0x40b356;if(0x0==_0x71eb10[_0x42c141(0x1ec)])return;const _0x23d283=_0x13c3f2[_0x42c141(0x1cf)][_0x42c141(0x1fe)](_0x42c141(0x1e1)),_0x379f53=_0x13c3f2[_0x42c141(0x1cf)][_0x42c141(0x1fe)](_0x42c141(0x1c3));_0x13c3f2[_0x42c141(0x211)][_0x42c141(0x1b6)](_0x45d646=>{const _0x9bebef=_0x42c141,_0x8f4d29=new Set();for(let _0x3c5820=0x0;_0x3c5820<_0x71eb10[_0x9bebef(0x1ec)];_0x3c5820++){const _0x286941=_0x71eb10[_0x3c5820];if(_0x286941[_0x9bebef(0x1cd)]=null,_0x286941[_0x9bebef(0x1d9)]=!0x1,_0x23d283[_0x9bebef(0x1cc)](_0x286941)){const _0x493c43=_0x36558f(_0x286941[_0x9bebef(0x1b5)],_0x13c3f2[_0x9bebef(0x211)]),_0x21be06=_0x9bebef(0x1b9)+_0xc0e14c()+_0x9bebef(0x203);_0x13081c[_0x9bebef(0x219)][_0x9bebef(0x1fc)](_0x21be06,_0x493c43);}else switch(_0x286941[_0x9bebef(0x1f7)]){case _0x9bebef(0x1b0):{if(_0x286941[_0x9bebef(0x1b7)]==_0x286941[_0x9bebef(0x1ce)])break;_0x45d646[_0x9bebef(0x20b)][_0x9bebef(0x1ff)](_0x286941),_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1df)](_0x286941);const _0x26f1d4=_0x9bebef(0x1eb),_0x24f1f8=_0x286941[_0x9bebef(0x220)],_0x49a3e7=_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1d6)](_0x24f1f8,_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1d8)](_0x24f1f8[_0x9bebef(0x1b1)],_0x9bebef(0x1d1))),_0x47b21a=_0x9bebef(0x1ba)+_0x26f1d4+':'+_0xc0e14c()+_0x9bebef(0x203);_0x13081c[_0x9bebef(0x219)][_0x9bebef(0x1fc)](_0x47b21a,_0x49a3e7);break;}case _0x9bebef(0x21b):case _0x9bebef(0x1e0):case _0x9bebef(0x209):{if(_0x286941[_0x9bebef(0x214)]==_0x286941[_0x9bebef(0x1f1)])break;_0x45d646[_0x9bebef(0x20b)][_0x9bebef(0x1ff)](_0x286941),_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1df)](_0x286941);const _0x499e96=_0x286941[_0x9bebef(0x208)];if(!_0x379f53[_0x9bebef(0x1d3)](_0x499e96))break;const _0x2ea63c=_0x36558f(_0x286941[_0x9bebef(0x1bf)],_0x13c3f2[_0x9bebef(0x211)]),_0x5fba09=_0x9bebef(0x1ba)+_0x499e96+':'+_0xc0e14c()+_0x9bebef(0x203);_0x13081c[_0x9bebef(0x219)][_0x9bebef(0x1fc)](_0x5fba09,_0x2ea63c);break;}case _0x9bebef(0x1e3):{_0x45d646[_0x9bebef(0x20b)][_0x9bebef(0x1ff)](_0x286941),_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1df)](_0x286941);if(_0x71eb10[_0x3c5820+0x1]&&_0x9bebef(0x1fd)==_0x71eb10[_0x3c5820+0x1][_0x9bebef(0x1f7)]){no(_0x13081c,_0x286941);break;}const _0x1af06d=_0x286941[_0x9bebef(0x220)],_0x186a6e=_0x286941[_0x9bebef(0x1af)],_0x4a3241=_0x36558f(_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1d6)](_0x1af06d,_0x1af06d[_0x9bebef(0x212)](_0x186a6e)),_0x13c3f2[_0x9bebef(0x211)]),_0x5f1942=_0x9bebef(0x200)+_0xc0e14c()+_0x9bebef(0x203);_0x13081c[_0x9bebef(0x219)][_0x9bebef(0x1fc)](_0x5f1942,_0x4a3241);break;}case _0x9bebef(0x201):{_0x45d646[_0x9bebef(0x20b)][_0x9bebef(0x1ff)](_0x286941),_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1df)](_0x286941);const _0x8d2d9f=_0x286941[_0x9bebef(0x1fa)],_0x19df1a=_0x286941[_0x9bebef(0x21a)],_0x25366c=_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1d6)](_0x8d2d9f,_0x19df1a),_0x49d52a=_0x9bebef(0x200)+_0xc0e14c()+_0x9bebef(0x203);_0x13081c[_0x9bebef(0x219)][_0x9bebef(0x1fc)](_0x49d52a,_0x25366c);break;}case _0x9bebef(0x1fd):{_0x45d646[_0x9bebef(0x20b)][_0x9bebef(0x1ff)](_0x286941),_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1df)](_0x286941),_0x71eb10[_0x3c5820-0x1]&&_0x9bebef(0x1e3)==_0x71eb10[_0x3c5820-0x1][_0x9bebef(0x1f7)]&&no(_0x13081c,_0x286941);const _0x9e3e2b=_0x286941[_0x9bebef(0x1e7)](),_0x431b0b=_0x286941[_0x9bebef(0x1af)];for(let _0x5e74a5=0x0;_0x5e74a5<_0x431b0b;_0x5e74a5++){const _0x46356a=_0x9e3e2b[_0x9bebef(0x212)](_0x5e74a5)[_0x9bebef(0x1b1)];_0x8f4d29[_0x9bebef(0x1f6)](_0x46356a);}break;}case _0x9bebef(0x218):{const _0x131a96=_0x286941[_0x9bebef(0x21d)],_0x3992ee=_0x286941[_0x9bebef(0x1af)],_0x272b83=new _0x4364ad(_0x131a96,_0x3992ee);_0x45d646[_0x9bebef(0x20b)][_0x9bebef(0x1ff)](_0x272b83),_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1df)](_0x272b83);break;}}}for(const _0x4f9cc0 of _0x8f4d29){const _0x2a9c8a=_0x13c3f2[_0x9bebef(0x211)][_0x9bebef(0x1e6)](_0x4f9cc0),_0xabba70=_0x9bebef(0x1c7)+_0xc0e14c()+_0x9bebef(0x203);_0x13081c[_0x9bebef(0x219)][_0x9bebef(0x1fc)](_0xabba70,_0x36558f(_0x2a9c8a,_0x13c3f2[_0x9bebef(0x211)]));}});}(_0x4fa13d,_0x5d9e4b,_0x38d20):_0x38d20[_0x40b356(0x211)][_0x40b356(0x1b6)](_0x2564c9=>{const _0x5b5e15=_0x40b356;for(const _0x46a8f4 of _0x4fa13d)if(_0x5b5e15(0x218)==_0x46a8f4[_0x5b5e15(0x1f7)]){const _0x3272e5=_0x46a8f4[_0x5b5e15(0x21d)],_0x4f7463=_0x46a8f4[_0x5b5e15(0x1af)],_0x321f44=new _0x4364ad(_0x3272e5,_0x4f7463);_0x2564c9[_0x5b5e15(0x20b)][_0x5b5e15(0x1ff)](_0x321f44),_0x38d20[_0x5b5e15(0x211)][_0x5b5e15(0x1df)](_0x321f44);}else{if(_0x5b5e15(0x202)==_0x46a8f4[_0x5b5e15(0x1f7)]){const _0x2fe1dc=_0x46a8f4[_0x5b5e15(0x1db)],_0x2d0a0b=_0x46a8f4[_0x5b5e15(0x1b5)];_0x5d9e4b[_0x5b5e15(0x219)][_0x5b5e15(0x1fc)](_0x2fe1dc,_0x2d0a0b);}else _0x46a8f4[_0x5b5e15(0x1cd)]=null,_0x46a8f4[_0x5b5e15(0x1d9)]=!0x1,_0x2564c9[_0x5b5e15(0x20b)][_0x5b5e15(0x1ff)](_0x46a8f4),_0x38d20[_0x5b5e15(0x211)][_0x5b5e15(0x1df)](_0x46a8f4);}});if(_0x24b86b){const _0x1574fb=getMinimalSelection(_0x38d20,_0x4fa13d,_0x5d9e4b);expandSelectionWithContext(_0x38d20[_0x40b356(0x211)],_0x1574fb),function(_0x3ccc2b,_0x30861f){const _0x4f363d=_0x40b356,_0x22dca1=_0x30861f[_0x4f363d(0x215)]()[_0x4f363d(0x1b4)];let _0x2d967f=_0x30861f[_0x4f363d(0x215)]()[_0x4f363d(0x1d1)];const _0x20741b=_0x22dca1[_0x4f363d(0x1c9)];(_0x2d967f[_0x4f363d(0x1c0)]||_0x2d967f[_0x4f363d(0x1b1)]&&_0x2d967f[_0x4f363d(0x1b1)]['is'](_0x4f363d(0x1dd)))&&(_0x30fa92(_0x2d967f,_0x4f363d(0x1f4)),_0x2d967f=_0x2d967f[_0x4f363d(0x212)](0x3)),(_0x22dca1[_0x4f363d(0x1c0)]||_0x22dca1[_0x4f363d(0x1d0)]&&_0x22dca1[_0x4f363d(0x1d0)]['is'](_0x4f363d(0x1dd)))&&(_0x30fa92(_0x22dca1,_0x4f363d(0x1f4)),function(_0x1adf8a,_0x478c53,_0x32d955){const _0x1ab64a=_0x4f363d;for(let [_0x1e298b,_0x1a5802]of _0x1adf8a[_0x1ab64a(0x219)]){const _0x3a1a7a=_0x1a5802[_0x1ab64a(0x1ac)](_0x478c53,_0x32d955,!0x1);_0x1a5802=_0x3a1a7a[0x0],_0x1adf8a[_0x1ab64a(0x219)][_0x1ab64a(0x1fc)](_0x1e298b,_0x1a5802);}}(_0x20741b,_0x22dca1,0x3),_0x22dca1[_0x4f363d(0x21e)]==_0x2d967f[_0x4f363d(0x21e)]&&(_0x2d967f=_0x2d967f[_0x4f363d(0x212)](0x3)));const _0x396d4c=_0x3ccc2b[_0x4f363d(0x1d6)](_0x3ccc2b[_0x4f363d(0x1d8)](_0x20741b,0x0),_0x22dca1),_0xe3c413=_0x3ccc2b[_0x4f363d(0x1d6)](_0x2d967f,_0x3ccc2b[_0x4f363d(0x1d8)](_0x20741b,_0x4f363d(0x1d1))),_0xcd36e3=[..._0x396d4c[_0x4f363d(0x1b3)](),..._0xe3c413[_0x4f363d(0x1b3)]()];_0xcd36e3[_0x4f363d(0x1f9)]();for(const _0x875c13 of _0xcd36e3)_0xfb0ed2(_0x875c13),_transformMarkersByDeletion(_0x20741b,_0x875c13);}(_0x38d20[_0x40b356(0x211)],_0x1574fb);}const _0x38697b=_0x38d20[_0x40b356(0x1ae)][_0x40b356(0x1d2)](_0x5d9e4b,{'showSuggestionHighlights':!0x0});return{'content':_0x177d80(_0x38697b),'hasChanges':!0x0};}(_0x1564bf,_0x81fd04,_0x26997d,_0x4e70b3,_0x13b652);return{'type':_0x2e67bd[_0x171c4c(0x1d7)][0x0][_0x171c4c(0x1f7)],'index':_0x2e67bd[_0x171c4c(0x1d4)],'content':_0x5408a1,'hasChanges':_0x1de60c};});}function no(_0x293d36,_0x16fa7e){const _0x48fab5=_0x218e;for(const [_0x584740,_0x4d02e5]of _0x293d36[_0x48fab5(0x219)]){const _0x5bd03d=_0x5ba3b3[_0x48fab5(0x1f3)](_0x4d02e5[_0x48fab5(0x1f5)](_0x16fa7e));_0x293d36[_0x48fab5(0x219)][_0x48fab5(0x1fc)](_0x584740,_0x5bd03d);}}export function getMinimalSelection(_0x32bbdd,_0x42c49d,_0x40b500){const _0xe423c0=_0x218e,_0x3f9d46=_0x32bbdd[_0xe423c0(0x1cf)][_0xe423c0(0x1fe)](_0xe423c0(0x1e1));let _0x131962=_0x32bbdd[_0xe423c0(0x211)][_0xe423c0(0x1d8)](_0x40b500,Number[_0xe423c0(0x20a)]),_0x12abce=_0x32bbdd[_0xe423c0(0x211)][_0xe423c0(0x1d8)](_0x40b500,0x0);for(const _0x5bb2f0 of _0x42c49d){let _0xd128d8,_0x1417af;if(_0x3f9d46[_0xe423c0(0x1cc)](_0x5bb2f0))_0xd128d8=_0x5bb2f0[_0xe423c0(0x1b5)][_0xe423c0(0x1b4)],_0x1417af=_0x5bb2f0[_0xe423c0(0x1b5)][_0xe423c0(0x1d1)];else switch(_0x131962=_0x131962[_0xe423c0(0x1f5)](_0x5bb2f0),_0x12abce=_0x12abce[_0xe423c0(0x1f5)](_0x5bb2f0),_0x5bb2f0[_0xe423c0(0x1f7)]){case _0xe423c0(0x1b0):_0xd128d8=_0x5bb2f0[_0xe423c0(0x220)],_0x1417af=_0xd128d8[_0xe423c0(0x212)](0x1);break;case _0xe423c0(0x21b):case _0xe423c0(0x1e0):case _0xe423c0(0x209):_0xd128d8=_0x5bb2f0[_0xe423c0(0x1bf)][_0xe423c0(0x1b4)],_0x1417af=_0x5bb2f0[_0xe423c0(0x1bf)][_0xe423c0(0x1d1)];break;case _0xe423c0(0x1e3):_0xd128d8=_0x5bb2f0[_0xe423c0(0x220)],_0x1417af=_0xd128d8[_0xe423c0(0x212)](_0x5bb2f0[_0xe423c0(0x1af)]);break;case _0xe423c0(0x201):_0xd128d8=_0x5bb2f0[_0xe423c0(0x1fa)],_0x1417af=_0x5bb2f0[_0xe423c0(0x21a)];break;case _0xe423c0(0x1da):{const _0x5eaf3c=_0x5bb2f0[_0xe423c0(0x1c6)][_0xe423c0(0x1f8)][_0xe423c0(0x1c1)](0x0,-0x1);_0xd128d8=_0x32bbdd[_0xe423c0(0x211)][_0xe423c0(0x1ef)](_0x40b500,_0x5eaf3c),_0x1417af=_0xd128d8[_0xe423c0(0x212)](0x1);break;}case _0xe423c0(0x218):{const _0x170e1b=_0x5bb2f0[_0xe423c0(0x1af)],_0x241a0b=_0x5bb2f0[_0xe423c0(0x21d)][_0xe423c0(0x1ac)](_0x5bb2f0[_0xe423c0(0x1c6)],_0x170e1b),_0x4f5158=_0x5bb2f0[_0xe423c0(0x1e7)]();_0xe423c0(0x218)==_0x5bb2f0[_0xe423c0(0x1f7)]?(_0xd128d8=_0x241a0b,_0x1417af=_0x241a0b):(_0xd128d8=_0x4f5158,_0x1417af=_0x4f5158[_0xe423c0(0x212)](_0x170e1b));break;}}_0xd128d8&&_0xd128d8[_0xe423c0(0x1c4)](_0x131962)&&(_0x131962=_0xd128d8[_0xe423c0(0x21c)](),_0x131962[_0xe423c0(0x205)]=_0xe423c0(0x20d)),_0x1417af&&_0x1417af[_0xe423c0(0x1ea)](_0x12abce)&&(_0x12abce=_0x1417af[_0xe423c0(0x21c)](),_0x12abce[_0xe423c0(0x205)]=_0xe423c0(0x20d));}return _0x32bbdd[_0xe423c0(0x211)][_0xe423c0(0x217)](_0x32bbdd[_0xe423c0(0x211)][_0xe423c0(0x1d6)](_0x131962,_0x12abce));}export function expandSelectionWithContext(_0x2d555f,_0x5835e1){const _0x4c2d0d=_0x218e;ro(_0x2d555f,_0x5835e1,_0x4c2d0d(0x1ca));const _0x56b70c=_0x5835e1[_0x4c2d0d(0x215)]();_0x5835e1[_0x4c2d0d(0x1f0)]([]),_0x5835e1[_0x4c2d0d(0x1f0)](_0x56b70c,{'backward':!0x0}),ro(_0x2d555f,_0x5835e1,_0x4c2d0d(0x1ee));}function ro(_0x59d0af,_0x1a95f8,_0x235e6c){const _0x394fe6=_0x218e;let _0x3f2e80=0x14;for(;_0x3f2e80;){_0x59d0af[_0x394fe6(0x1bd)](_0x1a95f8,{'unit':_0x394fe6(0x1c2),'direction':_0x235e6c}),_0x3f2e80--;const _0x43307a=_0x1a95f8[_0x394fe6(0x20c)][_0x394fe6(0x1ca)==_0x235e6c?_0x394fe6(0x1d0):_0x394fe6(0x1b1)];if(_0x43307a&&_0x43307a['is'](_0x394fe6(0x1bb))&&_0x59d0af[_0x394fe6(0x1be)][_0x394fe6(0x1bc)](_0x43307a)&&_0x59d0af[_0x394fe6(0x1be)][_0x394fe6(0x1cb)](_0x43307a))break;}}export function _transformMarkersByDeletion(_0x5b4bff,_0x2ff0f3){const _0x516a9c=_0x218e;for(const [_0x661e9b,_0x29087d]of _0x5b4bff[_0x516a9c(0x219)]){const _0xd9679f=_0x29087d[_0x516a9c(0x207)](_0x2ff0f3[_0x516a9c(0x1b4)],_0x2ff0f3[_0x516a9c(0x1d1)][_0x516a9c(0x1d5)]-_0x2ff0f3[_0x516a9c(0x1b4)][_0x516a9c(0x1d5)]);null!=_0xd9679f?_0x5b4bff[_0x516a9c(0x219)][_0x516a9c(0x1fc)](_0x661e9b,_0xd9679f):_0x5b4bff[_0x516a9c(0x219)][_0x516a9c(0x221)](_0x661e9b);}}
23
+ (function(_0x379416,_0x2a938a){const _0x5a7af2=_0x31ff,_0x53790e=_0x379416();while(!![]){try{const _0x540101=parseInt(_0x5a7af2(0x123))/0x1+parseInt(_0x5a7af2(0x106))/0x2+-parseInt(_0x5a7af2(0x12c))/0x3*(-parseInt(_0x5a7af2(0xfe))/0x4)+-parseInt(_0x5a7af2(0xcd))/0x5*(-parseInt(_0x5a7af2(0x125))/0x6)+-parseInt(_0x5a7af2(0xde))/0x7*(parseInt(_0x5a7af2(0xc9))/0x8)+parseInt(_0x5a7af2(0xfc))/0x9*(parseInt(_0x5a7af2(0xf7))/0xa)+-parseInt(_0x5a7af2(0xd5))/0xb;if(_0x540101===_0x2a938a)break;else _0x53790e['push'](_0x53790e['shift']());}catch(_0x3bccd3){_0x53790e['push'](_0x53790e['shift']());}}}(_0x2cc4,0x1bafb));import{findOne as _0xc807df,getAttribute as _0x29ad94,Document as _0x8960cc,serialize as _0x1806fe,parse as _0x2dd9ca}from'./htmlparser.js';import{fixElementSuggestionRange as _0x2ed0e7}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x18e5cd,_DetachOperation as _0x27fd5f,_removeFromModelNodeList as _0x3e2398,_insertIntoModelNodeList as _0x407aa1}from'ckeditor5/src/engine.js';import{uid as _0x2a77d5}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x36234c,changeGroups:_0x3ae8f0,documentContextContent:_0x13e7a5,showDiff:_0x15b3c7,trimUnchanged:_0x537dd3=!0x0}){const _0x2ea768=_0x31ff;return _0x3ae8f0[_0x2ea768(0x108)](_0x3e99cc=>{const _0x420160=_0x2ea768,_0x50a0fc=new _0x8960cc([]),_0x77e0e4=new _0x8960cc([]);for(const _0x2794f3 of _0x3e99cc[_0x420160(0x132)])if(_0x15b3c7&&_0x420160(0xd0)==_0x2794f3[_0x420160(0x131)]||_0x77e0e4[_0x420160(0xc0)][_0x420160(0xbf)](_0x2794f3[_0x420160(0x12f)][_0x420160(0xeb)](!0x0)),_0x420160(0xff)!=_0x2794f3[_0x420160(0x131)]&&(_0x15b3c7||_0x420160(0xd0)!=_0x2794f3[_0x420160(0x131)])){const _0x4a04b9=_0xc807df(_0x296fa5=>_0x29ad94(_0x296fa5,_0x420160(0xe6))==_0x2794f3['id'],_0x13e7a5,!0x0);_0x4a04b9&&_0x50a0fc[_0x420160(0xc0)][_0x420160(0xbf)](_0x4a04b9[_0x420160(0xeb)](!0x0));}const {content:_0xbd480d,hasChanges:_0x17343f}=function(_0x27e70c,_0xe0bc7d,_0x4f7a86,_0x28ecc8,_0x62f5d4=!0x0){const _0x80d8ca=_0x420160,_0x1c329d=_0x27e70c[_0x80d8ca(0xf5)][_0x80d8ca(0xc6)](_0x80d8ca(0xfd)),_0x12a71d=_0x1806fe(_0xe0bc7d),_0x4c8c97=_0x1806fe(_0x4f7a86),_0x10662d=_0x27e70c[_0x80d8ca(0xe0)][_0x80d8ca(0xd9)](_0x12a71d,_0x80d8ca(0xd3)),_0x48fce5=_0x27e70c[_0x80d8ca(0x11a)][_0x80d8ca(0x119)](_0x10662d,0x0),_0x45979f=_0x1c329d[_0x80d8ca(0xe8)](_0x12a71d,_0x4c8c97,{'anchor':_0x48fce5,'markDeletions':_0x28ecc8}),_0x1f95ac=_0x45979f[_0x80d8ca(0x12b)]();if(0x0==_0x1f95ac[_0x80d8ca(0xe7)])return{'content':_0xe0bc7d[_0x80d8ca(0xeb)](!0x0),'hasChanges':!0x1};_0x28ecc8?function(_0x2db934,_0x143a18,_0xbe6b61){const _0x36f7c7=_0x80d8ca;if(0x0==_0x2db934[_0x36f7c7(0xe7)])return;const _0x1696e7=_0xbe6b61[_0x36f7c7(0xf5)][_0x36f7c7(0xc6)](_0x36f7c7(0xfd)),_0x263bd2=_0xbe6b61[_0x36f7c7(0xf5)][_0x36f7c7(0xc6)](_0x36f7c7(0x109));_0xbe6b61[_0x36f7c7(0x11a)][_0x36f7c7(0xc3)](_0x66e10f=>{const _0x283dce=_0x36f7c7,_0x45fc26=new Set();for(let _0x125677=0x0;_0x125677<_0x2db934[_0x283dce(0xe7)];_0x125677++){const _0x48861f=_0x2db934[_0x125677];if(_0x48861f[_0x283dce(0x117)]=null,_0x48861f[_0x283dce(0x10e)]=!0x1,_0x1696e7[_0x283dce(0x107)](_0x48861f)){const _0x3d5611=_0x2ed0e7(_0x48861f[_0x283dce(0x129)],_0xbe6b61[_0x283dce(0x11a)]),_0x3dd017=_0x283dce(0xf9)+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0x3dd017,_0x3d5611);}else switch(_0x48861f[_0x283dce(0x131)]){case _0x283dce(0x12e):{if(_0x48861f[_0x283dce(0xd2)]==_0x48861f[_0x283dce(0xc4)])break;_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x48861f),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x48861f);const _0x5c7191=_0x283dce(0xd8),_0x54ed5f=_0x48861f[_0x283dce(0xd7)],_0x69c9c=_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x102)](_0x54ed5f,_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x119)](_0x54ed5f[_0x283dce(0x111)],_0x283dce(0xc2))),_0x24bb82=_0x283dce(0xf1)+_0x5c7191+':'+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0x24bb82,_0x69c9c);break;}case _0x283dce(0xc5):case _0x283dce(0xc7):case _0x283dce(0xed):{if(_0x48861f[_0x283dce(0xfa)]==_0x48861f[_0x283dce(0x120)])break;_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x48861f),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x48861f);const _0x428966=_0x48861f[_0x283dce(0xef)];if(!_0x263bd2[_0x283dce(0xda)](_0x428966))break;const _0x3152c0=_0x2ed0e7(_0x48861f[_0x283dce(0x122)],_0xbe6b61[_0x283dce(0x11a)]),_0xb9aab7=_0x283dce(0xf1)+_0x428966+':'+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0xb9aab7,_0x3152c0);break;}case _0x283dce(0xea):{_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x48861f),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x48861f);if(_0x2db934[_0x125677+0x1]&&_0x283dce(0x104)==_0x2db934[_0x125677+0x1][_0x283dce(0x131)]){ro(_0x143a18,_0x48861f);break;}const _0x11d2ce=_0x48861f[_0x283dce(0xd7)],_0x26be7c=_0x48861f[_0x283dce(0x10f)],_0x4a5d96=_0x2ed0e7(_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x102)](_0x11d2ce,_0x11d2ce[_0x283dce(0xf2)](_0x26be7c)),_0xbe6b61[_0x283dce(0x11a)]),_0x1985f8=_0x283dce(0xcb)+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0x1985f8,_0x4a5d96);break;}case _0x283dce(0x11e):{_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x48861f),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x48861f);const _0x38d3e1=_0x48861f[_0x283dce(0xd1)],_0x219d0b=_0x48861f[_0x283dce(0x11f)],_0x4d35fc=_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x102)](_0x38d3e1,_0x219d0b),_0x9ecc5d=_0x283dce(0xcb)+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0x9ecc5d,_0x4d35fc);break;}case _0x283dce(0x104):{_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x48861f),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x48861f),_0x2db934[_0x125677-0x1]&&_0x283dce(0xea)==_0x2db934[_0x125677-0x1][_0x283dce(0x131)]&&ro(_0x143a18,_0x48861f);const _0x47c5e1=_0x48861f[_0x283dce(0x121)](),_0x39bef4=_0x48861f[_0x283dce(0x10f)];for(let _0x525990=0x0;_0x525990<_0x39bef4;_0x525990++){const _0x202a51=_0x47c5e1[_0x283dce(0xf2)](_0x525990)[_0x283dce(0x111)];_0x45fc26[_0x283dce(0xd4)](_0x202a51);}break;}case _0x283dce(0x126):{const _0x2f4f44=_0x48861f[_0x283dce(0x124)],_0x1e3768=_0x48861f[_0x283dce(0x10f)],_0x270df8=new _0x27fd5f(_0x2f4f44,_0x1e3768);_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x270df8),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x270df8);break;}}}for(const _0x165a53 of _0x45fc26){const _0x175f4f=_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0xf8)](_0x165a53),_0x26a2a7=_0x283dce(0x105)+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0x26a2a7,_0x2ed0e7(_0x175f4f,_0xbe6b61[_0x283dce(0x11a)]));}});}(_0x1f95ac,_0x10662d,_0x27e70c):_0x27e70c[_0x80d8ca(0x11a)][_0x80d8ca(0xc3)](_0x2b4d55=>{const _0x686ad3=_0x80d8ca;for(const _0x2916cf of _0x1f95ac)if(_0x686ad3(0x126)==_0x2916cf[_0x686ad3(0x131)]){const _0x1d8212=_0x2916cf[_0x686ad3(0x124)],_0x30257d=_0x2916cf[_0x686ad3(0x10f)],_0x4e5bc6=new _0x27fd5f(_0x1d8212,_0x30257d);_0x2b4d55[_0x686ad3(0x116)][_0x686ad3(0xdc)](_0x4e5bc6),_0x27e70c[_0x686ad3(0x11a)][_0x686ad3(0x101)](_0x4e5bc6);}else{if(_0x686ad3(0xee)==_0x2916cf[_0x686ad3(0x131)]){const _0x5b361a=_0x2916cf[_0x686ad3(0xf4)],_0x1c8bcc=_0x2916cf[_0x686ad3(0x129)];_0x10662d[_0x686ad3(0xc8)][_0x686ad3(0xdf)](_0x5b361a,_0x1c8bcc);}else _0x2916cf[_0x686ad3(0x117)]=null,_0x2916cf[_0x686ad3(0x10e)]=!0x1,_0x2b4d55[_0x686ad3(0x116)][_0x686ad3(0xdc)](_0x2916cf),_0x27e70c[_0x686ad3(0x11a)][_0x686ad3(0x101)](_0x2916cf);}});if(_0x62f5d4){const _0x5a3a48=getMinimalSelection(_0x27e70c,_0x1f95ac,_0x10662d);expandSelectionWithContext(_0x27e70c[_0x80d8ca(0x11a)],_0x5a3a48),function(_0x55a466,_0x89caa1){const _0x111667=_0x80d8ca,_0x25a195=_0x89caa1[_0x111667(0xbd)]()[_0x111667(0xca)];let _0x2164ce=_0x89caa1[_0x111667(0xbd)]()[_0x111667(0xc2)];const _0x32d281=_0x25a195[_0x111667(0x112)];(_0x2164ce[_0x111667(0x114)]||_0x2164ce[_0x111667(0x111)]&&_0x2164ce[_0x111667(0x111)]['is'](_0x111667(0x10d)))&&(_0x407aa1(_0x2164ce,_0x111667(0x10a)),_0x2164ce=_0x2164ce[_0x111667(0xf2)](0x3)),(_0x25a195[_0x111667(0x114)]||_0x25a195[_0x111667(0x11c)]&&_0x25a195[_0x111667(0x11c)]['is'](_0x111667(0x10d)))&&(_0x407aa1(_0x25a195,_0x111667(0x10a)),function(_0x5317ac,_0x4159c7,_0x38b547){const _0x3d8f1f=_0x111667;for(let [_0x4f78fa,_0x243b23]of _0x5317ac[_0x3d8f1f(0xc8)]){const _0x231308=_0x243b23[_0x3d8f1f(0x127)](_0x4159c7,_0x38b547,!0x1);_0x243b23=_0x231308[0x0],_0x5317ac[_0x3d8f1f(0xc8)][_0x3d8f1f(0xdf)](_0x4f78fa,_0x243b23);}}(_0x32d281,_0x25a195,0x3),_0x25a195[_0x111667(0xd6)]==_0x2164ce[_0x111667(0xd6)]&&(_0x2164ce=_0x2164ce[_0x111667(0xf2)](0x3)));const _0x4ff215=_0x55a466[_0x111667(0x102)](_0x55a466[_0x111667(0x119)](_0x32d281,0x0),_0x25a195),_0x392a8b=_0x55a466[_0x111667(0x102)](_0x2164ce,_0x55a466[_0x111667(0x119)](_0x32d281,_0x111667(0xc2))),_0x1dae79=[..._0x4ff215[_0x111667(0xe1)](),..._0x392a8b[_0x111667(0xe1)]()];_0x1dae79[_0x111667(0x100)]();for(const _0x57d107 of _0x1dae79)_0x3e2398(_0x57d107),_transformMarkersByDeletion(_0x32d281,_0x57d107);}(_0x27e70c[_0x80d8ca(0x11a)],_0x5a3a48);}const _0x190cb6=_0x27e70c[_0x80d8ca(0xe0)][_0x80d8ca(0xdb)](_0x10662d,{'showSuggestionHighlights':!0x0});return{'content':_0x2dd9ca(_0x190cb6),'hasChanges':!0x0};}(_0x36234c,_0x50a0fc,_0x77e0e4,_0x15b3c7,_0x537dd3);return{'type':_0x3e99cc[_0x420160(0x132)][0x0][_0x420160(0x131)],'index':_0x3e99cc[_0x420160(0x12d)],'content':_0xbd480d,'hasChanges':_0x17343f};});}function ro(_0x2bd4a4,_0x10eb3f){const _0x2d1000=_0x31ff;for(const [_0x2dec4a,_0x53addb]of _0x2bd4a4[_0x2d1000(0xc8)]){const _0x997c63=_0x18e5cd[_0x2d1000(0xce)](_0x53addb[_0x2d1000(0x10b)](_0x10eb3f));_0x2bd4a4[_0x2d1000(0xc8)][_0x2d1000(0xdf)](_0x2dec4a,_0x997c63);}}export function getMinimalSelection(_0x1c63ef,_0x51d316,_0x2a6fd0){const _0x3f4559=_0x31ff,_0x3c027d=_0x1c63ef[_0x3f4559(0xf5)][_0x3f4559(0xc6)](_0x3f4559(0xfd));let _0xf2059e=_0x1c63ef[_0x3f4559(0x11a)][_0x3f4559(0x119)](_0x2a6fd0,Number[_0x3f4559(0x128)]),_0x2a47d4=_0x1c63ef[_0x3f4559(0x11a)][_0x3f4559(0x119)](_0x2a6fd0,0x0);for(const _0x2ad390 of _0x51d316){let _0x120764,_0x46ad3a;if(_0x3c027d[_0x3f4559(0x107)](_0x2ad390))_0x120764=_0x2ad390[_0x3f4559(0x129)][_0x3f4559(0xca)],_0x46ad3a=_0x2ad390[_0x3f4559(0x129)][_0x3f4559(0xc2)];else switch(_0xf2059e=_0xf2059e[_0x3f4559(0x10b)](_0x2ad390),_0x2a47d4=_0x2a47d4[_0x3f4559(0x10b)](_0x2ad390),_0x2ad390[_0x3f4559(0x131)]){case _0x3f4559(0x12e):_0x120764=_0x2ad390[_0x3f4559(0xd7)],_0x46ad3a=_0x120764[_0x3f4559(0xf2)](0x1);break;case _0x3f4559(0xc5):case _0x3f4559(0xc7):case _0x3f4559(0xed):_0x120764=_0x2ad390[_0x3f4559(0x122)][_0x3f4559(0xca)],_0x46ad3a=_0x2ad390[_0x3f4559(0x122)][_0x3f4559(0xc2)];break;case _0x3f4559(0xea):_0x120764=_0x2ad390[_0x3f4559(0xd7)],_0x46ad3a=_0x120764[_0x3f4559(0xf2)](_0x2ad390[_0x3f4559(0x10f)]);break;case _0x3f4559(0x11e):_0x120764=_0x2ad390[_0x3f4559(0xd1)],_0x46ad3a=_0x2ad390[_0x3f4559(0x11f)];break;case _0x3f4559(0xe9):{const _0x44d07c=_0x2ad390[_0x3f4559(0xf0)][_0x3f4559(0xcc)][_0x3f4559(0xe4)](0x0,-0x1);_0x120764=_0x1c63ef[_0x3f4559(0x11a)][_0x3f4559(0x115)](_0x2a6fd0,_0x44d07c),_0x46ad3a=_0x120764[_0x3f4559(0xf2)](0x1);break;}case _0x3f4559(0x126):{const _0x4e5c99=_0x2ad390[_0x3f4559(0x10f)],_0x2811c9=_0x2ad390[_0x3f4559(0x124)][_0x3f4559(0x127)](_0x2ad390[_0x3f4559(0xf0)],_0x4e5c99),_0x5137ea=_0x2ad390[_0x3f4559(0x121)]();_0x3f4559(0x126)==_0x2ad390[_0x3f4559(0x131)]?(_0x120764=_0x2811c9,_0x46ad3a=_0x2811c9):(_0x120764=_0x5137ea,_0x46ad3a=_0x5137ea[_0x3f4559(0xf2)](_0x4e5c99));break;}}_0x120764&&_0x120764[_0x3f4559(0xfb)](_0xf2059e)&&(_0xf2059e=_0x120764[_0x3f4559(0xf3)](),_0xf2059e[_0x3f4559(0x110)]=_0x3f4559(0x11d)),_0x46ad3a&&_0x46ad3a[_0x3f4559(0x103)](_0x2a47d4)&&(_0x2a47d4=_0x46ad3a[_0x3f4559(0xf3)](),_0x2a47d4[_0x3f4559(0x110)]=_0x3f4559(0x11d));}return _0x1c63ef[_0x3f4559(0x11a)][_0x3f4559(0x118)](_0x1c63ef[_0x3f4559(0x11a)][_0x3f4559(0x102)](_0xf2059e,_0x2a47d4));}export function expandSelectionWithContext(_0x2714c5,_0x422854){const _0x4ca44f=_0x31ff;so(_0x2714c5,_0x422854,_0x4ca44f(0xbe));const _0x198fdf=_0x422854[_0x4ca44f(0xbd)]();_0x422854[_0x4ca44f(0xcf)]([]),_0x422854[_0x4ca44f(0xcf)](_0x198fdf,{'backward':!0x0}),so(_0x2714c5,_0x422854,_0x4ca44f(0x12a));}function so(_0x269a66,_0x64b62c,_0x2087e9){const _0x55160d=_0x31ff;let _0x65981f=0x14;for(;_0x65981f;){_0x269a66[_0x55160d(0x113)](_0x64b62c,{'unit':_0x55160d(0xdd),'direction':_0x2087e9}),_0x65981f--;const _0x123f16=_0x64b62c[_0x55160d(0x11b)][_0x55160d(0xbe)==_0x2087e9?_0x55160d(0x11c):_0x55160d(0x111)];if(_0x123f16&&_0x123f16['is'](_0x55160d(0xe3))&&_0x269a66[_0x55160d(0xe5)][_0x55160d(0x130)](_0x123f16)&&_0x269a66[_0x55160d(0xe5)][_0x55160d(0xf6)](_0x123f16))break;}}function _0x31ff(_0x4bb23c,_0x3118d0){const _0x2cc43e=_0x2cc4();return _0x31ff=function(_0x31ff53,_0x1e5c98){_0x31ff53=_0x31ff53-0xbd;let _0xa53af6=_0x2cc43e[_0x31ff53];return _0xa53af6;},_0x31ff(_0x4bb23c,_0x3118d0);}function _0x2cc4(){const _0x40146c=['split','moveTargetPosition','newValue','getMovedRangeStart','range','7362vuqDfS','sourcePosition','390TnQUgQ','remove','_getTransformedByInsertion','POSITIVE_INFINITY','newRange','backward','getOperations','3CJDReI','index','rename','node','isBlock','type','changes','getFirstRange','forward','push','children','delete','end','change','newName','addAttribute','get','removeAttribute','markers','40TolDxz','start','suggestion:insertion:','path','13685CkzNpg','_createFromRanges','setTo','removed','splitPosition','oldName','$root','add','1582845hBXAIr','parent','position','$elementName','parse','isRegisteredAttribute','stringify','addOperation','word','97153IHSflm','set','data','getMinimalFlatRanges','offset','element','slice','schema','data-id','length','getDiff','merge','insert','cloneNode','_getTransformedByDeletion','changeAttribute','marker','key','targetPosition','suggestion:attribute:','getShiftedBy','clone','name','plugins','isObject','10mohkcf','createRangeOn','suggestion:deletion:','oldValue','isBefore','302211ZDtXDL','DocumentCompare','249316zZiwFs','new','reverse','applyOperation','createRange','isAfter','move','suggestion:formatBlock:$fakeWrap:','91036WNrmYE','isMarkedRemoveOperation','map','SuggestionsConversion','...','getTransformedByOperation',':$aiSuggestion','$text','isDocumentOperation','howMany','stickiness','nodeAfter','root','modifySelection','textNode','createPositionFromPath','batch','baseVersion','createSelection','createPositionAt','model','focus','nodeBefore','toNone'];_0x2cc4=function(){return _0x40146c;};return _0x2cc4();}export function _transformMarkersByDeletion(_0x59d016,_0x1faccf){const _0x1c50fe=_0x31ff;for(const [_0x9d1497,_0x5de943]of _0x59d016[_0x1c50fe(0xc8)]){const _0x10e0ae=_0x5de943[_0x1c50fe(0xec)](_0x1faccf[_0x1c50fe(0xca)],_0x1faccf[_0x1c50fe(0xc2)][_0x1c50fe(0xe2)]-_0x1faccf[_0x1c50fe(0xca)][_0x1c50fe(0xe2)]);null!=_0x10e0ae?_0x59d016[_0x1c50fe(0xc8)][_0x1c50fe(0xdf)](_0x9d1497,_0x10e0ae):_0x59d016[_0x1c50fe(0xc8)][_0x1c50fe(0xc1)](_0x9d1497);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3e0877,_0x383834){const _0x21b5bd=_0x541c,_0x57f993=_0x3e0877();while(!![]){try{const _0x8fc888=parseInt(_0x21b5bd(0x99))/0x1+-parseInt(_0x21b5bd(0x98))/0x2+-parseInt(_0x21b5bd(0xa0))/0x3*(-parseInt(_0x21b5bd(0x9d))/0x4)+parseInt(_0x21b5bd(0xa1))/0x5*(parseInt(_0x21b5bd(0x9f))/0x6)+parseInt(_0x21b5bd(0x9e))/0x7*(-parseInt(_0x21b5bd(0xa3))/0x8)+parseInt(_0x21b5bd(0x95))/0x9*(parseInt(_0x21b5bd(0x91))/0xa)+-parseInt(_0x21b5bd(0x9a))/0xb;if(_0x8fc888===_0x383834)break;else _0x57f993['push'](_0x57f993['shift']());}catch(_0x4f6ea0){_0x57f993['push'](_0x57f993['shift']());}}}(_0x1f0c,0x342cb));function _0x1f0c(){const _0x205d37=['3491235yUcQCR','push','map','1912NMFRLV','753116kYerVg','23370Nyflhs','2325KjSxqT','165ywGwPm','cloneNode','8YAPQpO','reverse','parentNode','indexOf','afterend','slice','attribs','nextSibling','10pzLaWe','beforebegin','afterbegin','replace','3403854PUeBCk','forEach','beforeend','599310VGoIPp','61144IsZXbQ'];_0x1f0c=function(){return _0x205d37;};return _0x1f0c();}import{parseDocument as _0x546c32}from'htmlparser2';import{append as _0x2b970e,appendChild as _0x2a8b56,find as _0x791185,findAll as _0x26af5f,findOne as _0x4fc2df,getChildren as _0x53533e,isComment as _0x2114f9,isTag as _0x4e5645,prepend as _0x5d02a2,prependChild as _0x2b7335,removeElement as _0xc997fa,replaceElement as _0x4f0b58,textContent as _0x4228a9,getParent as _0x298f6c,hasChildren as _0x499891}from'domutils';import _0x5a291c from'dom-serializer';import{cloneNode as _0x1e7be3,isDocument as _0x2d5966,isText as _0x312381,Element as _0x229ca1,Text as _0x3a82bd,Document as _0x2ab15f,NodeWithChildren as _0x13ed47}from'domhandler';export{_0x1e7be3 as cloneNode,_0x791185 as find,_0x4fc2df as findOne,_0x26af5f as findAll,_0x53533e as getChildren,_0x298f6c as getParent,_0x2114f9 as isComment,_0x2d5966 as isDocument,_0x4e5645 as isTag,_0x312381 as isText,_0x2b970e as append,_0x2a8b56 as appendChild,_0x5d02a2 as prepend,_0x2b7335 as prependChild,_0x5a291c as render,_0xc997fa as removeElement,_0x4f0b58 as replaceElement,_0x4228a9 as textContent,_0x499891 as hasChildren,_0x229ca1 as Element,_0x2ab15f as Document,_0x13ed47 as NodeWithChildren,_0x3a82bd as Text};export function parse(_0x4d1e37){return _0x546c32(_0x4d1e37);}function _0x541c(_0x5c665b,_0x3c4e3a){const _0x1f0cba=_0x1f0c();return _0x541c=function(_0x541c81,_0x4da829){_0x541c81=_0x541c81-0x8e;let _0x45ee52=_0x1f0cba[_0x541c81];return _0x45ee52;},_0x541c(_0x5c665b,_0x3c4e3a);}export function serialize(_0x412d8e){return _0x5a291c(_0x412d8e);}export function findByAttribute(_0x46afca,_0x46e2e9,_0xc9fce7){const _0x2ab93f=_0x541c,_0x45bbb1=null!==_0x46e2e9?_0x471c1e=>_0x471c1e[_0x2ab93f(0x8f)][_0x46afca]===_0x46e2e9:_0x30934e=>Boolean(_0x30934e[_0x2ab93f(0x8f)][_0x46afca]);return _0x4fc2df(_0x4cd414=>_0x4e5645(_0x4cd414)&&_0x45bbb1(_0x4cd414),_0xc9fce7);}export function findAllByAttribute(_0x19e164,_0x249138,_0x5878c5){const _0x5ccca0=_0x541c,_0x534338=null!==_0x249138?_0xa4255d=>_0xa4255d[_0x5ccca0(0x8f)][_0x19e164]===_0x249138:_0x360d67=>Boolean(_0x360d67[_0x5ccca0(0x8f)][_0x19e164]);return _0x26af5f(_0x1c9843=>_0x4e5645(_0x1c9843)&&_0x534338(_0x1c9843),_0x5878c5);}export function findAllComments(_0x101909){return _0x791185(_0x4c26ac=>_0x2114f9(_0x4c26ac),_0x101909,!0x0,0x1/0x0);}export function getAttribute(_0x1d444b,_0x1b9907){const _0x2b7d5e=_0x541c;return _0x1d444b&&_0x4e5645(_0x1d444b)?_0x1d444b[_0x2b7d5e(0x8f)][_0x1b9907]:null;}export function setAttribute(_0x5258e5,_0x40cdf4,_0x2183fb){const _0x3bc503=_0x541c;_0x4e5645(_0x5258e5)&&(null===_0x2183fb?delete _0x5258e5[_0x3bc503(0x8f)][_0x40cdf4]:_0x5258e5[_0x3bc503(0x8f)][_0x40cdf4]=_0x2183fb);}export function insertElement(_0x26c5af,_0x9e2399,_0x3e55fd){const _0x2283e5=_0x541c,_0x244fa3=_0x9e2399[_0x2283e5(0xa2)](!0x0);_0x2283e5(0x92)===_0x3e55fd?_0x5d02a2(_0x26c5af,_0x244fa3):_0x2283e5(0x93)===_0x3e55fd?_0x2b7335(_0x26c5af,_0x244fa3):_0x2283e5(0x97)===_0x3e55fd?_0x2a8b56(_0x26c5af,_0x244fa3):_0x2283e5(0xa7)===_0x3e55fd&&_0x2b970e(_0x26c5af,_0x244fa3);}export function moveElement(_0x49536c,_0x4ec07b){_0xc997fa(_0x49536c),_0x4f0b58(_0x4ec07b,_0x49536c);}export function clone(_0x299edc){const _0x333ff0=_0x541c;return _0x299edc[_0x333ff0(0xa2)](!0x0);}export function getParents(_0x3c463c){const _0x2a4c29=_0x541c,_0x5b0c47=[];let _0x36fccb=_0x3c463c;for(;_0x36fccb;)_0x36fccb=_0x298f6c(_0x36fccb),_0x36fccb&&_0x5b0c47[_0x2a4c29(0x9b)](_0x36fccb);return _0x5b0c47;}export function normalizeHTML(_0x5996d5){const _0x51e780=_0x541c;return _0x5996d5[_0x51e780(0x94)](/^\s+/gm,'')[_0x51e780(0x94)](/\s+$/gm,'')[_0x51e780(0x94)](/\n*/g,'')[_0x51e780(0x94)](/\s+/g,'\x20')[_0x51e780(0x94)](/>\s*</g,'><');}export function areNodesSame(_0xda7ca9,_0x496f85){return normalizeHTML(serialize(_0xda7ca9))===normalizeHTML(serialize(_0x496f85));}export function getNodeNestingLevel(_0x49d3f3){const _0x291ea9=_0x541c;let _0x24a5d1=0x0;for(;_0x49d3f3[_0x291ea9(0xa5)];)_0x49d3f3=_0x49d3f3[_0x291ea9(0xa5)],_0x24a5d1++;return _0x24a5d1;}export function removeElementsAfter(_0x6d19dc){const _0x20d560=_0x541c,_0x39cede=[];let _0x5ab5a8=_0x6d19dc[_0x20d560(0x90)];for(;_0x5ab5a8;)_0x39cede[_0x20d560(0x9b)](_0x5ab5a8),_0x5ab5a8=_0x5ab5a8[_0x20d560(0x90)];_0x39cede[_0x20d560(0x96)](_0x225bfd=>{_0xc997fa(_0x225bfd);});}export function getNodePath(_0x15b17d){const _0x12965f=_0x541c;return[_0x15b17d,...getParents(_0x15b17d)][_0x12965f(0x8e)](0x0,-0x1)[_0x12965f(0x9c)](_0x23d8fe=>{const _0x22b845=_0x12965f,_0x33e441=_0x298f6c(_0x23d8fe);return _0x53533e(_0x33e441)[_0x22b845(0xa6)](_0x23d8fe);})[_0x12965f(0xa4)]();}
23
+ (function(_0x4012de,_0xfaeb88){const _0x271c3a=_0x58c3,_0x2ee490=_0x4012de();while(!![]){try{const _0x290143=parseInt(_0x271c3a(0x1d2))/0x1+-parseInt(_0x271c3a(0x1d8))/0x2*(parseInt(_0x271c3a(0x1cf))/0x3)+parseInt(_0x271c3a(0x1de))/0x4*(-parseInt(_0x271c3a(0x1dd))/0x5)+-parseInt(_0x271c3a(0x1c9))/0x6+parseInt(_0x271c3a(0x1d1))/0x7*(-parseInt(_0x271c3a(0x1df))/0x8)+parseInt(_0x271c3a(0x1d4))/0x9*(parseInt(_0x271c3a(0x1d5))/0xa)+-parseInt(_0x271c3a(0x1e2))/0xb*(-parseInt(_0x271c3a(0x1db))/0xc);if(_0x290143===_0xfaeb88)break;else _0x2ee490['push'](_0x2ee490['shift']());}catch(_0xcecc1a){_0x2ee490['push'](_0x2ee490['shift']());}}}(_0xafca,0x3bee5));function _0x58c3(_0x5e2f85,_0x14e700){const _0xafcaef=_0xafca();return _0x58c3=function(_0x58c392,_0x444d13){_0x58c392=_0x58c392-0x1c8;let _0x4eac39=_0xafcaef[_0x58c392];return _0x4eac39;},_0x58c3(_0x5e2f85,_0x14e700);}import{parseDocument as _0x381455}from'htmlparser2';import{append as _0x5c3fa7,appendChild as _0x505b43,find as _0x3afff9,findAll as _0x2e6807,findOne as _0x381e26,getChildren as _0x2df6fa,isComment as _0x28f02e,isTag as _0x143571,prepend as _0x4a8a56,prependChild as _0x18a6ac,removeElement as _0xfaa2d0,replaceElement as _0xb2428,textContent as _0x2eef99,getParent as _0x150182,hasChildren as _0x794824}from'domutils';import _0x10b3e5 from'dom-serializer';import{cloneNode as _0x26bf98,isDocument as _0x2a0e26,isText as _0x48e9b5,Element as _0x116f43,Text as _0x3779a6,Document as _0x4c93ea,NodeWithChildren as _0x24dbce}from'domhandler';export{_0x26bf98 as cloneNode,_0x3afff9 as find,_0x381e26 as findOne,_0x2e6807 as findAll,_0x2df6fa as getChildren,_0x150182 as getParent,_0x28f02e as isComment,_0x2a0e26 as isDocument,_0x143571 as isTag,_0x48e9b5 as isText,_0x5c3fa7 as append,_0x505b43 as appendChild,_0x4a8a56 as prepend,_0x18a6ac as prependChild,_0x10b3e5 as render,_0xfaa2d0 as removeElement,_0xb2428 as replaceElement,_0x2eef99 as textContent,_0x794824 as hasChildren,_0x116f43 as Element,_0x4c93ea as Document,_0x24dbce as NodeWithChildren,_0x3779a6 as Text};export function parse(_0x434383){return _0x381455(_0x434383);}export function serialize(_0x2c3859){return _0x10b3e5(_0x2c3859);}export function findByAttribute(_0xa9d6d3,_0x16c6ae,_0x190636){const _0x46d5d6=_0x58c3,_0x12296c=null!==_0x16c6ae?_0x2aba40=>_0x2aba40[_0x46d5d6(0x1d6)][_0xa9d6d3]===_0x16c6ae:_0x5dbda3=>Boolean(_0x5dbda3[_0x46d5d6(0x1d6)][_0xa9d6d3]);return _0x381e26(_0x5c18ea=>_0x143571(_0x5c18ea)&&_0x12296c(_0x5c18ea),_0x190636);}export function findAllByAttribute(_0x20c9af,_0x2983b4,_0x34f3fe){const _0x8619a3=_0x58c3,_0x2abaa0=null!==_0x2983b4?_0x5e9286=>_0x5e9286[_0x8619a3(0x1d6)][_0x20c9af]===_0x2983b4:_0x5cfb32=>Boolean(_0x5cfb32[_0x8619a3(0x1d6)][_0x20c9af]);return _0x2e6807(_0x5ca882=>_0x143571(_0x5ca882)&&_0x2abaa0(_0x5ca882),_0x34f3fe);}function _0xafca(){const _0x50d397=['afterend','cloneNode','121bLIIfh','indexOf','1278714pRPWVB','replace','push','reverse','slice','forEach','27231PrqBBa','parentNode','42wmjZZP','421492KnAZZd','map','23094IShQMq','1870LBNaLS','attribs','beforeend','26fYHNah','nextSibling','beforebegin','301536zZLkPm','afterbegin','5NkCeqW','719828tFAGdf','561584PYoKyZ'];_0xafca=function(){return _0x50d397;};return _0xafca();}export function findAllComments(_0x5f1323){return _0x3afff9(_0x7380ea=>_0x28f02e(_0x7380ea),_0x5f1323,!0x0,0x1/0x0);}export function getAttribute(_0x4a9166,_0x36e7a1){const _0x332d41=_0x58c3;return _0x4a9166&&_0x143571(_0x4a9166)?_0x4a9166[_0x332d41(0x1d6)][_0x36e7a1]:null;}export function setAttribute(_0x32f8f5,_0x4cfacf,_0x1eec7d){const _0x406c9b=_0x58c3;_0x143571(_0x32f8f5)&&(null===_0x1eec7d?delete _0x32f8f5[_0x406c9b(0x1d6)][_0x4cfacf]:_0x32f8f5[_0x406c9b(0x1d6)][_0x4cfacf]=_0x1eec7d);}export function insertElement(_0x57e717,_0x499366,_0x296fc7){const _0x18e200=_0x58c3,_0x3a5ecd=_0x499366[_0x18e200(0x1e1)](!0x0);_0x18e200(0x1da)===_0x296fc7?_0x4a8a56(_0x57e717,_0x3a5ecd):_0x18e200(0x1dc)===_0x296fc7?_0x18a6ac(_0x57e717,_0x3a5ecd):_0x18e200(0x1d7)===_0x296fc7?_0x505b43(_0x57e717,_0x3a5ecd):_0x18e200(0x1e0)===_0x296fc7&&_0x5c3fa7(_0x57e717,_0x3a5ecd);}export function moveElement(_0xd3fde6,_0x4f2b65){_0xfaa2d0(_0xd3fde6),_0xb2428(_0x4f2b65,_0xd3fde6);}export function clone(_0x263f3e){const _0x509dad=_0x58c3;return _0x263f3e[_0x509dad(0x1e1)](!0x0);}export function getParents(_0x3d9138){const _0x35b4ef=_0x58c3,_0x50e975=[];let _0x528c0f=_0x3d9138;for(;_0x528c0f;)_0x528c0f=_0x150182(_0x528c0f),_0x528c0f&&_0x50e975[_0x35b4ef(0x1cb)](_0x528c0f);return _0x50e975;}export function normalizeHTML(_0x5bfdff){const _0x2c7913=_0x58c3;return _0x5bfdff[_0x2c7913(0x1ca)](/^\s+/gm,'')[_0x2c7913(0x1ca)](/\s+$/gm,'')[_0x2c7913(0x1ca)](/\n*/g,'')[_0x2c7913(0x1ca)](/\s+/g,'\x20')[_0x2c7913(0x1ca)](/>\s*</g,'><');}export function areNodesSame(_0x2730f9,_0x5bab02){return normalizeHTML(serialize(_0x2730f9))===normalizeHTML(serialize(_0x5bab02));}export function getNodeNestingLevel(_0x328af2){const _0x3f1b34=_0x58c3;let _0x460031=0x0;for(;_0x328af2[_0x3f1b34(0x1d0)];)_0x328af2=_0x328af2[_0x3f1b34(0x1d0)],_0x460031++;return _0x460031;}export function removeElementsAfter(_0x47d0c1){const _0x2886cf=_0x58c3,_0x287767=[];let _0x304886=_0x47d0c1[_0x2886cf(0x1d9)];for(;_0x304886;)_0x287767[_0x2886cf(0x1cb)](_0x304886),_0x304886=_0x304886[_0x2886cf(0x1d9)];_0x287767[_0x2886cf(0x1ce)](_0x7b63de=>{_0xfaa2d0(_0x7b63de);});}export function getNodePath(_0x483f6d){const _0x5b6330=_0x58c3;return[_0x483f6d,...getParents(_0x483f6d)][_0x5b6330(0x1cd)](0x0,-0x1)[_0x5b6330(0x1d3)](_0x1d3d94=>{const _0x38d3ec=_0x5b6330,_0x2c359c=_0x150182(_0x1d3d94);return _0x2df6fa(_0x2c359c)[_0x38d3ec(0x1c8)](_0x1d3d94);})[_0x5b6330(0x1cc)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1800ee=_0xd08a;(function(_0x5293e9,_0x4d79ea){const _0x432515=_0xd08a,_0x231597=_0x5293e9();while(!![]){try{const _0x40435d=parseInt(_0x432515(0xb4))/0x1*(parseInt(_0x432515(0x83))/0x2)+parseInt(_0x432515(0xb7))/0x3*(-parseInt(_0x432515(0xa7))/0x4)+parseInt(_0x432515(0x82))/0x5+parseInt(_0x432515(0x9c))/0x6*(parseInt(_0x432515(0x94))/0x7)+-parseInt(_0x432515(0x91))/0x8*(-parseInt(_0x432515(0xa3))/0x9)+parseInt(_0x432515(0x97))/0xa*(-parseInt(_0x432515(0x7d))/0xb)+parseInt(_0x432515(0x8e))/0xc;if(_0x40435d===_0x4d79ea)break;else _0x231597['push'](_0x231597['shift']());}catch(_0x5578bc){_0x231597['push'](_0x231597['shift']());}}}(_0x26e0,0xd467c));import _0x120b1f from'morphdom';function _0x26e0(){const _0x11d27d=['match','tagName','22349340SuMiiF','map','currentIndex','280fbTUGI','renderNode','isWordSplitSource','25781KwJHOf','stream','forEach','40bqOaQe','delay','children','childNodes','isWordSplitResult','1182lJAPci','replaceWith','includes','isStreaming','splitTextNodeIntoWordNodes','del','textNodeStyle','9441QFBekc','span','bind','document','3448892NGXEWp','code','cleanUpAnimations','ai-html-streamer-current-index-out-of-bounds','now','mark','onStreamUpdate','options','getParsedDocumentNodeList','addEventListener','div','parent','entries','377020gWpRNd','signal','strong','6RJKiVA','from','reverse','attribs','span[data-ck-html-streamer-word-chunk]','4603874GhyNko','length','sub','timeoutAbortController','sup','679015qJHTFR','8bQmOsG','ins','stop','push','shouldBeStreamed','abort','join','querySelectorAll','nodesList'];_0x26e0=function(){return _0x11d27d;};return _0x26e0();}import{NodeWithChildren as _0x55a57e,Text as _0xd28aa,Element as _0x43bb44,isText as _0x346a38,isDocument as _0x58d4f1,isTag as _0x301785,cloneNode as _0x315dba,getChildren as _0x1484d5,prepend as _0x32e4bf,removeElement as _0xe394a1,textContent as _0x180356,render as _0x1512d5}from'./htmlparser.js';import{logWarning as _0x436c51}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x1800ee(0xae)];[_0x1800ee(0x9f)]=!0x1;[_0x1800ee(0xa6)]=null;[_0x1800ee(0x8b)]=[];[_0x1800ee(0x90)]=0x0;[_0x1800ee(0x80)]=null;constructor(_0x5113b6){const _0x3bbb5b=_0x1800ee;this[_0x3bbb5b(0xae)]={'delay':_0x5113b6[_0x3bbb5b(0x98)]??0x14,'textNodeStyle':_0x5113b6[_0x3bbb5b(0xa2)],'onStreamUpdate':_0x5113b6[_0x3bbb5b(0xad)]||(()=>{})};}async[_0x1800ee(0x95)]({document:_0xf248f3,targetElement:_0x39135e,abortSignal:_0x1a0dcf}){const _0x50b897=_0x1800ee;this[_0x50b897(0x9f)]&&this[_0x50b897(0x85)](),_0x1a0dcf?.[_0x50b897(0xb0)](_0x50b897(0x88),this[_0x50b897(0x85)][_0x50b897(0xa5)](this)),this[_0x50b897(0xa6)]=_0x315dba(_0xf248f3,!0x0),this[_0x50b897(0x8b)]=this[_0x50b897(0xaf)](),this[_0x50b897(0x9f)]=!0x0,this[_0x50b897(0x90)]>this[_0x50b897(0x8b)][_0x50b897(0x7e)]&&(_0x436c51(_0x50b897(0xaa),{'currentIndex':this[_0x50b897(0x90)],'nodeList':this[_0x50b897(0x8b)]}),this[_0x50b897(0x90)]=this[_0x50b897(0x8b)][_0x50b897(0x7e)]);for(let _0x3624b8=0x0;_0x3624b8<this[_0x50b897(0x90)];_0x3624b8++)this[_0x50b897(0x8b)][_0x3624b8][_0x50b897(0x87)]=!0x0;let _0xea754=0x0;for(let _0x52bbf2=this[_0x50b897(0x90)];_0x52bbf2<this[_0x50b897(0x8b)][_0x50b897(0x7e)];_0x52bbf2++){const _0x130102=Date[_0x50b897(0xab)](),_0xc77ca9=this[_0x50b897(0x8b)][_0x52bbf2],_0x135476=_0x130102-_0xea754;_0xc77ca9[_0x50b897(0x87)]=!0x0;let _0x434d7d=_0xc77ca9[_0x50b897(0xb2)];for(;_0x434d7d;)_0x434d7d[_0x50b897(0x87)]=!0x0,_0x434d7d=_0x434d7d[_0x50b897(0xb2)];if(_0x135476<this[_0x50b897(0xae)][_0x50b897(0x98)])try{const {promise:_0x1d644e,abortController:_0x10e0bd}=pr(this[_0x50b897(0xae)][_0x50b897(0x98)]-_0x135476);this[_0x50b897(0x80)]=_0x10e0bd,await _0x1d644e;}catch(_0x396a2e){return;}_0x120b1f(_0x39135e,'<'+_0x39135e[_0x50b897(0x8d)]+'>'+this[_0x50b897(0x92)](this[_0x50b897(0xa6)])+'</'+_0x39135e[_0x50b897(0x8d)]+'>',{'childrenOnly':!0x0}),this[_0x50b897(0xae)][_0x50b897(0xad)]&&this[_0x50b897(0xae)][_0x50b897(0xad)](),this[_0x50b897(0x90)]=_0x52bbf2,_0xea754=Date[_0x50b897(0xab)]();}this[_0x50b897(0x9f)]=!0x1;}[_0x1800ee(0xa9)]({targetElement:_0x376de9}){const _0x2ad62c=_0x1800ee;Array[_0x2ad62c(0x79)](_0x376de9[_0x2ad62c(0x8a)](_0x2ad62c(0x7c)))[_0x2ad62c(0x7a)]()[_0x2ad62c(0x96)](_0x5b6184=>{const _0x4ba218=_0x2ad62c;_0x5b6184[_0x4ba218(0x9d)](_0x5b6184[_0x4ba218(0x9a)][0x0]);});}[_0x1800ee(0x85)](){const _0x22bd5f=_0x1800ee;this[_0x22bd5f(0x9f)]=!0x1,this[_0x22bd5f(0x80)]&&(this[_0x22bd5f(0x80)][_0x22bd5f(0x88)](),this[_0x22bd5f(0x80)]=null);}[_0x1800ee(0x92)](_0x1f8f3d){const _0x4889ee=_0x1800ee;let _0x36db8d='';if(function(_0x55cdbe){return _0x58d4f1(_0x55cdbe);}(_0x1f8f3d)){for(const _0x21504f of _0x1f8f3d[_0x4889ee(0x99)])_0x36db8d+=this[_0x4889ee(0x92)](_0x21504f);}else{if(dr(_0x1f8f3d)){if(!_0x1f8f3d[_0x4889ee(0x87)])return'';const _0x2c125a=_0x1f8f3d,_0x5e627e=Object[_0x4889ee(0xb3)](_0x2c125a[_0x4889ee(0x7b)])[_0x4889ee(0x8f)](([_0x5a5ee8,_0x17e7cb])=>_0x5a5ee8+'=\x22'+_0x17e7cb+'\x22')[_0x4889ee(0x89)]('\x20');_0x36db8d+='<'+_0x2c125a[_0x4889ee(0x8d)]+(_0x5e627e?'\x20'+_0x5e627e:'')+'>';for(const _0x37efd4 of _0x1484d5(_0x2c125a))_0x36db8d+=this[_0x4889ee(0x92)](_0x37efd4);_0x36db8d+='</'+_0x2c125a[_0x4889ee(0x8d)]+'>';}else{if(!ar(_0x1f8f3d))return'';if(!_0x1f8f3d[_0x4889ee(0x87)])return'';!function(_0x20b2c2){const _0x569840=_0x4889ee;if(!_0x20b2c2[_0x569840(0xb2)]||!dr(_0x20b2c2[_0x569840(0xb2)]))return!0x1;if(!cr[_0x569840(0x9e)](_0x20b2c2[_0x569840(0xb2)][_0x569840(0x8d)]))return!0x1;return!_0x180356(_0x20b2c2)[_0x569840(0x8c)](/^\s*[<>]\s*$/);}(_0x1f8f3d)?_0x36db8d+=_0x1512d5(_0x1f8f3d):_0x36db8d+=_0x1512d5(new _0x43bb44(_0x4889ee(0xa4),{'data-ck-html-streamer-word-chunk':'','style':this[_0x4889ee(0xae)][_0x4889ee(0xa2)]},[_0x1f8f3d]));}}return _0x36db8d;}[_0x1800ee(0xaf)](){const _0x20210e=_0x1800ee,_0x1e21a9=[];return function(_0x2fdaea,_0x5e5481){const _0x1d09e6=_0xd08a,_0x1e9472=_0x455205=>{const _0x1c625d=_0xd08a;if(_0x5e5481(_0x455205),_0x455205 instanceof _0x55a57e)for(let _0x3a0662=0x0;_0x3a0662<_0x455205[_0x1c625d(0x99)][_0x1c625d(0x7e)];_0x3a0662++){const _0xd7fd69=_0x455205[_0x1c625d(0x99)][_0x3a0662];_0x1e9472(_0xd7fd69);}};for(let _0x6b10e1=0x0;_0x6b10e1<_0x2fdaea[_0x1d09e6(0x99)][_0x1d09e6(0x7e)];_0x6b10e1++)_0x1e9472(_0x2fdaea[_0x1d09e6(0x99)][_0x6b10e1]);}(this[_0x20210e(0xa6)],_0x1735cf=>{const _0x5d1d1a=_0x20210e;if(ar(_0x1735cf)){const _0x357ef9=this[_0x5d1d1a(0xa0)](_0x1735cf);_0x357ef9[_0x5d1d1a(0x7e)]&&_0x1e21a9[_0x5d1d1a(0x86)](..._0x357ef9);}_0x1735cf[_0x5d1d1a(0x93)]||_0x1735cf[_0x5d1d1a(0x9b)]||_0x1e21a9[_0x5d1d1a(0x86)](_0x1735cf);}),_0x1e21a9;}[_0x1800ee(0xa0)](_0x27c456){const _0x3c2a28=_0x1800ee;if(_0x27c456[_0x3c2a28(0x93)]||_0x27c456[_0x3c2a28(0x9b)])return[];const _0x53f358=_0x180356(_0x27c456)[_0x3c2a28(0x8c)](/(?:\s*\S+\s*)/g),_0x3d9765=[];if(_0x53f358&&_0x53f358[_0x3c2a28(0x7e)]>0x1){for(const _0xc53559 of _0x53f358){const _0x5ac8fd=new _0xd28aa(_0xc53559);_0x5ac8fd[_0x3c2a28(0x9b)]=!0x0,_0x32e4bf(_0x27c456,_0x5ac8fd),_0x3d9765[_0x3c2a28(0x86)](_0x5ac8fd);}_0x27c456[_0x3c2a28(0x93)]=!0x0,_0xe394a1(_0x27c456);}return _0x3d9765;}}function _0xd08a(_0x1e2f75,_0x101bd3){const _0x26e0bf=_0x26e0();return _0xd08a=function(_0xd08a9b,_0x3f0257){_0xd08a9b=_0xd08a9b-0x79;let _0x576cd3=_0x26e0bf[_0xd08a9b];return _0x576cd3;},_0xd08a(_0x1e2f75,_0x101bd3);}const cr=['p','li','td','th',_0x1800ee(0xa4),'h1','h2','h3','h4','h5','h6','b',_0x1800ee(0xb6),'i','em',_0x1800ee(0xac),_0x1800ee(0xa1),_0x1800ee(0x84),_0x1800ee(0x81),_0x1800ee(0x7f),'a',_0x1800ee(0xa8),_0x1800ee(0xb1)];function ar(_0xd65784){return _0x346a38(_0xd65784);}function dr(_0x209bba){return _0x301785(_0x209bba);}function pr(_0x4173ae){const _0x24b30d=new AbortController();return{'promise':new Promise((_0xbe930e,_0x32d619)=>{const _0x22e2bc=_0xd08a,_0x392377=setTimeout(_0xbe930e,_0x4173ae);_0x24b30d[_0x22e2bc(0xb5)][_0x22e2bc(0xb0)](_0x22e2bc(0x88),()=>{clearTimeout(_0x392377),_0x32d619();});}),'abortController':_0x24b30d};}
23
+ const _0x4889d9=_0x243e;(function(_0x396a82,_0x437e3f){const _0x382178=_0x243e,_0x49e41d=_0x396a82();while(!![]){try{const _0x4df422=parseInt(_0x382178(0x136))/0x1*(-parseInt(_0x382178(0x148))/0x2)+parseInt(_0x382178(0x132))/0x3+-parseInt(_0x382178(0x150))/0x4+parseInt(_0x382178(0x166))/0x5*(parseInt(_0x382178(0x134))/0x6)+-parseInt(_0x382178(0x168))/0x7+-parseInt(_0x382178(0x13a))/0x8*(parseInt(_0x382178(0x15a))/0x9)+-parseInt(_0x382178(0x13d))/0xa*(-parseInt(_0x382178(0x162))/0xb);if(_0x4df422===_0x437e3f)break;else _0x49e41d['push'](_0x49e41d['shift']());}catch(_0x3baa74){_0x49e41d['push'](_0x49e41d['shift']());}}}(_0x1de2,0x4ccc7));import _0x434b01 from'morphdom';import{NodeWithChildren as _0x4cdbc7,Text as _0x1d0cab,Element as _0x37807b,isText as _0xf47fdb,isDocument as _0x3c2356,isTag as _0x4daaba,cloneNode as _0x923c21,getChildren as _0x323802,prepend as _0x29364e,removeElement as _0x21c1fc,textContent as _0x4f2b27,render as _0x1850e0}from'./htmlparser.js';function _0x243e(_0x3fee34,_0x18a9a1){const _0x1de2e2=_0x1de2();return _0x243e=function(_0x243eef,_0x5f3b9e){_0x243eef=_0x243eef-0x12f;let _0x14e8fa=_0x1de2e2[_0x243eef];return _0x14e8fa;},_0x243e(_0x3fee34,_0x18a9a1);}function _0x1de2(){const _0x477861=['tagName','stream','1824573TaRZFx','strong','6cpqFhB','parent','624665VBePOC','replaceWith','ai-html-streamer-current-index-out-of-bounds','length','40bmsMhu','includes','currentIndex','2531970XPEWtG','shouldBeStreamed','isWordSplitResult','sup','reverse','bind','delay','entries','nodesList','sub','splitTextNodeIntoWordNodes','2KSpgLl','attribs','getParsedDocumentNodeList','match','del','isWordSplitSource','textNodeStyle','signal','2438392zGCSxG','map','childNodes','querySelectorAll','join','span[data-ck-html-streamer-word-chunk]','code','cleanUpAnimations','div','push','755739xYeZsC','mark','document','span','options','forEach','timeoutAbortController','stop','55hWtFUF','onStreamUpdate','addEventListener','now','1177450SQlBek','children','986867IbuOnC','ins','abort','renderNode','isStreaming','from'];_0x1de2=function(){return _0x477861;};return _0x1de2();}import{logWarning as _0x492cf4}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x4889d9(0x15e)];[_0x4889d9(0x16c)]=!0x1;[_0x4889d9(0x15c)]=null;[_0x4889d9(0x145)]=[];[_0x4889d9(0x13c)]=0x0;[_0x4889d9(0x160)]=null;constructor(_0x44d468){const _0x4a6da4=_0x4889d9;this[_0x4a6da4(0x15e)]={'delay':_0x44d468[_0x4a6da4(0x143)]??0x14,'textNodeStyle':_0x44d468[_0x4a6da4(0x14e)],'onStreamUpdate':_0x44d468[_0x4a6da4(0x163)]||(()=>{})};}async[_0x4889d9(0x131)]({document:_0x582f25,targetElement:_0x1a86ab,abortSignal:_0x2d25fa}){const _0x4cb262=_0x4889d9;this[_0x4cb262(0x16c)]&&this[_0x4cb262(0x161)](),_0x2d25fa?.[_0x4cb262(0x164)](_0x4cb262(0x16a),this[_0x4cb262(0x161)][_0x4cb262(0x142)](this)),this[_0x4cb262(0x15c)]=_0x923c21(_0x582f25,!0x0),this[_0x4cb262(0x145)]=this[_0x4cb262(0x14a)](),this[_0x4cb262(0x16c)]=!0x0,this[_0x4cb262(0x13c)]>this[_0x4cb262(0x145)][_0x4cb262(0x139)]&&(_0x492cf4(_0x4cb262(0x138),{'currentIndex':this[_0x4cb262(0x13c)],'nodeList':this[_0x4cb262(0x145)]}),this[_0x4cb262(0x13c)]=this[_0x4cb262(0x145)][_0x4cb262(0x139)]);for(let _0x25bd0f=0x0;_0x25bd0f<this[_0x4cb262(0x13c)];_0x25bd0f++)this[_0x4cb262(0x145)][_0x25bd0f][_0x4cb262(0x13e)]=!0x0;let _0xd9b031=0x0;for(let _0xeecef6=this[_0x4cb262(0x13c)];_0xeecef6<this[_0x4cb262(0x145)][_0x4cb262(0x139)];_0xeecef6++){const _0x56824a=Date[_0x4cb262(0x165)](),_0x1f3460=this[_0x4cb262(0x145)][_0xeecef6],_0x1a98d2=_0x56824a-_0xd9b031;_0x1f3460[_0x4cb262(0x13e)]=!0x0;let _0x94f439=_0x1f3460[_0x4cb262(0x135)];for(;_0x94f439;)_0x94f439[_0x4cb262(0x13e)]=!0x0,_0x94f439=_0x94f439[_0x4cb262(0x135)];if(_0x1a98d2<this[_0x4cb262(0x15e)][_0x4cb262(0x143)])try{const {promise:_0x1496ad,abortController:_0x3f37ff}=pr(this[_0x4cb262(0x15e)][_0x4cb262(0x143)]-_0x1a98d2);this[_0x4cb262(0x160)]=_0x3f37ff,await _0x1496ad;}catch(_0x3f8266){return;}_0x434b01(_0x1a86ab,'<'+_0x1a86ab[_0x4cb262(0x130)]+'>'+this[_0x4cb262(0x16b)](this[_0x4cb262(0x15c)])+'</'+_0x1a86ab[_0x4cb262(0x130)]+'>',{'childrenOnly':!0x0}),this[_0x4cb262(0x15e)][_0x4cb262(0x163)]&&this[_0x4cb262(0x15e)][_0x4cb262(0x163)](),this[_0x4cb262(0x13c)]=_0xeecef6,_0xd9b031=Date[_0x4cb262(0x165)]();}this[_0x4cb262(0x16c)]=!0x1;}[_0x4889d9(0x157)]({targetElement:_0x102133}){const _0x48c0df=_0x4889d9;Array[_0x48c0df(0x12f)](_0x102133[_0x48c0df(0x153)](_0x48c0df(0x155)))[_0x48c0df(0x141)]()[_0x48c0df(0x15f)](_0x567ecc=>{const _0x4872e5=_0x48c0df;_0x567ecc[_0x4872e5(0x137)](_0x567ecc[_0x4872e5(0x152)][0x0]);});}[_0x4889d9(0x161)](){const _0x5481e0=_0x4889d9;this[_0x5481e0(0x16c)]=!0x1,this[_0x5481e0(0x160)]&&(this[_0x5481e0(0x160)][_0x5481e0(0x16a)](),this[_0x5481e0(0x160)]=null);}[_0x4889d9(0x16b)](_0x344eb4){const _0x3c70f2=_0x4889d9;let _0x38d470='';if(function(_0x962ee6){return _0x3c2356(_0x962ee6);}(_0x344eb4)){for(const _0x5e36aa of _0x344eb4[_0x3c70f2(0x167)])_0x38d470+=this[_0x3c70f2(0x16b)](_0x5e36aa);}else{if(dr(_0x344eb4)){if(!_0x344eb4[_0x3c70f2(0x13e)])return'';const _0x11b5ac=_0x344eb4,_0x21e0b3=Object[_0x3c70f2(0x144)](_0x11b5ac[_0x3c70f2(0x149)])[_0x3c70f2(0x151)](([_0x173500,_0x3df48d])=>_0x173500+'=\x22'+_0x3df48d+'\x22')[_0x3c70f2(0x154)]('\x20');_0x38d470+='<'+_0x11b5ac[_0x3c70f2(0x130)]+(_0x21e0b3?'\x20'+_0x21e0b3:'')+'>';for(const _0x23bd4f of _0x323802(_0x11b5ac))_0x38d470+=this[_0x3c70f2(0x16b)](_0x23bd4f);_0x38d470+='</'+_0x11b5ac[_0x3c70f2(0x130)]+'>';}else{if(!ar(_0x344eb4))return'';if(!_0x344eb4[_0x3c70f2(0x13e)])return'';!function(_0x2e49e1){const _0x246e69=_0x3c70f2;if(!_0x2e49e1[_0x246e69(0x135)]||!dr(_0x2e49e1[_0x246e69(0x135)]))return!0x1;if(!cr[_0x246e69(0x13b)](_0x2e49e1[_0x246e69(0x135)][_0x246e69(0x130)]))return!0x1;return!_0x4f2b27(_0x2e49e1)[_0x246e69(0x14b)](/^\s*[<>]\s*$/);}(_0x344eb4)?_0x38d470+=_0x1850e0(_0x344eb4):_0x38d470+=_0x1850e0(new _0x37807b(_0x3c70f2(0x15d),{'data-ck-html-streamer-word-chunk':'','style':this[_0x3c70f2(0x15e)][_0x3c70f2(0x14e)]},[_0x344eb4]));}}return _0x38d470;}[_0x4889d9(0x14a)](){const _0x552cd7=_0x4889d9,_0x55e6fa=[];return function(_0x384288,_0x27835e){const _0x1fb3dc=_0x243e,_0x4eaa52=_0x2e34ad=>{const _0x518960=_0x243e;if(_0x27835e(_0x2e34ad),_0x2e34ad instanceof _0x4cdbc7)for(let _0x32d649=0x0;_0x32d649<_0x2e34ad[_0x518960(0x167)][_0x518960(0x139)];_0x32d649++){const _0xf1a331=_0x2e34ad[_0x518960(0x167)][_0x32d649];_0x4eaa52(_0xf1a331);}};for(let _0x32778f=0x0;_0x32778f<_0x384288[_0x1fb3dc(0x167)][_0x1fb3dc(0x139)];_0x32778f++)_0x4eaa52(_0x384288[_0x1fb3dc(0x167)][_0x32778f]);}(this[_0x552cd7(0x15c)],_0x36803a=>{const _0xfe1923=_0x552cd7;if(ar(_0x36803a)){const _0x5c2dba=this[_0xfe1923(0x147)](_0x36803a);_0x5c2dba[_0xfe1923(0x139)]&&_0x55e6fa[_0xfe1923(0x159)](..._0x5c2dba);}_0x36803a[_0xfe1923(0x14d)]||_0x36803a[_0xfe1923(0x13f)]||_0x55e6fa[_0xfe1923(0x159)](_0x36803a);}),_0x55e6fa;}[_0x4889d9(0x147)](_0xf9db73){const _0x10f362=_0x4889d9;if(_0xf9db73[_0x10f362(0x14d)]||_0xf9db73[_0x10f362(0x13f)])return[];const _0x456ca4=_0x4f2b27(_0xf9db73)[_0x10f362(0x14b)](/(?:\s*\S+\s*)/g),_0x557787=[];if(_0x456ca4&&_0x456ca4[_0x10f362(0x139)]>0x1){for(const _0x46e7d0 of _0x456ca4){const _0x1ceee4=new _0x1d0cab(_0x46e7d0);_0x1ceee4[_0x10f362(0x13f)]=!0x0,_0x29364e(_0xf9db73,_0x1ceee4),_0x557787[_0x10f362(0x159)](_0x1ceee4);}_0xf9db73[_0x10f362(0x14d)]=!0x0,_0x21c1fc(_0xf9db73);}return _0x557787;}}const cr=['p','li','td','th',_0x4889d9(0x15d),'h1','h2','h3','h4','h5','h6','b',_0x4889d9(0x133),'i','em',_0x4889d9(0x15b),_0x4889d9(0x14c),_0x4889d9(0x169),_0x4889d9(0x140),_0x4889d9(0x146),'a',_0x4889d9(0x156),_0x4889d9(0x158)];function ar(_0x39b480){return _0xf47fdb(_0x39b480);}function dr(_0x2524c9){return _0x4daaba(_0x2524c9);}function pr(_0x500116){const _0x29060c=new AbortController();return{'promise':new Promise((_0x5ee33b,_0x522b9a)=>{const _0x2df6a8=_0x243e,_0xde7172=setTimeout(_0x5ee33b,_0x500116);_0x29060c[_0x2df6a8(0x14f)][_0x2df6a8(0x164)](_0x2df6a8(0x16a),()=>{clearTimeout(_0xde7172),_0x522b9a();});}),'abortController':_0x29060c};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x337791=_0x43e8;function _0x391f(){var _0x306ccd=['891834BFKJQH','29399823FmqdeZ','isOfficialPlugin','4kfDwRS','1137340erZJOx','isPremiumPlugin','314243UKFkKV','2864065jmkywL','2764095xAFqGt','54880LjEOvL','pluginName','AIEditorIntegration','requires','917PwbNuY'];_0x391f=function(){return _0x306ccd;};return _0x391f();}(function(_0x5452d4,_0x33a8d7){var _0x581737=_0x43e8,_0x45358d=_0x5452d4();while(!![]){try{var _0x4713a2=parseInt(_0x581737(0x1ba))/0x1+-parseInt(_0x581737(0x1b8))/0x2+-parseInt(_0x581737(0x1ae))/0x3+parseInt(_0x581737(0x1b7))/0x4*(-parseInt(_0x581737(0x1ad))/0x5)+-parseInt(_0x581737(0x1b4))/0x6+-parseInt(_0x581737(0x1b3))/0x7*(parseInt(_0x581737(0x1af))/0x8)+parseInt(_0x581737(0x1b5))/0x9;if(_0x4713a2===_0x33a8d7)break;else _0x45358d['push'](_0x45358d['shift']());}catch(_0x4d5a7e){_0x45358d['push'](_0x45358d['shift']());}}}(_0x391f,0x72ed7));function _0x43e8(_0x23ede5,_0x37bd7f){var _0x391f1e=_0x391f();return _0x43e8=function(_0x43e8ca,_0x4cbe68){_0x43e8ca=_0x43e8ca-0x1ad;var _0x120a0e=_0x391f1e[_0x43e8ca];return _0x120a0e;},_0x43e8(_0x23ede5,_0x37bd7f);}import{Plugin as _0x2166ab}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4727ff}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0xd4ebb2}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x2166ab{static get[_0x337791(0x1b2)](){return[_0x4727ff,_0xd4ebb2];}static get[_0x337791(0x1b0)](){var _0x1f8641=_0x337791;return _0x1f8641(0x1b1);}static get[_0x337791(0x1b6)](){return!0x0;}static get[_0x337791(0x1b9)](){return!0x0;}}
23
+ var _0xde3ed=_0x570d;(function(_0x1ae3f6,_0x417792){var _0x58a66e=_0x570d,_0x24d58d=_0x1ae3f6();while(!![]){try{var _0x21606b=-parseInt(_0x58a66e(0x1af))/0x1*(parseInt(_0x58a66e(0x1a9))/0x2)+-parseInt(_0x58a66e(0x1a6))/0x3*(parseInt(_0x58a66e(0x1ad))/0x4)+parseInt(_0x58a66e(0x1a1))/0x5*(-parseInt(_0x58a66e(0x1a8))/0x6)+parseInt(_0x58a66e(0x1ac))/0x7+parseInt(_0x58a66e(0x1a0))/0x8*(-parseInt(_0x58a66e(0x1a5))/0x9)+-parseInt(_0x58a66e(0x1ab))/0xa+parseInt(_0x58a66e(0x1aa))/0xb;if(_0x21606b===_0x417792)break;else _0x24d58d['push'](_0x24d58d['shift']());}catch(_0x5e748e){_0x24d58d['push'](_0x24d58d['shift']());}}}(_0xf614,0x3c32e));function _0xf614(){var _0x29dd48=['3345923xfmIDR','4RFdXoO','requires','33sfxqAk','1063856CJCfDe','14290pkyGNA','isPremiumPlugin','AIEditorIntegration','pluginName','9lKzUiG','880602bOpsSH','isOfficialPlugin','156KQveYI','234OsmYOt','8251826daaIcD','4768960nNZSWW'];_0xf614=function(){return _0x29dd48;};return _0xf614();}import{Plugin as _0x31d1c5}from'ckeditor5/src/core.js';function _0x570d(_0x3b4bef,_0xebd701){var _0xf614a4=_0xf614();return _0x570d=function(_0x570d19,_0x38bde6){_0x570d19=_0x570d19-0x1a0;var _0x4a3368=_0xf614a4[_0x570d19];return _0x4a3368;},_0x570d(_0x3b4bef,_0xebd701);}import{AIToggleButtonUI as _0x4c09bb}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x1e871e}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x31d1c5{static get[_0xde3ed(0x1ae)](){return[_0x4c09bb,_0x1e871e];}static get[_0xde3ed(0x1a4)](){var _0x1049ea=_0xde3ed;return _0x1049ea(0x1a3);}static get[_0xde3ed(0x1a7)](){return!0x0;}static get[_0xde3ed(0x1a2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d93c3=_0x2ff2;(function(_0x1e0759,_0x105c4b){const _0x56f99a=_0x2ff2,_0x340fb2=_0x1e0759();while(!![]){try{const _0x481cc2=-parseInt(_0x56f99a(0xec))/0x1+-parseInt(_0x56f99a(0xe5))/0x2+parseInt(_0x56f99a(0xdb))/0x3+parseInt(_0x56f99a(0xcf))/0x4+parseInt(_0x56f99a(0xed))/0x5+parseInt(_0x56f99a(0xe4))/0x6+-parseInt(_0x56f99a(0xd7))/0x7;if(_0x481cc2===_0x105c4b)break;else _0x340fb2['push'](_0x340fb2['shift']());}catch(_0x20b04a){_0x340fb2['push'](_0x340fb2['shift']());}}}(_0x16de,0xd8bd2));import{Plugin as _0x17749d}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x2a681b}from'./toggleaicommand.js';import{ButtonView as _0x2f7a34,MenuBarMenuListItemButtonView as _0x2dd637}from'ckeditor5/src/ui.js';function _0x16de(){const _0x3072da=['288144lyBoyM','add','locale','value','isOfficialPlugin','isPremiumPlugin','requires','bind','componentFactory','2114904YXOqxi','309520EVGlVf','editor','menuBar:toggleAi','execute','listenTo','get','isOn','1003794gfVoRF','8821435SIWUJs','_createAIUIButton','3378844fFQTuz','pluginName','toggleAi','isEnabled','AI_TOGGLE_BUTTON_LABEL','set','AIToggleButtonUI','init','7078498sNlPGD','commands','ck-ai-toggle-button','menuitemcheckbox'];_0x16de=function(){return _0x3072da;};return _0x16de();}import{IconAIAskAI as _0x4f6b01}from'@ckeditor/ckeditor5-icons';function _0x2ff2(_0x5556dd,_0x71841c){const _0x16dec8=_0x16de();return _0x2ff2=function(_0x2ff20e,_0x10fdf6){_0x2ff20e=_0x2ff20e-0xcf;let _0x2b5258=_0x16dec8[_0x2ff20e];return _0x2b5258;},_0x2ff2(_0x5556dd,_0x71841c);}import{getTranslation as _0xe22d82}from'../../aicore/utils/common-translations.js';import{AITabs as _0x367499}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x17749d{static get[_0x4d93c3(0xe1)](){return[_0x367499];}static get[_0x4d93c3(0xd0)](){const _0x2ad143=_0x4d93c3;return _0x2ad143(0xd5);}static get[_0x4d93c3(0xdf)](){return!0x0;}static get[_0x4d93c3(0xe0)](){return!0x0;}[_0x4d93c3(0xd6)](){const _0x5227a8=_0x4d93c3,_0x39ed31=this[_0x5227a8(0xe6)];_0x39ed31[_0x5227a8(0xd8)][_0x5227a8(0xdc)](_0x5227a8(0xd1),new _0x2a681b(_0x39ed31)),_0x39ed31['ui'][_0x5227a8(0xe3)][_0x5227a8(0xdc)](_0x5227a8(0xd1),()=>{const _0x110121=_0x5227a8,_0x72e862=this[_0x110121(0xee)](_0x2f7a34);return _0x72e862[_0x110121(0xd4)]({'tooltip':!0x0,'class':_0x110121(0xd9)}),_0x72e862;}),_0x39ed31['ui'][_0x5227a8(0xe3)][_0x5227a8(0xdc)](_0x5227a8(0xe7),()=>{const _0x24e37c=_0x5227a8,_0x4b000d=this[_0x24e37c(0xee)](_0x2dd637);return _0x4b000d[_0x24e37c(0xd4)]({'role':_0x24e37c(0xda)}),_0x4b000d;});}[_0x4d93c3(0xee)](_0x37cecb){const _0x4b6e9d=_0x4d93c3,_0x5a93cf=this[_0x4b6e9d(0xe6)],_0x4aa0cf=_0x5a93cf[_0x4b6e9d(0xd8)][_0x4b6e9d(0xea)](_0x4b6e9d(0xd1)),_0x52eb9f=new _0x37cecb(_0x5a93cf[_0x4b6e9d(0xdd)]);return _0x52eb9f[_0x4b6e9d(0xd4)]({'label':_0xe22d82(_0x5a93cf[_0x4b6e9d(0xdd)],_0x4b6e9d(0xd3)),'icon':_0x4f6b01,'isToggleable':!0x0}),_0x52eb9f[_0x4b6e9d(0xe2)](_0x4b6e9d(0xd2))['to'](_0x4aa0cf),_0x52eb9f[_0x4b6e9d(0xe2)](_0x4b6e9d(0xeb))['to'](_0x4aa0cf,_0x4b6e9d(0xde),_0x281351=>!!_0x281351),this[_0x4b6e9d(0xe9)](_0x52eb9f,_0x4b6e9d(0xe8),()=>{const _0x133086=_0x4b6e9d;_0x4aa0cf[_0x133086(0xe8)]();}),_0x52eb9f;}}
23
+ function _0x5219(_0x49837e,_0x180fb9){const _0x4c479d=_0x4c47();return _0x5219=function(_0x5219cf,_0x56d0ef){_0x5219cf=_0x5219cf-0x160;let _0x5530be=_0x4c479d[_0x5219cf];return _0x5530be;},_0x5219(_0x49837e,_0x180fb9);}const _0x4b55fe=_0x5219;(function(_0x5c3c37,_0x4e2750){const _0x2fd93b=_0x5219,_0x20dcac=_0x5c3c37();while(!![]){try{const _0x54d78d=-parseInt(_0x2fd93b(0x16a))/0x1*(-parseInt(_0x2fd93b(0x171))/0x2)+parseInt(_0x2fd93b(0x170))/0x3+-parseInt(_0x2fd93b(0x172))/0x4*(-parseInt(_0x2fd93b(0x165))/0x5)+-parseInt(_0x2fd93b(0x175))/0x6+parseInt(_0x2fd93b(0x177))/0x7+parseInt(_0x2fd93b(0x169))/0x8+-parseInt(_0x2fd93b(0x162))/0x9;if(_0x54d78d===_0x4e2750)break;else _0x20dcac['push'](_0x20dcac['shift']());}catch(_0x344507){_0x20dcac['push'](_0x20dcac['shift']());}}}(_0x4c47,0x59dae));import{Plugin as _0x2b22f9}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x5591d1}from'./toggleaicommand.js';import{ButtonView as _0x4ac729,MenuBarMenuListItemButtonView as _0x43b7e3}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x13d09d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1cc149}from'../../aicore/utils/common-translations.js';import{AITabs as _0x38feab}from'../../aitabs/aitabs.js';function _0x4c47(){const _0x2ff2ce=['editor','set','requires','menuBar:toggleAi','isOn','init','execute','get','isEnabled','toggleAi','isOfficialPlugin','listenTo','10373391sAkugU','locale','_createAIUIButton','230fKXhDX','bind','pluginName','menuitemcheckbox','2353552eonDtz','26BiZCLj','AIToggleButtonUI','ck-ai-toggle-button','componentFactory','value','isPremiumPlugin','269556wbNmbx','47612egZYCm','18248SHICBi','add','commands','1997964GiauBi','AI_TOGGLE_BUTTON_LABEL','4485495BcdoYZ'];_0x4c47=function(){return _0x2ff2ce;};return _0x4c47();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x2b22f9{static get[_0x4b55fe(0x17a)](){return[_0x38feab];}static get[_0x4b55fe(0x167)](){const _0x3c9a9b=_0x4b55fe;return _0x3c9a9b(0x16b);}static get[_0x4b55fe(0x160)](){return!0x0;}static get[_0x4b55fe(0x16f)](){return!0x0;}[_0x4b55fe(0x17d)](){const _0x47f1a3=_0x4b55fe,_0x354d9f=this[_0x47f1a3(0x178)];_0x354d9f[_0x47f1a3(0x174)][_0x47f1a3(0x173)](_0x47f1a3(0x181),new _0x5591d1(_0x354d9f)),_0x354d9f['ui'][_0x47f1a3(0x16d)][_0x47f1a3(0x173)](_0x47f1a3(0x181),()=>{const _0x1a4df2=_0x47f1a3,_0x4d9489=this[_0x1a4df2(0x164)](_0x4ac729);return _0x4d9489[_0x1a4df2(0x179)]({'tooltip':!0x0,'class':_0x1a4df2(0x16c)}),_0x4d9489;}),_0x354d9f['ui'][_0x47f1a3(0x16d)][_0x47f1a3(0x173)](_0x47f1a3(0x17b),()=>{const _0x217c79=_0x47f1a3,_0x161fed=this[_0x217c79(0x164)](_0x43b7e3);return _0x161fed[_0x217c79(0x179)]({'role':_0x217c79(0x168)}),_0x161fed;});}[_0x4b55fe(0x164)](_0x456c64){const _0x120dfb=_0x4b55fe,_0x35fd4a=this[_0x120dfb(0x178)],_0x37c494=_0x35fd4a[_0x120dfb(0x174)][_0x120dfb(0x17f)](_0x120dfb(0x181)),_0x3f3799=new _0x456c64(_0x35fd4a[_0x120dfb(0x163)]);return _0x3f3799[_0x120dfb(0x179)]({'label':_0x1cc149(_0x35fd4a[_0x120dfb(0x163)],_0x120dfb(0x176)),'icon':_0x13d09d,'isToggleable':!0x0}),_0x3f3799[_0x120dfb(0x166)](_0x120dfb(0x180))['to'](_0x37c494),_0x3f3799[_0x120dfb(0x166)](_0x120dfb(0x17c))['to'](_0x37c494,_0x120dfb(0x16e),_0x4b87e5=>!!_0x4b87e5),this[_0x120dfb(0x161)](_0x3f3799,_0x120dfb(0x17e),()=>{const _0x5f2c30=_0x120dfb;_0x37c494[_0x5f2c30(0x17e)]();}),_0x3f3799;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7c7ce3=_0x3c01;function _0x3c01(_0x2ae681,_0x3d20a5){const _0x745551=_0x7455();return _0x3c01=function(_0x3c012d,_0x3265b7){_0x3c012d=_0x3c012d-0x78;let _0x12bb49=_0x745551[_0x3c012d];return _0x12bb49;},_0x3c01(_0x2ae681,_0x3d20a5);}(function(_0x263d9d,_0x3e4cb8){const _0x5117b4=_0x3c01,_0x5921db=_0x263d9d();while(!![]){try{const _0x256919=parseInt(_0x5117b4(0x7d))/0x1*(parseInt(_0x5117b4(0x85))/0x2)+-parseInt(_0x5117b4(0x7c))/0x3+-parseInt(_0x5117b4(0x7a))/0x4*(parseInt(_0x5117b4(0x7e))/0x5)+parseInt(_0x5117b4(0x89))/0x6+parseInt(_0x5117b4(0x79))/0x7*(parseInt(_0x5117b4(0x8b))/0x8)+parseInt(_0x5117b4(0x82))/0x9+-parseInt(_0x5117b4(0x7b))/0xa;if(_0x256919===_0x3e4cb8)break;else _0x5921db['push'](_0x5921db['shift']());}catch(_0x461f90){_0x5921db['push'](_0x5921db['shift']());}}}(_0x7455,0x7e6fb));import{Command as _0x573eaf}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x573eaf{constructor(_0x333093){const _0x16c41b=_0x3c01;super(_0x333093);const _0x1c2a4a=_0x333093[_0x16c41b(0x83)][_0x16c41b(0x87)](_0x16c41b(0x80))[_0x16c41b(0x88)];this[_0x16c41b(0x86)](_0x16c41b(0x8a))['to'](_0x1c2a4a,_0x16c41b(0x7f)),this[_0x16c41b(0x78)]=!0x0;}[_0x7c7ce3(0x84)](){const _0x34b725=_0x7c7ce3,_0x2ede6d=this[_0x34b725(0x81)][_0x34b725(0x83)][_0x34b725(0x87)](_0x34b725(0x80))[_0x34b725(0x88)];_0x2ede6d[_0x34b725(0x7f)]=!_0x2ede6d[_0x34b725(0x7f)];}}function _0x7455(){const _0x3d6b97=['bind','get','view','3329406oCEOfJ','value','8BwYiKf','isEnabled','3097528MHbXNv','6904YDftPz','4334060qsPhia','1694994BhCzam','1kPEKbJ','1135dDfHkZ','isVisible','AITabs','editor','4659687JZaamZ','plugins','execute','785882ZJGGuD'];_0x7455=function(){return _0x3d6b97;};return _0x7455();}
23
+ function _0x1fb8(){const _0x252ecb=['818044ziTXSN','AITabs','12379535MVejfF','bind','value','isEnabled','73608ciNSEe','view','isVisible','33444FnUZQf','1528795BpFxCM','962440eoJQkD','9353922VHMlTn','editor','9kMFtLU','execute','get','3XQMNaz','plugins','1330dvTQVQ'];_0x1fb8=function(){return _0x252ecb;};return _0x1fb8();}const _0x46e130=_0x58c8;(function(_0x19d0f8,_0x3d6117){const _0x3ed85f=_0x58c8,_0x18b9a7=_0x19d0f8();while(!![]){try{const _0x2399c4=parseInt(_0x3ed85f(0x84))/0x1*(parseInt(_0x3ed85f(0x87))/0x2)+parseInt(_0x3ed85f(0x81))/0x3*(-parseInt(_0x3ed85f(0x7e))/0x4)+-parseInt(_0x3ed85f(0x7d))/0x5+-parseInt(_0x3ed85f(0x7f))/0x6+parseInt(_0x3ed85f(0x89))/0x7+-parseInt(_0x3ed85f(0x79))/0x8+parseInt(_0x3ed85f(0x7c))/0x9*(parseInt(_0x3ed85f(0x86))/0xa);if(_0x2399c4===_0x3d6117)break;else _0x18b9a7['push'](_0x18b9a7['shift']());}catch(_0x2e53b2){_0x18b9a7['push'](_0x18b9a7['shift']());}}}(_0x1fb8,0xda446));function _0x58c8(_0x3e367b,_0x3da72f){const _0x1fb8e2=_0x1fb8();return _0x58c8=function(_0x58c8ea,_0x136b5c){_0x58c8ea=_0x58c8ea-0x78;let _0x4e5891=_0x1fb8e2[_0x58c8ea];return _0x4e5891;},_0x58c8(_0x3e367b,_0x3da72f);}import{Command as _0x239850}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x239850{constructor(_0x5d618b){const _0x43ca6e=_0x58c8;super(_0x5d618b);const _0x10a348=_0x5d618b[_0x43ca6e(0x85)][_0x43ca6e(0x83)](_0x43ca6e(0x88))[_0x43ca6e(0x7a)];this[_0x43ca6e(0x8a)](_0x43ca6e(0x8b))['to'](_0x10a348,_0x43ca6e(0x7b)),this[_0x43ca6e(0x78)]=!0x0;}[_0x46e130(0x82)](){const _0x1ee5b7=_0x46e130,_0x4acb8e=this[_0x1ee5b7(0x80)][_0x1ee5b7(0x85)][_0x1ee5b7(0x83)](_0x1ee5b7(0x88))[_0x1ee5b7(0x7a)];_0x4acb8e[_0x1ee5b7(0x7b)]=!_0x4acb8e[_0x1ee5b7(0x7b)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b1831=_0x1bc7;(function(_0x4bc3d7,_0x3e5499){var _0x3abd0a=_0x1bc7,_0x55fded=_0x4bc3d7();while(!![]){try{var _0x2744ac=-parseInt(_0x3abd0a(0x1d9))/0x1+-parseInt(_0x3abd0a(0x1cf))/0x2+parseInt(_0x3abd0a(0x1dd))/0x3+-parseInt(_0x3abd0a(0x1d0))/0x4*(parseInt(_0x3abd0a(0x1d4))/0x5)+-parseInt(_0x3abd0a(0x1ce))/0x6*(-parseInt(_0x3abd0a(0x1dc))/0x7)+parseInt(_0x3abd0a(0x1d5))/0x8*(parseInt(_0x3abd0a(0x1db))/0x9)+-parseInt(_0x3abd0a(0x1d1))/0xa;if(_0x2744ac===_0x3e5499)break;else _0x55fded['push'](_0x55fded['shift']());}catch(_0x536347){_0x55fded['push'](_0x55fded['shift']());}}}(_0x289c,0x86c41));import{Plugin as _0x305e0b}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x3269f0}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x54777a}from'./aiquickactionsediting.js';function _0x289c(){var _0xf29078=['7192lmZxJx','AIQuickActions','define','ai.quickActions','333073wZUgAu','isPremiumPlugin','81PMSKmW','752185cSloOq','2326938SJHbCP','requires','isOfficialPlugin','54BjrwTa','222526hFzmKb','4sFVnAa','6038020gDxtCA','config','pluginName','753465yJlBBd'];_0x289c=function(){return _0xf29078;};return _0x289c();}function _0x1bc7(_0x5ef7b2,_0x4bfa52){var _0x289c4c=_0x289c();return _0x1bc7=function(_0x1bc71e,_0x4430c7){_0x1bc71e=_0x1bc71e-0x1cc;var _0x319857=_0x289c4c[_0x1bc71e];return _0x319857;},_0x1bc7(_0x5ef7b2,_0x4bfa52);}import{AIActions as _0x284ec5}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x305e0b{static get[_0x1b1831(0x1cc)](){return[_0x3269f0,_0x54777a,_0x284ec5];}static get[_0x1b1831(0x1d3)](){var _0x534630=_0x1b1831;return _0x534630(0x1d6);}static get[_0x1b1831(0x1cd)](){return!0x0;}static get[_0x1b1831(0x1da)](){return!0x0;}constructor(_0x4c9128){var _0xc4a245=_0x1b1831;super(_0x4c9128),_0x4c9128[_0xc4a245(0x1d2)][_0xc4a245(0x1d7)](_0xc4a245(0x1d8),{'extraCommands':[],'removeCommands':[]});}}
23
+ var _0x1c150f=_0x565a;(function(_0x3226a3,_0x4a7e46){var _0x38dae0=_0x565a,_0x35a2e3=_0x3226a3();while(!![]){try{var _0x5c76bc=parseInt(_0x38dae0(0x8b))/0x1*(-parseInt(_0x38dae0(0x89))/0x2)+-parseInt(_0x38dae0(0x8f))/0x3*(-parseInt(_0x38dae0(0x86))/0x4)+-parseInt(_0x38dae0(0x88))/0x5*(parseInt(_0x38dae0(0x8c))/0x6)+parseInt(_0x38dae0(0x91))/0x7+-parseInt(_0x38dae0(0x82))/0x8*(-parseInt(_0x38dae0(0x8a))/0x9)+parseInt(_0x38dae0(0x8d))/0xa*(parseInt(_0x38dae0(0x84))/0xb)+-parseInt(_0x38dae0(0x85))/0xc;if(_0x5c76bc===_0x4a7e46)break;else _0x35a2e3['push'](_0x35a2e3['shift']());}catch(_0x15115b){_0x35a2e3['push'](_0x35a2e3['shift']());}}}(_0x12e1,0x69507));import{Plugin as _0x3fbd97}from'ckeditor5/src/core.js';function _0x12e1(){var _0x2fc52c=['isOfficialPlugin','define','80acnDkf','config','11pCdjdI','7966224XLhskr','560BiaDrG','ai.quickActions','260UDdWfW','1384spsGHb','356202MBUPEH','585UXYWUf','49272ZMMfyR','2061930AxeJcw','isPremiumPlugin','11898rmjKfj','AIQuickActions','5388950JFsWZC','pluginName','requires'];_0x12e1=function(){return _0x2fc52c;};return _0x12e1();}import{AIQuickActionsUI as _0x2e0654}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x5e33fc}from'./aiquickactionsediting.js';function _0x565a(_0x200a7d,_0x1657f8){var _0x12e11d=_0x12e1();return _0x565a=function(_0x565a69,_0x29c764){_0x565a69=_0x565a69-0x80;var _0x127329=_0x12e11d[_0x565a69];return _0x127329;},_0x565a(_0x200a7d,_0x1657f8);}import{AIActions as _0x4ca345}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x3fbd97{static get[_0x1c150f(0x93)](){return[_0x2e0654,_0x5e33fc,_0x4ca345];}static get[_0x1c150f(0x92)](){var _0x382808=_0x1c150f;return _0x382808(0x90);}static get[_0x1c150f(0x80)](){return!0x0;}static get[_0x1c150f(0x8e)](){return!0x0;}constructor(_0x2d393e){var _0x3df08f=_0x1c150f;super(_0x2d393e),_0x2d393e[_0x3df08f(0x83)][_0x3df08f(0x81)](_0x3df08f(0x87),{'extraCommands':[],'removeCommands':[]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5deb(_0x31e8c9,_0x34120d){const _0x3ac157=_0x3ac1();return _0x5deb=function(_0x5debac,_0x552663){_0x5debac=_0x5debac-0x13d;let _0x2ac71a=_0x3ac157[_0x5debac];return _0x2ac71a;},_0x5deb(_0x31e8c9,_0x34120d);}const _0x2a1165=_0x5deb;(function(_0x5ba5b2,_0xaab3d4){const _0xc31059=_0x5deb,_0x27182e=_0x5ba5b2();while(!![]){try{const _0x121694=parseInt(_0xc31059(0x160))/0x1*(parseInt(_0xc31059(0x14c))/0x2)+parseInt(_0xc31059(0x15b))/0x3*(-parseInt(_0xc31059(0x167))/0x4)+parseInt(_0xc31059(0x152))/0x5+parseInt(_0xc31059(0x148))/0x6+parseInt(_0xc31059(0x168))/0x7*(parseInt(_0xc31059(0x156))/0x8)+parseInt(_0xc31059(0x16e))/0x9+-parseInt(_0xc31059(0x13f))/0xa;if(_0x121694===_0xaab3d4)break;else _0x27182e['push'](_0x27182e['shift']());}catch(_0x2f1fb3){_0x27182e['push'](_0x27182e['shift']());}}}(_0x3ac1,0xc1df0));import{Command as _0x547431}from'ckeditor5/src/core.js';import{CKEditorError as _0x215435,first as _0xfc0bb4}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x56a9e2}from'./aiquickactionsui.js';import{getTranslation as _0x3f8aef}from'../aicore/utils/common-translations.js';function _0x3ac1(){const _0x75b5b9=['getSelectedBlocks','ask-ai','CHAT','37288510mjaVKA','view','actionName','setSelection','executeAction','prompt','parent','document','_handleAIReviewAction','1086276SKFftu','locale','get','selection','3174fRSLAu','plugins','editor','change','_handleAIChatAction','_handleAIActionsActionLabel','4452990UuRfsN','getLimitElement','type','label','8773704UKtAGm','isCollapsed','other','ai-quick-actions-plugin-not-found','args','3fQCHoM','AIChat','ACTION','focusPromptInput','AIActions','996SHJYnY','has','_handleAIActionsAction','activateTab','displayedPrompt','removeSelectionFromChatContext','icon','174428KdgUAX','7xMZOTu','log','AIReviewMode','startConversation','model','execute','7357905tNRjwG','REVIEW','handleAIReviewAction','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AITabs','sendMessage','AIChatController','addSelectionToChatContext','_expandSelectionIfCollapsed','schema','chat'];_0x3ac1=function(){return _0x75b5b9;};return _0x3ac1();}export class AIQuickActionsCommand extends _0x547431{[_0x2a1165(0x16d)](_0x20c235){const _0x509248=_0x2a1165;switch(this[_0x509248(0x176)](),_0x20c235[_0x509248(0x154)]){case _0x56a9e2[_0x509248(0x13e)]:if(!this[_0x509248(0x14e)][_0x509248(0x14d)][_0x509248(0x161)](_0x509248(0x15c))){const _0x2e2349=_0x3f8aef(this[_0x509248(0x14e)][_0x509248(0x149)],_0x509248(0x171),_0x509248(0x15c));throw new _0x215435(_0x509248(0x159),this[_0x509248(0x14e)],{'errorMessage':_0x2e2349});}this[_0x509248(0x150)](_0x20c235);break;case _0x56a9e2[_0x509248(0x15d)]:if(!this[_0x509248(0x14e)][_0x509248(0x14d)][_0x509248(0x161)](_0x509248(0x15f))){const _0x500d91=_0x3f8aef(this[_0x509248(0x14e)][_0x509248(0x149)],_0x509248(0x171),_0x509248(0x15f));throw new _0x215435(_0x509248(0x159),this[_0x509248(0x14e)],{'errorMessage':_0x500d91});}this[_0x509248(0x162)](_0x20c235);break;case _0x56a9e2[_0x509248(0x16f)]:if(!this[_0x509248(0x14e)][_0x509248(0x14d)][_0x509248(0x161)](_0x509248(0x16a))){const _0x5c4b09=_0x3f8aef(this[_0x509248(0x14e)][_0x509248(0x149)],_0x509248(0x171),_0x509248(0x16a));throw new _0x215435(_0x509248(0x159),this[_0x509248(0x14e)],{'errorMessage':_0x5c4b09});}this[_0x509248(0x147)](_0x20c235);}}async[_0x2a1165(0x150)](_0x6c7d57){const _0x4348e0=_0x2a1165,_0x33674d=this[_0x4348e0(0x14e)][_0x4348e0(0x14d)][_0x4348e0(0x14a)](_0x4348e0(0x15c)),_0x413231=this[_0x4348e0(0x14e)][_0x4348e0(0x14d)][_0x4348e0(0x14a)](_0x4348e0(0x174));if(this[_0x4348e0(0x14e)][_0x4348e0(0x14d)][_0x4348e0(0x14a)](_0x4348e0(0x172))[_0x4348e0(0x140)][_0x4348e0(0x163)](_0x4348e0(0x178)),_0x4348e0(0x13d)===_0x6c7d57['id'])_0x413231[_0x4348e0(0x165)](),await _0x33674d[_0x4348e0(0x175)](),_0x33674d[_0x4348e0(0x15e)]();else await _0x33674d[_0x4348e0(0x16b)](),_0x413231[_0x4348e0(0x165)](),await _0x33674d[_0x4348e0(0x175)](),_0x33674d[_0x4348e0(0x15e)](),await _0x33674d[_0x4348e0(0x173)]({'message':_0x6c7d57[_0x4348e0(0x144)]||_0x6c7d57[_0x4348e0(0x164)],'quickActionData':{'id':_0x6c7d57['id'],'displayedPrompt':_0x6c7d57[_0x4348e0(0x164)]}});}[_0x2a1165(0x176)](){const _0x6d8e5a=_0x2a1165,_0x202b26=this[_0x6d8e5a(0x14e)],_0x229a96=_0x202b26[_0x6d8e5a(0x16c)][_0x6d8e5a(0x146)][_0x6d8e5a(0x14b)];if(!_0x229a96[_0x6d8e5a(0x157)])return;const _0x20c87c=_0xfc0bb4(_0x229a96[_0x6d8e5a(0x179)]())||_0x202b26[_0x6d8e5a(0x16c)][_0x6d8e5a(0x177)][_0x6d8e5a(0x153)](_0x229a96);_0x202b26[_0x6d8e5a(0x16c)][_0x6d8e5a(0x14f)](_0x1f3f13=>{const _0x49c625=_0x6d8e5a;_0x1f3f13[_0x49c625(0x142)](_0x20c87c,'in');});}[_0x2a1165(0x151)](_0x446279){const _0x2198ea=_0x2a1165;return _0x446279[_0x2198ea(0x145)]?.[_0x2198ea(0x155)]&&_0x2198ea(0x158)!==_0x446279[_0x2198ea(0x145)]?.['id']?_0x446279[_0x2198ea(0x145)][_0x2198ea(0x155)]+':\x20'+_0x446279[_0x2198ea(0x164)]:_0x446279[_0x2198ea(0x164)];}async[_0x2a1165(0x162)](_0x1bc105){const _0x1b62fa=_0x2a1165,_0x5c402d=this[_0x1b62fa(0x14e)][_0x1b62fa(0x14d)][_0x1b62fa(0x14a)](_0x1b62fa(0x15f)),_0x242943=_0x1bc105[_0x1b62fa(0x144)]?{'userMessage':_0x1bc105[_0x1b62fa(0x144)],'model':_0x1bc105[_0x1b62fa(0x16c)]}:{'actionName':_0x1bc105[_0x1b62fa(0x141)]||_0x1bc105['id'],'args':_0x1bc105[_0x1b62fa(0x15a)]},_0x2fbd49=this[_0x1b62fa(0x151)](_0x1bc105);await _0x5c402d[_0x1b62fa(0x143)](_0x242943,_0x2fbd49,_0x1bc105[_0x1b62fa(0x166)]);}async[_0x2a1165(0x147)](_0x43b8f9){const _0x2c3190=_0x2a1165;console[_0x2c3190(0x169)](_0x2c3190(0x170),_0x43b8f9);}}
23
+ const _0x19b2c0=_0x2446;(function(_0x53fd56,_0x170f04){const _0x18f2db=_0x2446,_0x29e8c5=_0x53fd56();while(!![]){try{const _0x3520e8=-parseInt(_0x18f2db(0x214))/0x1*(-parseInt(_0x18f2db(0x1e6))/0x2)+parseInt(_0x18f2db(0x207))/0x3*(-parseInt(_0x18f2db(0x1e8))/0x4)+-parseInt(_0x18f2db(0x1ec))/0x5+-parseInt(_0x18f2db(0x1ef))/0x6+parseInt(_0x18f2db(0x20b))/0x7*(-parseInt(_0x18f2db(0x1ea))/0x8)+-parseInt(_0x18f2db(0x224))/0x9*(-parseInt(_0x18f2db(0x212))/0xa)+parseInt(_0x18f2db(0x1f0))/0xb*(parseInt(_0x18f2db(0x1f8))/0xc);if(_0x3520e8===_0x170f04)break;else _0x29e8c5['push'](_0x29e8c5['shift']());}catch(_0x42cebf){_0x29e8c5['push'](_0x29e8c5['shift']());}}}(_0x3c05,0xe2bf0));function _0x3c05(){const _0x2e1122=['2260611DOAFTX','CHAT','focusPromptInput','other','5439iIqKPZ','locale','executeAction','activateTab','ai-quick-actions-plugin-not-found','ACTION','prompt','224300PzuDey','plugins','2rfukiv','removeSelectionFromChatContext','editor','change','_handleAIActionsActionLabel','schema','ask-ai','get','_handleAIReviewAction','chat','parent','isCollapsed','view','getSelectedBlocks','sendMessage','selection','153rErRUU','1658534HfSbqk','getLimitElement','4efuiPY','AIChatController','1976udjotd','AIActions','3941115XkDOMH','document','_handleAIChatAction','2610834aoXpCd','11xerDRA','execute','model','icon','displayedPrompt','actionName','log','AIChat','12692712NlyVPJ','_handleAIActionsAction','handleAIReviewAction','has','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','type','REVIEW','setSelection','_expandSelectionIfCollapsed','args','AITabs','startConversation','addSelectionToChatContext','AIReviewMode','label'];_0x3c05=function(){return _0x2e1122;};return _0x3c05();}function _0x2446(_0x50f1d5,_0xac25ae){const _0x3c058e=_0x3c05();return _0x2446=function(_0x244665,_0x2e9e58){_0x244665=_0x244665-0x1e6;let _0x1b1285=_0x3c058e[_0x244665];return _0x1b1285;},_0x2446(_0x50f1d5,_0xac25ae);}import{Command as _0x16b990}from'ckeditor5/src/core.js';import{CKEditorError as _0x189cf2,first as _0x42efb3}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x412b74}from'./aiquickactionsui.js';import{getTranslation as _0x39f8a6}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x16b990{[_0x19b2c0(0x1f1)](_0x3f01ef){const _0x2cf271=_0x19b2c0;switch(this[_0x2cf271(0x200)](),_0x3f01ef[_0x2cf271(0x1fd)]){case _0x412b74[_0x2cf271(0x208)]:if(!this[_0x2cf271(0x216)][_0x2cf271(0x213)][_0x2cf271(0x1fb)](_0x2cf271(0x1f7))){const _0x49c1cc=_0x39f8a6(this[_0x2cf271(0x216)][_0x2cf271(0x20c)],_0x2cf271(0x1fc),_0x2cf271(0x1f7));throw new _0x189cf2(_0x2cf271(0x20f),this[_0x2cf271(0x216)],{'errorMessage':_0x49c1cc});}this[_0x2cf271(0x1ee)](_0x3f01ef);break;case _0x412b74[_0x2cf271(0x210)]:if(!this[_0x2cf271(0x216)][_0x2cf271(0x213)][_0x2cf271(0x1fb)](_0x2cf271(0x1eb))){const _0x1f78dd=_0x39f8a6(this[_0x2cf271(0x216)][_0x2cf271(0x20c)],_0x2cf271(0x1fc),_0x2cf271(0x1eb));throw new _0x189cf2(_0x2cf271(0x20f),this[_0x2cf271(0x216)],{'errorMessage':_0x1f78dd});}this[_0x2cf271(0x1f9)](_0x3f01ef);break;case _0x412b74[_0x2cf271(0x1fe)]:if(!this[_0x2cf271(0x216)][_0x2cf271(0x213)][_0x2cf271(0x1fb)](_0x2cf271(0x205))){const _0xd71da6=_0x39f8a6(this[_0x2cf271(0x216)][_0x2cf271(0x20c)],_0x2cf271(0x1fc),_0x2cf271(0x205));throw new _0x189cf2(_0x2cf271(0x20f),this[_0x2cf271(0x216)],{'errorMessage':_0xd71da6});}this[_0x2cf271(0x21c)](_0x3f01ef);}}async[_0x19b2c0(0x1ee)](_0x25c4c7){const _0x92aa43=_0x19b2c0,_0x448279=this[_0x92aa43(0x216)][_0x92aa43(0x213)][_0x92aa43(0x21b)](_0x92aa43(0x1f7)),_0x4f46fd=this[_0x92aa43(0x216)][_0x92aa43(0x213)][_0x92aa43(0x21b)](_0x92aa43(0x1e9));if(this[_0x92aa43(0x216)][_0x92aa43(0x213)][_0x92aa43(0x21b)](_0x92aa43(0x202))[_0x92aa43(0x220)][_0x92aa43(0x20e)](_0x92aa43(0x21d)),_0x92aa43(0x21a)===_0x25c4c7['id'])_0x4f46fd[_0x92aa43(0x215)](),await _0x448279[_0x92aa43(0x204)](),_0x448279[_0x92aa43(0x209)]();else await _0x448279[_0x92aa43(0x203)](),_0x4f46fd[_0x92aa43(0x215)](),await _0x448279[_0x92aa43(0x204)](),_0x448279[_0x92aa43(0x209)](),await _0x448279[_0x92aa43(0x222)]({'message':_0x25c4c7[_0x92aa43(0x211)]||_0x25c4c7[_0x92aa43(0x1f4)],'quickActionData':{'id':_0x25c4c7['id'],'displayedPrompt':_0x25c4c7[_0x92aa43(0x1f4)]}});}[_0x19b2c0(0x200)](){const _0x38cacf=_0x19b2c0,_0x11116c=this[_0x38cacf(0x216)],_0x3f0f9d=_0x11116c[_0x38cacf(0x1f2)][_0x38cacf(0x1ed)][_0x38cacf(0x223)];if(!_0x3f0f9d[_0x38cacf(0x21f)])return;const _0x7349a1=_0x42efb3(_0x3f0f9d[_0x38cacf(0x221)]())||_0x11116c[_0x38cacf(0x1f2)][_0x38cacf(0x219)][_0x38cacf(0x1e7)](_0x3f0f9d);_0x11116c[_0x38cacf(0x1f2)][_0x38cacf(0x217)](_0x3d3b20=>{const _0xbe7bdb=_0x38cacf;_0x3d3b20[_0xbe7bdb(0x1ff)](_0x7349a1,'in');});}[_0x19b2c0(0x218)](_0x16f63e){const _0x1dcdc8=_0x19b2c0;return _0x16f63e[_0x1dcdc8(0x21e)]?.[_0x1dcdc8(0x206)]&&_0x1dcdc8(0x20a)!==_0x16f63e[_0x1dcdc8(0x21e)]?.['id']?_0x16f63e[_0x1dcdc8(0x21e)][_0x1dcdc8(0x206)]+':\x20'+_0x16f63e[_0x1dcdc8(0x1f4)]:_0x16f63e[_0x1dcdc8(0x1f4)];}async[_0x19b2c0(0x1f9)](_0x162c18){const _0x339ff1=_0x19b2c0,_0x3e0a43=this[_0x339ff1(0x216)][_0x339ff1(0x213)][_0x339ff1(0x21b)](_0x339ff1(0x1eb)),_0x37518b=_0x162c18[_0x339ff1(0x211)]?{'userMessage':_0x162c18[_0x339ff1(0x211)],'model':_0x162c18[_0x339ff1(0x1f2)]}:{'actionName':_0x162c18[_0x339ff1(0x1f5)]||_0x162c18['id'],'args':_0x162c18[_0x339ff1(0x201)]},_0x1b4f9f=this[_0x339ff1(0x218)](_0x162c18);await _0x3e0a43[_0x339ff1(0x20d)](_0x37518b,_0x1b4f9f,_0x162c18[_0x339ff1(0x1f3)]);}async[_0x19b2c0(0x21c)](_0x1b2b44){const _0x3a6487=_0x19b2c0;console[_0x3a6487(0x1f6)](_0x3a6487(0x1fa),_0x1b2b44);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2605ea=_0x35fe;function _0x51fb(){const _0x46ba93=['has','editor','isPremiumPlugin','135989kAYrEv','plugins','449008XzXERr','commands','pluginName','removeSelectionFromChatContext','1RNAFfO','get','aiQuickAction','96BRKGtw','10715eTWxCk','selection','120xkFfmP','change:range','280UYwaoe','2677648rZGWli','942054NvVZhX','add','document','model','605660EwACMZ','AIQuickActionsEditing','2336310PpqBTZ','init','AIChat','directChange','isOfficialPlugin'];_0x51fb=function(){return _0x46ba93;};return _0x51fb();}(function(_0xf4f750,_0xf9224e){const _0x1bb408=_0x35fe,_0x3c06b1=_0xf4f750();while(!![]){try{const _0x35a95e=parseInt(_0x1bb408(0x11f))/0x1*(parseInt(_0x1bb408(0x11b))/0x2)+-parseInt(_0x1bb408(0x129))/0x3+parseInt(_0x1bb408(0x127))/0x4*(-parseInt(_0x1bb408(0x123))/0x5)+parseInt(_0x1bb408(0x122))/0x6*(-parseInt(_0x1bb408(0x137))/0x7)+parseInt(_0x1bb408(0x128))/0x8+-parseInt(_0x1bb408(0x12f))/0x9+parseInt(_0x1bb408(0x125))/0xa*(parseInt(_0x1bb408(0x12d))/0xb);if(_0x35a95e===_0xf9224e)break;else _0x3c06b1['push'](_0x3c06b1['shift']());}catch(_0x427b2b){_0x3c06b1['push'](_0x3c06b1['shift']());}}}(_0x51fb,0x2d488));import{Plugin as _0x591490}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x57b13d}from'./aiquickactionscommand.js';function _0x35fe(_0x387b61,_0x3bb958){const _0x51fb04=_0x51fb();return _0x35fe=function(_0x35fe98,_0x5d7a7e){_0x35fe98=_0x35fe98-0x11b;let _0x3cd8ef=_0x51fb04[_0x35fe98];return _0x3cd8ef;},_0x35fe(_0x387b61,_0x3bb958);}export class AIQuickActionsEditing extends _0x591490{static get[_0x2605ea(0x11d)](){const _0x4e5060=_0x2605ea;return _0x4e5060(0x12e);}static get[_0x2605ea(0x133)](){return!0x0;}static get[_0x2605ea(0x136)](){return!0x0;}[_0x2605ea(0x130)](){const _0x1830be=_0x2605ea,_0x458d41=this[_0x1830be(0x135)],_0x5c6bf8=new _0x57b13d(this[_0x1830be(0x135)]);if(_0x458d41[_0x1830be(0x11c)][_0x1830be(0x12a)](_0x1830be(0x121),_0x5c6bf8),_0x458d41[_0x1830be(0x138)][_0x1830be(0x134)](_0x1830be(0x131))){const _0x316997=this[_0x1830be(0x135)][_0x1830be(0x138)][_0x1830be(0x120)](_0x1830be(0x131));_0x458d41[_0x1830be(0x12c)][_0x1830be(0x12b)][_0x1830be(0x124)]['on'](_0x1830be(0x126),(_0x17b6cf,_0x5f221a)=>{const _0x50a93c=_0x1830be;_0x5f221a[_0x50a93c(0x132)]&&_0x316997[_0x50a93c(0x11e)]();});}}}
23
+ const _0x229d56=_0x382c;function _0x382c(_0x39dfab,_0x2bee4c){const _0x139d24=_0x139d();return _0x382c=function(_0x382cbf,_0x14e841){_0x382cbf=_0x382cbf-0xfa;let _0x52e97a=_0x139d24[_0x382cbf];return _0x52e97a;},_0x382c(_0x39dfab,_0x2bee4c);}(function(_0x395917,_0x2aa42f){const _0x14cc53=_0x382c,_0x632f42=_0x395917();while(!![]){try{const _0x2c1b6f=-parseInt(_0x14cc53(0x112))/0x1*(-parseInt(_0x14cc53(0xfe))/0x2)+parseInt(_0x14cc53(0x105))/0x3*(-parseInt(_0x14cc53(0x10e))/0x4)+parseInt(_0x14cc53(0x106))/0x5*(parseInt(_0x14cc53(0x10b))/0x6)+-parseInt(_0x14cc53(0xfc))/0x7+-parseInt(_0x14cc53(0x113))/0x8*(parseInt(_0x14cc53(0x111))/0x9)+parseInt(_0x14cc53(0xfd))/0xa+parseInt(_0x14cc53(0x108))/0xb;if(_0x2c1b6f===_0x2aa42f)break;else _0x632f42['push'](_0x632f42['shift']());}catch(_0xa8d7eb){_0x632f42['push'](_0x632f42['shift']());}}}(_0x139d,0x54aa5));import{Plugin as _0x21a104}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x55df31}from'./aiquickactionscommand.js';function _0x139d(){const _0x498438=['editor','isOfficialPlugin','removeSelectionFromChatContext','model','3141691YyjSxg','5661730YCWitn','316XyOAqE','change:range','get','has','plugins','selection','AIChat','141QeEddz','634285GwOJsT','AIQuickActionsEditing','1726461GuNSAY','add','document','18AJmpKz','directChange','aiQuickAction','23020rPKEXy','pluginName','isPremiumPlugin','2007UromzD','1673kEUHmu','10832IdubJT','init','commands'];_0x139d=function(){return _0x498438;};return _0x139d();}export class AIQuickActionsEditing extends _0x21a104{static get[_0x229d56(0x10f)](){const _0x28fec2=_0x229d56;return _0x28fec2(0x107);}static get[_0x229d56(0x117)](){return!0x0;}static get[_0x229d56(0x110)](){return!0x0;}[_0x229d56(0x114)](){const _0x3a6d43=_0x229d56,_0x27a637=this[_0x3a6d43(0x116)],_0x2fae77=new _0x55df31(this[_0x3a6d43(0x116)]);if(_0x27a637[_0x3a6d43(0x115)][_0x3a6d43(0x109)](_0x3a6d43(0x10d),_0x2fae77),_0x27a637[_0x3a6d43(0x102)][_0x3a6d43(0x101)](_0x3a6d43(0x104))){const _0x51c10d=this[_0x3a6d43(0x116)][_0x3a6d43(0x102)][_0x3a6d43(0x100)](_0x3a6d43(0x104));_0x27a637[_0x3a6d43(0xfb)][_0x3a6d43(0x10a)][_0x3a6d43(0x103)]['on'](_0x3a6d43(0xff),(_0x30faf2,_0x28bd3b)=>{const _0x1d770e=_0x3a6d43;_0x28bd3b[_0x1d770e(0x10c)]&&_0x51c10d[_0x1d770e(0xfa)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53b8b3=_0x5723;(function(_0x122424,_0x5e8483){const _0x31d96d=_0x5723,_0x22dc29=_0x122424();while(!![]){try{const _0x443023=parseInt(_0x31d96d(0x276))/0x1+parseInt(_0x31d96d(0x21e))/0x2*(-parseInt(_0x31d96d(0x224))/0x3)+-parseInt(_0x31d96d(0x21d))/0x4*(parseInt(_0x31d96d(0x23c))/0x5)+-parseInt(_0x31d96d(0x238))/0x6+-parseInt(_0x31d96d(0x241))/0x7*(parseInt(_0x31d96d(0x207))/0x8)+parseInt(_0x31d96d(0x284))/0x9*(-parseInt(_0x31d96d(0x208))/0xa)+parseInt(_0x31d96d(0x21a))/0xb;if(_0x443023===_0x5e8483)break;else _0x22dc29['push'](_0x22dc29['shift']());}catch(_0x2d181b){_0x22dc29['push'](_0x22dc29['shift']());}}}(_0x5093,0xaa4ea));import{IconAIAdjustLength as _0x5bc1c7,IconAIChangeTone as _0x55971d,IconAIChatCommands as _0x253ce4,IconAIContinueWriting as _0x1e814b,IconAIGrammarCheck as _0x45f864,IconAIImproveWriting as _0x4e8cf3,IconAIOther as _0x1cfce1,IconAIQuickActions as _0x432f42,IconAITranslate as _0x1536b0}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x42a862}from'ckeditor5/src/core.js';import{getTranslation as _0x494eae}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x2e5ab2}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x4476ef}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x401fb1,BalloonToolbar as _0x11f7cf,MenuBarMenuView as _0x2b2acc,MenuBarMenuListView as _0x4699be,MenuBarMenuListItemView as _0x283468,MenuBarMenuListItemButtonView as _0x2640d4}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Rt=_0x53b8b3(0x274),Mt=_0x53b8b3(0x23f),Lt=_0x53b8b3(0x244);export var AIQuickActionType;!function(_0x3c4153){const _0x2d377e=_0x53b8b3;_0x3c4153[_0x2d377e(0x228)]=_0x2d377e(0x228),_0x3c4153[_0x2d377e(0x23d)]=_0x2d377e(0x23d),_0x3c4153[_0x2d377e(0x213)]=_0x2d377e(0x213);}(AIQuickActionType||(AIQuickActionType={}));function _0x5093(){const _0x5b6b4d=['plugins','808884PITDZH','focus','length','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','explain','_initializeQuickActionsComponentsAndCommands','init','panelView','pluginName','has','push','values','chinese','fix-grammar','type','AI_QUICK_ACTIONS_TRANSLATE','getDefaultQuickActions','translate-to-english','requires','AI_QUICK_ACTIONS_SUMMARIZE','menuBarView','isOfficialPlugin','config','buttonView','make-tone-friendly','_quickActionsDefinition','translate-to-spanish','80VkMIYc','30UKzXvQ','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AIActions','AI_QUICK_ACTIONS_MAKE_LONGER','componentFactory','translate-to-french','add','make-longer','AI_QUICK_ACTIONS_CHAT_COMMANDS','summarize','REVIEW','translate-to-portuguese','get','_prepareQuickActionsDefinition','make-tone-confident','AI_QUICK_ACTIONS_MORE_CONFIDENT','filter','32521500yFNERs','adjust-length','translate-to-german','21604ZwfkWQ','109518JMqkVB','some','AI_QUICK_ACTIONS_MAKE_SHORTER','items','menuitem','AI_QUICK_ACTIONS_HEADING','45MywfCz','translate','highlight-key-points','editing','CHAT','german','translate-to-russian','commands','make-tone-direct','replace','AI_QUICK_ACTIONS_CHANGE_TONE','italian','find','aiQuickActions','AIQuickActionsUI','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','view','AI_QUICK_ACTIONS_IMPROVE_WRITING','chat-commands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','3747378fnHbBj','label','menu','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','70JIWMiS','ACTION','AI_QUICK_ACTIONS_MORE_CASUAL','<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>','spanish','601713wYkuHJ','other','execute','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-italian','AI_QUICK_ACTIONS_ADJUST_LENGTH','includes','english','displayedPrompt','french','change-tone','AI_QUICK_ACTIONS_MORE_FRIENDLY','aiQuickAction','attachToDom','AI_QUICK_ACTIONS_EXPLAIN','AIChat','_initializeQuickActionsDropdown','language','make-shorter','AI_QUICK_ACTIONS_ASK_AI','improve-writing','ai.quickActions.removeCommands','translate-to-chinese','_initializeQuickActionsComponents','delegate','AI_QUICK_ACTIONS_OTHER','locale','forEach','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-japanese','korean','ask-ai','ai.quickActions.extraCommands','isPremiumPlugin','set','japanese','editor','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AIReviewMode','_executeQuickAction','_getDefaultAndCustomActions','close','continue','English','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_shouldIncludeAction','portuguese','icon','actions','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','<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_TRANSLATE_CHINESE','391858kGjWYg','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_CONTINUE_WRITING','children','uiLanguage','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-korean','DisplayNames','map','russian','menuBar:aiQuickActions','make-tone-professional','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'];_0x5093=function(){return _0x5b6b4d;};return _0x5093();}function _0x5723(_0x1d404a,_0x3c5e06){const _0x5093e2=_0x5093();return _0x5723=function(_0x572385,_0x31e606){_0x572385=_0x572385-0x1f0;let _0x36face=_0x5093e2[_0x572385];return _0x36face;},_0x5723(_0x1d404a,_0x3c5e06);}export var AIQuickActionTypeToPluginName;!function(_0x478ef6){const _0x409d84=_0x53b8b3;_0x478ef6[_0x409d84(0x228)]=_0x409d84(0x250),_0x478ef6[_0x409d84(0x23d)]=_0x409d84(0x20b),_0x478ef6[_0x409d84(0x213)]=_0x409d84(0x267);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x42a862{static get[_0x53b8b3(0x1fe)](){return[_0x11f7cf];}static get[_0x53b8b3(0x1f4)](){const _0x251b68=_0x53b8b3;return _0x251b68(0x232);}static get[_0x53b8b3(0x201)](){return!0x0;}static get[_0x53b8b3(0x262)](){return!0x0;}[_0x53b8b3(0x1f2)](){const _0x5acd47=_0x53b8b3;this[_0x5acd47(0x216)](this[_0x5acd47(0x269)]()),this[_0x5acd47(0x1f1)]();}static[_0x53b8b3(0x1fc)](_0x5cd091){return function(_0x375085){const _0x20e081=_0x5723,_0x3f65c5=new Intl[(_0x20e081(0x27d))](['en'],{'type':_0x20e081(0x252)})['of'](_0x375085[_0x20e081(0x27a)]),_0x2a2a92=_0x3f65c5||_0x20e081(0x26c),_0x1b5891=[{'id':_0x20e081(0x260),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x254)),'type':AIQuickActionType[_0x20e081(0x228)],'icon':_0x253ce4},{'id':_0x20e081(0x236),'label':_0x494eae(_0x375085,_0x20e081(0x211)),'icon':_0x253ce4,'actions':[{'id':_0x20e081(0x1f0),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x24f)),'prompt':Rt[_0x20e081(0x22d)]('%0',_0x2a2a92),'type':AIQuickActionType[_0x20e081(0x228)]},{'id':_0x20e081(0x212),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x1ff)),'prompt':Mt[_0x20e081(0x22d)]('%0',_0x2a2a92),'type':AIQuickActionType[_0x20e081(0x228)]},{'id':_0x20e081(0x226),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x273)),'prompt':Lt[_0x20e081(0x22d)]('%0',_0x2a2a92),'type':AIQuickActionType[_0x20e081(0x228)]}]},{'id':_0x20e081(0x255),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x235)),'type':AIQuickActionType[_0x20e081(0x23d)],'icon':_0x4e8cf3},{'id':_0x20e081(0x26b),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x278)),'type':AIQuickActionType[_0x20e081(0x23d)],'icon':_0x1e814b},{'id':_0x20e081(0x1f9),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x282)),'type':AIQuickActionType[_0x20e081(0x23d)],'icon':_0x45f864},{'id':_0x20e081(0x21b),'label':_0x494eae(_0x375085,_0x20e081(0x246)),'icon':_0x5bc1c7,'actions':[{'id':_0x20e081(0x253),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x220)),'type':AIQuickActionType[_0x20e081(0x23d)]},{'id':_0x20e081(0x210),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x20c)),'type':AIQuickActionType[_0x20e081(0x23d)]}]},{'id':_0x20e081(0x24b),'label':_0x494eae(_0x375085,_0x20e081(0x22e)),'icon':_0x55971d,'actions':[{'id':_0x20e081(0x209),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x23e)),'type':AIQuickActionType[_0x20e081(0x23d)]},{'id':_0x20e081(0x22c),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x27b)),'type':AIQuickActionType[_0x20e081(0x23d)]},{'id':_0x20e081(0x204),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x24c)),'type':AIQuickActionType[_0x20e081(0x23d)]},{'id':_0x20e081(0x217),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x218)),'type':AIQuickActionType[_0x20e081(0x23d)]},{'id':_0x20e081(0x281),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x272)),'type':AIQuickActionType[_0x20e081(0x23d)]}]},{'id':_0x20e081(0x225),'label':_0x494eae(_0x375085,_0x20e081(0x1fb)),'icon':_0x1536b0,'actions':[{'id':_0x20e081(0x1fd),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x23b)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x248)}},{'id':_0x20e081(0x257),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x275)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x1f8)}},{'id':_0x20e081(0x206),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x237)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x240)}},{'id':_0x20e081(0x21c),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x233)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x229)}},{'id':_0x20e081(0x20e),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x288)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x24a)}},{'id':_0x20e081(0x25e),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x25d)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x264)}},{'id':_0x20e081(0x214),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x266)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x26f)}},{'id':_0x20e081(0x27c),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x26d)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x25f)}},{'id':_0x20e081(0x245),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x20a)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x22f)}},{'id':_0x20e081(0x22a),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x287)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x27f)}}]},{'id':_0x20e081(0x242),'label':_0x494eae(_0x375085,_0x20e081(0x25a)),'icon':_0x1cfce1,'actions':[]}];return _0x1b5891;}(_0x5cd091);}[_0x53b8b3(0x269)](){const _0x232a4d=_0x53b8b3,_0x506999=AIQuickActionsUI[_0x232a4d(0x1fc)](this[_0x232a4d(0x265)][_0x232a4d(0x25b)]),_0x2a467f=(this[_0x232a4d(0x265)][_0x232a4d(0x202)][_0x232a4d(0x215)](_0x232a4d(0x261))||[])[_0x232a4d(0x27e)](_0x4fff3c=>({..._0x4fff3c,'icon':void 0x0}));return _0x506999[_0x232a4d(0x230)](_0x548915=>_0x232a4d(0x242)===_0x548915['id'])[_0x232a4d(0x271)][_0x232a4d(0x1f6)](..._0x2a467f),_0x506999;}[_0x53b8b3(0x1f1)](){const _0x1867cc=_0x53b8b3,_0x3af21d=new _0x401fb1(this[_0x1867cc(0x265)][_0x1867cc(0x25b)]);_0x3af21d[_0x1867cc(0x24e)](),this[_0x1867cc(0x251)](_0x3af21d),this[_0x1867cc(0x277)](),this[_0x1867cc(0x258)](_0x3af21d);}[_0x53b8b3(0x251)](_0x13d514){const _0x4ed465=_0x53b8b3;this[_0x4ed465(0x265)]['ui'][_0x4ed465(0x20d)][_0x4ed465(0x20f)](_0x4ed465(0x231),_0x2e5ab2(this[_0x4ed465(0x265)],this[_0x4ed465(0x205)],{'icon':_0x432f42,'label':_0x494eae(this[_0x4ed465(0x265)][_0x4ed465(0x25b)],_0x4ed465(0x223))},_0x13d514));}[_0x53b8b3(0x216)](_0x3ef8ba){const _0x234642=_0x53b8b3;this[_0x234642(0x205)]=_0x3ef8ba[_0x234642(0x27e)](_0x30f934=>{const _0x47732c=_0x234642;if(_0x47732c(0x271)in _0x30f934){const _0x50dde2=_0x30f934;return{..._0x50dde2,'actions':_0x50dde2[_0x47732c(0x271)][_0x47732c(0x27e)](_0x415686=>{const {actions:_0xff64ae,..._0x2ee7df}=_0x50dde2;return{..._0x415686,'parent':_0x2ee7df};})[_0x47732c(0x219)](_0x33c5a6=>this[_0x47732c(0x26e)](_0x33c5a6))};}return _0x30f934;})[_0x234642(0x219)](_0x182e78=>_0x234642(0x271)in _0x182e78?_0x182e78[_0x234642(0x271)][_0x234642(0x286)]>0x0:this[_0x234642(0x26e)](_0x182e78));}[_0x53b8b3(0x26e)](_0x2df91b){const _0x1f304c=_0x53b8b3,_0x300fc2=this[_0x1f304c(0x265)][_0x1f304c(0x202)][_0x1f304c(0x215)](_0x1f304c(0x256))||[];return this[_0x1f304c(0x265)][_0x1f304c(0x283)][_0x1f304c(0x1f5)](AIQuickActionTypeToPluginName[_0x2df91b[_0x1f304c(0x1fa)]])&&!_0x300fc2[_0x1f304c(0x247)](_0x2df91b['id']);}[_0x53b8b3(0x258)](_0x5976f6){const _0x198bb1=_0x53b8b3;this[_0x198bb1(0x205)][_0x198bb1(0x25c)](_0x441717=>{const _0x3e8b51=_0x198bb1;if(_0x3e8b51(0x271)in _0x441717){const _0x4735af=_0x2e5ab2(this[_0x3e8b51(0x265)],_0x441717[_0x3e8b51(0x271)],_0x441717,_0x5976f6);this[_0x3e8b51(0x265)]['ui'][_0x3e8b51(0x20d)][_0x3e8b51(0x20f)](_0x441717['id'],_0x4735af),_0x441717[_0x3e8b51(0x271)][_0x3e8b51(0x25c)](_0x4ba99c=>{const _0x4b4a2e=_0x3e8b51,_0x2ba658=_0x4476ef(this[_0x4b4a2e(0x265)],_0x4ba99c);this[_0x4b4a2e(0x265)]['ui'][_0x4b4a2e(0x20d)][_0x4b4a2e(0x20f)](_0x4ba99c['id'],_0x2ba658);});}else{const _0x33eb20=_0x4476ef(this[_0x3e8b51(0x265)],_0x441717,!0x1,!0x0,!0x1);this[_0x3e8b51(0x265)]['ui'][_0x3e8b51(0x20d)][_0x3e8b51(0x20f)](_0x441717['id'],_0x33eb20);}});}[_0x53b8b3(0x277)](){const _0x8f6c74=_0x53b8b3;this[_0x8f6c74(0x265)]['ui'][_0x8f6c74(0x20d)][_0x8f6c74(0x20f)](_0x8f6c74(0x280),_0x697d73=>{const _0x3cccc2=_0x8f6c74,_0x34cbf7=new _0x2b2acc(_0x697d73),_0x1b8b25=_0x494eae(_0x697d73,_0x3cccc2(0x223));_0x34cbf7[_0x3cccc2(0x203)][_0x3cccc2(0x263)]({'label':_0x1b8b25,'icon':_0x432f42});const _0x427c71=new _0x4699be(_0x697d73);_0x427c71[_0x3cccc2(0x263)]({'ariaLabel':_0x1b8b25,'role':_0x3cccc2(0x23a)}),this[_0x3cccc2(0x205)][_0x3cccc2(0x25c)](_0x308acd=>{const _0x5d8450=_0x3cccc2;if(_0x5d8450(0x271)in _0x308acd){const _0x4415b4=_0x308acd,_0x204476=new _0x283468(_0x697d73,_0x34cbf7),_0x519191=new _0x2b2acc(_0x697d73),_0x2a6e67=new _0x4699be(_0x697d73);_0x519191[_0x5d8450(0x203)][_0x5d8450(0x263)]({'label':_0x4415b4[_0x5d8450(0x239)],'icon':_0x4415b4[_0x5d8450(0x270)]}),_0x4415b4[_0x5d8450(0x271)][_0x5d8450(0x25c)](_0x4f5139=>{const _0x433708=_0x5d8450,_0x1f7971=new _0x283468(_0x697d73,_0x519191),_0x5e33aa=new _0x2640d4(_0x697d73);_0x5e33aa[_0x433708(0x263)]({'label':_0x4f5139[_0x433708(0x249)],'icon':_0x4f5139[_0x433708(0x270)],'role':_0x433708(0x222)}),_0x5e33aa['on'](_0x433708(0x243),()=>{const _0x25b395=_0x433708;this[_0x25b395(0x268)](_0x4f5139);}),_0x5e33aa[_0x433708(0x259)](_0x433708(0x243))['to'](_0x519191),_0x1f7971[_0x433708(0x279)][_0x433708(0x20f)](_0x5e33aa),_0x2a6e67[_0x433708(0x221)][_0x433708(0x20f)](_0x1f7971);}),_0x519191[_0x5d8450(0x1f3)][_0x5d8450(0x279)][_0x5d8450(0x20f)](_0x2a6e67),_0x204476[_0x5d8450(0x279)][_0x5d8450(0x20f)](_0x519191),_0x427c71[_0x5d8450(0x221)][_0x5d8450(0x20f)](_0x204476);}else{const _0x234f63=_0x308acd,_0x17f450=new _0x283468(_0x697d73,_0x34cbf7),_0x56db7a=new _0x2640d4(_0x697d73);_0x56db7a[_0x5d8450(0x263)]({'label':_0x234f63[_0x5d8450(0x249)],'icon':_0x234f63[_0x5d8450(0x270)],'role':_0x5d8450(0x222)}),_0x56db7a['on'](_0x5d8450(0x243),()=>{const _0x536c96=_0x5d8450;this[_0x536c96(0x268)](_0x234f63);}),_0x56db7a[_0x5d8450(0x259)](_0x5d8450(0x243))['to'](_0x34cbf7),_0x17f450[_0x5d8450(0x279)][_0x5d8450(0x20f)](_0x56db7a),_0x427c71[_0x5d8450(0x221)][_0x5d8450(0x20f)](_0x17f450);}});const _0x1e4362=Object[_0x3cccc2(0x1f7)](AIQuickActionTypeToPluginName)[_0x3cccc2(0x21f)](_0x538f90=>this[_0x3cccc2(0x265)][_0x3cccc2(0x283)][_0x3cccc2(0x1f5)](_0x538f90));return _0x34cbf7[_0x3cccc2(0x263)]({'isEnabled':_0x1e4362}),_0x34cbf7[_0x3cccc2(0x1f3)][_0x3cccc2(0x279)][_0x3cccc2(0x20f)](_0x427c71),_0x34cbf7;});}[_0x53b8b3(0x268)](_0x2b9d06){const _0x5722a3=_0x53b8b3,_0x2d77fc=this[_0x5722a3(0x265)];_0x2d77fc[_0x5722a3(0x227)][_0x5722a3(0x234)][_0x5722a3(0x285)](),_0x2d77fc[_0x5722a3(0x22b)][_0x5722a3(0x243)](_0x5722a3(0x24d),_0x2b9d06);const _0x52450c=_0x2d77fc['ui'][_0x5722a3(0x234)][_0x5722a3(0x200)];_0x52450c&&_0x52450c[_0x5722a3(0x26a)]&&_0x52450c[_0x5722a3(0x26a)]();}}
23
+ const _0x2e4b66=_0x20c7;(function(_0xc15f10,_0x5c17aa){const _0xa8bd1a=_0x20c7,_0x23600b=_0xc15f10();while(!![]){try{const _0xc9f0fa=parseInt(_0xa8bd1a(0x1a0))/0x1+-parseInt(_0xa8bd1a(0x1df))/0x2+-parseInt(_0xa8bd1a(0x1bf))/0x3+-parseInt(_0xa8bd1a(0x19e))/0x4*(parseInt(_0xa8bd1a(0x17c))/0x5)+parseInt(_0xa8bd1a(0x196))/0x6+parseInt(_0xa8bd1a(0x1b7))/0x7*(-parseInt(_0xa8bd1a(0x1d5))/0x8)+-parseInt(_0xa8bd1a(0x1fd))/0x9*(-parseInt(_0xa8bd1a(0x211))/0xa);if(_0xc9f0fa===_0x5c17aa)break;else _0x23600b['push'](_0x23600b['shift']());}catch(_0x12d4b5){_0x23600b['push'](_0x23600b['shift']());}}}(_0x1876,0xa30fe));import{IconAIAdjustLength as _0x56f929,IconAIChangeTone as _0x410ce2,IconAIChatCommands as _0x22af37,IconAIContinueWriting as _0x37bd11,IconAIGrammarCheck as _0x4eda30,IconAIImproveWriting as _0x3f1473,IconAIOther as _0x3cf1fb,IconAIQuickActions as _0x3ca263,IconAITranslate as _0x2f9e7e}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x519353}from'ckeditor5/src/core.js';import{getTranslation as _0x5861f}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x32ab89}from'./ui/aiquickactionsdropdowncreator.js';function _0x1876(){const _0x31e17b=['AIReviewMode','delegate','panelView','requires','russian','<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>','spanish','_prepareQuickActionsDefinition','make-shorter','_shouldIncludeAction','commands','italian','AI_QUICK_ACTIONS_TRANSLATE','make-longer','make-tone-confident','values','french','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','1310274qiZLFo','japanese','make-tone-friendly','AI_QUICK_ACTIONS_MORE_CONFIDENT','init','aiQuickActions','translate-to-italian','plugins','1203492agKdpt','type','CHAT','forEach','_quickActionsDefinition','translate-to-portuguese','make-tone-direct','label','DisplayNames','translate-to-spanish','editing','change-tone','menuitem','length','translate-to-chinese','translate-to-korean','language','componentFactory','AI_QUICK_ACTIONS_EXPLAIN','menuBar:aiQuickActions','ai.quickActions.removeCommands','improve-writing','8XaditT','menu','pluginName','AIQuickActionsUI','translate-to-english','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','_executeQuickAction','isPremiumPlugin','menuBarView','_initializeQuickActionsMenuBar','1219718MAUIYI','aiQuickAction','make-tone-professional','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','ai.quickActions.extraCommands','add','some','config','replace','chinese','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','filter','execute','translate','AI_QUICK_ACTIONS_CHANGE_TONE','adjust-length','has','AI_QUICK_ACTIONS_OTHER','REVIEW','AI_QUICK_ACTIONS_CONTINUE_WRITING','AIChat','fix-grammar','items','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','isOfficialPlugin','german','korean','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','find','9vWXKaf','English','_initializeQuickActionsComponentsAndCommands','chat-commands','actions','view','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','children','AI_QUICK_ACTIONS_CHAT_COMMANDS','displayedPrompt','AI_QUICK_ACTIONS_ADJUST_LENGTH','<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>','map','locale','icon','_initializeQuickActionsDropdown','focus','portuguese','21319580bqBLEj','buttonView','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','35aBQUgH','english','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate-to-german','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-russian','summarize','AIActions','push','other','includes','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-japanese','set','ask-ai','_getDefaultAndCustomActions','getDefaultQuickActions','AI_QUICK_ACTIONS_ASK_AI','make-tone-casual','editor','explain','continue','close','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','3656808OltAGG','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','get','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_MORE_DIRECT','<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_SUMMARIZE','uiLanguage','517672IlmozC','attachToDom','30607aoyjqE','AI_QUICK_ACTIONS_MAKE_SHORTER','ACTION','translate-to-french','highlight-key-points'];_0x1876=function(){return _0x31e17b;};return _0x1876();}import{aiQuickActionsButtonCreator as _0x47a01c}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x53682e,BalloonToolbar as _0x5cc0dc,MenuBarMenuView as _0x2d4ab2,MenuBarMenuListView as _0x3d6a1b,MenuBarMenuListItemView as _0x23f6aa,MenuBarMenuListItemButtonView as _0x22f7a0}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Ft=_0x2e4b66(0x19b),Wt=_0x2e4b66(0x1aa),Bt=_0x2e4b66(0x20a);export var AIQuickActionType;function _0x20c7(_0x404885,_0x13017b){const _0x18762f=_0x1876();return _0x20c7=function(_0x20c76a,_0x2d753a){_0x20c76a=_0x20c76a-0x17c;let _0xe4eabc=_0x18762f[_0x20c76a];return _0xe4eabc;},_0x20c7(_0x404885,_0x13017b);}!function(_0xfdaaca){const _0xca27aa=_0x2e4b66;_0xfdaaca[_0xca27aa(0x1c1)]=_0xca27aa(0x1c1),_0xfdaaca[_0xca27aa(0x1a2)]=_0xca27aa(0x1a2),_0xfdaaca[_0xca27aa(0x1f1)]=_0xca27aa(0x1f1);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x56633c){const _0x194bba=_0x2e4b66;_0x56633c[_0x194bba(0x1c1)]=_0x194bba(0x1f3),_0x56633c[_0x194bba(0x1a2)]=_0x194bba(0x183),_0x56633c[_0x194bba(0x1f1)]=_0x194bba(0x1a5);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x519353{static get[_0x2e4b66(0x1a8)](){return[_0x5cc0dc];}static get[_0x2e4b66(0x1d7)](){const _0x1f1add=_0x2e4b66;return _0x1f1add(0x1d8);}static get[_0x2e4b66(0x1f8)](){return!0x0;}static get[_0x2e4b66(0x1dc)](){return!0x0;}[_0x2e4b66(0x1bb)](){const _0x5f2b31=_0x2e4b66;this[_0x5f2b31(0x1ac)](this[_0x5f2b31(0x18b)]()),this[_0x5f2b31(0x1ff)]();}static[_0x2e4b66(0x18c)](_0x252dfd){return function(_0x5396b2){const _0x2ef576=_0x20c7,_0x554069=new Intl[(_0x2ef576(0x1c7))](['en'],{'type':_0x2ef576(0x1cf)})['of'](_0x5396b2[_0x2ef576(0x19d)]),_0x5d5c4b=_0x554069||_0x2ef576(0x1fe),_0x2e3cdf=[{'id':_0x2ef576(0x18a),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x18d)),'type':AIQuickActionType[_0x2ef576(0x1c1)],'icon':_0x22af37},{'id':_0x2ef576(0x200),'label':_0x5861f(_0x5396b2,_0x2ef576(0x207)),'icon':_0x22af37,'actions':[{'id':_0x2ef576(0x190),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1d1)),'prompt':Ft[_0x2ef576(0x1e7)]('%0',_0x5d5c4b),'type':AIQuickActionType[_0x2ef576(0x1c1)]},{'id':_0x2ef576(0x182),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x19c)),'prompt':Wt[_0x2ef576(0x1e7)]('%0',_0x5d5c4b),'type':AIQuickActionType[_0x2ef576(0x1c1)]},{'id':_0x2ef576(0x1a4),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x17e)),'prompt':Bt[_0x2ef576(0x1e7)]('%0',_0x5d5c4b),'type':AIQuickActionType[_0x2ef576(0x1c1)]}]},{'id':_0x2ef576(0x1d4),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x199)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'icon':_0x3f1473},{'id':_0x2ef576(0x191),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1f2)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'icon':_0x37bd11},{'id':_0x2ef576(0x1f4),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1fb)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'icon':_0x4eda30},{'id':_0x2ef576(0x1ee),'label':_0x5861f(_0x5396b2,_0x2ef576(0x209)),'icon':_0x56f929,'actions':[{'id':_0x2ef576(0x1ad),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1a1)),'type':AIQuickActionType[_0x2ef576(0x1a2)]},{'id':_0x2ef576(0x1b2),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x187)),'type':AIQuickActionType[_0x2ef576(0x1a2)]}]},{'id':_0x2ef576(0x1ca),'label':_0x5861f(_0x5396b2,_0x2ef576(0x1ed)),'icon':_0x410ce2,'actions':[{'id':_0x2ef576(0x18e),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x180)),'type':AIQuickActionType[_0x2ef576(0x1a2)]},{'id':_0x2ef576(0x1c5),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x19a)),'type':AIQuickActionType[_0x2ef576(0x1a2)]},{'id':_0x2ef576(0x1b9),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x194)),'type':AIQuickActionType[_0x2ef576(0x1a2)]},{'id':_0x2ef576(0x1b3),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1ba)),'type':AIQuickActionType[_0x2ef576(0x1a2)]},{'id':_0x2ef576(0x1e1),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1e2)),'type':AIQuickActionType[_0x2ef576(0x1a2)]}]},{'id':_0x2ef576(0x1ec),'label':_0x5861f(_0x5396b2,_0x2ef576(0x1b1)),'icon':_0x2f9e7e,'actions':[{'id':_0x2ef576(0x1d9),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x197)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x17d)}},{'id':_0x2ef576(0x1cd),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x195)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1e8)}},{'id':_0x2ef576(0x1c8),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1b6)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1ab)}},{'id':_0x2ef576(0x17f),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x205)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1f9)}},{'id':_0x2ef576(0x1a3),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1da)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1b5)}},{'id':_0x2ef576(0x188),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x213)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1b8)}},{'id':_0x2ef576(0x1c4),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x193)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x210)}},{'id':_0x2ef576(0x1ce),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1f7)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1fa)}},{'id':_0x2ef576(0x1bd),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x203)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1b0)}},{'id':_0x2ef576(0x181),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1e9)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1a9)}}]},{'id':_0x2ef576(0x185),'label':_0x5861f(_0x5396b2,_0x2ef576(0x1f0)),'icon':_0x3cf1fb,'actions':[]}];return _0x2e3cdf;}(_0x252dfd);}[_0x2e4b66(0x18b)](){const _0x823dc5=_0x2e4b66,_0xcf9bd5=AIQuickActionsUI[_0x823dc5(0x18c)](this[_0x823dc5(0x18f)][_0x823dc5(0x20c)]),_0x22a71d=(this[_0x823dc5(0x18f)][_0x823dc5(0x1e6)][_0x823dc5(0x198)](_0x823dc5(0x1e3))||[])[_0x823dc5(0x20b)](_0x3baaf9=>({..._0x3baaf9,'icon':void 0x0}));return _0xcf9bd5[_0x823dc5(0x1fc)](_0x586e97=>_0x823dc5(0x185)===_0x586e97['id'])[_0x823dc5(0x201)][_0x823dc5(0x184)](..._0x22a71d),_0xcf9bd5;}[_0x2e4b66(0x1ff)](){const _0x160c11=_0x2e4b66,_0x2306a1=new _0x53682e(this[_0x160c11(0x18f)][_0x160c11(0x20c)]);_0x2306a1[_0x160c11(0x19f)](),this[_0x160c11(0x20e)](_0x2306a1),this[_0x160c11(0x1de)](),this[_0x160c11(0x1f6)](_0x2306a1);}[_0x2e4b66(0x20e)](_0x28ab3b){const _0xef3870=_0x2e4b66;this[_0xef3870(0x18f)]['ui'][_0xef3870(0x1d0)][_0xef3870(0x1e4)](_0xef3870(0x1bc),_0x32ab89(this[_0xef3870(0x18f)],this[_0xef3870(0x1c3)],{'icon':_0x3ca263,'label':_0x5861f(this[_0xef3870(0x18f)][_0xef3870(0x20c)],_0xef3870(0x204))},_0x28ab3b));}[_0x2e4b66(0x1ac)](_0x8b1a09){const _0x39747e=_0x2e4b66;this[_0x39747e(0x1c3)]=_0x8b1a09[_0x39747e(0x20b)](_0x3d1890=>{const _0xed6b4b=_0x39747e;if(_0xed6b4b(0x201)in _0x3d1890){const _0xdbc4f8=_0x3d1890;return{..._0xdbc4f8,'actions':_0xdbc4f8[_0xed6b4b(0x201)][_0xed6b4b(0x20b)](_0x14f5d9=>{const {actions:_0x235bec,..._0x15a6b1}=_0xdbc4f8;return{..._0x14f5d9,'parent':_0x15a6b1};})[_0xed6b4b(0x1ea)](_0x5b63ec=>this[_0xed6b4b(0x1ae)](_0x5b63ec))};}return _0x3d1890;})[_0x39747e(0x1ea)](_0x1e7061=>_0x39747e(0x201)in _0x1e7061?_0x1e7061[_0x39747e(0x201)][_0x39747e(0x1cc)]>0x0:this[_0x39747e(0x1ae)](_0x1e7061));}[_0x2e4b66(0x1ae)](_0x577975){const _0x37d2b5=_0x2e4b66,_0x445251=this[_0x37d2b5(0x18f)][_0x37d2b5(0x1e6)][_0x37d2b5(0x198)](_0x37d2b5(0x1d3))||[];return this[_0x37d2b5(0x18f)][_0x37d2b5(0x1be)][_0x37d2b5(0x1ef)](AIQuickActionTypeToPluginName[_0x577975[_0x37d2b5(0x1c0)]])&&!_0x445251[_0x37d2b5(0x186)](_0x577975['id']);}[_0x2e4b66(0x1f6)](_0x2ff3ad){const _0x34ecf3=_0x2e4b66;this[_0x34ecf3(0x1c3)][_0x34ecf3(0x1c2)](_0x2403fb=>{const _0x41e2c4=_0x34ecf3;if(_0x41e2c4(0x201)in _0x2403fb){const _0x21fb04=_0x32ab89(this[_0x41e2c4(0x18f)],_0x2403fb[_0x41e2c4(0x201)],_0x2403fb,_0x2ff3ad);this[_0x41e2c4(0x18f)]['ui'][_0x41e2c4(0x1d0)][_0x41e2c4(0x1e4)](_0x2403fb['id'],_0x21fb04),_0x2403fb[_0x41e2c4(0x201)][_0x41e2c4(0x1c2)](_0x17835b=>{const _0xd0a8eb=_0x41e2c4,_0x29595f=_0x47a01c(this[_0xd0a8eb(0x18f)],_0x17835b);this[_0xd0a8eb(0x18f)]['ui'][_0xd0a8eb(0x1d0)][_0xd0a8eb(0x1e4)](_0x17835b['id'],_0x29595f);});}else{const _0x3280f8=_0x47a01c(this[_0x41e2c4(0x18f)],_0x2403fb,!0x1,!0x0,!0x1);this[_0x41e2c4(0x18f)]['ui'][_0x41e2c4(0x1d0)][_0x41e2c4(0x1e4)](_0x2403fb['id'],_0x3280f8);}});}[_0x2e4b66(0x1de)](){const _0xc2aa68=_0x2e4b66;this[_0xc2aa68(0x18f)]['ui'][_0xc2aa68(0x1d0)][_0xc2aa68(0x1e4)](_0xc2aa68(0x1d2),_0x579449=>{const _0x32a105=_0xc2aa68,_0x500b1b=new _0x2d4ab2(_0x579449),_0x3bde1c=_0x5861f(_0x579449,_0x32a105(0x204));_0x500b1b[_0x32a105(0x212)][_0x32a105(0x189)]({'label':_0x3bde1c,'icon':_0x3ca263});const _0x34a0b5=new _0x3d6a1b(_0x579449);_0x34a0b5[_0x32a105(0x189)]({'ariaLabel':_0x3bde1c,'role':_0x32a105(0x1d6)}),this[_0x32a105(0x1c3)][_0x32a105(0x1c2)](_0x196065=>{const _0x1b982b=_0x32a105;if(_0x1b982b(0x201)in _0x196065){const _0x2bac64=_0x196065,_0x1c1131=new _0x23f6aa(_0x579449,_0x500b1b),_0x11d5d3=new _0x2d4ab2(_0x579449),_0x22f386=new _0x3d6a1b(_0x579449);_0x11d5d3[_0x1b982b(0x212)][_0x1b982b(0x189)]({'label':_0x2bac64[_0x1b982b(0x1c6)],'icon':_0x2bac64[_0x1b982b(0x20d)]}),_0x2bac64[_0x1b982b(0x201)][_0x1b982b(0x1c2)](_0x446892=>{const _0x2671cb=_0x1b982b,_0x45adc1=new _0x23f6aa(_0x579449,_0x11d5d3),_0x47517a=new _0x22f7a0(_0x579449);_0x47517a[_0x2671cb(0x189)]({'label':_0x446892[_0x2671cb(0x208)],'icon':_0x446892[_0x2671cb(0x20d)],'role':_0x2671cb(0x1cb)}),_0x47517a['on'](_0x2671cb(0x1eb),()=>{const _0x3429cd=_0x2671cb;this[_0x3429cd(0x1db)](_0x446892);}),_0x47517a[_0x2671cb(0x1a6)](_0x2671cb(0x1eb))['to'](_0x11d5d3),_0x45adc1[_0x2671cb(0x206)][_0x2671cb(0x1e4)](_0x47517a),_0x22f386[_0x2671cb(0x1f5)][_0x2671cb(0x1e4)](_0x45adc1);}),_0x11d5d3[_0x1b982b(0x1a7)][_0x1b982b(0x206)][_0x1b982b(0x1e4)](_0x22f386),_0x1c1131[_0x1b982b(0x206)][_0x1b982b(0x1e4)](_0x11d5d3),_0x34a0b5[_0x1b982b(0x1f5)][_0x1b982b(0x1e4)](_0x1c1131);}else{const _0x4bbee5=_0x196065,_0x592d3e=new _0x23f6aa(_0x579449,_0x500b1b),_0x49e59a=new _0x22f7a0(_0x579449);_0x49e59a[_0x1b982b(0x189)]({'label':_0x4bbee5[_0x1b982b(0x208)],'icon':_0x4bbee5[_0x1b982b(0x20d)],'role':_0x1b982b(0x1cb)}),_0x49e59a['on'](_0x1b982b(0x1eb),()=>{const _0x2a6ce5=_0x1b982b;this[_0x2a6ce5(0x1db)](_0x4bbee5);}),_0x49e59a[_0x1b982b(0x1a6)](_0x1b982b(0x1eb))['to'](_0x500b1b),_0x592d3e[_0x1b982b(0x206)][_0x1b982b(0x1e4)](_0x49e59a),_0x34a0b5[_0x1b982b(0x1f5)][_0x1b982b(0x1e4)](_0x592d3e);}});const _0x2aa5ec=Object[_0x32a105(0x1b4)](AIQuickActionTypeToPluginName)[_0x32a105(0x1e5)](_0x4cd53f=>this[_0x32a105(0x18f)][_0x32a105(0x1be)][_0x32a105(0x1ef)](_0x4cd53f));return _0x500b1b[_0x32a105(0x189)]({'isEnabled':_0x2aa5ec}),_0x500b1b[_0x32a105(0x1a7)][_0x32a105(0x206)][_0x32a105(0x1e4)](_0x34a0b5),_0x500b1b;});}[_0x2e4b66(0x1db)](_0x2ae319){const _0x485ab6=_0x2e4b66,_0x29ab50=this[_0x485ab6(0x18f)];_0x29ab50[_0x485ab6(0x1c9)][_0x485ab6(0x202)][_0x485ab6(0x20f)](),_0x29ab50[_0x485ab6(0x1af)][_0x485ab6(0x1eb)](_0x485ab6(0x1e0),_0x2ae319);const _0x25b58e=_0x29ab50['ui'][_0x485ab6(0x202)][_0x485ab6(0x1dd)];_0x25b58e&&_0x25b58e[_0x485ab6(0x192)]&&_0x25b58e[_0x485ab6(0x192)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1762(){const _0x8f66d=['bindTemplate','6840282VOjASQ','execute','2847956NydhEH','3978171czaGLD','12fASokL','focus','view','981167KafBKA','editing','5294709DPpsNV','menuitem','displayedPrompt','locale','extendTemplate','commands','2208455QNErhV','33547032WCbhxc','ck-ai-quick-actions-button','aiQuickAction','parent','set','icon'];_0x1762=function(){return _0x8f66d;};return _0x1762();}(function(_0x1d12f3,_0x299ab0){const _0x3c110a=_0x23d7,_0x34f57f=_0x1d12f3();while(!![]){try{const _0x427b78=parseInt(_0x3c110a(0x177))/0x1+-parseInt(_0x3c110a(0x172))/0x2+-parseInt(_0x3c110a(0x173))/0x3+parseInt(_0x3c110a(0x174))/0x4*(-parseInt(_0x3c110a(0x168))/0x5)+-parseInt(_0x3c110a(0x170))/0x6+parseInt(_0x3c110a(0x162))/0x7+parseInt(_0x3c110a(0x169))/0x8;if(_0x427b78===_0x299ab0)break;else _0x34f57f['push'](_0x34f57f['shift']());}catch(_0x57b822){_0x34f57f['push'](_0x34f57f['shift']());}}}(_0x1762,0xaec02));import{ButtonView as _0x1c5ac9}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x541453}from'@ckeditor/ckeditor5-icons';function _0x23d7(_0x2f1e4a,_0x20d521){const _0x1762dc=_0x1762();return _0x23d7=function(_0x23d768,_0x1cb96d){_0x23d768=_0x23d768-0x161;let _0x52c124=_0x1762dc[_0x23d768];return _0x52c124;},_0x23d7(_0x2f1e4a,_0x20d521);}export function aiQuickActionsButtonCreator(_0x41c992,_0x2a705e,_0x3b8347=!0x1,_0x57eb27=!0x0,_0x81711b=!0x0){return()=>{const _0x35b916=_0x23d7,_0x25081c=_0x41c992[_0x35b916(0x165)],_0x477afc=new _0x1c5ac9(_0x25081c),_0x37ae86=_0x477afc[_0x35b916(0x16f)];_0x81711b&&_0x477afc[_0x35b916(0x166)]({'on':{'mouseenter':_0x37ae86['to'](()=>{const _0x2df03a=_0x35b916;_0x477afc[_0x2df03a(0x175)]();})}});const _0x250c31=_0x2a705e[_0x35b916(0x16e)]??_0x2a705e[_0x35b916(0x16c)]?.[_0x35b916(0x16e)];return _0x477afc[_0x35b916(0x16d)]({'label':_0x2a705e[_0x35b916(0x164)],'withText':_0x3b8347,'role':_0x35b916(0x163),'icon':_0x57eb27?_0x250c31??_0x541453:void 0x0,'tooltip':!_0x3b8347,'class':_0x35b916(0x16a)}),_0x477afc['on'](_0x35b916(0x171),()=>{const _0x4c6cfa=_0x35b916;_0x41c992[_0x4c6cfa(0x161)][_0x4c6cfa(0x176)][_0x4c6cfa(0x175)](),_0x41c992[_0x4c6cfa(0x167)][_0x4c6cfa(0x171)](_0x4c6cfa(0x16b),_0x2a705e);}),_0x477afc;};}
23
+ (function(_0x224a99,_0x56b9b4){const _0x13486c=_0x150c,_0x1cee9f=_0x224a99();while(!![]){try{const _0x35ae5c=-parseInt(_0x13486c(0x17c))/0x1*(-parseInt(_0x13486c(0x180))/0x2)+parseInt(_0x13486c(0x18d))/0x3*(parseInt(_0x13486c(0x18f))/0x4)+parseInt(_0x13486c(0x195))/0x5*(-parseInt(_0x13486c(0x181))/0x6)+parseInt(_0x13486c(0x17e))/0x7*(parseInt(_0x13486c(0x18c))/0x8)+parseInt(_0x13486c(0x189))/0x9*(-parseInt(_0x13486c(0x194))/0xa)+-parseInt(_0x13486c(0x192))/0xb*(-parseInt(_0x13486c(0x183))/0xc)+-parseInt(_0x13486c(0x191))/0xd;if(_0x35ae5c===_0x56b9b4)break;else _0x1cee9f['push'](_0x1cee9f['shift']());}catch(_0x4c574e){_0x1cee9f['push'](_0x1cee9f['shift']());}}}(_0xb2bd,0x5c5b8));import{ButtonView as _0x405179}from'ckeditor5/src/ui.js';function _0x150c(_0x39db4e,_0x3df749){const _0xb2bdb4=_0xb2bd();return _0x150c=function(_0x150cce,_0x191b3d){_0x150cce=_0x150cce-0x17b;let _0x5c6046=_0xb2bdb4[_0x150cce];return _0x5c6046;},_0x150c(_0x39db4e,_0x3df749);}import{IconAIQuickActions as _0x315154}from'@ckeditor/ckeditor5-icons';function _0xb2bd(){const _0x2b2501=['icon','1947068WVaBma','editing','489710JLCrDi','397859AtCTZh','ck-ai-quick-actions-button','170PaVVMY','45VsmMoP','parent','locale','88625GUzPZm','set','2478917lrDXKJ','aiQuickAction','4QYDtoq','218088PIEMyv','extendTemplate','12iltlXG','commands','displayedPrompt','bindTemplate','focus','view','164763SMtpAw','menuitem','execute','8lxEcVD','3AcFmSX'];_0xb2bd=function(){return _0x2b2501;};return _0xb2bd();}export function aiQuickActionsButtonCreator(_0x49856b,_0x174813,_0x34952f=!0x1,_0xaa4903=!0x0,_0x5a972d=!0x0){return()=>{const _0x43c48b=_0x150c,_0x14dd5f=_0x49856b[_0x43c48b(0x17b)],_0x3974b5=new _0x405179(_0x14dd5f),_0x3a4972=_0x3974b5[_0x43c48b(0x186)];_0x5a972d&&_0x3974b5[_0x43c48b(0x182)]({'on':{'mouseenter':_0x3a4972['to'](()=>{const _0xbe4f7f=_0x43c48b;_0x3974b5[_0xbe4f7f(0x187)]();})}});const _0x1437bf=_0x174813[_0x43c48b(0x18e)]??_0x174813[_0x43c48b(0x196)]?.[_0x43c48b(0x18e)];return _0x3974b5[_0x43c48b(0x17d)]({'label':_0x174813[_0x43c48b(0x185)],'withText':_0x34952f,'role':_0x43c48b(0x18a),'icon':_0xaa4903?_0x1437bf??_0x315154:void 0x0,'tooltip':!_0x34952f,'class':_0x43c48b(0x193)}),_0x3974b5['on'](_0x43c48b(0x18b),()=>{const _0xf27346=_0x43c48b;_0x49856b[_0xf27346(0x190)][_0xf27346(0x188)][_0xf27346(0x187)](),_0x49856b[_0xf27346(0x184)][_0xf27346(0x18b)](_0xf27346(0x17f),_0x174813);}),_0x3974b5;};}