@ckeditor/ckeditor5-ai 47.6.1 → 47.6.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 (324) hide show
  1. package/LICENSE.md +0 -4
  2. package/build/ai.js +2 -1
  3. package/dist/index.js +5 -5
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/lang/contexts.json +1 -0
  151. package/package.json +15 -16
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.d.ts +15 -156
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.d.ts +2 -0
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatballoon.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/ui/aichatballoonview.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  213. package/src/aichat/utils/eventnames.js +1 -1
  214. package/src/aichat/utils/promisequeue.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  225. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  226. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  227. package/src/aicore/aiconnector.js +1 -1
  228. package/src/aicore/aiediting.js +1 -1
  229. package/src/aicore/model/aicapabilities.js +1 -1
  230. package/src/aicore/model/aicontext.js +1 -1
  231. package/src/aicore/model/aiinteraction.js +1 -1
  232. package/src/aicore/model/aimodels.js +1 -1
  233. package/src/aicore/model/aireply.js +1 -1
  234. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  235. package/src/aicore/pipeline/airesponseparser.js +2 -2
  236. package/src/aicore/ui/aidisclaimerview.js +1 -1
  237. package/src/aicore/ui/aiskeleton.js +1 -1
  238. package/src/aicore/ui/aispinner.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  248. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  249. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  250. package/src/aicore/utils/common-translations.js +1 -1
  251. package/src/aicore/utils/createresizebutton.js +1 -1
  252. package/src/aicore/utils/documentposition.js +1 -1
  253. package/src/aicore/utils/documentrange.js +1 -1
  254. package/src/aicore/utils/eventnames.js +1 -1
  255. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  256. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  257. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  258. package/src/aicore/utils/htmlparser.js +1 -1
  259. package/src/aicore/utils/htmlstreamer.js +1 -1
  260. package/src/aicore/utils/scrollmanager.js +1 -1
  261. package/src/aieditorintegration/aieditorintegration.js +1 -1
  262. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  263. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  264. package/src/aiquickactions/aiquickactions.js +1 -1
  265. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  266. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  267. package/src/aiquickactions/aiquickactionsui.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  270. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  271. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  272. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  273. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  274. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  275. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  276. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  277. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  278. package/src/aireviewcore/aireviewcoreui.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  280. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  281. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  282. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  283. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  293. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  294. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  295. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  296. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  297. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  298. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  299. package/src/aireviewmode/aireviewmode.js +1 -1
  300. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  301. package/src/aireviewmode/aireviewmodeui.js +1 -1
  302. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  303. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  304. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  305. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  306. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/aitranslate/aitranslate.js +1 -1
  313. package/src/aitranslate/aitranslatecontroller.js +1 -1
  314. package/src/aitranslate/aitranslateui.js +1 -1
  315. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  316. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  317. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  318. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  319. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  320. package/src/errors.js +1 -1
  321. package/src/errorsmap.js +1 -1
  322. package/src/index.js +1 -1
  323. package/build/966.ai.js +0 -5
  324. package/build/translations/en.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x170cec=_0x667b;(function(_0x41c07f,_0x18d9ea){var _0x45d2cd=_0x667b,_0x478b03=_0x41c07f();while(!![]){try{var _0x18fe1d=-parseInt(_0x45d2cd(0x1ed))/0x1+-parseInt(_0x45d2cd(0x1ef))/0x2*(parseInt(_0x45d2cd(0x1e0))/0x3)+parseInt(_0x45d2cd(0x1e5))/0x4+-parseInt(_0x45d2cd(0x1ec))/0x5+parseInt(_0x45d2cd(0x1e9))/0x6+parseInt(_0x45d2cd(0x1e2))/0x7+parseInt(_0x45d2cd(0x1e8))/0x8;if(_0x18fe1d===_0x18d9ea)break;else _0x478b03['push'](_0x478b03['shift']());}catch(_0x7eed88){_0x478b03['push'](_0x478b03['shift']());}}}(_0x872c,0x4fc2c));function _0x872c(){var _0x5349e7=['1245702AeLZZn','aiadapter-text-adapter-not-set','AIAdapter','1729845AAyeIk','445861asEDkj','isPremiumPlugin','2VgPKrC','afterInit','882255JOSlqR','name','1054571HTFBOu','isOfficialPlugin','AIRequestError','680648UfYZqk','textAdapter','pluginName','7073464qmUCmM'];_0x872c=function(){return _0x5349e7;};return _0x872c();}import{Plugin as _0x56ee32}from'ckeditor5/src/core.js';import{CKEditorError as _0x559b9c}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x56ee32{static get[_0x170cec(0x1e7)](){var _0x14e064=_0x170cec;return _0x14e064(0x1eb);}static get[_0x170cec(0x1e3)](){return!0x0;}static get[_0x170cec(0x1ee)](){return!0x0;}[_0x170cec(0x1f0)](){var _0x5235d7=_0x170cec;if(!this[_0x5235d7(0x1e6)])throw new _0x559b9c(_0x5235d7(0x1ea),null);}}function _0x667b(_0xf65d2a,_0x205c78){var _0x872ca7=_0x872c();return _0x667b=function(_0x667b91,_0x4c8580){_0x667b91=_0x667b91-0x1e0;var _0x41b2e6=_0x872ca7[_0x667b91];return _0x41b2e6;},_0x667b(_0xf65d2a,_0x205c78);}export class AIRequestError extends Error{constructor(_0x13029f){var _0x3ad97d=_0x170cec;super(_0x13029f),this[_0x3ad97d(0x1e1)]=_0x3ad97d(0x1e4);}}
23
+ var _0x9d9218=_0x47fe;(function(_0x47d3dd,_0x2df22a){var _0x266df5=_0x47fe,_0x2ceebd=_0x47d3dd();while(!![]){try{var _0x2b801f=-parseInt(_0x266df5(0x7c))/0x1+parseInt(_0x266df5(0x6f))/0x2*(parseInt(_0x266df5(0x77))/0x3)+parseInt(_0x266df5(0x83))/0x4*(parseInt(_0x266df5(0x71))/0x5)+-parseInt(_0x266df5(0x72))/0x6*(-parseInt(_0x266df5(0x75))/0x7)+-parseInt(_0x266df5(0x78))/0x8*(parseInt(_0x266df5(0x76))/0x9)+parseInt(_0x266df5(0x7f))/0xa*(parseInt(_0x266df5(0x7b))/0xb)+-parseInt(_0x266df5(0x74))/0xc;if(_0x2b801f===_0x2df22a)break;else _0x2ceebd['push'](_0x2ceebd['shift']());}catch(_0x546e5){_0x2ceebd['push'](_0x2ceebd['shift']());}}}(_0x5b1f,0x81433));function _0x5b1f(){var _0x28322a=['textAdapter','764752eGgeiz','2504rEOByz','pluginName','10NnogOY','102XUhQkH','AIRequestError','3744180LJmJCx','165214YghoZr','34002vCnISA','1047llTIax','328nTaGkG','isOfficialPlugin','aiadapter-text-adapter-not-set','29150jodTbE','332836UKExsD','name','isPremiumPlugin','410sMGdtS','AIAdapter','afterInit'];_0x5b1f=function(){return _0x28322a;};return _0x5b1f();}import{Plugin as _0x405610}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ad823}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x405610{static get[_0x9d9218(0x70)](){var _0x4708ea=_0x9d9218;return _0x4708ea(0x80);}static get[_0x9d9218(0x79)](){return!0x0;}static get[_0x9d9218(0x7e)](){return!0x0;}[_0x9d9218(0x81)](){var _0xed3435=_0x9d9218;if(!this[_0xed3435(0x82)])throw new _0x2ad823(_0xed3435(0x7a),null);}}function _0x47fe(_0x2a3df1,_0x33f61e){var _0x5b1f55=_0x5b1f();return _0x47fe=function(_0x47fe57,_0x3bdd0f){_0x47fe57=_0x47fe57-0x6f;var _0xdbee27=_0x5b1f55[_0x47fe57];return _0xdbee27;},_0x47fe(_0x2a3df1,_0x33f61e);}export class AIRequestError extends Error{constructor(_0x4bf99b){var _0x364354=_0x9d9218;super(_0x4bf99b),this[_0x364354(0x7d)]=_0x364354(0x73);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4401(){const _0x47cd9e=['resolve','textAdapter','AI_ERROR_GET_HEADERS','init','_prepareRequestParameters','8145355pSlAbk','7542824TdLmoC','catch','14828DedhVG','_prepareRequestHeaders','application/json','sendRequest','1293391MeUkBq','assign','get','1603572UGXXYI','1220racMvy','aitextadapter-send-request-failed','editor','abortController','9dUlsUU','AbortError','plugins','AI_ERROR_GET_PARAMETERS','1406762upEMhX','error','object','name','43857qnUupL','4gAjQyy','makeRequest','signal','reject','requires','aborted','24MrVVri','abort','locale'];_0x4401=function(){return _0x47cd9e;};return _0x4401();}function _0x3cda(_0x123c24,_0x36c502){const _0x4401c4=_0x4401();return _0x3cda=function(_0x3cda64,_0x58feab){_0x3cda64=_0x3cda64-0xea;let _0x4f8123=_0x4401c4[_0x3cda64];return _0x4f8123;},_0x3cda(_0x123c24,_0x36c502);}const _0x2e23b7=_0x3cda;(function(_0x6352c1,_0xdc02a6){const _0x3468d6=_0x3cda,_0xf79157=_0x6352c1();while(!![]){try{const _0x81bb7e=-parseInt(_0x3468d6(0xf0))/0x1+parseInt(_0x3468d6(0xf3))/0x2+parseInt(_0x3468d6(0x100))/0x3+-parseInt(_0x3468d6(0x101))/0x4*(-parseInt(_0x3468d6(0x10f))/0x5)+-parseInt(_0x3468d6(0x107))/0x6*(-parseInt(_0x3468d6(0xfc))/0x7)+parseInt(_0x3468d6(0xea))/0x8*(-parseInt(_0x3468d6(0xf8))/0x9)+parseInt(_0x3468d6(0xf4))/0xa*(-parseInt(_0x3468d6(0xec))/0xb);if(_0x81bb7e===_0xdc02a6)break;else _0xf79157['push'](_0xf79157['shift']());}catch(_0x2c430a){_0xf79157['push'](_0xf79157['shift']());}}}(_0x4401,0xcf300));import{Plugin as _0x5e51e4}from'ckeditor5/src/core.js';import{CKEditorError as _0x340842}from'ckeditor5/src/utils.js';import{AIAdapter as _0x288a08,AIRequestError as _0x3b1f08}from'./aiadapter.js';import{getTranslation as _0x11c9c2}from'../utils/common-translations.js';export class AITextAdapter extends _0x5e51e4{[_0x2e23b7(0xf7)];static get[_0x2e23b7(0x105)](){return[_0x288a08];}constructor(_0x45fabc){const _0xf6af99=_0x2e23b7;super(_0x45fabc),this[_0xf6af99(0xf7)]=new AbortController();}[_0x2e23b7(0x10d)](){const _0x4ba2fa=_0x2e23b7;this[_0x4ba2fa(0xf6)][_0x4ba2fa(0xfa)][_0x4ba2fa(0xf2)](_0x288a08)[_0x4ba2fa(0x10b)]=this;}[_0x2e23b7(0x108)](){const _0x4b854c=_0x2e23b7;this[_0x4b854c(0xf7)][_0x4b854c(0x103)][_0x4b854c(0x106)]||(this[_0x4b854c(0xf7)][_0x4b854c(0x108)](),this[_0x4b854c(0xf7)]=new AbortController());}async[_0x2e23b7(0x102)](_0x347432){const _0x4045f2=_0x2e23b7;return this[_0x4045f2(0xef)](_0x347432)[_0x4045f2(0xeb)](_0x16d27b=>{const _0x32dd65=_0x4045f2;if(_0x16d27b instanceof _0x3b1f08)return Promise[_0x32dd65(0x104)](_0x16d27b);if(_0x32dd65(0xf9)==_0x16d27b[_0x32dd65(0xff)])return Promise[_0x32dd65(0x10a)]();throw console[_0x32dd65(0xfd)](_0x16d27b),new _0x340842(_0x32dd65(0xf5),null);});}async[_0x2e23b7(0xed)](_0x16095,_0x516b49){const _0x5b5ab2=_0x2e23b7,_0x4d4539=this[_0x5b5ab2(0xf6)][_0x5b5ab2(0x109)],_0x4a50b1={'Content-Type':_0x5b5ab2(0xee)};if(_0x5b5ab2(0xfe)==typeof _0x16095)Object[_0x5b5ab2(0xf1)](_0x4a50b1,_0x16095);else{if(_0x16095)try{const _0x16930d=await _0x16095(_0x516b49);Object[_0x5b5ab2(0xf1)](_0x4a50b1,_0x16930d);}catch{return Promise[_0x5b5ab2(0x104)](new _0x3b1f08(_0x11c9c2(_0x4d4539,_0x5b5ab2(0x10c))));}}return _0x4a50b1;}async[_0x2e23b7(0x10e)](_0x432de5,_0x3674e8){const _0x35839f=_0x2e23b7,_0x4a1851=this[_0x35839f(0xf6)][_0x35839f(0x109)];if(_0x35839f(0xfe)==typeof _0x432de5)return _0x432de5;try{return await _0x432de5(_0x3674e8);}catch{return Promise[_0x35839f(0x104)](new _0x3b1f08(_0x11c9c2(_0x4a1851,_0x35839f(0xfb))));}}}
23
+ const _0x40f059=_0x4704;(function(_0x14b9b1,_0x529a6e){const _0x12d7df=_0x4704,_0x31f9f7=_0x14b9b1();while(!![]){try{const _0x2cb5bf=-parseInt(_0x12d7df(0x177))/0x1+parseInt(_0x12d7df(0x16b))/0x2+-parseInt(_0x12d7df(0x169))/0x3+-parseInt(_0x12d7df(0x179))/0x4*(-parseInt(_0x12d7df(0x172))/0x5)+parseInt(_0x12d7df(0x15a))/0x6+-parseInt(_0x12d7df(0x168))/0x7+-parseInt(_0x12d7df(0x170))/0x8*(-parseInt(_0x12d7df(0x15f))/0x9);if(_0x2cb5bf===_0x529a6e)break;else _0x31f9f7['push'](_0x31f9f7['shift']());}catch(_0x58f927){_0x31f9f7['push'](_0x31f9f7['shift']());}}}(_0x46e2,0x190a8));import{Plugin as _0xbe7ca2}from'ckeditor5/src/core.js';import{CKEditorError as _0x119456}from'ckeditor5/src/utils.js';import{AIAdapter as _0x3bfbf9,AIRequestError as _0x2af5a5}from'./aiadapter.js';import{getTranslation as _0x53f59f}from'../utils/common-translations.js';function _0x4704(_0xe5c267,_0x2ca139){const _0x46e2aa=_0x46e2();return _0x4704=function(_0x470475,_0x1d94e0){_0x470475=_0x470475-0x159;let _0x6374ce=_0x46e2aa[_0x470475];return _0x6374ce;},_0x4704(_0xe5c267,_0x2ca139);}function _0x46e2(){const _0x347e21=['428MdSRhl','application/json','resolve','AbortError','textAdapter','709344GRTegH','error','name','abortController','editor','250326FhTUiK','aborted','aitextadapter-send-request-failed','abort','_prepareRequestParameters','get','sendRequest','requires','_prepareRequestHeaders','848162YMHKTC','467454EmbLtY','AI_ERROR_GET_HEADERS','284920jMOqVM','signal','locale','init','assign','40oiAGil','catch','8130RxYvYA','plugins','AI_ERROR_GET_PARAMETERS','object','makeRequest','194184ITukeA','reject'];_0x46e2=function(){return _0x347e21;};return _0x46e2();}export class AITextAdapter extends _0xbe7ca2{[_0x40f059(0x15d)];static get[_0x40f059(0x166)](){return[_0x3bfbf9];}constructor(_0x8cf3ae){const _0x29e01b=_0x40f059;super(_0x8cf3ae),this[_0x29e01b(0x15d)]=new AbortController();}[_0x40f059(0x16e)](){const _0x467ce3=_0x40f059;this[_0x467ce3(0x15e)][_0x467ce3(0x173)][_0x467ce3(0x164)](_0x3bfbf9)[_0x467ce3(0x159)]=this;}[_0x40f059(0x162)](){const _0x17f394=_0x40f059;this[_0x17f394(0x15d)][_0x17f394(0x16c)][_0x17f394(0x160)]||(this[_0x17f394(0x15d)][_0x17f394(0x162)](),this[_0x17f394(0x15d)]=new AbortController());}async[_0x40f059(0x176)](_0x698094){const _0x2d6d92=_0x40f059;return this[_0x2d6d92(0x165)](_0x698094)[_0x2d6d92(0x171)](_0x4829f0=>{const _0x5e44a4=_0x2d6d92;if(_0x4829f0 instanceof _0x2af5a5)return Promise[_0x5e44a4(0x178)](_0x4829f0);if(_0x5e44a4(0x17c)==_0x4829f0[_0x5e44a4(0x15c)])return Promise[_0x5e44a4(0x17b)]();throw console[_0x5e44a4(0x15b)](_0x4829f0),new _0x119456(_0x5e44a4(0x161),null);});}async[_0x40f059(0x167)](_0x481002,_0x48e6b4){const _0x8216cd=_0x40f059,_0x5d2467=this[_0x8216cd(0x15e)][_0x8216cd(0x16d)],_0x28d0ca={'Content-Type':_0x8216cd(0x17a)};if(_0x8216cd(0x175)==typeof _0x481002)Object[_0x8216cd(0x16f)](_0x28d0ca,_0x481002);else{if(_0x481002)try{const _0x21192c=await _0x481002(_0x48e6b4);Object[_0x8216cd(0x16f)](_0x28d0ca,_0x21192c);}catch{return Promise[_0x8216cd(0x178)](new _0x2af5a5(_0x53f59f(_0x5d2467,_0x8216cd(0x16a))));}}return _0x28d0ca;}async[_0x40f059(0x163)](_0x5102b5,_0x407db1){const _0x2cd211=_0x40f059,_0x474617=this[_0x2cd211(0x15e)][_0x2cd211(0x16d)];if(_0x2cd211(0x175)==typeof _0x5102b5)return _0x5102b5;try{return await _0x5102b5(_0x407db1);}catch{return Promise[_0x2cd211(0x178)](new _0x2af5a5(_0x53f59f(_0x474617,_0x2cd211(0x174))));}}}
@@ -6,13 +6,16 @@
6
6
  * @module ai/aiassistant/adapters/awstextadapter
7
7
  * @publicApi
8
8
  */
9
- import { type Editor } from 'ckeditor5/src/core.js';
10
9
  import { AITextAdapter, type AITextAdapterRequestData, type AIRequestHeaders, type AIRequestParameters } from './aitextadapter.js';
11
- import { type BedrockRuntimeClientConfig } from '@aws-sdk/client-bedrock-runtime';
12
10
  /**
13
11
  * Adapter for AI text-related requests that supports the Amazon Bedrock service.
14
12
  *
13
+ * **This adapter is no longer supported and will throw an error when used.**
14
+ * Please contact CKEditor support at https://support.ckeditor.com for more information about available AI adapters.
15
+ *
15
16
  * See also {@link module:ai/aiassistant/adapters/aitextadapter~AITextAdapter}.
17
+ *
18
+ * @deprecated
16
19
  */
17
20
  export declare class AWSTextAdapter extends AITextAdapter {
18
21
  /**
@@ -22,171 +25,27 @@ export declare class AWSTextAdapter extends AITextAdapter {
22
25
  /**
23
26
  * @inheritDoc
24
27
  */
25
- constructor(editor: Editor);
28
+ init(): void;
26
29
  /**
27
- * Performs the request to the Amazon Bedrock service or to the endpoint provided in the editor configuration.
28
- *
29
- * If you want to extend this adapter, you can overload this method to do some additional processing or make an external call.
30
+ * Always throws an error as the AWS integration is no longer supported.
30
31
  */
31
- sendRequest({ query, context, onData, actionId }: AITextAdapterRequestData): Promise<void>;
32
- /**
33
- * Prepares the actual full prompt for the request to the Amazon Bedrock API.
34
- *
35
- * The prompt may differ depending on what model is used.
36
- *
37
- * You can overload this method to customize the prompts that are sent to the AI service.
38
- *
39
- * @param query The user's query. The instruction which the model should perform.
40
- * @param context The context for the instruction. Usually this will be a part of the editor content. Can be empty.
41
- * @param model Model that is used to perform the request.
42
- * @param actionId ID of the performed action.
43
- * See {@link module:ai/aiassistant/adapters/aitextadapter~AITextAdapterRequestData#actionId}.
44
- */
45
- preparePrompt(query: string, context: string, model: string, actionId: string): Promise<string>;
46
- /**
47
- * For a given model, it returns the family to which this model belongs.
48
- *
49
- * For example, for `anthropic.claude-instant-v1` it will return `anthropic.claude`.
50
- *
51
- * Throws {@link module:ai/aiassistant/adapters/aiadapter~AIRequestError `AIRequestError`} if a given model is not supported.
52
- */
53
- getModelFamily(model: string): AIAWSModelFamily;
32
+ sendRequest(requestData: AITextAdapterRequestData): Promise<void>;
54
33
  }
55
34
  /**
56
35
  * The configuration for the Amazon Bedrock adapter.
57
36
  *
58
- * The properties defined in this configuration are set in the `config.ai.assistant.adapter.aws` namespace.
59
- *
60
- * ```ts
61
- * ClassicEditor
62
- * .create( editorElement, {
63
- * ai: {
64
- * assistant: {
65
- * adapter: {
66
- * aws: {
67
- * apiUrl: 'https://url.to.your.application/ai'
68
- * }
69
- * }
70
- * }
71
- * }
72
- * } )
73
- * .then( ... )
74
- * .catch( ... );
75
- * ```
37
+ * **This adapter is no longer supported.**
38
+ * Please contact CKEditor support at https://support.ckeditor.com for more information about available AI adapters.
76
39
  *
77
- * See {@link module:ai/aiconfig~AIConfig the full AI configuration}.
78
- *
79
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
40
+ * @deprecated
80
41
  */
81
42
  export interface AIAWSTextAdapterConfig {
82
- /**
83
- * The URL to which the AI service request will be sent.
84
- *
85
- * Set this value only if you want to connect to Amazon Bedrock using a proxy endpoint.
86
- *
87
- * If `apiUrl` is not provided, the AWS-SDK library will be used to process the request. It will set a proper URL on its own.
88
- */
89
43
  apiUrl?: string;
90
- /**
91
- * An object with headers to set in the request to the AI service.
92
- *
93
- * **These headers are only used when connecting to AWS through the proxy endpoint (that is, when `apiUrl` is set).**
94
- *
95
- * Otherwise, the AWS-SDK library is used, and it sets the request headers on its own. In this mode, the request headers cannot be
96
- * customized.
97
- *
98
- * If the provided value is an object, it is simply used as provided.
99
- *
100
- * ```js
101
- * {
102
- * ai: {
103
- * assistant: {
104
- * adapter: {
105
- * aws: {
106
- * requestHeaders: {
107
- * 'Authorization': 'Bearer YOUR_API_KEY'
108
- * }
109
- * }
110
- * // ...
111
- * }
112
- * }
113
- * }
114
- * }
115
- * ```
116
- *
117
- * If the provided value is a function, it should be a function that returns a promise which resolves with the headers object.
118
- * This way, you can perform an authorization request to your application and receive the authorization token (and also implement
119
- * any custom logic on the backend side). The headers object is then used to make the actual call to the AI service.
120
- *
121
- * ```js
122
- * {
123
- * ai: {
124
- * assistant: {
125
- * adapter: {
126
- * aws: {
127
- * requestHeaders: async () => {
128
- * const jwt = await fetch( 'https://example.com/jwt-endpoint' );
129
- *
130
- * return {
131
- * 'Authorization': 'Bearer ' + jwt
132
- * }
133
- * }
134
- * }
135
- * // ...
136
- * }
137
- * }
138
- * }
139
- * }
140
- * ```
141
- *
142
- * The function is passed the {@link module:ai/aiassistant/adapters/aitextadapter~AITextAdapterRequestData#actionId `actionId`}
143
- * parameter to make it possible to further customize the headers.
144
- *
145
- * If the function fails for any reason, the promise should be rejected. In this case, a feature that made the request should display
146
- * an error notification.
147
- */
148
44
  requestHeaders?: AIRequestHeaders;
149
- /**
150
- * Additional configuration parameters for the AI service request. Use it to customize how the AI service generates responses.
151
- * Note that the value you will set here will fully overwrite the default value.
152
- *
153
- * The exact configuration (available parameters) depends on the used model. Keep in mind that some properties are not supported by some
154
- * models.
155
- *
156
- * See [AWS model parameters reference](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html) to learn more.
157
- *
158
- * If the provided value is an object, it is passed to the request as provided.
159
- *
160
- * If the provided value is a function, it should be a function that returns a promise which resolves with the request parameters
161
- * object. This gives you more flexibility to provide parameters for the AI model.
162
- *
163
- * The function is passed the {@link module:ai/aiassistant/adapters/aitextadapter~AITextAdapterRequestData#actionId `actionId`}
164
- * parameter to make it possible to further customize the parameters.
165
- *
166
- * If the function fails for any reason, the promise should be rejected. In this case, the feature that made the request should display
167
- * an error notification.
168
- *
169
- * Defaults to:
170
- *
171
- * ```json
172
- * {
173
- * model: 'anthropic.claude-v2',
174
- * max_tokens_to_sample: 500,
175
- * temperature: 1,
176
- * top_k: 250,
177
- * top_p: 1,
178
- * anthropic_version: 'bedrock-2023-05-31',
179
- * stream: true
180
- * }
181
- * ```
182
- */
183
45
  requestParameters?: AIRequestParameters;
184
- /**
185
- * The configuration for AWS-SDK Bedrock Runtime Client.
186
- *
187
- * If `apiUrl` is not provided, this configuration will be used to initialize the Bedrock Runtime Client which will be used to process
188
- * the requests. The adapter will make requests directly to the Amazon Bedrock service.
189
- */
190
- bedrockClientConfig?: BedrockRuntimeClientConfig;
46
+ bedrockClientConfig?: unknown;
191
47
  }
48
+ /**
49
+ * @deprecated
50
+ */
192
51
  export type AIAWSModelFamily = 'anthropic.claude' | 'ai21.j2' | 'cohere.command' | 'meta.llama';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55e8f8=_0x13d7;function _0x423c(){const _0x50f776=['signal','ai.assistant.adapter.aws.apiUrl','utf-8','_getGeneratedText','join','meta.llama','decode','ai.assistant.adapter.aws.requestParameters','define','9bSWVUk','map','editor','completions','get','7966664BHwkUT','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.','resolve','send','json','data','getReader','POST','_processProxyRequest','_readAsyncIterableResponse','ai.assistant.adapter.aws.requestHeaders','_requestParameters','cohere.command','_prepareRequestParameters','AWSTextAdapter','AI_ERROR_UNSUPPORTED_MODEL','anthropic.claude-v2','_apiUrl','filter','test','preparePrompt','Human:\x0a','config','267518xhbnQj','split','_readStaticResponse','16244940KgyeuN','3524876qgyDwx','_processAWSRequest','generation','getModelFamily','sendRequest','_prepareRequestHeaders','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','read','body','text','anthropic.claude','\x0a<</SYS>>\x0a[INST]\x0a','30vxrSUu','_requestHeaders','\x0a[/INST]','Instruction:\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.','bedrock-2023-05-31','_readStreamableResponse','locale','pluginName','parse','2GxFaOo','_bedrockClientConfig','application/json','\x0a\x0aAssistant:','chunk','completion','length','bytes','196497WXaXfZ','<<SYS>>\x0a','ai.assistant.adapter.aws.bedrockClientConfig','stringify','generations','abortController','855627KXcoVN','2754605VLuWKq','ai21.j2'];_0x423c=function(){return _0x50f776;};return _0x423c();}(function(_0x2e8753,_0x543143){const _0x389304=_0x13d7,_0x20f39a=_0x2e8753();while(!![]){try{const _0x18ba1b=parseInt(_0x389304(0x228))/0x1*(-parseInt(_0x389304(0x1f2))/0x2)+-parseInt(_0x389304(0x200))/0x3+parseInt(_0x389304(0x22c))/0x4+-parseInt(_0x389304(0x201))/0x5+parseInt(_0x389304(0x1e8))/0x6*(parseInt(_0x389304(0x1fa))/0x7)+parseInt(_0x389304(0x211))/0x8*(-parseInt(_0x389304(0x20c))/0x9)+parseInt(_0x389304(0x22b))/0xa;if(_0x18ba1b===_0x543143)break;else _0x20f39a['push'](_0x20f39a['shift']());}catch(_0x3b68e0){_0x20f39a['push'](_0x20f39a['shift']());}}}(_0x423c,0x8571b));import{AITextAdapter as _0x56911c}from'./aitextadapter.js';import{AIRequestError as _0x5716c2}from'./aiadapter.js';function _0x13d7(_0x458495,_0x4ddfba){const _0x423c54=_0x423c();return _0x13d7=function(_0x13d77c,_0x3cefdd){_0x13d77c=_0x13d77c-0x1de;let _0x480bce=_0x423c54[_0x13d77c];return _0x480bce;},_0x13d7(_0x458495,_0x4ddfba);}import{BedrockRuntimeClient as _0xa2fe2a,InvokeModelCommand as _0x801d5d,InvokeModelWithResponseStreamCommand as _0x5eb202}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x42beff}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x56911c{[_0x55e8f8(0x222)];[_0x55e8f8(0x1e9)];[_0x55e8f8(0x1f3)];[_0x55e8f8(0x21c)];static get[_0x55e8f8(0x1f0)](){const _0x12e351=_0x55e8f8;return _0x12e351(0x21f);}constructor(_0x488f58){const _0x347a1b=_0x55e8f8;super(_0x488f58),_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x210)](_0x347a1b(0x20a))||_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x20b)](_0x347a1b(0x20a),{'model':_0x347a1b(0x221),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x347a1b(0x1ed),'stream':!0x0}),this[_0x347a1b(0x222)]=_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x210)](_0x347a1b(0x204)),this[_0x347a1b(0x1f3)]=_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x210)](_0x347a1b(0x1fc)),this[_0x347a1b(0x1e9)]=_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x210)](_0x347a1b(0x21b)),this[_0x347a1b(0x21c)]=_0x488f58[_0x347a1b(0x227)][_0x347a1b(0x210)](_0x347a1b(0x20a));}async[_0x55e8f8(0x1e0)]({query:_0x423958,context:_0x526a48,onData:_0x23decb,actionId:_0x297e82}){const _0x51a466=_0x55e8f8,{model:_0x1d4072,stream:_0x55bd1c,..._0x52400f}=await this[_0x51a466(0x21e)](this[_0x51a466(0x21c)],_0x297e82),_0x5b07c8={'prompt':await this[_0x51a466(0x225)](_0x423958,_0x526a48,_0x1d4072,_0x297e82),..._0x52400f};this[_0x51a466(0x222)]?await this[_0x51a466(0x219)](_0x5b07c8,_0x1d4072,_0x55bd1c,_0x23decb,_0x297e82):await this[_0x51a466(0x22d)](_0x5b07c8,_0x1d4072,_0x55bd1c,_0x23decb);}async[_0x55e8f8(0x225)](_0x1e3692,_0xb5d75c,_0x466300,_0x590826){const _0x172572=_0x55e8f8;let _0x21b271,_0x530cde;return _0xb5d75c?(_0x21b271=_0x172572(0x212),_0x530cde=_0x172572(0x1eb)+_0x1e3692+_0x172572(0x1e2)+_0xb5d75c):(_0x21b271=_0x172572(0x1ec),_0x530cde=_0x1e3692),_0x172572(0x208)==this[_0x172572(0x1df)](_0x466300)?_0x172572(0x1fb)+_0x21b271+_0x172572(0x1e7)+_0x530cde+_0x172572(0x1ea):_0x172572(0x226)+_0x21b271+'\x0a'+_0x530cde+_0x172572(0x1f5);}[_0x55e8f8(0x1df)](_0x5ae6ca){const _0x13bfb4=_0x55e8f8;if(/^anthropic\.claude/[_0x13bfb4(0x224)](_0x5ae6ca))return _0x13bfb4(0x1e6);if(/^ai21\.j2/[_0x13bfb4(0x224)](_0x5ae6ca))return _0x13bfb4(0x202);if(/^cohere\.command/[_0x13bfb4(0x224)](_0x5ae6ca))return _0x13bfb4(0x21d);if(/^meta\.llama/[_0x13bfb4(0x224)](_0x5ae6ca))return _0x13bfb4(0x208);throw new _0x5716c2(_0x42beff(this[_0x13bfb4(0x20e)][_0x13bfb4(0x1ef)],_0x13bfb4(0x220),_0x5ae6ca));}async[_0x55e8f8(0x219)](_0x3e51a0,_0x49b9a3,_0x365ada,_0x35eba6,_0x13e2b1){const _0x539dbd=_0x55e8f8,_0x487756={'method':_0x539dbd(0x218),'headers':await this[_0x539dbd(0x1e1)](this[_0x539dbd(0x1e9)],_0x13e2b1),'body':JSON[_0x539dbd(0x1fd)]({..._0x3e51a0,'model':_0x49b9a3,'stream':_0x365ada}),'signal':this[_0x539dbd(0x1ff)][_0x539dbd(0x203)]},_0x10cae4=await fetch(this[_0x539dbd(0x222)],_0x487756);_0x365ada?await this[_0x539dbd(0x1ee)](_0x10cae4,_0x49b9a3,_0x35eba6):await this[_0x539dbd(0x22a)](_0x10cae4,_0x49b9a3,_0x35eba6);}async[_0x55e8f8(0x22d)](_0x20a88d,_0x1a7a2a,_0x35c0cf,_0x2f95ae){const _0x2e371c=_0x55e8f8,_0x2464a3=new _0xa2fe2a(this[_0x2e371c(0x1f3)]),_0xe2d5fc={'body':JSON[_0x2e371c(0x1fd)](_0x20a88d),'contentType':_0x2e371c(0x1f4),'accept':_0x2e371c(0x1f4),'modelId':_0x1a7a2a};let _0x6d237f;if(_0x35c0cf){const _0x204926=new _0x5eb202(_0xe2d5fc);_0x6d237f=await _0x2464a3[_0x2e371c(0x214)](_0x204926,{'abortSignal':this[_0x2e371c(0x1ff)][_0x2e371c(0x203)]}),await this[_0x2e371c(0x21a)](_0x6d237f,_0x1a7a2a,_0x2f95ae);}else{const _0x5ce069=new _0x801d5d(_0xe2d5fc);_0x6d237f=await _0x2464a3[_0x2e371c(0x214)](_0x5ce069,{'abortSignal':this[_0x2e371c(0x1ff)][_0x2e371c(0x203)]}),await this[_0x2e371c(0x22a)](_0x6d237f,_0x1a7a2a,_0x2f95ae);}}async[_0x55e8f8(0x21a)](_0x18a29a,_0x14ed7f,_0x40b47a){const _0x13a17c=_0x55e8f8,_0x21ce76=_0x18a29a[_0x13a17c(0x1e4)],_0x45a03a=new TextDecoder(_0x13a17c(0x205));let _0x4f4063='';for await(const _0x4392d3 of _0x21ce76)if(_0x4392d3[_0x13a17c(0x1f6)]){const _0x38afd1=_0x45a03a[_0x13a17c(0x209)](_0x4392d3[_0x13a17c(0x1f6)][_0x13a17c(0x1f9)]),_0x3ba88e=JSON[_0x13a17c(0x1f1)](_0x38afd1);_0x4f4063+=this[_0x13a17c(0x206)](_0x3ba88e,_0x14ed7f),_0x40b47a(_0x4f4063);}return Promise[_0x13a17c(0x213)]();}async[_0x55e8f8(0x1ee)](_0x431e92,_0x37ecd8,_0xbada68){const _0x25474a=_0x55e8f8,_0x5bc926=_0x431e92[_0x25474a(0x1e4)],_0x57f923=new TextDecoder(_0x25474a(0x205)),_0x30a520=_0x5bc926[_0x25474a(0x217)]();let _0x518637='',_0x3146b8='',_0x252f53=!0x1;for(;!_0x252f53;){const {done:_0xe7c5a,value:_0x35fff9}=await _0x30a520[_0x25474a(0x1e3)]();if(_0x252f53=_0xe7c5a,_0x252f53)break;const _0x8ad649=(_0x518637+_0x57f923[_0x25474a(0x209)](_0x35fff9))[_0x25474a(0x229)]('\x0a')[_0x25474a(0x20d)](_0x113192=>{const _0x4fb355=_0x25474a;try{return _0x518637='',JSON[_0x4fb355(0x1f1)](_0x113192);}catch{return _0x518637=_0x113192,null;}})[_0x25474a(0x223)](_0x551986=>null!==_0x551986);_0x8ad649[_0x25474a(0x1f8)]&&(_0x3146b8+=_0x8ad649[_0x25474a(0x20d)](_0x3b6621=>this[_0x25474a(0x206)](_0x3b6621,_0x37ecd8))[_0x25474a(0x207)](''),_0xbada68(_0x3146b8));}return Promise[_0x25474a(0x213)]();}async[_0x55e8f8(0x22a)](_0x13ebc7,_0x408d07,_0x2c8678){const _0x476aa1=_0x55e8f8;let _0x36243f;return _0x36243f=_0x13ebc7 instanceof Response?await _0x13ebc7[_0x476aa1(0x215)]():JSON[_0x476aa1(0x1f1)](new TextDecoder(_0x476aa1(0x205))[_0x476aa1(0x209)](_0x13ebc7[_0x476aa1(0x1e4)])),(_0x2c8678(this[_0x476aa1(0x206)](_0x36243f,_0x408d07)),Promise[_0x476aa1(0x213)]());}[_0x55e8f8(0x206)](_0x2bd8a8,_0xcdd7e2){const _0x4d0737=_0x55e8f8;switch(this[_0x4d0737(0x1df)](_0xcdd7e2)){case _0x4d0737(0x1e6):return _0x2bd8a8[_0x4d0737(0x1f7)];case _0x4d0737(0x202):return _0x2bd8a8[_0x4d0737(0x20f)][0x0][_0x4d0737(0x216)][_0x4d0737(0x1e5)];case _0x4d0737(0x21d):return _0x2bd8a8[_0x4d0737(0x1fe)][0x0][_0x4d0737(0x1e5)];case _0x4d0737(0x208):return _0x2bd8a8[_0x4d0737(0x1de)];}}}
23
+ var _0x53e7d7=_0x1af5;(function(_0x30bf1a,_0x50aa72){var _0x5cb1ee=_0x1af5,_0x209ad2=_0x30bf1a();while(!![]){try{var _0x43fa03=parseInt(_0x5cb1ee(0xac))/0x1+parseInt(_0x5cb1ee(0xa9))/0x2*(-parseInt(_0x5cb1ee(0xb6))/0x3)+-parseInt(_0x5cb1ee(0xb0))/0x4*(-parseInt(_0x5cb1ee(0xa8))/0x5)+parseInt(_0x5cb1ee(0xb4))/0x6*(parseInt(_0x5cb1ee(0xaf))/0x7)+-parseInt(_0x5cb1ee(0xb7))/0x8*(-parseInt(_0x5cb1ee(0xb8))/0x9)+-parseInt(_0x5cb1ee(0xad))/0xa+-parseInt(_0x5cb1ee(0xb5))/0xb*(parseInt(_0x5cb1ee(0xba))/0xc);if(_0x43fa03===_0x50aa72)break;else _0x209ad2['push'](_0x209ad2['shift']());}catch(_0x457e54){_0x209ad2['push'](_0x209ad2['shift']());}}}(_0x3222,0xf3e08));function _0x1af5(_0x238d44,_0xf94c67){var _0x3222e6=_0x3222();return _0x1af5=function(_0x1af573,_0xc567b0){_0x1af573=_0x1af573-0xa8;var _0x1118ed=_0x3222e6[_0x1af573];return _0x1118ed;},_0x1af5(_0x238d44,_0xf94c67);}import{AITextAdapter as _0x420e9a}from'./aitextadapter.js';import{AIRequestError as _0x5e4247}from'./aiadapter.js';import{getTranslation as _0x135579}from'../utils/common-translations.js';import{logWarning as _0x2b9fd8,logError as _0x1e0891}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x420e9a{static get[_0x53e7d7(0xbb)](){var _0x51f862=_0x53e7d7;return _0x51f862(0xae);}[_0x53e7d7(0xb3)](){var _0x366366=_0x53e7d7;super[_0x366366(0xb3)](),_0x2b9fd8(_0x366366(0xab));}async[_0x53e7d7(0xaa)](_0x1e9248){var _0xa8da32=_0x53e7d7;throw _0x1e0891(_0xa8da32(0xab)),new _0x5e4247(_0x135579(this[_0xa8da32(0xb2)][_0xa8da32(0xb9)],_0xa8da32(0xb1)));}}function _0x3222(){var _0x53abb4=['48AoPjXq','pluginName','20pwbOwt','49340OYdLOh','sendRequest','ai-aws-adapter-not-supported','1125893IvKhZy','14488970IpzZdD','AWSTextAdapter','6797147ICHQYV','844868ZOQkVb','AI_ERROR_AWS_NOT_SUPPORTED','editor','init','6fEtrjr','837133DaTWmf','45bkemQs','8OlEErh','1624473TRcELx','locale'];_0x3222=function(){return _0x53abb4;};return _0x3222();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x493ee2=_0x1765;(function(_0x1700b4,_0x5a3813){const _0x5c38d3=_0x1765,_0x4e6188=_0x1700b4();while(!![]){try{const _0x9098dd=parseInt(_0x5c38d3(0x195))/0x1*(-parseInt(_0x5c38d3(0x199))/0x2)+-parseInt(_0x5c38d3(0x180))/0x3+-parseInt(_0x5c38d3(0x18c))/0x4+-parseInt(_0x5c38d3(0x17f))/0x5*(-parseInt(_0x5c38d3(0x161))/0x6)+-parseInt(_0x5c38d3(0x16e))/0x7*(parseInt(_0x5c38d3(0x167))/0x8)+parseInt(_0x5c38d3(0x174))/0x9*(parseInt(_0x5c38d3(0x181))/0xa)+parseInt(_0x5c38d3(0x159))/0xb;if(_0x9098dd===_0x5a3813)break;else _0x4e6188['push'](_0x4e6188['shift']());}catch(_0x5a1457){_0x4e6188['push'](_0x4e6188['shift']());}}}(_0x5a2d,0x83a7f));function _0x1765(_0x3dd4bc,_0x297339){const _0x5a2da9=_0x5a2d();return _0x1765=function(_0x17653e,_0x34afc9){_0x17653e=_0x17653e-0x157;let _0x4658d7=_0x5a2da9[_0x17653e];return _0x4658d7;},_0x1765(_0x3dd4bc,_0x297339);}import{AITextAdapter as _0x4c933b}from'./aitextadapter.js';function _0x5a2d(){const _0x1fcf0f=['POST','resolve','_prepareRequestParameters','reject','replace','message','AI_ERROR_CONTEXT_LENGTH','prepareMessages','1727780brcqnN','1116246vlUeTy','1538540vbAHgM','content','locale','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.','stream','json','_requestHeaders','_requestParameters','_prepareRequestHeaders','filter','split','1501872yKJgQV','gpt-4o','sendRequest','body','AI_ERROR_MODERATION','includes','delta','ai.assistant.adapter.openAI.requestHeaders','text','701RAKfLM','user','pluginName','stringify','1530pBuwsJ','read','ai.assistant.adapter.openAI.apiUrl','join','decode','config','ai.assistant.adapter.openAI.requestParameters','22767844Ytqksq','[DONE]','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','system','length','editor','OpenAITextAdapter','data:\x20','6wkzRFo','map','get','getReader','define','_readStaticResponse','719992uEEyAu','abortController','_apiUrl','Moderation','context_length_exceeded','_isBufferIncomplete','signal','70UYiTNf','choices','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.','_cleanUpData','_readStreamableResponse','Instruction:\x0a','18VPWcMx','https://api.openai.com/v1/chat/completions','parse'];_0x5a2d=function(){return _0x1fcf0f;};return _0x5a2d();}import{AIRequestError as _0x2306e4}from'./aiadapter.js';import{getTranslation as _0x3dfed4}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x4c933b{[_0x493ee2(0x169)];[_0x493ee2(0x187)];[_0x493ee2(0x188)];static get[_0x493ee2(0x197)](){const _0x2c8046=_0x493ee2;return _0x2c8046(0x15f);}constructor(_0x482542){const _0x279f8a=_0x493ee2;super(_0x482542),_0x482542[_0x279f8a(0x157)][_0x279f8a(0x165)](_0x279f8a(0x19b),_0x279f8a(0x175)),_0x482542[_0x279f8a(0x157)][_0x279f8a(0x163)](_0x279f8a(0x158))||_0x482542[_0x279f8a(0x157)][_0x279f8a(0x165)](_0x279f8a(0x158),{'model':_0x279f8a(0x18d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x279f8a(0x169)]=_0x482542[_0x279f8a(0x157)][_0x279f8a(0x163)](_0x279f8a(0x19b)),this[_0x279f8a(0x187)]=_0x482542[_0x279f8a(0x157)][_0x279f8a(0x163)](_0x279f8a(0x193))||{},this[_0x279f8a(0x188)]=_0x482542[_0x279f8a(0x157)][_0x279f8a(0x163)](_0x279f8a(0x158));}async[_0x493ee2(0x18e)]({query:_0xb95a37,context:_0x28f6c5,onData:_0x4873c4,actionId:_0x5bb265}){const _0x77beda=_0x493ee2,_0x205309=this[_0x77beda(0x15e)][_0x77beda(0x183)],_0x5d7ba1=await this[_0x77beda(0x17e)](_0xb95a37,_0x28f6c5,_0x5bb265),_0x32c92a=await this[_0x77beda(0x189)](this[_0x77beda(0x187)],_0x5bb265),_0xb47a4=await this[_0x77beda(0x179)](this[_0x77beda(0x188)],_0x5bb265),_0x16382d={'messages':_0x5d7ba1,..._0xb47a4},_0x48cea5={'method':_0x77beda(0x177),'headers':_0x32c92a,'body':JSON[_0x77beda(0x198)](_0x16382d),'signal':this[_0x77beda(0x168)][_0x77beda(0x16d)]},_0x38a162=await fetch(this[_0x77beda(0x169)],_0x48cea5);if(_0x38a162['ok'])return _0xb47a4[_0x77beda(0x185)]?await this[_0x77beda(0x172)](_0x38a162,_0x4873c4):await this[_0x77beda(0x166)](_0x38a162,_0x4873c4),Promise[_0x77beda(0x178)]();{const _0x144bcb=await _0x38a162[_0x77beda(0x194)]();return _0x144bcb[_0x77beda(0x191)](_0x77beda(0x16b))?Promise[_0x77beda(0x17a)](new _0x2306e4(_0x3dfed4(_0x205309,_0x77beda(0x17d)))):_0x144bcb[_0x77beda(0x191)](_0x77beda(0x16a))?Promise[_0x77beda(0x17a)](new _0x2306e4(_0x3dfed4(_0x205309,_0x77beda(0x190)))):Promise[_0x77beda(0x17a)](new Error(_0x144bcb));}}async[_0x493ee2(0x17e)](_0x347675,_0x59a95d,_0x4ad5f4){const _0x4ad90a=_0x493ee2;let _0x2a0782,_0xbddeb7;return _0x59a95d?(_0x2a0782=_0x4ad90a(0x170),_0xbddeb7=_0x4ad90a(0x173)+_0x347675+_0x4ad90a(0x15b)+_0x59a95d):(_0x2a0782=_0x4ad90a(0x184),_0xbddeb7=_0x347675),[{'role':_0x4ad90a(0x15c),'content':_0x2a0782},{'role':_0x4ad90a(0x196),'content':_0xbddeb7}];}async[_0x493ee2(0x172)](_0x3aa308,_0x1cf3fa){const _0x5047ad=_0x493ee2,_0x16dce1=_0x3aa308[_0x5047ad(0x18f)][_0x5047ad(0x164)](),_0x1057f3=new TextDecoder();let _0x5957a3='',_0x169869='',_0x1af40f='',_0x557b23=!0x1;for(;!_0x557b23;){const {done:_0x2c918d,value:_0x42d1e9}=await _0x16dce1[_0x5047ad(0x19a)](),_0x275167=_0x5957a3+_0x1057f3[_0x5047ad(0x19d)](_0x42d1e9);let _0x59ff13='';_0x557b23=_0x2c918d;try{_0x59ff13=this[_0x5047ad(0x171)](_0x275167),_0x5957a3='';}catch{_0x5957a3=_0x275167;continue;}_0x169869+=_0x59ff13,!_0x557b23&&this[_0x5047ad(0x16c)](_0x169869)||_0x169869&&(_0x1af40f+=_0x169869,_0x169869='',_0x1cf3fa(_0x1af40f));}return Promise[_0x5047ad(0x178)]();}async[_0x493ee2(0x166)](_0x3924de,_0x4b23e3){const _0x558e3e=_0x493ee2;return _0x4b23e3((await _0x3924de[_0x558e3e(0x186)]())[_0x558e3e(0x16f)][0x0][_0x558e3e(0x17c)][_0x558e3e(0x182)]),Promise[_0x558e3e(0x178)]();}[_0x493ee2(0x16c)](_0x411a6c){const _0x3ebd41=_0x493ee2,_0x3d4801=_0x411a6c[_0x3ebd41(0x18b)]('<')[_0x3ebd41(0x15d)]!==_0x411a6c[_0x3ebd41(0x18b)]('>')[_0x3ebd41(0x15d)],_0xd9434f=_0x411a6c[_0x3ebd41(0x15d)]<0x1e;return _0x3d4801&&_0xd9434f;}[_0x493ee2(0x171)](_0x23c450){const _0x57848c=_0x493ee2;return _0x23c450[_0x57848c(0x18b)](/\n(?![^{]*\})/g)[_0x57848c(0x162)](_0x4cfe74=>_0x4cfe74[_0x57848c(0x17b)](_0x57848c(0x160),''))[_0x57848c(0x18a)](_0x4380dc=>_0x4380dc&&_0x4380dc[_0x57848c(0x15d)]>0x0&&_0x57848c(0x15a)!==_0x4380dc)[_0x57848c(0x162)](_0x1c543f=>{const _0x54bba5=_0x57848c,{choices:_0x5492d3}=JSON[_0x54bba5(0x176)](_0x1c543f);if(_0x5492d3[0x0]?.[_0x54bba5(0x192)]?.[_0x54bba5(0x182)])return _0x5492d3[0x0][_0x54bba5(0x192)][_0x54bba5(0x182)];})[_0x57848c(0x18a)](_0x52c6ae=>_0x52c6ae)[_0x57848c(0x19c)]('');}}
23
+ const _0x27759c=_0x4520;(function(_0x2bea0a,_0x35a9b5){const _0x201dc9=_0x4520,_0x1d15b8=_0x2bea0a();while(!![]){try{const _0x979573=-parseInt(_0x201dc9(0x1a7))/0x1*(parseInt(_0x201dc9(0x1d1))/0x2)+parseInt(_0x201dc9(0x1b8))/0x3+parseInt(_0x201dc9(0x199))/0x4+-parseInt(_0x201dc9(0x1c0))/0x5*(-parseInt(_0x201dc9(0x19b))/0x6)+parseInt(_0x201dc9(0x195))/0x7+parseInt(_0x201dc9(0x1d7))/0x8*(parseInt(_0x201dc9(0x1c5))/0x9)+-parseInt(_0x201dc9(0x1a6))/0xa;if(_0x979573===_0x35a9b5)break;else _0x1d15b8['push'](_0x1d15b8['shift']());}catch(_0x2feef2){_0x1d15b8['push'](_0x1d15b8['shift']());}}}(_0x59d9,0xa631d));function _0x4520(_0x22e6bb,_0x211e53){const _0x59d937=_0x59d9();return _0x4520=function(_0x452068,_0x46bacd){_0x452068=_0x452068-0x192;let _0x35cece=_0x59d937[_0x452068];return _0x35cece;},_0x4520(_0x22e6bb,_0x211e53);}import{AITextAdapter as _0x4308e2}from'./aitextadapter.js';import{AIRequestError as _0x1decf3}from'./aiadapter.js';function _0x59d9(){const _0x4fa853=['abortController','_requestParameters','join','config','stream','33000010TzUgqH','83azBTRb','body','message','get','define','choices','decode','user','_isBufferIncomplete','AI_ERROR_MODERATION','sendRequest','pluginName','ai.assistant.adapter.openAI.apiUrl','filter','stringify','system','signal','1903470GAPIuL','_readStreamableResponse','length','_prepareRequestParameters','resolve','https://api.openai.com/v1/chat/completions','\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.','545sxPVFr','Instruction:\x0a','data:\x20','split','replace','405cwwcoC','_apiUrl','includes','gpt-4o','context_length_exceeded','content','POST','parse','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.','Moderation','json','text','6368wRkrol','editor','delta','[DONE]','_cleanUpData','ai.assistant.adapter.openAI.requestParameters','222648cpddAK','_requestHeaders','_readStaticResponse','reject','7536123yPBEtd','OpenAITextAdapter','locale','map','4694052gOqqAq','AI_ERROR_CONTEXT_LENGTH','5946eqABIs','_prepareRequestHeaders','getReader','ai.assistant.adapter.openAI.requestHeaders','prepareMessages','read'];_0x59d9=function(){return _0x4fa853;};return _0x59d9();}import{getTranslation as _0xffe544}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x4308e2{[_0x27759c(0x1c6)];[_0x27759c(0x192)];[_0x27759c(0x1a2)];static get[_0x27759c(0x1b2)](){const _0x1acce7=_0x27759c;return _0x1acce7(0x196);}constructor(_0x1b8620){const _0x1f0253=_0x27759c;super(_0x1b8620),_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1ab)](_0x1f0253(0x1b3),_0x1f0253(0x1bd)),_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x1d6))||_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1ab)](_0x1f0253(0x1d6),{'model':_0x1f0253(0x1c8),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x1f0253(0x1c6)]=_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x1b3)),this[_0x1f0253(0x192)]=_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x19e))||{},this[_0x1f0253(0x1a2)]=_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x1d6));}async[_0x27759c(0x1b1)]({query:_0x1b6463,context:_0x41fa0d,onData:_0x2efdb5,actionId:_0x5bc83b}){const _0x67aaa5=_0x27759c,_0x437e65=this[_0x67aaa5(0x1d2)][_0x67aaa5(0x197)],_0x3e0894=await this[_0x67aaa5(0x19f)](_0x1b6463,_0x41fa0d,_0x5bc83b),_0x3966e2=await this[_0x67aaa5(0x19c)](this[_0x67aaa5(0x192)],_0x5bc83b),_0x244e9b=await this[_0x67aaa5(0x1bb)](this[_0x67aaa5(0x1a2)],_0x5bc83b),_0x58c717={'messages':_0x3e0894,..._0x244e9b},_0x57e6e0={'method':_0x67aaa5(0x1cb),'headers':_0x3966e2,'body':JSON[_0x67aaa5(0x1b5)](_0x58c717),'signal':this[_0x67aaa5(0x1a1)][_0x67aaa5(0x1b7)]},_0x2aef6c=await fetch(this[_0x67aaa5(0x1c6)],_0x57e6e0);if(_0x2aef6c['ok'])return _0x244e9b[_0x67aaa5(0x1a5)]?await this[_0x67aaa5(0x1b9)](_0x2aef6c,_0x2efdb5):await this[_0x67aaa5(0x193)](_0x2aef6c,_0x2efdb5),Promise[_0x67aaa5(0x1bc)]();{const _0x5d9567=await _0x2aef6c[_0x67aaa5(0x1d0)]();return _0x5d9567[_0x67aaa5(0x1c7)](_0x67aaa5(0x1c9))?Promise[_0x67aaa5(0x194)](new _0x1decf3(_0xffe544(_0x437e65,_0x67aaa5(0x19a)))):_0x5d9567[_0x67aaa5(0x1c7)](_0x67aaa5(0x1ce))?Promise[_0x67aaa5(0x194)](new _0x1decf3(_0xffe544(_0x437e65,_0x67aaa5(0x1b0)))):Promise[_0x67aaa5(0x194)](new Error(_0x5d9567));}}async[_0x27759c(0x19f)](_0x25969f,_0x3b1351,_0x912415){const _0x35e484=_0x27759c;let _0x35d4c0,_0x3b9608;return _0x3b1351?(_0x35d4c0=_0x35e484(0x1cd),_0x3b9608=_0x35e484(0x1c1)+_0x25969f+_0x35e484(0x1be)+_0x3b1351):(_0x35d4c0=_0x35e484(0x1bf),_0x3b9608=_0x25969f),[{'role':_0x35e484(0x1b6),'content':_0x35d4c0},{'role':_0x35e484(0x1ae),'content':_0x3b9608}];}async[_0x27759c(0x1b9)](_0x1227e5,_0x25e4d6){const _0x4cb103=_0x27759c,_0x118b4d=_0x1227e5[_0x4cb103(0x1a8)][_0x4cb103(0x19d)](),_0x3ac7fe=new TextDecoder();let _0x4a44e3='',_0x4a83bf='',_0x59fa0d='',_0x599ea1=!0x1;for(;!_0x599ea1;){const {done:_0x2a8685,value:_0x2f9327}=await _0x118b4d[_0x4cb103(0x1a0)](),_0x43a197=_0x4a44e3+_0x3ac7fe[_0x4cb103(0x1ad)](_0x2f9327);let _0x3440f4='';_0x599ea1=_0x2a8685;try{_0x3440f4=this[_0x4cb103(0x1d5)](_0x43a197),_0x4a44e3='';}catch{_0x4a44e3=_0x43a197;continue;}_0x4a83bf+=_0x3440f4,!_0x599ea1&&this[_0x4cb103(0x1af)](_0x4a83bf)||_0x4a83bf&&(_0x59fa0d+=_0x4a83bf,_0x4a83bf='',_0x25e4d6(_0x59fa0d));}return Promise[_0x4cb103(0x1bc)]();}async[_0x27759c(0x193)](_0x1b59fa,_0x448329){const _0x24d447=_0x27759c;return _0x448329((await _0x1b59fa[_0x24d447(0x1cf)]())[_0x24d447(0x1ac)][0x0][_0x24d447(0x1a9)][_0x24d447(0x1ca)]),Promise[_0x24d447(0x1bc)]();}[_0x27759c(0x1af)](_0x397e43){const _0x4a8652=_0x27759c,_0x9bafc2=_0x397e43[_0x4a8652(0x1c3)]('<')[_0x4a8652(0x1ba)]!==_0x397e43[_0x4a8652(0x1c3)]('>')[_0x4a8652(0x1ba)],_0x506537=_0x397e43[_0x4a8652(0x1ba)]<0x1e;return _0x9bafc2&&_0x506537;}[_0x27759c(0x1d5)](_0x20c740){const _0x35dfcd=_0x27759c;return _0x20c740[_0x35dfcd(0x1c3)](/\n(?![^{]*\})/g)[_0x35dfcd(0x198)](_0x4fc79c=>_0x4fc79c[_0x35dfcd(0x1c4)](_0x35dfcd(0x1c2),''))[_0x35dfcd(0x1b4)](_0x56c7ad=>_0x56c7ad&&_0x56c7ad[_0x35dfcd(0x1ba)]>0x0&&_0x35dfcd(0x1d4)!==_0x56c7ad)[_0x35dfcd(0x198)](_0x2e3002=>{const _0x3d843d=_0x35dfcd,{choices:_0x1f8ef7}=JSON[_0x3d843d(0x1cc)](_0x2e3002);if(_0x1f8ef7[0x0]?.[_0x3d843d(0x1d3)]?.[_0x3d843d(0x1ca)])return _0x1f8ef7[0x0][_0x3d843d(0x1d3)][_0x3d843d(0x1ca)];})[_0x35dfcd(0x1b4)](_0x5e2dba=>_0x5e2dba)[_0x35dfcd(0x1a3)]('');}}
@@ -379,6 +379,8 @@ export interface AIAssistantConfig {
379
379
  * This is required only if you connect to Amazon Bedrock service.
380
380
  *
381
381
  * Read more in {@link module:ai/aiassistant/adapters/awstextadapter~AIAWSTextAdapterConfig}.
382
+ *
383
+ * @deprecated
382
384
  */
383
385
  aws?: AIAWSTextAdapterConfig;
384
386
  };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x340bb5=_0x3f47;(function(_0x157040,_0x7824fb){const _0x9c126e=_0x3f47,_0xef1f4=_0x157040();while(!![]){try{const _0x14b05c=-parseInt(_0x9c126e(0x1cf))/0x1*(-parseInt(_0x9c126e(0x1e0))/0x2)+parseInt(_0x9c126e(0x1b2))/0x3*(-parseInt(_0x9c126e(0x1d6))/0x4)+parseInt(_0x9c126e(0x1d8))/0x5*(-parseInt(_0x9c126e(0x19c))/0x6)+parseInt(_0x9c126e(0x1e6))/0x7+parseInt(_0x9c126e(0x1b8))/0x8+parseInt(_0x9c126e(0x1de))/0x9+-parseInt(_0x9c126e(0x1c8))/0xa;if(_0x14b05c===_0x7824fb)break;else _0xef1f4['push'](_0xef1f4['shift']());}catch(_0x1f3b60){_0xef1f4['push'](_0xef1f4['shift']());}}}(_0x2fed,0x963bf));import{Plugin as _0x3bd894}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x55e396}from'./aiassistantui.js';import{AIAssistantEditing as _0x2c7659}from'./aiassistantediting.js';function _0x2fed(){const _0x4d5210=['poetic','Casual','translateEnglish','1085397btAETK','translateHindi','casual','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\x20business\x20professional\x20with\x20formal\x20language.','Edit\x20or\x20review','583064nyMSub','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','translateGerman','changeStyle','German','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','find','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','business','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','professional','ai.assistant.preserveComments','define','Change\x20style','ai.assistant.commands','3601310WdiDAu','Confident','Friendly','legal','Legal','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Arabic','1gIXsRA','get','Translate\x20the\x20content\x20to\x20German\x20language.','confident','generate','Change\x20tone','translateSpanish','4PGBfWb','continue','336160NJyJqd','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','isPremiumPlugin','Generate\x20from\x20selection','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','friendly','9235233YdkseD','Translate\x20the\x20content\x20to\x20Spanish\x20language.','1179190PiJqQz','Portuguese','journalism','config','Improve\x20writing','Continue','5541326SjFdIE','translateChinese','groupId','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','commands','locale','isOfficialPlugin','simplifyLanguage','AIAssistant','Translate\x20the\x20content\x20to\x20French\x20language.','pluginName','Direct','Journalism','requires','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Simplified\x20Chinese','Make\x20shorter','improveWriting','Professional','translateFrench','concat','set','Business','includes','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','filter','forEach','Spanish','makeLonger','changeTone','Make\x20longer','Summarize','direct','summarize','102IElAbk','ai.assistant.extraCommandGroups','makeShorter','Simplify\x20language','translate','Poetic','Hindi','English','ai.assistant.removeCommands','push','translatePortuguese','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','French','Translate','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','editOrReview','translateArabic'];_0x2fed=function(){return _0x4d5210;};return _0x2fed();}import{getTranslation as _0x5e39ea}from'./utils/common-translations.js';function _0x3f47(_0x5c257a,_0x856d4a){const _0x2fed42=_0x2fed();return _0x3f47=function(_0x3f47c1,_0x255f34){_0x3f47c1=_0x3f47c1-0x195;let _0x1291f6=_0x2fed42[_0x3f47c1];return _0x1291f6;},_0x3f47(_0x5c257a,_0x856d4a);}import{normalizeCommandsConfig as _0x46db67}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x3bd894{static get[_0x340bb5(0x1f3)](){return[_0x55e396,_0x2c7659];}static get[_0x340bb5(0x1f0)](){const _0x2ffc70=_0x340bb5;return _0x2ffc70(0x1ee);}static get[_0x340bb5(0x1ec)](){return!0x0;}static get[_0x340bb5(0x1da)](){return!0x0;}constructor(_0x41072b){const _0x5d64c3=_0x340bb5;super(_0x41072b);const _0x454d3d=_0x41072b[_0x5d64c3(0x1e3)],_0x33491b=_0x41072b[_0x5d64c3(0x1eb)];_0x454d3d[_0x5d64c3(0x1c5)](_0x5d64c3(0x1c4),!0x0),_0x454d3d[_0x5d64c3(0x1c5)](_0x5d64c3(0x1c7),getDefaultAICommands(_0x33491b)),_0x454d3d[_0x5d64c3(0x1c5)](_0x5d64c3(0x19d),[]),_0x454d3d[_0x5d64c3(0x1c5)](_0x5d64c3(0x1a4),[]);let _0x2df0c7=_0x46db67(_0x454d3d[_0x5d64c3(0x1d0)](_0x5d64c3(0x1c7)),_0x33491b);const _0x4a6fcc=_0x454d3d[_0x5d64c3(0x1d0)](_0x5d64c3(0x19d)),_0x28108e=_0x454d3d[_0x5d64c3(0x1d0)](_0x5d64c3(0x1a4));_0x4a6fcc[_0x5d64c3(0x203)](_0x32e50b=>{const _0x16a5dc=_0x5d64c3,_0x226493=_0x2df0c7[_0x16a5dc(0x1be)](_0x2ca0c2=>_0x2ca0c2[_0x16a5dc(0x1e8)]===_0x32e50b[_0x16a5dc(0x1e8)]);_0x226493?_0x226493[_0x16a5dc(0x1ea)]=_0x226493[_0x16a5dc(0x1ea)][_0x16a5dc(0x1fa)](_0x32e50b[_0x16a5dc(0x1ea)]):_0x2df0c7[_0x16a5dc(0x1a5)](_0x32e50b);}),_0x2df0c7=_0x2df0c7[_0x5d64c3(0x202)](_0x40bda0=>!_0x28108e[_0x5d64c3(0x1fd)](_0x40bda0[_0x5d64c3(0x1e8)])),_0x2df0c7[_0x5d64c3(0x203)](_0x4e2073=>{const _0x1a8f15=_0x5d64c3;_0x4e2073[_0x1a8f15(0x1ea)]=_0x4e2073[_0x1a8f15(0x1ea)][_0x1a8f15(0x202)](_0x394034=>!_0x28108e[_0x1a8f15(0x1fd)](_0x394034['id']));}),_0x454d3d[_0x5d64c3(0x1fb)](_0x5d64c3(0x1c7),_0x2df0c7);}}export function getDefaultAICommands(_0x352ea6){const _0x21f06b=_0x340bb5;return[{'groupId':_0x21f06b(0x1ad),'groupLabel':_0x5e39ea(_0x352ea6,_0x21f06b(0x1b7)),'commands':[{'id':_0x21f06b(0x1f7),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1e4)),'prompt':_0x21f06b(0x1e9)},{'id':_0x21f06b(0x19e),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1f6)),'prompt':_0x21f06b(0x1fe)},{'id':_0x21f06b(0x196),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x198)),'prompt':_0x21f06b(0x1a8)},{'id':_0x21f06b(0x1ed),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x19f)),'prompt':_0x21f06b(0x1c0)}]},{'groupId':_0x21f06b(0x1d3),'groupLabel':_0x5e39ea(_0x352ea6,_0x21f06b(0x1db)),'commands':[{'id':_0x21f06b(0x19b),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x199)),'prompt':_0x21f06b(0x1d9)},{'id':_0x21f06b(0x1d7),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1e5)),'prompt':_0x21f06b(0x1b5)}]},{'groupId':_0x21f06b(0x197),'groupLabel':_0x5e39ea(_0x352ea6,_0x21f06b(0x1d4)),'commands':[{'id':_0x21f06b(0x1c3),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1f8)),'prompt':_0x21f06b(0x1dc)},{'id':_0x21f06b(0x1b4),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1b0)),'prompt':_0x21f06b(0x1b9)},{'id':_0x21f06b(0x19a),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1f1)),'prompt':_0x21f06b(0x1bd)},{'id':_0x21f06b(0x1d2),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1c9)),'prompt':_0x21f06b(0x1c2)},{'id':_0x21f06b(0x1dd),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1ca)),'prompt':_0x21f06b(0x1ac)}]},{'groupId':_0x21f06b(0x1bb),'groupLabel':_0x5e39ea(_0x352ea6,_0x21f06b(0x1c6)),'commands':[{'id':_0x21f06b(0x1c1),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1fc)),'prompt':_0x21f06b(0x1b6)},{'id':_0x21f06b(0x1cb),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1cc)),'prompt':_0x21f06b(0x1ab)},{'id':_0x21f06b(0x1e2),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1f2)),'prompt':_0x21f06b(0x1ff)},{'id':_0x21f06b(0x1af),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1a1)),'prompt':_0x21f06b(0x1bf)}]},{'groupId':_0x21f06b(0x1a0),'groupLabel':_0x5e39ea(_0x352ea6,_0x21f06b(0x1aa)),'commands':[{'id':_0x21f06b(0x1b1),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1a3)),'prompt':_0x21f06b(0x201)},{'id':_0x21f06b(0x1d5),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x195)),'prompt':_0x21f06b(0x1df)},{'id':_0x21f06b(0x1a6),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1e1)),'prompt':_0x21f06b(0x200)},{'id':_0x21f06b(0x1ba),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1bc)),'prompt':_0x21f06b(0x1d1)},{'id':_0x21f06b(0x1f9),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1a9)),'prompt':_0x21f06b(0x1ef)},{'id':_0x21f06b(0x1e7),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1f5)),'prompt':_0x21f06b(0x1f4)},{'id':_0x21f06b(0x1b3),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1a2)),'prompt':_0x21f06b(0x1cd)},{'id':_0x21f06b(0x1ae),'label':_0x5e39ea(_0x352ea6,_0x21f06b(0x1ce)),'prompt':_0x21f06b(0x1a7)}]}];}
23
+ function _0x4a92(){const _0x321ffa=['confident','8121590zcjiGe','ai.assistant.preserveComments','find','translate','get','Change\x20style','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20writing','Confident','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','translateSpanish','business','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','casual','English','43drHdpS','AIAssistant','Casual','Translate\x20the\x20content\x20to\x20French\x20language.','Generate\x20from\x20selection','58254bPVKew','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Edit\x20or\x20review','5430336tOnYtB','Portuguese','480498gMtymB','Simplify\x20language','improveWriting','24933jhEjaT','define','5916022GwFlyd','changeStyle','French','summarize','push','poetic','Arabic','legal','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','412TyGnMi','changeTone','friendly','Simplified\x20Chinese','pluginName','Spanish','ai.assistant.commands','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','requires','Direct','filter','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','groupId','Translate\x20the\x20content\x20to\x20English\x20language.','translateEnglish','translatePortuguese','Journalism','config','direct','isPremiumPlugin','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','ai.assistant.extraCommandGroups','generate','makeShorter','forEach','translateChinese','journalism','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate','Translate\x20the\x20content\x20to\x20German\x20language.','includes','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','isOfficialPlugin','simplifyLanguage','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','3535670GWeQCv','concat','German','Change\x20tone','Legal','Summarize','Poetic','Make\x20longer','translateHindi','locale','editOrReview','translateGerman','makeLonger','set','continue','commands','Business','translateFrench','professional','45TNqsiO','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Continue','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Friendly','translateArabic','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Professional','Hindi','ai.assistant.removeCommands','Make\x20shorter','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'];_0x4a92=function(){return _0x321ffa;};return _0x4a92();}const _0x5e8e25=_0xffd3;(function(_0x22f47c,_0x11f49d){const _0x18f295=_0xffd3,_0x15f611=_0x22f47c();while(!![]){try{const _0x323fb5=-parseInt(_0x18f295(0xc8))/0x1*(parseInt(_0x18f295(0xcd))/0x2)+-parseInt(_0x18f295(0xd5))/0x3*(-parseInt(_0x18f295(0xe0))/0x4)+parseInt(_0x18f295(0x127))/0x5+-parseInt(_0x18f295(0xd2))/0x6+parseInt(_0x18f295(0xd7))/0x7+parseInt(_0x18f295(0xd0))/0x8+parseInt(_0x18f295(0x118))/0x9*(-parseInt(_0x18f295(0x105))/0xa);if(_0x323fb5===_0x11f49d)break;else _0x15f611['push'](_0x15f611['shift']());}catch(_0x153fdb){_0x15f611['push'](_0x15f611['shift']());}}}(_0x4a92,0xdcae6));import{Plugin as _0x58828a}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2d2de6}from'./aiassistantui.js';import{AIAssistantEditing as _0x3eb000}from'./aiassistantediting.js';import{getTranslation as _0x573914}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x5bb73e}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x58828a{static get[_0x5e8e25(0xe9)](){return[_0x2d2de6,_0x3eb000];}static get[_0x5e8e25(0xe4)](){const _0x2b35de=_0x5e8e25;return _0x2b35de(0xc9);}static get[_0x5e8e25(0x102)](){return!0x0;}static get[_0x5e8e25(0xf4)](){return!0x0;}constructor(_0xf21135){const _0x1b2f5b=_0x5e8e25;super(_0xf21135);const _0x5d93b0=_0xf21135[_0x1b2f5b(0xf2)],_0x5658f2=_0xf21135[_0x1b2f5b(0x10e)];_0x5d93b0[_0x1b2f5b(0xd6)](_0x1b2f5b(0x128),!0x0),_0x5d93b0[_0x1b2f5b(0xd6)](_0x1b2f5b(0xe6),getDefaultAICommands(_0x5658f2)),_0x5d93b0[_0x1b2f5b(0xd6)](_0x1b2f5b(0xf6),[]),_0x5d93b0[_0x1b2f5b(0xd6)](_0x1b2f5b(0x121),[]);let _0x3254c2=_0x5bb73e(_0x5d93b0[_0x1b2f5b(0x12b)](_0x1b2f5b(0xe6)),_0x5658f2);const _0x5f53c6=_0x5d93b0[_0x1b2f5b(0x12b)](_0x1b2f5b(0xf6)),_0x285da4=_0x5d93b0[_0x1b2f5b(0x12b)](_0x1b2f5b(0x121));_0x5f53c6[_0x1b2f5b(0xf9)](_0x1cdbcd=>{const _0x113722=_0x1b2f5b,_0x27b29c=_0x3254c2[_0x113722(0x129)](_0x442a81=>_0x442a81[_0x113722(0xed)]===_0x1cdbcd[_0x113722(0xed)]);_0x27b29c?_0x27b29c[_0x113722(0x114)]=_0x27b29c[_0x113722(0x114)][_0x113722(0x106)](_0x1cdbcd[_0x113722(0x114)]):_0x3254c2[_0x113722(0xdb)](_0x1cdbcd);}),_0x3254c2=_0x3254c2[_0x1b2f5b(0xeb)](_0x4daaf9=>!_0x285da4[_0x1b2f5b(0xff)](_0x4daaf9[_0x1b2f5b(0xed)])),_0x3254c2[_0x1b2f5b(0xf9)](_0x22e1e6=>{const _0x15c47c=_0x1b2f5b;_0x22e1e6[_0x15c47c(0x114)]=_0x22e1e6[_0x15c47c(0x114)][_0x15c47c(0xeb)](_0x591aab=>!_0x285da4[_0x15c47c(0xff)](_0x591aab['id']));}),_0x5d93b0[_0x1b2f5b(0x112)](_0x1b2f5b(0xe6),_0x3254c2);}}function _0xffd3(_0x58e848,_0x427f77){const _0x4a92c2=_0x4a92();return _0xffd3=function(_0xffd3ba,_0xfccfe8){_0xffd3ba=_0xffd3ba-0xc0;let _0x1e5416=_0x4a92c2[_0xffd3ba];return _0x1e5416;},_0xffd3(_0x58e848,_0x427f77);}export function getDefaultAICommands(_0x30af37){const _0x36efe3=_0x5e8e25;return[{'groupId':_0x36efe3(0x10f),'groupLabel':_0x573914(_0x30af37,_0x36efe3(0xcf)),'commands':[{'id':_0x36efe3(0xd4),'label':_0x573914(_0x30af37,_0x36efe3(0x12e)),'prompt':_0x36efe3(0x124)},{'id':_0x36efe3(0xf8),'label':_0x573914(_0x30af37,_0x36efe3(0x122)),'prompt':_0x36efe3(0xfc)},{'id':_0x36efe3(0x111),'label':_0x573914(_0x30af37,_0x36efe3(0x10c)),'prompt':_0x36efe3(0xc4)},{'id':_0x36efe3(0x103),'label':_0x573914(_0x30af37,_0x36efe3(0xd3)),'prompt':_0x36efe3(0x119)}]},{'groupId':_0x36efe3(0xf7),'groupLabel':_0x573914(_0x30af37,_0x36efe3(0xcc)),'commands':[{'id':_0x36efe3(0xda),'label':_0x573914(_0x30af37,_0x36efe3(0x10a)),'prompt':_0x36efe3(0xce)},{'id':_0x36efe3(0x113),'label':_0x573914(_0x30af37,_0x36efe3(0x11a)),'prompt':_0x36efe3(0xf5)}]},{'groupId':_0x36efe3(0xe1),'groupLabel':_0x573914(_0x30af37,_0x36efe3(0x108)),'commands':[{'id':_0x36efe3(0x117),'label':_0x573914(_0x30af37,_0x36efe3(0x11f)),'prompt':_0x36efe3(0xec)},{'id':_0x36efe3(0xc6),'label':_0x573914(_0x30af37,_0x36efe3(0xca)),'prompt':_0x36efe3(0x100)},{'id':_0x36efe3(0xf3),'label':_0x573914(_0x30af37,_0x36efe3(0xea)),'prompt':_0x36efe3(0x101)},{'id':_0x36efe3(0x126),'label':_0x573914(_0x30af37,_0x36efe3(0xc0)),'prompt':_0x36efe3(0x104)},{'id':_0x36efe3(0xe2),'label':_0x573914(_0x30af37,_0x36efe3(0x11c)),'prompt':_0x36efe3(0xc1)}]},{'groupId':_0x36efe3(0xd8),'groupLabel':_0x573914(_0x30af37,_0x36efe3(0x12c)),'commands':[{'id':_0x36efe3(0xc3),'label':_0x573914(_0x30af37,_0x36efe3(0x115)),'prompt':_0x36efe3(0xe8)},{'id':_0x36efe3(0xde),'label':_0x573914(_0x30af37,_0x36efe3(0x109)),'prompt':_0x36efe3(0x11b)},{'id':_0x36efe3(0xfb),'label':_0x573914(_0x30af37,_0x36efe3(0xf1)),'prompt':_0x36efe3(0x125)},{'id':_0x36efe3(0xdc),'label':_0x573914(_0x30af37,_0x36efe3(0x10b)),'prompt':_0x36efe3(0xdf)}]},{'groupId':_0x36efe3(0x12a),'groupLabel':_0x573914(_0x30af37,_0x36efe3(0xfd)),'commands':[{'id':_0x36efe3(0xef),'label':_0x573914(_0x30af37,_0x36efe3(0xc7)),'prompt':_0x36efe3(0xee)},{'id':_0x36efe3(0xc2),'label':_0x573914(_0x30af37,_0x36efe3(0xe5)),'prompt':_0x36efe3(0xc5)},{'id':_0x36efe3(0xf0),'label':_0x573914(_0x30af37,_0x36efe3(0xd1)),'prompt':_0x36efe3(0x11e)},{'id':_0x36efe3(0x110),'label':_0x573914(_0x30af37,_0x36efe3(0x107)),'prompt':_0x36efe3(0xfe)},{'id':_0x36efe3(0x116),'label':_0x573914(_0x30af37,_0x36efe3(0xd9)),'prompt':_0x36efe3(0xcb)},{'id':_0x36efe3(0xfa),'label':_0x573914(_0x30af37,_0x36efe3(0xe3)),'prompt':_0x36efe3(0xe7)},{'id':_0x36efe3(0x10d),'label':_0x573914(_0x30af37,_0x36efe3(0x120)),'prompt':_0x36efe3(0x123)},{'id':_0x36efe3(0x11d),'label':_0x573914(_0x30af37,_0x36efe3(0xdd)),'prompt':_0x36efe3(0x12d)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x987fc1=_0x56d6;function _0x2faf(){const _0x3a121a=['document','getRanges','lowest','_getDefaultInsertBelowPosition','init','7jCEaEv','config','off','span','findAncestor','text/html','editor','getLastMatchingPosition','element','afterInit','ai.assistant.useTheme','href','createPositionAfter','markers','getRows','41474142TmUJEr','DataTransfer','AIAssistantEditing','map','showFakeVisualSelection','ck-ai-assistant-ui_theme','getColumnIndexes','insertRows','parse','fromCharCode','createSelection','TableUtils','isCollapsed','isAtEnd','removeMarker','pop','model','last','createRange','from','isOfficialPlugin','length','schema','deleteContent','filter','hideFakeVisualSelection','plugins','contentInsertion','setData','insertContentBelow','editingDowncast','getSelectedTableCells','createPositionAt','has','getSelectedBlocks','addMarker','forEach','conversion','getRange','canEditAt','ai-ui','markerRange','once','_pasteHTMLUsingClipboard','getLastPosition','9252928ibllmC','resultRange','markerToHighlight','for','paste','137764bkoAQa','1371999uTSepz','editing','_getTableRowCountFromContent','isPremiumPlugin','setSelection','pluginName','change','getRowIndexes','_getAISelection','getChild','createUIElement','fire','getFirstRange','getMarkersGroup','870810Jybegw','markerToElement','data','586476RMNHKa','8160162igiGUl','join','addClass','ck-fake-ai-selection','9RxZjWp','isContent','start','insertContent','first','table','ck-fake-ai-selection_collapsed','_resetContentOfSelectedTableCells','selection','get','end','push','getChildren','_prepareTableInsertBelowPosition','_createEmptyTableRows','updateMarker'];_0x2faf=function(){return _0x3a121a;};return _0x2faf();}(function(_0x4f5168,_0x43f4ab){const _0x59f040=_0x56d6,_0x38c504=_0x4f5168();while(!![]){try{const _0x3cad03=-parseInt(_0x59f040(0x1e3))/0x1+parseInt(_0x59f040(0x1e2))/0x2*(-parseInt(_0x59f040(0x1f9))/0x3)+parseInt(_0x59f040(0x1f4))/0x4+parseInt(_0x59f040(0x1f1))/0x5+-parseInt(_0x59f040(0x1f5))/0x6*(parseInt(_0x59f040(0x20e))/0x7)+-parseInt(_0x59f040(0x1dd))/0x8+parseInt(_0x59f040(0x1b0))/0x9;if(_0x3cad03===_0x43f4ab)break;else _0x38c504['push'](_0x38c504['shift']());}catch(_0x50f6a6){_0x38c504['push'](_0x38c504['shift']());}}}(_0x2faf,0xcb8c3));import{uid as _0x3a2ce8}from'ckeditor5/src/utils.js';import{Plugin as _0x482876}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x146a61}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3e61d0,ViewDataTransfer as _0xcb7fe2}from'ckeditor5/src/engine.js';function _0x56d6(_0x354ac2,_0x3b7f39){const _0x2faf9c=_0x2faf();return _0x56d6=function(_0x56d612,_0x36b9e0){_0x56d612=_0x56d612-0x1a8;let _0x508c3d=_0x2faf9c[_0x56d612];return _0x508c3d;},_0x56d6(_0x354ac2,_0x3b7f39);}const lt=globalThis[_0x987fc1(0x1b1)],wt=_0x987fc1(0x1d8);export class AIAssistantEditing extends _0x482876{static get[_0x987fc1(0x1e8)](){const _0x560df2=_0x987fc1;return _0x560df2(0x1b2);}static get[_0x987fc1(0x1c4)](){return!0x0;}static get[_0x987fc1(0x1e6)](){return!0x0;}[_0x987fc1(0x20d)](){const _0x4494aa=_0x987fc1,{editor:_0x4bfea1}=this,_0x5573dd=[_0x4494aa(0x1f8)];_0x4bfea1[_0x4494aa(0x20f)][_0x4494aa(0x202)](_0x4494aa(0x1ab))&&_0x5573dd[_0x4494aa(0x204)](_0x4494aa(0x1b5)),_0x4bfea1[_0x4494aa(0x1d5)][_0x4494aa(0x1e0)](_0x4494aa(0x1ce))[_0x4494aa(0x1df)]({'model':wt,'view':{'classes':_0x5573dd,'priority':0xc}}),_0x4bfea1[_0x4494aa(0x1d5)][_0x4494aa(0x1e0)](_0x4494aa(0x1ce))[_0x4494aa(0x1f2)]({'model':wt,'view':(_0x172af9,{writer:_0x505a80})=>{const _0x21ef28=_0x4494aa;if(!_0x172af9[_0x21ef28(0x1d9)][_0x21ef28(0x1bc)])return null;const _0xf476d7=_0x505a80[_0x21ef28(0x1ed)](_0x21ef28(0x211));return _0x505a80[_0x21ef28(0x1f7)]([_0x21ef28(0x1f8),_0x21ef28(0x1ff)],_0xf476d7),_0xf476d7;}});}[_0x987fc1(0x1aa)](){!async function(_0x475d74){const _0xa20fad=_0x385aee([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]),_0x8b1076=0x3dffc4e1,_0xf24040=0x3df840e9^_0x8b1076,_0x1c544d=window[_0x385aee([0x44,0x61,0x74,0x65])][_0x385aee([0x6e,0x6f,0x77])](),_0x115525=_0x475d74[_0x385aee([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4cf24d=new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41f5b6=>{_0x115525[_0x385aee([0x6f,0x6e,0x63,0x65])](_0x385aee([0x72,0x65,0x61,0x64,0x79]),_0x41f5b6);}),_0x440b64={[_0x385aee([0x6b,0x74,0x79])]:_0x385aee([0x45,0x43]),[_0x385aee([0x75,0x73,0x65])]:_0x385aee([0x73,0x69,0x67]),[_0x385aee([0x63,0x72,0x76])]:_0x385aee([0x50,0x2d,0x32,0x35,0x36]),[_0x385aee([0x78])]:_0x385aee([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]),[_0x385aee([0x79])]:_0x385aee([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]),[_0x385aee([0x61,0x6c,0x67])]:_0x385aee([0x45,0x53,0x32,0x35,0x36])},_0x6e0b55=_0x115525[_0x385aee([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x385aee([0x67,0x65,0x74])](_0x385aee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x447e62(){let _0x1cfbe4,_0x42a50c=null,_0x15c723=null;try{if(_0x6e0b55==_0x385aee([0x47,0x50,0x4c]))return _0x385aee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cfbe4=_0x27653d(),!_0x1cfbe4)return _0x385aee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1cfbe4[_0x385aee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15c723=_0x48d35a(_0x1cfbe4[_0x385aee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cfbe4[_0x385aee([0x6a,0x74,0x69])])),await _0x131227()?_0x35a844()?_0x24a787()?_0x385aee([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b1b6d()?(_0x1cfbe4[_0x385aee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x385aee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x42a50c=_0x5dfda2(_0x385aee([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4cb9c6()):_0x385aee([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x385aee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x385aee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x385aee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x24a787(){const _0x275dc0=[_0x385aee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x385aee([0x74,0x72,0x69,0x61,0x6c])][_0x385aee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfbe4[_0x385aee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c544d/0x3e8:0xe10*_0xf24040;return _0x1cfbe4[_0x385aee([0x65,0x78,0x70])]<_0x275dc0;}function _0x35a844(){const _0x16b28a=_0x1cfbe4[_0x385aee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16b28a&&(!!_0x16b28a[_0x385aee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385aee([0x2a]))||!!_0x16b28a[_0x385aee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385aee([0x41,0x49])));}function _0x1b1b6d(){const _0x4cbc44=_0x56d6,_0xf53720=_0x1cfbe4[_0x385aee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf53720||0x0==_0xf53720[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd49ebe}=new URL(window[_0x385aee([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4cbc44(0x1ac)]);if(_0xf53720[_0x385aee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd49ebe))return!0x0;const _0xa4d1d3=_0xd49ebe[_0x385aee([0x73,0x70,0x6c,0x69,0x74])](_0x385aee([0x2e]));return _0xf53720[_0x385aee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bddfd=>_0x2bddfd[_0x385aee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385aee([0x2a])))[_0x385aee([0x6d,0x61,0x70])](_0x2faa2c=>_0x2faa2c[_0x385aee([0x73,0x70,0x6c,0x69,0x74])](_0x385aee([0x2e])))[_0x385aee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12f288=>_0x12f288[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa4d1d3[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x385aee([0x6d,0x61,0x70])](_0x41da83=>Array(_0xa4d1d3[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41da83[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x385aee([0x66,0x69,0x6c,0x6c])](_0x41da83[0x0]===_0x385aee([0x2a])?_0x385aee([0x2a]):'')[_0x385aee([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41da83))[_0x385aee([0x73,0x6f,0x6d,0x65])](_0x1e58f8=>_0xa4d1d3[_0x385aee([0x65,0x76,0x65,0x72,0x79])]((_0xa40bac,_0x50712b)=>_0x1e58f8[_0x50712b]===_0xa40bac||_0x1e58f8[_0x50712b]===_0x385aee([0x2a])));}function _0x4cb9c6(){return _0x42a50c&&_0x15c723?new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x111791,_0x316943)=>{_0x42a50c[_0x385aee([0x74,0x68,0x65,0x6e])](_0x111791,_0x316943),_0x15c723[_0x385aee([0x74,0x68,0x65,0x6e])](_0x12a972=>{_0x12a972!=_0x385aee([0x56,0x61,0x6c,0x69,0x64])&&_0x111791(_0x12a972);},_0x316943);}):_0x42a50c||_0x15c723||_0x385aee([0x56,0x61,0x6c,0x69,0x64]);}}function _0x48d35a(_0x5229ad,_0x2539b4){return new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x80363=>{if(_0x78e62d())return _0x80363(_0x385aee([0x56,0x61,0x6c,0x69,0x64]));_0xda8e5c(),_0x115525[_0x385aee([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x385aee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20ce16=!0x1;const _0x393173=_0x3a2ce8();function _0x813c43(_0x31c288){return!!_0x31c288&&(typeof _0x31c288===_0x385aee([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31c288===_0x385aee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31c288[_0x385aee([0x74,0x68,0x65,0x6e])]===_0x385aee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31c288[_0x385aee([0x63,0x61,0x74,0x63,0x68])]===_0x385aee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4fa6ef(_0x2c7f21){_0x2e2751(_0x2c7f21)[_0x385aee([0x74,0x68,0x65,0x6e])](_0x37cb97=>{if(!_0x37cb97||_0x37cb97[_0x385aee([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x385aee([0x6f,0x6b]))return _0x385aee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22a892(_0x432d81(_0x393173+_0x2539b4))!=_0x37cb97[_0x385aee([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x385aee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x385aee([0x56,0x61,0x6c,0x69,0x64]);})[_0x385aee([0x74,0x68,0x65,0x6e])](_0x27592e=>(_0x452f89(),_0x27592e),()=>{const _0x583a4c=_0x18aabb();return null==_0x583a4c?(_0x452f89(),_0x385aee([0x56,0x61,0x6c,0x69,0x64])):_0x385aee(_0x1c544d-_0x583a4c>(0x19f340e1^_0x8b1076)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x385aee([0x74,0x68,0x65,0x6e])](_0x80363)[_0x385aee([0x63,0x61,0x74,0x63,0x68])](()=>{_0x80363(_0x385aee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56bf65=0x3dc92a61^_0x8b1076;function _0x452f89(){const _0xbcb62e=_0x385aee([0x6c,0x6c,0x63,0x74,0x2d])+_0x22a892(_0x432d81(_0x5229ad)),_0x58be67=_0x205338(_0x22a892(window[_0x385aee([0x4d,0x61,0x74,0x68])][_0x385aee([0x63,0x65,0x69,0x6c])](_0x1c544d/_0x56bf65)));window[_0x385aee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x385aee([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbcb62e,_0x58be67);}function _0x18aabb(){const _0x44f353=_0x385aee([0x6c,0x6c,0x63,0x74,0x2d])+_0x22a892(_0x432d81(_0x5229ad)),_0x24f4f1=window[_0x385aee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x385aee([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44f353);return _0x24f4f1?window[_0x385aee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x205338(_0x24f4f1),0x10)*_0x56bf65:null;}function _0x2e2751(_0x5c905a){return new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d77bd,_0x578c98)=>{_0x5c905a[_0x385aee([0x74,0x68,0x65,0x6e])](_0x4d77bd,_0x578c98),window[_0x385aee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x578c98,0x3dfe1021^_0x8b1076);});}}_0x115525[_0x385aee([0x6f,0x6e])](_0x385aee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56d627,_0x35321e)=>{if(_0x35321e[0x0]!=_0x5229ad)return _0x80363(_0x385aee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35321e[0x1]={..._0x35321e[0x1],[_0x385aee([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x393173};},{[_0x385aee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x385aee([0x68,0x69,0x67,0x68])}),_0x115525[_0x385aee([0x6f,0x6e])](_0x385aee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x49c2ad=>{_0x813c43(_0x49c2ad[_0x385aee([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20ce16=!0x0,_0x4fa6ef(_0x49c2ad[_0x385aee([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x385aee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x385aee([0x6c,0x6f,0x77])}),_0x4cf24d[_0x385aee([0x74,0x68,0x65,0x6e])](()=>{_0x20ce16||_0x80363(_0x385aee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x78e62d(){return _0x115525[_0x385aee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x385aee([0x76,0x69,0x65,0x77])][_0x385aee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x385aee([0x61,0x75,0x74,0x6f]);}function _0xda8e5c(){_0x115525[_0x385aee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x385aee([0x76,0x69,0x65,0x77])][_0x385aee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x385aee([0x61,0x75,0x74,0x6f]);}}function _0x5dfda2(_0x2e4f8c){const _0xa0b58=[new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dac52=>setTimeout(_0x2dac52,0x3df6fa2d^_0x8b1076)),_0x4cf24d[_0x385aee([0x74,0x68,0x65,0x6e])](()=>new window[(_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3821e9=>{let _0x5348ed=0x0;_0x115525[_0x385aee([0x6d,0x6f,0x64,0x65,0x6c])][_0x385aee([0x6f,0x6e])](_0x385aee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c6a4f,_0x40f3a9)=>{_0x40f3a9[0x0][_0x385aee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5348ed++,_0x5348ed==(0x3dffc109^_0x8b1076)&&(_0x3821e9(),_0x4c6a4f[_0x385aee([0x6f,0x66,0x66])]());});}))];return window[_0x385aee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x385aee([0x72,0x61,0x63,0x65])](_0xa0b58)[_0x385aee([0x74,0x68,0x65,0x6e])](()=>_0x2e4f8c);}async function _0x7376ca(){await _0x4cf24d,_0x115525[_0x385aee([0x6d,0x6f,0x64,0x65,0x6c])][_0x385aee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a1ba4,_0x115525[_0x385aee([0x6d,0x6f,0x64,0x65,0x6c])][_0x385aee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a1ba4,_0x115525[_0x385aee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x385aee([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e61e7(_0x588d81){const _0x31506d=_0x2bc16f();_0x115525[_0x31506d]=_0x385aee([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x588d81,_0x588d81!=_0x385aee([0x56,0x61,0x6c,0x69,0x64])&&_0x7376ca();}function _0x2bc16f(){const _0xf1fe6b=window[_0x385aee([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x385aee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x385aee([0x6e,0x6f,0x77])]())[_0x385aee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x385aee([0x2e]),'');let _0x299369=_0x385aee([0x6e]);for(let _0x54c6dd=0x0;_0x54c6dd<_0xf1fe6b[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54c6dd+=0x2){let _0x54d77a=window[_0x385aee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf1fe6b[_0x385aee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54c6dd,_0x54c6dd+0x2));_0x54d77a>=_0xa20fad[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54d77a-=_0xa20fad[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x299369+=_0xa20fad[_0x54d77a];}return _0x299369;}function _0x27653d(){const _0x16b3ab=_0x6e0b55[_0x385aee([0x73,0x70,0x6c,0x69,0x74])](_0x385aee([0x2e]));if(0x3!=_0x16b3ab[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x313190(_0x16b3ab[0x1]);function _0x313190(_0x10e205){const _0x3a1616=_0x15c033(_0x10e205);return _0x3a1616&&_0xb6d503()?_0x3a1616:null;function _0xb6d503(){const _0x27c810=_0x3a1616[_0x385aee([0x6a,0x74,0x69])],_0x5bac93=window[_0x385aee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27c810[_0x385aee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27c810[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b39fc={..._0x3a1616,[_0x385aee([0x6a,0x74,0x69])]:_0x27c810[_0x385aee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27c810[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b39fc[_0x385aee([0x76,0x63])],_0x432d81(_0x1b39fc)==_0x5bac93;}}}async function _0x131227(){let _0x1a60f0=!0x0;try{const _0x5c9c94=_0x6e0b55[_0x385aee([0x73,0x70,0x6c,0x69,0x74])](_0x385aee([0x2e])),[_0x1b5390,_0x428e6e,_0x54f187]=_0x5c9c94;return _0xf1e8c1(_0x1b5390),await _0x415378(_0x1b5390,_0x428e6e,_0x54f187),_0x1a60f0;}catch{return!0x1;}function _0xf1e8c1(_0x23f4dc){const _0x1b5cb2=_0x15c033(_0x23f4dc);_0x1b5cb2&&_0x1b5cb2[_0x385aee([0x61,0x6c,0x67])]==_0x385aee([0x45,0x53,0x32,0x35,0x36])||(_0x1a60f0=!0x1);}async function _0x415378(_0x3c65e4,_0x5fdf3,_0x5e1a70){const _0x1a641c=window[_0x385aee([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x385aee([0x66,0x72,0x6f,0x6d])](_0x769e77(_0x5e1a70),_0x5e5e97=>_0x5e5e97[_0x385aee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xca474f=new window[(_0x385aee([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x385aee([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c65e4+_0x385aee([0x2e])+_0x5fdf3),_0x8cb2a1=window[_0x385aee([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x385aee([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x8cb2a1)return;const _0x1f6e11=await _0x8cb2a1[_0x385aee([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x385aee([0x6a,0x77,0x6b]),_0x440b64,{[_0x385aee([0x6e,0x61,0x6d,0x65])]:_0x385aee([0x45,0x43,0x44,0x53,0x41]),[_0x385aee([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x385aee([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x385aee([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x8cb2a1[_0x385aee([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x385aee([0x6e,0x61,0x6d,0x65])]:_0x385aee([0x45,0x43,0x44,0x53,0x41]),[_0x385aee([0x68,0x61,0x73,0x68])]:{[_0x385aee([0x6e,0x61,0x6d,0x65])]:_0x385aee([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f6e11,_0x1a641c,_0xca474f)||(_0x1a60f0=!0x1);}}function _0x15c033(_0x4a1173){return _0x4a1173[_0x385aee([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x385aee([0x65,0x79]))?JSON[_0x385aee([0x70,0x61,0x72,0x73,0x65])](_0x769e77(_0x4a1173)):null;}function _0x769e77(_0x12f841){return window[_0x385aee([0x61,0x74,0x6f,0x62])](_0x12f841[_0x385aee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x385aee([0x2b]))[_0x385aee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x385aee([0x2f])));}function _0x432d81(_0x5f3eb1){let _0x52836e=0x1505;function _0x56638b(_0x34aff9){for(let _0x274b46=0x0;_0x274b46<_0x34aff9[_0x385aee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x274b46++){const _0x3509a0=_0x34aff9[_0x385aee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x274b46);_0x52836e=(_0x52836e<<0x5)+_0x52836e+_0x3509a0,_0x52836e&=_0x52836e;}}function _0x1620f8(_0x13c392){Array[_0x385aee([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13c392)?_0x13c392[_0x385aee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1620f8):_0x13c392&&typeof _0x13c392==_0x385aee([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x385aee([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13c392)[_0x385aee([0x73,0x6f,0x72,0x74])]()[_0x385aee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c4a9e,_0x5d1bf3])=>{_0x56638b(_0x5c4a9e),_0x1620f8(_0x5d1bf3);}):_0x56638b(window[_0x385aee([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13c392));}return _0x1620f8(_0x5f3eb1),_0x52836e>>>0x0;}function _0x22a892(_0x284980){return _0x284980[_0x385aee([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x385aee([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x385aee([0x30]));}function _0x205338(_0x110f8f){return _0x110f8f[_0x385aee([0x73,0x70,0x6c,0x69,0x74])]('')[_0x385aee([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x385aee([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a1ba4(){}function _0x385aee(_0x2f7701){const _0x66d009=_0x56d6;return _0x2f7701[_0x66d009(0x1b3)](_0x70bb30=>String[_0x66d009(0x1b9)](_0x70bb30))[_0x66d009(0x1f6)]('');}_0x5e61e7(await _0x447e62());}(this);}[_0x987fc1(0x1b4)](){const _0x502108=_0x987fc1,_0xe4a029=this[_0x502108(0x214)][_0x502108(0x1c0)];_0xe4a029[_0x502108(0x1e9)](_0xa59b97=>{const _0x5aa3ca=_0x502108,_0x173994=_0xe4a029[_0x5aa3ca(0x209)][_0x5aa3ca(0x201)][_0x5aa3ca(0x20a)]();let _0x3797ac=0x0;for(const _0xdf598 of _0x173994){const _0x102c5e=wt+':'+_0x3797ac;if(_0xe4a029[_0x5aa3ca(0x1ae)][_0x5aa3ca(0x1d1)](_0x102c5e))_0xa59b97[_0x5aa3ca(0x208)](_0x102c5e,{'range':_0xdf598});else{if(_0xdf598[_0x5aa3ca(0x1fb)][_0x5aa3ca(0x1bd)]){const _0x2bdee0=_0xdf598[_0x5aa3ca(0x1fb)][_0x5aa3ca(0x1a8)](({item:_0x301f3f})=>!_0xe4a029[_0x5aa3ca(0x1c6)][_0x5aa3ca(0x1fa)](_0x301f3f),{'boundaries':_0xdf598});_0xa59b97[_0x5aa3ca(0x1d3)](_0x102c5e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xa59b97[_0x5aa3ca(0x1c2)](_0x2bdee0,_0xdf598[_0x5aa3ca(0x203)])});}else _0xa59b97[_0x5aa3ca(0x1d3)](_0x102c5e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xdf598});}_0x3797ac++;}});}[_0x987fc1(0x1c9)](){const _0xe4641c=_0x987fc1,_0x2f9004=this[_0xe4641c(0x214)][_0xe4641c(0x1c0)],_0x91f9f0=Array[_0xe4641c(0x1c3)](this[_0xe4641c(0x214)][_0xe4641c(0x1c0)][_0xe4641c(0x1ae)][_0xe4641c(0x1f0)](wt));_0x91f9f0[_0xe4641c(0x1c5)]&&_0x2f9004[_0xe4641c(0x1e9)](_0x4d715b=>{const _0x3a32f2=_0xe4641c;_0x91f9f0[_0x3a32f2(0x1d4)](_0x329ce0=>{const _0x51591c=_0x3a32f2;_0x4d715b[_0x51591c(0x1be)](_0x329ce0);});});}[_0x987fc1(0x1fc)](_0xc5d22f,_0x314bcb){const _0x2b17e8=_0x987fc1,_0x5edab7=this[_0x2b17e8(0x1eb)](),_0x1f492e=_0x314bcb||_0x5edab7[_0x2b17e8(0x1ef)]();this[_0x2b17e8(0x214)][_0x2b17e8(0x1c0)][_0x2b17e8(0x1d7)](_0x1f492e)&&this[_0x2b17e8(0x214)][_0x2b17e8(0x1c0)][_0x2b17e8(0x1e9)](_0x48cc9a=>{const _0x42843b=_0x2b17e8;this[_0x42843b(0x1c9)](),_0x314bcb||this[_0x42843b(0x200)](_0x48cc9a,_0x5edab7),this[_0x42843b(0x1db)]({'insertAt':_0x1f492e,'writer':_0x48cc9a,'html':_0xc5d22f});});}[_0x987fc1(0x1cd)](_0x6cd6d5){const _0x5c4618=_0x987fc1,{model:_0x3f0703}=this[_0x5c4618(0x214)],_0x233ca7=this[_0x5c4618(0x1eb)]();_0x3f0703[_0x5c4618(0x1e9)](()=>{const _0x5de458=_0x5c4618,_0x2a5168=this[_0x5de458(0x206)](_0x6cd6d5,_0x233ca7)||this[_0x5de458(0x20c)](_0x233ca7);this[_0x5de458(0x1fc)](_0x6cd6d5,_0x2a5168);});}[_0x987fc1(0x1eb)](){const _0x5990a7=_0x987fc1,_0x2ebf03=this[_0x5990a7(0x214)][_0x5990a7(0x1c0)],_0x11ff50=Array[_0x5990a7(0x1c3)](_0x2ebf03[_0x5990a7(0x1ae)][_0x5990a7(0x1f0)](wt))[_0x5990a7(0x1b3)](_0x344515=>_0x344515[_0x5990a7(0x1d6)]());return _0x2ebf03[_0x5990a7(0x1ba)](_0x11ff50);}[_0x987fc1(0x1db)]({writer:_0x4c9e55,html:_0x493377,insertAt:_0x48658d}){const _0x3bf208=_0x987fc1,{view:_0x48d33c}=this[_0x3bf208(0x214)][_0x3bf208(0x1e4)],_0x2a08d4=this[_0x3bf208(0x214)][_0x3bf208(0x1ca)][_0x3bf208(0x202)](_0x146a61),_0x5822ee=new lt();_0x5822ee[_0x3bf208(0x1cc)](_0x3bf208(0x213),_0x493377);const _0x2b6a62=new ClipboardEvent(_0x3bf208(0x1e1),{'clipboardData':_0x5822ee}),_0xe56b94=new _0x3e61d0(_0x48d33c,_0x2b6a62,{'dataTransfer':new _0xcb7fe2(_0x5822ee)});_0x4c9e55[_0x3bf208(0x1e7)](_0x48658d);const _0x572c27=(_0x43d2c4,_0x2145d0)=>{const _0x56a07e=_0x3bf208;_0x2145d0[_0x56a07e(0x1de)]&&_0x4c9e55[_0x56a07e(0x1e7)](_0x2145d0[_0x56a07e(0x1de)]);};_0x2a08d4[_0x3bf208(0x1da)](_0x3bf208(0x1cb),_0x572c27,{'priority':_0x3bf208(0x20b)}),_0x48d33c[_0x3bf208(0x209)][_0x3bf208(0x1ee)](_0x3bf208(0x1e1),_0xe56b94),_0x2a08d4[_0x3bf208(0x210)](_0x3bf208(0x1cb),_0x572c27);}[_0x987fc1(0x20c)](_0x165409){const _0x479734=_0x987fc1,{model:_0x4bde85}=this[_0x479734(0x214)],_0x53ddf1=Array[_0x479734(0x1c3)](_0x165409[_0x479734(0x1d2)]());return _0x53ddf1[_0x479734(0x1c5)]?_0x4bde85[_0x479734(0x1ad)](_0x53ddf1[_0x479734(0x1bf)]()):_0x165409[_0x479734(0x1dc)]();}[_0x987fc1(0x206)](_0x497345,_0xd078c8){const _0x393774=_0x987fc1,{model:_0x101cdb,plugins:_0x431264}=this[_0x393774(0x214)];if(_0x431264[_0x393774(0x1d1)](_0x393774(0x1bb))){const _0x48d5bd=_0x431264[_0x393774(0x202)](_0x393774(0x1bb))[_0x393774(0x1cf)](_0xd078c8);if(_0x48d5bd[_0x393774(0x1c5)]){const _0x266a97=this[_0x393774(0x1e5)](_0x497345),_0x75bc0=this[_0x393774(0x207)](_0x48d5bd,_0x266a97);return _0x101cdb[_0x393774(0x1d0)](_0x75bc0,0x0);}}return null;}[_0x987fc1(0x1e5)](_0x5ee766){const _0x39c63d=_0x987fc1,_0x25683b=this[_0x39c63d(0x214)][_0x39c63d(0x1ca)][_0x39c63d(0x202)](_0x39c63d(0x1bb)),_0x2daa9f=this[_0x39c63d(0x214)][_0x39c63d(0x1f3)][_0x39c63d(0x1b8)](_0x5ee766),_0x5678a0=Array[_0x39c63d(0x1c3)](_0x2daa9f[_0x39c63d(0x205)]())[_0x39c63d(0x1c8)](_0x40e508=>_0x40e508['is'](_0x39c63d(0x1a9),_0x39c63d(0x1fe)));let _0x281c47=0x0;return _0x5678a0[_0x39c63d(0x1d4)](_0xe70566=>{const _0x5cb7e1=_0x39c63d;_0x281c47+=_0x25683b[_0x5cb7e1(0x1af)](_0xe70566);}),_0x281c47;}[_0x987fc1(0x207)](_0x1a78c,_0x54e8b8){const _0x554400=_0x987fc1,_0x5448f2=this[_0x554400(0x214)][_0x554400(0x1ca)][_0x554400(0x202)](_0x554400(0x1bb)),_0x15654b=_0x5448f2[_0x554400(0x1ea)](_0x1a78c),_0x29fbdb=_0x5448f2[_0x554400(0x1b6)](_0x1a78c),_0x220451=_0x15654b[_0x554400(0x1c1)]+0x1,_0x50ecc6=_0x29fbdb[_0x554400(0x1fd)],_0x54ee44=_0x1a78c[0x0][_0x554400(0x212)](_0x554400(0x1fe));for(let _0x17ac37=0x0;_0x17ac37<_0x54e8b8;_0x17ac37++)_0x5448f2[_0x554400(0x1b7)](_0x54ee44,{'at':_0x220451});return _0x54ee44[_0x554400(0x1ec)](_0x220451)[_0x554400(0x1ec)](_0x50ecc6);}[_0x987fc1(0x200)](_0x369c8b,_0x1c4aeb){const _0x50b2dd=_0x987fc1,{plugins:_0x1c046b}=this[_0x50b2dd(0x214)],{model:_0xadc0e0}=_0x369c8b;if(!_0x1c046b[_0x50b2dd(0x1d1)](_0x50b2dd(0x1bb)))return;_0x1c046b[_0x50b2dd(0x202)](_0x50b2dd(0x1bb))[_0x50b2dd(0x1cf)](_0x1c4aeb)[_0x50b2dd(0x1c5)]&&_0xadc0e0[_0x50b2dd(0x1c7)](_0x1c4aeb);}}
23
+ const _0x2fd9a2=_0x245d;function _0x245d(_0x36139a,_0x11bd70){const _0x1e6aec=_0x1e6a();return _0x245d=function(_0x245de9,_0x540abf){_0x245de9=_0x245de9-0x1aa;let _0x17d26d=_0x1e6aec[_0x245de9];return _0x17d26d;},_0x245d(_0x36139a,_0x11bd70);}(function(_0x1052ed,_0x3be2b4){const _0xd39665=_0x245d,_0x344477=_0x1052ed();while(!![]){try{const _0x53d0dd=-parseInt(_0xd39665(0x1b1))/0x1+parseInt(_0xd39665(0x1aa))/0x2*(parseInt(_0xd39665(0x1b0))/0x3)+parseInt(_0xd39665(0x1c5))/0x4*(parseInt(_0xd39665(0x201))/0x5)+parseInt(_0xd39665(0x1f1))/0x6*(parseInt(_0xd39665(0x1f5))/0x7)+parseInt(_0xd39665(0x1f6))/0x8*(parseInt(_0xd39665(0x1ac))/0x9)+parseInt(_0xd39665(0x217))/0xa*(parseInt(_0xd39665(0x1be))/0xb)+-parseInt(_0xd39665(0x1d0))/0xc*(parseInt(_0xd39665(0x1d4))/0xd);if(_0x53d0dd===_0x3be2b4)break;else _0x344477['push'](_0x344477['shift']());}catch(_0x1ee982){_0x344477['push'](_0x344477['shift']());}}}(_0x1e6a,0x1bd44));import{uid as _0x3ccb12}from'ckeditor5/src/utils.js';import{Plugin as _0x274cb1}from'ckeditor5/src/core.js';function _0x1e6a(){const _0x97e80b=['document','setSelection','getRange','element','for','selection','filter','_getTableRowCountFromContent','getChildren','editor','getColumnIndexes','ai.assistant.useTheme','getLastPosition','conversion','12560WlBuTF','canEditAt','ck-fake-ai-selection_collapsed','change','2SLkZlm','resultRange','9dtNIJS','isAtEnd','plugins','AIAssistantEditing','509268qkLWxF','67464soXtck','markerRange','getRowIndexes','_resetContentOfSelectedTableCells','text/html','pop','createUIElement','map','editingDowncast','getMarkersGroup','last','model','config','1100dDfRzm','_prepareTableInsertBelowPosition','getRows','insertContentBelow','ck-ai-assistant-ui_theme','getRanges','ai-ui','1256gYWfMX','DataTransfer','isCollapsed','getChild','get','_pasteHTMLUsingClipboard','markers','start','end','_getDefaultInsertBelowPosition','forEach','1704YWruXC','setData','href','markerToElement','23361IcOYfC','paste','isContent','addClass','createPositionAfter','from','insertContent','parse','getLastMatchingPosition','findAncestor','isOfficialPlugin','table','getSelectedBlocks','getSelectedTableCells','_createEmptyTableRows','off','createPositionAt','once','ck-fake-ai-selection','hideFakeVisualSelection','data','editing','removeMarker','fire','showFakeVisualSelection','span','addMarker','init','markerToHighlight','258ukXCHj','createSelection','TableUtils','deleteContent','9611TudDhl','92648ISNyMR','contentInsertion','updateMarker','has','first','lowest','isPremiumPlugin','pluginName','createRange','afterInit','schema','1125UNTPgf','fromCharCode','length','getFirstRange','_getAISelection','insertRows','push','join'];_0x1e6a=function(){return _0x97e80b;};return _0x1e6a();}import{ClipboardPipeline as _0x594634}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3302f9,ViewDataTransfer as _0x3ec29a}from'ckeditor5/src/engine.js';const w=globalThis[_0x2fd9a2(0x1c6)],f=_0x2fd9a2(0x1c4);export class AIAssistantEditing extends _0x274cb1{static get[_0x2fd9a2(0x1fd)](){const _0x381486=_0x2fd9a2;return _0x381486(0x1af);}static get[_0x2fd9a2(0x1de)](){return!0x0;}static get[_0x2fd9a2(0x1fc)](){return!0x0;}[_0x2fd9a2(0x1ef)](){const _0x28272d=_0x2fd9a2,{editor:_0x1d132b}=this,_0x35fde8=[_0x28272d(0x1e6)];_0x1d132b[_0x28272d(0x1bd)][_0x28272d(0x1c9)](_0x28272d(0x214))&&_0x35fde8[_0x28272d(0x207)](_0x28272d(0x1c2)),_0x1d132b[_0x28272d(0x216)][_0x28272d(0x20d)](_0x28272d(0x1b9))[_0x28272d(0x1f0)]({'model':f,'view':{'classes':_0x35fde8,'priority':0xc}}),_0x1d132b[_0x28272d(0x216)][_0x28272d(0x20d)](_0x28272d(0x1b9))[_0x28272d(0x1d3)]({'model':f,'view':(_0xffb5ac,{writer:_0x54c486})=>{const _0x17c5ee=_0x28272d;if(!_0xffb5ac[_0x17c5ee(0x1b2)][_0x17c5ee(0x1c7)])return null;const _0x501757=_0x54c486[_0x17c5ee(0x1b7)](_0x17c5ee(0x1ed));return _0x54c486[_0x17c5ee(0x1d7)]([_0x17c5ee(0x1e6),_0x17c5ee(0x219)],_0x501757),_0x501757;}});}[_0x2fd9a2(0x1ff)](){!async function(_0x24f133){const _0x489969=_0x595a41([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]),_0x1b6f10=0x3dffc4e1,_0x584a71=0x3df84249^_0x1b6f10,_0x7fb09f=window[_0x595a41([0x44,0x61,0x74,0x65])][_0x595a41([0x6e,0x6f,0x77])](),_0x3a9cdc=_0x24f133[_0x595a41([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x14a470=new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cb50e=>{_0x3a9cdc[_0x595a41([0x6f,0x6e,0x63,0x65])](_0x595a41([0x72,0x65,0x61,0x64,0x79]),_0x5cb50e);}),_0x3a92e5={[_0x595a41([0x6b,0x74,0x79])]:_0x595a41([0x45,0x43]),[_0x595a41([0x75,0x73,0x65])]:_0x595a41([0x73,0x69,0x67]),[_0x595a41([0x63,0x72,0x76])]:_0x595a41([0x50,0x2d,0x32,0x35,0x36]),[_0x595a41([0x78])]:_0x595a41([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]),[_0x595a41([0x79])]:_0x595a41([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]),[_0x595a41([0x61,0x6c,0x67])]:_0x595a41([0x45,0x53,0x32,0x35,0x36])},_0x231852=_0x3a9cdc[_0x595a41([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x595a41([0x67,0x65,0x74])](_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x20473e(){let _0x217c47,_0x1ec13b=null,_0x566554=null;try{if(_0x231852==_0x595a41([0x47,0x50,0x4c]))return _0x595a41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x217c47=_0xd2b556(),!_0x217c47)return _0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x217c47[_0x595a41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x566554=_0x262e3a(_0x217c47[_0x595a41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x217c47[_0x595a41([0x6a,0x74,0x69])])),await _0x28e9fc()?_0x40c732()?_0x225d80()?_0x595a41([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x128190()?(_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x595a41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ec13b=_0xbeda15(_0x595a41([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x339ab8()):_0x595a41([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x595a41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x225d80(){const _0x5f0a91=[_0x595a41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x595a41([0x74,0x72,0x69,0x61,0x6c])][_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7fb09f/0x3e8:0xe10*_0x584a71;return _0x217c47[_0x595a41([0x65,0x78,0x70])]<_0x5f0a91;}function _0x40c732(){const _0x2cdae3=_0x217c47[_0x595a41([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2cdae3&&(!!_0x2cdae3[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x2a]))||!!_0x2cdae3[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x41,0x49])));}function _0x128190(){const _0x3add23=_0x245d,_0x2055ec=_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2055ec||0x0==_0x2055ec[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb067d7}=new URL(window[_0x595a41([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3add23(0x1d2)]);if(_0x2055ec[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb067d7))return!0x0;const _0x53d9e5=_0xb067d7[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e]));return _0x2055ec[_0x595a41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14c605=>_0x14c605[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x2a])))[_0x595a41([0x6d,0x61,0x70])](_0x1aac4d=>_0x1aac4d[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e])))[_0x595a41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf11565=>_0xf11565[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53d9e5[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x595a41([0x6d,0x61,0x70])](_0x11cff6=>Array(_0x53d9e5[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11cff6[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x595a41([0x66,0x69,0x6c,0x6c])](_0x11cff6[0x0]===_0x595a41([0x2a])?_0x595a41([0x2a]):'')[_0x595a41([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11cff6))[_0x595a41([0x73,0x6f,0x6d,0x65])](_0x152f19=>_0x53d9e5[_0x595a41([0x65,0x76,0x65,0x72,0x79])]((_0x1f12b4,_0x3cccce)=>_0x152f19[_0x3cccce]===_0x1f12b4||_0x152f19[_0x3cccce]===_0x595a41([0x2a])));}function _0x339ab8(){return _0x1ec13b&&_0x566554?new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47a63e,_0x39d956)=>{_0x1ec13b[_0x595a41([0x74,0x68,0x65,0x6e])](_0x47a63e,_0x39d956),_0x566554[_0x595a41([0x74,0x68,0x65,0x6e])](_0x2314c9=>{_0x2314c9!=_0x595a41([0x56,0x61,0x6c,0x69,0x64])&&_0x47a63e(_0x2314c9);},_0x39d956);}):_0x1ec13b||_0x566554||_0x595a41([0x56,0x61,0x6c,0x69,0x64]);}}function _0x262e3a(_0x3eb1c2,_0x4abd74){return new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cc2be=>{if(_0x38caf8())return _0x5cc2be(_0x595a41([0x56,0x61,0x6c,0x69,0x64]));_0x3ecdfa(),_0x3a9cdc[_0x595a41([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4093d2=!0x1;const _0x93bb1e=_0x3ccb12();function _0x40392b(_0x8ae2d4){return!!_0x8ae2d4&&(typeof _0x8ae2d4===_0x595a41([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8ae2d4===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8ae2d4[_0x595a41([0x74,0x68,0x65,0x6e])]===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8ae2d4[_0x595a41([0x63,0x61,0x74,0x63,0x68])]===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe9c597(_0x404092){_0x39420f(_0x404092)[_0x595a41([0x74,0x68,0x65,0x6e])](_0x269a35=>{if(!_0x269a35||_0x269a35[_0x595a41([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x595a41([0x6f,0x6b]))return _0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bb3a3(_0x2b53c5(_0x93bb1e+_0x4abd74))!=_0x269a35[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x595a41([0x56,0x61,0x6c,0x69,0x64]);})[_0x595a41([0x74,0x68,0x65,0x6e])](_0x466410=>(_0x415b7f(),_0x466410),()=>{const _0x22c4bb=_0x2a9873();return null==_0x22c4bb?(_0x415b7f(),_0x595a41([0x56,0x61,0x6c,0x69,0x64])):_0x595a41(_0x7fb09f-_0x22c4bb>(0x19f340e1^_0x1b6f10)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x595a41([0x74,0x68,0x65,0x6e])](_0x5cc2be)[_0x595a41([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x380f6e=0x3dc92a61^_0x1b6f10;function _0x415b7f(){const _0x13c555=_0x595a41([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb3a3(_0x2b53c5(_0x3eb1c2)),_0x348171=_0x17503c(_0x5bb3a3(window[_0x595a41([0x4d,0x61,0x74,0x68])][_0x595a41([0x63,0x65,0x69,0x6c])](_0x7fb09f/_0x380f6e)));window[_0x595a41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x595a41([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13c555,_0x348171);}function _0x2a9873(){const _0x37d62e=_0x595a41([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb3a3(_0x2b53c5(_0x3eb1c2)),_0x30e332=window[_0x595a41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x595a41([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37d62e);return _0x30e332?window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17503c(_0x30e332),0x10)*_0x380f6e:null;}function _0x39420f(_0x54a631){return new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e657c,_0x48db5)=>{_0x54a631[_0x595a41([0x74,0x68,0x65,0x6e])](_0x5e657c,_0x48db5),window[_0x595a41([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48db5,0x3dfe1021^_0x1b6f10);});}}_0x3a9cdc[_0x595a41([0x6f,0x6e])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26e46b,_0x5c2ce6)=>{if(_0x5c2ce6[0x0]!=_0x3eb1c2)return _0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c2ce6[0x1]={..._0x5c2ce6[0x1],[_0x595a41([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x93bb1e};},{[_0x595a41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x595a41([0x68,0x69,0x67,0x68])}),_0x3a9cdc[_0x595a41([0x6f,0x6e])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a2ea6=>{_0x40392b(_0x3a2ea6[_0x595a41([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4093d2=!0x0,_0xe9c597(_0x3a2ea6[_0x595a41([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x595a41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x595a41([0x6c,0x6f,0x77])}),_0x14a470[_0x595a41([0x74,0x68,0x65,0x6e])](()=>{_0x4093d2||_0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38caf8(){return _0x3a9cdc[_0x595a41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x595a41([0x76,0x69,0x65,0x77])][_0x595a41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x595a41([0x61,0x75,0x74,0x6f]);}function _0x3ecdfa(){_0x3a9cdc[_0x595a41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x595a41([0x76,0x69,0x65,0x77])][_0x595a41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x595a41([0x61,0x75,0x74,0x6f]);}}function _0xbeda15(_0x54cdcd){const _0x491677=[new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x307ee3=>setTimeout(_0x307ee3,0x3df6fa2d^_0x1b6f10)),_0x14a470[_0x595a41([0x74,0x68,0x65,0x6e])](()=>new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c3c9=>{let _0x46bf17=0x0;_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x6f,0x6e])](_0x595a41([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f4506,_0x4f4275)=>{_0x4f4275[0x0][_0x595a41([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46bf17++,_0x46bf17==(0x3dffc109^_0x1b6f10)&&(_0x26c3c9(),_0x5f4506[_0x595a41([0x6f,0x66,0x66])]());});}))];return window[_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x595a41([0x72,0x61,0x63,0x65])](_0x491677)[_0x595a41([0x74,0x68,0x65,0x6e])](()=>_0x54cdcd);}async function _0x23dd13(){await _0x14a470,_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8e3839,_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8e3839,_0x3a9cdc[_0x595a41([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x595a41([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33f35e(_0xffdd09){const _0x2fcfb1=_0x9ec556();_0x3a9cdc[_0x2fcfb1]=_0x595a41([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xffdd09,_0xffdd09!=_0x595a41([0x56,0x61,0x6c,0x69,0x64])&&_0x23dd13();}function _0x9ec556(){const _0x2af970=window[_0x595a41([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x595a41([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x595a41([0x6e,0x6f,0x77])]())[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x595a41([0x2e]),'');let _0x256c3b=_0x595a41([0x6e]);for(let _0x48d860=0x0;_0x48d860<_0x2af970[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48d860+=0x2){let _0x453f2f=window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af970[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48d860,_0x48d860+0x2));_0x453f2f>=_0x489969[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x453f2f-=_0x489969[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x256c3b+=_0x489969[_0x453f2f];}return _0x256c3b;}function _0xd2b556(){const _0x1b16d7=_0x231852[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e]));if(0x3!=_0x1b16d7[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5717fa(_0x1b16d7[0x1]);function _0x5717fa(_0x28d317){const _0x27014e=_0x2b2b27(_0x28d317);return _0x27014e&&_0xf62156()?_0x27014e:null;function _0xf62156(){const _0x32ffe0=_0x27014e[_0x595a41([0x6a,0x74,0x69])],_0x4a9ce8=window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32ffe0[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32ffe0[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38a27d={..._0x27014e,[_0x595a41([0x6a,0x74,0x69])]:_0x32ffe0[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32ffe0[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38a27d[_0x595a41([0x76,0x63])],_0x2b53c5(_0x38a27d)==_0x4a9ce8;}}}async function _0x28e9fc(){let _0x53715d=!0x0;try{const _0x1cfa27=_0x231852[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e])),[_0x5787b4,_0x41768b,_0x4110b7]=_0x1cfa27;return _0x35c51b(_0x5787b4),await _0x43ea79(_0x5787b4,_0x41768b,_0x4110b7),_0x53715d;}catch{return!0x1;}function _0x35c51b(_0x1e9bcc){const _0x4dc062=_0x2b2b27(_0x1e9bcc);_0x4dc062&&_0x4dc062[_0x595a41([0x61,0x6c,0x67])]==_0x595a41([0x45,0x53,0x32,0x35,0x36])||(_0x53715d=!0x1);}async function _0x43ea79(_0x338b64,_0x52b94d,_0x3370b2){const _0x53ffb8=window[_0x595a41([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x595a41([0x66,0x72,0x6f,0x6d])](_0x35b56b(_0x3370b2),_0xbb4333=>_0xbb4333[_0x595a41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a0db5=new window[(_0x595a41([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x595a41([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x338b64+_0x595a41([0x2e])+_0x52b94d),_0x10945f=window[_0x595a41([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x595a41([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10945f)return;const _0x19e1ed=await _0x10945f[_0x595a41([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x595a41([0x6a,0x77,0x6b]),_0x3a92e5,{[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x45,0x43,0x44,0x53,0x41]),[_0x595a41([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x595a41([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10945f[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x45,0x43,0x44,0x53,0x41]),[_0x595a41([0x68,0x61,0x73,0x68])]:{[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19e1ed,_0x53ffb8,_0x3a0db5)||(_0x53715d=!0x1);}}function _0x2b2b27(_0x382e98){return _0x382e98[_0x595a41([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x595a41([0x65,0x79]))?JSON[_0x595a41([0x70,0x61,0x72,0x73,0x65])](_0x35b56b(_0x382e98)):null;}function _0x35b56b(_0x35ff41){return window[_0x595a41([0x61,0x74,0x6f,0x62])](_0x35ff41[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x595a41([0x2b]))[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x595a41([0x2f])));}function _0x2b53c5(_0x2782ed){let _0x31ddd3=0x1505;function _0x593ff9(_0x57f445){for(let _0x337aee=0x0;_0x337aee<_0x57f445[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x337aee++){const _0x110c1f=_0x57f445[_0x595a41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x337aee);_0x31ddd3=(_0x31ddd3<<0x5)+_0x31ddd3+_0x110c1f,_0x31ddd3&=_0x31ddd3;}}function _0x1a0766(_0xb3d78d){Array[_0x595a41([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb3d78d)?_0xb3d78d[_0x595a41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a0766):_0xb3d78d&&typeof _0xb3d78d==_0x595a41([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x595a41([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb3d78d)[_0x595a41([0x73,0x6f,0x72,0x74])]()[_0x595a41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x265e96,_0x2687f5])=>{_0x593ff9(_0x265e96),_0x1a0766(_0x2687f5);}):_0x593ff9(window[_0x595a41([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb3d78d));}return _0x1a0766(_0x2782ed),_0x31ddd3>>>0x0;}function _0x5bb3a3(_0x5a0f3e){return _0x5a0f3e[_0x595a41([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x595a41([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x595a41([0x30]));}function _0x17503c(_0x2d6292){return _0x2d6292[_0x595a41([0x73,0x70,0x6c,0x69,0x74])]('')[_0x595a41([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x595a41([0x6a,0x6f,0x69,0x6e])]('');}function _0x8e3839(){}function _0x595a41(_0x5e12de){const _0x564379=_0x245d;return _0x5e12de[_0x564379(0x1b8)](_0x83921f=>String[_0x564379(0x202)](_0x83921f))[_0x564379(0x208)]('');}_0x33f35e(await _0x20473e());}(this);}[_0x2fd9a2(0x1ec)](){const _0x6745a5=_0x2fd9a2,_0x9f0209=this[_0x6745a5(0x212)][_0x6745a5(0x1bc)];_0x9f0209[_0x6745a5(0x21a)](_0x45ac44=>{const _0x47e249=_0x6745a5,_0x481c20=_0x9f0209[_0x47e249(0x209)][_0x47e249(0x20e)][_0x47e249(0x1c3)]();let _0x1eee3d=0x0;for(const _0x5dc398 of _0x481c20){const _0x4cbab3=f+':'+_0x1eee3d;if(_0x9f0209[_0x47e249(0x1cb)][_0x47e249(0x1f9)](_0x4cbab3))_0x45ac44[_0x47e249(0x1f8)](_0x4cbab3,{'range':_0x5dc398});else{if(_0x5dc398[_0x47e249(0x1cc)][_0x47e249(0x1ad)]){const _0x578669=_0x5dc398[_0x47e249(0x1cc)][_0x47e249(0x1dc)](({item:_0x1cb2f5})=>!_0x9f0209[_0x47e249(0x200)][_0x47e249(0x1d6)](_0x1cb2f5),{'boundaries':_0x5dc398});_0x45ac44[_0x47e249(0x1ee)](_0x4cbab3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45ac44[_0x47e249(0x1fe)](_0x578669,_0x5dc398[_0x47e249(0x1cd)])});}else _0x45ac44[_0x47e249(0x1ee)](_0x4cbab3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5dc398});}_0x1eee3d++;}});}[_0x2fd9a2(0x1e7)](){const _0x359f69=_0x2fd9a2,_0x28ca0=this[_0x359f69(0x212)][_0x359f69(0x1bc)],_0x22495f=Array[_0x359f69(0x1d9)](this[_0x359f69(0x212)][_0x359f69(0x1bc)][_0x359f69(0x1cb)][_0x359f69(0x1ba)](f));_0x22495f[_0x359f69(0x203)]&&_0x28ca0[_0x359f69(0x21a)](_0x4a51ba=>{const _0x4f0e88=_0x359f69;_0x22495f[_0x4f0e88(0x1cf)](_0x3befc8=>{const _0x48f5d9=_0x4f0e88;_0x4a51ba[_0x48f5d9(0x1ea)](_0x3befc8);});});}[_0x2fd9a2(0x1da)](_0x1af8e8,_0x42f072){const _0x956aaa=_0x2fd9a2,_0x4121f6=this[_0x956aaa(0x205)](),_0xd86a54=_0x42f072||_0x4121f6[_0x956aaa(0x204)]();this[_0x956aaa(0x212)][_0x956aaa(0x1bc)][_0x956aaa(0x218)](_0xd86a54)&&this[_0x956aaa(0x212)][_0x956aaa(0x1bc)][_0x956aaa(0x21a)](_0x363492=>{const _0x49d445=_0x956aaa;this[_0x49d445(0x1e7)](),_0x42f072||this[_0x49d445(0x1b4)](_0x363492,_0x4121f6),this[_0x49d445(0x1ca)]({'insertAt':_0xd86a54,'writer':_0x363492,'html':_0x1af8e8});});}[_0x2fd9a2(0x1c1)](_0xbfb7d9){const _0x2e5ba9=_0x2fd9a2,{model:_0x106bde}=this[_0x2e5ba9(0x212)],_0x54456d=this[_0x2e5ba9(0x205)]();_0x106bde[_0x2e5ba9(0x21a)](()=>{const _0x4c1e60=_0x2e5ba9,_0x53df5d=this[_0x4c1e60(0x1bf)](_0xbfb7d9,_0x54456d)||this[_0x4c1e60(0x1ce)](_0x54456d);this[_0x4c1e60(0x1da)](_0xbfb7d9,_0x53df5d);});}[_0x2fd9a2(0x205)](){const _0x578bce=_0x2fd9a2,_0xde0d79=this[_0x578bce(0x212)][_0x578bce(0x1bc)],_0x1798db=Array[_0x578bce(0x1d9)](_0xde0d79[_0x578bce(0x1cb)][_0x578bce(0x1ba)](f))[_0x578bce(0x1b8)](_0x36814d=>_0x36814d[_0x578bce(0x20b)]());return _0xde0d79[_0x578bce(0x1f2)](_0x1798db);}[_0x2fd9a2(0x1ca)]({writer:_0x46f523,html:_0x387da2,insertAt:_0x22b8a3}){const _0x3f81c0=_0x2fd9a2,{view:_0x127d72}=this[_0x3f81c0(0x212)][_0x3f81c0(0x1e9)],_0x50aca0=this[_0x3f81c0(0x212)][_0x3f81c0(0x1ae)][_0x3f81c0(0x1c9)](_0x594634),_0x4f3e05=new w();_0x4f3e05[_0x3f81c0(0x1d1)](_0x3f81c0(0x1b5),_0x387da2);const _0x1d948e=new ClipboardEvent(_0x3f81c0(0x1d5),{'clipboardData':_0x4f3e05}),_0x3105fa=new _0x3302f9(_0x127d72,_0x1d948e,{'dataTransfer':new _0x3ec29a(_0x4f3e05)});_0x46f523[_0x3f81c0(0x20a)](_0x22b8a3);const _0x247bb2=(_0x223fdc,_0x4cbc76)=>{const _0x524b32=_0x3f81c0;_0x4cbc76[_0x524b32(0x1ab)]&&_0x46f523[_0x524b32(0x20a)](_0x4cbc76[_0x524b32(0x1ab)]);};_0x50aca0[_0x3f81c0(0x1e5)](_0x3f81c0(0x1f7),_0x247bb2,{'priority':_0x3f81c0(0x1fb)}),_0x127d72[_0x3f81c0(0x209)][_0x3f81c0(0x1eb)](_0x3f81c0(0x1d5),_0x3105fa),_0x50aca0[_0x3f81c0(0x1e3)](_0x3f81c0(0x1f7),_0x247bb2);}[_0x2fd9a2(0x1ce)](_0x506cef){const _0x2aa825=_0x2fd9a2,{model:_0x32cfa1}=this[_0x2aa825(0x212)],_0x227c8b=Array[_0x2aa825(0x1d9)](_0x506cef[_0x2aa825(0x1e0)]());return _0x227c8b[_0x2aa825(0x203)]?_0x32cfa1[_0x2aa825(0x1d8)](_0x227c8b[_0x2aa825(0x1b6)]()):_0x506cef[_0x2aa825(0x215)]();}[_0x2fd9a2(0x1bf)](_0x33ccef,_0x48b1fd){const _0x2572fe=_0x2fd9a2,{model:_0x14c309,plugins:_0x3b9e8f}=this[_0x2572fe(0x212)];if(_0x3b9e8f[_0x2572fe(0x1f9)](_0x2572fe(0x1f3))){const _0x2d8f58=_0x3b9e8f[_0x2572fe(0x1c9)](_0x2572fe(0x1f3))[_0x2572fe(0x1e1)](_0x48b1fd);if(_0x2d8f58[_0x2572fe(0x203)]){const _0x57dd26=this[_0x2572fe(0x210)](_0x33ccef),_0x5d8e9a=this[_0x2572fe(0x1e2)](_0x2d8f58,_0x57dd26);return _0x14c309[_0x2572fe(0x1e4)](_0x5d8e9a,0x0);}}return null;}[_0x2fd9a2(0x210)](_0x3b700a){const _0x569d18=_0x2fd9a2,_0x5cdace=this[_0x569d18(0x212)][_0x569d18(0x1ae)][_0x569d18(0x1c9)](_0x569d18(0x1f3)),_0x32d300=this[_0x569d18(0x212)][_0x569d18(0x1e8)][_0x569d18(0x1db)](_0x3b700a),_0x431e93=Array[_0x569d18(0x1d9)](_0x32d300[_0x569d18(0x211)]())[_0x569d18(0x20f)](_0x4ffa07=>_0x4ffa07['is'](_0x569d18(0x20c),_0x569d18(0x1df)));let _0x5453b7=0x0;return _0x431e93[_0x569d18(0x1cf)](_0x3728b8=>{const _0x3376be=_0x569d18;_0x5453b7+=_0x5cdace[_0x3376be(0x1c0)](_0x3728b8);}),_0x5453b7;}[_0x2fd9a2(0x1e2)](_0x7c347b,_0x415449){const _0x27501b=_0x2fd9a2,_0x45e399=this[_0x27501b(0x212)][_0x27501b(0x1ae)][_0x27501b(0x1c9)](_0x27501b(0x1f3)),_0x4f43e0=_0x45e399[_0x27501b(0x1b3)](_0x7c347b),_0x3e7650=_0x45e399[_0x27501b(0x213)](_0x7c347b),_0x4319ab=_0x4f43e0[_0x27501b(0x1bb)]+0x1,_0x1719d4=_0x3e7650[_0x27501b(0x1fa)],_0x43233b=_0x7c347b[0x0][_0x27501b(0x1dd)](_0x27501b(0x1df));for(let _0x313744=0x0;_0x313744<_0x415449;_0x313744++)_0x45e399[_0x27501b(0x206)](_0x43233b,{'at':_0x4319ab});return _0x43233b[_0x27501b(0x1c8)](_0x4319ab)[_0x27501b(0x1c8)](_0x1719d4);}[_0x2fd9a2(0x1b4)](_0x10d08b,_0x118a1b){const _0x306526=_0x2fd9a2,{plugins:_0x5ea36f}=this[_0x306526(0x212)],{model:_0x18e91b}=_0x10d08b;if(!_0x5ea36f[_0x306526(0x1f9)](_0x306526(0x1f3)))return;_0x5ea36f[_0x306526(0x1c9)](_0x306526(0x1f3))[_0x306526(0x1e1)](_0x118a1b)[_0x306526(0x203)]&&_0x18e91b[_0x306526(0x1f4)](_0x118a1b);}}