@ckeditor/ckeditor5-ai 45.1.0-alpha.0 → 45.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2efb02=_0x820f;(function(_0x3d84d6,_0x38be5e){const _0x51ff86=_0x820f,_0x1df2c3=_0x3d84d6();while(!![]){try{const _0x1af7d6=-parseInt(_0x51ff86(0x164))/0x1*(-parseInt(_0x51ff86(0x158))/0x2)+-parseInt(_0x51ff86(0x132))/0x3+parseInt(_0x51ff86(0x184))/0x4+-parseInt(_0x51ff86(0x133))/0x5*(parseInt(_0x51ff86(0x170))/0x6)+-parseInt(_0x51ff86(0x163))/0x7*(-parseInt(_0x51ff86(0x16d))/0x8)+-parseInt(_0x51ff86(0x155))/0x9+-parseInt(_0x51ff86(0x161))/0xa*(-parseInt(_0x51ff86(0x18d))/0xb);if(_0x1af7d6===_0x38be5e)break;else _0x1df2c3['push'](_0x1df2c3['shift']());}catch(_0x99d510){_0x1df2c3['push'](_0x1df2c3['shift']());}}}(_0x378b,0xc654c));function _0x820f(_0x3c105b,_0x373146){const _0x378bcc=_0x378b();return _0x820f=function(_0x820ffc,_0x43e74f){_0x820ffc=_0x820ffc-0x126;let _0x1cc1bb=_0x378bcc[_0x820ffc];return _0x1cc1bb;},_0x820f(_0x3c105b,_0x373146);}import{Plugin as _0x25c5d9}from'ckeditor5/src/core.js';function _0x378b(){const _0x3614c7=['Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Hindi','requires','groupId','summarize','translateGerman','ai.aiAssistant.extraCommandGroups','legal','improveWriting','ai.aiAssistant.commands','3969912HKIybV','215RZLgIu','Continue','translateEnglish','pluginName','Translate\x20the\x20content\x20to\x20French\x20language.','continue','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Confident','poetic','includes','Business','French','Journalism','concat','translateFrench','Simplified\x20Chinese','forEach','generate','translateChinese','Make\x20longer','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','editOrReview','makeLonger','Generate\x20from\x20selection','simplifyLanguage','Poetic','Simplify\x20language','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Translate\x20the\x20content\x20to\x20German\x20language.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','AIAssistant','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Spanish','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','9530055yuFsow','direct','commands','66958zACBxB','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Portuguese','filter','translateSpanish','Translate','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Edit\x20or\x20review','changeStyle','556610gtrLFP','confident','28NuyzYo','9DOiXuR','English','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','makeShorter','translateHindi','find','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Legal','Professional','1070624WqvMUV','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Make\x20shorter','196278kmIkhl','business','changeTone','Change\x20style','isOfficialPlugin','Friendly','translate','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','push','journalism','locale','professional','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translatePortuguese','get','set','Change\x20tone','casual','3703552OaxIXz','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','isPremiumPlugin','German','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','friendly','Direct','ai.aiAssistant.removeCommands','ai.aiAssistant.preserveComments','561boDwJv','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Summarize','translateArabic','Translate\x20the\x20content\x20to\x20English\x20language.','define','Casual','config','Arabic','Improve\x20writing'];_0x378b=function(){return _0x3614c7;};return _0x378b();}import _0x4e377e from'./aiassistantui.js';import _0x1537bf from'./aiassistantediting.js';import{getTranslation as _0x1be60d}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x1e5a5e}from'./utils/normalizecommandsconfig.js';export default class r extends _0x25c5d9{static get[_0x2efb02(0x12a)](){return[_0x4e377e,_0x1537bf];}static get[_0x2efb02(0x136)](){const _0x522c82=_0x2efb02;return _0x522c82(0x151);}static get[_0x2efb02(0x174)](){return!0x0;}static get[_0x2efb02(0x186)](){return!0x0;}constructor(_0x21c266){const _0x23ffcf=_0x2efb02;super(_0x21c266);const _0x31757a=_0x21c266[_0x23ffcf(0x195)],_0x580917=_0x21c266[_0x23ffcf(0x17c)];_0x31757a[_0x23ffcf(0x193)](_0x23ffcf(0x18c),!0x0),_0x31757a[_0x23ffcf(0x193)](_0x23ffcf(0x131),getDefaultCommands(_0x580917)),_0x31757a[_0x23ffcf(0x193)](_0x23ffcf(0x12e),[]),_0x31757a[_0x23ffcf(0x193)](_0x23ffcf(0x18b),[]);let _0x3bd34f=_0x1e5a5e(_0x31757a[_0x23ffcf(0x180)](_0x23ffcf(0x131)),_0x580917);const _0xcfb687=_0x31757a[_0x23ffcf(0x180)](_0x23ffcf(0x12e)),_0x26e3bd=_0x31757a[_0x23ffcf(0x180)](_0x23ffcf(0x18b));_0xcfb687[_0x23ffcf(0x143)](_0x1bcc42=>{const _0x32cdaa=_0x23ffcf,_0x3be410=_0x3bd34f[_0x32cdaa(0x169)](_0x562fa3=>_0x562fa3[_0x32cdaa(0x12b)]===_0x1bcc42[_0x32cdaa(0x12b)]);_0x3be410?_0x3be410[_0x32cdaa(0x157)]=_0x3be410[_0x32cdaa(0x157)][_0x32cdaa(0x140)](_0x1bcc42[_0x32cdaa(0x157)]):_0x3bd34f[_0x32cdaa(0x17a)](_0x1bcc42);}),_0x3bd34f=_0x3bd34f[_0x23ffcf(0x15b)](_0x572d03=>!_0x26e3bd[_0x23ffcf(0x13c)](_0x572d03[_0x23ffcf(0x12b)])),_0x3bd34f[_0x23ffcf(0x143)](_0x44ed0e=>{const _0x119596=_0x23ffcf;_0x44ed0e[_0x119596(0x157)]=_0x44ed0e[_0x119596(0x157)][_0x119596(0x15b)](_0x26e65b=>!_0x26e3bd[_0x119596(0x13c)](_0x26e65b['id']));}),_0x31757a[_0x23ffcf(0x181)](_0x23ffcf(0x131),_0x3bd34f);}}export function getDefaultCommands(_0xadfe5b){const _0x2805b6=_0x2efb02;return[{'groupId':_0x2805b6(0x148),'groupLabel':_0x1be60d(_0xadfe5b,_0x2805b6(0x15f)),'commands':[{'id':_0x2805b6(0x130),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x127)),'prompt':_0x2805b6(0x128)},{'id':_0x2805b6(0x167),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x16f)),'prompt':_0x2805b6(0x152)},{'id':_0x2805b6(0x149),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x146)),'prompt':_0x2805b6(0x154)},{'id':_0x2805b6(0x14b),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x14d)),'prompt':_0x2805b6(0x177)}]},{'groupId':_0x2805b6(0x144),'groupLabel':_0x1be60d(_0xadfe5b,_0x2805b6(0x14a)),'commands':[{'id':_0x2805b6(0x12c),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x190)),'prompt':_0x2805b6(0x14e)},{'id':_0x2805b6(0x138),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x134)),'prompt':_0x2805b6(0x18f)}]},{'groupId':_0x2805b6(0x172),'groupLabel':_0x1be60d(_0xadfe5b,_0x2805b6(0x182)),'commands':[{'id':_0x2805b6(0x17d),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x16c)),'prompt':_0x2805b6(0x16e)},{'id':_0x2805b6(0x183),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x194)),'prompt':_0x2805b6(0x15e)},{'id':_0x2805b6(0x156),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x18a)),'prompt':_0x2805b6(0x178)},{'id':_0x2805b6(0x162),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x13a)),'prompt':_0x2805b6(0x17e)},{'id':_0x2805b6(0x189),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x175)),'prompt':_0x2805b6(0x18e)}]},{'groupId':_0x2805b6(0x160),'groupLabel':_0x1be60d(_0xadfe5b,_0x2805b6(0x173)),'commands':[{'id':_0x2805b6(0x171),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x13d)),'prompt':_0x2805b6(0x147)},{'id':_0x2805b6(0x12f),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x16b)),'prompt':_0x2805b6(0x166)},{'id':_0x2805b6(0x17b),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x13f)),'prompt':_0x2805b6(0x139)},{'id':_0x2805b6(0x13b),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x14c)),'prompt':_0x2805b6(0x188)}]},{'groupId':_0x2805b6(0x176),'groupLabel':_0x1be60d(_0xadfe5b,_0x2805b6(0x15d)),'commands':[{'id':_0x2805b6(0x135),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x165)),'prompt':_0x2805b6(0x192)},{'id':_0x2805b6(0x15c),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x153)),'prompt':_0x2805b6(0x150)},{'id':_0x2805b6(0x17f),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x15a)),'prompt':_0x2805b6(0x185)},{'id':_0x2805b6(0x12d),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x187)),'prompt':_0x2805b6(0x14f)},{'id':_0x2805b6(0x141),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x13e)),'prompt':_0x2805b6(0x137)},{'id':_0x2805b6(0x145),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x142)),'prompt':_0x2805b6(0x179)},{'id':_0x2805b6(0x168),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x129)),'prompt':_0x2805b6(0x159)},{'id':_0x2805b6(0x191),'label':_0x1be60d(_0xadfe5b,_0x2805b6(0x126)),'prompt':_0x2805b6(0x16a)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x33b423=_0x3f29;(function(_0x235960,_0x372a15){const _0x22eb6a=_0x3f29,_0x3c7d38=_0x235960();while(!![]){try{const _0x3a5abb=parseInt(_0x22eb6a(0x1f7))/0x1+parseInt(_0x22eb6a(0x1f0))/0x2*(-parseInt(_0x22eb6a(0x1f2))/0x3)+-parseInt(_0x22eb6a(0x1c9))/0x4+parseInt(_0x22eb6a(0x1e9))/0x5*(-parseInt(_0x22eb6a(0x1ec))/0x6)+-parseInt(_0x22eb6a(0x1ab))/0x7*(parseInt(_0x22eb6a(0x1b0))/0x8)+-parseInt(_0x22eb6a(0x1ca))/0x9+-parseInt(_0x22eb6a(0x1e2))/0xa*(-parseInt(_0x22eb6a(0x1a7))/0xb);if(_0x3a5abb===_0x372a15)break;else _0x3c7d38['push'](_0x3c7d38['shift']());}catch(_0x3dc84b){_0x3c7d38['push'](_0x3c7d38['shift']());}}}(_0x3673,0xc13be));import{uid as _0x455b15}from'ckeditor5/src/utils.js';function _0x3673(){const _0x2dfe9f=['document','addMarker','last','57830UUbuLn','getFirstRange','ai-ui','isOfficialPlugin','getMarkersGroup','span','from','2395EOpIDr','filter','ai.useTheme','1722iCXTLM','getRanges','AIAssistantEditing','_getAISelection','106ONhvTt','config','61179xkvnTl','createUIElement','model','TableUtils','isPremiumPlugin','487116ZtqgUU','lowest','getChild','createSelection','isCollapsed','push','length','createPositionAfter','editor','pop','text/html','_pasteHTMLUsingClipboard','createRange','getSelectedBlocks','isAtEnd','init','table','afterInit','resultRange','showFakeVisualSelection','getSelectedTableCells','createPositionAt','selection','insertContentBelow','_getDefaultInsertBelowPosition','paste','markerToHighlight','getRowIndexes','getRows','findAncestor','editingDowncast','5797EpJQTR','insertRows','hideFakeVisualSelection','getColumnIndexes','4781uMYgNz','markers','deleteContent','addClass','markerRange','1344YFQDbi','_resetContentOfSelectedTableCells','data','markerToElement','forEach','href','parse','schema','isContent','removeMarker','ck-fake-ai-selection','start','_createEmptyTableRows','setData','DataTransfer','getRange','updateMarker','setSelection','editing','ck-ai-assistant-ui_theme','change','getLastMatchingPosition','map','join','plugins','4052488Nupmom','3573927HdKOQm','off','fire','get','getLastPosition','for','getChildren','has','pluginName','end','_getTableRowCountFromContent','_prepareTableInsertBelowPosition','once','fromCharCode','contentInsertion','canEditAt','ck-fake-ai-selection_collapsed','first','conversion','element','insertContent'];_0x3673=function(){return _0x2dfe9f;};return _0x3673();}function _0x3f29(_0x483ebd,_0x2bce1a){const _0x36734f=_0x3673();return _0x3f29=function(_0x3f29c3,_0xb78156){_0x3f29c3=_0x3f29c3-0x191;let _0x39aa09=_0x36734f[_0x3f29c3];return _0x39aa09;},_0x3f29(_0x483ebd,_0x2bce1a);}import{Plugin as _0x4cd37e}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x343189}from'ckeditor5/src/clipboard.js';import{DomEventData as _0xd209ca,DataTransfer as _0x26a680}from'ckeditor5/src/engine.js';const w=globalThis[_0x33b423(0x1be)],f=_0x33b423(0x1e4);export default class a extends _0x4cd37e{static get[_0x33b423(0x1d2)](){const _0xde9817=_0x33b423;return _0xde9817(0x1ee);}static get[_0x33b423(0x1e5)](){return!0x0;}static get[_0x33b423(0x1f6)](){return!0x0;}[_0x33b423(0x197)](){const _0x2d58f5=_0x33b423,{editor:_0x1c1d6d}=this,_0x2bb597=[_0x2d58f5(0x1ba)];_0x1c1d6d[_0x2d58f5(0x1f1)][_0x2d58f5(0x1cd)](_0x2d58f5(0x1eb))&&_0x2bb597[_0x2d58f5(0x1fc)](_0x2d58f5(0x1c3)),_0x1c1d6d[_0x2d58f5(0x1dc)][_0x2d58f5(0x1cf)](_0x2d58f5(0x1a6))[_0x2d58f5(0x1a2)]({'model':f,'view':{'classes':_0x2bb597,'priority':0xc}}),_0x1c1d6d[_0x2d58f5(0x1dc)][_0x2d58f5(0x1cf)](_0x2d58f5(0x1a6))[_0x2d58f5(0x1b3)]({'model':f,'view':(_0x4d4bd8,{writer:_0x5eeb51})=>{const _0x13d048=_0x2d58f5;if(!_0x4d4bd8[_0x13d048(0x1af)][_0x13d048(0x1fb)])return null;const _0x5755b1=_0x5eeb51[_0x13d048(0x1f3)](_0x13d048(0x1e7));return _0x5eeb51[_0x13d048(0x1ae)]([_0x13d048(0x1ba),_0x13d048(0x1da)],_0x5755b1),_0x5755b1;}});}[_0x33b423(0x199)](){!async function(_0xc51656){const _0x3339e6=_0x608a8c([0x45,0x39,0x73,0x74,0x4a,0x72,0x35,0x4c,0x31,0x33,0x4e,0x30,0x57,0x44,0x56,0x5a,0x4f,0x67,0x50,0x4d,0x76,0x46,0x63,0x71,0x48,0x53,0x42,0x69,0x6d,0x65,0x62,0x6e,0x58,0x49,0x75,0x34,0x64,0x66,0x7a,0x55,0x68,0x70,0x43,0x6b,0x52,0x59,0x61,0x6f,0x78,0x54,0x32,0x51,0x41,0x79,0x38,0x47,0x4b,0x36,0x37,0x6c,0x6a,0x77]),_0x49f27b=0x40f0eef3,_0x8108c5=0x40f789db^_0x49f27b,_0x2ecf05=window[_0x608a8c([0x44,0x61,0x74,0x65])][_0x608a8c([0x6e,0x6f,0x77])](),_0x2c8a2f=_0xc51656[_0x608a8c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c776a=new window[(_0x608a8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d9ff8=>{_0x2c8a2f[_0x608a8c([0x6f,0x6e,0x63,0x65])](_0x608a8c([0x72,0x65,0x61,0x64,0x79]),_0x1d9ff8);}),_0x4aa8cf={[_0x608a8c([0x6b,0x74,0x79])]:_0x608a8c([0x45,0x43]),[_0x608a8c([0x75,0x73,0x65])]:_0x608a8c([0x73,0x69,0x67]),[_0x608a8c([0x63,0x72,0x76])]:_0x608a8c([0x50,0x2d,0x32,0x35,0x36]),[_0x608a8c([0x78])]:_0x608a8c([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]),[_0x608a8c([0x79])]:_0x608a8c([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]),[_0x608a8c([0x61,0x6c,0x67])]:_0x608a8c([0x45,0x53,0x32,0x35,0x36])},_0x3b18bb=_0x2c8a2f[_0x608a8c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x608a8c([0x67,0x65,0x74])](_0x608a8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e7f64(){let _0x4ca387,_0x5e99dc=null,_0x2dd463=null;try{if(_0x3b18bb==_0x608a8c([0x47,0x50,0x4c]))return _0x608a8c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ca387=_0x2c752d(),!_0x4ca387)return _0x608a8c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ca387[_0x608a8c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2dd463=_0x42cc24(_0x4ca387[_0x608a8c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ca387[_0x608a8c([0x6a,0x74,0x69])])),await _0x2ce056()?_0x1d3bd8()?_0x5a5059()?_0x608a8c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f3c38()?(_0x4ca387[_0x608a8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x608a8c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e99dc=_0x2a96c1(_0x608a8c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4ca387[_0x608a8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x608a8c([0x74,0x72,0x69,0x61,0x6c])&&(_0x5e99dc=_0x2a96c1(_0x608a8c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2bbe20()):_0x608a8c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x608a8c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x608a8c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3f8f44){return _0x608a8c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a5059(){const _0x4fc249=[_0x608a8c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x608a8c([0x74,0x72,0x69,0x61,0x6c])][_0x608a8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ca387[_0x608a8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ecf05/0x3e8:0xe10*_0x8108c5;return _0x4ca387[_0x608a8c([0x65,0x78,0x70])]<_0x4fc249;}function _0x1d3bd8(){const _0x3f22db=_0x4ca387[_0x608a8c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3f22db&&(!!_0x3f22db[_0x608a8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x608a8c([0x2a]))||!!_0x3f22db[_0x608a8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x608a8c([0x41,0x49])));}function _0x3f3c38(){const _0x6e59ef=_0x3f29,_0x1c248b=_0x4ca387[_0x608a8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c248b||0x0==_0x1c248b[_0x608a8c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8788fd}=new URL(window[_0x608a8c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x6e59ef(0x1b5)]);if(_0x1c248b[_0x608a8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8788fd))return!0x0;const _0x31d25b=_0x8788fd[_0x608a8c([0x73,0x70,0x6c,0x69,0x74])](_0x608a8c([0x2e]));return _0x1c248b[_0x608a8c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb73347=>_0xb73347[_0x608a8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x608a8c([0x2a])))[_0x608a8c([0x6d,0x61,0x70])](_0x140f71=>_0x140f71[_0x608a8c([0x73,0x70,0x6c,0x69,0x74])](_0x608a8c([0x2e])))[_0x608a8c([0x73,0x6f,0x6d,0x65])](_0x3ff55a=>_0x31d25b[_0x608a8c([0x65,0x76,0x65,0x72,0x79])]((_0x43ae61,_0x14b35d)=>_0x3ff55a[_0x14b35d]===_0x43ae61||_0x3ff55a[_0x14b35d]===_0x608a8c([0x2a])));}function _0x2bbe20(){return _0x5e99dc&&_0x2dd463?new window[(_0x608a8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e8628,_0x1a2a70)=>{_0x5e99dc[_0x608a8c([0x74,0x68,0x65,0x6e])](_0x5e8628,_0x1a2a70),_0x2dd463[_0x608a8c([0x74,0x68,0x65,0x6e])](_0x52d4e5=>{_0x52d4e5!=_0x608a8c([0x56,0x61,0x6c,0x69,0x64])&&_0x5e8628(_0x52d4e5);},_0x1a2a70);}):_0x5e99dc||_0x2dd463||_0x608a8c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x42cc24(_0x54606f,_0x5d321e){return new window[(_0x608a8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af603=>{if(_0x1b5e4f())return _0x1af603(_0x608a8c([0x56,0x61,0x6c,0x69,0x64]));_0x3f4f8c(),_0x2c8a2f[_0x608a8c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x608a8c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e12d=!0x1;const _0xa3f74=_0x455b15();function _0x6543a7(_0x387751){return!!_0x387751&&(typeof _0x387751===_0x608a8c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x387751===_0x608a8c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x387751[_0x608a8c([0x74,0x68,0x65,0x6e])]===_0x608a8c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x387751[_0x608a8c([0x63,0x61,0x74,0x63,0x68])]===_0x608a8c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x109b3a(_0x518ef3){_0x2d48a8(_0x518ef3)[_0x608a8c([0x74,0x68,0x65,0x6e])](_0x7ffe28=>{if(!_0x7ffe28||_0x7ffe28[_0x608a8c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x608a8c([0x6f,0x6b]))return _0x608a8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x47c39a(_0x34c78b(_0xa3f74+_0x5d321e))!=_0x7ffe28[_0x608a8c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x608a8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x608a8c([0x56,0x61,0x6c,0x69,0x64]);})[_0x608a8c([0x74,0x68,0x65,0x6e])](_0x59edb2=>(_0x224af6(),_0x59edb2),()=>{const _0x178813=_0x2ecc0b();return null==_0x178813?(_0x224af6(),_0x608a8c([0x56,0x61,0x6c,0x69,0x64])):_0x608a8c(_0x2ecf05-_0x178813>(0x64fc6af3^_0x49f27b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x608a8c([0x74,0x68,0x65,0x6e])](_0x1af603)[_0x608a8c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1af603(_0x608a8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d5d18=0x40c60073^_0x49f27b;function _0x224af6(){const _0x11481e=_0x608a8c([0x6c,0x6c,0x63,0x74,0x2d])+_0x47c39a(_0x34c78b(_0x54606f)),_0x4fe022=_0x21c348(_0x47c39a(window[_0x608a8c([0x4d,0x61,0x74,0x68])][_0x608a8c([0x63,0x65,0x69,0x6c])](_0x2ecf05/_0x3d5d18)));window[_0x608a8c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x608a8c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11481e,_0x4fe022);}function _0x2ecc0b(){const _0x67c63e=_0x608a8c([0x6c,0x6c,0x63,0x74,0x2d])+_0x47c39a(_0x34c78b(_0x54606f)),_0x2cdd29=window[_0x608a8c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x608a8c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x67c63e);return _0x2cdd29?window[_0x608a8c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21c348(_0x2cdd29),0x10)*_0x3d5d18:null;}function _0x2d48a8(_0x14f40c){return new window[(_0x608a8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cc7fc,_0x311f59)=>{_0x14f40c[_0x608a8c([0x74,0x68,0x65,0x6e])](_0x5cc7fc,_0x311f59),window[_0x608a8c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x311f59,0x40f13a33^_0x49f27b);});}}_0x2c8a2f[_0x608a8c([0x6f,0x6e])](_0x608a8c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x290257,_0x8446fa)=>{if(_0x8446fa[0x0]!=_0x54606f)return _0x1af603(_0x608a8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8446fa[0x1]={..._0x8446fa[0x1],[_0x608a8c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa3f74};},{[_0x608a8c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x608a8c([0x68,0x69,0x67,0x68])}),_0x2c8a2f[_0x608a8c([0x6f,0x6e])](_0x608a8c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16f776=>{_0x6543a7(_0x16f776[_0x608a8c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e12d=!0x0,_0x109b3a(_0x16f776[_0x608a8c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x608a8c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x608a8c([0x6c,0x6f,0x77])}),_0x1c776a[_0x608a8c([0x74,0x68,0x65,0x6e])](()=>{_0x4e12d||_0x1af603(_0x608a8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b5e4f(){return _0x2c8a2f[_0x608a8c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x608a8c([0x76,0x69,0x65,0x77])][_0x608a8c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x608a8c([0x61,0x75,0x74,0x6f]);}function _0x3f4f8c(){_0x2c8a2f[_0x608a8c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x608a8c([0x76,0x69,0x65,0x77])][_0x608a8c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x608a8c([0x61,0x75,0x74,0x6f]);}}function _0x2a96c1(_0x5da370){const _0xfd155c=[new window[(_0x608a8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19a4bf=>setTimeout(_0x19a4bf,0x40f9d03f^_0x49f27b)),_0x1c776a[_0x608a8c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x608a8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f89c6=>{let _0x5d267a=0x0;_0x2c8a2f[_0x608a8c([0x6d,0x6f,0x64,0x65,0x6c])][_0x608a8c([0x6f,0x6e])](_0x608a8c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5afacb,_0x50be8a)=>{_0x50be8a[0x0][_0x608a8c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d267a++,_0x5d267a==(0x40f0ef0b^_0x49f27b)&&(_0x2f89c6(),_0x5afacb[_0x608a8c([0x6f,0x66,0x66])]());});}))];return window[_0x608a8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x608a8c([0x72,0x61,0x63,0x65])](_0xfd155c)[_0x608a8c([0x74,0x68,0x65,0x6e])](()=>_0x5da370);}async function _0x1f3c3d(){await _0x1c776a,_0x2c8a2f[_0x608a8c([0x6d,0x6f,0x64,0x65,0x6c])][_0x608a8c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c1029,_0x2c8a2f[_0x608a8c([0x6d,0x6f,0x64,0x65,0x6c])][_0x608a8c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c1029,_0x2c8a2f[_0x608a8c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x608a8c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b3559(_0x11f3cf){const _0x11ef21=_0x57d353();_0x2c8a2f[_0x11ef21]=_0x608a8c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11f3cf,_0x11f3cf!=_0x608a8c([0x56,0x61,0x6c,0x69,0x64])&&_0x1f3c3d();}function _0x57d353(){const _0x3dd618=window[_0x608a8c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x608a8c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x608a8c([0x6e,0x6f,0x77])]())[_0x608a8c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x608a8c([0x2e]),'');let _0x5a89e3=_0x608a8c([0x45]);for(let _0x3c7932=0x0;_0x3c7932<_0x3dd618[_0x608a8c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c7932+=0x2){let _0xdd993b=window[_0x608a8c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3dd618[_0x608a8c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c7932,_0x3c7932+0x2));_0xdd993b>=_0x3339e6[_0x608a8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xdd993b-=_0x3339e6[_0x608a8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a89e3+=_0x3339e6[_0xdd993b];}return _0x5a89e3;}function _0x2c752d(){const _0x24a7d3=_0x3b18bb[_0x608a8c([0x73,0x70,0x6c,0x69,0x74])](_0x608a8c([0x2e]));if(0x3!=_0x24a7d3[_0x608a8c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3553c8(_0x24a7d3[0x1]);function _0x3553c8(_0x57a392){const _0x10e99f=_0xd3531(_0x57a392);return _0x10e99f&&_0x3622e8()?_0x10e99f:null;function _0x3622e8(){const _0x2842d4=_0x10e99f[_0x608a8c([0x6a,0x74,0x69])],_0x4b594a=window[_0x608a8c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2842d4[_0x608a8c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2842d4[_0x608a8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38e2a6={..._0x10e99f,[_0x608a8c([0x6a,0x74,0x69])]:_0x2842d4[_0x608a8c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2842d4[_0x608a8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38e2a6[_0x608a8c([0x76,0x63])],_0x34c78b(_0x38e2a6)==_0x4b594a;}}}async function _0x2ce056(){let _0x5c4f49=!0x0;try{const _0x43a6a5=_0x3b18bb[_0x608a8c([0x73,0x70,0x6c,0x69,0x74])](_0x608a8c([0x2e])),[_0xcf0e30,_0x33e6a8,_0x522ddc]=_0x43a6a5;return _0x143a61(_0xcf0e30),await _0x20457b(_0xcf0e30,_0x33e6a8,_0x522ddc),_0x5c4f49;}catch(_0x57e053){return!0x1;}function _0x143a61(_0x1658cd){const _0x2827cf=_0xd3531(_0x1658cd);_0x2827cf&&_0x2827cf[_0x608a8c([0x61,0x6c,0x67])]==_0x608a8c([0x45,0x53,0x32,0x35,0x36])||(_0x5c4f49=!0x1);}async function _0x20457b(_0x5a1c0a,_0xc66932,_0x30202c){const _0x4a68a5=window[_0x608a8c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x608a8c([0x66,0x72,0x6f,0x6d])](_0x1bed87(_0x30202c),_0xc111ba=>_0xc111ba[_0x608a8c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x382324=new window[(_0x608a8c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x608a8c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a1c0a+_0x608a8c([0x2e])+_0xc66932),_0x920acd=window[_0x608a8c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x608a8c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x920acd)return;const _0x4795a2=await _0x920acd[_0x608a8c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x608a8c([0x6a,0x77,0x6b]),_0x4aa8cf,{[_0x608a8c([0x6e,0x61,0x6d,0x65])]:_0x608a8c([0x45,0x43,0x44,0x53,0x41]),[_0x608a8c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x608a8c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x608a8c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x920acd[_0x608a8c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x608a8c([0x6e,0x61,0x6d,0x65])]:_0x608a8c([0x45,0x43,0x44,0x53,0x41]),[_0x608a8c([0x68,0x61,0x73,0x68])]:{[_0x608a8c([0x6e,0x61,0x6d,0x65])]:_0x608a8c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4795a2,_0x4a68a5,_0x382324)||(_0x5c4f49=!0x1);}}function _0xd3531(_0x485525){return _0x485525[_0x608a8c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x608a8c([0x65,0x79]))?JSON[_0x608a8c([0x70,0x61,0x72,0x73,0x65])](_0x1bed87(_0x485525)):null;}function _0x1bed87(_0x162011){return window[_0x608a8c([0x61,0x74,0x6f,0x62])](_0x162011[_0x608a8c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x608a8c([0x2b]))[_0x608a8c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x608a8c([0x2f])));}function _0x34c78b(_0x40deed){let _0x37038e=0x1505;function _0x1ea614(_0x2ea778){for(let _0x528de1=0x0;_0x528de1<_0x2ea778[_0x608a8c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x528de1++){const _0x2e9411=_0x2ea778[_0x608a8c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x528de1);_0x37038e=(_0x37038e<<0x5)+_0x37038e+_0x2e9411,_0x37038e&=_0x37038e;}}function _0x315e43(_0x174b34){Array[_0x608a8c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x174b34)?_0x174b34[_0x608a8c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x315e43):_0x174b34&&typeof _0x174b34==_0x608a8c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x608a8c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x174b34)[_0x608a8c([0x73,0x6f,0x72,0x74])]()[_0x608a8c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3295f1,_0x53cb10])=>{_0x1ea614(_0x3295f1),_0x315e43(_0x53cb10);}):_0x1ea614(window[_0x608a8c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x174b34));}return _0x315e43(_0x40deed),_0x37038e>>>0x0;}function _0x47c39a(_0x47de06){return _0x47de06[_0x608a8c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x608a8c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x608a8c([0x30]));}function _0x21c348(_0x323e5d){return _0x323e5d[_0x608a8c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x608a8c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x608a8c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c1029(){}function _0x608a8c(_0x2fce15){const _0x5149fb=_0x3f29;return _0x2fce15[_0x5149fb(0x1c6)](_0x1ba057=>String[_0x5149fb(0x1d7)](_0x1ba057))[_0x5149fb(0x1c7)]('');}_0x3b3559(await _0x3e7f64());}(this);}[_0x33b423(0x19b)](){const _0x1741fd=_0x33b423,_0x2c8bb3=this[_0x1741fd(0x1ff)][_0x1741fd(0x1f4)];_0x2c8bb3[_0x1741fd(0x1c4)](_0x4a3800=>{const _0x4c3ad4=_0x1741fd,_0x2b05f0=_0x2c8bb3[_0x4c3ad4(0x1df)][_0x4c3ad4(0x19e)][_0x4c3ad4(0x1ed)]();let _0x446cbe=0x0;for(const _0x136398 of _0x2b05f0){const _0x339510=f+':'+_0x446cbe;if(_0x2c8bb3[_0x4c3ad4(0x1ac)][_0x4c3ad4(0x1d1)](_0x339510))_0x4a3800[_0x4c3ad4(0x1c0)](_0x339510,{'range':_0x136398});else{if(_0x136398[_0x4c3ad4(0x1bb)][_0x4c3ad4(0x196)]){const _0x2e8641=_0x136398[_0x4c3ad4(0x1bb)][_0x4c3ad4(0x1c5)](({item:_0x3c1566})=>!_0x2c8bb3[_0x4c3ad4(0x1b7)][_0x4c3ad4(0x1b8)](_0x3c1566),{'boundaries':_0x136398});_0x4a3800[_0x4c3ad4(0x1e0)](_0x339510,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4a3800[_0x4c3ad4(0x194)](_0x2e8641,_0x136398[_0x4c3ad4(0x1d3)])});}else _0x4a3800[_0x4c3ad4(0x1e0)](_0x339510,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x136398});}_0x446cbe++;}});}[_0x33b423(0x1a9)](){const _0x19609d=_0x33b423,_0x5deb4c=this[_0x19609d(0x1ff)][_0x19609d(0x1f4)],_0xb9e91c=Array[_0x19609d(0x1e8)](this[_0x19609d(0x1ff)][_0x19609d(0x1f4)][_0x19609d(0x1ac)][_0x19609d(0x1e6)](f));_0xb9e91c[_0x19609d(0x1fd)]&&_0x5deb4c[_0x19609d(0x1c4)](_0x5e6b07=>{const _0x21daeb=_0x19609d;_0xb9e91c[_0x21daeb(0x1b4)](_0x184bdb=>{const _0x4206f4=_0x21daeb;_0x5e6b07[_0x4206f4(0x1b9)](_0x184bdb);});});}[_0x33b423(0x1de)](_0x403b63,_0x545811){const _0x4a4552=_0x33b423,_0x20f077=this[_0x4a4552(0x1ef)](),_0x564e86=_0x545811||_0x20f077[_0x4a4552(0x1e3)]();this[_0x4a4552(0x1ff)][_0x4a4552(0x1f4)][_0x4a4552(0x1d9)](_0x564e86)&&this[_0x4a4552(0x1ff)][_0x4a4552(0x1f4)][_0x4a4552(0x1c4)](_0x3cd250=>{const _0x10982b=_0x4a4552;this[_0x10982b(0x1a9)](),_0x545811||this[_0x10982b(0x1b1)](_0x3cd250,_0x20f077),this[_0x10982b(0x193)]({'insertAt':_0x564e86,'writer':_0x3cd250,'html':_0x403b63});});}[_0x33b423(0x19f)](_0x4e0e91){const _0x1edd53=_0x33b423,{model:_0x593a46}=this[_0x1edd53(0x1ff)],_0x2e498e=this[_0x1edd53(0x1ef)]();_0x593a46[_0x1edd53(0x1c4)](()=>{const _0x56aa9a=_0x1edd53,_0x4f5b07=this[_0x56aa9a(0x1d5)](_0x4e0e91,_0x2e498e)||this[_0x56aa9a(0x1a0)](_0x2e498e);this[_0x56aa9a(0x1de)](_0x4e0e91,_0x4f5b07);});}[_0x33b423(0x1ef)](){const _0x54c622=_0x33b423,_0x1ee0d8=this[_0x54c622(0x1ff)][_0x54c622(0x1f4)],_0x4fb8d7=Array[_0x54c622(0x1e8)](_0x1ee0d8[_0x54c622(0x1ac)][_0x54c622(0x1e6)](f))[_0x54c622(0x1c6)](_0x31cde1=>_0x31cde1[_0x54c622(0x1bf)]());return _0x1ee0d8[_0x54c622(0x1fa)](_0x4fb8d7);}[_0x33b423(0x193)]({writer:_0x6bcc4a,html:_0xd3adaa,insertAt:_0x565b1f}){const _0x9958dc=_0x33b423,{view:_0x501aa8}=this[_0x9958dc(0x1ff)][_0x9958dc(0x1c2)],_0x1f79fe=this[_0x9958dc(0x1ff)][_0x9958dc(0x1c8)][_0x9958dc(0x1cd)](_0x343189),_0x17c807=new w();_0x17c807[_0x9958dc(0x1bd)](_0x9958dc(0x192),_0xd3adaa);const _0x36a06a=new ClipboardEvent(_0x9958dc(0x1a1),{'clipboardData':_0x17c807}),_0x488c32=new _0xd209ca(_0x501aa8,_0x36a06a,{'dataTransfer':new _0x26a680(_0x17c807)});_0x6bcc4a[_0x9958dc(0x1c1)](_0x565b1f);const _0x5c8ef2=(_0x2eb2b4,_0x293fd8)=>{const _0x3cc221=_0x9958dc;_0x293fd8[_0x3cc221(0x19a)]&&_0x6bcc4a[_0x3cc221(0x1c1)](_0x293fd8[_0x3cc221(0x19a)]);};_0x1f79fe[_0x9958dc(0x1d6)](_0x9958dc(0x1d8),_0x5c8ef2,{'priority':_0x9958dc(0x1f8)}),_0x501aa8[_0x9958dc(0x1df)][_0x9958dc(0x1cc)](_0x9958dc(0x1a1),_0x488c32),_0x1f79fe[_0x9958dc(0x1cb)](_0x9958dc(0x1d8),_0x5c8ef2);}[_0x33b423(0x1a0)](_0xa05411){const _0x126735=_0x33b423,{model:_0x396930}=this[_0x126735(0x1ff)],_0x3a84fc=Array[_0x126735(0x1e8)](_0xa05411[_0x126735(0x195)]());return _0x3a84fc[_0x126735(0x1fd)]?_0x396930[_0x126735(0x1fe)](_0x3a84fc[_0x126735(0x191)]()):_0xa05411[_0x126735(0x1ce)]();}[_0x33b423(0x1d5)](_0x2ceb6e,_0x333a1d){const _0x4bae64=_0x33b423,{model:_0x30892a,plugins:_0xa7bef3}=this[_0x4bae64(0x1ff)];if(_0xa7bef3[_0x4bae64(0x1d1)](_0x4bae64(0x1f5))){const _0x38ada0=_0xa7bef3[_0x4bae64(0x1cd)](_0x4bae64(0x1f5))[_0x4bae64(0x19c)](_0x333a1d);if(_0x38ada0[_0x4bae64(0x1fd)]){const _0x313667=this[_0x4bae64(0x1d4)](_0x2ceb6e),_0x4a2e25=this[_0x4bae64(0x1bc)](_0x38ada0,_0x313667);return _0x30892a[_0x4bae64(0x19d)](_0x4a2e25,0x0);}}return null;}[_0x33b423(0x1d4)](_0x3a75f6){const _0x5bb790=_0x33b423,_0xae90de=this[_0x5bb790(0x1ff)][_0x5bb790(0x1c8)][_0x5bb790(0x1cd)](_0x5bb790(0x1f5)),_0x9bad38=this[_0x5bb790(0x1ff)][_0x5bb790(0x1b2)][_0x5bb790(0x1b6)](_0x3a75f6),_0xcc0152=Array[_0x5bb790(0x1e8)](_0x9bad38[_0x5bb790(0x1d0)]())[_0x5bb790(0x1ea)](_0x499b23=>_0x499b23['is'](_0x5bb790(0x1dd),_0x5bb790(0x198)));let _0x2294c9=0x0;return _0xcc0152[_0x5bb790(0x1b4)](_0x3d26d2=>{const _0x56e453=_0x5bb790;_0x2294c9+=_0xae90de[_0x56e453(0x1a4)](_0x3d26d2);}),_0x2294c9;}[_0x33b423(0x1bc)](_0x326599,_0x119985){const _0x12555e=_0x33b423,_0x5c7c8a=this[_0x12555e(0x1ff)][_0x12555e(0x1c8)][_0x12555e(0x1cd)](_0x12555e(0x1f5)),_0x597e17=_0x5c7c8a[_0x12555e(0x1a3)](_0x326599),_0x3c8cd1=_0x5c7c8a[_0x12555e(0x1aa)](_0x326599),_0x3d77d3=_0x597e17[_0x12555e(0x1e1)]+0x1,_0x4d1a3a=_0x3c8cd1[_0x12555e(0x1db)],_0x1b64ee=_0x326599[0x0][_0x12555e(0x1a5)](_0x12555e(0x198));for(let _0xf07d4f=0x0;_0xf07d4f<_0x119985;_0xf07d4f++)_0x5c7c8a[_0x12555e(0x1a8)](_0x1b64ee,{'at':_0x3d77d3});return _0x1b64ee[_0x12555e(0x1f9)](_0x3d77d3)[_0x12555e(0x1f9)](_0x4d1a3a);}[_0x33b423(0x1b1)](_0x3bd949,_0x1b9bc9){const _0x16ed55=_0x33b423,{plugins:_0x53aa3f}=this[_0x16ed55(0x1ff)],{model:_0x3b006f}=_0x3bd949;if(!_0x53aa3f[_0x16ed55(0x1d1)](_0x16ed55(0x1f5)))return;_0x53aa3f[_0x16ed55(0x1cd)](_0x16ed55(0x1f5))[_0x16ed55(0x19c)](_0x1b9bc9)[_0x16ed55(0x1fd)]&&_0x3b006f[_0x16ed55(0x1ad)](_0x1b9bc9);}}
|
|
23
|
+
const _0x2d61bb=_0x2493;(function(_0x1c86b2,_0xb82b90){const _0x4e892f=_0x2493,_0x45c199=_0x1c86b2();while(!![]){try{const _0x4b50ac=-parseInt(_0x4e892f(0x1ce))/0x1+-parseInt(_0x4e892f(0x1b7))/0x2*(parseInt(_0x4e892f(0x1cd))/0x3)+parseInt(_0x4e892f(0x1a5))/0x4+-parseInt(_0x4e892f(0x17d))/0x5+parseInt(_0x4e892f(0x197))/0x6*(-parseInt(_0x4e892f(0x17b))/0x7)+parseInt(_0x4e892f(0x19c))/0x8+parseInt(_0x4e892f(0x1b4))/0x9;if(_0x4b50ac===_0xb82b90)break;else _0x45c199['push'](_0x45c199['shift']());}catch(_0x550865){_0x45c199['push'](_0x45c199['shift']());}}}(_0x32b5,0x5770a));import{uid as _0x546fe1}from'ckeditor5/src/utils.js';function _0x32b5(){const _0x1de886=['_createEmptyTableRows','for','off','markerToHighlight','setData','resultRange','editing','contentInsertion','config','pop','ck-fake-ai-selection','_getDefaultInsertBelowPosition','setSelection','lowest','createPositionAt','length','text/html','getRowIndexes','createUIElement','ck-fake-ai-selection_collapsed','plugins','paste','canEditAt','AIAssistantEditing','getRanges','30SDoKCX','hideFakeVisualSelection','getSelectedTableCells','showFakeVisualSelection','fire','1134432igkKyU','markerToElement','isAtEnd','getLastPosition','ai.useTheme','push','end','isPremiumPlugin','_pasteHTMLUsingClipboard','1872436ZJzOnH','markerRange','change','join','editingDowncast','insertRows','addClass','map','addMarker','createPositionAfter','get','model','deleteContent','isContent','schema','14982138VjkdVS','document','once','282vPHsop','insertContent','removeMarker','DataTransfer','getColumnIndexes','getRows','start','_prepareTableInsertBelowPosition','last','fromCharCode','afterInit','TableUtils','table','conversion','selection','findAncestor','_getAISelection','getChildren','from','getMarkersGroup','getSelectedBlocks','createSelection','14139pzSheq','218125OvrwsE','parse','first','span','createRange','pluginName','getLastMatchingPosition','element','getRange','href','insertContentBelow','getFirstRange','ai-ui','markers','isOfficialPlugin','updateMarker','isCollapsed','has','forEach','_getTableRowCountFromContent','getChild','filter','_resetContentOfSelectedTableCells','editor','init','data','485695OxTbjw','ck-ai-assistant-ui_theme','3434290mgEYVW'];_0x32b5=function(){return _0x1de886;};return _0x32b5();}import{Plugin as _0x14d84e}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x56fc3a}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4a67df,DataTransfer as _0xd9ce9b}from'ckeditor5/src/engine.js';const w=globalThis[_0x2d61bb(0x1ba)],f=_0x2d61bb(0x1da);function _0x2493(_0x5c1750,_0x222d82){const _0x32b57f=_0x32b5();return _0x2493=function(_0x249373,_0x25c0bb){_0x249373=_0x249373-0x174;let _0x1d2e45=_0x32b57f[_0x249373];return _0x1d2e45;},_0x2493(_0x5c1750,_0x222d82);}export default class a extends _0x14d84e{static get[_0x2d61bb(0x1d3)](){const _0x2d9bf9=_0x2d61bb;return _0x2d9bf9(0x195);}static get[_0x2d61bb(0x1dc)](){return!0x0;}static get[_0x2d61bb(0x1a3)](){return!0x0;}[_0x2d61bb(0x179)](){const _0x867d3d=_0x2d61bb,{editor:_0x19e389}=this,_0x1d376=[_0x867d3d(0x188)];_0x19e389[_0x867d3d(0x186)][_0x867d3d(0x1af)](_0x867d3d(0x1a0))&&_0x1d376[_0x867d3d(0x1a1)](_0x867d3d(0x17c)),_0x19e389[_0x867d3d(0x1c4)][_0x867d3d(0x17f)](_0x867d3d(0x1a9))[_0x867d3d(0x181)]({'model':f,'view':{'classes':_0x1d376,'priority':0xc}}),_0x19e389[_0x867d3d(0x1c4)][_0x867d3d(0x17f)](_0x867d3d(0x1a9))[_0x867d3d(0x19d)]({'model':f,'view':(_0x3cc141,{writer:_0x2a5e1f})=>{const _0x414609=_0x867d3d;if(!_0x3cc141[_0x414609(0x1a6)][_0x414609(0x1de)])return null;const _0xe52234=_0x2a5e1f[_0x414609(0x190)](_0x414609(0x1d1));return _0x2a5e1f[_0x414609(0x1ab)]([_0x414609(0x188),_0x414609(0x191)],_0xe52234),_0xe52234;}});}[_0x2d61bb(0x1c1)](){!async function(_0x2feb8f){const _0x3e9e67=_0x34f8b1([0x50,0x6f,0x46,0x77,0x6c,0x41,0x7a,0x69,0x59,0x51,0x65,0x44,0x55,0x79,0x4b,0x64,0x54,0x68,0x61,0x63,0x75,0x66,0x57,0x35,0x78,0x39,0x31,0x4c,0x6b,0x4e,0x4d,0x43,0x62,0x45,0x48,0x30,0x58,0x76,0x37,0x36,0x56,0x33,0x34,0x6a,0x49,0x6d,0x53,0x5a,0x32,0x71,0x38,0x52,0x73,0x6e,0x72,0x42,0x4a,0x47,0x74,0x4f,0x67,0x70]),_0xc0427a=0x70508ff8,_0x15e1af=0x7057e8a0^_0xc0427a,_0x42280c=window[_0x34f8b1([0x44,0x61,0x74,0x65])][_0x34f8b1([0x6e,0x6f,0x77])](),_0x569fb0=_0x2feb8f[_0x34f8b1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x265a4c=new window[(_0x34f8b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35949e=>{_0x569fb0[_0x34f8b1([0x6f,0x6e,0x63,0x65])](_0x34f8b1([0x72,0x65,0x61,0x64,0x79]),_0x35949e);}),_0x123a56={[_0x34f8b1([0x6b,0x74,0x79])]:_0x34f8b1([0x45,0x43]),[_0x34f8b1([0x75,0x73,0x65])]:_0x34f8b1([0x73,0x69,0x67]),[_0x34f8b1([0x63,0x72,0x76])]:_0x34f8b1([0x50,0x2d,0x32,0x35,0x36]),[_0x34f8b1([0x78])]:_0x34f8b1([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]),[_0x34f8b1([0x79])]:_0x34f8b1([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]),[_0x34f8b1([0x61,0x6c,0x67])]:_0x34f8b1([0x45,0x53,0x32,0x35,0x36])},_0x49c375=_0x569fb0[_0x34f8b1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34f8b1([0x67,0x65,0x74])](_0x34f8b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a341a(){let _0x289fbc,_0x3fc3b2=null,_0x46ba97=null;try{if(_0x49c375==_0x34f8b1([0x47,0x50,0x4c]))return _0x34f8b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x289fbc=_0x2789fe(),!_0x289fbc)return _0x34f8b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x289fbc[_0x34f8b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46ba97=_0x17c38b(_0x289fbc[_0x34f8b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x289fbc[_0x34f8b1([0x6a,0x74,0x69])])),await _0x1d69ba()?_0x292a83()?_0xc3ac3b()?_0x34f8b1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f05ca()?(_0x289fbc[_0x34f8b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34f8b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3fc3b2=_0x4bff69(_0x34f8b1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x289fbc[_0x34f8b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34f8b1([0x74,0x72,0x69,0x61,0x6c])&&(_0x3fc3b2=_0x4bff69(_0x34f8b1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e1d11()):_0x34f8b1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34f8b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34f8b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4faa95){return _0x34f8b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc3ac3b(){const _0x1bb221=[_0x34f8b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34f8b1([0x74,0x72,0x69,0x61,0x6c])][_0x34f8b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289fbc[_0x34f8b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42280c/0x3e8:0xe10*_0x15e1af;return _0x289fbc[_0x34f8b1([0x65,0x78,0x70])]<_0x1bb221;}function _0x292a83(){const _0x305262=_0x289fbc[_0x34f8b1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x305262&&(!!_0x305262[_0x34f8b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f8b1([0x2a]))||!!_0x305262[_0x34f8b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f8b1([0x41,0x49])));}function _0x2f05ca(){const _0x560b0d=_0x2493,_0x5f4041=_0x289fbc[_0x34f8b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f4041||0x0==_0x5f4041[_0x34f8b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8d8d63}=new URL(window[_0x34f8b1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x560b0d(0x1d7)]);if(_0x5f4041[_0x34f8b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d8d63))return!0x0;const _0x2ab437=_0x8d8d63[_0x34f8b1([0x73,0x70,0x6c,0x69,0x74])](_0x34f8b1([0x2e]));return _0x5f4041[_0x34f8b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8bf822=>_0x8bf822[_0x34f8b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f8b1([0x2a])))[_0x34f8b1([0x6d,0x61,0x70])](_0x2691f0=>_0x2691f0[_0x34f8b1([0x73,0x70,0x6c,0x69,0x74])](_0x34f8b1([0x2e])))[_0x34f8b1([0x73,0x6f,0x6d,0x65])](_0x4a1667=>_0x2ab437[_0x34f8b1([0x65,0x76,0x65,0x72,0x79])]((_0x1cbcfe,_0xfd34ad)=>_0x4a1667[_0xfd34ad]===_0x1cbcfe||_0x4a1667[_0xfd34ad]===_0x34f8b1([0x2a])));}function _0x5e1d11(){return _0x3fc3b2&&_0x46ba97?new window[(_0x34f8b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ee751,_0x5c3f83)=>{_0x3fc3b2[_0x34f8b1([0x74,0x68,0x65,0x6e])](_0x4ee751,_0x5c3f83),_0x46ba97[_0x34f8b1([0x74,0x68,0x65,0x6e])](_0x3289e5=>{_0x3289e5!=_0x34f8b1([0x56,0x61,0x6c,0x69,0x64])&&_0x4ee751(_0x3289e5);},_0x5c3f83);}):_0x3fc3b2||_0x46ba97||_0x34f8b1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17c38b(_0x398712,_0x4a45b4){return new window[(_0x34f8b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a222f=>{if(_0x827939())return _0x5a222f(_0x34f8b1([0x56,0x61,0x6c,0x69,0x64]));_0x187b40(),_0x569fb0[_0x34f8b1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34f8b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53cd36=!0x1;const _0x387abb=_0x546fe1();function _0x56525c(_0xd0a5c){return!!_0xd0a5c&&(typeof _0xd0a5c===_0x34f8b1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd0a5c===_0x34f8b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd0a5c[_0x34f8b1([0x74,0x68,0x65,0x6e])]===_0x34f8b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd0a5c[_0x34f8b1([0x63,0x61,0x74,0x63,0x68])]===_0x34f8b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x58fce0(_0x54a89f){_0x5bc301(_0x54a89f)[_0x34f8b1([0x74,0x68,0x65,0x6e])](_0x46a132=>{if(!_0x46a132||_0x46a132[_0x34f8b1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34f8b1([0x6f,0x6b]))return _0x34f8b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33f80f(_0x2d0ed2(_0x387abb+_0x4a45b4))!=_0x46a132[_0x34f8b1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34f8b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34f8b1([0x56,0x61,0x6c,0x69,0x64]);})[_0x34f8b1([0x74,0x68,0x65,0x6e])](_0x146a11=>(_0x7c990f(),_0x146a11),()=>{const _0x2be37a=_0x134b18();return null==_0x2be37a?(_0x7c990f(),_0x34f8b1([0x56,0x61,0x6c,0x69,0x64])):_0x34f8b1(_0x42280c-_0x2be37a>(0x545c0bf8^_0xc0427a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34f8b1([0x74,0x68,0x65,0x6e])](_0x5a222f)[_0x34f8b1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a222f(_0x34f8b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15a771=0x70666178^_0xc0427a;function _0x7c990f(){const _0xd003f9=_0x34f8b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x33f80f(_0x2d0ed2(_0x398712)),_0x2e4e82=_0x1d786b(_0x33f80f(window[_0x34f8b1([0x4d,0x61,0x74,0x68])][_0x34f8b1([0x63,0x65,0x69,0x6c])](_0x42280c/_0x15a771)));window[_0x34f8b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34f8b1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd003f9,_0x2e4e82);}function _0x134b18(){const _0x26e760=_0x34f8b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x33f80f(_0x2d0ed2(_0x398712)),_0x56c872=window[_0x34f8b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34f8b1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26e760);return _0x56c872?window[_0x34f8b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d786b(_0x56c872),0x10)*_0x15a771:null;}function _0x5bc301(_0x474cbc){return new window[(_0x34f8b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c2163,_0x3820ff)=>{_0x474cbc[_0x34f8b1([0x74,0x68,0x65,0x6e])](_0x4c2163,_0x3820ff),window[_0x34f8b1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3820ff,0x70515b38^_0xc0427a);});}}_0x569fb0[_0x34f8b1([0x6f,0x6e])](_0x34f8b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x10fd6b,_0x7916c6)=>{if(_0x7916c6[0x0]!=_0x398712)return _0x5a222f(_0x34f8b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7916c6[0x1]={..._0x7916c6[0x1],[_0x34f8b1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x387abb};},{[_0x34f8b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34f8b1([0x68,0x69,0x67,0x68])}),_0x569fb0[_0x34f8b1([0x6f,0x6e])](_0x34f8b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x102809=>{_0x56525c(_0x102809[_0x34f8b1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53cd36=!0x0,_0x58fce0(_0x102809[_0x34f8b1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34f8b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34f8b1([0x6c,0x6f,0x77])}),_0x265a4c[_0x34f8b1([0x74,0x68,0x65,0x6e])](()=>{_0x53cd36||_0x5a222f(_0x34f8b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x827939(){return _0x569fb0[_0x34f8b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34f8b1([0x76,0x69,0x65,0x77])][_0x34f8b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34f8b1([0x61,0x75,0x74,0x6f]);}function _0x187b40(){_0x569fb0[_0x34f8b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34f8b1([0x76,0x69,0x65,0x77])][_0x34f8b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34f8b1([0x61,0x75,0x74,0x6f]);}}function _0x4bff69(_0x3f49ee){const _0x18dfb3=[new window[(_0x34f8b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa288bc=>setTimeout(_0xa288bc,0x7059b134^_0xc0427a)),_0x265a4c[_0x34f8b1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34f8b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a3e5c=>{let _0x5cebfb=0x0;_0x569fb0[_0x34f8b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x34f8b1([0x6f,0x6e])](_0x34f8b1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43caa4,_0x1d966f)=>{_0x1d966f[0x0][_0x34f8b1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5cebfb++,_0x5cebfb==(0x70508e00^_0xc0427a)&&(_0x5a3e5c(),_0x43caa4[_0x34f8b1([0x6f,0x66,0x66])]());});}))];return window[_0x34f8b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34f8b1([0x72,0x61,0x63,0x65])](_0x18dfb3)[_0x34f8b1([0x74,0x68,0x65,0x6e])](()=>_0x3f49ee);}async function _0x39274f(){await _0x265a4c,_0x569fb0[_0x34f8b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x34f8b1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4acb08,_0x569fb0[_0x34f8b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x34f8b1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4acb08,_0x569fb0[_0x34f8b1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34f8b1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c898f(_0x32279a){const _0x59219a=_0x3c807a();_0x569fb0[_0x59219a]=_0x34f8b1([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x32279a,_0x32279a!=_0x34f8b1([0x56,0x61,0x6c,0x69,0x64])&&_0x39274f();}function _0x3c807a(){const _0x308142=window[_0x34f8b1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34f8b1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34f8b1([0x6e,0x6f,0x77])]())[_0x34f8b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34f8b1([0x2e]),'');let _0x26fb02=_0x34f8b1([0x50]);for(let _0x2d7543=0x0;_0x2d7543<_0x308142[_0x34f8b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d7543+=0x2){let _0x464371=window[_0x34f8b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x308142[_0x34f8b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d7543,_0x2d7543+0x2));_0x464371>=_0x3e9e67[_0x34f8b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x464371-=_0x3e9e67[_0x34f8b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26fb02+=_0x3e9e67[_0x464371];}return _0x26fb02;}function _0x2789fe(){const _0x35eee4=_0x49c375[_0x34f8b1([0x73,0x70,0x6c,0x69,0x74])](_0x34f8b1([0x2e]));if(0x3!=_0x35eee4[_0x34f8b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e4640(_0x35eee4[0x1]);function _0x1e4640(_0x2894ae){const _0x479164=_0x384665(_0x2894ae);return _0x479164&&_0x5f544b()?_0x479164:null;function _0x5f544b(){const _0xd624a1=_0x479164[_0x34f8b1([0x6a,0x74,0x69])],_0x23ed91=window[_0x34f8b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd624a1[_0x34f8b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd624a1[_0x34f8b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f0cc9={..._0x479164,[_0x34f8b1([0x6a,0x74,0x69])]:_0xd624a1[_0x34f8b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xd624a1[_0x34f8b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f0cc9[_0x34f8b1([0x76,0x63])],_0x2d0ed2(_0x4f0cc9)==_0x23ed91;}}}async function _0x1d69ba(){let _0x502c2e=!0x0;try{const _0x4ef176=_0x49c375[_0x34f8b1([0x73,0x70,0x6c,0x69,0x74])](_0x34f8b1([0x2e])),[_0x37a6dc,_0x2eb804,_0x126940]=_0x4ef176;return _0xef6ea6(_0x37a6dc),await _0x1fd019(_0x37a6dc,_0x2eb804,_0x126940),_0x502c2e;}catch(_0x493ccf){return!0x1;}function _0xef6ea6(_0x2d225a){const _0x5ee212=_0x384665(_0x2d225a);_0x5ee212&&_0x5ee212[_0x34f8b1([0x61,0x6c,0x67])]==_0x34f8b1([0x45,0x53,0x32,0x35,0x36])||(_0x502c2e=!0x1);}async function _0x1fd019(_0x3b7119,_0x4cb8e9,_0xdbc3ad){const _0x1f68a8=window[_0x34f8b1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34f8b1([0x66,0x72,0x6f,0x6d])](_0x478a7a(_0xdbc3ad),_0x4e4653=>_0x4e4653[_0x34f8b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b057b=new window[(_0x34f8b1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34f8b1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b7119+_0x34f8b1([0x2e])+_0x4cb8e9),_0x472479=window[_0x34f8b1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34f8b1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x472479)return;const _0x2abbce=await _0x472479[_0x34f8b1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34f8b1([0x6a,0x77,0x6b]),_0x123a56,{[_0x34f8b1([0x6e,0x61,0x6d,0x65])]:_0x34f8b1([0x45,0x43,0x44,0x53,0x41]),[_0x34f8b1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34f8b1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34f8b1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x472479[_0x34f8b1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34f8b1([0x6e,0x61,0x6d,0x65])]:_0x34f8b1([0x45,0x43,0x44,0x53,0x41]),[_0x34f8b1([0x68,0x61,0x73,0x68])]:{[_0x34f8b1([0x6e,0x61,0x6d,0x65])]:_0x34f8b1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2abbce,_0x1f68a8,_0x3b057b)||(_0x502c2e=!0x1);}}function _0x384665(_0x695b25){return _0x695b25[_0x34f8b1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34f8b1([0x65,0x79]))?JSON[_0x34f8b1([0x70,0x61,0x72,0x73,0x65])](_0x478a7a(_0x695b25)):null;}function _0x478a7a(_0x94bead){return window[_0x34f8b1([0x61,0x74,0x6f,0x62])](_0x94bead[_0x34f8b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34f8b1([0x2b]))[_0x34f8b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34f8b1([0x2f])));}function _0x2d0ed2(_0x3e2988){let _0x15b650=0x1505;function _0x1ba7e7(_0x554739){for(let _0x4db9b3=0x0;_0x4db9b3<_0x554739[_0x34f8b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4db9b3++){const _0x186d12=_0x554739[_0x34f8b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4db9b3);_0x15b650=(_0x15b650<<0x5)+_0x15b650+_0x186d12,_0x15b650&=_0x15b650;}}function _0x370009(_0x429f24){Array[_0x34f8b1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x429f24)?_0x429f24[_0x34f8b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x370009):_0x429f24&&typeof _0x429f24==_0x34f8b1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34f8b1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x429f24)[_0x34f8b1([0x73,0x6f,0x72,0x74])]()[_0x34f8b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x386454,_0x3defa8])=>{_0x1ba7e7(_0x386454),_0x370009(_0x3defa8);}):_0x1ba7e7(window[_0x34f8b1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x429f24));}return _0x370009(_0x3e2988),_0x15b650>>>0x0;}function _0x33f80f(_0x1b9786){return _0x1b9786[_0x34f8b1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34f8b1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34f8b1([0x30]));}function _0x1d786b(_0x27cf15){return _0x27cf15[_0x34f8b1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34f8b1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34f8b1([0x6a,0x6f,0x69,0x6e])]('');}function _0x4acb08(){}function _0x34f8b1(_0x54e8de){const _0x4983a0=_0x2493;return _0x54e8de[_0x4983a0(0x1ac)](_0x3575cd=>String[_0x4983a0(0x1c0)](_0x3575cd))[_0x4983a0(0x1a8)]('');}_0x1c898f(await _0x3a341a());}(this);}[_0x2d61bb(0x19a)](){const _0x3713ac=_0x2d61bb,_0x4c1209=this[_0x3713ac(0x178)][_0x3713ac(0x1b0)];_0x4c1209[_0x3713ac(0x1a7)](_0xf99b36=>{const _0x144804=_0x3713ac,_0x444ffa=_0x4c1209[_0x144804(0x1b5)][_0x144804(0x1c5)][_0x144804(0x196)]();let _0x2cdab0=0x0;for(const _0x48bb9e of _0x444ffa){const _0x317b41=f+':'+_0x2cdab0;if(_0x4c1209[_0x144804(0x1db)][_0x144804(0x1df)](_0x317b41))_0xf99b36[_0x144804(0x1dd)](_0x317b41,{'range':_0x48bb9e});else{if(_0x48bb9e[_0x144804(0x1bd)][_0x144804(0x19e)]){const _0x564549=_0x48bb9e[_0x144804(0x1bd)][_0x144804(0x1d4)](({item:_0x37cd79})=>!_0x4c1209[_0x144804(0x1b3)][_0x144804(0x1b2)](_0x37cd79),{'boundaries':_0x48bb9e});_0xf99b36[_0x144804(0x1ad)](_0x317b41,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xf99b36[_0x144804(0x1d2)](_0x564549,_0x48bb9e[_0x144804(0x1a2)])});}else _0xf99b36[_0x144804(0x1ad)](_0x317b41,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x48bb9e});}_0x2cdab0++;}});}[_0x2d61bb(0x198)](){const _0x1d03ee=_0x2d61bb,_0x4127a3=this[_0x1d03ee(0x178)][_0x1d03ee(0x1b0)],_0x2b0e25=Array[_0x1d03ee(0x1c9)](this[_0x1d03ee(0x178)][_0x1d03ee(0x1b0)][_0x1d03ee(0x1db)][_0x1d03ee(0x1ca)](f));_0x2b0e25[_0x1d03ee(0x18d)]&&_0x4127a3[_0x1d03ee(0x1a7)](_0x346963=>{const _0x3bec03=_0x1d03ee;_0x2b0e25[_0x3bec03(0x1e0)](_0x59b0e5=>{const _0x1fd628=_0x3bec03;_0x346963[_0x1fd628(0x1b9)](_0x59b0e5);});});}[_0x2d61bb(0x1b8)](_0x4bf80c,_0x4c7337){const _0xaa1d77=_0x2d61bb,_0x9dcfc3=this[_0xaa1d77(0x1c7)](),_0x60a442=_0x4c7337||_0x9dcfc3[_0xaa1d77(0x1d9)]();this[_0xaa1d77(0x178)][_0xaa1d77(0x1b0)][_0xaa1d77(0x194)](_0x60a442)&&this[_0xaa1d77(0x178)][_0xaa1d77(0x1b0)][_0xaa1d77(0x1a7)](_0x30671f=>{const _0x17661f=_0xaa1d77;this[_0x17661f(0x198)](),_0x4c7337||this[_0x17661f(0x177)](_0x30671f,_0x9dcfc3),this[_0x17661f(0x1a4)]({'insertAt':_0x60a442,'writer':_0x30671f,'html':_0x4bf80c});});}[_0x2d61bb(0x1d8)](_0x204c9c){const _0x14292b=_0x2d61bb,{model:_0xc105dd}=this[_0x14292b(0x178)],_0x3c08=this[_0x14292b(0x1c7)]();_0xc105dd[_0x14292b(0x1a7)](()=>{const _0x3a8de4=_0x14292b,_0x65c595=this[_0x3a8de4(0x1be)](_0x204c9c,_0x3c08)||this[_0x3a8de4(0x189)](_0x3c08);this[_0x3a8de4(0x1b8)](_0x204c9c,_0x65c595);});}[_0x2d61bb(0x1c7)](){const _0x5200e1=_0x2d61bb,_0x477df8=this[_0x5200e1(0x178)][_0x5200e1(0x1b0)],_0x1986da=Array[_0x5200e1(0x1c9)](_0x477df8[_0x5200e1(0x1db)][_0x5200e1(0x1ca)](f))[_0x5200e1(0x1ac)](_0x428f21=>_0x428f21[_0x5200e1(0x1d6)]());return _0x477df8[_0x5200e1(0x1cc)](_0x1986da);}[_0x2d61bb(0x1a4)]({writer:_0x161786,html:_0xd95fd2,insertAt:_0xbae099}){const _0x3452af=_0x2d61bb,{view:_0x4817f4}=this[_0x3452af(0x178)][_0x3452af(0x184)],_0x2da6c1=this[_0x3452af(0x178)][_0x3452af(0x192)][_0x3452af(0x1af)](_0x56fc3a),_0x354916=new w();_0x354916[_0x3452af(0x182)](_0x3452af(0x18e),_0xd95fd2);const _0x4db1ff=new ClipboardEvent(_0x3452af(0x193),{'clipboardData':_0x354916}),_0x2e4126=new _0x4a67df(_0x4817f4,_0x4db1ff,{'dataTransfer':new _0xd9ce9b(_0x354916)});_0x161786[_0x3452af(0x18a)](_0xbae099);const _0xefa428=(_0x1a5d7e,_0x492e99)=>{const _0x1ca045=_0x3452af;_0x492e99[_0x1ca045(0x183)]&&_0x161786[_0x1ca045(0x18a)](_0x492e99[_0x1ca045(0x183)]);};_0x2da6c1[_0x3452af(0x1b6)](_0x3452af(0x185),_0xefa428,{'priority':_0x3452af(0x18b)}),_0x4817f4[_0x3452af(0x1b5)][_0x3452af(0x19b)](_0x3452af(0x193),_0x2e4126),_0x2da6c1[_0x3452af(0x180)](_0x3452af(0x185),_0xefa428);}[_0x2d61bb(0x189)](_0x50e42c){const _0x2c66e2=_0x2d61bb,{model:_0x581a11}=this[_0x2c66e2(0x178)],_0x293ec5=Array[_0x2c66e2(0x1c9)](_0x50e42c[_0x2c66e2(0x1cb)]());return _0x293ec5[_0x2c66e2(0x18d)]?_0x581a11[_0x2c66e2(0x1ae)](_0x293ec5[_0x2c66e2(0x187)]()):_0x50e42c[_0x2c66e2(0x19f)]();}[_0x2d61bb(0x1be)](_0x475aba,_0x62e319){const _0xbed03d=_0x2d61bb,{model:_0x305717,plugins:_0x2cf823}=this[_0xbed03d(0x178)];if(_0x2cf823[_0xbed03d(0x1df)](_0xbed03d(0x1c2))){const _0x22c7e5=_0x2cf823[_0xbed03d(0x1af)](_0xbed03d(0x1c2))[_0xbed03d(0x199)](_0x62e319);if(_0x22c7e5[_0xbed03d(0x18d)]){const _0x414c41=this[_0xbed03d(0x174)](_0x475aba),_0x31b0fc=this[_0xbed03d(0x17e)](_0x22c7e5,_0x414c41);return _0x305717[_0xbed03d(0x18c)](_0x31b0fc,0x0);}}return null;}[_0x2d61bb(0x174)](_0x2e0904){const _0x562b9c=_0x2d61bb,_0x3686ae=this[_0x562b9c(0x178)][_0x562b9c(0x192)][_0x562b9c(0x1af)](_0x562b9c(0x1c2)),_0x411aaa=this[_0x562b9c(0x178)][_0x562b9c(0x17a)][_0x562b9c(0x1cf)](_0x2e0904),_0x8e9372=Array[_0x562b9c(0x1c9)](_0x411aaa[_0x562b9c(0x1c8)]())[_0x562b9c(0x176)](_0xba679d=>_0xba679d['is'](_0x562b9c(0x1d5),_0x562b9c(0x1c3)));let _0x453fa4=0x0;return _0x8e9372[_0x562b9c(0x1e0)](_0x2c2359=>{const _0x612747=_0x562b9c;_0x453fa4+=_0x3686ae[_0x612747(0x1bc)](_0x2c2359);}),_0x453fa4;}[_0x2d61bb(0x17e)](_0x459b9f,_0x1aec5f){const _0x4fa602=_0x2d61bb,_0x1fc95e=this[_0x4fa602(0x178)][_0x4fa602(0x192)][_0x4fa602(0x1af)](_0x4fa602(0x1c2)),_0x21a07d=_0x1fc95e[_0x4fa602(0x18f)](_0x459b9f),_0x576fc6=_0x1fc95e[_0x4fa602(0x1bb)](_0x459b9f),_0x1eed2a=_0x21a07d[_0x4fa602(0x1bf)]+0x1,_0x5ea076=_0x576fc6[_0x4fa602(0x1d0)],_0x2b1a8c=_0x459b9f[0x0][_0x4fa602(0x1c6)](_0x4fa602(0x1c3));for(let _0x13a0e7=0x0;_0x13a0e7<_0x1aec5f;_0x13a0e7++)_0x1fc95e[_0x4fa602(0x1aa)](_0x2b1a8c,{'at':_0x1eed2a});return _0x2b1a8c[_0x4fa602(0x175)](_0x1eed2a)[_0x4fa602(0x175)](_0x5ea076);}[_0x2d61bb(0x177)](_0x25478f,_0x49c095){const _0x5e479c=_0x2d61bb,{plugins:_0x5381a8}=this[_0x5e479c(0x178)],{model:_0xf9cb9b}=_0x25478f;if(!_0x5381a8[_0x5e479c(0x1df)](_0x5e479c(0x1c2)))return;_0x5381a8[_0x5e479c(0x1af)](_0x5e479c(0x1c2))[_0x5e479c(0x199)](_0x49c095)[_0x5e479c(0x18d)]&&_0xf9cb9b[_0x5e479c(0x1b1)](_0x49c095);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1410ad=_0x26e5;(function(_0x239b76,_0x2bb30d){const _0x5e981f=_0x26e5,_0x1a376a=_0x239b76();while(!![]){try{const _0x3a9917=-parseInt(_0x5e981f(0x28d))/0x1*(parseInt(_0x5e981f(0x25a))/0x2)+parseInt(_0x5e981f(0x27b))/0x3+-parseInt(_0x5e981f(0x23f))/0x4+-parseInt(_0x5e981f(0x1fd))/0x5+parseInt(_0x5e981f(0x270))/0x6*(-parseInt(_0x5e981f(0x285))/0x7)+-parseInt(_0x5e981f(0x234))/0x8*(-parseInt(_0x5e981f(0x204))/0x9)+parseInt(_0x5e981f(0x288))/0xa;if(_0x3a9917===_0x2bb30d)break;else _0x1a376a['push'](_0x1a376a['shift']());}catch(_0x29ece9){_0x1a376a['push'](_0x1a376a['shift']());}}}(_0x48ea,0x994d7));import{Plugin as _0x2fdfbd}from'ckeditor5/src/core.js';import{IconMagicWand as _0x5070d7,IconRobotPencil as _0x11bc04}from'ckeditor5/src/icons.js';import{first as _0xcd9a10,CKEditorError as _0x386f7a}from'ckeditor5/src/utils.js';import{createDropdown as _0x5e6164,addMenuToDropdown as _0x217149,ButtonView as _0x16c685,MenuBarMenuListItemButtonView as _0x48b1c7,Dialog as _0x8bd06,DialogViewPosition as _0x15763d,MenuBarMenuView as _0x3c7517,MenuBarMenuListView as _0x5432fa,MenuBarMenuListItemView as _0x223ec7}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x492d22,UNGROUPED_COMMANDS_GROUP_ID as _0x5bee64}from'./utils/normalizecommandsconfig.js';import _0x166515 from'./aiassistantediting.js';import _0x1926c4 from'./adapters/aiadapter.js';import{getTranslation as _0x423f52}from'./utils/common-translations.js';import _0x229eae from'./ui/showaiassistantcommand.js';import _0x5a9ab7 from'./ui/aiassistantcontroller.js';import _0x55d732 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x1e7066}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';function _0x48ea(){const _0x35f65f=['AI\x20is\x20writing','Generated\x20content:\x20%0','plugins','getSelectedElement','focus','delegate','setSelection','render','isOn','promptView','define','ai-commands-config-order-collision','ai.useTheme','_initAriaAiStatusChangeAnnouncements','menuBar:aiCommands','fire','aiLicenseKeyNotAllowed','items','featureNotAllowed','locale','textAdapter','text/html','command:','getLimitElement','REPLACE','3331800PyvWWx','componentFactory','enabledCommandsIds','buttons','init','usageLimit','change:enabledCommandsIds','117hlAhLk','queryView','buttonView','update','groupId','aiLicenseKeyTrialLimit','editor','</p>','evaluationLimit','copy','hide','isPremiumPlugin','from','_aiAssistantController','text','_uiCssClasses','rawHtml','isCollapsed','add','change:isError','getSelectedBlocks','aiLicenseKeyValid','filter','commands','polite','insertContent','change:value','show','\x20ck-ai-assistant-ui_theme','splice','ck-ai-commands-dropdown\x20','showFakeVisualSelection','listenTo','_dialog','AIAssistant','showUI','isFlat','selection','ai.aiAssistant.contentAreaCssClass','getData','licenseKey','body','media','EDITOR_TOP_SIDE','length','<p>','errorView','AIAssistantUI','101272yTfdYQ','_getMenuBarGroupButtons','aiAssistant','INSERT','change:isProcessing','_forceMarkersCopy','aiLicenseKeyDomainLimit','_getResolvedCommandsDefinitions','comment','get','AI\x20Commands','1563624lkKhgx','trialLimit','menuitemcheckbox','includes','_createAIAssistantUIButton','reset','requires','_formView','_licenseKeyCheckInterval','showAIAssistant','view','replace','label','destroy','sort','insertContentBelow','expired','bind','contentArea','getRanges','updateView','_showLicenseError','model','document','trim','isEnabled','AI\x20Assistant','130qLgZCC','ck-ai-assistant-ui','schema','fieldView','_commandDefinitions','aiLicenseKeyUsageLimit','menuPanelClass','aiCommands','addMany','Error\x20during\x20AI\x20content\x20generation:\x20%0','tableOfContents','push','invalid','panelView','pluginName','replaceContent','menuBar:aiAssistant','ai.aiAssistant.commands','aiLicenseKeyExpired','hideFakeVisualSelection','DataTransfer','once','1326rEaeKU','_aiAdapter','order','values','prompt','set','change','map','forEach','children','announce','1549419ujWXgk','source','requiresContent','_onExecute','aiLicenseKeyInvalid','updatePosition','isOfficialPlugin','domainLimit','execute','_populateMenuBarMenu','2191THfRoM','menuView','currentContext','19644110nNEmsh','hideUI','ck-ai-assistant-button\x20','aiLicenseKeyEvaluationLimit','config','13709sjzNVx','editing','ai.aiAssistant.disabledElements','custom','wasMoved','groupLabel','_initView'];_0x48ea=function(){return _0x35f65f;};return _0x48ea();}import'../theme/ai-form.css';const w=globalThis[_0x1410ad(0x26e)];import{ClipboardMarkersUtils as _0x2886ee}from'ckeditor5/src/clipboard.js';function _0x26e5(_0x5443fb,_0x587d04){const _0x48ea58=_0x48ea();return _0x26e5=function(_0x26e56d,_0x1793da){_0x26e56d=_0x26e56d-0x1f2;let _0x5bc204=_0x48ea58[_0x26e56d];return _0x5bc204;},_0x26e5(_0x5443fb,_0x587d04);}import{DomEventData as _0x568492,DataTransfer as _0x2fbba8}from'ckeditor5/src/engine.js';export default class n extends _0x2fdfbd{[_0x1410ad(0x22c)];[_0x1410ad(0x247)];[_0x1410ad(0x225)];[_0x1410ad(0x246)];[_0x1410ad(0x271)];[_0x1410ad(0x211)];[_0x1410ad(0x213)]='';static get[_0x1410ad(0x268)](){const _0x32f505=_0x1410ad;return _0x32f505(0x233);}static get[_0x1410ad(0x281)](){return!0x0;}static get[_0x1410ad(0x20f)](){return!0x0;}static get[_0x1410ad(0x245)](){return[_0x2886ee,_0x166515,_0x1926c4,_0x8bd06];}constructor(_0x4fa0a8){const _0x1a3679=_0x1410ad;super(_0x4fa0a8),_0x4fa0a8[_0x1a3679(0x28c)][_0x1a3679(0x29e)](_0x1a3679(0x28f),[_0x1a3679(0x22e),_0x1a3679(0x214),_0x1a3679(0x264)]),_0x4fa0a8[_0x1a3679(0x28c)][_0x1a3679(0x29e)](_0x1a3679(0x22a),''),_0x4fa0a8[_0x1a3679(0x28c)][_0x1a3679(0x29e)](_0x1a3679(0x2a0),!0x0),this[_0x1a3679(0x213)]=_0x1a3679(0x25b)+(_0x4fa0a8[_0x1a3679(0x28c)][_0x1a3679(0x23d)](_0x1a3679(0x2a0))?_0x1a3679(0x220):'');}[_0x1410ad(0x201)](){const _0x1c916e=_0x1410ad,{editor:_0x50bf23}=this;this[_0x1c916e(0x271)]=_0x50bf23[_0x1c916e(0x296)][_0x1c916e(0x23d)](_0x1926c4),this[_0x1c916e(0x225)]=_0x50bf23[_0x1c916e(0x296)][_0x1c916e(0x23d)](_0x8bd06),this[_0x1c916e(0x246)]=null,this[_0x1c916e(0x25e)]=this[_0x1c916e(0x23b)]();const _0x757b76=new _0x229eae(_0x50bf23,Array[_0x1c916e(0x210)](this[_0x1c916e(0x25e)][_0x1c916e(0x273)]()));_0x50bf23[_0x1c916e(0x21b)][_0x1c916e(0x216)](_0x1c916e(0x248),_0x757b76),_0x50bf23['ui'][_0x1c916e(0x1fe)][_0x1c916e(0x216)](_0x1c916e(0x261),_0x40bb94=>{const _0x3de14d=_0x1c916e,_0xf294ea=_0x5e6164(_0x40bb94);return _0xf294ea[_0x3de14d(0x275)]({'class':_0x3de14d(0x222)+this[_0x3de14d(0x213)]}),_0xf294ea[_0x3de14d(0x206)][_0x3de14d(0x275)]({'label':_0x423f52(_0x40bb94,_0x3de14d(0x23e)),'icon':_0x5070d7,'tooltip':!0x0}),_0xf294ea['on'](_0x3de14d(0x283),_0x1caf8c=>this[_0x3de14d(0x27e)](_0x1caf8c[_0x3de14d(0x27c)]['id'])),_0x217149(_0xf294ea,_0x50bf23['ui'][_0x3de14d(0x249)][_0x3de14d(0x22d)],function(_0x4e3fea){const _0x299ad6=_0x3de14d,_0x5d879e=_0x492d22(_0x4e3fea[_0x299ad6(0x28c)][_0x299ad6(0x23d)](_0x299ad6(0x26b)),_0x4e3fea[_0x299ad6(0x1f7)]),_0xae280a=U(_0x4e3fea,_0x5d879e)[_0x299ad6(0x21a)](_0xf765ca=>_0xf765ca[_0x299ad6(0x21b)][_0x299ad6(0x230)]);if(0x1===_0xae280a[_0x299ad6(0x230)])return U(_0x4e3fea,_0xae280a[0x0][_0x299ad6(0x21b)])[_0x299ad6(0x277)](_0x4a8116=>({'id':_0x4a8116['id'],'label':_0x4a8116[_0x299ad6(0x24b)]}));return _0xae280a[_0x299ad6(0x277)](_0x443e88=>{const _0x2d80f9=_0x299ad6,{groupId:_0x5c1622,groupLabel:_0x4458f9,commands:_0x3f26ae}=_0x443e88,_0x2fb1ea=U(_0x4e3fea,_0x3f26ae)[_0x2d80f9(0x277)](_0x3a89a4=>({'id':_0x3a89a4['id'],'label':_0x3a89a4[_0x2d80f9(0x24b)]}));return{'id':_0x5c1622,'menu':_0x4458f9||_0x5c1622,'children':_0x2fb1ea};});}(_0x50bf23),{'ariaLabel':_0x423f52(_0x40bb94,_0x3de14d(0x23e))}),_0xf294ea[_0x3de14d(0x286)][_0x3de14d(0x260)]=_0x3de14d(0x222)+this[_0x3de14d(0x213)],_0x757b76['on'](_0x3de14d(0x203),_0x10678a),_0xf294ea[_0x3de14d(0x286)][_0x3de14d(0x26f)](_0x3de14d(0x29b),_0x10678a),_0xf294ea;function _0x10678a(){const _0x3c6aa8=_0x3de14d;_0xf294ea[_0x3c6aa8(0x258)]=_0x757b76[_0x3c6aa8(0x1ff)][_0x3c6aa8(0x230)]>0x0;for(const _0x99c254 of _0xf294ea[_0x3c6aa8(0x286)][_0x3c6aa8(0x200)])_0x99c254[_0x3c6aa8(0x258)]=_0x757b76[_0x3c6aa8(0x1ff)][_0x3c6aa8(0x242)](_0x99c254['id']);}}),_0x50bf23['ui'][_0x1c916e(0x1fe)][_0x1c916e(0x216)](_0x1c916e(0x1f2),_0xc89bb0=>{const _0x343ca7=_0x1c916e,_0x1ec050=new _0x3c7517(_0xc89bb0);_0x1ec050[_0x343ca7(0x206)][_0x343ca7(0x275)]({'label':_0x423f52(_0xc89bb0,_0x343ca7(0x23e)),'icon':_0x5070d7}),_0x1ec050[_0x343ca7(0x250)](_0x343ca7(0x258))['to'](_0x757b76,_0x343ca7(0x1ff),_0x3741b0=>_0x3741b0[_0x343ca7(0x230)]>0x0);const _0x265e42=_0x492d22(_0x50bf23[_0x343ca7(0x28c)][_0x343ca7(0x23d)](_0x343ca7(0x26b)),_0xc89bb0);return this[_0x343ca7(0x284)](_0x757b76,_0x1ec050,_0x265e42,_0x5f3e7b=>this[_0x343ca7(0x27e)](_0x5f3e7b)),_0x1ec050;}),_0x50bf23['ui'][_0x1c916e(0x1fe)][_0x1c916e(0x216)](_0x1c916e(0x236),()=>{const _0x30dbf8=_0x1c916e,_0x5397dc=this[_0x30dbf8(0x243)](_0x16c685);return _0x5397dc[_0x30dbf8(0x275)]({'tooltip':!0x0,'class':_0x30dbf8(0x28a)+this[_0x30dbf8(0x213)]}),_0x5397dc;}),_0x50bf23['ui'][_0x1c916e(0x1fe)][_0x1c916e(0x216)](_0x1c916e(0x26a),()=>{const _0x184afd=_0x1c916e,_0xe29ece=this[_0x184afd(0x243)](_0x48b1c7);return _0xe29ece[_0x184afd(0x275)]({'role':_0x184afd(0x241)}),_0xe29ece;}),this[_0x1c916e(0x22c)]=this[_0x1c916e(0x20a)][_0x1c916e(0x28c)][_0x1c916e(0x23d)](_0x1c916e(0x22c));const _0x1a27ce=this[_0x1c916e(0x20a)];this[_0x1c916e(0x247)]=setInterval(()=>{const _0x53cc20=_0x1c916e;let _0x3e05a5;for(const _0x27fa19 in _0x1a27ce){const _0x428cf6=_0x27fa19,_0x3b8932=_0x1a27ce[_0x428cf6];if(_0x53cc20(0x219)==_0x3b8932||_0x53cc20(0x27f)==_0x3b8932||_0x53cc20(0x26c)==_0x3b8932||_0x53cc20(0x23a)==_0x3b8932||_0x53cc20(0x1f4)==_0x3b8932||_0x53cc20(0x28b)==_0x3b8932||_0x53cc20(0x209)==_0x3b8932||_0x53cc20(0x25f)==_0x3b8932){delete _0x1a27ce[_0x428cf6],_0x3e05a5=_0x3b8932,clearInterval(this[_0x53cc20(0x247)]),this[_0x53cc20(0x247)]=void 0x0;break;}}_0x53cc20(0x27f)==_0x3e05a5&&_0x1a27ce[_0x53cc20(0x254)](_0x53cc20(0x266)),_0x53cc20(0x26c)==_0x3e05a5&&_0x1a27ce[_0x53cc20(0x254)](_0x53cc20(0x24f)),_0x53cc20(0x23a)==_0x3e05a5&&_0x1a27ce[_0x53cc20(0x254)](_0x53cc20(0x282)),_0x53cc20(0x1f4)==_0x3e05a5&&_0x1a27ce[_0x53cc20(0x254)](_0x53cc20(0x1f6),_0x53cc20(0x226)),_0x53cc20(0x28b)==_0x3e05a5&&_0x1a27ce[_0x53cc20(0x254)](_0x53cc20(0x20c)),_0x53cc20(0x209)==_0x3e05a5&&_0x1a27ce[_0x53cc20(0x254)](_0x53cc20(0x240)),_0x53cc20(0x25f)==_0x3e05a5&&_0x1a27ce[_0x53cc20(0x254)](_0x53cc20(0x202));},0x3e8);}[_0x1410ad(0x24c)](){const _0x2468f0=_0x1410ad;super[_0x2468f0(0x24c)](),this[_0x2468f0(0x247)]&&clearInterval(this[_0x2468f0(0x247)]);}[_0x1410ad(0x227)](_0x4a1b8e='',_0x56e889='',_0x23b443=_0x1410ad(0x290)){const _0x3d9c49=_0x1410ad,_0x12ce75=this[_0x3d9c49(0x20a)],_0x3c59cd=_0x12ce75[_0x3d9c49(0x28e)][_0x3d9c49(0x249)],_0x37674f=_0x12ce75[_0x3d9c49(0x296)][_0x3d9c49(0x23d)](_0x166515),_0x4369fa=_0x12ce75[_0x3d9c49(0x296)][_0x3d9c49(0x23d)](_0x2886ee);_0x37674f[_0x3d9c49(0x223)]();const _0x5263a6=new w(),_0x20c8da=new ClipboardEvent(_0x3d9c49(0x20d),{'clipboardData':_0x5263a6}),_0x15c30b=new _0x2fbba8(_0x5263a6),_0x21b564=new _0x568492(_0x3c59cd,_0x20c8da,{'dataTransfer':_0x15c30b});_0x4369fa[_0x3d9c49(0x239)](_0x3d9c49(0x23c),()=>{const _0x410310=_0x3d9c49;_0x3c59cd[_0x410310(0x256)][_0x410310(0x1f3)](_0x410310(0x20d),_0x21b564);}),this[_0x3d9c49(0x246)]||(this[_0x3d9c49(0x293)](),this[_0x3d9c49(0x211)]=new _0x5a9ab7(_0x12ce75,this[_0x3d9c49(0x271)][_0x3d9c49(0x1f8)],this[_0x3d9c49(0x246)]));let _0x5e8492=_0x15c30b[_0x3d9c49(0x22b)](_0x3d9c49(0x1f9));const _0x21a42f=_0x12ce75[_0x3d9c49(0x255)][_0x3d9c49(0x256)][_0x3d9c49(0x229)],_0x27438a=Array[_0x3d9c49(0x210)](_0x21a42f[_0x3d9c49(0x252)]());0x1===_0x27438a[_0x3d9c49(0x230)]&&_0x27438a[0x0][_0x3d9c49(0x228)]&&!_0x21a42f[_0x3d9c49(0x297)]()&&''!==_0x5e8492[_0x3d9c49(0x24a)](/ /g,'')[_0x3d9c49(0x257)]()&&(_0x5e8492=_0x3d9c49(0x231)+_0x5e8492+_0x3d9c49(0x20b)),this[_0x3d9c49(0x211)][_0x3d9c49(0x253)]({'actionId':_0x23b443,'query':_0x4a1b8e,'htmlContent':_0x5e8492,'label':_0x56e889,'mainActionLabel':_0x1e7066[_0x12ce75[_0x3d9c49(0x255)][_0x3d9c49(0x256)][_0x3d9c49(0x229)][_0x3d9c49(0x215)]?_0x3d9c49(0x237):_0x3d9c49(0x1fc)]}),_0x3d9c49(0x236)!==this[_0x3d9c49(0x225)]['id']?this[_0x3d9c49(0x225)][_0x3d9c49(0x21f)]({'id':_0x3d9c49(0x236),'icon':_0x11bc04,'title':_0x423f52(this[_0x3d9c49(0x20a)][_0x3d9c49(0x1f7)],_0x3d9c49(0x259)),'content':this[_0x3d9c49(0x246)],'position':_0x15763d[_0x3d9c49(0x22f)],'onShow':()=>{const _0x5e7541=_0x3d9c49;this[_0x5e7541(0x246)][_0x5e7541(0x298)]();},'onHide':()=>{const _0x430093=_0x3d9c49;this[_0x430093(0x211)][_0x430093(0x244)](),_0x37674f[_0x430093(0x26d)]();}}):this[_0x3d9c49(0x225)][_0x3d9c49(0x249)][_0x3d9c49(0x291)]||this[_0x3d9c49(0x225)][_0x3d9c49(0x249)][_0x3d9c49(0x280)]();}[_0x1410ad(0x289)](){const _0x54e7fd=_0x1410ad;this[_0x54e7fd(0x225)][_0x54e7fd(0x20e)]();}[_0x1410ad(0x23b)](){const _0x25af3d=_0x1410ad,_0x1226da=new Map(),_0x4a34ec=_0x492d22(this[_0x25af3d(0x20a)][_0x25af3d(0x28c)][_0x25af3d(0x23d)](_0x25af3d(0x26b)),this[_0x25af3d(0x20a)][_0x25af3d(0x1f7)]);for(const _0x119592 of _0x4a34ec)for(const _0x386b76 of _0x119592[_0x25af3d(0x21b)])_0x1226da[_0x25af3d(0x275)](_0x386b76['id'],{..._0x386b76,'groupId':_0x119592[_0x25af3d(0x208)],'groupLabel':_0x119592[_0x25af3d(0x292)]||_0x119592[_0x25af3d(0x208)]});return _0x1226da;}[_0x1410ad(0x243)](_0x2f7b5b){const _0x1100aa=_0x1410ad,_0x48827e=this[_0x1100aa(0x20a)],_0x14e649=_0x48827e[_0x1100aa(0x21b)][_0x1100aa(0x23d)](_0x1100aa(0x248)),_0x41afb3=new _0x2f7b5b(_0x48827e[_0x1100aa(0x1f7)]);return _0x41afb3[_0x1100aa(0x275)]({'label':_0x423f52(_0x48827e[_0x1100aa(0x1f7)],_0x1100aa(0x259)),'icon':_0x11bc04,'isToggleable':!0x0}),_0x41afb3[_0x1100aa(0x250)](_0x1100aa(0x258))['to'](_0x14e649),_0x41afb3[_0x1100aa(0x250)](_0x1100aa(0x29c))['to'](this[_0x1100aa(0x225)],'id',_0x377c43=>_0x1100aa(0x236)===_0x377c43),this[_0x1100aa(0x224)](_0x41afb3,_0x1100aa(0x283),()=>{const _0x273d02=_0x1100aa;_0x41afb3[_0x273d02(0x29c)]?this[_0x273d02(0x289)]():_0x14e649[_0x273d02(0x283)]();}),_0x41afb3;}[_0x1410ad(0x293)](){const _0x4981c0=_0x1410ad,_0x3c93d5=this[_0x4981c0(0x20a)][_0x4981c0(0x296)][_0x4981c0(0x23d)](_0x166515);this[_0x4981c0(0x246)]=new _0x55d732(this[_0x4981c0(0x20a)][_0x4981c0(0x1f7)],this[_0x4981c0(0x213)],this[_0x4981c0(0x20a)][_0x4981c0(0x28c)][_0x4981c0(0x23d)](_0x4981c0(0x22a))),this[_0x4981c0(0x246)]['on'](_0x4981c0(0x21e),()=>{const _0x3082a5=_0x4981c0;this[_0x3082a5(0x225)][_0x3082a5(0x249)][_0x3082a5(0x291)]||this[_0x3082a5(0x225)][_0x3082a5(0x249)][_0x3082a5(0x280)]();}),this[_0x4981c0(0x246)][_0x4981c0(0x29d)][_0x4981c0(0x205)][_0x4981c0(0x25d)]['on'](_0x4981c0(0x207),()=>{const _0x4646d2=_0x4981c0;this[_0x4646d2(0x225)][_0x4646d2(0x249)][_0x4646d2(0x291)]||this[_0x4646d2(0x225)][_0x4646d2(0x249)][_0x4646d2(0x280)]();}),this[_0x4981c0(0x224)](this[_0x4981c0(0x246)],_0x4981c0(0x269),()=>{const _0x270b43=_0x4981c0;_0x3c93d5[_0x270b43(0x21d)](this[_0x270b43(0x211)][_0x270b43(0x287)]),this[_0x270b43(0x289)]();}),this[_0x4981c0(0x224)](this[_0x4981c0(0x246)],_0x4981c0(0x24e),()=>{const _0x5bf684=_0x4981c0;_0x3c93d5[_0x5bf684(0x24e)](this[_0x5bf684(0x211)][_0x5bf684(0x287)]),this[_0x5bf684(0x289)]();}),this[_0x4981c0(0x2a1)]();}[_0x1410ad(0x2a1)](){const _0x2227bb=_0x1410ad,{locale:_0x4400d4,ui:{ariaLiveAnnouncer:_0x5af85e}}=this[_0x2227bb(0x20a)];this[_0x2227bb(0x246)][_0x2227bb(0x251)]['on'](_0x2227bb(0x238),(_0x33dbd4,_0x293c3f,_0x5d6434)=>{const _0x24f9b0=_0x2227bb,_0x5b851e=this[_0x24f9b0(0x211)][_0x24f9b0(0x287)];_0x5d6434?_0x5af85e[_0x24f9b0(0x27a)](_0x423f52(_0x4400d4,_0x24f9b0(0x294))):_0x5b851e&&_0x5af85e[_0x24f9b0(0x27a)](_0x423f52(_0x4400d4,_0x24f9b0(0x295),_0x5b851e),{'politeness':_0x24f9b0(0x21c),'isUnsafeHTML':!0x0});}),this[_0x2227bb(0x246)]['on'](_0x2227bb(0x217),(_0x1d8d94,_0x4603dc,_0x1939db)=>{const _0x441b08=_0x2227bb;if(_0x1939db){const _0xb455b4=this[_0x441b08(0x246)][_0x441b08(0x232)][_0x441b08(0x212)];_0x5af85e[_0x441b08(0x27a)](_0x423f52(_0x4400d4,_0x441b08(0x263),_0xb455b4));}});}[_0x1410ad(0x27e)](_0x35f027){const _0x1eee6d=_0x1410ad,_0x1fa448=this[_0x1eee6d(0x25e)][_0x1eee6d(0x23d)](_0x35f027),_0xd7df49=this[_0x1eee6d(0x20a)],_0x3881a7=_0xd7df49[_0x1eee6d(0x255)][_0x1eee6d(0x256)][_0x1eee6d(0x229)],_0x648d5c=_0xd7df49[_0x1eee6d(0x21b)][_0x1eee6d(0x23d)](_0x1eee6d(0x248)),_0x4c8cc7=_0xd7df49[_0x1eee6d(0x296)][_0x1eee6d(0x23d)](_0x166515),_0x100738=''+(_0x1fa448[_0x1eee6d(0x208)]!==_0x5bee64?_0x1fa448[_0x1eee6d(0x292)]+':\x20':'')+_0x1fa448[_0x1eee6d(0x24b)];if(!0x1!==_0x1fa448[_0x1eee6d(0x27d)]&&_0x3881a7[_0x1eee6d(0x215)]){const _0x2d1269=_0xcd9a10(_0x3881a7[_0x1eee6d(0x218)]())||_0xd7df49[_0x1eee6d(0x255)][_0x1eee6d(0x25c)][_0x1eee6d(0x1fb)](_0x3881a7);_0xd7df49[_0x1eee6d(0x255)][_0x1eee6d(0x276)](_0x892d0b=>{const _0x4f82e9=_0x1eee6d;_0x892d0b[_0x4f82e9(0x29a)](_0x2d1269,'in');});}_0x4c8cc7[_0x1eee6d(0x223)](),_0x648d5c[_0x1eee6d(0x283)](_0x1fa448[_0x1eee6d(0x274)],_0x100738,_0x1eee6d(0x1fa)+_0x35f027);}[_0x1410ad(0x284)](_0x4ed826,_0x196021,_0x41802a,_0x42ac66){const _0x238714=_0x1410ad,_0xb980c6=this[_0x238714(0x20a)],_0x470702=_0xb980c6[_0x238714(0x1f7)],_0x199413=new _0x5432fa(_0x470702),_0x591d24=U(_0xb980c6,_0x41802a)[_0x238714(0x21a)](_0x51f3b1=>_0x51f3b1[_0x238714(0x21b)][_0x238714(0x230)]);0x1===_0x591d24[_0x238714(0x230)]?this[_0x238714(0x235)]({'command':_0x4ed826,'commands':_0x591d24[0x0][_0x238714(0x21b)],'parentMenuView':_0x196021,'onExecute':_0x42ac66})[_0x238714(0x278)](_0xcdc5a4=>_0x199413[_0x238714(0x1f5)][_0x238714(0x216)](_0xcdc5a4)):_0x591d24[_0x238714(0x278)](({groupId:_0x8c0b82,groupLabel:_0x31b2bc,commands:_0x3e54f9})=>{const _0xb72c8e=_0x238714,_0x4b08bb=new _0x223ec7(_0x470702,_0x196021),_0x5c12b0=new _0x3c7517(_0x470702),_0x3b53c5=new _0x5432fa(_0x470702),_0x158176=this[_0xb72c8e(0x235)]({'command':_0x4ed826,'commands':_0x3e54f9,'parentMenuView':_0x5c12b0,'onExecute':_0x42ac66});_0x5c12b0[_0xb72c8e(0x206)][_0xb72c8e(0x275)]({'label':_0x31b2bc||_0x8c0b82}),_0x5c12b0[_0xb72c8e(0x299)](_0xb72c8e(0x283))['to'](_0x196021),_0x3b53c5[_0xb72c8e(0x1f5)][_0xb72c8e(0x262)](_0x158176),_0x5c12b0[_0xb72c8e(0x267)][_0xb72c8e(0x279)][_0xb72c8e(0x216)](_0x3b53c5),_0x4b08bb[_0xb72c8e(0x279)][_0xb72c8e(0x216)](_0x5c12b0),_0x199413[_0xb72c8e(0x1f5)][_0xb72c8e(0x216)](_0x4b08bb);}),_0x196021[_0x238714(0x267)][_0x238714(0x279)][_0x238714(0x216)](_0x199413);}[_0x1410ad(0x235)]({command:_0x4550a5,commands:_0x4b3b6c,parentMenuView:_0x39bcf5,onExecute:_0x571f71}){const _0x3ebbb9=_0x1410ad,_0x56cd37=this[_0x3ebbb9(0x20a)],_0x2da183=_0x56cd37[_0x3ebbb9(0x1f7)];return U(_0x56cd37,_0x4b3b6c)[_0x3ebbb9(0x277)](_0x3ba03e=>{const _0x5d9a4e=_0x3ebbb9,_0x1d2745=new _0x223ec7(_0x2da183,_0x39bcf5),_0x37969f=new _0x48b1c7(_0x2da183);return _0x37969f[_0x5d9a4e(0x275)]({'label':_0x3ba03e[_0x5d9a4e(0x24b)]}),_0x37969f[_0x5d9a4e(0x299)](_0x5d9a4e(0x283))['to'](_0x39bcf5),_0x37969f['on'](_0x5d9a4e(0x283),()=>_0x571f71(_0x3ba03e['id'])),_0x37969f[_0x5d9a4e(0x250)](_0x5d9a4e(0x258))['to'](_0x4550a5,_0x5d9a4e(0x1ff),_0x193abb=>_0x193abb[_0x5d9a4e(0x242)](_0x3ba03e['id'])),_0x1d2745[_0x5d9a4e(0x279)][_0x5d9a4e(0x216)](_0x37969f),_0x1d2745;});}}function B(_0x58ffa,_0x249bf7){const _0x808073=_0x1410ad;return void 0x0!==_0x58ffa[_0x808073(0x272)]&&void 0x0===_0x249bf7[_0x808073(0x272)]?0x1:void 0x0===_0x58ffa[_0x808073(0x272)]&&void 0x0!==_0x249bf7[_0x808073(0x272)]?-0x1:void 0x0!==_0x58ffa[_0x808073(0x272)]&&void 0x0!==_0x249bf7[_0x808073(0x272)]?_0x58ffa[_0x808073(0x272)]-_0x249bf7[_0x808073(0x272)]:0x0;}function U(_0x1ef166,_0x23eca1){const _0x20aa2d=_0x1410ad;_0x23eca1[_0x20aa2d(0x24d)](B);const _0x315cbe={},_0xbe6095=[];for(const _0x21226b of _0x23eca1)if(void 0x0!==_0x21226b[_0x20aa2d(0x272)]){if(_0x21226b[_0x20aa2d(0x272)]in _0x315cbe)throw new _0x386f7a(_0x20aa2d(0x29f),_0x1ef166,{'conflictingDefinitions':[_0x21226b,_0x315cbe[_0x21226b[_0x20aa2d(0x272)]]]});_0x315cbe[_0x21226b[_0x20aa2d(0x272)]]=_0x21226b,_0xbe6095[_0x20aa2d(0x221)](_0x21226b[_0x20aa2d(0x272)],0x0,_0x21226b);}else _0xbe6095[_0x20aa2d(0x265)](_0x21226b);return _0xbe6095;}
|
|
23
|
+
const _0x59d73b=_0x2f15;(function(_0x3eaefa,_0x55039c){const _0x36948c=_0x2f15,_0x115f61=_0x3eaefa();while(!![]){try{const _0x3f3ed3=-parseInt(_0x36948c(0x1a4))/0x1*(-parseInt(_0x36948c(0x1cc))/0x2)+parseInt(_0x36948c(0x1cd))/0x3+-parseInt(_0x36948c(0x13f))/0x4*(parseInt(_0x36948c(0x18c))/0x5)+parseInt(_0x36948c(0x17f))/0x6*(parseInt(_0x36948c(0x144))/0x7)+parseInt(_0x36948c(0x15b))/0x8+parseInt(_0x36948c(0x185))/0x9*(parseInt(_0x36948c(0x179))/0xa)+-parseInt(_0x36948c(0x1d1))/0xb*(parseInt(_0x36948c(0x128))/0xc);if(_0x3f3ed3===_0x55039c)break;else _0x115f61['push'](_0x115f61['shift']());}catch(_0x4468da){_0x115f61['push'](_0x115f61['shift']());}}}(_0x5413,0x44a36));import{Plugin as _0x4b7356}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4382f6,IconRobotPencil as _0x3dcb63}from'ckeditor5/src/icons.js';import{first as _0x1395cb,CKEditorError as _0x57b6b9}from'ckeditor5/src/utils.js';import{createDropdown as _0x21227a,addMenuToDropdown as _0x5c5f31,ButtonView as _0x281217,MenuBarMenuListItemButtonView as _0x506a5d,Dialog as _0x30c94c,DialogViewPosition as _0x393b2c,MenuBarMenuView as _0x5b534a,MenuBarMenuListView as _0x12613f,MenuBarMenuListItemView as _0x2674c7}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4ca452,UNGROUPED_COMMANDS_GROUP_ID as _0x6a9389}from'./utils/normalizecommandsconfig.js';function _0x2f15(_0x2c064b,_0xfb50ec){const _0x541310=_0x5413();return _0x2f15=function(_0x2f15b2,_0x2493dc){_0x2f15b2=_0x2f15b2-0x128;let _0x144675=_0x541310[_0x2f15b2];return _0x144675;},_0x2f15(_0x2c064b,_0xfb50ec);}import _0x29a817 from'./aiassistantediting.js';import _0x26f2ae from'./adapters/aiadapter.js';function _0x5413(){const _0x9a1ea1=['isPremiumPlugin','add','forEach','body','_uiCssClasses','locale','show','rawHtml','wasMoved','4879630sHNdqu','AI\x20Commands','isOfficialPlugin','isOn','bind','splice','1058166jLxOkL','textAdapter','insertContentBelow','prompt','change:isError','ck-ai-commands-dropdown\x20','9cEjunA','copy','_aiAssistantController','from','AI\x20Assistant','isFlat','usageLimit','14915JZhJdg','updateView','fire','fieldView','_populateMenuBarMenu','children','_forceMarkersCopy','hideUI','requires','promptView','addMany','includes','contentArea','AIAssistantUI','REPLACE','media','updatePosition','menuitemcheckbox','render','focus','_dialog','errorView','schema','editor','163VEvQRP','define','_getResolvedCommandsDefinitions','currentContext','\x20ck-ai-assistant-ui_theme','INSERT','insertContent','label','menuView','getRanges','source','isEnabled','componentFactory','invalid','change:isProcessing','ai.aiAssistant.contentAreaCssClass','<p>','trialLimit','ck-ai-assistant-ui','EDITOR_TOP_SIDE','ai.useTheme','_commandDefinitions','aiLicenseKeyExpired','queryView','hide','tableOfContents','Error\x20during\x20AI\x20content\x20generation:\x20%0','view','_formView','aiLicenseKeyDomainLimit','groupLabel','buttonView','showFakeVisualSelection','AIAssistant','document','enabledCommandsIds','execute','requiresContent','DataTransfer','announce','2860YURueq','574851AnLPrT','update','evaluationLimit','change:enabledCommandsIds','11tELRnb','aiLicenseKeyValid','get','ck-ai-assistant-button\x20','groupId','text','command:','menuBar:aiAssistant','push','18733740XeXpWs','</p>','delegate','order','set','model','trim','editing','setSelection','aiLicenseKeyTrialLimit','map','_licenseKeyCheckInterval','hideFakeVisualSelection','showAIAssistant','comment','aiLicenseKeyNotAllowed','getData','plugins','buttons','items','featureNotAllowed','destroy','ai.aiAssistant.disabledElements','8jiDuvJ','change','licenseKey','replace','replaceContent','21lZMgmd','custom','_getMenuBarGroupButtons','polite','commands','expired','getSelectedElement','AI\x20is\x20writing','listenTo','_initView','getSelectedBlocks','showUI','panelView','_initAriaAiStatusChangeAnnouncements','selection','_createAIAssistantUIButton','aiCommands','_aiAdapter','aiLicenseKeyUsageLimit','aiAssistant','filter','getLimitElement','_showLicenseError','3252000ygroAD','sort','change:value','length','menuPanelClass','pluginName','ai-commands-config-order-collision','init','_onExecute','aiLicenseKeyEvaluationLimit','isCollapsed','aiLicenseKeyInvalid','text/html','once','menuBar:aiCommands','Generated\x20content:\x20%0','domainLimit','config','ai.aiAssistant.commands','reset','values'];_0x5413=function(){return _0x9a1ea1;};return _0x5413();}import{getTranslation as _0x2815df}from'./utils/common-translations.js';import _0x368142 from'./ui/showaiassistantcommand.js';import _0x41c442 from'./ui/aiassistantcontroller.js';import _0x877d66 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x295167}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x59d73b(0x1ca)];import{ClipboardMarkersUtils as _0x6b133f}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x437b5d,DataTransfer as _0x7eb269}from'ckeditor5/src/engine.js';export default class n extends _0x4b7356{[_0x59d73b(0x141)];[_0x59d73b(0x133)];[_0x59d73b(0x1a0)];[_0x59d73b(0x1c0)];[_0x59d73b(0x155)];[_0x59d73b(0x187)];[_0x59d73b(0x174)]='';static get[_0x59d73b(0x160)](){const _0x130d3c=_0x59d73b;return _0x130d3c(0x199);}static get[_0x59d73b(0x17b)](){return!0x0;}static get[_0x59d73b(0x170)](){return!0x0;}static get[_0x59d73b(0x194)](){return[_0x6b133f,_0x29a817,_0x26f2ae,_0x30c94c];}constructor(_0x32e02f){const _0x2fee72=_0x59d73b;super(_0x32e02f),_0x32e02f[_0x2fee72(0x16c)][_0x2fee72(0x1a5)](_0x2fee72(0x13e),[_0x2fee72(0x19b),_0x2fee72(0x177),_0x2fee72(0x1bd)]),_0x32e02f[_0x2fee72(0x16c)][_0x2fee72(0x1a5)](_0x2fee72(0x1b3),''),_0x32e02f[_0x2fee72(0x16c)][_0x2fee72(0x1a5)](_0x2fee72(0x1b8),!0x0),this[_0x2fee72(0x174)]=_0x2fee72(0x1b6)+(_0x32e02f[_0x2fee72(0x16c)][_0x2fee72(0x1d3)](_0x2fee72(0x1b8))?_0x2fee72(0x1a8):'');}[_0x59d73b(0x162)](){const _0x3a4dd6=_0x59d73b,{editor:_0x37ba4b}=this;this[_0x3a4dd6(0x155)]=_0x37ba4b[_0x3a4dd6(0x139)][_0x3a4dd6(0x1d3)](_0x26f2ae),this[_0x3a4dd6(0x1a0)]=_0x37ba4b[_0x3a4dd6(0x139)][_0x3a4dd6(0x1d3)](_0x30c94c),this[_0x3a4dd6(0x1c0)]=null,this[_0x3a4dd6(0x1b9)]=this[_0x3a4dd6(0x1a6)]();const _0x55a3a4=new _0x368142(_0x37ba4b,Array[_0x3a4dd6(0x188)](this[_0x3a4dd6(0x1b9)][_0x3a4dd6(0x16f)]()));_0x37ba4b[_0x3a4dd6(0x148)][_0x3a4dd6(0x171)](_0x3a4dd6(0x135),_0x55a3a4),_0x37ba4b['ui'][_0x3a4dd6(0x1b0)][_0x3a4dd6(0x171)](_0x3a4dd6(0x154),_0x897d3=>{const _0x580080=_0x3a4dd6,_0x2079cb=_0x21227a(_0x897d3);return _0x2079cb[_0x580080(0x12c)]({'class':_0x580080(0x184)+this[_0x580080(0x174)]}),_0x2079cb[_0x580080(0x1c3)][_0x580080(0x12c)]({'label':_0x2815df(_0x897d3,_0x580080(0x17a)),'icon':_0x4382f6,'tooltip':!0x0}),_0x2079cb['on'](_0x580080(0x1c8),_0x5de5b1=>this[_0x580080(0x163)](_0x5de5b1[_0x580080(0x1ae)]['id'])),_0x5c5f31(_0x2079cb,_0x37ba4b['ui'][_0x580080(0x1bf)][_0x580080(0x173)],function(_0x18d054){const _0x433453=_0x580080,_0x433a14=_0x4ca452(_0x18d054[_0x433453(0x16c)][_0x433453(0x1d3)](_0x433453(0x16d)),_0x18d054[_0x433453(0x175)]),_0x42df84=U(_0x18d054,_0x433a14)[_0x433453(0x158)](_0x414c91=>_0x414c91[_0x433453(0x148)][_0x433453(0x15e)]);if(0x1===_0x42df84[_0x433453(0x15e)])return U(_0x18d054,_0x42df84[0x0][_0x433453(0x148)])[_0x433453(0x132)](_0x229fbd=>({'id':_0x229fbd['id'],'label':_0x229fbd[_0x433453(0x1ab)]}));return _0x42df84[_0x433453(0x132)](_0x5c15c5=>{const _0x53b2a7=_0x433453,{groupId:_0x32e0d2,groupLabel:_0x678f6b,commands:_0x4b8264}=_0x5c15c5,_0x3a5c4c=U(_0x18d054,_0x4b8264)[_0x53b2a7(0x132)](_0x38265b=>({'id':_0x38265b['id'],'label':_0x38265b[_0x53b2a7(0x1ab)]}));return{'id':_0x32e0d2,'menu':_0x678f6b||_0x32e0d2,'children':_0x3a5c4c};});}(_0x37ba4b),{'ariaLabel':_0x2815df(_0x897d3,_0x580080(0x17a))}),_0x2079cb[_0x580080(0x1ac)][_0x580080(0x15f)]=_0x580080(0x184)+this[_0x580080(0x174)],_0x55a3a4['on'](_0x580080(0x1d0),_0x17f7a3),_0x2079cb[_0x580080(0x1ac)][_0x580080(0x168)](_0x580080(0x19e),_0x17f7a3),_0x2079cb;function _0x17f7a3(){const _0x5e0c65=_0x580080;_0x2079cb[_0x5e0c65(0x1af)]=_0x55a3a4[_0x5e0c65(0x1c7)][_0x5e0c65(0x15e)]>0x0;for(const _0x1181ff of _0x2079cb[_0x5e0c65(0x1ac)][_0x5e0c65(0x13a)])_0x1181ff[_0x5e0c65(0x1af)]=_0x55a3a4[_0x5e0c65(0x1c7)][_0x5e0c65(0x197)](_0x1181ff['id']);}}),_0x37ba4b['ui'][_0x3a4dd6(0x1b0)][_0x3a4dd6(0x171)](_0x3a4dd6(0x169),_0xc6e3fd=>{const _0x52eb07=_0x3a4dd6,_0x25f25d=new _0x5b534a(_0xc6e3fd);_0x25f25d[_0x52eb07(0x1c3)][_0x52eb07(0x12c)]({'label':_0x2815df(_0xc6e3fd,_0x52eb07(0x17a)),'icon':_0x4382f6}),_0x25f25d[_0x52eb07(0x17d)](_0x52eb07(0x1af))['to'](_0x55a3a4,_0x52eb07(0x1c7),_0x57285b=>_0x57285b[_0x52eb07(0x15e)]>0x0);const _0x5a5ce7=_0x4ca452(_0x37ba4b[_0x52eb07(0x16c)][_0x52eb07(0x1d3)](_0x52eb07(0x16d)),_0xc6e3fd);return this[_0x52eb07(0x190)](_0x55a3a4,_0x25f25d,_0x5a5ce7,_0x354694=>this[_0x52eb07(0x163)](_0x354694)),_0x25f25d;}),_0x37ba4b['ui'][_0x3a4dd6(0x1b0)][_0x3a4dd6(0x171)](_0x3a4dd6(0x157),()=>{const _0x53af04=_0x3a4dd6,_0x9caefe=this[_0x53af04(0x153)](_0x281217);return _0x9caefe[_0x53af04(0x12c)]({'tooltip':!0x0,'class':_0x53af04(0x1d4)+this[_0x53af04(0x174)]}),_0x9caefe;}),_0x37ba4b['ui'][_0x3a4dd6(0x1b0)][_0x3a4dd6(0x171)](_0x3a4dd6(0x1d8),()=>{const _0x388dc5=_0x3a4dd6,_0x427ced=this[_0x388dc5(0x153)](_0x506a5d);return _0x427ced[_0x388dc5(0x12c)]({'role':_0x388dc5(0x19d)}),_0x427ced;}),this[_0x3a4dd6(0x141)]=this[_0x3a4dd6(0x1a3)][_0x3a4dd6(0x16c)][_0x3a4dd6(0x1d3)](_0x3a4dd6(0x141));const _0x214d97=this[_0x3a4dd6(0x1a3)];this[_0x3a4dd6(0x133)]=setInterval(()=>{const _0x383f21=_0x3a4dd6;let _0x338028;for(const _0x194e0e in _0x214d97){const _0x4319cb=_0x194e0e,_0x44958d=_0x214d97[_0x4319cb];if(_0x383f21(0x1d2)==_0x44958d||_0x383f21(0x166)==_0x44958d||_0x383f21(0x1ba)==_0x44958d||_0x383f21(0x1c1)==_0x44958d||_0x383f21(0x137)==_0x44958d||_0x383f21(0x164)==_0x44958d||_0x383f21(0x131)==_0x44958d||_0x383f21(0x156)==_0x44958d){delete _0x214d97[_0x4319cb],_0x338028=_0x44958d,clearInterval(this[_0x383f21(0x133)]),this[_0x383f21(0x133)]=void 0x0;break;}}_0x383f21(0x166)==_0x338028&&_0x214d97[_0x383f21(0x15a)](_0x383f21(0x1b1)),_0x383f21(0x1ba)==_0x338028&&_0x214d97[_0x383f21(0x15a)](_0x383f21(0x149)),_0x383f21(0x1c1)==_0x338028&&_0x214d97[_0x383f21(0x15a)](_0x383f21(0x16b)),_0x383f21(0x137)==_0x338028&&_0x214d97[_0x383f21(0x15a)](_0x383f21(0x13c),_0x383f21(0x1c5)),_0x383f21(0x164)==_0x338028&&_0x214d97[_0x383f21(0x15a)](_0x383f21(0x1cf)),_0x383f21(0x131)==_0x338028&&_0x214d97[_0x383f21(0x15a)](_0x383f21(0x1b5)),_0x383f21(0x156)==_0x338028&&_0x214d97[_0x383f21(0x15a)](_0x383f21(0x18b));},0x3e8);}[_0x59d73b(0x13d)](){const _0x5d1f33=_0x59d73b;super[_0x5d1f33(0x13d)](),this[_0x5d1f33(0x133)]&&clearInterval(this[_0x5d1f33(0x133)]);}[_0x59d73b(0x14f)](_0xae1968='',_0x43dc13='',_0x1c967b=_0x59d73b(0x145)){const _0x387c9a=_0x59d73b,_0x2ee322=this[_0x387c9a(0x1a3)],_0x159d6b=_0x2ee322[_0x387c9a(0x12f)][_0x387c9a(0x1bf)],_0x341549=_0x2ee322[_0x387c9a(0x139)][_0x387c9a(0x1d3)](_0x29a817),_0x408691=_0x2ee322[_0x387c9a(0x139)][_0x387c9a(0x1d3)](_0x6b133f);_0x341549[_0x387c9a(0x1c4)]();const _0x1c81ca=new w(),_0x5e3575=new ClipboardEvent(_0x387c9a(0x186),{'clipboardData':_0x1c81ca}),_0x375c86=new _0x7eb269(_0x1c81ca),_0x23f8af=new _0x437b5d(_0x159d6b,_0x5e3575,{'dataTransfer':_0x375c86});_0x408691[_0x387c9a(0x192)](_0x387c9a(0x136),()=>{const _0x6885cf=_0x387c9a;_0x159d6b[_0x6885cf(0x1c6)][_0x6885cf(0x18e)](_0x6885cf(0x186),_0x23f8af);}),this[_0x387c9a(0x1c0)]||(this[_0x387c9a(0x14d)](),this[_0x387c9a(0x187)]=new _0x41c442(_0x2ee322,this[_0x387c9a(0x155)][_0x387c9a(0x180)],this[_0x387c9a(0x1c0)]));let _0x30a28e=_0x375c86[_0x387c9a(0x138)](_0x387c9a(0x167));const _0xda1cbe=_0x2ee322[_0x387c9a(0x12d)][_0x387c9a(0x1c6)][_0x387c9a(0x152)],_0x10ad26=Array[_0x387c9a(0x188)](_0xda1cbe[_0x387c9a(0x1ad)]());0x1===_0x10ad26[_0x387c9a(0x15e)]&&_0x10ad26[0x0][_0x387c9a(0x18a)]&&!_0xda1cbe[_0x387c9a(0x14a)]()&&''!==_0x30a28e[_0x387c9a(0x142)](/ /g,'')[_0x387c9a(0x12e)]()&&(_0x30a28e=_0x387c9a(0x1b4)+_0x30a28e+_0x387c9a(0x129)),this[_0x387c9a(0x187)][_0x387c9a(0x18d)]({'actionId':_0x1c967b,'query':_0xae1968,'htmlContent':_0x30a28e,'label':_0x43dc13,'mainActionLabel':_0x295167[_0x2ee322[_0x387c9a(0x12d)][_0x387c9a(0x1c6)][_0x387c9a(0x152)][_0x387c9a(0x165)]?_0x387c9a(0x1a9):_0x387c9a(0x19a)]}),_0x387c9a(0x157)!==this[_0x387c9a(0x1a0)]['id']?this[_0x387c9a(0x1a0)][_0x387c9a(0x176)]({'id':_0x387c9a(0x157),'icon':_0x3dcb63,'title':_0x2815df(this[_0x387c9a(0x1a3)][_0x387c9a(0x175)],_0x387c9a(0x189)),'content':this[_0x387c9a(0x1c0)],'position':_0x393b2c[_0x387c9a(0x1b7)],'onShow':()=>{const _0x26f48b=_0x387c9a;this[_0x26f48b(0x1c0)][_0x26f48b(0x19f)]();},'onHide':()=>{const _0x291038=_0x387c9a;this[_0x291038(0x187)][_0x291038(0x16e)](),_0x341549[_0x291038(0x134)]();}}):this[_0x387c9a(0x1a0)][_0x387c9a(0x1bf)][_0x387c9a(0x178)]||this[_0x387c9a(0x1a0)][_0x387c9a(0x1bf)][_0x387c9a(0x19c)]();}[_0x59d73b(0x193)](){const _0x4d97b9=_0x59d73b;this[_0x4d97b9(0x1a0)][_0x4d97b9(0x1bc)]();}[_0x59d73b(0x1a6)](){const _0x232439=_0x59d73b,_0x5bff85=new Map(),_0x32aae1=_0x4ca452(this[_0x232439(0x1a3)][_0x232439(0x16c)][_0x232439(0x1d3)](_0x232439(0x16d)),this[_0x232439(0x1a3)][_0x232439(0x175)]);for(const _0x213656 of _0x32aae1)for(const _0x3650da of _0x213656[_0x232439(0x148)])_0x5bff85[_0x232439(0x12c)](_0x3650da['id'],{..._0x3650da,'groupId':_0x213656[_0x232439(0x1d5)],'groupLabel':_0x213656[_0x232439(0x1c2)]||_0x213656[_0x232439(0x1d5)]});return _0x5bff85;}[_0x59d73b(0x153)](_0x5be4bb){const _0x7e4de4=_0x59d73b,_0x22f06d=this[_0x7e4de4(0x1a3)],_0x5f4e82=_0x22f06d[_0x7e4de4(0x148)][_0x7e4de4(0x1d3)](_0x7e4de4(0x135)),_0x1cda90=new _0x5be4bb(_0x22f06d[_0x7e4de4(0x175)]);return _0x1cda90[_0x7e4de4(0x12c)]({'label':_0x2815df(_0x22f06d[_0x7e4de4(0x175)],_0x7e4de4(0x189)),'icon':_0x3dcb63,'isToggleable':!0x0}),_0x1cda90[_0x7e4de4(0x17d)](_0x7e4de4(0x1af))['to'](_0x5f4e82),_0x1cda90[_0x7e4de4(0x17d)](_0x7e4de4(0x17c))['to'](this[_0x7e4de4(0x1a0)],'id',_0xe16e6a=>_0x7e4de4(0x157)===_0xe16e6a),this[_0x7e4de4(0x14c)](_0x1cda90,_0x7e4de4(0x1c8),()=>{const _0x456c93=_0x7e4de4;_0x1cda90[_0x456c93(0x17c)]?this[_0x456c93(0x193)]():_0x5f4e82[_0x456c93(0x1c8)]();}),_0x1cda90;}[_0x59d73b(0x14d)](){const _0x4de6a1=_0x59d73b,_0x402b57=this[_0x4de6a1(0x1a3)][_0x4de6a1(0x139)][_0x4de6a1(0x1d3)](_0x29a817);this[_0x4de6a1(0x1c0)]=new _0x877d66(this[_0x4de6a1(0x1a3)][_0x4de6a1(0x175)],this[_0x4de6a1(0x174)],this[_0x4de6a1(0x1a3)][_0x4de6a1(0x16c)][_0x4de6a1(0x1d3)](_0x4de6a1(0x1b3))),this[_0x4de6a1(0x1c0)]['on'](_0x4de6a1(0x15d),()=>{const _0x55da1b=_0x4de6a1;this[_0x55da1b(0x1a0)][_0x55da1b(0x1bf)][_0x55da1b(0x178)]||this[_0x55da1b(0x1a0)][_0x55da1b(0x1bf)][_0x55da1b(0x19c)]();}),this[_0x4de6a1(0x1c0)][_0x4de6a1(0x195)][_0x4de6a1(0x1bb)][_0x4de6a1(0x18f)]['on'](_0x4de6a1(0x1ce),()=>{const _0x1afb93=_0x4de6a1;this[_0x1afb93(0x1a0)][_0x1afb93(0x1bf)][_0x1afb93(0x178)]||this[_0x1afb93(0x1a0)][_0x1afb93(0x1bf)][_0x1afb93(0x19c)]();}),this[_0x4de6a1(0x14c)](this[_0x4de6a1(0x1c0)],_0x4de6a1(0x143),()=>{const _0x16e197=_0x4de6a1;_0x402b57[_0x16e197(0x1aa)](this[_0x16e197(0x187)][_0x16e197(0x1a7)]),this[_0x16e197(0x193)]();}),this[_0x4de6a1(0x14c)](this[_0x4de6a1(0x1c0)],_0x4de6a1(0x181),()=>{const _0x587c11=_0x4de6a1;_0x402b57[_0x587c11(0x181)](this[_0x587c11(0x187)][_0x587c11(0x1a7)]),this[_0x587c11(0x193)]();}),this[_0x4de6a1(0x151)]();}[_0x59d73b(0x151)](){const _0x2246b7=_0x59d73b,{locale:_0x333b3f,ui:{ariaLiveAnnouncer:_0x1df4cb}}=this[_0x2246b7(0x1a3)];this[_0x2246b7(0x1c0)][_0x2246b7(0x198)]['on'](_0x2246b7(0x1b2),(_0x5f3e3e,_0xfe7883,_0x46d2df)=>{const _0x345cca=_0x2246b7,_0x1c99e7=this[_0x345cca(0x187)][_0x345cca(0x1a7)];_0x46d2df?_0x1df4cb[_0x345cca(0x1cb)](_0x2815df(_0x333b3f,_0x345cca(0x14b))):_0x1c99e7&&_0x1df4cb[_0x345cca(0x1cb)](_0x2815df(_0x333b3f,_0x345cca(0x16a),_0x1c99e7),{'politeness':_0x345cca(0x147),'isUnsafeHTML':!0x0});}),this[_0x2246b7(0x1c0)]['on'](_0x2246b7(0x183),(_0x3bc09b,_0x533e59,_0xbba16e)=>{const _0x12500c=_0x2246b7;if(_0xbba16e){const _0x42148f=this[_0x12500c(0x1c0)][_0x12500c(0x1a1)][_0x12500c(0x1d6)];_0x1df4cb[_0x12500c(0x1cb)](_0x2815df(_0x333b3f,_0x12500c(0x1be),_0x42148f));}});}[_0x59d73b(0x163)](_0x1647c4){const _0x587c3d=_0x59d73b,_0x238bac=this[_0x587c3d(0x1b9)][_0x587c3d(0x1d3)](_0x1647c4),_0x8a540d=this[_0x587c3d(0x1a3)],_0x142f52=_0x8a540d[_0x587c3d(0x12d)][_0x587c3d(0x1c6)][_0x587c3d(0x152)],_0x3aeac3=_0x8a540d[_0x587c3d(0x148)][_0x587c3d(0x1d3)](_0x587c3d(0x135)),_0x30334d=_0x8a540d[_0x587c3d(0x139)][_0x587c3d(0x1d3)](_0x29a817),_0x48853f=''+(_0x238bac[_0x587c3d(0x1d5)]!==_0x6a9389?_0x238bac[_0x587c3d(0x1c2)]+':\x20':'')+_0x238bac[_0x587c3d(0x1ab)];if(!0x1!==_0x238bac[_0x587c3d(0x1c9)]&&_0x142f52[_0x587c3d(0x165)]){const _0x28dd7a=_0x1395cb(_0x142f52[_0x587c3d(0x14e)]())||_0x8a540d[_0x587c3d(0x12d)][_0x587c3d(0x1a2)][_0x587c3d(0x159)](_0x142f52);_0x8a540d[_0x587c3d(0x12d)][_0x587c3d(0x140)](_0x4d089b=>{const _0x5c19fc=_0x587c3d;_0x4d089b[_0x5c19fc(0x130)](_0x28dd7a,'in');});}_0x30334d[_0x587c3d(0x1c4)](),_0x3aeac3[_0x587c3d(0x1c8)](_0x238bac[_0x587c3d(0x182)],_0x48853f,_0x587c3d(0x1d7)+_0x1647c4);}[_0x59d73b(0x190)](_0x553952,_0x25500a,_0x4fc583,_0xd1b78d){const _0x54b685=_0x59d73b,_0x5e6397=this[_0x54b685(0x1a3)],_0x377173=_0x5e6397[_0x54b685(0x175)],_0x3d80ae=new _0x12613f(_0x377173),_0x5e6897=U(_0x5e6397,_0x4fc583)[_0x54b685(0x158)](_0x2293f1=>_0x2293f1[_0x54b685(0x148)][_0x54b685(0x15e)]);0x1===_0x5e6897[_0x54b685(0x15e)]?this[_0x54b685(0x146)]({'command':_0x553952,'commands':_0x5e6897[0x0][_0x54b685(0x148)],'parentMenuView':_0x25500a,'onExecute':_0xd1b78d})[_0x54b685(0x172)](_0x5b7c18=>_0x3d80ae[_0x54b685(0x13b)][_0x54b685(0x171)](_0x5b7c18)):_0x5e6897[_0x54b685(0x172)](({groupId:_0x290687,groupLabel:_0x4bd0d8,commands:_0x27f688})=>{const _0x2780ad=_0x54b685,_0x5a2575=new _0x2674c7(_0x377173,_0x25500a),_0x3dce60=new _0x5b534a(_0x377173),_0x4e0e1d=new _0x12613f(_0x377173),_0x160523=this[_0x2780ad(0x146)]({'command':_0x553952,'commands':_0x27f688,'parentMenuView':_0x3dce60,'onExecute':_0xd1b78d});_0x3dce60[_0x2780ad(0x1c3)][_0x2780ad(0x12c)]({'label':_0x4bd0d8||_0x290687}),_0x3dce60[_0x2780ad(0x12a)](_0x2780ad(0x1c8))['to'](_0x25500a),_0x4e0e1d[_0x2780ad(0x13b)][_0x2780ad(0x196)](_0x160523),_0x3dce60[_0x2780ad(0x150)][_0x2780ad(0x191)][_0x2780ad(0x171)](_0x4e0e1d),_0x5a2575[_0x2780ad(0x191)][_0x2780ad(0x171)](_0x3dce60),_0x3d80ae[_0x2780ad(0x13b)][_0x2780ad(0x171)](_0x5a2575);}),_0x25500a[_0x54b685(0x150)][_0x54b685(0x191)][_0x54b685(0x171)](_0x3d80ae);}[_0x59d73b(0x146)]({command:_0x2e080f,commands:_0x16e668,parentMenuView:_0x57e3e6,onExecute:_0x459a18}){const _0x1465e5=_0x59d73b,_0x128e8b=this[_0x1465e5(0x1a3)],_0x54b78f=_0x128e8b[_0x1465e5(0x175)];return U(_0x128e8b,_0x16e668)[_0x1465e5(0x132)](_0x2ced5c=>{const _0x1acb0a=_0x1465e5,_0x398748=new _0x2674c7(_0x54b78f,_0x57e3e6),_0xafe91d=new _0x506a5d(_0x54b78f);return _0xafe91d[_0x1acb0a(0x12c)]({'label':_0x2ced5c[_0x1acb0a(0x1ab)]}),_0xafe91d[_0x1acb0a(0x12a)](_0x1acb0a(0x1c8))['to'](_0x57e3e6),_0xafe91d['on'](_0x1acb0a(0x1c8),()=>_0x459a18(_0x2ced5c['id'])),_0xafe91d[_0x1acb0a(0x17d)](_0x1acb0a(0x1af))['to'](_0x2e080f,_0x1acb0a(0x1c7),_0x3b36bc=>_0x3b36bc[_0x1acb0a(0x197)](_0x2ced5c['id'])),_0x398748[_0x1acb0a(0x191)][_0x1acb0a(0x171)](_0xafe91d),_0x398748;});}}function B(_0x278ae8,_0x340db7){const _0x3f99ac=_0x59d73b;return void 0x0!==_0x278ae8[_0x3f99ac(0x12b)]&&void 0x0===_0x340db7[_0x3f99ac(0x12b)]?0x1:void 0x0===_0x278ae8[_0x3f99ac(0x12b)]&&void 0x0!==_0x340db7[_0x3f99ac(0x12b)]?-0x1:void 0x0!==_0x278ae8[_0x3f99ac(0x12b)]&&void 0x0!==_0x340db7[_0x3f99ac(0x12b)]?_0x278ae8[_0x3f99ac(0x12b)]-_0x340db7[_0x3f99ac(0x12b)]:0x0;}function U(_0x483c43,_0x2eb7b9){const _0x58aa5b=_0x59d73b;_0x2eb7b9[_0x58aa5b(0x15c)](B);const _0x38491f={},_0x1f22c4=[];for(const _0x1c7e27 of _0x2eb7b9)if(void 0x0!==_0x1c7e27[_0x58aa5b(0x12b)]){if(_0x1c7e27[_0x58aa5b(0x12b)]in _0x38491f)throw new _0x57b6b9(_0x58aa5b(0x161),_0x483c43,{'conflictingDefinitions':[_0x1c7e27,_0x38491f[_0x1c7e27[_0x58aa5b(0x12b)]]]});_0x38491f[_0x1c7e27[_0x58aa5b(0x12b)]]=_0x1c7e27,_0x1f22c4[_0x58aa5b(0x17e)](_0x1c7e27[_0x58aa5b(0x12b)],0x0,_0x1c7e27);}else _0x1f22c4[_0x58aa5b(0x1d9)](_0x1c7e27);return _0x1f22c4;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x475c4c,_0x47d0ff){var _0x560ae6=_0x2d02,_0x5bb4c5=_0x475c4c();while(!![]){try{var _0x4d73b2=-parseInt(_0x560ae6(0x1bd))/0x1*(-parseInt(_0x560ae6(0x1b9))/0x2)+parseInt(_0x560ae6(0x1b7))/0x3+parseInt(_0x560ae6(0x1bb))/0x4*(parseInt(_0x560ae6(0x1b8))/0x5)+-parseInt(_0x560ae6(0x1bc))/0x6*(-parseInt(_0x560ae6(0x1c1))/0x7)+parseInt(_0x560ae6(0x1bf))/0x8*(-parseInt(_0x560ae6(0x1ba))/0x9)+-parseInt(_0x560ae6(0x1c0))/0xa+-parseInt(_0x560ae6(0x1be))/0xb;if(_0x4d73b2===_0x47d0ff)break;else _0x5bb4c5['push'](_0x5bb4c5['shift']());}catch(_0x845c1){_0x5bb4c5['push'](_0x5bb4c5['shift']());}}}(_0x2c28,0x2a195));function _0x2d02(_0x414376,_0x1d99cd){var _0x2c286e=_0x2c28();return _0x2d02=function(_0x2d0263,_0x249b6f){_0x2d0263=_0x2d0263-0x1b7;var _0x582d6e=_0x2c286e[_0x2d0263];return _0x582d6e;},_0x2d02(_0x414376,_0x1d99cd);}function _0x2c28(){var _0x4ee113=['9cJdrXA','4GtQtaX','397968mlwJWX','5CgpSZg','1413786cuiRzX','835720msvfHP','915450iEZjXq','14jqnKKx','143157QkpNkw','523715vxRUQb','84742yAFXxk'];_0x2c28=function(){return _0x4ee113;};return _0x2c28();}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x39ca1d,_0xc0bcc3){var _0x52b16d=_0x238a,_0x4f28c8=_0x39ca1d();while(!![]){try{var _0x93b311=-parseInt(_0x52b16d(0x128))/0x1*(parseInt(_0x52b16d(0x126))/0x2)+-parseInt(_0x52b16d(0x12a))/0x3+parseInt(_0x52b16d(0x12c))/0x4*(-parseInt(_0x52b16d(0x127))/0x5)+-parseInt(_0x52b16d(0x129))/0x6+parseInt(_0x52b16d(0x12b))/0x7+-parseInt(_0x52b16d(0x12d))/0x8+parseInt(_0x52b16d(0x12e))/0x9*(parseInt(_0x52b16d(0x12f))/0xa);if(_0x93b311===_0xc0bcc3)break;else _0x4f28c8['push'](_0x4f28c8['shift']());}catch(_0x187259){_0x4f28c8['push'](_0x4f28c8['shift']());}}}(_0x36e1,0x489ed));function _0x238a(_0x1c53d2,_0x16da19){var _0x36e1df=_0x36e1();return _0x238a=function(_0x238a0f,_0x11c2ba){_0x238a0f=_0x238a0f-0x126;var _0x4a1bb6=_0x36e1df[_0x238a0f];return _0x4a1bb6;},_0x238a(_0x1c53d2,_0x16da19);}function _0x36e1(){var _0x43da7d=['1568022DWFWiu','1654562RuEtmE','16596rYnGEH','1620040aGGasf','17474697IPeQlk','10hXXwtg','2oruDmd','75ZjKaVX','540185SoRaUp','3317682CQdodN'];_0x36e1=function(){return _0x43da7d;};return _0x36e1();}import{CKEditorError as _0x51ee95}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5015b0=_0x354f;function _0x43ac(){const _0x491831=['get','_isH1TagSupportEnabled','abort','from','160XJfItE','rename','_handleQuery','text/html','destroy','config','isProcessing','3SSjkIH','previousActionId','startProcessing','startsWith','editor','render','endsWith','domConverter','currentResponse','currentContext','_normalizeResponseHeadings','finally','custom','_sanitizationContainer','substring','div','toView','1167986CCSGse','editing','ai.aiAssistant.preserveComments','data','body','remove','then','set','childNodes','145MxoSSr','once','value','prompt','viewToDom','nodeType','_sanitizeHTML','_parseAndNormalizeContent','stopListening','match','makeRequest','572BQCGTO','catch','<h1></h1>','previousContext','stopProcessing','handleError','7RfVvBO','message','push','markers','set:currentContext','view','_domParser','element','2096706TvrQyJ','```html','htmlProcessor','mainAction','_xmlSerializer','submitPrompt','488asJvsL','processor','tryAgainEvent','previousQuery','stringify','ELEMENT_NODE','finishProcessing','serializeToString','length','createElement','querySelector','listenTo','initialContext','reset','textAdapter','toModel','_stripMarkdownSyntax','reverse','updateView','setContentOf','innerHTML','326414xuCtDm','isRendered','exec','parseFromString','name','previousLabel','675961xqbZQt','597396TQvphI','```','clear','14824kmlljt','trim','61713vgJBNJ','document'];_0x43ac=function(){return _0x491831;};return _0x43ac();}(function(_0x3d80fe,_0x585224){const _0x42ef41=_0x354f,_0x30bd2f=_0x3d80fe();while(!![]){try{const _0x2b7a85=-parseInt(_0x42ef41(0xe8))/0x1+-parseInt(_0x42ef41(0xa5))/0x2*(parseInt(_0x42ef41(0x94))/0x3)+-parseInt(_0x42ef41(0xec))/0x4*(-parseInt(_0x42ef41(0xae))/0x5)+parseInt(_0x42ef41(0xc7))/0x6*(parseInt(_0x42ef41(0xbf))/0x7)+parseInt(_0x42ef41(0xcd))/0x8*(-parseInt(_0x42ef41(0xee))/0x9)+parseInt(_0x42ef41(0xf4))/0xa*(-parseInt(_0x42ef41(0xe2))/0xb)+parseInt(_0x42ef41(0xe9))/0xc*(parseInt(_0x42ef41(0xb9))/0xd);if(_0x2b7a85===_0x585224)break;else _0x30bd2f['push'](_0x30bd2f['shift']());}catch(_0x2a255b){_0x30bd2f['push'](_0x30bd2f['shift']());}}}(_0x43ac,0x78b1a));import{ObservableMixin as _0x3d697c}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4c86af}from'../adapters/aiadapter.js';import{Matcher as _0x145bd2,UpcastWriter as _0xbbf642}from'ckeditor5/src/engine.js';function _0x354f(_0x1623f8,_0x4edaf3){const _0x43acb0=_0x43ac();return _0x354f=function(_0x354fcf,_0x1a2db8){_0x354fcf=_0x354fcf-0x93;let _0x5e2ce8=_0x43acb0[_0x354fcf];return _0x5e2ce8;},_0x354f(_0x1623f8,_0x4edaf3);}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3d697c(){[_0x5015b0(0x98)];[_0x5015b0(0xdb)];[_0x5015b0(0xc4)];[_0x5015b0(0xa1)];[_0x5015b0(0xc5)];[_0x5015b0(0xcb)];constructor(_0x560efc,_0x386bd3,_0x388bf1){const _0x57a794=_0x5015b0;super(),this[_0x57a794(0x98)]=_0x560efc,this[_0x57a794(0xdb)]=_0x386bd3,this[_0x57a794(0xa1)]=document[_0x57a794(0xd6)](_0x57a794(0xa3)),this[_0x57a794(0xc5)]=new DOMParser(),this[_0x57a794(0xcb)]=new XMLSerializer(),this[_0x57a794(0xc4)]=_0x388bf1,this[_0x57a794(0xac)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x57a794(0xc3),(_0x550f1a,_0x3746d6,_0x51c6a2)=>{const _0x13c26f=_0x57a794;this[_0x13c26f(0xc4)][_0x13c26f(0xb0)]=this[_0x13c26f(0xb4)](_0x51c6a2);}),this[_0x57a794(0xd8)](this[_0x57a794(0xc4)],_0x57a794(0xcc),(_0x48f736,_0x9b00e0)=>{const _0x1c950b=_0x57a794,_0x18f0a3=this[_0x1c950b(0x9d)]||this[_0x1c950b(0xd9)];this[_0x1c950b(0xf6)](_0x9b00e0,_0x18f0a3,_0x1c950b(0xa0));}),this[_0x57a794(0xd8)](this[_0x57a794(0xc4)],_0x57a794(0xcf),()=>{const _0x30e4cd=_0x57a794;this[_0x30e4cd(0xc4)][_0x30e4cd(0xb1)]=this[_0x30e4cd(0xe7)],this[_0x30e4cd(0xf6)](this[_0x30e4cd(0xd0)],this[_0x30e4cd(0xbc)],this[_0x30e4cd(0x95)],this[_0x30e4cd(0xe7)]);}),this[_0x57a794(0xd8)](this[_0x57a794(0xc4)],_0x57a794(0xbd),()=>{const _0x5f4da4=_0x57a794;this[_0x5f4da4(0xbd)]();});}[_0x5015b0(0xf8)](){const _0x1c8ca7=_0x5015b0;this[_0x1c8ca7(0xb6)]();}async[_0x5015b0(0xdf)]({actionId:_0x5a2af0,query:_0x112c28,htmlContent:_0xa3d48b,label:_0x4976fc,mainActionLabel:_0x479e81}){const _0x47b1d6=_0x5015b0;this[_0x47b1d6(0xc4)][_0x47b1d6(0xb1)]=_0x4976fc,this[_0x47b1d6(0xc4)][_0x47b1d6(0xca)]=_0x479e81,this[_0x47b1d6(0xd9)]=_0xa3d48b,_0x112c28&&(this[_0x47b1d6(0xc4)][_0x47b1d6(0xe3)]?this[_0x47b1d6(0xf6)](_0x112c28,_0xa3d48b,_0x5a2af0,_0x4976fc):this[_0x47b1d6(0xc4)][_0x47b1d6(0xaf)](_0x47b1d6(0x99),()=>{const _0x214eee=_0x47b1d6;this[_0x214eee(0xf6)](_0x112c28,_0xa3d48b,_0x5a2af0,_0x4976fc);}));}[_0x5015b0(0xbd)](){const _0x2c71ba=_0x5015b0;this[_0x2c71ba(0x93)]&&(this[_0x2c71ba(0x93)]=!0x1,this[_0x2c71ba(0xc4)][_0x2c71ba(0xd3)](),this[_0x2c71ba(0xdb)][_0x2c71ba(0xf2)]());}[_0x5015b0(0xda)](){const _0x1c0bff=_0x5015b0;this[_0x1c0bff(0xd9)]='',this[_0x1c0bff(0x9d)]='',this[_0x1c0bff(0x9c)]='',this[_0x1c0bff(0xbc)]='',this[_0x1c0bff(0xd0)]='',this[_0x1c0bff(0xe7)]='',this[_0x1c0bff(0x95)]=void 0x0,this[_0x1c0bff(0xc4)][_0x1c0bff(0xda)](),this[_0x1c0bff(0xbd)]();}async[_0x5015b0(0xf6)](_0x2702cd,_0x1103d8,_0x12a9df,_0x5114ad){const _0x25984c=_0x5015b0;return this[_0x25984c(0x93)]=!0x0,this[_0x25984c(0xc4)][_0x25984c(0x96)](),this[_0x25984c(0xbc)]=_0x1103d8,this[_0x25984c(0xd0)]=_0x2702cd,this[_0x25984c(0xe7)]=_0x5114ad||_0x2702cd,this[_0x25984c(0x95)]=_0x12a9df,new Promise(_0x4cb8a0=>{const _0x32f3d7=_0x25984c;this[_0x32f3d7(0xdb)][_0x32f3d7(0xb8)]({'query':_0x2702cd,'context':_0x1103d8,'onData':_0x53b3b7=>{const _0x718175=_0x32f3d7;this[_0x718175(0x9c)]=_0x53b3b7,this[_0x718175(0x9d)]=this[_0x718175(0xb5)](this[_0x718175(0x9c)]);},'actionId':_0x12a9df})[_0x32f3d7(0xab)](()=>{const _0x1bf44d=_0x32f3d7;!this[_0x1bf44d(0x9d)]&&this[_0x1bf44d(0x9c)]&&(this[_0x1bf44d(0x9d)]=this[_0x1bf44d(0xb5)](this[_0x1bf44d(0x9c)],!0x0));})[_0x32f3d7(0xba)](_0x26f516=>{const _0x34cf5d=_0x32f3d7;_0x26f516 instanceof _0x4c86af?this[_0x34cf5d(0xc4)][_0x34cf5d(0xbe)](_0x26f516[_0x34cf5d(0xc0)]):this[_0x34cf5d(0xc4)][_0x34cf5d(0xbe)](),_0x4cb8a0();})[_0x32f3d7(0x9f)](()=>{const _0x4aa520=_0x32f3d7;this[_0x4aa520(0xbd)](),_0x4cb8a0();});});}[_0x5015b0(0xb5)](_0x1bad2d,_0x48da7c=!0x1){const _0x30a81a=_0x5015b0,_0xb2a757=Z[_0x30a81a(0xe4)](_0x1bad2d);_0x1bad2d=_0xb2a757?_0x1bad2d[_0x30a81a(0xa2)](_0xb2a757[0x1][_0x30a81a(0xd5)]):_0x1bad2d[_0x30a81a(0xd5)]<0x64&&!_0x48da7c?'':this[_0x30a81a(0xdd)](_0x1bad2d);const _0x5c2a58=this[_0x30a81a(0xc5)][_0x30a81a(0xe5)](_0x1bad2d,_0x30a81a(0xf7));if(_0xb2a757){const _0x5d2cf7=Array[_0x30a81a(0xf3)](_0x5c2a58[_0x30a81a(0xa9)][_0x30a81a(0xad)]);_0x5d2cf7[_0x30a81a(0xde)]();for(const _0x303301 of _0x5d2cf7){if(_0x303301[_0x30a81a(0xb3)]==Node[_0x30a81a(0xd2)])break;_0x303301[_0x30a81a(0xaa)]();}}const _0x254dcb=this[_0x30a81a(0x98)][_0x30a81a(0xa8)][_0x30a81a(0xce)][_0x30a81a(0xa4)](this[_0x30a81a(0xcb)][_0x30a81a(0xd4)](_0x5c2a58[_0x30a81a(0xa9)]));this[_0x30a81a(0xf1)]()||this[_0x30a81a(0x9e)](_0x254dcb);const _0x5cb641=this[_0x30a81a(0x98)][_0x30a81a(0xf9)][_0x30a81a(0xf0)](_0x30a81a(0xa7)),_0x18c828=this[_0x30a81a(0x98)][_0x30a81a(0xa8)][_0x30a81a(0xdc)](_0x254dcb);return _0x5cb641||_0x18c828[_0x30a81a(0xc2)][_0x30a81a(0xeb)](),this[_0x30a81a(0x98)][_0x30a81a(0xa8)][_0x30a81a(0xd1)](_0x18c828);}[_0x5015b0(0x9e)](_0x2342d0){const _0x11bae9=_0x5015b0,_0xb3874=new _0xbbf642(this[_0x11bae9(0x98)][_0x11bae9(0xa6)][_0x11bae9(0xc4)][_0x11bae9(0xef)]),_0x506cd5=new _0x145bd2({'name':/^h[1-5]$/}),_0x3640c3=[];let _0x587717=!0x1;for(const _0x4ea679 of _0x2342d0)_0x4ea679['is'](_0x11bae9(0xc6))&&_0x506cd5[_0x11bae9(0xb7)](_0x4ea679)&&(_0x3640c3[_0x11bae9(0xc1)](_0x4ea679),'h1'==_0x4ea679[_0x11bae9(0xe6)]&&(_0x587717=!0x0));if(_0x587717){for(const _0x43dd84 of _0x3640c3)_0xb3874[_0x11bae9(0xf5)]('h'+(parseInt(_0x43dd84[_0x11bae9(0xe6)][0x1])+0x1),_0x43dd84);}}[_0x5015b0(0xf1)](){const _0x22776e=_0x5015b0,{data:_0x531054,editing:_0x1ae04f}=this[_0x22776e(0x98)],_0x1aef27=_0x531054[_0x22776e(0xc9)][_0x22776e(0xa4)](_0x22776e(0xbb)),_0x33405d=_0x531054[_0x22776e(0xa4)](_0x531054[_0x22776e(0xdc)](_0x1aef27));return!!_0x1ae04f[_0x22776e(0xc4)][_0x22776e(0x9b)][_0x22776e(0xb2)](_0x33405d)[_0x22776e(0xd7)]('h1');}[_0x5015b0(0xb4)](_0x39cb13){const _0x4b0ab2=_0x5015b0;return this[_0x4b0ab2(0x98)][_0x4b0ab2(0xa6)][_0x4b0ab2(0xc4)][_0x4b0ab2(0x9b)][_0x4b0ab2(0xe0)](this[_0x4b0ab2(0xa1)],_0x39cb13),this[_0x4b0ab2(0xa1)][_0x4b0ab2(0xe1)];}[_0x5015b0(0xdd)](_0x560378){const _0x51adca=_0x5015b0,_0xc2e6bd=_0x560378[_0x51adca(0xed)]();return _0xc2e6bd[_0x51adca(0x97)](_0x51adca(0xc8))?_0xc2e6bd[_0x51adca(0x9a)](_0x51adca(0xea))?_0xc2e6bd[_0x51adca(0xa2)](0x7,_0xc2e6bd[_0x51adca(0xd5)]-0x3):_0xc2e6bd[_0x51adca(0xa2)](0x7):_0x560378;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4364(){const _0x5ce0d6=['appendChild','querySelector','ck-reset_all-excluded','text/html','ck-ai-form__content-area-wrapper','setContent','ck-ai-form__content-area','scrollHeight','<span>[</span>','isVisible','ck-ai-form__loader','ClipboardItem','_createCopyButton','mousedown','removeAllRanges','wheel','9SAmwBD','absolute','ck-ai-form__content-area--processing','change:isProcessing','setStartAfter','\x20ck-ai-form__copy-button--copied','ck-ai-form__copy-button','icon','copyButtonView','contentFieldView','ck-ai-form__content-field','execute','35264380WEZZoP','write','2674926ZlbYiX','listenTo','7qFokMo','1248195VbdjZG','value','smooth','execCommand','remove','copy','ck-content','Copy','getSelection','firstElementChild','addRange','text/plain','bind','body','530776ZCtqRU','element','6JiJAyR','createElement','setEndBefore','_copyHTMLToClipboard','change:value','class','textContent','appendLoader','ck-ai-form__copy-button-wrapper','focus','_createLoader','3289320ECDiIR','6064518Dqrbhg','locale','clipboard','isProcessing','<span>]</span>','AI\x20is\x20writing...','scrollTo','set','style','loaderView','div','setTemplate','innerHTML','position','lastElementChild','176894kkIHbZ','left','createRange','-9999px','bindTemplate','ck-hidden','.ck-ai-form__loader','render','isEnabled'];_0x4364=function(){return _0x5ce0d6;};return _0x4364();}function _0x2e60(_0x469a7d,_0x2e2e5f){const _0x4364c3=_0x4364();return _0x2e60=function(_0x2e60db,_0x326e1a){_0x2e60db=_0x2e60db-0x1ba;let _0x161820=_0x4364c3[_0x2e60db];return _0x161820;},_0x2e60(_0x469a7d,_0x2e2e5f);}const _0x47ffd6=_0x2e60;(function(_0x42a6f9,_0x20a09c){const _0x6ef2ee=_0x2e60,_0xdaaad9=_0x42a6f9();while(!![]){try{const _0x4e81f3=parseInt(_0x6ef2ee(0x1d9))/0x1*(-parseInt(_0x6ef2ee(0x1f4))/0x2)+-parseInt(_0x6ef2ee(0x1c6))/0x3+-parseInt(_0x6ef2ee(0x1e4))/0x4+parseInt(_0x6ef2ee(0x1c9))/0x5+-parseInt(_0x6ef2ee(0x1e5))/0x6*(parseInt(_0x6ef2ee(0x1c8))/0x7)+parseInt(_0x6ef2ee(0x1d7))/0x8*(parseInt(_0x6ef2ee(0x20d))/0x9)+parseInt(_0x6ef2ee(0x1c4))/0xa;if(_0x4e81f3===_0x20a09c)break;else _0xdaaad9['push'](_0xdaaad9['shift']());}catch(_0x59fcdc){_0xdaaad9['push'](_0xdaaad9['shift']());}}}(_0x4364,0x8f509));import{global as _0x473e60}from'ckeditor5/src/utils.js';import{View as _0x505699,ButtonView as _0x14481b,SpinnerView as _0xac4c22}from'ckeditor5/src/ui.js';import{IconCheck as _0x5860c7,IconCopy as _0x3cd542}from'ckeditor5/src/icons.js';import{getTranslation as _0x1859e7}from'../../utils/common-translations.js';export default class Y extends _0x505699{[_0x47ffd6(0x1c1)];[_0x47ffd6(0x1c0)];constructor(_0x260561,_0x30a2c1=''){const _0x34d4fe=_0x47ffd6;super(_0x260561),this[_0x34d4fe(0x1ec)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x214d78=this[_0x34d4fe(0x1f8)];this[_0x34d4fe(0x1c1)]=new ContentFieldView(_0x260561,_0x30a2c1),this[_0x34d4fe(0x1c0)]=this[_0x34d4fe(0x209)](),this[_0x34d4fe(0x1f0)]({'tag':_0x34d4fe(0x1ef),'attributes':{'class':['ck',_0x34d4fe(0x201),_0x214d78['if'](_0x34d4fe(0x206),_0x34d4fe(0x1f9),_0x115514=>!_0x115514)],'tabindex':'-1'},'children':[{'tag':_0x34d4fe(0x1ef),'attributes':{'class':['ck',_0x34d4fe(0x203),_0x214d78['if'](_0x34d4fe(0x1e8),_0x34d4fe(0x1ba))]},'children':[this[_0x34d4fe(0x1c1)],{'tag':_0x34d4fe(0x1ef),'attributes':{'class':['ck',_0x34d4fe(0x1e1)]},'children':[this[_0x34d4fe(0x1c0)]]}]}]});}[_0x47ffd6(0x1fb)](){const _0x3cc9bf=_0x47ffd6;super[_0x3cc9bf(0x1fb)](),this[_0x3cc9bf(0x1ca)]&&this[_0x3cc9bf(0x1c1)][_0x3cc9bf(0x202)](this[_0x3cc9bf(0x1ca)]);let _0x1a8add=!0x1;this['on'](_0x3cc9bf(0x1dd),(_0x2b684c,_0xa097f5,_0x13c9af)=>{const _0x1c15e5=_0x3cc9bf,_0x3e77d1=!this[_0x1c15e5(0x1c1)][_0x1c15e5(0x1d8)][_0x1c15e5(0x1fe)](_0x1c15e5(0x1fa));this[_0x1c15e5(0x1c1)][_0x1c15e5(0x202)](_0x13c9af),this[_0x1c15e5(0x1e8)]&&_0x3e77d1&&!_0x1a8add&&this[_0x1c15e5(0x1d8)][_0x1c15e5(0x1eb)]({'top':this[_0x1c15e5(0x1d8)][_0x1c15e5(0x204)],'behavior':_0x1c15e5(0x1cb)});}),this['on'](_0x3cc9bf(0x1bb),(_0x15cdb4,_0x13f1ff,_0x22a949)=>{const _0x2cfc9a=_0x3cc9bf;_0x1a8add=!0x1,_0x22a949?(this[_0x2cfc9a(0x1ca)]=null,this[_0x2cfc9a(0x1c1)][_0x2cfc9a(0x1e0)]()):this[_0x2cfc9a(0x1ca)]||this[_0x2cfc9a(0x1c1)][_0x2cfc9a(0x202)]('');}),this[_0x3cc9bf(0x1c7)](this[_0x3cc9bf(0x1d8)],_0x3cc9bf(0x20c),()=>{_0x1a8add=!0x0;}),this[_0x3cc9bf(0x1c7)](this[_0x3cc9bf(0x1d8)],_0x3cc9bf(0x20a),()=>{_0x1a8add=!0x0;});}[_0x47ffd6(0x1e2)](){const _0x475167=_0x47ffd6;this[_0x475167(0x1d8)][_0x475167(0x1e2)]();}[_0x47ffd6(0x209)](){const _0x544c68=_0x47ffd6,_0x154bb8=this[_0x544c68(0x1e6)],_0x51b886=new _0x14481b(this[_0x544c68(0x1e6)]),_0x26b92d=_0x544c68(0x1be);return _0x51b886[_0x544c68(0x1ec)]({'label':_0x1859e7(_0x154bb8,_0x544c68(0x1d0)),'icon':_0x3cd542,'class':_0x26b92d,'tooltip':!0x0}),_0x51b886[_0x544c68(0x1d5)](_0x544c68(0x206))['to'](this,_0x544c68(0x1ca),_0x3cc0b3=>!!_0x3cc0b3),_0x51b886[_0x544c68(0x1d5)](_0x544c68(0x1fc))['to'](this,_0x544c68(0x1e8),_0x8ba14f=>!_0x8ba14f),_0x51b886['on'](_0x544c68(0x1c3),()=>{const _0x4582e1=_0x544c68;this[_0x4582e1(0x1dc)](this[_0x4582e1(0x1c1)][_0x4582e1(0x1d8)]),_0x51b886[_0x4582e1(0x1bf)]=_0x5860c7,_0x51b886[_0x4582e1(0x1de)]=_0x26b92d+_0x4582e1(0x1bd),this[_0x4582e1(0x1e2)](),setTimeout(()=>{const _0x2f88cd=_0x4582e1;_0x51b886[_0x2f88cd(0x1bf)]=_0x3cd542,_0x51b886[_0x2f88cd(0x1de)]=_0x26b92d;},0x3e8);}),_0x51b886;}[_0x47ffd6(0x1dc)](_0x4ede51){const _0x52d17b=_0x47ffd6,{window:_0x2194d6,document:_0x4e950e}=_0x473e60;if(_0x2194d6[_0x52d17b(0x208)]){const {Blob:_0x320188,ClipboardItem:_0x176aec}=_0x2194d6,_0x547b61=[new _0x176aec({'text/html':new _0x320188([_0x4ede51[_0x52d17b(0x1f1)]],{'type':_0x52d17b(0x200)}),'text/plain':new _0x320188([_0x4ede51[_0x52d17b(0x1df)]||''],{'type':_0x52d17b(0x1d4)})})];navigator[_0x52d17b(0x1e7)][_0x52d17b(0x1c5)](_0x547b61);}else{const _0x438367=_0x4e950e[_0x52d17b(0x1da)](_0x52d17b(0x1ef));_0x438367[_0x52d17b(0x1ed)][_0x52d17b(0x1f2)]=_0x52d17b(0x20e),_0x438367[_0x52d17b(0x1ed)][_0x52d17b(0x1f5)]=_0x52d17b(0x1f7),_0x438367[_0x52d17b(0x1f1)]=_0x52d17b(0x205)+_0x4ede51[_0x52d17b(0x1f1)]+_0x52d17b(0x1e9),_0x4e950e[_0x52d17b(0x1d6)][_0x52d17b(0x1fd)](_0x438367);const _0x3ede78=_0x4e950e[_0x52d17b(0x1f6)]();_0x3ede78[_0x52d17b(0x1bc)](_0x438367[_0x52d17b(0x1d2)]),_0x3ede78[_0x52d17b(0x1db)](_0x438367[_0x52d17b(0x1f3)]);const _0x216499=_0x2194d6[_0x52d17b(0x1d1)]();_0x216499[_0x52d17b(0x20b)](),_0x216499[_0x52d17b(0x1d3)](_0x3ede78),_0x4e950e[_0x52d17b(0x1cc)](_0x52d17b(0x1ce)),_0x438367[_0x52d17b(0x1cd)]();}}}export class ContentFieldView extends _0x505699{constructor(_0x52ac12,_0x5c15fb=''){const _0x3802b1=_0x47ffd6;super(_0x52ac12),this[_0x3802b1(0x1ee)]=this[_0x3802b1(0x1e3)](),this[_0x3802b1(0x1f0)]({'tag':_0x3802b1(0x1ef),'attributes':{'class':['ck',_0x3802b1(0x1cf),_0x5c15fb,_0x3802b1(0x1ff),_0x3802b1(0x1c2)]}});}[_0x47ffd6(0x202)](_0x2b130d){const _0x1a46ce=_0x47ffd6;this[_0x1a46ce(0x1d8)][_0x1a46ce(0x1f1)]=_0x2b130d;}[_0x47ffd6(0x1e0)](){const _0x1cf3c0=_0x47ffd6;this[_0x1cf3c0(0x1d8)][_0x1cf3c0(0x1fd)](this[_0x1cf3c0(0x1ee)][_0x1cf3c0(0x1d8)]);}[_0x47ffd6(0x1e3)](){const _0x52f7b9=_0x47ffd6,_0x4d2206=new _0x505699(),_0x463ef8=this[_0x52f7b9(0x1e6)],_0x3b792f=new _0xac4c22();return _0x3b792f[_0x52f7b9(0x206)]=!0x0,_0x4d2206[_0x52f7b9(0x1f0)]({'tag':_0x52f7b9(0x1ef),'attributes':{'class':['ck',_0x52f7b9(0x207)]},'children':[_0x3b792f,{'text':_0x1859e7(_0x463ef8,_0x52f7b9(0x1ea))}]}),_0x4d2206[_0x52f7b9(0x1fb)](),_0x4d2206;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x14a98f,_0x3e22ae){const _0x3207f5=_0x3d72,_0xb531e1=_0x14a98f();while(!![]){try{const _0x7437b9=-parseInt(_0x3207f5(0xd1))/0x1*(-parseInt(_0x3207f5(0xdb))/0x2)+parseInt(_0x3207f5(0xd8))/0x3*(-parseInt(_0x3207f5(0xda))/0x4)+-parseInt(_0x3207f5(0xe1))/0x5*(-parseInt(_0x3207f5(0xd7))/0x6)+parseInt(_0x3207f5(0xd5))/0x7+parseInt(_0x3207f5(0xd4))/0x8+-parseInt(_0x3207f5(0xd2))/0x9+-parseInt(_0x3207f5(0xdd))/0xa;if(_0x7437b9===_0x3e22ae)break;else _0xb531e1['push'](_0xb531e1['shift']());}catch(_0x48055b){_0xb531e1['push'](_0xb531e1['shift']());}}}(_0x40fb,0xdd62f));function _0x3d72(_0x412fd5,_0x420860){const _0x40fbd7=_0x40fb();return _0x3d72=function(_0x3d72de,_0x2ea31e){_0x3d72de=_0x3d72de-0xd1;let _0x248ad7=_0x40fbd7[_0x3d72de];return _0x248ad7;},_0x3d72(_0x412fd5,_0x420860);}import{IconError as _0x5a413d}from'ckeditor5/src/icons.js';import{View as _0x3f61eb,IconView as _0x349b17}from'ckeditor5/src/ui.js';function _0x40fb(){const _0x4a3c10=['set','bindTemplate','ck-ai-form__error','5SMjfrR','304833EtINnn','5529339ijcbSi','text','3450960SvxxRi','11974116MygTdK','div','2002146eashnb','81FLhoWr','content','87308gyOQOi','6rOhpGq','setTemplate','12796490tGBvQc'];_0x40fb=function(){return _0x4a3c10;};return _0x40fb();}export default class st extends _0x3f61eb{constructor(_0x22e2d5,_0x1e4eec=''){const _0x5193fd=_0x3d72;super(_0x22e2d5);const _0x363b24=new _0x349b17(),_0x22b310=this[_0x5193fd(0xdf)];this[_0x5193fd(0xde)](_0x5193fd(0xd3),_0x1e4eec),_0x363b24[_0x5193fd(0xd9)]=_0x5a413d,this[_0x5193fd(0xdc)]({'tag':_0x5193fd(0xd6),'attributes':{'class':['ck',_0x5193fd(0xe0)]},'children':[_0x363b24,{'text':_0x22b310['to'](_0x5193fd(0xd3))}]});}}
|