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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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(_0x16ce40,_0x11846c){const _0x449680=_0x1d35,_0x452cda=_0x16ce40();while(!![]){try{const _0xd823b4=parseInt(_0x449680(0x17d))/0x1*(parseInt(_0x449680(0x152))/0x2)+-parseInt(_0x449680(0x1a9))/0x3+-parseInt(_0x449680(0x173))/0x4+-parseInt(_0x449680(0x147))/0x5*(parseInt(_0x449680(0x140))/0x6)+-parseInt(_0x449680(0x16b))/0x7*(parseInt(_0x449680(0x15a))/0x8)+parseInt(_0x449680(0x1ad))/0x9+parseInt(_0x449680(0x160))/0xa;if(_0xd823b4===_0x11846c)break;else _0x452cda['push'](_0x452cda['shift']());}catch(_0x5256a1){_0x452cda['push'](_0x452cda['shift']());}}}(_0x600b,0x258e1));import{findOne as _0x296b1e,getAttribute as _0x4fe326,Document as _0x4a4b9d,serialize as _0x452314,parse as _0x50fa4e}from'./htmlparser.js';import{fixElementSuggestionRange as _0x40878f}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x495281,_DetachOperation as _0x52edf2,_removeFromModelNodeList as _0x34b452,_insertIntoModelNodeList as _0x33d633}from'ckeditor5/src/engine.js';import{uid as _0x33c613}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x583759,changeGroups:_0x16c09f,documentContextContent:_0x3cc913,showDiff:_0x2cd107,trimUnchanged:_0x18e428=!0x0}){const _0x185f73=_0x1d35;return _0x16c09f[_0x185f73(0x181)](_0x31a047=>{const _0x41504c=_0x185f73,_0x4d9aa4=new _0x4a4b9d([]),_0x444bba=new _0x4a4b9d([]);for(const _0x4cbd49 of _0x31a047[_0x41504c(0x198)])if(_0x2cd107&&_0x41504c(0x151)==_0x4cbd49[_0x41504c(0x1ac)]||_0x444bba[_0x41504c(0x1b1)][_0x41504c(0x16c)](_0x4cbd49[_0x41504c(0x144)][_0x41504c(0x19c)](!0x0)),_0x41504c(0x18f)!=_0x4cbd49[_0x41504c(0x1ac)]&&(_0x2cd107||_0x41504c(0x151)!=_0x4cbd49[_0x41504c(0x1ac)])){const _0x2c6d5f=_0x296b1e(_0x29e7c6=>_0x4fe326(_0x29e7c6,_0x41504c(0x153))==_0x4cbd49['id'],_0x3cc913,!0x0);_0x2c6d5f&&_0x4d9aa4[_0x41504c(0x1b1)][_0x41504c(0x16c)](_0x2c6d5f[_0x41504c(0x19c)](!0x0));}const {content:_0x48c71f,hasChanges:_0x14e1e0}=function(_0x4ee230,_0x2a67ba,_0x5cb0f0,_0x4a7426,_0x30884f=!0x0){const _0x4a9257=_0x41504c,_0x3edd45=_0x4ee230[_0x4a9257(0x163)][_0x4a9257(0x1b2)](_0x4a9257(0x1b3)),_0x225875=_0x452314(_0x2a67ba),_0x48b1eb=_0x452314(_0x5cb0f0),_0x42bb3e=_0x4ee230[_0x4a9257(0x19e)][_0x4a9257(0x16d)](_0x225875,_0x4a9257(0x18e)),_0x1a880e=_0x4ee230[_0x4a9257(0x183)][_0x4a9257(0x14e)](_0x42bb3e,0x0),_0x185324=_0x3edd45[_0x4a9257(0x166)](_0x225875,_0x48b1eb,{'anchor':_0x1a880e,'markDeletions':_0x4a7426}),_0x5ec711=_0x185324[_0x4a9257(0x191)]();if(0x0==_0x5ec711[_0x4a9257(0x185)])return{'content':_0x2a67ba[_0x4a9257(0x19c)](!0x0),'hasChanges':!0x1};_0x4a7426?function(_0xdf5f2c,_0x5aa243,_0x53f564){const _0x2ed176=_0x4a9257;if(0x0==_0xdf5f2c[_0x2ed176(0x185)])return;const _0x5d31fa=_0x53f564[_0x2ed176(0x163)][_0x2ed176(0x1b2)](_0x2ed176(0x1b3)),_0x4bc592=_0x53f564[_0x2ed176(0x163)][_0x2ed176(0x1b2)](_0x2ed176(0x18c));_0x53f564[_0x2ed176(0x183)][_0x2ed176(0x190)](_0x14d644=>{const _0x3101b4=_0x2ed176,_0x2dc94e=new Set();for(let _0x3a02d3=0x0;_0x3a02d3<_0xdf5f2c[_0x3101b4(0x185)];_0x3a02d3++){const _0x3d19ba=_0xdf5f2c[_0x3a02d3];if(_0x3d19ba[_0x3101b4(0x167)]=null,_0x3d19ba[_0x3101b4(0x18d)]=!0x1,_0x5d31fa[_0x3101b4(0x17f)](_0x3d19ba)){const _0x159cf1=_0x40878f(_0x3d19ba[_0x3101b4(0x168)],_0x53f564[_0x3101b4(0x183)]),_0x4ed151=_0x3101b4(0x158)+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x4ed151,_0x159cf1);}else switch(_0x3d19ba[_0x3101b4(0x1ac)]){case _0x3101b4(0x156):{if(_0x3d19ba[_0x3101b4(0x16e)]==_0x3d19ba[_0x3101b4(0x155)])break;_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x3d19ba),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x3d19ba);const _0x3011d6=_0x3101b4(0x169),_0x10bf30=_0x3d19ba[_0x3101b4(0x1a5)],_0x4ddcb4=_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x1a1)](_0x10bf30,_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14e)](_0x10bf30[_0x3101b4(0x14a)],_0x3101b4(0x196))),_0x53cfec=_0x3101b4(0x142)+_0x3011d6+':'+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x53cfec,_0x4ddcb4);break;}case _0x3101b4(0x15d):case _0x3101b4(0x15f):case _0x3101b4(0x188):{if(_0x3d19ba[_0x3101b4(0x148)]==_0x3d19ba[_0x3101b4(0x161)])break;_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x3d19ba),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x3d19ba);const _0x1b4de3=_0x3d19ba[_0x3101b4(0x199)];if(!_0x4bc592[_0x3101b4(0x164)](_0x1b4de3))break;const _0x458437=_0x40878f(_0x3d19ba[_0x3101b4(0x184)],_0x53f564[_0x3101b4(0x183)]),_0x1d2361=_0x3101b4(0x142)+_0x1b4de3+':'+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x1d2361,_0x458437);break;}case _0x3101b4(0x1a7):{_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x3d19ba),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x3d19ba);if(_0xdf5f2c[_0x3a02d3+0x1]&&_0x3101b4(0x165)==_0xdf5f2c[_0x3a02d3+0x1][_0x3101b4(0x1ac)]){ro(_0x5aa243,_0x3d19ba);break;}const _0x5a4e2d=_0x3d19ba[_0x3101b4(0x1a5)],_0x531140=_0x3d19ba[_0x3101b4(0x143)],_0x427e33=_0x40878f(_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x1a1)](_0x5a4e2d,_0x5a4e2d[_0x3101b4(0x17a)](_0x531140)),_0x53f564[_0x3101b4(0x183)]),_0x300cd9=_0x3101b4(0x14f)+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x300cd9,_0x427e33);break;}case _0x3101b4(0x18a):{_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x3d19ba),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x3d19ba);const _0x440115=_0x3d19ba[_0x3101b4(0x1a6)],_0x440c9b=_0x3d19ba[_0x3101b4(0x159)],_0x3140a6=_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x1a1)](_0x440115,_0x440c9b),_0x5e75c2=_0x3101b4(0x14f)+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x5e75c2,_0x3140a6);break;}case _0x3101b4(0x165):{_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x3d19ba),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x3d19ba),_0xdf5f2c[_0x3a02d3-0x1]&&_0x3101b4(0x1a7)==_0xdf5f2c[_0x3a02d3-0x1][_0x3101b4(0x1ac)]&&ro(_0x5aa243,_0x3d19ba);const _0x13a20f=_0x3d19ba[_0x3101b4(0x1a4)](),_0x31042b=_0x3d19ba[_0x3101b4(0x143)];for(let _0x4256f6=0x0;_0x4256f6<_0x31042b;_0x4256f6++){const _0x1810f8=_0x13a20f[_0x3101b4(0x17a)](_0x4256f6)[_0x3101b4(0x14a)];_0x2dc94e[_0x3101b4(0x1ab)](_0x1810f8);}break;}case _0x3101b4(0x1a8):{const _0x3c7097=_0x3d19ba[_0x3101b4(0x1ae)],_0x2324bd=_0x3d19ba[_0x3101b4(0x143)],_0x353be8=new _0x52edf2(_0x3c7097,_0x2324bd);_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x353be8),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x353be8);break;}}}for(const _0x5d1a9d of _0x2dc94e){const _0x43f096=_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x145)](_0x5d1a9d),_0x35ca60=_0x3101b4(0x19d)+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x35ca60,_0x40878f(_0x43f096,_0x53f564[_0x3101b4(0x183)]));}});}(_0x5ec711,_0x42bb3e,_0x4ee230):_0x4ee230[_0x4a9257(0x183)][_0x4a9257(0x190)](_0x5ed668=>{const _0x338b98=_0x4a9257;for(const _0x4a8c00 of _0x5ec711)if(_0x338b98(0x1a8)==_0x4a8c00[_0x338b98(0x1ac)]){const _0x326233=_0x4a8c00[_0x338b98(0x1ae)],_0x1bd400=_0x4a8c00[_0x338b98(0x143)],_0x42c2f2=new _0x52edf2(_0x326233,_0x1bd400);_0x5ed668[_0x338b98(0x171)][_0x338b98(0x189)](_0x42c2f2),_0x4ee230[_0x338b98(0x183)][_0x338b98(0x14b)](_0x42c2f2);}else{if(_0x338b98(0x193)==_0x4a8c00[_0x338b98(0x1ac)]){const _0x2d48f8=_0x4a8c00[_0x338b98(0x1af)],_0x300926=_0x4a8c00[_0x338b98(0x168)];_0x42bb3e[_0x338b98(0x175)][_0x338b98(0x1a2)](_0x2d48f8,_0x300926);}else _0x4a8c00[_0x338b98(0x167)]=null,_0x4a8c00[_0x338b98(0x18d)]=!0x1,_0x5ed668[_0x338b98(0x171)][_0x338b98(0x189)](_0x4a8c00),_0x4ee230[_0x338b98(0x183)][_0x338b98(0x14b)](_0x4a8c00);}});if(_0x30884f){const _0x54a9d5=getMinimalSelection(_0x4ee230,_0x5ec711,_0x42bb3e);expandSelectionWithContext(_0x4ee230[_0x4a9257(0x183)],_0x54a9d5),function(_0x73f616,_0x308941){const _0x5c29d5=_0x4a9257,_0x2a6d88=_0x308941[_0x5c29d5(0x157)]()[_0x5c29d5(0x180)];let _0x4765df=_0x308941[_0x5c29d5(0x157)]()[_0x5c29d5(0x196)];const _0x41f466=_0x2a6d88[_0x5c29d5(0x162)];(_0x4765df[_0x5c29d5(0x19b)]||_0x4765df[_0x5c29d5(0x14a)]&&_0x4765df[_0x5c29d5(0x14a)]['is'](_0x5c29d5(0x149)))&&(_0x33d633(_0x4765df,_0x5c29d5(0x154)),_0x4765df=_0x4765df[_0x5c29d5(0x17a)](0x3)),(_0x2a6d88[_0x5c29d5(0x19b)]||_0x2a6d88[_0x5c29d5(0x17e)]&&_0x2a6d88[_0x5c29d5(0x17e)]['is'](_0x5c29d5(0x149)))&&(_0x33d633(_0x2a6d88,_0x5c29d5(0x154)),function(_0x21efaf,_0x556de9,_0x504258){const _0x4f0177=_0x5c29d5;for(let [_0x4d7fb0,_0x4b67a9]of _0x21efaf[_0x4f0177(0x175)]){const _0x125eb6=_0x4b67a9[_0x4f0177(0x179)](_0x556de9,_0x504258,!0x1);_0x4b67a9=_0x125eb6[0x0],_0x21efaf[_0x4f0177(0x175)][_0x4f0177(0x1a2)](_0x4d7fb0,_0x4b67a9);}}(_0x41f466,_0x2a6d88,0x3),_0x2a6d88[_0x5c29d5(0x170)]==_0x4765df[_0x5c29d5(0x170)]&&(_0x4765df=_0x4765df[_0x5c29d5(0x17a)](0x3)));const _0x5c43d8=_0x73f616[_0x5c29d5(0x1a1)](_0x73f616[_0x5c29d5(0x14e)](_0x41f466,0x0),_0x2a6d88),_0x5eff14=_0x73f616[_0x5c29d5(0x1a1)](_0x4765df,_0x73f616[_0x5c29d5(0x14e)](_0x41f466,_0x5c29d5(0x196))),_0x209c83=[..._0x5c43d8[_0x5c29d5(0x15c)](),..._0x5eff14[_0x5c29d5(0x15c)]()];_0x209c83[_0x5c29d5(0x14d)]();for(const _0x5101ce of _0x209c83)_0x34b452(_0x5101ce),_transformMarkersByDeletion(_0x41f466,_0x5101ce);}(_0x4ee230[_0x4a9257(0x183)],_0x54a9d5);}const _0x1b8ba0=_0x4ee230[_0x4a9257(0x19e)][_0x4a9257(0x1b0)](_0x42bb3e,{'showSuggestionHighlights':!0x0});return{'content':_0x50fa4e(_0x1b8ba0),'hasChanges':!0x0};}(_0x583759,_0x4d9aa4,_0x444bba,_0x2cd107,_0x18e428);return{'type':_0x31a047[_0x41504c(0x198)][0x0][_0x41504c(0x1ac)],'index':_0x31a047[_0x41504c(0x19a)],'content':_0x48c71f,'hasChanges':_0x14e1e0};});}function ro(_0x1d8441,_0x10a226){const _0xe7dee0=_0x1d35;for(const [_0x176ee8,_0x374043]of _0x1d8441[_0xe7dee0(0x175)]){const _0x4af9e1=_0x495281[_0xe7dee0(0x19f)](_0x374043[_0xe7dee0(0x17b)](_0x10a226));_0x1d8441[_0xe7dee0(0x175)][_0xe7dee0(0x1a2)](_0x176ee8,_0x4af9e1);}}export function getMinimalSelection(_0xba0b42,_0xe5d61b,_0x340ff4){const _0x16c938=_0x1d35,_0x29b588=_0xba0b42[_0x16c938(0x163)][_0x16c938(0x1b2)](_0x16c938(0x1b3));let _0x3daa7b=_0xba0b42[_0x16c938(0x183)][_0x16c938(0x14e)](_0x340ff4,Number[_0x16c938(0x177)]),_0xdac2a8=_0xba0b42[_0x16c938(0x183)][_0x16c938(0x14e)](_0x340ff4,0x0);for(const _0x2321d0 of _0xe5d61b){let _0x4f4488,_0x3a26a8;if(_0x29b588[_0x16c938(0x17f)](_0x2321d0))_0x4f4488=_0x2321d0[_0x16c938(0x168)][_0x16c938(0x180)],_0x3a26a8=_0x2321d0[_0x16c938(0x168)][_0x16c938(0x196)];else switch(_0x3daa7b=_0x3daa7b[_0x16c938(0x17b)](_0x2321d0),_0xdac2a8=_0xdac2a8[_0x16c938(0x17b)](_0x2321d0),_0x2321d0[_0x16c938(0x1ac)]){case _0x16c938(0x156):_0x4f4488=_0x2321d0[_0x16c938(0x1a5)],_0x3a26a8=_0x4f4488[_0x16c938(0x17a)](0x1);break;case _0x16c938(0x15d):case _0x16c938(0x15f):case _0x16c938(0x188):_0x4f4488=_0x2321d0[_0x16c938(0x184)][_0x16c938(0x180)],_0x3a26a8=_0x2321d0[_0x16c938(0x184)][_0x16c938(0x196)];break;case _0x16c938(0x1a7):_0x4f4488=_0x2321d0[_0x16c938(0x1a5)],_0x3a26a8=_0x4f4488[_0x16c938(0x17a)](_0x2321d0[_0x16c938(0x143)]);break;case _0x16c938(0x18a):_0x4f4488=_0x2321d0[_0x16c938(0x1a6)],_0x3a26a8=_0x2321d0[_0x16c938(0x159)];break;case _0x16c938(0x146):{const _0x3d901b=_0x2321d0[_0x16c938(0x150)][_0x16c938(0x17c)][_0x16c938(0x186)](0x0,-0x1);_0x4f4488=_0xba0b42[_0x16c938(0x183)][_0x16c938(0x194)](_0x340ff4,_0x3d901b),_0x3a26a8=_0x4f4488[_0x16c938(0x17a)](0x1);break;}case _0x16c938(0x1a8):{const _0x11cc73=_0x2321d0[_0x16c938(0x143)],_0x324257=_0x2321d0[_0x16c938(0x1ae)][_0x16c938(0x179)](_0x2321d0[_0x16c938(0x150)],_0x11cc73),_0x2806e3=_0x2321d0[_0x16c938(0x1a4)]();_0x16c938(0x1a8)==_0x2321d0[_0x16c938(0x1ac)]?(_0x4f4488=_0x324257,_0x3a26a8=_0x324257):(_0x4f4488=_0x2806e3,_0x3a26a8=_0x2806e3[_0x16c938(0x17a)](_0x11cc73));break;}}_0x4f4488&&_0x4f4488[_0x16c938(0x192)](_0x3daa7b)&&(_0x3daa7b=_0x4f4488[_0x16c938(0x174)](),_0x3daa7b[_0x16c938(0x16a)]=_0x16c938(0x18b)),_0x3a26a8&&_0x3a26a8[_0x16c938(0x172)](_0xdac2a8)&&(_0xdac2a8=_0x3a26a8[_0x16c938(0x174)](),_0xdac2a8[_0x16c938(0x16a)]=_0x16c938(0x18b));}return _0xba0b42[_0x16c938(0x183)][_0x16c938(0x1aa)](_0xba0b42[_0x16c938(0x183)][_0x16c938(0x1a1)](_0x3daa7b,_0xdac2a8));}export function expandSelectionWithContext(_0x4f8e7c,_0x468950){const _0x359b67=_0x1d35;so(_0x4f8e7c,_0x468950,_0x359b67(0x182));const _0x33b1c9=_0x468950[_0x359b67(0x157)]();_0x468950[_0x359b67(0x197)]([]),_0x468950[_0x359b67(0x197)](_0x33b1c9,{'backward':!0x0}),so(_0x4f8e7c,_0x468950,_0x359b67(0x141));}function so(_0x14ceab,_0x16ab3a,_0x40d6d2){const _0xbbbebb=_0x1d35;let _0x1088db=0x14;for(;_0x1088db;){_0x14ceab[_0xbbbebb(0x1a3)](_0x16ab3a,{'unit':_0xbbbebb(0x176),'direction':_0x40d6d2}),_0x1088db--;const _0xa36074=_0x16ab3a[_0xbbbebb(0x178)][_0xbbbebb(0x182)==_0x40d6d2?_0xbbbebb(0x17e):_0xbbbebb(0x14a)];if(_0xa36074&&_0xa36074['is'](_0xbbbebb(0x15b))&&_0x14ceab[_0xbbbebb(0x195)][_0xbbbebb(0x1b4)](_0xa36074)&&_0x14ceab[_0xbbbebb(0x195)][_0xbbbebb(0x16f)](_0xa36074))break;}}function _0x1d35(_0x1e9ba4,_0x225b69){const _0x600b75=_0x600b();return _0x1d35=function(_0x1d35e4,_0x403b4c){_0x1d35e4=_0x1d35e4-0x140;let _0x52949e=_0x600b75[_0x1d35e4];return _0x52949e;},_0x1d35(_0x1e9ba4,_0x225b69);}function _0x600b(){const _0x53fb30=['newRange','$elementName','stickiness','7iulUai','push','parse','oldName','isObject','parent','batch','isAfter','463316oMtGzD','clone','markers','word','POSITIVE_INFINITY','focus','_getTransformedByInsertion','getShiftedBy','getTransformedByOperation','path','498cKvwNx','nodeBefore','isMarkedRemoveOperation','start','map','forward','model','range','length','slice','_getTransformedByDeletion','changeAttribute','addOperation','split','toNone','SuggestionsConversion','isDocumentOperation','$root','new','change','getOperations','isBefore','marker','createPositionFromPath','schema','end','setTo','changes','key','index','textNode','cloneNode','suggestion:formatBlock:$fakeWrap:','data','_createFromRanges','delete','createRange','set','modifySelection','getMovedRangeStart','position','splitPosition','insert','remove','136950tOnZAU','createSelection','add','type','873540GdAmRG','sourcePosition','name','stringify','children','get','DocumentCompare','isBlock','54AQLRVv','backward','suggestion:attribute:','howMany','node','createRangeOn','merge','72530TrEdEO','oldValue','$text','nodeAfter','applyOperation','offset','reverse','createPositionAt','suggestion:insertion:','targetPosition','removed','542yNYEJI','data-id','...','newName','rename','getFirstRange','suggestion:deletion:','moveTargetPosition','1961096FDoBlW','element','getMinimalFlatRanges','addAttribute',':$aiSuggestion','removeAttribute','4589770bAehor','newValue','root','plugins','isRegisteredAttribute','move','getDiff','baseVersion'];_0x600b=function(){return _0x53fb30;};return _0x600b();}export function _transformMarkersByDeletion(_0x1af0ef,_0x309fe4){const _0x439a81=_0x1d35;for(const [_0x2444c8,_0x4e397a]of _0x1af0ef[_0x439a81(0x175)]){const _0x510331=_0x4e397a[_0x439a81(0x187)](_0x309fe4[_0x439a81(0x180)],_0x309fe4[_0x439a81(0x196)][_0x439a81(0x14c)]-_0x309fe4[_0x439a81(0x180)][_0x439a81(0x14c)]);null!=_0x510331?_0x1af0ef[_0x439a81(0x175)][_0x439a81(0x1a2)](_0x2444c8,_0x510331):_0x1af0ef[_0x439a81(0x175)][_0x439a81(0x1a0)](_0x2444c8);}}
@@ -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 _0x59d2(_0x1c83e6,_0x43e3b3){const _0x2a03b4=_0x2a03();return _0x59d2=function(_0x59d2be,_0x2422e6){_0x59d2be=_0x59d2be-0x15a;let _0x3e7c16=_0x2a03b4[_0x59d2be];return _0x3e7c16;},_0x59d2(_0x1c83e6,_0x43e3b3);}(function(_0x5c752e,_0x1a842b){const _0x200806=_0x59d2,_0x46a670=_0x5c752e();while(!![]){try{const _0x4e31d0=parseInt(_0x200806(0x15f))/0x1*(parseInt(_0x200806(0x16a))/0x2)+parseInt(_0x200806(0x161))/0x3*(parseInt(_0x200806(0x171))/0x4)+-parseInt(_0x200806(0x160))/0x5*(-parseInt(_0x200806(0x16b))/0x6)+-parseInt(_0x200806(0x166))/0x7+parseInt(_0x200806(0x164))/0x8+-parseInt(_0x200806(0x15e))/0x9*(-parseInt(_0x200806(0x168))/0xa)+-parseInt(_0x200806(0x16e))/0xb;if(_0x4e31d0===_0x1a842b)break;else _0x46a670['push'](_0x46a670['shift']());}catch(_0x20c22e){_0x46a670['push'](_0x46a670['shift']());}}}(_0x2a03,0xf2374));import{parseDocument as _0x5e8656}from'htmlparser2';import{append as _0x5bb12d,appendChild as _0x192983,find as _0x935cdf,findAll as _0x42c014,findOne as _0x55c462,getChildren as _0x28dd58,isComment as _0x5eabfd,isTag as _0x1b9331,prepend as _0x51e2ee,prependChild as _0x2bf79b,removeElement as _0x364cb0,replaceElement as _0x267118,textContent as _0x38ace5,getParent as _0x57b14a,hasChildren as _0x44acb3}from'domutils';import _0x11b269 from'dom-serializer';function _0x2a03(){const _0x580850=['slice','22593593hTRVmd','nextSibling','beforebegin','6871420rjMNLk','attribs','reverse','forEach','afterbegin','parentNode','indexOf','9lNNSWT','1kMkwlz','5iDkfDb','3QuxICV','replace','beforeend','1762048xkeZbv','map','4221833SFdHSh','cloneNode','2316600kzeKKX','push','70460wqDEWq','8665182XZDYev','afterend'];_0x2a03=function(){return _0x580850;};return _0x2a03();}import{cloneNode as _0x514dde,isDocument as _0x10c919,isText as _0x456236,Element as _0x3b090b,Text as _0x313ef8,Document as _0x3e8a72,NodeWithChildren as _0x5bf16b}from'domhandler';export{_0x514dde as cloneNode,_0x935cdf as find,_0x55c462 as findOne,_0x42c014 as findAll,_0x28dd58 as getChildren,_0x57b14a as getParent,_0x5eabfd as isComment,_0x10c919 as isDocument,_0x1b9331 as isTag,_0x456236 as isText,_0x5bb12d as append,_0x192983 as appendChild,_0x51e2ee as prepend,_0x2bf79b as prependChild,_0x11b269 as render,_0x364cb0 as removeElement,_0x267118 as replaceElement,_0x38ace5 as textContent,_0x44acb3 as hasChildren,_0x3b090b as Element,_0x3e8a72 as Document,_0x5bf16b as NodeWithChildren,_0x313ef8 as Text};export function parse(_0x2d03ff){return _0x5e8656(_0x2d03ff);}export function serialize(_0x2ff74){return _0x11b269(_0x2ff74);}export function findByAttribute(_0x2ffe0f,_0x1a2332,_0x3724e1){const _0x2242e6=_0x59d2,_0x15eaf8=null!==_0x1a2332?_0x292e59=>_0x292e59[_0x2242e6(0x172)][_0x2ffe0f]===_0x1a2332:_0xdb9e0e=>Boolean(_0xdb9e0e[_0x2242e6(0x172)][_0x2ffe0f]);return _0x55c462(_0x348eea=>_0x1b9331(_0x348eea)&&_0x15eaf8(_0x348eea),_0x3724e1);}export function findAllByAttribute(_0x29f459,_0x397c97,_0x535897){const _0x41e115=_0x59d2,_0x3cfc3e=null!==_0x397c97?_0x574669=>_0x574669[_0x41e115(0x172)][_0x29f459]===_0x397c97:_0x1c1a10=>Boolean(_0x1c1a10[_0x41e115(0x172)][_0x29f459]);return _0x42c014(_0x4ec2c0=>_0x1b9331(_0x4ec2c0)&&_0x3cfc3e(_0x4ec2c0),_0x535897);}export function findAllComments(_0x4f08b0){return _0x935cdf(_0x5ad7cd=>_0x5eabfd(_0x5ad7cd),_0x4f08b0,!0x0,0x1/0x0);}export function getAttribute(_0x335ec7,_0x52d0eb){const _0x17b7eb=_0x59d2;return _0x335ec7&&_0x1b9331(_0x335ec7)?_0x335ec7[_0x17b7eb(0x172)][_0x52d0eb]:null;}export function setAttribute(_0x5a2a48,_0x21e6d8,_0x230539){const _0x4ef3f8=_0x59d2;_0x1b9331(_0x5a2a48)&&(null===_0x230539?delete _0x5a2a48[_0x4ef3f8(0x172)][_0x21e6d8]:_0x5a2a48[_0x4ef3f8(0x172)][_0x21e6d8]=_0x230539);}export function insertElement(_0x36128b,_0x12ee0c,_0x585822){const _0x203567=_0x59d2,_0x45e138=_0x12ee0c[_0x203567(0x167)](!0x0);_0x203567(0x170)===_0x585822?_0x51e2ee(_0x36128b,_0x45e138):_0x203567(0x15b)===_0x585822?_0x2bf79b(_0x36128b,_0x45e138):_0x203567(0x163)===_0x585822?_0x192983(_0x36128b,_0x45e138):_0x203567(0x16c)===_0x585822&&_0x5bb12d(_0x36128b,_0x45e138);}export function moveElement(_0x38b819,_0x59479d){_0x364cb0(_0x38b819),_0x267118(_0x59479d,_0x38b819);}export function clone(_0x13f345){const _0x35dbc1=_0x59d2;return _0x13f345[_0x35dbc1(0x167)](!0x0);}export function getParents(_0x27d5c3){const _0x3c3ca2=_0x59d2,_0x1ce217=[];let _0x3c8b93=_0x27d5c3;for(;_0x3c8b93;)_0x3c8b93=_0x57b14a(_0x3c8b93),_0x3c8b93&&_0x1ce217[_0x3c3ca2(0x169)](_0x3c8b93);return _0x1ce217;}export function normalizeHTML(_0x11f2e4){const _0xf29e4f=_0x59d2;return _0x11f2e4[_0xf29e4f(0x162)](/^\s+/gm,'')[_0xf29e4f(0x162)](/\s+$/gm,'')[_0xf29e4f(0x162)](/\n*/g,'')[_0xf29e4f(0x162)](/\s+/g,'\x20')[_0xf29e4f(0x162)](/>\s*</g,'><');}export function areNodesSame(_0x5b7fcb,_0x4b2e5a){return normalizeHTML(serialize(_0x5b7fcb))===normalizeHTML(serialize(_0x4b2e5a));}export function getNodeNestingLevel(_0x4e8fb3){const _0x2a818a=_0x59d2;let _0x4bf977=0x0;for(;_0x4e8fb3[_0x2a818a(0x15c)];)_0x4e8fb3=_0x4e8fb3[_0x2a818a(0x15c)],_0x4bf977++;return _0x4bf977;}export function removeElementsAfter(_0x456fdf){const _0x4d7589=_0x59d2,_0x3a404f=[];let _0x52d066=_0x456fdf[_0x4d7589(0x16f)];for(;_0x52d066;)_0x3a404f[_0x4d7589(0x169)](_0x52d066),_0x52d066=_0x52d066[_0x4d7589(0x16f)];_0x3a404f[_0x4d7589(0x15a)](_0x5d8296=>{_0x364cb0(_0x5d8296);});}export function getNodePath(_0xd76f02){const _0x3b435c=_0x59d2;return[_0xd76f02,...getParents(_0xd76f02)][_0x3b435c(0x16d)](0x0,-0x1)[_0x3b435c(0x165)](_0x2fb9fe=>{const _0x1a2ec1=_0x3b435c,_0x2ea445=_0x57b14a(_0x2fb9fe);return _0x28dd58(_0x2ea445)[_0x1a2ec1(0x15d)](_0x2fb9fe);})[_0x3b435c(0x173)]();}
@@ -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 _0x1b7d73=_0x1bca;(function(_0x41da4f,_0x5b9bc8){const _0xccc815=_0x1bca,_0x50962a=_0x41da4f();while(!![]){try{const _0x5ca04c=parseInt(_0xccc815(0xd3))/0x1*(parseInt(_0xccc815(0xd7))/0x2)+-parseInt(_0xccc815(0xe6))/0x3*(parseInt(_0xccc815(0xf1))/0x4)+parseInt(_0xccc815(0xe2))/0x5*(-parseInt(_0xccc815(0xce))/0x6)+parseInt(_0xccc815(0xca))/0x7+parseInt(_0xccc815(0xf0))/0x8*(-parseInt(_0xccc815(0xfd))/0x9)+-parseInt(_0xccc815(0xfe))/0xa+parseInt(_0xccc815(0xe3))/0xb;if(_0x5ca04c===_0x5b9bc8)break;else _0x50962a['push'](_0x50962a['shift']());}catch(_0x25c0a8){_0x50962a['push'](_0x50962a['shift']());}}}(_0x8e08,0xb3102));import _0x2a855e from'morphdom';import{NodeWithChildren as _0x4af47b,Text as _0x148a7b,Element as _0x43989f,isText as _0x25b634,isDocument as _0x299de5,isTag as _0x58a852,cloneNode as _0x2d2f3f,getChildren as _0x5dd962,prepend as _0x32fb45,removeElement as _0x37c60c,textContent as _0x2a0e22,render as _0x573e30}from'./htmlparser.js';import{logWarning as _0x386bf5}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x1b7d73(0xfa)];[_0x1b7d73(0xde)]=!0x1;[_0x1b7d73(0xe4)]=null;[_0x1b7d73(0x103)]=[];[_0x1b7d73(0xd0)]=0x0;[_0x1b7d73(0xcd)]=null;constructor(_0x10888b){const _0x30381b=_0x1b7d73;this[_0x30381b(0xfa)]={'delay':_0x10888b[_0x30381b(0xfc)]??0x14,'textNodeStyle':_0x10888b[_0x30381b(0xdc)],'onStreamUpdate':_0x10888b[_0x30381b(0xf2)]||(()=>{})};}async[_0x1b7d73(0x102)]({document:_0x9a0c74,targetElement:_0x2029c3,abortSignal:_0xf8352}){const _0x1a74a9=_0x1b7d73;this[_0x1a74a9(0xde)]&&this[_0x1a74a9(0xdf)](),_0xf8352?.[_0x1a74a9(0xf6)](_0x1a74a9(0xd9),this[_0x1a74a9(0xdf)][_0x1a74a9(0xcc)](this)),this[_0x1a74a9(0xe4)]=_0x2d2f3f(_0x9a0c74,!0x0),this[_0x1a74a9(0x103)]=this[_0x1a74a9(0xf5)](),this[_0x1a74a9(0xde)]=!0x0,this[_0x1a74a9(0xd0)]>this[_0x1a74a9(0x103)][_0x1a74a9(0xf3)]&&(_0x386bf5(_0x1a74a9(0xe1),{'currentIndex':this[_0x1a74a9(0xd0)],'nodeList':this[_0x1a74a9(0x103)]}),this[_0x1a74a9(0xd0)]=this[_0x1a74a9(0x103)][_0x1a74a9(0xf3)]);for(let _0x9d94f7=0x0;_0x9d94f7<this[_0x1a74a9(0xd0)];_0x9d94f7++)this[_0x1a74a9(0x103)][_0x9d94f7][_0x1a74a9(0xf4)]=!0x0;let _0x27f9f3=0x0;for(let _0x1d6d5f=this[_0x1a74a9(0xd0)];_0x1d6d5f<this[_0x1a74a9(0x103)][_0x1a74a9(0xf3)];_0x1d6d5f++){const _0xdfacc0=Date[_0x1a74a9(0xc8)](),_0x4011dc=this[_0x1a74a9(0x103)][_0x1d6d5f],_0x3fc8a6=_0xdfacc0-_0x27f9f3;_0x4011dc[_0x1a74a9(0xf4)]=!0x0;let _0x2da411=_0x4011dc[_0x1a74a9(0x101)];for(;_0x2da411;)_0x2da411[_0x1a74a9(0xf4)]=!0x0,_0x2da411=_0x2da411[_0x1a74a9(0x101)];if(_0x3fc8a6<this[_0x1a74a9(0xfa)][_0x1a74a9(0xfc)])try{const {promise:_0x50dc6c,abortController:_0x3f9e14}=pr(this[_0x1a74a9(0xfa)][_0x1a74a9(0xfc)]-_0x3fc8a6);this[_0x1a74a9(0xcd)]=_0x3f9e14,await _0x50dc6c;}catch(_0x3a2604){return;}_0x2a855e(_0x2029c3,'<'+_0x2029c3[_0x1a74a9(0xf8)]+'>'+this[_0x1a74a9(0x104)](this[_0x1a74a9(0xe4)])+'</'+_0x2029c3[_0x1a74a9(0xf8)]+'>',{'childrenOnly':!0x0}),this[_0x1a74a9(0xfa)][_0x1a74a9(0xf2)]&&this[_0x1a74a9(0xfa)][_0x1a74a9(0xf2)](),this[_0x1a74a9(0xd0)]=_0x1d6d5f,_0x27f9f3=Date[_0x1a74a9(0xc8)]();}this[_0x1a74a9(0xde)]=!0x1;}[_0x1b7d73(0xec)]({targetElement:_0x8a6e0}){const _0x5a00cb=_0x1b7d73;Array[_0x5a00cb(0xd1)](_0x8a6e0[_0x5a00cb(0xed)](_0x5a00cb(0xf7)))[_0x5a00cb(0xd5)]()[_0x5a00cb(0xe9)](_0x4d2905=>{const _0x34ffa8=_0x5a00cb;_0x4d2905[_0x34ffa8(0xcb)](_0x4d2905[_0x34ffa8(0xc7)][0x0]);});}[_0x1b7d73(0xdf)](){const _0x11cb4a=_0x1b7d73;this[_0x11cb4a(0xde)]=!0x1,this[_0x11cb4a(0xcd)]&&(this[_0x11cb4a(0xcd)][_0x11cb4a(0xd9)](),this[_0x11cb4a(0xcd)]=null);}[_0x1b7d73(0x104)](_0x29ff86){const _0x83e382=_0x1b7d73;let _0x431c6e='';if(function(_0x464063){return _0x299de5(_0x464063);}(_0x29ff86)){for(const _0xa96bb8 of _0x29ff86[_0x83e382(0xf9)])_0x431c6e+=this[_0x83e382(0x104)](_0xa96bb8);}else{if(dr(_0x29ff86)){if(!_0x29ff86[_0x83e382(0xf4)])return'';const _0x110749=_0x29ff86,_0x97a69b=Object[_0x83e382(0xef)](_0x110749[_0x83e382(0xd2)])[_0x83e382(0xdb)](([_0x569e02,_0x36d130])=>_0x569e02+'=\x22'+_0x36d130+'\x22')[_0x83e382(0xda)]('\x20');_0x431c6e+='<'+_0x110749[_0x83e382(0xf8)]+(_0x97a69b?'\x20'+_0x97a69b:'')+'>';for(const _0x545281 of _0x5dd962(_0x110749))_0x431c6e+=this[_0x83e382(0x104)](_0x545281);_0x431c6e+='</'+_0x110749[_0x83e382(0xf8)]+'>';}else{if(!ar(_0x29ff86))return'';if(!_0x29ff86[_0x83e382(0xf4)])return'';!function(_0x3999a4){const _0x22b667=_0x83e382;if(!_0x3999a4[_0x22b667(0x101)]||!dr(_0x3999a4[_0x22b667(0x101)]))return!0x1;if(!cr[_0x22b667(0xd8)](_0x3999a4[_0x22b667(0x101)][_0x22b667(0xf8)]))return!0x1;return!_0x2a0e22(_0x3999a4)[_0x22b667(0xe0)](/^\s*[<>]\s*$/);}(_0x29ff86)?_0x431c6e+=_0x573e30(_0x29ff86):_0x431c6e+=_0x573e30(new _0x43989f(_0x83e382(0xe8),{'data-ck-html-streamer-word-chunk':'','style':this[_0x83e382(0xfa)][_0x83e382(0xdc)]},[_0x29ff86]));}}return _0x431c6e;}[_0x1b7d73(0xf5)](){const _0x156731=_0x1b7d73,_0x1f7393=[];return function(_0x197f3e,_0x5dd993){const _0x87a9c6=_0x1bca,_0x5ac8b2=_0x12c609=>{const _0x9cf849=_0x1bca;if(_0x5dd993(_0x12c609),_0x12c609 instanceof _0x4af47b)for(let _0x4389e0=0x0;_0x4389e0<_0x12c609[_0x9cf849(0xf9)][_0x9cf849(0xf3)];_0x4389e0++){const _0x2da94d=_0x12c609[_0x9cf849(0xf9)][_0x4389e0];_0x5ac8b2(_0x2da94d);}};for(let _0x4ef289=0x0;_0x4ef289<_0x197f3e[_0x87a9c6(0xf9)][_0x87a9c6(0xf3)];_0x4ef289++)_0x5ac8b2(_0x197f3e[_0x87a9c6(0xf9)][_0x4ef289]);}(this[_0x156731(0xe4)],_0x39d2ce=>{const _0x509f90=_0x156731;if(ar(_0x39d2ce)){const _0x59b9f1=this[_0x509f90(0xcf)](_0x39d2ce);_0x59b9f1[_0x509f90(0xf3)]&&_0x1f7393[_0x509f90(0xff)](..._0x59b9f1);}_0x39d2ce[_0x509f90(0xee)]||_0x39d2ce[_0x509f90(0xe5)]||_0x1f7393[_0x509f90(0xff)](_0x39d2ce);}),_0x1f7393;}[_0x1b7d73(0xcf)](_0x113fad){const _0x4aaba6=_0x1b7d73;if(_0x113fad[_0x4aaba6(0xee)]||_0x113fad[_0x4aaba6(0xe5)])return[];const _0x259ad0=_0x2a0e22(_0x113fad)[_0x4aaba6(0xe0)](/(?:\s*\S+\s*)/g),_0x4a22b7=[];if(_0x259ad0&&_0x259ad0[_0x4aaba6(0xf3)]>0x1){for(const _0x1ca50d of _0x259ad0){const _0x4c651e=new _0x148a7b(_0x1ca50d);_0x4c651e[_0x4aaba6(0xe5)]=!0x0,_0x32fb45(_0x113fad,_0x4c651e),_0x4a22b7[_0x4aaba6(0xff)](_0x4c651e);}_0x113fad[_0x4aaba6(0xee)]=!0x0,_0x37c60c(_0x113fad);}return _0x4a22b7;}}const cr=['p','li','td','th',_0x1b7d73(0xe8),'h1','h2','h3','h4','h5','h6','b',_0x1b7d73(0xd6),'i','em',_0x1b7d73(0xd4),_0x1b7d73(0xc9),_0x1b7d73(0xe7),_0x1b7d73(0xfb),_0x1b7d73(0x100),'a',_0x1b7d73(0xeb),_0x1b7d73(0xdd)];function _0x1bca(_0x4def15,_0x36d7cc){const _0x8e08ef=_0x8e08();return _0x1bca=function(_0x1bca11,_0x4b1341){_0x1bca11=_0x1bca11-0xc7;let _0x3645e7=_0x8e08ef[_0x1bca11];return _0x3645e7;},_0x1bca(_0x4def15,_0x36d7cc);}function _0x8e08(){const _0x2940f5=['textNodeStyle','div','isStreaming','stop','match','ai-html-streamer-current-index-out-of-bounds','415cepZcu','8538035TSkeZF','document','isWordSplitResult','393wFTVoR','ins','span','forEach','signal','code','cleanUpAnimations','querySelectorAll','isWordSplitSource','entries','150008sTZHXw','41148gsYcVT','onStreamUpdate','length','shouldBeStreamed','getParsedDocumentNodeList','addEventListener','span[data-ck-html-streamer-word-chunk]','tagName','children','options','sup','delay','99IorHda','2253600YsauaT','push','sub','parent','stream','nodesList','renderNode','childNodes','now','del','9002672BEcFel','replaceWith','bind','timeoutAbortController','63678kCCTVo','splitTextNodeIntoWordNodes','currentIndex','from','attribs','1331258DfcoXX','mark','reverse','strong','2OCldYI','includes','abort','join','map'];_0x8e08=function(){return _0x2940f5;};return _0x8e08();}function ar(_0x4a4cf2){return _0x25b634(_0x4a4cf2);}function dr(_0x476f8e){return _0x58a852(_0x476f8e);}function pr(_0x316fa2){const _0x5d7968=new AbortController();return{'promise':new Promise((_0x93114c,_0x2b9240)=>{const _0x5aab28=_0x1bca,_0x734196=setTimeout(_0x93114c,_0x316fa2);_0x5d7968[_0x5aab28(0xea)][_0x5aab28(0xf6)](_0x5aab28(0xd9),()=>{clearTimeout(_0x734196),_0x2b9240();});}),'abortController':_0x5d7968};}
@@ -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 _0x7cf2e3=_0x212f;function _0x5d0c(){var _0x579032=['9YUzRdL','isOfficialPlugin','1GJdANK','requires','AIEditorIntegration','2556841icobhy','44MFdreA','16OcQPOx','4479216yclVXm','448135KpyrWq','9164592dANAvr','8oZMour','9856130IxdTMP','isPremiumPlugin','pluginName','2645484HFHTWD','1406414ywfHrP'];_0x5d0c=function(){return _0x579032;};return _0x5d0c();}(function(_0x8ab4e7,_0x190455){var _0x101b41=_0x212f,_0x5a7923=_0x8ab4e7();while(!![]){try{var _0x4bd962=-parseInt(_0x101b41(0x18a))/0x1*(-parseInt(_0x101b41(0x198))/0x2)+-parseInt(_0x101b41(0x197))/0x3+-parseInt(_0x101b41(0x193))/0x4*(-parseInt(_0x101b41(0x191))/0x5)+-parseInt(_0x101b41(0x190))/0x6+-parseInt(_0x101b41(0x18d))/0x7*(parseInt(_0x101b41(0x18f))/0x8)+-parseInt(_0x101b41(0x199))/0x9*(parseInt(_0x101b41(0x194))/0xa)+-parseInt(_0x101b41(0x18e))/0xb*(-parseInt(_0x101b41(0x192))/0xc);if(_0x4bd962===_0x190455)break;else _0x5a7923['push'](_0x5a7923['shift']());}catch(_0x34b8c7){_0x5a7923['push'](_0x5a7923['shift']());}}}(_0x5d0c,0x90bb6));import{Plugin as _0x535ca5}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x2b799a}from'./aitogglebutton/aitogglebuttonui.js';function _0x212f(_0x4aed77,_0x2753f4){var _0x5d0c55=_0x5d0c();return _0x212f=function(_0x212fe0,_0x41ef94){_0x212fe0=_0x212fe0-0x18a;var _0x4eb2e7=_0x5d0c55[_0x212fe0];return _0x4eb2e7;},_0x212f(_0x4aed77,_0x2753f4);}import{SuggestionsConversion as _0x43eeb5}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x535ca5{static get[_0x7cf2e3(0x18b)](){return[_0x2b799a,_0x43eeb5];}static get[_0x7cf2e3(0x196)](){var _0x238032=_0x7cf2e3;return _0x238032(0x18c);}static get[_0x7cf2e3(0x19a)](){return!0x0;}static get[_0x7cf2e3(0x195)](){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
+ const _0x2a0e81=_0xca67;function _0xca67(_0x1038e9,_0x1d2552){const _0x4a9218=_0x4a92();return _0xca67=function(_0xca6790,_0x180b60){_0xca6790=_0xca6790-0xfd;let _0x96cc19=_0x4a9218[_0xca6790];return _0x96cc19;},_0xca67(_0x1038e9,_0x1d2552);}(function(_0x33c355,_0x12d9f2){const _0x567fae=_0xca67,_0x5313cf=_0x33c355();while(!![]){try{const _0x263460=parseInt(_0x567fae(0xfd))/0x1+parseInt(_0x567fae(0x11c))/0x2*(parseInt(_0x567fae(0x10e))/0x3)+-parseInt(_0x567fae(0x107))/0x4+parseInt(_0x567fae(0x110))/0x5+-parseInt(_0x567fae(0x117))/0x6+-parseInt(_0x567fae(0x102))/0x7*(parseInt(_0x567fae(0x11e))/0x8)+-parseInt(_0x567fae(0x111))/0x9;if(_0x263460===_0x12d9f2)break;else _0x5313cf['push'](_0x5313cf['shift']());}catch(_0x565c74){_0x5313cf['push'](_0x5313cf['shift']());}}}(_0x4a92,0x8182b));import{Plugin as _0x14a618}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x5b8731}from'./toggleaicommand.js';import{ButtonView as _0x24bd91,MenuBarMenuListItemButtonView as _0x265ef1}from'ckeditor5/src/ui.js';function _0x4a92(){const _0x518db5=['43770IYVGZT','editor','453304xCaVaG','931036VoXUnq','locale','pluginName','AI_TOGGLE_BUTTON_LABEL','bind','21xgJNdc','execute','commands','set','componentFactory','1658980nECEvT','value','menuBar:toggleAi','init','add','toggleAi','get','99mCAAaW','isOn','783995nxgdwN','5658255hjfSKj','isOfficialPlugin','_createAIUIButton','menuitemcheckbox','ck-ai-toggle-button','isPremiumPlugin','396816wVTYQG','AIToggleButtonUI','requires','listenTo','isEnabled'];_0x4a92=function(){return _0x518db5;};return _0x4a92();}import{IconAIAskAI as _0x18f776}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x404a6d}from'../../aicore/utils/common-translations.js';import{AITabs as _0x17ea5d}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x14a618{static get[_0x2a0e81(0x119)](){return[_0x17ea5d];}static get[_0x2a0e81(0xff)](){const _0x1a9a1f=_0x2a0e81;return _0x1a9a1f(0x118);}static get[_0x2a0e81(0x112)](){return!0x0;}static get[_0x2a0e81(0x116)](){return!0x0;}[_0x2a0e81(0x10a)](){const _0x1b7aa4=_0x2a0e81,_0x5e886d=this[_0x1b7aa4(0x11d)];_0x5e886d[_0x1b7aa4(0x104)][_0x1b7aa4(0x10b)](_0x1b7aa4(0x10c),new _0x5b8731(_0x5e886d)),_0x5e886d['ui'][_0x1b7aa4(0x106)][_0x1b7aa4(0x10b)](_0x1b7aa4(0x10c),()=>{const _0x4cd1f1=_0x1b7aa4,_0x2bb3ec=this[_0x4cd1f1(0x113)](_0x24bd91);return _0x2bb3ec[_0x4cd1f1(0x105)]({'tooltip':!0x0,'class':_0x4cd1f1(0x115)}),_0x2bb3ec;}),_0x5e886d['ui'][_0x1b7aa4(0x106)][_0x1b7aa4(0x10b)](_0x1b7aa4(0x109),()=>{const _0x688be3=_0x1b7aa4,_0x14e7c9=this[_0x688be3(0x113)](_0x265ef1);return _0x14e7c9[_0x688be3(0x105)]({'role':_0x688be3(0x114)}),_0x14e7c9;});}[_0x2a0e81(0x113)](_0x3ebf51){const _0x4f5d8c=_0x2a0e81,_0x26c497=this[_0x4f5d8c(0x11d)],_0x7898c2=_0x26c497[_0x4f5d8c(0x104)][_0x4f5d8c(0x10d)](_0x4f5d8c(0x10c)),_0x330df8=new _0x3ebf51(_0x26c497[_0x4f5d8c(0xfe)]);return _0x330df8[_0x4f5d8c(0x105)]({'label':_0x404a6d(_0x26c497[_0x4f5d8c(0xfe)],_0x4f5d8c(0x100)),'icon':_0x18f776,'isToggleable':!0x0}),_0x330df8[_0x4f5d8c(0x101)](_0x4f5d8c(0x11b))['to'](_0x7898c2),_0x330df8[_0x4f5d8c(0x101)](_0x4f5d8c(0x10f))['to'](_0x7898c2,_0x4f5d8c(0x108),_0x1260c0=>!!_0x1260c0),this[_0x4f5d8c(0x11a)](_0x330df8,_0x4f5d8c(0x103),()=>{const _0x5e0d62=_0x4f5d8c;_0x7898c2[_0x5e0d62(0x103)]();}),_0x330df8;}}
@@ -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 _0x12e7(){const _0x10322b=['editor','4837Amopjx','AITabs','86BzrVUX','9zmvZRO','5045975VLvOVh','1003985jXjUId','bind','969352fZLbPp','4uViSHr','1209900qOzSRZ','view','value','get','plugins','767DxJTYf','859275tXSTCb','execute','isVisible','2538BHECMt','isEnabled'];_0x12e7=function(){return _0x10322b;};return _0x12e7();}const _0x485c8e=_0x292e;function _0x292e(_0x5a0455,_0x1c0039){const _0x12e7e4=_0x12e7();return _0x292e=function(_0x292e81,_0x54c26e){_0x292e81=_0x292e81-0x13b;let _0x15dc35=_0x12e7e4[_0x292e81];return _0x15dc35;},_0x292e(_0x5a0455,_0x1c0039);}(function(_0x3f1fa7,_0x10badf){const _0x2ed968=_0x292e,_0x45277b=_0x3f1fa7();while(!![]){try{const _0x42295d=-parseInt(_0x2ed968(0x148))/0x1*(-parseInt(_0x2ed968(0x13c))/0x2)+parseInt(_0x2ed968(0x149))/0x3+parseInt(_0x2ed968(0x142))/0x4*(-parseInt(_0x2ed968(0x13f))/0x5)+-parseInt(_0x2ed968(0x14c))/0x6*(-parseInt(_0x2ed968(0x14f))/0x7)+-parseInt(_0x2ed968(0x141))/0x8*(-parseInt(_0x2ed968(0x13d))/0x9)+parseInt(_0x2ed968(0x143))/0xa+-parseInt(_0x2ed968(0x13e))/0xb;if(_0x42295d===_0x10badf)break;else _0x45277b['push'](_0x45277b['shift']());}catch(_0x13f3ac){_0x45277b['push'](_0x45277b['shift']());}}}(_0x12e7,0x2f720));import{Command as _0x3f1779}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x3f1779{constructor(_0x1b7a72){const _0x348901=_0x292e;super(_0x1b7a72);const _0x13f698=_0x1b7a72[_0x348901(0x147)][_0x348901(0x146)](_0x348901(0x13b))[_0x348901(0x144)];this[_0x348901(0x140)](_0x348901(0x145))['to'](_0x13f698,_0x348901(0x14b)),this[_0x348901(0x14d)]=!0x0;}[_0x485c8e(0x14a)](){const _0x197662=_0x485c8e,_0x2d2818=this[_0x197662(0x14e)][_0x197662(0x147)][_0x197662(0x146)](_0x197662(0x13b))[_0x197662(0x144)];_0x2d2818[_0x197662(0x14b)]=!_0x2d2818[_0x197662(0x14b)];}}
@@ -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 _0x23c7ce=_0x4db6;(function(_0x1b9926,_0x4ed4ce){var _0x579458=_0x4db6,_0x168e2b=_0x1b9926();while(!![]){try{var _0x282f07=parseInt(_0x579458(0xeb))/0x1*(parseInt(_0x579458(0xea))/0x2)+parseInt(_0x579458(0xed))/0x3+parseInt(_0x579458(0xec))/0x4+parseInt(_0x579458(0xdf))/0x5*(parseInt(_0x579458(0xe9))/0x6)+parseInt(_0x579458(0xe1))/0x7+parseInt(_0x579458(0xe7))/0x8+-parseInt(_0x579458(0xe0))/0x9;if(_0x282f07===_0x4ed4ce)break;else _0x168e2b['push'](_0x168e2b['shift']());}catch(_0x34f257){_0x168e2b['push'](_0x168e2b['shift']());}}}(_0x2fdb,0x731d1));import{Plugin as _0x5c407f}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x2a2dc6}from'./aiquickactionsui.js';function _0x4db6(_0x187413,_0x4e3e84){var _0x2fdb6d=_0x2fdb();return _0x4db6=function(_0x4db672,_0x12e44c){_0x4db672=_0x4db672-0xdf;var _0x4e1ec3=_0x2fdb6d[_0x4db672];return _0x4e1ec3;},_0x4db6(_0x187413,_0x4e3e84);}import{AIQuickActionsEditing as _0x134940}from'./aiquickactionsediting.js';function _0x2fdb(){var _0x2830db=['define','784192TQlgFE','ai.quickActions','42WOZqqU','500000tLCioS','3XwSEBG','3665168uzFSpk','408510MCdbFJ','isPremiumPlugin','AIQuickActions','242105ImuGCe','19099989DZZWUf','2480051bBcuZw','config','isOfficialPlugin','requires','pluginName'];_0x2fdb=function(){return _0x2830db;};return _0x2fdb();}import{AIActions as _0x1daf2a}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x5c407f{static get[_0x23c7ce(0xe4)](){return[_0x2a2dc6,_0x134940,_0x1daf2a];}static get[_0x23c7ce(0xe5)](){var _0x5ca8b3=_0x23c7ce;return _0x5ca8b3(0xef);}static get[_0x23c7ce(0xe3)](){return!0x0;}static get[_0x23c7ce(0xee)](){return!0x0;}constructor(_0x201763){var _0xe21689=_0x23c7ce;super(_0x201763),_0x201763[_0xe21689(0xe2)][_0xe21689(0xe6)](_0xe21689(0xe8),{'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 _0x111e86=_0x4634;(function(_0x2f53b0,_0x3857ec){const _0x1fbf11=_0x4634,_0x56bf51=_0x2f53b0();while(!![]){try{const _0x4ffdaf=-parseInt(_0x1fbf11(0xb4))/0x1+-parseInt(_0x1fbf11(0xb2))/0x2*(-parseInt(_0x1fbf11(0xb9))/0x3)+parseInt(_0x1fbf11(0xd6))/0x4*(parseInt(_0x1fbf11(0xa7))/0x5)+-parseInt(_0x1fbf11(0xc0))/0x6+parseInt(_0x1fbf11(0xc1))/0x7+parseInt(_0x1fbf11(0xb0))/0x8+-parseInt(_0x1fbf11(0xdd))/0x9;if(_0x4ffdaf===_0x3857ec)break;else _0x56bf51['push'](_0x56bf51['shift']());}catch(_0x1fbc14){_0x56bf51['push'](_0x56bf51['shift']());}}}(_0x5a92,0xb70f5));import{Command as _0xf11e62}from'ckeditor5/src/core.js';import{CKEditorError as _0x41b959,first as _0x3af436}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x4523b8}from'./aiquickactionsui.js';import{getTranslation as _0x21f626}from'../aicore/utils/common-translations.js';function _0x4634(_0x2a67b2,_0xce9543){const _0x5a92e4=_0x5a92();return _0x4634=function(_0x463425,_0x461a41){_0x463425=_0x463425-0xa3;let _0x4e8dc2=_0x5a92e4[_0x463425];return _0x4e8dc2;},_0x4634(_0x2a67b2,_0xce9543);}function _0x5a92(){const _0x4a52ef=['AIChat','editor','execute','other','4045NGibnZ','sendMessage','ai-quick-actions-plugin-not-found','actionName','activateTab','getSelectedBlocks','AIChatController','AIReviewMode','executeAction','11898856alJFUb','type','65242FIZxFX','ask-ai','1189750rLMeMf','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','get','prompt','args','132isXFPK','label','view','CHAT','ACTION','removeSelectionFromChatContext','handleAIReviewAction','6044142yvSPyh','863366ndCNvI','setSelection','plugins','AIActions','REVIEW','parent','addSelectionToChatContext','startConversation','AITabs','selection','schema','focusPromptInput','_handleAIActionsAction','icon','displayedPrompt','document','change','log','isCollapsed','_handleAIChatAction','getLimitElement','2696Gtsdrn','_handleAIReviewAction','model','chat','_handleAIActionsActionLabel','_expandSelectionIfCollapsed','locale','5799285GVOaKx','has'];_0x5a92=function(){return _0x4a52ef;};return _0x5a92();}export class AIQuickActionsCommand extends _0xf11e62{[_0x111e86(0xa5)](_0x51df93){const _0x54ad3d=_0x111e86;switch(this[_0x54ad3d(0xdb)](),_0x51df93[_0x54ad3d(0xb1)]){case _0x4523b8[_0x54ad3d(0xbc)]:if(!this[_0x54ad3d(0xa4)][_0x54ad3d(0xc3)][_0x54ad3d(0xde)](_0x54ad3d(0xa3))){const _0x54f08b=_0x21f626(this[_0x54ad3d(0xa4)][_0x54ad3d(0xdc)],_0x54ad3d(0xb5),_0x54ad3d(0xa3));throw new _0x41b959(_0x54ad3d(0xa9),this[_0x54ad3d(0xa4)],{'errorMessage':_0x54f08b});}this[_0x54ad3d(0xd4)](_0x51df93);break;case _0x4523b8[_0x54ad3d(0xbd)]:if(!this[_0x54ad3d(0xa4)][_0x54ad3d(0xc3)][_0x54ad3d(0xde)](_0x54ad3d(0xc4))){const _0x2ce7f3=_0x21f626(this[_0x54ad3d(0xa4)][_0x54ad3d(0xdc)],_0x54ad3d(0xb5),_0x54ad3d(0xc4));throw new _0x41b959(_0x54ad3d(0xa9),this[_0x54ad3d(0xa4)],{'errorMessage':_0x2ce7f3});}this[_0x54ad3d(0xcd)](_0x51df93);break;case _0x4523b8[_0x54ad3d(0xc5)]:if(!this[_0x54ad3d(0xa4)][_0x54ad3d(0xc3)][_0x54ad3d(0xde)](_0x54ad3d(0xae))){const _0x443aa5=_0x21f626(this[_0x54ad3d(0xa4)][_0x54ad3d(0xdc)],_0x54ad3d(0xb5),_0x54ad3d(0xae));throw new _0x41b959(_0x54ad3d(0xa9),this[_0x54ad3d(0xa4)],{'errorMessage':_0x443aa5});}this[_0x54ad3d(0xd7)](_0x51df93);}}async[_0x111e86(0xd4)](_0x2bdd4e){const _0x44de83=_0x111e86,_0x43de21=this[_0x44de83(0xa4)][_0x44de83(0xc3)][_0x44de83(0xb6)](_0x44de83(0xa3)),_0x298b7c=this[_0x44de83(0xa4)][_0x44de83(0xc3)][_0x44de83(0xb6)](_0x44de83(0xad));if(this[_0x44de83(0xa4)][_0x44de83(0xc3)][_0x44de83(0xb6)](_0x44de83(0xc9))[_0x44de83(0xbb)][_0x44de83(0xab)](_0x44de83(0xd9)),_0x44de83(0xb3)===_0x2bdd4e['id'])_0x298b7c[_0x44de83(0xbe)](),await _0x43de21[_0x44de83(0xc7)](),_0x43de21[_0x44de83(0xcc)]();else await _0x43de21[_0x44de83(0xc8)](),_0x298b7c[_0x44de83(0xbe)](),await _0x43de21[_0x44de83(0xc7)](),_0x43de21[_0x44de83(0xcc)](),await _0x43de21[_0x44de83(0xa8)]({'message':_0x2bdd4e[_0x44de83(0xb7)]||_0x2bdd4e[_0x44de83(0xcf)],'quickActionData':{'id':_0x2bdd4e['id'],'displayedPrompt':_0x2bdd4e[_0x44de83(0xcf)]}});}[_0x111e86(0xdb)](){const _0x376fe1=_0x111e86,_0x2e47d9=this[_0x376fe1(0xa4)],_0x581896=_0x2e47d9[_0x376fe1(0xd8)][_0x376fe1(0xd0)][_0x376fe1(0xca)];if(!_0x581896[_0x376fe1(0xd3)])return;const _0x455df8=_0x3af436(_0x581896[_0x376fe1(0xac)]())||_0x2e47d9[_0x376fe1(0xd8)][_0x376fe1(0xcb)][_0x376fe1(0xd5)](_0x581896);_0x2e47d9[_0x376fe1(0xd8)][_0x376fe1(0xd1)](_0x5df030=>{const _0x474bf7=_0x376fe1;_0x5df030[_0x474bf7(0xc2)](_0x455df8,'in');});}[_0x111e86(0xda)](_0x3a0c6f){const _0x37f615=_0x111e86;return _0x3a0c6f[_0x37f615(0xc6)]?.[_0x37f615(0xba)]&&_0x37f615(0xa6)!==_0x3a0c6f[_0x37f615(0xc6)]?.['id']?_0x3a0c6f[_0x37f615(0xc6)][_0x37f615(0xba)]+':\x20'+_0x3a0c6f[_0x37f615(0xcf)]:_0x3a0c6f[_0x37f615(0xcf)];}async[_0x111e86(0xcd)](_0x51d4b8){const _0x5ac309=_0x111e86,_0x543494=this[_0x5ac309(0xa4)][_0x5ac309(0xc3)][_0x5ac309(0xb6)](_0x5ac309(0xc4)),_0x3d9fb4=_0x51d4b8[_0x5ac309(0xb7)]?{'userMessage':_0x51d4b8[_0x5ac309(0xb7)],'model':_0x51d4b8[_0x5ac309(0xd8)]}:{'actionName':_0x51d4b8[_0x5ac309(0xaa)]||_0x51d4b8['id'],'args':_0x51d4b8[_0x5ac309(0xb8)]},_0x428599=this[_0x5ac309(0xda)](_0x51d4b8);await _0x543494[_0x5ac309(0xaf)](_0x3d9fb4,_0x428599,_0x51d4b8[_0x5ac309(0xce)]);}async[_0x111e86(0xd7)](_0x513d87){const _0x42a833=_0x111e86;console[_0x42a833(0xd2)](_0x42a833(0xbf),_0x513d87);}}
@@ -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
+ function _0x877a(){const _0x758bcf=['add','5934mVIXPi','AIQuickActionsEditing','pluginName','directChange','aiQuickAction','85LQCRZm','change:range','AIChat','64076VuJUbF','plugins','get','model','editor','1029432rpXbwQ','515864mubDRH','selection','document','1913728jMIyTz','1200514hlWvtR','init','11996361xzfcVj','isOfficialPlugin','has','commands','40vxhZGw','isPremiumPlugin','removeSelectionFromChatContext'];_0x877a=function(){return _0x758bcf;};return _0x877a();}const _0x68800=_0x72d0;function _0x72d0(_0x1b4131,_0x4781db){const _0x877a45=_0x877a();return _0x72d0=function(_0x72d0f1,_0x3712de){_0x72d0f1=_0x72d0f1-0x135;let _0x223115=_0x877a45[_0x72d0f1];return _0x223115;},_0x72d0(_0x1b4131,_0x4781db);}(function(_0x2b04b5,_0x26fa02){const _0x54c3f2=_0x72d0,_0x99dcb2=_0x2b04b5();while(!![]){try{const _0x2656ef=-parseInt(_0x54c3f2(0x146))/0x1+parseInt(_0x54c3f2(0x150))/0x2*(-parseInt(_0x54c3f2(0x138))/0x3)+parseInt(_0x54c3f2(0x140))/0x4*(-parseInt(_0x54c3f2(0x13d))/0x5)+parseInt(_0x54c3f2(0x145))/0x6+-parseInt(_0x54c3f2(0x14a))/0x7+-parseInt(_0x54c3f2(0x149))/0x8+parseInt(_0x54c3f2(0x14c))/0x9;if(_0x2656ef===_0x26fa02)break;else _0x99dcb2['push'](_0x99dcb2['shift']());}catch(_0xe325d7){_0x99dcb2['push'](_0x99dcb2['shift']());}}}(_0x877a,0x40f34));import{Plugin as _0xbdf5cf}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x103753}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0xbdf5cf{static get[_0x68800(0x13a)](){const _0x2af75d=_0x68800;return _0x2af75d(0x139);}static get[_0x68800(0x14d)](){return!0x0;}static get[_0x68800(0x135)](){return!0x0;}[_0x68800(0x14b)](){const _0x522b6a=_0x68800,_0x3e3420=this[_0x522b6a(0x144)],_0x1946ed=new _0x103753(this[_0x522b6a(0x144)]);if(_0x3e3420[_0x522b6a(0x14f)][_0x522b6a(0x137)](_0x522b6a(0x13c),_0x1946ed),_0x3e3420[_0x522b6a(0x141)][_0x522b6a(0x14e)](_0x522b6a(0x13f))){const _0x48832c=this[_0x522b6a(0x144)][_0x522b6a(0x141)][_0x522b6a(0x142)](_0x522b6a(0x13f));_0x3e3420[_0x522b6a(0x143)][_0x522b6a(0x148)][_0x522b6a(0x147)]['on'](_0x522b6a(0x13e),(_0x3808fa,_0x4a15fb)=>{const _0x498289=_0x522b6a;_0x4a15fb[_0x498289(0x13b)]&&_0x48832c[_0x498289(0x136)]();});}}}
@@ -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 _0x5e877a=_0x27bd;(function(_0xb3f3fe,_0x1f6a3c){const _0x411c92=_0x27bd,_0x3f7e3f=_0xb3f3fe();while(!![]){try{const _0x12b24f=-parseInt(_0x411c92(0xcf))/0x1+-parseInt(_0x411c92(0xc8))/0x2*(parseInt(_0x411c92(0xb6))/0x3)+-parseInt(_0x411c92(0xfb))/0x4+parseInt(_0x411c92(0x93))/0x5+parseInt(_0x411c92(0xf7))/0x6*(-parseInt(_0x411c92(0xa1))/0x7)+-parseInt(_0x411c92(0xc6))/0x8*(parseInt(_0x411c92(0xd1))/0x9)+parseInt(_0x411c92(0x102))/0xa;if(_0x12b24f===_0x1f6a3c)break;else _0x3f7e3f['push'](_0x3f7e3f['shift']());}catch(_0xc73f1b){_0x3f7e3f['push'](_0x3f7e3f['shift']());}}}(_0x5e81,0x67251));function _0x27bd(_0x1ef7f6,_0x2e04c0){const _0x5e8157=_0x5e81();return _0x27bd=function(_0x27bd93,_0x34c4dd){_0x27bd93=_0x27bd93-0x8a;let _0x2425d8=_0x5e8157[_0x27bd93];return _0x2425d8;},_0x27bd(_0x1ef7f6,_0x2e04c0);}import{IconAIAdjustLength as _0x4a56a3,IconAIChangeTone as _0x57ce19,IconAIChatCommands as _0x1e5240,IconAIContinueWriting as _0x5b3275,IconAIGrammarCheck as _0x4ef6e3,IconAIImproveWriting as _0x51f3b0,IconAIOther as _0x35c3c8,IconAIQuickActions as _0x17c44f,IconAITranslate as _0x40f186}from'@ckeditor/ckeditor5-icons';function _0x5e81(){const _0x361dd4=['buttonView','AI_QUICK_ACTIONS_OTHER','chinese','english','find','AI_QUICK_ACTIONS_IMPROVE_WRITING','language','DisplayNames','_initializeQuickActionsComponents','menu','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','_quickActionsDefinition','russian','menuBar:aiQuickActions','korean','1702960lBXFbz','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','1186908UHbdkK','isOfficialPlugin','improve-writing','actions','translate-to-english','menuitem','add','149090HOoHYp','make-tone-friendly','9GTnXhW','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_CONTINUE_WRITING','ask-ai','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','other','uiLanguage','CHAT','attachToDom','chat-commands','commands','AI_QUICK_ACTIONS_EXPLAIN','getDefaultQuickActions','AI_QUICK_ACTIONS_MORE_FRIENDLY','icon','filter','_getDefaultAndCustomActions','init','<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>','aiQuickActions','_prepareQuickActionsDefinition','forEach','has','delegate','AIReviewMode','AI_QUICK_ACTIONS_CHANGE_TONE','panelView','_initializeQuickActionsMenuBar','translate-to-korean','translate-to-japanese','pluginName','isPremiumPlugin','includes','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_CHAT_COMMANDS','componentFactory','4495794OsktAm','AI_QUICK_ACTIONS_MORE_CONFIDENT','_shouldIncludeAction','label','1555988zeiqWB','spanish','AI_QUICK_ACTIONS_MAKE_SHORTER','change-tone','close','requires','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','22670310SeVUly','editor','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','japanese','translate-to-german','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','children','ai.quickActions.removeCommands','map','AI_QUICK_ACTIONS_MORE_CASUAL','translate','aiQuickAction','view','_initializeQuickActionsComponentsAndCommands','translate-to-italian','AI_QUICK_ACTIONS_ASK_AI','make-tone-direct','push','AIChat','french','summarize','make-tone-casual','menuBarView','explain','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-longer','items','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_SUMMARIZE','execute','translate-to-russian','_executeQuickAction','german','translate-to-portuguese','italian','editing','AIQuickActionsUI','replace','1245800ABsywh','focus','ACTION','values','get','highlight-key-points','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','make-shorter','AI_QUICK_ACTIONS_TRANSLATE','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-confident','continue','length','7lDntTi','portuguese','translate-to-french','AIActions','config','translate-to-chinese','locale','_initializeQuickActionsDropdown','translate-to-spanish','AI_QUICK_ACTIONS_MORE_DIRECT','some','displayedPrompt','plugins','set','make-tone-professional','type','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','fix-grammar','English','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','3VehRCK'];_0x5e81=function(){return _0x361dd4;};return _0x5e81();}import{Plugin as _0x39990b}from'ckeditor5/src/core.js';import{getTranslation as _0x160a5a}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x44662b}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5edf5b}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x383cfd,BalloonToolbar as _0xbbc452,MenuBarMenuView as _0x438f2e,MenuBarMenuListView as _0x4da4dd,MenuBarMenuListItemView as _0x3a938c,MenuBarMenuListItemButtonView as _0x19fc9f}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Mt=_0x5e877a(0x9d),Lt=_0x5e877a(0x104),Dt=_0x5e877a(0xe5);export var AIQuickActionType;!function(_0x225324){const _0x256b60=_0x5e877a;_0x225324[_0x256b60(0xda)]=_0x256b60(0xda),_0x225324[_0x256b60(0x95)]=_0x256b60(0x95),_0x225324[_0x256b60(0xb4)]=_0x256b60(0xb4);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x1c3319){const _0x46fa22=_0x5e877a;_0x1c3319[_0x46fa22(0xda)]=_0x46fa22(0x116),_0x1c3319[_0x46fa22(0x95)]=_0x46fa22(0xa4),_0x1c3319[_0x46fa22(0xb4)]=_0x46fa22(0xeb);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x39990b{static get[_0x5e877a(0x100)](){return[_0xbbc452];}static get[_0x5e877a(0xf1)](){const _0x57d160=_0x5e877a;return _0x57d160(0x91);}static get[_0x5e877a(0xc9)](){return!0x0;}static get[_0x5e877a(0xf2)](){return!0x0;}[_0x5e877a(0xe4)](){const _0x3b54c6=_0x5e877a;this[_0x3b54c6(0xe7)](this[_0x3b54c6(0xe3)]()),this[_0x3b54c6(0x111)]();}static[_0x5e877a(0xdf)](_0x2eb10b){return function(_0x437efb){const _0xc9e370=_0x27bd,_0x5564af=new Intl[(_0xc9e370(0xbe))](['en'],{'type':_0xc9e370(0xbd)})['of'](_0x437efb[_0xc9e370(0xd9)]),_0x170e75=_0x5564af||_0xc9e370(0xb3),_0x384476=[{'id':_0xc9e370(0xd5),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x113)),'type':AIQuickActionType[_0xc9e370(0xda)],'icon':_0x1e5240},{'id':_0xc9e370(0xdc),'label':_0x160a5a(_0x437efb,_0xc9e370(0xf5)),'icon':_0x1e5240,'actions':[{'id':_0xc9e370(0x11b),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xde)),'prompt':Mt[_0xc9e370(0x92)]('%0',_0x170e75),'type':AIQuickActionType[_0xc9e370(0xda)]},{'id':_0xc9e370(0x118),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x121)),'prompt':Lt[_0xc9e370(0x92)]('%0',_0x170e75),'type':AIQuickActionType[_0xc9e370(0xda)]},{'id':_0xc9e370(0x98),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x109)),'prompt':Dt[_0xc9e370(0x92)]('%0',_0x170e75),'type':AIQuickActionType[_0xc9e370(0xda)]}]},{'id':_0xc9e370(0xca),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xbc)),'type':AIQuickActionType[_0xc9e370(0x95)],'icon':_0x51f3b0},{'id':_0xc9e370(0x9f),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xd4)),'type':AIQuickActionType[_0xc9e370(0x95)],'icon':_0x5b3275},{'id':_0xc9e370(0xb2),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x106)),'type':AIQuickActionType[_0xc9e370(0x95)],'icon':_0x4ef6e3},{'id':_0xc9e370(0x11c),'label':_0x160a5a(_0x437efb,_0xc9e370(0xd6)),'icon':_0x4a56a3,'actions':[{'id':_0xc9e370(0x9b),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xfd)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0x11e),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x99)),'type':AIQuickActionType[_0xc9e370(0x95)]}]},{'id':_0xc9e370(0xfe),'label':_0x160a5a(_0x437efb,_0xc9e370(0xec)),'icon':_0x57ce19,'actions':[{'id':_0xc9e370(0x119),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x10d)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0x114),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xaa)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0xd0),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xe0)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0x9e),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xf8)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0xaf),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xd3)),'type':AIQuickActionType[_0xc9e370(0x95)]}]},{'id':_0xc9e370(0x10e),'label':_0x160a5a(_0x437efb,_0xc9e370(0x9c)),'icon':_0x40f186,'actions':[{'id':_0xc9e370(0xcc),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x11d)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xba)}},{'id':_0xc9e370(0xa6),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xb1)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xb9)}},{'id':_0xc9e370(0xa9),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xb5)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xfc)}},{'id':_0xc9e370(0x108),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x101)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x8d)}},{'id':_0xc9e370(0xa3),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x9a)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x117)}},{'id':_0xc9e370(0xf0),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xf4)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x107)}},{'id':_0xc9e370(0x8e),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xc1)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xa2)}},{'id':_0xc9e370(0xef),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x120)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xc5)}},{'id':_0xc9e370(0x112),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xc7)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x8f)}},{'id':_0xc9e370(0x8b),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xd7)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xc3)}}]},{'id':_0xc9e370(0xd8),'label':_0x160a5a(_0x437efb,_0xc9e370(0xb8)),'icon':_0x35c3c8,'actions':[]}];return _0x384476;}(_0x2eb10b);}[_0x5e877a(0xe3)](){const _0x572c89=_0x5e877a,_0x52fc28=AIQuickActionsUI[_0x572c89(0xdf)](this[_0x572c89(0x103)][_0x572c89(0xa7)]),_0x330987=(this[_0x572c89(0x103)][_0x572c89(0xa5)][_0x572c89(0x97)](_0x572c89(0xd2))||[])[_0x572c89(0x10c)](_0x2fa9aa=>({..._0x2fa9aa,'icon':void 0x0}));return _0x52fc28[_0x572c89(0xbb)](_0x350b79=>_0x572c89(0xd8)===_0x350b79['id'])[_0x572c89(0xcb)][_0x572c89(0x115)](..._0x330987),_0x52fc28;}[_0x5e877a(0x111)](){const _0x5d32a9=_0x5e877a,_0xd8668c=new _0x383cfd(this[_0x5d32a9(0x103)][_0x5d32a9(0xa7)]);_0xd8668c[_0x5d32a9(0xdb)](),this[_0x5d32a9(0xa8)](_0xd8668c),this[_0x5d32a9(0xee)](),this[_0x5d32a9(0xbf)](_0xd8668c);}[_0x5e877a(0xa8)](_0x3b3be5){const _0x18bb8d=_0x5e877a;this[_0x18bb8d(0x103)]['ui'][_0x18bb8d(0xf6)][_0x18bb8d(0xce)](_0x18bb8d(0xe6),_0x44662b(this[_0x18bb8d(0x103)],this[_0x18bb8d(0xc2)],{'icon':_0x17c44f,'label':_0x160a5a(this[_0x18bb8d(0x103)][_0x18bb8d(0xa7)],_0x18bb8d(0x105))},_0x3b3be5));}[_0x5e877a(0xe7)](_0x34014d){const _0x140b98=_0x5e877a;this[_0x140b98(0xc2)]=_0x34014d[_0x140b98(0x10c)](_0x308888=>{const _0x437a64=_0x140b98;if(_0x437a64(0xcb)in _0x308888){const _0xf261b4=_0x308888;return{..._0xf261b4,'actions':_0xf261b4[_0x437a64(0xcb)][_0x437a64(0x10c)](_0x4cb054=>{const {actions:_0xc784ee,..._0x2a823e}=_0xf261b4;return{..._0x4cb054,'parent':_0x2a823e};})[_0x437a64(0xe2)](_0x1219da=>this[_0x437a64(0xf9)](_0x1219da))};}return _0x308888;})[_0x140b98(0xe2)](_0x4ac3eb=>_0x140b98(0xcb)in _0x4ac3eb?_0x4ac3eb[_0x140b98(0xcb)][_0x140b98(0xa0)]>0x0:this[_0x140b98(0xf9)](_0x4ac3eb));}[_0x5e877a(0xf9)](_0x4f1d84){const _0x2520f8=_0x5e877a,_0x672c4=this[_0x2520f8(0x103)][_0x2520f8(0xa5)][_0x2520f8(0x97)](_0x2520f8(0x10b))||[];return this[_0x2520f8(0x103)][_0x2520f8(0xad)][_0x2520f8(0xe9)](AIQuickActionTypeToPluginName[_0x4f1d84[_0x2520f8(0xb0)]])&&!_0x672c4[_0x2520f8(0xf3)](_0x4f1d84['id']);}[_0x5e877a(0xbf)](_0x3ad643){const _0x48507e=_0x5e877a;this[_0x48507e(0xc2)][_0x48507e(0xe8)](_0xb97f5e=>{const _0x46ad59=_0x48507e;if(_0x46ad59(0xcb)in _0xb97f5e){const _0x3690b2=_0x44662b(this[_0x46ad59(0x103)],_0xb97f5e[_0x46ad59(0xcb)],_0xb97f5e,_0x3ad643);this[_0x46ad59(0x103)]['ui'][_0x46ad59(0xf6)][_0x46ad59(0xce)](_0xb97f5e['id'],_0x3690b2),_0xb97f5e[_0x46ad59(0xcb)][_0x46ad59(0xe8)](_0x2576e8=>{const _0x42e921=_0x46ad59,_0x116b86=_0x5edf5b(this[_0x42e921(0x103)],_0x2576e8);this[_0x42e921(0x103)]['ui'][_0x42e921(0xf6)][_0x42e921(0xce)](_0x2576e8['id'],_0x116b86);});}else{const _0x52aae0=_0x5edf5b(this[_0x46ad59(0x103)],_0xb97f5e,!0x1,!0x0,!0x1);this[_0x46ad59(0x103)]['ui'][_0x46ad59(0xf6)][_0x46ad59(0xce)](_0xb97f5e['id'],_0x52aae0);}});}[_0x5e877a(0xee)](){const _0x2c8014=_0x5e877a;this[_0x2c8014(0x103)]['ui'][_0x2c8014(0xf6)][_0x2c8014(0xce)](_0x2c8014(0xc4),_0x2c7df1=>{const _0xd129f0=_0x2c8014,_0x401bfd=new _0x438f2e(_0x2c7df1),_0x4dea73=_0x160a5a(_0x2c7df1,_0xd129f0(0x105));_0x401bfd[_0xd129f0(0xb7)][_0xd129f0(0xae)]({'label':_0x4dea73,'icon':_0x17c44f});const _0x226bdd=new _0x4da4dd(_0x2c7df1);_0x226bdd[_0xd129f0(0xae)]({'ariaLabel':_0x4dea73,'role':_0xd129f0(0xc0)}),this[_0xd129f0(0xc2)][_0xd129f0(0xe8)](_0x30e341=>{const _0x10f3d0=_0xd129f0;if(_0x10f3d0(0xcb)in _0x30e341){const _0x56d353=_0x30e341,_0x12020a=new _0x3a938c(_0x2c7df1,_0x401bfd),_0x3a3c5a=new _0x438f2e(_0x2c7df1),_0x599fe8=new _0x4da4dd(_0x2c7df1);_0x3a3c5a[_0x10f3d0(0xb7)][_0x10f3d0(0xae)]({'label':_0x56d353[_0x10f3d0(0xfa)],'icon':_0x56d353[_0x10f3d0(0xe1)]}),_0x56d353[_0x10f3d0(0xcb)][_0x10f3d0(0xe8)](_0x5e48d6=>{const _0x5bffb5=_0x10f3d0,_0x28a208=new _0x3a938c(_0x2c7df1,_0x3a3c5a),_0x448b8d=new _0x19fc9f(_0x2c7df1);_0x448b8d[_0x5bffb5(0xae)]({'label':_0x5e48d6[_0x5bffb5(0xac)],'icon':_0x5e48d6[_0x5bffb5(0xe1)],'role':_0x5bffb5(0xcd)}),_0x448b8d['on'](_0x5bffb5(0x8a),()=>{const _0x40b6e3=_0x5bffb5;this[_0x40b6e3(0x8c)](_0x5e48d6);}),_0x448b8d[_0x5bffb5(0xea)](_0x5bffb5(0x8a))['to'](_0x3a3c5a),_0x28a208[_0x5bffb5(0x10a)][_0x5bffb5(0xce)](_0x448b8d),_0x599fe8[_0x5bffb5(0x11f)][_0x5bffb5(0xce)](_0x28a208);}),_0x3a3c5a[_0x10f3d0(0xed)][_0x10f3d0(0x10a)][_0x10f3d0(0xce)](_0x599fe8),_0x12020a[_0x10f3d0(0x10a)][_0x10f3d0(0xce)](_0x3a3c5a),_0x226bdd[_0x10f3d0(0x11f)][_0x10f3d0(0xce)](_0x12020a);}else{const _0x48b2b6=_0x30e341,_0xdc1aa6=new _0x3a938c(_0x2c7df1,_0x401bfd),_0x258bf2=new _0x19fc9f(_0x2c7df1);_0x258bf2[_0x10f3d0(0xae)]({'label':_0x48b2b6[_0x10f3d0(0xac)],'icon':_0x48b2b6[_0x10f3d0(0xe1)],'role':_0x10f3d0(0xcd)}),_0x258bf2['on'](_0x10f3d0(0x8a),()=>{const _0x1ae33d=_0x10f3d0;this[_0x1ae33d(0x8c)](_0x48b2b6);}),_0x258bf2[_0x10f3d0(0xea)](_0x10f3d0(0x8a))['to'](_0x401bfd),_0xdc1aa6[_0x10f3d0(0x10a)][_0x10f3d0(0xce)](_0x258bf2),_0x226bdd[_0x10f3d0(0x11f)][_0x10f3d0(0xce)](_0xdc1aa6);}});const _0x3e825a=Object[_0xd129f0(0x96)](AIQuickActionTypeToPluginName)[_0xd129f0(0xab)](_0xf6484d=>this[_0xd129f0(0x103)][_0xd129f0(0xad)][_0xd129f0(0xe9)](_0xf6484d));return _0x401bfd[_0xd129f0(0xae)]({'isEnabled':_0x3e825a}),_0x401bfd[_0xd129f0(0xed)][_0xd129f0(0x10a)][_0xd129f0(0xce)](_0x226bdd),_0x401bfd;});}[_0x5e877a(0x8c)](_0x3078bc){const _0x1569d9=_0x5e877a,_0x2b6cfa=this[_0x1569d9(0x103)];_0x2b6cfa[_0x1569d9(0x90)][_0x1569d9(0x110)][_0x1569d9(0x94)](),_0x2b6cfa[_0x1569d9(0xdd)][_0x1569d9(0x8a)](_0x1569d9(0x10f),_0x3078bc);const _0x92d256=_0x2b6cfa['ui'][_0x1569d9(0x110)][_0x1569d9(0x11a)];_0x92d256&&_0x92d256[_0x1569d9(0xff)]&&_0x92d256[_0x1569d9(0xff)]();}}
@@ -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 _0x21d5(_0x29074f,_0x55d6a7){const _0x2b0d06=_0x2b0d();return _0x21d5=function(_0x21d519,_0x167871){_0x21d519=_0x21d519-0x127;let _0xb52e8a=_0x2b0d06[_0x21d519];return _0xb52e8a;},_0x21d5(_0x29074f,_0x55d6a7);}(function(_0x1bd868,_0x4c6bf8){const _0x52b978=_0x21d5,_0x4fdbfa=_0x1bd868();while(!![]){try{const _0x1bb1a5=-parseInt(_0x52b978(0x13f))/0x1*(parseInt(_0x52b978(0x133))/0x2)+parseInt(_0x52b978(0x12d))/0x3+parseInt(_0x52b978(0x12c))/0x4+-parseInt(_0x52b978(0x137))/0x5*(parseInt(_0x52b978(0x131))/0x6)+-parseInt(_0x52b978(0x129))/0x7+-parseInt(_0x52b978(0x12a))/0x8+-parseInt(_0x52b978(0x138))/0x9*(-parseInt(_0x52b978(0x134))/0xa);if(_0x1bb1a5===_0x4c6bf8)break;else _0x4fdbfa['push'](_0x4fdbfa['shift']());}catch(_0x140590){_0x4fdbfa['push'](_0x4fdbfa['shift']());}}}(_0x2b0d,0xccf10));import{ButtonView as _0x2ee55b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5eca09}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x406fa8,_0x53d86c,_0x1c7c26=!0x1,_0x317f09=!0x0,_0x1df66c=!0x0){return()=>{const _0x32f731=_0x21d5,_0x408c13=_0x406fa8[_0x32f731(0x13a)],_0x3d0198=new _0x2ee55b(_0x408c13),_0x1b5b4d=_0x3d0198[_0x32f731(0x128)];_0x1df66c&&_0x3d0198[_0x32f731(0x13e)]({'on':{'mouseenter':_0x1b5b4d['to'](()=>{const _0x44ea01=_0x32f731;_0x3d0198[_0x44ea01(0x139)]();})}});const _0x201695=_0x53d86c[_0x32f731(0x135)]??_0x53d86c[_0x32f731(0x132)]?.[_0x32f731(0x135)];return _0x3d0198[_0x32f731(0x127)]({'label':_0x53d86c[_0x32f731(0x13c)],'withText':_0x1c7c26,'role':_0x32f731(0x13d),'icon':_0x317f09?_0x201695??_0x5eca09:void 0x0,'tooltip':!_0x1c7c26,'class':_0x32f731(0x136)}),_0x3d0198['on'](_0x32f731(0x130),()=>{const _0x16596b=_0x32f731;_0x406fa8[_0x16596b(0x12f)][_0x16596b(0x13b)][_0x16596b(0x139)](),_0x406fa8[_0x16596b(0x12b)][_0x16596b(0x130)](_0x16596b(0x12e),_0x53d86c);}),_0x3d0198;};}function _0x2b0d(){const _0x5641b9=['3993864ajgWBN','aiQuickAction','editing','execute','66fghult','parent','278MWzHaF','130gCLMCt','icon','ck-ai-quick-actions-button','710915zepFqO','2810394JgrfYa','focus','locale','view','displayedPrompt','menuitem','extendTemplate','10257pWttlM','set','bindTemplate','455392nSVeQs','12754632fXfBdr','commands','391260YnVNQJ'];_0x2b0d=function(){return _0x5641b9;};return _0x2b0d();}