@ckeditor/ckeditor5-ai 45.0.0-alpha.8 → 45.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x538307=_0x3a57;(function(_0x17bd67,_0x40eed6){const _0x49b870=_0x3a57,_0x2ffea1=_0x17bd67();while(!![]){try{const _0x203daa=-parseInt(_0x49b870(0xed))/0x1+parseInt(_0x49b870(0xd5))/0x2+parseInt(_0x49b870(0x114))/0x3*(-parseInt(_0x49b870(0x126))/0x4)+-parseInt(_0x49b870(0xe5))/0x5+-parseInt(_0x49b870(0xcd))/0x6*(parseInt(_0x49b870(0xfc))/0x7)+-parseInt(_0x49b870(0x10a))/0x8+-parseInt(_0x49b870(0xff))/0x9*(-parseInt(_0x49b870(0x107))/0xa);if(_0x203daa===_0x40eed6)break;else _0x2ffea1['push'](_0x2ffea1['shift']());}catch(_0xe80e1d){_0x2ffea1['push'](_0x2ffea1['shift']());}}}(_0x52fc,0xbede8));import{Plugin as _0x584efe}from'ckeditor5/src/core.js';import _0xea6370 from'./aiassistantui.js';import _0x5629b2 from'./aiassistantediting.js';import{getTranslation as _0x312beb}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x4ab322}from'./utils/normalizecommandsconfig.js';export default class r extends _0x584efe{static get[_0x538307(0xe8)](){return[_0xea6370,_0x5629b2];}static get[_0x538307(0xd1)](){const _0x270cfa=_0x538307;return _0x270cfa(0xc7);}static get[_0x538307(0x119)](){return!0x0;}static get[_0x538307(0xf9)](){return!0x0;}constructor(_0x43071f){const _0x309f4b=_0x538307;super(_0x43071f);const _0x1b5dee=_0x43071f[_0x309f4b(0xbd)],_0x16904a=_0x43071f[_0x309f4b(0x102)];_0x1b5dee[_0x309f4b(0xc3)](_0x309f4b(0x11f),!0x0),_0x1b5dee[_0x309f4b(0xc3)](_0x309f4b(0x105),getDefaultCommands(_0x16904a)),_0x1b5dee[_0x309f4b(0xc3)](_0x309f4b(0x100),[]),_0x1b5dee[_0x309f4b(0xc3)](_0x309f4b(0xe9),[]);let _0x41c2a2=_0x4ab322(_0x1b5dee[_0x309f4b(0xde)](_0x309f4b(0x105)),_0x16904a);const _0x4fbbcb=_0x1b5dee[_0x309f4b(0xde)](_0x309f4b(0x100)),_0x7396a1=_0x1b5dee[_0x309f4b(0xde)](_0x309f4b(0xe9));_0x4fbbcb[_0x309f4b(0xea)](_0x5ebea7=>{const _0x73f012=_0x309f4b,_0x5e4df5=_0x41c2a2[_0x73f012(0x10b)](_0x4d5fa9=>_0x4d5fa9[_0x73f012(0xf0)]===_0x5ebea7[_0x73f012(0xf0)]);_0x5e4df5?_0x5e4df5[_0x73f012(0xf8)]=_0x5e4df5[_0x73f012(0xf8)][_0x73f012(0xc9)](_0x5ebea7[_0x73f012(0xf8)]):_0x41c2a2[_0x73f012(0xc0)](_0x5ebea7);}),_0x41c2a2=_0x41c2a2[_0x309f4b(0xfd)](_0x1ca0ac=>!_0x7396a1[_0x309f4b(0xf1)](_0x1ca0ac[_0x309f4b(0xf0)])),_0x41c2a2[_0x309f4b(0xea)](_0x531f8d=>{const _0x2dc0ab=_0x309f4b;_0x531f8d[_0x2dc0ab(0xf8)]=_0x531f8d[_0x2dc0ab(0xf8)][_0x2dc0ab(0xfd)](_0x4edc94=>!_0x7396a1[_0x2dc0ab(0xf1)](_0x4edc94['id']));}),_0x1b5dee[_0x309f4b(0xce)](_0x309f4b(0x105),_0x41c2a2);}}function _0x3a57(_0x17172a,_0x2f3478){const _0x52fc09=_0x52fc();return _0x3a57=function(_0x3a575b,_0x4772f6){_0x3a575b=_0x3a575b-0xb8;let _0x1d4e40=_0x52fc09[_0x3a575b];return _0x1d4e40;},_0x3a57(_0x17172a,_0x2f3478);}function _0x52fc(){const _0x35d8f5=['20xLeJGu','Direct','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Translate\x20the\x20content\x20to\x20French\x20language.','Hindi','config','translate','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','push','Make\x20shorter','Portuguese','define','Change\x20tone','Journalism','Casual','AIAssistant','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','concat','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Generate\x20from\x20selection','continue','6358272HDFXWE','set','Simplified\x20Chinese','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','pluginName','English','Improve\x20writing','translateGerman','621732IWdJKJ','generate','Translate\x20the\x20content\x20to\x20German\x20language.','Arabic','Legal','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateSpanish','business','changeTone','get','direct','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Continue','Friendly','German','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','4735465BiwSsd','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','editOrReview','requires','ai.aiAssistant.removeCommands','forEach','translatePortuguese','Professional','234889MwAowr','Spanish','translateFrench','groupId','includes','changeStyle','translateArabic','Translate\x20the\x20content\x20to\x20English\x20language.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','improveWriting','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','commands','isPremiumPlugin','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','translateHindi','7shhOeq','filter','poetic','36WdjrLT','ai.aiAssistant.extraCommandGroups','French','locale','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','ai.aiAssistant.commands','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','10133740IxmObO','translateChinese','Translate','5004824QjEWCD','find','translateEnglish','Make\x20longer','journalism','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Poetic','friendly','Simplify\x20language','Business','429159GUUMcn','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','professional','Change\x20style','makeShorter','isOfficialPlugin','Confident','summarize','Summarize','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','simplifyLanguage','ai.aiAssistant.preserveComments','makeLonger','legal','confident','Edit\x20or\x20review','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','casual'];_0x52fc=function(){return _0x35d8f5;};return _0x52fc();}export function getDefaultCommands(_0x14b544){const _0xc101b1=_0x538307;return[{'groupId':_0xc101b1(0xe7),'groupLabel':_0x312beb(_0x14b544,_0xc101b1(0x123)),'commands':[{'id':_0xc101b1(0xf6),'label':_0x312beb(_0x14b544,_0xc101b1(0xd3)),'prompt':_0xc101b1(0xe6)},{'id':_0xc101b1(0x118),'label':_0x312beb(_0x14b544,_0xc101b1(0xc1)),'prompt':_0xc101b1(0xca)},{'id':_0xc101b1(0x120),'label':_0x312beb(_0x14b544,_0xc101b1(0x10d)),'prompt':_0xc101b1(0x106)},{'id':_0xc101b1(0x11e),'label':_0x312beb(_0x14b544,_0xc101b1(0x112)),'prompt':_0xc101b1(0x115)}]},{'groupId':_0xc101b1(0xd6),'groupLabel':_0x312beb(_0x14b544,_0xc101b1(0xcb)),'commands':[{'id':_0xc101b1(0x11b),'label':_0x312beb(_0x14b544,_0xc101b1(0x11c)),'prompt':_0xc101b1(0xc8)},{'id':_0xc101b1(0xcc),'label':_0x312beb(_0x14b544,_0xc101b1(0xe1)),'prompt':_0xc101b1(0x104)}]},{'groupId':_0xc101b1(0xdd),'groupLabel':_0x312beb(_0x14b544,_0xc101b1(0xc4)),'commands':[{'id':_0xc101b1(0x116),'label':_0x312beb(_0x14b544,_0xc101b1(0xec)),'prompt':_0xc101b1(0x103)},{'id':_0xc101b1(0x125),'label':_0x312beb(_0x14b544,_0xc101b1(0xc6)),'prompt':_0xc101b1(0xb9)},{'id':_0xc101b1(0xdf),'label':_0x312beb(_0x14b544,_0xc101b1(0xb8)),'prompt':_0xc101b1(0xfa)},{'id':_0xc101b1(0x122),'label':_0x312beb(_0x14b544,_0xc101b1(0x11a)),'prompt':_0xc101b1(0xf7)},{'id':_0xc101b1(0x111),'label':_0x312beb(_0x14b544,_0xc101b1(0xe2)),'prompt':_0xc101b1(0xf5)}]},{'groupId':_0xc101b1(0xf2),'groupLabel':_0x312beb(_0x14b544,_0xc101b1(0x117)),'commands':[{'id':_0xc101b1(0xdc),'label':_0x312beb(_0x14b544,_0xc101b1(0x113)),'prompt':_0xc101b1(0x10f)},{'id':_0xc101b1(0x121),'label':_0x312beb(_0x14b544,_0xc101b1(0xd9)),'prompt':_0xc101b1(0xbf)},{'id':_0xc101b1(0x10e),'label':_0x312beb(_0x14b544,_0xc101b1(0xc5)),'prompt':_0xc101b1(0x124)},{'id':_0xc101b1(0xfe),'label':_0x312beb(_0x14b544,_0xc101b1(0x110)),'prompt':_0xc101b1(0x11d)}]},{'groupId':_0xc101b1(0xbe),'groupLabel':_0x312beb(_0x14b544,_0xc101b1(0x109)),'commands':[{'id':_0xc101b1(0x10c),'label':_0x312beb(_0x14b544,_0xc101b1(0xd2)),'prompt':_0xc101b1(0xf4)},{'id':_0xc101b1(0xdb),'label':_0x312beb(_0x14b544,_0xc101b1(0xee)),'prompt':_0xc101b1(0xda)},{'id':_0xc101b1(0xeb),'label':_0x312beb(_0x14b544,_0xc101b1(0xc2)),'prompt':_0xc101b1(0xd0)},{'id':_0xc101b1(0xd4),'label':_0x312beb(_0x14b544,_0xc101b1(0xe3)),'prompt':_0xc101b1(0xd7)},{'id':_0xc101b1(0xef),'label':_0x312beb(_0x14b544,_0xc101b1(0x101)),'prompt':_0xc101b1(0xbb)},{'id':_0xc101b1(0x108),'label':_0x312beb(_0x14b544,_0xc101b1(0xcf)),'prompt':_0xc101b1(0xe4)},{'id':_0xc101b1(0xfb),'label':_0x312beb(_0x14b544,_0xc101b1(0xbc)),'prompt':_0xc101b1(0xe0)},{'id':_0xc101b1(0xf3),'label':_0x312beb(_0x14b544,_0xc101b1(0xd8)),'prompt':_0xc101b1(0xba)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1956(_0x44f7de,_0x2bce72){const _0x1f8daf=_0x1f8d();return _0x1956=function(_0x1956d2,_0x2bac9e){_0x1956d2=_0x1956d2-0x1cb;let _0x222de=_0x1f8daf[_0x1956d2];return _0x222de;},_0x1956(_0x44f7de,_0x2bce72);}const _0x5b12cc=_0x1956;(function(_0x5ccace,_0xd3033b){const _0x11a992=_0x1956,_0x87beaa=_0x5ccace();while(!![]){try{const _0x2eae15=-parseInt(_0x11a992(0x1e5))/0x1*(parseInt(_0x11a992(0x201))/0x2)+parseInt(_0x11a992(0x221))/0x3*(parseInt(_0x11a992(0x1cf))/0x4)+-parseInt(_0x11a992(0x207))/0x5*(-parseInt(_0x11a992(0x1e9))/0x6)+parseInt(_0x11a992(0x236))/0x7*(-parseInt(_0x11a992(0x202))/0x8)+parseInt(_0x11a992(0x21d))/0x9+-parseInt(_0x11a992(0x226))/0xa+-parseInt(_0x11a992(0x21e))/0xb*(-parseInt(_0x11a992(0x214))/0xc);if(_0x2eae15===_0xd3033b)break;else _0x87beaa['push'](_0x87beaa['shift']());}catch(_0x44080f){_0x87beaa['push'](_0x87beaa['shift']());}}}(_0x1f8d,0x9a34a));import{uid as _0x868aec}from'ckeditor5/src/utils.js';import{Plugin as _0x19fecc}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x78186b}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5d6038,DataTransfer as _0x10673f}from'ckeditor5/src/engine.js';const w=globalThis[_0x5b12cc(0x21c)],f=_0x5b12cc(0x215);export default class a extends _0x19fecc{static get[_0x5b12cc(0x1e6)](){const _0x433166=_0x5b12cc;return _0x433166(0x1e7);}static get[_0x5b12cc(0x20f)](){return!0x0;}static get[_0x5b12cc(0x238)](){return!0x0;}[_0x5b12cc(0x1d2)](){const _0x3c114f=_0x5b12cc,{editor:_0x32afbd}=this,_0x1fed4d=[_0x3c114f(0x21f)];_0x32afbd[_0x3c114f(0x234)][_0x3c114f(0x218)](_0x3c114f(0x208))&&_0x1fed4d[_0x3c114f(0x22a)](_0x3c114f(0x211)),_0x32afbd[_0x3c114f(0x206)][_0x3c114f(0x1f0)](_0x3c114f(0x210))[_0x3c114f(0x1eb)]({'model':f,'view':{'classes':_0x1fed4d,'priority':0xc}}),_0x32afbd[_0x3c114f(0x206)][_0x3c114f(0x1f0)](_0x3c114f(0x210))[_0x3c114f(0x1f4)]({'model':f,'view':(_0x320387,{writer:_0x1e8b42})=>{const _0x1d837a=_0x3c114f;if(!_0x320387[_0x1d837a(0x20c)][_0x1d837a(0x1cb)])return null;const _0x4cda65=_0x1e8b42[_0x1d837a(0x1d3)](_0x1d837a(0x1d6));return _0x1e8b42[_0x1d837a(0x22b)]([_0x1d837a(0x21f),_0x1d837a(0x1ee)],_0x4cda65),_0x4cda65;}});}[_0x5b12cc(0x1fa)](){!async function(_0x1981f1){const _0x393524=_0x3794c0([0x38,0x47,0x74,0x7a,0x64,0x4d,0x37,0x72,0x32,0x6c,0x4c,0x63,0x75,0x57,0x36,0x33,0x69,0x56,0x73,0x4f,0x46,0x77,0x55,0x6a,0x39,0x45,0x68,0x50,0x61,0x79,0x6e,0x78,0x66,0x52,0x49,0x6f,0x42,0x30,0x58,0x76,0x4e,0x53,0x44,0x5a,0x31,0x51,0x6b,0x67,0x65,0x59,0x43,0x54,0x70,0x4a,0x35,0x6d,0x41,0x62,0x4b,0x48,0x34,0x71]),_0x3b7563=0x59c2f46d,_0xb653e8=0x59c59795^_0x3b7563,_0x55f829=window[_0x3794c0([0x44,0x61,0x74,0x65])][_0x3794c0([0x6e,0x6f,0x77])](),_0x10773d=_0x1981f1[_0x3794c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22cc3d=new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1eda7b=>{_0x10773d[_0x3794c0([0x6f,0x6e,0x63,0x65])](_0x3794c0([0x72,0x65,0x61,0x64,0x79]),_0x1eda7b);}),_0x5bc35c={[_0x3794c0([0x6b,0x74,0x79])]:_0x3794c0([0x45,0x43]),[_0x3794c0([0x75,0x73,0x65])]:_0x3794c0([0x73,0x69,0x67]),[_0x3794c0([0x63,0x72,0x76])]:_0x3794c0([0x50,0x2d,0x32,0x35,0x36]),[_0x3794c0([0x78])]:_0x3794c0([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]),[_0x3794c0([0x79])]:_0x3794c0([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]),[_0x3794c0([0x61,0x6c,0x67])]:_0x3794c0([0x45,0x53,0x32,0x35,0x36])},_0xda777c=_0x10773d[_0x3794c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3794c0([0x67,0x65,0x74])](_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d4b07(){let _0x23789a,_0x36c222=null,_0x431906=null;try{if(_0xda777c==_0x3794c0([0x47,0x50,0x4c]))return _0x3794c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23789a=_0x1acee6(),!_0x23789a)return _0x3794c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23789a[_0x3794c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x431906=_0x53e039(_0x23789a[_0x3794c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23789a[_0x3794c0([0x6a,0x74,0x69])])),await _0x587ee3()?_0x340b3b()?_0xb907af()?_0x3794c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b1b07()?(_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3794c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36c222=_0x4f87ba(_0x3794c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3794c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x36c222=_0x4f87ba(_0x3794c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x164bec()):_0x3794c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3794c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3794c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x29ce48){return _0x3794c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb907af(){const _0x5afb3f=[_0x3794c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3794c0([0x74,0x72,0x69,0x61,0x6c])][_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55f829/0x3e8:0xe10*_0xb653e8;return _0x23789a[_0x3794c0([0x65,0x78,0x70])]<_0x5afb3f;}function _0x340b3b(){const _0x3ac3c3=_0x23789a[_0x3794c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ac3c3&&(!!_0x3ac3c3[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3794c0([0x2a]))||!!_0x3ac3c3[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3794c0([0x41,0x49])));}function _0x5b1b07(){const _0x5ac8b3=_0x1956,_0x5f2341=_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f2341||0x0==_0x5f2341[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a26ee}=new URL(window[_0x3794c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ac8b3(0x1d7)]);if(_0x5f2341[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a26ee))return!0x0;const _0x13541e=_0x4a26ee[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e]));return _0x5f2341[_0x3794c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cfb55=>_0x5cfb55[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3794c0([0x2a])))[_0x3794c0([0x6d,0x61,0x70])](_0xf6636c=>_0xf6636c[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e])))[_0x3794c0([0x73,0x6f,0x6d,0x65])](_0x359f37=>_0x13541e[_0x3794c0([0x65,0x76,0x65,0x72,0x79])]((_0x331727,_0x1737c5)=>_0x359f37[_0x1737c5]===_0x331727||_0x359f37[_0x1737c5]===_0x3794c0([0x2a])));}function _0x164bec(){return _0x36c222&&_0x431906?new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a954a,_0x2833a5)=>{_0x36c222[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x1a954a,_0x2833a5),_0x431906[_0x3794c0([0x74,0x68,0x65,0x6e])](_0xb7eb21=>{_0xb7eb21!=_0x3794c0([0x56,0x61,0x6c,0x69,0x64])&&_0x1a954a(_0xb7eb21);},_0x2833a5);}):_0x36c222||_0x431906||_0x3794c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53e039(_0x385102,_0x45dfa0){return new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52922c=>{if(_0x22e7a8())return _0x52922c(_0x3794c0([0x56,0x61,0x6c,0x69,0x64]));_0x49e4f4(),_0x10773d[_0x3794c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3794c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f238e=!0x1;const _0x5215cc=_0x868aec();function _0x4ce599(_0x4f1b73){return!!_0x4f1b73&&(typeof _0x4f1b73===_0x3794c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f1b73===_0x3794c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f1b73[_0x3794c0([0x74,0x68,0x65,0x6e])]===_0x3794c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f1b73[_0x3794c0([0x63,0x61,0x74,0x63,0x68])]===_0x3794c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31f693(_0x533061){_0x1194d5(_0x533061)[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x1b3a6b=>{if(!_0x1b3a6b||_0x1b3a6b[_0x3794c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3794c0([0x6f,0x6b]))return _0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7df819(_0x12bcfc(_0x5215cc+_0x45dfa0))!=_0x1b3a6b[_0x3794c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3794c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x445d9b=>(_0x37e325(),_0x445d9b),()=>{const _0x3ae144=_0x4a560c();return null==_0x3ae144?(_0x37e325(),_0x3794c0([0x56,0x61,0x6c,0x69,0x64])):_0x3794c0(_0x55f829-_0x3ae144>(0x7dce706d^_0x3b7563)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x52922c)[_0x3794c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52922c(_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11bf23=0x59f41aed^_0x3b7563;function _0x37e325(){const _0xb40181=_0x3794c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x7df819(_0x12bcfc(_0x385102)),_0x2e3f25=_0x4d3594(_0x7df819(window[_0x3794c0([0x4d,0x61,0x74,0x68])][_0x3794c0([0x63,0x65,0x69,0x6c])](_0x55f829/_0x11bf23)));window[_0x3794c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3794c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb40181,_0x2e3f25);}function _0x4a560c(){const _0xf7a5f5=_0x3794c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x7df819(_0x12bcfc(_0x385102)),_0x4822ea=window[_0x3794c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3794c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf7a5f5);return _0x4822ea?window[_0x3794c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d3594(_0x4822ea),0x10)*_0x11bf23:null;}function _0x1194d5(_0x5f1362){return new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ea98f,_0x222ddd)=>{_0x5f1362[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x1ea98f,_0x222ddd),window[_0x3794c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x222ddd,0x59c320ad^_0x3b7563);});}}_0x10773d[_0x3794c0([0x6f,0x6e])](_0x3794c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x593137,_0xea60b5)=>{if(_0xea60b5[0x0]!=_0x385102)return _0x52922c(_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xea60b5[0x1]={..._0xea60b5[0x1],[_0x3794c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5215cc};},{[_0x3794c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3794c0([0x68,0x69,0x67,0x68])}),_0x10773d[_0x3794c0([0x6f,0x6e])](_0x3794c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x107505=>{_0x4ce599(_0x107505[_0x3794c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f238e=!0x0,_0x31f693(_0x107505[_0x3794c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3794c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3794c0([0x6c,0x6f,0x77])}),_0x22cc3d[_0x3794c0([0x74,0x68,0x65,0x6e])](()=>{_0x4f238e||_0x52922c(_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22e7a8(){return _0x10773d[_0x3794c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3794c0([0x76,0x69,0x65,0x77])][_0x3794c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3794c0([0x61,0x75,0x74,0x6f]);}function _0x49e4f4(){_0x10773d[_0x3794c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3794c0([0x76,0x69,0x65,0x77])][_0x3794c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3794c0([0x61,0x75,0x74,0x6f]);}}function _0x4f87ba(_0x921e36){const _0x2c05a3=[new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x226b56=>setTimeout(_0x226b56,0x59cbcaa1^_0x3b7563)),_0x22cc3d[_0x3794c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e39f0=>{let _0x5191dd=0x0;_0x10773d[_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3794c0([0x6f,0x6e])](_0x3794c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c398b,_0x4e936c)=>{_0x4e936c[0x0][_0x3794c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5191dd++,_0x5191dd==(0x59c2f595^_0x3b7563)&&(_0x4e39f0(),_0x2c398b[_0x3794c0([0x6f,0x66,0x66])]());});}))];return window[_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3794c0([0x72,0x61,0x63,0x65])](_0x2c05a3)[_0x3794c0([0x74,0x68,0x65,0x6e])](()=>_0x921e36);}async function _0x354867(){await _0x22cc3d,_0x10773d[_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3794c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x506fce,_0x10773d[_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3794c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x506fce,_0x10773d[_0x3794c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c3dc7(_0x5b5b35){const _0x5bc946=_0x5259e5();_0x10773d[_0x5bc946]=_0x3794c0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b5b35,_0x5b5b35!=_0x3794c0([0x56,0x61,0x6c,0x69,0x64])&&_0x354867();}function _0x5259e5(){const _0x2772bc=window[_0x3794c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3794c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3794c0([0x6e,0x6f,0x77])]())[_0x3794c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3794c0([0x2e]),'');let _0x51f76c=_0x3794c0([0x47]);for(let _0x3028f4=0x0;_0x3028f4<_0x2772bc[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3028f4+=0x2){let _0x1ae104=window[_0x3794c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2772bc[_0x3794c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3028f4,_0x3028f4+0x2));_0x1ae104>=_0x393524[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ae104-=_0x393524[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51f76c+=_0x393524[_0x1ae104];}return _0x51f76c;}function _0x1acee6(){const _0x123bde=_0xda777c[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e]));if(0x3!=_0x123bde[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32898d(_0x123bde[0x1]);function _0x32898d(_0x521032){const _0x260d97=_0x2baf2c(_0x521032);return _0x260d97&&_0x18fdef()?_0x260d97:null;function _0x18fdef(){const _0x242580=_0x260d97[_0x3794c0([0x6a,0x74,0x69])],_0x5daf4e=window[_0x3794c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x242580[_0x3794c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x242580[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ef5e6={..._0x260d97,[_0x3794c0([0x6a,0x74,0x69])]:_0x242580[_0x3794c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x242580[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ef5e6[_0x3794c0([0x76,0x63])],_0x12bcfc(_0x1ef5e6)==_0x5daf4e;}}}async function _0x587ee3(){let _0x51fa8e=!0x0;try{const _0x36d928=_0xda777c[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e])),[_0x17b518,_0x2b7276,_0x3d8f1d]=_0x36d928;return _0x24b614(_0x17b518),await _0x5dea9f(_0x17b518,_0x2b7276,_0x3d8f1d),_0x51fa8e;}catch(_0x210ba1){return!0x1;}function _0x24b614(_0x2815d5){const _0x8f2963=_0x2baf2c(_0x2815d5);_0x8f2963&&_0x8f2963[_0x3794c0([0x61,0x6c,0x67])]==_0x3794c0([0x45,0x53,0x32,0x35,0x36])||(_0x51fa8e=!0x1);}async function _0x5dea9f(_0x224381,_0x40f19b,_0x43deaa){const _0x185f51=window[_0x3794c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3794c0([0x66,0x72,0x6f,0x6d])](_0x7e06b4(_0x43deaa),_0x13e7a3=>_0x13e7a3[_0x3794c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x31d85b=new window[(_0x3794c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3794c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x224381+_0x3794c0([0x2e])+_0x40f19b),_0x1fe170=window[_0x3794c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3794c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1fe170)return;const _0x5bb41b=await _0x1fe170[_0x3794c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3794c0([0x6a,0x77,0x6b]),_0x5bc35c,{[_0x3794c0([0x6e,0x61,0x6d,0x65])]:_0x3794c0([0x45,0x43,0x44,0x53,0x41]),[_0x3794c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3794c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3794c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1fe170[_0x3794c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3794c0([0x6e,0x61,0x6d,0x65])]:_0x3794c0([0x45,0x43,0x44,0x53,0x41]),[_0x3794c0([0x68,0x61,0x73,0x68])]:{[_0x3794c0([0x6e,0x61,0x6d,0x65])]:_0x3794c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bb41b,_0x185f51,_0x31d85b)||(_0x51fa8e=!0x1);}}function _0x2baf2c(_0x5513a3){return _0x5513a3[_0x3794c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3794c0([0x65,0x79]))?JSON[_0x3794c0([0x70,0x61,0x72,0x73,0x65])](_0x7e06b4(_0x5513a3)):null;}function _0x7e06b4(_0x5b0301){return window[_0x3794c0([0x61,0x74,0x6f,0x62])](_0x5b0301[_0x3794c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3794c0([0x2b]))[_0x3794c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3794c0([0x2f])));}function _0x12bcfc(_0x2b47d8){let _0x57c6d8=0x1505;function _0x982186(_0x1b6f97){for(let _0x3c8775=0x0;_0x3c8775<_0x1b6f97[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c8775++){const _0x14b9dd=_0x1b6f97[_0x3794c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c8775);_0x57c6d8=(_0x57c6d8<<0x5)+_0x57c6d8+_0x14b9dd,_0x57c6d8&=_0x57c6d8;}}function _0x32330b(_0x16b001){Array[_0x3794c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16b001)?_0x16b001[_0x3794c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32330b):_0x16b001&&typeof _0x16b001==_0x3794c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3794c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16b001)[_0x3794c0([0x73,0x6f,0x72,0x74])]()[_0x3794c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16fc4c,_0xe80626])=>{_0x982186(_0x16fc4c),_0x32330b(_0xe80626);}):_0x982186(window[_0x3794c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16b001));}return _0x32330b(_0x2b47d8),_0x57c6d8>>>0x0;}function _0x7df819(_0x42a55e){return _0x42a55e[_0x3794c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3794c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3794c0([0x30]));}function _0x4d3594(_0x720a8b){return _0x720a8b[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3794c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3794c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x506fce(){}function _0x3794c0(_0x3d0365){const _0x267a4f=_0x1956;return _0x3d0365[_0x267a4f(0x1df)](_0x59b680=>String[_0x267a4f(0x203)](_0x59b680))[_0x267a4f(0x1d1)]('');}_0x4c3dc7(await _0x1d4b07());}(this);}[_0x5b12cc(0x1dc)](){const _0xd39ca3=_0x5b12cc,_0x1bc7e6=this[_0xd39ca3(0x1f1)][_0xd39ca3(0x212)];_0x1bc7e6[_0xd39ca3(0x217)](_0x2e0274=>{const _0x3d9ebb=_0xd39ca3,_0x209b43=_0x1bc7e6[_0x3d9ebb(0x1fd)][_0x3d9ebb(0x1f5)][_0x3d9ebb(0x216)]();let _0x4335f6=0x0;for(const _0x1e267d of _0x209b43){const _0x356926=f+':'+_0x4335f6;if(_0x1bc7e6[_0x3d9ebb(0x224)][_0x3d9ebb(0x1fe)](_0x356926))_0x2e0274[_0x3d9ebb(0x219)](_0x356926,{'range':_0x1e267d});else{if(_0x1e267d[_0x3d9ebb(0x209)][_0x3d9ebb(0x20e)]){const _0x28119d=_0x1e267d[_0x3d9ebb(0x209)][_0x3d9ebb(0x1f2)](({item:_0x11a35e})=>!_0x1bc7e6[_0x3d9ebb(0x1cc)][_0x3d9ebb(0x1f9)](_0x11a35e),{'boundaries':_0x1e267d});_0x2e0274[_0x3d9ebb(0x1ec)](_0x356926,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2e0274[_0x3d9ebb(0x200)](_0x28119d,_0x1e267d[_0x3d9ebb(0x229)])});}else _0x2e0274[_0x3d9ebb(0x1ec)](_0x356926,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e267d});}_0x4335f6++;}});}[_0x5b12cc(0x22f)](){const _0x5de712=_0x5b12cc,_0x2ca97c=this[_0x5de712(0x1f1)][_0x5de712(0x212)],_0x280baa=Array[_0x5de712(0x239)](this[_0x5de712(0x1f1)][_0x5de712(0x212)][_0x5de712(0x224)][_0x5de712(0x1f3)](f));_0x280baa[_0x5de712(0x1fb)]&&_0x2ca97c[_0x5de712(0x217)](_0x9f68b=>{const _0xf62fc6=_0x5de712;_0x280baa[_0xf62fc6(0x204)](_0x3bf400=>{const _0x2f415e=_0xf62fc6;_0x9f68b[_0x2f415e(0x227)](_0x3bf400);});});}[_0x5b12cc(0x20a)](_0x40e950,_0x513025){const _0x6d6d3c=_0x5b12cc,_0x5abe49=this[_0x6d6d3c(0x223)](),_0x20127=_0x513025||_0x5abe49[_0x6d6d3c(0x237)]();this[_0x6d6d3c(0x1f1)][_0x6d6d3c(0x212)][_0x6d6d3c(0x1e3)](_0x20127)&&this[_0x6d6d3c(0x1f1)][_0x6d6d3c(0x212)][_0x6d6d3c(0x217)](_0x85c97d=>{const _0x513524=_0x6d6d3c;this[_0x513524(0x22f)](),_0x513025||this[_0x513524(0x225)](_0x85c97d,_0x5abe49),this[_0x513524(0x1e8)]({'insertAt':_0x20127,'writer':_0x85c97d,'html':_0x40e950});});}[_0x5b12cc(0x1da)](_0x4fff80){const _0x4cd6a8=_0x5b12cc,{model:_0x33d793}=this[_0x4cd6a8(0x1f1)],_0x298dbd=this[_0x4cd6a8(0x223)]();_0x33d793[_0x4cd6a8(0x217)](()=>{const _0x52f33d=_0x4cd6a8,_0xd8d93b=this[_0x52f33d(0x220)](_0x4fff80,_0x298dbd)||this[_0x52f33d(0x21b)](_0x298dbd);this[_0x52f33d(0x20a)](_0x4fff80,_0xd8d93b);});}[_0x5b12cc(0x223)](){const _0x2d9d83=_0x5b12cc,_0x23aee8=this[_0x2d9d83(0x1f1)][_0x2d9d83(0x212)],_0x578f3d=Array[_0x2d9d83(0x239)](_0x23aee8[_0x2d9d83(0x224)][_0x2d9d83(0x1f3)](f))[_0x2d9d83(0x1df)](_0xa83373=>_0xa83373[_0x2d9d83(0x1f6)]());return _0x23aee8[_0x2d9d83(0x235)](_0x578f3d);}[_0x5b12cc(0x1e8)]({writer:_0x5be1a2,html:_0x3e569c,insertAt:_0x2961ed}){const _0x558e8a=_0x5b12cc,{view:_0x507288}=this[_0x558e8a(0x1f1)][_0x558e8a(0x1e4)],_0x13f0ad=this[_0x558e8a(0x1f1)][_0x558e8a(0x232)][_0x558e8a(0x218)](_0x78186b),_0x4d393a=new w();_0x4d393a[_0x558e8a(0x20d)](_0x558e8a(0x230),_0x3e569c);const _0x5b687=new ClipboardEvent(_0x558e8a(0x222),{'clipboardData':_0x4d393a}),_0x31a9aa=new _0x5d6038(_0x507288,_0x5b687,{'dataTransfer':new _0x10673f(_0x4d393a)});_0x5be1a2[_0x558e8a(0x1d8)](_0x2961ed);const _0x81af2a=(_0x517ad9,_0x3b7330)=>{const _0x2d816d=_0x558e8a;_0x3b7330[_0x2d816d(0x228)]&&_0x5be1a2[_0x2d816d(0x1d8)](_0x3b7330[_0x2d816d(0x228)]);};_0x13f0ad[_0x558e8a(0x1ce)](_0x558e8a(0x1de),_0x81af2a,{'priority':_0x558e8a(0x1ff)}),_0x507288[_0x558e8a(0x1fd)][_0x558e8a(0x1ed)](_0x558e8a(0x222),_0x31a9aa),_0x13f0ad[_0x558e8a(0x1e2)](_0x558e8a(0x1de),_0x81af2a);}[_0x5b12cc(0x21b)](_0xe16d88){const _0x52379b=_0x5b12cc,{model:_0x399ed6}=this[_0x52379b(0x1f1)],_0x2fe8e9=Array[_0x52379b(0x239)](_0xe16d88[_0x52379b(0x1fc)]());return _0x2fe8e9[_0x52379b(0x1fb)]?_0x399ed6[_0x52379b(0x1d5)](_0x2fe8e9[_0x52379b(0x1d0)]()):_0xe16d88[_0x52379b(0x20b)]();}[_0x5b12cc(0x220)](_0x4306c6,_0x55f17f){const _0x26b5ff=_0x5b12cc,{model:_0x4634a6,plugins:_0x5a156d}=this[_0x26b5ff(0x1f1)];if(_0x5a156d[_0x26b5ff(0x1fe)](_0x26b5ff(0x1d9))){const _0x261b19=_0x5a156d[_0x26b5ff(0x218)](_0x26b5ff(0x1d9))[_0x26b5ff(0x1d4)](_0x55f17f);if(_0x261b19[_0x26b5ff(0x1fb)]){const _0x16c28=this[_0x26b5ff(0x1ea)](_0x4306c6),_0x59aaaa=this[_0x26b5ff(0x1ef)](_0x261b19,_0x16c28);return _0x4634a6[_0x26b5ff(0x205)](_0x59aaaa,0x0);}}return null;}[_0x5b12cc(0x1ea)](_0x12b2a4){const _0x357830=_0x5b12cc,_0x857de=this[_0x357830(0x1f1)][_0x357830(0x232)][_0x357830(0x218)](_0x357830(0x1d9)),_0x1bf638=this[_0x357830(0x1f1)][_0x357830(0x1f8)][_0x357830(0x22d)](_0x12b2a4),_0x498dae=Array[_0x357830(0x239)](_0x1bf638[_0x357830(0x21a)]())[_0x357830(0x1dd)](_0xba8293=>_0xba8293['is'](_0x357830(0x23a),_0x357830(0x233)));let _0x483380=0x0;return _0x498dae[_0x357830(0x204)](_0x52aaeb=>{const _0x20c46c=_0x357830;_0x483380+=_0x857de[_0x20c46c(0x1cd)](_0x52aaeb);}),_0x483380;}[_0x5b12cc(0x1ef)](_0x1dbf04,_0x3c4a9d){const _0x1f6060=_0x5b12cc,_0x5c3d6f=this[_0x1f6060(0x1f1)][_0x1f6060(0x232)][_0x1f6060(0x218)](_0x1f6060(0x1d9)),_0x23ce41=_0x5c3d6f[_0x1f6060(0x1e0)](_0x1dbf04),_0x1b85da=_0x5c3d6f[_0x1f6060(0x1f7)](_0x1dbf04),_0x5c7679=_0x23ce41[_0x1f6060(0x22c)]+0x1,_0x1d778b=_0x1b85da[_0x1f6060(0x213)],_0x422108=_0x1dbf04[0x0][_0x1f6060(0x1db)](_0x1f6060(0x233));for(let _0x53c55f=0x0;_0x53c55f<_0x3c4a9d;_0x53c55f++)_0x5c3d6f[_0x1f6060(0x1e1)](_0x422108,{'at':_0x5c7679});return _0x422108[_0x1f6060(0x231)](_0x5c7679)[_0x1f6060(0x231)](_0x1d778b);}[_0x5b12cc(0x225)](_0xd2b678,_0x2793e2){const _0x455842=_0x5b12cc,{plugins:_0x532534}=this[_0x455842(0x1f1)],{model:_0x37196e}=_0xd2b678;if(!_0x532534[_0x455842(0x1fe)](_0x455842(0x1d9)))return;_0x532534[_0x455842(0x218)](_0x455842(0x1d9))[_0x455842(0x1d4)](_0x2793e2)[_0x455842(0x1fb)]&&_0x37196e[_0x455842(0x22e)](_0x2793e2);}}function _0x1f8d(){const _0x7c0049=['markers','_resetContentOfSelectedTableCells','11188160mzivvh','removeMarker','resultRange','end','push','addClass','last','parse','deleteContent','hideFakeVisualSelection','text/html','getChild','plugins','table','config','createSelection','12537idOfyJ','getFirstRange','isPremiumPlugin','from','element','isCollapsed','schema','getRows','once','808oAlgqQ','pop','join','init','createUIElement','getSelectedTableCells','createPositionAfter','span','href','setSelection','TableUtils','insertContentBelow','findAncestor','showFakeVisualSelection','filter','contentInsertion','map','getRowIndexes','insertRows','off','canEditAt','editing','413wiAzvS','pluginName','AIAssistantEditing','_pasteHTMLUsingClipboard','3941334egGRgZ','_getTableRowCountFromContent','markerToHighlight','addMarker','fire','ck-fake-ai-selection_collapsed','_createEmptyTableRows','for','editor','getLastMatchingPosition','getMarkersGroup','markerToElement','selection','getRange','getColumnIndexes','data','isContent','afterInit','length','getSelectedBlocks','document','has','lowest','createRange','166DIDmxN','4664GrkhXM','fromCharCode','forEach','createPositionAt','conversion','5GriOdS','ai.useTheme','start','insertContent','getLastPosition','markerRange','setData','isAtEnd','isOfficialPlugin','editingDowncast','ck-ai-assistant-ui_theme','model','first','7322568OuLiFa','ai-ui','getRanges','change','get','updateMarker','getChildren','_getDefaultInsertBelowPosition','DataTransfer','2771613qByvil','11RSsZOB','ck-fake-ai-selection','_prepareTableInsertBelowPosition','18621sAPMlg','paste','_getAISelection'];_0x1f8d=function(){return _0x7c0049;};return _0x1f8d();}
|
|
23
|
+
const _0x635bb=_0x18cb;(function(_0x39d7ce,_0x131f6e){const _0xe990de=_0x18cb,_0x3be39d=_0x39d7ce();while(!![]){try{const _0x2a85a8=parseInt(_0xe990de(0x1d3))/0x1*(-parseInt(_0xe990de(0x185))/0x2)+parseInt(_0xe990de(0x1ad))/0x3+-parseInt(_0xe990de(0x1ed))/0x4+parseInt(_0xe990de(0x1a9))/0x5+parseInt(_0xe990de(0x1db))/0x6*(parseInt(_0xe990de(0x18f))/0x7)+-parseInt(_0xe990de(0x1d9))/0x8+parseInt(_0xe990de(0x1cf))/0x9;if(_0x2a85a8===_0x131f6e)break;else _0x3be39d['push'](_0x3be39d['shift']());}catch(_0x918ba7){_0x3be39d['push'](_0x3be39d['shift']());}}}(_0x5b01,0x7022b));import{uid as _0x249714}from'ckeditor5/src/utils.js';function _0x5b01(){const _0x66ac41=['isContent','editor','contentInsertion','_getDefaultInsertBelowPosition','_createEmptyTableRows','getRows','createPositionAt','ai-ui','get','_getTableRowCountFromContent','createUIElement','3297068BcvdBY','plugins','afterInit','updateMarker','DataTransfer','4CqKgvt','element','isPremiumPlugin','from','span','getLastMatchingPosition','getFirstRange','once','start','pop','6381053mGODRH','deleteContent','end','ck-fake-ai-selection','selection','setData','editing','getSelectedBlocks','ck-ai-assistant-ui_theme','markerRange','fromCharCode','setSelection','fire','model','markerToElement','last','getRowIndexes','hideFakeVisualSelection','conversion','schema','getMarkersGroup','removeMarker','createSelection','isAtEnd','isCollapsed','href','2920320TgXDVU','insertRows','first','forEach','97755IxKcdt','TableUtils','push','has','table','_pasteHTMLUsingClipboard','findAncestor','AIAssistantEditing','document','getColumnIndexes','lowest','pluginName','addMarker','insertContentBelow','isOfficialPlugin','getChild','change','showFakeVisualSelection','data','getRanges','ai.useTheme','getRange','_resetContentOfSelectedTableCells','for','createPositionAfter','map','getChildren','ck-fake-ai-selection_collapsed','text/html','getLastPosition','editingDowncast','off','markerToHighlight','join','10279422YSBOJZ','createRange','config','insertContent','374587WZxDCB','canEditAt','addClass','parse','_getAISelection','length','5101104gqPEPk','init','6IHTfMv','paste','resultRange','_prepareTableInsertBelowPosition','getSelectedTableCells','filter','markers'];_0x5b01=function(){return _0x66ac41;};return _0x5b01();}import{Plugin as _0x2147bd}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3c3cdf}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3c1164,DataTransfer as _0x5bbac8}from'ckeditor5/src/engine.js';const w=globalThis[_0x635bb(0x184)],f=_0x635bb(0x1e9);function _0x18cb(_0xa31acb,_0xebf99a){const _0x5b0188=_0x5b01();return _0x18cb=function(_0x18cb62,_0x50f39c){_0x18cb62=_0x18cb62-0x181;let _0x48e148=_0x5b0188[_0x18cb62];return _0x48e148;},_0x18cb(_0xa31acb,_0xebf99a);}export default class a extends _0x2147bd{static get[_0x635bb(0x1b8)](){const _0x46e855=_0x635bb;return _0x46e855(0x1b4);}static get[_0x635bb(0x1bb)](){return!0x0;}static get[_0x635bb(0x187)](){return!0x0;}[_0x635bb(0x1da)](){const _0xde4820=_0x635bb,{editor:_0x48a664}=this,_0x116954=[_0xde4820(0x192)];_0x48a664[_0xde4820(0x1d1)][_0xde4820(0x1ea)](_0xde4820(0x1c1))&&_0x116954[_0xde4820(0x1af)](_0xde4820(0x197)),_0x48a664[_0xde4820(0x1a1)][_0xde4820(0x1c4)](_0xde4820(0x1cb))[_0xde4820(0x1cd)]({'model':f,'view':{'classes':_0x116954,'priority':0xc}}),_0x48a664[_0xde4820(0x1a1)][_0xde4820(0x1c4)](_0xde4820(0x1cb))[_0xde4820(0x19d)]({'model':f,'view':(_0x3467ad,{writer:_0x507924})=>{const _0x3bc341=_0xde4820;if(!_0x3467ad[_0x3bc341(0x198)][_0x3bc341(0x1a7)])return null;const _0x43c44c=_0x507924[_0x3bc341(0x1ec)](_0x3bc341(0x189));return _0x507924[_0x3bc341(0x1d5)]([_0x3bc341(0x192),_0x3bc341(0x1c8)],_0x43c44c),_0x43c44c;}});}[_0x635bb(0x182)](){!async function(_0x450ed6){const _0x27d388=_0x965be2([0x70,0x41,0x4d,0x43,0x6c,0x37,0x45,0x4f,0x32,0x74,0x49,0x65,0x71,0x57,0x51,0x64,0x59,0x6e,0x6a,0x6f,0x44,0x52,0x69,0x61,0x48,0x66,0x36,0x35,0x34,0x31,0x63,0x42,0x67,0x54,0x39,0x7a,0x73,0x46,0x55,0x33,0x75,0x77,0x72,0x4a,0x4c,0x62,0x53,0x30,0x4e,0x50,0x6b,0x79,0x38,0x5a,0x47,0x76,0x56,0x6d,0x4b,0x78,0x68,0x58]),_0x5d3765=0xe75b58c,_0x6c8204=0xe72d1d4^_0x5d3765,_0x15aef3=window[_0x965be2([0x44,0x61,0x74,0x65])][_0x965be2([0x6e,0x6f,0x77])](),_0x4bfa55=_0x450ed6[_0x965be2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c40ac=new window[(_0x965be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5679a5=>{_0x4bfa55[_0x965be2([0x6f,0x6e,0x63,0x65])](_0x965be2([0x72,0x65,0x61,0x64,0x79]),_0x5679a5);}),_0x371dfe={[_0x965be2([0x6b,0x74,0x79])]:_0x965be2([0x45,0x43]),[_0x965be2([0x75,0x73,0x65])]:_0x965be2([0x73,0x69,0x67]),[_0x965be2([0x63,0x72,0x76])]:_0x965be2([0x50,0x2d,0x32,0x35,0x36]),[_0x965be2([0x78])]:_0x965be2([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]),[_0x965be2([0x79])]:_0x965be2([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]),[_0x965be2([0x61,0x6c,0x67])]:_0x965be2([0x45,0x53,0x32,0x35,0x36])},_0xef695a=_0x4bfa55[_0x965be2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x965be2([0x67,0x65,0x74])](_0x965be2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x487e0e(){let _0x216f6b,_0x1acade=null,_0x132903=null;try{if(_0xef695a==_0x965be2([0x47,0x50,0x4c]))return _0x965be2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x216f6b=_0x3512fa(),!_0x216f6b)return _0x965be2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x216f6b[_0x965be2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x132903=_0x208dc4(_0x216f6b[_0x965be2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x216f6b[_0x965be2([0x6a,0x74,0x69])])),await _0x1134ad()?_0x1e7d0c()?_0xf7b3d8()?_0x965be2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20d153()?(_0x216f6b[_0x965be2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x965be2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1acade=_0x3f523b(_0x965be2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x216f6b[_0x965be2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x965be2([0x74,0x72,0x69,0x61,0x6c])&&(_0x1acade=_0x3f523b(_0x965be2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22e81e()):_0x965be2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x965be2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x965be2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4a1492){return _0x965be2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf7b3d8(){const _0x51de4a=[_0x965be2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x965be2([0x74,0x72,0x69,0x61,0x6c])][_0x965be2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x216f6b[_0x965be2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15aef3/0x3e8:0xe10*_0x6c8204;return _0x216f6b[_0x965be2([0x65,0x78,0x70])]<_0x51de4a;}function _0x1e7d0c(){const _0x52f7a6=_0x216f6b[_0x965be2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52f7a6&&(!!_0x52f7a6[_0x965be2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x965be2([0x2a]))||!!_0x52f7a6[_0x965be2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x965be2([0x41,0x49])));}function _0x20d153(){const _0x147220=_0x18cb,_0x890e7e=_0x216f6b[_0x965be2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x890e7e||0x0==_0x890e7e[_0x965be2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3ffb5c}=new URL(window[_0x965be2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x147220(0x1a8)]);if(_0x890e7e[_0x965be2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffb5c))return!0x0;const _0x5a131b=_0x3ffb5c[_0x965be2([0x73,0x70,0x6c,0x69,0x74])](_0x965be2([0x2e]));return _0x890e7e[_0x965be2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x462521=>_0x462521[_0x965be2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x965be2([0x2a])))[_0x965be2([0x6d,0x61,0x70])](_0x7dc373=>_0x7dc373[_0x965be2([0x73,0x70,0x6c,0x69,0x74])](_0x965be2([0x2e])))[_0x965be2([0x73,0x6f,0x6d,0x65])](_0x432355=>_0x5a131b[_0x965be2([0x65,0x76,0x65,0x72,0x79])]((_0x2c8a7e,_0x518108)=>_0x432355[_0x518108]===_0x2c8a7e||_0x432355[_0x518108]===_0x965be2([0x2a])));}function _0x22e81e(){return _0x1acade&&_0x132903?new window[(_0x965be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29402b,_0x599983)=>{_0x1acade[_0x965be2([0x74,0x68,0x65,0x6e])](_0x29402b,_0x599983),_0x132903[_0x965be2([0x74,0x68,0x65,0x6e])](_0x563ec3=>{_0x563ec3!=_0x965be2([0x56,0x61,0x6c,0x69,0x64])&&_0x29402b(_0x563ec3);},_0x599983);}):_0x1acade||_0x132903||_0x965be2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x208dc4(_0x3d2406,_0x3ae6e8){return new window[(_0x965be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x552b29=>{if(_0x506d71())return _0x552b29(_0x965be2([0x56,0x61,0x6c,0x69,0x64]));_0x5af59a(),_0x4bfa55[_0x965be2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x965be2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x76691b=!0x1;const _0x3d8208=_0x249714();function _0x141a0e(_0x302c21){return!!_0x302c21&&(typeof _0x302c21===_0x965be2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x302c21===_0x965be2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x302c21[_0x965be2([0x74,0x68,0x65,0x6e])]===_0x965be2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x302c21[_0x965be2([0x63,0x61,0x74,0x63,0x68])]===_0x965be2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x476e3f(_0x503d41){_0x3c3dc8(_0x503d41)[_0x965be2([0x74,0x68,0x65,0x6e])](_0x494545=>{if(!_0x494545||_0x494545[_0x965be2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x965be2([0x6f,0x6b]))return _0x965be2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18a87a(_0x797448(_0x3d8208+_0x3ae6e8))!=_0x494545[_0x965be2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x965be2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x965be2([0x56,0x61,0x6c,0x69,0x64]);})[_0x965be2([0x74,0x68,0x65,0x6e])](_0x580862=>(_0xda2e48(),_0x580862),()=>{const _0x791ea6=_0x301c52();return null==_0x791ea6?(_0xda2e48(),_0x965be2([0x56,0x61,0x6c,0x69,0x64])):_0x965be2(_0x15aef3-_0x791ea6>(0x2a79318c^_0x5d3765)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x965be2([0x74,0x68,0x65,0x6e])](_0x552b29)[_0x965be2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x552b29(_0x965be2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x47c0d6=0xe435b0c^_0x5d3765;function _0xda2e48(){const _0x56af93=_0x965be2([0x6c,0x6c,0x63,0x74,0x2d])+_0x18a87a(_0x797448(_0x3d2406)),_0x48171c=_0xa87b50(_0x18a87a(window[_0x965be2([0x4d,0x61,0x74,0x68])][_0x965be2([0x63,0x65,0x69,0x6c])](_0x15aef3/_0x47c0d6)));window[_0x965be2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x965be2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56af93,_0x48171c);}function _0x301c52(){const _0x5ce7ce=_0x965be2([0x6c,0x6c,0x63,0x74,0x2d])+_0x18a87a(_0x797448(_0x3d2406)),_0x2cd500=window[_0x965be2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x965be2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ce7ce);return _0x2cd500?window[_0x965be2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa87b50(_0x2cd500),0x10)*_0x47c0d6:null;}function _0x3c3dc8(_0x4cc7ff){return new window[(_0x965be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cb972,_0x73d05f)=>{_0x4cc7ff[_0x965be2([0x74,0x68,0x65,0x6e])](_0x5cb972,_0x73d05f),window[_0x965be2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x73d05f,0xe74614c^_0x5d3765);});}}_0x4bfa55[_0x965be2([0x6f,0x6e])](_0x965be2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1db87f,_0x5f13ed)=>{if(_0x5f13ed[0x0]!=_0x3d2406)return _0x552b29(_0x965be2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f13ed[0x1]={..._0x5f13ed[0x1],[_0x965be2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d8208};},{[_0x965be2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x965be2([0x68,0x69,0x67,0x68])}),_0x4bfa55[_0x965be2([0x6f,0x6e])](_0x965be2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x416c7f=>{_0x141a0e(_0x416c7f[_0x965be2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x76691b=!0x0,_0x476e3f(_0x416c7f[_0x965be2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x965be2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x965be2([0x6c,0x6f,0x77])}),_0x2c40ac[_0x965be2([0x74,0x68,0x65,0x6e])](()=>{_0x76691b||_0x552b29(_0x965be2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x506d71(){return _0x4bfa55[_0x965be2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x965be2([0x76,0x69,0x65,0x77])][_0x965be2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x965be2([0x61,0x75,0x74,0x6f]);}function _0x5af59a(){_0x4bfa55[_0x965be2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x965be2([0x76,0x69,0x65,0x77])][_0x965be2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x965be2([0x61,0x75,0x74,0x6f]);}}function _0x3f523b(_0x3c1b92){const _0x114cd1=[new window[(_0x965be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x262755=>setTimeout(_0x262755,0xe7c8b40^_0x5d3765)),_0x2c40ac[_0x965be2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x965be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3024a1=>{let _0x3e4599=0x0;_0x4bfa55[_0x965be2([0x6d,0x6f,0x64,0x65,0x6c])][_0x965be2([0x6f,0x6e])](_0x965be2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3770a7,_0x3d5e0b)=>{_0x3d5e0b[0x0][_0x965be2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e4599++,_0x3e4599==(0xe75b474^_0x5d3765)&&(_0x3024a1(),_0x3770a7[_0x965be2([0x6f,0x66,0x66])]());});}))];return window[_0x965be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x965be2([0x72,0x61,0x63,0x65])](_0x114cd1)[_0x965be2([0x74,0x68,0x65,0x6e])](()=>_0x3c1b92);}async function _0x5b325d(){await _0x2c40ac,_0x4bfa55[_0x965be2([0x6d,0x6f,0x64,0x65,0x6c])][_0x965be2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3aed75,_0x4bfa55[_0x965be2([0x6d,0x6f,0x64,0x65,0x6c])][_0x965be2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3aed75,_0x4bfa55[_0x965be2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x965be2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1623be(_0x3438e1){const _0x1c1311=_0x443a20();_0x4bfa55[_0x1c1311]=_0x965be2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3438e1,_0x3438e1!=_0x965be2([0x56,0x61,0x6c,0x69,0x64])&&_0x5b325d();}function _0x443a20(){const _0x431e4f=window[_0x965be2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x965be2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x965be2([0x6e,0x6f,0x77])]())[_0x965be2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x965be2([0x2e]),'');let _0x113231=_0x965be2([0x70]);for(let _0x29554a=0x0;_0x29554a<_0x431e4f[_0x965be2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29554a+=0x2){let _0x1d394b=window[_0x965be2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x431e4f[_0x965be2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29554a,_0x29554a+0x2));_0x1d394b>=_0x27d388[_0x965be2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d394b-=_0x27d388[_0x965be2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x113231+=_0x27d388[_0x1d394b];}return _0x113231;}function _0x3512fa(){const _0x2131fb=_0xef695a[_0x965be2([0x73,0x70,0x6c,0x69,0x74])](_0x965be2([0x2e]));if(0x3!=_0x2131fb[_0x965be2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xdd6c32(_0x2131fb[0x1]);function _0xdd6c32(_0x43eee5){const _0x2f9a09=_0x34b39f(_0x43eee5);return _0x2f9a09&&_0x45e505()?_0x2f9a09:null;function _0x45e505(){const _0x3d8875=_0x2f9a09[_0x965be2([0x6a,0x74,0x69])],_0x1b9b35=window[_0x965be2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d8875[_0x965be2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d8875[_0x965be2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25576a={..._0x2f9a09,[_0x965be2([0x6a,0x74,0x69])]:_0x3d8875[_0x965be2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d8875[_0x965be2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25576a[_0x965be2([0x76,0x63])],_0x797448(_0x25576a)==_0x1b9b35;}}}async function _0x1134ad(){let _0x3fe05a=!0x0;try{const _0x2488b9=_0xef695a[_0x965be2([0x73,0x70,0x6c,0x69,0x74])](_0x965be2([0x2e])),[_0x2eda25,_0x3aac5d,_0x28e360]=_0x2488b9;return _0x5f59af(_0x2eda25),await _0x4e9176(_0x2eda25,_0x3aac5d,_0x28e360),_0x3fe05a;}catch(_0x3a7c85){return!0x1;}function _0x5f59af(_0x3b7dc4){const _0x5c8f89=_0x34b39f(_0x3b7dc4);_0x5c8f89&&_0x5c8f89[_0x965be2([0x61,0x6c,0x67])]==_0x965be2([0x45,0x53,0x32,0x35,0x36])||(_0x3fe05a=!0x1);}async function _0x4e9176(_0x3156e6,_0x2b78fc,_0x4565f6){const _0x12bd51=window[_0x965be2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x965be2([0x66,0x72,0x6f,0x6d])](_0x3e32ca(_0x4565f6),_0x2c4482=>_0x2c4482[_0x965be2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x390a34=new window[(_0x965be2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x965be2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3156e6+_0x965be2([0x2e])+_0x2b78fc),_0x464848=window[_0x965be2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x965be2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x464848)return;const _0x5007af=await _0x464848[_0x965be2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x965be2([0x6a,0x77,0x6b]),_0x371dfe,{[_0x965be2([0x6e,0x61,0x6d,0x65])]:_0x965be2([0x45,0x43,0x44,0x53,0x41]),[_0x965be2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x965be2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x965be2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x464848[_0x965be2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x965be2([0x6e,0x61,0x6d,0x65])]:_0x965be2([0x45,0x43,0x44,0x53,0x41]),[_0x965be2([0x68,0x61,0x73,0x68])]:{[_0x965be2([0x6e,0x61,0x6d,0x65])]:_0x965be2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5007af,_0x12bd51,_0x390a34)||(_0x3fe05a=!0x1);}}function _0x34b39f(_0x5ac7fa){return _0x5ac7fa[_0x965be2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x965be2([0x65,0x79]))?JSON[_0x965be2([0x70,0x61,0x72,0x73,0x65])](_0x3e32ca(_0x5ac7fa)):null;}function _0x3e32ca(_0x1c8bd4){return window[_0x965be2([0x61,0x74,0x6f,0x62])](_0x1c8bd4[_0x965be2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x965be2([0x2b]))[_0x965be2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x965be2([0x2f])));}function _0x797448(_0x1a606c){let _0x27e028=0x1505;function _0x37d270(_0x138816){for(let _0x38bc89=0x0;_0x38bc89<_0x138816[_0x965be2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38bc89++){const _0x7ecad1=_0x138816[_0x965be2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x38bc89);_0x27e028=(_0x27e028<<0x5)+_0x27e028+_0x7ecad1,_0x27e028&=_0x27e028;}}function _0x1c3dee(_0x3ddab2){Array[_0x965be2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ddab2)?_0x3ddab2[_0x965be2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c3dee):_0x3ddab2&&typeof _0x3ddab2==_0x965be2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x965be2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ddab2)[_0x965be2([0x73,0x6f,0x72,0x74])]()[_0x965be2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d96c7,_0x413462])=>{_0x37d270(_0x2d96c7),_0x1c3dee(_0x413462);}):_0x37d270(window[_0x965be2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ddab2));}return _0x1c3dee(_0x1a606c),_0x27e028>>>0x0;}function _0x18a87a(_0x4bbe5e){return _0x4bbe5e[_0x965be2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x965be2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x965be2([0x30]));}function _0xa87b50(_0x4c391d){return _0x4c391d[_0x965be2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x965be2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x965be2([0x6a,0x6f,0x69,0x6e])]('');}function _0x3aed75(){}function _0x965be2(_0xcfdd49){const _0x260f03=_0x18cb;return _0xcfdd49[_0x260f03(0x1c6)](_0x38d02d=>String[_0x260f03(0x199)](_0x38d02d))[_0x260f03(0x1ce)]('');}_0x1623be(await _0x487e0e());}(this);}[_0x635bb(0x1be)](){const _0x406033=_0x635bb,_0x56ff00=this[_0x406033(0x1e3)][_0x406033(0x19c)];_0x56ff00[_0x406033(0x1bd)](_0x29cb1b=>{const _0x3442a5=_0x406033,_0x16ae8e=_0x56ff00[_0x3442a5(0x1b5)][_0x3442a5(0x193)][_0x3442a5(0x1c0)]();let _0x25f64c=0x0;for(const _0x35a159 of _0x16ae8e){const _0x54784b=f+':'+_0x25f64c;if(_0x56ff00[_0x3442a5(0x1e1)][_0x3442a5(0x1b0)](_0x54784b))_0x29cb1b[_0x3442a5(0x183)](_0x54784b,{'range':_0x35a159});else{if(_0x35a159[_0x3442a5(0x18d)][_0x3442a5(0x1a6)]){const _0xa3b12=_0x35a159[_0x3442a5(0x18d)][_0x3442a5(0x18a)](({item:_0x158349})=>!_0x56ff00[_0x3442a5(0x1a2)][_0x3442a5(0x1e2)](_0x158349),{'boundaries':_0x35a159});_0x29cb1b[_0x3442a5(0x1b9)](_0x54784b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x29cb1b[_0x3442a5(0x1d0)](_0xa3b12,_0x35a159[_0x3442a5(0x191)])});}else _0x29cb1b[_0x3442a5(0x1b9)](_0x54784b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x35a159});}_0x25f64c++;}});}[_0x635bb(0x1a0)](){const _0x124e3b=_0x635bb,_0x4c0539=this[_0x124e3b(0x1e3)][_0x124e3b(0x19c)],_0x2a963d=Array[_0x124e3b(0x188)](this[_0x124e3b(0x1e3)][_0x124e3b(0x19c)][_0x124e3b(0x1e1)][_0x124e3b(0x1a3)](f));_0x2a963d[_0x124e3b(0x1d8)]&&_0x4c0539[_0x124e3b(0x1bd)](_0x66b29=>{const _0x3d412d=_0x124e3b;_0x2a963d[_0x3d412d(0x1ac)](_0x2e2362=>{const _0x13a0ec=_0x3d412d;_0x66b29[_0x13a0ec(0x1a4)](_0x2e2362);});});}[_0x635bb(0x1d2)](_0x3d3267,_0x389b84){const _0xdcf6d7=_0x635bb,_0x4d7440=this[_0xdcf6d7(0x1d7)](),_0x658d63=_0x389b84||_0x4d7440[_0xdcf6d7(0x18b)]();this[_0xdcf6d7(0x1e3)][_0xdcf6d7(0x19c)][_0xdcf6d7(0x1d4)](_0x658d63)&&this[_0xdcf6d7(0x1e3)][_0xdcf6d7(0x19c)][_0xdcf6d7(0x1bd)](_0x45d9cd=>{const _0x297e44=_0xdcf6d7;this[_0x297e44(0x1a0)](),_0x389b84||this[_0x297e44(0x1c3)](_0x45d9cd,_0x4d7440),this[_0x297e44(0x1b2)]({'insertAt':_0x658d63,'writer':_0x45d9cd,'html':_0x3d3267});});}[_0x635bb(0x1ba)](_0x72428b){const _0x4e8d35=_0x635bb,{model:_0x2033d0}=this[_0x4e8d35(0x1e3)],_0x5dad29=this[_0x4e8d35(0x1d7)]();_0x2033d0[_0x4e8d35(0x1bd)](()=>{const _0x321770=_0x4e8d35,_0xe5d71=this[_0x321770(0x1de)](_0x72428b,_0x5dad29)||this[_0x321770(0x1e5)](_0x5dad29);this[_0x321770(0x1d2)](_0x72428b,_0xe5d71);});}[_0x635bb(0x1d7)](){const _0x17dc37=_0x635bb,_0x2755ef=this[_0x17dc37(0x1e3)][_0x17dc37(0x19c)],_0x228410=Array[_0x17dc37(0x188)](_0x2755ef[_0x17dc37(0x1e1)][_0x17dc37(0x1a3)](f))[_0x17dc37(0x1c6)](_0x2af6ab=>_0x2af6ab[_0x17dc37(0x1c2)]());return _0x2755ef[_0x17dc37(0x1a5)](_0x228410);}[_0x635bb(0x1b2)]({writer:_0x4ee349,html:_0x7035dc,insertAt:_0x348a60}){const _0x27cdb8=_0x635bb,{view:_0xc0f137}=this[_0x27cdb8(0x1e3)][_0x27cdb8(0x195)],_0x4f3807=this[_0x27cdb8(0x1e3)][_0x27cdb8(0x181)][_0x27cdb8(0x1ea)](_0x3c3cdf),_0x53cb5e=new w();_0x53cb5e[_0x27cdb8(0x194)](_0x27cdb8(0x1c9),_0x7035dc);const _0x2c421a=new ClipboardEvent(_0x27cdb8(0x1dc),{'clipboardData':_0x53cb5e}),_0x123198=new _0x3c1164(_0xc0f137,_0x2c421a,{'dataTransfer':new _0x5bbac8(_0x53cb5e)});_0x4ee349[_0x27cdb8(0x19a)](_0x348a60);const _0x15ec79=(_0x4afe4d,_0x196cb2)=>{const _0x534946=_0x27cdb8;_0x196cb2[_0x534946(0x1dd)]&&_0x4ee349[_0x534946(0x19a)](_0x196cb2[_0x534946(0x1dd)]);};_0x4f3807[_0x27cdb8(0x18c)](_0x27cdb8(0x1e4),_0x15ec79,{'priority':_0x27cdb8(0x1b7)}),_0xc0f137[_0x27cdb8(0x1b5)][_0x27cdb8(0x19b)](_0x27cdb8(0x1dc),_0x123198),_0x4f3807[_0x27cdb8(0x1cc)](_0x27cdb8(0x1e4),_0x15ec79);}[_0x635bb(0x1e5)](_0x4cd3cd){const _0x5d02eb=_0x635bb,{model:_0x2bb35e}=this[_0x5d02eb(0x1e3)],_0x4d5d8d=Array[_0x5d02eb(0x188)](_0x4cd3cd[_0x5d02eb(0x196)]());return _0x4d5d8d[_0x5d02eb(0x1d8)]?_0x2bb35e[_0x5d02eb(0x1c5)](_0x4d5d8d[_0x5d02eb(0x18e)]()):_0x4cd3cd[_0x5d02eb(0x1ca)]();}[_0x635bb(0x1de)](_0xc194dd,_0x3c8412){const _0x3af446=_0x635bb,{model:_0x21f61b,plugins:_0xe9bab5}=this[_0x3af446(0x1e3)];if(_0xe9bab5[_0x3af446(0x1b0)](_0x3af446(0x1ae))){const _0x182895=_0xe9bab5[_0x3af446(0x1ea)](_0x3af446(0x1ae))[_0x3af446(0x1df)](_0x3c8412);if(_0x182895[_0x3af446(0x1d8)]){const _0xeb9ff4=this[_0x3af446(0x1eb)](_0xc194dd),_0x5edfcd=this[_0x3af446(0x1e6)](_0x182895,_0xeb9ff4);return _0x21f61b[_0x3af446(0x1e8)](_0x5edfcd,0x0);}}return null;}[_0x635bb(0x1eb)](_0x547691){const _0x465319=_0x635bb,_0x23c0ee=this[_0x465319(0x1e3)][_0x465319(0x181)][_0x465319(0x1ea)](_0x465319(0x1ae)),_0x2ba536=this[_0x465319(0x1e3)][_0x465319(0x1bf)][_0x465319(0x1d6)](_0x547691),_0x5dc3c3=Array[_0x465319(0x188)](_0x2ba536[_0x465319(0x1c7)]())[_0x465319(0x1e0)](_0x536944=>_0x536944['is'](_0x465319(0x186),_0x465319(0x1b1)));let _0x1b6b5d=0x0;return _0x5dc3c3[_0x465319(0x1ac)](_0x2091c8=>{const _0x471ac7=_0x465319;_0x1b6b5d+=_0x23c0ee[_0x471ac7(0x1e7)](_0x2091c8);}),_0x1b6b5d;}[_0x635bb(0x1e6)](_0x550068,_0x59e521){const _0x5091dc=_0x635bb,_0x408e57=this[_0x5091dc(0x1e3)][_0x5091dc(0x181)][_0x5091dc(0x1ea)](_0x5091dc(0x1ae)),_0x1c492d=_0x408e57[_0x5091dc(0x19f)](_0x550068),_0x1d6667=_0x408e57[_0x5091dc(0x1b6)](_0x550068),_0x1588c0=_0x1c492d[_0x5091dc(0x19e)]+0x1,_0x6d5b40=_0x1d6667[_0x5091dc(0x1ab)],_0x222191=_0x550068[0x0][_0x5091dc(0x1b3)](_0x5091dc(0x1b1));for(let _0x2e6448=0x0;_0x2e6448<_0x59e521;_0x2e6448++)_0x408e57[_0x5091dc(0x1aa)](_0x222191,{'at':_0x1588c0});return _0x222191[_0x5091dc(0x1bc)](_0x1588c0)[_0x5091dc(0x1bc)](_0x6d5b40);}[_0x635bb(0x1c3)](_0x5753a0,_0x5bee82){const _0x5d730e=_0x635bb,{plugins:_0x5074a7}=this[_0x5d730e(0x1e3)],{model:_0x47a08a}=_0x5753a0;if(!_0x5074a7[_0x5d730e(0x1b0)](_0x5d730e(0x1ae)))return;_0x5074a7[_0x5d730e(0x1ea)](_0x5d730e(0x1ae))[_0x5d730e(0x1df)](_0x5bee82)[_0x5d730e(0x1d8)]&&_0x47a08a[_0x5d730e(0x190)](_0x5bee82);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x34378a=_0x1f5d;(function(_0x4d2a93,_0x35f164){const _0x5cc61b=_0x1f5d,_0x256e04=_0x4d2a93();while(!![]){try{const _0x253bdf=parseInt(_0x5cc61b(0x1ef))/0x1+parseInt(_0x5cc61b(0x1eb))/0x2*(parseInt(_0x5cc61b(0x195))/0x3)+-parseInt(_0x5cc61b(0x1e4))/0x4+-parseInt(_0x5cc61b(0x1bf))/0x5*(parseInt(_0x5cc61b(0x1b1))/0x6)+parseInt(_0x5cc61b(0x1d1))/0x7+parseInt(_0x5cc61b(0x1b5))/0x8+-parseInt(_0x5cc61b(0x17b))/0x9;if(_0x253bdf===_0x35f164)break;else _0x256e04['push'](_0x256e04['shift']());}catch(_0x28a4d6){_0x256e04['push'](_0x256e04['shift']());}}}(_0x33b8,0x4589e));function _0x33b8(){const _0x682084=['push','editing','menuView','ck-ai-commands-dropdown\x20','children','isEnabled','enabledCommandsIds','757965VsEOHj','requires','groupLabel','isFlat','forEach','buttons','media','splice','Generated\x20content:\x20%0','Error\x20during\x20AI\x20content\x20generation:\x20%0','length','_aiAdapter','updatePosition','from','insertContentBelow','plugins','ai.aiAssistant.contentAreaCssClass','body','1542541sjLjSQ','execute','ai.aiAssistant.disabledElements','init','_createAIAssistantUIButton','isCollapsed','editor','_aiAssistantController','setSelection','EDITOR_TOP_SIDE','schema','promptView','insertContent','isPremiumPlugin','showFakeVisualSelection','<p>','evaluationLimit','hide','groupId','1484460IOBMdj','_forceMarkersCopy','domainLimit','once','custom','fire','textAdapter','16532rFrQnP','selection','copy','trialLimit','566731zBgAVk','_getMenuBarGroupButtons','AI\x20is\x20writing','reset','hideFakeVisualSelection','menuBar:aiCommands','view','getRanges','map','showUI','model','change','aiLicenseKeyExpired','set','getSelectedBlocks','_onExecute','ai.aiAssistant.commands','licenseKey','updateView','aiLicenseKeyNotAllowed','wasMoved','delegate','trim','</p>','_formView','focus','getData','queryView','text','\x20ck-ai-assistant-ui_theme','currentContext','getSelectedElement','getLimitElement','pluginName','get','_commandDefinitions','aiLicenseKeyDomainLimit','ck-ai-assistant-ui','aiAssistant','change:isProcessing','_showLicenseError','aiLicenseKeyInvalid','expired','label','hideUI','fieldView','config','change:value','announce','values','isOn','includes','comment','_dialog','aiCommands','ai-commands-config-order-collision','_initAriaAiStatusChangeAnnouncements','prompt','featureNotAllowed','7076430DLbdSa','menuBar:aiAssistant','aiLicenseKeyUsageLimit','polite','sort','document','aiLicenseKeyValid','rawHtml','ck-ai-assistant-button\x20','items','update','AI\x20Assistant','usageLimit','isOfficialPlugin','change:enabledCommandsIds','source','replace','buttonView','INSERT','showAIAssistant','invalid','AIAssistant','show','tableOfContents','DataTransfer','ai.useTheme','87BNbsyZ','text/html','menuPanelClass','commands','_initView','menuitemcheckbox','aiLicenseKeyEvaluationLimit','AI\x20Commands','panelView','locale','change:isError','bind','componentFactory','errorView','command:','add','requiresContent','filter','contentArea','listenTo','destroy','_getResolvedCommandsDefinitions','aiLicenseKeyTrialLimit','_uiCssClasses','render','define','order','REPLACE','6pYOjXt','addMany','replaceContent','_licenseKeyCheckInterval','4536000CnntZX','AIAssistantUI','_populateMenuBarMenu'];_0x33b8=function(){return _0x682084;};return _0x33b8();}import{Plugin as _0x5a8a5a}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1436dc,IconRobotPencil as _0xcefc3f}from'ckeditor5/src/icons.js';import{first as _0x2521dd,CKEditorError as _0x34fc8f}from'ckeditor5/src/utils.js';function _0x1f5d(_0x8b100c,_0x3cfee6){const _0x33b8c4=_0x33b8();return _0x1f5d=function(_0x1f5df3,_0x366e4a){_0x1f5df3=_0x1f5df3-0x150;let _0x3449e9=_0x33b8c4[_0x1f5df3];return _0x3449e9;},_0x1f5d(_0x8b100c,_0x3cfee6);}import{createDropdown as _0x176a46,addMenuToDropdown as _0x2a9639,ButtonView as _0x32b081,MenuBarMenuListItemButtonView as _0x4467cc,Dialog as _0x56a772,DialogViewPosition as _0x155456,MenuBarMenuView as _0x4243f2,MenuBarMenuListView as _0x195b86,MenuBarMenuListItemView as _0x519701}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x472c39,UNGROUPED_COMMANDS_GROUP_ID as _0x2537b3}from'./utils/normalizecommandsconfig.js';import _0x34f569 from'./aiassistantediting.js';import _0x1ab728 from'./adapters/aiadapter.js';import{getTranslation as _0x2d498e}from'./utils/common-translations.js';import _0x4877cd from'./ui/showaiassistantcommand.js';import _0x511c5a from'./ui/aiassistantcontroller.js';import _0x2274ee from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3a201b}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x34378a(0x193)];import{ClipboardMarkersUtils as _0x2da640}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5d1692,DataTransfer as _0x5a0677}from'ckeditor5/src/engine.js';export default class n extends _0x5a8a5a{[_0x34378a(0x151)];[_0x34378a(0x1b4)];[_0x34378a(0x175)];[_0x34378a(0x158)];[_0x34378a(0x1ca)];[_0x34378a(0x1d8)];[_0x34378a(0x1ac)]='';static get[_0x34378a(0x161)](){const _0x15fec6=_0x34378a;return _0x15fec6(0x1b6);}static get[_0x34378a(0x188)](){return!0x0;}static get[_0x34378a(0x1de)](){return!0x0;}static get[_0x34378a(0x1c0)](){return[_0x2da640,_0x34f569,_0x1ab728,_0x56a772];}constructor(_0x4748c){const _0x46b7c7=_0x34378a;super(_0x4748c),_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x1ae)](_0x46b7c7(0x1d3),[_0x46b7c7(0x1c5),_0x46b7c7(0x182),_0x46b7c7(0x192)]),_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x1ae)](_0x46b7c7(0x1cf),''),_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x1ae)](_0x46b7c7(0x194),!0x0),this[_0x46b7c7(0x1ac)]=_0x46b7c7(0x165)+(_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x162)](_0x46b7c7(0x194))?_0x46b7c7(0x15d):'');}[_0x34378a(0x1d4)](){const _0x20195b=_0x34378a,{editor:_0x6c6c78}=this;this[_0x20195b(0x1ca)]=_0x6c6c78[_0x20195b(0x1ce)][_0x20195b(0x162)](_0x1ab728),this[_0x20195b(0x175)]=_0x6c6c78[_0x20195b(0x1ce)][_0x20195b(0x162)](_0x56a772),this[_0x20195b(0x158)]=null,this[_0x20195b(0x163)]=this[_0x20195b(0x1aa)]();const _0x3e1fc0=new _0x4877cd(_0x6c6c78,Array[_0x20195b(0x1cc)](this[_0x20195b(0x163)][_0x20195b(0x171)]()));_0x6c6c78[_0x20195b(0x198)][_0x20195b(0x1a4)](_0x20195b(0x18e),_0x3e1fc0),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x176),_0x54f207=>{const _0x10a0bc=_0x20195b,_0x24691c=_0x176a46(_0x54f207);return _0x24691c[_0x10a0bc(0x1fc)]({'class':_0x10a0bc(0x1bb)+this[_0x10a0bc(0x1ac)]}),_0x24691c[_0x10a0bc(0x18c)][_0x10a0bc(0x1fc)]({'label':_0x2d498e(_0x54f207,_0x10a0bc(0x19c)),'icon':_0x1436dc,'tooltip':!0x0}),_0x24691c['on'](_0x10a0bc(0x1d2),_0x494e38=>this[_0x10a0bc(0x1fe)](_0x494e38[_0x10a0bc(0x18a)]['id'])),_0x2a9639(_0x24691c,_0x6c6c78['ui'][_0x10a0bc(0x1f5)][_0x10a0bc(0x1d0)],function(_0x50e0e4){const _0x1ebc66=_0x10a0bc,_0x2e8436=_0x472c39(_0x50e0e4[_0x1ebc66(0x16e)][_0x1ebc66(0x162)](_0x1ebc66(0x150)),_0x50e0e4[_0x1ebc66(0x19e)]),_0x56839d=U(_0x50e0e4,_0x2e8436)[_0x1ebc66(0x1a6)](_0x31d80e=>_0x31d80e[_0x1ebc66(0x198)][_0x1ebc66(0x1c9)]);if(0x1===_0x56839d[_0x1ebc66(0x1c9)])return U(_0x50e0e4,_0x56839d[0x0][_0x1ebc66(0x198)])[_0x1ebc66(0x1f7)](_0xbef5bf=>({'id':_0xbef5bf['id'],'label':_0xbef5bf[_0x1ebc66(0x16b)]}));return _0x56839d[_0x1ebc66(0x1f7)](_0x3fd64d=>{const _0x4b26a8=_0x1ebc66,{groupId:_0x23740e,groupLabel:_0x1845dc,commands:_0x454db8}=_0x3fd64d,_0x1bad39=U(_0x50e0e4,_0x454db8)[_0x4b26a8(0x1f7)](_0x3b6dca=>({'id':_0x3b6dca['id'],'label':_0x3b6dca[_0x4b26a8(0x16b)]}));return{'id':_0x23740e,'menu':_0x1845dc||_0x23740e,'children':_0x1bad39};});}(_0x6c6c78),{'ariaLabel':_0x2d498e(_0x54f207,_0x10a0bc(0x19c))}),_0x24691c[_0x10a0bc(0x1ba)][_0x10a0bc(0x197)]=_0x10a0bc(0x1bb)+this[_0x10a0bc(0x1ac)],_0x3e1fc0['on'](_0x10a0bc(0x189),_0x4c130a),_0x24691c[_0x10a0bc(0x1ba)][_0x10a0bc(0x1e7)](_0x10a0bc(0x1ad),_0x4c130a),_0x24691c;function _0x4c130a(){const _0x4f70e2=_0x10a0bc;_0x24691c[_0x4f70e2(0x1bd)]=_0x3e1fc0[_0x4f70e2(0x1be)][_0x4f70e2(0x1c9)]>0x0;for(const _0x579eba of _0x24691c[_0x4f70e2(0x1ba)][_0x4f70e2(0x1c4)])_0x579eba[_0x4f70e2(0x1bd)]=_0x3e1fc0[_0x4f70e2(0x1be)][_0x4f70e2(0x173)](_0x579eba['id']);}}),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x1f4),_0x512d30=>{const _0x38add6=_0x20195b,_0x37058e=new _0x4243f2(_0x512d30);_0x37058e[_0x38add6(0x18c)][_0x38add6(0x1fc)]({'label':_0x2d498e(_0x512d30,_0x38add6(0x19c)),'icon':_0x1436dc}),_0x37058e[_0x38add6(0x1a0)](_0x38add6(0x1bd))['to'](_0x3e1fc0,_0x38add6(0x1be),_0x179678=>_0x179678[_0x38add6(0x1c9)]>0x0);const _0x9c5310=_0x472c39(_0x6c6c78[_0x38add6(0x16e)][_0x38add6(0x162)](_0x38add6(0x150)),_0x512d30);return this[_0x38add6(0x1b7)](_0x3e1fc0,_0x37058e,_0x9c5310,_0x6cf97f=>this[_0x38add6(0x1fe)](_0x6cf97f)),_0x37058e;}),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x166),()=>{const _0x3ca692=_0x20195b,_0x2a5f62=this[_0x3ca692(0x1d5)](_0x32b081);return _0x2a5f62[_0x3ca692(0x1fc)]({'tooltip':!0x0,'class':_0x3ca692(0x183)+this[_0x3ca692(0x1ac)]}),_0x2a5f62;}),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x17c),()=>{const _0x71a19b=_0x20195b,_0xe25846=this[_0x71a19b(0x1d5)](_0x4467cc);return _0xe25846[_0x71a19b(0x1fc)]({'role':_0x71a19b(0x19a)}),_0xe25846;}),this[_0x20195b(0x151)]=this[_0x20195b(0x1d7)][_0x20195b(0x16e)][_0x20195b(0x162)](_0x20195b(0x151));const _0x336caa=this[_0x20195b(0x1d7)];this[_0x20195b(0x1b4)]=setInterval(()=>{const _0x11f39c=_0x20195b;let _0x2b3512;for(const _0x33d51f in _0x336caa){const _0x59e274=_0x33d51f,_0x23a899=_0x336caa[_0x59e274];if(_0x11f39c(0x181)==_0x23a899||_0x11f39c(0x169)==_0x23a899||_0x11f39c(0x1fb)==_0x23a899||_0x11f39c(0x164)==_0x23a899||_0x11f39c(0x153)==_0x23a899||_0x11f39c(0x19b)==_0x23a899||_0x11f39c(0x1ab)==_0x23a899||_0x11f39c(0x17d)==_0x23a899){delete _0x336caa[_0x59e274],_0x2b3512=_0x23a899,clearInterval(this[_0x11f39c(0x1b4)]),this[_0x11f39c(0x1b4)]=void 0x0;break;}}_0x11f39c(0x169)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x18f)),_0x11f39c(0x1fb)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x16a)),_0x11f39c(0x164)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x1e6)),_0x11f39c(0x153)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x17a),_0x11f39c(0x190)),_0x11f39c(0x19b)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x1e1)),_0x11f39c(0x1ab)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x1ee)),_0x11f39c(0x17d)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x187));},0x3e8);}[_0x34378a(0x1a9)](){const _0xaa237=_0x34378a;super[_0xaa237(0x1a9)](),this[_0xaa237(0x1b4)]&&clearInterval(this[_0xaa237(0x1b4)]);}[_0x34378a(0x1f8)](_0x18be5b='',_0x20c347='',_0x32b91a=_0x34378a(0x1e8)){const _0x13d497=_0x34378a,_0x3f54e1=this[_0x13d497(0x1d7)],_0x3db660=_0x3f54e1[_0x13d497(0x1b9)][_0x13d497(0x1f5)],_0x5b8470=_0x3f54e1[_0x13d497(0x1ce)][_0x13d497(0x162)](_0x34f569),_0x522e33=_0x3f54e1[_0x13d497(0x1ce)][_0x13d497(0x162)](_0x2da640);_0x5b8470[_0x13d497(0x1df)]();const _0x52ea3a=new w(),_0x31eba0=new ClipboardEvent(_0x13d497(0x1ed),{'clipboardData':_0x52ea3a}),_0x26779f=new _0x5a0677(_0x52ea3a),_0x2207db=new _0x5d1692(_0x3db660,_0x31eba0,{'dataTransfer':_0x26779f});_0x522e33[_0x13d497(0x1e5)](_0x13d497(0x174),()=>{const _0x422d23=_0x13d497;_0x3db660[_0x422d23(0x180)][_0x422d23(0x1e9)](_0x422d23(0x1ed),_0x2207db);}),this[_0x13d497(0x158)]||(this[_0x13d497(0x199)](),this[_0x13d497(0x1d8)]=new _0x511c5a(_0x3f54e1,this[_0x13d497(0x1ca)][_0x13d497(0x1ea)],this[_0x13d497(0x158)]));let _0x5a6197=_0x26779f[_0x13d497(0x15a)](_0x13d497(0x196));const _0x588854=_0x3f54e1[_0x13d497(0x1f9)][_0x13d497(0x180)][_0x13d497(0x1ec)],_0x5bc4d9=Array[_0x13d497(0x1cc)](_0x588854[_0x13d497(0x1f6)]());0x1===_0x5bc4d9[_0x13d497(0x1c9)]&&_0x5bc4d9[0x0][_0x13d497(0x1c2)]&&!_0x588854[_0x13d497(0x15f)]()&&''!==_0x5a6197[_0x13d497(0x18b)](/ /g,'')[_0x13d497(0x156)]()&&(_0x5a6197=_0x13d497(0x1e0)+_0x5a6197+_0x13d497(0x157)),this[_0x13d497(0x1d8)][_0x13d497(0x152)]({'actionId':_0x32b91a,'query':_0x18be5b,'htmlContent':_0x5a6197,'label':_0x20c347,'mainActionLabel':_0x3a201b[_0x3f54e1[_0x13d497(0x1f9)][_0x13d497(0x180)][_0x13d497(0x1ec)][_0x13d497(0x1d6)]?_0x13d497(0x18d):_0x13d497(0x1b0)]}),_0x13d497(0x166)!==this[_0x13d497(0x175)]['id']?this[_0x13d497(0x175)][_0x13d497(0x191)]({'id':_0x13d497(0x166),'icon':_0xcefc3f,'title':_0x2d498e(this[_0x13d497(0x1d7)][_0x13d497(0x19e)],_0x13d497(0x186)),'content':this[_0x13d497(0x158)],'position':_0x155456[_0x13d497(0x1da)],'onShow':()=>{const _0x4c4dd2=_0x13d497;this[_0x4c4dd2(0x158)][_0x4c4dd2(0x159)]();},'onHide':()=>{const _0xa009a3=_0x13d497;this[_0xa009a3(0x1d8)][_0xa009a3(0x1f2)](),_0x5b8470[_0xa009a3(0x1f3)]();}}):this[_0x13d497(0x175)][_0x13d497(0x1f5)][_0x13d497(0x154)]||this[_0x13d497(0x175)][_0x13d497(0x1f5)][_0x13d497(0x1cb)]();}[_0x34378a(0x16c)](){const _0x1675a4=_0x34378a;this[_0x1675a4(0x175)][_0x1675a4(0x1e2)]();}[_0x34378a(0x1aa)](){const _0x355c23=_0x34378a,_0x106c10=new Map(),_0x259d34=_0x472c39(this[_0x355c23(0x1d7)][_0x355c23(0x16e)][_0x355c23(0x162)](_0x355c23(0x150)),this[_0x355c23(0x1d7)][_0x355c23(0x19e)]);for(const _0x334b06 of _0x259d34)for(const _0x231d9a of _0x334b06[_0x355c23(0x198)])_0x106c10[_0x355c23(0x1fc)](_0x231d9a['id'],{..._0x231d9a,'groupId':_0x334b06[_0x355c23(0x1e3)],'groupLabel':_0x334b06[_0x355c23(0x1c1)]||_0x334b06[_0x355c23(0x1e3)]});return _0x106c10;}[_0x34378a(0x1d5)](_0x176a87){const _0x1bcbd2=_0x34378a,_0x121372=this[_0x1bcbd2(0x1d7)],_0x4f4f5b=_0x121372[_0x1bcbd2(0x198)][_0x1bcbd2(0x162)](_0x1bcbd2(0x18e)),_0x231c05=new _0x176a87(_0x121372[_0x1bcbd2(0x19e)]);return _0x231c05[_0x1bcbd2(0x1fc)]({'label':_0x2d498e(_0x121372[_0x1bcbd2(0x19e)],_0x1bcbd2(0x186)),'icon':_0xcefc3f,'isToggleable':!0x0}),_0x231c05[_0x1bcbd2(0x1a0)](_0x1bcbd2(0x1bd))['to'](_0x4f4f5b),_0x231c05[_0x1bcbd2(0x1a0)](_0x1bcbd2(0x172))['to'](this[_0x1bcbd2(0x175)],'id',_0x595e3f=>_0x1bcbd2(0x166)===_0x595e3f),this[_0x1bcbd2(0x1a8)](_0x231c05,_0x1bcbd2(0x1d2),()=>{const _0x3904cd=_0x1bcbd2;_0x231c05[_0x3904cd(0x172)]?this[_0x3904cd(0x16c)]():_0x4f4f5b[_0x3904cd(0x1d2)]();}),_0x231c05;}[_0x34378a(0x199)](){const _0x68f1e1=_0x34378a,_0x51fc0d=this[_0x68f1e1(0x1d7)][_0x68f1e1(0x1ce)][_0x68f1e1(0x162)](_0x34f569);this[_0x68f1e1(0x158)]=new _0x2274ee(this[_0x68f1e1(0x1d7)][_0x68f1e1(0x19e)],this[_0x68f1e1(0x1ac)],this[_0x68f1e1(0x1d7)][_0x68f1e1(0x16e)][_0x68f1e1(0x162)](_0x68f1e1(0x1cf))),this[_0x68f1e1(0x158)]['on'](_0x68f1e1(0x16f),()=>{const _0x4f2ba0=_0x68f1e1;this[_0x4f2ba0(0x175)][_0x4f2ba0(0x1f5)][_0x4f2ba0(0x154)]||this[_0x4f2ba0(0x175)][_0x4f2ba0(0x1f5)][_0x4f2ba0(0x1cb)]();}),this[_0x68f1e1(0x158)][_0x68f1e1(0x1dc)][_0x68f1e1(0x15b)][_0x68f1e1(0x16d)]['on'](_0x68f1e1(0x185),()=>{const _0x4fbbbb=_0x68f1e1;this[_0x4fbbbb(0x175)][_0x4fbbbb(0x1f5)][_0x4fbbbb(0x154)]||this[_0x4fbbbb(0x175)][_0x4fbbbb(0x1f5)][_0x4fbbbb(0x1cb)]();}),this[_0x68f1e1(0x1a8)](this[_0x68f1e1(0x158)],_0x68f1e1(0x1b3),()=>{const _0x342525=_0x68f1e1;_0x51fc0d[_0x342525(0x1dd)](this[_0x342525(0x1d8)][_0x342525(0x15e)]),this[_0x342525(0x16c)]();}),this[_0x68f1e1(0x1a8)](this[_0x68f1e1(0x158)],_0x68f1e1(0x1cd),()=>{const _0x231e6f=_0x68f1e1;_0x51fc0d[_0x231e6f(0x1cd)](this[_0x231e6f(0x1d8)][_0x231e6f(0x15e)]),this[_0x231e6f(0x16c)]();}),this[_0x68f1e1(0x178)]();}[_0x34378a(0x178)](){const _0x299291=_0x34378a,{locale:_0x23e0c5,ui:{ariaLiveAnnouncer:_0x41814c}}=this[_0x299291(0x1d7)];this[_0x299291(0x158)][_0x299291(0x1a7)]['on'](_0x299291(0x167),(_0x294dda,_0x12e9d1,_0x3ca507)=>{const _0x39f333=_0x299291,_0x2dc2b6=this[_0x39f333(0x1d8)][_0x39f333(0x15e)];_0x3ca507?_0x41814c[_0x39f333(0x170)](_0x2d498e(_0x23e0c5,_0x39f333(0x1f1))):_0x2dc2b6&&_0x41814c[_0x39f333(0x170)](_0x2d498e(_0x23e0c5,_0x39f333(0x1c7),_0x2dc2b6),{'politeness':_0x39f333(0x17e),'isUnsafeHTML':!0x0});}),this[_0x299291(0x158)]['on'](_0x299291(0x19f),(_0x47e97e,_0x350bd2,_0x3536b9)=>{const _0x66f6f0=_0x299291;if(_0x3536b9){const _0x596278=this[_0x66f6f0(0x158)][_0x66f6f0(0x1a2)][_0x66f6f0(0x15c)];_0x41814c[_0x66f6f0(0x170)](_0x2d498e(_0x23e0c5,_0x66f6f0(0x1c8),_0x596278));}});}[_0x34378a(0x1fe)](_0x44c628){const _0x14d7f6=_0x34378a,_0x3d8b09=this[_0x14d7f6(0x163)][_0x14d7f6(0x162)](_0x44c628),_0x25fa42=this[_0x14d7f6(0x1d7)],_0x5c804f=_0x25fa42[_0x14d7f6(0x1f9)][_0x14d7f6(0x180)][_0x14d7f6(0x1ec)],_0x51431f=_0x25fa42[_0x14d7f6(0x198)][_0x14d7f6(0x162)](_0x14d7f6(0x18e)),_0x2d5287=_0x25fa42[_0x14d7f6(0x1ce)][_0x14d7f6(0x162)](_0x34f569),_0x27761e=''+(_0x3d8b09[_0x14d7f6(0x1e3)]!==_0x2537b3?_0x3d8b09[_0x14d7f6(0x1c1)]+':\x20':'')+_0x3d8b09[_0x14d7f6(0x16b)];if(!0x1!==_0x3d8b09[_0x14d7f6(0x1a5)]&&_0x5c804f[_0x14d7f6(0x1d6)]){const _0x3aea07=_0x2521dd(_0x5c804f[_0x14d7f6(0x1fd)]())||_0x25fa42[_0x14d7f6(0x1f9)][_0x14d7f6(0x1db)][_0x14d7f6(0x160)](_0x5c804f);_0x25fa42[_0x14d7f6(0x1f9)][_0x14d7f6(0x1fa)](_0xc38691=>{const _0x266c49=_0x14d7f6;_0xc38691[_0x266c49(0x1d9)](_0x3aea07,'in');});}_0x2d5287[_0x14d7f6(0x1df)](),_0x51431f[_0x14d7f6(0x1d2)](_0x3d8b09[_0x14d7f6(0x179)],_0x27761e,_0x14d7f6(0x1a3)+_0x44c628);}[_0x34378a(0x1b7)](_0x41b329,_0x2f7d05,_0x2278ec,_0x48ec58){const _0x1a85f9=_0x34378a,_0x2aa297=this[_0x1a85f9(0x1d7)],_0x363faa=_0x2aa297[_0x1a85f9(0x19e)],_0x415104=new _0x195b86(_0x363faa),_0x428364=U(_0x2aa297,_0x2278ec)[_0x1a85f9(0x1a6)](_0x1035ab=>_0x1035ab[_0x1a85f9(0x198)][_0x1a85f9(0x1c9)]);0x1===_0x428364[_0x1a85f9(0x1c9)]?this[_0x1a85f9(0x1f0)]({'command':_0x41b329,'commands':_0x428364[0x0][_0x1a85f9(0x198)],'parentMenuView':_0x2f7d05,'onExecute':_0x48ec58})[_0x1a85f9(0x1c3)](_0x55b14a=>_0x415104[_0x1a85f9(0x184)][_0x1a85f9(0x1a4)](_0x55b14a)):_0x428364[_0x1a85f9(0x1c3)](({groupId:_0x546522,groupLabel:_0x3c07c3,commands:_0x3b7caa})=>{const _0x16ca29=_0x1a85f9,_0x40bdf4=new _0x519701(_0x363faa,_0x2f7d05),_0x161117=new _0x4243f2(_0x363faa),_0xd6d5c6=new _0x195b86(_0x363faa),_0x5c24b7=this[_0x16ca29(0x1f0)]({'command':_0x41b329,'commands':_0x3b7caa,'parentMenuView':_0x161117,'onExecute':_0x48ec58});_0x161117[_0x16ca29(0x18c)][_0x16ca29(0x1fc)]({'label':_0x3c07c3||_0x546522}),_0x161117[_0x16ca29(0x155)](_0x16ca29(0x1d2))['to'](_0x2f7d05),_0xd6d5c6[_0x16ca29(0x184)][_0x16ca29(0x1b2)](_0x5c24b7),_0x161117[_0x16ca29(0x19d)][_0x16ca29(0x1bc)][_0x16ca29(0x1a4)](_0xd6d5c6),_0x40bdf4[_0x16ca29(0x1bc)][_0x16ca29(0x1a4)](_0x161117),_0x415104[_0x16ca29(0x184)][_0x16ca29(0x1a4)](_0x40bdf4);}),_0x2f7d05[_0x1a85f9(0x19d)][_0x1a85f9(0x1bc)][_0x1a85f9(0x1a4)](_0x415104);}[_0x34378a(0x1f0)]({command:_0x5dc5e3,commands:_0x36343b,parentMenuView:_0x2b8dee,onExecute:_0x2f3b74}){const _0x2383c4=_0x34378a,_0x8922d9=this[_0x2383c4(0x1d7)],_0x41362d=_0x8922d9[_0x2383c4(0x19e)];return U(_0x8922d9,_0x36343b)[_0x2383c4(0x1f7)](_0x23f4ed=>{const _0x5cb274=_0x2383c4,_0x467053=new _0x519701(_0x41362d,_0x2b8dee),_0x571eab=new _0x4467cc(_0x41362d);return _0x571eab[_0x5cb274(0x1fc)]({'label':_0x23f4ed[_0x5cb274(0x16b)]}),_0x571eab[_0x5cb274(0x155)](_0x5cb274(0x1d2))['to'](_0x2b8dee),_0x571eab['on'](_0x5cb274(0x1d2),()=>_0x2f3b74(_0x23f4ed['id'])),_0x571eab[_0x5cb274(0x1a0)](_0x5cb274(0x1bd))['to'](_0x5dc5e3,_0x5cb274(0x1be),_0x4bd721=>_0x4bd721[_0x5cb274(0x173)](_0x23f4ed['id'])),_0x467053[_0x5cb274(0x1bc)][_0x5cb274(0x1a4)](_0x571eab),_0x467053;});}}function B(_0x5b4d07,_0x2990e7){const _0x1ac647=_0x34378a;return void 0x0!==_0x5b4d07[_0x1ac647(0x1af)]&&void 0x0===_0x2990e7[_0x1ac647(0x1af)]?0x1:void 0x0===_0x5b4d07[_0x1ac647(0x1af)]&&void 0x0!==_0x2990e7[_0x1ac647(0x1af)]?-0x1:void 0x0!==_0x5b4d07[_0x1ac647(0x1af)]&&void 0x0!==_0x2990e7[_0x1ac647(0x1af)]?_0x5b4d07[_0x1ac647(0x1af)]-_0x2990e7[_0x1ac647(0x1af)]:0x0;}function U(_0x111873,_0x5b61b2){const _0x34c6ae=_0x34378a;_0x5b61b2[_0x34c6ae(0x17f)](B);const _0x548de4={},_0x4fd256=[];for(const _0x1414d3 of _0x5b61b2)if(void 0x0!==_0x1414d3[_0x34c6ae(0x1af)]){if(_0x1414d3[_0x34c6ae(0x1af)]in _0x548de4)throw new _0x34fc8f(_0x34c6ae(0x177),_0x111873,{'conflictingDefinitions':[_0x1414d3,_0x548de4[_0x1414d3[_0x34c6ae(0x1af)]]]});_0x548de4[_0x1414d3[_0x34c6ae(0x1af)]]=_0x1414d3,_0x4fd256[_0x34c6ae(0x1c6)](_0x1414d3[_0x34c6ae(0x1af)],0x0,_0x1414d3);}else _0x4fd256[_0x34c6ae(0x1b8)](_0x1414d3);return _0x4fd256;}
|
|
23
|
+
const _0xee7ab2=_0x58f9;(function(_0x37ac6b,_0x184ec6){const _0x17609d=_0x58f9,_0x3020f3=_0x37ac6b();while(!![]){try{const _0x2a6b67=-parseInt(_0x17609d(0x1e8))/0x1+-parseInt(_0x17609d(0x1cf))/0x2*(-parseInt(_0x17609d(0x23b))/0x3)+parseInt(_0x17609d(0x1bf))/0x4*(parseInt(_0x17609d(0x1aa))/0x5)+-parseInt(_0x17609d(0x1c3))/0x6+-parseInt(_0x17609d(0x22c))/0x7+parseInt(_0x17609d(0x1c2))/0x8+parseInt(_0x17609d(0x1b3))/0x9;if(_0x2a6b67===_0x184ec6)break;else _0x3020f3['push'](_0x3020f3['shift']());}catch(_0xe13263){_0x3020f3['push'](_0x3020f3['shift']());}}}(_0x234e,0x4302d));import{Plugin as _0x27c3e3}from'ckeditor5/src/core.js';import{IconMagicWand as _0x292f9e,IconRobotPencil as _0x194b8a}from'ckeditor5/src/icons.js';import{first as _0x571279,CKEditorError as _0x4897a9}from'ckeditor5/src/utils.js';import{createDropdown as _0x2edb4f,addMenuToDropdown as _0x58e337,ButtonView as _0x101d1e,MenuBarMenuListItemButtonView as _0x1254b8,Dialog as _0x15df8d,DialogViewPosition as _0x1f5fab,MenuBarMenuView as _0x2682fb,MenuBarMenuListView as _0x59f13e,MenuBarMenuListItemView as _0x483fa3}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4e26ab,UNGROUPED_COMMANDS_GROUP_ID as _0x1e6009}from'./utils/normalizecommandsconfig.js';import _0x101d8b from'./aiassistantediting.js';import _0x498654 from'./adapters/aiadapter.js';import{getTranslation as _0x2434be}from'./utils/common-translations.js';import _0x56d8ba from'./ui/showaiassistantcommand.js';import _0x15a633 from'./ui/aiassistantcontroller.js';import _0x529342 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x244940}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0xee7ab2(0x202)];import{ClipboardMarkersUtils as _0x3af178}from'ckeditor5/src/clipboard.js';function _0x58f9(_0x5d5980,_0x366ed7){const _0x234e01=_0x234e();return _0x58f9=function(_0x58f978,_0x925771){_0x58f978=_0x58f978-0x1a2;let _0x1f23ac=_0x234e01[_0x58f978];return _0x1f23ac;},_0x58f9(_0x5d5980,_0x366ed7);}import{DomEventData as _0x4f1844,DataTransfer as _0x717d33}from'ckeditor5/src/engine.js';function _0x234e(){const _0x854fdb=['fire','\x20ck-ai-assistant-ui_theme','show','_initView','view','getData','update','ck-ai-assistant-ui','trim','buttonView','init','hideFakeVisualSelection','ck-ai-commands-dropdown\x20','label','24415sFdFvO','reset','isFlat','menuBar:aiAssistant','splice','items','command:','setSelection','</p>','763551ogVXwd','AIAssistant','rawHtml','text/html','_showLicenseError','change:value','aiAssistant','hideUI','text','listenTo','custom','menuPanelClass','440QIfyEx','aiLicenseKeyDomainLimit','isOn','1012088qqFfut','659004YvJsVA','requiresContent','AI\x20Commands','updatePosition','sort','execute','focus','aiLicenseKeyExpired','tableOfContents','expired','addMany','document','266mCjluW','contentArea','buttons','_aiAssistantController','body','editor','fieldView','bind','_licenseKeyCheckInterval','ai.aiAssistant.commands','groupId','_aiAdapter','destroy','showFakeVisualSelection','selection','Error\x20during\x20AI\x20content\x20generation:\x20%0','AIAssistantUI','aiCommands','change','_formView','componentFactory','evaluationLimit','queryView','menuitemcheckbox','map','359525ahvdPd','wasMoved','hide','showAIAssistant','prompt','AI\x20is\x20writing','getSelectedBlocks','usageLimit','errorView','updateView','EDITOR_TOP_SIDE','locale','aiLicenseKeyInvalid','schema','from','enabledCommandsIds','add','insertContentBelow','aiLicenseKeyUsageLimit','change:isProcessing','ck-ai-assistant-button\x20','copy','<p>','model','_createAIAssistantUIButton','commands','DataTransfer','requires','_forceMarkersCopy','currentContext','config','isPremiumPlugin','aiLicenseKeyEvaluationLimit','polite','forEach','source','delegate','_uiCssClasses','featureNotAllowed','comment','domainLimit','Generated\x20content:\x20%0','plugins','ai.useTheme','getSelectedElement','AI\x20Assistant','_getResolvedCommandsDefinitions','ai.aiAssistant.disabledElements','_initAriaAiStatusChangeAnnouncements','_commandDefinitions','define','invalid','_dialog','replaceContent','REPLACE','render','editing','values','media','promptView','once','announce','INSERT','getRanges','aiLicenseKeyValid','_getMenuBarGroupButtons','order','aiLicenseKeyNotAllowed','3195115FcJMPs','children','replace','set','groupLabel','length','panelView','insertContent','menuView','menuBar:aiCommands','ai.aiAssistant.contentAreaCssClass','textAdapter','licenseKey','includes','isEnabled','10191cSNopR','trialLimit','isCollapsed','isOfficialPlugin','_populateMenuBarMenu','_onExecute','pluginName','push','aiLicenseKeyTrialLimit','showUI','filter','get','change:enabledCommandsIds','getLimitElement','change:isError','ai-commands-config-order-collision'];_0x234e=function(){return _0x854fdb;};return _0x234e();}export default class n extends _0x27c3e3{[_0xee7ab2(0x238)];[_0xee7ab2(0x1d7)];[_0xee7ab2(0x21c)];[_0xee7ab2(0x1e2)];[_0xee7ab2(0x1da)];[_0xee7ab2(0x1d2)];[_0xee7ab2(0x20d)]='';static get[_0xee7ab2(0x241)](){const _0x5f3cc8=_0xee7ab2;return _0x5f3cc8(0x1df);}static get[_0xee7ab2(0x23e)](){return!0x0;}static get[_0xee7ab2(0x207)](){return!0x0;}static get[_0xee7ab2(0x203)](){return[_0x3af178,_0x101d8b,_0x498654,_0x15df8d];}constructor(_0x3e60d4){const _0x5c230d=_0xee7ab2;super(_0x3e60d4),_0x3e60d4[_0x5c230d(0x206)][_0x5c230d(0x21a)](_0x5c230d(0x217),[_0x5c230d(0x222),_0x5c230d(0x1b5),_0x5c230d(0x1cb)]),_0x3e60d4[_0x5c230d(0x206)][_0x5c230d(0x21a)](_0x5c230d(0x236),''),_0x3e60d4[_0x5c230d(0x206)][_0x5c230d(0x21a)](_0x5c230d(0x213),!0x0),this[_0x5c230d(0x20d)]=_0x5c230d(0x1a3)+(_0x3e60d4[_0x5c230d(0x206)][_0x5c230d(0x246)](_0x5c230d(0x213))?_0x5c230d(0x24c):'');}[_0xee7ab2(0x1a6)](){const _0x19bb67=_0xee7ab2,{editor:_0x4d697c}=this;this[_0x19bb67(0x1da)]=_0x4d697c[_0x19bb67(0x212)][_0x19bb67(0x246)](_0x498654),this[_0x19bb67(0x21c)]=_0x4d697c[_0x19bb67(0x212)][_0x19bb67(0x246)](_0x15df8d),this[_0x19bb67(0x1e2)]=null,this[_0x19bb67(0x219)]=this[_0x19bb67(0x216)]();const _0x63fe14=new _0x56d8ba(_0x4d697c,Array[_0x19bb67(0x1f6)](this[_0x19bb67(0x219)][_0x19bb67(0x221)]()));_0x4d697c[_0x19bb67(0x201)][_0x19bb67(0x1f8)](_0x19bb67(0x1eb),_0x63fe14),_0x4d697c['ui'][_0x19bb67(0x1e3)][_0x19bb67(0x1f8)](_0x19bb67(0x1e0),_0x3c1643=>{const _0x10f0e4=_0x19bb67,_0x36d609=_0x2edb4f(_0x3c1643);return _0x36d609[_0x10f0e4(0x22f)]({'class':_0x10f0e4(0x1a8)+this[_0x10f0e4(0x20d)]}),_0x36d609[_0x10f0e4(0x1a5)][_0x10f0e4(0x22f)]({'label':_0x2434be(_0x3c1643,_0x10f0e4(0x1c5)),'icon':_0x292f9e,'tooltip':!0x0}),_0x36d609['on'](_0x10f0e4(0x1c8),_0x1ecada=>this[_0x10f0e4(0x240)](_0x1ecada[_0x10f0e4(0x20b)]['id'])),_0x58e337(_0x36d609,_0x4d697c['ui'][_0x10f0e4(0x24f)][_0x10f0e4(0x1d3)],function(_0x187514){const _0xcfee0=_0x10f0e4,_0x3f8663=_0x4e26ab(_0x187514[_0xcfee0(0x206)][_0xcfee0(0x246)](_0xcfee0(0x1d8)),_0x187514[_0xcfee0(0x1f3)]),_0x25208a=U(_0x187514,_0x3f8663)[_0xcfee0(0x245)](_0x3c9206=>_0x3c9206[_0xcfee0(0x201)][_0xcfee0(0x231)]);if(0x1===_0x25208a[_0xcfee0(0x231)])return U(_0x187514,_0x25208a[0x0][_0xcfee0(0x201)])[_0xcfee0(0x1e7)](_0x4d24b8=>({'id':_0x4d24b8['id'],'label':_0x4d24b8[_0xcfee0(0x1a9)]}));return _0x25208a[_0xcfee0(0x1e7)](_0x3b50f0=>{const _0x31c3a1=_0xcfee0,{groupId:_0x38a1fa,groupLabel:_0x36f572,commands:_0x2c288a}=_0x3b50f0,_0x15388d=U(_0x187514,_0x2c288a)[_0x31c3a1(0x1e7)](_0x5f38e7=>({'id':_0x5f38e7['id'],'label':_0x5f38e7[_0x31c3a1(0x1a9)]}));return{'id':_0x38a1fa,'menu':_0x36f572||_0x38a1fa,'children':_0x15388d};});}(_0x4d697c),{'ariaLabel':_0x2434be(_0x3c1643,_0x10f0e4(0x1c5))}),_0x36d609[_0x10f0e4(0x234)][_0x10f0e4(0x1be)]=_0x10f0e4(0x1a8)+this[_0x10f0e4(0x20d)],_0x63fe14['on'](_0x10f0e4(0x247),_0x25e8bf),_0x36d609[_0x10f0e4(0x234)][_0x10f0e4(0x224)](_0x10f0e4(0x21f),_0x25e8bf),_0x36d609;function _0x25e8bf(){const _0x3f53f8=_0x10f0e4;_0x36d609[_0x3f53f8(0x23a)]=_0x63fe14[_0x3f53f8(0x1f7)][_0x3f53f8(0x231)]>0x0;for(const _0x49b30f of _0x36d609[_0x3f53f8(0x234)][_0x3f53f8(0x1d1)])_0x49b30f[_0x3f53f8(0x23a)]=_0x63fe14[_0x3f53f8(0x1f7)][_0x3f53f8(0x239)](_0x49b30f['id']);}}),_0x4d697c['ui'][_0x19bb67(0x1e3)][_0x19bb67(0x1f8)](_0x19bb67(0x235),_0x362cda=>{const _0xf2ea4d=_0x19bb67,_0x5c1c32=new _0x2682fb(_0x362cda);_0x5c1c32[_0xf2ea4d(0x1a5)][_0xf2ea4d(0x22f)]({'label':_0x2434be(_0x362cda,_0xf2ea4d(0x1c5)),'icon':_0x292f9e}),_0x5c1c32[_0xf2ea4d(0x1d6)](_0xf2ea4d(0x23a))['to'](_0x63fe14,_0xf2ea4d(0x1f7),_0x17d22c=>_0x17d22c[_0xf2ea4d(0x231)]>0x0);const _0xa79c4f=_0x4e26ab(_0x4d697c[_0xf2ea4d(0x206)][_0xf2ea4d(0x246)](_0xf2ea4d(0x1d8)),_0x362cda);return this[_0xf2ea4d(0x23f)](_0x63fe14,_0x5c1c32,_0xa79c4f,_0xe4c736=>this[_0xf2ea4d(0x240)](_0xe4c736)),_0x5c1c32;}),_0x4d697c['ui'][_0x19bb67(0x1e3)][_0x19bb67(0x1f8)](_0x19bb67(0x1b9),()=>{const _0x28b980=_0x19bb67,_0x20f5af=this[_0x28b980(0x200)](_0x101d1e);return _0x20f5af[_0x28b980(0x22f)]({'tooltip':!0x0,'class':_0x28b980(0x1fc)+this[_0x28b980(0x20d)]}),_0x20f5af;}),_0x4d697c['ui'][_0x19bb67(0x1e3)][_0x19bb67(0x1f8)](_0x19bb67(0x1ad),()=>{const _0x3583f8=_0x19bb67,_0x7c4cad=this[_0x3583f8(0x200)](_0x1254b8);return _0x7c4cad[_0x3583f8(0x22f)]({'role':_0x3583f8(0x1e6)}),_0x7c4cad;}),this[_0x19bb67(0x238)]=this[_0x19bb67(0x1d4)][_0x19bb67(0x206)][_0x19bb67(0x246)](_0x19bb67(0x238));const _0x493045=this[_0x19bb67(0x1d4)];this[_0x19bb67(0x1d7)]=setInterval(()=>{const _0x1ffc34=_0x19bb67;let _0x754d35;for(const _0x5adc47 in _0x493045){const _0xb600c0=_0x5adc47,_0x328ac9=_0x493045[_0xb600c0];if(_0x1ffc34(0x228)==_0x328ac9||_0x1ffc34(0x1f4)==_0x328ac9||_0x1ffc34(0x1ca)==_0x328ac9||_0x1ffc34(0x1c0)==_0x328ac9||_0x1ffc34(0x22b)==_0x328ac9||_0x1ffc34(0x208)==_0x328ac9||_0x1ffc34(0x243)==_0x328ac9||_0x1ffc34(0x1fa)==_0x328ac9){delete _0x493045[_0xb600c0],_0x754d35=_0x328ac9,clearInterval(this[_0x1ffc34(0x1d7)]),this[_0x1ffc34(0x1d7)]=void 0x0;break;}}_0x1ffc34(0x1f4)==_0x754d35&&_0x493045[_0x1ffc34(0x1b7)](_0x1ffc34(0x21b)),_0x1ffc34(0x1ca)==_0x754d35&&_0x493045[_0x1ffc34(0x1b7)](_0x1ffc34(0x1cc)),_0x1ffc34(0x1c0)==_0x754d35&&_0x493045[_0x1ffc34(0x1b7)](_0x1ffc34(0x210)),_0x1ffc34(0x22b)==_0x754d35&&_0x493045[_0x1ffc34(0x1b7)](_0x1ffc34(0x20e),_0x1ffc34(0x1b4)),_0x1ffc34(0x208)==_0x754d35&&_0x493045[_0x1ffc34(0x1b7)](_0x1ffc34(0x1e4)),_0x1ffc34(0x243)==_0x754d35&&_0x493045[_0x1ffc34(0x1b7)](_0x1ffc34(0x23c)),_0x1ffc34(0x1fa)==_0x754d35&&_0x493045[_0x1ffc34(0x1b7)](_0x1ffc34(0x1ef));},0x3e8);}[_0xee7ab2(0x1db)](){const _0x4996bc=_0xee7ab2;super[_0x4996bc(0x1db)](),this[_0x4996bc(0x1d7)]&&clearInterval(this[_0x4996bc(0x1d7)]);}[_0xee7ab2(0x244)](_0x87b5dc='',_0x384f66='',_0x46ae60=_0xee7ab2(0x1bd)){const _0x108cd0=_0xee7ab2,_0x162444=this[_0x108cd0(0x1d4)],_0x2c9490=_0x162444[_0x108cd0(0x220)][_0x108cd0(0x24f)],_0x35c983=_0x162444[_0x108cd0(0x212)][_0x108cd0(0x246)](_0x101d8b),_0x1f02cc=_0x162444[_0x108cd0(0x212)][_0x108cd0(0x246)](_0x3af178);_0x35c983[_0x108cd0(0x1dc)]();const _0x1964a1=new w(),_0x4845ae=new ClipboardEvent(_0x108cd0(0x1fd),{'clipboardData':_0x1964a1}),_0xfdbe1f=new _0x717d33(_0x1964a1),_0x542b14=new _0x4f1844(_0x2c9490,_0x4845ae,{'dataTransfer':_0xfdbe1f});_0x1f02cc[_0x108cd0(0x204)](_0x108cd0(0x20f),()=>{const _0x12af4b=_0x108cd0;_0x2c9490[_0x12af4b(0x1ce)][_0x12af4b(0x24b)](_0x12af4b(0x1fd),_0x542b14);}),this[_0x108cd0(0x1e2)]||(this[_0x108cd0(0x24e)](),this[_0x108cd0(0x1d2)]=new _0x15a633(_0x162444,this[_0x108cd0(0x1da)][_0x108cd0(0x237)],this[_0x108cd0(0x1e2)]));let _0x148701=_0xfdbe1f[_0x108cd0(0x250)](_0x108cd0(0x1b6));const _0x337a67=_0x162444[_0x108cd0(0x1ff)][_0x108cd0(0x1ce)][_0x108cd0(0x1dd)],_0x5aa7a0=Array[_0x108cd0(0x1f6)](_0x337a67[_0x108cd0(0x227)]());0x1===_0x5aa7a0[_0x108cd0(0x231)]&&_0x5aa7a0[0x0][_0x108cd0(0x1ac)]&&!_0x337a67[_0x108cd0(0x214)]()&&''!==_0x148701[_0x108cd0(0x22e)](/ /g,'')[_0x108cd0(0x1a4)]()&&(_0x148701=_0x108cd0(0x1fe)+_0x148701+_0x108cd0(0x1b2)),this[_0x108cd0(0x1d2)][_0x108cd0(0x1f1)]({'actionId':_0x46ae60,'query':_0x87b5dc,'htmlContent':_0x148701,'label':_0x384f66,'mainActionLabel':_0x244940[_0x162444[_0x108cd0(0x1ff)][_0x108cd0(0x1ce)][_0x108cd0(0x1dd)][_0x108cd0(0x23d)]?_0x108cd0(0x226):_0x108cd0(0x21e)]}),_0x108cd0(0x1b9)!==this[_0x108cd0(0x21c)]['id']?this[_0x108cd0(0x21c)][_0x108cd0(0x24d)]({'id':_0x108cd0(0x1b9),'icon':_0x194b8a,'title':_0x2434be(this[_0x108cd0(0x1d4)][_0x108cd0(0x1f3)],_0x108cd0(0x215)),'content':this[_0x108cd0(0x1e2)],'position':_0x1f5fab[_0x108cd0(0x1f2)],'onShow':()=>{const _0x3ded39=_0x108cd0;this[_0x3ded39(0x1e2)][_0x3ded39(0x1c9)]();},'onHide':()=>{const _0x4bee3a=_0x108cd0;this[_0x4bee3a(0x1d2)][_0x4bee3a(0x1ab)](),_0x35c983[_0x4bee3a(0x1a7)]();}}):this[_0x108cd0(0x21c)][_0x108cd0(0x24f)][_0x108cd0(0x1e9)]||this[_0x108cd0(0x21c)][_0x108cd0(0x24f)][_0x108cd0(0x1c6)]();}[_0xee7ab2(0x1ba)](){const _0x4362b0=_0xee7ab2;this[_0x4362b0(0x21c)][_0x4362b0(0x1ea)]();}[_0xee7ab2(0x216)](){const _0x1dc310=_0xee7ab2,_0x2f4889=new Map(),_0x2b14f7=_0x4e26ab(this[_0x1dc310(0x1d4)][_0x1dc310(0x206)][_0x1dc310(0x246)](_0x1dc310(0x1d8)),this[_0x1dc310(0x1d4)][_0x1dc310(0x1f3)]);for(const _0x441e86 of _0x2b14f7)for(const _0x50acfa of _0x441e86[_0x1dc310(0x201)])_0x2f4889[_0x1dc310(0x22f)](_0x50acfa['id'],{..._0x50acfa,'groupId':_0x441e86[_0x1dc310(0x1d9)],'groupLabel':_0x441e86[_0x1dc310(0x230)]||_0x441e86[_0x1dc310(0x1d9)]});return _0x2f4889;}[_0xee7ab2(0x200)](_0x4dd580){const _0x5e0f9e=_0xee7ab2,_0x632faa=this[_0x5e0f9e(0x1d4)],_0x14c2fd=_0x632faa[_0x5e0f9e(0x201)][_0x5e0f9e(0x246)](_0x5e0f9e(0x1eb)),_0x4b75a0=new _0x4dd580(_0x632faa[_0x5e0f9e(0x1f3)]);return _0x4b75a0[_0x5e0f9e(0x22f)]({'label':_0x2434be(_0x632faa[_0x5e0f9e(0x1f3)],_0x5e0f9e(0x215)),'icon':_0x194b8a,'isToggleable':!0x0}),_0x4b75a0[_0x5e0f9e(0x1d6)](_0x5e0f9e(0x23a))['to'](_0x14c2fd),_0x4b75a0[_0x5e0f9e(0x1d6)](_0x5e0f9e(0x1c1))['to'](this[_0x5e0f9e(0x21c)],'id',_0x2e84d6=>_0x5e0f9e(0x1b9)===_0x2e84d6),this[_0x5e0f9e(0x1bc)](_0x4b75a0,_0x5e0f9e(0x1c8),()=>{const _0x53099f=_0x5e0f9e;_0x4b75a0[_0x53099f(0x1c1)]?this[_0x53099f(0x1ba)]():_0x14c2fd[_0x53099f(0x1c8)]();}),_0x4b75a0;}[_0xee7ab2(0x24e)](){const _0x357249=_0xee7ab2,_0x946d65=this[_0x357249(0x1d4)][_0x357249(0x212)][_0x357249(0x246)](_0x101d8b);this[_0x357249(0x1e2)]=new _0x529342(this[_0x357249(0x1d4)][_0x357249(0x1f3)],this[_0x357249(0x20d)],this[_0x357249(0x1d4)][_0x357249(0x206)][_0x357249(0x246)](_0x357249(0x236))),this[_0x357249(0x1e2)]['on'](_0x357249(0x1b8),()=>{const _0x441cb9=_0x357249;this[_0x441cb9(0x21c)][_0x441cb9(0x24f)][_0x441cb9(0x1e9)]||this[_0x441cb9(0x21c)][_0x441cb9(0x24f)][_0x441cb9(0x1c6)]();}),this[_0x357249(0x1e2)][_0x357249(0x223)][_0x357249(0x1e5)][_0x357249(0x1d5)]['on'](_0x357249(0x1a2),()=>{const _0x988fea=_0x357249;this[_0x988fea(0x21c)][_0x988fea(0x24f)][_0x988fea(0x1e9)]||this[_0x988fea(0x21c)][_0x988fea(0x24f)][_0x988fea(0x1c6)]();}),this[_0x357249(0x1bc)](this[_0x357249(0x1e2)],_0x357249(0x21d),()=>{const _0x57cf89=_0x357249;_0x946d65[_0x57cf89(0x233)](this[_0x57cf89(0x1d2)][_0x57cf89(0x205)]),this[_0x57cf89(0x1ba)]();}),this[_0x357249(0x1bc)](this[_0x357249(0x1e2)],_0x357249(0x1f9),()=>{const _0x1c7ddd=_0x357249;_0x946d65[_0x1c7ddd(0x1f9)](this[_0x1c7ddd(0x1d2)][_0x1c7ddd(0x205)]),this[_0x1c7ddd(0x1ba)]();}),this[_0x357249(0x218)]();}[_0xee7ab2(0x218)](){const _0x29aeda=_0xee7ab2,{locale:_0x2c46aa,ui:{ariaLiveAnnouncer:_0xa20269}}=this[_0x29aeda(0x1d4)];this[_0x29aeda(0x1e2)][_0x29aeda(0x1d0)]['on'](_0x29aeda(0x1fb),(_0x1d9ec2,_0x2b9c46,_0x391fe4)=>{const _0x414213=_0x29aeda,_0x34bb71=this[_0x414213(0x1d2)][_0x414213(0x205)];_0x391fe4?_0xa20269[_0x414213(0x225)](_0x2434be(_0x2c46aa,_0x414213(0x1ed))):_0x34bb71&&_0xa20269[_0x414213(0x225)](_0x2434be(_0x2c46aa,_0x414213(0x211),_0x34bb71),{'politeness':_0x414213(0x209),'isUnsafeHTML':!0x0});}),this[_0x29aeda(0x1e2)]['on'](_0x29aeda(0x249),(_0x45e24c,_0x46bf5b,_0x3611fa)=>{const _0x49d040=_0x29aeda;if(_0x3611fa){const _0x1e85b1=this[_0x49d040(0x1e2)][_0x49d040(0x1f0)][_0x49d040(0x1bb)];_0xa20269[_0x49d040(0x225)](_0x2434be(_0x2c46aa,_0x49d040(0x1de),_0x1e85b1));}});}[_0xee7ab2(0x240)](_0x1df0c){const _0x5e7d59=_0xee7ab2,_0x1408cd=this[_0x5e7d59(0x219)][_0x5e7d59(0x246)](_0x1df0c),_0x5c86c5=this[_0x5e7d59(0x1d4)],_0x323b4b=_0x5c86c5[_0x5e7d59(0x1ff)][_0x5e7d59(0x1ce)][_0x5e7d59(0x1dd)],_0x17af1c=_0x5c86c5[_0x5e7d59(0x201)][_0x5e7d59(0x246)](_0x5e7d59(0x1eb)),_0x78e15d=_0x5c86c5[_0x5e7d59(0x212)][_0x5e7d59(0x246)](_0x101d8b),_0x26f2d0=''+(_0x1408cd[_0x5e7d59(0x1d9)]!==_0x1e6009?_0x1408cd[_0x5e7d59(0x230)]+':\x20':'')+_0x1408cd[_0x5e7d59(0x1a9)];if(!0x1!==_0x1408cd[_0x5e7d59(0x1c4)]&&_0x323b4b[_0x5e7d59(0x23d)]){const _0x24abec=_0x571279(_0x323b4b[_0x5e7d59(0x1ee)]())||_0x5c86c5[_0x5e7d59(0x1ff)][_0x5e7d59(0x1f5)][_0x5e7d59(0x248)](_0x323b4b);_0x5c86c5[_0x5e7d59(0x1ff)][_0x5e7d59(0x1e1)](_0x4cf168=>{const _0x161e51=_0x5e7d59;_0x4cf168[_0x161e51(0x1b1)](_0x24abec,'in');});}_0x78e15d[_0x5e7d59(0x1dc)](),_0x17af1c[_0x5e7d59(0x1c8)](_0x1408cd[_0x5e7d59(0x1ec)],_0x26f2d0,_0x5e7d59(0x1b0)+_0x1df0c);}[_0xee7ab2(0x23f)](_0x5a79ec,_0x4262b4,_0x9a4cf5,_0x13361b){const _0x505a9c=_0xee7ab2,_0x2cd5d3=this[_0x505a9c(0x1d4)],_0x1c9a7b=_0x2cd5d3[_0x505a9c(0x1f3)],_0x2ccac3=new _0x59f13e(_0x1c9a7b),_0x258a1a=U(_0x2cd5d3,_0x9a4cf5)[_0x505a9c(0x245)](_0x4f7464=>_0x4f7464[_0x505a9c(0x201)][_0x505a9c(0x231)]);0x1===_0x258a1a[_0x505a9c(0x231)]?this[_0x505a9c(0x229)]({'command':_0x5a79ec,'commands':_0x258a1a[0x0][_0x505a9c(0x201)],'parentMenuView':_0x4262b4,'onExecute':_0x13361b})[_0x505a9c(0x20a)](_0x42d348=>_0x2ccac3[_0x505a9c(0x1af)][_0x505a9c(0x1f8)](_0x42d348)):_0x258a1a[_0x505a9c(0x20a)](({groupId:_0x4b0636,groupLabel:_0x1a3e0f,commands:_0x437736})=>{const _0x545f3f=_0x505a9c,_0xfdf480=new _0x483fa3(_0x1c9a7b,_0x4262b4),_0x5c7cab=new _0x2682fb(_0x1c9a7b),_0x55c67=new _0x59f13e(_0x1c9a7b),_0x4597e0=this[_0x545f3f(0x229)]({'command':_0x5a79ec,'commands':_0x437736,'parentMenuView':_0x5c7cab,'onExecute':_0x13361b});_0x5c7cab[_0x545f3f(0x1a5)][_0x545f3f(0x22f)]({'label':_0x1a3e0f||_0x4b0636}),_0x5c7cab[_0x545f3f(0x20c)](_0x545f3f(0x1c8))['to'](_0x4262b4),_0x55c67[_0x545f3f(0x1af)][_0x545f3f(0x1cd)](_0x4597e0),_0x5c7cab[_0x545f3f(0x232)][_0x545f3f(0x22d)][_0x545f3f(0x1f8)](_0x55c67),_0xfdf480[_0x545f3f(0x22d)][_0x545f3f(0x1f8)](_0x5c7cab),_0x2ccac3[_0x545f3f(0x1af)][_0x545f3f(0x1f8)](_0xfdf480);}),_0x4262b4[_0x505a9c(0x232)][_0x505a9c(0x22d)][_0x505a9c(0x1f8)](_0x2ccac3);}[_0xee7ab2(0x229)]({command:_0x1afae6,commands:_0x3b2467,parentMenuView:_0xa2672e,onExecute:_0x2c23ef}){const _0x3364c1=_0xee7ab2,_0x4029cf=this[_0x3364c1(0x1d4)],_0x224926=_0x4029cf[_0x3364c1(0x1f3)];return U(_0x4029cf,_0x3b2467)[_0x3364c1(0x1e7)](_0xafed8d=>{const _0x48149d=_0x3364c1,_0x476023=new _0x483fa3(_0x224926,_0xa2672e),_0x215fe4=new _0x1254b8(_0x224926);return _0x215fe4[_0x48149d(0x22f)]({'label':_0xafed8d[_0x48149d(0x1a9)]}),_0x215fe4[_0x48149d(0x20c)](_0x48149d(0x1c8))['to'](_0xa2672e),_0x215fe4['on'](_0x48149d(0x1c8),()=>_0x2c23ef(_0xafed8d['id'])),_0x215fe4[_0x48149d(0x1d6)](_0x48149d(0x23a))['to'](_0x1afae6,_0x48149d(0x1f7),_0x22a69a=>_0x22a69a[_0x48149d(0x239)](_0xafed8d['id'])),_0x476023[_0x48149d(0x22d)][_0x48149d(0x1f8)](_0x215fe4),_0x476023;});}}function B(_0x33b7b3,_0x5a856e){const _0x4342af=_0xee7ab2;return void 0x0!==_0x33b7b3[_0x4342af(0x22a)]&&void 0x0===_0x5a856e[_0x4342af(0x22a)]?0x1:void 0x0===_0x33b7b3[_0x4342af(0x22a)]&&void 0x0!==_0x5a856e[_0x4342af(0x22a)]?-0x1:void 0x0!==_0x33b7b3[_0x4342af(0x22a)]&&void 0x0!==_0x5a856e[_0x4342af(0x22a)]?_0x33b7b3[_0x4342af(0x22a)]-_0x5a856e[_0x4342af(0x22a)]:0x0;}function U(_0xc06f2e,_0x3f7d8c){const _0x509922=_0xee7ab2;_0x3f7d8c[_0x509922(0x1c7)](B);const _0x237c76={},_0xadf798=[];for(const _0x48bc97 of _0x3f7d8c)if(void 0x0!==_0x48bc97[_0x509922(0x22a)]){if(_0x48bc97[_0x509922(0x22a)]in _0x237c76)throw new _0x4897a9(_0x509922(0x24a),_0xc06f2e,{'conflictingDefinitions':[_0x48bc97,_0x237c76[_0x48bc97[_0x509922(0x22a)]]]});_0x237c76[_0x48bc97[_0x509922(0x22a)]]=_0x48bc97,_0xadf798[_0x509922(0x1ae)](_0x48bc97[_0x509922(0x22a)],0x0,_0x48bc97);}else _0xadf798[_0x509922(0x242)](_0x48bc97);return _0xadf798;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x46ac40,_0x1943d4){var _0xe62abf=_0x5185,_0x296683=_0x46ac40();while(!![]){try{var _0x1aa9cb=-parseInt(_0xe62abf(0x1c1))/0x1*(parseInt(_0xe62abf(0x1b5))/0x2)+-parseInt(_0xe62abf(0x1ba))/0x3*(-parseInt(_0xe62abf(0x1b7))/0x4)+-parseInt(_0xe62abf(0x1b8))/0x5*(parseInt(_0xe62abf(0x1b6))/0x6)+-parseInt(_0xe62abf(0x1c0))/0x7*(parseInt(_0xe62abf(0x1bd))/0x8)+parseInt(_0xe62abf(0x1be))/0x9*(-parseInt(_0xe62abf(0x1bb))/0xa)+-parseInt(_0xe62abf(0x1bf))/0xb+-parseInt(_0xe62abf(0x1b9))/0xc*(-parseInt(_0xe62abf(0x1bc))/0xd);if(_0x1aa9cb===_0x1943d4)break;else _0x296683['push'](_0x296683['shift']());}catch(_0x296db3){_0x296683['push'](_0x296683['shift']());}}}(_0x59b1,0x86f50));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x59b1(){var _0x18a91f=['2egLimg','655258DrwvOP','6JuwUTk','900fCHScJ','2683745yWnppz','1632YUWyNi','150mjRycL','10OXQLqk','288938IcgpxE','424HIHwfz','8774919hwbaeN','832161aoEFqE','31507rfoZEZ'];_0x59b1=function(){return _0x18a91f;};return _0x59b1();}function _0x5185(_0x12ed6c,_0xc53de0){var _0x59b136=_0x59b1();return _0x5185=function(_0x518561,_0x25fb87){_0x518561=_0x518561-0x1b5;var _0x53d939=_0x59b136[_0x518561];return _0x53d939;},_0x5185(_0x12ed6c,_0xc53de0);}export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x584b(){var _0x3cd023=['47260116XKfGMG','6243395SIOWFu','1267485lTsOuH','10vOkDLd','3762832lpTgIf','6VeVXFb','10789450XBPbEv','21WIcUeX','5651992wyIXEw','359990bFGBXa'];_0x584b=function(){return _0x3cd023;};return _0x584b();}(function(_0x3f64db,_0x56bf47){var _0xb22092=_0x30ed,_0x5ceebe=_0x3f64db();while(!![]){try{var _0x50ba35=-parseInt(_0xb22092(0x70))/0x1+parseInt(_0xb22092(0x77))/0x2*(parseInt(_0xb22092(0x75))/0x3)+-parseInt(_0xb22092(0x72))/0x4+-parseInt(_0xb22092(0x6f))/0x5*(parseInt(_0xb22092(0x73))/0x6)+-parseInt(_0xb22092(0x74))/0x7+-parseInt(_0xb22092(0x76))/0x8+parseInt(_0xb22092(0x6e))/0x9*(parseInt(_0xb22092(0x71))/0xa);if(_0x50ba35===_0x56bf47)break;else _0x5ceebe['push'](_0x5ceebe['shift']());}catch(_0x3ede32){_0x5ceebe['push'](_0x5ceebe['shift']());}}}(_0x584b,0xc4de0));function _0x30ed(_0x3436b7,_0xfaf22e){var _0x584b83=_0x584b();return _0x30ed=function(_0x30edd2,_0x50a3fc){_0x30edd2=_0x30edd2-0x6e;var _0x1e552d=_0x584b83[_0x30edd2];return _0x1e552d;},_0x30ed(_0x3436b7,_0xfaf22e);}import{CKEditorError as _0x1229f1}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3fce5e=_0x3889;(function(_0xf0d8b7,_0x5387d2){const _0x26c04e=_0x3889,_0x174bc4=_0xf0d8b7();while(!![]){try{const _0x5bf377=-parseInt(_0x26c04e(0xcb))/0x1*(-parseInt(_0x26c04e(0xfe))/0x2)+parseInt(_0x26c04e(0xc7))/0x3+-parseInt(_0x26c04e(0xf4))/0x4*(-parseInt(_0x26c04e(0xc8))/0x5)+parseInt(_0x26c04e(0xd2))/0x6*(parseInt(_0x26c04e(0xe9))/0x7)+parseInt(_0x26c04e(0xe3))/0x8*(-parseInt(_0x26c04e(0xbc))/0x9)+-parseInt(_0x26c04e(0xef))/0xa+-parseInt(_0x26c04e(0xc3))/0xb;if(_0x5bf377===_0x5387d2)break;else _0x174bc4['push'](_0x174bc4['shift']());}catch(_0x48214e){_0x174bc4['push'](_0x174bc4['shift']());}}}(_0x128e,0xe73ad));import{ObservableMixin as _0x32e2b2}from'ckeditor5/src/utils.js';import{AIRequestError as _0x29a457}from'../adapters/aiadapter.js';function _0x3889(_0x48fb42,_0x479764){const _0x128ec5=_0x128e();return _0x3889=function(_0x388937,_0xaf4f43){_0x388937=_0x388937-0xb5;let _0x24c191=_0x128ec5[_0x388937];return _0x24c191;},_0x3889(_0x48fb42,_0x479764);}function _0x128e(){const _0x5c5c7e=['previousLabel','from','catch','name','<h1></h1>','body','trim','once','_parseAndNormalizeContent','459FgYjtu','value','previousActionId','view','render','rename','childNodes','33029260SQlAbO','substring','destroy','match','4111401kOPcOS','4880AqIzst','markers','stopListening','164277crWMpu','config','submitPrompt','editor','reset','stopProcessing','text/html','6HUdJSr','set','updateView','listenTo','previousContext','```html','editing','startProcessing','abort','initialContext','nodeType','_xmlSerializer','```','get','_normalizeResponseHeadings','element','_isH1TagSupportEnabled','106656BYHYur','prompt','currentContext','createElement','remove','push','11882577SAsRWx','ELEMENT_NODE','custom','clear','reverse','toModel','10954610zQIqwP','tryAgainEvent','parseFromString','previousQuery','mainAction','5504qDlONc','data','ai.aiAssistant.preserveComments','domConverter','serializeToString','processor','_sanitizationContainer','stringify','endsWith','_handleQuery','16ORROys','isProcessing','innerHTML','textAdapter','document','div','toView','viewToDom','startsWith','finally','isRendered','makeRequest','finishProcessing','_domParser','htmlProcessor','set:currentContext','handleError','querySelector','_sanitizeHTML','then','setContentOf','length','currentResponse','_stripMarkdownSyntax','message','exec'];_0x128e=function(){return _0x5c5c7e;};return _0x128e();}import{Matcher as _0x3c5b93,UpcastWriter as _0x50c0d5}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x32e2b2(){[_0x3fce5e(0xce)];[_0x3fce5e(0x101)];[_0x3fce5e(0xbf)];[_0x3fce5e(0xfa)];[_0x3fce5e(0x10b)];[_0x3fce5e(0xdd)];constructor(_0x117ece,_0x1f2001,_0x4002a6){const _0x1851b6=_0x3fce5e;super(),this[_0x1851b6(0xce)]=_0x117ece,this[_0x1851b6(0x101)]=_0x1f2001,this[_0x1851b6(0xfa)]=document[_0x1851b6(0xe6)](_0x1851b6(0x103)),this[_0x1851b6(0x10b)]=new DOMParser(),this[_0x1851b6(0xdd)]=new XMLSerializer(),this[_0x1851b6(0xbf)]=_0x4002a6,this[_0x1851b6(0xd3)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1851b6(0x10d),(_0x39536f,_0xb750da,_0x2d45fd)=>{const _0x3ec192=_0x1851b6;this[_0x3ec192(0xbf)][_0x3ec192(0xbd)]=this[_0x3ec192(0x110)](_0x2d45fd);}),this[_0x1851b6(0xd5)](this[_0x1851b6(0xbf)],_0x1851b6(0xcd),(_0x5b29a5,_0x39904b)=>{const _0x24c82c=_0x1851b6,_0x3e8a8f=this[_0x24c82c(0xe5)]||this[_0x24c82c(0xdb)];this[_0x24c82c(0xfd)](_0x39904b,_0x3e8a8f,_0x24c82c(0xeb));}),this[_0x1851b6(0xd5)](this[_0x1851b6(0xbf)],_0x1851b6(0xf0),()=>{const _0x57ba10=_0x1851b6;this[_0x57ba10(0xbf)][_0x57ba10(0xe4)]=this[_0x57ba10(0x118)],this[_0x57ba10(0xfd)](this[_0x57ba10(0xf2)],this[_0x57ba10(0xd6)],this[_0x57ba10(0xbe)],this[_0x57ba10(0x118)]);}),this[_0x1851b6(0xd5)](this[_0x1851b6(0xbf)],_0x1851b6(0xd0),()=>{const _0x117bfd=_0x1851b6;this[_0x117bfd(0xd0)]();});}[_0x3fce5e(0xc5)](){const _0x1be532=_0x3fce5e;this[_0x1be532(0xca)]();}async[_0x3fce5e(0xd4)]({actionId:_0x1e87ae,query:_0x1140fd,htmlContent:_0x3c985c,label:_0x28dfcd,mainActionLabel:_0x56f8bc}){const _0x56003f=_0x3fce5e;this[_0x56003f(0xbf)][_0x56003f(0xe4)]=_0x28dfcd,this[_0x56003f(0xbf)][_0x56003f(0xf3)]=_0x56f8bc,this[_0x56003f(0xdb)]=_0x3c985c,_0x1140fd&&(this[_0x56003f(0xbf)][_0x56003f(0x108)]?this[_0x56003f(0xfd)](_0x1140fd,_0x3c985c,_0x1e87ae,_0x28dfcd):this[_0x56003f(0xbf)][_0x56003f(0xba)](_0x56003f(0xc0),()=>{const _0x187075=_0x56003f;this[_0x187075(0xfd)](_0x1140fd,_0x3c985c,_0x1e87ae,_0x28dfcd);}));}[_0x3fce5e(0xd0)](){const _0x31e4fe=_0x3fce5e;this[_0x31e4fe(0xff)]&&(this[_0x31e4fe(0xff)]=!0x1,this[_0x31e4fe(0xbf)][_0x31e4fe(0x10a)](),this[_0x31e4fe(0x101)][_0x31e4fe(0xda)]());}[_0x3fce5e(0xcf)](){const _0x51a2d1=_0x3fce5e;this[_0x51a2d1(0xdb)]='',this[_0x51a2d1(0xe5)]='',this[_0x51a2d1(0x114)]='',this[_0x51a2d1(0xd6)]='',this[_0x51a2d1(0xf2)]='',this[_0x51a2d1(0x118)]='',this[_0x51a2d1(0xbe)]=void 0x0,this[_0x51a2d1(0xbf)][_0x51a2d1(0xcf)](),this[_0x51a2d1(0xd0)]();}async[_0x3fce5e(0xfd)](_0x18cc4d,_0x1a5aba,_0x12e576,_0x2b857d){const _0x5772b7=_0x3fce5e;return this[_0x5772b7(0xff)]=!0x0,this[_0x5772b7(0xbf)][_0x5772b7(0xd9)](),this[_0x5772b7(0xd6)]=_0x1a5aba,this[_0x5772b7(0xf2)]=_0x18cc4d,this[_0x5772b7(0x118)]=_0x2b857d||_0x18cc4d,this[_0x5772b7(0xbe)]=_0x12e576,new Promise(_0x36468a=>{const _0x1b9988=_0x5772b7;this[_0x1b9988(0x101)][_0x1b9988(0x109)]({'query':_0x18cc4d,'context':_0x1a5aba,'onData':_0x1190fe=>{const _0x1aeb20=_0x1b9988;this[_0x1aeb20(0x114)]=_0x1190fe,this[_0x1aeb20(0xe5)]=this[_0x1aeb20(0xbb)](this[_0x1aeb20(0x114)]);},'actionId':_0x12e576})[_0x1b9988(0x111)](()=>{const _0x4aa327=_0x1b9988;!this[_0x4aa327(0xe5)]&&this[_0x4aa327(0x114)]&&(this[_0x4aa327(0xe5)]=this[_0x4aa327(0xbb)](this[_0x4aa327(0x114)],!0x0));})[_0x1b9988(0xb5)](_0x3cf408=>{const _0x3e1c1c=_0x1b9988;_0x3cf408 instanceof _0x29a457?this[_0x3e1c1c(0xbf)][_0x3e1c1c(0x10e)](_0x3cf408[_0x3e1c1c(0x116)]):this[_0x3e1c1c(0xbf)][_0x3e1c1c(0x10e)](),_0x36468a();})[_0x1b9988(0x107)](()=>{const _0x519a96=_0x1b9988;this[_0x519a96(0xd0)](),_0x36468a();});});}[_0x3fce5e(0xbb)](_0x3ce6d8,_0x331b05=!0x1){const _0x205564=_0x3fce5e,_0x54d406=Z[_0x205564(0x117)](_0x3ce6d8);_0x3ce6d8=_0x54d406?_0x3ce6d8[_0x205564(0xc4)](_0x54d406[0x1][_0x205564(0x113)]):_0x3ce6d8[_0x205564(0x113)]<0x64&&!_0x331b05?'':this[_0x205564(0x115)](_0x3ce6d8);const _0xfcd856=this[_0x205564(0x10b)][_0x205564(0xf1)](_0x3ce6d8,_0x205564(0xd1));if(_0x54d406){const _0x44262c=Array[_0x205564(0x119)](_0xfcd856[_0x205564(0xb8)][_0x205564(0xc2)]);_0x44262c[_0x205564(0xed)]();for(const _0x5a9703 of _0x44262c){if(_0x5a9703[_0x205564(0xdc)]==Node[_0x205564(0xea)])break;_0x5a9703[_0x205564(0xe7)]();}}const _0x3d9d7e=this[_0x205564(0xce)][_0x205564(0xf5)][_0x205564(0xf9)][_0x205564(0x104)](this[_0x205564(0xdd)][_0x205564(0xf8)](_0xfcd856[_0x205564(0xb8)]));this[_0x205564(0xe2)]()||this[_0x205564(0xe0)](_0x3d9d7e);const _0x1fd692=this[_0x205564(0xce)][_0x205564(0xcc)][_0x205564(0xdf)](_0x205564(0xf6)),_0x277538=this[_0x205564(0xce)][_0x205564(0xf5)][_0x205564(0xee)](_0x3d9d7e);return _0x1fd692||_0x277538[_0x205564(0xc9)][_0x205564(0xec)](),this[_0x205564(0xce)][_0x205564(0xf5)][_0x205564(0xfb)](_0x277538);}[_0x3fce5e(0xe0)](_0x1277f6){const _0x56f6f9=_0x3fce5e,_0x32ff3c=new _0x50c0d5(this[_0x56f6f9(0xce)][_0x56f6f9(0xd8)][_0x56f6f9(0xbf)][_0x56f6f9(0x102)]),_0x39e74c=new _0x3c5b93({'name':/^h[1-5]$/}),_0x3aceb4=[];let _0x53d4a2=!0x1;for(const _0xf457d9 of _0x1277f6)_0xf457d9['is'](_0x56f6f9(0xe1))&&_0x39e74c[_0x56f6f9(0xc6)](_0xf457d9)&&(_0x3aceb4[_0x56f6f9(0xe8)](_0xf457d9),'h1'==_0xf457d9[_0x56f6f9(0xb6)]&&(_0x53d4a2=!0x0));if(_0x53d4a2){for(const _0x1c7e49 of _0x3aceb4)_0x32ff3c[_0x56f6f9(0xc1)]('h'+(parseInt(_0x1c7e49[_0x56f6f9(0xb6)][0x1])+0x1),_0x1c7e49);}}[_0x3fce5e(0xe2)](){const _0x251182=_0x3fce5e,{data:_0x339cf2,editing:_0x1f7f08}=this[_0x251182(0xce)],_0x169808=_0x339cf2[_0x251182(0x10c)][_0x251182(0x104)](_0x251182(0xb7)),_0x41e8f9=_0x339cf2[_0x251182(0x104)](_0x339cf2[_0x251182(0xee)](_0x169808));return!!_0x1f7f08[_0x251182(0xbf)][_0x251182(0xf7)][_0x251182(0x105)](_0x41e8f9)[_0x251182(0x10f)]('h1');}[_0x3fce5e(0x110)](_0x528db1){const _0x2c90e2=_0x3fce5e;return this[_0x2c90e2(0xce)][_0x2c90e2(0xd8)][_0x2c90e2(0xbf)][_0x2c90e2(0xf7)][_0x2c90e2(0x112)](this[_0x2c90e2(0xfa)],_0x528db1),this[_0x2c90e2(0xfa)][_0x2c90e2(0x100)];}[_0x3fce5e(0x115)](_0x58d956){const _0x367e68=_0x3fce5e,_0x2d3b6b=_0x58d956[_0x367e68(0xb9)]();return _0x2d3b6b[_0x367e68(0x106)](_0x367e68(0xd7))?_0x2d3b6b[_0x367e68(0xfc)](_0x367e68(0xde))?_0x2d3b6b[_0x367e68(0xc4)](0x7,_0x2d3b6b[_0x367e68(0x113)]-0x3):_0x2d3b6b[_0x367e68(0xc4)](0x7):_0x58d956;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x219a71=_0x54a2;(function(_0x3ed1b8,_0x29ff3c){const _0x317ad3=_0x54a2,_0x54b2d4=_0x3ed1b8();while(!![]){try{const _0x190a5d=-parseInt(_0x317ad3(0x1f5))/0x1*(-parseInt(_0x317ad3(0x216))/0x2)+parseInt(_0x317ad3(0x1d1))/0x3+-parseInt(_0x317ad3(0x1e7))/0x4*(parseInt(_0x317ad3(0x1f6))/0x5)+parseInt(_0x317ad3(0x1da))/0x6+parseInt(_0x317ad3(0x202))/0x7+parseInt(_0x317ad3(0x1d4))/0x8*(-parseInt(_0x317ad3(0x20f))/0x9)+parseInt(_0x317ad3(0x213))/0xa;if(_0x190a5d===_0x29ff3c)break;else _0x54b2d4['push'](_0x54b2d4['shift']());}catch(_0x1b339b){_0x54b2d4['push'](_0x54b2d4['shift']());}}}(_0x4a07,0x7b154));import{global as _0x3bb376}from'ckeditor5/src/utils.js';import{View as _0x5355bf,ButtonView as _0x7650c1,SpinnerView as _0x2d4b9c}from'ckeditor5/src/ui.js';import{IconCheck as _0x224b51,IconCopy as _0x5602c6}from'ckeditor5/src/icons.js';import{getTranslation as _0x4688db}from'../../utils/common-translations.js';function _0x4a07(){const _0x33f509=['isProcessing','removeAllRanges','copy','1210440unOLrT','ClipboardItem','firstElementChild','92744qyFSeW','_createLoader','ck-ai-form__content-field','ck-ai-form__content-area--processing','\x20ck-ai-form__copy-button--copied','setTemplate','1763202OeBZdw','createRange','icon','position','ck-ai-form__copy-button-wrapper','remove','createElement','loaderView','bind','ck-reset_all-excluded','value','copyButtonView','appendLoader','16XenESv','bindTemplate','scrollTo','change:isProcessing','text/plain','scrollHeight','getSelection','style','div','ck-hidden','isVisible','setContent','body','ck-ai-form__content-area','119EOUHtp','1175145KyvDFy','_copyHTMLToClipboard','setStartAfter','ck-ai-form__content-area-wrapper','render','<span>]</span>','execCommand','class','element','execute','left','lastElementChild','4797037kZcOcG','querySelector','mousedown','text/html','_createCopyButton','addRange','Copy','locale','textContent','absolute','-9999px','listenTo','set','171vbjHeE','.ck-ai-form__loader','<span>[</span>','smooth','1506360vunHUo','ck-ai-form__loader','ck-ai-form__copy-button','2206BsoGSb','focus','ck-content','innerHTML','change:value','isEnabled','write','setEndBefore','appendChild','clipboard','wheel','AI\x20is\x20writing...','contentFieldView'];_0x4a07=function(){return _0x33f509;};return _0x4a07();}function _0x54a2(_0x50d2de,_0xfb30be){const _0x4a0792=_0x4a07();return _0x54a2=function(_0x54a288,_0x5a8031){_0x54a288=_0x54a288-0x1ce;let _0x112018=_0x4a0792[_0x54a288];return _0x112018;},_0x54a2(_0x50d2de,_0xfb30be);}export default class Y extends _0x5355bf{[_0x219a71(0x222)];[_0x219a71(0x1e5)];constructor(_0x5f3ec4,_0x450501=''){const _0x106ccd=_0x219a71;super(_0x5f3ec4),this[_0x106ccd(0x20e)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x907d12=this[_0x106ccd(0x1e8)];this[_0x106ccd(0x222)]=new ContentFieldView(_0x5f3ec4,_0x450501),this[_0x106ccd(0x1e5)]=this[_0x106ccd(0x206)](),this[_0x106ccd(0x1d9)]({'tag':_0x106ccd(0x1ef),'attributes':{'class':['ck',_0x106ccd(0x1f9),_0x907d12['if'](_0x106ccd(0x1f1),_0x106ccd(0x1f0),_0x4ac4a2=>!_0x4ac4a2)],'tabindex':'-1'},'children':[{'tag':_0x106ccd(0x1ef),'attributes':{'class':['ck',_0x106ccd(0x1f4),_0x907d12['if'](_0x106ccd(0x1ce),_0x106ccd(0x1d7))]},'children':[this[_0x106ccd(0x222)],{'tag':_0x106ccd(0x1ef),'attributes':{'class':['ck',_0x106ccd(0x1de)]},'children':[this[_0x106ccd(0x1e5)]]}]}]});}[_0x219a71(0x1fa)](){const _0x541c57=_0x219a71;super[_0x541c57(0x1fa)](),this[_0x541c57(0x1e4)]&&this[_0x541c57(0x222)][_0x541c57(0x1f2)](this[_0x541c57(0x1e4)]);let _0x826832=!0x1;this['on'](_0x541c57(0x21a),(_0x54bdec,_0x1eaddc,_0xd13182)=>{const _0x91d78c=_0x541c57,_0x3457ec=!this[_0x91d78c(0x222)][_0x91d78c(0x1fe)][_0x91d78c(0x203)](_0x91d78c(0x210));this[_0x91d78c(0x222)][_0x91d78c(0x1f2)](_0xd13182),this[_0x91d78c(0x1ce)]&&_0x3457ec&&!_0x826832&&this[_0x91d78c(0x1fe)][_0x91d78c(0x1e9)]({'top':this[_0x91d78c(0x1fe)][_0x91d78c(0x1ec)],'behavior':_0x91d78c(0x212)});}),this['on'](_0x541c57(0x1ea),(_0x301add,_0x166abf,_0x463f85)=>{const _0x3e78a0=_0x541c57;_0x826832=!0x1,_0x463f85?(this[_0x3e78a0(0x1e4)]=null,this[_0x3e78a0(0x222)][_0x3e78a0(0x1e6)]()):this[_0x3e78a0(0x1e4)]||this[_0x3e78a0(0x222)][_0x3e78a0(0x1f2)]('');}),this[_0x541c57(0x20d)](this[_0x541c57(0x1fe)],_0x541c57(0x220),()=>{_0x826832=!0x0;}),this[_0x541c57(0x20d)](this[_0x541c57(0x1fe)],_0x541c57(0x204),()=>{_0x826832=!0x0;});}[_0x219a71(0x217)](){const _0x1b75fa=_0x219a71;this[_0x1b75fa(0x1fe)][_0x1b75fa(0x217)]();}[_0x219a71(0x206)](){const _0x2db7af=_0x219a71,_0x442f02=this[_0x2db7af(0x209)],_0x4249ab=new _0x7650c1(this[_0x2db7af(0x209)]),_0xd88ddd=_0x2db7af(0x215);return _0x4249ab[_0x2db7af(0x20e)]({'label':_0x4688db(_0x442f02,_0x2db7af(0x208)),'icon':_0x5602c6,'class':_0xd88ddd,'tooltip':!0x0}),_0x4249ab[_0x2db7af(0x1e2)](_0x2db7af(0x1f1))['to'](this,_0x2db7af(0x1e4),_0x516259=>!!_0x516259),_0x4249ab[_0x2db7af(0x1e2)](_0x2db7af(0x21b))['to'](this,_0x2db7af(0x1ce),_0x441e8b=>!_0x441e8b),_0x4249ab['on'](_0x2db7af(0x1ff),()=>{const _0x104b75=_0x2db7af;this[_0x104b75(0x1f7)](this[_0x104b75(0x222)][_0x104b75(0x1fe)]),_0x4249ab[_0x104b75(0x1dc)]=_0x224b51,_0x4249ab[_0x104b75(0x1fd)]=_0xd88ddd+_0x104b75(0x1d8),this[_0x104b75(0x217)](),setTimeout(()=>{const _0x8d66d3=_0x104b75;_0x4249ab[_0x8d66d3(0x1dc)]=_0x5602c6,_0x4249ab[_0x8d66d3(0x1fd)]=_0xd88ddd;},0x3e8);}),_0x4249ab;}[_0x219a71(0x1f7)](_0x3c2215){const _0x570df2=_0x219a71,{window:_0x3b61a5,document:_0x3f142b}=_0x3bb376;if(_0x3b61a5[_0x570df2(0x1d2)]){const {Blob:_0x194e56,ClipboardItem:_0x1868f2}=_0x3b61a5,_0x124a3a=[new _0x1868f2({'text/html':new _0x194e56([_0x3c2215[_0x570df2(0x219)]],{'type':_0x570df2(0x205)}),'text/plain':new _0x194e56([_0x3c2215[_0x570df2(0x20a)]||''],{'type':_0x570df2(0x1eb)})})];navigator[_0x570df2(0x21f)][_0x570df2(0x21c)](_0x124a3a);}else{const _0x570a34=_0x3f142b[_0x570df2(0x1e0)](_0x570df2(0x1ef));_0x570a34[_0x570df2(0x1ee)][_0x570df2(0x1dd)]=_0x570df2(0x20b),_0x570a34[_0x570df2(0x1ee)][_0x570df2(0x200)]=_0x570df2(0x20c),_0x570a34[_0x570df2(0x219)]=_0x570df2(0x211)+_0x3c2215[_0x570df2(0x219)]+_0x570df2(0x1fb),_0x3f142b[_0x570df2(0x1f3)][_0x570df2(0x21e)](_0x570a34);const _0x2726eb=_0x3f142b[_0x570df2(0x1db)]();_0x2726eb[_0x570df2(0x1f8)](_0x570a34[_0x570df2(0x1d3)]),_0x2726eb[_0x570df2(0x21d)](_0x570a34[_0x570df2(0x201)]);const _0x1e681f=_0x3b61a5[_0x570df2(0x1ed)]();_0x1e681f[_0x570df2(0x1cf)](),_0x1e681f[_0x570df2(0x207)](_0x2726eb),_0x3f142b[_0x570df2(0x1fc)](_0x570df2(0x1d0)),_0x570a34[_0x570df2(0x1df)]();}}}export class ContentFieldView extends _0x5355bf{constructor(_0x9fd218,_0x2d7642=''){const _0x354c8e=_0x219a71;super(_0x9fd218),this[_0x354c8e(0x1e1)]=this[_0x354c8e(0x1d5)](),this[_0x354c8e(0x1d9)]({'tag':_0x354c8e(0x1ef),'attributes':{'class':['ck',_0x354c8e(0x218),_0x2d7642,_0x354c8e(0x1e3),_0x354c8e(0x1d6)]}});}[_0x219a71(0x1f2)](_0x93bbd1){const _0x5233d1=_0x219a71;this[_0x5233d1(0x1fe)][_0x5233d1(0x219)]=_0x93bbd1;}[_0x219a71(0x1e6)](){const _0x4b19d6=_0x219a71;this[_0x4b19d6(0x1fe)][_0x4b19d6(0x21e)](this[_0x4b19d6(0x1e1)][_0x4b19d6(0x1fe)]);}[_0x219a71(0x1d5)](){const _0x4dd5ca=_0x219a71,_0x14a0d1=new _0x5355bf(),_0x2d2919=this[_0x4dd5ca(0x209)],_0x25c4fe=new _0x2d4b9c();return _0x25c4fe[_0x4dd5ca(0x1f1)]=!0x0,_0x14a0d1[_0x4dd5ca(0x1d9)]({'tag':_0x4dd5ca(0x1ef),'attributes':{'class':['ck',_0x4dd5ca(0x214)]},'children':[_0x25c4fe,{'text':_0x4688db(_0x2d2919,_0x4dd5ca(0x221))}]}),_0x14a0d1[_0x4dd5ca(0x1fa)](),_0x14a0d1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x21b7(_0x519481,_0x112075){const _0x4644f8=_0x4644();return _0x21b7=function(_0x21b7f9,_0x1f3ac5){_0x21b7f9=_0x21b7f9-0x18f;let _0x29c0eb=_0x4644f8[_0x21b7f9];return _0x29c0eb;},_0x21b7(_0x519481,_0x112075);}function _0x4644(){const _0x11f659=['2274VQpYmT','2587050RqFxFM','1414352zIDDyz','set','12tlJzuq','1069776KzZfOc','7430ZlmkyH','176574hlfnsf','ck-ai-form__error','3370808cULpMH','text','div','setTemplate','bindTemplate','1777224RkfONQ','content'];_0x4644=function(){return _0x11f659;};return _0x4644();}(function(_0x51bafc,_0x12b52c){const _0x3403af=_0x21b7,_0x170f9a=_0x51bafc();while(!![]){try{const _0x199df7=parseInt(_0x3403af(0x19e))/0x1*(parseInt(_0x3403af(0x19b))/0x2)+-parseInt(_0x3403af(0x198))/0x3+parseInt(_0x3403af(0x199))/0x4+-parseInt(_0x3403af(0x19d))/0x5*(parseInt(_0x3403af(0x197))/0x6)+parseInt(_0x3403af(0x190))/0x7+parseInt(_0x3403af(0x195))/0x8+-parseInt(_0x3403af(0x19c))/0x9;if(_0x199df7===_0x12b52c)break;else _0x170f9a['push'](_0x170f9a['shift']());}catch(_0x4a27b3){_0x170f9a['push'](_0x170f9a['shift']());}}}(_0x4644,0x8bba1));import{IconError as _0x574f5d}from'ckeditor5/src/icons.js';import{View as _0x347be9,IconView as _0x6d2726}from'ckeditor5/src/ui.js';export default class st extends _0x347be9{constructor(_0x39e510,_0x2628a4=''){const _0x2e30ef=_0x21b7;super(_0x39e510);const _0x4cfbe0=new _0x6d2726(),_0x43bc22=this[_0x2e30ef(0x194)];this[_0x2e30ef(0x19a)](_0x2e30ef(0x191),_0x2628a4),_0x4cfbe0[_0x2e30ef(0x196)]=_0x574f5d,this[_0x2e30ef(0x193)]({'tag':_0x2e30ef(0x192),'attributes':{'class':['ck',_0x2e30ef(0x18f)]},'children':[_0x4cfbe0,{'text':_0x43bc22['to'](_0x2e30ef(0x191))}]});}}
|