@ckeditor/ckeditor5-ai 44.2.0-alpha.2 → 44.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ff78d=_0x6735;(function(_0x44f10d,_0x142c01){const _0x54ccbc=_0x6735,_0x23968b=_0x44f10d();while(!![]){try{const _0x1dd3ce=parseInt(_0x54ccbc(0x100))/0x1*(parseInt(_0x54ccbc(0xf7))/0x2)+-parseInt(_0x54ccbc(0xa5))/0x3*(-parseInt(_0x54ccbc(0xa4))/0x4)+-parseInt(_0x54ccbc(0xd5))/0x5+parseInt(_0x54ccbc(0xaa))/0x6+parseInt(_0x54ccbc(0xd8))/0x7*(parseInt(_0x54ccbc(0xe3))/0x8)+-parseInt(_0x54ccbc(0x9e))/0x9+-parseInt(_0x54ccbc(0x97))/0xa*(-parseInt(_0x54ccbc(0xce))/0xb);if(_0x1dd3ce===_0x142c01)break;else _0x23968b['push'](_0x23968b['shift']());}catch(_0x5b70b8){_0x23968b['push'](_0x23968b['shift']());}}}(_0x781f,0x74203));import{Plugin as _0x14202e}from'ckeditor5/src/core.js';import _0x587d28 from'./aiassistantui.js';import _0x5a1ac6 from'./aiassistantediting.js';import{getTranslation as _0x2a3bee}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x36f791}from'./utils/normalizecommandsconfig.js';function _0x6735(_0x758484,_0x17c2a8){const _0x781fb7=_0x781f();return _0x6735=function(_0x673540,_0x283897){_0x673540=_0x673540-0x91;let _0x4ad2bb=_0x781fb7[_0x673540];return _0x4ad2bb;},_0x6735(_0x758484,_0x17c2a8);}export default class r extends _0x14202e{static get[_0x2ff78d(0xf4)](){return[_0x587d28,_0x5a1ac6];}static get[_0x2ff78d(0xa3)](){const _0x50400b=_0x2ff78d;return _0x50400b(0xb2);}static get[_0x2ff78d(0xea)](){return!0x0;}static get[_0x2ff78d(0x91)](){return!0x0;}constructor(_0x2ffb0a){const _0x5015c3=_0x2ff78d;super(_0x2ffb0a);const _0x2e22fb=_0x2ffb0a[_0x5015c3(0xa7)],_0x3473fa=_0x2ffb0a[_0x5015c3(0xd4)];_0x2e22fb[_0x5015c3(0xee)](_0x5015c3(0xc1),!0x0),_0x2e22fb[_0x5015c3(0xee)](_0x5015c3(0xde),getDefaultCommands(_0x3473fa)),_0x2e22fb[_0x5015c3(0xee)](_0x5015c3(0xd3),[]),_0x2e22fb[_0x5015c3(0xee)](_0x5015c3(0xb6),[]);let _0x537996=_0x36f791(_0x2e22fb[_0x5015c3(0xb4)](_0x5015c3(0xde)),_0x3473fa);const _0x580af5=_0x2e22fb[_0x5015c3(0xb4)](_0x5015c3(0xd3)),_0x2a7201=_0x2e22fb[_0x5015c3(0xb4)](_0x5015c3(0xb6));_0x580af5[_0x5015c3(0xfd)](_0x42aa4a=>{const _0x2c7aa7=_0x5015c3,_0x4983dc=_0x537996[_0x2c7aa7(0xc3)](_0x5aedab=>_0x5aedab[_0x2c7aa7(0x94)]===_0x42aa4a[_0x2c7aa7(0x94)]);_0x4983dc?_0x4983dc[_0x2c7aa7(0xe8)]=_0x4983dc[_0x2c7aa7(0xe8)][_0x2c7aa7(0xc4)](_0x42aa4a[_0x2c7aa7(0xe8)]):_0x537996[_0x2c7aa7(0xef)](_0x42aa4a);}),_0x537996=_0x537996[_0x5015c3(0x9d)](_0x4123e7=>!_0x2a7201[_0x5015c3(0xbf)](_0x4123e7[_0x5015c3(0x94)])),_0x537996[_0x5015c3(0xfd)](_0x157353=>{const _0x5b59f1=_0x5015c3;_0x157353[_0x5b59f1(0xe8)]=_0x157353[_0x5b59f1(0xe8)][_0x5b59f1(0x9d)](_0x5f4ea3=>!_0x2a7201[_0x5b59f1(0xbf)](_0x5f4ea3['id']));}),_0x2e22fb[_0x5015c3(0xed)](_0x5015c3(0xde),_0x537996);}}export function getDefaultCommands(_0x16cb55){const _0x1985a7=_0x2ff78d;return[{'groupId':_0x1985a7(0xe0),'groupLabel':_0x2a3bee(_0x16cb55,_0x1985a7(0xf8)),'commands':[{'id':_0x1985a7(0xb8),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xa1)),'prompt':_0x1985a7(0xcc)},{'id':_0x1985a7(0xba),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xb1)),'prompt':_0x1985a7(0xd2)},{'id':_0x1985a7(0xc8),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xc0)),'prompt':_0x1985a7(0x9a)},{'id':_0x1985a7(0xbc),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0x96)),'prompt':_0x1985a7(0x9f)}]},{'groupId':_0x1985a7(0xd9),'groupLabel':_0x2a3bee(_0x16cb55,_0x1985a7(0xf9)),'commands':[{'id':_0x1985a7(0xb9),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xbe)),'prompt':_0x1985a7(0xd1)},{'id':_0x1985a7(0xc7),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xe4)),'prompt':_0x1985a7(0xdb)}]},{'groupId':_0x1985a7(0xf6),'groupLabel':_0x2a3bee(_0x16cb55,_0x1985a7(0xe9)),'commands':[{'id':_0x1985a7(0xe5),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xfa)),'prompt':_0x1985a7(0xdf)},{'id':_0x1985a7(0xc6),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xda)),'prompt':_0x1985a7(0xab)},{'id':_0x1985a7(0xb7),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xdc)),'prompt':_0x1985a7(0xfc)},{'id':_0x1985a7(0xdd),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0x92)),'prompt':_0x1985a7(0xb5)},{'id':_0x1985a7(0xfe),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xe2)),'prompt':_0x1985a7(0xf2)}]},{'groupId':_0x1985a7(0xbd),'groupLabel':_0x2a3bee(_0x16cb55,_0x1985a7(0xa2)),'commands':[{'id':_0x1985a7(0xb0),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xca)),'prompt':_0x1985a7(0xa6)},{'id':_0x1985a7(0x95),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xae)),'prompt':_0x1985a7(0x98)},{'id':_0x1985a7(0xe7),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xf1)),'prompt':_0x1985a7(0x9b)},{'id':_0x1985a7(0xc5),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xec)),'prompt':_0x1985a7(0x93)}]},{'groupId':_0x1985a7(0xe1),'groupLabel':_0x2a3bee(_0x16cb55,_0x1985a7(0xa8)),'commands':[{'id':_0x1985a7(0xa0),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xc9)),'prompt':_0x1985a7(0xa9)},{'id':_0x1985a7(0xaf),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xe6)),'prompt':_0x1985a7(0xfb)},{'id':_0x1985a7(0xd6),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xcf)),'prompt':_0x1985a7(0xf5)},{'id':_0x1985a7(0x99),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xeb)),'prompt':_0x1985a7(0xcd)},{'id':_0x1985a7(0xd7),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xad)),'prompt':_0x1985a7(0xcb)},{'id':_0x1985a7(0xb3),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xf3)),'prompt':_0x1985a7(0xf0)},{'id':_0x1985a7(0x9c),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xff)),'prompt':_0x1985a7(0xbb)},{'id':_0x1985a7(0xd0),'label':_0x2a3bee(_0x16cb55,_0x1985a7(0xc2)),'prompt':_0x1985a7(0xac)}]}];}function _0x781f(){const _0x45f27e=['Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateHindi','filter','4171293IXemsR','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','translateEnglish','Improve\x20writing','Change\x20style','pluginName','3605348rOFXgl','3edwZuo','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','config','Translate','Translate\x20the\x20content\x20to\x20English\x20language.','1385544vVIoZW','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','French','Legal','translateSpanish','business','Make\x20shorter','AIAssistant','translateChinese','get','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','ai.aiAssistant.removeCommands','direct','improveWriting','summarize','makeShorter','Translate\x20the\x20content\x20to\x20Hindi\x20language.','simplifyLanguage','changeStyle','Summarize','includes','Make\x20longer','ai.aiAssistant.preserveComments','Arabic','find','concat','poetic','casual','continue','makeLonger','English','Business','Translate\x20the\x20content\x20to\x20French\x20language.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20German\x20language.','22ZeJvQV','Portuguese','translateArabic','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','ai.aiAssistant.extraCommandGroups','locale','3542115koXQCo','translatePortuguese','translateFrench','3021095IwhiCw','generate','Casual','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Direct','confident','ai.aiAssistant.commands','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','editOrReview','translate','Friendly','8vBFMeR','Continue','professional','Spanish','journalism','commands','Change\x20tone','isOfficialPlugin','German','Poetic','set','define','push','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Journalism','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Simplified\x20Chinese','requires','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','changeTone','2djoXBY','Edit\x20or\x20review','Generate\x20from\x20selection','Professional','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','forEach','friendly','Hindi','28003RmsXNi','isPremiumPlugin','Confident','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','groupId','legal','Simplify\x20language','278510etXbrU','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','translateGerman','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'];_0x781f=function(){return _0x45f27e;};return _0x781f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1613b5=_0x85d2;(function(_0xc374f0,_0x268501){const _0x580b4a=_0x85d2,_0x332130=_0xc374f0();while(!![]){try{const _0x1b51df=parseInt(_0x580b4a(0xf0))/0x1+parseInt(_0x580b4a(0x10d))/0x2+parseInt(_0x580b4a(0xe8))/0x3*(parseInt(_0x580b4a(0xc7))/0x4)+parseInt(_0x580b4a(0xc5))/0x5*(parseInt(_0x580b4a(0xea))/0x6)+parseInt(_0x580b4a(0xe3))/0x7*(-parseInt(_0x580b4a(0xbe))/0x8)+-parseInt(_0x580b4a(0xf9))/0x9*(parseInt(_0x580b4a(0xcf))/0xa)+parseInt(_0x580b4a(0xe9))/0xb*(parseInt(_0x580b4a(0xd6))/0xc);if(_0x1b51df===_0x268501)break;else _0x332130['push'](_0x332130['shift']());}catch(_0x949a16){_0x332130['push'](_0x332130['shift']());}}}(_0x1134,0x94dcd));import{uid as _0xf077d9}from'ckeditor5/src/utils.js';import{Plugin as _0x98c648}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x110b4a}from'ckeditor5/src/clipboard.js';function _0x1134(){const _0x230009=['_createEmptyTableRows','editing','ck-fake-ai-selection','getRows','createSelection','from','element','getRange','join','ck-fake-ai-selection_collapsed','has','getRowIndexes','schema','plugins','getMarkersGroup','AIAssistantEditing','fromCharCode','1212406rYTmKe','createRange','conversion','markers','getColumnIndexes','getRanges','first','getSelectedBlocks','getFirstRange','showFakeVisualSelection','_getAISelection','get','DataTransfer','_pasteHTMLUsingClipboard','markerRange','document','setSelection','pluginName','_getDefaultInsertBelowPosition','insertContentBelow','data','createPositionAt','table','getLastMatchingPosition','markerToElement','addMarker','isContent','isCollapsed','change','off','insertContent','deleteContent','forEach','4808KpOoSH','ai-ui','resultRange','ai.useTheme','getSelectedTableCells','findAncestor','isAtEnd','7535LIcgkH','ck-ai-assistant-ui_theme','776UOKTlo','canEditAt','updateMarker','start','markerToHighlight','createPositionAfter','span','getChild','41190jSMyyW','selection','editor','text/html','createUIElement','contentInsertion','TableUtils','255204ZYkDyN','_resetContentOfSelectedTableCells','isPremiumPlugin','paste','isOfficialPlugin','setData','href','for','end','last','getLastPosition','fire','map','5943BIXrFQ','getChildren','addClass','afterInit','lowest','525HsYotq','231qhwJlC','3246BQsMrf','_prepareTableInsertBelowPosition','pop','editingDowncast','parse','removeMarker','21148YtYILR','hideFakeVisualSelection','model','filter','insertRows','config','_getTableRowCountFromContent','once','length','1755RNGQYa','push','init'];_0x1134=function(){return _0x230009;};return _0x1134();}function _0x85d2(_0x5e3b03,_0x3b145b){const _0x113428=_0x1134();return _0x85d2=function(_0x85d240,_0x43333b){_0x85d240=_0x85d240-0x9f;let _0x59ab0d=_0x113428[_0x85d240];return _0x59ab0d;},_0x85d2(_0x5e3b03,_0x3b145b);}import{DomEventData as _0x504a23,DataTransfer as _0x1585b6}from'ckeditor5/src/engine.js';const w=globalThis[_0x1613b5(0xa9)],f=_0x1613b5(0xbf);export default class a extends _0x98c648{static get[_0x1613b5(0xae)](){const _0x14f243=_0x1613b5;return _0x14f243(0x10b);}static get[_0x1613b5(0xda)](){return!0x0;}static get[_0x1613b5(0xd8)](){return!0x0;}[_0x1613b5(0xfb)](){const _0x48e47e=_0x1613b5,{editor:_0x2ca300}=this,_0x5bcfa8=[_0x48e47e(0xfe)];_0x2ca300[_0x48e47e(0xf5)][_0x48e47e(0xa8)](_0x48e47e(0xc1))&&_0x5bcfa8[_0x48e47e(0xfa)](_0x48e47e(0xc6)),_0x2ca300[_0x48e47e(0x9f)][_0x48e47e(0xdd)](_0x48e47e(0xed))[_0x48e47e(0xcb)]({'model':f,'view':{'classes':_0x5bcfa8,'priority':0xc}}),_0x2ca300[_0x48e47e(0x9f)][_0x48e47e(0xdd)](_0x48e47e(0xed))[_0x48e47e(0xb5)]({'model':f,'view':(_0x4fa292,{writer:_0x27c5bf})=>{const _0x5bb312=_0x48e47e;if(!_0x4fa292[_0x5bb312(0xab)][_0x5bb312(0xb8)])return null;const _0x22f389=_0x27c5bf[_0x5bb312(0xd3)](_0x5bb312(0xcd));return _0x27c5bf[_0x5bb312(0xe5)]([_0x5bb312(0xfe),_0x5bb312(0x105)],_0x22f389),_0x22f389;}});}[_0x1613b5(0xe6)](){!async function(_0x1bf3b3){const _0x3f402f=_0x22646b([0x47,0x39,0x51,0x68,0x37,0x46,0x67,0x41,0x57,0x58,0x50,0x78,0x4f,0x61,0x32,0x31,0x63,0x45,0x4b,0x73,0x42,0x5a,0x64,0x49,0x72,0x52,0x6e,0x48,0x55,0x7a,0x76,0x6d,0x53,0x66,0x71,0x4c,0x75,0x33,0x6f,0x56,0x77,0x6b,0x54,0x30,0x36,0x38,0x6a,0x34,0x79,0x70,0x69,0x44,0x74,0x62,0x4e,0x65,0x35,0x43,0x4d,0x6c,0x59,0x4a]),_0x279bde=0x592a80b4,_0x3cd7bc=0x592ddea4^_0x279bde,_0x34243e=window[_0x22646b([0x44,0x61,0x74,0x65])][_0x22646b([0x6e,0x6f,0x77])](),_0x59eaf0=_0x1bf3b3[_0x22646b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x52d3e0=new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cbeda=>{_0x59eaf0[_0x22646b([0x6f,0x6e,0x63,0x65])](_0x22646b([0x72,0x65,0x61,0x64,0x79]),_0x2cbeda);}),_0x56723e={[_0x22646b([0x6b,0x74,0x79])]:_0x22646b([0x45,0x43]),[_0x22646b([0x75,0x73,0x65])]:_0x22646b([0x73,0x69,0x67]),[_0x22646b([0x63,0x72,0x76])]:_0x22646b([0x50,0x2d,0x32,0x35,0x36]),[_0x22646b([0x78])]:_0x22646b([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]),[_0x22646b([0x79])]:_0x22646b([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]),[_0x22646b([0x61,0x6c,0x67])]:_0x22646b([0x45,0x53,0x32,0x35,0x36])},_0x31c9ca=_0x59eaf0[_0x22646b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22646b([0x67,0x65,0x74])](_0x22646b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5f069a(){let _0x34f59f,_0x1965e4=null,_0x180986=null;try{if(_0x31c9ca==_0x22646b([0x47,0x50,0x4c]))return _0x22646b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34f59f=_0x301de7(),!_0x34f59f)return _0x22646b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34f59f[_0x22646b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x180986=_0x41de9a(_0x34f59f[_0x22646b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34f59f[_0x22646b([0x6a,0x74,0x69])])),await _0x34ed2a()?_0x286fc9()?_0x1d8bab()?_0x22646b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11ffc4()?(_0x34f59f[_0x22646b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22646b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1965e4=_0x5a1abf(_0x22646b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34f59f[_0x22646b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22646b([0x74,0x72,0x69,0x61,0x6c])&&(_0x1965e4=_0x5a1abf(_0x22646b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a9783()):_0x22646b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22646b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22646b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x57a798){return _0x22646b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d8bab(){const _0x3b1594=[_0x22646b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22646b([0x74,0x72,0x69,0x61,0x6c])][_0x22646b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f59f[_0x22646b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34243e/0x3e8:0xe10*_0x3cd7bc;return _0x34f59f[_0x22646b([0x65,0x78,0x70])]<_0x3b1594;}function _0x286fc9(){const _0x54e1b8=_0x34f59f[_0x22646b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54e1b8&&(!!_0x54e1b8[_0x22646b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22646b([0x2a]))||!!_0x54e1b8[_0x22646b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22646b([0x41,0x49])));}function _0x11ffc4(){const _0x4bad76=_0x85d2,_0x3751a9=_0x34f59f[_0x22646b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3751a9||0x0==_0x3751a9[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f7c9b}=new URL(window[_0x22646b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4bad76(0xdc)]);if(_0x3751a9[_0x22646b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f7c9b))return!0x0;const _0x58acca=_0x1f7c9b[_0x22646b([0x73,0x70,0x6c,0x69,0x74])](_0x22646b([0x2e]));return _0x3751a9[_0x22646b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xefd5e2=>_0xefd5e2[_0x22646b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22646b([0x2a])))[_0x22646b([0x6d,0x61,0x70])](_0x2eab87=>_0x2eab87[_0x22646b([0x73,0x70,0x6c,0x69,0x74])](_0x22646b([0x2e])))[_0x22646b([0x73,0x6f,0x6d,0x65])](_0x2c1489=>_0x58acca[_0x22646b([0x65,0x76,0x65,0x72,0x79])]((_0x36c89c,_0x27e74e)=>_0x2c1489[_0x27e74e]===_0x36c89c||_0x2c1489[_0x27e74e]===_0x22646b([0x2a])));}function _0x3a9783(){return _0x1965e4&&_0x180986?new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x206f75,_0x28b1c4)=>{_0x1965e4[_0x22646b([0x74,0x68,0x65,0x6e])](_0x206f75,_0x28b1c4),_0x180986[_0x22646b([0x74,0x68,0x65,0x6e])](_0x50ff41=>{_0x50ff41!=_0x22646b([0x56,0x61,0x6c,0x69,0x64])&&_0x206f75(_0x50ff41);},_0x28b1c4);}):_0x1965e4||_0x180986||_0x22646b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41de9a(_0x540efe,_0x10183b){return new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x163a82=>{if(_0x1de2d1())return _0x163a82(_0x22646b([0x56,0x61,0x6c,0x69,0x64]));_0x24cd79(),_0x59eaf0[_0x22646b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22646b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6a38f=!0x1;const _0x3956b0=_0xf077d9();function _0x46dded(_0x4b02ea){return!!_0x4b02ea&&(typeof _0x4b02ea===_0x22646b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b02ea===_0x22646b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b02ea[_0x22646b([0x74,0x68,0x65,0x6e])]===_0x22646b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b02ea[_0x22646b([0x63,0x61,0x74,0x63,0x68])]===_0x22646b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34a57b(_0x578e51){_0x2fbef5(_0x578e51)[_0x22646b([0x74,0x68,0x65,0x6e])](_0x3b39c5=>{if(!_0x3b39c5||_0x3b39c5[_0x22646b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22646b([0x6f,0x6b]))return _0x22646b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1da9c0(_0x432294(_0x3956b0+_0x10183b))!=_0x3b39c5[_0x22646b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22646b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22646b([0x56,0x61,0x6c,0x69,0x64]);})[_0x22646b([0x74,0x68,0x65,0x6e])](_0x161cee=>(_0x2a27b6(),_0x161cee),()=>{const _0x8b2966=_0x2421ab();return null==_0x8b2966?(_0x2a27b6(),_0x22646b([0x56,0x61,0x6c,0x69,0x64])):_0x22646b(_0x34243e-_0x8b2966>(0x7d2604b4^_0x279bde)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22646b([0x74,0x68,0x65,0x6e])](_0x163a82)[_0x22646b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x163a82(_0x22646b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x190d39=0x591c6e34^_0x279bde;function _0x2a27b6(){const _0x4a3b52=_0x22646b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1da9c0(_0x432294(_0x540efe)),_0x478a93=_0x2bf659(_0x1da9c0(window[_0x22646b([0x4d,0x61,0x74,0x68])][_0x22646b([0x63,0x65,0x69,0x6c])](_0x34243e/_0x190d39)));window[_0x22646b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22646b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a3b52,_0x478a93);}function _0x2421ab(){const _0x48d089=_0x22646b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1da9c0(_0x432294(_0x540efe)),_0x17d380=window[_0x22646b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22646b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48d089);return _0x17d380?window[_0x22646b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bf659(_0x17d380),0x10)*_0x190d39:null;}function _0x2fbef5(_0x2bd403){return new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52c9ff,_0x3151e6)=>{_0x2bd403[_0x22646b([0x74,0x68,0x65,0x6e])](_0x52c9ff,_0x3151e6),window[_0x22646b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3151e6,0x592b5474^_0x279bde);});}}_0x59eaf0[_0x22646b([0x6f,0x6e])](_0x22646b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b995b,_0x4b68d5)=>{if(_0x4b68d5[0x0]!=_0x540efe)return _0x163a82(_0x22646b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b68d5[0x1]={..._0x4b68d5[0x1],[_0x22646b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3956b0};},{[_0x22646b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22646b([0x68,0x69,0x67,0x68])}),_0x59eaf0[_0x22646b([0x6f,0x6e])](_0x22646b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42d6cf=>{_0x46dded(_0x42d6cf[_0x22646b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6a38f=!0x0,_0x34a57b(_0x42d6cf[_0x22646b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22646b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22646b([0x6c,0x6f,0x77])}),_0x52d3e0[_0x22646b([0x74,0x68,0x65,0x6e])](()=>{_0x6a38f||_0x163a82(_0x22646b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1de2d1(){return _0x59eaf0[_0x22646b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22646b([0x76,0x69,0x65,0x77])][_0x22646b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22646b([0x61,0x75,0x74,0x6f]);}function _0x24cd79(){_0x59eaf0[_0x22646b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22646b([0x76,0x69,0x65,0x77])][_0x22646b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22646b([0x61,0x75,0x74,0x6f]);}}function _0x5a1abf(_0x539196){const _0x1e0c6f=[new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x587e68=>setTimeout(_0x587e68,0x5923be78^_0x279bde)),_0x52d3e0[_0x22646b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2010a9=>{let _0x2c8a6a=0x0;_0x59eaf0[_0x22646b([0x6d,0x6f,0x64,0x65,0x6c])][_0x22646b([0x6f,0x6e])](_0x22646b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12b6ab,_0x2d6bc7)=>{_0x2d6bc7[0x0][_0x22646b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c8a6a++,_0x2c8a6a==(0x592a814c^_0x279bde)&&(_0x2010a9(),_0x12b6ab[_0x22646b([0x6f,0x66,0x66])]());});}))];return window[_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22646b([0x72,0x61,0x63,0x65])](_0x1e0c6f)[_0x22646b([0x74,0x68,0x65,0x6e])](()=>_0x539196);}async function _0x2b6276(){await _0x52d3e0,_0x59eaf0[_0x22646b([0x6d,0x6f,0x64,0x65,0x6c])][_0x22646b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x297644,_0x59eaf0[_0x22646b([0x6d,0x6f,0x64,0x65,0x6c])][_0x22646b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x297644,_0x59eaf0[_0x22646b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22646b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x78784a(_0x36397c){const _0x520b90=_0x20d558();_0x59eaf0[_0x520b90]=_0x22646b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x36397c,_0x36397c!=_0x22646b([0x56,0x61,0x6c,0x69,0x64])&&_0x2b6276();}function _0x20d558(){const _0x4a2d26=window[_0x22646b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22646b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22646b([0x6e,0x6f,0x77])]())[_0x22646b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22646b([0x2e]),'');let _0x4953f4=_0x22646b([0x47]);for(let _0x12dc09=0x0;_0x12dc09<_0x4a2d26[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12dc09+=0x2){let _0x513ac0=window[_0x22646b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a2d26[_0x22646b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12dc09,_0x12dc09+0x2));_0x513ac0>=_0x3f402f[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x513ac0-=_0x3f402f[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4953f4+=_0x3f402f[_0x513ac0];}return _0x4953f4;}function _0x301de7(){const _0x395502=_0x31c9ca[_0x22646b([0x73,0x70,0x6c,0x69,0x74])](_0x22646b([0x2e]));if(0x3!=_0x395502[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18ca59(_0x395502[0x1]);function _0x18ca59(_0x1ba6c1){const _0x1317df=_0x47c119(_0x1ba6c1);return _0x1317df&&_0x119fb1()?_0x1317df:null;function _0x119fb1(){const _0x2ad49a=_0x1317df[_0x22646b([0x6a,0x74,0x69])],_0x2c3059=window[_0x22646b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ad49a[_0x22646b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ad49a[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x76496a={..._0x1317df,[_0x22646b([0x6a,0x74,0x69])]:_0x2ad49a[_0x22646b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ad49a[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x76496a[_0x22646b([0x76,0x63])],_0x432294(_0x76496a)==_0x2c3059;}}}async function _0x34ed2a(){let _0x137a8e=!0x0;try{const _0x15a38f=_0x31c9ca[_0x22646b([0x73,0x70,0x6c,0x69,0x74])](_0x22646b([0x2e])),[_0x2d0673,_0x273571,_0x14e31d]=_0x15a38f;return _0x11d38c(_0x2d0673),await _0x247b63(_0x2d0673,_0x273571,_0x14e31d),_0x137a8e;}catch(_0x3bcf91){return!0x1;}function _0x11d38c(_0x3aa93a){const _0x364d91=_0x47c119(_0x3aa93a);_0x364d91&&_0x364d91[_0x22646b([0x61,0x6c,0x67])]==_0x22646b([0x45,0x53,0x32,0x35,0x36])||(_0x137a8e=!0x1);}async function _0x247b63(_0x4b1f9f,_0x4c1dc6,_0x467933){const _0x465d63=window[_0x22646b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22646b([0x66,0x72,0x6f,0x6d])](_0x3664a1(_0x467933),_0x343a26=>_0x343a26[_0x22646b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2469f8=new window[(_0x22646b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22646b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b1f9f+_0x22646b([0x2e])+_0x4c1dc6),_0x4d2862=window[_0x22646b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22646b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d2862)return;const _0x464ba2=await _0x4d2862[_0x22646b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22646b([0x6a,0x77,0x6b]),_0x56723e,{[_0x22646b([0x6e,0x61,0x6d,0x65])]:_0x22646b([0x45,0x43,0x44,0x53,0x41]),[_0x22646b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22646b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22646b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d2862[_0x22646b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22646b([0x6e,0x61,0x6d,0x65])]:_0x22646b([0x45,0x43,0x44,0x53,0x41]),[_0x22646b([0x68,0x61,0x73,0x68])]:{[_0x22646b([0x6e,0x61,0x6d,0x65])]:_0x22646b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x464ba2,_0x465d63,_0x2469f8)||(_0x137a8e=!0x1);}}function _0x47c119(_0x5491d4){return _0x5491d4[_0x22646b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22646b([0x65,0x79]))?JSON[_0x22646b([0x70,0x61,0x72,0x73,0x65])](_0x3664a1(_0x5491d4)):null;}function _0x3664a1(_0x6c0ec1){return window[_0x22646b([0x61,0x74,0x6f,0x62])](_0x6c0ec1[_0x22646b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22646b([0x2b]))[_0x22646b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22646b([0x2f])));}function _0x432294(_0x17e3b6){let _0x480e07=0x1505;function _0x8d43cc(_0x529003){for(let _0x40e0ea=0x0;_0x40e0ea<_0x529003[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40e0ea++){const _0x5c1959=_0x529003[_0x22646b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40e0ea);_0x480e07=(_0x480e07<<0x5)+_0x480e07+_0x5c1959,_0x480e07&=_0x480e07;}}function _0x36995c(_0x4411dd){Array[_0x22646b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4411dd)?_0x4411dd[_0x22646b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36995c):_0x4411dd&&typeof _0x4411dd==_0x22646b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22646b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4411dd)[_0x22646b([0x73,0x6f,0x72,0x74])]()[_0x22646b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xbd67c9,_0x41d117])=>{_0x8d43cc(_0xbd67c9),_0x36995c(_0x41d117);}):_0x8d43cc(window[_0x22646b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4411dd));}return _0x36995c(_0x17e3b6),_0x480e07>>>0x0;}function _0x1da9c0(_0x42037b){return _0x42037b[_0x22646b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22646b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22646b([0x30]));}function _0x2bf659(_0x243468){return _0x243468[_0x22646b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22646b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22646b([0x6a,0x6f,0x69,0x6e])]('');}function _0x297644(){}function _0x22646b(_0x16286b){const _0x200de1=_0x85d2;return _0x16286b[_0x200de1(0xe2)](_0x11cd43=>String[_0x200de1(0x10c)](_0x11cd43))[_0x200de1(0x104)]('');}_0x78784a(await _0x5f069a());}(this);}[_0x1613b5(0xa6)](){const _0x4799bf=_0x1613b5,_0x7c3d2c=this[_0x4799bf(0xd1)][_0x4799bf(0xf2)];_0x7c3d2c[_0x4799bf(0xb9)](_0x513583=>{const _0xb895ec=_0x4799bf,_0x171d6d=_0x7c3d2c[_0xb895ec(0xac)][_0xb895ec(0xd0)][_0xb895ec(0xa2)]();let _0x31b434=0x0;for(const _0x127410 of _0x171d6d){const _0x195ca5=f+':'+_0x31b434;if(_0x7c3d2c[_0xb895ec(0xa0)][_0xb895ec(0x106)](_0x195ca5))_0x513583[_0xb895ec(0xc9)](_0x195ca5,{'range':_0x127410});else{if(_0x127410[_0xb895ec(0xca)][_0xb895ec(0xc4)]){const _0x4d4f71=_0x127410[_0xb895ec(0xca)][_0xb895ec(0xb4)](({item:_0x59ac1f})=>!_0x7c3d2c[_0xb895ec(0x108)][_0xb895ec(0xb7)](_0x59ac1f),{'boundaries':_0x127410});_0x513583[_0xb895ec(0xb6)](_0x195ca5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x513583[_0xb895ec(0x10e)](_0x4d4f71,_0x127410[_0xb895ec(0xde)])});}else _0x513583[_0xb895ec(0xb6)](_0x195ca5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x127410});}_0x31b434++;}});}[_0x1613b5(0xf1)](){const _0x8baa2e=_0x1613b5,_0x4d5c94=this[_0x8baa2e(0xd1)][_0x8baa2e(0xf2)],_0x374657=Array[_0x8baa2e(0x101)](this[_0x8baa2e(0xd1)][_0x8baa2e(0xf2)][_0x8baa2e(0xa0)][_0x8baa2e(0x10a)](f));_0x374657[_0x8baa2e(0xf8)]&&_0x4d5c94[_0x8baa2e(0xb9)](_0x37f8ff=>{const _0x37e33f=_0x8baa2e;_0x374657[_0x37e33f(0xbd)](_0x2b6ac7=>{const _0x4806b6=_0x37e33f;_0x37f8ff[_0x4806b6(0xef)](_0x2b6ac7);});});}[_0x1613b5(0xbb)](_0x30aeb0,_0x525f18){const _0x4af386=_0x1613b5,_0x13d1a7=this[_0x4af386(0xa7)](),_0x5c2309=_0x525f18||_0x13d1a7[_0x4af386(0xa5)]();this[_0x4af386(0xd1)][_0x4af386(0xf2)][_0x4af386(0xc8)](_0x5c2309)&&this[_0x4af386(0xd1)][_0x4af386(0xf2)][_0x4af386(0xb9)](_0x57e69e=>{const _0x5be496=_0x4af386;this[_0x5be496(0xf1)](),_0x525f18||this[_0x5be496(0xd7)](_0x57e69e,_0x13d1a7),this[_0x5be496(0xaa)]({'insertAt':_0x5c2309,'writer':_0x57e69e,'html':_0x30aeb0});});}[_0x1613b5(0xb0)](_0x124815){const _0x5e655=_0x1613b5,{model:_0x53003a}=this[_0x5e655(0xd1)],_0x5e2a92=this[_0x5e655(0xa7)]();_0x53003a[_0x5e655(0xb9)](()=>{const _0x270ae7=_0x5e655,_0x351685=this[_0x270ae7(0xeb)](_0x124815,_0x5e2a92)||this[_0x270ae7(0xaf)](_0x5e2a92);this[_0x270ae7(0xbb)](_0x124815,_0x351685);});}[_0x1613b5(0xa7)](){const _0x4b28a4=_0x1613b5,_0x48ab72=this[_0x4b28a4(0xd1)][_0x4b28a4(0xf2)],_0x176507=Array[_0x4b28a4(0x101)](_0x48ab72[_0x4b28a4(0xa0)][_0x4b28a4(0x10a)](f))[_0x4b28a4(0xe2)](_0x1aa093=>_0x1aa093[_0x4b28a4(0x103)]());return _0x48ab72[_0x4b28a4(0x100)](_0x176507);}[_0x1613b5(0xaa)]({writer:_0x26b661,html:_0x47d48e,insertAt:_0x56ca00}){const _0x24268b=_0x1613b5,{view:_0x215172}=this[_0x24268b(0xd1)][_0x24268b(0xfd)],_0x473977=this[_0x24268b(0xd1)][_0x24268b(0x109)][_0x24268b(0xa8)](_0x110b4a),_0x5199f8=new w();_0x5199f8[_0x24268b(0xdb)](_0x24268b(0xd2),_0x47d48e);const _0x521394=new ClipboardEvent(_0x24268b(0xd9),{'clipboardData':_0x5199f8}),_0x46a95c=new _0x504a23(_0x215172,_0x521394,{'dataTransfer':new _0x1585b6(_0x5199f8)});_0x26b661[_0x24268b(0xad)](_0x56ca00);const _0x132ede=(_0x8ee49a,_0x4a87db)=>{const _0x2e2ec9=_0x24268b;_0x4a87db[_0x2e2ec9(0xc0)]&&_0x26b661[_0x2e2ec9(0xad)](_0x4a87db[_0x2e2ec9(0xc0)]);};_0x473977[_0x24268b(0xf7)](_0x24268b(0xd4),_0x132ede,{'priority':_0x24268b(0xe7)}),_0x215172[_0x24268b(0xac)][_0x24268b(0xe1)](_0x24268b(0xd9),_0x46a95c),_0x473977[_0x24268b(0xba)](_0x24268b(0xd4),_0x132ede);}[_0x1613b5(0xaf)](_0x13d937){const _0x47d178=_0x1613b5,{model:_0xee8ad5}=this[_0x47d178(0xd1)],_0x4dbe5f=Array[_0x47d178(0x101)](_0x13d937[_0x47d178(0xa4)]());return _0x4dbe5f[_0x47d178(0xf8)]?_0xee8ad5[_0x47d178(0xcc)](_0x4dbe5f[_0x47d178(0xec)]()):_0x13d937[_0x47d178(0xe0)]();}[_0x1613b5(0xeb)](_0x9a54c2,_0x4c6f47){const _0x24ff3f=_0x1613b5,{model:_0x52d092,plugins:_0x40f370}=this[_0x24ff3f(0xd1)];if(_0x40f370[_0x24ff3f(0x106)](_0x24ff3f(0xd5))){const _0x132527=_0x40f370[_0x24ff3f(0xa8)](_0x24ff3f(0xd5))[_0x24ff3f(0xc2)](_0x4c6f47);if(_0x132527[_0x24ff3f(0xf8)]){const _0xe58e7f=this[_0x24ff3f(0xf6)](_0x9a54c2),_0x52ece0=this[_0x24ff3f(0xfc)](_0x132527,_0xe58e7f);return _0x52d092[_0x24ff3f(0xb2)](_0x52ece0,0x0);}}return null;}[_0x1613b5(0xf6)](_0x232b9a){const _0x5461da=_0x1613b5,_0x39fae0=this[_0x5461da(0xd1)][_0x5461da(0x109)][_0x5461da(0xa8)](_0x5461da(0xd5)),_0x2442a5=this[_0x5461da(0xd1)][_0x5461da(0xb1)][_0x5461da(0xee)](_0x232b9a),_0xd72fd5=Array[_0x5461da(0x101)](_0x2442a5[_0x5461da(0xe4)]())[_0x5461da(0xf3)](_0x6e8f5a=>_0x6e8f5a['is'](_0x5461da(0x102),_0x5461da(0xb3)));let _0x4aedba=0x0;return _0xd72fd5[_0x5461da(0xbd)](_0xba7a23=>{const _0x36fe4a=_0x5461da;_0x4aedba+=_0x39fae0[_0x36fe4a(0xff)](_0xba7a23);}),_0x4aedba;}[_0x1613b5(0xfc)](_0x3d0e7f,_0x463c74){const _0x4eb789=_0x1613b5,_0x455510=this[_0x4eb789(0xd1)][_0x4eb789(0x109)][_0x4eb789(0xa8)](_0x4eb789(0xd5)),_0x585fc3=_0x455510[_0x4eb789(0x107)](_0x3d0e7f),_0x5e6035=_0x455510[_0x4eb789(0xa1)](_0x3d0e7f),_0x519309=_0x585fc3[_0x4eb789(0xdf)]+0x1,_0xf6b759=_0x5e6035[_0x4eb789(0xa3)],_0x17ea0c=_0x3d0e7f[0x0][_0x4eb789(0xc3)](_0x4eb789(0xb3));for(let _0x12aee5=0x0;_0x12aee5<_0x463c74;_0x12aee5++)_0x455510[_0x4eb789(0xf4)](_0x17ea0c,{'at':_0x519309});return _0x17ea0c[_0x4eb789(0xce)](_0x519309)[_0x4eb789(0xce)](_0xf6b759);}[_0x1613b5(0xd7)](_0x4d4cb0,_0x152075){const _0x4ae8e6=_0x1613b5,{plugins:_0x530a06}=this[_0x4ae8e6(0xd1)],{model:_0x13e126}=_0x4d4cb0;if(!_0x530a06[_0x4ae8e6(0x106)](_0x4ae8e6(0xd5)))return;_0x530a06[_0x4ae8e6(0xa8)](_0x4ae8e6(0xd5))[_0x4ae8e6(0xc2)](_0x152075)[_0x4ae8e6(0xf8)]&&_0x13e126[_0x4ae8e6(0xbc)](_0x152075);}}
|
|
23
|
+
const _0x5431e5=_0x1c5d;(function(_0x5d34bb,_0x31ebe1){const _0x1b6b53=_0x1c5d,_0x1086dd=_0x5d34bb();while(!![]){try{const _0x2676a9=-parseInt(_0x1b6b53(0x1e5))/0x1+-parseInt(_0x1b6b53(0x1e6))/0x2+parseInt(_0x1b6b53(0x1cf))/0x3+parseInt(_0x1b6b53(0x206))/0x4+-parseInt(_0x1b6b53(0x1f8))/0x5+-parseInt(_0x1b6b53(0x1f6))/0x6*(-parseInt(_0x1b6b53(0x1a1))/0x7)+-parseInt(_0x1b6b53(0x1bc))/0x8;if(_0x2676a9===_0x31ebe1)break;else _0x1086dd['push'](_0x1086dd['shift']());}catch(_0x55b908){_0x1086dd['push'](_0x1086dd['shift']());}}}(_0x18eb,0x23b7b));import{uid as _0x144ac3}from'ckeditor5/src/utils.js';function _0x1c5d(_0x4bc3c1,_0x336b13){const _0x18eb2a=_0x18eb();return _0x1c5d=function(_0x1c5de1,_0xb8d13){_0x1c5de1=_0x1c5de1-0x19b;let _0x10095f=_0x18eb2a[_0x1c5de1];return _0x10095f;},_0x1c5d(_0x4bc3c1,_0x336b13);}function _0x18eb(){const _0x527418=['getRange','addMarker','resultRange','570573aSAjYY','getLastPosition','getSelectedBlocks','markerRange','paste','getRows','insertContent','DataTransfer','markers','ck-ai-assistant-ui_theme','ai.useTheme','setData','updateMarker','createSelection','first','last','_getAISelection','end','afterInit','contentInsertion','_createEmptyTableRows','model','263344wOdqAG','197098dfYRus','createRange','insertContentBelow','showFakeVisualSelection','getFirstRange','addClass','canEditAt','schema','editingDowncast','text/html','hideFakeVisualSelection','isCollapsed','findAncestor','getRanges','href','document','102ZfZDTw','get','212395vaNzsK','setSelection','change','TableUtils','conversion','map','_resetContentOfSelectedTableCells','for','markerToHighlight','_getDefaultInsertBelowPosition','element','createUIElement','AIAssistantEditing','start','692268mIwbXj','getLastMatchingPosition','getSelectedTableCells','ai-ui','getChild','off','isAtEnd','117082YcIJcn','init','isOfficialPlugin','push','table','editor','pluginName','config','removeMarker','pop','createPositionAfter','length','_getTableRowCountFromContent','once','_prepareTableInsertBelowPosition','editing','ck-fake-ai-selection','parse','selection','fire','getMarkersGroup','ck-fake-ai-selection_collapsed','getRowIndexes','has','span','data','fromCharCode','775432OEJpkp','insertRows','isContent','isPremiumPlugin','filter','from','join','getChildren','createPositionAt','deleteContent','lowest','forEach','_pasteHTMLUsingClipboard','plugins','getColumnIndexes','markerToElement'];_0x18eb=function(){return _0x527418;};return _0x18eb();}import{Plugin as _0x19f5da}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x532eef}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4ae97c,DataTransfer as _0x55cbe4}from'ckeditor5/src/engine.js';const w=globalThis[_0x5431e5(0x1d6)],f=_0x5431e5(0x19d);export default class a extends _0x19f5da{static get[_0x5431e5(0x1a7)](){const _0x3f6ee9=_0x5431e5;return _0x3f6ee9(0x204);}static get[_0x5431e5(0x1a3)](){return!0x0;}static get[_0x5431e5(0x1bf)](){return!0x0;}[_0x5431e5(0x1a2)](){const _0x4c3062=_0x5431e5,{editor:_0x49c61d}=this,_0x404e7f=[_0x4c3062(0x1b1)];_0x49c61d[_0x4c3062(0x1a8)][_0x4c3062(0x1f7)](_0x4c3062(0x1d9))&&_0x404e7f[_0x4c3062(0x1a4)](_0x4c3062(0x1d8)),_0x49c61d[_0x4c3062(0x1fc)][_0x4c3062(0x1ff)](_0x4c3062(0x1ee))[_0x4c3062(0x200)]({'model':f,'view':{'classes':_0x404e7f,'priority':0xc}}),_0x49c61d[_0x4c3062(0x1fc)][_0x4c3062(0x1ff)](_0x4c3062(0x1ee))[_0x4c3062(0x1cb)]({'model':f,'view':(_0x13ad74,{writer:_0x4fecef})=>{const _0x45995e=_0x4c3062;if(!_0x13ad74[_0x45995e(0x1d2)][_0x45995e(0x1f1)])return null;const _0x174caa=_0x4fecef[_0x45995e(0x203)](_0x45995e(0x1b9));return _0x4fecef[_0x45995e(0x1eb)]([_0x45995e(0x1b1),_0x45995e(0x1b6)],_0x174caa),_0x174caa;}});}[_0x5431e5(0x1e1)](){!async function(_0x3a88fd){const _0x4551d8=_0x59b81c([0x56,0x41,0x58,0x51,0x63,0x73,0x45,0x55,0x74,0x31,0x68,0x42,0x62,0x77,0x76,0x64,0x78,0x4a,0x75,0x61,0x7a,0x35,0x39,0x34,0x54,0x4d,0x69,0x49,0x44,0x6f,0x59,0x71,0x30,0x4f,0x70,0x65,0x4e,0x32,0x33,0x79,0x6b,0x6c,0x50,0x6d,0x53,0x38,0x43,0x66,0x67,0x57,0x46,0x47,0x48,0x4b,0x72,0x52,0x37,0x6a,0x5a,0x36,0x6e,0x4c]),_0x5bc878=0x3898d9d0,_0x151077=0x389f8790^_0x5bc878,_0x211ee3=window[_0x59b81c([0x44,0x61,0x74,0x65])][_0x59b81c([0x6e,0x6f,0x77])](),_0x36f474=_0x3a88fd[_0x59b81c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1407e2=new window[(_0x59b81c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24d1ac=>{_0x36f474[_0x59b81c([0x6f,0x6e,0x63,0x65])](_0x59b81c([0x72,0x65,0x61,0x64,0x79]),_0x24d1ac);}),_0x296993={[_0x59b81c([0x6b,0x74,0x79])]:_0x59b81c([0x45,0x43]),[_0x59b81c([0x75,0x73,0x65])]:_0x59b81c([0x73,0x69,0x67]),[_0x59b81c([0x63,0x72,0x76])]:_0x59b81c([0x50,0x2d,0x32,0x35,0x36]),[_0x59b81c([0x78])]:_0x59b81c([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]),[_0x59b81c([0x79])]:_0x59b81c([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]),[_0x59b81c([0x61,0x6c,0x67])]:_0x59b81c([0x45,0x53,0x32,0x35,0x36])},_0x190661=_0x36f474[_0x59b81c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59b81c([0x67,0x65,0x74])](_0x59b81c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5228e4(){let _0x377c16,_0x26052c=null,_0x344e6d=null;try{if(_0x190661==_0x59b81c([0x47,0x50,0x4c]))return _0x59b81c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x377c16=_0x4a1b58(),!_0x377c16)return _0x59b81c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x377c16[_0x59b81c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x344e6d=_0xb5ed06(_0x377c16[_0x59b81c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x377c16[_0x59b81c([0x6a,0x74,0x69])])),await _0x4a711e()?_0x47738a()?_0x28f63f()?_0x59b81c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1cc0d2()?(_0x377c16[_0x59b81c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59b81c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26052c=_0x936a1a(_0x59b81c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x377c16[_0x59b81c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59b81c([0x74,0x72,0x69,0x61,0x6c])&&(_0x26052c=_0x936a1a(_0x59b81c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d5c12()):_0x59b81c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59b81c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59b81c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x19f782){return _0x59b81c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x28f63f(){const _0x5280ab=[_0x59b81c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59b81c([0x74,0x72,0x69,0x61,0x6c])][_0x59b81c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x377c16[_0x59b81c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x211ee3/0x3e8:0xe10*_0x151077;return _0x377c16[_0x59b81c([0x65,0x78,0x70])]<_0x5280ab;}function _0x47738a(){const _0x3526cd=_0x377c16[_0x59b81c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3526cd&&(!!_0x3526cd[_0x59b81c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59b81c([0x2a]))||!!_0x3526cd[_0x59b81c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59b81c([0x41,0x49])));}function _0x1cc0d2(){const _0x52fd11=_0x1c5d,_0x4d42dd=_0x377c16[_0x59b81c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d42dd||0x0==_0x4d42dd[_0x59b81c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18f185}=new URL(window[_0x59b81c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x52fd11(0x1f4)]);if(_0x4d42dd[_0x59b81c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18f185))return!0x0;const _0x5f02ac=_0x18f185[_0x59b81c([0x73,0x70,0x6c,0x69,0x74])](_0x59b81c([0x2e]));return _0x4d42dd[_0x59b81c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36cab=>_0x36cab[_0x59b81c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59b81c([0x2a])))[_0x59b81c([0x6d,0x61,0x70])](_0x1c545e=>_0x1c545e[_0x59b81c([0x73,0x70,0x6c,0x69,0x74])](_0x59b81c([0x2e])))[_0x59b81c([0x73,0x6f,0x6d,0x65])](_0x2a66a8=>_0x5f02ac[_0x59b81c([0x65,0x76,0x65,0x72,0x79])]((_0x3bcc79,_0x39ebe1)=>_0x2a66a8[_0x39ebe1]===_0x3bcc79||_0x2a66a8[_0x39ebe1]===_0x59b81c([0x2a])));}function _0x3d5c12(){return _0x26052c&&_0x344e6d?new window[(_0x59b81c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56f7ac,_0x5edda4)=>{_0x26052c[_0x59b81c([0x74,0x68,0x65,0x6e])](_0x56f7ac,_0x5edda4),_0x344e6d[_0x59b81c([0x74,0x68,0x65,0x6e])](_0x3b949e=>{_0x3b949e!=_0x59b81c([0x56,0x61,0x6c,0x69,0x64])&&_0x56f7ac(_0x3b949e);},_0x5edda4);}):_0x26052c||_0x344e6d||_0x59b81c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb5ed06(_0x4dee3c,_0x301c4f){return new window[(_0x59b81c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ea38b=>{if(_0x2feb8d())return _0x3ea38b(_0x59b81c([0x56,0x61,0x6c,0x69,0x64]));_0x3d7bf8(),_0x36f474[_0x59b81c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59b81c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bbaba=!0x1;const _0x13cac4=_0x144ac3();function _0x1fa210(_0x2bb6e9){return!!_0x2bb6e9&&(typeof _0x2bb6e9===_0x59b81c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bb6e9===_0x59b81c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bb6e9[_0x59b81c([0x74,0x68,0x65,0x6e])]===_0x59b81c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bb6e9[_0x59b81c([0x63,0x61,0x74,0x63,0x68])]===_0x59b81c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38eab0(_0x185ce3){_0xa38280(_0x185ce3)[_0x59b81c([0x74,0x68,0x65,0x6e])](_0x442c30=>{if(!_0x442c30||_0x442c30[_0x59b81c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59b81c([0x6f,0x6b]))return _0x59b81c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3fbfd8(_0x1b956a(_0x13cac4+_0x301c4f))!=_0x442c30[_0x59b81c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59b81c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59b81c([0x56,0x61,0x6c,0x69,0x64]);})[_0x59b81c([0x74,0x68,0x65,0x6e])](_0x1c0870=>(_0x31aca3(),_0x1c0870),()=>{const _0xd14640=_0x315878();return null==_0xd14640?(_0x31aca3(),_0x59b81c([0x56,0x61,0x6c,0x69,0x64])):_0x59b81c(_0x211ee3-_0xd14640>(0x1c945dd0^_0x5bc878)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59b81c([0x74,0x68,0x65,0x6e])](_0x3ea38b)[_0x59b81c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ea38b(_0x59b81c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2695b2=0x38ae3750^_0x5bc878;function _0x31aca3(){const _0x172569=_0x59b81c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fbfd8(_0x1b956a(_0x4dee3c)),_0x49718b=_0xa2e75(_0x3fbfd8(window[_0x59b81c([0x4d,0x61,0x74,0x68])][_0x59b81c([0x63,0x65,0x69,0x6c])](_0x211ee3/_0x2695b2)));window[_0x59b81c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59b81c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x172569,_0x49718b);}function _0x315878(){const _0x516f30=_0x59b81c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fbfd8(_0x1b956a(_0x4dee3c)),_0x246aa4=window[_0x59b81c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59b81c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x516f30);return _0x246aa4?window[_0x59b81c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa2e75(_0x246aa4),0x10)*_0x2695b2:null;}function _0xa38280(_0x153c16){return new window[(_0x59b81c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x109abe,_0x1f7227)=>{_0x153c16[_0x59b81c([0x74,0x68,0x65,0x6e])](_0x109abe,_0x1f7227),window[_0x59b81c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f7227,0x38990d10^_0x5bc878);});}}_0x36f474[_0x59b81c([0x6f,0x6e])](_0x59b81c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23f99a,_0x1be50a)=>{if(_0x1be50a[0x0]!=_0x4dee3c)return _0x3ea38b(_0x59b81c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1be50a[0x1]={..._0x1be50a[0x1],[_0x59b81c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13cac4};},{[_0x59b81c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59b81c([0x68,0x69,0x67,0x68])}),_0x36f474[_0x59b81c([0x6f,0x6e])](_0x59b81c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x584094=>{_0x1fa210(_0x584094[_0x59b81c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bbaba=!0x0,_0x38eab0(_0x584094[_0x59b81c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59b81c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59b81c([0x6c,0x6f,0x77])}),_0x1407e2[_0x59b81c([0x74,0x68,0x65,0x6e])](()=>{_0x2bbaba||_0x3ea38b(_0x59b81c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2feb8d(){return _0x36f474[_0x59b81c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59b81c([0x76,0x69,0x65,0x77])][_0x59b81c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59b81c([0x61,0x75,0x74,0x6f]);}function _0x3d7bf8(){_0x36f474[_0x59b81c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59b81c([0x76,0x69,0x65,0x77])][_0x59b81c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59b81c([0x61,0x75,0x74,0x6f]);}}function _0x936a1a(_0x285b68){const _0x53e453=[new window[(_0x59b81c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42f4de=>setTimeout(_0x42f4de,0x3891e71c^_0x5bc878)),_0x1407e2[_0x59b81c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59b81c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1655f3=>{let _0x416c6e=0x0;_0x36f474[_0x59b81c([0x6d,0x6f,0x64,0x65,0x6c])][_0x59b81c([0x6f,0x6e])](_0x59b81c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3fe09e,_0xbcc25b)=>{_0xbcc25b[0x0][_0x59b81c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x416c6e++,_0x416c6e==(0x3898d828^_0x5bc878)&&(_0x1655f3(),_0x3fe09e[_0x59b81c([0x6f,0x66,0x66])]());});}))];return window[_0x59b81c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59b81c([0x72,0x61,0x63,0x65])](_0x53e453)[_0x59b81c([0x74,0x68,0x65,0x6e])](()=>_0x285b68);}async function _0x4247a8(){await _0x1407e2,_0x36f474[_0x59b81c([0x6d,0x6f,0x64,0x65,0x6c])][_0x59b81c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ae562,_0x36f474[_0x59b81c([0x6d,0x6f,0x64,0x65,0x6c])][_0x59b81c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ae562,_0x36f474[_0x59b81c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59b81c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23b08b(_0x188b03){const _0x541e5b=_0x7f325();_0x36f474[_0x541e5b]=_0x59b81c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x188b03,_0x188b03!=_0x59b81c([0x56,0x61,0x6c,0x69,0x64])&&_0x4247a8();}function _0x7f325(){const _0x4f42c5=window[_0x59b81c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59b81c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59b81c([0x6e,0x6f,0x77])]())[_0x59b81c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59b81c([0x2e]),'');let _0x1f6373=_0x59b81c([0x56]);for(let _0x31f27f=0x0;_0x31f27f<_0x4f42c5[_0x59b81c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31f27f+=0x2){let _0xe6eab=window[_0x59b81c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f42c5[_0x59b81c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31f27f,_0x31f27f+0x2));_0xe6eab>=_0x4551d8[_0x59b81c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe6eab-=_0x4551d8[_0x59b81c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f6373+=_0x4551d8[_0xe6eab];}return _0x1f6373;}function _0x4a1b58(){const _0x49704f=_0x190661[_0x59b81c([0x73,0x70,0x6c,0x69,0x74])](_0x59b81c([0x2e]));if(0x3!=_0x49704f[_0x59b81c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x759048(_0x49704f[0x1]);function _0x759048(_0x14816e){const _0x94498d=_0x2f4b2e(_0x14816e);return _0x94498d&&_0x3261c()?_0x94498d:null;function _0x3261c(){const _0x2fc06f=_0x94498d[_0x59b81c([0x6a,0x74,0x69])],_0x1712df=window[_0x59b81c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc06f[_0x59b81c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fc06f[_0x59b81c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38488a={..._0x94498d,[_0x59b81c([0x6a,0x74,0x69])]:_0x2fc06f[_0x59b81c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2fc06f[_0x59b81c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38488a[_0x59b81c([0x76,0x63])],_0x1b956a(_0x38488a)==_0x1712df;}}}async function _0x4a711e(){let _0x32be70=!0x0;try{const _0x59ece3=_0x190661[_0x59b81c([0x73,0x70,0x6c,0x69,0x74])](_0x59b81c([0x2e])),[_0x4e2b2b,_0x29e0e0,_0x5353a4]=_0x59ece3;return _0x5822db(_0x4e2b2b),await _0x2b4cfe(_0x4e2b2b,_0x29e0e0,_0x5353a4),_0x32be70;}catch(_0x573649){return!0x1;}function _0x5822db(_0x4e768b){const _0x368bc1=_0x2f4b2e(_0x4e768b);_0x368bc1&&_0x368bc1[_0x59b81c([0x61,0x6c,0x67])]==_0x59b81c([0x45,0x53,0x32,0x35,0x36])||(_0x32be70=!0x1);}async function _0x2b4cfe(_0x1548e2,_0xd03288,_0x386786){const _0x58e964=window[_0x59b81c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59b81c([0x66,0x72,0x6f,0x6d])](_0x4d654b(_0x386786),_0xf5025c=>_0xf5025c[_0x59b81c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x176126=new window[(_0x59b81c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59b81c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1548e2+_0x59b81c([0x2e])+_0xd03288),_0x42e2e0=window[_0x59b81c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59b81c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x42e2e0)return;const _0x52bc19=await _0x42e2e0[_0x59b81c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59b81c([0x6a,0x77,0x6b]),_0x296993,{[_0x59b81c([0x6e,0x61,0x6d,0x65])]:_0x59b81c([0x45,0x43,0x44,0x53,0x41]),[_0x59b81c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59b81c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59b81c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x42e2e0[_0x59b81c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59b81c([0x6e,0x61,0x6d,0x65])]:_0x59b81c([0x45,0x43,0x44,0x53,0x41]),[_0x59b81c([0x68,0x61,0x73,0x68])]:{[_0x59b81c([0x6e,0x61,0x6d,0x65])]:_0x59b81c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x52bc19,_0x58e964,_0x176126)||(_0x32be70=!0x1);}}function _0x2f4b2e(_0x2d26be){return _0x2d26be[_0x59b81c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59b81c([0x65,0x79]))?JSON[_0x59b81c([0x70,0x61,0x72,0x73,0x65])](_0x4d654b(_0x2d26be)):null;}function _0x4d654b(_0x35e9e2){return window[_0x59b81c([0x61,0x74,0x6f,0x62])](_0x35e9e2[_0x59b81c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59b81c([0x2b]))[_0x59b81c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59b81c([0x2f])));}function _0x1b956a(_0xaab7e0){let _0x5e448d=0x1505;function _0x39f8b8(_0x71ebfc){for(let _0x482f8e=0x0;_0x482f8e<_0x71ebfc[_0x59b81c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x482f8e++){const _0x46cf6c=_0x71ebfc[_0x59b81c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x482f8e);_0x5e448d=(_0x5e448d<<0x5)+_0x5e448d+_0x46cf6c,_0x5e448d&=_0x5e448d;}}function _0x56bc11(_0x6e1b0){Array[_0x59b81c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6e1b0)?_0x6e1b0[_0x59b81c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x56bc11):_0x6e1b0&&typeof _0x6e1b0==_0x59b81c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59b81c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6e1b0)[_0x59b81c([0x73,0x6f,0x72,0x74])]()[_0x59b81c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x629a77,_0xdd64c9])=>{_0x39f8b8(_0x629a77),_0x56bc11(_0xdd64c9);}):_0x39f8b8(window[_0x59b81c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6e1b0));}return _0x56bc11(_0xaab7e0),_0x5e448d>>>0x0;}function _0x3fbfd8(_0x415dc3){return _0x415dc3[_0x59b81c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59b81c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59b81c([0x30]));}function _0xa2e75(_0x87c116){return _0x87c116[_0x59b81c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59b81c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59b81c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ae562(){}function _0x59b81c(_0x40651f){const _0x5ed877=_0x1c5d;return _0x40651f[_0x5ed877(0x1fd)](_0xb517ce=>String[_0x5ed877(0x1bb)](_0xb517ce))[_0x5ed877(0x1c2)]('');}_0x23b08b(await _0x5228e4());}(this);}[_0x5431e5(0x1e9)](){const _0x7f96ca=_0x5431e5,_0x251ddf=this[_0x7f96ca(0x1a6)][_0x7f96ca(0x1e4)];_0x251ddf[_0x7f96ca(0x1fa)](_0x50947f=>{const _0x2ca311=_0x7f96ca,_0x2ea042=_0x251ddf[_0x2ca311(0x1f5)][_0x2ca311(0x1b3)][_0x2ca311(0x1f3)]();let _0x3a18c5=0x0;for(const _0x5d844a of _0x2ea042){const _0x5c7550=f+':'+_0x3a18c5;if(_0x251ddf[_0x2ca311(0x1d7)][_0x2ca311(0x1b8)](_0x5c7550))_0x50947f[_0x2ca311(0x1db)](_0x5c7550,{'range':_0x5d844a});else{if(_0x5d844a[_0x2ca311(0x205)][_0x2ca311(0x1a0)]){const _0x15a21f=_0x5d844a[_0x2ca311(0x205)][_0x2ca311(0x19b)](({item:_0x58118b})=>!_0x251ddf[_0x2ca311(0x1ed)][_0x2ca311(0x1be)](_0x58118b),{'boundaries':_0x5d844a});_0x50947f[_0x2ca311(0x1cd)](_0x5c7550,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x50947f[_0x2ca311(0x1e7)](_0x15a21f,_0x5d844a[_0x2ca311(0x1e0)])});}else _0x50947f[_0x2ca311(0x1cd)](_0x5c7550,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5d844a});}_0x3a18c5++;}});}[_0x5431e5(0x1f0)](){const _0x23cbc0=_0x5431e5,_0x3ac626=this[_0x23cbc0(0x1a6)][_0x23cbc0(0x1e4)],_0x845620=Array[_0x23cbc0(0x1c1)](this[_0x23cbc0(0x1a6)][_0x23cbc0(0x1e4)][_0x23cbc0(0x1d7)][_0x23cbc0(0x1b5)](f));_0x845620[_0x23cbc0(0x1ac)]&&_0x3ac626[_0x23cbc0(0x1fa)](_0x50b491=>{const _0x5e747f=_0x23cbc0;_0x845620[_0x5e747f(0x1c7)](_0x5774bd=>{const _0x5c4fe4=_0x5e747f;_0x50b491[_0x5c4fe4(0x1a9)](_0x5774bd);});});}[_0x5431e5(0x1d5)](_0x24c76c,_0x2d0244){const _0x3864f9=_0x5431e5,_0x26c916=this[_0x3864f9(0x1df)](),_0x371177=_0x2d0244||_0x26c916[_0x3864f9(0x1ea)]();this[_0x3864f9(0x1a6)][_0x3864f9(0x1e4)][_0x3864f9(0x1ec)](_0x371177)&&this[_0x3864f9(0x1a6)][_0x3864f9(0x1e4)][_0x3864f9(0x1fa)](_0x57cf94=>{const _0x2e2892=_0x3864f9;this[_0x2e2892(0x1f0)](),_0x2d0244||this[_0x2e2892(0x1fe)](_0x57cf94,_0x26c916),this[_0x2e2892(0x1c8)]({'insertAt':_0x371177,'writer':_0x57cf94,'html':_0x24c76c});});}[_0x5431e5(0x1e8)](_0x236aa1){const _0x3cabb4=_0x5431e5,{model:_0x561164}=this[_0x3cabb4(0x1a6)],_0x50051e=this[_0x3cabb4(0x1df)]();_0x561164[_0x3cabb4(0x1fa)](()=>{const _0x4e8e1a=_0x3cabb4,_0x372052=this[_0x4e8e1a(0x1af)](_0x236aa1,_0x50051e)||this[_0x4e8e1a(0x201)](_0x50051e);this[_0x4e8e1a(0x1d5)](_0x236aa1,_0x372052);});}[_0x5431e5(0x1df)](){const _0x374424=_0x5431e5,_0x42ff79=this[_0x374424(0x1a6)][_0x374424(0x1e4)],_0x3b4c19=Array[_0x374424(0x1c1)](_0x42ff79[_0x374424(0x1d7)][_0x374424(0x1b5)](f))[_0x374424(0x1fd)](_0x45aacb=>_0x45aacb[_0x374424(0x1cc)]());return _0x42ff79[_0x374424(0x1dc)](_0x3b4c19);}[_0x5431e5(0x1c8)]({writer:_0x395721,html:_0x4ec731,insertAt:_0x533b01}){const _0x20978a=_0x5431e5,{view:_0x4556a1}=this[_0x20978a(0x1a6)][_0x20978a(0x1b0)],_0x102413=this[_0x20978a(0x1a6)][_0x20978a(0x1c9)][_0x20978a(0x1f7)](_0x532eef),_0x669525=new w();_0x669525[_0x20978a(0x1da)](_0x20978a(0x1ef),_0x4ec731);const _0x4afdb0=new ClipboardEvent(_0x20978a(0x1d3),{'clipboardData':_0x669525}),_0x3893ff=new _0x4ae97c(_0x4556a1,_0x4afdb0,{'dataTransfer':new _0x55cbe4(_0x669525)});_0x395721[_0x20978a(0x1f9)](_0x533b01);const _0x237ca3=(_0x45d5ae,_0x3a3039)=>{const _0x2225f6=_0x20978a;_0x3a3039[_0x2225f6(0x1ce)]&&_0x395721[_0x2225f6(0x1f9)](_0x3a3039[_0x2225f6(0x1ce)]);};_0x102413[_0x20978a(0x1ae)](_0x20978a(0x1e2),_0x237ca3,{'priority':_0x20978a(0x1c6)}),_0x4556a1[_0x20978a(0x1f5)][_0x20978a(0x1b4)](_0x20978a(0x1d3),_0x3893ff),_0x102413[_0x20978a(0x19f)](_0x20978a(0x1e2),_0x237ca3);}[_0x5431e5(0x201)](_0x435641){const _0x18fb0c=_0x5431e5,{model:_0x37bda2}=this[_0x18fb0c(0x1a6)],_0x307c56=Array[_0x18fb0c(0x1c1)](_0x435641[_0x18fb0c(0x1d1)]());return _0x307c56[_0x18fb0c(0x1ac)]?_0x37bda2[_0x18fb0c(0x1ab)](_0x307c56[_0x18fb0c(0x1aa)]()):_0x435641[_0x18fb0c(0x1d0)]();}[_0x5431e5(0x1af)](_0x525d77,_0x2a6f13){const _0x5a7ee4=_0x5431e5,{model:_0xed2ef9,plugins:_0x3da958}=this[_0x5a7ee4(0x1a6)];if(_0x3da958[_0x5a7ee4(0x1b8)](_0x5a7ee4(0x1fb))){const _0x52d09a=_0x3da958[_0x5a7ee4(0x1f7)](_0x5a7ee4(0x1fb))[_0x5a7ee4(0x19c)](_0x2a6f13);if(_0x52d09a[_0x5a7ee4(0x1ac)]){const _0x739b1b=this[_0x5a7ee4(0x1ad)](_0x525d77),_0x3d2b4e=this[_0x5a7ee4(0x1e3)](_0x52d09a,_0x739b1b);return _0xed2ef9[_0x5a7ee4(0x1c4)](_0x3d2b4e,0x0);}}return null;}[_0x5431e5(0x1ad)](_0x253e5a){const _0x2bbb19=_0x5431e5,_0x505593=this[_0x2bbb19(0x1a6)][_0x2bbb19(0x1c9)][_0x2bbb19(0x1f7)](_0x2bbb19(0x1fb)),_0x16b7ce=this[_0x2bbb19(0x1a6)][_0x2bbb19(0x1ba)][_0x2bbb19(0x1b2)](_0x253e5a),_0xc774b9=Array[_0x2bbb19(0x1c1)](_0x16b7ce[_0x2bbb19(0x1c3)]())[_0x2bbb19(0x1c0)](_0x4a3088=>_0x4a3088['is'](_0x2bbb19(0x202),_0x2bbb19(0x1a5)));let _0xcdf1cd=0x0;return _0xc774b9[_0x2bbb19(0x1c7)](_0x2797d6=>{const _0x130d40=_0x2bbb19;_0xcdf1cd+=_0x505593[_0x130d40(0x1d4)](_0x2797d6);}),_0xcdf1cd;}[_0x5431e5(0x1e3)](_0x2a42a2,_0xc88604){const _0x3edc22=_0x5431e5,_0x34b33b=this[_0x3edc22(0x1a6)][_0x3edc22(0x1c9)][_0x3edc22(0x1f7)](_0x3edc22(0x1fb)),_0x403dcd=_0x34b33b[_0x3edc22(0x1b7)](_0x2a42a2),_0x38d543=_0x34b33b[_0x3edc22(0x1ca)](_0x2a42a2),_0x478995=_0x403dcd[_0x3edc22(0x1de)]+0x1,_0x1f7874=_0x38d543[_0x3edc22(0x1dd)],_0x2e8fa6=_0x2a42a2[0x0][_0x3edc22(0x1f2)](_0x3edc22(0x1a5));for(let _0x1a7b4a=0x0;_0x1a7b4a<_0xc88604;_0x1a7b4a++)_0x34b33b[_0x3edc22(0x1bd)](_0x2e8fa6,{'at':_0x478995});return _0x2e8fa6[_0x3edc22(0x19e)](_0x478995)[_0x3edc22(0x19e)](_0x1f7874);}[_0x5431e5(0x1fe)](_0x3d2d62,_0x11abb7){const _0x3ee0e0=_0x5431e5,{plugins:_0x49f92e}=this[_0x3ee0e0(0x1a6)],{model:_0x22ec08}=_0x3d2d62;if(!_0x49f92e[_0x3ee0e0(0x1b8)](_0x3ee0e0(0x1fb)))return;_0x49f92e[_0x3ee0e0(0x1f7)](_0x3ee0e0(0x1fb))[_0x3ee0e0(0x19c)](_0x11abb7)[_0x3ee0e0(0x1ac)]&&_0x22ec08[_0x3ee0e0(0x1c5)](_0x11abb7);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x54a1ee=_0x3bc6;(function(_0x579927,_0x5eff05){const _0x157974=_0x3bc6,_0x537415=_0x579927();while(!![]){try{const _0x2ddbac=-parseInt(_0x157974(0xea))/0x1+parseInt(_0x157974(0x107))/0x2+-parseInt(_0x157974(0xc5))/0x3*(-parseInt(_0x157974(0xfc))/0x4)+-parseInt(_0x157974(0xb1))/0x5+parseInt(_0x157974(0x10a))/0x6+-parseInt(_0x157974(0xbc))/0x7*(parseInt(_0x157974(0xc4))/0x8)+parseInt(_0x157974(0x12c))/0x9*(parseInt(_0x157974(0xaa))/0xa);if(_0x2ddbac===_0x5eff05)break;else _0x537415['push'](_0x537415['shift']());}catch(_0x54e2c0){_0x537415['push'](_0x537415['shift']());}}}(_0x475d,0x80d9a));import{Plugin as _0x29ecf9}from'ckeditor5/src/core.js';import{first as _0x493a51,CKEditorError as _0x16e26c}from'ckeditor5/src/utils.js';import{createDropdown as _0x502eb2,addMenuToDropdown as _0x464c14,ButtonView as _0x464cc5,MenuBarMenuListItemButtonView as _0x51b228,Dialog as _0x11cdc6,DialogViewPosition as _0x29acda,MenuBarMenuView as _0x2f42f3,MenuBarMenuListView as _0x59e6b6,MenuBarMenuListItemView as _0x41f510}from'ckeditor5/src/ui.js';import{icons as _0x44549e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3bc6(_0x59005d,_0x2e80d9){const _0x475d48=_0x475d();return _0x3bc6=function(_0x3bc691,_0xfec6df){_0x3bc691=_0x3bc691-0x8c;let _0x24a698=_0x475d48[_0x3bc691];return _0x24a698;},_0x3bc6(_0x59005d,_0x2e80d9);}import{normalizeCommandsConfig as _0x116637,UNGROUPED_COMMANDS_GROUP_ID as _0x22a62b}from'./utils/normalizecommandsconfig.js';function _0x475d(){const _0x190bd8=['filter','fire','command:','expired','574776gMnucY','_createAIAssistantUIButton','comment','655698DXuqoE','change:isError','AIAssistant','getLimitElement','aiLicenseKeyUsageLimit','enabledCommandsIds','ck-ai-assistant-ui','push','evaluationLimit','EDITOR_TOP_SIDE','requiresContent','promptView','isOfficialPlugin','getSelectedElement','values','isCollapsed','AI\x20Assistant','includes','_getResolvedCommandsDefinitions','ai.aiAssistant.disabledElements','wasMoved','selection','config','locale','invalid','view','AI\x20is\x20writing','reset','_initAriaAiStatusChangeAnnouncements','editing','from','rawHtml','prompt','_forceMarkersCopy','12117321VVHvbF','hideFakeVisualSelection','_licenseKeyCheckInterval','media','body','ai.aiAssistant.commands','execute','trialLimit','<p>','source','plugins','_uiCssClasses','showFakeVisualSelection','featureNotAllowed','menuBar:aiCommands','robotPencil','define','DataTransfer','menuitemcheckbox','currentContext','aiLicenseKeyEvaluationLimit','menuBar:aiAssistant','getSelectedBlocks','init','aiLicenseKeyExpired','bind','update','change:value','fieldView','get','announce','Error\x20during\x20AI\x20content\x20generation:\x20%0','errorView','copy','_getMenuBarGroupButtons','contentArea','\x20ck-ai-assistant-ui_theme','INSERT','hideUI','ai.aiAssistant.contentAreaCssClass','items','text','updateView','aiAssistant','ai.useTheme','order','text/html','10mCcnfi','_aiAssistantController','AI\x20Commands','aiLicenseKeyTrialLimit','document','menuView','children','988400LjYbfo','_onExecute','showUI','pluginName','replace','custom','insertContentBelow','aiCommands','change:isProcessing','_showLicenseError','ck-ai-assistant-button\x20','14XOrpnv','splice','groupLabel','textAdapter','listenTo','getData','buttons','queryView','2976496fwnuDC','3PrvRzU','_populateMenuBarMenu','licenseKey','aiLicenseKeyDomainLimit','Generated\x20content:\x20%0','map','setSelection','polite','once','tableOfContents','domainLimit','buttonView','isEnabled','_commandDefinitions','change','menuPanelClass','aiLicenseKeyInvalid','destroy','ai-commands-config-order-collision','_dialog','addMany','trim','editor','change:enabledCommandsIds','aiLicenseKeyValid','requires','render','length','</p>','getRanges','_formView','model','add','aiLicenseKeyNotAllowed','REPLACE','ck-ai-commands-dropdown\x20','usageLimit','729101AxtSqf','forEach','schema','sort','isOn','groupId','insertContent','_initView','AIAssistantUI','panelView','commands','focus','hide','set','show','isFlat','isPremiumPlugin','componentFactory','1822540XiJlUz','label','delegate','updatePosition','_aiAdapter','replaceContent','showAIAssistant'];_0x475d=function(){return _0x190bd8;};return _0x475d();}import _0x48c2f2 from'./aiassistantediting.js';import _0x21d38b from'./adapters/aiadapter.js';import{getTranslation as _0xf2dca5}from'./utils/common-translations.js';import _0x4b7b8f from'./ui/showaiassistantcommand.js';import _0x43e316 from'./ui/aiassistantcontroller.js';import _0x1c3195 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3212f4}from'./ui/form/aiformtoolbarview.js';import _0x38e38b from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x54a1ee(0x8c)];import{ClipboardMarkersUtils as _0xea9c71}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3af330,DataTransfer as _0x82bb0a}from'ckeditor5/src/engine.js';export default class n extends _0x29ecf9{static get[_0x54a1ee(0xb4)](){const _0x1e2b03=_0x54a1ee;return _0x1e2b03(0xf2);}static get[_0x54a1ee(0x116)](){return!0x0;}static get[_0x54a1ee(0xfa)](){return!0x0;}static get[_0x54a1ee(0xde)](){return[_0xea9c71,_0x48c2f2,_0x21d38b,_0x11cdc6];}constructor(_0x1dac91){const _0x999142=_0x54a1ee;super(_0x1dac91),this[_0x999142(0x137)]='',_0x1dac91[_0x999142(0x120)][_0x999142(0x13c)](_0x999142(0x11d),[_0x999142(0x12f),_0x999142(0x129),_0x999142(0xce)]),_0x1dac91[_0x999142(0x120)][_0x999142(0x13c)](_0x999142(0xa2),''),_0x1dac91[_0x999142(0x120)][_0x999142(0x13c)](_0x999142(0xa7),!0x0),this[_0x999142(0x137)]=_0x999142(0x110)+(_0x1dac91[_0x999142(0x120)][_0x999142(0x98)](_0x999142(0xa7))?_0x999142(0x9f):'');}[_0x54a1ee(0x92)](){const _0x277190=_0x54a1ee,{editor:_0x7a9076}=this;this[_0x277190(0x100)]=_0x7a9076[_0x277190(0x136)][_0x277190(0x98)](_0x21d38b),this[_0x277190(0xd8)]=_0x7a9076[_0x277190(0x136)][_0x277190(0x98)](_0x11cdc6),this[_0x277190(0xe3)]=null,this[_0x277190(0xd2)]=this[_0x277190(0x11c)]();const _0x1a73a4=new _0x4b7b8f(_0x7a9076,Array[_0x277190(0x128)](this[_0x277190(0xd2)][_0x277190(0x118)]()));_0x7a9076[_0x277190(0xf4)][_0x277190(0xe5)](_0x277190(0x102),_0x1a73a4),_0x7a9076['ui'][_0x277190(0xfb)][_0x277190(0xe5)](_0x277190(0xb8),_0x1b1b25=>{const _0x26b9e6=_0x277190,_0x1ca455=_0x502eb2(_0x1b1b25);return _0x1ca455[_0x26b9e6(0xf7)]({'class':_0x26b9e6(0xe8)+this[_0x26b9e6(0x137)]}),_0x1ca455[_0x26b9e6(0xd0)][_0x26b9e6(0xf7)]({'label':_0xf2dca5(_0x1b1b25,_0x26b9e6(0xac)),'icon':_0x38e38b,'tooltip':!0x0}),_0x1ca455['on'](_0x26b9e6(0x132),_0x32e8e9=>this[_0x26b9e6(0xb2)](_0x32e8e9[_0x26b9e6(0x135)]['id'])),_0x464c14(_0x1ca455,_0x7a9076['ui'][_0x26b9e6(0x123)][_0x26b9e6(0x130)],function(_0x25d30e){const _0x162b92=_0x26b9e6,_0x52721b=_0x116637(_0x25d30e[_0x162b92(0x120)][_0x162b92(0x98)](_0x162b92(0x131)),_0x25d30e[_0x162b92(0x121)]),_0x36b5df=U(_0x25d30e,_0x52721b)[_0x162b92(0x103)](_0x9be22b=>_0x9be22b[_0x162b92(0xf4)][_0x162b92(0xe0)]);if(0x1===_0x36b5df[_0x162b92(0xe0)])return U(_0x25d30e,_0x36b5df[0x0][_0x162b92(0xf4)])[_0x162b92(0xca)](_0x5b9877=>({'id':_0x5b9877['id'],'label':_0x5b9877[_0x162b92(0xfd)]}));return _0x36b5df[_0x162b92(0xca)](_0x5ae0fa=>{const _0x204620=_0x162b92,{groupId:_0x3a94b6,groupLabel:_0x3cb611,commands:_0xa34d52}=_0x5ae0fa,_0x470c54=U(_0x25d30e,_0xa34d52)[_0x204620(0xca)](_0x4a6ca5=>({'id':_0x4a6ca5['id'],'label':_0x4a6ca5[_0x204620(0xfd)]}));return{'id':_0x3a94b6,'menu':_0x3cb611||_0x3a94b6,'children':_0x470c54};});}(_0x7a9076),{'ariaLabel':_0xf2dca5(_0x1b1b25,_0x26b9e6(0xac))}),_0x1ca455[_0x26b9e6(0xaf)][_0x26b9e6(0xd4)]=_0x26b9e6(0xe8)+this[_0x26b9e6(0x137)],_0x1a73a4['on'](_0x26b9e6(0xdc),_0x4b5cb3),_0x1ca455[_0x26b9e6(0xaf)][_0x26b9e6(0xcd)](_0x26b9e6(0xdf),_0x4b5cb3),_0x1ca455;function _0x4b5cb3(){const _0x1f3842=_0x26b9e6;_0x1ca455[_0x1f3842(0xd1)]=_0x1a73a4[_0x1f3842(0x10f)][_0x1f3842(0xe0)]>0x0;for(const _0x286d31 of _0x1ca455[_0x1f3842(0xaf)][_0x1f3842(0xc2)])_0x286d31[_0x1f3842(0xd1)]=_0x1a73a4[_0x1f3842(0x10f)][_0x1f3842(0x11b)](_0x286d31['id']);}}),_0x7a9076['ui'][_0x277190(0xfb)][_0x277190(0xe5)](_0x277190(0x13a),_0x272865=>{const _0x421213=_0x277190,_0xa36ad8=new _0x2f42f3(_0x272865);_0xa36ad8[_0x421213(0xd0)][_0x421213(0xf7)]({'label':_0xf2dca5(_0x272865,_0x421213(0xac)),'icon':_0x38e38b}),_0xa36ad8[_0x421213(0x94)](_0x421213(0xd1))['to'](_0x1a73a4,_0x421213(0x10f),_0x4288e1=>_0x4288e1[_0x421213(0xe0)]>0x0);const _0x3fc8f2=_0x116637(_0x7a9076[_0x421213(0x120)][_0x421213(0x98)](_0x421213(0x131)),_0x272865);return this[_0x421213(0xc6)](_0x1a73a4,_0xa36ad8,_0x3fc8f2,_0x2c69ba=>this[_0x421213(0xb2)](_0x2c69ba)),_0xa36ad8;}),_0x7a9076['ui'][_0x277190(0xfb)][_0x277190(0xe5)](_0x277190(0xa6),()=>{const _0x5e09db=_0x277190,_0x4cf48c=this[_0x5e09db(0x108)](_0x464cc5);return _0x4cf48c[_0x5e09db(0xf7)]({'tooltip':!0x0,'class':_0x5e09db(0xbb)+this[_0x5e09db(0x137)]}),_0x4cf48c;}),_0x7a9076['ui'][_0x277190(0xfb)][_0x277190(0xe5)](_0x277190(0x90),()=>{const _0x27570b=_0x277190,_0x30e07d=this[_0x27570b(0x108)](_0x51b228);return _0x30e07d[_0x27570b(0xf7)]({'role':_0x27570b(0x8d)}),_0x30e07d;}),this[_0x277190(0xc7)]=this[_0x277190(0xdb)][_0x277190(0x120)][_0x277190(0x98)](_0x277190(0xc7));const _0x292914=this[_0x277190(0xdb)];this[_0x277190(0x12e)]=setInterval(()=>{const _0x291f19=_0x277190;let _0x4bd5ba;for(const _0x25eddd in _0x292914){const _0x5a4283=_0x25eddd,_0x191ddc=_0x292914[_0x5a4283];if(_0x291f19(0xdd)==_0x191ddc||_0x291f19(0xd5)==_0x191ddc||_0x291f19(0x93)==_0x191ddc||_0x291f19(0xc8)==_0x191ddc||_0x291f19(0xe6)==_0x191ddc||_0x291f19(0x8f)==_0x191ddc||_0x291f19(0xad)==_0x191ddc||_0x291f19(0x10e)==_0x191ddc){delete _0x292914[_0x5a4283],_0x4bd5ba=_0x191ddc,clearInterval(this[_0x291f19(0x12e)]),this[_0x291f19(0x12e)]=void 0x0;break;}}_0x291f19(0xd5)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0x122)),_0x291f19(0x93)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0x106)),_0x291f19(0xc8)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0xcf)),_0x291f19(0xe6)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0x139),_0x291f19(0x10c)),_0x291f19(0x8f)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0x112)),_0x291f19(0xad)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0x133)),_0x291f19(0x10e)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0xe9));},0x3e8);}[_0x54a1ee(0xd6)](){const _0x32e8d0=_0x54a1ee;super[_0x32e8d0(0xd6)](),this[_0x32e8d0(0x12e)]&&clearInterval(this[_0x32e8d0(0x12e)]);}[_0x54a1ee(0xb3)](_0x57dcd7='',_0x171f1f='',_0x47dc61=_0x54a1ee(0xb6)){const _0x7a261c=_0x54a1ee,_0x3d82b8=this[_0x7a261c(0xdb)],_0x4b13ef=_0x3d82b8[_0x7a261c(0x127)][_0x7a261c(0x123)],_0x49a2d8=_0x3d82b8[_0x7a261c(0x136)][_0x7a261c(0x98)](_0x48c2f2),_0x2a8858=_0x3d82b8[_0x7a261c(0x136)][_0x7a261c(0x98)](_0xea9c71);_0x49a2d8[_0x7a261c(0x138)]();const _0x55f9bc=new w(),_0x2bb53a=new ClipboardEvent(_0x7a261c(0x9c),{'clipboardData':_0x55f9bc}),_0x3fdb13=new _0x82bb0a(_0x55f9bc),_0x1e3be4=new _0x3af330(_0x4b13ef,_0x2bb53a,{'dataTransfer':_0x3fdb13});_0x2a8858[_0x7a261c(0x12b)](_0x7a261c(0x109),()=>{const _0x122898=_0x7a261c;_0x4b13ef[_0x122898(0xae)][_0x122898(0x104)](_0x122898(0x9c),_0x1e3be4);}),this[_0x7a261c(0xe3)]||(this[_0x7a261c(0xf1)](),this[_0x7a261c(0xab)]=new _0x43e316(_0x3d82b8,this[_0x7a261c(0x100)][_0x7a261c(0xbf)],this[_0x7a261c(0xe3)]));let _0x1167bd=_0x3fdb13[_0x7a261c(0xc1)](_0x7a261c(0xa9));const _0x5c0dfd=_0x3d82b8[_0x7a261c(0xe4)][_0x7a261c(0xae)][_0x7a261c(0x11f)],_0x4f76b5=Array[_0x7a261c(0x128)](_0x5c0dfd[_0x7a261c(0xe2)]());0x1===_0x4f76b5[_0x7a261c(0xe0)]&&_0x4f76b5[0x0][_0x7a261c(0xf9)]&&!_0x5c0dfd[_0x7a261c(0x117)]()&&''!==_0x1167bd[_0x7a261c(0xb5)](/ /g,'')[_0x7a261c(0xda)]()&&(_0x1167bd=_0x7a261c(0x134)+_0x1167bd+_0x7a261c(0xe1)),this[_0x7a261c(0xab)][_0x7a261c(0xa5)]({'actionId':_0x47dc61,'query':_0x57dcd7,'htmlContent':_0x1167bd,'label':_0x171f1f,'mainActionLabel':_0x3212f4[_0x3d82b8[_0x7a261c(0xe4)][_0x7a261c(0xae)][_0x7a261c(0x11f)][_0x7a261c(0x119)]?_0x7a261c(0xa0):_0x7a261c(0xe7)]}),_0x7a261c(0xa6)!==this[_0x7a261c(0xd8)]['id']?this[_0x7a261c(0xd8)][_0x7a261c(0xf8)]({'id':_0x7a261c(0xa6),'icon':_0x44549e[_0x7a261c(0x13b)],'title':_0xf2dca5(this[_0x7a261c(0xdb)][_0x7a261c(0x121)],_0x7a261c(0x11a)),'content':this[_0x7a261c(0xe3)],'position':_0x29acda[_0x7a261c(0x113)],'onShow':()=>{const _0x5e56b5=_0x7a261c;this[_0x5e56b5(0xe3)][_0x5e56b5(0xf5)]();},'onHide':()=>{const _0x2c40b0=_0x7a261c;this[_0x2c40b0(0xab)][_0x2c40b0(0x125)](),_0x49a2d8[_0x2c40b0(0x12d)]();}}):this[_0x7a261c(0xd8)][_0x7a261c(0x123)][_0x7a261c(0x11e)]||this[_0x7a261c(0xd8)][_0x7a261c(0x123)][_0x7a261c(0xff)]();}[_0x54a1ee(0xa1)](){const _0x3d524f=_0x54a1ee;this[_0x3d524f(0xd8)][_0x3d524f(0xf6)]();}[_0x54a1ee(0x11c)](){const _0x277da6=_0x54a1ee,_0x500932=new Map(),_0xbcc38f=_0x116637(this[_0x277da6(0xdb)][_0x277da6(0x120)][_0x277da6(0x98)](_0x277da6(0x131)),this[_0x277da6(0xdb)][_0x277da6(0x121)]);for(const _0x23c4a4 of _0xbcc38f)for(const _0x13458f of _0x23c4a4[_0x277da6(0xf4)])_0x500932[_0x277da6(0xf7)](_0x13458f['id'],{..._0x13458f,'groupId':_0x23c4a4[_0x277da6(0xef)],'groupLabel':_0x23c4a4[_0x277da6(0xbe)]||_0x23c4a4[_0x277da6(0xef)]});return _0x500932;}[_0x54a1ee(0x108)](_0x1b9a5b){const _0x48e156=_0x54a1ee,_0x54c6e0=this[_0x48e156(0xdb)],_0x1e6768=_0x54c6e0[_0x48e156(0xf4)][_0x48e156(0x98)](_0x48e156(0x102)),_0x593153=new _0x1b9a5b(_0x54c6e0[_0x48e156(0x121)]);return _0x593153[_0x48e156(0xf7)]({'label':_0xf2dca5(_0x54c6e0[_0x48e156(0x121)],_0x48e156(0x11a)),'icon':_0x44549e[_0x48e156(0x13b)],'isToggleable':!0x0}),_0x593153[_0x48e156(0x94)](_0x48e156(0xd1))['to'](_0x1e6768),_0x593153[_0x48e156(0x94)](_0x48e156(0xee))['to'](this[_0x48e156(0xd8)],'id',_0x50dc01=>_0x48e156(0xa6)===_0x50dc01),this[_0x48e156(0xc0)](_0x593153,_0x48e156(0x132),()=>{const _0x6948b3=_0x48e156;_0x593153[_0x6948b3(0xee)]?this[_0x6948b3(0xa1)]():_0x1e6768[_0x6948b3(0x132)]();}),_0x593153;}[_0x54a1ee(0xf1)](){const _0x1eff1c=_0x54a1ee,_0xebd75d=this[_0x1eff1c(0xdb)][_0x1eff1c(0x136)][_0x1eff1c(0x98)](_0x48c2f2);this[_0x1eff1c(0xe3)]=new _0x1c3195(this[_0x1eff1c(0xdb)][_0x1eff1c(0x121)],this[_0x1eff1c(0x137)],this[_0x1eff1c(0xdb)][_0x1eff1c(0x120)][_0x1eff1c(0x98)](_0x1eff1c(0xa2))),this[_0x1eff1c(0xe3)]['on'](_0x1eff1c(0x96),()=>{const _0xe8bc0b=_0x1eff1c;this[_0xe8bc0b(0xd8)][_0xe8bc0b(0x123)][_0xe8bc0b(0x11e)]||this[_0xe8bc0b(0xd8)][_0xe8bc0b(0x123)][_0xe8bc0b(0xff)]();}),this[_0x1eff1c(0xe3)][_0x1eff1c(0x115)][_0x1eff1c(0xc3)][_0x1eff1c(0x97)]['on'](_0x1eff1c(0x95),()=>{const _0x3ecafe=_0x1eff1c;this[_0x3ecafe(0xd8)][_0x3ecafe(0x123)][_0x3ecafe(0x11e)]||this[_0x3ecafe(0xd8)][_0x3ecafe(0x123)][_0x3ecafe(0xff)]();}),this[_0x1eff1c(0xc0)](this[_0x1eff1c(0xe3)],_0x1eff1c(0x101),()=>{const _0x1796e7=_0x1eff1c;_0xebd75d[_0x1796e7(0xf0)](this[_0x1796e7(0xab)][_0x1796e7(0x8e)]),this[_0x1796e7(0xa1)]();}),this[_0x1eff1c(0xc0)](this[_0x1eff1c(0xe3)],_0x1eff1c(0xb7),()=>{const _0x25eaef=_0x1eff1c;_0xebd75d[_0x25eaef(0xb7)](this[_0x25eaef(0xab)][_0x25eaef(0x8e)]),this[_0x25eaef(0xa1)]();}),this[_0x1eff1c(0x126)]();}[_0x54a1ee(0x126)](){const _0x2939b3=_0x54a1ee,{locale:_0x348fc3,ui:{ariaLiveAnnouncer:_0xff5fb0}}=this[_0x2939b3(0xdb)];this[_0x2939b3(0xe3)][_0x2939b3(0x9e)]['on'](_0x2939b3(0xb9),(_0x1f5dd1,_0x4c8c55,_0xc3ce0c)=>{const _0x26914d=_0x2939b3,_0x14c3d4=this[_0x26914d(0xab)][_0x26914d(0x8e)];_0xc3ce0c?_0xff5fb0[_0x26914d(0x99)](_0xf2dca5(_0x348fc3,_0x26914d(0x124))):_0x14c3d4&&_0xff5fb0[_0x26914d(0x99)](_0xf2dca5(_0x348fc3,_0x26914d(0xc9),_0x14c3d4),{'politeness':_0x26914d(0xcc),'isUnsafeHTML':!0x0});}),this[_0x2939b3(0xe3)]['on'](_0x2939b3(0x10b),(_0x39323f,_0x3d117e,_0x234c12)=>{const _0x2cecd6=_0x2939b3;if(_0x234c12){const _0x17ca9e=this[_0x2cecd6(0xe3)][_0x2cecd6(0x9b)][_0x2cecd6(0xa4)];_0xff5fb0[_0x2cecd6(0x99)](_0xf2dca5(_0x348fc3,_0x2cecd6(0x9a),_0x17ca9e));}});}[_0x54a1ee(0xb2)](_0x2e54e6){const _0x4476e9=_0x54a1ee,_0x3c8c4c=this[_0x4476e9(0xd2)][_0x4476e9(0x98)](_0x2e54e6),_0x5b181b=this[_0x4476e9(0xdb)],_0x128edd=_0x5b181b[_0x4476e9(0xe4)][_0x4476e9(0xae)][_0x4476e9(0x11f)],_0x24c5bc=_0x5b181b[_0x4476e9(0xf4)][_0x4476e9(0x98)](_0x4476e9(0x102)),_0x68849a=_0x5b181b[_0x4476e9(0x136)][_0x4476e9(0x98)](_0x48c2f2),_0x17c20e=''+(_0x3c8c4c[_0x4476e9(0xef)]!==_0x22a62b?_0x3c8c4c[_0x4476e9(0xbe)]+':\x20':'')+_0x3c8c4c[_0x4476e9(0xfd)];if(!0x1!==_0x3c8c4c[_0x4476e9(0x114)]&&_0x128edd[_0x4476e9(0x119)]){const _0x4ced5e=_0x493a51(_0x128edd[_0x4476e9(0x91)]())||_0x5b181b[_0x4476e9(0xe4)][_0x4476e9(0xec)][_0x4476e9(0x10d)](_0x128edd);_0x5b181b[_0x4476e9(0xe4)][_0x4476e9(0xd3)](_0x286e89=>{const _0x5a0e6b=_0x4476e9;_0x286e89[_0x5a0e6b(0xcb)](_0x4ced5e,'in');});}_0x68849a[_0x4476e9(0x138)](),_0x24c5bc[_0x4476e9(0x132)](_0x3c8c4c[_0x4476e9(0x12a)],_0x17c20e,_0x4476e9(0x105)+_0x2e54e6);}[_0x54a1ee(0xc6)](_0xbd4977,_0x51db0e,_0x2f02cf,_0x567d00){const _0x3be17a=_0x54a1ee,_0x2af4eb=this[_0x3be17a(0xdb)],_0x4c1d74=_0x2af4eb[_0x3be17a(0x121)],_0x43fd63=new _0x59e6b6(_0x4c1d74),_0x208fc9=U(_0x2af4eb,_0x2f02cf)[_0x3be17a(0x103)](_0x51bc28=>_0x51bc28[_0x3be17a(0xf4)][_0x3be17a(0xe0)]);0x1===_0x208fc9[_0x3be17a(0xe0)]?this[_0x3be17a(0x9d)]({'command':_0xbd4977,'commands':_0x208fc9[0x0][_0x3be17a(0xf4)],'parentMenuView':_0x51db0e,'onExecute':_0x567d00})[_0x3be17a(0xeb)](_0x1967ae=>_0x43fd63[_0x3be17a(0xa3)][_0x3be17a(0xe5)](_0x1967ae)):_0x208fc9[_0x3be17a(0xeb)](({groupId:_0x1adeac,groupLabel:_0x4fa5b8,commands:_0xfef36b})=>{const _0x1b4510=_0x3be17a,_0x170d80=new _0x41f510(_0x4c1d74,_0x51db0e),_0x28aada=new _0x2f42f3(_0x4c1d74),_0x1f8a48=new _0x59e6b6(_0x4c1d74),_0x1b98fe=this[_0x1b4510(0x9d)]({'command':_0xbd4977,'commands':_0xfef36b,'parentMenuView':_0x28aada,'onExecute':_0x567d00});_0x28aada[_0x1b4510(0xd0)][_0x1b4510(0xf7)]({'label':_0x4fa5b8||_0x1adeac}),_0x28aada[_0x1b4510(0xfe)](_0x1b4510(0x132))['to'](_0x51db0e),_0x1f8a48[_0x1b4510(0xa3)][_0x1b4510(0xd9)](_0x1b98fe),_0x28aada[_0x1b4510(0xf3)][_0x1b4510(0xb0)][_0x1b4510(0xe5)](_0x1f8a48),_0x170d80[_0x1b4510(0xb0)][_0x1b4510(0xe5)](_0x28aada),_0x43fd63[_0x1b4510(0xa3)][_0x1b4510(0xe5)](_0x170d80);}),_0x51db0e[_0x3be17a(0xf3)][_0x3be17a(0xb0)][_0x3be17a(0xe5)](_0x43fd63);}[_0x54a1ee(0x9d)]({command:_0x120005,commands:_0x2a96b1,parentMenuView:_0x48a367,onExecute:_0x2d003e}){const _0x63ca38=_0x54a1ee,_0x18009e=this[_0x63ca38(0xdb)],_0x2d0c4c=_0x18009e[_0x63ca38(0x121)];return U(_0x18009e,_0x2a96b1)[_0x63ca38(0xca)](_0x3c533a=>{const _0x6c8a41=_0x63ca38,_0xcf395b=new _0x41f510(_0x2d0c4c,_0x48a367),_0x4d5265=new _0x51b228(_0x2d0c4c);return _0x4d5265[_0x6c8a41(0xf7)]({'label':_0x3c533a[_0x6c8a41(0xfd)]}),_0x4d5265[_0x6c8a41(0xfe)](_0x6c8a41(0x132))['to'](_0x48a367),_0x4d5265['on'](_0x6c8a41(0x132),()=>_0x2d003e(_0x3c533a['id'])),_0x4d5265[_0x6c8a41(0x94)](_0x6c8a41(0xd1))['to'](_0x120005,_0x6c8a41(0x10f),_0x376892=>_0x376892[_0x6c8a41(0x11b)](_0x3c533a['id'])),_0xcf395b[_0x6c8a41(0xb0)][_0x6c8a41(0xe5)](_0x4d5265),_0xcf395b;});}}function B(_0xf6d3e0,_0x181111){const _0x4d6631=_0x54a1ee;return void 0x0!==_0xf6d3e0[_0x4d6631(0xa8)]&&void 0x0===_0x181111[_0x4d6631(0xa8)]?0x1:void 0x0===_0xf6d3e0[_0x4d6631(0xa8)]&&void 0x0!==_0x181111[_0x4d6631(0xa8)]?-0x1:void 0x0!==_0xf6d3e0[_0x4d6631(0xa8)]&&void 0x0!==_0x181111[_0x4d6631(0xa8)]?_0xf6d3e0[_0x4d6631(0xa8)]-_0x181111[_0x4d6631(0xa8)]:0x0;}function U(_0x166bdc,_0x3affa5){const _0x23dc23=_0x54a1ee;_0x3affa5[_0x23dc23(0xed)](B);const _0x39def3={},_0x16cc6f=[];for(const _0x128d59 of _0x3affa5)if(void 0x0!==_0x128d59[_0x23dc23(0xa8)]){if(_0x128d59[_0x23dc23(0xa8)]in _0x39def3)throw new _0x16e26c(_0x23dc23(0xd7),_0x166bdc,{'conflictingDefinitions':[_0x128d59,_0x39def3[_0x128d59[_0x23dc23(0xa8)]]]});_0x39def3[_0x128d59[_0x23dc23(0xa8)]]=_0x128d59,_0x16cc6f[_0x23dc23(0xbd)](_0x128d59[_0x23dc23(0xa8)],0x0,_0x128d59);}else _0x16cc6f[_0x23dc23(0x111)](_0x128d59);return _0x16cc6f;}
|
|
23
|
+
const _0x303316=_0x4b3d;(function(_0x503534,_0x3bbea6){const _0x44580d=_0x4b3d,_0x313f8a=_0x503534();while(!![]){try{const _0x4a6f05=parseInt(_0x44580d(0x1c2))/0x1+parseInt(_0x44580d(0x1aa))/0x2+parseInt(_0x44580d(0x13f))/0x3+-parseInt(_0x44580d(0x1ab))/0x4*(-parseInt(_0x44580d(0x130))/0x5)+-parseInt(_0x44580d(0x127))/0x6+parseInt(_0x44580d(0x1cb))/0x7+-parseInt(_0x44580d(0x1d0))/0x8;if(_0x4a6f05===_0x3bbea6)break;else _0x313f8a['push'](_0x313f8a['shift']());}catch(_0x4ce4da){_0x313f8a['push'](_0x313f8a['shift']());}}}(_0x747b,0x7a429));import{Plugin as _0x3e5fda}from'ckeditor5/src/core.js';import{first as _0x3546d8,CKEditorError as _0x4f7b51}from'ckeditor5/src/utils.js';import{createDropdown as _0x596ce9,addMenuToDropdown as _0x48cfbe,ButtonView as _0x4b67b5,MenuBarMenuListItemButtonView as _0x2e49be,Dialog as _0x4bf03e,DialogViewPosition as _0x71e016,MenuBarMenuView as _0x2008d9,MenuBarMenuListView as _0x5ab811,MenuBarMenuListItemView as _0x139532}from'ckeditor5/src/ui.js';import{icons as _0x418997}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x35e1f8,UNGROUPED_COMMANDS_GROUP_ID as _0x5ec769}from'./utils/normalizecommandsconfig.js';function _0x4b3d(_0x1ffd39,_0x1b5a4f){const _0x747b92=_0x747b();return _0x4b3d=function(_0x4b3dba,_0x697f02){_0x4b3dba=_0x4b3dba-0x123;let _0x1ea86d=_0x747b92[_0x4b3dba];return _0x1ea86d;},_0x4b3d(_0x1ffd39,_0x1b5a4f);}function _0x747b(){const _0x33dafe=['editor','aiLicenseKeyValid','componentFactory','ck-ai-assistant-ui','_forceMarkersCopy','_formView','robotPencil','isOn','fieldView','groupLabel','change:isProcessing','children','change','REPLACE','requires','body','source','tableOfContents','ck-ai-commands-dropdown\x20','text/html','reset','_populateMenuBarMenu','\x20ck-ai-assistant-ui_theme','text','replaceContent','pluginName','splice','ai.aiAssistant.disabledElements','<p>','EDITOR_TOP_SIDE','wasMoved','getSelectedElement','getLimitElement','hideFakeVisualSelection','setSelection','change:value','set','aiLicenseKeyTrialLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiLicenseKeyEvaluationLimit','aiLicenseKeyExpired','buttonView','aiLicenseKeyInvalid','aiLicenseKeyDomainLimit','focus','addMany','textAdapter','insertContent','insertContentBelow','replace','render','updateView','push','polite','filter','showFakeVisualSelection','_initAriaAiStatusChangeAnnouncements','menuView','menuBar:aiCommands','update','includes','hideUI','locale','AI\x20is\x20writing','config','aiLicenseKeyNotAllowed','model','schema','fire','menuitemcheckbox','getSelectedBlocks','evaluationLimit','DataTransfer','invalid','promptView','isPremiumPlugin','isEnabled','ai.useTheme','ai-commands-config-order-collision','getRanges','comment','AIAssistantUI','view','AI\x20Assistant','custom','822104FZYzPT','404jcAaET','requiresContent','domainLimit','label','prompt','plugins','values','licenseKey','INSERT','_commandDefinitions','featureNotAllowed','get','command:','hide','_onExecute','_aiAdapter','isOfficialPlugin','change:isError','errorView','_licenseKeyCheckInterval','ai.aiAssistant.commands','expired','enabledCommandsIds','236921MkxEWQ','menuPanelClass','items','_dialog','showAIAssistant','rawHtml','length','bind','sort','6107913VjdvLY','change:enabledCommandsIds','isFlat','_getResolvedCommandsDefinitions','commands','13478208xGYtUK','init','map','order','showUI','trialLimit','2523984pZYScX','forEach','AI\x20Commands','_uiCssClasses','_createAIAssistantUIButton','ai.aiAssistant.contentAreaCssClass','show','listenTo','aiAssistant','30295uMIBkd','currentContext','_initView','AIAssistant','trim','announce','document','contentArea','from','isCollapsed','panelView','_getMenuBarGroupButtons','ck-ai-assistant-button\x20','</p>','copy','1421178hltcKW','groupId','_aiAssistantController','editing','selection','_showLicenseError','media','destroy','execute','updatePosition','define','add','getData','usageLimit','queryView','once','buttons','delegate','aiLicenseKeyUsageLimit','Generated\x20content:\x20%0','aiCommands','menuBar:aiAssistant'];_0x747b=function(){return _0x33dafe;};return _0x747b();}import _0x20ed8d from'./aiassistantediting.js';import _0x21a349 from'./adapters/aiadapter.js';import{getTranslation as _0x318001}from'./utils/common-translations.js';import _0xcff58b from'./ui/showaiassistantcommand.js';import _0x404cdd from'./ui/aiassistantcontroller.js';import _0x51561c from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x735d0d}from'./ui/form/aiformtoolbarview.js';import _0x3b8ae2 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x303316(0x19d)];import{ClipboardMarkersUtils as _0x31aca0}from'ckeditor5/src/clipboard.js';import{DomEventData as _0xd10e15,DataTransfer as _0x53a0bc}from'ckeditor5/src/engine.js';export default class n extends _0x3e5fda{static get[_0x303316(0x16e)](){const _0x2a0e1a=_0x303316;return _0x2a0e1a(0x1a6);}static get[_0x303316(0x1bb)](){return!0x0;}static get[_0x303316(0x1a0)](){return!0x0;}static get[_0x303316(0x163)](){return[_0x31aca0,_0x20ed8d,_0x21a349,_0x4bf03e];}constructor(_0x79d020){const _0x587040=_0x303316;super(_0x79d020),this[_0x587040(0x12a)]='',_0x79d020[_0x587040(0x195)][_0x587040(0x149)](_0x587040(0x170),[_0x587040(0x145),_0x587040(0x1c7),_0x587040(0x166)]),_0x79d020[_0x587040(0x195)][_0x587040(0x149)](_0x587040(0x12c),''),_0x79d020[_0x587040(0x195)][_0x587040(0x149)](_0x587040(0x1a2),!0x0),this[_0x587040(0x12a)]=_0x587040(0x158)+(_0x79d020[_0x587040(0x195)][_0x587040(0x1b6)](_0x587040(0x1a2))?_0x587040(0x16b):'');}[_0x303316(0x1d1)](){const _0x193f6d=_0x303316,{editor:_0x5312fd}=this;this[_0x193f6d(0x1ba)]=_0x5312fd[_0x193f6d(0x1b0)][_0x193f6d(0x1b6)](_0x21a349),this[_0x193f6d(0x1c5)]=_0x5312fd[_0x193f6d(0x1b0)][_0x193f6d(0x1b6)](_0x4bf03e),this[_0x193f6d(0x15a)]=null,this[_0x193f6d(0x1b4)]=this[_0x193f6d(0x1ce)]();const _0x3613e9=new _0xcff58b(_0x5312fd,Array[_0x193f6d(0x138)](this[_0x193f6d(0x1b4)][_0x193f6d(0x1b1)]()));_0x5312fd[_0x193f6d(0x1cf)][_0x193f6d(0x14a)](_0x193f6d(0x1c6),_0x3613e9),_0x5312fd['ui'][_0x193f6d(0x157)][_0x193f6d(0x14a)](_0x193f6d(0x153),_0x23818d=>{const _0x247785=_0x193f6d,_0x1ee559=_0x596ce9(_0x23818d);return _0x1ee559[_0x247785(0x179)]({'class':_0x247785(0x167)+this[_0x247785(0x12a)]}),_0x1ee559[_0x247785(0x17e)][_0x247785(0x179)]({'label':_0x318001(_0x23818d,_0x247785(0x129)),'icon':_0x3b8ae2,'tooltip':!0x0}),_0x1ee559['on'](_0x247785(0x147),_0x156497=>this[_0x247785(0x1b9)](_0x156497[_0x247785(0x165)]['id'])),_0x48cfbe(_0x1ee559,_0x5312fd['ui'][_0x247785(0x1a7)][_0x247785(0x164)],function(_0xe667ae){const _0x5c913a=_0x247785,_0x36cbc1=_0x35e1f8(_0xe667ae[_0x5c913a(0x195)][_0x5c913a(0x1b6)](_0x5c913a(0x1bf)),_0xe667ae[_0x5c913a(0x193)]),_0x58dd0b=U(_0xe667ae,_0x36cbc1)[_0x5c913a(0x18b)](_0x4bf64d=>_0x4bf64d[_0x5c913a(0x1cf)][_0x5c913a(0x1c8)]);if(0x1===_0x58dd0b[_0x5c913a(0x1c8)])return U(_0xe667ae,_0x58dd0b[0x0][_0x5c913a(0x1cf)])[_0x5c913a(0x123)](_0x1399c6=>({'id':_0x1399c6['id'],'label':_0x1399c6[_0x5c913a(0x1ae)]}));return _0x58dd0b[_0x5c913a(0x123)](_0x25da3f=>{const _0x290e05=_0x5c913a,{groupId:_0xed4230,groupLabel:_0x370533,commands:_0x7d97e3}=_0x25da3f,_0x2825d6=U(_0xe667ae,_0x7d97e3)[_0x290e05(0x123)](_0x2af286=>({'id':_0x2af286['id'],'label':_0x2af286[_0x290e05(0x1ae)]}));return{'id':_0xed4230,'menu':_0x370533||_0xed4230,'children':_0x2825d6};});}(_0x5312fd),{'ariaLabel':_0x318001(_0x23818d,_0x247785(0x129))}),_0x1ee559[_0x247785(0x18e)][_0x247785(0x1c3)]=_0x247785(0x167)+this[_0x247785(0x12a)],_0x3613e9['on'](_0x247785(0x1cc),_0x48559a),_0x1ee559[_0x247785(0x18e)][_0x247785(0x14e)](_0x247785(0x187),_0x48559a),_0x1ee559;function _0x48559a(){const _0x6a0171=_0x247785;_0x1ee559[_0x6a0171(0x1a1)]=_0x3613e9[_0x6a0171(0x1c1)][_0x6a0171(0x1c8)]>0x0;for(const _0x4bca21 of _0x1ee559[_0x6a0171(0x18e)][_0x6a0171(0x14f)])_0x4bca21[_0x6a0171(0x1a1)]=_0x3613e9[_0x6a0171(0x1c1)][_0x6a0171(0x191)](_0x4bca21['id']);}}),_0x5312fd['ui'][_0x193f6d(0x157)][_0x193f6d(0x14a)](_0x193f6d(0x18f),_0x259cd9=>{const _0x59c343=_0x193f6d,_0x2eb234=new _0x2008d9(_0x259cd9);_0x2eb234[_0x59c343(0x17e)][_0x59c343(0x179)]({'label':_0x318001(_0x259cd9,_0x59c343(0x129)),'icon':_0x3b8ae2}),_0x2eb234[_0x59c343(0x1c9)](_0x59c343(0x1a1))['to'](_0x3613e9,_0x59c343(0x1c1),_0x4eac47=>_0x4eac47[_0x59c343(0x1c8)]>0x0);const _0x229e73=_0x35e1f8(_0x5312fd[_0x59c343(0x195)][_0x59c343(0x1b6)](_0x59c343(0x1bf)),_0x259cd9);return this[_0x59c343(0x16a)](_0x3613e9,_0x2eb234,_0x229e73,_0xf031bb=>this[_0x59c343(0x1b9)](_0xf031bb)),_0x2eb234;}),_0x5312fd['ui'][_0x193f6d(0x157)][_0x193f6d(0x14a)](_0x193f6d(0x12f),()=>{const _0x167fe9=_0x193f6d,_0x1a74c2=this[_0x167fe9(0x12b)](_0x4b67b5);return _0x1a74c2[_0x167fe9(0x179)]({'tooltip':!0x0,'class':_0x167fe9(0x13c)+this[_0x167fe9(0x12a)]}),_0x1a74c2;}),_0x5312fd['ui'][_0x193f6d(0x157)][_0x193f6d(0x14a)](_0x193f6d(0x154),()=>{const _0x2dd4dc=_0x193f6d,_0xd9d467=this[_0x2dd4dc(0x12b)](_0x2e49be);return _0xd9d467[_0x2dd4dc(0x179)]({'role':_0x2dd4dc(0x19a)}),_0xd9d467;}),this[_0x193f6d(0x1b2)]=this[_0x193f6d(0x155)][_0x193f6d(0x195)][_0x193f6d(0x1b6)](_0x193f6d(0x1b2));const _0x58d72e=this[_0x193f6d(0x155)];this[_0x193f6d(0x1be)]=setInterval(()=>{const _0x58fac1=_0x193f6d;let _0x1ea25a;for(const _0xc044dd in _0x58d72e){const _0xd25ec2=_0xc044dd,_0xbfa9ff=_0x58d72e[_0xd25ec2];if(_0x58fac1(0x156)==_0xbfa9ff||_0x58fac1(0x17f)==_0xbfa9ff||_0x58fac1(0x17d)==_0xbfa9ff||_0x58fac1(0x180)==_0xbfa9ff||_0x58fac1(0x196)==_0xbfa9ff||_0x58fac1(0x17c)==_0xbfa9ff||_0x58fac1(0x17a)==_0xbfa9ff||_0x58fac1(0x151)==_0xbfa9ff){delete _0x58d72e[_0xd25ec2],_0x1ea25a=_0xbfa9ff,clearInterval(this[_0x58fac1(0x1be)]),this[_0x58fac1(0x1be)]=void 0x0;break;}}_0x58fac1(0x17f)==_0x1ea25a&&_0x58d72e[_0x58fac1(0x144)](_0x58fac1(0x19e)),_0x58fac1(0x17d)==_0x1ea25a&&_0x58d72e[_0x58fac1(0x144)](_0x58fac1(0x1c0)),_0x58fac1(0x180)==_0x1ea25a&&_0x58d72e[_0x58fac1(0x144)](_0x58fac1(0x1ad)),_0x58fac1(0x196)==_0x1ea25a&&_0x58d72e[_0x58fac1(0x144)](_0x58fac1(0x1b5),_0x58fac1(0x133)),_0x58fac1(0x17c)==_0x1ea25a&&_0x58d72e[_0x58fac1(0x144)](_0x58fac1(0x19c)),_0x58fac1(0x17a)==_0x1ea25a&&_0x58d72e[_0x58fac1(0x144)](_0x58fac1(0x126)),_0x58fac1(0x151)==_0x1ea25a&&_0x58d72e[_0x58fac1(0x144)](_0x58fac1(0x14c));},0x3e8);}[_0x303316(0x146)](){const _0x11335c=_0x303316;super[_0x11335c(0x146)](),this[_0x11335c(0x1be)]&&clearInterval(this[_0x11335c(0x1be)]);}[_0x303316(0x125)](_0x1713a0='',_0x4b0924='',_0x38a5c4=_0x303316(0x1a9)){const _0x3e67d3=_0x303316,_0x291b30=this[_0x3e67d3(0x155)],_0x5bdbb2=_0x291b30[_0x3e67d3(0x142)][_0x3e67d3(0x1a7)],_0x389040=_0x291b30[_0x3e67d3(0x1b0)][_0x3e67d3(0x1b6)](_0x20ed8d),_0x3a646c=_0x291b30[_0x3e67d3(0x1b0)][_0x3e67d3(0x1b6)](_0x31aca0);_0x389040[_0x3e67d3(0x18c)]();const _0x39e138=new w(),_0x46589a=new ClipboardEvent(_0x3e67d3(0x13e),{'clipboardData':_0x39e138}),_0x33904a=new _0x53a0bc(_0x39e138),_0x4022d1=new _0xd10e15(_0x5bdbb2,_0x46589a,{'dataTransfer':_0x33904a});_0x3a646c[_0x3e67d3(0x159)](_0x3e67d3(0x1a5),()=>{const _0x40453e=_0x3e67d3;_0x5bdbb2[_0x40453e(0x136)][_0x40453e(0x199)](_0x40453e(0x13e),_0x4022d1);}),this[_0x3e67d3(0x15a)]||(this[_0x3e67d3(0x132)](),this[_0x3e67d3(0x141)]=new _0x404cdd(_0x291b30,this[_0x3e67d3(0x1ba)][_0x3e67d3(0x183)],this[_0x3e67d3(0x15a)]));let _0x23b22c=_0x33904a[_0x3e67d3(0x14b)](_0x3e67d3(0x168));const _0x15936a=_0x291b30[_0x3e67d3(0x197)][_0x3e67d3(0x136)][_0x3e67d3(0x143)],_0x53ab37=Array[_0x3e67d3(0x138)](_0x15936a[_0x3e67d3(0x1a4)]());0x1===_0x53ab37[_0x3e67d3(0x1c8)]&&_0x53ab37[0x0][_0x3e67d3(0x1cd)]&&!_0x15936a[_0x3e67d3(0x174)]()&&''!==_0x23b22c[_0x3e67d3(0x186)](/ /g,'')[_0x3e67d3(0x134)]()&&(_0x23b22c=_0x3e67d3(0x171)+_0x23b22c+_0x3e67d3(0x13d)),this[_0x3e67d3(0x141)][_0x3e67d3(0x188)]({'actionId':_0x38a5c4,'query':_0x1713a0,'htmlContent':_0x23b22c,'label':_0x4b0924,'mainActionLabel':_0x735d0d[_0x291b30[_0x3e67d3(0x197)][_0x3e67d3(0x136)][_0x3e67d3(0x143)][_0x3e67d3(0x139)]?_0x3e67d3(0x1b3):_0x3e67d3(0x162)]}),_0x3e67d3(0x12f)!==this[_0x3e67d3(0x1c5)]['id']?this[_0x3e67d3(0x1c5)][_0x3e67d3(0x12d)]({'id':_0x3e67d3(0x12f),'icon':_0x418997[_0x3e67d3(0x15b)],'title':_0x318001(this[_0x3e67d3(0x155)][_0x3e67d3(0x193)],_0x3e67d3(0x1a8)),'content':this[_0x3e67d3(0x15a)],'position':_0x71e016[_0x3e67d3(0x172)],'onShow':()=>{const _0x4522ce=_0x3e67d3;this[_0x4522ce(0x15a)][_0x4522ce(0x181)]();},'onHide':()=>{const _0xcb5838=_0x3e67d3;this[_0xcb5838(0x141)][_0xcb5838(0x169)](),_0x389040[_0xcb5838(0x176)]();}}):this[_0x3e67d3(0x1c5)][_0x3e67d3(0x1a7)][_0x3e67d3(0x173)]||this[_0x3e67d3(0x1c5)][_0x3e67d3(0x1a7)][_0x3e67d3(0x148)]();}[_0x303316(0x192)](){const _0x1ed4dd=_0x303316;this[_0x1ed4dd(0x1c5)][_0x1ed4dd(0x1b8)]();}[_0x303316(0x1ce)](){const _0x30f10a=_0x303316,_0x2d44bc=new Map(),_0x2fd134=_0x35e1f8(this[_0x30f10a(0x155)][_0x30f10a(0x195)][_0x30f10a(0x1b6)](_0x30f10a(0x1bf)),this[_0x30f10a(0x155)][_0x30f10a(0x193)]);for(const _0x4b782e of _0x2fd134)for(const _0x551ff0 of _0x4b782e[_0x30f10a(0x1cf)])_0x2d44bc[_0x30f10a(0x179)](_0x551ff0['id'],{..._0x551ff0,'groupId':_0x4b782e[_0x30f10a(0x140)],'groupLabel':_0x4b782e[_0x30f10a(0x15e)]||_0x4b782e[_0x30f10a(0x140)]});return _0x2d44bc;}[_0x303316(0x12b)](_0x3cad44){const _0xfa9203=_0x303316,_0x19ae19=this[_0xfa9203(0x155)],_0x54d2ff=_0x19ae19[_0xfa9203(0x1cf)][_0xfa9203(0x1b6)](_0xfa9203(0x1c6)),_0x1e68dc=new _0x3cad44(_0x19ae19[_0xfa9203(0x193)]);return _0x1e68dc[_0xfa9203(0x179)]({'label':_0x318001(_0x19ae19[_0xfa9203(0x193)],_0xfa9203(0x1a8)),'icon':_0x418997[_0xfa9203(0x15b)],'isToggleable':!0x0}),_0x1e68dc[_0xfa9203(0x1c9)](_0xfa9203(0x1a1))['to'](_0x54d2ff),_0x1e68dc[_0xfa9203(0x1c9)](_0xfa9203(0x15c))['to'](this[_0xfa9203(0x1c5)],'id',_0x251008=>_0xfa9203(0x12f)===_0x251008),this[_0xfa9203(0x12e)](_0x1e68dc,_0xfa9203(0x147),()=>{const _0x543b1f=_0xfa9203;_0x1e68dc[_0x543b1f(0x15c)]?this[_0x543b1f(0x192)]():_0x54d2ff[_0x543b1f(0x147)]();}),_0x1e68dc;}[_0x303316(0x132)](){const _0x100cd3=_0x303316,_0x191cfc=this[_0x100cd3(0x155)][_0x100cd3(0x1b0)][_0x100cd3(0x1b6)](_0x20ed8d);this[_0x100cd3(0x15a)]=new _0x51561c(this[_0x100cd3(0x155)][_0x100cd3(0x193)],this[_0x100cd3(0x12a)],this[_0x100cd3(0x155)][_0x100cd3(0x195)][_0x100cd3(0x1b6)](_0x100cd3(0x12c))),this[_0x100cd3(0x15a)]['on'](_0x100cd3(0x178),()=>{const _0x1efed3=_0x100cd3;this[_0x1efed3(0x1c5)][_0x1efed3(0x1a7)][_0x1efed3(0x173)]||this[_0x1efed3(0x1c5)][_0x1efed3(0x1a7)][_0x1efed3(0x148)]();}),this[_0x100cd3(0x15a)][_0x100cd3(0x19f)][_0x100cd3(0x14d)][_0x100cd3(0x15d)]['on'](_0x100cd3(0x190),()=>{const _0x4bb9a5=_0x100cd3;this[_0x4bb9a5(0x1c5)][_0x4bb9a5(0x1a7)][_0x4bb9a5(0x173)]||this[_0x4bb9a5(0x1c5)][_0x4bb9a5(0x1a7)][_0x4bb9a5(0x148)]();}),this[_0x100cd3(0x12e)](this[_0x100cd3(0x15a)],_0x100cd3(0x16d),()=>{const _0x50bc70=_0x100cd3;_0x191cfc[_0x50bc70(0x184)](this[_0x50bc70(0x141)][_0x50bc70(0x131)]),this[_0x50bc70(0x192)]();}),this[_0x100cd3(0x12e)](this[_0x100cd3(0x15a)],_0x100cd3(0x185),()=>{const _0x2bb85f=_0x100cd3;_0x191cfc[_0x2bb85f(0x185)](this[_0x2bb85f(0x141)][_0x2bb85f(0x131)]),this[_0x2bb85f(0x192)]();}),this[_0x100cd3(0x18d)]();}[_0x303316(0x18d)](){const _0xdef53=_0x303316,{locale:_0x571e3b,ui:{ariaLiveAnnouncer:_0x46243e}}=this[_0xdef53(0x155)];this[_0xdef53(0x15a)][_0xdef53(0x137)]['on'](_0xdef53(0x15f),(_0x4a5f90,_0x45bb6e,_0x127d65)=>{const _0x115c8f=_0xdef53,_0x4f3e7f=this[_0x115c8f(0x141)][_0x115c8f(0x131)];_0x127d65?_0x46243e[_0x115c8f(0x135)](_0x318001(_0x571e3b,_0x115c8f(0x194))):_0x4f3e7f&&_0x46243e[_0x115c8f(0x135)](_0x318001(_0x571e3b,_0x115c8f(0x152),_0x4f3e7f),{'politeness':_0x115c8f(0x18a),'isUnsafeHTML':!0x0});}),this[_0xdef53(0x15a)]['on'](_0xdef53(0x1bc),(_0x51040d,_0x122294,_0x3387ee)=>{const _0x5d1854=_0xdef53;if(_0x3387ee){const _0x2cc322=this[_0x5d1854(0x15a)][_0x5d1854(0x1bd)][_0x5d1854(0x16c)];_0x46243e[_0x5d1854(0x135)](_0x318001(_0x571e3b,_0x5d1854(0x17b),_0x2cc322));}});}[_0x303316(0x1b9)](_0x2590a3){const _0x192a5f=_0x303316,_0x2e572d=this[_0x192a5f(0x1b4)][_0x192a5f(0x1b6)](_0x2590a3),_0x1908e6=this[_0x192a5f(0x155)],_0x57db8a=_0x1908e6[_0x192a5f(0x197)][_0x192a5f(0x136)][_0x192a5f(0x143)],_0x1d22a6=_0x1908e6[_0x192a5f(0x1cf)][_0x192a5f(0x1b6)](_0x192a5f(0x1c6)),_0xa42a4e=_0x1908e6[_0x192a5f(0x1b0)][_0x192a5f(0x1b6)](_0x20ed8d),_0x4681ea=''+(_0x2e572d[_0x192a5f(0x140)]!==_0x5ec769?_0x2e572d[_0x192a5f(0x15e)]+':\x20':'')+_0x2e572d[_0x192a5f(0x1ae)];if(!0x1!==_0x2e572d[_0x192a5f(0x1ac)]&&_0x57db8a[_0x192a5f(0x139)]){const _0x1f25f2=_0x3546d8(_0x57db8a[_0x192a5f(0x19b)]())||_0x1908e6[_0x192a5f(0x197)][_0x192a5f(0x198)][_0x192a5f(0x175)](_0x57db8a);_0x1908e6[_0x192a5f(0x197)][_0x192a5f(0x161)](_0x35db1c=>{const _0x9caf76=_0x192a5f;_0x35db1c[_0x9caf76(0x177)](_0x1f25f2,'in');});}_0xa42a4e[_0x192a5f(0x18c)](),_0x1d22a6[_0x192a5f(0x147)](_0x2e572d[_0x192a5f(0x1af)],_0x4681ea,_0x192a5f(0x1b7)+_0x2590a3);}[_0x303316(0x16a)](_0x21684e,_0x9fa3ae,_0x2a24bc,_0x4038e8){const _0xd85435=_0x303316,_0x5cb2e4=this[_0xd85435(0x155)],_0xb23d24=_0x5cb2e4[_0xd85435(0x193)],_0x588ca4=new _0x5ab811(_0xb23d24),_0x52116b=U(_0x5cb2e4,_0x2a24bc)[_0xd85435(0x18b)](_0xabef6d=>_0xabef6d[_0xd85435(0x1cf)][_0xd85435(0x1c8)]);0x1===_0x52116b[_0xd85435(0x1c8)]?this[_0xd85435(0x13b)]({'command':_0x21684e,'commands':_0x52116b[0x0][_0xd85435(0x1cf)],'parentMenuView':_0x9fa3ae,'onExecute':_0x4038e8})[_0xd85435(0x128)](_0x300dad=>_0x588ca4[_0xd85435(0x1c4)][_0xd85435(0x14a)](_0x300dad)):_0x52116b[_0xd85435(0x128)](({groupId:_0x19d49d,groupLabel:_0x2ed096,commands:_0x1ff168})=>{const _0x222581=_0xd85435,_0x331077=new _0x139532(_0xb23d24,_0x9fa3ae),_0x2a6d31=new _0x2008d9(_0xb23d24),_0x1632dd=new _0x5ab811(_0xb23d24),_0x552da9=this[_0x222581(0x13b)]({'command':_0x21684e,'commands':_0x1ff168,'parentMenuView':_0x2a6d31,'onExecute':_0x4038e8});_0x2a6d31[_0x222581(0x17e)][_0x222581(0x179)]({'label':_0x2ed096||_0x19d49d}),_0x2a6d31[_0x222581(0x150)](_0x222581(0x147))['to'](_0x9fa3ae),_0x1632dd[_0x222581(0x1c4)][_0x222581(0x182)](_0x552da9),_0x2a6d31[_0x222581(0x13a)][_0x222581(0x160)][_0x222581(0x14a)](_0x1632dd),_0x331077[_0x222581(0x160)][_0x222581(0x14a)](_0x2a6d31),_0x588ca4[_0x222581(0x1c4)][_0x222581(0x14a)](_0x331077);}),_0x9fa3ae[_0xd85435(0x13a)][_0xd85435(0x160)][_0xd85435(0x14a)](_0x588ca4);}[_0x303316(0x13b)]({command:_0x5bf339,commands:_0x38ddb1,parentMenuView:_0x438383,onExecute:_0x37f56e}){const _0x1b8aa4=_0x303316,_0x68b2e5=this[_0x1b8aa4(0x155)],_0x344c24=_0x68b2e5[_0x1b8aa4(0x193)];return U(_0x68b2e5,_0x38ddb1)[_0x1b8aa4(0x123)](_0x4676ed=>{const _0x1db747=_0x1b8aa4,_0x5f3145=new _0x139532(_0x344c24,_0x438383),_0x1da5c=new _0x2e49be(_0x344c24);return _0x1da5c[_0x1db747(0x179)]({'label':_0x4676ed[_0x1db747(0x1ae)]}),_0x1da5c[_0x1db747(0x150)](_0x1db747(0x147))['to'](_0x438383),_0x1da5c['on'](_0x1db747(0x147),()=>_0x37f56e(_0x4676ed['id'])),_0x1da5c[_0x1db747(0x1c9)](_0x1db747(0x1a1))['to'](_0x5bf339,_0x1db747(0x1c1),_0x5de1f1=>_0x5de1f1[_0x1db747(0x191)](_0x4676ed['id'])),_0x5f3145[_0x1db747(0x160)][_0x1db747(0x14a)](_0x1da5c),_0x5f3145;});}}function B(_0x426eb6,_0x20a07d){const _0x3ce99c=_0x303316;return void 0x0!==_0x426eb6[_0x3ce99c(0x124)]&&void 0x0===_0x20a07d[_0x3ce99c(0x124)]?0x1:void 0x0===_0x426eb6[_0x3ce99c(0x124)]&&void 0x0!==_0x20a07d[_0x3ce99c(0x124)]?-0x1:void 0x0!==_0x426eb6[_0x3ce99c(0x124)]&&void 0x0!==_0x20a07d[_0x3ce99c(0x124)]?_0x426eb6[_0x3ce99c(0x124)]-_0x20a07d[_0x3ce99c(0x124)]:0x0;}function U(_0x5aed45,_0x1a9eb0){const _0x103cb1=_0x303316;_0x1a9eb0[_0x103cb1(0x1ca)](B);const _0x4a007f={},_0x8f0056=[];for(const _0x2c0e6c of _0x1a9eb0)if(void 0x0!==_0x2c0e6c[_0x103cb1(0x124)]){if(_0x2c0e6c[_0x103cb1(0x124)]in _0x4a007f)throw new _0x4f7b51(_0x103cb1(0x1a3),_0x5aed45,{'conflictingDefinitions':[_0x2c0e6c,_0x4a007f[_0x2c0e6c[_0x103cb1(0x124)]]]});_0x4a007f[_0x2c0e6c[_0x103cb1(0x124)]]=_0x2c0e6c,_0x8f0056[_0x103cb1(0x16f)](_0x2c0e6c[_0x103cb1(0x124)],0x0,_0x2c0e6c);}else _0x8f0056[_0x103cb1(0x189)](_0x2c0e6c);return _0x8f0056;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x898346,_0xc0e2ea){var _0xd5d34b=_0x9041,_0x2c5f59=_0x898346();while(!![]){try{var _0x204089=parseInt(_0xd5d34b(0xfc))/0x1+-parseInt(_0xd5d34b(0xfa))/0x2+parseInt(_0xd5d34b(0xf6))/0x3+parseInt(_0xd5d34b(0xf8))/0x4+parseInt(_0xd5d34b(0xfb))/0x5+-parseInt(_0xd5d34b(0xf9))/0x6+-parseInt(_0xd5d34b(0xf7))/0x7;if(_0x204089===_0xc0e2ea)break;else _0x2c5f59['push'](_0x2c5f59['shift']());}catch(_0x5cf387){_0x2c5f59['push'](_0x2c5f59['shift']());}}}(_0x6c40,0x9b9cf));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';function _0x9041(_0x4e65ab,_0x430c82){var _0x6c40c2=_0x6c40();return _0x9041=function(_0x904144,_0x990b40){_0x904144=_0x904144-0xf6;var _0x4483e6=_0x6c40c2[_0x904144];return _0x4483e6;},_0x9041(_0x4e65ab,_0x430c82);}function _0x6c40(){var _0x2e78fb=['2148601QRmduh','3533648rrJWKA','4644228dqEHhQ','2455290zAHwFa','3969830NdFypr','986894oEVlve','845235PrthOt'];_0x6c40=function(){return _0x2e78fb;};return _0x6c40();}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 _0x5a58(_0x51e90f,_0x2bc34b){var _0x52335=_0x5233();return _0x5a58=function(_0x5a5830,_0x47202b){_0x5a5830=_0x5a5830-0x184;var _0x137cfd=_0x52335[_0x5a5830];return _0x137cfd;},_0x5a58(_0x51e90f,_0x2bc34b);}(function(_0x47a0fb,_0x19e03){var _0x28c1e0=_0x5a58,_0x3fb435=_0x47a0fb();while(!![]){try{var _0x52567c=parseInt(_0x28c1e0(0x188))/0x1+-parseInt(_0x28c1e0(0x18a))/0x2+-parseInt(_0x28c1e0(0x18c))/0x3+-parseInt(_0x28c1e0(0x18b))/0x4*(-parseInt(_0x28c1e0(0x189))/0x5)+parseInt(_0x28c1e0(0x187))/0x6+parseInt(_0x28c1e0(0x186))/0x7*(-parseInt(_0x28c1e0(0x184))/0x8)+parseInt(_0x28c1e0(0x185))/0x9;if(_0x52567c===_0x19e03)break;else _0x3fb435['push'](_0x3fb435['shift']());}catch(_0x39c308){_0x3fb435['push'](_0x3fb435['shift']());}}}(_0x5233,0x8533c));function _0x5233(){var _0x3d9354=['1812069NMXUlK','664OyUmcP','9972108byAwpB','76559rQJzmO','3004020mecYOA','211725SkJpTJ','5jdCAAq','1334168SEAZoT','3616268RfMxLb'];_0x5233=function(){return _0x3d9354;};return _0x5233();}import{CKEditorError as _0x4d1ad4}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xa64160=_0x4541;(function(_0x4b34da,_0x3eb7d2){const _0x48c80d=_0x4541,_0xe49104=_0x4b34da();while(!![]){try{const _0x3e8f0d=parseInt(_0x48c80d(0x1cb))/0x1+-parseInt(_0x48c80d(0x1db))/0x2*(parseInt(_0x48c80d(0x1c6))/0x3)+parseInt(_0x48c80d(0x1ea))/0x4+parseInt(_0x48c80d(0x1dd))/0x5*(parseInt(_0x48c80d(0x1cf))/0x6)+parseInt(_0x48c80d(0x1d1))/0x7+parseInt(_0x48c80d(0x1d5))/0x8+-parseInt(_0x48c80d(0x21a))/0x9;if(_0x3e8f0d===_0x3eb7d2)break;else _0xe49104['push'](_0xe49104['shift']());}catch(_0x47cfa1){_0xe49104['push'](_0xe49104['shift']());}}}(_0x1828,0x81852));import{ObservableMixin as _0x451e62}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1c826f}from'../adapters/aiadapter.js';import{Matcher as _0x2caf1c,UpcastWriter as _0x4f0070}from'ckeditor5/src/engine.js';function _0x4541(_0x15cdc9,_0x6ec18d){const _0x18282b=_0x1828();return _0x4541=function(_0x4541b0,_0x4042ad){_0x4541b0=_0x4541b0-0x1c6;let _0x4809c3=_0x18282b[_0x4541b0];return _0x4809c3;},_0x4541(_0x15cdc9,_0x6ec18d);}function _0x1828(){const _0x1af8c3=['view','name','20967dXTCPc','text/html','querySelector','_normalizeResponseHeadings','div','300973UPTGVo','exec','processor','previousContext','2166342ueaMXD','editor','5204941UIYXcL','isProcessing','childNodes','parseFromString','6652752eIHElT','listenTo','tryAgainEvent','```html','ELEMENT_NODE','viewToDom','146iergNB','_isH1TagSupportEnabled','5sJhGTl','message','once','currentContext','then','catch','abort','value','config','finally','get','rename','stopListening','940048gpgIYc','render','ai.aiAssistant.preserveComments','reset','_sanitizeHTML','_handleQuery','makeRequest','set','match','mainAction','serializeToString','_xmlSerializer','reverse','custom','toView','push','updateView','_stripMarkdownSyntax','previousQuery','nodeType','length','setContentOf','document','<h1></h1>','endsWith','_sanitizationContainer','editing','previousLabel','remove','from','textAdapter','finishProcessing','destroy','substring','toModel','_parseAndNormalizeContent','createElement','_domParser','markers','stringify','clear','htmlProcessor','body','stopProcessing','domConverter','currentResponse','startsWith','```','12883392jkWtAw','submitPrompt','element','handleError','data','prompt','previousActionId','set:currentContext','initialContext','isRendered','innerHTML','startProcessing','trim'];_0x1828=function(){return _0x1af8c3;};return _0x1828();}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x451e62(){constructor(_0x6a2b3c,_0x11f779,_0x5cd97a){const _0x5ab445=_0x4541;super(),this[_0x5ab445(0x1d0)]=_0x6a2b3c,this[_0x5ab445(0x208)]=_0x11f779,this[_0x5ab445(0x203)]=document[_0x5ab445(0x20e)](_0x5ab445(0x1ca)),this[_0x5ab445(0x20f)]=new DOMParser(),this[_0x5ab445(0x1f5)]=new XMLSerializer(),this[_0x5ab445(0x227)]=_0x5cd97a,this[_0x5ab445(0x1f1)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x5ab445(0x221),(_0x27fb3b,_0x48ec6d,_0x570ba0)=>{const _0x2a8fb5=_0x5ab445;this[_0x2a8fb5(0x227)][_0x2a8fb5(0x1e4)]=this[_0x2a8fb5(0x1ee)](_0x570ba0);}),this[_0x5ab445(0x1d6)](this[_0x5ab445(0x227)],_0x5ab445(0x21b),(_0xb8ac82,_0x383970)=>{const _0x5a33a9=_0x5ab445,_0x240321=this[_0x5a33a9(0x1e0)]||this[_0x5a33a9(0x222)];this[_0x5a33a9(0x1ef)](_0x383970,_0x240321,_0x5a33a9(0x1f7));}),this[_0x5ab445(0x1d6)](this[_0x5ab445(0x227)],_0x5ab445(0x1d7),()=>{const _0x17fb06=_0x5ab445;this[_0x17fb06(0x227)][_0x17fb06(0x21f)]=this[_0x17fb06(0x205)],this[_0x17fb06(0x1ef)](this[_0x17fb06(0x1fc)],this[_0x17fb06(0x1ce)],this[_0x17fb06(0x220)],this[_0x17fb06(0x205)]);}),this[_0x5ab445(0x1d6)](this[_0x5ab445(0x227)],_0x5ab445(0x215),()=>{const _0x20caea=_0x5ab445;this[_0x20caea(0x215)]();});}[_0xa64160(0x20a)](){const _0x1fe473=_0xa64160;this[_0x1fe473(0x1e9)]();}async[_0xa64160(0x1fa)]({actionId:_0x17ea75,query:_0x5060d2,htmlContent:_0x571ed5,label:_0x1e3503,mainActionLabel:_0x35aff7}){const _0x443719=_0xa64160;this[_0x443719(0x227)][_0x443719(0x21f)]=_0x1e3503,this[_0x443719(0x227)][_0x443719(0x1f3)]=_0x35aff7,this[_0x443719(0x222)]=_0x571ed5,_0x5060d2&&(this[_0x443719(0x227)][_0x443719(0x223)]?this[_0x443719(0x1ef)](_0x5060d2,_0x571ed5,_0x17ea75,_0x1e3503):this[_0x443719(0x227)][_0x443719(0x1df)](_0x443719(0x1eb),()=>{const _0x5ccee0=_0x443719;this[_0x5ccee0(0x1ef)](_0x5060d2,_0x571ed5,_0x17ea75,_0x1e3503);}));}[_0xa64160(0x215)](){const _0x5a36ae=_0xa64160;this[_0x5a36ae(0x1d2)]&&(this[_0x5a36ae(0x1d2)]=!0x1,this[_0x5a36ae(0x227)][_0x5a36ae(0x209)](),this[_0x5a36ae(0x208)][_0x5a36ae(0x1e3)]());}[_0xa64160(0x1ed)](){const _0x58883c=_0xa64160;this[_0x58883c(0x222)]='',this[_0x58883c(0x1e0)]='',this[_0x58883c(0x217)]='',this[_0x58883c(0x1ce)]='',this[_0x58883c(0x1fc)]='',this[_0x58883c(0x205)]='',this[_0x58883c(0x220)]=void 0x0,this[_0x58883c(0x227)][_0x58883c(0x1ed)](),this[_0x58883c(0x215)]();}async[_0xa64160(0x1ef)](_0x116349,_0x28a783,_0x147aa1,_0x1e9b0d){const _0x963dc4=_0xa64160;return this[_0x963dc4(0x1d2)]=!0x0,this[_0x963dc4(0x227)][_0x963dc4(0x225)](),this[_0x963dc4(0x1ce)]=_0x28a783,this[_0x963dc4(0x1fc)]=_0x116349,this[_0x963dc4(0x205)]=_0x1e9b0d||_0x116349,this[_0x963dc4(0x220)]=_0x147aa1,new Promise(_0x10d469=>{const _0x5d9443=_0x963dc4;this[_0x5d9443(0x208)][_0x5d9443(0x1f0)]({'query':_0x116349,'context':_0x28a783,'onData':_0x353d20=>{const _0x4c1c01=_0x5d9443;this[_0x4c1c01(0x217)]=_0x353d20,this[_0x4c1c01(0x1e0)]=this[_0x4c1c01(0x20d)](this[_0x4c1c01(0x217)]);},'actionId':_0x147aa1})[_0x5d9443(0x1e1)](()=>{const _0x558109=_0x5d9443;!this[_0x558109(0x1e0)]&&this[_0x558109(0x217)]&&(this[_0x558109(0x1e0)]=this[_0x558109(0x20d)](this[_0x558109(0x217)],!0x0));})[_0x5d9443(0x1e2)](_0x2642bb=>{const _0x5227f4=_0x5d9443;_0x2642bb instanceof _0x1c826f?this[_0x5227f4(0x227)][_0x5227f4(0x21d)](_0x2642bb[_0x5227f4(0x1de)]):this[_0x5227f4(0x227)][_0x5227f4(0x21d)](),_0x10d469();})[_0x5d9443(0x1e6)](()=>{const _0x13d0ef=_0x5d9443;this[_0x13d0ef(0x215)](),_0x10d469();});});}[_0xa64160(0x20d)](_0x129337,_0x341343=!0x1){const _0x5d6a70=_0xa64160,_0x42ab2c=Z[_0x5d6a70(0x1cc)](_0x129337);_0x129337=_0x42ab2c?_0x129337[_0x5d6a70(0x20b)](_0x42ab2c[0x1][_0x5d6a70(0x1fe)]):_0x129337[_0x5d6a70(0x1fe)]<0x64&&!_0x341343?'':this[_0x5d6a70(0x1fb)](_0x129337);const _0x34cefb=this[_0x5d6a70(0x20f)][_0x5d6a70(0x1d4)](_0x129337,_0x5d6a70(0x1c7));if(_0x42ab2c){const _0x2d2029=Array[_0x5d6a70(0x207)](_0x34cefb[_0x5d6a70(0x214)][_0x5d6a70(0x1d3)]);_0x2d2029[_0x5d6a70(0x1f6)]();for(const _0x49ab62 of _0x2d2029){if(_0x49ab62[_0x5d6a70(0x1fd)]==Node[_0x5d6a70(0x1d9)])break;_0x49ab62[_0x5d6a70(0x206)]();}}const _0x405a38=this[_0x5d6a70(0x1d0)][_0x5d6a70(0x21e)][_0x5d6a70(0x1cd)][_0x5d6a70(0x1f8)](this[_0x5d6a70(0x1f5)][_0x5d6a70(0x1f4)](_0x34cefb[_0x5d6a70(0x214)]));this[_0x5d6a70(0x1dc)]()||this[_0x5d6a70(0x1c9)](_0x405a38);const _0x5ef4a4=this[_0x5d6a70(0x1d0)][_0x5d6a70(0x1e5)][_0x5d6a70(0x1e7)](_0x5d6a70(0x1ec)),_0x18efab=this[_0x5d6a70(0x1d0)][_0x5d6a70(0x21e)][_0x5d6a70(0x20c)](_0x405a38);return _0x5ef4a4||_0x18efab[_0x5d6a70(0x210)][_0x5d6a70(0x212)](),this[_0x5d6a70(0x1d0)][_0x5d6a70(0x21e)][_0x5d6a70(0x211)](_0x18efab);}[_0xa64160(0x1c9)](_0x156944){const _0x15222f=_0xa64160,_0x1f6c94=new _0x4f0070(this[_0x15222f(0x1d0)][_0x15222f(0x204)][_0x15222f(0x227)][_0x15222f(0x200)]),_0x24925c=new _0x2caf1c({'name':/^h[1-5]$/}),_0x4821d6=[];let _0x3c3380=!0x1;for(const _0xa3626d of _0x156944)_0xa3626d['is'](_0x15222f(0x21c))&&_0x24925c[_0x15222f(0x1f2)](_0xa3626d)&&(_0x4821d6[_0x15222f(0x1f9)](_0xa3626d),'h1'==_0xa3626d[_0x15222f(0x228)]&&(_0x3c3380=!0x0));if(_0x3c3380){for(const _0x59e12a of _0x4821d6)_0x1f6c94[_0x15222f(0x1e8)]('h'+(parseInt(_0x59e12a[_0x15222f(0x228)][0x1])+0x1),_0x59e12a);}}[_0xa64160(0x1dc)](){const _0x1521c0=_0xa64160,{data:_0x130a48,editing:_0x5ddeb7}=this[_0x1521c0(0x1d0)],_0x4af596=_0x130a48[_0x1521c0(0x213)][_0x1521c0(0x1f8)](_0x1521c0(0x201)),_0xd967a5=_0x130a48[_0x1521c0(0x1f8)](_0x130a48[_0x1521c0(0x20c)](_0x4af596));return!!_0x5ddeb7[_0x1521c0(0x227)][_0x1521c0(0x216)][_0x1521c0(0x1da)](_0xd967a5)[_0x1521c0(0x1c8)]('h1');}[_0xa64160(0x1ee)](_0x17ed4c){const _0x3cc21b=_0xa64160;return this[_0x3cc21b(0x1d0)][_0x3cc21b(0x204)][_0x3cc21b(0x227)][_0x3cc21b(0x216)][_0x3cc21b(0x1ff)](this[_0x3cc21b(0x203)],_0x17ed4c),this[_0x3cc21b(0x203)][_0x3cc21b(0x224)];}[_0xa64160(0x1fb)](_0x4fbf13){const _0x3f0ee0=_0xa64160,_0x3a1d22=_0x4fbf13[_0x3f0ee0(0x226)]();return _0x3a1d22[_0x3f0ee0(0x218)](_0x3f0ee0(0x1d8))?_0x3a1d22[_0x3f0ee0(0x202)](_0x3f0ee0(0x219))?_0x3a1d22[_0x3f0ee0(0x20b)](0x7,_0x3a1d22[_0x3f0ee0(0x1fe)]-0x3):_0x3a1d22[_0x3f0ee0(0x20b)](0x7):_0x4fbf13;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xeaab91=_0x5b50;(function(_0x473c31,_0x50f4f9){const _0x3320cb=_0x5b50,_0x4658d5=_0x473c31();while(!![]){try{const _0x163273=-parseInt(_0x3320cb(0x241))/0x1*(parseInt(_0x3320cb(0x235))/0x2)+-parseInt(_0x3320cb(0x22d))/0x3+-parseInt(_0x3320cb(0x218))/0x4+-parseInt(_0x3320cb(0x1f3))/0x5+-parseInt(_0x3320cb(0x230))/0x6*(parseInt(_0x3320cb(0x21d))/0x7)+parseInt(_0x3320cb(0x20c))/0x8*(parseInt(_0x3320cb(0x22b))/0x9)+parseInt(_0x3320cb(0x1fa))/0xa;if(_0x163273===_0x50f4f9)break;else _0x4658d5['push'](_0x4658d5['shift']());}catch(_0x142a59){_0x4658d5['push'](_0x4658d5['shift']());}}}(_0x30c4,0xdf444));import{global as _0x36bba7}from'ckeditor5/src/utils.js';function _0x30c4(){const _0x4260b1=['setEndBefore','appendLoader','setContent','icon','isProcessing','contentFieldView','50718740TJjIJg','AI\x20is\x20writing...','check','class','absolute','locale','querySelector','element','-9999px','setTemplate','ck-ai-form__copy-button','copy','_createLoader','div','text/plain','bindTemplate','addRange','bind','8Poroko','ck-ai-form__copy-button-wrapper','<span>[</span>','style','appendChild','render','_copyHTMLToClipboard','loaderView','<span>]</span>','_createCopyButton','scrollHeight','change:value','3194464RUQhuI','isVisible','set','.ck-ai-form__loader','\x20ck-ai-form__copy-button--copied','1393497qEgOmj','remove','getSelection','ClipboardItem','ck-ai-form__content-area','ck-ai-form__content-area--processing','Copy','change:isProcessing','execute','execCommand','ck-hidden','createRange','smooth','write','14862501sYqNtO','createElement','4813098FEYndD','wheel','ck-content','24PmQDYz','ck-reset_all-excluded','value','isEnabled','position','610502AltvgC','ck-ai-form__loader','innerHTML','setStartAfter','listenTo','focus','removeAllRanges','text/html','firstElementChild','clipboard','textContent','lastElementChild','4lGfRtM','body','left','mousedown','scrollTo','copyButtonView','ck-ai-form__content-field','ck-ai-form__content-area-wrapper','6942465RRpafG'];_0x30c4=function(){return _0x4260b1;};return _0x30c4();}import{View as _0x1c8da3,ButtonView as _0x523108,SpinnerView as _0x3b1b21}from'ckeditor5/src/ui.js';import _0x1be12d from'../../../theme/icons/copy.svg';import{getTranslation as _0x43ea2b}from'../../utils/common-translations.js';function _0x5b50(_0xfe118e,_0x1181e4){const _0x30c4d2=_0x30c4();return _0x5b50=function(_0x5b5048,_0x2fd148){_0x5b5048=_0x5b5048-0x1f2;let _0x38e4de=_0x30c4d2[_0x5b5048];return _0x38e4de;},_0x5b50(_0xfe118e,_0x1181e4);}import{icons as _0xf03912}from'ckeditor5/src/core.js';export default class X extends _0x1c8da3{constructor(_0x5d8627,_0x4f4590=''){const _0x5c5e9f=_0x5b50;super(_0x5d8627),this[_0x5c5e9f(0x21a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1bacc1=this[_0x5c5e9f(0x209)];this[_0x5c5e9f(0x1f9)]=new ContentFieldView(_0x5d8627,_0x4f4590),this[_0x5c5e9f(0x246)]=this[_0x5c5e9f(0x215)](),this[_0x5c5e9f(0x203)]({'tag':_0x5c5e9f(0x207),'attributes':{'class':['ck',_0x5c5e9f(0x1f2),_0x1bacc1['if'](_0x5c5e9f(0x219),_0x5c5e9f(0x227),_0x3a12d7=>!_0x3a12d7)],'tabindex':'-1'},'children':[{'tag':_0x5c5e9f(0x207),'attributes':{'class':['ck',_0x5c5e9f(0x221),_0x1bacc1['if'](_0x5c5e9f(0x1f8),_0x5c5e9f(0x222))]},'children':[this[_0x5c5e9f(0x1f9)],{'tag':_0x5c5e9f(0x207),'attributes':{'class':['ck',_0x5c5e9f(0x20d)]},'children':[this[_0x5c5e9f(0x246)]]}]}]});}[_0xeaab91(0x211)](){const _0x378ce0=_0xeaab91;super[_0x378ce0(0x211)](),this[_0x378ce0(0x232)]&&this[_0x378ce0(0x1f9)][_0x378ce0(0x1f6)](this[_0x378ce0(0x232)]);let _0x464242=!0x1;this['on'](_0x378ce0(0x217),(_0x1baea7,_0x42ca94,_0x139201)=>{const _0xcdb2db=_0x378ce0,_0x5980ef=!this[_0xcdb2db(0x1f9)][_0xcdb2db(0x201)][_0xcdb2db(0x200)](_0xcdb2db(0x21b));this[_0xcdb2db(0x1f9)][_0xcdb2db(0x1f6)](_0x139201),this[_0xcdb2db(0x1f8)]&&_0x5980ef&&!_0x464242&&this[_0xcdb2db(0x201)][_0xcdb2db(0x245)]({'top':this[_0xcdb2db(0x201)][_0xcdb2db(0x216)],'behavior':_0xcdb2db(0x229)});}),this['on'](_0x378ce0(0x224),(_0x4ca56b,_0x4f1325,_0x4c3797)=>{const _0x362f87=_0x378ce0;_0x464242=!0x1,_0x4c3797?(this[_0x362f87(0x232)]=null,this[_0x362f87(0x1f9)][_0x362f87(0x1f5)]()):this[_0x362f87(0x232)]||this[_0x362f87(0x1f9)][_0x362f87(0x1f6)]('');}),this[_0x378ce0(0x239)](this[_0x378ce0(0x201)],_0x378ce0(0x22e),()=>{_0x464242=!0x0;}),this[_0x378ce0(0x239)](this[_0x378ce0(0x201)],_0x378ce0(0x244),()=>{_0x464242=!0x0;});}[_0xeaab91(0x23a)](){const _0x29b420=_0xeaab91;this[_0x29b420(0x201)][_0x29b420(0x23a)]();}[_0xeaab91(0x215)](){const _0xe2f85e=_0xeaab91,_0x234ccc=this[_0xe2f85e(0x1ff)],_0x51755a=new _0x523108(this[_0xe2f85e(0x1ff)]),_0x183e25=_0xe2f85e(0x204);return _0x51755a[_0xe2f85e(0x21a)]({'label':_0x43ea2b(_0x234ccc,_0xe2f85e(0x223)),'icon':_0x1be12d,'class':_0x183e25,'tooltip':!0x0}),_0x51755a[_0xe2f85e(0x20b)](_0xe2f85e(0x219))['to'](this,_0xe2f85e(0x232),_0x2715b8=>!!_0x2715b8),_0x51755a[_0xe2f85e(0x20b)](_0xe2f85e(0x233))['to'](this,_0xe2f85e(0x1f8),_0x13e5fe=>!_0x13e5fe),_0x51755a['on'](_0xe2f85e(0x225),()=>{const _0x1fe3d6=_0xe2f85e;this[_0x1fe3d6(0x212)](this[_0x1fe3d6(0x1f9)][_0x1fe3d6(0x201)]),_0x51755a[_0x1fe3d6(0x1f7)]=_0xf03912[_0x1fe3d6(0x1fc)],_0x51755a[_0x1fe3d6(0x1fd)]=_0x183e25+_0x1fe3d6(0x21c),this[_0x1fe3d6(0x23a)](),setTimeout(()=>{const _0xc62a52=_0x1fe3d6;_0x51755a[_0xc62a52(0x1f7)]=_0x1be12d,_0x51755a[_0xc62a52(0x1fd)]=_0x183e25;},0x3e8);}),_0x51755a;}[_0xeaab91(0x212)](_0x36b01c){const _0x53f32d=_0xeaab91,{window:_0x52f8b2,document:_0x45a5bc}=_0x36bba7;if(_0x52f8b2[_0x53f32d(0x220)]){const {Blob:_0x5cea5a,ClipboardItem:_0x10cf61}=_0x52f8b2,_0x143c8b=[new _0x10cf61({'text/html':new _0x5cea5a([_0x36b01c[_0x53f32d(0x237)]],{'type':_0x53f32d(0x23c)}),'text/plain':new _0x5cea5a([_0x36b01c[_0x53f32d(0x23f)]||''],{'type':_0x53f32d(0x208)})})];navigator[_0x53f32d(0x23e)][_0x53f32d(0x22a)](_0x143c8b);}else{const _0xafa0cf=_0x45a5bc[_0x53f32d(0x22c)](_0x53f32d(0x207));_0xafa0cf[_0x53f32d(0x20f)][_0x53f32d(0x234)]=_0x53f32d(0x1fe),_0xafa0cf[_0x53f32d(0x20f)][_0x53f32d(0x243)]=_0x53f32d(0x202),_0xafa0cf[_0x53f32d(0x237)]=_0x53f32d(0x20e)+_0x36b01c[_0x53f32d(0x237)]+_0x53f32d(0x214),_0x45a5bc[_0x53f32d(0x242)][_0x53f32d(0x210)](_0xafa0cf);const _0x3e4e22=_0x45a5bc[_0x53f32d(0x228)]();_0x3e4e22[_0x53f32d(0x238)](_0xafa0cf[_0x53f32d(0x23d)]),_0x3e4e22[_0x53f32d(0x1f4)](_0xafa0cf[_0x53f32d(0x240)]);const _0x470542=_0x52f8b2[_0x53f32d(0x21f)]();_0x470542[_0x53f32d(0x23b)](),_0x470542[_0x53f32d(0x20a)](_0x3e4e22),_0x45a5bc[_0x53f32d(0x226)](_0x53f32d(0x205)),_0xafa0cf[_0x53f32d(0x21e)]();}}}export class ContentFieldView extends _0x1c8da3{constructor(_0x52c5d2,_0x1a5690=''){const _0x55fe27=_0xeaab91;super(_0x52c5d2),this[_0x55fe27(0x213)]=this[_0x55fe27(0x206)](),this[_0x55fe27(0x203)]({'tag':_0x55fe27(0x207),'attributes':{'class':['ck',_0x55fe27(0x22f),_0x1a5690,_0x55fe27(0x231),_0x55fe27(0x247)]}});}[_0xeaab91(0x1f6)](_0x488623){const _0x27b391=_0xeaab91;this[_0x27b391(0x201)][_0x27b391(0x237)]=_0x488623;}[_0xeaab91(0x1f5)](){const _0x488ce0=_0xeaab91;this[_0x488ce0(0x201)][_0x488ce0(0x210)](this[_0x488ce0(0x213)][_0x488ce0(0x201)]);}[_0xeaab91(0x206)](){const _0x5679cd=_0xeaab91,_0x4adacf=new _0x1c8da3(),_0x3a371c=this[_0x5679cd(0x1ff)],_0x4bca25=new _0x3b1b21();return _0x4bca25[_0x5679cd(0x219)]=!0x0,_0x4adacf[_0x5679cd(0x203)]({'tag':_0x5679cd(0x207),'attributes':{'class':['ck',_0x5679cd(0x236)]},'children':[_0x4bca25,{'text':_0x43ea2b(_0x3a371c,_0x5679cd(0x1fb))}]}),_0x4adacf[_0x5679cd(0x211)](),_0x4adacf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4b86(){const _0x3d8c8f=['5MbaJhl','2852468VQrtXh','set','152679CruqLO','28127133XvevJU','610699VUNSuv','16yxamwR','ck-ai-form__error','content','text','div','bindTemplate','setTemplate','4111702rZUFCO','1796268ZhEBzi','4564312exEpRL'];_0x4b86=function(){return _0x3d8c8f;};return _0x4b86();}function _0x207c(_0x1bdc5b,_0x580298){const _0x4b86db=_0x4b86();return _0x207c=function(_0x207c5b,_0x14ba23){_0x207c5b=_0x207c5b-0x1dd;let _0x5937b8=_0x4b86db[_0x207c5b];return _0x5937b8;},_0x207c(_0x1bdc5b,_0x580298);}(function(_0x2c4e59,_0x4f541e){const _0x4d4199=_0x207c,_0x420341=_0x2c4e59();while(!![]){try{const _0x547032=-parseInt(_0x4d4199(0x1df))/0x1+parseInt(_0x4d4199(0x1e0))/0x2*(-parseInt(_0x4d4199(0x1dd))/0x3)+-parseInt(_0x4d4199(0x1eb))/0x4*(parseInt(_0x4d4199(0x1ea))/0x5)+parseInt(_0x4d4199(0x1e8))/0x6+-parseInt(_0x4d4199(0x1e7))/0x7+-parseInt(_0x4d4199(0x1e9))/0x8+parseInt(_0x4d4199(0x1de))/0x9;if(_0x547032===_0x4f541e)break;else _0x420341['push'](_0x420341['shift']());}catch(_0x54cf9a){_0x420341['push'](_0x420341['shift']());}}}(_0x4b86,0x82cb2));import{View as _0x155f66,IconView as _0x3b95c4}from'ckeditor5/src/ui.js';import _0x532f70 from'../../../theme/icons/error.svg';export default class rt extends _0x155f66{constructor(_0xc2516d,_0x42aff9=''){const _0x45b8c0=_0x207c;super(_0xc2516d);const _0x593e20=new _0x3b95c4(),_0x1115ed=this[_0x45b8c0(0x1e5)];this[_0x45b8c0(0x1ec)](_0x45b8c0(0x1e3),_0x42aff9),_0x593e20[_0x45b8c0(0x1e2)]=_0x532f70,this[_0x45b8c0(0x1e6)]({'tag':_0x45b8c0(0x1e4),'attributes':{'class':['ck',_0x45b8c0(0x1e1)]},'children':[_0x593e20,{'text':_0x1115ed['to'](_0x45b8c0(0x1e3))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bed2d=_0x2fb1;(function(_0x2eacc8,_0x32804d){const _0x5cece0=_0x2fb1,_0xa9437b=_0x2eacc8();while(!![]){try{const _0x331272=parseInt(_0x5cece0(0x1dd))/0x1*(parseInt(_0x5cece0(0x1ae))/0x2)+-parseInt(_0x5cece0(0x1c6))/0x3*(parseInt(_0x5cece0(0x1cd))/0x4)+-parseInt(_0x5cece0(0x1d8))/0x5+parseInt(_0x5cece0(0x1ba))/0x6+-parseInt(_0x5cece0(0x1b8))/0x7*(parseInt(_0x5cece0(0x1df))/0x8)+-parseInt(_0x5cece0(0x1e5))/0x9*(parseInt(_0x5cece0(0x1d0))/0xa)+-parseInt(_0x5cece0(0x1e0))/0xb;if(_0x331272===_0x32804d)break;else _0xa9437b['push'](_0xa9437b['shift']());}catch(_0x5595dd){_0xa9437b['push'](_0xa9437b['shift']());}}}(_0x65bd,0x878a0));import{Rect as _0x5ea499,global as _0x20ad71,isVisible as _0x5b38e1}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x2539bb,ButtonView as _0x824805}from'ckeditor5/src/ui.js';function _0x65bd(){const _0x10934a=['minRows','locale','style','isOn','uiLanguageDirection','3QRlHSC','children','showHistoryButtonView','focusableChildren','filteredView','isEmpty','ck-ai-form__submit','1165012jUcKNf','window','element','10779070tAfhlz','left','isEnabled','Submit','rtl','ck-ai-form__toggle-history','focusFirst','add','198115SHnxLD','fieldWrapperChildren','update','width','history','1088173bFiPea','bind','339928YRBJpP','1964809GXWUEF','focusCycler','excludeScrollbarsAndBorders','submit','fire','9PNkjAX','set','render','value','fieldView','2opSuZg','queryView','_createSubmitButton','History','focusLast','execute','resultsView','submitButtonView','focus','right','7SMRXSh','requestAnimationFrame','6581328OQAgWw','maxRows','keystrokes','enter','target','isVisible','_createShowHistoryButton'];_0x65bd=function(){return _0x10934a;};return _0x65bd();}import{icons as _0x1e0495}from'ckeditor5/src/core.js';function _0x2fb1(_0x5098d7,_0x2cf580){const _0x65bd22=_0x65bd();return _0x2fb1=function(_0x2fb112,_0x1e690a){_0x2fb112=_0x2fb112-0x1aa;let _0x1bb528=_0x65bd22[_0x2fb112];return _0x1bb528;},_0x2fb1(_0x5098d7,_0x2cf580);}import{getTranslation as _0x5d23e9}from'../../utils/common-translations.js';import _0x4ab8be from'../../../theme/icons/submit.svg';export default class ht extends _0x2539bb{constructor(_0x39f73b,_0x187e6a){const _0x299135=_0x2fb1;super(_0x39f73b,_0x187e6a),this[_0x299135(0x1af)][_0x299135(0x1ad)][_0x299135(0x1c1)]=0x1,this[_0x299135(0x1af)][_0x299135(0x1ad)][_0x299135(0x1bb)]=0x3,this[_0x299135(0x1b5)]=this[_0x299135(0x1b0)](),this[_0x299135(0x1c8)]=this[_0x299135(0x1c0)](),this[_0x299135(0x1c9)][_0x299135(0x1d7)](this[_0x299135(0x1c8)],0x1),this[_0x299135(0x1c9)][_0x299135(0x1d7)](this[_0x299135(0x1b5)]);}[_0x5bed2d(0x1ab)](){const _0x468632=_0x5bed2d;super[_0x468632(0x1ab)](),this[_0x468632(0x1af)][_0x468632(0x1d9)][_0x468632(0x1d7)](this[_0x468632(0x1c8)]),this[_0x468632(0x1c7)][_0x468632(0x1d7)](this[_0x468632(0x1b5)]),this[_0x468632(0x1bc)][_0x468632(0x1aa)](_0x468632(0x1bd),(_0x2dc956,_0x4b5915)=>{const _0x17fc89=_0x468632;_0x2dc956[_0x17fc89(0x1be)]==this[_0x17fc89(0x1af)][_0x17fc89(0x1ad)][_0x17fc89(0x1cf)]&&(this[_0x17fc89(0x1e3)](),_0x4b5915());});}[_0x5bed2d(0x1b0)](){const _0x380009=_0x5bed2d,_0x4879ce=new _0x824805(this[_0x380009(0x1c2)]),_0x1542f7=this[_0x380009(0x1c2)];return _0x4879ce[_0x380009(0x1aa)]({'icon':_0x4ab8be,'label':_0x5d23e9(_0x1542f7,_0x380009(0x1d3)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x380009(0x1cc)}),_0x4879ce['on'](_0x380009(0x1b3),()=>{const _0x4e2de3=_0x380009;this[_0x4e2de3(0x1e3)]();}),_0x4879ce[_0x380009(0x1de)](_0x380009(0x1d2))['to'](this[_0x380009(0x1af)][_0x380009(0x1ad)],_0x380009(0x1cb),this,_0x380009(0x1d2),(_0x4b64ad,_0x9a72d2)=>!_0x4b64ad&&_0x9a72d2),_0x4879ce;}[_0x5bed2d(0x1c0)](){const _0x249593=_0x5bed2d,_0x2d04f4=new _0x824805(this[_0x249593(0x1c2)]),_0x30b8c7=this[_0x249593(0x1b4)],_0x440190=this[_0x249593(0x1c2)];_0x2d04f4[_0x249593(0x1aa)]({'label':_0x5d23e9(_0x440190,_0x249593(0x1b1)),'withText':!0x1,'icon':_0x1e0495[_0x249593(0x1dc)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x249593(0x1d5)}),_0x2d04f4[_0x249593(0x1de)](_0x249593(0x1c4))['to'](_0x30b8c7,_0x249593(0x1bf)),_0x2d04f4[_0x249593(0x1de)](_0x249593(0x1d2))['to'](this,_0x249593(0x1d2)),_0x2d04f4['on'](_0x249593(0x1b3),()=>{const _0x9509f=_0x249593;_0x30b8c7[_0x9509f(0x1bf)]=!_0x30b8c7[_0x9509f(0x1bf)],_0x30b8c7[_0x9509f(0x1bf)]?this[_0x9509f(0x1ca)][_0x9509f(0x1b6)]():this[_0x9509f(0x1b6)]();});const _0x457f39=()=>{const _0x1e0b10=_0x249593;_0x20ad71[_0x1e0b10(0x1ce)][_0x1e0b10(0x1b9)](()=>{const _0x2c44d6=_0x1e0b10;if(_0x5b38e1(this[_0x2c44d6(0x1cf)])){const _0x25f22a=new _0x5ea499(this[_0x2c44d6(0x1af)][_0x2c44d6(0x1ad)][_0x2c44d6(0x1cf)]),_0x4420ef=_0x25f22a[_0x2c44d6(0x1db)],_0x250346=_0x2c44d6(0x1d4)===_0x440190[_0x2c44d6(0x1c5)]?_0x2c44d6(0x1d1):_0x2c44d6(0x1b7);_0x25f22a[_0x2c44d6(0x1e2)](),_0x2d04f4[_0x2c44d6(0x1cf)][_0x2c44d6(0x1c3)][_0x250346]=_0x4420ef-_0x25f22a[_0x2c44d6(0x1db)]+0x1+'px';}});};return this[_0x249593(0x1af)][_0x249593(0x1ad)]['on'](_0x249593(0x1da),_0x457f39),this['on'](_0x249593(0x1ab),_0x457f39),_0x2d04f4;}[_0x5bed2d(0x1e3)](){const _0x514e39=_0x5bed2d,_0xf00083=this[_0x514e39(0x1af)][_0x514e39(0x1ad)][_0x514e39(0x1cf)][_0x514e39(0x1ac)];this[_0x514e39(0x1e4)](_0x514e39(0x1e3),_0xf00083);}[_0x5bed2d(0x1b6)](_0x342552){const _0x429bcc=_0x5bed2d;-0x1===_0x342552?this[_0x429bcc(0x1e1)][_0x429bcc(0x1b2)]():this[_0x429bcc(0x1e1)][_0x429bcc(0x1d6)]();}}
|