@ckeditor/ckeditor5-ai 44.2.0-alpha.16 → 44.2.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/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 _0x174b80=_0x4330;(function(_0x20cd6e,_0x4c9462){const _0x5f91fb=_0x4330,_0x54f22f=_0x20cd6e();while(!![]){try{const _0x39e477=-parseInt(_0x5f91fb(0x1c9))/0x1*(parseInt(_0x5f91fb(0x1e1))/0x2)+-parseInt(_0x5f91fb(0x1d1))/0x3+parseInt(_0x5f91fb(0x1d4))/0x4*(-parseInt(_0x5f91fb(0x1b2))/0x5)+-parseInt(_0x5f91fb(0x1e6))/0x6*(parseInt(_0x5f91fb(0x1a1))/0x7)+parseInt(_0x5f91fb(0x1c8))/0x8*(parseInt(_0x5f91fb(0x1aa))/0x9)+-parseInt(_0x5f91fb(0x19e))/0xa+parseInt(_0x5f91fb(0x1ae))/0xb;if(_0x39e477===_0x4c9462)break;else _0x54f22f['push'](_0x54f22f['shift']());}catch(_0x163928){_0x54f22f['push'](_0x54f22f['shift']());}}}(_0x5ee8,0x24d4f));import{Plugin as _0x23bcea}from'ckeditor5/src/core.js';function _0x4330(_0xcfdf22,_0x2e8e79){const _0x5ee8e6=_0x5ee8();return _0x4330=function(_0x433068,_0x54c40a){_0x433068=_0x433068-0x179;let _0x31d7b7=_0x5ee8e6[_0x433068];return _0x31d7b7;},_0x4330(_0xcfdf22,_0x2e8e79);}import _0x4d5fac from'./aiassistantui.js';import _0x5633ed from'./aiassistantediting.js';import{getTranslation as _0x17b2d9}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2f5215}from'./utils/normalizecommandsconfig.js';export default class r extends _0x23bcea{static get[_0x174b80(0x1b1)](){return[_0x4d5fac,_0x5633ed];}static get[_0x174b80(0x1e7)](){const _0x31d467=_0x174b80;return _0x31d467(0x1b7);}static get[_0x174b80(0x1d0)](){return!0x0;}static get[_0x174b80(0x195)](){return!0x0;}constructor(_0x1e520e){const _0x1a0cba=_0x174b80;super(_0x1e520e);const _0x21dac6=_0x1e520e[_0x1a0cba(0x18d)],_0x30afe5=_0x1e520e[_0x1a0cba(0x187)];_0x21dac6[_0x1a0cba(0x182)](_0x1a0cba(0x1c1),!0x0),_0x21dac6[_0x1a0cba(0x182)](_0x1a0cba(0x19f),getDefaultCommands(_0x30afe5)),_0x21dac6[_0x1a0cba(0x182)](_0x1a0cba(0x184),[]),_0x21dac6[_0x1a0cba(0x182)](_0x1a0cba(0x1cf),[]);let _0x5c9285=_0x2f5215(_0x21dac6[_0x1a0cba(0x1dc)](_0x1a0cba(0x19f)),_0x30afe5);const _0x43bdf6=_0x21dac6[_0x1a0cba(0x1dc)](_0x1a0cba(0x184)),_0x1943f7=_0x21dac6[_0x1a0cba(0x1dc)](_0x1a0cba(0x1cf));_0x43bdf6[_0x1a0cba(0x18e)](_0x51bfe3=>{const _0x459f66=_0x1a0cba,_0x5aff57=_0x5c9285[_0x459f66(0x1a7)](_0xfbc6d8=>_0xfbc6d8[_0x459f66(0x1b5)]===_0x51bfe3[_0x459f66(0x1b5)]);_0x5aff57?_0x5aff57[_0x459f66(0x191)]=_0x5aff57[_0x459f66(0x191)][_0x459f66(0x1de)](_0x51bfe3[_0x459f66(0x191)]):_0x5c9285[_0x459f66(0x17e)](_0x51bfe3);}),_0x5c9285=_0x5c9285[_0x1a0cba(0x1df)](_0xe9497e=>!_0x1943f7[_0x1a0cba(0x1a0)](_0xe9497e[_0x1a0cba(0x1b5)])),_0x5c9285[_0x1a0cba(0x18e)](_0x41532b=>{const _0x2bd7be=_0x1a0cba;_0x41532b[_0x2bd7be(0x191)]=_0x41532b[_0x2bd7be(0x191)][_0x2bd7be(0x1df)](_0x2b5ed3=>!_0x1943f7[_0x2bd7be(0x1a0)](_0x2b5ed3['id']));}),_0x21dac6[_0x1a0cba(0x1bb)](_0x1a0cba(0x19f),_0x5c9285);}}export function getDefaultCommands(_0x1d511d){const _0x21c8d0=_0x174b80;return[{'groupId':_0x21c8d0(0x180),'groupLabel':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1ca)),'commands':[{'id':_0x21c8d0(0x1cd),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x185)),'prompt':_0x21c8d0(0x1e3)},{'id':_0x21c8d0(0x1e2),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1da)),'prompt':_0x21c8d0(0x199)},{'id':_0x21c8d0(0x1db),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1ac)),'prompt':_0x21c8d0(0x1a4)},{'id':_0x21c8d0(0x198),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1c3)),'prompt':_0x21c8d0(0x186)}]},{'groupId':_0x21c8d0(0x1a5),'groupLabel':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1c5)),'commands':[{'id':_0x21c8d0(0x1bf),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1e8)),'prompt':_0x21c8d0(0x192)},{'id':_0x21c8d0(0x18a),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1d5)),'prompt':_0x21c8d0(0x1a6)}]},{'groupId':_0x21c8d0(0x197),'groupLabel':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1ce)),'commands':[{'id':_0x21c8d0(0x1e5),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x19a)),'prompt':_0x21c8d0(0x1d7)},{'id':_0x21c8d0(0x1d8),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1e4)),'prompt':_0x21c8d0(0x1a3)},{'id':_0x21c8d0(0x1cb),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1ab)),'prompt':_0x21c8d0(0x17d)},{'id':_0x21c8d0(0x1b9),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x19b)),'prompt':_0x21c8d0(0x1e0)},{'id':_0x21c8d0(0x1d3),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1bc)),'prompt':_0x21c8d0(0x19c)}]},{'groupId':_0x21c8d0(0x1a8),'groupLabel':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1bd)),'commands':[{'id':_0x21c8d0(0x190),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1b0)),'prompt':_0x21c8d0(0x1cc)},{'id':_0x21c8d0(0x193),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1a2)),'prompt':_0x21c8d0(0x1c0)},{'id':_0x21c8d0(0x1a9),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x183)),'prompt':_0x21c8d0(0x181)},{'id':_0x21c8d0(0x17b),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1c4)),'prompt':_0x21c8d0(0x196)}]},{'groupId':_0x21c8d0(0x19d),'groupLabel':_0x17b2d9(_0x1d511d,_0x21c8d0(0x17a)),'commands':[{'id':_0x21c8d0(0x1b3),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x18f)),'prompt':_0x21c8d0(0x17c)},{'id':_0x21c8d0(0x1c7),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x188)),'prompt':_0x21c8d0(0x17f)},{'id':_0x21c8d0(0x1c6),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x18b)),'prompt':_0x21c8d0(0x1c2)},{'id':_0x21c8d0(0x1dd),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x179)),'prompt':_0x21c8d0(0x1b6)},{'id':_0x21c8d0(0x1d9),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1b4)),'prompt':_0x21c8d0(0x1b8)},{'id':_0x21c8d0(0x1d2),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x194)),'prompt':_0x21c8d0(0x1be)},{'id':_0x21c8d0(0x18c),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1af)),'prompt':_0x21c8d0(0x1d6)},{'id':_0x21c8d0(0x189),'label':_0x17b2d9(_0x1d511d,_0x21c8d0(0x1ad)),'prompt':_0x21c8d0(0x1ba)}]}];}function _0x5ee8(){const _0x244500=['editOrReview','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','define','Journalism','ai.aiAssistant.extraCommandGroups','Improve\x20writing','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','locale','Spanish','translateArabic','continue','Portuguese','translateHindi','config','forEach','English','business','commands','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','legal','Simplified\x20Chinese','isPremiumPlugin','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','changeTone','simplifyLanguage','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Professional','Confident','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','translate','1356000fZKdhQ','ai.aiAssistant.commands','includes','7YVsIGr','Legal','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','generate','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','find','changeStyle','journalism','27FljuRq','Direct','Make\x20longer','Arabic','9278082cGwMOw','Hindi','Business','requires','322745gQrhTF','translateEnglish','French','groupId','Translate\x20the\x20content\x20to\x20German\x20language.','AIAssistant','Translate\x20the\x20content\x20to\x20French\x20language.','confident','Translate\x20the\x20content\x20to\x20Arabic\x20language.','set','Friendly','Change\x20style','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','summarize','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','ai.aiAssistant.preserveComments','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Simplify\x20language','Poetic','Generate\x20from\x20selection','translatePortuguese','translateSpanish','344744lHFdeR','138901FIkKDg','Edit\x20or\x20review','direct','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','improveWriting','Change\x20tone','ai.aiAssistant.removeCommands','isOfficialPlugin','858672MUwyJk','translateChinese','friendly','12ZKAusz','Continue','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','casual','translateFrench','Make\x20shorter','makeLonger','get','translateGerman','concat','filter','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','2sgqbMp','makeShorter','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Casual','professional','405036YYlqvr','pluginName','Summarize','German','Translate','poetic','Translate\x20the\x20content\x20to\x20English\x20language.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','push','Translate\x20the\x20content\x20to\x20Spanish\x20language.'];_0x5ee8=function(){return _0x244500;};return _0x5ee8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5362(_0x3471d2,_0x327c48){const _0x351c6d=_0x351c();return _0x5362=function(_0x536286,_0xcb935b){_0x536286=_0x536286-0x1bf;let _0x18bb57=_0x351c6d[_0x536286];return _0x18bb57;},_0x5362(_0x3471d2,_0x327c48);}const _0x1db035=_0x5362;(function(_0x2e6b67,_0x72cc42){const _0x30636c=_0x5362,_0x14bbb1=_0x2e6b67();while(!![]){try{const _0x2eedcc=parseInt(_0x30636c(0x1ee))/0x1+parseInt(_0x30636c(0x227))/0x2+-parseInt(_0x30636c(0x1cf))/0x3+-parseInt(_0x30636c(0x1fc))/0x4+parseInt(_0x30636c(0x1ec))/0x5+parseInt(_0x30636c(0x226))/0x6+parseInt(_0x30636c(0x1fd))/0x7;if(_0x2eedcc===_0x72cc42)break;else _0x14bbb1['push'](_0x14bbb1['shift']());}catch(_0x876baf){_0x14bbb1['push'](_0x14bbb1['shift']());}}}(_0x351c,0x2d3dd));import{uid as _0x5f1b6c}from'ckeditor5/src/utils.js';function _0x351c(){const _0x5671df=['addMarker','isAtEnd','getLastPosition','addClass','init','updateMarker','lowest','editingDowncast','schema','651024yKcxgd','1379252EjaaGa','change','once','markers','markerToHighlight','_pasteHTMLUsingClipboard','filter','insertContent','document','from','parse','setSelection','fromCharCode','getFirstRange','ai-ui','AIAssistantEditing','model','getRange','ck-fake-ai-selection','getRowIndexes','plugins','has','removeMarker','isContent','start','ai.useTheme','resultRange','data','end','_getTableRowCountFromContent','DataTransfer','_createEmptyTableRows','findAncestor','config','createPositionAfter','span','conversion','contentInsertion','element','editor','isPremiumPlugin','694302rqkiyv','159364wuuIFm','getChild','createRange','insertContentBelow','forEach','_getAISelection','getLastMatchingPosition','off','canEditAt','markerToElement','length','getRanges','_resetContentOfSelectedTableCells','afterInit','getRows','_prepareTableInsertBelowPosition','table','get','deleteContent','1007595PezZKT','createSelection','last','showFakeVisualSelection','first','editing','createPositionAt','selection','ck-fake-ai-selection_collapsed','ck-ai-assistant-ui_theme','getSelectedTableCells','map','TableUtils','getChildren','push','_getDefaultInsertBelowPosition','isCollapsed','insertRows','join','text/html','getSelectedBlocks','hideFakeVisualSelection','getColumnIndexes','fire','pop','href','setData','markerRange','for','447115tyCxpj','paste','202072qUwZxM','getMarkersGroup','pluginName','isOfficialPlugin','createUIElement'];_0x351c=function(){return _0x5671df;};return _0x351c();}import{Plugin as _0x3ef1b9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2fa2b7}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3e0dd2,DataTransfer as _0x32839f}from'ckeditor5/src/engine.js';const w=globalThis[_0x1db035(0x21b)],f=_0x1db035(0x20b);export default class a extends _0x3ef1b9{static get[_0x1db035(0x1f0)](){const _0x28518d=_0x1db035;return _0x28518d(0x20c);}static get[_0x1db035(0x1f1)](){return!0x0;}static get[_0x1db035(0x225)](){return!0x0;}[_0x1db035(0x1f7)](){const _0x5545dc=_0x1db035,{editor:_0x2fc218}=this,_0x2b2abc=[_0x5545dc(0x20f)];_0x2fc218[_0x5545dc(0x21e)][_0x5545dc(0x1cd)](_0x5545dc(0x216))&&_0x2b2abc[_0x5545dc(0x1dd)](_0x5545dc(0x1d8)),_0x2fc218[_0x5545dc(0x221)][_0x5545dc(0x1eb)](_0x5545dc(0x1fa))[_0x5545dc(0x201)]({'model':f,'view':{'classes':_0x2b2abc,'priority':0xc}}),_0x2fc218[_0x5545dc(0x221)][_0x5545dc(0x1eb)](_0x5545dc(0x1fa))[_0x5545dc(0x1c5)]({'model':f,'view':(_0x6302fd,{writer:_0x45a95b})=>{const _0x52e621=_0x5545dc;if(!_0x6302fd[_0x52e621(0x1ea)][_0x52e621(0x1df)])return null;const _0x31b7d3=_0x45a95b[_0x52e621(0x1f2)](_0x52e621(0x220));return _0x45a95b[_0x52e621(0x1f6)]([_0x52e621(0x20f),_0x52e621(0x1d7)],_0x31b7d3),_0x31b7d3;}});}[_0x1db035(0x1c9)](){!async function(_0x385585){const _0x3e185d=_0x581688([0x61,0x44,0x6d,0x6c,0x72,0x35,0x4e,0x64,0x65,0x57,0x48,0x68,0x52,0x47,0x67,0x34,0x30,0x31,0x41,0x6f,0x77,0x69,0x53,0x55,0x4f,0x4d,0x66,0x56,0x75,0x7a,0x58,0x71,0x6b,0x76,0x33,0x79,0x46,0x32,0x59,0x6a,0x37,0x73,0x45,0x63,0x4b,0x78,0x36,0x4c,0x6e,0x38,0x50,0x42,0x43,0x5a,0x49,0x4a,0x70,0x54,0x74,0x51,0x39,0x62]),_0x7243c2=0x3ea4246e,_0x288e24=0x3ea37b26^_0x7243c2,_0x4e5b4e=window[_0x581688([0x44,0x61,0x74,0x65])][_0x581688([0x6e,0x6f,0x77])](),_0x2a777f=_0x385585[_0x581688([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x595f7b=new window[(_0x581688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fec19=>{_0x2a777f[_0x581688([0x6f,0x6e,0x63,0x65])](_0x581688([0x72,0x65,0x61,0x64,0x79]),_0x4fec19);}),_0x13d8b8={[_0x581688([0x6b,0x74,0x79])]:_0x581688([0x45,0x43]),[_0x581688([0x75,0x73,0x65])]:_0x581688([0x73,0x69,0x67]),[_0x581688([0x63,0x72,0x76])]:_0x581688([0x50,0x2d,0x32,0x35,0x36]),[_0x581688([0x78])]:_0x581688([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]),[_0x581688([0x79])]:_0x581688([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]),[_0x581688([0x61,0x6c,0x67])]:_0x581688([0x45,0x53,0x32,0x35,0x36])},_0x5ed853=_0x2a777f[_0x581688([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x581688([0x67,0x65,0x74])](_0x581688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50a5e1(){let _0x15d003,_0x24a5ea=null,_0x1c1a91=null;try{if(_0x5ed853==_0x581688([0x47,0x50,0x4c]))return _0x581688([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x15d003=_0x133c78(),!_0x15d003)return _0x581688([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x15d003[_0x581688([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c1a91=_0x48b0d1(_0x15d003[_0x581688([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x15d003[_0x581688([0x6a,0x74,0x69])])),await _0x3bedb4()?_0x275a08()?_0x5a32bf()?_0x581688([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x44ac82()?(_0x15d003[_0x581688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x581688([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24a5ea=_0xd4b2ba(_0x581688([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x15d003[_0x581688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x581688([0x74,0x72,0x69,0x61,0x6c])&&(_0x24a5ea=_0xd4b2ba(_0x581688([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2046ad()):_0x581688([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x581688([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x581688([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x51aef5){return _0x581688([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a32bf(){const _0x3ed276=[_0x581688([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x581688([0x74,0x72,0x69,0x61,0x6c])][_0x581688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15d003[_0x581688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e5b4e/0x3e8:0xe10*_0x288e24;return _0x15d003[_0x581688([0x65,0x78,0x70])]<_0x3ed276;}function _0x275a08(){const _0x44a53e=_0x15d003[_0x581688([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44a53e&&(!!_0x44a53e[_0x581688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x581688([0x2a]))||!!_0x44a53e[_0x581688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x581688([0x41,0x49])));}function _0x44ac82(){const _0x54c8d3=_0x5362,_0x1bfe71=_0x15d003[_0x581688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1bfe71||0x0==_0x1bfe71[_0x581688([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34ab6f}=new URL(window[_0x581688([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x54c8d3(0x1e8)]);if(_0x1bfe71[_0x581688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34ab6f))return!0x0;const _0x2fe018=_0x34ab6f[_0x581688([0x73,0x70,0x6c,0x69,0x74])](_0x581688([0x2e]));return _0x1bfe71[_0x581688([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48a354=>_0x48a354[_0x581688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x581688([0x2a])))[_0x581688([0x6d,0x61,0x70])](_0x2edf3b=>_0x2edf3b[_0x581688([0x73,0x70,0x6c,0x69,0x74])](_0x581688([0x2e])))[_0x581688([0x73,0x6f,0x6d,0x65])](_0x14dbd3=>_0x2fe018[_0x581688([0x65,0x76,0x65,0x72,0x79])]((_0x54a234,_0x3ac334)=>_0x14dbd3[_0x3ac334]===_0x54a234||_0x14dbd3[_0x3ac334]===_0x581688([0x2a])));}function _0x2046ad(){return _0x24a5ea&&_0x1c1a91?new window[(_0x581688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21f181,_0x5d26ee)=>{_0x24a5ea[_0x581688([0x74,0x68,0x65,0x6e])](_0x21f181,_0x5d26ee),_0x1c1a91[_0x581688([0x74,0x68,0x65,0x6e])](_0x4b7f30=>{_0x4b7f30!=_0x581688([0x56,0x61,0x6c,0x69,0x64])&&_0x21f181(_0x4b7f30);},_0x5d26ee);}):_0x24a5ea||_0x1c1a91||_0x581688([0x56,0x61,0x6c,0x69,0x64]);}}function _0x48b0d1(_0x356f92,_0x58ba79){return new window[(_0x581688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54edf0=>{if(_0x5c0a52())return _0x54edf0(_0x581688([0x56,0x61,0x6c,0x69,0x64]));_0x5ce882(),_0x2a777f[_0x581688([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x581688([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x87ae4d=!0x1;const _0x350eaf=_0x5f1b6c();function _0x2410b4(_0x3b1a8d){return!!_0x3b1a8d&&(typeof _0x3b1a8d===_0x581688([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b1a8d===_0x581688([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b1a8d[_0x581688([0x74,0x68,0x65,0x6e])]===_0x581688([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b1a8d[_0x581688([0x63,0x61,0x74,0x63,0x68])]===_0x581688([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38af8f(_0x62eed0){_0x25219a(_0x62eed0)[_0x581688([0x74,0x68,0x65,0x6e])](_0x1089b7=>{if(!_0x1089b7||_0x1089b7[_0x581688([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x581688([0x6f,0x6b]))return _0x581688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x545d54(_0x4861c8(_0x350eaf+_0x58ba79))!=_0x1089b7[_0x581688([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x581688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x581688([0x56,0x61,0x6c,0x69,0x64]);})[_0x581688([0x74,0x68,0x65,0x6e])](_0x2cb3a9=>(_0x41a456(),_0x2cb3a9),()=>{const _0x16c6e0=_0x58dd8c();return null==_0x16c6e0?(_0x41a456(),_0x581688([0x56,0x61,0x6c,0x69,0x64])):_0x581688(_0x4e5b4e-_0x16c6e0>(0x1aa8a06e^_0x7243c2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x581688([0x74,0x68,0x65,0x6e])](_0x54edf0)[_0x581688([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54edf0(_0x581688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x825182=0x3e92caee^_0x7243c2;function _0x41a456(){const _0x36ea35=_0x581688([0x6c,0x6c,0x63,0x74,0x2d])+_0x545d54(_0x4861c8(_0x356f92)),_0x57d2d7=_0x1e84ae(_0x545d54(window[_0x581688([0x4d,0x61,0x74,0x68])][_0x581688([0x63,0x65,0x69,0x6c])](_0x4e5b4e/_0x825182)));window[_0x581688([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x581688([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36ea35,_0x57d2d7);}function _0x58dd8c(){const _0x2d86f1=_0x581688([0x6c,0x6c,0x63,0x74,0x2d])+_0x545d54(_0x4861c8(_0x356f92)),_0x376b83=window[_0x581688([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x581688([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d86f1);return _0x376b83?window[_0x581688([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e84ae(_0x376b83),0x10)*_0x825182:null;}function _0x25219a(_0x1dfc9f){return new window[(_0x581688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3987c2,_0x58d574)=>{_0x1dfc9f[_0x581688([0x74,0x68,0x65,0x6e])](_0x3987c2,_0x58d574),window[_0x581688([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x58d574,0x3ea5f0ae^_0x7243c2);});}}_0x2a777f[_0x581688([0x6f,0x6e])](_0x581688([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f4c69,_0x175f79)=>{if(_0x175f79[0x0]!=_0x356f92)return _0x54edf0(_0x581688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x175f79[0x1]={..._0x175f79[0x1],[_0x581688([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x350eaf};},{[_0x581688([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x581688([0x68,0x69,0x67,0x68])}),_0x2a777f[_0x581688([0x6f,0x6e])](_0x581688([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x132132=>{_0x2410b4(_0x132132[_0x581688([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x87ae4d=!0x0,_0x38af8f(_0x132132[_0x581688([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x581688([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x581688([0x6c,0x6f,0x77])}),_0x595f7b[_0x581688([0x74,0x68,0x65,0x6e])](()=>{_0x87ae4d||_0x54edf0(_0x581688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c0a52(){return _0x2a777f[_0x581688([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x581688([0x76,0x69,0x65,0x77])][_0x581688([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x581688([0x61,0x75,0x74,0x6f]);}function _0x5ce882(){_0x2a777f[_0x581688([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x581688([0x76,0x69,0x65,0x77])][_0x581688([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x581688([0x61,0x75,0x74,0x6f]);}}function _0xd4b2ba(_0x348cb6){const _0x18cc91=[new window[(_0x581688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22afdd=>setTimeout(_0x22afdd,0x3ead1aa2^_0x7243c2)),_0x595f7b[_0x581688([0x74,0x68,0x65,0x6e])](()=>new window[(_0x581688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4965ab=>{let _0x362978=0x0;_0x2a777f[_0x581688([0x6d,0x6f,0x64,0x65,0x6c])][_0x581688([0x6f,0x6e])](_0x581688([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47fab9,_0x5d027a)=>{_0x5d027a[0x0][_0x581688([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x362978++,_0x362978==(0x3ea42596^_0x7243c2)&&(_0x4965ab(),_0x47fab9[_0x581688([0x6f,0x66,0x66])]());});}))];return window[_0x581688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x581688([0x72,0x61,0x63,0x65])](_0x18cc91)[_0x581688([0x74,0x68,0x65,0x6e])](()=>_0x348cb6);}async function _0x1f25f4(){await _0x595f7b,_0x2a777f[_0x581688([0x6d,0x6f,0x64,0x65,0x6c])][_0x581688([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1bd188,_0x2a777f[_0x581688([0x6d,0x6f,0x64,0x65,0x6c])][_0x581688([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1bd188,_0x2a777f[_0x581688([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x581688([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ff30e(_0x1cd138){const _0x1494d3=_0xe7c720();_0x2a777f[_0x1494d3]=_0x581688([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1cd138,_0x1cd138!=_0x581688([0x56,0x61,0x6c,0x69,0x64])&&_0x1f25f4();}function _0xe7c720(){const _0x522084=window[_0x581688([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x581688([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x581688([0x6e,0x6f,0x77])]())[_0x581688([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x581688([0x2e]),'');let _0x103d16=_0x581688([0x61]);for(let _0x23298b=0x0;_0x23298b<_0x522084[_0x581688([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23298b+=0x2){let _0xa587f1=window[_0x581688([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x522084[_0x581688([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23298b,_0x23298b+0x2));_0xa587f1>=_0x3e185d[_0x581688([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa587f1-=_0x3e185d[_0x581688([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x103d16+=_0x3e185d[_0xa587f1];}return _0x103d16;}function _0x133c78(){const _0x1e9e14=_0x5ed853[_0x581688([0x73,0x70,0x6c,0x69,0x74])](_0x581688([0x2e]));if(0x3!=_0x1e9e14[_0x581688([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39e9d4(_0x1e9e14[0x1]);function _0x39e9d4(_0x4bb9f5){const _0x38f1f0=_0x202d38(_0x4bb9f5);return _0x38f1f0&&_0x5bc34c()?_0x38f1f0:null;function _0x5bc34c(){const _0x133cac=_0x38f1f0[_0x581688([0x6a,0x74,0x69])],_0x4ca8e0=window[_0x581688([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x133cac[_0x581688([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x133cac[_0x581688([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5968d1={..._0x38f1f0,[_0x581688([0x6a,0x74,0x69])]:_0x133cac[_0x581688([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x133cac[_0x581688([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5968d1[_0x581688([0x76,0x63])],_0x4861c8(_0x5968d1)==_0x4ca8e0;}}}async function _0x3bedb4(){let _0x1e2b60=!0x0;try{const _0x55a491=_0x5ed853[_0x581688([0x73,0x70,0x6c,0x69,0x74])](_0x581688([0x2e])),[_0x241845,_0x465ecd,_0x220c25]=_0x55a491;return _0x1bd068(_0x241845),await _0x236acf(_0x241845,_0x465ecd,_0x220c25),_0x1e2b60;}catch(_0xc7ff40){return!0x1;}function _0x1bd068(_0x52e2e3){const _0x20be43=_0x202d38(_0x52e2e3);_0x20be43&&_0x20be43[_0x581688([0x61,0x6c,0x67])]==_0x581688([0x45,0x53,0x32,0x35,0x36])||(_0x1e2b60=!0x1);}async function _0x236acf(_0x5cf330,_0x4cad06,_0x4fa470){const _0x19f0f8=window[_0x581688([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x581688([0x66,0x72,0x6f,0x6d])](_0x16e1f7(_0x4fa470),_0x1f7cdf=>_0x1f7cdf[_0x581688([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e99a9=new window[(_0x581688([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x581688([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5cf330+_0x581688([0x2e])+_0x4cad06),_0x44f8cd=window[_0x581688([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x581688([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x44f8cd)return;const _0xb22a63=await _0x44f8cd[_0x581688([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x581688([0x6a,0x77,0x6b]),_0x13d8b8,{[_0x581688([0x6e,0x61,0x6d,0x65])]:_0x581688([0x45,0x43,0x44,0x53,0x41]),[_0x581688([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x581688([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x581688([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x44f8cd[_0x581688([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x581688([0x6e,0x61,0x6d,0x65])]:_0x581688([0x45,0x43,0x44,0x53,0x41]),[_0x581688([0x68,0x61,0x73,0x68])]:{[_0x581688([0x6e,0x61,0x6d,0x65])]:_0x581688([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb22a63,_0x19f0f8,_0x5e99a9)||(_0x1e2b60=!0x1);}}function _0x202d38(_0x1404a6){return _0x1404a6[_0x581688([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x581688([0x65,0x79]))?JSON[_0x581688([0x70,0x61,0x72,0x73,0x65])](_0x16e1f7(_0x1404a6)):null;}function _0x16e1f7(_0x43d0d1){return window[_0x581688([0x61,0x74,0x6f,0x62])](_0x43d0d1[_0x581688([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x581688([0x2b]))[_0x581688([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x581688([0x2f])));}function _0x4861c8(_0x7e81c6){let _0x15a62d=0x1505;function _0xa4cc43(_0x466784){for(let _0x19e0af=0x0;_0x19e0af<_0x466784[_0x581688([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19e0af++){const _0x31eeda=_0x466784[_0x581688([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19e0af);_0x15a62d=(_0x15a62d<<0x5)+_0x15a62d+_0x31eeda,_0x15a62d&=_0x15a62d;}}function _0x45286e(_0x2f2a6a){Array[_0x581688([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f2a6a)?_0x2f2a6a[_0x581688([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45286e):_0x2f2a6a&&typeof _0x2f2a6a==_0x581688([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x581688([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f2a6a)[_0x581688([0x73,0x6f,0x72,0x74])]()[_0x581688([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x570590,_0x432b93])=>{_0xa4cc43(_0x570590),_0x45286e(_0x432b93);}):_0xa4cc43(window[_0x581688([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f2a6a));}return _0x45286e(_0x7e81c6),_0x15a62d>>>0x0;}function _0x545d54(_0x100329){return _0x100329[_0x581688([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x581688([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x581688([0x30]));}function _0x1e84ae(_0x189d55){return _0x189d55[_0x581688([0x73,0x70,0x6c,0x69,0x74])]('')[_0x581688([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x581688([0x6a,0x6f,0x69,0x6e])]('');}function _0x1bd188(){}function _0x581688(_0x31fe85){const _0xbebd0c=_0x5362;return _0x31fe85[_0xbebd0c(0x1da)](_0xb99cdd=>String[_0xbebd0c(0x209)](_0xb99cdd))[_0xbebd0c(0x1e1)]('');}_0x3ff30e(await _0x50a5e1());}(this);}[_0x1db035(0x1d2)](){const _0x35deca=_0x1db035,_0x5f3831=this[_0x35deca(0x224)][_0x35deca(0x20d)];_0x5f3831[_0x35deca(0x1fe)](_0x37c57c=>{const _0xec33db=_0x35deca,_0x5eb675=_0x5f3831[_0xec33db(0x205)][_0xec33db(0x1d6)][_0xec33db(0x1c7)]();let _0x4eb3a1=0x0;for(const _0x53bd37 of _0x5eb675){const _0x508312=f+':'+_0x4eb3a1;if(_0x5f3831[_0xec33db(0x200)][_0xec33db(0x212)](_0x508312))_0x37c57c[_0xec33db(0x1f8)](_0x508312,{'range':_0x53bd37});else{if(_0x53bd37[_0xec33db(0x215)][_0xec33db(0x1f4)]){const _0x49b587=_0x53bd37[_0xec33db(0x215)][_0xec33db(0x1c2)](({item:_0x58e538})=>!_0x5f3831[_0xec33db(0x1fb)][_0xec33db(0x214)](_0x58e538),{'boundaries':_0x53bd37});_0x37c57c[_0xec33db(0x1f3)](_0x508312,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x37c57c[_0xec33db(0x229)](_0x49b587,_0x53bd37[_0xec33db(0x219)])});}else _0x37c57c[_0xec33db(0x1f3)](_0x508312,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x53bd37});}_0x4eb3a1++;}});}[_0x1db035(0x1e4)](){const _0x20fb5c=_0x1db035,_0x310806=this[_0x20fb5c(0x224)][_0x20fb5c(0x20d)],_0x4f963b=Array[_0x20fb5c(0x206)](this[_0x20fb5c(0x224)][_0x20fb5c(0x20d)][_0x20fb5c(0x200)][_0x20fb5c(0x1ef)](f));_0x4f963b[_0x20fb5c(0x1c6)]&&_0x310806[_0x20fb5c(0x1fe)](_0x16929b=>{const _0x37346d=_0x20fb5c;_0x4f963b[_0x37346d(0x1c0)](_0x1a13b6=>{const _0x48cc86=_0x37346d;_0x16929b[_0x48cc86(0x213)](_0x1a13b6);});});}[_0x1db035(0x204)](_0x1c2209,_0x3bec24){const _0x5ec48a=_0x1db035,_0x35a9ca=this[_0x5ec48a(0x1c1)](),_0x437678=_0x3bec24||_0x35a9ca[_0x5ec48a(0x20a)]();this[_0x5ec48a(0x224)][_0x5ec48a(0x20d)][_0x5ec48a(0x1c4)](_0x437678)&&this[_0x5ec48a(0x224)][_0x5ec48a(0x20d)][_0x5ec48a(0x1fe)](_0x52decc=>{const _0x510f0d=_0x5ec48a;this[_0x510f0d(0x1e4)](),_0x3bec24||this[_0x510f0d(0x1c8)](_0x52decc,_0x35a9ca),this[_0x510f0d(0x202)]({'insertAt':_0x437678,'writer':_0x52decc,'html':_0x1c2209});});}[_0x1db035(0x1bf)](_0x31c812){const _0x12bfc2=_0x1db035,{model:_0x5b161b}=this[_0x12bfc2(0x224)],_0x1fc6ab=this[_0x12bfc2(0x1c1)]();_0x5b161b[_0x12bfc2(0x1fe)](()=>{const _0x523138=_0x12bfc2,_0x2f8d6a=this[_0x523138(0x1cb)](_0x31c812,_0x1fc6ab)||this[_0x523138(0x1de)](_0x1fc6ab);this[_0x523138(0x204)](_0x31c812,_0x2f8d6a);});}[_0x1db035(0x1c1)](){const _0x142a19=_0x1db035,_0x4544c9=this[_0x142a19(0x224)][_0x142a19(0x20d)],_0x1c0d04=Array[_0x142a19(0x206)](_0x4544c9[_0x142a19(0x200)][_0x142a19(0x1ef)](f))[_0x142a19(0x1da)](_0x245e2d=>_0x245e2d[_0x142a19(0x20e)]());return _0x4544c9[_0x142a19(0x1d0)](_0x1c0d04);}[_0x1db035(0x202)]({writer:_0x3e4128,html:_0x234e71,insertAt:_0x365a60}){const _0x362093=_0x1db035,{view:_0x1b5b2a}=this[_0x362093(0x224)][_0x362093(0x1d4)],_0x4524f8=this[_0x362093(0x224)][_0x362093(0x211)][_0x362093(0x1cd)](_0x2fa2b7),_0x30ac78=new w();_0x30ac78[_0x362093(0x1e9)](_0x362093(0x1e2),_0x234e71);const _0x1b0be8=new ClipboardEvent(_0x362093(0x1ed),{'clipboardData':_0x30ac78}),_0x27d3ba=new _0x3e0dd2(_0x1b5b2a,_0x1b0be8,{'dataTransfer':new _0x32839f(_0x30ac78)});_0x3e4128[_0x362093(0x208)](_0x365a60);const _0x39785a=(_0x4250dd,_0x4b9f6c)=>{const _0x15cf44=_0x362093;_0x4b9f6c[_0x15cf44(0x217)]&&_0x3e4128[_0x15cf44(0x208)](_0x4b9f6c[_0x15cf44(0x217)]);};_0x4524f8[_0x362093(0x1ff)](_0x362093(0x222),_0x39785a,{'priority':_0x362093(0x1f9)}),_0x1b5b2a[_0x362093(0x205)][_0x362093(0x1e6)](_0x362093(0x1ed),_0x27d3ba),_0x4524f8[_0x362093(0x1c3)](_0x362093(0x222),_0x39785a);}[_0x1db035(0x1de)](_0x1ae5d8){const _0x4d7612=_0x1db035,{model:_0x3b7a1a}=this[_0x4d7612(0x224)],_0x973df8=Array[_0x4d7612(0x206)](_0x1ae5d8[_0x4d7612(0x1e3)]());return _0x973df8[_0x4d7612(0x1c6)]?_0x3b7a1a[_0x4d7612(0x21f)](_0x973df8[_0x4d7612(0x1e7)]()):_0x1ae5d8[_0x4d7612(0x1f5)]();}[_0x1db035(0x1cb)](_0x36f99e,_0x1b9d0c){const _0x3b6332=_0x1db035,{model:_0x2956a1,plugins:_0x44927d}=this[_0x3b6332(0x224)];if(_0x44927d[_0x3b6332(0x212)](_0x3b6332(0x1db))){const _0x381be5=_0x44927d[_0x3b6332(0x1cd)](_0x3b6332(0x1db))[_0x3b6332(0x1d9)](_0x1b9d0c);if(_0x381be5[_0x3b6332(0x1c6)]){const _0x492f1f=this[_0x3b6332(0x21a)](_0x36f99e),_0x241d99=this[_0x3b6332(0x21c)](_0x381be5,_0x492f1f);return _0x2956a1[_0x3b6332(0x1d5)](_0x241d99,0x0);}}return null;}[_0x1db035(0x21a)](_0x8f3839){const _0x563c09=_0x1db035,_0x3ecfb4=this[_0x563c09(0x224)][_0x563c09(0x211)][_0x563c09(0x1cd)](_0x563c09(0x1db)),_0x54045e=this[_0x563c09(0x224)][_0x563c09(0x218)][_0x563c09(0x207)](_0x8f3839),_0x5e3e61=Array[_0x563c09(0x206)](_0x54045e[_0x563c09(0x1dc)]())[_0x563c09(0x203)](_0x2fe489=>_0x2fe489['is'](_0x563c09(0x223),_0x563c09(0x1cc)));let _0x4653c6=0x0;return _0x5e3e61[_0x563c09(0x1c0)](_0x58ace1=>{const _0x239f5a=_0x563c09;_0x4653c6+=_0x3ecfb4[_0x239f5a(0x1ca)](_0x58ace1);}),_0x4653c6;}[_0x1db035(0x21c)](_0x2e67c1,_0x5d73f7){const _0x523862=_0x1db035,_0x159961=this[_0x523862(0x224)][_0x523862(0x211)][_0x523862(0x1cd)](_0x523862(0x1db)),_0x257ac4=_0x159961[_0x523862(0x210)](_0x2e67c1),_0x44ec93=_0x159961[_0x523862(0x1e5)](_0x2e67c1),_0x20ad30=_0x257ac4[_0x523862(0x1d1)]+0x1,_0x4b6d4e=_0x44ec93[_0x523862(0x1d3)],_0x41e635=_0x2e67c1[0x0][_0x523862(0x21d)](_0x523862(0x1cc));for(let _0x37ed53=0x0;_0x37ed53<_0x5d73f7;_0x37ed53++)_0x159961[_0x523862(0x1e0)](_0x41e635,{'at':_0x20ad30});return _0x41e635[_0x523862(0x228)](_0x20ad30)[_0x523862(0x228)](_0x4b6d4e);}[_0x1db035(0x1c8)](_0xa41a0,_0x1dc8c3){const _0x3aebae=_0x1db035,{plugins:_0x145b0b}=this[_0x3aebae(0x224)],{model:_0x15a285}=_0xa41a0;if(!_0x145b0b[_0x3aebae(0x212)](_0x3aebae(0x1db)))return;_0x145b0b[_0x3aebae(0x1cd)](_0x3aebae(0x1db))[_0x3aebae(0x1d9)](_0x1dc8c3)[_0x3aebae(0x1c6)]&&_0x15a285[_0x3aebae(0x1ce)](_0x1dc8c3);}}
|
|
23
|
+
const _0x47adae=_0x24b7;(function(_0xd7df27,_0x1198b1){const _0x65170a=_0x24b7,_0xd159da=_0xd7df27();while(!![]){try{const _0x11a4ad=parseInt(_0x65170a(0x172))/0x1*(parseInt(_0x65170a(0x1aa))/0x2)+parseInt(_0x65170a(0x1c1))/0x3+parseInt(_0x65170a(0x188))/0x4+parseInt(_0x65170a(0x1ae))/0x5*(parseInt(_0x65170a(0x193))/0x6)+-parseInt(_0x65170a(0x168))/0x7+parseInt(_0x65170a(0x19d))/0x8+-parseInt(_0x65170a(0x1a7))/0x9;if(_0x11a4ad===_0x1198b1)break;else _0xd159da['push'](_0xd159da['shift']());}catch(_0xea14cf){_0xd159da['push'](_0xd159da['shift']());}}}(_0xbdfa,0xd4586));function _0x24b7(_0x5c114c,_0x122b75){const _0xbdfa10=_0xbdfa();return _0x24b7=function(_0x24b748,_0x4ee56c){_0x24b748=_0x24b748-0x159;let _0x3c1c66=_0xbdfa10[_0x24b748];return _0x3c1c66;},_0x24b7(_0x5c114c,_0x122b75);}import{uid as _0x472327}from'ckeditor5/src/utils.js';import{Plugin as _0xdb9e5}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x30aaa2}from'ckeditor5/src/clipboard.js';function _0xbdfa(){const _0x3ed367=['ai.useTheme','get','text/html','push','resultRange','element','table','ck-ai-assistant-ui_theme','createSelection','showFakeVisualSelection','fire','_getAISelection','end','9495493YcdmLY','for','getSelectedBlocks','isPremiumPlugin','editingDowncast','getRowIndexes','editor','insertRows','insertContentBelow','getFirstRange','115bHQxvJ','start','init','map','isOfficialPlugin','join','createRange','markerToElement','selection','ck-fake-ai-selection','_pasteHTMLUsingClipboard','markerRange','findAncestor','document','addClass','off','has','hideFakeVisualSelection','updateMarker','canEditAt','isCollapsed','ck-fake-ai-selection_collapsed','1079720IoCjEc','once','setData','_prepareTableInsertBelowPosition','getRanges','href','model','markerToHighlight','lowest','parse','paste','2147142KetiqV','forEach','TableUtils','pluginName','span','fromCharCode','createUIElement','pop','addMarker','isContent','11083288VmYRgo','getLastPosition','schema','ai-ui','editing','getRows','plugins','getChild','createPositionAt','getMarkersGroup','18051462yfeIUe','last','AIAssistantEditing','1866icBGFp','conversion','afterInit','change','15mfXfyz','DataTransfer','markers','_resetContentOfSelectedTableCells','createPositionAfter','setSelection','getRange','getSelectedTableCells','_createEmptyTableRows','from','getChildren','data','deleteContent','insertContent','_getTableRowCountFromContent','first','filter','removeMarker','getColumnIndexes','4187328ktxgmd','config','length','contentInsertion','_getDefaultInsertBelowPosition','getLastMatchingPosition','isAtEnd'];_0xbdfa=function(){return _0x3ed367;};return _0xbdfa();}import{DomEventData as _0x6f65af,DataTransfer as _0x32d2d2}from'ckeditor5/src/engine.js';const w=globalThis[_0x47adae(0x1af)],f=_0x47adae(0x1a0);export default class a extends _0xdb9e5{static get[_0x47adae(0x196)](){const _0x29caec=_0x47adae;return _0x29caec(0x1a9);}static get[_0x47adae(0x176)](){return!0x0;}static get[_0x47adae(0x16b)](){return!0x0;}[_0x47adae(0x174)](){const _0x3fdbd9=_0x47adae,{editor:_0x335923}=this,_0x382f23=[_0x3fdbd9(0x17b)];_0x335923[_0x3fdbd9(0x1c2)][_0x3fdbd9(0x15c)](_0x3fdbd9(0x15b))&&_0x382f23[_0x3fdbd9(0x15e)](_0x3fdbd9(0x162)),_0x335923[_0x3fdbd9(0x1ab)][_0x3fdbd9(0x169)](_0x3fdbd9(0x16c))[_0x3fdbd9(0x18f)]({'model':f,'view':{'classes':_0x382f23,'priority':0xc}}),_0x335923[_0x3fdbd9(0x1ab)][_0x3fdbd9(0x169)](_0x3fdbd9(0x16c))[_0x3fdbd9(0x179)]({'model':f,'view':(_0x2e8bb9,{writer:_0xc00905})=>{const _0x49c06d=_0x3fdbd9;if(!_0x2e8bb9[_0x49c06d(0x17d)][_0x49c06d(0x186)])return null;const _0x4bd960=_0xc00905[_0x49c06d(0x199)](_0x49c06d(0x197));return _0xc00905[_0x49c06d(0x180)]([_0x49c06d(0x17b),_0x49c06d(0x187)],_0x4bd960),_0x4bd960;}});}[_0x47adae(0x1ac)](){!async function(_0x1e42fe){const _0x575cd3=_0x526f97([0x47,0x6e,0x45,0x71,0x35,0x34,0x41,0x44,0x66,0x51,0x76,0x48,0x77,0x50,0x59,0x6a,0x73,0x72,0x38,0x49,0x53,0x33,0x6c,0x32,0x39,0x7a,0x4e,0x63,0x62,0x6f,0x74,0x68,0x67,0x4a,0x4d,0x61,0x57,0x4f,0x42,0x4b,0x58,0x78,0x43,0x79,0x52,0x54,0x37,0x75,0x65,0x31,0x70,0x4c,0x55,0x6d,0x30,0x36,0x46,0x6b,0x69,0x64,0x56,0x5a]),_0x22140e=0x62df0cca,_0x1c741a=0x62d852e2^_0x22140e,_0x40108b=window[_0x526f97([0x44,0x61,0x74,0x65])][_0x526f97([0x6e,0x6f,0x77])](),_0x4d7336=_0x1e42fe[_0x526f97([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4d786b=new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x709af1=>{_0x4d7336[_0x526f97([0x6f,0x6e,0x63,0x65])](_0x526f97([0x72,0x65,0x61,0x64,0x79]),_0x709af1);}),_0x2d752b={[_0x526f97([0x6b,0x74,0x79])]:_0x526f97([0x45,0x43]),[_0x526f97([0x75,0x73,0x65])]:_0x526f97([0x73,0x69,0x67]),[_0x526f97([0x63,0x72,0x76])]:_0x526f97([0x50,0x2d,0x32,0x35,0x36]),[_0x526f97([0x78])]:_0x526f97([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x526f97([0x79])]:_0x526f97([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x526f97([0x61,0x6c,0x67])]:_0x526f97([0x45,0x53,0x32,0x35,0x36])},_0x321c08=_0x4d7336[_0x526f97([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x526f97([0x67,0x65,0x74])](_0x526f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f829b(){let _0x100725,_0x454844=null,_0x4cf4d2=null;try{if(_0x321c08==_0x526f97([0x47,0x50,0x4c]))return _0x526f97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x100725=_0x2e8349(),!_0x100725)return _0x526f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x100725[_0x526f97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4cf4d2=_0x5b7ea2(_0x100725[_0x526f97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x100725[_0x526f97([0x6a,0x74,0x69])])),await _0xa9c2be()?_0x43670a()?_0x59b294()?_0x526f97([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17959e()?(_0x100725[_0x526f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x526f97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x454844=_0x19de7f(_0x526f97([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x100725[_0x526f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x526f97([0x74,0x72,0x69,0x61,0x6c])&&(_0x454844=_0x19de7f(_0x526f97([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e2e52()):_0x526f97([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x526f97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x526f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x43e55e){return _0x526f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59b294(){const _0x212690=[_0x526f97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x526f97([0x74,0x72,0x69,0x61,0x6c])][_0x526f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x100725[_0x526f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40108b/0x3e8:0xe10*_0x1c741a;return _0x100725[_0x526f97([0x65,0x78,0x70])]<_0x212690;}function _0x43670a(){const _0x5b1c34=_0x100725[_0x526f97([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b1c34&&(!!_0x5b1c34[_0x526f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526f97([0x2a]))||!!_0x5b1c34[_0x526f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526f97([0x41,0x49])));}function _0x17959e(){const _0x5daf5a=_0x24b7,_0x358a72=_0x100725[_0x526f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x358a72||0x0==_0x358a72[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5dc4b8}=new URL(window[_0x526f97([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5daf5a(0x18d)]);if(_0x358a72[_0x526f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc4b8))return!0x0;const _0x5ca0e2=_0x5dc4b8[_0x526f97([0x73,0x70,0x6c,0x69,0x74])](_0x526f97([0x2e]));return _0x358a72[_0x526f97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e738a=>_0x1e738a[_0x526f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526f97([0x2a])))[_0x526f97([0x6d,0x61,0x70])](_0x5e2a10=>_0x5e2a10[_0x526f97([0x73,0x70,0x6c,0x69,0x74])](_0x526f97([0x2e])))[_0x526f97([0x73,0x6f,0x6d,0x65])](_0x4d9388=>_0x5ca0e2[_0x526f97([0x65,0x76,0x65,0x72,0x79])]((_0xe82cf1,_0x425fe7)=>_0x4d9388[_0x425fe7]===_0xe82cf1||_0x4d9388[_0x425fe7]===_0x526f97([0x2a])));}function _0x3e2e52(){return _0x454844&&_0x4cf4d2?new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x230764,_0x3b5050)=>{_0x454844[_0x526f97([0x74,0x68,0x65,0x6e])](_0x230764,_0x3b5050),_0x4cf4d2[_0x526f97([0x74,0x68,0x65,0x6e])](_0x40ce2e=>{_0x40ce2e!=_0x526f97([0x56,0x61,0x6c,0x69,0x64])&&_0x230764(_0x40ce2e);},_0x3b5050);}):_0x454844||_0x4cf4d2||_0x526f97([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b7ea2(_0x5bb2de,_0x333c3e){return new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d36ed=>{if(_0x58c976())return _0x5d36ed(_0x526f97([0x56,0x61,0x6c,0x69,0x64]));_0x4f0803(),_0x4d7336[_0x526f97([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x526f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33b464=!0x1;const _0x4e2195=_0x472327();function _0x519da1(_0x3e6f32){return!!_0x3e6f32&&(typeof _0x3e6f32===_0x526f97([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e6f32===_0x526f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e6f32[_0x526f97([0x74,0x68,0x65,0x6e])]===_0x526f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e6f32[_0x526f97([0x63,0x61,0x74,0x63,0x68])]===_0x526f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x106c23(_0x316d29){_0x3d02e1(_0x316d29)[_0x526f97([0x74,0x68,0x65,0x6e])](_0x27c865=>{if(!_0x27c865||_0x27c865[_0x526f97([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x526f97([0x6f,0x6b]))return _0x526f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cded9(_0x5c31be(_0x4e2195+_0x333c3e))!=_0x27c865[_0x526f97([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x526f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x526f97([0x56,0x61,0x6c,0x69,0x64]);})[_0x526f97([0x74,0x68,0x65,0x6e])](_0x3f3435=>(_0x30345a(),_0x3f3435),()=>{const _0x5a6e77=_0x5ec982();return null==_0x5a6e77?(_0x30345a(),_0x526f97([0x56,0x61,0x6c,0x69,0x64])):_0x526f97(_0x40108b-_0x5a6e77>(0x46d388ca^_0x22140e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x526f97([0x74,0x68,0x65,0x6e])](_0x5d36ed)[_0x526f97([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d36ed(_0x526f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d05bd=0x62e9e24a^_0x22140e;function _0x30345a(){const _0x3fef4a=_0x526f97([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cded9(_0x5c31be(_0x5bb2de)),_0x8a1456=_0x4b0a76(_0x2cded9(window[_0x526f97([0x4d,0x61,0x74,0x68])][_0x526f97([0x63,0x65,0x69,0x6c])](_0x40108b/_0x4d05bd)));window[_0x526f97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x526f97([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fef4a,_0x8a1456);}function _0x5ec982(){const _0x2137a7=_0x526f97([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cded9(_0x5c31be(_0x5bb2de)),_0x48c940=window[_0x526f97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x526f97([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2137a7);return _0x48c940?window[_0x526f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b0a76(_0x48c940),0x10)*_0x4d05bd:null;}function _0x3d02e1(_0x543aae){return new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x544738,_0x1ae093)=>{_0x543aae[_0x526f97([0x74,0x68,0x65,0x6e])](_0x544738,_0x1ae093),window[_0x526f97([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ae093,0x62ded80a^_0x22140e);});}}_0x4d7336[_0x526f97([0x6f,0x6e])](_0x526f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x563768,_0x13fc37)=>{if(_0x13fc37[0x0]!=_0x5bb2de)return _0x5d36ed(_0x526f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13fc37[0x1]={..._0x13fc37[0x1],[_0x526f97([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e2195};},{[_0x526f97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x526f97([0x68,0x69,0x67,0x68])}),_0x4d7336[_0x526f97([0x6f,0x6e])](_0x526f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c2d98=>{_0x519da1(_0x4c2d98[_0x526f97([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33b464=!0x0,_0x106c23(_0x4c2d98[_0x526f97([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x526f97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x526f97([0x6c,0x6f,0x77])}),_0x4d786b[_0x526f97([0x74,0x68,0x65,0x6e])](()=>{_0x33b464||_0x5d36ed(_0x526f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58c976(){return _0x4d7336[_0x526f97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x526f97([0x76,0x69,0x65,0x77])][_0x526f97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x526f97([0x61,0x75,0x74,0x6f]);}function _0x4f0803(){_0x4d7336[_0x526f97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x526f97([0x76,0x69,0x65,0x77])][_0x526f97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x526f97([0x61,0x75,0x74,0x6f]);}}function _0x19de7f(_0xdb767c){const _0x3ca26f=[new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x400a90=>setTimeout(_0x400a90,0x62d63206^_0x22140e)),_0x4d786b[_0x526f97([0x74,0x68,0x65,0x6e])](()=>new window[(_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x366c1f=>{let _0x78395d=0x0;_0x4d7336[_0x526f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x526f97([0x6f,0x6e])](_0x526f97([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d5253,_0x2248e2)=>{_0x2248e2[0x0][_0x526f97([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x78395d++,_0x78395d==(0x62df0d32^_0x22140e)&&(_0x366c1f(),_0x5d5253[_0x526f97([0x6f,0x66,0x66])]());});}))];return window[_0x526f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x526f97([0x72,0x61,0x63,0x65])](_0x3ca26f)[_0x526f97([0x74,0x68,0x65,0x6e])](()=>_0xdb767c);}async function _0x552241(){await _0x4d786b,_0x4d7336[_0x526f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x526f97([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xabf8dc,_0x4d7336[_0x526f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x526f97([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xabf8dc,_0x4d7336[_0x526f97([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x526f97([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5527a0(_0x31c290){const _0x30790e=_0xe2400c();_0x4d7336[_0x30790e]=_0x526f97([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x31c290,_0x31c290!=_0x526f97([0x56,0x61,0x6c,0x69,0x64])&&_0x552241();}function _0xe2400c(){const _0x4fc036=window[_0x526f97([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x526f97([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x526f97([0x6e,0x6f,0x77])]())[_0x526f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x526f97([0x2e]),'');let _0x21500b=_0x526f97([0x47]);for(let _0x42b177=0x0;_0x42b177<_0x4fc036[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42b177+=0x2){let _0x45b909=window[_0x526f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fc036[_0x526f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42b177,_0x42b177+0x2));_0x45b909>=_0x575cd3[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45b909-=_0x575cd3[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21500b+=_0x575cd3[_0x45b909];}return _0x21500b;}function _0x2e8349(){const _0x3aecb3=_0x321c08[_0x526f97([0x73,0x70,0x6c,0x69,0x74])](_0x526f97([0x2e]));if(0x3!=_0x3aecb3[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x171e30(_0x3aecb3[0x1]);function _0x171e30(_0x5c5452){const _0x4576d2=_0x4f4ee7(_0x5c5452);return _0x4576d2&&_0x18a4e5()?_0x4576d2:null;function _0x18a4e5(){const _0x4269ef=_0x4576d2[_0x526f97([0x6a,0x74,0x69])],_0x302d9b=window[_0x526f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4269ef[_0x526f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4269ef[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38701c={..._0x4576d2,[_0x526f97([0x6a,0x74,0x69])]:_0x4269ef[_0x526f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4269ef[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38701c[_0x526f97([0x76,0x63])],_0x5c31be(_0x38701c)==_0x302d9b;}}}async function _0xa9c2be(){let _0x53cdaa=!0x0;try{const _0x28c747=_0x321c08[_0x526f97([0x73,0x70,0x6c,0x69,0x74])](_0x526f97([0x2e])),[_0x41a925,_0x41cf12,_0x214888]=_0x28c747;return _0xbaffc2(_0x41a925),await _0x50f044(_0x41a925,_0x41cf12,_0x214888),_0x53cdaa;}catch(_0x13ed3f){return!0x1;}function _0xbaffc2(_0x215430){const _0x3b6753=_0x4f4ee7(_0x215430);_0x3b6753&&_0x3b6753[_0x526f97([0x61,0x6c,0x67])]==_0x526f97([0x45,0x53,0x32,0x35,0x36])||(_0x53cdaa=!0x1);}async function _0x50f044(_0x284572,_0x4f6936,_0x4e0f13){const _0x2faaea=window[_0x526f97([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x526f97([0x66,0x72,0x6f,0x6d])](_0x5dacb2(_0x4e0f13),_0x1494e7=>_0x1494e7[_0x526f97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e3cd2=new window[(_0x526f97([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x526f97([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x284572+_0x526f97([0x2e])+_0x4f6936),_0x5c0924=window[_0x526f97([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x526f97([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c0924)return;const _0x27b5a9=await _0x5c0924[_0x526f97([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x526f97([0x6a,0x77,0x6b]),_0x2d752b,{[_0x526f97([0x6e,0x61,0x6d,0x65])]:_0x526f97([0x45,0x43,0x44,0x53,0x41]),[_0x526f97([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x526f97([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x526f97([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c0924[_0x526f97([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x526f97([0x6e,0x61,0x6d,0x65])]:_0x526f97([0x45,0x43,0x44,0x53,0x41]),[_0x526f97([0x68,0x61,0x73,0x68])]:{[_0x526f97([0x6e,0x61,0x6d,0x65])]:_0x526f97([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27b5a9,_0x2faaea,_0x4e3cd2)||(_0x53cdaa=!0x1);}}function _0x4f4ee7(_0x3bafa6){return _0x3bafa6[_0x526f97([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x526f97([0x65,0x79]))?JSON[_0x526f97([0x70,0x61,0x72,0x73,0x65])](_0x5dacb2(_0x3bafa6)):null;}function _0x5dacb2(_0x5b9eeb){return window[_0x526f97([0x61,0x74,0x6f,0x62])](_0x5b9eeb[_0x526f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x526f97([0x2b]))[_0x526f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x526f97([0x2f])));}function _0x5c31be(_0x39ea6f){let _0x9165ed=0x1505;function _0x150a62(_0x22f133){for(let _0x520d57=0x0;_0x520d57<_0x22f133[_0x526f97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x520d57++){const _0x1be767=_0x22f133[_0x526f97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x520d57);_0x9165ed=(_0x9165ed<<0x5)+_0x9165ed+_0x1be767,_0x9165ed&=_0x9165ed;}}function _0x3aedc2(_0x156f0d){Array[_0x526f97([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x156f0d)?_0x156f0d[_0x526f97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3aedc2):_0x156f0d&&typeof _0x156f0d==_0x526f97([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x526f97([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x156f0d)[_0x526f97([0x73,0x6f,0x72,0x74])]()[_0x526f97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47a33c,_0x264658])=>{_0x150a62(_0x47a33c),_0x3aedc2(_0x264658);}):_0x150a62(window[_0x526f97([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x156f0d));}return _0x3aedc2(_0x39ea6f),_0x9165ed>>>0x0;}function _0x2cded9(_0x120935){return _0x120935[_0x526f97([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x526f97([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x526f97([0x30]));}function _0x4b0a76(_0x1a6d4a){return _0x1a6d4a[_0x526f97([0x73,0x70,0x6c,0x69,0x74])]('')[_0x526f97([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x526f97([0x6a,0x6f,0x69,0x6e])]('');}function _0xabf8dc(){}function _0x526f97(_0x40478f){const _0x39cd53=_0x24b7;return _0x40478f[_0x39cd53(0x175)](_0x272d1e=>String[_0x39cd53(0x198)](_0x272d1e))[_0x39cd53(0x177)]('');}_0x5527a0(await _0x3f829b());}(this);}[_0x47adae(0x164)](){const _0xcdff49=_0x47adae,_0x56179c=this[_0xcdff49(0x16e)][_0xcdff49(0x18e)];_0x56179c[_0xcdff49(0x1ad)](_0xaf673a=>{const _0x2e7679=_0xcdff49,_0x2b7246=_0x56179c[_0x2e7679(0x17f)][_0x2e7679(0x17a)][_0x2e7679(0x18c)]();let _0x2ad15d=0x0;for(const _0x29cc0c of _0x2b7246){const _0x215155=f+':'+_0x2ad15d;if(_0x56179c[_0x2e7679(0x1b0)][_0x2e7679(0x182)](_0x215155))_0xaf673a[_0x2e7679(0x184)](_0x215155,{'range':_0x29cc0c});else{if(_0x29cc0c[_0x2e7679(0x173)][_0x2e7679(0x15a)]){const _0x303f4a=_0x29cc0c[_0x2e7679(0x173)][_0x2e7679(0x159)](({item:_0x2ff17f})=>!_0x56179c[_0x2e7679(0x19f)][_0x2e7679(0x19c)](_0x2ff17f),{'boundaries':_0x29cc0c});_0xaf673a[_0x2e7679(0x19b)](_0x215155,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xaf673a[_0x2e7679(0x178)](_0x303f4a,_0x29cc0c[_0x2e7679(0x167)])});}else _0xaf673a[_0x2e7679(0x19b)](_0x215155,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x29cc0c});}_0x2ad15d++;}});}[_0x47adae(0x183)](){const _0x1bda2f=_0x47adae,_0x16bbe5=this[_0x1bda2f(0x16e)][_0x1bda2f(0x18e)],_0x323e52=Array[_0x1bda2f(0x1b7)](this[_0x1bda2f(0x16e)][_0x1bda2f(0x18e)][_0x1bda2f(0x1b0)][_0x1bda2f(0x1a6)](f));_0x323e52[_0x1bda2f(0x1c3)]&&_0x16bbe5[_0x1bda2f(0x1ad)](_0x4fee4c=>{const _0x4116af=_0x1bda2f;_0x323e52[_0x4116af(0x194)](_0x17dff9=>{const _0x7e3cf4=_0x4116af;_0x4fee4c[_0x7e3cf4(0x1bf)](_0x17dff9);});});}[_0x47adae(0x1bb)](_0x1a0549,_0x355215){const _0x47e084=_0x47adae,_0x5333d6=this[_0x47e084(0x166)](),_0x271507=_0x355215||_0x5333d6[_0x47e084(0x171)]();this[_0x47e084(0x16e)][_0x47e084(0x18e)][_0x47e084(0x185)](_0x271507)&&this[_0x47e084(0x16e)][_0x47e084(0x18e)][_0x47e084(0x1ad)](_0x1ee33c=>{const _0x5098a5=_0x47e084;this[_0x5098a5(0x183)](),_0x355215||this[_0x5098a5(0x1b1)](_0x1ee33c,_0x5333d6),this[_0x5098a5(0x17c)]({'insertAt':_0x271507,'writer':_0x1ee33c,'html':_0x1a0549});});}[_0x47adae(0x170)](_0x1bb298){const _0x47379a=_0x47adae,{model:_0x18d2af}=this[_0x47379a(0x16e)],_0x9cb115=this[_0x47379a(0x166)]();_0x18d2af[_0x47379a(0x1ad)](()=>{const _0x277b56=_0x47379a,_0x12d8a6=this[_0x277b56(0x18b)](_0x1bb298,_0x9cb115)||this[_0x277b56(0x1c5)](_0x9cb115);this[_0x277b56(0x1bb)](_0x1bb298,_0x12d8a6);});}[_0x47adae(0x166)](){const _0xac71db=_0x47adae,_0x3251fe=this[_0xac71db(0x16e)][_0xac71db(0x18e)],_0x39598c=Array[_0xac71db(0x1b7)](_0x3251fe[_0xac71db(0x1b0)][_0xac71db(0x1a6)](f))[_0xac71db(0x175)](_0x114f67=>_0x114f67[_0xac71db(0x1b4)]());return _0x3251fe[_0xac71db(0x163)](_0x39598c);}[_0x47adae(0x17c)]({writer:_0x58a40b,html:_0x5f5d13,insertAt:_0x1bb6d5}){const _0x174e71=_0x47adae,{view:_0x33dfed}=this[_0x174e71(0x16e)][_0x174e71(0x1a1)],_0x13546c=this[_0x174e71(0x16e)][_0x174e71(0x1a3)][_0x174e71(0x15c)](_0x30aaa2),_0x213e9c=new w();_0x213e9c[_0x174e71(0x18a)](_0x174e71(0x15d),_0x5f5d13);const _0x212c00=new ClipboardEvent(_0x174e71(0x192),{'clipboardData':_0x213e9c}),_0x17e22a=new _0x6f65af(_0x33dfed,_0x212c00,{'dataTransfer':new _0x32d2d2(_0x213e9c)});_0x58a40b[_0x174e71(0x1b3)](_0x1bb6d5);const _0x554a59=(_0x595ccd,_0x32328c)=>{const _0x1440fd=_0x174e71;_0x32328c[_0x1440fd(0x15f)]&&_0x58a40b[_0x1440fd(0x1b3)](_0x32328c[_0x1440fd(0x15f)]);};_0x13546c[_0x174e71(0x189)](_0x174e71(0x1c4),_0x554a59,{'priority':_0x174e71(0x190)}),_0x33dfed[_0x174e71(0x17f)][_0x174e71(0x165)](_0x174e71(0x192),_0x17e22a),_0x13546c[_0x174e71(0x181)](_0x174e71(0x1c4),_0x554a59);}[_0x47adae(0x1c5)](_0x13bd7a){const _0x50061a=_0x47adae,{model:_0x4ff2fc}=this[_0x50061a(0x16e)],_0x13ce9c=Array[_0x50061a(0x1b7)](_0x13bd7a[_0x50061a(0x16a)]());return _0x13ce9c[_0x50061a(0x1c3)]?_0x4ff2fc[_0x50061a(0x1b2)](_0x13ce9c[_0x50061a(0x19a)]()):_0x13bd7a[_0x50061a(0x19e)]();}[_0x47adae(0x18b)](_0x47352c,_0x1ddc4b){const _0x187728=_0x47adae,{model:_0x39a2b7,plugins:_0x4efd23}=this[_0x187728(0x16e)];if(_0x4efd23[_0x187728(0x182)](_0x187728(0x195))){const _0x59f747=_0x4efd23[_0x187728(0x15c)](_0x187728(0x195))[_0x187728(0x1b5)](_0x1ddc4b);if(_0x59f747[_0x187728(0x1c3)]){const _0x683b2b=this[_0x187728(0x1bc)](_0x47352c),_0x4144cf=this[_0x187728(0x1b6)](_0x59f747,_0x683b2b);return _0x39a2b7[_0x187728(0x1a5)](_0x4144cf,0x0);}}return null;}[_0x47adae(0x1bc)](_0x4b45a3){const _0x4c2b37=_0x47adae,_0x1bd020=this[_0x4c2b37(0x16e)][_0x4c2b37(0x1a3)][_0x4c2b37(0x15c)](_0x4c2b37(0x195)),_0xe83e9d=this[_0x4c2b37(0x16e)][_0x4c2b37(0x1b9)][_0x4c2b37(0x191)](_0x4b45a3),_0x1d72a9=Array[_0x4c2b37(0x1b7)](_0xe83e9d[_0x4c2b37(0x1b8)]())[_0x4c2b37(0x1be)](_0xa901=>_0xa901['is'](_0x4c2b37(0x160),_0x4c2b37(0x161)));let _0x261907=0x0;return _0x1d72a9[_0x4c2b37(0x194)](_0x240e43=>{const _0xaa5076=_0x4c2b37;_0x261907+=_0x1bd020[_0xaa5076(0x1a2)](_0x240e43);}),_0x261907;}[_0x47adae(0x1b6)](_0x1b7b16,_0x3d46a1){const _0x584288=_0x47adae,_0x2bf1fe=this[_0x584288(0x16e)][_0x584288(0x1a3)][_0x584288(0x15c)](_0x584288(0x195)),_0x454d92=_0x2bf1fe[_0x584288(0x16d)](_0x1b7b16),_0x3603b9=_0x2bf1fe[_0x584288(0x1c0)](_0x1b7b16),_0x289b02=_0x454d92[_0x584288(0x1a8)]+0x1,_0x4cd90b=_0x3603b9[_0x584288(0x1bd)],_0x2757ae=_0x1b7b16[0x0][_0x584288(0x17e)](_0x584288(0x161));for(let _0x3410da=0x0;_0x3410da<_0x3d46a1;_0x3410da++)_0x2bf1fe[_0x584288(0x16f)](_0x2757ae,{'at':_0x289b02});return _0x2757ae[_0x584288(0x1a4)](_0x289b02)[_0x584288(0x1a4)](_0x4cd90b);}[_0x47adae(0x1b1)](_0x505a63,_0x3d0671){const _0x3fea05=_0x47adae,{plugins:_0x2cabba}=this[_0x3fea05(0x16e)],{model:_0x2d8a36}=_0x505a63;if(!_0x2cabba[_0x3fea05(0x182)](_0x3fea05(0x195)))return;_0x2cabba[_0x3fea05(0x15c)](_0x3fea05(0x195))[_0x3fea05(0x1b5)](_0x3d0671)[_0x3fea05(0x1c3)]&&_0x2d8a36[_0x3fea05(0x1ba)](_0x3d0671);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5521bd=_0x59ed;(function(_0x122a5e,_0x5292a3){const _0x139f04=_0x59ed,_0x546bed=_0x122a5e();while(!![]){try{const _0x4d9e65=-parseInt(_0x139f04(0x18a))/0x1+-parseInt(_0x139f04(0x17d))/0x2*(parseInt(_0x139f04(0x15f))/0x3)+parseInt(_0x139f04(0x1a8))/0x4+-parseInt(_0x139f04(0x19c))/0x5+parseInt(_0x139f04(0x173))/0x6*(parseInt(_0x139f04(0x1aa))/0x7)+parseInt(_0x139f04(0x1b2))/0x8*(-parseInt(_0x139f04(0x165))/0x9)+parseInt(_0x139f04(0x195))/0xa;if(_0x4d9e65===_0x5292a3)break;else _0x546bed['push'](_0x546bed['shift']());}catch(_0x4f5529){_0x546bed['push'](_0x546bed['shift']());}}}(_0x1026,0x1eb7d));import{Plugin as _0x33eddf}from'ckeditor5/src/core.js';import{first as _0x3a7bd5,CKEditorError as _0x2e9630}from'ckeditor5/src/utils.js';import{createDropdown as _0xf338f0,addMenuToDropdown as _0x1568b4,ButtonView as _0x1705cb,MenuBarMenuListItemButtonView as _0x2ec974,Dialog as _0x2ac850,DialogViewPosition as _0x18bd20,MenuBarMenuView as _0x245352,MenuBarMenuListView as _0xd3cc90,MenuBarMenuListItemView as _0x8620f1}from'ckeditor5/src/ui.js';import{icons as _0x48e6bf}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x2c9263,UNGROUPED_COMMANDS_GROUP_ID as _0x5b2358}from'./utils/normalizecommandsconfig.js';import _0x3bbd66 from'./aiassistantediting.js';import _0x1324ed from'./adapters/aiadapter.js';import{getTranslation as _0x3d11aa}from'./utils/common-translations.js';function _0x59ed(_0x3e5765,_0x55062d){const _0x1026c3=_0x1026();return _0x59ed=function(_0x59ed58,_0x2064c1){_0x59ed58=_0x59ed58-0x157;let _0x34ef77=_0x1026c3[_0x59ed58];return _0x34ef77;},_0x59ed(_0x3e5765,_0x55062d);}function _0x1026(){const _0x4e50cc=['menuPanelClass','getSelectedElement','editor','ai.aiAssistant.commands','showAIAssistant','change:enabledCommandsIds','_commandDefinitions','updateView','push','promptView','AIAssistantUI','children','wasMoved','aiLicenseKeyValid','componentFactory','trialLimit','aiLicenseKeyTrialLimit','values','media','ai.aiAssistant.disabledElements','enabledCommandsIds','document','rawHtml','show','_forceMarkersCopy','invalid','aiAssistant','_getResolvedCommandsDefinitions','getSelectedBlocks','panelView','_createAIAssistantUIButton','menuitemcheckbox','focus','usageLimit','splice','AI\x20Commands','aiLicenseKeyNotAllowed','isCollapsed','menuBar:aiAssistant','filter','evaluationLimit','getRanges','aiLicenseKeyExpired','sort','reset','once','ck-ai-assistant-button\x20','order','_formView','textAdapter','tableOfContents','ai.useTheme','change:value','_getMenuBarGroupButtons','polite','547821oiiGws','define','comment','prompt','setSelection','update','450BnsJMz','text/html','change:isProcessing','hideUI','trim','_aiAssistantController','_dialog','aiLicenseKeyDomainLimit','isFlat','isPremiumPlugin','init','isOn','contentArea','render','256800XnXMaa','change:isError','aiCommands','updatePosition','command:','replace','isEnabled','delegate','copy','selection','2ffmSSN','DataTransfer','buttonView','buttons','set','ck-ai-assistant-ui','locale','<p>','requires','from','menuBar:aiCommands','get','text','173509ABFWAc','_initAriaAiStatusChangeAnnouncements','expired','\x20ck-ai-assistant-ui_theme','requiresContent','robotPencil','licenseKey','addMany','_licenseKeyCheckInterval','ck-ai-commands-dropdown\x20','fire','2391050ZRphvH','</p>','hide','REPLACE','INSERT','AI\x20Assistant','length','464120vTUSIL','hideFakeVisualSelection','showFakeVisualSelection','aiLicenseKeyInvalid','body','ai.aiAssistant.contentAreaCssClass','isOfficialPlugin','_onExecute','view','currentContext','_showLicenseError','fieldView','894024BZfoZD','includes','35qdroJA','AI\x20is\x20writing','_aiAdapter','config','aiLicenseKeyEvaluationLimit','queryView','destroy','featureNotAllowed','16296nKGMaB','source','execute','Error\x20during\x20AI\x20content\x20generation:\x20%0','forEach','insertContent','custom','groupLabel','_populateMenuBarMenu','ai-commands-config-order-collision','pluginName','_uiCssClasses','items','label','editing','Generated\x20content:\x20%0','insertContentBelow','AIAssistant','errorView','menuView','bind','commands','EDITOR_TOP_SIDE','plugins','getData','domainLimit','_initView','map','replaceContent','add','groupId','listenTo','schema','change','getLimitElement','announce','aiLicenseKeyUsageLimit','showUI','model'];_0x1026=function(){return _0x4e50cc;};return _0x1026();}import _0x4456e6 from'./ui/showaiassistantcommand.js';import _0x193da2 from'./ui/aiassistantcontroller.js';import _0x576606 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5ec642}from'./ui/form/aiformtoolbarview.js';import _0x5cbd79 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5521bd(0x17e)];import{ClipboardMarkersUtils as _0x28025a}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x8914ee,DataTransfer as _0x8577d4}from'ckeditor5/src/engine.js';export default class n extends _0x33eddf{static get[_0x5521bd(0x1bc)](){const _0x1feb33=_0x5521bd;return _0x1feb33(0x1e3);}static get[_0x5521bd(0x1a2)](){return!0x0;}static get[_0x5521bd(0x16e)](){return!0x0;}static get[_0x5521bd(0x185)](){return[_0x28025a,_0x3bbd66,_0x1324ed,_0x2ac850];}constructor(_0x32bd23){const _0x525116=_0x5521bd;super(_0x32bd23),this[_0x525116(0x1bd)]='',_0x32bd23[_0x525116(0x1ad)][_0x525116(0x160)](_0x525116(0x1ec),[_0x525116(0x1eb),_0x525116(0x1ef),_0x525116(0x15a)]),_0x32bd23[_0x525116(0x1ad)][_0x525116(0x160)](_0x525116(0x1a1),''),_0x32bd23[_0x525116(0x1ad)][_0x525116(0x160)](_0x525116(0x15b),!0x0),this[_0x525116(0x1bd)]=_0x525116(0x182)+(_0x32bd23[_0x525116(0x1ad)][_0x525116(0x188)](_0x525116(0x15b))?_0x525116(0x18d):'');}[_0x5521bd(0x16f)](){const _0x183c08=_0x5521bd,{editor:_0x3bfb8b}=this;this[_0x183c08(0x1ac)]=_0x3bfb8b[_0x183c08(0x1c9)][_0x183c08(0x188)](_0x1324ed),this[_0x183c08(0x16b)]=_0x3bfb8b[_0x183c08(0x1c9)][_0x183c08(0x188)](_0x2ac850),this[_0x183c08(0x158)]=null,this[_0x183c08(0x1df)]=this[_0x183c08(0x1f4)]();const _0x541131=new _0x4456e6(_0x3bfb8b,Array[_0x183c08(0x186)](this[_0x183c08(0x1df)][_0x183c08(0x1ea)]()));_0x3bfb8b[_0x183c08(0x1c7)][_0x183c08(0x1cf)](_0x183c08(0x1dd),_0x541131),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x175),_0x21c021=>{const _0x5c84ca=_0x183c08,_0x4c1b84=_0xf338f0(_0x21c021);return _0x4c1b84[_0x5c84ca(0x181)]({'class':_0x5c84ca(0x193)+this[_0x5c84ca(0x1bd)]}),_0x4c1b84[_0x5c84ca(0x17f)][_0x5c84ca(0x181)]({'label':_0x3d11aa(_0x21c021,_0x5c84ca(0x1fc)),'icon':_0x5cbd79,'tooltip':!0x0}),_0x4c1b84['on'](_0x5c84ca(0x1b4),_0x4cef04=>this[_0x5c84ca(0x1a3)](_0x4cef04[_0x5c84ca(0x1b3)]['id'])),_0x1568b4(_0x4c1b84,_0x3bfb8b['ui'][_0x5c84ca(0x1a4)][_0x5c84ca(0x1a0)],function(_0xecb144){const _0x2cdee8=_0x5c84ca,_0x2569ea=_0x2c9263(_0xecb144[_0x2cdee8(0x1ad)][_0x2cdee8(0x188)](_0x2cdee8(0x1dc)),_0xecb144[_0x2cdee8(0x183)]),_0x334ed9=U(_0xecb144,_0x2569ea)[_0x2cdee8(0x200)](_0x327b70=>_0x327b70[_0x2cdee8(0x1c7)][_0x2cdee8(0x19b)]);if(0x1===_0x334ed9[_0x2cdee8(0x19b)])return U(_0xecb144,_0x334ed9[0x0][_0x2cdee8(0x1c7)])[_0x2cdee8(0x1cd)](_0x26d6d7=>({'id':_0x26d6d7['id'],'label':_0x26d6d7[_0x2cdee8(0x1bf)]}));return _0x334ed9[_0x2cdee8(0x1cd)](_0x43ffbf=>{const _0x23c954=_0x2cdee8,{groupId:_0x32d0bd,groupLabel:_0x4ddcc2,commands:_0x39cbde}=_0x43ffbf,_0x2cb5c6=U(_0xecb144,_0x39cbde)[_0x23c954(0x1cd)](_0x4347d6=>({'id':_0x4347d6['id'],'label':_0x4347d6[_0x23c954(0x1bf)]}));return{'id':_0x32d0bd,'menu':_0x4ddcc2||_0x32d0bd,'children':_0x2cb5c6};});}(_0x3bfb8b),{'ariaLabel':_0x3d11aa(_0x21c021,_0x5c84ca(0x1fc))}),_0x4c1b84[_0x5c84ca(0x1c5)][_0x5c84ca(0x1d9)]=_0x5c84ca(0x193)+this[_0x5c84ca(0x1bd)],_0x541131['on'](_0x5c84ca(0x1de),_0x5cbce2),_0x4c1b84[_0x5c84ca(0x1c5)][_0x5c84ca(0x206)](_0x5c84ca(0x172),_0x5cbce2),_0x4c1b84;function _0x5cbce2(){const _0x49636f=_0x5c84ca;_0x4c1b84[_0x49636f(0x179)]=_0x541131[_0x49636f(0x1ed)][_0x49636f(0x19b)]>0x0;for(const _0x34bea4 of _0x4c1b84[_0x49636f(0x1c5)][_0x49636f(0x180)])_0x34bea4[_0x49636f(0x179)]=_0x541131[_0x49636f(0x1ed)][_0x49636f(0x1a9)](_0x34bea4['id']);}}),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x187),_0x2570cd=>{const _0x164387=_0x183c08,_0x440840=new _0x245352(_0x2570cd);_0x440840[_0x164387(0x17f)][_0x164387(0x181)]({'label':_0x3d11aa(_0x2570cd,_0x164387(0x1fc)),'icon':_0x5cbd79}),_0x440840[_0x164387(0x1c6)](_0x164387(0x179))['to'](_0x541131,_0x164387(0x1ed),_0x5829af=>_0x5829af[_0x164387(0x19b)]>0x0);const _0x531663=_0x2c9263(_0x3bfb8b[_0x164387(0x1ad)][_0x164387(0x188)](_0x164387(0x1dc)),_0x2570cd);return this[_0x164387(0x1ba)](_0x541131,_0x440840,_0x531663,_0xb28dda=>this[_0x164387(0x1a3)](_0xb28dda)),_0x440840;}),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x1f3),()=>{const _0x4fa9b9=_0x183c08,_0x299ceb=this[_0x4fa9b9(0x1f7)](_0x1705cb);return _0x299ceb[_0x4fa9b9(0x181)]({'tooltip':!0x0,'class':_0x4fa9b9(0x207)+this[_0x4fa9b9(0x1bd)]}),_0x299ceb;}),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x1ff),()=>{const _0x2ad8bb=_0x183c08,_0x469f49=this[_0x2ad8bb(0x1f7)](_0x2ec974);return _0x469f49[_0x2ad8bb(0x181)]({'role':_0x2ad8bb(0x1f8)}),_0x469f49;}),this[_0x183c08(0x190)]=this[_0x183c08(0x1db)][_0x183c08(0x1ad)][_0x183c08(0x188)](_0x183c08(0x190));const _0x5148ba=this[_0x183c08(0x1db)];this[_0x183c08(0x192)]=setInterval(()=>{const _0x29296a=_0x183c08;let _0x5acf70;for(const _0x29f428 in _0x5148ba){const _0x1717e4=_0x29f428,_0x2b13c3=_0x5148ba[_0x1717e4];if(_0x29296a(0x1e6)==_0x2b13c3||_0x29296a(0x19f)==_0x2b13c3||_0x29296a(0x203)==_0x2b13c3||_0x29296a(0x16c)==_0x2b13c3||_0x29296a(0x1fd)==_0x2b13c3||_0x29296a(0x1ae)==_0x2b13c3||_0x29296a(0x1e9)==_0x2b13c3||_0x29296a(0x1d6)==_0x2b13c3){delete _0x5148ba[_0x1717e4],_0x5acf70=_0x2b13c3,clearInterval(this[_0x29296a(0x192)]),this[_0x29296a(0x192)]=void 0x0;break;}}_0x29296a(0x19f)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1f2)),_0x29296a(0x203)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x18c)),_0x29296a(0x16c)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1cb)),_0x29296a(0x1fd)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1b1),_0x29296a(0x1c3)),_0x29296a(0x1ae)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x201)),_0x29296a(0x1e9)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1e8)),_0x29296a(0x1d6)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1fa));},0x3e8);}[_0x5521bd(0x1b0)](){const _0x1a2037=_0x5521bd;super[_0x1a2037(0x1b0)](),this[_0x1a2037(0x192)]&&clearInterval(this[_0x1a2037(0x192)]);}[_0x5521bd(0x1d7)](_0x29685d='',_0xbab0e1='',_0x151364=_0x5521bd(0x1b8)){const _0x5f54f2=_0x5521bd,_0x4e9c17=this[_0x5f54f2(0x1db)],_0x5475e7=_0x4e9c17[_0x5f54f2(0x1c0)][_0x5f54f2(0x1a4)],_0x21a7e7=_0x4e9c17[_0x5f54f2(0x1c9)][_0x5f54f2(0x188)](_0x3bbd66),_0x596d0a=_0x4e9c17[_0x5f54f2(0x1c9)][_0x5f54f2(0x188)](_0x28025a);_0x21a7e7[_0x5f54f2(0x19e)]();const _0x4a84a9=new w(),_0x560d1d=new ClipboardEvent(_0x5f54f2(0x17b),{'clipboardData':_0x4a84a9}),_0x4429aa=new _0x8577d4(_0x4a84a9),_0x531554=new _0x8914ee(_0x5475e7,_0x560d1d,{'dataTransfer':_0x4429aa});_0x596d0a[_0x5f54f2(0x1f1)](_0x5f54f2(0x161),()=>{const _0x2f444f=_0x5f54f2;_0x5475e7[_0x2f444f(0x1ee)][_0x2f444f(0x194)](_0x2f444f(0x17b),_0x531554);}),this[_0x5f54f2(0x158)]||(this[_0x5f54f2(0x1cc)](),this[_0x5f54f2(0x16a)]=new _0x193da2(_0x4e9c17,this[_0x5f54f2(0x1ac)][_0x5f54f2(0x159)],this[_0x5f54f2(0x158)]));let _0x3e322f=_0x4429aa[_0x5f54f2(0x1ca)](_0x5f54f2(0x166));const _0x8c47a0=_0x4e9c17[_0x5f54f2(0x1d8)][_0x5f54f2(0x1ee)][_0x5f54f2(0x17c)],_0x49de5f=Array[_0x5f54f2(0x186)](_0x8c47a0[_0x5f54f2(0x202)]());0x1===_0x49de5f[_0x5f54f2(0x19b)]&&_0x49de5f[0x0][_0x5f54f2(0x16d)]&&!_0x8c47a0[_0x5f54f2(0x1da)]()&&''!==_0x3e322f[_0x5f54f2(0x178)](/ /g,'')[_0x5f54f2(0x169)]()&&(_0x3e322f=_0x5f54f2(0x184)+_0x3e322f+_0x5f54f2(0x196)),this[_0x5f54f2(0x16a)][_0x5f54f2(0x1e0)]({'actionId':_0x151364,'query':_0x29685d,'htmlContent':_0x3e322f,'label':_0xbab0e1,'mainActionLabel':_0x5ec642[_0x4e9c17[_0x5f54f2(0x1d8)][_0x5f54f2(0x1ee)][_0x5f54f2(0x17c)][_0x5f54f2(0x1fe)]?_0x5f54f2(0x199):_0x5f54f2(0x198)]}),_0x5f54f2(0x1f3)!==this[_0x5f54f2(0x16b)]['id']?this[_0x5f54f2(0x16b)][_0x5f54f2(0x1f0)]({'id':_0x5f54f2(0x1f3),'icon':_0x48e6bf[_0x5f54f2(0x18f)],'title':_0x3d11aa(this[_0x5f54f2(0x1db)][_0x5f54f2(0x183)],_0x5f54f2(0x19a)),'content':this[_0x5f54f2(0x158)],'position':_0x18bd20[_0x5f54f2(0x1c8)],'onShow':()=>{const _0x1dc77d=_0x5f54f2;this[_0x1dc77d(0x158)][_0x1dc77d(0x1f9)]();},'onHide':()=>{const _0x38a4ec=_0x5f54f2;this[_0x38a4ec(0x16a)][_0x38a4ec(0x205)](),_0x21a7e7[_0x38a4ec(0x19d)]();}}):this[_0x5f54f2(0x16b)][_0x5f54f2(0x1a4)][_0x5f54f2(0x1e5)]||this[_0x5f54f2(0x16b)][_0x5f54f2(0x1a4)][_0x5f54f2(0x176)]();}[_0x5521bd(0x168)](){const _0x5ed4c2=_0x5521bd;this[_0x5ed4c2(0x16b)][_0x5ed4c2(0x197)]();}[_0x5521bd(0x1f4)](){const _0x347349=_0x5521bd,_0x4c8e47=new Map(),_0x2ce9ae=_0x2c9263(this[_0x347349(0x1db)][_0x347349(0x1ad)][_0x347349(0x188)](_0x347349(0x1dc)),this[_0x347349(0x1db)][_0x347349(0x183)]);for(const _0x542777 of _0x2ce9ae)for(const _0x3d10a9 of _0x542777[_0x347349(0x1c7)])_0x4c8e47[_0x347349(0x181)](_0x3d10a9['id'],{..._0x3d10a9,'groupId':_0x542777[_0x347349(0x1d0)],'groupLabel':_0x542777[_0x347349(0x1b9)]||_0x542777[_0x347349(0x1d0)]});return _0x4c8e47;}[_0x5521bd(0x1f7)](_0x1104c4){const _0x279965=_0x5521bd,_0x543adf=this[_0x279965(0x1db)],_0x594799=_0x543adf[_0x279965(0x1c7)][_0x279965(0x188)](_0x279965(0x1dd)),_0x39b1fd=new _0x1104c4(_0x543adf[_0x279965(0x183)]);return _0x39b1fd[_0x279965(0x181)]({'label':_0x3d11aa(_0x543adf[_0x279965(0x183)],_0x279965(0x19a)),'icon':_0x48e6bf[_0x279965(0x18f)],'isToggleable':!0x0}),_0x39b1fd[_0x279965(0x1c6)](_0x279965(0x179))['to'](_0x594799),_0x39b1fd[_0x279965(0x1c6)](_0x279965(0x170))['to'](this[_0x279965(0x16b)],'id',_0x4849d2=>_0x279965(0x1f3)===_0x4849d2),this[_0x279965(0x1d1)](_0x39b1fd,_0x279965(0x1b4),()=>{const _0x1c843a=_0x279965;_0x39b1fd[_0x1c843a(0x170)]?this[_0x1c843a(0x168)]():_0x594799[_0x1c843a(0x1b4)]();}),_0x39b1fd;}[_0x5521bd(0x1cc)](){const _0x127e7d=_0x5521bd,_0x102cd7=this[_0x127e7d(0x1db)][_0x127e7d(0x1c9)][_0x127e7d(0x188)](_0x3bbd66);this[_0x127e7d(0x158)]=new _0x576606(this[_0x127e7d(0x1db)][_0x127e7d(0x183)],this[_0x127e7d(0x1bd)],this[_0x127e7d(0x1db)][_0x127e7d(0x1ad)][_0x127e7d(0x188)](_0x127e7d(0x1a1))),this[_0x127e7d(0x158)]['on'](_0x127e7d(0x15c),()=>{const _0x3c1c92=_0x127e7d;this[_0x3c1c92(0x16b)][_0x3c1c92(0x1a4)][_0x3c1c92(0x1e5)]||this[_0x3c1c92(0x16b)][_0x3c1c92(0x1a4)][_0x3c1c92(0x176)]();}),this[_0x127e7d(0x158)][_0x127e7d(0x1e2)][_0x127e7d(0x1af)][_0x127e7d(0x1a7)]['on'](_0x127e7d(0x164),()=>{const _0x290530=_0x127e7d;this[_0x290530(0x16b)][_0x290530(0x1a4)][_0x290530(0x1e5)]||this[_0x290530(0x16b)][_0x290530(0x1a4)][_0x290530(0x176)]();}),this[_0x127e7d(0x1d1)](this[_0x127e7d(0x158)],_0x127e7d(0x1ce),()=>{const _0x352bbc=_0x127e7d;_0x102cd7[_0x352bbc(0x1b7)](this[_0x352bbc(0x16a)][_0x352bbc(0x1a5)]),this[_0x352bbc(0x168)]();}),this[_0x127e7d(0x1d1)](this[_0x127e7d(0x158)],_0x127e7d(0x1c2),()=>{const _0x5747c0=_0x127e7d;_0x102cd7[_0x5747c0(0x1c2)](this[_0x5747c0(0x16a)][_0x5747c0(0x1a5)]),this[_0x5747c0(0x168)]();}),this[_0x127e7d(0x18b)]();}[_0x5521bd(0x18b)](){const _0x331017=_0x5521bd,{locale:_0xedaa57,ui:{ariaLiveAnnouncer:_0x11e736}}=this[_0x331017(0x1db)];this[_0x331017(0x158)][_0x331017(0x171)]['on'](_0x331017(0x167),(_0x498887,_0x512bef,_0x552d6d)=>{const _0x261e86=_0x331017,_0x20751f=this[_0x261e86(0x16a)][_0x261e86(0x1a5)];_0x552d6d?_0x11e736[_0x261e86(0x1d5)](_0x3d11aa(_0xedaa57,_0x261e86(0x1ab))):_0x20751f&&_0x11e736[_0x261e86(0x1d5)](_0x3d11aa(_0xedaa57,_0x261e86(0x1c1),_0x20751f),{'politeness':_0x261e86(0x15e),'isUnsafeHTML':!0x0});}),this[_0x331017(0x158)]['on'](_0x331017(0x174),(_0x339224,_0x1cbfec,_0x147557)=>{const _0x29b464=_0x331017;if(_0x147557){const _0x2516f1=this[_0x29b464(0x158)][_0x29b464(0x1c4)][_0x29b464(0x189)];_0x11e736[_0x29b464(0x1d5)](_0x3d11aa(_0xedaa57,_0x29b464(0x1b5),_0x2516f1));}});}[_0x5521bd(0x1a3)](_0x2bd1cf){const _0x241235=_0x5521bd,_0x55ffd0=this[_0x241235(0x1df)][_0x241235(0x188)](_0x2bd1cf),_0x865c9e=this[_0x241235(0x1db)],_0x18db69=_0x865c9e[_0x241235(0x1d8)][_0x241235(0x1ee)][_0x241235(0x17c)],_0xab80a7=_0x865c9e[_0x241235(0x1c7)][_0x241235(0x188)](_0x241235(0x1dd)),_0x4e2581=_0x865c9e[_0x241235(0x1c9)][_0x241235(0x188)](_0x3bbd66),_0x3a4806=''+(_0x55ffd0[_0x241235(0x1d0)]!==_0x5b2358?_0x55ffd0[_0x241235(0x1b9)]+':\x20':'')+_0x55ffd0[_0x241235(0x1bf)];if(!0x1!==_0x55ffd0[_0x241235(0x18e)]&&_0x18db69[_0x241235(0x1fe)]){const _0x449870=_0x3a7bd5(_0x18db69[_0x241235(0x1f5)]())||_0x865c9e[_0x241235(0x1d8)][_0x241235(0x1d2)][_0x241235(0x1d4)](_0x18db69);_0x865c9e[_0x241235(0x1d8)][_0x241235(0x1d3)](_0x3f9f16=>{const _0x1a09ab=_0x241235;_0x3f9f16[_0x1a09ab(0x163)](_0x449870,'in');});}_0x4e2581[_0x241235(0x19e)](),_0xab80a7[_0x241235(0x1b4)](_0x55ffd0[_0x241235(0x162)],_0x3a4806,_0x241235(0x177)+_0x2bd1cf);}[_0x5521bd(0x1ba)](_0x65e70e,_0x56d5ad,_0x2afe14,_0x141fe6){const _0x4edf1d=_0x5521bd,_0x142e66=this[_0x4edf1d(0x1db)],_0x321bdb=_0x142e66[_0x4edf1d(0x183)],_0x5f1122=new _0xd3cc90(_0x321bdb),_0x2b0180=U(_0x142e66,_0x2afe14)[_0x4edf1d(0x200)](_0x2533e8=>_0x2533e8[_0x4edf1d(0x1c7)][_0x4edf1d(0x19b)]);0x1===_0x2b0180[_0x4edf1d(0x19b)]?this[_0x4edf1d(0x15d)]({'command':_0x65e70e,'commands':_0x2b0180[0x0][_0x4edf1d(0x1c7)],'parentMenuView':_0x56d5ad,'onExecute':_0x141fe6})[_0x4edf1d(0x1b6)](_0x25923a=>_0x5f1122[_0x4edf1d(0x1be)][_0x4edf1d(0x1cf)](_0x25923a)):_0x2b0180[_0x4edf1d(0x1b6)](({groupId:_0x16bb69,groupLabel:_0x5f73d8,commands:_0x14eb4c})=>{const _0x51dfe7=_0x4edf1d,_0x46fb95=new _0x8620f1(_0x321bdb,_0x56d5ad),_0x3cb838=new _0x245352(_0x321bdb),_0x4024fd=new _0xd3cc90(_0x321bdb),_0x426749=this[_0x51dfe7(0x15d)]({'command':_0x65e70e,'commands':_0x14eb4c,'parentMenuView':_0x3cb838,'onExecute':_0x141fe6});_0x3cb838[_0x51dfe7(0x17f)][_0x51dfe7(0x181)]({'label':_0x5f73d8||_0x16bb69}),_0x3cb838[_0x51dfe7(0x17a)](_0x51dfe7(0x1b4))['to'](_0x56d5ad),_0x4024fd[_0x51dfe7(0x1be)][_0x51dfe7(0x191)](_0x426749),_0x3cb838[_0x51dfe7(0x1f6)][_0x51dfe7(0x1e4)][_0x51dfe7(0x1cf)](_0x4024fd),_0x46fb95[_0x51dfe7(0x1e4)][_0x51dfe7(0x1cf)](_0x3cb838),_0x5f1122[_0x51dfe7(0x1be)][_0x51dfe7(0x1cf)](_0x46fb95);}),_0x56d5ad[_0x4edf1d(0x1f6)][_0x4edf1d(0x1e4)][_0x4edf1d(0x1cf)](_0x5f1122);}[_0x5521bd(0x15d)]({command:_0x20e9d1,commands:_0x224a16,parentMenuView:_0x4910de,onExecute:_0x20c969}){const _0x244155=_0x5521bd,_0x586f30=this[_0x244155(0x1db)],_0x45449e=_0x586f30[_0x244155(0x183)];return U(_0x586f30,_0x224a16)[_0x244155(0x1cd)](_0x92d1ff=>{const _0x4b0a9e=_0x244155,_0x53a059=new _0x8620f1(_0x45449e,_0x4910de),_0x330f21=new _0x2ec974(_0x45449e);return _0x330f21[_0x4b0a9e(0x181)]({'label':_0x92d1ff[_0x4b0a9e(0x1bf)]}),_0x330f21[_0x4b0a9e(0x17a)](_0x4b0a9e(0x1b4))['to'](_0x4910de),_0x330f21['on'](_0x4b0a9e(0x1b4),()=>_0x20c969(_0x92d1ff['id'])),_0x330f21[_0x4b0a9e(0x1c6)](_0x4b0a9e(0x179))['to'](_0x20e9d1,_0x4b0a9e(0x1ed),_0xdb362f=>_0xdb362f[_0x4b0a9e(0x1a9)](_0x92d1ff['id'])),_0x53a059[_0x4b0a9e(0x1e4)][_0x4b0a9e(0x1cf)](_0x330f21),_0x53a059;});}}function B(_0x3a21f6,_0x25d7a4){const _0x100991=_0x5521bd;return void 0x0!==_0x3a21f6[_0x100991(0x157)]&&void 0x0===_0x25d7a4[_0x100991(0x157)]?0x1:void 0x0===_0x3a21f6[_0x100991(0x157)]&&void 0x0!==_0x25d7a4[_0x100991(0x157)]?-0x1:void 0x0!==_0x3a21f6[_0x100991(0x157)]&&void 0x0!==_0x25d7a4[_0x100991(0x157)]?_0x3a21f6[_0x100991(0x157)]-_0x25d7a4[_0x100991(0x157)]:0x0;}function U(_0x5611ef,_0x2578f8){const _0x4001f1=_0x5521bd;_0x2578f8[_0x4001f1(0x204)](B);const _0x582b82={},_0x20c230=[];for(const _0x2a95d3 of _0x2578f8)if(void 0x0!==_0x2a95d3[_0x4001f1(0x157)]){if(_0x2a95d3[_0x4001f1(0x157)]in _0x582b82)throw new _0x2e9630(_0x4001f1(0x1bb),_0x5611ef,{'conflictingDefinitions':[_0x2a95d3,_0x582b82[_0x2a95d3[_0x4001f1(0x157)]]]});_0x582b82[_0x2a95d3[_0x4001f1(0x157)]]=_0x2a95d3,_0x20c230[_0x4001f1(0x1fb)](_0x2a95d3[_0x4001f1(0x157)],0x0,_0x2a95d3);}else _0x20c230[_0x4001f1(0x1e1)](_0x2a95d3);return _0x20c230;}
|
|
23
|
+
const _0x4e9573=_0x41db;(function(_0x1dcfe9,_0x400cd3){const _0x976e73=_0x41db,_0x2b3ec9=_0x1dcfe9();while(!![]){try{const _0x2da3b3=parseInt(_0x976e73(0x22f))/0x1+parseInt(_0x976e73(0x21e))/0x2*(parseInt(_0x976e73(0x247))/0x3)+parseInt(_0x976e73(0x1f7))/0x4+parseInt(_0x976e73(0x1eb))/0x5+parseInt(_0x976e73(0x1e2))/0x6+parseInt(_0x976e73(0x1d4))/0x7+-parseInt(_0x976e73(0x1c7))/0x8;if(_0x2da3b3===_0x400cd3)break;else _0x2b3ec9['push'](_0x2b3ec9['shift']());}catch(_0x1ab104){_0x2b3ec9['push'](_0x2b3ec9['shift']());}}}(_0xc039,0x5cb83));import{Plugin as _0x535e8a}from'ckeditor5/src/core.js';import{first as _0x335268,CKEditorError as _0x472170}from'ckeditor5/src/utils.js';import{createDropdown as _0x228bb1,addMenuToDropdown as _0x2deb04,ButtonView as _0xee0889,MenuBarMenuListItemButtonView as _0x5381b2,Dialog as _0x19d25a,DialogViewPosition as _0xb83d78,MenuBarMenuView as _0xad03a4,MenuBarMenuListView as _0x311cff,MenuBarMenuListItemView as _0x48706b}from'ckeditor5/src/ui.js';import{icons as _0x5b6e9a}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x2090c,UNGROUPED_COMMANDS_GROUP_ID as _0x10998d}from'./utils/normalizecommandsconfig.js';import _0x330516 from'./aiassistantediting.js';function _0xc039(){const _0x1625ea=['rawHtml','getSelectedElement','requires','isEnabled','INSERT','config','commands','editor','fieldView','</p>','sort','trim','522LFsElq','panelView','change:enabledCommandsIds','prompt','domainLimit','buttonView','buttons','_initView','selection','hideFakeVisualSelection','replaceContent','_formView','ck-ai-commands-dropdown\x20','enabledCommandsIds','text/html','update','includes','412407kmSPDS','AI\x20Commands','invalid','ai.aiAssistant.disabledElements','errorView','locale','splice','evaluationLimit','expired','aiLicenseKeyValid','showUI','updateView','_populateMenuBarMenu','_getMenuBarGroupButtons','isOn','ck-ai-assistant-ui','_createAIAssistantUIButton','command:','getLimitElement','schema','reset','DataTransfer','fire','children','8175hJDqNK','change:isError','groupLabel','getData','bind','_commandDefinitions','view','editing','isOfficialPlugin','filter','focus','comment','label','source','forEach','featureNotAllowed','requiresContent','aiCommands','_forceMarkersCopy','aiLicenseKeyTrialLimit','from','_aiAssistantController','contentArea','media','currentContext','Error\x20during\x20AI\x20content\x20generation:\x20%0','execute','values','items','menuView','groupId','menuBar:aiAssistant','_aiAdapter','Generated\x20content:\x20%0','AI\x20Assistant','isCollapsed','aiLicenseKeyDomainLimit','render','tableOfContents','pluginName','push','AIAssistantUI','plugins','document','menuPanelClass','getRanges','once','18112312TdsVsu','hideUI','showFakeVisualSelection','_initAriaAiStatusChangeAnnouncements','listenTo','delegate','AI\x20is\x20writing','change:isProcessing','setSelection','addMany','aiLicenseKeyNotAllowed','updatePosition','insertContent','3182200MagcOe','copy','_uiCssClasses','<p>','body','ai.aiAssistant.commands','_getResolvedCommandsDefinitions','AIAssistant','show','trialLimit','ai-commands-config-order-collision','custom','ck-ai-assistant-button\x20','polite','3318480XLXAaK','text','get','ai.useTheme','set','componentFactory','REPLACE','promptView','hide','1550075cXPgzc','insertContentBelow','isFlat','robotPencil','aiLicenseKeyEvaluationLimit','aiLicenseKeyInvalid','showAIAssistant','replace','_dialog','getSelectedBlocks','aiLicenseKeyUsageLimit','_onExecute','809964AztVrp','aiAssistant','order','licenseKey','isPremiumPlugin','init','ai.aiAssistant.contentAreaCssClass','announce','change:value','add','queryView','change','aiLicenseKeyExpired','destroy','model','menuBar:aiCommands','length','wasMoved','_licenseKeyCheckInterval','\x20ck-ai-assistant-ui_theme','define','usageLimit','_showLicenseError','EDITOR_TOP_SIDE','menuitemcheckbox','map','textAdapter'];_0xc039=function(){return _0x1625ea;};return _0xc039();}import _0x4b656a from'./adapters/aiadapter.js';import{getTranslation as _0x218f1d}from'./utils/common-translations.js';import _0x417c0c from'./ui/showaiassistantcommand.js';import _0x28ba2c from'./ui/aiassistantcontroller.js';function _0x41db(_0x26eb75,_0x39e6bd){const _0xc03932=_0xc039();return _0x41db=function(_0x41dbe7,_0x1cde7d){_0x41dbe7=_0x41dbe7-0x1a6;let _0x538b9d=_0xc03932[_0x41dbe7];return _0x538b9d;},_0x41db(_0x26eb75,_0x39e6bd);}import _0x5a3a14 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xc14e86}from'./ui/form/aiformtoolbarview.js';import _0x22f6bd from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x4e9573(0x244)];import{ClipboardMarkersUtils as _0x389073}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4ba246,DataTransfer as _0x4bbb1c}from'ckeditor5/src/engine.js';export default class n extends _0x535e8a{static get[_0x4e9573(0x1bf)](){const _0x35df89=_0x4e9573;return _0x35df89(0x1c1);}static get[_0x4e9573(0x24f)](){return!0x0;}static get[_0x4e9573(0x1fb)](){return!0x0;}static get[_0x4e9573(0x214)](){return[_0x389073,_0x330516,_0x4b656a,_0x19d25a];}constructor(_0x13ed0c){const _0x5b03ba=_0x4e9573;super(_0x13ed0c),this[_0x5b03ba(0x1d6)]='',_0x13ed0c[_0x5b03ba(0x217)][_0x5b03ba(0x20b)](_0x5b03ba(0x232),[_0x5b03ba(0x1af),_0x5b03ba(0x212),_0x5b03ba(0x1be)]),_0x13ed0c[_0x5b03ba(0x217)][_0x5b03ba(0x20b)](_0x5b03ba(0x1fd),''),_0x13ed0c[_0x5b03ba(0x217)][_0x5b03ba(0x20b)](_0x5b03ba(0x1e5),!0x0),this[_0x5b03ba(0x1d6)]=_0x5b03ba(0x23e)+(_0x13ed0c[_0x5b03ba(0x217)][_0x5b03ba(0x1e4)](_0x5b03ba(0x1e5))?_0x5b03ba(0x20a):'');}[_0x4e9573(0x1fc)](){const _0x5e76fd=_0x4e9573,{editor:_0xd73f1c}=this;this[_0x5e76fd(0x1b8)]=_0xd73f1c[_0x5e76fd(0x1c2)][_0x5e76fd(0x1e4)](_0x4b656a),this[_0x5e76fd(0x1f3)]=_0xd73f1c[_0x5e76fd(0x1c2)][_0x5e76fd(0x1e4)](_0x19d25a),this[_0x5e76fd(0x229)]=null,this[_0x5e76fd(0x24c)]=this[_0x5e76fd(0x1da)]();const _0x34eab8=new _0x417c0c(_0xd73f1c,Array[_0x5e76fd(0x1ac)](this[_0x5e76fd(0x24c)][_0x5e76fd(0x1b3)]()));_0xd73f1c[_0x5e76fd(0x218)][_0x5e76fd(0x200)](_0x5e76fd(0x1f1),_0x34eab8),_0xd73f1c['ui'][_0x5e76fd(0x1e7)][_0x5e76fd(0x200)](_0x5e76fd(0x1a9),_0x354096=>{const _0x4b966b=_0x5e76fd,_0x5989e8=_0x228bb1(_0x354096);return _0x5989e8[_0x4b966b(0x1e6)]({'class':_0x4b966b(0x22a)+this[_0x4b966b(0x1d6)]}),_0x5989e8[_0x4b966b(0x223)][_0x4b966b(0x1e6)]({'label':_0x218f1d(_0x354096,_0x4b966b(0x230)),'icon':_0x22f6bd,'tooltip':!0x0}),_0x5989e8['on'](_0x4b966b(0x1b2),_0x114b29=>this[_0x4b966b(0x1f6)](_0x114b29[_0x4b966b(0x254)]['id'])),_0x2deb04(_0x5989e8,_0xd73f1c['ui'][_0x4b966b(0x24d)][_0x4b966b(0x1d8)],function(_0x9f7673){const _0x60fdc5=_0x4b966b,_0x11e784=_0x2090c(_0x9f7673[_0x60fdc5(0x217)][_0x60fdc5(0x1e4)](_0x60fdc5(0x1d9)),_0x9f7673[_0x60fdc5(0x234)]),_0x24c14e=U(_0x9f7673,_0x11e784)[_0x60fdc5(0x250)](_0x5beaac=>_0x5beaac[_0x60fdc5(0x218)][_0x60fdc5(0x207)]);if(0x1===_0x24c14e[_0x60fdc5(0x207)])return U(_0x9f7673,_0x24c14e[0x0][_0x60fdc5(0x218)])[_0x60fdc5(0x210)](_0x20f9ba=>({'id':_0x20f9ba['id'],'label':_0x20f9ba[_0x60fdc5(0x253)]}));return _0x24c14e[_0x60fdc5(0x210)](_0xd01917=>{const _0x177cc4=_0x60fdc5,{groupId:_0x2263f9,groupLabel:_0x22341e,commands:_0x41f3c0}=_0xd01917,_0x32e878=U(_0x9f7673,_0x41f3c0)[_0x177cc4(0x210)](_0x48ea12=>({'id':_0x48ea12['id'],'label':_0x48ea12[_0x177cc4(0x253)]}));return{'id':_0x2263f9,'menu':_0x22341e||_0x2263f9,'children':_0x32e878};});}(_0xd73f1c),{'ariaLabel':_0x218f1d(_0x354096,_0x4b966b(0x230))}),_0x5989e8[_0x4b966b(0x1b5)][_0x4b966b(0x1c4)]=_0x4b966b(0x22a)+this[_0x4b966b(0x1d6)],_0x34eab8['on'](_0x4b966b(0x220),_0x8410f1),_0x5989e8[_0x4b966b(0x1b5)][_0x4b966b(0x1c6)](_0x4b966b(0x1bd),_0x8410f1),_0x5989e8;function _0x8410f1(){const _0x2cd0c6=_0x4b966b;_0x5989e8[_0x2cd0c6(0x215)]=_0x34eab8[_0x2cd0c6(0x22b)][_0x2cd0c6(0x207)]>0x0;for(const _0x4bb470 of _0x5989e8[_0x2cd0c6(0x1b5)][_0x2cd0c6(0x224)])_0x4bb470[_0x2cd0c6(0x215)]=_0x34eab8[_0x2cd0c6(0x22b)][_0x2cd0c6(0x22e)](_0x4bb470['id']);}}),_0xd73f1c['ui'][_0x5e76fd(0x1e7)][_0x5e76fd(0x200)](_0x5e76fd(0x206),_0x21fd48=>{const _0x2e3c25=_0x5e76fd,_0x40373c=new _0xad03a4(_0x21fd48);_0x40373c[_0x2e3c25(0x223)][_0x2e3c25(0x1e6)]({'label':_0x218f1d(_0x21fd48,_0x2e3c25(0x230)),'icon':_0x22f6bd}),_0x40373c[_0x2e3c25(0x24b)](_0x2e3c25(0x215))['to'](_0x34eab8,_0x2e3c25(0x22b),_0x4502df=>_0x4502df[_0x2e3c25(0x207)]>0x0);const _0x33f405=_0x2090c(_0xd73f1c[_0x2e3c25(0x217)][_0x2e3c25(0x1e4)](_0x2e3c25(0x1d9)),_0x21fd48);return this[_0x2e3c25(0x23b)](_0x34eab8,_0x40373c,_0x33f405,_0x43d51a=>this[_0x2e3c25(0x1f6)](_0x43d51a)),_0x40373c;}),_0xd73f1c['ui'][_0x5e76fd(0x1e7)][_0x5e76fd(0x200)](_0x5e76fd(0x1f8),()=>{const _0x4d6410=_0x5e76fd,_0x564070=this[_0x4d6410(0x23f)](_0xee0889);return _0x564070[_0x4d6410(0x1e6)]({'tooltip':!0x0,'class':_0x4d6410(0x1e0)+this[_0x4d6410(0x1d6)]}),_0x564070;}),_0xd73f1c['ui'][_0x5e76fd(0x1e7)][_0x5e76fd(0x200)](_0x5e76fd(0x1b7),()=>{const _0x1acdc4=_0x5e76fd,_0x12702a=this[_0x1acdc4(0x23f)](_0x5381b2);return _0x12702a[_0x1acdc4(0x1e6)]({'role':_0x1acdc4(0x20f)}),_0x12702a;}),this[_0x5e76fd(0x1fa)]=this[_0x5e76fd(0x219)][_0x5e76fd(0x217)][_0x5e76fd(0x1e4)](_0x5e76fd(0x1fa));const _0x50f868=this[_0x5e76fd(0x219)];this[_0x5e76fd(0x209)]=setInterval(()=>{const _0xe68fb6=_0x5e76fd;let _0x565517;for(const _0x4cac22 in _0x50f868){const _0x20b273=_0x4cac22,_0x35bd6f=_0x50f868[_0x20b273];if(_0xe68fb6(0x238)==_0x35bd6f||_0xe68fb6(0x1f0)==_0x35bd6f||_0xe68fb6(0x203)==_0x35bd6f||_0xe68fb6(0x1bc)==_0x35bd6f||_0xe68fb6(0x1d1)==_0x35bd6f||_0xe68fb6(0x1ef)==_0x35bd6f||_0xe68fb6(0x1ab)==_0x35bd6f||_0xe68fb6(0x1f5)==_0x35bd6f){delete _0x50f868[_0x20b273],_0x565517=_0x35bd6f,clearInterval(this[_0xe68fb6(0x209)]),this[_0xe68fb6(0x209)]=void 0x0;break;}}_0xe68fb6(0x1f0)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x231)),_0xe68fb6(0x203)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x237)),_0xe68fb6(0x1bc)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x222)),_0xe68fb6(0x1d1)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x1a7),_0xe68fb6(0x1db)),_0xe68fb6(0x1ef)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x236)),_0xe68fb6(0x1ab)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x1dd)),_0xe68fb6(0x1f5)==_0x565517&&_0x50f868[_0xe68fb6(0x20d)](_0xe68fb6(0x20c));},0x3e8);}[_0x4e9573(0x204)](){const _0xe3d1f2=_0x4e9573;super[_0xe3d1f2(0x204)](),this[_0xe3d1f2(0x209)]&&clearInterval(this[_0xe3d1f2(0x209)]);}[_0x4e9573(0x239)](_0x4183c9='',_0x55815c='',_0x2e7578=_0x4e9573(0x1df)){const _0x4779a5=_0x4e9573,_0x52e500=this[_0x4779a5(0x219)],_0x4ccf10=_0x52e500[_0x4779a5(0x24e)][_0x4779a5(0x24d)],_0x4ded44=_0x52e500[_0x4779a5(0x1c2)][_0x4779a5(0x1e4)](_0x330516),_0x3d797d=_0x52e500[_0x4779a5(0x1c2)][_0x4779a5(0x1e4)](_0x389073);_0x4ded44[_0x4779a5(0x1c9)]();const _0x2cbb4c=new w(),_0x524803=new ClipboardEvent(_0x4779a5(0x1d5),{'clipboardData':_0x2cbb4c}),_0xe91d16=new _0x4bbb1c(_0x2cbb4c),_0x269c33=new _0x4ba246(_0x4ccf10,_0x524803,{'dataTransfer':_0xe91d16});_0x3d797d[_0x4779a5(0x1aa)](_0x4779a5(0x252),()=>{const _0xb01e99=_0x4779a5;_0x4ccf10[_0xb01e99(0x1c3)][_0xb01e99(0x245)](_0xb01e99(0x1d5),_0x269c33);}),this[_0x4779a5(0x229)]||(this[_0x4779a5(0x225)](),this[_0x4779a5(0x1ad)]=new _0x28ba2c(_0x52e500,this[_0x4779a5(0x1b8)][_0x4779a5(0x211)],this[_0x4779a5(0x229)]));let _0x59d511=_0xe91d16[_0x4779a5(0x24a)](_0x4779a5(0x22c));const _0x5cb21d=_0x52e500[_0x4779a5(0x205)][_0x4779a5(0x1c3)][_0x4779a5(0x226)],_0x1209c6=Array[_0x4779a5(0x1ac)](_0x5cb21d[_0x4779a5(0x1c5)]());0x1===_0x1209c6[_0x4779a5(0x207)]&&_0x1209c6[0x0][_0x4779a5(0x1ed)]&&!_0x5cb21d[_0x4779a5(0x213)]()&&''!==_0x59d511[_0x4779a5(0x1f2)](/ /g,'')[_0x4779a5(0x21d)]()&&(_0x59d511=_0x4779a5(0x1d7)+_0x59d511+_0x4779a5(0x21b)),this[_0x4779a5(0x1ad)][_0x4779a5(0x23a)]({'actionId':_0x2e7578,'query':_0x4183c9,'htmlContent':_0x59d511,'label':_0x55815c,'mainActionLabel':_0xc14e86[_0x52e500[_0x4779a5(0x205)][_0x4779a5(0x1c3)][_0x4779a5(0x226)][_0x4779a5(0x1bb)]?_0x4779a5(0x216):_0x4779a5(0x1e8)]}),_0x4779a5(0x1f8)!==this[_0x4779a5(0x1f3)]['id']?this[_0x4779a5(0x1f3)][_0x4779a5(0x1dc)]({'id':_0x4779a5(0x1f8),'icon':_0x5b6e9a[_0x4779a5(0x1ee)],'title':_0x218f1d(this[_0x4779a5(0x219)][_0x4779a5(0x234)],_0x4779a5(0x1ba)),'content':this[_0x4779a5(0x229)],'position':_0xb83d78[_0x4779a5(0x20e)],'onShow':()=>{const _0x1f342e=_0x4779a5;this[_0x1f342e(0x229)][_0x1f342e(0x251)]();},'onHide':()=>{const _0xe29e54=_0x4779a5;this[_0xe29e54(0x1ad)][_0xe29e54(0x243)](),_0x4ded44[_0xe29e54(0x227)]();}}):this[_0x4779a5(0x1f3)][_0x4779a5(0x24d)][_0x4779a5(0x208)]||this[_0x4779a5(0x1f3)][_0x4779a5(0x24d)][_0x4779a5(0x1d2)]();}[_0x4e9573(0x1c8)](){const _0x4a3b0c=_0x4e9573;this[_0x4a3b0c(0x1f3)][_0x4a3b0c(0x1ea)]();}[_0x4e9573(0x1da)](){const _0xf05a18=_0x4e9573,_0x2cccdb=new Map(),_0x556734=_0x2090c(this[_0xf05a18(0x219)][_0xf05a18(0x217)][_0xf05a18(0x1e4)](_0xf05a18(0x1d9)),this[_0xf05a18(0x219)][_0xf05a18(0x234)]);for(const _0x1a4386 of _0x556734)for(const _0x1647ad of _0x1a4386[_0xf05a18(0x218)])_0x2cccdb[_0xf05a18(0x1e6)](_0x1647ad['id'],{..._0x1647ad,'groupId':_0x1a4386[_0xf05a18(0x1b6)],'groupLabel':_0x1a4386[_0xf05a18(0x249)]||_0x1a4386[_0xf05a18(0x1b6)]});return _0x2cccdb;}[_0x4e9573(0x23f)](_0x2cd0f2){const _0x5eb39c=_0x4e9573,_0x3f11f1=this[_0x5eb39c(0x219)],_0x4f392b=_0x3f11f1[_0x5eb39c(0x218)][_0x5eb39c(0x1e4)](_0x5eb39c(0x1f1)),_0x5836b1=new _0x2cd0f2(_0x3f11f1[_0x5eb39c(0x234)]);return _0x5836b1[_0x5eb39c(0x1e6)]({'label':_0x218f1d(_0x3f11f1[_0x5eb39c(0x234)],_0x5eb39c(0x1ba)),'icon':_0x5b6e9a[_0x5eb39c(0x1ee)],'isToggleable':!0x0}),_0x5836b1[_0x5eb39c(0x24b)](_0x5eb39c(0x215))['to'](_0x4f392b),_0x5836b1[_0x5eb39c(0x24b)](_0x5eb39c(0x23d))['to'](this[_0x5eb39c(0x1f3)],'id',_0x1b84b1=>_0x5eb39c(0x1f8)===_0x1b84b1),this[_0x5eb39c(0x1cb)](_0x5836b1,_0x5eb39c(0x1b2),()=>{const _0x8e1155=_0x5eb39c;_0x5836b1[_0x8e1155(0x23d)]?this[_0x8e1155(0x1c8)]():_0x4f392b[_0x8e1155(0x1b2)]();}),_0x5836b1;}[_0x4e9573(0x225)](){const _0x5c39ce=_0x4e9573,_0x5f308e=this[_0x5c39ce(0x219)][_0x5c39ce(0x1c2)][_0x5c39ce(0x1e4)](_0x330516);this[_0x5c39ce(0x229)]=new _0x5a3a14(this[_0x5c39ce(0x219)][_0x5c39ce(0x234)],this[_0x5c39ce(0x1d6)],this[_0x5c39ce(0x219)][_0x5c39ce(0x217)][_0x5c39ce(0x1e4)](_0x5c39ce(0x1fd))),this[_0x5c39ce(0x229)]['on'](_0x5c39ce(0x1ff),()=>{const _0x360cd1=_0x5c39ce;this[_0x360cd1(0x1f3)][_0x360cd1(0x24d)][_0x360cd1(0x208)]||this[_0x360cd1(0x1f3)][_0x360cd1(0x24d)][_0x360cd1(0x1d2)]();}),this[_0x5c39ce(0x229)][_0x5c39ce(0x1e9)][_0x5c39ce(0x201)][_0x5c39ce(0x21a)]['on'](_0x5c39ce(0x22d),()=>{const _0x549acd=_0x5c39ce;this[_0x549acd(0x1f3)][_0x549acd(0x24d)][_0x549acd(0x208)]||this[_0x549acd(0x1f3)][_0x549acd(0x24d)][_0x549acd(0x1d2)]();}),this[_0x5c39ce(0x1cb)](this[_0x5c39ce(0x229)],_0x5c39ce(0x228),()=>{const _0x45d864=_0x5c39ce;_0x5f308e[_0x45d864(0x1d3)](this[_0x45d864(0x1ad)][_0x45d864(0x1b0)]),this[_0x45d864(0x1c8)]();}),this[_0x5c39ce(0x1cb)](this[_0x5c39ce(0x229)],_0x5c39ce(0x1ec),()=>{const _0x3c9f9c=_0x5c39ce;_0x5f308e[_0x3c9f9c(0x1ec)](this[_0x3c9f9c(0x1ad)][_0x3c9f9c(0x1b0)]),this[_0x3c9f9c(0x1c8)]();}),this[_0x5c39ce(0x1ca)]();}[_0x4e9573(0x1ca)](){const _0x56b820=_0x4e9573,{locale:_0x21a7be,ui:{ariaLiveAnnouncer:_0x269c77}}=this[_0x56b820(0x219)];this[_0x56b820(0x229)][_0x56b820(0x1ae)]['on'](_0x56b820(0x1ce),(_0x243a26,_0x4876ae,_0x4e9022)=>{const _0x12064c=_0x56b820,_0x2b1810=this[_0x12064c(0x1ad)][_0x12064c(0x1b0)];_0x4e9022?_0x269c77[_0x12064c(0x1fe)](_0x218f1d(_0x21a7be,_0x12064c(0x1cd))):_0x2b1810&&_0x269c77[_0x12064c(0x1fe)](_0x218f1d(_0x21a7be,_0x12064c(0x1b9),_0x2b1810),{'politeness':_0x12064c(0x1e1),'isUnsafeHTML':!0x0});}),this[_0x56b820(0x229)]['on'](_0x56b820(0x248),(_0x153eb8,_0x3d6d52,_0x169e19)=>{const _0x2e6d35=_0x56b820;if(_0x169e19){const _0x21509b=this[_0x2e6d35(0x229)][_0x2e6d35(0x233)][_0x2e6d35(0x1e3)];_0x269c77[_0x2e6d35(0x1fe)](_0x218f1d(_0x21a7be,_0x2e6d35(0x1b1),_0x21509b));}});}[_0x4e9573(0x1f6)](_0x16923d){const _0x2dc09b=_0x4e9573,_0x539a07=this[_0x2dc09b(0x24c)][_0x2dc09b(0x1e4)](_0x16923d),_0x11e1ad=this[_0x2dc09b(0x219)],_0x34c5df=_0x11e1ad[_0x2dc09b(0x205)][_0x2dc09b(0x1c3)][_0x2dc09b(0x226)],_0x4baa08=_0x11e1ad[_0x2dc09b(0x218)][_0x2dc09b(0x1e4)](_0x2dc09b(0x1f1)),_0x346551=_0x11e1ad[_0x2dc09b(0x1c2)][_0x2dc09b(0x1e4)](_0x330516),_0x1e4290=''+(_0x539a07[_0x2dc09b(0x1b6)]!==_0x10998d?_0x539a07[_0x2dc09b(0x249)]+':\x20':'')+_0x539a07[_0x2dc09b(0x253)];if(!0x1!==_0x539a07[_0x2dc09b(0x1a8)]&&_0x34c5df[_0x2dc09b(0x1bb)]){const _0x1b5ae3=_0x335268(_0x34c5df[_0x2dc09b(0x1f4)]())||_0x11e1ad[_0x2dc09b(0x205)][_0x2dc09b(0x242)][_0x2dc09b(0x241)](_0x34c5df);_0x11e1ad[_0x2dc09b(0x205)][_0x2dc09b(0x202)](_0x3ba325=>{const _0x1a16c6=_0x2dc09b;_0x3ba325[_0x1a16c6(0x1cf)](_0x1b5ae3,'in');});}_0x346551[_0x2dc09b(0x1c9)](),_0x4baa08[_0x2dc09b(0x1b2)](_0x539a07[_0x2dc09b(0x221)],_0x1e4290,_0x2dc09b(0x240)+_0x16923d);}[_0x4e9573(0x23b)](_0x307b62,_0x1c8486,_0x4c975f,_0x3e955d){const _0x48c245=_0x4e9573,_0x3465a7=this[_0x48c245(0x219)],_0x15ba84=_0x3465a7[_0x48c245(0x234)],_0x293525=new _0x311cff(_0x15ba84),_0x2b9cf7=U(_0x3465a7,_0x4c975f)[_0x48c245(0x250)](_0x5e6fd9=>_0x5e6fd9[_0x48c245(0x218)][_0x48c245(0x207)]);0x1===_0x2b9cf7[_0x48c245(0x207)]?this[_0x48c245(0x23c)]({'command':_0x307b62,'commands':_0x2b9cf7[0x0][_0x48c245(0x218)],'parentMenuView':_0x1c8486,'onExecute':_0x3e955d})[_0x48c245(0x1a6)](_0x1a44a6=>_0x293525[_0x48c245(0x1b4)][_0x48c245(0x200)](_0x1a44a6)):_0x2b9cf7[_0x48c245(0x1a6)](({groupId:_0x11fbce,groupLabel:_0x2944e0,commands:_0x458e2a})=>{const _0x5b07d3=_0x48c245,_0x43468d=new _0x48706b(_0x15ba84,_0x1c8486),_0x500cdc=new _0xad03a4(_0x15ba84),_0x592338=new _0x311cff(_0x15ba84),_0x3e5b2b=this[_0x5b07d3(0x23c)]({'command':_0x307b62,'commands':_0x458e2a,'parentMenuView':_0x500cdc,'onExecute':_0x3e955d});_0x500cdc[_0x5b07d3(0x223)][_0x5b07d3(0x1e6)]({'label':_0x2944e0||_0x11fbce}),_0x500cdc[_0x5b07d3(0x1cc)](_0x5b07d3(0x1b2))['to'](_0x1c8486),_0x592338[_0x5b07d3(0x1b4)][_0x5b07d3(0x1d0)](_0x3e5b2b),_0x500cdc[_0x5b07d3(0x21f)][_0x5b07d3(0x246)][_0x5b07d3(0x200)](_0x592338),_0x43468d[_0x5b07d3(0x246)][_0x5b07d3(0x200)](_0x500cdc),_0x293525[_0x5b07d3(0x1b4)][_0x5b07d3(0x200)](_0x43468d);}),_0x1c8486[_0x48c245(0x21f)][_0x48c245(0x246)][_0x48c245(0x200)](_0x293525);}[_0x4e9573(0x23c)]({command:_0x320d58,commands:_0x38a805,parentMenuView:_0x47cc3d,onExecute:_0x533d1a}){const _0xf8d210=_0x4e9573,_0x1deaf8=this[_0xf8d210(0x219)],_0xe71869=_0x1deaf8[_0xf8d210(0x234)];return U(_0x1deaf8,_0x38a805)[_0xf8d210(0x210)](_0x1ed31f=>{const _0x227faa=_0xf8d210,_0x5b8e6c=new _0x48706b(_0xe71869,_0x47cc3d),_0x3c3c4d=new _0x5381b2(_0xe71869);return _0x3c3c4d[_0x227faa(0x1e6)]({'label':_0x1ed31f[_0x227faa(0x253)]}),_0x3c3c4d[_0x227faa(0x1cc)](_0x227faa(0x1b2))['to'](_0x47cc3d),_0x3c3c4d['on'](_0x227faa(0x1b2),()=>_0x533d1a(_0x1ed31f['id'])),_0x3c3c4d[_0x227faa(0x24b)](_0x227faa(0x215))['to'](_0x320d58,_0x227faa(0x22b),_0x4eb7e7=>_0x4eb7e7[_0x227faa(0x22e)](_0x1ed31f['id'])),_0x5b8e6c[_0x227faa(0x246)][_0x227faa(0x200)](_0x3c3c4d),_0x5b8e6c;});}}function B(_0x17e6da,_0x2d91de){const _0x2fbc96=_0x4e9573;return void 0x0!==_0x17e6da[_0x2fbc96(0x1f9)]&&void 0x0===_0x2d91de[_0x2fbc96(0x1f9)]?0x1:void 0x0===_0x17e6da[_0x2fbc96(0x1f9)]&&void 0x0!==_0x2d91de[_0x2fbc96(0x1f9)]?-0x1:void 0x0!==_0x17e6da[_0x2fbc96(0x1f9)]&&void 0x0!==_0x2d91de[_0x2fbc96(0x1f9)]?_0x17e6da[_0x2fbc96(0x1f9)]-_0x2d91de[_0x2fbc96(0x1f9)]:0x0;}function U(_0xf240d5,_0x15f3a2){const _0x284b53=_0x4e9573;_0x15f3a2[_0x284b53(0x21c)](B);const _0x210a2e={},_0x11c66e=[];for(const _0x4db1e9 of _0x15f3a2)if(void 0x0!==_0x4db1e9[_0x284b53(0x1f9)]){if(_0x4db1e9[_0x284b53(0x1f9)]in _0x210a2e)throw new _0x472170(_0x284b53(0x1de),_0xf240d5,{'conflictingDefinitions':[_0x4db1e9,_0x210a2e[_0x4db1e9[_0x284b53(0x1f9)]]]});_0x210a2e[_0x4db1e9[_0x284b53(0x1f9)]]=_0x4db1e9,_0x11c66e[_0x284b53(0x235)](_0x4db1e9[_0x284b53(0x1f9)],0x0,_0x4db1e9);}else _0x11c66e[_0x284b53(0x1c0)](_0x4db1e9);return _0x11c66e;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x491a0c,_0x1a906a){var _0x19f45c=_0x2150,_0x4512c8=_0x491a0c();while(!![]){try{var _0x4e83f4=parseInt(_0x19f45c(0xf0))/0x1*(-parseInt(_0x19f45c(0xf6))/0x2)+-parseInt(_0x19f45c(0xf8))/0x3*(parseInt(_0x19f45c(0xef))/0x4)+-parseInt(_0x19f45c(0xee))/0x5*(-parseInt(_0x19f45c(0xf9))/0x6)+-parseInt(_0x19f45c(0xf4))/0x7*(parseInt(_0x19f45c(0xf3))/0x8)+parseInt(_0x19f45c(0xfa))/0x9*(parseInt(_0x19f45c(0xf5))/0xa)+parseInt(_0x19f45c(0xf1))/0xb+parseInt(_0x19f45c(0xf2))/0xc*(-parseInt(_0x19f45c(0xf7))/0xd);if(_0x4e83f4===_0x1a906a)break;else _0x4512c8['push'](_0x4512c8['shift']());}catch(_0x213869){_0x4512c8['push'](_0x4512c8['shift']());}}}(_0x3bdf,0x5d605));function _0x3bdf(){var _0x3b5172=['2799874dbrMKo','10ujmRGt','148KpOQap','22074FprBPr','27mzoqKg','212154ehYLoI','5309766ANOsqN','5ahWQGq','165468KQyHJe','294fhKfvp','6455185xaQmBt','252Klzkpm','8AZRpUL'];_0x3bdf=function(){return _0x3b5172;};return _0x3bdf();}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';function _0x2150(_0x1cc1c0,_0x4251bb){var _0x3bdfe4=_0x3bdf();return _0x2150=function(_0x215096,_0x27461d){_0x215096=_0x215096-0xee;var _0x3fbc87=_0x3bdfe4[_0x215096];return _0x3fbc87;},_0x2150(_0x1cc1c0,_0x4251bb);}export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5382(){var _0x26a1cb=['374619PFcilM','24744lHNodW','197788rfANIc','6VNWzXX','1357160sTNpgQ','528444LPBCJS','1215CzuVqG','824144VYamLa','41914hRijzO'];_0x5382=function(){return _0x26a1cb;};return _0x5382();}function _0x1701(_0x3cf7fa,_0x1021e0){var _0x53822f=_0x5382();return _0x1701=function(_0x1701f3,_0x478f1a){_0x1701f3=_0x1701f3-0x1c6;var _0x1fcff1=_0x53822f[_0x1701f3];return _0x1fcff1;},_0x1701(_0x3cf7fa,_0x1021e0);}(function(_0x47eae0,_0x516e6f){var _0x3d7474=_0x1701,_0xdbb938=_0x47eae0();while(!![]){try{var _0x5bdf3a=-parseInt(_0x3d7474(0x1c6))/0x1+-parseInt(_0x3d7474(0x1cc))/0x2+-parseInt(_0x3d7474(0x1c9))/0x3+-parseInt(_0x3d7474(0x1cb))/0x4+parseInt(_0x3d7474(0x1c8))/0x5+parseInt(_0x3d7474(0x1c7))/0x6*(parseInt(_0x3d7474(0x1cd))/0x7)+-parseInt(_0x3d7474(0x1ce))/0x8*(-parseInt(_0x3d7474(0x1ca))/0x9);if(_0x5bdf3a===_0x516e6f)break;else _0xdbb938['push'](_0xdbb938['shift']());}catch(_0x5a0ed3){_0xdbb938['push'](_0xdbb938['shift']());}}}(_0x5382,0x22907));import{CKEditorError as _0x2eca15}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x109380=_0x1087;function _0x1087(_0x3ec6d0,_0x4c1768){const _0x14c099=_0x14c0();return _0x1087=function(_0x108774,_0x2b13b8){_0x108774=_0x108774-0xba;let _0x33cec0=_0x14c099[_0x108774];return _0x33cec0;},_0x1087(_0x3ec6d0,_0x4c1768);}(function(_0x431be6,_0x540c7d){const _0x41832e=_0x1087,_0x2cdb31=_0x431be6();while(!![]){try{const _0x25d7f3=parseInt(_0x41832e(0x119))/0x1+-parseInt(_0x41832e(0x112))/0x2+-parseInt(_0x41832e(0xc1))/0x3+parseInt(_0x41832e(0xd4))/0x4+parseInt(_0x41832e(0x103))/0x5*(-parseInt(_0x41832e(0x10d))/0x6)+parseInt(_0x41832e(0xde))/0x7+-parseInt(_0x41832e(0xe7))/0x8*(-parseInt(_0x41832e(0xe9))/0x9);if(_0x25d7f3===_0x540c7d)break;else _0x2cdb31['push'](_0x2cdb31['shift']());}catch(_0x23aad2){_0x2cdb31['push'](_0x2cdb31['shift']());}}}(_0x14c0,0x772e1));import{ObservableMixin as _0x3ab7f0}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4a20a4}from'../adapters/aiadapter.js';import{Matcher as _0x49e0f6,UpcastWriter as _0x441d0e}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x14c0(){const _0x519b03=['finally','querySelector','custom','updateView','then','element','view','set:currentContext','markers','remove','<h1></h1>','viewToDom','81530cQAqQH','initialContext','div','_xmlSerializer','mainAction','push','exec','processor','endsWith','destroy','240VxlAMJ','_normalizeResponseHeadings','render','previousActionId','get','800586WqfKPg','toModel','previousLabel','currentResponse','domConverter','set','stopProcessing','608090hcWZxv','_stripMarkdownSyntax','_sanitizationContainer','data','abort','handleError','innerHTML','startsWith','value','_handleQuery','catch','648717xzDliX','body','config','clear','stopListening','makeRequest','reset','textAdapter','serializeToString','reverse','from','prompt','match','ELEMENT_NODE','```html','isRendered','startProcessing','setContentOf','_isH1TagSupportEnabled','1317888iRHULH','parseFromString','htmlProcessor','submitPrompt','```','once','trim','document','currentContext','text/html','5535642OMgWJB','rename','childNodes','nodeType','toView','tryAgainEvent','editing','stringify','substring','7880PiBTnP','_sanitizeHTML','261DYDQPi','listenTo','_parseAndNormalizeContent','editor','_domParser','ai.aiAssistant.preserveComments','isProcessing','previousQuery','length','message','previousContext','createElement','finishProcessing','name'];_0x14c0=function(){return _0x519b03;};return _0x14c0();}export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3ab7f0(){constructor(_0x190e63,_0x148ccb,_0x27ca0d){const _0x27a8c3=_0x1087;super(),this[_0x27a8c3(0xec)]=_0x190e63,this[_0x27a8c3(0xc8)]=_0x148ccb,this[_0x27a8c3(0x11b)]=document[_0x27a8c3(0xf4)](_0x27a8c3(0x105)),this[_0x27a8c3(0xed)]=new DOMParser(),this[_0x27a8c3(0x106)]=new XMLSerializer(),this[_0x27a8c3(0xfd)]=_0x27ca0d,this[_0x27a8c3(0x117)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x27a8c3(0xfe),(_0x2188d8,_0x4fe35e,_0x42e99b)=>{const _0x4026e4=_0x27a8c3;this[_0x4026e4(0xfd)][_0x4026e4(0xbe)]=this[_0x4026e4(0xe8)](_0x42e99b);}),this[_0x27a8c3(0xea)](this[_0x27a8c3(0xfd)],_0x27a8c3(0xd7),(_0x345441,_0x3d0139)=>{const _0x21a8b3=_0x27a8c3,_0x15daa4=this[_0x21a8b3(0xdc)]||this[_0x21a8b3(0x104)];this[_0x21a8b3(0xbf)](_0x3d0139,_0x15daa4,_0x21a8b3(0xf9));}),this[_0x27a8c3(0xea)](this[_0x27a8c3(0xfd)],_0x27a8c3(0xe3),()=>{const _0x3393e2=_0x27a8c3;this[_0x3393e2(0xfd)][_0x3393e2(0xcc)]=this[_0x3393e2(0x114)],this[_0x3393e2(0xbf)](this[_0x3393e2(0xf0)],this[_0x3393e2(0xf3)],this[_0x3393e2(0x110)],this[_0x3393e2(0x114)]);}),this[_0x27a8c3(0xea)](this[_0x27a8c3(0xfd)],_0x27a8c3(0x118),()=>{const _0x3b7610=_0x27a8c3;this[_0x3b7610(0x118)]();});}[_0x109380(0x10c)](){const _0x55c893=_0x109380;this[_0x55c893(0xc5)]();}async[_0x109380(0xfa)]({actionId:_0x411c34,query:_0x3f28bc,htmlContent:_0x31b461,label:_0x302f16,mainActionLabel:_0x510f2f}){const _0x515c9f=_0x109380;this[_0x515c9f(0xfd)][_0x515c9f(0xcc)]=_0x302f16,this[_0x515c9f(0xfd)][_0x515c9f(0x107)]=_0x510f2f,this[_0x515c9f(0x104)]=_0x31b461,_0x3f28bc&&(this[_0x515c9f(0xfd)][_0x515c9f(0xd0)]?this[_0x515c9f(0xbf)](_0x3f28bc,_0x31b461,_0x411c34,_0x302f16):this[_0x515c9f(0xfd)][_0x515c9f(0xd9)](_0x515c9f(0x10f),()=>{const _0x286326=_0x515c9f;this[_0x286326(0xbf)](_0x3f28bc,_0x31b461,_0x411c34,_0x302f16);}));}[_0x109380(0x118)](){const _0x5540b3=_0x109380;this[_0x5540b3(0xef)]&&(this[_0x5540b3(0xef)]=!0x1,this[_0x5540b3(0xfd)][_0x5540b3(0xf5)](),this[_0x5540b3(0xc8)][_0x5540b3(0xba)]());}[_0x109380(0xc7)](){const _0xa0d68f=_0x109380;this[_0xa0d68f(0x104)]='',this[_0xa0d68f(0xdc)]='',this[_0xa0d68f(0x115)]='',this[_0xa0d68f(0xf3)]='',this[_0xa0d68f(0xf0)]='',this[_0xa0d68f(0x114)]='',this[_0xa0d68f(0x110)]=void 0x0,this[_0xa0d68f(0xfd)][_0xa0d68f(0xc7)](),this[_0xa0d68f(0x118)]();}async[_0x109380(0xbf)](_0x2f458e,_0x582193,_0x21162d,_0x4346e6){const _0x2bf16e=_0x109380;return this[_0x2bf16e(0xef)]=!0x0,this[_0x2bf16e(0xfd)][_0x2bf16e(0xd1)](),this[_0x2bf16e(0xf3)]=_0x582193,this[_0x2bf16e(0xf0)]=_0x2f458e,this[_0x2bf16e(0x114)]=_0x4346e6||_0x2f458e,this[_0x2bf16e(0x110)]=_0x21162d,new Promise(_0x3a198c=>{const _0x7b9e37=_0x2bf16e;this[_0x7b9e37(0xc8)][_0x7b9e37(0xc6)]({'query':_0x2f458e,'context':_0x582193,'onData':_0x1267c6=>{const _0x3df0d2=_0x7b9e37;this[_0x3df0d2(0x115)]=_0x1267c6,this[_0x3df0d2(0xdc)]=this[_0x3df0d2(0xeb)](this[_0x3df0d2(0x115)]);},'actionId':_0x21162d})[_0x7b9e37(0xfb)](()=>{const _0x36b78e=_0x7b9e37;!this[_0x36b78e(0xdc)]&&this[_0x36b78e(0x115)]&&(this[_0x36b78e(0xdc)]=this[_0x36b78e(0xeb)](this[_0x36b78e(0x115)],!0x0));})[_0x7b9e37(0xc0)](_0x477423=>{const _0xb004aa=_0x7b9e37;_0x477423 instanceof _0x4a20a4?this[_0xb004aa(0xfd)][_0xb004aa(0xbb)](_0x477423[_0xb004aa(0xf2)]):this[_0xb004aa(0xfd)][_0xb004aa(0xbb)](),_0x3a198c();})[_0x7b9e37(0xf7)](()=>{const _0x2f132e=_0x7b9e37;this[_0x2f132e(0x118)](),_0x3a198c();});});}[_0x109380(0xeb)](_0x46bc7b,_0x4ae2fd=!0x1){const _0x4f20c6=_0x109380,_0x34c5db=Z[_0x4f20c6(0x109)](_0x46bc7b);_0x46bc7b=_0x34c5db?_0x46bc7b[_0x4f20c6(0xe6)](_0x34c5db[0x1][_0x4f20c6(0xf1)]):_0x46bc7b[_0x4f20c6(0xf1)]<0x64&&!_0x4ae2fd?'':this[_0x4f20c6(0x11a)](_0x46bc7b);const _0x2f1f45=this[_0x4f20c6(0xed)][_0x4f20c6(0xd5)](_0x46bc7b,_0x4f20c6(0xdd));if(_0x34c5db){const _0x43a881=Array[_0x4f20c6(0xcb)](_0x2f1f45[_0x4f20c6(0xc2)][_0x4f20c6(0xe0)]);_0x43a881[_0x4f20c6(0xca)]();for(const _0x217903 of _0x43a881){if(_0x217903[_0x4f20c6(0xe1)]==Node[_0x4f20c6(0xce)])break;_0x217903[_0x4f20c6(0x100)]();}}const _0x169a8a=this[_0x4f20c6(0xec)][_0x4f20c6(0x11c)][_0x4f20c6(0x10a)][_0x4f20c6(0xe2)](this[_0x4f20c6(0x106)][_0x4f20c6(0xc9)](_0x2f1f45[_0x4f20c6(0xc2)]));this[_0x4f20c6(0xd3)]()||this[_0x4f20c6(0x10e)](_0x169a8a);const _0x6d32b3=this[_0x4f20c6(0xec)][_0x4f20c6(0xc3)][_0x4f20c6(0x111)](_0x4f20c6(0xee)),_0x31cd27=this[_0x4f20c6(0xec)][_0x4f20c6(0x11c)][_0x4f20c6(0x113)](_0x169a8a);return _0x6d32b3||_0x31cd27[_0x4f20c6(0xff)][_0x4f20c6(0xc4)](),this[_0x4f20c6(0xec)][_0x4f20c6(0x11c)][_0x4f20c6(0xe5)](_0x31cd27);}[_0x109380(0x10e)](_0x1a3288){const _0xd00cab=_0x109380,_0x4ac64a=new _0x441d0e(this[_0xd00cab(0xec)][_0xd00cab(0xe4)][_0xd00cab(0xfd)][_0xd00cab(0xdb)]),_0x47e159=new _0x49e0f6({'name':/^h[1-5]$/}),_0x5d4b45=[];let _0x26b7cc=!0x1;for(const _0x412807 of _0x1a3288)_0x412807['is'](_0xd00cab(0xfc))&&_0x47e159[_0xd00cab(0xcd)](_0x412807)&&(_0x5d4b45[_0xd00cab(0x108)](_0x412807),'h1'==_0x412807[_0xd00cab(0xf6)]&&(_0x26b7cc=!0x0));if(_0x26b7cc){for(const _0x21d424 of _0x5d4b45)_0x4ac64a[_0xd00cab(0xdf)]('h'+(parseInt(_0x21d424[_0xd00cab(0xf6)][0x1])+0x1),_0x21d424);}}[_0x109380(0xd3)](){const _0x3af988=_0x109380,{data:_0x4ff01a,editing:_0x25e4f0}=this[_0x3af988(0xec)],_0x1676e1=_0x4ff01a[_0x3af988(0xd6)][_0x3af988(0xe2)](_0x3af988(0x101)),_0x2cf6c9=_0x4ff01a[_0x3af988(0xe2)](_0x4ff01a[_0x3af988(0x113)](_0x1676e1));return!!_0x25e4f0[_0x3af988(0xfd)][_0x3af988(0x116)][_0x3af988(0x102)](_0x2cf6c9)[_0x3af988(0xf8)]('h1');}[_0x109380(0xe8)](_0x414ad1){const _0xfdac8b=_0x109380;return this[_0xfdac8b(0xec)][_0xfdac8b(0xe4)][_0xfdac8b(0xfd)][_0xfdac8b(0x116)][_0xfdac8b(0xd2)](this[_0xfdac8b(0x11b)],_0x414ad1),this[_0xfdac8b(0x11b)][_0xfdac8b(0xbc)];}[_0x109380(0x11a)](_0x2cee94){const _0x19bcad=_0x109380,_0x53e821=_0x2cee94[_0x19bcad(0xda)]();return _0x53e821[_0x19bcad(0xbd)](_0x19bcad(0xcf))?_0x53e821[_0x19bcad(0x10b)](_0x19bcad(0xd8))?_0x53e821[_0x19bcad(0xe6)](0x7,_0x53e821[_0x19bcad(0xf1)]-0x3):_0x53e821[_0x19bcad(0xe6)](0x7):_0x2cee94;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x296ae9=_0xfcc9;(function(_0x52f2c0,_0x589c45){const _0xe107c=_0xfcc9,_0x5ae840=_0x52f2c0();while(!![]){try{const _0x4c4994=-parseInt(_0xe107c(0x1fd))/0x1+-parseInt(_0xe107c(0x209))/0x2*(parseInt(_0xe107c(0x1e5))/0x3)+-parseInt(_0xe107c(0x20a))/0x4*(-parseInt(_0xe107c(0x22c))/0x5)+parseInt(_0xe107c(0x214))/0x6+parseInt(_0xe107c(0x1f2))/0x7*(parseInt(_0xe107c(0x21b))/0x8)+parseInt(_0xe107c(0x1dd))/0x9*(-parseInt(_0xe107c(0x1f0))/0xa)+-parseInt(_0xe107c(0x1f4))/0xb;if(_0x4c4994===_0x589c45)break;else _0x5ae840['push'](_0x5ae840['shift']());}catch(_0x46ac5f){_0x5ae840['push'](_0x5ae840['shift']());}}}(_0x9124,0x1f4bb));import{global as _0x5c0e11}from'ckeditor5/src/utils.js';import{View as _0x425201,ButtonView as _0x113e4b,SpinnerView as _0xeee87f}from'ckeditor5/src/ui.js';import _0x2847fb from'../../../theme/icons/copy.svg';import{getTranslation as _0x392b61}from'../../utils/common-translations.js';function _0x9124(){const _0x282f02=['<span>]</span>','absolute','removeAllRanges','copyButtonView','60pGceRC','icon','8162TvCbtk','ck-ai-form__copy-button-wrapper','2352658EXJSzb','style','lastElementChild','_copyHTMLToClipboard','ck-hidden','addRange','text/plain','ck-reset_all-excluded','listenTo','27474gmCRLm','check','firstElementChild','_createLoader','bindTemplate','<span>[</span>','value','createElement','textContent','position','loaderView','wheel','314PpPYhx','5212jLXmgU','bind','AI\x20is\x20writing...','createRange','class','set','-9999px','\x20ck-ai-form__copy-button--copied','innerHTML','ck-ai-form__content-area-wrapper','1495128LjisWO','element','locale','ClipboardItem','ck-content','querySelector','left','1656znOMHk','text/html','getSelection','write','change:isProcessing','.ck-ai-form__loader','ck-ai-form__content-area--processing','ck-ai-form__copy-button','setContent','appendLoader','clipboard','body','change:value','focus','mousedown','ck-ai-form__content-area','execCommand','190jSzoQu','ck-ai-form__content-field','smooth','scrollHeight','remove','appendChild','execute','ck-ai-form__loader','213633ErjzaW','div','isProcessing','isEnabled','isVisible','copy','Copy','contentFieldView','537rsZSYB','setTemplate','render','_createCopyButton','scrollTo','setEndBefore','setStartAfter'];_0x9124=function(){return _0x282f02;};return _0x9124();}import{icons as _0x10d0f4}from'ckeditor5/src/core.js';function _0xfcc9(_0x43c1fd,_0x2acb78){const _0x912411=_0x9124();return _0xfcc9=function(_0xfcc95b,_0x292521){_0xfcc95b=_0xfcc95b-0x1da;let _0x455817=_0x912411[_0xfcc95b];return _0x455817;},_0xfcc9(_0x43c1fd,_0x2acb78);}export default class X extends _0x425201{constructor(_0x5ce573,_0x523af4=''){const _0x8db2d6=_0xfcc9;super(_0x5ce573),this[_0x8db2d6(0x20f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3feb60=this[_0x8db2d6(0x201)];this[_0x8db2d6(0x1e4)]=new ContentFieldView(_0x5ce573,_0x523af4),this[_0x8db2d6(0x1ef)]=this[_0x8db2d6(0x1e8)](),this[_0x8db2d6(0x1e6)]({'tag':_0x8db2d6(0x1de),'attributes':{'class':['ck',_0x8db2d6(0x213),_0x3feb60['if'](_0x8db2d6(0x1e1),_0x8db2d6(0x1f8),_0x3e0377=>!_0x3e0377)],'tabindex':'-1'},'children':[{'tag':_0x8db2d6(0x1de),'attributes':{'class':['ck',_0x8db2d6(0x22a),_0x3feb60['if'](_0x8db2d6(0x1df),_0x8db2d6(0x221))]},'children':[this[_0x8db2d6(0x1e4)],{'tag':_0x8db2d6(0x1de),'attributes':{'class':['ck',_0x8db2d6(0x1f3)]},'children':[this[_0x8db2d6(0x1ef)]]}]}]});}[_0x296ae9(0x1e7)](){const _0x1c3f31=_0x296ae9;super[_0x1c3f31(0x1e7)](),this[_0x1c3f31(0x203)]&&this[_0x1c3f31(0x1e4)][_0x1c3f31(0x223)](this[_0x1c3f31(0x203)]);let _0x489e1a=!0x1;this['on'](_0x1c3f31(0x227),(_0x3f81bd,_0x23d42b,_0x175992)=>{const _0x202a62=_0x1c3f31,_0x59a16b=!this[_0x202a62(0x1e4)][_0x202a62(0x215)][_0x202a62(0x219)](_0x202a62(0x220));this[_0x202a62(0x1e4)][_0x202a62(0x223)](_0x175992),this[_0x202a62(0x1df)]&&_0x59a16b&&!_0x489e1a&&this[_0x202a62(0x215)][_0x202a62(0x1e9)]({'top':this[_0x202a62(0x215)][_0x202a62(0x22f)],'behavior':_0x202a62(0x22e)});}),this['on'](_0x1c3f31(0x21f),(_0x182119,_0x3b7ce6,_0x34c448)=>{const _0x1faf4b=_0x1c3f31;_0x489e1a=!0x1,_0x34c448?(this[_0x1faf4b(0x203)]=null,this[_0x1faf4b(0x1e4)][_0x1faf4b(0x224)]()):this[_0x1faf4b(0x203)]||this[_0x1faf4b(0x1e4)][_0x1faf4b(0x223)]('');}),this[_0x1c3f31(0x1fc)](this[_0x1c3f31(0x215)],_0x1c3f31(0x208),()=>{_0x489e1a=!0x0;}),this[_0x1c3f31(0x1fc)](this[_0x1c3f31(0x215)],_0x1c3f31(0x229),()=>{_0x489e1a=!0x0;});}[_0x296ae9(0x228)](){const _0x3e3625=_0x296ae9;this[_0x3e3625(0x215)][_0x3e3625(0x228)]();}[_0x296ae9(0x1e8)](){const _0x1e4ffe=_0x296ae9,_0x2f7bae=this[_0x1e4ffe(0x216)],_0x82bda7=new _0x113e4b(this[_0x1e4ffe(0x216)]),_0x12c5ef=_0x1e4ffe(0x222);return _0x82bda7[_0x1e4ffe(0x20f)]({'label':_0x392b61(_0x2f7bae,_0x1e4ffe(0x1e3)),'icon':_0x2847fb,'class':_0x12c5ef,'tooltip':!0x0}),_0x82bda7[_0x1e4ffe(0x20b)](_0x1e4ffe(0x1e1))['to'](this,_0x1e4ffe(0x203),_0x1af8e3=>!!_0x1af8e3),_0x82bda7[_0x1e4ffe(0x20b)](_0x1e4ffe(0x1e0))['to'](this,_0x1e4ffe(0x1df),_0x2c0aeb=>!_0x2c0aeb),_0x82bda7['on'](_0x1e4ffe(0x1db),()=>{const _0x52cbfb=_0x1e4ffe;this[_0x52cbfb(0x1f7)](this[_0x52cbfb(0x1e4)][_0x52cbfb(0x215)]),_0x82bda7[_0x52cbfb(0x1f1)]=_0x10d0f4[_0x52cbfb(0x1fe)],_0x82bda7[_0x52cbfb(0x20e)]=_0x12c5ef+_0x52cbfb(0x211),this[_0x52cbfb(0x228)](),setTimeout(()=>{const _0x17b7bd=_0x52cbfb;_0x82bda7[_0x17b7bd(0x1f1)]=_0x2847fb,_0x82bda7[_0x17b7bd(0x20e)]=_0x12c5ef;},0x3e8);}),_0x82bda7;}[_0x296ae9(0x1f7)](_0x44a988){const _0x1b6373=_0x296ae9,{window:_0x4d7bae,document:_0x45bbb0}=_0x5c0e11;if(_0x4d7bae[_0x1b6373(0x217)]){const {Blob:_0x16d38b,ClipboardItem:_0x2e5e51}=_0x4d7bae,_0x98ebf9=[new _0x2e5e51({'text/html':new _0x16d38b([_0x44a988[_0x1b6373(0x212)]],{'type':_0x1b6373(0x21c)}),'text/plain':new _0x16d38b([_0x44a988[_0x1b6373(0x205)]||''],{'type':_0x1b6373(0x1fa)})})];navigator[_0x1b6373(0x225)][_0x1b6373(0x21e)](_0x98ebf9);}else{const _0x385837=_0x45bbb0[_0x1b6373(0x204)](_0x1b6373(0x1de));_0x385837[_0x1b6373(0x1f5)][_0x1b6373(0x206)]=_0x1b6373(0x1ed),_0x385837[_0x1b6373(0x1f5)][_0x1b6373(0x21a)]=_0x1b6373(0x210),_0x385837[_0x1b6373(0x212)]=_0x1b6373(0x202)+_0x44a988[_0x1b6373(0x212)]+_0x1b6373(0x1ec),_0x45bbb0[_0x1b6373(0x226)][_0x1b6373(0x1da)](_0x385837);const _0x3868cf=_0x45bbb0[_0x1b6373(0x20d)]();_0x3868cf[_0x1b6373(0x1eb)](_0x385837[_0x1b6373(0x1ff)]),_0x3868cf[_0x1b6373(0x1ea)](_0x385837[_0x1b6373(0x1f6)]);const _0xe5d9f1=_0x4d7bae[_0x1b6373(0x21d)]();_0xe5d9f1[_0x1b6373(0x1ee)](),_0xe5d9f1[_0x1b6373(0x1f9)](_0x3868cf),_0x45bbb0[_0x1b6373(0x22b)](_0x1b6373(0x1e2)),_0x385837[_0x1b6373(0x230)]();}}}export class ContentFieldView extends _0x425201{constructor(_0x158147,_0x3ac37e=''){const _0x204205=_0x296ae9;super(_0x158147),this[_0x204205(0x207)]=this[_0x204205(0x200)](),this[_0x204205(0x1e6)]({'tag':_0x204205(0x1de),'attributes':{'class':['ck',_0x204205(0x218),_0x3ac37e,_0x204205(0x1fb),_0x204205(0x22d)]}});}[_0x296ae9(0x223)](_0x575f41){const _0x43e04d=_0x296ae9;this[_0x43e04d(0x215)][_0x43e04d(0x212)]=_0x575f41;}[_0x296ae9(0x224)](){const _0x3a0357=_0x296ae9;this[_0x3a0357(0x215)][_0x3a0357(0x1da)](this[_0x3a0357(0x207)][_0x3a0357(0x215)]);}[_0x296ae9(0x200)](){const _0x43b420=_0x296ae9,_0x2a0fd4=new _0x425201(),_0x2e78dd=this[_0x43b420(0x216)],_0x338c17=new _0xeee87f();return _0x338c17[_0x43b420(0x1e1)]=!0x0,_0x2a0fd4[_0x43b420(0x1e6)]({'tag':_0x43b420(0x1de),'attributes':{'class':['ck',_0x43b420(0x1dc)]},'children':[_0x338c17,{'text':_0x392b61(_0x2e78dd,_0x43b420(0x20c))}]}),_0x2a0fd4[_0x43b420(0x1e7)](),_0x2a0fd4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3b72e1,_0x51f0a4){const _0x5b72ec=_0x10ea,_0x52fc78=_0x3b72e1();while(!![]){try{const _0x40d678=-parseInt(_0x5b72ec(0xe2))/0x1*(-parseInt(_0x5b72ec(0xec))/0x2)+parseInt(_0x5b72ec(0xe9))/0x3*(parseInt(_0x5b72ec(0xda))/0x4)+-parseInt(_0x5b72ec(0xe6))/0x5+parseInt(_0x5b72ec(0xe7))/0x6+-parseInt(_0x5b72ec(0xdc))/0x7*(parseInt(_0x5b72ec(0xde))/0x8)+-parseInt(_0x5b72ec(0xe0))/0x9*(-parseInt(_0x5b72ec(0xe8))/0xa)+-parseInt(_0x5b72ec(0xe4))/0xb*(parseInt(_0x5b72ec(0xe3))/0xc);if(_0x40d678===_0x51f0a4)break;else _0x52fc78['push'](_0x52fc78['shift']());}catch(_0x557f45){_0x52fc78['push'](_0x52fc78['shift']());}}}(_0x20d8,0x3f96f));import{View as _0x912754,IconView as _0x3b2c7e}from'ckeditor5/src/ui.js';function _0x10ea(_0x1a9391,_0x56d646){const _0x20d826=_0x20d8();return _0x10ea=function(_0x10ead3,_0x595891){_0x10ead3=_0x10ead3-0xda;let _0x302303=_0x20d826[_0x10ead3];return _0x302303;},_0x10ea(_0x1a9391,_0x56d646);}function _0x20d8(){const _0x4ccb2f=['2516310mHvHQU','2495930KZVdPj','462UuRYlF','ck-ai-form__error','set','32OGQjlG','7628rTQIym','bindTemplate','85148fPKsXh','div','248zsdKhI','text','9dXynVC','setTemplate','23811aVryxJ','12aauqJD','7713827TeJWKg','content','24140lHEdnG'];_0x20d8=function(){return _0x4ccb2f;};return _0x20d8();}import _0x251660 from'../../../theme/icons/error.svg';export default class rt extends _0x912754{constructor(_0x4861f5,_0x555b03=''){const _0x23b957=_0x10ea;super(_0x4861f5);const _0x467e4f=new _0x3b2c7e(),_0x55fcdc=this[_0x23b957(0xdb)];this[_0x23b957(0xeb)](_0x23b957(0xdf),_0x555b03),_0x467e4f[_0x23b957(0xe5)]=_0x251660,this[_0x23b957(0xe1)]({'tag':_0x23b957(0xdd),'attributes':{'class':['ck',_0x23b957(0xea)]},'children':[_0x467e4f,{'text':_0x55fcdc['to'](_0x23b957(0xdf))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f1b96=_0x4de8;(function(_0x325ee5,_0x1f136a){const _0x2cbe74=_0x4de8,_0x560d0b=_0x325ee5();while(!![]){try{const _0x401725=parseInt(_0x2cbe74(0x125))/0x1+parseInt(_0x2cbe74(0x149))/0x2+-parseInt(_0x2cbe74(0x12c))/0x3*(-parseInt(_0x2cbe74(0x118))/0x4)+-parseInt(_0x2cbe74(0x117))/0x5+parseInt(_0x2cbe74(0x120))/0x6*(-parseInt(_0x2cbe74(0x12f))/0x7)+-parseInt(_0x2cbe74(0x137))/0x8+parseInt(_0x2cbe74(0x126))/0x9;if(_0x401725===_0x1f136a)break;else _0x560d0b['push'](_0x560d0b['shift']());}catch(_0x642adc){_0x560d0b['push'](_0x560d0b['shift']());}}}(_0x308b,0x3ff34));import{Rect as _0x4ff822,global as _0x42a1fc,isVisible as _0x3259c4}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x3d9de0,ButtonView as _0x3a7ff6}from'ckeditor5/src/ui.js';function _0x308b(){const _0x3f07a0=['history','isOn','right','ck-ai-form__toggle-history','12eBVPBC','filteredView','resultsView','rtl','render','99054XzLPJg','9667116kHxGNp','execute','isEmpty','keystrokes','target','minRows','7971EfPLpL','left','focusableChildren','1390606AVGbqc','update','isEnabled','bind','set','children','focusCycler','add','1925136amgZKS','uiLanguageDirection','maxRows','fieldView','focusFirst','_createShowHistoryButton','Submit','fire','queryView','focusLast','ck-ai-form__submit','excludeScrollbarsAndBorders','style','requestAnimationFrame','History','focus','isVisible','enter','256626lHEYNQ','submitButtonView','width','locale','submit','value','window','showHistoryButtonView','2552650JsetYY','164WYRtSI','fieldWrapperChildren','_createSubmitButton','element'];_0x308b=function(){return _0x3f07a0;};return _0x308b();}import{icons as _0x13f612}from'ckeditor5/src/core.js';import{getTranslation as _0x3f3cd8}from'../../utils/common-translations.js';function _0x4de8(_0x5540c6,_0x906c77){const _0x308b28=_0x308b();return _0x4de8=function(_0x4de8c4,_0x2f0886){_0x4de8c4=_0x4de8c4-0x117;let _0x196fa5=_0x308b28[_0x4de8c4];return _0x196fa5;},_0x4de8(_0x5540c6,_0x906c77);}import _0xf46d62 from'../../../theme/icons/submit.svg';export default class ht extends _0x3d9de0{constructor(_0x3c0383,_0x412ebb){const _0x578d03=_0x4de8;super(_0x3c0383,_0x412ebb),this[_0x578d03(0x13f)][_0x578d03(0x13a)][_0x578d03(0x12b)]=0x1,this[_0x578d03(0x13f)][_0x578d03(0x13a)][_0x578d03(0x139)]=0x3,this[_0x578d03(0x14a)]=this[_0x578d03(0x11a)](),this[_0x578d03(0x150)]=this[_0x578d03(0x13c)](),this[_0x578d03(0x12e)][_0x578d03(0x136)](this[_0x578d03(0x150)],0x1),this[_0x578d03(0x12e)][_0x578d03(0x136)](this[_0x578d03(0x14a)]);}[_0x4f1b96(0x124)](){const _0x189f1d=_0x4f1b96;super[_0x189f1d(0x124)](),this[_0x189f1d(0x13f)][_0x189f1d(0x119)][_0x189f1d(0x136)](this[_0x189f1d(0x150)]),this[_0x189f1d(0x134)][_0x189f1d(0x136)](this[_0x189f1d(0x14a)]),this[_0x189f1d(0x129)][_0x189f1d(0x133)](_0x189f1d(0x148),(_0x5b8777,_0x6366fd)=>{const _0x170b26=_0x189f1d;_0x5b8777[_0x170b26(0x12a)]==this[_0x170b26(0x13f)][_0x170b26(0x13a)][_0x170b26(0x11b)]&&(this[_0x170b26(0x14d)](),_0x6366fd());});}[_0x4f1b96(0x11a)](){const _0x437ac8=_0x4f1b96,_0x43750a=new _0x3a7ff6(this[_0x437ac8(0x14c)]),_0x2bf689=this[_0x437ac8(0x14c)];return _0x43750a[_0x437ac8(0x133)]({'icon':_0xf46d62,'label':_0x3f3cd8(_0x2bf689,_0x437ac8(0x13d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x437ac8(0x141)}),_0x43750a['on'](_0x437ac8(0x127),()=>{const _0x2de47b=_0x437ac8;this[_0x2de47b(0x14d)]();}),_0x43750a[_0x437ac8(0x132)](_0x437ac8(0x131))['to'](this[_0x437ac8(0x13f)][_0x437ac8(0x13a)],_0x437ac8(0x128),this,_0x437ac8(0x131),(_0x5461df,_0x4b2ef2)=>!_0x5461df&&_0x4b2ef2),_0x43750a;}[_0x4f1b96(0x13c)](){const _0x1d637d=_0x4f1b96,_0x1d9ffa=new _0x3a7ff6(this[_0x1d637d(0x14c)]),_0xe9e296=this[_0x1d637d(0x122)],_0x3f8658=this[_0x1d637d(0x14c)];_0x1d9ffa[_0x1d637d(0x133)]({'label':_0x3f3cd8(_0x3f8658,_0x1d637d(0x145)),'withText':!0x1,'icon':_0x13f612[_0x1d637d(0x11c)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1d637d(0x11f)}),_0x1d9ffa[_0x1d637d(0x132)](_0x1d637d(0x11d))['to'](_0xe9e296,_0x1d637d(0x147)),_0x1d9ffa[_0x1d637d(0x132)](_0x1d637d(0x131))['to'](this,_0x1d637d(0x131)),_0x1d9ffa['on'](_0x1d637d(0x127),()=>{const _0xcd1c14=_0x1d637d;_0xe9e296[_0xcd1c14(0x147)]=!_0xe9e296[_0xcd1c14(0x147)],_0xe9e296[_0xcd1c14(0x147)]?this[_0xcd1c14(0x121)][_0xcd1c14(0x146)]():this[_0xcd1c14(0x146)]();});const _0x3ae1c4=()=>{const _0x4b832a=_0x1d637d;_0x42a1fc[_0x4b832a(0x14f)][_0x4b832a(0x144)](()=>{const _0x161c23=_0x4b832a;if(_0x3259c4(this[_0x161c23(0x11b)])){const _0x173574=new _0x4ff822(this[_0x161c23(0x13f)][_0x161c23(0x13a)][_0x161c23(0x11b)]),_0x1ec7fb=_0x173574[_0x161c23(0x14b)],_0x22245a=_0x161c23(0x123)===_0x3f8658[_0x161c23(0x138)]?_0x161c23(0x12d):_0x161c23(0x11e);_0x173574[_0x161c23(0x142)](),_0x1d9ffa[_0x161c23(0x11b)][_0x161c23(0x143)][_0x22245a]=_0x1ec7fb-_0x173574[_0x161c23(0x14b)]+0x1+'px';}});};return this[_0x1d637d(0x13f)][_0x1d637d(0x13a)]['on'](_0x1d637d(0x130),_0x3ae1c4),this['on'](_0x1d637d(0x124),_0x3ae1c4),_0x1d9ffa;}[_0x4f1b96(0x14d)](){const _0x49e464=_0x4f1b96,_0x299ea8=this[_0x49e464(0x13f)][_0x49e464(0x13a)][_0x49e464(0x11b)][_0x49e464(0x14e)];this[_0x49e464(0x13e)](_0x49e464(0x14d),_0x299ea8);}[_0x4f1b96(0x146)](_0x206732){const _0xf9f2da=_0x4f1b96;-0x1===_0x206732?this[_0xf9f2da(0x135)][_0xf9f2da(0x140)]():this[_0xf9f2da(0x135)][_0xf9f2da(0x13b)]();}}
|