@ckeditor/ckeditor5-ai 45.0.0-alpha.5 → 45.0.0-alpha.6
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 _0x298510=_0x21a4;(function(_0x49726b,_0x2df86b){const _0x19b416=_0x21a4,_0x1c088f=_0x49726b();while(!![]){try{const _0x431fee=parseInt(_0x19b416(0xc3))/0x1+parseInt(_0x19b416(0xec))/0x2+-parseInt(_0x19b416(0xfd))/0x3+parseInt(_0x19b416(0xcd))/0x4+parseInt(_0x19b416(0xf4))/0x5*(-parseInt(_0x19b416(0x11c))/0x6)+parseInt(_0x19b416(0x104))/0x7+-parseInt(_0x19b416(0xd5))/0x8;if(_0x431fee===_0x2df86b)break;else _0x1c088f['push'](_0x1c088f['shift']());}catch(_0xecae7e){_0x1c088f['push'](_0x1c088f['shift']());}}}(_0x7bb7,0x9fcb5));import{Plugin as _0x1f7cdd}from'ckeditor5/src/core.js';import _0x288f2d from'./aiassistantui.js';function _0x7bb7(){const _0x5346d4=['Translate','translateSpanish','changeStyle','Journalism','Business','Make\x20shorter','12JlKrAK','makeShorter','business','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','isOfficialPlugin','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','translateGerman','translateEnglish','locale','changeTone','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Hindi','legal','ai.aiAssistant.preserveComments','summarize','Confident','Summarize','requires','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','makeLonger','1240158sKSZpw','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Casual','Friendly','Translate\x20the\x20content\x20to\x20French\x20language.','isPremiumPlugin','French','translateHindi','Make\x20longer','2075780BXKxLu','Simplified\x20Chinese','Simplify\x20language','Generate\x20from\x20selection','Direct','Professional','translate','professional','12631632PseQJN','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Edit\x20or\x20review','Arabic','continue','translatePortuguese','includes','AIAssistant','groupId','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','translateFrench','Spanish','config','Translate\x20the\x20content\x20to\x20German\x20language.','forEach','define','translateArabic','direct','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','commands','Translate\x20the\x20content\x20to\x20Spanish\x20language.','English','1410914PugJgN','set','ai.aiAssistant.extraCommandGroups','ai.aiAssistant.commands','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20writing','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','2970465eIiSlo','journalism','editOrReview','Translate\x20the\x20content\x20to\x20English\x20language.','pluginName','friendly','find','Change\x20tone','German','876339DLexCj','generate','poetic','Portuguese','Continue','Legal','ai.aiAssistant.removeCommands','8744470qHTelu','concat','get','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','improveWriting','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','push','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Poetic','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Change\x20style','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','confident','simplifyLanguage','filter','translateChinese','Translate\x20the\x20content\x20to\x20Hindi\x20language.','casual'];_0x7bb7=function(){return _0x5346d4;};return _0x7bb7();}import _0x13b566 from'./aiassistantediting.js';import{getTranslation as _0x3ce8c9}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x549434}from'./utils/normalizecommandsconfig.js';export default class r extends _0x1f7cdd{static get[_0x298510(0x12d)](){return[_0x288f2d,_0x13b566];}static get[_0x298510(0xf8)](){const _0x533de0=_0x298510;return _0x533de0(0xdd);}static get[_0x298510(0x120)](){return!0x0;}static get[_0x298510(0xc9)](){return!0x0;}constructor(_0x2eef77){const _0x5017f0=_0x298510;super(_0x2eef77);const _0x2315a1=_0x2eef77[_0x5017f0(0xe2)],_0x1a2ee7=_0x2eef77[_0x5017f0(0x124)];_0x2315a1[_0x5017f0(0xe5)](_0x5017f0(0x129),!0x0),_0x2315a1[_0x5017f0(0xe5)](_0x5017f0(0xef),getDefaultCommands(_0x1a2ee7)),_0x2315a1[_0x5017f0(0xe5)](_0x5017f0(0xee),[]),_0x2315a1[_0x5017f0(0xe5)](_0x5017f0(0x103),[]);let _0x19c293=_0x549434(_0x2315a1[_0x5017f0(0x106)](_0x5017f0(0xef)),_0x1a2ee7);const _0x4ed398=_0x2315a1[_0x5017f0(0x106)](_0x5017f0(0xee)),_0x215cf9=_0x2315a1[_0x5017f0(0x106)](_0x5017f0(0x103));_0x4ed398[_0x5017f0(0xe4)](_0x437207=>{const _0x5c5ed7=_0x5017f0,_0x375f48=_0x19c293[_0x5c5ed7(0xfa)](_0x4db7e0=>_0x4db7e0[_0x5c5ed7(0xde)]===_0x437207[_0x5c5ed7(0xde)]);_0x375f48?_0x375f48[_0x5c5ed7(0xe9)]=_0x375f48[_0x5c5ed7(0xe9)][_0x5c5ed7(0x105)](_0x437207[_0x5c5ed7(0xe9)]):_0x19c293[_0x5c5ed7(0x10a)](_0x437207);}),_0x19c293=_0x19c293[_0x5017f0(0x112)](_0x2e5ac0=>!_0x215cf9[_0x5017f0(0xdc)](_0x2e5ac0[_0x5017f0(0xde)])),_0x19c293[_0x5017f0(0xe4)](_0x36012d=>{const _0x24ddcf=_0x5017f0;_0x36012d[_0x24ddcf(0xe9)]=_0x36012d[_0x24ddcf(0xe9)][_0x24ddcf(0x112)](_0x15b165=>!_0x215cf9[_0x24ddcf(0xdc)](_0x15b165['id']));}),_0x2315a1[_0x5017f0(0xed)](_0x5017f0(0xef),_0x19c293);}}function _0x21a4(_0x234004,_0x5603fb){const _0x7bb754=_0x7bb7();return _0x21a4=function(_0x21a479,_0x21ff62){_0x21a479=_0x21a479-0xc1;let _0x1761cb=_0x7bb754[_0x21a479];return _0x1761cb;},_0x21a4(_0x234004,_0x5603fb);}export function getDefaultCommands(_0x3166fc){const _0xf8c2e2=_0x298510;return[{'groupId':_0xf8c2e2(0xf6),'groupLabel':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xd8)),'commands':[{'id':_0xf8c2e2(0x108),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xf1)),'prompt':_0xf8c2e2(0xdf)},{'id':_0xf8c2e2(0x11d),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x11b)),'prompt':_0xf8c2e2(0xe8)},{'id':_0xf8c2e2(0xc2),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xcc)),'prompt':_0xf8c2e2(0x121)},{'id':_0xf8c2e2(0x111),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xcf)),'prompt':_0xf8c2e2(0x10b)}]},{'groupId':_0xf8c2e2(0xfe),'groupLabel':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xd0)),'commands':[{'id':_0xf8c2e2(0x12a),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x12c)),'prompt':_0xf8c2e2(0x126)},{'id':_0xf8c2e2(0xda),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x101)),'prompt':_0xf8c2e2(0xf2)}]},{'groupId':_0xf8c2e2(0x125),'groupLabel':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xfb)),'commands':[{'id':_0xf8c2e2(0xd4),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xd2)),'prompt':_0xf8c2e2(0x107)},{'id':_0xf8c2e2(0x115),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xc6)),'prompt':_0xf8c2e2(0x109)},{'id':_0xf8c2e2(0xe7),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xd1)),'prompt':_0xf8c2e2(0xc5)},{'id':_0xf8c2e2(0x110),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x12b)),'prompt':_0xf8c2e2(0x10d)},{'id':_0xf8c2e2(0xf9),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xc7)),'prompt':_0xf8c2e2(0xc1)}]},{'groupId':_0xf8c2e2(0x118),'groupLabel':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x10e)),'commands':[{'id':_0xf8c2e2(0x11e),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x11a)),'prompt':_0xf8c2e2(0xf0)},{'id':_0xf8c2e2(0x128),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x102)),'prompt':_0xf8c2e2(0xd7)},{'id':_0xf8c2e2(0xf5),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x119)),'prompt':_0xf8c2e2(0xc4)},{'id':_0xf8c2e2(0xff),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x10c)),'prompt':_0xf8c2e2(0x10f)}]},{'groupId':_0xf8c2e2(0xd3),'groupLabel':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x116)),'commands':[{'id':_0xf8c2e2(0x123),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xeb)),'prompt':_0xf8c2e2(0xf7)},{'id':_0xf8c2e2(0x117),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xe1)),'prompt':_0xf8c2e2(0xea)},{'id':_0xf8c2e2(0xdb),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x100)),'prompt':_0xf8c2e2(0x11f)},{'id':_0xf8c2e2(0x122),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xfc)),'prompt':_0xf8c2e2(0xe3)},{'id':_0xf8c2e2(0xe0),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xca)),'prompt':_0xf8c2e2(0xc8)},{'id':_0xf8c2e2(0x113),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xce)),'prompt':_0xf8c2e2(0xd6)},{'id':_0xf8c2e2(0xcb),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0x127)),'prompt':_0xf8c2e2(0x114)},{'id':_0xf8c2e2(0xe6),'label':_0x3ce8c9(_0x3166fc,_0xf8c2e2(0xd9)),'prompt':_0xf8c2e2(0xf3)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f8731=_0x38a7;(function(_0x43b026,_0x3154aa){const _0x38014b=_0x38a7,_0x4bdc99=_0x43b026();while(!![]){try{const _0x24dbbc=parseInt(_0x38014b(0x1d4))/0x1+-parseInt(_0x38014b(0x1bc))/0x2*(-parseInt(_0x38014b(0x1c6))/0x3)+parseInt(_0x38014b(0x201))/0x4+parseInt(_0x38014b(0x1c0))/0x5+-parseInt(_0x38014b(0x206))/0x6+-parseInt(_0x38014b(0x1ac))/0x7*(parseInt(_0x38014b(0x1e2))/0x8)+parseInt(_0x38014b(0x1b4))/0x9*(-parseInt(_0x38014b(0x1a7))/0xa);if(_0x24dbbc===_0x3154aa)break;else _0x4bdc99['push'](_0x4bdc99['shift']());}catch(_0x13ac18){_0x4bdc99['push'](_0x4bdc99['shift']());}}}(_0xdba7,0x60b58));import{uid as _0x2f5444}from'ckeditor5/src/utils.js';import{Plugin as _0xe6907a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x245df5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x334aaa,DataTransfer as _0x1806de}from'ckeditor5/src/engine.js';function _0x38a7(_0x3ac4e3,_0x17ee00){const _0xdba795=_0xdba7();return _0x38a7=function(_0x38a780,_0x45f901){_0x38a780=_0x38a780-0x1a0;let _0x279d84=_0xdba795[_0x38a780];return _0x279d84;},_0x38a7(_0x3ac4e3,_0x17ee00);}function _0xdba7(){const _0x4a9bfe=['first','deleteContent','plugins','_createEmptyTableRows','_prepareTableInsertBelowPosition','schema','join','lowest','selection','1245390lnUrII','getRowIndexes','getLastMatchingPosition','off','isOfficialPlugin','763pmWdnp','editing','get','resultRange','addMarker','findAncestor','updateMarker','markerToElement','9Ladvpo','last','afterInit','TableUtils','_getTableRowCountFromContent','_pasteHTMLUsingClipboard','push','change','200rVtYyF','paste','init','insertContentBelow','676235XYghuE','DataTransfer','table','createPositionAfter','showFakeVisualSelection','markerToHighlight','7845yimXgv','from','getColumnIndexes','once','fire','forEach','map','isCollapsed','_getDefaultInsertBelowPosition','insertContent','end','start','markerRange','conversion','51419jlVyCt','getChildren','config','contentInsertion','getSelectedBlocks','ai.useTheme','pluginName','_getAISelection','ck-fake-ai-selection','removeMarker','getRanges','text/html','has','length','18376bzOKuE','canEditAt','AIAssistantEditing','parse','createUIElement','ck-ai-assistant-ui_theme','ck-fake-ai-selection_collapsed','addClass','filter','getSelectedTableCells','markers','isPremiumPlugin','createPositionAt','ai-ui','setData','getLastPosition','setSelection','pop','document','createRange','getMarkersGroup','isContent','span','isAtEnd','insertRows','getRange','getFirstRange','hideFakeVisualSelection','for','fromCharCode','getChild','2196208qKZfJm','data','model','editor','createSelection','1357116xTZtqo','_resetContentOfSelectedTableCells','element','href','editingDowncast','getRows'];_0xdba7=function(){return _0x4a9bfe;};return _0xdba7();}const w=globalThis[_0x3f8731(0x1c1)],f=_0x3f8731(0x1ef);export default class a extends _0xe6907a{static get[_0x3f8731(0x1da)](){const _0x4936b4=_0x3f8731;return _0x4936b4(0x1e4);}static get[_0x3f8731(0x1ab)](){return!0x0;}static get[_0x3f8731(0x1ed)](){return!0x0;}[_0x3f8731(0x1be)](){const _0x4f546d=_0x3f8731,{editor:_0xed190c}=this,_0x5dc41a=[_0x4f546d(0x1dc)];_0xed190c[_0x4f546d(0x1d6)][_0x4f546d(0x1ae)](_0x4f546d(0x1d9))&&_0x5dc41a[_0x4f546d(0x1ba)](_0x4f546d(0x1e7)),_0xed190c[_0x4f546d(0x1d3)][_0x4f546d(0x1fe)](_0x4f546d(0x20a))[_0x4f546d(0x1c5)]({'model':f,'view':{'classes':_0x5dc41a,'priority':0xc}}),_0xed190c[_0x4f546d(0x1d3)][_0x4f546d(0x1fe)](_0x4f546d(0x20a))[_0x4f546d(0x1b3)]({'model':f,'view':(_0x896542,{writer:_0x58b425})=>{const _0x57d784=_0x4f546d;if(!_0x896542[_0x57d784(0x1d2)][_0x57d784(0x1cd)])return null;const _0x569e33=_0x58b425[_0x57d784(0x1e6)](_0x57d784(0x1f8));return _0x58b425[_0x57d784(0x1e9)]([_0x57d784(0x1dc),_0x57d784(0x1e8)],_0x569e33),_0x569e33;}});}[_0x3f8731(0x1b6)](){!async function(_0x5445f5){const _0x50160c=_0xebaf0c([0x4a,0x62,0x47,0x30,0x6f,0x79,0x44,0x59,0x67,0x70,0x4b,0x6a,0x6d,0x43,0x57,0x5a,0x42,0x76,0x6b,0x46,0x69,0x66,0x71,0x7a,0x74,0x65,0x39,0x77,0x4f,0x45,0x52,0x64,0x54,0x4c,0x72,0x56,0x32,0x36,0x49,0x48,0x31,0x63,0x78,0x68,0x37,0x51,0x38,0x41,0x61,0x73,0x6e,0x75,0x4e,0x34,0x58,0x4d,0x53,0x55,0x6c,0x50,0x35,0x33]),_0x4928d2=0x655078a6,_0x139aa9=0x65571b16^_0x4928d2,_0x4bfc71=window[_0xebaf0c([0x44,0x61,0x74,0x65])][_0xebaf0c([0x6e,0x6f,0x77])](),_0x2a577a=_0x5445f5[_0xebaf0c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b31be=new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4828cd=>{_0x2a577a[_0xebaf0c([0x6f,0x6e,0x63,0x65])](_0xebaf0c([0x72,0x65,0x61,0x64,0x79]),_0x4828cd);}),_0x20f539={[_0xebaf0c([0x6b,0x74,0x79])]:_0xebaf0c([0x45,0x43]),[_0xebaf0c([0x75,0x73,0x65])]:_0xebaf0c([0x73,0x69,0x67]),[_0xebaf0c([0x63,0x72,0x76])]:_0xebaf0c([0x50,0x2d,0x32,0x35,0x36]),[_0xebaf0c([0x78])]:_0xebaf0c([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]),[_0xebaf0c([0x79])]:_0xebaf0c([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]),[_0xebaf0c([0x61,0x6c,0x67])]:_0xebaf0c([0x45,0x53,0x32,0x35,0x36])},_0x2290f4=_0x2a577a[_0xebaf0c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xebaf0c([0x67,0x65,0x74])](_0xebaf0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x17caab(){let _0x399706,_0x1c29a2=null,_0x101233=null;try{if(_0x2290f4==_0xebaf0c([0x47,0x50,0x4c]))return _0xebaf0c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x399706=_0x4d56b3(),!_0x399706)return _0xebaf0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x399706[_0xebaf0c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x101233=_0x4587e0(_0x399706[_0xebaf0c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x399706[_0xebaf0c([0x6a,0x74,0x69])])),await _0x2fd578()?_0x11ea83()?_0x54282d()?_0xebaf0c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51e7ac()?(_0x399706[_0xebaf0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xebaf0c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c29a2=_0x32e761(_0xebaf0c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x399706[_0xebaf0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xebaf0c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c29a2=_0x32e761(_0xebaf0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xacadd8()):_0xebaf0c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xebaf0c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xebaf0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5bfad7){return _0xebaf0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x54282d(){const _0x5f11b3=[_0xebaf0c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xebaf0c([0x74,0x72,0x69,0x61,0x6c])][_0xebaf0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x399706[_0xebaf0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4bfc71/0x3e8:0xe10*_0x139aa9;return _0x399706[_0xebaf0c([0x65,0x78,0x70])]<_0x5f11b3;}function _0x11ea83(){const _0x30b218=_0x399706[_0xebaf0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30b218&&(!!_0x30b218[_0xebaf0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xebaf0c([0x2a]))||!!_0x30b218[_0xebaf0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xebaf0c([0x41,0x49])));}function _0x51e7ac(){const _0x4b15ab=_0x38a7,_0x1add9d=_0x399706[_0xebaf0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1add9d||0x0==_0x1add9d[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51ab1d}=new URL(window[_0xebaf0c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b15ab(0x209)]);if(_0x1add9d[_0xebaf0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51ab1d))return!0x0;const _0x1db82b=_0x51ab1d[_0xebaf0c([0x73,0x70,0x6c,0x69,0x74])](_0xebaf0c([0x2e]));return _0x1add9d[_0xebaf0c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24adc7=>_0x24adc7[_0xebaf0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xebaf0c([0x2a])))[_0xebaf0c([0x6d,0x61,0x70])](_0x58115b=>_0x58115b[_0xebaf0c([0x73,0x70,0x6c,0x69,0x74])](_0xebaf0c([0x2e])))[_0xebaf0c([0x73,0x6f,0x6d,0x65])](_0x1bfea8=>_0x1db82b[_0xebaf0c([0x65,0x76,0x65,0x72,0x79])]((_0x593aae,_0x480a5f)=>_0x1bfea8[_0x480a5f]===_0x593aae||_0x1bfea8[_0x480a5f]===_0xebaf0c([0x2a])));}function _0xacadd8(){return _0x1c29a2&&_0x101233?new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54276e,_0x50cb40)=>{_0x1c29a2[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x54276e,_0x50cb40),_0x101233[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x1e63be=>{_0x1e63be!=_0xebaf0c([0x56,0x61,0x6c,0x69,0x64])&&_0x54276e(_0x1e63be);},_0x50cb40);}):_0x1c29a2||_0x101233||_0xebaf0c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4587e0(_0x13f363,_0x21b4fb){return new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25774c=>{if(_0x1b0f0b())return _0x25774c(_0xebaf0c([0x56,0x61,0x6c,0x69,0x64]));_0x163dc2(),_0x2a577a[_0xebaf0c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xebaf0c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b9fce=!0x1;const _0x2ea452=_0x2f5444();function _0x2375b7(_0x2c2f33){return!!_0x2c2f33&&(typeof _0x2c2f33===_0xebaf0c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c2f33===_0xebaf0c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c2f33[_0xebaf0c([0x74,0x68,0x65,0x6e])]===_0xebaf0c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c2f33[_0xebaf0c([0x63,0x61,0x74,0x63,0x68])]===_0xebaf0c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xecc2cf(_0x6bf248){_0x143629(_0x6bf248)[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x127d81=>{if(!_0x127d81||_0x127d81[_0xebaf0c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xebaf0c([0x6f,0x6b]))return _0xebaf0c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a7e93(_0x132cc5(_0x2ea452+_0x21b4fb))!=_0x127d81[_0xebaf0c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xebaf0c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xebaf0c([0x56,0x61,0x6c,0x69,0x64]);})[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x1a5505=>(_0x13c56d(),_0x1a5505),()=>{const _0x300481=_0xdc129c();return null==_0x300481?(_0x13c56d(),_0xebaf0c([0x56,0x61,0x6c,0x69,0x64])):_0xebaf0c(_0x4bfc71-_0x300481>(0x415cfca6^_0x4928d2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x25774c)[_0xebaf0c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25774c(_0xebaf0c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c9129=0x65669626^_0x4928d2;function _0x13c56d(){const _0x3adb64=_0xebaf0c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a7e93(_0x132cc5(_0x13f363)),_0x484ac0=_0x1de25f(_0x1a7e93(window[_0xebaf0c([0x4d,0x61,0x74,0x68])][_0xebaf0c([0x63,0x65,0x69,0x6c])](_0x4bfc71/_0x1c9129)));window[_0xebaf0c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xebaf0c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3adb64,_0x484ac0);}function _0xdc129c(){const _0x131333=_0xebaf0c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a7e93(_0x132cc5(_0x13f363)),_0x5b40c6=window[_0xebaf0c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xebaf0c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x131333);return _0x5b40c6?window[_0xebaf0c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1de25f(_0x5b40c6),0x10)*_0x1c9129:null;}function _0x143629(_0x11f123){return new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ca393,_0xc0f9ef)=>{_0x11f123[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x4ca393,_0xc0f9ef),window[_0xebaf0c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc0f9ef,0x6551ac66^_0x4928d2);});}}_0x2a577a[_0xebaf0c([0x6f,0x6e])](_0xebaf0c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xecc556,_0x23d8d1)=>{if(_0x23d8d1[0x0]!=_0x13f363)return _0x25774c(_0xebaf0c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23d8d1[0x1]={..._0x23d8d1[0x1],[_0xebaf0c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ea452};},{[_0xebaf0c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xebaf0c([0x68,0x69,0x67,0x68])}),_0x2a577a[_0xebaf0c([0x6f,0x6e])](_0xebaf0c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59fc19=>{_0x2375b7(_0x59fc19[_0xebaf0c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b9fce=!0x0,_0xecc2cf(_0x59fc19[_0xebaf0c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xebaf0c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xebaf0c([0x6c,0x6f,0x77])}),_0x2b31be[_0xebaf0c([0x74,0x68,0x65,0x6e])](()=>{_0x5b9fce||_0x25774c(_0xebaf0c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b0f0b(){return _0x2a577a[_0xebaf0c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xebaf0c([0x76,0x69,0x65,0x77])][_0xebaf0c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xebaf0c([0x61,0x75,0x74,0x6f]);}function _0x163dc2(){_0x2a577a[_0xebaf0c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xebaf0c([0x76,0x69,0x65,0x77])][_0xebaf0c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xebaf0c([0x61,0x75,0x74,0x6f]);}}function _0x32e761(_0xfa11c3){const _0xd80d34=[new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x684d78=>setTimeout(_0x684d78,0x6559466a^_0x4928d2)),_0x2b31be[_0xebaf0c([0x74,0x68,0x65,0x6e])](()=>new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a016e=>{let _0x23eb40=0x0;_0x2a577a[_0xebaf0c([0x6d,0x6f,0x64,0x65,0x6c])][_0xebaf0c([0x6f,0x6e])](_0xebaf0c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2721c6,_0x2c9608)=>{_0x2c9608[0x0][_0xebaf0c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23eb40++,_0x23eb40==(0x6550795e^_0x4928d2)&&(_0x1a016e(),_0x2721c6[_0xebaf0c([0x6f,0x66,0x66])]());});}))];return window[_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xebaf0c([0x72,0x61,0x63,0x65])](_0xd80d34)[_0xebaf0c([0x74,0x68,0x65,0x6e])](()=>_0xfa11c3);}async function _0x6fef8a(){await _0x2b31be,_0x2a577a[_0xebaf0c([0x6d,0x6f,0x64,0x65,0x6c])][_0xebaf0c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x308045,_0x2a577a[_0xebaf0c([0x6d,0x6f,0x64,0x65,0x6c])][_0xebaf0c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x308045,_0x2a577a[_0xebaf0c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xebaf0c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4979c9(_0x59be90){const _0x33e2ab=_0xe3be69();_0x2a577a[_0x33e2ab]=_0xebaf0c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x59be90,_0x59be90!=_0xebaf0c([0x56,0x61,0x6c,0x69,0x64])&&_0x6fef8a();}function _0xe3be69(){const _0x1943b8=window[_0xebaf0c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xebaf0c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xebaf0c([0x6e,0x6f,0x77])]())[_0xebaf0c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xebaf0c([0x2e]),'');let _0x550df4=_0xebaf0c([0x4a]);for(let _0x1178a3=0x0;_0x1178a3<_0x1943b8[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1178a3+=0x2){let _0x597674=window[_0xebaf0c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1943b8[_0xebaf0c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1178a3,_0x1178a3+0x2));_0x597674>=_0x50160c[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x597674-=_0x50160c[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x550df4+=_0x50160c[_0x597674];}return _0x550df4;}function _0x4d56b3(){const _0x7e90f6=_0x2290f4[_0xebaf0c([0x73,0x70,0x6c,0x69,0x74])](_0xebaf0c([0x2e]));if(0x3!=_0x7e90f6[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31f7b9(_0x7e90f6[0x1]);function _0x31f7b9(_0x4b2aec){const _0x481bbf=_0x1e5bc1(_0x4b2aec);return _0x481bbf&&_0x5c4286()?_0x481bbf:null;function _0x5c4286(){const _0x3433d5=_0x481bbf[_0xebaf0c([0x6a,0x74,0x69])],_0x5ecb41=window[_0xebaf0c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3433d5[_0xebaf0c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3433d5[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c2d78={..._0x481bbf,[_0xebaf0c([0x6a,0x74,0x69])]:_0x3433d5[_0xebaf0c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3433d5[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c2d78[_0xebaf0c([0x76,0x63])],_0x132cc5(_0x3c2d78)==_0x5ecb41;}}}async function _0x2fd578(){let _0x4aafb8=!0x0;try{const _0xcad661=_0x2290f4[_0xebaf0c([0x73,0x70,0x6c,0x69,0x74])](_0xebaf0c([0x2e])),[_0x564402,_0x44d566,_0x2def36]=_0xcad661;return _0x53de83(_0x564402),await _0x81c6c7(_0x564402,_0x44d566,_0x2def36),_0x4aafb8;}catch(_0x2ddfce){return!0x1;}function _0x53de83(_0x5d0290){const _0x16e82c=_0x1e5bc1(_0x5d0290);_0x16e82c&&_0x16e82c[_0xebaf0c([0x61,0x6c,0x67])]==_0xebaf0c([0x45,0x53,0x32,0x35,0x36])||(_0x4aafb8=!0x1);}async function _0x81c6c7(_0x54d259,_0xf52783,_0x516168){const _0xc8477c=window[_0xebaf0c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xebaf0c([0x66,0x72,0x6f,0x6d])](_0x569bbc(_0x516168),_0x2801fd=>_0x2801fd[_0xebaf0c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7060df=new window[(_0xebaf0c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xebaf0c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54d259+_0xebaf0c([0x2e])+_0xf52783),_0x33582d=window[_0xebaf0c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xebaf0c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33582d)return;const _0x1ed11f=await _0x33582d[_0xebaf0c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xebaf0c([0x6a,0x77,0x6b]),_0x20f539,{[_0xebaf0c([0x6e,0x61,0x6d,0x65])]:_0xebaf0c([0x45,0x43,0x44,0x53,0x41]),[_0xebaf0c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xebaf0c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xebaf0c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33582d[_0xebaf0c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xebaf0c([0x6e,0x61,0x6d,0x65])]:_0xebaf0c([0x45,0x43,0x44,0x53,0x41]),[_0xebaf0c([0x68,0x61,0x73,0x68])]:{[_0xebaf0c([0x6e,0x61,0x6d,0x65])]:_0xebaf0c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ed11f,_0xc8477c,_0x7060df)||(_0x4aafb8=!0x1);}}function _0x1e5bc1(_0x9a2ac3){return _0x9a2ac3[_0xebaf0c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xebaf0c([0x65,0x79]))?JSON[_0xebaf0c([0x70,0x61,0x72,0x73,0x65])](_0x569bbc(_0x9a2ac3)):null;}function _0x569bbc(_0x3ef294){return window[_0xebaf0c([0x61,0x74,0x6f,0x62])](_0x3ef294[_0xebaf0c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xebaf0c([0x2b]))[_0xebaf0c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xebaf0c([0x2f])));}function _0x132cc5(_0x1c4d10){let _0x59ff1a=0x1505;function _0x8a61cb(_0x594ce4){for(let _0x23591f=0x0;_0x23591f<_0x594ce4[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23591f++){const _0x5ed5fd=_0x594ce4[_0xebaf0c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23591f);_0x59ff1a=(_0x59ff1a<<0x5)+_0x59ff1a+_0x5ed5fd,_0x59ff1a&=_0x59ff1a;}}function _0x39b653(_0x438d4e){Array[_0xebaf0c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x438d4e)?_0x438d4e[_0xebaf0c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39b653):_0x438d4e&&typeof _0x438d4e==_0xebaf0c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xebaf0c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x438d4e)[_0xebaf0c([0x73,0x6f,0x72,0x74])]()[_0xebaf0c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1376a0,_0x1b770d])=>{_0x8a61cb(_0x1376a0),_0x39b653(_0x1b770d);}):_0x8a61cb(window[_0xebaf0c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x438d4e));}return _0x39b653(_0x1c4d10),_0x59ff1a>>>0x0;}function _0x1a7e93(_0x290e68){return _0x290e68[_0xebaf0c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xebaf0c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xebaf0c([0x30]));}function _0x1de25f(_0x113154){return _0x113154[_0xebaf0c([0x73,0x70,0x6c,0x69,0x74])]('')[_0xebaf0c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xebaf0c([0x6a,0x6f,0x69,0x6e])]('');}function _0x308045(){}function _0xebaf0c(_0x3e08d5){const _0x54d51e=_0x38a7;return _0x3e08d5[_0x54d51e(0x1cc)](_0x3b3a50=>String[_0x54d51e(0x1ff)](_0x3b3a50))[_0x54d51e(0x1a4)]('');}_0x4979c9(await _0x17caab());}(this);}[_0x3f8731(0x1c4)](){const _0x125473=_0x3f8731,_0x14c5cb=this[_0x125473(0x204)][_0x125473(0x203)];_0x14c5cb[_0x125473(0x1bb)](_0x49748d=>{const _0x34e3a2=_0x125473,_0x2e4788=_0x14c5cb[_0x34e3a2(0x1f4)][_0x34e3a2(0x1a6)][_0x34e3a2(0x1de)]();let _0x4d1bfb=0x0;for(const _0x3741b7 of _0x2e4788){const _0x57fa09=f+':'+_0x4d1bfb;if(_0x14c5cb[_0x34e3a2(0x1ec)][_0x34e3a2(0x1e0)](_0x57fa09))_0x49748d[_0x34e3a2(0x1b2)](_0x57fa09,{'range':_0x3741b7});else{if(_0x3741b7[_0x34e3a2(0x1d1)][_0x34e3a2(0x1f9)]){const _0x3f37e9=_0x3741b7[_0x34e3a2(0x1d1)][_0x34e3a2(0x1a9)](({item:_0x5625b6})=>!_0x14c5cb[_0x34e3a2(0x1a3)][_0x34e3a2(0x1f7)](_0x5625b6),{'boundaries':_0x3741b7});_0x49748d[_0x34e3a2(0x1b0)](_0x57fa09,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x49748d[_0x34e3a2(0x1f5)](_0x3f37e9,_0x3741b7[_0x34e3a2(0x1d0)])});}else _0x49748d[_0x34e3a2(0x1b0)](_0x57fa09,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3741b7});}_0x4d1bfb++;}});}[_0x3f8731(0x1fd)](){const _0x4e635f=_0x3f8731,_0x3b3155=this[_0x4e635f(0x204)][_0x4e635f(0x203)],_0x41a51a=Array[_0x4e635f(0x1c7)](this[_0x4e635f(0x204)][_0x4e635f(0x203)][_0x4e635f(0x1ec)][_0x4e635f(0x1f6)](f));_0x41a51a[_0x4e635f(0x1e1)]&&_0x3b3155[_0x4e635f(0x1bb)](_0x3af331=>{const _0x1840bf=_0x4e635f;_0x41a51a[_0x1840bf(0x1cb)](_0x3b70ff=>{const _0x85446e=_0x1840bf;_0x3af331[_0x85446e(0x1dd)](_0x3b70ff);});});}[_0x3f8731(0x1cf)](_0x1c65ce,_0x188a91){const _0x97eee0=_0x3f8731,_0xf0a4a9=this[_0x97eee0(0x1db)](),_0x2e034a=_0x188a91||_0xf0a4a9[_0x97eee0(0x1fc)]();this[_0x97eee0(0x204)][_0x97eee0(0x203)][_0x97eee0(0x1e3)](_0x2e034a)&&this[_0x97eee0(0x204)][_0x97eee0(0x203)][_0x97eee0(0x1bb)](_0x168755=>{const _0x2309fb=_0x97eee0;this[_0x2309fb(0x1fd)](),_0x188a91||this[_0x2309fb(0x207)](_0x168755,_0xf0a4a9),this[_0x2309fb(0x1b9)]({'insertAt':_0x2e034a,'writer':_0x168755,'html':_0x1c65ce});});}[_0x3f8731(0x1bf)](_0x44039a){const _0x6ccbb4=_0x3f8731,{model:_0x45bf4f}=this[_0x6ccbb4(0x204)],_0x78b819=this[_0x6ccbb4(0x1db)]();_0x45bf4f[_0x6ccbb4(0x1bb)](()=>{const _0x1dc99f=_0x6ccbb4,_0xbb52d7=this[_0x1dc99f(0x1a2)](_0x44039a,_0x78b819)||this[_0x1dc99f(0x1ce)](_0x78b819);this[_0x1dc99f(0x1cf)](_0x44039a,_0xbb52d7);});}[_0x3f8731(0x1db)](){const _0x200810=_0x3f8731,_0x31c198=this[_0x200810(0x204)][_0x200810(0x203)],_0x558c89=Array[_0x200810(0x1c7)](_0x31c198[_0x200810(0x1ec)][_0x200810(0x1f6)](f))[_0x200810(0x1cc)](_0x40c585=>_0x40c585[_0x200810(0x1fb)]());return _0x31c198[_0x200810(0x205)](_0x558c89);}[_0x3f8731(0x1b9)]({writer:_0x3550df,html:_0x3cb9ad,insertAt:_0x57d645}){const _0x142d22=_0x3f8731,{view:_0x364ca6}=this[_0x142d22(0x204)][_0x142d22(0x1ad)],_0x1ef376=this[_0x142d22(0x204)][_0x142d22(0x1a0)][_0x142d22(0x1ae)](_0x245df5),_0x4c0236=new w();_0x4c0236[_0x142d22(0x1f0)](_0x142d22(0x1df),_0x3cb9ad);const _0x40c495=new ClipboardEvent(_0x142d22(0x1bd),{'clipboardData':_0x4c0236}),_0x2a947c=new _0x334aaa(_0x364ca6,_0x40c495,{'dataTransfer':new _0x1806de(_0x4c0236)});_0x3550df[_0x142d22(0x1f2)](_0x57d645);const _0x5bb34d=(_0x1cbc30,_0x1136c6)=>{const _0x4319ba=_0x142d22;_0x1136c6[_0x4319ba(0x1af)]&&_0x3550df[_0x4319ba(0x1f2)](_0x1136c6[_0x4319ba(0x1af)]);};_0x1ef376[_0x142d22(0x1c9)](_0x142d22(0x1d7),_0x5bb34d,{'priority':_0x142d22(0x1a5)}),_0x364ca6[_0x142d22(0x1f4)][_0x142d22(0x1ca)](_0x142d22(0x1bd),_0x2a947c),_0x1ef376[_0x142d22(0x1aa)](_0x142d22(0x1d7),_0x5bb34d);}[_0x3f8731(0x1ce)](_0x3eee03){const _0x1b6d58=_0x3f8731,{model:_0x144034}=this[_0x1b6d58(0x204)],_0x560da9=Array[_0x1b6d58(0x1c7)](_0x3eee03[_0x1b6d58(0x1d8)]());return _0x560da9[_0x1b6d58(0x1e1)]?_0x144034[_0x1b6d58(0x1c3)](_0x560da9[_0x1b6d58(0x1f3)]()):_0x3eee03[_0x1b6d58(0x1f1)]();}[_0x3f8731(0x1a2)](_0x41b15b,_0x931bad){const _0x15fd7e=_0x3f8731,{model:_0xfa8155,plugins:_0x25068e}=this[_0x15fd7e(0x204)];if(_0x25068e[_0x15fd7e(0x1e0)](_0x15fd7e(0x1b7))){const _0x84ad8a=_0x25068e[_0x15fd7e(0x1ae)](_0x15fd7e(0x1b7))[_0x15fd7e(0x1eb)](_0x931bad);if(_0x84ad8a[_0x15fd7e(0x1e1)]){const _0x946f18=this[_0x15fd7e(0x1b8)](_0x41b15b),_0x3bd83b=this[_0x15fd7e(0x1a1)](_0x84ad8a,_0x946f18);return _0xfa8155[_0x15fd7e(0x1ee)](_0x3bd83b,0x0);}}return null;}[_0x3f8731(0x1b8)](_0x1dfc71){const _0x312928=_0x3f8731,_0xf8604a=this[_0x312928(0x204)][_0x312928(0x1a0)][_0x312928(0x1ae)](_0x312928(0x1b7)),_0x5aff33=this[_0x312928(0x204)][_0x312928(0x202)][_0x312928(0x1e5)](_0x1dfc71),_0x41d2ed=Array[_0x312928(0x1c7)](_0x5aff33[_0x312928(0x1d5)]())[_0x312928(0x1ea)](_0x3844b0=>_0x3844b0['is'](_0x312928(0x208),_0x312928(0x1c2)));let _0x4e2390=0x0;return _0x41d2ed[_0x312928(0x1cb)](_0x56e387=>{const _0x4278ff=_0x312928;_0x4e2390+=_0xf8604a[_0x4278ff(0x20b)](_0x56e387);}),_0x4e2390;}[_0x3f8731(0x1a1)](_0x4b4348,_0x2db528){const _0x553869=_0x3f8731,_0x24fa22=this[_0x553869(0x204)][_0x553869(0x1a0)][_0x553869(0x1ae)](_0x553869(0x1b7)),_0x5082c4=_0x24fa22[_0x553869(0x1a8)](_0x4b4348),_0x6503c3=_0x24fa22[_0x553869(0x1c8)](_0x4b4348),_0x482673=_0x5082c4[_0x553869(0x1b5)]+0x1,_0x1b716d=_0x6503c3[_0x553869(0x20c)],_0x46d765=_0x4b4348[0x0][_0x553869(0x1b1)](_0x553869(0x1c2));for(let _0x204a46=0x0;_0x204a46<_0x2db528;_0x204a46++)_0x24fa22[_0x553869(0x1fa)](_0x46d765,{'at':_0x482673});return _0x46d765[_0x553869(0x200)](_0x482673)[_0x553869(0x200)](_0x1b716d);}[_0x3f8731(0x207)](_0x3ed46f,_0x3d0269){const _0x18e0f7=_0x3f8731,{plugins:_0x31f2d8}=this[_0x18e0f7(0x204)],{model:_0x351dd1}=_0x3ed46f;if(!_0x31f2d8[_0x18e0f7(0x1e0)](_0x18e0f7(0x1b7)))return;_0x31f2d8[_0x18e0f7(0x1ae)](_0x18e0f7(0x1b7))[_0x18e0f7(0x1eb)](_0x3d0269)[_0x18e0f7(0x1e1)]&&_0x351dd1[_0x18e0f7(0x20d)](_0x3d0269);}}
|
|
23
|
+
const _0x50b7ec=_0x345e;(function(_0x21fcae,_0x4ae79c){const _0x58dbe5=_0x345e,_0x4a96d0=_0x21fcae();while(!![]){try{const _0x3b52ee=parseInt(_0x58dbe5(0x188))/0x1+parseInt(_0x58dbe5(0x12f))/0x2*(-parseInt(_0x58dbe5(0x13c))/0x3)+parseInt(_0x58dbe5(0x134))/0x4*(parseInt(_0x58dbe5(0x128))/0x5)+-parseInt(_0x58dbe5(0x13b))/0x6+parseInt(_0x58dbe5(0x148))/0x7*(-parseInt(_0x58dbe5(0x147))/0x8)+parseInt(_0x58dbe5(0x14c))/0x9+parseInt(_0x58dbe5(0x17c))/0xa;if(_0x3b52ee===_0x4ae79c)break;else _0x4a96d0['push'](_0x4a96d0['shift']());}catch(_0x187f32){_0x4a96d0['push'](_0x4a96d0['shift']());}}}(_0x2f0d,0xbb57a));function _0x2f0d(){const _0x2aabac=['15NYpqAp','getMarkersGroup','getRows','filter','model','getFirstRange','isCollapsed','has','markers','contentInsertion','markerToHighlight','4708952zABTaP','14xYxqim','createPositionAfter','isOfficialPlugin','length','4134042LivyLU','off','start','removeMarker','ck-fake-ai-selection','span','afterInit','getColumnIndexes','plugins','lowest','ck-ai-assistant-ui_theme','editingDowncast','resultRange','getLastMatchingPosition','getSelectedBlocks','createSelection','fromCharCode','parse','isContent','selection','_resetContentOfSelectedTableCells','getRanges','AIAssistantEditing','once','findAncestor','setData','_prepareTableInsertBelowPosition','pluginName','last','isPremiumPlugin','getLastPosition','_createEmptyTableRows','document','setSelection','hideFakeVisualSelection','join','createPositionAt','ai.useTheme','from','end','getRowIndexes','forEach','ai-ui','DataTransfer','pop','table','createUIElement','insertContentBelow','29915760wUaUsr','editing','createRange','text/html','isAtEnd','deleteContent','href','for','canEditAt','element','showFakeVisualSelection','markerRange','415732zaJlgF','first','getSelectedTableCells','getChildren','schema','config','get','push','addClass','data','updateMarker','map','change','insertContent','30cKugwO','TableUtils','editor','ck-fake-ai-selection_collapsed','getRange','conversion','paste','570970LipGRu','_pasteHTMLUsingClipboard','_getTableRowCountFromContent','markerToElement','_getAISelection','76948QeSCSD','getChild','fire','addMarker','init','insertRows','_getDefaultInsertBelowPosition','3660306ZiUlDM'];_0x2f0d=function(){return _0x2aabac;};return _0x2f0d();}import{uid as _0x2b2be1}from'ckeditor5/src/utils.js';import{Plugin as _0x4329cf}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3eec20}from'ckeditor5/src/clipboard.js';function _0x345e(_0x5b0890,_0x2f7ffd){const _0x2f0d0b=_0x2f0d();return _0x345e=function(_0x345e2c,_0x140d1e){_0x345e2c=_0x345e2c-0x125;let _0x44c0bf=_0x2f0d0b[_0x345e2c];return _0x44c0bf;},_0x345e(_0x5b0890,_0x2f7ffd);}import{DomEventData as _0xc77419,DataTransfer as _0x49e6d8}from'ckeditor5/src/engine.js';const w=globalThis[_0x50b7ec(0x177)],f=_0x50b7ec(0x176);export default class a extends _0x4329cf{static get[_0x50b7ec(0x167)](){const _0xd22bf=_0x50b7ec;return _0xd22bf(0x162);}static get[_0x50b7ec(0x14a)](){return!0x0;}static get[_0x50b7ec(0x169)](){return!0x0;}[_0x50b7ec(0x138)](){const _0xb0a1c2=_0x50b7ec,{editor:_0x32366e}=this,_0x5c72f3=[_0xb0a1c2(0x150)];_0x32366e[_0xb0a1c2(0x18d)][_0xb0a1c2(0x18e)](_0xb0a1c2(0x171))&&_0x5c72f3[_0xb0a1c2(0x18f)](_0xb0a1c2(0x156)),_0x32366e[_0xb0a1c2(0x12d)][_0xb0a1c2(0x183)](_0xb0a1c2(0x157))[_0xb0a1c2(0x146)]({'model':f,'view':{'classes':_0x5c72f3,'priority':0xc}}),_0x32366e[_0xb0a1c2(0x12d)][_0xb0a1c2(0x183)](_0xb0a1c2(0x157))[_0xb0a1c2(0x132)]({'model':f,'view':(_0x337448,{writer:_0x130512})=>{const _0x1ada01=_0xb0a1c2;if(!_0x337448[_0x1ada01(0x187)][_0x1ada01(0x142)])return null;const _0x4e7a5c=_0x130512[_0x1ada01(0x17a)](_0x1ada01(0x151));return _0x130512[_0x1ada01(0x190)]([_0x1ada01(0x150),_0x1ada01(0x12b)],_0x4e7a5c),_0x4e7a5c;}});}[_0x50b7ec(0x152)](){!async function(_0x2ac247){const _0x142437=_0x3fc37d([0x52,0x58,0x6b,0x32,0x35,0x55,0x70,0x50,0x4f,0x69,0x31,0x65,0x7a,0x61,0x41,0x77,0x36,0x43,0x53,0x44,0x37,0x34,0x6f,0x42,0x75,0x48,0x38,0x78,0x5a,0x68,0x51,0x46,0x6d,0x39,0x54,0x4b,0x64,0x57,0x59,0x6e,0x6a,0x47,0x71,0x6c,0x76,0x63,0x4c,0x66,0x74,0x4a,0x4d,0x33,0x4e,0x73,0x62,0x45,0x72,0x49,0x79,0x30,0x56,0x67]),_0x1edce4=0x405d6d78,_0x3ab4e5=0x405a0eb0^_0x1edce4,_0x2dd3a0=window[_0x3fc37d([0x44,0x61,0x74,0x65])][_0x3fc37d([0x6e,0x6f,0x77])](),_0x1cfa38=_0x2ac247[_0x3fc37d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x510c2a=new window[(_0x3fc37d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x273449=>{_0x1cfa38[_0x3fc37d([0x6f,0x6e,0x63,0x65])](_0x3fc37d([0x72,0x65,0x61,0x64,0x79]),_0x273449);}),_0x586ae1={[_0x3fc37d([0x6b,0x74,0x79])]:_0x3fc37d([0x45,0x43]),[_0x3fc37d([0x75,0x73,0x65])]:_0x3fc37d([0x73,0x69,0x67]),[_0x3fc37d([0x63,0x72,0x76])]:_0x3fc37d([0x50,0x2d,0x32,0x35,0x36]),[_0x3fc37d([0x78])]:_0x3fc37d([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]),[_0x3fc37d([0x79])]:_0x3fc37d([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]),[_0x3fc37d([0x61,0x6c,0x67])]:_0x3fc37d([0x45,0x53,0x32,0x35,0x36])},_0x472da6=_0x1cfa38[_0x3fc37d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fc37d([0x67,0x65,0x74])](_0x3fc37d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x545bef(){let _0x3f388b,_0x567f38=null,_0x213204=null;try{if(_0x472da6==_0x3fc37d([0x47,0x50,0x4c]))return _0x3fc37d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f388b=_0x5a0aa9(),!_0x3f388b)return _0x3fc37d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f388b[_0x3fc37d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x213204=_0x59f16e(_0x3f388b[_0x3fc37d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f388b[_0x3fc37d([0x6a,0x74,0x69])])),await _0x3c7362()?_0x48595e()?_0xe2ed53()?_0x3fc37d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48e6cc()?(_0x3f388b[_0x3fc37d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc37d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x567f38=_0x2cf045(_0x3fc37d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f388b[_0x3fc37d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc37d([0x74,0x72,0x69,0x61,0x6c])&&(_0x567f38=_0x2cf045(_0x3fc37d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e5f18()):_0x3fc37d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc37d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fc37d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x166673){return _0x3fc37d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe2ed53(){const _0x17e559=[_0x3fc37d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fc37d([0x74,0x72,0x69,0x61,0x6c])][_0x3fc37d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f388b[_0x3fc37d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2dd3a0/0x3e8:0xe10*_0x3ab4e5;return _0x3f388b[_0x3fc37d([0x65,0x78,0x70])]<_0x17e559;}function _0x48595e(){const _0x3e5f54=_0x3f388b[_0x3fc37d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3e5f54&&(!!_0x3e5f54[_0x3fc37d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc37d([0x2a]))||!!_0x3e5f54[_0x3fc37d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc37d([0x41,0x49])));}function _0x48e6cc(){const _0x1202db=_0x345e,_0x5ecd0a=_0x3f388b[_0x3fc37d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ecd0a||0x0==_0x5ecd0a[_0x3fc37d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3aefc5}=new URL(window[_0x3fc37d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1202db(0x182)]);if(_0x5ecd0a[_0x3fc37d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aefc5))return!0x0;const _0x4dd92c=_0x3aefc5[_0x3fc37d([0x73,0x70,0x6c,0x69,0x74])](_0x3fc37d([0x2e]));return _0x5ecd0a[_0x3fc37d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c7421=>_0x5c7421[_0x3fc37d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc37d([0x2a])))[_0x3fc37d([0x6d,0x61,0x70])](_0x4a386c=>_0x4a386c[_0x3fc37d([0x73,0x70,0x6c,0x69,0x74])](_0x3fc37d([0x2e])))[_0x3fc37d([0x73,0x6f,0x6d,0x65])](_0x44d8f2=>_0x4dd92c[_0x3fc37d([0x65,0x76,0x65,0x72,0x79])]((_0x1d39ca,_0x57228a)=>_0x44d8f2[_0x57228a]===_0x1d39ca||_0x44d8f2[_0x57228a]===_0x3fc37d([0x2a])));}function _0x2e5f18(){return _0x567f38&&_0x213204?new window[(_0x3fc37d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x197811,_0x3c5b86)=>{_0x567f38[_0x3fc37d([0x74,0x68,0x65,0x6e])](_0x197811,_0x3c5b86),_0x213204[_0x3fc37d([0x74,0x68,0x65,0x6e])](_0x276505=>{_0x276505!=_0x3fc37d([0x56,0x61,0x6c,0x69,0x64])&&_0x197811(_0x276505);},_0x3c5b86);}):_0x567f38||_0x213204||_0x3fc37d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x59f16e(_0x221e3e,_0x35c593){return new window[(_0x3fc37d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9ecadb=>{if(_0x2322e2())return _0x9ecadb(_0x3fc37d([0x56,0x61,0x6c,0x69,0x64]));_0x59ea68(),_0x1cfa38[_0x3fc37d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fc37d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27be31=!0x1;const _0x15b043=_0x2b2be1();function _0x32d67e(_0x10a1da){return!!_0x10a1da&&(typeof _0x10a1da===_0x3fc37d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10a1da===_0x3fc37d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10a1da[_0x3fc37d([0x74,0x68,0x65,0x6e])]===_0x3fc37d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10a1da[_0x3fc37d([0x63,0x61,0x74,0x63,0x68])]===_0x3fc37d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a47a6(_0x2efe10){_0xbc2a53(_0x2efe10)[_0x3fc37d([0x74,0x68,0x65,0x6e])](_0x507013=>{if(!_0x507013||_0x507013[_0x3fc37d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fc37d([0x6f,0x6b]))return _0x3fc37d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45625f(_0x5576e5(_0x15b043+_0x35c593))!=_0x507013[_0x3fc37d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fc37d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc37d([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc37d([0x74,0x68,0x65,0x6e])](_0x4cb36a=>(_0x458f9d(),_0x4cb36a),()=>{const _0x280867=_0x18f930();return null==_0x280867?(_0x458f9d(),_0x3fc37d([0x56,0x61,0x6c,0x69,0x64])):_0x3fc37d(_0x2dd3a0-_0x280867>(0x6451e978^_0x1edce4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc37d([0x74,0x68,0x65,0x6e])](_0x9ecadb)[_0x3fc37d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x9ecadb(_0x3fc37d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x70f45c=0x406b83f8^_0x1edce4;function _0x458f9d(){const _0x3d3b6b=_0x3fc37d([0x6c,0x6c,0x63,0x74,0x2d])+_0x45625f(_0x5576e5(_0x221e3e)),_0x3466d5=_0x4d3b42(_0x45625f(window[_0x3fc37d([0x4d,0x61,0x74,0x68])][_0x3fc37d([0x63,0x65,0x69,0x6c])](_0x2dd3a0/_0x70f45c)));window[_0x3fc37d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc37d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d3b6b,_0x3466d5);}function _0x18f930(){const _0x120a8a=_0x3fc37d([0x6c,0x6c,0x63,0x74,0x2d])+_0x45625f(_0x5576e5(_0x221e3e)),_0xe90e93=window[_0x3fc37d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc37d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x120a8a);return _0xe90e93?window[_0x3fc37d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d3b42(_0xe90e93),0x10)*_0x70f45c:null;}function _0xbc2a53(_0x233b97){return new window[(_0x3fc37d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcd2b6f,_0x27a169)=>{_0x233b97[_0x3fc37d([0x74,0x68,0x65,0x6e])](_0xcd2b6f,_0x27a169),window[_0x3fc37d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x27a169,0x405cb9b8^_0x1edce4);});}}_0x1cfa38[_0x3fc37d([0x6f,0x6e])](_0x3fc37d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc36fe0,_0x44a7aa)=>{if(_0x44a7aa[0x0]!=_0x221e3e)return _0x9ecadb(_0x3fc37d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44a7aa[0x1]={..._0x44a7aa[0x1],[_0x3fc37d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15b043};},{[_0x3fc37d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc37d([0x68,0x69,0x67,0x68])}),_0x1cfa38[_0x3fc37d([0x6f,0x6e])](_0x3fc37d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47dad5=>{_0x32d67e(_0x47dad5[_0x3fc37d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27be31=!0x0,_0x4a47a6(_0x47dad5[_0x3fc37d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fc37d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc37d([0x6c,0x6f,0x77])}),_0x510c2a[_0x3fc37d([0x74,0x68,0x65,0x6e])](()=>{_0x27be31||_0x9ecadb(_0x3fc37d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2322e2(){return _0x1cfa38[_0x3fc37d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc37d([0x76,0x69,0x65,0x77])][_0x3fc37d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fc37d([0x61,0x75,0x74,0x6f]);}function _0x59ea68(){_0x1cfa38[_0x3fc37d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc37d([0x76,0x69,0x65,0x77])][_0x3fc37d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fc37d([0x61,0x75,0x74,0x6f]);}}function _0x2cf045(_0x300736){const _0x305bf7=[new window[(_0x3fc37d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x101a62=>setTimeout(_0x101a62,0x405453b4^_0x1edce4)),_0x510c2a[_0x3fc37d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fc37d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b4507=>{let _0x117e15=0x0;_0x1cfa38[_0x3fc37d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc37d([0x6f,0x6e])](_0x3fc37d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x421ade,_0x73d921)=>{_0x73d921[0x0][_0x3fc37d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x117e15++,_0x117e15==(0x405d6c80^_0x1edce4)&&(_0x1b4507(),_0x421ade[_0x3fc37d([0x6f,0x66,0x66])]());});}))];return window[_0x3fc37d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fc37d([0x72,0x61,0x63,0x65])](_0x305bf7)[_0x3fc37d([0x74,0x68,0x65,0x6e])](()=>_0x300736);}async function _0xefff03(){await _0x510c2a,_0x1cfa38[_0x3fc37d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc37d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5671a8,_0x1cfa38[_0x3fc37d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc37d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5671a8,_0x1cfa38[_0x3fc37d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fc37d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a47e9(_0x161ce6){const _0x4b9ab9=_0x277b5c();_0x1cfa38[_0x4b9ab9]=_0x3fc37d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x161ce6,_0x161ce6!=_0x3fc37d([0x56,0x61,0x6c,0x69,0x64])&&_0xefff03();}function _0x277b5c(){const _0x96e5f8=window[_0x3fc37d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fc37d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fc37d([0x6e,0x6f,0x77])]())[_0x3fc37d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fc37d([0x2e]),'');let _0x326c11=_0x3fc37d([0x52]);for(let _0x218894=0x0;_0x218894<_0x96e5f8[_0x3fc37d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x218894+=0x2){let _0x2ff4bd=window[_0x3fc37d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x96e5f8[_0x3fc37d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x218894,_0x218894+0x2));_0x2ff4bd>=_0x142437[_0x3fc37d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ff4bd-=_0x142437[_0x3fc37d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x326c11+=_0x142437[_0x2ff4bd];}return _0x326c11;}function _0x5a0aa9(){const _0x181a96=_0x472da6[_0x3fc37d([0x73,0x70,0x6c,0x69,0x74])](_0x3fc37d([0x2e]));if(0x3!=_0x181a96[_0x3fc37d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c0c54(_0x181a96[0x1]);function _0x3c0c54(_0x17a614){const _0x48bdef=_0x277c9f(_0x17a614);return _0x48bdef&&_0x358af5()?_0x48bdef:null;function _0x358af5(){const _0x5e2db8=_0x48bdef[_0x3fc37d([0x6a,0x74,0x69])],_0x4f1583=window[_0x3fc37d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e2db8[_0x3fc37d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e2db8[_0x3fc37d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1434fb={..._0x48bdef,[_0x3fc37d([0x6a,0x74,0x69])]:_0x5e2db8[_0x3fc37d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e2db8[_0x3fc37d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1434fb[_0x3fc37d([0x76,0x63])],_0x5576e5(_0x1434fb)==_0x4f1583;}}}async function _0x3c7362(){let _0x2a54c1=!0x0;try{const _0x5f5278=_0x472da6[_0x3fc37d([0x73,0x70,0x6c,0x69,0x74])](_0x3fc37d([0x2e])),[_0x45fb5f,_0x662468,_0x396488]=_0x5f5278;return _0x8f8cf1(_0x45fb5f),await _0x5d2f3b(_0x45fb5f,_0x662468,_0x396488),_0x2a54c1;}catch(_0x5ac618){return!0x1;}function _0x8f8cf1(_0x494f30){const _0x5551a4=_0x277c9f(_0x494f30);_0x5551a4&&_0x5551a4[_0x3fc37d([0x61,0x6c,0x67])]==_0x3fc37d([0x45,0x53,0x32,0x35,0x36])||(_0x2a54c1=!0x1);}async function _0x5d2f3b(_0x23a5c4,_0x2e141f,_0x27408b){const _0x193ac6=window[_0x3fc37d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fc37d([0x66,0x72,0x6f,0x6d])](_0x61bbc7(_0x27408b),_0x51fc34=>_0x51fc34[_0x3fc37d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2afeac=new window[(_0x3fc37d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fc37d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23a5c4+_0x3fc37d([0x2e])+_0x2e141f),_0x46d6fd=window[_0x3fc37d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fc37d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x46d6fd)return;const _0x1f6c98=await _0x46d6fd[_0x3fc37d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fc37d([0x6a,0x77,0x6b]),_0x586ae1,{[_0x3fc37d([0x6e,0x61,0x6d,0x65])]:_0x3fc37d([0x45,0x43,0x44,0x53,0x41]),[_0x3fc37d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fc37d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fc37d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x46d6fd[_0x3fc37d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fc37d([0x6e,0x61,0x6d,0x65])]:_0x3fc37d([0x45,0x43,0x44,0x53,0x41]),[_0x3fc37d([0x68,0x61,0x73,0x68])]:{[_0x3fc37d([0x6e,0x61,0x6d,0x65])]:_0x3fc37d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f6c98,_0x193ac6,_0x2afeac)||(_0x2a54c1=!0x1);}}function _0x277c9f(_0x32e664){return _0x32e664[_0x3fc37d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fc37d([0x65,0x79]))?JSON[_0x3fc37d([0x70,0x61,0x72,0x73,0x65])](_0x61bbc7(_0x32e664)):null;}function _0x61bbc7(_0x56789c){return window[_0x3fc37d([0x61,0x74,0x6f,0x62])](_0x56789c[_0x3fc37d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fc37d([0x2b]))[_0x3fc37d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fc37d([0x2f])));}function _0x5576e5(_0x308484){let _0x48680e=0x1505;function _0x3d5610(_0x28bb2c){for(let _0x5c1422=0x0;_0x5c1422<_0x28bb2c[_0x3fc37d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c1422++){const _0x381764=_0x28bb2c[_0x3fc37d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c1422);_0x48680e=(_0x48680e<<0x5)+_0x48680e+_0x381764,_0x48680e&=_0x48680e;}}function _0x2dc110(_0x90d70e){Array[_0x3fc37d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x90d70e)?_0x90d70e[_0x3fc37d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dc110):_0x90d70e&&typeof _0x90d70e==_0x3fc37d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fc37d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x90d70e)[_0x3fc37d([0x73,0x6f,0x72,0x74])]()[_0x3fc37d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x249554,_0x2e1d46])=>{_0x3d5610(_0x249554),_0x2dc110(_0x2e1d46);}):_0x3d5610(window[_0x3fc37d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x90d70e));}return _0x2dc110(_0x308484),_0x48680e>>>0x0;}function _0x45625f(_0x464fcc){return _0x464fcc[_0x3fc37d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fc37d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fc37d([0x30]));}function _0x4d3b42(_0x379790){return _0x379790[_0x3fc37d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fc37d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fc37d([0x6a,0x6f,0x69,0x6e])]('');}function _0x5671a8(){}function _0x3fc37d(_0x5ced53){const _0x128dd3=_0x345e;return _0x5ced53[_0x128dd3(0x125)](_0x18d3f2=>String[_0x128dd3(0x15c)](_0x18d3f2))[_0x128dd3(0x16f)]('');}_0x5a47e9(await _0x545bef());}(this);}[_0x50b7ec(0x186)](){const _0x478f85=_0x50b7ec,_0xa24b00=this[_0x478f85(0x12a)][_0x478f85(0x140)];_0xa24b00[_0x478f85(0x126)](_0x347259=>{const _0x2a469f=_0x478f85,_0x8b43b2=_0xa24b00[_0x2a469f(0x16c)][_0x2a469f(0x15f)][_0x2a469f(0x161)]();let _0xcab587=0x0;for(const _0xe51864 of _0x8b43b2){const _0x537b17=f+':'+_0xcab587;if(_0xa24b00[_0x2a469f(0x144)][_0x2a469f(0x143)](_0x537b17))_0x347259[_0x2a469f(0x192)](_0x537b17,{'range':_0xe51864});else{if(_0xe51864[_0x2a469f(0x14e)][_0x2a469f(0x180)]){const _0x152beb=_0xe51864[_0x2a469f(0x14e)][_0x2a469f(0x159)](({item:_0x2b21c7})=>!_0xa24b00[_0x2a469f(0x18c)][_0x2a469f(0x15e)](_0x2b21c7),{'boundaries':_0xe51864});_0x347259[_0x2a469f(0x137)](_0x537b17,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x347259[_0x2a469f(0x17e)](_0x152beb,_0xe51864[_0x2a469f(0x173)])});}else _0x347259[_0x2a469f(0x137)](_0x537b17,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xe51864});}_0xcab587++;}});}[_0x50b7ec(0x16e)](){const _0x4460ce=_0x50b7ec,_0x28abd8=this[_0x4460ce(0x12a)][_0x4460ce(0x140)],_0x4f2884=Array[_0x4460ce(0x172)](this[_0x4460ce(0x12a)][_0x4460ce(0x140)][_0x4460ce(0x144)][_0x4460ce(0x13d)](f));_0x4f2884[_0x4460ce(0x14b)]&&_0x28abd8[_0x4460ce(0x126)](_0x577106=>{const _0x4e9dc6=_0x4460ce;_0x4f2884[_0x4e9dc6(0x175)](_0x6a2792=>{const _0x213e73=_0x4e9dc6;_0x577106[_0x213e73(0x14f)](_0x6a2792);});});}[_0x50b7ec(0x127)](_0xaa1680,_0x480e3d){const _0x1ad97b=_0x50b7ec,_0x442ed1=this[_0x1ad97b(0x133)](),_0x21af4d=_0x480e3d||_0x442ed1[_0x1ad97b(0x141)]();this[_0x1ad97b(0x12a)][_0x1ad97b(0x140)][_0x1ad97b(0x184)](_0x21af4d)&&this[_0x1ad97b(0x12a)][_0x1ad97b(0x140)][_0x1ad97b(0x126)](_0xad2d0b=>{const _0x792b3f=_0x1ad97b;this[_0x792b3f(0x16e)](),_0x480e3d||this[_0x792b3f(0x160)](_0xad2d0b,_0x442ed1),this[_0x792b3f(0x130)]({'insertAt':_0x21af4d,'writer':_0xad2d0b,'html':_0xaa1680});});}[_0x50b7ec(0x17b)](_0xbc9916){const _0x3d916c=_0x50b7ec,{model:_0x20a13d}=this[_0x3d916c(0x12a)],_0x1cee72=this[_0x3d916c(0x133)]();_0x20a13d[_0x3d916c(0x126)](()=>{const _0x10ff34=_0x3d916c,_0x407935=this[_0x10ff34(0x166)](_0xbc9916,_0x1cee72)||this[_0x10ff34(0x13a)](_0x1cee72);this[_0x10ff34(0x127)](_0xbc9916,_0x407935);});}[_0x50b7ec(0x133)](){const _0x5c5c36=_0x50b7ec,_0x4722b5=this[_0x5c5c36(0x12a)][_0x5c5c36(0x140)],_0x54c0ab=Array[_0x5c5c36(0x172)](_0x4722b5[_0x5c5c36(0x144)][_0x5c5c36(0x13d)](f))[_0x5c5c36(0x125)](_0x3c1496=>_0x3c1496[_0x5c5c36(0x12c)]());return _0x4722b5[_0x5c5c36(0x15b)](_0x54c0ab);}[_0x50b7ec(0x130)]({writer:_0x3d11a1,html:_0xe80c5d,insertAt:_0xe83856}){const _0x30bfee=_0x50b7ec,{view:_0x41c2e9}=this[_0x30bfee(0x12a)][_0x30bfee(0x17d)],_0x2a7c33=this[_0x30bfee(0x12a)][_0x30bfee(0x154)][_0x30bfee(0x18e)](_0x3eec20),_0x1424f1=new w();_0x1424f1[_0x30bfee(0x165)](_0x30bfee(0x17f),_0xe80c5d);const _0x16ae09=new ClipboardEvent(_0x30bfee(0x12e),{'clipboardData':_0x1424f1}),_0x106b22=new _0xc77419(_0x41c2e9,_0x16ae09,{'dataTransfer':new _0x49e6d8(_0x1424f1)});_0x3d11a1[_0x30bfee(0x16d)](_0xe83856);const _0x5517b7=(_0x1d0c5e,_0x1e39dc)=>{const _0xdcc455=_0x30bfee;_0x1e39dc[_0xdcc455(0x158)]&&_0x3d11a1[_0xdcc455(0x16d)](_0x1e39dc[_0xdcc455(0x158)]);};_0x2a7c33[_0x30bfee(0x163)](_0x30bfee(0x145),_0x5517b7,{'priority':_0x30bfee(0x155)}),_0x41c2e9[_0x30bfee(0x16c)][_0x30bfee(0x136)](_0x30bfee(0x12e),_0x106b22),_0x2a7c33[_0x30bfee(0x14d)](_0x30bfee(0x145),_0x5517b7);}[_0x50b7ec(0x13a)](_0x52172e){const _0x48d181=_0x50b7ec,{model:_0x57d1f5}=this[_0x48d181(0x12a)],_0x1658c2=Array[_0x48d181(0x172)](_0x52172e[_0x48d181(0x15a)]());return _0x1658c2[_0x48d181(0x14b)]?_0x57d1f5[_0x48d181(0x149)](_0x1658c2[_0x48d181(0x178)]()):_0x52172e[_0x48d181(0x16a)]();}[_0x50b7ec(0x166)](_0xe9a1d7,_0x226950){const _0x888b25=_0x50b7ec,{model:_0x1504d9,plugins:_0x479c48}=this[_0x888b25(0x12a)];if(_0x479c48[_0x888b25(0x143)](_0x888b25(0x129))){const _0x1b3d89=_0x479c48[_0x888b25(0x18e)](_0x888b25(0x129))[_0x888b25(0x18a)](_0x226950);if(_0x1b3d89[_0x888b25(0x14b)]){const _0x24c2f2=this[_0x888b25(0x131)](_0xe9a1d7),_0x889d8f=this[_0x888b25(0x16b)](_0x1b3d89,_0x24c2f2);return _0x1504d9[_0x888b25(0x170)](_0x889d8f,0x0);}}return null;}[_0x50b7ec(0x131)](_0x3b4398){const _0x2a7981=_0x50b7ec,_0x554b4c=this[_0x2a7981(0x12a)][_0x2a7981(0x154)][_0x2a7981(0x18e)](_0x2a7981(0x129)),_0x5ee082=this[_0x2a7981(0x12a)][_0x2a7981(0x191)][_0x2a7981(0x15d)](_0x3b4398),_0x3773c0=Array[_0x2a7981(0x172)](_0x5ee082[_0x2a7981(0x18b)]())[_0x2a7981(0x13f)](_0xb790f8=>_0xb790f8['is'](_0x2a7981(0x185),_0x2a7981(0x179)));let _0x3ebd9e=0x0;return _0x3773c0[_0x2a7981(0x175)](_0x5ba74c=>{const _0x2ac0bc=_0x2a7981;_0x3ebd9e+=_0x554b4c[_0x2ac0bc(0x13e)](_0x5ba74c);}),_0x3ebd9e;}[_0x50b7ec(0x16b)](_0x38b9ff,_0xdf4cae){const _0x2cd26b=_0x50b7ec,_0x55642b=this[_0x2cd26b(0x12a)][_0x2cd26b(0x154)][_0x2cd26b(0x18e)](_0x2cd26b(0x129)),_0x5e003b=_0x55642b[_0x2cd26b(0x174)](_0x38b9ff),_0x2c7b62=_0x55642b[_0x2cd26b(0x153)](_0x38b9ff),_0xbc12d6=_0x5e003b[_0x2cd26b(0x168)]+0x1,_0xb00df4=_0x2c7b62[_0x2cd26b(0x189)],_0x161dfd=_0x38b9ff[0x0][_0x2cd26b(0x164)](_0x2cd26b(0x179));for(let _0xb881bc=0x0;_0xb881bc<_0xdf4cae;_0xb881bc++)_0x55642b[_0x2cd26b(0x139)](_0x161dfd,{'at':_0xbc12d6});return _0x161dfd[_0x2cd26b(0x135)](_0xbc12d6)[_0x2cd26b(0x135)](_0xb00df4);}[_0x50b7ec(0x160)](_0x5ac029,_0x2f202f){const _0x543ec0=_0x50b7ec,{plugins:_0x3ab7b4}=this[_0x543ec0(0x12a)],{model:_0x1f8812}=_0x5ac029;if(!_0x3ab7b4[_0x543ec0(0x143)](_0x543ec0(0x129)))return;_0x3ab7b4[_0x543ec0(0x18e)](_0x543ec0(0x129))[_0x543ec0(0x18a)](_0x2f202f)[_0x543ec0(0x14b)]&&_0x1f8812[_0x543ec0(0x181)](_0x2f202f);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x14925e=_0x2767;(function(_0x236dc0,_0x1bd069){const _0x73f6d4=_0x2767,_0x2b8c5e=_0x236dc0();while(!![]){try{const _0x2c6d54=parseInt(_0x73f6d4(0x278))/0x1+-parseInt(_0x73f6d4(0x22b))/0x2*(parseInt(_0x73f6d4(0x271))/0x3)+parseInt(_0x73f6d4(0x27b))/0x4+-parseInt(_0x73f6d4(0x23b))/0x5*(-parseInt(_0x73f6d4(0x1f5))/0x6)+parseInt(_0x73f6d4(0x219))/0x7*(-parseInt(_0x73f6d4(0x279))/0x8)+-parseInt(_0x73f6d4(0x26a))/0x9+-parseInt(_0x73f6d4(0x231))/0xa*(-parseInt(_0x73f6d4(0x226))/0xb);if(_0x2c6d54===_0x1bd069)break;else _0x2b8c5e['push'](_0x2b8c5e['shift']());}catch(_0x17baf2){_0x2b8c5e['push'](_0x2b8c5e['shift']());}}}(_0x31d6,0x9e595));import{Plugin as _0x24ca40}from'ckeditor5/src/core.js';import{IconMagicWand as _0x274bea,IconRobotPencil as _0x44bd63}from'ckeditor5/src/icons.js';import{first as _0x7932e8,CKEditorError as _0x15c81f}from'ckeditor5/src/utils.js';import{createDropdown as _0x5b2225,addMenuToDropdown as _0x169f76,ButtonView as _0x31130c,MenuBarMenuListItemButtonView as _0x504b8c,Dialog as _0x52f79c,DialogViewPosition as _0x5043a3,MenuBarMenuView as _0x4ee503,MenuBarMenuListView as _0x59d6d6,MenuBarMenuListItemView as _0x2f2663}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x23d322,UNGROUPED_COMMANDS_GROUP_ID as _0x2d4a1a}from'./utils/normalizecommandsconfig.js';import _0xc27f3d from'./aiassistantediting.js';import _0x57fb87 from'./adapters/aiadapter.js';function _0x31d6(){const _0x5f27f8=['menuBar:aiAssistant','promptView','fire','aiLicenseKeyUsageLimit','change:enabledCommandsIds','11EAyEqm','_getResolvedCommandsDefinitions','editor','menuPanelClass','getLimitElement','20DHvcDl','requires','DataTransfer','update','copy','isOn','3094690wCBRCt','showFakeVisualSelection','aiLicenseKeyExpired','model','custom','AI\x20Assistant','isEnabled','menuBar:aiCommands','AIAssistant','wasMoved','75EiTbXj','usageLimit','ai.aiAssistant.contentAreaCssClass','filter','view','from','polite','hide','map','REPLACE','featureNotAllowed','ai-commands-config-order-collision','AI\x20is\x20writing','delegate','selection','componentFactory','aiLicenseKeyEvaluationLimit','currentContext','insertContentBelow','aiAssistant','schema','Generated\x20content:\x20%0','ck-ai-assistant-button\x20','aiLicenseKeyValid','execute','groupLabel','splice','prompt','aiCommands','groupId','_createAIAssistantUIButton','addMany','ai.aiAssistant.commands','plugins','isCollapsed','evaluationLimit','comment','updateView','showUI','init','rawHtml','commands','text/html','getData','_getMenuBarGroupButtons','AIAssistantUI','add','6922548pnftLF','hideFakeVisualSelection','_initView','ck-ai-commands-dropdown\x20','isPremiumPlugin','invalid','pluginName','321180yikxYg','isFlat','AI\x20Commands','change','hideUI','show','document','778066HAqglD','5483992RROEfO','items','4593292kpRaxL','aiLicenseKeyDomainLimit','label','fieldView','<p>','focus','destroy','getSelectedBlocks','ai.useTheme','_onExecute','INSERT','expired','errorView','getRanges','_aiAssistantController','config','listenTo','change:isError','define','ck-ai-assistant-ui','aiLicenseKeyInvalid','sort','change:isProcessing','menuView','announce','text','_uiCssClasses','</p>','once','render','push','tableOfContents','queryView','_commandDefinitions','insertContent','menuitemcheckbox','_forceMarkersCopy','set','_populateMenuBarMenu','requiresContent','length','trialLimit','trim','375204reGLTf','bind','forEach','textAdapter','domainLimit','get','children','includes','enabledCommandsIds','EDITOR_TOP_SIDE','change:value','locale','setSelection','contentArea','ai.aiAssistant.disabledElements','buttonView','command:','getSelectedElement','order','values','isOfficialPlugin','aiLicenseKeyTrialLimit','\x20ck-ai-assistant-ui_theme','licenseKey','_licenseKeyCheckInterval','_initAriaAiStatusChangeAnnouncements','panelView','replaceContent','media','replace','_formView','Error\x20during\x20AI\x20content\x20generation:\x20%0','editing','reset','_showLicenseError','source','7kDQHep','body','updatePosition','_dialog','showAIAssistant','buttons','aiLicenseKeyNotAllowed','_aiAdapter'];_0x31d6=function(){return _0x5f27f8;};return _0x31d6();}import{getTranslation as _0x172252}from'./utils/common-translations.js';import _0x23673d from'./ui/showaiassistantcommand.js';import _0xba2b01 from'./ui/aiassistantcontroller.js';import _0x3b2fed from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x14b6e9}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x14925e(0x22d)];import{ClipboardMarkersUtils as _0x4b0feb}from'ckeditor5/src/clipboard.js';function _0x2767(_0x575233,_0x2ed320){const _0x31d64a=_0x31d6();return _0x2767=function(_0x276745,_0x409064){_0x276745=_0x276745-0x1d9;let _0x4740d1=_0x31d64a[_0x276745];return _0x4740d1;},_0x2767(_0x575233,_0x2ed320);}import{DomEventData as _0x41601b,DataTransfer as _0x2073bc}from'ckeditor5/src/engine.js';export default class n extends _0x24ca40{[_0x14925e(0x20c)];[_0x14925e(0x20d)];[_0x14925e(0x21c)];[_0x14925e(0x213)];[_0x14925e(0x220)];[_0x14925e(0x289)];[_0x14925e(0x1e4)]='';static get[_0x14925e(0x270)](){const _0x49bdab=_0x14925e;return _0x49bdab(0x268);}static get[_0x14925e(0x209)](){return!0x0;}static get[_0x14925e(0x26e)](){return!0x0;}static get[_0x14925e(0x22c)](){return[_0x4b0feb,_0xc27f3d,_0x57fb87,_0x52f79c];}constructor(_0x273779){const _0x1afe59=_0x14925e;super(_0x273779),_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1dc)](_0x1afe59(0x203),[_0x1afe59(0x211),_0x1afe59(0x263),_0x1afe59(0x1e9)]),_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1dc)](_0x1afe59(0x23d),''),_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1dc)](_0x1afe59(0x283),!0x0),this[_0x1afe59(0x1e4)]=_0x1afe59(0x1dd)+(_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1fa)](_0x1afe59(0x283))?_0x1afe59(0x20b):'');}[_0x14925e(0x262)](){const _0x124e06=_0x14925e,{editor:_0x45a2b2}=this;this[_0x124e06(0x220)]=_0x45a2b2[_0x124e06(0x25c)][_0x124e06(0x1fa)](_0x57fb87),this[_0x124e06(0x21c)]=_0x45a2b2[_0x124e06(0x25c)][_0x124e06(0x1fa)](_0x52f79c),this[_0x124e06(0x213)]=null,this[_0x124e06(0x1eb)]=this[_0x124e06(0x227)]();const _0xcf7f89=new _0x23673d(_0x45a2b2,Array[_0x124e06(0x240)](this[_0x124e06(0x1eb)][_0x124e06(0x208)]()));_0x45a2b2[_0x124e06(0x264)][_0x124e06(0x269)](_0x124e06(0x21d),_0xcf7f89),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x257),_0xbcf0f2=>{const _0x206cbd=_0x124e06,_0x2603a1=_0x5b2225(_0xbcf0f2);return _0x2603a1[_0x206cbd(0x1ef)]({'class':_0x206cbd(0x26d)+this[_0x206cbd(0x1e4)]}),_0x2603a1[_0x206cbd(0x204)][_0x206cbd(0x1ef)]({'label':_0x172252(_0xbcf0f2,_0x206cbd(0x273)),'icon':_0x274bea,'tooltip':!0x0}),_0x2603a1['on'](_0x206cbd(0x253),_0x1bb22d=>this[_0x206cbd(0x284)](_0x1bb22d[_0x206cbd(0x218)]['id'])),_0x169f76(_0x2603a1,_0x45a2b2['ui'][_0x206cbd(0x23f)][_0x206cbd(0x21a)],function(_0x3e2474){const _0xfa585=_0x206cbd,_0x32cdc6=_0x23d322(_0x3e2474[_0xfa585(0x1d9)][_0xfa585(0x1fa)](_0xfa585(0x25b)),_0x3e2474[_0xfa585(0x200)]),_0x12eeaf=U(_0x3e2474,_0x32cdc6)[_0xfa585(0x23e)](_0x4035d6=>_0x4035d6[_0xfa585(0x264)][_0xfa585(0x1f2)]);if(0x1===_0x12eeaf[_0xfa585(0x1f2)])return U(_0x3e2474,_0x12eeaf[0x0][_0xfa585(0x264)])[_0xfa585(0x243)](_0x301009=>({'id':_0x301009['id'],'label':_0x301009[_0xfa585(0x27d)]}));return _0x12eeaf[_0xfa585(0x243)](_0x4225f5=>{const _0x2acb7a=_0xfa585,{groupId:_0x41fb22,groupLabel:_0x38c689,commands:_0x13870c}=_0x4225f5,_0x32eedb=U(_0x3e2474,_0x13870c)[_0x2acb7a(0x243)](_0x49dc04=>({'id':_0x49dc04['id'],'label':_0x49dc04[_0x2acb7a(0x27d)]}));return{'id':_0x41fb22,'menu':_0x38c689||_0x41fb22,'children':_0x32eedb};});}(_0x45a2b2),{'ariaLabel':_0x172252(_0xbcf0f2,_0x206cbd(0x273))}),_0x2603a1[_0x206cbd(0x1e1)][_0x206cbd(0x229)]=_0x206cbd(0x26d)+this[_0x206cbd(0x1e4)],_0xcf7f89['on'](_0x206cbd(0x225),_0x8526ed),_0x2603a1[_0x206cbd(0x1e1)][_0x206cbd(0x1e6)](_0x206cbd(0x1e7),_0x8526ed),_0x2603a1;function _0x8526ed(){const _0x3ad845=_0x206cbd;_0x2603a1[_0x3ad845(0x237)]=_0xcf7f89[_0x3ad845(0x1fd)][_0x3ad845(0x1f2)]>0x0;for(const _0x5544b3 of _0x2603a1[_0x3ad845(0x1e1)][_0x3ad845(0x21e)])_0x5544b3[_0x3ad845(0x237)]=_0xcf7f89[_0x3ad845(0x1fd)][_0x3ad845(0x1fc)](_0x5544b3['id']);}}),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x238),_0x1826fb=>{const _0x3e478b=_0x124e06,_0x23f90c=new _0x4ee503(_0x1826fb);_0x23f90c[_0x3e478b(0x204)][_0x3e478b(0x1ef)]({'label':_0x172252(_0x1826fb,_0x3e478b(0x273)),'icon':_0x274bea}),_0x23f90c[_0x3e478b(0x1f6)](_0x3e478b(0x237))['to'](_0xcf7f89,_0x3e478b(0x1fd),_0x1e225b=>_0x1e225b[_0x3e478b(0x1f2)]>0x0);const _0x2c26b6=_0x23d322(_0x45a2b2[_0x3e478b(0x1d9)][_0x3e478b(0x1fa)](_0x3e478b(0x25b)),_0x1826fb);return this[_0x3e478b(0x1f0)](_0xcf7f89,_0x23f90c,_0x2c26b6,_0x38ef25=>this[_0x3e478b(0x284)](_0x38ef25)),_0x23f90c;}),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x24e),()=>{const _0x53310b=_0x124e06,_0x28c3dc=this[_0x53310b(0x259)](_0x31130c);return _0x28c3dc[_0x53310b(0x1ef)]({'tooltip':!0x0,'class':_0x53310b(0x251)+this[_0x53310b(0x1e4)]}),_0x28c3dc;}),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x221),()=>{const _0x3592e3=_0x124e06,_0x41d40a=this[_0x3592e3(0x259)](_0x504b8c);return _0x41d40a[_0x3592e3(0x1ef)]({'role':_0x3592e3(0x1ed)}),_0x41d40a;}),this[_0x124e06(0x20c)]=this[_0x124e06(0x228)][_0x124e06(0x1d9)][_0x124e06(0x1fa)](_0x124e06(0x20c));const _0x3a4908=this[_0x124e06(0x228)];this[_0x124e06(0x20d)]=setInterval(()=>{const _0x5a099d=_0x124e06;let _0x2d2d02;for(const _0x38aa04 in _0x3a4908){const _0x163b7e=_0x38aa04,_0x3c69f8=_0x3a4908[_0x163b7e];if(_0x5a099d(0x252)==_0x3c69f8||_0x5a099d(0x1de)==_0x3c69f8||_0x5a099d(0x233)==_0x3c69f8||_0x5a099d(0x27c)==_0x3c69f8||_0x5a099d(0x21f)==_0x3c69f8||_0x5a099d(0x24b)==_0x3c69f8||_0x5a099d(0x20a)==_0x3c69f8||_0x5a099d(0x224)==_0x3c69f8){delete _0x3a4908[_0x163b7e],_0x2d2d02=_0x3c69f8,clearInterval(this[_0x5a099d(0x20d)]),this[_0x5a099d(0x20d)]=void 0x0;break;}}_0x5a099d(0x1de)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x26f)),_0x5a099d(0x233)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x286)),_0x5a099d(0x27c)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x1f9)),_0x5a099d(0x21f)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x245),_0x5a099d(0x239)),_0x5a099d(0x24b)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x25e)),_0x5a099d(0x20a)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x1f3)),_0x5a099d(0x224)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x23c));},0x3e8);}[_0x14925e(0x281)](){const _0x8a09f=_0x14925e;super[_0x8a09f(0x281)](),this[_0x8a09f(0x20d)]&&clearInterval(this[_0x8a09f(0x20d)]);}[_0x14925e(0x261)](_0x40a2be='',_0x61aa72='',_0x50aa9a=_0x14925e(0x235)){const _0x4030b3=_0x14925e,_0x342bea=this[_0x4030b3(0x228)],_0x51c4b7=_0x342bea[_0x4030b3(0x215)][_0x4030b3(0x23f)],_0x34b5a1=_0x342bea[_0x4030b3(0x25c)][_0x4030b3(0x1fa)](_0xc27f3d),_0x2d1935=_0x342bea[_0x4030b3(0x25c)][_0x4030b3(0x1fa)](_0x4b0feb);_0x34b5a1[_0x4030b3(0x232)]();const _0x55afcc=new w(),_0x36c575=new ClipboardEvent(_0x4030b3(0x22f),{'clipboardData':_0x55afcc}),_0x24e246=new _0x2073bc(_0x55afcc),_0x300b1a=new _0x41601b(_0x51c4b7,_0x36c575,{'dataTransfer':_0x24e246});_0x2d1935[_0x4030b3(0x1ee)](_0x4030b3(0x25f),()=>{const _0x594b3c=_0x4030b3;_0x51c4b7[_0x594b3c(0x277)][_0x594b3c(0x223)](_0x594b3c(0x22f),_0x300b1a);}),this[_0x4030b3(0x213)]||(this[_0x4030b3(0x26c)](),this[_0x4030b3(0x289)]=new _0xba2b01(_0x342bea,this[_0x4030b3(0x220)][_0x4030b3(0x1f8)],this[_0x4030b3(0x213)]));let _0x111df1=_0x24e246[_0x4030b3(0x266)](_0x4030b3(0x265));const _0x1eb3f7=_0x342bea[_0x4030b3(0x234)][_0x4030b3(0x277)][_0x4030b3(0x249)],_0x13aed9=Array[_0x4030b3(0x240)](_0x1eb3f7[_0x4030b3(0x288)]());0x1===_0x13aed9[_0x4030b3(0x1f2)]&&_0x13aed9[0x0][_0x4030b3(0x272)]&&!_0x1eb3f7[_0x4030b3(0x206)]()&&''!==_0x111df1[_0x4030b3(0x212)](/ /g,'')[_0x4030b3(0x1f4)]()&&(_0x111df1=_0x4030b3(0x27f)+_0x111df1+_0x4030b3(0x1e5)),this[_0x4030b3(0x289)][_0x4030b3(0x260)]({'actionId':_0x50aa9a,'query':_0x40a2be,'htmlContent':_0x111df1,'label':_0x61aa72,'mainActionLabel':_0x14b6e9[_0x342bea[_0x4030b3(0x234)][_0x4030b3(0x277)][_0x4030b3(0x249)][_0x4030b3(0x25d)]?_0x4030b3(0x285):_0x4030b3(0x244)]}),_0x4030b3(0x24e)!==this[_0x4030b3(0x21c)]['id']?this[_0x4030b3(0x21c)][_0x4030b3(0x276)]({'id':_0x4030b3(0x24e),'icon':_0x44bd63,'title':_0x172252(this[_0x4030b3(0x228)][_0x4030b3(0x200)],_0x4030b3(0x236)),'content':this[_0x4030b3(0x213)],'position':_0x5043a3[_0x4030b3(0x1fe)],'onShow':()=>{const _0x416f2c=_0x4030b3;this[_0x416f2c(0x213)][_0x416f2c(0x280)]();},'onHide':()=>{const _0x4d96a9=_0x4030b3;this[_0x4d96a9(0x289)][_0x4d96a9(0x216)](),_0x34b5a1[_0x4d96a9(0x26b)]();}}):this[_0x4030b3(0x21c)][_0x4030b3(0x23f)][_0x4030b3(0x23a)]||this[_0x4030b3(0x21c)][_0x4030b3(0x23f)][_0x4030b3(0x21b)]();}[_0x14925e(0x275)](){const _0x324f55=_0x14925e;this[_0x324f55(0x21c)][_0x324f55(0x242)]();}[_0x14925e(0x227)](){const _0x142f32=_0x14925e,_0x347ce2=new Map(),_0x5e145c=_0x23d322(this[_0x142f32(0x228)][_0x142f32(0x1d9)][_0x142f32(0x1fa)](_0x142f32(0x25b)),this[_0x142f32(0x228)][_0x142f32(0x200)]);for(const _0x3bda27 of _0x5e145c)for(const _0x1f7d05 of _0x3bda27[_0x142f32(0x264)])_0x347ce2[_0x142f32(0x1ef)](_0x1f7d05['id'],{..._0x1f7d05,'groupId':_0x3bda27[_0x142f32(0x258)],'groupLabel':_0x3bda27[_0x142f32(0x254)]||_0x3bda27[_0x142f32(0x258)]});return _0x347ce2;}[_0x14925e(0x259)](_0x425b1e){const _0x3e2f1d=_0x14925e,_0x1e48ef=this[_0x3e2f1d(0x228)],_0x58e47b=_0x1e48ef[_0x3e2f1d(0x264)][_0x3e2f1d(0x1fa)](_0x3e2f1d(0x21d)),_0x37af68=new _0x425b1e(_0x1e48ef[_0x3e2f1d(0x200)]);return _0x37af68[_0x3e2f1d(0x1ef)]({'label':_0x172252(_0x1e48ef[_0x3e2f1d(0x200)],_0x3e2f1d(0x236)),'icon':_0x44bd63,'isToggleable':!0x0}),_0x37af68[_0x3e2f1d(0x1f6)](_0x3e2f1d(0x237))['to'](_0x58e47b),_0x37af68[_0x3e2f1d(0x1f6)](_0x3e2f1d(0x230))['to'](this[_0x3e2f1d(0x21c)],'id',_0x37b4ac=>_0x3e2f1d(0x24e)===_0x37b4ac),this[_0x3e2f1d(0x1da)](_0x37af68,_0x3e2f1d(0x253),()=>{const _0x4fff14=_0x3e2f1d;_0x37af68[_0x4fff14(0x230)]?this[_0x4fff14(0x275)]():_0x58e47b[_0x4fff14(0x253)]();}),_0x37af68;}[_0x14925e(0x26c)](){const _0x618850=_0x14925e,_0x36aa85=this[_0x618850(0x228)][_0x618850(0x25c)][_0x618850(0x1fa)](_0xc27f3d);this[_0x618850(0x213)]=new _0x3b2fed(this[_0x618850(0x228)][_0x618850(0x200)],this[_0x618850(0x1e4)],this[_0x618850(0x228)][_0x618850(0x1d9)][_0x618850(0x1fa)](_0x618850(0x23d))),this[_0x618850(0x213)]['on'](_0x618850(0x1ff),()=>{const _0x37ac40=_0x618850;this[_0x37ac40(0x21c)][_0x37ac40(0x23f)][_0x37ac40(0x23a)]||this[_0x37ac40(0x21c)][_0x37ac40(0x23f)][_0x37ac40(0x21b)]();}),this[_0x618850(0x213)][_0x618850(0x222)][_0x618850(0x1ea)][_0x618850(0x27e)]['on'](_0x618850(0x22e),()=>{const _0x250602=_0x618850;this[_0x250602(0x21c)][_0x250602(0x23f)][_0x250602(0x23a)]||this[_0x250602(0x21c)][_0x250602(0x23f)][_0x250602(0x21b)]();}),this[_0x618850(0x1da)](this[_0x618850(0x213)],_0x618850(0x210),()=>{const _0x1f97e1=_0x618850;_0x36aa85[_0x1f97e1(0x1ec)](this[_0x1f97e1(0x289)][_0x1f97e1(0x24c)]),this[_0x1f97e1(0x275)]();}),this[_0x618850(0x1da)](this[_0x618850(0x213)],_0x618850(0x24d),()=>{const _0x22150f=_0x618850;_0x36aa85[_0x22150f(0x24d)](this[_0x22150f(0x289)][_0x22150f(0x24c)]),this[_0x22150f(0x275)]();}),this[_0x618850(0x20e)]();}[_0x14925e(0x20e)](){const _0x13e187=_0x14925e,{locale:_0x3a2c93,ui:{ariaLiveAnnouncer:_0x2d9cc}}=this[_0x13e187(0x228)];this[_0x13e187(0x213)][_0x13e187(0x202)]['on'](_0x13e187(0x1e0),(_0x244afa,_0x2d2db5,_0x1d7548)=>{const _0x460b75=_0x13e187,_0x2a83bb=this[_0x460b75(0x289)][_0x460b75(0x24c)];_0x1d7548?_0x2d9cc[_0x460b75(0x1e2)](_0x172252(_0x3a2c93,_0x460b75(0x247))):_0x2a83bb&&_0x2d9cc[_0x460b75(0x1e2)](_0x172252(_0x3a2c93,_0x460b75(0x250),_0x2a83bb),{'politeness':_0x460b75(0x241),'isUnsafeHTML':!0x0});}),this[_0x13e187(0x213)]['on'](_0x13e187(0x1db),(_0xe9a6b1,_0x4ffa5f,_0x1256f6)=>{const _0x1c72ef=_0x13e187;if(_0x1256f6){const _0x467a31=this[_0x1c72ef(0x213)][_0x1c72ef(0x287)][_0x1c72ef(0x1e3)];_0x2d9cc[_0x1c72ef(0x1e2)](_0x172252(_0x3a2c93,_0x1c72ef(0x214),_0x467a31));}});}[_0x14925e(0x284)](_0x52d200){const _0x224805=_0x14925e,_0x5eeeb6=this[_0x224805(0x1eb)][_0x224805(0x1fa)](_0x52d200),_0x32e20d=this[_0x224805(0x228)],_0x279b1c=_0x32e20d[_0x224805(0x234)][_0x224805(0x277)][_0x224805(0x249)],_0x222efa=_0x32e20d[_0x224805(0x264)][_0x224805(0x1fa)](_0x224805(0x21d)),_0xedd732=_0x32e20d[_0x224805(0x25c)][_0x224805(0x1fa)](_0xc27f3d),_0x2ede98=''+(_0x5eeeb6[_0x224805(0x258)]!==_0x2d4a1a?_0x5eeeb6[_0x224805(0x254)]+':\x20':'')+_0x5eeeb6[_0x224805(0x27d)];if(!0x1!==_0x5eeeb6[_0x224805(0x1f1)]&&_0x279b1c[_0x224805(0x25d)]){const _0x2f6e0e=_0x7932e8(_0x279b1c[_0x224805(0x282)]())||_0x32e20d[_0x224805(0x234)][_0x224805(0x24f)][_0x224805(0x22a)](_0x279b1c);_0x32e20d[_0x224805(0x234)][_0x224805(0x274)](_0x4b87a7=>{const _0x2261df=_0x224805;_0x4b87a7[_0x2261df(0x201)](_0x2f6e0e,'in');});}_0xedd732[_0x224805(0x232)](),_0x222efa[_0x224805(0x253)](_0x5eeeb6[_0x224805(0x256)],_0x2ede98,_0x224805(0x205)+_0x52d200);}[_0x14925e(0x1f0)](_0x47c4f2,_0x55f86c,_0x373cd0,_0x121b93){const _0x3df99f=_0x14925e,_0x54c4e5=this[_0x3df99f(0x228)],_0x47a5ac=_0x54c4e5[_0x3df99f(0x200)],_0x3a82fe=new _0x59d6d6(_0x47a5ac),_0x402e36=U(_0x54c4e5,_0x373cd0)[_0x3df99f(0x23e)](_0x3560e5=>_0x3560e5[_0x3df99f(0x264)][_0x3df99f(0x1f2)]);0x1===_0x402e36[_0x3df99f(0x1f2)]?this[_0x3df99f(0x267)]({'command':_0x47c4f2,'commands':_0x402e36[0x0][_0x3df99f(0x264)],'parentMenuView':_0x55f86c,'onExecute':_0x121b93})[_0x3df99f(0x1f7)](_0x4f047e=>_0x3a82fe[_0x3df99f(0x27a)][_0x3df99f(0x269)](_0x4f047e)):_0x402e36[_0x3df99f(0x1f7)](({groupId:_0x21acb0,groupLabel:_0x4108cb,commands:_0x16923b})=>{const _0x439db1=_0x3df99f,_0x34305a=new _0x2f2663(_0x47a5ac,_0x55f86c),_0x1cef85=new _0x4ee503(_0x47a5ac),_0xc3d167=new _0x59d6d6(_0x47a5ac),_0x1a05e8=this[_0x439db1(0x267)]({'command':_0x47c4f2,'commands':_0x16923b,'parentMenuView':_0x1cef85,'onExecute':_0x121b93});_0x1cef85[_0x439db1(0x204)][_0x439db1(0x1ef)]({'label':_0x4108cb||_0x21acb0}),_0x1cef85[_0x439db1(0x248)](_0x439db1(0x253))['to'](_0x55f86c),_0xc3d167[_0x439db1(0x27a)][_0x439db1(0x25a)](_0x1a05e8),_0x1cef85[_0x439db1(0x20f)][_0x439db1(0x1fb)][_0x439db1(0x269)](_0xc3d167),_0x34305a[_0x439db1(0x1fb)][_0x439db1(0x269)](_0x1cef85),_0x3a82fe[_0x439db1(0x27a)][_0x439db1(0x269)](_0x34305a);}),_0x55f86c[_0x3df99f(0x20f)][_0x3df99f(0x1fb)][_0x3df99f(0x269)](_0x3a82fe);}[_0x14925e(0x267)]({command:_0x535daf,commands:_0xa49274,parentMenuView:_0xd211ec,onExecute:_0x5d4b3a}){const _0x48565d=_0x14925e,_0x234036=this[_0x48565d(0x228)],_0x170ff4=_0x234036[_0x48565d(0x200)];return U(_0x234036,_0xa49274)[_0x48565d(0x243)](_0x63f53c=>{const _0x10fb14=_0x48565d,_0x27d3d5=new _0x2f2663(_0x170ff4,_0xd211ec),_0x2040e7=new _0x504b8c(_0x170ff4);return _0x2040e7[_0x10fb14(0x1ef)]({'label':_0x63f53c[_0x10fb14(0x27d)]}),_0x2040e7[_0x10fb14(0x248)](_0x10fb14(0x253))['to'](_0xd211ec),_0x2040e7['on'](_0x10fb14(0x253),()=>_0x5d4b3a(_0x63f53c['id'])),_0x2040e7[_0x10fb14(0x1f6)](_0x10fb14(0x237))['to'](_0x535daf,_0x10fb14(0x1fd),_0x86169f=>_0x86169f[_0x10fb14(0x1fc)](_0x63f53c['id'])),_0x27d3d5[_0x10fb14(0x1fb)][_0x10fb14(0x269)](_0x2040e7),_0x27d3d5;});}}function B(_0x3eb14d,_0x5e6edc){const _0x4f4bf2=_0x14925e;return void 0x0!==_0x3eb14d[_0x4f4bf2(0x207)]&&void 0x0===_0x5e6edc[_0x4f4bf2(0x207)]?0x1:void 0x0===_0x3eb14d[_0x4f4bf2(0x207)]&&void 0x0!==_0x5e6edc[_0x4f4bf2(0x207)]?-0x1:void 0x0!==_0x3eb14d[_0x4f4bf2(0x207)]&&void 0x0!==_0x5e6edc[_0x4f4bf2(0x207)]?_0x3eb14d[_0x4f4bf2(0x207)]-_0x5e6edc[_0x4f4bf2(0x207)]:0x0;}function U(_0x484f77,_0x3b2d57){const _0x5ba154=_0x14925e;_0x3b2d57[_0x5ba154(0x1df)](B);const _0x4d3819={},_0x226c35=[];for(const _0x122224 of _0x3b2d57)if(void 0x0!==_0x122224[_0x5ba154(0x207)]){if(_0x122224[_0x5ba154(0x207)]in _0x4d3819)throw new _0x15c81f(_0x5ba154(0x246),_0x484f77,{'conflictingDefinitions':[_0x122224,_0x4d3819[_0x122224[_0x5ba154(0x207)]]]});_0x4d3819[_0x122224[_0x5ba154(0x207)]]=_0x122224,_0x226c35[_0x5ba154(0x255)](_0x122224[_0x5ba154(0x207)],0x0,_0x122224);}else _0x226c35[_0x5ba154(0x1e8)](_0x122224);return _0x226c35;}
|
|
23
|
+
const _0x2f55dd=_0x7f44;(function(_0x2db9b1,_0x6b10a3){const _0x731e5d=_0x7f44,_0x2ba0d8=_0x2db9b1();while(!![]){try{const _0x408852=-parseInt(_0x731e5d(0x1e2))/0x1+-parseInt(_0x731e5d(0x1f4))/0x2*(-parseInt(_0x731e5d(0x21e))/0x3)+parseInt(_0x731e5d(0x20f))/0x4*(-parseInt(_0x731e5d(0x1fa))/0x5)+parseInt(_0x731e5d(0x18e))/0x6+parseInt(_0x731e5d(0x1b8))/0x7*(parseInt(_0x731e5d(0x1d9))/0x8)+-parseInt(_0x731e5d(0x23c))/0x9+parseInt(_0x731e5d(0x1bc))/0xa*(-parseInt(_0x731e5d(0x225))/0xb);if(_0x408852===_0x6b10a3)break;else _0x2ba0d8['push'](_0x2ba0d8['shift']());}catch(_0x58c9a1){_0x2ba0d8['push'](_0x2ba0d8['shift']());}}}(_0x5d2c,0x7133a));import{Plugin as _0x202b35}from'ckeditor5/src/core.js';import{IconMagicWand as _0x26a324,IconRobotPencil as _0x3b87d6}from'ckeditor5/src/icons.js';function _0x7f44(_0x2f820f,_0x455a10){const _0x5d2c90=_0x5d2c();return _0x7f44=function(_0x7f44d3,_0x402362){_0x7f44d3=_0x7f44d3-0x18d;let _0x505a1b=_0x5d2c90[_0x7f44d3];return _0x505a1b;},_0x7f44(_0x2f820f,_0x455a10);}import{first as _0x5cb83d,CKEditorError as _0x1f6a50}from'ckeditor5/src/utils.js';import{createDropdown as _0x310d16,addMenuToDropdown as _0x52bcb4,ButtonView as _0x5026b5,MenuBarMenuListItemButtonView as _0x3389fa,Dialog as _0xb3a82f,DialogViewPosition as _0x3be2b6,MenuBarMenuView as _0x185e15,MenuBarMenuListView as _0xe1eb07,MenuBarMenuListItemView as _0x33843b}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x56db0a,UNGROUPED_COMMANDS_GROUP_ID as _0x3b61e5}from'./utils/normalizecommandsconfig.js';import _0x46bc81 from'./aiassistantediting.js';import _0x43859d from'./adapters/aiadapter.js';import{getTranslation as _0x29777d}from'./utils/common-translations.js';import _0x1306c8 from'./ui/showaiassistantcommand.js';import _0x45e93 from'./ui/aiassistantcontroller.js';function _0x5d2c(){const _0x4b10eb=['define','ck-ai-assistant-ui','buttons','media','includes','commands','trialLimit','\x20ck-ai-assistant-ui_theme','textAdapter','ai.aiAssistant.disabledElements','menuBar:aiCommands','_aiAdapter','menuitemcheckbox','prompt','_showLicenseError','getRanges','requires','Generated\x20content:\x20%0','selection','bind','_createAIAssistantUIButton','aiLicenseKeyNotAllowed','insertContentBelow','change:enabledCommandsIds','editor','componentFactory','command:','_formView','get','children','update','aiLicenseKeyInvalid','custom','tableOfContents','polite','_initAriaAiStatusChangeAnnouncements','queryView','134281llRvUm','getLimitElement','showAIAssistant','fieldView','10HtWOFu','destroy','ck-ai-commands-dropdown\x20','DataTransfer','forEach','aiLicenseKeyUsageLimit','fire','setSelection','_getResolvedCommandsDefinitions','reset','_forceMarkersCopy','set','AIAssistantUI','groupId','_uiCssClasses','showUI','wasMoved','errorView','add','aiLicenseKeyExpired','values','featureNotAllowed','change:isError','_dialog','comment','change','isEnabled','isOfficialPlugin','licenseKey','376pEaAyM','view','invalid','render','sort','document','ai.aiAssistant.contentAreaCssClass','EDITOR_TOP_SIDE','addMany','448620TkuawI','once','expired','change:value','execute','hideUI','AI\x20Commands','announce','getData','aiCommands','rawHtml','focus','splice','_initView','getSelectedBlocks','config','INSERT','currentContext','7646nUlyzP','showFakeVisualSelection','REPLACE','evaluationLimit','copy','isPremiumPlugin','1186995RFXiXJ','locale','ai.useTheme','trim','ck-ai-assistant-button\x20','text','from','pluginName','AI\x20is\x20writing','domainLimit','contentArea','filter','body','promptView','_populateMenuBarMenu','_commandDefinitions','isOn','length','getSelectedElement','hideFakeVisualSelection','_licenseKeyCheckInterval','4ARARzK','buttonView','aiLicenseKeyDomainLimit','label','aiAssistant','hide','_aiAssistantController','isCollapsed','source','show','order','delegate','model','aiLicenseKeyTrialLimit','panelView','381wmJmcx','plugins','<p>','push','requiresContent','menuBar:aiAssistant','AIAssistant','9479041pMbZly','ai-commands-config-order-collision','updatePosition','_getMenuBarGroupButtons','updateView','_onExecute','aiLicenseKeyEvaluationLimit','ai.aiAssistant.commands','isFlat','Error\x20during\x20AI\x20content\x20generation:\x20%0','schema','usageLimit','menuPanelClass','AI\x20Assistant','change:isProcessing','editing','</p>','menuView','text/html','map','replaceContent','insertContent','init','1215639FKfiYH','items','aiLicenseKeyValid','4556238GDshxt','groupLabel','enabledCommandsIds','replace','listenTo'];_0x5d2c=function(){return _0x4b10eb;};return _0x5d2c();}import _0x249e1e from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4537bf}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x2f55dd(0x1bf)];import{ClipboardMarkersUtils as _0x35280c}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x40e605,DataTransfer as _0x5214c0}from'ckeditor5/src/engine.js';export default class n extends _0x202b35{[_0x2f55dd(0x1d8)];[_0x2f55dd(0x20e)];[_0x2f55dd(0x1d3)];[_0x2f55dd(0x1ae)];[_0x2f55dd(0x19e)];[_0x2f55dd(0x215)];[_0x2f55dd(0x1ca)]='';static get[_0x2f55dd(0x201)](){const _0x2ad4b5=_0x2f55dd;return _0x2ad4b5(0x1c8);}static get[_0x2f55dd(0x1d7)](){return!0x0;}static get[_0x2f55dd(0x1f9)](){return!0x0;}static get[_0x2f55dd(0x1a3)](){return[_0x35280c,_0x46bc81,_0x43859d,_0xb3a82f];}constructor(_0x1e06b0){const _0x5a8162=_0x2f55dd;super(_0x1e06b0),_0x1e06b0[_0x5a8162(0x1f1)][_0x5a8162(0x193)](_0x5a8162(0x19c),[_0x5a8162(0x196),_0x5a8162(0x1ec),_0x5a8162(0x1b4)]),_0x1e06b0[_0x5a8162(0x1f1)][_0x5a8162(0x193)](_0x5a8162(0x1df),''),_0x1e06b0[_0x5a8162(0x1f1)][_0x5a8162(0x193)](_0x5a8162(0x1fc),!0x0),this[_0x5a8162(0x1ca)]=_0x5a8162(0x194)+(_0x1e06b0[_0x5a8162(0x1f1)][_0x5a8162(0x1af)](_0x5a8162(0x1fc))?_0x5a8162(0x19a):'');}[_0x2f55dd(0x23b)](){const _0xdeafc7=_0x2f55dd,{editor:_0xbd7238}=this;this[_0xdeafc7(0x19e)]=_0xbd7238[_0xdeafc7(0x21f)][_0xdeafc7(0x1af)](_0x43859d),this[_0xdeafc7(0x1d3)]=_0xbd7238[_0xdeafc7(0x21f)][_0xdeafc7(0x1af)](_0xb3a82f),this[_0xdeafc7(0x1ae)]=null,this[_0xdeafc7(0x209)]=this[_0xdeafc7(0x1c4)]();const _0x5d0fee=new _0x1306c8(_0xbd7238,Array[_0xdeafc7(0x200)](this[_0xdeafc7(0x209)][_0xdeafc7(0x1d0)]()));_0xbd7238[_0xdeafc7(0x198)][_0xdeafc7(0x1ce)](_0xdeafc7(0x1ba),_0x5d0fee),_0xbd7238['ui'][_0xdeafc7(0x1ac)][_0xdeafc7(0x1ce)](_0xdeafc7(0x1eb),_0x1d367d=>{const _0x5eab2a=_0xdeafc7,_0xc3442=_0x310d16(_0x1d367d);return _0xc3442[_0x5eab2a(0x1c7)]({'class':_0x5eab2a(0x1be)+this[_0x5eab2a(0x1ca)]}),_0xc3442[_0x5eab2a(0x210)][_0x5eab2a(0x1c7)]({'label':_0x29777d(_0x1d367d,_0x5eab2a(0x1e8)),'icon':_0x26a324,'tooltip':!0x0}),_0xc3442['on'](_0x5eab2a(0x1e6),_0x3c7b68=>this[_0x5eab2a(0x22a)](_0x3c7b68[_0x5eab2a(0x217)]['id'])),_0x52bcb4(_0xc3442,_0xbd7238['ui'][_0x5eab2a(0x1da)][_0x5eab2a(0x206)],function(_0x5ac6ae){const _0x4739e9=_0x5eab2a,_0x18b8c2=_0x56db0a(_0x5ac6ae[_0x4739e9(0x1f1)][_0x4739e9(0x1af)](_0x4739e9(0x22c)),_0x5ac6ae[_0x4739e9(0x1fb)]),_0x412995=U(_0x5ac6ae,_0x18b8c2)[_0x4739e9(0x205)](_0x5c772c=>_0x5c772c[_0x4739e9(0x198)][_0x4739e9(0x20b)]);if(0x1===_0x412995[_0x4739e9(0x20b)])return U(_0x5ac6ae,_0x412995[0x0][_0x4739e9(0x198)])[_0x4739e9(0x238)](_0x1e19e4=>({'id':_0x1e19e4['id'],'label':_0x1e19e4[_0x4739e9(0x212)]}));return _0x412995[_0x4739e9(0x238)](_0x591d22=>{const _0x3f65da=_0x4739e9,{groupId:_0x4519ea,groupLabel:_0xf1406e,commands:_0x599c5b}=_0x591d22,_0x114551=U(_0x5ac6ae,_0x599c5b)[_0x3f65da(0x238)](_0x489970=>({'id':_0x489970['id'],'label':_0x489970[_0x3f65da(0x212)]}));return{'id':_0x4519ea,'menu':_0xf1406e||_0x4519ea,'children':_0x114551};});}(_0xbd7238),{'ariaLabel':_0x29777d(_0x1d367d,_0x5eab2a(0x1e8))}),_0xc3442[_0x5eab2a(0x236)][_0x5eab2a(0x231)]=_0x5eab2a(0x1be)+this[_0x5eab2a(0x1ca)],_0x5d0fee['on'](_0x5eab2a(0x1aa),_0x37e147),_0xc3442[_0x5eab2a(0x236)][_0x5eab2a(0x1e3)](_0x5eab2a(0x1dc),_0x37e147),_0xc3442;function _0x37e147(){const _0x2af4a5=_0x5eab2a;_0xc3442[_0x2af4a5(0x1d6)]=_0x5d0fee[_0x2af4a5(0x190)][_0x2af4a5(0x20b)]>0x0;for(const _0x215588 of _0xc3442[_0x2af4a5(0x236)][_0x2af4a5(0x195)])_0x215588[_0x2af4a5(0x1d6)]=_0x5d0fee[_0x2af4a5(0x190)][_0x2af4a5(0x197)](_0x215588['id']);}}),_0xbd7238['ui'][_0xdeafc7(0x1ac)][_0xdeafc7(0x1ce)](_0xdeafc7(0x19d),_0x300e90=>{const _0x586a76=_0xdeafc7,_0x422b6d=new _0x185e15(_0x300e90);_0x422b6d[_0x586a76(0x210)][_0x586a76(0x1c7)]({'label':_0x29777d(_0x300e90,_0x586a76(0x1e8)),'icon':_0x26a324}),_0x422b6d[_0x586a76(0x1a6)](_0x586a76(0x1d6))['to'](_0x5d0fee,_0x586a76(0x190),_0x516ca1=>_0x516ca1[_0x586a76(0x20b)]>0x0);const _0x31f39f=_0x56db0a(_0xbd7238[_0x586a76(0x1f1)][_0x586a76(0x1af)](_0x586a76(0x22c)),_0x300e90);return this[_0x586a76(0x208)](_0x5d0fee,_0x422b6d,_0x31f39f,_0x4e1a43=>this[_0x586a76(0x22a)](_0x4e1a43)),_0x422b6d;}),_0xbd7238['ui'][_0xdeafc7(0x1ac)][_0xdeafc7(0x1ce)](_0xdeafc7(0x213),()=>{const _0x1c1251=_0xdeafc7,_0x57dc95=this[_0x1c1251(0x1a7)](_0x5026b5);return _0x57dc95[_0x1c1251(0x1c7)]({'tooltip':!0x0,'class':_0x1c1251(0x1fe)+this[_0x1c1251(0x1ca)]}),_0x57dc95;}),_0xbd7238['ui'][_0xdeafc7(0x1ac)][_0xdeafc7(0x1ce)](_0xdeafc7(0x223),()=>{const _0x85984d=_0xdeafc7,_0x5821df=this[_0x85984d(0x1a7)](_0x3389fa);return _0x5821df[_0x85984d(0x1c7)]({'role':_0x85984d(0x19f)}),_0x5821df;}),this[_0xdeafc7(0x1d8)]=this[_0xdeafc7(0x1ab)][_0xdeafc7(0x1f1)][_0xdeafc7(0x1af)](_0xdeafc7(0x1d8));const _0x2ed820=this[_0xdeafc7(0x1ab)];this[_0xdeafc7(0x20e)]=setInterval(()=>{const _0xee4dca=_0xdeafc7;let _0x4aad91;for(const _0x2ad364 in _0x2ed820){const _0x3286d3=_0x2ad364,_0x2041a2=_0x2ed820[_0x3286d3];if(_0xee4dca(0x18d)==_0x2041a2||_0xee4dca(0x1b2)==_0x2041a2||_0xee4dca(0x1cf)==_0x2041a2||_0xee4dca(0x211)==_0x2041a2||_0xee4dca(0x1a8)==_0x2041a2||_0xee4dca(0x22b)==_0x2041a2||_0xee4dca(0x21c)==_0x2041a2||_0xee4dca(0x1c1)==_0x2041a2){delete _0x2ed820[_0x3286d3],_0x4aad91=_0x2041a2,clearInterval(this[_0xee4dca(0x20e)]),this[_0xee4dca(0x20e)]=void 0x0;break;}}_0xee4dca(0x1b2)==_0x4aad91&&_0x2ed820[_0xee4dca(0x1a1)](_0xee4dca(0x1db)),_0xee4dca(0x1cf)==_0x4aad91&&_0x2ed820[_0xee4dca(0x1a1)](_0xee4dca(0x1e4)),_0xee4dca(0x211)==_0x4aad91&&_0x2ed820[_0xee4dca(0x1a1)](_0xee4dca(0x203)),_0xee4dca(0x1a8)==_0x4aad91&&_0x2ed820[_0xee4dca(0x1a1)](_0xee4dca(0x1d1),_0xee4dca(0x224)),_0xee4dca(0x22b)==_0x4aad91&&_0x2ed820[_0xee4dca(0x1a1)](_0xee4dca(0x1f7)),_0xee4dca(0x21c)==_0x4aad91&&_0x2ed820[_0xee4dca(0x1a1)](_0xee4dca(0x199)),_0xee4dca(0x1c1)==_0x4aad91&&_0x2ed820[_0xee4dca(0x1a1)](_0xee4dca(0x230));},0x3e8);}[_0x2f55dd(0x1bd)](){const _0x22be5e=_0x2f55dd;super[_0x22be5e(0x1bd)](),this[_0x22be5e(0x20e)]&&clearInterval(this[_0x22be5e(0x20e)]);}[_0x2f55dd(0x1cb)](_0x1f01b='',_0xb8a0a='',_0x55365f=_0x2f55dd(0x1b3)){const _0x5228f4=_0x2f55dd,_0x278f1c=this[_0x5228f4(0x1ab)],_0x49e205=_0x278f1c[_0x5228f4(0x234)][_0x5228f4(0x1da)],_0x2dc10a=_0x278f1c[_0x5228f4(0x21f)][_0x5228f4(0x1af)](_0x46bc81),_0xa803e9=_0x278f1c[_0x5228f4(0x21f)][_0x5228f4(0x1af)](_0x35280c);_0x2dc10a[_0x5228f4(0x1f5)]();const _0x1e7eb9=new w(),_0x1bb867=new ClipboardEvent(_0x5228f4(0x1f8),{'clipboardData':_0x1e7eb9}),_0x579d7e=new _0x5214c0(_0x1e7eb9),_0xeaaa7e=new _0x40e605(_0x49e205,_0x1bb867,{'dataTransfer':_0x579d7e});_0xa803e9[_0x5228f4(0x1c6)](_0x5228f4(0x1d4),()=>{const _0x19d415=_0x5228f4;_0x49e205[_0x19d415(0x1de)][_0x19d415(0x1c2)](_0x19d415(0x1f8),_0xeaaa7e);}),this[_0x5228f4(0x1ae)]||(this[_0x5228f4(0x1ef)](),this[_0x5228f4(0x215)]=new _0x45e93(_0x278f1c,this[_0x5228f4(0x19e)][_0x5228f4(0x19b)],this[_0x5228f4(0x1ae)]));let _0x3e94a0=_0x579d7e[_0x5228f4(0x1ea)](_0x5228f4(0x237));const _0x4b3bbd=_0x278f1c[_0x5228f4(0x21b)][_0x5228f4(0x1de)][_0x5228f4(0x1a5)],_0x579c39=Array[_0x5228f4(0x200)](_0x4b3bbd[_0x5228f4(0x1a2)]());0x1===_0x579c39[_0x5228f4(0x20b)]&&_0x579c39[0x0][_0x5228f4(0x22d)]&&!_0x4b3bbd[_0x5228f4(0x20c)]()&&''!==_0x3e94a0[_0x5228f4(0x191)](/ /g,'')[_0x5228f4(0x1fd)]()&&(_0x3e94a0=_0x5228f4(0x220)+_0x3e94a0+_0x5228f4(0x235)),this[_0x5228f4(0x215)][_0x5228f4(0x229)]({'actionId':_0x55365f,'query':_0x1f01b,'htmlContent':_0x3e94a0,'label':_0xb8a0a,'mainActionLabel':_0x4537bf[_0x278f1c[_0x5228f4(0x21b)][_0x5228f4(0x1de)][_0x5228f4(0x1a5)][_0x5228f4(0x216)]?_0x5228f4(0x1f2):_0x5228f4(0x1f6)]}),_0x5228f4(0x213)!==this[_0x5228f4(0x1d3)]['id']?this[_0x5228f4(0x1d3)][_0x5228f4(0x218)]({'id':_0x5228f4(0x213),'icon':_0x3b87d6,'title':_0x29777d(this[_0x5228f4(0x1ab)][_0x5228f4(0x1fb)],_0x5228f4(0x232)),'content':this[_0x5228f4(0x1ae)],'position':_0x3be2b6[_0x5228f4(0x1e0)],'onShow':()=>{const _0x325fc9=_0x5228f4;this[_0x325fc9(0x1ae)][_0x325fc9(0x1ed)]();},'onHide':()=>{const _0x2ef571=_0x5228f4;this[_0x2ef571(0x215)][_0x2ef571(0x1c5)](),_0x2dc10a[_0x2ef571(0x20d)]();}}):this[_0x5228f4(0x1d3)][_0x5228f4(0x1da)][_0x5228f4(0x1cc)]||this[_0x5228f4(0x1d3)][_0x5228f4(0x1da)][_0x5228f4(0x227)]();}[_0x2f55dd(0x1e7)](){const _0x2d8f58=_0x2f55dd;this[_0x2d8f58(0x1d3)][_0x2d8f58(0x214)]();}[_0x2f55dd(0x1c4)](){const _0x4ba675=_0x2f55dd,_0x1e8da2=new Map(),_0x21a9e1=_0x56db0a(this[_0x4ba675(0x1ab)][_0x4ba675(0x1f1)][_0x4ba675(0x1af)](_0x4ba675(0x22c)),this[_0x4ba675(0x1ab)][_0x4ba675(0x1fb)]);for(const _0x545009 of _0x21a9e1)for(const _0x569e13 of _0x545009[_0x4ba675(0x198)])_0x1e8da2[_0x4ba675(0x1c7)](_0x569e13['id'],{..._0x569e13,'groupId':_0x545009[_0x4ba675(0x1c9)],'groupLabel':_0x545009[_0x4ba675(0x18f)]||_0x545009[_0x4ba675(0x1c9)]});return _0x1e8da2;}[_0x2f55dd(0x1a7)](_0x4145ab){const _0x5c8bf9=_0x2f55dd,_0x454c7d=this[_0x5c8bf9(0x1ab)],_0x265b8b=_0x454c7d[_0x5c8bf9(0x198)][_0x5c8bf9(0x1af)](_0x5c8bf9(0x1ba)),_0x217222=new _0x4145ab(_0x454c7d[_0x5c8bf9(0x1fb)]);return _0x217222[_0x5c8bf9(0x1c7)]({'label':_0x29777d(_0x454c7d[_0x5c8bf9(0x1fb)],_0x5c8bf9(0x232)),'icon':_0x3b87d6,'isToggleable':!0x0}),_0x217222[_0x5c8bf9(0x1a6)](_0x5c8bf9(0x1d6))['to'](_0x265b8b),_0x217222[_0x5c8bf9(0x1a6)](_0x5c8bf9(0x20a))['to'](this[_0x5c8bf9(0x1d3)],'id',_0x11abb9=>_0x5c8bf9(0x213)===_0x11abb9),this[_0x5c8bf9(0x192)](_0x217222,_0x5c8bf9(0x1e6),()=>{const _0x358ddb=_0x5c8bf9;_0x217222[_0x358ddb(0x20a)]?this[_0x358ddb(0x1e7)]():_0x265b8b[_0x358ddb(0x1e6)]();}),_0x217222;}[_0x2f55dd(0x1ef)](){const _0x4a27ba=_0x2f55dd,_0x25f05b=this[_0x4a27ba(0x1ab)][_0x4a27ba(0x21f)][_0x4a27ba(0x1af)](_0x46bc81);this[_0x4a27ba(0x1ae)]=new _0x249e1e(this[_0x4a27ba(0x1ab)][_0x4a27ba(0x1fb)],this[_0x4a27ba(0x1ca)],this[_0x4a27ba(0x1ab)][_0x4a27ba(0x1f1)][_0x4a27ba(0x1af)](_0x4a27ba(0x1df))),this[_0x4a27ba(0x1ae)]['on'](_0x4a27ba(0x1e5),()=>{const _0xee796b=_0x4a27ba;this[_0xee796b(0x1d3)][_0xee796b(0x1da)][_0xee796b(0x1cc)]||this[_0xee796b(0x1d3)][_0xee796b(0x1da)][_0xee796b(0x227)]();}),this[_0x4a27ba(0x1ae)][_0x4a27ba(0x207)][_0x4a27ba(0x1b7)][_0x4a27ba(0x1bb)]['on'](_0x4a27ba(0x1b1),()=>{const _0x4b34cd=_0x4a27ba;this[_0x4b34cd(0x1d3)][_0x4b34cd(0x1da)][_0x4b34cd(0x1cc)]||this[_0x4b34cd(0x1d3)][_0x4b34cd(0x1da)][_0x4b34cd(0x227)]();}),this[_0x4a27ba(0x192)](this[_0x4a27ba(0x1ae)],_0x4a27ba(0x239),()=>{const _0x3e6fdb=_0x4a27ba;_0x25f05b[_0x3e6fdb(0x23a)](this[_0x3e6fdb(0x215)][_0x3e6fdb(0x1f3)]),this[_0x3e6fdb(0x1e7)]();}),this[_0x4a27ba(0x192)](this[_0x4a27ba(0x1ae)],_0x4a27ba(0x1a9),()=>{const _0x926a70=_0x4a27ba;_0x25f05b[_0x926a70(0x1a9)](this[_0x926a70(0x215)][_0x926a70(0x1f3)]),this[_0x926a70(0x1e7)]();}),this[_0x4a27ba(0x1b6)]();}[_0x2f55dd(0x1b6)](){const _0x246a9c=_0x2f55dd,{locale:_0x378645,ui:{ariaLiveAnnouncer:_0x548311}}=this[_0x246a9c(0x1ab)];this[_0x246a9c(0x1ae)][_0x246a9c(0x204)]['on'](_0x246a9c(0x233),(_0x3ab3b7,_0x50f0d5,_0x283338)=>{const _0x22365f=_0x246a9c,_0x5627be=this[_0x22365f(0x215)][_0x22365f(0x1f3)];_0x283338?_0x548311[_0x22365f(0x1e9)](_0x29777d(_0x378645,_0x22365f(0x202))):_0x5627be&&_0x548311[_0x22365f(0x1e9)](_0x29777d(_0x378645,_0x22365f(0x1a4),_0x5627be),{'politeness':_0x22365f(0x1b5),'isUnsafeHTML':!0x0});}),this[_0x246a9c(0x1ae)]['on'](_0x246a9c(0x1d2),(_0x2bb5ba,_0x494806,_0x2862c3)=>{const _0x4c4521=_0x246a9c;if(_0x2862c3){const _0x32ddb6=this[_0x4c4521(0x1ae)][_0x4c4521(0x1cd)][_0x4c4521(0x1ff)];_0x548311[_0x4c4521(0x1e9)](_0x29777d(_0x378645,_0x4c4521(0x22e),_0x32ddb6));}});}[_0x2f55dd(0x22a)](_0x1553fc){const _0x1a02b1=_0x2f55dd,_0x52f75c=this[_0x1a02b1(0x209)][_0x1a02b1(0x1af)](_0x1553fc),_0x5d51e2=this[_0x1a02b1(0x1ab)],_0x4d9fd3=_0x5d51e2[_0x1a02b1(0x21b)][_0x1a02b1(0x1de)][_0x1a02b1(0x1a5)],_0x18401a=_0x5d51e2[_0x1a02b1(0x198)][_0x1a02b1(0x1af)](_0x1a02b1(0x1ba)),_0x563d14=_0x5d51e2[_0x1a02b1(0x21f)][_0x1a02b1(0x1af)](_0x46bc81),_0x244eae=''+(_0x52f75c[_0x1a02b1(0x1c9)]!==_0x3b61e5?_0x52f75c[_0x1a02b1(0x18f)]+':\x20':'')+_0x52f75c[_0x1a02b1(0x212)];if(!0x1!==_0x52f75c[_0x1a02b1(0x222)]&&_0x4d9fd3[_0x1a02b1(0x216)]){const _0xd0891=_0x5cb83d(_0x4d9fd3[_0x1a02b1(0x1f0)]())||_0x5d51e2[_0x1a02b1(0x21b)][_0x1a02b1(0x22f)][_0x1a02b1(0x1b9)](_0x4d9fd3);_0x5d51e2[_0x1a02b1(0x21b)][_0x1a02b1(0x1d5)](_0x16dd8f=>{const _0x106126=_0x1a02b1;_0x16dd8f[_0x106126(0x1c3)](_0xd0891,'in');});}_0x563d14[_0x1a02b1(0x1f5)](),_0x18401a[_0x1a02b1(0x1e6)](_0x52f75c[_0x1a02b1(0x1a0)],_0x244eae,_0x1a02b1(0x1ad)+_0x1553fc);}[_0x2f55dd(0x208)](_0x1b05e2,_0x519e2b,_0x32c146,_0x538fdb){const _0x5c9ae5=_0x2f55dd,_0x259824=this[_0x5c9ae5(0x1ab)],_0x25ad72=_0x259824[_0x5c9ae5(0x1fb)],_0xefac41=new _0xe1eb07(_0x25ad72),_0x5a3f05=U(_0x259824,_0x32c146)[_0x5c9ae5(0x205)](_0x51274e=>_0x51274e[_0x5c9ae5(0x198)][_0x5c9ae5(0x20b)]);0x1===_0x5a3f05[_0x5c9ae5(0x20b)]?this[_0x5c9ae5(0x228)]({'command':_0x1b05e2,'commands':_0x5a3f05[0x0][_0x5c9ae5(0x198)],'parentMenuView':_0x519e2b,'onExecute':_0x538fdb})[_0x5c9ae5(0x1c0)](_0x4ad955=>_0xefac41[_0x5c9ae5(0x23d)][_0x5c9ae5(0x1ce)](_0x4ad955)):_0x5a3f05[_0x5c9ae5(0x1c0)](({groupId:_0x388f8d,groupLabel:_0x547f81,commands:_0x5299e7})=>{const _0x40b5e7=_0x5c9ae5,_0x3055f5=new _0x33843b(_0x25ad72,_0x519e2b),_0x421dd2=new _0x185e15(_0x25ad72),_0x9cf0b2=new _0xe1eb07(_0x25ad72),_0x33b779=this[_0x40b5e7(0x228)]({'command':_0x1b05e2,'commands':_0x5299e7,'parentMenuView':_0x421dd2,'onExecute':_0x538fdb});_0x421dd2[_0x40b5e7(0x210)][_0x40b5e7(0x1c7)]({'label':_0x547f81||_0x388f8d}),_0x421dd2[_0x40b5e7(0x21a)](_0x40b5e7(0x1e6))['to'](_0x519e2b),_0x9cf0b2[_0x40b5e7(0x23d)][_0x40b5e7(0x1e1)](_0x33b779),_0x421dd2[_0x40b5e7(0x21d)][_0x40b5e7(0x1b0)][_0x40b5e7(0x1ce)](_0x9cf0b2),_0x3055f5[_0x40b5e7(0x1b0)][_0x40b5e7(0x1ce)](_0x421dd2),_0xefac41[_0x40b5e7(0x23d)][_0x40b5e7(0x1ce)](_0x3055f5);}),_0x519e2b[_0x5c9ae5(0x21d)][_0x5c9ae5(0x1b0)][_0x5c9ae5(0x1ce)](_0xefac41);}[_0x2f55dd(0x228)]({command:_0xa986b3,commands:_0x9b227c,parentMenuView:_0x5c1014,onExecute:_0x232286}){const _0x3b223c=_0x2f55dd,_0x2b856b=this[_0x3b223c(0x1ab)],_0x25e6f3=_0x2b856b[_0x3b223c(0x1fb)];return U(_0x2b856b,_0x9b227c)[_0x3b223c(0x238)](_0x51cca0=>{const _0x59c8bb=_0x3b223c,_0x114119=new _0x33843b(_0x25e6f3,_0x5c1014),_0x556d5c=new _0x3389fa(_0x25e6f3);return _0x556d5c[_0x59c8bb(0x1c7)]({'label':_0x51cca0[_0x59c8bb(0x212)]}),_0x556d5c[_0x59c8bb(0x21a)](_0x59c8bb(0x1e6))['to'](_0x5c1014),_0x556d5c['on'](_0x59c8bb(0x1e6),()=>_0x232286(_0x51cca0['id'])),_0x556d5c[_0x59c8bb(0x1a6)](_0x59c8bb(0x1d6))['to'](_0xa986b3,_0x59c8bb(0x190),_0x1a4103=>_0x1a4103[_0x59c8bb(0x197)](_0x51cca0['id'])),_0x114119[_0x59c8bb(0x1b0)][_0x59c8bb(0x1ce)](_0x556d5c),_0x114119;});}}function B(_0x2a9a5b,_0x39a426){const _0xe9e717=_0x2f55dd;return void 0x0!==_0x2a9a5b[_0xe9e717(0x219)]&&void 0x0===_0x39a426[_0xe9e717(0x219)]?0x1:void 0x0===_0x2a9a5b[_0xe9e717(0x219)]&&void 0x0!==_0x39a426[_0xe9e717(0x219)]?-0x1:void 0x0!==_0x2a9a5b[_0xe9e717(0x219)]&&void 0x0!==_0x39a426[_0xe9e717(0x219)]?_0x2a9a5b[_0xe9e717(0x219)]-_0x39a426[_0xe9e717(0x219)]:0x0;}function U(_0x1f7e1d,_0x3d5f09){const _0x1cd79a=_0x2f55dd;_0x3d5f09[_0x1cd79a(0x1dd)](B);const _0x3ccf4a={},_0x12ecfa=[];for(const _0x5951cd of _0x3d5f09)if(void 0x0!==_0x5951cd[_0x1cd79a(0x219)]){if(_0x5951cd[_0x1cd79a(0x219)]in _0x3ccf4a)throw new _0x1f6a50(_0x1cd79a(0x226),_0x1f7e1d,{'conflictingDefinitions':[_0x5951cd,_0x3ccf4a[_0x5951cd[_0x1cd79a(0x219)]]]});_0x3ccf4a[_0x5951cd[_0x1cd79a(0x219)]]=_0x5951cd,_0x12ecfa[_0x1cd79a(0x1ee)](_0x5951cd[_0x1cd79a(0x219)],0x0,_0x5951cd);}else _0x12ecfa[_0x1cd79a(0x221)](_0x5951cd);return _0x12ecfa;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2210(){var _0x5dadc4=['22weYqMI','208yLftju','333888CreVwe','3171aumfNi','10TOHxxk','12592WlwpqM','68805PdqZdK','66DSWfhc','236420fRvUFi','258AmHdbf','11127cKTShX','10130khjiPL'];_0x2210=function(){return _0x5dadc4;};return _0x2210();}(function(_0x1f0b5c,_0x58b845){var _0x4aa925=_0x4b98,_0x49da10=_0x1f0b5c();while(!![]){try{var _0x365db0=parseInt(_0x4aa925(0x139))/0x1+-parseInt(_0x4aa925(0x140))/0x2*(parseInt(_0x4aa925(0x13e))/0x3)+-parseInt(_0x4aa925(0x13c))/0x4*(parseInt(_0x4aa925(0x138))/0x5)+-parseInt(_0x4aa925(0x13d))/0x6*(-parseInt(_0x4aa925(0x143))/0x7)+parseInt(_0x4aa925(0x141))/0x8*(parseInt(_0x4aa925(0x13a))/0x9)+-parseInt(_0x4aa925(0x13f))/0xa*(-parseInt(_0x4aa925(0x13b))/0xb)+parseInt(_0x4aa925(0x142))/0xc;if(_0x365db0===_0x58b845)break;else _0x49da10['push'](_0x49da10['shift']());}catch(_0x14f314){_0x49da10['push'](_0x49da10['shift']());}}}(_0x2210,0x19d06));function _0x4b98(_0x475d52,_0x9a18c0){var _0x221097=_0x2210();return _0x4b98=function(_0x4b9823,_0x2a233d){_0x4b9823=_0x4b9823-0x138;var _0x3e76f0=_0x221097[_0x4b9823];return _0x3e76f0;},_0x4b98(_0x475d52,_0x9a18c0);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3a6c(_0x19bcc3,_0x2947a2){var _0x4df90c=_0x4df9();return _0x3a6c=function(_0x3a6c6d,_0x301488){_0x3a6c6d=_0x3a6c6d-0x15d;var _0x1b47f6=_0x4df90c[_0x3a6c6d];return _0x1b47f6;},_0x3a6c(_0x19bcc3,_0x2947a2);}(function(_0x33eb2e,_0x357dbe){var _0x46c4fd=_0x3a6c,_0x22cad4=_0x33eb2e();while(!![]){try{var _0x345d2e=parseInt(_0x46c4fd(0x161))/0x1+-parseInt(_0x46c4fd(0x160))/0x2+parseInt(_0x46c4fd(0x165))/0x3+parseInt(_0x46c4fd(0x15e))/0x4+-parseInt(_0x46c4fd(0x164))/0x5+-parseInt(_0x46c4fd(0x15f))/0x6*(parseInt(_0x46c4fd(0x163))/0x7)+parseInt(_0x46c4fd(0x162))/0x8*(parseInt(_0x46c4fd(0x15d))/0x9);if(_0x345d2e===_0x357dbe)break;else _0x22cad4['push'](_0x22cad4['shift']());}catch(_0x2f694a){_0x22cad4['push'](_0x22cad4['shift']());}}}(_0x4df9,0x83923));function _0x4df9(){var _0x3b283d=['330136NNsPYC','48968YkGoeV','14STIxJv','2185210SLFQAk','2490702hpajRt','18AszVRw','1481484RgZwMn','486444wdqNlP','809756MPomeD'];_0x4df9=function(){return _0x3b283d;};return _0x4df9();}import{CKEditorError as _0x5ed47}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4b25a8=_0xc2a3;(function(_0x4599a5,_0x2893f9){const _0x2e7624=_0xc2a3,_0x5ab54f=_0x4599a5();while(!![]){try{const _0x563010=-parseInt(_0x2e7624(0x1b0))/0x1*(-parseInt(_0x2e7624(0x1bb))/0x2)+parseInt(_0x2e7624(0x1a9))/0x3*(parseInt(_0x2e7624(0x17e))/0x4)+parseInt(_0x2e7624(0x182))/0x5*(-parseInt(_0x2e7624(0x194))/0x6)+-parseInt(_0x2e7624(0x15f))/0x7*(parseInt(_0x2e7624(0x172))/0x8)+-parseInt(_0x2e7624(0x16e))/0x9*(parseInt(_0x2e7624(0x1ac))/0xa)+-parseInt(_0x2e7624(0x15a))/0xb+parseInt(_0x2e7624(0x197))/0xc;if(_0x563010===_0x2893f9)break;else _0x5ab54f['push'](_0x5ab54f['shift']());}catch(_0x1b7cbb){_0x5ab54f['push'](_0x5ab54f['shift']());}}}(_0x15a5,0x1f20b));import{ObservableMixin as _0x50a7ff}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4c2f19}from'../adapters/aiadapter.js';import{Matcher as _0x4b7a8c,UpcastWriter as _0x1e8430}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0xc2a3(_0x504d64,_0x45c960){const _0x15a51d=_0x15a5();return _0xc2a3=function(_0xc2a389,_0x11d7c5){_0xc2a389=_0xc2a389-0x156;let _0x1ba860=_0x15a51d[_0xc2a389];return _0x1ba860;},_0xc2a3(_0x504d64,_0x45c960);}function _0x15a5(){const _0x4c50bb=['_stripMarkdownSyntax','mainAction','then','isProcessing','config','```html','handleError','3QjPKBi','endsWith','exec','510eScNoJ','element','startProcessing','match','237DoZMim','_sanitizationContainer','reverse','innerHTML','toView','isRendered','ELEMENT_NODE','stopProcessing','substring','custom','nodeType','1946SbbQZx','serializeToString','div','length','editing','2171136uEWCwB','catch','ai.aiAssistant.preserveComments','push','initialContext','217QQHNYj','document','value','reset','_parseAndNormalizeContent','finally','from','currentContext','text/html','get','currentResponse','remove','markers','view','<h1></h1>','35892dfIwVR','textAdapter','_sanitizeHTML','set','49304lpiTyB','previousContext','stringify','createElement','render','_handleQuery','childNodes','listenTo','previousQuery','submitPrompt','```','set:currentContext','120964hjymdo','makeRequest','_isH1TagSupportEnabled','updateView','155NdEShC','rename','querySelector','htmlProcessor','setContentOf','prompt','name','abort','_normalizeResponseHeadings','parseFromString','clear','processor','previousLabel','toModel','data','body','viewToDom','previousActionId','5418IZrKoP','editor','_xmlSerializer','5837604bmiCzh','domConverter','destroy','_domParser','tryAgainEvent','message','startsWith','trim','once','stopListening','finishProcessing'];_0x15a5=function(){return _0x4c50bb;};return _0x15a5();}export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x50a7ff(){[_0x4b25a8(0x195)];[_0x4b25a8(0x16f)];[_0x4b25a8(0x16c)];[_0x4b25a8(0x1b1)];[_0x4b25a8(0x19a)];[_0x4b25a8(0x196)];constructor(_0xb28343,_0x1c0061,_0x4a6c0a){const _0x3eefec=_0x4b25a8;super(),this[_0x3eefec(0x195)]=_0xb28343,this[_0x3eefec(0x16f)]=_0x1c0061,this[_0x3eefec(0x1b1)]=document[_0x3eefec(0x175)](_0x3eefec(0x157)),this[_0x3eefec(0x19a)]=new DOMParser(),this[_0x3eefec(0x196)]=new XMLSerializer(),this[_0x3eefec(0x16c)]=_0x4a6c0a,this[_0x3eefec(0x171)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3eefec(0x17d),(_0x5efc13,_0x2bca51,_0xaad2d3)=>{const _0x56f5f3=_0x3eefec;this[_0x56f5f3(0x16c)][_0x56f5f3(0x161)]=this[_0x56f5f3(0x170)](_0xaad2d3);}),this[_0x3eefec(0x179)](this[_0x3eefec(0x16c)],_0x3eefec(0x17b),(_0xc7989,_0x4d92a2)=>{const _0xed6732=_0x3eefec,_0x1cdd8d=this[_0xed6732(0x166)]||this[_0xed6732(0x15e)];this[_0xed6732(0x177)](_0x4d92a2,_0x1cdd8d,_0xed6732(0x1b9));}),this[_0x3eefec(0x179)](this[_0x3eefec(0x16c)],_0x3eefec(0x19b),()=>{const _0x3ac11f=_0x3eefec;this[_0x3ac11f(0x16c)][_0x3ac11f(0x187)]=this[_0x3ac11f(0x18e)],this[_0x3ac11f(0x177)](this[_0x3ac11f(0x17a)],this[_0x3ac11f(0x173)],this[_0x3ac11f(0x193)],this[_0x3ac11f(0x18e)]);}),this[_0x3eefec(0x179)](this[_0x3eefec(0x16c)],_0x3eefec(0x1b7),()=>{const _0x119d5b=_0x3eefec;this[_0x119d5b(0x1b7)]();});}[_0x4b25a8(0x199)](){const _0x25e7ff=_0x4b25a8;this[_0x25e7ff(0x1a0)]();}async[_0x4b25a8(0x181)]({actionId:_0x22b4a1,query:_0x5633ca,htmlContent:_0x4210ee,label:_0x2a575f,mainActionLabel:_0x144000}){const _0x1e1319=_0x4b25a8;this[_0x1e1319(0x16c)][_0x1e1319(0x187)]=_0x2a575f,this[_0x1e1319(0x16c)][_0x1e1319(0x1a3)]=_0x144000,this[_0x1e1319(0x15e)]=_0x4210ee,_0x5633ca&&(this[_0x1e1319(0x16c)][_0x1e1319(0x1b5)]?this[_0x1e1319(0x177)](_0x5633ca,_0x4210ee,_0x22b4a1,_0x2a575f):this[_0x1e1319(0x16c)][_0x1e1319(0x19f)](_0x1e1319(0x176),()=>{const _0x587b6f=_0x1e1319;this[_0x587b6f(0x177)](_0x5633ca,_0x4210ee,_0x22b4a1,_0x2a575f);}));}[_0x4b25a8(0x1b7)](){const _0x299959=_0x4b25a8;this[_0x299959(0x1a5)]&&(this[_0x299959(0x1a5)]=!0x1,this[_0x299959(0x16c)][_0x299959(0x1a1)](),this[_0x299959(0x16f)][_0x299959(0x189)]());}[_0x4b25a8(0x162)](){const _0x5237e5=_0x4b25a8;this[_0x5237e5(0x15e)]='',this[_0x5237e5(0x166)]='',this[_0x5237e5(0x169)]='',this[_0x5237e5(0x173)]='',this[_0x5237e5(0x17a)]='',this[_0x5237e5(0x18e)]='',this[_0x5237e5(0x193)]=void 0x0,this[_0x5237e5(0x16c)][_0x5237e5(0x162)](),this[_0x5237e5(0x1b7)]();}async[_0x4b25a8(0x177)](_0x2478a8,_0x122340,_0x571586,_0x5c5331){const _0x3681c6=_0x4b25a8;return this[_0x3681c6(0x1a5)]=!0x0,this[_0x3681c6(0x16c)][_0x3681c6(0x1ae)](),this[_0x3681c6(0x173)]=_0x122340,this[_0x3681c6(0x17a)]=_0x2478a8,this[_0x3681c6(0x18e)]=_0x5c5331||_0x2478a8,this[_0x3681c6(0x193)]=_0x571586,new Promise(_0x267058=>{const _0x43f4e5=_0x3681c6;this[_0x43f4e5(0x16f)][_0x43f4e5(0x17f)]({'query':_0x2478a8,'context':_0x122340,'onData':_0x2937e5=>{const _0x436a65=_0x43f4e5;this[_0x436a65(0x169)]=_0x2937e5,this[_0x436a65(0x166)]=this[_0x436a65(0x163)](this[_0x436a65(0x169)]);},'actionId':_0x571586})[_0x43f4e5(0x1a4)](()=>{const _0xa5a6ba=_0x43f4e5;!this[_0xa5a6ba(0x166)]&&this[_0xa5a6ba(0x169)]&&(this[_0xa5a6ba(0x166)]=this[_0xa5a6ba(0x163)](this[_0xa5a6ba(0x169)],!0x0));})[_0x43f4e5(0x15b)](_0x24b064=>{const _0x4c5eb9=_0x43f4e5;_0x24b064 instanceof _0x4c2f19?this[_0x4c5eb9(0x16c)][_0x4c5eb9(0x1a8)](_0x24b064[_0x4c5eb9(0x19c)]):this[_0x4c5eb9(0x16c)][_0x4c5eb9(0x1a8)](),_0x267058();})[_0x43f4e5(0x164)](()=>{const _0xb08842=_0x43f4e5;this[_0xb08842(0x1b7)](),_0x267058();});});}[_0x4b25a8(0x163)](_0x597966,_0x1baedd=!0x1){const _0x4acea9=_0x4b25a8,_0x3c5d8d=Z[_0x4acea9(0x1ab)](_0x597966);_0x597966=_0x3c5d8d?_0x597966[_0x4acea9(0x1b8)](_0x3c5d8d[0x1][_0x4acea9(0x158)]):_0x597966[_0x4acea9(0x158)]<0x64&&!_0x1baedd?'':this[_0x4acea9(0x1a2)](_0x597966);const _0x32df67=this[_0x4acea9(0x19a)][_0x4acea9(0x18b)](_0x597966,_0x4acea9(0x167));if(_0x3c5d8d){const _0x26c34a=Array[_0x4acea9(0x165)](_0x32df67[_0x4acea9(0x191)][_0x4acea9(0x178)]);_0x26c34a[_0x4acea9(0x1b2)]();for(const _0x44f9da of _0x26c34a){if(_0x44f9da[_0x4acea9(0x1ba)]==Node[_0x4acea9(0x1b6)])break;_0x44f9da[_0x4acea9(0x16a)]();}}const _0x5af0ab=this[_0x4acea9(0x195)][_0x4acea9(0x190)][_0x4acea9(0x18d)][_0x4acea9(0x1b4)](this[_0x4acea9(0x196)][_0x4acea9(0x156)](_0x32df67[_0x4acea9(0x191)]));this[_0x4acea9(0x180)]()||this[_0x4acea9(0x18a)](_0x5af0ab);const _0x1c64f4=this[_0x4acea9(0x195)][_0x4acea9(0x1a6)][_0x4acea9(0x168)](_0x4acea9(0x15c)),_0x43fdca=this[_0x4acea9(0x195)][_0x4acea9(0x190)][_0x4acea9(0x18f)](_0x5af0ab);return _0x1c64f4||_0x43fdca[_0x4acea9(0x16b)][_0x4acea9(0x18c)](),this[_0x4acea9(0x195)][_0x4acea9(0x190)][_0x4acea9(0x174)](_0x43fdca);}[_0x4b25a8(0x18a)](_0x26e4eb){const _0x2c9e12=_0x4b25a8,_0x69556d=new _0x1e8430(this[_0x2c9e12(0x195)][_0x2c9e12(0x159)][_0x2c9e12(0x16c)][_0x2c9e12(0x160)]),_0x3ec7ee=new _0x4b7a8c({'name':/^h[1-5]$/}),_0x462558=[];let _0x3e26ee=!0x1;for(const _0x31995c of _0x26e4eb)_0x31995c['is'](_0x2c9e12(0x1ad))&&_0x3ec7ee[_0x2c9e12(0x1af)](_0x31995c)&&(_0x462558[_0x2c9e12(0x15d)](_0x31995c),'h1'==_0x31995c[_0x2c9e12(0x188)]&&(_0x3e26ee=!0x0));if(_0x3e26ee){for(const _0xe69f6a of _0x462558)_0x69556d[_0x2c9e12(0x183)]('h'+(parseInt(_0xe69f6a[_0x2c9e12(0x188)][0x1])+0x1),_0xe69f6a);}}[_0x4b25a8(0x180)](){const _0x255155=_0x4b25a8,{data:_0x39b3a6,editing:_0x53ff5e}=this[_0x255155(0x195)],_0x4a869c=_0x39b3a6[_0x255155(0x185)][_0x255155(0x1b4)](_0x255155(0x16d)),_0xe19f45=_0x39b3a6[_0x255155(0x1b4)](_0x39b3a6[_0x255155(0x18f)](_0x4a869c));return!!_0x53ff5e[_0x255155(0x16c)][_0x255155(0x198)][_0x255155(0x192)](_0xe19f45)[_0x255155(0x184)]('h1');}[_0x4b25a8(0x170)](_0x4eff91){const _0x4aa6d5=_0x4b25a8;return this[_0x4aa6d5(0x195)][_0x4aa6d5(0x159)][_0x4aa6d5(0x16c)][_0x4aa6d5(0x198)][_0x4aa6d5(0x186)](this[_0x4aa6d5(0x1b1)],_0x4eff91),this[_0x4aa6d5(0x1b1)][_0x4aa6d5(0x1b3)];}[_0x4b25a8(0x1a2)](_0x55a76e){const _0x275fc0=_0x4b25a8,_0x33ea5b=_0x55a76e[_0x275fc0(0x19e)]();return _0x33ea5b[_0x275fc0(0x19d)](_0x275fc0(0x1a7))?_0x33ea5b[_0x275fc0(0x1aa)](_0x275fc0(0x17c))?_0x33ea5b[_0x275fc0(0x1b8)](0x7,_0x33ea5b[_0x275fc0(0x158)]-0x3):_0x33ea5b[_0x275fc0(0x1b8)](0x7):_0x55a76e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x45e6f5=_0xd598;(function(_0x2c5d47,_0x3f447c){const _0x345d80=_0xd598,_0x3dde36=_0x2c5d47();while(!![]){try{const _0x3a20f6=-parseInt(_0x345d80(0xcb))/0x1+-parseInt(_0x345d80(0x96))/0x2*(-parseInt(_0x345d80(0xbf))/0x3)+-parseInt(_0x345d80(0xb8))/0x4+parseInt(_0x345d80(0xb4))/0x5*(-parseInt(_0x345d80(0xa7))/0x6)+-parseInt(_0x345d80(0xa5))/0x7*(-parseInt(_0x345d80(0xc2))/0x8)+parseInt(_0x345d80(0xb2))/0x9+-parseInt(_0x345d80(0x9d))/0xa;if(_0x3a20f6===_0x3f447c)break;else _0x3dde36['push'](_0x3dde36['shift']());}catch(_0x155f84){_0x3dde36['push'](_0x3dde36['shift']());}}}(_0x1b2d,0x28071));function _0x1b2d(){const _0x18a246=['position','ck-ai-form__content-field','lastElementChild','71860QYDBJJ','appendChild','contentFieldView','ClipboardItem','_createLoader','ck-ai-form__loader','smooth','69goZxJw','remove','text/plain','8gapFCe','write','bindTemplate','absolute','addRange','querySelector','mousedown','removeAllRanges','execCommand','785ZyHWsq','<span>]</span>','class','createElement','change:isProcessing','set','ck-ai-form__copy-button','isVisible','ck-ai-form__content-area-wrapper','innerHTML','text/html','change:value','loaderView','Copy','ck-ai-form__content-area','_copyHTMLToClipboard','isEnabled','-9999px','getSelection','ck-reset_all-excluded','setStartAfter','setEndBefore','textContent','element','copyButtonView','execute','.ck-ai-form__loader','left','\x20ck-ai-form__copy-button--copied','AI\x20is\x20writing...','ck-content','render','21796BJKfjy','firstElementChild','ck-hidden','value','createRange','isProcessing','copy','448190wyfZdc','setContent','scrollTo','body','focus','listenTo','scrollHeight','<span>[</span>','1525013KNsXte','appendLoader','1881498aahXyt','_createCopyButton','clipboard','style','icon','ck-ai-form__content-area--processing','div','bind','locale','wheel','setTemplate','653328jxvliO','ck-ai-form__copy-button-wrapper','5fPjlGr'];_0x1b2d=function(){return _0x18a246;};return _0x1b2d();}import{global as _0x41d850}from'ckeditor5/src/utils.js';function _0xd598(_0x40c89f,_0xfc36cc){const _0x1b2d69=_0x1b2d();return _0xd598=function(_0xd59872,_0x5e2627){_0xd59872=_0xd59872-0x95;let _0x4de5e6=_0x1b2d69[_0xd59872];return _0x4de5e6;},_0xd598(_0x40c89f,_0xfc36cc);}import{View as _0x512643,ButtonView as _0x565260,SpinnerView as _0x3bb2e1}from'ckeditor5/src/ui.js';import{IconCheck as _0x45876e,IconCopy as _0x1c7312}from'ckeditor5/src/icons.js';import{getTranslation as _0x743356}from'../../utils/common-translations.js';export default class Y extends _0x512643{[_0x45e6f5(0xba)];[_0x45e6f5(0xe3)];constructor(_0x47f236,_0x4c51e8=''){const _0x33a2e4=_0x45e6f5;super(_0x47f236),this[_0x33a2e4(0xd0)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x13ab06=this[_0x33a2e4(0xc4)];this[_0x33a2e4(0xba)]=new ContentFieldView(_0x47f236,_0x4c51e8),this[_0x33a2e4(0xe3)]=this[_0x33a2e4(0xa8)](),this[_0x33a2e4(0xb1)]({'tag':_0x33a2e4(0xad),'attributes':{'class':['ck',_0x33a2e4(0xd3),_0x13ab06['if'](_0x33a2e4(0xd2),_0x33a2e4(0x98),_0x23d586=>!_0x23d586)],'tabindex':'-1'},'children':[{'tag':_0x33a2e4(0xad),'attributes':{'class':['ck',_0x33a2e4(0xd9),_0x13ab06['if'](_0x33a2e4(0x9b),_0x33a2e4(0xac))]},'children':[this[_0x33a2e4(0xba)],{'tag':_0x33a2e4(0xad),'attributes':{'class':['ck',_0x33a2e4(0xb3)]},'children':[this[_0x33a2e4(0xe3)]]}]}]});}[_0x45e6f5(0x95)](){const _0x3a69bb=_0x45e6f5;super[_0x3a69bb(0x95)](),this[_0x3a69bb(0x99)]&&this[_0x3a69bb(0xba)][_0x3a69bb(0x9e)](this[_0x3a69bb(0x99)]);let _0x46e8f0=!0x1;this['on'](_0x3a69bb(0xd6),(_0xc965d6,_0x201f52,_0x2efaf4)=>{const _0x4db5dd=_0x3a69bb,_0x3e847d=!this[_0x4db5dd(0xba)][_0x4db5dd(0xe2)][_0x4db5dd(0xc7)](_0x4db5dd(0xe5));this[_0x4db5dd(0xba)][_0x4db5dd(0x9e)](_0x2efaf4),this[_0x4db5dd(0x9b)]&&_0x3e847d&&!_0x46e8f0&&this[_0x4db5dd(0xe2)][_0x4db5dd(0x9f)]({'top':this[_0x4db5dd(0xe2)][_0x4db5dd(0xa3)],'behavior':_0x4db5dd(0xbe)});}),this['on'](_0x3a69bb(0xcf),(_0x5e7536,_0x254383,_0x2c83c7)=>{const _0x322c7a=_0x3a69bb;_0x46e8f0=!0x1,_0x2c83c7?(this[_0x322c7a(0x99)]=null,this[_0x322c7a(0xba)][_0x322c7a(0xa6)]()):this[_0x322c7a(0x99)]||this[_0x322c7a(0xba)][_0x322c7a(0x9e)]('');}),this[_0x3a69bb(0xa2)](this[_0x3a69bb(0xe2)],_0x3a69bb(0xb0),()=>{_0x46e8f0=!0x0;}),this[_0x3a69bb(0xa2)](this[_0x3a69bb(0xe2)],_0x3a69bb(0xc8),()=>{_0x46e8f0=!0x0;});}[_0x45e6f5(0xa1)](){const _0x577a14=_0x45e6f5;this[_0x577a14(0xe2)][_0x577a14(0xa1)]();}[_0x45e6f5(0xa8)](){const _0x3c9d1e=_0x45e6f5,_0x2ff503=this[_0x3c9d1e(0xaf)],_0x6c30bf=new _0x565260(this[_0x3c9d1e(0xaf)]),_0x4f1450=_0x3c9d1e(0xd1);return _0x6c30bf[_0x3c9d1e(0xd0)]({'label':_0x743356(_0x2ff503,_0x3c9d1e(0xd8)),'icon':_0x1c7312,'class':_0x4f1450,'tooltip':!0x0}),_0x6c30bf[_0x3c9d1e(0xae)](_0x3c9d1e(0xd2))['to'](this,_0x3c9d1e(0x99),_0x33ad1d=>!!_0x33ad1d),_0x6c30bf[_0x3c9d1e(0xae)](_0x3c9d1e(0xdb))['to'](this,_0x3c9d1e(0x9b),_0x31f9a7=>!_0x31f9a7),_0x6c30bf['on'](_0x3c9d1e(0xe4),()=>{const _0x1b650c=_0x3c9d1e;this[_0x1b650c(0xda)](this[_0x1b650c(0xba)][_0x1b650c(0xe2)]),_0x6c30bf[_0x1b650c(0xab)]=_0x45876e,_0x6c30bf[_0x1b650c(0xcd)]=_0x4f1450+_0x1b650c(0xe7),this[_0x1b650c(0xa1)](),setTimeout(()=>{const _0x5b90b9=_0x1b650c;_0x6c30bf[_0x5b90b9(0xab)]=_0x1c7312,_0x6c30bf[_0x5b90b9(0xcd)]=_0x4f1450;},0x3e8);}),_0x6c30bf;}[_0x45e6f5(0xda)](_0x302b18){const _0x2031bb=_0x45e6f5,{window:_0x4c4d9b,document:_0x414296}=_0x41d850;if(_0x4c4d9b[_0x2031bb(0xbb)]){const {Blob:_0x326a99,ClipboardItem:_0x4c9ae1}=_0x4c4d9b,_0x331a65=[new _0x4c9ae1({'text/html':new _0x326a99([_0x302b18[_0x2031bb(0xd4)]],{'type':_0x2031bb(0xd5)}),'text/plain':new _0x326a99([_0x302b18[_0x2031bb(0xe1)]||''],{'type':_0x2031bb(0xc1)})})];navigator[_0x2031bb(0xa9)][_0x2031bb(0xc3)](_0x331a65);}else{const _0x1f98d7=_0x414296[_0x2031bb(0xce)](_0x2031bb(0xad));_0x1f98d7[_0x2031bb(0xaa)][_0x2031bb(0xb5)]=_0x2031bb(0xc5),_0x1f98d7[_0x2031bb(0xaa)][_0x2031bb(0xe6)]=_0x2031bb(0xdc),_0x1f98d7[_0x2031bb(0xd4)]=_0x2031bb(0xa4)+_0x302b18[_0x2031bb(0xd4)]+_0x2031bb(0xcc),_0x414296[_0x2031bb(0xa0)][_0x2031bb(0xb9)](_0x1f98d7);const _0x40ea79=_0x414296[_0x2031bb(0x9a)]();_0x40ea79[_0x2031bb(0xdf)](_0x1f98d7[_0x2031bb(0x97)]),_0x40ea79[_0x2031bb(0xe0)](_0x1f98d7[_0x2031bb(0xb7)]);const _0x2d864d=_0x4c4d9b[_0x2031bb(0xdd)]();_0x2d864d[_0x2031bb(0xc9)](),_0x2d864d[_0x2031bb(0xc6)](_0x40ea79),_0x414296[_0x2031bb(0xca)](_0x2031bb(0x9c)),_0x1f98d7[_0x2031bb(0xc0)]();}}}export class ContentFieldView extends _0x512643{constructor(_0x21b6f4,_0x482086=''){const _0x3f28ab=_0x45e6f5;super(_0x21b6f4),this[_0x3f28ab(0xd7)]=this[_0x3f28ab(0xbc)](),this[_0x3f28ab(0xb1)]({'tag':_0x3f28ab(0xad),'attributes':{'class':['ck',_0x3f28ab(0xe9),_0x482086,_0x3f28ab(0xde),_0x3f28ab(0xb6)]}});}[_0x45e6f5(0x9e)](_0x1bc8b1){const _0x3b7b08=_0x45e6f5;this[_0x3b7b08(0xe2)][_0x3b7b08(0xd4)]=_0x1bc8b1;}[_0x45e6f5(0xa6)](){const _0x22c0ea=_0x45e6f5;this[_0x22c0ea(0xe2)][_0x22c0ea(0xb9)](this[_0x22c0ea(0xd7)][_0x22c0ea(0xe2)]);}[_0x45e6f5(0xbc)](){const _0xcdc705=_0x45e6f5,_0x1230f0=new _0x512643(),_0xfef14f=this[_0xcdc705(0xaf)],_0x389ca2=new _0x3bb2e1();return _0x389ca2[_0xcdc705(0xd2)]=!0x0,_0x1230f0[_0xcdc705(0xb1)]({'tag':_0xcdc705(0xad),'attributes':{'class':['ck',_0xcdc705(0xbd)]},'children':[_0x389ca2,{'text':_0x743356(_0xfef14f,_0xcdc705(0xe8))}]}),_0x1230f0[_0xcdc705(0x95)](),_0x1230f0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x472ffa,_0x1882fb){const _0x5a2ae0=_0x3c90,_0x886355=_0x472ffa();while(!![]){try{const _0x575712=parseInt(_0x5a2ae0(0x12c))/0x1+parseInt(_0x5a2ae0(0x135))/0x2+-parseInt(_0x5a2ae0(0x12a))/0x3*(parseInt(_0x5a2ae0(0x12e))/0x4)+-parseInt(_0x5a2ae0(0x134))/0x5+-parseInt(_0x5a2ae0(0x137))/0x6*(parseInt(_0x5a2ae0(0x138))/0x7)+parseInt(_0x5a2ae0(0x12f))/0x8+parseInt(_0x5a2ae0(0x136))/0x9;if(_0x575712===_0x1882fb)break;else _0x886355['push'](_0x886355['shift']());}catch(_0x257105){_0x886355['push'](_0x886355['shift']());}}}(_0x2e29,0x79d9b));function _0x2e29(){const _0x575adf=['1392558WOOsQR','4626252dLMJZy','9510StSXCm','308NXeGrH','ck-ai-form__error','150ulLaOT','bindTemplate','66109sWJWoE','div','5768NVnwyD','2098360rKkbsa','setTemplate','set','text','content','4488860wauugt'];_0x2e29=function(){return _0x575adf;};return _0x2e29();}function _0x3c90(_0x519eb6,_0x1f8123){const _0x2e293b=_0x2e29();return _0x3c90=function(_0x3c90d3,_0x3f3102){_0x3c90d3=_0x3c90d3-0x12a;let _0x30fb94=_0x2e293b[_0x3c90d3];return _0x30fb94;},_0x3c90(_0x519eb6,_0x1f8123);}import{IconError as _0xe43c81}from'ckeditor5/src/icons.js';import{View as _0x213593,IconView as _0xd4de88}from'ckeditor5/src/ui.js';export default class st extends _0x213593{constructor(_0x24ee6d,_0x1e2ea0=''){const _0x2f520c=_0x3c90;super(_0x24ee6d);const _0x58902f=new _0xd4de88(),_0x8fc260=this[_0x2f520c(0x12b)];this[_0x2f520c(0x131)](_0x2f520c(0x132),_0x1e2ea0),_0x58902f[_0x2f520c(0x133)]=_0xe43c81,this[_0x2f520c(0x130)]({'tag':_0x2f520c(0x12d),'attributes':{'class':['ck',_0x2f520c(0x139)]},'children':[_0x58902f,{'text':_0x8fc260['to'](_0x2f520c(0x132))}]});}}
|