@ckeditor/ckeditor5-ai 44.2.0-alpha.3 → 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 _0x47adae=_0x24b7;(function(_0xd7df27,_0x1198b1){const _0x65170a=_0x24b7,_0xd159da=_0xd7df27();while(!![]){try{const _0x11a4ad=parseInt(_0x65170a(0x172))/0x1*(parseInt(_0x65170a(0x1aa))/0x2)+parseInt(_0x65170a(0x1c1))/0x3+parseInt(_0x65170a(0x188))/0x4+parseInt(_0x65170a(0x1ae))/0x5*(parseInt(_0x65170a(0x193))/0x6)+-parseInt(_0x65170a(0x168))/0x7+parseInt(_0x65170a(0x19d))/0x8+-parseInt(_0x65170a(0x1a7))/0x9;if(_0x11a4ad===_0x1198b1)break;else _0xd159da['push'](_0xd159da['shift']());}catch(_0xea14cf){_0xd159da['push'](_0xd159da['shift']());}}}(_0xbdfa,0xd4586));function _0x24b7(_0x5c114c,_0x122b75){const _0xbdfa10=_0xbdfa();return _0x24b7=function(_0x24b748,_0x4ee56c){_0x24b748=_0x24b748-0x159;let _0x3c1c66=_0xbdfa10[_0x24b748];return _0x3c1c66;},_0x24b7(_0x5c114c,_0x122b75);}import{uid as _0x472327}from'ckeditor5/src/utils.js';import{Plugin as _0xdb9e5}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x30aaa2}from'ckeditor5/src/clipboard.js';function _0xbdfa(){const _0x3ed367=['ai.useTheme','get','text/html','push','resultRange','element','table','ck-ai-assistant-ui_theme','createSelection','showFakeVisualSelection','fire','_getAISelection','end','9495493YcdmLY','for','getSelectedBlocks','isPremiumPlugin','editingDowncast','getRowIndexes','editor','insertRows','insertContentBelow','getFirstRange','115bHQxvJ','start','init','map','isOfficialPlugin','join','createRange','markerToElement','selection','ck-fake-ai-selection','_pasteHTMLUsingClipboard','markerRange','findAncestor','document','addClass','off','has','hideFakeVisualSelection','updateMarker','canEditAt','isCollapsed','ck-fake-ai-selection_collapsed','1079720IoCjEc','once','setData','_prepareTableInsertBelowPosition','getRanges','href','model','markerToHighlight','lowest','parse','paste','2147142KetiqV','forEach','TableUtils','pluginName','span','fromCharCode','createUIElement','pop','addMarker','isContent','11083288VmYRgo','getLastPosition','schema','ai-ui','editing','getRows','plugins','getChild','createPositionAt','getMarkersGroup','18051462yfeIUe','last','AIAssistantEditing','1866icBGFp','conversion','afterInit','change','15mfXfyz','DataTransfer','markers','_resetContentOfSelectedTableCells','createPositionAfter','setSelection','getRange','getSelectedTableCells','_createEmptyTableRows','from','getChildren','data','deleteContent','insertContent','_getTableRowCountFromContent','first','filter','removeMarker','getColumnIndexes','4187328ktxgmd','config','length','contentInsertion','_getDefaultInsertBelowPosition','getLastMatchingPosition','isAtEnd'];_0xbdfa=function(){return _0x3ed367;};return _0xbdfa();}import{DomEventData as _0x6f65af,DataTransfer as _0x32d2d2}from'ckeditor5/src/engine.js';const w=globalThis[_0x47adae(0x1af)],f=_0x47adae(0x1a0);export default class a extends _0xdb9e5{static get[_0x47adae(0x196)](){const _0x29caec=_0x47adae;return _0x29caec(0x1a9);}static get[_0x47adae(0x176)](){return!0x0;}static get[_0x47adae(0x16b)](){return!0x0;}[_0x47adae(0x174)](){const _0x3fdbd9=_0x47adae,{editor:_0x335923}=this,_0x382f23=[_0x3fdbd9(0x17b)];_0x335923[_0x3fdbd9(0x1c2)][_0x3fdbd9(0x15c)](_0x3fdbd9(0x15b))&&_0x382f23[_0x3fdbd9(0x15e)](_0x3fdbd9(0x162)),_0x335923[_0x3fdbd9(0x1ab)][_0x3fdbd9(0x169)](_0x3fdbd9(0x16c))[_0x3fdbd9(0x18f)]({'model':f,'view':{'classes':_0x382f23,'priority':0xc}}),_0x335923[_0x3fdbd9(0x1ab)][_0x3fdbd9(0x169)](_0x3fdbd9(0x16c))[_0x3fdbd9(0x179)]({'model':f,'view':(_0x2e8bb9,{writer:_0xc00905})=>{const _0x49c06d=_0x3fdbd9;if(!_0x2e8bb9[_0x49c06d(0x17d)][_0x49c06d(0x186)])return null;const _0x4bd960=_0xc00905[_0x49c06d(0x199)](_0x49c06d(0x197));return _0xc00905[_0x49c06d(0x180)]([_0x49c06d(0x17b),_0x49c06d(0x187)],_0x4bd960),_0x4bd960;}});}[_0x47adae(0x1ac)](){!async function(_0x1e42fe){const _0x575cd3=_0x526f97([0x47,0x6e,0x45,0x71,0x35,0x34,0x41,0x44,0x66,0x51,0x76,0x48,0x77,0x50,0x59,0x6a,0x73,0x72,0x38,0x49,0x53,0x33,0x6c,0x32,0x39,0x7a,0x4e,0x63,0x62,0x6f,0x74,0x68,0x67,0x4a,0x4d,0x61,0x57,0x4f,0x42,0x4b,0x58,0x78,0x43,0x79,0x52,0x54,0x37,0x75,0x65,0x31,0x70,0x4c,0x55,0x6d,0x30,0x36,0x46,0x6b,0x69,0x64,0x56,0x5a]),_0x22140e=0x62df0cca,_0x1c741a=0x62d852e2^_0x22140e,_0x40108b=window[_0x526f97([0x44,0x61,0x74,0x65])][_0x526f97([0x6e,0x6f,0x77])](),_0x4d7336=_0x1e42fe[_0x526f97([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4d786b=new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x709af1=>{_0x4d7336[_0x526f97([0x6f,0x6e,0x63,0x65])](_0x526f97([0x72,0x65,0x61,0x64,0x79]),_0x709af1);}),_0x2d752b={[_0x526f97([0x6b,0x74,0x79])]:_0x526f97([0x45,0x43]),[_0x526f97([0x75,0x73,0x65])]:_0x526f97([0x73,0x69,0x67]),[_0x526f97([0x63,0x72,0x76])]:_0x526f97([0x50,0x2d,0x32,0x35,0x36]),[_0x526f97([0x78])]:_0x526f97([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]),[_0x526f97([0x79])]:_0x526f97([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]),[_0x526f97([0x61,0x6c,0x67])]:_0x526f97([0x45,0x53,0x32,0x35,0x36])},_0x321c08=_0x4d7336[_0x526f97([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x526f97([0x67,0x65,0x74])](_0x526f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f829b(){let _0x100725,_0x454844=null,_0x4cf4d2=null;try{if(_0x321c08==_0x526f97([0x47,0x50,0x4c]))return _0x526f97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x100725=_0x2e8349(),!_0x100725)return _0x526f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x100725[_0x526f97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4cf4d2=_0x5b7ea2(_0x100725[_0x526f97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x100725[_0x526f97([0x6a,0x74,0x69])])),await _0xa9c2be()?_0x43670a()?_0x59b294()?_0x526f97([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17959e()?(_0x100725[_0x526f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x526f97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x454844=_0x19de7f(_0x526f97([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x100725[_0x526f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x526f97([0x74,0x72,0x69,0x61,0x6c])&&(_0x454844=_0x19de7f(_0x526f97([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e2e52()):_0x526f97([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x526f97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x526f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x43e55e){return _0x526f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59b294(){const _0x212690=[_0x526f97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x526f97([0x74,0x72,0x69,0x61,0x6c])][_0x526f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x100725[_0x526f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40108b/0x3e8:0xe10*_0x1c741a;return _0x100725[_0x526f97([0x65,0x78,0x70])]<_0x212690;}function _0x43670a(){const _0x5b1c34=_0x100725[_0x526f97([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b1c34&&(!!_0x5b1c34[_0x526f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526f97([0x2a]))||!!_0x5b1c34[_0x526f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526f97([0x41,0x49])));}function _0x17959e(){const _0x5daf5a=_0x24b7,_0x358a72=_0x100725[_0x526f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x358a72||0x0==_0x358a72[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5dc4b8}=new URL(window[_0x526f97([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5daf5a(0x18d)]);if(_0x358a72[_0x526f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc4b8))return!0x0;const _0x5ca0e2=_0x5dc4b8[_0x526f97([0x73,0x70,0x6c,0x69,0x74])](_0x526f97([0x2e]));return _0x358a72[_0x526f97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e738a=>_0x1e738a[_0x526f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526f97([0x2a])))[_0x526f97([0x6d,0x61,0x70])](_0x5e2a10=>_0x5e2a10[_0x526f97([0x73,0x70,0x6c,0x69,0x74])](_0x526f97([0x2e])))[_0x526f97([0x73,0x6f,0x6d,0x65])](_0x4d9388=>_0x5ca0e2[_0x526f97([0x65,0x76,0x65,0x72,0x79])]((_0xe82cf1,_0x425fe7)=>_0x4d9388[_0x425fe7]===_0xe82cf1||_0x4d9388[_0x425fe7]===_0x526f97([0x2a])));}function _0x3e2e52(){return _0x454844&&_0x4cf4d2?new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x230764,_0x3b5050)=>{_0x454844[_0x526f97([0x74,0x68,0x65,0x6e])](_0x230764,_0x3b5050),_0x4cf4d2[_0x526f97([0x74,0x68,0x65,0x6e])](_0x40ce2e=>{_0x40ce2e!=_0x526f97([0x56,0x61,0x6c,0x69,0x64])&&_0x230764(_0x40ce2e);},_0x3b5050);}):_0x454844||_0x4cf4d2||_0x526f97([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b7ea2(_0x5bb2de,_0x333c3e){return new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d36ed=>{if(_0x58c976())return _0x5d36ed(_0x526f97([0x56,0x61,0x6c,0x69,0x64]));_0x4f0803(),_0x4d7336[_0x526f97([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x526f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33b464=!0x1;const _0x4e2195=_0x472327();function _0x519da1(_0x3e6f32){return!!_0x3e6f32&&(typeof _0x3e6f32===_0x526f97([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e6f32===_0x526f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e6f32[_0x526f97([0x74,0x68,0x65,0x6e])]===_0x526f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e6f32[_0x526f97([0x63,0x61,0x74,0x63,0x68])]===_0x526f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x106c23(_0x316d29){_0x3d02e1(_0x316d29)[_0x526f97([0x74,0x68,0x65,0x6e])](_0x27c865=>{if(!_0x27c865||_0x27c865[_0x526f97([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x526f97([0x6f,0x6b]))return _0x526f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cded9(_0x5c31be(_0x4e2195+_0x333c3e))!=_0x27c865[_0x526f97([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x526f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x526f97([0x56,0x61,0x6c,0x69,0x64]);})[_0x526f97([0x74,0x68,0x65,0x6e])](_0x3f3435=>(_0x30345a(),_0x3f3435),()=>{const _0x5a6e77=_0x5ec982();return null==_0x5a6e77?(_0x30345a(),_0x526f97([0x56,0x61,0x6c,0x69,0x64])):_0x526f97(_0x40108b-_0x5a6e77>(0x46d388ca^_0x22140e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x526f97([0x74,0x68,0x65,0x6e])](_0x5d36ed)[_0x526f97([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d36ed(_0x526f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d05bd=0x62e9e24a^_0x22140e;function _0x30345a(){const _0x3fef4a=_0x526f97([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cded9(_0x5c31be(_0x5bb2de)),_0x8a1456=_0x4b0a76(_0x2cded9(window[_0x526f97([0x4d,0x61,0x74,0x68])][_0x526f97([0x63,0x65,0x69,0x6c])](_0x40108b/_0x4d05bd)));window[_0x526f97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x526f97([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fef4a,_0x8a1456);}function _0x5ec982(){const _0x2137a7=_0x526f97([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cded9(_0x5c31be(_0x5bb2de)),_0x48c940=window[_0x526f97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x526f97([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2137a7);return _0x48c940?window[_0x526f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b0a76(_0x48c940),0x10)*_0x4d05bd:null;}function _0x3d02e1(_0x543aae){return new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x544738,_0x1ae093)=>{_0x543aae[_0x526f97([0x74,0x68,0x65,0x6e])](_0x544738,_0x1ae093),window[_0x526f97([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ae093,0x62ded80a^_0x22140e);});}}_0x4d7336[_0x526f97([0x6f,0x6e])](_0x526f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x563768,_0x13fc37)=>{if(_0x13fc37[0x0]!=_0x5bb2de)return _0x5d36ed(_0x526f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13fc37[0x1]={..._0x13fc37[0x1],[_0x526f97([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e2195};},{[_0x526f97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x526f97([0x68,0x69,0x67,0x68])}),_0x4d7336[_0x526f97([0x6f,0x6e])](_0x526f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c2d98=>{_0x519da1(_0x4c2d98[_0x526f97([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33b464=!0x0,_0x106c23(_0x4c2d98[_0x526f97([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x526f97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x526f97([0x6c,0x6f,0x77])}),_0x4d786b[_0x526f97([0x74,0x68,0x65,0x6e])](()=>{_0x33b464||_0x5d36ed(_0x526f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58c976(){return _0x4d7336[_0x526f97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x526f97([0x76,0x69,0x65,0x77])][_0x526f97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x526f97([0x61,0x75,0x74,0x6f]);}function _0x4f0803(){_0x4d7336[_0x526f97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x526f97([0x76,0x69,0x65,0x77])][_0x526f97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x526f97([0x61,0x75,0x74,0x6f]);}}function _0x19de7f(_0xdb767c){const _0x3ca26f=[new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x400a90=>setTimeout(_0x400a90,0x62d63206^_0x22140e)),_0x4d786b[_0x526f97([0x74,0x68,0x65,0x6e])](()=>new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x366c1f=>{let _0x78395d=0x0;_0x4d7336[_0x526f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x526f97([0x6f,0x6e])](_0x526f97([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d5253,_0x2248e2)=>{_0x2248e2[0x0][_0x526f97([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x78395d++,_0x78395d==(0x62df0d32^_0x22140e)&&(_0x366c1f(),_0x5d5253[_0x526f97([0x6f,0x66,0x66])]());});}))];return window[_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x526f97([0x72,0x61,0x63,0x65])](_0x3ca26f)[_0x526f97([0x74,0x68,0x65,0x6e])](()=>_0xdb767c);}async function _0x552241(){await _0x4d786b,_0x4d7336[_0x526f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x526f97([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xabf8dc,_0x4d7336[_0x526f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x526f97([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xabf8dc,_0x4d7336[_0x526f97([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x526f97([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5527a0(_0x31c290){const _0x30790e=_0xe2400c();_0x4d7336[_0x30790e]=_0x526f97([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x31c290,_0x31c290!=_0x526f97([0x56,0x61,0x6c,0x69,0x64])&&_0x552241();}function _0xe2400c(){const _0x4fc036=window[_0x526f97([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x526f97([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x526f97([0x6e,0x6f,0x77])]())[_0x526f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x526f97([0x2e]),'');let _0x21500b=_0x526f97([0x47]);for(let _0x42b177=0x0;_0x42b177<_0x4fc036[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42b177+=0x2){let _0x45b909=window[_0x526f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fc036[_0x526f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42b177,_0x42b177+0x2));_0x45b909>=_0x575cd3[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45b909-=_0x575cd3[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21500b+=_0x575cd3[_0x45b909];}return _0x21500b;}function _0x2e8349(){const _0x3aecb3=_0x321c08[_0x526f97([0x73,0x70,0x6c,0x69,0x74])](_0x526f97([0x2e]));if(0x3!=_0x3aecb3[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x171e30(_0x3aecb3[0x1]);function _0x171e30(_0x5c5452){const _0x4576d2=_0x4f4ee7(_0x5c5452);return _0x4576d2&&_0x18a4e5()?_0x4576d2:null;function _0x18a4e5(){const _0x4269ef=_0x4576d2[_0x526f97([0x6a,0x74,0x69])],_0x302d9b=window[_0x526f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4269ef[_0x526f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4269ef[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38701c={..._0x4576d2,[_0x526f97([0x6a,0x74,0x69])]:_0x4269ef[_0x526f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4269ef[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38701c[_0x526f97([0x76,0x63])],_0x5c31be(_0x38701c)==_0x302d9b;}}}async function _0xa9c2be(){let _0x53cdaa=!0x0;try{const _0x28c747=_0x321c08[_0x526f97([0x73,0x70,0x6c,0x69,0x74])](_0x526f97([0x2e])),[_0x41a925,_0x41cf12,_0x214888]=_0x28c747;return _0xbaffc2(_0x41a925),await _0x50f044(_0x41a925,_0x41cf12,_0x214888),_0x53cdaa;}catch(_0x13ed3f){return!0x1;}function _0xbaffc2(_0x215430){const _0x3b6753=_0x4f4ee7(_0x215430);_0x3b6753&&_0x3b6753[_0x526f97([0x61,0x6c,0x67])]==_0x526f97([0x45,0x53,0x32,0x35,0x36])||(_0x53cdaa=!0x1);}async function _0x50f044(_0x284572,_0x4f6936,_0x4e0f13){const _0x2faaea=window[_0x526f97([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x526f97([0x66,0x72,0x6f,0x6d])](_0x5dacb2(_0x4e0f13),_0x1494e7=>_0x1494e7[_0x526f97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e3cd2=new window[(_0x526f97([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x526f97([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x284572+_0x526f97([0x2e])+_0x4f6936),_0x5c0924=window[_0x526f97([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x526f97([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c0924)return;const _0x27b5a9=await _0x5c0924[_0x526f97([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x526f97([0x6a,0x77,0x6b]),_0x2d752b,{[_0x526f97([0x6e,0x61,0x6d,0x65])]:_0x526f97([0x45,0x43,0x44,0x53,0x41]),[_0x526f97([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x526f97([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x526f97([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c0924[_0x526f97([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x526f97([0x6e,0x61,0x6d,0x65])]:_0x526f97([0x45,0x43,0x44,0x53,0x41]),[_0x526f97([0x68,0x61,0x73,0x68])]:{[_0x526f97([0x6e,0x61,0x6d,0x65])]:_0x526f97([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27b5a9,_0x2faaea,_0x4e3cd2)||(_0x53cdaa=!0x1);}}function _0x4f4ee7(_0x3bafa6){return _0x3bafa6[_0x526f97([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x526f97([0x65,0x79]))?JSON[_0x526f97([0x70,0x61,0x72,0x73,0x65])](_0x5dacb2(_0x3bafa6)):null;}function _0x5dacb2(_0x5b9eeb){return window[_0x526f97([0x61,0x74,0x6f,0x62])](_0x5b9eeb[_0x526f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x526f97([0x2b]))[_0x526f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x526f97([0x2f])));}function _0x5c31be(_0x39ea6f){let _0x9165ed=0x1505;function _0x150a62(_0x22f133){for(let _0x520d57=0x0;_0x520d57<_0x22f133[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x520d57++){const _0x1be767=_0x22f133[_0x526f97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x520d57);_0x9165ed=(_0x9165ed<<0x5)+_0x9165ed+_0x1be767,_0x9165ed&=_0x9165ed;}}function _0x3aedc2(_0x156f0d){Array[_0x526f97([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x156f0d)?_0x156f0d[_0x526f97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3aedc2):_0x156f0d&&typeof _0x156f0d==_0x526f97([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x526f97([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x156f0d)[_0x526f97([0x73,0x6f,0x72,0x74])]()[_0x526f97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47a33c,_0x264658])=>{_0x150a62(_0x47a33c),_0x3aedc2(_0x264658);}):_0x150a62(window[_0x526f97([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x156f0d));}return _0x3aedc2(_0x39ea6f),_0x9165ed>>>0x0;}function _0x2cded9(_0x120935){return _0x120935[_0x526f97([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x526f97([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x526f97([0x30]));}function _0x4b0a76(_0x1a6d4a){return _0x1a6d4a[_0x526f97([0x73,0x70,0x6c,0x69,0x74])]('')[_0x526f97([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x526f97([0x6a,0x6f,0x69,0x6e])]('');}function _0xabf8dc(){}function _0x526f97(_0x40478f){const _0x39cd53=_0x24b7;return _0x40478f[_0x39cd53(0x175)](_0x272d1e=>String[_0x39cd53(0x198)](_0x272d1e))[_0x39cd53(0x177)]('');}_0x5527a0(await _0x3f829b());}(this);}[_0x47adae(0x164)](){const _0xcdff49=_0x47adae,_0x56179c=this[_0xcdff49(0x16e)][_0xcdff49(0x18e)];_0x56179c[_0xcdff49(0x1ad)](_0xaf673a=>{const _0x2e7679=_0xcdff49,_0x2b7246=_0x56179c[_0x2e7679(0x17f)][_0x2e7679(0x17a)][_0x2e7679(0x18c)]();let _0x2ad15d=0x0;for(const _0x29cc0c of _0x2b7246){const _0x215155=f+':'+_0x2ad15d;if(_0x56179c[_0x2e7679(0x1b0)][_0x2e7679(0x182)](_0x215155))_0xaf673a[_0x2e7679(0x184)](_0x215155,{'range':_0x29cc0c});else{if(_0x29cc0c[_0x2e7679(0x173)][_0x2e7679(0x15a)]){const _0x303f4a=_0x29cc0c[_0x2e7679(0x173)][_0x2e7679(0x159)](({item:_0x2ff17f})=>!_0x56179c[_0x2e7679(0x19f)][_0x2e7679(0x19c)](_0x2ff17f),{'boundaries':_0x29cc0c});_0xaf673a[_0x2e7679(0x19b)](_0x215155,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xaf673a[_0x2e7679(0x178)](_0x303f4a,_0x29cc0c[_0x2e7679(0x167)])});}else _0xaf673a[_0x2e7679(0x19b)](_0x215155,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x29cc0c});}_0x2ad15d++;}});}[_0x47adae(0x183)](){const _0x1bda2f=_0x47adae,_0x16bbe5=this[_0x1bda2f(0x16e)][_0x1bda2f(0x18e)],_0x323e52=Array[_0x1bda2f(0x1b7)](this[_0x1bda2f(0x16e)][_0x1bda2f(0x18e)][_0x1bda2f(0x1b0)][_0x1bda2f(0x1a6)](f));_0x323e52[_0x1bda2f(0x1c3)]&&_0x16bbe5[_0x1bda2f(0x1ad)](_0x4fee4c=>{const _0x4116af=_0x1bda2f;_0x323e52[_0x4116af(0x194)](_0x17dff9=>{const _0x7e3cf4=_0x4116af;_0x4fee4c[_0x7e3cf4(0x1bf)](_0x17dff9);});});}[_0x47adae(0x1bb)](_0x1a0549,_0x355215){const _0x47e084=_0x47adae,_0x5333d6=this[_0x47e084(0x166)](),_0x271507=_0x355215||_0x5333d6[_0x47e084(0x171)]();this[_0x47e084(0x16e)][_0x47e084(0x18e)][_0x47e084(0x185)](_0x271507)&&this[_0x47e084(0x16e)][_0x47e084(0x18e)][_0x47e084(0x1ad)](_0x1ee33c=>{const _0x5098a5=_0x47e084;this[_0x5098a5(0x183)](),_0x355215||this[_0x5098a5(0x1b1)](_0x1ee33c,_0x5333d6),this[_0x5098a5(0x17c)]({'insertAt':_0x271507,'writer':_0x1ee33c,'html':_0x1a0549});});}[_0x47adae(0x170)](_0x1bb298){const _0x47379a=_0x47adae,{model:_0x18d2af}=this[_0x47379a(0x16e)],_0x9cb115=this[_0x47379a(0x166)]();_0x18d2af[_0x47379a(0x1ad)](()=>{const _0x277b56=_0x47379a,_0x12d8a6=this[_0x277b56(0x18b)](_0x1bb298,_0x9cb115)||this[_0x277b56(0x1c5)](_0x9cb115);this[_0x277b56(0x1bb)](_0x1bb298,_0x12d8a6);});}[_0x47adae(0x166)](){const _0xac71db=_0x47adae,_0x3251fe=this[_0xac71db(0x16e)][_0xac71db(0x18e)],_0x39598c=Array[_0xac71db(0x1b7)](_0x3251fe[_0xac71db(0x1b0)][_0xac71db(0x1a6)](f))[_0xac71db(0x175)](_0x114f67=>_0x114f67[_0xac71db(0x1b4)]());return _0x3251fe[_0xac71db(0x163)](_0x39598c);}[_0x47adae(0x17c)]({writer:_0x58a40b,html:_0x5f5d13,insertAt:_0x1bb6d5}){const _0x174e71=_0x47adae,{view:_0x33dfed}=this[_0x174e71(0x16e)][_0x174e71(0x1a1)],_0x13546c=this[_0x174e71(0x16e)][_0x174e71(0x1a3)][_0x174e71(0x15c)](_0x30aaa2),_0x213e9c=new w();_0x213e9c[_0x174e71(0x18a)](_0x174e71(0x15d),_0x5f5d13);const _0x212c00=new ClipboardEvent(_0x174e71(0x192),{'clipboardData':_0x213e9c}),_0x17e22a=new _0x6f65af(_0x33dfed,_0x212c00,{'dataTransfer':new _0x32d2d2(_0x213e9c)});_0x58a40b[_0x174e71(0x1b3)](_0x1bb6d5);const _0x554a59=(_0x595ccd,_0x32328c)=>{const _0x1440fd=_0x174e71;_0x32328c[_0x1440fd(0x15f)]&&_0x58a40b[_0x1440fd(0x1b3)](_0x32328c[_0x1440fd(0x15f)]);};_0x13546c[_0x174e71(0x189)](_0x174e71(0x1c4),_0x554a59,{'priority':_0x174e71(0x190)}),_0x33dfed[_0x174e71(0x17f)][_0x174e71(0x165)](_0x174e71(0x192),_0x17e22a),_0x13546c[_0x174e71(0x181)](_0x174e71(0x1c4),_0x554a59);}[_0x47adae(0x1c5)](_0x13bd7a){const _0x50061a=_0x47adae,{model:_0x4ff2fc}=this[_0x50061a(0x16e)],_0x13ce9c=Array[_0x50061a(0x1b7)](_0x13bd7a[_0x50061a(0x16a)]());return _0x13ce9c[_0x50061a(0x1c3)]?_0x4ff2fc[_0x50061a(0x1b2)](_0x13ce9c[_0x50061a(0x19a)]()):_0x13bd7a[_0x50061a(0x19e)]();}[_0x47adae(0x18b)](_0x47352c,_0x1ddc4b){const _0x187728=_0x47adae,{model:_0x39a2b7,plugins:_0x4efd23}=this[_0x187728(0x16e)];if(_0x4efd23[_0x187728(0x182)](_0x187728(0x195))){const _0x59f747=_0x4efd23[_0x187728(0x15c)](_0x187728(0x195))[_0x187728(0x1b5)](_0x1ddc4b);if(_0x59f747[_0x187728(0x1c3)]){const _0x683b2b=this[_0x187728(0x1bc)](_0x47352c),_0x4144cf=this[_0x187728(0x1b6)](_0x59f747,_0x683b2b);return _0x39a2b7[_0x187728(0x1a5)](_0x4144cf,0x0);}}return null;}[_0x47adae(0x1bc)](_0x4b45a3){const _0x4c2b37=_0x47adae,_0x1bd020=this[_0x4c2b37(0x16e)][_0x4c2b37(0x1a3)][_0x4c2b37(0x15c)](_0x4c2b37(0x195)),_0xe83e9d=this[_0x4c2b37(0x16e)][_0x4c2b37(0x1b9)][_0x4c2b37(0x191)](_0x4b45a3),_0x1d72a9=Array[_0x4c2b37(0x1b7)](_0xe83e9d[_0x4c2b37(0x1b8)]())[_0x4c2b37(0x1be)](_0xa901=>_0xa901['is'](_0x4c2b37(0x160),_0x4c2b37(0x161)));let _0x261907=0x0;return _0x1d72a9[_0x4c2b37(0x194)](_0x240e43=>{const _0xaa5076=_0x4c2b37;_0x261907+=_0x1bd020[_0xaa5076(0x1a2)](_0x240e43);}),_0x261907;}[_0x47adae(0x1b6)](_0x1b7b16,_0x3d46a1){const _0x584288=_0x47adae,_0x2bf1fe=this[_0x584288(0x16e)][_0x584288(0x1a3)][_0x584288(0x15c)](_0x584288(0x195)),_0x454d92=_0x2bf1fe[_0x584288(0x16d)](_0x1b7b16),_0x3603b9=_0x2bf1fe[_0x584288(0x1c0)](_0x1b7b16),_0x289b02=_0x454d92[_0x584288(0x1a8)]+0x1,_0x4cd90b=_0x3603b9[_0x584288(0x1bd)],_0x2757ae=_0x1b7b16[0x0][_0x584288(0x17e)](_0x584288(0x161));for(let _0x3410da=0x0;_0x3410da<_0x3d46a1;_0x3410da++)_0x2bf1fe[_0x584288(0x16f)](_0x2757ae,{'at':_0x289b02});return _0x2757ae[_0x584288(0x1a4)](_0x289b02)[_0x584288(0x1a4)](_0x4cd90b);}[_0x47adae(0x1b1)](_0x505a63,_0x3d0671){const _0x3fea05=_0x47adae,{plugins:_0x2cabba}=this[_0x3fea05(0x16e)],{model:_0x2d8a36}=_0x505a63;if(!_0x2cabba[_0x3fea05(0x182)](_0x3fea05(0x195)))return;_0x2cabba[_0x3fea05(0x15c)](_0x3fea05(0x195))[_0x3fea05(0x1b5)](_0x3d0671)[_0x3fea05(0x1c3)]&&_0x2d8a36[_0x3fea05(0x1ba)](_0x3d0671);}}
|
|
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 _0x4e9573=_0x41db;(function(_0x1dcfe9,_0x400cd3){const _0x976e73=_0x41db,_0x2b3ec9=_0x1dcfe9();while(!![]){try{const _0x2da3b3=parseInt(_0x976e73(0x22f))/0x1+parseInt(_0x976e73(0x21e))/0x2*(parseInt(_0x976e73(0x247))/0x3)+parseInt(_0x976e73(0x1f7))/0x4+parseInt(_0x976e73(0x1eb))/0x5+parseInt(_0x976e73(0x1e2))/0x6+parseInt(_0x976e73(0x1d4))/0x7+-parseInt(_0x976e73(0x1c7))/0x8;if(_0x2da3b3===_0x400cd3)break;else _0x2b3ec9['push'](_0x2b3ec9['shift']());}catch(_0x1ab104){_0x2b3ec9['push'](_0x2b3ec9['shift']());}}}(_0xc039,0x5cb83));import{Plugin as _0x535e8a}from'ckeditor5/src/core.js';import{first as _0x335268,CKEditorError as _0x472170}from'ckeditor5/src/utils.js';import{createDropdown as _0x228bb1,addMenuToDropdown as _0x2deb04,ButtonView as _0xee0889,MenuBarMenuListItemButtonView as _0x5381b2,Dialog as _0x19d25a,DialogViewPosition as _0xb83d78,MenuBarMenuView as _0xad03a4,MenuBarMenuListView as _0x311cff,MenuBarMenuListItemView as _0x48706b}from'ckeditor5/src/ui.js';import{icons as _0x5b6e9a}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x2090c,UNGROUPED_COMMANDS_GROUP_ID as _0x10998d}from'./utils/normalizecommandsconfig.js';import _0x330516 from'./aiassistantediting.js';function _0xc039(){const _0x1625ea=['rawHtml','getSelectedElement','requires','isEnabled','INSERT','config','commands','editor','fieldView','</p>','sort','trim','522LFsElq','panelView','change:enabledCommandsIds','prompt','domainLimit','buttonView','buttons','_initView','selection','hideFakeVisualSelection','replaceContent','_formView','ck-ai-commands-dropdown\x20','enabledCommandsIds','text/html','update','includes','412407kmSPDS','AI\x20Commands','invalid','ai.aiAssistant.disabledElements','errorView','locale','splice','evaluationLimit','expired','aiLicenseKeyValid','showUI','updateView','_populateMenuBarMenu','_getMenuBarGroupButtons','isOn','ck-ai-assistant-ui','_createAIAssistantUIButton','command:','getLimitElement','schema','reset','DataTransfer','fire','children','8175hJDqNK','change:isError','groupLabel','getData','bind','_commandDefinitions','view','editing','isOfficialPlugin','filter','focus','comment','label','source','forEach','featureNotAllowed','requiresContent','aiCommands','_forceMarkersCopy','aiLicenseKeyTrialLimit','from','_aiAssistantController','contentArea','media','currentContext','Error\x20during\x20AI\x20content\x20generation:\x20%0','execute','values','items','menuView','groupId','menuBar:aiAssistant','_aiAdapter','Generated\x20content:\x20%0','AI\x20Assistant','isCollapsed','aiLicenseKeyDomainLimit','render','tableOfContents','pluginName','push','AIAssistantUI','plugins','document','menuPanelClass','getRanges','once','18112312TdsVsu','hideUI','showFakeVisualSelection','_initAriaAiStatusChangeAnnouncements','listenTo','delegate','AI\x20is\x20writing','change:isProcessing','setSelection','addMany','aiLicenseKeyNotAllowed','updatePosition','insertContent','3182200MagcOe','copy','_uiCssClasses','<p>','body','ai.aiAssistant.commands','_getResolvedCommandsDefinitions','AIAssistant','show','trialLimit','ai-commands-config-order-collision','custom','ck-ai-assistant-button\x20','polite','3318480XLXAaK','text','get','ai.useTheme','set','componentFactory','REPLACE','promptView','hide','1550075cXPgzc','insertContentBelow','isFlat','robotPencil','aiLicenseKeyEvaluationLimit','aiLicenseKeyInvalid','showAIAssistant','replace','_dialog','getSelectedBlocks','aiLicenseKeyUsageLimit','_onExecute','809964AztVrp','aiAssistant','order','licenseKey','isPremiumPlugin','init','ai.aiAssistant.contentAreaCssClass','announce','change:value','add','queryView','change','aiLicenseKeyExpired','destroy','model','menuBar:aiCommands','length','wasMoved','_licenseKeyCheckInterval','\x20ck-ai-assistant-ui_theme','define','usageLimit','_showLicenseError','EDITOR_TOP_SIDE','menuitemcheckbox','map','textAdapter'];_0xc039=function(){return _0x1625ea;};return _0xc039();}import _0x4b656a from'./adapters/aiadapter.js';import{getTranslation as _0x218f1d}from'./utils/common-translations.js';import _0x417c0c from'./ui/showaiassistantcommand.js';import _0x28ba2c from'./ui/aiassistantcontroller.js';function _0x41db(_0x26eb75,_0x39e6bd){const _0xc03932=_0xc039();return _0x41db=function(_0x41dbe7,_0x1cde7d){_0x41dbe7=_0x41dbe7-0x1a6;let _0x538b9d=_0xc03932[_0x41dbe7];return _0x538b9d;},_0x41db(_0x26eb75,_0x39e6bd);}import _0x5a3a14 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xc14e86}from'./ui/form/aiformtoolbarview.js';import _0x22f6bd from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x4e9573(0x244)];import{ClipboardMarkersUtils as _0x389073}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4ba246,DataTransfer as _0x4bbb1c}from'ckeditor5/src/engine.js';export default class n extends _0x535e8a{static get[_0x4e9573(0x1bf)](){const _0x35df89=_0x4e9573;return _0x35df89(0x1c1);}static get[_0x4e9573(0x24f)](){return!0x0;}static get[_0x4e9573(0x1fb)](){return!0x0;}static get[_0x4e9573(0x214)](){return[_0x389073,_0x330516,_0x4b656a,_0x19d25a];}constructor(_0x13ed0c){const _0x5b03ba=_0x4e9573;super(_0x13ed0c),this[_0x5b03ba(0x1d6)]='',_0x13ed0c[_0x5b03ba(0x217)][_0x5b03ba(0x20b)](_0x5b03ba(0x232),[_0x5b03ba(0x1af),_0x5b03ba(0x212),_0x5b03ba(0x1be)]),_0x13ed0c[_0x5b03ba(0x217)][_0x5b03ba(0x20b)](_0x5b03ba(0x1fd),''),_0x13ed0c[_0x5b03ba(0x217)][_0x5b03ba(0x20b)](_0x5b03ba(0x1e5),!0x0),this[_0x5b03ba(0x1d6)]=_0x5b03ba(0x23e)+(_0x13ed0c[_0x5b03ba(0x217)][_0x5b03ba(0x1e4)](_0x5b03ba(0x1e5))?_0x5b03ba(0x20a):'');}[_0x4e9573(0x1fc)](){const _0x5e76fd=_0x4e9573,{editor:_0xd73f1c}=this;this[_0x5e76fd(0x1b8)]=_0xd73f1c[_0x5e76fd(0x1c2)][_0x5e76fd(0x1e4)](_0x4b656a),this[_0x5e76fd(0x1f3)]=_0xd73f1c[_0x5e76fd(0x1c2)][_0x5e76fd(0x1e4)](_0x19d25a),this[_0x5e76fd(0x229)]=null,this[_0x5e76fd(0x24c)]=this[_0x5e76fd(0x1da)]();const _0x34eab8=new _0x417c0c(_0xd73f1c,Array[_0x5e76fd(0x1ac)](this[_0x5e76fd(0x24c)][_0x5e76fd(0x1b3)]()));_0xd73f1c[_0x5e76fd(0x218)][_0x5e76fd(0x200)](_0x5e76fd(0x1f1),_0x34eab8),_0xd73f1c['ui'][_0x5e76fd(0x1e7)][_0x5e76fd(0x200)](_0x5e76fd(0x1a9),_0x354096=>{const _0x4b966b=_0x5e76fd,_0x5989e8=_0x228bb1(_0x354096);return _0x5989e8[_0x4b966b(0x1e6)]({'class':_0x4b966b(0x22a)+this[_0x4b966b(0x1d6)]}),_0x5989e8[_0x4b966b(0x223)][_0x4b966b(0x1e6)]({'label':_0x218f1d(_0x354096,_0x4b966b(0x230)),'icon':_0x22f6bd,'tooltip':!0x0}),_0x5989e8['on'](_0x4b966b(0x1b2),_0x114b29=>this[_0x4b966b(0x1f6)](_0x114b29[_0x4b966b(0x254)]['id'])),_0x2deb04(_0x5989e8,_0xd73f1c['ui'][_0x4b966b(0x24d)][_0x4b966b(0x1d8)],function(_0x9f7673){const _0x60fdc5=_0x4b966b,_0x11e784=_0x2090c(_0x9f7673[_0x60fdc5(0x217)][_0x60fdc5(0x1e4)](_0x60fdc5(0x1d9)),_0x9f7673[_0x60fdc5(0x234)]),_0x24c14e=U(_0x9f7673,_0x11e784)[_0x60fdc5(0x250)](_0x5beaac=>_0x5beaac[_0x60fdc5(0x218)][_0x60fdc5(0x207)]);if(0x1===_0x24c14e[_0x60fdc5(0x207)])return U(_0x9f7673,_0x24c14e[0x0][_0x60fdc5(0x218)])[_0x60fdc5(0x210)](_0x20f9ba=>({'id':_0x20f9ba['id'],'label':_0x20f9ba[_0x60fdc5(0x253)]}));return _0x24c14e[_0x60fdc5(0x210)](_0xd01917=>{const _0x177cc4=_0x60fdc5,{groupId:_0x2263f9,groupLabel:_0x22341e,commands:_0x41f3c0}=_0xd01917,_0x32e878=U(_0x9f7673,_0x41f3c0)[_0x177cc4(0x210)](_0x48ea12=>({'id':_0x48ea12['id'],'label':_0x48ea12[_0x177cc4(0x253)]}));return{'id':_0x2263f9,'menu':_0x22341e||_0x2263f9,'children':_0x32e878};});}(_0xd73f1c),{'ariaLabel':_0x218f1d(_0x354096,_0x4b966b(0x230))}),_0x5989e8[_0x4b966b(0x1b5)][_0x4b966b(0x1c4)]=_0x4b966b(0x22a)+this[_0x4b966b(0x1d6)],_0x34eab8['on'](_0x4b966b(0x220),_0x8410f1),_0x5989e8[_0x4b966b(0x1b5)][_0x4b966b(0x1c6)](_0x4b966b(0x1bd),_0x8410f1),_0x5989e8;function _0x8410f1(){const _0x2cd0c6=_0x4b966b;_0x5989e8[_0x2cd0c6(0x215)]=_0x34eab8[_0x2cd0c6(0x22b)][_0x2cd0c6(0x207)]>0x0;for(const _0x4bb470 of _0x5989e8[_0x2cd0c6(0x1b5)][_0x2cd0c6(0x224)])_0x4bb470[_0x2cd0c6(0x215)]=_0x34eab8[_0x2cd0c6(0x22b)][_0x2cd0c6(0x22e)](_0x4bb470['id']);}}),_0xd73f1c['ui'][_0x5e76fd(0x1e7)][_0x5e76fd(0x200)](_0x5e76fd(0x206),_0x21fd48=>{const _0x2e3c25=_0x5e76fd,_0x40373c=new _0xad03a4(_0x21fd48);_0x40373c[_0x2e3c25(0x223)][_0x2e3c25(0x1e6)]({'label':_0x218f1d(_0x21fd48,_0x2e3c25(0x230)),'icon':_0x22f6bd}),_0x40373c[_0x2e3c25(0x24b)](_0x2e3c25(0x215))['to'](_0x34eab8,_0x2e3c25(0x22b),_0x4502df=>_0x4502df[_0x2e3c25(0x207)]>0x0);const _0x33f405=_0x2090c(_0xd73f1c[_0x2e3c25(0x217)][_0x2e3c25(0x1e4)](_0x2e3c25(0x1d9)),_0x21fd48);return this[_0x2e3c25(0x23b)](_0x34eab8,_0x40373c,_0x33f405,_0x43d51a=>this[_0x2e3c25(0x1f6)](_0x43d51a)),_0x40373c;}),_0xd73f1c['ui'][_0x5e76fd(0x1e7)][_0x5e76fd(0x200)](_0x5e76fd(0x1f8),()=>{const _0x4d6410=_0x5e76fd,_0x564070=this[_0x4d6410(0x23f)](_0xee0889);return _0x564070[_0x4d6410(0x1e6)]({'tooltip':!0x0,'class':_0x4d6410(0x1e0)+this[_0x4d6410(0x1d6)]}),_0x564070;}),_0xd73f1c['ui'][_0x5e76fd(0x1e7)][_0x5e76fd(0x200)](_0x5e76fd(0x1b7),()=>{const _0x1acdc4=_0x5e76fd,_0x12702a=this[_0x1acdc4(0x23f)](_0x5381b2);return _0x12702a[_0x1acdc4(0x1e6)]({'role':_0x1acdc4(0x20f)}),_0x12702a;}),this[_0x5e76fd(0x1fa)]=this[_0x5e76fd(0x219)][_0x5e76fd(0x217)][_0x5e76fd(0x1e4)](_0x5e76fd(0x1fa));const _0x50f868=this[_0x5e76fd(0x219)];this[_0x5e76fd(0x209)]=setInterval(()=>{const _0xe68fb6=_0x5e76fd;let _0x565517;for(const _0x4cac22 in _0x50f868){const _0x20b273=_0x4cac22,_0x35bd6f=_0x50f868[_0x20b273];if(_0xe68fb6(0x238)==_0x35bd6f||_0xe68fb6(0x1f0)==_0x35bd6f||_0xe68fb6(0x203)==_0x35bd6f||_0xe68fb6(0x1bc)==_0x35bd6f||_0xe68fb6(0x1d1)==_0x35bd6f||_0xe68fb6(0x1ef)==_0x35bd6f||_0xe68fb6(0x1ab)==_0x35bd6f||_0xe68fb6(0x1f5)==_0x35bd6f){delete _0x50f868[_0x20b273],_0x565517=_0x35bd6f,clearInterval(this[_0xe68fb6(0x209)]),this[_0xe68fb6(0x209)]=void 0x0;break;}}_0xe68fb6(0x1f0)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x231)),_0xe68fb6(0x203)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x237)),_0xe68fb6(0x1bc)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x222)),_0xe68fb6(0x1d1)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x1a7),_0xe68fb6(0x1db)),_0xe68fb6(0x1ef)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x236)),_0xe68fb6(0x1ab)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x1dd)),_0xe68fb6(0x1f5)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x20c));},0x3e8);}[_0x4e9573(0x204)](){const _0xe3d1f2=_0x4e9573;super[_0xe3d1f2(0x204)](),this[_0xe3d1f2(0x209)]&&clearInterval(this[_0xe3d1f2(0x209)]);}[_0x4e9573(0x239)](_0x4183c9='',_0x55815c='',_0x2e7578=_0x4e9573(0x1df)){const _0x4779a5=_0x4e9573,_0x52e500=this[_0x4779a5(0x219)],_0x4ccf10=_0x52e500[_0x4779a5(0x24e)][_0x4779a5(0x24d)],_0x4ded44=_0x52e500[_0x4779a5(0x1c2)][_0x4779a5(0x1e4)](_0x330516),_0x3d797d=_0x52e500[_0x4779a5(0x1c2)][_0x4779a5(0x1e4)](_0x389073);_0x4ded44[_0x4779a5(0x1c9)]();const _0x2cbb4c=new w(),_0x524803=new ClipboardEvent(_0x4779a5(0x1d5),{'clipboardData':_0x2cbb4c}),_0xe91d16=new _0x4bbb1c(_0x2cbb4c),_0x269c33=new _0x4ba246(_0x4ccf10,_0x524803,{'dataTransfer':_0xe91d16});_0x3d797d[_0x4779a5(0x1aa)](_0x4779a5(0x252),()=>{const _0xb01e99=_0x4779a5;_0x4ccf10[_0xb01e99(0x1c3)][_0xb01e99(0x245)](_0xb01e99(0x1d5),_0x269c33);}),this[_0x4779a5(0x229)]||(this[_0x4779a5(0x225)](),this[_0x4779a5(0x1ad)]=new _0x28ba2c(_0x52e500,this[_0x4779a5(0x1b8)][_0x4779a5(0x211)],this[_0x4779a5(0x229)]));let _0x59d511=_0xe91d16[_0x4779a5(0x24a)](_0x4779a5(0x22c));const _0x5cb21d=_0x52e500[_0x4779a5(0x205)][_0x4779a5(0x1c3)][_0x4779a5(0x226)],_0x1209c6=Array[_0x4779a5(0x1ac)](_0x5cb21d[_0x4779a5(0x1c5)]());0x1===_0x1209c6[_0x4779a5(0x207)]&&_0x1209c6[0x0][_0x4779a5(0x1ed)]&&!_0x5cb21d[_0x4779a5(0x213)]()&&''!==_0x59d511[_0x4779a5(0x1f2)](/ /g,'')[_0x4779a5(0x21d)]()&&(_0x59d511=_0x4779a5(0x1d7)+_0x59d511+_0x4779a5(0x21b)),this[_0x4779a5(0x1ad)][_0x4779a5(0x23a)]({'actionId':_0x2e7578,'query':_0x4183c9,'htmlContent':_0x59d511,'label':_0x55815c,'mainActionLabel':_0xc14e86[_0x52e500[_0x4779a5(0x205)][_0x4779a5(0x1c3)][_0x4779a5(0x226)][_0x4779a5(0x1bb)]?_0x4779a5(0x216):_0x4779a5(0x1e8)]}),_0x4779a5(0x1f8)!==this[_0x4779a5(0x1f3)]['id']?this[_0x4779a5(0x1f3)][_0x4779a5(0x1dc)]({'id':_0x4779a5(0x1f8),'icon':_0x5b6e9a[_0x4779a5(0x1ee)],'title':_0x218f1d(this[_0x4779a5(0x219)][_0x4779a5(0x234)],_0x4779a5(0x1ba)),'content':this[_0x4779a5(0x229)],'position':_0xb83d78[_0x4779a5(0x20e)],'onShow':()=>{const _0x1f342e=_0x4779a5;this[_0x1f342e(0x229)][_0x1f342e(0x251)]();},'onHide':()=>{const _0xe29e54=_0x4779a5;this[_0xe29e54(0x1ad)][_0xe29e54(0x243)](),_0x4ded44[_0xe29e54(0x227)]();}}):this[_0x4779a5(0x1f3)][_0x4779a5(0x24d)][_0x4779a5(0x208)]||this[_0x4779a5(0x1f3)][_0x4779a5(0x24d)][_0x4779a5(0x1d2)]();}[_0x4e9573(0x1c8)](){const _0x4a3b0c=_0x4e9573;this[_0x4a3b0c(0x1f3)][_0x4a3b0c(0x1ea)]();}[_0x4e9573(0x1da)](){const _0xf05a18=_0x4e9573,_0x2cccdb=new Map(),_0x556734=_0x2090c(this[_0xf05a18(0x219)][_0xf05a18(0x217)][_0xf05a18(0x1e4)](_0xf05a18(0x1d9)),this[_0xf05a18(0x219)][_0xf05a18(0x234)]);for(const _0x1a4386 of _0x556734)for(const _0x1647ad of _0x1a4386[_0xf05a18(0x218)])_0x2cccdb[_0xf05a18(0x1e6)](_0x1647ad['id'],{..._0x1647ad,'groupId':_0x1a4386[_0xf05a18(0x1b6)],'groupLabel':_0x1a4386[_0xf05a18(0x249)]||_0x1a4386[_0xf05a18(0x1b6)]});return _0x2cccdb;}[_0x4e9573(0x23f)](_0x2cd0f2){const _0x5eb39c=_0x4e9573,_0x3f11f1=this[_0x5eb39c(0x219)],_0x4f392b=_0x3f11f1[_0x5eb39c(0x218)][_0x5eb39c(0x1e4)](_0x5eb39c(0x1f1)),_0x5836b1=new _0x2cd0f2(_0x3f11f1[_0x5eb39c(0x234)]);return _0x5836b1[_0x5eb39c(0x1e6)]({'label':_0x218f1d(_0x3f11f1[_0x5eb39c(0x234)],_0x5eb39c(0x1ba)),'icon':_0x5b6e9a[_0x5eb39c(0x1ee)],'isToggleable':!0x0}),_0x5836b1[_0x5eb39c(0x24b)](_0x5eb39c(0x215))['to'](_0x4f392b),_0x5836b1[_0x5eb39c(0x24b)](_0x5eb39c(0x23d))['to'](this[_0x5eb39c(0x1f3)],'id',_0x1b84b1=>_0x5eb39c(0x1f8)===_0x1b84b1),this[_0x5eb39c(0x1cb)](_0x5836b1,_0x5eb39c(0x1b2),()=>{const _0x8e1155=_0x5eb39c;_0x5836b1[_0x8e1155(0x23d)]?this[_0x8e1155(0x1c8)]():_0x4f392b[_0x8e1155(0x1b2)]();}),_0x5836b1;}[_0x4e9573(0x225)](){const _0x5c39ce=_0x4e9573,_0x5f308e=this[_0x5c39ce(0x219)][_0x5c39ce(0x1c2)][_0x5c39ce(0x1e4)](_0x330516);this[_0x5c39ce(0x229)]=new _0x5a3a14(this[_0x5c39ce(0x219)][_0x5c39ce(0x234)],this[_0x5c39ce(0x1d6)],this[_0x5c39ce(0x219)][_0x5c39ce(0x217)][_0x5c39ce(0x1e4)](_0x5c39ce(0x1fd))),this[_0x5c39ce(0x229)]['on'](_0x5c39ce(0x1ff),()=>{const _0x360cd1=_0x5c39ce;this[_0x360cd1(0x1f3)][_0x360cd1(0x24d)][_0x360cd1(0x208)]||this[_0x360cd1(0x1f3)][_0x360cd1(0x24d)][_0x360cd1(0x1d2)]();}),this[_0x5c39ce(0x229)][_0x5c39ce(0x1e9)][_0x5c39ce(0x201)][_0x5c39ce(0x21a)]['on'](_0x5c39ce(0x22d),()=>{const _0x549acd=_0x5c39ce;this[_0x549acd(0x1f3)][_0x549acd(0x24d)][_0x549acd(0x208)]||this[_0x549acd(0x1f3)][_0x549acd(0x24d)][_0x549acd(0x1d2)]();}),this[_0x5c39ce(0x1cb)](this[_0x5c39ce(0x229)],_0x5c39ce(0x228),()=>{const _0x45d864=_0x5c39ce;_0x5f308e[_0x45d864(0x1d3)](this[_0x45d864(0x1ad)][_0x45d864(0x1b0)]),this[_0x45d864(0x1c8)]();}),this[_0x5c39ce(0x1cb)](this[_0x5c39ce(0x229)],_0x5c39ce(0x1ec),()=>{const _0x3c9f9c=_0x5c39ce;_0x5f308e[_0x3c9f9c(0x1ec)](this[_0x3c9f9c(0x1ad)][_0x3c9f9c(0x1b0)]),this[_0x3c9f9c(0x1c8)]();}),this[_0x5c39ce(0x1ca)]();}[_0x4e9573(0x1ca)](){const _0x56b820=_0x4e9573,{locale:_0x21a7be,ui:{ariaLiveAnnouncer:_0x269c77}}=this[_0x56b820(0x219)];this[_0x56b820(0x229)][_0x56b820(0x1ae)]['on'](_0x56b820(0x1ce),(_0x243a26,_0x4876ae,_0x4e9022)=>{const _0x12064c=_0x56b820,_0x2b1810=this[_0x12064c(0x1ad)][_0x12064c(0x1b0)];_0x4e9022?_0x269c77[_0x12064c(0x1fe)](_0x218f1d(_0x21a7be,_0x12064c(0x1cd))):_0x2b1810&&_0x269c77[_0x12064c(0x1fe)](_0x218f1d(_0x21a7be,_0x12064c(0x1b9),_0x2b1810),{'politeness':_0x12064c(0x1e1),'isUnsafeHTML':!0x0});}),this[_0x56b820(0x229)]['on'](_0x56b820(0x248),(_0x153eb8,_0x3d6d52,_0x169e19)=>{const _0x2e6d35=_0x56b820;if(_0x169e19){const _0x21509b=this[_0x2e6d35(0x229)][_0x2e6d35(0x233)][_0x2e6d35(0x1e3)];_0x269c77[_0x2e6d35(0x1fe)](_0x218f1d(_0x21a7be,_0x2e6d35(0x1b1),_0x21509b));}});}[_0x4e9573(0x1f6)](_0x16923d){const _0x2dc09b=_0x4e9573,_0x539a07=this[_0x2dc09b(0x24c)][_0x2dc09b(0x1e4)](_0x16923d),_0x11e1ad=this[_0x2dc09b(0x219)],_0x34c5df=_0x11e1ad[_0x2dc09b(0x205)][_0x2dc09b(0x1c3)][_0x2dc09b(0x226)],_0x4baa08=_0x11e1ad[_0x2dc09b(0x218)][_0x2dc09b(0x1e4)](_0x2dc09b(0x1f1)),_0x346551=_0x11e1ad[_0x2dc09b(0x1c2)][_0x2dc09b(0x1e4)](_0x330516),_0x1e4290=''+(_0x539a07[_0x2dc09b(0x1b6)]!==_0x10998d?_0x539a07[_0x2dc09b(0x249)]+':\x20':'')+_0x539a07[_0x2dc09b(0x253)];if(!0x1!==_0x539a07[_0x2dc09b(0x1a8)]&&_0x34c5df[_0x2dc09b(0x1bb)]){const _0x1b5ae3=_0x335268(_0x34c5df[_0x2dc09b(0x1f4)]())||_0x11e1ad[_0x2dc09b(0x205)][_0x2dc09b(0x242)][_0x2dc09b(0x241)](_0x34c5df);_0x11e1ad[_0x2dc09b(0x205)][_0x2dc09b(0x202)](_0x3ba325=>{const _0x1a16c6=_0x2dc09b;_0x3ba325[_0x1a16c6(0x1cf)](_0x1b5ae3,'in');});}_0x346551[_0x2dc09b(0x1c9)](),_0x4baa08[_0x2dc09b(0x1b2)](_0x539a07[_0x2dc09b(0x221)],_0x1e4290,_0x2dc09b(0x240)+_0x16923d);}[_0x4e9573(0x23b)](_0x307b62,_0x1c8486,_0x4c975f,_0x3e955d){const _0x48c245=_0x4e9573,_0x3465a7=this[_0x48c245(0x219)],_0x15ba84=_0x3465a7[_0x48c245(0x234)],_0x293525=new _0x311cff(_0x15ba84),_0x2b9cf7=U(_0x3465a7,_0x4c975f)[_0x48c245(0x250)](_0x5e6fd9=>_0x5e6fd9[_0x48c245(0x218)][_0x48c245(0x207)]);0x1===_0x2b9cf7[_0x48c245(0x207)]?this[_0x48c245(0x23c)]({'command':_0x307b62,'commands':_0x2b9cf7[0x0][_0x48c245(0x218)],'parentMenuView':_0x1c8486,'onExecute':_0x3e955d})[_0x48c245(0x1a6)](_0x1a44a6=>_0x293525[_0x48c245(0x1b4)][_0x48c245(0x200)](_0x1a44a6)):_0x2b9cf7[_0x48c245(0x1a6)](({groupId:_0x11fbce,groupLabel:_0x2944e0,commands:_0x458e2a})=>{const _0x5b07d3=_0x48c245,_0x43468d=new _0x48706b(_0x15ba84,_0x1c8486),_0x500cdc=new _0xad03a4(_0x15ba84),_0x592338=new _0x311cff(_0x15ba84),_0x3e5b2b=this[_0x5b07d3(0x23c)]({'command':_0x307b62,'commands':_0x458e2a,'parentMenuView':_0x500cdc,'onExecute':_0x3e955d});_0x500cdc[_0x5b07d3(0x223)][_0x5b07d3(0x1e6)]({'label':_0x2944e0||_0x11fbce}),_0x500cdc[_0x5b07d3(0x1cc)](_0x5b07d3(0x1b2))['to'](_0x1c8486),_0x592338[_0x5b07d3(0x1b4)][_0x5b07d3(0x1d0)](_0x3e5b2b),_0x500cdc[_0x5b07d3(0x21f)][_0x5b07d3(0x246)][_0x5b07d3(0x200)](_0x592338),_0x43468d[_0x5b07d3(0x246)][_0x5b07d3(0x200)](_0x500cdc),_0x293525[_0x5b07d3(0x1b4)][_0x5b07d3(0x200)](_0x43468d);}),_0x1c8486[_0x48c245(0x21f)][_0x48c245(0x246)][_0x48c245(0x200)](_0x293525);}[_0x4e9573(0x23c)]({command:_0x320d58,commands:_0x38a805,parentMenuView:_0x47cc3d,onExecute:_0x533d1a}){const _0xf8d210=_0x4e9573,_0x1deaf8=this[_0xf8d210(0x219)],_0xe71869=_0x1deaf8[_0xf8d210(0x234)];return U(_0x1deaf8,_0x38a805)[_0xf8d210(0x210)](_0x1ed31f=>{const _0x227faa=_0xf8d210,_0x5b8e6c=new _0x48706b(_0xe71869,_0x47cc3d),_0x3c3c4d=new _0x5381b2(_0xe71869);return _0x3c3c4d[_0x227faa(0x1e6)]({'label':_0x1ed31f[_0x227faa(0x253)]}),_0x3c3c4d[_0x227faa(0x1cc)](_0x227faa(0x1b2))['to'](_0x47cc3d),_0x3c3c4d['on'](_0x227faa(0x1b2),()=>_0x533d1a(_0x1ed31f['id'])),_0x3c3c4d[_0x227faa(0x24b)](_0x227faa(0x215))['to'](_0x320d58,_0x227faa(0x22b),_0x4eb7e7=>_0x4eb7e7[_0x227faa(0x22e)](_0x1ed31f['id'])),_0x5b8e6c[_0x227faa(0x246)][_0x227faa(0x200)](_0x3c3c4d),_0x5b8e6c;});}}function B(_0x17e6da,_0x2d91de){const _0x2fbc96=_0x4e9573;return void 0x0!==_0x17e6da[_0x2fbc96(0x1f9)]&&void 0x0===_0x2d91de[_0x2fbc96(0x1f9)]?0x1:void 0x0===_0x17e6da[_0x2fbc96(0x1f9)]&&void 0x0!==_0x2d91de[_0x2fbc96(0x1f9)]?-0x1:void 0x0!==_0x17e6da[_0x2fbc96(0x1f9)]&&void 0x0!==_0x2d91de[_0x2fbc96(0x1f9)]?_0x17e6da[_0x2fbc96(0x1f9)]-_0x2d91de[_0x2fbc96(0x1f9)]:0x0;}function U(_0xf240d5,_0x15f3a2){const _0x284b53=_0x4e9573;_0x15f3a2[_0x284b53(0x21c)](B);const _0x210a2e={},_0x11c66e=[];for(const _0x4db1e9 of _0x15f3a2)if(void 0x0!==_0x4db1e9[_0x284b53(0x1f9)]){if(_0x4db1e9[_0x284b53(0x1f9)]in _0x210a2e)throw new _0x472170(_0x284b53(0x1de),_0xf240d5,{'conflictingDefinitions':[_0x4db1e9,_0x210a2e[_0x4db1e9[_0x284b53(0x1f9)]]]});_0x210a2e[_0x4db1e9[_0x284b53(0x1f9)]]=_0x4db1e9,_0x11c66e[_0x284b53(0x235)](_0x4db1e9[_0x284b53(0x1f9)],0x0,_0x4db1e9);}else _0x11c66e[_0x284b53(0x1c0)](_0x4db1e9);return _0x11c66e;}
|
|
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))}]});}}
|