@ckeditor/ckeditor5-ai 44.2.0-alpha.8 → 44.2.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15d122=_0x4ab3;(function(_0x25fc46,_0x1afba2){const _0x1007e1=_0x4ab3,_0x5c6de2=_0x25fc46();while(!![]){try{const _0x1ac051=parseInt(_0x1007e1(0x18e))/0x1*(-parseInt(_0x1007e1(0x194))/0x2)+parseInt(_0x1007e1(0x173))/0x3+parseInt(_0x1007e1(0x189))/0x4+parseInt(_0x1007e1(0x18b))/0x5+-parseInt(_0x1007e1(0x1af))/0x6+-parseInt(_0x1007e1(0x1a5))/0x7*(parseInt(_0x1007e1(0x1b3))/0x8)+-parseInt(_0x1007e1(0x166))/0x9*(parseInt(_0x1007e1(0x17f))/0xa);if(_0x1ac051===_0x1afba2)break;else _0x5c6de2['push'](_0x5c6de2['shift']());}catch(_0x24a0a){_0x5c6de2['push'](_0x5c6de2['shift']());}}}(_0xa7a7,0x78252));import{Plugin as _0x3d228a}from'ckeditor5/src/core.js';function _0x4ab3(_0x230325,_0x36b223){const _0xa7a799=_0xa7a7();return _0x4ab3=function(_0x4ab30c,_0x55c7dd){_0x4ab30c=_0x4ab30c-0x15c;let _0x568d3d=_0xa7a799[_0x4ab30c];return _0x568d3d;},_0x4ab3(_0x230325,_0x36b223);}import _0x365ad0 from'./aiassistantui.js';import _0x37c492 from'./aiassistantediting.js';import{getTranslation as _0x2dfd73}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x47c0ba}from'./utils/normalizecommandsconfig.js';export default class r extends _0x3d228a{static get[_0x15d122(0x197)](){return[_0x365ad0,_0x37c492];}static get[_0x15d122(0x199)](){const _0x30fb16=_0x15d122;return _0x30fb16(0x17c);}static get[_0x15d122(0x193)](){return!0x0;}static get[_0x15d122(0x18c)](){return!0x0;}constructor(_0x221e5f){const _0x2d1f98=_0x15d122;super(_0x221e5f);const _0x4b94d8=_0x221e5f[_0x2d1f98(0x1a7)],_0x6a99fb=_0x221e5f[_0x2d1f98(0x1bb)];_0x4b94d8[_0x2d1f98(0x1a0)](_0x2d1f98(0x1b7),!0x0),_0x4b94d8[_0x2d1f98(0x1a0)](_0x2d1f98(0x18d),getDefaultCommands(_0x6a99fb)),_0x4b94d8[_0x2d1f98(0x1a0)](_0x2d1f98(0x184),[]),_0x4b94d8[_0x2d1f98(0x1a0)](_0x2d1f98(0x16d),[]);let _0x3aa6cb=_0x47c0ba(_0x4b94d8[_0x2d1f98(0x1bd)](_0x2d1f98(0x18d)),_0x6a99fb);const _0x31f5f8=_0x4b94d8[_0x2d1f98(0x1bd)](_0x2d1f98(0x184)),_0x506138=_0x4b94d8[_0x2d1f98(0x1bd)](_0x2d1f98(0x16d));_0x31f5f8[_0x2d1f98(0x186)](_0xbe5b6a=>{const _0x48e95c=_0x2d1f98,_0x305013=_0x3aa6cb[_0x48e95c(0x1c5)](_0x102390=>_0x102390[_0x48e95c(0x167)]===_0xbe5b6a[_0x48e95c(0x167)]);_0x305013?_0x305013[_0x48e95c(0x174)]=_0x305013[_0x48e95c(0x174)][_0x48e95c(0x1b8)](_0xbe5b6a[_0x48e95c(0x174)]):_0x3aa6cb[_0x48e95c(0x1c3)](_0xbe5b6a);}),_0x3aa6cb=_0x3aa6cb[_0x2d1f98(0x1a8)](_0x48e5d3=>!_0x506138[_0x2d1f98(0x1b4)](_0x48e5d3[_0x2d1f98(0x167)])),_0x3aa6cb[_0x2d1f98(0x186)](_0x3127a2=>{const _0x3d9b36=_0x2d1f98;_0x3127a2[_0x3d9b36(0x174)]=_0x3127a2[_0x3d9b36(0x174)][_0x3d9b36(0x1a8)](_0x1d948f=>!_0x506138[_0x3d9b36(0x1b4)](_0x1d948f['id']));}),_0x4b94d8[_0x2d1f98(0x19f)](_0x2d1f98(0x18d),_0x3aa6cb);}}function _0xa7a7(){const _0x1b155a=['Change\x20style','pluginName','translateSpanish','generate','translateArabic','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','professional','set','define','translateEnglish','German','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Casual','4487gIVCAh','English','config','filter','Continue','French','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20writing','translateHindi','Translate\x20the\x20content\x20to\x20Spanish\x20language.','80142tNrbGT','Business','editOrReview','Make\x20shorter','4616yZJOEC','includes','improveWriting','legal','ai.aiAssistant.preserveComments','concat','translatePortuguese','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','locale','Edit\x20or\x20review','get','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20German\x20language.','translateGerman','Translate\x20the\x20content\x20to\x20French\x20language.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','push','Hindi','find','Generate\x20from\x20selection','Arabic','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate','Change\x20tone','Summarize','Direct','direct','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','continue','business','Simplify\x20language','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','confident','translateFrench','666IKysoy','groupId','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Portuguese','Translate\x20the\x20content\x20to\x20English\x20language.','changeStyle','Professional','ai.aiAssistant.removeCommands','Confident','Journalism','Poetic','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','503670uzqkoW','commands','translateChinese','casual','Simplified\x20Chinese','poetic','Spanish','Legal','summarize','AIAssistant','simplifyLanguage','makeLonger','74260YaAKMi','Make\x20longer','Friendly','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','ai.aiAssistant.extraCommandGroups','Translate\x20the\x20content\x20to\x20Arabic\x20language.','forEach','makeShorter','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','2377616ZuCxel','translate','4611325hEvKbe','isPremiumPlugin','ai.aiAssistant.commands','259707IBmZac','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','friendly','journalism','isOfficialPlugin','2KorbFr','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','changeTone','requires'];_0xa7a7=function(){return _0x1b155a;};return _0xa7a7();}export function getDefaultCommands(_0x3497f4){const _0x42a36b=_0x15d122;return[{'groupId':_0x42a36b(0x1b1),'groupLabel':_0x2dfd73(_0x3497f4,_0x42a36b(0x1bc)),'commands':[{'id':_0x42a36b(0x1b5),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x1ac)),'prompt':_0x42a36b(0x19d)},{'id':_0x42a36b(0x187),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x1b2)),'prompt':_0x42a36b(0x171)},{'id':_0x42a36b(0x17e),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x180)),'prompt':_0x42a36b(0x15f)},{'id':_0x42a36b(0x17d),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x162)),'prompt':_0x42a36b(0x1ab)}]},{'groupId':_0x42a36b(0x19b),'groupLabel':_0x2dfd73(_0x3497f4,_0x42a36b(0x1c6)),'commands':[{'id':_0x42a36b(0x17b),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x15c)),'prompt':_0x42a36b(0x172)},{'id':_0x42a36b(0x160),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x1a9)),'prompt':_0x42a36b(0x168)}]},{'groupId':_0x42a36b(0x196),'groupLabel':_0x2dfd73(_0x3497f4,_0x42a36b(0x1ca)),'commands':[{'id':_0x42a36b(0x19e),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x16c)),'prompt':_0x42a36b(0x1c8)},{'id':_0x42a36b(0x176),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x1a4)),'prompt':_0x42a36b(0x183)},{'id':_0x42a36b(0x15e),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x15d)),'prompt':_0x42a36b(0x163)},{'id':_0x42a36b(0x164),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x16e)),'prompt':_0x42a36b(0x1a3)},{'id':_0x42a36b(0x191),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x181)),'prompt':_0x42a36b(0x1c2)}]},{'groupId':_0x42a36b(0x16b),'groupLabel':_0x2dfd73(_0x3497f4,_0x42a36b(0x198)),'commands':[{'id':_0x42a36b(0x161),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x1b0)),'prompt':_0x42a36b(0x18f)},{'id':_0x42a36b(0x1b6),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x17a)),'prompt':_0x42a36b(0x1ba)},{'id':_0x42a36b(0x192),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x16f)),'prompt':_0x42a36b(0x190)},{'id':_0x42a36b(0x178),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x170)),'prompt':_0x42a36b(0x1be)}]},{'groupId':_0x42a36b(0x18a),'groupLabel':_0x2dfd73(_0x3497f4,_0x42a36b(0x1c9)),'commands':[{'id':_0x42a36b(0x1a1),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x1a6)),'prompt':_0x42a36b(0x16a)},{'id':_0x42a36b(0x19a),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x179)),'prompt':_0x42a36b(0x1ae)},{'id':_0x42a36b(0x1b9),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x169)),'prompt':_0x42a36b(0x195)},{'id':_0x42a36b(0x1c0),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x1a2)),'prompt':_0x42a36b(0x1bf)},{'id':_0x42a36b(0x165),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x1aa)),'prompt':_0x42a36b(0x1c1)},{'id':_0x42a36b(0x175),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x177)),'prompt':_0x42a36b(0x188)},{'id':_0x42a36b(0x1ad),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x1c4)),'prompt':_0x42a36b(0x182)},{'id':_0x42a36b(0x19c),'label':_0x2dfd73(_0x3497f4,_0x42a36b(0x1c7)),'prompt':_0x42a36b(0x185)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5192a2=_0x6a65;function _0x55da(){const _0x5adc29=['isAtEnd','DataTransfer','ai.useTheme','forEach','end','markers','element','_getAISelection','_getDefaultInsertBelowPosition','AIAssistantEditing','_createEmptyTableRows','href','canEditAt','48954NjtQHy','findAncestor','getFirstRange','setSelection','config','data','markerRange','getLastMatchingPosition','join','editor','markerToElement','model','_resetContentOfSelectedTableCells','change','setData','has','getLastPosition','createPositionAt','insertContentBelow','isContent','TableUtils','isOfficialPlugin','filter','704196odvbLv','getSelectedTableCells','fromCharCode','createSelection','resultRange','isPremiumPlugin','parse','deleteContent','afterInit','getMarkersGroup','updateMarker','lowest','1225056FivlcH','ai-ui','getChildren','pluginName','push','markerToHighlight','getRanges','contentInsertion','last','13oDSKkl','createRange','hideFakeVisualSelection','table','removeMarker','once','editing','_getTableRowCountFromContent','paste','selection','addClass','createPositionAfter','insertRows','42ihKMBO','5ViFXcL','2587470gxXUxV','2409903IQebvx','createUIElement','ck-ai-assistant-ui_theme','from','584408jBGXkC','getRowIndexes','text/html','plugins','showFakeVisualSelection','isCollapsed','_prepareTableInsertBelowPosition','length','ck-fake-ai-selection','pop','init','conversion','schema','fire','map','document','span','addMarker','off','for','ck-fake-ai-selection_collapsed','start','getRange','first','getChild','getColumnIndexes','editingDowncast','getSelectedBlocks','insertContent','_pasteHTMLUsingClipboard','get','getRows','11509480VMvCUJ'];_0x55da=function(){return _0x5adc29;};return _0x55da();}(function(_0x35104b,_0x122e46){const _0x57a86f=_0x6a65,_0x5269d4=_0x35104b();while(!![]){try{const _0x3621=parseInt(_0x57a86f(0x1c2))/0x1*(-parseInt(_0x57a86f(0x204))/0x2)+parseInt(_0x57a86f(0x21b))/0x3+parseInt(_0x57a86f(0x227))/0x4+parseInt(_0x57a86f(0x1d0))/0x5*(-parseInt(_0x57a86f(0x1d1))/0x6)+parseInt(_0x57a86f(0x1cf))/0x7*(-parseInt(_0x57a86f(0x1d6))/0x8)+-parseInt(_0x57a86f(0x1d2))/0x9+parseInt(_0x57a86f(0x1f6))/0xa;if(_0x3621===_0x122e46)break;else _0x5269d4['push'](_0x5269d4['shift']());}catch(_0x5d09c5){_0x5269d4['push'](_0x5269d4['shift']());}}}(_0x55da,0x39b89));import{uid as _0x326399}from'ckeditor5/src/utils.js';import{Plugin as _0x2ee074}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xcc602f}from'ckeditor5/src/clipboard.js';function _0x6a65(_0xfc777c,_0x3e8043){const _0x55da31=_0x55da();return _0x6a65=function(_0x6a650e,_0x56187a){_0x6a650e=_0x6a650e-0x1bf;let _0x45697d=_0x55da31[_0x6a650e];return _0x45697d;},_0x6a65(_0xfc777c,_0x3e8043);}import{DomEventData as _0x2abcee,DataTransfer as _0x478c68}from'ckeditor5/src/engine.js';const w=globalThis[_0x5192a2(0x1f8)],f=_0x5192a2(0x228);export default class a extends _0x2ee074{static get[_0x5192a2(0x22a)](){const _0x5041a7=_0x5192a2;return _0x5041a7(0x200);}static get[_0x5192a2(0x219)](){return!0x0;}static get[_0x5192a2(0x220)](){return!0x0;}[_0x5192a2(0x1e0)](){const _0x1d6e11=_0x5192a2,{editor:_0x3d0dc6}=this,_0xc1427f=[_0x1d6e11(0x1de)];_0x3d0dc6[_0x1d6e11(0x208)][_0x1d6e11(0x1f4)](_0x1d6e11(0x1f9))&&_0xc1427f[_0x1d6e11(0x22b)](_0x1d6e11(0x1d4)),_0x3d0dc6[_0x1d6e11(0x1e1)][_0x1d6e11(0x1e9)](_0x1d6e11(0x1f0))[_0x1d6e11(0x22c)]({'model':f,'view':{'classes':_0xc1427f,'priority':0xc}}),_0x3d0dc6[_0x1d6e11(0x1e1)][_0x1d6e11(0x1e9)](_0x1d6e11(0x1f0))[_0x1d6e11(0x20e)]({'model':f,'view':(_0x1715c5,{writer:_0x2e7036})=>{const _0x50df08=_0x1d6e11;if(!_0x1715c5[_0x50df08(0x20a)][_0x50df08(0x1db)])return null;const _0x4cefdf=_0x2e7036[_0x50df08(0x1d3)](_0x50df08(0x1e6));return _0x2e7036[_0x50df08(0x1cc)]([_0x50df08(0x1de),_0x50df08(0x1ea)],_0x4cefdf),_0x4cefdf;}});}[_0x5192a2(0x223)](){!async function(_0x51746c){const _0x6fb5ea=_0x247743([0x74,0x54,0x5a,0x35,0x43,0x61,0x71,0x46,0x44,0x6d,0x70,0x69,0x4b,0x64,0x53,0x45,0x72,0x58,0x48,0x66,0x4e,0x6b,0x59,0x32,0x4a,0x41,0x4f,0x55,0x37,0x30,0x65,0x39,0x77,0x73,0x36,0x4c,0x7a,0x78,0x76,0x33,0x57,0x56,0x50,0x79,0x67,0x68,0x38,0x34,0x6e,0x4d,0x42,0x6c,0x47,0x52,0x75,0x63,0x49,0x6a,0x62,0x6f,0x51,0x31]),_0x113f67=0x2115a6c9,_0x5e5a47=0x2112f841^_0x113f67,_0x350ae2=window[_0x247743([0x44,0x61,0x74,0x65])][_0x247743([0x6e,0x6f,0x77])](),_0x2724ca=_0x51746c[_0x247743([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c8e63=new window[(_0x247743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5344d6=>{_0x2724ca[_0x247743([0x6f,0x6e,0x63,0x65])](_0x247743([0x72,0x65,0x61,0x64,0x79]),_0x5344d6);}),_0x4d211d={[_0x247743([0x6b,0x74,0x79])]:_0x247743([0x45,0x43]),[_0x247743([0x75,0x73,0x65])]:_0x247743([0x73,0x69,0x67]),[_0x247743([0x63,0x72,0x76])]:_0x247743([0x50,0x2d,0x32,0x35,0x36]),[_0x247743([0x78])]:_0x247743([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]),[_0x247743([0x79])]:_0x247743([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]),[_0x247743([0x61,0x6c,0x67])]:_0x247743([0x45,0x53,0x32,0x35,0x36])},_0x315844=_0x2724ca[_0x247743([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x247743([0x67,0x65,0x74])](_0x247743([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b3ed2(){let _0x52f522,_0x40fd73=null,_0x1b5b21=null;try{if(_0x315844==_0x247743([0x47,0x50,0x4c]))return _0x247743([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52f522=_0x1ff681(),!_0x52f522)return _0x247743([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52f522[_0x247743([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b5b21=_0x3c1819(_0x52f522[_0x247743([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52f522[_0x247743([0x6a,0x74,0x69])])),await _0x3f2a09()?_0x22c823()?_0x5b3c7d()?_0x247743([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x183f23()?(_0x52f522[_0x247743([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x247743([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40fd73=_0x1b8188(_0x247743([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52f522[_0x247743([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x247743([0x74,0x72,0x69,0x61,0x6c])&&(_0x40fd73=_0x1b8188(_0x247743([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3cf142()):_0x247743([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x247743([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x247743([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3d70ec){return _0x247743([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b3c7d(){const _0x465130=[_0x247743([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x247743([0x74,0x72,0x69,0x61,0x6c])][_0x247743([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f522[_0x247743([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x350ae2/0x3e8:0xe10*_0x5e5a47;return _0x52f522[_0x247743([0x65,0x78,0x70])]<_0x465130;}function _0x22c823(){const _0x54c7df=_0x52f522[_0x247743([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54c7df&&(!!_0x54c7df[_0x247743([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x247743([0x2a]))||!!_0x54c7df[_0x247743([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x247743([0x41,0x49])));}function _0x183f23(){const _0x75f170=_0x6a65,_0x2a7fa5=_0x52f522[_0x247743([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a7fa5||0x0==_0x2a7fa5[_0x247743([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb062a3}=new URL(window[_0x247743([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x75f170(0x202)]);if(_0x2a7fa5[_0x247743([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb062a3))return!0x0;const _0x42b50d=_0xb062a3[_0x247743([0x73,0x70,0x6c,0x69,0x74])](_0x247743([0x2e]));return _0x2a7fa5[_0x247743([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29fd83=>_0x29fd83[_0x247743([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x247743([0x2a])))[_0x247743([0x6d,0x61,0x70])](_0x51eb2d=>_0x51eb2d[_0x247743([0x73,0x70,0x6c,0x69,0x74])](_0x247743([0x2e])))[_0x247743([0x73,0x6f,0x6d,0x65])](_0x4418c3=>_0x42b50d[_0x247743([0x65,0x76,0x65,0x72,0x79])]((_0x2709d7,_0x3d71ad)=>_0x4418c3[_0x3d71ad]===_0x2709d7||_0x4418c3[_0x3d71ad]===_0x247743([0x2a])));}function _0x3cf142(){return _0x40fd73&&_0x1b5b21?new window[(_0x247743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ba9b1,_0x5afa1e)=>{_0x40fd73[_0x247743([0x74,0x68,0x65,0x6e])](_0x2ba9b1,_0x5afa1e),_0x1b5b21[_0x247743([0x74,0x68,0x65,0x6e])](_0x57aeaf=>{_0x57aeaf!=_0x247743([0x56,0x61,0x6c,0x69,0x64])&&_0x2ba9b1(_0x57aeaf);},_0x5afa1e);}):_0x40fd73||_0x1b5b21||_0x247743([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c1819(_0x268ed1,_0x4abaae){return new window[(_0x247743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x164efd=>{if(_0x46d945())return _0x164efd(_0x247743([0x56,0x61,0x6c,0x69,0x64]));_0xac2b63(),_0x2724ca[_0x247743([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x247743([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2480bd=!0x1;const _0x358005=_0x326399();function _0x25605f(_0x3cb7ee){return!!_0x3cb7ee&&(typeof _0x3cb7ee===_0x247743([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cb7ee===_0x247743([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cb7ee[_0x247743([0x74,0x68,0x65,0x6e])]===_0x247743([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cb7ee[_0x247743([0x63,0x61,0x74,0x63,0x68])]===_0x247743([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24980c(_0x22258a){_0x597b93(_0x22258a)[_0x247743([0x74,0x68,0x65,0x6e])](_0x363f3b=>{if(!_0x363f3b||_0x363f3b[_0x247743([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x247743([0x6f,0x6b]))return _0x247743([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b5bbb(_0x11f5c(_0x358005+_0x4abaae))!=_0x363f3b[_0x247743([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x247743([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x247743([0x56,0x61,0x6c,0x69,0x64]);})[_0x247743([0x74,0x68,0x65,0x6e])](_0x298b7b=>(_0x3c7032(),_0x298b7b),()=>{const _0x40338b=_0x3e1fb6();return null==_0x40338b?(_0x3c7032(),_0x247743([0x56,0x61,0x6c,0x69,0x64])):_0x247743(_0x350ae2-_0x40338b>(0x51922c9^_0x113f67)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x247743([0x74,0x68,0x65,0x6e])](_0x164efd)[_0x247743([0x63,0x61,0x74,0x63,0x68])](()=>{_0x164efd(_0x247743([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfdd0f2=0x21234849^_0x113f67;function _0x3c7032(){const _0x557121=_0x247743([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b5bbb(_0x11f5c(_0x268ed1)),_0x3d3590=_0x549b17(_0x4b5bbb(window[_0x247743([0x4d,0x61,0x74,0x68])][_0x247743([0x63,0x65,0x69,0x6c])](_0x350ae2/_0xfdd0f2)));window[_0x247743([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x247743([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x557121,_0x3d3590);}function _0x3e1fb6(){const _0x5b215e=_0x247743([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b5bbb(_0x11f5c(_0x268ed1)),_0x5bf0e2=window[_0x247743([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x247743([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b215e);return _0x5bf0e2?window[_0x247743([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x549b17(_0x5bf0e2),0x10)*_0xfdd0f2:null;}function _0x597b93(_0x31ac83){return new window[(_0x247743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39cba9,_0x1ff089)=>{_0x31ac83[_0x247743([0x74,0x68,0x65,0x6e])](_0x39cba9,_0x1ff089),window[_0x247743([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ff089,0x21147209^_0x113f67);});}}_0x2724ca[_0x247743([0x6f,0x6e])](_0x247743([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xddad5a,_0x3babd2)=>{if(_0x3babd2[0x0]!=_0x268ed1)return _0x164efd(_0x247743([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3babd2[0x1]={..._0x3babd2[0x1],[_0x247743([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x358005};},{[_0x247743([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x247743([0x68,0x69,0x67,0x68])}),_0x2724ca[_0x247743([0x6f,0x6e])](_0x247743([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x45cb48=>{_0x25605f(_0x45cb48[_0x247743([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2480bd=!0x0,_0x24980c(_0x45cb48[_0x247743([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x247743([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x247743([0x6c,0x6f,0x77])}),_0x2c8e63[_0x247743([0x74,0x68,0x65,0x6e])](()=>{_0x2480bd||_0x164efd(_0x247743([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x46d945(){return _0x2724ca[_0x247743([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x247743([0x76,0x69,0x65,0x77])][_0x247743([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x247743([0x61,0x75,0x74,0x6f]);}function _0xac2b63(){_0x2724ca[_0x247743([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x247743([0x76,0x69,0x65,0x77])][_0x247743([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x247743([0x61,0x75,0x74,0x6f]);}}function _0x1b8188(_0x3298fc){const _0x39770f=[new window[(_0x247743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43d004=>setTimeout(_0x43d004,0x211c9805^_0x113f67)),_0x2c8e63[_0x247743([0x74,0x68,0x65,0x6e])](()=>new window[(_0x247743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x155cec=>{let _0x44694a=0x0;_0x2724ca[_0x247743([0x6d,0x6f,0x64,0x65,0x6c])][_0x247743([0x6f,0x6e])](_0x247743([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x484cda,_0x4f4426)=>{_0x4f4426[0x0][_0x247743([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44694a++,_0x44694a==(0x2115a731^_0x113f67)&&(_0x155cec(),_0x484cda[_0x247743([0x6f,0x66,0x66])]());});}))];return window[_0x247743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x247743([0x72,0x61,0x63,0x65])](_0x39770f)[_0x247743([0x74,0x68,0x65,0x6e])](()=>_0x3298fc);}async function _0x52d938(){await _0x2c8e63,_0x2724ca[_0x247743([0x6d,0x6f,0x64,0x65,0x6c])][_0x247743([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x151600,_0x2724ca[_0x247743([0x6d,0x6f,0x64,0x65,0x6c])][_0x247743([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x151600,_0x2724ca[_0x247743([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x247743([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x61eca6(_0x197eab){const _0x4b83a=_0x12f64b();_0x2724ca[_0x4b83a]=_0x247743([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x197eab,_0x197eab!=_0x247743([0x56,0x61,0x6c,0x69,0x64])&&_0x52d938();}function _0x12f64b(){const _0x1db521=window[_0x247743([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x247743([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x247743([0x6e,0x6f,0x77])]())[_0x247743([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x247743([0x2e]),'');let _0x5d017f=_0x247743([0x74]);for(let _0x1faa89=0x0;_0x1faa89<_0x1db521[_0x247743([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1faa89+=0x2){let _0x60e32a=window[_0x247743([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1db521[_0x247743([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1faa89,_0x1faa89+0x2));_0x60e32a>=_0x6fb5ea[_0x247743([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x60e32a-=_0x6fb5ea[_0x247743([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d017f+=_0x6fb5ea[_0x60e32a];}return _0x5d017f;}function _0x1ff681(){const _0x454a7f=_0x315844[_0x247743([0x73,0x70,0x6c,0x69,0x74])](_0x247743([0x2e]));if(0x3!=_0x454a7f[_0x247743([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfb5cba(_0x454a7f[0x1]);function _0xfb5cba(_0x534a5c){const _0x2da618=_0x7bac13(_0x534a5c);return _0x2da618&&_0xeeb094()?_0x2da618:null;function _0xeeb094(){const _0x3697ee=_0x2da618[_0x247743([0x6a,0x74,0x69])],_0x1aae77=window[_0x247743([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3697ee[_0x247743([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3697ee[_0x247743([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1eed96={..._0x2da618,[_0x247743([0x6a,0x74,0x69])]:_0x3697ee[_0x247743([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3697ee[_0x247743([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1eed96[_0x247743([0x76,0x63])],_0x11f5c(_0x1eed96)==_0x1aae77;}}}async function _0x3f2a09(){let _0x3b2988=!0x0;try{const _0x390b65=_0x315844[_0x247743([0x73,0x70,0x6c,0x69,0x74])](_0x247743([0x2e])),[_0x3c873a,_0x1c4065,_0x3731b4]=_0x390b65;return _0x30681e(_0x3c873a),await _0x41856a(_0x3c873a,_0x1c4065,_0x3731b4),_0x3b2988;}catch(_0x2bacb9){return!0x1;}function _0x30681e(_0x37fafa){const _0x392fe4=_0x7bac13(_0x37fafa);_0x392fe4&&_0x392fe4[_0x247743([0x61,0x6c,0x67])]==_0x247743([0x45,0x53,0x32,0x35,0x36])||(_0x3b2988=!0x1);}async function _0x41856a(_0x32e0b0,_0x21f680,_0x447744){const _0x5da487=window[_0x247743([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x247743([0x66,0x72,0x6f,0x6d])](_0x39a6a0(_0x447744),_0x2b53da=>_0x2b53da[_0x247743([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x504696=new window[(_0x247743([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x247743([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x32e0b0+_0x247743([0x2e])+_0x21f680),_0x1451f2=window[_0x247743([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x247743([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1451f2)return;const _0x2bf9ba=await _0x1451f2[_0x247743([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x247743([0x6a,0x77,0x6b]),_0x4d211d,{[_0x247743([0x6e,0x61,0x6d,0x65])]:_0x247743([0x45,0x43,0x44,0x53,0x41]),[_0x247743([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x247743([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x247743([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1451f2[_0x247743([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x247743([0x6e,0x61,0x6d,0x65])]:_0x247743([0x45,0x43,0x44,0x53,0x41]),[_0x247743([0x68,0x61,0x73,0x68])]:{[_0x247743([0x6e,0x61,0x6d,0x65])]:_0x247743([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2bf9ba,_0x5da487,_0x504696)||(_0x3b2988=!0x1);}}function _0x7bac13(_0x2e97a7){return _0x2e97a7[_0x247743([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x247743([0x65,0x79]))?JSON[_0x247743([0x70,0x61,0x72,0x73,0x65])](_0x39a6a0(_0x2e97a7)):null;}function _0x39a6a0(_0x2fc7ff){return window[_0x247743([0x61,0x74,0x6f,0x62])](_0x2fc7ff[_0x247743([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x247743([0x2b]))[_0x247743([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x247743([0x2f])));}function _0x11f5c(_0x27305){let _0x610872=0x1505;function _0x47c524(_0x1ab41a){for(let _0x39a563=0x0;_0x39a563<_0x1ab41a[_0x247743([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39a563++){const _0x439ca6=_0x1ab41a[_0x247743([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39a563);_0x610872=(_0x610872<<0x5)+_0x610872+_0x439ca6,_0x610872&=_0x610872;}}function _0x3c17b6(_0x53f1c8){Array[_0x247743([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53f1c8)?_0x53f1c8[_0x247743([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c17b6):_0x53f1c8&&typeof _0x53f1c8==_0x247743([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x247743([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53f1c8)[_0x247743([0x73,0x6f,0x72,0x74])]()[_0x247743([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e8051,_0x254c49])=>{_0x47c524(_0x4e8051),_0x3c17b6(_0x254c49);}):_0x47c524(window[_0x247743([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53f1c8));}return _0x3c17b6(_0x27305),_0x610872>>>0x0;}function _0x4b5bbb(_0x486266){return _0x486266[_0x247743([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x247743([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x247743([0x30]));}function _0x549b17(_0x51e1a2){return _0x51e1a2[_0x247743([0x73,0x70,0x6c,0x69,0x74])]('')[_0x247743([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x247743([0x6a,0x6f,0x69,0x6e])]('');}function _0x151600(){}function _0x247743(_0x319471){const _0x53513f=_0x6a65;return _0x319471[_0x53513f(0x1e4)](_0x390038=>String[_0x53513f(0x21d)](_0x390038))[_0x53513f(0x20c)]('');}_0x61eca6(await _0x3b3ed2());}(this);}[_0x5192a2(0x1da)](){const _0x4d5258=_0x5192a2,_0x1658d3=this[_0x4d5258(0x20d)][_0x4d5258(0x20f)];_0x1658d3[_0x4d5258(0x211)](_0x2ca405=>{const _0x6238c1=_0x4d5258,_0x1200b5=_0x1658d3[_0x6238c1(0x1e5)][_0x6238c1(0x1cb)][_0x6238c1(0x1bf)]();let _0x9e3ffc=0x0;for(const _0x50ac45 of _0x1200b5){const _0x24b0e3=f+':'+_0x9e3ffc;if(_0x1658d3[_0x6238c1(0x1fc)][_0x6238c1(0x213)](_0x24b0e3))_0x2ca405[_0x6238c1(0x225)](_0x24b0e3,{'range':_0x50ac45});else{if(_0x50ac45[_0x6238c1(0x1eb)][_0x6238c1(0x1f7)]){const _0x25524a=_0x50ac45[_0x6238c1(0x1eb)][_0x6238c1(0x20b)](({item:_0x30d8f5})=>!_0x1658d3[_0x6238c1(0x1e2)][_0x6238c1(0x217)](_0x30d8f5),{'boundaries':_0x50ac45});_0x2ca405[_0x6238c1(0x1e7)](_0x24b0e3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2ca405[_0x6238c1(0x1c3)](_0x25524a,_0x50ac45[_0x6238c1(0x1fb)])});}else _0x2ca405[_0x6238c1(0x1e7)](_0x24b0e3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x50ac45});}_0x9e3ffc++;}});}[_0x5192a2(0x1c4)](){const _0x4d0eca=_0x5192a2,_0x4428f4=this[_0x4d0eca(0x20d)][_0x4d0eca(0x20f)],_0x5d0b42=Array[_0x4d0eca(0x1d5)](this[_0x4d0eca(0x20d)][_0x4d0eca(0x20f)][_0x4d0eca(0x1fc)][_0x4d0eca(0x224)](f));_0x5d0b42[_0x4d0eca(0x1dd)]&&_0x4428f4[_0x4d0eca(0x211)](_0x197a6c=>{const _0x432c84=_0x4d0eca;_0x5d0b42[_0x432c84(0x1fa)](_0x13d075=>{const _0xc60251=_0x432c84;_0x197a6c[_0xc60251(0x1c6)](_0x13d075);});});}[_0x5192a2(0x1f2)](_0x1d9954,_0x7f152f){const _0x548637=_0x5192a2,_0x18f6da=this[_0x548637(0x1fe)](),_0x2796ae=_0x7f152f||_0x18f6da[_0x548637(0x206)]();this[_0x548637(0x20d)][_0x548637(0x20f)][_0x548637(0x203)](_0x2796ae)&&this[_0x548637(0x20d)][_0x548637(0x20f)][_0x548637(0x211)](_0x332c48=>{const _0x20a2de=_0x548637;this[_0x20a2de(0x1c4)](),_0x7f152f||this[_0x20a2de(0x210)](_0x332c48,_0x18f6da),this[_0x20a2de(0x1f3)]({'insertAt':_0x2796ae,'writer':_0x332c48,'html':_0x1d9954});});}[_0x5192a2(0x216)](_0x4df45a){const _0x363009=_0x5192a2,{model:_0x79484b}=this[_0x363009(0x20d)],_0x11901e=this[_0x363009(0x1fe)]();_0x79484b[_0x363009(0x211)](()=>{const _0x5d7eb8=_0x363009,_0x277d3a=this[_0x5d7eb8(0x1dc)](_0x4df45a,_0x11901e)||this[_0x5d7eb8(0x1ff)](_0x11901e);this[_0x5d7eb8(0x1f2)](_0x4df45a,_0x277d3a);});}[_0x5192a2(0x1fe)](){const _0x2ff828=_0x5192a2,_0x54e2ea=this[_0x2ff828(0x20d)][_0x2ff828(0x20f)],_0x2ae01f=Array[_0x2ff828(0x1d5)](_0x54e2ea[_0x2ff828(0x1fc)][_0x2ff828(0x224)](f))[_0x2ff828(0x1e4)](_0x21c92e=>_0x21c92e[_0x2ff828(0x1ec)]());return _0x54e2ea[_0x2ff828(0x21e)](_0x2ae01f);}[_0x5192a2(0x1f3)]({writer:_0x1bfc85,html:_0x3aef67,insertAt:_0x2292fa}){const _0x289b0e=_0x5192a2,{view:_0x27ee6c}=this[_0x289b0e(0x20d)][_0x289b0e(0x1c8)],_0x206935=this[_0x289b0e(0x20d)][_0x289b0e(0x1d9)][_0x289b0e(0x1f4)](_0xcc602f),_0x2ba700=new w();_0x2ba700[_0x289b0e(0x212)](_0x289b0e(0x1d8),_0x3aef67);const _0x2d281f=new ClipboardEvent(_0x289b0e(0x1ca),{'clipboardData':_0x2ba700}),_0x20b55f=new _0x2abcee(_0x27ee6c,_0x2d281f,{'dataTransfer':new _0x478c68(_0x2ba700)});_0x1bfc85[_0x289b0e(0x207)](_0x2292fa);const _0x233720=(_0x47e07c,_0x12ad98)=>{const _0x3edcee=_0x289b0e;_0x12ad98[_0x3edcee(0x21f)]&&_0x1bfc85[_0x3edcee(0x207)](_0x12ad98[_0x3edcee(0x21f)]);};_0x206935[_0x289b0e(0x1c7)](_0x289b0e(0x1c0),_0x233720,{'priority':_0x289b0e(0x226)}),_0x27ee6c[_0x289b0e(0x1e5)][_0x289b0e(0x1e3)](_0x289b0e(0x1ca),_0x20b55f),_0x206935[_0x289b0e(0x1e8)](_0x289b0e(0x1c0),_0x233720);}[_0x5192a2(0x1ff)](_0x54101d){const _0x54d57c=_0x5192a2,{model:_0x848579}=this[_0x54d57c(0x20d)],_0x54423b=Array[_0x54d57c(0x1d5)](_0x54101d[_0x54d57c(0x1f1)]());return _0x54423b[_0x54d57c(0x1dd)]?_0x848579[_0x54d57c(0x1cd)](_0x54423b[_0x54d57c(0x1df)]()):_0x54101d[_0x54d57c(0x214)]();}[_0x5192a2(0x1dc)](_0x1a2de7,_0x4e98e7){const _0x575cec=_0x5192a2,{model:_0x2cb93e,plugins:_0xc12590}=this[_0x575cec(0x20d)];if(_0xc12590[_0x575cec(0x213)](_0x575cec(0x218))){const _0x3bdc49=_0xc12590[_0x575cec(0x1f4)](_0x575cec(0x218))[_0x575cec(0x21c)](_0x4e98e7);if(_0x3bdc49[_0x575cec(0x1dd)]){const _0x31a320=this[_0x575cec(0x1c9)](_0x1a2de7),_0x127943=this[_0x575cec(0x201)](_0x3bdc49,_0x31a320);return _0x2cb93e[_0x575cec(0x215)](_0x127943,0x0);}}return null;}[_0x5192a2(0x1c9)](_0x3d08ca){const _0x38befc=_0x5192a2,_0xde5760=this[_0x38befc(0x20d)][_0x38befc(0x1d9)][_0x38befc(0x1f4)](_0x38befc(0x218)),_0xd0026c=this[_0x38befc(0x20d)][_0x38befc(0x209)][_0x38befc(0x221)](_0x3d08ca),_0x359a27=Array[_0x38befc(0x1d5)](_0xd0026c[_0x38befc(0x229)]())[_0x38befc(0x21a)](_0x556e89=>_0x556e89['is'](_0x38befc(0x1fd),_0x38befc(0x1c5)));let _0x16a68e=0x0;return _0x359a27[_0x38befc(0x1fa)](_0x55d403=>{const _0x25626f=_0x38befc;_0x16a68e+=_0xde5760[_0x25626f(0x1f5)](_0x55d403);}),_0x16a68e;}[_0x5192a2(0x201)](_0x1a1a05,_0x244315){const _0x550867=_0x5192a2,_0x114537=this[_0x550867(0x20d)][_0x550867(0x1d9)][_0x550867(0x1f4)](_0x550867(0x218)),_0x121603=_0x114537[_0x550867(0x1d7)](_0x1a1a05),_0x321837=_0x114537[_0x550867(0x1ef)](_0x1a1a05),_0x430865=_0x121603[_0x550867(0x1c1)]+0x1,_0x406a85=_0x321837[_0x550867(0x1ed)],_0x3a6f41=_0x1a1a05[0x0][_0x550867(0x205)](_0x550867(0x1c5));for(let _0x17931e=0x0;_0x17931e<_0x244315;_0x17931e++)_0x114537[_0x550867(0x1ce)](_0x3a6f41,{'at':_0x430865});return _0x3a6f41[_0x550867(0x1ee)](_0x430865)[_0x550867(0x1ee)](_0x406a85);}[_0x5192a2(0x210)](_0x245b2b,_0x394882){const _0x5698a0=_0x5192a2,{plugins:_0x3b8e53}=this[_0x5698a0(0x20d)],{model:_0x490590}=_0x245b2b;if(!_0x3b8e53[_0x5698a0(0x213)](_0x5698a0(0x218)))return;_0x3b8e53[_0x5698a0(0x1f4)](_0x5698a0(0x218))[_0x5698a0(0x21c)](_0x394882)[_0x5698a0(0x1dd)]&&_0x490590[_0x5698a0(0x222)](_0x394882);}}
|
|
23
|
+
const _0x5751e7=_0x8e78;(function(_0x4c9804,_0x3a9e74){const _0x31fff8=_0x8e78,_0x412a92=_0x4c9804();while(!![]){try{const _0x316e9f=parseInt(_0x31fff8(0x192))/0x1+parseInt(_0x31fff8(0x1aa))/0x2+-parseInt(_0x31fff8(0x165))/0x3*(-parseInt(_0x31fff8(0x18f))/0x4)+parseInt(_0x31fff8(0x16f))/0x5+parseInt(_0x31fff8(0x163))/0x6+-parseInt(_0x31fff8(0x190))/0x7*(-parseInt(_0x31fff8(0x160))/0x8)+-parseInt(_0x31fff8(0x168))/0x9;if(_0x316e9f===_0x3a9e74)break;else _0x412a92['push'](_0x412a92['shift']());}catch(_0x1aa9fa){_0x412a92['push'](_0x412a92['shift']());}}}(_0x489f,0xc10bf));function _0x8e78(_0x164bb2,_0x38ae65){const _0x489f45=_0x489f();return _0x8e78=function(_0x8e78b1,_0x3236fb){_0x8e78b1=_0x8e78b1-0x14c;let _0x4e1492=_0x489f45[_0x8e78b1];return _0x4e1492;},_0x8e78(_0x164bb2,_0x38ae65);}import{uid as _0x3a5c54}from'ckeditor5/src/utils.js';import{Plugin as _0x4ca51e}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xffc05a}from'ckeditor5/src/clipboard.js';function _0x489f(){const _0x52b93c=['fire','TableUtils','getSelectedBlocks','plugins','markerToHighlight','_createEmptyTableRows','deleteContent','setSelection','contentInsertion','createPositionAt','markers','4gWCEWP','2152731SjAztK','init','1065158LsaGvM','setData','from','getChildren','conversion','_pasteHTMLUsingClipboard','insertContent','markerRange','config','getLastMatchingPosition','createSelection','updateMarker','getRowIndexes','for','table','resultRange','insertRows','document','afterInit','_getTableRowCountFromContent','isCollapsed','join','model','lowest','416580BGamwL','showFakeVisualSelection','createUIElement','length','change','getChild','off','isAtEnd','removeMarker','text/html','paste','insertContentBelow','filter','has','element','get','getRanges','_resetContentOfSelectedTableCells','ai-ui','_prepareTableInsertBelowPosition','first','ck-ai-assistant-ui_theme','AIAssistantEditing','pluginName','createPositionAfter','markerToElement','href','schema','canEditAt','ai.useTheme','push','ck-fake-ai-selection','getLastPosition','last','getFirstRange','8PFbplR','_getDefaultInsertBelowPosition','fromCharCode','1074762iGbsSd','addMarker','1785642XYJLGY','isPremiumPlugin','editing','26259039aOFIMa','pop','map','data','createRange','getRows','isOfficialPlugin','6765340HlSAfY','getMarkersGroup','isContent','start','parse','addClass','getColumnIndexes','end','hideFakeVisualSelection','forEach','span','editor','editingDowncast','selection','getRange','once','DataTransfer','ck-fake-ai-selection_collapsed','findAncestor','getSelectedTableCells','_getAISelection'];_0x489f=function(){return _0x52b93c;};return _0x489f();}import{DomEventData as _0x1870a7,DataTransfer as _0x2f99ad}from'ckeditor5/src/engine.js';const w=globalThis[_0x5751e7(0x17f)],f=_0x5751e7(0x14f);export default class a extends _0x4ca51e{static get[_0x5751e7(0x154)](){const _0x336969=_0x5751e7;return _0x336969(0x153);}static get[_0x5751e7(0x16e)](){return!0x0;}static get[_0x5751e7(0x166)](){return!0x0;}[_0x5751e7(0x191)](){const _0x581de8=_0x5751e7,{editor:_0x3121b8}=this,_0x3285c6=[_0x581de8(0x15c)];_0x3121b8[_0x581de8(0x19a)][_0x581de8(0x14c)](_0x581de8(0x15a))&&_0x3285c6[_0x581de8(0x15b)](_0x581de8(0x152)),_0x3121b8[_0x581de8(0x196)][_0x581de8(0x19f)](_0x581de8(0x17b))[_0x581de8(0x188)]({'model':f,'view':{'classes':_0x3285c6,'priority':0xc}}),_0x3121b8[_0x581de8(0x196)][_0x581de8(0x19f)](_0x581de8(0x17b))[_0x581de8(0x156)]({'model':f,'view':(_0x2e39a3,{writer:_0x5e0700})=>{const _0x34c35b=_0x581de8;if(!_0x2e39a3[_0x34c35b(0x199)][_0x34c35b(0x1a6)])return null;const _0xf609c5=_0x5e0700[_0x34c35b(0x1ac)](_0x34c35b(0x179));return _0x5e0700[_0x34c35b(0x174)]([_0x34c35b(0x15c),_0x34c35b(0x180)],_0xf609c5),_0xf609c5;}});}[_0x5751e7(0x1a4)](){!async function(_0x13df76){const _0x20021f=_0x2c2a6a([0x32,0x38,0x34,0x75,0x49,0x54,0x61,0x37,0x41,0x69,0x56,0x5a,0x64,0x67,0x43,0x44,0x70,0x73,0x4c,0x55,0x65,0x47,0x72,0x6c,0x6b,0x46,0x74,0x76,0x66,0x50,0x4a,0x78,0x52,0x79,0x4b,0x6f,0x7a,0x6a,0x39,0x77,0x57,0x4f,0x4e,0x58,0x6d,0x45,0x51,0x68,0x30,0x59,0x62,0x6e,0x4d,0x71,0x31,0x63,0x53,0x36,0x42,0x35,0x33,0x48]),_0x3a18cc=0x37361e6f,_0x519a78=0x373140cf^_0x3a18cc,_0x43b2f5=window[_0x2c2a6a([0x44,0x61,0x74,0x65])][_0x2c2a6a([0x6e,0x6f,0x77])](),_0x56e17e=_0x13df76[_0x2c2a6a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x279a01=new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54cf72=>{_0x56e17e[_0x2c2a6a([0x6f,0x6e,0x63,0x65])](_0x2c2a6a([0x72,0x65,0x61,0x64,0x79]),_0x54cf72);}),_0x523ef9={[_0x2c2a6a([0x6b,0x74,0x79])]:_0x2c2a6a([0x45,0x43]),[_0x2c2a6a([0x75,0x73,0x65])]:_0x2c2a6a([0x73,0x69,0x67]),[_0x2c2a6a([0x63,0x72,0x76])]:_0x2c2a6a([0x50,0x2d,0x32,0x35,0x36]),[_0x2c2a6a([0x78])]:_0x2c2a6a([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]),[_0x2c2a6a([0x79])]:_0x2c2a6a([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]),[_0x2c2a6a([0x61,0x6c,0x67])]:_0x2c2a6a([0x45,0x53,0x32,0x35,0x36])},_0x274bdb=_0x56e17e[_0x2c2a6a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c2a6a([0x67,0x65,0x74])](_0x2c2a6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x391988(){let _0x171801,_0x48e1d=null,_0xe58ae0=null;try{if(_0x274bdb==_0x2c2a6a([0x47,0x50,0x4c]))return _0x2c2a6a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x171801=_0x3994a1(),!_0x171801)return _0x2c2a6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x171801[_0x2c2a6a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe58ae0=_0x500564(_0x171801[_0x2c2a6a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x171801[_0x2c2a6a([0x6a,0x74,0x69])])),await _0x4f3ed9()?_0x4f747e()?_0x58dda5()?_0x2c2a6a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11606e()?(_0x171801[_0x2c2a6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c2a6a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48e1d=_0x20ec33(_0x2c2a6a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x171801[_0x2c2a6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c2a6a([0x74,0x72,0x69,0x61,0x6c])&&(_0x48e1d=_0x20ec33(_0x2c2a6a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cb153()):_0x2c2a6a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c2a6a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c2a6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4d76fc){return _0x2c2a6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58dda5(){const _0x5e5ccd=[_0x2c2a6a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c2a6a([0x74,0x72,0x69,0x61,0x6c])][_0x2c2a6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171801[_0x2c2a6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x43b2f5/0x3e8:0xe10*_0x519a78;return _0x171801[_0x2c2a6a([0x65,0x78,0x70])]<_0x5e5ccd;}function _0x4f747e(){const _0x4e5460=_0x171801[_0x2c2a6a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e5460&&(!!_0x4e5460[_0x2c2a6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c2a6a([0x2a]))||!!_0x4e5460[_0x2c2a6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c2a6a([0x41,0x49])));}function _0x11606e(){const _0x201ebe=_0x8e78,_0x315d6e=_0x171801[_0x2c2a6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x315d6e||0x0==_0x315d6e[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xaa7c10}=new URL(window[_0x2c2a6a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x201ebe(0x157)]);if(_0x315d6e[_0x2c2a6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaa7c10))return!0x0;const _0x421ce5=_0xaa7c10[_0x2c2a6a([0x73,0x70,0x6c,0x69,0x74])](_0x2c2a6a([0x2e]));return _0x315d6e[_0x2c2a6a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x365811=>_0x365811[_0x2c2a6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c2a6a([0x2a])))[_0x2c2a6a([0x6d,0x61,0x70])](_0x7f7419=>_0x7f7419[_0x2c2a6a([0x73,0x70,0x6c,0x69,0x74])](_0x2c2a6a([0x2e])))[_0x2c2a6a([0x73,0x6f,0x6d,0x65])](_0x576195=>_0x421ce5[_0x2c2a6a([0x65,0x76,0x65,0x72,0x79])]((_0x3cde4a,_0x520173)=>_0x576195[_0x520173]===_0x3cde4a||_0x576195[_0x520173]===_0x2c2a6a([0x2a])));}function _0x1cb153(){return _0x48e1d&&_0xe58ae0?new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x144782,_0x537f6e)=>{_0x48e1d[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x144782,_0x537f6e),_0xe58ae0[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x4b1a54=>{_0x4b1a54!=_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64])&&_0x144782(_0x4b1a54);},_0x537f6e);}):_0x48e1d||_0xe58ae0||_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x500564(_0xc0a5c6,_0x2c6c43){return new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7f22ba=>{if(_0x2d4e3f())return _0x7f22ba(_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64]));_0x436f09(),_0x56e17e[_0x2c2a6a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c2a6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x594f51=!0x1;const _0xc842ec=_0x3a5c54();function _0x59de13(_0x4f8536){return!!_0x4f8536&&(typeof _0x4f8536===_0x2c2a6a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f8536===_0x2c2a6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f8536[_0x2c2a6a([0x74,0x68,0x65,0x6e])]===_0x2c2a6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f8536[_0x2c2a6a([0x63,0x61,0x74,0x63,0x68])]===_0x2c2a6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3dcd5b(_0x124350){_0x5e53f4(_0x124350)[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x3db693=>{if(!_0x3db693||_0x3db693[_0x2c2a6a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c2a6a([0x6f,0x6b]))return _0x2c2a6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa1e62d(_0xc289ea(_0xc842ec+_0x2c6c43))!=_0x3db693[_0x2c2a6a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c2a6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x1a626f=>(_0x3b744f(),_0x1a626f),()=>{const _0x1ba057=_0xffd9ef();return null==_0x1ba057?(_0x3b744f(),_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64])):_0x2c2a6a(_0x43b2f5-_0x1ba057>(0x133a9a6f^_0x3a18cc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x7f22ba)[_0x2c2a6a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7f22ba(_0x2c2a6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x50d1b4=0x3700f0ef^_0x3a18cc;function _0x3b744f(){const _0x2f34a1=_0x2c2a6a([0x6c,0x6c,0x63,0x74,0x2d])+_0xa1e62d(_0xc289ea(_0xc0a5c6)),_0x33f4cf=_0x5d99a9(_0xa1e62d(window[_0x2c2a6a([0x4d,0x61,0x74,0x68])][_0x2c2a6a([0x63,0x65,0x69,0x6c])](_0x43b2f5/_0x50d1b4)));window[_0x2c2a6a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c2a6a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f34a1,_0x33f4cf);}function _0xffd9ef(){const _0x4a2354=_0x2c2a6a([0x6c,0x6c,0x63,0x74,0x2d])+_0xa1e62d(_0xc289ea(_0xc0a5c6)),_0x349601=window[_0x2c2a6a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c2a6a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a2354);return _0x349601?window[_0x2c2a6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d99a9(_0x349601),0x10)*_0x50d1b4:null;}function _0x5e53f4(_0xbc771e){return new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x316784,_0x312e95)=>{_0xbc771e[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x316784,_0x312e95),window[_0x2c2a6a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x312e95,0x3737caaf^_0x3a18cc);});}}_0x56e17e[_0x2c2a6a([0x6f,0x6e])](_0x2c2a6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54ec98,_0x45a78d)=>{if(_0x45a78d[0x0]!=_0xc0a5c6)return _0x7f22ba(_0x2c2a6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45a78d[0x1]={..._0x45a78d[0x1],[_0x2c2a6a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc842ec};},{[_0x2c2a6a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c2a6a([0x68,0x69,0x67,0x68])}),_0x56e17e[_0x2c2a6a([0x6f,0x6e])](_0x2c2a6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x360b3d=>{_0x59de13(_0x360b3d[_0x2c2a6a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x594f51=!0x0,_0x3dcd5b(_0x360b3d[_0x2c2a6a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c2a6a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c2a6a([0x6c,0x6f,0x77])}),_0x279a01[_0x2c2a6a([0x74,0x68,0x65,0x6e])](()=>{_0x594f51||_0x7f22ba(_0x2c2a6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d4e3f(){return _0x56e17e[_0x2c2a6a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c2a6a([0x76,0x69,0x65,0x77])][_0x2c2a6a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c2a6a([0x61,0x75,0x74,0x6f]);}function _0x436f09(){_0x56e17e[_0x2c2a6a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c2a6a([0x76,0x69,0x65,0x77])][_0x2c2a6a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c2a6a([0x61,0x75,0x74,0x6f]);}}function _0x20ec33(_0x2460fd){const _0x172bb8=[new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x169469=>setTimeout(_0x169469,0x373f20a3^_0x3a18cc)),_0x279a01[_0x2c2a6a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49fe87=>{let _0x1deea8=0x0;_0x56e17e[_0x2c2a6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c2a6a([0x6f,0x6e])](_0x2c2a6a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x723895,_0x4db265)=>{_0x4db265[0x0][_0x2c2a6a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1deea8++,_0x1deea8==(0x37361f97^_0x3a18cc)&&(_0x49fe87(),_0x723895[_0x2c2a6a([0x6f,0x66,0x66])]());});}))];return window[_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c2a6a([0x72,0x61,0x63,0x65])](_0x172bb8)[_0x2c2a6a([0x74,0x68,0x65,0x6e])](()=>_0x2460fd);}async function _0x22b0eb(){await _0x279a01,_0x56e17e[_0x2c2a6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c2a6a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x407ccf,_0x56e17e[_0x2c2a6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c2a6a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x407ccf,_0x56e17e[_0x2c2a6a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c2a6a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ae8a3(_0x1e578d){const _0x560c75=_0x3ab998();_0x56e17e[_0x560c75]=_0x2c2a6a([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e578d,_0x1e578d!=_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64])&&_0x22b0eb();}function _0x3ab998(){const _0x3e6c06=window[_0x2c2a6a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c2a6a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c2a6a([0x6e,0x6f,0x77])]())[_0x2c2a6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c2a6a([0x2e]),'');let _0x1e3597=_0x2c2a6a([0x75]);for(let _0x3801a5=0x0;_0x3801a5<_0x3e6c06[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3801a5+=0x2){let _0x52e2d0=window[_0x2c2a6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e6c06[_0x2c2a6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3801a5,_0x3801a5+0x2));_0x52e2d0>=_0x20021f[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x52e2d0-=_0x20021f[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e3597+=_0x20021f[_0x52e2d0];}return _0x1e3597;}function _0x3994a1(){const _0x1ddec0=_0x274bdb[_0x2c2a6a([0x73,0x70,0x6c,0x69,0x74])](_0x2c2a6a([0x2e]));if(0x3!=_0x1ddec0[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfdcf44(_0x1ddec0[0x1]);function _0xfdcf44(_0x6735d4){const _0x14946e=_0x118bb7(_0x6735d4);return _0x14946e&&_0x4801ce()?_0x14946e:null;function _0x4801ce(){const _0x12562b=_0x14946e[_0x2c2a6a([0x6a,0x74,0x69])],_0x5f0661=window[_0x2c2a6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12562b[_0x2c2a6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12562b[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44c512={..._0x14946e,[_0x2c2a6a([0x6a,0x74,0x69])]:_0x12562b[_0x2c2a6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12562b[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44c512[_0x2c2a6a([0x76,0x63])],_0xc289ea(_0x44c512)==_0x5f0661;}}}async function _0x4f3ed9(){let _0x1b1598=!0x0;try{const _0x237013=_0x274bdb[_0x2c2a6a([0x73,0x70,0x6c,0x69,0x74])](_0x2c2a6a([0x2e])),[_0x5eb9cc,_0x56cfc5,_0x1ca88e]=_0x237013;return _0x51a793(_0x5eb9cc),await _0x1bfcff(_0x5eb9cc,_0x56cfc5,_0x1ca88e),_0x1b1598;}catch(_0x190bab){return!0x1;}function _0x51a793(_0x27ea4){const _0x2d9c4f=_0x118bb7(_0x27ea4);_0x2d9c4f&&_0x2d9c4f[_0x2c2a6a([0x61,0x6c,0x67])]==_0x2c2a6a([0x45,0x53,0x32,0x35,0x36])||(_0x1b1598=!0x1);}async function _0x1bfcff(_0x5bc3ee,_0xfaa249,_0x4f36dd){const _0x21a914=window[_0x2c2a6a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c2a6a([0x66,0x72,0x6f,0x6d])](_0x55149c(_0x4f36dd),_0x26c3e6=>_0x26c3e6[_0x2c2a6a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2eea00=new window[(_0x2c2a6a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c2a6a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5bc3ee+_0x2c2a6a([0x2e])+_0xfaa249),_0x79680=window[_0x2c2a6a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c2a6a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x79680)return;const _0x475830=await _0x79680[_0x2c2a6a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c2a6a([0x6a,0x77,0x6b]),_0x523ef9,{[_0x2c2a6a([0x6e,0x61,0x6d,0x65])]:_0x2c2a6a([0x45,0x43,0x44,0x53,0x41]),[_0x2c2a6a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c2a6a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c2a6a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x79680[_0x2c2a6a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c2a6a([0x6e,0x61,0x6d,0x65])]:_0x2c2a6a([0x45,0x43,0x44,0x53,0x41]),[_0x2c2a6a([0x68,0x61,0x73,0x68])]:{[_0x2c2a6a([0x6e,0x61,0x6d,0x65])]:_0x2c2a6a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x475830,_0x21a914,_0x2eea00)||(_0x1b1598=!0x1);}}function _0x118bb7(_0x262ba4){return _0x262ba4[_0x2c2a6a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c2a6a([0x65,0x79]))?JSON[_0x2c2a6a([0x70,0x61,0x72,0x73,0x65])](_0x55149c(_0x262ba4)):null;}function _0x55149c(_0x5984bb){return window[_0x2c2a6a([0x61,0x74,0x6f,0x62])](_0x5984bb[_0x2c2a6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c2a6a([0x2b]))[_0x2c2a6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c2a6a([0x2f])));}function _0xc289ea(_0x1ca7e6){let _0x1d61ef=0x1505;function _0x17e6cf(_0x387346){for(let _0xfdd48=0x0;_0xfdd48<_0x387346[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfdd48++){const _0x4dde9c=_0x387346[_0x2c2a6a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xfdd48);_0x1d61ef=(_0x1d61ef<<0x5)+_0x1d61ef+_0x4dde9c,_0x1d61ef&=_0x1d61ef;}}function _0x127372(_0x1dc507){Array[_0x2c2a6a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1dc507)?_0x1dc507[_0x2c2a6a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x127372):_0x1dc507&&typeof _0x1dc507==_0x2c2a6a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c2a6a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1dc507)[_0x2c2a6a([0x73,0x6f,0x72,0x74])]()[_0x2c2a6a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2413b5,_0x4734a2])=>{_0x17e6cf(_0x2413b5),_0x127372(_0x4734a2);}):_0x17e6cf(window[_0x2c2a6a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1dc507));}return _0x127372(_0x1ca7e6),_0x1d61ef>>>0x0;}function _0xa1e62d(_0x1efae2){return _0x1efae2[_0x2c2a6a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c2a6a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c2a6a([0x30]));}function _0x5d99a9(_0x55689d){return _0x55689d[_0x2c2a6a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c2a6a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c2a6a([0x6a,0x6f,0x69,0x6e])]('');}function _0x407ccf(){}function _0x2c2a6a(_0x1a5f32){const _0x12efc6=_0x8e78;return _0x1a5f32[_0x12efc6(0x16a)](_0x4a494a=>String[_0x12efc6(0x162)](_0x4a494a))[_0x12efc6(0x1a7)]('');}_0x5ae8a3(await _0x391988());}(this);}[_0x5751e7(0x1ab)](){const _0x9dfbcc=_0x5751e7,_0x115faa=this[_0x9dfbcc(0x17a)][_0x9dfbcc(0x1a8)];_0x115faa[_0x9dfbcc(0x1ae)](_0x354e6f=>{const _0x869adf=_0x9dfbcc,_0x5c3ff1=_0x115faa[_0x869adf(0x1a3)][_0x869adf(0x17c)][_0x869adf(0x14d)]();let _0xf1bc22=0x0;for(const _0x23338f of _0x5c3ff1){const _0xf6ea9b=f+':'+_0xf1bc22;if(_0x115faa[_0x869adf(0x18e)][_0x869adf(0x1b7)](_0xf6ea9b))_0x354e6f[_0x869adf(0x19d)](_0xf6ea9b,{'range':_0x23338f});else{if(_0x23338f[_0x869adf(0x172)][_0x869adf(0x1b1)]){const _0x47b1de=_0x23338f[_0x869adf(0x172)][_0x869adf(0x19b)](({item:_0x459aed})=>!_0x115faa[_0x869adf(0x158)][_0x869adf(0x171)](_0x459aed),{'boundaries':_0x23338f});_0x354e6f[_0x869adf(0x164)](_0xf6ea9b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x354e6f[_0x869adf(0x16c)](_0x47b1de,_0x23338f[_0x869adf(0x176)])});}else _0x354e6f[_0x869adf(0x164)](_0xf6ea9b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x23338f});}_0xf1bc22++;}});}[_0x5751e7(0x177)](){const _0x4d6361=_0x5751e7,_0x2cb6bd=this[_0x4d6361(0x17a)][_0x4d6361(0x1a8)],_0x2ff3c6=Array[_0x4d6361(0x194)](this[_0x4d6361(0x17a)][_0x4d6361(0x1a8)][_0x4d6361(0x18e)][_0x4d6361(0x170)](f));_0x2ff3c6[_0x4d6361(0x1ad)]&&_0x2cb6bd[_0x4d6361(0x1ae)](_0x5b461c=>{const _0x31d21a=_0x4d6361;_0x2ff3c6[_0x31d21a(0x178)](_0xd27ef4=>{const _0x293524=_0x31d21a;_0x5b461c[_0x293524(0x1b2)](_0xd27ef4);});});}[_0x5751e7(0x198)](_0x3df221,_0x1044c7){const _0x12ae0b=_0x5751e7,_0x581465=this[_0x12ae0b(0x183)](),_0x33d94b=_0x1044c7||_0x581465[_0x12ae0b(0x15f)]();this[_0x12ae0b(0x17a)][_0x12ae0b(0x1a8)][_0x12ae0b(0x159)](_0x33d94b)&&this[_0x12ae0b(0x17a)][_0x12ae0b(0x1a8)][_0x12ae0b(0x1ae)](_0xa8d360=>{const _0x87a1f4=_0x12ae0b;this[_0x87a1f4(0x177)](),_0x1044c7||this[_0x87a1f4(0x14e)](_0xa8d360,_0x581465),this[_0x87a1f4(0x197)]({'insertAt':_0x33d94b,'writer':_0xa8d360,'html':_0x3df221});});}[_0x5751e7(0x1b5)](_0x21fe74){const _0x45e12f=_0x5751e7,{model:_0x201288}=this[_0x45e12f(0x17a)],_0x346db8=this[_0x45e12f(0x183)]();_0x201288[_0x45e12f(0x1ae)](()=>{const _0x167089=_0x45e12f,_0x159ec0=this[_0x167089(0x150)](_0x21fe74,_0x346db8)||this[_0x167089(0x161)](_0x346db8);this[_0x167089(0x198)](_0x21fe74,_0x159ec0);});}[_0x5751e7(0x183)](){const _0x166ed6=_0x5751e7,_0x14d480=this[_0x166ed6(0x17a)][_0x166ed6(0x1a8)],_0x294354=Array[_0x166ed6(0x194)](_0x14d480[_0x166ed6(0x18e)][_0x166ed6(0x170)](f))[_0x166ed6(0x16a)](_0x439b06=>_0x439b06[_0x166ed6(0x17d)]());return _0x14d480[_0x166ed6(0x19c)](_0x294354);}[_0x5751e7(0x197)]({writer:_0x2f5287,html:_0x123dad,insertAt:_0x546225}){const _0x58e3b9=_0x5751e7,{view:_0xe25f51}=this[_0x58e3b9(0x17a)][_0x58e3b9(0x167)],_0x392d81=this[_0x58e3b9(0x17a)][_0x58e3b9(0x187)][_0x58e3b9(0x14c)](_0xffc05a),_0x3805cc=new w();_0x3805cc[_0x58e3b9(0x193)](_0x58e3b9(0x1b3),_0x123dad);const _0x2266ed=new ClipboardEvent(_0x58e3b9(0x1b4),{'clipboardData':_0x3805cc}),_0x52571e=new _0x1870a7(_0xe25f51,_0x2266ed,{'dataTransfer':new _0x2f99ad(_0x3805cc)});_0x2f5287[_0x58e3b9(0x18b)](_0x546225);const _0x356f49=(_0x4e530e,_0x565c5b)=>{const _0x18ab6e=_0x58e3b9;_0x565c5b[_0x18ab6e(0x1a1)]&&_0x2f5287[_0x18ab6e(0x18b)](_0x565c5b[_0x18ab6e(0x1a1)]);};_0x392d81[_0x58e3b9(0x17e)](_0x58e3b9(0x18c),_0x356f49,{'priority':_0x58e3b9(0x1a9)}),_0xe25f51[_0x58e3b9(0x1a3)][_0x58e3b9(0x184)](_0x58e3b9(0x1b4),_0x52571e),_0x392d81[_0x58e3b9(0x1b0)](_0x58e3b9(0x18c),_0x356f49);}[_0x5751e7(0x161)](_0x433596){const _0x28b332=_0x5751e7,{model:_0x1a2138}=this[_0x28b332(0x17a)],_0x183415=Array[_0x28b332(0x194)](_0x433596[_0x28b332(0x186)]());return _0x183415[_0x28b332(0x1ad)]?_0x1a2138[_0x28b332(0x155)](_0x183415[_0x28b332(0x169)]()):_0x433596[_0x28b332(0x15d)]();}[_0x5751e7(0x150)](_0x2eb155,_0x1487c3){const _0x1d4651=_0x5751e7,{model:_0x174e4a,plugins:_0x55be5f}=this[_0x1d4651(0x17a)];if(_0x55be5f[_0x1d4651(0x1b7)](_0x1d4651(0x185))){const _0x50631d=_0x55be5f[_0x1d4651(0x14c)](_0x1d4651(0x185))[_0x1d4651(0x182)](_0x1487c3);if(_0x50631d[_0x1d4651(0x1ad)]){const _0x59a167=this[_0x1d4651(0x1a5)](_0x2eb155),_0x5e7bd5=this[_0x1d4651(0x189)](_0x50631d,_0x59a167);return _0x174e4a[_0x1d4651(0x18d)](_0x5e7bd5,0x0);}}return null;}[_0x5751e7(0x1a5)](_0x1229aa){const _0x31bd43=_0x5751e7,_0x5a933a=this[_0x31bd43(0x17a)][_0x31bd43(0x187)][_0x31bd43(0x14c)](_0x31bd43(0x185)),_0x133e73=this[_0x31bd43(0x17a)][_0x31bd43(0x16b)][_0x31bd43(0x173)](_0x1229aa),_0x59b969=Array[_0x31bd43(0x194)](_0x133e73[_0x31bd43(0x195)]())[_0x31bd43(0x1b6)](_0x4da945=>_0x4da945['is'](_0x31bd43(0x1b8),_0x31bd43(0x1a0)));let _0x52070c=0x0;return _0x59b969[_0x31bd43(0x178)](_0x4aff25=>{const _0x30e36e=_0x31bd43;_0x52070c+=_0x5a933a[_0x30e36e(0x16d)](_0x4aff25);}),_0x52070c;}[_0x5751e7(0x189)](_0xb33f55,_0x31d7e8){const _0x2dec71=_0x5751e7,_0x574e1b=this[_0x2dec71(0x17a)][_0x2dec71(0x187)][_0x2dec71(0x14c)](_0x2dec71(0x185)),_0x2a8612=_0x574e1b[_0x2dec71(0x19e)](_0xb33f55),_0x95d0ff=_0x574e1b[_0x2dec71(0x175)](_0xb33f55),_0x3f6519=_0x2a8612[_0x2dec71(0x15e)]+0x1,_0x184c69=_0x95d0ff[_0x2dec71(0x151)],_0x2ae70a=_0xb33f55[0x0][_0x2dec71(0x181)](_0x2dec71(0x1a0));for(let _0x5f22c9=0x0;_0x5f22c9<_0x31d7e8;_0x5f22c9++)_0x574e1b[_0x2dec71(0x1a2)](_0x2ae70a,{'at':_0x3f6519});return _0x2ae70a[_0x2dec71(0x1af)](_0x3f6519)[_0x2dec71(0x1af)](_0x184c69);}[_0x5751e7(0x14e)](_0x22007e,_0x5169e2){const _0x44a3b3=_0x5751e7,{plugins:_0x2656f5}=this[_0x44a3b3(0x17a)],{model:_0x342a4b}=_0x22007e;if(!_0x2656f5[_0x44a3b3(0x1b7)](_0x44a3b3(0x185)))return;_0x2656f5[_0x44a3b3(0x14c)](_0x44a3b3(0x185))[_0x44a3b3(0x182)](_0x5169e2)[_0x44a3b3(0x1ad)]&&_0x342a4b[_0x44a3b3(0x18a)](_0x5169e2);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x13c5d2=_0x444e;(function(_0x1e1b60,_0x577ad7){const _0xdd0709=_0x444e,_0x4f4be3=_0x1e1b60();while(!![]){try{const _0x56eb92=-parseInt(_0xdd0709(0xb0))/0x1+parseInt(_0xdd0709(0xb2))/0x2*(parseInt(_0xdd0709(0x150))/0x3)+parseInt(_0xdd0709(0x13f))/0x4*(parseInt(_0xdd0709(0x115))/0x5)+parseInt(_0xdd0709(0x148))/0x6*(-parseInt(_0xdd0709(0x106))/0x7)+parseInt(_0xdd0709(0xe5))/0x8+parseInt(_0xdd0709(0xc6))/0x9*(-parseInt(_0xdd0709(0xf9))/0xa)+parseInt(_0xdd0709(0xc4))/0xb;if(_0x56eb92===_0x577ad7)break;else _0x4f4be3['push'](_0x4f4be3['shift']());}catch(_0x412862){_0x4f4be3['push'](_0x4f4be3['shift']());}}}(_0x46b9,0xa6bca));import{Plugin as _0x157d53}from'ckeditor5/src/core.js';import{first as _0x4d332b,CKEditorError as _0x358b2a}from'ckeditor5/src/utils.js';import{createDropdown as _0x4ed561,addMenuToDropdown as _0x212862,ButtonView as _0x5e3645,MenuBarMenuListItemButtonView as _0xc6a44c,Dialog as _0x309c79,DialogViewPosition as _0x3819ee,MenuBarMenuView as _0x25fc06,MenuBarMenuListView as _0x5d5957,MenuBarMenuListItemView as _0x57a5d1}from'ckeditor5/src/ui.js';import{icons as _0x4809c4}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x1cfd55,UNGROUPED_COMMANDS_GROUP_ID as _0x3e0ef7}from'./utils/normalizecommandsconfig.js';import _0x3ad813 from'./aiassistantediting.js';import _0x520d73 from'./adapters/aiadapter.js';import{getTranslation as _0x5526fc}from'./utils/common-translations.js';import _0x1ac2d5 from'./ui/showaiassistantcommand.js';import _0x19094a from'./ui/aiassistantcontroller.js';import _0x41a0f3 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x32fe02}from'./ui/form/aiformtoolbarview.js';import _0x4fdb39 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x13c5d2(0x14b)];import{ClipboardMarkersUtils as _0x270b74}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x479c55,DataTransfer as _0x175cfa}from'ckeditor5/src/engine.js';function _0x444e(_0x3cd167,_0x44d54c){const _0x46b919=_0x46b9();return _0x444e=function(_0x444ec4,_0xd80aaf){_0x444ec4=_0x444ec4-0xad;let _0x3841fd=_0x46b919[_0x444ec4];return _0x3841fd;},_0x444e(_0x3cd167,_0x44d54c);}export default class n extends _0x157d53{static get[_0x13c5d2(0xb8)](){const _0x5aea2f=_0x13c5d2;return _0x5aea2f(0x131);}static get[_0x13c5d2(0x104)](){return!0x0;}static get[_0x13c5d2(0x15e)](){return!0x0;}static get[_0x13c5d2(0xaf)](){return[_0x270b74,_0x3ad813,_0x520d73,_0x309c79];}constructor(_0x52d7f6){const _0x5da52a=_0x13c5d2;super(_0x52d7f6),this[_0x5da52a(0x120)]='',_0x52d7f6[_0x5da52a(0x11b)][_0x5da52a(0xd4)](_0x5da52a(0xb5),[_0x5da52a(0xbb),_0x5da52a(0xb6),_0x5da52a(0xe0)]),_0x52d7f6[_0x5da52a(0x11b)][_0x5da52a(0xd4)](_0x5da52a(0x11d),''),_0x52d7f6[_0x5da52a(0x11b)][_0x5da52a(0xd4)](_0x5da52a(0x154),!0x0),this[_0x5da52a(0x120)]=_0x5da52a(0x12d)+(_0x52d7f6[_0x5da52a(0x11b)][_0x5da52a(0x13b)](_0x5da52a(0x154))?_0x5da52a(0x159):'');}[_0x13c5d2(0x112)](){const _0x1b0bfe=_0x13c5d2,{editor:_0x888f1b}=this;this[_0x1b0bfe(0xcf)]=_0x888f1b[_0x1b0bfe(0x107)][_0x1b0bfe(0x13b)](_0x520d73),this[_0x1b0bfe(0xc5)]=_0x888f1b[_0x1b0bfe(0x107)][_0x1b0bfe(0x13b)](_0x309c79),this[_0x1b0bfe(0x153)]=null,this[_0x1b0bfe(0xfc)]=this[_0x1b0bfe(0xae)]();const _0x48d28f=new _0x1ac2d5(_0x888f1b,Array[_0x1b0bfe(0x130)](this[_0x1b0bfe(0xfc)][_0x1b0bfe(0x108)]()));_0x888f1b[_0x1b0bfe(0x157)][_0x1b0bfe(0xe3)](_0x1b0bfe(0x137),_0x48d28f),_0x888f1b['ui'][_0x1b0bfe(0x141)][_0x1b0bfe(0xe3)](_0x1b0bfe(0x158),_0x69882e=>{const _0x5ccedd=_0x1b0bfe,_0x298cf0=_0x4ed561(_0x69882e);return _0x298cf0[_0x5ccedd(0x14c)]({'class':_0x5ccedd(0x132)+this[_0x5ccedd(0x120)]}),_0x298cf0[_0x5ccedd(0xf8)][_0x5ccedd(0x14c)]({'label':_0x5526fc(_0x69882e,_0x5ccedd(0x10c)),'icon':_0x4fdb39,'tooltip':!0x0}),_0x298cf0['on'](_0x5ccedd(0xfa),_0x412dd1=>this[_0x5ccedd(0x133)](_0x412dd1[_0x5ccedd(0x14f)]['id'])),_0x212862(_0x298cf0,_0x888f1b['ui'][_0x5ccedd(0x140)][_0x5ccedd(0xfd)],function(_0x5b6a88){const _0x1c0ac0=_0x5ccedd,_0x46e804=_0x1cfd55(_0x5b6a88[_0x1c0ac0(0x11b)][_0x1c0ac0(0x13b)](_0x1c0ac0(0x12c)),_0x5b6a88[_0x1c0ac0(0x117)]),_0x57914b=U(_0x5b6a88,_0x46e804)[_0x1c0ac0(0x121)](_0x28ea6a=>_0x28ea6a[_0x1c0ac0(0x157)][_0x1c0ac0(0xd0)]);if(0x1===_0x57914b[_0x1c0ac0(0xd0)])return U(_0x5b6a88,_0x57914b[0x0][_0x1c0ac0(0x157)])[_0x1c0ac0(0xb1)](_0x22be76=>({'id':_0x22be76['id'],'label':_0x22be76[_0x1c0ac0(0xd7)]}));return _0x57914b[_0x1c0ac0(0xb1)](_0x40e02e=>{const _0x4e736a=_0x1c0ac0,{groupId:_0x1623bc,groupLabel:_0x2ea192,commands:_0x425339}=_0x40e02e,_0x34615d=U(_0x5b6a88,_0x425339)[_0x4e736a(0xb1)](_0x19bf7e=>({'id':_0x19bf7e['id'],'label':_0x19bf7e[_0x4e736a(0xd7)]}));return{'id':_0x1623bc,'menu':_0x2ea192||_0x1623bc,'children':_0x34615d};});}(_0x888f1b),{'ariaLabel':_0x5526fc(_0x69882e,_0x5ccedd(0x10c))}),_0x298cf0[_0x5ccedd(0xbc)][_0x5ccedd(0x155)]=_0x5ccedd(0x132)+this[_0x5ccedd(0x120)],_0x48d28f['on'](_0x5ccedd(0x15c),_0x33cb3e),_0x298cf0[_0x5ccedd(0xbc)][_0x5ccedd(0x143)](_0x5ccedd(0x147),_0x33cb3e),_0x298cf0;function _0x33cb3e(){const _0x59a956=_0x5ccedd;_0x298cf0[_0x59a956(0xe1)]=_0x48d28f[_0x59a956(0xff)][_0x59a956(0xd0)]>0x0;for(const _0xfd4e03 of _0x298cf0[_0x59a956(0xbc)][_0x59a956(0xd6)])_0xfd4e03[_0x59a956(0xe1)]=_0x48d28f[_0x59a956(0xff)][_0x59a956(0xe4)](_0xfd4e03['id']);}}),_0x888f1b['ui'][_0x1b0bfe(0x141)][_0x1b0bfe(0xe3)](_0x1b0bfe(0xe7),_0xb7903b=>{const _0x13081c=_0x1b0bfe,_0x3fcf43=new _0x25fc06(_0xb7903b);_0x3fcf43[_0x13081c(0xf8)][_0x13081c(0x14c)]({'label':_0x5526fc(_0xb7903b,_0x13081c(0x10c)),'icon':_0x4fdb39}),_0x3fcf43[_0x13081c(0xf2)](_0x13081c(0xe1))['to'](_0x48d28f,_0x13081c(0xff),_0x35d4b5=>_0x35d4b5[_0x13081c(0xd0)]>0x0);const _0x228b39=_0x1cfd55(_0x888f1b[_0x13081c(0x11b)][_0x13081c(0x13b)](_0x13081c(0x12c)),_0xb7903b);return this[_0x13081c(0xbf)](_0x48d28f,_0x3fcf43,_0x228b39,_0x46329c=>this[_0x13081c(0x133)](_0x46329c)),_0x3fcf43;}),_0x888f1b['ui'][_0x1b0bfe(0x141)][_0x1b0bfe(0xe3)](_0x1b0bfe(0x139),()=>{const _0x2eb10b=_0x1b0bfe,_0xea4bb6=this[_0x2eb10b(0x145)](_0x5e3645);return _0xea4bb6[_0x2eb10b(0x14c)]({'tooltip':!0x0,'class':_0x2eb10b(0xd8)+this[_0x2eb10b(0x120)]}),_0xea4bb6;}),_0x888f1b['ui'][_0x1b0bfe(0x141)][_0x1b0bfe(0xe3)](_0x1b0bfe(0x13e),()=>{const _0x15aa7c=_0x1b0bfe,_0x125932=this[_0x15aa7c(0x145)](_0xc6a44c);return _0x125932[_0x15aa7c(0x14c)]({'role':_0x15aa7c(0x142)}),_0x125932;}),this[_0x1b0bfe(0x114)]=this[_0x1b0bfe(0xc8)][_0x1b0bfe(0x11b)][_0x1b0bfe(0x13b)](_0x1b0bfe(0x114));const _0x3b1aff=this[_0x1b0bfe(0xc8)];this[_0x1b0bfe(0x116)]=setInterval(()=>{const _0x26e1b8=_0x1b0bfe;let _0x5f43c4;for(const _0x5d15c2 in _0x3b1aff){const _0x1e844e=_0x5d15c2,_0x4e3169=_0x3b1aff[_0x1e844e];if(_0x26e1b8(0x105)==_0x4e3169||_0x26e1b8(0x118)==_0x4e3169||_0x26e1b8(0xdb)==_0x4e3169||_0x26e1b8(0xf5)==_0x4e3169||_0x26e1b8(0xea)==_0x4e3169||_0x26e1b8(0x11c)==_0x4e3169||_0x26e1b8(0x11a)==_0x4e3169||_0x26e1b8(0x12a)==_0x4e3169){delete _0x3b1aff[_0x1e844e],_0x5f43c4=_0x4e3169,clearInterval(this[_0x26e1b8(0x116)]),this[_0x26e1b8(0x116)]=void 0x0;break;}}_0x26e1b8(0x118)==_0x5f43c4&&_0x3b1aff[_0x26e1b8(0xb3)](_0x26e1b8(0x14a)),_0x26e1b8(0xdb)==_0x5f43c4&&_0x3b1aff[_0x26e1b8(0xb3)](_0x26e1b8(0x122)),_0x26e1b8(0xf5)==_0x5f43c4&&_0x3b1aff[_0x26e1b8(0xb3)](_0x26e1b8(0x100)),_0x26e1b8(0xea)==_0x5f43c4&&_0x3b1aff[_0x26e1b8(0xb3)](_0x26e1b8(0x10e),_0x26e1b8(0x10f)),_0x26e1b8(0x11c)==_0x5f43c4&&_0x3b1aff[_0x26e1b8(0xb3)](_0x26e1b8(0x12e)),_0x26e1b8(0x11a)==_0x5f43c4&&_0x3b1aff[_0x26e1b8(0xb3)](_0x26e1b8(0xd5)),_0x26e1b8(0x12a)==_0x5f43c4&&_0x3b1aff[_0x26e1b8(0xb3)](_0x26e1b8(0xf1));},0x3e8);}[_0x13c5d2(0xd3)](){const _0x30952b=_0x13c5d2;super[_0x30952b(0xd3)](),this[_0x30952b(0x116)]&&clearInterval(this[_0x30952b(0x116)]);}[_0x13c5d2(0x124)](_0x212eba='',_0x49b728='',_0x51a8f0=_0x13c5d2(0xcc)){const _0x29f16a=_0x13c5d2,_0x3d689e=this[_0x29f16a(0xc8)],_0x1122c8=_0x3d689e[_0x29f16a(0xe8)][_0x29f16a(0x140)],_0x5e5f08=_0x3d689e[_0x29f16a(0x107)][_0x29f16a(0x13b)](_0x3ad813),_0x1886c6=_0x3d689e[_0x29f16a(0x107)][_0x29f16a(0x13b)](_0x270b74);_0x5e5f08[_0x29f16a(0xec)]();const _0xa8897c=new w(),_0x68905=new ClipboardEvent(_0x29f16a(0x15b),{'clipboardData':_0xa8897c}),_0x43c75f=new _0x175cfa(_0xa8897c),_0x4a321f=new _0x479c55(_0x1122c8,_0x68905,{'dataTransfer':_0x43c75f});_0x1886c6[_0x29f16a(0x10d)](_0x29f16a(0xf4),()=>{const _0x3c5673=_0x29f16a;_0x1122c8[_0x3c5673(0x123)][_0x3c5673(0xda)](_0x3c5673(0x15b),_0x4a321f);}),this[_0x29f16a(0x153)]||(this[_0x29f16a(0x144)](),this[_0x29f16a(0x136)]=new _0x19094a(_0x3d689e,this[_0x29f16a(0xcf)][_0x29f16a(0x12b)],this[_0x29f16a(0x153)]));let _0x106e9c=_0x43c75f[_0x29f16a(0x10b)](_0x29f16a(0xc7));const _0x114bd2=_0x3d689e[_0x29f16a(0xbd)][_0x29f16a(0x123)][_0x29f16a(0xf7)],_0x549896=Array[_0x29f16a(0x130)](_0x114bd2[_0x29f16a(0xdd)]());0x1===_0x549896[_0x29f16a(0xd0)]&&_0x549896[0x0][_0x29f16a(0xd9)]&&!_0x114bd2[_0x29f16a(0xb4)]()&&''!==_0x106e9c[_0x29f16a(0x13d)](/ /g,'')[_0x29f16a(0x156)]()&&(_0x106e9c=_0x29f16a(0xb9)+_0x106e9c+_0x29f16a(0xde)),this[_0x29f16a(0x136)][_0x29f16a(0x119)]({'actionId':_0x51a8f0,'query':_0x212eba,'htmlContent':_0x106e9c,'label':_0x49b728,'mainActionLabel':_0x32fe02[_0x3d689e[_0x29f16a(0xbd)][_0x29f16a(0x123)][_0x29f16a(0xf7)][_0x29f16a(0x14e)]?_0x29f16a(0xf3):_0x29f16a(0x102)]}),_0x29f16a(0x139)!==this[_0x29f16a(0xc5)]['id']?this[_0x29f16a(0xc5)][_0x29f16a(0xc9)]({'id':_0x29f16a(0x139),'icon':_0x4809c4[_0x29f16a(0x11f)],'title':_0x5526fc(this[_0x29f16a(0xc8)][_0x29f16a(0x117)],_0x29f16a(0x103)),'content':this[_0x29f16a(0x153)],'position':_0x3819ee[_0x29f16a(0xd2)],'onShow':()=>{const _0x2c3ed4=_0x29f16a;this[_0x2c3ed4(0x153)][_0x2c3ed4(0x151)]();},'onHide':()=>{const _0x3ff368=_0x29f16a;this[_0x3ff368(0x136)][_0x3ff368(0x12f)](),_0x5e5f08[_0x3ff368(0x134)]();}}):this[_0x29f16a(0xc5)][_0x29f16a(0x140)][_0x29f16a(0x110)]||this[_0x29f16a(0xc5)][_0x29f16a(0x140)][_0x29f16a(0x149)]();}[_0x13c5d2(0x109)](){const _0x55f513=_0x13c5d2;this[_0x55f513(0xc5)][_0x55f513(0xef)]();}[_0x13c5d2(0xae)](){const _0x440ca5=_0x13c5d2,_0x1792c8=new Map(),_0xae6f1c=_0x1cfd55(this[_0x440ca5(0xc8)][_0x440ca5(0x11b)][_0x440ca5(0x13b)](_0x440ca5(0x12c)),this[_0x440ca5(0xc8)][_0x440ca5(0x117)]);for(const _0x4fba03 of _0xae6f1c)for(const _0x340c8a of _0x4fba03[_0x440ca5(0x157)])_0x1792c8[_0x440ca5(0x14c)](_0x340c8a['id'],{..._0x340c8a,'groupId':_0x4fba03[_0x440ca5(0x11e)],'groupLabel':_0x4fba03[_0x440ca5(0xfb)]||_0x4fba03[_0x440ca5(0x11e)]});return _0x1792c8;}[_0x13c5d2(0x145)](_0x53867a){const _0x24b215=_0x13c5d2,_0x567d20=this[_0x24b215(0xc8)],_0x3787c5=_0x567d20[_0x24b215(0x157)][_0x24b215(0x13b)](_0x24b215(0x137)),_0x11f867=new _0x53867a(_0x567d20[_0x24b215(0x117)]);return _0x11f867[_0x24b215(0x14c)]({'label':_0x5526fc(_0x567d20[_0x24b215(0x117)],_0x24b215(0x103)),'icon':_0x4809c4[_0x24b215(0x11f)],'isToggleable':!0x0}),_0x11f867[_0x24b215(0xf2)](_0x24b215(0xe1))['to'](_0x3787c5),_0x11f867[_0x24b215(0xf2)](_0x24b215(0xc2))['to'](this[_0x24b215(0xc5)],'id',_0x2758a7=>_0x24b215(0x139)===_0x2758a7),this[_0x24b215(0xe6)](_0x11f867,_0x24b215(0xfa),()=>{const _0x45f18c=_0x24b215;_0x11f867[_0x45f18c(0xc2)]?this[_0x45f18c(0x109)]():_0x3787c5[_0x45f18c(0xfa)]();}),_0x11f867;}[_0x13c5d2(0x144)](){const _0x4429ef=_0x13c5d2,_0x2f99c8=this[_0x4429ef(0xc8)][_0x4429ef(0x107)][_0x4429ef(0x13b)](_0x3ad813);this[_0x4429ef(0x153)]=new _0x41a0f3(this[_0x4429ef(0xc8)][_0x4429ef(0x117)],this[_0x4429ef(0x120)],this[_0x4429ef(0xc8)][_0x4429ef(0x11b)][_0x4429ef(0x13b)](_0x4429ef(0x11d))),this[_0x4429ef(0x153)]['on'](_0x4429ef(0xc0),()=>{const _0x486558=_0x4429ef;this[_0x486558(0xc5)][_0x486558(0x140)][_0x486558(0x110)]||this[_0x486558(0xc5)][_0x486558(0x140)][_0x486558(0x149)]();}),this[_0x4429ef(0x153)][_0x4429ef(0x13c)][_0x4429ef(0xfe)][_0x4429ef(0xe2)]['on'](_0x4429ef(0x135),()=>{const _0x49d0cc=_0x4429ef;this[_0x49d0cc(0xc5)][_0x49d0cc(0x140)][_0x49d0cc(0x110)]||this[_0x49d0cc(0xc5)][_0x49d0cc(0x140)][_0x49d0cc(0x149)]();}),this[_0x4429ef(0xe6)](this[_0x4429ef(0x153)],_0x4429ef(0xf0),()=>{const _0x14d985=_0x4429ef;_0x2f99c8[_0x14d985(0x113)](this[_0x14d985(0x136)][_0x14d985(0xee)]),this[_0x14d985(0x109)]();}),this[_0x4429ef(0xe6)](this[_0x4429ef(0x153)],_0x4429ef(0x10a),()=>{const _0x3c207a=_0x4429ef;_0x2f99c8[_0x3c207a(0x10a)](this[_0x3c207a(0x136)][_0x3c207a(0xee)]),this[_0x3c207a(0x109)]();}),this[_0x4429ef(0xbe)]();}[_0x13c5d2(0xbe)](){const _0x4a9fab=_0x13c5d2,{locale:_0x43e65b,ui:{ariaLiveAnnouncer:_0x83d673}}=this[_0x4a9fab(0xc8)];this[_0x4a9fab(0x153)][_0x4a9fab(0xad)]['on'](_0x4a9fab(0xca),(_0xee7368,_0x588402,_0x1753e4)=>{const _0x30acf4=_0x4a9fab,_0xbd3bd5=this[_0x30acf4(0x136)][_0x30acf4(0xee)];_0x1753e4?_0x83d673[_0x30acf4(0x129)](_0x5526fc(_0x43e65b,_0x30acf4(0x128))):_0xbd3bd5&&_0x83d673[_0x30acf4(0x129)](_0x5526fc(_0x43e65b,_0x30acf4(0x146),_0xbd3bd5),{'politeness':_0x30acf4(0xba),'isUnsafeHTML':!0x0});}),this[_0x4a9fab(0x153)]['on'](_0x4a9fab(0x14d),(_0x145384,_0x4d95cc,_0x29d8ce)=>{const _0x7a9433=_0x4a9fab;if(_0x29d8ce){const _0x5cc6a0=this[_0x7a9433(0x153)][_0x7a9433(0xeb)][_0x7a9433(0xb7)];_0x83d673[_0x7a9433(0x129)](_0x5526fc(_0x43e65b,_0x7a9433(0xf6),_0x5cc6a0));}});}[_0x13c5d2(0x133)](_0x550393){const _0x36b512=_0x13c5d2,_0x5cdfd4=this[_0x36b512(0xfc)][_0x36b512(0x13b)](_0x550393),_0x26918a=this[_0x36b512(0xc8)],_0x4f0415=_0x26918a[_0x36b512(0xbd)][_0x36b512(0x123)][_0x36b512(0xf7)],_0x24ad25=_0x26918a[_0x36b512(0x157)][_0x36b512(0x13b)](_0x36b512(0x137)),_0xd2ec18=_0x26918a[_0x36b512(0x107)][_0x36b512(0x13b)](_0x3ad813),_0x3c33c5=''+(_0x5cdfd4[_0x36b512(0x11e)]!==_0x3e0ef7?_0x5cdfd4[_0x36b512(0xfb)]+':\x20':'')+_0x5cdfd4[_0x36b512(0xd7)];if(!0x1!==_0x5cdfd4[_0x36b512(0xcd)]&&_0x4f0415[_0x36b512(0x14e)]){const _0x2e39d4=_0x4d332b(_0x4f0415[_0x36b512(0x138)]())||_0x26918a[_0x36b512(0xbd)][_0x36b512(0xc1)][_0x36b512(0xce)](_0x4f0415);_0x26918a[_0x36b512(0xbd)][_0x36b512(0xd1)](_0x4c50fd=>{const _0x3e8a50=_0x36b512;_0x4c50fd[_0x3e8a50(0xcb)](_0x2e39d4,'in');});}_0xd2ec18[_0x36b512(0xec)](),_0x24ad25[_0x36b512(0xfa)](_0x5cdfd4[_0x36b512(0x101)],_0x3c33c5,_0x36b512(0x126)+_0x550393);}[_0x13c5d2(0xbf)](_0x3ac9e4,_0x2f60c4,_0x544520,_0x3e5487){const _0x4b6f5e=_0x13c5d2,_0x343398=this[_0x4b6f5e(0xc8)],_0x45a36a=_0x343398[_0x4b6f5e(0x117)],_0x56c6ef=new _0x5d5957(_0x45a36a),_0x350df2=U(_0x343398,_0x544520)[_0x4b6f5e(0x121)](_0x90c82f=>_0x90c82f[_0x4b6f5e(0x157)][_0x4b6f5e(0xd0)]);0x1===_0x350df2[_0x4b6f5e(0xd0)]?this[_0x4b6f5e(0xdf)]({'command':_0x3ac9e4,'commands':_0x350df2[0x0][_0x4b6f5e(0x157)],'parentMenuView':_0x2f60c4,'onExecute':_0x3e5487})[_0x4b6f5e(0x127)](_0x2bbd1e=>_0x56c6ef[_0x4b6f5e(0x125)][_0x4b6f5e(0xe3)](_0x2bbd1e)):_0x350df2[_0x4b6f5e(0x127)](({groupId:_0xf53757,groupLabel:_0x5f3afe,commands:_0xddd238})=>{const _0x3b4488=_0x4b6f5e,_0xa900e3=new _0x57a5d1(_0x45a36a,_0x2f60c4),_0x357755=new _0x25fc06(_0x45a36a),_0x2402ee=new _0x5d5957(_0x45a36a),_0x50b7a0=this[_0x3b4488(0xdf)]({'command':_0x3ac9e4,'commands':_0xddd238,'parentMenuView':_0x357755,'onExecute':_0x3e5487});_0x357755[_0x3b4488(0xf8)][_0x3b4488(0x14c)]({'label':_0x5f3afe||_0xf53757}),_0x357755[_0x3b4488(0xe9)](_0x3b4488(0xfa))['to'](_0x2f60c4),_0x2402ee[_0x3b4488(0x125)][_0x3b4488(0xed)](_0x50b7a0),_0x357755[_0x3b4488(0x152)][_0x3b4488(0xc3)][_0x3b4488(0xe3)](_0x2402ee),_0xa900e3[_0x3b4488(0xc3)][_0x3b4488(0xe3)](_0x357755),_0x56c6ef[_0x3b4488(0x125)][_0x3b4488(0xe3)](_0xa900e3);}),_0x2f60c4[_0x4b6f5e(0x152)][_0x4b6f5e(0xc3)][_0x4b6f5e(0xe3)](_0x56c6ef);}[_0x13c5d2(0xdf)]({command:_0x1fa45a,commands:_0xf46ad0,parentMenuView:_0x48827f,onExecute:_0x4e6f0c}){const _0x4d1cfc=_0x13c5d2,_0x1e1b43=this[_0x4d1cfc(0xc8)],_0x1842da=_0x1e1b43[_0x4d1cfc(0x117)];return U(_0x1e1b43,_0xf46ad0)[_0x4d1cfc(0xb1)](_0x4b7ed4=>{const _0x4b6a9f=_0x4d1cfc,_0x1c8102=new _0x57a5d1(_0x1842da,_0x48827f),_0x2f7486=new _0xc6a44c(_0x1842da);return _0x2f7486[_0x4b6a9f(0x14c)]({'label':_0x4b7ed4[_0x4b6a9f(0xd7)]}),_0x2f7486[_0x4b6a9f(0xe9)](_0x4b6a9f(0xfa))['to'](_0x48827f),_0x2f7486['on'](_0x4b6a9f(0xfa),()=>_0x4e6f0c(_0x4b7ed4['id'])),_0x2f7486[_0x4b6a9f(0xf2)](_0x4b6a9f(0xe1))['to'](_0x1fa45a,_0x4b6a9f(0xff),_0x143d80=>_0x143d80[_0x4b6a9f(0xe4)](_0x4b7ed4['id'])),_0x1c8102[_0x4b6a9f(0xc3)][_0x4b6a9f(0xe3)](_0x2f7486),_0x1c8102;});}}function B(_0x181683,_0xf8c4cf){const _0x28b982=_0x13c5d2;return void 0x0!==_0x181683[_0x28b982(0x13a)]&&void 0x0===_0xf8c4cf[_0x28b982(0x13a)]?0x1:void 0x0===_0x181683[_0x28b982(0x13a)]&&void 0x0!==_0xf8c4cf[_0x28b982(0x13a)]?-0x1:void 0x0!==_0x181683[_0x28b982(0x13a)]&&void 0x0!==_0xf8c4cf[_0x28b982(0x13a)]?_0x181683[_0x28b982(0x13a)]-_0xf8c4cf[_0x28b982(0x13a)]:0x0;}function U(_0xd33b6,_0x18e3cc){const _0x1bd98e=_0x13c5d2;_0x18e3cc[_0x1bd98e(0x15a)](B);const _0x15b306={},_0x36a6a9=[];for(const _0x531e61 of _0x18e3cc)if(void 0x0!==_0x531e61[_0x1bd98e(0x13a)]){if(_0x531e61[_0x1bd98e(0x13a)]in _0x15b306)throw new _0x358b2a(_0x1bd98e(0xdc),_0xd33b6,{'conflictingDefinitions':[_0x531e61,_0x15b306[_0x531e61[_0x1bd98e(0x13a)]]]});_0x15b306[_0x531e61[_0x1bd98e(0x13a)]]=_0x531e61,_0x36a6a9[_0x1bd98e(0x15d)](_0x531e61[_0x1bd98e(0x13a)],0x0,_0x531e61);}else _0x36a6a9[_0x1bd98e(0x111)](_0x531e61);return _0x36a6a9;}function _0x46b9(){const _0x49707b=['updatePosition','invalid','DataTransfer','set','change:isError','isCollapsed','source','285ozkWhR','focus','panelView','_formView','ai.useTheme','menuPanelClass','trim','commands','aiCommands','\x20ck-ai-assistant-ui_theme','sort','copy','change:enabledCommandsIds','splice','isPremiumPlugin','contentArea','_getResolvedCommandsDefinitions','requires','478680HUJanK','map','10996miqquv','_showLicenseError','getSelectedElement','ai.aiAssistant.disabledElements','rawHtml','text','pluginName','<p>','polite','media','menuView','model','_initAriaAiStatusChangeAnnouncements','_populateMenuBarMenu','change:value','schema','isOn','children','16680796JhkoHq','_dialog','4630977JFlkQS','text/html','editor','show','change:isProcessing','setSelection','custom','requiresContent','getLimitElement','_aiAdapter','length','change','EDITOR_TOP_SIDE','destroy','define','trialLimit','buttons','label','ck-ai-assistant-button\x20','isFlat','fire','aiLicenseKeyExpired','ai-commands-config-order-collision','getRanges','</p>','_getMenuBarGroupButtons','tableOfContents','isEnabled','fieldView','add','includes','2569592lbRwmn','listenTo','menuBar:aiCommands','editing','delegate','aiLicenseKeyNotAllowed','errorView','showFakeVisualSelection','addMany','currentContext','hide','replaceContent','usageLimit','bind','INSERT','comment','aiLicenseKeyDomainLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','selection','buttonView','20VpbhWJ','execute','groupLabel','_commandDefinitions','body','queryView','enabledCommandsIds','domainLimit','prompt','REPLACE','AI\x20Assistant','isOfficialPlugin','aiLicenseKeyValid','1337LSZgtj','plugins','values','hideUI','insertContentBelow','getData','AI\x20Commands','_forceMarkersCopy','featureNotAllowed','AIAssistant','wasMoved','push','init','insertContent','licenseKey','320SpZntj','_licenseKeyCheckInterval','locale','aiLicenseKeyInvalid','updateView','aiLicenseKeyTrialLimit','config','aiLicenseKeyEvaluationLimit','ai.aiAssistant.contentAreaCssClass','groupId','robotPencil','_uiCssClasses','filter','expired','document','showUI','items','command:','forEach','AI\x20is\x20writing','announce','aiLicenseKeyUsageLimit','textAdapter','ai.aiAssistant.commands','ck-ai-assistant-ui','evaluationLimit','reset','from','AIAssistantUI','ck-ai-commands-dropdown\x20','_onExecute','hideFakeVisualSelection','update','_aiAssistantController','showAIAssistant','getSelectedBlocks','aiAssistant','order','get','promptView','replace','menuBar:aiAssistant','35396wneXhh','view','componentFactory','menuitemcheckbox','once','_initView','_createAIAssistantUIButton','Generated\x20content:\x20%0','render','23106WPWpjO'];_0x46b9=function(){return _0x49707b;};return _0x46b9();}
|
|
23
|
+
const _0x1bd8c4=_0x3c33;(function(_0x5b3973,_0x280009){const _0x5d2df3=_0x3c33,_0x4c3461=_0x5b3973();while(!![]){try{const _0x17c125=-parseInt(_0x5d2df3(0x8c))/0x1*(-parseInt(_0x5d2df3(0x9c))/0x2)+-parseInt(_0x5d2df3(0x11e))/0x3+-parseInt(_0x5d2df3(0xa8))/0x4*(parseInt(_0x5d2df3(0xdf))/0x5)+parseInt(_0x5d2df3(0xe9))/0x6+-parseInt(_0x5d2df3(0xd7))/0x7*(-parseInt(_0x5d2df3(0x8d))/0x8)+-parseInt(_0x5d2df3(0x10c))/0x9+-parseInt(_0x5d2df3(0x87))/0xa*(parseInt(_0x5d2df3(0xbb))/0xb);if(_0x17c125===_0x280009)break;else _0x4c3461['push'](_0x4c3461['shift']());}catch(_0x4e04e6){_0x4c3461['push'](_0x4c3461['shift']());}}}(_0x3b49,0xe48d6));import{Plugin as _0x2195a9}from'ckeditor5/src/core.js';import{first as _0x29cd6f,CKEditorError as _0xb211e}from'ckeditor5/src/utils.js';import{createDropdown as _0x4fb7af,addMenuToDropdown as _0x225fb1,ButtonView as _0x163ea5,MenuBarMenuListItemButtonView as _0x12610d,Dialog as _0x8b8295,DialogViewPosition as _0x440e6c,MenuBarMenuView as _0x4984cf,MenuBarMenuListView as _0x5ee5f7,MenuBarMenuListItemView as _0x32760d}from'ckeditor5/src/ui.js';import{icons as _0x4d7bd2}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x5555c7,UNGROUPED_COMMANDS_GROUP_ID as _0x3486e1}from'./utils/normalizecommandsconfig.js';import _0x24ab40 from'./aiassistantediting.js';import _0x174215 from'./adapters/aiadapter.js';import{getTranslation as _0x2d7301}from'./utils/common-translations.js';import _0x126695 from'./ui/showaiassistantcommand.js';import _0x2e92bf from'./ui/aiassistantcontroller.js';import _0x703e31 from'./ui/form/aiformview.js';function _0x3b49(){const _0x3c8c25=['groupLabel','_aiAssistantController','execute','9252iHMESV','polite','componentFactory','aiAssistant','aiLicenseKeyInvalid','update','editor','wasMoved','map','ck-ai-commands-dropdown\x20','from','ai.useTheme','text','menuBar:aiCommands','aiLicenseKeyDomainLimit','promptView','_populateMenuBarMenu','replace','aiLicenseKeyNotAllowed','8076706PKzthi','setSelection','_dialog','insertContentBelow','AI\x20Assistant','fieldView','hide','groupId','prompt','buttons','plugins','AIAssistantUI','change:enabledCommandsIds','reset','getData','isOfficialPlugin','aiLicenseKeyEvaluationLimit','locale','editing','copy','enabledCommandsIds','custom','selection','push','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:isError','evaluationLimit','_getResolvedCommandsDefinitions','13089965bttchI','comment','panelView','show','getLimitElement','_uiCssClasses','DataTransfer','view','615rLANHc','model','REPLACE','_onExecute','AI\x20Commands','config','items','set','EDITOR_TOP_SIDE','ai.aiAssistant.disabledElements','14364hTZDyr','licenseKey','listenTo','hideUI','ai.aiAssistant.contentAreaCssClass','document','delegate','destroy','expired','render','showFakeVisualSelection','order','once','requires','ai-commands-config-order-collision','getSelectedBlocks','rawHtml','body','insertContent','getRanges','_getMenuBarGroupButtons','isEnabled','domainLimit','change','robotPencil','trim','add','AI\x20is\x20writing','menuBar:aiAssistant','ai.aiAssistant.commands','_initAriaAiStatusChangeAnnouncements','hideFakeVisualSelection','aiLicenseKeyTrialLimit','menuView','get','2754297qDXkgb','aiLicenseKeyValid','change:isProcessing','media','splice','isCollapsed','requiresContent','tableOfContents','errorView','ck-ai-assistant-button\x20','_licenseKeyCheckInterval','filter','</p>','label','aiLicenseKeyExpired','_aiAdapter','source','bind','3223890SKGygi','includes','\x20ck-ai-assistant-ui_theme','aiCommands','menuPanelClass','_forceMarkersCopy','showUI','length','_showLicenseError','trialLimit','invalid','_formView','currentContext','init','_initView','children','updateView','schema','Generated\x20content:\x20%0','menuitemcheckbox','_createAIAssistantUIButton','commands','command:','replaceContent','isOn','define','_commandDefinitions','10uPgQKY','buttonView','values','textAdapter','sort','1463169OAJwtO','8FIIJJG','isPremiumPlugin','queryView','ck-ai-assistant-ui','AIAssistant','announce','focus','<p>','text/html','updatePosition','addMany','aiLicenseKeyUsageLimit','forEach','showAIAssistant','featureNotAllowed','2lMiBBL','usageLimit','change:value','contentArea','getSelectedElement','INSERT','isFlat','pluginName','fire'];_0x3b49=function(){return _0x3c8c25;};return _0x3b49();}import{AIFormToolbarViewMainActionLabel as _0x216d0b}from'./ui/form/aiformtoolbarview.js';import _0x87524d from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x1bd8c4(0xdd)];import{ClipboardMarkersUtils as _0x4ffa91}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x29230c,DataTransfer as _0x35070d}from'ckeditor5/src/engine.js';export default class n extends _0x2195a9{static get[_0x1bd8c4(0xa3)](){const _0x58d51c=_0x1bd8c4;return _0x58d51c(0xc6);}static get[_0x1bd8c4(0xca)](){return!0x0;}static get[_0x1bd8c4(0x8e)](){return!0x0;}static get[_0x1bd8c4(0xf6)](){return[_0x4ffa91,_0x24ab40,_0x174215,_0x8b8295];}constructor(_0xed41e){const _0x431624=_0x1bd8c4;super(_0xed41e),this[_0x431624(0xdc)]='',_0xed41e[_0x431624(0xe4)][_0x431624(0x137)](_0x431624(0xe8),[_0x431624(0x10f),_0x431624(0xf9),_0x431624(0x113)]),_0xed41e[_0x431624(0xe4)][_0x431624(0x137)](_0x431624(0xed),''),_0xed41e[_0x431624(0xe4)][_0x431624(0x137)](_0x431624(0xb3),!0x0),this[_0x431624(0xdc)]=_0x431624(0x90)+(_0xed41e[_0x431624(0xe4)][_0x431624(0x10b)](_0x431624(0xb3))?_0x431624(0x120):'');}[_0x1bd8c4(0x12b)](){const _0x3c7f22=_0x1bd8c4,{editor:_0xc9e99f}=this;this[_0x3c7f22(0x11b)]=_0xc9e99f[_0x3c7f22(0xc5)][_0x3c7f22(0x10b)](_0x174215),this[_0x3c7f22(0xbd)]=_0xc9e99f[_0x3c7f22(0xc5)][_0x3c7f22(0x10b)](_0x8b8295),this[_0x3c7f22(0x129)]=null,this[_0x3c7f22(0x86)]=this[_0x3c7f22(0xd6)]();const _0x5c6f65=new _0x126695(_0xc9e99f,Array[_0x3c7f22(0xb2)](this[_0x3c7f22(0x86)][_0x3c7f22(0x89)]()));_0xc9e99f[_0x3c7f22(0x133)][_0x3c7f22(0x103)](_0x3c7f22(0x9a),_0x5c6f65),_0xc9e99f['ui'][_0x3c7f22(0xaa)][_0x3c7f22(0x103)](_0x3c7f22(0x121),_0x2dc2ab=>{const _0x8b911f=_0x3c7f22,_0x30a881=_0x4fb7af(_0x2dc2ab);return _0x30a881[_0x8b911f(0xe6)]({'class':_0x8b911f(0xb1)+this[_0x8b911f(0xdc)]}),_0x30a881[_0x8b911f(0x88)][_0x8b911f(0xe6)]({'label':_0x2d7301(_0x2dc2ab,_0x8b911f(0xe3)),'icon':_0x87524d,'tooltip':!0x0}),_0x30a881['on'](_0x8b911f(0xa7),_0x944e1d=>this[_0x8b911f(0xe2)](_0x944e1d[_0x8b911f(0x11c)]['id'])),_0x225fb1(_0x30a881,_0xc9e99f['ui'][_0x8b911f(0xde)][_0x8b911f(0xfa)],function(_0xdb3715){const _0x30a7ae=_0x8b911f,_0x3a7240=_0x5555c7(_0xdb3715[_0x30a7ae(0xe4)][_0x30a7ae(0x10b)](_0x30a7ae(0x106)),_0xdb3715[_0x30a7ae(0xcc)]),_0xa1ca9=U(_0xdb3715,_0x3a7240)[_0x30a7ae(0x117)](_0xc65f84=>_0xc65f84[_0x30a7ae(0x133)][_0x30a7ae(0x125)]);if(0x1===_0xa1ca9[_0x30a7ae(0x125)])return U(_0xdb3715,_0xa1ca9[0x0][_0x30a7ae(0x133)])[_0x30a7ae(0xb0)](_0x2bb78f=>({'id':_0x2bb78f['id'],'label':_0x2bb78f[_0x30a7ae(0x119)]}));return _0xa1ca9[_0x30a7ae(0xb0)](_0x20c45f=>{const _0x5262c4=_0x30a7ae,{groupId:_0x4fd798,groupLabel:_0x28f8db,commands:_0x1a4dbf}=_0x20c45f,_0x50bd9c=U(_0xdb3715,_0x1a4dbf)[_0x5262c4(0xb0)](_0x19ada7=>({'id':_0x19ada7['id'],'label':_0x19ada7[_0x5262c4(0x119)]}));return{'id':_0x4fd798,'menu':_0x28f8db||_0x4fd798,'children':_0x50bd9c};});}(_0xc9e99f),{'ariaLabel':_0x2d7301(_0x2dc2ab,_0x8b911f(0xe3))}),_0x30a881[_0x8b911f(0x10a)][_0x8b911f(0x122)]=_0x8b911f(0xb1)+this[_0x8b911f(0xdc)],_0x5c6f65['on'](_0x8b911f(0xc7),_0x888576),_0x30a881[_0x8b911f(0x10a)][_0x8b911f(0xf5)](_0x8b911f(0xf2),_0x888576),_0x30a881;function _0x888576(){const _0x33ee34=_0x8b911f;_0x30a881[_0x33ee34(0xfe)]=_0x5c6f65[_0x33ee34(0xcf)][_0x33ee34(0x125)]>0x0;for(const _0x267922 of _0x30a881[_0x33ee34(0x10a)][_0x33ee34(0xc4)])_0x267922[_0x33ee34(0xfe)]=_0x5c6f65[_0x33ee34(0xcf)][_0x33ee34(0x11f)](_0x267922['id']);}}),_0xc9e99f['ui'][_0x3c7f22(0xaa)][_0x3c7f22(0x103)](_0x3c7f22(0xb5),_0x4f2a79=>{const _0x2598a4=_0x3c7f22,_0x39d47a=new _0x4984cf(_0x4f2a79);_0x39d47a[_0x2598a4(0x88)][_0x2598a4(0xe6)]({'label':_0x2d7301(_0x4f2a79,_0x2598a4(0xe3)),'icon':_0x87524d}),_0x39d47a[_0x2598a4(0x11d)](_0x2598a4(0xfe))['to'](_0x5c6f65,_0x2598a4(0xcf),_0x19561d=>_0x19561d[_0x2598a4(0x125)]>0x0);const _0x4b231f=_0x5555c7(_0xc9e99f[_0x2598a4(0xe4)][_0x2598a4(0x10b)](_0x2598a4(0x106)),_0x4f2a79);return this[_0x2598a4(0xb8)](_0x5c6f65,_0x39d47a,_0x4b231f,_0x1dc8e1=>this[_0x2598a4(0xe2)](_0x1dc8e1)),_0x39d47a;}),_0xc9e99f['ui'][_0x3c7f22(0xaa)][_0x3c7f22(0x103)](_0x3c7f22(0xab),()=>{const _0x1612aa=_0x3c7f22,_0x49d8f9=this[_0x1612aa(0x132)](_0x163ea5);return _0x49d8f9[_0x1612aa(0xe6)]({'tooltip':!0x0,'class':_0x1612aa(0x115)+this[_0x1612aa(0xdc)]}),_0x49d8f9;}),_0xc9e99f['ui'][_0x3c7f22(0xaa)][_0x3c7f22(0x103)](_0x3c7f22(0x105),()=>{const _0x2305b0=_0x3c7f22,_0x33e9a1=this[_0x2305b0(0x132)](_0x12610d);return _0x33e9a1[_0x2305b0(0xe6)]({'role':_0x2305b0(0x131)}),_0x33e9a1;}),this[_0x3c7f22(0xea)]=this[_0x3c7f22(0xae)][_0x3c7f22(0xe4)][_0x3c7f22(0x10b)](_0x3c7f22(0xea));const _0xfd8039=this[_0x3c7f22(0xae)];this[_0x3c7f22(0x116)]=setInterval(()=>{const _0x18a440=_0x3c7f22;let _0x5373e0;for(const _0x26577a in _0xfd8039){const _0x559a66=_0x26577a,_0x1a5697=_0xfd8039[_0x559a66];if(_0x18a440(0x10d)==_0x1a5697||_0x18a440(0xac)==_0x1a5697||_0x18a440(0x11a)==_0x1a5697||_0x18a440(0xb6)==_0x1a5697||_0x18a440(0xba)==_0x1a5697||_0x18a440(0xcb)==_0x1a5697||_0x18a440(0x109)==_0x1a5697||_0x18a440(0x98)==_0x1a5697){delete _0xfd8039[_0x559a66],_0x5373e0=_0x1a5697,clearInterval(this[_0x18a440(0x116)]),this[_0x18a440(0x116)]=void 0x0;break;}}_0x18a440(0xac)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0x128)),_0x18a440(0x11a)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0xf1)),_0x18a440(0xb6)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0xff)),_0x18a440(0xba)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0x9b),_0x18a440(0x91)),_0x18a440(0xcb)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0xd5)),_0x18a440(0x109)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0x127)),_0x18a440(0x98)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0x9d));},0x3e8);}[_0x1bd8c4(0xf0)](){const _0x35f920=_0x1bd8c4;super[_0x35f920(0xf0)](),this[_0x35f920(0x116)]&&clearInterval(this[_0x35f920(0x116)]);}[_0x1bd8c4(0x124)](_0x4bc067='',_0x52d321='',_0x3a0495=_0x1bd8c4(0xd0)){const _0x3856e4=_0x1bd8c4,_0x41a50f=this[_0x3856e4(0xae)],_0x4c5511=_0x41a50f[_0x3856e4(0xcd)][_0x3856e4(0xde)],_0x17e750=_0x41a50f[_0x3856e4(0xc5)][_0x3856e4(0x10b)](_0x24ab40),_0x31b10c=_0x41a50f[_0x3856e4(0xc5)][_0x3856e4(0x10b)](_0x4ffa91);_0x17e750[_0x3856e4(0xf3)]();const _0x3bba25=new w(),_0xe0ca01=new ClipboardEvent(_0x3856e4(0xce),{'clipboardData':_0x3bba25}),_0x374a5e=new _0x35070d(_0x3bba25),_0x32936f=new _0x29230c(_0x4c5511,_0xe0ca01,{'dataTransfer':_0x374a5e});_0x31b10c[_0x3856e4(0x123)](_0x3856e4(0xd8),()=>{const _0x545ecd=_0x3856e4;_0x4c5511[_0x545ecd(0xee)][_0x545ecd(0xa4)](_0x545ecd(0xce),_0x32936f);}),this[_0x3856e4(0x129)]||(this[_0x3856e4(0x12c)](),this[_0x3856e4(0xa6)]=new _0x2e92bf(_0x41a50f,this[_0x3856e4(0x11b)][_0x3856e4(0x8a)],this[_0x3856e4(0x129)]));let _0x23579c=_0x374a5e[_0x3856e4(0xc9)](_0x3856e4(0x95));const _0x4ecba9=_0x41a50f[_0x3856e4(0xe0)][_0x3856e4(0xee)][_0x3856e4(0xd1)],_0x591e2c=Array[_0x3856e4(0xb2)](_0x4ecba9[_0x3856e4(0xfc)]());0x1===_0x591e2c[_0x3856e4(0x125)]&&_0x591e2c[0x0][_0x3856e4(0xa2)]&&!_0x4ecba9[_0x3856e4(0xa0)]()&&''!==_0x23579c[_0x3856e4(0xb9)](/ /g,'')[_0x3856e4(0x102)]()&&(_0x23579c=_0x3856e4(0x94)+_0x23579c+_0x3856e4(0x118)),this[_0x3856e4(0xa6)][_0x3856e4(0x12e)]({'actionId':_0x3a0495,'query':_0x4bc067,'htmlContent':_0x23579c,'label':_0x52d321,'mainActionLabel':_0x216d0b[_0x41a50f[_0x3856e4(0xe0)][_0x3856e4(0xee)][_0x3856e4(0xd1)][_0x3856e4(0x111)]?_0x3856e4(0xa1):_0x3856e4(0xe1)]}),_0x3856e4(0xab)!==this[_0x3856e4(0xbd)]['id']?this[_0x3856e4(0xbd)][_0x3856e4(0xda)]({'id':_0x3856e4(0xab),'icon':_0x4d7bd2[_0x3856e4(0x101)],'title':_0x2d7301(this[_0x3856e4(0xae)][_0x3856e4(0xcc)],_0x3856e4(0xbf)),'content':this[_0x3856e4(0x129)],'position':_0x440e6c[_0x3856e4(0xe7)],'onShow':()=>{const _0x3bbf77=_0x3856e4;this[_0x3bbf77(0x129)][_0x3bbf77(0x93)]();},'onHide':()=>{const _0x42ab71=_0x3856e4;this[_0x42ab71(0xa6)][_0x42ab71(0xc8)](),_0x17e750[_0x42ab71(0x108)]();}}):this[_0x3856e4(0xbd)][_0x3856e4(0xde)][_0x3856e4(0xaf)]||this[_0x3856e4(0xbd)][_0x3856e4(0xde)][_0x3856e4(0x96)]();}[_0x1bd8c4(0xec)](){const _0x31c2e3=_0x1bd8c4;this[_0x31c2e3(0xbd)][_0x31c2e3(0xc1)]();}[_0x1bd8c4(0xd6)](){const _0x4b559d=_0x1bd8c4,_0x5b6fa0=new Map(),_0x592f06=_0x5555c7(this[_0x4b559d(0xae)][_0x4b559d(0xe4)][_0x4b559d(0x10b)](_0x4b559d(0x106)),this[_0x4b559d(0xae)][_0x4b559d(0xcc)]);for(const _0x89f8ba of _0x592f06)for(const _0x2df792 of _0x89f8ba[_0x4b559d(0x133)])_0x5b6fa0[_0x4b559d(0xe6)](_0x2df792['id'],{..._0x2df792,'groupId':_0x89f8ba[_0x4b559d(0xc2)],'groupLabel':_0x89f8ba[_0x4b559d(0xa5)]||_0x89f8ba[_0x4b559d(0xc2)]});return _0x5b6fa0;}[_0x1bd8c4(0x132)](_0x5d1011){const _0x10935b=_0x1bd8c4,_0x3375f5=this[_0x10935b(0xae)],_0x185c09=_0x3375f5[_0x10935b(0x133)][_0x10935b(0x10b)](_0x10935b(0x9a)),_0x52005c=new _0x5d1011(_0x3375f5[_0x10935b(0xcc)]);return _0x52005c[_0x10935b(0xe6)]({'label':_0x2d7301(_0x3375f5[_0x10935b(0xcc)],_0x10935b(0xbf)),'icon':_0x4d7bd2[_0x10935b(0x101)],'isToggleable':!0x0}),_0x52005c[_0x10935b(0x11d)](_0x10935b(0xfe))['to'](_0x185c09),_0x52005c[_0x10935b(0x11d)](_0x10935b(0x136))['to'](this[_0x10935b(0xbd)],'id',_0x44ea5b=>_0x10935b(0xab)===_0x44ea5b),this[_0x10935b(0xeb)](_0x52005c,_0x10935b(0xa7),()=>{const _0x2f48c1=_0x10935b;_0x52005c[_0x2f48c1(0x136)]?this[_0x2f48c1(0xec)]():_0x185c09[_0x2f48c1(0xa7)]();}),_0x52005c;}[_0x1bd8c4(0x12c)](){const _0x4c0fd4=_0x1bd8c4,_0xe77f5e=this[_0x4c0fd4(0xae)][_0x4c0fd4(0xc5)][_0x4c0fd4(0x10b)](_0x24ab40);this[_0x4c0fd4(0x129)]=new _0x703e31(this[_0x4c0fd4(0xae)][_0x4c0fd4(0xcc)],this[_0x4c0fd4(0xdc)],this[_0x4c0fd4(0xae)][_0x4c0fd4(0xe4)][_0x4c0fd4(0x10b)](_0x4c0fd4(0xed))),this[_0x4c0fd4(0x129)]['on'](_0x4c0fd4(0x9e),()=>{const _0x211c6f=_0x4c0fd4;this[_0x211c6f(0xbd)][_0x211c6f(0xde)][_0x211c6f(0xaf)]||this[_0x211c6f(0xbd)][_0x211c6f(0xde)][_0x211c6f(0x96)]();}),this[_0x4c0fd4(0x129)][_0x4c0fd4(0xb7)][_0x4c0fd4(0x8f)][_0x4c0fd4(0xc0)]['on'](_0x4c0fd4(0xad),()=>{const _0x5e39dd=_0x4c0fd4;this[_0x5e39dd(0xbd)][_0x5e39dd(0xde)][_0x5e39dd(0xaf)]||this[_0x5e39dd(0xbd)][_0x5e39dd(0xde)][_0x5e39dd(0x96)]();}),this[_0x4c0fd4(0xeb)](this[_0x4c0fd4(0x129)],_0x4c0fd4(0x135),()=>{const _0x14c5f7=_0x4c0fd4;_0xe77f5e[_0x14c5f7(0xfb)](this[_0x14c5f7(0xa6)][_0x14c5f7(0x12a)]),this[_0x14c5f7(0xec)]();}),this[_0x4c0fd4(0xeb)](this[_0x4c0fd4(0x129)],_0x4c0fd4(0xbe),()=>{const _0x2f381f=_0x4c0fd4;_0xe77f5e[_0x2f381f(0xbe)](this[_0x2f381f(0xa6)][_0x2f381f(0x12a)]),this[_0x2f381f(0xec)]();}),this[_0x4c0fd4(0x107)]();}[_0x1bd8c4(0x107)](){const _0x1d3f81=_0x1bd8c4,{locale:_0xd7af1d,ui:{ariaLiveAnnouncer:_0x378af5}}=this[_0x1d3f81(0xae)];this[_0x1d3f81(0x129)][_0x1d3f81(0x9f)]['on'](_0x1d3f81(0x10e),(_0x2ab47f,_0x1d5d9a,_0x510abf)=>{const _0x5ac0b3=_0x1d3f81,_0x2a15ae=this[_0x5ac0b3(0xa6)][_0x5ac0b3(0x12a)];_0x510abf?_0x378af5[_0x5ac0b3(0x92)](_0x2d7301(_0xd7af1d,_0x5ac0b3(0x104))):_0x2a15ae&&_0x378af5[_0x5ac0b3(0x92)](_0x2d7301(_0xd7af1d,_0x5ac0b3(0x130),_0x2a15ae),{'politeness':_0x5ac0b3(0xa9),'isUnsafeHTML':!0x0});}),this[_0x1d3f81(0x129)]['on'](_0x1d3f81(0xd4),(_0x39b2c8,_0x5430de,_0x1fc60b)=>{const _0x342dd3=_0x1d3f81;if(_0x1fc60b){const _0x1f6b3c=this[_0x342dd3(0x129)][_0x342dd3(0x114)][_0x342dd3(0xb4)];_0x378af5[_0x342dd3(0x92)](_0x2d7301(_0xd7af1d,_0x342dd3(0xd3),_0x1f6b3c));}});}[_0x1bd8c4(0xe2)](_0x20e475){const _0x2b1a23=_0x1bd8c4,_0x453444=this[_0x2b1a23(0x86)][_0x2b1a23(0x10b)](_0x20e475),_0xe9ba6f=this[_0x2b1a23(0xae)],_0x203fa5=_0xe9ba6f[_0x2b1a23(0xe0)][_0x2b1a23(0xee)][_0x2b1a23(0xd1)],_0x2521e1=_0xe9ba6f[_0x2b1a23(0x133)][_0x2b1a23(0x10b)](_0x2b1a23(0x9a)),_0x26342a=_0xe9ba6f[_0x2b1a23(0xc5)][_0x2b1a23(0x10b)](_0x24ab40),_0xb594a6=''+(_0x453444[_0x2b1a23(0xc2)]!==_0x3486e1?_0x453444[_0x2b1a23(0xa5)]+':\x20':'')+_0x453444[_0x2b1a23(0x119)];if(!0x1!==_0x453444[_0x2b1a23(0x112)]&&_0x203fa5[_0x2b1a23(0x111)]){const _0x42e5fa=_0x29cd6f(_0x203fa5[_0x2b1a23(0xf8)]())||_0xe9ba6f[_0x2b1a23(0xe0)][_0x2b1a23(0x12f)][_0x2b1a23(0xdb)](_0x203fa5);_0xe9ba6f[_0x2b1a23(0xe0)][_0x2b1a23(0x100)](_0x23b376=>{const _0x41a632=_0x2b1a23;_0x23b376[_0x41a632(0xbc)](_0x42e5fa,'in');});}_0x26342a[_0x2b1a23(0xf3)](),_0x2521e1[_0x2b1a23(0xa7)](_0x453444[_0x2b1a23(0xc3)],_0xb594a6,_0x2b1a23(0x134)+_0x20e475);}[_0x1bd8c4(0xb8)](_0x7e0d0d,_0x28d850,_0x2b9a3d,_0x4af36c){const _0x5b911b=_0x1bd8c4,_0x51be00=this[_0x5b911b(0xae)],_0x41e0f4=_0x51be00[_0x5b911b(0xcc)],_0x9103c=new _0x5ee5f7(_0x41e0f4),_0x5b1332=U(_0x51be00,_0x2b9a3d)[_0x5b911b(0x117)](_0x1c0ba1=>_0x1c0ba1[_0x5b911b(0x133)][_0x5b911b(0x125)]);0x1===_0x5b1332[_0x5b911b(0x125)]?this[_0x5b911b(0xfd)]({'command':_0x7e0d0d,'commands':_0x5b1332[0x0][_0x5b911b(0x133)],'parentMenuView':_0x28d850,'onExecute':_0x4af36c})[_0x5b911b(0x99)](_0x1c0bf4=>_0x9103c[_0x5b911b(0xe5)][_0x5b911b(0x103)](_0x1c0bf4)):_0x5b1332[_0x5b911b(0x99)](({groupId:_0x31fad1,groupLabel:_0x3dc2c7,commands:_0x45c336})=>{const _0x2f3cd4=_0x5b911b,_0x31f6cf=new _0x32760d(_0x41e0f4,_0x28d850),_0x4effba=new _0x4984cf(_0x41e0f4),_0x4fa65c=new _0x5ee5f7(_0x41e0f4),_0x1b897e=this[_0x2f3cd4(0xfd)]({'command':_0x7e0d0d,'commands':_0x45c336,'parentMenuView':_0x4effba,'onExecute':_0x4af36c});_0x4effba[_0x2f3cd4(0x88)][_0x2f3cd4(0xe6)]({'label':_0x3dc2c7||_0x31fad1}),_0x4effba[_0x2f3cd4(0xef)](_0x2f3cd4(0xa7))['to'](_0x28d850),_0x4fa65c[_0x2f3cd4(0xe5)][_0x2f3cd4(0x97)](_0x1b897e),_0x4effba[_0x2f3cd4(0xd9)][_0x2f3cd4(0x12d)][_0x2f3cd4(0x103)](_0x4fa65c),_0x31f6cf[_0x2f3cd4(0x12d)][_0x2f3cd4(0x103)](_0x4effba),_0x9103c[_0x2f3cd4(0xe5)][_0x2f3cd4(0x103)](_0x31f6cf);}),_0x28d850[_0x5b911b(0xd9)][_0x5b911b(0x12d)][_0x5b911b(0x103)](_0x9103c);}[_0x1bd8c4(0xfd)]({command:_0x4d4de6,commands:_0x65cd2,parentMenuView:_0x51238a,onExecute:_0x39bbb9}){const _0x13a345=_0x1bd8c4,_0x1ab17c=this[_0x13a345(0xae)],_0x20d1e8=_0x1ab17c[_0x13a345(0xcc)];return U(_0x1ab17c,_0x65cd2)[_0x13a345(0xb0)](_0x37741a=>{const _0x5ce946=_0x13a345,_0x217c0a=new _0x32760d(_0x20d1e8,_0x51238a),_0x4574bc=new _0x12610d(_0x20d1e8);return _0x4574bc[_0x5ce946(0xe6)]({'label':_0x37741a[_0x5ce946(0x119)]}),_0x4574bc[_0x5ce946(0xef)](_0x5ce946(0xa7))['to'](_0x51238a),_0x4574bc['on'](_0x5ce946(0xa7),()=>_0x39bbb9(_0x37741a['id'])),_0x4574bc[_0x5ce946(0x11d)](_0x5ce946(0xfe))['to'](_0x4d4de6,_0x5ce946(0xcf),_0x25272d=>_0x25272d[_0x5ce946(0x11f)](_0x37741a['id'])),_0x217c0a[_0x5ce946(0x12d)][_0x5ce946(0x103)](_0x4574bc),_0x217c0a;});}}function B(_0x1e24c4,_0x5174d1){const _0x18dd24=_0x1bd8c4;return void 0x0!==_0x1e24c4[_0x18dd24(0xf4)]&&void 0x0===_0x5174d1[_0x18dd24(0xf4)]?0x1:void 0x0===_0x1e24c4[_0x18dd24(0xf4)]&&void 0x0!==_0x5174d1[_0x18dd24(0xf4)]?-0x1:void 0x0!==_0x1e24c4[_0x18dd24(0xf4)]&&void 0x0!==_0x5174d1[_0x18dd24(0xf4)]?_0x1e24c4[_0x18dd24(0xf4)]-_0x5174d1[_0x18dd24(0xf4)]:0x0;}function _0x3c33(_0x103d38,_0x5caca3){const _0x3b4903=_0x3b49();return _0x3c33=function(_0x3c33db,_0x2276cd){_0x3c33db=_0x3c33db-0x86;let _0x22ee8f=_0x3b4903[_0x3c33db];return _0x22ee8f;},_0x3c33(_0x103d38,_0x5caca3);}function U(_0x1f1905,_0x585f59){const _0x598f01=_0x1bd8c4;_0x585f59[_0x598f01(0x8b)](B);const _0x3f9077={},_0x544b6d=[];for(const _0xbdc032 of _0x585f59)if(void 0x0!==_0xbdc032[_0x598f01(0xf4)]){if(_0xbdc032[_0x598f01(0xf4)]in _0x3f9077)throw new _0xb211e(_0x598f01(0xf7),_0x1f1905,{'conflictingDefinitions':[_0xbdc032,_0x3f9077[_0xbdc032[_0x598f01(0xf4)]]]});_0x3f9077[_0xbdc032[_0x598f01(0xf4)]]=_0xbdc032,_0x544b6d[_0x598f01(0x110)](_0xbdc032[_0x598f01(0xf4)],0x0,_0xbdc032);}else _0x544b6d[_0x598f01(0xd2)](_0xbdc032);return _0x544b6d;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x395e(){var _0x3f6348=['100140JkMxMx','83279ZxPSZg','81745SgTWdt','6yTFzda','646583jEXird','3354888msVVnq','519288QboZvM','771555vTtYHl'];_0x395e=function(){return _0x3f6348;};return _0x395e();}(function(_0xc2e0cd,_0x338120){var _0x4f63da=_0x5146,_0x28a43f=_0xc2e0cd();while(!![]){try{var _0x5dbe68=-parseInt(_0x4f63da(0xd7))/0x1+parseInt(_0x4f63da(0xd6))/0x2+-parseInt(_0x4f63da(0xdd))/0x3+parseInt(_0x4f63da(0xdc))/0x4+parseInt(_0x4f63da(0xd8))/0x5*(-parseInt(_0x4f63da(0xd9))/0x6)+-parseInt(_0x4f63da(0xda))/0x7+parseInt(_0x4f63da(0xdb))/0x8;if(_0x5dbe68===_0x338120)break;else _0x28a43f['push'](_0x28a43f['shift']());}catch(_0x35283c){_0x28a43f['push'](_0x28a43f['shift']());}}}(_0x395e,0x24a37));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x5146(_0x2578b3,_0x22496c){var _0x395eb8=_0x395e();return _0x5146=function(_0x5146b8,_0x17f5af){_0x5146b8=_0x5146b8-0xd6;var _0x37df45=_0x395eb8[_0x5146b8];return _0x37df45;},_0x5146(_0x2578b3,_0x22496c);}import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x8a56(_0x1ad789,_0x48eb47){var _0x3dfe12=_0x3dfe();return _0x8a56=function(_0x8a5634,_0x26e439){_0x8a5634=_0x8a5634-0xcc;var _0x2d24d2=_0x3dfe12[_0x8a5634];return _0x2d24d2;},_0x8a56(_0x1ad789,_0x48eb47);}(function(_0x5481ae,_0x186623){var _0x4ee7d7=_0x8a56,_0x288918=_0x5481ae();while(!![]){try{var _0x31ef6b=-parseInt(_0x4ee7d7(0xd5))/0x1+-parseInt(_0x4ee7d7(0xd3))/0x2*(-parseInt(_0x4ee7d7(0xcf))/0x3)+-parseInt(_0x4ee7d7(0xd2))/0x4*(parseInt(_0x4ee7d7(0xd0))/0x5)+parseInt(_0x4ee7d7(0xd1))/0x6*(-parseInt(_0x4ee7d7(0xd4))/0x7)+parseInt(_0x4ee7d7(0xcc))/0x8+-parseInt(_0x4ee7d7(0xcd))/0x9+parseInt(_0x4ee7d7(0xce))/0xa;if(_0x31ef6b===_0x186623)break;else _0x288918['push'](_0x288918['shift']());}catch(_0x2b3115){_0x288918['push'](_0x288918['shift']());}}}(_0x3dfe,0x607f8));import{CKEditorError as _0x2be5b3}from'ckeditor5/src/utils.js';function _0x3dfe(){var _0xf2c1fb=['1715484zKAoCj','10oJTnJd','297444IcYaAb','80850EleJGl','4673224QXyjqE','441288YmXbSA','2704590aFnHes','161619WKhzsb','5wzYOnV','24AhUahT'];_0x3dfe=function(){return _0xf2c1fb;};return _0x3dfe();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x13394d=_0x53dc;function _0x53dc(_0x313a7c,_0x1822aa){const _0x1ab746=_0x1ab7();return _0x53dc=function(_0x53dc30,_0x5c1578){_0x53dc30=_0x53dc30-0x1e4;let _0x58028f=_0x1ab746[_0x53dc30];return _0x58028f;},_0x53dc(_0x313a7c,_0x1822aa);}(function(_0x55b970,_0x352053){const _0x386f1c=_0x53dc,_0x59048e=_0x55b970();while(!![]){try{const _0x179c54=parseInt(_0x386f1c(0x206))/0x1+-parseInt(_0x386f1c(0x240))/0x2*(parseInt(_0x386f1c(0x209))/0x3)+-parseInt(_0x386f1c(0x225))/0x4+-parseInt(_0x386f1c(0x23b))/0x5+parseInt(_0x386f1c(0x1f0))/0x6+parseInt(_0x386f1c(0x1eb))/0x7*(-parseInt(_0x386f1c(0x212))/0x8)+parseInt(_0x386f1c(0x1f9))/0x9;if(_0x179c54===_0x352053)break;else _0x59048e['push'](_0x59048e['shift']());}catch(_0x58e342){_0x59048e['push'](_0x59048e['shift']());}}}(_0x1ab7,0x65575));import{ObservableMixin as _0x59448b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4b3eb8}from'../adapters/aiadapter.js';import{Matcher as _0x1330c2,UpcastWriter as _0x2495b8}from'ckeditor5/src/engine.js';function _0x1ab7(){const _0x48be3e=['body','text/html','1711535BmThvx','trim','makeRequest','abort','then','4424532VYdpwB','startProcessing','push','initialContext','createElement','length','listenTo','name','mainAction','7206219LRnNmq','endsWith','textAdapter','previousContext','match','_handleQuery','submitPrompt','htmlProcessor','ai.aiAssistant.preserveComments','previousQuery','editing','toView','rename','734615nFyJLL','handleError','prompt','1152201eWOvmc','```html','remove','setContentOf','destroy','_domParser','ELEMENT_NODE','element','custom','16sGTLeT','render','_isH1TagSupportEnabled','substring','nodeType','reverse','get','isProcessing','domConverter','parseFromString','from','_sanitizeHTML','data','startsWith','finishProcessing','div','_xmlSerializer','clear','serializeToString','1337284JbARvX','config','tryAgainEvent','value','<h1></h1>','childNodes','editor','finally','```','document','view','set:currentContext','_stripMarkdownSyntax','isRendered','stringify','_parseAndNormalizeContent','once','_sanitizationContainer','reset','innerHTML','currentContext','currentResponse','1330850ZUsZoL','viewToDom','stopProcessing','previousActionId','catch','4wUyVoo','markers','exec','set','stopListening','_normalizeResponseHeadings','querySelector','toModel','processor','updateView','previousLabel','message'];_0x1ab7=function(){return _0x48be3e;};return _0x1ab7();}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x59448b(){constructor(_0x1f5507,_0x1763cc,_0x4b83ed){const _0x38d0fb=_0x53dc;super(),this[_0x38d0fb(0x22b)]=_0x1f5507,this[_0x38d0fb(0x1fb)]=_0x1763cc,this[_0x38d0fb(0x236)]=document[_0x38d0fb(0x1f4)](_0x38d0fb(0x221)),this[_0x38d0fb(0x20e)]=new DOMParser(),this[_0x38d0fb(0x222)]=new XMLSerializer(),this[_0x38d0fb(0x22f)]=_0x4b83ed,this[_0x38d0fb(0x243)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x38d0fb(0x230),(_0xe82b6e,_0x28f24e,_0x10931e)=>{const _0x107d32=_0x38d0fb;this[_0x107d32(0x22f)][_0x107d32(0x228)]=this[_0x107d32(0x21d)](_0x10931e);}),this[_0x38d0fb(0x1f6)](this[_0x38d0fb(0x22f)],_0x38d0fb(0x1ff),(_0x1ae4df,_0x3bdd1a)=>{const _0xce9d2a=_0x38d0fb,_0x176c3a=this[_0xce9d2a(0x239)]||this[_0xce9d2a(0x1f3)];this[_0xce9d2a(0x1fe)](_0x3bdd1a,_0x176c3a,_0xce9d2a(0x211));}),this[_0x38d0fb(0x1f6)](this[_0x38d0fb(0x22f)],_0x38d0fb(0x227),()=>{const _0x102e1a=_0x38d0fb;this[_0x102e1a(0x22f)][_0x102e1a(0x208)]=this[_0x102e1a(0x1e7)],this[_0x102e1a(0x1fe)](this[_0x102e1a(0x202)],this[_0x102e1a(0x1fc)],this[_0x102e1a(0x23e)],this[_0x102e1a(0x1e7)]);}),this[_0x38d0fb(0x1f6)](this[_0x38d0fb(0x22f)],_0x38d0fb(0x23d),()=>{const _0x58d295=_0x38d0fb;this[_0x58d295(0x23d)]();});}[_0x13394d(0x20d)](){const _0x230c7e=_0x13394d;this[_0x230c7e(0x244)]();}async[_0x13394d(0x1e6)]({actionId:_0x245ffc,query:_0x42688a,htmlContent:_0x24fef1,label:_0x1287b3,mainActionLabel:_0x3ec6ad}){const _0x660b51=_0x13394d;this[_0x660b51(0x22f)][_0x660b51(0x208)]=_0x1287b3,this[_0x660b51(0x22f)][_0x660b51(0x1f8)]=_0x3ec6ad,this[_0x660b51(0x1f3)]=_0x24fef1,_0x42688a&&(this[_0x660b51(0x22f)][_0x660b51(0x232)]?this[_0x660b51(0x1fe)](_0x42688a,_0x24fef1,_0x245ffc,_0x1287b3):this[_0x660b51(0x22f)][_0x660b51(0x235)](_0x660b51(0x213),()=>{const _0x3ac6e5=_0x660b51;this[_0x3ac6e5(0x1fe)](_0x42688a,_0x24fef1,_0x245ffc,_0x1287b3);}));}[_0x13394d(0x23d)](){const _0x222910=_0x13394d;this[_0x222910(0x219)]&&(this[_0x222910(0x219)]=!0x1,this[_0x222910(0x22f)][_0x222910(0x220)](),this[_0x222910(0x1fb)][_0x222910(0x1ee)]());}[_0x13394d(0x237)](){const _0x104219=_0x13394d;this[_0x104219(0x1f3)]='',this[_0x104219(0x239)]='',this[_0x104219(0x23a)]='',this[_0x104219(0x1fc)]='',this[_0x104219(0x202)]='',this[_0x104219(0x1e7)]='',this[_0x104219(0x23e)]=void 0x0,this[_0x104219(0x22f)][_0x104219(0x237)](),this[_0x104219(0x23d)]();}async[_0x13394d(0x1fe)](_0x1a0845,_0x1e3975,_0x3fa1ab,_0x3f802d){const _0x4004b9=_0x13394d;return this[_0x4004b9(0x219)]=!0x0,this[_0x4004b9(0x22f)][_0x4004b9(0x1f1)](),this[_0x4004b9(0x1fc)]=_0x1e3975,this[_0x4004b9(0x202)]=_0x1a0845,this[_0x4004b9(0x1e7)]=_0x3f802d||_0x1a0845,this[_0x4004b9(0x23e)]=_0x3fa1ab,new Promise(_0x200d16=>{const _0x192ad0=_0x4004b9;this[_0x192ad0(0x1fb)][_0x192ad0(0x1ed)]({'query':_0x1a0845,'context':_0x1e3975,'onData':_0x5abc89=>{const _0x5cd591=_0x192ad0;this[_0x5cd591(0x23a)]=_0x5abc89,this[_0x5cd591(0x239)]=this[_0x5cd591(0x234)](this[_0x5cd591(0x23a)]);},'actionId':_0x3fa1ab})[_0x192ad0(0x1ef)](()=>{const _0x4c8ed6=_0x192ad0;!this[_0x4c8ed6(0x239)]&&this[_0x4c8ed6(0x23a)]&&(this[_0x4c8ed6(0x239)]=this[_0x4c8ed6(0x234)](this[_0x4c8ed6(0x23a)],!0x0));})[_0x192ad0(0x23f)](_0x24acee=>{const _0x1bf7bb=_0x192ad0;_0x24acee instanceof _0x4b3eb8?this[_0x1bf7bb(0x22f)][_0x1bf7bb(0x207)](_0x24acee[_0x1bf7bb(0x1e8)]):this[_0x1bf7bb(0x22f)][_0x1bf7bb(0x207)](),_0x200d16();})[_0x192ad0(0x22c)](()=>{const _0x123846=_0x192ad0;this[_0x123846(0x23d)](),_0x200d16();});});}[_0x13394d(0x234)](_0x3c9fa9,_0x3cd8db=!0x1){const _0x9accd7=_0x13394d,_0x2f40d7=Z[_0x9accd7(0x242)](_0x3c9fa9);_0x3c9fa9=_0x2f40d7?_0x3c9fa9[_0x9accd7(0x215)](_0x2f40d7[0x1][_0x9accd7(0x1f5)]):_0x3c9fa9[_0x9accd7(0x1f5)]<0x64&&!_0x3cd8db?'':this[_0x9accd7(0x231)](_0x3c9fa9);const _0x13f2b8=this[_0x9accd7(0x20e)][_0x9accd7(0x21b)](_0x3c9fa9,_0x9accd7(0x1ea));if(_0x2f40d7){const _0x565fed=Array[_0x9accd7(0x21c)](_0x13f2b8[_0x9accd7(0x1e9)][_0x9accd7(0x22a)]);_0x565fed[_0x9accd7(0x217)]();for(const _0x547242 of _0x565fed){if(_0x547242[_0x9accd7(0x216)]==Node[_0x9accd7(0x20f)])break;_0x547242[_0x9accd7(0x20b)]();}}const _0x5a946b=this[_0x9accd7(0x22b)][_0x9accd7(0x21e)][_0x9accd7(0x1e5)][_0x9accd7(0x204)](this[_0x9accd7(0x222)][_0x9accd7(0x224)](_0x13f2b8[_0x9accd7(0x1e9)]));this[_0x9accd7(0x214)]()||this[_0x9accd7(0x245)](_0x5a946b);const _0x5e7a99=this[_0x9accd7(0x22b)][_0x9accd7(0x226)][_0x9accd7(0x218)](_0x9accd7(0x201)),_0xf7820f=this[_0x9accd7(0x22b)][_0x9accd7(0x21e)][_0x9accd7(0x1e4)](_0x5a946b);return _0x5e7a99||_0xf7820f[_0x9accd7(0x241)][_0x9accd7(0x223)](),this[_0x9accd7(0x22b)][_0x9accd7(0x21e)][_0x9accd7(0x233)](_0xf7820f);}[_0x13394d(0x245)](_0x51ac3a){const _0x35c96c=_0x13394d,_0x46eebb=new _0x2495b8(this[_0x35c96c(0x22b)][_0x35c96c(0x203)][_0x35c96c(0x22f)][_0x35c96c(0x22e)]),_0x25f12d=new _0x1330c2({'name':/^h[1-5]$/}),_0x1cda0f=[];let _0xd1c904=!0x1;for(const _0x585c8d of _0x51ac3a)_0x585c8d['is'](_0x35c96c(0x210))&&_0x25f12d[_0x35c96c(0x1fd)](_0x585c8d)&&(_0x1cda0f[_0x35c96c(0x1f2)](_0x585c8d),'h1'==_0x585c8d[_0x35c96c(0x1f7)]&&(_0xd1c904=!0x0));if(_0xd1c904){for(const _0x1b994e of _0x1cda0f)_0x46eebb[_0x35c96c(0x205)]('h'+(parseInt(_0x1b994e[_0x35c96c(0x1f7)][0x1])+0x1),_0x1b994e);}}[_0x13394d(0x214)](){const _0x49b335=_0x13394d,{data:_0xb629,editing:_0x1f8137}=this[_0x49b335(0x22b)],_0x904631=_0xb629[_0x49b335(0x200)][_0x49b335(0x204)](_0x49b335(0x229)),_0xd4acf2=_0xb629[_0x49b335(0x204)](_0xb629[_0x49b335(0x1e4)](_0x904631));return!!_0x1f8137[_0x49b335(0x22f)][_0x49b335(0x21a)][_0x49b335(0x23c)](_0xd4acf2)[_0x49b335(0x246)]('h1');}[_0x13394d(0x21d)](_0x1b4536){const _0x2f748e=_0x13394d;return this[_0x2f748e(0x22b)][_0x2f748e(0x203)][_0x2f748e(0x22f)][_0x2f748e(0x21a)][_0x2f748e(0x20c)](this[_0x2f748e(0x236)],_0x1b4536),this[_0x2f748e(0x236)][_0x2f748e(0x238)];}[_0x13394d(0x231)](_0x5e6d04){const _0x373825=_0x13394d,_0x4af6f5=_0x5e6d04[_0x373825(0x1ec)]();return _0x4af6f5[_0x373825(0x21f)](_0x373825(0x20a))?_0x4af6f5[_0x373825(0x1fa)](_0x373825(0x22d))?_0x4af6f5[_0x373825(0x215)](0x7,_0x4af6f5[_0x373825(0x1f5)]-0x3):_0x4af6f5[_0x373825(0x215)](0x7):_0x5e6d04;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x36a3(){const _0x8a365d=['body','ck-content','.ck-ai-form__loader','Copy','bindTemplate','change:isProcessing','icon','3828300VrGjry','ck-ai-form__content-area','check','innerHTML','loaderView','smooth','isProcessing','isEnabled','class','setTemplate','removeAllRanges','<span>[</span>','_createLoader','left','remove','appendChild','bind','execute','value','7SOPEvf','setStartAfter','ck-ai-form__content-area-wrapper','setContent','1345658rtVnQJ','_copyHTMLToClipboard','set','querySelector','6472824XXnIxz','ck-ai-form__loader','copy','scrollHeight','clipboard','lastElementChild','createElement','render','execCommand','copyButtonView','<span>]</span>','firstElementChild','ck-hidden','addRange','1069419gpNnbF','5VvwKLI','absolute','20RcYoLM','position','wheel','element','textContent','listenTo','contentFieldView','ck-ai-form__content-field','text/html','6942384PAZWee','scrollTo','\x20ck-ai-form__copy-button--copied','ClipboardItem','div','13684158qcvUhR','style','ck-ai-form__content-area--processing','ck-ai-form__copy-button','mousedown','setEndBefore','locale','-9999px','focus','ck-reset_all-excluded','ck-ai-form__copy-button-wrapper','text/plain','change:value','_createCopyButton','write','createRange','4297293mvZcZE','appendLoader','AI\x20is\x20writing...','getSelection','isVisible'];_0x36a3=function(){return _0x8a365d;};return _0x36a3();}function _0x26fe(_0x206038,_0x54ff35){const _0x36a353=_0x36a3();return _0x26fe=function(_0x26fe74,_0x5f2243){_0x26fe74=_0x26fe74-0x71;let _0x58e154=_0x36a353[_0x26fe74];return _0x58e154;},_0x26fe(_0x206038,_0x54ff35);}const _0x245a40=_0x26fe;(function(_0x59e730,_0x2274db){const _0x563161=_0x26fe,_0x59f551=_0x59e730();while(!![]){try{const _0x50f4e6=-parseInt(_0x563161(0xaa))/0x1+parseInt(_0x563161(0x98))/0x2+-parseInt(_0x563161(0x75))/0x3+-parseInt(_0x563161(0xb6))/0x4*(parseInt(_0x563161(0xab))/0x5)+parseInt(_0x563161(0x81))/0x6+parseInt(_0x563161(0x94))/0x7*(parseInt(_0x563161(0x9c))/0x8)+-parseInt(_0x563161(0xbb))/0x9*(-parseInt(_0x563161(0xad))/0xa);if(_0x50f4e6===_0x2274db)break;else _0x59f551['push'](_0x59f551['shift']());}catch(_0x148956){_0x59f551['push'](_0x59f551['shift']());}}}(_0x36a3,0xe1744));import{global as _0x4474a0}from'ckeditor5/src/utils.js';import{View as _0x2e31b6,ButtonView as _0x172f4e,SpinnerView as _0x3bccd4}from'ckeditor5/src/ui.js';import _0x44bc7f from'../../../theme/icons/copy.svg';import{getTranslation as _0x5e1f0b}from'../../utils/common-translations.js';import{icons as _0x24dc35}from'ckeditor5/src/core.js';export default class X extends _0x2e31b6{constructor(_0x385177,_0x33ba4c=''){const _0x56ea13=_0x26fe;super(_0x385177),this[_0x56ea13(0x9a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x271b64=this[_0x56ea13(0x7e)];this[_0x56ea13(0xb3)]=new ContentFieldView(_0x385177,_0x33ba4c),this[_0x56ea13(0xa5)]=this[_0x56ea13(0x72)](),this[_0x56ea13(0x8a)]({'tag':_0x56ea13(0xba),'attributes':{'class':['ck',_0x56ea13(0x96),_0x271b64['if'](_0x56ea13(0x79),_0x56ea13(0xa8),_0x897674=>!_0x897674)],'tabindex':'-1'},'children':[{'tag':_0x56ea13(0xba),'attributes':{'class':['ck',_0x56ea13(0x82),_0x271b64['if'](_0x56ea13(0x87),_0x56ea13(0xbd))]},'children':[this[_0x56ea13(0xb3)],{'tag':_0x56ea13(0xba),'attributes':{'class':['ck',_0x56ea13(0xc5)]},'children':[this[_0x56ea13(0xa5)]]}]}]});}[_0x245a40(0xa3)](){const _0x41fc6d=_0x245a40;super[_0x41fc6d(0xa3)](),this[_0x41fc6d(0x93)]&&this[_0x41fc6d(0xb3)][_0x41fc6d(0x97)](this[_0x41fc6d(0x93)]);let _0x25c40b=!0x1;this['on'](_0x41fc6d(0x71),(_0x4990b2,_0x538106,_0x27733f)=>{const _0x44eb76=_0x41fc6d,_0x38d495=!this[_0x44eb76(0xb3)][_0x44eb76(0xb0)][_0x44eb76(0x9b)](_0x44eb76(0x7c));this[_0x44eb76(0xb3)][_0x44eb76(0x97)](_0x27733f),this[_0x44eb76(0x87)]&&_0x38d495&&!_0x25c40b&&this[_0x44eb76(0xb0)][_0x44eb76(0xb7)]({'top':this[_0x44eb76(0xb0)][_0x44eb76(0x9f)],'behavior':_0x44eb76(0x86)});}),this['on'](_0x41fc6d(0x7f),(_0x259025,_0x4fc1d5,_0xc5f51e)=>{const _0x5a445a=_0x41fc6d;_0x25c40b=!0x1,_0xc5f51e?(this[_0x5a445a(0x93)]=null,this[_0x5a445a(0xb3)][_0x5a445a(0x76)]()):this[_0x5a445a(0x93)]||this[_0x5a445a(0xb3)][_0x5a445a(0x97)]('');}),this[_0x41fc6d(0xb2)](this[_0x41fc6d(0xb0)],_0x41fc6d(0xaf),()=>{_0x25c40b=!0x0;}),this[_0x41fc6d(0xb2)](this[_0x41fc6d(0xb0)],_0x41fc6d(0xbf),()=>{_0x25c40b=!0x0;});}[_0x245a40(0xc3)](){const _0x54b88f=_0x245a40;this[_0x54b88f(0xb0)][_0x54b88f(0xc3)]();}[_0x245a40(0x72)](){const _0x5d5649=_0x245a40,_0x247306=this[_0x5d5649(0xc1)],_0x38b623=new _0x172f4e(this[_0x5d5649(0xc1)]),_0x33964b=_0x5d5649(0xbe);return _0x38b623[_0x5d5649(0x9a)]({'label':_0x5e1f0b(_0x247306,_0x5d5649(0x7d)),'icon':_0x44bc7f,'class':_0x33964b,'tooltip':!0x0}),_0x38b623[_0x5d5649(0x91)](_0x5d5649(0x79))['to'](this,_0x5d5649(0x93),_0x55b030=>!!_0x55b030),_0x38b623[_0x5d5649(0x91)](_0x5d5649(0x88))['to'](this,_0x5d5649(0x87),_0x4ea1b0=>!_0x4ea1b0),_0x38b623['on'](_0x5d5649(0x92),()=>{const _0x3adc5d=_0x5d5649;this[_0x3adc5d(0x99)](this[_0x3adc5d(0xb3)][_0x3adc5d(0xb0)]),_0x38b623[_0x3adc5d(0x80)]=_0x24dc35[_0x3adc5d(0x83)],_0x38b623[_0x3adc5d(0x89)]=_0x33964b+_0x3adc5d(0xb8),this[_0x3adc5d(0xc3)](),setTimeout(()=>{const _0x2bff85=_0x3adc5d;_0x38b623[_0x2bff85(0x80)]=_0x44bc7f,_0x38b623[_0x2bff85(0x89)]=_0x33964b;},0x3e8);}),_0x38b623;}[_0x245a40(0x99)](_0x24cd4d){const _0x44008c=_0x245a40,{window:_0x2b2690,document:_0x5556e0}=_0x4474a0;if(_0x2b2690[_0x44008c(0xb9)]){const {Blob:_0x3277ca,ClipboardItem:_0x25fe79}=_0x2b2690,_0x2775fd=[new _0x25fe79({'text/html':new _0x3277ca([_0x24cd4d[_0x44008c(0x84)]],{'type':_0x44008c(0xb5)}),'text/plain':new _0x3277ca([_0x24cd4d[_0x44008c(0xb1)]||''],{'type':_0x44008c(0xc6)})})];navigator[_0x44008c(0xa0)][_0x44008c(0x73)](_0x2775fd);}else{const _0x113106=_0x5556e0[_0x44008c(0xa2)](_0x44008c(0xba));_0x113106[_0x44008c(0xbc)][_0x44008c(0xae)]=_0x44008c(0xac),_0x113106[_0x44008c(0xbc)][_0x44008c(0x8e)]=_0x44008c(0xc2),_0x113106[_0x44008c(0x84)]=_0x44008c(0x8c)+_0x24cd4d[_0x44008c(0x84)]+_0x44008c(0xa6),_0x5556e0[_0x44008c(0x7a)][_0x44008c(0x90)](_0x113106);const _0x595800=_0x5556e0[_0x44008c(0x74)]();_0x595800[_0x44008c(0x95)](_0x113106[_0x44008c(0xa7)]),_0x595800[_0x44008c(0xc0)](_0x113106[_0x44008c(0xa1)]);const _0x816715=_0x2b2690[_0x44008c(0x78)]();_0x816715[_0x44008c(0x8b)](),_0x816715[_0x44008c(0xa9)](_0x595800),_0x5556e0[_0x44008c(0xa4)](_0x44008c(0x9e)),_0x113106[_0x44008c(0x8f)]();}}}export class ContentFieldView extends _0x2e31b6{constructor(_0x177928,_0x541fa2=''){const _0x51b20f=_0x245a40;super(_0x177928),this[_0x51b20f(0x85)]=this[_0x51b20f(0x8d)](),this[_0x51b20f(0x8a)]({'tag':_0x51b20f(0xba),'attributes':{'class':['ck',_0x51b20f(0x7b),_0x541fa2,_0x51b20f(0xc4),_0x51b20f(0xb4)]}});}[_0x245a40(0x97)](_0xac45eb){const _0x1fb813=_0x245a40;this[_0x1fb813(0xb0)][_0x1fb813(0x84)]=_0xac45eb;}[_0x245a40(0x76)](){const _0x5ceaca=_0x245a40;this[_0x5ceaca(0xb0)][_0x5ceaca(0x90)](this[_0x5ceaca(0x85)][_0x5ceaca(0xb0)]);}[_0x245a40(0x8d)](){const _0x51d82a=_0x245a40,_0x133923=new _0x2e31b6(),_0x55c4d0=this[_0x51d82a(0xc1)],_0x3ace2e=new _0x3bccd4();return _0x3ace2e[_0x51d82a(0x79)]=!0x0,_0x133923[_0x51d82a(0x8a)]({'tag':_0x51d82a(0xba),'attributes':{'class':['ck',_0x51d82a(0x9d)]},'children':[_0x3ace2e,{'text':_0x5e1f0b(_0x55c4d0,_0x51d82a(0x77))}]}),_0x133923[_0x51d82a(0xa3)](),_0x133923;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x16a877,_0x51d210){const _0x1b070f=_0xcc78,_0x447440=_0x16a877();while(!![]){try{const _0x97af0=-parseInt(_0x1b070f(0xe9))/0x1*(parseInt(_0x1b070f(0xee))/0x2)+parseInt(_0x1b070f(0xe1))/0x3*(parseInt(_0x1b070f(0xde))/0x4)+parseInt(_0x1b070f(0xed))/0x5+-parseInt(_0x1b070f(0xeb))/0x6*(parseInt(_0x1b070f(0xe4))/0x7)+parseInt(_0x1b070f(0xe2))/0x8+-parseInt(_0x1b070f(0xe8))/0x9*(parseInt(_0x1b070f(0xe6))/0xa)+parseInt(_0x1b070f(0xe7))/0xb;if(_0x97af0===_0x51d210)break;else _0x447440['push'](_0x447440['shift']());}catch(_0x3a1950){_0x447440['push'](_0x447440['shift']());}}}(_0x1203,0x770b7));function _0xcc78(_0x316e65,_0x333979){const _0x120372=_0x1203();return _0xcc78=function(_0xcc7835,_0x11b5ed){_0xcc7835=_0xcc7835-0xdd;let _0x31ff35=_0x120372[_0xcc7835];return _0x31ff35;},_0xcc78(_0x316e65,_0x333979);}import{View as _0x4a53c5,IconView as _0x58944f}from'ckeditor5/src/ui.js';import _0x4ce2e0 from'../../../theme/icons/error.svg';function _0x1203(){const _0x364a57=['15333538qTzQSo','7395534eJhwtU','1ofkACG','text','84nxlOQP','set','4574830VvOJCY','1576338xAfutM','div','2676yzdQWb','ck-ai-form__error','content','1317mvEbWv','1691144USSgaL','setTemplate','358253yQJsqj','bindTemplate','10BIQZgc'];_0x1203=function(){return _0x364a57;};return _0x1203();}export default class rt extends _0x4a53c5{constructor(_0x52f9bb,_0x1a3d53=''){const _0x40ab01=_0xcc78;super(_0x52f9bb);const _0x11b234=new _0x58944f(),_0x59c5ba=this[_0x40ab01(0xe5)];this[_0x40ab01(0xec)](_0x40ab01(0xea),_0x1a3d53),_0x11b234[_0x40ab01(0xe0)]=_0x4ce2e0,this[_0x40ab01(0xe3)]({'tag':_0x40ab01(0xdd),'attributes':{'class':['ck',_0x40ab01(0xdf)]},'children':[_0x11b234,{'text':_0x59c5ba['to'](_0x40ab01(0xea))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1928a6=_0xfe4f;(function(_0x2dc1bc,_0x3d32e1){const _0x170cc6=_0xfe4f,_0x472be7=_0x2dc1bc();while(!![]){try{const _0x99686e=-parseInt(_0x170cc6(0x113))/0x1+-parseInt(_0x170cc6(0xeb))/0x2+-parseInt(_0x170cc6(0x119))/0x3+-parseInt(_0x170cc6(0x10b))/0x4*(-parseInt(_0x170cc6(0xff))/0x5)+-parseInt(_0x170cc6(0x118))/0x6*(-parseInt(_0x170cc6(0x109))/0x7)+-parseInt(_0x170cc6(0xf8))/0x8*(parseInt(_0x170cc6(0x10a))/0x9)+parseInt(_0x170cc6(0x106))/0xa;if(_0x99686e===_0x3d32e1)break;else _0x472be7['push'](_0x472be7['shift']());}catch(_0x2d574f){_0x472be7['push'](_0x472be7['shift']());}}}(_0x4550,0xcf5bd));import{Rect as _0x535269,global as _0x56f2ef,isVisible as _0x34b56a}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x968e10,ButtonView as _0x577e37}from'ckeditor5/src/ui.js';function _0x4550(){const _0x3062f5=['2216JnwNiY','focusableChildren','bind','Submit','fieldView','ck-ai-form__submit','left','5XliVZv','add','excludeScrollbarsAndBorders','resultsView','focus','uiLanguageDirection','focusCycler','46686460fBFVCv','fieldWrapperChildren','focusFirst','14trbFgR','35253HPsWoE','593752zmnXSB','target','style','isOn','enter','submitButtonView','render','filteredView','34587jKEOAV','maxRows','ck-ai-form__toggle-history','History','locale','238230UAjYmK','4088586sGUioG','isEnabled','width','children','minRows','showHistoryButtonView','focusLast','element','history','keystrokes','fire','right','submit','3129390tPyTQU','value','_createSubmitButton','rtl','_createShowHistoryButton','set','isEmpty','requestAnimationFrame','queryView','update','window','execute','isVisible'];_0x4550=function(){return _0x3062f5;};return _0x4550();}import{icons as _0x49a90c}from'ckeditor5/src/core.js';import{getTranslation as _0x2f6257}from'../../utils/common-translations.js';function _0xfe4f(_0x1f9bad,_0x51ffbb){const _0x455068=_0x4550();return _0xfe4f=function(_0xfe4fe3,_0x15bfc8){_0xfe4fe3=_0xfe4fe3-0xea;let _0x2ea9bc=_0x455068[_0xfe4fe3];return _0x2ea9bc;},_0xfe4f(_0x1f9bad,_0x51ffbb);}import _0x2e7d5c from'../../../theme/icons/submit.svg';export default class ht extends _0x968e10{constructor(_0x12eb35,_0x55fa69){const _0xb71205=_0xfe4f;super(_0x12eb35,_0x55fa69),this[_0xb71205(0xf3)][_0xb71205(0xfc)][_0xb71205(0x11d)]=0x1,this[_0xb71205(0xf3)][_0xb71205(0xfc)][_0xb71205(0x114)]=0x3,this[_0xb71205(0x110)]=this[_0xb71205(0xed)](),this[_0xb71205(0x11e)]=this[_0xb71205(0xef)](),this[_0xb71205(0xf9)][_0xb71205(0x100)](this[_0xb71205(0x11e)],0x1),this[_0xb71205(0xf9)][_0xb71205(0x100)](this[_0xb71205(0x110)]);}[_0x1928a6(0x111)](){const _0x27e955=_0x1928a6;super[_0x27e955(0x111)](),this[_0x27e955(0xf3)][_0x27e955(0x107)][_0x27e955(0x100)](this[_0x27e955(0x11e)]),this[_0x27e955(0x11c)][_0x27e955(0x100)](this[_0x27e955(0x110)]),this[_0x27e955(0x122)][_0x27e955(0xf0)](_0x27e955(0x10f),(_0x8dd173,_0x2e27c0)=>{const _0xcb87e0=_0x27e955;_0x8dd173[_0xcb87e0(0x10c)]==this[_0xcb87e0(0xf3)][_0xcb87e0(0xfc)][_0xcb87e0(0x120)]&&(this[_0xcb87e0(0xea)](),_0x2e27c0());});}[_0x1928a6(0xed)](){const _0x3356d1=_0x1928a6,_0x12146f=new _0x577e37(this[_0x3356d1(0x117)]),_0x1667c6=this[_0x3356d1(0x117)];return _0x12146f[_0x3356d1(0xf0)]({'icon':_0x2e7d5c,'label':_0x2f6257(_0x1667c6,_0x3356d1(0xfb)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3356d1(0xfd)}),_0x12146f['on'](_0x3356d1(0xf6),()=>{const _0x25ae30=_0x3356d1;this[_0x25ae30(0xea)]();}),_0x12146f[_0x3356d1(0xfa)](_0x3356d1(0x11a))['to'](this[_0x3356d1(0xf3)][_0x3356d1(0xfc)],_0x3356d1(0xf1),this,_0x3356d1(0x11a),(_0x15298e,_0x5500de)=>!_0x15298e&&_0x5500de),_0x12146f;}[_0x1928a6(0xef)](){const _0x288318=_0x1928a6,_0x26c3b0=new _0x577e37(this[_0x288318(0x117)]),_0x4dc8f6=this[_0x288318(0x102)],_0x3d794b=this[_0x288318(0x117)];_0x26c3b0[_0x288318(0xf0)]({'label':_0x2f6257(_0x3d794b,_0x288318(0x116)),'withText':!0x1,'icon':_0x49a90c[_0x288318(0x121)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x288318(0x115)}),_0x26c3b0[_0x288318(0xfa)](_0x288318(0x10e))['to'](_0x4dc8f6,_0x288318(0xf7)),_0x26c3b0[_0x288318(0xfa)](_0x288318(0x11a))['to'](this,_0x288318(0x11a)),_0x26c3b0['on'](_0x288318(0xf6),()=>{const _0xa1b931=_0x288318;_0x4dc8f6[_0xa1b931(0xf7)]=!_0x4dc8f6[_0xa1b931(0xf7)],_0x4dc8f6[_0xa1b931(0xf7)]?this[_0xa1b931(0x112)][_0xa1b931(0x103)]():this[_0xa1b931(0x103)]();});const _0x32a97b=()=>{const _0x4324a0=_0x288318;_0x56f2ef[_0x4324a0(0xf5)][_0x4324a0(0xf2)](()=>{const _0x22c5fa=_0x4324a0;if(_0x34b56a(this[_0x22c5fa(0x120)])){const _0x20ec30=new _0x535269(this[_0x22c5fa(0xf3)][_0x22c5fa(0xfc)][_0x22c5fa(0x120)]),_0x57ae02=_0x20ec30[_0x22c5fa(0x11b)],_0x201bb1=_0x22c5fa(0xee)===_0x3d794b[_0x22c5fa(0x104)]?_0x22c5fa(0xfe):_0x22c5fa(0x124);_0x20ec30[_0x22c5fa(0x101)](),_0x26c3b0[_0x22c5fa(0x120)][_0x22c5fa(0x10d)][_0x201bb1]=_0x57ae02-_0x20ec30[_0x22c5fa(0x11b)]+0x1+'px';}});};return this[_0x288318(0xf3)][_0x288318(0xfc)]['on'](_0x288318(0xf4),_0x32a97b),this['on'](_0x288318(0x111),_0x32a97b),_0x26c3b0;}[_0x1928a6(0xea)](){const _0x246129=_0x1928a6,_0xbcbdb1=this[_0x246129(0xf3)][_0x246129(0xfc)][_0x246129(0x120)][_0x246129(0xec)];this[_0x246129(0x123)](_0x246129(0xea),_0xbcbdb1);}[_0x1928a6(0x103)](_0x510b64){const _0x35f451=_0x1928a6;-0x1===_0x510b64?this[_0x35f451(0x105)][_0x35f451(0x11f)]():this[_0x35f451(0x105)][_0x35f451(0x108)]();}}
|