@ckeditor/ckeditor5-ai 45.0.0-alpha.2 → 45.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1aa4aa=_0x1a0d;(function(_0x867eed,_0x4bcca3){const _0x106136=_0x1a0d,_0x33b732=_0x867eed();while(!![]){try{const _0x23f964=-parseInt(_0x106136(0x213))/0x1+parseInt(_0x106136(0x23d))/0x2*(-parseInt(_0x106136(0x1f7))/0x3)+parseInt(_0x106136(0x230))/0x4+-parseInt(_0x106136(0x248))/0x5+parseInt(_0x106136(0x21c))/0x6+-parseInt(_0x106136(0x259))/0x7*(-parseInt(_0x106136(0x247))/0x8)+-parseInt(_0x106136(0x216))/0x9;if(_0x23f964===_0x4bcca3)break;else _0x33b732['push'](_0x33b732['shift']());}catch(_0x3255cf){_0x33b732['push'](_0x33b732['shift']());}}}(_0x1ec3,0x8411b));import{Plugin as _0x37508c}from'ckeditor5/src/core.js';import _0x3d95f6 from'./aiassistantui.js';import _0x133f8b from'./aiassistantediting.js';import{getTranslation as _0x17b4aa}from'./utils/common-translations.js';function _0x1a0d(_0x5c3b64,_0xacff1e){const _0x1ec381=_0x1ec3();return _0x1a0d=function(_0x1a0d18,_0x2269c8){_0x1a0d18=_0x1a0d18-0x1f2;let _0x10fb9c=_0x1ec381[_0x1a0d18];return _0x10fb9c;},_0x1a0d(_0x5c3b64,_0xacff1e);}import{normalizeCommandsConfig as _0x1e3a6b}from'./utils/normalizecommandsconfig.js';function _0x1ec3(){const _0x8b75d4=['translatePortuguese','Change\x20tone','Make\x20longer','translateSpanish','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','groupId','AIAssistant','Continue','2344PRDXFd','44925pRWgjb','casual','config','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','translateEnglish','filter','Professional','requires','professional','Portuguese','confident','Legal','isPremiumPlugin','get','isOfficialPlugin','friendly','23681zgpYhp','push','Direct','pluginName','English','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Friendly','ai.aiAssistant.removeCommands','Poetic','ai.aiAssistant.preserveComments','set','Translate\x20the\x20content\x20to\x20English\x20language.','12zFsJjF','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','legal','Summarize','locale','business','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','direct','find','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','includes','translateGerman','define','Translate\x20the\x20content\x20to\x20French\x20language.','journalism','French','improveWriting','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Improve\x20writing','Generate\x20from\x20selection','makeShorter','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','concat','Translate','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','commands','forEach','253397euaQUu','Confident','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','2692071hTRgPX','translateFrench','Simplify\x20language','German','Make\x20shorter','changeStyle','2812992YOEDQy','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','generate','ai.aiAssistant.extraCommandGroups','Business','translateArabic','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','translate','Simplified\x20Chinese','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','makeLonger','simplifyLanguage','ai.aiAssistant.commands','translateHindi','changeTone','Arabic','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','432948QnYGQn','poetic','editOrReview','Journalism','Edit\x20or\x20review','Spanish','translateChinese','Casual','Change\x20style','Hindi','continue','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','summarize','232916LwhLJv','Translate\x20the\x20content\x20to\x20German\x20language.'];_0x1ec3=function(){return _0x8b75d4;};return _0x1ec3();}export default class r extends _0x37508c{static get[_0x1aa4aa(0x250)](){return[_0x3d95f6,_0x133f8b];}static get[_0x1aa4aa(0x25c)](){const _0x2383f1=_0x1aa4aa;return _0x2383f1(0x245);}static get[_0x1aa4aa(0x257)](){return!0x0;}static get[_0x1aa4aa(0x255)](){return!0x0;}constructor(_0x592275){const _0x352c6c=_0x1aa4aa;super(_0x592275);const _0xa27f14=_0x592275[_0x352c6c(0x24a)],_0x1eece0=_0x592275[_0x352c6c(0x1fb)];_0xa27f14[_0x352c6c(0x203)](_0x352c6c(0x1f4),!0x0),_0xa27f14[_0x352c6c(0x203)](_0x352c6c(0x22a),getDefaultCommands(_0x1eece0)),_0xa27f14[_0x352c6c(0x203)](_0x352c6c(0x220),[]),_0xa27f14[_0x352c6c(0x203)](_0x352c6c(0x1f2),[]);let _0x466435=_0x1e3a6b(_0xa27f14[_0x352c6c(0x256)](_0x352c6c(0x22a)),_0x1eece0);const _0x449934=_0xa27f14[_0x352c6c(0x256)](_0x352c6c(0x220)),_0x5e3262=_0xa27f14[_0x352c6c(0x256)](_0x352c6c(0x1f2));_0x449934[_0x352c6c(0x212)](_0x569849=>{const _0x2363eb=_0x352c6c,_0x26c6bc=_0x466435[_0x2363eb(0x1ff)](_0x4d2fcc=>_0x4d2fcc[_0x2363eb(0x244)]===_0x569849[_0x2363eb(0x244)]);_0x26c6bc?_0x26c6bc[_0x2363eb(0x211)]=_0x26c6bc[_0x2363eb(0x211)][_0x2363eb(0x20e)](_0x569849[_0x2363eb(0x211)]):_0x466435[_0x2363eb(0x25a)](_0x569849);}),_0x466435=_0x466435[_0x352c6c(0x24e)](_0x1a6c39=>!_0x5e3262[_0x352c6c(0x201)](_0x1a6c39[_0x352c6c(0x244)])),_0x466435[_0x352c6c(0x212)](_0x15e849=>{const _0xa45690=_0x352c6c;_0x15e849[_0xa45690(0x211)]=_0x15e849[_0xa45690(0x211)][_0xa45690(0x24e)](_0xd61dc0=>!_0x5e3262[_0xa45690(0x201)](_0xd61dc0['id']));}),_0xa27f14[_0x352c6c(0x1f5)](_0x352c6c(0x22a),_0x466435);}}export function getDefaultCommands(_0x159f13){const _0x4dd30b=_0x1aa4aa;return[{'groupId':_0x4dd30b(0x232),'groupLabel':_0x17b4aa(_0x159f13,_0x4dd30b(0x234)),'commands':[{'id':_0x4dd30b(0x207),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x209)),'prompt':_0x4dd30b(0x200)},{'id':_0x4dd30b(0x20b),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x21a)),'prompt':_0x4dd30b(0x25e)},{'id':_0x4dd30b(0x228),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x241)),'prompt':_0x4dd30b(0x208)},{'id':_0x4dd30b(0x229),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x218)),'prompt':_0x4dd30b(0x1fd)}]},{'groupId':_0x4dd30b(0x21f),'groupLabel':_0x17b4aa(_0x159f13,_0x4dd30b(0x20a)),'commands':[{'id':_0x4dd30b(0x23c),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x1fa)),'prompt':_0x4dd30b(0x23b)},{'id':_0x4dd30b(0x23a),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x246)),'prompt':_0x4dd30b(0x223)}]},{'groupId':_0x4dd30b(0x22c),'groupLabel':_0x17b4aa(_0x159f13,_0x4dd30b(0x240)),'commands':[{'id':_0x4dd30b(0x251),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x24f)),'prompt':_0x4dd30b(0x20d)},{'id':_0x4dd30b(0x249),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x237)),'prompt':_0x4dd30b(0x243)},{'id':_0x4dd30b(0x1fe),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x25b)),'prompt':_0x4dd30b(0x215)},{'id':_0x4dd30b(0x253),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x214)),'prompt':_0x4dd30b(0x21e)},{'id':_0x4dd30b(0x258),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x25f)),'prompt':_0x4dd30b(0x226)}]},{'groupId':_0x4dd30b(0x21b),'groupLabel':_0x17b4aa(_0x159f13,_0x4dd30b(0x238)),'commands':[{'id':_0x4dd30b(0x1fc),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x221)),'prompt':_0x4dd30b(0x22e)},{'id':_0x4dd30b(0x1f9),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x254)),'prompt':_0x4dd30b(0x21d)},{'id':_0x4dd30b(0x205),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x233)),'prompt':_0x4dd30b(0x1f8)},{'id':_0x4dd30b(0x231),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x1f3)),'prompt':_0x4dd30b(0x227)}]},{'groupId':_0x4dd30b(0x224),'groupLabel':_0x17b4aa(_0x159f13,_0x4dd30b(0x20f)),'commands':[{'id':_0x4dd30b(0x24d),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x25d)),'prompt':_0x4dd30b(0x1f6)},{'id':_0x4dd30b(0x242),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x235)),'prompt':_0x4dd30b(0x24b)},{'id':_0x4dd30b(0x23f),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x252)),'prompt':_0x4dd30b(0x20c)},{'id':_0x4dd30b(0x202),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x219)),'prompt':_0x4dd30b(0x23e)},{'id':_0x4dd30b(0x217),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x206)),'prompt':_0x4dd30b(0x204)},{'id':_0x4dd30b(0x236),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x225)),'prompt':_0x4dd30b(0x210)},{'id':_0x4dd30b(0x22b),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x239)),'prompt':_0x4dd30b(0x22f)},{'id':_0x4dd30b(0x222),'label':_0x17b4aa(_0x159f13,_0x4dd30b(0x22d)),'prompt':_0x4dd30b(0x24c)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x13b7ea=_0x1af9;function _0x1ffe(){const _0x6d168a=['AIAssistantEditing','model','updateMarker','get','from','first','568866DIwepd','getRowIndexes','afterInit','removeMarker','href','conversion','getMarkersGroup','100876uchBCl','getColumnIndexes','ai-ui','insertRows','document','getChildren','lowest','start','ck-ai-assistant-ui_theme','fire','parse','17650809pkfbrI','text/html','_pasteHTMLUsingClipboard','off','forEach','ck-fake-ai-selection_collapsed','markerToElement','setData','paste','length','for','hideFakeVisualSelection','2VkTTAY','getRanges','266877QoUywq','table','ck-fake-ai-selection','join','_getTableRowCountFromContent','getLastMatchingPosition','resultRange','getRange','editingDowncast','4204210oaHfpk','plugins','_getAISelection','init','ai.useTheme','insertContent','pop','once','push','isOfficialPlugin','markerRange','isCollapsed','schema','editing','45WSznMa','insertContentBelow','getChild','createSelection','getLastPosition','markers','_getDefaultInsertBelowPosition','end','element','config','getSelectedTableCells','addClass','getRows','change','TableUtils','contentInsertion','isPremiumPlugin','deleteContent','createPositionAt','has','createUIElement','markerToHighlight','canEditAt','filter','_resetContentOfSelectedTableCells','editor','addMarker','pluginName','176kLZoIp','getFirstRange','DataTransfer','isContent','fromCharCode','showFakeVisualSelection','createPositionAfter','selection','2788748Yimpkq','3UIWBKV','setSelection','3597706zmWTiq','_createEmptyTableRows','last','span','isAtEnd','getSelectedBlocks','map','_prepareTableInsertBelowPosition','findAncestor','createRange','data'];_0x1ffe=function(){return _0x6d168a;};return _0x1ffe();}(function(_0x5ef17e,_0x45a192){const _0x86f392=_0x1af9,_0x4c3132=_0x5ef17e();while(!![]){try{const _0x34c96f=-parseInt(_0x86f392(0x191))/0x1*(-parseInt(_0x86f392(0x17a))/0x2)+parseInt(_0x86f392(0x1cf))/0x3*(-parseInt(_0x86f392(0x1ce))/0x4)+parseInt(_0x86f392(0x1aa))/0x5*(-parseInt(_0x86f392(0x173))/0x6)+parseInt(_0x86f392(0x1d1))/0x7+parseInt(_0x86f392(0x1c6))/0x8*(-parseInt(_0x86f392(0x193))/0x9)+parseInt(_0x86f392(0x19c))/0xa+parseInt(_0x86f392(0x185))/0xb;if(_0x34c96f===_0x45a192)break;else _0x4c3132['push'](_0x4c3132['shift']());}catch(_0x225976){_0x4c3132['push'](_0x4c3132['shift']());}}}(_0x1ffe,0x6ab1e));import{uid as _0x1e2513}from'ckeditor5/src/utils.js';import{Plugin as _0x3f36b1}from'ckeditor5/src/core.js';function _0x1af9(_0x4eec69,_0x214492){const _0x1ffe3f=_0x1ffe();return _0x1af9=function(_0x1af942,_0xc35d47){_0x1af942=_0x1af942-0x16a;let _0x2790b6=_0x1ffe3f[_0x1af942];return _0x2790b6;},_0x1af9(_0x4eec69,_0x214492);}import{ClipboardPipeline as _0xc4123e}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x27ca5e,DataTransfer as _0x1c6167}from'ckeditor5/src/engine.js';const w=globalThis[_0x13b7ea(0x1c8)],f=_0x13b7ea(0x17c);export default class a extends _0x3f36b1{static get[_0x13b7ea(0x1c5)](){const _0x20ca12=_0x13b7ea;return _0x20ca12(0x16d);}static get[_0x13b7ea(0x1a5)](){return!0x0;}static get[_0x13b7ea(0x1ba)](){return!0x0;}[_0x13b7ea(0x19f)](){const _0x2a5910=_0x13b7ea,{editor:_0x7abc52}=this,_0x933736=[_0x2a5910(0x195)];_0x7abc52[_0x2a5910(0x1b3)][_0x2a5910(0x170)](_0x2a5910(0x1a0))&&_0x933736[_0x2a5910(0x1a4)](_0x2a5910(0x182)),_0x7abc52[_0x2a5910(0x178)][_0x2a5910(0x18f)](_0x2a5910(0x19b))[_0x2a5910(0x1bf)]({'model':f,'view':{'classes':_0x933736,'priority':0xc}}),_0x7abc52[_0x2a5910(0x178)][_0x2a5910(0x18f)](_0x2a5910(0x19b))[_0x2a5910(0x18b)]({'model':f,'view':(_0x2d0b68,{writer:_0x4bae36})=>{const _0x2bd766=_0x2a5910;if(!_0x2d0b68[_0x2bd766(0x1a6)][_0x2bd766(0x1a7)])return null;const _0x3dc505=_0x4bae36[_0x2bd766(0x1be)](_0x2bd766(0x1d4));return _0x4bae36[_0x2bd766(0x1b5)]([_0x2bd766(0x195),_0x2bd766(0x18a)],_0x3dc505),_0x3dc505;}});}[_0x13b7ea(0x175)](){!async function(_0x40e8fe){const _0x44a862=_0x51296b([0x4b,0x64,0x7a,0x30,0x35,0x54,0x45,0x66,0x4d,0x74,0x75,0x49,0x44,0x61,0x69,0x48,0x52,0x47,0x50,0x65,0x51,0x71,0x79,0x77,0x67,0x5a,0x6d,0x68,0x62,0x73,0x31,0x39,0x6a,0x6b,0x4a,0x33,0x6e,0x53,0x6f,0x56,0x46,0x59,0x36,0x43,0x4f,0x41,0x63,0x37,0x34,0x4c,0x76,0x72,0x32,0x70,0x78,0x38,0x55,0x42,0x58,0x6c,0x4e,0x57]),_0x2826b5=0x4805dd58,_0x5c15d3=0x4802be30^_0x2826b5,_0x3a24b5=window[_0x51296b([0x44,0x61,0x74,0x65])][_0x51296b([0x6e,0x6f,0x77])](),_0x23cde6=_0x40e8fe[_0x51296b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25e8d0=new window[(_0x51296b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ce344=>{_0x23cde6[_0x51296b([0x6f,0x6e,0x63,0x65])](_0x51296b([0x72,0x65,0x61,0x64,0x79]),_0x5ce344);}),_0x1a6b3={[_0x51296b([0x6b,0x74,0x79])]:_0x51296b([0x45,0x43]),[_0x51296b([0x75,0x73,0x65])]:_0x51296b([0x73,0x69,0x67]),[_0x51296b([0x63,0x72,0x76])]:_0x51296b([0x50,0x2d,0x32,0x35,0x36]),[_0x51296b([0x78])]:_0x51296b([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]),[_0x51296b([0x79])]:_0x51296b([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]),[_0x51296b([0x61,0x6c,0x67])]:_0x51296b([0x45,0x53,0x32,0x35,0x36])},_0x30c016=_0x23cde6[_0x51296b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51296b([0x67,0x65,0x74])](_0x51296b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x570d3b(){let _0x566494,_0x19fa9c=null,_0x13019a=null;try{if(_0x30c016==_0x51296b([0x47,0x50,0x4c]))return _0x51296b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x566494=_0x11f931(),!_0x566494)return _0x51296b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x566494[_0x51296b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13019a=_0x7c28bd(_0x566494[_0x51296b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x566494[_0x51296b([0x6a,0x74,0x69])])),await _0x16520c()?_0x37ead6()?_0x5928c1()?_0x51296b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe4d329()?(_0x566494[_0x51296b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51296b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19fa9c=_0x2c41c1(_0x51296b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x566494[_0x51296b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51296b([0x74,0x72,0x69,0x61,0x6c])&&(_0x19fa9c=_0x2c41c1(_0x51296b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb62bc0()):_0x51296b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51296b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51296b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5c09bd){return _0x51296b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5928c1(){const _0x488bb7=[_0x51296b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51296b([0x74,0x72,0x69,0x61,0x6c])][_0x51296b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x566494[_0x51296b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a24b5/0x3e8:0xe10*_0x5c15d3;return _0x566494[_0x51296b([0x65,0x78,0x70])]<_0x488bb7;}function _0x37ead6(){const _0x3ddb29=_0x566494[_0x51296b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ddb29&&(!!_0x3ddb29[_0x51296b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51296b([0x2a]))||!!_0x3ddb29[_0x51296b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51296b([0x41,0x49])));}function _0xe4d329(){const _0x2a97ca=_0x1af9,_0x238511=_0x566494[_0x51296b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x238511||0x0==_0x238511[_0x51296b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b5150}=new URL(window[_0x51296b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2a97ca(0x177)]);if(_0x238511[_0x51296b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b5150))return!0x0;const _0x33f12f=_0x5b5150[_0x51296b([0x73,0x70,0x6c,0x69,0x74])](_0x51296b([0x2e]));return _0x238511[_0x51296b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e2505=>_0x4e2505[_0x51296b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51296b([0x2a])))[_0x51296b([0x6d,0x61,0x70])](_0x1bb86a=>_0x1bb86a[_0x51296b([0x73,0x70,0x6c,0x69,0x74])](_0x51296b([0x2e])))[_0x51296b([0x73,0x6f,0x6d,0x65])](_0x5a72df=>_0x33f12f[_0x51296b([0x65,0x76,0x65,0x72,0x79])]((_0x567f52,_0x1e9403)=>_0x5a72df[_0x1e9403]===_0x567f52||_0x5a72df[_0x1e9403]===_0x51296b([0x2a])));}function _0xb62bc0(){return _0x19fa9c&&_0x13019a?new window[(_0x51296b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x347fcc,_0x2815b0)=>{_0x19fa9c[_0x51296b([0x74,0x68,0x65,0x6e])](_0x347fcc,_0x2815b0),_0x13019a[_0x51296b([0x74,0x68,0x65,0x6e])](_0x5f01f7=>{_0x5f01f7!=_0x51296b([0x56,0x61,0x6c,0x69,0x64])&&_0x347fcc(_0x5f01f7);},_0x2815b0);}):_0x19fa9c||_0x13019a||_0x51296b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x7c28bd(_0x38b7a2,_0x22267b){return new window[(_0x51296b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58b9aa=>{if(_0x107cd4())return _0x58b9aa(_0x51296b([0x56,0x61,0x6c,0x69,0x64]));_0x477244(),_0x23cde6[_0x51296b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51296b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18842b=!0x1;const _0x9d6de0=_0x1e2513();function _0x5d61d0(_0x215699){return!!_0x215699&&(typeof _0x215699===_0x51296b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x215699===_0x51296b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x215699[_0x51296b([0x74,0x68,0x65,0x6e])]===_0x51296b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x215699[_0x51296b([0x63,0x61,0x74,0x63,0x68])]===_0x51296b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ade07(_0x2de511){_0x5415bc(_0x2de511)[_0x51296b([0x74,0x68,0x65,0x6e])](_0x37da09=>{if(!_0x37da09||_0x37da09[_0x51296b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51296b([0x6f,0x6b]))return _0x51296b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42e094(_0x20a82b(_0x9d6de0+_0x22267b))!=_0x37da09[_0x51296b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51296b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51296b([0x56,0x61,0x6c,0x69,0x64]);})[_0x51296b([0x74,0x68,0x65,0x6e])](_0x5183f5=>(_0x2ea95e(),_0x5183f5),()=>{const _0x54330d=_0x393d0f();return null==_0x54330d?(_0x2ea95e(),_0x51296b([0x56,0x61,0x6c,0x69,0x64])):_0x51296b(_0x3a24b5-_0x54330d>(0x6c095958^_0x2826b5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51296b([0x74,0x68,0x65,0x6e])](_0x58b9aa)[_0x51296b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58b9aa(_0x51296b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49e48b=0x483333d8^_0x2826b5;function _0x2ea95e(){const _0x370c60=_0x51296b([0x6c,0x6c,0x63,0x74,0x2d])+_0x42e094(_0x20a82b(_0x38b7a2)),_0x36fba6=_0x1d9f49(_0x42e094(window[_0x51296b([0x4d,0x61,0x74,0x68])][_0x51296b([0x63,0x65,0x69,0x6c])](_0x3a24b5/_0x49e48b)));window[_0x51296b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51296b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x370c60,_0x36fba6);}function _0x393d0f(){const _0x260ef2=_0x51296b([0x6c,0x6c,0x63,0x74,0x2d])+_0x42e094(_0x20a82b(_0x38b7a2)),_0x5c8e73=window[_0x51296b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51296b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x260ef2);return _0x5c8e73?window[_0x51296b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d9f49(_0x5c8e73),0x10)*_0x49e48b:null;}function _0x5415bc(_0x2c2dba){return new window[(_0x51296b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40b339,_0x28a26d)=>{_0x2c2dba[_0x51296b([0x74,0x68,0x65,0x6e])](_0x40b339,_0x28a26d),window[_0x51296b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28a26d,0x48040998^_0x2826b5);});}}_0x23cde6[_0x51296b([0x6f,0x6e])](_0x51296b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x7b657e,_0x496aa5)=>{if(_0x496aa5[0x0]!=_0x38b7a2)return _0x58b9aa(_0x51296b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x496aa5[0x1]={..._0x496aa5[0x1],[_0x51296b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9d6de0};},{[_0x51296b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51296b([0x68,0x69,0x67,0x68])}),_0x23cde6[_0x51296b([0x6f,0x6e])](_0x51296b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50bdd0=>{_0x5d61d0(_0x50bdd0[_0x51296b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18842b=!0x0,_0x5ade07(_0x50bdd0[_0x51296b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51296b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51296b([0x6c,0x6f,0x77])}),_0x25e8d0[_0x51296b([0x74,0x68,0x65,0x6e])](()=>{_0x18842b||_0x58b9aa(_0x51296b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x107cd4(){return _0x23cde6[_0x51296b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51296b([0x76,0x69,0x65,0x77])][_0x51296b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51296b([0x61,0x75,0x74,0x6f]);}function _0x477244(){_0x23cde6[_0x51296b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51296b([0x76,0x69,0x65,0x77])][_0x51296b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51296b([0x61,0x75,0x74,0x6f]);}}function _0x2c41c1(_0xca1830){const _0x1cf8bb=[new window[(_0x51296b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c4eaf=>setTimeout(_0x1c4eaf,0x480ce394^_0x2826b5)),_0x25e8d0[_0x51296b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51296b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38ba19=>{let _0x4f4052=0x0;_0x23cde6[_0x51296b([0x6d,0x6f,0x64,0x65,0x6c])][_0x51296b([0x6f,0x6e])](_0x51296b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54f15f,_0x5ead79)=>{_0x5ead79[0x0][_0x51296b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f4052++,_0x4f4052==(0x4805dca0^_0x2826b5)&&(_0x38ba19(),_0x54f15f[_0x51296b([0x6f,0x66,0x66])]());});}))];return window[_0x51296b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51296b([0x72,0x61,0x63,0x65])](_0x1cf8bb)[_0x51296b([0x74,0x68,0x65,0x6e])](()=>_0xca1830);}async function _0x10ba6a(){await _0x25e8d0,_0x23cde6[_0x51296b([0x6d,0x6f,0x64,0x65,0x6c])][_0x51296b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1de122,_0x23cde6[_0x51296b([0x6d,0x6f,0x64,0x65,0x6c])][_0x51296b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1de122,_0x23cde6[_0x51296b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51296b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc749a(_0x2c8b9d){const _0x19c2f1=_0x19f408();_0x23cde6[_0x19c2f1]=_0x51296b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c8b9d,_0x2c8b9d!=_0x51296b([0x56,0x61,0x6c,0x69,0x64])&&_0x10ba6a();}function _0x19f408(){const _0x1fac6e=window[_0x51296b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51296b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51296b([0x6e,0x6f,0x77])]())[_0x51296b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51296b([0x2e]),'');let _0x45eac9=_0x51296b([0x4b]);for(let _0x29d79e=0x0;_0x29d79e<_0x1fac6e[_0x51296b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29d79e+=0x2){let _0x59081f=window[_0x51296b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fac6e[_0x51296b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29d79e,_0x29d79e+0x2));_0x59081f>=_0x44a862[_0x51296b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59081f-=_0x44a862[_0x51296b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45eac9+=_0x44a862[_0x59081f];}return _0x45eac9;}function _0x11f931(){const _0xe57b86=_0x30c016[_0x51296b([0x73,0x70,0x6c,0x69,0x74])](_0x51296b([0x2e]));if(0x3!=_0xe57b86[_0x51296b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x428d92(_0xe57b86[0x1]);function _0x428d92(_0xb2ae64){const _0x583a27=_0x13d181(_0xb2ae64);return _0x583a27&&_0x2f5709()?_0x583a27:null;function _0x2f5709(){const _0x580660=_0x583a27[_0x51296b([0x6a,0x74,0x69])],_0xa9e248=window[_0x51296b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x580660[_0x51296b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x580660[_0x51296b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x28af31={..._0x583a27,[_0x51296b([0x6a,0x74,0x69])]:_0x580660[_0x51296b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x580660[_0x51296b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x28af31[_0x51296b([0x76,0x63])],_0x20a82b(_0x28af31)==_0xa9e248;}}}async function _0x16520c(){let _0xf8027e=!0x0;try{const _0x241c64=_0x30c016[_0x51296b([0x73,0x70,0x6c,0x69,0x74])](_0x51296b([0x2e])),[_0x565dc2,_0x2c61af,_0x408f3f]=_0x241c64;return _0x1622a3(_0x565dc2),await _0x1c5a39(_0x565dc2,_0x2c61af,_0x408f3f),_0xf8027e;}catch(_0x254e92){return!0x1;}function _0x1622a3(_0x1fa35d){const _0x387e7a=_0x13d181(_0x1fa35d);_0x387e7a&&_0x387e7a[_0x51296b([0x61,0x6c,0x67])]==_0x51296b([0x45,0x53,0x32,0x35,0x36])||(_0xf8027e=!0x1);}async function _0x1c5a39(_0x19ad11,_0xfeaca,_0x2b27d0){const _0x3845b3=window[_0x51296b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51296b([0x66,0x72,0x6f,0x6d])](_0x3f6f87(_0x2b27d0),_0x26fd89=>_0x26fd89[_0x51296b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x191bd=new window[(_0x51296b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51296b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19ad11+_0x51296b([0x2e])+_0xfeaca),_0xcb3369=window[_0x51296b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51296b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xcb3369)return;const _0x5aa0d7=await _0xcb3369[_0x51296b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51296b([0x6a,0x77,0x6b]),_0x1a6b3,{[_0x51296b([0x6e,0x61,0x6d,0x65])]:_0x51296b([0x45,0x43,0x44,0x53,0x41]),[_0x51296b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51296b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51296b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xcb3369[_0x51296b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51296b([0x6e,0x61,0x6d,0x65])]:_0x51296b([0x45,0x43,0x44,0x53,0x41]),[_0x51296b([0x68,0x61,0x73,0x68])]:{[_0x51296b([0x6e,0x61,0x6d,0x65])]:_0x51296b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5aa0d7,_0x3845b3,_0x191bd)||(_0xf8027e=!0x1);}}function _0x13d181(_0x867cd5){return _0x867cd5[_0x51296b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51296b([0x65,0x79]))?JSON[_0x51296b([0x70,0x61,0x72,0x73,0x65])](_0x3f6f87(_0x867cd5)):null;}function _0x3f6f87(_0x35e863){return window[_0x51296b([0x61,0x74,0x6f,0x62])](_0x35e863[_0x51296b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51296b([0x2b]))[_0x51296b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51296b([0x2f])));}function _0x20a82b(_0x10b011){let _0x261411=0x1505;function _0x4a2e2e(_0x510036){for(let _0x12e2d4=0x0;_0x12e2d4<_0x510036[_0x51296b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12e2d4++){const _0x3fc2d4=_0x510036[_0x51296b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12e2d4);_0x261411=(_0x261411<<0x5)+_0x261411+_0x3fc2d4,_0x261411&=_0x261411;}}function _0x301ccf(_0x48c344){Array[_0x51296b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48c344)?_0x48c344[_0x51296b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x301ccf):_0x48c344&&typeof _0x48c344==_0x51296b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51296b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48c344)[_0x51296b([0x73,0x6f,0x72,0x74])]()[_0x51296b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x348220,_0x18cb74])=>{_0x4a2e2e(_0x348220),_0x301ccf(_0x18cb74);}):_0x4a2e2e(window[_0x51296b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48c344));}return _0x301ccf(_0x10b011),_0x261411>>>0x0;}function _0x42e094(_0x287d7b){return _0x287d7b[_0x51296b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51296b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51296b([0x30]));}function _0x1d9f49(_0x188659){return _0x188659[_0x51296b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51296b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51296b([0x6a,0x6f,0x69,0x6e])]('');}function _0x1de122(){}function _0x51296b(_0x5aa7a0){const _0xc82651=_0x1af9;return _0x5aa7a0[_0xc82651(0x1d7)](_0x250773=>String[_0xc82651(0x1ca)](_0x250773))[_0xc82651(0x196)]('');}_0xc749a(await _0x570d3b());}(this);}[_0x13b7ea(0x1cb)](){const _0x38206f=_0x13b7ea,_0x140e9d=this[_0x38206f(0x1c3)][_0x38206f(0x16e)];_0x140e9d[_0x38206f(0x1b7)](_0x242ff0=>{const _0x23aa17=_0x38206f,_0x3cb4c3=_0x140e9d[_0x23aa17(0x17e)][_0x23aa17(0x1cd)][_0x23aa17(0x192)]();let _0x5d8772=0x0;for(const _0x39989d of _0x3cb4c3){const _0x3652b7=f+':'+_0x5d8772;if(_0x140e9d[_0x23aa17(0x1af)][_0x23aa17(0x1bd)](_0x3652b7))_0x242ff0[_0x23aa17(0x16f)](_0x3652b7,{'range':_0x39989d});else{if(_0x39989d[_0x23aa17(0x181)][_0x23aa17(0x1d5)]){const _0x32f847=_0x39989d[_0x23aa17(0x181)][_0x23aa17(0x198)](({item:_0x325f67})=>!_0x140e9d[_0x23aa17(0x1a8)][_0x23aa17(0x1c9)](_0x325f67),{'boundaries':_0x39989d});_0x242ff0[_0x23aa17(0x1c4)](_0x3652b7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x242ff0[_0x23aa17(0x16b)](_0x32f847,_0x39989d[_0x23aa17(0x1b1)])});}else _0x242ff0[_0x23aa17(0x1c4)](_0x3652b7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x39989d});}_0x5d8772++;}});}[_0x13b7ea(0x190)](){const _0x1a0bab=_0x13b7ea,_0x4a66f2=this[_0x1a0bab(0x1c3)][_0x1a0bab(0x16e)],_0x2ba17e=Array[_0x1a0bab(0x171)](this[_0x1a0bab(0x1c3)][_0x1a0bab(0x16e)][_0x1a0bab(0x1af)][_0x1a0bab(0x179)](f));_0x2ba17e[_0x1a0bab(0x18e)]&&_0x4a66f2[_0x1a0bab(0x1b7)](_0x5d1f5b=>{const _0x4d9079=_0x1a0bab;_0x2ba17e[_0x4d9079(0x189)](_0x371ebf=>{const _0x185b47=_0x4d9079;_0x5d1f5b[_0x185b47(0x176)](_0x371ebf);});});}[_0x13b7ea(0x1a1)](_0x589298,_0x5e4b38){const _0x3518ec=_0x13b7ea,_0x47a5e8=this[_0x3518ec(0x19e)](),_0x6deb56=_0x5e4b38||_0x47a5e8[_0x3518ec(0x1c7)]();this[_0x3518ec(0x1c3)][_0x3518ec(0x16e)][_0x3518ec(0x1c0)](_0x6deb56)&&this[_0x3518ec(0x1c3)][_0x3518ec(0x16e)][_0x3518ec(0x1b7)](_0x842b68=>{const _0x55e297=_0x3518ec;this[_0x55e297(0x190)](),_0x5e4b38||this[_0x55e297(0x1c2)](_0x842b68,_0x47a5e8),this[_0x55e297(0x187)]({'insertAt':_0x6deb56,'writer':_0x842b68,'html':_0x589298});});}[_0x13b7ea(0x1ab)](_0xcb7a02){const _0x49d42f=_0x13b7ea,{model:_0x17dd0c}=this[_0x49d42f(0x1c3)],_0x161227=this[_0x49d42f(0x19e)]();_0x17dd0c[_0x49d42f(0x1b7)](()=>{const _0x2a7b4e=_0x49d42f,_0x1efcaa=this[_0x2a7b4e(0x1d8)](_0xcb7a02,_0x161227)||this[_0x2a7b4e(0x1b0)](_0x161227);this[_0x2a7b4e(0x1a1)](_0xcb7a02,_0x1efcaa);});}[_0x13b7ea(0x19e)](){const _0x3082cd=_0x13b7ea,_0x56e090=this[_0x3082cd(0x1c3)][_0x3082cd(0x16e)],_0x228474=Array[_0x3082cd(0x171)](_0x56e090[_0x3082cd(0x1af)][_0x3082cd(0x179)](f))[_0x3082cd(0x1d7)](_0x3b232f=>_0x3b232f[_0x3082cd(0x19a)]());return _0x56e090[_0x3082cd(0x1ad)](_0x228474);}[_0x13b7ea(0x187)]({writer:_0x2add75,html:_0x19f3d6,insertAt:_0x28d0b7}){const _0x386720=_0x13b7ea,{view:_0x384a73}=this[_0x386720(0x1c3)][_0x386720(0x1a9)],_0x381155=this[_0x386720(0x1c3)][_0x386720(0x19d)][_0x386720(0x170)](_0xc4123e),_0x267dd7=new w();_0x267dd7[_0x386720(0x18c)](_0x386720(0x186),_0x19f3d6);const _0x3bfabd=new ClipboardEvent(_0x386720(0x18d),{'clipboardData':_0x267dd7}),_0x13692e=new _0x27ca5e(_0x384a73,_0x3bfabd,{'dataTransfer':new _0x1c6167(_0x267dd7)});_0x2add75[_0x386720(0x1d0)](_0x28d0b7);const _0x31b705=(_0xb3bd73,_0x484f52)=>{const _0x5825c4=_0x386720;_0x484f52[_0x5825c4(0x199)]&&_0x2add75[_0x5825c4(0x1d0)](_0x484f52[_0x5825c4(0x199)]);};_0x381155[_0x386720(0x1a3)](_0x386720(0x1b9),_0x31b705,{'priority':_0x386720(0x180)}),_0x384a73[_0x386720(0x17e)][_0x386720(0x183)](_0x386720(0x18d),_0x13692e),_0x381155[_0x386720(0x188)](_0x386720(0x1b9),_0x31b705);}[_0x13b7ea(0x1b0)](_0x855bb7){const _0x4174bd=_0x13b7ea,{model:_0x34a6db}=this[_0x4174bd(0x1c3)],_0x16191f=Array[_0x4174bd(0x171)](_0x855bb7[_0x4174bd(0x1d6)]());return _0x16191f[_0x4174bd(0x18e)]?_0x34a6db[_0x4174bd(0x1cc)](_0x16191f[_0x4174bd(0x1a2)]()):_0x855bb7[_0x4174bd(0x1ae)]();}[_0x13b7ea(0x1d8)](_0x1f3e72,_0x1e8f41){const _0x1ead31=_0x13b7ea,{model:_0x3c7f94,plugins:_0x43f41f}=this[_0x1ead31(0x1c3)];if(_0x43f41f[_0x1ead31(0x1bd)](_0x1ead31(0x1b8))){const _0xa8668e=_0x43f41f[_0x1ead31(0x170)](_0x1ead31(0x1b8))[_0x1ead31(0x1b4)](_0x1e8f41);if(_0xa8668e[_0x1ead31(0x18e)]){const _0x204c53=this[_0x1ead31(0x197)](_0x1f3e72),_0x3e4e29=this[_0x1ead31(0x1d2)](_0xa8668e,_0x204c53);return _0x3c7f94[_0x1ead31(0x1bc)](_0x3e4e29,0x0);}}return null;}[_0x13b7ea(0x197)](_0x20fd9e){const _0x3e0573=_0x13b7ea,_0x41c1e0=this[_0x3e0573(0x1c3)][_0x3e0573(0x19d)][_0x3e0573(0x170)](_0x3e0573(0x1b8)),_0x1ec82e=this[_0x3e0573(0x1c3)][_0x3e0573(0x16c)][_0x3e0573(0x184)](_0x20fd9e),_0x106f64=Array[_0x3e0573(0x171)](_0x1ec82e[_0x3e0573(0x17f)]())[_0x3e0573(0x1c1)](_0x5124d4=>_0x5124d4['is'](_0x3e0573(0x1b2),_0x3e0573(0x194)));let _0x5d1ff0=0x0;return _0x106f64[_0x3e0573(0x189)](_0x2f0f31=>{const _0x210b08=_0x3e0573;_0x5d1ff0+=_0x41c1e0[_0x210b08(0x1b6)](_0x2f0f31);}),_0x5d1ff0;}[_0x13b7ea(0x1d2)](_0x480f97,_0x4dfbd5){const _0x56a609=_0x13b7ea,_0x5833b=this[_0x56a609(0x1c3)][_0x56a609(0x19d)][_0x56a609(0x170)](_0x56a609(0x1b8)),_0x5686ff=_0x5833b[_0x56a609(0x174)](_0x480f97),_0xcc5243=_0x5833b[_0x56a609(0x17b)](_0x480f97),_0xc3ac14=_0x5686ff[_0x56a609(0x1d3)]+0x1,_0x380c6b=_0xcc5243[_0x56a609(0x172)],_0x57a923=_0x480f97[0x0][_0x56a609(0x16a)](_0x56a609(0x194));for(let _0x2acfc1=0x0;_0x2acfc1<_0x4dfbd5;_0x2acfc1++)_0x5833b[_0x56a609(0x17d)](_0x57a923,{'at':_0xc3ac14});return _0x57a923[_0x56a609(0x1ac)](_0xc3ac14)[_0x56a609(0x1ac)](_0x380c6b);}[_0x13b7ea(0x1c2)](_0x37c63f,_0x3295d6){const _0x5ea79e=_0x13b7ea,{plugins:_0x31ea07}=this[_0x5ea79e(0x1c3)],{model:_0x482663}=_0x37c63f;if(!_0x31ea07[_0x5ea79e(0x1bd)](_0x5ea79e(0x1b8)))return;_0x31ea07[_0x5ea79e(0x170)](_0x5ea79e(0x1b8))[_0x5ea79e(0x1b4)](_0x3295d6)[_0x5ea79e(0x18e)]&&_0x482663[_0x5ea79e(0x1bb)](_0x3295d6);}}
|
|
23
|
+
const _0x30bb76=_0x3e12;function _0x3e12(_0x516164,_0x581a46){const _0x47dd57=_0x47dd();return _0x3e12=function(_0x3e12aa,_0x19714e){_0x3e12aa=_0x3e12aa-0x96;let _0x402401=_0x47dd57[_0x3e12aa];return _0x402401;},_0x3e12(_0x516164,_0x581a46);}(function(_0x548927,_0x19d090){const _0x5aea05=_0x3e12,_0x8c9678=_0x548927();while(!![]){try{const _0x25d0c6=-parseInt(_0x5aea05(0xed))/0x1+-parseInt(_0x5aea05(0xb2))/0x2*(-parseInt(_0x5aea05(0xf6))/0x3)+-parseInt(_0x5aea05(0xea))/0x4+parseInt(_0x5aea05(0xf2))/0x5+parseInt(_0x5aea05(0xc4))/0x6+parseInt(_0x5aea05(0xb7))/0x7+-parseInt(_0x5aea05(0xc5))/0x8;if(_0x25d0c6===_0x19d090)break;else _0x8c9678['push'](_0x8c9678['shift']());}catch(_0x2f2715){_0x8c9678['push'](_0x8c9678['shift']());}}}(_0x47dd,0x87cf6));import{uid as _0x579f7d}from'ckeditor5/src/utils.js';import{Plugin as _0x36d38b}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4f2dbf}from'ckeditor5/src/clipboard.js';function _0x47dd(){const _0x2b5084=['_getDefaultInsertBelowPosition','setSelection','config','editingDowncast','first','plugins','get','addClass','getSelectedBlocks','getChild','_prepareTableInsertBelowPosition','insertContentBelow','markerToHighlight','createPositionAfter','conversion','105700bUyHrm','createSelection','getRowIndexes','592042oSSTNm','table','lowest','getChildren','resultRange','4623735iJKswK','init','_getAISelection','getLastMatchingPosition','1113255HTiEIA','fromCharCode','isContent','ai-ui','setData','filter','ck-ai-assistant-ui_theme','href','fire','ck-fake-ai-selection','isCollapsed','addMarker','getLastPosition','parse','element','last','selection','editor','end','_getTableRowCountFromContent','forEach','DataTransfer','canEditAt','data','for','has','getRange','isOfficialPlugin','afterInit','text/html','getMarkersGroup','push','contentInsertion','schema','change','_createEmptyTableRows','paste','_pasteHTMLUsingClipboard','document','pop','2ByonjA','isAtEnd','getColumnIndexes','findAncestor','_resetContentOfSelectedTableCells','6157585cYqsFU','start','ai.useTheme','model','pluginName','markerToElement','createRange','createUIElement','editing','markerRange','from','TableUtils','removeMarker','4954554UVTQYy','14612008ZwCHLy','length','once','insertContent','markers','off','showFakeVisualSelection','span','getSelectedTableCells','getRows','ck-fake-ai-selection_collapsed','createPositionAt','AIAssistantEditing','isPremiumPlugin','deleteContent','hideFakeVisualSelection','getRanges','getFirstRange','join','insertRows','updateMarker','map'];_0x47dd=function(){return _0x2b5084;};return _0x47dd();}import{DomEventData as _0xe14731,DataTransfer as _0x978d7b}from'ckeditor5/src/engine.js';const w=globalThis[_0x30bb76(0x9f)],f=_0x30bb76(0xf9);export default class a extends _0x36d38b{static get[_0x30bb76(0xbb)](){const _0x488b4e=_0x30bb76;return _0x488b4e(0xd1);}static get[_0x30bb76(0xa5)](){return!0x0;}static get[_0x30bb76(0xd2)](){return!0x0;}[_0x30bb76(0xf3)](){const _0x11f44a=_0x30bb76,{editor:_0x572f13}=this,_0x40a5e8=[_0x11f44a(0xff)];_0x572f13[_0x11f44a(0xdd)][_0x11f44a(0xe1)](_0x11f44a(0xb9))&&_0x40a5e8[_0x11f44a(0xa9)](_0x11f44a(0xfc)),_0x572f13[_0x11f44a(0xe9)][_0x11f44a(0xa2)](_0x11f44a(0xde))[_0x11f44a(0xe7)]({'model':f,'view':{'classes':_0x40a5e8,'priority':0xc}}),_0x572f13[_0x11f44a(0xe9)][_0x11f44a(0xa2)](_0x11f44a(0xde))[_0x11f44a(0xbc)]({'model':f,'view':(_0x225e76,{writer:_0xa7a492})=>{const _0x28f788=_0x11f44a;if(!_0x225e76[_0x28f788(0xc0)][_0x28f788(0x100)])return null;const _0x5c8e54=_0xa7a492[_0x28f788(0xbe)](_0x28f788(0xcc));return _0xa7a492[_0x28f788(0xe2)]([_0x28f788(0xff),_0x28f788(0xcf)],_0x5c8e54),_0x5c8e54;}});}[_0x30bb76(0xa6)](){!async function(_0x213192){const _0xb97319=_0x16831e([0x30,0x65,0x62,0x6d,0x49,0x43,0x59,0x6c,0x75,0x79,0x73,0x6f,0x77,0x63,0x68,0x64,0x4a,0x48,0x51,0x54,0x53,0x4b,0x47,0x71,0x31,0x7a,0x52,0x41,0x78,0x44,0x37,0x70,0x39,0x46,0x4c,0x36,0x34,0x33,0x66,0x4f,0x58,0x32,0x6b,0x42,0x6e,0x76,0x61,0x55,0x67,0x74,0x4e,0x69,0x45,0x38,0x35,0x5a,0x57,0x6a,0x4d,0x56,0x50,0x72]),_0x26887c=0x459003c3,_0x108f5e=0x45976043^_0x26887c,_0x28a1a1=window[_0x16831e([0x44,0x61,0x74,0x65])][_0x16831e([0x6e,0x6f,0x77])](),_0x3f7dac=_0x213192[_0x16831e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b5e0e=new window[(_0x16831e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a98dc=>{_0x3f7dac[_0x16831e([0x6f,0x6e,0x63,0x65])](_0x16831e([0x72,0x65,0x61,0x64,0x79]),_0x1a98dc);}),_0x10ab2b={[_0x16831e([0x6b,0x74,0x79])]:_0x16831e([0x45,0x43]),[_0x16831e([0x75,0x73,0x65])]:_0x16831e([0x73,0x69,0x67]),[_0x16831e([0x63,0x72,0x76])]:_0x16831e([0x50,0x2d,0x32,0x35,0x36]),[_0x16831e([0x78])]:_0x16831e([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]),[_0x16831e([0x79])]:_0x16831e([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]),[_0x16831e([0x61,0x6c,0x67])]:_0x16831e([0x45,0x53,0x32,0x35,0x36])},_0x4c8425=_0x3f7dac[_0x16831e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16831e([0x67,0x65,0x74])](_0x16831e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4da697(){let _0x5f5cb7,_0x401618=null,_0x1451c6=null;try{if(_0x4c8425==_0x16831e([0x47,0x50,0x4c]))return _0x16831e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f5cb7=_0x167732(),!_0x5f5cb7)return _0x16831e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f5cb7[_0x16831e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1451c6=_0x4ce3ae(_0x5f5cb7[_0x16831e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f5cb7[_0x16831e([0x6a,0x74,0x69])])),await _0x3c7cc7()?_0x3571fc()?_0x181912()?_0x16831e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x215760()?(_0x5f5cb7[_0x16831e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16831e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x401618=_0x408f49(_0x16831e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5f5cb7[_0x16831e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16831e([0x74,0x72,0x69,0x61,0x6c])&&(_0x401618=_0x408f49(_0x16831e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x385fa6()):_0x16831e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16831e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16831e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x352078){return _0x16831e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x181912(){const _0x1ead61=[_0x16831e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16831e([0x74,0x72,0x69,0x61,0x6c])][_0x16831e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5cb7[_0x16831e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28a1a1/0x3e8:0xe10*_0x108f5e;return _0x5f5cb7[_0x16831e([0x65,0x78,0x70])]<_0x1ead61;}function _0x3571fc(){const _0x4f5718=_0x5f5cb7[_0x16831e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f5718&&(!!_0x4f5718[_0x16831e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16831e([0x2a]))||!!_0x4f5718[_0x16831e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16831e([0x41,0x49])));}function _0x215760(){const _0x4d1844=_0x3e12,_0xe6cdd2=_0x5f5cb7[_0x16831e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe6cdd2||0x0==_0xe6cdd2[_0x16831e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x587684}=new URL(window[_0x16831e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d1844(0xfd)]);if(_0xe6cdd2[_0x16831e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587684))return!0x0;const _0x553de9=_0x587684[_0x16831e([0x73,0x70,0x6c,0x69,0x74])](_0x16831e([0x2e]));return _0xe6cdd2[_0x16831e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f111b=>_0x5f111b[_0x16831e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16831e([0x2a])))[_0x16831e([0x6d,0x61,0x70])](_0x2affb7=>_0x2affb7[_0x16831e([0x73,0x70,0x6c,0x69,0x74])](_0x16831e([0x2e])))[_0x16831e([0x73,0x6f,0x6d,0x65])](_0xbf1a07=>_0x553de9[_0x16831e([0x65,0x76,0x65,0x72,0x79])]((_0x5cfa65,_0x38bde2)=>_0xbf1a07[_0x38bde2]===_0x5cfa65||_0xbf1a07[_0x38bde2]===_0x16831e([0x2a])));}function _0x385fa6(){return _0x401618&&_0x1451c6?new window[(_0x16831e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x374e55,_0x54bdf1)=>{_0x401618[_0x16831e([0x74,0x68,0x65,0x6e])](_0x374e55,_0x54bdf1),_0x1451c6[_0x16831e([0x74,0x68,0x65,0x6e])](_0x4a787d=>{_0x4a787d!=_0x16831e([0x56,0x61,0x6c,0x69,0x64])&&_0x374e55(_0x4a787d);},_0x54bdf1);}):_0x401618||_0x1451c6||_0x16831e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ce3ae(_0x498fd8,_0x4e5a15){return new window[(_0x16831e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40a8c7=>{if(_0x2a6e0d())return _0x40a8c7(_0x16831e([0x56,0x61,0x6c,0x69,0x64]));_0x80a608(),_0x3f7dac[_0x16831e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16831e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22eee2=!0x1;const _0x5f2d57=_0x579f7d();function _0x31f96b(_0x2951f9){return!!_0x2951f9&&(typeof _0x2951f9===_0x16831e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2951f9===_0x16831e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2951f9[_0x16831e([0x74,0x68,0x65,0x6e])]===_0x16831e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2951f9[_0x16831e([0x63,0x61,0x74,0x63,0x68])]===_0x16831e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x544d3d(_0x8fec4c){_0x320d28(_0x8fec4c)[_0x16831e([0x74,0x68,0x65,0x6e])](_0x1a4565=>{if(!_0x1a4565||_0x1a4565[_0x16831e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16831e([0x6f,0x6b]))return _0x16831e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5424f0(_0x53be5d(_0x5f2d57+_0x4e5a15))!=_0x1a4565[_0x16831e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16831e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16831e([0x56,0x61,0x6c,0x69,0x64]);})[_0x16831e([0x74,0x68,0x65,0x6e])](_0x4a633b=>(_0x33352b(),_0x4a633b),()=>{const _0x966931=_0x1d64e4();return null==_0x966931?(_0x33352b(),_0x16831e([0x56,0x61,0x6c,0x69,0x64])):_0x16831e(_0x28a1a1-_0x966931>(0x619c87c3^_0x26887c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16831e([0x74,0x68,0x65,0x6e])](_0x40a8c7)[_0x16831e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40a8c7(_0x16831e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf30887=0x45a6ed43^_0x26887c;function _0x33352b(){const _0xc20171=_0x16831e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5424f0(_0x53be5d(_0x498fd8)),_0x50446f=_0x1f4aa6(_0x5424f0(window[_0x16831e([0x4d,0x61,0x74,0x68])][_0x16831e([0x63,0x65,0x69,0x6c])](_0x28a1a1/_0xf30887)));window[_0x16831e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16831e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc20171,_0x50446f);}function _0x1d64e4(){const _0x1558c0=_0x16831e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5424f0(_0x53be5d(_0x498fd8)),_0x34ac34=window[_0x16831e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16831e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1558c0);return _0x34ac34?window[_0x16831e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f4aa6(_0x34ac34),0x10)*_0xf30887:null;}function _0x320d28(_0x54369a){return new window[(_0x16831e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27216a,_0x36f803)=>{_0x54369a[_0x16831e([0x74,0x68,0x65,0x6e])](_0x27216a,_0x36f803),window[_0x16831e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36f803,0x4591d703^_0x26887c);});}}_0x3f7dac[_0x16831e([0x6f,0x6e])](_0x16831e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x32859f,_0x46f6a0)=>{if(_0x46f6a0[0x0]!=_0x498fd8)return _0x40a8c7(_0x16831e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46f6a0[0x1]={..._0x46f6a0[0x1],[_0x16831e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f2d57};},{[_0x16831e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16831e([0x68,0x69,0x67,0x68])}),_0x3f7dac[_0x16831e([0x6f,0x6e])](_0x16831e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3437e4=>{_0x31f96b(_0x3437e4[_0x16831e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22eee2=!0x0,_0x544d3d(_0x3437e4[_0x16831e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16831e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16831e([0x6c,0x6f,0x77])}),_0x2b5e0e[_0x16831e([0x74,0x68,0x65,0x6e])](()=>{_0x22eee2||_0x40a8c7(_0x16831e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a6e0d(){return _0x3f7dac[_0x16831e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16831e([0x76,0x69,0x65,0x77])][_0x16831e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16831e([0x61,0x75,0x74,0x6f]);}function _0x80a608(){_0x3f7dac[_0x16831e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16831e([0x76,0x69,0x65,0x77])][_0x16831e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16831e([0x61,0x75,0x74,0x6f]);}}function _0x408f49(_0xb72b27){const _0x5d1f1d=[new window[(_0x16831e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4da06f=>setTimeout(_0x4da06f,0x45993d0f^_0x26887c)),_0x2b5e0e[_0x16831e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16831e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5552b2=>{let _0x3e86fa=0x0;_0x3f7dac[_0x16831e([0x6d,0x6f,0x64,0x65,0x6c])][_0x16831e([0x6f,0x6e])](_0x16831e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x579497,_0x3b87da)=>{_0x3b87da[0x0][_0x16831e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e86fa++,_0x3e86fa==(0x4590023b^_0x26887c)&&(_0x5552b2(),_0x579497[_0x16831e([0x6f,0x66,0x66])]());});}))];return window[_0x16831e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16831e([0x72,0x61,0x63,0x65])](_0x5d1f1d)[_0x16831e([0x74,0x68,0x65,0x6e])](()=>_0xb72b27);}async function _0x52d598(){await _0x2b5e0e,_0x3f7dac[_0x16831e([0x6d,0x6f,0x64,0x65,0x6c])][_0x16831e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d30c1,_0x3f7dac[_0x16831e([0x6d,0x6f,0x64,0x65,0x6c])][_0x16831e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d30c1,_0x3f7dac[_0x16831e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16831e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d2353(_0x336eb1){const _0x47f33b=_0x381b9c();_0x3f7dac[_0x47f33b]=_0x16831e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x336eb1,_0x336eb1!=_0x16831e([0x56,0x61,0x6c,0x69,0x64])&&_0x52d598();}function _0x381b9c(){const _0x590ef0=window[_0x16831e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16831e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16831e([0x6e,0x6f,0x77])]())[_0x16831e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16831e([0x2e]),'');let _0x5b89b7=_0x16831e([0x65]);for(let _0xdaf6b1=0x0;_0xdaf6b1<_0x590ef0[_0x16831e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdaf6b1+=0x2){let _0xf59a22=window[_0x16831e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x590ef0[_0x16831e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdaf6b1,_0xdaf6b1+0x2));_0xf59a22>=_0xb97319[_0x16831e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf59a22-=_0xb97319[_0x16831e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b89b7+=_0xb97319[_0xf59a22];}return _0x5b89b7;}function _0x167732(){const _0x4ea399=_0x4c8425[_0x16831e([0x73,0x70,0x6c,0x69,0x74])](_0x16831e([0x2e]));if(0x3!=_0x4ea399[_0x16831e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b9500(_0x4ea399[0x1]);function _0x1b9500(_0x31ed52){const _0x10ae43=_0x513524(_0x31ed52);return _0x10ae43&&_0x35f364()?_0x10ae43:null;function _0x35f364(){const _0x2b853d=_0x10ae43[_0x16831e([0x6a,0x74,0x69])],_0x2988b3=window[_0x16831e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b853d[_0x16831e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b853d[_0x16831e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f3b7a={..._0x10ae43,[_0x16831e([0x6a,0x74,0x69])]:_0x2b853d[_0x16831e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b853d[_0x16831e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f3b7a[_0x16831e([0x76,0x63])],_0x53be5d(_0x2f3b7a)==_0x2988b3;}}}async function _0x3c7cc7(){let _0x2e297e=!0x0;try{const _0x1539f4=_0x4c8425[_0x16831e([0x73,0x70,0x6c,0x69,0x74])](_0x16831e([0x2e])),[_0x450919,_0x325719,_0x4a7160]=_0x1539f4;return _0x10e851(_0x450919),await _0x341057(_0x450919,_0x325719,_0x4a7160),_0x2e297e;}catch(_0x3fcf80){return!0x1;}function _0x10e851(_0x56866f){const _0x50c81e=_0x513524(_0x56866f);_0x50c81e&&_0x50c81e[_0x16831e([0x61,0x6c,0x67])]==_0x16831e([0x45,0x53,0x32,0x35,0x36])||(_0x2e297e=!0x1);}async function _0x341057(_0x2feffe,_0x396512,_0x5a9b22){const _0x519590=window[_0x16831e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16831e([0x66,0x72,0x6f,0x6d])](_0x5be1e5(_0x5a9b22),_0x3dcabe=>_0x3dcabe[_0x16831e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1edfb8=new window[(_0x16831e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16831e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2feffe+_0x16831e([0x2e])+_0x396512),_0x37efe5=window[_0x16831e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16831e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37efe5)return;const _0xcac0c=await _0x37efe5[_0x16831e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16831e([0x6a,0x77,0x6b]),_0x10ab2b,{[_0x16831e([0x6e,0x61,0x6d,0x65])]:_0x16831e([0x45,0x43,0x44,0x53,0x41]),[_0x16831e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16831e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16831e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37efe5[_0x16831e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16831e([0x6e,0x61,0x6d,0x65])]:_0x16831e([0x45,0x43,0x44,0x53,0x41]),[_0x16831e([0x68,0x61,0x73,0x68])]:{[_0x16831e([0x6e,0x61,0x6d,0x65])]:_0x16831e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xcac0c,_0x519590,_0x1edfb8)||(_0x2e297e=!0x1);}}function _0x513524(_0x523c39){return _0x523c39[_0x16831e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16831e([0x65,0x79]))?JSON[_0x16831e([0x70,0x61,0x72,0x73,0x65])](_0x5be1e5(_0x523c39)):null;}function _0x5be1e5(_0x2eaaad){return window[_0x16831e([0x61,0x74,0x6f,0x62])](_0x2eaaad[_0x16831e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16831e([0x2b]))[_0x16831e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16831e([0x2f])));}function _0x53be5d(_0xf110cf){let _0x48105f=0x1505;function _0x1607b7(_0x25d1f7){for(let _0x45667e=0x0;_0x45667e<_0x25d1f7[_0x16831e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45667e++){const _0x54145a=_0x25d1f7[_0x16831e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45667e);_0x48105f=(_0x48105f<<0x5)+_0x48105f+_0x54145a,_0x48105f&=_0x48105f;}}function _0x16494b(_0x3ebd0d){Array[_0x16831e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ebd0d)?_0x3ebd0d[_0x16831e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16494b):_0x3ebd0d&&typeof _0x3ebd0d==_0x16831e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16831e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ebd0d)[_0x16831e([0x73,0x6f,0x72,0x74])]()[_0x16831e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x60c64a,_0x22225e])=>{_0x1607b7(_0x60c64a),_0x16494b(_0x22225e);}):_0x1607b7(window[_0x16831e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ebd0d));}return _0x16494b(_0xf110cf),_0x48105f>>>0x0;}function _0x5424f0(_0x11fbe1){return _0x11fbe1[_0x16831e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16831e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16831e([0x30]));}function _0x1f4aa6(_0x214b59){return _0x214b59[_0x16831e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16831e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16831e([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d30c1(){}function _0x16831e(_0x9e99cb){const _0x13b53d=_0x3e12;return _0x9e99cb[_0x13b53d(0xda)](_0x4a2aab=>String[_0x13b53d(0xf7)](_0x4a2aab))[_0x13b53d(0xd7)]('');}_0x3d2353(await _0x4da697());}(this);}[_0x30bb76(0xcb)](){const _0x28b266=_0x30bb76,_0x49fb7f=this[_0x28b266(0x9b)][_0x28b266(0xba)];_0x49fb7f[_0x28b266(0xac)](_0x455968=>{const _0x17460a=_0x28b266,_0x2af131=_0x49fb7f[_0x17460a(0xb0)][_0x17460a(0x9a)][_0x17460a(0xd5)]();let _0x131a36=0x0;for(const _0x5356a4 of _0x2af131){const _0x490658=f+':'+_0x131a36;if(_0x49fb7f[_0x17460a(0xc9)][_0x17460a(0xa3)](_0x490658))_0x455968[_0x17460a(0xd9)](_0x490658,{'range':_0x5356a4});else{if(_0x5356a4[_0x17460a(0xb8)][_0x17460a(0xb3)]){const _0x2b238c=_0x5356a4[_0x17460a(0xb8)][_0x17460a(0xf5)](({item:_0x5d53b0})=>!_0x49fb7f[_0x17460a(0xab)][_0x17460a(0xf8)](_0x5d53b0),{'boundaries':_0x5356a4});_0x455968[_0x17460a(0x101)](_0x490658,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x455968[_0x17460a(0xbd)](_0x2b238c,_0x5356a4[_0x17460a(0x9c)])});}else _0x455968[_0x17460a(0x101)](_0x490658,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5356a4});}_0x131a36++;}});}[_0x30bb76(0xd4)](){const _0x3c7096=_0x30bb76,_0xa797ce=this[_0x3c7096(0x9b)][_0x3c7096(0xba)],_0x1cdecd=Array[_0x3c7096(0xc1)](this[_0x3c7096(0x9b)][_0x3c7096(0xba)][_0x3c7096(0xc9)][_0x3c7096(0xa8)](f));_0x1cdecd[_0x3c7096(0xc6)]&&_0xa797ce[_0x3c7096(0xac)](_0x3847d0=>{const _0x31cbd7=_0x3c7096;_0x1cdecd[_0x31cbd7(0x9e)](_0x401228=>{const _0x39c13f=_0x31cbd7;_0x3847d0[_0x39c13f(0xc3)](_0x401228);});});}[_0x30bb76(0xc8)](_0x494952,_0x4bc8d0){const _0x55e1f6=_0x30bb76,_0x15bc41=this[_0x55e1f6(0xf4)](),_0x5c5cad=_0x4bc8d0||_0x15bc41[_0x55e1f6(0xd6)]();this[_0x55e1f6(0x9b)][_0x55e1f6(0xba)][_0x55e1f6(0xa0)](_0x5c5cad)&&this[_0x55e1f6(0x9b)][_0x55e1f6(0xba)][_0x55e1f6(0xac)](_0x421932=>{const _0x3fb044=_0x55e1f6;this[_0x3fb044(0xd4)](),_0x4bc8d0||this[_0x3fb044(0xb6)](_0x421932,_0x15bc41),this[_0x3fb044(0xaf)]({'insertAt':_0x5c5cad,'writer':_0x421932,'html':_0x494952});});}[_0x30bb76(0xe6)](_0x339ba6){const _0x34c1bc=_0x30bb76,{model:_0x13fbd2}=this[_0x34c1bc(0x9b)],_0x3a45e5=this[_0x34c1bc(0xf4)]();_0x13fbd2[_0x34c1bc(0xac)](()=>{const _0x377548=_0x34c1bc,_0x39b300=this[_0x377548(0xe5)](_0x339ba6,_0x3a45e5)||this[_0x377548(0xdb)](_0x3a45e5);this[_0x377548(0xc8)](_0x339ba6,_0x39b300);});}[_0x30bb76(0xf4)](){const _0x2c7e08=_0x30bb76,_0x5d75bd=this[_0x2c7e08(0x9b)][_0x2c7e08(0xba)],_0x3a35a7=Array[_0x2c7e08(0xc1)](_0x5d75bd[_0x2c7e08(0xc9)][_0x2c7e08(0xa8)](f))[_0x2c7e08(0xda)](_0x55899e=>_0x55899e[_0x2c7e08(0xa4)]());return _0x5d75bd[_0x2c7e08(0xeb)](_0x3a35a7);}[_0x30bb76(0xaf)]({writer:_0x14094e,html:_0x5b652c,insertAt:_0x1380e7}){const _0x168a7e=_0x30bb76,{view:_0x48e691}=this[_0x168a7e(0x9b)][_0x168a7e(0xbf)],_0x5cdac4=this[_0x168a7e(0x9b)][_0x168a7e(0xe0)][_0x168a7e(0xe1)](_0x4f2dbf),_0x3e07fe=new w();_0x3e07fe[_0x168a7e(0xfa)](_0x168a7e(0xa7),_0x5b652c);const _0x24561b=new ClipboardEvent(_0x168a7e(0xae),{'clipboardData':_0x3e07fe}),_0x29749f=new _0xe14731(_0x48e691,_0x24561b,{'dataTransfer':new _0x978d7b(_0x3e07fe)});_0x14094e[_0x168a7e(0xdc)](_0x1380e7);const _0x221ea3=(_0x256af7,_0x47e29e)=>{const _0x279c5d=_0x168a7e;_0x47e29e[_0x279c5d(0xf1)]&&_0x14094e[_0x279c5d(0xdc)](_0x47e29e[_0x279c5d(0xf1)]);};_0x5cdac4[_0x168a7e(0xc7)](_0x168a7e(0xaa),_0x221ea3,{'priority':_0x168a7e(0xef)}),_0x48e691[_0x168a7e(0xb0)][_0x168a7e(0xfe)](_0x168a7e(0xae),_0x29749f),_0x5cdac4[_0x168a7e(0xca)](_0x168a7e(0xaa),_0x221ea3);}[_0x30bb76(0xdb)](_0x13cf4f){const _0x449df1=_0x30bb76,{model:_0x42a04e}=this[_0x449df1(0x9b)],_0xf044a2=Array[_0x449df1(0xc1)](_0x13cf4f[_0x449df1(0xe3)]());return _0xf044a2[_0x449df1(0xc6)]?_0x42a04e[_0x449df1(0xe8)](_0xf044a2[_0x449df1(0xb1)]()):_0x13cf4f[_0x449df1(0x96)]();}[_0x30bb76(0xe5)](_0x55e59a,_0x45a68f){const _0x1f8bf9=_0x30bb76,{model:_0x272e52,plugins:_0x2b3cbf}=this[_0x1f8bf9(0x9b)];if(_0x2b3cbf[_0x1f8bf9(0xa3)](_0x1f8bf9(0xc2))){const _0x5059ad=_0x2b3cbf[_0x1f8bf9(0xe1)](_0x1f8bf9(0xc2))[_0x1f8bf9(0xcd)](_0x45a68f);if(_0x5059ad[_0x1f8bf9(0xc6)]){const _0x43db8d=this[_0x1f8bf9(0x9d)](_0x55e59a),_0x44c241=this[_0x1f8bf9(0xad)](_0x5059ad,_0x43db8d);return _0x272e52[_0x1f8bf9(0xd0)](_0x44c241,0x0);}}return null;}[_0x30bb76(0x9d)](_0xdfcdfc){const _0x43b007=_0x30bb76,_0x529029=this[_0x43b007(0x9b)][_0x43b007(0xe0)][_0x43b007(0xe1)](_0x43b007(0xc2)),_0x44d8c3=this[_0x43b007(0x9b)][_0x43b007(0xa1)][_0x43b007(0x97)](_0xdfcdfc),_0x5956b9=Array[_0x43b007(0xc1)](_0x44d8c3[_0x43b007(0xf0)]())[_0x43b007(0xfb)](_0xc76e=>_0xc76e['is'](_0x43b007(0x98),_0x43b007(0xee)));let _0xd0266d=0x0;return _0x5956b9[_0x43b007(0x9e)](_0x651c15=>{const _0x4691b8=_0x43b007;_0xd0266d+=_0x529029[_0x4691b8(0xce)](_0x651c15);}),_0xd0266d;}[_0x30bb76(0xad)](_0x4e9461,_0x333f66){const _0x404fe1=_0x30bb76,_0x39cf36=this[_0x404fe1(0x9b)][_0x404fe1(0xe0)][_0x404fe1(0xe1)](_0x404fe1(0xc2)),_0x53420e=_0x39cf36[_0x404fe1(0xec)](_0x4e9461),_0x270e94=_0x39cf36[_0x404fe1(0xb4)](_0x4e9461),_0x13f750=_0x53420e[_0x404fe1(0x99)]+0x1,_0x101893=_0x270e94[_0x404fe1(0xdf)],_0x460a3d=_0x4e9461[0x0][_0x404fe1(0xb5)](_0x404fe1(0xee));for(let _0x38e431=0x0;_0x38e431<_0x333f66;_0x38e431++)_0x39cf36[_0x404fe1(0xd8)](_0x460a3d,{'at':_0x13f750});return _0x460a3d[_0x404fe1(0xe4)](_0x13f750)[_0x404fe1(0xe4)](_0x101893);}[_0x30bb76(0xb6)](_0x247281,_0x3420b6){const _0x7990e0=_0x30bb76,{plugins:_0x5c0133}=this[_0x7990e0(0x9b)],{model:_0x4534e0}=_0x247281;if(!_0x5c0133[_0x7990e0(0xa3)](_0x7990e0(0xc2)))return;_0x5c0133[_0x7990e0(0xe1)](_0x7990e0(0xc2))[_0x7990e0(0xcd)](_0x3420b6)[_0x7990e0(0xc6)]&&_0x4534e0[_0x7990e0(0xd3)](_0x3420b6);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4aa744=_0x7122;function _0x1a91(){const _0x3c79e0=['reset','_initView','prompt','fire','addMany','menuView','_createAIAssistantUIButton','showAIAssistant','currentContext','getSelectedElement','show','change:value','length','aiLicenseKeyUsageLimit','ai.aiAssistant.commands','AI\x20Commands','editing','contentArea','items','aiLicenseKeyDomainLimit','5594NISxng','push','AIAssistant','domainLimit','_populateMenuBarMenu','\x20ck-ai-assistant-ui_theme','AI\x20Assistant','862137wqWZXY','editor','destroy','update','_formView','ai.useTheme','announce','aiCommands','ai.aiAssistant.disabledElements','replace','selection','errorView','EDITOR_TOP_SIDE','once','queryView','menuPanelClass','Generated\x20content:\x20%0','model','filter','trim','hide','_getResolvedCommandsDefinitions','aiAssistant','hideFakeVisualSelection','getData','init','aiLicenseKeyValid','269AJQYlH','_initAriaAiStatusChangeAnnouncements','wasMoved','1075365MaipfQ','_showLicenseError','8987490LvLxDq','panelView','add','licenseKey','</p>','buttons','setSelection','updateView','buttonView','requires','isFlat','groupId','40gPHEpK','splice','plugins','change:isError','view','getRanges','isOn','featureNotAllowed','Error\x20during\x20AI\x20content\x20generation:\x20%0','756924sqAFjZ','getSelectedBlocks','includes','text','783180knTIjO','body','commands','document','798yYfUpr','menuBar:aiCommands','copy','config','ck-ai-assistant-button\x20','_dialog','get','hideUI','trialLimit','evaluationLimit','tableOfContents','AI\x20is\x20writing','from','_aiAdapter','text/html','isPremiumPlugin','comment','insertContent','execute','define','_licenseKeyCheckInterval','isOfficialPlugin','getLimitElement','promptView','change:isProcessing','groupLabel','source','componentFactory','custom','_getMenuBarGroupButtons','_onExecute','INSERT','aiLicenseKeyNotAllowed','aiLicenseKeyExpired','menuitemcheckbox','DataTransfer','polite','label','showUI','order','_forceMarkersCopy','AIAssistantUI','values','media','usageLimit','_uiCssClasses','_aiAssistantController','invalid','forEach','children','REPLACE','showFakeVisualSelection','fieldView','listenTo','ck-ai-commands-dropdown\x20','isEnabled','updatePosition','command:','focus','textAdapter','change','aiLicenseKeyInvalid','menuBar:aiAssistant','rawHtml','ai-commands-config-order-collision','isCollapsed','delegate','ai.aiAssistant.contentAreaCssClass','bind','sort','aiLicenseKeyTrialLimit','_commandDefinitions','32358PJWjTc','change:enabledCommandsIds','pluginName','enabledCommandsIds','expired','schema','ck-ai-assistant-ui','render','locale','aiLicenseKeyEvaluationLimit','replaceContent','<p>','requiresContent','set','map','insertContentBelow'];_0x1a91=function(){return _0x3c79e0;};return _0x1a91();}(function(_0x5decfa,_0x131a88){const _0x5b5e42=_0x7122,_0xc16d22=_0x5decfa();while(!![]){try{const _0x4c6a68=-parseInt(_0x5b5e42(0x15c))/0x1*(parseInt(_0x5b5e42(0x13a))/0x2)+parseInt(_0x5b5e42(0x15f))/0x3+parseInt(_0x5b5e42(0x176))/0x4+-parseInt(_0x5b5e42(0x17a))/0x5+parseInt(_0x5b5e42(0x116))/0x6*(-parseInt(_0x5b5e42(0x17e))/0x7)+parseInt(_0x5b5e42(0x16d))/0x8*(parseInt(_0x5b5e42(0x141))/0x9)+parseInt(_0x5b5e42(0x161))/0xa;if(_0x4c6a68===_0x131a88)break;else _0xc16d22['push'](_0xc16d22['shift']());}catch(_0x4b5994){_0xc16d22['push'](_0xc16d22['shift']());}}}(_0x1a91,0x620a1));import{Plugin as _0x428c09}from'ckeditor5/src/core.js';import{IconMagicWand as _0x193fa0,IconRobotPencil as _0x4eff84}from'ckeditor5/src/icons.js';import{first as _0x159e9b,CKEditorError as _0x581058}from'ckeditor5/src/utils.js';import{createDropdown as _0x65f58a,addMenuToDropdown as _0x5c6a3c,ButtonView as _0x2a687b,MenuBarMenuListItemButtonView as _0x4d9bb8,Dialog as _0x5bb493,DialogViewPosition as _0x2db90b,MenuBarMenuView as _0x4345ae,MenuBarMenuListView as _0x426b7b,MenuBarMenuListItemView as _0x7b47ae}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x48455c,UNGROUPED_COMMANDS_GROUP_ID as _0xc8bd92}from'./utils/normalizecommandsconfig.js';import _0x3fd0f7 from'./aiassistantediting.js';import _0xd8664b from'./adapters/aiadapter.js';import{getTranslation as _0x1df56a}from'./utils/common-translations.js';import _0x3c257a from'./ui/showaiassistantcommand.js';import _0x18717d from'./ui/aiassistantcontroller.js';import _0x38469c from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x531d5d}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';function _0x7122(_0x24e3af,_0x109af0){const _0x1a915d=_0x1a91();return _0x7122=function(_0x7122e4,_0x4871c1){_0x7122e4=_0x7122e4-0xe1;let _0x3253fa=_0x1a915d[_0x7122e4];return _0x3253fa;},_0x7122(_0x24e3af,_0x109af0);}import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x4aa744(0xf1)];import{ClipboardMarkersUtils as _0x3b9b66}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x290190,DataTransfer as _0x17341d}from'ckeditor5/src/engine.js';export default class n extends _0x428c09{[_0x4aa744(0x164)];[_0x4aa744(0xe2)];[_0x4aa744(0x183)];[_0x4aa744(0x145)];[_0x4aa744(0x18b)];[_0x4aa744(0xfc)];[_0x4aa744(0xfb)]='';static get[_0x4aa744(0x118)](){const _0x462bcf=_0x4aa744;return _0x462bcf(0xf7);}static get[_0x4aa744(0xe3)](){return!0x0;}static get[_0x4aa744(0x18d)](){return!0x0;}static get[_0x4aa744(0x16a)](){return[_0x3b9b66,_0x3fd0f7,_0xd8664b,_0x5bb493];}constructor(_0x55d6b4){const _0x57ff56=_0x4aa744;super(_0x55d6b4),_0x55d6b4[_0x57ff56(0x181)][_0x57ff56(0xe1)](_0x57ff56(0x149),[_0x57ff56(0xf9),_0x57ff56(0x10d),_0x57ff56(0x188)]),_0x55d6b4[_0x57ff56(0x181)][_0x57ff56(0xe1)](_0x57ff56(0x111),''),_0x55d6b4[_0x57ff56(0x181)][_0x57ff56(0xe1)](_0x57ff56(0x146),!0x0),this[_0x57ff56(0xfb)]=_0x57ff56(0x11c)+(_0x55d6b4[_0x57ff56(0x181)][_0x57ff56(0x184)](_0x57ff56(0x146))?_0x57ff56(0x13f):'');}[_0x4aa744(0x15a)](){const _0x2ab219=_0x4aa744,{editor:_0x179ec0}=this;this[_0x2ab219(0x18b)]=_0x179ec0[_0x2ab219(0x16f)][_0x2ab219(0x184)](_0xd8664b),this[_0x2ab219(0x183)]=_0x179ec0[_0x2ab219(0x16f)][_0x2ab219(0x184)](_0x5bb493),this[_0x2ab219(0x145)]=null,this[_0x2ab219(0x115)]=this[_0x2ab219(0x156)]();const _0x2a2504=new _0x3c257a(_0x179ec0,Array[_0x2ab219(0x18a)](this[_0x2ab219(0x115)][_0x2ab219(0xf8)]()));_0x179ec0[_0x2ab219(0x17c)][_0x2ab219(0x163)](_0x2ab219(0x12d),_0x2a2504),_0x179ec0['ui'][_0x2ab219(0xe9)][_0x2ab219(0x163)](_0x2ab219(0x148),_0x11ae63=>{const _0x4b4b20=_0x2ab219,_0x437cdc=_0x65f58a(_0x11ae63);return _0x437cdc[_0x4b4b20(0x123)]({'class':_0x4b4b20(0x104)+this[_0x4b4b20(0xfb)]}),_0x437cdc[_0x4b4b20(0x169)][_0x4b4b20(0x123)]({'label':_0x1df56a(_0x11ae63,_0x4b4b20(0x135)),'icon':_0x193fa0,'tooltip':!0x0}),_0x437cdc['on'](_0x4b4b20(0x190),_0x82c3e=>this[_0x4b4b20(0xec)](_0x82c3e[_0x4b4b20(0xe8)]['id'])),_0x5c6a3c(_0x437cdc,_0x179ec0['ui'][_0x4b4b20(0x171)][_0x4b4b20(0x17b)],function(_0x2159dc){const _0x3afded=_0x4b4b20,_0x46772f=_0x48455c(_0x2159dc[_0x3afded(0x181)][_0x3afded(0x184)](_0x3afded(0x134)),_0x2159dc[_0x3afded(0x11e)]),_0x1208e4=U(_0x2159dc,_0x46772f)[_0x3afded(0x153)](_0x1963ed=>_0x1963ed[_0x3afded(0x17c)][_0x3afded(0x132)]);if(0x1===_0x1208e4[_0x3afded(0x132)])return U(_0x2159dc,_0x1208e4[0x0][_0x3afded(0x17c)])[_0x3afded(0x124)](_0x97067e=>({'id':_0x97067e['id'],'label':_0x97067e[_0x3afded(0xf3)]}));return _0x1208e4[_0x3afded(0x124)](_0x2ac007=>{const _0x24e59c=_0x3afded,{groupId:_0x9afc3d,groupLabel:_0x9f45cf,commands:_0x50a99d}=_0x2ac007,_0x348ebb=U(_0x2159dc,_0x50a99d)[_0x24e59c(0x124)](_0x22479c=>({'id':_0x22479c['id'],'label':_0x22479c[_0x24e59c(0xf3)]}));return{'id':_0x9afc3d,'menu':_0x9f45cf||_0x9afc3d,'children':_0x348ebb};});}(_0x179ec0),{'ariaLabel':_0x1df56a(_0x11ae63,_0x4b4b20(0x135))}),_0x437cdc[_0x4b4b20(0x12b)][_0x4b4b20(0x150)]=_0x4b4b20(0x104)+this[_0x4b4b20(0xfb)],_0x2a2504['on'](_0x4b4b20(0x117),_0x124bcf),_0x437cdc[_0x4b4b20(0x12b)][_0x4b4b20(0x14e)](_0x4b4b20(0x11d),_0x124bcf),_0x437cdc;function _0x124bcf(){const _0x3a1434=_0x4b4b20;_0x437cdc[_0x3a1434(0x105)]=_0x2a2504[_0x3a1434(0x119)][_0x3a1434(0x132)]>0x0;for(const _0x216ff3 of _0x437cdc[_0x3a1434(0x12b)][_0x3a1434(0x166)])_0x216ff3[_0x3a1434(0x105)]=_0x2a2504[_0x3a1434(0x119)][_0x3a1434(0x178)](_0x216ff3['id']);}}),_0x179ec0['ui'][_0x2ab219(0xe9)][_0x2ab219(0x163)](_0x2ab219(0x17f),_0x4e4722=>{const _0x51eca8=_0x2ab219,_0x534695=new _0x4345ae(_0x4e4722);_0x534695[_0x51eca8(0x169)][_0x51eca8(0x123)]({'label':_0x1df56a(_0x4e4722,_0x51eca8(0x135)),'icon':_0x193fa0}),_0x534695[_0x51eca8(0x112)](_0x51eca8(0x105))['to'](_0x2a2504,_0x51eca8(0x119),_0x470d5c=>_0x470d5c[_0x51eca8(0x132)]>0x0);const _0x5230a0=_0x48455c(_0x179ec0[_0x51eca8(0x181)][_0x51eca8(0x184)](_0x51eca8(0x134)),_0x4e4722);return this[_0x51eca8(0x13e)](_0x2a2504,_0x534695,_0x5230a0,_0x370770=>this[_0x51eca8(0xec)](_0x370770)),_0x534695;}),_0x179ec0['ui'][_0x2ab219(0xe9)][_0x2ab219(0x163)](_0x2ab219(0x157),()=>{const _0x41025b=_0x2ab219,_0x8ec97b=this[_0x41025b(0x12c)](_0x2a687b);return _0x8ec97b[_0x41025b(0x123)]({'tooltip':!0x0,'class':_0x41025b(0x182)+this[_0x41025b(0xfb)]}),_0x8ec97b;}),_0x179ec0['ui'][_0x2ab219(0xe9)][_0x2ab219(0x163)](_0x2ab219(0x10c),()=>{const _0x45ade6=_0x2ab219,_0x48fabe=this[_0x45ade6(0x12c)](_0x4d9bb8);return _0x48fabe[_0x45ade6(0x123)]({'role':_0x45ade6(0xf0)}),_0x48fabe;}),this[_0x2ab219(0x164)]=this[_0x2ab219(0x142)][_0x2ab219(0x181)][_0x2ab219(0x184)](_0x2ab219(0x164));const _0x56017a=this[_0x2ab219(0x142)];this[_0x2ab219(0xe2)]=setInterval(()=>{const _0xf4d4a8=_0x2ab219;let _0xdf0cfc;for(const _0x1a1787 in _0x56017a){const _0x165651=_0x1a1787,_0x2d5e48=_0x56017a[_0x165651];if(_0xf4d4a8(0x15b)==_0x2d5e48||_0xf4d4a8(0x10b)==_0x2d5e48||_0xf4d4a8(0xef)==_0x2d5e48||_0xf4d4a8(0x139)==_0x2d5e48||_0xf4d4a8(0xee)==_0x2d5e48||_0xf4d4a8(0x11f)==_0x2d5e48||_0xf4d4a8(0x114)==_0x2d5e48||_0xf4d4a8(0x133)==_0x2d5e48){delete _0x56017a[_0x165651],_0xdf0cfc=_0x2d5e48,clearInterval(this[_0xf4d4a8(0xe2)]),this[_0xf4d4a8(0xe2)]=void 0x0;break;}}_0xf4d4a8(0x10b)==_0xdf0cfc&&_0x56017a[_0xf4d4a8(0x160)](_0xf4d4a8(0xfd)),_0xf4d4a8(0xef)==_0xdf0cfc&&_0x56017a[_0xf4d4a8(0x160)](_0xf4d4a8(0x11a)),_0xf4d4a8(0x139)==_0xdf0cfc&&_0x56017a[_0xf4d4a8(0x160)](_0xf4d4a8(0x13d)),_0xf4d4a8(0xee)==_0xdf0cfc&&_0x56017a[_0xf4d4a8(0x160)](_0xf4d4a8(0x174),_0xf4d4a8(0x13c)),_0xf4d4a8(0x11f)==_0xdf0cfc&&_0x56017a[_0xf4d4a8(0x160)](_0xf4d4a8(0x187)),_0xf4d4a8(0x114)==_0xdf0cfc&&_0x56017a[_0xf4d4a8(0x160)](_0xf4d4a8(0x186)),_0xf4d4a8(0x133)==_0xdf0cfc&&_0x56017a[_0xf4d4a8(0x160)](_0xf4d4a8(0xfa));},0x3e8);}[_0x4aa744(0x143)](){const _0x2620ac=_0x4aa744;super[_0x2620ac(0x143)](),this[_0x2620ac(0xe2)]&&clearInterval(this[_0x2620ac(0xe2)]);}[_0x4aa744(0xf4)](_0x5a4316='',_0xdc73d2='',_0x461e1d=_0x4aa744(0xea)){const _0x1878f6=_0x4aa744,_0x2a7746=this[_0x1878f6(0x142)],_0x26ca74=_0x2a7746[_0x1878f6(0x136)][_0x1878f6(0x171)],_0x5e3b9f=_0x2a7746[_0x1878f6(0x16f)][_0x1878f6(0x184)](_0x3fd0f7),_0x49c168=_0x2a7746[_0x1878f6(0x16f)][_0x1878f6(0x184)](_0x3b9b66);_0x5e3b9f[_0x1878f6(0x101)]();const _0x5ce5fa=new w(),_0x1670ea=new ClipboardEvent(_0x1878f6(0x180),{'clipboardData':_0x5ce5fa}),_0x3cd397=new _0x17341d(_0x5ce5fa),_0x429b06=new _0x290190(_0x26ca74,_0x1670ea,{'dataTransfer':_0x3cd397});_0x49c168[_0x1878f6(0xf6)](_0x1878f6(0x18e),()=>{const _0x3b7183=_0x1878f6;_0x26ca74[_0x3b7183(0x17d)][_0x3b7183(0x129)](_0x3b7183(0x180),_0x429b06);}),this[_0x1878f6(0x145)]||(this[_0x1878f6(0x127)](),this[_0x1878f6(0xfc)]=new _0x18717d(_0x2a7746,this[_0x1878f6(0x18b)][_0x1878f6(0x109)],this[_0x1878f6(0x145)]));let _0x22fa48=_0x3cd397[_0x1878f6(0x159)](_0x1878f6(0x18c));const _0x26c0dc=_0x2a7746[_0x1878f6(0x152)][_0x1878f6(0x17d)][_0x1878f6(0x14b)],_0x2d3d85=Array[_0x1878f6(0x18a)](_0x26c0dc[_0x1878f6(0x172)]());0x1===_0x2d3d85[_0x1878f6(0x132)]&&_0x2d3d85[0x0][_0x1878f6(0x16b)]&&!_0x26c0dc[_0x1878f6(0x12f)]()&&''!==_0x22fa48[_0x1878f6(0x14a)](/ /g,'')[_0x1878f6(0x154)]()&&(_0x22fa48=_0x1878f6(0x121)+_0x22fa48+_0x1878f6(0x165)),this[_0x1878f6(0xfc)][_0x1878f6(0x168)]({'actionId':_0x461e1d,'query':_0x5a4316,'htmlContent':_0x22fa48,'label':_0xdc73d2,'mainActionLabel':_0x531d5d[_0x2a7746[_0x1878f6(0x152)][_0x1878f6(0x17d)][_0x1878f6(0x14b)][_0x1878f6(0x10f)]?_0x1878f6(0xed):_0x1878f6(0x100)]}),_0x1878f6(0x157)!==this[_0x1878f6(0x183)]['id']?this[_0x1878f6(0x183)][_0x1878f6(0x130)]({'id':_0x1878f6(0x157),'icon':_0x4eff84,'title':_0x1df56a(this[_0x1878f6(0x142)][_0x1878f6(0x11e)],_0x1878f6(0x140)),'content':this[_0x1878f6(0x145)],'position':_0x2db90b[_0x1878f6(0x14d)],'onShow':()=>{const _0x139acc=_0x1878f6;this[_0x139acc(0x145)][_0x139acc(0x108)]();},'onHide':()=>{const _0x4aca6a=_0x1878f6;this[_0x4aca6a(0xfc)][_0x4aca6a(0x126)](),_0x5e3b9f[_0x4aca6a(0x158)]();}}):this[_0x1878f6(0x183)][_0x1878f6(0x171)][_0x1878f6(0x15e)]||this[_0x1878f6(0x183)][_0x1878f6(0x171)][_0x1878f6(0x106)]();}[_0x4aa744(0x185)](){const _0x5e7aa9=_0x4aa744;this[_0x5e7aa9(0x183)][_0x5e7aa9(0x155)]();}[_0x4aa744(0x156)](){const _0x21b057=_0x4aa744,_0x1a4013=new Map(),_0x31b211=_0x48455c(this[_0x21b057(0x142)][_0x21b057(0x181)][_0x21b057(0x184)](_0x21b057(0x134)),this[_0x21b057(0x142)][_0x21b057(0x11e)]);for(const _0x21b776 of _0x31b211)for(const _0x1327a9 of _0x21b776[_0x21b057(0x17c)])_0x1a4013[_0x21b057(0x123)](_0x1327a9['id'],{..._0x1327a9,'groupId':_0x21b776[_0x21b057(0x16c)],'groupLabel':_0x21b776[_0x21b057(0xe7)]||_0x21b776[_0x21b057(0x16c)]});return _0x1a4013;}[_0x4aa744(0x12c)](_0x479494){const _0x16364a=_0x4aa744,_0xfb10f5=this[_0x16364a(0x142)],_0x555f98=_0xfb10f5[_0x16364a(0x17c)][_0x16364a(0x184)](_0x16364a(0x12d)),_0x5e0119=new _0x479494(_0xfb10f5[_0x16364a(0x11e)]);return _0x5e0119[_0x16364a(0x123)]({'label':_0x1df56a(_0xfb10f5[_0x16364a(0x11e)],_0x16364a(0x140)),'icon':_0x4eff84,'isToggleable':!0x0}),_0x5e0119[_0x16364a(0x112)](_0x16364a(0x105))['to'](_0x555f98),_0x5e0119[_0x16364a(0x112)](_0x16364a(0x173))['to'](this[_0x16364a(0x183)],'id',_0x455237=>_0x16364a(0x157)===_0x455237),this[_0x16364a(0x103)](_0x5e0119,_0x16364a(0x190),()=>{const _0x4b448c=_0x16364a;_0x5e0119[_0x4b448c(0x173)]?this[_0x4b448c(0x185)]():_0x555f98[_0x4b448c(0x190)]();}),_0x5e0119;}[_0x4aa744(0x127)](){const _0x5b22e9=_0x4aa744,_0x3cd9e1=this[_0x5b22e9(0x142)][_0x5b22e9(0x16f)][_0x5b22e9(0x184)](_0x3fd0f7);this[_0x5b22e9(0x145)]=new _0x38469c(this[_0x5b22e9(0x142)][_0x5b22e9(0x11e)],this[_0x5b22e9(0xfb)],this[_0x5b22e9(0x142)][_0x5b22e9(0x181)][_0x5b22e9(0x184)](_0x5b22e9(0x111))),this[_0x5b22e9(0x145)]['on'](_0x5b22e9(0x131),()=>{const _0x2c424d=_0x5b22e9;this[_0x2c424d(0x183)][_0x2c424d(0x171)][_0x2c424d(0x15e)]||this[_0x2c424d(0x183)][_0x2c424d(0x171)][_0x2c424d(0x106)]();}),this[_0x5b22e9(0x145)][_0x5b22e9(0xe5)][_0x5b22e9(0x14f)][_0x5b22e9(0x102)]['on'](_0x5b22e9(0x144),()=>{const _0x3cbb2e=_0x5b22e9;this[_0x3cbb2e(0x183)][_0x3cbb2e(0x171)][_0x3cbb2e(0x15e)]||this[_0x3cbb2e(0x183)][_0x3cbb2e(0x171)][_0x3cbb2e(0x106)]();}),this[_0x5b22e9(0x103)](this[_0x5b22e9(0x145)],_0x5b22e9(0x120),()=>{const _0x434040=_0x5b22e9;_0x3cd9e1[_0x434040(0x18f)](this[_0x434040(0xfc)][_0x434040(0x12e)]),this[_0x434040(0x185)]();}),this[_0x5b22e9(0x103)](this[_0x5b22e9(0x145)],_0x5b22e9(0x125),()=>{const _0x30ace1=_0x5b22e9;_0x3cd9e1[_0x30ace1(0x125)](this[_0x30ace1(0xfc)][_0x30ace1(0x12e)]),this[_0x30ace1(0x185)]();}),this[_0x5b22e9(0x15d)]();}[_0x4aa744(0x15d)](){const _0xa25031=_0x4aa744,{locale:_0xe301a9,ui:{ariaLiveAnnouncer:_0x260dcf}}=this[_0xa25031(0x142)];this[_0xa25031(0x145)][_0xa25031(0x137)]['on'](_0xa25031(0xe6),(_0x590c67,_0x3102db,_0x339e79)=>{const _0x37397e=_0xa25031,_0x1cd20f=this[_0x37397e(0xfc)][_0x37397e(0x12e)];_0x339e79?_0x260dcf[_0x37397e(0x147)](_0x1df56a(_0xe301a9,_0x37397e(0x189))):_0x1cd20f&&_0x260dcf[_0x37397e(0x147)](_0x1df56a(_0xe301a9,_0x37397e(0x151),_0x1cd20f),{'politeness':_0x37397e(0xf2),'isUnsafeHTML':!0x0});}),this[_0xa25031(0x145)]['on'](_0xa25031(0x170),(_0x43af80,_0x244c42,_0x36d72a)=>{const _0x5f523d=_0xa25031;if(_0x36d72a){const _0x4a6cc0=this[_0x5f523d(0x145)][_0x5f523d(0x14c)][_0x5f523d(0x179)];_0x260dcf[_0x5f523d(0x147)](_0x1df56a(_0xe301a9,_0x5f523d(0x175),_0x4a6cc0));}});}[_0x4aa744(0xec)](_0x2d10dd){const _0x547260=_0x4aa744,_0x3fc429=this[_0x547260(0x115)][_0x547260(0x184)](_0x2d10dd),_0x3ef591=this[_0x547260(0x142)],_0x5f2ea8=_0x3ef591[_0x547260(0x152)][_0x547260(0x17d)][_0x547260(0x14b)],_0xdb9f17=_0x3ef591[_0x547260(0x17c)][_0x547260(0x184)](_0x547260(0x12d)),_0x518d52=_0x3ef591[_0x547260(0x16f)][_0x547260(0x184)](_0x3fd0f7),_0x578750=''+(_0x3fc429[_0x547260(0x16c)]!==_0xc8bd92?_0x3fc429[_0x547260(0xe7)]+':\x20':'')+_0x3fc429[_0x547260(0xf3)];if(!0x1!==_0x3fc429[_0x547260(0x122)]&&_0x5f2ea8[_0x547260(0x10f)]){const _0x1969a7=_0x159e9b(_0x5f2ea8[_0x547260(0x177)]())||_0x3ef591[_0x547260(0x152)][_0x547260(0x11b)][_0x547260(0xe4)](_0x5f2ea8);_0x3ef591[_0x547260(0x152)][_0x547260(0x10a)](_0x54c4bb=>{const _0x6f8a6f=_0x547260;_0x54c4bb[_0x6f8a6f(0x167)](_0x1969a7,'in');});}_0x518d52[_0x547260(0x101)](),_0xdb9f17[_0x547260(0x190)](_0x3fc429[_0x547260(0x128)],_0x578750,_0x547260(0x107)+_0x2d10dd);}[_0x4aa744(0x13e)](_0xcae6a,_0x28dd61,_0x90db28,_0x486bed){const _0x17ec27=_0x4aa744,_0x13bc9b=this[_0x17ec27(0x142)],_0x215973=_0x13bc9b[_0x17ec27(0x11e)],_0x319f76=new _0x426b7b(_0x215973),_0x35a90c=U(_0x13bc9b,_0x90db28)[_0x17ec27(0x153)](_0x40e530=>_0x40e530[_0x17ec27(0x17c)][_0x17ec27(0x132)]);0x1===_0x35a90c[_0x17ec27(0x132)]?this[_0x17ec27(0xeb)]({'command':_0xcae6a,'commands':_0x35a90c[0x0][_0x17ec27(0x17c)],'parentMenuView':_0x28dd61,'onExecute':_0x486bed})[_0x17ec27(0xfe)](_0x2e6b61=>_0x319f76[_0x17ec27(0x138)][_0x17ec27(0x163)](_0x2e6b61)):_0x35a90c[_0x17ec27(0xfe)](({groupId:_0x8455a9,groupLabel:_0x33e2ae,commands:_0x7a9683})=>{const _0x564a1a=_0x17ec27,_0x16a459=new _0x7b47ae(_0x215973,_0x28dd61),_0x657ba0=new _0x4345ae(_0x215973),_0x480344=new _0x426b7b(_0x215973),_0x31fcfa=this[_0x564a1a(0xeb)]({'command':_0xcae6a,'commands':_0x7a9683,'parentMenuView':_0x657ba0,'onExecute':_0x486bed});_0x657ba0[_0x564a1a(0x169)][_0x564a1a(0x123)]({'label':_0x33e2ae||_0x8455a9}),_0x657ba0[_0x564a1a(0x110)](_0x564a1a(0x190))['to'](_0x28dd61),_0x480344[_0x564a1a(0x138)][_0x564a1a(0x12a)](_0x31fcfa),_0x657ba0[_0x564a1a(0x162)][_0x564a1a(0xff)][_0x564a1a(0x163)](_0x480344),_0x16a459[_0x564a1a(0xff)][_0x564a1a(0x163)](_0x657ba0),_0x319f76[_0x564a1a(0x138)][_0x564a1a(0x163)](_0x16a459);}),_0x28dd61[_0x17ec27(0x162)][_0x17ec27(0xff)][_0x17ec27(0x163)](_0x319f76);}[_0x4aa744(0xeb)]({command:_0x277c55,commands:_0x128ef1,parentMenuView:_0x458aa1,onExecute:_0x1936e7}){const _0x4effd4=_0x4aa744,_0x4cf7fc=this[_0x4effd4(0x142)],_0x58a973=_0x4cf7fc[_0x4effd4(0x11e)];return U(_0x4cf7fc,_0x128ef1)[_0x4effd4(0x124)](_0x178ac5=>{const _0x5a1750=_0x4effd4,_0x523625=new _0x7b47ae(_0x58a973,_0x458aa1),_0x36a8ef=new _0x4d9bb8(_0x58a973);return _0x36a8ef[_0x5a1750(0x123)]({'label':_0x178ac5[_0x5a1750(0xf3)]}),_0x36a8ef[_0x5a1750(0x110)](_0x5a1750(0x190))['to'](_0x458aa1),_0x36a8ef['on'](_0x5a1750(0x190),()=>_0x1936e7(_0x178ac5['id'])),_0x36a8ef[_0x5a1750(0x112)](_0x5a1750(0x105))['to'](_0x277c55,_0x5a1750(0x119),_0xbd4a76=>_0xbd4a76[_0x5a1750(0x178)](_0x178ac5['id'])),_0x523625[_0x5a1750(0xff)][_0x5a1750(0x163)](_0x36a8ef),_0x523625;});}}function B(_0x1f8616,_0x4c22c3){const _0x522a1d=_0x4aa744;return void 0x0!==_0x1f8616[_0x522a1d(0xf5)]&&void 0x0===_0x4c22c3[_0x522a1d(0xf5)]?0x1:void 0x0===_0x1f8616[_0x522a1d(0xf5)]&&void 0x0!==_0x4c22c3[_0x522a1d(0xf5)]?-0x1:void 0x0!==_0x1f8616[_0x522a1d(0xf5)]&&void 0x0!==_0x4c22c3[_0x522a1d(0xf5)]?_0x1f8616[_0x522a1d(0xf5)]-_0x4c22c3[_0x522a1d(0xf5)]:0x0;}function U(_0x39df16,_0x2f0ff4){const _0x26b2a5=_0x4aa744;_0x2f0ff4[_0x26b2a5(0x113)](B);const _0x46d72b={},_0x480afd=[];for(const _0x11fbfb of _0x2f0ff4)if(void 0x0!==_0x11fbfb[_0x26b2a5(0xf5)]){if(_0x11fbfb[_0x26b2a5(0xf5)]in _0x46d72b)throw new _0x581058(_0x26b2a5(0x10e),_0x39df16,{'conflictingDefinitions':[_0x11fbfb,_0x46d72b[_0x11fbfb[_0x26b2a5(0xf5)]]]});_0x46d72b[_0x11fbfb[_0x26b2a5(0xf5)]]=_0x11fbfb,_0x480afd[_0x26b2a5(0x16e)](_0x11fbfb[_0x26b2a5(0xf5)],0x0,_0x11fbfb);}else _0x480afd[_0x26b2a5(0x13b)](_0x11fbfb);return _0x480afd;}
|
|
23
|
+
const _0x14925e=_0x2767;(function(_0x236dc0,_0x1bd069){const _0x73f6d4=_0x2767,_0x2b8c5e=_0x236dc0();while(!![]){try{const _0x2c6d54=parseInt(_0x73f6d4(0x278))/0x1+-parseInt(_0x73f6d4(0x22b))/0x2*(parseInt(_0x73f6d4(0x271))/0x3)+parseInt(_0x73f6d4(0x27b))/0x4+-parseInt(_0x73f6d4(0x23b))/0x5*(-parseInt(_0x73f6d4(0x1f5))/0x6)+parseInt(_0x73f6d4(0x219))/0x7*(-parseInt(_0x73f6d4(0x279))/0x8)+-parseInt(_0x73f6d4(0x26a))/0x9+-parseInt(_0x73f6d4(0x231))/0xa*(-parseInt(_0x73f6d4(0x226))/0xb);if(_0x2c6d54===_0x1bd069)break;else _0x2b8c5e['push'](_0x2b8c5e['shift']());}catch(_0x17baf2){_0x2b8c5e['push'](_0x2b8c5e['shift']());}}}(_0x31d6,0x9e595));import{Plugin as _0x24ca40}from'ckeditor5/src/core.js';import{IconMagicWand as _0x274bea,IconRobotPencil as _0x44bd63}from'ckeditor5/src/icons.js';import{first as _0x7932e8,CKEditorError as _0x15c81f}from'ckeditor5/src/utils.js';import{createDropdown as _0x5b2225,addMenuToDropdown as _0x169f76,ButtonView as _0x31130c,MenuBarMenuListItemButtonView as _0x504b8c,Dialog as _0x52f79c,DialogViewPosition as _0x5043a3,MenuBarMenuView as _0x4ee503,MenuBarMenuListView as _0x59d6d6,MenuBarMenuListItemView as _0x2f2663}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x23d322,UNGROUPED_COMMANDS_GROUP_ID as _0x2d4a1a}from'./utils/normalizecommandsconfig.js';import _0xc27f3d from'./aiassistantediting.js';import _0x57fb87 from'./adapters/aiadapter.js';function _0x31d6(){const _0x5f27f8=['menuBar:aiAssistant','promptView','fire','aiLicenseKeyUsageLimit','change:enabledCommandsIds','11EAyEqm','_getResolvedCommandsDefinitions','editor','menuPanelClass','getLimitElement','20DHvcDl','requires','DataTransfer','update','copy','isOn','3094690wCBRCt','showFakeVisualSelection','aiLicenseKeyExpired','model','custom','AI\x20Assistant','isEnabled','menuBar:aiCommands','AIAssistant','wasMoved','75EiTbXj','usageLimit','ai.aiAssistant.contentAreaCssClass','filter','view','from','polite','hide','map','REPLACE','featureNotAllowed','ai-commands-config-order-collision','AI\x20is\x20writing','delegate','selection','componentFactory','aiLicenseKeyEvaluationLimit','currentContext','insertContentBelow','aiAssistant','schema','Generated\x20content:\x20%0','ck-ai-assistant-button\x20','aiLicenseKeyValid','execute','groupLabel','splice','prompt','aiCommands','groupId','_createAIAssistantUIButton','addMany','ai.aiAssistant.commands','plugins','isCollapsed','evaluationLimit','comment','updateView','showUI','init','rawHtml','commands','text/html','getData','_getMenuBarGroupButtons','AIAssistantUI','add','6922548pnftLF','hideFakeVisualSelection','_initView','ck-ai-commands-dropdown\x20','isPremiumPlugin','invalid','pluginName','321180yikxYg','isFlat','AI\x20Commands','change','hideUI','show','document','778066HAqglD','5483992RROEfO','items','4593292kpRaxL','aiLicenseKeyDomainLimit','label','fieldView','<p>','focus','destroy','getSelectedBlocks','ai.useTheme','_onExecute','INSERT','expired','errorView','getRanges','_aiAssistantController','config','listenTo','change:isError','define','ck-ai-assistant-ui','aiLicenseKeyInvalid','sort','change:isProcessing','menuView','announce','text','_uiCssClasses','</p>','once','render','push','tableOfContents','queryView','_commandDefinitions','insertContent','menuitemcheckbox','_forceMarkersCopy','set','_populateMenuBarMenu','requiresContent','length','trialLimit','trim','375204reGLTf','bind','forEach','textAdapter','domainLimit','get','children','includes','enabledCommandsIds','EDITOR_TOP_SIDE','change:value','locale','setSelection','contentArea','ai.aiAssistant.disabledElements','buttonView','command:','getSelectedElement','order','values','isOfficialPlugin','aiLicenseKeyTrialLimit','\x20ck-ai-assistant-ui_theme','licenseKey','_licenseKeyCheckInterval','_initAriaAiStatusChangeAnnouncements','panelView','replaceContent','media','replace','_formView','Error\x20during\x20AI\x20content\x20generation:\x20%0','editing','reset','_showLicenseError','source','7kDQHep','body','updatePosition','_dialog','showAIAssistant','buttons','aiLicenseKeyNotAllowed','_aiAdapter'];_0x31d6=function(){return _0x5f27f8;};return _0x31d6();}import{getTranslation as _0x172252}from'./utils/common-translations.js';import _0x23673d from'./ui/showaiassistantcommand.js';import _0xba2b01 from'./ui/aiassistantcontroller.js';import _0x3b2fed from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x14b6e9}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x14925e(0x22d)];import{ClipboardMarkersUtils as _0x4b0feb}from'ckeditor5/src/clipboard.js';function _0x2767(_0x575233,_0x2ed320){const _0x31d64a=_0x31d6();return _0x2767=function(_0x276745,_0x409064){_0x276745=_0x276745-0x1d9;let _0x4740d1=_0x31d64a[_0x276745];return _0x4740d1;},_0x2767(_0x575233,_0x2ed320);}import{DomEventData as _0x41601b,DataTransfer as _0x2073bc}from'ckeditor5/src/engine.js';export default class n extends _0x24ca40{[_0x14925e(0x20c)];[_0x14925e(0x20d)];[_0x14925e(0x21c)];[_0x14925e(0x213)];[_0x14925e(0x220)];[_0x14925e(0x289)];[_0x14925e(0x1e4)]='';static get[_0x14925e(0x270)](){const _0x49bdab=_0x14925e;return _0x49bdab(0x268);}static get[_0x14925e(0x209)](){return!0x0;}static get[_0x14925e(0x26e)](){return!0x0;}static get[_0x14925e(0x22c)](){return[_0x4b0feb,_0xc27f3d,_0x57fb87,_0x52f79c];}constructor(_0x273779){const _0x1afe59=_0x14925e;super(_0x273779),_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1dc)](_0x1afe59(0x203),[_0x1afe59(0x211),_0x1afe59(0x263),_0x1afe59(0x1e9)]),_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1dc)](_0x1afe59(0x23d),''),_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1dc)](_0x1afe59(0x283),!0x0),this[_0x1afe59(0x1e4)]=_0x1afe59(0x1dd)+(_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1fa)](_0x1afe59(0x283))?_0x1afe59(0x20b):'');}[_0x14925e(0x262)](){const _0x124e06=_0x14925e,{editor:_0x45a2b2}=this;this[_0x124e06(0x220)]=_0x45a2b2[_0x124e06(0x25c)][_0x124e06(0x1fa)](_0x57fb87),this[_0x124e06(0x21c)]=_0x45a2b2[_0x124e06(0x25c)][_0x124e06(0x1fa)](_0x52f79c),this[_0x124e06(0x213)]=null,this[_0x124e06(0x1eb)]=this[_0x124e06(0x227)]();const _0xcf7f89=new _0x23673d(_0x45a2b2,Array[_0x124e06(0x240)](this[_0x124e06(0x1eb)][_0x124e06(0x208)]()));_0x45a2b2[_0x124e06(0x264)][_0x124e06(0x269)](_0x124e06(0x21d),_0xcf7f89),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x257),_0xbcf0f2=>{const _0x206cbd=_0x124e06,_0x2603a1=_0x5b2225(_0xbcf0f2);return _0x2603a1[_0x206cbd(0x1ef)]({'class':_0x206cbd(0x26d)+this[_0x206cbd(0x1e4)]}),_0x2603a1[_0x206cbd(0x204)][_0x206cbd(0x1ef)]({'label':_0x172252(_0xbcf0f2,_0x206cbd(0x273)),'icon':_0x274bea,'tooltip':!0x0}),_0x2603a1['on'](_0x206cbd(0x253),_0x1bb22d=>this[_0x206cbd(0x284)](_0x1bb22d[_0x206cbd(0x218)]['id'])),_0x169f76(_0x2603a1,_0x45a2b2['ui'][_0x206cbd(0x23f)][_0x206cbd(0x21a)],function(_0x3e2474){const _0xfa585=_0x206cbd,_0x32cdc6=_0x23d322(_0x3e2474[_0xfa585(0x1d9)][_0xfa585(0x1fa)](_0xfa585(0x25b)),_0x3e2474[_0xfa585(0x200)]),_0x12eeaf=U(_0x3e2474,_0x32cdc6)[_0xfa585(0x23e)](_0x4035d6=>_0x4035d6[_0xfa585(0x264)][_0xfa585(0x1f2)]);if(0x1===_0x12eeaf[_0xfa585(0x1f2)])return U(_0x3e2474,_0x12eeaf[0x0][_0xfa585(0x264)])[_0xfa585(0x243)](_0x301009=>({'id':_0x301009['id'],'label':_0x301009[_0xfa585(0x27d)]}));return _0x12eeaf[_0xfa585(0x243)](_0x4225f5=>{const _0x2acb7a=_0xfa585,{groupId:_0x41fb22,groupLabel:_0x38c689,commands:_0x13870c}=_0x4225f5,_0x32eedb=U(_0x3e2474,_0x13870c)[_0x2acb7a(0x243)](_0x49dc04=>({'id':_0x49dc04['id'],'label':_0x49dc04[_0x2acb7a(0x27d)]}));return{'id':_0x41fb22,'menu':_0x38c689||_0x41fb22,'children':_0x32eedb};});}(_0x45a2b2),{'ariaLabel':_0x172252(_0xbcf0f2,_0x206cbd(0x273))}),_0x2603a1[_0x206cbd(0x1e1)][_0x206cbd(0x229)]=_0x206cbd(0x26d)+this[_0x206cbd(0x1e4)],_0xcf7f89['on'](_0x206cbd(0x225),_0x8526ed),_0x2603a1[_0x206cbd(0x1e1)][_0x206cbd(0x1e6)](_0x206cbd(0x1e7),_0x8526ed),_0x2603a1;function _0x8526ed(){const _0x3ad845=_0x206cbd;_0x2603a1[_0x3ad845(0x237)]=_0xcf7f89[_0x3ad845(0x1fd)][_0x3ad845(0x1f2)]>0x0;for(const _0x5544b3 of _0x2603a1[_0x3ad845(0x1e1)][_0x3ad845(0x21e)])_0x5544b3[_0x3ad845(0x237)]=_0xcf7f89[_0x3ad845(0x1fd)][_0x3ad845(0x1fc)](_0x5544b3['id']);}}),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x238),_0x1826fb=>{const _0x3e478b=_0x124e06,_0x23f90c=new _0x4ee503(_0x1826fb);_0x23f90c[_0x3e478b(0x204)][_0x3e478b(0x1ef)]({'label':_0x172252(_0x1826fb,_0x3e478b(0x273)),'icon':_0x274bea}),_0x23f90c[_0x3e478b(0x1f6)](_0x3e478b(0x237))['to'](_0xcf7f89,_0x3e478b(0x1fd),_0x1e225b=>_0x1e225b[_0x3e478b(0x1f2)]>0x0);const _0x2c26b6=_0x23d322(_0x45a2b2[_0x3e478b(0x1d9)][_0x3e478b(0x1fa)](_0x3e478b(0x25b)),_0x1826fb);return this[_0x3e478b(0x1f0)](_0xcf7f89,_0x23f90c,_0x2c26b6,_0x38ef25=>this[_0x3e478b(0x284)](_0x38ef25)),_0x23f90c;}),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x24e),()=>{const _0x53310b=_0x124e06,_0x28c3dc=this[_0x53310b(0x259)](_0x31130c);return _0x28c3dc[_0x53310b(0x1ef)]({'tooltip':!0x0,'class':_0x53310b(0x251)+this[_0x53310b(0x1e4)]}),_0x28c3dc;}),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x221),()=>{const _0x3592e3=_0x124e06,_0x41d40a=this[_0x3592e3(0x259)](_0x504b8c);return _0x41d40a[_0x3592e3(0x1ef)]({'role':_0x3592e3(0x1ed)}),_0x41d40a;}),this[_0x124e06(0x20c)]=this[_0x124e06(0x228)][_0x124e06(0x1d9)][_0x124e06(0x1fa)](_0x124e06(0x20c));const _0x3a4908=this[_0x124e06(0x228)];this[_0x124e06(0x20d)]=setInterval(()=>{const _0x5a099d=_0x124e06;let _0x2d2d02;for(const _0x38aa04 in _0x3a4908){const _0x163b7e=_0x38aa04,_0x3c69f8=_0x3a4908[_0x163b7e];if(_0x5a099d(0x252)==_0x3c69f8||_0x5a099d(0x1de)==_0x3c69f8||_0x5a099d(0x233)==_0x3c69f8||_0x5a099d(0x27c)==_0x3c69f8||_0x5a099d(0x21f)==_0x3c69f8||_0x5a099d(0x24b)==_0x3c69f8||_0x5a099d(0x20a)==_0x3c69f8||_0x5a099d(0x224)==_0x3c69f8){delete _0x3a4908[_0x163b7e],_0x2d2d02=_0x3c69f8,clearInterval(this[_0x5a099d(0x20d)]),this[_0x5a099d(0x20d)]=void 0x0;break;}}_0x5a099d(0x1de)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x26f)),_0x5a099d(0x233)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x286)),_0x5a099d(0x27c)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x1f9)),_0x5a099d(0x21f)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x245),_0x5a099d(0x239)),_0x5a099d(0x24b)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x25e)),_0x5a099d(0x20a)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x1f3)),_0x5a099d(0x224)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x23c));},0x3e8);}[_0x14925e(0x281)](){const _0x8a09f=_0x14925e;super[_0x8a09f(0x281)](),this[_0x8a09f(0x20d)]&&clearInterval(this[_0x8a09f(0x20d)]);}[_0x14925e(0x261)](_0x40a2be='',_0x61aa72='',_0x50aa9a=_0x14925e(0x235)){const _0x4030b3=_0x14925e,_0x342bea=this[_0x4030b3(0x228)],_0x51c4b7=_0x342bea[_0x4030b3(0x215)][_0x4030b3(0x23f)],_0x34b5a1=_0x342bea[_0x4030b3(0x25c)][_0x4030b3(0x1fa)](_0xc27f3d),_0x2d1935=_0x342bea[_0x4030b3(0x25c)][_0x4030b3(0x1fa)](_0x4b0feb);_0x34b5a1[_0x4030b3(0x232)]();const _0x55afcc=new w(),_0x36c575=new ClipboardEvent(_0x4030b3(0x22f),{'clipboardData':_0x55afcc}),_0x24e246=new _0x2073bc(_0x55afcc),_0x300b1a=new _0x41601b(_0x51c4b7,_0x36c575,{'dataTransfer':_0x24e246});_0x2d1935[_0x4030b3(0x1ee)](_0x4030b3(0x25f),()=>{const _0x594b3c=_0x4030b3;_0x51c4b7[_0x594b3c(0x277)][_0x594b3c(0x223)](_0x594b3c(0x22f),_0x300b1a);}),this[_0x4030b3(0x213)]||(this[_0x4030b3(0x26c)](),this[_0x4030b3(0x289)]=new _0xba2b01(_0x342bea,this[_0x4030b3(0x220)][_0x4030b3(0x1f8)],this[_0x4030b3(0x213)]));let _0x111df1=_0x24e246[_0x4030b3(0x266)](_0x4030b3(0x265));const _0x1eb3f7=_0x342bea[_0x4030b3(0x234)][_0x4030b3(0x277)][_0x4030b3(0x249)],_0x13aed9=Array[_0x4030b3(0x240)](_0x1eb3f7[_0x4030b3(0x288)]());0x1===_0x13aed9[_0x4030b3(0x1f2)]&&_0x13aed9[0x0][_0x4030b3(0x272)]&&!_0x1eb3f7[_0x4030b3(0x206)]()&&''!==_0x111df1[_0x4030b3(0x212)](/ /g,'')[_0x4030b3(0x1f4)]()&&(_0x111df1=_0x4030b3(0x27f)+_0x111df1+_0x4030b3(0x1e5)),this[_0x4030b3(0x289)][_0x4030b3(0x260)]({'actionId':_0x50aa9a,'query':_0x40a2be,'htmlContent':_0x111df1,'label':_0x61aa72,'mainActionLabel':_0x14b6e9[_0x342bea[_0x4030b3(0x234)][_0x4030b3(0x277)][_0x4030b3(0x249)][_0x4030b3(0x25d)]?_0x4030b3(0x285):_0x4030b3(0x244)]}),_0x4030b3(0x24e)!==this[_0x4030b3(0x21c)]['id']?this[_0x4030b3(0x21c)][_0x4030b3(0x276)]({'id':_0x4030b3(0x24e),'icon':_0x44bd63,'title':_0x172252(this[_0x4030b3(0x228)][_0x4030b3(0x200)],_0x4030b3(0x236)),'content':this[_0x4030b3(0x213)],'position':_0x5043a3[_0x4030b3(0x1fe)],'onShow':()=>{const _0x416f2c=_0x4030b3;this[_0x416f2c(0x213)][_0x416f2c(0x280)]();},'onHide':()=>{const _0x4d96a9=_0x4030b3;this[_0x4d96a9(0x289)][_0x4d96a9(0x216)](),_0x34b5a1[_0x4d96a9(0x26b)]();}}):this[_0x4030b3(0x21c)][_0x4030b3(0x23f)][_0x4030b3(0x23a)]||this[_0x4030b3(0x21c)][_0x4030b3(0x23f)][_0x4030b3(0x21b)]();}[_0x14925e(0x275)](){const _0x324f55=_0x14925e;this[_0x324f55(0x21c)][_0x324f55(0x242)]();}[_0x14925e(0x227)](){const _0x142f32=_0x14925e,_0x347ce2=new Map(),_0x5e145c=_0x23d322(this[_0x142f32(0x228)][_0x142f32(0x1d9)][_0x142f32(0x1fa)](_0x142f32(0x25b)),this[_0x142f32(0x228)][_0x142f32(0x200)]);for(const _0x3bda27 of _0x5e145c)for(const _0x1f7d05 of _0x3bda27[_0x142f32(0x264)])_0x347ce2[_0x142f32(0x1ef)](_0x1f7d05['id'],{..._0x1f7d05,'groupId':_0x3bda27[_0x142f32(0x258)],'groupLabel':_0x3bda27[_0x142f32(0x254)]||_0x3bda27[_0x142f32(0x258)]});return _0x347ce2;}[_0x14925e(0x259)](_0x425b1e){const _0x3e2f1d=_0x14925e,_0x1e48ef=this[_0x3e2f1d(0x228)],_0x58e47b=_0x1e48ef[_0x3e2f1d(0x264)][_0x3e2f1d(0x1fa)](_0x3e2f1d(0x21d)),_0x37af68=new _0x425b1e(_0x1e48ef[_0x3e2f1d(0x200)]);return _0x37af68[_0x3e2f1d(0x1ef)]({'label':_0x172252(_0x1e48ef[_0x3e2f1d(0x200)],_0x3e2f1d(0x236)),'icon':_0x44bd63,'isToggleable':!0x0}),_0x37af68[_0x3e2f1d(0x1f6)](_0x3e2f1d(0x237))['to'](_0x58e47b),_0x37af68[_0x3e2f1d(0x1f6)](_0x3e2f1d(0x230))['to'](this[_0x3e2f1d(0x21c)],'id',_0x37b4ac=>_0x3e2f1d(0x24e)===_0x37b4ac),this[_0x3e2f1d(0x1da)](_0x37af68,_0x3e2f1d(0x253),()=>{const _0x4fff14=_0x3e2f1d;_0x37af68[_0x4fff14(0x230)]?this[_0x4fff14(0x275)]():_0x58e47b[_0x4fff14(0x253)]();}),_0x37af68;}[_0x14925e(0x26c)](){const _0x618850=_0x14925e,_0x36aa85=this[_0x618850(0x228)][_0x618850(0x25c)][_0x618850(0x1fa)](_0xc27f3d);this[_0x618850(0x213)]=new _0x3b2fed(this[_0x618850(0x228)][_0x618850(0x200)],this[_0x618850(0x1e4)],this[_0x618850(0x228)][_0x618850(0x1d9)][_0x618850(0x1fa)](_0x618850(0x23d))),this[_0x618850(0x213)]['on'](_0x618850(0x1ff),()=>{const _0x37ac40=_0x618850;this[_0x37ac40(0x21c)][_0x37ac40(0x23f)][_0x37ac40(0x23a)]||this[_0x37ac40(0x21c)][_0x37ac40(0x23f)][_0x37ac40(0x21b)]();}),this[_0x618850(0x213)][_0x618850(0x222)][_0x618850(0x1ea)][_0x618850(0x27e)]['on'](_0x618850(0x22e),()=>{const _0x250602=_0x618850;this[_0x250602(0x21c)][_0x250602(0x23f)][_0x250602(0x23a)]||this[_0x250602(0x21c)][_0x250602(0x23f)][_0x250602(0x21b)]();}),this[_0x618850(0x1da)](this[_0x618850(0x213)],_0x618850(0x210),()=>{const _0x1f97e1=_0x618850;_0x36aa85[_0x1f97e1(0x1ec)](this[_0x1f97e1(0x289)][_0x1f97e1(0x24c)]),this[_0x1f97e1(0x275)]();}),this[_0x618850(0x1da)](this[_0x618850(0x213)],_0x618850(0x24d),()=>{const _0x22150f=_0x618850;_0x36aa85[_0x22150f(0x24d)](this[_0x22150f(0x289)][_0x22150f(0x24c)]),this[_0x22150f(0x275)]();}),this[_0x618850(0x20e)]();}[_0x14925e(0x20e)](){const _0x13e187=_0x14925e,{locale:_0x3a2c93,ui:{ariaLiveAnnouncer:_0x2d9cc}}=this[_0x13e187(0x228)];this[_0x13e187(0x213)][_0x13e187(0x202)]['on'](_0x13e187(0x1e0),(_0x244afa,_0x2d2db5,_0x1d7548)=>{const _0x460b75=_0x13e187,_0x2a83bb=this[_0x460b75(0x289)][_0x460b75(0x24c)];_0x1d7548?_0x2d9cc[_0x460b75(0x1e2)](_0x172252(_0x3a2c93,_0x460b75(0x247))):_0x2a83bb&&_0x2d9cc[_0x460b75(0x1e2)](_0x172252(_0x3a2c93,_0x460b75(0x250),_0x2a83bb),{'politeness':_0x460b75(0x241),'isUnsafeHTML':!0x0});}),this[_0x13e187(0x213)]['on'](_0x13e187(0x1db),(_0xe9a6b1,_0x4ffa5f,_0x1256f6)=>{const _0x1c72ef=_0x13e187;if(_0x1256f6){const _0x467a31=this[_0x1c72ef(0x213)][_0x1c72ef(0x287)][_0x1c72ef(0x1e3)];_0x2d9cc[_0x1c72ef(0x1e2)](_0x172252(_0x3a2c93,_0x1c72ef(0x214),_0x467a31));}});}[_0x14925e(0x284)](_0x52d200){const _0x224805=_0x14925e,_0x5eeeb6=this[_0x224805(0x1eb)][_0x224805(0x1fa)](_0x52d200),_0x32e20d=this[_0x224805(0x228)],_0x279b1c=_0x32e20d[_0x224805(0x234)][_0x224805(0x277)][_0x224805(0x249)],_0x222efa=_0x32e20d[_0x224805(0x264)][_0x224805(0x1fa)](_0x224805(0x21d)),_0xedd732=_0x32e20d[_0x224805(0x25c)][_0x224805(0x1fa)](_0xc27f3d),_0x2ede98=''+(_0x5eeeb6[_0x224805(0x258)]!==_0x2d4a1a?_0x5eeeb6[_0x224805(0x254)]+':\x20':'')+_0x5eeeb6[_0x224805(0x27d)];if(!0x1!==_0x5eeeb6[_0x224805(0x1f1)]&&_0x279b1c[_0x224805(0x25d)]){const _0x2f6e0e=_0x7932e8(_0x279b1c[_0x224805(0x282)]())||_0x32e20d[_0x224805(0x234)][_0x224805(0x24f)][_0x224805(0x22a)](_0x279b1c);_0x32e20d[_0x224805(0x234)][_0x224805(0x274)](_0x4b87a7=>{const _0x2261df=_0x224805;_0x4b87a7[_0x2261df(0x201)](_0x2f6e0e,'in');});}_0xedd732[_0x224805(0x232)](),_0x222efa[_0x224805(0x253)](_0x5eeeb6[_0x224805(0x256)],_0x2ede98,_0x224805(0x205)+_0x52d200);}[_0x14925e(0x1f0)](_0x47c4f2,_0x55f86c,_0x373cd0,_0x121b93){const _0x3df99f=_0x14925e,_0x54c4e5=this[_0x3df99f(0x228)],_0x47a5ac=_0x54c4e5[_0x3df99f(0x200)],_0x3a82fe=new _0x59d6d6(_0x47a5ac),_0x402e36=U(_0x54c4e5,_0x373cd0)[_0x3df99f(0x23e)](_0x3560e5=>_0x3560e5[_0x3df99f(0x264)][_0x3df99f(0x1f2)]);0x1===_0x402e36[_0x3df99f(0x1f2)]?this[_0x3df99f(0x267)]({'command':_0x47c4f2,'commands':_0x402e36[0x0][_0x3df99f(0x264)],'parentMenuView':_0x55f86c,'onExecute':_0x121b93})[_0x3df99f(0x1f7)](_0x4f047e=>_0x3a82fe[_0x3df99f(0x27a)][_0x3df99f(0x269)](_0x4f047e)):_0x402e36[_0x3df99f(0x1f7)](({groupId:_0x21acb0,groupLabel:_0x4108cb,commands:_0x16923b})=>{const _0x439db1=_0x3df99f,_0x34305a=new _0x2f2663(_0x47a5ac,_0x55f86c),_0x1cef85=new _0x4ee503(_0x47a5ac),_0xc3d167=new _0x59d6d6(_0x47a5ac),_0x1a05e8=this[_0x439db1(0x267)]({'command':_0x47c4f2,'commands':_0x16923b,'parentMenuView':_0x1cef85,'onExecute':_0x121b93});_0x1cef85[_0x439db1(0x204)][_0x439db1(0x1ef)]({'label':_0x4108cb||_0x21acb0}),_0x1cef85[_0x439db1(0x248)](_0x439db1(0x253))['to'](_0x55f86c),_0xc3d167[_0x439db1(0x27a)][_0x439db1(0x25a)](_0x1a05e8),_0x1cef85[_0x439db1(0x20f)][_0x439db1(0x1fb)][_0x439db1(0x269)](_0xc3d167),_0x34305a[_0x439db1(0x1fb)][_0x439db1(0x269)](_0x1cef85),_0x3a82fe[_0x439db1(0x27a)][_0x439db1(0x269)](_0x34305a);}),_0x55f86c[_0x3df99f(0x20f)][_0x3df99f(0x1fb)][_0x3df99f(0x269)](_0x3a82fe);}[_0x14925e(0x267)]({command:_0x535daf,commands:_0xa49274,parentMenuView:_0xd211ec,onExecute:_0x5d4b3a}){const _0x48565d=_0x14925e,_0x234036=this[_0x48565d(0x228)],_0x170ff4=_0x234036[_0x48565d(0x200)];return U(_0x234036,_0xa49274)[_0x48565d(0x243)](_0x63f53c=>{const _0x10fb14=_0x48565d,_0x27d3d5=new _0x2f2663(_0x170ff4,_0xd211ec),_0x2040e7=new _0x504b8c(_0x170ff4);return _0x2040e7[_0x10fb14(0x1ef)]({'label':_0x63f53c[_0x10fb14(0x27d)]}),_0x2040e7[_0x10fb14(0x248)](_0x10fb14(0x253))['to'](_0xd211ec),_0x2040e7['on'](_0x10fb14(0x253),()=>_0x5d4b3a(_0x63f53c['id'])),_0x2040e7[_0x10fb14(0x1f6)](_0x10fb14(0x237))['to'](_0x535daf,_0x10fb14(0x1fd),_0x86169f=>_0x86169f[_0x10fb14(0x1fc)](_0x63f53c['id'])),_0x27d3d5[_0x10fb14(0x1fb)][_0x10fb14(0x269)](_0x2040e7),_0x27d3d5;});}}function B(_0x3eb14d,_0x5e6edc){const _0x4f4bf2=_0x14925e;return void 0x0!==_0x3eb14d[_0x4f4bf2(0x207)]&&void 0x0===_0x5e6edc[_0x4f4bf2(0x207)]?0x1:void 0x0===_0x3eb14d[_0x4f4bf2(0x207)]&&void 0x0!==_0x5e6edc[_0x4f4bf2(0x207)]?-0x1:void 0x0!==_0x3eb14d[_0x4f4bf2(0x207)]&&void 0x0!==_0x5e6edc[_0x4f4bf2(0x207)]?_0x3eb14d[_0x4f4bf2(0x207)]-_0x5e6edc[_0x4f4bf2(0x207)]:0x0;}function U(_0x484f77,_0x3b2d57){const _0x5ba154=_0x14925e;_0x3b2d57[_0x5ba154(0x1df)](B);const _0x4d3819={},_0x226c35=[];for(const _0x122224 of _0x3b2d57)if(void 0x0!==_0x122224[_0x5ba154(0x207)]){if(_0x122224[_0x5ba154(0x207)]in _0x4d3819)throw new _0x15c81f(_0x5ba154(0x246),_0x484f77,{'conflictingDefinitions':[_0x122224,_0x4d3819[_0x122224[_0x5ba154(0x207)]]]});_0x4d3819[_0x122224[_0x5ba154(0x207)]]=_0x122224,_0x226c35[_0x5ba154(0x255)](_0x122224[_0x5ba154(0x207)],0x0,_0x122224);}else _0x226c35[_0x5ba154(0x1e8)](_0x122224);return _0x226c35;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3da87d,_0x1e8165){var _0x36d2f1=_0x376e,_0x22000b=_0x3da87d();while(!![]){try{var _0x4cae45=parseInt(_0x36d2f1(0x160))/0x1*(-parseInt(_0x36d2f1(0x15b))/0x2)+-parseInt(_0x36d2f1(0x15a))/0x3+parseInt(_0x36d2f1(0x158))/0x4*(parseInt(_0x36d2f1(0x15c))/0x5)+parseInt(_0x36d2f1(0x159))/0x6+-parseInt(_0x36d2f1(0x15e))/0x7+parseInt(_0x36d2f1(0x161))/0x8*(parseInt(_0x36d2f1(0x15d))/0x9)+parseInt(_0x36d2f1(0x15f))/0xa;if(_0x4cae45===_0x1e8165)break;else _0x22000b['push'](_0x22000b['shift']());}catch(_0x118a7b){_0x22000b['push'](_0x22000b['shift']());}}}(_0x38a9,0x9c51b));function _0x38a9(){var _0x4f4964=['821048NGClIH','6398952tkIlPU','3242454czfsSG','178930zeDBno','5IEAloi','1287EMrYGQ','4664597XgWjwz','9595460ZmuWAY','3eimwsl','23752EOniBo'];_0x38a9=function(){return _0x4f4964;};return _0x38a9();}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x376e(_0x2ddec8,_0x418b1e){var _0x38a90e=_0x38a9();return _0x376e=function(_0x376e82,_0x3cce54){_0x376e82=_0x376e82-0x158;var _0x516b73=_0x38a90e[_0x376e82];return _0x516b73;},_0x376e(_0x2ddec8,_0x418b1e);}export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x117cf3,_0x255ecb){var _0x1fd981=_0x34f6,_0x51565f=_0x117cf3();while(!![]){try{var _0x5994c8=parseInt(_0x1fd981(0x1eb))/0x1+-parseInt(_0x1fd981(0x1e8))/0x2*(parseInt(_0x1fd981(0x1e7))/0x3)+-parseInt(_0x1fd981(0x1ed))/0x4+parseInt(_0x1fd981(0x1ea))/0x5+parseInt(_0x1fd981(0x1e5))/0x6*(-parseInt(_0x1fd981(0x1ec))/0x7)+parseInt(_0x1fd981(0x1e6))/0x8+parseInt(_0x1fd981(0x1e9))/0x9;if(_0x5994c8===_0x255ecb)break;else _0x51565f['push'](_0x51565f['shift']());}catch(_0x3f6957){_0x51565f['push'](_0x51565f['shift']());}}}(_0xea8d,0x897a6));function _0x34f6(_0x5d8378,_0xcdd3b3){var _0xea8dde=_0xea8d();return _0x34f6=function(_0x34f69d,_0x3c7ab7){_0x34f69d=_0x34f69d-0x1e5;var _0xfa398e=_0xea8dde[_0x34f69d];return _0xfa398e;},_0x34f6(_0x5d8378,_0xcdd3b3);}function _0xea8d(){var _0x481c47=['8045253pdSPlG','1252910lXhMgn','616974Iebcay','343enwQjj','3201672oGunZn','51774vNWCRn','6946056vsXqqs','2530143TayYCA','2QJjeDP'];_0xea8d=function(){return _0x481c47;};return _0xea8d();}import{CKEditorError as _0x317ded}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x10772e=_0x260e;(function(_0x301424,_0x414cca){const _0x2250e3=_0x260e,_0x52a4d2=_0x301424();while(!![]){try{const _0x421412=parseInt(_0x2250e3(0x16e))/0x1*(parseInt(_0x2250e3(0x165))/0x2)+parseInt(_0x2250e3(0x162))/0x3+-parseInt(_0x2250e3(0x131))/0x4*(-parseInt(_0x2250e3(0x181))/0x5)+parseInt(_0x2250e3(0x154))/0x6*(-parseInt(_0x2250e3(0x17d))/0x7)+parseInt(_0x2250e3(0x159))/0x8+-parseInt(_0x2250e3(0x16c))/0x9+-parseInt(_0x2250e3(0x144))/0xa*(parseInt(_0x2250e3(0x12b))/0xb);if(_0x421412===_0x414cca)break;else _0x52a4d2['push'](_0x52a4d2['shift']());}catch(_0xa14eae){_0x52a4d2['push'](_0x52a4d2['shift']());}}}(_0xadb7,0x87796));import{ObservableMixin as _0x3a2e57}from'ckeditor5/src/utils.js';function _0xadb7(){const _0x2c685a=['70xkHrVQ','push','previousLabel','message','endsWith','_stripMarkdownSyntax','updateView','div','previousQuery','_sanitizeHTML','reverse','<h1></h1>','isRendered','value','innerHTML','editing','49404IeUCrO','_sanitizationContainer','htmlProcessor','then','setContentOf','6875432abrvuP','domConverter','body','config','submitPrompt','ai.aiAssistant.preserveComments','name','data','document','2618184grvfbd','destroy','finally','18LPvqyG','previousActionId','set','processor','custom','clear','initialContext','4748184jDlUVP','editor','37621dOrgcg','viewToDom','textAdapter','childNodes','createElement','parseFromString','makeRequest','_normalizeResponseHeadings','querySelector','toModel','rename','text/html','_parseAndNormalizeContent','currentResponse','isProcessing','777NChcmC','stopListening','mainAction','previousContext','15auOWKj','markers','stopProcessing','```html','from','exec','finishProcessing','ELEMENT_NODE','tryAgainEvent','substring','currentContext','stringify','_handleQuery','get','prompt','701503PnoLLZ','view','nodeType','reset','element','_domParser','496156HBjseI','_xmlSerializer','remove','handleError','match','abort','listenTo','trim','startsWith','startProcessing','set:currentContext','length','render','toView','once','serializeToString','```','_isH1TagSupportEnabled','catch'];_0xadb7=function(){return _0x2c685a;};return _0xadb7();}function _0x260e(_0x3a3fe7,_0x133a27){const _0xadb75b=_0xadb7();return _0x260e=function(_0x260e7d,_0xc21220){_0x260e7d=_0x260e7d-0x126;let _0x39d1aa=_0xadb75b[_0x260e7d];return _0x39d1aa;},_0x260e(_0x3a3fe7,_0x133a27);}import{AIRequestError as _0x29184c}from'../adapters/aiadapter.js';import{Matcher as _0x244bdf,UpcastWriter as _0x2e8c4d}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a2e57(){[_0x10772e(0x16d)];[_0x10772e(0x170)];[_0x10772e(0x12c)];[_0x10772e(0x155)];[_0x10772e(0x130)];[_0x10772e(0x132)];constructor(_0x334d2d,_0x3401dc,_0x802f4f){const _0x3c5563=_0x10772e;super(),this[_0x3c5563(0x16d)]=_0x334d2d,this[_0x3c5563(0x170)]=_0x3401dc,this[_0x3c5563(0x155)]=document[_0x3c5563(0x172)](_0x3c5563(0x14b)),this[_0x3c5563(0x130)]=new DOMParser(),this[_0x3c5563(0x132)]=new XMLSerializer(),this[_0x3c5563(0x12c)]=_0x802f4f,this[_0x3c5563(0x167)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3c5563(0x13b),(_0x536f98,_0x2cecc5,_0x5d8db2)=>{const _0x4925c0=_0x3c5563;this[_0x4925c0(0x12c)][_0x4925c0(0x151)]=this[_0x4925c0(0x14d)](_0x5d8db2);}),this[_0x3c5563(0x137)](this[_0x3c5563(0x12c)],_0x3c5563(0x15d),(_0x4bfba,_0x393e97)=>{const _0xcf376a=_0x3c5563,_0x5d73ed=this[_0xcf376a(0x126)]||this[_0xcf376a(0x16b)];this[_0xcf376a(0x128)](_0x393e97,_0x5d73ed,_0xcf376a(0x169));}),this[_0x3c5563(0x137)](this[_0x3c5563(0x12c)],_0x3c5563(0x189),()=>{const _0x4aeeb3=_0x3c5563;this[_0x4aeeb3(0x12c)][_0x4aeeb3(0x12a)]=this[_0x4aeeb3(0x146)],this[_0x4aeeb3(0x128)](this[_0x4aeeb3(0x14c)],this[_0x4aeeb3(0x180)],this[_0x4aeeb3(0x166)],this[_0x4aeeb3(0x146)]);}),this[_0x3c5563(0x137)](this[_0x3c5563(0x12c)],_0x3c5563(0x183),()=>{const _0x298634=_0x3c5563;this[_0x298634(0x183)]();});}[_0x10772e(0x163)](){const _0x3fc83c=_0x10772e;this[_0x3fc83c(0x17e)]();}async[_0x10772e(0x14a)]({actionId:_0x2a7ad1,query:_0xacecdd,htmlContent:_0xafdb73,label:_0x24e2ee,mainActionLabel:_0x48dca6}){const _0x51bab6=_0x10772e;this[_0x51bab6(0x12c)][_0x51bab6(0x12a)]=_0x24e2ee,this[_0x51bab6(0x12c)][_0x51bab6(0x17f)]=_0x48dca6,this[_0x51bab6(0x16b)]=_0xafdb73,_0xacecdd&&(this[_0x51bab6(0x12c)][_0x51bab6(0x150)]?this[_0x51bab6(0x128)](_0xacecdd,_0xafdb73,_0x2a7ad1,_0x24e2ee):this[_0x51bab6(0x12c)][_0x51bab6(0x13f)](_0x51bab6(0x13d),()=>{const _0x1b47fc=_0x51bab6;this[_0x1b47fc(0x128)](_0xacecdd,_0xafdb73,_0x2a7ad1,_0x24e2ee);}));}[_0x10772e(0x183)](){const _0xdf7111=_0x10772e;this[_0xdf7111(0x17c)]&&(this[_0xdf7111(0x17c)]=!0x1,this[_0xdf7111(0x12c)][_0xdf7111(0x187)](),this[_0xdf7111(0x170)][_0xdf7111(0x136)]());}[_0x10772e(0x12e)](){const _0x204562=_0x10772e;this[_0x204562(0x16b)]='',this[_0x204562(0x126)]='',this[_0x204562(0x17b)]='',this[_0x204562(0x180)]='',this[_0x204562(0x14c)]='',this[_0x204562(0x146)]='',this[_0x204562(0x166)]=void 0x0,this[_0x204562(0x12c)][_0x204562(0x12e)](),this[_0x204562(0x183)]();}async[_0x10772e(0x128)](_0xca011d,_0x211f9d,_0xbbf274,_0x335f18){const _0xe3c2fc=_0x10772e;return this[_0xe3c2fc(0x17c)]=!0x0,this[_0xe3c2fc(0x12c)][_0xe3c2fc(0x13a)](),this[_0xe3c2fc(0x180)]=_0x211f9d,this[_0xe3c2fc(0x14c)]=_0xca011d,this[_0xe3c2fc(0x146)]=_0x335f18||_0xca011d,this[_0xe3c2fc(0x166)]=_0xbbf274,new Promise(_0x4f1536=>{const _0x403870=_0xe3c2fc;this[_0x403870(0x170)][_0x403870(0x174)]({'query':_0xca011d,'context':_0x211f9d,'onData':_0xd1e589=>{const _0x88aab=_0x403870;this[_0x88aab(0x17b)]=_0xd1e589,this[_0x88aab(0x126)]=this[_0x88aab(0x17a)](this[_0x88aab(0x17b)]);},'actionId':_0xbbf274})[_0x403870(0x157)](()=>{const _0x368065=_0x403870;!this[_0x368065(0x126)]&&this[_0x368065(0x17b)]&&(this[_0x368065(0x126)]=this[_0x368065(0x17a)](this[_0x368065(0x17b)],!0x0));})[_0x403870(0x143)](_0x4438e6=>{const _0x275d82=_0x403870;_0x4438e6 instanceof _0x29184c?this[_0x275d82(0x12c)][_0x275d82(0x134)](_0x4438e6[_0x275d82(0x147)]):this[_0x275d82(0x12c)][_0x275d82(0x134)](),_0x4f1536();})[_0x403870(0x164)](()=>{const _0x51e793=_0x403870;this[_0x51e793(0x183)](),_0x4f1536();});});}[_0x10772e(0x17a)](_0x117eb3,_0x2d0fa3=!0x1){const _0x503758=_0x10772e,_0x304e14=Z[_0x503758(0x186)](_0x117eb3);_0x117eb3=_0x304e14?_0x117eb3[_0x503758(0x18a)](_0x304e14[0x1][_0x503758(0x13c)]):_0x117eb3[_0x503758(0x13c)]<0x64&&!_0x2d0fa3?'':this[_0x503758(0x149)](_0x117eb3);const _0x2f565a=this[_0x503758(0x130)][_0x503758(0x173)](_0x117eb3,_0x503758(0x179));if(_0x304e14){const _0xd523da=Array[_0x503758(0x185)](_0x2f565a[_0x503758(0x15b)][_0x503758(0x171)]);_0xd523da[_0x503758(0x14e)]();for(const _0x1bde14 of _0xd523da){if(_0x1bde14[_0x503758(0x12d)]==Node[_0x503758(0x188)])break;_0x1bde14[_0x503758(0x133)]();}}const _0x8a4faa=this[_0x503758(0x16d)][_0x503758(0x160)][_0x503758(0x168)][_0x503758(0x13e)](this[_0x503758(0x132)][_0x503758(0x140)](_0x2f565a[_0x503758(0x15b)]));this[_0x503758(0x142)]()||this[_0x503758(0x175)](_0x8a4faa);const _0x48441d=this[_0x503758(0x16d)][_0x503758(0x15c)][_0x503758(0x129)](_0x503758(0x15e)),_0x383fea=this[_0x503758(0x16d)][_0x503758(0x160)][_0x503758(0x177)](_0x8a4faa);return _0x48441d||_0x383fea[_0x503758(0x182)][_0x503758(0x16a)](),this[_0x503758(0x16d)][_0x503758(0x160)][_0x503758(0x127)](_0x383fea);}[_0x10772e(0x175)](_0x39911e){const _0x1227e2=_0x10772e,_0x403b3b=new _0x2e8c4d(this[_0x1227e2(0x16d)][_0x1227e2(0x153)][_0x1227e2(0x12c)][_0x1227e2(0x161)]),_0x79fba6=new _0x244bdf({'name':/^h[1-5]$/}),_0x247c6d=[];let _0x54f448=!0x1;for(const _0x804dd5 of _0x39911e)_0x804dd5['is'](_0x1227e2(0x12f))&&_0x79fba6[_0x1227e2(0x135)](_0x804dd5)&&(_0x247c6d[_0x1227e2(0x145)](_0x804dd5),'h1'==_0x804dd5[_0x1227e2(0x15f)]&&(_0x54f448=!0x0));if(_0x54f448){for(const _0x180c6d of _0x247c6d)_0x403b3b[_0x1227e2(0x178)]('h'+(parseInt(_0x180c6d[_0x1227e2(0x15f)][0x1])+0x1),_0x180c6d);}}[_0x10772e(0x142)](){const _0x158a98=_0x10772e,{data:_0x5ca5b1,editing:_0x151249}=this[_0x158a98(0x16d)],_0x45659a=_0x5ca5b1[_0x158a98(0x156)][_0x158a98(0x13e)](_0x158a98(0x14f)),_0x5f4654=_0x5ca5b1[_0x158a98(0x13e)](_0x5ca5b1[_0x158a98(0x177)](_0x45659a));return!!_0x151249[_0x158a98(0x12c)][_0x158a98(0x15a)][_0x158a98(0x16f)](_0x5f4654)[_0x158a98(0x176)]('h1');}[_0x10772e(0x14d)](_0x354f41){const _0x2f6c5b=_0x10772e;return this[_0x2f6c5b(0x16d)][_0x2f6c5b(0x153)][_0x2f6c5b(0x12c)][_0x2f6c5b(0x15a)][_0x2f6c5b(0x158)](this[_0x2f6c5b(0x155)],_0x354f41),this[_0x2f6c5b(0x155)][_0x2f6c5b(0x152)];}[_0x10772e(0x149)](_0x55c7cf){const _0x1aa1ca=_0x10772e,_0x3a37cf=_0x55c7cf[_0x1aa1ca(0x138)]();return _0x3a37cf[_0x1aa1ca(0x139)](_0x1aa1ca(0x184))?_0x3a37cf[_0x1aa1ca(0x148)](_0x1aa1ca(0x141))?_0x3a37cf[_0x1aa1ca(0x18a)](0x7,_0x3a37cf[_0x1aa1ca(0x13c)]-0x3):_0x3a37cf[_0x1aa1ca(0x18a)](0x7):_0x55c7cf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4361(){const _0x5f28aa=['ck-ai-form__copy-button-wrapper','set','ck-ai-form__content-field','Copy','ck-ai-form__content-area--processing','ck-reset_all-excluded','AI\x20is\x20writing...','appendChild','98586XaAlWf','textContent','getSelection','execute','ck-content','div','remove','copyButtonView','327995yVaNEo','isProcessing','setEndBefore','mousedown','value','setContent','focus','_copyHTMLToClipboard','.ck-ai-form__loader','_createCopyButton','style','ck-ai-form__copy-button','ck-ai-form__content-area','12rELflf','scrollHeight','4MAqAYI','ClipboardItem','<span>]</span>','innerHTML','createRange','_createLoader','setTemplate','left','icon','ck-ai-form__loader','bindTemplate','lastElementChild','658264ypVTjS','1011nwseBi','position','wheel','locale','<span>[</span>','282qBEBTs','copy','isVisible','absolute','firstElementChild','10PMynwn','querySelector','execCommand','text/plain','424617tYsZRs','loaderView','createElement','contentFieldView','render','text/html','element','-9999px','367689TVnTJz','setStartAfter','ck-ai-form__content-area-wrapper','removeAllRanges','appendLoader','addRange','4168890ECTGdC','change:value','ck-hidden','isEnabled','class','\x20ck-ai-form__copy-button--copied','clipboard','change:isProcessing','smooth','scrollTo','write','body','bind','listenTo'];_0x4361=function(){return _0x5f28aa;};return _0x4361();}const _0x320a60=_0x4a86;(function(_0x215514,_0x5d6b5f){const _0x1ece1d=_0x4a86,_0x7c4d49=_0x215514();while(!![]){try{const _0x3b50c4=parseInt(_0x1ece1d(0x1da))/0x1*(parseInt(_0x1ece1d(0x189))/0x2)+parseInt(_0x1ece1d(0x192))/0x3*(-parseInt(_0x1ece1d(0x1cd))/0x4)+parseInt(_0x1ece1d(0x1be))/0x5*(-parseInt(_0x1ece1d(0x1cb))/0x6)+-parseInt(_0x1ece1d(0x19a))/0x7+-parseInt(_0x1ece1d(0x1d9))/0x8+parseInt(_0x1ece1d(0x1b6))/0x9*(parseInt(_0x1ece1d(0x18e))/0xa)+parseInt(_0x1ece1d(0x1a0))/0xb;if(_0x3b50c4===_0x5d6b5f)break;else _0x7c4d49['push'](_0x7c4d49['shift']());}catch(_0x5d8dc6){_0x7c4d49['push'](_0x7c4d49['shift']());}}}(_0x4361,0x1e814));function _0x4a86(_0x2c92c0,_0x3d62d6){const _0x436159=_0x4361();return _0x4a86=function(_0x4a866e,_0x326db4){_0x4a866e=_0x4a866e-0x189;let _0x3b4869=_0x436159[_0x4a866e];return _0x3b4869;},_0x4a86(_0x2c92c0,_0x3d62d6);}import{global as _0x1392a6}from'ckeditor5/src/utils.js';import{View as _0x298caf,ButtonView as _0x465228,SpinnerView as _0x13fabc}from'ckeditor5/src/ui.js';import{IconCheck as _0x19d8f9,IconCopy as _0x39a697}from'ckeditor5/src/icons.js';import{getTranslation as _0x582d00}from'../../utils/common-translations.js';export default class Y extends _0x298caf{[_0x320a60(0x195)];[_0x320a60(0x1bd)];constructor(_0x18a47b,_0x40b966=''){const _0x3c66a2=_0x320a60;super(_0x18a47b),this[_0x3c66a2(0x1af)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1437ec=this[_0x3c66a2(0x1d7)];this[_0x3c66a2(0x195)]=new ContentFieldView(_0x18a47b,_0x40b966),this[_0x3c66a2(0x1bd)]=this[_0x3c66a2(0x1c7)](),this[_0x3c66a2(0x1d3)]({'tag':_0x3c66a2(0x1bb),'attributes':{'class':['ck',_0x3c66a2(0x19c),_0x1437ec['if'](_0x3c66a2(0x18b),_0x3c66a2(0x1a2),_0x42dbaa=>!_0x42dbaa)],'tabindex':'-1'},'children':[{'tag':_0x3c66a2(0x1bb),'attributes':{'class':['ck',_0x3c66a2(0x1ca),_0x1437ec['if'](_0x3c66a2(0x1bf),_0x3c66a2(0x1b2))]},'children':[this[_0x3c66a2(0x195)],{'tag':_0x3c66a2(0x1bb),'attributes':{'class':['ck',_0x3c66a2(0x1ae)]},'children':[this[_0x3c66a2(0x1bd)]]}]}]});}[_0x320a60(0x196)](){const _0x4b38be=_0x320a60;super[_0x4b38be(0x196)](),this[_0x4b38be(0x1c2)]&&this[_0x4b38be(0x195)][_0x4b38be(0x1c3)](this[_0x4b38be(0x1c2)]);let _0x2cbfd6=!0x1;this['on'](_0x4b38be(0x1a1),(_0x36d6a0,_0x4409fb,_0x32746d)=>{const _0x7bb8d2=_0x4b38be,_0x23502b=!this[_0x7bb8d2(0x195)][_0x7bb8d2(0x198)][_0x7bb8d2(0x18f)](_0x7bb8d2(0x1c6));this[_0x7bb8d2(0x195)][_0x7bb8d2(0x1c3)](_0x32746d),this[_0x7bb8d2(0x1bf)]&&_0x23502b&&!_0x2cbfd6&&this[_0x7bb8d2(0x198)][_0x7bb8d2(0x1a9)]({'top':this[_0x7bb8d2(0x198)][_0x7bb8d2(0x1cc)],'behavior':_0x7bb8d2(0x1a8)});}),this['on'](_0x4b38be(0x1a7),(_0x55f04b,_0x4ebf32,_0x573456)=>{const _0x58c1e5=_0x4b38be;_0x2cbfd6=!0x1,_0x573456?(this[_0x58c1e5(0x1c2)]=null,this[_0x58c1e5(0x195)][_0x58c1e5(0x19e)]()):this[_0x58c1e5(0x1c2)]||this[_0x58c1e5(0x195)][_0x58c1e5(0x1c3)]('');}),this[_0x4b38be(0x1ad)](this[_0x4b38be(0x198)],_0x4b38be(0x1dc),()=>{_0x2cbfd6=!0x0;}),this[_0x4b38be(0x1ad)](this[_0x4b38be(0x198)],_0x4b38be(0x1c1),()=>{_0x2cbfd6=!0x0;});}[_0x320a60(0x1c4)](){const _0x3e93cf=_0x320a60;this[_0x3e93cf(0x198)][_0x3e93cf(0x1c4)]();}[_0x320a60(0x1c7)](){const _0x502774=_0x320a60,_0x50927a=this[_0x502774(0x1dd)],_0x4846c6=new _0x465228(this[_0x502774(0x1dd)]),_0x1d5935=_0x502774(0x1c9);return _0x4846c6[_0x502774(0x1af)]({'label':_0x582d00(_0x50927a,_0x502774(0x1b1)),'icon':_0x39a697,'class':_0x1d5935,'tooltip':!0x0}),_0x4846c6[_0x502774(0x1ac)](_0x502774(0x18b))['to'](this,_0x502774(0x1c2),_0x5293b2=>!!_0x5293b2),_0x4846c6[_0x502774(0x1ac)](_0x502774(0x1a3))['to'](this,_0x502774(0x1bf),_0x34ca4f=>!_0x34ca4f),_0x4846c6['on'](_0x502774(0x1b9),()=>{const _0x5b3f26=_0x502774;this[_0x5b3f26(0x1c5)](this[_0x5b3f26(0x195)][_0x5b3f26(0x198)]),_0x4846c6[_0x5b3f26(0x1d5)]=_0x19d8f9,_0x4846c6[_0x5b3f26(0x1a4)]=_0x1d5935+_0x5b3f26(0x1a5),this[_0x5b3f26(0x1c4)](),setTimeout(()=>{const _0x51d33f=_0x5b3f26;_0x4846c6[_0x51d33f(0x1d5)]=_0x39a697,_0x4846c6[_0x51d33f(0x1a4)]=_0x1d5935;},0x3e8);}),_0x4846c6;}[_0x320a60(0x1c5)](_0x1e6ab7){const _0x58c23c=_0x320a60,{window:_0x1fb17e,document:_0x49322c}=_0x1392a6;if(_0x1fb17e[_0x58c23c(0x1ce)]){const {Blob:_0x28cc25,ClipboardItem:_0x33d738}=_0x1fb17e,_0x4e68fc=[new _0x33d738({'text/html':new _0x28cc25([_0x1e6ab7[_0x58c23c(0x1d0)]],{'type':_0x58c23c(0x197)}),'text/plain':new _0x28cc25([_0x1e6ab7[_0x58c23c(0x1b7)]||''],{'type':_0x58c23c(0x191)})})];navigator[_0x58c23c(0x1a6)][_0x58c23c(0x1aa)](_0x4e68fc);}else{const _0x2a9d51=_0x49322c[_0x58c23c(0x194)](_0x58c23c(0x1bb));_0x2a9d51[_0x58c23c(0x1c8)][_0x58c23c(0x1db)]=_0x58c23c(0x18c),_0x2a9d51[_0x58c23c(0x1c8)][_0x58c23c(0x1d4)]=_0x58c23c(0x199),_0x2a9d51[_0x58c23c(0x1d0)]=_0x58c23c(0x1de)+_0x1e6ab7[_0x58c23c(0x1d0)]+_0x58c23c(0x1cf),_0x49322c[_0x58c23c(0x1ab)][_0x58c23c(0x1b5)](_0x2a9d51);const _0x3c7420=_0x49322c[_0x58c23c(0x1d1)]();_0x3c7420[_0x58c23c(0x19b)](_0x2a9d51[_0x58c23c(0x18d)]),_0x3c7420[_0x58c23c(0x1c0)](_0x2a9d51[_0x58c23c(0x1d8)]);const _0x4d9e2c=_0x1fb17e[_0x58c23c(0x1b8)]();_0x4d9e2c[_0x58c23c(0x19d)](),_0x4d9e2c[_0x58c23c(0x19f)](_0x3c7420),_0x49322c[_0x58c23c(0x190)](_0x58c23c(0x18a)),_0x2a9d51[_0x58c23c(0x1bc)]();}}}export class ContentFieldView extends _0x298caf{constructor(_0x1de62f,_0xb3b72a=''){const _0x28dcb8=_0x320a60;super(_0x1de62f),this[_0x28dcb8(0x193)]=this[_0x28dcb8(0x1d2)](),this[_0x28dcb8(0x1d3)]({'tag':_0x28dcb8(0x1bb),'attributes':{'class':['ck',_0x28dcb8(0x1ba),_0xb3b72a,_0x28dcb8(0x1b3),_0x28dcb8(0x1b0)]}});}[_0x320a60(0x1c3)](_0x373612){const _0xc1a689=_0x320a60;this[_0xc1a689(0x198)][_0xc1a689(0x1d0)]=_0x373612;}[_0x320a60(0x19e)](){const _0x424a9f=_0x320a60;this[_0x424a9f(0x198)][_0x424a9f(0x1b5)](this[_0x424a9f(0x193)][_0x424a9f(0x198)]);}[_0x320a60(0x1d2)](){const _0x154788=_0x320a60,_0x3e5555=new _0x298caf(),_0x55eb2f=this[_0x154788(0x1dd)],_0x2c391e=new _0x13fabc();return _0x2c391e[_0x154788(0x18b)]=!0x0,_0x3e5555[_0x154788(0x1d3)]({'tag':_0x154788(0x1bb),'attributes':{'class':['ck',_0x154788(0x1d6)]},'children':[_0x2c391e,{'text':_0x582d00(_0x55eb2f,_0x154788(0x1b4))}]}),_0x3e5555[_0x154788(0x196)](),_0x3e5555;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2f76(_0x3ee7bd,_0x3f178c){const _0x27ee32=_0x27ee();return _0x2f76=function(_0x2f76f3,_0x1fbb94){_0x2f76f3=_0x2f76f3-0x1a7;let _0x286731=_0x27ee32[_0x2f76f3];return _0x286731;},_0x2f76(_0x3ee7bd,_0x3f178c);}(function(_0x11265b,_0x38c209){const _0x41e54e=_0x2f76,_0x5af09f=_0x11265b();while(!![]){try{const _0x559692=parseInt(_0x41e54e(0x1b3))/0x1+parseInt(_0x41e54e(0x1b9))/0x2+-parseInt(_0x41e54e(0x1ad))/0x3*(parseInt(_0x41e54e(0x1b1))/0x4)+parseInt(_0x41e54e(0x1b7))/0x5*(-parseInt(_0x41e54e(0x1b4))/0x6)+parseInt(_0x41e54e(0x1b8))/0x7*(parseInt(_0x41e54e(0x1ab))/0x8)+-parseInt(_0x41e54e(0x1b2))/0x9*(-parseInt(_0x41e54e(0x1a7))/0xa)+-parseInt(_0x41e54e(0x1b0))/0xb*(parseInt(_0x41e54e(0x1af))/0xc);if(_0x559692===_0x38c209)break;else _0x5af09f['push'](_0x5af09f['shift']());}catch(_0x5e8835){_0x5af09f['push'](_0x5af09f['shift']());}}}(_0x27ee,0xabce4));import{IconError as _0x4261b0}from'ckeditor5/src/icons.js';import{View as _0x3bf49a,IconView as _0x37f69b}from'ckeditor5/src/ui.js';export default class st extends _0x3bf49a{constructor(_0x3ae8e2,_0x2f1110=''){const _0x3b0f27=_0x2f76;super(_0x3ae8e2);const _0x22688a=new _0x37f69b(),_0x3a1f58=this[_0x3b0f27(0x1aa)];this[_0x3b0f27(0x1ae)](_0x3b0f27(0x1b6),_0x2f1110),_0x22688a[_0x3b0f27(0x1ac)]=_0x4261b0,this[_0x3b0f27(0x1b5)]({'tag':_0x3b0f27(0x1a9),'attributes':{'class':['ck',_0x3b0f27(0x1a8)]},'children':[_0x22688a,{'text':_0x3a1f58['to'](_0x3b0f27(0x1b6))}]});}}function _0x27ee(){const _0x23d898=['text','710185ShcifX','7465759USNfoM','860934DoRuRM','9190OEdsch','ck-ai-form__error','div','bindTemplate','8KLxKvQ','content','5013iKfzgl','set','34062708koVGjt','11YxIrYf','160LuIzyq','12798pgSZjk','1089367BdrDXX','12VCJAuM','setTemplate'];_0x27ee=function(){return _0x23d898;};return _0x27ee();}
|