@ckeditor/ckeditor5-ai 44.2.0-alpha.10 → 44.2.0-alpha.12
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/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
|
+
function _0x50c7(){const _0x4d6b44=['English','isPremiumPlugin','translateGerman','Translate\x20the\x20content\x20to\x20French\x20language.','Friendly','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','French','Continue','Change\x20style','continue','translateSpanish','summarize','Change\x20tone','push','ai.aiAssistant.removeCommands','makeLonger','editOrReview','friendly','poetic','Generate\x20from\x20selection','translate','legal','33ZHOjIQ','Summarize','ai.aiAssistant.extraCommandGroups','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','direct','Direct','Translate\x20the\x20content\x20to\x20German\x20language.','define','translateChinese','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','config','Edit\x20or\x20review','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','changeStyle','translateArabic','Hindi','groupId','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','translateEnglish','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','generate','translatePortuguese','Improve\x20writing','Simplified\x20Chinese','Legal','confident','Spanish','Translate\x20the\x20content\x20to\x20Spanish\x20language.','business','Portuguese','4689JnTSUX','64158OmYJkC','journalism','Journalism','changeTone','2363835LScpDO','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','casual','Simplify\x20language','Translate','Make\x20shorter','ai.aiAssistant.commands','1078164WVjsFr','Confident','concat','Arabic','Translate\x20the\x20content\x20to\x20Arabic\x20language.','find','commands','AIAssistant','1637958uRvFjr','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','209872WpTVDx','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Poetic','set','pluginName','translateFrench','locale','translateHindi','includes','professional','requires','Business','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','makeShorter','forEach','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Make\x20longer','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','isOfficialPlugin','ai.aiAssistant.preserveComments','get','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','simplifyLanguage','2077680XpBDur','2512WRKyJk','German','improveWriting','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Casual','Professional','filter'];_0x50c7=function(){return _0x4d6b44;};return _0x50c7();}const _0x518fa4=_0x297a;(function(_0x3e60e8,_0x198100){const _0x21d173=_0x297a,_0x5ebf0c=_0x3e60e8();while(!![]){try{const _0x53f483=-parseInt(_0x21d173(0x169))/0x1+-parseInt(_0x21d173(0x153))/0x2*(parseInt(_0x21d173(0x1a1))/0x3)+-parseInt(_0x21d173(0x15e))/0x4+parseInt(_0x21d173(0x157))/0x5+parseInt(_0x21d173(0x183))/0x6+parseInt(_0x21d173(0x166))/0x7+parseInt(_0x21d173(0x184))/0x8*(parseInt(_0x21d173(0x152))/0x9);if(_0x53f483===_0x198100)break;else _0x5ebf0c['push'](_0x5ebf0c['shift']());}catch(_0x16e453){_0x5ebf0c['push'](_0x5ebf0c['shift']());}}}(_0x50c7,0x5dd61));import{Plugin as _0x8082f7}from'ckeditor5/src/core.js';function _0x297a(_0x8ef33c,_0x177a49){const _0x50c7d5=_0x50c7();return _0x297a=function(_0x297adb,_0x58bac8){_0x297adb=_0x297adb-0x13e;let _0x4d8d70=_0x50c7d5[_0x297adb];return _0x4d8d70;},_0x297a(_0x8ef33c,_0x177a49);}import _0x251008 from'./aiassistantui.js';import _0x1b049c from'./aiassistantediting.js';import{getTranslation as _0x35dbe5}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x183ce1}from'./utils/normalizecommandsconfig.js';export default class r extends _0x8082f7{static get[_0x518fa4(0x175)](){return[_0x251008,_0x1b049c];}static get[_0x518fa4(0x16f)](){const _0x2b03e9=_0x518fa4;return _0x2b03e9(0x165);}static get[_0x518fa4(0x17d)](){return!0x0;}static get[_0x518fa4(0x18c)](){return!0x0;}constructor(_0x50f6a5){const _0xae9ffe=_0x518fa4;super(_0x50f6a5);const _0x434eb4=_0x50f6a5[_0xae9ffe(0x13e)],_0x53f103=_0x50f6a5[_0xae9ffe(0x171)];_0x434eb4[_0xae9ffe(0x1a9)](_0xae9ffe(0x17e),!0x0),_0x434eb4[_0xae9ffe(0x1a9)](_0xae9ffe(0x15d),getDefaultCommands(_0x53f103)),_0x434eb4[_0xae9ffe(0x1a9)](_0xae9ffe(0x1a3),[]),_0x434eb4[_0xae9ffe(0x1a9)](_0xae9ffe(0x199),[]);let _0x2c49c4=_0x183ce1(_0x434eb4[_0xae9ffe(0x17f)](_0xae9ffe(0x15d)),_0x53f103);const _0x406620=_0x434eb4[_0xae9ffe(0x17f)](_0xae9ffe(0x1a3)),_0x2c9a6b=_0x434eb4[_0xae9ffe(0x17f)](_0xae9ffe(0x199));_0x406620[_0xae9ffe(0x179)](_0x16a4b8=>{const _0x4704c9=_0xae9ffe,_0x469acf=_0x2c49c4[_0x4704c9(0x163)](_0x4c0ef4=>_0x4c0ef4[_0x4704c9(0x144)]===_0x16a4b8[_0x4704c9(0x144)]);_0x469acf?_0x469acf[_0x4704c9(0x164)]=_0x469acf[_0x4704c9(0x164)][_0x4704c9(0x160)](_0x16a4b8[_0x4704c9(0x164)]):_0x2c49c4[_0x4704c9(0x198)](_0x16a4b8);}),_0x2c49c4=_0x2c49c4[_0xae9ffe(0x18a)](_0x31de9d=>!_0x2c9a6b[_0xae9ffe(0x173)](_0x31de9d[_0xae9ffe(0x144)])),_0x2c49c4[_0xae9ffe(0x179)](_0x2eceee=>{const _0x39b68c=_0xae9ffe;_0x2eceee[_0x39b68c(0x164)]=_0x2eceee[_0x39b68c(0x164)][_0x39b68c(0x18a)](_0x218673=>!_0x2c9a6b[_0x39b68c(0x173)](_0x218673['id']));}),_0x434eb4[_0xae9ffe(0x16e)](_0xae9ffe(0x15d),_0x2c49c4);}}export function getDefaultCommands(_0x51551f){const _0x9b55c6=_0x518fa4;return[{'groupId':_0x9b55c6(0x19b),'groupLabel':_0x35dbe5(_0x51551f,_0x9b55c6(0x13f)),'commands':[{'id':_0x9b55c6(0x186),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x14a)),'prompt':_0x9b55c6(0x177)},{'id':_0x9b55c6(0x178),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x15c)),'prompt':_0x9b55c6(0x181)},{'id':_0x9b55c6(0x19a),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x17b)),'prompt':_0x9b55c6(0x145)},{'id':_0x9b55c6(0x182),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x15a)),'prompt':_0x9b55c6(0x140)}]},{'groupId':_0x9b55c6(0x148),'groupLabel':_0x35dbe5(_0x51551f,_0x9b55c6(0x19e)),'commands':[{'id':_0x9b55c6(0x196),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x1a2)),'prompt':_0x9b55c6(0x187)},{'id':_0x9b55c6(0x194),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x192)),'prompt':_0x9b55c6(0x1ab)}]},{'groupId':_0x9b55c6(0x156),'groupLabel':_0x35dbe5(_0x51551f,_0x9b55c6(0x197)),'commands':[{'id':_0x9b55c6(0x174),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x189)),'prompt':_0x9b55c6(0x1a5)},{'id':_0x9b55c6(0x159),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x188)),'prompt':_0x9b55c6(0x147)},{'id':_0x9b55c6(0x1a6),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x1a7)),'prompt':_0x9b55c6(0x190)},{'id':_0x9b55c6(0x14d),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x15f)),'prompt':_0x9b55c6(0x16a)},{'id':_0x9b55c6(0x19c),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x18f)),'prompt':_0x9b55c6(0x16c)}]},{'groupId':_0x9b55c6(0x141),'groupLabel':_0x35dbe5(_0x51551f,_0x9b55c6(0x193)),'commands':[{'id':_0x9b55c6(0x150),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x176)),'prompt':_0x9b55c6(0x158)},{'id':_0x9b55c6(0x1a0),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x14c)),'prompt':_0x9b55c6(0x17c)},{'id':_0x9b55c6(0x154),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x155)),'prompt':_0x9b55c6(0x1a4)},{'id':_0x9b55c6(0x19d),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x16d)),'prompt':_0x9b55c6(0x180)}]},{'groupId':_0x9b55c6(0x19f),'groupLabel':_0x35dbe5(_0x51551f,_0x9b55c6(0x15b)),'commands':[{'id':_0x9b55c6(0x146),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x18b)),'prompt':_0x9b55c6(0x168)},{'id':_0x9b55c6(0x195),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x14e)),'prompt':_0x9b55c6(0x14f)},{'id':_0x9b55c6(0x149),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x151)),'prompt':_0x9b55c6(0x16b)},{'id':_0x9b55c6(0x18d),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x185)),'prompt':_0x9b55c6(0x1a8)},{'id':_0x9b55c6(0x170),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x191)),'prompt':_0x9b55c6(0x18e)},{'id':_0x9b55c6(0x1aa),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x14b)),'prompt':_0x9b55c6(0x17a)},{'id':_0x9b55c6(0x172),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x143)),'prompt':_0x9b55c6(0x167)},{'id':_0x9b55c6(0x142),'label':_0x35dbe5(_0x51551f,_0x9b55c6(0x161)),'prompt':_0x9b55c6(0x162)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xaebadc=_0x7fee;function _0x7fee(_0x3ae19b,_0x2b5f00){const _0x5844e5=_0x5844();return _0x7fee=function(_0x7fee87,_0x29b002){_0x7fee87=_0x7fee87-0xfb;let _0x29712b=_0x5844e5[_0x7fee87];return _0x29712b;},_0x7fee(_0x3ae19b,_0x2b5f00);}(function(_0x28ecf0,_0x18de9c){const _0x46511f=_0x7fee,_0x42f8b4=_0x28ecf0();while(!![]){try{const _0xa9c741=parseInt(_0x46511f(0x132))/0x1*(parseInt(_0x46511f(0x13b))/0x2)+-parseInt(_0x46511f(0x121))/0x3+parseInt(_0x46511f(0x153))/0x4+-parseInt(_0x46511f(0x11e))/0x5+-parseInt(_0x46511f(0x10e))/0x6+-parseInt(_0x46511f(0x124))/0x7+parseInt(_0x46511f(0xff))/0x8;if(_0xa9c741===_0x18de9c)break;else _0x42f8b4['push'](_0x42f8b4['shift']());}catch(_0x4edb30){_0x42f8b4['push'](_0x42f8b4['shift']());}}}(_0x5844,0x4eb31));import{uid as _0x595bd8}from'ckeditor5/src/utils.js';import{Plugin as _0x3dd7c9}from'ckeditor5/src/core.js';function _0x5844(){const _0x3704b4=['parse','getLastPosition','fromCharCode','2039190WtyMEC','DataTransfer','_pasteHTMLUsingClipboard','getSelectedTableCells','getChildren','map','conversion','has','filter','isOfficialPlugin','last','createPositionAfter','document','markers','_getDefaultInsertBelowPosition','ai.useTheme','525395gKliLz','createRange','end','339792NGpDNH','length','getMarkersGroup','3248000STUCTQ','_prepareTableInsertBelowPosition','model','findAncestor','createSelection','data','createPositionAt','resultRange','text/html','join','setSelection','_getTableRowCountFromContent','start','for','325895jQcfPq','ck-fake-ai-selection','ai-ui','editingDowncast','_createEmptyTableRows','updateMarker','isContent','hideFakeVisualSelection','isAtEnd','2agaKFq','ck-ai-assistant-ui_theme','push','insertContent','element','href','insertContentBelow','getRows','getRowIndexes','AIAssistantEditing','addClass','markerToElement','isCollapsed','markerToHighlight','markerRange','getFirstRange','once','showFakeVisualSelection','deleteContent','pluginName','TableUtils','isPremiumPlugin','getChild','forEach','1792312jYeKQg','init','from','_resetContentOfSelectedTableCells','get','config','insertRows','editor','change','paste','off','schema','first','ck-fake-ai-selection_collapsed','selection','plugins','fire','getRanges','getSelectedBlocks','lowest','createUIElement','removeMarker','table','getLastMatchingPosition','4564704bOUiXF','pop','afterInit','getRange','_getAISelection','addMarker','editing','getColumnIndexes','contentInsertion','span','setData','canEditAt'];_0x5844=function(){return _0x3704b4;};return _0x5844();}import{ClipboardPipeline as _0x6fcfed}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5671d1,DataTransfer as _0x5da2a1}from'ckeditor5/src/engine.js';const w=globalThis[_0xaebadc(0x10f)],f=_0xaebadc(0x134);export default class a extends _0x3dd7c9{static get[_0xaebadc(0x14e)](){const _0x324bfe=_0xaebadc;return _0x324bfe(0x144);}static get[_0xaebadc(0x117)](){return!0x0;}static get[_0xaebadc(0x150)](){return!0x0;}[_0xaebadc(0x154)](){const _0x4c7979=_0xaebadc,{editor:_0x470198}=this,_0x19317b=[_0x4c7979(0x133)];_0x470198[_0x4c7979(0x158)][_0x4c7979(0x157)](_0x4c7979(0x11d))&&_0x19317b[_0x4c7979(0x13d)](_0x4c7979(0x13c)),_0x470198[_0x4c7979(0x114)][_0x4c7979(0x131)](_0x4c7979(0x135))[_0x4c7979(0x148)]({'model':f,'view':{'classes':_0x19317b,'priority':0xc}}),_0x470198[_0x4c7979(0x114)][_0x4c7979(0x131)](_0x4c7979(0x135))[_0x4c7979(0x146)]({'model':f,'view':(_0x5afd89,{writer:_0x57b59e})=>{const _0x37fefe=_0x4c7979;if(!_0x5afd89[_0x37fefe(0x149)][_0x37fefe(0x147)])return null;const _0x3885af=_0x57b59e[_0x37fefe(0xfb)](_0x37fefe(0x108));return _0x57b59e[_0x37fefe(0x145)]([_0x37fefe(0x133),_0x37fefe(0x160)],_0x3885af),_0x3885af;}});}[_0xaebadc(0x101)](){!async function(_0x48911d){const _0x1c25b5=_0x4aa6b8([0x67,0x48,0x6d,0x39,0x6b,0x7a,0x37,0x50,0x6a,0x33,0x45,0x51,0x70,0x63,0x66,0x4f,0x71,0x55,0x5a,0x68,0x65,0x77,0x6c,0x79,0x72,0x57,0x43,0x4b,0x56,0x58,0x53,0x4d,0x4e,0x75,0x30,0x74,0x59,0x44,0x52,0x64,0x31,0x46,0x41,0x61,0x62,0x47,0x38,0x36,0x49,0x54,0x69,0x6f,0x73,0x32,0x78,0x35,0x4c,0x4a,0x34,0x42,0x6e,0x76]),_0x3987de=0x502dc8d7,_0x3b59e8=0x502a966f^_0x3987de,_0x4fe7cc=window[_0x4aa6b8([0x44,0x61,0x74,0x65])][_0x4aa6b8([0x6e,0x6f,0x77])](),_0x4ddc28=_0x48911d[_0x4aa6b8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33b7b4=new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5617f4=>{_0x4ddc28[_0x4aa6b8([0x6f,0x6e,0x63,0x65])](_0x4aa6b8([0x72,0x65,0x61,0x64,0x79]),_0x5617f4);}),_0x22cee0={[_0x4aa6b8([0x6b,0x74,0x79])]:_0x4aa6b8([0x45,0x43]),[_0x4aa6b8([0x75,0x73,0x65])]:_0x4aa6b8([0x73,0x69,0x67]),[_0x4aa6b8([0x63,0x72,0x76])]:_0x4aa6b8([0x50,0x2d,0x32,0x35,0x36]),[_0x4aa6b8([0x78])]:_0x4aa6b8([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]),[_0x4aa6b8([0x79])]:_0x4aa6b8([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]),[_0x4aa6b8([0x61,0x6c,0x67])]:_0x4aa6b8([0x45,0x53,0x32,0x35,0x36])},_0x3ca2c8=_0x4ddc28[_0x4aa6b8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4aa6b8([0x67,0x65,0x74])](_0x4aa6b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x338968(){let _0x5cf1d6,_0xbe35ca=null,_0x6c54e4=null;try{if(_0x3ca2c8==_0x4aa6b8([0x47,0x50,0x4c]))return _0x4aa6b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cf1d6=_0x362135(),!_0x5cf1d6)return _0x4aa6b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cf1d6[_0x4aa6b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6c54e4=_0x56619b(_0x5cf1d6[_0x4aa6b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cf1d6[_0x4aa6b8([0x6a,0x74,0x69])])),await _0x3275e7()?_0x113aae()?_0x44c782()?_0x4aa6b8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xefcf12()?(_0x5cf1d6[_0x4aa6b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4aa6b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbe35ca=_0x351eac(_0x4aa6b8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5cf1d6[_0x4aa6b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4aa6b8([0x74,0x72,0x69,0x61,0x6c])&&(_0xbe35ca=_0x351eac(_0x4aa6b8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x299e07()):_0x4aa6b8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4aa6b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4aa6b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3b2a1e){return _0x4aa6b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44c782(){const _0x3b5587=[_0x4aa6b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4aa6b8([0x74,0x72,0x69,0x61,0x6c])][_0x4aa6b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cf1d6[_0x4aa6b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4fe7cc/0x3e8:0xe10*_0x3b59e8;return _0x5cf1d6[_0x4aa6b8([0x65,0x78,0x70])]<_0x3b5587;}function _0x113aae(){const _0x2fff9d=_0x5cf1d6[_0x4aa6b8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2fff9d&&(!!_0x2fff9d[_0x4aa6b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa6b8([0x2a]))||!!_0x2fff9d[_0x4aa6b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa6b8([0x41,0x49])));}function _0xefcf12(){const _0x14c230=_0x7fee,_0x3f685e=_0x5cf1d6[_0x4aa6b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f685e||0x0==_0x3f685e[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4badeb}=new URL(window[_0x4aa6b8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x14c230(0x140)]);if(_0x3f685e[_0x4aa6b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4badeb))return!0x0;const _0x27e8a4=_0x4badeb[_0x4aa6b8([0x73,0x70,0x6c,0x69,0x74])](_0x4aa6b8([0x2e]));return _0x3f685e[_0x4aa6b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d241e=>_0x4d241e[_0x4aa6b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa6b8([0x2a])))[_0x4aa6b8([0x6d,0x61,0x70])](_0x2d836d=>_0x2d836d[_0x4aa6b8([0x73,0x70,0x6c,0x69,0x74])](_0x4aa6b8([0x2e])))[_0x4aa6b8([0x73,0x6f,0x6d,0x65])](_0x5be2cd=>_0x27e8a4[_0x4aa6b8([0x65,0x76,0x65,0x72,0x79])]((_0x2c55d7,_0x1217e1)=>_0x5be2cd[_0x1217e1]===_0x2c55d7||_0x5be2cd[_0x1217e1]===_0x4aa6b8([0x2a])));}function _0x299e07(){return _0xbe35ca&&_0x6c54e4?new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a02c2,_0x3903c0)=>{_0xbe35ca[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0x4a02c2,_0x3903c0),_0x6c54e4[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0xae968c=>{_0xae968c!=_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64])&&_0x4a02c2(_0xae968c);},_0x3903c0);}):_0xbe35ca||_0x6c54e4||_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56619b(_0x1ed67d,_0x49291b){return new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50e2f0=>{if(_0x3ac474())return _0x50e2f0(_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64]));_0x5aa8a4(),_0x4ddc28[_0x4aa6b8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4aa6b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a1c43=!0x1;const _0x9f351b=_0x595bd8();function _0x5e4617(_0x32d973){return!!_0x32d973&&(typeof _0x32d973===_0x4aa6b8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32d973===_0x4aa6b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32d973[_0x4aa6b8([0x74,0x68,0x65,0x6e])]===_0x4aa6b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32d973[_0x4aa6b8([0x63,0x61,0x74,0x63,0x68])]===_0x4aa6b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d72dc(_0x7bb923){_0x3af52a(_0x7bb923)[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0x359b72=>{if(!_0x359b72||_0x359b72[_0x4aa6b8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4aa6b8([0x6f,0x6b]))return _0x4aa6b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a8dcc(_0x1a2f8f(_0x9f351b+_0x49291b))!=_0x359b72[_0x4aa6b8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4aa6b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0x1de5f4=>(_0x187b96(),_0x1de5f4),()=>{const _0x2bec3f=_0x1b195d();return null==_0x2bec3f?(_0x187b96(),_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64])):_0x4aa6b8(_0x4fe7cc-_0x2bec3f>(0x74214cd7^_0x3987de)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0x50e2f0)[_0x4aa6b8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50e2f0(_0x4aa6b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf6b36=0x501b2657^_0x3987de;function _0x187b96(){const _0x37b683=_0x4aa6b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a8dcc(_0x1a2f8f(_0x1ed67d)),_0x3a1dee=_0x2a7928(_0x5a8dcc(window[_0x4aa6b8([0x4d,0x61,0x74,0x68])][_0x4aa6b8([0x63,0x65,0x69,0x6c])](_0x4fe7cc/_0xf6b36)));window[_0x4aa6b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4aa6b8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37b683,_0x3a1dee);}function _0x1b195d(){const _0x5ca409=_0x4aa6b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a8dcc(_0x1a2f8f(_0x1ed67d)),_0x3d18fa=window[_0x4aa6b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4aa6b8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ca409);return _0x3d18fa?window[_0x4aa6b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a7928(_0x3d18fa),0x10)*_0xf6b36:null;}function _0x3af52a(_0x28ef5e){return new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e8fa,_0x66416d)=>{_0x28ef5e[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0x53e8fa,_0x66416d),window[_0x4aa6b8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x66416d,0x502c1c17^_0x3987de);});}}_0x4ddc28[_0x4aa6b8([0x6f,0x6e])](_0x4aa6b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x298645,_0x4ea913)=>{if(_0x4ea913[0x0]!=_0x1ed67d)return _0x50e2f0(_0x4aa6b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ea913[0x1]={..._0x4ea913[0x1],[_0x4aa6b8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9f351b};},{[_0x4aa6b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4aa6b8([0x68,0x69,0x67,0x68])}),_0x4ddc28[_0x4aa6b8([0x6f,0x6e])](_0x4aa6b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a22bf=>{_0x5e4617(_0x5a22bf[_0x4aa6b8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a1c43=!0x0,_0x5d72dc(_0x5a22bf[_0x4aa6b8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4aa6b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4aa6b8([0x6c,0x6f,0x77])}),_0x33b7b4[_0x4aa6b8([0x74,0x68,0x65,0x6e])](()=>{_0x1a1c43||_0x50e2f0(_0x4aa6b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ac474(){return _0x4ddc28[_0x4aa6b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4aa6b8([0x76,0x69,0x65,0x77])][_0x4aa6b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4aa6b8([0x61,0x75,0x74,0x6f]);}function _0x5aa8a4(){_0x4ddc28[_0x4aa6b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4aa6b8([0x76,0x69,0x65,0x77])][_0x4aa6b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4aa6b8([0x61,0x75,0x74,0x6f]);}}function _0x351eac(_0x2e1cb1){const _0x57277d=[new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44db71=>setTimeout(_0x44db71,0x5024f61b^_0x3987de)),_0x33b7b4[_0x4aa6b8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b4e35=>{let _0xe9cb8f=0x0;_0x4ddc28[_0x4aa6b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa6b8([0x6f,0x6e])](_0x4aa6b8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x444d62,_0x5f4da4)=>{_0x5f4da4[0x0][_0x4aa6b8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe9cb8f++,_0xe9cb8f==(0x502dc92f^_0x3987de)&&(_0x2b4e35(),_0x444d62[_0x4aa6b8([0x6f,0x66,0x66])]());});}))];return window[_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4aa6b8([0x72,0x61,0x63,0x65])](_0x57277d)[_0x4aa6b8([0x74,0x68,0x65,0x6e])](()=>_0x2e1cb1);}async function _0x407855(){await _0x33b7b4,_0x4ddc28[_0x4aa6b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa6b8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x371efc,_0x4ddc28[_0x4aa6b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa6b8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x371efc,_0x4ddc28[_0x4aa6b8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4aa6b8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x182aab(_0x2a55d2){const _0x5a1870=_0x39b1c9();_0x4ddc28[_0x5a1870]=_0x4aa6b8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a55d2,_0x2a55d2!=_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64])&&_0x407855();}function _0x39b1c9(){const _0x99e7a9=window[_0x4aa6b8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4aa6b8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4aa6b8([0x6e,0x6f,0x77])]())[_0x4aa6b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4aa6b8([0x2e]),'');let _0x4c1125=_0x4aa6b8([0x67]);for(let _0x7d0eae=0x0;_0x7d0eae<_0x99e7a9[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7d0eae+=0x2){let _0x1fc1d9=window[_0x4aa6b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x99e7a9[_0x4aa6b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7d0eae,_0x7d0eae+0x2));_0x1fc1d9>=_0x1c25b5[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1fc1d9-=_0x1c25b5[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c1125+=_0x1c25b5[_0x1fc1d9];}return _0x4c1125;}function _0x362135(){const _0x43dc11=_0x3ca2c8[_0x4aa6b8([0x73,0x70,0x6c,0x69,0x74])](_0x4aa6b8([0x2e]));if(0x3!=_0x43dc11[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x463337(_0x43dc11[0x1]);function _0x463337(_0xcb29fa){const _0x26350c=_0x3698ec(_0xcb29fa);return _0x26350c&&_0x577ad0()?_0x26350c:null;function _0x577ad0(){const _0x37cdd0=_0x26350c[_0x4aa6b8([0x6a,0x74,0x69])],_0x1a34ed=window[_0x4aa6b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37cdd0[_0x4aa6b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37cdd0[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c2b0d={..._0x26350c,[_0x4aa6b8([0x6a,0x74,0x69])]:_0x37cdd0[_0x4aa6b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37cdd0[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c2b0d[_0x4aa6b8([0x76,0x63])],_0x1a2f8f(_0x4c2b0d)==_0x1a34ed;}}}async function _0x3275e7(){let _0x49f854=!0x0;try{const _0x2d5a00=_0x3ca2c8[_0x4aa6b8([0x73,0x70,0x6c,0x69,0x74])](_0x4aa6b8([0x2e])),[_0x569b39,_0x9bd65d,_0x16ecb0]=_0x2d5a00;return _0x46a9b0(_0x569b39),await _0x5d2eac(_0x569b39,_0x9bd65d,_0x16ecb0),_0x49f854;}catch(_0x5c9ddc){return!0x1;}function _0x46a9b0(_0x129675){const _0x4678ed=_0x3698ec(_0x129675);_0x4678ed&&_0x4678ed[_0x4aa6b8([0x61,0x6c,0x67])]==_0x4aa6b8([0x45,0x53,0x32,0x35,0x36])||(_0x49f854=!0x1);}async function _0x5d2eac(_0x144b92,_0x389563,_0x4ea804){const _0x25ce5a=window[_0x4aa6b8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4aa6b8([0x66,0x72,0x6f,0x6d])](_0x5a7bba(_0x4ea804),_0x45d88a=>_0x45d88a[_0x4aa6b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd177e2=new window[(_0x4aa6b8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4aa6b8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x144b92+_0x4aa6b8([0x2e])+_0x389563),_0x31cba5=window[_0x4aa6b8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4aa6b8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31cba5)return;const _0x59cfe2=await _0x31cba5[_0x4aa6b8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4aa6b8([0x6a,0x77,0x6b]),_0x22cee0,{[_0x4aa6b8([0x6e,0x61,0x6d,0x65])]:_0x4aa6b8([0x45,0x43,0x44,0x53,0x41]),[_0x4aa6b8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4aa6b8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4aa6b8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31cba5[_0x4aa6b8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4aa6b8([0x6e,0x61,0x6d,0x65])]:_0x4aa6b8([0x45,0x43,0x44,0x53,0x41]),[_0x4aa6b8([0x68,0x61,0x73,0x68])]:{[_0x4aa6b8([0x6e,0x61,0x6d,0x65])]:_0x4aa6b8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59cfe2,_0x25ce5a,_0xd177e2)||(_0x49f854=!0x1);}}function _0x3698ec(_0x56b84a){return _0x56b84a[_0x4aa6b8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4aa6b8([0x65,0x79]))?JSON[_0x4aa6b8([0x70,0x61,0x72,0x73,0x65])](_0x5a7bba(_0x56b84a)):null;}function _0x5a7bba(_0x197900){return window[_0x4aa6b8([0x61,0x74,0x6f,0x62])](_0x197900[_0x4aa6b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4aa6b8([0x2b]))[_0x4aa6b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4aa6b8([0x2f])));}function _0x1a2f8f(_0x58f1f3){let _0x16939a=0x1505;function _0x419a8b(_0x21b503){for(let _0x187e9e=0x0;_0x187e9e<_0x21b503[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x187e9e++){const _0x41fe81=_0x21b503[_0x4aa6b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x187e9e);_0x16939a=(_0x16939a<<0x5)+_0x16939a+_0x41fe81,_0x16939a&=_0x16939a;}}function _0x4ea52c(_0x5dfb0a){Array[_0x4aa6b8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5dfb0a)?_0x5dfb0a[_0x4aa6b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ea52c):_0x5dfb0a&&typeof _0x5dfb0a==_0x4aa6b8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4aa6b8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5dfb0a)[_0x4aa6b8([0x73,0x6f,0x72,0x74])]()[_0x4aa6b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26b335,_0x24f0d8])=>{_0x419a8b(_0x26b335),_0x4ea52c(_0x24f0d8);}):_0x419a8b(window[_0x4aa6b8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5dfb0a));}return _0x4ea52c(_0x58f1f3),_0x16939a>>>0x0;}function _0x5a8dcc(_0x31a163){return _0x31a163[_0x4aa6b8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4aa6b8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4aa6b8([0x30]));}function _0x2a7928(_0x2e4209){return _0x2e4209[_0x4aa6b8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4aa6b8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4aa6b8([0x6a,0x6f,0x69,0x6e])]('');}function _0x371efc(){}function _0x4aa6b8(_0x58048f){const _0x312803=_0x7fee;return _0x58048f[_0x312803(0x113)](_0x2b6cef=>String[_0x312803(0x10d)](_0x2b6cef))[_0x312803(0x12d)]('');}_0x182aab(await _0x338968());}(this);}[_0xaebadc(0x14c)](){const _0x8a4ebe=_0xaebadc,_0x3d0f2a=this[_0x8a4ebe(0x15a)][_0x8a4ebe(0x126)];_0x3d0f2a[_0x8a4ebe(0x15b)](_0x457a33=>{const _0x51996f=_0x8a4ebe,_0x45b524=_0x3d0f2a[_0x51996f(0x11a)][_0x51996f(0x161)][_0x51996f(0x164)]();let _0x270675=0x0;for(const _0x5e0230 of _0x45b524){const _0x9657b2=f+':'+_0x270675;if(_0x3d0f2a[_0x51996f(0x11b)][_0x51996f(0x115)](_0x9657b2))_0x457a33[_0x51996f(0x137)](_0x9657b2,{'range':_0x5e0230});else{if(_0x5e0230[_0x51996f(0x130)][_0x51996f(0x13a)]){const _0x50fdc1=_0x5e0230[_0x51996f(0x130)][_0x51996f(0xfe)](({item:_0x2ab4d8})=>!_0x3d0f2a[_0x51996f(0x15e)][_0x51996f(0x138)](_0x2ab4d8),{'boundaries':_0x5e0230});_0x457a33[_0x51996f(0x104)](_0x9657b2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x457a33[_0x51996f(0x11f)](_0x50fdc1,_0x5e0230[_0x51996f(0x120)])});}else _0x457a33[_0x51996f(0x104)](_0x9657b2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5e0230});}_0x270675++;}});}[_0xaebadc(0x139)](){const _0x10f98d=_0xaebadc,_0x1356b2=this[_0x10f98d(0x15a)][_0x10f98d(0x126)],_0x58c2e6=Array[_0x10f98d(0x155)](this[_0x10f98d(0x15a)][_0x10f98d(0x126)][_0x10f98d(0x11b)][_0x10f98d(0x123)](f));_0x58c2e6[_0x10f98d(0x122)]&&_0x1356b2[_0x10f98d(0x15b)](_0x4720e2=>{const _0x5b5be8=_0x10f98d;_0x58c2e6[_0x5b5be8(0x152)](_0x2e3aee=>{const _0x15d11d=_0x5b5be8;_0x4720e2[_0x15d11d(0xfc)](_0x2e3aee);});});}[_0xaebadc(0x13e)](_0x5781d5,_0x1272f9){const _0x395349=_0xaebadc,_0x7e983e=this[_0x395349(0x103)](),_0x163b81=_0x1272f9||_0x7e983e[_0x395349(0x14a)]();this[_0x395349(0x15a)][_0x395349(0x126)][_0x395349(0x10a)](_0x163b81)&&this[_0x395349(0x15a)][_0x395349(0x126)][_0x395349(0x15b)](_0x126496=>{const _0x1bde03=_0x395349;this[_0x1bde03(0x139)](),_0x1272f9||this[_0x1bde03(0x156)](_0x126496,_0x7e983e),this[_0x1bde03(0x110)]({'insertAt':_0x163b81,'writer':_0x126496,'html':_0x5781d5});});}[_0xaebadc(0x141)](_0x30ca7d){const _0x2d334b=_0xaebadc,{model:_0x180a7b}=this[_0x2d334b(0x15a)],_0x169e5d=this[_0x2d334b(0x103)]();_0x180a7b[_0x2d334b(0x15b)](()=>{const _0x21a63c=_0x2d334b,_0x433d91=this[_0x21a63c(0x125)](_0x30ca7d,_0x169e5d)||this[_0x21a63c(0x11c)](_0x169e5d);this[_0x21a63c(0x13e)](_0x30ca7d,_0x433d91);});}[_0xaebadc(0x103)](){const _0x45eea0=_0xaebadc,_0x2f885d=this[_0x45eea0(0x15a)][_0x45eea0(0x126)],_0x19ad8b=Array[_0x45eea0(0x155)](_0x2f885d[_0x45eea0(0x11b)][_0x45eea0(0x123)](f))[_0x45eea0(0x113)](_0x1e5bec=>_0x1e5bec[_0x45eea0(0x102)]());return _0x2f885d[_0x45eea0(0x128)](_0x19ad8b);}[_0xaebadc(0x110)]({writer:_0x50da2e,html:_0x5585fe,insertAt:_0x35b7e7}){const _0x31d95c=_0xaebadc,{view:_0x4e9565}=this[_0x31d95c(0x15a)][_0x31d95c(0x105)],_0x3d29be=this[_0x31d95c(0x15a)][_0x31d95c(0x162)][_0x31d95c(0x157)](_0x6fcfed),_0x8e38e=new w();_0x8e38e[_0x31d95c(0x109)](_0x31d95c(0x12c),_0x5585fe);const _0x31cab2=new ClipboardEvent(_0x31d95c(0x15c),{'clipboardData':_0x8e38e}),_0x48a570=new _0x5671d1(_0x4e9565,_0x31cab2,{'dataTransfer':new _0x5da2a1(_0x8e38e)});_0x50da2e[_0x31d95c(0x12e)](_0x35b7e7);const _0x3cd5d9=(_0x30942f,_0x432ce4)=>{const _0x2f9195=_0x31d95c;_0x432ce4[_0x2f9195(0x12b)]&&_0x50da2e[_0x2f9195(0x12e)](_0x432ce4[_0x2f9195(0x12b)]);};_0x3d29be[_0x31d95c(0x14b)](_0x31d95c(0x107),_0x3cd5d9,{'priority':_0x31d95c(0x166)}),_0x4e9565[_0x31d95c(0x11a)][_0x31d95c(0x163)](_0x31d95c(0x15c),_0x48a570),_0x3d29be[_0x31d95c(0x15d)](_0x31d95c(0x107),_0x3cd5d9);}[_0xaebadc(0x11c)](_0x1b9dec){const _0x56bf3a=_0xaebadc,{model:_0x37d62c}=this[_0x56bf3a(0x15a)],_0x515bf5=Array[_0x56bf3a(0x155)](_0x1b9dec[_0x56bf3a(0x165)]());return _0x515bf5[_0x56bf3a(0x122)]?_0x37d62c[_0x56bf3a(0x119)](_0x515bf5[_0x56bf3a(0x100)]()):_0x1b9dec[_0x56bf3a(0x10c)]();}[_0xaebadc(0x125)](_0x94b13d,_0x1bc6d7){const _0x192491=_0xaebadc,{model:_0x215d02,plugins:_0x54fc9d}=this[_0x192491(0x15a)];if(_0x54fc9d[_0x192491(0x115)](_0x192491(0x14f))){const _0x4bd636=_0x54fc9d[_0x192491(0x157)](_0x192491(0x14f))[_0x192491(0x111)](_0x1bc6d7);if(_0x4bd636[_0x192491(0x122)]){const _0x343c02=this[_0x192491(0x12f)](_0x94b13d),_0x2f37ea=this[_0x192491(0x136)](_0x4bd636,_0x343c02);return _0x215d02[_0x192491(0x12a)](_0x2f37ea,0x0);}}return null;}[_0xaebadc(0x12f)](_0x22f460){const _0x15c8a0=_0xaebadc,_0x35d0b1=this[_0x15c8a0(0x15a)][_0x15c8a0(0x162)][_0x15c8a0(0x157)](_0x15c8a0(0x14f)),_0x3b21ae=this[_0x15c8a0(0x15a)][_0x15c8a0(0x129)][_0x15c8a0(0x10b)](_0x22f460),_0xb5e9d2=Array[_0x15c8a0(0x155)](_0x3b21ae[_0x15c8a0(0x112)]())[_0x15c8a0(0x116)](_0x58b453=>_0x58b453['is'](_0x15c8a0(0x13f),_0x15c8a0(0xfd)));let _0x1d1b8f=0x0;return _0xb5e9d2[_0x15c8a0(0x152)](_0x5f2ac3=>{const _0x371b28=_0x15c8a0;_0x1d1b8f+=_0x35d0b1[_0x371b28(0x142)](_0x5f2ac3);}),_0x1d1b8f;}[_0xaebadc(0x136)](_0x164f7d,_0x4d1523){const _0x54cf5b=_0xaebadc,_0x49b072=this[_0x54cf5b(0x15a)][_0x54cf5b(0x162)][_0x54cf5b(0x157)](_0x54cf5b(0x14f)),_0x4d248d=_0x49b072[_0x54cf5b(0x143)](_0x164f7d),_0x141ff7=_0x49b072[_0x54cf5b(0x106)](_0x164f7d),_0x3454c1=_0x4d248d[_0x54cf5b(0x118)]+0x1,_0x51b1f1=_0x141ff7[_0x54cf5b(0x15f)],_0x62049c=_0x164f7d[0x0][_0x54cf5b(0x127)](_0x54cf5b(0xfd));for(let _0x468fe3=0x0;_0x468fe3<_0x4d1523;_0x468fe3++)_0x49b072[_0x54cf5b(0x159)](_0x62049c,{'at':_0x3454c1});return _0x62049c[_0x54cf5b(0x151)](_0x3454c1)[_0x54cf5b(0x151)](_0x51b1f1);}[_0xaebadc(0x156)](_0x3163a0,_0x7f4c8c){const _0x4e0844=_0xaebadc,{plugins:_0x8365c3}=this[_0x4e0844(0x15a)],{model:_0x11f725}=_0x3163a0;if(!_0x8365c3[_0x4e0844(0x115)](_0x4e0844(0x14f)))return;_0x8365c3[_0x4e0844(0x157)](_0x4e0844(0x14f))[_0x4e0844(0x111)](_0x7f4c8c)[_0x4e0844(0x122)]&&_0x11f725[_0x4e0844(0x14d)](_0x7f4c8c);}}
|
|
23
|
+
const _0x4faad9=_0x4775;function _0x1549(){const _0x1e4200=['get','isOfficialPlugin','markerToHighlight','isAtEnd','element','getMarkersGroup','updateMarker','pluginName','paste','1114191TWwreE','filter','editor','removeMarker','model','1510670yxaMkx','href','insertContentBelow','contentInsertion','24QpeTmt','start','lowest','first','5685XoFyHa','_createEmptyTableRows','length','map','_resetContentOfSelectedTableCells','getLastMatchingPosition','text/html','addMarker','data','AIAssistantEditing','89809vbGPly','setData','ck-fake-ai-selection','isPremiumPlugin','_getAISelection','getRowIndexes','conversion','isContent','forEach','ai-ui','createRange','from','fromCharCode','_getDefaultInsertBelowPosition','1639DJVKdc','_prepareTableInsertBelowPosition','insertRows','showFakeVisualSelection','2LUrAbo','hideFakeVisualSelection','document','3cLkWvy','_pasteHTMLUsingClipboard','markerToElement','_getTableRowCountFromContent','TableUtils','getColumnIndexes','createPositionAfter','off','64068PyweIF','ai.useTheme','fire','deleteContent','getFirstRange','createUIElement','getRanges','DataTransfer','for','afterInit','1212284WCXDdH','insertContent','markerRange','schema','findAncestor','selection','getRows','getChild','parse','ck-fake-ai-selection_collapsed','push','init','1227674LMLxcj','last','pop','join','once','end','addClass','createPositionAt','isCollapsed','plugins','span','canEditAt','getSelectedBlocks','getSelectedTableCells','editing','createSelection','ck-ai-assistant-ui_theme','getLastPosition','markers','change','has','config','table','setSelection','getChildren','6oitgsy','resultRange','getRange','editingDowncast'];_0x1549=function(){return _0x1e4200;};return _0x1549();}(function(_0x2cee41,_0x18ca68){const _0x2dcf72=_0x4775,_0x1270a8=_0x2cee41();while(!![]){try{const _0x3f88a5=-parseInt(_0x2dcf72(0x1b6))/0x1*(-parseInt(_0x2dcf72(0x158))/0x2)+parseInt(_0x2dcf72(0x15b))/0x3*(-parseInt(_0x2dcf72(0x16d))/0x4)+-parseInt(_0x2dcf72(0x1ac))/0x5*(-parseInt(_0x2dcf72(0x192))/0x6)+-parseInt(_0x2dcf72(0x179))/0x7+parseInt(_0x2dcf72(0x1a8))/0x8*(-parseInt(_0x2dcf72(0x19f))/0x9)+parseInt(_0x2dcf72(0x1a4))/0xa+parseInt(_0x2dcf72(0x154))/0xb*(parseInt(_0x2dcf72(0x163))/0xc);if(_0x3f88a5===_0x18ca68)break;else _0x1270a8['push'](_0x1270a8['shift']());}catch(_0x215e9c){_0x1270a8['push'](_0x1270a8['shift']());}}}(_0x1549,0x2dd1a));import{uid as _0x2058b0}from'ckeditor5/src/utils.js';import{Plugin as _0x4db05a}from'ckeditor5/src/core.js';function _0x4775(_0x425807,_0x3cdd68){const _0x15498c=_0x1549();return _0x4775=function(_0x47754c,_0xaf14d){_0x47754c=_0x47754c-0x151;let _0x1f6e13=_0x15498c[_0x47754c];return _0x1f6e13;},_0x4775(_0x425807,_0x3cdd68);}import{ClipboardPipeline as _0xe86a2a}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5dfacd,DataTransfer as _0x170456}from'ckeditor5/src/engine.js';const w=globalThis[_0x4faad9(0x16a)],f=_0x4faad9(0x1bf);export default class a extends _0x4db05a{static get[_0x4faad9(0x19d)](){const _0x5334de=_0x4faad9;return _0x5334de(0x1b5);}static get[_0x4faad9(0x197)](){return!0x0;}static get[_0x4faad9(0x1b9)](){return!0x0;}[_0x4faad9(0x178)](){const _0x3c49fe=_0x4faad9,{editor:_0x30a855}=this,_0x3309ab=[_0x3c49fe(0x1b8)];_0x30a855[_0x3c49fe(0x18e)][_0x3c49fe(0x196)](_0x3c49fe(0x164))&&_0x3309ab[_0x3c49fe(0x177)](_0x3c49fe(0x189)),_0x30a855[_0x3c49fe(0x1bc)][_0x3c49fe(0x16b)](_0x3c49fe(0x195))[_0x3c49fe(0x198)]({'model':f,'view':{'classes':_0x3309ab,'priority':0xc}}),_0x30a855[_0x3c49fe(0x1bc)][_0x3c49fe(0x16b)](_0x3c49fe(0x195))[_0x3c49fe(0x15d)]({'model':f,'view':(_0x2444e4,{writer:_0x43b0d0})=>{const _0x43237c=_0x3c49fe;if(!_0x2444e4[_0x43237c(0x16f)][_0x43237c(0x181)])return null;const _0x3400e9=_0x43b0d0[_0x43237c(0x168)](_0x43237c(0x183));return _0x43b0d0[_0x43237c(0x17f)]([_0x43237c(0x1b8),_0x43237c(0x176)],_0x3400e9),_0x3400e9;}});}[_0x4faad9(0x16c)](){!async function(_0x183e83){const _0x31aab5=_0x53b9a6([0x48,0x32,0x6a,0x75,0x6e,0x65,0x37,0x57,0x41,0x79,0x5a,0x62,0x30,0x38,0x45,0x46,0x47,0x55,0x72,0x31,0x53,0x36,0x63,0x68,0x4d,0x61,0x74,0x59,0x44,0x58,0x77,0x69,0x66,0x71,0x70,0x51,0x52,0x6c,0x4a,0x33,0x39,0x7a,0x34,0x64,0x43,0x73,0x4b,0x49,0x78,0x67,0x6d,0x4f,0x54,0x4c,0x76,0x4e,0x56,0x50,0x6f,0x35,0x6b,0x42]),_0x588fff=0x55d1ea32,_0x4dd9db=0x55d6b4da^_0x588fff,_0x424e40=window[_0x53b9a6([0x44,0x61,0x74,0x65])][_0x53b9a6([0x6e,0x6f,0x77])](),_0x57441f=_0x183e83[_0x53b9a6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x50a2fe=new window[(_0x53b9a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a7146=>{_0x57441f[_0x53b9a6([0x6f,0x6e,0x63,0x65])](_0x53b9a6([0x72,0x65,0x61,0x64,0x79]),_0x3a7146);}),_0x1b3e0d={[_0x53b9a6([0x6b,0x74,0x79])]:_0x53b9a6([0x45,0x43]),[_0x53b9a6([0x75,0x73,0x65])]:_0x53b9a6([0x73,0x69,0x67]),[_0x53b9a6([0x63,0x72,0x76])]:_0x53b9a6([0x50,0x2d,0x32,0x35,0x36]),[_0x53b9a6([0x78])]:_0x53b9a6([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]),[_0x53b9a6([0x79])]:_0x53b9a6([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]),[_0x53b9a6([0x61,0x6c,0x67])]:_0x53b9a6([0x45,0x53,0x32,0x35,0x36])},_0x1d82bb=_0x57441f[_0x53b9a6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53b9a6([0x67,0x65,0x74])](_0x53b9a6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x122d37(){let _0x280545,_0x38b40d=null,_0x2f759b=null;try{if(_0x1d82bb==_0x53b9a6([0x47,0x50,0x4c]))return _0x53b9a6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x280545=_0x4f1c78(),!_0x280545)return _0x53b9a6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x280545[_0x53b9a6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f759b=_0x24d0b6(_0x280545[_0x53b9a6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x280545[_0x53b9a6([0x6a,0x74,0x69])])),await _0xb4c9a4()?_0x573a9b()?_0x399385()?_0x53b9a6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50b39a()?(_0x280545[_0x53b9a6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53b9a6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38b40d=_0x1ec29e(_0x53b9a6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x280545[_0x53b9a6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53b9a6([0x74,0x72,0x69,0x61,0x6c])&&(_0x38b40d=_0x1ec29e(_0x53b9a6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x57bc57()):_0x53b9a6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53b9a6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53b9a6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x39f3fb){return _0x53b9a6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x399385(){const _0x15c8c0=[_0x53b9a6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53b9a6([0x74,0x72,0x69,0x61,0x6c])][_0x53b9a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280545[_0x53b9a6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x424e40/0x3e8:0xe10*_0x4dd9db;return _0x280545[_0x53b9a6([0x65,0x78,0x70])]<_0x15c8c0;}function _0x573a9b(){const _0x34be9e=_0x280545[_0x53b9a6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34be9e&&(!!_0x34be9e[_0x53b9a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b9a6([0x2a]))||!!_0x34be9e[_0x53b9a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b9a6([0x41,0x49])));}function _0x50b39a(){const _0x5cab09=_0x4775,_0x488fc1=_0x280545[_0x53b9a6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x488fc1||0x0==_0x488fc1[_0x53b9a6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27c541}=new URL(window[_0x53b9a6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5cab09(0x1a5)]);if(_0x488fc1[_0x53b9a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27c541))return!0x0;const _0x2c3813=_0x27c541[_0x53b9a6([0x73,0x70,0x6c,0x69,0x74])](_0x53b9a6([0x2e]));return _0x488fc1[_0x53b9a6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54b574=>_0x54b574[_0x53b9a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b9a6([0x2a])))[_0x53b9a6([0x6d,0x61,0x70])](_0x29993f=>_0x29993f[_0x53b9a6([0x73,0x70,0x6c,0x69,0x74])](_0x53b9a6([0x2e])))[_0x53b9a6([0x73,0x6f,0x6d,0x65])](_0x467dab=>_0x2c3813[_0x53b9a6([0x65,0x76,0x65,0x72,0x79])]((_0x4e0344,_0x46dec7)=>_0x467dab[_0x46dec7]===_0x4e0344||_0x467dab[_0x46dec7]===_0x53b9a6([0x2a])));}function _0x57bc57(){return _0x38b40d&&_0x2f759b?new window[(_0x53b9a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e04eb,_0x536bb8)=>{_0x38b40d[_0x53b9a6([0x74,0x68,0x65,0x6e])](_0x5e04eb,_0x536bb8),_0x2f759b[_0x53b9a6([0x74,0x68,0x65,0x6e])](_0x42c1ef=>{_0x42c1ef!=_0x53b9a6([0x56,0x61,0x6c,0x69,0x64])&&_0x5e04eb(_0x42c1ef);},_0x536bb8);}):_0x38b40d||_0x2f759b||_0x53b9a6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24d0b6(_0x18d68c,_0x366eb0){return new window[(_0x53b9a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1908ab=>{if(_0x41cf61())return _0x1908ab(_0x53b9a6([0x56,0x61,0x6c,0x69,0x64]));_0x8e45cb(),_0x57441f[_0x53b9a6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53b9a6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12b903=!0x1;const _0x59f2cc=_0x2058b0();function _0x3146cc(_0x344b61){return!!_0x344b61&&(typeof _0x344b61===_0x53b9a6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x344b61===_0x53b9a6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x344b61[_0x53b9a6([0x74,0x68,0x65,0x6e])]===_0x53b9a6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x344b61[_0x53b9a6([0x63,0x61,0x74,0x63,0x68])]===_0x53b9a6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe3794e(_0x32c81d){_0x453390(_0x32c81d)[_0x53b9a6([0x74,0x68,0x65,0x6e])](_0xc028b4=>{if(!_0xc028b4||_0xc028b4[_0x53b9a6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53b9a6([0x6f,0x6b]))return _0x53b9a6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x580fe1(_0x208c05(_0x59f2cc+_0x366eb0))!=_0xc028b4[_0x53b9a6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53b9a6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53b9a6([0x56,0x61,0x6c,0x69,0x64]);})[_0x53b9a6([0x74,0x68,0x65,0x6e])](_0x3cb275=>(_0x4d099b(),_0x3cb275),()=>{const _0x358e90=_0x1bacb8();return null==_0x358e90?(_0x4d099b(),_0x53b9a6([0x56,0x61,0x6c,0x69,0x64])):_0x53b9a6(_0x424e40-_0x358e90>(0x71dd6e32^_0x588fff)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53b9a6([0x74,0x68,0x65,0x6e])](_0x1908ab)[_0x53b9a6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1908ab(_0x53b9a6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf9ceb6=0x55e704b2^_0x588fff;function _0x4d099b(){const _0x4db9d7=_0x53b9a6([0x6c,0x6c,0x63,0x74,0x2d])+_0x580fe1(_0x208c05(_0x18d68c)),_0x256d51=_0x3b5f16(_0x580fe1(window[_0x53b9a6([0x4d,0x61,0x74,0x68])][_0x53b9a6([0x63,0x65,0x69,0x6c])](_0x424e40/_0xf9ceb6)));window[_0x53b9a6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53b9a6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4db9d7,_0x256d51);}function _0x1bacb8(){const _0x170859=_0x53b9a6([0x6c,0x6c,0x63,0x74,0x2d])+_0x580fe1(_0x208c05(_0x18d68c)),_0x4a61c7=window[_0x53b9a6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53b9a6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x170859);return _0x4a61c7?window[_0x53b9a6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b5f16(_0x4a61c7),0x10)*_0xf9ceb6:null;}function _0x453390(_0x80e968){return new window[(_0x53b9a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x381423,_0x28d603)=>{_0x80e968[_0x53b9a6([0x74,0x68,0x65,0x6e])](_0x381423,_0x28d603),window[_0x53b9a6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28d603,0x55d03ef2^_0x588fff);});}}_0x57441f[_0x53b9a6([0x6f,0x6e])](_0x53b9a6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9cd1a2,_0x143a00)=>{if(_0x143a00[0x0]!=_0x18d68c)return _0x1908ab(_0x53b9a6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x143a00[0x1]={..._0x143a00[0x1],[_0x53b9a6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x59f2cc};},{[_0x53b9a6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53b9a6([0x68,0x69,0x67,0x68])}),_0x57441f[_0x53b9a6([0x6f,0x6e])](_0x53b9a6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5371cb=>{_0x3146cc(_0x5371cb[_0x53b9a6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12b903=!0x0,_0xe3794e(_0x5371cb[_0x53b9a6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53b9a6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53b9a6([0x6c,0x6f,0x77])}),_0x50a2fe[_0x53b9a6([0x74,0x68,0x65,0x6e])](()=>{_0x12b903||_0x1908ab(_0x53b9a6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41cf61(){return _0x57441f[_0x53b9a6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53b9a6([0x76,0x69,0x65,0x77])][_0x53b9a6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53b9a6([0x61,0x75,0x74,0x6f]);}function _0x8e45cb(){_0x57441f[_0x53b9a6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53b9a6([0x76,0x69,0x65,0x77])][_0x53b9a6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53b9a6([0x61,0x75,0x74,0x6f]);}}function _0x1ec29e(_0x23d93d){const _0x36e58d=[new window[(_0x53b9a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb53c87=>setTimeout(_0xb53c87,0x55d8d4fe^_0x588fff)),_0x50a2fe[_0x53b9a6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53b9a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2969b3=>{let _0x33daa6=0x0;_0x57441f[_0x53b9a6([0x6d,0x6f,0x64,0x65,0x6c])][_0x53b9a6([0x6f,0x6e])](_0x53b9a6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x441e42,_0x2f91e4)=>{_0x2f91e4[0x0][_0x53b9a6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33daa6++,_0x33daa6==(0x55d1ebca^_0x588fff)&&(_0x2969b3(),_0x441e42[_0x53b9a6([0x6f,0x66,0x66])]());});}))];return window[_0x53b9a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53b9a6([0x72,0x61,0x63,0x65])](_0x36e58d)[_0x53b9a6([0x74,0x68,0x65,0x6e])](()=>_0x23d93d);}async function _0x252ba9(){await _0x50a2fe,_0x57441f[_0x53b9a6([0x6d,0x6f,0x64,0x65,0x6c])][_0x53b9a6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xca4ffc,_0x57441f[_0x53b9a6([0x6d,0x6f,0x64,0x65,0x6c])][_0x53b9a6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xca4ffc,_0x57441f[_0x53b9a6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53b9a6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x172b48(_0x39da7a){const _0x4edf78=_0x3d1039();_0x57441f[_0x4edf78]=_0x53b9a6([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x39da7a,_0x39da7a!=_0x53b9a6([0x56,0x61,0x6c,0x69,0x64])&&_0x252ba9();}function _0x3d1039(){const _0x231cd9=window[_0x53b9a6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53b9a6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53b9a6([0x6e,0x6f,0x77])]())[_0x53b9a6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53b9a6([0x2e]),'');let _0x1a8043=_0x53b9a6([0x48]);for(let _0x1292db=0x0;_0x1292db<_0x231cd9[_0x53b9a6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1292db+=0x2){let _0x32c15f=window[_0x53b9a6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x231cd9[_0x53b9a6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1292db,_0x1292db+0x2));_0x32c15f>=_0x31aab5[_0x53b9a6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32c15f-=_0x31aab5[_0x53b9a6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a8043+=_0x31aab5[_0x32c15f];}return _0x1a8043;}function _0x4f1c78(){const _0x226bc9=_0x1d82bb[_0x53b9a6([0x73,0x70,0x6c,0x69,0x74])](_0x53b9a6([0x2e]));if(0x3!=_0x226bc9[_0x53b9a6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b154f(_0x226bc9[0x1]);function _0x2b154f(_0x3e4d74){const _0x45bd4a=_0x2c6c70(_0x3e4d74);return _0x45bd4a&&_0xde67ec()?_0x45bd4a:null;function _0xde67ec(){const _0x42137e=_0x45bd4a[_0x53b9a6([0x6a,0x74,0x69])],_0xcde23=window[_0x53b9a6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42137e[_0x53b9a6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42137e[_0x53b9a6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x520034={..._0x45bd4a,[_0x53b9a6([0x6a,0x74,0x69])]:_0x42137e[_0x53b9a6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x42137e[_0x53b9a6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x520034[_0x53b9a6([0x76,0x63])],_0x208c05(_0x520034)==_0xcde23;}}}async function _0xb4c9a4(){let _0x1ab502=!0x0;try{const _0x507f83=_0x1d82bb[_0x53b9a6([0x73,0x70,0x6c,0x69,0x74])](_0x53b9a6([0x2e])),[_0x4a51f9,_0x1d31a4,_0xa29651]=_0x507f83;return _0x4acbb2(_0x4a51f9),await _0x5dee2b(_0x4a51f9,_0x1d31a4,_0xa29651),_0x1ab502;}catch(_0x419f92){return!0x1;}function _0x4acbb2(_0x2b97a0){const _0xb161ee=_0x2c6c70(_0x2b97a0);_0xb161ee&&_0xb161ee[_0x53b9a6([0x61,0x6c,0x67])]==_0x53b9a6([0x45,0x53,0x32,0x35,0x36])||(_0x1ab502=!0x1);}async function _0x5dee2b(_0x1ebbc3,_0x4fdf19,_0x7ee146){const _0x10183f=window[_0x53b9a6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53b9a6([0x66,0x72,0x6f,0x6d])](_0x498bd5(_0x7ee146),_0x2ee870=>_0x2ee870[_0x53b9a6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x519319=new window[(_0x53b9a6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53b9a6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ebbc3+_0x53b9a6([0x2e])+_0x4fdf19),_0x4f1bd0=window[_0x53b9a6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53b9a6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f1bd0)return;const _0x143cb7=await _0x4f1bd0[_0x53b9a6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53b9a6([0x6a,0x77,0x6b]),_0x1b3e0d,{[_0x53b9a6([0x6e,0x61,0x6d,0x65])]:_0x53b9a6([0x45,0x43,0x44,0x53,0x41]),[_0x53b9a6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53b9a6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53b9a6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f1bd0[_0x53b9a6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53b9a6([0x6e,0x61,0x6d,0x65])]:_0x53b9a6([0x45,0x43,0x44,0x53,0x41]),[_0x53b9a6([0x68,0x61,0x73,0x68])]:{[_0x53b9a6([0x6e,0x61,0x6d,0x65])]:_0x53b9a6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x143cb7,_0x10183f,_0x519319)||(_0x1ab502=!0x1);}}function _0x2c6c70(_0x4223c2){return _0x4223c2[_0x53b9a6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53b9a6([0x65,0x79]))?JSON[_0x53b9a6([0x70,0x61,0x72,0x73,0x65])](_0x498bd5(_0x4223c2)):null;}function _0x498bd5(_0x5eb05d){return window[_0x53b9a6([0x61,0x74,0x6f,0x62])](_0x5eb05d[_0x53b9a6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53b9a6([0x2b]))[_0x53b9a6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53b9a6([0x2f])));}function _0x208c05(_0x213827){let _0x3aefbc=0x1505;function _0x59d7aa(_0x24a793){for(let _0x1b397e=0x0;_0x1b397e<_0x24a793[_0x53b9a6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b397e++){const _0x29bb34=_0x24a793[_0x53b9a6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b397e);_0x3aefbc=(_0x3aefbc<<0x5)+_0x3aefbc+_0x29bb34,_0x3aefbc&=_0x3aefbc;}}function _0x2ef1e6(_0x6bbaf){Array[_0x53b9a6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6bbaf)?_0x6bbaf[_0x53b9a6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ef1e6):_0x6bbaf&&typeof _0x6bbaf==_0x53b9a6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53b9a6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6bbaf)[_0x53b9a6([0x73,0x6f,0x72,0x74])]()[_0x53b9a6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e2f7c,_0x2515e7])=>{_0x59d7aa(_0x5e2f7c),_0x2ef1e6(_0x2515e7);}):_0x59d7aa(window[_0x53b9a6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6bbaf));}return _0x2ef1e6(_0x213827),_0x3aefbc>>>0x0;}function _0x580fe1(_0x50ed4e){return _0x50ed4e[_0x53b9a6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53b9a6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53b9a6([0x30]));}function _0x3b5f16(_0x3ed084){return _0x3ed084[_0x53b9a6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53b9a6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53b9a6([0x6a,0x6f,0x69,0x6e])]('');}function _0xca4ffc(){}function _0x53b9a6(_0x3dfe0f){const _0x203d37=_0x4775;return _0x3dfe0f[_0x203d37(0x1af)](_0x19272e=>String[_0x203d37(0x152)](_0x19272e))[_0x203d37(0x17c)]('');}_0x172b48(await _0x122d37());}(this);}[_0x4faad9(0x157)](){const _0x3bc3df=_0x4faad9,_0xc087d4=this[_0x3bc3df(0x1a1)][_0x3bc3df(0x1a3)];_0xc087d4[_0x3bc3df(0x18c)](_0x3b63f9=>{const _0x1cbda2=_0x3bc3df,_0x1e902d=_0xc087d4[_0x1cbda2(0x15a)][_0x1cbda2(0x172)][_0x1cbda2(0x169)]();let _0x53096a=0x0;for(const _0x1da152 of _0x1e902d){const _0x2c2e3b=f+':'+_0x53096a;if(_0xc087d4[_0x1cbda2(0x18b)][_0x1cbda2(0x18d)](_0x2c2e3b))_0x3b63f9[_0x1cbda2(0x19c)](_0x2c2e3b,{'range':_0x1da152});else{if(_0x1da152[_0x1cbda2(0x1a9)][_0x1cbda2(0x199)]){const _0x55e340=_0x1da152[_0x1cbda2(0x1a9)][_0x1cbda2(0x1b1)](({item:_0x11b0f2})=>!_0xc087d4[_0x1cbda2(0x170)][_0x1cbda2(0x1bd)](_0x11b0f2),{'boundaries':_0x1da152});_0x3b63f9[_0x1cbda2(0x1b3)](_0x2c2e3b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3b63f9[_0x1cbda2(0x1c0)](_0x55e340,_0x1da152[_0x1cbda2(0x17e)])});}else _0x3b63f9[_0x1cbda2(0x1b3)](_0x2c2e3b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1da152});}_0x53096a++;}});}[_0x4faad9(0x159)](){const _0x5c795e=_0x4faad9,_0x4f24c8=this[_0x5c795e(0x1a1)][_0x5c795e(0x1a3)],_0x826fe5=Array[_0x5c795e(0x151)](this[_0x5c795e(0x1a1)][_0x5c795e(0x1a3)][_0x5c795e(0x18b)][_0x5c795e(0x19b)](f));_0x826fe5[_0x5c795e(0x1ae)]&&_0x4f24c8[_0x5c795e(0x18c)](_0x5b81ac=>{const _0x59d818=_0x5c795e;_0x826fe5[_0x59d818(0x1be)](_0x187882=>{const _0x41e17b=_0x59d818;_0x5b81ac[_0x41e17b(0x1a2)](_0x187882);});});}[_0x4faad9(0x16e)](_0x58937a,_0x5f5695){const _0x2698e1=_0x4faad9,_0x7e62b2=this[_0x2698e1(0x1ba)](),_0x17b9cf=_0x5f5695||_0x7e62b2[_0x2698e1(0x167)]();this[_0x2698e1(0x1a1)][_0x2698e1(0x1a3)][_0x2698e1(0x184)](_0x17b9cf)&&this[_0x2698e1(0x1a1)][_0x2698e1(0x1a3)][_0x2698e1(0x18c)](_0x4c4d41=>{const _0x2184d2=_0x2698e1;this[_0x2184d2(0x159)](),_0x5f5695||this[_0x2184d2(0x1b0)](_0x4c4d41,_0x7e62b2),this[_0x2184d2(0x15c)]({'insertAt':_0x17b9cf,'writer':_0x4c4d41,'html':_0x58937a});});}[_0x4faad9(0x1a6)](_0xc26eb2){const _0x360a56=_0x4faad9,{model:_0x3a74bf}=this[_0x360a56(0x1a1)],_0x5b0ee8=this[_0x360a56(0x1ba)]();_0x3a74bf[_0x360a56(0x18c)](()=>{const _0x5e1c97=_0x360a56,_0x1c8560=this[_0x5e1c97(0x155)](_0xc26eb2,_0x5b0ee8)||this[_0x5e1c97(0x153)](_0x5b0ee8);this[_0x5e1c97(0x16e)](_0xc26eb2,_0x1c8560);});}[_0x4faad9(0x1ba)](){const _0x23ee44=_0x4faad9,_0x475af0=this[_0x23ee44(0x1a1)][_0x23ee44(0x1a3)],_0x5ca80f=Array[_0x23ee44(0x151)](_0x475af0[_0x23ee44(0x18b)][_0x23ee44(0x19b)](f))[_0x23ee44(0x1af)](_0x40ab21=>_0x40ab21[_0x23ee44(0x194)]());return _0x475af0[_0x23ee44(0x188)](_0x5ca80f);}[_0x4faad9(0x15c)]({writer:_0x2e9193,html:_0x2d8558,insertAt:_0x5c8759}){const _0x2bba34=_0x4faad9,{view:_0xbae536}=this[_0x2bba34(0x1a1)][_0x2bba34(0x187)],_0x10fdc7=this[_0x2bba34(0x1a1)][_0x2bba34(0x182)][_0x2bba34(0x196)](_0xe86a2a),_0x235626=new w();_0x235626[_0x2bba34(0x1b7)](_0x2bba34(0x1b2),_0x2d8558);const _0x4806f5=new ClipboardEvent(_0x2bba34(0x19e),{'clipboardData':_0x235626}),_0x433e3e=new _0x5dfacd(_0xbae536,_0x4806f5,{'dataTransfer':new _0x170456(_0x235626)});_0x2e9193[_0x2bba34(0x190)](_0x5c8759);const _0xdbcb78=(_0x58b128,_0xd09327)=>{const _0x4e3208=_0x2bba34;_0xd09327[_0x4e3208(0x193)]&&_0x2e9193[_0x4e3208(0x190)](_0xd09327[_0x4e3208(0x193)]);};_0x10fdc7[_0x2bba34(0x17d)](_0x2bba34(0x1a7),_0xdbcb78,{'priority':_0x2bba34(0x1aa)}),_0xbae536[_0x2bba34(0x15a)][_0x2bba34(0x165)](_0x2bba34(0x19e),_0x433e3e),_0x10fdc7[_0x2bba34(0x162)](_0x2bba34(0x1a7),_0xdbcb78);}[_0x4faad9(0x153)](_0x56bc76){const _0x37b84b=_0x4faad9,{model:_0x27c2aa}=this[_0x37b84b(0x1a1)],_0x4eab79=Array[_0x37b84b(0x151)](_0x56bc76[_0x37b84b(0x185)]());return _0x4eab79[_0x37b84b(0x1ae)]?_0x27c2aa[_0x37b84b(0x161)](_0x4eab79[_0x37b84b(0x17b)]()):_0x56bc76[_0x37b84b(0x18a)]();}[_0x4faad9(0x155)](_0x3fa84e,_0x363390){const _0x5f5548=_0x4faad9,{model:_0x536854,plugins:_0x34c031}=this[_0x5f5548(0x1a1)];if(_0x34c031[_0x5f5548(0x18d)](_0x5f5548(0x15f))){const _0xf221a6=_0x34c031[_0x5f5548(0x196)](_0x5f5548(0x15f))[_0x5f5548(0x186)](_0x363390);if(_0xf221a6[_0x5f5548(0x1ae)]){const _0x2fcb61=this[_0x5f5548(0x15e)](_0x3fa84e),_0x16cf15=this[_0x5f5548(0x1ad)](_0xf221a6,_0x2fcb61);return _0x536854[_0x5f5548(0x180)](_0x16cf15,0x0);}}return null;}[_0x4faad9(0x15e)](_0x39f4ae){const _0xc1ea3b=_0x4faad9,_0x5b1c0d=this[_0xc1ea3b(0x1a1)][_0xc1ea3b(0x182)][_0xc1ea3b(0x196)](_0xc1ea3b(0x15f)),_0x35fbe6=this[_0xc1ea3b(0x1a1)][_0xc1ea3b(0x1b4)][_0xc1ea3b(0x175)](_0x39f4ae),_0x1c0b91=Array[_0xc1ea3b(0x151)](_0x35fbe6[_0xc1ea3b(0x191)]())[_0xc1ea3b(0x1a0)](_0x2dc331=>_0x2dc331['is'](_0xc1ea3b(0x19a),_0xc1ea3b(0x18f)));let _0x7fa0a1=0x0;return _0x1c0b91[_0xc1ea3b(0x1be)](_0x5a1e49=>{const _0xf4a5ee=_0xc1ea3b;_0x7fa0a1+=_0x5b1c0d[_0xf4a5ee(0x173)](_0x5a1e49);}),_0x7fa0a1;}[_0x4faad9(0x1ad)](_0x4798af,_0x1bce36){const _0x477e62=_0x4faad9,_0x26a6e4=this[_0x477e62(0x1a1)][_0x477e62(0x182)][_0x477e62(0x196)](_0x477e62(0x15f)),_0x209664=_0x26a6e4[_0x477e62(0x1bb)](_0x4798af),_0x1a4c1d=_0x26a6e4[_0x477e62(0x160)](_0x4798af),_0x30c136=_0x209664[_0x477e62(0x17a)]+0x1,_0x39238e=_0x1a4c1d[_0x477e62(0x1ab)],_0x6fc05a=_0x4798af[0x0][_0x477e62(0x171)](_0x477e62(0x18f));for(let _0x290e1d=0x0;_0x290e1d<_0x1bce36;_0x290e1d++)_0x26a6e4[_0x477e62(0x156)](_0x6fc05a,{'at':_0x30c136});return _0x6fc05a[_0x477e62(0x174)](_0x30c136)[_0x477e62(0x174)](_0x39238e);}[_0x4faad9(0x1b0)](_0xff91f8,_0x5bae73){const _0x236df2=_0x4faad9,{plugins:_0x33033b}=this[_0x236df2(0x1a1)],{model:_0x3ae97a}=_0xff91f8;if(!_0x33033b[_0x236df2(0x18d)](_0x236df2(0x15f)))return;_0x33033b[_0x236df2(0x196)](_0x236df2(0x15f))[_0x236df2(0x186)](_0x5bae73)[_0x236df2(0x1ae)]&&_0x3ae97a[_0x236df2(0x166)](_0x5bae73);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x57c040=_0x2b42;(function(_0x2cd3b3,_0x30e805){const _0x339604=_0x2b42,_0x359183=_0x2cd3b3();while(!![]){try{const _0x397b4d=parseInt(_0x339604(0x1e8))/0x1+-parseInt(_0x339604(0x244))/0x2*(-parseInt(_0x339604(0x239))/0x3)+-parseInt(_0x339604(0x1fb))/0x4*(-parseInt(_0x339604(0x228))/0x5)+-parseInt(_0x339604(0x1d5))/0x6*(parseInt(_0x339604(0x1bc))/0x7)+parseInt(_0x339604(0x25d))/0x8*(-parseInt(_0x339604(0x1c0))/0x9)+-parseInt(_0x339604(0x205))/0xa*(parseInt(_0x339604(0x1f9))/0xb)+parseInt(_0x339604(0x20d))/0xc*(parseInt(_0x339604(0x1fc))/0xd);if(_0x397b4d===_0x30e805)break;else _0x359183['push'](_0x359183['shift']());}catch(_0x59d92e){_0x359183['push'](_0x359183['shift']());}}}(_0x1041,0x9fc62));import{Plugin as _0x1bd376}from'ckeditor5/src/core.js';import{first as _0x502324,CKEditorError as _0x27725e}from'ckeditor5/src/utils.js';import{createDropdown as _0x35ec0a,addMenuToDropdown as _0xb8c356,ButtonView as _0x7aaf10,MenuBarMenuListItemButtonView as _0x3a683a,Dialog as _0x34770a,DialogViewPosition as _0x215819,MenuBarMenuView as _0x1616ea,MenuBarMenuListView as _0x21f48e,MenuBarMenuListItemView as _0x5b93fe}from'ckeditor5/src/ui.js';import{icons as _0x9b89c5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2b42(_0x710ca8,_0x3e2b61){const _0x104113=_0x1041();return _0x2b42=function(_0x2b42d6,_0x37d0c2){_0x2b42d6=_0x2b42d6-0x1ad;let _0x174540=_0x104113[_0x2b42d6];return _0x174540;},_0x2b42(_0x710ca8,_0x3e2b61);}import{normalizeCommandsConfig as _0x396fd0,UNGROUPED_COMMANDS_GROUP_ID as _0x5ce5d8}from'./utils/normalizecommandsconfig.js';import _0x319eda from'./aiassistantediting.js';import _0x399396 from'./adapters/aiadapter.js';import{getTranslation as _0x5875a2}from'./utils/common-translations.js';import _0x31e0cd from'./ui/showaiassistantcommand.js';import _0x356f2a from'./ui/aiassistantcontroller.js';import _0x91384d from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x23f4ce}from'./ui/form/aiformtoolbarview.js';import _0x5176bd from'../theme/icons/magic-wand.svg';import'../theme/ai.css';function _0x1041(){const _0x3afda0=['show','splice','aiLicenseKeyNotAllowed','prompt','insertContentBelow','hideUI','3162804kmPdgH','execute','ck-ai-commands-dropdown\x20','queryView','_populateMenuBarMenu','ai-commands-config-order-collision','AIAssistant','featureNotAllowed','INSERT','_getResolvedCommandsDefinitions','enabledCommandsIds','2QRasuN','trim','getSelectedElement','fire','schema','rawHtml','menuBar:aiAssistant','text','delegate','get','polite','includes','reset','DataTransfer','showUI','set','locale','update','order','evaluationLimit','text/html','announce','replace','Generated\x20content:\x20%0','plugins','1240eKbjuq','values','showFakeVisualSelection','expired','aiCommands','getSelectedBlocks','buttonView','isOfficialPlugin','_showLicenseError','_forceMarkersCopy','body','commands','AI\x20is\x20writing','source','menuBar:aiCommands','isEnabled','aiLicenseKeyTrialLimit','ai.useTheme','_formView','147nPvbmp','panelView','EDITOR_TOP_SIDE','AIAssistantUI','13482vWtDSc','isCollapsed','define','label','usageLimit','getRanges','_aiAdapter','media','_initView','focus','_dialog','groupLabel','change','replaceContent','document','listenTo','insertContent','Error\x20during\x20AI\x20content\x20generation:\x20%0','pluginName','aiLicenseKeyUsageLimit','requires','286446rqVJwG','_uiCssClasses','promptView','custom','getData','currentContext','add','setSelection','command:','ai.aiAssistant.commands','requiresContent','componentFactory','sort','editor','_licenseKeyCheckInterval','errorView','tableOfContents','aiAssistant','change:enabledCommandsIds','309772uPIeCb','map','comment','ai.aiAssistant.disabledElements','forEach','_commandDefinitions','_initAriaAiStatusChangeAnnouncements','invalid','_onExecute','isFlat','filter','view','aiLicenseKeyEvaluationLimit','aiLicenseKeyValid','ck-ai-assistant-ui','updateView','aiLicenseKeyExpired','9181414tRkptZ','menuitemcheckbox','3587332QACXhF','26suUnEK','fieldView','addMany','buttons','length','aiLicenseKeyDomainLimit','bind','showAIAssistant','ai.aiAssistant.contentAreaCssClass','10cXTavP','_getMenuBarGroupButtons','robotPencil','licenseKey','items','from','destroy','updatePosition','2777916LhmQZz','AI\x20Commands','groupId','\x20ck-ai-assistant-ui_theme','push','isOn','render','copy','hide','hideFakeVisualSelection','change:isError','config','textAdapter','getLimitElement','children','aiLicenseKeyInvalid','_createAIAssistantUIButton','selection','change:isProcessing','AI\x20Assistant','change:value','once','<p>','model','_aiAssistantController','menuPanelClass','ck-ai-assistant-button\x20','5gWOLEg','contentArea','isPremiumPlugin','REPLACE','</p>','editing','menuView','init','domainLimit','trialLimit','wasMoved'];_0x1041=function(){return _0x3afda0;};return _0x1041();}import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x57c040(0x251)];import{ClipboardMarkersUtils as _0x339bc6}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x10817d,DataTransfer as _0x325c5f}from'ckeditor5/src/engine.js';export default class n extends _0x1bd376{static get[_0x57c040(0x1d2)](){const _0x1cbf7b=_0x57c040;return _0x1cbf7b(0x1bf);}static get[_0x57c040(0x1b0)](){return!0x0;}static get[_0x57c040(0x22a)](){return!0x0;}static get[_0x57c040(0x1d4)](){return[_0x339bc6,_0x319eda,_0x399396,_0x34770a];}constructor(_0x5a9552){const _0x4181cb=_0x57c040;super(_0x5a9552),this[_0x4181cb(0x1d6)]='',_0x5a9552[_0x4181cb(0x218)][_0x4181cb(0x1c2)](_0x4181cb(0x1eb),[_0x4181cb(0x1c7),_0x4181cb(0x249),_0x4181cb(0x1e5)]),_0x5a9552[_0x4181cb(0x218)][_0x4181cb(0x1c2)](_0x4181cb(0x204),''),_0x5a9552[_0x4181cb(0x218)][_0x4181cb(0x1c2)](_0x4181cb(0x1ba),!0x0),this[_0x4181cb(0x1d6)]=_0x4181cb(0x1f6)+(_0x5a9552[_0x4181cb(0x218)][_0x4181cb(0x24d)](_0x4181cb(0x1ba))?_0x4181cb(0x210):'');}[_0x57c040(0x22f)](){const _0x5f1fab=_0x57c040,{editor:_0x255cd4}=this;this[_0x5f1fab(0x1c6)]=_0x255cd4[_0x5f1fab(0x25c)][_0x5f1fab(0x24d)](_0x399396),this[_0x5f1fab(0x1ca)]=_0x255cd4[_0x5f1fab(0x25c)][_0x5f1fab(0x24d)](_0x34770a),this[_0x5f1fab(0x1bb)]=null,this[_0x5f1fab(0x1ed)]=this[_0x5f1fab(0x242)]();const _0x33e361=new _0x31e0cd(_0x255cd4,Array[_0x5f1fab(0x20a)](this[_0x5f1fab(0x1ed)][_0x5f1fab(0x25e)]()));_0x255cd4[_0x5f1fab(0x1b4)][_0x5f1fab(0x1db)](_0x5f1fab(0x203),_0x33e361),_0x255cd4['ui'][_0x5f1fab(0x1e0)][_0x5f1fab(0x1db)](_0x5f1fab(0x1ad),_0x15b1f0=>{const _0x1f4fa5=_0x5f1fab,_0x1b66c1=_0x35ec0a(_0x15b1f0);return _0x1b66c1[_0x1f4fa5(0x253)]({'class':_0x1f4fa5(0x23b)+this[_0x1f4fa5(0x1d6)]}),_0x1b66c1[_0x1f4fa5(0x1af)][_0x1f4fa5(0x253)]({'label':_0x5875a2(_0x15b1f0,_0x1f4fa5(0x20e)),'icon':_0x5176bd,'tooltip':!0x0}),_0x1b66c1['on'](_0x1f4fa5(0x23a),_0x43451e=>this[_0x1f4fa5(0x1f0)](_0x43451e[_0x1f4fa5(0x1b6)]['id'])),_0xb8c356(_0x1b66c1,_0x255cd4['ui'][_0x1f4fa5(0x1f3)][_0x1f4fa5(0x1b3)],function(_0x684cca){const _0x2d0842=_0x1f4fa5,_0x33f7e9=_0x396fd0(_0x684cca[_0x2d0842(0x218)][_0x2d0842(0x24d)](_0x2d0842(0x1de)),_0x684cca[_0x2d0842(0x254)]),_0x5e390a=U(_0x684cca,_0x33f7e9)[_0x2d0842(0x1f2)](_0x253624=>_0x253624[_0x2d0842(0x1b4)][_0x2d0842(0x200)]);if(0x1===_0x5e390a[_0x2d0842(0x200)])return U(_0x684cca,_0x5e390a[0x0][_0x2d0842(0x1b4)])[_0x2d0842(0x1e9)](_0x497b99=>({'id':_0x497b99['id'],'label':_0x497b99[_0x2d0842(0x1c3)]}));return _0x5e390a[_0x2d0842(0x1e9)](_0x24fd06=>{const _0xe5c76b=_0x2d0842,{groupId:_0x523a67,groupLabel:_0x47578f,commands:_0x424c13}=_0x24fd06,_0x2504be=U(_0x684cca,_0x424c13)[_0xe5c76b(0x1e9)](_0x14f7d1=>({'id':_0x14f7d1['id'],'label':_0x14f7d1[_0xe5c76b(0x1c3)]}));return{'id':_0x523a67,'menu':_0x47578f||_0x523a67,'children':_0x2504be};});}(_0x255cd4),{'ariaLabel':_0x5875a2(_0x15b1f0,_0x1f4fa5(0x20e))}),_0x1b66c1[_0x1f4fa5(0x22e)][_0x1f4fa5(0x226)]=_0x1f4fa5(0x23b)+this[_0x1f4fa5(0x1d6)],_0x33e361['on'](_0x1f4fa5(0x1e7),_0x37dc9e),_0x1b66c1[_0x1f4fa5(0x22e)][_0x1f4fa5(0x222)](_0x1f4fa5(0x213),_0x37dc9e),_0x1b66c1;function _0x37dc9e(){const _0xe9af83=_0x1f4fa5;_0x1b66c1[_0xe9af83(0x1b8)]=_0x33e361[_0xe9af83(0x243)][_0xe9af83(0x200)]>0x0;for(const _0x20bcbf of _0x1b66c1[_0xe9af83(0x22e)][_0xe9af83(0x1ff)])_0x20bcbf[_0xe9af83(0x1b8)]=_0x33e361[_0xe9af83(0x243)][_0xe9af83(0x24f)](_0x20bcbf['id']);}}),_0x255cd4['ui'][_0x5f1fab(0x1e0)][_0x5f1fab(0x1db)](_0x5f1fab(0x1b7),_0x2787b8=>{const _0x52ec12=_0x5f1fab,_0xe38a69=new _0x1616ea(_0x2787b8);_0xe38a69[_0x52ec12(0x1af)][_0x52ec12(0x253)]({'label':_0x5875a2(_0x2787b8,_0x52ec12(0x20e)),'icon':_0x5176bd}),_0xe38a69[_0x52ec12(0x202)](_0x52ec12(0x1b8))['to'](_0x33e361,_0x52ec12(0x243),_0xd5dc9a=>_0xd5dc9a[_0x52ec12(0x200)]>0x0);const _0x4cc05f=_0x396fd0(_0x255cd4[_0x52ec12(0x218)][_0x52ec12(0x24d)](_0x52ec12(0x1de)),_0x2787b8);return this[_0x52ec12(0x23d)](_0x33e361,_0xe38a69,_0x4cc05f,_0xf327ca=>this[_0x52ec12(0x1f0)](_0xf327ca)),_0xe38a69;}),_0x255cd4['ui'][_0x5f1fab(0x1e0)][_0x5f1fab(0x1db)](_0x5f1fab(0x1e6),()=>{const _0x1b6aed=_0x5f1fab,_0x2b2015=this[_0x1b6aed(0x21d)](_0x7aaf10);return _0x2b2015[_0x1b6aed(0x253)]({'tooltip':!0x0,'class':_0x1b6aed(0x227)+this[_0x1b6aed(0x1d6)]}),_0x2b2015;}),_0x255cd4['ui'][_0x5f1fab(0x1e0)][_0x5f1fab(0x1db)](_0x5f1fab(0x24a),()=>{const _0x322f3d=_0x5f1fab,_0x3492f4=this[_0x322f3d(0x21d)](_0x3a683a);return _0x3492f4[_0x322f3d(0x253)]({'role':_0x322f3d(0x1fa)}),_0x3492f4;}),this[_0x5f1fab(0x208)]=this[_0x5f1fab(0x1e2)][_0x5f1fab(0x218)][_0x5f1fab(0x24d)](_0x5f1fab(0x208));const _0x16767d=this[_0x5f1fab(0x1e2)];this[_0x5f1fab(0x1e3)]=setInterval(()=>{const _0x1cbe3f=_0x5f1fab;let _0x1e42d4;for(const _0x45be9f in _0x16767d){const _0x34dbcb=_0x45be9f,_0xb4740e=_0x16767d[_0x34dbcb];if(_0x1cbe3f(0x1f5)==_0xb4740e||_0x1cbe3f(0x21c)==_0xb4740e||_0x1cbe3f(0x1f8)==_0xb4740e||_0x1cbe3f(0x201)==_0xb4740e||_0x1cbe3f(0x235)==_0xb4740e||_0x1cbe3f(0x1f4)==_0xb4740e||_0x1cbe3f(0x1b9)==_0xb4740e||_0x1cbe3f(0x1d3)==_0xb4740e){delete _0x16767d[_0x34dbcb],_0x1e42d4=_0xb4740e,clearInterval(this[_0x1cbe3f(0x1e3)]),this[_0x1cbe3f(0x1e3)]=void 0x0;break;}}_0x1cbe3f(0x21c)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x1ef)),_0x1cbe3f(0x1f8)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x260)),_0x1cbe3f(0x201)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x230)),_0x1cbe3f(0x235)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x240),_0x1cbe3f(0x23f)),_0x1cbe3f(0x1f4)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x257)),_0x1cbe3f(0x1b9)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x231)),_0x1cbe3f(0x1d3)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x1c4));},0x3e8);}[_0x57c040(0x20b)](){const _0x2011bc=_0x57c040;super[_0x2011bc(0x20b)](),this[_0x2011bc(0x1e3)]&&clearInterval(this[_0x2011bc(0x1e3)]);}[_0x57c040(0x252)](_0x1db49e='',_0x2d3448='',_0x4cfa7c=_0x57c040(0x1d8)){const _0xfea21f=_0x57c040,_0x117d94=this[_0xfea21f(0x1e2)],_0xd7af17=_0x117d94[_0xfea21f(0x22d)][_0xfea21f(0x1f3)],_0x35b0ce=_0x117d94[_0xfea21f(0x25c)][_0xfea21f(0x24d)](_0x319eda),_0x36ecf1=_0x117d94[_0xfea21f(0x25c)][_0xfea21f(0x24d)](_0x339bc6);_0x35b0ce[_0xfea21f(0x25f)]();const _0xcaf34a=new w(),_0x3da7fc=new ClipboardEvent(_0xfea21f(0x214),{'clipboardData':_0xcaf34a}),_0x241b24=new _0x325c5f(_0xcaf34a),_0x5a4849=new _0x10817d(_0xd7af17,_0x3da7fc,{'dataTransfer':_0x241b24});_0x36ecf1[_0xfea21f(0x1b2)](_0xfea21f(0x1ea),()=>{const _0x29c7df=_0xfea21f;_0xd7af17[_0x29c7df(0x1ce)][_0x29c7df(0x247)](_0x29c7df(0x214),_0x5a4849);}),this[_0xfea21f(0x1bb)]||(this[_0xfea21f(0x1c8)](),this[_0xfea21f(0x225)]=new _0x356f2a(_0x117d94,this[_0xfea21f(0x1c6)][_0xfea21f(0x219)],this[_0xfea21f(0x1bb)]));let _0x121feb=_0x241b24[_0xfea21f(0x1d9)](_0xfea21f(0x258));const _0x5489d4=_0x117d94[_0xfea21f(0x224)][_0xfea21f(0x1ce)][_0xfea21f(0x21e)],_0x103692=Array[_0xfea21f(0x20a)](_0x5489d4[_0xfea21f(0x1c5)]());0x1===_0x103692[_0xfea21f(0x200)]&&_0x103692[0x0][_0xfea21f(0x1f1)]&&!_0x5489d4[_0xfea21f(0x246)]()&&''!==_0x121feb[_0xfea21f(0x25a)](/ /g,'')[_0xfea21f(0x245)]()&&(_0x121feb=_0xfea21f(0x223)+_0x121feb+_0xfea21f(0x22c)),this[_0xfea21f(0x225)][_0xfea21f(0x1f7)]({'actionId':_0x4cfa7c,'query':_0x1db49e,'htmlContent':_0x121feb,'label':_0x2d3448,'mainActionLabel':_0x23f4ce[_0x117d94[_0xfea21f(0x224)][_0xfea21f(0x1ce)][_0xfea21f(0x21e)][_0xfea21f(0x1c1)]?_0xfea21f(0x241):_0xfea21f(0x22b)]}),_0xfea21f(0x1e6)!==this[_0xfea21f(0x1ca)]['id']?this[_0xfea21f(0x1ca)][_0xfea21f(0x233)]({'id':_0xfea21f(0x1e6),'icon':_0x9b89c5[_0xfea21f(0x207)],'title':_0x5875a2(this[_0xfea21f(0x1e2)][_0xfea21f(0x254)],_0xfea21f(0x220)),'content':this[_0xfea21f(0x1bb)],'position':_0x215819[_0xfea21f(0x1be)],'onShow':()=>{const _0x595378=_0xfea21f;this[_0x595378(0x1bb)][_0x595378(0x1c9)]();},'onHide':()=>{const _0x1dae48=_0xfea21f;this[_0x1dae48(0x225)][_0x1dae48(0x250)](),_0x35b0ce[_0x1dae48(0x216)]();}}):this[_0xfea21f(0x1ca)][_0xfea21f(0x1f3)][_0xfea21f(0x232)]||this[_0xfea21f(0x1ca)][_0xfea21f(0x1f3)][_0xfea21f(0x20c)]();}[_0x57c040(0x238)](){const _0x3a14ea=_0x57c040;this[_0x3a14ea(0x1ca)][_0x3a14ea(0x215)]();}[_0x57c040(0x242)](){const _0x17d16d=_0x57c040,_0x1669c7=new Map(),_0x39ed88=_0x396fd0(this[_0x17d16d(0x1e2)][_0x17d16d(0x218)][_0x17d16d(0x24d)](_0x17d16d(0x1de)),this[_0x17d16d(0x1e2)][_0x17d16d(0x254)]);for(const _0x90db84 of _0x39ed88)for(const _0x23cc3e of _0x90db84[_0x17d16d(0x1b4)])_0x1669c7[_0x17d16d(0x253)](_0x23cc3e['id'],{..._0x23cc3e,'groupId':_0x90db84[_0x17d16d(0x20f)],'groupLabel':_0x90db84[_0x17d16d(0x1cb)]||_0x90db84[_0x17d16d(0x20f)]});return _0x1669c7;}[_0x57c040(0x21d)](_0xd81f91){const _0xc60c9b=_0x57c040,_0x51b779=this[_0xc60c9b(0x1e2)],_0x1ada9e=_0x51b779[_0xc60c9b(0x1b4)][_0xc60c9b(0x24d)](_0xc60c9b(0x203)),_0x3b5e3e=new _0xd81f91(_0x51b779[_0xc60c9b(0x254)]);return _0x3b5e3e[_0xc60c9b(0x253)]({'label':_0x5875a2(_0x51b779[_0xc60c9b(0x254)],_0xc60c9b(0x220)),'icon':_0x9b89c5[_0xc60c9b(0x207)],'isToggleable':!0x0}),_0x3b5e3e[_0xc60c9b(0x202)](_0xc60c9b(0x1b8))['to'](_0x1ada9e),_0x3b5e3e[_0xc60c9b(0x202)](_0xc60c9b(0x212))['to'](this[_0xc60c9b(0x1ca)],'id',_0x4366f1=>_0xc60c9b(0x1e6)===_0x4366f1),this[_0xc60c9b(0x1cf)](_0x3b5e3e,_0xc60c9b(0x23a),()=>{const _0x3f9acf=_0xc60c9b;_0x3b5e3e[_0x3f9acf(0x212)]?this[_0x3f9acf(0x238)]():_0x1ada9e[_0x3f9acf(0x23a)]();}),_0x3b5e3e;}[_0x57c040(0x1c8)](){const _0x1887eb=_0x57c040,_0x5a1e02=this[_0x1887eb(0x1e2)][_0x1887eb(0x25c)][_0x1887eb(0x24d)](_0x319eda);this[_0x1887eb(0x1bb)]=new _0x91384d(this[_0x1887eb(0x1e2)][_0x1887eb(0x254)],this[_0x1887eb(0x1d6)],this[_0x1887eb(0x1e2)][_0x1887eb(0x218)][_0x1887eb(0x24d)](_0x1887eb(0x204))),this[_0x1887eb(0x1bb)]['on'](_0x1887eb(0x221),()=>{const _0x18b5af=_0x1887eb;this[_0x18b5af(0x1ca)][_0x18b5af(0x1f3)][_0x18b5af(0x232)]||this[_0x18b5af(0x1ca)][_0x18b5af(0x1f3)][_0x18b5af(0x20c)]();}),this[_0x1887eb(0x1bb)][_0x1887eb(0x1d7)][_0x1887eb(0x23c)][_0x1887eb(0x1fd)]['on'](_0x1887eb(0x255),()=>{const _0x115852=_0x1887eb;this[_0x115852(0x1ca)][_0x115852(0x1f3)][_0x115852(0x232)]||this[_0x115852(0x1ca)][_0x115852(0x1f3)][_0x115852(0x20c)]();}),this[_0x1887eb(0x1cf)](this[_0x1887eb(0x1bb)],_0x1887eb(0x1cd),()=>{const _0x1ca14d=_0x1887eb;_0x5a1e02[_0x1ca14d(0x1d0)](this[_0x1ca14d(0x225)][_0x1ca14d(0x1da)]),this[_0x1ca14d(0x238)]();}),this[_0x1887eb(0x1cf)](this[_0x1887eb(0x1bb)],_0x1887eb(0x237),()=>{const _0x53acac=_0x1887eb;_0x5a1e02[_0x53acac(0x237)](this[_0x53acac(0x225)][_0x53acac(0x1da)]),this[_0x53acac(0x238)]();}),this[_0x1887eb(0x1ee)]();}[_0x57c040(0x1ee)](){const _0x2b118c=_0x57c040,{locale:_0x2e5309,ui:{ariaLiveAnnouncer:_0x55f925}}=this[_0x2b118c(0x1e2)];this[_0x2b118c(0x1bb)][_0x2b118c(0x229)]['on'](_0x2b118c(0x21f),(_0x23e6e0,_0x3fbe1f,_0x100a42)=>{const _0x4bf9a0=_0x2b118c,_0x10f4d2=this[_0x4bf9a0(0x225)][_0x4bf9a0(0x1da)];_0x100a42?_0x55f925[_0x4bf9a0(0x259)](_0x5875a2(_0x2e5309,_0x4bf9a0(0x1b5))):_0x10f4d2&&_0x55f925[_0x4bf9a0(0x259)](_0x5875a2(_0x2e5309,_0x4bf9a0(0x25b),_0x10f4d2),{'politeness':_0x4bf9a0(0x24e),'isUnsafeHTML':!0x0});}),this[_0x2b118c(0x1bb)]['on'](_0x2b118c(0x217),(_0x56cb13,_0x2e124d,_0x4ca416)=>{const _0x16a34d=_0x2b118c;if(_0x4ca416){const _0x247c42=this[_0x16a34d(0x1bb)][_0x16a34d(0x1e4)][_0x16a34d(0x24b)];_0x55f925[_0x16a34d(0x259)](_0x5875a2(_0x2e5309,_0x16a34d(0x1d1),_0x247c42));}});}[_0x57c040(0x1f0)](_0x227f25){const _0x51480c=_0x57c040,_0xbb14fc=this[_0x51480c(0x1ed)][_0x51480c(0x24d)](_0x227f25),_0x51e5b1=this[_0x51480c(0x1e2)],_0x352743=_0x51e5b1[_0x51480c(0x224)][_0x51480c(0x1ce)][_0x51480c(0x21e)],_0x484715=_0x51e5b1[_0x51480c(0x1b4)][_0x51480c(0x24d)](_0x51480c(0x203)),_0x4ac09a=_0x51e5b1[_0x51480c(0x25c)][_0x51480c(0x24d)](_0x319eda),_0x48d73f=''+(_0xbb14fc[_0x51480c(0x20f)]!==_0x5ce5d8?_0xbb14fc[_0x51480c(0x1cb)]+':\x20':'')+_0xbb14fc[_0x51480c(0x1c3)];if(!0x1!==_0xbb14fc[_0x51480c(0x1df)]&&_0x352743[_0x51480c(0x1c1)]){const _0x55fa8b=_0x502324(_0x352743[_0x51480c(0x1ae)]())||_0x51e5b1[_0x51480c(0x224)][_0x51480c(0x248)][_0x51480c(0x21a)](_0x352743);_0x51e5b1[_0x51480c(0x224)][_0x51480c(0x1cc)](_0x4d4b0f=>{const _0xd2e5d3=_0x51480c;_0x4d4b0f[_0xd2e5d3(0x1dc)](_0x55fa8b,'in');});}_0x4ac09a[_0x51480c(0x25f)](),_0x484715[_0x51480c(0x23a)](_0xbb14fc[_0x51480c(0x236)],_0x48d73f,_0x51480c(0x1dd)+_0x227f25);}[_0x57c040(0x23d)](_0x39994a,_0x1a0359,_0x21dfd9,_0x1d9534){const _0x229018=_0x57c040,_0x5392df=this[_0x229018(0x1e2)],_0x27eaaf=_0x5392df[_0x229018(0x254)],_0x19ec3c=new _0x21f48e(_0x27eaaf),_0x2860de=U(_0x5392df,_0x21dfd9)[_0x229018(0x1f2)](_0x18c6bb=>_0x18c6bb[_0x229018(0x1b4)][_0x229018(0x200)]);0x1===_0x2860de[_0x229018(0x200)]?this[_0x229018(0x206)]({'command':_0x39994a,'commands':_0x2860de[0x0][_0x229018(0x1b4)],'parentMenuView':_0x1a0359,'onExecute':_0x1d9534})[_0x229018(0x1ec)](_0x2dd93d=>_0x19ec3c[_0x229018(0x209)][_0x229018(0x1db)](_0x2dd93d)):_0x2860de[_0x229018(0x1ec)](({groupId:_0x467abf,groupLabel:_0x104982,commands:_0x279646})=>{const _0x571d53=_0x229018,_0x4d8365=new _0x5b93fe(_0x27eaaf,_0x1a0359),_0x4b7eb6=new _0x1616ea(_0x27eaaf),_0x23523b=new _0x21f48e(_0x27eaaf),_0x22e185=this[_0x571d53(0x206)]({'command':_0x39994a,'commands':_0x279646,'parentMenuView':_0x4b7eb6,'onExecute':_0x1d9534});_0x4b7eb6[_0x571d53(0x1af)][_0x571d53(0x253)]({'label':_0x104982||_0x467abf}),_0x4b7eb6[_0x571d53(0x24c)](_0x571d53(0x23a))['to'](_0x1a0359),_0x23523b[_0x571d53(0x209)][_0x571d53(0x1fe)](_0x22e185),_0x4b7eb6[_0x571d53(0x1bd)][_0x571d53(0x21b)][_0x571d53(0x1db)](_0x23523b),_0x4d8365[_0x571d53(0x21b)][_0x571d53(0x1db)](_0x4b7eb6),_0x19ec3c[_0x571d53(0x209)][_0x571d53(0x1db)](_0x4d8365);}),_0x1a0359[_0x229018(0x1bd)][_0x229018(0x21b)][_0x229018(0x1db)](_0x19ec3c);}[_0x57c040(0x206)]({command:_0x56b0a4,commands:_0x476bfd,parentMenuView:_0x25b88a,onExecute:_0x57e322}){const _0x5b9104=_0x57c040,_0xb92d5c=this[_0x5b9104(0x1e2)],_0x293c56=_0xb92d5c[_0x5b9104(0x254)];return U(_0xb92d5c,_0x476bfd)[_0x5b9104(0x1e9)](_0x2a975c=>{const _0x3d9674=_0x5b9104,_0x2c7d7d=new _0x5b93fe(_0x293c56,_0x25b88a),_0x517422=new _0x3a683a(_0x293c56);return _0x517422[_0x3d9674(0x253)]({'label':_0x2a975c[_0x3d9674(0x1c3)]}),_0x517422[_0x3d9674(0x24c)](_0x3d9674(0x23a))['to'](_0x25b88a),_0x517422['on'](_0x3d9674(0x23a),()=>_0x57e322(_0x2a975c['id'])),_0x517422[_0x3d9674(0x202)](_0x3d9674(0x1b8))['to'](_0x56b0a4,_0x3d9674(0x243),_0x28c06e=>_0x28c06e[_0x3d9674(0x24f)](_0x2a975c['id'])),_0x2c7d7d[_0x3d9674(0x21b)][_0x3d9674(0x1db)](_0x517422),_0x2c7d7d;});}}function B(_0xf6d78e,_0x3537cd){const _0x488fbe=_0x57c040;return void 0x0!==_0xf6d78e[_0x488fbe(0x256)]&&void 0x0===_0x3537cd[_0x488fbe(0x256)]?0x1:void 0x0===_0xf6d78e[_0x488fbe(0x256)]&&void 0x0!==_0x3537cd[_0x488fbe(0x256)]?-0x1:void 0x0!==_0xf6d78e[_0x488fbe(0x256)]&&void 0x0!==_0x3537cd[_0x488fbe(0x256)]?_0xf6d78e[_0x488fbe(0x256)]-_0x3537cd[_0x488fbe(0x256)]:0x0;}function U(_0x173a4f,_0x3f5475){const _0x41bd7f=_0x57c040;_0x3f5475[_0x41bd7f(0x1e1)](B);const _0x3c40a6={},_0x5b15c7=[];for(const _0x4e999d of _0x3f5475)if(void 0x0!==_0x4e999d[_0x41bd7f(0x256)]){if(_0x4e999d[_0x41bd7f(0x256)]in _0x3c40a6)throw new _0x27725e(_0x41bd7f(0x23e),_0x173a4f,{'conflictingDefinitions':[_0x4e999d,_0x3c40a6[_0x4e999d[_0x41bd7f(0x256)]]]});_0x3c40a6[_0x4e999d[_0x41bd7f(0x256)]]=_0x4e999d,_0x5b15c7[_0x41bd7f(0x234)](_0x4e999d[_0x41bd7f(0x256)],0x0,_0x4e999d);}else _0x5b15c7[_0x41bd7f(0x211)](_0x4e999d);return _0x5b15c7;}
|
|
23
|
+
const _0x4c1fc1=_0x35d7;(function(_0x49e4df,_0x501345){const _0x7a0144=_0x35d7,_0x2068f6=_0x49e4df();while(!![]){try{const _0x124208=-parseInt(_0x7a0144(0x9c))/0x1*(parseInt(_0x7a0144(0x96))/0x2)+parseInt(_0x7a0144(0x116))/0x3*(parseInt(_0x7a0144(0x12c))/0x4)+parseInt(_0x7a0144(0xf5))/0x5+parseInt(_0x7a0144(0xd5))/0x6*(-parseInt(_0x7a0144(0xb0))/0x7)+-parseInt(_0x7a0144(0x95))/0x8+-parseInt(_0x7a0144(0xc9))/0x9+-parseInt(_0x7a0144(0xd1))/0xa*(-parseInt(_0x7a0144(0xfd))/0xb);if(_0x124208===_0x501345)break;else _0x2068f6['push'](_0x2068f6['shift']());}catch(_0x2c4cb4){_0x2068f6['push'](_0x2068f6['shift']());}}}(_0x1ee7,0x35c77));import{Plugin as _0x181b23}from'ckeditor5/src/core.js';import{first as _0x87da0d,CKEditorError as _0x5e0d45}from'ckeditor5/src/utils.js';import{createDropdown as _0x147fad,addMenuToDropdown as _0x3b12ea,ButtonView as _0x994561,MenuBarMenuListItemButtonView as _0x272083,Dialog as _0x98c73c,DialogViewPosition as _0x2c6677,MenuBarMenuView as _0x28239b,MenuBarMenuListView as _0x3e6a5e,MenuBarMenuListItemView as _0x513168}from'ckeditor5/src/ui.js';import{icons as _0xcbb6c6}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x1d40c0,UNGROUPED_COMMANDS_GROUP_ID as _0x14a7b5}from'./utils/normalizecommandsconfig.js';import _0x55324b from'./aiassistantediting.js';import _0x2a3beb from'./adapters/aiadapter.js';import{getTranslation as _0x191930}from'./utils/common-translations.js';import _0x78286d from'./ui/showaiassistantcommand.js';import _0x5ee211 from'./ui/aiassistantcontroller.js';import _0x19279e from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2a7d39}from'./ui/form/aiformtoolbarview.js';function _0x35d7(_0x5377fd,_0x9c50b6){const _0x1ee7b3=_0x1ee7();return _0x35d7=function(_0x35d7ef,_0x579945){_0x35d7ef=_0x35d7ef-0x88;let _0x5b881b=_0x1ee7b3[_0x35d7ef];return _0x5b881b;},_0x35d7(_0x5377fd,_0x9c50b6);}import _0x5a0e5c from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x4c1fc1(0x93)];import{ClipboardMarkersUtils as _0x14ea5f}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x11fee6,DataTransfer as _0x31589e}from'ckeditor5/src/engine.js';export default class n extends _0x181b23{static get[_0x4c1fc1(0xd4)](){const _0x1b4b57=_0x4c1fc1;return _0x1b4b57(0xd9);}static get[_0x4c1fc1(0xe8)](){return!0x0;}static get[_0x4c1fc1(0xa5)](){return!0x0;}static get[_0x4c1fc1(0xf6)](){return[_0x14ea5f,_0x55324b,_0x2a3beb,_0x98c73c];}constructor(_0x23f749){const _0x1a9c8f=_0x4c1fc1;super(_0x23f749),this[_0x1a9c8f(0xd3)]='',_0x23f749[_0x1a9c8f(0xc4)][_0x1a9c8f(0x125)](_0x1a9c8f(0xb9),[_0x1a9c8f(0x106),_0x1a9c8f(0x10e),_0x1a9c8f(0x139)]),_0x23f749[_0x1a9c8f(0xc4)][_0x1a9c8f(0x125)](_0x1a9c8f(0xaa),''),_0x23f749[_0x1a9c8f(0xc4)][_0x1a9c8f(0x125)](_0x1a9c8f(0x88),!0x0),this[_0x1a9c8f(0xd3)]=_0x1a9c8f(0xf1)+(_0x23f749[_0x1a9c8f(0xc4)][_0x1a9c8f(0x98)](_0x1a9c8f(0x88))?_0x1a9c8f(0xd7):'');}[_0x4c1fc1(0x120)](){const _0x558785=_0x4c1fc1,{editor:_0xe455d8}=this;this[_0x558785(0x12b)]=_0xe455d8[_0x558785(0xe3)][_0x558785(0x98)](_0x2a3beb),this[_0x558785(0xfa)]=_0xe455d8[_0x558785(0xe3)][_0x558785(0x98)](_0x98c73c),this[_0x558785(0x99)]=null,this[_0x558785(0x118)]=this[_0x558785(0x113)]();const _0xd8abeb=new _0x78286d(_0xe455d8,Array[_0x558785(0x108)](this[_0x558785(0x118)][_0x558785(0x117)]()));_0xe455d8[_0x558785(0x10d)][_0x558785(0x103)](_0x558785(0x11b),_0xd8abeb),_0xe455d8['ui'][_0x558785(0xee)][_0x558785(0x103)](_0x558785(0xb1),_0x54ac3b=>{const _0x5a3d74=_0x558785,_0x4e4cb1=_0x147fad(_0x54ac3b);return _0x4e4cb1[_0x5a3d74(0xaf)]({'class':_0x5a3d74(0x111)+this[_0x5a3d74(0xd3)]}),_0x4e4cb1[_0x5a3d74(0x11d)][_0x5a3d74(0xaf)]({'label':_0x191930(_0x54ac3b,_0x5a3d74(0x10c)),'icon':_0x5a0e5c,'tooltip':!0x0}),_0x4e4cb1['on'](_0x5a3d74(0xad),_0x398b9d=>this[_0x5a3d74(0x114)](_0x398b9d[_0x5a3d74(0xe9)]['id'])),_0x3b12ea(_0x4e4cb1,_0xe455d8['ui'][_0x5a3d74(0xa9)][_0x5a3d74(0xe7)],function(_0x4e8f33){const _0x811c9f=_0x5a3d74,_0x26fddc=_0x1d40c0(_0x4e8f33[_0x811c9f(0xc4)][_0x811c9f(0x98)](_0x811c9f(0xf7)),_0x4e8f33[_0x811c9f(0xcb)]),_0x1f5671=U(_0x4e8f33,_0x26fddc)[_0x811c9f(0x105)](_0x574230=>_0x574230[_0x811c9f(0x10d)][_0x811c9f(0x109)]);if(0x1===_0x1f5671[_0x811c9f(0x109)])return U(_0x4e8f33,_0x1f5671[0x0][_0x811c9f(0x10d)])[_0x811c9f(0x132)](_0x48de5d=>({'id':_0x48de5d['id'],'label':_0x48de5d[_0x811c9f(0xeb)]}));return _0x1f5671[_0x811c9f(0x132)](_0x10a54d=>{const _0x487ee0=_0x811c9f,{groupId:_0x387980,groupLabel:_0x3b977a,commands:_0x1eda88}=_0x10a54d,_0xbc83f0=U(_0x4e8f33,_0x1eda88)[_0x487ee0(0x132)](_0x107b02=>({'id':_0x107b02['id'],'label':_0x107b02[_0x487ee0(0xeb)]}));return{'id':_0x387980,'menu':_0x3b977a||_0x387980,'children':_0xbc83f0};});}(_0xe455d8),{'ariaLabel':_0x191930(_0x54ac3b,_0x5a3d74(0x10c))}),_0x4e4cb1[_0x5a3d74(0x112)][_0x5a3d74(0xc8)]=_0x5a3d74(0x111)+this[_0x5a3d74(0xd3)],_0xd8abeb['on'](_0x5a3d74(0xda),_0x425f05),_0x4e4cb1[_0x5a3d74(0x112)][_0x5a3d74(0xf0)](_0x5a3d74(0x8b),_0x425f05),_0x4e4cb1;function _0x425f05(){const _0x1c515d=_0x5a3d74;_0x4e4cb1[_0x1c515d(0xe6)]=_0xd8abeb[_0x1c515d(0xb2)][_0x1c515d(0x109)]>0x0;for(const _0x8d2dc1 of _0x4e4cb1[_0x1c515d(0x112)][_0x1c515d(0x100)])_0x8d2dc1[_0x1c515d(0xe6)]=_0xd8abeb[_0x1c515d(0xb2)][_0x1c515d(0x11e)](_0x8d2dc1['id']);}}),_0xe455d8['ui'][_0x558785(0xee)][_0x558785(0x103)](_0x558785(0x11c),_0xb6c25c=>{const _0x1d3fed=_0x558785,_0x3f3755=new _0x28239b(_0xb6c25c);_0x3f3755[_0x1d3fed(0x11d)][_0x1d3fed(0xaf)]({'label':_0x191930(_0xb6c25c,_0x1d3fed(0x10c)),'icon':_0x5a0e5c}),_0x3f3755[_0x1d3fed(0x10f)](_0x1d3fed(0xe6))['to'](_0xd8abeb,_0x1d3fed(0xb2),_0x18e902=>_0x18e902[_0x1d3fed(0x109)]>0x0);const _0x8df98a=_0x1d40c0(_0xe455d8[_0x1d3fed(0xc4)][_0x1d3fed(0x98)](_0x1d3fed(0xf7)),_0xb6c25c);return this[_0x1d3fed(0xa6)](_0xd8abeb,_0x3f3755,_0x8df98a,_0x56c2f9=>this[_0x1d3fed(0x114)](_0x56c2f9)),_0x3f3755;}),_0xe455d8['ui'][_0x558785(0xee)][_0x558785(0x103)](_0x558785(0x128),()=>{const _0x142b5f=_0x558785,_0x266a9c=this[_0x142b5f(0x91)](_0x994561);return _0x266a9c[_0x142b5f(0xaf)]({'tooltip':!0x0,'class':_0x142b5f(0x9b)+this[_0x142b5f(0xd3)]}),_0x266a9c;}),_0xe455d8['ui'][_0x558785(0xee)][_0x558785(0x103)](_0x558785(0xa4),()=>{const _0x2cc7ca=_0x558785,_0x5d97d4=this[_0x2cc7ca(0x91)](_0x272083);return _0x5d97d4[_0x2cc7ca(0xaf)]({'role':_0x2cc7ca(0x110)}),_0x5d97d4;}),this[_0x558785(0x138)]=this[_0x558785(0xb3)][_0x558785(0xc4)][_0x558785(0x98)](_0x558785(0x138));const _0x21dd45=this[_0x558785(0xb3)];this[_0x558785(0xe5)]=setInterval(()=>{const _0x51025d=_0x558785;let _0xd29823;for(const _0x39bfdb in _0x21dd45){const _0x3712aa=_0x39bfdb,_0x4bb4cc=_0x21dd45[_0x3712aa];if(_0x51025d(0xfb)==_0x4bb4cc||_0x51025d(0xc0)==_0x4bb4cc||_0x51025d(0xfc)==_0x4bb4cc||_0x51025d(0xcd)==_0x4bb4cc||_0x51025d(0x8a)==_0x4bb4cc||_0x51025d(0xc1)==_0x4bb4cc||_0x51025d(0xff)==_0x4bb4cc||_0x51025d(0x130)==_0x4bb4cc){delete _0x21dd45[_0x3712aa],_0xd29823=_0x4bb4cc,clearInterval(this[_0x51025d(0xe5)]),this[_0x51025d(0xe5)]=void 0x0;break;}}_0x51025d(0xc0)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0x8f)),_0x51025d(0xfc)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0x101)),_0x51025d(0xcd)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0x8c)),_0x51025d(0x8a)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0x10b),_0x51025d(0xb5)),_0x51025d(0xc1)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0x89)),_0x51025d(0xff)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0xf3)),_0x51025d(0x130)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0xce));},0x3e8);}[_0x4c1fc1(0xac)](){const _0x13adc0=_0x4c1fc1;super[_0x13adc0(0xac)](),this[_0x13adc0(0xe5)]&&clearInterval(this[_0x13adc0(0xe5)]);}[_0x4c1fc1(0xe2)](_0x4f1b8c='',_0x536b0a='',_0x526f79=_0x4c1fc1(0xae)){const _0x36fec7=_0x4c1fc1,_0xea040b=this[_0x36fec7(0xb3)],_0x8f54f9=_0xea040b[_0x36fec7(0x90)][_0x36fec7(0xa9)],_0x432f9b=_0xea040b[_0x36fec7(0xe3)][_0x36fec7(0x98)](_0x55324b),_0x31352b=_0xea040b[_0x36fec7(0xe3)][_0x36fec7(0x98)](_0x14ea5f);_0x432f9b[_0x36fec7(0xa1)]();const _0x7571c5=new w(),_0x558180=new ClipboardEvent(_0x36fec7(0x137),{'clipboardData':_0x7571c5}),_0x28890a=new _0x31589e(_0x7571c5),_0x5f0e28=new _0x11fee6(_0x8f54f9,_0x558180,{'dataTransfer':_0x28890a});_0x31352b[_0x36fec7(0xd0)](_0x36fec7(0xa2),()=>{const _0x3e2144=_0x36fec7;_0x8f54f9[_0x3e2144(0xec)][_0x3e2144(0xe4)](_0x3e2144(0x137),_0x5f0e28);}),this[_0x36fec7(0x99)]||(this[_0x36fec7(0x94)](),this[_0x36fec7(0x131)]=new _0x5ee211(_0xea040b,this[_0x36fec7(0x12b)][_0x36fec7(0xbe)],this[_0x36fec7(0x99)]));let _0xe322a4=_0x28890a[_0x36fec7(0x119)](_0x36fec7(0x92));const _0x255a14=_0xea040b[_0x36fec7(0x124)][_0x36fec7(0xec)][_0x36fec7(0x122)],_0x4dd558=Array[_0x36fec7(0x108)](_0x255a14[_0x36fec7(0x102)]());0x1===_0x4dd558[_0x36fec7(0x109)]&&_0x4dd558[0x0][_0x36fec7(0xfe)]&&!_0x255a14[_0x36fec7(0xd2)]()&&''!==_0xe322a4[_0x36fec7(0x123)](/ /g,'')[_0x36fec7(0xb8)]()&&(_0xe322a4=_0x36fec7(0xa0)+_0xe322a4+_0x36fec7(0x12a)),this[_0x36fec7(0x131)][_0x36fec7(0xf8)]({'actionId':_0x526f79,'query':_0x4f1b8c,'htmlContent':_0xe322a4,'label':_0x536b0a,'mainActionLabel':_0x2a7d39[_0xea040b[_0x36fec7(0x124)][_0x36fec7(0xec)][_0x36fec7(0x122)][_0x36fec7(0xe0)]?_0x36fec7(0xdb):_0x36fec7(0xbc)]}),_0x36fec7(0x128)!==this[_0x36fec7(0xfa)]['id']?this[_0x36fec7(0xfa)][_0x36fec7(0x121)]({'id':_0x36fec7(0x128),'icon':_0xcbb6c6[_0x36fec7(0xd6)],'title':_0x191930(this[_0x36fec7(0xb3)][_0x36fec7(0xcb)],_0x36fec7(0xb6)),'content':this[_0x36fec7(0x99)],'position':_0x2c6677[_0x36fec7(0xc2)],'onShow':()=>{const _0x24b1b8=_0x36fec7;this[_0x24b1b8(0x99)][_0x24b1b8(0x9f)]();},'onHide':()=>{const _0xbc11a7=_0x36fec7;this[_0xbc11a7(0x131)][_0xbc11a7(0xcc)](),_0x432f9b[_0xbc11a7(0xbb)]();}}):this[_0x36fec7(0xfa)][_0x36fec7(0xa9)][_0x36fec7(0x8d)]||this[_0x36fec7(0xfa)][_0x36fec7(0xa9)][_0x36fec7(0xca)]();}[_0x4c1fc1(0xdc)](){const _0x1f578a=_0x4c1fc1;this[_0x1f578a(0xfa)][_0x1f578a(0x107)]();}[_0x4c1fc1(0x113)](){const _0x28ecb7=_0x4c1fc1,_0x2a1a95=new Map(),_0x567ca0=_0x1d40c0(this[_0x28ecb7(0xb3)][_0x28ecb7(0xc4)][_0x28ecb7(0x98)](_0x28ecb7(0xf7)),this[_0x28ecb7(0xb3)][_0x28ecb7(0xcb)]);for(const _0x4c0d5d of _0x567ca0)for(const _0x363d81 of _0x4c0d5d[_0x28ecb7(0x10d)])_0x2a1a95[_0x28ecb7(0xaf)](_0x363d81['id'],{..._0x363d81,'groupId':_0x4c0d5d[_0x28ecb7(0x115)],'groupLabel':_0x4c0d5d[_0x28ecb7(0x135)]||_0x4c0d5d[_0x28ecb7(0x115)]});return _0x2a1a95;}[_0x4c1fc1(0x91)](_0x29fcd3){const _0x417b22=_0x4c1fc1,_0x3d83ad=this[_0x417b22(0xb3)],_0xdd25c3=_0x3d83ad[_0x417b22(0x10d)][_0x417b22(0x98)](_0x417b22(0x11b)),_0x2d0ffb=new _0x29fcd3(_0x3d83ad[_0x417b22(0xcb)]);return _0x2d0ffb[_0x417b22(0xaf)]({'label':_0x191930(_0x3d83ad[_0x417b22(0xcb)],_0x417b22(0xb6)),'icon':_0xcbb6c6[_0x417b22(0xd6)],'isToggleable':!0x0}),_0x2d0ffb[_0x417b22(0x10f)](_0x417b22(0xe6))['to'](_0xdd25c3),_0x2d0ffb[_0x417b22(0x10f)](_0x417b22(0x12e))['to'](this[_0x417b22(0xfa)],'id',_0x467c28=>_0x417b22(0x128)===_0x467c28),this[_0x417b22(0xc5)](_0x2d0ffb,_0x417b22(0xad),()=>{const _0x3523b4=_0x417b22;_0x2d0ffb[_0x3523b4(0x12e)]?this[_0x3523b4(0xdc)]():_0xdd25c3[_0x3523b4(0xad)]();}),_0x2d0ffb;}[_0x4c1fc1(0x94)](){const _0x53a7d9=_0x4c1fc1,_0x57121f=this[_0x53a7d9(0xb3)][_0x53a7d9(0xe3)][_0x53a7d9(0x98)](_0x55324b);this[_0x53a7d9(0x99)]=new _0x19279e(this[_0x53a7d9(0xb3)][_0x53a7d9(0xcb)],this[_0x53a7d9(0xd3)],this[_0x53a7d9(0xb3)][_0x53a7d9(0xc4)][_0x53a7d9(0x98)](_0x53a7d9(0xaa))),this[_0x53a7d9(0x99)]['on'](_0x53a7d9(0x129),()=>{const _0x4843ed=_0x53a7d9;this[_0x4843ed(0xfa)][_0x4843ed(0xa9)][_0x4843ed(0x8d)]||this[_0x4843ed(0xfa)][_0x4843ed(0xa9)][_0x4843ed(0xca)]();}),this[_0x53a7d9(0x99)][_0x53a7d9(0x12f)][_0x53a7d9(0xd8)][_0x53a7d9(0x9a)]['on'](_0x53a7d9(0xea),()=>{const _0x502c16=_0x53a7d9;this[_0x502c16(0xfa)][_0x502c16(0xa9)][_0x502c16(0x8d)]||this[_0x502c16(0xfa)][_0x502c16(0xa9)][_0x502c16(0xca)]();}),this[_0x53a7d9(0xc5)](this[_0x53a7d9(0x99)],_0x53a7d9(0xc7),()=>{const _0x2b0bb7=_0x53a7d9;_0x57121f[_0x2b0bb7(0x134)](this[_0x2b0bb7(0x131)][_0x2b0bb7(0xb4)]),this[_0x2b0bb7(0xdc)]();}),this[_0x53a7d9(0xc5)](this[_0x53a7d9(0x99)],_0x53a7d9(0x11a),()=>{const _0x51938e=_0x53a7d9;_0x57121f[_0x51938e(0x11a)](this[_0x51938e(0x131)][_0x51938e(0xb4)]),this[_0x51938e(0xdc)]();}),this[_0x53a7d9(0x9e)]();}[_0x4c1fc1(0x9e)](){const _0x12b0ed=_0x4c1fc1,{locale:_0x3f9308,ui:{ariaLiveAnnouncer:_0x15a33f}}=this[_0x12b0ed(0xb3)];this[_0x12b0ed(0x99)][_0x12b0ed(0xe1)]['on'](_0x12b0ed(0x136),(_0x2146a6,_0x1319f3,_0x1c820c)=>{const _0xe6a367=_0x12b0ed,_0x10b247=this[_0xe6a367(0x131)][_0xe6a367(0xb4)];_0x1c820c?_0x15a33f[_0xe6a367(0x8e)](_0x191930(_0x3f9308,_0xe6a367(0x10a))):_0x10b247&&_0x15a33f[_0xe6a367(0x8e)](_0x191930(_0x3f9308,_0xe6a367(0xcf),_0x10b247),{'politeness':_0xe6a367(0x133),'isUnsafeHTML':!0x0});}),this[_0x12b0ed(0x99)]['on'](_0x12b0ed(0xb7),(_0x300ffa,_0x5536fc,_0x5be74d)=>{const _0x454b7b=_0x12b0ed;if(_0x5be74d){const _0x4bd1a2=this[_0x454b7b(0x99)][_0x454b7b(0x11f)][_0x454b7b(0xdf)];_0x15a33f[_0x454b7b(0x8e)](_0x191930(_0x3f9308,_0x454b7b(0xef),_0x4bd1a2));}});}[_0x4c1fc1(0x114)](_0x28f7c1){const _0xe4c504=_0x4c1fc1,_0x24e31f=this[_0xe4c504(0x118)][_0xe4c504(0x98)](_0x28f7c1),_0x53858f=this[_0xe4c504(0xb3)],_0x3b85ad=_0x53858f[_0xe4c504(0x124)][_0xe4c504(0xec)][_0xe4c504(0x122)],_0x246f67=_0x53858f[_0xe4c504(0x10d)][_0xe4c504(0x98)](_0xe4c504(0x11b)),_0x4d72eb=_0x53858f[_0xe4c504(0xe3)][_0xe4c504(0x98)](_0x55324b),_0x407f9d=''+(_0x24e31f[_0xe4c504(0x115)]!==_0x14a7b5?_0x24e31f[_0xe4c504(0x135)]+':\x20':'')+_0x24e31f[_0xe4c504(0xeb)];if(!0x1!==_0x24e31f[_0xe4c504(0xbd)]&&_0x3b85ad[_0xe4c504(0xe0)]){const _0x55f0f3=_0x87da0d(_0x3b85ad[_0xe4c504(0x126)]())||_0x53858f[_0xe4c504(0x124)][_0xe4c504(0xf9)][_0xe4c504(0x9d)](_0x3b85ad);_0x53858f[_0xe4c504(0x124)][_0xe4c504(0xa3)](_0x2a9803=>{const _0x159570=_0xe4c504;_0x2a9803[_0x159570(0xbf)](_0x55f0f3,'in');});}_0x4d72eb[_0xe4c504(0xa1)](),_0x246f67[_0xe4c504(0xad)](_0x24e31f[_0xe4c504(0xf2)],_0x407f9d,_0xe4c504(0xde)+_0x28f7c1);}[_0x4c1fc1(0xa6)](_0xe23f92,_0x11373f,_0xcdd7db,_0x3fc937){const _0x3c51e9=_0x4c1fc1,_0x17a30a=this[_0x3c51e9(0xb3)],_0x5c4d23=_0x17a30a[_0x3c51e9(0xcb)],_0x4e5797=new _0x3e6a5e(_0x5c4d23),_0x28739b=U(_0x17a30a,_0xcdd7db)[_0x3c51e9(0x105)](_0x49b9cc=>_0x49b9cc[_0x3c51e9(0x10d)][_0x3c51e9(0x109)]);0x1===_0x28739b[_0x3c51e9(0x109)]?this[_0x3c51e9(0x97)]({'command':_0xe23f92,'commands':_0x28739b[0x0][_0x3c51e9(0x10d)],'parentMenuView':_0x11373f,'onExecute':_0x3fc937})[_0x3c51e9(0xba)](_0x5ab932=>_0x4e5797[_0x3c51e9(0xab)][_0x3c51e9(0x103)](_0x5ab932)):_0x28739b[_0x3c51e9(0xba)](({groupId:_0x41eef2,groupLabel:_0x3493be,commands:_0x56fc10})=>{const _0x59f22f=_0x3c51e9,_0x2d245a=new _0x513168(_0x5c4d23,_0x11373f),_0x13d492=new _0x28239b(_0x5c4d23),_0x15e7e6=new _0x3e6a5e(_0x5c4d23),_0x84c169=this[_0x59f22f(0x97)]({'command':_0xe23f92,'commands':_0x56fc10,'parentMenuView':_0x13d492,'onExecute':_0x3fc937});_0x13d492[_0x59f22f(0x11d)][_0x59f22f(0xaf)]({'label':_0x3493be||_0x41eef2}),_0x13d492[_0x59f22f(0x104)](_0x59f22f(0xad))['to'](_0x11373f),_0x15e7e6[_0x59f22f(0xab)][_0x59f22f(0xa8)](_0x84c169),_0x13d492[_0x59f22f(0xa7)][_0x59f22f(0x12d)][_0x59f22f(0x103)](_0x15e7e6),_0x2d245a[_0x59f22f(0x12d)][_0x59f22f(0x103)](_0x13d492),_0x4e5797[_0x59f22f(0xab)][_0x59f22f(0x103)](_0x2d245a);}),_0x11373f[_0x3c51e9(0xa7)][_0x3c51e9(0x12d)][_0x3c51e9(0x103)](_0x4e5797);}[_0x4c1fc1(0x97)]({command:_0xc4d5ff,commands:_0x313817,parentMenuView:_0x27b232,onExecute:_0x20759e}){const _0x438d57=_0x4c1fc1,_0x10e96f=this[_0x438d57(0xb3)],_0x31d6a5=_0x10e96f[_0x438d57(0xcb)];return U(_0x10e96f,_0x313817)[_0x438d57(0x132)](_0x9c5924=>{const _0x3ee805=_0x438d57,_0x4a5442=new _0x513168(_0x31d6a5,_0x27b232),_0x46f2a1=new _0x272083(_0x31d6a5);return _0x46f2a1[_0x3ee805(0xaf)]({'label':_0x9c5924[_0x3ee805(0xeb)]}),_0x46f2a1[_0x3ee805(0x104)](_0x3ee805(0xad))['to'](_0x27b232),_0x46f2a1['on'](_0x3ee805(0xad),()=>_0x20759e(_0x9c5924['id'])),_0x46f2a1[_0x3ee805(0x10f)](_0x3ee805(0xe6))['to'](_0xc4d5ff,_0x3ee805(0xb2),_0x385db1=>_0x385db1[_0x3ee805(0x11e)](_0x9c5924['id'])),_0x4a5442[_0x3ee805(0x12d)][_0x3ee805(0x103)](_0x46f2a1),_0x4a5442;});}}function B(_0x508b75,_0x209dce){const _0x4a785a=_0x4c1fc1;return void 0x0!==_0x508b75[_0x4a785a(0xc6)]&&void 0x0===_0x209dce[_0x4a785a(0xc6)]?0x1:void 0x0===_0x508b75[_0x4a785a(0xc6)]&&void 0x0!==_0x209dce[_0x4a785a(0xc6)]?-0x1:void 0x0!==_0x508b75[_0x4a785a(0xc6)]&&void 0x0!==_0x209dce[_0x4a785a(0xc6)]?_0x508b75[_0x4a785a(0xc6)]-_0x209dce[_0x4a785a(0xc6)]:0x0;}function U(_0x5e27df,_0x3cff63){const _0x72b6c=_0x4c1fc1;_0x3cff63[_0x72b6c(0x127)](B);const _0x15806d={},_0x256591=[];for(const _0x11fe03 of _0x3cff63)if(void 0x0!==_0x11fe03[_0x72b6c(0xc6)]){if(_0x11fe03[_0x72b6c(0xc6)]in _0x15806d)throw new _0x5e0d45(_0x72b6c(0xed),_0x5e27df,{'conflictingDefinitions':[_0x11fe03,_0x15806d[_0x11fe03[_0x72b6c(0xc6)]]]});_0x15806d[_0x11fe03[_0x72b6c(0xc6)]]=_0x11fe03,_0x256591[_0x72b6c(0xf4)](_0x11fe03[_0x72b6c(0xc6)],0x0,_0x11fe03);}else _0x256591[_0x72b6c(0xc3)](_0x11fe03);return _0x256591;}function _0x1ee7(){const _0x5510a1=['EDITOR_TOP_SIDE','push','config','listenTo','order','replaceContent','menuPanelClass','1561617KkdYVQ','updatePosition','locale','reset','aiLicenseKeyDomainLimit','usageLimit','Generated\x20content:\x20%0','_forceMarkersCopy','330SVKdqw','getSelectedElement','_uiCssClasses','pluginName','106554BwkLQx','robotPencil','\x20ck-ai-assistant-ui_theme','queryView','AIAssistantUI','change:enabledCommandsIds','INSERT','hideUI','_showLicenseError','command:','text','isCollapsed','contentArea','showUI','plugins','fire','_licenseKeyCheckInterval','isEnabled','body','isOfficialPlugin','source','update','label','document','ai-commands-config-order-collision','componentFactory','Error\x20during\x20AI\x20content\x20generation:\x20%0','once','ck-ai-assistant-ui','prompt','trialLimit','splice','2002375ZkonrI','requires','ai.aiAssistant.commands','updateView','schema','_dialog','aiLicenseKeyValid','aiLicenseKeyExpired','228316HqfziS','isFlat','aiLicenseKeyTrialLimit','buttons','expired','getRanges','add','delegate','filter','media','hide','from','length','AI\x20is\x20writing','featureNotAllowed','AI\x20Commands','commands','rawHtml','bind','menuitemcheckbox','ck-ai-commands-dropdown\x20','menuView','_getResolvedCommandsDefinitions','_onExecute','groupId','33caHvXd','values','_commandDefinitions','getData','insertContentBelow','showAIAssistant','menuBar:aiCommands','buttonView','includes','errorView','init','show','selection','replace','model','define','getSelectedBlocks','sort','aiAssistant','change:value','</p>','_aiAdapter','16324hLGDUy','children','isOn','promptView','aiLicenseKeyUsageLimit','_aiAssistantController','map','polite','insertContent','groupLabel','change:isProcessing','copy','licenseKey','tableOfContents','ai.useTheme','evaluationLimit','aiLicenseKeyNotAllowed','render','domainLimit','wasMoved','announce','invalid','editing','_createAIAssistantUIButton','text/html','DataTransfer','_initView','2488240mRBOjb','2xWzHVU','_getMenuBarGroupButtons','get','_formView','fieldView','ck-ai-assistant-button\x20','301179cKbqsw','getLimitElement','_initAriaAiStatusChangeAnnouncements','focus','<p>','showFakeVisualSelection','comment','change','menuBar:aiAssistant','isPremiumPlugin','_populateMenuBarMenu','panelView','addMany','view','ai.aiAssistant.contentAreaCssClass','items','destroy','execute','custom','set','49JDkZcx','aiCommands','enabledCommandsIds','editor','currentContext','AIAssistant','AI\x20Assistant','change:isError','trim','ai.aiAssistant.disabledElements','forEach','hideFakeVisualSelection','REPLACE','requiresContent','textAdapter','setSelection','aiLicenseKeyInvalid','aiLicenseKeyEvaluationLimit'];_0x1ee7=function(){return _0x5510a1;};return _0x1ee7();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3e9199,_0x40e424){var _0x504270=_0x2219,_0x2fbacf=_0x3e9199();while(!![]){try{var _0x146cc1=-parseInt(_0x504270(0x119))/0x1*(parseInt(_0x504270(0x122))/0x2)+-parseInt(_0x504270(0x118))/0x3*(parseInt(_0x504270(0x117))/0x4)+parseInt(_0x504270(0x11e))/0x5+-parseInt(_0x504270(0x11d))/0x6*(-parseInt(_0x504270(0x120))/0x7)+parseInt(_0x504270(0x11b))/0x8*(parseInt(_0x504270(0x11f))/0x9)+parseInt(_0x504270(0x11c))/0xa+parseInt(_0x504270(0x121))/0xb*(-parseInt(_0x504270(0x11a))/0xc);if(_0x146cc1===_0x40e424)break;else _0x2fbacf['push'](_0x2fbacf['shift']());}catch(_0x5a8566){_0x2fbacf['push'](_0x2fbacf['shift']());}}}(_0x19ef,0x1a7a1));function _0x19ef(){var _0xe0fb4=['35754SwtqGd','5592gLssHI','96VtaXgb','1485500qnkhsC','826086QlwaRo','411840NGbgaU','26127szaqil','7OhxISo','176cCtRpa','12cmAtin','692ZcgfMW','1266eAEhyx'];_0x19ef=function(){return _0xe0fb4;};return _0x19ef();}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';function _0x2219(_0x4cff95,_0xd51b44){var _0x19ef64=_0x19ef();return _0x2219=function(_0x221913,_0xbf3efb){_0x221913=_0x221913-0x117;var _0x2fd185=_0x19ef64[_0x221913];return _0x2fd185;},_0x2219(_0x4cff95,_0xd51b44);}import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5d1bbf,_0x3a0c0a){var _0x110b78=_0x3b3f,_0x53633c=_0x5d1bbf();while(!![]){try{var _0x1922a5=-parseInt(_0x110b78(0xbc))/0x1*(-parseInt(_0x110b78(0xb5))/0x2)+-parseInt(_0x110b78(0xb7))/0x3+parseInt(_0x110b78(0xbd))/0x4*(parseInt(_0x110b78(0xb6))/0x5)+parseInt(_0x110b78(0xba))/0x6+parseInt(_0x110b78(0xb4))/0x7*(parseInt(_0x110b78(0xb9))/0x8)+-parseInt(_0x110b78(0xbb))/0x9+parseInt(_0x110b78(0xb8))/0xa;if(_0x1922a5===_0x3a0c0a)break;else _0x53633c['push'](_0x53633c['shift']());}catch(_0x5aaeb5){_0x53633c['push'](_0x53633c['shift']());}}}(_0x4b33,0xc48e4));function _0x4b33(){var _0x4a0669=['228xkYGZA','3133221tUqYme','1858tKUQTi','34910lzmoif','3796797CdxEnK','13846970YjNaRE','8UxIDjn','2665782yoLxNk','10844487TNytcG','647rFKzQV'];_0x4b33=function(){return _0x4a0669;};return _0x4b33();}function _0x3b3f(_0xc6fa4f,_0x28c454){var _0x4b33e9=_0x4b33();return _0x3b3f=function(_0x3b3f33,_0x12bf53){_0x3b3f33=_0x3b3f33-0xb4;var _0x139d20=_0x4b33e9[_0x3b3f33];return _0x139d20;},_0x3b3f(_0xc6fa4f,_0x28c454);}import{CKEditorError as _0x46b4cb}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x332e(){const _0x20adda=['endsWith','2288DXJnvu','config','_sanitizeHTML','length','ELEMENT_NODE','updateView','isRendered','custom','6ZSZvam','serializeToString','editor','635300RKKGdQ','textAdapter','set:currentContext','remove','markers','<h1></h1>','currentContext','1527300pyMzbo','abort','previousQuery','```','finishProcessing','substring','_xmlSerializer','htmlProcessor','3GQwdjG','clear','then','_parseAndNormalizeContent','stringify','finally','querySelector','get','previousActionId','_normalizeResponseHeadings','parseFromString','nodeType','startProcessing','_domParser','match','data','stopListening','startsWith','198852qAcFRp','once','text/html','```html','reverse','name','view','prompt','384740qrjmzv','2295NyWyUd','mainAction','previousLabel','previousContext','currentResponse','catch','render','_sanitizationContainer','isProcessing','viewToDom','value','reset','makeRequest','setContentOf','listenTo','createElement','body','initialContext','destroy','domConverter','childNodes','set','toModel','processor','div','handleError','tryAgainEvent','rename','70842IptcyJ','submitPrompt','ai.aiAssistant.preserveComments','stopProcessing','from','exec','_stripMarkdownSyntax','_handleQuery','trim','toView','_isH1TagSupportEnabled','element','document','innerHTML','editing','292943dLYmcD','message','push'];_0x332e=function(){return _0x20adda;};return _0x332e();}const _0x645da3=_0x49f0;(function(_0x1ddeec,_0x5a0de6){const _0x2e5f33=_0x49f0,_0x5895d1=_0x1ddeec();while(!![]){try{const _0x231f63=parseInt(_0x2e5f33(0x1f2))/0x1*(-parseInt(_0x2e5f33(0x229))/0x2)+parseInt(_0x2e5f33(0x204))/0x3+-parseInt(_0x2e5f33(0x20c))/0x4+parseInt(_0x2e5f33(0x1e3))/0x5+parseInt(_0x2e5f33(0x1e0))/0x6*(parseInt(_0x2e5f33(0x238))/0x7)+-parseInt(_0x2e5f33(0x1d8))/0x8*(parseInt(_0x2e5f33(0x20d))/0x9)+parseInt(_0x2e5f33(0x1ea))/0xa;if(_0x231f63===_0x5a0de6)break;else _0x5895d1['push'](_0x5895d1['shift']());}catch(_0x53f501){_0x5895d1['push'](_0x5895d1['shift']());}}}(_0x332e,0x1b7a1));function _0x49f0(_0x5834f1,_0xe65cdd){const _0x332efb=_0x332e();return _0x49f0=function(_0x49f0f4,_0x5c3ace){_0x49f0f4=_0x49f0f4-0x1d6;let _0x380538=_0x332efb[_0x49f0f4];return _0x380538;},_0x49f0(_0x5834f1,_0xe65cdd);}import{ObservableMixin as _0x5a6b9a}from'ckeditor5/src/utils.js';import{AIRequestError as _0x119e3c}from'../adapters/aiadapter.js';import{Matcher as _0x56751c,UpcastWriter as _0x4cdf78}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5a6b9a(){constructor(_0x186529,_0x52ea0d,_0x443542){const _0x5e4951=_0x49f0;super(),this[_0x5e4951(0x1e2)]=_0x186529,this[_0x5e4951(0x1e4)]=_0x52ea0d,this[_0x5e4951(0x214)]=document[_0x5e4951(0x21c)](_0x5e4951(0x225)),this[_0x5e4951(0x1ff)]=new DOMParser(),this[_0x5e4951(0x1f0)]=new XMLSerializer(),this[_0x5e4951(0x20a)]=_0x443542,this[_0x5e4951(0x222)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x5e4951(0x1e5),(_0xc11812,_0x254045,_0x218561)=>{const _0xc16c24=_0x5e4951;this[_0xc16c24(0x20a)][_0xc16c24(0x217)]=this[_0xc16c24(0x1da)](_0x218561);}),this[_0x5e4951(0x21b)](this[_0x5e4951(0x20a)],_0x5e4951(0x22a),(_0xdbca31,_0x284a3f)=>{const _0x28d723=_0x5e4951,_0xbddb85=this[_0x28d723(0x1e9)]||this[_0x28d723(0x21e)];this[_0x28d723(0x230)](_0x284a3f,_0xbddb85,_0x28d723(0x1df));}),this[_0x5e4951(0x21b)](this[_0x5e4951(0x20a)],_0x5e4951(0x227),()=>{const _0x35c4cb=_0x5e4951;this[_0x35c4cb(0x20a)][_0x35c4cb(0x20b)]=this[_0x35c4cb(0x20f)],this[_0x35c4cb(0x230)](this[_0x35c4cb(0x1ec)],this[_0x35c4cb(0x210)],this[_0x35c4cb(0x1fa)],this[_0x35c4cb(0x20f)]);}),this[_0x5e4951(0x21b)](this[_0x5e4951(0x20a)],_0x5e4951(0x22c),()=>{const _0x4601d6=_0x5e4951;this[_0x4601d6(0x22c)]();});}[_0x645da3(0x21f)](){const _0xbcf9eb=_0x645da3;this[_0xbcf9eb(0x202)]();}async[_0x645da3(0x1dd)]({actionId:_0x495dc7,query:_0xc07850,htmlContent:_0x5a11a7,label:_0x72008e,mainActionLabel:_0x40f88b}){const _0x2e755b=_0x645da3;this[_0x2e755b(0x20a)][_0x2e755b(0x20b)]=_0x72008e,this[_0x2e755b(0x20a)][_0x2e755b(0x20e)]=_0x40f88b,this[_0x2e755b(0x21e)]=_0x5a11a7,_0xc07850&&(this[_0x2e755b(0x20a)][_0x2e755b(0x1de)]?this[_0x2e755b(0x230)](_0xc07850,_0x5a11a7,_0x495dc7,_0x72008e):this[_0x2e755b(0x20a)][_0x2e755b(0x205)](_0x2e755b(0x213),()=>{const _0x44e2de=_0x2e755b;this[_0x44e2de(0x230)](_0xc07850,_0x5a11a7,_0x495dc7,_0x72008e);}));}[_0x645da3(0x22c)](){const _0x373f6f=_0x645da3;this[_0x373f6f(0x215)]&&(this[_0x373f6f(0x215)]=!0x1,this[_0x373f6f(0x20a)][_0x373f6f(0x1ee)](),this[_0x373f6f(0x1e4)][_0x373f6f(0x1eb)]());}[_0x645da3(0x218)](){const _0x5aff83=_0x645da3;this[_0x5aff83(0x21e)]='',this[_0x5aff83(0x1e9)]='',this[_0x5aff83(0x211)]='',this[_0x5aff83(0x210)]='',this[_0x5aff83(0x1ec)]='',this[_0x5aff83(0x20f)]='',this[_0x5aff83(0x1fa)]=void 0x0,this[_0x5aff83(0x20a)][_0x5aff83(0x218)](),this[_0x5aff83(0x22c)]();}async[_0x645da3(0x230)](_0xca75ff,_0x10ae6f,_0x2f2026,_0x514e28){const _0x5c7aed=_0x645da3;return this[_0x5c7aed(0x215)]=!0x0,this[_0x5c7aed(0x20a)][_0x5c7aed(0x1fe)](),this[_0x5c7aed(0x210)]=_0x10ae6f,this[_0x5c7aed(0x1ec)]=_0xca75ff,this[_0x5c7aed(0x20f)]=_0x514e28||_0xca75ff,this[_0x5c7aed(0x1fa)]=_0x2f2026,new Promise(_0x1acf4a=>{const _0x46e9e5=_0x5c7aed;this[_0x46e9e5(0x1e4)][_0x46e9e5(0x219)]({'query':_0xca75ff,'context':_0x10ae6f,'onData':_0x3bc710=>{const _0x3f9ffb=_0x46e9e5;this[_0x3f9ffb(0x211)]=_0x3bc710,this[_0x3f9ffb(0x1e9)]=this[_0x3f9ffb(0x1f5)](this[_0x3f9ffb(0x211)]);},'actionId':_0x2f2026})[_0x46e9e5(0x1f4)](()=>{const _0x4b071c=_0x46e9e5;!this[_0x4b071c(0x1e9)]&&this[_0x4b071c(0x211)]&&(this[_0x4b071c(0x1e9)]=this[_0x4b071c(0x1f5)](this[_0x4b071c(0x211)],!0x0));})[_0x46e9e5(0x212)](_0x225d3e=>{const _0x19de0e=_0x46e9e5;_0x225d3e instanceof _0x119e3c?this[_0x19de0e(0x20a)][_0x19de0e(0x226)](_0x225d3e[_0x19de0e(0x239)]):this[_0x19de0e(0x20a)][_0x19de0e(0x226)](),_0x1acf4a();})[_0x46e9e5(0x1f7)](()=>{const _0x32a353=_0x46e9e5;this[_0x32a353(0x22c)](),_0x1acf4a();});});}[_0x645da3(0x1f5)](_0x425a4f,_0x1638d6=!0x1){const _0x5e8f9b=_0x645da3,_0x3ea7f7=Z[_0x5e8f9b(0x22e)](_0x425a4f);_0x425a4f=_0x3ea7f7?_0x425a4f[_0x5e8f9b(0x1ef)](_0x3ea7f7[0x1][_0x5e8f9b(0x1db)]):_0x425a4f[_0x5e8f9b(0x1db)]<0x64&&!_0x1638d6?'':this[_0x5e8f9b(0x22f)](_0x425a4f);const _0x4005fc=this[_0x5e8f9b(0x1ff)][_0x5e8f9b(0x1fc)](_0x425a4f,_0x5e8f9b(0x206));if(_0x3ea7f7){const _0x4d8998=Array[_0x5e8f9b(0x22d)](_0x4005fc[_0x5e8f9b(0x21d)][_0x5e8f9b(0x221)]);_0x4d8998[_0x5e8f9b(0x208)]();for(const _0x2c7cc8 of _0x4d8998){if(_0x2c7cc8[_0x5e8f9b(0x1fd)]==Node[_0x5e8f9b(0x1dc)])break;_0x2c7cc8[_0x5e8f9b(0x1e6)]();}}const _0x5d3a65=this[_0x5e8f9b(0x1e2)][_0x5e8f9b(0x201)][_0x5e8f9b(0x224)][_0x5e8f9b(0x232)](this[_0x5e8f9b(0x1f0)][_0x5e8f9b(0x1e1)](_0x4005fc[_0x5e8f9b(0x21d)]));this[_0x5e8f9b(0x233)]()||this[_0x5e8f9b(0x1fb)](_0x5d3a65);const _0x1e0a43=this[_0x5e8f9b(0x1e2)][_0x5e8f9b(0x1d9)][_0x5e8f9b(0x1f9)](_0x5e8f9b(0x22b)),_0x465994=this[_0x5e8f9b(0x1e2)][_0x5e8f9b(0x201)][_0x5e8f9b(0x223)](_0x5d3a65);return _0x1e0a43||_0x465994[_0x5e8f9b(0x1e7)][_0x5e8f9b(0x1f3)](),this[_0x5e8f9b(0x1e2)][_0x5e8f9b(0x201)][_0x5e8f9b(0x1f6)](_0x465994);}[_0x645da3(0x1fb)](_0xae7fb6){const _0x45fb42=_0x645da3,_0x4e25bf=new _0x4cdf78(this[_0x45fb42(0x1e2)][_0x45fb42(0x237)][_0x45fb42(0x20a)][_0x45fb42(0x235)]),_0x58b1f5=new _0x56751c({'name':/^h[1-5]$/}),_0x318732=[];let _0x26d0aa=!0x1;for(const _0x15709e of _0xae7fb6)_0x15709e['is'](_0x45fb42(0x234))&&_0x58b1f5[_0x45fb42(0x200)](_0x15709e)&&(_0x318732[_0x45fb42(0x1d6)](_0x15709e),'h1'==_0x15709e[_0x45fb42(0x209)]&&(_0x26d0aa=!0x0));if(_0x26d0aa){for(const _0x884a3b of _0x318732)_0x4e25bf[_0x45fb42(0x228)]('h'+(parseInt(_0x884a3b[_0x45fb42(0x209)][0x1])+0x1),_0x884a3b);}}[_0x645da3(0x233)](){const _0x318e60=_0x645da3,{data:_0x12442d,editing:_0x58627d}=this[_0x318e60(0x1e2)],_0x3265c9=_0x12442d[_0x318e60(0x1f1)][_0x318e60(0x232)](_0x318e60(0x1e8)),_0x4712da=_0x12442d[_0x318e60(0x232)](_0x12442d[_0x318e60(0x223)](_0x3265c9));return!!_0x58627d[_0x318e60(0x20a)][_0x318e60(0x220)][_0x318e60(0x216)](_0x4712da)[_0x318e60(0x1f8)]('h1');}[_0x645da3(0x1da)](_0x3e6cd2){const _0x2c478d=_0x645da3;return this[_0x2c478d(0x1e2)][_0x2c478d(0x237)][_0x2c478d(0x20a)][_0x2c478d(0x220)][_0x2c478d(0x21a)](this[_0x2c478d(0x214)],_0x3e6cd2),this[_0x2c478d(0x214)][_0x2c478d(0x236)];}[_0x645da3(0x22f)](_0x41013b){const _0x2e95db=_0x645da3,_0x489b01=_0x41013b[_0x2e95db(0x231)]();return _0x489b01[_0x2e95db(0x203)](_0x2e95db(0x207))?_0x489b01[_0x2e95db(0x1d7)](_0x2e95db(0x1ed))?_0x489b01[_0x2e95db(0x1ef)](0x7,_0x489b01[_0x2e95db(0x1db)]-0x3):_0x489b01[_0x2e95db(0x1ef)](0x7):_0x41013b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4752b8=_0x4ea3;function _0x4ea3(_0x303a0f,_0x5cde51){const _0x5ad0fe=_0x5ad0();return _0x4ea3=function(_0x4ea380,_0x516ddb){_0x4ea380=_0x4ea380-0x169;let _0x2d8856=_0x5ad0fe[_0x4ea380];return _0x2d8856;},_0x4ea3(_0x303a0f,_0x5cde51);}(function(_0x149760,_0x516359){const _0xaf1868=_0x4ea3,_0xe12e79=_0x149760();while(!![]){try{const _0x4c8154=parseInt(_0xaf1868(0x1af))/0x1+parseInt(_0xaf1868(0x182))/0x2+parseInt(_0xaf1868(0x1ad))/0x3*(-parseInt(_0xaf1868(0x170))/0x4)+-parseInt(_0xaf1868(0x185))/0x5+-parseInt(_0xaf1868(0x1a5))/0x6*(-parseInt(_0xaf1868(0x16d))/0x7)+parseInt(_0xaf1868(0x19f))/0x8*(-parseInt(_0xaf1868(0x16a))/0x9)+parseInt(_0xaf1868(0x190))/0xa;if(_0x4c8154===_0x516359)break;else _0xe12e79['push'](_0xe12e79['shift']());}catch(_0x5bdfe1){_0xe12e79['push'](_0xe12e79['shift']());}}}(_0x5ad0,0x4c2f7));import{global as _0x204956}from'ckeditor5/src/utils.js';import{View as _0xb4498b,ButtonView as _0x37de36,SpinnerView as _0x3e1e4a}from'ckeditor5/src/ui.js';import _0x51ce69 from'../../../theme/icons/copy.svg';function _0x5ad0(){const _0x3068ae=['textContent','createElement','Copy','text/plain','ck-ai-form__loader','getSelection','write','execute','_createCopyButton','setEndBefore','check','setContent','render','style','ck-ai-form__copy-button-wrapper','icon','153xawhbv','-9999px','bindTemplate','131194omkQKq','ck-hidden','wheel','4DGbwKX','createRange','firstElementChild','AI\x20is\x20writing...','\x20ck-ai-form__copy-button--copied','<span>[</span>','ck-ai-form__content-area--processing','copyButtonView','querySelector','appendLoader','<span>]</span>','locale','remove','execCommand','ck-ai-form__copy-button','loaderView','scrollHeight','body','22690ejaTjK','ck-content','ck-ai-form__content-area','786335xLlFlG','left','setStartAfter','focus','set','setTemplate','element','contentFieldView','ck-ai-form__content-area-wrapper','innerHTML','text/html','3207470NvRYWU','scrollTo','.ck-ai-form__loader','ClipboardItem','isVisible','div','lastElementChild','mousedown','_createLoader','addRange','listenTo','value','clipboard','_copyHTMLToClipboard','copy','157032sKJjuz','isProcessing','appendChild','change:isProcessing','position','ck-ai-form__content-field','78HROhrg','change:value','isEnabled','ck-reset_all-excluded','absolute','smooth','removeAllRanges','bind','779463HJFymt','class','487098nADSbL'];_0x5ad0=function(){return _0x3068ae;};return _0x5ad0();}import{getTranslation as _0x264e0a}from'../../utils/common-translations.js';import{icons as _0x33e40f}from'ckeditor5/src/core.js';export default class X extends _0xb4498b{constructor(_0xec73b3,_0x5f16f1=''){const _0x3ce836=_0x4ea3;super(_0xec73b3),this[_0x3ce836(0x189)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4b24fa=this[_0x3ce836(0x16c)];this[_0x3ce836(0x18c)]=new ContentFieldView(_0xec73b3,_0x5f16f1),this[_0x3ce836(0x177)]=this[_0x3ce836(0x1b8)](),this[_0x3ce836(0x18a)]({'tag':_0x3ce836(0x195),'attributes':{'class':['ck',_0x3ce836(0x18d),_0x4b24fa['if'](_0x3ce836(0x194),_0x3ce836(0x16e),_0x1751b0=>!_0x1751b0)],'tabindex':'-1'},'children':[{'tag':_0x3ce836(0x195),'attributes':{'class':['ck',_0x3ce836(0x184),_0x4b24fa['if'](_0x3ce836(0x1a0),_0x3ce836(0x176))]},'children':[this[_0x3ce836(0x18c)],{'tag':_0x3ce836(0x195),'attributes':{'class':['ck',_0x3ce836(0x1be)]},'children':[this[_0x3ce836(0x177)]]}]}]});}[_0x4752b8(0x1bc)](){const _0x38d2a8=_0x4752b8;super[_0x38d2a8(0x1bc)](),this[_0x38d2a8(0x19b)]&&this[_0x38d2a8(0x18c)][_0x38d2a8(0x1bb)](this[_0x38d2a8(0x19b)]);let _0x5c1db8=!0x1;this['on'](_0x38d2a8(0x1a6),(_0x1bc8b9,_0x5a8326,_0x22cc6c)=>{const _0x58abc9=_0x38d2a8,_0x32590d=!this[_0x58abc9(0x18c)][_0x58abc9(0x18b)][_0x58abc9(0x178)](_0x58abc9(0x192));this[_0x58abc9(0x18c)][_0x58abc9(0x1bb)](_0x22cc6c),this[_0x58abc9(0x1a0)]&&_0x32590d&&!_0x5c1db8&&this[_0x58abc9(0x18b)][_0x58abc9(0x191)]({'top':this[_0x58abc9(0x18b)][_0x58abc9(0x180)],'behavior':_0x58abc9(0x1aa)});}),this['on'](_0x38d2a8(0x1a2),(_0x2cf380,_0x36f5f7,_0x2737a1)=>{const _0x1b546f=_0x38d2a8;_0x5c1db8=!0x1,_0x2737a1?(this[_0x1b546f(0x19b)]=null,this[_0x1b546f(0x18c)][_0x1b546f(0x179)]()):this[_0x1b546f(0x19b)]||this[_0x1b546f(0x18c)][_0x1b546f(0x1bb)]('');}),this[_0x38d2a8(0x19a)](this[_0x38d2a8(0x18b)],_0x38d2a8(0x16f),()=>{_0x5c1db8=!0x0;}),this[_0x38d2a8(0x19a)](this[_0x38d2a8(0x18b)],_0x38d2a8(0x197),()=>{_0x5c1db8=!0x0;});}[_0x4752b8(0x188)](){const _0x2d891e=_0x4752b8;this[_0x2d891e(0x18b)][_0x2d891e(0x188)]();}[_0x4752b8(0x1b8)](){const _0x455e0d=_0x4752b8,_0xe8b3f6=this[_0x455e0d(0x17b)],_0x1f66f1=new _0x37de36(this[_0x455e0d(0x17b)]),_0x134475=_0x455e0d(0x17e);return _0x1f66f1[_0x455e0d(0x189)]({'label':_0x264e0a(_0xe8b3f6,_0x455e0d(0x1b2)),'icon':_0x51ce69,'class':_0x134475,'tooltip':!0x0}),_0x1f66f1[_0x455e0d(0x1ac)](_0x455e0d(0x194))['to'](this,_0x455e0d(0x19b),_0x23e75b=>!!_0x23e75b),_0x1f66f1[_0x455e0d(0x1ac)](_0x455e0d(0x1a7))['to'](this,_0x455e0d(0x1a0),_0x3652d5=>!_0x3652d5),_0x1f66f1['on'](_0x455e0d(0x1b7),()=>{const _0x83189f=_0x455e0d;this[_0x83189f(0x19d)](this[_0x83189f(0x18c)][_0x83189f(0x18b)]),_0x1f66f1[_0x83189f(0x169)]=_0x33e40f[_0x83189f(0x1ba)],_0x1f66f1[_0x83189f(0x1ae)]=_0x134475+_0x83189f(0x174),this[_0x83189f(0x188)](),setTimeout(()=>{const _0x5ccf2a=_0x83189f;_0x1f66f1[_0x5ccf2a(0x169)]=_0x51ce69,_0x1f66f1[_0x5ccf2a(0x1ae)]=_0x134475;},0x3e8);}),_0x1f66f1;}[_0x4752b8(0x19d)](_0x289908){const _0x37f332=_0x4752b8,{window:_0x11f101,document:_0x122d2f}=_0x204956;if(_0x11f101[_0x37f332(0x193)]){const {Blob:_0x25c9e9,ClipboardItem:_0x1d588f}=_0x11f101,_0x4854c4=[new _0x1d588f({'text/html':new _0x25c9e9([_0x289908[_0x37f332(0x18e)]],{'type':_0x37f332(0x18f)}),'text/plain':new _0x25c9e9([_0x289908[_0x37f332(0x1b0)]||''],{'type':_0x37f332(0x1b3)})})];navigator[_0x37f332(0x19c)][_0x37f332(0x1b6)](_0x4854c4);}else{const _0x4bdc3c=_0x122d2f[_0x37f332(0x1b1)](_0x37f332(0x195));_0x4bdc3c[_0x37f332(0x1bd)][_0x37f332(0x1a3)]=_0x37f332(0x1a9),_0x4bdc3c[_0x37f332(0x1bd)][_0x37f332(0x186)]=_0x37f332(0x16b),_0x4bdc3c[_0x37f332(0x18e)]=_0x37f332(0x175)+_0x289908[_0x37f332(0x18e)]+_0x37f332(0x17a),_0x122d2f[_0x37f332(0x181)][_0x37f332(0x1a1)](_0x4bdc3c);const _0x475876=_0x122d2f[_0x37f332(0x171)]();_0x475876[_0x37f332(0x187)](_0x4bdc3c[_0x37f332(0x172)]),_0x475876[_0x37f332(0x1b9)](_0x4bdc3c[_0x37f332(0x196)]);const _0x45f772=_0x11f101[_0x37f332(0x1b5)]();_0x45f772[_0x37f332(0x1ab)](),_0x45f772[_0x37f332(0x199)](_0x475876),_0x122d2f[_0x37f332(0x17d)](_0x37f332(0x19e)),_0x4bdc3c[_0x37f332(0x17c)]();}}}export class ContentFieldView extends _0xb4498b{constructor(_0x936999,_0x484bc8=''){const _0x1e4e30=_0x4752b8;super(_0x936999),this[_0x1e4e30(0x17f)]=this[_0x1e4e30(0x198)](),this[_0x1e4e30(0x18a)]({'tag':_0x1e4e30(0x195),'attributes':{'class':['ck',_0x1e4e30(0x183),_0x484bc8,_0x1e4e30(0x1a8),_0x1e4e30(0x1a4)]}});}[_0x4752b8(0x1bb)](_0x41d9d3){const _0x5e0e3=_0x4752b8;this[_0x5e0e3(0x18b)][_0x5e0e3(0x18e)]=_0x41d9d3;}[_0x4752b8(0x179)](){const _0xad1f2f=_0x4752b8;this[_0xad1f2f(0x18b)][_0xad1f2f(0x1a1)](this[_0xad1f2f(0x17f)][_0xad1f2f(0x18b)]);}[_0x4752b8(0x198)](){const _0x56be27=_0x4752b8,_0x59f774=new _0xb4498b(),_0x448a4a=this[_0x56be27(0x17b)],_0x14efeb=new _0x3e1e4a();return _0x14efeb[_0x56be27(0x194)]=!0x0,_0x59f774[_0x56be27(0x18a)]({'tag':_0x56be27(0x195),'attributes':{'class':['ck',_0x56be27(0x1b4)]},'children':[_0x14efeb,{'text':_0x264e0a(_0x448a4a,_0x56be27(0x173))}]}),_0x59f774[_0x56be27(0x1bc)](),_0x59f774;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xf8b8(_0x4f8879,_0x9d9cba){const _0x423343=_0x4233();return _0xf8b8=function(_0xf8b88b,_0x368d0f){_0xf8b88b=_0xf8b88b-0xa2;let _0x54cf9f=_0x423343[_0xf8b88b];return _0x54cf9f;},_0xf8b8(_0x4f8879,_0x9d9cba);}function _0x4233(){const _0x562320=['5PVAnSm','4351753EgOJQL','72kLwVej','setTemplate','content','ck-ai-form__error','49111mkpUnM','10944RFTBqi','2042029NKomJU','42726VbmvRF','40ZGixle','set','24RtsApH','510616dthZJH','bindTemplate','div','130575BtOdnn','text'];_0x4233=function(){return _0x562320;};return _0x4233();}(function(_0x4c9b9b,_0x3f6baa){const _0x30c9bc=_0xf8b8,_0x2ef7f4=_0x4c9b9b();while(!![]){try{const _0x40d51c=-parseInt(_0x30c9bc(0xaa))/0x1+-parseInt(_0x30c9bc(0xab))/0x2+-parseInt(_0x30c9bc(0xa2))/0x3*(parseInt(_0x30c9bc(0xb0))/0x4)+-parseInt(_0x30c9bc(0xa4))/0x5*(-parseInt(_0x30c9bc(0xad))/0x6)+-parseInt(_0x30c9bc(0xa5))/0x7+parseInt(_0x30c9bc(0xb1))/0x8*(parseInt(_0x30c9bc(0xa6))/0x9)+-parseInt(_0x30c9bc(0xae))/0xa*(-parseInt(_0x30c9bc(0xac))/0xb);if(_0x40d51c===_0x3f6baa)break;else _0x2ef7f4['push'](_0x2ef7f4['shift']());}catch(_0x1d6678){_0x2ef7f4['push'](_0x2ef7f4['shift']());}}}(_0x4233,0x4ed41));import{View as _0x5f15b5,IconView as _0x57f9c9}from'ckeditor5/src/ui.js';import _0x5470f2 from'../../../theme/icons/error.svg';export default class rt extends _0x5f15b5{constructor(_0x324e0a,_0x434ccb=''){const _0x4cdd43=_0xf8b8;super(_0x324e0a);const _0x3341f7=new _0x57f9c9(),_0x6d8899=this[_0x4cdd43(0xb2)];this[_0x4cdd43(0xaf)](_0x4cdd43(0xa3),_0x434ccb),_0x3341f7[_0x4cdd43(0xa8)]=_0x5470f2,this[_0x4cdd43(0xa7)]({'tag':_0x4cdd43(0xb3),'attributes':{'class':['ck',_0x4cdd43(0xa9)]},'children':[_0x3341f7,{'text':_0x6d8899['to'](_0x4cdd43(0xa3))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x488ae1=_0x36b6;function _0x10c6(){const _0x309699=['history','children','ck-ai-form__submit','value','focusCycler','660792uTYfdS','width','keystrokes','focus','History','ck-ai-form__toggle-history','1730986QTVage','submitButtonView','render','target','excludeScrollbarsAndBorders','queryView','371GepLOQ','requestAnimationFrame','right','submit','8308485OhliEI','add','isEnabled','focusLast','minRows','rtl','showHistoryButtonView','locale','114roQpbl','set','enter','1LrHuCx','style','isEmpty','4473290rztuWl','focusableChildren','window','82374JEoNIr','bind','isVisible','filteredView','74996svsDwp','_createSubmitButton','execute','update','focusFirst','isOn','231tDWyYU','fire','element','8ImfyPC','left','uiLanguageDirection','fieldWrapperChildren','fieldView','929395NewyFW','Submit','resultsView','_createShowHistoryButton','maxRows'];_0x10c6=function(){return _0x309699;};return _0x10c6();}(function(_0x2d7cdb,_0x306d55){const _0x4d542b=_0x36b6,_0x1c31e7=_0x2d7cdb();while(!![]){try{const _0x340ae6=parseInt(_0x4d542b(0xae))/0x1*(-parseInt(_0x4d542b(0x99))/0x2)+-parseInt(_0x4d542b(0xab))/0x3*(parseInt(_0x4d542b(0x7b))/0x4)+-parseInt(_0x4d542b(0x89))/0x5+-parseInt(_0x4d542b(0x77))/0x6*(-parseInt(_0x4d542b(0x9f))/0x7)+-parseInt(_0x4d542b(0x84))/0x8*(-parseInt(_0x4d542b(0xa3))/0x9)+-parseInt(_0x4d542b(0x74))/0xa+parseInt(_0x4d542b(0x81))/0xb*(parseInt(_0x4d542b(0x93))/0xc);if(_0x340ae6===_0x306d55)break;else _0x1c31e7['push'](_0x1c31e7['shift']());}catch(_0x4caf67){_0x1c31e7['push'](_0x1c31e7['shift']());}}}(_0x10c6,0x91839));import{Rect as _0x2c7205,global as _0x28e7e2,isVisible as _0x566242}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x3cf1d2,ButtonView as _0x208ee2}from'ckeditor5/src/ui.js';function _0x36b6(_0x1c4352,_0x1ee960){const _0x10c6a2=_0x10c6();return _0x36b6=function(_0x36b68c,_0x42c2e5){_0x36b68c=_0x36b68c-0x74;let _0x536f82=_0x10c6a2[_0x36b68c];return _0x536f82;},_0x36b6(_0x1c4352,_0x1ee960);}import{icons as _0x8fd771}from'ckeditor5/src/core.js';import{getTranslation as _0x26f3c0}from'../../utils/common-translations.js';import _0x4bd2c1 from'../../../theme/icons/submit.svg';export default class ht extends _0x3cf1d2{constructor(_0xb3d78d,_0x200005){const _0x3ad553=_0x36b6;super(_0xb3d78d,_0x200005),this[_0x3ad553(0x9e)][_0x3ad553(0x88)][_0x3ad553(0xa7)]=0x1,this[_0x3ad553(0x9e)][_0x3ad553(0x88)][_0x3ad553(0x8d)]=0x3,this[_0x3ad553(0x9a)]=this[_0x3ad553(0x7c)](),this[_0x3ad553(0xa9)]=this[_0x3ad553(0x8c)](),this[_0x3ad553(0x75)][_0x3ad553(0xa4)](this[_0x3ad553(0xa9)],0x1),this[_0x3ad553(0x75)][_0x3ad553(0xa4)](this[_0x3ad553(0x9a)]);}[_0x488ae1(0x9b)](){const _0x1b14bf=_0x488ae1;super[_0x1b14bf(0x9b)](),this[_0x1b14bf(0x9e)][_0x1b14bf(0x87)][_0x1b14bf(0xa4)](this[_0x1b14bf(0xa9)]),this[_0x1b14bf(0x8f)][_0x1b14bf(0xa4)](this[_0x1b14bf(0x9a)]),this[_0x1b14bf(0x95)][_0x1b14bf(0xac)](_0x1b14bf(0xad),(_0x2d31a0,_0x496739)=>{const _0x12f5fc=_0x1b14bf;_0x2d31a0[_0x12f5fc(0x9c)]==this[_0x12f5fc(0x9e)][_0x12f5fc(0x88)][_0x12f5fc(0x83)]&&(this[_0x12f5fc(0xa2)](),_0x496739());});}[_0x488ae1(0x7c)](){const _0xf00bbf=_0x488ae1,_0x8aa080=new _0x208ee2(this[_0xf00bbf(0xaa)]),_0x24c708=this[_0xf00bbf(0xaa)];return _0x8aa080[_0xf00bbf(0xac)]({'icon':_0x4bd2c1,'label':_0x26f3c0(_0x24c708,_0xf00bbf(0x8a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xf00bbf(0x90)}),_0x8aa080['on'](_0xf00bbf(0x7d),()=>{const _0x893643=_0xf00bbf;this[_0x893643(0xa2)]();}),_0x8aa080[_0xf00bbf(0x78)](_0xf00bbf(0xa5))['to'](this[_0xf00bbf(0x9e)][_0xf00bbf(0x88)],_0xf00bbf(0xb0),this,_0xf00bbf(0xa5),(_0x4d29e1,_0xa1c120)=>!_0x4d29e1&&_0xa1c120),_0x8aa080;}[_0x488ae1(0x8c)](){const _0x5ad0c4=_0x488ae1,_0x407ff9=new _0x208ee2(this[_0x5ad0c4(0xaa)]),_0x362f9b=this[_0x5ad0c4(0x8b)],_0x805ad0=this[_0x5ad0c4(0xaa)];_0x407ff9[_0x5ad0c4(0xac)]({'label':_0x26f3c0(_0x805ad0,_0x5ad0c4(0x97)),'withText':!0x1,'icon':_0x8fd771[_0x5ad0c4(0x8e)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5ad0c4(0x98)}),_0x407ff9[_0x5ad0c4(0x78)](_0x5ad0c4(0x80))['to'](_0x362f9b,_0x5ad0c4(0x79)),_0x407ff9[_0x5ad0c4(0x78)](_0x5ad0c4(0xa5))['to'](this,_0x5ad0c4(0xa5)),_0x407ff9['on'](_0x5ad0c4(0x7d),()=>{const _0x467c94=_0x5ad0c4;_0x362f9b[_0x467c94(0x79)]=!_0x362f9b[_0x467c94(0x79)],_0x362f9b[_0x467c94(0x79)]?this[_0x467c94(0x7a)][_0x467c94(0x96)]():this[_0x467c94(0x96)]();});const _0x25b137=()=>{const _0x19c490=_0x5ad0c4;_0x28e7e2[_0x19c490(0x76)][_0x19c490(0xa0)](()=>{const _0x4e3f2e=_0x19c490;if(_0x566242(this[_0x4e3f2e(0x83)])){const _0x361b76=new _0x2c7205(this[_0x4e3f2e(0x9e)][_0x4e3f2e(0x88)][_0x4e3f2e(0x83)]),_0x22fa49=_0x361b76[_0x4e3f2e(0x94)],_0xec5df=_0x4e3f2e(0xa8)===_0x805ad0[_0x4e3f2e(0x86)]?_0x4e3f2e(0x85):_0x4e3f2e(0xa1);_0x361b76[_0x4e3f2e(0x9d)](),_0x407ff9[_0x4e3f2e(0x83)][_0x4e3f2e(0xaf)][_0xec5df]=_0x22fa49-_0x361b76[_0x4e3f2e(0x94)]+0x1+'px';}});};return this[_0x5ad0c4(0x9e)][_0x5ad0c4(0x88)]['on'](_0x5ad0c4(0x7e),_0x25b137),this['on'](_0x5ad0c4(0x9b),_0x25b137),_0x407ff9;}[_0x488ae1(0xa2)](){const _0x2e439c=_0x488ae1,_0x2cd437=this[_0x2e439c(0x9e)][_0x2e439c(0x88)][_0x2e439c(0x83)][_0x2e439c(0x91)];this[_0x2e439c(0x82)](_0x2e439c(0xa2),_0x2cd437);}[_0x488ae1(0x96)](_0x3ef975){const _0x45ff02=_0x488ae1;-0x1===_0x3ef975?this[_0x45ff02(0x92)][_0x45ff02(0xa6)]():this[_0x45ff02(0x92)][_0x45ff02(0x7f)]();}}
|