@ckeditor/ckeditor5-ai 47.7.1 → 47.7.2

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 (318) 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/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.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/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x52e8ac=_0x190f;(function(_0x26a814,_0x5db4ab){var _0x2c260f=_0x190f,_0x37d07d=_0x26a814();while(!![]){try{var _0x13d2fd=parseInt(_0x2c260f(0x1a9))/0x1+parseInt(_0x2c260f(0x1ad))/0x2*(parseInt(_0x2c260f(0x1a2))/0x3)+-parseInt(_0x2c260f(0x1a0))/0x4*(parseInt(_0x2c260f(0x1b1))/0x5)+parseInt(_0x2c260f(0x1ab))/0x6*(parseInt(_0x2c260f(0x1a1))/0x7)+-parseInt(_0x2c260f(0x1a8))/0x8*(-parseInt(_0x2c260f(0x19f))/0x9)+-parseInt(_0x2c260f(0x1af))/0xa*(parseInt(_0x2c260f(0x19e))/0xb)+-parseInt(_0x2c260f(0x1a3))/0xc;if(_0x13d2fd===_0x5db4ab)break;else _0x37d07d['push'](_0x37d07d['shift']());}catch(_0x45c70b){_0x37d07d['push'](_0x37d07d['shift']());}}}(_0xfc48,0xa73e2));import{Plugin as _0x5ce54b}from'ckeditor5/src/core.js';function _0x190f(_0x2ed5a1,_0x14d7b6){var _0xfc48e3=_0xfc48();return _0x190f=function(_0x190f36,_0x37a929){_0x190f36=_0x190f36-0x19d;var _0xa8a8f3=_0xfc48e3[_0x190f36];return _0xa8a8f3;},_0x190f(_0x2ed5a1,_0x14d7b6);}function _0xfc48(){var _0x1880d2=['AIRequestError','4062750DMOjdl','isOfficialPlugin','14bBKCAB','textAdapter','46010pRUGpI','pluginName','531985zjayMV','name','1672bgnbgx','696375zLFoGK','20WzamMy','7IHSNLp','488865wPUWkm','14031168tYrGJB','isPremiumPlugin','AIAdapter','afterInit','aiadapter-text-adapter-not-set','128SzdyMh','29817giZLwC'];_0xfc48=function(){return _0x1880d2;};return _0xfc48();}import{CKEditorError as _0x1af781}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x5ce54b{static get[_0x52e8ac(0x1b0)](){var _0x2e7d54=_0x52e8ac;return _0x2e7d54(0x1a5);}static get[_0x52e8ac(0x1ac)](){return!0x0;}static get[_0x52e8ac(0x1a4)](){return!0x0;}[_0x52e8ac(0x1a6)](){var _0x35de1e=_0x52e8ac;if(!this[_0x35de1e(0x1ae)])throw new _0x1af781(_0x35de1e(0x1a7),null);}}export class AIRequestError extends Error{constructor(_0x2b938f){var _0x4a2cad=_0x52e8ac;super(_0x2b938f),this[_0x4a2cad(0x19d)]=_0x4a2cad(0x1aa);}}
23
+ var _0x253731=_0x5f00;function _0xc053(){var _0x425037=['1089295NBElIK','4267356ppFbxd','6227039ZvDabn','AIRequestError','711vqLSli','13742460TWUCJc','isPremiumPlugin','pluginName','isOfficialPlugin','afterInit','9282IkqYvh','textAdapter','AIAdapter','4ZiWCeT','1059265dAkyRq','3577024HBoBzQ','aiadapter-text-adapter-not-set','name'];_0xc053=function(){return _0x425037;};return _0xc053();}(function(_0x9163f3,_0x16d30d){var _0x3e1eaf=_0x5f00,_0x3780ab=_0x9163f3();while(!![]){try{var _0x4b9c7a=parseInt(_0x3e1eaf(0x90))/0x1+parseInt(_0x3e1eaf(0x9a))/0x2*(-parseInt(_0x3e1eaf(0x94))/0x3)+parseInt(_0x3e1eaf(0x9d))/0x4*(parseInt(_0x3e1eaf(0x9e))/0x5)+-parseInt(_0x3e1eaf(0x91))/0x6+-parseInt(_0x3e1eaf(0x92))/0x7+parseInt(_0x3e1eaf(0x9f))/0x8+parseInt(_0x3e1eaf(0x95))/0x9;if(_0x4b9c7a===_0x16d30d)break;else _0x3780ab['push'](_0x3780ab['shift']());}catch(_0xe9aef4){_0x3780ab['push'](_0x3780ab['shift']());}}}(_0xc053,0x8c420));import{Plugin as _0xdeb5dd}from'ckeditor5/src/core.js';import{CKEditorError as _0x2c09f4}from'ckeditor5/src/utils.js';function _0x5f00(_0x5d84aa,_0x1363fa){var _0xc05380=_0xc053();return _0x5f00=function(_0x5f0059,_0xfbadff){_0x5f0059=_0x5f0059-0x8e;var _0x134a55=_0xc05380[_0x5f0059];return _0x134a55;},_0x5f00(_0x5d84aa,_0x1363fa);}export class AIAdapter extends _0xdeb5dd{static get[_0x253731(0x97)](){var _0x5aa4e6=_0x253731;return _0x5aa4e6(0x9c);}static get[_0x253731(0x98)](){return!0x0;}static get[_0x253731(0x96)](){return!0x0;}[_0x253731(0x99)](){var _0x2eea9f=_0x253731;if(!this[_0x2eea9f(0x9b)])throw new _0x2c09f4(_0x2eea9f(0x8e),null);}}export class AIRequestError extends Error{constructor(_0x24596e){var _0x2c29c5=_0x253731;super(_0x24596e),this[_0x2c29c5(0x8f)]=_0x2c29c5(0x93);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x154a62=_0x37a6;(function(_0x26db3c,_0x3c3a96){const _0x109220=_0x37a6,_0x47f309=_0x26db3c();while(!![]){try{const _0xe7f6b=-parseInt(_0x109220(0x203))/0x1*(parseInt(_0x109220(0x1fe))/0x2)+-parseInt(_0x109220(0x1e6))/0x3*(-parseInt(_0x109220(0x1e8))/0x4)+-parseInt(_0x109220(0x1f3))/0x5*(-parseInt(_0x109220(0x1fd))/0x6)+parseInt(_0x109220(0x207))/0x7+-parseInt(_0x109220(0x1f4))/0x8+-parseInt(_0x109220(0x1e7))/0x9*(-parseInt(_0x109220(0x1e2))/0xa)+parseInt(_0x109220(0x1f8))/0xb*(-parseInt(_0x109220(0x200))/0xc);if(_0xe7f6b===_0x3c3a96)break;else _0x47f309['push'](_0x47f309['shift']());}catch(_0x438d60){_0x47f309['push'](_0x47f309['shift']());}}}(_0x5d13,0x6ce36));import{Plugin as _0x1f237c}from'ckeditor5/src/core.js';import{CKEditorError as _0x5f2b02}from'ckeditor5/src/utils.js';function _0x5d13(){const _0x321a16=['6772680wVWeDh','error','requires','application/json','11vNujdu','signal','AI_ERROR_GET_PARAMETERS','makeRequest','editor','18cDiqJj','33094nMoNuZ','_prepareRequestHeaders','11647884hTsXzq','textAdapter','get','25nNkPnk','AI_ERROR_GET_HEADERS','AbortError','assign','3075296CCXGOq','reject','10OphZdI','resolve','plugins','catch','685779LsHsfD','6035283UJAfVO','12iJzAMq','aborted','locale','object','abort','name','sendRequest','aitextadapter-send-request-failed','init','abortController','_prepareRequestParameters','1468715nXsBKR'];_0x5d13=function(){return _0x321a16;};return _0x5d13();}import{AIAdapter as _0x2cae73,AIRequestError as _0x27835d}from'./aiadapter.js';import{getTranslation as _0x5e13f3}from'../utils/common-translations.js';function _0x37a6(_0x441c44,_0x4db0d5){const _0x5d1333=_0x5d13();return _0x37a6=function(_0x37a6ab,_0x337243){_0x37a6ab=_0x37a6ab-0x1e2;let _0x16142a=_0x5d1333[_0x37a6ab];return _0x16142a;},_0x37a6(_0x441c44,_0x4db0d5);}export class AITextAdapter extends _0x1f237c{[_0x154a62(0x1f1)];static get[_0x154a62(0x1f6)](){return[_0x2cae73];}constructor(_0x7a2dad){const _0x297cd4=_0x154a62;super(_0x7a2dad),this[_0x297cd4(0x1f1)]=new AbortController();}[_0x154a62(0x1f0)](){const _0x53e6df=_0x154a62;this[_0x53e6df(0x1fc)][_0x53e6df(0x1e4)][_0x53e6df(0x202)](_0x2cae73)[_0x53e6df(0x201)]=this;}[_0x154a62(0x1ec)](){const _0x39f383=_0x154a62;this[_0x39f383(0x1f1)][_0x39f383(0x1f9)][_0x39f383(0x1e9)]||(this[_0x39f383(0x1f1)][_0x39f383(0x1ec)](),this[_0x39f383(0x1f1)]=new AbortController());}async[_0x154a62(0x1fb)](_0x25c590){const _0x4f4e2a=_0x154a62;return this[_0x4f4e2a(0x1ee)](_0x25c590)[_0x4f4e2a(0x1e5)](_0xeb256a=>{const _0x1fecd5=_0x4f4e2a;if(_0xeb256a instanceof _0x27835d)return Promise[_0x1fecd5(0x208)](_0xeb256a);if(_0x1fecd5(0x205)==_0xeb256a[_0x1fecd5(0x1ed)])return Promise[_0x1fecd5(0x1e3)]();throw console[_0x1fecd5(0x1f5)](_0xeb256a),new _0x5f2b02(_0x1fecd5(0x1ef),null);});}async[_0x154a62(0x1ff)](_0x2a3b96,_0x680127){const _0x53e57a=_0x154a62,_0x321717=this[_0x53e57a(0x1fc)][_0x53e57a(0x1ea)],_0xdf0a17={'Content-Type':_0x53e57a(0x1f7)};if(_0x53e57a(0x1eb)==typeof _0x2a3b96)Object[_0x53e57a(0x206)](_0xdf0a17,_0x2a3b96);else{if(_0x2a3b96)try{const _0x31310d=await _0x2a3b96(_0x680127);Object[_0x53e57a(0x206)](_0xdf0a17,_0x31310d);}catch{return Promise[_0x53e57a(0x208)](new _0x27835d(_0x5e13f3(_0x321717,_0x53e57a(0x204))));}}return _0xdf0a17;}async[_0x154a62(0x1f2)](_0x24c7e6,_0x1dd0f3){const _0x3d02ec=_0x154a62,_0x3e7c9b=this[_0x3d02ec(0x1fc)][_0x3d02ec(0x1ea)];if(_0x3d02ec(0x1eb)==typeof _0x24c7e6)return _0x24c7e6;try{return await _0x24c7e6(_0x1dd0f3);}catch{return Promise[_0x3d02ec(0x208)](new _0x27835d(_0x5e13f3(_0x3e7c9b,_0x3d02ec(0x1fa))));}}}
23
+ const _0x31371f=_0x1488;(function(_0x51d3d4,_0x3f1db1){const _0x4204bb=_0x1488,_0x2e5fc0=_0x51d3d4();while(!![]){try{const _0x23873d=-parseInt(_0x4204bb(0x6f))/0x1*(-parseInt(_0x4204bb(0x8c))/0x2)+-parseInt(_0x4204bb(0x86))/0x3+parseInt(_0x4204bb(0x89))/0x4*(-parseInt(_0x4204bb(0x6b))/0x5)+parseInt(_0x4204bb(0x7d))/0x6*(parseInt(_0x4204bb(0x71))/0x7)+-parseInt(_0x4204bb(0x8d))/0x8*(parseInt(_0x4204bb(0x8f))/0x9)+-parseInt(_0x4204bb(0x78))/0xa*(-parseInt(_0x4204bb(0x75))/0xb)+parseInt(_0x4204bb(0x77))/0xc;if(_0x23873d===_0x3f1db1)break;else _0x2e5fc0['push'](_0x2e5fc0['shift']());}catch(_0x1bf7d2){_0x2e5fc0['push'](_0x2e5fc0['shift']());}}}(_0x4766,0x735b6));import{Plugin as _0x1b4193}from'ckeditor5/src/core.js';import{CKEditorError as _0x10a8cd}from'ckeditor5/src/utils.js';function _0x4766(){const _0x2d72ad=['aitextadapter-send-request-failed','reject','init','2210483XgaZwh','application/json','1006128ewgntF','30dSgrKU','AbortError','object','abortController','abort','1713918dOGCXm','_prepareRequestHeaders','requires','textAdapter','error','locale','name','sendRequest','resolve','2656134UjwkfH','makeRequest','editor','110364uIZMMY','AI_ERROR_GET_PARAMETERS','_prepareRequestParameters','8902jnJlya','92840BDWlpt','assign','225BzfTRG','plugins','aborted','85YyYerF','catch','signal','get','193CUKivq','AI_ERROR_GET_HEADERS','14liSoVf'];_0x4766=function(){return _0x2d72ad;};return _0x4766();}function _0x1488(_0x41974b,_0x584638){const _0x47664f=_0x4766();return _0x1488=function(_0x1488a5,_0x19cd22){_0x1488a5=_0x1488a5-0x69;let _0x379bfa=_0x47664f[_0x1488a5];return _0x379bfa;},_0x1488(_0x41974b,_0x584638);}import{AIAdapter as _0x1a715d,AIRequestError as _0x5696bc}from'./aiadapter.js';import{getTranslation as _0x3094dd}from'../utils/common-translations.js';export class AITextAdapter extends _0x1b4193{[_0x31371f(0x7b)];static get[_0x31371f(0x7f)](){return[_0x1a715d];}constructor(_0x541de2){const _0xce87f6=_0x31371f;super(_0x541de2),this[_0xce87f6(0x7b)]=new AbortController();}[_0x31371f(0x74)](){const _0x28cea7=_0x31371f;this[_0x28cea7(0x88)][_0x28cea7(0x69)][_0x28cea7(0x6e)](_0x1a715d)[_0x28cea7(0x80)]=this;}[_0x31371f(0x7c)](){const _0x58c159=_0x31371f;this[_0x58c159(0x7b)][_0x58c159(0x6d)][_0x58c159(0x6a)]||(this[_0x58c159(0x7b)][_0x58c159(0x7c)](),this[_0x58c159(0x7b)]=new AbortController());}async[_0x31371f(0x87)](_0x54a4c6){const _0x154ddc=_0x31371f;return this[_0x154ddc(0x84)](_0x54a4c6)[_0x154ddc(0x6c)](_0xec8550=>{const _0x1742c1=_0x154ddc;if(_0xec8550 instanceof _0x5696bc)return Promise[_0x1742c1(0x73)](_0xec8550);if(_0x1742c1(0x79)==_0xec8550[_0x1742c1(0x83)])return Promise[_0x1742c1(0x85)]();throw console[_0x1742c1(0x81)](_0xec8550),new _0x10a8cd(_0x1742c1(0x72),null);});}async[_0x31371f(0x7e)](_0x1a093f,_0x3ce7e7){const _0x181824=_0x31371f,_0x489c3b=this[_0x181824(0x88)][_0x181824(0x82)],_0x42a18f={'Content-Type':_0x181824(0x76)};if(_0x181824(0x7a)==typeof _0x1a093f)Object[_0x181824(0x8e)](_0x42a18f,_0x1a093f);else{if(_0x1a093f)try{const _0x3b7b08=await _0x1a093f(_0x3ce7e7);Object[_0x181824(0x8e)](_0x42a18f,_0x3b7b08);}catch{return Promise[_0x181824(0x73)](new _0x5696bc(_0x3094dd(_0x489c3b,_0x181824(0x70))));}}return _0x42a18f;}async[_0x31371f(0x8b)](_0x4276c3,_0x2fb27d){const _0x31da6f=_0x31371f,_0x20fb67=this[_0x31da6f(0x88)][_0x31da6f(0x82)];if(_0x31da6f(0x7a)==typeof _0x4276c3)return _0x4276c3;try{return await _0x4276c3(_0x2fb27d);}catch{return Promise[_0x31da6f(0x73)](new _0x5696bc(_0x3094dd(_0x20fb67,_0x31da6f(0x8a))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x173e2a=_0x1186;(function(_0x470875,_0x379b9f){var _0x56e2db=_0x1186,_0x434751=_0x470875();while(!![]){try{var _0x56285d=parseInt(_0x56e2db(0x129))/0x1+parseInt(_0x56e2db(0x133))/0x2+parseInt(_0x56e2db(0x134))/0x3*(parseInt(_0x56e2db(0x12c))/0x4)+parseInt(_0x56e2db(0x139))/0x5+parseInt(_0x56e2db(0x130))/0x6*(parseInt(_0x56e2db(0x12b))/0x7)+parseInt(_0x56e2db(0x12a))/0x8+-parseInt(_0x56e2db(0x12f))/0x9;if(_0x56285d===_0x379b9f)break;else _0x434751['push'](_0x434751['shift']());}catch(_0x5570cc){_0x434751['push'](_0x434751['shift']());}}}(_0x2eb8,0xbaf93));function _0x2eb8(){var _0x49c01b=['5738344TKRcPP','63uygkDk','29116TTkHyr','locale','ai-aws-adapter-not-supported','32950710juQiqP','947046scusKZ','pluginName','editor','956654HBuZsh','300GQJOIm','AWSTextAdapter','AI_ERROR_AWS_NOT_SUPPORTED','sendRequest','init','1337500gvcXeu','815444CoJXkb'];_0x2eb8=function(){return _0x49c01b;};return _0x2eb8();}import{AITextAdapter as _0x29af04}from'./aitextadapter.js';import{AIRequestError as _0x9bb9a2}from'./aiadapter.js';function _0x1186(_0x293701,_0x53b036){var _0x2eb8ef=_0x2eb8();return _0x1186=function(_0x1186eb,_0x7a26d6){_0x1186eb=_0x1186eb-0x129;var _0x2aaa1c=_0x2eb8ef[_0x1186eb];return _0x2aaa1c;},_0x1186(_0x293701,_0x53b036);}import{getTranslation as _0x4a7b6f}from'../utils/common-translations.js';import{logWarning as _0x489b64,logError as _0x3d7c97}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x29af04{static get[_0x173e2a(0x131)](){var _0x33d6b9=_0x173e2a;return _0x33d6b9(0x135);}[_0x173e2a(0x138)](){var _0x3a2ad5=_0x173e2a;super[_0x3a2ad5(0x138)](),_0x489b64(_0x3a2ad5(0x12e));}async[_0x173e2a(0x137)](_0x1e0084){var _0x224419=_0x173e2a;throw _0x3d7c97(_0x224419(0x12e)),new _0x9bb9a2(_0x4a7b6f(this[_0x224419(0x132)][_0x224419(0x12d)],_0x224419(0x136)));}}
23
+ var _0x403a63=_0x56dc;(function(_0xa6844e,_0x289020){var _0x55c455=_0x56dc,_0x5403d0=_0xa6844e();while(!![]){try{var _0x26bffc=-parseInt(_0x55c455(0xe3))/0x1*(-parseInt(_0x55c455(0xdf))/0x2)+-parseInt(_0x55c455(0xce))/0x3*(parseInt(_0x55c455(0xdb))/0x4)+-parseInt(_0x55c455(0xd0))/0x5*(-parseInt(_0x55c455(0xd2))/0x6)+-parseInt(_0x55c455(0xe0))/0x7*(parseInt(_0x55c455(0xd5))/0x8)+parseInt(_0x55c455(0xda))/0x9*(parseInt(_0x55c455(0xdc))/0xa)+-parseInt(_0x55c455(0xd7))/0xb*(parseInt(_0x55c455(0xd4))/0xc)+-parseInt(_0x55c455(0xdd))/0xd*(-parseInt(_0x55c455(0xcf))/0xe);if(_0x26bffc===_0x289020)break;else _0x5403d0['push'](_0x5403d0['shift']());}catch(_0x2cf054){_0x5403d0['push'](_0x5403d0['shift']());}}}(_0x369f,0x44918));import{AITextAdapter as _0xd247d8}from'./aitextadapter.js';import{AIRequestError as _0x5e2219}from'./aiadapter.js';import{getTranslation as _0x51eb0f}from'../utils/common-translations.js';import{logWarning as _0xa73cc4,logError as _0x361df7}from'ckeditor5/src/utils.js';function _0x56dc(_0x268f34,_0x2012a8){var _0x369fca=_0x369f();return _0x56dc=function(_0x56dcff,_0x4c2904){_0x56dcff=_0x56dcff-0xce;var _0x64e0e7=_0x369fca[_0x56dcff];return _0x64e0e7;},_0x56dc(_0x268f34,_0x2012a8);}export class AWSTextAdapter extends _0xd247d8{static get[_0x403a63(0xe1)](){var _0x43e7a3=_0x403a63;return _0x43e7a3(0xd3);}[_0x403a63(0xde)](){var _0x27fca1=_0x403a63;super[_0x27fca1(0xde)](),_0xa73cc4(_0x27fca1(0xd9));}async[_0x403a63(0xe2)](_0x20329a){var _0x5f0b99=_0x403a63;throw _0x361df7(_0x5f0b99(0xd9)),new _0x5e2219(_0x51eb0f(this[_0x5f0b99(0xd1)][_0x5f0b99(0xd6)],_0x5f0b99(0xd8)));}}function _0x369f(){var _0x255263=['275751MiUxEm','pluginName','sendRequest','31436ecodZr','830193VZCLOW','14pRKHTu','8115BGzKIJ','editor','24MPRyhK','AWSTextAdapter','72OXYmEW','96ZCweVk','locale','744469rzThRj','AI_ERROR_AWS_NOT_SUPPORTED','ai-aws-adapter-not-supported','234bzdmxF','8uICuFD','31630gxAaSg','15804230FQMXHR','init','26BilVoH'];_0x369f=function(){return _0x255263;};return _0x369f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1abac0=_0x34ff;(function(_0x451d18,_0x247b2c){const _0x288620=_0x34ff,_0x550a3a=_0x451d18();while(!![]){try{const _0x49b88a=-parseInt(_0x288620(0x167))/0x1+-parseInt(_0x288620(0x179))/0x2*(parseInt(_0x288620(0x16b))/0x3)+parseInt(_0x288620(0x164))/0x4*(-parseInt(_0x288620(0x141))/0x5)+-parseInt(_0x288620(0x180))/0x6*(parseInt(_0x288620(0x14b))/0x7)+parseInt(_0x288620(0x15a))/0x8+-parseInt(_0x288620(0x157))/0x9*(-parseInt(_0x288620(0x142))/0xa)+parseInt(_0x288620(0x16a))/0xb*(parseInt(_0x288620(0x147))/0xc);if(_0x49b88a===_0x247b2c)break;else _0x550a3a['push'](_0x550a3a['shift']());}catch(_0x1c7fe0){_0x550a3a['push'](_0x550a3a['shift']());}}}(_0xfb75,0xae17c));function _0x34ff(_0x145f7c,_0xf9dcb2){const _0xfb75d1=_0xfb75();return _0x34ff=function(_0x34ffda,_0x5d632a){_0x34ffda=_0x34ffda-0x139;let _0x12a0d5=_0xfb75d1[_0x34ffda];return _0x12a0d5;},_0x34ff(_0x145f7c,_0xf9dcb2);}import{AITextAdapter as _0x3c9403}from'./aitextadapter.js';import{AIRequestError as _0x2bad83}from'./aiadapter.js';import{getTranslation as _0x16ec2e}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x3c9403{[_0x1abac0(0x14d)];[_0x1abac0(0x145)];[_0x1abac0(0x161)];static get[_0x1abac0(0x15d)](){const _0x227f29=_0x1abac0;return _0x227f29(0x14f);}constructor(_0x4d70e1){const _0x4b5691=_0x1abac0;super(_0x4d70e1),_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x15b)](_0x4b5691(0x174),_0x4b5691(0x16f)),_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x16c))||_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x15b)](_0x4b5691(0x16c),{'model':_0x4b5691(0x146),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x4b5691(0x14d)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x174)),this[_0x4b5691(0x145)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x176))||{},this[_0x4b5691(0x161)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x16c));}async[_0x1abac0(0x159)]({query:_0x18c2a9,context:_0x15510c,onData:_0x71e6a2,actionId:_0x85daf8}){const _0x10e1bf=_0x1abac0,_0x369a0f=this[_0x10e1bf(0x170)][_0x10e1bf(0x154)],_0x1cfc1a=await this[_0x10e1bf(0x13c)](_0x18c2a9,_0x15510c,_0x85daf8),_0x322a2c=await this[_0x10e1bf(0x172)](this[_0x10e1bf(0x145)],_0x85daf8),_0x2cc8d9=await this[_0x10e1bf(0x15e)](this[_0x10e1bf(0x161)],_0x85daf8),_0x55923c={'messages':_0x1cfc1a,..._0x2cc8d9},_0x6fc555={'method':_0x10e1bf(0x13b),'headers':_0x322a2c,'body':JSON[_0x10e1bf(0x160)](_0x55923c),'signal':this[_0x10e1bf(0x175)][_0x10e1bf(0x13a)]},_0x4ab719=await fetch(this[_0x10e1bf(0x14d)],_0x6fc555);if(_0x4ab719['ok'])return _0x2cc8d9[_0x10e1bf(0x163)]?await this[_0x10e1bf(0x148)](_0x4ab719,_0x71e6a2):await this[_0x10e1bf(0x150)](_0x4ab719,_0x71e6a2),Promise[_0x10e1bf(0x177)]();{const _0x4b9e96=await _0x4ab719[_0x10e1bf(0x168)]();return _0x4b9e96[_0x10e1bf(0x158)](_0x10e1bf(0x140))?Promise[_0x10e1bf(0x17a)](new _0x2bad83(_0x16ec2e(_0x369a0f,_0x10e1bf(0x17f)))):_0x4b9e96[_0x10e1bf(0x158)](_0x10e1bf(0x17c))?Promise[_0x10e1bf(0x17a)](new _0x2bad83(_0x16ec2e(_0x369a0f,_0x10e1bf(0x155)))):Promise[_0x10e1bf(0x17a)](new Error(_0x4b9e96));}}async[_0x1abac0(0x13c)](_0x493a24,_0x4253fb,_0x32200c){const _0x1cd117=_0x1abac0;let _0x15de61,_0x29ff9b;return _0x4253fb?(_0x15de61=_0x1cd117(0x153),_0x29ff9b=_0x1cd117(0x166)+_0x493a24+_0x1cd117(0x15f)+_0x4253fb):(_0x15de61=_0x1cd117(0x143),_0x29ff9b=_0x493a24),[{'role':_0x1cd117(0x139),'content':_0x15de61},{'role':_0x1cd117(0x178),'content':_0x29ff9b}];}async[_0x1abac0(0x148)](_0x9afb40,_0x481224){const _0x4aeae7=_0x1abac0,_0x42eab0=_0x9afb40[_0x4aeae7(0x149)][_0x4aeae7(0x13f)](),_0x1a1bd7=new TextDecoder();let _0x4f5e11='',_0x4f50d3='',_0x22f2d7='',_0x2350f8=!0x1;for(;!_0x2350f8;){const {done:_0x5699d8,value:_0x45ef72}=await _0x42eab0[_0x4aeae7(0x16d)](),_0x39f9ab=_0x4f5e11+_0x1a1bd7[_0x4aeae7(0x16e)](_0x45ef72);let _0x311726='';_0x2350f8=_0x5699d8;try{_0x311726=this[_0x4aeae7(0x169)](_0x39f9ab),_0x4f5e11='';}catch{_0x4f5e11=_0x39f9ab;continue;}_0x4f50d3+=_0x311726,!_0x2350f8&&this[_0x4aeae7(0x17b)](_0x4f50d3)||_0x4f50d3&&(_0x22f2d7+=_0x4f50d3,_0x4f50d3='',_0x481224(_0x22f2d7));}return Promise[_0x4aeae7(0x177)]();}async[_0x1abac0(0x150)](_0x2d5543,_0x25cdbb){const _0x1326e9=_0x1abac0;return _0x25cdbb((await _0x2d5543[_0x1326e9(0x152)]())[_0x1326e9(0x14c)][0x0][_0x1326e9(0x13e)][_0x1326e9(0x173)]),Promise[_0x1326e9(0x177)]();}[_0x1abac0(0x17b)](_0x44f4ed){const _0x1b1d16=_0x1abac0,_0x1ba4b2=_0x44f4ed[_0x1b1d16(0x151)]('<')[_0x1b1d16(0x17d)]!==_0x44f4ed[_0x1b1d16(0x151)]('>')[_0x1b1d16(0x17d)],_0x2b071d=_0x44f4ed[_0x1b1d16(0x17d)]<0x1e;return _0x1ba4b2&&_0x2b071d;}[_0x1abac0(0x169)](_0x190e85){const _0x403706=_0x1abac0;return _0x190e85[_0x403706(0x151)](/\n(?![^{]*\})/g)[_0x403706(0x156)](_0x4ceecc=>_0x4ceecc[_0x403706(0x14e)](_0x403706(0x165),''))[_0x403706(0x14a)](_0x353bec=>_0x353bec&&_0x353bec[_0x403706(0x17d)]>0x0&&_0x403706(0x162)!==_0x353bec)[_0x403706(0x156)](_0x560716=>{const _0x282e12=_0x403706,{choices:_0x492e06}=JSON[_0x282e12(0x17e)](_0x560716);if(_0x492e06[0x0]?.[_0x282e12(0x15c)]?.[_0x282e12(0x173)])return _0x492e06[0x0][_0x282e12(0x15c)][_0x282e12(0x173)];})[_0x403706(0x14a)](_0xe29dd4=>_0xe29dd4)[_0x403706(0x13d)]('');}}function _0xfb75(){const _0x1f84cd=['ai.assistant.adapter.openAI.requestParameters','read','decode','https://api.openai.com/v1/chat/completions','editor','get','_prepareRequestHeaders','content','ai.assistant.adapter.openAI.apiUrl','abortController','ai.assistant.adapter.openAI.requestHeaders','resolve','user','2393666eONgaj','reject','_isBufferIncomplete','Moderation','length','parse','AI_ERROR_CONTEXT_LENGTH','102AFJgeG','system','signal','POST','prepareMessages','join','message','getReader','context_length_exceeded','3615npzfBv','1770ntCeza','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','config','_requestHeaders','gpt-4o','1356AaRlDy','_readStreamableResponse','body','filter','511378RyaFPh','choices','_apiUrl','replace','OpenAITextAdapter','_readStaticResponse','split','json','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','locale','AI_ERROR_MODERATION','map','5931aefxSS','includes','sendRequest','4966888HPgynT','define','delta','pluginName','_prepareRequestParameters','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','stringify','_requestParameters','[DONE]','stream','3176xwTkoI','data:\x20','Instruction:\x0a','311998fGJPvT','text','_cleanUpData','321277boXEtD','3tsFBdl'];_0xfb75=function(){return _0x1f84cd;};return _0xfb75();}
23
+ const _0x8c3dbc=_0x24d0;function _0x286a(){const _0x4e9241=['signal','1187937dhyYEh','parse','resolve','context_length_exceeded','system','locale','ai.assistant.adapter.openAI.requestParameters','966296fykilY','25xQSnlu','POST','abortController','editor','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','map','gpt-4o','getReader','_isBufferIncomplete','stringify','2056998eChKJb','split','62973HltAUV','data:\x20','AI_ERROR_MODERATION','replace','[DONE]','12903327ORgyJJ','define','stream','4184EMutrW','message','ai.assistant.adapter.openAI.apiUrl','delta','47376000RlwVtp','length','join','pluginName','https://api.openai.com/v1/chat/completions','AI_ERROR_CONTEXT_LENGTH','_readStaticResponse','text','content','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','_requestParameters','8491xlLAuN','config','_apiUrl','user','_prepareRequestParameters','json','reject','get','includes','sendRequest','_readStreamableResponse','_cleanUpData','Moderation','prepareMessages','ai.assistant.adapter.openAI.requestHeaders','read','Instruction:\x0a','choices','filter','OpenAITextAdapter','decode','4qNVGNr','_prepareRequestHeaders','body','_requestHeaders'];_0x286a=function(){return _0x4e9241;};return _0x286a();}function _0x24d0(_0x5b2fd9,_0x35964a){const _0x286aff=_0x286a();return _0x24d0=function(_0x24d0ad,_0x4ffe0f){_0x24d0ad=_0x24d0ad-0x6e;let _0x9ec9f5=_0x286aff[_0x24d0ad];return _0x9ec9f5;},_0x24d0(_0x5b2fd9,_0x35964a);}(function(_0x4401d0,_0x3e5743){const _0x33ff36=_0x24d0,_0xf50316=_0x4401d0();while(!![]){try{const _0x50131e=parseInt(_0x33ff36(0x7b))/0x1*(parseInt(_0x33ff36(0xa7))/0x2)+-parseInt(_0x33ff36(0xac))/0x3+parseInt(_0x33ff36(0xb3))/0x4+-parseInt(_0x33ff36(0x6e))/0x5*(parseInt(_0x33ff36(0x79))/0x6)+-parseInt(_0x33ff36(0x92))/0x7*(parseInt(_0x33ff36(0x83))/0x8)+-parseInt(_0x33ff36(0x80))/0x9+parseInt(_0x33ff36(0x87))/0xa;if(_0x50131e===_0x3e5743)break;else _0xf50316['push'](_0xf50316['shift']());}catch(_0x33ae14){_0xf50316['push'](_0xf50316['shift']());}}}(_0x286a,0xe249a));import{AITextAdapter as _0x30518d}from'./aitextadapter.js';import{AIRequestError as _0x4ef7cc}from'./aiadapter.js';import{getTranslation as _0x9752c4}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x30518d{[_0x8c3dbc(0x94)];[_0x8c3dbc(0xaa)];[_0x8c3dbc(0x91)];static get[_0x8c3dbc(0x8a)](){const _0x15b9e8=_0x8c3dbc;return _0x15b9e8(0xa5);}constructor(_0x5cccee){const _0x547e81=_0x8c3dbc;super(_0x5cccee),_0x5cccee[_0x547e81(0x93)][_0x547e81(0x81)](_0x547e81(0x85),_0x547e81(0x8b)),_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0xb2))||_0x5cccee[_0x547e81(0x93)][_0x547e81(0x81)](_0x547e81(0xb2),{'model':_0x547e81(0x75),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x547e81(0x94)]=_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0x85)),this[_0x547e81(0xaa)]=_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0xa0))||{},this[_0x547e81(0x91)]=_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0xb2));}async[_0x8c3dbc(0x9b)]({query:_0x3f75af,context:_0x49457b,onData:_0xb950c2,actionId:_0xf3f203}){const _0x127517=_0x8c3dbc,_0x1f060c=this[_0x127517(0x71)][_0x127517(0xb1)],_0xe71acf=await this[_0x127517(0x9f)](_0x3f75af,_0x49457b,_0xf3f203),_0x4cf8ad=await this[_0x127517(0xa8)](this[_0x127517(0xaa)],_0xf3f203),_0x558b80=await this[_0x127517(0x96)](this[_0x127517(0x91)],_0xf3f203),_0x24b24a={'messages':_0xe71acf,..._0x558b80},_0x544645={'method':_0x127517(0x6f),'headers':_0x4cf8ad,'body':JSON[_0x127517(0x78)](_0x24b24a),'signal':this[_0x127517(0x70)][_0x127517(0xab)]},_0x232632=await fetch(this[_0x127517(0x94)],_0x544645);if(_0x232632['ok'])return _0x558b80[_0x127517(0x82)]?await this[_0x127517(0x9c)](_0x232632,_0xb950c2):await this[_0x127517(0x8d)](_0x232632,_0xb950c2),Promise[_0x127517(0xae)]();{const _0x30e1af=await _0x232632[_0x127517(0x8e)]();return _0x30e1af[_0x127517(0x9a)](_0x127517(0xaf))?Promise[_0x127517(0x98)](new _0x4ef7cc(_0x9752c4(_0x1f060c,_0x127517(0x8c)))):_0x30e1af[_0x127517(0x9a)](_0x127517(0x9e))?Promise[_0x127517(0x98)](new _0x4ef7cc(_0x9752c4(_0x1f060c,_0x127517(0x7d)))):Promise[_0x127517(0x98)](new Error(_0x30e1af));}}async[_0x8c3dbc(0x9f)](_0x4f0f66,_0x3e4779,_0x173fdb){const _0x357b79=_0x8c3dbc;let _0x73d25a,_0x3af707;return _0x3e4779?(_0x73d25a=_0x357b79(0x90),_0x3af707=_0x357b79(0xa2)+_0x4f0f66+_0x357b79(0x72)+_0x3e4779):(_0x73d25a=_0x357b79(0x73),_0x3af707=_0x4f0f66),[{'role':_0x357b79(0xb0),'content':_0x73d25a},{'role':_0x357b79(0x95),'content':_0x3af707}];}async[_0x8c3dbc(0x9c)](_0x7db43,_0x13917e){const _0x1288fc=_0x8c3dbc,_0x4c9bb0=_0x7db43[_0x1288fc(0xa9)][_0x1288fc(0x76)](),_0x56df4e=new TextDecoder();let _0x4d9f7c='',_0x4b6e2f='',_0x5e4128='',_0x3133fe=!0x1;for(;!_0x3133fe;){const {done:_0xbe517d,value:_0x3502a6}=await _0x4c9bb0[_0x1288fc(0xa1)](),_0x4995c0=_0x4d9f7c+_0x56df4e[_0x1288fc(0xa6)](_0x3502a6);let _0x142c2a='';_0x3133fe=_0xbe517d;try{_0x142c2a=this[_0x1288fc(0x9d)](_0x4995c0),_0x4d9f7c='';}catch{_0x4d9f7c=_0x4995c0;continue;}_0x4b6e2f+=_0x142c2a,!_0x3133fe&&this[_0x1288fc(0x77)](_0x4b6e2f)||_0x4b6e2f&&(_0x5e4128+=_0x4b6e2f,_0x4b6e2f='',_0x13917e(_0x5e4128));}return Promise[_0x1288fc(0xae)]();}async[_0x8c3dbc(0x8d)](_0x5e990f,_0x7e28bd){const _0x5222ed=_0x8c3dbc;return _0x7e28bd((await _0x5e990f[_0x5222ed(0x97)]())[_0x5222ed(0xa3)][0x0][_0x5222ed(0x84)][_0x5222ed(0x8f)]),Promise[_0x5222ed(0xae)]();}[_0x8c3dbc(0x77)](_0x3ddd40){const _0xa274d7=_0x8c3dbc,_0x3241df=_0x3ddd40[_0xa274d7(0x7a)]('<')[_0xa274d7(0x88)]!==_0x3ddd40[_0xa274d7(0x7a)]('>')[_0xa274d7(0x88)],_0x326667=_0x3ddd40[_0xa274d7(0x88)]<0x1e;return _0x3241df&&_0x326667;}[_0x8c3dbc(0x9d)](_0x23c5e4){const _0x564c51=_0x8c3dbc;return _0x23c5e4[_0x564c51(0x7a)](/\n(?![^{]*\})/g)[_0x564c51(0x74)](_0x3d7997=>_0x3d7997[_0x564c51(0x7e)](_0x564c51(0x7c),''))[_0x564c51(0xa4)](_0x295bfd=>_0x295bfd&&_0x295bfd[_0x564c51(0x88)]>0x0&&_0x564c51(0x7f)!==_0x295bfd)[_0x564c51(0x74)](_0x1fc6e6=>{const _0x34816c=_0x564c51,{choices:_0xa01e8a}=JSON[_0x34816c(0xad)](_0x1fc6e6);if(_0xa01e8a[0x0]?.[_0x34816c(0x86)]?.[_0x34816c(0x8f)])return _0xa01e8a[0x0][_0x34816c(0x86)][_0x34816c(0x8f)];})[_0x564c51(0xa4)](_0x5bad06=>_0x5bad06)[_0x564c51(0x89)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x561081=_0xfc7d;(function(_0x14ef0d,_0x194734){const _0x23b906=_0xfc7d,_0x10329=_0x14ef0d();while(!![]){try{const _0xe99fe3=parseInt(_0x23b906(0x1cf))/0x1+parseInt(_0x23b906(0x173))/0x2*(parseInt(_0x23b906(0x1be))/0x3)+-parseInt(_0x23b906(0x1d4))/0x4*(parseInt(_0x23b906(0x1bc))/0x5)+parseInt(_0x23b906(0x16d))/0x6+parseInt(_0x23b906(0x18a))/0x7+-parseInt(_0x23b906(0x166))/0x8+-parseInt(_0x23b906(0x19c))/0x9*(-parseInt(_0x23b906(0x1c6))/0xa);if(_0xe99fe3===_0x194734)break;else _0x10329['push'](_0x10329['shift']());}catch(_0x4d3ea8){_0x10329['push'](_0x10329['shift']());}}}(_0x5191,0x9af95));function _0xfc7d(_0x59fe23,_0x9f6c5d){const _0x519117=_0x5191();return _0xfc7d=function(_0xfc7d27,_0x1bc620){_0xfc7d27=_0xfc7d27-0x166;let _0x5dea4=_0x519117[_0xfc7d27];return _0x5dea4;},_0xfc7d(_0x59fe23,_0x9f6c5d);}import{Plugin as _0xe0a83b}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2507f9}from'./aiassistantui.js';import{AIAssistantEditing as _0x5e3226}from'./aiassistantediting.js';import{getTranslation as _0x3c6e35}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3e3d4a}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0xe0a83b{static get[_0x561081(0x19e)](){return[_0x2507f9,_0x5e3226];}static get[_0x561081(0x19f)](){const _0x94f049=_0x561081;return _0x94f049(0x175);}static get[_0x561081(0x188)](){return!0x0;}static get[_0x561081(0x199)](){return!0x0;}constructor(_0x1b772e){const _0x145df8=_0x561081;super(_0x1b772e);const _0x5e46ec=_0x1b772e[_0x145df8(0x1cd)],_0x2517f9=_0x1b772e[_0x145df8(0x19a)];_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x191),!0x0),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x1cc),getDefaultAICommands(_0x2517f9)),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x1d3),[]),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x18e),[]);let _0x5a59ff=_0x3e3d4a(_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x1cc)),_0x2517f9);const _0x4a9492=_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x1d3)),_0x541a4d=_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x18e));_0x4a9492[_0x145df8(0x17a)](_0x6fe8e6=>{const _0x399d7f=_0x145df8,_0x5ccce5=_0x5a59ff[_0x399d7f(0x1ab)](_0x332ab0=>_0x332ab0[_0x399d7f(0x19d)]===_0x6fe8e6[_0x399d7f(0x19d)]);_0x5ccce5?_0x5ccce5[_0x399d7f(0x17c)]=_0x5ccce5[_0x399d7f(0x17c)][_0x399d7f(0x184)](_0x6fe8e6[_0x399d7f(0x17c)]):_0x5a59ff[_0x399d7f(0x1a5)](_0x6fe8e6);}),_0x5a59ff=_0x5a59ff[_0x145df8(0x1b1)](_0x1ee2c1=>!_0x541a4d[_0x145df8(0x18b)](_0x1ee2c1[_0x145df8(0x19d)])),_0x5a59ff[_0x145df8(0x17a)](_0x3508cb=>{const _0x59ebfb=_0x145df8;_0x3508cb[_0x59ebfb(0x17c)]=_0x3508cb[_0x59ebfb(0x17c)][_0x59ebfb(0x1b1)](_0x5cdadf=>!_0x541a4d[_0x59ebfb(0x18b)](_0x5cdadf['id']));}),_0x5e46ec[_0x145df8(0x1c0)](_0x145df8(0x1cc),_0x5a59ff);}}function _0x5191(){const _0x1a836b=['Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Change\x20style','translateEnglish','translatePortuguese','Portuguese','translateChinese','105EQNVJx','Translate\x20the\x20content\x20to\x20English\x20language.','414489peAwom','translateArabic','set','simplifyLanguage','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','define','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','17950HHasrM','Translate\x20the\x20content\x20to\x20French\x20language.','business','translate','legal','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','ai.assistant.commands','config','poetic','1084400VYQYri','Continue','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Edit\x20or\x20review','ai.assistant.extraCommandGroups','210468tGYObG','6770672FPMnBz','Make\x20longer','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate','continue','translateSpanish','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','2796144iNTsTJ','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','English','makeShorter','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Make\x20shorter','2yvuIRO','Improve\x20writing','AIAssistant','translateFrench','direct','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Summarize','forEach','translateGerman','commands','changeTone','journalism','Arabic','Simplify\x20language','editOrReview','Change\x20tone','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','concat','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','summarize','Translate\x20the\x20content\x20to\x20German\x20language.','isOfficialPlugin','professional','2349494fxLPqI','includes','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Professional','ai.assistant.removeCommands','Business','French','ai.assistant.preserveComments','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Journalism','Confident','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Generate\x20from\x20selection','get','isPremiumPlugin','locale','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','2817jiSmcX','groupId','requires','pluginName','Casual','friendly','Poetic','Spanish','Legal','push','confident','Hindi','translateHindi','generate','Simplified\x20Chinese','find','makeLonger','German','Friendly','changeStyle','improveWriting','filter','casual','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Direct','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'];_0x5191=function(){return _0x1a836b;};return _0x5191();}export function getDefaultAICommands(_0x382e12){const _0x5851c5=_0x561081;return[{'groupId':_0x5851c5(0x181),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x1d2)),'commands':[{'id':_0x5851c5(0x1b0),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x174)),'prompt':_0x5851c5(0x19b)},{'id':_0x5851c5(0x170),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x172)),'prompt':_0x5851c5(0x1c2)},{'id':_0x5851c5(0x1ac),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x167)),'prompt':_0x5851c5(0x183)},{'id':_0x5851c5(0x1c1),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x180)),'prompt':_0x5851c5(0x178)}]},{'groupId':_0x5851c5(0x1a9),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x197)),'commands':[{'id':_0x5851c5(0x186),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x179)),'prompt':_0x5851c5(0x16e)},{'id':_0x5851c5(0x16a),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1d0)),'prompt':_0x5851c5(0x18c)}]},{'groupId':_0x5851c5(0x17d),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x182)),'commands':[{'id':_0x5851c5(0x189),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x18d)),'prompt':_0x5851c5(0x168)},{'id':_0x5851c5(0x1b2),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a0)),'prompt':_0x5851c5(0x1b6)},{'id':_0x5851c5(0x177),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1b4)),'prompt':_0x5851c5(0x16c)},{'id':_0x5851c5(0x1a6),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x195)),'prompt':_0x5851c5(0x1cb)},{'id':_0x5851c5(0x1a1),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ae)),'prompt':_0x5851c5(0x1d1)}]},{'groupId':_0x5851c5(0x1af),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x1b7)),'commands':[{'id':_0x5851c5(0x1c8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x18f)),'prompt':_0x5851c5(0x185)},{'id':_0x5851c5(0x1ca),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a4)),'prompt':_0x5851c5(0x196)},{'id':_0x5851c5(0x17e),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x194)),'prompt':_0x5851c5(0x193)},{'id':_0x5851c5(0x1ce),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a2)),'prompt':_0x5851c5(0x171)}]},{'groupId':_0x5851c5(0x1c9),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x169)),'commands':[{'id':_0x5851c5(0x1b8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x16f)),'prompt':_0x5851c5(0x1bd)},{'id':_0x5851c5(0x16b),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a3)),'prompt':_0x5851c5(0x1b3)},{'id':_0x5851c5(0x1b9),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ba)),'prompt':_0x5851c5(0x1c5)},{'id':_0x5851c5(0x17b),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ad)),'prompt':_0x5851c5(0x187)},{'id':_0x5851c5(0x176),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x190)),'prompt':_0x5851c5(0x1c7)},{'id':_0x5851c5(0x1bb),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1aa)),'prompt':_0x5851c5(0x1b5)},{'id':_0x5851c5(0x1a8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a7)),'prompt':_0x5851c5(0x192)},{'id':_0x5851c5(0x1bf),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x17f)),'prompt':_0x5851c5(0x1c3)}]}];}
23
+ const _0x3a4cf3=_0x2ae8;function _0x8b4f(){const _0x5d24bc=['summarize','friendly','direct','Arabic','push','Hindi','set','translate','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','translateSpanish','filter','translateFrench','translateGerman','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','get','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','makeShorter','Confident','legal','find','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','529184YOtoHv','German','French','business','Translate\x20the\x20content\x20to\x20English\x20language.','Journalism','ai.assistant.preserveComments','translateChinese','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','includes','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Portuguese','casual','commands','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','journalism','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Summarize','editOrReview','Make\x20longer','poetic','translateArabic','Simplified\x20Chinese','Improve\x20writing','666670uSwCSQ','makeLonger','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','continue','requires','config','1925165UHKDnf','translateEnglish','simplifyLanguage','Translate','Make\x20shorter','518304KQMcQp','Friendly','Spanish','changeTone','Change\x20tone','Poetic','pluginName','50ZNGMnU','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','10zqHkyu','Direct','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','ai.assistant.extraCommandGroups','Business','translateHindi','translatePortuguese','Translate\x20the\x20content\x20to\x20German\x20language.','locale','groupId','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','confident','Translate\x20the\x20content\x20to\x20French\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','AIAssistant','Edit\x20or\x20review','Generate\x20from\x20selection','39PPOAHD','generate','Continue','isPremiumPlugin','professional','ai.assistant.removeCommands','English','6867360GSPUlr','changeStyle','define','115258stddVV','Legal','Simplify\x20language','concat','Professional','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','ai.assistant.commands','Casual','forEach','42zwkCgq','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','322194yRhyiT','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Change\x20style','isOfficialPlugin','improveWriting','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'];_0x8b4f=function(){return _0x5d24bc;};return _0x8b4f();}(function(_0x97e982,_0x3c9e2d){const _0x4eb5e8=_0x2ae8,_0x3d4054=_0x97e982();while(!![]){try{const _0x128c8b=parseInt(_0x4eb5e8(0xee))/0x1+parseInt(_0x4eb5e8(0x11e))/0x2*(-parseInt(_0x4eb5e8(0x114))/0x3)+-parseInt(_0x4eb5e8(0xd6))/0x4+parseInt(_0x4eb5e8(0x102))/0x5*(parseInt(_0x4eb5e8(0x129))/0x6)+-parseInt(_0x4eb5e8(0x127))/0x7*(-parseInt(_0x4eb5e8(0xf9))/0x8)+-parseInt(_0x4eb5e8(0x11b))/0x9+-parseInt(_0x4eb5e8(0x100))/0xa*(-parseInt(_0x4eb5e8(0xf4))/0xb);if(_0x128c8b===_0x3c9e2d)break;else _0x3d4054['push'](_0x3d4054['shift']());}catch(_0x31dcfd){_0x3d4054['push'](_0x3d4054['shift']());}}}(_0x8b4f,0x6008e));import{Plugin as _0x58202f}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x44021c}from'./aiassistantui.js';import{AIAssistantEditing as _0x29b023}from'./aiassistantediting.js';function _0x2ae8(_0x35e637,_0x2eb67e){const _0x8b4f83=_0x8b4f();return _0x2ae8=function(_0x2ae87f,_0x3fe8fe){_0x2ae87f=_0x2ae87f-0xc3;let _0x42f400=_0x8b4f83[_0x2ae87f];return _0x42f400;},_0x2ae8(_0x35e637,_0x2eb67e);}import{getTranslation as _0x364fdf}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3b3ef4}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x58202f{static get[_0x3a4cf3(0xf2)](){return[_0x44021c,_0x29b023];}static get[_0x3a4cf3(0xff)](){const _0x566a80=_0x3a4cf3;return _0x566a80(0x111);}static get[_0x3a4cf3(0x12d)](){return!0x0;}static get[_0x3a4cf3(0x117)](){return!0x0;}constructor(_0xabaea3){const _0x4d0961=_0x3a4cf3;super(_0xabaea3);const _0x2a13f5=_0xabaea3[_0x4d0961(0xf3)],_0x3f86b4=_0xabaea3[_0x4d0961(0x10a)];_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0xdc),!0x0),_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0x124),getDefaultAICommands(_0x3f86b4)),_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0x105),[]),_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0x119),[]);let _0x5bd7b0=_0x3b3ef4(_0x2a13f5[_0x4d0961(0xce)](_0x4d0961(0x124)),_0x3f86b4);const _0x4233f8=_0x2a13f5[_0x4d0961(0xce)](_0x4d0961(0x105)),_0xf3cdb=_0x2a13f5[_0x4d0961(0xce)](_0x4d0961(0x119));_0x4233f8[_0x4d0961(0x126)](_0x6b28a2=>{const _0x29d035=_0x4d0961,_0xa4e8a1=_0x5bd7b0[_0x29d035(0xd4)](_0x1da663=>_0x1da663[_0x29d035(0x10b)]===_0x6b28a2[_0x29d035(0x10b)]);_0xa4e8a1?_0xa4e8a1[_0x29d035(0xe3)]=_0xa4e8a1[_0x29d035(0xe3)][_0x29d035(0x121)](_0x6b28a2[_0x29d035(0xe3)]):_0x5bd7b0[_0x29d035(0xc4)](_0x6b28a2);}),_0x5bd7b0=_0x5bd7b0[_0x4d0961(0xca)](_0x71adc9=>!_0xf3cdb[_0x4d0961(0xdf)](_0x71adc9[_0x4d0961(0x10b)])),_0x5bd7b0[_0x4d0961(0x126)](_0x363ba3=>{const _0x591ce0=_0x4d0961;_0x363ba3[_0x591ce0(0xe3)]=_0x363ba3[_0x591ce0(0xe3)][_0x591ce0(0xca)](_0x13c770=>!_0xf3cdb[_0x591ce0(0xdf)](_0x13c770['id']));}),_0x2a13f5[_0x4d0961(0xc6)](_0x4d0961(0x124),_0x5bd7b0);}}export function getDefaultAICommands(_0xe78f44){const _0x1de09e=_0x3a4cf3;return[{'groupId':_0x1de09e(0xe8),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0x112)),'commands':[{'id':_0x1de09e(0x12e),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xed)),'prompt':_0x1de09e(0x10d)},{'id':_0x1de09e(0xd1),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xf8)),'prompt':_0x1de09e(0xe6)},{'id':_0x1de09e(0xef),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xe9)),'prompt':_0x1de09e(0xde)},{'id':_0x1de09e(0xf6),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x120)),'prompt':_0x1de09e(0x10c)}]},{'groupId':_0x1de09e(0x115),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0x113)),'commands':[{'id':_0x1de09e(0x130),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xe7)),'prompt':_0x1de09e(0xcd)},{'id':_0x1de09e(0xf1),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x116)),'prompt':_0x1de09e(0xcf)}]},{'groupId':_0x1de09e(0xfc),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0xfd)),'commands':[{'id':_0x1de09e(0x118),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x122)),'prompt':_0x1de09e(0xd5)},{'id':_0x1de09e(0xe2),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x125)),'prompt':_0x1de09e(0x104)},{'id':_0x1de09e(0x132),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x103)),'prompt':_0x1de09e(0x101)},{'id':_0x1de09e(0x10e),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xd2)),'prompt':_0x1de09e(0x12f)},{'id':_0x1de09e(0x131),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xfa)),'prompt':_0x1de09e(0xf0)}]},{'groupId':_0x1de09e(0x11c),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0x12c)),'commands':[{'id':_0x1de09e(0xd9),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x106)),'prompt':_0x1de09e(0x110)},{'id':_0x1de09e(0xd3),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x11f)),'prompt':_0x1de09e(0xe4)},{'id':_0x1de09e(0xe5),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xdb)),'prompt':_0x1de09e(0xd0)},{'id':_0x1de09e(0xea),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xfe)),'prompt':_0x1de09e(0x123)}]},{'groupId':_0x1de09e(0xc7),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0xf7)),'commands':[{'id':_0x1de09e(0xf5),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x11a)),'prompt':_0x1de09e(0xda)},{'id':_0x1de09e(0xc9),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xfb)),'prompt':_0x1de09e(0x12a)},{'id':_0x1de09e(0x108),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xe1)),'prompt':_0x1de09e(0x128)},{'id':_0x1de09e(0xcc),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xd7)),'prompt':_0x1de09e(0x109)},{'id':_0x1de09e(0xcb),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xd8)),'prompt':_0x1de09e(0x10f)},{'id':_0x1de09e(0xdd),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xec)),'prompt':_0x1de09e(0xc8)},{'id':_0x1de09e(0x107),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xc5)),'prompt':_0x1de09e(0x12b)},{'id':_0x1de09e(0xeb),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xc3)),'prompt':_0x1de09e(0xe0)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1c71(){const _0x143d58=['from','4404qfeLKB','parse','setSelection','push','document','fire','markerToHighlight','getRowIndexes','_getTableRowCountFromContent','selection','last','DataTransfer','ck-ai-assistant-ui_theme','ck-fake-ai-selection_collapsed','end','addMarker','afterInit','forEach','getRange','getSelectedBlocks','conversion','isCollapsed','2654400PPZdco','element','markerRange','has','834698bMdWHB','TableUtils','data','length','ck-fake-ai-selection','ai.assistant.useTheme','pluginName','deleteContent','isAtEnd','1jqDHxA','getMarkersGroup','getSelectedTableCells','map','markerToElement','_getDefaultInsertBelowPosition','9dyTxbx','showFakeVisualSelection','_getAISelection','getFirstRange','addClass','3596754ldCcDx','49znxHxB','once','schema','insertContentBelow','removeMarker','href','paste','isPremiumPlugin','text/html','getRanges','createRange','fromCharCode','833286icMgsu','isContent','createPositionAfter','lowest','filter','for','get','ai-ui','model','_pasteHTMLUsingClipboard','insertRows','getLastMatchingPosition','createSelection','_prepareTableInsertBelowPosition','_createEmptyTableRows','editingDowncast','pop','getLastPosition','span','5085WaVCuG','config','hideFakeVisualSelection','createPositionAt','createUIElement','resultRange','getChild','AIAssistantEditing','change','join','setData','getRows','updateMarker','editor','editing','markers','33230483inAAUU','getColumnIndexes','contentInsertion','start','getChildren','first','insertContent','findAncestor','_resetContentOfSelectedTableCells','canEditAt','isOfficialPlugin','table','init','off','plugins','9640850laAPWj'];_0x1c71=function(){return _0x143d58;};return _0x1c71();}const _0x55412f=_0x2d15;(function(_0x1b3190,_0x1db011){const _0x67f7b=_0x2d15,_0x4892b8=_0x1b3190();while(!![]){try{const _0x4eb1cb=parseInt(_0x67f7b(0x133))/0x1*(parseInt(_0x67f7b(0x12a))/0x2)+-parseInt(_0x67f7b(0x13e))/0x3+parseInt(_0x67f7b(0x110))/0x4*(-parseInt(_0x67f7b(0x15e))/0x5)+-parseInt(_0x67f7b(0x14b))/0x6*(-parseInt(_0x67f7b(0x13f))/0x7)+-parseInt(_0x67f7b(0x126))/0x8+parseInt(_0x67f7b(0x139))/0x9*(-parseInt(_0x67f7b(0x10e))/0xa)+parseInt(_0x67f7b(0xff))/0xb;if(_0x4eb1cb===_0x1db011)break;else _0x4892b8['push'](_0x4892b8['shift']());}catch(_0x221f74){_0x4892b8['push'](_0x4892b8['shift']());}}}(_0x1c71,0xc252d));import{uid as _0x3a1862}from'ckeditor5/src/utils.js';import{Plugin as _0x27286d}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x1c9043}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4bcacc,ViewDataTransfer as _0x3237d2}from'ckeditor5/src/engine.js';function _0x2d15(_0x4404e2,_0x1b09e4){const _0x1c71ff=_0x1c71();return _0x2d15=function(_0x2d155f,_0x2cb37d){_0x2d155f=_0x2d155f-0xfe;let _0x5ec7f2=_0x1c71ff[_0x2d155f];return _0x5ec7f2;},_0x2d15(_0x4404e2,_0x1b09e4);}const w=globalThis[_0x55412f(0x11b)],f=_0x55412f(0x152);export class AIAssistantEditing extends _0x27286d{static get[_0x55412f(0x130)](){const _0x5dae43=_0x55412f;return _0x5dae43(0x165);}static get[_0x55412f(0x109)](){return!0x0;}static get[_0x55412f(0x146)](){return!0x0;}[_0x55412f(0x10b)](){const _0x110080=_0x55412f,{editor:_0x187d5e}=this,_0x1f40c5=[_0x110080(0x12e)];_0x187d5e[_0x110080(0x15f)][_0x110080(0x151)](_0x110080(0x12f))&&_0x1f40c5[_0x110080(0x113)](_0x110080(0x11c)),_0x187d5e[_0x110080(0x124)][_0x110080(0x150)](_0x110080(0x15a))[_0x110080(0x116)]({'model':f,'view':{'classes':_0x1f40c5,'priority':0xc}}),_0x187d5e[_0x110080(0x124)][_0x110080(0x150)](_0x110080(0x15a))[_0x110080(0x137)]({'model':f,'view':(_0xe600c7,{writer:_0x4624d0})=>{const _0x1cbb56=_0x110080;if(!_0xe600c7[_0x1cbb56(0x128)][_0x1cbb56(0x125)])return null;const _0x2cf241=_0x4624d0[_0x1cbb56(0x162)](_0x1cbb56(0x15d));return _0x4624d0[_0x1cbb56(0x13d)]([_0x1cbb56(0x12e),_0x1cbb56(0x11d)],_0x2cf241),_0x2cf241;}});}[_0x55412f(0x120)](){!async function(_0x4be45e){const _0x107864=_0x3793b([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x3a68f2=0x3dffc4e1,_0x3ebf22=0x3df84cf1^_0x3a68f2,_0xdc7200=window[_0x3793b([0x44,0x61,0x74,0x65])][_0x3793b([0x6e,0x6f,0x77])](),_0x27123d=_0x4be45e[_0x3793b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15a9c9=new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4645ec=>{_0x27123d[_0x3793b([0x6f,0x6e,0x63,0x65])](_0x3793b([0x72,0x65,0x61,0x64,0x79]),_0x4645ec);}),_0x29792c={[_0x3793b([0x6b,0x74,0x79])]:_0x3793b([0x45,0x43]),[_0x3793b([0x75,0x73,0x65])]:_0x3793b([0x73,0x69,0x67]),[_0x3793b([0x63,0x72,0x76])]:_0x3793b([0x50,0x2d,0x32,0x35,0x36]),[_0x3793b([0x78])]:_0x3793b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3793b([0x79])]:_0x3793b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3793b([0x61,0x6c,0x67])]:_0x3793b([0x45,0x53,0x32,0x35,0x36])},_0x3f5bc0=_0x27123d[_0x3793b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3793b([0x67,0x65,0x74])](_0x3793b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e54a4(){let _0x5cde36,_0x56c733=null,_0x3d929d=null;try{if(_0x3f5bc0==_0x3793b([0x47,0x50,0x4c]))return _0x3793b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cde36=_0x54c0e7(),!_0x5cde36)return _0x3793b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cde36[_0x3793b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d929d=_0x307cad(_0x5cde36[_0x3793b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cde36[_0x3793b([0x6a,0x74,0x69])])),await _0xa7d391()?_0x152d48()?_0x4a1b4b()?_0x3793b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48bcab()?(_0x5cde36[_0x3793b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3793b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x56c733=_0x1f53fe(_0x3793b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5b0b10()):_0x3793b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3793b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3793b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3793b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a1b4b(){const _0x25cc50=[_0x3793b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3793b([0x74,0x72,0x69,0x61,0x6c])][_0x3793b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cde36[_0x3793b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdc7200/0x3e8:0xe10*_0x3ebf22;return _0x5cde36[_0x3793b([0x65,0x78,0x70])]<_0x25cc50;}function _0x152d48(){const _0x511452=_0x5cde36[_0x3793b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x511452&&(!!_0x511452[_0x3793b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3793b([0x2a]))||!!_0x511452[_0x3793b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3793b([0x41,0x49])));}function _0x48bcab(){const _0x395312=_0x2d15,_0x74b149=_0x5cde36[_0x3793b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x74b149||0x0==_0x74b149[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x107480}=new URL(window[_0x3793b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x395312(0x144)]);if(_0x74b149[_0x3793b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x107480))return!0x0;const _0x1b438f=_0x107480[_0x3793b([0x73,0x70,0x6c,0x69,0x74])](_0x3793b([0x2e]));return _0x74b149[_0x3793b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18fe62=>_0x18fe62[_0x3793b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3793b([0x2a])))[_0x3793b([0x6d,0x61,0x70])](_0xef38f5=>_0xef38f5[_0x3793b([0x73,0x70,0x6c,0x69,0x74])](_0x3793b([0x2e])))[_0x3793b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c290a=>_0x5c290a[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b438f[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3793b([0x6d,0x61,0x70])](_0x81803e=>Array(_0x1b438f[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x81803e[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3793b([0x66,0x69,0x6c,0x6c])](_0x81803e[0x0]===_0x3793b([0x2a])?_0x3793b([0x2a]):'')[_0x3793b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x81803e))[_0x3793b([0x73,0x6f,0x6d,0x65])](_0xba5074=>_0x1b438f[_0x3793b([0x65,0x76,0x65,0x72,0x79])]((_0x2061e4,_0x486feb)=>_0xba5074[_0x486feb]===_0x2061e4||_0xba5074[_0x486feb]===_0x3793b([0x2a])));}function _0x5b0b10(){return _0x56c733&&_0x3d929d?new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ac36a,_0x414d68)=>{_0x56c733[_0x3793b([0x74,0x68,0x65,0x6e])](_0x3ac36a,_0x414d68),_0x3d929d[_0x3793b([0x74,0x68,0x65,0x6e])](_0x4204d2=>{_0x4204d2!=_0x3793b([0x56,0x61,0x6c,0x69,0x64])&&_0x3ac36a(_0x4204d2);},_0x414d68);}):_0x56c733||_0x3d929d||_0x3793b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x307cad(_0x26ed1c,_0x593562){return new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d6713=>{if(_0x8cc3a())return _0x2d6713(_0x3793b([0x56,0x61,0x6c,0x69,0x64]));_0x324f2e(),_0x27123d[_0x3793b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3793b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c4f34=!0x1;const _0x3afc84=_0x3a1862();function _0x180f17(_0x546fc8){return!!_0x546fc8&&(typeof _0x546fc8===_0x3793b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x546fc8===_0x3793b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x546fc8[_0x3793b([0x74,0x68,0x65,0x6e])]===_0x3793b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x546fc8[_0x3793b([0x63,0x61,0x74,0x63,0x68])]===_0x3793b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3673a3(_0xfaa688){_0x4cc6e7(_0xfaa688)[_0x3793b([0x74,0x68,0x65,0x6e])](_0x445204=>{if(!_0x445204||_0x445204[_0x3793b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3793b([0x6f,0x6b]))return _0x3793b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4bd0c6(_0x29a954(_0x3afc84+_0x593562))!=_0x445204[_0x3793b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3793b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3793b([0x56,0x61,0x6c,0x69,0x64]);})[_0x3793b([0x74,0x68,0x65,0x6e])](_0xc41a0a=>(_0x21bef5(),_0xc41a0a),()=>{const _0x13db53=_0x4d8e16();return null==_0x13db53?(_0x21bef5(),_0x3793b([0x56,0x61,0x6c,0x69,0x64])):_0x3793b(_0xdc7200-_0x13db53>(0x19f340e1^_0x3a68f2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3793b([0x74,0x68,0x65,0x6e])](_0x2d6713)[_0x3793b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d6713(_0x3793b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a81cd=0x3dc92a61^_0x3a68f2;function _0x21bef5(){const _0x846503=_0x3793b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4bd0c6(_0x29a954(_0x26ed1c)),_0x532890=_0x28a6ae(_0x4bd0c6(window[_0x3793b([0x4d,0x61,0x74,0x68])][_0x3793b([0x63,0x65,0x69,0x6c])](_0xdc7200/_0x3a81cd)));window[_0x3793b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3793b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x846503,_0x532890);}function _0x4d8e16(){const _0x2c77f0=_0x3793b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4bd0c6(_0x29a954(_0x26ed1c)),_0x40765d=window[_0x3793b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3793b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c77f0);return _0x40765d?window[_0x3793b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28a6ae(_0x40765d),0x10)*_0x3a81cd:null;}function _0x4cc6e7(_0x7f5641){return new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24e209,_0x335345)=>{_0x7f5641[_0x3793b([0x74,0x68,0x65,0x6e])](_0x24e209,_0x335345),window[_0x3793b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x335345,0x3dfe1021^_0x3a68f2);});}}_0x27123d[_0x3793b([0x6f,0x6e])](_0x3793b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x565ea7,_0x266f14)=>{if(_0x266f14[0x0]!=_0x26ed1c)return _0x2d6713(_0x3793b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x266f14[0x1]={..._0x266f14[0x1],[_0x3793b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3afc84};},{[_0x3793b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3793b([0x68,0x69,0x67,0x68])}),_0x27123d[_0x3793b([0x6f,0x6e])](_0x3793b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x27e188=>{_0x180f17(_0x27e188[_0x3793b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c4f34=!0x0,_0x3673a3(_0x27e188[_0x3793b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3793b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3793b([0x6c,0x6f,0x77])}),_0x15a9c9[_0x3793b([0x74,0x68,0x65,0x6e])](()=>{_0x1c4f34||_0x2d6713(_0x3793b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8cc3a(){return _0x27123d[_0x3793b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3793b([0x76,0x69,0x65,0x77])][_0x3793b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3793b([0x61,0x75,0x74,0x6f]);}function _0x324f2e(){_0x27123d[_0x3793b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3793b([0x76,0x69,0x65,0x77])][_0x3793b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3793b([0x61,0x75,0x74,0x6f]);}}function _0x1f53fe(_0x5e2249){const _0x34776c=[new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b84d7=>setTimeout(_0x5b84d7,0x3df6fa2d^_0x3a68f2)),_0x15a9c9[_0x3793b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30b8f8=>{let _0x3abb8e=0x0;_0x27123d[_0x3793b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3793b([0x6f,0x6e])](_0x3793b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c8216,_0x26b20d)=>{_0x26b20d[0x0][_0x3793b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3abb8e++,_0x3abb8e==(0x3dffc109^_0x3a68f2)&&(_0x30b8f8(),_0x3c8216[_0x3793b([0x6f,0x66,0x66])]());});}))];return window[_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3793b([0x72,0x61,0x63,0x65])](_0x34776c)[_0x3793b([0x74,0x68,0x65,0x6e])](()=>_0x5e2249);}async function _0x1119b6(){await _0x15a9c9,_0x27123d[_0x3793b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3793b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf55a16,_0x27123d[_0x3793b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3793b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf55a16,_0x27123d[_0x3793b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3793b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x466d45(_0x8ac993){const _0x3397d4=_0x25f79c();_0x27123d[_0x3397d4]=_0x3793b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8ac993,_0x8ac993!=_0x3793b([0x56,0x61,0x6c,0x69,0x64])&&_0x1119b6();}function _0x25f79c(){const _0x452a1a=window[_0x3793b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3793b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3793b([0x6e,0x6f,0x77])]())[_0x3793b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3793b([0x2e]),'');let _0x2ca587=_0x3793b([0x6e]);for(let _0x64faac=0x0;_0x64faac<_0x452a1a[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x64faac+=0x2){let _0x264133=window[_0x3793b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x452a1a[_0x3793b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x64faac,_0x64faac+0x2));_0x264133>=_0x107864[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x264133-=_0x107864[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ca587+=_0x107864[_0x264133];}return _0x2ca587;}function _0x54c0e7(){const _0x5eabc9=_0x3f5bc0[_0x3793b([0x73,0x70,0x6c,0x69,0x74])](_0x3793b([0x2e]));if(0x3!=_0x5eabc9[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x88790c(_0x5eabc9[0x1]);function _0x88790c(_0x1660fe){const _0x39660c=_0x117782(_0x1660fe);return _0x39660c&&_0x3fb49f()?_0x39660c:null;function _0x3fb49f(){const _0x224775=_0x39660c[_0x3793b([0x6a,0x74,0x69])],_0x3e7b09=window[_0x3793b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x224775[_0x3793b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x224775[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26a738={..._0x39660c,[_0x3793b([0x6a,0x74,0x69])]:_0x224775[_0x3793b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x224775[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26a738[_0x3793b([0x76,0x63])],_0x29a954(_0x26a738)==_0x3e7b09;}}}async function _0xa7d391(){let _0x110917=!0x0;try{const _0xfcdc09=_0x3f5bc0[_0x3793b([0x73,0x70,0x6c,0x69,0x74])](_0x3793b([0x2e])),[_0x3a7d23,_0x446439,_0x537dbe]=_0xfcdc09;return _0x34a920(_0x3a7d23),await _0x40e2a8(_0x3a7d23,_0x446439,_0x537dbe),_0x110917;}catch{return!0x1;}function _0x34a920(_0x280218){const _0x1f502f=_0x117782(_0x280218);_0x1f502f&&_0x1f502f[_0x3793b([0x61,0x6c,0x67])]==_0x3793b([0x45,0x53,0x32,0x35,0x36])||(_0x110917=!0x1);}async function _0x40e2a8(_0x1811b2,_0x495242,_0x9401c2){const _0x14b234=window[_0x3793b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3793b([0x66,0x72,0x6f,0x6d])](_0x1a8acc(_0x9401c2),_0x26095e=>_0x26095e[_0x3793b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x189ce=new window[(_0x3793b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3793b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1811b2+_0x3793b([0x2e])+_0x495242),_0x3253b5=window[_0x3793b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3793b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3253b5)return;const _0x1f4c2b=await _0x3253b5[_0x3793b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3793b([0x6a,0x77,0x6b]),_0x29792c,{[_0x3793b([0x6e,0x61,0x6d,0x65])]:_0x3793b([0x45,0x43,0x44,0x53,0x41]),[_0x3793b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3793b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3793b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3253b5[_0x3793b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3793b([0x6e,0x61,0x6d,0x65])]:_0x3793b([0x45,0x43,0x44,0x53,0x41]),[_0x3793b([0x68,0x61,0x73,0x68])]:{[_0x3793b([0x6e,0x61,0x6d,0x65])]:_0x3793b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f4c2b,_0x14b234,_0x189ce)||(_0x110917=!0x1);}}function _0x117782(_0x5ecb74){return _0x5ecb74[_0x3793b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3793b([0x65,0x79]))?JSON[_0x3793b([0x70,0x61,0x72,0x73,0x65])](_0x1a8acc(_0x5ecb74)):null;}function _0x1a8acc(_0x58fabf){return window[_0x3793b([0x61,0x74,0x6f,0x62])](_0x58fabf[_0x3793b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3793b([0x2b]))[_0x3793b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3793b([0x2f])));}function _0x29a954(_0x1203ca){let _0x5a72de=0x1505;function _0x220457(_0x318e72){for(let _0x74c0e7=0x0;_0x74c0e7<_0x318e72[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x74c0e7++){const _0x2c66a2=_0x318e72[_0x3793b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x74c0e7);_0x5a72de=(_0x5a72de<<0x5)+_0x5a72de+_0x2c66a2,_0x5a72de&=_0x5a72de;}}function _0x3912ed(_0x42c777){Array[_0x3793b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42c777)?_0x42c777[_0x3793b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3912ed):_0x42c777&&typeof _0x42c777==_0x3793b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3793b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42c777)[_0x3793b([0x73,0x6f,0x72,0x74])]()[_0x3793b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x50453c,_0x2311b6])=>{_0x220457(_0x50453c),_0x3912ed(_0x2311b6);}):_0x220457(window[_0x3793b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42c777));}return _0x3912ed(_0x1203ca),_0x5a72de>>>0x0;}function _0x4bd0c6(_0x4ad96f){return _0x4ad96f[_0x3793b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3793b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3793b([0x30]));}function _0x28a6ae(_0x17c01a){return _0x17c01a[_0x3793b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3793b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3793b([0x6a,0x6f,0x69,0x6e])]('');}function _0xf55a16(){}function _0x3793b(_0x5d9421){const _0x3d465c=_0x2d15;return _0x5d9421[_0x3d465c(0x136)](_0x1421dd=>String[_0x3d465c(0x14a)](_0x1421dd))[_0x3d465c(0x167)]('');}_0x466d45(await _0x3e54a4());}(this);}[_0x55412f(0x13a)](){const _0x588ff9=_0x55412f,_0x5e0c13=this[_0x588ff9(0x16b)][_0x588ff9(0x153)];_0x5e0c13[_0x588ff9(0x166)](_0x4d887f=>{const _0x459342=_0x588ff9,_0x32da4e=_0x5e0c13[_0x459342(0x114)][_0x459342(0x119)][_0x459342(0x148)]();let _0x7d2e45=0x0;for(const _0x230acc of _0x32da4e){const _0x192e0a=f+':'+_0x7d2e45;if(_0x5e0c13[_0x459342(0xfe)][_0x459342(0x129)](_0x192e0a))_0x4d887f[_0x459342(0x16a)](_0x192e0a,{'range':_0x230acc});else{if(_0x230acc[_0x459342(0x102)][_0x459342(0x132)]){const _0x290e74=_0x230acc[_0x459342(0x102)][_0x459342(0x156)](({item:_0x4bc498})=>!_0x5e0c13[_0x459342(0x141)][_0x459342(0x14c)](_0x4bc498),{'boundaries':_0x230acc});_0x4d887f[_0x459342(0x11f)](_0x192e0a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4d887f[_0x459342(0x149)](_0x290e74,_0x230acc[_0x459342(0x11e)])});}else _0x4d887f[_0x459342(0x11f)](_0x192e0a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x230acc});}_0x7d2e45++;}});}[_0x55412f(0x160)](){const _0x423bf8=_0x55412f,_0x2858af=this[_0x423bf8(0x16b)][_0x423bf8(0x153)],_0x52e006=Array[_0x423bf8(0x10f)](this[_0x423bf8(0x16b)][_0x423bf8(0x153)][_0x423bf8(0xfe)][_0x423bf8(0x134)](f));_0x52e006[_0x423bf8(0x12d)]&&_0x2858af[_0x423bf8(0x166)](_0x17778c=>{const _0x3226dc=_0x423bf8;_0x52e006[_0x3226dc(0x121)](_0xd2b8b=>{const _0x17048f=_0x3226dc;_0x17778c[_0x17048f(0x143)](_0xd2b8b);});});}[_0x55412f(0x105)](_0x465e5b,_0x4c01db){const _0x172f4a=_0x55412f,_0x26c254=this[_0x172f4a(0x13b)](),_0x22d318=_0x4c01db||_0x26c254[_0x172f4a(0x13c)]();this[_0x172f4a(0x16b)][_0x172f4a(0x153)][_0x172f4a(0x108)](_0x22d318)&&this[_0x172f4a(0x16b)][_0x172f4a(0x153)][_0x172f4a(0x166)](_0x1f4fa4=>{const _0x5dc56e=_0x172f4a;this[_0x5dc56e(0x160)](),_0x4c01db||this[_0x5dc56e(0x107)](_0x1f4fa4,_0x26c254),this[_0x5dc56e(0x154)]({'insertAt':_0x22d318,'writer':_0x1f4fa4,'html':_0x465e5b});});}[_0x55412f(0x142)](_0x98020){const _0x567e59=_0x55412f,{model:_0x55887b}=this[_0x567e59(0x16b)],_0x53b6e5=this[_0x567e59(0x13b)]();_0x55887b[_0x567e59(0x166)](()=>{const _0x49b2e6=_0x567e59,_0x49a02e=this[_0x49b2e6(0x158)](_0x98020,_0x53b6e5)||this[_0x49b2e6(0x138)](_0x53b6e5);this[_0x49b2e6(0x105)](_0x98020,_0x49a02e);});}[_0x55412f(0x13b)](){const _0x1165e5=_0x55412f,_0x44dff9=this[_0x1165e5(0x16b)][_0x1165e5(0x153)],_0x5e3675=Array[_0x1165e5(0x10f)](_0x44dff9[_0x1165e5(0xfe)][_0x1165e5(0x134)](f))[_0x1165e5(0x136)](_0x122f7c=>_0x122f7c[_0x1165e5(0x122)]());return _0x44dff9[_0x1165e5(0x157)](_0x5e3675);}[_0x55412f(0x154)]({writer:_0x34c0e1,html:_0x5c0c0b,insertAt:_0x1efade}){const _0x347120=_0x55412f,{view:_0x529e7e}=this[_0x347120(0x16b)][_0x347120(0x16c)],_0x56911e=this[_0x347120(0x16b)][_0x347120(0x10d)][_0x347120(0x151)](_0x1c9043),_0x32c523=new w();_0x32c523[_0x347120(0x168)](_0x347120(0x147),_0x5c0c0b);const _0x5cb25e=new ClipboardEvent(_0x347120(0x145),{'clipboardData':_0x32c523}),_0x2ec250=new _0x4bcacc(_0x529e7e,_0x5cb25e,{'dataTransfer':new _0x3237d2(_0x32c523)});_0x34c0e1[_0x347120(0x112)](_0x1efade);const _0x5ab8f2=(_0x841345,_0x301b7c)=>{const _0x34fd63=_0x347120;_0x301b7c[_0x34fd63(0x163)]&&_0x34c0e1[_0x34fd63(0x112)](_0x301b7c[_0x34fd63(0x163)]);};_0x56911e[_0x347120(0x140)](_0x347120(0x101),_0x5ab8f2,{'priority':_0x347120(0x14e)}),_0x529e7e[_0x347120(0x114)][_0x347120(0x115)](_0x347120(0x145),_0x2ec250),_0x56911e[_0x347120(0x10c)](_0x347120(0x101),_0x5ab8f2);}[_0x55412f(0x138)](_0x18d67d){const _0x482e38=_0x55412f,{model:_0xbbc4e2}=this[_0x482e38(0x16b)],_0x27d8db=Array[_0x482e38(0x10f)](_0x18d67d[_0x482e38(0x123)]());return _0x27d8db[_0x482e38(0x12d)]?_0xbbc4e2[_0x482e38(0x14d)](_0x27d8db[_0x482e38(0x15b)]()):_0x18d67d[_0x482e38(0x15c)]();}[_0x55412f(0x158)](_0x1d485b,_0x35aec8){const _0x50e33e=_0x55412f,{model:_0x37f135,plugins:_0x5a87de}=this[_0x50e33e(0x16b)];if(_0x5a87de[_0x50e33e(0x129)](_0x50e33e(0x12b))){const _0x480644=_0x5a87de[_0x50e33e(0x151)](_0x50e33e(0x12b))[_0x50e33e(0x135)](_0x35aec8);if(_0x480644[_0x50e33e(0x12d)]){const _0x39d839=this[_0x50e33e(0x118)](_0x1d485b),_0x39f248=this[_0x50e33e(0x159)](_0x480644,_0x39d839);return _0x37f135[_0x50e33e(0x161)](_0x39f248,0x0);}}return null;}[_0x55412f(0x118)](_0xc68554){const _0x3a3194=_0x55412f,_0x3c4fdc=this[_0x3a3194(0x16b)][_0x3a3194(0x10d)][_0x3a3194(0x151)](_0x3a3194(0x12b)),_0x5a474c=this[_0x3a3194(0x16b)][_0x3a3194(0x12c)][_0x3a3194(0x111)](_0xc68554),_0x286dd9=Array[_0x3a3194(0x10f)](_0x5a474c[_0x3a3194(0x103)]())[_0x3a3194(0x14f)](_0x3240d8=>_0x3240d8['is'](_0x3a3194(0x127),_0x3a3194(0x10a)));let _0x483a0c=0x0;return _0x286dd9[_0x3a3194(0x121)](_0x51c8bb=>{const _0x516b31=_0x3a3194;_0x483a0c+=_0x3c4fdc[_0x516b31(0x169)](_0x51c8bb);}),_0x483a0c;}[_0x55412f(0x159)](_0x3937f9,_0xb584b8){const _0x40dd3e=_0x55412f,_0x2eef17=this[_0x40dd3e(0x16b)][_0x40dd3e(0x10d)][_0x40dd3e(0x151)](_0x40dd3e(0x12b)),_0x30a2ad=_0x2eef17[_0x40dd3e(0x117)](_0x3937f9),_0x566e85=_0x2eef17[_0x40dd3e(0x100)](_0x3937f9),_0x4280db=_0x30a2ad[_0x40dd3e(0x11a)]+0x1,_0x22f367=_0x566e85[_0x40dd3e(0x104)],_0x202f95=_0x3937f9[0x0][_0x40dd3e(0x106)](_0x40dd3e(0x10a));for(let _0x5b3053=0x0;_0x5b3053<_0xb584b8;_0x5b3053++)_0x2eef17[_0x40dd3e(0x155)](_0x202f95,{'at':_0x4280db});return _0x202f95[_0x40dd3e(0x164)](_0x4280db)[_0x40dd3e(0x164)](_0x22f367);}[_0x55412f(0x107)](_0x241971,_0x2b29d9){const _0x3e924b=_0x55412f,{plugins:_0xac7243}=this[_0x3e924b(0x16b)],{model:_0x9e7038}=_0x241971;if(!_0xac7243[_0x3e924b(0x129)](_0x3e924b(0x12b)))return;_0xac7243[_0x3e924b(0x151)](_0x3e924b(0x12b))[_0x3e924b(0x135)](_0x2b29d9)[_0x3e924b(0x12d)]&&_0x9e7038[_0x3e924b(0x131)](_0x2b29d9);}}
23
+ const _0x3e6f1f=_0x5683;(function(_0x3a1197,_0x1a0870){const _0x1aaa5c=_0x5683,_0x46e45=_0x3a1197();while(!![]){try{const _0x26e795=parseInt(_0x1aaa5c(0x199))/0x1*(parseInt(_0x1aaa5c(0x18e))/0x2)+parseInt(_0x1aaa5c(0x1d0))/0x3+parseInt(_0x1aaa5c(0x1ae))/0x4*(parseInt(_0x1aaa5c(0x17b))/0x5)+parseInt(_0x1aaa5c(0x1c9))/0x6*(-parseInt(_0x1aaa5c(0x169))/0x7)+-parseInt(_0x1aaa5c(0x1a2))/0x8*(-parseInt(_0x1aaa5c(0x174))/0x9)+-parseInt(_0x1aaa5c(0x172))/0xa*(parseInt(_0x1aaa5c(0x19f))/0xb)+parseInt(_0x1aaa5c(0x173))/0xc*(-parseInt(_0x1aaa5c(0x1a1))/0xd);if(_0x26e795===_0x1a0870)break;else _0x46e45['push'](_0x46e45['shift']());}catch(_0x204513){_0x46e45['push'](_0x46e45['shift']());}}}(_0x2d61,0x3fb9a));import{uid as _0x5b4a8e}from'ckeditor5/src/utils.js';import{Plugin as _0x2007fb}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x131add}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x258622,ViewDataTransfer as _0x1912bd}from'ckeditor5/src/engine.js';function _0x5683(_0x180e1e,_0x137d7d){const _0x2d617a=_0x2d61();return _0x5683=function(_0x5683c9,_0x2786db){_0x5683c9=_0x5683c9-0x164;let _0xe7762e=_0x2d617a[_0x5683c9];return _0xe7762e;},_0x5683(_0x180e1e,_0x137d7d);}const w=globalThis[_0x3e6f1f(0x19c)],f=_0x3e6f1f(0x1af);function _0x2d61(){const _0x1ff604=['TableUtils','from','_createEmptyTableRows','createPositionAfter','init','insertRows','getRange','parse','markers','plugins','markerToElement','removeMarker','selection','document','_getAISelection','fromCharCode','findAncestor','insertContentBelow','createPositionAt','join','_getDefaultInsertBelowPosition','createSelection','6cxTJQZ','config','change','getRowIndexes','end','lowest','getLastPosition','885450hgYXUO','addClass','ck-ai-assistant-ui_theme','_getTableRowCountFromContent','ck-fake-ai-selection_collapsed','getRows','_pasteHTMLUsingClipboard','markerRange','forEach','table','1983849SACIZw','schema','markerToHighlight','data','deleteContent','text/html','getColumnIndexes','get','editor','1550DYZYwj','12PwBEXU','5571YVRcnv','model','ck-fake-ai-selection','getLastMatchingPosition','map','resultRange','isAtEnd','3835TYOJrS','addMarker','conversion','hideFakeVisualSelection','insertContent','paste','getSelectedBlocks','off','isContent','isOfficialPlugin','isCollapsed','canEditAt','setSelection','contentInsertion','createRange','editingDowncast','first','AIAssistantEditing','element','14abmaaM','showFakeVisualSelection','getChild','span','start','setData','href','updateMarker','filter','fire','pop','8617DkSRPB','length','getSelectedTableCells','DataTransfer','ai.assistant.useTheme','getMarkersGroup','1441gazgjb','pluginName','8303854nnttpI','5944LMwXmA','once','_resetContentOfSelectedTableCells','createUIElement','_prepareTableInsertBelowPosition','push','last','has','afterInit','for','getFirstRange','editing','2024qpQpXv','ai-ui','getRanges','getChildren','isPremiumPlugin'];_0x2d61=function(){return _0x1ff604;};return _0x2d61();}export class AIAssistantEditing extends _0x2007fb{static get[_0x3e6f1f(0x1a0)](){const _0x32e732=_0x3e6f1f;return _0x32e732(0x18c);}static get[_0x3e6f1f(0x184)](){return!0x0;}static get[_0x3e6f1f(0x1b2)](){return!0x0;}[_0x3e6f1f(0x1b7)](){const _0x64cf44=_0x3e6f1f,{editor:_0x21daae}=this,_0x32fe4f=[_0x64cf44(0x176)];_0x21daae[_0x64cf44(0x1ca)][_0x64cf44(0x170)](_0x64cf44(0x19d))&&_0x32fe4f[_0x64cf44(0x1a7)](_0x64cf44(0x1d2)),_0x21daae[_0x64cf44(0x17d)][_0x64cf44(0x1ab)](_0x64cf44(0x18a))[_0x64cf44(0x16b)]({'model':f,'view':{'classes':_0x32fe4f,'priority':0xc}}),_0x21daae[_0x64cf44(0x17d)][_0x64cf44(0x1ab)](_0x64cf44(0x18a))[_0x64cf44(0x1bd)]({'model':f,'view':(_0x546686,{writer:_0x3f0e75})=>{const _0x139e16=_0x64cf44;if(!_0x546686[_0x139e16(0x166)][_0x139e16(0x185)])return null;const _0x176c3c=_0x3f0e75[_0x139e16(0x1a5)](_0x139e16(0x191));return _0x3f0e75[_0x139e16(0x1d1)]([_0x139e16(0x176),_0x139e16(0x1d4)],_0x176c3c),_0x176c3c;}});}[_0x3e6f1f(0x1aa)](){!async function(_0x34ab7e){const _0x1394ac=_0x5f4929([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x501bbc=0x3dffc4e1,_0x5561aa=0x3df84e89^_0x501bbc,_0x31da11=window[_0x5f4929([0x44,0x61,0x74,0x65])][_0x5f4929([0x6e,0x6f,0x77])](),_0x11e009=_0x34ab7e[_0x5f4929([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d0660=new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2585=>{_0x11e009[_0x5f4929([0x6f,0x6e,0x63,0x65])](_0x5f4929([0x72,0x65,0x61,0x64,0x79]),_0x1d2585);}),_0x4cbdda={[_0x5f4929([0x6b,0x74,0x79])]:_0x5f4929([0x45,0x43]),[_0x5f4929([0x75,0x73,0x65])]:_0x5f4929([0x73,0x69,0x67]),[_0x5f4929([0x63,0x72,0x76])]:_0x5f4929([0x50,0x2d,0x32,0x35,0x36]),[_0x5f4929([0x78])]:_0x5f4929([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5f4929([0x79])]:_0x5f4929([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5f4929([0x61,0x6c,0x67])]:_0x5f4929([0x45,0x53,0x32,0x35,0x36])},_0x28d885=_0x11e009[_0x5f4929([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f4929([0x67,0x65,0x74])](_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c1aa0(){let _0x2045f3,_0x3f9986=null,_0x2cb8db=null;try{if(_0x28d885==_0x5f4929([0x47,0x50,0x4c]))return _0x5f4929([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2045f3=_0x27a4dd(),!_0x2045f3)return _0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2045f3[_0x5f4929([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2cb8db=_0x360278(_0x2045f3[_0x5f4929([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2045f3[_0x5f4929([0x6a,0x74,0x69])])),await _0x3aa784()?_0x52f25a()?_0x1aae10()?_0x5f4929([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ae128()?(_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f4929([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f9986=_0x21b202(_0x5f4929([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59147e()):_0x5f4929([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f4929([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1aae10(){const _0x1f3184=[_0x5f4929([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f4929([0x74,0x72,0x69,0x61,0x6c])][_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31da11/0x3e8:0xe10*_0x5561aa;return _0x2045f3[_0x5f4929([0x65,0x78,0x70])]<_0x1f3184;}function _0x52f25a(){const _0x48f49d=_0x2045f3[_0x5f4929([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x48f49d&&(!!_0x48f49d[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x2a]))||!!_0x48f49d[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x41,0x49])));}function _0x5ae128(){const _0x221ed3=_0x5683,_0x1998b4=_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1998b4||0x0==_0x1998b4[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6a81c2}=new URL(window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x221ed3(0x194)]);if(_0x1998b4[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a81c2))return!0x0;const _0x42052e=_0x6a81c2[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e]));return _0x1998b4[_0x5f4929([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bb297=>_0x4bb297[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x2a])))[_0x5f4929([0x6d,0x61,0x70])](_0x50bed5=>_0x50bed5[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e])))[_0x5f4929([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10b6cb=>_0x10b6cb[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42052e[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f4929([0x6d,0x61,0x70])](_0x1568ba=>Array(_0x42052e[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1568ba[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f4929([0x66,0x69,0x6c,0x6c])](_0x1568ba[0x0]===_0x5f4929([0x2a])?_0x5f4929([0x2a]):'')[_0x5f4929([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1568ba))[_0x5f4929([0x73,0x6f,0x6d,0x65])](_0xc9e8cf=>_0x42052e[_0x5f4929([0x65,0x76,0x65,0x72,0x79])]((_0x18e772,_0x211452)=>_0xc9e8cf[_0x211452]===_0x18e772||_0xc9e8cf[_0x211452]===_0x5f4929([0x2a])));}function _0x59147e(){return _0x3f9986&&_0x2cb8db?new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x168552,_0x54050)=>{_0x3f9986[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x168552,_0x54050),_0x2cb8db[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x2cfd77=>{_0x2cfd77!=_0x5f4929([0x56,0x61,0x6c,0x69,0x64])&&_0x168552(_0x2cfd77);},_0x54050);}):_0x3f9986||_0x2cb8db||_0x5f4929([0x56,0x61,0x6c,0x69,0x64]);}}function _0x360278(_0x168c12,_0x2b093e){return new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f1fa0=>{if(_0x48c168())return _0x1f1fa0(_0x5f4929([0x56,0x61,0x6c,0x69,0x64]));_0x2c8248(),_0x11e009[_0x5f4929([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xaf9f80=!0x1;const _0x1f5359=_0x5b4a8e();function _0x5dcb22(_0x410434){return!!_0x410434&&(typeof _0x410434===_0x5f4929([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x410434===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x410434[_0x5f4929([0x74,0x68,0x65,0x6e])]===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x410434[_0x5f4929([0x63,0x61,0x74,0x63,0x68])]===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28388c(_0x4a0ed2){_0x3bcdf2(_0x4a0ed2)[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x3221b7=>{if(!_0x3221b7||_0x3221b7[_0x5f4929([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f4929([0x6f,0x6b]))return _0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x522fb8(_0x2c8b8a(_0x1f5359+_0x2b093e))!=_0x3221b7[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f4929([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x276b78=>(_0x5b81bc(),_0x276b78),()=>{const _0x300812=_0x20ef15();return null==_0x300812?(_0x5b81bc(),_0x5f4929([0x56,0x61,0x6c,0x69,0x64])):_0x5f4929(_0x31da11-_0x300812>(0x19f340e1^_0x501bbc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x1f1fa0)[_0x5f4929([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18d538=0x3dc92a61^_0x501bbc;function _0x5b81bc(){const _0x2f2eb9=_0x5f4929([0x6c,0x6c,0x63,0x74,0x2d])+_0x522fb8(_0x2c8b8a(_0x168c12)),_0x2aaffc=_0x421a33(_0x522fb8(window[_0x5f4929([0x4d,0x61,0x74,0x68])][_0x5f4929([0x63,0x65,0x69,0x6c])](_0x31da11/_0x18d538)));window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f4929([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f2eb9,_0x2aaffc);}function _0x20ef15(){const _0x38903e=_0x5f4929([0x6c,0x6c,0x63,0x74,0x2d])+_0x522fb8(_0x2c8b8a(_0x168c12)),_0x2eef31=window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f4929([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38903e);return _0x2eef31?window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x421a33(_0x2eef31),0x10)*_0x18d538:null;}function _0x3bcdf2(_0x2af7b6){return new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5049ea,_0x136dfc)=>{_0x2af7b6[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x5049ea,_0x136dfc),window[_0x5f4929([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x136dfc,0x3dfe1021^_0x501bbc);});}}_0x11e009[_0x5f4929([0x6f,0x6e])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2af3c2,_0x31e20c)=>{if(_0x31e20c[0x0]!=_0x168c12)return _0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31e20c[0x1]={..._0x31e20c[0x1],[_0x5f4929([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f5359};},{[_0x5f4929([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f4929([0x68,0x69,0x67,0x68])}),_0x11e009[_0x5f4929([0x6f,0x6e])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x436105=>{_0x5dcb22(_0x436105[_0x5f4929([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xaf9f80=!0x0,_0x28388c(_0x436105[_0x5f4929([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f4929([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f4929([0x6c,0x6f,0x77])}),_0x1d0660[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>{_0xaf9f80||_0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48c168(){return _0x11e009[_0x5f4929([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f4929([0x76,0x69,0x65,0x77])][_0x5f4929([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f4929([0x61,0x75,0x74,0x6f]);}function _0x2c8248(){_0x11e009[_0x5f4929([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f4929([0x76,0x69,0x65,0x77])][_0x5f4929([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f4929([0x61,0x75,0x74,0x6f]);}}function _0x21b202(_0x473995){const _0xedd551=[new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dd37f=>setTimeout(_0x3dd37f,0x3df6fa2d^_0x501bbc)),_0x1d0660[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x108774=>{let _0x251cd6=0x0;_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x6f,0x6e])](_0x5f4929([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ac15c,_0x5007a5)=>{_0x5007a5[0x0][_0x5f4929([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x251cd6++,_0x251cd6==(0x3dffc109^_0x501bbc)&&(_0x108774(),_0x3ac15c[_0x5f4929([0x6f,0x66,0x66])]());});}))];return window[_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f4929([0x72,0x61,0x63,0x65])](_0xedd551)[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>_0x473995);}async function _0x2b5b3a(){await _0x1d0660,_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x522fb5,_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x522fb5,_0x11e009[_0x5f4929([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x167d11(_0x238360){const _0x566a93=_0x1d0462();_0x11e009[_0x566a93]=_0x5f4929([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x238360,_0x238360!=_0x5f4929([0x56,0x61,0x6c,0x69,0x64])&&_0x2b5b3a();}function _0x1d0462(){const _0x2e88cb=window[_0x5f4929([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f4929([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f4929([0x6e,0x6f,0x77])]())[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f4929([0x2e]),'');let _0x41e0f3=_0x5f4929([0x6e]);for(let _0x2f1fdd=0x0;_0x2f1fdd<_0x2e88cb[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f1fdd+=0x2){let _0x16c26a=window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e88cb[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f1fdd,_0x2f1fdd+0x2));_0x16c26a>=_0x1394ac[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16c26a-=_0x1394ac[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41e0f3+=_0x1394ac[_0x16c26a];}return _0x41e0f3;}function _0x27a4dd(){const _0x5f305b=_0x28d885[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e]));if(0x3!=_0x5f305b[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2635a1(_0x5f305b[0x1]);function _0x2635a1(_0x194996){const _0x26d2ef=_0x45eed7(_0x194996);return _0x26d2ef&&_0x302586()?_0x26d2ef:null;function _0x302586(){const _0xa56f46=_0x26d2ef[_0x5f4929([0x6a,0x74,0x69])],_0x46bb3a=window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa56f46[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa56f46[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45ac01={..._0x26d2ef,[_0x5f4929([0x6a,0x74,0x69])]:_0xa56f46[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa56f46[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45ac01[_0x5f4929([0x76,0x63])],_0x2c8b8a(_0x45ac01)==_0x46bb3a;}}}async function _0x3aa784(){let _0x12e991=!0x0;try{const _0x515939=_0x28d885[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e])),[_0x348b9c,_0x4b71a6,_0x470070]=_0x515939;return _0x40ac2d(_0x348b9c),await _0x578f66(_0x348b9c,_0x4b71a6,_0x470070),_0x12e991;}catch{return!0x1;}function _0x40ac2d(_0x3f18e4){const _0xa9190d=_0x45eed7(_0x3f18e4);_0xa9190d&&_0xa9190d[_0x5f4929([0x61,0x6c,0x67])]==_0x5f4929([0x45,0x53,0x32,0x35,0x36])||(_0x12e991=!0x1);}async function _0x578f66(_0x451865,_0x37e0b6,_0x2453af){const _0x1eb371=window[_0x5f4929([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f4929([0x66,0x72,0x6f,0x6d])](_0x31c8fc(_0x2453af),_0x392322=>_0x392322[_0x5f4929([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x175c46=new window[(_0x5f4929([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f4929([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x451865+_0x5f4929([0x2e])+_0x37e0b6),_0x1f3453=window[_0x5f4929([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f4929([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f3453)return;const _0x4545c5=await _0x1f3453[_0x5f4929([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f4929([0x6a,0x77,0x6b]),_0x4cbdda,{[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x45,0x43,0x44,0x53,0x41]),[_0x5f4929([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f4929([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f3453[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x45,0x43,0x44,0x53,0x41]),[_0x5f4929([0x68,0x61,0x73,0x68])]:{[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4545c5,_0x1eb371,_0x175c46)||(_0x12e991=!0x1);}}function _0x45eed7(_0x23498a){return _0x23498a[_0x5f4929([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f4929([0x65,0x79]))?JSON[_0x5f4929([0x70,0x61,0x72,0x73,0x65])](_0x31c8fc(_0x23498a)):null;}function _0x31c8fc(_0x3ce319){return window[_0x5f4929([0x61,0x74,0x6f,0x62])](_0x3ce319[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f4929([0x2b]))[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f4929([0x2f])));}function _0x2c8b8a(_0x39c553){let _0x2d2015=0x1505;function _0x162cd4(_0x27fb91){for(let _0x31fd40=0x0;_0x31fd40<_0x27fb91[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31fd40++){const _0x414c64=_0x27fb91[_0x5f4929([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31fd40);_0x2d2015=(_0x2d2015<<0x5)+_0x2d2015+_0x414c64,_0x2d2015&=_0x2d2015;}}function _0x36ca49(_0x4cf577){Array[_0x5f4929([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cf577)?_0x4cf577[_0x5f4929([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36ca49):_0x4cf577&&typeof _0x4cf577==_0x5f4929([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f4929([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cf577)[_0x5f4929([0x73,0x6f,0x72,0x74])]()[_0x5f4929([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8ce812,_0x369782])=>{_0x162cd4(_0x8ce812),_0x36ca49(_0x369782);}):_0x162cd4(window[_0x5f4929([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cf577));}return _0x36ca49(_0x39c553),_0x2d2015>>>0x0;}function _0x522fb8(_0x527aa1){return _0x527aa1[_0x5f4929([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f4929([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f4929([0x30]));}function _0x421a33(_0x586a3a){return _0x586a3a[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f4929([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f4929([0x6a,0x6f,0x69,0x6e])]('');}function _0x522fb5(){}function _0x5f4929(_0x5008f3){const _0x2dc507=_0x5683;return _0x5008f3[_0x2dc507(0x178)](_0x372305=>String[_0x2dc507(0x1c2)](_0x372305))[_0x2dc507(0x1c6)]('');}_0x167d11(await _0x3c1aa0());}(this);}[_0x3e6f1f(0x18f)](){const _0x13103c=_0x3e6f1f,_0x157f0d=this[_0x13103c(0x171)][_0x13103c(0x175)];_0x157f0d[_0x13103c(0x1cb)](_0x50ea2e=>{const _0x2b1e92=_0x13103c,_0x5b25b7=_0x157f0d[_0x2b1e92(0x1c0)][_0x2b1e92(0x1bf)][_0x2b1e92(0x1b0)]();let _0x187a7b=0x0;for(const _0x68727b of _0x5b25b7){const _0xa55545=f+':'+_0x187a7b;if(_0x157f0d[_0x2b1e92(0x1bb)][_0x2b1e92(0x1a9)](_0xa55545))_0x50ea2e[_0x2b1e92(0x195)](_0xa55545,{'range':_0x68727b});else{if(_0x68727b[_0x2b1e92(0x192)][_0x2b1e92(0x17a)]){const _0x129fa1=_0x68727b[_0x2b1e92(0x192)][_0x2b1e92(0x177)](({item:_0xaf2b95})=>!_0x157f0d[_0x2b1e92(0x16a)][_0x2b1e92(0x183)](_0xaf2b95),{'boundaries':_0x68727b});_0x50ea2e[_0x2b1e92(0x17c)](_0xa55545,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x50ea2e[_0x2b1e92(0x189)](_0x129fa1,_0x68727b[_0x2b1e92(0x1cd)])});}else _0x50ea2e[_0x2b1e92(0x17c)](_0xa55545,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x68727b});}_0x187a7b++;}});}[_0x3e6f1f(0x17e)](){const _0x1f6d9d=_0x3e6f1f,_0x493144=this[_0x1f6d9d(0x171)][_0x1f6d9d(0x175)],_0x46926d=Array[_0x1f6d9d(0x1b4)](this[_0x1f6d9d(0x171)][_0x1f6d9d(0x175)][_0x1f6d9d(0x1bb)][_0x1f6d9d(0x19e)](f));_0x46926d[_0x1f6d9d(0x19a)]&&_0x493144[_0x1f6d9d(0x1cb)](_0x3ff4d6=>{const _0x73da23=_0x1f6d9d;_0x46926d[_0x73da23(0x167)](_0x32420d=>{const _0x3a2bcb=_0x73da23;_0x3ff4d6[_0x3a2bcb(0x1be)](_0x32420d);});});}[_0x3e6f1f(0x17f)](_0x55ee1d,_0x1dca1c){const _0x62d162=_0x3e6f1f,_0x4dbc2e=this[_0x62d162(0x1c1)](),_0x36aced=_0x1dca1c||_0x4dbc2e[_0x62d162(0x1ac)]();this[_0x62d162(0x171)][_0x62d162(0x175)][_0x62d162(0x186)](_0x36aced)&&this[_0x62d162(0x171)][_0x62d162(0x175)][_0x62d162(0x1cb)](_0x5a8842=>{const _0x35c988=_0x62d162;this[_0x35c988(0x17e)](),_0x1dca1c||this[_0x35c988(0x1a4)](_0x5a8842,_0x4dbc2e),this[_0x35c988(0x165)]({'insertAt':_0x36aced,'writer':_0x5a8842,'html':_0x55ee1d});});}[_0x3e6f1f(0x1c4)](_0x298318){const _0x41f2b2=_0x3e6f1f,{model:_0x5c035a}=this[_0x41f2b2(0x171)],_0x760c53=this[_0x41f2b2(0x1c1)]();_0x5c035a[_0x41f2b2(0x1cb)](()=>{const _0x442357=_0x41f2b2,_0x1d4f25=this[_0x442357(0x1a6)](_0x298318,_0x760c53)||this[_0x442357(0x1c7)](_0x760c53);this[_0x442357(0x17f)](_0x298318,_0x1d4f25);});}[_0x3e6f1f(0x1c1)](){const _0x29dfe0=_0x3e6f1f,_0xcbc199=this[_0x29dfe0(0x171)][_0x29dfe0(0x175)],_0x248cc2=Array[_0x29dfe0(0x1b4)](_0xcbc199[_0x29dfe0(0x1bb)][_0x29dfe0(0x19e)](f))[_0x29dfe0(0x178)](_0x4e8d25=>_0x4e8d25[_0x29dfe0(0x1b9)]());return _0xcbc199[_0x29dfe0(0x1c8)](_0x248cc2);}[_0x3e6f1f(0x165)]({writer:_0x35545d,html:_0x1a6b1d,insertAt:_0x1c7630}){const _0x5a845f=_0x3e6f1f,{view:_0x4553fb}=this[_0x5a845f(0x171)][_0x5a845f(0x1ad)],_0x1ec35c=this[_0x5a845f(0x171)][_0x5a845f(0x1bc)][_0x5a845f(0x170)](_0x131add),_0x13db21=new w();_0x13db21[_0x5a845f(0x193)](_0x5a845f(0x16e),_0x1a6b1d);const _0x5ae188=new ClipboardEvent(_0x5a845f(0x180),{'clipboardData':_0x13db21}),_0x471599=new _0x258622(_0x4553fb,_0x5ae188,{'dataTransfer':new _0x1912bd(_0x13db21)});_0x35545d[_0x5a845f(0x187)](_0x1c7630);const _0x5bd71a=(_0x2c3437,_0x1e277f)=>{const _0x1bb0dc=_0x5a845f;_0x1e277f[_0x1bb0dc(0x179)]&&_0x35545d[_0x1bb0dc(0x187)](_0x1e277f[_0x1bb0dc(0x179)]);};_0x1ec35c[_0x5a845f(0x1a3)](_0x5a845f(0x188),_0x5bd71a,{'priority':_0x5a845f(0x1ce)}),_0x4553fb[_0x5a845f(0x1c0)][_0x5a845f(0x197)](_0x5a845f(0x180),_0x471599),_0x1ec35c[_0x5a845f(0x182)](_0x5a845f(0x188),_0x5bd71a);}[_0x3e6f1f(0x1c7)](_0x522888){const _0x5215f6=_0x3e6f1f,{model:_0x217475}=this[_0x5215f6(0x171)],_0x1caa05=Array[_0x5215f6(0x1b4)](_0x522888[_0x5215f6(0x181)]());return _0x1caa05[_0x5215f6(0x19a)]?_0x217475[_0x5215f6(0x1b6)](_0x1caa05[_0x5215f6(0x198)]()):_0x522888[_0x5215f6(0x1cf)]();}[_0x3e6f1f(0x1a6)](_0x1f13c5,_0x375361){const _0x2b0b50=_0x3e6f1f,{model:_0x5a7546,plugins:_0x3ef36f}=this[_0x2b0b50(0x171)];if(_0x3ef36f[_0x2b0b50(0x1a9)](_0x2b0b50(0x1b3))){const _0x3bc87c=_0x3ef36f[_0x2b0b50(0x170)](_0x2b0b50(0x1b3))[_0x2b0b50(0x19b)](_0x375361);if(_0x3bc87c[_0x2b0b50(0x19a)]){const _0x3087b3=this[_0x2b0b50(0x1d3)](_0x1f13c5),_0x467561=this[_0x2b0b50(0x1b5)](_0x3bc87c,_0x3087b3);return _0x5a7546[_0x2b0b50(0x1c5)](_0x467561,0x0);}}return null;}[_0x3e6f1f(0x1d3)](_0x1d5081){const _0x1319cd=_0x3e6f1f,_0x12c299=this[_0x1319cd(0x171)][_0x1319cd(0x1bc)][_0x1319cd(0x170)](_0x1319cd(0x1b3)),_0x3e5149=this[_0x1319cd(0x171)][_0x1319cd(0x16c)][_0x1319cd(0x1ba)](_0x1d5081),_0x12b9fd=Array[_0x1319cd(0x1b4)](_0x3e5149[_0x1319cd(0x1b1)]())[_0x1319cd(0x196)](_0x3c91a0=>_0x3c91a0['is'](_0x1319cd(0x18d),_0x1319cd(0x168)));let _0x1b7dae=0x0;return _0x12b9fd[_0x1319cd(0x167)](_0x30f125=>{const _0x3e92fe=_0x1319cd;_0x1b7dae+=_0x12c299[_0x3e92fe(0x164)](_0x30f125);}),_0x1b7dae;}[_0x3e6f1f(0x1b5)](_0x561a85,_0x50082b){const _0x469d2a=_0x3e6f1f,_0x609bdc=this[_0x469d2a(0x171)][_0x469d2a(0x1bc)][_0x469d2a(0x170)](_0x469d2a(0x1b3)),_0x480412=_0x609bdc[_0x469d2a(0x1cc)](_0x561a85),_0x4db012=_0x609bdc[_0x469d2a(0x16f)](_0x561a85),_0x499d2f=_0x480412[_0x469d2a(0x1a8)]+0x1,_0x1f6f17=_0x4db012[_0x469d2a(0x18b)],_0x5a64b7=_0x561a85[0x0][_0x469d2a(0x1c3)](_0x469d2a(0x168));for(let _0x126b33=0x0;_0x126b33<_0x50082b;_0x126b33++)_0x609bdc[_0x469d2a(0x1b8)](_0x5a64b7,{'at':_0x499d2f});return _0x5a64b7[_0x469d2a(0x190)](_0x499d2f)[_0x469d2a(0x190)](_0x1f6f17);}[_0x3e6f1f(0x1a4)](_0x590d90,_0xb98bc){const _0xd3ec8a=_0x3e6f1f,{plugins:_0x481123}=this[_0xd3ec8a(0x171)],{model:_0x4c3f45}=_0x590d90;if(!_0x481123[_0xd3ec8a(0x1a9)](_0xd3ec8a(0x1b3)))return;_0x481123[_0xd3ec8a(0x170)](_0xd3ec8a(0x1b3))[_0xd3ec8a(0x19b)](_0xb98bc)[_0xd3ec8a(0x19a)]&&_0x4c3f45[_0xd3ec8a(0x16d)](_0xb98bc);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd68d18=_0x5995;(function(_0x5a0300,_0x5cefff){const _0x27a94a=_0x5995,_0x5cd625=_0x5a0300();while(!![]){try{const _0x587415=parseInt(_0x27a94a(0xc0))/0x1*(-parseInt(_0x27a94a(0x133))/0x2)+parseInt(_0x27a94a(0x134))/0x3*(parseInt(_0x27a94a(0xeb))/0x4)+parseInt(_0x27a94a(0xe3))/0x5*(-parseInt(_0x27a94a(0xde))/0x6)+parseInt(_0x27a94a(0xe5))/0x7*(-parseInt(_0x27a94a(0x119))/0x8)+parseInt(_0x27a94a(0x15f))/0x9+parseInt(_0x27a94a(0xc1))/0xa+parseInt(_0x27a94a(0xd3))/0xb;if(_0x587415===_0x5cefff)break;else _0x5cd625['push'](_0x5cd625['shift']());}catch(_0x2045ac){_0x5cd625['push'](_0x5cd625['shift']());}}}(_0x5392,0x1af87));import{Plugin as _0xd00650}from'ckeditor5/src/core.js';import{IconMagicWand as _0x456a76,IconRobotPencil as _0x4095d1}from'ckeditor5/src/icons.js';import{first as _0x1dfc77,CKEditorError as _0x4087d7}from'ckeditor5/src/utils.js';import{createDropdown as _0xc6d50e,addMenuToDropdown as _0x3e912b,ButtonView as _0x34a5c4,MenuBarMenuListItemButtonView as _0x123ffe,Dialog as _0x3a6de6,DialogViewPosition as _0x470695,MenuBarMenuView as _0x483825,MenuBarMenuListView as _0x15e44e,MenuBarMenuListItemView as _0xb2277c}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4420ff,UNGROUPED_COMMANDS_GROUP_ID as _0x2d94f4}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x4ff11e}from'./aiassistantediting.js';import{AIAdapter as _0x5b2b39}from'./adapters/aiadapter.js';import{getTranslation as _0x5c0819}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4c29d9}from'./ui/showaiassistantcommand.js';function _0x5995(_0x482ff9,_0x23b982){const _0x539240=_0x5392();return _0x5995=function(_0x599576,_0x5bc9ac){_0x599576=_0x599576-0xb7;let _0x3b7260=_0x539240[_0x599576];return _0x3b7260;},_0x5995(_0x482ff9,_0x23b982);}import{AIAssistantController as _0x292247}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x9750a3}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x47f929}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0xd68d18(0x13d)];import{ClipboardMarkersUtils as _0x183b72}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3dd345,ViewDataTransfer as _0x98e50e}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0xd00650{[_0xd68d18(0x165)];[_0xd68d18(0xbb)];[_0xd68d18(0xdc)];[_0xd68d18(0x114)];[_0xd68d18(0x155)];[_0xd68d18(0x109)];[_0xd68d18(0x131)]='';static get[_0xd68d18(0xe4)](){const _0x3d87f0=_0xd68d18;return _0x3d87f0(0xfe);}static get[_0xd68d18(0xf5)](){return!0x0;}static get[_0xd68d18(0x160)](){return!0x0;}static get[_0xd68d18(0x121)](){return[_0x183b72,_0x4ff11e,_0x5b2b39,_0x3a6de6];}constructor(_0x4dada2){const _0x46b47c=_0xd68d18;super(_0x4dada2),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xb7),[_0x46b47c(0xca),_0x46b47c(0xe9),_0x46b47c(0x126)]),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xd1),''),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xef),!0x0),this[_0x46b47c(0x131)]=_0x46b47c(0x10b)+(_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0x137)](_0x46b47c(0xef))?_0x46b47c(0x12d):'');}[_0xd68d18(0xd9)](){const _0x5509a7=_0xd68d18,{editor:_0x1889d2}=this;this[_0x5509a7(0x155)]=_0x1889d2[_0x5509a7(0x164)][_0x5509a7(0x137)](_0x5b2b39),this[_0x5509a7(0xdc)]=_0x1889d2[_0x5509a7(0x164)][_0x5509a7(0x137)](_0x3a6de6),this[_0x5509a7(0x114)]=null,this[_0x5509a7(0x11f)]=this[_0x5509a7(0x158)]();const _0x3d4a80=new _0x4c29d9(_0x1889d2,Array[_0x5509a7(0x138)](this[_0x5509a7(0x11f)][_0x5509a7(0xe6)]()));_0x1889d2[_0x5509a7(0x103)][_0x5509a7(0x135)](_0x5509a7(0x112),_0x3d4a80),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0xe1),_0x1fd477=>{const _0xdee28e=_0x5509a7,_0x400448=_0xc6d50e(_0x1fd477);return _0x400448[_0xdee28e(0x12c)]({'class':_0xdee28e(0x129)+this[_0xdee28e(0x131)]}),_0x400448[_0xdee28e(0xf1)][_0xdee28e(0x12c)]({'label':_0x5c0819(_0x1fd477,_0xdee28e(0xe8)),'icon':_0x456a76,'tooltip':!0x0}),_0x400448['on'](_0xdee28e(0xcb),_0x475a37=>this[_0xdee28e(0xed)](_0x475a37[_0xdee28e(0xfa)]['id'])),_0x3e912b(_0x400448,_0x1889d2['ui'][_0xdee28e(0x124)][_0xdee28e(0xbe)],function(_0x5ddbd2){const _0xda9d51=_0xdee28e,_0x5e7b42=_0x4420ff(_0x5ddbd2[_0xda9d51(0x14b)][_0xda9d51(0x137)](_0xda9d51(0x13c)),_0x5ddbd2[_0xda9d51(0x115)]),_0x838a59=B(_0x5ddbd2,_0x5e7b42)[_0xda9d51(0xfd)](_0x4b4a6d=>_0x4b4a6d[_0xda9d51(0x103)][_0xda9d51(0x10a)]);if(0x1===_0x838a59[_0xda9d51(0x10a)])return B(_0x5ddbd2,_0x838a59[0x0][_0xda9d51(0x103)])[_0xda9d51(0x11d)](_0x522ad1=>({'id':_0x522ad1['id'],'label':_0x522ad1[_0xda9d51(0xf8)]}));return _0x838a59[_0xda9d51(0x11d)](_0x1a0a8e=>{const _0x2dc02f=_0xda9d51,{groupId:_0x175360,groupLabel:_0x4a70f2,commands:_0x2507fd}=_0x1a0a8e,_0x311a3d=B(_0x5ddbd2,_0x2507fd)[_0x2dc02f(0x11d)](_0x391604=>({'id':_0x391604['id'],'label':_0x391604[_0x2dc02f(0xf8)]}));return{'id':_0x175360,'menu':_0x4a70f2||_0x175360,'children':_0x311a3d};});}(_0x1889d2),{'ariaLabel':_0x5c0819(_0x1fd477,_0xdee28e(0xe8))}),_0x400448[_0xdee28e(0x13b)][_0xdee28e(0x153)]=_0xdee28e(0x129)+this[_0xdee28e(0x131)],_0x3d4a80['on'](_0xdee28e(0x108),_0x1afd08),_0x400448[_0xdee28e(0x13b)][_0xdee28e(0x154)](_0xdee28e(0xdf),_0x1afd08),_0x400448;function _0x1afd08(){const _0x28ef6e=_0xdee28e;_0x400448[_0x28ef6e(0xf9)]=_0x3d4a80[_0x28ef6e(0x15c)][_0x28ef6e(0x10a)]>0x0;for(const _0x39864e of _0x400448[_0x28ef6e(0x13b)][_0x28ef6e(0x145)])_0x39864e[_0x28ef6e(0xf9)]=_0x3d4a80[_0x28ef6e(0x15c)][_0x28ef6e(0xcf)](_0x39864e['id']);}}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0x15b),_0x290f94=>{const _0x37453b=_0x5509a7,_0x319955=new _0x483825(_0x290f94);_0x319955[_0x37453b(0xf1)][_0x37453b(0x12c)]({'label':_0x5c0819(_0x290f94,_0x37453b(0xe8)),'icon':_0x456a76}),_0x319955[_0x37453b(0x127)](_0x37453b(0xf9))['to'](_0x3d4a80,_0x37453b(0x15c),_0xcf8fdb=>_0xcf8fdb[_0x37453b(0x10a)]>0x0);const _0x248eaf=_0x4420ff(_0x1889d2[_0x37453b(0x14b)][_0x37453b(0x137)](_0x37453b(0x13c)),_0x290f94);return this[_0x37453b(0xcc)](_0x3d4a80,_0x319955,_0x248eaf,_0x391813=>this[_0x37453b(0xed)](_0x391813)),_0x319955;}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0xfb),()=>{const _0x2d2f9e=_0x5509a7,_0x3ada7f=this[_0x2d2f9e(0x157)](_0x34a5c4);return _0x3ada7f[_0x2d2f9e(0x12c)]({'tooltip':!0x0,'class':_0x2d2f9e(0x132)+this[_0x2d2f9e(0x131)]}),_0x3ada7f;}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0x163),()=>{const _0x427297=_0x5509a7,_0x21ed89=this[_0x427297(0x157)](_0x123ffe);return _0x21ed89[_0x427297(0x12c)]({'role':_0x427297(0x116)}),_0x21ed89;}),this[_0x5509a7(0x165)]=this[_0x5509a7(0xe7)][_0x5509a7(0x14b)][_0x5509a7(0x137)](_0x5509a7(0x165));const _0x58858c=this[_0x5509a7(0xe7)];this[_0x5509a7(0xbb)]=setInterval(()=>{const _0x32c76=_0x5509a7;let _0x87b074;for(const _0x5b0019 in _0x58858c){const _0x26177e=_0x5b0019,_0x5c5945=_0x58858c[_0x26177e];if(_0x32c76(0x10e)==_0x5c5945||_0x32c76(0x139)==_0x5c5945||_0x32c76(0xba)==_0x5c5945||_0x32c76(0xff)==_0x5c5945||_0x32c76(0xec)==_0x5c5945||_0x32c76(0x136)==_0x5c5945||_0x32c76(0xcd)==_0x5c5945){delete _0x58858c[_0x26177e],_0x87b074=_0x5c5945,clearInterval(this[_0x32c76(0xbb)]),this[_0x32c76(0xbb)]=void 0x0;break;}}_0x32c76(0x139)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd2)),_0x32c76(0xba)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x144)),_0x32c76(0xff)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x159)),_0x32c76(0xec)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd6),_0x32c76(0x14c)),_0x32c76(0x136)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd5)),_0x32c76(0xcd)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x106));},0x3e8);}[_0xd68d18(0x142)](){const _0x27cd5b=_0xd68d18;super[_0x27cd5b(0x142)](),this[_0x27cd5b(0xbb)]&&clearInterval(this[_0x27cd5b(0xbb)]);}[_0xd68d18(0x122)](_0x1bdaee='',_0x36848e='',_0x55117a=_0xd68d18(0x11a)){const _0x57d1ab=_0xd68d18,_0xeea800=this[_0x57d1ab(0xe7)],_0x5e2460=_0xeea800[_0x57d1ab(0xf0)][_0x57d1ab(0x124)],_0x57637f=_0xeea800[_0x57d1ab(0x164)][_0x57d1ab(0x137)](_0x4ff11e),_0x50b64=_0xeea800[_0x57d1ab(0x164)][_0x57d1ab(0x137)](_0x183b72);_0x57637f[_0x57d1ab(0x12b)]();const _0x14945c=new w(),_0x47e455=new ClipboardEvent(_0x57d1ab(0x150),{'clipboardData':_0x14945c}),_0x31d843=new _0x98e50e(_0x14945c),_0x24b3be=new _0x3dd345(_0x5e2460,_0x47e455,{'dataTransfer':_0x31d843});_0x50b64[_0x57d1ab(0x118)](_0x57d1ab(0x13f),()=>{const _0x5d57db=_0x57d1ab;_0x5e2460[_0x5d57db(0xc6)][_0x5d57db(0x117)](_0x5d57db(0x150),_0x24b3be);}),this[_0x57d1ab(0x114)]||(this[_0x57d1ab(0x123)](),this[_0x57d1ab(0x109)]=new _0x292247(_0xeea800,this[_0x57d1ab(0x155)][_0x57d1ab(0x107)],this[_0x57d1ab(0x114)]));let _0x24eaa4=_0x31d843[_0x57d1ab(0x100)](_0x57d1ab(0xf4));const _0x3a7c7c=_0xeea800[_0x57d1ab(0x146)][_0x57d1ab(0xc6)][_0x57d1ab(0x110)],_0x2a0199=Array[_0x57d1ab(0x138)](_0x3a7c7c[_0x57d1ab(0xf6)]());0x1===_0x2a0199[_0x57d1ab(0x10a)]&&_0x2a0199[0x0][_0x57d1ab(0x10c)]&&!_0x3a7c7c[_0x57d1ab(0x140)]()&&''!==_0x24eaa4[_0x57d1ab(0x113)](/&nbsp;/g,'')[_0x57d1ab(0x15d)]()&&(_0x24eaa4=_0x57d1ab(0xdd)+_0x24eaa4+_0x57d1ab(0x14a)),this[_0x57d1ab(0x109)][_0x57d1ab(0x143)]({'actionId':_0x55117a,'query':_0x1bdaee,'htmlContent':_0x24eaa4,'label':_0x36848e,'mainActionLabel':_0x47f929[_0xeea800[_0x57d1ab(0x146)][_0x57d1ab(0xc6)][_0x57d1ab(0x110)][_0x57d1ab(0xee)]?_0x57d1ab(0x141):_0x57d1ab(0x111)]}),_0x57d1ab(0xfb)!==this[_0x57d1ab(0xdc)]['id']?this[_0x57d1ab(0xdc)][_0x57d1ab(0xf3)]({'id':_0x57d1ab(0xfb),'icon':_0x4095d1,'title':_0x5c0819(this[_0x57d1ab(0xe7)][_0x57d1ab(0x115)],_0x57d1ab(0x15e)),'content':this[_0x57d1ab(0x114)],'position':_0x470695[_0x57d1ab(0x156)],'onShow':()=>{const _0x20dd9e=_0x57d1ab;this[_0x20dd9e(0x114)][_0x20dd9e(0xb9)]();},'onHide':()=>{const _0x4cee11=_0x57d1ab;this[_0x4cee11(0x109)][_0x4cee11(0xe0)](),_0x57637f[_0x4cee11(0x161)]();}}):this[_0x57d1ab(0xdc)][_0x57d1ab(0x124)][_0x57d1ab(0xdb)]||this[_0x57d1ab(0xdc)][_0x57d1ab(0x124)][_0x57d1ab(0xf2)]();}[_0xd68d18(0xc4)](){const _0x58dc8b=_0xd68d18;this[_0x58dc8b(0xdc)][_0x58dc8b(0x128)]();}[_0xd68d18(0x158)](){const _0x4aeb69=_0xd68d18,_0x1addfb=new Map(),_0x4fc061=_0x4420ff(this[_0x4aeb69(0xe7)][_0x4aeb69(0x14b)][_0x4aeb69(0x137)](_0x4aeb69(0x13c)),this[_0x4aeb69(0xe7)][_0x4aeb69(0x115)]);for(const _0x10e508 of _0x4fc061)for(const _0x196b7d of _0x10e508[_0x4aeb69(0x103)])_0x1addfb[_0x4aeb69(0x12c)](_0x196b7d['id'],{..._0x196b7d,'groupId':_0x10e508[_0x4aeb69(0x102)],'groupLabel':_0x10e508[_0x4aeb69(0x11e)]||_0x10e508[_0x4aeb69(0x102)]});return _0x1addfb;}[_0xd68d18(0x157)](_0x4b03df){const _0x3fcc4d=_0xd68d18,_0x2ed5ea=this[_0x3fcc4d(0xe7)],_0x3555b2=_0x2ed5ea[_0x3fcc4d(0x103)][_0x3fcc4d(0x137)](_0x3fcc4d(0x112)),_0x32f730=new _0x4b03df(_0x2ed5ea[_0x3fcc4d(0x115)]);return _0x32f730[_0x3fcc4d(0x12c)]({'label':_0x5c0819(_0x2ed5ea[_0x3fcc4d(0x115)],_0x3fcc4d(0x15e)),'icon':_0x4095d1,'isToggleable':!0x0}),_0x32f730[_0x3fcc4d(0x127)](_0x3fcc4d(0xf9))['to'](_0x3555b2),_0x32f730[_0x3fcc4d(0x127)](_0x3fcc4d(0x11b))['to'](this[_0x3fcc4d(0xdc)],'id',_0x10f8ec=>_0x3fcc4d(0xfb)===_0x10f8ec),this[_0x3fcc4d(0x13e)](_0x32f730,_0x3fcc4d(0xcb),()=>{const _0x5c7572=_0x3fcc4d;_0x32f730[_0x5c7572(0x11b)]?this[_0x5c7572(0xc4)]():_0x3555b2[_0x5c7572(0xcb)]();}),_0x32f730;}[_0xd68d18(0x123)](){const _0x527ac2=_0xd68d18,_0x14f8dd=this[_0x527ac2(0xe7)][_0x527ac2(0x164)][_0x527ac2(0x137)](_0x4ff11e);this[_0x527ac2(0x114)]=new _0x9750a3(this[_0x527ac2(0xe7)][_0x527ac2(0x115)],this[_0x527ac2(0x131)],this[_0x527ac2(0xe7)][_0x527ac2(0x14b)][_0x527ac2(0x137)](_0x527ac2(0xd1))),this[_0x527ac2(0x114)]['on'](_0x527ac2(0x105),()=>{const _0x371185=_0x527ac2;this[_0x371185(0xdc)][_0x371185(0x124)][_0x371185(0xdb)]||this[_0x371185(0xdc)][_0x371185(0x124)][_0x371185(0xf2)]();}),this[_0x527ac2(0x114)][_0x527ac2(0xb8)][_0x527ac2(0xd0)][_0x527ac2(0xe2)]['on'](_0x527ac2(0x12e),()=>{const _0x28b12d=_0x527ac2;this[_0x28b12d(0xdc)][_0x28b12d(0x124)][_0x28b12d(0xdb)]||this[_0x28b12d(0xdc)][_0x28b12d(0x124)][_0x28b12d(0xf2)]();}),this[_0x527ac2(0x13e)](this[_0x527ac2(0x114)],_0x527ac2(0x13a),()=>{const _0x71096b=_0x527ac2;_0x14f8dd[_0x71096b(0x125)](this[_0x71096b(0x109)][_0x71096b(0xf7)]),this[_0x71096b(0xc4)]();}),this[_0x527ac2(0x13e)](this[_0x527ac2(0x114)],_0x527ac2(0x147),()=>{const _0x56d460=_0x527ac2;_0x14f8dd[_0x56d460(0x147)](this[_0x56d460(0x109)][_0x56d460(0xf7)]),this[_0x56d460(0xc4)]();}),this[_0x527ac2(0xbf)]();}[_0xd68d18(0xbf)](){const _0x5ee0f4=_0xd68d18,{locale:_0x5d5ab1,ui:{ariaLiveAnnouncer:_0x3834d8}}=this[_0x5ee0f4(0xe7)];this[_0x5ee0f4(0x114)][_0x5ee0f4(0x149)]['on'](_0x5ee0f4(0x15a),(_0x105de0,_0x456ef0,_0x116d4a)=>{const _0x11af32=_0x5ee0f4,_0x110765=this[_0x11af32(0x109)][_0x11af32(0xf7)];_0x116d4a?_0x3834d8[_0x11af32(0x151)](_0x5c0819(_0x5d5ab1,_0x11af32(0xd4))):_0x110765&&_0x3834d8[_0x11af32(0x151)](_0x5c0819(_0x5d5ab1,_0x11af32(0x152),_0x110765),{'politeness':_0x11af32(0x14f),'isUnsafeHTML':!0x0});}),this[_0x5ee0f4(0x114)]['on'](_0x5ee0f4(0x14d),(_0x58203c,_0x3ac4eb,_0x265f34)=>{const _0xb62dd8=_0x5ee0f4;if(_0x265f34){const _0x107e4c=this[_0xb62dd8(0x114)][_0xb62dd8(0xd8)][_0xb62dd8(0xfc)];_0x3834d8[_0xb62dd8(0x151)](_0x5c0819(_0x5d5ab1,_0xb62dd8(0x101),_0x107e4c));}});}[_0xd68d18(0xed)](_0x4f17f9){const _0x251706=_0xd68d18,_0x46eb44=this[_0x251706(0x11f)][_0x251706(0x137)](_0x4f17f9),_0x46a487=this[_0x251706(0xe7)],_0x290e79=_0x46a487[_0x251706(0x146)][_0x251706(0xc6)][_0x251706(0x110)],_0x159cac=_0x46a487[_0x251706(0x103)][_0x251706(0x137)](_0x251706(0x112)),_0x32c7f0=_0x46a487[_0x251706(0x164)][_0x251706(0x137)](_0x4ff11e),_0x3cc181=''+(_0x46eb44[_0x251706(0x102)]!==_0x2d94f4?_0x46eb44[_0x251706(0x11e)]+':\x20':'')+_0x46eb44[_0x251706(0xf8)];if(!0x1!==_0x46eb44[_0x251706(0xc9)]&&_0x290e79[_0x251706(0xee)]){const _0x11b59e=_0x1dfc77(_0x290e79[_0x251706(0x12a)]())||_0x46a487[_0x251706(0x146)][_0x251706(0x12f)][_0x251706(0x130)](_0x290e79);_0x46a487[_0x251706(0x146)][_0x251706(0xc3)](_0x4b6db1=>{const _0x1c5c2b=_0x251706;_0x4b6db1[_0x1c5c2b(0xea)](_0x11b59e,'in');});}_0x32c7f0[_0x251706(0x12b)](),_0x159cac[_0x251706(0xcb)](_0x46eb44[_0x251706(0xc8)],_0x3cc181,_0x251706(0xda)+_0x4f17f9);}[_0xd68d18(0xcc)](_0x2c3893,_0x1af709,_0x3482bb,_0x23c23e){const _0x10323b=_0xd68d18,_0x47f270=this[_0x10323b(0xe7)],_0x83b164=_0x47f270[_0x10323b(0x115)],_0x17ea79=new _0x15e44e(_0x83b164),_0x3871a5=B(_0x47f270,_0x3482bb)[_0x10323b(0xfd)](_0x3945bb=>_0x3945bb[_0x10323b(0x103)][_0x10323b(0x10a)]);0x1===_0x3871a5[_0x10323b(0x10a)]?this[_0x10323b(0xd7)]({'command':_0x2c3893,'commands':_0x3871a5[0x0][_0x10323b(0x103)],'parentMenuView':_0x1af709,'onExecute':_0x23c23e})[_0x10323b(0x11c)](_0x5ab944=>_0x17ea79[_0x10323b(0x162)][_0x10323b(0x135)](_0x5ab944)):_0x3871a5[_0x10323b(0x11c)](({groupId:_0xadb706,groupLabel:_0x39cc6d,commands:_0x3fe3ce})=>{const _0xa693d5=_0x10323b,_0x29a423=new _0xb2277c(_0x83b164,_0x1af709),_0xc1f634=new _0x483825(_0x83b164),_0x5d99d9=new _0x15e44e(_0x83b164),_0x821a4f=this[_0xa693d5(0xd7)]({'command':_0x2c3893,'commands':_0x3fe3ce,'parentMenuView':_0xc1f634,'onExecute':_0x23c23e});_0xc1f634[_0xa693d5(0xf1)][_0xa693d5(0x12c)]({'label':_0x39cc6d||_0xadb706}),_0xc1f634[_0xa693d5(0xc5)](_0xa693d5(0xcb))['to'](_0x1af709),_0x5d99d9[_0xa693d5(0x162)][_0xa693d5(0xbc)](_0x821a4f),_0xc1f634[_0xa693d5(0x104)][_0xa693d5(0x120)][_0xa693d5(0x135)](_0x5d99d9),_0x29a423[_0xa693d5(0x120)][_0xa693d5(0x135)](_0xc1f634),_0x17ea79[_0xa693d5(0x162)][_0xa693d5(0x135)](_0x29a423);}),_0x1af709[_0x10323b(0x104)][_0x10323b(0x120)][_0x10323b(0x135)](_0x17ea79);}[_0xd68d18(0xd7)]({command:_0x20d261,commands:_0x25c890,parentMenuView:_0xc22f25,onExecute:_0x3ebe8f}){const _0x334eba=_0xd68d18,_0x4e6b45=this[_0x334eba(0xe7)],_0x49c572=_0x4e6b45[_0x334eba(0x115)];return B(_0x4e6b45,_0x25c890)[_0x334eba(0x11d)](_0x23ce1d=>{const _0x357c26=_0x334eba,_0x3bb365=new _0xb2277c(_0x49c572,_0xc22f25),_0x430b12=new _0x123ffe(_0x49c572);return _0x430b12[_0x357c26(0x12c)]({'label':_0x23ce1d[_0x357c26(0xf8)]}),_0x430b12[_0x357c26(0xc5)](_0x357c26(0xcb))['to'](_0xc22f25),_0x430b12['on'](_0x357c26(0xcb),()=>_0x3ebe8f(_0x23ce1d['id'])),_0x430b12[_0x357c26(0x127)](_0x357c26(0xf9))['to'](_0x20d261,_0x357c26(0x15c),_0x46eaf9=>_0x46eaf9[_0x357c26(0xcf)](_0x23ce1d['id'])),_0x3bb365[_0x357c26(0x120)][_0x357c26(0x135)](_0x430b12),_0x3bb365;});}}function U(_0x49fa8d,_0x3b8a2e){const _0x24cbb3=_0xd68d18;return void 0x0!==_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0===_0x3b8a2e[_0x24cbb3(0xc2)]?0x1:void 0x0===_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0!==_0x3b8a2e[_0x24cbb3(0xc2)]?-0x1:void 0x0!==_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0!==_0x3b8a2e[_0x24cbb3(0xc2)]?_0x49fa8d[_0x24cbb3(0xc2)]-_0x3b8a2e[_0x24cbb3(0xc2)]:0x0;}function B(_0x285475,_0x72a405){const _0x3e58f6=_0xd68d18;_0x72a405[_0x3e58f6(0xc7)](U);const _0x4e368c={},_0x1f1195=[];for(const _0x83e49b of _0x72a405)if(void 0x0!==_0x83e49b[_0x3e58f6(0xc2)]){if(_0x83e49b[_0x3e58f6(0xc2)]in _0x4e368c)throw new _0x4087d7(_0x3e58f6(0x148),_0x285475,{'conflictingDefinitions':[_0x83e49b,_0x4e368c[_0x83e49b[_0x3e58f6(0xc2)]]]});_0x4e368c[_0x83e49b[_0x3e58f6(0xc2)]]=_0x83e49b,_0x1f1195[_0x3e58f6(0xbd)](_0x83e49b[_0x3e58f6(0xc2)],0x0,_0x83e49b);}else _0x1f1195[_0x3e58f6(0x14e)](_0x83e49b);return _0x1f1195;}function _0x5392(){const _0x29cb2d=['updatePosition','show','text/html','isOfficialPlugin','getRanges','currentContext','label','isEnabled','source','aiAssistant','text','filter','AIAssistantUI','aiLicenseKeyDomainLimit','getData','Error\x20during\x20AI\x20content\x20generation:\x20%0','groupId','commands','panelView','change:value','usageLimit','textAdapter','change:enabledCommandsIds','_aiAssistantController','length','ck-ai-assistant-ui','isFlat','_showLicenseError','aiLicenseKeyValid','componentFactory','selection','REPLACE','showAIAssistant','replace','_formView','locale','menuitemcheckbox','fire','_forceMarkersCopy','1397832PbSWbU','custom','isOn','forEach','map','groupLabel','_commandDefinitions','children','requires','showUI','_initView','view','insertContent','tableOfContents','bind','hide','ck-ai-commands-dropdown\x20','getSelectedBlocks','showFakeVisualSelection','set','\x20ck-ai-assistant-ui_theme','update','schema','getLimitElement','_uiCssClasses','ck-ai-assistant-button\x20','6gKGvaN','82578quDdhp','add','aiLicenseKeyEvaluationLimit','get','from','aiLicenseKeyInvalid','replaceContent','menuView','ai.assistant.commands','DataTransfer','listenTo','comment','getSelectedElement','INSERT','destroy','updateView','expired','buttons','model','insertContentBelow','ai-commands-config-order-collision','contentArea','</p>','config','AIAssistant','change:isError','push','polite','copy','announce','Generated\x20content:\x20%0','menuPanelClass','once','_aiAdapter','EDITOR_TOP_SIDE','_createAIAssistantUIButton','_getResolvedCommandsDefinitions','domainLimit','change:isProcessing','menuBar:aiCommands','enabledCommandsIds','trim','AI\x20Assistant','466011BYpVfq','isPremiumPlugin','hideFakeVisualSelection','items','menuBar:aiAssistant','plugins','licenseKey','ai.assistant.disabledElements','promptView','focus','aiLicenseKeyExpired','_licenseKeyCheckInterval','addMany','splice','body','_initAriaAiStatusChangeAnnouncements','61055ZxZGHt','1255040rRQcOT','order','change','hideUI','delegate','document','sort','prompt','requiresContent','media','execute','_populateMenuBarMenu','aiLicenseKeyUsageLimit','define','includes','queryView','ai.assistant.contentAreaCssClass','invalid','3558621lRuXdd','AI\x20is\x20writing','evaluationLimit','featureNotAllowed','_getMenuBarGroupButtons','errorView','init','command:','wasMoved','_dialog','<p>','6mYmkqV','render','reset','aiCommands','fieldView','299775RczUCc','pluginName','7YuRIXg','values','editor','AI\x20Commands','rawHtml','setSelection','4QGRmsL','aiLicenseKeyNotAllowed','_onExecute','isCollapsed','ai.assistant.useTheme','editing','buttonView'];_0x5392=function(){return _0x29cb2d;};return _0x5392();}
23
+ const _0x5327c4=_0x3a8e;function _0x3608(){const _0x16a9a6=['featureNotAllowed','Error\x20during\x20AI\x20content\x20generation:\x20%0','command:','updateView','change:enabledCommandsIds','announce','forEach','panelView','groupLabel','getRanges','get','menuPanelClass','focus','_getMenuBarGroupButtons','pluginName','insertContent','update','menuitemcheckbox','_onExecute','change:value','editor','aiLicenseKeyDomainLimit','domainLimit','_formView','once','text/html','aiLicenseKeyUsageLimit','comment','tableOfContents','textAdapter','label','queryView','map','AIAssistant','values','menuView','ai.assistant.commands','aiLicenseKeyEvaluationLimit','show','model','view','body','ck-ai-commands-dropdown\x20','prompt','_commandDefinitions','invalid','menuBar:aiAssistant','showAIAssistant','promptView','hideFakeVisualSelection','getLimitElement','buttons','listenTo','_showLicenseError','_aiAdapter','copy','enabledCommandsIds','custom','hideUI','splice','5693940gRyUvP','_createAIAssistantUIButton','includes','from','REPLACE','expired','566244LDyFCj','polite','media','AI\x20Commands','3283650wiJbxq','items','ai.assistant.disabledElements','componentFactory','INSERT','getSelectedBlocks','filter','text','execute','schema','aiLicenseKeyInvalid','828965GtSAzA','hide','aiLicenseKeyExpired','replaceContent','isEnabled','children','_uiCssClasses','set','42993kxGfrU','\x20ck-ai-assistant-ui_theme','buttonView','wasMoved','reset','showUI','ai.assistant.contentAreaCssClass','AIAssistantUI','_forceMarkersCopy','getData','render','ck-ai-assistant-button\x20','AI\x20Assistant','ai-commands-config-order-collision','isCollapsed','aiAssistant','DataTransfer','setSelection','fire','init','isPremiumPlugin','ck-ai-assistant-ui','fieldView','add','rawHtml','updatePosition','_aiAssistantController','aiLicenseKeyNotAllowed','requiresContent','commands','EDITOR_TOP_SIDE','_getResolvedCommandsDefinitions','config','requires','isOn','9nQtYJx','locale','12LbpxHm','change:isProcessing','trim','insertContentBelow','destroy','<p>','licenseKey','contentArea','document','isFlat','showFakeVisualSelection','menuBar:aiCommands','_licenseKeyCheckInterval','AI\x20is\x20writing','source','editing','selection','currentContext','1665972TzfLUX','push','aiCommands','define','getSelectedElement','bind','change:isError','isOfficialPlugin','groupId','addMany','plugins','replace','usageLimit','_initView','_initAriaAiStatusChangeAnnouncements','</p>','42SmNRnw','order','change','evaluationLimit','delegate','aiLicenseKeyValid','ai.assistant.useTheme','_populateMenuBarMenu','Generated\x20content:\x20%0','errorView','3353384VqFRwa','length','sort','_dialog'];_0x3608=function(){return _0x16a9a6;};return _0x3608();}(function(_0x280c50,_0x3d1f71){const _0x2e116a=_0x3a8e,_0x1d4e71=_0x280c50();while(!![]){try{const _0x3f9c52=parseInt(_0x2e116a(0x1d7))/0x1*(parseInt(_0x2e116a(0x170))/0x2)+-parseInt(_0x2e116a(0x160))/0x3+-parseInt(_0x2e116a(0x1c0))/0x4+-parseInt(_0x2e116a(0x1cf))/0x5*(-parseInt(_0x2e116a(0x1fc))/0x6)+-parseInt(_0x2e116a(0x1ba))/0x7+-parseInt(_0x2e116a(0x17a))/0x8*(-parseInt(_0x2e116a(0x1fa))/0x9)+parseInt(_0x2e116a(0x1c4))/0xa;if(_0x3f9c52===_0x3d1f71)break;else _0x1d4e71['push'](_0x1d4e71['shift']());}catch(_0x30b9df){_0x1d4e71['push'](_0x1d4e71['shift']());}}}(_0x3608,0x73278));import{Plugin as _0x25e177}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4e6b02,IconRobotPencil as _0x41bf6e}from'ckeditor5/src/icons.js';import{first as _0xb5db40,CKEditorError as _0x5b1b4c}from'ckeditor5/src/utils.js';import{createDropdown as _0x54e0b9,addMenuToDropdown as _0x39fbf1,ButtonView as _0x3efcf3,MenuBarMenuListItemButtonView as _0x48400d,Dialog as _0x49bacf,DialogViewPosition as _0x4f6721,MenuBarMenuView as _0x1d0dec,MenuBarMenuListView as _0x2c4bdb,MenuBarMenuListItemView as _0x28714a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3d0fa3,UNGROUPED_COMMANDS_GROUP_ID as _0x1e2d1c}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x596ddd}from'./aiassistantediting.js';import{AIAdapter as _0x3c2380}from'./adapters/aiadapter.js';import{getTranslation as _0x53047d}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x26231a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x26fc7f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x467d3a}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x405ed2}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';function _0x3a8e(_0x40f0a0,_0x27a297){const _0x36085c=_0x3608();return _0x3a8e=function(_0x3a8ea7,_0x533460){_0x3a8ea7=_0x3a8ea7-0x15e;let _0x26f5f7=_0x36085c[_0x3a8ea7];return _0x26f5f7;},_0x3a8e(_0x40f0a0,_0x27a297);}import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x5327c4(0x1e7)];import{ClipboardMarkersUtils as _0x216e3c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x6dfa22,ViewDataTransfer as _0x3ccbf9}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x25e177{[_0x5327c4(0x202)];[_0x5327c4(0x208)];[_0x5327c4(0x17d)];[_0x5327c4(0x195)];[_0x5327c4(0x1b4)];[_0x5327c4(0x1f1)];[_0x5327c4(0x1d5)]='';static get[_0x5327c4(0x18c)](){const _0x460319=_0x5327c4;return _0x460319(0x1de);}static get[_0x5327c4(0x167)](){return!0x0;}static get[_0x5327c4(0x1eb)](){return!0x0;}static get[_0x5327c4(0x1f8)](){return[_0x216e3c,_0x596ddd,_0x3c2380,_0x49bacf];}constructor(_0x42421c){const _0x2da41f=_0x5327c4;super(_0x42421c),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x1c6),[_0x2da41f(0x1c2),_0x2da41f(0x1ef),_0x2da41f(0x19a)]),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x1dd),''),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x176),!0x0),this[_0x2da41f(0x1d5)]=_0x2da41f(0x1ec)+(_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x188)](_0x2da41f(0x176))?_0x2da41f(0x1d8):'');}[_0x5327c4(0x1ea)](){const _0x47cef0=_0x5327c4,{editor:_0x76b5c0}=this;this[_0x47cef0(0x1b4)]=_0x76b5c0[_0x47cef0(0x16a)][_0x47cef0(0x188)](_0x3c2380),this[_0x47cef0(0x17d)]=_0x76b5c0[_0x47cef0(0x16a)][_0x47cef0(0x188)](_0x49bacf),this[_0x47cef0(0x195)]=null,this[_0x47cef0(0x1aa)]=this[_0x47cef0(0x1f6)]();const _0x2f8292=new _0x26231a(_0x76b5c0,Array[_0x47cef0(0x1bd)](this[_0x47cef0(0x1aa)][_0x47cef0(0x1a0)]()));_0x76b5c0[_0x47cef0(0x1f4)][_0x47cef0(0x1ee)](_0x47cef0(0x1ad),_0x2f8292),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x162),_0x3485c1=>{const _0x586637=_0x47cef0,_0x4803ff=_0x54e0b9(_0x3485c1);return _0x4803ff[_0x586637(0x1d6)]({'class':_0x586637(0x1a8)+this[_0x586637(0x1d5)]}),_0x4803ff[_0x586637(0x1d9)][_0x586637(0x1d6)]({'label':_0x53047d(_0x3485c1,_0x586637(0x1c3)),'icon':_0x4e6b02,'tooltip':!0x0}),_0x4803ff['on'](_0x586637(0x1cc),_0xcb0f54=>this[_0x586637(0x190)](_0xcb0f54[_0x586637(0x20a)]['id'])),_0x39fbf1(_0x4803ff,_0x76b5c0['ui'][_0x586637(0x1a6)][_0x586637(0x1a7)],function(_0x30012c){const _0x33e913=_0x586637,_0x2d80f6=_0x3d0fa3(_0x30012c[_0x33e913(0x1f7)][_0x33e913(0x188)](_0x33e913(0x1a2)),_0x30012c[_0x33e913(0x1fb)]),_0x1da28a=B(_0x30012c,_0x2d80f6)[_0x33e913(0x1ca)](_0x535ae1=>_0x535ae1[_0x33e913(0x1f4)][_0x33e913(0x17b)]);if(0x1===_0x1da28a[_0x33e913(0x17b)])return B(_0x30012c,_0x1da28a[0x0][_0x33e913(0x1f4)])[_0x33e913(0x19e)](_0x37fc6a=>({'id':_0x37fc6a['id'],'label':_0x37fc6a[_0x33e913(0x19c)]}));return _0x1da28a[_0x33e913(0x19e)](_0x90d3d9=>{const _0x2d2a5b=_0x33e913,{groupId:_0x13ec39,groupLabel:_0x2da541,commands:_0x1bce0c}=_0x90d3d9,_0xdb8bc0=B(_0x30012c,_0x1bce0c)[_0x2d2a5b(0x19e)](_0x3c5c0f=>({'id':_0x3c5c0f['id'],'label':_0x3c5c0f[_0x2d2a5b(0x19c)]}));return{'id':_0x13ec39,'menu':_0x2da541||_0x13ec39,'children':_0xdb8bc0};});}(_0x76b5c0),{'ariaLabel':_0x53047d(_0x3485c1,_0x586637(0x1c3))}),_0x4803ff[_0x586637(0x1a1)][_0x586637(0x189)]=_0x586637(0x1a8)+this[_0x586637(0x1d5)],_0x2f8292['on'](_0x586637(0x182),_0x3ff342),_0x4803ff[_0x586637(0x1a1)][_0x586637(0x196)](_0x586637(0x1e1),_0x3ff342),_0x4803ff;function _0x3ff342(){const _0x4fd9ee=_0x586637;_0x4803ff[_0x4fd9ee(0x1d3)]=_0x2f8292[_0x4fd9ee(0x1b6)][_0x4fd9ee(0x17b)]>0x0;for(const _0x1b9109 of _0x4803ff[_0x4fd9ee(0x1a1)][_0x4fd9ee(0x1b1)])_0x1b9109[_0x4fd9ee(0x1d3)]=_0x2f8292[_0x4fd9ee(0x1b6)][_0x4fd9ee(0x1bc)](_0x1b9109['id']);}}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x207),_0x19203b=>{const _0xcb9e89=_0x47cef0,_0x25c581=new _0x1d0dec(_0x19203b);_0x25c581[_0xcb9e89(0x1d9)][_0xcb9e89(0x1d6)]({'label':_0x53047d(_0x19203b,_0xcb9e89(0x1c3)),'icon':_0x4e6b02}),_0x25c581[_0xcb9e89(0x165)](_0xcb9e89(0x1d3))['to'](_0x2f8292,_0xcb9e89(0x1b6),_0x3ffdcd=>_0x3ffdcd[_0xcb9e89(0x17b)]>0x0);const _0x3db98b=_0x3d0fa3(_0x76b5c0[_0xcb9e89(0x1f7)][_0xcb9e89(0x188)](_0xcb9e89(0x1a2)),_0x19203b);return this[_0xcb9e89(0x177)](_0x2f8292,_0x25c581,_0x3db98b,_0x2ebc63=>this[_0xcb9e89(0x190)](_0x2ebc63)),_0x25c581;}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x1e6),()=>{const _0x562088=_0x47cef0,_0x142997=this[_0x562088(0x1bb)](_0x3efcf3);return _0x142997[_0x562088(0x1d6)]({'tooltip':!0x0,'class':_0x562088(0x1e2)+this[_0x562088(0x1d5)]}),_0x142997;}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x1ac),()=>{const _0x2e9513=_0x47cef0,_0x32d0c2=this[_0x2e9513(0x1bb)](_0x48400d);return _0x32d0c2[_0x2e9513(0x1d6)]({'role':_0x2e9513(0x18f)}),_0x32d0c2;}),this[_0x47cef0(0x202)]=this[_0x47cef0(0x192)][_0x47cef0(0x1f7)][_0x47cef0(0x188)](_0x47cef0(0x202));const _0xbc1a0f=this[_0x47cef0(0x192)];this[_0x47cef0(0x208)]=setInterval(()=>{const _0x51cd33=_0x47cef0;let _0xab4690;for(const _0x6bcecd in _0xbc1a0f){const _0x2a4641=_0x6bcecd,_0x4cff26=_0xbc1a0f[_0x2a4641];if(_0x51cd33(0x175)==_0x4cff26||_0x51cd33(0x1ce)==_0x4cff26||_0x51cd33(0x1d1)==_0x4cff26||_0x51cd33(0x193)==_0x4cff26||_0x51cd33(0x1f2)==_0x4cff26||_0x51cd33(0x1a3)==_0x4cff26||_0x51cd33(0x198)==_0x4cff26){delete _0xbc1a0f[_0x2a4641],_0xab4690=_0x4cff26,clearInterval(this[_0x51cd33(0x208)]),this[_0x51cd33(0x208)]=void 0x0;break;}}_0x51cd33(0x1ce)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x1ab)),_0x51cd33(0x1d1)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x1bf)),_0x51cd33(0x193)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x194)),_0x51cd33(0x1f2)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x17e),_0x51cd33(0x19f)),_0x51cd33(0x1a3)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x173)),_0x51cd33(0x198)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x16c));},0x3e8);}[_0x5327c4(0x200)](){const _0x98b42e=_0x5327c4;super[_0x98b42e(0x200)](),this[_0x98b42e(0x208)]&&clearInterval(this[_0x98b42e(0x208)]);}[_0x5327c4(0x1dc)](_0x2b3940='',_0x3e0b3e='',_0x34a5f5=_0x5327c4(0x1b7)){const _0x30062b=_0x5327c4,_0x23849a=this[_0x30062b(0x192)],_0x244d33=_0x23849a[_0x30062b(0x20b)][_0x30062b(0x1a6)],_0x2d2794=_0x23849a[_0x30062b(0x16a)][_0x30062b(0x188)](_0x596ddd),_0x246b38=_0x23849a[_0x30062b(0x16a)][_0x30062b(0x188)](_0x216e3c);_0x2d2794[_0x30062b(0x206)]();const _0x36ef63=new w(),_0x4563b6=new ClipboardEvent(_0x30062b(0x1b5),{'clipboardData':_0x36ef63}),_0x23ef68=new _0x3ccbf9(_0x36ef63),_0x398e43=new _0x6dfa22(_0x244d33,_0x4563b6,{'dataTransfer':_0x23ef68});_0x246b38[_0x30062b(0x1df)](_0x30062b(0x199),()=>{const _0x13a9d6=_0x30062b;_0x244d33[_0x13a9d6(0x204)][_0x13a9d6(0x1e9)](_0x13a9d6(0x1b5),_0x398e43);}),this[_0x30062b(0x195)]||(this[_0x30062b(0x16d)](),this[_0x30062b(0x1f1)]=new _0x26fc7f(_0x23849a,this[_0x30062b(0x1b4)][_0x30062b(0x19b)],this[_0x30062b(0x195)]));let _0x4af923=_0x23ef68[_0x30062b(0x1e0)](_0x30062b(0x197));const _0x1c6ff9=_0x23849a[_0x30062b(0x1a5)][_0x30062b(0x204)][_0x30062b(0x15e)],_0x3dfa1f=Array[_0x30062b(0x1bd)](_0x1c6ff9[_0x30062b(0x187)]());0x1===_0x3dfa1f[_0x30062b(0x17b)]&&_0x3dfa1f[0x0][_0x30062b(0x205)]&&!_0x1c6ff9[_0x30062b(0x164)]()&&''!==_0x4af923[_0x30062b(0x16b)](/&nbsp;/g,'')[_0x30062b(0x1fe)]()&&(_0x4af923=_0x30062b(0x201)+_0x4af923+_0x30062b(0x16f)),this[_0x30062b(0x1f1)][_0x30062b(0x181)]({'actionId':_0x34a5f5,'query':_0x2b3940,'htmlContent':_0x4af923,'label':_0x3e0b3e,'mainActionLabel':_0x405ed2[_0x23849a[_0x30062b(0x1a5)][_0x30062b(0x204)][_0x30062b(0x15e)][_0x30062b(0x1e5)]?_0x30062b(0x1c8):_0x30062b(0x1be)]}),_0x30062b(0x1e6)!==this[_0x30062b(0x17d)]['id']?this[_0x30062b(0x17d)][_0x30062b(0x1a4)]({'id':_0x30062b(0x1e6),'icon':_0x41bf6e,'title':_0x53047d(this[_0x30062b(0x192)][_0x30062b(0x1fb)],_0x30062b(0x1e3)),'content':this[_0x30062b(0x195)],'position':_0x4f6721[_0x30062b(0x1f5)],'onShow':()=>{const _0x50d105=_0x30062b;this[_0x50d105(0x195)][_0x50d105(0x18a)]();},'onHide':()=>{const _0x3aaff9=_0x30062b;this[_0x3aaff9(0x1f1)][_0x3aaff9(0x1db)](),_0x2d2794[_0x3aaff9(0x1af)]();}}):this[_0x30062b(0x17d)][_0x30062b(0x1a6)][_0x30062b(0x1da)]||this[_0x30062b(0x17d)][_0x30062b(0x1a6)][_0x30062b(0x1f0)]();}[_0x5327c4(0x1b8)](){const _0x347ef8=_0x5327c4;this[_0x347ef8(0x17d)][_0x347ef8(0x1d0)]();}[_0x5327c4(0x1f6)](){const _0x2121b0=_0x5327c4,_0xaf5270=new Map(),_0x4ab185=_0x3d0fa3(this[_0x2121b0(0x192)][_0x2121b0(0x1f7)][_0x2121b0(0x188)](_0x2121b0(0x1a2)),this[_0x2121b0(0x192)][_0x2121b0(0x1fb)]);for(const _0x5652a6 of _0x4ab185)for(const _0x5d43ca of _0x5652a6[_0x2121b0(0x1f4)])_0xaf5270[_0x2121b0(0x1d6)](_0x5d43ca['id'],{..._0x5d43ca,'groupId':_0x5652a6[_0x2121b0(0x168)],'groupLabel':_0x5652a6[_0x2121b0(0x186)]||_0x5652a6[_0x2121b0(0x168)]});return _0xaf5270;}[_0x5327c4(0x1bb)](_0x4ea21b){const _0x3048a0=_0x5327c4,_0x5c7554=this[_0x3048a0(0x192)],_0x3ccfec=_0x5c7554[_0x3048a0(0x1f4)][_0x3048a0(0x188)](_0x3048a0(0x1ad)),_0xfe16bb=new _0x4ea21b(_0x5c7554[_0x3048a0(0x1fb)]);return _0xfe16bb[_0x3048a0(0x1d6)]({'label':_0x53047d(_0x5c7554[_0x3048a0(0x1fb)],_0x3048a0(0x1e3)),'icon':_0x41bf6e,'isToggleable':!0x0}),_0xfe16bb[_0x3048a0(0x165)](_0x3048a0(0x1d3))['to'](_0x3ccfec),_0xfe16bb[_0x3048a0(0x165)](_0x3048a0(0x1f9))['to'](this[_0x3048a0(0x17d)],'id',_0x170ad0=>_0x3048a0(0x1e6)===_0x170ad0),this[_0x3048a0(0x1b2)](_0xfe16bb,_0x3048a0(0x1cc),()=>{const _0x4e4c91=_0x3048a0;_0xfe16bb[_0x4e4c91(0x1f9)]?this[_0x4e4c91(0x1b8)]():_0x3ccfec[_0x4e4c91(0x1cc)]();}),_0xfe16bb;}[_0x5327c4(0x16d)](){const _0x3c34a4=_0x5327c4,_0x37cc7d=this[_0x3c34a4(0x192)][_0x3c34a4(0x16a)][_0x3c34a4(0x188)](_0x596ddd);this[_0x3c34a4(0x195)]=new _0x467d3a(this[_0x3c34a4(0x192)][_0x3c34a4(0x1fb)],this[_0x3c34a4(0x1d5)],this[_0x3c34a4(0x192)][_0x3c34a4(0x1f7)][_0x3c34a4(0x188)](_0x3c34a4(0x1dd))),this[_0x3c34a4(0x195)]['on'](_0x3c34a4(0x191),()=>{const _0x58826b=_0x3c34a4;this[_0x58826b(0x17d)][_0x58826b(0x1a6)][_0x58826b(0x1da)]||this[_0x58826b(0x17d)][_0x58826b(0x1a6)][_0x58826b(0x1f0)]();}),this[_0x3c34a4(0x195)][_0x3c34a4(0x1ae)][_0x3c34a4(0x19d)][_0x3c34a4(0x1ed)]['on'](_0x3c34a4(0x18e),()=>{const _0xa080ee=_0x3c34a4;this[_0xa080ee(0x17d)][_0xa080ee(0x1a6)][_0xa080ee(0x1da)]||this[_0xa080ee(0x17d)][_0xa080ee(0x1a6)][_0xa080ee(0x1f0)]();}),this[_0x3c34a4(0x1b2)](this[_0x3c34a4(0x195)],_0x3c34a4(0x1d2),()=>{const _0x363441=_0x3c34a4;_0x37cc7d[_0x363441(0x18d)](this[_0x363441(0x1f1)][_0x363441(0x15f)]),this[_0x363441(0x1b8)]();}),this[_0x3c34a4(0x1b2)](this[_0x3c34a4(0x195)],_0x3c34a4(0x1ff),()=>{const _0x3de937=_0x3c34a4;_0x37cc7d[_0x3de937(0x1ff)](this[_0x3de937(0x1f1)][_0x3de937(0x15f)]),this[_0x3de937(0x1b8)]();}),this[_0x3c34a4(0x16e)]();}[_0x5327c4(0x16e)](){const _0x485659=_0x5327c4,{locale:_0x15b380,ui:{ariaLiveAnnouncer:_0x1ed27f}}=this[_0x485659(0x192)];this[_0x485659(0x195)][_0x485659(0x203)]['on'](_0x485659(0x1fd),(_0x352142,_0x4c3fcb,_0x1152d7)=>{const _0x49c3a8=_0x485659,_0x507d22=this[_0x49c3a8(0x1f1)][_0x49c3a8(0x15f)];_0x1152d7?_0x1ed27f[_0x49c3a8(0x183)](_0x53047d(_0x15b380,_0x49c3a8(0x209))):_0x507d22&&_0x1ed27f[_0x49c3a8(0x183)](_0x53047d(_0x15b380,_0x49c3a8(0x178),_0x507d22),{'politeness':_0x49c3a8(0x1c1),'isUnsafeHTML':!0x0});}),this[_0x485659(0x195)]['on'](_0x485659(0x166),(_0x178cbf,_0x24821f,_0x51b571)=>{const _0xbc9afb=_0x485659;if(_0x51b571){const _0x28e278=this[_0xbc9afb(0x195)][_0xbc9afb(0x179)][_0xbc9afb(0x1cb)];_0x1ed27f[_0xbc9afb(0x183)](_0x53047d(_0x15b380,_0xbc9afb(0x17f),_0x28e278));}});}[_0x5327c4(0x190)](_0x2969d2){const _0x357261=_0x5327c4,_0x22d63a=this[_0x357261(0x1aa)][_0x357261(0x188)](_0x2969d2),_0x26366d=this[_0x357261(0x192)],_0x465b48=_0x26366d[_0x357261(0x1a5)][_0x357261(0x204)][_0x357261(0x15e)],_0x39f70e=_0x26366d[_0x357261(0x1f4)][_0x357261(0x188)](_0x357261(0x1ad)),_0x1ddae6=_0x26366d[_0x357261(0x16a)][_0x357261(0x188)](_0x596ddd),_0x278780=''+(_0x22d63a[_0x357261(0x168)]!==_0x1e2d1c?_0x22d63a[_0x357261(0x186)]+':\x20':'')+_0x22d63a[_0x357261(0x19c)];if(!0x1!==_0x22d63a[_0x357261(0x1f3)]&&_0x465b48[_0x357261(0x1e5)]){const _0x5e6372=_0xb5db40(_0x465b48[_0x357261(0x1c9)]())||_0x26366d[_0x357261(0x1a5)][_0x357261(0x1cd)][_0x357261(0x1b0)](_0x465b48);_0x26366d[_0x357261(0x1a5)][_0x357261(0x172)](_0x3452d6=>{const _0xd7f01=_0x357261;_0x3452d6[_0xd7f01(0x1e8)](_0x5e6372,'in');});}_0x1ddae6[_0x357261(0x206)](),_0x39f70e[_0x357261(0x1cc)](_0x22d63a[_0x357261(0x1a9)],_0x278780,_0x357261(0x180)+_0x2969d2);}[_0x5327c4(0x177)](_0x4d2940,_0x103d8f,_0x5564b6,_0x235898){const _0x2de564=_0x5327c4,_0x4f2f8a=this[_0x2de564(0x192)],_0x435b70=_0x4f2f8a[_0x2de564(0x1fb)],_0x4a789f=new _0x2c4bdb(_0x435b70),_0x284717=B(_0x4f2f8a,_0x5564b6)[_0x2de564(0x1ca)](_0x13f109=>_0x13f109[_0x2de564(0x1f4)][_0x2de564(0x17b)]);0x1===_0x284717[_0x2de564(0x17b)]?this[_0x2de564(0x18b)]({'command':_0x4d2940,'commands':_0x284717[0x0][_0x2de564(0x1f4)],'parentMenuView':_0x103d8f,'onExecute':_0x235898})[_0x2de564(0x184)](_0x74483a=>_0x4a789f[_0x2de564(0x1c5)][_0x2de564(0x1ee)](_0x74483a)):_0x284717[_0x2de564(0x184)](({groupId:_0x36b8fe,groupLabel:_0x49bced,commands:_0x15b7ec})=>{const _0x3b1802=_0x2de564,_0x3a76de=new _0x28714a(_0x435b70,_0x103d8f),_0x1734c0=new _0x1d0dec(_0x435b70),_0x2ddfc8=new _0x2c4bdb(_0x435b70),_0x237472=this[_0x3b1802(0x18b)]({'command':_0x4d2940,'commands':_0x15b7ec,'parentMenuView':_0x1734c0,'onExecute':_0x235898});_0x1734c0[_0x3b1802(0x1d9)][_0x3b1802(0x1d6)]({'label':_0x49bced||_0x36b8fe}),_0x1734c0[_0x3b1802(0x174)](_0x3b1802(0x1cc))['to'](_0x103d8f),_0x2ddfc8[_0x3b1802(0x1c5)][_0x3b1802(0x169)](_0x237472),_0x1734c0[_0x3b1802(0x185)][_0x3b1802(0x1d4)][_0x3b1802(0x1ee)](_0x2ddfc8),_0x3a76de[_0x3b1802(0x1d4)][_0x3b1802(0x1ee)](_0x1734c0),_0x4a789f[_0x3b1802(0x1c5)][_0x3b1802(0x1ee)](_0x3a76de);}),_0x103d8f[_0x2de564(0x185)][_0x2de564(0x1d4)][_0x2de564(0x1ee)](_0x4a789f);}[_0x5327c4(0x18b)]({command:_0x384de9,commands:_0x24f5d9,parentMenuView:_0x358842,onExecute:_0x397286}){const _0x1584b2=_0x5327c4,_0x566ee4=this[_0x1584b2(0x192)],_0x30d2c3=_0x566ee4[_0x1584b2(0x1fb)];return B(_0x566ee4,_0x24f5d9)[_0x1584b2(0x19e)](_0x463659=>{const _0x1b2d00=_0x1584b2,_0xabc540=new _0x28714a(_0x30d2c3,_0x358842),_0x4176e8=new _0x48400d(_0x30d2c3);return _0x4176e8[_0x1b2d00(0x1d6)]({'label':_0x463659[_0x1b2d00(0x19c)]}),_0x4176e8[_0x1b2d00(0x174)](_0x1b2d00(0x1cc))['to'](_0x358842),_0x4176e8['on'](_0x1b2d00(0x1cc),()=>_0x397286(_0x463659['id'])),_0x4176e8[_0x1b2d00(0x165)](_0x1b2d00(0x1d3))['to'](_0x384de9,_0x1b2d00(0x1b6),_0x1885b9=>_0x1885b9[_0x1b2d00(0x1bc)](_0x463659['id'])),_0xabc540[_0x1b2d00(0x1d4)][_0x1b2d00(0x1ee)](_0x4176e8),_0xabc540;});}}function U(_0x2ba12a,_0x25783d){const _0x597155=_0x5327c4;return void 0x0!==_0x2ba12a[_0x597155(0x171)]&&void 0x0===_0x25783d[_0x597155(0x171)]?0x1:void 0x0===_0x2ba12a[_0x597155(0x171)]&&void 0x0!==_0x25783d[_0x597155(0x171)]?-0x1:void 0x0!==_0x2ba12a[_0x597155(0x171)]&&void 0x0!==_0x25783d[_0x597155(0x171)]?_0x2ba12a[_0x597155(0x171)]-_0x25783d[_0x597155(0x171)]:0x0;}function B(_0x3a934d,_0x44ecf4){const _0x4a44b0=_0x5327c4;_0x44ecf4[_0x4a44b0(0x17c)](U);const _0x496717={},_0x49126f=[];for(const _0x2e98c7 of _0x44ecf4)if(void 0x0!==_0x2e98c7[_0x4a44b0(0x171)]){if(_0x2e98c7[_0x4a44b0(0x171)]in _0x496717)throw new _0x5b1b4c(_0x4a44b0(0x1e4),_0x3a934d,{'conflictingDefinitions':[_0x2e98c7,_0x496717[_0x2e98c7[_0x4a44b0(0x171)]]]});_0x496717[_0x2e98c7[_0x4a44b0(0x171)]]=_0x2e98c7,_0x49126f[_0x4a44b0(0x1b9)](_0x2e98c7[_0x4a44b0(0x171)],0x0,_0x2e98c7);}else _0x49126f[_0x4a44b0(0x161)](_0x2e98c7);return _0x49126f;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x58742f,_0x2db315){var _0x2e1205=_0x3e2d,_0xf1797=_0x58742f();while(!![]){try{var _0x4ca1f4=parseInt(_0x2e1205(0x13b))/0x1*(-parseInt(_0x2e1205(0x13d))/0x2)+-parseInt(_0x2e1205(0x13e))/0x3+parseInt(_0x2e1205(0x136))/0x4+parseInt(_0x2e1205(0x13c))/0x5*(parseInt(_0x2e1205(0x137))/0x6)+-parseInt(_0x2e1205(0x138))/0x7+parseInt(_0x2e1205(0x13f))/0x8+parseInt(_0x2e1205(0x139))/0x9*(parseInt(_0x2e1205(0x13a))/0xa);if(_0x4ca1f4===_0x2db315)break;else _0xf1797['push'](_0xf1797['shift']());}catch(_0x32f810){_0xf1797['push'](_0xf1797['shift']());}}}(_0x1fdb,0x72f1d));function _0x3e2d(_0xc17c9c,_0x1406b0){var _0x1fdbc9=_0x1fdb();return _0x3e2d=function(_0x3e2dfb,_0x1d1fc6){_0x3e2dfb=_0x3e2dfb-0x136;var _0x58ab9f=_0x1fdbc9[_0x3e2dfb];return _0x58ab9f;},_0x3e2d(_0xc17c9c,_0x1406b0);}function _0x1fdb(){var _0x59a957=['20hqZFfc','131434jeHZqQ','30CngrKU','14AEzwvP','1774296vZdaQH','6463952iGTgDP','3374048DPwNPx','675522RAkYSK','2535547fZevbL','78642BMwaCx'];_0x1fdb=function(){return _0x59a957;};return _0x1fdb();}import{CKEditorError as _0x3dc428}from'ckeditor5/src/utils.js';
23
+ (function(_0x22b6fd,_0x2cd2ff){var _0x4af878=_0x2f0f,_0x99a797=_0x22b6fd();while(!![]){try{var _0x4a1123=parseInt(_0x4af878(0x1cf))/0x1*(parseInt(_0x4af878(0x1cb))/0x2)+parseInt(_0x4af878(0x1c9))/0x3+parseInt(_0x4af878(0x1ca))/0x4*(-parseInt(_0x4af878(0x1cc))/0x5)+parseInt(_0x4af878(0x1cd))/0x6+parseInt(_0x4af878(0x1d1))/0x7*(parseInt(_0x4af878(0x1c8))/0x8)+-parseInt(_0x4af878(0x1d3))/0x9*(parseInt(_0x4af878(0x1d0))/0xa)+-parseInt(_0x4af878(0x1d2))/0xb*(parseInt(_0x4af878(0x1ce))/0xc);if(_0x4a1123===_0x2cd2ff)break;else _0x99a797['push'](_0x99a797['shift']());}catch(_0x153f10){_0x99a797['push'](_0x99a797['shift']());}}}(_0x5732,0x1a43d));function _0x5732(){var _0x38bafd=['40pBCWHn','7LJaWfP','1444102cONNPr','158481IgXwvc','225712HDovup','280260IcFdpM','4QXFDbk','22UnAgYa','197720aJdjLk','580032AAVrwL','12WEkeXY','11867jWVwlR'];_0x5732=function(){return _0x38bafd;};return _0x5732();}function _0x2f0f(_0x4a86d,_0x24eb54){var _0x5732e2=_0x5732();return _0x2f0f=function(_0x2f0f0e,_0x4cda58){_0x2f0f0e=_0x2f0f0e-0x1c8;var _0x19947d=_0x5732e2[_0x2f0f0e];return _0x19947d;},_0x2f0f(_0x4a86d,_0x24eb54);}import{CKEditorError as _0x3036a0}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3de219=_0x9df7;(function(_0x20ee94,_0x340879){const _0x48f150=_0x9df7,_0x15efcf=_0x20ee94();while(!![]){try{const _0x31f62a=parseInt(_0x48f150(0xbd))/0x1*(-parseInt(_0x48f150(0xdc))/0x2)+parseInt(_0x48f150(0xe5))/0x3+parseInt(_0x48f150(0xdb))/0x4*(-parseInt(_0x48f150(0xcf))/0x5)+-parseInt(_0x48f150(0xe1))/0x6+parseInt(_0x48f150(0xb5))/0x7*(-parseInt(_0x48f150(0xd6))/0x8)+parseInt(_0x48f150(0xd7))/0x9*(parseInt(_0x48f150(0xd3))/0xa)+-parseInt(_0x48f150(0xe6))/0xb*(-parseInt(_0x48f150(0xc3))/0xc);if(_0x31f62a===_0x340879)break;else _0x15efcf['push'](_0x15efcf['shift']());}catch(_0x12e2bb){_0x15efcf['push'](_0x15efcf['shift']());}}}(_0x4f15,0xad199));import{ObservableMixin as _0x1e5fae}from'ckeditor5/src/utils.js';function _0x9df7(_0x5b2818,_0x5c0018){const _0x4f1568=_0x4f15();return _0x9df7=function(_0x9df7f3,_0x30cfe5){_0x9df7f3=_0x9df7f3-0xa8;let _0x515c2c=_0x4f1568[_0x9df7f3];return _0x515c2c;},_0x9df7(_0x5b2818,_0x5c0018);}import{AIRequestError as _0x2e930f}from'../adapters/aiadapter.js';import{Matcher as _0xef8a5f,ViewUpcastWriter as _0x526394}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x4f15(){const _0x7b43c=['exec','mainAction','_sanitizeHTML','message','endsWith','name','from','_parseAndNormalizeContent','_stripMarkdownSyntax','htmlProcessor','serializeToString','prompt','finishProcessing','7OibjtE','childNodes','value','markers','view','text/html','querySelector','listenTo','129vuXCGy','createElement','rename','catch','startsWith','render','348xHGRAU','isProcessing','currentContext','stringify','previousActionId','element','reverse','currentResponse','tryAgainEvent','stopListening','_normalizeResponseHeadings','editing','135czyqNq','previousContext','ELEMENT_NODE','initialContext','21990kCkrAx','document','domConverter','9928304RseRmn','2682wKjVxR','get','```html','previousLabel','15576OvdUIx','17194GSBmlo','once','body','nodeType','clear','830388GggBNt','finally','abort','div','3513867vUiBVz','559867kBdihh','editor','_xmlSerializer','set:currentContext','reset','custom','toView','stopProcessing','handleError','_handleQuery','length','config','processor','<h1></h1>','then','_sanitizationContainer','destroy','trim','submitPrompt','updateView','ai.assistant.preserveComments','setContentOf','remove','_domParser','startProcessing','toModel','makeRequest','_isH1TagSupportEnabled','match','isRendered','substring','set','textAdapter','```','previousQuery','data','push','parseFromString','viewToDom','innerHTML'];_0x4f15=function(){return _0x7b43c;};return _0x4f15();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x1e5fae(){[_0x3de219(0xe7)];[_0x3de219(0x106)];[_0x3de219(0xb9)];[_0x3de219(0xf5)];[_0x3de219(0xfd)];[_0x3de219(0xe8)];constructor(_0x29ee8f,_0x4b0572,_0x5f3cec){const _0x31d643=_0x3de219;super(),this[_0x31d643(0xe7)]=_0x29ee8f,this[_0x31d643(0x106)]=_0x4b0572,this[_0x31d643(0xf5)]=document[_0x31d643(0xbe)](_0x31d643(0xe4)),this[_0x31d643(0xfd)]=new DOMParser(),this[_0x31d643(0xe8)]=new XMLSerializer(),this[_0x31d643(0xb9)]=_0x5f3cec,this[_0x31d643(0x105)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x31d643(0xe9),(_0xb84b74,_0x369a1c,_0xa2b103)=>{const _0x1740e0=_0x31d643;this[_0x1740e0(0xb9)][_0x1740e0(0xb7)]=this[_0x1740e0(0xaa)](_0xa2b103);}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xf8),(_0xdf0001,_0x52096d)=>{const _0x47c8be=_0x31d643,_0x1180d4=this[_0x47c8be(0xc5)]||this[_0x47c8be(0xd2)];this[_0x47c8be(0xef)](_0x52096d,_0x1180d4,_0x47c8be(0xeb));}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xcb),()=>{const _0x5d7147=_0x31d643;this[_0x5d7147(0xb9)][_0x5d7147(0xb3)]=this[_0x5d7147(0xda)],this[_0x5d7147(0xef)](this[_0x5d7147(0x108)],this[_0x5d7147(0xd0)],this[_0x5d7147(0xc7)],this[_0x5d7147(0xda)]);}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xed),()=>{const _0x31c5e6=_0x31d643;this[_0x31c5e6(0xed)]();});}[_0x3de219(0xf6)](){const _0xb897b=_0x3de219;this[_0xb897b(0xcc)]();}async[_0x3de219(0xf9)]({actionId:_0x5cf081,query:_0x2a250d,htmlContent:_0x2a8f4e,label:_0x59b6ab,mainActionLabel:_0x3ca117}){const _0x5a89c3=_0x3de219;this[_0x5a89c3(0xb9)][_0x5a89c3(0xb3)]=_0x59b6ab,this[_0x5a89c3(0xb9)][_0x5a89c3(0xa9)]=_0x3ca117,this[_0x5a89c3(0xd2)]=_0x2a8f4e,_0x2a250d&&(this[_0x5a89c3(0xb9)][_0x5a89c3(0x103)]?this[_0x5a89c3(0xef)](_0x2a250d,_0x2a8f4e,_0x5cf081,_0x59b6ab):this[_0x5a89c3(0xb9)][_0x5a89c3(0xdd)](_0x5a89c3(0xc2),()=>{const _0x2d6db7=_0x5a89c3;this[_0x2d6db7(0xef)](_0x2a250d,_0x2a8f4e,_0x5cf081,_0x59b6ab);}));}[_0x3de219(0xed)](){const _0x5e1b3d=_0x3de219;this[_0x5e1b3d(0xc4)]&&(this[_0x5e1b3d(0xc4)]=!0x1,this[_0x5e1b3d(0xb9)][_0x5e1b3d(0xb4)](),this[_0x5e1b3d(0x106)][_0x5e1b3d(0xe3)]());}[_0x3de219(0xea)](){const _0x2c45de=_0x3de219;this[_0x2c45de(0xd2)]='',this[_0x2c45de(0xc5)]='',this[_0x2c45de(0xca)]='',this[_0x2c45de(0xd0)]='',this[_0x2c45de(0x108)]='',this[_0x2c45de(0xda)]='',this[_0x2c45de(0xc7)]=void 0x0,this[_0x2c45de(0xb9)][_0x2c45de(0xea)](),this[_0x2c45de(0xed)]();}async[_0x3de219(0xef)](_0xf48754,_0x22b022,_0x128074,_0x3e9d25){const _0x130ec0=_0x3de219;return this[_0x130ec0(0xc4)]=!0x0,this[_0x130ec0(0xb9)][_0x130ec0(0xfe)](),this[_0x130ec0(0xd0)]=_0x22b022,this[_0x130ec0(0x108)]=_0xf48754,this[_0x130ec0(0xda)]=_0x3e9d25||_0xf48754,this[_0x130ec0(0xc7)]=_0x128074,new Promise(_0xfe2b68=>{const _0x393d13=_0x130ec0;this[_0x393d13(0x106)][_0x393d13(0x100)]({'query':_0xf48754,'context':_0x22b022,'onData':_0x55c1d2=>{const _0x538526=_0x393d13;this[_0x538526(0xca)]=_0x55c1d2,this[_0x538526(0xc5)]=this[_0x538526(0xaf)](this[_0x538526(0xca)]);},'actionId':_0x128074})[_0x393d13(0xf4)](()=>{const _0x111b67=_0x393d13;!this[_0x111b67(0xc5)]&&this[_0x111b67(0xca)]&&(this[_0x111b67(0xc5)]=this[_0x111b67(0xaf)](this[_0x111b67(0xca)],!0x0));})[_0x393d13(0xc0)](_0x1696dc=>{const _0x3cc2f4=_0x393d13;_0x1696dc instanceof _0x2e930f?this[_0x3cc2f4(0xb9)][_0x3cc2f4(0xee)](_0x1696dc[_0x3cc2f4(0xab)]):this[_0x3cc2f4(0xb9)][_0x3cc2f4(0xee)](),_0xfe2b68();})[_0x393d13(0xe2)](()=>{const _0x255a17=_0x393d13;this[_0x255a17(0xed)](),_0xfe2b68();});});}[_0x3de219(0xaf)](_0x585f3d,_0xc59f1=!0x1){const _0x1994e9=_0x3de219,_0x5318db=hs[_0x1994e9(0xa8)](_0x585f3d);_0x585f3d=_0x5318db?_0x585f3d[_0x1994e9(0x104)](_0x5318db[0x1][_0x1994e9(0xf0)]):_0x585f3d[_0x1994e9(0xf0)]<0x64&&!_0xc59f1?'':this[_0x1994e9(0xb0)](_0x585f3d);const _0x57c3aa=this[_0x1994e9(0xfd)][_0x1994e9(0x10b)](_0x585f3d,_0x1994e9(0xba));if(_0x5318db){const _0x524c90=Array[_0x1994e9(0xae)](_0x57c3aa[_0x1994e9(0xde)][_0x1994e9(0xb6)]);_0x524c90[_0x1994e9(0xc9)]();for(const _0x122cb2 of _0x524c90){if(_0x122cb2[_0x1994e9(0xdf)]==Node[_0x1994e9(0xd1)])break;_0x122cb2[_0x1994e9(0xfc)]();}}const _0x309b15=this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xf2)][_0x1994e9(0xec)](this[_0x1994e9(0xe8)][_0x1994e9(0xb2)](_0x57c3aa[_0x1994e9(0xde)]));this[_0x1994e9(0x101)]()||this[_0x1994e9(0xcd)](_0x309b15);const _0x88ca5a=this[_0x1994e9(0xe7)][_0x1994e9(0xf1)][_0x1994e9(0xd8)](_0x1994e9(0xfa)),_0x41e44b=this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xff)](_0x309b15);return _0x88ca5a||_0x41e44b[_0x1994e9(0xb8)][_0x1994e9(0xe0)](),this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xc6)](_0x41e44b);}[_0x3de219(0xcd)](_0x3ba70c){const _0xf79566=_0x3de219,_0xd08348=new _0x526394(this[_0xf79566(0xe7)][_0xf79566(0xce)][_0xf79566(0xb9)][_0xf79566(0xd4)]),_0x33aa11=new _0xef8a5f({'name':/^h[1-5]$/}),_0x5a8080=[];let _0x171576=!0x1;for(const _0x46b05d of _0x3ba70c)_0x46b05d['is'](_0xf79566(0xc8))&&_0x33aa11[_0xf79566(0x102)](_0x46b05d)&&(_0x5a8080[_0xf79566(0x10a)](_0x46b05d),'h1'==_0x46b05d[_0xf79566(0xad)]&&(_0x171576=!0x0));if(_0x171576){for(const _0x26bac8 of _0x5a8080)_0xd08348[_0xf79566(0xbf)]('h'+(parseInt(_0x26bac8[_0xf79566(0xad)][0x1])+0x1),_0x26bac8);}}[_0x3de219(0x101)](){const _0x4ed613=_0x3de219,{data:_0x5d27bf,editing:_0x556984}=this[_0x4ed613(0xe7)],_0x49e312=_0x5d27bf[_0x4ed613(0xb1)][_0x4ed613(0xec)](_0x4ed613(0xf3)),_0x34161c=_0x5d27bf[_0x4ed613(0xec)](_0x5d27bf[_0x4ed613(0xff)](_0x49e312));return!!_0x556984[_0x4ed613(0xb9)][_0x4ed613(0xd5)][_0x4ed613(0x10c)](_0x34161c)[_0x4ed613(0xbb)]('h1');}[_0x3de219(0xaa)](_0x4ef731){const _0x48b644=_0x3de219;return this[_0x48b644(0xe7)][_0x48b644(0xce)][_0x48b644(0xb9)][_0x48b644(0xd5)][_0x48b644(0xfb)](this[_0x48b644(0xf5)],_0x4ef731),this[_0x48b644(0xf5)][_0x48b644(0x10d)];}[_0x3de219(0xb0)](_0x1cf31a){const _0xa8abce=_0x3de219,_0x4751da=_0x1cf31a[_0xa8abce(0xf7)]();return _0x4751da[_0xa8abce(0xc1)](_0xa8abce(0xd9))?_0x4751da[_0xa8abce(0xac)](_0xa8abce(0x107))?_0x4751da[_0xa8abce(0x104)](0x7,_0x4751da[_0xa8abce(0xf0)]-0x3):_0x4751da[_0xa8abce(0x104)](0x7):_0x1cf31a;}}
23
+ const _0x528d6b=_0x41e7;function _0x41e7(_0x1252ca,_0x3dc6de){const _0x3565e8=_0x3565();return _0x41e7=function(_0x41e7a7,_0x3a86c3){_0x41e7a7=_0x41e7a7-0x12c;let _0x58f290=_0x3565e8[_0x41e7a7];return _0x58f290;},_0x41e7(_0x1252ca,_0x3dc6de);}(function(_0x33797a,_0x1e20bb){const _0x432938=_0x41e7,_0x4184ac=_0x33797a();while(!![]){try{const _0x32187c=parseInt(_0x432938(0x16e))/0x1+-parseInt(_0x432938(0x154))/0x2+-parseInt(_0x432938(0x188))/0x3+-parseInt(_0x432938(0x173))/0x4*(parseInt(_0x432938(0x181))/0x5)+parseInt(_0x432938(0x143))/0x6+-parseInt(_0x432938(0x169))/0x7+parseInt(_0x432938(0x156))/0x8;if(_0x32187c===_0x1e20bb)break;else _0x4184ac['push'](_0x4184ac['shift']());}catch(_0x2680dc){_0x4184ac['push'](_0x4184ac['shift']());}}}(_0x3565,0xe2f2a));import{ObservableMixin as _0x58566e}from'ckeditor5/src/utils.js';import{AIRequestError as _0x258e42}from'../adapters/aiadapter.js';import{Matcher as _0x563d12,ViewUpcastWriter as _0x4ba00c}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x58566e(){[_0x528d6b(0x133)];[_0x528d6b(0x140)];[_0x528d6b(0x155)];[_0x528d6b(0x168)];[_0x528d6b(0x175)];[_0x528d6b(0x13b)];constructor(_0x38ceea,_0x26c5c0,_0x1224b1){const _0x11d7f6=_0x528d6b;super(),this[_0x11d7f6(0x133)]=_0x38ceea,this[_0x11d7f6(0x140)]=_0x26c5c0,this[_0x11d7f6(0x168)]=document[_0x11d7f6(0x164)](_0x11d7f6(0x130)),this[_0x11d7f6(0x175)]=new DOMParser(),this[_0x11d7f6(0x13b)]=new XMLSerializer(),this[_0x11d7f6(0x155)]=_0x1224b1,this[_0x11d7f6(0x14b)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x11d7f6(0x134),(_0x39fa60,_0xb10c8,_0x1bc47e)=>{const _0x2fae98=_0x11d7f6;this[_0x2fae98(0x155)][_0x2fae98(0x139)]=this[_0x2fae98(0x174)](_0x1bc47e);}),this[_0x11d7f6(0x142)](this[_0x11d7f6(0x155)],_0x11d7f6(0x13c),(_0x45bf63,_0xfc499)=>{const _0x2af3d3=_0x11d7f6,_0xa16ca7=this[_0x2af3d3(0x15b)]||this[_0x2af3d3(0x153)];this[_0x2af3d3(0x141)](_0xfc499,_0xa16ca7,_0x2af3d3(0x13a));}),this[_0x11d7f6(0x142)](this[_0x11d7f6(0x155)],_0x11d7f6(0x136),()=>{const _0x3df7e3=_0x11d7f6;this[_0x3df7e3(0x155)][_0x3df7e3(0x147)]=this[_0x3df7e3(0x17c)],this[_0x3df7e3(0x141)](this[_0x3df7e3(0x13e)],this[_0x3df7e3(0x178)],this[_0x3df7e3(0x16f)],this[_0x3df7e3(0x17c)]);}),this[_0x11d7f6(0x142)](this[_0x11d7f6(0x155)],_0x11d7f6(0x165),()=>{const _0x417d54=_0x11d7f6;this[_0x417d54(0x165)]();});}[_0x528d6b(0x189)](){const _0x59a37a=_0x528d6b;this[_0x59a37a(0x12d)]();}async[_0x528d6b(0x172)]({actionId:_0x1e4284,query:_0x1a6be2,htmlContent:_0xe43aa4,label:_0x2adcba,mainActionLabel:_0x105e32}){const _0x41fda8=_0x528d6b;this[_0x41fda8(0x155)][_0x41fda8(0x147)]=_0x2adcba,this[_0x41fda8(0x155)][_0x41fda8(0x157)]=_0x105e32,this[_0x41fda8(0x153)]=_0xe43aa4,_0x1a6be2&&(this[_0x41fda8(0x155)][_0x41fda8(0x177)]?this[_0x41fda8(0x141)](_0x1a6be2,_0xe43aa4,_0x1e4284,_0x2adcba):this[_0x41fda8(0x155)][_0x41fda8(0x14f)](_0x41fda8(0x15a),()=>{const _0x27009a=_0x41fda8;this[_0x27009a(0x141)](_0x1a6be2,_0xe43aa4,_0x1e4284,_0x2adcba);}));}[_0x528d6b(0x165)](){const _0x2be259=_0x528d6b;this[_0x2be259(0x17b)]&&(this[_0x2be259(0x17b)]=!0x1,this[_0x2be259(0x155)][_0x2be259(0x16b)](),this[_0x2be259(0x140)][_0x2be259(0x148)]());}[_0x528d6b(0x14d)](){const _0x39386a=_0x528d6b;this[_0x39386a(0x153)]='',this[_0x39386a(0x15b)]='',this[_0x39386a(0x152)]='',this[_0x39386a(0x178)]='',this[_0x39386a(0x13e)]='',this[_0x39386a(0x17c)]='',this[_0x39386a(0x16f)]=void 0x0,this[_0x39386a(0x155)][_0x39386a(0x14d)](),this[_0x39386a(0x165)]();}async[_0x528d6b(0x141)](_0x63fed9,_0x51cb6a,_0x246b7e,_0x18c438){const _0x490863=_0x528d6b;return this[_0x490863(0x17b)]=!0x0,this[_0x490863(0x155)][_0x490863(0x185)](),this[_0x490863(0x178)]=_0x51cb6a,this[_0x490863(0x13e)]=_0x63fed9,this[_0x490863(0x17c)]=_0x18c438||_0x63fed9,this[_0x490863(0x16f)]=_0x246b7e,new Promise(_0x5040b2=>{const _0x4544ea=_0x490863;this[_0x4544ea(0x140)][_0x4544ea(0x135)]({'query':_0x63fed9,'context':_0x51cb6a,'onData':_0x10e4cc=>{const _0x5e33cb=_0x4544ea;this[_0x5e33cb(0x152)]=_0x10e4cc,this[_0x5e33cb(0x15b)]=this[_0x5e33cb(0x16a)](this[_0x5e33cb(0x152)]);},'actionId':_0x246b7e})[_0x4544ea(0x187)](()=>{const _0x4163b6=_0x4544ea;!this[_0x4163b6(0x15b)]&&this[_0x4163b6(0x152)]&&(this[_0x4163b6(0x15b)]=this[_0x4163b6(0x16a)](this[_0x4163b6(0x152)],!0x0));})[_0x4544ea(0x14a)](_0x226473=>{const _0x522fdd=_0x4544ea;_0x226473 instanceof _0x258e42?this[_0x522fdd(0x155)][_0x522fdd(0x13d)](_0x226473[_0x522fdd(0x166)]):this[_0x522fdd(0x155)][_0x522fdd(0x13d)](),_0x5040b2();})[_0x4544ea(0x132)](()=>{const _0x1a86a4=_0x4544ea;this[_0x1a86a4(0x165)](),_0x5040b2();});});}[_0x528d6b(0x16a)](_0x269851,_0x1d61ee=!0x1){const _0xc5bf1=_0x528d6b,_0x265ce6=hs[_0xc5bf1(0x18c)](_0x269851);_0x269851=_0x265ce6?_0x269851[_0xc5bf1(0x15e)](_0x265ce6[0x1][_0xc5bf1(0x183)]):_0x269851[_0xc5bf1(0x183)]<0x64&&!_0x1d61ee?'':this[_0xc5bf1(0x162)](_0x269851);const _0xf25df1=this[_0xc5bf1(0x175)][_0xc5bf1(0x186)](_0x269851,_0xc5bf1(0x15f));if(_0x265ce6){const _0x3d5d3e=Array[_0xc5bf1(0x13f)](_0xf25df1[_0xc5bf1(0x16d)][_0xc5bf1(0x146)]);_0x3d5d3e[_0xc5bf1(0x150)]();for(const _0x5a4e6d of _0x3d5d3e){if(_0x5a4e6d[_0xc5bf1(0x180)]==Node[_0xc5bf1(0x176)])break;_0x5a4e6d[_0xc5bf1(0x18d)]();}}const _0x48de34=this[_0xc5bf1(0x133)][_0xc5bf1(0x17e)][_0xc5bf1(0x159)][_0xc5bf1(0x17d)](this[_0xc5bf1(0x13b)][_0xc5bf1(0x163)](_0xf25df1[_0xc5bf1(0x16d)]));this[_0xc5bf1(0x151)]()||this[_0xc5bf1(0x138)](_0x48de34);const _0x40e220=this[_0xc5bf1(0x133)][_0xc5bf1(0x161)][_0xc5bf1(0x18b)](_0xc5bf1(0x12c)),_0x190638=this[_0xc5bf1(0x133)][_0xc5bf1(0x17e)][_0xc5bf1(0x149)](_0x48de34);return _0x40e220||_0x190638[_0xc5bf1(0x17f)][_0xc5bf1(0x158)](),this[_0xc5bf1(0x133)][_0xc5bf1(0x17e)][_0xc5bf1(0x15c)](_0x190638);}[_0x528d6b(0x138)](_0x4728a8){const _0xfb7994=_0x528d6b,_0x41a0b4=new _0x4ba00c(this[_0xfb7994(0x133)][_0xfb7994(0x131)][_0xfb7994(0x155)][_0xfb7994(0x14e)]),_0x55b457=new _0x563d12({'name':/^h[1-5]$/}),_0x5639bc=[];let _0x1bc030=!0x1;for(const _0x1561cc of _0x4728a8)_0x1561cc['is'](_0xfb7994(0x144))&&_0x55b457[_0xfb7994(0x15d)](_0x1561cc)&&(_0x5639bc[_0xfb7994(0x14c)](_0x1561cc),'h1'==_0x1561cc[_0xfb7994(0x12f)]&&(_0x1bc030=!0x0));if(_0x1bc030){for(const _0x37cc57 of _0x5639bc)_0x41a0b4[_0xfb7994(0x137)]('h'+(parseInt(_0x37cc57[_0xfb7994(0x12f)][0x1])+0x1),_0x37cc57);}}[_0x528d6b(0x151)](){const _0x1aa9a7=_0x528d6b,{data:_0x15504d,editing:_0x25e2aa}=this[_0x1aa9a7(0x133)],_0x2887ec=_0x15504d[_0x1aa9a7(0x16c)][_0x1aa9a7(0x17d)](_0x1aa9a7(0x171)),_0x1a37fe=_0x15504d[_0x1aa9a7(0x17d)](_0x15504d[_0x1aa9a7(0x149)](_0x2887ec));return!!_0x25e2aa[_0x1aa9a7(0x155)][_0x1aa9a7(0x182)][_0x1aa9a7(0x167)](_0x1a37fe)[_0x1aa9a7(0x145)]('h1');}[_0x528d6b(0x174)](_0x55364a){const _0x40de1a=_0x528d6b;return this[_0x40de1a(0x133)][_0x40de1a(0x131)][_0x40de1a(0x155)][_0x40de1a(0x182)][_0x40de1a(0x160)](this[_0x40de1a(0x168)],_0x55364a),this[_0x40de1a(0x168)][_0x40de1a(0x179)];}[_0x528d6b(0x162)](_0x6ea88e){const _0x20cea9=_0x528d6b,_0x486ab4=_0x6ea88e[_0x20cea9(0x18a)]();return _0x486ab4[_0x20cea9(0x17a)](_0x20cea9(0x184))?_0x486ab4[_0x20cea9(0x170)](_0x20cea9(0x12e))?_0x486ab4[_0x20cea9(0x15e)](0x7,_0x486ab4[_0x20cea9(0x183)]-0x3):_0x486ab4[_0x20cea9(0x15e)](0x7):_0x6ea88e;}}function _0x3565(){const _0x379aea=['_parseAndNormalizeContent','finishProcessing','htmlProcessor','body','1635015MSvXlQ','previousActionId','endsWith','<h1></h1>','updateView','12UhUmbx','_sanitizeHTML','_domParser','ELEMENT_NODE','isRendered','previousContext','innerHTML','startsWith','isProcessing','previousLabel','toView','data','markers','nodeType','1846265wcJWag','domConverter','length','```html','startProcessing','parseFromString','then','1825986ZacMin','destroy','trim','get','exec','remove','ai.assistant.preserveComments','stopListening','```','name','div','editing','finally','editor','set:currentContext','makeRequest','tryAgainEvent','rename','_normalizeResponseHeadings','value','custom','_xmlSerializer','submitPrompt','handleError','previousQuery','from','textAdapter','_handleQuery','listenTo','7435476pBzYuH','element','querySelector','childNodes','prompt','abort','toModel','catch','set','push','reset','document','once','reverse','_isH1TagSupportEnabled','currentResponse','initialContext','3191386QISfeP','view','24668544JHhFMi','mainAction','clear','processor','render','currentContext','stringify','match','substring','text/html','setContentOf','config','_stripMarkdownSyntax','serializeToString','createElement','stopProcessing','message','viewToDom','_sanitizationContainer','12012959zjspqn'];_0x3565=function(){return _0x379aea;};return _0x3565();}