@ckeditor/ckeditor5-ai 44.2.0-alpha.5 → 44.2.0-alpha.7
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 _0x42526c=_0x4b58;function _0x25de(){const _0x2fa381=['ai.aiAssistant.preserveComments','translatePortuguese','simplifyLanguage','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','9836VTrgHD','get','find','Direct','translateSpanish','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Simplify\x20language','Arabic','filter','includes','2krCkWb','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','10XozMce','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','forEach','43379vxKoCc','1378386DFVYCV','commands','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','2583860jFLbql','journalism','improveWriting','set','Make\x20longer','concat','Legal','Translate\x20the\x20content\x20to\x20French\x20language.','translateFrench','Change\x20tone','translateHindi','generate','Translate\x20the\x20content\x20to\x20German\x20language.','translate','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','poetic','translateArabic','define','Spanish','makeShorter','ai.aiAssistant.removeCommands','requires','ai.aiAssistant.extraCommandGroups','translateGerman','Friendly','Business','Change\x20style','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','business','Translate\x20the\x20content\x20to\x20English\x20language.','direct','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','903mQstpy','Translate\x20the\x20content\x20to\x20Spanish\x20language.','makeLonger','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Continue','summarize','German','legal','pluginName','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Hindi','translateChinese','changeTone','confident','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','push','ai.aiAssistant.commands','editOrReview','Translate\x20the\x20content\x20to\x20Hindi\x20language.','128fhmaJg','Summarize','French','Professional','casual','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','translateEnglish','Journalism','isPremiumPlugin','config','Generate\x20from\x20selection','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','AIAssistant','3208623lNWfef','Casual','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','1033541OvSOZZ','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','continue','1661466ejKkEL','Confident','locale','Portuguese','changeStyle','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Make\x20shorter','professional','Poetic','groupId','friendly','Translate','isOfficialPlugin','Simplified\x20Chinese','English','Improve\x20writing'];_0x25de=function(){return _0x2fa381;};return _0x25de();}(function(_0x4d8a4a,_0x5a879d){const _0xb55f33=_0x4b58,_0x2be8bd=_0x4d8a4a();while(!![]){try{const _0x28d32f=parseInt(_0xb55f33(0x107))/0x1*(parseInt(_0xb55f33(0x12a))/0x2)+parseInt(_0xb55f33(0xe3))/0x3*(-parseInt(_0xb55f33(0x11f))/0x4)+parseInt(_0xb55f33(0x133))/0x5+-parseInt(_0xb55f33(0x10b))/0x6+parseInt(_0xb55f33(0x12f))/0x7*(-parseInt(_0xb55f33(0xf7))/0x8)+-parseInt(_0xb55f33(0x130))/0x9+-parseInt(_0xb55f33(0x12c))/0xa*(-parseInt(_0xb55f33(0x104))/0xb);if(_0x28d32f===_0x5a879d)break;else _0x2be8bd['push'](_0x2be8bd['shift']());}catch(_0x4307e1){_0x2be8bd['push'](_0x2be8bd['shift']());}}}(_0x25de,0x8bcd6));function _0x4b58(_0x42b635,_0x118324){const _0x25de78=_0x25de();return _0x4b58=function(_0x4b58ff,_0x2e1a50){_0x4b58ff=_0x4b58ff-0xcb;let _0x31d9d3=_0x25de78[_0x4b58ff];return _0x31d9d3;},_0x4b58(_0x42b635,_0x118324);}import{Plugin as _0x2405f5}from'ckeditor5/src/core.js';import _0x13609d from'./aiassistantui.js';import _0x200773 from'./aiassistantediting.js';import{getTranslation as _0x9db1d}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x1115fe}from'./utils/normalizecommandsconfig.js';export default class r extends _0x2405f5{static get[_0x42526c(0xd8)](){return[_0x13609d,_0x200773];}static get[_0x42526c(0xeb)](){const _0x549f4c=_0x42526c;return _0x549f4c(0x103);}static get[_0x42526c(0x117)](){return!0x0;}static get[_0x42526c(0xff)](){return!0x0;}constructor(_0x1bd2ff){const _0x47fbf8=_0x42526c;super(_0x1bd2ff);const _0x2db384=_0x1bd2ff[_0x47fbf8(0x100)],_0x42bca4=_0x1bd2ff[_0x47fbf8(0x10d)];_0x2db384[_0x47fbf8(0xd4)](_0x47fbf8(0x11b),!0x0),_0x2db384[_0x47fbf8(0xd4)](_0x47fbf8(0xf4),getDefaultCommands(_0x42bca4)),_0x2db384[_0x47fbf8(0xd4)](_0x47fbf8(0xd9),[]),_0x2db384[_0x47fbf8(0xd4)](_0x47fbf8(0xd7),[]);let _0x17ca8b=_0x1115fe(_0x2db384[_0x47fbf8(0x120)](_0x47fbf8(0xf4)),_0x42bca4);const _0x4aae51=_0x2db384[_0x47fbf8(0x120)](_0x47fbf8(0xd9)),_0x1b08d5=_0x2db384[_0x47fbf8(0x120)](_0x47fbf8(0xd7));_0x4aae51[_0x47fbf8(0x12e)](_0xa19a47=>{const _0x36a06c=_0x47fbf8,_0x36d3fb=_0x17ca8b[_0x36a06c(0x121)](_0x49f107=>_0x49f107[_0x36a06c(0x114)]===_0xa19a47[_0x36a06c(0x114)]);_0x36d3fb?_0x36d3fb[_0x36a06c(0x131)]=_0x36d3fb[_0x36a06c(0x131)][_0x36a06c(0x138)](_0xa19a47[_0x36a06c(0x131)]):_0x17ca8b[_0x36a06c(0xf3)](_0xa19a47);}),_0x17ca8b=_0x17ca8b[_0x47fbf8(0x128)](_0x3d50b5=>!_0x1b08d5[_0x47fbf8(0x129)](_0x3d50b5[_0x47fbf8(0x114)])),_0x17ca8b[_0x47fbf8(0x12e)](_0x4070b5=>{const _0x83ef66=_0x47fbf8;_0x4070b5[_0x83ef66(0x131)]=_0x4070b5[_0x83ef66(0x131)][_0x83ef66(0x128)](_0x21a2a5=>!_0x1b08d5[_0x83ef66(0x129)](_0x21a2a5['id']));}),_0x2db384[_0x47fbf8(0x136)](_0x47fbf8(0xf4),_0x17ca8b);}}export function getDefaultCommands(_0x4c8d14){const _0x478452=_0x42526c;return[{'groupId':_0x478452(0xf5),'groupLabel':_0x9db1d(_0x4c8d14,_0x478452(0xec)),'commands':[{'id':_0x478452(0x135),'label':_0x9db1d(_0x4c8d14,_0x478452(0x11a)),'prompt':_0x478452(0x106)},{'id':_0x478452(0xd6),'label':_0x9db1d(_0x4c8d14,_0x478452(0x111)),'prompt':_0x478452(0xe2)},{'id':_0x478452(0xe5),'label':_0x9db1d(_0x4c8d14,_0x478452(0x137)),'prompt':_0x478452(0x108)},{'id':_0x478452(0x11d),'label':_0x9db1d(_0x4c8d14,_0x478452(0x126)),'prompt':_0x478452(0xfc)}]},{'groupId':_0x478452(0xce),'groupLabel':_0x9db1d(_0x4c8d14,_0x478452(0x101)),'commands':[{'id':_0x478452(0xe8),'label':_0x9db1d(_0x4c8d14,_0x478452(0xf8)),'prompt':_0x478452(0xd1)},{'id':_0x478452(0x10a),'label':_0x9db1d(_0x4c8d14,_0x478452(0xe7)),'prompt':_0x478452(0x12d)}]},{'groupId':_0x478452(0xf0),'groupLabel':_0x9db1d(_0x4c8d14,_0x478452(0xcc)),'commands':[{'id':_0x478452(0x112),'label':_0x9db1d(_0x4c8d14,_0x478452(0xfa)),'prompt':_0x478452(0x12b)},{'id':_0x478452(0xfb),'label':_0x9db1d(_0x4c8d14,_0x478452(0x105)),'prompt':_0x478452(0xde)},{'id':_0x478452(0xe1),'label':_0x9db1d(_0x4c8d14,_0x478452(0x122)),'prompt':_0x478452(0xe6)},{'id':_0x478452(0xf1),'label':_0x9db1d(_0x4c8d14,_0x478452(0x10c)),'prompt':_0x478452(0x132)},{'id':_0x478452(0x115),'label':_0x9db1d(_0x4c8d14,_0x478452(0xdb)),'prompt':_0x478452(0x11e)}]},{'groupId':_0x478452(0x10f),'groupLabel':_0x9db1d(_0x4c8d14,_0x478452(0xdd)),'commands':[{'id':_0x478452(0xdf),'label':_0x9db1d(_0x4c8d14,_0x478452(0xdc)),'prompt':_0x478452(0x102)},{'id':_0x478452(0xea),'label':_0x9db1d(_0x4c8d14,_0x478452(0x139)),'prompt':_0x478452(0x125)},{'id':_0x478452(0x134),'label':_0x9db1d(_0x4c8d14,_0x478452(0xfe)),'prompt':_0x478452(0x124)},{'id':_0x478452(0xd2),'label':_0x9db1d(_0x4c8d14,_0x478452(0x113)),'prompt':_0x478452(0xf2)}]},{'groupId':_0x478452(0xd0),'groupLabel':_0x9db1d(_0x4c8d14,_0x478452(0x116)),'commands':[{'id':_0x478452(0xfd),'label':_0x9db1d(_0x4c8d14,_0x478452(0x119)),'prompt':_0x478452(0xe0)},{'id':_0x478452(0x123),'label':_0x9db1d(_0x4c8d14,_0x478452(0xd5)),'prompt':_0x478452(0xe4)},{'id':_0x478452(0x11c),'label':_0x9db1d(_0x4c8d14,_0x478452(0x10e)),'prompt':_0x478452(0xed)},{'id':_0x478452(0xda),'label':_0x9db1d(_0x4c8d14,_0x478452(0xe9)),'prompt':_0x478452(0xcf)},{'id':_0x478452(0xcb),'label':_0x9db1d(_0x4c8d14,_0x478452(0xf9)),'prompt':_0x478452(0x13a)},{'id':_0x478452(0xef),'label':_0x9db1d(_0x4c8d14,_0x478452(0x118)),'prompt':_0x478452(0x110)},{'id':_0x478452(0xcd),'label':_0x9db1d(_0x4c8d14,_0x478452(0xee)),'prompt':_0x478452(0xf6)},{'id':_0x478452(0xd3),'label':_0x9db1d(_0x4c8d14,_0x478452(0x127)),'prompt':_0x478452(0x109)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x18a35f=_0x4dd6;function _0x4198(){const _0x4a1a82=['lowest','ck-ai-assistant-ui_theme','markers','setSelection','_getAISelection','deleteContent','addMarker','pop','editing','forEach','ck-fake-ai-selection','plugins','1824XknfDp','_resetContentOfSelectedTableCells','href','getRanges','first','getLastMatchingPosition','afterInit','898786YGJTcp','_getDefaultInsertBelowPosition','isPremiumPlugin','_getTableRowCountFromContent','146605ksfiaB','start','for','findAncestor','text/html','end','from','getChildren','35036zYvdeA','DataTransfer','pluginName','32dDazkv','paste','createPositionAfter','createRange','filter','setData','once','fire','updateMarker','addClass','createPositionAt','getColumnIndexes','isAtEnd','hideFakeVisualSelection','push','getLastPosition','change','conversion','getSelectedTableCells','getRowIndexes','schema','isOfficialPlugin','getSelectedBlocks','getFirstRange','table','fromCharCode','AIAssistantEditing','insertRows','333003DzESKQ','element','editingDowncast','isCollapsed','insertContent','insertContentBelow','_prepareTableInsertBelowPosition','8416120bbufwk','TableUtils','_createEmptyTableRows','getRows','3333816rlGYYS','span','ai-ui','2440RewQJh','selection','114CDLEhN','data','off','isContent','canEditAt','ck-fake-ai-selection_collapsed','contentInsertion','last','markerToElement','createSelection','removeMarker','markerToHighlight','showFakeVisualSelection','getMarkersGroup','config','model','length','map','editor','getChild','join','parse','init','getRange','_pasteHTMLUsingClipboard','createUIElement','document','get','has','ai.useTheme','210IunZcc','resultRange','markerRange'];_0x4198=function(){return _0x4a1a82;};return _0x4198();}(function(_0x45a7cb,_0x6a3ae4){const _0x2f2501=_0x4dd6,_0x104f67=_0x45a7cb();while(!![]){try{const _0x539035=-parseInt(_0x2f2501(0x157))/0x1*(-parseInt(_0x2f2501(0x15a))/0x2)+-parseInt(_0x2f2501(0x144))/0x3*(-parseInt(_0x2f2501(0x184))/0x4)+parseInt(_0x2f2501(0x14f))/0x5*(-parseInt(_0x2f2501(0x117))/0x6)+parseInt(_0x2f2501(0x14b))/0x7+parseInt(_0x2f2501(0x17d))/0x8+-parseInt(_0x2f2501(0x181))/0x9+-parseInt(_0x2f2501(0x135))/0xa*(parseInt(_0x2f2501(0x176))/0xb);if(_0x539035===_0x6a3ae4)break;else _0x104f67['push'](_0x104f67['shift']());}catch(_0x1743d3){_0x104f67['push'](_0x104f67['shift']());}}}(_0x4198,0x85f05));function _0x4dd6(_0x4e4df2,_0x2fdf8d){const _0x419815=_0x4198();return _0x4dd6=function(_0x4dd62d,_0x2fc45b){_0x4dd62d=_0x4dd62d-0x117;let _0x139180=_0x419815[_0x4dd62d];return _0x139180;},_0x4dd6(_0x4e4df2,_0x2fdf8d);}import{uid as _0x447763}from'ckeditor5/src/utils.js';import{Plugin as _0x30615a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xe622eb}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x29b723,DataTransfer as _0x3c33f3}from'ckeditor5/src/engine.js';const w=globalThis[_0x18a35f(0x158)],f=_0x18a35f(0x183);export default class a extends _0x30615a{static get[_0x18a35f(0x159)](){const _0x5e2cc9=_0x18a35f;return _0x5e2cc9(0x174);}static get[_0x18a35f(0x16f)](){return!0x0;}static get[_0x18a35f(0x14d)](){return!0x0;}[_0x18a35f(0x12d)](){const _0x39de80=_0x18a35f,{editor:_0x4c260f}=this,_0x99d3e3=[_0x39de80(0x142)];_0x4c260f[_0x39de80(0x125)][_0x39de80(0x132)](_0x39de80(0x134))&&_0x99d3e3[_0x39de80(0x168)](_0x39de80(0x139)),_0x4c260f[_0x39de80(0x16b)][_0x39de80(0x151)](_0x39de80(0x178))[_0x39de80(0x122)]({'model':f,'view':{'classes':_0x99d3e3,'priority':0xc}}),_0x4c260f[_0x39de80(0x16b)][_0x39de80(0x151)](_0x39de80(0x178))[_0x39de80(0x11f)]({'model':f,'view':(_0x50f285,{writer:_0x3b24ac})=>{const _0x297ed8=_0x39de80;if(!_0x50f285[_0x297ed8(0x137)][_0x297ed8(0x179)])return null;const _0x101def=_0x3b24ac[_0x297ed8(0x130)](_0x297ed8(0x182));return _0x3b24ac[_0x297ed8(0x163)]([_0x297ed8(0x142),_0x297ed8(0x11c)],_0x101def),_0x101def;}});}[_0x18a35f(0x14a)](){!async function(_0x5eeef1){const _0x39c1df=_0x1cda59([0x58,0x6b,0x6c,0x64,0x37,0x55,0x62,0x67,0x66,0x75,0x50,0x70,0x41,0x54,0x68,0x34,0x46,0x7a,0x45,0x72,0x6d,0x4b,0x4a,0x36,0x56,0x49,0x48,0x4f,0x61,0x79,0x52,0x57,0x38,0x30,0x6e,0x65,0x51,0x4e,0x78,0x59,0x71,0x53,0x77,0x32,0x4c,0x44,0x74,0x35,0x42,0x47,0x69,0x4d,0x39,0x6f,0x43,0x73,0x5a,0x76,0x63,0x33,0x31,0x6a]),_0x5d485e=0x429fec51,_0x17cbf2=0x4298b209^_0x5d485e,_0x5a2373=window[_0x1cda59([0x44,0x61,0x74,0x65])][_0x1cda59([0x6e,0x6f,0x77])](),_0x48fce0=_0x5eeef1[_0x1cda59([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x6e7498=new window[(_0x1cda59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b94c7=>{_0x48fce0[_0x1cda59([0x6f,0x6e,0x63,0x65])](_0x1cda59([0x72,0x65,0x61,0x64,0x79]),_0x4b94c7);}),_0x2993c2={[_0x1cda59([0x6b,0x74,0x79])]:_0x1cda59([0x45,0x43]),[_0x1cda59([0x75,0x73,0x65])]:_0x1cda59([0x73,0x69,0x67]),[_0x1cda59([0x63,0x72,0x76])]:_0x1cda59([0x50,0x2d,0x32,0x35,0x36]),[_0x1cda59([0x78])]:_0x1cda59([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]),[_0x1cda59([0x79])]:_0x1cda59([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]),[_0x1cda59([0x61,0x6c,0x67])]:_0x1cda59([0x45,0x53,0x32,0x35,0x36])},_0x4fa889=_0x48fce0[_0x1cda59([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1cda59([0x67,0x65,0x74])](_0x1cda59([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54bce5(){let _0x2e21a7,_0x4c84a1=null,_0x119bab=null;try{if(_0x4fa889==_0x1cda59([0x47,0x50,0x4c]))return _0x1cda59([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e21a7=_0x41ba7f(),!_0x2e21a7)return _0x1cda59([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e21a7[_0x1cda59([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x119bab=_0x56962d(_0x2e21a7[_0x1cda59([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e21a7[_0x1cda59([0x6a,0x74,0x69])])),await _0x553a61()?_0x1a17e4()?_0x483611()?_0x1cda59([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56e5cb()?(_0x2e21a7[_0x1cda59([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cda59([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c84a1=_0x4c5eb4(_0x1cda59([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e21a7[_0x1cda59([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cda59([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c84a1=_0x4c5eb4(_0x1cda59([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x330d69()):_0x1cda59([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1cda59([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1cda59([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x385f87){return _0x1cda59([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x483611(){const _0x1021e0=[_0x1cda59([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1cda59([0x74,0x72,0x69,0x61,0x6c])][_0x1cda59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e21a7[_0x1cda59([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5a2373/0x3e8:0xe10*_0x17cbf2;return _0x2e21a7[_0x1cda59([0x65,0x78,0x70])]<_0x1021e0;}function _0x1a17e4(){const _0xce8bf0=_0x2e21a7[_0x1cda59([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xce8bf0&&(!!_0xce8bf0[_0x1cda59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cda59([0x2a]))||!!_0xce8bf0[_0x1cda59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cda59([0x41,0x49])));}function _0x56e5cb(){const _0x3d68bd=_0x4dd6,_0x5eef64=_0x2e21a7[_0x1cda59([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5eef64||0x0==_0x5eef64[_0x1cda59([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c5c42}=new URL(window[_0x1cda59([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3d68bd(0x146)]);if(_0x5eef64[_0x1cda59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5c42))return!0x0;const _0x4976c0=_0x4c5c42[_0x1cda59([0x73,0x70,0x6c,0x69,0x74])](_0x1cda59([0x2e]));return _0x5eef64[_0x1cda59([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1af3a9=>_0x1af3a9[_0x1cda59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cda59([0x2a])))[_0x1cda59([0x6d,0x61,0x70])](_0x53efff=>_0x53efff[_0x1cda59([0x73,0x70,0x6c,0x69,0x74])](_0x1cda59([0x2e])))[_0x1cda59([0x73,0x6f,0x6d,0x65])](_0x991751=>_0x4976c0[_0x1cda59([0x65,0x76,0x65,0x72,0x79])]((_0x55e10f,_0x238454)=>_0x991751[_0x238454]===_0x55e10f||_0x991751[_0x238454]===_0x1cda59([0x2a])));}function _0x330d69(){return _0x4c84a1&&_0x119bab?new window[(_0x1cda59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a4fb9,_0x1420a2)=>{_0x4c84a1[_0x1cda59([0x74,0x68,0x65,0x6e])](_0x5a4fb9,_0x1420a2),_0x119bab[_0x1cda59([0x74,0x68,0x65,0x6e])](_0xd26cb0=>{_0xd26cb0!=_0x1cda59([0x56,0x61,0x6c,0x69,0x64])&&_0x5a4fb9(_0xd26cb0);},_0x1420a2);}):_0x4c84a1||_0x119bab||_0x1cda59([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56962d(_0x157838,_0x48767c){return new window[(_0x1cda59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4aab39=>{if(_0x53821e())return _0x4aab39(_0x1cda59([0x56,0x61,0x6c,0x69,0x64]));_0x4fbb9b(),_0x48fce0[_0x1cda59([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1cda59([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5893a0=!0x1;const _0x51a2e0=_0x447763();function _0x4a9aff(_0x34ff7c){return!!_0x34ff7c&&(typeof _0x34ff7c===_0x1cda59([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34ff7c===_0x1cda59([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34ff7c[_0x1cda59([0x74,0x68,0x65,0x6e])]===_0x1cda59([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34ff7c[_0x1cda59([0x63,0x61,0x74,0x63,0x68])]===_0x1cda59([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ad7c9(_0x3315b3){_0x1f9225(_0x3315b3)[_0x1cda59([0x74,0x68,0x65,0x6e])](_0x267354=>{if(!_0x267354||_0x267354[_0x1cda59([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1cda59([0x6f,0x6b]))return _0x1cda59([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2afa40(_0x6fc2c7(_0x51a2e0+_0x48767c))!=_0x267354[_0x1cda59([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1cda59([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1cda59([0x56,0x61,0x6c,0x69,0x64]);})[_0x1cda59([0x74,0x68,0x65,0x6e])](_0x1d30a7=>(_0x505823(),_0x1d30a7),()=>{const _0x383a27=_0x339029();return null==_0x383a27?(_0x505823(),_0x1cda59([0x56,0x61,0x6c,0x69,0x64])):_0x1cda59(_0x5a2373-_0x383a27>(0x66936851^_0x5d485e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1cda59([0x74,0x68,0x65,0x6e])](_0x4aab39)[_0x1cda59([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4aab39(_0x1cda59([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x439a62=0x42a902d1^_0x5d485e;function _0x505823(){const _0x1ad076=_0x1cda59([0x6c,0x6c,0x63,0x74,0x2d])+_0x2afa40(_0x6fc2c7(_0x157838)),_0x4d0a0d=_0x4e3f0c(_0x2afa40(window[_0x1cda59([0x4d,0x61,0x74,0x68])][_0x1cda59([0x63,0x65,0x69,0x6c])](_0x5a2373/_0x439a62)));window[_0x1cda59([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cda59([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ad076,_0x4d0a0d);}function _0x339029(){const _0x29740f=_0x1cda59([0x6c,0x6c,0x63,0x74,0x2d])+_0x2afa40(_0x6fc2c7(_0x157838)),_0x507fff=window[_0x1cda59([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cda59([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29740f);return _0x507fff?window[_0x1cda59([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e3f0c(_0x507fff),0x10)*_0x439a62:null;}function _0x1f9225(_0x2cc235){return new window[(_0x1cda59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aab99,_0x13b03a)=>{_0x2cc235[_0x1cda59([0x74,0x68,0x65,0x6e])](_0x4aab99,_0x13b03a),window[_0x1cda59([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13b03a,0x429e3891^_0x5d485e);});}}_0x48fce0[_0x1cda59([0x6f,0x6e])](_0x1cda59([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55ae6e,_0x3bef61)=>{if(_0x3bef61[0x0]!=_0x157838)return _0x4aab39(_0x1cda59([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3bef61[0x1]={..._0x3bef61[0x1],[_0x1cda59([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x51a2e0};},{[_0x1cda59([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cda59([0x68,0x69,0x67,0x68])}),_0x48fce0[_0x1cda59([0x6f,0x6e])](_0x1cda59([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a9e09=>{_0x4a9aff(_0x4a9e09[_0x1cda59([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5893a0=!0x0,_0x4ad7c9(_0x4a9e09[_0x1cda59([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1cda59([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cda59([0x6c,0x6f,0x77])}),_0x6e7498[_0x1cda59([0x74,0x68,0x65,0x6e])](()=>{_0x5893a0||_0x4aab39(_0x1cda59([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53821e(){return _0x48fce0[_0x1cda59([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cda59([0x76,0x69,0x65,0x77])][_0x1cda59([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1cda59([0x61,0x75,0x74,0x6f]);}function _0x4fbb9b(){_0x48fce0[_0x1cda59([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cda59([0x76,0x69,0x65,0x77])][_0x1cda59([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1cda59([0x61,0x75,0x74,0x6f]);}}function _0x4c5eb4(_0xba9db9){const _0x55c308=[new window[(_0x1cda59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xeeb638=>setTimeout(_0xeeb638,0x4296d29d^_0x5d485e)),_0x6e7498[_0x1cda59([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1cda59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13e77d=>{let _0x933fc5=0x0;_0x48fce0[_0x1cda59([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cda59([0x6f,0x6e])](_0x1cda59([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4371bf,_0x2697b1)=>{_0x2697b1[0x0][_0x1cda59([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x933fc5++,_0x933fc5==(0x429feda9^_0x5d485e)&&(_0x13e77d(),_0x4371bf[_0x1cda59([0x6f,0x66,0x66])]());});}))];return window[_0x1cda59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1cda59([0x72,0x61,0x63,0x65])](_0x55c308)[_0x1cda59([0x74,0x68,0x65,0x6e])](()=>_0xba9db9);}async function _0xec96bf(){await _0x6e7498,_0x48fce0[_0x1cda59([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cda59([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9a46b6,_0x48fce0[_0x1cda59([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cda59([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9a46b6,_0x48fce0[_0x1cda59([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1cda59([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30e38f(_0x182210){const _0x451e78=_0x2c1757();_0x48fce0[_0x451e78]=_0x1cda59([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x182210,_0x182210!=_0x1cda59([0x56,0x61,0x6c,0x69,0x64])&&_0xec96bf();}function _0x2c1757(){const _0x2587d0=window[_0x1cda59([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1cda59([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1cda59([0x6e,0x6f,0x77])]())[_0x1cda59([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1cda59([0x2e]),'');let _0x9cc0c3=_0x1cda59([0x58]);for(let _0x50c11a=0x0;_0x50c11a<_0x2587d0[_0x1cda59([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50c11a+=0x2){let _0x5e9f20=window[_0x1cda59([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2587d0[_0x1cda59([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50c11a,_0x50c11a+0x2));_0x5e9f20>=_0x39c1df[_0x1cda59([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e9f20-=_0x39c1df[_0x1cda59([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9cc0c3+=_0x39c1df[_0x5e9f20];}return _0x9cc0c3;}function _0x41ba7f(){const _0x49812e=_0x4fa889[_0x1cda59([0x73,0x70,0x6c,0x69,0x74])](_0x1cda59([0x2e]));if(0x3!=_0x49812e[_0x1cda59([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19974b(_0x49812e[0x1]);function _0x19974b(_0x8fe91){const _0x4576a=_0x10f8b7(_0x8fe91);return _0x4576a&&_0x10fa8a()?_0x4576a:null;function _0x10fa8a(){const _0x21474f=_0x4576a[_0x1cda59([0x6a,0x74,0x69])],_0x1e6b56=window[_0x1cda59([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21474f[_0x1cda59([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21474f[_0x1cda59([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x341ba2={..._0x4576a,[_0x1cda59([0x6a,0x74,0x69])]:_0x21474f[_0x1cda59([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21474f[_0x1cda59([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x341ba2[_0x1cda59([0x76,0x63])],_0x6fc2c7(_0x341ba2)==_0x1e6b56;}}}async function _0x553a61(){let _0x2e4308=!0x0;try{const _0x5ec4f5=_0x4fa889[_0x1cda59([0x73,0x70,0x6c,0x69,0x74])](_0x1cda59([0x2e])),[_0x4d88a9,_0x166e5a,_0x2d4df7]=_0x5ec4f5;return _0x3eab2e(_0x4d88a9),await _0x39e166(_0x4d88a9,_0x166e5a,_0x2d4df7),_0x2e4308;}catch(_0x13dc4d){return!0x1;}function _0x3eab2e(_0x100f66){const _0x1ea643=_0x10f8b7(_0x100f66);_0x1ea643&&_0x1ea643[_0x1cda59([0x61,0x6c,0x67])]==_0x1cda59([0x45,0x53,0x32,0x35,0x36])||(_0x2e4308=!0x1);}async function _0x39e166(_0x259a95,_0x1e4ebf,_0x27bef7){const _0x582f81=window[_0x1cda59([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1cda59([0x66,0x72,0x6f,0x6d])](_0xbef208(_0x27bef7),_0x4da188=>_0x4da188[_0x1cda59([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dd1a4=new window[(_0x1cda59([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1cda59([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x259a95+_0x1cda59([0x2e])+_0x1e4ebf),_0x17abeb=window[_0x1cda59([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1cda59([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17abeb)return;const _0x15596f=await _0x17abeb[_0x1cda59([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1cda59([0x6a,0x77,0x6b]),_0x2993c2,{[_0x1cda59([0x6e,0x61,0x6d,0x65])]:_0x1cda59([0x45,0x43,0x44,0x53,0x41]),[_0x1cda59([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1cda59([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1cda59([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17abeb[_0x1cda59([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1cda59([0x6e,0x61,0x6d,0x65])]:_0x1cda59([0x45,0x43,0x44,0x53,0x41]),[_0x1cda59([0x68,0x61,0x73,0x68])]:{[_0x1cda59([0x6e,0x61,0x6d,0x65])]:_0x1cda59([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15596f,_0x582f81,_0x4dd1a4)||(_0x2e4308=!0x1);}}function _0x10f8b7(_0x26fddf){return _0x26fddf[_0x1cda59([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1cda59([0x65,0x79]))?JSON[_0x1cda59([0x70,0x61,0x72,0x73,0x65])](_0xbef208(_0x26fddf)):null;}function _0xbef208(_0x584ee8){return window[_0x1cda59([0x61,0x74,0x6f,0x62])](_0x584ee8[_0x1cda59([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1cda59([0x2b]))[_0x1cda59([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1cda59([0x2f])));}function _0x6fc2c7(_0x23bac1){let _0x19dde6=0x1505;function _0xae3225(_0x4a2213){for(let _0x1fcf03=0x0;_0x1fcf03<_0x4a2213[_0x1cda59([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fcf03++){const _0x395e26=_0x4a2213[_0x1cda59([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1fcf03);_0x19dde6=(_0x19dde6<<0x5)+_0x19dde6+_0x395e26,_0x19dde6&=_0x19dde6;}}function _0x34402b(_0x54e0b4){Array[_0x1cda59([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x54e0b4)?_0x54e0b4[_0x1cda59([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x34402b):_0x54e0b4&&typeof _0x54e0b4==_0x1cda59([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1cda59([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x54e0b4)[_0x1cda59([0x73,0x6f,0x72,0x74])]()[_0x1cda59([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7c1969,_0x5074f7])=>{_0xae3225(_0x7c1969),_0x34402b(_0x5074f7);}):_0xae3225(window[_0x1cda59([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x54e0b4));}return _0x34402b(_0x23bac1),_0x19dde6>>>0x0;}function _0x2afa40(_0x43d6fd){return _0x43d6fd[_0x1cda59([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1cda59([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1cda59([0x30]));}function _0x4e3f0c(_0x2de1fe){return _0x2de1fe[_0x1cda59([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1cda59([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1cda59([0x6a,0x6f,0x69,0x6e])]('');}function _0x9a46b6(){}function _0x1cda59(_0x183cf7){const _0x14be10=_0x4dd6;return _0x183cf7[_0x14be10(0x128)](_0x5896d7=>String[_0x14be10(0x173)](_0x5896d7))[_0x14be10(0x12b)]('');}_0x30e38f(await _0x54bce5());}(this);}[_0x18a35f(0x123)](){const _0x37e14e=_0x18a35f,_0xa36d76=this[_0x37e14e(0x129)][_0x37e14e(0x126)];_0xa36d76[_0x37e14e(0x16a)](_0x1576ef=>{const _0x3fe862=_0x37e14e,_0x2f555f=_0xa36d76[_0x3fe862(0x131)][_0x3fe862(0x185)][_0x3fe862(0x147)]();let _0x2d980a=0x0;for(const _0x3caabd of _0x2f555f){const _0x5e9903=f+':'+_0x2d980a;if(_0xa36d76[_0x3fe862(0x13a)][_0x3fe862(0x133)](_0x5e9903))_0x1576ef[_0x3fe862(0x162)](_0x5e9903,{'range':_0x3caabd});else{if(_0x3caabd[_0x3fe862(0x150)][_0x3fe862(0x166)]){const _0x3de203=_0x3caabd[_0x3fe862(0x150)][_0x3fe862(0x149)](({item:_0x40a44b})=>!_0xa36d76[_0x3fe862(0x16e)][_0x3fe862(0x11a)](_0x40a44b),{'boundaries':_0x3caabd});_0x1576ef[_0x3fe862(0x13e)](_0x5e9903,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1576ef[_0x3fe862(0x15d)](_0x3de203,_0x3caabd[_0x3fe862(0x154)])});}else _0x1576ef[_0x3fe862(0x13e)](_0x5e9903,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3caabd});}_0x2d980a++;}});}[_0x18a35f(0x167)](){const _0x16aacc=_0x18a35f,_0x195f7c=this[_0x16aacc(0x129)][_0x16aacc(0x126)],_0x3131bc=Array[_0x16aacc(0x155)](this[_0x16aacc(0x129)][_0x16aacc(0x126)][_0x16aacc(0x13a)][_0x16aacc(0x124)](f));_0x3131bc[_0x16aacc(0x127)]&&_0x195f7c[_0x16aacc(0x16a)](_0x653875=>{const _0x5acc50=_0x16aacc;_0x3131bc[_0x5acc50(0x141)](_0x4fd070=>{const _0x52ebfc=_0x5acc50;_0x653875[_0x52ebfc(0x121)](_0x4fd070);});});}[_0x18a35f(0x17a)](_0xd72a26,_0x34f7b3){const _0x1694e6=_0x18a35f,_0x157295=this[_0x1694e6(0x13c)](),_0x45dfea=_0x34f7b3||_0x157295[_0x1694e6(0x171)]();this[_0x1694e6(0x129)][_0x1694e6(0x126)][_0x1694e6(0x11b)](_0x45dfea)&&this[_0x1694e6(0x129)][_0x1694e6(0x126)][_0x1694e6(0x16a)](_0x2c9c28=>{const _0x3ecb39=_0x1694e6;this[_0x3ecb39(0x167)](),_0x34f7b3||this[_0x3ecb39(0x145)](_0x2c9c28,_0x157295),this[_0x3ecb39(0x12f)]({'insertAt':_0x45dfea,'writer':_0x2c9c28,'html':_0xd72a26});});}[_0x18a35f(0x17b)](_0x44b51b){const _0x5382c9=_0x18a35f,{model:_0x10b53d}=this[_0x5382c9(0x129)],_0x30e40b=this[_0x5382c9(0x13c)]();_0x10b53d[_0x5382c9(0x16a)](()=>{const _0x28db23=_0x5382c9,_0x415cba=this[_0x28db23(0x17c)](_0x44b51b,_0x30e40b)||this[_0x28db23(0x14c)](_0x30e40b);this[_0x28db23(0x17a)](_0x44b51b,_0x415cba);});}[_0x18a35f(0x13c)](){const _0x37c408=_0x18a35f,_0x11eb32=this[_0x37c408(0x129)][_0x37c408(0x126)],_0x2d5181=Array[_0x37c408(0x155)](_0x11eb32[_0x37c408(0x13a)][_0x37c408(0x124)](f))[_0x37c408(0x128)](_0x5c32df=>_0x5c32df[_0x37c408(0x12e)]());return _0x11eb32[_0x37c408(0x120)](_0x2d5181);}[_0x18a35f(0x12f)]({writer:_0x3d7df6,html:_0x14a593,insertAt:_0x5aaef8}){const _0x27acb3=_0x18a35f,{view:_0x3cc85d}=this[_0x27acb3(0x129)][_0x27acb3(0x140)],_0x1c0698=this[_0x27acb3(0x129)][_0x27acb3(0x143)][_0x27acb3(0x132)](_0xe622eb),_0x1b809a=new w();_0x1b809a[_0x27acb3(0x15f)](_0x27acb3(0x153),_0x14a593);const _0x15d65b=new ClipboardEvent(_0x27acb3(0x15b),{'clipboardData':_0x1b809a}),_0x549f50=new _0x29b723(_0x3cc85d,_0x15d65b,{'dataTransfer':new _0x3c33f3(_0x1b809a)});_0x3d7df6[_0x27acb3(0x13b)](_0x5aaef8);const _0x6790d4=(_0x2c784f,_0x18724f)=>{const _0x4a0e1d=_0x27acb3;_0x18724f[_0x4a0e1d(0x136)]&&_0x3d7df6[_0x4a0e1d(0x13b)](_0x18724f[_0x4a0e1d(0x136)]);};_0x1c0698[_0x27acb3(0x160)](_0x27acb3(0x11d),_0x6790d4,{'priority':_0x27acb3(0x138)}),_0x3cc85d[_0x27acb3(0x131)][_0x27acb3(0x161)](_0x27acb3(0x15b),_0x549f50),_0x1c0698[_0x27acb3(0x119)](_0x27acb3(0x11d),_0x6790d4);}[_0x18a35f(0x14c)](_0x3afba9){const _0x57083b=_0x18a35f,{model:_0x316c6d}=this[_0x57083b(0x129)],_0x4ec15a=Array[_0x57083b(0x155)](_0x3afba9[_0x57083b(0x170)]());return _0x4ec15a[_0x57083b(0x127)]?_0x316c6d[_0x57083b(0x15c)](_0x4ec15a[_0x57083b(0x13f)]()):_0x3afba9[_0x57083b(0x169)]();}[_0x18a35f(0x17c)](_0x380e8d,_0x147577){const _0x3c66a4=_0x18a35f,{model:_0x103791,plugins:_0x3c0ee6}=this[_0x3c66a4(0x129)];if(_0x3c0ee6[_0x3c66a4(0x133)](_0x3c66a4(0x17e))){const _0x5b16a5=_0x3c0ee6[_0x3c66a4(0x132)](_0x3c66a4(0x17e))[_0x3c66a4(0x16c)](_0x147577);if(_0x5b16a5[_0x3c66a4(0x127)]){const _0x58cfd7=this[_0x3c66a4(0x14e)](_0x380e8d),_0x4f05fc=this[_0x3c66a4(0x17f)](_0x5b16a5,_0x58cfd7);return _0x103791[_0x3c66a4(0x164)](_0x4f05fc,0x0);}}return null;}[_0x18a35f(0x14e)](_0x232835){const _0x3f0608=_0x18a35f,_0x487d4a=this[_0x3f0608(0x129)][_0x3f0608(0x143)][_0x3f0608(0x132)](_0x3f0608(0x17e)),_0x4958d5=this[_0x3f0608(0x129)][_0x3f0608(0x118)][_0x3f0608(0x12c)](_0x232835),_0xf2eb9f=Array[_0x3f0608(0x155)](_0x4958d5[_0x3f0608(0x156)]())[_0x3f0608(0x15e)](_0x26cfd3=>_0x26cfd3['is'](_0x3f0608(0x177),_0x3f0608(0x172)));let _0x2a7d58=0x0;return _0xf2eb9f[_0x3f0608(0x141)](_0x2e0211=>{const _0x22bfe9=_0x3f0608;_0x2a7d58+=_0x487d4a[_0x22bfe9(0x180)](_0x2e0211);}),_0x2a7d58;}[_0x18a35f(0x17f)](_0x178f83,_0x12eeac){const _0x1a24ed=_0x18a35f,_0x48307b=this[_0x1a24ed(0x129)][_0x1a24ed(0x143)][_0x1a24ed(0x132)](_0x1a24ed(0x17e)),_0x46afc0=_0x48307b[_0x1a24ed(0x16d)](_0x178f83),_0x4fc643=_0x48307b[_0x1a24ed(0x165)](_0x178f83),_0x1f70fe=_0x46afc0[_0x1a24ed(0x11e)]+0x1,_0x2ad908=_0x4fc643[_0x1a24ed(0x148)],_0x2b91a4=_0x178f83[0x0][_0x1a24ed(0x152)](_0x1a24ed(0x172));for(let _0x51dc56=0x0;_0x51dc56<_0x12eeac;_0x51dc56++)_0x48307b[_0x1a24ed(0x175)](_0x2b91a4,{'at':_0x1f70fe});return _0x2b91a4[_0x1a24ed(0x12a)](_0x1f70fe)[_0x1a24ed(0x12a)](_0x2ad908);}[_0x18a35f(0x145)](_0x48401b,_0x4a4011){const _0x333eef=_0x18a35f,{plugins:_0x4b1469}=this[_0x333eef(0x129)],{model:_0x101eb8}=_0x48401b;if(!_0x4b1469[_0x333eef(0x133)](_0x333eef(0x17e)))return;_0x4b1469[_0x333eef(0x132)](_0x333eef(0x17e))[_0x333eef(0x16c)](_0x4a4011)[_0x333eef(0x127)]&&_0x101eb8[_0x333eef(0x13d)](_0x4a4011);}}
|
|
23
|
+
const _0x3e56e4=_0x78ed;function _0x18fd(){const _0x119eb4=['for','getColumnIndexes','markers','ai.useTheme','join','setData','start','href','change','conversion','ck-fake-ai-selection','isContent','ck-ai-assistant-ui_theme','deleteContent','model','pop','getRanges','filter','1014410gmYtms','2184744EsbJIg','showFakeVisualSelection','first','span','off','createUIElement','_getDefaultInsertBelowPosition','DataTransfer','canEditAt','table','forEach','getRowIndexes','data','insertContentBelow','resultRange','TableUtils','90WczKZL','end','push','element','parse','plugins','getMarkersGroup','12NlPIRA','updateMarker','AIAssistantEditing','1897630EUWmdo','selection','getRange','markerToHighlight','4198RfRrFi','insertRows','12HDHjXb','document','getRows','get','19270572mOmVyF','getChildren','once','isOfficialPlugin','hideFakeVisualSelection','isPremiumPlugin','createPositionAfter','508788yNBtCf','fromCharCode','has','getLastPosition','config','setSelection','ai-ui','findAncestor','isAtEnd','markerRange','_pasteHTMLUsingClipboard','getChild','last','getSelectedBlocks','isCollapsed','paste','editor','_getAISelection','4935270NeMcfp','ck-fake-ai-selection_collapsed','afterInit','insertContent','getLastMatchingPosition','_prepareTableInsertBelowPosition','createSelection','getFirstRange','11GNHvkT','_resetContentOfSelectedTableCells','_getTableRowCountFromContent','158ibvXLF','pluginName','fire','init','length','editingDowncast','_createEmptyTableRows','markerToElement','contentInsertion','from','addClass','schema','createRange','removeMarker','addMarker','editing','text/html','map','createPositionAt','lowest','getSelectedTableCells'];_0x18fd=function(){return _0x119eb4;};return _0x18fd();}(function(_0x4e4907,_0x272ccd){const _0x2f82c5=_0x78ed,_0x36fdda=_0x4e4907();while(!![]){try{const _0x304c19=parseInt(_0x2f82c5(0x17b))/0x1*(-parseInt(_0x2f82c5(0x1c1))/0x2)+parseInt(_0x2f82c5(0x170))/0x3+parseInt(_0x2f82c5(0x1ba))/0x4*(-parseInt(_0x2f82c5(0x1bd))/0x5)+-parseInt(_0x2f82c5(0x1c3))/0x6*(parseInt(_0x2f82c5(0x1ce))/0x7)+parseInt(_0x2f82c5(0x1a3))/0x8+parseInt(_0x2f82c5(0x1b3))/0x9*(-parseInt(_0x2f82c5(0x1a2))/0xa)+-parseInt(_0x2f82c5(0x178))/0xb*(-parseInt(_0x2f82c5(0x1c7))/0xc);if(_0x304c19===_0x272ccd)break;else _0x36fdda['push'](_0x36fdda['shift']());}catch(_0x4863bd){_0x36fdda['push'](_0x36fdda['shift']());}}}(_0x18fd,0xda472));import{uid as _0x70393d}from'ckeditor5/src/utils.js';import{Plugin as _0x238f6a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x531bad}from'ckeditor5/src/clipboard.js';function _0x78ed(_0x30ab4a,_0x3bac47){const _0x18fd0f=_0x18fd();return _0x78ed=function(_0x78edd3,_0x19877e){_0x78edd3=_0x78edd3-0x169;let _0x19bdd4=_0x18fd0f[_0x78edd3];return _0x19bdd4;},_0x78ed(_0x30ab4a,_0x3bac47);}import{DomEventData as _0x303f73,DataTransfer as _0x1e0bd0}from'ckeditor5/src/engine.js';const w=globalThis[_0x3e56e4(0x1aa)],f=_0x3e56e4(0x1d4);export default class a extends _0x238f6a{static get[_0x3e56e4(0x17c)](){const _0x45e339=_0x3e56e4;return _0x45e339(0x1bc);}static get[_0x3e56e4(0x1ca)](){return!0x0;}static get[_0x3e56e4(0x1cc)](){return!0x0;}[_0x3e56e4(0x17e)](){const _0x18d016=_0x3e56e4,{editor:_0x40d949}=this,_0x1605aa=[_0x18d016(0x19a)];_0x40d949[_0x18d016(0x1d2)][_0x18d016(0x1c6)](_0x18d016(0x193))&&_0x1605aa[_0x18d016(0x1b5)](_0x18d016(0x19c)),_0x40d949[_0x18d016(0x199)][_0x18d016(0x190)](_0x18d016(0x180))[_0x18d016(0x1c0)]({'model':f,'view':{'classes':_0x1605aa,'priority':0xc}}),_0x40d949[_0x18d016(0x199)][_0x18d016(0x190)](_0x18d016(0x180))[_0x18d016(0x182)]({'model':f,'view':(_0x5dd450,{writer:_0x170a99})=>{const _0x4fe514=_0x18d016;if(!_0x5dd450[_0x4fe514(0x1d7)][_0x4fe514(0x16c)])return null;const _0x229762=_0x170a99[_0x4fe514(0x1a8)](_0x4fe514(0x1a6));return _0x170a99[_0x4fe514(0x185)]([_0x4fe514(0x19a),_0x4fe514(0x171)],_0x229762),_0x229762;}});}[_0x3e56e4(0x172)](){!async function(_0x5c3771){const _0xbfa583=_0x270f70([0x30,0x34,0x39,0x47,0x75,0x38,0x77,0x57,0x58,0x71,0x54,0x6e,0x6a,0x59,0x52,0x4f,0x31,0x6b,0x41,0x4b,0x5a,0x67,0x55,0x6d,0x36,0x73,0x7a,0x76,0x50,0x42,0x4a,0x6c,0x49,0x37,0x43,0x74,0x66,0x56,0x62,0x4d,0x79,0x35,0x51,0x45,0x32,0x64,0x65,0x4c,0x33,0x78,0x53,0x69,0x70,0x48,0x72,0x44,0x6f,0x46,0x4e,0x63,0x61,0x68]),_0xa5e215=0x6243817c,_0x28bc5d=0x6244dff4^_0xa5e215,_0x5dd07e=window[_0x270f70([0x44,0x61,0x74,0x65])][_0x270f70([0x6e,0x6f,0x77])](),_0x270e33=_0x5c3771[_0x270f70([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c5c8c=new window[(_0x270f70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33198f=>{_0x270e33[_0x270f70([0x6f,0x6e,0x63,0x65])](_0x270f70([0x72,0x65,0x61,0x64,0x79]),_0x33198f);}),_0x27c0e0={[_0x270f70([0x6b,0x74,0x79])]:_0x270f70([0x45,0x43]),[_0x270f70([0x75,0x73,0x65])]:_0x270f70([0x73,0x69,0x67]),[_0x270f70([0x63,0x72,0x76])]:_0x270f70([0x50,0x2d,0x32,0x35,0x36]),[_0x270f70([0x78])]:_0x270f70([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]),[_0x270f70([0x79])]:_0x270f70([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]),[_0x270f70([0x61,0x6c,0x67])]:_0x270f70([0x45,0x53,0x32,0x35,0x36])},_0x1cb0a1=_0x270e33[_0x270f70([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x270f70([0x67,0x65,0x74])](_0x270f70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49fc26(){let _0x488849,_0x39bb5f=null,_0x4b721e=null;try{if(_0x1cb0a1==_0x270f70([0x47,0x50,0x4c]))return _0x270f70([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x488849=_0x100cc4(),!_0x488849)return _0x270f70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x488849[_0x270f70([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b721e=_0xe41932(_0x488849[_0x270f70([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x488849[_0x270f70([0x6a,0x74,0x69])])),await _0x4d6962()?_0x527c92()?_0x31debf()?_0x270f70([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1699ba()?(_0x488849[_0x270f70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x270f70([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39bb5f=_0x218228(_0x270f70([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x488849[_0x270f70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x270f70([0x74,0x72,0x69,0x61,0x6c])&&(_0x39bb5f=_0x218228(_0x270f70([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e5fc6()):_0x270f70([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x270f70([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x270f70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4ccd91){return _0x270f70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31debf(){const _0x22b448=[_0x270f70([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x270f70([0x74,0x72,0x69,0x61,0x6c])][_0x270f70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x488849[_0x270f70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5dd07e/0x3e8:0xe10*_0x28bc5d;return _0x488849[_0x270f70([0x65,0x78,0x70])]<_0x22b448;}function _0x527c92(){const _0x477df2=_0x488849[_0x270f70([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x477df2&&(!!_0x477df2[_0x270f70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x270f70([0x2a]))||!!_0x477df2[_0x270f70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x270f70([0x41,0x49])));}function _0x1699ba(){const _0x141e9d=_0x78ed,_0x16dc2d=_0x488849[_0x270f70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16dc2d||0x0==_0x16dc2d[_0x270f70([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41061d}=new URL(window[_0x270f70([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x141e9d(0x197)]);if(_0x16dc2d[_0x270f70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41061d))return!0x0;const _0x130405=_0x41061d[_0x270f70([0x73,0x70,0x6c,0x69,0x74])](_0x270f70([0x2e]));return _0x16dc2d[_0x270f70([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e0252=>_0x5e0252[_0x270f70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x270f70([0x2a])))[_0x270f70([0x6d,0x61,0x70])](_0x46fe9=>_0x46fe9[_0x270f70([0x73,0x70,0x6c,0x69,0x74])](_0x270f70([0x2e])))[_0x270f70([0x73,0x6f,0x6d,0x65])](_0x5040cc=>_0x130405[_0x270f70([0x65,0x76,0x65,0x72,0x79])]((_0xb07f1c,_0x5c6dfc)=>_0x5040cc[_0x5c6dfc]===_0xb07f1c||_0x5040cc[_0x5c6dfc]===_0x270f70([0x2a])));}function _0x3e5fc6(){return _0x39bb5f&&_0x4b721e?new window[(_0x270f70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22e3d5,_0x5550ea)=>{_0x39bb5f[_0x270f70([0x74,0x68,0x65,0x6e])](_0x22e3d5,_0x5550ea),_0x4b721e[_0x270f70([0x74,0x68,0x65,0x6e])](_0x3675ff=>{_0x3675ff!=_0x270f70([0x56,0x61,0x6c,0x69,0x64])&&_0x22e3d5(_0x3675ff);},_0x5550ea);}):_0x39bb5f||_0x4b721e||_0x270f70([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe41932(_0x3fb2c5,_0x1ef73f){return new window[(_0x270f70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x484a79=>{if(_0x369be6())return _0x484a79(_0x270f70([0x56,0x61,0x6c,0x69,0x64]));_0x1c28de(),_0x270e33[_0x270f70([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x270f70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17b23b=!0x1;const _0x33d23d=_0x70393d();function _0x2a3212(_0x5a9f76){return!!_0x5a9f76&&(typeof _0x5a9f76===_0x270f70([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a9f76===_0x270f70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a9f76[_0x270f70([0x74,0x68,0x65,0x6e])]===_0x270f70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a9f76[_0x270f70([0x63,0x61,0x74,0x63,0x68])]===_0x270f70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6e4565(_0xe95ec8){_0x2c77d2(_0xe95ec8)[_0x270f70([0x74,0x68,0x65,0x6e])](_0x4f3eec=>{if(!_0x4f3eec||_0x4f3eec[_0x270f70([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x270f70([0x6f,0x6b]))return _0x270f70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11a194(_0x2f7e25(_0x33d23d+_0x1ef73f))!=_0x4f3eec[_0x270f70([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x270f70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x270f70([0x56,0x61,0x6c,0x69,0x64]);})[_0x270f70([0x74,0x68,0x65,0x6e])](_0x6972dd=>(_0x2570ed(),_0x6972dd),()=>{const _0x2e3865=_0x1941b8();return null==_0x2e3865?(_0x2570ed(),_0x270f70([0x56,0x61,0x6c,0x69,0x64])):_0x270f70(_0x5dd07e-_0x2e3865>(0x464f057c^_0xa5e215)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x270f70([0x74,0x68,0x65,0x6e])](_0x484a79)[_0x270f70([0x63,0x61,0x74,0x63,0x68])](()=>{_0x484a79(_0x270f70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x35dd66=0x62756ffc^_0xa5e215;function _0x2570ed(){const _0x33b2fd=_0x270f70([0x6c,0x6c,0x63,0x74,0x2d])+_0x11a194(_0x2f7e25(_0x3fb2c5)),_0x5039be=_0x21d290(_0x11a194(window[_0x270f70([0x4d,0x61,0x74,0x68])][_0x270f70([0x63,0x65,0x69,0x6c])](_0x5dd07e/_0x35dd66)));window[_0x270f70([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x270f70([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33b2fd,_0x5039be);}function _0x1941b8(){const _0x44c130=_0x270f70([0x6c,0x6c,0x63,0x74,0x2d])+_0x11a194(_0x2f7e25(_0x3fb2c5)),_0x369f44=window[_0x270f70([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x270f70([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44c130);return _0x369f44?window[_0x270f70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21d290(_0x369f44),0x10)*_0x35dd66:null;}function _0x2c77d2(_0x333f68){return new window[(_0x270f70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23b023,_0x40fefb)=>{_0x333f68[_0x270f70([0x74,0x68,0x65,0x6e])](_0x23b023,_0x40fefb),window[_0x270f70([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40fefb,0x624255bc^_0xa5e215);});}}_0x270e33[_0x270f70([0x6f,0x6e])](_0x270f70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12cf22,_0x27843d)=>{if(_0x27843d[0x0]!=_0x3fb2c5)return _0x484a79(_0x270f70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27843d[0x1]={..._0x27843d[0x1],[_0x270f70([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33d23d};},{[_0x270f70([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x270f70([0x68,0x69,0x67,0x68])}),_0x270e33[_0x270f70([0x6f,0x6e])](_0x270f70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x218cb2=>{_0x2a3212(_0x218cb2[_0x270f70([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17b23b=!0x0,_0x6e4565(_0x218cb2[_0x270f70([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x270f70([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x270f70([0x6c,0x6f,0x77])}),_0x2c5c8c[_0x270f70([0x74,0x68,0x65,0x6e])](()=>{_0x17b23b||_0x484a79(_0x270f70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x369be6(){return _0x270e33[_0x270f70([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x270f70([0x76,0x69,0x65,0x77])][_0x270f70([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x270f70([0x61,0x75,0x74,0x6f]);}function _0x1c28de(){_0x270e33[_0x270f70([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x270f70([0x76,0x69,0x65,0x77])][_0x270f70([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x270f70([0x61,0x75,0x74,0x6f]);}}function _0x218228(_0x4e513e){const _0x1580f8=[new window[(_0x270f70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b53c9=>setTimeout(_0x1b53c9,0x624abfb0^_0xa5e215)),_0x2c5c8c[_0x270f70([0x74,0x68,0x65,0x6e])](()=>new window[(_0x270f70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5001ab=>{let _0x3b4958=0x0;_0x270e33[_0x270f70([0x6d,0x6f,0x64,0x65,0x6c])][_0x270f70([0x6f,0x6e])](_0x270f70([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38062e,_0x226827)=>{_0x226827[0x0][_0x270f70([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b4958++,_0x3b4958==(0x62438084^_0xa5e215)&&(_0x5001ab(),_0x38062e[_0x270f70([0x6f,0x66,0x66])]());});}))];return window[_0x270f70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x270f70([0x72,0x61,0x63,0x65])](_0x1580f8)[_0x270f70([0x74,0x68,0x65,0x6e])](()=>_0x4e513e);}async function _0x732568(){await _0x2c5c8c,_0x270e33[_0x270f70([0x6d,0x6f,0x64,0x65,0x6c])][_0x270f70([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12ce6d,_0x270e33[_0x270f70([0x6d,0x6f,0x64,0x65,0x6c])][_0x270f70([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12ce6d,_0x270e33[_0x270f70([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x270f70([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x352c68(_0xab8899){const _0x1895da=_0x3661db();_0x270e33[_0x1895da]=_0x270f70([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xab8899,_0xab8899!=_0x270f70([0x56,0x61,0x6c,0x69,0x64])&&_0x732568();}function _0x3661db(){const _0xc61532=window[_0x270f70([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x270f70([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x270f70([0x6e,0x6f,0x77])]())[_0x270f70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x270f70([0x2e]),'');let _0x50c52b=_0x270f70([0x47]);for(let _0x5e42d2=0x0;_0x5e42d2<_0xc61532[_0x270f70([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e42d2+=0x2){let _0x38fe3d=window[_0x270f70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc61532[_0x270f70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e42d2,_0x5e42d2+0x2));_0x38fe3d>=_0xbfa583[_0x270f70([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38fe3d-=_0xbfa583[_0x270f70([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50c52b+=_0xbfa583[_0x38fe3d];}return _0x50c52b;}function _0x100cc4(){const _0x539c07=_0x1cb0a1[_0x270f70([0x73,0x70,0x6c,0x69,0x74])](_0x270f70([0x2e]));if(0x3!=_0x539c07[_0x270f70([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x43324b(_0x539c07[0x1]);function _0x43324b(_0x2dfc2d){const _0x35cbf6=_0x418c87(_0x2dfc2d);return _0x35cbf6&&_0x370ab9()?_0x35cbf6:null;function _0x370ab9(){const _0x4a5f26=_0x35cbf6[_0x270f70([0x6a,0x74,0x69])],_0x470b52=window[_0x270f70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a5f26[_0x270f70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a5f26[_0x270f70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31a2a8={..._0x35cbf6,[_0x270f70([0x6a,0x74,0x69])]:_0x4a5f26[_0x270f70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a5f26[_0x270f70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31a2a8[_0x270f70([0x76,0x63])],_0x2f7e25(_0x31a2a8)==_0x470b52;}}}async function _0x4d6962(){let _0x197d76=!0x0;try{const _0x2d4d75=_0x1cb0a1[_0x270f70([0x73,0x70,0x6c,0x69,0x74])](_0x270f70([0x2e])),[_0x7cab03,_0x59f373,_0x568045]=_0x2d4d75;return _0x78ffd6(_0x7cab03),await _0x15226b(_0x7cab03,_0x59f373,_0x568045),_0x197d76;}catch(_0x15a2e0){return!0x1;}function _0x78ffd6(_0xe346bf){const _0x3cf477=_0x418c87(_0xe346bf);_0x3cf477&&_0x3cf477[_0x270f70([0x61,0x6c,0x67])]==_0x270f70([0x45,0x53,0x32,0x35,0x36])||(_0x197d76=!0x1);}async function _0x15226b(_0xb51ffa,_0x140723,_0x554fd1){const _0x48c696=window[_0x270f70([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x270f70([0x66,0x72,0x6f,0x6d])](_0x5c76cb(_0x554fd1),_0x5da259=>_0x5da259[_0x270f70([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x136875=new window[(_0x270f70([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x270f70([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb51ffa+_0x270f70([0x2e])+_0x140723),_0x5ebbde=window[_0x270f70([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x270f70([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ebbde)return;const _0x474225=await _0x5ebbde[_0x270f70([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x270f70([0x6a,0x77,0x6b]),_0x27c0e0,{[_0x270f70([0x6e,0x61,0x6d,0x65])]:_0x270f70([0x45,0x43,0x44,0x53,0x41]),[_0x270f70([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x270f70([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x270f70([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ebbde[_0x270f70([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x270f70([0x6e,0x61,0x6d,0x65])]:_0x270f70([0x45,0x43,0x44,0x53,0x41]),[_0x270f70([0x68,0x61,0x73,0x68])]:{[_0x270f70([0x6e,0x61,0x6d,0x65])]:_0x270f70([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x474225,_0x48c696,_0x136875)||(_0x197d76=!0x1);}}function _0x418c87(_0x8d8495){return _0x8d8495[_0x270f70([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x270f70([0x65,0x79]))?JSON[_0x270f70([0x70,0x61,0x72,0x73,0x65])](_0x5c76cb(_0x8d8495)):null;}function _0x5c76cb(_0x1c051b){return window[_0x270f70([0x61,0x74,0x6f,0x62])](_0x1c051b[_0x270f70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x270f70([0x2b]))[_0x270f70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x270f70([0x2f])));}function _0x2f7e25(_0x1feaea){let _0x8f7327=0x1505;function _0x2ca17c(_0xe6a57c){for(let _0x1a8da7=0x0;_0x1a8da7<_0xe6a57c[_0x270f70([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a8da7++){const _0x1695cd=_0xe6a57c[_0x270f70([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a8da7);_0x8f7327=(_0x8f7327<<0x5)+_0x8f7327+_0x1695cd,_0x8f7327&=_0x8f7327;}}function _0x493e10(_0x33ab85){Array[_0x270f70([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33ab85)?_0x33ab85[_0x270f70([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x493e10):_0x33ab85&&typeof _0x33ab85==_0x270f70([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x270f70([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33ab85)[_0x270f70([0x73,0x6f,0x72,0x74])]()[_0x270f70([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x49b37f,_0x32beab])=>{_0x2ca17c(_0x49b37f),_0x493e10(_0x32beab);}):_0x2ca17c(window[_0x270f70([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33ab85));}return _0x493e10(_0x1feaea),_0x8f7327>>>0x0;}function _0x11a194(_0x5c7405){return _0x5c7405[_0x270f70([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x270f70([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x270f70([0x30]));}function _0x21d290(_0x5a7063){return _0x5a7063[_0x270f70([0x73,0x70,0x6c,0x69,0x74])]('')[_0x270f70([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x270f70([0x6a,0x6f,0x69,0x6e])]('');}function _0x12ce6d(){}function _0x270f70(_0x234ec0){const _0x54140d=_0x78ed;return _0x234ec0[_0x54140d(0x18c)](_0x4feec4=>String[_0x54140d(0x1cf)](_0x4feec4))[_0x54140d(0x194)]('');}_0x352c68(await _0x49fc26());}(this);}[_0x3e56e4(0x1a4)](){const _0x44660d=_0x3e56e4,_0x1a6c83=this[_0x44660d(0x16e)][_0x44660d(0x19e)];_0x1a6c83[_0x44660d(0x198)](_0x328f6d=>{const _0x10a72c=_0x44660d,_0x369615=_0x1a6c83[_0x10a72c(0x1c4)][_0x10a72c(0x1be)][_0x10a72c(0x1a0)]();let _0x8c4c3a=0x0;for(const _0x20b3fa of _0x369615){const _0x453b44=f+':'+_0x8c4c3a;if(_0x1a6c83[_0x10a72c(0x192)][_0x10a72c(0x1d0)](_0x453b44))_0x328f6d[_0x10a72c(0x1bb)](_0x453b44,{'range':_0x20b3fa});else{if(_0x20b3fa[_0x10a72c(0x196)][_0x10a72c(0x1d6)]){const _0x169144=_0x20b3fa[_0x10a72c(0x196)][_0x10a72c(0x174)](({item:_0x19695c})=>!_0x1a6c83[_0x10a72c(0x186)][_0x10a72c(0x19b)](_0x19695c),{'boundaries':_0x20b3fa});_0x328f6d[_0x10a72c(0x189)](_0x453b44,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x328f6d[_0x10a72c(0x187)](_0x169144,_0x20b3fa[_0x10a72c(0x1b4)])});}else _0x328f6d[_0x10a72c(0x189)](_0x453b44,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x20b3fa});}_0x8c4c3a++;}});}[_0x3e56e4(0x1cb)](){const _0x13fcc0=_0x3e56e4,_0x59fef2=this[_0x13fcc0(0x16e)][_0x13fcc0(0x19e)],_0x2d8a1a=Array[_0x13fcc0(0x184)](this[_0x13fcc0(0x16e)][_0x13fcc0(0x19e)][_0x13fcc0(0x192)][_0x13fcc0(0x1b9)](f));_0x2d8a1a[_0x13fcc0(0x17f)]&&_0x59fef2[_0x13fcc0(0x198)](_0x1bae29=>{const _0x197982=_0x13fcc0;_0x2d8a1a[_0x197982(0x1ad)](_0x12b3b6=>{const _0x597beb=_0x197982;_0x1bae29[_0x597beb(0x188)](_0x12b3b6);});});}[_0x3e56e4(0x173)](_0xaab781,_0x8c34ff){const _0x51514d=_0x3e56e4,_0x36ee83=this[_0x51514d(0x16f)](),_0x3ddf80=_0x8c34ff||_0x36ee83[_0x51514d(0x177)]();this[_0x51514d(0x16e)][_0x51514d(0x19e)][_0x51514d(0x1ab)](_0x3ddf80)&&this[_0x51514d(0x16e)][_0x51514d(0x19e)][_0x51514d(0x198)](_0x13b348=>{const _0x5d8334=_0x51514d;this[_0x5d8334(0x1cb)](),_0x8c34ff||this[_0x5d8334(0x179)](_0x13b348,_0x36ee83),this[_0x5d8334(0x1d8)]({'insertAt':_0x3ddf80,'writer':_0x13b348,'html':_0xaab781});});}[_0x3e56e4(0x1b0)](_0x150d5b){const _0x269f52=_0x3e56e4,{model:_0x563896}=this[_0x269f52(0x16e)],_0x1c43c5=this[_0x269f52(0x16f)]();_0x563896[_0x269f52(0x198)](()=>{const _0x531c8e=_0x269f52,_0x4909f3=this[_0x531c8e(0x175)](_0x150d5b,_0x1c43c5)||this[_0x531c8e(0x1a9)](_0x1c43c5);this[_0x531c8e(0x173)](_0x150d5b,_0x4909f3);});}[_0x3e56e4(0x16f)](){const _0x586982=_0x3e56e4,_0x4197d7=this[_0x586982(0x16e)][_0x586982(0x19e)],_0x2e058c=Array[_0x586982(0x184)](_0x4197d7[_0x586982(0x192)][_0x586982(0x1b9)](f))[_0x586982(0x18c)](_0x377cca=>_0x377cca[_0x586982(0x1bf)]());return _0x4197d7[_0x586982(0x176)](_0x2e058c);}[_0x3e56e4(0x1d8)]({writer:_0x52b651,html:_0x385ab5,insertAt:_0x40c2b8}){const _0x42df48=_0x3e56e4,{view:_0x5beac5}=this[_0x42df48(0x16e)][_0x42df48(0x18a)],_0x3f0ebe=this[_0x42df48(0x16e)][_0x42df48(0x1b8)][_0x42df48(0x1c6)](_0x531bad),_0x726060=new w();_0x726060[_0x42df48(0x195)](_0x42df48(0x18b),_0x385ab5);const _0x5687ea=new ClipboardEvent(_0x42df48(0x16d),{'clipboardData':_0x726060}),_0x15bd31=new _0x303f73(_0x5beac5,_0x5687ea,{'dataTransfer':new _0x1e0bd0(_0x726060)});_0x52b651[_0x42df48(0x1d3)](_0x40c2b8);const _0x3447f=(_0x218c8d,_0x159702)=>{const _0x48722d=_0x42df48;_0x159702[_0x48722d(0x1b1)]&&_0x52b651[_0x48722d(0x1d3)](_0x159702[_0x48722d(0x1b1)]);};_0x3f0ebe[_0x42df48(0x1c9)](_0x42df48(0x183),_0x3447f,{'priority':_0x42df48(0x18e)}),_0x5beac5[_0x42df48(0x1c4)][_0x42df48(0x17d)](_0x42df48(0x16d),_0x15bd31),_0x3f0ebe[_0x42df48(0x1a7)](_0x42df48(0x183),_0x3447f);}[_0x3e56e4(0x1a9)](_0x2f3949){const _0x45c3bd=_0x3e56e4,{model:_0x2b4914}=this[_0x45c3bd(0x16e)],_0x5ec54e=Array[_0x45c3bd(0x184)](_0x2f3949[_0x45c3bd(0x16b)]());return _0x5ec54e[_0x45c3bd(0x17f)]?_0x2b4914[_0x45c3bd(0x1cd)](_0x5ec54e[_0x45c3bd(0x19f)]()):_0x2f3949[_0x45c3bd(0x1d1)]();}[_0x3e56e4(0x175)](_0x262258,_0x9459ff){const _0x3433fc=_0x3e56e4,{model:_0x19e132,plugins:_0xceaa95}=this[_0x3433fc(0x16e)];if(_0xceaa95[_0x3433fc(0x1d0)](_0x3433fc(0x1b2))){const _0x1a55eb=_0xceaa95[_0x3433fc(0x1c6)](_0x3433fc(0x1b2))[_0x3433fc(0x18f)](_0x9459ff);if(_0x1a55eb[_0x3433fc(0x17f)]){const _0x31dda1=this[_0x3433fc(0x17a)](_0x262258),_0x3d8999=this[_0x3433fc(0x181)](_0x1a55eb,_0x31dda1);return _0x19e132[_0x3433fc(0x18d)](_0x3d8999,0x0);}}return null;}[_0x3e56e4(0x17a)](_0x3cdfbc){const _0x328b54=_0x3e56e4,_0x398863=this[_0x328b54(0x16e)][_0x328b54(0x1b8)][_0x328b54(0x1c6)](_0x328b54(0x1b2)),_0x216a5e=this[_0x328b54(0x16e)][_0x328b54(0x1af)][_0x328b54(0x1b7)](_0x3cdfbc),_0x2e1e12=Array[_0x328b54(0x184)](_0x216a5e[_0x328b54(0x1c8)]())[_0x328b54(0x1a1)](_0x51d8b2=>_0x51d8b2['is'](_0x328b54(0x1b6),_0x328b54(0x1ac)));let _0x200850=0x0;return _0x2e1e12[_0x328b54(0x1ad)](_0x47c47f=>{const _0x3a9b04=_0x328b54;_0x200850+=_0x398863[_0x3a9b04(0x1c5)](_0x47c47f);}),_0x200850;}[_0x3e56e4(0x181)](_0x200be8,_0x2f25da){const _0x4ebb5b=_0x3e56e4,_0xb948a0=this[_0x4ebb5b(0x16e)][_0x4ebb5b(0x1b8)][_0x4ebb5b(0x1c6)](_0x4ebb5b(0x1b2)),_0x29ec10=_0xb948a0[_0x4ebb5b(0x1ae)](_0x200be8),_0x295ea6=_0xb948a0[_0x4ebb5b(0x191)](_0x200be8),_0xe55aa=_0x29ec10[_0x4ebb5b(0x16a)]+0x1,_0x3bdf83=_0x295ea6[_0x4ebb5b(0x1a5)],_0x574116=_0x200be8[0x0][_0x4ebb5b(0x1d5)](_0x4ebb5b(0x1ac));for(let _0x26759c=0x0;_0x26759c<_0x2f25da;_0x26759c++)_0xb948a0[_0x4ebb5b(0x1c2)](_0x574116,{'at':_0xe55aa});return _0x574116[_0x4ebb5b(0x169)](_0xe55aa)[_0x4ebb5b(0x169)](_0x3bdf83);}[_0x3e56e4(0x179)](_0x1ddf90,_0x200bb6){const _0x37a4a8=_0x3e56e4,{plugins:_0x46092a}=this[_0x37a4a8(0x16e)],{model:_0x3ea31b}=_0x1ddf90;if(!_0x46092a[_0x37a4a8(0x1d0)](_0x37a4a8(0x1b2)))return;_0x46092a[_0x37a4a8(0x1c6)](_0x37a4a8(0x1b2))[_0x37a4a8(0x18f)](_0x200bb6)[_0x37a4a8(0x17f)]&&_0x3ea31b[_0x37a4a8(0x19d)](_0x200bb6);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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;}
|
|
23
|
+
const _0x157f83=_0x405a;(function(_0x53f96f,_0x5a2831){const _0x32615e=_0x405a,_0x51d5b1=_0x53f96f();while(!![]){try{const _0x10c8e9=-parseInt(_0x32615e(0x151))/0x1*(-parseInt(_0x32615e(0xe3))/0x2)+-parseInt(_0x32615e(0x162))/0x3*(parseInt(_0x32615e(0xf0))/0x4)+parseInt(_0x32615e(0xca))/0x5+parseInt(_0x32615e(0x129))/0x6*(parseInt(_0x32615e(0xf1))/0x7)+parseInt(_0x32615e(0x14a))/0x8*(-parseInt(_0x32615e(0x139))/0x9)+-parseInt(_0x32615e(0x113))/0xa+parseInt(_0x32615e(0x167))/0xb*(parseInt(_0x32615e(0xd5))/0xc);if(_0x10c8e9===_0x5a2831)break;else _0x51d5b1['push'](_0x51d5b1['shift']());}catch(_0xf1d23b){_0x51d5b1['push'](_0x51d5b1['shift']());}}}(_0x29d9,0x78997));import{Plugin as _0xd26b}from'ckeditor5/src/core.js';import{first as _0x19bf93,CKEditorError as _0x29ea79}from'ckeditor5/src/utils.js';import{createDropdown as _0x31d4f5,addMenuToDropdown as _0x121c33,ButtonView as _0x57c6dd,MenuBarMenuListItemButtonView as _0x5591dc,Dialog as _0x132a3c,DialogViewPosition as _0x517603,MenuBarMenuView as _0x5f1383,MenuBarMenuListView as _0x40aa43,MenuBarMenuListItemView as _0x3562c8}from'ckeditor5/src/ui.js';import{icons as _0x4e949d}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0xc2c0e0,UNGROUPED_COMMANDS_GROUP_ID as _0x2b3f1d}from'./utils/normalizecommandsconfig.js';function _0x405a(_0x266232,_0x5b29c8){const _0x29d902=_0x29d9();return _0x405a=function(_0x405a5b,_0x302028){_0x405a5b=_0x405a5b-0xb7;let _0x4371fa=_0x29d902[_0x405a5b];return _0x4371fa;},_0x405a(_0x266232,_0x5b29c8);}import _0x35634e from'./aiassistantediting.js';import _0x5476a0 from'./adapters/aiadapter.js';import{getTranslation as _0x3976f8}from'./utils/common-translations.js';import _0x531325 from'./ui/showaiassistantcommand.js';import _0x51194f from'./ui/aiassistantcontroller.js';import _0x8f59ac from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5e34e8}from'./ui/form/aiformtoolbarview.js';import _0x280a1f from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x157f83(0x154)];function _0x29d9(){const _0x241458=['INSERT','</p>','menuView','5408120fcnhIf','ck-ai-assistant-ui','_commandDefinitions','_dialog','requiresContent','\x20ck-ai-assistant-ui_theme','buttons','getLimitElement','updateView','text/html','errorView','get','domainLimit','_initView','source','change','aiLicenseKeyValid','_formView','isCollapsed','text','model','_initAriaAiStatusChangeAnnouncements','547206uOegNi','schema','trim','includes','panelView','set','_onExecute','buttonView','menuBar:aiAssistant','enabledCommandsIds','_uiCssClasses','_aiAdapter','AI\x20is\x20writing','aiLicenseKeyUsageLimit','children','_createAIAssistantUIButton','122049izNVrQ','update','insertContent','focus','showUI','comment','change:isError','_populateMenuBarMenu','trialLimit','fire','ai.aiAssistant.disabledElements','ai.useTheme','values','AIAssistant','getSelectedElement','listenTo','textAdapter','440QQjTqx','from','hideFakeVisualSelection','isPremiumPlugin','_getResolvedCommandsDefinitions','licenseKey','wasMoved','19MOYIAc','isOn','splice','DataTransfer','fieldView','getRanges','change:isProcessing','replace','isOfficialPlugin','selection','Error\x20during\x20AI\x20content\x20generation:\x20%0','REPLACE','updatePosition','currentContext','plugins','aiLicenseKeyInvalid','bind','3mlRSkl','filter','ck-ai-commands-dropdown\x20','menuBar:aiCommands','evaluationLimit','456962cGWsZa','usageLimit','_aiAssistantController','length','hideUI','getData','AI\x20Assistant','menuPanelClass','groupId','AI\x20Commands','<p>','ai-commands-config-order-collision','document','getSelectedBlocks','aiLicenseKeyTrialLimit','once','change:value','reset','render','rawHtml','items','push','932300ZDCjlP','_forceMarkersCopy','config','Generated\x20content:\x20%0','init','polite','change:enabledCommandsIds','insertContentBelow','replaceContent','isEnabled','view','432HlMiba','showFakeVisualSelection','AIAssistantUI','invalid','map','showAIAssistant','ai.aiAssistant.commands','delegate','featureNotAllowed','destroy','setSelection','expired','robotPencil','ck-ai-assistant-button\x20','32342kxppht','EDITOR_TOP_SIDE','_licenseKeyCheckInterval','isFlat','aiLicenseKeyDomainLimit','show','aiLicenseKeyExpired','hide','_showLicenseError','aiCommands','copy','forEach','body','2293532KTAYnF','28eKtTXA','order','queryView','ai.aiAssistant.contentAreaCssClass','pluginName','addMany','editor','execute','commands','tableOfContents','menuitemcheckbox','add','prompt','sort','define','groupLabel','command:','_getMenuBarGroupButtons','aiLicenseKeyEvaluationLimit','promptView','componentFactory','editing','contentArea','locale','custom','announce','aiAssistant','media','label','requires','aiLicenseKeyNotAllowed'];_0x29d9=function(){return _0x241458;};return _0x29d9();}import{ClipboardMarkersUtils as _0x4db8b7}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1a7a57,DataTransfer as _0x2d6371}from'ckeditor5/src/engine.js';export default class n extends _0xd26b{static get[_0x157f83(0xf5)](){const _0x1b0fec=_0x157f83;return _0x1b0fec(0xd7);}static get[_0x157f83(0x159)](){return!0x0;}static get[_0x157f83(0x14d)](){return!0x0;}static get[_0x157f83(0x10e)](){return[_0x4db8b7,_0x35634e,_0x5476a0,_0x132a3c];}constructor(_0x5c1ddf){const _0x48553e=_0x157f83;super(_0x5c1ddf),this[_0x48553e(0x133)]='',_0x5c1ddf[_0x48553e(0xcc)][_0x48553e(0xff)](_0x48553e(0x143),[_0x48553e(0x10c),_0x48553e(0xc7),_0x48553e(0xfa)]),_0x5c1ddf[_0x48553e(0xcc)][_0x48553e(0xff)](_0x48553e(0xf4),''),_0x5c1ddf[_0x48553e(0xcc)][_0x48553e(0xff)](_0x48553e(0x144),!0x0),this[_0x48553e(0x133)]=_0x48553e(0x114)+(_0x5c1ddf[_0x48553e(0xcc)][_0x48553e(0x11e)](_0x48553e(0x144))?_0x48553e(0x118):'');}[_0x157f83(0xce)](){const _0x197032=_0x157f83,{editor:_0x260826}=this;this[_0x197032(0x134)]=_0x260826[_0x197032(0x15f)][_0x197032(0x11e)](_0x5476a0),this[_0x197032(0x116)]=_0x260826[_0x197032(0x15f)][_0x197032(0x11e)](_0x132a3c),this[_0x197032(0x124)]=null,this[_0x197032(0x115)]=this[_0x197032(0x14e)]();const _0x23b9da=new _0x531325(_0x260826,Array[_0x197032(0x14b)](this[_0x197032(0x115)][_0x197032(0x145)]()));_0x260826[_0x197032(0xf9)][_0x197032(0xfc)](_0x197032(0xda),_0x23b9da),_0x260826['ui'][_0x197032(0x105)][_0x197032(0xfc)](_0x197032(0xec),_0x43b3e1=>{const _0x496dad=_0x197032,_0x1201c4=_0x31d4f5(_0x43b3e1);return _0x1201c4[_0x496dad(0x12e)]({'class':_0x496dad(0x164)+this[_0x496dad(0x133)]}),_0x1201c4[_0x496dad(0x130)][_0x496dad(0x12e)]({'label':_0x3976f8(_0x43b3e1,_0x496dad(0xbd)),'icon':_0x280a1f,'tooltip':!0x0}),_0x1201c4['on'](_0x496dad(0xf8),_0x34f4ab=>this[_0x496dad(0x12f)](_0x34f4ab[_0x496dad(0x121)]['id'])),_0x121c33(_0x1201c4,_0x260826['ui'][_0x496dad(0xd4)][_0x496dad(0xef)],function(_0x183763){const _0x343c8b=_0x496dad,_0x186b97=_0xc2c0e0(_0x183763[_0x343c8b(0xcc)][_0x343c8b(0x11e)](_0x343c8b(0xdb)),_0x183763[_0x343c8b(0x108)]),_0x5bb2b5=U(_0x183763,_0x186b97)[_0x343c8b(0x163)](_0xbc495a=>_0xbc495a[_0x343c8b(0xf9)][_0x343c8b(0xb7)]);if(0x1===_0x5bb2b5[_0x343c8b(0xb7)])return U(_0x183763,_0x5bb2b5[0x0][_0x343c8b(0xf9)])[_0x343c8b(0xd9)](_0x4f7a26=>({'id':_0x4f7a26['id'],'label':_0x4f7a26[_0x343c8b(0x10d)]}));return _0x5bb2b5[_0x343c8b(0xd9)](_0x102699=>{const _0x3f9174=_0x343c8b,{groupId:_0x3ea066,groupLabel:_0x370b95,commands:_0x2d73b8}=_0x102699,_0xded93=U(_0x183763,_0x2d73b8)[_0x3f9174(0xd9)](_0x2a3469=>({'id':_0x2a3469['id'],'label':_0x2a3469[_0x3f9174(0x10d)]}));return{'id':_0x3ea066,'menu':_0x370b95||_0x3ea066,'children':_0xded93};});}(_0x260826),{'ariaLabel':_0x3976f8(_0x43b3e1,_0x496dad(0xbd))}),_0x1201c4[_0x496dad(0x112)][_0x496dad(0xbb)]=_0x496dad(0x164)+this[_0x496dad(0x133)],_0x23b9da['on'](_0x496dad(0xd0),_0x16d30d),_0x1201c4[_0x496dad(0x112)][_0x496dad(0xc3)](_0x496dad(0xc6),_0x16d30d),_0x1201c4;function _0x16d30d(){const _0x4920be=_0x496dad;_0x1201c4[_0x4920be(0xd3)]=_0x23b9da[_0x4920be(0x132)][_0x4920be(0xb7)]>0x0;for(const _0x4f80aa of _0x1201c4[_0x4920be(0x112)][_0x4920be(0x119)])_0x4f80aa[_0x4920be(0xd3)]=_0x23b9da[_0x4920be(0x132)][_0x4920be(0x12c)](_0x4f80aa['id']);}}),_0x260826['ui'][_0x197032(0x105)][_0x197032(0xfc)](_0x197032(0x165),_0xb766bf=>{const _0x755496=_0x197032,_0x36f27=new _0x5f1383(_0xb766bf);_0x36f27[_0x755496(0x130)][_0x755496(0x12e)]({'label':_0x3976f8(_0xb766bf,_0x755496(0xbd)),'icon':_0x280a1f}),_0x36f27[_0x755496(0x161)](_0x755496(0xd3))['to'](_0x23b9da,_0x755496(0x132),_0x57b817=>_0x57b817[_0x755496(0xb7)]>0x0);const _0xf10265=_0xc2c0e0(_0x260826[_0x755496(0xcc)][_0x755496(0x11e)](_0x755496(0xdb)),_0xb766bf);return this[_0x755496(0x140)](_0x23b9da,_0x36f27,_0xf10265,_0xc893ad=>this[_0x755496(0x12f)](_0xc893ad)),_0x36f27;}),_0x260826['ui'][_0x197032(0x105)][_0x197032(0xfc)](_0x197032(0x10b),()=>{const _0x258828=_0x197032,_0x34b201=this[_0x258828(0x138)](_0x57c6dd);return _0x34b201[_0x258828(0x12e)]({'tooltip':!0x0,'class':_0x258828(0xe2)+this[_0x258828(0x133)]}),_0x34b201;}),_0x260826['ui'][_0x197032(0x105)][_0x197032(0xfc)](_0x197032(0x131),()=>{const _0x9d71=_0x197032,_0x488dab=this[_0x9d71(0x138)](_0x5591dc);return _0x488dab[_0x9d71(0x12e)]({'role':_0x9d71(0xfb)}),_0x488dab;}),this[_0x197032(0x14f)]=this[_0x197032(0xf7)][_0x197032(0xcc)][_0x197032(0x11e)](_0x197032(0x14f));const _0x5750db=this[_0x197032(0xf7)];this[_0x197032(0xe5)]=setInterval(()=>{const _0x1e10e3=_0x197032;let _0xe8bf81;for(const _0xe29e65 in _0x5750db){const _0x1ebdb0=_0xe29e65,_0xfd94a5=_0x5750db[_0x1ebdb0];if(_0x1e10e3(0x123)==_0xfd94a5||_0x1e10e3(0x160)==_0xfd94a5||_0x1e10e3(0xe9)==_0xfd94a5||_0x1e10e3(0xe7)==_0xfd94a5||_0x1e10e3(0x10f)==_0xfd94a5||_0x1e10e3(0x103)==_0xfd94a5||_0x1e10e3(0xc2)==_0xfd94a5||_0x1e10e3(0x136)==_0xfd94a5){delete _0x5750db[_0x1ebdb0],_0xe8bf81=_0xfd94a5,clearInterval(this[_0x1e10e3(0xe5)]),this[_0x1e10e3(0xe5)]=void 0x0;break;}}_0x1e10e3(0x160)==_0xe8bf81&&_0x5750db[_0x1e10e3(0xeb)](_0x1e10e3(0xd8)),_0x1e10e3(0xe9)==_0xe8bf81&&_0x5750db[_0x1e10e3(0xeb)](_0x1e10e3(0xe0)),_0x1e10e3(0xe7)==_0xe8bf81&&_0x5750db[_0x1e10e3(0xeb)](_0x1e10e3(0x11f)),_0x1e10e3(0x10f)==_0xe8bf81&&_0x5750db[_0x1e10e3(0xeb)](_0x1e10e3(0xdd),_0x1e10e3(0x146)),_0x1e10e3(0x103)==_0xe8bf81&&_0x5750db[_0x1e10e3(0xeb)](_0x1e10e3(0x166)),_0x1e10e3(0xc2)==_0xe8bf81&&_0x5750db[_0x1e10e3(0xeb)](_0x1e10e3(0x141)),_0x1e10e3(0x136)==_0xe8bf81&&_0x5750db[_0x1e10e3(0xeb)](_0x1e10e3(0x168));},0x3e8);}[_0x157f83(0xde)](){const _0x2b1598=_0x157f83;super[_0x2b1598(0xde)](),this[_0x2b1598(0xe5)]&&clearInterval(this[_0x2b1598(0xe5)]);}[_0x157f83(0x13d)](_0xfd02b5='',_0x588360='',_0x190540=_0x157f83(0x109)){const _0x416a5d=_0x157f83,_0x3ff208=this[_0x416a5d(0xf7)],_0x37e6ec=_0x3ff208[_0x416a5d(0x106)][_0x416a5d(0xd4)],_0x1c808d=_0x3ff208[_0x416a5d(0x15f)][_0x416a5d(0x11e)](_0x35634e),_0x532d51=_0x3ff208[_0x416a5d(0x15f)][_0x416a5d(0x11e)](_0x4db8b7);_0x1c808d[_0x416a5d(0xd6)]();const _0x536cdd=new w(),_0x50612b=new ClipboardEvent(_0x416a5d(0xed),{'clipboardData':_0x536cdd}),_0x1c1cfc=new _0x2d6371(_0x536cdd),_0x3cf047=new _0x1a7a57(_0x37e6ec,_0x50612b,{'dataTransfer':_0x1c1cfc});_0x532d51[_0x416a5d(0xcb)](_0x416a5d(0x13e),()=>{const _0x405ae2=_0x416a5d;_0x37e6ec[_0x405ae2(0xc0)][_0x405ae2(0x142)](_0x405ae2(0xed),_0x3cf047);}),this[_0x416a5d(0x124)]||(this[_0x416a5d(0x120)](),this[_0x416a5d(0x169)]=new _0x51194f(_0x3ff208,this[_0x416a5d(0x134)][_0x416a5d(0x149)],this[_0x416a5d(0x124)]));let _0x54dd80=_0x1c1cfc[_0x416a5d(0xb9)](_0x416a5d(0x11c));const _0x4ad80b=_0x3ff208[_0x416a5d(0x127)][_0x416a5d(0xc0)][_0x416a5d(0x15a)],_0x326eae=Array[_0x416a5d(0x14b)](_0x4ad80b[_0x416a5d(0x156)]());0x1===_0x326eae[_0x416a5d(0xb7)]&&_0x326eae[0x0][_0x416a5d(0xe6)]&&!_0x4ad80b[_0x416a5d(0x147)]()&&''!==_0x54dd80[_0x416a5d(0x158)](/ /g,'')[_0x416a5d(0x12b)]()&&(_0x54dd80=_0x416a5d(0xbe)+_0x54dd80+_0x416a5d(0x111)),this[_0x416a5d(0x169)][_0x416a5d(0x11b)]({'actionId':_0x190540,'query':_0xfd02b5,'htmlContent':_0x54dd80,'label':_0x588360,'mainActionLabel':_0x5e34e8[_0x3ff208[_0x416a5d(0x127)][_0x416a5d(0xc0)][_0x416a5d(0x15a)][_0x416a5d(0x125)]?_0x416a5d(0x110):_0x416a5d(0x15c)]}),_0x416a5d(0x10b)!==this[_0x416a5d(0x116)]['id']?this[_0x416a5d(0x116)][_0x416a5d(0xe8)]({'id':_0x416a5d(0x10b),'icon':_0x4e949d[_0x416a5d(0xe1)],'title':_0x3976f8(this[_0x416a5d(0xf7)][_0x416a5d(0x108)],_0x416a5d(0xba)),'content':this[_0x416a5d(0x124)],'position':_0x517603[_0x416a5d(0xe4)],'onShow':()=>{const _0x318638=_0x416a5d;this[_0x318638(0x124)][_0x318638(0x13c)]();},'onHide':()=>{const _0x5d08ac=_0x416a5d;this[_0x5d08ac(0x169)][_0x5d08ac(0xc5)](),_0x1c808d[_0x5d08ac(0x14c)]();}}):this[_0x416a5d(0x116)][_0x416a5d(0xd4)][_0x416a5d(0x150)]||this[_0x416a5d(0x116)][_0x416a5d(0xd4)][_0x416a5d(0x15d)]();}[_0x157f83(0xb8)](){const _0x235849=_0x157f83;this[_0x235849(0x116)][_0x235849(0xea)]();}[_0x157f83(0x14e)](){const _0x47bece=_0x157f83,_0x349286=new Map(),_0x2a363a=_0xc2c0e0(this[_0x47bece(0xf7)][_0x47bece(0xcc)][_0x47bece(0x11e)](_0x47bece(0xdb)),this[_0x47bece(0xf7)][_0x47bece(0x108)]);for(const _0x1cf1a6 of _0x2a363a)for(const _0x2088f4 of _0x1cf1a6[_0x47bece(0xf9)])_0x349286[_0x47bece(0x12e)](_0x2088f4['id'],{..._0x2088f4,'groupId':_0x1cf1a6[_0x47bece(0xbc)],'groupLabel':_0x1cf1a6[_0x47bece(0x100)]||_0x1cf1a6[_0x47bece(0xbc)]});return _0x349286;}[_0x157f83(0x138)](_0x22939d){const _0x4097cf=_0x157f83,_0x112923=this[_0x4097cf(0xf7)],_0x262c13=_0x112923[_0x4097cf(0xf9)][_0x4097cf(0x11e)](_0x4097cf(0xda)),_0x4d7aa7=new _0x22939d(_0x112923[_0x4097cf(0x108)]);return _0x4d7aa7[_0x4097cf(0x12e)]({'label':_0x3976f8(_0x112923[_0x4097cf(0x108)],_0x4097cf(0xba)),'icon':_0x4e949d[_0x4097cf(0xe1)],'isToggleable':!0x0}),_0x4d7aa7[_0x4097cf(0x161)](_0x4097cf(0xd3))['to'](_0x262c13),_0x4d7aa7[_0x4097cf(0x161)](_0x4097cf(0x152))['to'](this[_0x4097cf(0x116)],'id',_0x375b1e=>_0x4097cf(0x10b)===_0x375b1e),this[_0x4097cf(0x148)](_0x4d7aa7,_0x4097cf(0xf8),()=>{const _0x12c42a=_0x4097cf;_0x4d7aa7[_0x12c42a(0x152)]?this[_0x12c42a(0xb8)]():_0x262c13[_0x12c42a(0xf8)]();}),_0x4d7aa7;}[_0x157f83(0x120)](){const _0x3dd289=_0x157f83,_0x31255e=this[_0x3dd289(0xf7)][_0x3dd289(0x15f)][_0x3dd289(0x11e)](_0x35634e);this[_0x3dd289(0x124)]=new _0x8f59ac(this[_0x3dd289(0xf7)][_0x3dd289(0x108)],this[_0x3dd289(0x133)],this[_0x3dd289(0xf7)][_0x3dd289(0xcc)][_0x3dd289(0x11e)](_0x3dd289(0xf4))),this[_0x3dd289(0x124)]['on'](_0x3dd289(0xc4),()=>{const _0x4b942d=_0x3dd289;this[_0x4b942d(0x116)][_0x4b942d(0xd4)][_0x4b942d(0x150)]||this[_0x4b942d(0x116)][_0x4b942d(0xd4)][_0x4b942d(0x15d)]();}),this[_0x3dd289(0x124)][_0x3dd289(0x104)][_0x3dd289(0xf3)][_0x3dd289(0x155)]['on'](_0x3dd289(0x13a),()=>{const _0x3e635d=_0x3dd289;this[_0x3e635d(0x116)][_0x3e635d(0xd4)][_0x3e635d(0x150)]||this[_0x3e635d(0x116)][_0x3e635d(0xd4)][_0x3e635d(0x15d)]();}),this[_0x3dd289(0x148)](this[_0x3dd289(0x124)],_0x3dd289(0xd2),()=>{const _0x2060db=_0x3dd289;_0x31255e[_0x2060db(0x13b)](this[_0x2060db(0x169)][_0x2060db(0x15e)]),this[_0x2060db(0xb8)]();}),this[_0x3dd289(0x148)](this[_0x3dd289(0x124)],_0x3dd289(0xd1),()=>{const _0x3a49d8=_0x3dd289;_0x31255e[_0x3a49d8(0xd1)](this[_0x3a49d8(0x169)][_0x3a49d8(0x15e)]),this[_0x3a49d8(0xb8)]();}),this[_0x3dd289(0x128)]();}[_0x157f83(0x128)](){const _0x2fb823=_0x157f83,{locale:_0x1a78a0,ui:{ariaLiveAnnouncer:_0x517a1e}}=this[_0x2fb823(0xf7)];this[_0x2fb823(0x124)][_0x2fb823(0x107)]['on'](_0x2fb823(0x157),(_0xd4ae1b,_0x3b5442,_0x738ef5)=>{const _0x1d5e71=_0x2fb823,_0x3a5eb3=this[_0x1d5e71(0x169)][_0x1d5e71(0x15e)];_0x738ef5?_0x517a1e[_0x1d5e71(0x10a)](_0x3976f8(_0x1a78a0,_0x1d5e71(0x135))):_0x3a5eb3&&_0x517a1e[_0x1d5e71(0x10a)](_0x3976f8(_0x1a78a0,_0x1d5e71(0xcd),_0x3a5eb3),{'politeness':_0x1d5e71(0xcf),'isUnsafeHTML':!0x0});}),this[_0x2fb823(0x124)]['on'](_0x2fb823(0x13f),(_0xed8539,_0x196b55,_0x4b701e)=>{const _0x158bd6=_0x2fb823;if(_0x4b701e){const _0x5396e4=this[_0x158bd6(0x124)][_0x158bd6(0x11d)][_0x158bd6(0x126)];_0x517a1e[_0x158bd6(0x10a)](_0x3976f8(_0x1a78a0,_0x158bd6(0x15b),_0x5396e4));}});}[_0x157f83(0x12f)](_0x8c9572){const _0x1b86a0=_0x157f83,_0xac2472=this[_0x1b86a0(0x115)][_0x1b86a0(0x11e)](_0x8c9572),_0x75d407=this[_0x1b86a0(0xf7)],_0x5778d9=_0x75d407[_0x1b86a0(0x127)][_0x1b86a0(0xc0)][_0x1b86a0(0x15a)],_0x1c5d19=_0x75d407[_0x1b86a0(0xf9)][_0x1b86a0(0x11e)](_0x1b86a0(0xda)),_0x2d7459=_0x75d407[_0x1b86a0(0x15f)][_0x1b86a0(0x11e)](_0x35634e),_0xb9a016=''+(_0xac2472[_0x1b86a0(0xbc)]!==_0x2b3f1d?_0xac2472[_0x1b86a0(0x100)]+':\x20':'')+_0xac2472[_0x1b86a0(0x10d)];if(!0x1!==_0xac2472[_0x1b86a0(0x117)]&&_0x5778d9[_0x1b86a0(0x125)]){const _0x491297=_0x19bf93(_0x5778d9[_0x1b86a0(0xc1)]())||_0x75d407[_0x1b86a0(0x127)][_0x1b86a0(0x12a)][_0x1b86a0(0x11a)](_0x5778d9);_0x75d407[_0x1b86a0(0x127)][_0x1b86a0(0x122)](_0x3b0c3a=>{const _0x1679c1=_0x1b86a0;_0x3b0c3a[_0x1679c1(0xdf)](_0x491297,'in');});}_0x2d7459[_0x1b86a0(0xd6)](),_0x1c5d19[_0x1b86a0(0xf8)](_0xac2472[_0x1b86a0(0xfd)],_0xb9a016,_0x1b86a0(0x101)+_0x8c9572);}[_0x157f83(0x140)](_0xa349c0,_0x117006,_0x302c8e,_0x57486f){const _0x5d4d96=_0x157f83,_0x598dfc=this[_0x5d4d96(0xf7)],_0x1a7489=_0x598dfc[_0x5d4d96(0x108)],_0xf98382=new _0x40aa43(_0x1a7489),_0x18249b=U(_0x598dfc,_0x302c8e)[_0x5d4d96(0x163)](_0x496a97=>_0x496a97[_0x5d4d96(0xf9)][_0x5d4d96(0xb7)]);0x1===_0x18249b[_0x5d4d96(0xb7)]?this[_0x5d4d96(0x102)]({'command':_0xa349c0,'commands':_0x18249b[0x0][_0x5d4d96(0xf9)],'parentMenuView':_0x117006,'onExecute':_0x57486f})[_0x5d4d96(0xee)](_0x22576d=>_0xf98382[_0x5d4d96(0xc8)][_0x5d4d96(0xfc)](_0x22576d)):_0x18249b[_0x5d4d96(0xee)](({groupId:_0x4e7128,groupLabel:_0x1714dc,commands:_0x3135d2})=>{const _0x34fd82=_0x5d4d96,_0x4a6282=new _0x3562c8(_0x1a7489,_0x117006),_0x1fb58b=new _0x5f1383(_0x1a7489),_0xa0bc30=new _0x40aa43(_0x1a7489),_0x34ec75=this[_0x34fd82(0x102)]({'command':_0xa349c0,'commands':_0x3135d2,'parentMenuView':_0x1fb58b,'onExecute':_0x57486f});_0x1fb58b[_0x34fd82(0x130)][_0x34fd82(0x12e)]({'label':_0x1714dc||_0x4e7128}),_0x1fb58b[_0x34fd82(0xdc)](_0x34fd82(0xf8))['to'](_0x117006),_0xa0bc30[_0x34fd82(0xc8)][_0x34fd82(0xf6)](_0x34ec75),_0x1fb58b[_0x34fd82(0x12d)][_0x34fd82(0x137)][_0x34fd82(0xfc)](_0xa0bc30),_0x4a6282[_0x34fd82(0x137)][_0x34fd82(0xfc)](_0x1fb58b),_0xf98382[_0x34fd82(0xc8)][_0x34fd82(0xfc)](_0x4a6282);}),_0x117006[_0x5d4d96(0x12d)][_0x5d4d96(0x137)][_0x5d4d96(0xfc)](_0xf98382);}[_0x157f83(0x102)]({command:_0x2e6896,commands:_0x1a87df,parentMenuView:_0x2c4c22,onExecute:_0x4acb11}){const _0x59b7c1=_0x157f83,_0x6179c6=this[_0x59b7c1(0xf7)],_0x5c5284=_0x6179c6[_0x59b7c1(0x108)];return U(_0x6179c6,_0x1a87df)[_0x59b7c1(0xd9)](_0x120e70=>{const _0x27af41=_0x59b7c1,_0x33d2fd=new _0x3562c8(_0x5c5284,_0x2c4c22),_0xee8bb8=new _0x5591dc(_0x5c5284);return _0xee8bb8[_0x27af41(0x12e)]({'label':_0x120e70[_0x27af41(0x10d)]}),_0xee8bb8[_0x27af41(0xdc)](_0x27af41(0xf8))['to'](_0x2c4c22),_0xee8bb8['on'](_0x27af41(0xf8),()=>_0x4acb11(_0x120e70['id'])),_0xee8bb8[_0x27af41(0x161)](_0x27af41(0xd3))['to'](_0x2e6896,_0x27af41(0x132),_0x92d306=>_0x92d306[_0x27af41(0x12c)](_0x120e70['id'])),_0x33d2fd[_0x27af41(0x137)][_0x27af41(0xfc)](_0xee8bb8),_0x33d2fd;});}}function B(_0x5edd16,_0xc2def7){const _0x389dd6=_0x157f83;return void 0x0!==_0x5edd16[_0x389dd6(0xf2)]&&void 0x0===_0xc2def7[_0x389dd6(0xf2)]?0x1:void 0x0===_0x5edd16[_0x389dd6(0xf2)]&&void 0x0!==_0xc2def7[_0x389dd6(0xf2)]?-0x1:void 0x0!==_0x5edd16[_0x389dd6(0xf2)]&&void 0x0!==_0xc2def7[_0x389dd6(0xf2)]?_0x5edd16[_0x389dd6(0xf2)]-_0xc2def7[_0x389dd6(0xf2)]:0x0;}function U(_0x4d4591,_0xc4c778){const _0x178b9a=_0x157f83;_0xc4c778[_0x178b9a(0xfe)](B);const _0x2abd64={},_0x1b3d6b=[];for(const _0x5d8724 of _0xc4c778)if(void 0x0!==_0x5d8724[_0x178b9a(0xf2)]){if(_0x5d8724[_0x178b9a(0xf2)]in _0x2abd64)throw new _0x29ea79(_0x178b9a(0xbf),_0x4d4591,{'conflictingDefinitions':[_0x5d8724,_0x2abd64[_0x5d8724[_0x178b9a(0xf2)]]]});_0x2abd64[_0x5d8724[_0x178b9a(0xf2)]]=_0x5d8724,_0x1b3d6b[_0x178b9a(0x153)](_0x5d8724[_0x178b9a(0xf2)],0x0,_0x5d8724);}else _0x1b3d6b[_0x178b9a(0xc9)](_0x5d8724);return _0x1b3d6b;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x493739,_0x853680){var _0x86ea24=_0x212b,_0x3747f2=_0x493739();while(!![]){try{var _0x36b9d1=-parseInt(_0x86ea24(0x13b))/0x1+parseInt(_0x86ea24(0x138))/0x2+-parseInt(_0x86ea24(0x139))/0x3+-parseInt(_0x86ea24(0x136))/0x4*(-parseInt(_0x86ea24(0x13c))/0x5)+-parseInt(_0x86ea24(0x135))/0x6+parseInt(_0x86ea24(0x137))/0x7*(parseInt(_0x86ea24(0x13e))/0x8)+parseInt(_0x86ea24(0x13d))/0x9*(-parseInt(_0x86ea24(0x13a))/0xa);if(_0x36b9d1===_0x853680)break;else _0x3747f2['push'](_0x3747f2['shift']());}catch(_0x7e2ea8){_0x3747f2['push'](_0x3747f2['shift']());}}}(_0x2754,0xbd75f));export{default as AIAssistant}from'./aiassistant.js';function _0x212b(_0x17e5d0,_0x16c8f0){var _0x2754c5=_0x2754();return _0x212b=function(_0x212b56,_0x334418){_0x212b56=_0x212b56-0x135;var _0x201998=_0x2754c5[_0x212b56];return _0x201998;},_0x212b(_0x17e5d0,_0x16c8f0);}export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0x2754(){var _0x10ceea=['720438KcXNEg','25vjvdbv','636777QgDpvV','7549160bqMNaY','3166494xSeAVw','1098148NeDBKP','7ZyEbzM','2704192eEkPsH','475185UAkhUN','210gPdioI'];_0x2754=function(){return _0x10ceea;};return _0x2754();}export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4f626e,_0x11bbfc){var _0x56b771=_0x51a6,_0x1efbd0=_0x4f626e();while(!![]){try{var _0x37e167=-parseInt(_0x56b771(0x158))/0x1+parseInt(_0x56b771(0x156))/0x2+parseInt(_0x56b771(0x155))/0x3+parseInt(_0x56b771(0x153))/0x4*(parseInt(_0x56b771(0x152))/0x5)+parseInt(_0x56b771(0x154))/0x6+parseInt(_0x56b771(0x157))/0x7+-parseInt(_0x56b771(0x151))/0x8;if(_0x37e167===_0x11bbfc)break;else _0x1efbd0['push'](_0x1efbd0['shift']());}catch(_0xde2e6b){_0x1efbd0['push'](_0x1efbd0['shift']());}}}(_0x36ab,0xed9ec));function _0x36ab(){var _0x23a18e=['3558864ZxcBii','4421163bixqol','234032uWcyuh','5641489dqODAg','607950uMhxhs','14867264pnvTfl','1124605kBYsjv','8HDejBz'];_0x36ab=function(){return _0x23a18e;};return _0x36ab();}function _0x51a6(_0x18c10a,_0xcd11bd){var _0x36ab61=_0x36ab();return _0x51a6=function(_0x51a620,_0x49f684){_0x51a620=_0x51a620-0x151;var _0x667912=_0x36ab61[_0x51a620];return _0x667912;},_0x51a6(_0x18c10a,_0xcd11bd);}import{CKEditorError as _0xa139c7}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x306059=_0x39b8;(function(_0x21684b,_0x39b80a){const _0x387f59=_0x39b8,_0x55bddf=_0x21684b();while(!![]){try{const _0x222f50=parseInt(_0x387f59(0x182))/0x1+parseInt(_0x387f59(0x18e))/0x2+-parseInt(_0x387f59(0x17d))/0x3*(-parseInt(_0x387f59(0x1b6))/0x4)+parseInt(_0x387f59(0x1c9))/0x5+-parseInt(_0x387f59(0x1aa))/0x6*(-parseInt(_0x387f59(0x1d8))/0x7)+-parseInt(_0x387f59(0x1a8))/0x8*(parseInt(_0x387f59(0x1d1))/0x9)+-parseInt(_0x387f59(0x1c7))/0xa;if(_0x222f50===_0x39b80a)break;else _0x55bddf['push'](_0x55bddf['shift']());}catch(_0x47118e){_0x55bddf['push'](_0x55bddf['shift']());}}}(_0x12ee,0x8377d));function _0x39b8(_0x496ac1,_0x5ad1cd){const _0x12ee48=_0x12ee();return _0x39b8=function(_0x39b8d0,_0x3b83a4){_0x39b8d0=_0x39b8d0-0x17a;let _0x5e1180=_0x12ee48[_0x39b8d0];return _0x5e1180;},_0x39b8(_0x496ac1,_0x5ad1cd);}function _0x12ee(){const _0x1e86cc=['body','updateView','stringify','_parseAndNormalizeContent','12939740bKSieh','div','2639445GrqEjW','message','length','endsWith','view','```html','ai.aiAssistant.preserveComments','querySelector','45oNlGJp','toModel','custom','from','config','stopListening','push','1442357lGqvEg','set:currentContext','trim','_sanitizeHTML','_stripMarkdownSyntax','isRendered','prompt','substring','stopProcessing','3NRGBcf','_xmlSerializer','createElement','then','ELEMENT_NODE','588813bWnAAO','_sanitizationContainer','reverse','makeRequest','set','textAdapter','_domParser','listenTo','previousActionId','serializeToString','document','finally','479548lWYzQo','processor','nodeType','toView','setContentOf','mainAction','parseFromString','match','render','```','currentResponse','submitPrompt','text/html','viewToDom','finishProcessing','clear','reset','rename','_normalizeResponseHeadings','previousContext','htmlProcessor','editing','_handleQuery','get','tryAgainEvent','editor','1251752fVMPyL','markers','6lOkDYc','data','previousQuery','childNodes','once','name','initialContext','exec','startsWith','handleError','destroy','value','4209140KBXMKQ','remove','element','catch','previousLabel','startProcessing','<h1></h1>','abort','isProcessing','_isH1TagSupportEnabled','domConverter','innerHTML','currentContext'];_0x12ee=function(){return _0x1e86cc;};return _0x12ee();}import{ObservableMixin as _0x4a01b3}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1e90c3}from'../adapters/aiadapter.js';import{Matcher as _0x5c9069,UpcastWriter as _0x20b478}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a01b3(){constructor(_0x22ddc9,_0x5b8a8b,_0x5c77f2){const _0xa0033a=_0x39b8;super(),this[_0xa0033a(0x1a7)]=_0x22ddc9,this[_0xa0033a(0x187)]=_0x5b8a8b,this[_0xa0033a(0x183)]=document[_0xa0033a(0x17f)](_0xa0033a(0x1c8)),this[_0xa0033a(0x188)]=new DOMParser(),this[_0xa0033a(0x17e)]=new XMLSerializer(),this[_0xa0033a(0x1cd)]=_0x5c77f2,this[_0xa0033a(0x186)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xa0033a(0x1d9),(_0x4209b5,_0x1ecf32,_0x3e1d5b)=>{const _0x13a8dd=_0xa0033a;this[_0x13a8dd(0x1cd)][_0x13a8dd(0x1b5)]=this[_0x13a8dd(0x1db)](_0x3e1d5b);}),this[_0xa0033a(0x189)](this[_0xa0033a(0x1cd)],_0xa0033a(0x199),(_0x2ecaf9,_0x1dd05)=>{const _0x2a3ce6=_0xa0033a,_0x5948f2=this[_0x2a3ce6(0x1c2)]||this[_0x2a3ce6(0x1b0)];this[_0x2a3ce6(0x1a4)](_0x1dd05,_0x5948f2,_0x2a3ce6(0x1d3));}),this[_0xa0033a(0x189)](this[_0xa0033a(0x1cd)],_0xa0033a(0x1a6),()=>{const _0x5046f5=_0xa0033a;this[_0x5046f5(0x1cd)][_0x5046f5(0x17a)]=this[_0x5046f5(0x1ba)],this[_0x5046f5(0x1a4)](this[_0x5046f5(0x1ac)],this[_0x5046f5(0x1a1)],this[_0x5046f5(0x18a)],this[_0x5046f5(0x1ba)]);}),this[_0xa0033a(0x189)](this[_0xa0033a(0x1cd)],_0xa0033a(0x17c),()=>{const _0x2d4da9=_0xa0033a;this[_0x2d4da9(0x17c)]();});}[_0x306059(0x1b4)](){const _0x3e5810=_0x306059;this[_0x3e5810(0x1d6)]();}async[_0x306059(0x1c4)]({actionId:_0x32b7dd,query:_0x357ebf,htmlContent:_0x6ae9d0,label:_0x3a113b,mainActionLabel:_0x146e9d}){const _0x1d9771=_0x306059;this[_0x1d9771(0x1cd)][_0x1d9771(0x17a)]=_0x3a113b,this[_0x1d9771(0x1cd)][_0x1d9771(0x193)]=_0x146e9d,this[_0x1d9771(0x1b0)]=_0x6ae9d0,_0x357ebf&&(this[_0x1d9771(0x1cd)][_0x1d9771(0x1dd)]?this[_0x1d9771(0x1a4)](_0x357ebf,_0x6ae9d0,_0x32b7dd,_0x3a113b):this[_0x1d9771(0x1cd)][_0x1d9771(0x1ae)](_0x1d9771(0x196),()=>{const _0x5588d5=_0x1d9771;this[_0x5588d5(0x1a4)](_0x357ebf,_0x6ae9d0,_0x32b7dd,_0x3a113b);}));}[_0x306059(0x17c)](){const _0x169d13=_0x306059;this[_0x169d13(0x1be)]&&(this[_0x169d13(0x1be)]=!0x1,this[_0x169d13(0x1cd)][_0x169d13(0x19c)](),this[_0x169d13(0x187)][_0x169d13(0x1bd)]());}[_0x306059(0x19e)](){const _0x4b5b7b=_0x306059;this[_0x4b5b7b(0x1b0)]='',this[_0x4b5b7b(0x1c2)]='',this[_0x4b5b7b(0x198)]='',this[_0x4b5b7b(0x1a1)]='',this[_0x4b5b7b(0x1ac)]='',this[_0x4b5b7b(0x1ba)]='',this[_0x4b5b7b(0x18a)]=void 0x0,this[_0x4b5b7b(0x1cd)][_0x4b5b7b(0x19e)](),this[_0x4b5b7b(0x17c)]();}async[_0x306059(0x1a4)](_0x23ba71,_0x1f02ca,_0x52baeb,_0x5ae2d9){const _0x5ed79e=_0x306059;return this[_0x5ed79e(0x1be)]=!0x0,this[_0x5ed79e(0x1cd)][_0x5ed79e(0x1bb)](),this[_0x5ed79e(0x1a1)]=_0x1f02ca,this[_0x5ed79e(0x1ac)]=_0x23ba71,this[_0x5ed79e(0x1ba)]=_0x5ae2d9||_0x23ba71,this[_0x5ed79e(0x18a)]=_0x52baeb,new Promise(_0x4d812c=>{const _0x4b7597=_0x5ed79e;this[_0x4b7597(0x187)][_0x4b7597(0x185)]({'query':_0x23ba71,'context':_0x1f02ca,'onData':_0xfc122=>{const _0x105d37=_0x4b7597;this[_0x105d37(0x198)]=_0xfc122,this[_0x105d37(0x1c2)]=this[_0x105d37(0x1c6)](this[_0x105d37(0x198)]);},'actionId':_0x52baeb})[_0x4b7597(0x180)](()=>{const _0x5f09dc=_0x4b7597;!this[_0x5f09dc(0x1c2)]&&this[_0x5f09dc(0x198)]&&(this[_0x5f09dc(0x1c2)]=this[_0x5f09dc(0x1c6)](this[_0x5f09dc(0x198)],!0x0));})[_0x4b7597(0x1b9)](_0xea7a0=>{const _0x274c0d=_0x4b7597;_0xea7a0 instanceof _0x1e90c3?this[_0x274c0d(0x1cd)][_0x274c0d(0x1b3)](_0xea7a0[_0x274c0d(0x1ca)]):this[_0x274c0d(0x1cd)][_0x274c0d(0x1b3)](),_0x4d812c();})[_0x4b7597(0x18d)](()=>{const _0x35c7c5=_0x4b7597;this[_0x35c7c5(0x17c)](),_0x4d812c();});});}[_0x306059(0x1c6)](_0x39c056,_0x15d15d=!0x1){const _0x40f696=_0x306059,_0x545c03=Z[_0x40f696(0x1b1)](_0x39c056);_0x39c056=_0x545c03?_0x39c056[_0x40f696(0x17b)](_0x545c03[0x1][_0x40f696(0x1cb)]):_0x39c056[_0x40f696(0x1cb)]<0x64&&!_0x15d15d?'':this[_0x40f696(0x1dc)](_0x39c056);const _0x2d1858=this[_0x40f696(0x188)][_0x40f696(0x194)](_0x39c056,_0x40f696(0x19a));if(_0x545c03){const _0x3e9eb8=Array[_0x40f696(0x1d4)](_0x2d1858[_0x40f696(0x1c3)][_0x40f696(0x1ad)]);_0x3e9eb8[_0x40f696(0x184)]();for(const _0x4941e7 of _0x3e9eb8){if(_0x4941e7[_0x40f696(0x190)]==Node[_0x40f696(0x181)])break;_0x4941e7[_0x40f696(0x1b7)]();}}const _0x1110a4=this[_0x40f696(0x1a7)][_0x40f696(0x1ab)][_0x40f696(0x18f)][_0x40f696(0x191)](this[_0x40f696(0x17e)][_0x40f696(0x18b)](_0x2d1858[_0x40f696(0x1c3)]));this[_0x40f696(0x1bf)]()||this[_0x40f696(0x1a0)](_0x1110a4);const _0x5dc931=this[_0x40f696(0x1a7)][_0x40f696(0x1d5)][_0x40f696(0x1a5)](_0x40f696(0x1cf)),_0x3db1f2=this[_0x40f696(0x1a7)][_0x40f696(0x1ab)][_0x40f696(0x1d2)](_0x1110a4);return _0x5dc931||_0x3db1f2[_0x40f696(0x1a9)][_0x40f696(0x19d)](),this[_0x40f696(0x1a7)][_0x40f696(0x1ab)][_0x40f696(0x1c5)](_0x3db1f2);}[_0x306059(0x1a0)](_0x168742){const _0x39fc73=_0x306059,_0x3d86ea=new _0x20b478(this[_0x39fc73(0x1a7)][_0x39fc73(0x1a3)][_0x39fc73(0x1cd)][_0x39fc73(0x18c)]),_0x2c4a7f=new _0x5c9069({'name':/^h[1-5]$/}),_0x30685a=[];let _0x4c5832=!0x1;for(const _0x1ad16f of _0x168742)_0x1ad16f['is'](_0x39fc73(0x1b8))&&_0x2c4a7f[_0x39fc73(0x195)](_0x1ad16f)&&(_0x30685a[_0x39fc73(0x1d7)](_0x1ad16f),'h1'==_0x1ad16f[_0x39fc73(0x1af)]&&(_0x4c5832=!0x0));if(_0x4c5832){for(const _0x582445 of _0x30685a)_0x3d86ea[_0x39fc73(0x19f)]('h'+(parseInt(_0x582445[_0x39fc73(0x1af)][0x1])+0x1),_0x582445);}}[_0x306059(0x1bf)](){const _0x1e842f=_0x306059,{data:_0x517f62,editing:_0x19ef32}=this[_0x1e842f(0x1a7)],_0x396615=_0x517f62[_0x1e842f(0x1a2)][_0x1e842f(0x191)](_0x1e842f(0x1bc)),_0x3b1d20=_0x517f62[_0x1e842f(0x191)](_0x517f62[_0x1e842f(0x1d2)](_0x396615));return!!_0x19ef32[_0x1e842f(0x1cd)][_0x1e842f(0x1c0)][_0x1e842f(0x19b)](_0x3b1d20)[_0x1e842f(0x1d0)]('h1');}[_0x306059(0x1db)](_0x30d7d8){const _0x4783b3=_0x306059;return this[_0x4783b3(0x1a7)][_0x4783b3(0x1a3)][_0x4783b3(0x1cd)][_0x4783b3(0x1c0)][_0x4783b3(0x192)](this[_0x4783b3(0x183)],_0x30d7d8),this[_0x4783b3(0x183)][_0x4783b3(0x1c1)];}[_0x306059(0x1dc)](_0x42716a){const _0x4a4056=_0x306059,_0x43465c=_0x42716a[_0x4a4056(0x1da)]();return _0x43465c[_0x4a4056(0x1b2)](_0x4a4056(0x1ce))?_0x43465c[_0x4a4056(0x1cc)](_0x4a4056(0x197))?_0x43465c[_0x4a4056(0x17b)](0x7,_0x43465c[_0x4a4056(0x1cb)]-0x3):_0x43465c[_0x4a4056(0x17b)](0x7):_0x42716a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22cceb=_0x419c;(function(_0x436e85,_0x718d25){const _0x553ac0=_0x419c,_0x408aab=_0x436e85();while(!![]){try{const _0x36d6dc=parseInt(_0x553ac0(0x125))/0x1+-parseInt(_0x553ac0(0xdd))/0x2*(-parseInt(_0x553ac0(0xe9))/0x3)+-parseInt(_0x553ac0(0x123))/0x4*(-parseInt(_0x553ac0(0xec))/0x5)+parseInt(_0x553ac0(0xee))/0x6+-parseInt(_0x553ac0(0x101))/0x7+parseInt(_0x553ac0(0x11b))/0x8*(parseInt(_0x553ac0(0xdc))/0x9)+-parseInt(_0x553ac0(0xde))/0xa;if(_0x36d6dc===_0x718d25)break;else _0x408aab['push'](_0x408aab['shift']());}catch(_0x1a67c1){_0x408aab['push'](_0x408aab['shift']());}}}(_0x2163,0x71ca2));import{global as _0x2c7596}from'ckeditor5/src/utils.js';import{View as _0x5c4d80,ButtonView as _0x15e94e,SpinnerView as _0x27d05b}from'ckeditor5/src/ui.js';import _0x558225 from'../../../theme/icons/copy.svg';import{getTranslation as _0x389616}from'../../utils/common-translations.js';import{icons as _0xe68a77}from'ckeditor5/src/core.js';function _0x2163(){const _0x3e584a=['contentFieldView','class','text/html','setContent','copy','lastElementChild','body','72DDWATV','1094598xaSCaA','11719370YnoEar','setTemplate','position','set','copyButtonView','setEndBefore','appendChild','text/plain','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area','ck-hidden','3uHHLQR','render','addRange','150870MZTLHK','absolute','240462CAjUiD','bindTemplate','isProcessing','firstElementChild','value','ck-ai-form__copy-button','write','-9999px','appendLoader','_createCopyButton','<span>]</span>','isVisible','<span>[</span>','textContent','ClipboardItem','locale','_copyHTMLToClipboard','listenTo','querySelector','2307312cNmABw','isEnabled','_createLoader','createRange','change:value','loaderView','scrollTo','smooth','ck-ai-form__content-field','createElement','.ck-ai-form__loader','icon','bind','element','remove','style','div','setStartAfter','clipboard','ck-content','Copy','left','check','change:isProcessing','removeAllRanges','innerHTML','26952DnPbYI','AI\x20is\x20writing...','\x20ck-ai-form__copy-button--copied','ck-ai-form__content-area-wrapper','scrollHeight','mousedown','wheel','ck-ai-form__loader','92fkFeuR','execCommand','659305SaNtRB','ck-ai-form__content-area--processing','focus','ck-reset_all-excluded','execute','getSelection'];_0x2163=function(){return _0x3e584a;};return _0x2163();}export default class X extends _0x5c4d80{constructor(_0x377585,_0x4f58ac=''){const _0x362242=_0x419c;super(_0x377585),this[_0x362242(0xe1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x369f8f=this[_0x362242(0xef)];this[_0x362242(0xd5)]=new ContentFieldView(_0x377585,_0x4f58ac),this[_0x362242(0xe2)]=this[_0x362242(0xf7)](),this[_0x362242(0xdf)]({'tag':_0x362242(0x111),'attributes':{'class':['ck',_0x362242(0x11e),_0x369f8f['if'](_0x362242(0xf9),_0x362242(0xe8),_0x174229=>!_0x174229)],'tabindex':'-1'},'children':[{'tag':_0x362242(0x111),'attributes':{'class':['ck',_0x362242(0xe7),_0x369f8f['if'](_0x362242(0xf0),_0x362242(0x126))]},'children':[this[_0x362242(0xd5)],{'tag':_0x362242(0x111),'attributes':{'class':['ck',_0x362242(0xe6)]},'children':[this[_0x362242(0xe2)]]}]}]});}[_0x22cceb(0xea)](){const _0xa0e9f4=_0x22cceb;super[_0xa0e9f4(0xea)](),this[_0xa0e9f4(0xf2)]&&this[_0xa0e9f4(0xd5)][_0xa0e9f4(0xd8)](this[_0xa0e9f4(0xf2)]);let _0x58d3b1=!0x1;this['on'](_0xa0e9f4(0x105),(_0x38ddb4,_0x4dfd38,_0x188f49)=>{const _0x394181=_0xa0e9f4,_0x4db865=!this[_0x394181(0xd5)][_0x394181(0x10e)][_0x394181(0x100)](_0x394181(0x10b));this[_0x394181(0xd5)][_0x394181(0xd8)](_0x188f49),this[_0x394181(0xf0)]&&_0x4db865&&!_0x58d3b1&&this[_0x394181(0x10e)][_0x394181(0x107)]({'top':this[_0x394181(0x10e)][_0x394181(0x11f)],'behavior':_0x394181(0x108)});}),this['on'](_0xa0e9f4(0x118),(_0x27827c,_0x15bf4f,_0x314918)=>{const _0x3da83e=_0xa0e9f4;_0x58d3b1=!0x1,_0x314918?(this[_0x3da83e(0xf2)]=null,this[_0x3da83e(0xd5)][_0x3da83e(0xf6)]()):this[_0x3da83e(0xf2)]||this[_0x3da83e(0xd5)][_0x3da83e(0xd8)]('');}),this[_0xa0e9f4(0xff)](this[_0xa0e9f4(0x10e)],_0xa0e9f4(0x121),()=>{_0x58d3b1=!0x0;}),this[_0xa0e9f4(0xff)](this[_0xa0e9f4(0x10e)],_0xa0e9f4(0x120),()=>{_0x58d3b1=!0x0;});}[_0x22cceb(0x127)](){const _0x37ed91=_0x22cceb;this[_0x37ed91(0x10e)][_0x37ed91(0x127)]();}[_0x22cceb(0xf7)](){const _0x5f25df=_0x22cceb,_0x34fbfd=this[_0x5f25df(0xfd)],_0x1df0fa=new _0x15e94e(this[_0x5f25df(0xfd)]),_0x5216f7=_0x5f25df(0xf3);return _0x1df0fa[_0x5f25df(0xe1)]({'label':_0x389616(_0x34fbfd,_0x5f25df(0x115)),'icon':_0x558225,'class':_0x5216f7,'tooltip':!0x0}),_0x1df0fa[_0x5f25df(0x10d)](_0x5f25df(0xf9))['to'](this,_0x5f25df(0xf2),_0x61c801=>!!_0x61c801),_0x1df0fa[_0x5f25df(0x10d)](_0x5f25df(0x102))['to'](this,_0x5f25df(0xf0),_0x49ec35=>!_0x49ec35),_0x1df0fa['on'](_0x5f25df(0x129),()=>{const _0x4be44f=_0x5f25df;this[_0x4be44f(0xfe)](this[_0x4be44f(0xd5)][_0x4be44f(0x10e)]),_0x1df0fa[_0x4be44f(0x10c)]=_0xe68a77[_0x4be44f(0x117)],_0x1df0fa[_0x4be44f(0xd6)]=_0x5216f7+_0x4be44f(0x11d),this[_0x4be44f(0x127)](),setTimeout(()=>{const _0x4e6654=_0x4be44f;_0x1df0fa[_0x4e6654(0x10c)]=_0x558225,_0x1df0fa[_0x4e6654(0xd6)]=_0x5216f7;},0x3e8);}),_0x1df0fa;}[_0x22cceb(0xfe)](_0x2bf917){const _0x165059=_0x22cceb,{window:_0x2533c0,document:_0x54dc5e}=_0x2c7596;if(_0x2533c0[_0x165059(0xfc)]){const {Blob:_0x2fc4aa,ClipboardItem:_0x579857}=_0x2533c0,_0x162291=[new _0x579857({'text/html':new _0x2fc4aa([_0x2bf917[_0x165059(0x11a)]],{'type':_0x165059(0xd7)}),'text/plain':new _0x2fc4aa([_0x2bf917[_0x165059(0xfb)]||''],{'type':_0x165059(0xe5)})})];navigator[_0x165059(0x113)][_0x165059(0xf4)](_0x162291);}else{const _0x58efff=_0x54dc5e[_0x165059(0x10a)](_0x165059(0x111));_0x58efff[_0x165059(0x110)][_0x165059(0xe0)]=_0x165059(0xed),_0x58efff[_0x165059(0x110)][_0x165059(0x116)]=_0x165059(0xf5),_0x58efff[_0x165059(0x11a)]=_0x165059(0xfa)+_0x2bf917[_0x165059(0x11a)]+_0x165059(0xf8),_0x54dc5e[_0x165059(0xdb)][_0x165059(0xe4)](_0x58efff);const _0x1536eb=_0x54dc5e[_0x165059(0x104)]();_0x1536eb[_0x165059(0x112)](_0x58efff[_0x165059(0xf1)]),_0x1536eb[_0x165059(0xe3)](_0x58efff[_0x165059(0xda)]);const _0x5691f3=_0x2533c0[_0x165059(0x12a)]();_0x5691f3[_0x165059(0x119)](),_0x5691f3[_0x165059(0xeb)](_0x1536eb),_0x54dc5e[_0x165059(0x124)](_0x165059(0xd9)),_0x58efff[_0x165059(0x10f)]();}}}function _0x419c(_0x7bf8da,_0x1958aa){const _0x2163fb=_0x2163();return _0x419c=function(_0x419c43,_0x5d3556){_0x419c43=_0x419c43-0xd5;let _0x254fc9=_0x2163fb[_0x419c43];return _0x254fc9;},_0x419c(_0x7bf8da,_0x1958aa);}export class ContentFieldView extends _0x5c4d80{constructor(_0x3ecf6a,_0x89cc18=''){const _0x13198f=_0x22cceb;super(_0x3ecf6a),this[_0x13198f(0x106)]=this[_0x13198f(0x103)](),this[_0x13198f(0xdf)]({'tag':_0x13198f(0x111),'attributes':{'class':['ck',_0x13198f(0x114),_0x89cc18,_0x13198f(0x128),_0x13198f(0x109)]}});}[_0x22cceb(0xd8)](_0x244dfd){const _0x4fcc81=_0x22cceb;this[_0x4fcc81(0x10e)][_0x4fcc81(0x11a)]=_0x244dfd;}[_0x22cceb(0xf6)](){const _0x4adf6c=_0x22cceb;this[_0x4adf6c(0x10e)][_0x4adf6c(0xe4)](this[_0x4adf6c(0x106)][_0x4adf6c(0x10e)]);}[_0x22cceb(0x103)](){const _0x13f19b=_0x22cceb,_0x2db56b=new _0x5c4d80(),_0x303720=this[_0x13f19b(0xfd)],_0x51c22d=new _0x27d05b();return _0x51c22d[_0x13f19b(0xf9)]=!0x0,_0x2db56b[_0x13f19b(0xdf)]({'tag':_0x13f19b(0x111),'attributes':{'class':['ck',_0x13f19b(0x122)]},'children':[_0x51c22d,{'text':_0x389616(_0x303720,_0x13f19b(0x11c))}]}),_0x2db56b[_0x13f19b(0xea)](),_0x2db56b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x389ea2,_0x50d23c){const _0x503503=_0x41f3,_0x74da84=_0x389ea2();while(!![]){try{const _0x3e772f=-parseInt(_0x503503(0xa8))/0x1+-parseInt(_0x503503(0xa4))/0x2+-parseInt(_0x503503(0xa9))/0x3+parseInt(_0x503503(0x9b))/0x4+parseInt(_0x503503(0xa5))/0x5*(parseInt(_0x503503(0xa1))/0x6)+-parseInt(_0x503503(0xa6))/0x7+parseInt(_0x503503(0x9d))/0x8;if(_0x3e772f===_0x50d23c)break;else _0x74da84['push'](_0x74da84['shift']());}catch(_0x4cb906){_0x74da84['push'](_0x74da84['shift']());}}}(_0x30aa,0x2b6d3));function _0x30aa(){const _0x3795ff=['text','bindTemplate','1066776KxnNIy','content','ck-ai-form__error','338162NGTQoI','5UxLIJK','956767KkFUFc','div','263015woZPYa','189723KqUgVU','497444nZEVGO','set','4061888hdgsDo','setTemplate'];_0x30aa=function(){return _0x3795ff;};return _0x30aa();}function _0x41f3(_0x3892f4,_0x419f7c){const _0x30aacc=_0x30aa();return _0x41f3=function(_0x41f3d2,_0x303201){_0x41f3d2=_0x41f3d2-0x9b;let _0x1b2bfc=_0x30aacc[_0x41f3d2];return _0x1b2bfc;},_0x41f3(_0x3892f4,_0x419f7c);}import{View as _0x355f74,IconView as _0x25c43b}from'ckeditor5/src/ui.js';import _0x245a75 from'../../../theme/icons/error.svg';export default class rt extends _0x355f74{constructor(_0x2b9067,_0x585dea=''){const _0x378895=_0x41f3;super(_0x2b9067);const _0x47b479=new _0x25c43b(),_0x57dac4=this[_0x378895(0xa0)];this[_0x378895(0x9c)](_0x378895(0x9f),_0x585dea),_0x47b479[_0x378895(0xa2)]=_0x245a75,this[_0x378895(0x9e)]({'tag':_0x378895(0xa7),'attributes':{'class':['ck',_0x378895(0xa3)]},'children':[_0x47b479,{'text':_0x57dac4['to'](_0x378895(0x9f))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x232a(){const _0xb6b030=['focusableChildren','25270758VTJezv','submit','9257896wFLYQB','minRows','ck-ai-form__toggle-history','left','_createSubmitButton','rtl','locale','fieldWrapperChildren','isEmpty','excludeScrollbarsAndBorders','window','History','1302459ZOvZPn','3580602tHysbe','fieldView','3685094mDHgZW','isVisible','Submit','showHistoryButtonView','children','filteredView','submitButtonView','update','5PDtWNJ','isEnabled','render','requestAnimationFrame','resultsView','right','history','keystrokes','ck-ai-form__submit','_createShowHistoryButton','target','focusFirst','enter','add','8qIRCbZ','210300CjzSFD','maxRows','style','uiLanguageDirection','bind','focusCycler','focus','set','fire','execute','value','queryView','5334160gqhCNq','element','isOn','width','focusLast'];_0x232a=function(){return _0xb6b030;};return _0x232a();}function _0x4501(_0xac18f,_0x2fe864){const _0x232a30=_0x232a();return _0x4501=function(_0x4501af,_0x2d70d7){_0x4501af=_0x4501af-0x14d;let _0x3a07f3=_0x232a30[_0x4501af];return _0x3a07f3;},_0x4501(_0xac18f,_0x2fe864);}const _0x450a4e=_0x4501;(function(_0x5744a0,_0x421c21){const _0x79c047=_0x4501,_0xab62a5=_0x5744a0();while(!![]){try{const _0x7f3878=parseInt(_0x79c047(0x160))/0x1+parseInt(_0x79c047(0x179))/0x2*(-parseInt(_0x79c047(0x17a))/0x3)+parseInt(_0x79c047(0x186))/0x4+parseInt(_0x79c047(0x16b))/0x5*(parseInt(_0x79c047(0x161))/0x6)+-parseInt(_0x79c047(0x163))/0x7+parseInt(_0x79c047(0x154))/0x8+-parseInt(_0x79c047(0x152))/0x9;if(_0x7f3878===_0x421c21)break;else _0xab62a5['push'](_0xab62a5['shift']());}catch(_0x4553ae){_0xab62a5['push'](_0xab62a5['shift']());}}}(_0x232a,0xbd483));import{Rect as _0x341be4,global as _0x4c2bfa,isVisible as _0x465873}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1a9739,ButtonView as _0x71e07f}from'ckeditor5/src/ui.js';import{icons as _0x4091e1}from'ckeditor5/src/core.js';import{getTranslation as _0x377df8}from'../../utils/common-translations.js';import _0x2b7401 from'../../../theme/icons/submit.svg';export default class ht extends _0x1a9739{constructor(_0x5707b4,_0xdb40a8){const _0x4a9abf=_0x4501;super(_0x5707b4,_0xdb40a8),this[_0x4a9abf(0x185)][_0x4a9abf(0x162)][_0x4a9abf(0x155)]=0x1,this[_0x4a9abf(0x185)][_0x4a9abf(0x162)][_0x4a9abf(0x17b)]=0x3,this[_0x4a9abf(0x169)]=this[_0x4a9abf(0x158)](),this[_0x4a9abf(0x166)]=this[_0x4a9abf(0x174)](),this[_0x4a9abf(0x151)][_0x4a9abf(0x178)](this[_0x4a9abf(0x166)],0x1),this[_0x4a9abf(0x151)][_0x4a9abf(0x178)](this[_0x4a9abf(0x169)]);}[_0x450a4e(0x16d)](){const _0x32521c=_0x450a4e;super[_0x32521c(0x16d)](),this[_0x32521c(0x185)][_0x32521c(0x15b)][_0x32521c(0x178)](this[_0x32521c(0x166)]),this[_0x32521c(0x167)][_0x32521c(0x178)](this[_0x32521c(0x169)]),this[_0x32521c(0x172)][_0x32521c(0x181)](_0x32521c(0x177),(_0x1b1335,_0x496dc9)=>{const _0x16a1b1=_0x32521c;_0x1b1335[_0x16a1b1(0x175)]==this[_0x16a1b1(0x185)][_0x16a1b1(0x162)][_0x16a1b1(0x14d)]&&(this[_0x16a1b1(0x153)](),_0x496dc9());});}[_0x450a4e(0x158)](){const _0x33371c=_0x450a4e,_0x52daee=new _0x71e07f(this[_0x33371c(0x15a)]),_0x176efa=this[_0x33371c(0x15a)];return _0x52daee[_0x33371c(0x181)]({'icon':_0x2b7401,'label':_0x377df8(_0x176efa,_0x33371c(0x165)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x33371c(0x173)}),_0x52daee['on'](_0x33371c(0x183),()=>{const _0x54c661=_0x33371c;this[_0x54c661(0x153)]();}),_0x52daee[_0x33371c(0x17e)](_0x33371c(0x16c))['to'](this[_0x33371c(0x185)][_0x33371c(0x162)],_0x33371c(0x15c),this,_0x33371c(0x16c),(_0x35ddda,_0x1ca143)=>!_0x35ddda&&_0x1ca143),_0x52daee;}[_0x450a4e(0x174)](){const _0x987854=_0x450a4e,_0x3f87b8=new _0x71e07f(this[_0x987854(0x15a)]),_0x136c4f=this[_0x987854(0x16f)],_0x3352d7=this[_0x987854(0x15a)];_0x3f87b8[_0x987854(0x181)]({'label':_0x377df8(_0x3352d7,_0x987854(0x15f)),'withText':!0x1,'icon':_0x4091e1[_0x987854(0x171)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x987854(0x156)}),_0x3f87b8[_0x987854(0x17e)](_0x987854(0x14e))['to'](_0x136c4f,_0x987854(0x164)),_0x3f87b8[_0x987854(0x17e)](_0x987854(0x16c))['to'](this,_0x987854(0x16c)),_0x3f87b8['on'](_0x987854(0x183),()=>{const _0x168404=_0x987854;_0x136c4f[_0x168404(0x164)]=!_0x136c4f[_0x168404(0x164)],_0x136c4f[_0x168404(0x164)]?this[_0x168404(0x168)][_0x168404(0x180)]():this[_0x168404(0x180)]();});const _0x457362=()=>{const _0x827ec4=_0x987854;_0x4c2bfa[_0x827ec4(0x15e)][_0x827ec4(0x16e)](()=>{const _0x20b9ec=_0x827ec4;if(_0x465873(this[_0x20b9ec(0x14d)])){const _0x28f7f1=new _0x341be4(this[_0x20b9ec(0x185)][_0x20b9ec(0x162)][_0x20b9ec(0x14d)]),_0x543d50=_0x28f7f1[_0x20b9ec(0x14f)],_0x24828b=_0x20b9ec(0x159)===_0x3352d7[_0x20b9ec(0x17d)]?_0x20b9ec(0x157):_0x20b9ec(0x170);_0x28f7f1[_0x20b9ec(0x15d)](),_0x3f87b8[_0x20b9ec(0x14d)][_0x20b9ec(0x17c)][_0x24828b]=_0x543d50-_0x28f7f1[_0x20b9ec(0x14f)]+0x1+'px';}});};return this[_0x987854(0x185)][_0x987854(0x162)]['on'](_0x987854(0x16a),_0x457362),this['on'](_0x987854(0x16d),_0x457362),_0x3f87b8;}[_0x450a4e(0x153)](){const _0x59084c=_0x450a4e,_0x25579e=this[_0x59084c(0x185)][_0x59084c(0x162)][_0x59084c(0x14d)][_0x59084c(0x184)];this[_0x59084c(0x182)](_0x59084c(0x153),_0x25579e);}[_0x450a4e(0x180)](_0x355859){const _0x4e08a1=_0x450a4e;-0x1===_0x355859?this[_0x4e08a1(0x17f)][_0x4e08a1(0x150)]():this[_0x4e08a1(0x17f)][_0x4e08a1(0x176)]();}}
|