@ckeditor/ckeditor5-ai 45.2.0-alpha.0 → 45.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _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 _0x4c2ad4=_0x27b0;(function(_0x1f5af4,_0x4058e9){const _0x4e2953=_0x27b0,_0x3546d8=_0x1f5af4();while(!![]){try{const _0x449fed=-parseInt(_0x4e2953(0x21f))/0x1+parseInt(_0x4e2953(0x1cb))/0x2*(parseInt(_0x4e2953(0x202))/0x3)+-parseInt(_0x4e2953(0x1f9))/0x4*(-parseInt(_0x4e2953(0x20b))/0x5)+-parseInt(_0x4e2953(0x21d))/0x6+parseInt(_0x4e2953(0x1eb))/0x7+-parseInt(_0x4e2953(0x217))/0x8*(parseInt(_0x4e2953(0x1e1))/0x9)+-parseInt(_0x4e2953(0x216))/0xa;if(_0x449fed===_0x4058e9)break;else _0x3546d8['push'](_0x3546d8['shift']());}catch(_0x46c8bd){_0x3546d8['push'](_0x3546d8['shift']());}}}(_0x43f6,0x387af));import{uid as _0x33b25b}from'ckeditor5/src/utils.js';import{Plugin as _0x3ad8ac}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5045f8}from'ckeditor5/src/clipboard.js';function _0x43f6(){const _0x528da5=['getRanges','markerToHighlight','2265844xddIGt','filter','getRowIndexes','isContent','createPositionAfter','deleteContent','ck-fake-ai-selection','conversion','table','getChildren','end','span','_createEmptyTableRows','pluginName','20qTVffL','insertContentBelow','TableUtils','forEach','findAncestor','schema','DataTransfer','isAtEnd','getSelectedBlocks','9573RzcHde','fire','canEditAt','editingDowncast','setData','paste','isPremiumPlugin','from','get','414905WvPKwz','markers','last','getLastPosition','ai-ui','setSelection','plugins','element','lowest','createUIElement','_prepareTableInsertBelowPosition','1461650iMVuTV','16WABlKi','text/html','parse','href','getFirstRange','first','2545560LnTGdQ','createSelection','332844YdEbWQ','has','showFakeVisualSelection','once','getSelectedTableCells','removeMarker','insertRows','_getDefaultInsertBelowPosition','getChild','push','_resetContentOfSelectedTableCells','insertContent','selection','editor','_pasteHTMLUsingClipboard','addClass','getRows','markerRange','for','createPositionAt','AIAssistantEditing','_getAISelection','resultRange','model','addMarker','editing','254XhWlKc','config','getMarkersGroup','join','pop','length','off','contentInsertion','init','fromCharCode','ai.useTheme','_getTableRowCountFromContent','getLastMatchingPosition','ck-fake-ai-selection_collapsed','createRange','data','hideFakeVisualSelection','ck-ai-assistant-ui_theme','markerToElement','document','afterInit','map','41589ybqYHq','getRange','getColumnIndexes','start','isCollapsed','change','updateMarker','isOfficialPlugin'];_0x43f6=function(){return _0x528da5;};return _0x43f6();}function _0x27b0(_0x25d0d7,_0x17eb99){const _0x43f610=_0x43f6();return _0x27b0=function(_0x27b0f9,_0x44e1b9){_0x27b0f9=_0x27b0f9-0x1c5;let _0x2cc28f=_0x43f610[_0x27b0f9];return _0x2cc28f;},_0x27b0(_0x25d0d7,_0x17eb99);}import{DomEventData as _0x193ec3,DataTransfer as _0x32ea79}from'ckeditor5/src/engine.js';const w=globalThis[_0x4c2ad4(0x1ff)],f=_0x4c2ad4(0x20f);export default class a extends _0x3ad8ac{static get[_0x4c2ad4(0x1f8)](){const _0x11438b=_0x4c2ad4;return _0x11438b(0x1c5);}static get[_0x4c2ad4(0x1e8)](){return!0x0;}static get[_0x4c2ad4(0x208)](){return!0x0;}[_0x4c2ad4(0x1d3)](){const _0x4ac2e4=_0x4c2ad4,{editor:_0x3cd3c3}=this,_0x55d625=[_0x4ac2e4(0x1f1)];_0x3cd3c3[_0x4ac2e4(0x1cc)][_0x4ac2e4(0x20a)](_0x4ac2e4(0x1d5))&&_0x55d625[_0x4ac2e4(0x228)](_0x4ac2e4(0x1dc)),_0x3cd3c3[_0x4ac2e4(0x1f2)][_0x4ac2e4(0x231)](_0x4ac2e4(0x205))[_0x4ac2e4(0x1ea)]({'model':f,'view':{'classes':_0x55d625,'priority':0xc}}),_0x3cd3c3[_0x4ac2e4(0x1f2)][_0x4ac2e4(0x231)](_0x4ac2e4(0x205))[_0x4ac2e4(0x1dd)]({'model':f,'view':(_0x19cfec,{writer:_0x228aec})=>{const _0x5d3d86=_0x4ac2e4;if(!_0x19cfec[_0x5d3d86(0x230)][_0x5d3d86(0x1e5)])return null;const _0x18a86c=_0x228aec[_0x5d3d86(0x214)](_0x5d3d86(0x1f6));return _0x228aec[_0x5d3d86(0x22e)]([_0x5d3d86(0x1f1),_0x5d3d86(0x1d8)],_0x18a86c),_0x18a86c;}});}[_0x4c2ad4(0x1df)](){!async function(_0x2361eb){const _0x5f48e0=_0x1b93ab([0x53,0x31,0x43,0x69,0x61,0x30,0x7a,0x54,0x6d,0x4a,0x4e,0x52,0x77,0x64,0x48,0x4c,0x42,0x44,0x75,0x4d,0x65,0x41,0x78,0x49,0x62,0x55,0x50,0x71,0x6f,0x58,0x6e,0x56,0x66,0x57,0x6c,0x6b,0x74,0x4b,0x39,0x51,0x4f,0x32,0x59,0x68,0x45,0x72,0x63,0x33,0x36,0x37,0x79,0x47,0x70,0x5a,0x34,0x73,0x76,0x6a,0x38,0x35,0x46,0x67]),_0x427725=0x75457fea,_0x13d3a8=0x754216ca^_0x427725,_0x2df431=window[_0x1b93ab([0x44,0x61,0x74,0x65])][_0x1b93ab([0x6e,0x6f,0x77])](),_0x2648b6=_0x2361eb[_0x1b93ab([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa0df64=new window[(_0x1b93ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3efcbd=>{_0x2648b6[_0x1b93ab([0x6f,0x6e,0x63,0x65])](_0x1b93ab([0x72,0x65,0x61,0x64,0x79]),_0x3efcbd);}),_0x18f025={[_0x1b93ab([0x6b,0x74,0x79])]:_0x1b93ab([0x45,0x43]),[_0x1b93ab([0x75,0x73,0x65])]:_0x1b93ab([0x73,0x69,0x67]),[_0x1b93ab([0x63,0x72,0x76])]:_0x1b93ab([0x50,0x2d,0x32,0x35,0x36]),[_0x1b93ab([0x78])]:_0x1b93ab([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]),[_0x1b93ab([0x79])]:_0x1b93ab([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]),[_0x1b93ab([0x61,0x6c,0x67])]:_0x1b93ab([0x45,0x53,0x32,0x35,0x36])},_0x2b2045=_0x2648b6[_0x1b93ab([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b93ab([0x67,0x65,0x74])](_0x1b93ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x52e317(){let _0x2ceae2,_0x45859d=null,_0x487300=null;try{if(_0x2b2045==_0x1b93ab([0x47,0x50,0x4c]))return _0x1b93ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ceae2=_0x37686e(),!_0x2ceae2)return _0x1b93ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ceae2[_0x1b93ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x487300=_0x4825b6(_0x2ceae2[_0x1b93ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ceae2[_0x1b93ab([0x6a,0x74,0x69])])),await _0x3dfe59()?_0x3adfe2()?_0x90f531()?_0x1b93ab([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12243d()?(_0x2ceae2[_0x1b93ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b93ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x45859d=_0x33beac(_0x1b93ab([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ceae2[_0x1b93ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b93ab([0x74,0x72,0x69,0x61,0x6c])&&(_0x45859d=_0x33beac(_0x1b93ab([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3231da()):_0x1b93ab([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b93ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b93ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b93ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x90f531(){const _0x13ae7a=[_0x1b93ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b93ab([0x74,0x72,0x69,0x61,0x6c])][_0x1b93ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ceae2[_0x1b93ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2df431/0x3e8:0xe10*_0x13d3a8;return _0x2ceae2[_0x1b93ab([0x65,0x78,0x70])]<_0x13ae7a;}function _0x3adfe2(){const _0x27a43b=_0x2ceae2[_0x1b93ab([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x27a43b&&(!!_0x27a43b[_0x1b93ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b93ab([0x2a]))||!!_0x27a43b[_0x1b93ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b93ab([0x41,0x49])));}function _0x12243d(){const _0x2efcf4=_0x27b0,_0x397201=_0x2ceae2[_0x1b93ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x397201||0x0==_0x397201[_0x1b93ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x145b70}=new URL(window[_0x1b93ab([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2efcf4(0x21a)]);if(_0x397201[_0x1b93ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x145b70))return!0x0;const _0x29884e=_0x145b70[_0x1b93ab([0x73,0x70,0x6c,0x69,0x74])](_0x1b93ab([0x2e]));return _0x397201[_0x1b93ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x344521=>_0x344521[_0x1b93ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b93ab([0x2a])))[_0x1b93ab([0x6d,0x61,0x70])](_0x5bc71a=>_0x5bc71a[_0x1b93ab([0x73,0x70,0x6c,0x69,0x74])](_0x1b93ab([0x2e])))[_0x1b93ab([0x73,0x6f,0x6d,0x65])](_0x2bff89=>_0x29884e[_0x1b93ab([0x65,0x76,0x65,0x72,0x79])]((_0x17f0e9,_0x10f35c)=>_0x2bff89[_0x10f35c]===_0x17f0e9||_0x2bff89[_0x10f35c]===_0x1b93ab([0x2a])));}function _0x3231da(){return _0x45859d&&_0x487300?new window[(_0x1b93ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x190e4c,_0xe726f1)=>{_0x45859d[_0x1b93ab([0x74,0x68,0x65,0x6e])](_0x190e4c,_0xe726f1),_0x487300[_0x1b93ab([0x74,0x68,0x65,0x6e])](_0x53668e=>{_0x53668e!=_0x1b93ab([0x56,0x61,0x6c,0x69,0x64])&&_0x190e4c(_0x53668e);},_0xe726f1);}):_0x45859d||_0x487300||_0x1b93ab([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4825b6(_0x2dd3a2,_0x2a4e15){return new window[(_0x1b93ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5701a6=>{if(_0x541eba())return _0x5701a6(_0x1b93ab([0x56,0x61,0x6c,0x69,0x64]));_0x2aebab(),_0x2648b6[_0x1b93ab([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b93ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa97083=!0x1;const _0x47c30b=_0x33b25b();function _0x533e28(_0x43384a){return!!_0x43384a&&(typeof _0x43384a===_0x1b93ab([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43384a===_0x1b93ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43384a[_0x1b93ab([0x74,0x68,0x65,0x6e])]===_0x1b93ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43384a[_0x1b93ab([0x63,0x61,0x74,0x63,0x68])]===_0x1b93ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57bb3f(_0x242910){_0x2db20d(_0x242910)[_0x1b93ab([0x74,0x68,0x65,0x6e])](_0x413959=>{if(!_0x413959||_0x413959[_0x1b93ab([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b93ab([0x6f,0x6b]))return _0x1b93ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2eaba9(_0x599456(_0x47c30b+_0x2a4e15))!=_0x413959[_0x1b93ab([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b93ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b93ab([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b93ab([0x74,0x68,0x65,0x6e])](_0x2a4e5b=>(_0x4b4776(),_0x2a4e5b),()=>{const _0x539051=_0x575831();return null==_0x539051?(_0x4b4776(),_0x1b93ab([0x56,0x61,0x6c,0x69,0x64])):_0x1b93ab(_0x2df431-_0x539051>(0x5149fbea^_0x427725)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b93ab([0x74,0x68,0x65,0x6e])](_0x5701a6)[_0x1b93ab([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5701a6(_0x1b93ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51f509=0x7573916a^_0x427725;function _0x4b4776(){const _0x12f5dc=_0x1b93ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eaba9(_0x599456(_0x2dd3a2)),_0x2ed2f5=_0x247a14(_0x2eaba9(window[_0x1b93ab([0x4d,0x61,0x74,0x68])][_0x1b93ab([0x63,0x65,0x69,0x6c])](_0x2df431/_0x51f509)));window[_0x1b93ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b93ab([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12f5dc,_0x2ed2f5);}function _0x575831(){const _0x28e2d4=_0x1b93ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eaba9(_0x599456(_0x2dd3a2)),_0x21baa2=window[_0x1b93ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b93ab([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28e2d4);return _0x21baa2?window[_0x1b93ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x247a14(_0x21baa2),0x10)*_0x51f509:null;}function _0x2db20d(_0x4da6cd){return new window[(_0x1b93ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x427e3b,_0x23e04d)=>{_0x4da6cd[_0x1b93ab([0x74,0x68,0x65,0x6e])](_0x427e3b,_0x23e04d),window[_0x1b93ab([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23e04d,0x7544ab2a^_0x427725);});}}_0x2648b6[_0x1b93ab([0x6f,0x6e])](_0x1b93ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42ac93,_0x200576)=>{if(_0x200576[0x0]!=_0x2dd3a2)return _0x5701a6(_0x1b93ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x200576[0x1]={..._0x200576[0x1],[_0x1b93ab([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47c30b};},{[_0x1b93ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b93ab([0x68,0x69,0x67,0x68])}),_0x2648b6[_0x1b93ab([0x6f,0x6e])](_0x1b93ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ca127=>{_0x533e28(_0x3ca127[_0x1b93ab([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa97083=!0x0,_0x57bb3f(_0x3ca127[_0x1b93ab([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b93ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b93ab([0x6c,0x6f,0x77])}),_0xa0df64[_0x1b93ab([0x74,0x68,0x65,0x6e])](()=>{_0xa97083||_0x5701a6(_0x1b93ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x541eba(){return _0x2648b6[_0x1b93ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b93ab([0x76,0x69,0x65,0x77])][_0x1b93ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b93ab([0x61,0x75,0x74,0x6f]);}function _0x2aebab(){_0x2648b6[_0x1b93ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b93ab([0x76,0x69,0x65,0x77])][_0x1b93ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b93ab([0x61,0x75,0x74,0x6f]);}}function _0x33beac(_0x4a0904){const _0x21b8aa=[new window[(_0x1b93ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x614064=>setTimeout(_0x614064,0x754c4126^_0x427725)),_0xa0df64[_0x1b93ab([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b93ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x990b2a=>{let _0x829893=0x0;_0x2648b6[_0x1b93ab([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b93ab([0x6f,0x6e])](_0x1b93ab([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x495309,_0x61d1de)=>{_0x61d1de[0x0][_0x1b93ab([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x829893++,_0x829893==(0x75457e12^_0x427725)&&(_0x990b2a(),_0x495309[_0x1b93ab([0x6f,0x66,0x66])]());});}))];return window[_0x1b93ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b93ab([0x72,0x61,0x63,0x65])](_0x21b8aa)[_0x1b93ab([0x74,0x68,0x65,0x6e])](()=>_0x4a0904);}async function _0x7168d(){await _0xa0df64,_0x2648b6[_0x1b93ab([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b93ab([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c19ae,_0x2648b6[_0x1b93ab([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b93ab([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c19ae,_0x2648b6[_0x1b93ab([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b93ab([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x479a2c(_0x31f05c){const _0x5a4b22=_0x2f7592();_0x2648b6[_0x5a4b22]=_0x1b93ab([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x31f05c,_0x31f05c!=_0x1b93ab([0x56,0x61,0x6c,0x69,0x64])&&_0x7168d();}function _0x2f7592(){const _0xaa960c=window[_0x1b93ab([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b93ab([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b93ab([0x6e,0x6f,0x77])]())[_0x1b93ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b93ab([0x2e]),'');let _0x527a15=_0x1b93ab([0x53]);for(let _0x289dd4=0x0;_0x289dd4<_0xaa960c[_0x1b93ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x289dd4+=0x2){let _0x342e03=window[_0x1b93ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaa960c[_0x1b93ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x289dd4,_0x289dd4+0x2));_0x342e03>=_0x5f48e0[_0x1b93ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x342e03-=_0x5f48e0[_0x1b93ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x527a15+=_0x5f48e0[_0x342e03];}return _0x527a15;}function _0x37686e(){const _0x1b4621=_0x2b2045[_0x1b93ab([0x73,0x70,0x6c,0x69,0x74])](_0x1b93ab([0x2e]));if(0x3!=_0x1b4621[_0x1b93ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x27df5b(_0x1b4621[0x1]);function _0x27df5b(_0x2a9521){const _0x48e152=_0xfd0601(_0x2a9521);return _0x48e152&&_0x17d6d8()?_0x48e152:null;function _0x17d6d8(){const _0x1d13c4=_0x48e152[_0x1b93ab([0x6a,0x74,0x69])],_0x5bc992=window[_0x1b93ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d13c4[_0x1b93ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d13c4[_0x1b93ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e38cb={..._0x48e152,[_0x1b93ab([0x6a,0x74,0x69])]:_0x1d13c4[_0x1b93ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d13c4[_0x1b93ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e38cb[_0x1b93ab([0x76,0x63])],_0x599456(_0x5e38cb)==_0x5bc992;}}}async function _0x3dfe59(){let _0x480623=!0x0;try{const _0x2ddce6=_0x2b2045[_0x1b93ab([0x73,0x70,0x6c,0x69,0x74])](_0x1b93ab([0x2e])),[_0x152452,_0x548cd5,_0x40207b]=_0x2ddce6;return _0x4f8eaa(_0x152452),await _0x29a0c5(_0x152452,_0x548cd5,_0x40207b),_0x480623;}catch{return!0x1;}function _0x4f8eaa(_0x50236e){const _0x2ae3fe=_0xfd0601(_0x50236e);_0x2ae3fe&&_0x2ae3fe[_0x1b93ab([0x61,0x6c,0x67])]==_0x1b93ab([0x45,0x53,0x32,0x35,0x36])||(_0x480623=!0x1);}async function _0x29a0c5(_0xf04cbe,_0x29f50a,_0xa938fc){const _0x3957d5=window[_0x1b93ab([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b93ab([0x66,0x72,0x6f,0x6d])](_0x21277a(_0xa938fc),_0x3eb5e6=>_0x3eb5e6[_0x1b93ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x283770=new window[(_0x1b93ab([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b93ab([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf04cbe+_0x1b93ab([0x2e])+_0x29f50a),_0x6b36f6=window[_0x1b93ab([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b93ab([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x6b36f6)return;const _0x3c7bcd=await _0x6b36f6[_0x1b93ab([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b93ab([0x6a,0x77,0x6b]),_0x18f025,{[_0x1b93ab([0x6e,0x61,0x6d,0x65])]:_0x1b93ab([0x45,0x43,0x44,0x53,0x41]),[_0x1b93ab([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b93ab([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b93ab([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x6b36f6[_0x1b93ab([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b93ab([0x6e,0x61,0x6d,0x65])]:_0x1b93ab([0x45,0x43,0x44,0x53,0x41]),[_0x1b93ab([0x68,0x61,0x73,0x68])]:{[_0x1b93ab([0x6e,0x61,0x6d,0x65])]:_0x1b93ab([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c7bcd,_0x3957d5,_0x283770)||(_0x480623=!0x1);}}function _0xfd0601(_0x26376e){return _0x26376e[_0x1b93ab([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b93ab([0x65,0x79]))?JSON[_0x1b93ab([0x70,0x61,0x72,0x73,0x65])](_0x21277a(_0x26376e)):null;}function _0x21277a(_0x762ac){return window[_0x1b93ab([0x61,0x74,0x6f,0x62])](_0x762ac[_0x1b93ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b93ab([0x2b]))[_0x1b93ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b93ab([0x2f])));}function _0x599456(_0x63a68f){let _0x431d2c=0x1505;function _0x4f5d83(_0x1009fb){for(let _0x1d7cc7=0x0;_0x1d7cc7<_0x1009fb[_0x1b93ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d7cc7++){const _0x4a43b7=_0x1009fb[_0x1b93ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d7cc7);_0x431d2c=(_0x431d2c<<0x5)+_0x431d2c+_0x4a43b7,_0x431d2c&=_0x431d2c;}}function _0x30f70c(_0x3950d1){Array[_0x1b93ab([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3950d1)?_0x3950d1[_0x1b93ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30f70c):_0x3950d1&&typeof _0x3950d1==_0x1b93ab([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b93ab([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3950d1)[_0x1b93ab([0x73,0x6f,0x72,0x74])]()[_0x1b93ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31cc63,_0x3adde8])=>{_0x4f5d83(_0x31cc63),_0x30f70c(_0x3adde8);}):_0x4f5d83(window[_0x1b93ab([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3950d1));}return _0x30f70c(_0x63a68f),_0x431d2c>>>0x0;}function _0x2eaba9(_0x4358e5){return _0x4358e5[_0x1b93ab([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b93ab([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b93ab([0x30]));}function _0x247a14(_0x2612e0){return _0x2612e0[_0x1b93ab([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b93ab([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b93ab([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c19ae(){}function _0x1b93ab(_0x3003ab){const _0x2a8a9b=_0x27b0;return _0x3003ab[_0x2a8a9b(0x1e0)](_0x12e751=>String[_0x2a8a9b(0x1d4)](_0x12e751))[_0x2a8a9b(0x1ce)]('');}_0x479a2c(await _0x52e317());}(this);}[_0x4c2ad4(0x221)](){const _0x87b935=_0x4c2ad4,_0x4a0e72=this[_0x87b935(0x22c)][_0x87b935(0x1c8)];_0x4a0e72[_0x87b935(0x1e6)](_0x4b468d=>{const _0x3775e6=_0x87b935,_0x5966d4=_0x4a0e72[_0x3775e6(0x1de)][_0x3775e6(0x22b)][_0x3775e6(0x1e9)]();let _0x2f42d0=0x0;for(const _0x253d99 of _0x5966d4){const _0x328b71=f+':'+_0x2f42d0;if(_0x4a0e72[_0x3775e6(0x20c)][_0x3775e6(0x220)](_0x328b71))_0x4b468d[_0x3775e6(0x1e7)](_0x328b71,{'range':_0x253d99});else{if(_0x253d99[_0x3775e6(0x1e4)][_0x3775e6(0x200)]){const _0x483f65=_0x253d99[_0x3775e6(0x1e4)][_0x3775e6(0x1d7)](({item:_0x270457})=>!_0x4a0e72[_0x3775e6(0x1fe)][_0x3775e6(0x1ee)](_0x270457),{'boundaries':_0x253d99});_0x4b468d[_0x3775e6(0x1c9)](_0x328b71,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4b468d[_0x3775e6(0x1d9)](_0x483f65,_0x253d99[_0x3775e6(0x1f5)])});}else _0x4b468d[_0x3775e6(0x1c9)](_0x328b71,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x253d99});}_0x2f42d0++;}});}[_0x4c2ad4(0x1db)](){const _0x65d7dc=_0x4c2ad4,_0x4a1a79=this[_0x65d7dc(0x22c)][_0x65d7dc(0x1c8)],_0x453e5c=Array[_0x65d7dc(0x209)](this[_0x65d7dc(0x22c)][_0x65d7dc(0x1c8)][_0x65d7dc(0x20c)][_0x65d7dc(0x1cd)](f));_0x453e5c[_0x65d7dc(0x1d0)]&&_0x4a1a79[_0x65d7dc(0x1e6)](_0x231152=>{const _0x114a1e=_0x65d7dc;_0x453e5c[_0x114a1e(0x1fc)](_0x408bad=>{const _0x2673a1=_0x114a1e;_0x231152[_0x2673a1(0x224)](_0x408bad);});});}[_0x4c2ad4(0x22a)](_0x3baa70,_0x11465a){const _0x489f4b=_0x4c2ad4,_0xc07421=this[_0x489f4b(0x1c6)](),_0x48169f=_0x11465a||_0xc07421[_0x489f4b(0x21b)]();this[_0x489f4b(0x22c)][_0x489f4b(0x1c8)][_0x489f4b(0x204)](_0x48169f)&&this[_0x489f4b(0x22c)][_0x489f4b(0x1c8)][_0x489f4b(0x1e6)](_0x5cc113=>{const _0x4325ef=_0x489f4b;this[_0x4325ef(0x1db)](),_0x11465a||this[_0x4325ef(0x229)](_0x5cc113,_0xc07421),this[_0x4325ef(0x22d)]({'insertAt':_0x48169f,'writer':_0x5cc113,'html':_0x3baa70});});}[_0x4c2ad4(0x1fa)](_0x487092){const _0x30e714=_0x4c2ad4,{model:_0x19aaff}=this[_0x30e714(0x22c)],_0x14d002=this[_0x30e714(0x1c6)]();_0x19aaff[_0x30e714(0x1e6)](()=>{const _0x514853=_0x30e714,_0x5ec5f8=this[_0x514853(0x215)](_0x487092,_0x14d002)||this[_0x514853(0x226)](_0x14d002);this[_0x514853(0x22a)](_0x487092,_0x5ec5f8);});}[_0x4c2ad4(0x1c6)](){const _0x36e3bc=_0x4c2ad4,_0x41633a=this[_0x36e3bc(0x22c)][_0x36e3bc(0x1c8)],_0x25ac00=Array[_0x36e3bc(0x209)](_0x41633a[_0x36e3bc(0x20c)][_0x36e3bc(0x1cd)](f))[_0x36e3bc(0x1e0)](_0x37b010=>_0x37b010[_0x36e3bc(0x1e2)]());return _0x41633a[_0x36e3bc(0x21e)](_0x25ac00);}[_0x4c2ad4(0x22d)]({writer:_0x5cf8b0,html:_0x33f7fd,insertAt:_0x1372e6}){const _0x3545e6=_0x4c2ad4,{view:_0x1f6040}=this[_0x3545e6(0x22c)][_0x3545e6(0x1ca)],_0x1b0b13=this[_0x3545e6(0x22c)][_0x3545e6(0x211)][_0x3545e6(0x20a)](_0x5045f8),_0x3402a1=new w();_0x3402a1[_0x3545e6(0x206)](_0x3545e6(0x218),_0x33f7fd);const _0x20face=new ClipboardEvent(_0x3545e6(0x207),{'clipboardData':_0x3402a1}),_0x3a63c9=new _0x193ec3(_0x1f6040,_0x20face,{'dataTransfer':new _0x32ea79(_0x3402a1)});_0x5cf8b0[_0x3545e6(0x210)](_0x1372e6);const _0x1ecf52=(_0x1fda77,_0x560b9e)=>{const _0xcedd8=_0x3545e6;_0x560b9e[_0xcedd8(0x1c7)]&&_0x5cf8b0[_0xcedd8(0x210)](_0x560b9e[_0xcedd8(0x1c7)]);};_0x1b0b13[_0x3545e6(0x222)](_0x3545e6(0x1d2),_0x1ecf52,{'priority':_0x3545e6(0x213)}),_0x1f6040[_0x3545e6(0x1de)][_0x3545e6(0x203)](_0x3545e6(0x207),_0x3a63c9),_0x1b0b13[_0x3545e6(0x1d1)](_0x3545e6(0x1d2),_0x1ecf52);}[_0x4c2ad4(0x226)](_0x1cb87b){const _0x496623=_0x4c2ad4,{model:_0x30adb5}=this[_0x496623(0x22c)],_0x42aa35=Array[_0x496623(0x209)](_0x1cb87b[_0x496623(0x201)]());return _0x42aa35[_0x496623(0x1d0)]?_0x30adb5[_0x496623(0x1ef)](_0x42aa35[_0x496623(0x1cf)]()):_0x1cb87b[_0x496623(0x20e)]();}[_0x4c2ad4(0x215)](_0x4c6930,_0x8e57ae){const _0x432480=_0x4c2ad4,{model:_0x1d8fb4,plugins:_0x232798}=this[_0x432480(0x22c)];if(_0x232798[_0x432480(0x220)](_0x432480(0x1fb))){const _0x34b17c=_0x232798[_0x432480(0x20a)](_0x432480(0x1fb))[_0x432480(0x223)](_0x8e57ae);if(_0x34b17c[_0x432480(0x1d0)]){const _0x3b5ff0=this[_0x432480(0x1d6)](_0x4c6930),_0x32bd42=this[_0x432480(0x1f7)](_0x34b17c,_0x3b5ff0);return _0x1d8fb4[_0x432480(0x232)](_0x32bd42,0x0);}}return null;}[_0x4c2ad4(0x1d6)](_0x31402b){const _0x3a151c=_0x4c2ad4,_0x33f44d=this[_0x3a151c(0x22c)][_0x3a151c(0x211)][_0x3a151c(0x20a)](_0x3a151c(0x1fb)),_0x305f40=this[_0x3a151c(0x22c)][_0x3a151c(0x1da)][_0x3a151c(0x219)](_0x31402b),_0x2164d8=Array[_0x3a151c(0x209)](_0x305f40[_0x3a151c(0x1f4)]())[_0x3a151c(0x1ec)](_0x5e5ca7=>_0x5e5ca7['is'](_0x3a151c(0x212),_0x3a151c(0x1f3)));let _0x2e8ca6=0x0;return _0x2164d8[_0x3a151c(0x1fc)](_0x3ea3cf=>{const _0x248ad0=_0x3a151c;_0x2e8ca6+=_0x33f44d[_0x248ad0(0x22f)](_0x3ea3cf);}),_0x2e8ca6;}[_0x4c2ad4(0x1f7)](_0x451c3c,_0x4bc61c){const _0x36dd5d=_0x4c2ad4,_0x16c244=this[_0x36dd5d(0x22c)][_0x36dd5d(0x211)][_0x36dd5d(0x20a)](_0x36dd5d(0x1fb)),_0x2c2423=_0x16c244[_0x36dd5d(0x1ed)](_0x451c3c),_0x40cfc1=_0x16c244[_0x36dd5d(0x1e3)](_0x451c3c),_0x3d8f0d=_0x2c2423[_0x36dd5d(0x20d)]+0x1,_0x3d953d=_0x40cfc1[_0x36dd5d(0x21c)],_0x4aa6ac=_0x451c3c[0x0][_0x36dd5d(0x1fd)](_0x36dd5d(0x1f3));for(let _0x900c86=0x0;_0x900c86<_0x4bc61c;_0x900c86++)_0x16c244[_0x36dd5d(0x225)](_0x4aa6ac,{'at':_0x3d8f0d});return _0x4aa6ac[_0x36dd5d(0x227)](_0x3d8f0d)[_0x36dd5d(0x227)](_0x3d953d);}[_0x4c2ad4(0x229)](_0x3e35f1,_0x332293){const _0x537d4f=_0x4c2ad4,{plugins:_0x55d5a5}=this[_0x537d4f(0x22c)],{model:_0x5efd49}=_0x3e35f1;if(!_0x55d5a5[_0x537d4f(0x220)](_0x537d4f(0x1fb)))return;_0x55d5a5[_0x537d4f(0x20a)](_0x537d4f(0x1fb))[_0x537d4f(0x223)](_0x332293)[_0x537d4f(0x1d0)]&&_0x5efd49[_0x537d4f(0x1f0)](_0x332293);}}
|
|
23
|
+
function _0x4cbc(_0x5c0532,_0x114458){const _0x5e9044=_0x5e90();return _0x4cbc=function(_0x4cbc5a,_0x337feb){_0x4cbc5a=_0x4cbc5a-0xba;let _0x1ee20b=_0x5e9044[_0x4cbc5a];return _0x1ee20b;},_0x4cbc(_0x5c0532,_0x114458);}const _0x3d1b03=_0x4cbc;(function(_0x467120,_0x2bc39b){const _0x58c200=_0x4cbc,_0x250ed1=_0x467120();while(!![]){try{const _0x1b2cd0=parseInt(_0x58c200(0xf2))/0x1+parseInt(_0x58c200(0xc9))/0x2*(parseInt(_0x58c200(0xe5))/0x3)+-parseInt(_0x58c200(0x104))/0x4+parseInt(_0x58c200(0xfb))/0x5+parseInt(_0x58c200(0xe0))/0x6*(-parseInt(_0x58c200(0xd7))/0x7)+-parseInt(_0x58c200(0xd0))/0x8+parseInt(_0x58c200(0xc1))/0x9*(parseInt(_0x58c200(0xe3))/0xa);if(_0x1b2cd0===_0x2bc39b)break;else _0x250ed1['push'](_0x250ed1['shift']());}catch(_0x35ae14){_0x250ed1['push'](_0x250ed1['shift']());}}}(_0x5e90,0xc0bbf));import{uid as _0x5bf020}from'ckeditor5/src/utils.js';function _0x5e90(){const _0x4a5dd4=['getLastMatchingPosition','TableUtils','getRange','editingDowncast','get','getRows','join','isAtEnd','isPremiumPlugin','last','deleteContent','data','fromCharCode','addMarker','isOfficialPlugin','_createEmptyTableRows','pop','removeMarker','_getDefaultInsertBelowPosition','span','ck-fake-ai-selection','getFirstRange','5567778lAHskI','map','conversion','model','setData','length','markers','getColumnIndexes','103742xtwwZc','change','isCollapsed','getLastPosition','getRowIndexes','push','resultRange','7680648tZbegG','ai.useTheme','end','insertContent','_getAISelection','addClass','markerRange','14XkPtHz','start','isContent','_prepareTableInsertBelowPosition','_pasteHTMLUsingClipboard','table','canEditAt','from','getMarkersGroup','2142486YgruhV','contentInsertion','pluginName','20bbmMiU','DataTransfer','3WIqsfN','afterInit','AIAssistantEditing','once','filter','createUIElement','markerToElement','paste','editing','forEach','ai-ui','markerToHighlight','_getTableRowCountFromContent','957700HldgEw','href','init','has','plugins','getChild','getSelectedBlocks','_resetContentOfSelectedTableCells','element','3905480LIaREf','for','schema','createSelection','hideFakeVisualSelection','text/html','fire','lowest','editor','2257076kSYspZ','parse','getSelectedTableCells','document','selection','insertRows','updateMarker','first','createPositionAfter','insertContentBelow','ck-fake-ai-selection_collapsed','ck-ai-assistant-ui_theme','showFakeVisualSelection','setSelection','off','findAncestor','getChildren','createRange','getRanges','config','createPositionAt'];_0x5e90=function(){return _0x4a5dd4;};return _0x5e90();}import{Plugin as _0x4ef5e9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x1f4fbe}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x82f4be,DataTransfer as _0xa2abbe}from'ckeditor5/src/engine.js';const w=globalThis[_0x3d1b03(0xe4)],f=_0x3d1b03(0xef);export default class a extends _0x4ef5e9{static get[_0x3d1b03(0xe2)](){const _0x23dd53=_0x3d1b03;return _0x23dd53(0xe7);}static get[_0x3d1b03(0x127)](){return!0x0;}static get[_0x3d1b03(0x121)](){return!0x0;}[_0x3d1b03(0xf4)](){const _0x36815c=_0x3d1b03,{editor:_0xfd9348}=this,_0x10ab99=[_0x36815c(0xbf)];_0xfd9348[_0x36815c(0x117)][_0x36815c(0x11d)](_0x36815c(0xd1))&&_0x10ab99[_0x36815c(0xce)](_0x36815c(0x10f)),_0xfd9348[_0x36815c(0xc3)][_0x36815c(0xfc)](_0x36815c(0x11c))[_0x36815c(0xf0)]({'model':f,'view':{'classes':_0x10ab99,'priority':0xc}}),_0xfd9348[_0x36815c(0xc3)][_0x36815c(0xfc)](_0x36815c(0x11c))[_0x36815c(0xeb)]({'model':f,'view':(_0x4acbcf,{writer:_0x58c857})=>{const _0x264ac0=_0x36815c;if(!_0x4acbcf[_0x264ac0(0xd6)][_0x264ac0(0xcb)])return null;const _0x8b5a15=_0x58c857[_0x264ac0(0xea)](_0x264ac0(0xbe));return _0x58c857[_0x264ac0(0xd5)]([_0x264ac0(0xbf),_0x264ac0(0x10e)],_0x8b5a15),_0x8b5a15;}});}[_0x3d1b03(0xe6)](){!async function(_0x4d0348){const _0x593a95=_0x4b7b31([0x71,0x32,0x35,0x73,0x34,0x61,0x6c,0x63,0x56,0x57,0x47,0x48,0x42,0x77,0x31,0x4a,0x52,0x70,0x55,0x33,0x41,0x49,0x4d,0x39,0x67,0x59,0x4c,0x6b,0x58,0x69,0x74,0x54,0x6d,0x46,0x4e,0x38,0x51,0x79,0x43,0x6f,0x7a,0x78,0x6e,0x50,0x36,0x66,0x68,0x64,0x44,0x5a,0x75,0x4b,0x37,0x30,0x76,0x45,0x72,0x4f,0x53,0x65,0x6a,0x62]),_0x45ebc1=0x63c279b2,_0x4d49f5=0x63c510e2^_0x45ebc1,_0x21bef3=window[_0x4b7b31([0x44,0x61,0x74,0x65])][_0x4b7b31([0x6e,0x6f,0x77])](),_0x259bd2=_0x4d0348[_0x4b7b31([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15b1ec=new window[(_0x4b7b31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44cf7c=>{_0x259bd2[_0x4b7b31([0x6f,0x6e,0x63,0x65])](_0x4b7b31([0x72,0x65,0x61,0x64,0x79]),_0x44cf7c);}),_0x378435={[_0x4b7b31([0x6b,0x74,0x79])]:_0x4b7b31([0x45,0x43]),[_0x4b7b31([0x75,0x73,0x65])]:_0x4b7b31([0x73,0x69,0x67]),[_0x4b7b31([0x63,0x72,0x76])]:_0x4b7b31([0x50,0x2d,0x32,0x35,0x36]),[_0x4b7b31([0x78])]:_0x4b7b31([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]),[_0x4b7b31([0x79])]:_0x4b7b31([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]),[_0x4b7b31([0x61,0x6c,0x67])]:_0x4b7b31([0x45,0x53,0x32,0x35,0x36])},_0x5b4034=_0x259bd2[_0x4b7b31([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b7b31([0x67,0x65,0x74])](_0x4b7b31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47ab6e(){let _0x1bcee1,_0x179a24=null,_0x1ea583=null;try{if(_0x5b4034==_0x4b7b31([0x47,0x50,0x4c]))return _0x4b7b31([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1bcee1=_0x224a65(),!_0x1bcee1)return _0x4b7b31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1bcee1[_0x4b7b31([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ea583=_0x1ff934(_0x1bcee1[_0x4b7b31([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1bcee1[_0x4b7b31([0x6a,0x74,0x69])])),await _0x1ce4d7()?_0xdd3dc4()?_0xd14b2e()?_0x4b7b31([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a110a()?(_0x1bcee1[_0x4b7b31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b7b31([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x179a24=_0x375af5(_0x4b7b31([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1bcee1[_0x4b7b31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b7b31([0x74,0x72,0x69,0x61,0x6c])&&(_0x179a24=_0x375af5(_0x4b7b31([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x373704()):_0x4b7b31([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b7b31([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b7b31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b7b31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd14b2e(){const _0x22620a=[_0x4b7b31([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b7b31([0x74,0x72,0x69,0x61,0x6c])][_0x4b7b31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bcee1[_0x4b7b31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21bef3/0x3e8:0xe10*_0x4d49f5;return _0x1bcee1[_0x4b7b31([0x65,0x78,0x70])]<_0x22620a;}function _0xdd3dc4(){const _0x4726f4=_0x1bcee1[_0x4b7b31([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4726f4&&(!!_0x4726f4[_0x4b7b31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b7b31([0x2a]))||!!_0x4726f4[_0x4b7b31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b7b31([0x41,0x49])));}function _0x4a110a(){const _0xf0479c=_0x4cbc,_0x4bc041=_0x1bcee1[_0x4b7b31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bc041||0x0==_0x4bc041[_0x4b7b31([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fc83e}=new URL(window[_0x4b7b31([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xf0479c(0xf3)]);if(_0x4bc041[_0x4b7b31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc83e))return!0x0;const _0x2c7f2b=_0x2fc83e[_0x4b7b31([0x73,0x70,0x6c,0x69,0x74])](_0x4b7b31([0x2e]));return _0x4bc041[_0x4b7b31([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f0c8f=>_0x4f0c8f[_0x4b7b31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b7b31([0x2a])))[_0x4b7b31([0x6d,0x61,0x70])](_0x4f353f=>_0x4f353f[_0x4b7b31([0x73,0x70,0x6c,0x69,0x74])](_0x4b7b31([0x2e])))[_0x4b7b31([0x73,0x6f,0x6d,0x65])](_0x3d25ea=>_0x2c7f2b[_0x4b7b31([0x65,0x76,0x65,0x72,0x79])]((_0x1c7b6e,_0x2bd6d0)=>_0x3d25ea[_0x2bd6d0]===_0x1c7b6e||_0x3d25ea[_0x2bd6d0]===_0x4b7b31([0x2a])));}function _0x373704(){return _0x179a24&&_0x1ea583?new window[(_0x4b7b31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bdb51,_0x253a64)=>{_0x179a24[_0x4b7b31([0x74,0x68,0x65,0x6e])](_0x5bdb51,_0x253a64),_0x1ea583[_0x4b7b31([0x74,0x68,0x65,0x6e])](_0x108bb6=>{_0x108bb6!=_0x4b7b31([0x56,0x61,0x6c,0x69,0x64])&&_0x5bdb51(_0x108bb6);},_0x253a64);}):_0x179a24||_0x1ea583||_0x4b7b31([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ff934(_0x19308d,_0x2e3b63){return new window[(_0x4b7b31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c1b7a=>{if(_0x25f809())return _0x3c1b7a(_0x4b7b31([0x56,0x61,0x6c,0x69,0x64]));_0x252887(),_0x259bd2[_0x4b7b31([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b7b31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c09a4=!0x1;const _0x1a4c20=_0x5bf020();function _0x56836b(_0x31702c){return!!_0x31702c&&(typeof _0x31702c===_0x4b7b31([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31702c===_0x4b7b31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31702c[_0x4b7b31([0x74,0x68,0x65,0x6e])]===_0x4b7b31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31702c[_0x4b7b31([0x63,0x61,0x74,0x63,0x68])]===_0x4b7b31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17bac6(_0x2acdef){_0x518a05(_0x2acdef)[_0x4b7b31([0x74,0x68,0x65,0x6e])](_0x2e34e9=>{if(!_0x2e34e9||_0x2e34e9[_0x4b7b31([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b7b31([0x6f,0x6b]))return _0x4b7b31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ee224(_0x41024e(_0x1a4c20+_0x2e3b63))!=_0x2e34e9[_0x4b7b31([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b7b31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b7b31([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b7b31([0x74,0x68,0x65,0x6e])](_0x2c0939=>(_0x309e5a(),_0x2c0939),()=>{const _0xf4e457=_0x50a966();return null==_0xf4e457?(_0x309e5a(),_0x4b7b31([0x56,0x61,0x6c,0x69,0x64])):_0x4b7b31(_0x21bef3-_0xf4e457>(0x47cefdb2^_0x45ebc1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b7b31([0x74,0x68,0x65,0x6e])](_0x3c1b7a)[_0x4b7b31([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c1b7a(_0x4b7b31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x636328=0x63f49732^_0x45ebc1;function _0x309e5a(){const _0x4d651a=_0x4b7b31([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ee224(_0x41024e(_0x19308d)),_0x199f62=_0x167648(_0x5ee224(window[_0x4b7b31([0x4d,0x61,0x74,0x68])][_0x4b7b31([0x63,0x65,0x69,0x6c])](_0x21bef3/_0x636328)));window[_0x4b7b31([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b7b31([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d651a,_0x199f62);}function _0x50a966(){const _0x5035ce=_0x4b7b31([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ee224(_0x41024e(_0x19308d)),_0x29dc65=window[_0x4b7b31([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b7b31([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5035ce);return _0x29dc65?window[_0x4b7b31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x167648(_0x29dc65),0x10)*_0x636328:null;}function _0x518a05(_0x225618){return new window[(_0x4b7b31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2139f6,_0x17f579)=>{_0x225618[_0x4b7b31([0x74,0x68,0x65,0x6e])](_0x2139f6,_0x17f579),window[_0x4b7b31([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17f579,0x63c3ad72^_0x45ebc1);});}}_0x259bd2[_0x4b7b31([0x6f,0x6e])](_0x4b7b31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d3818,_0x42c893)=>{if(_0x42c893[0x0]!=_0x19308d)return _0x3c1b7a(_0x4b7b31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42c893[0x1]={..._0x42c893[0x1],[_0x4b7b31([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a4c20};},{[_0x4b7b31([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b7b31([0x68,0x69,0x67,0x68])}),_0x259bd2[_0x4b7b31([0x6f,0x6e])](_0x4b7b31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x100e9e=>{_0x56836b(_0x100e9e[_0x4b7b31([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c09a4=!0x0,_0x17bac6(_0x100e9e[_0x4b7b31([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b7b31([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b7b31([0x6c,0x6f,0x77])}),_0x15b1ec[_0x4b7b31([0x74,0x68,0x65,0x6e])](()=>{_0x4c09a4||_0x3c1b7a(_0x4b7b31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x25f809(){return _0x259bd2[_0x4b7b31([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b7b31([0x76,0x69,0x65,0x77])][_0x4b7b31([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b7b31([0x61,0x75,0x74,0x6f]);}function _0x252887(){_0x259bd2[_0x4b7b31([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b7b31([0x76,0x69,0x65,0x77])][_0x4b7b31([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b7b31([0x61,0x75,0x74,0x6f]);}}function _0x375af5(_0x2e0e9c){const _0xfe9712=[new window[(_0x4b7b31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x399a66=>setTimeout(_0x399a66,0x63cb477e^_0x45ebc1)),_0x15b1ec[_0x4b7b31([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b7b31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x464950=>{let _0x1f27da=0x0;_0x259bd2[_0x4b7b31([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b7b31([0x6f,0x6e])](_0x4b7b31([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10dc7f,_0x5628f2)=>{_0x5628f2[0x0][_0x4b7b31([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f27da++,_0x1f27da==(0x63c2784a^_0x45ebc1)&&(_0x464950(),_0x10dc7f[_0x4b7b31([0x6f,0x66,0x66])]());});}))];return window[_0x4b7b31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b7b31([0x72,0x61,0x63,0x65])](_0xfe9712)[_0x4b7b31([0x74,0x68,0x65,0x6e])](()=>_0x2e0e9c);}async function _0x3566e3(){await _0x15b1ec,_0x259bd2[_0x4b7b31([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b7b31([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4820b1,_0x259bd2[_0x4b7b31([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b7b31([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4820b1,_0x259bd2[_0x4b7b31([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b7b31([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e5129(_0x102a3e){const _0x3e9767=_0x4e9e08();_0x259bd2[_0x3e9767]=_0x4b7b31([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x102a3e,_0x102a3e!=_0x4b7b31([0x56,0x61,0x6c,0x69,0x64])&&_0x3566e3();}function _0x4e9e08(){const _0x586e64=window[_0x4b7b31([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b7b31([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b7b31([0x6e,0x6f,0x77])]())[_0x4b7b31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b7b31([0x2e]),'');let _0x553aa7=_0x4b7b31([0x71]);for(let _0x2b43e8=0x0;_0x2b43e8<_0x586e64[_0x4b7b31([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b43e8+=0x2){let _0x27c3c5=window[_0x4b7b31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x586e64[_0x4b7b31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b43e8,_0x2b43e8+0x2));_0x27c3c5>=_0x593a95[_0x4b7b31([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27c3c5-=_0x593a95[_0x4b7b31([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x553aa7+=_0x593a95[_0x27c3c5];}return _0x553aa7;}function _0x224a65(){const _0x3ad711=_0x5b4034[_0x4b7b31([0x73,0x70,0x6c,0x69,0x74])](_0x4b7b31([0x2e]));if(0x3!=_0x3ad711[_0x4b7b31([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42a6a9(_0x3ad711[0x1]);function _0x42a6a9(_0x1c3acd){const _0x8d12ee=_0x4478d6(_0x1c3acd);return _0x8d12ee&&_0x24474d()?_0x8d12ee:null;function _0x24474d(){const _0x1bfb85=_0x8d12ee[_0x4b7b31([0x6a,0x74,0x69])],_0x2874b3=window[_0x4b7b31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bfb85[_0x4b7b31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bfb85[_0x4b7b31([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb3fcb5={..._0x8d12ee,[_0x4b7b31([0x6a,0x74,0x69])]:_0x1bfb85[_0x4b7b31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bfb85[_0x4b7b31([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb3fcb5[_0x4b7b31([0x76,0x63])],_0x41024e(_0xb3fcb5)==_0x2874b3;}}}async function _0x1ce4d7(){let _0x24400e=!0x0;try{const _0x1d54ae=_0x5b4034[_0x4b7b31([0x73,0x70,0x6c,0x69,0x74])](_0x4b7b31([0x2e])),[_0x3a7097,_0x3bd3df,_0x2b2cc3]=_0x1d54ae;return _0x4124d8(_0x3a7097),await _0x3a337b(_0x3a7097,_0x3bd3df,_0x2b2cc3),_0x24400e;}catch{return!0x1;}function _0x4124d8(_0x2165f2){const _0x4baac8=_0x4478d6(_0x2165f2);_0x4baac8&&_0x4baac8[_0x4b7b31([0x61,0x6c,0x67])]==_0x4b7b31([0x45,0x53,0x32,0x35,0x36])||(_0x24400e=!0x1);}async function _0x3a337b(_0x407c07,_0x4901fa,_0x4da5c1){const _0x2256a3=window[_0x4b7b31([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b7b31([0x66,0x72,0x6f,0x6d])](_0x52614d(_0x4da5c1),_0x10ef02=>_0x10ef02[_0x4b7b31([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x339501=new window[(_0x4b7b31([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b7b31([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x407c07+_0x4b7b31([0x2e])+_0x4901fa),_0x3bcb89=window[_0x4b7b31([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b7b31([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3bcb89)return;const _0x1cc869=await _0x3bcb89[_0x4b7b31([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b7b31([0x6a,0x77,0x6b]),_0x378435,{[_0x4b7b31([0x6e,0x61,0x6d,0x65])]:_0x4b7b31([0x45,0x43,0x44,0x53,0x41]),[_0x4b7b31([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b7b31([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b7b31([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3bcb89[_0x4b7b31([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b7b31([0x6e,0x61,0x6d,0x65])]:_0x4b7b31([0x45,0x43,0x44,0x53,0x41]),[_0x4b7b31([0x68,0x61,0x73,0x68])]:{[_0x4b7b31([0x6e,0x61,0x6d,0x65])]:_0x4b7b31([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1cc869,_0x2256a3,_0x339501)||(_0x24400e=!0x1);}}function _0x4478d6(_0x998ac5){return _0x998ac5[_0x4b7b31([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b7b31([0x65,0x79]))?JSON[_0x4b7b31([0x70,0x61,0x72,0x73,0x65])](_0x52614d(_0x998ac5)):null;}function _0x52614d(_0x54cece){return window[_0x4b7b31([0x61,0x74,0x6f,0x62])](_0x54cece[_0x4b7b31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b7b31([0x2b]))[_0x4b7b31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b7b31([0x2f])));}function _0x41024e(_0x10f8a6){let _0x5b894e=0x1505;function _0x262829(_0xea2493){for(let _0x4591b5=0x0;_0x4591b5<_0xea2493[_0x4b7b31([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4591b5++){const _0x527d22=_0xea2493[_0x4b7b31([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4591b5);_0x5b894e=(_0x5b894e<<0x5)+_0x5b894e+_0x527d22,_0x5b894e&=_0x5b894e;}}function _0x346a73(_0x23f931){Array[_0x4b7b31([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23f931)?_0x23f931[_0x4b7b31([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x346a73):_0x23f931&&typeof _0x23f931==_0x4b7b31([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b7b31([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23f931)[_0x4b7b31([0x73,0x6f,0x72,0x74])]()[_0x4b7b31([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x22d8c0,_0x2cdce1])=>{_0x262829(_0x22d8c0),_0x346a73(_0x2cdce1);}):_0x262829(window[_0x4b7b31([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23f931));}return _0x346a73(_0x10f8a6),_0x5b894e>>>0x0;}function _0x5ee224(_0x1ae4f1){return _0x1ae4f1[_0x4b7b31([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b7b31([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b7b31([0x30]));}function _0x167648(_0x3ab48e){return _0x3ab48e[_0x4b7b31([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b7b31([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b7b31([0x6a,0x6f,0x69,0x6e])]('');}function _0x4820b1(){}function _0x4b7b31(_0x48275a){const _0x2fdfde=_0x4cbc;return _0x48275a[_0x2fdfde(0xc2)](_0x5737a5=>String[_0x2fdfde(0x125)](_0x5737a5))[_0x2fdfde(0x11f)]('');}_0x2e5129(await _0x47ab6e());}(this);}[_0x3d1b03(0x110)](){const _0x10f175=_0x3d1b03,_0x2c782b=this[_0x10f175(0x103)][_0x10f175(0xc4)];_0x2c782b[_0x10f175(0xca)](_0x312b28=>{const _0xd1e0d8=_0x10f175,_0x20ea0e=_0x2c782b[_0xd1e0d8(0x107)][_0xd1e0d8(0x108)][_0xd1e0d8(0x116)]();let _0x10fea0=0x0;for(const _0x4a8fc2 of _0x20ea0e){const _0x20c5ed=f+':'+_0x10fea0;if(_0x2c782b[_0xd1e0d8(0xc7)][_0xd1e0d8(0xf5)](_0x20c5ed))_0x312b28[_0xd1e0d8(0x10a)](_0x20c5ed,{'range':_0x4a8fc2});else{if(_0x4a8fc2[_0xd1e0d8(0xd8)][_0xd1e0d8(0x120)]){const _0x12a8ca=_0x4a8fc2[_0xd1e0d8(0xd8)][_0xd1e0d8(0x119)](({item:_0x4055a5})=>!_0x2c782b[_0xd1e0d8(0xfd)][_0xd1e0d8(0xd9)](_0x4055a5),{'boundaries':_0x4a8fc2});_0x312b28[_0xd1e0d8(0x126)](_0x20c5ed,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x312b28[_0xd1e0d8(0x115)](_0x12a8ca,_0x4a8fc2[_0xd1e0d8(0xd2)])});}else _0x312b28[_0xd1e0d8(0x126)](_0x20c5ed,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4a8fc2});}_0x10fea0++;}});}[_0x3d1b03(0xff)](){const _0x424314=_0x3d1b03,_0x3fe5b3=this[_0x424314(0x103)][_0x424314(0xc4)],_0xacebf2=Array[_0x424314(0xde)](this[_0x424314(0x103)][_0x424314(0xc4)][_0x424314(0xc7)][_0x424314(0xdf)](f));_0xacebf2[_0x424314(0xc6)]&&_0x3fe5b3[_0x424314(0xca)](_0x52e513=>{const _0x311826=_0x424314;_0xacebf2[_0x311826(0xee)](_0x5a8a3f=>{const _0x1e8568=_0x311826;_0x52e513[_0x1e8568(0xbc)](_0x5a8a3f);});});}[_0x3d1b03(0xd3)](_0x3e7d03,_0x6f8a70){const _0x1af01b=_0x3d1b03,_0x9ed0bc=this[_0x1af01b(0xd4)](),_0x41b97b=_0x6f8a70||_0x9ed0bc[_0x1af01b(0xc0)]();this[_0x1af01b(0x103)][_0x1af01b(0xc4)][_0x1af01b(0xdd)](_0x41b97b)&&this[_0x1af01b(0x103)][_0x1af01b(0xc4)][_0x1af01b(0xca)](_0x1351fa=>{const _0x1498da=_0x1af01b;this[_0x1498da(0xff)](),_0x6f8a70||this[_0x1498da(0xf9)](_0x1351fa,_0x9ed0bc),this[_0x1498da(0xdb)]({'insertAt':_0x41b97b,'writer':_0x1351fa,'html':_0x3e7d03});});}[_0x3d1b03(0x10d)](_0x251899){const _0x34f949=_0x3d1b03,{model:_0x2bbade}=this[_0x34f949(0x103)],_0xe40228=this[_0x34f949(0xd4)]();_0x2bbade[_0x34f949(0xca)](()=>{const _0x52b3d4=_0x34f949,_0x4751ef=this[_0x52b3d4(0xda)](_0x251899,_0xe40228)||this[_0x52b3d4(0xbd)](_0xe40228);this[_0x52b3d4(0xd3)](_0x251899,_0x4751ef);});}[_0x3d1b03(0xd4)](){const _0x185919=_0x3d1b03,_0x290b33=this[_0x185919(0x103)][_0x185919(0xc4)],_0x173869=Array[_0x185919(0xde)](_0x290b33[_0x185919(0xc7)][_0x185919(0xdf)](f))[_0x185919(0xc2)](_0x4ad828=>_0x4ad828[_0x185919(0x11b)]());return _0x290b33[_0x185919(0xfe)](_0x173869);}[_0x3d1b03(0xdb)]({writer:_0x3fe117,html:_0x201eb1,insertAt:_0x2713b4}){const _0x503ff2=_0x3d1b03,{view:_0x17c2da}=this[_0x503ff2(0x103)][_0x503ff2(0xed)],_0x2cf1b6=this[_0x503ff2(0x103)][_0x503ff2(0xf6)][_0x503ff2(0x11d)](_0x1f4fbe),_0x56d11a=new w();_0x56d11a[_0x503ff2(0xc5)](_0x503ff2(0x100),_0x201eb1);const _0x1a4d44=new ClipboardEvent(_0x503ff2(0xec),{'clipboardData':_0x56d11a}),_0x2b2ec1=new _0x82f4be(_0x17c2da,_0x1a4d44,{'dataTransfer':new _0xa2abbe(_0x56d11a)});_0x3fe117[_0x503ff2(0x111)](_0x2713b4);const _0x13d9f1=(_0x22d52c,_0x24c594)=>{const _0x58071e=_0x503ff2;_0x24c594[_0x58071e(0xcf)]&&_0x3fe117[_0x58071e(0x111)](_0x24c594[_0x58071e(0xcf)]);};_0x2cf1b6[_0x503ff2(0xe8)](_0x503ff2(0xe1),_0x13d9f1,{'priority':_0x503ff2(0x102)}),_0x17c2da[_0x503ff2(0x107)][_0x503ff2(0x101)](_0x503ff2(0xec),_0x2b2ec1),_0x2cf1b6[_0x503ff2(0x112)](_0x503ff2(0xe1),_0x13d9f1);}[_0x3d1b03(0xbd)](_0x578831){const _0x5805f2=_0x3d1b03,{model:_0x37e9a3}=this[_0x5805f2(0x103)],_0x1d0d28=Array[_0x5805f2(0xde)](_0x578831[_0x5805f2(0xf8)]());return _0x1d0d28[_0x5805f2(0xc6)]?_0x37e9a3[_0x5805f2(0x10c)](_0x1d0d28[_0x5805f2(0xbb)]()):_0x578831[_0x5805f2(0xcc)]();}[_0x3d1b03(0xda)](_0x5772c0,_0x5b3232){const _0x1dc2a2=_0x3d1b03,{model:_0x20c6ac,plugins:_0x376897}=this[_0x1dc2a2(0x103)];if(_0x376897[_0x1dc2a2(0xf5)](_0x1dc2a2(0x11a))){const _0xca836b=_0x376897[_0x1dc2a2(0x11d)](_0x1dc2a2(0x11a))[_0x1dc2a2(0x106)](_0x5b3232);if(_0xca836b[_0x1dc2a2(0xc6)]){const _0x6fc7a4=this[_0x1dc2a2(0xf1)](_0x5772c0),_0x63506a=this[_0x1dc2a2(0xba)](_0xca836b,_0x6fc7a4);return _0x20c6ac[_0x1dc2a2(0x118)](_0x63506a,0x0);}}return null;}[_0x3d1b03(0xf1)](_0x156d62){const _0x25d59a=_0x3d1b03,_0xba2cb9=this[_0x25d59a(0x103)][_0x25d59a(0xf6)][_0x25d59a(0x11d)](_0x25d59a(0x11a)),_0x229dfa=this[_0x25d59a(0x103)][_0x25d59a(0x124)][_0x25d59a(0x105)](_0x156d62),_0x4e1e2c=Array[_0x25d59a(0xde)](_0x229dfa[_0x25d59a(0x114)]())[_0x25d59a(0xe9)](_0x240907=>_0x240907['is'](_0x25d59a(0xfa),_0x25d59a(0xdc)));let _0x56500e=0x0;return _0x4e1e2c[_0x25d59a(0xee)](_0x3d23b8=>{const _0x592100=_0x25d59a;_0x56500e+=_0xba2cb9[_0x592100(0x11e)](_0x3d23b8);}),_0x56500e;}[_0x3d1b03(0xba)](_0x7cae5d,_0x5c25c7){const _0x378ceb=_0x3d1b03,_0x52a1f7=this[_0x378ceb(0x103)][_0x378ceb(0xf6)][_0x378ceb(0x11d)](_0x378ceb(0x11a)),_0x4459a9=_0x52a1f7[_0x378ceb(0xcd)](_0x7cae5d),_0x5c8e02=_0x52a1f7[_0x378ceb(0xc8)](_0x7cae5d),_0x50e603=_0x4459a9[_0x378ceb(0x122)]+0x1,_0x58cfd1=_0x5c8e02[_0x378ceb(0x10b)],_0x3ef083=_0x7cae5d[0x0][_0x378ceb(0x113)](_0x378ceb(0xdc));for(let _0x222e96=0x0;_0x222e96<_0x5c25c7;_0x222e96++)_0x52a1f7[_0x378ceb(0x109)](_0x3ef083,{'at':_0x50e603});return _0x3ef083[_0x378ceb(0xf7)](_0x50e603)[_0x378ceb(0xf7)](_0x58cfd1);}[_0x3d1b03(0xf9)](_0x34f5ec,_0x5e5c40){const _0x3308ca=_0x3d1b03,{plugins:_0x438cff}=this[_0x3308ca(0x103)],{model:_0x333758}=_0x34f5ec;if(!_0x438cff[_0x3308ca(0xf5)](_0x3308ca(0x11a)))return;_0x438cff[_0x3308ca(0x11d)](_0x3308ca(0x11a))[_0x3308ca(0x106)](_0x5e5c40)[_0x3308ca(0xc6)]&&_0x333758[_0x3308ca(0x123)](_0x5e5c40);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x29ae7a=_0x108c;(function(_0x10b990,_0x5ac09a){const _0x4d968a=_0x108c,_0x16e8ba=_0x10b990();while(!![]){try{const _0x3c88be=-parseInt(_0x4d968a(0x134))/0x1+-parseInt(_0x4d968a(0x122))/0x2*(parseInt(_0x4d968a(0x14e))/0x3)+parseInt(_0x4d968a(0x199))/0x4*(-parseInt(_0x4d968a(0x13f))/0x5)+parseInt(_0x4d968a(0x179))/0x6*(-parseInt(_0x4d968a(0x1d3))/0x7)+parseInt(_0x4d968a(0x176))/0x8*(parseInt(_0x4d968a(0x180))/0x9)+parseInt(_0x4d968a(0x18c))/0xa*(-parseInt(_0x4d968a(0x151))/0xb)+-parseInt(_0x4d968a(0x1a7))/0xc*(-parseInt(_0x4d968a(0x177))/0xd);if(_0x3c88be===_0x5ac09a)break;else _0x16e8ba['push'](_0x16e8ba['shift']());}catch(_0x30fd21){_0x16e8ba['push'](_0x16e8ba['shift']());}}}(_0x9689,0x4a253));import{Plugin as _0x3ef3ec}from'ckeditor5/src/core.js';import{IconMagicWand as _0x2a04d5,IconRobotPencil as _0x1fdcb2}from'ckeditor5/src/icons.js';function _0x9689(){const _0x45e810=['menuView','delegate','source','aiLicenseKeyValid','licenseKey','add','aiLicenseKeyDomainLimit','showUI','EDITOR_TOP_SIDE','editor','copy','locale','getData','10212ntsimt','change:value','listenTo','715AqoQwX','body','length','_createAIAssistantUIButton','filter','errorView','label','REPLACE','ai.useTheme','fieldView','rawHtml','focus','_populateMenuBarMenu','_aiAssistantController','_formView','commands','aiAssistant','init','menuitemcheckbox','getSelectedElement','aiLicenseKeyNotAllowed','hideFakeVisualSelection','prompt','showFakeVisualSelection','change:isProcessing','from','order','ai.aiAssistant.disabledElements','getRanges','aiLicenseKeyExpired','hideUI','ai-commands-config-order-collision','AI\x20is\x20writing','AI\x20Commands','forEach','INSERT','ck-ai-commands-dropdown\x20','59712SuTiYP','26279045hrzHBV','items','1722IkUhXo','enabledCommandsIds','_licenseKeyCheckInterval','change:isError','_getMenuBarGroupButtons','selection','menuBar:aiCommands','414ZXipeY','execute','currentContext','groupId','domainLimit','set','change','insertContent','contentArea','values','getLimitElement','get','69110oImdZD','Error\x20during\x20AI\x20content\x20generation:\x20%0','usageLimit','map','promptView','ck-ai-assistant-ui','fire','splice','AI\x20Assistant','_dialog','menuBar:aiAssistant','tableOfContents','pluginName','5692uTdeWm','media','requiresContent','_forceMarkersCopy','render','DataTransfer','push','reset','buttonView','isCollapsed','replaceContent','aiLicenseKeyEvaluationLimit','_commandDefinitions','queryView','12xWkOfq','Generated\x20content:\x20%0','isPremiumPlugin','trialLimit','insertContentBelow','</p>','aiLicenseKeyTrialLimit','_showLicenseError','requires','replace','once','announce','_initAriaAiStatusChangeAnnouncements','change:enabledCommandsIds','custom','panelView','ck-ai-assistant-button\x20','polite','text/html','bind','expired','isFlat','_uiCssClasses','show','editing','AIAssistant','plugins','schema','_getResolvedCommandsDefinitions','sort','evaluationLimit','updateView','aiCommands','comment','wasMoved','showAIAssistant','text','buttons','aiLicenseKeyUsageLimit','_initView','updatePosition','children','hide','isEnabled','11333ThUQWG','componentFactory','92jfDPNl','includes','aiLicenseKeyInvalid','_aiAdapter','featureNotAllowed','_onExecute','ai.aiAssistant.contentAreaCssClass','command:','setSelection','update','config','\x20ck-ai-assistant-ui_theme','isOfficialPlugin','define','isOn','AIAssistantUI','groupLabel','getSelectedBlocks','540990ttATIK','trim','document','ai.aiAssistant.commands','addMany','destroy','model','textAdapter','view','menuPanelClass','invalid','1580miRvVF','<p>'];_0x9689=function(){return _0x45e810;};return _0x9689();}import{first as _0x2a3737,CKEditorError as _0x20b835}from'ckeditor5/src/utils.js';import{createDropdown as _0x2712fc,addMenuToDropdown as _0x11c1c0,ButtonView as _0x22489a,MenuBarMenuListItemButtonView as _0x49304f,Dialog as _0x333924,DialogViewPosition as _0x2861b6,MenuBarMenuView as _0x4082db,MenuBarMenuListView as _0x5bf707,MenuBarMenuListItemView as _0x1ae0e3}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x186f10,UNGROUPED_COMMANDS_GROUP_ID as _0x3eabc1}from'./utils/normalizecommandsconfig.js';import _0x3b9696 from'./aiassistantediting.js';import _0x1a92cc from'./adapters/aiadapter.js';import{getTranslation as _0x57b439}from'./utils/common-translations.js';import _0x9310d6 from'./ui/showaiassistantcommand.js';import _0x2e7df4 from'./ui/aiassistantcontroller.js';import _0x5c1fe6 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x9684b7}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x29ae7a(0x19e)];import{ClipboardMarkersUtils as _0x821b62}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1cc74f,DataTransfer as _0x1f3d7a}from'ckeditor5/src/engine.js';function _0x108c(_0x807250,_0x2b7271){const _0x9689d2=_0x9689();return _0x108c=function(_0x108c54,_0x465ab2){_0x108c54=_0x108c54-0x121;let _0x3cb7ad=_0x9689d2[_0x108c54];return _0x3cb7ad;},_0x108c(_0x807250,_0x2b7271);}export default class n extends _0x3ef3ec{[_0x29ae7a(0x145)];[_0x29ae7a(0x17b)];[_0x29ae7a(0x195)];[_0x29ae7a(0x15f)];[_0x29ae7a(0x125)];[_0x29ae7a(0x15e)];[_0x29ae7a(0x1bd)]='';static get[_0x29ae7a(0x198)](){const _0x5625ac=_0x29ae7a;return _0x5625ac(0x131);}static get[_0x29ae7a(0x12e)](){return!0x0;}static get[_0x29ae7a(0x1a9)](){return!0x0;}static get[_0x29ae7a(0x1af)](){return[_0x821b62,_0x3b9696,_0x1a92cc,_0x333924];}constructor(_0x41f6dc){const _0x339a97=_0x29ae7a;super(_0x41f6dc),_0x41f6dc[_0x339a97(0x12c)][_0x339a97(0x12f)](_0x339a97(0x16c),[_0x339a97(0x19a),_0x339a97(0x15b),_0x339a97(0x197)]),_0x41f6dc[_0x339a97(0x12c)][_0x339a97(0x12f)](_0x339a97(0x128),''),_0x41f6dc[_0x339a97(0x12c)][_0x339a97(0x12f)](_0x339a97(0x159),!0x0),this[_0x339a97(0x1bd)]=_0x339a97(0x191)+(_0x41f6dc[_0x339a97(0x12c)][_0x339a97(0x18b)](_0x339a97(0x159))?_0x339a97(0x12d):'');}[_0x29ae7a(0x162)](){const _0x107caf=_0x29ae7a,{editor:_0x341d19}=this;this[_0x107caf(0x125)]=_0x341d19[_0x107caf(0x1c1)][_0x107caf(0x18b)](_0x1a92cc),this[_0x107caf(0x195)]=_0x341d19[_0x107caf(0x1c1)][_0x107caf(0x18b)](_0x333924),this[_0x107caf(0x15f)]=null,this[_0x107caf(0x1a5)]=this[_0x107caf(0x1c3)]();const _0x31a195=new _0x9310d6(_0x341d19,Array[_0x107caf(0x16a)](this[_0x107caf(0x1a5)][_0x107caf(0x189)]()));_0x341d19[_0x107caf(0x160)][_0x107caf(0x146)](_0x107caf(0x1ca),_0x31a195),_0x341d19['ui'][_0x107caf(0x121)][_0x107caf(0x146)](_0x107caf(0x1c7),_0x674a9e=>{const _0x50888d=_0x107caf,_0x43865e=_0x2712fc(_0x674a9e);return _0x43865e[_0x50888d(0x185)]({'class':_0x50888d(0x175)+this[_0x50888d(0x1bd)]}),_0x43865e[_0x50888d(0x1a1)][_0x50888d(0x185)]({'label':_0x57b439(_0x674a9e,_0x50888d(0x172)),'icon':_0x2a04d5,'tooltip':!0x0}),_0x43865e['on'](_0x50888d(0x181),_0x8d50d2=>this[_0x50888d(0x127)](_0x8d50d2[_0x50888d(0x143)]['id'])),_0x11c1c0(_0x43865e,_0x341d19['ui'][_0x50888d(0x13c)][_0x50888d(0x152)],function(_0xaac8c8){const _0x213741=_0x50888d,_0x1ca4c7=_0x186f10(_0xaac8c8[_0x213741(0x12c)][_0x213741(0x18b)](_0x213741(0x137)),_0xaac8c8[_0x213741(0x14c)]),_0x5f4cb0=U(_0xaac8c8,_0x1ca4c7)[_0x213741(0x155)](_0x7f9d6=>_0x7f9d6[_0x213741(0x160)][_0x213741(0x153)]);if(0x1===_0x5f4cb0[_0x213741(0x153)])return U(_0xaac8c8,_0x5f4cb0[0x0][_0x213741(0x160)])[_0x213741(0x18f)](_0x5a2526=>({'id':_0x5a2526['id'],'label':_0x5a2526[_0x213741(0x157)]}));return _0x5f4cb0[_0x213741(0x18f)](_0x5a7e5=>{const _0x2e8b87=_0x213741,{groupId:_0x2ae087,groupLabel:_0x23849f,commands:_0x3703ef}=_0x5a7e5,_0x597673=U(_0xaac8c8,_0x3703ef)[_0x2e8b87(0x18f)](_0x44bf2c=>({'id':_0x44bf2c['id'],'label':_0x44bf2c[_0x2e8b87(0x157)]}));return{'id':_0x2ae087,'menu':_0x23849f||_0x2ae087,'children':_0x597673};});}(_0x341d19),{'ariaLabel':_0x57b439(_0x674a9e,_0x50888d(0x172))}),_0x43865e[_0x50888d(0x141)][_0x50888d(0x13d)]=_0x50888d(0x175)+this[_0x50888d(0x1bd)],_0x31a195['on'](_0x50888d(0x1b4),_0x3bc7ff),_0x43865e[_0x50888d(0x141)][_0x50888d(0x1b1)](_0x50888d(0x19d),_0x3bc7ff),_0x43865e;function _0x3bc7ff(){const _0x1d14d4=_0x50888d;_0x43865e[_0x1d14d4(0x1d2)]=_0x31a195[_0x1d14d4(0x17a)][_0x1d14d4(0x153)]>0x0;for(const _0x5e63e2 of _0x43865e[_0x1d14d4(0x141)][_0x1d14d4(0x1cc)])_0x5e63e2[_0x1d14d4(0x1d2)]=_0x31a195[_0x1d14d4(0x17a)][_0x1d14d4(0x123)](_0x5e63e2['id']);}}),_0x341d19['ui'][_0x107caf(0x121)][_0x107caf(0x146)](_0x107caf(0x17f),_0x1153f7=>{const _0x55b13c=_0x107caf,_0x3262c3=new _0x4082db(_0x1153f7);_0x3262c3[_0x55b13c(0x1a1)][_0x55b13c(0x185)]({'label':_0x57b439(_0x1153f7,_0x55b13c(0x172)),'icon':_0x2a04d5}),_0x3262c3[_0x55b13c(0x1ba)](_0x55b13c(0x1d2))['to'](_0x31a195,_0x55b13c(0x17a),_0xe7529f=>_0xe7529f[_0x55b13c(0x153)]>0x0);const _0x37a5ac=_0x186f10(_0x341d19[_0x55b13c(0x12c)][_0x55b13c(0x18b)](_0x55b13c(0x137)),_0x1153f7);return this[_0x55b13c(0x15d)](_0x31a195,_0x3262c3,_0x37a5ac,_0x3d3048=>this[_0x55b13c(0x127)](_0x3d3048)),_0x3262c3;}),_0x341d19['ui'][_0x107caf(0x121)][_0x107caf(0x146)](_0x107caf(0x161),()=>{const _0x1a291f=_0x107caf,_0x7b40f3=this[_0x1a291f(0x154)](_0x22489a);return _0x7b40f3[_0x1a291f(0x185)]({'tooltip':!0x0,'class':_0x1a291f(0x1b7)+this[_0x1a291f(0x1bd)]}),_0x7b40f3;}),_0x341d19['ui'][_0x107caf(0x121)][_0x107caf(0x146)](_0x107caf(0x196),()=>{const _0x1c80ae=_0x107caf,_0x520d45=this[_0x1c80ae(0x154)](_0x49304f);return _0x520d45[_0x1c80ae(0x185)]({'role':_0x1c80ae(0x163)}),_0x520d45;}),this[_0x107caf(0x145)]=this[_0x107caf(0x14a)][_0x107caf(0x12c)][_0x107caf(0x18b)](_0x107caf(0x145));const _0x2d7c0a=this[_0x107caf(0x14a)];this[_0x107caf(0x17b)]=setInterval(()=>{const _0x1519eb=_0x107caf;let _0x1b91d5;for(const _0x2655bf in _0x2d7c0a){const _0x29b431=_0x2655bf,_0x3d44d5=_0x2d7c0a[_0x29b431];if(_0x1519eb(0x144)==_0x3d44d5||_0x1519eb(0x124)==_0x3d44d5||_0x1519eb(0x16e)==_0x3d44d5||_0x1519eb(0x147)==_0x3d44d5||_0x1519eb(0x165)==_0x3d44d5||_0x1519eb(0x1a4)==_0x3d44d5||_0x1519eb(0x1ad)==_0x3d44d5||_0x1519eb(0x1cd)==_0x3d44d5){delete _0x2d7c0a[_0x29b431],_0x1b91d5=_0x3d44d5,clearInterval(this[_0x1519eb(0x17b)]),this[_0x1519eb(0x17b)]=void 0x0;break;}}_0x1519eb(0x124)==_0x1b91d5&&_0x2d7c0a[_0x1519eb(0x1ae)](_0x1519eb(0x13e)),_0x1519eb(0x16e)==_0x1b91d5&&_0x2d7c0a[_0x1519eb(0x1ae)](_0x1519eb(0x1bb)),_0x1519eb(0x147)==_0x1b91d5&&_0x2d7c0a[_0x1519eb(0x1ae)](_0x1519eb(0x184)),_0x1519eb(0x165)==_0x1b91d5&&_0x2d7c0a[_0x1519eb(0x1ae)](_0x1519eb(0x126),_0x1519eb(0x1c0)),_0x1519eb(0x1a4)==_0x1b91d5&&_0x2d7c0a[_0x1519eb(0x1ae)](_0x1519eb(0x1c5)),_0x1519eb(0x1ad)==_0x1b91d5&&_0x2d7c0a[_0x1519eb(0x1ae)](_0x1519eb(0x1aa)),_0x1519eb(0x1cd)==_0x1b91d5&&_0x2d7c0a[_0x1519eb(0x1ae)](_0x1519eb(0x18e));},0x3e8);}[_0x29ae7a(0x139)](){const _0x210d3b=_0x29ae7a;super[_0x210d3b(0x139)](),this[_0x210d3b(0x17b)]&&clearInterval(this[_0x210d3b(0x17b)]);}[_0x29ae7a(0x148)](_0x27c0c1='',_0x4a0f70='',_0x381115=_0x29ae7a(0x1b5)){const _0x406287=_0x29ae7a,_0x285ea7=this[_0x406287(0x14a)],_0x511268=_0x285ea7[_0x406287(0x1bf)][_0x406287(0x13c)],_0x558c61=_0x285ea7[_0x406287(0x1c1)][_0x406287(0x18b)](_0x3b9696),_0x27394b=_0x285ea7[_0x406287(0x1c1)][_0x406287(0x18b)](_0x821b62);_0x558c61[_0x406287(0x168)]();const _0x128843=new w(),_0x3dcc10=new ClipboardEvent(_0x406287(0x14b),{'clipboardData':_0x128843}),_0x3db6e8=new _0x1f3d7a(_0x128843),_0xc0e030=new _0x1cc74f(_0x511268,_0x3dcc10,{'dataTransfer':_0x3db6e8});_0x27394b[_0x406287(0x19c)](_0x406287(0x1c8),()=>{const _0x2ce389=_0x406287;_0x511268[_0x2ce389(0x136)][_0x2ce389(0x192)](_0x2ce389(0x14b),_0xc0e030);}),this[_0x406287(0x15f)]||(this[_0x406287(0x1ce)](),this[_0x406287(0x15e)]=new _0x2e7df4(_0x285ea7,this[_0x406287(0x125)][_0x406287(0x13b)],this[_0x406287(0x15f)]));let _0x2549da=_0x3db6e8[_0x406287(0x14d)](_0x406287(0x1b9));const _0x3a84e3=_0x285ea7[_0x406287(0x13a)][_0x406287(0x136)][_0x406287(0x17e)],_0xec90a0=Array[_0x406287(0x16a)](_0x3a84e3[_0x406287(0x16d)]());0x1===_0xec90a0[_0x406287(0x153)]&&_0xec90a0[0x0][_0x406287(0x1bc)]&&!_0x3a84e3[_0x406287(0x164)]()&&''!==_0x2549da[_0x406287(0x1b0)](/ /g,'')[_0x406287(0x135)]()&&(_0x2549da=_0x406287(0x140)+_0x2549da+_0x406287(0x1ac)),this[_0x406287(0x15e)][_0x406287(0x1c6)]({'actionId':_0x381115,'query':_0x27c0c1,'htmlContent':_0x2549da,'label':_0x4a0f70,'mainActionLabel':_0x9684b7[_0x285ea7[_0x406287(0x13a)][_0x406287(0x136)][_0x406287(0x17e)][_0x406287(0x1a2)]?_0x406287(0x174):_0x406287(0x158)]}),_0x406287(0x161)!==this[_0x406287(0x195)]['id']?this[_0x406287(0x195)][_0x406287(0x1be)]({'id':_0x406287(0x161),'icon':_0x1fdcb2,'title':_0x57b439(this[_0x406287(0x14a)][_0x406287(0x14c)],_0x406287(0x194)),'content':this[_0x406287(0x15f)],'position':_0x2861b6[_0x406287(0x149)],'onShow':()=>{const _0x5eb3bd=_0x406287;this[_0x5eb3bd(0x15f)][_0x5eb3bd(0x15c)]();},'onHide':()=>{const _0x327ba8=_0x406287;this[_0x327ba8(0x15e)][_0x327ba8(0x1a0)](),_0x558c61[_0x327ba8(0x166)]();}}):this[_0x406287(0x195)][_0x406287(0x13c)][_0x406287(0x1c9)]||this[_0x406287(0x195)][_0x406287(0x13c)][_0x406287(0x1cf)]();}[_0x29ae7a(0x16f)](){const _0x53153=_0x29ae7a;this[_0x53153(0x195)][_0x53153(0x1d1)]();}[_0x29ae7a(0x1c3)](){const _0x2a5406=_0x29ae7a,_0x3e7c36=new Map(),_0x27a258=_0x186f10(this[_0x2a5406(0x14a)][_0x2a5406(0x12c)][_0x2a5406(0x18b)](_0x2a5406(0x137)),this[_0x2a5406(0x14a)][_0x2a5406(0x14c)]);for(const _0x533ce2 of _0x27a258)for(const _0x3c739f of _0x533ce2[_0x2a5406(0x160)])_0x3e7c36[_0x2a5406(0x185)](_0x3c739f['id'],{..._0x3c739f,'groupId':_0x533ce2[_0x2a5406(0x183)],'groupLabel':_0x533ce2[_0x2a5406(0x132)]||_0x533ce2[_0x2a5406(0x183)]});return _0x3e7c36;}[_0x29ae7a(0x154)](_0x3267fb){const _0x1379c8=_0x29ae7a,_0x32ef7a=this[_0x1379c8(0x14a)],_0x3bf45f=_0x32ef7a[_0x1379c8(0x160)][_0x1379c8(0x18b)](_0x1379c8(0x1ca)),_0x1da6da=new _0x3267fb(_0x32ef7a[_0x1379c8(0x14c)]);return _0x1da6da[_0x1379c8(0x185)]({'label':_0x57b439(_0x32ef7a[_0x1379c8(0x14c)],_0x1379c8(0x194)),'icon':_0x1fdcb2,'isToggleable':!0x0}),_0x1da6da[_0x1379c8(0x1ba)](_0x1379c8(0x1d2))['to'](_0x3bf45f),_0x1da6da[_0x1379c8(0x1ba)](_0x1379c8(0x130))['to'](this[_0x1379c8(0x195)],'id',_0x4ef6c9=>_0x1379c8(0x161)===_0x4ef6c9),this[_0x1379c8(0x150)](_0x1da6da,_0x1379c8(0x181),()=>{const _0x353126=_0x1379c8;_0x1da6da[_0x353126(0x130)]?this[_0x353126(0x16f)]():_0x3bf45f[_0x353126(0x181)]();}),_0x1da6da;}[_0x29ae7a(0x1ce)](){const _0x46f028=_0x29ae7a,_0x5dae45=this[_0x46f028(0x14a)][_0x46f028(0x1c1)][_0x46f028(0x18b)](_0x3b9696);this[_0x46f028(0x15f)]=new _0x5c1fe6(this[_0x46f028(0x14a)][_0x46f028(0x14c)],this[_0x46f028(0x1bd)],this[_0x46f028(0x14a)][_0x46f028(0x12c)][_0x46f028(0x18b)](_0x46f028(0x128))),this[_0x46f028(0x15f)]['on'](_0x46f028(0x14f),()=>{const _0x52060d=_0x46f028;this[_0x52060d(0x195)][_0x52060d(0x13c)][_0x52060d(0x1c9)]||this[_0x52060d(0x195)][_0x52060d(0x13c)][_0x52060d(0x1cf)]();}),this[_0x46f028(0x15f)][_0x46f028(0x190)][_0x46f028(0x1a6)][_0x46f028(0x15a)]['on'](_0x46f028(0x12b),()=>{const _0x588e9f=_0x46f028;this[_0x588e9f(0x195)][_0x588e9f(0x13c)][_0x588e9f(0x1c9)]||this[_0x588e9f(0x195)][_0x588e9f(0x13c)][_0x588e9f(0x1cf)]();}),this[_0x46f028(0x150)](this[_0x46f028(0x15f)],_0x46f028(0x1a3),()=>{const _0xf5333b=_0x46f028;_0x5dae45[_0xf5333b(0x187)](this[_0xf5333b(0x15e)][_0xf5333b(0x182)]),this[_0xf5333b(0x16f)]();}),this[_0x46f028(0x150)](this[_0x46f028(0x15f)],_0x46f028(0x1ab),()=>{const _0x18fd47=_0x46f028;_0x5dae45[_0x18fd47(0x1ab)](this[_0x18fd47(0x15e)][_0x18fd47(0x182)]),this[_0x18fd47(0x16f)]();}),this[_0x46f028(0x1b3)]();}[_0x29ae7a(0x1b3)](){const _0xf42d88=_0x29ae7a,{locale:_0x24447d,ui:{ariaLiveAnnouncer:_0x4543db}}=this[_0xf42d88(0x14a)];this[_0xf42d88(0x15f)][_0xf42d88(0x188)]['on'](_0xf42d88(0x169),(_0x48ca0f,_0x3391ae,_0x5b5ce9)=>{const _0x114b2c=_0xf42d88,_0xd4b60c=this[_0x114b2c(0x15e)][_0x114b2c(0x182)];_0x5b5ce9?_0x4543db[_0x114b2c(0x1b2)](_0x57b439(_0x24447d,_0x114b2c(0x171))):_0xd4b60c&&_0x4543db[_0x114b2c(0x1b2)](_0x57b439(_0x24447d,_0x114b2c(0x1a8),_0xd4b60c),{'politeness':_0x114b2c(0x1b8),'isUnsafeHTML':!0x0});}),this[_0xf42d88(0x15f)]['on'](_0xf42d88(0x17c),(_0x3f55c8,_0x216037,_0x3f27b3)=>{const _0x39e936=_0xf42d88;if(_0x3f27b3){const _0x325c78=this[_0x39e936(0x15f)][_0x39e936(0x156)][_0x39e936(0x1cb)];_0x4543db[_0x39e936(0x1b2)](_0x57b439(_0x24447d,_0x39e936(0x18d),_0x325c78));}});}[_0x29ae7a(0x127)](_0x314ddb){const _0x58f862=_0x29ae7a,_0x277b85=this[_0x58f862(0x1a5)][_0x58f862(0x18b)](_0x314ddb),_0x4ea76f=this[_0x58f862(0x14a)],_0x472cba=_0x4ea76f[_0x58f862(0x13a)][_0x58f862(0x136)][_0x58f862(0x17e)],_0x5a644e=_0x4ea76f[_0x58f862(0x160)][_0x58f862(0x18b)](_0x58f862(0x1ca)),_0x347dbc=_0x4ea76f[_0x58f862(0x1c1)][_0x58f862(0x18b)](_0x3b9696),_0x547d73=''+(_0x277b85[_0x58f862(0x183)]!==_0x3eabc1?_0x277b85[_0x58f862(0x132)]+':\x20':'')+_0x277b85[_0x58f862(0x157)];if(!0x1!==_0x277b85[_0x58f862(0x19b)]&&_0x472cba[_0x58f862(0x1a2)]){const _0x463e4e=_0x2a3737(_0x472cba[_0x58f862(0x133)]())||_0x4ea76f[_0x58f862(0x13a)][_0x58f862(0x1c2)][_0x58f862(0x18a)](_0x472cba);_0x4ea76f[_0x58f862(0x13a)][_0x58f862(0x186)](_0x5b7bb8=>{const _0x30e4a3=_0x58f862;_0x5b7bb8[_0x30e4a3(0x12a)](_0x463e4e,'in');});}_0x347dbc[_0x58f862(0x168)](),_0x5a644e[_0x58f862(0x181)](_0x277b85[_0x58f862(0x167)],_0x547d73,_0x58f862(0x129)+_0x314ddb);}[_0x29ae7a(0x15d)](_0x362cfe,_0x2c8b0a,_0x499af5,_0x5675ec){const _0x482c7f=_0x29ae7a,_0x1a486c=this[_0x482c7f(0x14a)],_0x503985=_0x1a486c[_0x482c7f(0x14c)],_0x40d31c=new _0x5bf707(_0x503985),_0x15bb21=U(_0x1a486c,_0x499af5)[_0x482c7f(0x155)](_0x3d35a1=>_0x3d35a1[_0x482c7f(0x160)][_0x482c7f(0x153)]);0x1===_0x15bb21[_0x482c7f(0x153)]?this[_0x482c7f(0x17d)]({'command':_0x362cfe,'commands':_0x15bb21[0x0][_0x482c7f(0x160)],'parentMenuView':_0x2c8b0a,'onExecute':_0x5675ec})[_0x482c7f(0x173)](_0x5a4047=>_0x40d31c[_0x482c7f(0x178)][_0x482c7f(0x146)](_0x5a4047)):_0x15bb21[_0x482c7f(0x173)](({groupId:_0x209a3f,groupLabel:_0x15dc8b,commands:_0x4da3ab})=>{const _0x1272b2=_0x482c7f,_0x2e130e=new _0x1ae0e3(_0x503985,_0x2c8b0a),_0x68affb=new _0x4082db(_0x503985),_0x2e355d=new _0x5bf707(_0x503985),_0x3bc897=this[_0x1272b2(0x17d)]({'command':_0x362cfe,'commands':_0x4da3ab,'parentMenuView':_0x68affb,'onExecute':_0x5675ec});_0x68affb[_0x1272b2(0x1a1)][_0x1272b2(0x185)]({'label':_0x15dc8b||_0x209a3f}),_0x68affb[_0x1272b2(0x142)](_0x1272b2(0x181))['to'](_0x2c8b0a),_0x2e355d[_0x1272b2(0x178)][_0x1272b2(0x138)](_0x3bc897),_0x68affb[_0x1272b2(0x1b6)][_0x1272b2(0x1d0)][_0x1272b2(0x146)](_0x2e355d),_0x2e130e[_0x1272b2(0x1d0)][_0x1272b2(0x146)](_0x68affb),_0x40d31c[_0x1272b2(0x178)][_0x1272b2(0x146)](_0x2e130e);}),_0x2c8b0a[_0x482c7f(0x1b6)][_0x482c7f(0x1d0)][_0x482c7f(0x146)](_0x40d31c);}[_0x29ae7a(0x17d)]({command:_0x128fed,commands:_0x3f5011,parentMenuView:_0x24e19a,onExecute:_0x42d410}){const _0x263432=_0x29ae7a,_0x4d8439=this[_0x263432(0x14a)],_0x635326=_0x4d8439[_0x263432(0x14c)];return U(_0x4d8439,_0x3f5011)[_0x263432(0x18f)](_0x3f8299=>{const _0x2ccde3=_0x263432,_0x16a7b7=new _0x1ae0e3(_0x635326,_0x24e19a),_0xe67a4f=new _0x49304f(_0x635326);return _0xe67a4f[_0x2ccde3(0x185)]({'label':_0x3f8299[_0x2ccde3(0x157)]}),_0xe67a4f[_0x2ccde3(0x142)](_0x2ccde3(0x181))['to'](_0x24e19a),_0xe67a4f['on'](_0x2ccde3(0x181),()=>_0x42d410(_0x3f8299['id'])),_0xe67a4f[_0x2ccde3(0x1ba)](_0x2ccde3(0x1d2))['to'](_0x128fed,_0x2ccde3(0x17a),_0x2e1d02=>_0x2e1d02[_0x2ccde3(0x123)](_0x3f8299['id'])),_0x16a7b7[_0x2ccde3(0x1d0)][_0x2ccde3(0x146)](_0xe67a4f),_0x16a7b7;});}}function B(_0x2112ba,_0x319a44){const _0x212019=_0x29ae7a;return void 0x0!==_0x2112ba[_0x212019(0x16b)]&&void 0x0===_0x319a44[_0x212019(0x16b)]?0x1:void 0x0===_0x2112ba[_0x212019(0x16b)]&&void 0x0!==_0x319a44[_0x212019(0x16b)]?-0x1:void 0x0!==_0x2112ba[_0x212019(0x16b)]&&void 0x0!==_0x319a44[_0x212019(0x16b)]?_0x2112ba[_0x212019(0x16b)]-_0x319a44[_0x212019(0x16b)]:0x0;}function U(_0x336ba1,_0x4b5de0){const _0xcc1642=_0x29ae7a;_0x4b5de0[_0xcc1642(0x1c4)](B);const _0x216ddd={},_0x5ffdcc=[];for(const _0x497ca2 of _0x4b5de0)if(void 0x0!==_0x497ca2[_0xcc1642(0x16b)]){if(_0x497ca2[_0xcc1642(0x16b)]in _0x216ddd)throw new _0x20b835(_0xcc1642(0x170),_0x336ba1,{'conflictingDefinitions':[_0x497ca2,_0x216ddd[_0x497ca2[_0xcc1642(0x16b)]]]});_0x216ddd[_0x497ca2[_0xcc1642(0x16b)]]=_0x497ca2,_0x5ffdcc[_0xcc1642(0x193)](_0x497ca2[_0xcc1642(0x16b)],0x0,_0x497ca2);}else _0x5ffdcc[_0xcc1642(0x19f)](_0x497ca2);return _0x5ffdcc;}
|
|
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
|
-
|
|
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();}
|