@ckeditor/ckeditor5-ai 45.2.0 → 45.2.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40de8e=_0x68a9;function _0x68a9(_0x57dd2f,_0x6ce09f){const _0x30d62e=_0x30d6();return _0x68a9=function(_0x131f52,_0xc00f31){_0x131f52=_0x131f52-0xd4;let _0x4ea8d5=_0x30d62e[_0x131f52];return _0x4ea8d5;},_0x68a9(_0x57dd2f,_0x6ce09f);}(function(_0x80d943,_0x37eb4e){const _0x4b9e2c=_0x68a9,_0xb85546=_0x80d943();while(!![]){try{const _0x5de87a=parseInt(_0x4b9e2c(0x13e))/0x1+-parseInt(_0x4b9e2c(0x129))/0x2+-parseInt(_0x4b9e2c(0x10e))/0x3+parseInt(_0x4b9e2c(0x101))/0x4+parseInt(_0x4b9e2c(0x127))/0x5*(-parseInt(_0x4b9e2c(0x104))/0x6)+parseInt(_0x4b9e2c(0x10f))/0x7+-parseInt(_0x4b9e2c(0x102))/0x8*(parseInt(_0x4b9e2c(0xeb))/0x9);if(_0x5de87a===_0x37eb4e)break;else _0xb85546['push'](_0xb85546['shift']());}catch(_0x551903){_0xb85546['push'](_0xb85546['shift']());}}}(_0x30d6,0x97ac7));import{Plugin as _0x198a66}from'ckeditor5/src/core.js';import _0x5a0ac9 from'./aiassistantui.js';import _0x1e6b57 from'./aiassistantediting.js';import{getTranslation as _0x2d7a38}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x444f27}from'./utils/normalizecommandsconfig.js';function _0x30d6(){const _0x3ced36=['translateFrench','ai.aiAssistant.preserveComments','isOfficialPlugin','translatePortuguese','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','French','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','translateSpanish','find','Change\x20style','Translate\x20the\x20content\x20to\x20French\x20language.','Business','German','Professional','814875CVwiLy','Spanish','confident','Generate\x20from\x20selection','forEach','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','groupId','Make\x20shorter','English','filter','commands','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Simplified\x20Chinese','translateArabic','Translate\x20the\x20content\x20to\x20Hindi\x20language.','includes','Edit\x20or\x20review','Arabic','Summarize','Friendly','requires','changeStyle','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','editOrReview','Translate','set','3546qSiiqy','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Portuguese','Legal','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Hindi','Change\x20tone','translateGerman','Translate\x20the\x20content\x20to\x20German\x20language.','concat','Confident','poetic','friendly','push','professional','Continue','Poetic','ai.aiAssistant.extraCommandGroups','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','legal','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','pluginName','3689892vMrYYb','9568QDbeqq','changeTone','126gHnVZN','translate','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','continue','isPremiumPlugin','simplifyLanguage','Direct','business','casual','2597079BgNCHY','7274764EfmJlS','summarize','ai.aiAssistant.removeCommands','generate','makeShorter','ai.aiAssistant.commands','Casual','journalism','config','translateChinese','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Make\x20longer','AIAssistant','get','translateHindi','define','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','makeLonger','Simplify\x20language','locale','improveWriting','44875DwaLqi','direct','1259906TpQJMe','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20writing','Translate\x20the\x20content\x20to\x20English\x20language.','Journalism','translateEnglish'];_0x30d6=function(){return _0x3ced36;};return _0x30d6();}export default class r extends _0x198a66{static get[_0x40de8e(0xe5)](){return[_0x5a0ac9,_0x1e6b57];}static get[_0x40de8e(0x100)](){const _0xb1abae=_0x40de8e;return _0xb1abae(0x11e);}static get[_0x40de8e(0x131)](){return!0x0;}static get[_0x40de8e(0x109)](){return!0x0;}constructor(_0x344a71){const _0x37ee59=_0x40de8e;super(_0x344a71);const _0x53076b=_0x344a71[_0x37ee59(0x117)],_0x3545c5=_0x344a71[_0x37ee59(0x125)];_0x53076b[_0x37ee59(0x121)](_0x37ee59(0x130),!0x0),_0x53076b[_0x37ee59(0x121)](_0x37ee59(0x114),getDefaultCommands(_0x3545c5)),_0x53076b[_0x37ee59(0x121)](_0x37ee59(0xfc),[]),_0x53076b[_0x37ee59(0x121)](_0x37ee59(0x111),[]);let _0x25ad54=_0x444f27(_0x53076b[_0x37ee59(0x11f)](_0x37ee59(0x114)),_0x3545c5);const _0x351555=_0x53076b[_0x37ee59(0x11f)](_0x37ee59(0xfc)),_0x62fc3a=_0x53076b[_0x37ee59(0x11f)](_0x37ee59(0x111));_0x351555[_0x37ee59(0xd4)](_0x3db358=>{const _0x2d92af=_0x37ee59,_0x31ada3=_0x25ad54[_0x2d92af(0x138)](_0x581900=>_0x581900[_0x2d92af(0xd7)]===_0x3db358[_0x2d92af(0xd7)]);_0x31ada3?_0x31ada3[_0x2d92af(0xdb)]=_0x31ada3[_0x2d92af(0xdb)][_0x2d92af(0xf4)](_0x3db358[_0x2d92af(0xdb)]):_0x25ad54[_0x2d92af(0xf8)](_0x3db358);}),_0x25ad54=_0x25ad54[_0x37ee59(0xda)](_0x2a7411=>!_0x62fc3a[_0x37ee59(0xe0)](_0x2a7411[_0x37ee59(0xd7)])),_0x25ad54[_0x37ee59(0xd4)](_0x838cf7=>{const _0x2335d9=_0x37ee59;_0x838cf7[_0x2335d9(0xdb)]=_0x838cf7[_0x2335d9(0xdb)][_0x2335d9(0xda)](_0xcae1d6=>!_0x62fc3a[_0x2335d9(0xe0)](_0xcae1d6['id']));}),_0x53076b[_0x37ee59(0xea)](_0x37ee59(0x114),_0x25ad54);}}export function getDefaultCommands(_0x5628ed){const _0x289855=_0x40de8e;return[{'groupId':_0x289855(0xe8),'groupLabel':_0x2d7a38(_0x5628ed,_0x289855(0xe1)),'commands':[{'id':_0x289855(0x126),'label':_0x2d7a38(_0x5628ed,_0x289855(0x12b)),'prompt':_0x289855(0x11b)},{'id':_0x289855(0x113),'label':_0x2d7a38(_0x5628ed,_0x289855(0xd8)),'prompt':_0x289855(0x133)},{'id':_0x289855(0x123),'label':_0x2d7a38(_0x5628ed,_0x289855(0x11d)),'prompt':_0x289855(0xec)},{'id':_0x289855(0x10a),'label':_0x2d7a38(_0x5628ed,_0x289855(0x124)),'prompt':_0x289855(0x12a)}]},{'groupId':_0x289855(0x112),'groupLabel':_0x2d7a38(_0x5628ed,_0x289855(0x141)),'commands':[{'id':_0x289855(0x110),'label':_0x2d7a38(_0x5628ed,_0x289855(0xe3)),'prompt':_0x289855(0xdc)},{'id':_0x289855(0x108),'label':_0x2d7a38(_0x5628ed,_0x289855(0xfa)),'prompt':_0x289855(0x136)}]},{'groupId':_0x289855(0x103),'groupLabel':_0x2d7a38(_0x5628ed,_0x289855(0xf1)),'commands':[{'id':_0x289855(0xf9),'label':_0x2d7a38(_0x5628ed,_0x289855(0x13d)),'prompt':_0x289855(0xd5)},{'id':_0x289855(0x10d),'label':_0x2d7a38(_0x5628ed,_0x289855(0x115)),'prompt':_0x289855(0xd6)},{'id':_0x289855(0x128),'label':_0x2d7a38(_0x5628ed,_0x289855(0x10b)),'prompt':_0x289855(0x11c)},{'id':_0x289855(0x140),'label':_0x2d7a38(_0x5628ed,_0x289855(0xf5)),'prompt':_0x289855(0x107)},{'id':_0x289855(0xf7),'label':_0x2d7a38(_0x5628ed,_0x289855(0xe4)),'prompt':_0x289855(0x122)}]},{'groupId':_0x289855(0xe6),'groupLabel':_0x2d7a38(_0x5628ed,_0x289855(0x139)),'commands':[{'id':_0x289855(0x10c),'label':_0x2d7a38(_0x5628ed,_0x289855(0x13b)),'prompt':_0x289855(0xef)},{'id':_0x289855(0xfe),'label':_0x2d7a38(_0x5628ed,_0x289855(0xee)),'prompt':_0x289855(0xff)},{'id':_0x289855(0x116),'label':_0x2d7a38(_0x5628ed,_0x289855(0x12d)),'prompt':_0x289855(0xe7)},{'id':_0x289855(0xf6),'label':_0x2d7a38(_0x5628ed,_0x289855(0xfb)),'prompt':_0x289855(0x119)}]},{'groupId':_0x289855(0x105),'groupLabel':_0x2d7a38(_0x5628ed,_0x289855(0xe9)),'commands':[{'id':_0x289855(0x12e),'label':_0x2d7a38(_0x5628ed,_0x289855(0xd9)),'prompt':_0x289855(0x12c)},{'id':_0x289855(0x137),'label':_0x2d7a38(_0x5628ed,_0x289855(0x13f)),'prompt':_0x289855(0x11a)},{'id':_0x289855(0x132),'label':_0x2d7a38(_0x5628ed,_0x289855(0xed)),'prompt':_0x289855(0xfd)},{'id':_0x289855(0xf2),'label':_0x2d7a38(_0x5628ed,_0x289855(0x13c)),'prompt':_0x289855(0xf3)},{'id':_0x289855(0x12f),'label':_0x2d7a38(_0x5628ed,_0x289855(0x135)),'prompt':_0x289855(0x13a)},{'id':_0x289855(0x118),'label':_0x2d7a38(_0x5628ed,_0x289855(0xdd)),'prompt':_0x289855(0x134)},{'id':_0x289855(0x120),'label':_0x2d7a38(_0x5628ed,_0x289855(0xf0)),'prompt':_0x289855(0xdf)},{'id':_0x289855(0xde),'label':_0x2d7a38(_0x5628ed,_0x289855(0xe2)),'prompt':_0x289855(0x106)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x40ca0b=_0x9310;(function(_0x2cc93f,_0x474395){const _0x198e01=_0x9310,_0x265d50=_0x2cc93f();while(!![]){try{const _0x56ecef=parseInt(_0x198e01(0x177))/0x1+parseInt(_0x198e01(0x152))/0x2*(parseInt(_0x198e01(0x18c))/0x3)+parseInt(_0x198e01(0x1a9))/0x4+-parseInt(_0x198e01(0x1a8))/0x5+-parseInt(_0x198e01(0x183))/0x6+parseInt(_0x198e01(0x170))/0x7*(-parseInt(_0x198e01(0x172))/0x8)+-parseInt(_0x198e01(0x158))/0x9*(-parseInt(_0x198e01(0x197))/0xa);if(_0x56ecef===_0x474395)break;else _0x265d50['push'](_0x265d50['shift']());}catch(_0x425415){_0x265d50['push'](_0x265d50['shift']());}}}(_0x2733,0x977b6));import{uid as _0x5da1bf}from'ckeditor5/src/utils.js';import{Plugin as _0x1a6fbf}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x46e1ff}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4956a3,DataTransfer as _0x408541}from'ckeditor5/src/engine.js';const w=globalThis[_0x40ca0b(0x188)],f=_0x40ca0b(0x163);function _0x2733(){const _0x1d35d2=['plugins','3HfmEVI','isPremiumPlugin','updateMarker','editor','ai.useTheme','off','data','_getTableRowCountFromContent','for','getRanges','fromCharCode','1157530GRkLfg','isContent','insertRows','lowest','contentInsertion','editing','insertContent','findAncestor','_createEmptyTableRows','afterInit','init','getRange','showFakeVisualSelection','markerToHighlight','resultRange','getChildren','ck-fake-ai-selection_collapsed','887815gOmYXU','2080488qHlXiE','TableUtils','markerToElement','map','hideFakeVisualSelection','fire','has','paste','first','_prepareTableInsertBelowPosition','end','selection','href','table','isOfficialPlugin','setData','getLastMatchingPosition','ck-ai-assistant-ui_theme','_resetContentOfSelectedTableCells','once','length','getSelectedBlocks','element','826552EDnieI','editingDowncast','getRows','change','AIAssistantEditing','createUIElement','153VEVNrM','markers','createPositionAt','schema','deleteContent','span','markerRange','last','ck-fake-ai-selection','_getDefaultInsertBelowPosition','createSelection','ai-ui','getRowIndexes','insertContentBelow','createRange','forEach','getSelectedTableCells','getFirstRange','push','start','get','from','addClass','setSelection','64029UvTbZO','model','856DPfXiS','removeMarker','parse','document','getColumnIndexes','19605SHrbpu','addMarker','join','isCollapsed','pop','getLastPosition','text/html','_pasteHTMLUsingClipboard','config','getChild','getMarkersGroup','filter','6864252FobaJW','pluginName','_getAISelection','canEditAt','createPositionAfter','DataTransfer','conversion','isAtEnd'];_0x2733=function(){return _0x1d35d2;};return _0x2733();}function _0x9310(_0x3744c5,_0x4edc93){const _0x273351=_0x2733();return _0x9310=function(_0x93101a,_0x25aa56){_0x93101a=_0x93101a-0x13c;let _0x7275b5=_0x273351[_0x93101a];return _0x7275b5;},_0x9310(_0x3744c5,_0x4edc93);}export default class a extends _0x1a6fbf{static get[_0x40ca0b(0x184)](){const _0x431c7a=_0x40ca0b;return _0x431c7a(0x156);}static get[_0x40ca0b(0x149)](){return!0x0;}static get[_0x40ca0b(0x18d)](){return!0x0;}[_0x40ca0b(0x1a1)](){const _0x5f47ed=_0x40ca0b,{editor:_0x20ce46}=this,_0x3367a7=[_0x5f47ed(0x160)];_0x20ce46[_0x5f47ed(0x17f)][_0x5f47ed(0x16c)](_0x5f47ed(0x190))&&_0x3367a7[_0x5f47ed(0x16a)](_0x5f47ed(0x14c)),_0x20ce46[_0x5f47ed(0x189)][_0x5f47ed(0x194)](_0x5f47ed(0x153))[_0x5f47ed(0x1a4)]({'model':f,'view':{'classes':_0x3367a7,'priority':0xc}}),_0x20ce46[_0x5f47ed(0x189)][_0x5f47ed(0x194)](_0x5f47ed(0x153))[_0x5f47ed(0x13d)]({'model':f,'view':(_0xc8c052,{writer:_0x2ebbdd})=>{const _0x3f5dad=_0x5f47ed;if(!_0xc8c052[_0x3f5dad(0x15e)][_0x3f5dad(0x17a)])return null;const _0x225de3=_0x2ebbdd[_0x3f5dad(0x157)](_0x3f5dad(0x15d));return _0x2ebbdd[_0x3f5dad(0x16e)]([_0x3f5dad(0x160),_0x3f5dad(0x1a7)],_0x225de3),_0x225de3;}});}[_0x40ca0b(0x1a0)](){!async function(_0x4ee435){const _0x5e09cc=_0x2534dd([0x54,0x67,0x39,0x5a,0x37,0x72,0x53,0x45,0x52,0x62,0x61,0x6a,0x77,0x6f,0x33,0x51,0x4d,0x31,0x32,0x78,0x6d,0x4c,0x7a,0x49,0x43,0x44,0x30,0x57,0x58,0x79,0x73,0x38,0x4b,0x74,0x4a,0x70,0x63,0x6e,0x34,0x47,0x76,0x6b,0x69,0x66,0x56,0x41,0x68,0x55,0x46,0x75,0x4f,0x64,0x71,0x50,0x4e,0x48,0x59,0x36,0x35,0x42,0x6c,0x65]),_0x23f477=0x3a67874,_0x349094=0x3a111bc^_0x23f477,_0xaa13d0=window[_0x2534dd([0x44,0x61,0x74,0x65])][_0x2534dd([0x6e,0x6f,0x77])](),_0xba5cd9=_0x4ee435[_0x2534dd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f0cbd=new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c18c6=>{_0xba5cd9[_0x2534dd([0x6f,0x6e,0x63,0x65])](_0x2534dd([0x72,0x65,0x61,0x64,0x79]),_0x3c18c6);}),_0x179a3e={[_0x2534dd([0x6b,0x74,0x79])]:_0x2534dd([0x45,0x43]),[_0x2534dd([0x75,0x73,0x65])]:_0x2534dd([0x73,0x69,0x67]),[_0x2534dd([0x63,0x72,0x76])]:_0x2534dd([0x50,0x2d,0x32,0x35,0x36]),[_0x2534dd([0x78])]:_0x2534dd([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]),[_0x2534dd([0x79])]:_0x2534dd([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]),[_0x2534dd([0x61,0x6c,0x67])]:_0x2534dd([0x45,0x53,0x32,0x35,0x36])},_0x174658=_0xba5cd9[_0x2534dd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2534dd([0x67,0x65,0x74])](_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29f4b2(){let _0x590479,_0x59f0c4=null,_0x3b181d=null;try{if(_0x174658==_0x2534dd([0x47,0x50,0x4c]))return _0x2534dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x590479=_0x5a5ceb(),!_0x590479)return _0x2534dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x590479[_0x2534dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b181d=_0x3db7f9(_0x590479[_0x2534dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x590479[_0x2534dd([0x6a,0x74,0x69])])),await _0x4e5fb8()?_0x2a1b65()?_0x3be84f()?_0x2534dd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e3ed3()?(_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2534dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59f0c4=_0x28b9a3(_0x2534dd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2534dd([0x74,0x72,0x69,0x61,0x6c])&&(_0x59f0c4=_0x28b9a3(_0x2534dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30038d()):_0x2534dd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2534dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2534dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2534dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3be84f(){const _0x2a631e=[_0x2534dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2534dd([0x74,0x72,0x69,0x61,0x6c])][_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaa13d0/0x3e8:0xe10*_0x349094;return _0x590479[_0x2534dd([0x65,0x78,0x70])]<_0x2a631e;}function _0x2a1b65(){const _0xe9a4f4=_0x590479[_0x2534dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe9a4f4&&(!!_0xe9a4f4[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2534dd([0x2a]))||!!_0xe9a4f4[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2534dd([0x41,0x49])));}function _0x5e3ed3(){const _0x5e6b86=_0x9310,_0x3287b5=_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3287b5||0x0==_0x3287b5[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35d45f}=new URL(window[_0x2534dd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5e6b86(0x147)]);if(_0x3287b5[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35d45f))return!0x0;const _0x5ff257=_0x35d45f[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e]));return _0x3287b5[_0x2534dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33179f=>_0x33179f[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2534dd([0x2a])))[_0x2534dd([0x6d,0x61,0x70])](_0x3febbe=>_0x3febbe[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e])))[_0x2534dd([0x73,0x6f,0x6d,0x65])](_0x24c16e=>_0x5ff257[_0x2534dd([0x65,0x76,0x65,0x72,0x79])]((_0x40307e,_0x53d746)=>_0x24c16e[_0x53d746]===_0x40307e||_0x24c16e[_0x53d746]===_0x2534dd([0x2a])));}function _0x30038d(){return _0x59f0c4&&_0x3b181d?new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x161a9f,_0x37223a)=>{_0x59f0c4[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x161a9f,_0x37223a),_0x3b181d[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x38b864=>{_0x38b864!=_0x2534dd([0x56,0x61,0x6c,0x69,0x64])&&_0x161a9f(_0x38b864);},_0x37223a);}):_0x59f0c4||_0x3b181d||_0x2534dd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3db7f9(_0x46ea67,_0x298e21){return new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46124a=>{if(_0x1debff())return _0x46124a(_0x2534dd([0x56,0x61,0x6c,0x69,0x64]));_0x57832c(),_0xba5cd9[_0x2534dd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2534dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4aa907=!0x1;const _0x40bbde=_0x5da1bf();function _0x49946f(_0x3c7e26){return!!_0x3c7e26&&(typeof _0x3c7e26===_0x2534dd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c7e26===_0x2534dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c7e26[_0x2534dd([0x74,0x68,0x65,0x6e])]===_0x2534dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c7e26[_0x2534dd([0x63,0x61,0x74,0x63,0x68])]===_0x2534dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4cf954(_0x1c9f48){_0x2c9256(_0x1c9f48)[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x26da68=>{if(!_0x26da68||_0x26da68[_0x2534dd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2534dd([0x6f,0x6b]))return _0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fceec(_0x1b0785(_0x40bbde+_0x298e21))!=_0x26da68[_0x2534dd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2534dd([0x56,0x61,0x6c,0x69,0x64]);})[_0x2534dd([0x74,0x68,0x65,0x6e])](_0xc770fd=>(_0x2bc79b(),_0xc770fd),()=>{const _0x2904bd=_0x3f532d();return null==_0x2904bd?(_0x2bc79b(),_0x2534dd([0x56,0x61,0x6c,0x69,0x64])):_0x2534dd(_0xaa13d0-_0x2904bd>(0x27aafc74^_0x23f477)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x46124a)[_0x2534dd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46124a(_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xaad4ca=0x39096f4^_0x23f477;function _0x2bc79b(){const _0x116262=_0x2534dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fceec(_0x1b0785(_0x46ea67)),_0x4476dc=_0x42157b(_0x2fceec(window[_0x2534dd([0x4d,0x61,0x74,0x68])][_0x2534dd([0x63,0x65,0x69,0x6c])](_0xaa13d0/_0xaad4ca)));window[_0x2534dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2534dd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x116262,_0x4476dc);}function _0x3f532d(){const _0x4c372e=_0x2534dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fceec(_0x1b0785(_0x46ea67)),_0x57a094=window[_0x2534dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2534dd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c372e);return _0x57a094?window[_0x2534dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42157b(_0x57a094),0x10)*_0xaad4ca:null;}function _0x2c9256(_0x32cb17){return new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b2aea,_0x226d88)=>{_0x32cb17[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x4b2aea,_0x226d88),window[_0x2534dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x226d88,0x3a7acb4^_0x23f477);});}}_0xba5cd9[_0x2534dd([0x6f,0x6e])](_0x2534dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30a15e,_0x4a601c)=>{if(_0x4a601c[0x0]!=_0x46ea67)return _0x46124a(_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a601c[0x1]={..._0x4a601c[0x1],[_0x2534dd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40bbde};},{[_0x2534dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2534dd([0x68,0x69,0x67,0x68])}),_0xba5cd9[_0x2534dd([0x6f,0x6e])](_0x2534dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5dfd47=>{_0x49946f(_0x5dfd47[_0x2534dd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4aa907=!0x0,_0x4cf954(_0x5dfd47[_0x2534dd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2534dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2534dd([0x6c,0x6f,0x77])}),_0x1f0cbd[_0x2534dd([0x74,0x68,0x65,0x6e])](()=>{_0x4aa907||_0x46124a(_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1debff(){return _0xba5cd9[_0x2534dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2534dd([0x76,0x69,0x65,0x77])][_0x2534dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2534dd([0x61,0x75,0x74,0x6f]);}function _0x57832c(){_0xba5cd9[_0x2534dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2534dd([0x76,0x69,0x65,0x77])][_0x2534dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2534dd([0x61,0x75,0x74,0x6f]);}}function _0x28b9a3(_0x5f51dd){const _0x3a213f=[new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x333789=>setTimeout(_0x333789,0x3af46b8^_0x23f477)),_0x1f0cbd[_0x2534dd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23b5d5=>{let _0x28b3f0=0x0;_0xba5cd9[_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2534dd([0x6f,0x6e])](_0x2534dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1af0fb,_0x559ca8)=>{_0x559ca8[0x0][_0x2534dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28b3f0++,_0x28b3f0==(0x3a6798c^_0x23f477)&&(_0x23b5d5(),_0x1af0fb[_0x2534dd([0x6f,0x66,0x66])]());});}))];return window[_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2534dd([0x72,0x61,0x63,0x65])](_0x3a213f)[_0x2534dd([0x74,0x68,0x65,0x6e])](()=>_0x5f51dd);}async function _0x2ef99f(){await _0x1f0cbd,_0xba5cd9[_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2534dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26d089,_0xba5cd9[_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2534dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26d089,_0xba5cd9[_0x2534dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4256d3(_0x38675c){const _0x530545=_0x49305e();_0xba5cd9[_0x530545]=_0x2534dd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38675c,_0x38675c!=_0x2534dd([0x56,0x61,0x6c,0x69,0x64])&&_0x2ef99f();}function _0x49305e(){const _0x123f93=window[_0x2534dd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2534dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2534dd([0x6e,0x6f,0x77])]())[_0x2534dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2534dd([0x2e]),'');let _0x3a3b1f=_0x2534dd([0x54]);for(let _0x3c972a=0x0;_0x3c972a<_0x123f93[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c972a+=0x2){let _0x12e323=window[_0x2534dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x123f93[_0x2534dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c972a,_0x3c972a+0x2));_0x12e323>=_0x5e09cc[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12e323-=_0x5e09cc[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a3b1f+=_0x5e09cc[_0x12e323];}return _0x3a3b1f;}function _0x5a5ceb(){const _0x7e9319=_0x174658[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e]));if(0x3!=_0x7e9319[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e901f(_0x7e9319[0x1]);function _0x1e901f(_0x589b0a){const _0x20c965=_0x27c949(_0x589b0a);return _0x20c965&&_0x47f4b1()?_0x20c965:null;function _0x47f4b1(){const _0xc73a14=_0x20c965[_0x2534dd([0x6a,0x74,0x69])],_0x56f175=window[_0x2534dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc73a14[_0x2534dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc73a14[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51c766={..._0x20c965,[_0x2534dd([0x6a,0x74,0x69])]:_0xc73a14[_0x2534dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc73a14[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51c766[_0x2534dd([0x76,0x63])],_0x1b0785(_0x51c766)==_0x56f175;}}}async function _0x4e5fb8(){let _0x4301ce=!0x0;try{const _0x431c61=_0x174658[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e])),[_0xcca267,_0x51e9de,_0x9beada]=_0x431c61;return _0x3f5d93(_0xcca267),await _0x258a98(_0xcca267,_0x51e9de,_0x9beada),_0x4301ce;}catch{return!0x1;}function _0x3f5d93(_0x41452a){const _0x27c38f=_0x27c949(_0x41452a);_0x27c38f&&_0x27c38f[_0x2534dd([0x61,0x6c,0x67])]==_0x2534dd([0x45,0x53,0x32,0x35,0x36])||(_0x4301ce=!0x1);}async function _0x258a98(_0xe378fc,_0x230053,_0x1fdbdb){const _0x1aeec3=window[_0x2534dd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2534dd([0x66,0x72,0x6f,0x6d])](_0x436fd5(_0x1fdbdb),_0x4036dd=>_0x4036dd[_0x2534dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e5a00=new window[(_0x2534dd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2534dd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe378fc+_0x2534dd([0x2e])+_0x230053),_0x3d9284=window[_0x2534dd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2534dd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d9284)return;const _0x489c7f=await _0x3d9284[_0x2534dd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2534dd([0x6a,0x77,0x6b]),_0x179a3e,{[_0x2534dd([0x6e,0x61,0x6d,0x65])]:_0x2534dd([0x45,0x43,0x44,0x53,0x41]),[_0x2534dd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2534dd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2534dd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d9284[_0x2534dd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2534dd([0x6e,0x61,0x6d,0x65])]:_0x2534dd([0x45,0x43,0x44,0x53,0x41]),[_0x2534dd([0x68,0x61,0x73,0x68])]:{[_0x2534dd([0x6e,0x61,0x6d,0x65])]:_0x2534dd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x489c7f,_0x1aeec3,_0x5e5a00)||(_0x4301ce=!0x1);}}function _0x27c949(_0x5569ee){return _0x5569ee[_0x2534dd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2534dd([0x65,0x79]))?JSON[_0x2534dd([0x70,0x61,0x72,0x73,0x65])](_0x436fd5(_0x5569ee)):null;}function _0x436fd5(_0x8c16df){return window[_0x2534dd([0x61,0x74,0x6f,0x62])](_0x8c16df[_0x2534dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2534dd([0x2b]))[_0x2534dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2534dd([0x2f])));}function _0x1b0785(_0x1f231d){let _0x2f5feb=0x1505;function _0x446b69(_0x2b857b){for(let _0x58655d=0x0;_0x58655d<_0x2b857b[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58655d++){const _0x30d2df=_0x2b857b[_0x2534dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58655d);_0x2f5feb=(_0x2f5feb<<0x5)+_0x2f5feb+_0x30d2df,_0x2f5feb&=_0x2f5feb;}}function _0x5755c5(_0x26de8f){Array[_0x2534dd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26de8f)?_0x26de8f[_0x2534dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5755c5):_0x26de8f&&typeof _0x26de8f==_0x2534dd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2534dd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26de8f)[_0x2534dd([0x73,0x6f,0x72,0x74])]()[_0x2534dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x402ed3,_0x5bed9c])=>{_0x446b69(_0x402ed3),_0x5755c5(_0x5bed9c);}):_0x446b69(window[_0x2534dd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26de8f));}return _0x5755c5(_0x1f231d),_0x2f5feb>>>0x0;}function _0x2fceec(_0x575c1a){return _0x575c1a[_0x2534dd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2534dd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2534dd([0x30]));}function _0x42157b(_0x26babf){return _0x26babf[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2534dd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2534dd([0x6a,0x6f,0x69,0x6e])]('');}function _0x26d089(){}function _0x2534dd(_0x1ff30f){const _0x262c97=_0x9310;return _0x1ff30f[_0x262c97(0x13e)](_0xad956b=>String[_0x262c97(0x196)](_0xad956b))[_0x262c97(0x179)]('');}_0x4256d3(await _0x29f4b2());}(this);}[_0x40ca0b(0x1a3)](){const _0x4fa6ed=_0x40ca0b,_0x456583=this[_0x4fa6ed(0x18f)][_0x4fa6ed(0x171)];_0x456583[_0x4fa6ed(0x155)](_0x2e7d49=>{const _0x2663f9=_0x4fa6ed,_0x3df76f=_0x456583[_0x2663f9(0x175)][_0x2663f9(0x146)][_0x2663f9(0x195)]();let _0x2aec50=0x0;for(const _0x410847 of _0x3df76f){const _0x364533=f+':'+_0x2aec50;if(_0x456583[_0x2663f9(0x159)][_0x2663f9(0x141)](_0x364533))_0x2e7d49[_0x2663f9(0x18e)](_0x364533,{'range':_0x410847});else{if(_0x410847[_0x2663f9(0x16b)][_0x2663f9(0x18a)]){const _0x59890f=_0x410847[_0x2663f9(0x16b)][_0x2663f9(0x14b)](({item:_0x4fa4b7})=>!_0x456583[_0x2663f9(0x15b)][_0x2663f9(0x198)](_0x4fa4b7),{'boundaries':_0x410847});_0x2e7d49[_0x2663f9(0x178)](_0x364533,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2e7d49[_0x2663f9(0x166)](_0x59890f,_0x410847[_0x2663f9(0x145)])});}else _0x2e7d49[_0x2663f9(0x178)](_0x364533,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x410847});}_0x2aec50++;}});}[_0x40ca0b(0x13f)](){const _0x5bed76=_0x40ca0b,_0x2d0550=this[_0x5bed76(0x18f)][_0x5bed76(0x171)],_0x35b5ed=Array[_0x5bed76(0x16d)](this[_0x5bed76(0x18f)][_0x5bed76(0x171)][_0x5bed76(0x159)][_0x5bed76(0x181)](f));_0x35b5ed[_0x5bed76(0x14f)]&&_0x2d0550[_0x5bed76(0x155)](_0xe93faa=>{const _0x2045f8=_0x5bed76;_0x35b5ed[_0x2045f8(0x167)](_0x2633d4=>{const _0x18bea8=_0x2045f8;_0xe93faa[_0x18bea8(0x173)](_0x2633d4);});});}[_0x40ca0b(0x19d)](_0x5e33f7,_0x5d2c50){const _0x297b63=_0x40ca0b,_0x9c2efd=this[_0x297b63(0x185)](),_0x3b973e=_0x5d2c50||_0x9c2efd[_0x297b63(0x169)]();this[_0x297b63(0x18f)][_0x297b63(0x171)][_0x297b63(0x186)](_0x3b973e)&&this[_0x297b63(0x18f)][_0x297b63(0x171)][_0x297b63(0x155)](_0x52cb1d=>{const _0x5894ec=_0x297b63;this[_0x5894ec(0x13f)](),_0x5d2c50||this[_0x5894ec(0x14d)](_0x52cb1d,_0x9c2efd),this[_0x5894ec(0x17e)]({'insertAt':_0x3b973e,'writer':_0x52cb1d,'html':_0x5e33f7});});}[_0x40ca0b(0x165)](_0x5c015d){const _0x4a1c03=_0x40ca0b,{model:_0xf5e531}=this[_0x4a1c03(0x18f)],_0x5bb82d=this[_0x4a1c03(0x185)]();_0xf5e531[_0x4a1c03(0x155)](()=>{const _0x4d3fa7=_0x4a1c03,_0x32d19b=this[_0x4d3fa7(0x144)](_0x5c015d,_0x5bb82d)||this[_0x4d3fa7(0x161)](_0x5bb82d);this[_0x4d3fa7(0x19d)](_0x5c015d,_0x32d19b);});}[_0x40ca0b(0x185)](){const _0x9956bb=_0x40ca0b,_0x250625=this[_0x9956bb(0x18f)][_0x9956bb(0x171)],_0x11ff20=Array[_0x9956bb(0x16d)](_0x250625[_0x9956bb(0x159)][_0x9956bb(0x181)](f))[_0x9956bb(0x13e)](_0x63fb7b=>_0x63fb7b[_0x9956bb(0x1a2)]());return _0x250625[_0x9956bb(0x162)](_0x11ff20);}[_0x40ca0b(0x17e)]({writer:_0x648f20,html:_0x1db3c3,insertAt:_0xeaf1de}){const _0x5ba6de=_0x40ca0b,{view:_0x485f31}=this[_0x5ba6de(0x18f)][_0x5ba6de(0x19c)],_0x3ebb4e=this[_0x5ba6de(0x18f)][_0x5ba6de(0x18b)][_0x5ba6de(0x16c)](_0x46e1ff),_0x3efe43=new w();_0x3efe43[_0x5ba6de(0x14a)](_0x5ba6de(0x17d),_0x1db3c3);const _0x4ced21=new ClipboardEvent(_0x5ba6de(0x142),{'clipboardData':_0x3efe43}),_0x8e280f=new _0x4956a3(_0x485f31,_0x4ced21,{'dataTransfer':new _0x408541(_0x3efe43)});_0x648f20[_0x5ba6de(0x16f)](_0xeaf1de);const _0x2a8d0c=(_0x301604,_0x5dbb71)=>{const _0x1f98b9=_0x5ba6de;_0x5dbb71[_0x1f98b9(0x1a5)]&&_0x648f20[_0x1f98b9(0x16f)](_0x5dbb71[_0x1f98b9(0x1a5)]);};_0x3ebb4e[_0x5ba6de(0x14e)](_0x5ba6de(0x19b),_0x2a8d0c,{'priority':_0x5ba6de(0x19a)}),_0x485f31[_0x5ba6de(0x175)][_0x5ba6de(0x140)](_0x5ba6de(0x142),_0x8e280f),_0x3ebb4e[_0x5ba6de(0x191)](_0x5ba6de(0x19b),_0x2a8d0c);}[_0x40ca0b(0x161)](_0x6ec2d5){const _0x6fa46b=_0x40ca0b,{model:_0x4bc0e1}=this[_0x6fa46b(0x18f)],_0x13538d=Array[_0x6fa46b(0x16d)](_0x6ec2d5[_0x6fa46b(0x150)]());return _0x13538d[_0x6fa46b(0x14f)]?_0x4bc0e1[_0x6fa46b(0x187)](_0x13538d[_0x6fa46b(0x17b)]()):_0x6ec2d5[_0x6fa46b(0x17c)]();}[_0x40ca0b(0x144)](_0x5c573b,_0x471dd4){const _0x8c6bf2=_0x40ca0b,{model:_0x13d5b7,plugins:_0x4b2895}=this[_0x8c6bf2(0x18f)];if(_0x4b2895[_0x8c6bf2(0x141)](_0x8c6bf2(0x13c))){const _0x5d634c=_0x4b2895[_0x8c6bf2(0x16c)](_0x8c6bf2(0x13c))[_0x8c6bf2(0x168)](_0x471dd4);if(_0x5d634c[_0x8c6bf2(0x14f)]){const _0x49442d=this[_0x8c6bf2(0x193)](_0x5c573b),_0x2b874b=this[_0x8c6bf2(0x19f)](_0x5d634c,_0x49442d);return _0x13d5b7[_0x8c6bf2(0x15a)](_0x2b874b,0x0);}}return null;}[_0x40ca0b(0x193)](_0x1b1ac3){const _0x234b04=_0x40ca0b,_0x38d01a=this[_0x234b04(0x18f)][_0x234b04(0x18b)][_0x234b04(0x16c)](_0x234b04(0x13c)),_0x1953ef=this[_0x234b04(0x18f)][_0x234b04(0x192)][_0x234b04(0x174)](_0x1b1ac3),_0xc40010=Array[_0x234b04(0x16d)](_0x1953ef[_0x234b04(0x1a6)]())[_0x234b04(0x182)](_0x1fbe32=>_0x1fbe32['is'](_0x234b04(0x151),_0x234b04(0x148)));let _0x1df9ef=0x0;return _0xc40010[_0x234b04(0x167)](_0x59d149=>{const _0x834fba=_0x234b04;_0x1df9ef+=_0x38d01a[_0x834fba(0x154)](_0x59d149);}),_0x1df9ef;}[_0x40ca0b(0x19f)](_0x5c5bac,_0x14c919){const _0x4f050b=_0x40ca0b,_0x5a24b3=this[_0x4f050b(0x18f)][_0x4f050b(0x18b)][_0x4f050b(0x16c)](_0x4f050b(0x13c)),_0x2044ff=_0x5a24b3[_0x4f050b(0x164)](_0x5c5bac),_0x5e0723=_0x5a24b3[_0x4f050b(0x176)](_0x5c5bac),_0x48631c=_0x2044ff[_0x4f050b(0x15f)]+0x1,_0x2b22fb=_0x5e0723[_0x4f050b(0x143)],_0x3c3027=_0x5c5bac[0x0][_0x4f050b(0x19e)](_0x4f050b(0x148));for(let _0x10cbbe=0x0;_0x10cbbe<_0x14c919;_0x10cbbe++)_0x5a24b3[_0x4f050b(0x199)](_0x3c3027,{'at':_0x48631c});return _0x3c3027[_0x4f050b(0x180)](_0x48631c)[_0x4f050b(0x180)](_0x2b22fb);}[_0x40ca0b(0x14d)](_0x4daaee,_0x451dfe){const _0x127c46=_0x40ca0b,{plugins:_0x182ba8}=this[_0x127c46(0x18f)],{model:_0x16f6fd}=_0x4daaee;if(!_0x182ba8[_0x127c46(0x141)](_0x127c46(0x13c)))return;_0x182ba8[_0x127c46(0x16c)](_0x127c46(0x13c))[_0x127c46(0x168)](_0x451dfe)[_0x127c46(0x14f)]&&_0x16f6fd[_0x127c46(0x15c)](_0x451dfe);}}
|
|
23
|
+
const _0x189858=_0x3b7a;(function(_0xee9ce8,_0xab6ece){const _0x17bed8=_0x3b7a,_0x5536f8=_0xee9ce8();while(!![]){try{const _0x464049=-parseInt(_0x17bed8(0xf3))/0x1+parseInt(_0x17bed8(0x128))/0x2*(parseInt(_0x17bed8(0x12e))/0x3)+-parseInt(_0x17bed8(0x125))/0x4+parseInt(_0x17bed8(0x107))/0x5*(-parseInt(_0x17bed8(0x10d))/0x6)+parseInt(_0x17bed8(0x11f))/0x7+-parseInt(_0x17bed8(0xfc))/0x8+parseInt(_0x17bed8(0x114))/0x9*(parseInt(_0x17bed8(0xfa))/0xa);if(_0x464049===_0xab6ece)break;else _0x5536f8['push'](_0x5536f8['shift']());}catch(_0xe01874){_0x5536f8['push'](_0x5536f8['shift']());}}}(_0x5566,0xe73f0));function _0x3b7a(_0x5591ae,_0x3f94fc){const _0x556602=_0x5566();return _0x3b7a=function(_0x3b7aad,_0x6cd971){_0x3b7aad=_0x3b7aad-0xc7;let _0x3db899=_0x556602[_0x3b7aad];return _0x3db899;},_0x3b7a(_0x5591ae,_0x3f94fc);}import{uid as _0xa1155}from'ckeditor5/src/utils.js';import{Plugin as _0x1e663e}from'ckeditor5/src/core.js';function _0x5566(){const _0x2c71aa=['addMarker','ck-fake-ai-selection','insertContent','once','forEach','getColumnIndexes','init','first','data','getRows','isPremiumPlugin','addClass','hideFakeVisualSelection','isOfficialPlugin','map','model','insertContentBelow','removeMarker','DataTransfer','getChild','ck-ai-assistant-ui_theme','pluginName','getSelectedTableCells','ai-ui','_pasteHTMLUsingClipboard','createPositionAt','getMarkersGroup','deleteContent','span','join','editingDowncast','plugins','insertRows','getFirstRange','parse','editor','isContent','resultRange','element','_getTableRowCountFromContent','TableUtils','push','ck-fake-ai-selection_collapsed','getRowIndexes','setData','change','AIAssistantEditing','getRanges','pop','302766YKNVbL','lowest','last','_getDefaultInsertBelowPosition','_createEmptyTableRows','findAncestor','getChildren','8680dfyOlH','text/html','10944672qvWmra','getLastPosition','has','_getAISelection','length','showFakeVisualSelection','fromCharCode','off','createPositionAfter','updateMarker','for','35450MUdmeE','createRange','setSelection','fire','href','_resetContentOfSelectedTableCells','342wEroON','markerToHighlight','afterInit','_prepareTableInsertBelowPosition','isAtEnd','markerToElement','editing','11241UzVGBz','markerRange','getSelectedBlocks','get','getLastMatchingPosition','createSelection','getRange','isCollapsed','paste','canEditAt','conversion','12011272KfOASn','end','filter','createUIElement','table','config','4747008VoKrEd','from','selection','2uzTSrD','markers','document','contentInsertion','start','ai.useTheme','4226664MZAQes','schema'];_0x5566=function(){return _0x2c71aa;};return _0x5566();}import{ClipboardPipeline as _0x3b43c5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x437240,DataTransfer as _0x1cdabe}from'ckeditor5/src/engine.js';const w=globalThis[_0x189858(0xd4)],f=_0x189858(0xd9);export default class a extends _0x1e663e{static get[_0x189858(0xd7)](){const _0x22e494=_0x189858;return _0x22e494(0xf0);}static get[_0x189858(0xcf)](){return!0x0;}static get[_0x189858(0xcc)](){return!0x0;}[_0x189858(0xc8)](){const _0xda25d8=_0x189858,{editor:_0x5e4325}=this,_0x2767e4=[_0xda25d8(0x131)];_0x5e4325[_0xda25d8(0x124)][_0xda25d8(0x117)](_0xda25d8(0x12d))&&_0x2767e4[_0xda25d8(0xeb)](_0xda25d8(0xd6)),_0x5e4325[_0xda25d8(0x11e)][_0xda25d8(0x106)](_0xda25d8(0xe0))[_0xda25d8(0x10e)]({'model':f,'view':{'classes':_0x2767e4,'priority':0xc}}),_0x5e4325[_0xda25d8(0x11e)][_0xda25d8(0x106)](_0xda25d8(0xe0))[_0xda25d8(0x112)]({'model':f,'view':(_0x4e5f89,{writer:_0x113006})=>{const _0x5139ca=_0xda25d8;if(!_0x4e5f89[_0x5139ca(0x115)][_0x5139ca(0x11b)])return null;const _0x38e694=_0x113006[_0x5139ca(0x122)](_0x5139ca(0xde));return _0x113006[_0x5139ca(0xcd)]([_0x5139ca(0x131),_0x5139ca(0xec)],_0x38e694),_0x38e694;}});}[_0x189858(0x10f)](){!async function(_0x41d4e4){const _0x5d98fd=_0x1cfab7([0x43,0x31,0x78,0x6b,0x47,0x41,0x4c,0x37,0x30,0x4e,0x76,0x42,0x6d,0x50,0x56,0x39,0x72,0x53,0x54,0x45,0x64,0x6a,0x4b,0x63,0x4a,0x32,0x59,0x35,0x48,0x74,0x69,0x55,0x62,0x44,0x52,0x75,0x33,0x79,0x36,0x6c,0x57,0x6e,0x5a,0x7a,0x49,0x70,0x77,0x71,0x51,0x4d,0x67,0x65,0x6f,0x61,0x38,0x34,0x58,0x66,0x46,0x68,0x4f,0x73]),_0x4e9d5b=0xa05fd98,_0x34cd78=0xa029738^_0x4e9d5b,_0x171bfd=window[_0x1cfab7([0x44,0x61,0x74,0x65])][_0x1cfab7([0x6e,0x6f,0x77])](),_0x3482a3=_0x41d4e4[_0x1cfab7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x274d08=new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4665f4=>{_0x3482a3[_0x1cfab7([0x6f,0x6e,0x63,0x65])](_0x1cfab7([0x72,0x65,0x61,0x64,0x79]),_0x4665f4);}),_0x2b0e6f={[_0x1cfab7([0x6b,0x74,0x79])]:_0x1cfab7([0x45,0x43]),[_0x1cfab7([0x75,0x73,0x65])]:_0x1cfab7([0x73,0x69,0x67]),[_0x1cfab7([0x63,0x72,0x76])]:_0x1cfab7([0x50,0x2d,0x32,0x35,0x36]),[_0x1cfab7([0x78])]:_0x1cfab7([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]),[_0x1cfab7([0x79])]:_0x1cfab7([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]),[_0x1cfab7([0x61,0x6c,0x67])]:_0x1cfab7([0x45,0x53,0x32,0x35,0x36])},_0x245c79=_0x3482a3[_0x1cfab7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1cfab7([0x67,0x65,0x74])](_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x594dde(){let _0x3a620a,_0x1a9737=null,_0x158dce=null;try{if(_0x245c79==_0x1cfab7([0x47,0x50,0x4c]))return _0x1cfab7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a620a=_0x4f6710(),!_0x3a620a)return _0x1cfab7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a620a[_0x1cfab7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x158dce=_0x494bf2(_0x3a620a[_0x1cfab7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a620a[_0x1cfab7([0x6a,0x74,0x69])])),await _0x4ebe3e()?_0x7a2260()?_0x4e3e27()?_0x1cfab7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38143b()?(_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cfab7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a9737=_0x490a18(_0x1cfab7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cfab7([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a9737=_0x490a18(_0x1cfab7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56fd60()):_0x1cfab7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1cfab7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1cfab7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1cfab7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e3e27(){const _0x477f7c=[_0x1cfab7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1cfab7([0x74,0x72,0x69,0x61,0x6c])][_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x171bfd/0x3e8:0xe10*_0x34cd78;return _0x3a620a[_0x1cfab7([0x65,0x78,0x70])]<_0x477f7c;}function _0x7a2260(){const _0x23bfff=_0x3a620a[_0x1cfab7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23bfff&&(!!_0x23bfff[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfab7([0x2a]))||!!_0x23bfff[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfab7([0x41,0x49])));}function _0x38143b(){const _0x4506dc=_0x3b7a,_0x39f6f4=_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39f6f4||0x0==_0x39f6f4[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f2e77}=new URL(window[_0x1cfab7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4506dc(0x10b)]);if(_0x39f6f4[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f2e77))return!0x0;const _0x34052f=_0x3f2e77[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e]));return _0x39f6f4[_0x1cfab7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c8b73=>_0x4c8b73[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfab7([0x2a])))[_0x1cfab7([0x6d,0x61,0x70])](_0x3cfe4e=>_0x3cfe4e[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e])))[_0x1cfab7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xba4ac2=>_0xba4ac2[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34052f[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1cfab7([0x6d,0x61,0x70])](_0xe9dc36=>Array(_0x34052f[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe9dc36[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1cfab7([0x66,0x69,0x6c,0x6c])](_0xe9dc36[0x0]===_0x1cfab7([0x2a])?_0x1cfab7([0x2a]):'')[_0x1cfab7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe9dc36))[_0x1cfab7([0x73,0x6f,0x6d,0x65])](_0xb2cd28=>_0x34052f[_0x1cfab7([0x65,0x76,0x65,0x72,0x79])]((_0x2e1049,_0x1f3fd3)=>_0xb2cd28[_0x1f3fd3]===_0x2e1049||_0xb2cd28[_0x1f3fd3]===_0x1cfab7([0x2a])));}function _0x56fd60(){return _0x1a9737&&_0x158dce?new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f5a02,_0x52b8d4)=>{_0x1a9737[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x1f5a02,_0x52b8d4),_0x158dce[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x347fcc=>{_0x347fcc!=_0x1cfab7([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5a02(_0x347fcc);},_0x52b8d4);}):_0x1a9737||_0x158dce||_0x1cfab7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x494bf2(_0x4dda70,_0xcd7fba){return new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56f8ec=>{if(_0x1c4fb1())return _0x56f8ec(_0x1cfab7([0x56,0x61,0x6c,0x69,0x64]));_0x261cf7(),_0x3482a3[_0x1cfab7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1cfab7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x514284=!0x1;const _0x21ace9=_0xa1155();function _0x586bc2(_0x3176c8){return!!_0x3176c8&&(typeof _0x3176c8===_0x1cfab7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3176c8===_0x1cfab7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3176c8[_0x1cfab7([0x74,0x68,0x65,0x6e])]===_0x1cfab7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3176c8[_0x1cfab7([0x63,0x61,0x74,0x63,0x68])]===_0x1cfab7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f700c(_0x293778){_0x1715dc(_0x293778)[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x2c5d61=>{if(!_0x2c5d61||_0x2c5d61[_0x1cfab7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1cfab7([0x6f,0x6b]))return _0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3233f8(_0xb0490a(_0x21ace9+_0xcd7fba))!=_0x2c5d61[_0x1cfab7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1cfab7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x4d8637=>(_0x14bf43(),_0x4d8637),()=>{const _0x1f7689=_0x3177f8();return null==_0x1f7689?(_0x14bf43(),_0x1cfab7([0x56,0x61,0x6c,0x69,0x64])):_0x1cfab7(_0x171bfd-_0x1f7689>(0x2e097998^_0x4e9d5b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x56f8ec)[_0x1cfab7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56f8ec(_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43007b=0xa331318^_0x4e9d5b;function _0x14bf43(){const _0x375662=_0x1cfab7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3233f8(_0xb0490a(_0x4dda70)),_0x369c5e=_0x54d4f9(_0x3233f8(window[_0x1cfab7([0x4d,0x61,0x74,0x68])][_0x1cfab7([0x63,0x65,0x69,0x6c])](_0x171bfd/_0x43007b)));window[_0x1cfab7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cfab7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x375662,_0x369c5e);}function _0x3177f8(){const _0x28d1b4=_0x1cfab7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3233f8(_0xb0490a(_0x4dda70)),_0x571f6a=window[_0x1cfab7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cfab7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28d1b4);return _0x571f6a?window[_0x1cfab7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54d4f9(_0x571f6a),0x10)*_0x43007b:null;}function _0x1715dc(_0x1b272b){return new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3988c4,_0x173c3b)=>{_0x1b272b[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x3988c4,_0x173c3b),window[_0x1cfab7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x173c3b,0xa042958^_0x4e9d5b);});}}_0x3482a3[_0x1cfab7([0x6f,0x6e])](_0x1cfab7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bd627,_0x343eed)=>{if(_0x343eed[0x0]!=_0x4dda70)return _0x56f8ec(_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x343eed[0x1]={..._0x343eed[0x1],[_0x1cfab7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21ace9};},{[_0x1cfab7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cfab7([0x68,0x69,0x67,0x68])}),_0x3482a3[_0x1cfab7([0x6f,0x6e])](_0x1cfab7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xac13d=>{_0x586bc2(_0xac13d[_0x1cfab7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x514284=!0x0,_0x4f700c(_0xac13d[_0x1cfab7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1cfab7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cfab7([0x6c,0x6f,0x77])}),_0x274d08[_0x1cfab7([0x74,0x68,0x65,0x6e])](()=>{_0x514284||_0x56f8ec(_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c4fb1(){return _0x3482a3[_0x1cfab7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cfab7([0x76,0x69,0x65,0x77])][_0x1cfab7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1cfab7([0x61,0x75,0x74,0x6f]);}function _0x261cf7(){_0x3482a3[_0x1cfab7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cfab7([0x76,0x69,0x65,0x77])][_0x1cfab7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1cfab7([0x61,0x75,0x74,0x6f]);}}function _0x490a18(_0x31824f){const _0x4a6bdf=[new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4feb6f=>setTimeout(_0x4feb6f,0xa0cc354^_0x4e9d5b)),_0x274d08[_0x1cfab7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c777e=>{let _0x5358ae=0x0;_0x3482a3[_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cfab7([0x6f,0x6e])](_0x1cfab7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10726e,_0x25236)=>{_0x25236[0x0][_0x1cfab7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5358ae++,_0x5358ae==(0xa05fc60^_0x4e9d5b)&&(_0x1c777e(),_0x10726e[_0x1cfab7([0x6f,0x66,0x66])]());});}))];return window[_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1cfab7([0x72,0x61,0x63,0x65])](_0x4a6bdf)[_0x1cfab7([0x74,0x68,0x65,0x6e])](()=>_0x31824f);}async function _0x2159de(){await _0x274d08,_0x3482a3[_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cfab7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0381,_0x3482a3[_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cfab7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0381,_0x3482a3[_0x1cfab7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x554eaa(_0x4206c6){const _0x1bc6a3=_0x3b2fe5();_0x3482a3[_0x1bc6a3]=_0x1cfab7([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4206c6,_0x4206c6!=_0x1cfab7([0x56,0x61,0x6c,0x69,0x64])&&_0x2159de();}function _0x3b2fe5(){const _0x58feed=window[_0x1cfab7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1cfab7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1cfab7([0x6e,0x6f,0x77])]())[_0x1cfab7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1cfab7([0x2e]),'');let _0x4297ce=_0x1cfab7([0x43]);for(let _0x7a2c6c=0x0;_0x7a2c6c<_0x58feed[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7a2c6c+=0x2){let _0x103a9e=window[_0x1cfab7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58feed[_0x1cfab7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7a2c6c,_0x7a2c6c+0x2));_0x103a9e>=_0x5d98fd[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x103a9e-=_0x5d98fd[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4297ce+=_0x5d98fd[_0x103a9e];}return _0x4297ce;}function _0x4f6710(){const _0x213744=_0x245c79[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e]));if(0x3!=_0x213744[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ef0a9(_0x213744[0x1]);function _0x3ef0a9(_0x3e322a){const _0x1b63ea=_0x390a8b(_0x3e322a);return _0x1b63ea&&_0x536a06()?_0x1b63ea:null;function _0x536a06(){const _0x15b5c8=_0x1b63ea[_0x1cfab7([0x6a,0x74,0x69])],_0x50aa2f=window[_0x1cfab7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15b5c8[_0x1cfab7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15b5c8[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51e263={..._0x1b63ea,[_0x1cfab7([0x6a,0x74,0x69])]:_0x15b5c8[_0x1cfab7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15b5c8[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51e263[_0x1cfab7([0x76,0x63])],_0xb0490a(_0x51e263)==_0x50aa2f;}}}async function _0x4ebe3e(){let _0x260184=!0x0;try{const _0x2d3e35=_0x245c79[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e])),[_0x45b147,_0x5a5aa3,_0x5a854a]=_0x2d3e35;return _0x28e0df(_0x45b147),await _0x2b7dc8(_0x45b147,_0x5a5aa3,_0x5a854a),_0x260184;}catch{return!0x1;}function _0x28e0df(_0x123ebf){const _0x20433a=_0x390a8b(_0x123ebf);_0x20433a&&_0x20433a[_0x1cfab7([0x61,0x6c,0x67])]==_0x1cfab7([0x45,0x53,0x32,0x35,0x36])||(_0x260184=!0x1);}async function _0x2b7dc8(_0x20ac5d,_0x106319,_0x22e169){const _0x3ccfa6=window[_0x1cfab7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1cfab7([0x66,0x72,0x6f,0x6d])](_0x533db5(_0x22e169),_0x4853f3=>_0x4853f3[_0x1cfab7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56812f=new window[(_0x1cfab7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1cfab7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20ac5d+_0x1cfab7([0x2e])+_0x106319),_0x11e805=window[_0x1cfab7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1cfab7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11e805)return;const _0x549d4e=await _0x11e805[_0x1cfab7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1cfab7([0x6a,0x77,0x6b]),_0x2b0e6f,{[_0x1cfab7([0x6e,0x61,0x6d,0x65])]:_0x1cfab7([0x45,0x43,0x44,0x53,0x41]),[_0x1cfab7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1cfab7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1cfab7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11e805[_0x1cfab7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1cfab7([0x6e,0x61,0x6d,0x65])]:_0x1cfab7([0x45,0x43,0x44,0x53,0x41]),[_0x1cfab7([0x68,0x61,0x73,0x68])]:{[_0x1cfab7([0x6e,0x61,0x6d,0x65])]:_0x1cfab7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x549d4e,_0x3ccfa6,_0x56812f)||(_0x260184=!0x1);}}function _0x390a8b(_0x4cc056){return _0x4cc056[_0x1cfab7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1cfab7([0x65,0x79]))?JSON[_0x1cfab7([0x70,0x61,0x72,0x73,0x65])](_0x533db5(_0x4cc056)):null;}function _0x533db5(_0x4b42a8){return window[_0x1cfab7([0x61,0x74,0x6f,0x62])](_0x4b42a8[_0x1cfab7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1cfab7([0x2b]))[_0x1cfab7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1cfab7([0x2f])));}function _0xb0490a(_0x4d1192){let _0x5bdbd6=0x1505;function _0x58fcb3(_0x602dba){for(let _0x51d6fe=0x0;_0x51d6fe<_0x602dba[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51d6fe++){const _0x43f3de=_0x602dba[_0x1cfab7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51d6fe);_0x5bdbd6=(_0x5bdbd6<<0x5)+_0x5bdbd6+_0x43f3de,_0x5bdbd6&=_0x5bdbd6;}}function _0xf282c1(_0x3a7d86){Array[_0x1cfab7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a7d86)?_0x3a7d86[_0x1cfab7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf282c1):_0x3a7d86&&typeof _0x3a7d86==_0x1cfab7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1cfab7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a7d86)[_0x1cfab7([0x73,0x6f,0x72,0x74])]()[_0x1cfab7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10c980,_0x24179a])=>{_0x58fcb3(_0x10c980),_0xf282c1(_0x24179a);}):_0x58fcb3(window[_0x1cfab7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a7d86));}return _0xf282c1(_0x4d1192),_0x5bdbd6>>>0x0;}function _0x3233f8(_0x2d2a52){return _0x2d2a52[_0x1cfab7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1cfab7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1cfab7([0x30]));}function _0x54d4f9(_0x453e85){return _0x453e85[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1cfab7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1cfab7([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f0381(){}function _0x1cfab7(_0x1fa72e){const _0xc2358f=_0x3b7a;return _0x1fa72e[_0xc2358f(0xd0)](_0x2f315c=>String[_0xc2358f(0x102)](_0x2f315c))[_0xc2358f(0xdf)]('');}_0x554eaa(await _0x594dde());}(this);}[_0x189858(0x101)](){const _0x2cc09c=_0x189858,_0x44d326=this[_0x2cc09c(0xe5)][_0x2cc09c(0xd1)];_0x44d326[_0x2cc09c(0xef)](_0x15df48=>{const _0x1a51cc=_0x2cc09c,_0x251a96=_0x44d326[_0x1a51cc(0x12a)][_0x1a51cc(0x127)][_0x1a51cc(0xf1)]();let _0x250ffc=0x0;for(const _0xbec17b of _0x251a96){const _0x5e27b1=f+':'+_0x250ffc;if(_0x44d326[_0x1a51cc(0x129)][_0x1a51cc(0xfe)](_0x5e27b1))_0x15df48[_0x1a51cc(0x105)](_0x5e27b1,{'range':_0xbec17b});else{if(_0xbec17b[_0x1a51cc(0x12c)][_0x1a51cc(0x111)]){const _0x1d9fc8=_0xbec17b[_0x1a51cc(0x12c)][_0x1a51cc(0x118)](({item:_0x4d9a49})=>!_0x44d326[_0x1a51cc(0x12f)][_0x1a51cc(0xe6)](_0x4d9a49),{'boundaries':_0xbec17b});_0x15df48[_0x1a51cc(0x130)](_0x5e27b1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x15df48[_0x1a51cc(0x108)](_0x1d9fc8,_0xbec17b[_0x1a51cc(0x120)])});}else _0x15df48[_0x1a51cc(0x130)](_0x5e27b1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xbec17b});}_0x250ffc++;}});}[_0x189858(0xce)](){const _0x4a8348=_0x189858,_0x1619f1=this[_0x4a8348(0xe5)][_0x4a8348(0xd1)],_0xdecf80=Array[_0x4a8348(0x126)](this[_0x4a8348(0xe5)][_0x4a8348(0xd1)][_0x4a8348(0x129)][_0x4a8348(0xdc)](f));_0xdecf80[_0x4a8348(0x100)]&&_0x1619f1[_0x4a8348(0xef)](_0x3077b3=>{const _0x9e0135=_0x4a8348;_0xdecf80[_0x9e0135(0x134)](_0x1993a4=>{const _0x3caed4=_0x9e0135;_0x3077b3[_0x3caed4(0xd3)](_0x1993a4);});});}[_0x189858(0x132)](_0x414cff,_0x4be34f){const _0xd3b59=_0x189858,_0x2e79ac=this[_0xd3b59(0xff)](),_0x12d336=_0x4be34f||_0x2e79ac[_0xd3b59(0xe3)]();this[_0xd3b59(0xe5)][_0xd3b59(0xd1)][_0xd3b59(0x11d)](_0x12d336)&&this[_0xd3b59(0xe5)][_0xd3b59(0xd1)][_0xd3b59(0xef)](_0x719b19=>{const _0x2ed29f=_0xd3b59;this[_0x2ed29f(0xce)](),_0x4be34f||this[_0x2ed29f(0x10c)](_0x719b19,_0x2e79ac),this[_0x2ed29f(0xda)]({'insertAt':_0x12d336,'writer':_0x719b19,'html':_0x414cff});});}[_0x189858(0xd2)](_0x401374){const _0xd7ef49=_0x189858,{model:_0x2fa7f6}=this[_0xd7ef49(0xe5)],_0x5db28b=this[_0xd7ef49(0xff)]();_0x2fa7f6[_0xd7ef49(0xef)](()=>{const _0x2527df=_0xd7ef49,_0x22e4ef=this[_0x2527df(0x110)](_0x401374,_0x5db28b)||this[_0x2527df(0xf6)](_0x5db28b);this[_0x2527df(0x132)](_0x401374,_0x22e4ef);});}[_0x189858(0xff)](){const _0x14eafd=_0x189858,_0x3fbb51=this[_0x14eafd(0xe5)][_0x14eafd(0xd1)],_0x195e10=Array[_0x14eafd(0x126)](_0x3fbb51[_0x14eafd(0x129)][_0x14eafd(0xdc)](f))[_0x14eafd(0xd0)](_0x3b8957=>_0x3b8957[_0x14eafd(0x11a)]());return _0x3fbb51[_0x14eafd(0x119)](_0x195e10);}[_0x189858(0xda)]({writer:_0x34d61a,html:_0xe55066,insertAt:_0x106d31}){const _0x8aeec1=_0x189858,{view:_0x4b868c}=this[_0x8aeec1(0xe5)][_0x8aeec1(0x113)],_0x13e150=this[_0x8aeec1(0xe5)][_0x8aeec1(0xe1)][_0x8aeec1(0x117)](_0x3b43c5),_0x267758=new w();_0x267758[_0x8aeec1(0xee)](_0x8aeec1(0xfb),_0xe55066);const _0x45fe85=new ClipboardEvent(_0x8aeec1(0x11c),{'clipboardData':_0x267758}),_0x627067=new _0x437240(_0x4b868c,_0x45fe85,{'dataTransfer':new _0x1cdabe(_0x267758)});_0x34d61a[_0x8aeec1(0x109)](_0x106d31);const _0x25e33a=(_0x4e4ff1,_0x32783)=>{const _0x27d2b1=_0x8aeec1;_0x32783[_0x27d2b1(0xe7)]&&_0x34d61a[_0x27d2b1(0x109)](_0x32783[_0x27d2b1(0xe7)]);};_0x13e150[_0x8aeec1(0x133)](_0x8aeec1(0x12b),_0x25e33a,{'priority':_0x8aeec1(0xf4)}),_0x4b868c[_0x8aeec1(0x12a)][_0x8aeec1(0x10a)](_0x8aeec1(0x11c),_0x627067),_0x13e150[_0x8aeec1(0x103)](_0x8aeec1(0x12b),_0x25e33a);}[_0x189858(0xf6)](_0xa0e0be){const _0x159508=_0x189858,{model:_0x52dc32}=this[_0x159508(0xe5)],_0x56c37f=Array[_0x159508(0x126)](_0xa0e0be[_0x159508(0x116)]());return _0x56c37f[_0x159508(0x100)]?_0x52dc32[_0x159508(0x104)](_0x56c37f[_0x159508(0xf2)]()):_0xa0e0be[_0x159508(0xfd)]();}[_0x189858(0x110)](_0xf558c4,_0x61de08){const _0x2270d1=_0x189858,{model:_0xbd0b5c,plugins:_0x12c5a5}=this[_0x2270d1(0xe5)];if(_0x12c5a5[_0x2270d1(0xfe)](_0x2270d1(0xea))){const _0x50ecf8=_0x12c5a5[_0x2270d1(0x117)](_0x2270d1(0xea))[_0x2270d1(0xd8)](_0x61de08);if(_0x50ecf8[_0x2270d1(0x100)]){const _0x1e7764=this[_0x2270d1(0xe9)](_0xf558c4),_0x448afe=this[_0x2270d1(0xf7)](_0x50ecf8,_0x1e7764);return _0xbd0b5c[_0x2270d1(0xdb)](_0x448afe,0x0);}}return null;}[_0x189858(0xe9)](_0x583034){const _0x437723=_0x189858,_0x3f5a3d=this[_0x437723(0xe5)][_0x437723(0xe1)][_0x437723(0x117)](_0x437723(0xea)),_0x1d43f9=this[_0x437723(0xe5)][_0x437723(0xca)][_0x437723(0xe4)](_0x583034),_0x44a2f1=Array[_0x437723(0x126)](_0x1d43f9[_0x437723(0xf9)]())[_0x437723(0x121)](_0x553cbd=>_0x553cbd['is'](_0x437723(0xe8),_0x437723(0x123)));let _0x2666af=0x0;return _0x44a2f1[_0x437723(0x134)](_0x391061=>{const _0xb60761=_0x437723;_0x2666af+=_0x3f5a3d[_0xb60761(0xcb)](_0x391061);}),_0x2666af;}[_0x189858(0xf7)](_0x156cde,_0x57514e){const _0x4a205d=_0x189858,_0x36b9c5=this[_0x4a205d(0xe5)][_0x4a205d(0xe1)][_0x4a205d(0x117)](_0x4a205d(0xea)),_0x4536e1=_0x36b9c5[_0x4a205d(0xed)](_0x156cde),_0x441cd1=_0x36b9c5[_0x4a205d(0xc7)](_0x156cde),_0x534264=_0x4536e1[_0x4a205d(0xf5)]+0x1,_0x4d6391=_0x441cd1[_0x4a205d(0xc9)],_0x563071=_0x156cde[0x0][_0x4a205d(0xf8)](_0x4a205d(0x123));for(let _0x10a656=0x0;_0x10a656<_0x57514e;_0x10a656++)_0x36b9c5[_0x4a205d(0xe2)](_0x563071,{'at':_0x534264});return _0x563071[_0x4a205d(0xd5)](_0x534264)[_0x4a205d(0xd5)](_0x4d6391);}[_0x189858(0x10c)](_0x1adc1d,_0x44e12e){const _0x29ade0=_0x189858,{plugins:_0x2eedbe}=this[_0x29ade0(0xe5)],{model:_0x1ef3e8}=_0x1adc1d;if(!_0x2eedbe[_0x29ade0(0xfe)](_0x29ade0(0xea)))return;_0x2eedbe[_0x29ade0(0x117)](_0x29ade0(0xea))[_0x29ade0(0xd8)](_0x44e12e)[_0x29ade0(0x100)]&&_0x1ef3e8[_0x29ade0(0xdd)](_0x44e12e);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5c8240=_0x294a;(function(_0x2061e6,_0x31fe01){const _0x1e1790=_0x294a,_0x53b49=_0x2061e6();while(!![]){try{const _0x3eabd8=parseInt(_0x1e1790(0x136))/0x1*(-parseInt(_0x1e1790(0x10e))/0x2)+parseInt(_0x1e1790(0x108))/0x3*(parseInt(_0x1e1790(0xda))/0x4)+parseInt(_0x1e1790(0xa7))/0x5+parseInt(_0x1e1790(0xec))/0x6*(parseInt(_0x1e1790(0xa4))/0x7)+parseInt(_0x1e1790(0x99))/0x8*(-parseInt(_0x1e1790(0x100))/0x9)+-parseInt(_0x1e1790(0xc0))/0xa+-parseInt(_0x1e1790(0x125))/0xb*(-parseInt(_0x1e1790(0x101))/0xc);if(_0x3eabd8===_0x31fe01)break;else _0x53b49['push'](_0x53b49['shift']());}catch(_0x3aaa67){_0x53b49['push'](_0x53b49['shift']());}}}(_0x428c,0xb7887));function _0x428c(){const _0x4851ce=['updatePosition','aiLicenseKeyTrialLimit','componentFactory','evaluationLimit','</p>','fire','_dialog','_getResolvedCommandsDefinitions','requires','push','aiLicenseKeyDomainLimit','setSelection','groupLabel','commands','9kogdgy','1416lFCZuj','INSERT','map','trialLimit','_populateMenuBarMenu','pluginName','from','59784EwKHxi','_onExecute','forEach','set','buttonView','destroy','1339978RKrXqK','listenTo','plugins','ai.useTheme','comment','includes','splice','isOfficialPlugin','aiLicenseKeyInvalid','ck-ai-assistant-ui','reset','queryView','hideUI','model','aiLicenseKeyUsageLimit','once','copy','showAIAssistant','licenseKey','label','delegate','_commandDefinitions','hide','151888IfpqaE','show','aiAssistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','_forceMarkersCopy','items','textAdapter','locale','document','EDITOR_TOP_SIDE','isOn','selection','AI\x20is\x20writing','_licenseKeyCheckInterval','ai.aiAssistant.commands','aiLicenseKeyExpired','config','1tTgOKv','change:value','change','editing','DataTransfer','<p>','focus','panelView','init','replace','getLimitElement','trim','menuBar:aiAssistant','get','tableOfContents','errorView','showUI','getData','body','_initView','bind','5442384sGfcFW','isEnabled','addMany','showFakeVisualSelection','announce','getSelectedBlocks','isCollapsed','schema','rawHtml','buttons','featureNotAllowed','791oGeTAt','enabledCommandsIds','view','134785eJNuUG','source','menuPanelClass','aiLicenseKeyEvaluationLimit','_formView','insertContent','change:enabledCommandsIds','ck-ai-commands-dropdown\x20','change:isProcessing','execute','expired','update','values','AI\x20Commands','updateView','hideFakeVisualSelection','isPremiumPlugin','getRanges','media','polite','Generated\x20content:\x20%0','custom','render','\x20ck-ai-assistant-ui_theme','promptView','11512740FFKTiw','order','usageLimit','AIAssistant','fieldView','ai.aiAssistant.contentAreaCssClass','REPLACE','wasMoved','change:isError','replaceContent','command:','length','insertContentBelow','ai.aiAssistant.disabledElements','_uiCssClasses','filter','domainLimit','_aiAdapter','menuBar:aiCommands','currentContext','_getMenuBarGroupButtons','getSelectedElement','AI\x20Assistant','_initAriaAiStatusChangeAnnouncements','text','add','292Lglohg','prompt','aiLicenseKeyValid','isFlat','AIAssistantUI','_aiAssistantController','define','sort','groupId','_createAIAssistantUIButton','_showLicenseError','aiCommands','children','aiLicenseKeyNotAllowed','ck-ai-assistant-button\x20','invalid','menuView','menuitemcheckbox','7554DSCdhf','text/html','editor','contentArea','requiresContent','ai-commands-config-order-collision'];_0x428c=function(){return _0x4851ce;};return _0x428c();}import{Plugin as _0x1075e4}from'ckeditor5/src/core.js';import{IconMagicWand as _0x33c665,IconRobotPencil as _0x388c49}from'ckeditor5/src/icons.js';import{first as _0x45b39,CKEditorError as _0x5d618a}from'ckeditor5/src/utils.js';function _0x294a(_0x4315ef,_0x2a468f){const _0x428c48=_0x428c();return _0x294a=function(_0x294a8a,_0x592b80){_0x294a8a=_0x294a8a-0x8a;let _0x38bcb3=_0x428c48[_0x294a8a];return _0x38bcb3;},_0x294a(_0x4315ef,_0x2a468f);}import{createDropdown as _0x412f86,addMenuToDropdown as _0xef130,ButtonView as _0x4e6515,MenuBarMenuListItemButtonView as _0x38b86f,Dialog as _0x6a3f98,DialogViewPosition as _0x3b66a9,MenuBarMenuView as _0xa89877,MenuBarMenuListView as _0x16cc11,MenuBarMenuListItemView as _0x1fe5a4}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0xd18c72,UNGROUPED_COMMANDS_GROUP_ID as _0x4d794d}from'./utils/normalizecommandsconfig.js';import _0x4d3db5 from'./aiassistantediting.js';import _0x4106a0 from'./adapters/aiadapter.js';import{getTranslation as _0x4f7776}from'./utils/common-translations.js';import _0x112024 from'./ui/showaiassistantcommand.js';import _0x4eda84 from'./ui/aiassistantcontroller.js';import _0x122699 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x40d9ee}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5c8240(0x13a)];import{ClipboardMarkersUtils as _0x2d9ed7}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2f6757,DataTransfer as _0x761454}from'ckeditor5/src/engine.js';export default class n extends _0x1075e4{[_0x5c8240(0x120)];[_0x5c8240(0x132)];[_0x5c8240(0xf8)];[_0x5c8240(0xab)];[_0x5c8240(0xd1)];[_0x5c8240(0xdf)];[_0x5c8240(0xce)]='';static get[_0x5c8240(0x106)](){const _0x2e6f71=_0x5c8240;return _0x2e6f71(0xde);}static get[_0x5c8240(0x115)](){return!0x0;}static get[_0x5c8240(0xb7)](){return!0x0;}static get[_0x5c8240(0xfa)](){return[_0x2d9ed7,_0x4d3db5,_0x4106a0,_0x6a3f98];}constructor(_0x40ef82){const _0x20bf29=_0x5c8240;super(_0x40ef82),_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0xe0)](_0x20bf29(0xcd),[_0x20bf29(0xb9),_0x20bf29(0xa1),_0x20bf29(0x92)]),_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0xe0)](_0x20bf29(0xc5),''),_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0xe0)](_0x20bf29(0x111),!0x0),this[_0x20bf29(0xce)]=_0x20bf29(0x117)+(_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0x91)](_0x20bf29(0x111))?_0x20bf29(0xbe):'');}[_0x5c8240(0x8c)](){const _0x34e34f=_0x5c8240,{editor:_0x308745}=this;this[_0x34e34f(0xd1)]=_0x308745[_0x34e34f(0x110)][_0x34e34f(0x91)](_0x4106a0),this[_0x34e34f(0xf8)]=_0x308745[_0x34e34f(0x110)][_0x34e34f(0x91)](_0x6a3f98),this[_0x34e34f(0xab)]=null,this[_0x34e34f(0x123)]=this[_0x34e34f(0xf9)]();const _0x25dd51=new _0x112024(_0x308745,Array[_0x34e34f(0x107)](this[_0x34e34f(0x123)][_0x34e34f(0xb3)]()));_0x308745[_0x34e34f(0xff)][_0x34e34f(0xd9)](_0x34e34f(0x11f),_0x25dd51),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0xe5),_0x487bcd=>{const _0x48aeb9=_0x34e34f,_0x255e06=_0x412f86(_0x487bcd);return _0x255e06[_0x48aeb9(0x10b)]({'class':_0x48aeb9(0xae)+this[_0x48aeb9(0xce)]}),_0x255e06[_0x48aeb9(0x10c)][_0x48aeb9(0x10b)]({'label':_0x4f7776(_0x487bcd,_0x48aeb9(0xb4)),'icon':_0x33c665,'tooltip':!0x0}),_0x255e06['on'](_0x48aeb9(0xb0),_0x30b1ee=>this[_0x48aeb9(0x109)](_0x30b1ee[_0x48aeb9(0xa8)]['id'])),_0xef130(_0x255e06,_0x308745['ui'][_0x48aeb9(0xa6)][_0x48aeb9(0x96)],function(_0x3c0d44){const _0x327d67=_0x48aeb9,_0x25c926=_0xd18c72(_0x3c0d44[_0x327d67(0x135)][_0x327d67(0x91)](_0x327d67(0x133)),_0x3c0d44[_0x327d67(0x12c)]),_0x325b91=U(_0x3c0d44,_0x25c926)[_0x327d67(0xcf)](_0xd10cff=>_0xd10cff[_0x327d67(0xff)][_0x327d67(0xcb)]);if(0x1===_0x325b91[_0x327d67(0xcb)])return U(_0x3c0d44,_0x325b91[0x0][_0x327d67(0xff)])[_0x327d67(0x103)](_0x51245b=>({'id':_0x51245b['id'],'label':_0x51245b[_0x327d67(0x121)]}));return _0x325b91[_0x327d67(0x103)](_0x407473=>{const _0x37b2e0=_0x327d67,{groupId:_0x1babcd,groupLabel:_0x21e69f,commands:_0x1b19a1}=_0x407473,_0x563788=U(_0x3c0d44,_0x1b19a1)[_0x37b2e0(0x103)](_0x31458f=>({'id':_0x31458f['id'],'label':_0x31458f[_0x37b2e0(0x121)]}));return{'id':_0x1babcd,'menu':_0x21e69f||_0x1babcd,'children':_0x563788};});}(_0x308745),{'ariaLabel':_0x4f7776(_0x487bcd,_0x48aeb9(0xb4))}),_0x255e06[_0x48aeb9(0xea)][_0x48aeb9(0xa9)]=_0x48aeb9(0xae)+this[_0x48aeb9(0xce)],_0x25dd51['on'](_0x48aeb9(0xad),_0x344016),_0x255e06[_0x48aeb9(0xea)][_0x48aeb9(0x11d)](_0x48aeb9(0xbd),_0x344016),_0x255e06;function _0x344016(){const _0x54b868=_0x48aeb9;_0x255e06[_0x54b868(0x9a)]=_0x25dd51[_0x54b868(0xa5)][_0x54b868(0xcb)]>0x0;for(const _0x50696f of _0x255e06[_0x54b868(0xea)][_0x54b868(0xa2)])_0x50696f[_0x54b868(0x9a)]=_0x25dd51[_0x54b868(0xa5)][_0x54b868(0x113)](_0x50696f['id']);}}),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0xd2),_0x1fa9c3=>{const _0x5e2800=_0x34e34f,_0x5b40c1=new _0xa89877(_0x1fa9c3);_0x5b40c1[_0x5e2800(0x10c)][_0x5e2800(0x10b)]({'label':_0x4f7776(_0x1fa9c3,_0x5e2800(0xb4)),'icon':_0x33c665}),_0x5b40c1[_0x5e2800(0x98)](_0x5e2800(0x9a))['to'](_0x25dd51,_0x5e2800(0xa5),_0x5311cd=>_0x5311cd[_0x5e2800(0xcb)]>0x0);const _0x36d56c=_0xd18c72(_0x308745[_0x5e2800(0x135)][_0x5e2800(0x91)](_0x5e2800(0x133)),_0x1fa9c3);return this[_0x5e2800(0x105)](_0x25dd51,_0x5b40c1,_0x36d56c,_0x47e47e=>this[_0x5e2800(0x109)](_0x47e47e)),_0x5b40c1;}),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0x127),()=>{const _0x5e29e0=_0x34e34f,_0x4d435f=this[_0x5e29e0(0xe3)](_0x4e6515);return _0x4d435f[_0x5e29e0(0x10b)]({'tooltip':!0x0,'class':_0x5e29e0(0xe8)+this[_0x5e29e0(0xce)]}),_0x4d435f;}),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0x90),()=>{const _0x3a8dc0=_0x34e34f,_0x2b2bfb=this[_0x3a8dc0(0xe3)](_0x38b86f);return _0x2b2bfb[_0x3a8dc0(0x10b)]({'role':_0x3a8dc0(0xeb)}),_0x2b2bfb;}),this[_0x34e34f(0x120)]=this[_0x34e34f(0xee)][_0x34e34f(0x135)][_0x34e34f(0x91)](_0x34e34f(0x120));const _0xc4693c=this[_0x34e34f(0xee)];this[_0x34e34f(0x132)]=setInterval(()=>{const _0x4708a2=_0x34e34f;let _0x264f75;for(const _0x2dde12 in _0xc4693c){const _0x2b989a=_0x2dde12,_0x13557a=_0xc4693c[_0x2b989a];if(_0x4708a2(0xdc)==_0x13557a||_0x4708a2(0x116)==_0x13557a||_0x4708a2(0x134)==_0x13557a||_0x4708a2(0xfc)==_0x13557a||_0x4708a2(0xe7)==_0x13557a||_0x4708a2(0xaa)==_0x13557a||_0x4708a2(0xf3)==_0x13557a||_0x4708a2(0x11c)==_0x13557a){delete _0xc4693c[_0x2b989a],_0x264f75=_0x13557a,clearInterval(this[_0x4708a2(0x132)]),this[_0x4708a2(0x132)]=void 0x0;break;}}_0x4708a2(0x116)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xe9)),_0x4708a2(0x134)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xb1)),_0x4708a2(0xfc)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xd0)),_0x4708a2(0xe7)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xa3),_0x4708a2(0xc3)),_0x4708a2(0xaa)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xf5)),_0x4708a2(0xf3)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0x104)),_0x4708a2(0x11c)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xc2));},0x3e8);}[_0x5c8240(0x10d)](){const _0x234c24=_0x5c8240;super[_0x234c24(0x10d)](),this[_0x234c24(0x132)]&&clearInterval(this[_0x234c24(0x132)]);}[_0x5c8240(0x94)](_0x2ae88e='',_0x2ad854='',_0x23d607=_0x5c8240(0xbc)){const _0x40a7ca=_0x5c8240,_0x5aab04=this[_0x40a7ca(0xee)],_0x15b3a6=_0x5aab04[_0x40a7ca(0x139)][_0x40a7ca(0xa6)],_0x438c29=_0x5aab04[_0x40a7ca(0x110)][_0x40a7ca(0x91)](_0x4d3db5),_0x3d3916=_0x5aab04[_0x40a7ca(0x110)][_0x40a7ca(0x91)](_0x2d9ed7);_0x438c29[_0x40a7ca(0x9c)]();const _0x3a076e=new w(),_0x1698c3=new ClipboardEvent(_0x40a7ca(0x11e),{'clipboardData':_0x3a076e}),_0x2f60a9=new _0x761454(_0x3a076e),_0x357ee9=new _0x2f6757(_0x15b3a6,_0x1698c3,{'dataTransfer':_0x2f60a9});_0x3d3916[_0x40a7ca(0x129)](_0x40a7ca(0x112),()=>{const _0x1ee924=_0x40a7ca;_0x15b3a6[_0x1ee924(0x12d)][_0x1ee924(0xf7)](_0x1ee924(0x11e),_0x357ee9);}),this[_0x40a7ca(0xab)]||(this[_0x40a7ca(0x97)](),this[_0x40a7ca(0xdf)]=new _0x4eda84(_0x5aab04,this[_0x40a7ca(0xd1)][_0x40a7ca(0x12b)],this[_0x40a7ca(0xab)]));let _0x1241bb=_0x2f60a9[_0x40a7ca(0x95)](_0x40a7ca(0xed));const _0x2d4576=_0x5aab04[_0x40a7ca(0x11b)][_0x40a7ca(0x12d)][_0x40a7ca(0x130)],_0x50aea0=Array[_0x40a7ca(0x107)](_0x2d4576[_0x40a7ca(0xb8)]());0x1===_0x50aea0[_0x40a7ca(0xcb)]&&_0x50aea0[0x0][_0x40a7ca(0xdd)]&&!_0x2d4576[_0x40a7ca(0xd5)]()&&''!==_0x1241bb[_0x40a7ca(0x8d)](/ /g,'')[_0x40a7ca(0x8f)]()&&(_0x1241bb=_0x40a7ca(0x13b)+_0x1241bb+_0x40a7ca(0xf6)),this[_0x40a7ca(0xdf)][_0x40a7ca(0xb5)]({'actionId':_0x23d607,'query':_0x2ae88e,'htmlContent':_0x1241bb,'label':_0x2ad854,'mainActionLabel':_0x40d9ee[_0x5aab04[_0x40a7ca(0x11b)][_0x40a7ca(0x12d)][_0x40a7ca(0x130)][_0x40a7ca(0x9f)]?_0x40a7ca(0x102):_0x40a7ca(0xc6)]}),_0x40a7ca(0x127)!==this[_0x40a7ca(0xf8)]['id']?this[_0x40a7ca(0xf8)][_0x40a7ca(0x126)]({'id':_0x40a7ca(0x127),'icon':_0x388c49,'title':_0x4f7776(this[_0x40a7ca(0xee)][_0x40a7ca(0x12c)],_0x40a7ca(0xd6)),'content':this[_0x40a7ca(0xab)],'position':_0x3b66a9[_0x40a7ca(0x12e)],'onShow':()=>{const _0x4b64d8=_0x40a7ca;this[_0x4b64d8(0xab)][_0x4b64d8(0x8a)]();},'onHide':()=>{const _0x2a000d=_0x40a7ca;this[_0x2a000d(0xdf)][_0x2a000d(0x118)](),_0x438c29[_0x2a000d(0xb6)]();}}):this[_0x40a7ca(0xf8)][_0x40a7ca(0xa6)][_0x40a7ca(0xc7)]||this[_0x40a7ca(0xf8)][_0x40a7ca(0xa6)][_0x40a7ca(0xf2)]();}[_0x5c8240(0x11a)](){const _0xa740b8=_0x5c8240;this[_0xa740b8(0xf8)][_0xa740b8(0x124)]();}[_0x5c8240(0xf9)](){const _0x144490=_0x5c8240,_0x2d2510=new Map(),_0x4e22ba=_0xd18c72(this[_0x144490(0xee)][_0x144490(0x135)][_0x144490(0x91)](_0x144490(0x133)),this[_0x144490(0xee)][_0x144490(0x12c)]);for(const _0x3deb35 of _0x4e22ba)for(const _0x5d446e of _0x3deb35[_0x144490(0xff)])_0x2d2510[_0x144490(0x10b)](_0x5d446e['id'],{..._0x5d446e,'groupId':_0x3deb35[_0x144490(0xe2)],'groupLabel':_0x3deb35[_0x144490(0xfe)]||_0x3deb35[_0x144490(0xe2)]});return _0x2d2510;}[_0x5c8240(0xe3)](_0x377f08){const _0xb3da9e=_0x5c8240,_0x1f8200=this[_0xb3da9e(0xee)],_0xf644ba=_0x1f8200[_0xb3da9e(0xff)][_0xb3da9e(0x91)](_0xb3da9e(0x11f)),_0x164434=new _0x377f08(_0x1f8200[_0xb3da9e(0x12c)]);return _0x164434[_0xb3da9e(0x10b)]({'label':_0x4f7776(_0x1f8200[_0xb3da9e(0x12c)],_0xb3da9e(0xd6)),'icon':_0x388c49,'isToggleable':!0x0}),_0x164434[_0xb3da9e(0x98)](_0xb3da9e(0x9a))['to'](_0xf644ba),_0x164434[_0xb3da9e(0x98)](_0xb3da9e(0x12f))['to'](this[_0xb3da9e(0xf8)],'id',_0x3bae00=>_0xb3da9e(0x127)===_0x3bae00),this[_0xb3da9e(0x10f)](_0x164434,_0xb3da9e(0xb0),()=>{const _0x2106ec=_0xb3da9e;_0x164434[_0x2106ec(0x12f)]?this[_0x2106ec(0x11a)]():_0xf644ba[_0x2106ec(0xb0)]();}),_0x164434;}[_0x5c8240(0x97)](){const _0x447c48=_0x5c8240,_0x6205f6=this[_0x447c48(0xee)][_0x447c48(0x110)][_0x447c48(0x91)](_0x4d3db5);this[_0x447c48(0xab)]=new _0x122699(this[_0x447c48(0xee)][_0x447c48(0x12c)],this[_0x447c48(0xce)],this[_0x447c48(0xee)][_0x447c48(0x135)][_0x447c48(0x91)](_0x447c48(0xc5))),this[_0x447c48(0xab)]['on'](_0x447c48(0x137),()=>{const _0x24144b=_0x447c48;this[_0x24144b(0xf8)][_0x24144b(0xa6)][_0x24144b(0xc7)]||this[_0x24144b(0xf8)][_0x24144b(0xa6)][_0x24144b(0xf2)]();}),this[_0x447c48(0xab)][_0x447c48(0xbf)][_0x447c48(0x119)][_0x447c48(0xc4)]['on'](_0x447c48(0xb2),()=>{const _0x4a878a=_0x447c48;this[_0x4a878a(0xf8)][_0x4a878a(0xa6)][_0x4a878a(0xc7)]||this[_0x4a878a(0xf8)][_0x4a878a(0xa6)][_0x4a878a(0xf2)]();}),this[_0x447c48(0x10f)](this[_0x447c48(0xab)],_0x447c48(0xc9),()=>{const _0xd402f3=_0x447c48;_0x6205f6[_0xd402f3(0xac)](this[_0xd402f3(0xdf)][_0xd402f3(0xd3)]),this[_0xd402f3(0x11a)]();}),this[_0x447c48(0x10f)](this[_0x447c48(0xab)],_0x447c48(0xcc),()=>{const _0xbcae6f=_0x447c48;_0x6205f6[_0xbcae6f(0xcc)](this[_0xbcae6f(0xdf)][_0xbcae6f(0xd3)]),this[_0xbcae6f(0x11a)]();}),this[_0x447c48(0xd7)]();}[_0x5c8240(0xd7)](){const _0xb54cc9=_0x5c8240,{locale:_0x196910,ui:{ariaLiveAnnouncer:_0x1271aa}}=this[_0xb54cc9(0xee)];this[_0xb54cc9(0xab)][_0xb54cc9(0xef)]['on'](_0xb54cc9(0xaf),(_0x52dfcf,_0x469066,_0x2576e5)=>{const _0x5a4ddb=_0xb54cc9,_0x224ec3=this[_0x5a4ddb(0xdf)][_0x5a4ddb(0xd3)];_0x2576e5?_0x1271aa[_0x5a4ddb(0x9d)](_0x4f7776(_0x196910,_0x5a4ddb(0x131))):_0x224ec3&&_0x1271aa[_0x5a4ddb(0x9d)](_0x4f7776(_0x196910,_0x5a4ddb(0xbb),_0x224ec3),{'politeness':_0x5a4ddb(0xba),'isUnsafeHTML':!0x0});}),this[_0xb54cc9(0xab)]['on'](_0xb54cc9(0xc8),(_0x2cd673,_0x39b325,_0x5a4e3d)=>{const _0x121593=_0xb54cc9;if(_0x5a4e3d){const _0x4adfae=this[_0x121593(0xab)][_0x121593(0x93)][_0x121593(0xd8)];_0x1271aa[_0x121593(0x9d)](_0x4f7776(_0x196910,_0x121593(0x128),_0x4adfae));}});}[_0x5c8240(0x109)](_0x1fafad){const _0x2238fa=_0x5c8240,_0x12ebc7=this[_0x2238fa(0x123)][_0x2238fa(0x91)](_0x1fafad),_0x28b49c=this[_0x2238fa(0xee)],_0x4847d5=_0x28b49c[_0x2238fa(0x11b)][_0x2238fa(0x12d)][_0x2238fa(0x130)],_0x5b4ed8=_0x28b49c[_0x2238fa(0xff)][_0x2238fa(0x91)](_0x2238fa(0x11f)),_0x44b1b6=_0x28b49c[_0x2238fa(0x110)][_0x2238fa(0x91)](_0x4d3db5),_0x4e7b54=''+(_0x12ebc7[_0x2238fa(0xe2)]!==_0x4d794d?_0x12ebc7[_0x2238fa(0xfe)]+':\x20':'')+_0x12ebc7[_0x2238fa(0x121)];if(!0x1!==_0x12ebc7[_0x2238fa(0xf0)]&&_0x4847d5[_0x2238fa(0x9f)]){const _0x5ade28=_0x45b39(_0x4847d5[_0x2238fa(0x9e)]())||_0x28b49c[_0x2238fa(0x11b)][_0x2238fa(0xa0)][_0x2238fa(0x8e)](_0x4847d5);_0x28b49c[_0x2238fa(0x11b)][_0x2238fa(0x138)](_0x5c5e3c=>{const _0x5a000d=_0x2238fa;_0x5c5e3c[_0x5a000d(0xfd)](_0x5ade28,'in');});}_0x44b1b6[_0x2238fa(0x9c)](),_0x5b4ed8[_0x2238fa(0xb0)](_0x12ebc7[_0x2238fa(0xdb)],_0x4e7b54,_0x2238fa(0xca)+_0x1fafad);}[_0x5c8240(0x105)](_0x1efa7f,_0x51e6f3,_0x4346a2,_0x25d357){const _0x140eb8=_0x5c8240,_0x49cee2=this[_0x140eb8(0xee)],_0x179705=_0x49cee2[_0x140eb8(0x12c)],_0x17b696=new _0x16cc11(_0x179705),_0x1ccfe0=U(_0x49cee2,_0x4346a2)[_0x140eb8(0xcf)](_0x4064a9=>_0x4064a9[_0x140eb8(0xff)][_0x140eb8(0xcb)]);0x1===_0x1ccfe0[_0x140eb8(0xcb)]?this[_0x140eb8(0xd4)]({'command':_0x1efa7f,'commands':_0x1ccfe0[0x0][_0x140eb8(0xff)],'parentMenuView':_0x51e6f3,'onExecute':_0x25d357})[_0x140eb8(0x10a)](_0x32559d=>_0x17b696[_0x140eb8(0x12a)][_0x140eb8(0xd9)](_0x32559d)):_0x1ccfe0[_0x140eb8(0x10a)](({groupId:_0x3afc79,groupLabel:_0x3ee27d,commands:_0x275948})=>{const _0x8e98b3=_0x140eb8,_0x40e606=new _0x1fe5a4(_0x179705,_0x51e6f3),_0x469b18=new _0xa89877(_0x179705),_0x2122e4=new _0x16cc11(_0x179705),_0x46b43c=this[_0x8e98b3(0xd4)]({'command':_0x1efa7f,'commands':_0x275948,'parentMenuView':_0x469b18,'onExecute':_0x25d357});_0x469b18[_0x8e98b3(0x10c)][_0x8e98b3(0x10b)]({'label':_0x3ee27d||_0x3afc79}),_0x469b18[_0x8e98b3(0x122)](_0x8e98b3(0xb0))['to'](_0x51e6f3),_0x2122e4[_0x8e98b3(0x12a)][_0x8e98b3(0x9b)](_0x46b43c),_0x469b18[_0x8e98b3(0x8b)][_0x8e98b3(0xe6)][_0x8e98b3(0xd9)](_0x2122e4),_0x40e606[_0x8e98b3(0xe6)][_0x8e98b3(0xd9)](_0x469b18),_0x17b696[_0x8e98b3(0x12a)][_0x8e98b3(0xd9)](_0x40e606);}),_0x51e6f3[_0x140eb8(0x8b)][_0x140eb8(0xe6)][_0x140eb8(0xd9)](_0x17b696);}[_0x5c8240(0xd4)]({command:_0x164653,commands:_0x48f542,parentMenuView:_0x29427c,onExecute:_0x2b2685}){const _0x46e1d1=_0x5c8240,_0x49d29d=this[_0x46e1d1(0xee)],_0x19f9e4=_0x49d29d[_0x46e1d1(0x12c)];return U(_0x49d29d,_0x48f542)[_0x46e1d1(0x103)](_0x3cedaf=>{const _0x17baef=_0x46e1d1,_0x101375=new _0x1fe5a4(_0x19f9e4,_0x29427c),_0x786f25=new _0x38b86f(_0x19f9e4);return _0x786f25[_0x17baef(0x10b)]({'label':_0x3cedaf[_0x17baef(0x121)]}),_0x786f25[_0x17baef(0x122)](_0x17baef(0xb0))['to'](_0x29427c),_0x786f25['on'](_0x17baef(0xb0),()=>_0x2b2685(_0x3cedaf['id'])),_0x786f25[_0x17baef(0x98)](_0x17baef(0x9a))['to'](_0x164653,_0x17baef(0xa5),_0x274054=>_0x274054[_0x17baef(0x113)](_0x3cedaf['id'])),_0x101375[_0x17baef(0xe6)][_0x17baef(0xd9)](_0x786f25),_0x101375;});}}function B(_0x804bcc,_0x1adbfe){const _0x221bfb=_0x5c8240;return void 0x0!==_0x804bcc[_0x221bfb(0xc1)]&&void 0x0===_0x1adbfe[_0x221bfb(0xc1)]?0x1:void 0x0===_0x804bcc[_0x221bfb(0xc1)]&&void 0x0!==_0x1adbfe[_0x221bfb(0xc1)]?-0x1:void 0x0!==_0x804bcc[_0x221bfb(0xc1)]&&void 0x0!==_0x1adbfe[_0x221bfb(0xc1)]?_0x804bcc[_0x221bfb(0xc1)]-_0x1adbfe[_0x221bfb(0xc1)]:0x0;}function U(_0x51ee8e,_0x5de986){const _0x35f08a=_0x5c8240;_0x5de986[_0x35f08a(0xe1)](B);const _0xf3502b={},_0x196b8c=[];for(const _0x59e47d of _0x5de986)if(void 0x0!==_0x59e47d[_0x35f08a(0xc1)]){if(_0x59e47d[_0x35f08a(0xc1)]in _0xf3502b)throw new _0x5d618a(_0x35f08a(0xf1),_0x51ee8e,{'conflictingDefinitions':[_0x59e47d,_0xf3502b[_0x59e47d[_0x35f08a(0xc1)]]]});_0xf3502b[_0x59e47d[_0x35f08a(0xc1)]]=_0x59e47d,_0x196b8c[_0x35f08a(0x114)](_0x59e47d[_0x35f08a(0xc1)],0x0,_0x59e47d);}else _0x196b8c[_0x35f08a(0xfb)](_0x59e47d);return _0x196b8c;}
|
|
23
|
+
const _0x5627e5=_0x29d6;(function(_0x145229,_0x1fee52){const _0x4acb58=_0x29d6,_0x46ba8f=_0x145229();while(!![]){try{const _0x2a0a17=parseInt(_0x4acb58(0x120))/0x1+-parseInt(_0x4acb58(0x14b))/0x2*(-parseInt(_0x4acb58(0x16f))/0x3)+-parseInt(_0x4acb58(0x131))/0x4+parseInt(_0x4acb58(0x15f))/0x5*(-parseInt(_0x4acb58(0x169))/0x6)+parseInt(_0x4acb58(0x151))/0x7*(parseInt(_0x4acb58(0x1a8))/0x8)+parseInt(_0x4acb58(0x177))/0x9*(parseInt(_0x4acb58(0x126))/0xa)+-parseInt(_0x4acb58(0x161))/0xb*(-parseInt(_0x4acb58(0x178))/0xc);if(_0x2a0a17===_0x1fee52)break;else _0x46ba8f['push'](_0x46ba8f['shift']());}catch(_0x2a2e56){_0x46ba8f['push'](_0x46ba8f['shift']());}}}(_0xa5eb,0x2dcce));import{Plugin as _0x4d10b6}from'ckeditor5/src/core.js';import{IconMagicWand as _0x358544,IconRobotPencil as _0x2b5749}from'ckeditor5/src/icons.js';import{first as _0x1ce411,CKEditorError as _0x424147}from'ckeditor5/src/utils.js';import{createDropdown as _0x544170,addMenuToDropdown as _0x1db51a,ButtonView as _0xdc428a,MenuBarMenuListItemButtonView as _0x3d619b,Dialog as _0x59703f,DialogViewPosition as _0x530f24,MenuBarMenuView as _0x49e4ce,MenuBarMenuListView as _0xa87ca1,MenuBarMenuListItemView as _0xf6ae69}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x1fe0af,UNGROUPED_COMMANDS_GROUP_ID as _0xa66967}from'./utils/normalizecommandsconfig.js';function _0xa5eb(){const _0x675422=['ai.aiAssistant.contentAreaCssClass','children','aiLicenseKeyValid','delegate','focus','once','expired','schema','custom','get','config','getSelectedElement','locale','setSelection','media','requires','_initAriaAiStatusChangeAnnouncements','_uiCssClasses','_commandDefinitions','set','insertContent','order','reset','AIAssistantUI','menuBar:aiCommands','Error\x20during\x20AI\x20content\x20generation:\x20%0','_getResolvedCommandsDefinitions','change:value','push','trialLimit','commands','panelView','menuBar:aiAssistant','hideUI','add','replaceContent','listenTo','selection','fire','items','159476WSuaIe','menuPanelClass','editing','_dialog','destroy','filter','600200Jidrja','length','<p>','polite','hide','groupId','includes','</p>','isCollapsed','isOn','AI\x20is\x20writing','1225156xQbyrY','copy','prompt','menuView','AI\x20Assistant','buttons','componentFactory','EDITOR_TOP_SIDE','forEach','DataTransfer','update','_aiAssistantController','AI\x20Commands','textAdapter','label','showFakeVisualSelection','updatePosition','isPremiumPlugin','_onExecute','_aiAdapter','\x20ck-ai-assistant-ui_theme','body','ck-ai-assistant-button\x20','change','_initView','invalid','15448CkBPQR','source','plugins','ck-ai-assistant-ui','rawHtml','isEnabled','7QCaYcs','_populateMenuBarMenu','AIAssistant','_licenseKeyCheckInterval','isFlat','view','errorView','groupLabel','ck-ai-commands-dropdown\x20','ai.aiAssistant.commands','addMany','getRanges','model','getData','85Bgtyib','usageLimit','77UgvJDN','announce','bind','hideFakeVisualSelection','_formView','wasMoved','execute','ai.useTheme','50790SNLznv','render','values','command:','aiCommands','show','12JgngKP','ai.aiAssistant.disabledElements','INSERT','text/html','pluginName','getLimitElement','change:isProcessing','ai-commands-config-order-collision','45TvuTIc','224460UqbejU','evaluationLimit','featureNotAllowed','aiLicenseKeyExpired','splice','aiLicenseKeyTrialLimit','_getMenuBarGroupButtons','_showLicenseError','replace','contentArea','text','map','REPLACE','menuitemcheckbox','change:enabledCommandsIds','comment','aiLicenseKeyUsageLimit','isOfficialPlugin','showAIAssistant','fieldView','define','currentContext','sort','promptView','trim','change:isError','_createAIAssistantUIButton','_forceMarkersCopy','queryView','enabledCommandsIds','requiresContent','from','init','showUI','getSelectedBlocks','domainLimit','aiAssistant','editor','tableOfContents','aiLicenseKeyNotAllowed','document','buttonView','aiLicenseKeyEvaluationLimit','updateView','aiLicenseKeyInvalid','insertContentBelow','Generated\x20content:\x20%0','aiLicenseKeyDomainLimit','131080GVkMgh','licenseKey'];_0xa5eb=function(){return _0x675422;};return _0xa5eb();}import _0x438ce5 from'./aiassistantediting.js';import _0x2349dc from'./adapters/aiadapter.js';import{getTranslation as _0x46fd0c}from'./utils/common-translations.js';import _0x5e1f0b from'./ui/showaiassistantcommand.js';import _0xdaad6c from'./ui/aiassistantcontroller.js';import _0x3ca6ec from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x27029b}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5627e5(0x13a)];import{ClipboardMarkersUtils as _0x823acd}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x370663,DataTransfer as _0x413967}from'ckeditor5/src/engine.js';export default class n extends _0x4d10b6{[_0x5627e5(0x1a9)];[_0x5627e5(0x154)];[_0x5627e5(0x123)];[_0x5627e5(0x165)];[_0x5627e5(0x144)];[_0x5627e5(0x13c)];[_0x5627e5(0x109)]='';static get[_0x5627e5(0x173)](){const _0x4e398e=_0x5627e5;return _0x4e398e(0x10f);}static get[_0x5627e5(0x189)](){return!0x0;}static get[_0x5627e5(0x142)](){return!0x0;}static get[_0x5627e5(0x107)](){return[_0x823acd,_0x438ce5,_0x2349dc,_0x59703f];}constructor(_0x3bf8f1){const _0x2cd332=_0x5627e5;super(_0x3bf8f1),_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x18c)](_0x2cd332(0x170),[_0x2cd332(0x106),_0x2cd332(0x14f),_0x2cd332(0x19e)]),_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x18c)](_0x2cd332(0x1aa),''),_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x18c)](_0x2cd332(0x168),!0x0),this[_0x2cd332(0x109)]=_0x2cd332(0x14e)+(_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x101)](_0x2cd332(0x168))?_0x2cd332(0x145):'');}[_0x5627e5(0x198)](){const _0x57877c=_0x5627e5,{editor:_0x56b30e}=this;this[_0x57877c(0x144)]=_0x56b30e[_0x57877c(0x14d)][_0x57877c(0x101)](_0x2349dc),this[_0x57877c(0x123)]=_0x56b30e[_0x57877c(0x14d)][_0x57877c(0x101)](_0x59703f),this[_0x57877c(0x165)]=null,this[_0x57877c(0x10a)]=this[_0x57877c(0x112)]();const _0x27d1ef=new _0x5e1f0b(_0x56b30e,Array[_0x57877c(0x197)](this[_0x57877c(0x10a)][_0x57877c(0x16b)]()));_0x56b30e[_0x57877c(0x116)][_0x57877c(0x11a)](_0x57877c(0x18a),_0x27d1ef),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x16d),_0x5b824b=>{const _0x148781=_0x57877c,_0x429386=_0x544170(_0x5b824b);return _0x429386[_0x148781(0x10b)]({'class':_0x148781(0x159)+this[_0x148781(0x109)]}),_0x429386[_0x148781(0x1a1)][_0x148781(0x10b)]({'label':_0x46fd0c(_0x5b824b,_0x148781(0x13d)),'icon':_0x358544,'tooltip':!0x0}),_0x429386['on'](_0x148781(0x167),_0x37fc96=>this[_0x148781(0x143)](_0x37fc96[_0x148781(0x14c)]['id'])),_0x1db51a(_0x429386,_0x56b30e['ui'][_0x148781(0x156)][_0x148781(0x146)],function(_0xa03b07){const _0x5c24c1=_0x148781,_0x47df7b=_0x1fe0af(_0xa03b07[_0x5c24c1(0x102)][_0x5c24c1(0x101)](_0x5c24c1(0x15a)),_0xa03b07[_0x5c24c1(0x104)]),_0x21f98a=U(_0xa03b07,_0x47df7b)[_0x5c24c1(0x125)](_0xab45ec=>_0xab45ec[_0x5c24c1(0x116)][_0x5c24c1(0x127)]);if(0x1===_0x21f98a[_0x5c24c1(0x127)])return U(_0xa03b07,_0x21f98a[0x0][_0x5c24c1(0x116)])[_0x5c24c1(0x183)](_0x372f8e=>({'id':_0x372f8e['id'],'label':_0x372f8e[_0x5c24c1(0x13f)]}));return _0x21f98a[_0x5c24c1(0x183)](_0x1bb05e=>{const _0x161484=_0x5c24c1,{groupId:_0x21c457,groupLabel:_0x40cf3c,commands:_0x423ed9}=_0x1bb05e,_0x1ee04b=U(_0xa03b07,_0x423ed9)[_0x161484(0x183)](_0x2aac66=>({'id':_0x2aac66['id'],'label':_0x2aac66[_0x161484(0x13f)]}));return{'id':_0x21c457,'menu':_0x40cf3c||_0x21c457,'children':_0x1ee04b};});}(_0x56b30e),{'ariaLabel':_0x46fd0c(_0x5b824b,_0x148781(0x13d))}),_0x429386[_0x148781(0x134)][_0x148781(0x121)]=_0x148781(0x159)+this[_0x148781(0x109)],_0x27d1ef['on'](_0x148781(0x186),_0xa9d537),_0x429386[_0x148781(0x134)][_0x148781(0xfd)](_0x148781(0x16a),_0xa9d537),_0x429386;function _0xa9d537(){const _0x3b699b=_0x148781;_0x429386[_0x3b699b(0x150)]=_0x27d1ef[_0x3b699b(0x195)][_0x3b699b(0x127)]>0x0;for(const _0x42c7c8 of _0x429386[_0x3b699b(0x134)][_0x3b699b(0x136)])_0x42c7c8[_0x3b699b(0x150)]=_0x27d1ef[_0x3b699b(0x195)][_0x3b699b(0x12c)](_0x42c7c8['id']);}}),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x110),_0x5d38d6=>{const _0x4f07a0=_0x57877c,_0x2927a8=new _0x49e4ce(_0x5d38d6);_0x2927a8[_0x4f07a0(0x1a1)][_0x4f07a0(0x10b)]({'label':_0x46fd0c(_0x5d38d6,_0x4f07a0(0x13d)),'icon':_0x358544}),_0x2927a8[_0x4f07a0(0x163)](_0x4f07a0(0x150))['to'](_0x27d1ef,_0x4f07a0(0x195),_0x83a84d=>_0x83a84d[_0x4f07a0(0x127)]>0x0);const _0x2d1a5b=_0x1fe0af(_0x56b30e[_0x4f07a0(0x102)][_0x4f07a0(0x101)](_0x4f07a0(0x15a)),_0x5d38d6);return this[_0x4f07a0(0x152)](_0x27d1ef,_0x2927a8,_0x2d1a5b,_0x129569=>this[_0x4f07a0(0x143)](_0x129569)),_0x2927a8;}),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x19c),()=>{const _0x1a350e=_0x57877c,_0x11b1c1=this[_0x1a350e(0x192)](_0xdc428a);return _0x11b1c1[_0x1a350e(0x10b)]({'tooltip':!0x0,'class':_0x1a350e(0x147)+this[_0x1a350e(0x109)]}),_0x11b1c1;}),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x118),()=>{const _0x2a6a13=_0x57877c,_0x30a231=this[_0x2a6a13(0x192)](_0x3d619b);return _0x30a231[_0x2a6a13(0x10b)]({'role':_0x2a6a13(0x185)}),_0x30a231;}),this[_0x57877c(0x1a9)]=this[_0x57877c(0x19d)][_0x57877c(0x102)][_0x57877c(0x101)](_0x57877c(0x1a9));const _0x3456d2=this[_0x57877c(0x19d)];this[_0x57877c(0x154)]=setInterval(()=>{const _0x41a648=_0x57877c;let _0x166e4d;for(const _0x22a212 in _0x3456d2){const _0x2a1c3f=_0x22a212,_0x972792=_0x3456d2[_0x2a1c3f];if(_0x41a648(0xfa)==_0x972792||_0x41a648(0x1a4)==_0x972792||_0x41a648(0x17b)==_0x972792||_0x41a648(0x1a7)==_0x972792||_0x41a648(0x19f)==_0x972792||_0x41a648(0x1a2)==_0x972792||_0x41a648(0x17d)==_0x972792||_0x41a648(0x188)==_0x972792){delete _0x3456d2[_0x2a1c3f],_0x166e4d=_0x972792,clearInterval(this[_0x41a648(0x154)]),this[_0x41a648(0x154)]=void 0x0;break;}}_0x41a648(0x1a4)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x14a)),_0x41a648(0x17b)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0xfe)),_0x41a648(0x1a7)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x19b)),_0x41a648(0x19f)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x17a),_0x41a648(0x153)),_0x41a648(0x1a2)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x179)),_0x41a648(0x17d)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x115)),_0x41a648(0x188)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x160));},0x3e8);}[_0x5627e5(0x124)](){const _0x46366d=_0x5627e5;super[_0x46366d(0x124)](),this[_0x46366d(0x154)]&&clearInterval(this[_0x46366d(0x154)]);}[_0x5627e5(0x199)](_0x13e24f='',_0x27b075='',_0x4b9e93=_0x5627e5(0x100)){const _0x26a2fb=_0x5627e5,_0x162ccf=this[_0x26a2fb(0x19d)],_0x314362=_0x162ccf[_0x26a2fb(0x122)][_0x26a2fb(0x156)],_0x8e331f=_0x162ccf[_0x26a2fb(0x14d)][_0x26a2fb(0x101)](_0x438ce5),_0x295522=_0x162ccf[_0x26a2fb(0x14d)][_0x26a2fb(0x101)](_0x823acd);_0x8e331f[_0x26a2fb(0x140)]();const _0x1aa172=new w(),_0x13c156=new ClipboardEvent(_0x26a2fb(0x132),{'clipboardData':_0x1aa172}),_0x4d8a0d=new _0x413967(_0x1aa172),_0x4f2f0a=new _0x370663(_0x314362,_0x13c156,{'dataTransfer':_0x4d8a0d});_0x295522[_0x26a2fb(0x193)](_0x26a2fb(0x187),()=>{const _0x5e0fe4=_0x26a2fb;_0x314362[_0x5e0fe4(0x1a0)][_0x5e0fe4(0x11e)](_0x5e0fe4(0x132),_0x4f2f0a);}),this[_0x26a2fb(0x165)]||(this[_0x26a2fb(0x149)](),this[_0x26a2fb(0x13c)]=new _0xdaad6c(_0x162ccf,this[_0x26a2fb(0x144)][_0x26a2fb(0x13e)],this[_0x26a2fb(0x165)]));let _0x29af35=_0x4d8a0d[_0x26a2fb(0x15e)](_0x26a2fb(0x172));const _0x4dcadb=_0x162ccf[_0x26a2fb(0x15d)][_0x26a2fb(0x1a0)][_0x26a2fb(0x11d)],_0x52e4e8=Array[_0x26a2fb(0x197)](_0x4dcadb[_0x26a2fb(0x15c)]());0x1===_0x52e4e8[_0x26a2fb(0x127)]&&_0x52e4e8[0x0][_0x26a2fb(0x155)]&&!_0x4dcadb[_0x26a2fb(0x103)]()&&''!==_0x29af35[_0x26a2fb(0x180)](/ /g,'')[_0x26a2fb(0x190)]()&&(_0x29af35=_0x26a2fb(0x128)+_0x29af35+_0x26a2fb(0x12d)),this[_0x26a2fb(0x13c)][_0x26a2fb(0x1a3)]({'actionId':_0x4b9e93,'query':_0x13e24f,'htmlContent':_0x29af35,'label':_0x27b075,'mainActionLabel':_0x27029b[_0x162ccf[_0x26a2fb(0x15d)][_0x26a2fb(0x1a0)][_0x26a2fb(0x11d)][_0x26a2fb(0x12e)]?_0x26a2fb(0x171):_0x26a2fb(0x184)]}),_0x26a2fb(0x19c)!==this[_0x26a2fb(0x123)]['id']?this[_0x26a2fb(0x123)][_0x26a2fb(0x16e)]({'id':_0x26a2fb(0x19c),'icon':_0x2b5749,'title':_0x46fd0c(this[_0x26a2fb(0x19d)][_0x26a2fb(0x104)],_0x26a2fb(0x135)),'content':this[_0x26a2fb(0x165)],'position':_0x530f24[_0x26a2fb(0x138)],'onShow':()=>{const _0xcd9cf3=_0x26a2fb;this[_0xcd9cf3(0x165)][_0xcd9cf3(0xfc)]();},'onHide':()=>{const _0x3cb447=_0x26a2fb;this[_0x3cb447(0x13c)][_0x3cb447(0x10e)](),_0x8e331f[_0x3cb447(0x164)]();}}):this[_0x26a2fb(0x123)][_0x26a2fb(0x156)][_0x26a2fb(0x166)]||this[_0x26a2fb(0x123)][_0x26a2fb(0x156)][_0x26a2fb(0x141)]();}[_0x5627e5(0x119)](){const _0x37a583=_0x5627e5;this[_0x37a583(0x123)][_0x37a583(0x12a)]();}[_0x5627e5(0x112)](){const _0x4b52f8=_0x5627e5,_0xf623e=new Map(),_0x5817b6=_0x1fe0af(this[_0x4b52f8(0x19d)][_0x4b52f8(0x102)][_0x4b52f8(0x101)](_0x4b52f8(0x15a)),this[_0x4b52f8(0x19d)][_0x4b52f8(0x104)]);for(const _0x53cf77 of _0x5817b6)for(const _0x310e19 of _0x53cf77[_0x4b52f8(0x116)])_0xf623e[_0x4b52f8(0x10b)](_0x310e19['id'],{..._0x310e19,'groupId':_0x53cf77[_0x4b52f8(0x12b)],'groupLabel':_0x53cf77[_0x4b52f8(0x158)]||_0x53cf77[_0x4b52f8(0x12b)]});return _0xf623e;}[_0x5627e5(0x192)](_0x129986){const _0xfa3f31=_0x5627e5,_0x189225=this[_0xfa3f31(0x19d)],_0x5f141b=_0x189225[_0xfa3f31(0x116)][_0xfa3f31(0x101)](_0xfa3f31(0x18a)),_0x36fd73=new _0x129986(_0x189225[_0xfa3f31(0x104)]);return _0x36fd73[_0xfa3f31(0x10b)]({'label':_0x46fd0c(_0x189225[_0xfa3f31(0x104)],_0xfa3f31(0x135)),'icon':_0x2b5749,'isToggleable':!0x0}),_0x36fd73[_0xfa3f31(0x163)](_0xfa3f31(0x150))['to'](_0x5f141b),_0x36fd73[_0xfa3f31(0x163)](_0xfa3f31(0x12f))['to'](this[_0xfa3f31(0x123)],'id',_0x55e6b8=>_0xfa3f31(0x19c)===_0x55e6b8),this[_0xfa3f31(0x11c)](_0x36fd73,_0xfa3f31(0x167),()=>{const _0x56776c=_0xfa3f31;_0x36fd73[_0x56776c(0x12f)]?this[_0x56776c(0x119)]():_0x5f141b[_0x56776c(0x167)]();}),_0x36fd73;}[_0x5627e5(0x149)](){const _0x2a8d32=_0x5627e5,_0x4c3b31=this[_0x2a8d32(0x19d)][_0x2a8d32(0x14d)][_0x2a8d32(0x101)](_0x438ce5);this[_0x2a8d32(0x165)]=new _0x3ca6ec(this[_0x2a8d32(0x19d)][_0x2a8d32(0x104)],this[_0x2a8d32(0x109)],this[_0x2a8d32(0x19d)][_0x2a8d32(0x102)][_0x2a8d32(0x101)](_0x2a8d32(0x1aa))),this[_0x2a8d32(0x165)]['on'](_0x2a8d32(0x113),()=>{const _0x13cd48=_0x2a8d32;this[_0x13cd48(0x123)][_0x13cd48(0x156)][_0x13cd48(0x166)]||this[_0x13cd48(0x123)][_0x13cd48(0x156)][_0x13cd48(0x141)]();}),this[_0x2a8d32(0x165)][_0x2a8d32(0x18f)][_0x2a8d32(0x194)][_0x2a8d32(0x18b)]['on'](_0x2a8d32(0x13b),()=>{const _0x4d6795=_0x2a8d32;this[_0x4d6795(0x123)][_0x4d6795(0x156)][_0x4d6795(0x166)]||this[_0x4d6795(0x123)][_0x4d6795(0x156)][_0x4d6795(0x141)]();}),this[_0x2a8d32(0x11c)](this[_0x2a8d32(0x165)],_0x2a8d32(0x11b),()=>{const _0x5d7650=_0x2a8d32;_0x4c3b31[_0x5d7650(0x10c)](this[_0x5d7650(0x13c)][_0x5d7650(0x18d)]),this[_0x5d7650(0x119)]();}),this[_0x2a8d32(0x11c)](this[_0x2a8d32(0x165)],_0x2a8d32(0x1a5),()=>{const _0x32da03=_0x2a8d32;_0x4c3b31[_0x32da03(0x1a5)](this[_0x32da03(0x13c)][_0x32da03(0x18d)]),this[_0x32da03(0x119)]();}),this[_0x2a8d32(0x108)]();}[_0x5627e5(0x108)](){const _0x4cb1cf=_0x5627e5,{locale:_0xe50d69,ui:{ariaLiveAnnouncer:_0x434f1d}}=this[_0x4cb1cf(0x19d)];this[_0x4cb1cf(0x165)][_0x4cb1cf(0x181)]['on'](_0x4cb1cf(0x175),(_0x312c1,_0x323011,_0x474033)=>{const _0x14d93d=_0x4cb1cf,_0x5a9bb7=this[_0x14d93d(0x13c)][_0x14d93d(0x18d)];_0x474033?_0x434f1d[_0x14d93d(0x162)](_0x46fd0c(_0xe50d69,_0x14d93d(0x130))):_0x5a9bb7&&_0x434f1d[_0x14d93d(0x162)](_0x46fd0c(_0xe50d69,_0x14d93d(0x1a6),_0x5a9bb7),{'politeness':_0x14d93d(0x129),'isUnsafeHTML':!0x0});}),this[_0x4cb1cf(0x165)]['on'](_0x4cb1cf(0x191),(_0x4aa771,_0x5cddbe,_0x7f26c4)=>{const _0xdaa01e=_0x4cb1cf;if(_0x7f26c4){const _0x44faa8=this[_0xdaa01e(0x165)][_0xdaa01e(0x157)][_0xdaa01e(0x182)];_0x434f1d[_0xdaa01e(0x162)](_0x46fd0c(_0xe50d69,_0xdaa01e(0x111),_0x44faa8));}});}[_0x5627e5(0x143)](_0x1ff53b){const _0x280206=_0x5627e5,_0x41134c=this[_0x280206(0x10a)][_0x280206(0x101)](_0x1ff53b),_0x21ba57=this[_0x280206(0x19d)],_0x365a83=_0x21ba57[_0x280206(0x15d)][_0x280206(0x1a0)][_0x280206(0x11d)],_0x5c09b5=_0x21ba57[_0x280206(0x116)][_0x280206(0x101)](_0x280206(0x18a)),_0x5b6e49=_0x21ba57[_0x280206(0x14d)][_0x280206(0x101)](_0x438ce5),_0xc17a93=''+(_0x41134c[_0x280206(0x12b)]!==_0xa66967?_0x41134c[_0x280206(0x158)]+':\x20':'')+_0x41134c[_0x280206(0x13f)];if(!0x1!==_0x41134c[_0x280206(0x196)]&&_0x365a83[_0x280206(0x12e)]){const _0xdad2=_0x1ce411(_0x365a83[_0x280206(0x19a)]())||_0x21ba57[_0x280206(0x15d)][_0x280206(0xff)][_0x280206(0x174)](_0x365a83);_0x21ba57[_0x280206(0x15d)][_0x280206(0x148)](_0x136bcf=>{const _0x501d57=_0x280206;_0x136bcf[_0x501d57(0x105)](_0xdad2,'in');});}_0x5b6e49[_0x280206(0x140)](),_0x5c09b5[_0x280206(0x167)](_0x41134c[_0x280206(0x133)],_0xc17a93,_0x280206(0x16c)+_0x1ff53b);}[_0x5627e5(0x152)](_0xe344d0,_0x36d5ac,_0x2250d8,_0x16414a){const _0x37ca21=_0x5627e5,_0x463f54=this[_0x37ca21(0x19d)],_0x474ab0=_0x463f54[_0x37ca21(0x104)],_0x2f7c31=new _0xa87ca1(_0x474ab0),_0x3a53bb=U(_0x463f54,_0x2250d8)[_0x37ca21(0x125)](_0x37a7e7=>_0x37a7e7[_0x37ca21(0x116)][_0x37ca21(0x127)]);0x1===_0x3a53bb[_0x37ca21(0x127)]?this[_0x37ca21(0x17e)]({'command':_0xe344d0,'commands':_0x3a53bb[0x0][_0x37ca21(0x116)],'parentMenuView':_0x36d5ac,'onExecute':_0x16414a})[_0x37ca21(0x139)](_0x199a35=>_0x2f7c31[_0x37ca21(0x11f)][_0x37ca21(0x11a)](_0x199a35)):_0x3a53bb[_0x37ca21(0x139)](({groupId:_0x10eeca,groupLabel:_0x335938,commands:_0x4ce2d3})=>{const _0x4386fb=_0x37ca21,_0x63736e=new _0xf6ae69(_0x474ab0,_0x36d5ac),_0x543a7b=new _0x49e4ce(_0x474ab0),_0x28e7b8=new _0xa87ca1(_0x474ab0),_0xdc1991=this[_0x4386fb(0x17e)]({'command':_0xe344d0,'commands':_0x4ce2d3,'parentMenuView':_0x543a7b,'onExecute':_0x16414a});_0x543a7b[_0x4386fb(0x1a1)][_0x4386fb(0x10b)]({'label':_0x335938||_0x10eeca}),_0x543a7b[_0x4386fb(0xfb)](_0x4386fb(0x167))['to'](_0x36d5ac),_0x28e7b8[_0x4386fb(0x11f)][_0x4386fb(0x15b)](_0xdc1991),_0x543a7b[_0x4386fb(0x117)][_0x4386fb(0xf9)][_0x4386fb(0x11a)](_0x28e7b8),_0x63736e[_0x4386fb(0xf9)][_0x4386fb(0x11a)](_0x543a7b),_0x2f7c31[_0x4386fb(0x11f)][_0x4386fb(0x11a)](_0x63736e);}),_0x36d5ac[_0x37ca21(0x117)][_0x37ca21(0xf9)][_0x37ca21(0x11a)](_0x2f7c31);}[_0x5627e5(0x17e)]({command:_0x5d86e0,commands:_0x37e4fc,parentMenuView:_0x421b63,onExecute:_0x5294c7}){const _0x401cc8=_0x5627e5,_0x5cff3f=this[_0x401cc8(0x19d)],_0x5426db=_0x5cff3f[_0x401cc8(0x104)];return U(_0x5cff3f,_0x37e4fc)[_0x401cc8(0x183)](_0xc8f1d9=>{const _0x26ce30=_0x401cc8,_0x47f8d2=new _0xf6ae69(_0x5426db,_0x421b63),_0x1266da=new _0x3d619b(_0x5426db);return _0x1266da[_0x26ce30(0x10b)]({'label':_0xc8f1d9[_0x26ce30(0x13f)]}),_0x1266da[_0x26ce30(0xfb)](_0x26ce30(0x167))['to'](_0x421b63),_0x1266da['on'](_0x26ce30(0x167),()=>_0x5294c7(_0xc8f1d9['id'])),_0x1266da[_0x26ce30(0x163)](_0x26ce30(0x150))['to'](_0x5d86e0,_0x26ce30(0x195),_0x3bc8c5=>_0x3bc8c5[_0x26ce30(0x12c)](_0xc8f1d9['id'])),_0x47f8d2[_0x26ce30(0xf9)][_0x26ce30(0x11a)](_0x1266da),_0x47f8d2;});}}function B(_0x4fee5b,_0x4d37e7){const _0x216f0e=_0x5627e5;return void 0x0!==_0x4fee5b[_0x216f0e(0x10d)]&&void 0x0===_0x4d37e7[_0x216f0e(0x10d)]?0x1:void 0x0===_0x4fee5b[_0x216f0e(0x10d)]&&void 0x0!==_0x4d37e7[_0x216f0e(0x10d)]?-0x1:void 0x0!==_0x4fee5b[_0x216f0e(0x10d)]&&void 0x0!==_0x4d37e7[_0x216f0e(0x10d)]?_0x4fee5b[_0x216f0e(0x10d)]-_0x4d37e7[_0x216f0e(0x10d)]:0x0;}function _0x29d6(_0x2d4692,_0x280d88){const _0xa5eb48=_0xa5eb();return _0x29d6=function(_0x29d6bc,_0x225fa6){_0x29d6bc=_0x29d6bc-0xf9;let _0x1400ff=_0xa5eb48[_0x29d6bc];return _0x1400ff;},_0x29d6(_0x2d4692,_0x280d88);}function U(_0x23435f,_0x81f8fb){const _0x39c647=_0x5627e5;_0x81f8fb[_0x39c647(0x18e)](B);const _0x24e346={},_0x5a096b=[];for(const _0x43180e of _0x81f8fb)if(void 0x0!==_0x43180e[_0x39c647(0x10d)]){if(_0x43180e[_0x39c647(0x10d)]in _0x24e346)throw new _0x424147(_0x39c647(0x176),_0x23435f,{'conflictingDefinitions':[_0x43180e,_0x24e346[_0x43180e[_0x39c647(0x10d)]]]});_0x24e346[_0x43180e[_0x39c647(0x10d)]]=_0x43180e,_0x5a096b[_0x39c647(0x17c)](_0x43180e[_0x39c647(0x10d)],0x0,_0x43180e);}else _0x5a096b[_0x39c647(0x114)](_0x43180e);return _0x5a096b;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x48d2a9,_0x5c9ddf){var _0x3e02fd=_0x3760,_0x12b52a=_0x48d2a9();while(!![]){try{var _0x30f10f=parseInt(_0x3e02fd(0x160))/0x1+parseInt(_0x3e02fd(0x162))/0x2*(parseInt(_0x3e02fd(0x163))/0x3)+parseInt(_0x3e02fd(0x15f))/0x4*(parseInt(_0x3e02fd(0x15b))/0x5)+parseInt(_0x3e02fd(0x15d))/0x6*(-parseInt(_0x3e02fd(0x15c))/0x7)+parseInt(_0x3e02fd(0x15e))/0x8+parseInt(_0x3e02fd(0x164))/0x9+-parseInt(_0x3e02fd(0x161))/0xa;if(_0x30f10f===_0x5c9ddf)break;else _0x12b52a['push'](_0x12b52a['shift']());}catch(_0x80c261){_0x12b52a['push'](_0x12b52a['shift']());}}}(_0x10db,0x914c7));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x10db(){var _0x5efc8e=['990501UxhNbZ','7945614BkzEBp','70tCwBwD','707ooiOHg','59922KfAMvB','2976928NlYnuR','32496bBPEIQ','875334MYUCqE','9703690VhOOrT','2phlOGQ'];_0x10db=function(){return _0x5efc8e;};return _0x10db();}function _0x3760(_0x3ae1c4,_0x47320d){var _0x10db10=_0x10db();return _0x3760=function(_0x376017,_0x3e0089){_0x376017=_0x376017-0x15b;var _0xea7a10=_0x10db10[_0x376017];return _0xea7a10;},_0x3760(_0x3ae1c4,_0x47320d);}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
|
-
|
|
23
|
+
(function(_0x500b6c,_0x438668){var _0x557df2=_0x29e7,_0x5ebcc6=_0x500b6c();while(!![]){try{var _0x53b928=parseInt(_0x557df2(0xfa))/0x1*(-parseInt(_0x557df2(0xff))/0x2)+parseInt(_0x557df2(0xfe))/0x3+-parseInt(_0x557df2(0xfd))/0x4+parseInt(_0x557df2(0xf9))/0x5+parseInt(_0x557df2(0xfc))/0x6+parseInt(_0x557df2(0xfb))/0x7+parseInt(_0x557df2(0x100))/0x8;if(_0x53b928===_0x438668)break;else _0x5ebcc6['push'](_0x5ebcc6['shift']());}catch(_0x38ee01){_0x5ebcc6['push'](_0x5ebcc6['shift']());}}}(_0x6720,0x72d08));function _0x29e7(_0x587ad9,_0x2f5be4){var _0x6720b4=_0x6720();return _0x29e7=function(_0x29e7fb,_0x3d37ae){_0x29e7fb=_0x29e7fb-0xf9;var _0x8ee341=_0x6720b4[_0x29e7fb];return _0x8ee341;},_0x29e7(_0x587ad9,_0x2f5be4);}function _0x6720(){var _0x36c4f9=['39498grAGHW','10lXhIXP','411800nemRDZ','3435205VFYDbZ','179689jVrArv','948682ybPxjt','3325986Gbkgqo','291256MbAfsw'];_0x6720=function(){return _0x36c4f9;};return _0x6720();}import{CKEditorError as _0x1aca4a}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5e2b29=_0x4614;function _0x4614(_0x534375,_0x59a13c){const _0x330da=_0x330d();return _0x4614=function(_0x46147a,_0x3d6c22){_0x46147a=_0x46147a-0x16c;let _0x469cb6=_0x330da[_0x46147a];return _0x469cb6;},_0x4614(_0x534375,_0x59a13c);}(function(_0x29ad71,_0x38df6d){const _0x82dd6c=_0x4614,_0x2ea1f3=_0x29ad71();while(!![]){try{const _0x4bca9e=parseInt(_0x82dd6c(0x1c3))/0x1*(parseInt(_0x82dd6c(0x1cd))/0x2)+parseInt(_0x82dd6c(0x189))/0x3*(-parseInt(_0x82dd6c(0x1b6))/0x4)+parseInt(_0x82dd6c(0x18f))/0x5*(parseInt(_0x82dd6c(0x190))/0x6)+parseInt(_0x82dd6c(0x1a1))/0x7*(-parseInt(_0x82dd6c(0x1c6))/0x8)+parseInt(_0x82dd6c(0x186))/0x9*(parseInt(_0x82dd6c(0x198))/0xa)+parseInt(_0x82dd6c(0x179))/0xb*(-parseInt(_0x82dd6c(0x178))/0xc)+parseInt(_0x82dd6c(0x177))/0xd;if(_0x4bca9e===_0x38df6d)break;else _0x2ea1f3['push'](_0x2ea1f3['shift']());}catch(_0x3a2114){_0x2ea1f3['push'](_0x2ea1f3['shift']());}}}(_0x330d,0x9e4cb));import{ObservableMixin as _0x416af3}from'ckeditor5/src/utils.js';function _0x330d(){const _0x38598a=['nodeType','editing','startsWith','render','ai.aiAssistant.preserveComments','previousActionId','viewToDom','view','_domParser','message','startProcessing','18746533zcgipy','5611236xoszUK','22vNdRIr','toView','tryAgainEvent','prompt','processor','submitPrompt','abort','catch','innerHTML','stringify','```html','finishProcessing','_stripMarkdownSyntax','44739yXDDJp','destroy','previousQuery','4926skxXSf','_isH1TagSupportEnabled','trim','once','data','div','759205wlJHoN','42UNUAev','from','textAdapter','exec','stopListening','endsWith','_sanitizeHTML','_normalizeResponseHeadings','230wRoTqF','currentResponse','parseFromString','_sanitizationContainer','handleError','text/html','_parseAndNormalizeContent','setContentOf','markers','902342ETDLTC','serializeToString','listenTo','name','childNodes','element','initialContext','remove','querySelector','previousLabel','finally','domConverter','currentContext','custom','substring','length','```','_handleQuery','previousContext','<h1></h1>','createElement','2132xreNzG','stopProcessing','reverse','set:currentContext','makeRequest','isProcessing','clear','reset','updateView','htmlProcessor','body','toModel','push','97338FJHQxz','value','document','16noMOXn','editor','rename','_xmlSerializer','set','match','get','2WrjRHW','isRendered','then','config','mainAction','ELEMENT_NODE'];_0x330d=function(){return _0x38598a;};return _0x330d();}import{AIRequestError as _0x3ac72d}from'../adapters/aiadapter.js';import{Matcher as _0x234521,UpcastWriter as _0x7a952c}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x416af3(){[_0x5e2b29(0x1c7)];[_0x5e2b29(0x192)];[_0x5e2b29(0x173)];[_0x5e2b29(0x19b)];[_0x5e2b29(0x174)];[_0x5e2b29(0x1c9)];constructor(_0x142670,_0x2bd304,_0x279878){const _0x38604d=_0x5e2b29;super(),this[_0x38604d(0x1c7)]=_0x142670,this[_0x38604d(0x192)]=_0x2bd304,this[_0x38604d(0x19b)]=document[_0x38604d(0x1b5)](_0x38604d(0x18e)),this[_0x38604d(0x174)]=new DOMParser(),this[_0x38604d(0x1c9)]=new XMLSerializer(),this[_0x38604d(0x173)]=_0x279878,this[_0x38604d(0x1ca)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x38604d(0x1b9),(_0xb485ec,_0x35163c,_0x43056a)=>{const _0x2da587=_0x38604d;this[_0x2da587(0x173)][_0x2da587(0x1c4)]=this[_0x2da587(0x196)](_0x43056a);}),this[_0x38604d(0x1a3)](this[_0x38604d(0x173)],_0x38604d(0x17e),(_0x35dbe1,_0x39581a)=>{const _0x1aa63c=_0x38604d,_0x444da6=this[_0x1aa63c(0x1ad)]||this[_0x1aa63c(0x1a7)];this[_0x1aa63c(0x1b2)](_0x39581a,_0x444da6,_0x1aa63c(0x1ae));}),this[_0x38604d(0x1a3)](this[_0x38604d(0x173)],_0x38604d(0x17b),()=>{const _0x5e67d2=_0x38604d;this[_0x5e67d2(0x173)][_0x5e67d2(0x17c)]=this[_0x5e67d2(0x1aa)],this[_0x5e67d2(0x1b2)](this[_0x5e67d2(0x188)],this[_0x5e67d2(0x1b3)],this[_0x5e67d2(0x171)],this[_0x5e67d2(0x1aa)]);}),this[_0x38604d(0x1a3)](this[_0x38604d(0x173)],_0x38604d(0x1b7),()=>{const _0x5a921b=_0x38604d;this[_0x5a921b(0x1b7)]();});}[_0x5e2b29(0x187)](){const _0x249504=_0x5e2b29;this[_0x249504(0x194)]();}async[_0x5e2b29(0x1be)]({actionId:_0x27a962,query:_0x5e1f6c,htmlContent:_0x592ec5,label:_0x51c565,mainActionLabel:_0x847288}){const _0x123921=_0x5e2b29;this[_0x123921(0x173)][_0x123921(0x17c)]=_0x51c565,this[_0x123921(0x173)][_0x123921(0x1d1)]=_0x847288,this[_0x123921(0x1a7)]=_0x592ec5,_0x5e1f6c&&(this[_0x123921(0x173)][_0x123921(0x1ce)]?this[_0x123921(0x1b2)](_0x5e1f6c,_0x592ec5,_0x27a962,_0x51c565):this[_0x123921(0x173)][_0x123921(0x18c)](_0x123921(0x16f),()=>{const _0x3fe0da=_0x123921;this[_0x3fe0da(0x1b2)](_0x5e1f6c,_0x592ec5,_0x27a962,_0x51c565);}));}[_0x5e2b29(0x1b7)](){const _0xc19292=_0x5e2b29;this[_0xc19292(0x1bb)]&&(this[_0xc19292(0x1bb)]=!0x1,this[_0xc19292(0x173)][_0xc19292(0x184)](),this[_0xc19292(0x192)][_0xc19292(0x17f)]());}[_0x5e2b29(0x1bd)](){const _0x2f03ab=_0x5e2b29;this[_0x2f03ab(0x1a7)]='',this[_0x2f03ab(0x1ad)]='',this[_0x2f03ab(0x199)]='',this[_0x2f03ab(0x1b3)]='',this[_0x2f03ab(0x188)]='',this[_0x2f03ab(0x1aa)]='',this[_0x2f03ab(0x171)]=void 0x0,this[_0x2f03ab(0x173)][_0x2f03ab(0x1bd)](),this[_0x2f03ab(0x1b7)]();}async[_0x5e2b29(0x1b2)](_0x11349f,_0x107bec,_0x118b06,_0x4f6fbc){const _0x3768a4=_0x5e2b29;return this[_0x3768a4(0x1bb)]=!0x0,this[_0x3768a4(0x173)][_0x3768a4(0x176)](),this[_0x3768a4(0x1b3)]=_0x107bec,this[_0x3768a4(0x188)]=_0x11349f,this[_0x3768a4(0x1aa)]=_0x4f6fbc||_0x11349f,this[_0x3768a4(0x171)]=_0x118b06,new Promise(_0x4433aa=>{const _0x190d15=_0x3768a4;this[_0x190d15(0x192)][_0x190d15(0x1ba)]({'query':_0x11349f,'context':_0x107bec,'onData':_0x51522c=>{const _0x3da568=_0x190d15;this[_0x3da568(0x199)]=_0x51522c,this[_0x3da568(0x1ad)]=this[_0x3da568(0x19e)](this[_0x3da568(0x199)]);},'actionId':_0x118b06})[_0x190d15(0x1cf)](()=>{const _0x2fab7a=_0x190d15;!this[_0x2fab7a(0x1ad)]&&this[_0x2fab7a(0x199)]&&(this[_0x2fab7a(0x1ad)]=this[_0x2fab7a(0x19e)](this[_0x2fab7a(0x199)],!0x0));})[_0x190d15(0x180)](_0xc8ddd1=>{const _0x2a7b6d=_0x190d15;_0xc8ddd1 instanceof _0x3ac72d?this[_0x2a7b6d(0x173)][_0x2a7b6d(0x19c)](_0xc8ddd1[_0x2a7b6d(0x175)]):this[_0x2a7b6d(0x173)][_0x2a7b6d(0x19c)](),_0x4433aa();})[_0x190d15(0x1ab)](()=>{const _0x1172ed=_0x190d15;this[_0x1172ed(0x1b7)](),_0x4433aa();});});}[_0x5e2b29(0x19e)](_0x5e342e,_0x1a4c23=!0x1){const _0x3d86f6=_0x5e2b29,_0x864267=Z[_0x3d86f6(0x193)](_0x5e342e);_0x5e342e=_0x864267?_0x5e342e[_0x3d86f6(0x1af)](_0x864267[0x1][_0x3d86f6(0x1b0)]):_0x5e342e[_0x3d86f6(0x1b0)]<0x64&&!_0x1a4c23?'':this[_0x3d86f6(0x185)](_0x5e342e);const _0x2b58c7=this[_0x3d86f6(0x174)][_0x3d86f6(0x19a)](_0x5e342e,_0x3d86f6(0x19d));if(_0x864267){const _0x3f5bbe=Array[_0x3d86f6(0x191)](_0x2b58c7[_0x3d86f6(0x1c0)][_0x3d86f6(0x1a5)]);_0x3f5bbe[_0x3d86f6(0x1b8)]();for(const _0x14c249 of _0x3f5bbe){if(_0x14c249[_0x3d86f6(0x16c)]==Node[_0x3d86f6(0x1d2)])break;_0x14c249[_0x3d86f6(0x1a8)]();}}const _0x4c8d0f=this[_0x3d86f6(0x1c7)][_0x3d86f6(0x18d)][_0x3d86f6(0x17d)][_0x3d86f6(0x17a)](this[_0x3d86f6(0x1c9)][_0x3d86f6(0x1a2)](_0x2b58c7[_0x3d86f6(0x1c0)]));this[_0x3d86f6(0x18a)]()||this[_0x3d86f6(0x197)](_0x4c8d0f);const _0x3bcd3b=this[_0x3d86f6(0x1c7)][_0x3d86f6(0x1d0)][_0x3d86f6(0x1cc)](_0x3d86f6(0x170)),_0x43267d=this[_0x3d86f6(0x1c7)][_0x3d86f6(0x18d)][_0x3d86f6(0x1c1)](_0x4c8d0f);return _0x3bcd3b||_0x43267d[_0x3d86f6(0x1a0)][_0x3d86f6(0x1bc)](),this[_0x3d86f6(0x1c7)][_0x3d86f6(0x18d)][_0x3d86f6(0x182)](_0x43267d);}[_0x5e2b29(0x197)](_0x11c50e){const _0x7ca870=_0x5e2b29,_0x4fce90=new _0x7a952c(this[_0x7ca870(0x1c7)][_0x7ca870(0x16d)][_0x7ca870(0x173)][_0x7ca870(0x1c5)]),_0x4321e2=new _0x234521({'name':/^h[1-5]$/}),_0x578834=[];let _0x4a716b=!0x1;for(const _0x2c7fc1 of _0x11c50e)_0x2c7fc1['is'](_0x7ca870(0x1a6))&&_0x4321e2[_0x7ca870(0x1cb)](_0x2c7fc1)&&(_0x578834[_0x7ca870(0x1c2)](_0x2c7fc1),'h1'==_0x2c7fc1[_0x7ca870(0x1a4)]&&(_0x4a716b=!0x0));if(_0x4a716b){for(const _0x3bdb55 of _0x578834)_0x4fce90[_0x7ca870(0x1c8)]('h'+(parseInt(_0x3bdb55[_0x7ca870(0x1a4)][0x1])+0x1),_0x3bdb55);}}[_0x5e2b29(0x18a)](){const _0x2a14a0=_0x5e2b29,{data:_0x15d0d7,editing:_0x185777}=this[_0x2a14a0(0x1c7)],_0x1c4f93=_0x15d0d7[_0x2a14a0(0x1bf)][_0x2a14a0(0x17a)](_0x2a14a0(0x1b4)),_0x2e0450=_0x15d0d7[_0x2a14a0(0x17a)](_0x15d0d7[_0x2a14a0(0x1c1)](_0x1c4f93));return!!_0x185777[_0x2a14a0(0x173)][_0x2a14a0(0x1ac)][_0x2a14a0(0x172)](_0x2e0450)[_0x2a14a0(0x1a9)]('h1');}[_0x5e2b29(0x196)](_0x2c1882){const _0x2ef772=_0x5e2b29;return this[_0x2ef772(0x1c7)][_0x2ef772(0x16d)][_0x2ef772(0x173)][_0x2ef772(0x1ac)][_0x2ef772(0x19f)](this[_0x2ef772(0x19b)],_0x2c1882),this[_0x2ef772(0x19b)][_0x2ef772(0x181)];}[_0x5e2b29(0x185)](_0xb663b9){const _0x5e148d=_0x5e2b29,_0x452e69=_0xb663b9[_0x5e148d(0x18b)]();return _0x452e69[_0x5e148d(0x16e)](_0x5e148d(0x183))?_0x452e69[_0x5e148d(0x195)](_0x5e148d(0x1b1))?_0x452e69[_0x5e148d(0x1af)](0x7,_0x452e69[_0x5e148d(0x1b0)]-0x3):_0x452e69[_0x5e148d(0x1af)](0x7):_0xb663b9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2f1e82=_0x1c0c;(function(_0x440fdf,_0x405156){const _0x3868a4=_0x1c0c,_0x384d6f=_0x440fdf();while(!![]){try{const _0x2320e8=-parseInt(_0x3868a4(0xf1))/0x1*(-parseInt(_0x3868a4(0x11e))/0x2)+-parseInt(_0x3868a4(0x13d))/0x3+-parseInt(_0x3868a4(0x12b))/0x4+-parseInt(_0x3868a4(0xff))/0x5*(-parseInt(_0x3868a4(0x13b))/0x6)+-parseInt(_0x3868a4(0x121))/0x7+-parseInt(_0x3868a4(0x112))/0x8*(parseInt(_0x3868a4(0xfd))/0x9)+parseInt(_0x3868a4(0x12e))/0xa;if(_0x2320e8===_0x405156)break;else _0x384d6f['push'](_0x384d6f['shift']());}catch(_0x321fde){_0x384d6f['push'](_0x384d6f['shift']());}}}(_0x2225,0xbc01e));function _0x1c0c(_0x4d8f85,_0x477036){const _0x222583=_0x2225();return _0x1c0c=function(_0x1c0ca5,_0x7d7b5c){_0x1c0ca5=_0x1c0ca5-0xea;let _0x47ac03=_0x222583[_0x1c0ca5];return _0x47ac03;},_0x1c0c(_0x4d8f85,_0x477036);}import{global as _0x17c8d0}from'ckeditor5/src/utils.js';function _0x2225(){const _0x40e179=['position','.ck-ai-form__loader','isEnabled','left','render','createRange','execCommand','absolute','textContent','body','execute','contentFieldView','_createCopyButton','_copyHTMLToClipboard','createElement','text/plain','element','focus','1398368ErcfLh','write','querySelector','copy','ck-reset_all-excluded','ck-ai-form__content-area-wrapper','ck-ai-form__loader','setContent','setEndBefore','scrollHeight','ClipboardItem','div','6aLeuPo','value','setTemplate','851711GVKHqG','bindTemplate','ck-ai-form__content-area','ck-ai-form__content-field','wheel','getSelection','setStartAfter','remove','appendChild','clipboard','4830024PBTvaC','copyButtonView','Copy','27085560cWSZuN','style','loaderView','<span>[</span>','lastElementChild','\x20ck-ai-form__copy-button--copied','appendLoader','removeAllRanges','ck-ai-form__copy-button-wrapper','listenTo','firstElementChild','_createLoader','mousedown','24798cWshQt','icon','2956206kzhOaD','isVisible','-9999px','ck-ai-form__copy-button','smooth','class','set','change:isProcessing','<span>]</span>','270494bvHtuS','ck-content','text/html','change:value','locale','AI\x20is\x20writing...','isProcessing','addRange','ck-hidden','innerHTML','ck-ai-form__content-area--processing','scrollTo','72HiZBGP','bind','1165gsFQUi'];_0x2225=function(){return _0x40e179;};return _0x2225();}import{View as _0x117977,ButtonView as _0x237db6,SpinnerView as _0x428ebd}from'ckeditor5/src/ui.js';import{IconCheck as _0x240118,IconCopy as _0x5e7f9c}from'ckeditor5/src/icons.js';import{getTranslation as _0x35f839}from'../../utils/common-translations.js';export default class Y extends _0x117977{[_0x2f1e82(0x10b)];[_0x2f1e82(0x12c)];constructor(_0x362acc,_0xfcd1=''){const _0x4e2228=_0x2f1e82;super(_0x362acc),this[_0x4e2228(0xee)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2fca7e=this[_0x4e2228(0x122)];this[_0x4e2228(0x10b)]=new ContentFieldView(_0x362acc,_0xfcd1),this[_0x4e2228(0x12c)]=this[_0x4e2228(0x10c)](),this[_0x4e2228(0x120)]({'tag':_0x4e2228(0x11d),'attributes':{'class':['ck',_0x4e2228(0x117),_0x2fca7e['if'](_0x4e2228(0x13e),_0x4e2228(0xf9),_0x140f02=>!_0x140f02)],'tabindex':'-1'},'children':[{'tag':_0x4e2228(0x11d),'attributes':{'class':['ck',_0x4e2228(0x123),_0x2fca7e['if'](_0x4e2228(0xf7),_0x4e2228(0xfb))]},'children':[this[_0x4e2228(0x10b)],{'tag':_0x4e2228(0x11d),'attributes':{'class':['ck',_0x4e2228(0x136)]},'children':[this[_0x4e2228(0x12c)]]}]}]});}[_0x2f1e82(0x104)](){const _0x39f770=_0x2f1e82;super[_0x39f770(0x104)](),this[_0x39f770(0x11f)]&&this[_0x39f770(0x10b)][_0x39f770(0x119)](this[_0x39f770(0x11f)]);let _0x4bd46a=!0x1;this['on'](_0x39f770(0xf4),(_0x7f09ef,_0x1a4084,_0x2bae79)=>{const _0xe0b19b=_0x39f770,_0x42243d=!this[_0xe0b19b(0x10b)][_0xe0b19b(0x110)][_0xe0b19b(0x114)](_0xe0b19b(0x101));this[_0xe0b19b(0x10b)][_0xe0b19b(0x119)](_0x2bae79),this[_0xe0b19b(0xf7)]&&_0x42243d&&!_0x4bd46a&&this[_0xe0b19b(0x110)][_0xe0b19b(0xfc)]({'top':this[_0xe0b19b(0x110)][_0xe0b19b(0x11b)],'behavior':_0xe0b19b(0xec)});}),this['on'](_0x39f770(0xef),(_0x551cf0,_0x2964ca,_0x3facc5)=>{const _0x1360f2=_0x39f770;_0x4bd46a=!0x1,_0x3facc5?(this[_0x1360f2(0x11f)]=null,this[_0x1360f2(0x10b)][_0x1360f2(0x134)]()):this[_0x1360f2(0x11f)]||this[_0x1360f2(0x10b)][_0x1360f2(0x119)]('');}),this[_0x39f770(0x137)](this[_0x39f770(0x110)],_0x39f770(0x125),()=>{_0x4bd46a=!0x0;}),this[_0x39f770(0x137)](this[_0x39f770(0x110)],_0x39f770(0x13a),()=>{_0x4bd46a=!0x0;});}[_0x2f1e82(0x111)](){const _0xebbad1=_0x2f1e82;this[_0xebbad1(0x110)][_0xebbad1(0x111)]();}[_0x2f1e82(0x10c)](){const _0x29b2bd=_0x2f1e82,_0x196485=this[_0x29b2bd(0xf5)],_0x3a1762=new _0x237db6(this[_0x29b2bd(0xf5)]),_0x1b631d=_0x29b2bd(0xeb);return _0x3a1762[_0x29b2bd(0xee)]({'label':_0x35f839(_0x196485,_0x29b2bd(0x12d)),'icon':_0x5e7f9c,'class':_0x1b631d,'tooltip':!0x0}),_0x3a1762[_0x29b2bd(0xfe)](_0x29b2bd(0x13e))['to'](this,_0x29b2bd(0x11f),_0x37a32f=>!!_0x37a32f),_0x3a1762[_0x29b2bd(0xfe)](_0x29b2bd(0x102))['to'](this,_0x29b2bd(0xf7),_0x38b43a=>!_0x38b43a),_0x3a1762['on'](_0x29b2bd(0x10a),()=>{const _0x27e553=_0x29b2bd;this[_0x27e553(0x10d)](this[_0x27e553(0x10b)][_0x27e553(0x110)]),_0x3a1762[_0x27e553(0x13c)]=_0x240118,_0x3a1762[_0x27e553(0xed)]=_0x1b631d+_0x27e553(0x133),this[_0x27e553(0x111)](),setTimeout(()=>{const _0x450416=_0x27e553;_0x3a1762[_0x450416(0x13c)]=_0x5e7f9c,_0x3a1762[_0x450416(0xed)]=_0x1b631d;},0x3e8);}),_0x3a1762;}[_0x2f1e82(0x10d)](_0x2a53fa){const _0xa96b98=_0x2f1e82,{window:_0x444163,document:_0x4b7243}=_0x17c8d0;if(_0x444163[_0xa96b98(0x11c)]){const {Blob:_0x100e33,ClipboardItem:_0x1155ba}=_0x444163,_0x11b71a=[new _0x1155ba({'text/html':new _0x100e33([_0x2a53fa[_0xa96b98(0xfa)]],{'type':_0xa96b98(0xf3)}),'text/plain':new _0x100e33([_0x2a53fa[_0xa96b98(0x108)]||''],{'type':_0xa96b98(0x10f)})})];navigator[_0xa96b98(0x12a)][_0xa96b98(0x113)](_0x11b71a);}else{const _0x130e35=_0x4b7243[_0xa96b98(0x10e)](_0xa96b98(0x11d));_0x130e35[_0xa96b98(0x12f)][_0xa96b98(0x100)]=_0xa96b98(0x107),_0x130e35[_0xa96b98(0x12f)][_0xa96b98(0x103)]=_0xa96b98(0xea),_0x130e35[_0xa96b98(0xfa)]=_0xa96b98(0x131)+_0x2a53fa[_0xa96b98(0xfa)]+_0xa96b98(0xf0),_0x4b7243[_0xa96b98(0x109)][_0xa96b98(0x129)](_0x130e35);const _0x367360=_0x4b7243[_0xa96b98(0x105)]();_0x367360[_0xa96b98(0x127)](_0x130e35[_0xa96b98(0x138)]),_0x367360[_0xa96b98(0x11a)](_0x130e35[_0xa96b98(0x132)]);const _0x8d2be6=_0x444163[_0xa96b98(0x126)]();_0x8d2be6[_0xa96b98(0x135)](),_0x8d2be6[_0xa96b98(0xf8)](_0x367360),_0x4b7243[_0xa96b98(0x106)](_0xa96b98(0x115)),_0x130e35[_0xa96b98(0x128)]();}}}export class ContentFieldView extends _0x117977{constructor(_0x1bc575,_0x406a0b=''){const _0x311094=_0x2f1e82;super(_0x1bc575),this[_0x311094(0x130)]=this[_0x311094(0x139)](),this[_0x311094(0x120)]({'tag':_0x311094(0x11d),'attributes':{'class':['ck',_0x311094(0xf2),_0x406a0b,_0x311094(0x116),_0x311094(0x124)]}});}[_0x2f1e82(0x119)](_0x4cc58b){const _0x3cb193=_0x2f1e82;this[_0x3cb193(0x110)][_0x3cb193(0xfa)]=_0x4cc58b;}[_0x2f1e82(0x134)](){const _0x3e0c48=_0x2f1e82;this[_0x3e0c48(0x110)][_0x3e0c48(0x129)](this[_0x3e0c48(0x130)][_0x3e0c48(0x110)]);}[_0x2f1e82(0x139)](){const _0x375539=_0x2f1e82,_0x473713=new _0x117977(),_0x42277e=this[_0x375539(0xf5)],_0x2ffeaa=new _0x428ebd();return _0x2ffeaa[_0x375539(0x13e)]=!0x0,_0x473713[_0x375539(0x120)]({'tag':_0x375539(0x11d),'attributes':{'class':['ck',_0x375539(0x118)]},'children':[_0x2ffeaa,{'text':_0x35f839(_0x42277e,_0x375539(0xf6))}]}),_0x473713[_0x375539(0x104)](),_0x473713;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x436cf1,_0x3c6ff7){const _0x34eae4=_0x3bba,_0x2c3e33=_0x436cf1();while(!![]){try{const _0x505589=parseInt(_0x34eae4(0x1b1))/0x1*(-parseInt(_0x34eae4(0x1a8))/0x2)+-parseInt(_0x34eae4(0x1a9))/0x3*(-parseInt(_0x34eae4(0x1aa))/0x4)+-parseInt(_0x34eae4(0x1a6))/0x5*(-parseInt(_0x34eae4(0x1af))/0x6)+parseInt(_0x34eae4(0x1ab))/0x7+parseInt(_0x34eae4(0x1ae))/0x8+parseInt(_0x34eae4(0x1b5))/0x9*(-parseInt(_0x34eae4(0x1ac))/0xa)+-parseInt(_0x34eae4(0x1b0))/0xb*(-parseInt(_0x34eae4(0x1a5))/0xc);if(_0x505589===_0x3c6ff7)break;else _0x2c3e33['push'](_0x2c3e33['shift']());}catch(_0xb48f83){_0x2c3e33['push'](_0x2c3e33['shift']());}}}(_0x1c8f,0xc2db6));function _0x1c8f(){const _0x3c21ff=['6qaFMQn','220693qMfxMa','127MmugSN','div','ck-ai-form__error','text','18bCIhLM','setTemplate','content','444ZRzAHb','3089765QWczxE','set','20516zYlnNc','311757DAMpCa','16xFKBYo','2892582gaHZxe','568330LESFRt','bindTemplate','203040Aipzgn'];_0x1c8f=function(){return _0x3c21ff;};return _0x1c8f();}function _0x3bba(_0x2147e9,_0x134fbf){const _0x1c8f54=_0x1c8f();return _0x3bba=function(_0x3bbaa4,_0x564b5c){_0x3bbaa4=_0x3bbaa4-0x1a5;let _0x228e44=_0x1c8f54[_0x3bbaa4];return _0x228e44;},_0x3bba(_0x2147e9,_0x134fbf);}import{IconError as _0x1f29a1}from'ckeditor5/src/icons.js';import{View as _0x4b1ec4,IconView as _0x124ca8}from'ckeditor5/src/ui.js';export default class st extends _0x4b1ec4{constructor(_0x2336a1,_0xd572b4=''){const _0x49ccf1=_0x3bba;super(_0x2336a1);const _0x203035=new _0x124ca8(),_0x3289e8=this[_0x49ccf1(0x1ad)];this[_0x49ccf1(0x1a7)](_0x49ccf1(0x1b4),_0xd572b4),_0x203035[_0x49ccf1(0x1b7)]=_0x1f29a1,this[_0x49ccf1(0x1b6)]({'tag':_0x49ccf1(0x1b2),'attributes':{'class':['ck',_0x49ccf1(0x1b3)]},'children':[_0x203035,{'text':_0x3289e8['to'](_0x49ccf1(0x1b4))}]});}}
|