@ckeditor/ckeditor5-ai 45.1.0 → 45.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x9b4ed6=_0x41a1;(function(_0x7bef14,_0x1d5ddf){const _0x1f646b=_0x41a1,_0x1dc413=_0x7bef14();while(!![]){try{const _0x419dfd=parseInt(_0x1f646b(0x155))/0x1*(-parseInt(_0x1f646b(0x174))/0x2)+-parseInt(_0x1f646b(0x187))/0x3+parseInt(_0x1f646b(0x16a))/0x4*(parseInt(_0x1f646b(0x14c))/0x5)+parseInt(_0x1f646b(0x14e))/0x6*(-parseInt(_0x1f646b(0x164))/0x7)+-parseInt(_0x1f646b(0x170))/0x8+parseInt(_0x1f646b(0x147))/0x9+parseInt(_0x1f646b(0x17d))/0xa;if(_0x419dfd===_0x1d5ddf)break;else _0x1dc413['push'](_0x1dc413['shift']());}catch(_0x4e5d62){_0x1dc413['push'](_0x1dc413['shift']());}}}(_0x5cca,0xd06a0));import{Plugin as _0x1f71c9}from'ckeditor5/src/core.js';import _0x5a0532 from'./aiassistantui.js';import _0x2e0b39 from'./aiassistantediting.js';import{getTranslation as _0x811fcc}from'./utils/common-translations.js';function _0x5cca(){const _0x58cdd0=['groupId','legal','includes','set','Translate\x20the\x20content\x20to\x20Spanish\x20language.','requires','Arabic','Edit\x20or\x20review','locale','editOrReview','Translate','poetic','filter','Business','Simplify\x20language','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','isPremiumPlugin','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','ai.aiAssistant.extraCommandGroups','journalism','summarize','confident','Hindi','Poetic','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','changeStyle','changeTone','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','10068390mOaVsY','Journalism','get','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','197805dTcpYr','Make\x20longer','22578ghpDeK','Change\x20style','find','translateHindi','Simplified\x20Chinese','Translate\x20the\x20content\x20to\x20English\x20language.','Direct','14530AJUVHO','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','isOfficialPlugin','business','improveWriting','ai.aiAssistant.commands','Portuguese','translateChinese','friendly','Make\x20shorter','Casual','professional','translatePortuguese','Generate\x20from\x20selection','504UyamSb','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','ai.aiAssistant.preserveComments','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','concat','Improve\x20writing','32aRXuqs','simplifyLanguage','ai.aiAssistant.removeCommands','generate','forEach','casual','10112328NlGMRz','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','86jaKbsC','French','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','translateGerman','Friendly','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','makeLonger','pluginName','Spanish','18029170LUIhZF','Confident','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','direct','config','commands','translateFrench','Legal','translate','translateEnglish','674052CxjlxC','continue','push','Professional','Continue','English','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Summarize','Translate\x20the\x20content\x20to\x20French\x20language.','German','Change\x20tone','Translate\x20the\x20content\x20to\x20German\x20language.','translateArabic','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translateSpanish','AIAssistant','makeShorter','define'];_0x5cca=function(){return _0x58cdd0;};return _0x5cca();}import{normalizeCommandsConfig as _0xfe07be}from'./utils/normalizecommandsconfig.js';export default class r extends _0x1f71c9{static get[_0x9b4ed6(0x12f)](){return[_0x5a0532,_0x2e0b39];}static get[_0x9b4ed6(0x17b)](){const _0x5a91b3=_0x9b4ed6;return _0x5a91b3(0x127);}static get[_0x9b4ed6(0x158)](){return!0x0;}static get[_0x9b4ed6(0x13a)](){return!0x0;}constructor(_0x344d58){const _0x318cc2=_0x9b4ed6;super(_0x344d58);const _0x52b302=_0x344d58[_0x318cc2(0x181)],_0x3524e3=_0x344d58[_0x318cc2(0x132)];_0x52b302[_0x318cc2(0x129)](_0x318cc2(0x166),!0x0),_0x52b302[_0x318cc2(0x129)](_0x318cc2(0x15b),getDefaultCommands(_0x3524e3)),_0x52b302[_0x318cc2(0x129)](_0x318cc2(0x13d),[]),_0x52b302[_0x318cc2(0x129)](_0x318cc2(0x16c),[]);let _0x420290=_0xfe07be(_0x52b302[_0x318cc2(0x149)](_0x318cc2(0x15b)),_0x3524e3);const _0x3ebe47=_0x52b302[_0x318cc2(0x149)](_0x318cc2(0x13d)),_0x2f4ae2=_0x52b302[_0x318cc2(0x149)](_0x318cc2(0x16c));_0x3ebe47[_0x318cc2(0x16e)](_0xa8fd85=>{const _0x3dd939=_0x318cc2,_0x4f5bd1=_0x420290[_0x3dd939(0x150)](_0xaa3fcf=>_0xaa3fcf[_0x3dd939(0x12a)]===_0xa8fd85[_0x3dd939(0x12a)]);_0x4f5bd1?_0x4f5bd1[_0x3dd939(0x182)]=_0x4f5bd1[_0x3dd939(0x182)][_0x3dd939(0x168)](_0xa8fd85[_0x3dd939(0x182)]):_0x420290[_0x3dd939(0x189)](_0xa8fd85);}),_0x420290=_0x420290[_0x318cc2(0x136)](_0x13cd79=>!_0x2f4ae2[_0x318cc2(0x12c)](_0x13cd79[_0x318cc2(0x12a)])),_0x420290[_0x318cc2(0x16e)](_0x2c5f0e=>{const _0x16104a=_0x318cc2;_0x2c5f0e[_0x16104a(0x182)]=_0x2c5f0e[_0x16104a(0x182)][_0x16104a(0x136)](_0x28a54d=>!_0x2f4ae2[_0x16104a(0x12c)](_0x28a54d['id']));}),_0x52b302[_0x318cc2(0x12d)](_0x318cc2(0x15b),_0x420290);}}function _0x41a1(_0x1df7db,_0x1d7482){const _0x5cca27=_0x5cca();return _0x41a1=function(_0x41a1b8,_0x160ef8){_0x41a1b8=_0x41a1b8-0x120;let _0x5411a3=_0x5cca27[_0x41a1b8];return _0x5411a3;},_0x41a1(_0x1df7db,_0x1d7482);}export function getDefaultCommands(_0x276969){const _0x18d118=_0x9b4ed6;return[{'groupId':_0x18d118(0x133),'groupLabel':_0x811fcc(_0x276969,_0x18d118(0x131)),'commands':[{'id':_0x18d118(0x15a),'label':_0x811fcc(_0x276969,_0x18d118(0x169)),'prompt':_0x18d118(0x18d)},{'id':_0x18d118(0x128),'label':_0x811fcc(_0x276969,_0x18d118(0x15f)),'prompt':_0x18d118(0x125)},{'id':_0x18d118(0x17a),'label':_0x811fcc(_0x276969,_0x18d118(0x14d)),'prompt':_0x18d118(0x146)},{'id':_0x18d118(0x16b),'label':_0x811fcc(_0x276969,_0x18d118(0x138)),'prompt':_0x18d118(0x14b)}]},{'groupId':_0x18d118(0x16d),'groupLabel':_0x811fcc(_0x276969,_0x18d118(0x163)),'commands':[{'id':_0x18d118(0x13f),'label':_0x811fcc(_0x276969,_0x18d118(0x18e)),'prompt':_0x18d118(0x143)},{'id':_0x18d118(0x188),'label':_0x811fcc(_0x276969,_0x18d118(0x18b)),'prompt':_0x18d118(0x179)}]},{'groupId':_0x18d118(0x145),'groupLabel':_0x811fcc(_0x276969,_0x18d118(0x122)),'commands':[{'id':_0x18d118(0x161),'label':_0x811fcc(_0x276969,_0x18d118(0x18a)),'prompt':_0x18d118(0x176)},{'id':_0x18d118(0x16f),'label':_0x811fcc(_0x276969,_0x18d118(0x160)),'prompt':_0x18d118(0x14a)},{'id':_0x18d118(0x180),'label':_0x811fcc(_0x276969,_0x18d118(0x154)),'prompt':_0x18d118(0x173)},{'id':_0x18d118(0x140),'label':_0x811fcc(_0x276969,_0x18d118(0x17e)),'prompt':_0x18d118(0x157)},{'id':_0x18d118(0x15e),'label':_0x811fcc(_0x276969,_0x18d118(0x178)),'prompt':_0x18d118(0x156)}]},{'groupId':_0x18d118(0x144),'groupLabel':_0x811fcc(_0x276969,_0x18d118(0x14f)),'commands':[{'id':_0x18d118(0x159),'label':_0x811fcc(_0x276969,_0x18d118(0x137)),'prompt':_0x18d118(0x167)},{'id':_0x18d118(0x12b),'label':_0x811fcc(_0x276969,_0x18d118(0x184)),'prompt':_0x18d118(0x171)},{'id':_0x18d118(0x13e),'label':_0x811fcc(_0x276969,_0x18d118(0x148)),'prompt':_0x18d118(0x17f)},{'id':_0x18d118(0x135),'label':_0x811fcc(_0x276969,_0x18d118(0x142)),'prompt':_0x18d118(0x139)}]},{'groupId':_0x18d118(0x185),'groupLabel':_0x811fcc(_0x276969,_0x18d118(0x134)),'commands':[{'id':_0x18d118(0x186),'label':_0x811fcc(_0x276969,_0x18d118(0x18c)),'prompt':_0x18d118(0x153)},{'id':_0x18d118(0x126),'label':_0x811fcc(_0x276969,_0x18d118(0x17c)),'prompt':_0x18d118(0x12e)},{'id':_0x18d118(0x162),'label':_0x811fcc(_0x276969,_0x18d118(0x15c)),'prompt':_0x18d118(0x165)},{'id':_0x18d118(0x177),'label':_0x811fcc(_0x276969,_0x18d118(0x121)),'prompt':_0x18d118(0x123)},{'id':_0x18d118(0x183),'label':_0x811fcc(_0x276969,_0x18d118(0x175)),'prompt':_0x18d118(0x120)},{'id':_0x18d118(0x15d),'label':_0x811fcc(_0x276969,_0x18d118(0x152)),'prompt':_0x18d118(0x13c)},{'id':_0x18d118(0x151),'label':_0x811fcc(_0x276969,_0x18d118(0x141)),'prompt':_0x18d118(0x172)},{'id':_0x18d118(0x124),'label':_0x811fcc(_0x276969,_0x18d118(0x130)),'prompt':_0x18d118(0x13b)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2b3835=_0x5ce0;(function(_0x1481cc,_0x1b310f){const _0x5b0ca1=_0x5ce0,_0x293d8d=_0x1481cc();while(!![]){try{const _0x1bb82e=-parseInt(_0x5b0ca1(0x214))/0x1+parseInt(_0x5b0ca1(0x221))/0x2+parseInt(_0x5b0ca1(0x230))/0x3+parseInt(_0x5b0ca1(0x1e0))/0x4*(parseInt(_0x5b0ca1(0x20b))/0x5)+-parseInt(_0x5b0ca1(0x21c))/0x6+-parseInt(_0x5b0ca1(0x1fb))/0x7+parseInt(_0x5b0ca1(0x1e4))/0x8;if(_0x1bb82e===_0x1b310f)break;else _0x293d8d['push'](_0x293d8d['shift']());}catch(_0x4f5418){_0x293d8d['push'](_0x293d8d['shift']());}}}(_0x2346,0xba753));import{uid as _0x1c01bc}from'ckeditor5/src/utils.js';import{Plugin as _0x1f4c76}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3868ed}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2e5c7c,DataTransfer as _0x510029}from'ckeditor5/src/engine.js';const w=globalThis[_0x2b3835(0x1df)],f=_0x2b3835(0x21e);function _0x2346(){const _0x11dfc4=['off','getColumnIndexes','_getAISelection','once','paste','canEditAt','showFakeVisualSelection','_prepareTableInsertBelowPosition','table','TableUtils','getFirstRange','afterInit','removeMarker','pluginName','getRows','2495380zFaBWo','plugins','conversion','isCollapsed','createRange','getRanges','markerToElement','AIAssistantEditing','resultRange','210356PBgQJV','markers','join','last','filter','addMarker','isPremiumPlugin','config','8239866qVUYNy','insertContentBelow','ai-ui','document','href','183126gCsQqh','createPositionAfter','get','map','_getTableRowCountFromContent','data','_pasteHTMLUsingClipboard','_resetContentOfSelectedTableCells','getChild','span','fire','insertRows','first','getLastPosition','selection','187317tPTykS','createUIElement','updateMarker','init','getRowIndexes','deleteContent','getRange','createSelection','_getDefaultInsertBelowPosition','lowest','getSelectedTableCells','element','markerRange','getLastMatchingPosition','start','editingDowncast','setData','push','forEach','change','end','isOfficialPlugin','for','ck-ai-assistant-ui_theme','schema','ck-fake-ai-selection_collapsed','editor','DataTransfer','12wzUWpo','length','has','ai.useTheme','15619008mLLfkc','addClass','parse','insertContent','getMarkersGroup','getChildren','setSelection','hideFakeVisualSelection','findAncestor','createPositionAt','fromCharCode','pop','getSelectedBlocks','isContent','_createEmptyTableRows','isAtEnd','contentInsertion','markerToHighlight','ck-fake-ai-selection','editing','text/html','model','from','8793456dbEVSs'];_0x2346=function(){return _0x11dfc4;};return _0x2346();}function _0x5ce0(_0x2adb27,_0x5bf0a5){const _0x234636=_0x2346();return _0x5ce0=function(_0x5ce03b,_0x492103){_0x5ce03b=_0x5ce03b-0x1db;let _0x1d861e=_0x234636[_0x5ce03b];return _0x1d861e;},_0x5ce0(_0x2adb27,_0x5bf0a5);}export default class a extends _0x1f4c76{static get[_0x2b3835(0x209)](){const _0xe2de01=_0x2b3835;return _0xe2de01(0x212);}static get[_0x2b3835(0x245)](){return!0x0;}static get[_0x2b3835(0x21a)](){return!0x0;}[_0x2b3835(0x233)](){const _0x41ecd8=_0x2b3835,{editor:_0x1b6293}=this,_0x192eaf=[_0x41ecd8(0x1f6)];_0x1b6293[_0x41ecd8(0x21b)][_0x41ecd8(0x223)](_0x41ecd8(0x1e3))&&_0x192eaf[_0x41ecd8(0x241)](_0x41ecd8(0x1db)),_0x1b6293[_0x41ecd8(0x20d)][_0x41ecd8(0x246)](_0x41ecd8(0x23f))[_0x41ecd8(0x1f5)]({'model':f,'view':{'classes':_0x192eaf,'priority':0xc}}),_0x1b6293[_0x41ecd8(0x20d)][_0x41ecd8(0x246)](_0x41ecd8(0x23f))[_0x41ecd8(0x211)]({'model':f,'view':(_0x25afe3,{writer:_0x14f301})=>{const _0x30ca2a=_0x41ecd8;if(!_0x25afe3[_0x30ca2a(0x23c)][_0x30ca2a(0x20e)])return null;const _0x523302=_0x14f301[_0x30ca2a(0x231)](_0x30ca2a(0x22a));return _0x14f301[_0x30ca2a(0x1e5)]([_0x30ca2a(0x1f6),_0x30ca2a(0x1dd)],_0x523302),_0x523302;}});}[_0x2b3835(0x207)](){!async function(_0x5578b0){const _0x5b76dd=_0x1ebca7([0x67,0x64,0x70,0x4c,0x55,0x45,0x75,0x66,0x48,0x41,0x38,0x33,0x59,0x78,0x6f,0x68,0x4f,0x46,0x63,0x58,0x69,0x6b,0x6a,0x37,0x52,0x6d,0x31,0x77,0x62,0x30,0x71,0x56,0x47,0x49,0x5a,0x44,0x34,0x79,0x53,0x73,0x65,0x4b,0x43,0x72,0x4d,0x6e,0x57,0x32,0x51,0x6c,0x50,0x54,0x76,0x4e,0x35,0x42,0x61,0x36,0x39,0x4a,0x7a,0x74]),_0x5383f0=0x3eefab32,_0x523d2f=0x3ee8cce2^_0x5383f0,_0x572cf4=window[_0x1ebca7([0x44,0x61,0x74,0x65])][_0x1ebca7([0x6e,0x6f,0x77])](),_0x35867a=_0x5578b0[_0x1ebca7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1980ba=new window[(_0x1ebca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bcafb=>{_0x35867a[_0x1ebca7([0x6f,0x6e,0x63,0x65])](_0x1ebca7([0x72,0x65,0x61,0x64,0x79]),_0x2bcafb);}),_0x1cd087={[_0x1ebca7([0x6b,0x74,0x79])]:_0x1ebca7([0x45,0x43]),[_0x1ebca7([0x75,0x73,0x65])]:_0x1ebca7([0x73,0x69,0x67]),[_0x1ebca7([0x63,0x72,0x76])]:_0x1ebca7([0x50,0x2d,0x32,0x35,0x36]),[_0x1ebca7([0x78])]:_0x1ebca7([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]),[_0x1ebca7([0x79])]:_0x1ebca7([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]),[_0x1ebca7([0x61,0x6c,0x67])]:_0x1ebca7([0x45,0x53,0x32,0x35,0x36])},_0x23ac24=_0x35867a[_0x1ebca7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ebca7([0x67,0x65,0x74])](_0x1ebca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a0e40(){let _0x317c6a,_0x3cf505=null,_0x46e1bb=null;try{if(_0x23ac24==_0x1ebca7([0x47,0x50,0x4c]))return _0x1ebca7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x317c6a=_0x4a53fc(),!_0x317c6a)return _0x1ebca7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x317c6a[_0x1ebca7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46e1bb=_0x11d79f(_0x317c6a[_0x1ebca7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x317c6a[_0x1ebca7([0x6a,0x74,0x69])])),await _0x51de00()?_0x30a8d4()?_0x1b1d43()?_0x1ebca7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2b1356()?(_0x317c6a[_0x1ebca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ebca7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cf505=_0x43e97e(_0x1ebca7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x317c6a[_0x1ebca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ebca7([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cf505=_0x43e97e(_0x1ebca7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x386657()):_0x1ebca7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ebca7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ebca7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x575b8e){return _0x1ebca7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b1d43(){const _0x325322=[_0x1ebca7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ebca7([0x74,0x72,0x69,0x61,0x6c])][_0x1ebca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x317c6a[_0x1ebca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x572cf4/0x3e8:0xe10*_0x523d2f;return _0x317c6a[_0x1ebca7([0x65,0x78,0x70])]<_0x325322;}function _0x30a8d4(){const _0x2ac2d8=_0x317c6a[_0x1ebca7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2ac2d8&&(!!_0x2ac2d8[_0x1ebca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebca7([0x2a]))||!!_0x2ac2d8[_0x1ebca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebca7([0x41,0x49])));}function _0x2b1356(){const _0x47f068=_0x5ce0,_0x1c42bf=_0x317c6a[_0x1ebca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c42bf||0x0==_0x1c42bf[_0x1ebca7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20e103}=new URL(window[_0x1ebca7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x47f068(0x220)]);if(_0x1c42bf[_0x1ebca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20e103))return!0x0;const _0x222e5f=_0x20e103[_0x1ebca7([0x73,0x70,0x6c,0x69,0x74])](_0x1ebca7([0x2e]));return _0x1c42bf[_0x1ebca7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18c72d=>_0x18c72d[_0x1ebca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebca7([0x2a])))[_0x1ebca7([0x6d,0x61,0x70])](_0x27f607=>_0x27f607[_0x1ebca7([0x73,0x70,0x6c,0x69,0x74])](_0x1ebca7([0x2e])))[_0x1ebca7([0x73,0x6f,0x6d,0x65])](_0x5f547d=>_0x222e5f[_0x1ebca7([0x65,0x76,0x65,0x72,0x79])]((_0x3b87e2,_0x9e614e)=>_0x5f547d[_0x9e614e]===_0x3b87e2||_0x5f547d[_0x9e614e]===_0x1ebca7([0x2a])));}function _0x386657(){return _0x3cf505&&_0x46e1bb?new window[(_0x1ebca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x167317,_0x47cd43)=>{_0x3cf505[_0x1ebca7([0x74,0x68,0x65,0x6e])](_0x167317,_0x47cd43),_0x46e1bb[_0x1ebca7([0x74,0x68,0x65,0x6e])](_0x412213=>{_0x412213!=_0x1ebca7([0x56,0x61,0x6c,0x69,0x64])&&_0x167317(_0x412213);},_0x47cd43);}):_0x3cf505||_0x46e1bb||_0x1ebca7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x11d79f(_0x34d6ef,_0x31725c){return new window[(_0x1ebca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x347f59=>{if(_0x114dec())return _0x347f59(_0x1ebca7([0x56,0x61,0x6c,0x69,0x64]));_0xed2d2b(),_0x35867a[_0x1ebca7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ebca7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e9d9d=!0x1;const _0x3ffc31=_0x1c01bc();function _0x5cef4b(_0x2c42d0){return!!_0x2c42d0&&(typeof _0x2c42d0===_0x1ebca7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c42d0===_0x1ebca7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c42d0[_0x1ebca7([0x74,0x68,0x65,0x6e])]===_0x1ebca7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c42d0[_0x1ebca7([0x63,0x61,0x74,0x63,0x68])]===_0x1ebca7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3219b0(_0x44f5b0){_0x5d401f(_0x44f5b0)[_0x1ebca7([0x74,0x68,0x65,0x6e])](_0x5d4a02=>{if(!_0x5d4a02||_0x5d4a02[_0x1ebca7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ebca7([0x6f,0x6b]))return _0x1ebca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ffc4c(_0x3cf98c(_0x3ffc31+_0x31725c))!=_0x5d4a02[_0x1ebca7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ebca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ebca7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ebca7([0x74,0x68,0x65,0x6e])](_0x9a783=>(_0x378fcb(),_0x9a783),()=>{const _0x289325=_0x3cb7d5();return null==_0x289325?(_0x378fcb(),_0x1ebca7([0x56,0x61,0x6c,0x69,0x64])):_0x1ebca7(_0x572cf4-_0x289325>(0x1ae32f32^_0x5383f0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ebca7([0x74,0x68,0x65,0x6e])](_0x347f59)[_0x1ebca7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x347f59(_0x1ebca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e15a3=0x3ed945b2^_0x5383f0;function _0x378fcb(){const _0x1be6b6=_0x1ebca7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ffc4c(_0x3cf98c(_0x34d6ef)),_0xf05bd9=_0x35c3c8(_0x2ffc4c(window[_0x1ebca7([0x4d,0x61,0x74,0x68])][_0x1ebca7([0x63,0x65,0x69,0x6c])](_0x572cf4/_0x2e15a3)));window[_0x1ebca7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ebca7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1be6b6,_0xf05bd9);}function _0x3cb7d5(){const _0x42fe30=_0x1ebca7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ffc4c(_0x3cf98c(_0x34d6ef)),_0x2bf0f3=window[_0x1ebca7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ebca7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42fe30);return _0x2bf0f3?window[_0x1ebca7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35c3c8(_0x2bf0f3),0x10)*_0x2e15a3:null;}function _0x5d401f(_0x24da68){return new window[(_0x1ebca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43ab28,_0x565f5f)=>{_0x24da68[_0x1ebca7([0x74,0x68,0x65,0x6e])](_0x43ab28,_0x565f5f),window[_0x1ebca7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x565f5f,0x3eee7ff2^_0x5383f0);});}}_0x35867a[_0x1ebca7([0x6f,0x6e])](_0x1ebca7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x11916b,_0x363e0a)=>{if(_0x363e0a[0x0]!=_0x34d6ef)return _0x347f59(_0x1ebca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x363e0a[0x1]={..._0x363e0a[0x1],[_0x1ebca7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ffc31};},{[_0x1ebca7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ebca7([0x68,0x69,0x67,0x68])}),_0x35867a[_0x1ebca7([0x6f,0x6e])](_0x1ebca7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c7a39=>{_0x5cef4b(_0x5c7a39[_0x1ebca7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e9d9d=!0x0,_0x3219b0(_0x5c7a39[_0x1ebca7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ebca7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ebca7([0x6c,0x6f,0x77])}),_0x1980ba[_0x1ebca7([0x74,0x68,0x65,0x6e])](()=>{_0x1e9d9d||_0x347f59(_0x1ebca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x114dec(){return _0x35867a[_0x1ebca7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ebca7([0x76,0x69,0x65,0x77])][_0x1ebca7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ebca7([0x61,0x75,0x74,0x6f]);}function _0xed2d2b(){_0x35867a[_0x1ebca7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ebca7([0x76,0x69,0x65,0x77])][_0x1ebca7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ebca7([0x61,0x75,0x74,0x6f]);}}function _0x43e97e(_0x5685f5){const _0x2b990a=[new window[(_0x1ebca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36169f=>setTimeout(_0x36169f,0x3ee695fe^_0x5383f0)),_0x1980ba[_0x1ebca7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ebca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a7de0=>{let _0x27c4d9=0x0;_0x35867a[_0x1ebca7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebca7([0x6f,0x6e])](_0x1ebca7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd45817,_0x203ee2)=>{_0x203ee2[0x0][_0x1ebca7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27c4d9++,_0x27c4d9==(0x3eefaaca^_0x5383f0)&&(_0x3a7de0(),_0xd45817[_0x1ebca7([0x6f,0x66,0x66])]());});}))];return window[_0x1ebca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ebca7([0x72,0x61,0x63,0x65])](_0x2b990a)[_0x1ebca7([0x74,0x68,0x65,0x6e])](()=>_0x5685f5);}async function _0xa5790(){await _0x1980ba,_0x35867a[_0x1ebca7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebca7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53f1ba,_0x35867a[_0x1ebca7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebca7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53f1ba,_0x35867a[_0x1ebca7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ebca7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3262b5(_0x12669e){const _0x575255=_0x30cef5();_0x35867a[_0x575255]=_0x1ebca7([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x12669e,_0x12669e!=_0x1ebca7([0x56,0x61,0x6c,0x69,0x64])&&_0xa5790();}function _0x30cef5(){const _0x49acdb=window[_0x1ebca7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ebca7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ebca7([0x6e,0x6f,0x77])]())[_0x1ebca7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ebca7([0x2e]),'');let _0x2d5bcc=_0x1ebca7([0x67]);for(let _0x5050b4=0x0;_0x5050b4<_0x49acdb[_0x1ebca7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5050b4+=0x2){let _0x2a3900=window[_0x1ebca7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49acdb[_0x1ebca7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5050b4,_0x5050b4+0x2));_0x2a3900>=_0x5b76dd[_0x1ebca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a3900-=_0x5b76dd[_0x1ebca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d5bcc+=_0x5b76dd[_0x2a3900];}return _0x2d5bcc;}function _0x4a53fc(){const _0x24619c=_0x23ac24[_0x1ebca7([0x73,0x70,0x6c,0x69,0x74])](_0x1ebca7([0x2e]));if(0x3!=_0x24619c[_0x1ebca7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x457f54(_0x24619c[0x1]);function _0x457f54(_0x45c3e1){const _0x5a7543=_0x2ee65b(_0x45c3e1);return _0x5a7543&&_0x3afa13()?_0x5a7543:null;function _0x3afa13(){const _0x5b9592=_0x5a7543[_0x1ebca7([0x6a,0x74,0x69])],_0x39d63b=window[_0x1ebca7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b9592[_0x1ebca7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b9592[_0x1ebca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cd6f9={..._0x5a7543,[_0x1ebca7([0x6a,0x74,0x69])]:_0x5b9592[_0x1ebca7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5b9592[_0x1ebca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cd6f9[_0x1ebca7([0x76,0x63])],_0x3cf98c(_0x1cd6f9)==_0x39d63b;}}}async function _0x51de00(){let _0x7184c1=!0x0;try{const _0x305f37=_0x23ac24[_0x1ebca7([0x73,0x70,0x6c,0x69,0x74])](_0x1ebca7([0x2e])),[_0x1b5505,_0x4645e7,_0x1b6ae4]=_0x305f37;return _0x3ff591(_0x1b5505),await _0x295b1c(_0x1b5505,_0x4645e7,_0x1b6ae4),_0x7184c1;}catch(_0xfa2185){return!0x1;}function _0x3ff591(_0x1b85ff){const _0x32ec5f=_0x2ee65b(_0x1b85ff);_0x32ec5f&&_0x32ec5f[_0x1ebca7([0x61,0x6c,0x67])]==_0x1ebca7([0x45,0x53,0x32,0x35,0x36])||(_0x7184c1=!0x1);}async function _0x295b1c(_0x4c8be0,_0x41a5ad,_0x298662){const _0x397d03=window[_0x1ebca7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ebca7([0x66,0x72,0x6f,0x6d])](_0x1ebd3e(_0x298662),_0x5c01e7=>_0x5c01e7[_0x1ebca7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21fe8c=new window[(_0x1ebca7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ebca7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c8be0+_0x1ebca7([0x2e])+_0x41a5ad),_0x179f88=window[_0x1ebca7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ebca7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x179f88)return;const _0x45bcd2=await _0x179f88[_0x1ebca7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ebca7([0x6a,0x77,0x6b]),_0x1cd087,{[_0x1ebca7([0x6e,0x61,0x6d,0x65])]:_0x1ebca7([0x45,0x43,0x44,0x53,0x41]),[_0x1ebca7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ebca7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ebca7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x179f88[_0x1ebca7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ebca7([0x6e,0x61,0x6d,0x65])]:_0x1ebca7([0x45,0x43,0x44,0x53,0x41]),[_0x1ebca7([0x68,0x61,0x73,0x68])]:{[_0x1ebca7([0x6e,0x61,0x6d,0x65])]:_0x1ebca7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45bcd2,_0x397d03,_0x21fe8c)||(_0x7184c1=!0x1);}}function _0x2ee65b(_0x3a319b){return _0x3a319b[_0x1ebca7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ebca7([0x65,0x79]))?JSON[_0x1ebca7([0x70,0x61,0x72,0x73,0x65])](_0x1ebd3e(_0x3a319b)):null;}function _0x1ebd3e(_0x19fd8e){return window[_0x1ebca7([0x61,0x74,0x6f,0x62])](_0x19fd8e[_0x1ebca7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ebca7([0x2b]))[_0x1ebca7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ebca7([0x2f])));}function _0x3cf98c(_0x497dfb){let _0x3e561d=0x1505;function _0x53ddc6(_0x38b4a6){for(let _0x1e8abe=0x0;_0x1e8abe<_0x38b4a6[_0x1ebca7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e8abe++){const _0x2b1e70=_0x38b4a6[_0x1ebca7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e8abe);_0x3e561d=(_0x3e561d<<0x5)+_0x3e561d+_0x2b1e70,_0x3e561d&=_0x3e561d;}}function _0x51fe9a(_0xcb247d){Array[_0x1ebca7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xcb247d)?_0xcb247d[_0x1ebca7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51fe9a):_0xcb247d&&typeof _0xcb247d==_0x1ebca7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ebca7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xcb247d)[_0x1ebca7([0x73,0x6f,0x72,0x74])]()[_0x1ebca7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9ab9af,_0x439012])=>{_0x53ddc6(_0x9ab9af),_0x51fe9a(_0x439012);}):_0x53ddc6(window[_0x1ebca7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xcb247d));}return _0x51fe9a(_0x497dfb),_0x3e561d>>>0x0;}function _0x2ffc4c(_0x256aaa){return _0x256aaa[_0x1ebca7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ebca7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ebca7([0x30]));}function _0x35c3c8(_0x2dd88a){return _0x2dd88a[_0x1ebca7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ebca7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ebca7([0x6a,0x6f,0x69,0x6e])]('');}function _0x53f1ba(){}function _0x1ebca7(_0x8f8f4b){const _0x48857a=_0x5ce0;return _0x8f8f4b[_0x48857a(0x224)](_0x188a24=>String[_0x48857a(0x1ee)](_0x188a24))[_0x48857a(0x216)]('');}_0x3262b5(await _0x3a0e40());}(this);}[_0x2b3835(0x202)](){const _0x5a0491=_0x2b3835,_0x5bbb42=this[_0x5a0491(0x1de)][_0x5a0491(0x1f9)];_0x5bbb42[_0x5a0491(0x243)](_0x2f961b=>{const _0x1ee572=_0x5a0491,_0x14337b=_0x5bbb42[_0x1ee572(0x21f)][_0x1ee572(0x22f)][_0x1ee572(0x210)]();let _0x3a305f=0x0;for(const _0x1e37b7 of _0x14337b){const _0x3aa5b6=f+':'+_0x3a305f;if(_0x5bbb42[_0x1ee572(0x215)][_0x1ee572(0x1e2)](_0x3aa5b6))_0x2f961b[_0x1ee572(0x232)](_0x3aa5b6,{'range':_0x1e37b7});else{if(_0x1e37b7[_0x1ee572(0x23e)][_0x1ee572(0x1f3)]){const _0x9da3fb=_0x1e37b7[_0x1ee572(0x23e)][_0x1ee572(0x23d)](({item:_0x2afe09})=>!_0x5bbb42[_0x1ee572(0x1dc)][_0x1ee572(0x1f1)](_0x2afe09),{'boundaries':_0x1e37b7});_0x2f961b[_0x1ee572(0x219)](_0x3aa5b6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2f961b[_0x1ee572(0x20f)](_0x9da3fb,_0x1e37b7[_0x1ee572(0x244)])});}else _0x2f961b[_0x1ee572(0x219)](_0x3aa5b6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e37b7});}_0x3a305f++;}});}[_0x2b3835(0x1eb)](){const _0x39801f=_0x2b3835,_0x532b3a=this[_0x39801f(0x1de)][_0x39801f(0x1f9)],_0x3c9f06=Array[_0x39801f(0x1fa)](this[_0x39801f(0x1de)][_0x39801f(0x1f9)][_0x39801f(0x215)][_0x39801f(0x1e8)](f));_0x3c9f06[_0x39801f(0x1e1)]&&_0x532b3a[_0x39801f(0x243)](_0x36b2bc=>{const _0x483d23=_0x39801f;_0x3c9f06[_0x483d23(0x242)](_0x2e0cb1=>{const _0x40ec91=_0x483d23;_0x36b2bc[_0x40ec91(0x208)](_0x2e0cb1);});});}[_0x2b3835(0x1e7)](_0x477125,_0x536dcd){const _0x5e80ef=_0x2b3835,_0x302952=this[_0x5e80ef(0x1fe)](),_0x4884da=_0x536dcd||_0x302952[_0x5e80ef(0x206)]();this[_0x5e80ef(0x1de)][_0x5e80ef(0x1f9)][_0x5e80ef(0x201)](_0x4884da)&&this[_0x5e80ef(0x1de)][_0x5e80ef(0x1f9)][_0x5e80ef(0x243)](_0x334b5=>{const _0x184fa7=_0x5e80ef;this[_0x184fa7(0x1eb)](),_0x536dcd||this[_0x184fa7(0x228)](_0x334b5,_0x302952),this[_0x184fa7(0x227)]({'insertAt':_0x4884da,'writer':_0x334b5,'html':_0x477125});});}[_0x2b3835(0x21d)](_0x4d5f17){const _0x46d30f=_0x2b3835,{model:_0x1ba55f}=this[_0x46d30f(0x1de)],_0x54b1e5=this[_0x46d30f(0x1fe)]();_0x1ba55f[_0x46d30f(0x243)](()=>{const _0x43e02a=_0x46d30f,_0x5f328f=this[_0x43e02a(0x203)](_0x4d5f17,_0x54b1e5)||this[_0x43e02a(0x238)](_0x54b1e5);this[_0x43e02a(0x1e7)](_0x4d5f17,_0x5f328f);});}[_0x2b3835(0x1fe)](){const _0x1d379d=_0x2b3835,_0x83bc78=this[_0x1d379d(0x1de)][_0x1d379d(0x1f9)],_0x4105ef=Array[_0x1d379d(0x1fa)](_0x83bc78[_0x1d379d(0x215)][_0x1d379d(0x1e8)](f))[_0x1d379d(0x224)](_0x5cd400=>_0x5cd400[_0x1d379d(0x236)]());return _0x83bc78[_0x1d379d(0x237)](_0x4105ef);}[_0x2b3835(0x227)]({writer:_0x42011d,html:_0x428dc7,insertAt:_0x3c9073}){const _0x13784a=_0x2b3835,{view:_0x24c650}=this[_0x13784a(0x1de)][_0x13784a(0x1f7)],_0x3b26e7=this[_0x13784a(0x1de)][_0x13784a(0x20c)][_0x13784a(0x223)](_0x3868ed),_0x19ea27=new w();_0x19ea27[_0x13784a(0x240)](_0x13784a(0x1f8),_0x428dc7);const _0x2973f5=new ClipboardEvent(_0x13784a(0x200),{'clipboardData':_0x19ea27}),_0x4d89a2=new _0x2e5c7c(_0x24c650,_0x2973f5,{'dataTransfer':new _0x510029(_0x19ea27)});_0x42011d[_0x13784a(0x1ea)](_0x3c9073);const _0x241a99=(_0x26059a,_0x395da6)=>{const _0x5d965c=_0x13784a;_0x395da6[_0x5d965c(0x213)]&&_0x42011d[_0x5d965c(0x1ea)](_0x395da6[_0x5d965c(0x213)]);};_0x3b26e7[_0x13784a(0x1ff)](_0x13784a(0x1f4),_0x241a99,{'priority':_0x13784a(0x239)}),_0x24c650[_0x13784a(0x21f)][_0x13784a(0x22b)](_0x13784a(0x200),_0x4d89a2),_0x3b26e7[_0x13784a(0x1fc)](_0x13784a(0x1f4),_0x241a99);}[_0x2b3835(0x238)](_0x25e6e3){const _0xec2b9c=_0x2b3835,{model:_0x4b6fda}=this[_0xec2b9c(0x1de)],_0x315485=Array[_0xec2b9c(0x1fa)](_0x25e6e3[_0xec2b9c(0x1f0)]());return _0x315485[_0xec2b9c(0x1e1)]?_0x4b6fda[_0xec2b9c(0x222)](_0x315485[_0xec2b9c(0x1ef)]()):_0x25e6e3[_0xec2b9c(0x22e)]();}[_0x2b3835(0x203)](_0x2d70b1,_0x5326a3){const _0x12a481=_0x2b3835,{model:_0x45418f,plugins:_0xa5e1ac}=this[_0x12a481(0x1de)];if(_0xa5e1ac[_0x12a481(0x1e2)](_0x12a481(0x205))){const _0x2f8fc9=_0xa5e1ac[_0x12a481(0x223)](_0x12a481(0x205))[_0x12a481(0x23a)](_0x5326a3);if(_0x2f8fc9[_0x12a481(0x1e1)]){const _0x28b6b0=this[_0x12a481(0x225)](_0x2d70b1),_0x3f6095=this[_0x12a481(0x1f2)](_0x2f8fc9,_0x28b6b0);return _0x45418f[_0x12a481(0x1ed)](_0x3f6095,0x0);}}return null;}[_0x2b3835(0x225)](_0x1f68a8){const _0x3f0301=_0x2b3835,_0x16e159=this[_0x3f0301(0x1de)][_0x3f0301(0x20c)][_0x3f0301(0x223)](_0x3f0301(0x205)),_0xe45795=this[_0x3f0301(0x1de)][_0x3f0301(0x226)][_0x3f0301(0x1e6)](_0x1f68a8),_0x5185a4=Array[_0x3f0301(0x1fa)](_0xe45795[_0x3f0301(0x1e9)]())[_0x3f0301(0x218)](_0x3f08b5=>_0x3f08b5['is'](_0x3f0301(0x23b),_0x3f0301(0x204)));let _0x4315d5=0x0;return _0x5185a4[_0x3f0301(0x242)](_0x54547c=>{const _0xbba546=_0x3f0301;_0x4315d5+=_0x16e159[_0xbba546(0x20a)](_0x54547c);}),_0x4315d5;}[_0x2b3835(0x1f2)](_0xf75587,_0x1d256a){const _0x3dafb5=_0x2b3835,_0x57b1a4=this[_0x3dafb5(0x1de)][_0x3dafb5(0x20c)][_0x3dafb5(0x223)](_0x3dafb5(0x205)),_0x37e7ec=_0x57b1a4[_0x3dafb5(0x234)](_0xf75587),_0x1026bc=_0x57b1a4[_0x3dafb5(0x1fd)](_0xf75587),_0x2ba4bb=_0x37e7ec[_0x3dafb5(0x217)]+0x1,_0x5c0b37=_0x1026bc[_0x3dafb5(0x22d)],_0x1d9ac6=_0xf75587[0x0][_0x3dafb5(0x1ec)](_0x3dafb5(0x204));for(let _0x2d12b3=0x0;_0x2d12b3<_0x1d256a;_0x2d12b3++)_0x57b1a4[_0x3dafb5(0x22c)](_0x1d9ac6,{'at':_0x2ba4bb});return _0x1d9ac6[_0x3dafb5(0x229)](_0x2ba4bb)[_0x3dafb5(0x229)](_0x5c0b37);}[_0x2b3835(0x228)](_0x508c27,_0x2965c0){const _0x3b5db9=_0x2b3835,{plugins:_0x40eea9}=this[_0x3b5db9(0x1de)],{model:_0x506751}=_0x508c27;if(!_0x40eea9[_0x3b5db9(0x1e2)](_0x3b5db9(0x205)))return;_0x40eea9[_0x3b5db9(0x223)](_0x3b5db9(0x205))[_0x3b5db9(0x23a)](_0x2965c0)[_0x3b5db9(0x1e1)]&&_0x506751[_0x3b5db9(0x235)](_0x2965c0);}}
|
|
23
|
+
function _0x4cc6(){const _0x79b839=['createPositionAt','editingDowncast','addMarker','model','createSelection','AIAssistantEditing','start','_getDefaultInsertBelowPosition','getRange','once','text/html','forEach','init','selection','_createEmptyTableRows','_resetContentOfSelectedTableCells','length','ai-ui','schema','has','element','pluginName','findAncestor','resultRange','1285UraZfj','ck-ai-assistant-ui_theme','pop','139016hYzDYL','setSelection','getSelectedTableCells','config','markerToElement','5873441XkVzFh','join','getChildren','hideFakeVisualSelection','change','isCollapsed','plugins','first','markers','deleteContent','1853394jjyQqN','getRows','afterInit','45SdRqXS','parse','from','createRange','get','table','document','map','ck-fake-ai-selection_collapsed','isOfficialPlugin','insertContent','_pasteHTMLUsingClipboard','createPositionAfter','setData','getLastPosition','477992wJxnZP','removeMarker','getColumnIndexes','getRowIndexes','insertContentBelow','showFakeVisualSelection','createUIElement','data','ck-fake-ai-selection','paste','markerRange','_getAISelection','lowest','contentInsertion','getSelectedBlocks','getFirstRange','editor','canEditAt','getLastMatchingPosition','getMarkersGroup','760958UkVyeS','markerToHighlight','_prepareTableInsertBelowPosition','ai.useTheme','fromCharCode','fire','_getTableRowCountFromContent','last','2014602maiWli','getRanges','filter','span','11892aGGBUi','for','push','getChild','href','insertRows','end','editing','updateMarker','isPremiumPlugin','addClass','off','TableUtils','isContent','conversion','DataTransfer','isAtEnd'];_0x4cc6=function(){return _0x79b839;};return _0x4cc6();}const _0x372431=_0x4a8a;function _0x4a8a(_0x509def,_0x3019b9){const _0x4cc6f5=_0x4cc6();return _0x4a8a=function(_0x4a8a81,_0x31252e){_0x4a8a81=_0x4a8a81-0xfc;let _0xe5c55c=_0x4cc6f5[_0x4a8a81];return _0xe5c55c;},_0x4a8a(_0x509def,_0x3019b9);}(function(_0x514205,_0x413359){const _0x15a23e=_0x4a8a,_0x258b00=_0x514205();while(!![]){try{const _0x3aa3bb=-parseInt(_0x15a23e(0x13b))/0x1+parseInt(_0x15a23e(0x115))/0x2+parseInt(_0x15a23e(0x143))/0x3+parseInt(_0x15a23e(0x127))/0x4+-parseInt(_0x15a23e(0x103))/0x5*(-parseInt(_0x15a23e(0x147))/0x6)+-parseInt(_0x15a23e(0x10b))/0x7+parseInt(_0x15a23e(0x106))/0x8*(-parseInt(_0x15a23e(0x118))/0x9);if(_0x3aa3bb===_0x413359)break;else _0x258b00['push'](_0x258b00['shift']());}catch(_0xc111d2){_0x258b00['push'](_0x258b00['shift']());}}}(_0x4cc6,0x83e25));import{uid as _0x43a19b}from'ckeditor5/src/utils.js';import{Plugin as _0x215601}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x46c7a8}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2512d5,DataTransfer as _0x40429b}from'ckeditor5/src/engine.js';const w=globalThis[_0x372431(0x156)],f=_0x372431(0xfc);export default class a extends _0x215601{static get[_0x372431(0x100)](){const _0x4f7aab=_0x372431;return _0x4f7aab(0x15d);}static get[_0x372431(0x121)](){return!0x0;}static get[_0x372431(0x150)](){return!0x0;}[_0x372431(0x164)](){const _0x51ec0a=_0x372431,{editor:_0x520e08}=this,_0x1f4873=[_0x51ec0a(0x12f)];_0x520e08[_0x51ec0a(0x109)][_0x51ec0a(0x11c)](_0x51ec0a(0x13e))&&_0x1f4873[_0x51ec0a(0x149)](_0x51ec0a(0x104)),_0x520e08[_0x51ec0a(0x155)][_0x51ec0a(0x148)](_0x51ec0a(0x159))[_0x51ec0a(0x13c)]({'model':f,'view':{'classes':_0x1f4873,'priority':0xc}}),_0x520e08[_0x51ec0a(0x155)][_0x51ec0a(0x148)](_0x51ec0a(0x159))[_0x51ec0a(0x10a)]({'model':f,'view':(_0x1b1e03,{writer:_0x2c6819})=>{const _0x706059=_0x51ec0a;if(!_0x1b1e03[_0x706059(0x131)][_0x706059(0x110)])return null;const _0x21276f=_0x2c6819[_0x706059(0x12d)](_0x706059(0x146));return _0x2c6819[_0x706059(0x151)]([_0x706059(0x12f),_0x706059(0x120)],_0x21276f),_0x21276f;}});}[_0x372431(0x117)](){!async function(_0x5442db){const _0x2e54e3=_0xf2a007([0x4f,0x79,0x44,0x50,0x75,0x32,0x73,0x6c,0x78,0x4a,0x55,0x6f,0x38,0x31,0x65,0x37,0x43,0x4d,0x35,0x74,0x41,0x46,0x4c,0x61,0x68,0x56,0x58,0x67,0x4b,0x33,0x36,0x48,0x52,0x51,0x39,0x6d,0x70,0x34,0x54,0x64,0x59,0x7a,0x6b,0x47,0x71,0x5a,0x49,0x77,0x30,0x76,0x63,0x62,0x72,0x6e,0x57,0x66,0x42,0x4e,0x45,0x53,0x69,0x6a]),_0x508572=0x63cba992,_0xaf60a5=0x63ccc0aa^_0x508572,_0x5544a5=window[_0xf2a007([0x44,0x61,0x74,0x65])][_0xf2a007([0x6e,0x6f,0x77])](),_0x5f34f5=_0x5442db[_0xf2a007([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x213e2c=new window[(_0xf2a007([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f550c=>{_0x5f34f5[_0xf2a007([0x6f,0x6e,0x63,0x65])](_0xf2a007([0x72,0x65,0x61,0x64,0x79]),_0x2f550c);}),_0x106e5c={[_0xf2a007([0x6b,0x74,0x79])]:_0xf2a007([0x45,0x43]),[_0xf2a007([0x75,0x73,0x65])]:_0xf2a007([0x73,0x69,0x67]),[_0xf2a007([0x63,0x72,0x76])]:_0xf2a007([0x50,0x2d,0x32,0x35,0x36]),[_0xf2a007([0x78])]:_0xf2a007([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]),[_0xf2a007([0x79])]:_0xf2a007([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]),[_0xf2a007([0x61,0x6c,0x67])]:_0xf2a007([0x45,0x53,0x32,0x35,0x36])},_0x5101a1=_0x5f34f5[_0xf2a007([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf2a007([0x67,0x65,0x74])](_0xf2a007([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x547f21(){let _0x460352,_0x29ed87=null,_0x4ae27d=null;try{if(_0x5101a1==_0xf2a007([0x47,0x50,0x4c]))return _0xf2a007([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x460352=_0x430d71(),!_0x460352)return _0xf2a007([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x460352[_0xf2a007([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ae27d=_0x13463e(_0x460352[_0xf2a007([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x460352[_0xf2a007([0x6a,0x74,0x69])])),await _0x1877e()?_0x5ccf56()?_0x2794cd()?_0xf2a007([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25b4a2()?(_0x460352[_0xf2a007([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf2a007([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29ed87=_0xca1ddd(_0xf2a007([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x460352[_0xf2a007([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf2a007([0x74,0x72,0x69,0x61,0x6c])&&(_0x29ed87=_0xca1ddd(_0xf2a007([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x181585()):_0xf2a007([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf2a007([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf2a007([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf2a007([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2794cd(){const _0x13985c=[_0xf2a007([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf2a007([0x74,0x72,0x69,0x61,0x6c])][_0xf2a007([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460352[_0xf2a007([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5544a5/0x3e8:0xe10*_0xaf60a5;return _0x460352[_0xf2a007([0x65,0x78,0x70])]<_0x13985c;}function _0x5ccf56(){const _0x419108=_0x460352[_0xf2a007([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x419108&&(!!_0x419108[_0xf2a007([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2a007([0x2a]))||!!_0x419108[_0xf2a007([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2a007([0x41,0x49])));}function _0x25b4a2(){const _0x16d0c9=_0x4a8a,_0x10be10=_0x460352[_0xf2a007([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10be10||0x0==_0x10be10[_0xf2a007([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x361905}=new URL(window[_0xf2a007([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x16d0c9(0x14b)]);if(_0x10be10[_0xf2a007([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x361905))return!0x0;const _0x3c5ebd=_0x361905[_0xf2a007([0x73,0x70,0x6c,0x69,0x74])](_0xf2a007([0x2e]));return _0x10be10[_0xf2a007([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a07b7=>_0x1a07b7[_0xf2a007([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2a007([0x2a])))[_0xf2a007([0x6d,0x61,0x70])](_0x14793d=>_0x14793d[_0xf2a007([0x73,0x70,0x6c,0x69,0x74])](_0xf2a007([0x2e])))[_0xf2a007([0x73,0x6f,0x6d,0x65])](_0x10116b=>_0x3c5ebd[_0xf2a007([0x65,0x76,0x65,0x72,0x79])]((_0x524a76,_0x5451bc)=>_0x10116b[_0x5451bc]===_0x524a76||_0x10116b[_0x5451bc]===_0xf2a007([0x2a])));}function _0x181585(){return _0x29ed87&&_0x4ae27d?new window[(_0xf2a007([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x341c71,_0x49360e)=>{_0x29ed87[_0xf2a007([0x74,0x68,0x65,0x6e])](_0x341c71,_0x49360e),_0x4ae27d[_0xf2a007([0x74,0x68,0x65,0x6e])](_0x528d07=>{_0x528d07!=_0xf2a007([0x56,0x61,0x6c,0x69,0x64])&&_0x341c71(_0x528d07);},_0x49360e);}):_0x29ed87||_0x4ae27d||_0xf2a007([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13463e(_0x2f6b70,_0x213991){return new window[(_0xf2a007([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f18b6=>{if(_0x53b797())return _0x3f18b6(_0xf2a007([0x56,0x61,0x6c,0x69,0x64]));_0x394381(),_0x5f34f5[_0xf2a007([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf2a007([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc08200=!0x1;const _0x53dd63=_0x43a19b();function _0x5d139d(_0x4c4b4a){return!!_0x4c4b4a&&(typeof _0x4c4b4a===_0xf2a007([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c4b4a===_0xf2a007([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c4b4a[_0xf2a007([0x74,0x68,0x65,0x6e])]===_0xf2a007([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c4b4a[_0xf2a007([0x63,0x61,0x74,0x63,0x68])]===_0xf2a007([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x58ad64(_0x288ac){_0x215341(_0x288ac)[_0xf2a007([0x74,0x68,0x65,0x6e])](_0x4b622b=>{if(!_0x4b622b||_0x4b622b[_0xf2a007([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf2a007([0x6f,0x6b]))return _0xf2a007([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3886bf(_0x581017(_0x53dd63+_0x213991))!=_0x4b622b[_0xf2a007([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf2a007([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf2a007([0x56,0x61,0x6c,0x69,0x64]);})[_0xf2a007([0x74,0x68,0x65,0x6e])](_0x296e3a=>(_0x5215cb(),_0x296e3a),()=>{const _0x2b7e2c=_0x5ab030();return null==_0x2b7e2c?(_0x5215cb(),_0xf2a007([0x56,0x61,0x6c,0x69,0x64])):_0xf2a007(_0x5544a5-_0x2b7e2c>(0x47c72d92^_0x508572)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf2a007([0x74,0x68,0x65,0x6e])](_0x3f18b6)[_0xf2a007([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f18b6(_0xf2a007([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14cc3f=0x63fd4712^_0x508572;function _0x5215cb(){const _0x2e82b9=_0xf2a007([0x6c,0x6c,0x63,0x74,0x2d])+_0x3886bf(_0x581017(_0x2f6b70)),_0x1d675a=_0x4f66d2(_0x3886bf(window[_0xf2a007([0x4d,0x61,0x74,0x68])][_0xf2a007([0x63,0x65,0x69,0x6c])](_0x5544a5/_0x14cc3f)));window[_0xf2a007([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf2a007([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e82b9,_0x1d675a);}function _0x5ab030(){const _0x105cb6=_0xf2a007([0x6c,0x6c,0x63,0x74,0x2d])+_0x3886bf(_0x581017(_0x2f6b70)),_0x5c6939=window[_0xf2a007([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf2a007([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x105cb6);return _0x5c6939?window[_0xf2a007([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f66d2(_0x5c6939),0x10)*_0x14cc3f:null;}function _0x215341(_0x715eb5){return new window[(_0xf2a007([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x506453,_0x57465d)=>{_0x715eb5[_0xf2a007([0x74,0x68,0x65,0x6e])](_0x506453,_0x57465d),window[_0xf2a007([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x57465d,0x63ca7d52^_0x508572);});}}_0x5f34f5[_0xf2a007([0x6f,0x6e])](_0xf2a007([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x233eec,_0x405b02)=>{if(_0x405b02[0x0]!=_0x2f6b70)return _0x3f18b6(_0xf2a007([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x405b02[0x1]={..._0x405b02[0x1],[_0xf2a007([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53dd63};},{[_0xf2a007([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf2a007([0x68,0x69,0x67,0x68])}),_0x5f34f5[_0xf2a007([0x6f,0x6e])](_0xf2a007([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x451dc9=>{_0x5d139d(_0x451dc9[_0xf2a007([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc08200=!0x0,_0x58ad64(_0x451dc9[_0xf2a007([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf2a007([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf2a007([0x6c,0x6f,0x77])}),_0x213e2c[_0xf2a007([0x74,0x68,0x65,0x6e])](()=>{_0xc08200||_0x3f18b6(_0xf2a007([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53b797(){return _0x5f34f5[_0xf2a007([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf2a007([0x76,0x69,0x65,0x77])][_0xf2a007([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf2a007([0x61,0x75,0x74,0x6f]);}function _0x394381(){_0x5f34f5[_0xf2a007([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf2a007([0x76,0x69,0x65,0x77])][_0xf2a007([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf2a007([0x61,0x75,0x74,0x6f]);}}function _0xca1ddd(_0xffca73){const _0x6488c7=[new window[(_0xf2a007([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bb054=>setTimeout(_0x2bb054,0x63c2975e^_0x508572)),_0x213e2c[_0xf2a007([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf2a007([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x356153=>{let _0xed166e=0x0;_0x5f34f5[_0xf2a007([0x6d,0x6f,0x64,0x65,0x6c])][_0xf2a007([0x6f,0x6e])](_0xf2a007([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc52e3d,_0x32cbef)=>{_0x32cbef[0x0][_0xf2a007([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xed166e++,_0xed166e==(0x63cba86a^_0x508572)&&(_0x356153(),_0xc52e3d[_0xf2a007([0x6f,0x66,0x66])]());});}))];return window[_0xf2a007([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf2a007([0x72,0x61,0x63,0x65])](_0x6488c7)[_0xf2a007([0x74,0x68,0x65,0x6e])](()=>_0xffca73);}async function _0x1cc03b(){await _0x213e2c,_0x5f34f5[_0xf2a007([0x6d,0x6f,0x64,0x65,0x6c])][_0xf2a007([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4bcd5d,_0x5f34f5[_0xf2a007([0x6d,0x6f,0x64,0x65,0x6c])][_0xf2a007([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4bcd5d,_0x5f34f5[_0xf2a007([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf2a007([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb0fc3d(_0x570fea){const _0x59e132=_0x51a914();_0x5f34f5[_0x59e132]=_0xf2a007([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x570fea,_0x570fea!=_0xf2a007([0x56,0x61,0x6c,0x69,0x64])&&_0x1cc03b();}function _0x51a914(){const _0x50557d=window[_0xf2a007([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf2a007([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf2a007([0x6e,0x6f,0x77])]())[_0xf2a007([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf2a007([0x2e]),'');let _0x36429d=_0xf2a007([0x4f]);for(let _0x47fbaa=0x0;_0x47fbaa<_0x50557d[_0xf2a007([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47fbaa+=0x2){let _0x113a5d=window[_0xf2a007([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50557d[_0xf2a007([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47fbaa,_0x47fbaa+0x2));_0x113a5d>=_0x2e54e3[_0xf2a007([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x113a5d-=_0x2e54e3[_0xf2a007([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x36429d+=_0x2e54e3[_0x113a5d];}return _0x36429d;}function _0x430d71(){const _0x5e9235=_0x5101a1[_0xf2a007([0x73,0x70,0x6c,0x69,0x74])](_0xf2a007([0x2e]));if(0x3!=_0x5e9235[_0xf2a007([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3323d1(_0x5e9235[0x1]);function _0x3323d1(_0x184bdb){const _0x4339c4=_0x419800(_0x184bdb);return _0x4339c4&&_0x182375()?_0x4339c4:null;function _0x182375(){const _0x5646af=_0x4339c4[_0xf2a007([0x6a,0x74,0x69])],_0x2632a3=window[_0xf2a007([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5646af[_0xf2a007([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5646af[_0xf2a007([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41c610={..._0x4339c4,[_0xf2a007([0x6a,0x74,0x69])]:_0x5646af[_0xf2a007([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5646af[_0xf2a007([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41c610[_0xf2a007([0x76,0x63])],_0x581017(_0x41c610)==_0x2632a3;}}}async function _0x1877e(){let _0x31e1b8=!0x0;try{const _0x35458f=_0x5101a1[_0xf2a007([0x73,0x70,0x6c,0x69,0x74])](_0xf2a007([0x2e])),[_0x54b086,_0x21f6bc,_0xfc3e5f]=_0x35458f;return _0x2fe7ec(_0x54b086),await _0x3e7aa5(_0x54b086,_0x21f6bc,_0xfc3e5f),_0x31e1b8;}catch{return!0x1;}function _0x2fe7ec(_0x209ba2){const _0x12d38e=_0x419800(_0x209ba2);_0x12d38e&&_0x12d38e[_0xf2a007([0x61,0x6c,0x67])]==_0xf2a007([0x45,0x53,0x32,0x35,0x36])||(_0x31e1b8=!0x1);}async function _0x3e7aa5(_0x2d0907,_0x1e6839,_0x22fa3f){const _0x4efd1d=window[_0xf2a007([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf2a007([0x66,0x72,0x6f,0x6d])](_0x8d40f2(_0x22fa3f),_0x525f3b=>_0x525f3b[_0xf2a007([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53ef14=new window[(_0xf2a007([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf2a007([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d0907+_0xf2a007([0x2e])+_0x1e6839),_0xbb917c=window[_0xf2a007([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf2a007([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xbb917c)return;const _0x8fd40d=await _0xbb917c[_0xf2a007([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf2a007([0x6a,0x77,0x6b]),_0x106e5c,{[_0xf2a007([0x6e,0x61,0x6d,0x65])]:_0xf2a007([0x45,0x43,0x44,0x53,0x41]),[_0xf2a007([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf2a007([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf2a007([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xbb917c[_0xf2a007([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf2a007([0x6e,0x61,0x6d,0x65])]:_0xf2a007([0x45,0x43,0x44,0x53,0x41]),[_0xf2a007([0x68,0x61,0x73,0x68])]:{[_0xf2a007([0x6e,0x61,0x6d,0x65])]:_0xf2a007([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8fd40d,_0x4efd1d,_0x53ef14)||(_0x31e1b8=!0x1);}}function _0x419800(_0x3fa98b){return _0x3fa98b[_0xf2a007([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf2a007([0x65,0x79]))?JSON[_0xf2a007([0x70,0x61,0x72,0x73,0x65])](_0x8d40f2(_0x3fa98b)):null;}function _0x8d40f2(_0x40137a){return window[_0xf2a007([0x61,0x74,0x6f,0x62])](_0x40137a[_0xf2a007([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf2a007([0x2b]))[_0xf2a007([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf2a007([0x2f])));}function _0x581017(_0xe3c18a){let _0x81535=0x1505;function _0x4ea0d6(_0x1defa4){for(let _0x56bbc1=0x0;_0x56bbc1<_0x1defa4[_0xf2a007([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56bbc1++){const _0x3e93fc=_0x1defa4[_0xf2a007([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56bbc1);_0x81535=(_0x81535<<0x5)+_0x81535+_0x3e93fc,_0x81535&=_0x81535;}}function _0x53a376(_0x2ec97b){Array[_0xf2a007([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ec97b)?_0x2ec97b[_0xf2a007([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x53a376):_0x2ec97b&&typeof _0x2ec97b==_0xf2a007([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf2a007([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ec97b)[_0xf2a007([0x73,0x6f,0x72,0x74])]()[_0xf2a007([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c3ed9,_0x24e175])=>{_0x4ea0d6(_0x2c3ed9),_0x53a376(_0x24e175);}):_0x4ea0d6(window[_0xf2a007([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ec97b));}return _0x53a376(_0xe3c18a),_0x81535>>>0x0;}function _0x3886bf(_0x5210fc){return _0x5210fc[_0xf2a007([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf2a007([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf2a007([0x30]));}function _0x4f66d2(_0x3e87f1){return _0x3e87f1[_0xf2a007([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf2a007([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf2a007([0x6a,0x6f,0x69,0x6e])]('');}function _0x4bcd5d(){}function _0xf2a007(_0x265c97){const _0x96f77=_0x4a8a;return _0x265c97[_0x96f77(0x11f)](_0xc8db01=>String[_0x96f77(0x13f)](_0xc8db01))[_0x96f77(0x10c)]('');}_0xb0fc3d(await _0x547f21());}(this);}[_0x372431(0x12c)](){const _0x1a944f=_0x372431,_0x63da80=this[_0x1a944f(0x137)][_0x1a944f(0x15b)];_0x63da80[_0x1a944f(0x10f)](_0x589b5b=>{const _0x2389de=_0x1a944f,_0x2a039b=_0x63da80[_0x2389de(0x11e)][_0x2389de(0x165)][_0x2389de(0x144)]();let _0x3be31b=0x0;for(const _0x11c0c4 of _0x2a039b){const _0x3fe744=f+':'+_0x3be31b;if(_0x63da80[_0x2389de(0x113)][_0x2389de(0xfe)](_0x3fe744))_0x589b5b[_0x2389de(0x14f)](_0x3fe744,{'range':_0x11c0c4});else{if(_0x11c0c4[_0x2389de(0x15e)][_0x2389de(0x157)]){const _0x16e884=_0x11c0c4[_0x2389de(0x15e)][_0x2389de(0x139)](({item:_0x56d99c})=>!_0x63da80[_0x2389de(0xfd)][_0x2389de(0x154)](_0x56d99c),{'boundaries':_0x11c0c4});_0x589b5b[_0x2389de(0x15a)](_0x3fe744,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x589b5b[_0x2389de(0x11b)](_0x16e884,_0x11c0c4[_0x2389de(0x14d)])});}else _0x589b5b[_0x2389de(0x15a)](_0x3fe744,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x11c0c4});}_0x3be31b++;}});}[_0x372431(0x10e)](){const _0xeba30a=_0x372431,_0x28d959=this[_0xeba30a(0x137)][_0xeba30a(0x15b)],_0x2cf2a2=Array[_0xeba30a(0x11a)](this[_0xeba30a(0x137)][_0xeba30a(0x15b)][_0xeba30a(0x113)][_0xeba30a(0x13a)](f));_0x2cf2a2[_0xeba30a(0x168)]&&_0x28d959[_0xeba30a(0x10f)](_0x27f5a6=>{const _0x16401c=_0xeba30a;_0x2cf2a2[_0x16401c(0x163)](_0x5058c2=>{const _0x3abbc7=_0x16401c;_0x27f5a6[_0x3abbc7(0x128)](_0x5058c2);});});}[_0x372431(0x122)](_0x25afbf,_0x3c159d){const _0x21520c=_0x372431,_0xf6343e=this[_0x21520c(0x132)](),_0x2cc93a=_0x3c159d||_0xf6343e[_0x21520c(0x136)]();this[_0x21520c(0x137)][_0x21520c(0x15b)][_0x21520c(0x138)](_0x2cc93a)&&this[_0x21520c(0x137)][_0x21520c(0x15b)][_0x21520c(0x10f)](_0x442037=>{const _0x538ac4=_0x21520c;this[_0x538ac4(0x10e)](),_0x3c159d||this[_0x538ac4(0x167)](_0x442037,_0xf6343e),this[_0x538ac4(0x123)]({'insertAt':_0x2cc93a,'writer':_0x442037,'html':_0x25afbf});});}[_0x372431(0x12b)](_0x2fccfd){const _0x3365ae=_0x372431,{model:_0x31cac3}=this[_0x3365ae(0x137)],_0x3ac25e=this[_0x3365ae(0x132)]();_0x31cac3[_0x3365ae(0x10f)](()=>{const _0x3c56c6=_0x3365ae,_0x53c0e4=this[_0x3c56c6(0x13d)](_0x2fccfd,_0x3ac25e)||this[_0x3c56c6(0x15f)](_0x3ac25e);this[_0x3c56c6(0x122)](_0x2fccfd,_0x53c0e4);});}[_0x372431(0x132)](){const _0x51a644=_0x372431,_0x36db73=this[_0x51a644(0x137)][_0x51a644(0x15b)],_0x4a5adc=Array[_0x51a644(0x11a)](_0x36db73[_0x51a644(0x113)][_0x51a644(0x13a)](f))[_0x51a644(0x11f)](_0x236713=>_0x236713[_0x51a644(0x160)]());return _0x36db73[_0x51a644(0x15c)](_0x4a5adc);}[_0x372431(0x123)]({writer:_0x49de12,html:_0x1a07e0,insertAt:_0x4068b0}){const _0x32ee32=_0x372431,{view:_0x1c8306}=this[_0x32ee32(0x137)][_0x32ee32(0x14e)],_0x17890d=this[_0x32ee32(0x137)][_0x32ee32(0x111)][_0x32ee32(0x11c)](_0x46c7a8),_0x3dcd70=new w();_0x3dcd70[_0x32ee32(0x125)](_0x32ee32(0x162),_0x1a07e0);const _0x475183=new ClipboardEvent(_0x32ee32(0x130),{'clipboardData':_0x3dcd70}),_0x2e1737=new _0x2512d5(_0x1c8306,_0x475183,{'dataTransfer':new _0x40429b(_0x3dcd70)});_0x49de12[_0x32ee32(0x107)](_0x4068b0);const _0x26c4a1=(_0x3c2b29,_0x4c21e7)=>{const _0x47e040=_0x32ee32;_0x4c21e7[_0x47e040(0x102)]&&_0x49de12[_0x47e040(0x107)](_0x4c21e7[_0x47e040(0x102)]);};_0x17890d[_0x32ee32(0x161)](_0x32ee32(0x134),_0x26c4a1,{'priority':_0x32ee32(0x133)}),_0x1c8306[_0x32ee32(0x11e)][_0x32ee32(0x140)](_0x32ee32(0x130),_0x2e1737),_0x17890d[_0x32ee32(0x152)](_0x32ee32(0x134),_0x26c4a1);}[_0x372431(0x15f)](_0x4c10dc){const _0x146c4f=_0x372431,{model:_0xc22fac}=this[_0x146c4f(0x137)],_0x2a548f=Array[_0x146c4f(0x11a)](_0x4c10dc[_0x146c4f(0x135)]());return _0x2a548f[_0x146c4f(0x168)]?_0xc22fac[_0x146c4f(0x124)](_0x2a548f[_0x146c4f(0x105)]()):_0x4c10dc[_0x146c4f(0x126)]();}[_0x372431(0x13d)](_0x36478b,_0x5cd216){const _0x27838b=_0x372431,{model:_0x42ca0d,plugins:_0x2ea82a}=this[_0x27838b(0x137)];if(_0x2ea82a[_0x27838b(0xfe)](_0x27838b(0x153))){const _0x213a72=_0x2ea82a[_0x27838b(0x11c)](_0x27838b(0x153))[_0x27838b(0x108)](_0x5cd216);if(_0x213a72[_0x27838b(0x168)]){const _0x3e139e=this[_0x27838b(0x141)](_0x36478b),_0x1bb5c2=this[_0x27838b(0x166)](_0x213a72,_0x3e139e);return _0x42ca0d[_0x27838b(0x158)](_0x1bb5c2,0x0);}}return null;}[_0x372431(0x141)](_0x114d81){const _0x41b870=_0x372431,_0x1f16b9=this[_0x41b870(0x137)][_0x41b870(0x111)][_0x41b870(0x11c)](_0x41b870(0x153)),_0x1c2bd1=this[_0x41b870(0x137)][_0x41b870(0x12e)][_0x41b870(0x119)](_0x114d81),_0x577406=Array[_0x41b870(0x11a)](_0x1c2bd1[_0x41b870(0x10d)]())[_0x41b870(0x145)](_0x43bf12=>_0x43bf12['is'](_0x41b870(0xff),_0x41b870(0x11d)));let _0x5caade=0x0;return _0x577406[_0x41b870(0x163)](_0x26e6be=>{const _0x7fffc2=_0x41b870;_0x5caade+=_0x1f16b9[_0x7fffc2(0x116)](_0x26e6be);}),_0x5caade;}[_0x372431(0x166)](_0x1e6f09,_0x5ebf1c){const _0x2a2a64=_0x372431,_0x27c10f=this[_0x2a2a64(0x137)][_0x2a2a64(0x111)][_0x2a2a64(0x11c)](_0x2a2a64(0x153)),_0x5331aa=_0x27c10f[_0x2a2a64(0x12a)](_0x1e6f09),_0x3b7235=_0x27c10f[_0x2a2a64(0x129)](_0x1e6f09),_0x20d2f7=_0x5331aa[_0x2a2a64(0x142)]+0x1,_0x450252=_0x3b7235[_0x2a2a64(0x112)],_0xb3a112=_0x1e6f09[0x0][_0x2a2a64(0x101)](_0x2a2a64(0x11d));for(let _0x5a2a02=0x0;_0x5a2a02<_0x5ebf1c;_0x5a2a02++)_0x27c10f[_0x2a2a64(0x14c)](_0xb3a112,{'at':_0x20d2f7});return _0xb3a112[_0x2a2a64(0x14a)](_0x20d2f7)[_0x2a2a64(0x14a)](_0x450252);}[_0x372431(0x167)](_0x3827ce,_0x3e82ca){const _0x1865e8=_0x372431,{plugins:_0x4b54de}=this[_0x1865e8(0x137)],{model:_0x2bbb78}=_0x3827ce;if(!_0x4b54de[_0x1865e8(0xfe)](_0x1865e8(0x153)))return;_0x4b54de[_0x1865e8(0x11c)](_0x1865e8(0x153))[_0x1865e8(0x108)](_0x3e82ca)[_0x1865e8(0x168)]&&_0x2bbb78[_0x1865e8(0x114)](_0x3e82ca);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x35b79c=_0x3b7d;(function(_0x1205e2,_0x201dc2){const _0x191a83=_0x3b7d,_0x38494f=_0x1205e2();while(!![]){try{const _0x26ce6a=-parseInt(_0x191a83(0xb0))/0x1+-parseInt(_0x191a83(0xce))/0x2+-parseInt(_0x191a83(0xd8))/0x3+-parseInt(_0x191a83(0xaa))/0x4*(parseInt(_0x191a83(0x122))/0x5)+-parseInt(_0x191a83(0xcb))/0x6*(parseInt(_0x191a83(0x121))/0x7)+-parseInt(_0x191a83(0x105))/0x8*(parseInt(_0x191a83(0xae))/0x9)+parseInt(_0x191a83(0x9b))/0xa;if(_0x26ce6a===_0x201dc2)break;else _0x38494f['push'](_0x38494f['shift']());}catch(_0x435636){_0x38494f['push'](_0x38494f['shift']());}}}(_0x4ae2,0xbdc1b));import{Plugin as _0x140fff}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1a424c,IconRobotPencil as _0x5c0081}from'ckeditor5/src/icons.js';import{first as _0x1cff1d,CKEditorError as _0x49e661}from'ckeditor5/src/utils.js';import{createDropdown as _0x336a12,addMenuToDropdown as _0x4ae3a7,ButtonView as _0x301367,MenuBarMenuListItemButtonView as _0x4fa707,Dialog as _0x9659d3,DialogViewPosition as _0x4e8032,MenuBarMenuView as _0x1b2d17,MenuBarMenuListView as _0x310c64,MenuBarMenuListItemView as _0x4a1e2b}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0xd3a549,UNGROUPED_COMMANDS_GROUP_ID as _0x19dbce}from'./utils/normalizecommandsconfig.js';import _0x547317 from'./aiassistantediting.js';import _0x30affd from'./adapters/aiadapter.js';import{getTranslation as _0x255e3a}from'./utils/common-translations.js';import _0x12cc8f from'./ui/showaiassistantcommand.js';import _0x39639a from'./ui/aiassistantcontroller.js';import _0x3941d0 from'./ui/form/aiformview.js';function _0x3b7d(_0x5b4db5,_0x2f56fa){const _0x4ae2b1=_0x4ae2();return _0x3b7d=function(_0x3b7d9c,_0x4f8f65){_0x3b7d9c=_0x3b7d9c-0x90;let _0x1196b3=_0x4ae2b1[_0x3b7d9c];return _0x1196b3;},_0x3b7d(_0x5b4db5,_0x2f56fa);}import{AIFormToolbarViewMainActionLabel as _0x2a0dd6}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x35b79c(0x128)];import{ClipboardMarkersUtils as _0x11679b}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x11fbbb,DataTransfer as _0xf8e6bb}from'ckeditor5/src/engine.js';export default class n extends _0x140fff{[_0x35b79c(0x117)];[_0x35b79c(0x11a)];[_0x35b79c(0xf6)];[_0x35b79c(0xf4)];[_0x35b79c(0xc8)];[_0x35b79c(0x103)];[_0x35b79c(0x100)]='';static get[_0x35b79c(0x97)](){const _0x3a0230=_0x35b79c;return _0x3a0230(0x138);}static get[_0x35b79c(0xbd)](){return!0x0;}static get[_0x35b79c(0x96)](){return!0x0;}static get[_0x35b79c(0xf8)](){return[_0x11679b,_0x547317,_0x30affd,_0x9659d3];}constructor(_0x56aaaa){const _0x48c323=_0x35b79c;super(_0x56aaaa),_0x56aaaa[_0x48c323(0xe5)][_0x48c323(0xdd)](_0x48c323(0x135),[_0x48c323(0x136),_0x48c323(0x115),_0x48c323(0x108)]),_0x56aaaa[_0x48c323(0xe5)][_0x48c323(0xdd)](_0x48c323(0x133),''),_0x56aaaa[_0x48c323(0xe5)][_0x48c323(0xdd)](_0x48c323(0xa9),!0x0),this[_0x48c323(0x100)]=_0x48c323(0x10f)+(_0x56aaaa[_0x48c323(0xe5)][_0x48c323(0xd7)](_0x48c323(0xa9))?_0x48c323(0xb7):'');}[_0x35b79c(0x91)](){const _0x53953a=_0x35b79c,{editor:_0x4e04a5}=this;this[_0x53953a(0xc8)]=_0x4e04a5[_0x53953a(0xaf)][_0x53953a(0xd7)](_0x30affd),this[_0x53953a(0xf6)]=_0x4e04a5[_0x53953a(0xaf)][_0x53953a(0xd7)](_0x9659d3),this[_0x53953a(0xf4)]=null,this[_0x53953a(0xf9)]=this[_0x53953a(0xd2)]();const _0x1b1a8c=new _0x12cc8f(_0x4e04a5,Array[_0x53953a(0x106)](this[_0x53953a(0xf9)][_0x53953a(0x10c)]()));_0x4e04a5[_0x53953a(0xfc)][_0x53953a(0xc4)](_0x53953a(0x13a),_0x1b1a8c),_0x4e04a5['ui'][_0x53953a(0xec)][_0x53953a(0xc4)](_0x53953a(0xc6),_0x70592b=>{const _0x34154f=_0x53953a,_0x270f18=_0x336a12(_0x70592b);return _0x270f18[_0x34154f(0xca)]({'class':_0x34154f(0x11b)+this[_0x34154f(0x100)]}),_0x270f18[_0x34154f(0x12e)][_0x34154f(0xca)]({'label':_0x255e3a(_0x70592b,_0x34154f(0xc9)),'icon':_0x1a424c,'tooltip':!0x0}),_0x270f18['on'](_0x34154f(0xdf),_0x1a35a5=>this[_0x34154f(0xdb)](_0x1a35a5[_0x34154f(0xb5)]['id'])),_0x4ae3a7(_0x270f18,_0x4e04a5['ui'][_0x34154f(0x94)][_0x34154f(0x12b)],function(_0x173011){const _0x3389ea=_0x34154f,_0x2223ee=_0xd3a549(_0x173011[_0x3389ea(0xe5)][_0x3389ea(0xd7)](_0x3389ea(0xfa)),_0x173011[_0x3389ea(0x110)]),_0x33d7d7=U(_0x173011,_0x2223ee)[_0x3389ea(0xa7)](_0x138bd5=>_0x138bd5[_0x3389ea(0xfc)][_0x3389ea(0x124)]);if(0x1===_0x33d7d7[_0x3389ea(0x124)])return U(_0x173011,_0x33d7d7[0x0][_0x3389ea(0xfc)])[_0x3389ea(0xa4)](_0x3503f7=>({'id':_0x3503f7['id'],'label':_0x3503f7[_0x3389ea(0xd6)]}));return _0x33d7d7[_0x3389ea(0xa4)](_0x1e8e45=>{const _0x46495f=_0x3389ea,{groupId:_0x24fadd,groupLabel:_0xa679c7,commands:_0x5594f8}=_0x1e8e45,_0x14ec0e=U(_0x173011,_0x5594f8)[_0x46495f(0xa4)](_0x2420dd=>({'id':_0x2420dd['id'],'label':_0x2420dd[_0x46495f(0xd6)]}));return{'id':_0x24fadd,'menu':_0xa679c7||_0x24fadd,'children':_0x14ec0e};});}(_0x4e04a5),{'ariaLabel':_0x255e3a(_0x70592b,_0x34154f(0xc9))}),_0x270f18[_0x34154f(0xb1)][_0x34154f(0x104)]=_0x34154f(0x11b)+this[_0x34154f(0x100)],_0x1b1a8c['on'](_0x34154f(0x9e),_0x504df5),_0x270f18[_0x34154f(0xb1)][_0x34154f(0x90)](_0x34154f(0x13f),_0x504df5),_0x270f18;function _0x504df5(){const _0x4ada4d=_0x34154f;_0x270f18[_0x4ada4d(0x119)]=_0x1b1a8c[_0x4ada4d(0xcc)][_0x4ada4d(0x124)]>0x0;for(const _0x1fa11a of _0x270f18[_0x4ada4d(0xb1)][_0x4ada4d(0x11f)])_0x1fa11a[_0x4ada4d(0x119)]=_0x1b1a8c[_0x4ada4d(0xcc)][_0x4ada4d(0xd0)](_0x1fa11a['id']);}}),_0x4e04a5['ui'][_0x53953a(0xec)][_0x53953a(0xc4)](_0x53953a(0x10e),_0x330ff0=>{const _0x456007=_0x53953a,_0x51a6b8=new _0x1b2d17(_0x330ff0);_0x51a6b8[_0x456007(0x12e)][_0x456007(0xca)]({'label':_0x255e3a(_0x330ff0,_0x456007(0xc9)),'icon':_0x1a424c}),_0x51a6b8[_0x456007(0x9c)](_0x456007(0x119))['to'](_0x1b1a8c,_0x456007(0xcc),_0x110331=>_0x110331[_0x456007(0x124)]>0x0);const _0x3aacd6=_0xd3a549(_0x4e04a5[_0x456007(0xe5)][_0x456007(0xd7)](_0x456007(0xfa)),_0x330ff0);return this[_0x456007(0x131)](_0x1b1a8c,_0x51a6b8,_0x3aacd6,_0x59e43b=>this[_0x456007(0xdb)](_0x59e43b)),_0x51a6b8;}),_0x4e04a5['ui'][_0x53953a(0xec)][_0x53953a(0xc4)](_0x53953a(0xfd),()=>{const _0x595d03=_0x53953a,_0x309744=this[_0x595d03(0xe7)](_0x301367);return _0x309744[_0x595d03(0xca)]({'tooltip':!0x0,'class':_0x595d03(0xd1)+this[_0x595d03(0x100)]}),_0x309744;}),_0x4e04a5['ui'][_0x53953a(0xec)][_0x53953a(0xc4)](_0x53953a(0xb4),()=>{const _0x194dcd=_0x53953a,_0x4d2a18=this[_0x194dcd(0xe7)](_0x4fa707);return _0x4d2a18[_0x194dcd(0xca)]({'role':_0x194dcd(0x137)}),_0x4d2a18;}),this[_0x53953a(0x117)]=this[_0x53953a(0xc0)][_0x53953a(0xe5)][_0x53953a(0xd7)](_0x53953a(0x117));const _0x26c6ae=this[_0x53953a(0xc0)];this[_0x53953a(0x11a)]=setInterval(()=>{const _0x3c2240=_0x53953a;let _0x101278;for(const _0x21c00b in _0x26c6ae){const _0x4e1445=_0x21c00b,_0x3b8a5a=_0x26c6ae[_0x4e1445];if(_0x3c2240(0xf1)==_0x3b8a5a||_0x3c2240(0xa1)==_0x3b8a5a||_0x3c2240(0xeb)==_0x3b8a5a||_0x3c2240(0x125)==_0x3b8a5a||_0x3c2240(0x93)==_0x3b8a5a||_0x3c2240(0xc5)==_0x3b8a5a||_0x3c2240(0x12c)==_0x3b8a5a||_0x3c2240(0x116)==_0x3b8a5a){delete _0x26c6ae[_0x4e1445],_0x101278=_0x3b8a5a,clearInterval(this[_0x3c2240(0x11a)]),this[_0x3c2240(0x11a)]=void 0x0;break;}}_0x3c2240(0xa1)==_0x101278&&_0x26c6ae[_0x3c2240(0x13e)](_0x3c2240(0x9a)),_0x3c2240(0xeb)==_0x101278&&_0x26c6ae[_0x3c2240(0x13e)](_0x3c2240(0x134)),_0x3c2240(0x125)==_0x101278&&_0x26c6ae[_0x3c2240(0x13e)](_0x3c2240(0xb8)),_0x3c2240(0x93)==_0x101278&&_0x26c6ae[_0x3c2240(0x13e)](_0x3c2240(0xda),_0x3c2240(0xfe)),_0x3c2240(0xc5)==_0x101278&&_0x26c6ae[_0x3c2240(0x13e)](_0x3c2240(0x92)),_0x3c2240(0x12c)==_0x101278&&_0x26c6ae[_0x3c2240(0x13e)](_0x3c2240(0xb3)),_0x3c2240(0x116)==_0x101278&&_0x26c6ae[_0x3c2240(0x13e)](_0x3c2240(0x98));},0x3e8);}[_0x35b79c(0xcd)](){const _0x569181=_0x35b79c;super[_0x569181(0xcd)](),this[_0x569181(0x11a)]&&clearInterval(this[_0x569181(0x11a)]);}[_0x35b79c(0x9d)](_0x24ae29='',_0x13b8cc='',_0x12ce75=_0x35b79c(0xa0)){const _0x4d4554=_0x35b79c,_0x3d73e6=this[_0x4d4554(0xc0)],_0x435438=_0x3d73e6[_0x4d4554(0x126)][_0x4d4554(0x94)],_0x1a31f2=_0x3d73e6[_0x4d4554(0xaf)][_0x4d4554(0xd7)](_0x547317),_0x3b87a4=_0x3d73e6[_0x4d4554(0xaf)][_0x4d4554(0xd7)](_0x11679b);_0x1a31f2[_0x4d4554(0xc7)]();const _0x4e4f3c=new w(),_0x14aa86=new ClipboardEvent(_0x4d4554(0xef),{'clipboardData':_0x4e4f3c}),_0x134197=new _0xf8e6bb(_0x4e4f3c),_0x4b2158=new _0x11fbbb(_0x435438,_0x14aa86,{'dataTransfer':_0x134197});_0x3b87a4[_0x4d4554(0x127)](_0x4d4554(0x10a),()=>{const _0x4c86f1=_0x4d4554;_0x435438[_0x4c86f1(0xbf)][_0x4c86f1(0xde)](_0x4c86f1(0xef),_0x4b2158);}),this[_0x4d4554(0xf4)]||(this[_0x4d4554(0xe8)](),this[_0x4d4554(0x103)]=new _0x39639a(_0x3d73e6,this[_0x4d4554(0xc8)][_0x4d4554(0x12f)],this[_0x4d4554(0xf4)]));let _0x24a7a7=_0x134197[_0x4d4554(0xbb)](_0x4d4554(0xac));const _0x5e8342=_0x3d73e6[_0x4d4554(0x101)][_0x4d4554(0xbf)][_0x4d4554(0x11c)],_0x1caf31=Array[_0x4d4554(0x106)](_0x5e8342[_0x4d4554(0x10b)]());0x1===_0x1caf31[_0x4d4554(0x124)]&&_0x1caf31[0x0][_0x4d4554(0x118)]&&!_0x5e8342[_0x4d4554(0xe2)]()&&''!==_0x24a7a7[_0x4d4554(0xf7)](/ /g,'')[_0x4d4554(0xe1)]()&&(_0x24a7a7=_0x4d4554(0x13d)+_0x24a7a7+_0x4d4554(0x139)),this[_0x4d4554(0x103)][_0x4d4554(0x99)]({'actionId':_0x12ce75,'query':_0x24ae29,'htmlContent':_0x24a7a7,'label':_0x13b8cc,'mainActionLabel':_0x2a0dd6[_0x3d73e6[_0x4d4554(0x101)][_0x4d4554(0xbf)][_0x4d4554(0x11c)][_0x4d4554(0xab)]?_0x4d4554(0x112):_0x4d4554(0xc1)]}),_0x4d4554(0xfd)!==this[_0x4d4554(0xf6)]['id']?this[_0x4d4554(0xf6)][_0x4d4554(0xf5)]({'id':_0x4d4554(0xfd),'icon':_0x5c0081,'title':_0x255e3a(this[_0x4d4554(0xc0)][_0x4d4554(0x110)],_0x4d4554(0x129)),'content':this[_0x4d4554(0xf4)],'position':_0x4e8032[_0x4d4554(0x114)],'onShow':()=>{const _0x3bf76c=_0x4d4554;this[_0x3bf76c(0xf4)][_0x3bf76c(0xa8)]();},'onHide':()=>{const _0x12d8cb=_0x4d4554;this[_0x12d8cb(0x103)][_0x12d8cb(0xba)](),_0x1a31f2[_0x12d8cb(0x13c)]();}}):this[_0x4d4554(0xf6)][_0x4d4554(0x94)][_0x4d4554(0x132)]||this[_0x4d4554(0xf6)][_0x4d4554(0x94)][_0x4d4554(0xed)]();}[_0x35b79c(0xe0)](){const _0x1e7986=_0x35b79c;this[_0x1e7986(0xf6)][_0x1e7986(0xd5)]();}[_0x35b79c(0xd2)](){const _0x460f80=_0x35b79c,_0x2d2f2b=new Map(),_0x3cdb5e=_0xd3a549(this[_0x460f80(0xc0)][_0x460f80(0xe5)][_0x460f80(0xd7)](_0x460f80(0xfa)),this[_0x460f80(0xc0)][_0x460f80(0x110)]);for(const _0x1838e3 of _0x3cdb5e)for(const _0x1b9526 of _0x1838e3[_0x460f80(0xfc)])_0x2d2f2b[_0x460f80(0xca)](_0x1b9526['id'],{..._0x1b9526,'groupId':_0x1838e3[_0x460f80(0x102)],'groupLabel':_0x1838e3[_0x460f80(0x120)]||_0x1838e3[_0x460f80(0x102)]});return _0x2d2f2b;}[_0x35b79c(0xe7)](_0xac1c93){const _0x3c5560=_0x35b79c,_0x2978d4=this[_0x3c5560(0xc0)],_0x57c4a2=_0x2978d4[_0x3c5560(0xfc)][_0x3c5560(0xd7)](_0x3c5560(0x13a)),_0x1886b2=new _0xac1c93(_0x2978d4[_0x3c5560(0x110)]);return _0x1886b2[_0x3c5560(0xca)]({'label':_0x255e3a(_0x2978d4[_0x3c5560(0x110)],_0x3c5560(0x129)),'icon':_0x5c0081,'isToggleable':!0x0}),_0x1886b2[_0x3c5560(0x9c)](_0x3c5560(0x119))['to'](_0x57c4a2),_0x1886b2[_0x3c5560(0x9c)](_0x3c5560(0x130))['to'](this[_0x3c5560(0xf6)],'id',_0x41bc11=>_0x3c5560(0xfd)===_0x41bc11),this[_0x3c5560(0xbe)](_0x1886b2,_0x3c5560(0xdf),()=>{const _0x4483ac=_0x3c5560;_0x1886b2[_0x4483ac(0x130)]?this[_0x4483ac(0xe0)]():_0x57c4a2[_0x4483ac(0xdf)]();}),_0x1886b2;}[_0x35b79c(0xe8)](){const _0x64b80c=_0x35b79c,_0x395215=this[_0x64b80c(0xc0)][_0x64b80c(0xaf)][_0x64b80c(0xd7)](_0x547317);this[_0x64b80c(0xf4)]=new _0x3941d0(this[_0x64b80c(0xc0)][_0x64b80c(0x110)],this[_0x64b80c(0x100)],this[_0x64b80c(0xc0)][_0x64b80c(0xe5)][_0x64b80c(0xd7)](_0x64b80c(0x133))),this[_0x64b80c(0xf4)]['on'](_0x64b80c(0x11d),()=>{const _0x3b1517=_0x64b80c;this[_0x3b1517(0xf6)][_0x3b1517(0x94)][_0x3b1517(0x132)]||this[_0x3b1517(0xf6)][_0x3b1517(0x94)][_0x3b1517(0xed)]();}),this[_0x64b80c(0xf4)][_0x64b80c(0x10d)][_0x64b80c(0xb2)][_0x64b80c(0xc2)]['on'](_0x64b80c(0xf2),()=>{const _0x59785c=_0x64b80c;this[_0x59785c(0xf6)][_0x59785c(0x94)][_0x59785c(0x132)]||this[_0x59785c(0xf6)][_0x59785c(0x94)][_0x59785c(0xed)]();}),this[_0x64b80c(0xbe)](this[_0x64b80c(0xf4)],_0x64b80c(0x11e),()=>{const _0x518030=_0x64b80c;_0x395215[_0x518030(0xe9)](this[_0x518030(0x103)][_0x518030(0xad)]),this[_0x518030(0xe0)]();}),this[_0x64b80c(0xbe)](this[_0x64b80c(0xf4)],_0x64b80c(0xcf),()=>{const _0x439c7f=_0x64b80c;_0x395215[_0x439c7f(0xcf)](this[_0x439c7f(0x103)][_0x439c7f(0xad)]),this[_0x439c7f(0xe0)]();}),this[_0x64b80c(0x13b)]();}[_0x35b79c(0x13b)](){const _0x4951bb=_0x35b79c,{locale:_0x149160,ui:{ariaLiveAnnouncer:_0x312681}}=this[_0x4951bb(0xc0)];this[_0x4951bb(0xf4)][_0x4951bb(0x12a)]['on'](_0x4951bb(0xe4),(_0x29aef1,_0xdcbf60,_0x3aabcf)=>{const _0x1ecd7a=_0x4951bb,_0x42c083=this[_0x1ecd7a(0x103)][_0x1ecd7a(0xad)];_0x3aabcf?_0x312681[_0x1ecd7a(0xa6)](_0x255e3a(_0x149160,_0x1ecd7a(0xbc))):_0x42c083&&_0x312681[_0x1ecd7a(0xa6)](_0x255e3a(_0x149160,_0x1ecd7a(0xa5),_0x42c083),{'politeness':_0x1ecd7a(0xb6),'isUnsafeHTML':!0x0});}),this[_0x4951bb(0xf4)]['on'](_0x4951bb(0x113),(_0x18b8c3,_0x82b4a1,_0x5cc7ca)=>{const _0x3b67a4=_0x4951bb;if(_0x5cc7ca){const _0x52adbb=this[_0x3b67a4(0xf4)][_0x3b67a4(0xdc)][_0x3b67a4(0x9f)];_0x312681[_0x3b67a4(0xa6)](_0x255e3a(_0x149160,_0x3b67a4(0xe3),_0x52adbb));}});}[_0x35b79c(0xdb)](_0x5b0906){const _0x504bca=_0x35b79c,_0x361aaf=this[_0x504bca(0xf9)][_0x504bca(0xd7)](_0x5b0906),_0x4e4dfc=this[_0x504bca(0xc0)],_0x278f42=_0x4e4dfc[_0x504bca(0x101)][_0x504bca(0xbf)][_0x504bca(0x11c)],_0x41aa83=_0x4e4dfc[_0x504bca(0xfc)][_0x504bca(0xd7)](_0x504bca(0x13a)),_0x584178=_0x4e4dfc[_0x504bca(0xaf)][_0x504bca(0xd7)](_0x547317),_0x3fab3d=''+(_0x361aaf[_0x504bca(0x102)]!==_0x19dbce?_0x361aaf[_0x504bca(0x120)]+':\x20':'')+_0x361aaf[_0x504bca(0xd6)];if(!0x1!==_0x361aaf[_0x504bca(0xa3)]&&_0x278f42[_0x504bca(0xab)]){const _0x3fe403=_0x1cff1d(_0x278f42[_0x504bca(0xee)]())||_0x4e4dfc[_0x504bca(0x101)][_0x504bca(0xff)][_0x504bca(0xfb)](_0x278f42);_0x4e4dfc[_0x504bca(0x101)][_0x504bca(0xd3)](_0x110517=>{const _0xed8d80=_0x504bca;_0x110517[_0xed8d80(0x12d)](_0x3fe403,'in');});}_0x584178[_0x504bca(0xc7)](),_0x41aa83[_0x504bca(0xdf)](_0x361aaf[_0x504bca(0xd4)],_0x3fab3d,_0x504bca(0x111)+_0x5b0906);}[_0x35b79c(0x131)](_0x56061e,_0x2531b6,_0x3971c1,_0x4e5351){const _0x3b5da2=_0x35b79c,_0x439474=this[_0x3b5da2(0xc0)],_0x114778=_0x439474[_0x3b5da2(0x110)],_0x3b45fa=new _0x310c64(_0x114778),_0x2cb17f=U(_0x439474,_0x3971c1)[_0x3b5da2(0xa7)](_0x1f5252=>_0x1f5252[_0x3b5da2(0xfc)][_0x3b5da2(0x124)]);0x1===_0x2cb17f[_0x3b5da2(0x124)]?this[_0x3b5da2(0x107)]({'command':_0x56061e,'commands':_0x2cb17f[0x0][_0x3b5da2(0xfc)],'parentMenuView':_0x2531b6,'onExecute':_0x4e5351})[_0x3b5da2(0xb9)](_0x4f0ff9=>_0x3b45fa[_0x3b5da2(0xd9)][_0x3b5da2(0xc4)](_0x4f0ff9)):_0x2cb17f[_0x3b5da2(0xb9)](({groupId:_0x230985,groupLabel:_0x5aaeb8,commands:_0xf66af3})=>{const _0x5d4394=_0x3b5da2,_0x246d90=new _0x4a1e2b(_0x114778,_0x2531b6),_0x3d46aa=new _0x1b2d17(_0x114778),_0xb077d1=new _0x310c64(_0x114778),_0x4c6bb0=this[_0x5d4394(0x107)]({'command':_0x56061e,'commands':_0xf66af3,'parentMenuView':_0x3d46aa,'onExecute':_0x4e5351});_0x3d46aa[_0x5d4394(0x12e)][_0x5d4394(0xca)]({'label':_0x5aaeb8||_0x230985}),_0x3d46aa[_0x5d4394(0x123)](_0x5d4394(0xdf))['to'](_0x2531b6),_0xb077d1[_0x5d4394(0xd9)][_0x5d4394(0xa2)](_0x4c6bb0),_0x3d46aa[_0x5d4394(0x95)][_0x5d4394(0x109)][_0x5d4394(0xc4)](_0xb077d1),_0x246d90[_0x5d4394(0x109)][_0x5d4394(0xc4)](_0x3d46aa),_0x3b45fa[_0x5d4394(0xd9)][_0x5d4394(0xc4)](_0x246d90);}),_0x2531b6[_0x3b5da2(0x95)][_0x3b5da2(0x109)][_0x3b5da2(0xc4)](_0x3b45fa);}[_0x35b79c(0x107)]({command:_0x3c485f,commands:_0x373c33,parentMenuView:_0x1d007f,onExecute:_0x16bb5e}){const _0x4f314e=_0x35b79c,_0x532fdc=this[_0x4f314e(0xc0)],_0x6dbfbe=_0x532fdc[_0x4f314e(0x110)];return U(_0x532fdc,_0x373c33)[_0x4f314e(0xa4)](_0x208c0a=>{const _0x4f3a92=_0x4f314e,_0x455894=new _0x4a1e2b(_0x6dbfbe,_0x1d007f),_0x348743=new _0x4fa707(_0x6dbfbe);return _0x348743[_0x4f3a92(0xca)]({'label':_0x208c0a[_0x4f3a92(0xd6)]}),_0x348743[_0x4f3a92(0x123)](_0x4f3a92(0xdf))['to'](_0x1d007f),_0x348743['on'](_0x4f3a92(0xdf),()=>_0x16bb5e(_0x208c0a['id'])),_0x348743[_0x4f3a92(0x9c)](_0x4f3a92(0x119))['to'](_0x3c485f,_0x4f3a92(0xcc),_0x488ed8=>_0x488ed8[_0x4f3a92(0xd0)](_0x208c0a['id'])),_0x455894[_0x4f3a92(0x109)][_0x4f3a92(0xc4)](_0x348743),_0x455894;});}}function _0x4ae2(){const _0x5a139b=['3391659ZAftZS','items','featureNotAllowed','_onExecute','errorView','define','fire','execute','hideUI','trim','getSelectedElement','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:isProcessing','config','push','_createAIAssistantUIButton','_initView','insertContent','order','aiLicenseKeyExpired','componentFactory','updatePosition','getSelectedBlocks','copy','sort','aiLicenseKeyValid','update','ai-commands-config-order-collision','_formView','show','_dialog','replace','requires','_commandDefinitions','ai.aiAssistant.commands','getLimitElement','commands','aiAssistant','AIAssistant','schema','_uiCssClasses','model','groupId','_aiAssistantController','menuPanelClass','488AtYQnT','from','_getMenuBarGroupButtons','tableOfContents','children','comment','getRanges','values','promptView','menuBar:aiCommands','ck-ai-assistant-ui','locale','command:','INSERT','change:isError','EDITOR_TOP_SIDE','rawHtml','aiLicenseKeyUsageLimit','licenseKey','isFlat','isEnabled','_licenseKeyCheckInterval','ck-ai-commands-dropdown\x20','selection','change:value','replaceContent','buttons','groupLabel','4543ajUYqS','33410KTDqId','delegate','length','aiLicenseKeyDomainLimit','editing','_forceMarkersCopy','DataTransfer','AI\x20Assistant','contentArea','body','aiLicenseKeyTrialLimit','setSelection','buttonView','textAdapter','isOn','_populateMenuBarMenu','wasMoved','ai.aiAssistant.contentAreaCssClass','expired','ai.aiAssistant.disabledElements','media','menuitemcheckbox','AIAssistantUI','</p>','showAIAssistant','_initAriaAiStatusChangeAnnouncements','hideFakeVisualSelection','<p>','_showLicenseError','render','once','init','evaluationLimit','aiLicenseKeyNotAllowed','view','panelView','isPremiumPlugin','pluginName','usageLimit','updateView','invalid','45047870oZVapl','bind','showUI','change:enabledCommandsIds','text','custom','aiLicenseKeyInvalid','addMany','requiresContent','map','Generated\x20content:\x20%0','announce','filter','focus','ai.useTheme','232BKABKN','isCollapsed','text/html','currentContext','67437mMVhJh','plugins','770744dqCFjV','menuView','queryView','trialLimit','menuBar:aiAssistant','source','polite','\x20ck-ai-assistant-ui_theme','domainLimit','forEach','reset','getData','AI\x20is\x20writing','isOfficialPlugin','listenTo','document','editor','REPLACE','fieldView','splice','add','aiLicenseKeyEvaluationLimit','aiCommands','showFakeVisualSelection','_aiAdapter','AI\x20Commands','set','4404Snrvqy','enabledCommandsIds','destroy','1010504YtMKlD','insertContentBelow','includes','ck-ai-assistant-button\x20','_getResolvedCommandsDefinitions','change','prompt','hide','label','get'];_0x4ae2=function(){return _0x5a139b;};return _0x4ae2();}function B(_0x564649,_0x280835){const _0x3dcd89=_0x35b79c;return void 0x0!==_0x564649[_0x3dcd89(0xea)]&&void 0x0===_0x280835[_0x3dcd89(0xea)]?0x1:void 0x0===_0x564649[_0x3dcd89(0xea)]&&void 0x0!==_0x280835[_0x3dcd89(0xea)]?-0x1:void 0x0!==_0x564649[_0x3dcd89(0xea)]&&void 0x0!==_0x280835[_0x3dcd89(0xea)]?_0x564649[_0x3dcd89(0xea)]-_0x280835[_0x3dcd89(0xea)]:0x0;}function U(_0x32804c,_0x159dc7){const _0x5e9738=_0x35b79c;_0x159dc7[_0x5e9738(0xf0)](B);const _0x2432b7={},_0x1652cb=[];for(const _0x3de337 of _0x159dc7)if(void 0x0!==_0x3de337[_0x5e9738(0xea)]){if(_0x3de337[_0x5e9738(0xea)]in _0x2432b7)throw new _0x49e661(_0x5e9738(0xf3),_0x32804c,{'conflictingDefinitions':[_0x3de337,_0x2432b7[_0x3de337[_0x5e9738(0xea)]]]});_0x2432b7[_0x3de337[_0x5e9738(0xea)]]=_0x3de337,_0x1652cb[_0x5e9738(0xc3)](_0x3de337[_0x5e9738(0xea)],0x0,_0x3de337);}else _0x1652cb[_0x5e9738(0xe6)](_0x3de337);return _0x1652cb;}
|
|
23
|
+
const _0x4a4cdd=_0x5167;(function(_0x26df10,_0x5cbbf1){const _0x2e62bd=_0x5167,_0x51bcf6=_0x26df10();while(!![]){try{const _0x18bbf1=parseInt(_0x2e62bd(0x1ab))/0x1+-parseInt(_0x2e62bd(0x150))/0x2+parseInt(_0x2e62bd(0x1ed))/0x3*(parseInt(_0x2e62bd(0x199))/0x4)+parseInt(_0x2e62bd(0x19b))/0x5*(parseInt(_0x2e62bd(0x1da))/0x6)+-parseInt(_0x2e62bd(0x18f))/0x7+-parseInt(_0x2e62bd(0x170))/0x8+parseInt(_0x2e62bd(0x158))/0x9;if(_0x18bbf1===_0x5cbbf1)break;else _0x51bcf6['push'](_0x51bcf6['shift']());}catch(_0x54ffd3){_0x51bcf6['push'](_0x51bcf6['shift']());}}}(_0x45db,0xec391));import{Plugin as _0x1927a5}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3ed3d6,IconRobotPencil as _0x58c8b9}from'ckeditor5/src/icons.js';import{first as _0x3da13a,CKEditorError as _0x1e88c7}from'ckeditor5/src/utils.js';import{createDropdown as _0x10d10,addMenuToDropdown as _0x3a10ab,ButtonView as _0x5c2fea,MenuBarMenuListItemButtonView as _0xa06f98,Dialog as _0xa27bce,DialogViewPosition as _0x595a54,MenuBarMenuView as _0x41b6e4,MenuBarMenuListView as _0x559716,MenuBarMenuListItemView as _0x3ca924}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0xf9f803,UNGROUPED_COMMANDS_GROUP_ID as _0x351634}from'./utils/normalizecommandsconfig.js';import _0x576691 from'./aiassistantediting.js';import _0x3e695e from'./adapters/aiadapter.js';import{getTranslation as _0xbce885}from'./utils/common-translations.js';import _0x3f3828 from'./ui/showaiassistantcommand.js';import _0x55e7a8 from'./ui/aiassistantcontroller.js';import _0x1a0623 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x560a5e}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';function _0x5167(_0x16d92a,_0x211617){const _0x45db02=_0x45db();return _0x5167=function(_0x516758,_0x329904){_0x516758=_0x516758-0x14a;let _0x2c0afc=_0x45db02[_0x516758];return _0x2c0afc;},_0x5167(_0x16d92a,_0x211617);}import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x4a4cdd(0x17b)];function _0x45db(){const _0x1f3c61=['menuitemcheckbox','ai.useTheme','addMany','set','define','pluginName','promptView','tableOfContents','copy','ai-commands-config-order-collision','buttons','editor','11008632PFFKRF','updatePosition','delegate','get','AI\x20is\x20writing','AIAssistantUI','custom','destroy','featureNotAllowed','splice','from','DataTransfer','insertContent','editing','groupId','hide','model','AI\x20Assistant','setSelection','\x20ck-ai-assistant-ui_theme','componentFactory','change:isError','panelView','getSelectedElement','menuBar:aiAssistant','REPLACE','commands','init','enabledCommandsIds','queryView','reset','9501996JmBNPn','filter','hideFakeVisualSelection','_aiAssistantController','_createAIAssistantUIButton','locale','domainLimit','getData','_populateMenuBarMenu','errorView','3569268OmtCoT','contentArea','9587670sjqaZH','media','render','replace','updateView','aiLicenseKeyValid','_showLicenseError','ai.aiAssistant.contentAreaCssClass','trialLimit','selection','prompt','map','aiLicenseKeyDomainLimit','textAdapter','config','Generated\x20content:\x20%0','1258506rWJHZP','showFakeVisualSelection','isPremiumPlugin','trim','aiLicenseKeyNotAllowed','change','polite','_aiAdapter','showUI','isOfficialPlugin','children','groupLabel','_uiCssClasses','getSelectedBlocks','aiLicenseKeyEvaluationLimit','forEach','menuBar:aiCommands','</p>','view','text/html','length','ai.aiAssistant.commands','sort','update','AIAssistant','INSERT','document','ai.aiAssistant.disabledElements','_dialog','once','ck-ai-assistant-ui','aiLicenseKeyUsageLimit','ck-ai-commands-dropdown\x20','fire','isFlat','licenseKey','Error\x20during\x20AI\x20content\x20generation:\x20%0','EDITOR_TOP_SIDE','announce','push','<p>','fieldView','usageLimit','getRanges','show','listenTo','currentContext','6ukpuFG','body','source','isOn','focus','expired','text','plugins','_commandDefinitions','requiresContent','_getResolvedCommandsDefinitions','_formView','_getMenuBarGroupButtons','menuPanelClass','values','AI\x20Commands','requires','aiAssistant','aiLicenseKeyExpired','6CQWTjH','isEnabled','order','command:','wasMoved','items','_initView','isCollapsed','change:isProcessing','includes','add','evaluationLimit','menuView','_forceMarkersCopy','aiCommands','_licenseKeyCheckInterval','aiLicenseKeyTrialLimit','invalid','2671880EUntQy','getLimitElement','hideUI','change:enabledCommandsIds','insertContentBelow','replaceContent','label','_initAriaAiStatusChangeAnnouncements','687078nbUstl','change:value','schema','aiLicenseKeyInvalid','bind','_onExecute','execute','comment','ck-ai-assistant-button\x20','rawHtml','buttonView','showAIAssistant'];_0x45db=function(){return _0x1f3c61;};return _0x45db();}import{ClipboardMarkersUtils as _0x322ad1}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2508e4,DataTransfer as _0x4437b7}from'ckeditor5/src/engine.js';export default class n extends _0x1927a5{[_0x4a4cdd(0x1ce)];[_0x4a4cdd(0x14d)];[_0x4a4cdd(0x1c7)];[_0x4a4cdd(0x1e5)];[_0x4a4cdd(0x1b2)];[_0x4a4cdd(0x192)];[_0x4a4cdd(0x1b7)]='';static get[_0x4a4cdd(0x169)](){const _0x23ab16=_0x4a4cdd;return _0x23ab16(0x175);}static get[_0x4a4cdd(0x1b4)](){return!0x0;}static get[_0x4a4cdd(0x1ad)](){return!0x0;}static get[_0x4a4cdd(0x1ea)](){return[_0x322ad1,_0x576691,_0x3e695e,_0xa27bce];}constructor(_0x5e342f){const _0x3d4764=_0x4a4cdd;super(_0x5e342f),_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x168)](_0x3d4764(0x1c6),[_0x3d4764(0x19c),_0x3d4764(0x161),_0x3d4764(0x16b)]),_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x168)](_0x3d4764(0x1a2),''),_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x168)](_0x3d4764(0x165),!0x0),this[_0x3d4764(0x1b7)]=_0x3d4764(0x1c9)+(_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x173)](_0x3d4764(0x165))?_0x3d4764(0x183):'');}[_0x4a4cdd(0x18b)](){const _0x46adc2=_0x4a4cdd,{editor:_0x65958e}=this;this[_0x46adc2(0x1b2)]=_0x65958e[_0x46adc2(0x1e1)][_0x46adc2(0x173)](_0x3e695e),this[_0x46adc2(0x1c7)]=_0x65958e[_0x46adc2(0x1e1)][_0x46adc2(0x173)](_0xa27bce),this[_0x46adc2(0x1e5)]=null,this[_0x46adc2(0x1e2)]=this[_0x46adc2(0x1e4)]();const _0x5b0d73=new _0x3f3828(_0x65958e,Array[_0x46adc2(0x17a)](this[_0x46adc2(0x1e2)][_0x46adc2(0x1e8)]()));_0x65958e[_0x46adc2(0x18a)][_0x46adc2(0x1f7)](_0x46adc2(0x163),_0x5b0d73),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x14c),_0x3b7e97=>{const _0x426c8e=_0x46adc2,_0x43e3ba=_0x10d10(_0x3b7e97);return _0x43e3ba[_0x426c8e(0x167)]({'class':_0x426c8e(0x1cb)+this[_0x426c8e(0x1b7)]}),_0x43e3ba[_0x426c8e(0x162)][_0x426c8e(0x167)]({'label':_0xbce885(_0x3b7e97,_0x426c8e(0x1e9)),'icon':_0x3ed3d6,'tooltip':!0x0}),_0x43e3ba['on'](_0x426c8e(0x15e),_0x5e10cf=>this[_0x426c8e(0x15d)](_0x5e10cf[_0x426c8e(0x1dc)]['id'])),_0x3a10ab(_0x43e3ba,_0x65958e['ui'][_0x426c8e(0x1bd)][_0x426c8e(0x1db)],function(_0x21d5e3){const _0x1d4361=_0x426c8e,_0x12367f=_0xf9f803(_0x21d5e3[_0x1d4361(0x1a9)][_0x1d4361(0x173)](_0x1d4361(0x1c0)),_0x21d5e3[_0x1d4361(0x194)]),_0x4d2743=U(_0x21d5e3,_0x12367f)[_0x1d4361(0x190)](_0x2634fd=>_0x2634fd[_0x1d4361(0x18a)][_0x1d4361(0x1bf)]);if(0x1===_0x4d2743[_0x1d4361(0x1bf)])return U(_0x21d5e3,_0x4d2743[0x0][_0x1d4361(0x18a)])[_0x1d4361(0x1a6)](_0x1a7730=>({'id':_0x1a7730['id'],'label':_0x1a7730[_0x1d4361(0x156)]}));return _0x4d2743[_0x1d4361(0x1a6)](_0x4b9ba9=>{const _0x14f3ed=_0x1d4361,{groupId:_0x274764,groupLabel:_0x421ea4,commands:_0x6fed6a}=_0x4b9ba9,_0x2a23ce=U(_0x21d5e3,_0x6fed6a)[_0x14f3ed(0x1a6)](_0xb637d0=>({'id':_0xb637d0['id'],'label':_0xb637d0[_0x14f3ed(0x156)]}));return{'id':_0x274764,'menu':_0x421ea4||_0x274764,'children':_0x2a23ce};});}(_0x65958e),{'ariaLabel':_0xbce885(_0x3b7e97,_0x426c8e(0x1e9))}),_0x43e3ba[_0x426c8e(0x14a)][_0x426c8e(0x1e7)]=_0x426c8e(0x1cb)+this[_0x426c8e(0x1b7)],_0x5b0d73['on'](_0x426c8e(0x153),_0x36ce22),_0x43e3ba[_0x426c8e(0x14a)][_0x426c8e(0x1c8)](_0x426c8e(0x19d),_0x36ce22),_0x43e3ba;function _0x36ce22(){const _0x5334aa=_0x426c8e;_0x43e3ba[_0x5334aa(0x1ee)]=_0x5b0d73[_0x5334aa(0x18c)][_0x5334aa(0x1bf)]>0x0;for(const _0x2b7716 of _0x43e3ba[_0x5334aa(0x14a)][_0x5334aa(0x16e)])_0x2b7716[_0x5334aa(0x1ee)]=_0x5b0d73[_0x5334aa(0x18c)][_0x5334aa(0x1f6)](_0x2b7716['id']);}}),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x1bb),_0x2ba7d9=>{const _0x512392=_0x46adc2,_0x58253a=new _0x41b6e4(_0x2ba7d9);_0x58253a[_0x512392(0x162)][_0x512392(0x167)]({'label':_0xbce885(_0x2ba7d9,_0x512392(0x1e9)),'icon':_0x3ed3d6}),_0x58253a[_0x512392(0x15c)](_0x512392(0x1ee))['to'](_0x5b0d73,_0x512392(0x18c),_0x2795b7=>_0x2795b7[_0x512392(0x1bf)]>0x0);const _0x5d9239=_0xf9f803(_0x65958e[_0x512392(0x1a9)][_0x512392(0x173)](_0x512392(0x1c0)),_0x2ba7d9);return this[_0x512392(0x197)](_0x5b0d73,_0x58253a,_0x5d9239,_0x229fff=>this[_0x512392(0x15d)](_0x229fff)),_0x58253a;}),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x1eb),()=>{const _0x57d6f7=_0x46adc2,_0x23df8c=this[_0x57d6f7(0x193)](_0x5c2fea);return _0x23df8c[_0x57d6f7(0x167)]({'tooltip':!0x0,'class':_0x57d6f7(0x160)+this[_0x57d6f7(0x1b7)]}),_0x23df8c;}),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x188),()=>{const _0x47249b=_0x46adc2,_0x29dec2=this[_0x47249b(0x193)](_0xa06f98);return _0x29dec2[_0x47249b(0x167)]({'role':_0x47249b(0x164)}),_0x29dec2;}),this[_0x46adc2(0x1ce)]=this[_0x46adc2(0x16f)][_0x46adc2(0x1a9)][_0x46adc2(0x173)](_0x46adc2(0x1ce));const _0x5901ee=this[_0x46adc2(0x16f)];this[_0x46adc2(0x14d)]=setInterval(()=>{const _0x4ec3dd=_0x46adc2;let _0x21eab9;for(const _0x33ece1 in _0x5901ee){const _0x198f35=_0x33ece1,_0x9b427e=_0x5901ee[_0x198f35];if(_0x4ec3dd(0x1a0)==_0x9b427e||_0x4ec3dd(0x15b)==_0x9b427e||_0x4ec3dd(0x1ec)==_0x9b427e||_0x4ec3dd(0x1a7)==_0x9b427e||_0x4ec3dd(0x1af)==_0x9b427e||_0x4ec3dd(0x1b9)==_0x9b427e||_0x4ec3dd(0x14e)==_0x9b427e||_0x4ec3dd(0x1ca)==_0x9b427e){delete _0x5901ee[_0x198f35],_0x21eab9=_0x9b427e,clearInterval(this[_0x4ec3dd(0x14d)]),this[_0x4ec3dd(0x14d)]=void 0x0;break;}}_0x4ec3dd(0x15b)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x14f)),_0x4ec3dd(0x1ec)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1df)),_0x4ec3dd(0x1a7)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x195)),_0x4ec3dd(0x1af)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x178),_0x4ec3dd(0x1c3)),_0x4ec3dd(0x1b9)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1f8)),_0x4ec3dd(0x14e)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1a3)),_0x4ec3dd(0x1ca)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1d5));},0x3e8);}[_0x4a4cdd(0x177)](){const _0x147d78=_0x4a4cdd;super[_0x147d78(0x177)](),this[_0x147d78(0x14d)]&&clearInterval(this[_0x147d78(0x14d)]);}[_0x4a4cdd(0x1b3)](_0xf8a488='',_0x4a0a4e='',_0x4a8c7f=_0x4a4cdd(0x176)){const _0x56d7af=_0x4a4cdd,_0x490fc6=this[_0x56d7af(0x16f)],_0x41838c=_0x490fc6[_0x56d7af(0x17d)][_0x56d7af(0x1bd)],_0x3659b1=_0x490fc6[_0x56d7af(0x1e1)][_0x56d7af(0x173)](_0x576691),_0x1f251c=_0x490fc6[_0x56d7af(0x1e1)][_0x56d7af(0x173)](_0x322ad1);_0x3659b1[_0x56d7af(0x1ac)]();const _0x6f87f=new w(),_0x370032=new ClipboardEvent(_0x56d7af(0x16c),{'clipboardData':_0x6f87f}),_0x749ad7=new _0x4437b7(_0x6f87f),_0x1c8cff=new _0x2508e4(_0x41838c,_0x370032,{'dataTransfer':_0x749ad7});_0x1f251c[_0x56d7af(0x14b)](_0x56d7af(0x15f),()=>{const _0x3ee3df=_0x56d7af;_0x41838c[_0x3ee3df(0x1c5)][_0x3ee3df(0x1cc)](_0x3ee3df(0x16c),_0x1c8cff);}),this[_0x56d7af(0x1e5)]||(this[_0x56d7af(0x1f3)](),this[_0x56d7af(0x192)]=new _0x55e7a8(_0x490fc6,this[_0x56d7af(0x1b2)][_0x56d7af(0x1a8)],this[_0x56d7af(0x1e5)]));let _0x395ebe=_0x749ad7[_0x56d7af(0x196)](_0x56d7af(0x1be));const _0x4b2d84=_0x490fc6[_0x56d7af(0x180)][_0x56d7af(0x1c5)][_0x56d7af(0x1a4)],_0x1a17b7=Array[_0x56d7af(0x17a)](_0x4b2d84[_0x56d7af(0x1d6)]());0x1===_0x1a17b7[_0x56d7af(0x1bf)]&&_0x1a17b7[0x0][_0x56d7af(0x1cd)]&&!_0x4b2d84[_0x56d7af(0x187)]()&&''!==_0x395ebe[_0x56d7af(0x19e)](/ /g,'')[_0x56d7af(0x1ae)]()&&(_0x395ebe=_0x56d7af(0x1d3)+_0x395ebe+_0x56d7af(0x1bc)),this[_0x56d7af(0x192)][_0x56d7af(0x19f)]({'actionId':_0x4a8c7f,'query':_0xf8a488,'htmlContent':_0x395ebe,'label':_0x4a0a4e,'mainActionLabel':_0x560a5e[_0x490fc6[_0x56d7af(0x180)][_0x56d7af(0x1c5)][_0x56d7af(0x1a4)][_0x56d7af(0x1f4)]?_0x56d7af(0x1c4):_0x56d7af(0x189)]}),_0x56d7af(0x1eb)!==this[_0x56d7af(0x1c7)]['id']?this[_0x56d7af(0x1c7)][_0x56d7af(0x1d7)]({'id':_0x56d7af(0x1eb),'icon':_0x58c8b9,'title':_0xbce885(this[_0x56d7af(0x16f)][_0x56d7af(0x194)],_0x56d7af(0x181)),'content':this[_0x56d7af(0x1e5)],'position':_0x595a54[_0x56d7af(0x1d0)],'onShow':()=>{const _0x38e578=_0x56d7af;this[_0x38e578(0x1e5)][_0x38e578(0x1de)]();},'onHide':()=>{const _0x4f4ccf=_0x56d7af;this[_0x4f4ccf(0x192)][_0x4f4ccf(0x18e)](),_0x3659b1[_0x4f4ccf(0x191)]();}}):this[_0x56d7af(0x1c7)][_0x56d7af(0x1bd)][_0x56d7af(0x1f1)]||this[_0x56d7af(0x1c7)][_0x56d7af(0x1bd)][_0x56d7af(0x171)]();}[_0x4a4cdd(0x152)](){const _0x2596bc=_0x4a4cdd;this[_0x2596bc(0x1c7)][_0x2596bc(0x17f)]();}[_0x4a4cdd(0x1e4)](){const _0x4b624=_0x4a4cdd,_0x50fa69=new Map(),_0x2dc5b0=_0xf9f803(this[_0x4b624(0x16f)][_0x4b624(0x1a9)][_0x4b624(0x173)](_0x4b624(0x1c0)),this[_0x4b624(0x16f)][_0x4b624(0x194)]);for(const _0x5b7407 of _0x2dc5b0)for(const _0x4393ec of _0x5b7407[_0x4b624(0x18a)])_0x50fa69[_0x4b624(0x167)](_0x4393ec['id'],{..._0x4393ec,'groupId':_0x5b7407[_0x4b624(0x17e)],'groupLabel':_0x5b7407[_0x4b624(0x1b6)]||_0x5b7407[_0x4b624(0x17e)]});return _0x50fa69;}[_0x4a4cdd(0x193)](_0x2ddbec){const _0x206aa8=_0x4a4cdd,_0xbe9a3c=this[_0x206aa8(0x16f)],_0x23b9ec=_0xbe9a3c[_0x206aa8(0x18a)][_0x206aa8(0x173)](_0x206aa8(0x163)),_0x388728=new _0x2ddbec(_0xbe9a3c[_0x206aa8(0x194)]);return _0x388728[_0x206aa8(0x167)]({'label':_0xbce885(_0xbe9a3c[_0x206aa8(0x194)],_0x206aa8(0x181)),'icon':_0x58c8b9,'isToggleable':!0x0}),_0x388728[_0x206aa8(0x15c)](_0x206aa8(0x1ee))['to'](_0x23b9ec),_0x388728[_0x206aa8(0x15c)](_0x206aa8(0x1dd))['to'](this[_0x206aa8(0x1c7)],'id',_0x5da879=>_0x206aa8(0x1eb)===_0x5da879),this[_0x206aa8(0x1d8)](_0x388728,_0x206aa8(0x15e),()=>{const _0x1fe424=_0x206aa8;_0x388728[_0x1fe424(0x1dd)]?this[_0x1fe424(0x152)]():_0x23b9ec[_0x1fe424(0x15e)]();}),_0x388728;}[_0x4a4cdd(0x1f3)](){const _0x2ebc68=_0x4a4cdd,_0x418128=this[_0x2ebc68(0x16f)][_0x2ebc68(0x1e1)][_0x2ebc68(0x173)](_0x576691);this[_0x2ebc68(0x1e5)]=new _0x1a0623(this[_0x2ebc68(0x16f)][_0x2ebc68(0x194)],this[_0x2ebc68(0x1b7)],this[_0x2ebc68(0x16f)][_0x2ebc68(0x1a9)][_0x2ebc68(0x173)](_0x2ebc68(0x1a2))),this[_0x2ebc68(0x1e5)]['on'](_0x2ebc68(0x159),()=>{const _0x16e948=_0x2ebc68;this[_0x16e948(0x1c7)][_0x16e948(0x1bd)][_0x16e948(0x1f1)]||this[_0x16e948(0x1c7)][_0x16e948(0x1bd)][_0x16e948(0x171)]();}),this[_0x2ebc68(0x1e5)][_0x2ebc68(0x16a)][_0x2ebc68(0x18d)][_0x2ebc68(0x1d4)]['on'](_0x2ebc68(0x1c2),()=>{const _0x3c82bc=_0x2ebc68;this[_0x3c82bc(0x1c7)][_0x3c82bc(0x1bd)][_0x3c82bc(0x1f1)]||this[_0x3c82bc(0x1c7)][_0x3c82bc(0x1bd)][_0x3c82bc(0x171)]();}),this[_0x2ebc68(0x1d8)](this[_0x2ebc68(0x1e5)],_0x2ebc68(0x155),()=>{const _0x2c080f=_0x2ebc68;_0x418128[_0x2c080f(0x17c)](this[_0x2c080f(0x192)][_0x2c080f(0x1d9)]),this[_0x2c080f(0x152)]();}),this[_0x2ebc68(0x1d8)](this[_0x2ebc68(0x1e5)],_0x2ebc68(0x154),()=>{const _0x33a17e=_0x2ebc68;_0x418128[_0x33a17e(0x154)](this[_0x33a17e(0x192)][_0x33a17e(0x1d9)]),this[_0x33a17e(0x152)]();}),this[_0x2ebc68(0x157)]();}[_0x4a4cdd(0x157)](){const _0x27b0f1=_0x4a4cdd,{locale:_0x37c3bb,ui:{ariaLiveAnnouncer:_0x3a3b65}}=this[_0x27b0f1(0x16f)];this[_0x27b0f1(0x1e5)][_0x27b0f1(0x19a)]['on'](_0x27b0f1(0x1f5),(_0x1d822b,_0x43f9e1,_0x195be4)=>{const _0x14a578=_0x27b0f1,_0x4f6ddd=this[_0x14a578(0x192)][_0x14a578(0x1d9)];_0x195be4?_0x3a3b65[_0x14a578(0x1d1)](_0xbce885(_0x37c3bb,_0x14a578(0x174))):_0x4f6ddd&&_0x3a3b65[_0x14a578(0x1d1)](_0xbce885(_0x37c3bb,_0x14a578(0x1aa),_0x4f6ddd),{'politeness':_0x14a578(0x1b1),'isUnsafeHTML':!0x0});}),this[_0x27b0f1(0x1e5)]['on'](_0x27b0f1(0x185),(_0x5d905d,_0x213a7b,_0x5255d4)=>{const _0xa3724d=_0x27b0f1;if(_0x5255d4){const _0x4fc5ef=this[_0xa3724d(0x1e5)][_0xa3724d(0x198)][_0xa3724d(0x1e0)];_0x3a3b65[_0xa3724d(0x1d1)](_0xbce885(_0x37c3bb,_0xa3724d(0x1cf),_0x4fc5ef));}});}[_0x4a4cdd(0x15d)](_0x5d2f7c){const _0x54b43d=_0x4a4cdd,_0x3733f6=this[_0x54b43d(0x1e2)][_0x54b43d(0x173)](_0x5d2f7c),_0x3221d8=this[_0x54b43d(0x16f)],_0x5b68ac=_0x3221d8[_0x54b43d(0x180)][_0x54b43d(0x1c5)][_0x54b43d(0x1a4)],_0x265846=_0x3221d8[_0x54b43d(0x18a)][_0x54b43d(0x173)](_0x54b43d(0x163)),_0x596acb=_0x3221d8[_0x54b43d(0x1e1)][_0x54b43d(0x173)](_0x576691),_0x51b9af=''+(_0x3733f6[_0x54b43d(0x17e)]!==_0x351634?_0x3733f6[_0x54b43d(0x1b6)]+':\x20':'')+_0x3733f6[_0x54b43d(0x156)];if(!0x1!==_0x3733f6[_0x54b43d(0x1e3)]&&_0x5b68ac[_0x54b43d(0x1f4)]){const _0x91f30f=_0x3da13a(_0x5b68ac[_0x54b43d(0x1b8)]())||_0x3221d8[_0x54b43d(0x180)][_0x54b43d(0x15a)][_0x54b43d(0x151)](_0x5b68ac);_0x3221d8[_0x54b43d(0x180)][_0x54b43d(0x1b0)](_0x564344=>{const _0x66f6b1=_0x54b43d;_0x564344[_0x66f6b1(0x182)](_0x91f30f,'in');});}_0x596acb[_0x54b43d(0x1ac)](),_0x265846[_0x54b43d(0x15e)](_0x3733f6[_0x54b43d(0x1a5)],_0x51b9af,_0x54b43d(0x1f0)+_0x5d2f7c);}[_0x4a4cdd(0x197)](_0x3edef2,_0xd25961,_0x537613,_0x8a45d4){const _0x2aea76=_0x4a4cdd,_0x439e83=this[_0x2aea76(0x16f)],_0x154836=_0x439e83[_0x2aea76(0x194)],_0x5851c1=new _0x559716(_0x154836),_0x10f5b2=U(_0x439e83,_0x537613)[_0x2aea76(0x190)](_0x190214=>_0x190214[_0x2aea76(0x18a)][_0x2aea76(0x1bf)]);0x1===_0x10f5b2[_0x2aea76(0x1bf)]?this[_0x2aea76(0x1e6)]({'command':_0x3edef2,'commands':_0x10f5b2[0x0][_0x2aea76(0x18a)],'parentMenuView':_0xd25961,'onExecute':_0x8a45d4})[_0x2aea76(0x1ba)](_0x2684ab=>_0x5851c1[_0x2aea76(0x1f2)][_0x2aea76(0x1f7)](_0x2684ab)):_0x10f5b2[_0x2aea76(0x1ba)](({groupId:_0x2b65f3,groupLabel:_0x561f49,commands:_0x811f0b})=>{const _0x3237b8=_0x2aea76,_0x535dff=new _0x3ca924(_0x154836,_0xd25961),_0x2789e4=new _0x41b6e4(_0x154836),_0x14e949=new _0x559716(_0x154836),_0x4706d8=this[_0x3237b8(0x1e6)]({'command':_0x3edef2,'commands':_0x811f0b,'parentMenuView':_0x2789e4,'onExecute':_0x8a45d4});_0x2789e4[_0x3237b8(0x162)][_0x3237b8(0x167)]({'label':_0x561f49||_0x2b65f3}),_0x2789e4[_0x3237b8(0x172)](_0x3237b8(0x15e))['to'](_0xd25961),_0x14e949[_0x3237b8(0x1f2)][_0x3237b8(0x166)](_0x4706d8),_0x2789e4[_0x3237b8(0x186)][_0x3237b8(0x1b5)][_0x3237b8(0x1f7)](_0x14e949),_0x535dff[_0x3237b8(0x1b5)][_0x3237b8(0x1f7)](_0x2789e4),_0x5851c1[_0x3237b8(0x1f2)][_0x3237b8(0x1f7)](_0x535dff);}),_0xd25961[_0x2aea76(0x186)][_0x2aea76(0x1b5)][_0x2aea76(0x1f7)](_0x5851c1);}[_0x4a4cdd(0x1e6)]({command:_0x309ca3,commands:_0x28f4de,parentMenuView:_0x18bf7e,onExecute:_0x3b3e67}){const _0x5c8509=_0x4a4cdd,_0x216e5c=this[_0x5c8509(0x16f)],_0x2126ed=_0x216e5c[_0x5c8509(0x194)];return U(_0x216e5c,_0x28f4de)[_0x5c8509(0x1a6)](_0x38ecc1=>{const _0x2217ce=_0x5c8509,_0x152e9f=new _0x3ca924(_0x2126ed,_0x18bf7e),_0x479939=new _0xa06f98(_0x2126ed);return _0x479939[_0x2217ce(0x167)]({'label':_0x38ecc1[_0x2217ce(0x156)]}),_0x479939[_0x2217ce(0x172)](_0x2217ce(0x15e))['to'](_0x18bf7e),_0x479939['on'](_0x2217ce(0x15e),()=>_0x3b3e67(_0x38ecc1['id'])),_0x479939[_0x2217ce(0x15c)](_0x2217ce(0x1ee))['to'](_0x309ca3,_0x2217ce(0x18c),_0xd718c4=>_0xd718c4[_0x2217ce(0x1f6)](_0x38ecc1['id'])),_0x152e9f[_0x2217ce(0x1b5)][_0x2217ce(0x1f7)](_0x479939),_0x152e9f;});}}function B(_0x15ef78,_0x3d138d){const _0xca1aa=_0x4a4cdd;return void 0x0!==_0x15ef78[_0xca1aa(0x1ef)]&&void 0x0===_0x3d138d[_0xca1aa(0x1ef)]?0x1:void 0x0===_0x15ef78[_0xca1aa(0x1ef)]&&void 0x0!==_0x3d138d[_0xca1aa(0x1ef)]?-0x1:void 0x0!==_0x15ef78[_0xca1aa(0x1ef)]&&void 0x0!==_0x3d138d[_0xca1aa(0x1ef)]?_0x15ef78[_0xca1aa(0x1ef)]-_0x3d138d[_0xca1aa(0x1ef)]:0x0;}function U(_0xdc5090,_0x566f96){const _0x25d782=_0x4a4cdd;_0x566f96[_0x25d782(0x1c1)](B);const _0x3886a1={},_0x16766b=[];for(const _0x1aa170 of _0x566f96)if(void 0x0!==_0x1aa170[_0x25d782(0x1ef)]){if(_0x1aa170[_0x25d782(0x1ef)]in _0x3886a1)throw new _0x1e88c7(_0x25d782(0x16d),_0xdc5090,{'conflictingDefinitions':[_0x1aa170,_0x3886a1[_0x1aa170[_0x25d782(0x1ef)]]]});_0x3886a1[_0x1aa170[_0x25d782(0x1ef)]]=_0x1aa170,_0x16766b[_0x25d782(0x179)](_0x1aa170[_0x25d782(0x1ef)],0x0,_0x1aa170);}else _0x16766b[_0x25d782(0x1d2)](_0x1aa170);return _0x16766b;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x15a2(_0x2c5687,_0x643383){var _0x3c8c19=_0x3c8c();return _0x15a2=function(_0x15a260,_0x1f214e){_0x15a260=_0x15a260-0x1a7;var _0x131733=_0x3c8c19[_0x15a260];return _0x131733;},_0x15a2(_0x2c5687,_0x643383);}(function(_0x2996e9,_0x383697){var _0x3da176=_0x15a2,_0x338cdf=_0x2996e9();while(!![]){try{var _0x9056a9=-parseInt(_0x3da176(0x1aa))/0x1+-parseInt(_0x3da176(0x1a8))/0x2+-parseInt(_0x3da176(0x1ad))/0x3+-parseInt(_0x3da176(0x1a9))/0x4+parseInt(_0x3da176(0x1ac))/0x5*(-parseInt(_0x3da176(0x1ab))/0x6)+-parseInt(_0x3da176(0x1ae))/0x7*(-parseInt(_0x3da176(0x1af))/0x8)+parseInt(_0x3da176(0x1a7))/0x9;if(_0x9056a9===_0x383697)break;else _0x338cdf['push'](_0x338cdf['shift']());}catch(_0x4e74d3){_0x338cdf['push'](_0x338cdf['shift']());}}}(_0x3c8c,0x414fa));function _0x3c8c(){var _0x351ee5=['3509891lHJVgz','8kkMjYx','7464798SsrRvZ','268998hQLBxf','782056bIPper','328599sJWlAi','36zbyzFb','311770oDygsU','91755QRaZGq'];_0x3c8c=function(){return _0x351ee5;};return _0x3c8c();}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3c6b(){var _0x1d5957=['2906405iuPtVT','4ayMNDh','2120rSNJKY','596694IdKrxI','696216BbvlUg','339284ttTBvt','728496HEpREo','1hyCuci','42exjPyP','24318TCCwgF','8731679keshpl'];_0x3c6b=function(){return _0x1d5957;};return _0x3c6b();}(function(_0x3fdfa6,_0x23d0aa){var _0x4f0442=_0x38f1,_0x119c05=_0x3fdfa6();while(!![]){try{var _0x5ede62=-parseInt(_0x4f0442(0xf4))/0x1*(-parseInt(_0x4f0442(0xf2))/0x2)+-parseInt(_0x4f0442(0xf1))/0x3*(-parseInt(_0x4f0442(0xee))/0x4)+-parseInt(_0x4f0442(0xf8))/0x5+-parseInt(_0x4f0442(0xf0))/0x6+-parseInt(_0x4f0442(0xf5))/0x7*(parseInt(_0x4f0442(0xf3))/0x8)+parseInt(_0x4f0442(0xf6))/0x9*(parseInt(_0x4f0442(0xef))/0xa)+parseInt(_0x4f0442(0xf7))/0xb;if(_0x5ede62===_0x23d0aa)break;else _0x119c05['push'](_0x119c05['shift']());}catch(_0x4045a8){_0x119c05['push'](_0x119c05['shift']());}}}(_0x3c6b,0x84229));function _0x38f1(_0x1c6fe3,_0x4f7aee){var _0x3c6b57=_0x3c6b();return _0x38f1=function(_0x38f125,_0x1efe7f){_0x38f125=_0x38f125-0xee;var _0x2d5f7a=_0x3c6b57[_0x38f125];return _0x2d5f7a;},_0x38f1(_0x1c6fe3,_0x4f7aee);}import{CKEditorError as _0x5e924c}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1302ce=_0x1db2;(function(_0xcd90ba,_0x51349d){const _0x13df38=_0x1db2,_0x303889=_0xcd90ba();while(!![]){try{const _0x235f08=-parseInt(_0x13df38(0x155))/0x1*(-parseInt(_0x13df38(0x131))/0x2)+-parseInt(_0x13df38(0x142))/0x3+-parseInt(_0x13df38(0x177))/0x4+-parseInt(_0x13df38(0x12a))/0x5*(parseInt(_0x13df38(0x128))/0x6)+parseInt(_0x13df38(0x151))/0x7+-parseInt(_0x13df38(0x13f))/0x8*(-parseInt(_0x13df38(0x127))/0x9)+-parseInt(_0x13df38(0x17c))/0xa;if(_0x235f08===_0x51349d)break;else _0x303889['push'](_0x303889['shift']());}catch(_0x3ef624){_0x303889['push'](_0x303889['shift']());}}}(_0x1bf9,0xc8353));import{ObservableMixin as _0x265fb3}from'ckeditor5/src/utils.js';function _0x1db2(_0x19a658,_0x3f4e8d){const _0x1bf92c=_0x1bf9();return _0x1db2=function(_0x1db28c,_0x14224c){_0x1db28c=_0x1db28c-0x121;let _0x464288=_0x1bf92c[_0x1db28c];return _0x464288;},_0x1db2(_0x19a658,_0x3f4e8d);}import{AIRequestError as _0x43d729}from'../adapters/aiadapter.js';import{Matcher as _0x35f27d,UpcastWriter as _0x20e637}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x1bf9(){const _0x27f0d6=['previousActionId','_normalizeResponseHeadings','reset','stopListening','```','catch','setContentOf','_handleQuery','nodeType','serializeToString','11185811lxtvgg','_sanitizationContainer','then','set','237kcAfkz','ELEMENT_NODE','htmlProcessor','handleError','toModel','previousLabel','previousQuery','config','match','destroy','currentContext','trim','clear','editor','startsWith','_parseAndNormalizeContent','reverse','markers','remove','abort','stopProcessing','value','textAdapter','_stripMarkdownSyntax','innerHTML','length','_domParser','isRendered','querySelector','message','editing','get','ai.aiAssistant.preserveComments','viewToDom','3480120VWUPUF','tryAgainEvent','data','updateView','custom','5349490QsyLAy','mainAction','once','_sanitizeHTML','```html','startProcessing','parseFromString','<h1></h1>','makeRequest','prompt','push','set:currentContext','stringify','_xmlSerializer','_isH1TagSupportEnabled','13340583djifTJ','65352FcBIYK','finally','290UUdbgi','div','initialContext','endsWith','document','previousContext','isProcessing','1754lRYUSJ','body','substring','finishProcessing','view','listenTo','createElement','name','element','toView','processor','exec','text/html','domConverter','8wFOntA','from','childNodes','1294029JKIgYq','currentResponse','submitPrompt','rename','render'];_0x1bf9=function(){return _0x27f0d6;};return _0x1bf9();}export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x265fb3(){[_0x1302ce(0x162)];[_0x1302ce(0x16b)];[_0x1302ce(0x135)];[_0x1302ce(0x152)];[_0x1302ce(0x16f)];[_0x1302ce(0x125)];constructor(_0xc8044c,_0x18ec64,_0x240401){const _0x1bfe29=_0x1302ce;super(),this[_0x1bfe29(0x162)]=_0xc8044c,this[_0x1bfe29(0x16b)]=_0x18ec64,this[_0x1bfe29(0x152)]=document[_0x1bfe29(0x137)](_0x1bfe29(0x12b)),this[_0x1bfe29(0x16f)]=new DOMParser(),this[_0x1bfe29(0x125)]=new XMLSerializer(),this[_0x1bfe29(0x135)]=_0x240401,this[_0x1bfe29(0x154)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1bfe29(0x123),(_0x4a499b,_0x1ef756,_0x1dcd85)=>{const _0x189847=_0x1bfe29;this[_0x189847(0x135)][_0x189847(0x16a)]=this[_0x189847(0x17f)](_0x1dcd85);}),this[_0x1bfe29(0x136)](this[_0x1bfe29(0x135)],_0x1bfe29(0x144),(_0x301401,_0x32bcd2)=>{const _0x24093f=_0x1bfe29,_0x42890e=this[_0x24093f(0x15f)]||this[_0x24093f(0x12c)];this[_0x24093f(0x14e)](_0x32bcd2,_0x42890e,_0x24093f(0x17b));}),this[_0x1bfe29(0x136)](this[_0x1bfe29(0x135)],_0x1bfe29(0x178),()=>{const _0x4df0ab=_0x1bfe29;this[_0x4df0ab(0x135)][_0x4df0ab(0x121)]=this[_0x4df0ab(0x15a)],this[_0x4df0ab(0x14e)](this[_0x4df0ab(0x15b)],this[_0x4df0ab(0x12f)],this[_0x4df0ab(0x147)],this[_0x4df0ab(0x15a)]);}),this[_0x1bfe29(0x136)](this[_0x1bfe29(0x135)],_0x1bfe29(0x169),()=>{const _0x2effd6=_0x1bfe29;this[_0x2effd6(0x169)]();});}[_0x1302ce(0x15e)](){const _0x37b346=_0x1302ce;this[_0x37b346(0x14a)]();}async[_0x1302ce(0x17a)]({actionId:_0x43d795,query:_0x396701,htmlContent:_0x582632,label:_0x2788c5,mainActionLabel:_0x568b03}){const _0x25c0f9=_0x1302ce;this[_0x25c0f9(0x135)][_0x25c0f9(0x121)]=_0x2788c5,this[_0x25c0f9(0x135)][_0x25c0f9(0x17d)]=_0x568b03,this[_0x25c0f9(0x12c)]=_0x582632,_0x396701&&(this[_0x25c0f9(0x135)][_0x25c0f9(0x170)]?this[_0x25c0f9(0x14e)](_0x396701,_0x582632,_0x43d795,_0x2788c5):this[_0x25c0f9(0x135)][_0x25c0f9(0x17e)](_0x25c0f9(0x146),()=>{const _0x6bb846=_0x25c0f9;this[_0x6bb846(0x14e)](_0x396701,_0x582632,_0x43d795,_0x2788c5);}));}[_0x1302ce(0x169)](){const _0x31acc7=_0x1302ce;this[_0x31acc7(0x130)]&&(this[_0x31acc7(0x130)]=!0x1,this[_0x31acc7(0x135)][_0x31acc7(0x134)](),this[_0x31acc7(0x16b)][_0x31acc7(0x168)]());}[_0x1302ce(0x149)](){const _0x30d8d2=_0x1302ce;this[_0x30d8d2(0x12c)]='',this[_0x30d8d2(0x15f)]='',this[_0x30d8d2(0x143)]='',this[_0x30d8d2(0x12f)]='',this[_0x30d8d2(0x15b)]='',this[_0x30d8d2(0x15a)]='',this[_0x30d8d2(0x147)]=void 0x0,this[_0x30d8d2(0x135)][_0x30d8d2(0x149)](),this[_0x30d8d2(0x169)]();}async[_0x1302ce(0x14e)](_0x29d896,_0x3d2b1d,_0x4dab0b,_0x381283){const _0x38fe46=_0x1302ce;return this[_0x38fe46(0x130)]=!0x0,this[_0x38fe46(0x135)][_0x38fe46(0x181)](),this[_0x38fe46(0x12f)]=_0x3d2b1d,this[_0x38fe46(0x15b)]=_0x29d896,this[_0x38fe46(0x15a)]=_0x381283||_0x29d896,this[_0x38fe46(0x147)]=_0x4dab0b,new Promise(_0x240cd0=>{const _0x159021=_0x38fe46;this[_0x159021(0x16b)][_0x159021(0x184)]({'query':_0x29d896,'context':_0x3d2b1d,'onData':_0x51f514=>{const _0x505c7d=_0x159021;this[_0x505c7d(0x143)]=_0x51f514,this[_0x505c7d(0x15f)]=this[_0x505c7d(0x164)](this[_0x505c7d(0x143)]);},'actionId':_0x4dab0b})[_0x159021(0x153)](()=>{const _0x190bf2=_0x159021;!this[_0x190bf2(0x15f)]&&this[_0x190bf2(0x143)]&&(this[_0x190bf2(0x15f)]=this[_0x190bf2(0x164)](this[_0x190bf2(0x143)],!0x0));})[_0x159021(0x14c)](_0x5373c0=>{const _0xfdeee5=_0x159021;_0x5373c0 instanceof _0x43d729?this[_0xfdeee5(0x135)][_0xfdeee5(0x158)](_0x5373c0[_0xfdeee5(0x172)]):this[_0xfdeee5(0x135)][_0xfdeee5(0x158)](),_0x240cd0();})[_0x159021(0x129)](()=>{const _0x23a189=_0x159021;this[_0x23a189(0x169)](),_0x240cd0();});});}[_0x1302ce(0x164)](_0x39ee14,_0x557740=!0x1){const _0x51ed4b=_0x1302ce,_0x412cb1=Z[_0x51ed4b(0x13c)](_0x39ee14);_0x39ee14=_0x412cb1?_0x39ee14[_0x51ed4b(0x133)](_0x412cb1[0x1][_0x51ed4b(0x16e)]):_0x39ee14[_0x51ed4b(0x16e)]<0x64&&!_0x557740?'':this[_0x51ed4b(0x16c)](_0x39ee14);const _0x5dbc3c=this[_0x51ed4b(0x16f)][_0x51ed4b(0x182)](_0x39ee14,_0x51ed4b(0x13d));if(_0x412cb1){const _0x5570c6=Array[_0x51ed4b(0x140)](_0x5dbc3c[_0x51ed4b(0x132)][_0x51ed4b(0x141)]);_0x5570c6[_0x51ed4b(0x165)]();for(const _0x4a1724 of _0x5570c6){if(_0x4a1724[_0x51ed4b(0x14f)]==Node[_0x51ed4b(0x156)])break;_0x4a1724[_0x51ed4b(0x167)]();}}const _0x19fce8=this[_0x51ed4b(0x162)][_0x51ed4b(0x179)][_0x51ed4b(0x13b)][_0x51ed4b(0x13a)](this[_0x51ed4b(0x125)][_0x51ed4b(0x150)](_0x5dbc3c[_0x51ed4b(0x132)]));this[_0x51ed4b(0x126)]()||this[_0x51ed4b(0x148)](_0x19fce8);const _0x462c17=this[_0x51ed4b(0x162)][_0x51ed4b(0x15c)][_0x51ed4b(0x174)](_0x51ed4b(0x175)),_0x55fcc0=this[_0x51ed4b(0x162)][_0x51ed4b(0x179)][_0x51ed4b(0x159)](_0x19fce8);return _0x462c17||_0x55fcc0[_0x51ed4b(0x166)][_0x51ed4b(0x161)](),this[_0x51ed4b(0x162)][_0x51ed4b(0x179)][_0x51ed4b(0x124)](_0x55fcc0);}[_0x1302ce(0x148)](_0x50b591){const _0x5b8836=_0x1302ce,_0x5a6fe2=new _0x20e637(this[_0x5b8836(0x162)][_0x5b8836(0x173)][_0x5b8836(0x135)][_0x5b8836(0x12e)]),_0x551776=new _0x35f27d({'name':/^h[1-5]$/}),_0x46cbc8=[];let _0x178bc2=!0x1;for(const _0x3f463d of _0x50b591)_0x3f463d['is'](_0x5b8836(0x139))&&_0x551776[_0x5b8836(0x15d)](_0x3f463d)&&(_0x46cbc8[_0x5b8836(0x122)](_0x3f463d),'h1'==_0x3f463d[_0x5b8836(0x138)]&&(_0x178bc2=!0x0));if(_0x178bc2){for(const _0x2b0b51 of _0x46cbc8)_0x5a6fe2[_0x5b8836(0x145)]('h'+(parseInt(_0x2b0b51[_0x5b8836(0x138)][0x1])+0x1),_0x2b0b51);}}[_0x1302ce(0x126)](){const _0x69021b=_0x1302ce,{data:_0x53599f,editing:_0x5a60c7}=this[_0x69021b(0x162)],_0x53899c=_0x53599f[_0x69021b(0x157)][_0x69021b(0x13a)](_0x69021b(0x183)),_0x193caa=_0x53599f[_0x69021b(0x13a)](_0x53599f[_0x69021b(0x159)](_0x53899c));return!!_0x5a60c7[_0x69021b(0x135)][_0x69021b(0x13e)][_0x69021b(0x176)](_0x193caa)[_0x69021b(0x171)]('h1');}[_0x1302ce(0x17f)](_0x32e8c0){const _0x1c7c9a=_0x1302ce;return this[_0x1c7c9a(0x162)][_0x1c7c9a(0x173)][_0x1c7c9a(0x135)][_0x1c7c9a(0x13e)][_0x1c7c9a(0x14d)](this[_0x1c7c9a(0x152)],_0x32e8c0),this[_0x1c7c9a(0x152)][_0x1c7c9a(0x16d)];}[_0x1302ce(0x16c)](_0x289f30){const _0x565edc=_0x1302ce,_0x130b27=_0x289f30[_0x565edc(0x160)]();return _0x130b27[_0x565edc(0x163)](_0x565edc(0x180))?_0x130b27[_0x565edc(0x12d)](_0x565edc(0x14b))?_0x130b27[_0x565edc(0x133)](0x7,_0x130b27[_0x565edc(0x16e)]-0x3):_0x130b27[_0x565edc(0x133)](0x7):_0x289f30;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40958b=_0x4828;function _0x4828(_0x309981,_0xfdcfbf){const _0x3b1e25=_0x3b1e();return _0x4828=function(_0x4828d8,_0x4c3b4b){_0x4828d8=_0x4828d8-0x16b;let _0x173b89=_0x3b1e25[_0x4828d8];return _0x173b89;},_0x4828(_0x309981,_0xfdcfbf);}(function(_0x2ef539,_0xeeccdf){const _0x4345f6=_0x4828,_0x4f35c9=_0x2ef539();while(!![]){try{const _0x4378e7=parseInt(_0x4345f6(0x192))/0x1+-parseInt(_0x4345f6(0x18c))/0x2*(-parseInt(_0x4345f6(0x179))/0x3)+parseInt(_0x4345f6(0x16e))/0x4+parseInt(_0x4345f6(0x193))/0x5+parseInt(_0x4345f6(0x199))/0x6*(parseInt(_0x4345f6(0x183))/0x7)+parseInt(_0x4345f6(0x197))/0x8*(parseInt(_0x4345f6(0x190))/0x9)+parseInt(_0x4345f6(0x178))/0xa*(-parseInt(_0x4345f6(0x1b3))/0xb);if(_0x4378e7===_0xeeccdf)break;else _0x4f35c9['push'](_0x4f35c9['shift']());}catch(_0x83777f){_0x4f35c9['push'](_0x4f35c9['shift']());}}}(_0x3b1e,0x63af2));function _0x3b1e(){const _0x73739f=['copy','addRange','<span>[</span>','render','value','smooth','scrollTo','execute','ck-ai-form__content-area--processing','querySelector','ck-reset_all-excluded','write','ck-ai-form__loader','ck-ai-form__content-area-wrapper','setEndBefore','set','792264xyjgnG','text/html','setTemplate','isVisible','ClipboardItem','setContent','getSelection','-9999px','ck-content','locale','30PBoTaJ','3iRHVhO','icon','<span>]</span>','listenTo','lastElementChild','style','createElement','ck-ai-form__content-field','_createLoader','position','147lqaNrA','textContent','ck-ai-form__content-area','ck-hidden','body','firstElementChild','absolute','createRange','remove','1265114cgcSgO','focus','AI\x20is\x20writing...','element','50958OJSvgp','contentFieldView','188452ljVeGB','25805NHtgrG','text/plain','execCommand','innerHTML','456tvRugF','copyButtonView','58422kcsxuZ','div','bindTemplate','isProcessing','appendChild','left','.ck-ai-form__loader','change:isProcessing','setStartAfter','_copyHTMLToClipboard','ck-ai-form__copy-button','class','clipboard','loaderView','\x20ck-ai-form__copy-button--copied','wheel','removeAllRanges','scrollHeight','_createCopyButton','Copy','mousedown','appendLoader','isEnabled','change:value','bind','ck-ai-form__copy-button-wrapper','4191517bOYAAz'];_0x3b1e=function(){return _0x73739f;};return _0x3b1e();}import{global as _0x30099e}from'ckeditor5/src/utils.js';import{View as _0x2bf48a,ButtonView as _0x590fb4,SpinnerView as _0x334283}from'ckeditor5/src/ui.js';import{IconCheck as _0x2827fe,IconCopy as _0x264cc1}from'ckeditor5/src/icons.js';import{getTranslation as _0x22b474}from'../../utils/common-translations.js';export default class Y extends _0x2bf48a{[_0x40958b(0x191)];[_0x40958b(0x198)];constructor(_0x436437,_0x3b1840=''){const _0x5ad4cd=_0x40958b;super(_0x436437),this[_0x5ad4cd(0x16d)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x40fe84=this[_0x5ad4cd(0x19b)];this[_0x5ad4cd(0x191)]=new ContentFieldView(_0x436437,_0x3b1840),this[_0x5ad4cd(0x198)]=this[_0x5ad4cd(0x1ab)](),this[_0x5ad4cd(0x170)]({'tag':_0x5ad4cd(0x19a),'attributes':{'class':['ck',_0x5ad4cd(0x16b),_0x40fe84['if'](_0x5ad4cd(0x171),_0x5ad4cd(0x186),_0x335847=>!_0x335847)],'tabindex':'-1'},'children':[{'tag':_0x5ad4cd(0x19a),'attributes':{'class':['ck',_0x5ad4cd(0x185),_0x40fe84['if'](_0x5ad4cd(0x19c),_0x5ad4cd(0x1bc))]},'children':[this[_0x5ad4cd(0x191)],{'tag':_0x5ad4cd(0x19a),'attributes':{'class':['ck',_0x5ad4cd(0x1b2)]},'children':[this[_0x5ad4cd(0x198)]]}]}]});}[_0x40958b(0x1b7)](){const _0xbafcd3=_0x40958b;super[_0xbafcd3(0x1b7)](),this[_0xbafcd3(0x1b8)]&&this[_0xbafcd3(0x191)][_0xbafcd3(0x173)](this[_0xbafcd3(0x1b8)]);let _0x5a40e0=!0x1;this['on'](_0xbafcd3(0x1b0),(_0x7fabda,_0x42effe,_0x2299e2)=>{const _0x2bb35b=_0xbafcd3,_0x120c18=!this[_0x2bb35b(0x191)][_0x2bb35b(0x18f)][_0x2bb35b(0x1bd)](_0x2bb35b(0x19f));this[_0x2bb35b(0x191)][_0x2bb35b(0x173)](_0x2299e2),this[_0x2bb35b(0x19c)]&&_0x120c18&&!_0x5a40e0&&this[_0x2bb35b(0x18f)][_0x2bb35b(0x1ba)]({'top':this[_0x2bb35b(0x18f)][_0x2bb35b(0x1aa)],'behavior':_0x2bb35b(0x1b9)});}),this['on'](_0xbafcd3(0x1a0),(_0x463fd4,_0x51a7f5,_0x57886f)=>{const _0x1757a2=_0xbafcd3;_0x5a40e0=!0x1,_0x57886f?(this[_0x1757a2(0x1b8)]=null,this[_0x1757a2(0x191)][_0x1757a2(0x1ae)]()):this[_0x1757a2(0x1b8)]||this[_0x1757a2(0x191)][_0x1757a2(0x173)]('');}),this[_0xbafcd3(0x17c)](this[_0xbafcd3(0x18f)],_0xbafcd3(0x1a8),()=>{_0x5a40e0=!0x0;}),this[_0xbafcd3(0x17c)](this[_0xbafcd3(0x18f)],_0xbafcd3(0x1ad),()=>{_0x5a40e0=!0x0;});}[_0x40958b(0x18d)](){const _0x2d0cc9=_0x40958b;this[_0x2d0cc9(0x18f)][_0x2d0cc9(0x18d)]();}[_0x40958b(0x1ab)](){const _0x1e2705=_0x40958b,_0xc5a108=this[_0x1e2705(0x177)],_0x4d3d1f=new _0x590fb4(this[_0x1e2705(0x177)]),_0x24a383=_0x1e2705(0x1a3);return _0x4d3d1f[_0x1e2705(0x16d)]({'label':_0x22b474(_0xc5a108,_0x1e2705(0x1ac)),'icon':_0x264cc1,'class':_0x24a383,'tooltip':!0x0}),_0x4d3d1f[_0x1e2705(0x1b1)](_0x1e2705(0x171))['to'](this,_0x1e2705(0x1b8),_0x23578d=>!!_0x23578d),_0x4d3d1f[_0x1e2705(0x1b1)](_0x1e2705(0x1af))['to'](this,_0x1e2705(0x19c),_0x180388=>!_0x180388),_0x4d3d1f['on'](_0x1e2705(0x1bb),()=>{const _0x10084c=_0x1e2705;this[_0x10084c(0x1a2)](this[_0x10084c(0x191)][_0x10084c(0x18f)]),_0x4d3d1f[_0x10084c(0x17a)]=_0x2827fe,_0x4d3d1f[_0x10084c(0x1a4)]=_0x24a383+_0x10084c(0x1a7),this[_0x10084c(0x18d)](),setTimeout(()=>{const _0x5a7d7d=_0x10084c;_0x4d3d1f[_0x5a7d7d(0x17a)]=_0x264cc1,_0x4d3d1f[_0x5a7d7d(0x1a4)]=_0x24a383;},0x3e8);}),_0x4d3d1f;}[_0x40958b(0x1a2)](_0x4f143b){const _0x3d5553=_0x40958b,{window:_0x366b6c,document:_0x3f156a}=_0x30099e;if(_0x366b6c[_0x3d5553(0x172)]){const {Blob:_0x3f98e9,ClipboardItem:_0x2f0893}=_0x366b6c,_0x5d5287=[new _0x2f0893({'text/html':new _0x3f98e9([_0x4f143b[_0x3d5553(0x196)]],{'type':_0x3d5553(0x16f)}),'text/plain':new _0x3f98e9([_0x4f143b[_0x3d5553(0x184)]||''],{'type':_0x3d5553(0x194)})})];navigator[_0x3d5553(0x1a5)][_0x3d5553(0x1bf)](_0x5d5287);}else{const _0x332d5b=_0x3f156a[_0x3d5553(0x17f)](_0x3d5553(0x19a));_0x332d5b[_0x3d5553(0x17e)][_0x3d5553(0x182)]=_0x3d5553(0x189),_0x332d5b[_0x3d5553(0x17e)][_0x3d5553(0x19e)]=_0x3d5553(0x175),_0x332d5b[_0x3d5553(0x196)]=_0x3d5553(0x1b6)+_0x4f143b[_0x3d5553(0x196)]+_0x3d5553(0x17b),_0x3f156a[_0x3d5553(0x187)][_0x3d5553(0x19d)](_0x332d5b);const _0x3ddd45=_0x3f156a[_0x3d5553(0x18a)]();_0x3ddd45[_0x3d5553(0x1a1)](_0x332d5b[_0x3d5553(0x188)]),_0x3ddd45[_0x3d5553(0x16c)](_0x332d5b[_0x3d5553(0x17d)]);const _0x4db6f8=_0x366b6c[_0x3d5553(0x174)]();_0x4db6f8[_0x3d5553(0x1a9)](),_0x4db6f8[_0x3d5553(0x1b5)](_0x3ddd45),_0x3f156a[_0x3d5553(0x195)](_0x3d5553(0x1b4)),_0x332d5b[_0x3d5553(0x18b)]();}}}export class ContentFieldView extends _0x2bf48a{constructor(_0x19fec5,_0x5797c3=''){const _0x232860=_0x40958b;super(_0x19fec5),this[_0x232860(0x1a6)]=this[_0x232860(0x181)](),this[_0x232860(0x170)]({'tag':_0x232860(0x19a),'attributes':{'class':['ck',_0x232860(0x176),_0x5797c3,_0x232860(0x1be),_0x232860(0x180)]}});}[_0x40958b(0x173)](_0x106ba4){const _0x3686e3=_0x40958b;this[_0x3686e3(0x18f)][_0x3686e3(0x196)]=_0x106ba4;}[_0x40958b(0x1ae)](){const _0x402537=_0x40958b;this[_0x402537(0x18f)][_0x402537(0x19d)](this[_0x402537(0x1a6)][_0x402537(0x18f)]);}[_0x40958b(0x181)](){const _0x10379e=_0x40958b,_0x4ae85a=new _0x2bf48a(),_0x3950c3=this[_0x10379e(0x177)],_0x319766=new _0x334283();return _0x319766[_0x10379e(0x171)]=!0x0,_0x4ae85a[_0x10379e(0x170)]({'tag':_0x10379e(0x19a),'attributes':{'class':['ck',_0x10379e(0x1c0)]},'children':[_0x319766,{'text':_0x22b474(_0x3950c3,_0x10379e(0x18e))}]}),_0x4ae85a[_0x10379e(0x1b7)](),_0x4ae85a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4f9860,_0x264542){const _0x4abade=_0x4d97,_0x306ff7=_0x4f9860();while(!![]){try{const _0x237ef4=-parseInt(_0x4abade(0x10e))/0x1*(parseInt(_0x4abade(0x119))/0x2)+parseInt(_0x4abade(0x117))/0x3*(parseInt(_0x4abade(0x10f))/0x4)+-parseInt(_0x4abade(0x10c))/0x5+parseInt(_0x4abade(0x11b))/0x6+-parseInt(_0x4abade(0x11a))/0x7*(-parseInt(_0x4abade(0x113))/0x8)+-parseInt(_0x4abade(0x115))/0x9*(parseInt(_0x4abade(0x112))/0xa)+parseInt(_0x4abade(0x11d))/0xb;if(_0x237ef4===_0x264542)break;else _0x306ff7['push'](_0x306ff7['shift']());}catch(_0x492a4c){_0x306ff7['push'](_0x306ff7['shift']());}}}(_0x5e96,0xf01fd));import{IconError as _0x3c0f9c}from'ckeditor5/src/icons.js';import{View as _0x2018b7,IconView as _0x48d1db}from'ckeditor5/src/ui.js';export default class st extends _0x2018b7{constructor(_0x3f2933,_0x1ff952=''){const _0x173df0=_0x4d97;super(_0x3f2933);const _0x1d8757=new _0x48d1db(),_0x528594=this[_0x173df0(0x118)];this[_0x173df0(0x111)](_0x173df0(0x11c),_0x1ff952),_0x1d8757[_0x173df0(0x116)]=_0x3c0f9c,this[_0x173df0(0x114)]({'tag':_0x173df0(0x10d),'attributes':{'class':['ck',_0x173df0(0x110)]},'children':[_0x1d8757,{'text':_0x528594['to'](_0x173df0(0x11c))}]});}}function _0x4d97(_0x28f985,_0x7d9be6){const _0x5e9693=_0x5e96();return _0x4d97=function(_0x4d97bc,_0x24b670){_0x4d97bc=_0x4d97bc-0x10c;let _0x167099=_0x5e9693[_0x4d97bc];return _0x167099;},_0x4d97(_0x28f985,_0x7d9be6);}function _0x5e96(){const _0x266c20=['1Tbjzfl','1661668BYAACN','ck-ai-form__error','set','470ENjtJw','8924272HLkgwh','setTemplate','197451fkanZd','content','12jiUHqR','bindTemplate','3142388bZPrYH','7mtnQVp','885420TdwOrf','text','16778069xKuxGu','4320875WRiaGE','div'];_0x5e96=function(){return _0x266c20;};return _0x5e96();}
|