@ckeditor/ckeditor5-ai 44.0.0-alpha.7 → 44.0.0-alpha.8
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/LICENSE.md +3 -3
- package/README.md +5 -4
- 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/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 +8 -8
- 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 _0x26f9b0=_0x4e4b;(function(_0x499cd7,_0x3a9413){const _0x171e4c=_0x4e4b,_0x8dd86=_0x499cd7();while(!![]){try{const _0x2b8ca9=-parseInt(_0x171e4c(0xd9))/0x1*(-parseInt(_0x171e4c(0xbe))/0x2)+parseInt(_0x171e4c(0x102))/0x3+parseInt(_0x171e4c(0xed))/0x4*(-parseInt(_0x171e4c(0x104))/0x5)+parseInt(_0x171e4c(0xb0))/0x6*(-parseInt(_0x171e4c(0xe6))/0x7)+-parseInt(_0x171e4c(0xee))/0x8+parseInt(_0x171e4c(0xf6))/0x9+parseInt(_0x171e4c(0xca))/0xa;if(_0x2b8ca9===_0x3a9413)break;else _0x8dd86['push'](_0x8dd86['shift']());}catch(_0x56d244){_0x8dd86['push'](_0x8dd86['shift']());}}}(_0x3439,0xc3ea4));import{Plugin as _0x3181c0}from'ckeditor5/src/core.js';import _0x48d954 from'./aiassistantui.js';import _0x3ac411 from'./aiassistantediting.js';function _0x4e4b(_0x4c05d6,_0xda057){const _0x343987=_0x3439();return _0x4e4b=function(_0x4e4bf0,_0x304a9c){_0x4e4bf0=_0x4e4bf0-0xb0;let _0x3608be=_0x343987[_0x4e4bf0];return _0x3608be;},_0x4e4b(_0x4c05d6,_0xda057);}import{getTranslation as _0x42ce46}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x51b27a}from'./utils/normalizecommandsconfig.js';function _0x3439(){const _0x3b6547=['Journalism','config','66728ZBzbzz','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Change\x20style','locale','professional','AIAssistant','Generate\x20from\x20selection','confident','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Legal','Direct','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','21084910txNAOZ','filter','requires','groupId','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Summarize','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','changeTone','isOfficialPlugin','Simplified\x20Chinese','direct','isPremiumPlugin','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','translateChinese','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','31FQLlrF','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Friendly','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','summarize','business','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','German','Confident','Make\x20shorter','259btJRyg','translatePortuguese','Poetic','find','Translate','makeLonger','continue','1152092jxRUTp','4596376IfDZkI','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','friendly','poetic','translateSpanish','journalism','Improve\x20writing','Translate\x20the\x20content\x20to\x20French\x20language.','2747376ZeTIbW','generate','changeStyle','Change\x20tone','Arabic','Translate\x20the\x20content\x20to\x20English\x20language.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','translateArabic','Simplify\x20language','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Make\x20longer','English','2709888tNnBjl','includes','25nXUufW','casual','push','French','commands','Spanish','get','simplifyLanguage','translateHindi','Continue','Edit\x20or\x20review','editOrReview','Hindi','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Casual','makeShorter','concat','Portuguese','set','translateEnglish','translateFrench','legal','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','ai.aiAssistant.removeCommands','Business','Translate\x20the\x20content\x20to\x20German\x20language.','248790ERylyR','ai.aiAssistant.commands','forEach','translateGerman','Professional','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','ai.aiAssistant.extraCommandGroups','improveWriting','define','pluginName','translate'];_0x3439=function(){return _0x3b6547;};return _0x3439();}export default class r extends _0x3181c0{static get[_0x26f9b0(0xcc)](){return[_0x48d954,_0x3ac411];}static get[_0x26f9b0(0xba)](){const _0x2d5efe=_0x26f9b0;return _0x2d5efe(0xc3);}static get[_0x26f9b0(0xd2)](){return!0x0;}static get[_0x26f9b0(0xd5)](){return!0x0;}constructor(_0x5ac986){const _0xdda2b8=_0x26f9b0;super(_0x5ac986);const _0x23087e=_0x5ac986[_0xdda2b8(0xbd)],_0x121c4c=_0x5ac986[_0xdda2b8(0xc1)];_0x23087e[_0xdda2b8(0xb9)](_0xdda2b8(0xb1),getDefaultCommands(_0x121c4c)),_0x23087e[_0xdda2b8(0xb9)](_0xdda2b8(0xb7),[]),_0x23087e[_0xdda2b8(0xb9)](_0xdda2b8(0x11b),[]);const _0x39faea=_0x51b27a(_0x23087e[_0xdda2b8(0x10a)](_0xdda2b8(0xb1)),_0x121c4c),_0x448e8a=_0x23087e[_0xdda2b8(0x10a)](_0xdda2b8(0xb7)),_0x1cdd00=_0x23087e[_0xdda2b8(0x10a)](_0xdda2b8(0x11b));_0x448e8a[_0xdda2b8(0xb2)](_0x4d9d72=>{const _0x28965f=_0xdda2b8,_0x5dd3c3=_0x39faea[_0x28965f(0xe9)](_0x267d1e=>_0x267d1e[_0x28965f(0xcd)]===_0x4d9d72[_0x28965f(0xcd)]);_0x5dd3c3?_0x5dd3c3[_0x28965f(0x108)]=_0x5dd3c3[_0x28965f(0x108)][_0x28965f(0x114)](_0x4d9d72[_0x28965f(0x108)]):_0x39faea[_0x28965f(0x106)](_0x4d9d72);}),_0x39faea[_0xdda2b8(0xb2)](_0x2715c4=>{const _0x3e3f51=_0xdda2b8;_0x2715c4[_0x3e3f51(0x108)]=_0x2715c4[_0x3e3f51(0x108)][_0x3e3f51(0xcb)](_0x761087=>!_0x1cdd00[_0x3e3f51(0x103)](_0x761087['id']));}),_0x23087e[_0xdda2b8(0x116)](_0xdda2b8(0xb1),_0x39faea);}}export function getDefaultCommands(_0x4da47c){const _0xf86c1d=_0x26f9b0;return[{'groupId':_0xf86c1d(0x10f),'groupLabel':_0x42ce46(_0x4da47c,_0xf86c1d(0x10e)),'commands':[{'id':_0xf86c1d(0xb8),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xf4)),'prompt':_0xf86c1d(0xbf)},{'id':_0xf86c1d(0x113),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xe5)),'prompt':_0xf86c1d(0xe1)},{'id':_0xf86c1d(0xeb),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0x100)),'prompt':_0xf86c1d(0xd8)},{'id':_0xf86c1d(0x10b),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xfe)),'prompt':_0xf86c1d(0xd6)}]},{'groupId':_0xf86c1d(0xf7),'groupLabel':_0x42ce46(_0x4da47c,_0xf86c1d(0xc4)),'commands':[{'id':_0xf86c1d(0xdf),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xcf)),'prompt':_0xf86c1d(0xdd)},{'id':_0xf86c1d(0xec),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0x10d)),'prompt':_0xf86c1d(0xdb)}]},{'groupId':_0xf86c1d(0xd1),'groupLabel':_0x42ce46(_0x4da47c,_0xf86c1d(0xf9)),'commands':[{'id':_0xf86c1d(0xc2),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xb4)),'prompt':_0xf86c1d(0xc9)},{'id':_0xf86c1d(0x105),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0x112)),'prompt':_0xf86c1d(0xc6)},{'id':_0xf86c1d(0xd4),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xc8)),'prompt':_0xf86c1d(0xe2)},{'id':_0xf86c1d(0xc5),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xe4)),'prompt':_0xf86c1d(0xef)},{'id':_0xf86c1d(0xf0),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xdc)),'prompt':_0xf86c1d(0xde)}]},{'groupId':_0xf86c1d(0xf8),'groupLabel':_0x42ce46(_0x4da47c,_0xf86c1d(0xc0)),'commands':[{'id':_0xf86c1d(0xe0),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0x11c)),'prompt':_0xf86c1d(0xb5)},{'id':_0xf86c1d(0x119),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xc7)),'prompt':_0xf86c1d(0xb6)},{'id':_0xf86c1d(0xf3),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xbc)),'prompt':_0xf86c1d(0xff)},{'id':_0xf86c1d(0xf1),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xe8)),'prompt':_0xf86c1d(0x11a)}]},{'groupId':_0xf86c1d(0xbb),'groupLabel':_0x42ce46(_0x4da47c,_0xf86c1d(0xea)),'commands':[{'id':_0xf86c1d(0x117),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0x101)),'prompt':_0xf86c1d(0xfb)},{'id':_0xf86c1d(0xf2),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0x109)),'prompt':_0xf86c1d(0x111)},{'id':_0xf86c1d(0xe7),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0x115)),'prompt':_0xf86c1d(0xd0)},{'id':_0xf86c1d(0xb3),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xe3)),'prompt':_0xf86c1d(0x11d)},{'id':_0xf86c1d(0x118),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0x107)),'prompt':_0xf86c1d(0xf5)},{'id':_0xf86c1d(0xd7),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xd3)),'prompt':_0xf86c1d(0xfc)},{'id':_0xf86c1d(0x10c),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0x110)),'prompt':_0xf86c1d(0xda)},{'id':_0xf86c1d(0xfd),'label':_0x42ce46(_0x4da47c,_0xf86c1d(0xfa)),'prompt':_0xf86c1d(0xce)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3eb84e=_0x24d3;function _0x4b2e(){const _0x18705b=['editingDowncast','afterInit','data','2650965vwtnPL','join','push','start','markerToElement','fromCharCode','insertContentBelow','conversion','updateMarker','ck-fake-ai-selection_collapsed','getLastMatchingPosition','setSelection','hideFakeVisualSelection','init','pop','addMarker','href','canEditAt','createUIElement','for','1325DBokec','createSelection','isAtEnd','from','AIAssistantEditing','isCollapsed','markers','showFakeVisualSelection','processor','toView','37623304wdcvNd','isPremiumPlugin','toModel','isOfficialPlugin','insertContent','12428920ZbSEQb','getFirstRange','span','length','ai.useTheme','15882hNoKUt','getSelectedBlocks','pluginName','createRange','end','addClass','model','selection','1010984KHCGSG','has','createPositionAfter','ai-ui','document','markerRange','get','markerToHighlight','207072foVfuJ','getLastPosition','getRange','schema','isContent','removeMarker','change','map','1675348FMQibv','ck-ai-assistant-ui_theme','config','ck-fake-ai-selection','editor'];_0x4b2e=function(){return _0x18705b;};return _0x4b2e();}(function(_0x119328,_0x3d7ffa){const _0x44288c=_0x24d3,_0x2c47b4=_0x119328();while(!![]){try{const _0x2a9faf=-parseInt(_0x44288c(0x196))/0x1+-parseInt(_0x44288c(0x1a6))/0x2+-parseInt(_0x44288c(0x1ae))/0x3+parseInt(_0x44288c(0x19e))/0x4+-parseInt(_0x44288c(0x1c2))/0x5*(-parseInt(_0x44288c(0x18e))/0x6)+-parseInt(_0x44288c(0x1d1))/0x7+parseInt(_0x44288c(0x1cc))/0x8;if(_0x2a9faf===_0x3d7ffa)break;else _0x2c47b4['push'](_0x2c47b4['shift']());}catch(_0x3cec73){_0x2c47b4['push'](_0x2c47b4['shift']());}}}(_0x4b2e,0xe7827));function _0x24d3(_0x269880,_0x3f834a){const _0x4b2e9c=_0x4b2e();return _0x24d3=function(_0x24d349,_0x365e71){_0x24d349=_0x24d349-0x18a;let _0x321bb9=_0x4b2e9c[_0x24d349];return _0x321bb9;},_0x24d3(_0x269880,_0x3f834a);}import{uid as _0x45a3b0}from'ckeditor5/src/utils.js';import{Plugin as _0x2bbe5f}from'ckeditor5/src/core.js';const u=_0x3eb84e(0x199);export default class a extends _0x2bbe5f{static get[_0x3eb84e(0x190)](){const _0x315c72=_0x3eb84e;return _0x315c72(0x1c6);}static get[_0x3eb84e(0x1cf)](){return!0x0;}static get[_0x3eb84e(0x1cd)](){return!0x0;}[_0x3eb84e(0x1bb)](){const _0x5640d1=_0x3eb84e,{editor:_0x50c7e0}=this,_0x255a81=[_0x5640d1(0x1a9)];_0x50c7e0[_0x5640d1(0x1a8)][_0x5640d1(0x19c)](_0x5640d1(0x18d))&&_0x255a81[_0x5640d1(0x1b0)](_0x5640d1(0x1a7)),_0x50c7e0[_0x5640d1(0x1b5)][_0x5640d1(0x1c1)](_0x5640d1(0x1ab))[_0x5640d1(0x19d)]({'model':u,'view':{'classes':_0x255a81,'priority':0xc}}),_0x50c7e0[_0x5640d1(0x1b5)][_0x5640d1(0x1c1)](_0x5640d1(0x1ab))[_0x5640d1(0x1b2)]({'model':u,'view':(_0x3b2ea3,{writer:_0x4793e6})=>{const _0x25c6ef=_0x5640d1;if(!_0x3b2ea3[_0x25c6ef(0x19b)][_0x25c6ef(0x1c7)])return null;const _0x26c473=_0x4793e6[_0x25c6ef(0x1c0)](_0x25c6ef(0x18b));return _0x4793e6[_0x25c6ef(0x193)]([_0x25c6ef(0x1a9),_0x25c6ef(0x1b7)],_0x26c473),_0x26c473;}});}[_0x3eb84e(0x1ac)](){!async function(_0x539f8e){const _0x10af4f=_0x50d82b([0x76,0x6b,0x77,0x75,0x64,0x74,0x31,0x67,0x65,0x6e,0x50,0x33,0x69,0x41,0x44,0x52,0x4c,0x6a,0x53,0x4f,0x43,0x55,0x56,0x4e,0x6c,0x72,0x57,0x73,0x66,0x4a,0x38,0x49,0x45,0x54,0x47,0x42,0x39,0x68,0x6d,0x4b,0x37,0x61,0x34,0x7a,0x36,0x79,0x6f,0x51,0x32,0x78,0x58,0x63,0x62,0x35,0x30,0x5a,0x4d,0x48,0x59,0x46,0x71,0x70]),_0x26b46a=0x7799b3ba,_0x4ae2b5=0x779eebaa^_0x26b46a,_0x25bbc4=window[_0x50d82b([0x44,0x61,0x74,0x65])][_0x50d82b([0x6e,0x6f,0x77])](),_0x4f0266=_0x539f8e[_0x50d82b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ca402=new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe71cf6=>{_0x4f0266[_0x50d82b([0x6f,0x6e,0x63,0x65])](_0x50d82b([0x72,0x65,0x61,0x64,0x79]),_0xe71cf6);}),_0x4e2eb8={[_0x50d82b([0x6b,0x74,0x79])]:_0x50d82b([0x45,0x43]),[_0x50d82b([0x75,0x73,0x65])]:_0x50d82b([0x73,0x69,0x67]),[_0x50d82b([0x63,0x72,0x76])]:_0x50d82b([0x50,0x2d,0x32,0x35,0x36]),[_0x50d82b([0x78])]:_0x50d82b([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]),[_0x50d82b([0x79])]:_0x50d82b([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]),[_0x50d82b([0x61,0x6c,0x67])]:_0x50d82b([0x45,0x53,0x32,0x35,0x36])},_0x2012c3=_0x4f0266[_0x50d82b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50d82b([0x67,0x65,0x74])](_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f9e62(){let _0x4eeb21,_0xfffb89=null,_0x19d019=null;try{if(_0x2012c3==_0x50d82b([0x47,0x50,0x4c]))return _0x50d82b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4eeb21=_0x397a19(),!_0x4eeb21)return _0x50d82b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4eeb21[_0x50d82b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19d019=_0x510aba(_0x4eeb21[_0x50d82b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4eeb21[_0x50d82b([0x6a,0x74,0x69])])),await _0x1f337a()?_0x2ab5a7()?_0xdc0a2d()?_0x50d82b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x57b119()?(_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d82b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xfffb89=_0x51c055(_0x50d82b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d82b([0x74,0x72,0x69,0x61,0x6c])&&(_0xfffb89=_0x51c055(_0x50d82b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d82b([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0xfffb89=_0x51c055(_0x50d82b([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19aa9a()):_0x50d82b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50d82b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50d82b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1d0eb3){return _0x50d82b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdc0a2d(){const _0x41ead3=[_0x50d82b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50d82b([0x74,0x72,0x69,0x61,0x6c])][_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25bbc4/0x3e8:0xe10*_0x4ae2b5;return _0x4eeb21[_0x50d82b([0x65,0x78,0x70])]<_0x41ead3;}function _0x2ab5a7(){const _0x548507=_0x4eeb21[_0x50d82b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x548507&&(!!_0x548507[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d82b([0x2a]))||!!_0x548507[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d82b([0x41,0x49])));}function _0x57b119(){const _0xd5b97a=_0x24d3,_0x84b4a9=_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x84b4a9||0x0==_0x84b4a9[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31e2e9}=new URL(window[_0x50d82b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xd5b97a(0x1be)]);if(_0x84b4a9[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31e2e9))return!0x0;const _0x438589=_0x31e2e9[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e]));return _0x84b4a9[_0x50d82b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25e5b5=>_0x25e5b5[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d82b([0x2a])))[_0x50d82b([0x6d,0x61,0x70])](_0x51c457=>_0x51c457[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e])))[_0x50d82b([0x73,0x6f,0x6d,0x65])](_0x29b60c=>_0x438589[_0x50d82b([0x65,0x76,0x65,0x72,0x79])]((_0x53d558,_0x1c8b55)=>_0x29b60c[_0x1c8b55]===_0x53d558||_0x29b60c[_0x1c8b55]===_0x50d82b([0x2a])));}function _0x19aa9a(){return _0xfffb89&&_0x19d019?new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x190b68,_0x5a543e)=>{_0xfffb89[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x190b68,_0x5a543e),_0x19d019[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x392899=>{_0x392899!=_0x50d82b([0x56,0x61,0x6c,0x69,0x64])&&_0x190b68(_0x392899);},_0x5a543e);}):_0xfffb89||_0x19d019||_0x50d82b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x510aba(_0x4a6202,_0x5c3d1f){return new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8f9892=>{if(_0x3b8e1c())return _0x8f9892(_0x50d82b([0x56,0x61,0x6c,0x69,0x64]));_0x36b474(),_0x4f0266[_0x50d82b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50d82b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36f6de=!0x1;const _0xd4b184=_0x45a3b0();function _0x2f5ac3(_0x38311c){return!!_0x38311c&&(typeof _0x38311c===_0x50d82b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38311c===_0x50d82b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38311c[_0x50d82b([0x74,0x68,0x65,0x6e])]===_0x50d82b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38311c[_0x50d82b([0x63,0x61,0x74,0x63,0x68])]===_0x50d82b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5257b5(_0x20e501){_0x399b19(_0x20e501)[_0x50d82b([0x74,0x68,0x65,0x6e])](_0xe99b8d=>{if(!_0xe99b8d||_0xe99b8d[_0x50d82b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50d82b([0x6f,0x6b]))return _0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x181a01(_0x56a028(_0xd4b184+_0x5c3d1f))!=_0xe99b8d[_0x50d82b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50d82b([0x56,0x61,0x6c,0x69,0x64]);})[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x58cc51=>(_0x197ad8(),_0x58cc51),()=>{const _0x8213e3=_0x191ea4();return null==_0x8213e3?(_0x197ad8(),_0x50d82b([0x56,0x61,0x6c,0x69,0x64])):_0x50d82b(_0x25bbc4-_0x8213e3>(0x539537ba^_0x26b46a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x8f9892)[_0x50d82b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x8f9892(_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x320ca1=0x77af5d3a^_0x26b46a;function _0x197ad8(){const _0x829575=_0x50d82b([0x6c,0x6c,0x63,0x74,0x2d])+_0x181a01(_0x56a028(_0x4a6202)),_0x36bd78=_0x7f250(_0x181a01(window[_0x50d82b([0x4d,0x61,0x74,0x68])][_0x50d82b([0x63,0x65,0x69,0x6c])](_0x25bbc4/_0x320ca1)));window[_0x50d82b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d82b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x829575,_0x36bd78);}function _0x191ea4(){const _0x1cea86=_0x50d82b([0x6c,0x6c,0x63,0x74,0x2d])+_0x181a01(_0x56a028(_0x4a6202)),_0x2d62f6=window[_0x50d82b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d82b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cea86);return _0x2d62f6?window[_0x50d82b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7f250(_0x2d62f6),0x10)*_0x320ca1:null;}function _0x399b19(_0x38227f){return new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f10e5,_0x4287ac)=>{_0x38227f[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x3f10e5,_0x4287ac),window[_0x50d82b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4287ac,0x7798677a^_0x26b46a);});}}_0x4f0266[_0x50d82b([0x6f,0x6e])](_0x50d82b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16b1a0,_0x1e6e3a)=>{if(_0x1e6e3a[0x0]!=_0x4a6202)return _0x8f9892(_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e6e3a[0x1]={..._0x1e6e3a[0x1],[_0x50d82b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd4b184};},{[_0x50d82b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d82b([0x68,0x69,0x67,0x68])}),_0x4f0266[_0x50d82b([0x6f,0x6e])](_0x50d82b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b49e0=>{_0x2f5ac3(_0x2b49e0[_0x50d82b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36f6de=!0x0,_0x5257b5(_0x2b49e0[_0x50d82b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50d82b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d82b([0x6c,0x6f,0x77])}),_0x2ca402[_0x50d82b([0x74,0x68,0x65,0x6e])](()=>{_0x36f6de||_0x8f9892(_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b8e1c(){return _0x4f0266[_0x50d82b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d82b([0x76,0x69,0x65,0x77])][_0x50d82b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50d82b([0x61,0x75,0x74,0x6f]);}function _0x36b474(){_0x4f0266[_0x50d82b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d82b([0x76,0x69,0x65,0x77])][_0x50d82b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50d82b([0x61,0x75,0x74,0x6f]);}}function _0x51c055(_0x1e995b){const _0x10359c=[new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xade3b9=>setTimeout(_0xade3b9,0x77908d76^_0x26b46a)),_0x2ca402[_0x50d82b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x497d09=>{let _0x3bfbbb=0x0;_0x4f0266[_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d82b([0x6f,0x6e])](_0x50d82b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x483f1a,_0x59868a)=>{_0x59868a[0x0][_0x50d82b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bfbbb++,_0x3bfbbb==(0x7799b242^_0x26b46a)&&(_0x497d09(),_0x483f1a[_0x50d82b([0x6f,0x66,0x66])]());});}))];return window[_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50d82b([0x72,0x61,0x63,0x65])](_0x10359c)[_0x50d82b([0x74,0x68,0x65,0x6e])](()=>_0x1e995b);}async function _0x324735(){await _0x2ca402,_0x4f0266[_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d82b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f1fb8,_0x4f0266[_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d82b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f1fb8,_0x4f0266[_0x50d82b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1182e9(_0x1a05f0){const _0xb95143=_0x528577();_0x4f0266[_0xb95143]=_0x50d82b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a05f0,_0x1a05f0!=_0x50d82b([0x56,0x61,0x6c,0x69,0x64])&&_0x324735();}function _0x528577(){const _0x33b434=window[_0x50d82b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50d82b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50d82b([0x6e,0x6f,0x77])]())[_0x50d82b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50d82b([0x2e]),'');let _0x403219=_0x50d82b([0x76]);for(let _0x2e8be0=0x0;_0x2e8be0<_0x33b434[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e8be0+=0x2){let _0x202663=window[_0x50d82b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33b434[_0x50d82b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e8be0,_0x2e8be0+0x2));_0x202663>=_0x10af4f[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x202663-=_0x10af4f[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x403219+=_0x10af4f[_0x202663];}return _0x403219;}function _0x397a19(){const _0x5d6103=_0x2012c3[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e]));if(0x3!=_0x5d6103[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a3f83(_0x5d6103[0x1]);function _0x1a3f83(_0x16685d){const _0x996b4f=_0x5beeb8(_0x16685d);return _0x996b4f&&_0x4f1a57()?_0x996b4f:null;function _0x4f1a57(){const _0x4dba9e=_0x996b4f[_0x50d82b([0x6a,0x74,0x69])],_0x3c8cb4=window[_0x50d82b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dba9e[_0x50d82b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dba9e[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb47c61={..._0x996b4f,[_0x50d82b([0x6a,0x74,0x69])]:_0x4dba9e[_0x50d82b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4dba9e[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb47c61[_0x50d82b([0x76,0x63])],_0x56a028(_0xb47c61)==_0x3c8cb4;}}}async function _0x1f337a(){let _0x1fb2c6=!0x0;try{const _0x2a2114=_0x2012c3[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e])),[_0x1f867e,_0x343365,_0xbe8e70]=_0x2a2114;return _0x2045db(_0x1f867e),await _0x1f6891(_0x1f867e,_0x343365,_0xbe8e70),_0x1fb2c6;}catch(_0x1c9397){return!0x1;}function _0x2045db(_0x47982b){const _0x285165=_0x5beeb8(_0x47982b);_0x285165&&_0x285165[_0x50d82b([0x61,0x6c,0x67])]==_0x50d82b([0x45,0x53,0x32,0x35,0x36])||(_0x1fb2c6=!0x1);}async function _0x1f6891(_0xb505af,_0x4597d1,_0x40c74d){const _0x394b7f=window[_0x50d82b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50d82b([0x66,0x72,0x6f,0x6d])](_0x3530d2(_0x40c74d),_0x5595ea=>_0x5595ea[_0x50d82b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41557e=new window[(_0x50d82b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50d82b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb505af+_0x50d82b([0x2e])+_0x4597d1),_0x16ebbb=window[_0x50d82b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50d82b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x16ebbb)return;const _0x14d574=await _0x16ebbb[_0x50d82b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50d82b([0x6a,0x77,0x6b]),_0x4e2eb8,{[_0x50d82b([0x6e,0x61,0x6d,0x65])]:_0x50d82b([0x45,0x43,0x44,0x53,0x41]),[_0x50d82b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50d82b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50d82b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x16ebbb[_0x50d82b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50d82b([0x6e,0x61,0x6d,0x65])]:_0x50d82b([0x45,0x43,0x44,0x53,0x41]),[_0x50d82b([0x68,0x61,0x73,0x68])]:{[_0x50d82b([0x6e,0x61,0x6d,0x65])]:_0x50d82b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14d574,_0x394b7f,_0x41557e)||(_0x1fb2c6=!0x1);}}function _0x5beeb8(_0x4fcaf4){return _0x4fcaf4[_0x50d82b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50d82b([0x65,0x79]))?JSON[_0x50d82b([0x70,0x61,0x72,0x73,0x65])](_0x3530d2(_0x4fcaf4)):null;}function _0x3530d2(_0x2c525d){return window[_0x50d82b([0x61,0x74,0x6f,0x62])](_0x2c525d[_0x50d82b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50d82b([0x2b]))[_0x50d82b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50d82b([0x2f])));}function _0x56a028(_0x51ab4a){let _0x478fcd=0x1505;function _0xb045d1(_0x4425d9){for(let _0x21ba01=0x0;_0x21ba01<_0x4425d9[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21ba01++){const _0x477f88=_0x4425d9[_0x50d82b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21ba01);_0x478fcd=(_0x478fcd<<0x5)+_0x478fcd+_0x477f88,_0x478fcd&=_0x478fcd;}}function _0x207fd5(_0x53f10f){Array[_0x50d82b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53f10f)?_0x53f10f[_0x50d82b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x207fd5):_0x53f10f&&typeof _0x53f10f==_0x50d82b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50d82b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53f10f)[_0x50d82b([0x73,0x6f,0x72,0x74])]()[_0x50d82b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x244c02,_0x2d86b9])=>{_0xb045d1(_0x244c02),_0x207fd5(_0x2d86b9);}):_0xb045d1(window[_0x50d82b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53f10f));}return _0x207fd5(_0x51ab4a),_0x478fcd>>>0x0;}function _0x181a01(_0x6c3db4){return _0x6c3db4[_0x50d82b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50d82b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50d82b([0x30]));}function _0x7f250(_0x2e6c26){return _0x2e6c26[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50d82b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50d82b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f1fb8(){}function _0x50d82b(_0x1d572a){const _0x5a2c28=_0x24d3;return _0x1d572a[_0x5a2c28(0x1a5)](_0x2ffa32=>String[_0x5a2c28(0x1b3)](_0x2ffa32))[_0x5a2c28(0x1af)]('');}_0x1182e9(await _0x1f9e62());}(this);}[_0x3eb84e(0x1c9)](){const _0x3a8d06=_0x3eb84e,_0x5c976f=this[_0x3a8d06(0x1aa)][_0x3a8d06(0x194)];_0x5c976f[_0x3a8d06(0x1a4)](_0x1863f=>{const _0x525c55=_0x3a8d06,_0x476a29=_0x5c976f[_0x525c55(0x19a)][_0x525c55(0x195)][_0x525c55(0x18a)]();if(_0x5c976f[_0x525c55(0x1c8)][_0x525c55(0x197)](u))_0x1863f[_0x525c55(0x1b6)](u,{'range':_0x476a29});else{if(_0x476a29[_0x525c55(0x1b1)][_0x525c55(0x1c4)]){const _0x5c4a3b=_0x476a29[_0x525c55(0x1b1)][_0x525c55(0x1b8)](({item:_0x5bcc32})=>!_0x5c976f[_0x525c55(0x1a1)][_0x525c55(0x1a2)](_0x5bcc32),{'boundaries':_0x476a29});_0x1863f[_0x525c55(0x1bd)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1863f[_0x525c55(0x191)](_0x5c4a3b,_0x476a29[_0x525c55(0x192)])});}else _0x1863f[_0x525c55(0x1bd)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x476a29});}});}[_0x3eb84e(0x1ba)](){const _0x423886=_0x3eb84e,_0x5e1287=this[_0x423886(0x1aa)][_0x423886(0x194)];_0x5e1287[_0x423886(0x1c8)][_0x423886(0x197)](u)&&_0x5e1287[_0x423886(0x1a4)](_0x3ad9d1=>{const _0x4f8bb5=_0x423886;_0x3ad9d1[_0x4f8bb5(0x1a3)](u);});}[_0x3eb84e(0x1d0)](_0x1f847b,_0x510cce){const _0x51ed4b=_0x3eb84e,_0xfc4560=_0x510cce||this[_0x51ed4b(0x1aa)][_0x51ed4b(0x194)][_0x51ed4b(0x1c8)][_0x51ed4b(0x19c)](u)[_0x51ed4b(0x1a0)]();if(!this[_0x51ed4b(0x1aa)][_0x51ed4b(0x194)][_0x51ed4b(0x1bf)](_0xfc4560))return;const _0x16e133=this[_0x51ed4b(0x1aa)][_0x51ed4b(0x1ad)][_0x51ed4b(0x1ca)][_0x51ed4b(0x1cb)](_0x1f847b),_0x56f31d=this[_0x51ed4b(0x1aa)][_0x51ed4b(0x1ad)][_0x51ed4b(0x1ce)](_0x16e133);this[_0x51ed4b(0x1aa)][_0x51ed4b(0x194)][_0x51ed4b(0x1a4)](_0x4f14c3=>{const _0x4fea1a=_0x51ed4b;this[_0x4fea1a(0x1ba)]();const _0x26fbb2=this[_0x4fea1a(0x1aa)][_0x4fea1a(0x194)][_0x4fea1a(0x1d0)](_0x56f31d,_0xfc4560);_0x26fbb2&&_0x4f14c3[_0x4fea1a(0x1b9)](_0x26fbb2);});}[_0x3eb84e(0x1b4)](_0x11964b){const _0x38de52=_0x3eb84e,{model:_0x4a687a}=this[_0x38de52(0x1aa)],_0x53aa40=Array[_0x38de52(0x1c5)](_0x4a687a[_0x38de52(0x1c3)](this[_0x38de52(0x1aa)][_0x38de52(0x194)][_0x38de52(0x1c8)][_0x38de52(0x19c)](u)[_0x38de52(0x1a0)]())[_0x38de52(0x18f)]()),_0x295755=_0x53aa40[_0x38de52(0x18c)]?_0x4a687a[_0x38de52(0x198)](_0x53aa40[_0x38de52(0x1bc)]()):_0x4a687a[_0x38de52(0x19a)][_0x38de52(0x195)][_0x38de52(0x19f)]();this[_0x38de52(0x1d0)](_0x11964b,_0x295755);}}
|
|
23
|
+
const _0x4514be=_0x3e72;(function(_0x280549,_0x213bb8){const _0x160fa9=_0x3e72,_0x1646df=_0x280549();while(!![]){try{const _0x1028da=parseInt(_0x160fa9(0xf6))/0x1+-parseInt(_0x160fa9(0xf7))/0x2+-parseInt(_0x160fa9(0x131))/0x3*(-parseInt(_0x160fa9(0xf5))/0x4)+parseInt(_0x160fa9(0x111))/0x5*(-parseInt(_0x160fa9(0x10c))/0x6)+-parseInt(_0x160fa9(0xfd))/0x7+parseInt(_0x160fa9(0xf3))/0x8+parseInt(_0x160fa9(0x103))/0x9;if(_0x1028da===_0x213bb8)break;else _0x1646df['push'](_0x1646df['shift']());}catch(_0x373933){_0x1646df['push'](_0x1646df['shift']());}}}(_0x1e48,0x94e9e));function _0x1e48(){const _0x3b145f=['canEditAt','updateMarker','insertContentBelow','has','isOfficialPlugin','5188347dfAVEl','getSelectedBlocks','length','init','addMarker','ck-fake-ai-selection','editor','isAtEnd','map','6eFvPJd','conversion','get','data','pop','2073115BOXBgJ','selection','toView','ai-ui','pluginName','markerToHighlight','createUIElement','getRange','href','schema','model','getFirstRange','from','ck-fake-ai-selection_collapsed','getLastMatchingPosition','createSelection','for','markerToElement','join','getLastPosition','createPositionAfter','removeMarker','isPremiumPlugin','end','config','start','editingDowncast','push','markerRange','ai.useTheme','change','isCollapsed','3nPrnQc','afterInit','fromCharCode','insertContent','document','showFakeVisualSelection','isContent','setSelection','toModel','ck-ai-assistant-ui_theme','span','3467424akUvke','hideFakeVisualSelection','1435972EoDlfm','1216062oIdumF','2281988xRqSkN','AIAssistantEditing','createRange','addClass','processor','markers','2935793mAgJLJ'];_0x1e48=function(){return _0x3b145f;};return _0x1e48();}function _0x3e72(_0x2526fc,_0x32b208){const _0x1e4846=_0x1e48();return _0x3e72=function(_0x3e721f,_0x2d5e09){_0x3e721f=_0x3e721f-0xf3;let _0x246fae=_0x1e4846[_0x3e721f];return _0x246fae;},_0x3e72(_0x2526fc,_0x32b208);}import{uid as _0x33e652}from'ckeditor5/src/utils.js';import{Plugin as _0x4b92d6}from'ckeditor5/src/core.js';const u=_0x4514be(0x114);export default class a extends _0x4b92d6{static get[_0x4514be(0x115)](){const _0x49dfa5=_0x4514be;return _0x49dfa5(0xf8);}static get[_0x4514be(0x102)](){return!0x0;}static get[_0x4514be(0x127)](){return!0x0;}[_0x4514be(0x106)](){const _0x1eb8d7=_0x4514be,{editor:_0x5758a4}=this,_0x47b43b=[_0x1eb8d7(0x108)];_0x5758a4[_0x1eb8d7(0x129)][_0x1eb8d7(0x10e)](_0x1eb8d7(0x12e))&&_0x47b43b[_0x1eb8d7(0x12c)](_0x1eb8d7(0x13a)),_0x5758a4[_0x1eb8d7(0x10d)][_0x1eb8d7(0x121)](_0x1eb8d7(0x12b))[_0x1eb8d7(0x116)]({'model':u,'view':{'classes':_0x47b43b,'priority':0xc}}),_0x5758a4[_0x1eb8d7(0x10d)][_0x1eb8d7(0x121)](_0x1eb8d7(0x12b))[_0x1eb8d7(0x122)]({'model':u,'view':(_0x30a5a4,{writer:_0x4a9c7c})=>{const _0x2a0b55=_0x1eb8d7;if(!_0x30a5a4[_0x2a0b55(0x12d)][_0x2a0b55(0x130)])return null;const _0x343517=_0x4a9c7c[_0x2a0b55(0x117)](_0x2a0b55(0x13b));return _0x4a9c7c[_0x2a0b55(0xfa)]([_0x2a0b55(0x108),_0x2a0b55(0x11e)],_0x343517),_0x343517;}});}[_0x4514be(0x132)](){!async function(_0x14a068){const _0x4e454c=_0x469fbd([0x32,0x33,0x43,0x6c,0x73,0x75,0x62,0x50,0x47,0x76,0x42,0x65,0x55,0x57,0x6e,0x68,0x44,0x41,0x4a,0x46,0x45,0x66,0x4f,0x4d,0x34,0x56,0x48,0x69,0x70,0x79,0x6f,0x67,0x38,0x6d,0x4e,0x74,0x51,0x54,0x30,0x37,0x53,0x71,0x4c,0x35,0x6b,0x4b,0x5a,0x58,0x6a,0x72,0x49,0x52,0x31,0x59,0x63,0x36,0x7a,0x39,0x61,0x78,0x64,0x77]),_0x3b0381=0x2ae34bc3,_0x4ad72b=0x2ae413eb^_0x3b0381,_0x9f879c=window[_0x469fbd([0x44,0x61,0x74,0x65])][_0x469fbd([0x6e,0x6f,0x77])](),_0x2f2d5c=_0x14a068[_0x469fbd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d0f7c=new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349317=>{_0x2f2d5c[_0x469fbd([0x6f,0x6e,0x63,0x65])](_0x469fbd([0x72,0x65,0x61,0x64,0x79]),_0x349317);}),_0x4efa3d={[_0x469fbd([0x6b,0x74,0x79])]:_0x469fbd([0x45,0x43]),[_0x469fbd([0x75,0x73,0x65])]:_0x469fbd([0x73,0x69,0x67]),[_0x469fbd([0x63,0x72,0x76])]:_0x469fbd([0x50,0x2d,0x32,0x35,0x36]),[_0x469fbd([0x78])]:_0x469fbd([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]),[_0x469fbd([0x79])]:_0x469fbd([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]),[_0x469fbd([0x61,0x6c,0x67])]:_0x469fbd([0x45,0x53,0x32,0x35,0x36])},_0x30ebbb=_0x2f2d5c[_0x469fbd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x469fbd([0x67,0x65,0x74])](_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x405bad(){let _0x12fc9b,_0x12d032=null,_0x2eb172=null;try{if(_0x30ebbb==_0x469fbd([0x47,0x50,0x4c]))return _0x469fbd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12fc9b=_0x3460f7(),!_0x12fc9b)return _0x469fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12fc9b[_0x469fbd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2eb172=_0x556208(_0x12fc9b[_0x469fbd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12fc9b[_0x469fbd([0x6a,0x74,0x69])])),await _0x4a6f07()?_0x192d24()?_0x12dc4c()?_0x469fbd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ebff1()?(_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x469fbd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12d032=_0x516b23(_0x469fbd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x469fbd([0x74,0x72,0x69,0x61,0x6c])&&(_0x12d032=_0x516b23(_0x469fbd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x469fbd([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x12d032=_0x516b23(_0x469fbd([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53dcce()):_0x469fbd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x469fbd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x469fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x437868){return _0x469fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12dc4c(){const _0x1aaf20=[_0x469fbd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x469fbd([0x74,0x72,0x69,0x61,0x6c])][_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9f879c/0x3e8:0xe10*_0x4ad72b;return _0x12fc9b[_0x469fbd([0x65,0x78,0x70])]<_0x1aaf20;}function _0x192d24(){const _0x5c6291=_0x12fc9b[_0x469fbd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c6291&&(!!_0x5c6291[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x469fbd([0x2a]))||!!_0x5c6291[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x469fbd([0x41,0x49])));}function _0x5ebff1(){const _0xa9ba1f=_0x3e72,_0xbe3e1=_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xbe3e1||0x0==_0xbe3e1[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8b7d64}=new URL(window[_0x469fbd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa9ba1f(0x119)]);if(_0xbe3e1[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8b7d64))return!0x0;const _0x444090=_0x8b7d64[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e]));return _0xbe3e1[_0x469fbd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a4c42=>_0x1a4c42[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x469fbd([0x2a])))[_0x469fbd([0x6d,0x61,0x70])](_0x1eef70=>_0x1eef70[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e])))[_0x469fbd([0x73,0x6f,0x6d,0x65])](_0x37d814=>_0x444090[_0x469fbd([0x65,0x76,0x65,0x72,0x79])]((_0x27ec19,_0x387a3a)=>_0x37d814[_0x387a3a]===_0x27ec19||_0x37d814[_0x387a3a]===_0x469fbd([0x2a])));}function _0x53dcce(){return _0x12d032&&_0x2eb172?new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34d70f,_0x209720)=>{_0x12d032[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x34d70f,_0x209720),_0x2eb172[_0x469fbd([0x74,0x68,0x65,0x6e])](_0xceb838=>{_0xceb838!=_0x469fbd([0x56,0x61,0x6c,0x69,0x64])&&_0x34d70f(_0xceb838);},_0x209720);}):_0x12d032||_0x2eb172||_0x469fbd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x556208(_0xc3cd1,_0x1bca9a){return new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5314b3=>{if(_0x1b8189())return _0x5314b3(_0x469fbd([0x56,0x61,0x6c,0x69,0x64]));_0x31d745(),_0x2f2d5c[_0x469fbd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x469fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x257b1a=!0x1;const _0x1d7db6=_0x33e652();function _0x5b8e59(_0x47559f){return!!_0x47559f&&(typeof _0x47559f===_0x469fbd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47559f===_0x469fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47559f[_0x469fbd([0x74,0x68,0x65,0x6e])]===_0x469fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47559f[_0x469fbd([0x63,0x61,0x74,0x63,0x68])]===_0x469fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31aa66(_0xfa4977){_0x3fd486(_0xfa4977)[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x3ddbb2=>{if(!_0x3ddbb2||_0x3ddbb2[_0x469fbd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x469fbd([0x6f,0x6b]))return _0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x142121(_0x2f3819(_0x1d7db6+_0x1bca9a))!=_0x3ddbb2[_0x469fbd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x469fbd([0x56,0x61,0x6c,0x69,0x64]);})[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x133bca=>(_0x5d3192(),_0x133bca),()=>{const _0x3c7fcd=_0x5c017d();return null==_0x3c7fcd?(_0x5d3192(),_0x469fbd([0x56,0x61,0x6c,0x69,0x64])):_0x469fbd(_0x9f879c-_0x3c7fcd>(0xeefcfc3^_0x3b0381)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x5314b3)[_0x469fbd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5314b3(_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x519866=0x2ad5a543^_0x3b0381;function _0x5d3192(){const _0x5e6661=_0x469fbd([0x6c,0x6c,0x63,0x74,0x2d])+_0x142121(_0x2f3819(_0xc3cd1)),_0xe506a3=_0x366db5(_0x142121(window[_0x469fbd([0x4d,0x61,0x74,0x68])][_0x469fbd([0x63,0x65,0x69,0x6c])](_0x9f879c/_0x519866)));window[_0x469fbd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x469fbd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e6661,_0xe506a3);}function _0x5c017d(){const _0xf1857=_0x469fbd([0x6c,0x6c,0x63,0x74,0x2d])+_0x142121(_0x2f3819(_0xc3cd1)),_0x132ff2=window[_0x469fbd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x469fbd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf1857);return _0x132ff2?window[_0x469fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x366db5(_0x132ff2),0x10)*_0x519866:null;}function _0x3fd486(_0x17af49){return new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b7186,_0x32e621)=>{_0x17af49[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x2b7186,_0x32e621),window[_0x469fbd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32e621,0x2ae29f03^_0x3b0381);});}}_0x2f2d5c[_0x469fbd([0x6f,0x6e])](_0x469fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42fc2e,_0x3c6767)=>{if(_0x3c6767[0x0]!=_0xc3cd1)return _0x5314b3(_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c6767[0x1]={..._0x3c6767[0x1],[_0x469fbd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d7db6};},{[_0x469fbd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x469fbd([0x68,0x69,0x67,0x68])}),_0x2f2d5c[_0x469fbd([0x6f,0x6e])](_0x469fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bfde8=>{_0x5b8e59(_0x3bfde8[_0x469fbd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x257b1a=!0x0,_0x31aa66(_0x3bfde8[_0x469fbd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x469fbd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x469fbd([0x6c,0x6f,0x77])}),_0x5d0f7c[_0x469fbd([0x74,0x68,0x65,0x6e])](()=>{_0x257b1a||_0x5314b3(_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b8189(){return _0x2f2d5c[_0x469fbd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x469fbd([0x76,0x69,0x65,0x77])][_0x469fbd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x469fbd([0x61,0x75,0x74,0x6f]);}function _0x31d745(){_0x2f2d5c[_0x469fbd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x469fbd([0x76,0x69,0x65,0x77])][_0x469fbd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x469fbd([0x61,0x75,0x74,0x6f]);}}function _0x516b23(_0x403e6c){const _0x3dba8e=[new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57491f=>setTimeout(_0x57491f,0x2aea750f^_0x3b0381)),_0x5d0f7c[_0x469fbd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2031c5=>{let _0x21195e=0x0;_0x2f2d5c[_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x469fbd([0x6f,0x6e])](_0x469fbd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x228c4b,_0x316de9)=>{_0x316de9[0x0][_0x469fbd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21195e++,_0x21195e==(0x2ae34a3b^_0x3b0381)&&(_0x2031c5(),_0x228c4b[_0x469fbd([0x6f,0x66,0x66])]());});}))];return window[_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x469fbd([0x72,0x61,0x63,0x65])](_0x3dba8e)[_0x469fbd([0x74,0x68,0x65,0x6e])](()=>_0x403e6c);}async function _0x1ee629(){await _0x5d0f7c,_0x2f2d5c[_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x469fbd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43d3f6,_0x2f2d5c[_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x469fbd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43d3f6,_0x2f2d5c[_0x469fbd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa6fa1b(_0x592bfa){const _0x562626=_0x1838c7();_0x2f2d5c[_0x562626]=_0x469fbd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x592bfa,_0x592bfa!=_0x469fbd([0x56,0x61,0x6c,0x69,0x64])&&_0x1ee629();}function _0x1838c7(){const _0x2a4d10=window[_0x469fbd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x469fbd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x469fbd([0x6e,0x6f,0x77])]())[_0x469fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x469fbd([0x2e]),'');let _0x4ebe56=_0x469fbd([0x43]);for(let _0x401f00=0x0;_0x401f00<_0x2a4d10[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x401f00+=0x2){let _0x337e2b=window[_0x469fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a4d10[_0x469fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x401f00,_0x401f00+0x2));_0x337e2b>=_0x4e454c[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x337e2b-=_0x4e454c[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ebe56+=_0x4e454c[_0x337e2b];}return _0x4ebe56;}function _0x3460f7(){const _0x527d4b=_0x30ebbb[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e]));if(0x3!=_0x527d4b[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ef76b(_0x527d4b[0x1]);function _0x2ef76b(_0x3a1727){const _0x3f2a1c=_0x5d5e24(_0x3a1727);return _0x3f2a1c&&_0x18e0eb()?_0x3f2a1c:null;function _0x18e0eb(){const _0x132afc=_0x3f2a1c[_0x469fbd([0x6a,0x74,0x69])],_0x58cbc7=window[_0x469fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x132afc[_0x469fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x132afc[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3dfab8={..._0x3f2a1c,[_0x469fbd([0x6a,0x74,0x69])]:_0x132afc[_0x469fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x132afc[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3dfab8[_0x469fbd([0x76,0x63])],_0x2f3819(_0x3dfab8)==_0x58cbc7;}}}async function _0x4a6f07(){let _0x1ef0f3=!0x0;try{const _0x4f34dc=_0x30ebbb[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e])),[_0x1ddc3f,_0x5b04b2,_0x1d2437]=_0x4f34dc;return _0x622a6e(_0x1ddc3f),await _0x1def2d(_0x1ddc3f,_0x5b04b2,_0x1d2437),_0x1ef0f3;}catch(_0x3af78b){return!0x1;}function _0x622a6e(_0x464888){const _0x558bfa=_0x5d5e24(_0x464888);_0x558bfa&&_0x558bfa[_0x469fbd([0x61,0x6c,0x67])]==_0x469fbd([0x45,0x53,0x32,0x35,0x36])||(_0x1ef0f3=!0x1);}async function _0x1def2d(_0x1df363,_0x844324,_0xa3aeed){const _0x6ac14=window[_0x469fbd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x469fbd([0x66,0x72,0x6f,0x6d])](_0x56a129(_0xa3aeed),_0x4078ab=>_0x4078ab[_0x469fbd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12580a=new window[(_0x469fbd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x469fbd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1df363+_0x469fbd([0x2e])+_0x844324),_0x330f54=window[_0x469fbd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x469fbd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x330f54)return;const _0xa2e533=await _0x330f54[_0x469fbd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x469fbd([0x6a,0x77,0x6b]),_0x4efa3d,{[_0x469fbd([0x6e,0x61,0x6d,0x65])]:_0x469fbd([0x45,0x43,0x44,0x53,0x41]),[_0x469fbd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x469fbd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x469fbd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x330f54[_0x469fbd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x469fbd([0x6e,0x61,0x6d,0x65])]:_0x469fbd([0x45,0x43,0x44,0x53,0x41]),[_0x469fbd([0x68,0x61,0x73,0x68])]:{[_0x469fbd([0x6e,0x61,0x6d,0x65])]:_0x469fbd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa2e533,_0x6ac14,_0x12580a)||(_0x1ef0f3=!0x1);}}function _0x5d5e24(_0x559790){return _0x559790[_0x469fbd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x469fbd([0x65,0x79]))?JSON[_0x469fbd([0x70,0x61,0x72,0x73,0x65])](_0x56a129(_0x559790)):null;}function _0x56a129(_0x17498e){return window[_0x469fbd([0x61,0x74,0x6f,0x62])](_0x17498e[_0x469fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x469fbd([0x2b]))[_0x469fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x469fbd([0x2f])));}function _0x2f3819(_0x5d3b36){let _0xb9d0dd=0x1505;function _0x3798b7(_0x16f831){for(let _0x528076=0x0;_0x528076<_0x16f831[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x528076++){const _0x2d6cd7=_0x16f831[_0x469fbd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x528076);_0xb9d0dd=(_0xb9d0dd<<0x5)+_0xb9d0dd+_0x2d6cd7,_0xb9d0dd&=_0xb9d0dd;}}function _0x46fa08(_0x1f5cf3){Array[_0x469fbd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f5cf3)?_0x1f5cf3[_0x469fbd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46fa08):_0x1f5cf3&&typeof _0x1f5cf3==_0x469fbd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x469fbd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f5cf3)[_0x469fbd([0x73,0x6f,0x72,0x74])]()[_0x469fbd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb5e284,_0x191356])=>{_0x3798b7(_0xb5e284),_0x46fa08(_0x191356);}):_0x3798b7(window[_0x469fbd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f5cf3));}return _0x46fa08(_0x5d3b36),_0xb9d0dd>>>0x0;}function _0x142121(_0x494022){return _0x494022[_0x469fbd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x469fbd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x469fbd([0x30]));}function _0x366db5(_0x520ce3){return _0x520ce3[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x469fbd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x469fbd([0x6a,0x6f,0x69,0x6e])]('');}function _0x43d3f6(){}function _0x469fbd(_0x3d1ac0){const _0x277953=_0x3e72;return _0x3d1ac0[_0x277953(0x10b)](_0x55d051=>String[_0x277953(0x133)](_0x55d051))[_0x277953(0x123)]('');}_0xa6fa1b(await _0x405bad());}(this);}[_0x4514be(0x136)](){const _0x42ea9a=_0x4514be,_0x6fc8d=this[_0x42ea9a(0x109)][_0x42ea9a(0x11b)];_0x6fc8d[_0x42ea9a(0x12f)](_0x8674d3=>{const _0x3c9abb=_0x42ea9a,_0x48a161=_0x6fc8d[_0x3c9abb(0x135)][_0x3c9abb(0x112)][_0x3c9abb(0x11c)]();if(_0x6fc8d[_0x3c9abb(0xfc)][_0x3c9abb(0x101)](u))_0x8674d3[_0x3c9abb(0xff)](u,{'range':_0x48a161});else{if(_0x48a161[_0x3c9abb(0x12a)][_0x3c9abb(0x10a)]){const _0x2b2143=_0x48a161[_0x3c9abb(0x12a)][_0x3c9abb(0x11f)](({item:_0x5d0585})=>!_0x6fc8d[_0x3c9abb(0x11a)][_0x3c9abb(0x137)](_0x5d0585),{'boundaries':_0x48a161});_0x8674d3[_0x3c9abb(0x107)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x8674d3[_0x3c9abb(0xf9)](_0x2b2143,_0x48a161[_0x3c9abb(0x128)])});}else _0x8674d3[_0x3c9abb(0x107)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x48a161});}});}[_0x4514be(0xf4)](){const _0x56c492=_0x4514be,_0x338a28=this[_0x56c492(0x109)][_0x56c492(0x11b)];_0x338a28[_0x56c492(0xfc)][_0x56c492(0x101)](u)&&_0x338a28[_0x56c492(0x12f)](_0x246a32=>{const _0x43e0ca=_0x56c492;_0x246a32[_0x43e0ca(0x126)](u);});}[_0x4514be(0x134)](_0x4f8f49,_0x39238d){const _0x499fd5=_0x4514be,_0x17b065=_0x39238d||this[_0x499fd5(0x109)][_0x499fd5(0x11b)][_0x499fd5(0xfc)][_0x499fd5(0x10e)](u)[_0x499fd5(0x118)]();if(!this[_0x499fd5(0x109)][_0x499fd5(0x11b)][_0x499fd5(0xfe)](_0x17b065))return;const _0x527d9a=this[_0x499fd5(0x109)][_0x499fd5(0x10f)][_0x499fd5(0xfb)][_0x499fd5(0x113)](_0x4f8f49),_0x1aa418=this[_0x499fd5(0x109)][_0x499fd5(0x10f)][_0x499fd5(0x139)](_0x527d9a);this[_0x499fd5(0x109)][_0x499fd5(0x11b)][_0x499fd5(0x12f)](_0x4653ca=>{const _0x1dea6b=_0x499fd5;this[_0x1dea6b(0xf4)]();const _0xd998b6=this[_0x1dea6b(0x109)][_0x1dea6b(0x11b)][_0x1dea6b(0x134)](_0x1aa418,_0x17b065);_0xd998b6&&_0x4653ca[_0x1dea6b(0x138)](_0xd998b6);});}[_0x4514be(0x100)](_0xfd3ee1){const _0x20d48f=_0x4514be,{model:_0x43935f}=this[_0x20d48f(0x109)],_0x7a4642=Array[_0x20d48f(0x11d)](_0x43935f[_0x20d48f(0x120)](this[_0x20d48f(0x109)][_0x20d48f(0x11b)][_0x20d48f(0xfc)][_0x20d48f(0x10e)](u)[_0x20d48f(0x118)]())[_0x20d48f(0x104)]()),_0x14bfc6=_0x7a4642[_0x20d48f(0x105)]?_0x43935f[_0x20d48f(0x125)](_0x7a4642[_0x20d48f(0x110)]()):_0x43935f[_0x20d48f(0x135)][_0x20d48f(0x112)][_0x20d48f(0x124)]();this[_0x20d48f(0x134)](_0xfd3ee1,_0x14bfc6);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c472f=_0x3331;(function(_0xb11aa0,_0x49cdce){const _0x46dc95=_0x3331,_0x3af9b3=_0xb11aa0();while(!![]){try{const _0x2cea93=parseInt(_0x46dc95(0x128))/0x1*(parseInt(_0x46dc95(0x14d))/0x2)+-parseInt(_0x46dc95(0x1a2))/0x3+-parseInt(_0x46dc95(0x16c))/0x4+-parseInt(_0x46dc95(0x153))/0x5*(parseInt(_0x46dc95(0x12c))/0x6)+-parseInt(_0x46dc95(0x13a))/0x7*(-parseInt(_0x46dc95(0x147))/0x8)+parseInt(_0x46dc95(0x1aa))/0x9+parseInt(_0x46dc95(0x189))/0xa*(parseInt(_0x46dc95(0x1a5))/0xb);if(_0x2cea93===_0x49cdce)break;else _0x3af9b3['push'](_0x3af9b3['shift']());}catch(_0x488946){_0x3af9b3['push'](_0x3af9b3['shift']());}}}(_0x2312,0x8f060));import{Plugin as _0x4f9795}from'ckeditor5/src/core.js';import{first as _0x25af20,CKEditorError as _0xf350aa}from'ckeditor5/src/utils.js';import{createDropdown as _0x4b036a,addMenuToDropdown as _0x171bb0,ButtonView as _0x1b4f34,MenuBarMenuListItemButtonView as _0x51f8d0,Dialog as _0x314baa,DialogViewPosition as _0x1b5638,MenuBarMenuView as _0x4907c9,MenuBarMenuListView as _0x23c4ed,MenuBarMenuListItemView as _0x575215}from'ckeditor5/src/ui.js';function _0x3331(_0x3299bc,_0x4bcfd2){const _0x23122d=_0x2312();return _0x3331=function(_0x3331db,_0xde7b3f){_0x3331db=_0x3331db-0x117;let _0x27ed64=_0x23122d[_0x3331db];return _0x27ed64;},_0x3331(_0x3299bc,_0x4bcfd2);}function _0x2312(){const _0xf4c38a=['listenTo','EDITOR_TOP_SIDE','change:value','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:enabledCommandsIds','contentArea','set','INSERT','requiresContent','buttons','map','showFakeVisualSelection','reset','promptView','announce','_licenseKeyCheckInterval','_getMenuBarGroupButtons','comment','aiLicenseKeyTrialLimit','1134972zcUzac','_formView','updatePosition','showAIAssistant','_showLicenseError','command:','isOn','polite','locale','buttonView','addMany','pluginName','update','_dialog','licenseKey','define','length','wasMoved','featureNotAllowed','aiLicenseKeyDevelopmentLimit','includes','getData','push','_getResolvedCommandsDefinitions','selection','filter','fieldView','expired','order','70VzAiHZ','menuView','trim','getLimitElement','rawHtml','commands','change','groupId','ck-ai-assistant-button\x20','getRanges','config','model','schema','_initAriaAiStatusChangeAnnouncements','aiCommands','forEach','destroy','once','groupLabel','replace','isOfficialPlugin','evaluationLimit','_initView','ai.aiAssistant.commands','hideUI','3187458rQnJKA','delegate','_aiAssistantController','1455927gnZlXx','menuBar:aiCommands','insertContentBelow','copy','view','3505788CqDJGj','show','errorView','init','AI\x20Assistant','usageLimit','_commandDefinitions','insertContent','trialLimit','invalid','_populateMenuBarMenu','_createAIAssistantUIButton','ck-ai-assistant-ui','ai.aiAssistant.disabledElements','hide','menuBar:aiAssistant','_uiCssClasses','\x20ck-ai-assistant-ui_theme','ai.aiAssistant.contentAreaCssClass','queryView','showUI','body','updateView','menuitemcheckbox','isEnabled','textAdapter','document','_forceMarkersCopy','values','aiLicenseKeyExpired','tableOfContents','Generated\x20content:\x20%0','replaceContent','_aiAdapter','prompt','componentFactory','getSelectedBlocks','get','<p>','items','_onExecute','setSelection','isCollapsed','aiAssistant','AI\x20is\x20writing','editor','panelView','aiLicenseKeyUsageLimit','change:isError','developmentLimit','1025074fYSLjb','currentContext','fire','add','1203828KqocTG','REPLACE','media','AIAssistantUI','label','aiLicenseKeyDomainLimit','plugins','menuPanelClass','requires','AIAssistant','ck-ai-commands-dropdown\x20','hideFakeVisualSelection','from','text','1377250vMqgrJ','aiLicenseKeyNotAllowed','AI\x20Commands','getSelectedElement','ai.useTheme','text/html','aiLicenseKeyInvalid','editing','enabledCommandsIds','source','</p>','aiLicenseKeyValid','domainLimit','16hyOoyA','focus','aiLicenseKeyEvaluationLimit','isFlat','splice','DataTransfer','2SXdVrs','custom','render','isPremiumPlugin','sort','change:isProcessing','20XfOIhV','robotPencil','execute','ai-commands-config-order-collision','bind','children'];_0x2312=function(){return _0xf4c38a;};return _0x2312();}import{icons as _0x38651a}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x452d60,UNGROUPED_COMMANDS_GROUP_ID as _0x218e74}from'./utils/normalizecommandsconfig.js';import _0x17f58a from'./aiassistantediting.js';import _0x19ec42 from'./adapters/aiadapter.js';import{getTranslation as _0x231548}from'./utils/common-translations.js';import _0x1b75b5 from'./ui/showaiassistantcommand.js';import _0x12e081 from'./ui/aiassistantcontroller.js';import _0x1b3454 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x318dc9}from'./ui/form/aiformtoolbarview.js';import _0x27c0f5 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x1c472f(0x14c)];import{ClipboardMarkersUtils as _0x1ef1a5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3ebdc2,DataTransfer as _0xa8ccb6}from'ckeditor5/src/engine.js';export default class n extends _0x4f9795{static get[_0x1c472f(0x177)](){const _0x2b3dde=_0x1c472f;return _0x2b3dde(0x12f);}static get[_0x1c472f(0x19d)](){return!0x0;}static get[_0x1c472f(0x150)](){return!0x0;}static get[_0x1c472f(0x134)](){return[_0x1ef1a5,_0x17f58a,_0x19ec42,_0x314baa];}constructor(_0x602b79){const _0x1d105d=_0x1c472f;super(_0x602b79),this[_0x1d105d(0x1ba)]='',_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x1b7),[_0x1d105d(0x12e),_0x1d105d(0x18d),_0x1d105d(0x1c8)]),_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x1bc),''),_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x13e),!0x0),this[_0x1d105d(0x1ba)]=_0x1d105d(0x1b6)+(_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x11b)](_0x1d105d(0x13e))?_0x1d105d(0x1bb):'');}[_0x1c472f(0x1ad)](){const _0x1528df=_0x1c472f,{editor:_0x2bc9dd}=this;this[_0x1528df(0x117)]=_0x2bc9dd[_0x1528df(0x132)][_0x1528df(0x11b)](_0x19ec42),this[_0x1528df(0x179)]=_0x2bc9dd[_0x1528df(0x132)][_0x1528df(0x11b)](_0x314baa),this[_0x1528df(0x16d)]=null,this[_0x1528df(0x1b0)]=this[_0x1528df(0x183)]();const _0x27b915=new _0x1b75b5(_0x2bc9dd,Array[_0x1528df(0x138)](this[_0x1528df(0x1b0)][_0x1528df(0x1c6)]()));_0x2bc9dd[_0x1528df(0x18e)][_0x1528df(0x12b)](_0x1528df(0x16f),_0x27b915),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x197),_0x58b906=>{const _0x6c5cbf=_0x1528df,_0x5940d4=_0x4b036a(_0x58b906);return _0x5940d4[_0x6c5cbf(0x15f)]({'class':_0x6c5cbf(0x136)+this[_0x6c5cbf(0x1ba)]}),_0x5940d4[_0x6c5cbf(0x175)][_0x6c5cbf(0x15f)]({'label':_0x231548(_0x58b906,_0x6c5cbf(0x13c)),'icon':_0x27c0f5,'tooltip':!0x0}),_0x5940d4['on'](_0x6c5cbf(0x155),_0x4b16cd=>this[_0x6c5cbf(0x11e)](_0x4b16cd[_0x6c5cbf(0x143)]['id'])),_0x171bb0(_0x5940d4,_0x2bc9dd['ui'][_0x6c5cbf(0x1a9)][_0x6c5cbf(0x1bf)],function(_0x589666){const _0x11b648=_0x6c5cbf,_0x54847a=_0x452d60(_0x589666[_0x11b648(0x193)][_0x11b648(0x11b)](_0x11b648(0x1a0)),_0x589666[_0x11b648(0x174)]),_0x42017f=B(_0x589666,_0x54847a)[_0x11b648(0x185)](_0x54a703=>_0x54a703[_0x11b648(0x18e)][_0x11b648(0x17c)]);if(0x1===_0x42017f[_0x11b648(0x17c)])return B(_0x589666,_0x42017f[0x0][_0x11b648(0x18e)])[_0x11b648(0x163)](_0x234567=>({'id':_0x234567['id'],'label':_0x234567[_0x11b648(0x130)]}));return _0x42017f[_0x11b648(0x163)](_0x2fc278=>{const _0x54f309=_0x11b648,{groupId:_0x5d2524,groupLabel:_0x5c6355,commands:_0x256155}=_0x2fc278,_0x1342b9=B(_0x589666,_0x256155)[_0x54f309(0x163)](_0x78b10=>({'id':_0x78b10['id'],'label':_0x78b10[_0x54f309(0x130)]}));return{'id':_0x5d2524,'menu':_0x5c6355||_0x5d2524,'children':_0x1342b9};});}(_0x2bc9dd),{'ariaLabel':_0x231548(_0x58b906,_0x6c5cbf(0x13c))}),_0x5940d4[_0x6c5cbf(0x18a)][_0x6c5cbf(0x133)]=_0x6c5cbf(0x136)+this[_0x6c5cbf(0x1ba)],_0x27b915['on'](_0x6c5cbf(0x15d),_0x533918),_0x5940d4[_0x6c5cbf(0x18a)][_0x6c5cbf(0x19a)](_0x6c5cbf(0x14f),_0x533918),_0x5940d4;function _0x533918(){const _0x49ce24=_0x6c5cbf;_0x5940d4[_0x49ce24(0x1c2)]=_0x27b915[_0x49ce24(0x142)][_0x49ce24(0x17c)]>0x0;for(const _0x151a10 of _0x5940d4[_0x49ce24(0x18a)][_0x49ce24(0x162)])_0x151a10[_0x49ce24(0x1c2)]=_0x27b915[_0x49ce24(0x142)][_0x49ce24(0x180)](_0x151a10['id']);}}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x1a6),_0x1ebf8d=>{const _0x430c67=_0x1528df,_0x367bba=new _0x4907c9(_0x1ebf8d);_0x367bba[_0x430c67(0x175)][_0x430c67(0x15f)]({'label':_0x231548(_0x1ebf8d,_0x430c67(0x13c)),'icon':_0x27c0f5}),_0x367bba[_0x430c67(0x157)](_0x430c67(0x1c2))['to'](_0x27b915,_0x430c67(0x142),_0x21c1aa=>_0x21c1aa[_0x430c67(0x17c)]>0x0);const _0x1a9027=_0x452d60(_0x2bc9dd[_0x430c67(0x193)][_0x430c67(0x11b)](_0x430c67(0x1a0)),_0x1ebf8d);return this[_0x430c67(0x1b4)](_0x27b915,_0x367bba,_0x1a9027,_0x5d95a9=>this[_0x430c67(0x11e)](_0x5d95a9)),_0x367bba;}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x121),()=>{const _0x3a630b=_0x1528df,_0xffd9ab=this[_0x3a630b(0x1b5)](_0x1b4f34);return _0xffd9ab[_0x3a630b(0x15f)]({'tooltip':!0x0,'class':_0x3a630b(0x191)+this[_0x3a630b(0x1ba)]}),_0xffd9ab;}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x1b9),()=>{const _0x372f7d=_0x1528df,_0x2965f5=this[_0x372f7d(0x1b5)](_0x51f8d0);return _0x2965f5[_0x372f7d(0x15f)]({'role':_0x372f7d(0x1c1)}),_0x2965f5;}),this[_0x1528df(0x17a)]=this[_0x1528df(0x123)][_0x1528df(0x193)][_0x1528df(0x11b)](_0x1528df(0x17a));const _0x4c78b8=this[_0x1528df(0x123)];this[_0x1528df(0x168)]=setInterval(()=>{const _0x2ed9eb=_0x1528df;let _0x327404;for(const _0x57847c in _0x4c78b8){const _0x23fdcf=_0x57847c,_0x42e0de=_0x4c78b8[_0x23fdcf];if(_0x2ed9eb(0x145)==_0x42e0de||_0x2ed9eb(0x140)==_0x42e0de||_0x2ed9eb(0x1c7)==_0x42e0de||_0x2ed9eb(0x131)==_0x42e0de||_0x2ed9eb(0x13b)==_0x42e0de||_0x2ed9eb(0x149)==_0x42e0de||_0x2ed9eb(0x16b)==_0x42e0de||_0x2ed9eb(0x17f)==_0x42e0de||_0x2ed9eb(0x125)==_0x42e0de){delete _0x4c78b8[_0x23fdcf],_0x327404=_0x42e0de,clearInterval(this[_0x2ed9eb(0x168)]),this[_0x2ed9eb(0x168)]=void 0x0;break;}}_0x2ed9eb(0x140)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1b3)),_0x2ed9eb(0x1c7)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x187)),_0x2ed9eb(0x131)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x146)),_0x2ed9eb(0x13b)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x17e),_0x2ed9eb(0x135)),_0x2ed9eb(0x149)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x19e)),_0x2ed9eb(0x16b)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1b2)),_0x2ed9eb(0x17f)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x127)),_0x2ed9eb(0x125)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1af));},0x3e8);}[_0x1c472f(0x199)](){const _0x159edb=_0x1c472f;super[_0x159edb(0x199)](),this[_0x159edb(0x168)]&&clearInterval(this[_0x159edb(0x168)]);}[_0x1c472f(0x1be)](_0x1401c2='',_0x1a43ee='',_0x457a36=_0x1c472f(0x14e)){const _0x4cd868=_0x1c472f,_0x230928=this[_0x4cd868(0x123)],_0x29e3ef=_0x230928[_0x4cd868(0x141)][_0x4cd868(0x1a9)],_0x4a40d7=_0x230928[_0x4cd868(0x132)][_0x4cd868(0x11b)](_0x17f58a),_0x189037=_0x230928[_0x4cd868(0x132)][_0x4cd868(0x11b)](_0x1ef1a5);_0x4a40d7[_0x4cd868(0x164)]();const _0xdc690d=new j(),_0x26d60d=new ClipboardEvent(_0x4cd868(0x1a8),{'clipboardData':_0xdc690d}),_0x7c986b=new _0xa8ccb6(_0xdc690d),_0x4ea8cc=new _0x3ebdc2(_0x29e3ef,_0x26d60d,{'dataTransfer':_0x7c986b});_0x189037[_0x4cd868(0x1c5)](_0x4cd868(0x16a),()=>{const _0x5648be=_0x4cd868;_0x29e3ef[_0x5648be(0x1c4)][_0x5648be(0x12a)](_0x5648be(0x1a8),_0x4ea8cc);}),this[_0x4cd868(0x16d)]||(this[_0x4cd868(0x19f)](),this[_0x4cd868(0x1a4)]=new _0x12e081(_0x230928,this[_0x4cd868(0x117)][_0x4cd868(0x1c3)],this[_0x4cd868(0x16d)]));let _0x106f6a=_0x7c986b[_0x4cd868(0x181)](_0x4cd868(0x13f));const _0x45037d=_0x230928[_0x4cd868(0x194)][_0x4cd868(0x1c4)][_0x4cd868(0x184)],_0x19e0e6=Array[_0x4cd868(0x138)](_0x45037d[_0x4cd868(0x192)]());0x1===_0x19e0e6[_0x4cd868(0x17c)]&&_0x19e0e6[0x0][_0x4cd868(0x14a)]&&!_0x45037d[_0x4cd868(0x13d)]()&&''!==_0x106f6a[_0x4cd868(0x19c)](/ /g,'')[_0x4cd868(0x18b)]()&&(_0x106f6a=_0x4cd868(0x11c)+_0x106f6a+_0x4cd868(0x144)),this[_0x4cd868(0x1a4)][_0x4cd868(0x1c0)]({'actionId':_0x457a36,'query':_0x1401c2,'htmlContent':_0x106f6a,'label':_0x1a43ee,'mainActionLabel':_0x318dc9[_0x230928[_0x4cd868(0x194)][_0x4cd868(0x1c4)][_0x4cd868(0x184)][_0x4cd868(0x120)]?_0x4cd868(0x160):_0x4cd868(0x12d)]}),_0x4cd868(0x121)!==this[_0x4cd868(0x179)]['id']?this[_0x4cd868(0x179)][_0x4cd868(0x1ab)]({'id':_0x4cd868(0x121),'icon':_0x38651a[_0x4cd868(0x154)],'title':_0x231548(this[_0x4cd868(0x123)][_0x4cd868(0x174)],_0x4cd868(0x1ae)),'content':this[_0x4cd868(0x16d)],'position':_0x1b5638[_0x4cd868(0x15a)],'onShow':()=>{const _0x4a4f1f=_0x4cd868;this[_0x4a4f1f(0x16d)][_0x4a4f1f(0x148)]();},'onHide':()=>{const _0x4abb26=_0x4cd868;this[_0x4abb26(0x1a4)][_0x4abb26(0x165)](),_0x4a40d7[_0x4abb26(0x137)]();}}):this[_0x4cd868(0x179)][_0x4cd868(0x1a9)][_0x4cd868(0x17d)]||this[_0x4cd868(0x179)][_0x4cd868(0x1a9)][_0x4cd868(0x16e)]();}[_0x1c472f(0x1a1)](){const _0x2363e1=_0x1c472f;this[_0x2363e1(0x179)][_0x2363e1(0x1b8)]();}[_0x1c472f(0x183)](){const _0x4178e2=_0x1c472f,_0xfda115=new Map(),_0x225ebe=_0x452d60(this[_0x4178e2(0x123)][_0x4178e2(0x193)][_0x4178e2(0x11b)](_0x4178e2(0x1a0)),this[_0x4178e2(0x123)][_0x4178e2(0x174)]);for(const _0x374371 of _0x225ebe)for(const _0x53648a of _0x374371[_0x4178e2(0x18e)])_0xfda115[_0x4178e2(0x15f)](_0x53648a['id'],{..._0x53648a,'groupId':_0x374371[_0x4178e2(0x190)],'groupLabel':_0x374371[_0x4178e2(0x19b)]||_0x374371[_0x4178e2(0x190)]});return _0xfda115;}[_0x1c472f(0x1b5)](_0x3a2f4e){const _0x5b3266=_0x1c472f,_0x30e981=this[_0x5b3266(0x123)],_0x1bf377=_0x30e981[_0x5b3266(0x18e)][_0x5b3266(0x11b)](_0x5b3266(0x16f)),_0x57a15f=new _0x3a2f4e(_0x30e981[_0x5b3266(0x174)]);return _0x57a15f[_0x5b3266(0x15f)]({'label':_0x231548(_0x30e981[_0x5b3266(0x174)],_0x5b3266(0x1ae)),'icon':_0x38651a[_0x5b3266(0x154)],'isToggleable':!0x0}),_0x57a15f[_0x5b3266(0x157)](_0x5b3266(0x1c2))['to'](_0x1bf377),_0x57a15f[_0x5b3266(0x157)](_0x5b3266(0x172))['to'](this[_0x5b3266(0x179)],'id',_0x8bb1dd=>_0x5b3266(0x121)===_0x8bb1dd),this[_0x5b3266(0x159)](_0x57a15f,_0x5b3266(0x155),()=>{const _0x493898=_0x5b3266;_0x57a15f[_0x493898(0x172)]?this[_0x493898(0x1a1)]():_0x1bf377[_0x493898(0x155)]();}),_0x57a15f;}[_0x1c472f(0x19f)](){const _0x2f2353=_0x1c472f,_0x44537a=this[_0x2f2353(0x123)][_0x2f2353(0x132)][_0x2f2353(0x11b)](_0x17f58a);this[_0x2f2353(0x16d)]=new _0x1b3454(this[_0x2f2353(0x123)][_0x2f2353(0x174)],this[_0x2f2353(0x1ba)],this[_0x2f2353(0x123)][_0x2f2353(0x193)][_0x2f2353(0x11b)](_0x2f2353(0x1bc))),this[_0x2f2353(0x16d)]['on'](_0x2f2353(0x15b),()=>{const _0x364cce=_0x2f2353;this[_0x364cce(0x179)][_0x364cce(0x1a9)][_0x364cce(0x17d)]||this[_0x364cce(0x179)][_0x364cce(0x1a9)][_0x364cce(0x16e)]();}),this[_0x2f2353(0x16d)][_0x2f2353(0x166)][_0x2f2353(0x1bd)][_0x2f2353(0x186)]['on'](_0x2f2353(0x178),()=>{const _0x19da5e=_0x2f2353;this[_0x19da5e(0x179)][_0x19da5e(0x1a9)][_0x19da5e(0x17d)]||this[_0x19da5e(0x179)][_0x19da5e(0x1a9)][_0x19da5e(0x16e)]();}),this[_0x2f2353(0x159)](this[_0x2f2353(0x16d)],_0x2f2353(0x1ca),()=>{const _0xda8dba=_0x2f2353;_0x44537a[_0xda8dba(0x1b1)](this[_0xda8dba(0x1a4)][_0xda8dba(0x129)]),this[_0xda8dba(0x1a1)]();}),this[_0x2f2353(0x159)](this[_0x2f2353(0x16d)],_0x2f2353(0x1a7),()=>{const _0xb4fa0f=_0x2f2353;_0x44537a[_0xb4fa0f(0x1a7)](this[_0xb4fa0f(0x1a4)][_0xb4fa0f(0x129)]),this[_0xb4fa0f(0x1a1)]();}),this[_0x2f2353(0x196)]();}[_0x1c472f(0x196)](){const _0x2c2121=_0x1c472f,{locale:_0xda6566,ui:{ariaLiveAnnouncer:_0x238015}}=this[_0x2c2121(0x123)];this[_0x2c2121(0x16d)][_0x2c2121(0x15e)]['on'](_0x2c2121(0x152),(_0x2cbf6c,_0x208c5c,_0x54eb1e)=>{const _0x608af5=_0x2c2121,_0x4fc4ac=this[_0x608af5(0x1a4)][_0x608af5(0x129)];_0x54eb1e?_0x238015[_0x608af5(0x167)](_0x231548(_0xda6566,_0x608af5(0x122))):_0x4fc4ac&&_0x238015[_0x608af5(0x167)](_0x231548(_0xda6566,_0x608af5(0x1c9),_0x4fc4ac),{'politeness':_0x608af5(0x173),'isUnsafeHTML':!0x0});}),this[_0x2c2121(0x16d)]['on'](_0x2c2121(0x126),(_0x3f7438,_0x425b7b,_0x19197e)=>{const _0x4075d7=_0x2c2121;if(_0x19197e){const _0xe9c659=this[_0x4075d7(0x16d)][_0x4075d7(0x1ac)][_0x4075d7(0x139)];_0x238015[_0x4075d7(0x167)](_0x231548(_0xda6566,_0x4075d7(0x15c),_0xe9c659));}});}[_0x1c472f(0x11e)](_0x5067c6){const _0x359bf2=_0x1c472f,_0x4e6908=this[_0x359bf2(0x1b0)][_0x359bf2(0x11b)](_0x5067c6),_0x386e6a=this[_0x359bf2(0x123)],_0x31ff5a=_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x1c4)][_0x359bf2(0x184)],_0x27ceac=_0x386e6a[_0x359bf2(0x18e)][_0x359bf2(0x11b)](_0x359bf2(0x16f)),_0x28435e=_0x386e6a[_0x359bf2(0x132)][_0x359bf2(0x11b)](_0x17f58a),_0x29b4df=''+(_0x4e6908[_0x359bf2(0x190)]!==_0x218e74?_0x4e6908[_0x359bf2(0x19b)]+':\x20':'')+_0x4e6908[_0x359bf2(0x130)];if(!0x1!==_0x4e6908[_0x359bf2(0x161)]&&_0x31ff5a[_0x359bf2(0x120)]){const _0xae3508=_0x25af20(_0x31ff5a[_0x359bf2(0x11a)]())||_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x195)][_0x359bf2(0x18c)](_0x31ff5a);_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x18f)](_0x1d70a8=>{const _0x3ce075=_0x359bf2;_0x1d70a8[_0x3ce075(0x11f)](_0xae3508,'in');});}_0x28435e[_0x359bf2(0x164)](),_0x27ceac[_0x359bf2(0x155)](_0x4e6908[_0x359bf2(0x118)],_0x29b4df,_0x359bf2(0x171)+_0x5067c6);}[_0x1c472f(0x1b4)](_0x3b00cd,_0x38514b,_0x1fa217,_0x449510){const _0x88681d=_0x1c472f,_0xc6ac7f=this[_0x88681d(0x123)],_0x5a28b6=_0xc6ac7f[_0x88681d(0x174)],_0x156729=new _0x23c4ed(_0x5a28b6),_0x4e844c=B(_0xc6ac7f,_0x1fa217)[_0x88681d(0x185)](_0x56af1b=>_0x56af1b[_0x88681d(0x18e)][_0x88681d(0x17c)]);0x1===_0x4e844c[_0x88681d(0x17c)]?this[_0x88681d(0x169)]({'command':_0x3b00cd,'commands':_0x4e844c[0x0][_0x88681d(0x18e)],'parentMenuView':_0x38514b,'onExecute':_0x449510})[_0x88681d(0x198)](_0x2d560c=>_0x156729[_0x88681d(0x11d)][_0x88681d(0x12b)](_0x2d560c)):_0x4e844c[_0x88681d(0x198)](({groupId:_0xe7b9bc,groupLabel:_0x53b948,commands:_0xca4b56})=>{const _0x54fbbb=_0x88681d,_0x1d6a9b=new _0x575215(_0x5a28b6,_0x38514b),_0xfdf65f=new _0x4907c9(_0x5a28b6),_0x199aaa=new _0x23c4ed(_0x5a28b6),_0x5964c8=this[_0x54fbbb(0x169)]({'command':_0x3b00cd,'commands':_0xca4b56,'parentMenuView':_0xfdf65f,'onExecute':_0x449510});_0xfdf65f[_0x54fbbb(0x175)][_0x54fbbb(0x15f)]({'label':_0x53b948||_0xe7b9bc}),_0xfdf65f[_0x54fbbb(0x1a3)](_0x54fbbb(0x155))['to'](_0x38514b),_0x199aaa[_0x54fbbb(0x11d)][_0x54fbbb(0x176)](_0x5964c8),_0xfdf65f[_0x54fbbb(0x124)][_0x54fbbb(0x158)][_0x54fbbb(0x12b)](_0x199aaa),_0x1d6a9b[_0x54fbbb(0x158)][_0x54fbbb(0x12b)](_0xfdf65f),_0x156729[_0x54fbbb(0x11d)][_0x54fbbb(0x12b)](_0x1d6a9b);}),_0x38514b[_0x88681d(0x124)][_0x88681d(0x158)][_0x88681d(0x12b)](_0x156729);}[_0x1c472f(0x169)]({command:_0xfe4e07,commands:_0x2dd7ba,parentMenuView:_0x57b198,onExecute:_0xb16478}){const _0x37760f=_0x1c472f,_0x35eb96=this[_0x37760f(0x123)],_0x3dfe6a=_0x35eb96[_0x37760f(0x174)];return B(_0x35eb96,_0x2dd7ba)[_0x37760f(0x163)](_0x3116fa=>{const _0x2ca8ff=_0x37760f,_0x57ece6=new _0x575215(_0x3dfe6a,_0x57b198),_0x50e2e4=new _0x51f8d0(_0x3dfe6a);return _0x50e2e4[_0x2ca8ff(0x15f)]({'label':_0x3116fa[_0x2ca8ff(0x130)]}),_0x50e2e4[_0x2ca8ff(0x1a3)](_0x2ca8ff(0x155))['to'](_0x57b198),_0x50e2e4['on'](_0x2ca8ff(0x155),()=>_0xb16478(_0x3116fa['id'])),_0x50e2e4[_0x2ca8ff(0x157)](_0x2ca8ff(0x1c2))['to'](_0xfe4e07,_0x2ca8ff(0x142),_0x3c09d6=>_0x3c09d6[_0x2ca8ff(0x180)](_0x3116fa['id'])),_0x57ece6[_0x2ca8ff(0x158)][_0x2ca8ff(0x12b)](_0x50e2e4),_0x57ece6;});}}function _(_0x19f4e9,_0x457e28){const _0x5791e5=_0x1c472f;return void 0x0!==_0x19f4e9[_0x5791e5(0x188)]&&void 0x0===_0x457e28[_0x5791e5(0x188)]?0x1:void 0x0===_0x19f4e9[_0x5791e5(0x188)]&&void 0x0!==_0x457e28[_0x5791e5(0x188)]?-0x1:void 0x0!==_0x19f4e9[_0x5791e5(0x188)]&&void 0x0!==_0x457e28[_0x5791e5(0x188)]?_0x19f4e9[_0x5791e5(0x188)]-_0x457e28[_0x5791e5(0x188)]:0x0;}function B(_0x8be3f3,_0x32d45a){const _0x59fd12=_0x1c472f;_0x32d45a[_0x59fd12(0x151)](_);const _0x259122={},_0x7b9625=[];for(const _0x1eb9fe of _0x32d45a)if(void 0x0!==_0x1eb9fe[_0x59fd12(0x188)]){if(_0x1eb9fe[_0x59fd12(0x188)]in _0x259122)throw new _0xf350aa(_0x59fd12(0x156),_0x8be3f3,{'conflictingDefinitions':[_0x1eb9fe,_0x259122[_0x1eb9fe[_0x59fd12(0x188)]]]});_0x259122[_0x1eb9fe[_0x59fd12(0x188)]]=_0x1eb9fe,_0x7b9625[_0x59fd12(0x14b)](_0x1eb9fe[_0x59fd12(0x188)],0x0,_0x1eb9fe);}else _0x7b9625[_0x59fd12(0x182)](_0x1eb9fe);return _0x7b9625;}
|
|
23
|
+
const _0x407de7=_0x49b0;(function(_0x4534b4,_0x3b728d){const _0x1fc05d=_0x49b0,_0x5c2eba=_0x4534b4();while(!![]){try{const _0x545220=-parseInt(_0x1fc05d(0x1d3))/0x1+parseInt(_0x1fc05d(0x20d))/0x2*(parseInt(_0x1fc05d(0x1b4))/0x3)+parseInt(_0x1fc05d(0x20e))/0x4*(parseInt(_0x1fc05d(0x1cd))/0x5)+parseInt(_0x1fc05d(0x1bb))/0x6*(parseInt(_0x1fc05d(0x1bd))/0x7)+-parseInt(_0x1fc05d(0x175))/0x8*(-parseInt(_0x1fc05d(0x1d8))/0x9)+-parseInt(_0x1fc05d(0x1d9))/0xa*(parseInt(_0x1fc05d(0x160))/0xb)+parseInt(_0x1fc05d(0x1b1))/0xc*(parseInt(_0x1fc05d(0x1eb))/0xd);if(_0x545220===_0x3b728d)break;else _0x5c2eba['push'](_0x5c2eba['shift']());}catch(_0x32b905){_0x5c2eba['push'](_0x5c2eba['shift']());}}}(_0x5a2c,0x491e4));import{Plugin as _0x5274fe}from'ckeditor5/src/core.js';import{first as _0xe8572b,CKEditorError as _0x360224}from'ckeditor5/src/utils.js';import{createDropdown as _0x374b8f,addMenuToDropdown as _0x3e4518,ButtonView as _0xbafeb7,MenuBarMenuListItemButtonView as _0x3633fc,Dialog as _0xfb3a1f,DialogViewPosition as _0x39e458,MenuBarMenuView as _0x59247e,MenuBarMenuListView as _0x53d8b7,MenuBarMenuListItemView as _0x4971b4}from'ckeditor5/src/ui.js';import{icons as _0x57261d}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x17d56b,UNGROUPED_COMMANDS_GROUP_ID as _0x165c49}from'./utils/normalizecommandsconfig.js';import _0x1bd5c0 from'./aiassistantediting.js';import _0x58ce70 from'./adapters/aiadapter.js';import{getTranslation as _0x1f932d}from'./utils/common-translations.js';function _0x5a2c(){const _0x3f9ada=['change','EDITOR_TOP_SIDE','promptView','isOfficialPlugin','236152lDTrPB','getData','insertContentBelow','_uiCssClasses','isFlat','2511NbGrct','5046740ALrNFO','hideUI','sort','tableOfContents','ai-commands-config-order-collision','aiLicenseKeyValid','fire','replace','aiLicenseKeyDomainLimit','forEach','trim','includes','change:isProcessing','items','groupId','destroy','_dialog','expired','1509131FzeFyG','requiresContent','AI\x20Commands','AIAssistantUI','usageLimit','_aiAssistantController','aiAssistant','showAIAssistant','change:enabledCommandsIds','updatePosition','execute','aiLicenseKeyExpired','REPLACE','selection','reset','commands','licenseKey','polite','ck-ai-assistant-ui','menuitemcheckbox','<p>','isCollapsed','Error\x20during\x20AI\x20content\x20generation:\x20%0','schema','_populateMenuBarMenu','splice','textAdapter','ai.aiAssistant.disabledElements','define','AI\x20Assistant','copy','INSERT','addMany','getSelectedElement','75710oyHCjP','759588GnQvFj','config','ai.useTheme','_getResolvedCommandsDefinitions','buttons','ai.aiAssistant.commands','trialLimit','editing','11cMKFKt','aiLicenseKeyInvalid','order','length','getSelectedBlocks','set','showUI','init','change:value','</p>','buttonView','setSelection','aiCommands','hide','pluginName','_initAriaAiStatusChangeAnnouncements','push','\x20ck-ai-assistant-ui_theme','panelView','_createAIAssistantUIButton','aiLicenseKeyTrialLimit','2456DyHFSv','insertContent','developmentLimit','show','AI\x20is\x20writing','focus','domainLimit','aiLicenseKeyDevelopmentLimit','featureNotAllowed','filter','render','isPremiumPlugin','showFakeVisualSelection','command:','announce','bind','menuPanelClass','enabledCommandsIds','menuView','_onExecute','ai.aiAssistant.contentAreaCssClass','media','currentContext','queryView','AIAssistant','ck-ai-assistant-button\x20','requires','_getMenuBarGroupButtons','values','delegate','errorView','contentArea','source','_initView','add','_commandDefinitions','isEnabled','updateView','view','listenTo','locale','getRanges','wasMoved','editor','_licenseKeyCheckInterval','aiLicenseKeyUsageLimit','isOn','invalid','_forceMarkersCopy','_formView','prompt','replaceContent','aiLicenseKeyEvaluationLimit','text/html','plugins','map','robotPencil','model','document','_showLicenseError','36HygJrz','text','comment','3AwQYgk','hideFakeVisualSelection','menuBar:aiCommands','body','from','once','getLimitElement','32358PQNRZS','evaluationLimit','245wQrSKk','componentFactory','Generated\x20content:\x20%0','groupLabel','change:isError','fieldView','get','children','rawHtml','DataTransfer','_aiAdapter','aiLicenseKeyNotAllowed','update','ck-ai-commands-dropdown\x20','menuBar:aiAssistant','label','10PHhilU','custom'];_0x5a2c=function(){return _0x3f9ada;};return _0x5a2c();}function _0x49b0(_0x53c432,_0x5f5c96){const _0x5a2c1d=_0x5a2c();return _0x49b0=function(_0x49b051,_0x4423ba){_0x49b051=_0x49b051-0x15f;let _0x3ad9bf=_0x5a2c1d[_0x49b051];return _0x3ad9bf;},_0x49b0(_0x53c432,_0x5f5c96);}import _0x219b3f from'./ui/showaiassistantcommand.js';import _0x1667ef from'./ui/aiassistantcontroller.js';import _0x1189b4 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x44e11f}from'./ui/form/aiformtoolbarview.js';import _0x1a7a9c from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x407de7(0x1c6)];import{ClipboardMarkersUtils as _0x48bc58}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4859e4,DataTransfer as _0x295349}from'ckeditor5/src/engine.js';export default class n extends _0x5274fe{static get[_0x407de7(0x16e)](){const _0x3f2a9c=_0x407de7;return _0x3f2a9c(0x1ee);}static get[_0x407de7(0x1d2)](){return!0x0;}static get[_0x407de7(0x180)](){return!0x0;}static get[_0x407de7(0x18f)](){return[_0x48bc58,_0x1bd5c0,_0x58ce70,_0xfb3a1f];}constructor(_0x52785d){const _0x25619a=_0x407de7;super(_0x52785d),this[_0x25619a(0x1d6)]='',_0x52785d[_0x25619a(0x20f)][_0x25619a(0x207)](_0x25619a(0x206),[_0x25619a(0x18a),_0x25619a(0x1c5),_0x25619a(0x1dc)]),_0x52785d[_0x25619a(0x20f)][_0x25619a(0x207)](_0x25619a(0x189),''),_0x52785d[_0x25619a(0x20f)][_0x25619a(0x207)](_0x25619a(0x210),!0x0),this[_0x25619a(0x1d6)]=_0x25619a(0x1fd)+(_0x52785d[_0x25619a(0x20f)][_0x25619a(0x1c3)](_0x25619a(0x210))?_0x25619a(0x171):'');}[_0x407de7(0x167)](){const _0x4360fc=_0x407de7,{editor:_0x4643f4}=this;this[_0x4360fc(0x1c7)]=_0x4643f4[_0x4360fc(0x1ab)][_0x4360fc(0x1c3)](_0x58ce70),this[_0x4360fc(0x1e9)]=_0x4643f4[_0x4360fc(0x1ab)][_0x4360fc(0x1c3)](_0xfb3a1f),this[_0x4360fc(0x1a6)]=null,this[_0x4360fc(0x198)]=this[_0x4360fc(0x211)]();const _0x172b19=new _0x219b3f(_0x4643f4,Array[_0x4360fc(0x1b8)](this[_0x4360fc(0x198)][_0x4360fc(0x191)]()));_0x4643f4[_0x4360fc(0x1fa)][_0x4360fc(0x197)](_0x4360fc(0x1f2),_0x172b19),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x16c),_0x2e8049=>{const _0x5150c8=_0x4360fc,_0x4b4a00=_0x374b8f(_0x2e8049);return _0x4b4a00[_0x5150c8(0x165)]({'class':_0x5150c8(0x1ca)+this[_0x5150c8(0x1d6)]}),_0x4b4a00[_0x5150c8(0x16a)][_0x5150c8(0x165)]({'label':_0x1f932d(_0x2e8049,_0x5150c8(0x1ed)),'icon':_0x1a7a9c,'tooltip':!0x0}),_0x4b4a00['on'](_0x5150c8(0x1f5),_0x88e914=>this[_0x5150c8(0x188)](_0x88e914[_0x5150c8(0x195)]['id'])),_0x3e4518(_0x4b4a00,_0x4643f4['ui'][_0x5150c8(0x19b)][_0x5150c8(0x1b7)],function(_0x1325d9){const _0x12419b=_0x5150c8,_0x57b809=_0x17d56b(_0x1325d9[_0x12419b(0x20f)][_0x12419b(0x1c3)](_0x12419b(0x213)),_0x1325d9[_0x12419b(0x19d)]),_0x1eca7a=B(_0x1325d9,_0x57b809)[_0x12419b(0x17e)](_0x3fbb1c=>_0x3fbb1c[_0x12419b(0x1fa)][_0x12419b(0x163)]);if(0x1===_0x1eca7a[_0x12419b(0x163)])return B(_0x1325d9,_0x1eca7a[0x0][_0x12419b(0x1fa)])[_0x12419b(0x1ac)](_0x316d26=>({'id':_0x316d26['id'],'label':_0x316d26[_0x12419b(0x1cc)]}));return _0x1eca7a[_0x12419b(0x1ac)](_0x2c28e5=>{const _0x1274d8=_0x12419b,{groupId:_0x1a818e,groupLabel:_0x1c3f98,commands:_0x5c3328}=_0x2c28e5,_0x477b77=B(_0x1325d9,_0x5c3328)[_0x1274d8(0x1ac)](_0x447786=>({'id':_0x447786['id'],'label':_0x447786[_0x1274d8(0x1cc)]}));return{'id':_0x1a818e,'menu':_0x1c3f98||_0x1a818e,'children':_0x477b77};});}(_0x4643f4),{'ariaLabel':_0x1f932d(_0x2e8049,_0x5150c8(0x1ed))}),_0x4b4a00[_0x5150c8(0x187)][_0x5150c8(0x185)]=_0x5150c8(0x1ca)+this[_0x5150c8(0x1d6)],_0x172b19['on'](_0x5150c8(0x1f3),_0x41f3f),_0x4b4a00[_0x5150c8(0x187)][_0x5150c8(0x1b9)](_0x5150c8(0x17f),_0x41f3f),_0x4b4a00;function _0x41f3f(){const _0x39a9d0=_0x5150c8;_0x4b4a00[_0x39a9d0(0x199)]=_0x172b19[_0x39a9d0(0x186)][_0x39a9d0(0x163)]>0x0;for(const _0x3f3887 of _0x4b4a00[_0x39a9d0(0x187)][_0x39a9d0(0x212)])_0x3f3887[_0x39a9d0(0x199)]=_0x172b19[_0x39a9d0(0x186)][_0x39a9d0(0x1e4)](_0x3f3887['id']);}}),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x1b6),_0x5f42aa=>{const _0x56e8f1=_0x4360fc,_0x1d4467=new _0x59247e(_0x5f42aa);_0x1d4467[_0x56e8f1(0x16a)][_0x56e8f1(0x165)]({'label':_0x1f932d(_0x5f42aa,_0x56e8f1(0x1ed)),'icon':_0x1a7a9c}),_0x1d4467[_0x56e8f1(0x184)](_0x56e8f1(0x199))['to'](_0x172b19,_0x56e8f1(0x186),_0x304ac2=>_0x304ac2[_0x56e8f1(0x163)]>0x0);const _0x4186b9=_0x17d56b(_0x4643f4[_0x56e8f1(0x20f)][_0x56e8f1(0x1c3)](_0x56e8f1(0x213)),_0x5f42aa);return this[_0x56e8f1(0x203)](_0x172b19,_0x1d4467,_0x4186b9,_0x15543c=>this[_0x56e8f1(0x188)](_0x15543c)),_0x1d4467;}),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x1f1),()=>{const _0x1c9e04=_0x4360fc,_0x10df50=this[_0x1c9e04(0x173)](_0xbafeb7);return _0x10df50[_0x1c9e04(0x165)]({'tooltip':!0x0,'class':_0x1c9e04(0x18e)+this[_0x1c9e04(0x1d6)]}),_0x10df50;}),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x1cb),()=>{const _0x2d8326=_0x4360fc,_0x2e5628=this[_0x2d8326(0x173)](_0x3633fc);return _0x2e5628[_0x2d8326(0x165)]({'role':_0x2d8326(0x1fe)}),_0x2e5628;}),this[_0x4360fc(0x1fb)]=this[_0x4360fc(0x1a0)][_0x4360fc(0x20f)][_0x4360fc(0x1c3)](_0x4360fc(0x1fb));const _0x7fa688=this[_0x4360fc(0x1a0)];this[_0x4360fc(0x1a1)]=setInterval(()=>{const _0x1bfb40=_0x4360fc;let _0xffad12;for(const _0x5d362a in _0x7fa688){const _0x5a2fee=_0x5d362a,_0xf33dcf=_0x7fa688[_0x5a2fee];if(_0x1bfb40(0x1de)==_0xf33dcf||_0x1bfb40(0x161)==_0xf33dcf||_0x1bfb40(0x1f6)==_0xf33dcf||_0x1bfb40(0x1e1)==_0xf33dcf||_0x1bfb40(0x1c8)==_0xf33dcf||_0x1bfb40(0x1a9)==_0xf33dcf||_0x1bfb40(0x174)==_0xf33dcf||_0x1bfb40(0x17c)==_0xf33dcf||_0x1bfb40(0x1a2)==_0xf33dcf){delete _0x7fa688[_0x5a2fee],_0xffad12=_0xf33dcf,clearInterval(this[_0x1bfb40(0x1a1)]),this[_0x1bfb40(0x1a1)]=void 0x0;break;}}_0x1bfb40(0x161)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1a4)),_0x1bfb40(0x1f6)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1ea)),_0x1bfb40(0x1e1)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x17b)),_0x1bfb40(0x1c8)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x17d),_0x1bfb40(0x18d)),_0x1bfb40(0x1a9)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1bc)),_0x1bfb40(0x174)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x214)),_0x1bfb40(0x17c)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x177)),_0x1bfb40(0x1a2)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1ef));},0x3e8);}[_0x407de7(0x1e8)](){const _0x38ea14=_0x407de7;super[_0x38ea14(0x1e8)](),this[_0x38ea14(0x1a1)]&&clearInterval(this[_0x38ea14(0x1a1)]);}[_0x407de7(0x166)](_0x49b364='',_0x3e6463='',_0x302618=_0x407de7(0x1ce)){const _0x3aa595=_0x407de7,_0x3e4183=this[_0x3aa595(0x1a0)],_0x4ef45a=_0x3e4183[_0x3aa595(0x15f)][_0x3aa595(0x19b)],_0x46fe7b=_0x3e4183[_0x3aa595(0x1ab)][_0x3aa595(0x1c3)](_0x1bd5c0),_0x3b1fb0=_0x3e4183[_0x3aa595(0x1ab)][_0x3aa595(0x1c3)](_0x48bc58);_0x46fe7b[_0x3aa595(0x181)]();const _0x44dac6=new j(),_0x1d9e8e=new ClipboardEvent(_0x3aa595(0x209),{'clipboardData':_0x44dac6}),_0x30035a=new _0x295349(_0x44dac6),_0x57366b=new _0x4859e4(_0x4ef45a,_0x1d9e8e,{'dataTransfer':_0x30035a});_0x3b1fb0[_0x3aa595(0x1a5)](_0x3aa595(0x1b3),()=>{const _0x2e1b1a=_0x3aa595;_0x4ef45a[_0x2e1b1a(0x1af)][_0x2e1b1a(0x1df)](_0x2e1b1a(0x209),_0x57366b);}),this[_0x3aa595(0x1a6)]||(this[_0x3aa595(0x196)](),this[_0x3aa595(0x1f0)]=new _0x1667ef(_0x3e4183,this[_0x3aa595(0x1c7)][_0x3aa595(0x205)],this[_0x3aa595(0x1a6)]));let _0x3398c2=_0x30035a[_0x3aa595(0x1d4)](_0x3aa595(0x1aa));const _0x557e3=_0x3e4183[_0x3aa595(0x1ae)][_0x3aa595(0x1af)][_0x3aa595(0x1f8)],_0x173d2c=Array[_0x3aa595(0x1b8)](_0x557e3[_0x3aa595(0x19e)]());0x1===_0x173d2c[_0x3aa595(0x163)]&&_0x173d2c[0x0][_0x3aa595(0x1d7)]&&!_0x557e3[_0x3aa595(0x20c)]()&&''!==_0x3398c2[_0x3aa595(0x1e0)](/ /g,'')[_0x3aa595(0x1e3)]()&&(_0x3398c2=_0x3aa595(0x1ff)+_0x3398c2+_0x3aa595(0x169)),this[_0x3aa595(0x1f0)][_0x3aa595(0x19a)]({'actionId':_0x302618,'query':_0x49b364,'htmlContent':_0x3398c2,'label':_0x3e6463,'mainActionLabel':_0x44e11f[_0x3e4183[_0x3aa595(0x1ae)][_0x3aa595(0x1af)][_0x3aa595(0x1f8)][_0x3aa595(0x200)]?_0x3aa595(0x20a):_0x3aa595(0x1f7)]}),_0x3aa595(0x1f1)!==this[_0x3aa595(0x1e9)]['id']?this[_0x3aa595(0x1e9)][_0x3aa595(0x178)]({'id':_0x3aa595(0x1f1),'icon':_0x57261d[_0x3aa595(0x1ad)],'title':_0x1f932d(this[_0x3aa595(0x1a0)][_0x3aa595(0x19d)],_0x3aa595(0x208)),'content':this[_0x3aa595(0x1a6)],'position':_0x39e458[_0x3aa595(0x1d0)],'onShow':()=>{const _0x238d93=_0x3aa595;this[_0x238d93(0x1a6)][_0x238d93(0x17a)]();},'onHide':()=>{const _0x43a364=_0x3aa595;this[_0x43a364(0x1f0)][_0x43a364(0x1f9)](),_0x46fe7b[_0x43a364(0x1b5)]();}}):this[_0x3aa595(0x1e9)][_0x3aa595(0x19b)][_0x3aa595(0x19f)]||this[_0x3aa595(0x1e9)][_0x3aa595(0x19b)][_0x3aa595(0x1f4)]();}[_0x407de7(0x1da)](){const _0x34ffb6=_0x407de7;this[_0x34ffb6(0x1e9)][_0x34ffb6(0x16d)]();}[_0x407de7(0x211)](){const _0x27354d=_0x407de7,_0x56c2cb=new Map(),_0x3daaf4=_0x17d56b(this[_0x27354d(0x1a0)][_0x27354d(0x20f)][_0x27354d(0x1c3)](_0x27354d(0x213)),this[_0x27354d(0x1a0)][_0x27354d(0x19d)]);for(const _0x2cb5fb of _0x3daaf4)for(const _0x552e84 of _0x2cb5fb[_0x27354d(0x1fa)])_0x56c2cb[_0x27354d(0x165)](_0x552e84['id'],{..._0x552e84,'groupId':_0x2cb5fb[_0x27354d(0x1e7)],'groupLabel':_0x2cb5fb[_0x27354d(0x1c0)]||_0x2cb5fb[_0x27354d(0x1e7)]});return _0x56c2cb;}[_0x407de7(0x173)](_0x1136d9){const _0x2f77f6=_0x407de7,_0x4e1201=this[_0x2f77f6(0x1a0)],_0x4f4c76=_0x4e1201[_0x2f77f6(0x1fa)][_0x2f77f6(0x1c3)](_0x2f77f6(0x1f2)),_0x225b14=new _0x1136d9(_0x4e1201[_0x2f77f6(0x19d)]);return _0x225b14[_0x2f77f6(0x165)]({'label':_0x1f932d(_0x4e1201[_0x2f77f6(0x19d)],_0x2f77f6(0x208)),'icon':_0x57261d[_0x2f77f6(0x1ad)],'isToggleable':!0x0}),_0x225b14[_0x2f77f6(0x184)](_0x2f77f6(0x199))['to'](_0x4f4c76),_0x225b14[_0x2f77f6(0x184)](_0x2f77f6(0x1a3))['to'](this[_0x2f77f6(0x1e9)],'id',_0x344b1c=>_0x2f77f6(0x1f1)===_0x344b1c),this[_0x2f77f6(0x19c)](_0x225b14,_0x2f77f6(0x1f5),()=>{const _0x97c55d=_0x2f77f6;_0x225b14[_0x97c55d(0x1a3)]?this[_0x97c55d(0x1da)]():_0x4f4c76[_0x97c55d(0x1f5)]();}),_0x225b14;}[_0x407de7(0x196)](){const _0x3ab2b2=_0x407de7,_0xe0b231=this[_0x3ab2b2(0x1a0)][_0x3ab2b2(0x1ab)][_0x3ab2b2(0x1c3)](_0x1bd5c0);this[_0x3ab2b2(0x1a6)]=new _0x1189b4(this[_0x3ab2b2(0x1a0)][_0x3ab2b2(0x19d)],this[_0x3ab2b2(0x1d6)],this[_0x3ab2b2(0x1a0)][_0x3ab2b2(0x20f)][_0x3ab2b2(0x1c3)](_0x3ab2b2(0x189))),this[_0x3ab2b2(0x1a6)]['on'](_0x3ab2b2(0x168),()=>{const _0x1a910b=_0x3ab2b2;this[_0x1a910b(0x1e9)][_0x1a910b(0x19b)][_0x1a910b(0x19f)]||this[_0x1a910b(0x1e9)][_0x1a910b(0x19b)][_0x1a910b(0x1f4)]();}),this[_0x3ab2b2(0x1a6)][_0x3ab2b2(0x1d1)][_0x3ab2b2(0x18c)][_0x3ab2b2(0x1c2)]['on'](_0x3ab2b2(0x1c9),()=>{const _0x594665=_0x3ab2b2;this[_0x594665(0x1e9)][_0x594665(0x19b)][_0x594665(0x19f)]||this[_0x594665(0x1e9)][_0x594665(0x19b)][_0x594665(0x1f4)]();}),this[_0x3ab2b2(0x19c)](this[_0x3ab2b2(0x1a6)],_0x3ab2b2(0x1a8),()=>{const _0x49bef6=_0x3ab2b2;_0xe0b231[_0x49bef6(0x176)](this[_0x49bef6(0x1f0)][_0x49bef6(0x18b)]),this[_0x49bef6(0x1da)]();}),this[_0x3ab2b2(0x19c)](this[_0x3ab2b2(0x1a6)],_0x3ab2b2(0x1d5),()=>{const _0x1385a6=_0x3ab2b2;_0xe0b231[_0x1385a6(0x1d5)](this[_0x1385a6(0x1f0)][_0x1385a6(0x18b)]),this[_0x1385a6(0x1da)]();}),this[_0x3ab2b2(0x16f)]();}[_0x407de7(0x16f)](){const _0x4bb2a0=_0x407de7,{locale:_0x33d0ec,ui:{ariaLiveAnnouncer:_0x17fc43}}=this[_0x4bb2a0(0x1a0)];this[_0x4bb2a0(0x1a6)][_0x4bb2a0(0x194)]['on'](_0x4bb2a0(0x1e5),(_0x38ebb8,_0x1143da,_0x51b6e3)=>{const _0x1f939b=_0x4bb2a0,_0x33cea4=this[_0x1f939b(0x1f0)][_0x1f939b(0x18b)];_0x51b6e3?_0x17fc43[_0x1f939b(0x183)](_0x1f932d(_0x33d0ec,_0x1f939b(0x179))):_0x33cea4&&_0x17fc43[_0x1f939b(0x183)](_0x1f932d(_0x33d0ec,_0x1f939b(0x1bf),_0x33cea4),{'politeness':_0x1f939b(0x1fc),'isUnsafeHTML':!0x0});}),this[_0x4bb2a0(0x1a6)]['on'](_0x4bb2a0(0x1c1),(_0x36f53c,_0x1e82a1,_0x4fa8ca)=>{const _0x2c45a0=_0x4bb2a0;if(_0x4fa8ca){const _0x4879a3=this[_0x2c45a0(0x1a6)][_0x2c45a0(0x193)][_0x2c45a0(0x1b2)];_0x17fc43[_0x2c45a0(0x183)](_0x1f932d(_0x33d0ec,_0x2c45a0(0x201),_0x4879a3));}});}[_0x407de7(0x188)](_0x1589e4){const _0x45f7fa=_0x407de7,_0x3b443b=this[_0x45f7fa(0x198)][_0x45f7fa(0x1c3)](_0x1589e4),_0x5578a3=this[_0x45f7fa(0x1a0)],_0x28c891=_0x5578a3[_0x45f7fa(0x1ae)][_0x45f7fa(0x1af)][_0x45f7fa(0x1f8)],_0xb0c164=_0x5578a3[_0x45f7fa(0x1fa)][_0x45f7fa(0x1c3)](_0x45f7fa(0x1f2)),_0x574002=_0x5578a3[_0x45f7fa(0x1ab)][_0x45f7fa(0x1c3)](_0x1bd5c0),_0x24e303=''+(_0x3b443b[_0x45f7fa(0x1e7)]!==_0x165c49?_0x3b443b[_0x45f7fa(0x1c0)]+':\x20':'')+_0x3b443b[_0x45f7fa(0x1cc)];if(!0x1!==_0x3b443b[_0x45f7fa(0x1ec)]&&_0x28c891[_0x45f7fa(0x200)]){const _0x1f77ae=_0xe8572b(_0x28c891[_0x45f7fa(0x164)]())||_0x5578a3[_0x45f7fa(0x1ae)][_0x45f7fa(0x202)][_0x45f7fa(0x1ba)](_0x28c891);_0x5578a3[_0x45f7fa(0x1ae)][_0x45f7fa(0x1cf)](_0x4f38ec=>{const _0x53c720=_0x45f7fa;_0x4f38ec[_0x53c720(0x16b)](_0x1f77ae,'in');});}_0x574002[_0x45f7fa(0x181)](),_0xb0c164[_0x45f7fa(0x1f5)](_0x3b443b[_0x45f7fa(0x1a7)],_0x24e303,_0x45f7fa(0x182)+_0x1589e4);}[_0x407de7(0x203)](_0x23d90e,_0x678b7d,_0x5eb4a5,_0x51e9ee){const _0x491bf0=_0x407de7,_0x591571=this[_0x491bf0(0x1a0)],_0x1fc8a7=_0x591571[_0x491bf0(0x19d)],_0x1560ea=new _0x53d8b7(_0x1fc8a7),_0x3dbb6e=B(_0x591571,_0x5eb4a5)[_0x491bf0(0x17e)](_0x209a32=>_0x209a32[_0x491bf0(0x1fa)][_0x491bf0(0x163)]);0x1===_0x3dbb6e[_0x491bf0(0x163)]?this[_0x491bf0(0x190)]({'command':_0x23d90e,'commands':_0x3dbb6e[0x0][_0x491bf0(0x1fa)],'parentMenuView':_0x678b7d,'onExecute':_0x51e9ee})[_0x491bf0(0x1e2)](_0xbaa7b0=>_0x1560ea[_0x491bf0(0x1e6)][_0x491bf0(0x197)](_0xbaa7b0)):_0x3dbb6e[_0x491bf0(0x1e2)](({groupId:_0x5bc060,groupLabel:_0x57b899,commands:_0x3a68ed})=>{const _0x445521=_0x491bf0,_0x4aba84=new _0x4971b4(_0x1fc8a7,_0x678b7d),_0x34e26c=new _0x59247e(_0x1fc8a7),_0x162bf2=new _0x53d8b7(_0x1fc8a7),_0x1f170a=this[_0x445521(0x190)]({'command':_0x23d90e,'commands':_0x3a68ed,'parentMenuView':_0x34e26c,'onExecute':_0x51e9ee});_0x34e26c[_0x445521(0x16a)][_0x445521(0x165)]({'label':_0x57b899||_0x5bc060}),_0x34e26c[_0x445521(0x192)](_0x445521(0x1f5))['to'](_0x678b7d),_0x162bf2[_0x445521(0x1e6)][_0x445521(0x20b)](_0x1f170a),_0x34e26c[_0x445521(0x172)][_0x445521(0x1c4)][_0x445521(0x197)](_0x162bf2),_0x4aba84[_0x445521(0x1c4)][_0x445521(0x197)](_0x34e26c),_0x1560ea[_0x445521(0x1e6)][_0x445521(0x197)](_0x4aba84);}),_0x678b7d[_0x491bf0(0x172)][_0x491bf0(0x1c4)][_0x491bf0(0x197)](_0x1560ea);}[_0x407de7(0x190)]({command:_0x1cb390,commands:_0x116084,parentMenuView:_0x3a666b,onExecute:_0x698cca}){const _0x19da82=_0x407de7,_0x360335=this[_0x19da82(0x1a0)],_0x9992fa=_0x360335[_0x19da82(0x19d)];return B(_0x360335,_0x116084)[_0x19da82(0x1ac)](_0x2f4e71=>{const _0x36de3c=_0x19da82,_0x590455=new _0x4971b4(_0x9992fa,_0x3a666b),_0x15cd22=new _0x3633fc(_0x9992fa);return _0x15cd22[_0x36de3c(0x165)]({'label':_0x2f4e71[_0x36de3c(0x1cc)]}),_0x15cd22[_0x36de3c(0x192)](_0x36de3c(0x1f5))['to'](_0x3a666b),_0x15cd22['on'](_0x36de3c(0x1f5),()=>_0x698cca(_0x2f4e71['id'])),_0x15cd22[_0x36de3c(0x184)](_0x36de3c(0x199))['to'](_0x1cb390,_0x36de3c(0x186),_0xe688e2=>_0xe688e2[_0x36de3c(0x1e4)](_0x2f4e71['id'])),_0x590455[_0x36de3c(0x1c4)][_0x36de3c(0x197)](_0x15cd22),_0x590455;});}}function _(_0x35c499,_0x2b6013){const _0x161d00=_0x407de7;return void 0x0!==_0x35c499[_0x161d00(0x162)]&&void 0x0===_0x2b6013[_0x161d00(0x162)]?0x1:void 0x0===_0x35c499[_0x161d00(0x162)]&&void 0x0!==_0x2b6013[_0x161d00(0x162)]?-0x1:void 0x0!==_0x35c499[_0x161d00(0x162)]&&void 0x0!==_0x2b6013[_0x161d00(0x162)]?_0x35c499[_0x161d00(0x162)]-_0x2b6013[_0x161d00(0x162)]:0x0;}function B(_0x374049,_0x3f4945){const _0x58cbcf=_0x407de7;_0x3f4945[_0x58cbcf(0x1db)](_);const _0x272c3f={},_0x39a350=[];for(const _0x2e04d4 of _0x3f4945)if(void 0x0!==_0x2e04d4[_0x58cbcf(0x162)]){if(_0x2e04d4[_0x58cbcf(0x162)]in _0x272c3f)throw new _0x360224(_0x58cbcf(0x1dd),_0x374049,{'conflictingDefinitions':[_0x2e04d4,_0x272c3f[_0x2e04d4[_0x58cbcf(0x162)]]]});_0x272c3f[_0x2e04d4[_0x58cbcf(0x162)]]=_0x2e04d4,_0x39a350[_0x58cbcf(0x204)](_0x2e04d4[_0x58cbcf(0x162)],0x0,_0x2e04d4);}else _0x39a350[_0x58cbcf(0x170)](_0x2e04d4);return _0x39a350;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x35a54a,_0x597507){var _0x474155=_0x1812,_0x81e678=_0x35a54a();while(!![]){try{var _0x166074=parseInt(_0x474155(0x1ed))/0x1+-parseInt(_0x474155(0x1f0))/0x2+parseInt(_0x474155(0x1f2))/0x3+-parseInt(_0x474155(0x1f3))/0x4*(parseInt(_0x474155(0x1ec))/0x5)+-parseInt(_0x474155(0x1ee))/0x6*(-parseInt(_0x474155(0x1eb))/0x7)+parseInt(_0x474155(0x1f1))/0x8+-parseInt(_0x474155(0x1ef))/0x9;if(_0x166074===_0x597507)break;else _0x81e678['push'](_0x81e678['shift']());}catch(_0x342243){_0x81e678['push'](_0x81e678['shift']());}}}(_0x24e5,0x7e7d0));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x1812(_0x8b8b6a,_0x4708e3){var _0x24e59=_0x24e5();return _0x1812=function(_0x181262,_0x564bd2){_0x181262=_0x181262-0x1eb;var _0x310dee=_0x24e59[_0x181262];return _0x310dee;},_0x1812(_0x8b8b6a,_0x4708e3);}import'./augmentation.js';function _0x24e5(){var _0x135916=['456152PkTUnv','2678514zXgYhC','19148pBwqpD','384083ILTIlE','595cbhdRf','649276OIuvKf','108tLtXsQ','5000022PcCztz','1886936pTEgnP'];_0x24e5=function(){return _0x135916;};return _0x24e5();}
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3cbf9e,_0x26b0b8){var _0x4e39fa=_0x199b,_0x9375b2=_0x3cbf9e();while(!![]){try{var _0x5c6231=parseInt(_0x4e39fa(0x116))/0x1*(-parseInt(_0x4e39fa(0x110))/0x2)+parseInt(_0x4e39fa(0x10e))/0x3*(-parseInt(_0x4e39fa(0x111))/0x4)+parseInt(_0x4e39fa(0x10b))/0x5*(-parseInt(_0x4e39fa(0x10f))/0x6)+-parseInt(_0x4e39fa(0x114))/0x7+parseInt(_0x4e39fa(0x10c))/0x8*(-parseInt(_0x4e39fa(0x10d))/0x9)+parseInt(_0x4e39fa(0x115))/0xa*(parseInt(_0x4e39fa(0x112))/0xb)+parseInt(_0x4e39fa(0x113))/0xc;if(_0x5c6231===_0x26b0b8)break;else _0x9375b2['push'](_0x9375b2['shift']());}catch(_0x11c4b0){_0x9375b2['push'](_0x9375b2['shift']());}}}(_0x32db,0xbfd22));function _0x199b(_0x59ad30,_0x1b408b){var _0x32db1c=_0x32db();return _0x199b=function(_0x199bce,_0x120ca9){_0x199bce=_0x199bce-0x10b;var _0x4f6d85=_0x32db1c[_0x199bce];return _0x4f6d85;},_0x199b(_0x59ad30,_0x1b408b);}function _0x32db(){var _0x446f1a=['72heoUlJ','82539smrQRK','27SwtwVv','3626286GISyYL','89016YGqgBW','376468bjrpWp','55DHAGoD','45549060TPYfrX','3171917UspPRd','713590RwVASQ','31tbxiaD','5vFsint'];_0x32db=function(){return _0x446f1a;};return _0x32db();}import{CKEditorError as _0x427be7}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x27a1(_0x48864a,_0x6e480a){const _0x3a81f9=_0x3a81();return _0x27a1=function(_0x27a184,_0x588e9e){_0x27a184=_0x27a184-0x1c3;let _0x5b9406=_0x3a81f9[_0x27a184];return _0x5b9406;},_0x27a1(_0x48864a,_0x6e480a);}const _0x3ef93c=_0x27a1;(function(_0x20a870,_0x3bebf9){const _0x4b9a72=_0x27a1,_0x56a701=_0x20a870();while(!![]){try{const _0x4f72db=parseInt(_0x4b9a72(0x1ee))/0x1*(-parseInt(_0x4b9a72(0x1cd))/0x2)+parseInt(_0x4b9a72(0x220))/0x3+parseInt(_0x4b9a72(0x1f6))/0x4*(parseInt(_0x4b9a72(0x1ef))/0x5)+-parseInt(_0x4b9a72(0x1ca))/0x6+parseInt(_0x4b9a72(0x1c9))/0x7+-parseInt(_0x4b9a72(0x1f5))/0x8*(-parseInt(_0x4b9a72(0x1d6))/0x9)+-parseInt(_0x4b9a72(0x200))/0xa;if(_0x4f72db===_0x3bebf9)break;else _0x56a701['push'](_0x56a701['shift']());}catch(_0x149cf2){_0x56a701['push'](_0x56a701['shift']());}}}(_0x3a81,0xddb8c));import{ObservableMixin as _0x3eae5c}from'ckeditor5/src/utils.js';import{AIRequestError as _0x2af5e7}from'../adapters/aiadapter.js';import{Matcher as _0x4e2b95,UpcastWriter as _0x5c2dd6}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x3a81(){const _0x11b797=['10118022gWUOwa','previousQuery','name','2NbhKeZ','_domParser','_isH1TagSupportEnabled','previousContext','_normalizeResponseHeadings','value','toModel','listenTo','reverse','9LnpTbV','substring','querySelector','```html','set','_xmlSerializer','initialContext','<h1></h1>','mainAction','processor','element','data','serializeToString','updateView','match','stringify','isProcessing','set:currentContext','nodeType','prompt','push','startsWith','previousLabel','catch','1194815XINAOk','5hZwPti','_sanitizationContainer','viewToDom','makeRequest','reset','tryAgainEvent','12739816fRFedh','3516808BTdaSm','view','parseFromString','setContentOf','div','ELEMENT_NODE','_handleQuery','createElement','finally','message','19209620gjRCsc','_parseAndNormalizeContent','stopProcessing','rename','render','startProcessing','innerHTML','once','custom','textAdapter','text/html','finishProcessing','editing','htmlProcessor','stopListening','```','then','length','_stripMarkdownSyntax','domConverter','currentResponse','remove','submitPrompt','trim','destroy','document','body','exec','currentContext','previousActionId','isRendered','childNodes','5222754JQeVOI','from','abort','editor','toView','handleError','endsWith','_sanitizeHTML','10483823mkwpEu'];_0x3a81=function(){return _0x11b797;};return _0x3a81();}export default class C extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3eae5c(){constructor(_0x5d3aca,_0x835aa3,_0x1a2791){const _0x34341f=_0x27a1;super(),this[_0x34341f(0x1c4)]=_0x5d3aca,this[_0x34341f(0x209)]=_0x835aa3,this[_0x34341f(0x1f0)]=document[_0x34341f(0x1fd)](_0x34341f(0x1fa)),this[_0x34341f(0x1ce)]=new DOMParser(),this[_0x34341f(0x1db)]=new XMLSerializer(),this[_0x34341f(0x1f7)]=_0x1a2791,this[_0x34341f(0x1da)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x34341f(0x1e7),(_0x4a95a6,_0x37abb1,_0xcaf82a)=>{const _0x16c812=_0x34341f;this[_0x16c812(0x1f7)][_0x16c812(0x1d2)]=this[_0x16c812(0x1c8)](_0xcaf82a);}),this[_0x34341f(0x1d4)](this[_0x34341f(0x1f7)],_0x34341f(0x216),(_0x16f59,_0x19d90d)=>{const _0x4b6fb9=_0x34341f,_0x117a24=this[_0x4b6fb9(0x21c)]||this[_0x4b6fb9(0x1dc)];this[_0x4b6fb9(0x1fc)](_0x19d90d,_0x117a24,_0x4b6fb9(0x208));}),this[_0x34341f(0x1d4)](this[_0x34341f(0x1f7)],_0x34341f(0x1f4),()=>{const _0x1adcf1=_0x34341f;this[_0x1adcf1(0x1f7)][_0x1adcf1(0x1e9)]=this[_0x1adcf1(0x1ec)],this[_0x1adcf1(0x1fc)](this[_0x1adcf1(0x1cb)],this[_0x1adcf1(0x1d0)],this[_0x1adcf1(0x21d)],this[_0x1adcf1(0x1ec)]);}),this[_0x34341f(0x1d4)](this[_0x34341f(0x1f7)],_0x34341f(0x202),()=>{const _0x32b2c1=_0x34341f;this[_0x32b2c1(0x202)]();});}[_0x3ef93c(0x218)](){const _0x13e410=_0x3ef93c;this[_0x13e410(0x20e)]();}async[_0x3ef93c(0x1e3)]({actionId:_0x155165,query:_0x25678c,htmlContent:_0x243dbd,label:_0x1d39d3,mainActionLabel:_0x3399bc}){const _0x331dbe=_0x3ef93c;this[_0x331dbe(0x1f7)][_0x331dbe(0x1e9)]=_0x1d39d3,this[_0x331dbe(0x1f7)][_0x331dbe(0x1de)]=_0x3399bc,this[_0x331dbe(0x1dc)]=_0x243dbd,_0x25678c&&(this[_0x331dbe(0x1f7)][_0x331dbe(0x21e)]?this[_0x331dbe(0x1fc)](_0x25678c,_0x243dbd,_0x155165,_0x1d39d3):this[_0x331dbe(0x1f7)][_0x331dbe(0x207)](_0x331dbe(0x204),()=>{const _0xb478ea=_0x331dbe;this[_0xb478ea(0x1fc)](_0x25678c,_0x243dbd,_0x155165,_0x1d39d3);}));}[_0x3ef93c(0x202)](){const _0x549c42=_0x3ef93c;this[_0x549c42(0x1e6)]&&(this[_0x549c42(0x1e6)]=!0x1,this[_0x549c42(0x1f7)][_0x549c42(0x20b)](),this[_0x549c42(0x209)][_0x549c42(0x1c3)]());}[_0x3ef93c(0x1f3)](){const _0x3a5ddf=_0x3ef93c;this[_0x3a5ddf(0x1dc)]='',this[_0x3a5ddf(0x21c)]='',this[_0x3a5ddf(0x214)]='',this[_0x3a5ddf(0x1d0)]='',this[_0x3a5ddf(0x1cb)]='',this[_0x3a5ddf(0x1ec)]='',this[_0x3a5ddf(0x21d)]=void 0x0,this[_0x3a5ddf(0x1f7)][_0x3a5ddf(0x1f3)](),this[_0x3a5ddf(0x202)]();}async[_0x3ef93c(0x1fc)](_0x205444,_0x4b17e0,_0xa10410,_0x41922e){const _0x77766b=_0x3ef93c;return this[_0x77766b(0x1e6)]=!0x0,this[_0x77766b(0x1f7)][_0x77766b(0x205)](),this[_0x77766b(0x1d0)]=_0x4b17e0,this[_0x77766b(0x1cb)]=_0x205444,this[_0x77766b(0x1ec)]=_0x41922e||_0x205444,this[_0x77766b(0x21d)]=_0xa10410,new Promise(_0x54e33b=>{const _0x17aa62=_0x77766b;this[_0x17aa62(0x209)][_0x17aa62(0x1f2)]({'query':_0x205444,'context':_0x4b17e0,'onData':_0x2782b2=>{const _0x5af1fd=_0x17aa62;this[_0x5af1fd(0x214)]=_0x2782b2,this[_0x5af1fd(0x21c)]=this[_0x5af1fd(0x201)](this[_0x5af1fd(0x214)]);},'actionId':_0xa10410})[_0x17aa62(0x210)](()=>{const _0x2944a5=_0x17aa62;!this[_0x2944a5(0x21c)]&&this[_0x2944a5(0x214)]&&(this[_0x2944a5(0x21c)]=this[_0x2944a5(0x201)](this[_0x2944a5(0x214)],!0x0));})[_0x17aa62(0x1ed)](_0x511a64=>{const _0x36db43=_0x17aa62;_0x511a64 instanceof _0x2af5e7?this[_0x36db43(0x1f7)][_0x36db43(0x1c6)](_0x511a64[_0x36db43(0x1ff)]):this[_0x36db43(0x1f7)][_0x36db43(0x1c6)](),_0x54e33b();})[_0x17aa62(0x1fe)](()=>{const _0x33853=_0x17aa62;this[_0x33853(0x202)](),_0x54e33b();});});}[_0x3ef93c(0x201)](_0x34b405,_0x390008=!0x1){const _0x440192=_0x3ef93c,_0x4a9bf1=Z[_0x440192(0x21b)](_0x34b405);_0x34b405=_0x4a9bf1?_0x34b405[_0x440192(0x1d7)](_0x4a9bf1[0x1][_0x440192(0x211)]):_0x34b405[_0x440192(0x211)]<0x64&&!_0x390008?'':this[_0x440192(0x212)](_0x34b405);const _0x6a39f1=this[_0x440192(0x1ce)][_0x440192(0x1f8)](_0x34b405,_0x440192(0x20a));if(_0x4a9bf1){const _0x387f97=Array[_0x440192(0x221)](_0x6a39f1[_0x440192(0x21a)][_0x440192(0x21f)]);_0x387f97[_0x440192(0x1d5)]();for(const _0x45ce27 of _0x387f97){if(_0x45ce27[_0x440192(0x1e8)]==Node[_0x440192(0x1fb)])break;_0x45ce27[_0x440192(0x215)]();}}const _0x232cc4=this[_0x440192(0x1c4)][_0x440192(0x1e1)][_0x440192(0x1df)][_0x440192(0x1c5)](this[_0x440192(0x1db)][_0x440192(0x1e2)](_0x6a39f1[_0x440192(0x21a)]));return this[_0x440192(0x1cf)]()||this[_0x440192(0x1d1)](_0x232cc4),this[_0x440192(0x1c4)][_0x440192(0x1e1)][_0x440192(0x1e5)](this[_0x440192(0x1c4)][_0x440192(0x1e1)][_0x440192(0x1d3)](_0x232cc4));}[_0x3ef93c(0x1d1)](_0x3affe4){const _0x4afdcf=_0x3ef93c,_0x15ffc3=new _0x5c2dd6(this[_0x4afdcf(0x1c4)][_0x4afdcf(0x20c)][_0x4afdcf(0x1f7)][_0x4afdcf(0x219)]),_0x4e2d4c=new _0x4e2b95({'name':/^h[1-5]$/}),_0x4b51a7=[];let _0x1670b8=!0x1;for(const _0x27f95f of _0x3affe4)_0x27f95f['is'](_0x4afdcf(0x1e0))&&_0x4e2d4c[_0x4afdcf(0x1e4)](_0x27f95f)&&(_0x4b51a7[_0x4afdcf(0x1ea)](_0x27f95f),'h1'==_0x27f95f[_0x4afdcf(0x1cc)]&&(_0x1670b8=!0x0));if(_0x1670b8){for(const _0x223c80 of _0x4b51a7)_0x15ffc3[_0x4afdcf(0x203)]('h'+(parseInt(_0x223c80[_0x4afdcf(0x1cc)][0x1])+0x1),_0x223c80);}}[_0x3ef93c(0x1cf)](){const _0x2b6260=_0x3ef93c,{data:_0x29ff7a,editing:_0x1bdeda}=this[_0x2b6260(0x1c4)],_0x1a5838=_0x29ff7a[_0x2b6260(0x20d)][_0x2b6260(0x1c5)](_0x2b6260(0x1dd)),_0x22ccc4=_0x29ff7a[_0x2b6260(0x1c5)](_0x29ff7a[_0x2b6260(0x1d3)](_0x1a5838));return!!_0x1bdeda[_0x2b6260(0x1f7)][_0x2b6260(0x213)][_0x2b6260(0x1f1)](_0x22ccc4)[_0x2b6260(0x1d8)]('h1');}[_0x3ef93c(0x1c8)](_0x2e68cf){const _0x1f48fd=_0x3ef93c;return this[_0x1f48fd(0x1c4)][_0x1f48fd(0x20c)][_0x1f48fd(0x1f7)][_0x1f48fd(0x213)][_0x1f48fd(0x1f9)](this[_0x1f48fd(0x1f0)],_0x2e68cf),this[_0x1f48fd(0x1f0)][_0x1f48fd(0x206)];}[_0x3ef93c(0x212)](_0x403af5){const _0x58f38c=_0x3ef93c,_0x58b474=_0x403af5[_0x58f38c(0x217)]();return _0x58b474[_0x58f38c(0x1eb)](_0x58f38c(0x1d9))?_0x58b474[_0x58f38c(0x1c7)](_0x58f38c(0x20f))?_0x58b474[_0x58f38c(0x1d7)](0x7,_0x58b474[_0x58f38c(0x211)]-0x3):_0x58b474[_0x58f38c(0x1d7)](0x7):_0x403af5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29fb00=_0x2c04;(function(_0x49bc9d,_0x2e035b){const _0x251f10=_0x2c04,_0x5c1c1f=_0x49bc9d();while(!![]){try{const _0x3575f5=parseInt(_0x251f10(0xc0))/0x1+parseInt(_0x251f10(0xc3))/0x2+parseInt(_0x251f10(0xf7))/0x3*(-parseInt(_0x251f10(0xcb))/0x4)+-parseInt(_0x251f10(0xd3))/0x5*(-parseInt(_0x251f10(0xe4))/0x6)+-parseInt(_0x251f10(0xfe))/0x7+-parseInt(_0x251f10(0xf2))/0x8+parseInt(_0x251f10(0xe5))/0x9;if(_0x3575f5===_0x2e035b)break;else _0x5c1c1f['push'](_0x5c1c1f['shift']());}catch(_0x54752c){_0x5c1c1f['push'](_0x5c1c1f['shift']());}}}(_0x323f,0x2b259));import{global as _0x542f96}from'ckeditor5/src/utils.js';function _0x2c04(_0x1856ec,_0x12f2ab){const _0x323fa2=_0x323f();return _0x2c04=function(_0x2c04bb,_0x2ff5d5){_0x2c04bb=_0x2c04bb-0xab;let _0x99c1ca=_0x323fa2[_0x2c04bb];return _0x99c1ca;},_0x2c04(_0x1856ec,_0x12f2ab);}function _0x323f(){const _0xefee45=['textContent','scrollTo','wheel','25059JrVerp','setTemplate','ck-ai-form__loader','listenTo','lastElementChild','\x20ck-ai-form__copy-button--copied','scrollHeight','25417MrXgcA','getSelection','<span>]</span>','setContent','clipboard','style','set','ck-ai-form__copy-button-wrapper','<span>[</span>','ck-content','ck-ai-form__copy-button','_createLoader','div','focus','ck-ai-form__content-area','ck-ai-form__content-area-wrapper','appendLoader','icon','ck-ai-form__content-field','smooth','remove','write','execute','255939GoDbVb','left','ck-reset_all-excluded','192416Izbmxu','bind','text/plain','mousedown','value','ck-ai-form__content-area--processing','check','_createCopyButton','124SIJdXt','bindTemplate','copy','isVisible','querySelector','execCommand','ClipboardItem','element','5LGbWEG','-9999px','_copyHTMLToClipboard','position','firstElementChild','body','createElement','locale','absolute','contentFieldView','class','change:isProcessing','Copy','loaderView','createRange','setEndBefore','addRange','760098SAcSxC','97686TqCZEA','ck-hidden','isEnabled','copyButtonView','change:value','appendChild','render','setStartAfter','text/html','AI\x20is\x20writing...','innerHTML','.ck-ai-form__loader','removeAllRanges','403048xAUZqF','isProcessing'];_0x323f=function(){return _0xefee45;};return _0x323f();}import{View as _0xb60702,ButtonView as _0x49df2d,SpinnerView as _0x260092}from'ckeditor5/src/ui.js';import _0x1f40b7 from'../../../theme/icons/copy.svg';import{getTranslation as _0x67c4e4}from'../../utils/common-translations.js';import{icons as _0x1b10ee}from'ckeditor5/src/core.js';export default class W extends _0xb60702{constructor(_0x366dd8,_0x185018=''){const _0x1082f6=_0x2c04;super(_0x366dd8),this[_0x1082f6(0xaf)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x12781e=this[_0x1082f6(0xcc)];this[_0x1082f6(0xdc)]=new ContentFieldView(_0x366dd8,_0x185018),this[_0x1082f6(0xe8)]=this[_0x1082f6(0xca)](),this[_0x1082f6(0xf8)]({'tag':_0x1082f6(0xb5),'attributes':{'class':['ck',_0x1082f6(0xb8),_0x12781e['if'](_0x1082f6(0xce),_0x1082f6(0xe6),_0x22723d=>!_0x22723d)],'tabindex':'-1'},'children':[{'tag':_0x1082f6(0xb5),'attributes':{'class':['ck',_0x1082f6(0xb7),_0x12781e['if'](_0x1082f6(0xf3),_0x1082f6(0xc8))]},'children':[this[_0x1082f6(0xdc)],{'tag':_0x1082f6(0xb5),'attributes':{'class':['ck',_0x1082f6(0xb0)]},'children':[this[_0x1082f6(0xe8)]]}]}]});}[_0x29fb00(0xeb)](){const _0x2a97e7=_0x29fb00;super[_0x2a97e7(0xeb)](),this[_0x2a97e7(0xc7)]&&this[_0x2a97e7(0xdc)][_0x2a97e7(0xac)](this[_0x2a97e7(0xc7)]);let _0x350fbd=!0x1;this['on'](_0x2a97e7(0xe9),(_0x2bf619,_0x5d5041,_0x5eb27b)=>{const _0x372bf6=_0x2a97e7,_0x220274=!this[_0x372bf6(0xdc)][_0x372bf6(0xd2)][_0x372bf6(0xcf)](_0x372bf6(0xf0));this[_0x372bf6(0xdc)][_0x372bf6(0xac)](_0x5eb27b),this[_0x372bf6(0xf3)]&&_0x220274&&!_0x350fbd&&this[_0x372bf6(0xd2)][_0x372bf6(0xf5)]({'top':this[_0x372bf6(0xd2)][_0x372bf6(0xfd)],'behavior':_0x372bf6(0xbc)});}),this['on'](_0x2a97e7(0xde),(_0x36dab8,_0x4f0524,_0x5c1e99)=>{const _0x40f095=_0x2a97e7;_0x350fbd=!0x1,_0x5c1e99?(this[_0x40f095(0xc7)]=null,this[_0x40f095(0xdc)][_0x40f095(0xb9)]()):this[_0x40f095(0xc7)]||this[_0x40f095(0xdc)][_0x40f095(0xac)]('');}),this[_0x2a97e7(0xfa)](this[_0x2a97e7(0xd2)],_0x2a97e7(0xf6),()=>{_0x350fbd=!0x0;}),this[_0x2a97e7(0xfa)](this[_0x2a97e7(0xd2)],_0x2a97e7(0xc6),()=>{_0x350fbd=!0x0;});}[_0x29fb00(0xb6)](){const _0x1d9ca9=_0x29fb00;this[_0x1d9ca9(0xd2)][_0x1d9ca9(0xb6)]();}[_0x29fb00(0xca)](){const _0x27722c=_0x29fb00,_0x4dc208=this[_0x27722c(0xda)],_0x1813da=new _0x49df2d(this[_0x27722c(0xda)]),_0x32349c=_0x27722c(0xb3);return _0x1813da[_0x27722c(0xaf)]({'label':_0x67c4e4(_0x4dc208,_0x27722c(0xdf)),'icon':_0x1f40b7,'class':_0x32349c,'tooltip':!0x0}),_0x1813da[_0x27722c(0xc4)](_0x27722c(0xce))['to'](this,_0x27722c(0xc7),_0x43aad1=>!!_0x43aad1),_0x1813da[_0x27722c(0xc4)](_0x27722c(0xe7))['to'](this,_0x27722c(0xf3),_0x13780a=>!_0x13780a),_0x1813da['on'](_0x27722c(0xbf),()=>{const _0x521a11=_0x27722c;this[_0x521a11(0xd5)](this[_0x521a11(0xdc)][_0x521a11(0xd2)]),_0x1813da[_0x521a11(0xba)]=_0x1b10ee[_0x521a11(0xc9)],_0x1813da[_0x521a11(0xdd)]=_0x32349c+_0x521a11(0xfc),this[_0x521a11(0xb6)](),setTimeout(()=>{const _0xd94779=_0x521a11;_0x1813da[_0xd94779(0xba)]=_0x1f40b7,_0x1813da[_0xd94779(0xdd)]=_0x32349c;},0x3e8);}),_0x1813da;}[_0x29fb00(0xd5)](_0x25b44e){const _0x2f5b42=_0x29fb00,{window:_0x2188de,document:_0x33cf93}=_0x542f96;if(_0x2188de[_0x2f5b42(0xd1)]){const {Blob:_0x579a95,ClipboardItem:_0x69f5cb}=_0x2188de,_0x3e29be=[new _0x69f5cb({'text/html':new _0x579a95([_0x25b44e[_0x2f5b42(0xef)]],{'type':_0x2f5b42(0xed)}),'text/plain':new _0x579a95([_0x25b44e[_0x2f5b42(0xf4)]||''],{'type':_0x2f5b42(0xc5)})})];navigator[_0x2f5b42(0xad)][_0x2f5b42(0xbe)](_0x3e29be);}else{const _0x2c5d82=_0x33cf93[_0x2f5b42(0xd9)](_0x2f5b42(0xb5));_0x2c5d82[_0x2f5b42(0xae)][_0x2f5b42(0xd6)]=_0x2f5b42(0xdb),_0x2c5d82[_0x2f5b42(0xae)][_0x2f5b42(0xc1)]=_0x2f5b42(0xd4),_0x2c5d82[_0x2f5b42(0xef)]=_0x2f5b42(0xb1)+_0x25b44e[_0x2f5b42(0xef)]+_0x2f5b42(0xab),_0x33cf93[_0x2f5b42(0xd8)][_0x2f5b42(0xea)](_0x2c5d82);const _0x4b7a00=_0x33cf93[_0x2f5b42(0xe1)]();_0x4b7a00[_0x2f5b42(0xec)](_0x2c5d82[_0x2f5b42(0xd7)]),_0x4b7a00[_0x2f5b42(0xe2)](_0x2c5d82[_0x2f5b42(0xfb)]);const _0x1d329d=_0x2188de[_0x2f5b42(0xff)]();_0x1d329d[_0x2f5b42(0xf1)](),_0x1d329d[_0x2f5b42(0xe3)](_0x4b7a00),_0x33cf93[_0x2f5b42(0xd0)](_0x2f5b42(0xcd)),_0x2c5d82[_0x2f5b42(0xbd)]();}}}export class ContentFieldView extends _0xb60702{constructor(_0x4659fb,_0x59e4ac=''){const _0x1cc857=_0x29fb00;super(_0x4659fb),this[_0x1cc857(0xe0)]=this[_0x1cc857(0xb4)](),this[_0x1cc857(0xf8)]({'tag':_0x1cc857(0xb5),'attributes':{'class':['ck',_0x1cc857(0xb2),_0x59e4ac,_0x1cc857(0xc2),_0x1cc857(0xbb)]}});}[_0x29fb00(0xac)](_0x437eaf){const _0x59c9fb=_0x29fb00;this[_0x59c9fb(0xd2)][_0x59c9fb(0xef)]=_0x437eaf;}[_0x29fb00(0xb9)](){const _0x24e2e7=_0x29fb00;this[_0x24e2e7(0xd2)][_0x24e2e7(0xea)](this[_0x24e2e7(0xe0)][_0x24e2e7(0xd2)]);}[_0x29fb00(0xb4)](){const _0x4b93ef=_0x29fb00,_0x9c3112=new _0xb60702(),_0x1b3ee2=this[_0x4b93ef(0xda)],_0x1fd95c=new _0x260092();return _0x1fd95c[_0x4b93ef(0xce)]=!0x0,_0x9c3112[_0x4b93ef(0xf8)]({'tag':_0x4b93ef(0xb5),'attributes':{'class':['ck',_0x4b93ef(0xf9)]},'children':[_0x1fd95c,{'text':_0x67c4e4(_0x1b3ee2,_0x4b93ef(0xee))}]}),_0x9c3112[_0x4b93ef(0xeb)](),_0x9c3112;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x7dcc(_0x396f5e,_0x353ab5){const _0x6f9a25=_0x6f9a();return _0x7dcc=function(_0x7dccc3,_0x532524){_0x7dccc3=_0x7dccc3-0x12a;let _0x313441=_0x6f9a25[_0x7dccc3];return _0x313441;},_0x7dcc(_0x396f5e,_0x353ab5);}(function(_0x49568d,_0x410b84){const _0x1de806=_0x7dcc,_0x388d70=_0x49568d();while(!![]){try{const _0x215fa0=-parseInt(_0x1de806(0x137))/0x1*(-parseInt(_0x1de806(0x12a))/0x2)+-parseInt(_0x1de806(0x135))/0x3+-parseInt(_0x1de806(0x138))/0x4*(-parseInt(_0x1de806(0x12f))/0x5)+-parseInt(_0x1de806(0x12b))/0x6*(-parseInt(_0x1de806(0x13b))/0x7)+parseInt(_0x1de806(0x134))/0x8+-parseInt(_0x1de806(0x12e))/0x9+parseInt(_0x1de806(0x132))/0xa*(-parseInt(_0x1de806(0x130))/0xb);if(_0x215fa0===_0x410b84)break;else _0x388d70['push'](_0x388d70['shift']());}catch(_0x40cbd2){_0x388d70['push'](_0x388d70['shift']());}}}(_0x6f9a,0xb1b25));function _0x6f9a(){const _0x12f329=['9065817rCvOAm','7252645jGBgLK','329186gDQjxu','setTemplate','590RPkNqp','ck-ai-form__error','3399976vPENbH','1471536SHdgWu','bindTemplate','279097MfQKAk','4OXMJwl','content','set','21ACwgeS','8exjzLt','1998780rcyRmp','div','text'];_0x6f9a=function(){return _0x12f329;};return _0x6f9a();}import{View as _0x171bd0,IconView as _0x472522}from'ckeditor5/src/ui.js';import _0x3d6ddb from'../../../theme/icons/error.svg';export default class tt extends _0x171bd0{constructor(_0x45303b,_0x26a0eb=''){const _0x54e641=_0x7dcc;super(_0x45303b);const _0x5b9e35=new _0x472522(),_0x809c61=this[_0x54e641(0x136)];this[_0x54e641(0x13a)](_0x54e641(0x12d),_0x26a0eb),_0x5b9e35[_0x54e641(0x139)]=_0x3d6ddb,this[_0x54e641(0x131)]({'tag':_0x54e641(0x12c),'attributes':{'class':['ck',_0x54e641(0x133)]},'children':[_0x5b9e35,{'text':_0x809c61['to'](_0x54e641(0x12d))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a36ef=_0x4295;(function(_0x5be4e1,_0x38f18d){const _0xcc3ac4=_0x4295,_0x3f3d29=_0x5be4e1();while(!![]){try{const _0x449617=-parseInt(_0xcc3ac4(0x7d))/0x1*(-parseInt(_0xcc3ac4(0xa8))/0x2)+parseInt(_0xcc3ac4(0xb6))/0x3+-parseInt(_0xcc3ac4(0x8e))/0x4+-parseInt(_0xcc3ac4(0x82))/0x5*(-parseInt(_0xcc3ac4(0xb1))/0x6)+-parseInt(_0xcc3ac4(0xb2))/0x7*(-parseInt(_0xcc3ac4(0x90))/0x8)+-parseInt(_0xcc3ac4(0x87))/0x9*(-parseInt(_0xcc3ac4(0x93))/0xa)+parseInt(_0xcc3ac4(0x92))/0xb*(-parseInt(_0xcc3ac4(0x7e))/0xc);if(_0x449617===_0x38f18d)break;else _0x3f3d29['push'](_0x3f3d29['shift']());}catch(_0x468788){_0x3f3d29['push'](_0x3f3d29['shift']());}}}(_0xe475,0x98959));function _0x4295(_0x93b1e8,_0x599efd){const _0x4295c1=_0xe475();return _0x4295=function(_0x4f22b5,_0x4d5469){_0x4f22b5=_0x4f22b5-0x7d;let _0x25cca2=_0x4295c1[_0x4f22b5];return _0x25cca2;},_0x4295(_0x93b1e8,_0x599efd);}import{Rect as _0x53be53,global as _0x8e6473,isVisible as _0x1d11ab}from'ckeditor5/src/utils.js';function _0xe475(){const _0x3adb01=['1513230uFZNPN','Submit','focusCycler','rtl','160957THgUaW','74604yAkThq','locale','history','minRows','35XWQqRy','filteredView','_createSubmitButton','target','element','126QIwhSY','right','value','submitButtonView','set','requestAnimationFrame','window','3929392CwFTri','width','6672qZoVfu','enter','1342tWiozT','394440mfCZca','render','isEnabled','focusLast','fire','update','_createShowHistoryButton','execute','ck-ai-form__submit','uiLanguageDirection','maxRows','style','fieldWrapperChildren','fieldView','History','focusableChildren','excludeScrollbarsAndBorders','left','resultsView','children','bind','4pPMfcW','isOn','isEmpty','focusFirst','add','showHistoryButtonView','queryView','submit','focus','430182PVfKNq','4074snknwT','isVisible','ck-ai-form__toggle-history','keystrokes'];_0xe475=function(){return _0x3adb01;};return _0xe475();}import{AutocompleteView as _0x56f0bc,ButtonView as _0xa4cdf7}from'ckeditor5/src/ui.js';import{icons as _0x108178}from'ckeditor5/src/core.js';import{getTranslation as _0x405c30}from'../../utils/common-translations.js';import _0x286533 from'../../../theme/icons/submit.svg';export default class ht extends _0x56f0bc{constructor(_0x5bbd90,_0xf18526){const _0xd40958=_0x4295;super(_0x5bbd90,_0xf18526),this[_0xd40958(0xae)][_0xd40958(0xa0)][_0xd40958(0x81)]=0x1,this[_0xd40958(0xae)][_0xd40958(0xa0)][_0xd40958(0x9d)]=0x3,this[_0xd40958(0x8a)]=this[_0xd40958(0x84)](),this[_0xd40958(0xad)]=this[_0xd40958(0x99)](),this[_0xd40958(0xa2)][_0xd40958(0xac)](this[_0xd40958(0xad)],0x1),this[_0xd40958(0xa2)][_0xd40958(0xac)](this[_0xd40958(0x8a)]);}[_0x2a36ef(0x94)](){const _0x165b2f=_0x2a36ef;super[_0x165b2f(0x94)](),this[_0x165b2f(0xae)][_0x165b2f(0x9f)][_0x165b2f(0xac)](this[_0x165b2f(0xad)]),this[_0x165b2f(0xa6)][_0x165b2f(0xac)](this[_0x165b2f(0x8a)]),this[_0x165b2f(0xb5)][_0x165b2f(0x8b)](_0x165b2f(0x91),(_0x153317,_0x1ce53f)=>{const _0x3313b7=_0x165b2f;_0x153317[_0x3313b7(0x85)]==this[_0x3313b7(0xae)][_0x3313b7(0xa0)][_0x3313b7(0x86)]&&(this[_0x3313b7(0xaf)](),_0x1ce53f());});}[_0x2a36ef(0x84)](){const _0x41db34=_0x2a36ef,_0xd8026=new _0xa4cdf7(this[_0x41db34(0x7f)]),_0x23155f=this[_0x41db34(0x7f)];return _0xd8026[_0x41db34(0x8b)]({'icon':_0x286533,'label':_0x405c30(_0x23155f,_0x41db34(0xb7)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x41db34(0x9b)}),_0xd8026['on'](_0x41db34(0x9a),()=>{const _0x1c6c9e=_0x41db34;this[_0x1c6c9e(0xaf)]();}),_0xd8026[_0x41db34(0xa7)](_0x41db34(0x95))['to'](this[_0x41db34(0xae)][_0x41db34(0xa0)],_0x41db34(0xaa),this,_0x41db34(0x95),(_0x47cdef,_0x575a8e)=>!_0x47cdef&&_0x575a8e),_0xd8026;}[_0x2a36ef(0x99)](){const _0x37e8cc=_0x2a36ef,_0xf084fb=new _0xa4cdf7(this[_0x37e8cc(0x7f)]),_0x49b954=this[_0x37e8cc(0xa5)],_0x11eb73=this[_0x37e8cc(0x7f)];_0xf084fb[_0x37e8cc(0x8b)]({'label':_0x405c30(_0x11eb73,_0x37e8cc(0xa1)),'withText':!0x1,'icon':_0x108178[_0x37e8cc(0x80)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x37e8cc(0xb4)}),_0xf084fb[_0x37e8cc(0xa7)](_0x37e8cc(0xa9))['to'](_0x49b954,_0x37e8cc(0xb3)),_0xf084fb[_0x37e8cc(0xa7)](_0x37e8cc(0x95))['to'](this,_0x37e8cc(0x95)),_0xf084fb['on'](_0x37e8cc(0x9a),()=>{const _0x377bcc=_0x37e8cc;_0x49b954[_0x377bcc(0xb3)]=!_0x49b954[_0x377bcc(0xb3)],_0x49b954[_0x377bcc(0xb3)]?this[_0x377bcc(0x83)][_0x377bcc(0xb0)]():this[_0x377bcc(0xb0)]();});const _0x285352=()=>{const _0x1e3f81=_0x37e8cc;_0x8e6473[_0x1e3f81(0x8d)][_0x1e3f81(0x8c)](()=>{const _0x57fe30=_0x1e3f81;if(_0x1d11ab(this[_0x57fe30(0x86)])){const _0x332f54=new _0x53be53(this[_0x57fe30(0xae)][_0x57fe30(0xa0)][_0x57fe30(0x86)]),_0x52aaac=_0x332f54[_0x57fe30(0x8f)],_0x42b026=_0x57fe30(0xb9)===_0x11eb73[_0x57fe30(0x9c)]?_0x57fe30(0xa4):_0x57fe30(0x88);_0x332f54[_0x57fe30(0xa3)](),_0xf084fb[_0x57fe30(0x86)][_0x57fe30(0x9e)][_0x42b026]=_0x52aaac-_0x332f54[_0x57fe30(0x8f)]+0x1+'px';}});};return this[_0x37e8cc(0xae)][_0x37e8cc(0xa0)]['on'](_0x37e8cc(0x98),_0x285352),this['on'](_0x37e8cc(0x94),_0x285352),_0xf084fb;}[_0x2a36ef(0xaf)](){const _0x3a3a43=_0x2a36ef,_0x2053b0=this[_0x3a3a43(0xae)][_0x3a3a43(0xa0)][_0x3a3a43(0x86)][_0x3a3a43(0x89)];this[_0x3a3a43(0x97)](_0x3a3a43(0xaf),_0x2053b0);}[_0x2a36ef(0xb0)](_0x3e0d55){const _0x2c1765=_0x2a36ef;-0x1===_0x3e0d55?this[_0x2c1765(0xb8)][_0x2c1765(0x96)]():this[_0x2c1765(0xb8)][_0x2c1765(0xab)]();}}
|