@ckeditor/ckeditor5-ai 45.1.0-alpha.1 → 45.1.0-alpha.3
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 _0x3aa008=_0x50cc;(function(_0x260b9b,_0x585575){const _0x478390=_0x50cc,_0x2b9a1b=_0x260b9b();while(!![]){try{const _0x62befb=-parseInt(_0x478390(0xe8))/0x1*(parseInt(_0x478390(0xf9))/0x2)+-parseInt(_0x478390(0x132))/0x3+-parseInt(_0x478390(0x11f))/0x4+-parseInt(_0x478390(0xfc))/0x5+-parseInt(_0x478390(0x131))/0x6*(parseInt(_0x478390(0x13d))/0x7)+parseInt(_0x478390(0x10c))/0x8+parseInt(_0x478390(0x12c))/0x9;if(_0x62befb===_0x585575)break;else _0x2b9a1b['push'](_0x2b9a1b['shift']());}catch(_0x497ea9){_0x2b9a1b['push'](_0x2b9a1b['shift']());}}}(_0x5099,0xd3438));import{uid as _0x2bea28}from'ckeditor5/src/utils.js';import{Plugin as _0xd9c520}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3ad332}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x300bdb,DataTransfer as _0x4dc331}from'ckeditor5/src/engine.js';function _0x5099(){const _0x1f580e=['getSelectedBlocks','_pasteHTMLUsingClipboard','_prepareTableInsertBelowPosition','start','updateMarker','getLastPosition','3491047GxFjuG','element','markers','has','once','afterInit','span','markerToHighlight','last','model','getRanges','insertContentBelow','first','createUIElement','contentInsertion','insertContent','ck-fake-ai-selection','push','isContent','hideFakeVisualSelection','isAtEnd','filter','for','fire','1ZmKcMt','ck-ai-assistant-ui_theme','ai-ui','fromCharCode','pop','paste','canEditAt','editingDowncast','setSelection','_getTableRowCountFromContent','getSelectedTableCells','lowest','pluginName','change','off','map','from','3073212BcgKOJ','forEach','findAncestor','6788405FDCGIw','createSelection','text/html','markerToElement','selection','getChildren','get','getColumnIndexes','_getDefaultInsertBelowPosition','getRange','href','removeMarker','_getAISelection','editor','_resetContentOfSelectedTableCells','deleteContent','2937120CHmPez','conversion','schema','getRows','getChild','getRowIndexes','length','config','markerRange','getLastMatchingPosition','resultRange','init','editing','setData','table','join','insertRows','createPositionAt','isPremiumPlugin','468040zaYGau','end','ck-fake-ai-selection_collapsed','plugins','TableUtils','getMarkersGroup','createPositionAfter','AIAssistantEditing','_createEmptyTableRows','createRange','showFakeVisualSelection','data','addMarker','43372962VATmZz','isCollapsed','getFirstRange','parse','addClass','6fdGFcF','2433012HrZvGG','document','isOfficialPlugin','ai.useTheme','DataTransfer'];_0x5099=function(){return _0x1f580e;};return _0x5099();}function _0x50cc(_0x8a65a6,_0x2e2571){const _0x50993b=_0x5099();return _0x50cc=function(_0x50ccc2,_0x2ed6c6){_0x50ccc2=_0x50ccc2-0xde;let _0x3d3639=_0x50993b[_0x50ccc2];return _0x3d3639;},_0x50cc(_0x8a65a6,_0x2e2571);}const w=globalThis[_0x3aa008(0x136)],f=_0x3aa008(0xea);export default class a extends _0xd9c520{static get[_0x3aa008(0xf4)](){const _0x44dc19=_0x3aa008;return _0x44dc19(0x126);}static get[_0x3aa008(0x134)](){return!0x0;}static get[_0x3aa008(0x11e)](){return!0x0;}[_0x3aa008(0x117)](){const _0x2ad675=_0x3aa008,{editor:_0x521fc4}=this,_0x1f97c1=[_0x2ad675(0xe0)];_0x521fc4[_0x2ad675(0x113)][_0x2ad675(0x102)](_0x2ad675(0x135))&&_0x1f97c1[_0x2ad675(0xe1)](_0x2ad675(0xe9)),_0x521fc4[_0x2ad675(0x10d)][_0x2ad675(0xe6)](_0x2ad675(0xef))[_0x2ad675(0x144)]({'model':f,'view':{'classes':_0x1f97c1,'priority':0xc}}),_0x521fc4[_0x2ad675(0x10d)][_0x2ad675(0xe6)](_0x2ad675(0xef))[_0x2ad675(0xff)]({'model':f,'view':(_0x35ad2a,{writer:_0x5b396e})=>{const _0xf6025b=_0x2ad675;if(!_0x35ad2a[_0xf6025b(0x114)][_0xf6025b(0x12d)])return null;const _0x2c74e3=_0x5b396e[_0xf6025b(0x14a)](_0xf6025b(0x143));return _0x5b396e[_0xf6025b(0x130)]([_0xf6025b(0xe0),_0xf6025b(0x121)],_0x2c74e3),_0x2c74e3;}});}[_0x3aa008(0x142)](){!async function(_0x284a03){const _0xf13c4c=_0x32a9be([0x52,0x76,0x73,0x5a,0x4f,0x63,0x50,0x37,0x67,0x31,0x48,0x4e,0x62,0x33,0x7a,0x64,0x65,0x47,0x42,0x44,0x75,0x69,0x49,0x77,0x79,0x43,0x66,0x59,0x6c,0x41,0x78,0x51,0x55,0x56,0x61,0x57,0x4b,0x46,0x6a,0x34,0x39,0x74,0x54,0x35,0x45,0x68,0x70,0x30,0x71,0x6d,0x38,0x58,0x6b,0x4d,0x4c,0x4a,0x53,0x6e,0x36,0x72,0x32,0x6f]),_0x51b684=0x79abb50,_0x4a12cb=0x79ddc10^_0x51b684,_0x97201c=window[_0x32a9be([0x44,0x61,0x74,0x65])][_0x32a9be([0x6e,0x6f,0x77])](),_0x4bcf27=_0x284a03[_0x32a9be([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37e691=new window[(_0x32a9be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21e5b4=>{_0x4bcf27[_0x32a9be([0x6f,0x6e,0x63,0x65])](_0x32a9be([0x72,0x65,0x61,0x64,0x79]),_0x21e5b4);}),_0x387887={[_0x32a9be([0x6b,0x74,0x79])]:_0x32a9be([0x45,0x43]),[_0x32a9be([0x75,0x73,0x65])]:_0x32a9be([0x73,0x69,0x67]),[_0x32a9be([0x63,0x72,0x76])]:_0x32a9be([0x50,0x2d,0x32,0x35,0x36]),[_0x32a9be([0x78])]:_0x32a9be([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]),[_0x32a9be([0x79])]:_0x32a9be([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]),[_0x32a9be([0x61,0x6c,0x67])]:_0x32a9be([0x45,0x53,0x32,0x35,0x36])},_0x42bd27=_0x4bcf27[_0x32a9be([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32a9be([0x67,0x65,0x74])](_0x32a9be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x170db1(){let _0x2e540d,_0x23f728=null,_0x15b85e=null;try{if(_0x42bd27==_0x32a9be([0x47,0x50,0x4c]))return _0x32a9be([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e540d=_0x1ea276(),!_0x2e540d)return _0x32a9be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e540d[_0x32a9be([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15b85e=_0x2c989a(_0x2e540d[_0x32a9be([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e540d[_0x32a9be([0x6a,0x74,0x69])])),await _0x303d67()?_0x1fad39()?_0x222566()?_0x32a9be([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f43e5()?(_0x2e540d[_0x32a9be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32a9be([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23f728=_0x50dc3a(_0x32a9be([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e540d[_0x32a9be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32a9be([0x74,0x72,0x69,0x61,0x6c])&&(_0x23f728=_0x50dc3a(_0x32a9be([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5471b5()):_0x32a9be([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32a9be([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32a9be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4b8e9c){return _0x32a9be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x222566(){const _0x1399b3=[_0x32a9be([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32a9be([0x74,0x72,0x69,0x61,0x6c])][_0x32a9be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e540d[_0x32a9be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x97201c/0x3e8:0xe10*_0x4a12cb;return _0x2e540d[_0x32a9be([0x65,0x78,0x70])]<_0x1399b3;}function _0x1fad39(){const _0x47afcd=_0x2e540d[_0x32a9be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47afcd&&(!!_0x47afcd[_0x32a9be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32a9be([0x2a]))||!!_0x47afcd[_0x32a9be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32a9be([0x41,0x49])));}function _0x3f43e5(){const _0x4da20c=_0x50cc,_0x454b74=_0x2e540d[_0x32a9be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x454b74||0x0==_0x454b74[_0x32a9be([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x202e21}=new URL(window[_0x32a9be([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4da20c(0x106)]);if(_0x454b74[_0x32a9be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x202e21))return!0x0;const _0x5be773=_0x202e21[_0x32a9be([0x73,0x70,0x6c,0x69,0x74])](_0x32a9be([0x2e]));return _0x454b74[_0x32a9be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x587863=>_0x587863[_0x32a9be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32a9be([0x2a])))[_0x32a9be([0x6d,0x61,0x70])](_0x258d5c=>_0x258d5c[_0x32a9be([0x73,0x70,0x6c,0x69,0x74])](_0x32a9be([0x2e])))[_0x32a9be([0x73,0x6f,0x6d,0x65])](_0x1a7ade=>_0x5be773[_0x32a9be([0x65,0x76,0x65,0x72,0x79])]((_0x955207,_0x4ee738)=>_0x1a7ade[_0x4ee738]===_0x955207||_0x1a7ade[_0x4ee738]===_0x32a9be([0x2a])));}function _0x5471b5(){return _0x23f728&&_0x15b85e?new window[(_0x32a9be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x191e9a,_0x5a9a98)=>{_0x23f728[_0x32a9be([0x74,0x68,0x65,0x6e])](_0x191e9a,_0x5a9a98),_0x15b85e[_0x32a9be([0x74,0x68,0x65,0x6e])](_0x561653=>{_0x561653!=_0x32a9be([0x56,0x61,0x6c,0x69,0x64])&&_0x191e9a(_0x561653);},_0x5a9a98);}):_0x23f728||_0x15b85e||_0x32a9be([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c989a(_0xbac3e6,_0x1f5c77){return new window[(_0x32a9be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x597a36=>{if(_0x2c122a())return _0x597a36(_0x32a9be([0x56,0x61,0x6c,0x69,0x64]));_0x134839(),_0x4bcf27[_0x32a9be([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32a9be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bd867=!0x1;const _0x4138ac=_0x2bea28();function _0x1e1487(_0x26b58d){return!!_0x26b58d&&(typeof _0x26b58d===_0x32a9be([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x26b58d===_0x32a9be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x26b58d[_0x32a9be([0x74,0x68,0x65,0x6e])]===_0x32a9be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x26b58d[_0x32a9be([0x63,0x61,0x74,0x63,0x68])]===_0x32a9be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x336fdf(_0x1b0499){_0x2786e9(_0x1b0499)[_0x32a9be([0x74,0x68,0x65,0x6e])](_0x46270b=>{if(!_0x46270b||_0x46270b[_0x32a9be([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32a9be([0x6f,0x6b]))return _0x32a9be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ba502(_0x3fabc4(_0x4138ac+_0x1f5c77))!=_0x46270b[_0x32a9be([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32a9be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32a9be([0x56,0x61,0x6c,0x69,0x64]);})[_0x32a9be([0x74,0x68,0x65,0x6e])](_0x2dfda1=>(_0x133566(),_0x2dfda1),()=>{const _0xd2b4a7=_0x5e654b();return null==_0xd2b4a7?(_0x133566(),_0x32a9be([0x56,0x61,0x6c,0x69,0x64])):_0x32a9be(_0x97201c-_0xd2b4a7>(0x23963f50^_0x51b684)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32a9be([0x74,0x68,0x65,0x6e])](_0x597a36)[_0x32a9be([0x63,0x61,0x74,0x63,0x68])](()=>{_0x597a36(_0x32a9be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c94c4=0x7ac55d0^_0x51b684;function _0x133566(){const _0x2b6598=_0x32a9be([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ba502(_0x3fabc4(_0xbac3e6)),_0x5be1b7=_0x34e33c(_0x1ba502(window[_0x32a9be([0x4d,0x61,0x74,0x68])][_0x32a9be([0x63,0x65,0x69,0x6c])](_0x97201c/_0x1c94c4)));window[_0x32a9be([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32a9be([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b6598,_0x5be1b7);}function _0x5e654b(){const _0x392ac0=_0x32a9be([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ba502(_0x3fabc4(_0xbac3e6)),_0x2998c1=window[_0x32a9be([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32a9be([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x392ac0);return _0x2998c1?window[_0x32a9be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34e33c(_0x2998c1),0x10)*_0x1c94c4:null;}function _0x2786e9(_0x2ae79d){return new window[(_0x32a9be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1616ad,_0x280084)=>{_0x2ae79d[_0x32a9be([0x74,0x68,0x65,0x6e])](_0x1616ad,_0x280084),window[_0x32a9be([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x280084,0x79b6f90^_0x51b684);});}}_0x4bcf27[_0x32a9be([0x6f,0x6e])](_0x32a9be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a11f8,_0x30a47f)=>{if(_0x30a47f[0x0]!=_0xbac3e6)return _0x597a36(_0x32a9be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30a47f[0x1]={..._0x30a47f[0x1],[_0x32a9be([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4138ac};},{[_0x32a9be([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32a9be([0x68,0x69,0x67,0x68])}),_0x4bcf27[_0x32a9be([0x6f,0x6e])](_0x32a9be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x526478=>{_0x1e1487(_0x526478[_0x32a9be([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bd867=!0x0,_0x336fdf(_0x526478[_0x32a9be([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32a9be([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32a9be([0x6c,0x6f,0x77])}),_0x37e691[_0x32a9be([0x74,0x68,0x65,0x6e])](()=>{_0x4bd867||_0x597a36(_0x32a9be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c122a(){return _0x4bcf27[_0x32a9be([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32a9be([0x76,0x69,0x65,0x77])][_0x32a9be([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32a9be([0x61,0x75,0x74,0x6f]);}function _0x134839(){_0x4bcf27[_0x32a9be([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32a9be([0x76,0x69,0x65,0x77])][_0x32a9be([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32a9be([0x61,0x75,0x74,0x6f]);}}function _0x50dc3a(_0x4d79d9){const _0x40ee5b=[new window[(_0x32a9be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x63b6e1=>setTimeout(_0x63b6e1,0x793859c^_0x51b684)),_0x37e691[_0x32a9be([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32a9be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x472b2b=>{let _0x522e17=0x0;_0x4bcf27[_0x32a9be([0x6d,0x6f,0x64,0x65,0x6c])][_0x32a9be([0x6f,0x6e])](_0x32a9be([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x201f27,_0x522c51)=>{_0x522c51[0x0][_0x32a9be([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x522e17++,_0x522e17==(0x79abaa8^_0x51b684)&&(_0x472b2b(),_0x201f27[_0x32a9be([0x6f,0x66,0x66])]());});}))];return window[_0x32a9be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32a9be([0x72,0x61,0x63,0x65])](_0x40ee5b)[_0x32a9be([0x74,0x68,0x65,0x6e])](()=>_0x4d79d9);}async function _0x5f3053(){await _0x37e691,_0x4bcf27[_0x32a9be([0x6d,0x6f,0x64,0x65,0x6c])][_0x32a9be([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x15ec66,_0x4bcf27[_0x32a9be([0x6d,0x6f,0x64,0x65,0x6c])][_0x32a9be([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x15ec66,_0x4bcf27[_0x32a9be([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32a9be([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30b28d(_0x558e04){const _0x272bf6=_0x1f2700();_0x4bcf27[_0x272bf6]=_0x32a9be([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x558e04,_0x558e04!=_0x32a9be([0x56,0x61,0x6c,0x69,0x64])&&_0x5f3053();}function _0x1f2700(){const _0x433097=window[_0x32a9be([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32a9be([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32a9be([0x6e,0x6f,0x77])]())[_0x32a9be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32a9be([0x2e]),'');let _0x46c0eb=_0x32a9be([0x52]);for(let _0x333983=0x0;_0x333983<_0x433097[_0x32a9be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x333983+=0x2){let _0x25a1a5=window[_0x32a9be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x433097[_0x32a9be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x333983,_0x333983+0x2));_0x25a1a5>=_0xf13c4c[_0x32a9be([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25a1a5-=_0xf13c4c[_0x32a9be([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46c0eb+=_0xf13c4c[_0x25a1a5];}return _0x46c0eb;}function _0x1ea276(){const _0x30332d=_0x42bd27[_0x32a9be([0x73,0x70,0x6c,0x69,0x74])](_0x32a9be([0x2e]));if(0x3!=_0x30332d[_0x32a9be([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f513d(_0x30332d[0x1]);function _0x3f513d(_0x372674){const _0x4f6ab6=_0x5a2a9b(_0x372674);return _0x4f6ab6&&_0x1df2bf()?_0x4f6ab6:null;function _0x1df2bf(){const _0x5d9d42=_0x4f6ab6[_0x32a9be([0x6a,0x74,0x69])],_0x1ad0d5=window[_0x32a9be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d9d42[_0x32a9be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d9d42[_0x32a9be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x416773={..._0x4f6ab6,[_0x32a9be([0x6a,0x74,0x69])]:_0x5d9d42[_0x32a9be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d9d42[_0x32a9be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x416773[_0x32a9be([0x76,0x63])],_0x3fabc4(_0x416773)==_0x1ad0d5;}}}async function _0x303d67(){let _0x2a30f0=!0x0;try{const _0x32d10b=_0x42bd27[_0x32a9be([0x73,0x70,0x6c,0x69,0x74])](_0x32a9be([0x2e])),[_0x2069f2,_0x1986b5,_0x4bc773]=_0x32d10b;return _0x376b3d(_0x2069f2),await _0x6e557(_0x2069f2,_0x1986b5,_0x4bc773),_0x2a30f0;}catch(_0xc53688){return!0x1;}function _0x376b3d(_0x5dbb31){const _0x5131a7=_0x5a2a9b(_0x5dbb31);_0x5131a7&&_0x5131a7[_0x32a9be([0x61,0x6c,0x67])]==_0x32a9be([0x45,0x53,0x32,0x35,0x36])||(_0x2a30f0=!0x1);}async function _0x6e557(_0xbb6218,_0x4c2a3a,_0xe9c815){const _0x1635f4=window[_0x32a9be([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32a9be([0x66,0x72,0x6f,0x6d])](_0x1b91b7(_0xe9c815),_0x7f321e=>_0x7f321e[_0x32a9be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34d774=new window[(_0x32a9be([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32a9be([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xbb6218+_0x32a9be([0x2e])+_0x4c2a3a),_0x18d807=window[_0x32a9be([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32a9be([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x18d807)return;const _0x1b5baa=await _0x18d807[_0x32a9be([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32a9be([0x6a,0x77,0x6b]),_0x387887,{[_0x32a9be([0x6e,0x61,0x6d,0x65])]:_0x32a9be([0x45,0x43,0x44,0x53,0x41]),[_0x32a9be([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32a9be([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32a9be([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x18d807[_0x32a9be([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32a9be([0x6e,0x61,0x6d,0x65])]:_0x32a9be([0x45,0x43,0x44,0x53,0x41]),[_0x32a9be([0x68,0x61,0x73,0x68])]:{[_0x32a9be([0x6e,0x61,0x6d,0x65])]:_0x32a9be([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b5baa,_0x1635f4,_0x34d774)||(_0x2a30f0=!0x1);}}function _0x5a2a9b(_0x536878){return _0x536878[_0x32a9be([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32a9be([0x65,0x79]))?JSON[_0x32a9be([0x70,0x61,0x72,0x73,0x65])](_0x1b91b7(_0x536878)):null;}function _0x1b91b7(_0x2e58ac){return window[_0x32a9be([0x61,0x74,0x6f,0x62])](_0x2e58ac[_0x32a9be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32a9be([0x2b]))[_0x32a9be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32a9be([0x2f])));}function _0x3fabc4(_0x170668){let _0x4b804d=0x1505;function _0x4363c9(_0x397af8){for(let _0x4ced84=0x0;_0x4ced84<_0x397af8[_0x32a9be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ced84++){const _0x8f2339=_0x397af8[_0x32a9be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ced84);_0x4b804d=(_0x4b804d<<0x5)+_0x4b804d+_0x8f2339,_0x4b804d&=_0x4b804d;}}function _0x589be4(_0xd84192){Array[_0x32a9be([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd84192)?_0xd84192[_0x32a9be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x589be4):_0xd84192&&typeof _0xd84192==_0x32a9be([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32a9be([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd84192)[_0x32a9be([0x73,0x6f,0x72,0x74])]()[_0x32a9be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc3820e,_0x287a5d])=>{_0x4363c9(_0xc3820e),_0x589be4(_0x287a5d);}):_0x4363c9(window[_0x32a9be([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd84192));}return _0x589be4(_0x170668),_0x4b804d>>>0x0;}function _0x1ba502(_0x17d4fb){return _0x17d4fb[_0x32a9be([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32a9be([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32a9be([0x30]));}function _0x34e33c(_0x25e296){return _0x25e296[_0x32a9be([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32a9be([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32a9be([0x6a,0x6f,0x69,0x6e])]('');}function _0x15ec66(){}function _0x32a9be(_0xc5bad2){const _0x333f30=_0x50cc;return _0xc5bad2[_0x333f30(0xf7)](_0x2523f0=>String[_0x333f30(0xeb)](_0x2523f0))[_0x333f30(0x11b)]('');}_0x30b28d(await _0x170db1());}(this);}[_0x3aa008(0x129)](){const _0x42fad8=_0x3aa008,_0x17653e=this[_0x42fad8(0x109)][_0x42fad8(0x146)];_0x17653e[_0x42fad8(0xf5)](_0xb3a3c4=>{const _0x42551e=_0x42fad8,_0x4732ab=_0x17653e[_0x42551e(0x133)][_0x42551e(0x100)][_0x42551e(0x147)]();let _0x19ba1f=0x0;for(const _0x492d55 of _0x4732ab){const _0x5af36a=f+':'+_0x19ba1f;if(_0x17653e[_0x42551e(0x13f)][_0x42551e(0x140)](_0x5af36a))_0xb3a3c4[_0x42551e(0x13b)](_0x5af36a,{'range':_0x492d55});else{if(_0x492d55[_0x42551e(0x13a)][_0x42551e(0xe4)]){const _0x241460=_0x492d55[_0x42551e(0x13a)][_0x42551e(0x115)](({item:_0x37b276})=>!_0x17653e[_0x42551e(0x10e)][_0x42551e(0xe2)](_0x37b276),{'boundaries':_0x492d55});_0xb3a3c4[_0x42551e(0x12b)](_0x5af36a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xb3a3c4[_0x42551e(0x128)](_0x241460,_0x492d55[_0x42551e(0x120)])});}else _0xb3a3c4[_0x42551e(0x12b)](_0x5af36a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x492d55});}_0x19ba1f++;}});}[_0x3aa008(0xe3)](){const _0x5d460e=_0x3aa008,_0x24a490=this[_0x5d460e(0x109)][_0x5d460e(0x146)],_0x82849e=Array[_0x5d460e(0xf8)](this[_0x5d460e(0x109)][_0x5d460e(0x146)][_0x5d460e(0x13f)][_0x5d460e(0x124)](f));_0x82849e[_0x5d460e(0x112)]&&_0x24a490[_0x5d460e(0xf5)](_0x508812=>{const _0x535bbd=_0x5d460e;_0x82849e[_0x535bbd(0xfa)](_0x407bb7=>{const _0x25d9c2=_0x535bbd;_0x508812[_0x25d9c2(0x107)](_0x407bb7);});});}[_0x3aa008(0xdf)](_0x586cab,_0x296d94){const _0x1eff87=_0x3aa008,_0x5c30f6=this[_0x1eff87(0x108)](),_0x34eb22=_0x296d94||_0x5c30f6[_0x1eff87(0x12e)]();this[_0x1eff87(0x109)][_0x1eff87(0x146)][_0x1eff87(0xee)](_0x34eb22)&&this[_0x1eff87(0x109)][_0x1eff87(0x146)][_0x1eff87(0xf5)](_0x2c0d8d=>{const _0xe5659=_0x1eff87;this[_0xe5659(0xe3)](),_0x296d94||this[_0xe5659(0x10a)](_0x2c0d8d,_0x5c30f6),this[_0xe5659(0x138)]({'insertAt':_0x34eb22,'writer':_0x2c0d8d,'html':_0x586cab});});}[_0x3aa008(0x148)](_0xbd725b){const _0x2477fe=_0x3aa008,{model:_0x35a129}=this[_0x2477fe(0x109)],_0x3dfca8=this[_0x2477fe(0x108)]();_0x35a129[_0x2477fe(0xf5)](()=>{const _0x13fb5c=_0x2477fe,_0x3c18b2=this[_0x13fb5c(0x139)](_0xbd725b,_0x3dfca8)||this[_0x13fb5c(0x104)](_0x3dfca8);this[_0x13fb5c(0xdf)](_0xbd725b,_0x3c18b2);});}[_0x3aa008(0x108)](){const _0x5f29cc=_0x3aa008,_0x107c48=this[_0x5f29cc(0x109)][_0x5f29cc(0x146)],_0xb25210=Array[_0x5f29cc(0xf8)](_0x107c48[_0x5f29cc(0x13f)][_0x5f29cc(0x124)](f))[_0x5f29cc(0xf7)](_0x4b19cf=>_0x4b19cf[_0x5f29cc(0x105)]());return _0x107c48[_0x5f29cc(0xfd)](_0xb25210);}[_0x3aa008(0x138)]({writer:_0x219b8c,html:_0x339001,insertAt:_0x4d2b08}){const _0x1b2385=_0x3aa008,{view:_0x3074d6}=this[_0x1b2385(0x109)][_0x1b2385(0x118)],_0x376b6f=this[_0x1b2385(0x109)][_0x1b2385(0x122)][_0x1b2385(0x102)](_0x3ad332),_0x147820=new w();_0x147820[_0x1b2385(0x119)](_0x1b2385(0xfe),_0x339001);const _0x5d8641=new ClipboardEvent(_0x1b2385(0xed),{'clipboardData':_0x147820}),_0xa630df=new _0x300bdb(_0x3074d6,_0x5d8641,{'dataTransfer':new _0x4dc331(_0x147820)});_0x219b8c[_0x1b2385(0xf0)](_0x4d2b08);const _0x13370c=(_0x57494f,_0x1f4c6d)=>{const _0x559c64=_0x1b2385;_0x1f4c6d[_0x559c64(0x116)]&&_0x219b8c[_0x559c64(0xf0)](_0x1f4c6d[_0x559c64(0x116)]);};_0x376b6f[_0x1b2385(0x141)](_0x1b2385(0xde),_0x13370c,{'priority':_0x1b2385(0xf3)}),_0x3074d6[_0x1b2385(0x133)][_0x1b2385(0xe7)](_0x1b2385(0xed),_0xa630df),_0x376b6f[_0x1b2385(0xf6)](_0x1b2385(0xde),_0x13370c);}[_0x3aa008(0x104)](_0x2e0a9a){const _0xc5135=_0x3aa008,{model:_0x2741e4}=this[_0xc5135(0x109)],_0x1f8a89=Array[_0xc5135(0xf8)](_0x2e0a9a[_0xc5135(0x137)]());return _0x1f8a89[_0xc5135(0x112)]?_0x2741e4[_0xc5135(0x125)](_0x1f8a89[_0xc5135(0xec)]()):_0x2e0a9a[_0xc5135(0x13c)]();}[_0x3aa008(0x139)](_0xffbf7c,_0x492f06){const _0x3270b5=_0x3aa008,{model:_0x5a331a,plugins:_0x945b5d}=this[_0x3270b5(0x109)];if(_0x945b5d[_0x3270b5(0x140)](_0x3270b5(0x123))){const _0x399f5f=_0x945b5d[_0x3270b5(0x102)](_0x3270b5(0x123))[_0x3270b5(0xf2)](_0x492f06);if(_0x399f5f[_0x3270b5(0x112)]){const _0x1b41b9=this[_0x3270b5(0xf1)](_0xffbf7c),_0x181cf1=this[_0x3270b5(0x127)](_0x399f5f,_0x1b41b9);return _0x5a331a[_0x3270b5(0x11d)](_0x181cf1,0x0);}}return null;}[_0x3aa008(0xf1)](_0x64fff1){const _0x3fb4db=_0x3aa008,_0x18d7e6=this[_0x3fb4db(0x109)][_0x3fb4db(0x122)][_0x3fb4db(0x102)](_0x3fb4db(0x123)),_0x2ecff0=this[_0x3fb4db(0x109)][_0x3fb4db(0x12a)][_0x3fb4db(0x12f)](_0x64fff1),_0x12bb6d=Array[_0x3fb4db(0xf8)](_0x2ecff0[_0x3fb4db(0x101)]())[_0x3fb4db(0xe5)](_0x49259e=>_0x49259e['is'](_0x3fb4db(0x13e),_0x3fb4db(0x11a)));let _0x2bff69=0x0;return _0x12bb6d[_0x3fb4db(0xfa)](_0x57ce9c=>{const _0xba52da=_0x3fb4db;_0x2bff69+=_0x18d7e6[_0xba52da(0x10f)](_0x57ce9c);}),_0x2bff69;}[_0x3aa008(0x127)](_0x191be8,_0x19f6b1){const _0x4354f8=_0x3aa008,_0x5c7b15=this[_0x4354f8(0x109)][_0x4354f8(0x122)][_0x4354f8(0x102)](_0x4354f8(0x123)),_0x5b23e8=_0x5c7b15[_0x4354f8(0x111)](_0x191be8),_0x24fb0b=_0x5c7b15[_0x4354f8(0x103)](_0x191be8),_0xa22fdb=_0x5b23e8[_0x4354f8(0x145)]+0x1,_0x194487=_0x24fb0b[_0x4354f8(0x149)],_0x5356d3=_0x191be8[0x0][_0x4354f8(0xfb)](_0x4354f8(0x11a));for(let _0x43b1a1=0x0;_0x43b1a1<_0x19f6b1;_0x43b1a1++)_0x5c7b15[_0x4354f8(0x11c)](_0x5356d3,{'at':_0xa22fdb});return _0x5356d3[_0x4354f8(0x110)](_0xa22fdb)[_0x4354f8(0x110)](_0x194487);}[_0x3aa008(0x10a)](_0x13bdca,_0x58f978){const _0x1f4641=_0x3aa008,{plugins:_0x43d065}=this[_0x1f4641(0x109)],{model:_0x21193b}=_0x13bdca;if(!_0x43d065[_0x1f4641(0x140)](_0x1f4641(0x123)))return;_0x43d065[_0x1f4641(0x102)](_0x1f4641(0x123))[_0x1f4641(0xf2)](_0x58f978)[_0x1f4641(0x112)]&&_0x21193b[_0x1f4641(0x10b)](_0x58f978);}}
|
|
23
|
+
const _0x1af856=_0x44c7;function _0x2a2f(){const _0x1cdd58=['last','AIAssistantEditing','getLastMatchingPosition','ai.useTheme','init','get','createSelection','change','for','join','forEach','length','findAncestor','removeMarker','1041144zPCxoN','getLastPosition','_prepareTableInsertBelowPosition','element','markerToHighlight','off','778HFQSeE','end','6963OpoVZJ','isAtEnd','95eFvyCR','pop','text/html','data','1KIGHoW','isOfficialPlugin','config','href','ck-fake-ai-selection_collapsed','editor','136OTJLUX','ai-ui','getMarkersGroup','filter','addClass','getChildren','getSelectedTableCells','getRanges','8658HjKzhW','fire','hideFakeVisualSelection','contentInsertion','getRows','plugins','3001790GFajOm','getFirstRange','span','setData','createUIElement','document','_getDefaultInsertBelowPosition','markerRange','model','36fFbvRp','afterInit','paste','getRowIndexes','from','push','_pasteHTMLUsingClipboard','map','resultRange','fromCharCode','updateMarker','233667WogPyx','createRange','editing','isCollapsed','conversion','99zhYIdy','ck-fake-ai-selection','createPositionAfter','parse','_resetContentOfSelectedTableCells','has','_getTableRowCountFromContent','selection','insertContentBelow','getSelectedBlocks','isContent','insertContent','189580Ddtxls','once','lowest','editingDowncast','isPremiumPlugin','first','addMarker','_createEmptyTableRows','start','markers','getChild','canEditAt','DataTransfer','table','TableUtils','deleteContent','pluginName','insertRows','_getAISelection','setSelection','markerToElement','ck-ai-assistant-ui_theme','getColumnIndexes','schema','createPositionAt','getRange','showFakeVisualSelection'];_0x2a2f=function(){return _0x1cdd58;};return _0x2a2f();}(function(_0x47f898,_0x49f576){const _0x471746=_0x44c7,_0x120063=_0x47f898();while(!![]){try{const _0x3d478a=-parseInt(_0x471746(0x1b6))/0x1*(parseInt(_0x471746(0x1ae))/0x2)+parseInt(_0x471746(0x1b0))/0x3*(-parseInt(_0x471746(0x163))/0x4)+-parseInt(_0x471746(0x1b2))/0x5*(parseInt(_0x471746(0x154))/0x6)+parseInt(_0x471746(0x16e))/0x7*(parseInt(_0x471746(0x1bc))/0x8)+-parseInt(_0x471746(0x173))/0x9*(-parseInt(_0x471746(0x17f))/0xa)+-parseInt(_0x471746(0x15a))/0xb+-parseInt(_0x471746(0x1a8))/0xc;if(_0x3d478a===_0x49f576)break;else _0x120063['push'](_0x120063['shift']());}catch(_0x3d98af){_0x120063['push'](_0x120063['shift']());}}}(_0x2a2f,0x59c34));function _0x44c7(_0x3df423,_0x4f3aec){const _0x2a2f7e=_0x2a2f();return _0x44c7=function(_0x44c7ea,_0xd03a9d){_0x44c7ea=_0x44c7ea-0x14f;let _0x3ec6c3=_0x2a2f7e[_0x44c7ea];return _0x3ec6c3;},_0x44c7(_0x3df423,_0x4f3aec);}import{uid as _0x446755}from'ckeditor5/src/utils.js';import{Plugin as _0x1a8be7}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x21be29}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x576f7b,DataTransfer as _0x32bec1}from'ckeditor5/src/engine.js';const w=globalThis[_0x1af856(0x18b)],f=_0x1af856(0x1bd);export default class a extends _0x1a8be7{static get[_0x1af856(0x18f)](){const _0x41909e=_0x1af856;return _0x41909e(0x19b);}static get[_0x1af856(0x1b7)](){return!0x0;}static get[_0x1af856(0x183)](){return!0x0;}[_0x1af856(0x19e)](){const _0x505464=_0x1af856,{editor:_0x594af4}=this,_0xe60c3e=[_0x505464(0x174)];_0x594af4[_0x505464(0x1b8)][_0x505464(0x19f)](_0x505464(0x19d))&&_0xe60c3e[_0x505464(0x168)](_0x505464(0x194)),_0x594af4[_0x505464(0x172)][_0x505464(0x1a2)](_0x505464(0x182))[_0x505464(0x1ac)]({'model':f,'view':{'classes':_0xe60c3e,'priority':0xc}}),_0x594af4[_0x505464(0x172)][_0x505464(0x1a2)](_0x505464(0x182))[_0x505464(0x193)]({'model':f,'view':(_0xcf5c71,{writer:_0x586a6d})=>{const _0x39b94f=_0x505464;if(!_0xcf5c71[_0x39b94f(0x161)][_0x39b94f(0x171)])return null;const _0x146760=_0x586a6d[_0x39b94f(0x15e)](_0x39b94f(0x15c));return _0x586a6d[_0x39b94f(0x150)]([_0x39b94f(0x174),_0x39b94f(0x1ba)],_0x146760),_0x146760;}});}[_0x1af856(0x164)](){!async function(_0x14fade){const _0x5ecca2=_0x11061d([0x47,0x62,0x4e,0x55,0x64,0x50,0x35,0x56,0x52,0x36,0x54,0x71,0x5a,0x4f,0x57,0x76,0x59,0x61,0x79,0x30,0x34,0x48,0x4d,0x4a,0x66,0x4b,0x32,0x42,0x44,0x46,0x53,0x77,0x65,0x58,0x68,0x63,0x33,0x49,0x70,0x6d,0x72,0x38,0x6b,0x67,0x51,0x37,0x74,0x41,0x39,0x69,0x45,0x78,0x6a,0x43,0x6e,0x31,0x75,0x4c,0x73,0x6f,0x7a,0x6c]),_0x524970=0x3aa4b3bd,_0x4cdd65=0x3aa3d4cd^_0x524970,_0x59771a=window[_0x11061d([0x44,0x61,0x74,0x65])][_0x11061d([0x6e,0x6f,0x77])](),_0x13efa8=_0x14fade[_0x11061d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x222f67=new window[(_0x11061d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b9c1c=>{_0x13efa8[_0x11061d([0x6f,0x6e,0x63,0x65])](_0x11061d([0x72,0x65,0x61,0x64,0x79]),_0x3b9c1c);}),_0xb487b3={[_0x11061d([0x6b,0x74,0x79])]:_0x11061d([0x45,0x43]),[_0x11061d([0x75,0x73,0x65])]:_0x11061d([0x73,0x69,0x67]),[_0x11061d([0x63,0x72,0x76])]:_0x11061d([0x50,0x2d,0x32,0x35,0x36]),[_0x11061d([0x78])]:_0x11061d([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]),[_0x11061d([0x79])]:_0x11061d([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]),[_0x11061d([0x61,0x6c,0x67])]:_0x11061d([0x45,0x53,0x32,0x35,0x36])},_0x250bf2=_0x13efa8[_0x11061d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11061d([0x67,0x65,0x74])](_0x11061d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4654(){let _0x37ade8,_0x17a415=null,_0x38d2a0=null;try{if(_0x250bf2==_0x11061d([0x47,0x50,0x4c]))return _0x11061d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x37ade8=_0x1f5e6c(),!_0x37ade8)return _0x11061d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x37ade8[_0x11061d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38d2a0=_0x80940a(_0x37ade8[_0x11061d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x37ade8[_0x11061d([0x6a,0x74,0x69])])),await _0x26cd6d()?_0x74c42a()?_0x1f2762()?_0x11061d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e1945()?(_0x37ade8[_0x11061d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11061d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17a415=_0x3827b2(_0x11061d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x37ade8[_0x11061d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11061d([0x74,0x72,0x69,0x61,0x6c])&&(_0x17a415=_0x3827b2(_0x11061d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1571d9()):_0x11061d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11061d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11061d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x35a593){return _0x11061d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f2762(){const _0x21c21d=[_0x11061d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11061d([0x74,0x72,0x69,0x61,0x6c])][_0x11061d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37ade8[_0x11061d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x59771a/0x3e8:0xe10*_0x4cdd65;return _0x37ade8[_0x11061d([0x65,0x78,0x70])]<_0x21c21d;}function _0x74c42a(){const _0x585fbb=_0x37ade8[_0x11061d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x585fbb&&(!!_0x585fbb[_0x11061d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11061d([0x2a]))||!!_0x585fbb[_0x11061d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11061d([0x41,0x49])));}function _0x2e1945(){const _0x54c7f3=_0x44c7,_0x46db61=_0x37ade8[_0x11061d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46db61||0x0==_0x46db61[_0x11061d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f1573}=new URL(window[_0x11061d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x54c7f3(0x1b9)]);if(_0x46db61[_0x11061d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1573))return!0x0;const _0x5ab1fe=_0x1f1573[_0x11061d([0x73,0x70,0x6c,0x69,0x74])](_0x11061d([0x2e]));return _0x46db61[_0x11061d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8161f0=>_0x8161f0[_0x11061d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11061d([0x2a])))[_0x11061d([0x6d,0x61,0x70])](_0x59dfb1=>_0x59dfb1[_0x11061d([0x73,0x70,0x6c,0x69,0x74])](_0x11061d([0x2e])))[_0x11061d([0x73,0x6f,0x6d,0x65])](_0x3dde2a=>_0x5ab1fe[_0x11061d([0x65,0x76,0x65,0x72,0x79])]((_0x9e78a8,_0x1173aa)=>_0x3dde2a[_0x1173aa]===_0x9e78a8||_0x3dde2a[_0x1173aa]===_0x11061d([0x2a])));}function _0x1571d9(){return _0x17a415&&_0x38d2a0?new window[(_0x11061d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4afa3e,_0x54f836)=>{_0x17a415[_0x11061d([0x74,0x68,0x65,0x6e])](_0x4afa3e,_0x54f836),_0x38d2a0[_0x11061d([0x74,0x68,0x65,0x6e])](_0x4a24be=>{_0x4a24be!=_0x11061d([0x56,0x61,0x6c,0x69,0x64])&&_0x4afa3e(_0x4a24be);},_0x54f836);}):_0x17a415||_0x38d2a0||_0x11061d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x80940a(_0x29ca6e,_0x213f59){return new window[(_0x11061d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19992e=>{if(_0x59d8d6())return _0x19992e(_0x11061d([0x56,0x61,0x6c,0x69,0x64]));_0x5061b7(),_0x13efa8[_0x11061d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11061d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4aa36a=!0x1;const _0x194a33=_0x446755();function _0x5b684e(_0x435ae8){return!!_0x435ae8&&(typeof _0x435ae8===_0x11061d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x435ae8===_0x11061d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x435ae8[_0x11061d([0x74,0x68,0x65,0x6e])]===_0x11061d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x435ae8[_0x11061d([0x63,0x61,0x74,0x63,0x68])]===_0x11061d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1550ad(_0x4223bc){_0x49fd21(_0x4223bc)[_0x11061d([0x74,0x68,0x65,0x6e])](_0x46220a=>{if(!_0x46220a||_0x46220a[_0x11061d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11061d([0x6f,0x6b]))return _0x11061d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c071f(_0x815127(_0x194a33+_0x213f59))!=_0x46220a[_0x11061d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11061d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11061d([0x56,0x61,0x6c,0x69,0x64]);})[_0x11061d([0x74,0x68,0x65,0x6e])](_0x1d8e47=>(_0x3b7279(),_0x1d8e47),()=>{const _0x5577d2=_0x5944b5();return null==_0x5577d2?(_0x3b7279(),_0x11061d([0x56,0x61,0x6c,0x69,0x64])):_0x11061d(_0x59771a-_0x5577d2>(0x1ea837bd^_0x524970)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11061d([0x74,0x68,0x65,0x6e])](_0x19992e)[_0x11061d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19992e(_0x11061d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4cd048=0x3a925d3d^_0x524970;function _0x3b7279(){const _0xc7bca7=_0x11061d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c071f(_0x815127(_0x29ca6e)),_0x1cc4fa=_0x53d879(_0x1c071f(window[_0x11061d([0x4d,0x61,0x74,0x68])][_0x11061d([0x63,0x65,0x69,0x6c])](_0x59771a/_0x4cd048)));window[_0x11061d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11061d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc7bca7,_0x1cc4fa);}function _0x5944b5(){const _0xfa34e7=_0x11061d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c071f(_0x815127(_0x29ca6e)),_0x23a2c2=window[_0x11061d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11061d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfa34e7);return _0x23a2c2?window[_0x11061d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53d879(_0x23a2c2),0x10)*_0x4cd048:null;}function _0x49fd21(_0x1bbb7e){return new window[(_0x11061d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x267c8d,_0x43f3d6)=>{_0x1bbb7e[_0x11061d([0x74,0x68,0x65,0x6e])](_0x267c8d,_0x43f3d6),window[_0x11061d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x43f3d6,0x3aa5677d^_0x524970);});}}_0x13efa8[_0x11061d([0x6f,0x6e])](_0x11061d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17c4ae,_0x3bcbde)=>{if(_0x3bcbde[0x0]!=_0x29ca6e)return _0x19992e(_0x11061d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3bcbde[0x1]={..._0x3bcbde[0x1],[_0x11061d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x194a33};},{[_0x11061d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11061d([0x68,0x69,0x67,0x68])}),_0x13efa8[_0x11061d([0x6f,0x6e])](_0x11061d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b597c=>{_0x5b684e(_0x4b597c[_0x11061d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4aa36a=!0x0,_0x1550ad(_0x4b597c[_0x11061d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11061d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11061d([0x6c,0x6f,0x77])}),_0x222f67[_0x11061d([0x74,0x68,0x65,0x6e])](()=>{_0x4aa36a||_0x19992e(_0x11061d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59d8d6(){return _0x13efa8[_0x11061d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11061d([0x76,0x69,0x65,0x77])][_0x11061d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11061d([0x61,0x75,0x74,0x6f]);}function _0x5061b7(){_0x13efa8[_0x11061d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11061d([0x76,0x69,0x65,0x77])][_0x11061d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11061d([0x61,0x75,0x74,0x6f]);}}function _0x3827b2(_0x21f6ab){const _0x5cdcfd=[new window[(_0x11061d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48976e=>setTimeout(_0x48976e,0x3aad8d71^_0x524970)),_0x222f67[_0x11061d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11061d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2979bf=>{let _0x48a548=0x0;_0x13efa8[_0x11061d([0x6d,0x6f,0x64,0x65,0x6c])][_0x11061d([0x6f,0x6e])](_0x11061d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21644c,_0x7b474b)=>{_0x7b474b[0x0][_0x11061d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48a548++,_0x48a548==(0x3aa4b245^_0x524970)&&(_0x2979bf(),_0x21644c[_0x11061d([0x6f,0x66,0x66])]());});}))];return window[_0x11061d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11061d([0x72,0x61,0x63,0x65])](_0x5cdcfd)[_0x11061d([0x74,0x68,0x65,0x6e])](()=>_0x21f6ab);}async function _0x1fdcc4(){await _0x222f67,_0x13efa8[_0x11061d([0x6d,0x6f,0x64,0x65,0x6c])][_0x11061d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48bc5a,_0x13efa8[_0x11061d([0x6d,0x6f,0x64,0x65,0x6c])][_0x11061d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48bc5a,_0x13efa8[_0x11061d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11061d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19b46b(_0x30f014){const _0x3ca21d=_0x2a434c();_0x13efa8[_0x3ca21d]=_0x11061d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30f014,_0x30f014!=_0x11061d([0x56,0x61,0x6c,0x69,0x64])&&_0x1fdcc4();}function _0x2a434c(){const _0x1d75a1=window[_0x11061d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11061d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11061d([0x6e,0x6f,0x77])]())[_0x11061d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11061d([0x2e]),'');let _0x4f5aa4=_0x11061d([0x47]);for(let _0x52700e=0x0;_0x52700e<_0x1d75a1[_0x11061d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52700e+=0x2){let _0x1a00fc=window[_0x11061d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d75a1[_0x11061d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52700e,_0x52700e+0x2));_0x1a00fc>=_0x5ecca2[_0x11061d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a00fc-=_0x5ecca2[_0x11061d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f5aa4+=_0x5ecca2[_0x1a00fc];}return _0x4f5aa4;}function _0x1f5e6c(){const _0x28a725=_0x250bf2[_0x11061d([0x73,0x70,0x6c,0x69,0x74])](_0x11061d([0x2e]));if(0x3!=_0x28a725[_0x11061d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x222702(_0x28a725[0x1]);function _0x222702(_0x5e5ebd){const _0x39bb26=_0x2106fe(_0x5e5ebd);return _0x39bb26&&_0x11931f()?_0x39bb26:null;function _0x11931f(){const _0x580b72=_0x39bb26[_0x11061d([0x6a,0x74,0x69])],_0x8e7673=window[_0x11061d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x580b72[_0x11061d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x580b72[_0x11061d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4aff65={..._0x39bb26,[_0x11061d([0x6a,0x74,0x69])]:_0x580b72[_0x11061d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x580b72[_0x11061d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4aff65[_0x11061d([0x76,0x63])],_0x815127(_0x4aff65)==_0x8e7673;}}}async function _0x26cd6d(){let _0x5c4bf2=!0x0;try{const _0x672a39=_0x250bf2[_0x11061d([0x73,0x70,0x6c,0x69,0x74])](_0x11061d([0x2e])),[_0x21907b,_0xf8765d,_0x4efd8a]=_0x672a39;return _0x9a1bd7(_0x21907b),await _0x360d61(_0x21907b,_0xf8765d,_0x4efd8a),_0x5c4bf2;}catch(_0x5b6b04){return!0x1;}function _0x9a1bd7(_0x515b24){const _0x569a76=_0x2106fe(_0x515b24);_0x569a76&&_0x569a76[_0x11061d([0x61,0x6c,0x67])]==_0x11061d([0x45,0x53,0x32,0x35,0x36])||(_0x5c4bf2=!0x1);}async function _0x360d61(_0x132f52,_0x2c1ae6,_0x4feb3b){const _0xe57fc9=window[_0x11061d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11061d([0x66,0x72,0x6f,0x6d])](_0x249971(_0x4feb3b),_0x4d65c5=>_0x4d65c5[_0x11061d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x164488=new window[(_0x11061d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11061d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x132f52+_0x11061d([0x2e])+_0x2c1ae6),_0x47c91d=window[_0x11061d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11061d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47c91d)return;const _0x141222=await _0x47c91d[_0x11061d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11061d([0x6a,0x77,0x6b]),_0xb487b3,{[_0x11061d([0x6e,0x61,0x6d,0x65])]:_0x11061d([0x45,0x43,0x44,0x53,0x41]),[_0x11061d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11061d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11061d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47c91d[_0x11061d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11061d([0x6e,0x61,0x6d,0x65])]:_0x11061d([0x45,0x43,0x44,0x53,0x41]),[_0x11061d([0x68,0x61,0x73,0x68])]:{[_0x11061d([0x6e,0x61,0x6d,0x65])]:_0x11061d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x141222,_0xe57fc9,_0x164488)||(_0x5c4bf2=!0x1);}}function _0x2106fe(_0x155215){return _0x155215[_0x11061d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11061d([0x65,0x79]))?JSON[_0x11061d([0x70,0x61,0x72,0x73,0x65])](_0x249971(_0x155215)):null;}function _0x249971(_0xed393d){return window[_0x11061d([0x61,0x74,0x6f,0x62])](_0xed393d[_0x11061d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11061d([0x2b]))[_0x11061d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11061d([0x2f])));}function _0x815127(_0x4a022d){let _0x395c60=0x1505;function _0x5de285(_0x3c7a86){for(let _0x3dfd77=0x0;_0x3dfd77<_0x3c7a86[_0x11061d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3dfd77++){const _0xfd462f=_0x3c7a86[_0x11061d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3dfd77);_0x395c60=(_0x395c60<<0x5)+_0x395c60+_0xfd462f,_0x395c60&=_0x395c60;}}function _0x1c9469(_0x859c07){Array[_0x11061d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x859c07)?_0x859c07[_0x11061d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c9469):_0x859c07&&typeof _0x859c07==_0x11061d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11061d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x859c07)[_0x11061d([0x73,0x6f,0x72,0x74])]()[_0x11061d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x173aa7,_0x2fe026])=>{_0x5de285(_0x173aa7),_0x1c9469(_0x2fe026);}):_0x5de285(window[_0x11061d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x859c07));}return _0x1c9469(_0x4a022d),_0x395c60>>>0x0;}function _0x1c071f(_0x208786){return _0x208786[_0x11061d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11061d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11061d([0x30]));}function _0x53d879(_0x2462c4){return _0x2462c4[_0x11061d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11061d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11061d([0x6a,0x6f,0x69,0x6e])]('');}function _0x48bc5a(){}function _0x11061d(_0x13b7dd){const _0x578460=_0x44c7;return _0x13b7dd[_0x578460(0x16a)](_0x4d0537=>String[_0x578460(0x16c)](_0x4d0537))[_0x578460(0x1a3)]('');}_0x19b46b(await _0x4654());}(this);}[_0x1af856(0x199)](){const _0x43558c=_0x1af856,_0x2f00ae=this[_0x43558c(0x1bb)][_0x43558c(0x162)];_0x2f00ae[_0x43558c(0x1a1)](_0x4f249b=>{const _0x8cb46c=_0x43558c,_0x48c1bf=_0x2f00ae[_0x8cb46c(0x15f)][_0x8cb46c(0x17a)][_0x8cb46c(0x153)]();let _0x913070=0x0;for(const _0x484b94 of _0x48c1bf){const _0x416e30=f+':'+_0x913070;if(_0x2f00ae[_0x8cb46c(0x188)][_0x8cb46c(0x178)](_0x416e30))_0x4f249b[_0x8cb46c(0x16d)](_0x416e30,{'range':_0x484b94});else{if(_0x484b94[_0x8cb46c(0x187)][_0x8cb46c(0x1b1)]){const _0x5d35e1=_0x484b94[_0x8cb46c(0x187)][_0x8cb46c(0x19c)](({item:_0x4b7502})=>!_0x2f00ae[_0x8cb46c(0x196)][_0x8cb46c(0x17d)](_0x4b7502),{'boundaries':_0x484b94});_0x4f249b[_0x8cb46c(0x185)](_0x416e30,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4f249b[_0x8cb46c(0x16f)](_0x5d35e1,_0x484b94[_0x8cb46c(0x1af)])});}else _0x4f249b[_0x8cb46c(0x185)](_0x416e30,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x484b94});}_0x913070++;}});}[_0x1af856(0x156)](){const _0x30df0d=_0x1af856,_0xa2827e=this[_0x30df0d(0x1bb)][_0x30df0d(0x162)],_0x1a4d7d=Array[_0x30df0d(0x167)](this[_0x30df0d(0x1bb)][_0x30df0d(0x162)][_0x30df0d(0x188)][_0x30df0d(0x1be)](f));_0x1a4d7d[_0x30df0d(0x1a5)]&&_0xa2827e[_0x30df0d(0x1a1)](_0x2d7cbb=>{const _0x135557=_0x30df0d;_0x1a4d7d[_0x135557(0x1a4)](_0x50617f=>{const _0x2ea563=_0x135557;_0x2d7cbb[_0x2ea563(0x1a7)](_0x50617f);});});}[_0x1af856(0x17e)](_0x1d618b,_0x5554cc){const _0x1dd9cd=_0x1af856,_0x15fc91=this[_0x1dd9cd(0x191)](),_0x32cccd=_0x5554cc||_0x15fc91[_0x1dd9cd(0x15b)]();this[_0x1dd9cd(0x1bb)][_0x1dd9cd(0x162)][_0x1dd9cd(0x18a)](_0x32cccd)&&this[_0x1dd9cd(0x1bb)][_0x1dd9cd(0x162)][_0x1dd9cd(0x1a1)](_0x32231a=>{const _0x13315d=_0x1dd9cd;this[_0x13315d(0x156)](),_0x5554cc||this[_0x13315d(0x177)](_0x32231a,_0x15fc91),this[_0x13315d(0x169)]({'insertAt':_0x32cccd,'writer':_0x32231a,'html':_0x1d618b});});}[_0x1af856(0x17b)](_0x37e426){const _0x139ca2=_0x1af856,{model:_0x39a103}=this[_0x139ca2(0x1bb)],_0x5ed466=this[_0x139ca2(0x191)]();_0x39a103[_0x139ca2(0x1a1)](()=>{const _0x2d7fa7=_0x139ca2,_0x3e42dc=this[_0x2d7fa7(0x1aa)](_0x37e426,_0x5ed466)||this[_0x2d7fa7(0x160)](_0x5ed466);this[_0x2d7fa7(0x17e)](_0x37e426,_0x3e42dc);});}[_0x1af856(0x191)](){const _0x2a5fa1=_0x1af856,_0x3eb0ec=this[_0x2a5fa1(0x1bb)][_0x2a5fa1(0x162)],_0xfa3b2c=Array[_0x2a5fa1(0x167)](_0x3eb0ec[_0x2a5fa1(0x188)][_0x2a5fa1(0x1be)](f))[_0x2a5fa1(0x16a)](_0x1157a0=>_0x1157a0[_0x2a5fa1(0x198)]());return _0x3eb0ec[_0x2a5fa1(0x1a0)](_0xfa3b2c);}[_0x1af856(0x169)]({writer:_0x58ab49,html:_0x31dd56,insertAt:_0x2e5933}){const _0x21c66c=_0x1af856,{view:_0x39db9b}=this[_0x21c66c(0x1bb)][_0x21c66c(0x170)],_0x22c1f9=this[_0x21c66c(0x1bb)][_0x21c66c(0x159)][_0x21c66c(0x19f)](_0x21be29),_0x234043=new w();_0x234043[_0x21c66c(0x15d)](_0x21c66c(0x1b4),_0x31dd56);const _0x5bfb0f=new ClipboardEvent(_0x21c66c(0x165),{'clipboardData':_0x234043}),_0x433bd1=new _0x576f7b(_0x39db9b,_0x5bfb0f,{'dataTransfer':new _0x32bec1(_0x234043)});_0x58ab49[_0x21c66c(0x192)](_0x2e5933);const _0x544f43=(_0x3316ec,_0x1fda87)=>{const _0x5a316d=_0x21c66c;_0x1fda87[_0x5a316d(0x16b)]&&_0x58ab49[_0x5a316d(0x192)](_0x1fda87[_0x5a316d(0x16b)]);};_0x22c1f9[_0x21c66c(0x180)](_0x21c66c(0x157),_0x544f43,{'priority':_0x21c66c(0x181)}),_0x39db9b[_0x21c66c(0x15f)][_0x21c66c(0x155)](_0x21c66c(0x165),_0x433bd1),_0x22c1f9[_0x21c66c(0x1ad)](_0x21c66c(0x157),_0x544f43);}[_0x1af856(0x160)](_0x192dc2){const _0xce7a94=_0x1af856,{model:_0x1c1e8d}=this[_0xce7a94(0x1bb)],_0x33ba76=Array[_0xce7a94(0x167)](_0x192dc2[_0xce7a94(0x17c)]());return _0x33ba76[_0xce7a94(0x1a5)]?_0x1c1e8d[_0xce7a94(0x175)](_0x33ba76[_0xce7a94(0x1b3)]()):_0x192dc2[_0xce7a94(0x1a9)]();}[_0x1af856(0x1aa)](_0x5a4111,_0x3377a5){const _0x191eef=_0x1af856,{model:_0x23c8b1,plugins:_0x3c9757}=this[_0x191eef(0x1bb)];if(_0x3c9757[_0x191eef(0x178)](_0x191eef(0x18d))){const _0x2fee49=_0x3c9757[_0x191eef(0x19f)](_0x191eef(0x18d))[_0x191eef(0x152)](_0x3377a5);if(_0x2fee49[_0x191eef(0x1a5)]){const _0x3ca78a=this[_0x191eef(0x179)](_0x5a4111),_0x4b4830=this[_0x191eef(0x186)](_0x2fee49,_0x3ca78a);return _0x23c8b1[_0x191eef(0x197)](_0x4b4830,0x0);}}return null;}[_0x1af856(0x179)](_0x1fcc92){const _0x2a7d22=_0x1af856,_0x52f6bb=this[_0x2a7d22(0x1bb)][_0x2a7d22(0x159)][_0x2a7d22(0x19f)](_0x2a7d22(0x18d)),_0x111ef3=this[_0x2a7d22(0x1bb)][_0x2a7d22(0x1b5)][_0x2a7d22(0x176)](_0x1fcc92),_0x4518a5=Array[_0x2a7d22(0x167)](_0x111ef3[_0x2a7d22(0x151)]())[_0x2a7d22(0x14f)](_0x366dfe=>_0x366dfe['is'](_0x2a7d22(0x1ab),_0x2a7d22(0x18c)));let _0x575fc9=0x0;return _0x4518a5[_0x2a7d22(0x1a4)](_0x1b4901=>{const _0x2fe0b0=_0x2a7d22;_0x575fc9+=_0x52f6bb[_0x2fe0b0(0x158)](_0x1b4901);}),_0x575fc9;}[_0x1af856(0x186)](_0xdfc54f,_0x42c76e){const _0xb0195a=_0x1af856,_0x483c2f=this[_0xb0195a(0x1bb)][_0xb0195a(0x159)][_0xb0195a(0x19f)](_0xb0195a(0x18d)),_0x318b43=_0x483c2f[_0xb0195a(0x166)](_0xdfc54f),_0xe3ff82=_0x483c2f[_0xb0195a(0x195)](_0xdfc54f),_0x42d6ad=_0x318b43[_0xb0195a(0x19a)]+0x1,_0x3c820c=_0xe3ff82[_0xb0195a(0x184)],_0x4dd70f=_0xdfc54f[0x0][_0xb0195a(0x1a6)](_0xb0195a(0x18c));for(let _0x4816d1=0x0;_0x4816d1<_0x42c76e;_0x4816d1++)_0x483c2f[_0xb0195a(0x190)](_0x4dd70f,{'at':_0x42d6ad});return _0x4dd70f[_0xb0195a(0x189)](_0x42d6ad)[_0xb0195a(0x189)](_0x3c820c);}[_0x1af856(0x177)](_0x520224,_0x4d9520){const _0x23cf94=_0x1af856,{plugins:_0x3ab0f6}=this[_0x23cf94(0x1bb)],{model:_0x193714}=_0x520224;if(!_0x3ab0f6[_0x23cf94(0x178)](_0x23cf94(0x18d)))return;_0x3ab0f6[_0x23cf94(0x19f)](_0x23cf94(0x18d))[_0x23cf94(0x152)](_0x4d9520)[_0x23cf94(0x1a5)]&&_0x193714[_0x23cf94(0x18e)](_0x4d9520);}}
|
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))}]});}}
|