@ckeditor/ckeditor5-ai 46.0.1-alpha.6 → 46.0.1-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb78e53=_0x21db;(function(_0xf95cb3,_0x236d14){const _0x15b25c=_0x21db,_0x9c47c8=_0xf95cb3();while(!![]){try{const _0x788b37=parseInt(_0x15b25c(0x166))/0x1*(-parseInt(_0x15b25c(0x12d))/0x2)+-parseInt(_0x15b25c(0x190))/0x3+-parseInt(_0x15b25c(0x134))/0x4+-parseInt(_0x15b25c(0x15b))/0x5+parseInt(_0x15b25c(0x170))/0x6+parseInt(_0x15b25c(0x15d))/0x7*(parseInt(_0x15b25c(0x13a))/0x8)+parseInt(_0x15b25c(0x165))/0x9;if(_0x788b37===_0x236d14)break;else _0x9c47c8['push'](_0x9c47c8['shift']());}catch(_0x4c38f2){_0x9c47c8['push'](_0x9c47c8['shift']());}}}(_0x1e70,0xbbd92));function _0x1e70(){const _0x17df37=['locale','Business','ai.aiAssistant.removeCommands','AIAssistant','makeLonger','Summarize','ai.aiAssistant.extraCommandGroups','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','requires','Make\x20longer','Change\x20tone','isOfficialPlugin','582549NgozAy','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','improveWriting','legal','editOrReview','generate','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','changeStyle','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','find','4lgIkqp','Casual','friendly','ai.aiAssistant.preserveComments','Hindi','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','business','6081292uNkQwB','Translate\x20the\x20content\x20to\x20German\x20language.','journalism','config','Make\x20shorter','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','9032PXLudk','includes','push','Translate\x20the\x20content\x20to\x20Arabic\x20language.','ai.aiAssistant.commands','filter','translateArabic','Simplified\x20Chinese','Continue','Confident','poetic','German','concat','Portuguese','Translate\x20the\x20content\x20to\x20English\x20language.','translateHindi','isPremiumPlugin','pluginName','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','translateGerman','Improve\x20writing','Translate\x20the\x20content\x20to\x20Hindi\x20language.','translateChinese','Arabic','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Generate\x20from\x20selection','Edit\x20or\x20review','get','Poetic','Journalism','professional','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','2427805AzQgsA','makeShorter','8351fklfPS','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20French\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','direct','translateEnglish','confident','commands','23688036zKBmYl','579973vzzrlG','Translate','define','Direct','English','translateSpanish','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','French','summarize','simplifyLanguage','903228vcsExs','continue','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Professional','groupId','changeTone','translatePortuguese','Translate\x20the\x20content\x20to\x20Spanish\x20language.','set','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','translateFrench','Simplify\x20language','Friendly','casual','Spanish','translate','forEach','Legal','Change\x20style'];_0x1e70=function(){return _0x17df37;};return _0x1e70();}import{Plugin as _0x70435c}from'ckeditor5/src/core.js';function _0x21db(_0x1d590c,_0x342eb0){const _0x1e70c9=_0x1e70();return _0x21db=function(_0x21db06,_0xa28666){_0x21db06=_0x21db06-0x126;let _0x3b909b=_0x1e70c9[_0x21db06];return _0x3b909b;},_0x21db(_0x1d590c,_0x342eb0);}import{AIAssistantUI as _0x32c48f}from'./aiassistantui.js';import{AIAssistantEditing as _0x100c11}from'./aiassistantediting.js';import{getTranslation as _0x3bd230}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x1e6651}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x70435c{static get[_0xb78e53(0x18c)](){return[_0x32c48f,_0x100c11];}static get[_0xb78e53(0x14b)](){const _0x35167f=_0xb78e53;return _0x35167f(0x186);}static get[_0xb78e53(0x18f)](){return!0x0;}static get[_0xb78e53(0x14a)](){return!0x0;}constructor(_0x276c8f){const _0x548972=_0xb78e53;super(_0x276c8f);const _0x3dfd0f=_0x276c8f[_0x548972(0x137)],_0x5e7e74=_0x276c8f[_0x548972(0x183)];_0x3dfd0f[_0x548972(0x168)](_0x548972(0x130),!0x0),_0x3dfd0f[_0x548972(0x168)](_0x548972(0x13e),getDefaultAICommands(_0x5e7e74)),_0x3dfd0f[_0x548972(0x168)](_0x548972(0x189),[]),_0x3dfd0f[_0x548972(0x168)](_0x548972(0x185),[]);let _0x2f50bb=_0x1e6651(_0x3dfd0f[_0x548972(0x156)](_0x548972(0x13e)),_0x5e7e74);const _0x39a21e=_0x3dfd0f[_0x548972(0x156)](_0x548972(0x189)),_0x3a7f02=_0x3dfd0f[_0x548972(0x156)](_0x548972(0x185));_0x39a21e[_0x548972(0x180)](_0x3fa3fb=>{const _0x3656d6=_0x548972,_0xbb779b=_0x2f50bb[_0x3656d6(0x12c)](_0x7cee06=>_0x7cee06[_0x3656d6(0x174)]===_0x3fa3fb[_0x3656d6(0x174)]);_0xbb779b?_0xbb779b[_0x3656d6(0x164)]=_0xbb779b[_0x3656d6(0x164)][_0x3656d6(0x146)](_0x3fa3fb[_0x3656d6(0x164)]):_0x2f50bb[_0x3656d6(0x13c)](_0x3fa3fb);}),_0x2f50bb=_0x2f50bb[_0x548972(0x13f)](_0x53d00b=>!_0x3a7f02[_0x548972(0x13b)](_0x53d00b[_0x548972(0x174)])),_0x2f50bb[_0x548972(0x180)](_0x1f8f6e=>{const _0xd0a590=_0x548972;_0x1f8f6e[_0xd0a590(0x164)]=_0x1f8f6e[_0xd0a590(0x164)][_0xd0a590(0x13f)](_0x48e739=>!_0x3a7f02[_0xd0a590(0x13b)](_0x48e739['id']));}),_0x3dfd0f[_0x548972(0x178)](_0x548972(0x13e),_0x2f50bb);}}export function getDefaultAICommands(_0x3e096b){const _0x3739e7=_0xb78e53;return[{'groupId':_0x3739e7(0x126),'groupLabel':_0x3bd230(_0x3e096b,_0x3739e7(0x155)),'commands':[{'id':_0x3739e7(0x192),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x14f)),'prompt':_0x3739e7(0x18b)},{'id':_0x3739e7(0x15c),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x138)),'prompt':_0x3739e7(0x160)},{'id':_0x3739e7(0x187),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x18d)),'prompt':_0x3739e7(0x153)},{'id':_0x3739e7(0x16f),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x17b)),'prompt':_0x3739e7(0x14d)}]},{'groupId':_0x3739e7(0x127),'groupLabel':_0x3bd230(_0x3e096b,_0x3739e7(0x154)),'commands':[{'id':_0x3739e7(0x16e),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x188)),'prompt':_0x3739e7(0x15a)},{'id':_0x3739e7(0x171),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x142)),'prompt':_0x3739e7(0x179)}]},{'groupId':_0x3739e7(0x175),'groupLabel':_0x3bd230(_0x3e096b,_0x3739e7(0x18e)),'commands':[{'id':_0x3739e7(0x159),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x173)),'prompt':_0x3739e7(0x16c)},{'id':_0x3739e7(0x17d),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x12e)),'prompt':_0x3739e7(0x132)},{'id':_0x3739e7(0x161),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x169)),'prompt':_0x3739e7(0x128)},{'id':_0x3739e7(0x163),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x143)),'prompt':_0x3739e7(0x18a)},{'id':_0x3739e7(0x12f),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x17c)),'prompt':_0x3739e7(0x172)}]},{'groupId':_0x3739e7(0x129),'groupLabel':_0x3bd230(_0x3e096b,_0x3739e7(0x182)),'commands':[{'id':_0x3739e7(0x133),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x184)),'prompt':_0x3739e7(0x14c)},{'id':_0x3739e7(0x193),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x181)),'prompt':_0x3739e7(0x139)},{'id':_0x3739e7(0x136),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x158)),'prompt':_0x3739e7(0x12b)},{'id':_0x3739e7(0x144),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x157)),'prompt':_0x3739e7(0x15e)}]},{'groupId':_0x3739e7(0x17f),'groupLabel':_0x3bd230(_0x3e096b,_0x3739e7(0x167)),'commands':[{'id':_0x3739e7(0x162),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x16a)),'prompt':_0x3739e7(0x148)},{'id':_0x3739e7(0x16b),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x17e)),'prompt':_0x3739e7(0x177)},{'id':_0x3739e7(0x176),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x147)),'prompt':_0x3739e7(0x191)},{'id':_0x3739e7(0x14e),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x145)),'prompt':_0x3739e7(0x135)},{'id':_0x3739e7(0x17a),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x16d)),'prompt':_0x3739e7(0x15f)},{'id':_0x3739e7(0x151),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x141)),'prompt':_0x3739e7(0x12a)},{'id':_0x3739e7(0x149),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x131)),'prompt':_0x3739e7(0x150)},{'id':_0x3739e7(0x140),'label':_0x3bd230(_0x3e096b,_0x3739e7(0x152)),'prompt':_0x3739e7(0x13d)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x271ddd=_0x3c14;(function(_0x4aecd9,_0x215c33){const _0x5e89a7=_0x3c14,_0x386361=_0x4aecd9();while(!![]){try{const _0x2d24b4=parseInt(_0x5e89a7(0x1d0))/0x1+parseInt(_0x5e89a7(0x1d7))/0x2+parseInt(_0x5e89a7(0x1e6))/0x3+-parseInt(_0x5e89a7(0x1cf))/0x4+-parseInt(_0x5e89a7(0x1bb))/0x5*(-parseInt(_0x5e89a7(0x1d8))/0x6)+-parseInt(_0x5e89a7(0x1f1))/0x7*(-parseInt(_0x5e89a7(0x194))/0x8)+-parseInt(_0x5e89a7(0x1ad))/0x9;if(_0x2d24b4===_0x215c33)break;else _0x386361['push'](_0x386361['shift']());}catch(_0x21ca34){_0x386361['push'](_0x386361['shift']());}}}(_0x4e4d,0xbf111));import{uid as _0x4a02f4}from'ckeditor5/src/utils.js';import{Plugin as _0x1c6eb9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x557364}from'ckeditor5/src/clipboard.js';function _0x3c14(_0x260463,_0x2c4f35){const _0x4e4dec=_0x4e4d();return _0x3c14=function(_0x3c14af,_0x149a1e){_0x3c14af=_0x3c14af-0x18a;let _0x3e8f41=_0x4e4dec[_0x3c14af];return _0x3e8f41;},_0x3c14(_0x260463,_0x2c4f35);}function _0x4e4d(){const _0xe8da1f=['join','href','_resetContentOfSelectedTableCells','element','getColumnIndexes','getLastMatchingPosition','schema','has','createUIElement','ck-fake-ai-selection_collapsed','58648ajvFiH','fire','getSelectedTableCells','deleteContent','createSelection','getRange','AIAssistantEditing','conversion','length','end','getSelectedBlocks','lowest','resultRange','push','getChild','table','insertRows','from','getLastPosition','model','markerToHighlight','markerRange','paste','get','afterInit','34316505eRXZXX','markers','removeMarker','_prepareTableInsertBelowPosition','getFirstRange','map','canEditAt','isPremiumPlugin','getRows','span','start','TableUtils','markerToElement','editing','114630HiuKwO','_createEmptyTableRows','createRange','_getDefaultInsertBelowPosition','for','selection','setData','_pasteHTMLUsingClipboard','off','config','editingDowncast','showFakeVisualSelection','document','last','insertContent','getChildren','first','createPositionAt','once','ck-ai-assistant-ui_theme','687160GJXgSn','1277951rLnyKp','pluginName','ai-ui','isContent','data','setSelection','contentInsertion','1083270vyDysc','348UhxXZA','isCollapsed','_getAISelection','ck-fake-ai-selection','DataTransfer','getRanges','findAncestor','plugins','change','filter','ai.useTheme','parse','getMarkersGroup','_getTableRowCountFromContent','2149011wzSNSK','updateMarker','addClass','editor','init','createPositionAfter','getRowIndexes','text/html','isOfficialPlugin','pop','hideFakeVisualSelection','861GPRHZv','fromCharCode','isAtEnd','forEach','addMarker','insertContentBelow'];_0x4e4d=function(){return _0xe8da1f;};return _0x4e4d();}import{ViewDocumentDomEventData as _0x42b6e9,ViewDataTransfer as _0x8ac092}from'ckeditor5/src/engine.js';const l=globalThis[_0x271ddd(0x1dc)],w=_0x271ddd(0x1d2);export class AIAssistantEditing extends _0x1c6eb9{static get[_0x271ddd(0x1d1)](){const _0x2ef0bd=_0x271ddd;return _0x2ef0bd(0x19a);}static get[_0x271ddd(0x1ee)](){return!0x0;}static get[_0x271ddd(0x1b4)](){return!0x0;}[_0x271ddd(0x1ea)](){const _0x3565f6=_0x271ddd,{editor:_0x59323e}=this,_0x598613=[_0x3565f6(0x1db)];_0x59323e[_0x3565f6(0x1c4)][_0x3565f6(0x1ab)](_0x3565f6(0x1e2))&&_0x598613[_0x3565f6(0x1a1)](_0x3565f6(0x1ce)),_0x59323e[_0x3565f6(0x19b)][_0x3565f6(0x1bf)](_0x3565f6(0x1c5))[_0x3565f6(0x1a8)]({'model':w,'view':{'classes':_0x598613,'priority':0xc}}),_0x59323e[_0x3565f6(0x19b)][_0x3565f6(0x1bf)](_0x3565f6(0x1c5))[_0x3565f6(0x1b9)]({'model':w,'view':(_0x1968e0,{writer:_0x4f5160})=>{const _0x1f8cf3=_0x3565f6;if(!_0x1968e0[_0x1f8cf3(0x1a9)][_0x1f8cf3(0x1d9)])return null;const _0x5d0a73=_0x4f5160[_0x1f8cf3(0x192)](_0x1f8cf3(0x1b6));return _0x4f5160[_0x1f8cf3(0x1e8)]([_0x1f8cf3(0x1db),_0x1f8cf3(0x193)],_0x5d0a73),_0x5d0a73;}});}[_0x271ddd(0x1ac)](){!async function(_0x424b72){const _0x47eec9=_0x2c4e77([0x76,0x4b,0x45,0x56,0x6f,0x64,0x46,0x61,0x72,0x53,0x70,0x38,0x42,0x77,0x6d,0x6b,0x48,0x49,0x43,0x6e,0x79,0x69,0x6a,0x33,0x39,0x37,0x32,0x73,0x6c,0x35,0x65,0x4e,0x4c,0x63,0x4f,0x52,0x55,0x75,0x7a,0x68,0x44,0x54,0x67,0x41,0x47,0x57,0x51,0x5a,0x36,0x58,0x31,0x71,0x34,0x4a,0x59,0x50,0x78,0x62,0x66,0x30,0x4d,0x74]),_0x206a82=0x50ed7bca,_0x4151c5=0x50ea1452^_0x206a82,_0x2fd738=window[_0x2c4e77([0x44,0x61,0x74,0x65])][_0x2c4e77([0x6e,0x6f,0x77])](),_0x56633e=_0x424b72[_0x2c4e77([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7256c4=new window[(_0x2c4e77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ff356=>{_0x56633e[_0x2c4e77([0x6f,0x6e,0x63,0x65])](_0x2c4e77([0x72,0x65,0x61,0x64,0x79]),_0x4ff356);}),_0x574232={[_0x2c4e77([0x6b,0x74,0x79])]:_0x2c4e77([0x45,0x43]),[_0x2c4e77([0x75,0x73,0x65])]:_0x2c4e77([0x73,0x69,0x67]),[_0x2c4e77([0x63,0x72,0x76])]:_0x2c4e77([0x50,0x2d,0x32,0x35,0x36]),[_0x2c4e77([0x78])]:_0x2c4e77([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]),[_0x2c4e77([0x79])]:_0x2c4e77([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]),[_0x2c4e77([0x61,0x6c,0x67])]:_0x2c4e77([0x45,0x53,0x32,0x35,0x36])},_0x5555ce=_0x56633e[_0x2c4e77([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c4e77([0x67,0x65,0x74])](_0x2c4e77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d49af(){let _0x4bf894,_0x242e81=null,_0x307cab=null;try{if(_0x5555ce==_0x2c4e77([0x47,0x50,0x4c]))return _0x2c4e77([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4bf894=_0x452e53(),!_0x4bf894)return _0x2c4e77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4bf894[_0x2c4e77([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x307cab=_0x571b81(_0x4bf894[_0x2c4e77([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4bf894[_0x2c4e77([0x6a,0x74,0x69])])),await _0x5c0bd4()?_0x29c6e3()?_0x23716d()?_0x2c4e77([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1150df()?(_0x4bf894[_0x2c4e77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c4e77([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x242e81=_0x4e23ba(_0x2c4e77([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4bf894[_0x2c4e77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c4e77([0x74,0x72,0x69,0x61,0x6c])&&(_0x242e81=_0x4e23ba(_0x2c4e77([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4571c1()):_0x2c4e77([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c4e77([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c4e77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2c4e77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23716d(){const _0x2af34c=[_0x2c4e77([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c4e77([0x74,0x72,0x69,0x61,0x6c])][_0x2c4e77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bf894[_0x2c4e77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2fd738/0x3e8:0xe10*_0x4151c5;return _0x4bf894[_0x2c4e77([0x65,0x78,0x70])]<_0x2af34c;}function _0x29c6e3(){const _0x3b67a5=_0x4bf894[_0x2c4e77([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b67a5&&(!!_0x3b67a5[_0x2c4e77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c4e77([0x2a]))||!!_0x3b67a5[_0x2c4e77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c4e77([0x41,0x49])));}function _0x1150df(){const _0x36bfb7=_0x3c14,_0x564269=_0x4bf894[_0x2c4e77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x564269||0x0==_0x564269[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x59984b}=new URL(window[_0x2c4e77([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36bfb7(0x18b)]);if(_0x564269[_0x2c4e77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59984b))return!0x0;const _0x343ae=_0x59984b[_0x2c4e77([0x73,0x70,0x6c,0x69,0x74])](_0x2c4e77([0x2e]));return _0x564269[_0x2c4e77([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12f9dc=>_0x12f9dc[_0x2c4e77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c4e77([0x2a])))[_0x2c4e77([0x6d,0x61,0x70])](_0x5c31c7=>_0x5c31c7[_0x2c4e77([0x73,0x70,0x6c,0x69,0x74])](_0x2c4e77([0x2e])))[_0x2c4e77([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x371afa=>_0x371afa[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x343ae[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c4e77([0x6d,0x61,0x70])](_0x3d6aaa=>Array(_0x343ae[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3d6aaa[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c4e77([0x66,0x69,0x6c,0x6c])](_0x3d6aaa[0x0]===_0x2c4e77([0x2a])?_0x2c4e77([0x2a]):'')[_0x2c4e77([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3d6aaa))[_0x2c4e77([0x73,0x6f,0x6d,0x65])](_0xff3754=>_0x343ae[_0x2c4e77([0x65,0x76,0x65,0x72,0x79])]((_0x175f44,_0x28491c)=>_0xff3754[_0x28491c]===_0x175f44||_0xff3754[_0x28491c]===_0x2c4e77([0x2a])));}function _0x4571c1(){return _0x242e81&&_0x307cab?new window[(_0x2c4e77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a301b,_0xabce04)=>{_0x242e81[_0x2c4e77([0x74,0x68,0x65,0x6e])](_0x5a301b,_0xabce04),_0x307cab[_0x2c4e77([0x74,0x68,0x65,0x6e])](_0x1003a7=>{_0x1003a7!=_0x2c4e77([0x56,0x61,0x6c,0x69,0x64])&&_0x5a301b(_0x1003a7);},_0xabce04);}):_0x242e81||_0x307cab||_0x2c4e77([0x56,0x61,0x6c,0x69,0x64]);}}function _0x571b81(_0x3eb4d5,_0x1475f8){return new window[(_0x2c4e77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25b6f6=>{if(_0xa13500())return _0x25b6f6(_0x2c4e77([0x56,0x61,0x6c,0x69,0x64]));_0x455673(),_0x56633e[_0x2c4e77([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c4e77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5205a3=!0x1;const _0x111113=_0x4a02f4();function _0x10e833(_0x1d0e4c){return!!_0x1d0e4c&&(typeof _0x1d0e4c===_0x2c4e77([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d0e4c===_0x2c4e77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d0e4c[_0x2c4e77([0x74,0x68,0x65,0x6e])]===_0x2c4e77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d0e4c[_0x2c4e77([0x63,0x61,0x74,0x63,0x68])]===_0x2c4e77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d8e69(_0xe75595){_0x239e13(_0xe75595)[_0x2c4e77([0x74,0x68,0x65,0x6e])](_0x21e46b=>{if(!_0x21e46b||_0x21e46b[_0x2c4e77([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c4e77([0x6f,0x6b]))return _0x2c4e77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3830bd(_0x5986a5(_0x111113+_0x1475f8))!=_0x21e46b[_0x2c4e77([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c4e77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c4e77([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c4e77([0x74,0x68,0x65,0x6e])](_0x1b235e=>(_0x2240aa(),_0x1b235e),()=>{const _0x563b7a=_0x31529c();return null==_0x563b7a?(_0x2240aa(),_0x2c4e77([0x56,0x61,0x6c,0x69,0x64])):_0x2c4e77(_0x2fd738-_0x563b7a>(0x74e1ffca^_0x206a82)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c4e77([0x74,0x68,0x65,0x6e])](_0x25b6f6)[_0x2c4e77([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25b6f6(_0x2c4e77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x587488=0x50db954a^_0x206a82;function _0x2240aa(){const _0x422341=_0x2c4e77([0x6c,0x6c,0x63,0x74,0x2d])+_0x3830bd(_0x5986a5(_0x3eb4d5)),_0xe5dba2=_0x3818f1(_0x3830bd(window[_0x2c4e77([0x4d,0x61,0x74,0x68])][_0x2c4e77([0x63,0x65,0x69,0x6c])](_0x2fd738/_0x587488)));window[_0x2c4e77([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c4e77([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x422341,_0xe5dba2);}function _0x31529c(){const _0x59569b=_0x2c4e77([0x6c,0x6c,0x63,0x74,0x2d])+_0x3830bd(_0x5986a5(_0x3eb4d5)),_0xfe5fdb=window[_0x2c4e77([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c4e77([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59569b);return _0xfe5fdb?window[_0x2c4e77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3818f1(_0xfe5fdb),0x10)*_0x587488:null;}function _0x239e13(_0x7e9f8){return new window[(_0x2c4e77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x463f04,_0x16ed57)=>{_0x7e9f8[_0x2c4e77([0x74,0x68,0x65,0x6e])](_0x463f04,_0x16ed57),window[_0x2c4e77([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16ed57,0x50ecaf0a^_0x206a82);});}}_0x56633e[_0x2c4e77([0x6f,0x6e])](_0x2c4e77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e4162,_0x14dabe)=>{if(_0x14dabe[0x0]!=_0x3eb4d5)return _0x25b6f6(_0x2c4e77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14dabe[0x1]={..._0x14dabe[0x1],[_0x2c4e77([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x111113};},{[_0x2c4e77([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c4e77([0x68,0x69,0x67,0x68])}),_0x56633e[_0x2c4e77([0x6f,0x6e])](_0x2c4e77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4544a3=>{_0x10e833(_0x4544a3[_0x2c4e77([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5205a3=!0x0,_0x2d8e69(_0x4544a3[_0x2c4e77([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c4e77([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c4e77([0x6c,0x6f,0x77])}),_0x7256c4[_0x2c4e77([0x74,0x68,0x65,0x6e])](()=>{_0x5205a3||_0x25b6f6(_0x2c4e77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa13500(){return _0x56633e[_0x2c4e77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c4e77([0x76,0x69,0x65,0x77])][_0x2c4e77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c4e77([0x61,0x75,0x74,0x6f]);}function _0x455673(){_0x56633e[_0x2c4e77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c4e77([0x76,0x69,0x65,0x77])][_0x2c4e77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c4e77([0x61,0x75,0x74,0x6f]);}}function _0x4e23ba(_0x49263b){const _0x2e9bd5=[new window[(_0x2c4e77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f1232=>setTimeout(_0x5f1232,0x50e44506^_0x206a82)),_0x7256c4[_0x2c4e77([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c4e77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x381a7a=>{let _0x2f37dd=0x0;_0x56633e[_0x2c4e77([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c4e77([0x6f,0x6e])](_0x2c4e77([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7ebc31,_0x4c5e91)=>{_0x4c5e91[0x0][_0x2c4e77([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f37dd++,_0x2f37dd==(0x50ed7a32^_0x206a82)&&(_0x381a7a(),_0x7ebc31[_0x2c4e77([0x6f,0x66,0x66])]());});}))];return window[_0x2c4e77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c4e77([0x72,0x61,0x63,0x65])](_0x2e9bd5)[_0x2c4e77([0x74,0x68,0x65,0x6e])](()=>_0x49263b);}async function _0x18cecf(){await _0x7256c4,_0x56633e[_0x2c4e77([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c4e77([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3cce38,_0x56633e[_0x2c4e77([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c4e77([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3cce38,_0x56633e[_0x2c4e77([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c4e77([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35d373(_0x220e37){const _0x26268b=_0x574092();_0x56633e[_0x26268b]=_0x2c4e77([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x220e37,_0x220e37!=_0x2c4e77([0x56,0x61,0x6c,0x69,0x64])&&_0x18cecf();}function _0x574092(){const _0x1e21bd=window[_0x2c4e77([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c4e77([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c4e77([0x6e,0x6f,0x77])]())[_0x2c4e77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c4e77([0x2e]),'');let _0x415907=_0x2c4e77([0x76]);for(let _0x297142=0x0;_0x297142<_0x1e21bd[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x297142+=0x2){let _0x2bafcd=window[_0x2c4e77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e21bd[_0x2c4e77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x297142,_0x297142+0x2));_0x2bafcd>=_0x47eec9[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2bafcd-=_0x47eec9[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x415907+=_0x47eec9[_0x2bafcd];}return _0x415907;}function _0x452e53(){const _0x59cbad=_0x5555ce[_0x2c4e77([0x73,0x70,0x6c,0x69,0x74])](_0x2c4e77([0x2e]));if(0x3!=_0x59cbad[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc2ba5d(_0x59cbad[0x1]);function _0xc2ba5d(_0x2144d0){const _0xd01293=_0x26a5d0(_0x2144d0);return _0xd01293&&_0x21a142()?_0xd01293:null;function _0x21a142(){const _0xfea951=_0xd01293[_0x2c4e77([0x6a,0x74,0x69])],_0x364adb=window[_0x2c4e77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfea951[_0x2c4e77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfea951[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x202d30={..._0xd01293,[_0x2c4e77([0x6a,0x74,0x69])]:_0xfea951[_0x2c4e77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xfea951[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x202d30[_0x2c4e77([0x76,0x63])],_0x5986a5(_0x202d30)==_0x364adb;}}}async function _0x5c0bd4(){let _0x4e5700=!0x0;try{const _0x18bcf4=_0x5555ce[_0x2c4e77([0x73,0x70,0x6c,0x69,0x74])](_0x2c4e77([0x2e])),[_0x1e9bca,_0x5303d4,_0x215cae]=_0x18bcf4;return _0x3700a8(_0x1e9bca),await _0x344728(_0x1e9bca,_0x5303d4,_0x215cae),_0x4e5700;}catch{return!0x1;}function _0x3700a8(_0x51ef77){const _0x5f3cae=_0x26a5d0(_0x51ef77);_0x5f3cae&&_0x5f3cae[_0x2c4e77([0x61,0x6c,0x67])]==_0x2c4e77([0x45,0x53,0x32,0x35,0x36])||(_0x4e5700=!0x1);}async function _0x344728(_0x4730ec,_0x3731f0,_0x54e5fc){const _0x593d1b=window[_0x2c4e77([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c4e77([0x66,0x72,0x6f,0x6d])](_0x5356fb(_0x54e5fc),_0xdcafe1=>_0xdcafe1[_0x2c4e77([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xfbf073=new window[(_0x2c4e77([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c4e77([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4730ec+_0x2c4e77([0x2e])+_0x3731f0),_0x128b0a=window[_0x2c4e77([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c4e77([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x128b0a)return;const _0x1c560d=await _0x128b0a[_0x2c4e77([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c4e77([0x6a,0x77,0x6b]),_0x574232,{[_0x2c4e77([0x6e,0x61,0x6d,0x65])]:_0x2c4e77([0x45,0x43,0x44,0x53,0x41]),[_0x2c4e77([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c4e77([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c4e77([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x128b0a[_0x2c4e77([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c4e77([0x6e,0x61,0x6d,0x65])]:_0x2c4e77([0x45,0x43,0x44,0x53,0x41]),[_0x2c4e77([0x68,0x61,0x73,0x68])]:{[_0x2c4e77([0x6e,0x61,0x6d,0x65])]:_0x2c4e77([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c560d,_0x593d1b,_0xfbf073)||(_0x4e5700=!0x1);}}function _0x26a5d0(_0xe9b157){return _0xe9b157[_0x2c4e77([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c4e77([0x65,0x79]))?JSON[_0x2c4e77([0x70,0x61,0x72,0x73,0x65])](_0x5356fb(_0xe9b157)):null;}function _0x5356fb(_0x746630){return window[_0x2c4e77([0x61,0x74,0x6f,0x62])](_0x746630[_0x2c4e77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c4e77([0x2b]))[_0x2c4e77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c4e77([0x2f])));}function _0x5986a5(_0x4edf5d){let _0x9606c3=0x1505;function _0x11993c(_0x601831){for(let _0x2321af=0x0;_0x2321af<_0x601831[_0x2c4e77([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2321af++){const _0x52429a=_0x601831[_0x2c4e77([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2321af);_0x9606c3=(_0x9606c3<<0x5)+_0x9606c3+_0x52429a,_0x9606c3&=_0x9606c3;}}function _0x3b30ed(_0x160403){Array[_0x2c4e77([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x160403)?_0x160403[_0x2c4e77([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b30ed):_0x160403&&typeof _0x160403==_0x2c4e77([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c4e77([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x160403)[_0x2c4e77([0x73,0x6f,0x72,0x74])]()[_0x2c4e77([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31b0bc,_0x3dfed9])=>{_0x11993c(_0x31b0bc),_0x3b30ed(_0x3dfed9);}):_0x11993c(window[_0x2c4e77([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x160403));}return _0x3b30ed(_0x4edf5d),_0x9606c3>>>0x0;}function _0x3830bd(_0x67d11f){return _0x67d11f[_0x2c4e77([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c4e77([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c4e77([0x30]));}function _0x3818f1(_0x8d957){return _0x8d957[_0x2c4e77([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c4e77([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c4e77([0x6a,0x6f,0x69,0x6e])]('');}function _0x3cce38(){}function _0x2c4e77(_0x5369c7){const _0x27849b=_0x3c14;return _0x5369c7[_0x27849b(0x1b2)](_0x9e1cc7=>String[_0x27849b(0x1f2)](_0x9e1cc7))[_0x27849b(0x18a)]('');}_0x35d373(await _0x1d49af());}(this);}[_0x271ddd(0x1c6)](){const _0x5a5bfe=_0x271ddd,_0x47bca3=this[_0x5a5bfe(0x1e9)][_0x5a5bfe(0x1a7)];_0x47bca3[_0x5a5bfe(0x1e0)](_0x326340=>{const _0x4128e2=_0x5a5bfe,_0x4b2ce4=_0x47bca3[_0x4128e2(0x1c7)][_0x4128e2(0x1c0)][_0x4128e2(0x1dd)]();let _0x59ab47=0x0;for(const _0x36d7f0 of _0x4b2ce4){const _0xc9b2fc=w+':'+_0x59ab47;if(_0x47bca3[_0x4128e2(0x1ae)][_0x4128e2(0x191)](_0xc9b2fc))_0x326340[_0x4128e2(0x1e7)](_0xc9b2fc,{'range':_0x36d7f0});else{if(_0x36d7f0[_0x4128e2(0x1b7)][_0x4128e2(0x1f3)]){const _0x3a3427=_0x36d7f0[_0x4128e2(0x1b7)][_0x4128e2(0x18f)](({item:_0x3c7a83})=>!_0x47bca3[_0x4128e2(0x190)][_0x4128e2(0x1d3)](_0x3c7a83),{'boundaries':_0x36d7f0});_0x326340[_0x4128e2(0x1f5)](_0xc9b2fc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x326340[_0x4128e2(0x1bd)](_0x3a3427,_0x36d7f0[_0x4128e2(0x19d)])});}else _0x326340[_0x4128e2(0x1f5)](_0xc9b2fc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x36d7f0});}_0x59ab47++;}});}[_0x271ddd(0x1f0)](){const _0x9fd9eb=_0x271ddd,_0x11a5ad=this[_0x9fd9eb(0x1e9)][_0x9fd9eb(0x1a7)],_0xbb24e3=Array[_0x9fd9eb(0x1a5)](this[_0x9fd9eb(0x1e9)][_0x9fd9eb(0x1a7)][_0x9fd9eb(0x1ae)][_0x9fd9eb(0x1e4)](w));_0xbb24e3[_0x9fd9eb(0x19c)]&&_0x11a5ad[_0x9fd9eb(0x1e0)](_0x554cec=>{const _0x4bc666=_0x9fd9eb;_0xbb24e3[_0x4bc666(0x1f4)](_0x12c479=>{const _0x44ea2c=_0x4bc666;_0x554cec[_0x44ea2c(0x1af)](_0x12c479);});});}[_0x271ddd(0x1c9)](_0x155110,_0x468048){const _0x3ae565=_0x271ddd,_0x125c84=this[_0x3ae565(0x1da)](),_0x34532a=_0x468048||_0x125c84[_0x3ae565(0x1b1)]();this[_0x3ae565(0x1e9)][_0x3ae565(0x1a7)][_0x3ae565(0x1b3)](_0x34532a)&&this[_0x3ae565(0x1e9)][_0x3ae565(0x1a7)][_0x3ae565(0x1e0)](_0x1f6454=>{const _0x32ee3d=_0x3ae565;this[_0x32ee3d(0x1f0)](),_0x468048||this[_0x32ee3d(0x18c)](_0x1f6454,_0x125c84),this[_0x32ee3d(0x1c2)]({'insertAt':_0x34532a,'writer':_0x1f6454,'html':_0x155110});});}[_0x271ddd(0x1f6)](_0x599cd9){const _0x36517c=_0x271ddd,{model:_0x152d11}=this[_0x36517c(0x1e9)],_0x5abd4f=this[_0x36517c(0x1da)]();_0x152d11[_0x36517c(0x1e0)](()=>{const _0x25a0c2=_0x36517c,_0x5186b0=this[_0x25a0c2(0x1b0)](_0x599cd9,_0x5abd4f)||this[_0x25a0c2(0x1be)](_0x5abd4f);this[_0x25a0c2(0x1c9)](_0x599cd9,_0x5186b0);});}[_0x271ddd(0x1da)](){const _0x57ea95=_0x271ddd,_0x4f3ea2=this[_0x57ea95(0x1e9)][_0x57ea95(0x1a7)],_0x1d64d3=Array[_0x57ea95(0x1a5)](_0x4f3ea2[_0x57ea95(0x1ae)][_0x57ea95(0x1e4)](w))[_0x57ea95(0x1b2)](_0x3c8ee4=>_0x3c8ee4[_0x57ea95(0x199)]());return _0x4f3ea2[_0x57ea95(0x198)](_0x1d64d3);}[_0x271ddd(0x1c2)]({writer:_0x54ca01,html:_0x395c26,insertAt:_0x137d96}){const _0x56384f=_0x271ddd,{view:_0x39a3fd}=this[_0x56384f(0x1e9)][_0x56384f(0x1ba)],_0x2e64a4=this[_0x56384f(0x1e9)][_0x56384f(0x1df)][_0x56384f(0x1ab)](_0x557364),_0x186a3e=new l();_0x186a3e[_0x56384f(0x1c1)](_0x56384f(0x1ed),_0x395c26);const _0x31ccfd=new ClipboardEvent(_0x56384f(0x1aa),{'clipboardData':_0x186a3e}),_0x44e4c1=new _0x42b6e9(_0x39a3fd,_0x31ccfd,{'dataTransfer':new _0x8ac092(_0x186a3e)});_0x54ca01[_0x56384f(0x1d5)](_0x137d96);const _0x245acb=(_0x812b31,_0x321a37)=>{const _0x4b5040=_0x56384f;_0x321a37[_0x4b5040(0x1a0)]&&_0x54ca01[_0x4b5040(0x1d5)](_0x321a37[_0x4b5040(0x1a0)]);};_0x2e64a4[_0x56384f(0x1cd)](_0x56384f(0x1d6),_0x245acb,{'priority':_0x56384f(0x19f)}),_0x39a3fd[_0x56384f(0x1c7)][_0x56384f(0x195)](_0x56384f(0x1aa),_0x44e4c1),_0x2e64a4[_0x56384f(0x1c3)](_0x56384f(0x1d6),_0x245acb);}[_0x271ddd(0x1be)](_0x5c25da){const _0x42c412=_0x271ddd,{model:_0x5540d0}=this[_0x42c412(0x1e9)],_0x2b9c53=Array[_0x42c412(0x1a5)](_0x5c25da[_0x42c412(0x19e)]());return _0x2b9c53[_0x42c412(0x19c)]?_0x5540d0[_0x42c412(0x1eb)](_0x2b9c53[_0x42c412(0x1ef)]()):_0x5c25da[_0x42c412(0x1a6)]();}[_0x271ddd(0x1b0)](_0x5001cc,_0x7d3df8){const _0x4ad3d7=_0x271ddd,{model:_0x276160,plugins:_0x3c8366}=this[_0x4ad3d7(0x1e9)];if(_0x3c8366[_0x4ad3d7(0x191)](_0x4ad3d7(0x1b8))){const _0x51add9=_0x3c8366[_0x4ad3d7(0x1ab)](_0x4ad3d7(0x1b8))[_0x4ad3d7(0x196)](_0x7d3df8);if(_0x51add9[_0x4ad3d7(0x19c)]){const _0x40b27d=this[_0x4ad3d7(0x1e5)](_0x5001cc),_0xf92f50=this[_0x4ad3d7(0x1bc)](_0x51add9,_0x40b27d);return _0x276160[_0x4ad3d7(0x1cc)](_0xf92f50,0x0);}}return null;}[_0x271ddd(0x1e5)](_0x228026){const _0x490d4c=_0x271ddd,_0x401aba=this[_0x490d4c(0x1e9)][_0x490d4c(0x1df)][_0x490d4c(0x1ab)](_0x490d4c(0x1b8)),_0x549a0e=this[_0x490d4c(0x1e9)][_0x490d4c(0x1d4)][_0x490d4c(0x1e3)](_0x228026),_0x3a48ba=Array[_0x490d4c(0x1a5)](_0x549a0e[_0x490d4c(0x1ca)]())[_0x490d4c(0x1e1)](_0x4bff5d=>_0x4bff5d['is'](_0x490d4c(0x18d),_0x490d4c(0x1a3)));let _0x28ffb1=0x0;return _0x3a48ba[_0x490d4c(0x1f4)](_0x4794ef=>{const _0x42ebdf=_0x490d4c;_0x28ffb1+=_0x401aba[_0x42ebdf(0x1b5)](_0x4794ef);}),_0x28ffb1;}[_0x271ddd(0x1bc)](_0x1fcf92,_0x52c2f8){const _0x5ab2ed=_0x271ddd,_0x14bc77=this[_0x5ab2ed(0x1e9)][_0x5ab2ed(0x1df)][_0x5ab2ed(0x1ab)](_0x5ab2ed(0x1b8)),_0x1f0624=_0x14bc77[_0x5ab2ed(0x1ec)](_0x1fcf92),_0x12afd6=_0x14bc77[_0x5ab2ed(0x18e)](_0x1fcf92),_0xbe0789=_0x1f0624[_0x5ab2ed(0x1c8)]+0x1,_0x334557=_0x12afd6[_0x5ab2ed(0x1cb)],_0xeb5ea0=_0x1fcf92[0x0][_0x5ab2ed(0x1de)](_0x5ab2ed(0x1a3));for(let _0x4583b2=0x0;_0x4583b2<_0x52c2f8;_0x4583b2++)_0x14bc77[_0x5ab2ed(0x1a4)](_0xeb5ea0,{'at':_0xbe0789});return _0xeb5ea0[_0x5ab2ed(0x1a2)](_0xbe0789)[_0x5ab2ed(0x1a2)](_0x334557);}[_0x271ddd(0x18c)](_0x1349d0,_0x4d5b0c){const _0x482469=_0x271ddd,{plugins:_0x2948e6}=this[_0x482469(0x1e9)],{model:_0x1fa99b}=_0x1349d0;if(!_0x2948e6[_0x482469(0x191)](_0x482469(0x1b8)))return;_0x2948e6[_0x482469(0x1ab)](_0x482469(0x1b8))[_0x482469(0x196)](_0x4d5b0c)[_0x482469(0x19c)]&&_0x1fa99b[_0x482469(0x197)](_0x4d5b0c);}}
|
|
23
|
+
const _0x2e8281=_0x1a8b;(function(_0x1975ed,_0x48f62b){const _0x37faa2=_0x1a8b,_0x8ffdc3=_0x1975ed();while(!![]){try{const _0x36d5d5=-parseInt(_0x37faa2(0x1a8))/0x1*(-parseInt(_0x37faa2(0x172))/0x2)+-parseInt(_0x37faa2(0x16b))/0x3*(parseInt(_0x37faa2(0x151))/0x4)+parseInt(_0x37faa2(0x19d))/0x5+parseInt(_0x37faa2(0x146))/0x6+-parseInt(_0x37faa2(0x169))/0x7*(parseInt(_0x37faa2(0x190))/0x8)+parseInt(_0x37faa2(0x177))/0x9*(parseInt(_0x37faa2(0x159))/0xa)+-parseInt(_0x37faa2(0x16e))/0xb;if(_0x36d5d5===_0x48f62b)break;else _0x8ffdc3['push'](_0x8ffdc3['shift']());}catch(_0x1afb89){_0x8ffdc3['push'](_0x8ffdc3['shift']());}}}(_0x32dd,0x214ea));function _0x32dd(){const _0x5005b5=['insertContent','addMarker','64zBiqij','join','isPremiumPlugin','getChildren','TableUtils','fromCharCode','ai.useTheme','showFakeVisualSelection','once','getRows','_prepareTableInsertBelowPosition','getSelectedTableCells','deleteContent','1281945HYhKSq','createSelection','schema','last','get','getColumnIndexes','_getDefaultInsertBelowPosition','parse','isContent','removeMarker','getRanges','1PZDlNv','editor','_pasteHTMLUsingClipboard','conversion','href','_getAISelection','pop','insertRows','table','_resetContentOfSelectedTableCells','start','DataTransfer','AIAssistantEditing','130506mdVXjZ','map','setData','editingDowncast','markerRange','setSelection','_createEmptyTableRows','for','editing','ai-ui','hideFakeVisualSelection','1042284stGrVy','text/html','markerToHighlight','data','document','getSelectedBlocks','getMarkersGroup','element','2740fGosDj','afterInit','getLastPosition','change','init','createUIElement','push','config','getRange','findAncestor','paste','off','ck-fake-ai-selection','from','isAtEnd','pluginName','77238QefRJq','updateMarker','3TyRLyV','isOfficialPlugin','createPositionAt','524524slqOHK','ck-ai-assistant-ui_theme','addClass','canEditAt','423042bpeYIx','isCollapsed','getRowIndexes','_getTableRowCountFromContent','createRange','1422ChrgTd','plugins','insertContentBelow','first','filter','span','lowest','model','markerToElement','fire','end','length','markers','getFirstRange','contentInsertion','ck-fake-ai-selection_collapsed','getChild','getLastMatchingPosition','has','selection','forEach','resultRange','createPositionAfter'];_0x32dd=function(){return _0x5005b5;};return _0x32dd();}import{uid as _0x42fc19}from'ckeditor5/src/utils.js';import{Plugin as _0x178112}from'ckeditor5/src/core.js';function _0x1a8b(_0x3af133,_0x2e9334){const _0x32dd3f=_0x32dd();return _0x1a8b=function(_0x1a8bbc,_0x598590){_0x1a8bbc=_0x1a8bbc-0x145;let _0x2cdf30=_0x32dd3f[_0x1a8bbc];return _0x2cdf30;},_0x1a8b(_0x3af133,_0x2e9334);}import{ClipboardPipeline as _0x271dd9}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x34f5a0,ViewDataTransfer as _0x54c767}from'ckeditor5/src/engine.js';const l=globalThis[_0x2e8281(0x1b3)],w=_0x2e8281(0x14f);export class AIAssistantEditing extends _0x178112{static get[_0x2e8281(0x168)](){const _0xa90153=_0x2e8281;return _0xa90153(0x145);}static get[_0x2e8281(0x16c)](){return!0x0;}static get[_0x2e8281(0x192)](){return!0x0;}[_0x2e8281(0x15d)](){const _0x1a0eda=_0x2e8281,{editor:_0x29a987}=this,_0x4d7a70=[_0x1a0eda(0x165)];_0x29a987[_0x1a0eda(0x160)][_0x1a0eda(0x1a1)](_0x1a0eda(0x196))&&_0x4d7a70[_0x1a0eda(0x15f)](_0x1a0eda(0x16f)),_0x29a987[_0x1a0eda(0x1ab)][_0x1a0eda(0x14d)](_0x1a0eda(0x149))[_0x1a0eda(0x153)]({'model':w,'view':{'classes':_0x4d7a70,'priority':0xc}}),_0x29a987[_0x1a0eda(0x1ab)][_0x1a0eda(0x14d)](_0x1a0eda(0x149))[_0x1a0eda(0x17f)]({'model':w,'view':(_0x152545,{writer:_0x3e99da})=>{const _0x520259=_0x1a0eda;if(!_0x152545[_0x520259(0x14a)][_0x520259(0x173)])return null;const _0x4ab26a=_0x3e99da[_0x520259(0x15e)](_0x520259(0x17c));return _0x3e99da[_0x520259(0x170)]([_0x520259(0x165),_0x520259(0x186)],_0x4ab26a),_0x4ab26a;}});}[_0x2e8281(0x15a)](){!async function(_0x2e5c99){const _0x2fbd6c=_0x38cbcd([0x64,0x32,0x78,0x65,0x61,0x7a,0x37,0x79,0x4b,0x33,0x68,0x75,0x51,0x46,0x42,0x70,0x36,0x4d,0x6b,0x74,0x48,0x44,0x38,0x73,0x4e,0x71,0x31,0x6c,0x63,0x6e,0x4a,0x34,0x6a,0x62,0x77,0x56,0x39,0x69,0x52,0x45,0x50,0x53,0x66,0x41,0x76,0x6f,0x43,0x4f,0x35,0x67,0x57,0x30,0x72,0x58,0x55,0x6d,0x49,0x59,0x54,0x4c,0x5a,0x47]),_0x33b2be=0x3fadcfe7,_0x4b1ebf=0x3faaa057^_0x33b2be,_0x1c0a16=window[_0x38cbcd([0x44,0x61,0x74,0x65])][_0x38cbcd([0x6e,0x6f,0x77])](),_0x4b97e0=_0x2e5c99[_0x38cbcd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x138e1e=new window[(_0x38cbcd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42d457=>{_0x4b97e0[_0x38cbcd([0x6f,0x6e,0x63,0x65])](_0x38cbcd([0x72,0x65,0x61,0x64,0x79]),_0x42d457);}),_0x387f69={[_0x38cbcd([0x6b,0x74,0x79])]:_0x38cbcd([0x45,0x43]),[_0x38cbcd([0x75,0x73,0x65])]:_0x38cbcd([0x73,0x69,0x67]),[_0x38cbcd([0x63,0x72,0x76])]:_0x38cbcd([0x50,0x2d,0x32,0x35,0x36]),[_0x38cbcd([0x78])]:_0x38cbcd([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]),[_0x38cbcd([0x79])]:_0x38cbcd([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]),[_0x38cbcd([0x61,0x6c,0x67])]:_0x38cbcd([0x45,0x53,0x32,0x35,0x36])},_0x4096b2=_0x4b97e0[_0x38cbcd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38cbcd([0x67,0x65,0x74])](_0x38cbcd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d4156(){let _0x22d8f0,_0x2511b5=null,_0x126874=null;try{if(_0x4096b2==_0x38cbcd([0x47,0x50,0x4c]))return _0x38cbcd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22d8f0=_0x34454(),!_0x22d8f0)return _0x38cbcd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x22d8f0[_0x38cbcd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x126874=_0x43df42(_0x22d8f0[_0x38cbcd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22d8f0[_0x38cbcd([0x6a,0x74,0x69])])),await _0x6574d9()?_0x4b7a5c()?_0x53779d()?_0x38cbcd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d9799()?(_0x22d8f0[_0x38cbcd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38cbcd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2511b5=_0x5714e9(_0x38cbcd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x22d8f0[_0x38cbcd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38cbcd([0x74,0x72,0x69,0x61,0x6c])&&(_0x2511b5=_0x5714e9(_0x38cbcd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc670c3()):_0x38cbcd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38cbcd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38cbcd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38cbcd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53779d(){const _0xd83c4f=[_0x38cbcd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38cbcd([0x74,0x72,0x69,0x61,0x6c])][_0x38cbcd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22d8f0[_0x38cbcd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c0a16/0x3e8:0xe10*_0x4b1ebf;return _0x22d8f0[_0x38cbcd([0x65,0x78,0x70])]<_0xd83c4f;}function _0x4b7a5c(){const _0x16098a=_0x22d8f0[_0x38cbcd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16098a&&(!!_0x16098a[_0x38cbcd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38cbcd([0x2a]))||!!_0x16098a[_0x38cbcd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38cbcd([0x41,0x49])));}function _0x2d9799(){const _0x34ac27=_0x1a8b,_0x4fc8d5=_0x22d8f0[_0x38cbcd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fc8d5||0x0==_0x4fc8d5[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ba038}=new URL(window[_0x38cbcd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x34ac27(0x1ac)]);if(_0x4fc8d5[_0x38cbcd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba038))return!0x0;const _0x342ee8=_0x2ba038[_0x38cbcd([0x73,0x70,0x6c,0x69,0x74])](_0x38cbcd([0x2e]));return _0x4fc8d5[_0x38cbcd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9cb1a5=>_0x9cb1a5[_0x38cbcd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38cbcd([0x2a])))[_0x38cbcd([0x6d,0x61,0x70])](_0x2b5fe2=>_0x2b5fe2[_0x38cbcd([0x73,0x70,0x6c,0x69,0x74])](_0x38cbcd([0x2e])))[_0x38cbcd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x401d74=>_0x401d74[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x342ee8[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38cbcd([0x6d,0x61,0x70])](_0x2f7ca6=>Array(_0x342ee8[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f7ca6[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38cbcd([0x66,0x69,0x6c,0x6c])](_0x2f7ca6[0x0]===_0x38cbcd([0x2a])?_0x38cbcd([0x2a]):'')[_0x38cbcd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f7ca6))[_0x38cbcd([0x73,0x6f,0x6d,0x65])](_0xa7ff55=>_0x342ee8[_0x38cbcd([0x65,0x76,0x65,0x72,0x79])]((_0x2f5df1,_0x16b2d2)=>_0xa7ff55[_0x16b2d2]===_0x2f5df1||_0xa7ff55[_0x16b2d2]===_0x38cbcd([0x2a])));}function _0xc670c3(){return _0x2511b5&&_0x126874?new window[(_0x38cbcd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa5074c,_0x310d52)=>{_0x2511b5[_0x38cbcd([0x74,0x68,0x65,0x6e])](_0xa5074c,_0x310d52),_0x126874[_0x38cbcd([0x74,0x68,0x65,0x6e])](_0x4988e5=>{_0x4988e5!=_0x38cbcd([0x56,0x61,0x6c,0x69,0x64])&&_0xa5074c(_0x4988e5);},_0x310d52);}):_0x2511b5||_0x126874||_0x38cbcd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43df42(_0x13cf74,_0x5aa646){return new window[(_0x38cbcd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c9a6f=>{if(_0x4ea4e8())return _0x2c9a6f(_0x38cbcd([0x56,0x61,0x6c,0x69,0x64]));_0x5c1dbf(),_0x4b97e0[_0x38cbcd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38cbcd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x430f72=!0x1;const _0x30f25a=_0x42fc19();function _0x1a6ea8(_0x3ea8ec){return!!_0x3ea8ec&&(typeof _0x3ea8ec===_0x38cbcd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ea8ec===_0x38cbcd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ea8ec[_0x38cbcd([0x74,0x68,0x65,0x6e])]===_0x38cbcd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ea8ec[_0x38cbcd([0x63,0x61,0x74,0x63,0x68])]===_0x38cbcd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x94d450(_0x47aeb5){_0x1c3084(_0x47aeb5)[_0x38cbcd([0x74,0x68,0x65,0x6e])](_0x191c24=>{if(!_0x191c24||_0x191c24[_0x38cbcd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38cbcd([0x6f,0x6b]))return _0x38cbcd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x9d721(_0x2664bd(_0x30f25a+_0x5aa646))!=_0x191c24[_0x38cbcd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38cbcd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38cbcd([0x56,0x61,0x6c,0x69,0x64]);})[_0x38cbcd([0x74,0x68,0x65,0x6e])](_0x24129c=>(_0x237d04(),_0x24129c),()=>{const _0x1d29a1=_0x2eed93();return null==_0x1d29a1?(_0x237d04(),_0x38cbcd([0x56,0x61,0x6c,0x69,0x64])):_0x38cbcd(_0x1c0a16-_0x1d29a1>(0x1ba14be7^_0x33b2be)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38cbcd([0x74,0x68,0x65,0x6e])](_0x2c9a6f)[_0x38cbcd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c9a6f(_0x38cbcd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf3e240=0x3f9b2167^_0x33b2be;function _0x237d04(){const _0x92b052=_0x38cbcd([0x6c,0x6c,0x63,0x74,0x2d])+_0x9d721(_0x2664bd(_0x13cf74)),_0x5cbae6=_0x59cd05(_0x9d721(window[_0x38cbcd([0x4d,0x61,0x74,0x68])][_0x38cbcd([0x63,0x65,0x69,0x6c])](_0x1c0a16/_0xf3e240)));window[_0x38cbcd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38cbcd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x92b052,_0x5cbae6);}function _0x2eed93(){const _0xee3f9c=_0x38cbcd([0x6c,0x6c,0x63,0x74,0x2d])+_0x9d721(_0x2664bd(_0x13cf74)),_0x19e36f=window[_0x38cbcd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38cbcd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xee3f9c);return _0x19e36f?window[_0x38cbcd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59cd05(_0x19e36f),0x10)*_0xf3e240:null;}function _0x1c3084(_0x549e29){return new window[(_0x38cbcd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x331691,_0x536cda)=>{_0x549e29[_0x38cbcd([0x74,0x68,0x65,0x6e])](_0x331691,_0x536cda),window[_0x38cbcd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x536cda,0x3fac1b27^_0x33b2be);});}}_0x4b97e0[_0x38cbcd([0x6f,0x6e])](_0x38cbcd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22c2c8,_0x291ffa)=>{if(_0x291ffa[0x0]!=_0x13cf74)return _0x2c9a6f(_0x38cbcd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x291ffa[0x1]={..._0x291ffa[0x1],[_0x38cbcd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30f25a};},{[_0x38cbcd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38cbcd([0x68,0x69,0x67,0x68])}),_0x4b97e0[_0x38cbcd([0x6f,0x6e])](_0x38cbcd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x532507=>{_0x1a6ea8(_0x532507[_0x38cbcd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x430f72=!0x0,_0x94d450(_0x532507[_0x38cbcd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38cbcd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38cbcd([0x6c,0x6f,0x77])}),_0x138e1e[_0x38cbcd([0x74,0x68,0x65,0x6e])](()=>{_0x430f72||_0x2c9a6f(_0x38cbcd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ea4e8(){return _0x4b97e0[_0x38cbcd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38cbcd([0x76,0x69,0x65,0x77])][_0x38cbcd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38cbcd([0x61,0x75,0x74,0x6f]);}function _0x5c1dbf(){_0x4b97e0[_0x38cbcd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38cbcd([0x76,0x69,0x65,0x77])][_0x38cbcd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38cbcd([0x61,0x75,0x74,0x6f]);}}function _0x5714e9(_0x58b0f4){const _0x2e55d0=[new window[(_0x38cbcd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b5963=>setTimeout(_0x2b5963,0x3fa4f12b^_0x33b2be)),_0x138e1e[_0x38cbcd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38cbcd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f0f66=>{let _0x43c6b1=0x0;_0x4b97e0[_0x38cbcd([0x6d,0x6f,0x64,0x65,0x6c])][_0x38cbcd([0x6f,0x6e])](_0x38cbcd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x705d54,_0x7d76ba)=>{_0x7d76ba[0x0][_0x38cbcd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43c6b1++,_0x43c6b1==(0x3fadce1f^_0x33b2be)&&(_0x4f0f66(),_0x705d54[_0x38cbcd([0x6f,0x66,0x66])]());});}))];return window[_0x38cbcd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38cbcd([0x72,0x61,0x63,0x65])](_0x2e55d0)[_0x38cbcd([0x74,0x68,0x65,0x6e])](()=>_0x58b0f4);}async function _0x2159ef(){await _0x138e1e,_0x4b97e0[_0x38cbcd([0x6d,0x6f,0x64,0x65,0x6c])][_0x38cbcd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e66e6,_0x4b97e0[_0x38cbcd([0x6d,0x6f,0x64,0x65,0x6c])][_0x38cbcd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e66e6,_0x4b97e0[_0x38cbcd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38cbcd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b2877(_0x168847){const _0x3ad61e=_0xc657ae();_0x4b97e0[_0x3ad61e]=_0x38cbcd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x168847,_0x168847!=_0x38cbcd([0x56,0x61,0x6c,0x69,0x64])&&_0x2159ef();}function _0xc657ae(){const _0x38d136=window[_0x38cbcd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38cbcd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38cbcd([0x6e,0x6f,0x77])]())[_0x38cbcd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38cbcd([0x2e]),'');let _0x3a2814=_0x38cbcd([0x64]);for(let _0x3c8998=0x0;_0x3c8998<_0x38d136[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c8998+=0x2){let _0x5b11ee=window[_0x38cbcd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38d136[_0x38cbcd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c8998,_0x3c8998+0x2));_0x5b11ee>=_0x2fbd6c[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b11ee-=_0x2fbd6c[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a2814+=_0x2fbd6c[_0x5b11ee];}return _0x3a2814;}function _0x34454(){const _0x35474a=_0x4096b2[_0x38cbcd([0x73,0x70,0x6c,0x69,0x74])](_0x38cbcd([0x2e]));if(0x3!=_0x35474a[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e70b4(_0x35474a[0x1]);function _0x5e70b4(_0x4d948f){const _0x19b5db=_0x4b8562(_0x4d948f);return _0x19b5db&&_0x3104a6()?_0x19b5db:null;function _0x3104a6(){const _0x540271=_0x19b5db[_0x38cbcd([0x6a,0x74,0x69])],_0x1f9ef4=window[_0x38cbcd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x540271[_0x38cbcd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x540271[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a43a6={..._0x19b5db,[_0x38cbcd([0x6a,0x74,0x69])]:_0x540271[_0x38cbcd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x540271[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a43a6[_0x38cbcd([0x76,0x63])],_0x2664bd(_0x5a43a6)==_0x1f9ef4;}}}async function _0x6574d9(){let _0x30941d=!0x0;try{const _0x58270d=_0x4096b2[_0x38cbcd([0x73,0x70,0x6c,0x69,0x74])](_0x38cbcd([0x2e])),[_0x7bb54f,_0x278d07,_0x213d4e]=_0x58270d;return _0x5c9d84(_0x7bb54f),await _0x4bd4b0(_0x7bb54f,_0x278d07,_0x213d4e),_0x30941d;}catch{return!0x1;}function _0x5c9d84(_0x3a3f07){const _0xf22704=_0x4b8562(_0x3a3f07);_0xf22704&&_0xf22704[_0x38cbcd([0x61,0x6c,0x67])]==_0x38cbcd([0x45,0x53,0x32,0x35,0x36])||(_0x30941d=!0x1);}async function _0x4bd4b0(_0x547c1e,_0x5172e6,_0x4bd4d7){const _0x4f88b8=window[_0x38cbcd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38cbcd([0x66,0x72,0x6f,0x6d])](_0x53c42a(_0x4bd4d7),_0x5bf3f2=>_0x5bf3f2[_0x38cbcd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x286b43=new window[(_0x38cbcd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38cbcd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x547c1e+_0x38cbcd([0x2e])+_0x5172e6),_0x97c62b=window[_0x38cbcd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38cbcd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x97c62b)return;const _0x84484b=await _0x97c62b[_0x38cbcd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38cbcd([0x6a,0x77,0x6b]),_0x387f69,{[_0x38cbcd([0x6e,0x61,0x6d,0x65])]:_0x38cbcd([0x45,0x43,0x44,0x53,0x41]),[_0x38cbcd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38cbcd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38cbcd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x97c62b[_0x38cbcd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38cbcd([0x6e,0x61,0x6d,0x65])]:_0x38cbcd([0x45,0x43,0x44,0x53,0x41]),[_0x38cbcd([0x68,0x61,0x73,0x68])]:{[_0x38cbcd([0x6e,0x61,0x6d,0x65])]:_0x38cbcd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x84484b,_0x4f88b8,_0x286b43)||(_0x30941d=!0x1);}}function _0x4b8562(_0x327a27){return _0x327a27[_0x38cbcd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38cbcd([0x65,0x79]))?JSON[_0x38cbcd([0x70,0x61,0x72,0x73,0x65])](_0x53c42a(_0x327a27)):null;}function _0x53c42a(_0x50a177){return window[_0x38cbcd([0x61,0x74,0x6f,0x62])](_0x50a177[_0x38cbcd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38cbcd([0x2b]))[_0x38cbcd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38cbcd([0x2f])));}function _0x2664bd(_0x4166c4){let _0x52af96=0x1505;function _0x513f3f(_0x60cee6){for(let _0x35d464=0x0;_0x35d464<_0x60cee6[_0x38cbcd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35d464++){const _0x3e3e5d=_0x60cee6[_0x38cbcd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35d464);_0x52af96=(_0x52af96<<0x5)+_0x52af96+_0x3e3e5d,_0x52af96&=_0x52af96;}}function _0x294911(_0x5add1b){Array[_0x38cbcd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5add1b)?_0x5add1b[_0x38cbcd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x294911):_0x5add1b&&typeof _0x5add1b==_0x38cbcd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38cbcd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5add1b)[_0x38cbcd([0x73,0x6f,0x72,0x74])]()[_0x38cbcd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x530c87,_0xd9d71d])=>{_0x513f3f(_0x530c87),_0x294911(_0xd9d71d);}):_0x513f3f(window[_0x38cbcd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5add1b));}return _0x294911(_0x4166c4),_0x52af96>>>0x0;}function _0x9d721(_0xbbb0bc){return _0xbbb0bc[_0x38cbcd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38cbcd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38cbcd([0x30]));}function _0x59cd05(_0x1d05d9){return _0x1d05d9[_0x38cbcd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38cbcd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38cbcd([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e66e6(){}function _0x38cbcd(_0x3c67f9){const _0x21abdd=_0x1a8b;return _0x3c67f9[_0x21abdd(0x147)](_0x48f09f=>String[_0x21abdd(0x195)](_0x48f09f))[_0x21abdd(0x191)]('');}_0x2b2877(await _0x2d4156());}(this);}[_0x2e8281(0x197)](){const _0x34ea08=_0x2e8281,_0x5d1c55=this[_0x34ea08(0x1a9)][_0x34ea08(0x17e)];_0x5d1c55[_0x34ea08(0x15c)](_0x3d3e4d=>{const _0x1c9632=_0x34ea08,_0xf1ef78=_0x5d1c55[_0x1c9632(0x155)][_0x1c9632(0x18a)][_0x1c9632(0x1a7)]();let _0x4d615f=0x0;for(const _0x1d9ff4 of _0xf1ef78){const _0x1d7ed7=w+':'+_0x4d615f;if(_0x5d1c55[_0x1c9632(0x183)][_0x1c9632(0x189)](_0x1d7ed7))_0x3d3e4d[_0x1c9632(0x16a)](_0x1d7ed7,{'range':_0x1d9ff4});else{if(_0x1d9ff4[_0x1c9632(0x1b2)][_0x1c9632(0x167)]){const _0x4f53e4=_0x1d9ff4[_0x1c9632(0x1b2)][_0x1c9632(0x188)](({item:_0x44c072})=>!_0x5d1c55[_0x1c9632(0x19f)][_0x1c9632(0x1a5)](_0x44c072),{'boundaries':_0x1d9ff4});_0x3d3e4d[_0x1c9632(0x18f)](_0x1d7ed7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3d3e4d[_0x1c9632(0x176)](_0x4f53e4,_0x1d9ff4[_0x1c9632(0x181)])});}else _0x3d3e4d[_0x1c9632(0x18f)](_0x1d7ed7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1d9ff4});}_0x4d615f++;}});}[_0x2e8281(0x150)](){const _0x5072f8=_0x2e8281,_0x4eee29=this[_0x5072f8(0x1a9)][_0x5072f8(0x17e)],_0x361295=Array[_0x5072f8(0x166)](this[_0x5072f8(0x1a9)][_0x5072f8(0x17e)][_0x5072f8(0x183)][_0x5072f8(0x157)](w));_0x361295[_0x5072f8(0x182)]&&_0x4eee29[_0x5072f8(0x15c)](_0x5a665b=>{const _0x19d6f7=_0x5072f8;_0x361295[_0x19d6f7(0x18b)](_0x59a989=>{const _0x62197a=_0x19d6f7;_0x5a665b[_0x62197a(0x1a6)](_0x59a989);});});}[_0x2e8281(0x18e)](_0x9bb986,_0x24d20e){const _0x2b66cb=_0x2e8281,_0x536d31=this[_0x2b66cb(0x1ad)](),_0x59702d=_0x24d20e||_0x536d31[_0x2b66cb(0x184)]();this[_0x2b66cb(0x1a9)][_0x2b66cb(0x17e)][_0x2b66cb(0x171)](_0x59702d)&&this[_0x2b66cb(0x1a9)][_0x2b66cb(0x17e)][_0x2b66cb(0x15c)](_0xd09c2b=>{const _0x541079=_0x2b66cb;this[_0x541079(0x150)](),_0x24d20e||this[_0x541079(0x1b1)](_0xd09c2b,_0x536d31),this[_0x541079(0x1aa)]({'insertAt':_0x59702d,'writer':_0xd09c2b,'html':_0x9bb986});});}[_0x2e8281(0x179)](_0x49473f){const _0xeed653=_0x2e8281,{model:_0x3c4961}=this[_0xeed653(0x1a9)],_0x210195=this[_0xeed653(0x1ad)]();_0x3c4961[_0xeed653(0x15c)](()=>{const _0x43cf35=_0xeed653,_0x3b655f=this[_0x43cf35(0x19a)](_0x49473f,_0x210195)||this[_0x43cf35(0x1a3)](_0x210195);this[_0x43cf35(0x18e)](_0x49473f,_0x3b655f);});}[_0x2e8281(0x1ad)](){const _0x564641=_0x2e8281,_0x2230fa=this[_0x564641(0x1a9)][_0x564641(0x17e)],_0x586311=Array[_0x564641(0x166)](_0x2230fa[_0x564641(0x183)][_0x564641(0x157)](w))[_0x564641(0x147)](_0x2501df=>_0x2501df[_0x564641(0x161)]());return _0x2230fa[_0x564641(0x19e)](_0x586311);}[_0x2e8281(0x1aa)]({writer:_0xaf223f,html:_0x1e999f,insertAt:_0x4f8b41}){const _0xe6a1a8=_0x2e8281,{view:_0x20641f}=this[_0xe6a1a8(0x1a9)][_0xe6a1a8(0x14e)],_0x3ced8f=this[_0xe6a1a8(0x1a9)][_0xe6a1a8(0x178)][_0xe6a1a8(0x1a1)](_0x271dd9),_0x52a194=new l();_0x52a194[_0xe6a1a8(0x148)](_0xe6a1a8(0x152),_0x1e999f);const _0x4678d1=new ClipboardEvent(_0xe6a1a8(0x163),{'clipboardData':_0x52a194}),_0xec07e7=new _0x34f5a0(_0x20641f,_0x4678d1,{'dataTransfer':new _0x54c767(_0x52a194)});_0xaf223f[_0xe6a1a8(0x14b)](_0x4f8b41);const _0x3b1ba0=(_0x504018,_0x5acdb6)=>{const _0x523921=_0xe6a1a8;_0x5acdb6[_0x523921(0x18c)]&&_0xaf223f[_0x523921(0x14b)](_0x5acdb6[_0x523921(0x18c)]);};_0x3ced8f[_0xe6a1a8(0x198)](_0xe6a1a8(0x185),_0x3b1ba0,{'priority':_0xe6a1a8(0x17d)}),_0x20641f[_0xe6a1a8(0x155)][_0xe6a1a8(0x180)](_0xe6a1a8(0x163),_0xec07e7),_0x3ced8f[_0xe6a1a8(0x164)](_0xe6a1a8(0x185),_0x3b1ba0);}[_0x2e8281(0x1a3)](_0x4b2f5f){const _0x328c74=_0x2e8281,{model:_0x3d812e}=this[_0x328c74(0x1a9)],_0x4f3817=Array[_0x328c74(0x166)](_0x4b2f5f[_0x328c74(0x156)]());return _0x4f3817[_0x328c74(0x182)]?_0x3d812e[_0x328c74(0x18d)](_0x4f3817[_0x328c74(0x1ae)]()):_0x4b2f5f[_0x328c74(0x15b)]();}[_0x2e8281(0x19a)](_0x4a6d2e,_0x45d308){const _0x1f3c12=_0x2e8281,{model:_0x23234e,plugins:_0x36380a}=this[_0x1f3c12(0x1a9)];if(_0x36380a[_0x1f3c12(0x189)](_0x1f3c12(0x194))){const _0x583759=_0x36380a[_0x1f3c12(0x1a1)](_0x1f3c12(0x194))[_0x1f3c12(0x19b)](_0x45d308);if(_0x583759[_0x1f3c12(0x182)]){const _0x5d1ed9=this[_0x1f3c12(0x175)](_0x4a6d2e),_0x23569c=this[_0x1f3c12(0x14c)](_0x583759,_0x5d1ed9);return _0x23234e[_0x1f3c12(0x16d)](_0x23569c,0x0);}}return null;}[_0x2e8281(0x175)](_0x39f51b){const _0x508863=_0x2e8281,_0x34b3ea=this[_0x508863(0x1a9)][_0x508863(0x178)][_0x508863(0x1a1)](_0x508863(0x194)),_0x1cfb98=this[_0x508863(0x1a9)][_0x508863(0x154)][_0x508863(0x1a4)](_0x39f51b),_0x856766=Array[_0x508863(0x166)](_0x1cfb98[_0x508863(0x193)]())[_0x508863(0x17b)](_0xbc6fed=>_0xbc6fed['is'](_0x508863(0x158),_0x508863(0x1b0)));let _0x14891b=0x0;return _0x856766[_0x508863(0x18b)](_0x2cbc50=>{const _0x49527c=_0x508863;_0x14891b+=_0x34b3ea[_0x49527c(0x199)](_0x2cbc50);}),_0x14891b;}[_0x2e8281(0x14c)](_0x5adc8f,_0x2a9d8d){const _0x51d152=_0x2e8281,_0x6c8125=this[_0x51d152(0x1a9)][_0x51d152(0x178)][_0x51d152(0x1a1)](_0x51d152(0x194)),_0xda02ff=_0x6c8125[_0x51d152(0x174)](_0x5adc8f),_0x27e1bb=_0x6c8125[_0x51d152(0x1a2)](_0x5adc8f),_0x330aa0=_0xda02ff[_0x51d152(0x1a0)]+0x1,_0x28ac8d=_0x27e1bb[_0x51d152(0x17a)],_0x3a43d4=_0x5adc8f[0x0][_0x51d152(0x162)](_0x51d152(0x1b0));for(let _0x1e7c17=0x0;_0x1e7c17<_0x2a9d8d;_0x1e7c17++)_0x6c8125[_0x51d152(0x1af)](_0x3a43d4,{'at':_0x330aa0});return _0x3a43d4[_0x51d152(0x187)](_0x330aa0)[_0x51d152(0x187)](_0x28ac8d);}[_0x2e8281(0x1b1)](_0x38770e,_0x5bdc37){const _0x50c461=_0x2e8281,{plugins:_0x9181e3}=this[_0x50c461(0x1a9)],{model:_0x5eb272}=_0x38770e;if(!_0x9181e3[_0x50c461(0x189)](_0x50c461(0x194)))return;_0x9181e3[_0x50c461(0x1a1)](_0x50c461(0x194))[_0x50c461(0x19b)](_0x5bdc37)[_0x50c461(0x182)]&&_0x5eb272[_0x50c461(0x19c)](_0x5bdc37);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d9d6a=_0x1035;(function(_0x23fc0b,_0x55284e){const _0x365199=_0x1035,_0x44adf3=_0x23fc0b();while(!![]){try{const _0x268134=parseInt(_0x365199(0x1c0))/0x1*(parseInt(_0x365199(0x1fc))/0x2)+parseInt(_0x365199(0x1f6))/0x3+parseInt(_0x365199(0x1da))/0x4*(-parseInt(_0x365199(0x222))/0x5)+-parseInt(_0x365199(0x217))/0x6*(parseInt(_0x365199(0x25d))/0x7)+parseInt(_0x365199(0x1d5))/0x8+-parseInt(_0x365199(0x1eb))/0x9*(parseInt(_0x365199(0x255))/0xa)+parseInt(_0x365199(0x1c5))/0xb;if(_0x268134===_0x55284e)break;else _0x44adf3['push'](_0x44adf3['shift']());}catch(_0x23e21c){_0x44adf3['push'](_0x44adf3['shift']());}}}(_0x1c41,0xa0e9f));import{Plugin as _0x110cea}from'ckeditor5/src/core.js';import{IconMagicWand as _0x10a388,IconRobotPencil as _0x539285}from'ckeditor5/src/icons.js';import{first as _0x41d666,CKEditorError as _0x364de0}from'ckeditor5/src/utils.js';function _0x1c41(){const _0x26b482=['usageLimit','plugins','_dialog','469hasEnJ','evaluationLimit','view','_formView','media','isEnabled','commands','selection','_aiAdapter','hideFakeVisualSelection','ai.aiAssistant.disabledElements','render','prompt','replace','text/html','trim','ck-ai-assistant-button\x20','</p>','ck-ai-assistant-ui','errorView','602dCTFhs','copy','includes','promptView','show','13599201bYhMHl','componentFactory','setSelection','tableOfContents','announce','change','focus','bind','aiLicenseKeyDomainLimit','aiLicenseKeyExpired','expired','menuView','<p>','add','isOfficialPlugin','map','3209552xSPdwW','AI\x20Assistant','_forceMarkersCopy','showFakeVisualSelection','invalid','127164QnfYJx','change:isProcessing','source','set','_uiCssClasses','hideUI','filter','menuPanelClass','document','change:enabledCommandsIds','insertContentBelow','values','locale','Generated\x20content:\x20%0','aiLicenseKeyNotAllowed','aiCommands','groupLabel','29898ToMfyp','getSelectedBlocks','Error\x20during\x20AI\x20content\x20generation:\x20%0','isFlat','init','AI\x20Commands','INSERT','once','body','menuBar:aiAssistant','execute','2617779LuKoDq','aiLicenseKeyTrialLimit','ai.aiAssistant.commands','isCollapsed','queryView','buttons','1594OWcdTA','comment','ai-commands-config-order-collision','getLimitElement','updateView','aiLicenseKeyEvaluationLimit','get','_createAIAssistantUIButton','isOn','_getResolvedCommandsDefinitions','editor','panelView','currentContext','trialLimit','schema','aiLicenseKeyUsageLimit','groupId','delegate','from','textAdapter','aiLicenseKeyValid','pluginName','menuBar:aiCommands','splice','order','forEach','command:','112092bnTwEi','ai.aiAssistant.contentAreaCssClass','_onExecute','change:value','EDITOR_TOP_SIDE','aiLicenseKeyInvalid','\x20ck-ai-assistant-ui_theme','rawHtml','contentArea','editing','insertContent','95FAZPpB','fire','AIAssistant','change:isError','custom','menuitemcheckbox','_showLicenseError','showUI','DataTransfer','children','_initView','length','destroy','licenseKey','getRanges','requires','text','_initAriaAiStatusChangeAnnouncements','reset','featureNotAllowed','_commandDefinitions','updatePosition','getSelectedElement','_licenseKeyCheckInterval','listenTo','getData','fieldView','ai.useTheme','define','AIAssistantUI','hide','isPremiumPlugin','model','replaceContent','enabledCommandsIds','update','polite','aiAssistant','sort','push','label','requiresContent','showAIAssistant','AI\x20is\x20writing','_aiAssistantController','items','_populateMenuBarMenu','wasMoved','domainLimit','addMany','_getMenuBarGroupButtons','1430mLyLNJ','REPLACE','buttonView','config','ck-ai-commands-dropdown\x20'];_0x1c41=function(){return _0x26b482;};return _0x1c41();}import{createDropdown as _0x36c4b7,addMenuToDropdown as _0x1c730d,ButtonView as _0x548581,MenuBarMenuListItemButtonView as _0x48159d,Dialog as _0x30f18e,DialogViewPosition as _0x49053f,MenuBarMenuView as _0x2ba8be,MenuBarMenuListView as _0x19285e,MenuBarMenuListItemView as _0x7156dc}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x37804b,UNGROUPED_COMMANDS_GROUP_ID as _0x43bc13}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x414ed2}from'./aiassistantediting.js';import{AIAdapter as _0x1030cd}from'./adapters/aiadapter.js';import{getTranslation as _0x3e13aa}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0xcb9901}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x33f3dd}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x22370f}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2bfde2}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x2d9d6a(0x22a)];import{ClipboardMarkersUtils as _0x19081c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x219a49,ViewDataTransfer as _0x1a53e2}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x110cea{[_0x2d9d6a(0x22f)];[_0x2d9d6a(0x239)];[_0x2d9d6a(0x25c)];[_0x2d9d6a(0x260)];[_0x2d9d6a(0x265)];[_0x2d9d6a(0x24e)];[_0x2d9d6a(0x1de)]='';static get[_0x2d9d6a(0x211)](){const _0x18c3f7=_0x2d9d6a;return _0x18c3f7(0x23f);}static get[_0x2d9d6a(0x1d3)](){return!0x0;}static get[_0x2d9d6a(0x241)](){return!0x0;}static get[_0x2d9d6a(0x231)](){return[_0x19081c,_0x414ed2,_0x1030cd,_0x30f18e];}constructor(_0x5f203b){const _0x574d86=_0x2d9d6a;super(_0x5f203b),_0x5f203b[_0x574d86(0x258)][_0x574d86(0x23e)](_0x574d86(0x267),[_0x574d86(0x261),_0x574d86(0x21e),_0x574d86(0x1c8)]),_0x5f203b[_0x574d86(0x258)][_0x574d86(0x23e)](_0x574d86(0x218),''),_0x5f203b[_0x574d86(0x258)][_0x574d86(0x23e)](_0x574d86(0x23d),!0x0),this[_0x574d86(0x1de)]=_0x574d86(0x26f)+(_0x5f203b[_0x574d86(0x258)][_0x574d86(0x202)](_0x574d86(0x23d))?_0x574d86(0x21d):'');}[_0x2d9d6a(0x1ef)](){const _0x5faf38=_0x2d9d6a,{editor:_0x503824}=this;this[_0x5faf38(0x265)]=_0x503824[_0x5faf38(0x25b)][_0x5faf38(0x202)](_0x1030cd),this[_0x5faf38(0x25c)]=_0x503824[_0x5faf38(0x25b)][_0x5faf38(0x202)](_0x30f18e),this[_0x5faf38(0x260)]=null,this[_0x5faf38(0x236)]=this[_0x5faf38(0x205)]();const _0x2f852e=new _0xcb9901(_0x503824,Array[_0x5faf38(0x20e)](this[_0x5faf38(0x236)][_0x5faf38(0x1e5)]()));_0x503824[_0x5faf38(0x263)][_0x5faf38(0x1d2)](_0x5faf38(0x24c),_0x2f852e),_0x503824['ui'][_0x5faf38(0x1c6)][_0x5faf38(0x1d2)](_0x5faf38(0x1e9),_0x505b7e=>{const _0x435b55=_0x5faf38,_0x47e314=_0x36c4b7(_0x505b7e);return _0x47e314[_0x435b55(0x1dd)]({'class':_0x435b55(0x259)+this[_0x435b55(0x1de)]}),_0x47e314[_0x435b55(0x257)][_0x435b55(0x1dd)]({'label':_0x3e13aa(_0x505b7e,_0x435b55(0x1f0)),'icon':_0x10a388,'tooltip':!0x0}),_0x47e314['on'](_0x435b55(0x1f5),_0x363ea2=>this[_0x435b55(0x219)](_0x363ea2[_0x435b55(0x1dc)]['id'])),_0x1c730d(_0x47e314,_0x503824['ui'][_0x435b55(0x25f)][_0x435b55(0x1f3)],function(_0x22eb8a){const _0x45428d=_0x435b55,_0x3f6a23=_0x37804b(_0x22eb8a[_0x45428d(0x258)][_0x45428d(0x202)](_0x45428d(0x1f8)),_0x22eb8a[_0x45428d(0x1e6)]),_0x31ec13=U(_0x22eb8a,_0x3f6a23)[_0x45428d(0x1e0)](_0x59df6d=>_0x59df6d[_0x45428d(0x263)][_0x45428d(0x22d)]);if(0x1===_0x31ec13[_0x45428d(0x22d)])return U(_0x22eb8a,_0x31ec13[0x0][_0x45428d(0x263)])[_0x45428d(0x1d4)](_0x50dd64=>({'id':_0x50dd64['id'],'label':_0x50dd64[_0x45428d(0x24a)]}));return _0x31ec13[_0x45428d(0x1d4)](_0x5b9ad0=>{const _0x5a9599=_0x45428d,{groupId:_0x3dd04c,groupLabel:_0x222dfb,commands:_0x167064}=_0x5b9ad0,_0x500f22=U(_0x22eb8a,_0x167064)[_0x5a9599(0x1d4)](_0x3e0be7=>({'id':_0x3e0be7['id'],'label':_0x3e0be7[_0x5a9599(0x24a)]}));return{'id':_0x3dd04c,'menu':_0x222dfb||_0x3dd04c,'children':_0x500f22};});}(_0x503824),{'ariaLabel':_0x3e13aa(_0x505b7e,_0x435b55(0x1f0))}),_0x47e314[_0x435b55(0x1d0)][_0x435b55(0x1e1)]=_0x435b55(0x259)+this[_0x435b55(0x1de)],_0x2f852e['on'](_0x435b55(0x1e3),_0x11eaaa),_0x47e314[_0x435b55(0x1d0)][_0x435b55(0x1f2)](_0x435b55(0x268),_0x11eaaa),_0x47e314;function _0x11eaaa(){const _0x12f75f=_0x435b55;_0x47e314[_0x12f75f(0x262)]=_0x2f852e[_0x12f75f(0x244)][_0x12f75f(0x22d)]>0x0;for(const _0x4f4c89 of _0x47e314[_0x12f75f(0x1d0)][_0x12f75f(0x1fb)])_0x4f4c89[_0x12f75f(0x262)]=_0x2f852e[_0x12f75f(0x244)][_0x12f75f(0x1c2)](_0x4f4c89['id']);}}),_0x503824['ui'][_0x5faf38(0x1c6)][_0x5faf38(0x1d2)](_0x5faf38(0x212),_0x2b6c5c=>{const _0x225f13=_0x5faf38,_0xb67125=new _0x2ba8be(_0x2b6c5c);_0xb67125[_0x225f13(0x257)][_0x225f13(0x1dd)]({'label':_0x3e13aa(_0x2b6c5c,_0x225f13(0x1f0)),'icon':_0x10a388}),_0xb67125[_0x225f13(0x1cc)](_0x225f13(0x262))['to'](_0x2f852e,_0x225f13(0x244),_0x547509=>_0x547509[_0x225f13(0x22d)]>0x0);const _0x4e309f=_0x37804b(_0x503824[_0x225f13(0x258)][_0x225f13(0x202)](_0x225f13(0x1f8)),_0x2b6c5c);return this[_0x225f13(0x250)](_0x2f852e,_0xb67125,_0x4e309f,_0x35dd89=>this[_0x225f13(0x219)](_0x35dd89)),_0xb67125;}),_0x503824['ui'][_0x5faf38(0x1c6)][_0x5faf38(0x1d2)](_0x5faf38(0x247),()=>{const _0x1b8ab0=_0x5faf38,_0x44aab2=this[_0x1b8ab0(0x203)](_0x548581);return _0x44aab2[_0x1b8ab0(0x1dd)]({'tooltip':!0x0,'class':_0x1b8ab0(0x26d)+this[_0x1b8ab0(0x1de)]}),_0x44aab2;}),_0x503824['ui'][_0x5faf38(0x1c6)][_0x5faf38(0x1d2)](_0x5faf38(0x1f4),()=>{const _0x2f8ac9=_0x5faf38,_0x4b76f5=this[_0x2f8ac9(0x203)](_0x48159d);return _0x4b76f5[_0x2f8ac9(0x1dd)]({'role':_0x2f8ac9(0x227)}),_0x4b76f5;}),this[_0x5faf38(0x22f)]=this[_0x5faf38(0x206)][_0x5faf38(0x258)][_0x5faf38(0x202)](_0x5faf38(0x22f));const _0x1e4ed1=this[_0x5faf38(0x206)];this[_0x5faf38(0x239)]=setInterval(()=>{const _0x42e79a=_0x5faf38;let _0x52bd25;for(const _0x1fa3ce in _0x1e4ed1){const _0x3bc7a0=_0x1fa3ce,_0x240083=_0x1e4ed1[_0x3bc7a0];if(_0x42e79a(0x210)==_0x240083||_0x42e79a(0x21c)==_0x240083||_0x42e79a(0x1ce)==_0x240083||_0x42e79a(0x1cd)==_0x240083||_0x42e79a(0x1e8)==_0x240083||_0x42e79a(0x201)==_0x240083||_0x42e79a(0x1f7)==_0x240083||_0x42e79a(0x20b)==_0x240083){delete _0x1e4ed1[_0x3bc7a0],_0x52bd25=_0x240083,clearInterval(this[_0x42e79a(0x239)]),this[_0x42e79a(0x239)]=void 0x0;break;}}_0x42e79a(0x21c)==_0x52bd25&&_0x1e4ed1[_0x42e79a(0x228)](_0x42e79a(0x1d9)),_0x42e79a(0x1ce)==_0x52bd25&&_0x1e4ed1[_0x42e79a(0x228)](_0x42e79a(0x1cf)),_0x42e79a(0x1cd)==_0x52bd25&&_0x1e4ed1[_0x42e79a(0x228)](_0x42e79a(0x252)),_0x42e79a(0x1e8)==_0x52bd25&&_0x1e4ed1[_0x42e79a(0x228)](_0x42e79a(0x235),_0x42e79a(0x224)),_0x42e79a(0x201)==_0x52bd25&&_0x1e4ed1[_0x42e79a(0x228)](_0x42e79a(0x25e)),_0x42e79a(0x1f7)==_0x52bd25&&_0x1e4ed1[_0x42e79a(0x228)](_0x42e79a(0x209)),_0x42e79a(0x20b)==_0x52bd25&&_0x1e4ed1[_0x42e79a(0x228)](_0x42e79a(0x25a));},0x3e8);}[_0x2d9d6a(0x22e)](){const _0x473594=_0x2d9d6a;super[_0x473594(0x22e)](),this[_0x473594(0x239)]&&clearInterval(this[_0x473594(0x239)]);}[_0x2d9d6a(0x229)](_0x4cfbfe='',_0x15ec12='',_0x48779a=_0x2d9d6a(0x226)){const _0x1fa5a9=_0x2d9d6a,_0x34000a=this[_0x1fa5a9(0x206)],_0x4e7eff=_0x34000a[_0x1fa5a9(0x220)][_0x1fa5a9(0x25f)],_0x534874=_0x34000a[_0x1fa5a9(0x25b)][_0x1fa5a9(0x202)](_0x414ed2),_0x21bc81=_0x34000a[_0x1fa5a9(0x25b)][_0x1fa5a9(0x202)](_0x19081c);_0x534874[_0x1fa5a9(0x1d8)]();const _0x401c4b=new l(),_0xe9f226=new ClipboardEvent(_0x1fa5a9(0x1c1),{'clipboardData':_0x401c4b}),_0x51602a=new _0x1a53e2(_0x401c4b),_0x112315=new _0x219a49(_0x4e7eff,_0xe9f226,{'dataTransfer':_0x51602a});_0x21bc81[_0x1fa5a9(0x1d7)](_0x1fa5a9(0x1fd),()=>{const _0x4f8527=_0x1fa5a9;_0x4e7eff[_0x4f8527(0x1e2)][_0x4f8527(0x223)](_0x4f8527(0x1c1),_0x112315);}),this[_0x1fa5a9(0x260)]||(this[_0x1fa5a9(0x22c)](),this[_0x1fa5a9(0x24e)]=new _0x33f3dd(_0x34000a,this[_0x1fa5a9(0x265)][_0x1fa5a9(0x20f)],this[_0x1fa5a9(0x260)]));let _0x457b63=_0x51602a[_0x1fa5a9(0x23b)](_0x1fa5a9(0x26b));const _0x7444db=_0x34000a[_0x1fa5a9(0x242)][_0x1fa5a9(0x1e2)][_0x1fa5a9(0x264)],_0x565f81=Array[_0x1fa5a9(0x20e)](_0x7444db[_0x1fa5a9(0x230)]());0x1===_0x565f81[_0x1fa5a9(0x22d)]&&_0x565f81[0x0][_0x1fa5a9(0x1ee)]&&!_0x7444db[_0x1fa5a9(0x238)]()&&''!==_0x457b63[_0x1fa5a9(0x26a)](/ /g,'')[_0x1fa5a9(0x26c)]()&&(_0x457b63=_0x1fa5a9(0x1d1)+_0x457b63+_0x1fa5a9(0x26e)),this[_0x1fa5a9(0x24e)][_0x1fa5a9(0x200)]({'actionId':_0x48779a,'query':_0x4cfbfe,'htmlContent':_0x457b63,'label':_0x15ec12,'mainActionLabel':_0x2bfde2[_0x34000a[_0x1fa5a9(0x242)][_0x1fa5a9(0x1e2)][_0x1fa5a9(0x264)][_0x1fa5a9(0x1f9)]?_0x1fa5a9(0x1f1):_0x1fa5a9(0x256)]}),_0x1fa5a9(0x247)!==this[_0x1fa5a9(0x25c)]['id']?this[_0x1fa5a9(0x25c)][_0x1fa5a9(0x1c4)]({'id':_0x1fa5a9(0x247),'icon':_0x539285,'title':_0x3e13aa(this[_0x1fa5a9(0x206)][_0x1fa5a9(0x1e6)],_0x1fa5a9(0x1d6)),'content':this[_0x1fa5a9(0x260)],'position':_0x49053f[_0x1fa5a9(0x21b)],'onShow':()=>{const _0x19059a=_0x1fa5a9;this[_0x19059a(0x260)][_0x19059a(0x1cb)]();},'onHide':()=>{const _0x575f68=_0x1fa5a9;this[_0x575f68(0x24e)][_0x575f68(0x234)](),_0x534874[_0x575f68(0x266)]();}}):this[_0x1fa5a9(0x25c)][_0x1fa5a9(0x25f)][_0x1fa5a9(0x251)]||this[_0x1fa5a9(0x25c)][_0x1fa5a9(0x25f)][_0x1fa5a9(0x237)]();}[_0x2d9d6a(0x1df)](){const _0x4b3251=_0x2d9d6a;this[_0x4b3251(0x25c)][_0x4b3251(0x240)]();}[_0x2d9d6a(0x205)](){const _0x302e46=_0x2d9d6a,_0x37ac6b=new Map(),_0x1eeae9=_0x37804b(this[_0x302e46(0x206)][_0x302e46(0x258)][_0x302e46(0x202)](_0x302e46(0x1f8)),this[_0x302e46(0x206)][_0x302e46(0x1e6)]);for(const _0x4af479 of _0x1eeae9)for(const _0x101df0 of _0x4af479[_0x302e46(0x263)])_0x37ac6b[_0x302e46(0x1dd)](_0x101df0['id'],{..._0x101df0,'groupId':_0x4af479[_0x302e46(0x20c)],'groupLabel':_0x4af479[_0x302e46(0x1ea)]||_0x4af479[_0x302e46(0x20c)]});return _0x37ac6b;}[_0x2d9d6a(0x203)](_0x246dfc){const _0x58bdb0=_0x2d9d6a,_0x471741=this[_0x58bdb0(0x206)],_0xad683d=_0x471741[_0x58bdb0(0x263)][_0x58bdb0(0x202)](_0x58bdb0(0x24c)),_0x550ddc=new _0x246dfc(_0x471741[_0x58bdb0(0x1e6)]);return _0x550ddc[_0x58bdb0(0x1dd)]({'label':_0x3e13aa(_0x471741[_0x58bdb0(0x1e6)],_0x58bdb0(0x1d6)),'icon':_0x539285,'isToggleable':!0x0}),_0x550ddc[_0x58bdb0(0x1cc)](_0x58bdb0(0x262))['to'](_0xad683d),_0x550ddc[_0x58bdb0(0x1cc)](_0x58bdb0(0x204))['to'](this[_0x58bdb0(0x25c)],'id',_0x4d2f14=>_0x58bdb0(0x247)===_0x4d2f14),this[_0x58bdb0(0x23a)](_0x550ddc,_0x58bdb0(0x1f5),()=>{const _0x19c61a=_0x58bdb0;_0x550ddc[_0x19c61a(0x204)]?this[_0x19c61a(0x1df)]():_0xad683d[_0x19c61a(0x1f5)]();}),_0x550ddc;}[_0x2d9d6a(0x22c)](){const _0x191ba1=_0x2d9d6a,_0x3b1733=this[_0x191ba1(0x206)][_0x191ba1(0x25b)][_0x191ba1(0x202)](_0x414ed2);this[_0x191ba1(0x260)]=new _0x22370f(this[_0x191ba1(0x206)][_0x191ba1(0x1e6)],this[_0x191ba1(0x1de)],this[_0x191ba1(0x206)][_0x191ba1(0x258)][_0x191ba1(0x202)](_0x191ba1(0x218))),this[_0x191ba1(0x260)]['on'](_0x191ba1(0x21a),()=>{const _0x999cc4=_0x191ba1;this[_0x999cc4(0x25c)][_0x999cc4(0x25f)][_0x999cc4(0x251)]||this[_0x999cc4(0x25c)][_0x999cc4(0x25f)][_0x999cc4(0x237)]();}),this[_0x191ba1(0x260)][_0x191ba1(0x1c3)][_0x191ba1(0x1fa)][_0x191ba1(0x23c)]['on'](_0x191ba1(0x245),()=>{const _0xb1503d=_0x191ba1;this[_0xb1503d(0x25c)][_0xb1503d(0x25f)][_0xb1503d(0x251)]||this[_0xb1503d(0x25c)][_0xb1503d(0x25f)][_0xb1503d(0x237)]();}),this[_0x191ba1(0x23a)](this[_0x191ba1(0x260)],_0x191ba1(0x243),()=>{const _0x18306c=_0x191ba1;_0x3b1733[_0x18306c(0x221)](this[_0x18306c(0x24e)][_0x18306c(0x208)]),this[_0x18306c(0x1df)]();}),this[_0x191ba1(0x23a)](this[_0x191ba1(0x260)],_0x191ba1(0x1e4),()=>{const _0x1ca224=_0x191ba1;_0x3b1733[_0x1ca224(0x1e4)](this[_0x1ca224(0x24e)][_0x1ca224(0x208)]),this[_0x1ca224(0x1df)]();}),this[_0x191ba1(0x233)]();}[_0x2d9d6a(0x233)](){const _0x27c382=_0x2d9d6a,{locale:_0xabe379,ui:{ariaLiveAnnouncer:_0x37fab8}}=this[_0x27c382(0x206)];this[_0x27c382(0x260)][_0x27c382(0x21f)]['on'](_0x27c382(0x1db),(_0x3f82c7,_0x46333f,_0x55faf6)=>{const _0x40a74b=_0x27c382,_0x2809c3=this[_0x40a74b(0x24e)][_0x40a74b(0x208)];_0x55faf6?_0x37fab8[_0x40a74b(0x1c9)](_0x3e13aa(_0xabe379,_0x40a74b(0x24d))):_0x2809c3&&_0x37fab8[_0x40a74b(0x1c9)](_0x3e13aa(_0xabe379,_0x40a74b(0x1e7),_0x2809c3),{'politeness':_0x40a74b(0x246),'isUnsafeHTML':!0x0});}),this[_0x27c382(0x260)]['on'](_0x27c382(0x225),(_0x16f1ea,_0x566adb,_0x26e482)=>{const _0x472a92=_0x27c382;if(_0x26e482){const _0x2706c9=this[_0x472a92(0x260)][_0x472a92(0x270)][_0x472a92(0x232)];_0x37fab8[_0x472a92(0x1c9)](_0x3e13aa(_0xabe379,_0x472a92(0x1ed),_0x2706c9));}});}[_0x2d9d6a(0x219)](_0x239448){const _0x26ec11=_0x2d9d6a,_0x3539b0=this[_0x26ec11(0x236)][_0x26ec11(0x202)](_0x239448),_0x570cd7=this[_0x26ec11(0x206)],_0x58e6ed=_0x570cd7[_0x26ec11(0x242)][_0x26ec11(0x1e2)][_0x26ec11(0x264)],_0x32a3bd=_0x570cd7[_0x26ec11(0x263)][_0x26ec11(0x202)](_0x26ec11(0x24c)),_0x13a7bb=_0x570cd7[_0x26ec11(0x25b)][_0x26ec11(0x202)](_0x414ed2),_0x54d8a5=''+(_0x3539b0[_0x26ec11(0x20c)]!==_0x43bc13?_0x3539b0[_0x26ec11(0x1ea)]+':\x20':'')+_0x3539b0[_0x26ec11(0x24a)];if(!0x1!==_0x3539b0[_0x26ec11(0x24b)]&&_0x58e6ed[_0x26ec11(0x1f9)]){const _0x5eb683=_0x41d666(_0x58e6ed[_0x26ec11(0x1ec)]())||_0x570cd7[_0x26ec11(0x242)][_0x26ec11(0x20a)][_0x26ec11(0x1ff)](_0x58e6ed);_0x570cd7[_0x26ec11(0x242)][_0x26ec11(0x1ca)](_0x380da5=>{const _0x10a02c=_0x26ec11;_0x380da5[_0x10a02c(0x1c7)](_0x5eb683,'in');});}_0x13a7bb[_0x26ec11(0x1d8)](),_0x32a3bd[_0x26ec11(0x1f5)](_0x3539b0[_0x26ec11(0x269)],_0x54d8a5,_0x26ec11(0x216)+_0x239448);}[_0x2d9d6a(0x250)](_0x531a96,_0x379bff,_0x24961f,_0x49284d){const _0x169c32=_0x2d9d6a,_0x1e1f60=this[_0x169c32(0x206)],_0x1b233a=_0x1e1f60[_0x169c32(0x1e6)],_0x3e7d19=new _0x19285e(_0x1b233a),_0x4e33da=U(_0x1e1f60,_0x24961f)[_0x169c32(0x1e0)](_0x208670=>_0x208670[_0x169c32(0x263)][_0x169c32(0x22d)]);0x1===_0x4e33da[_0x169c32(0x22d)]?this[_0x169c32(0x254)]({'command':_0x531a96,'commands':_0x4e33da[0x0][_0x169c32(0x263)],'parentMenuView':_0x379bff,'onExecute':_0x49284d})[_0x169c32(0x215)](_0x53d276=>_0x3e7d19[_0x169c32(0x24f)][_0x169c32(0x1d2)](_0x53d276)):_0x4e33da[_0x169c32(0x215)](({groupId:_0x3f182c,groupLabel:_0x9b4605,commands:_0xef43eb})=>{const _0x2475ee=_0x169c32,_0x1ea0f8=new _0x7156dc(_0x1b233a,_0x379bff),_0x1c04a8=new _0x2ba8be(_0x1b233a),_0xcc6543=new _0x19285e(_0x1b233a),_0x1846e3=this[_0x2475ee(0x254)]({'command':_0x531a96,'commands':_0xef43eb,'parentMenuView':_0x1c04a8,'onExecute':_0x49284d});_0x1c04a8[_0x2475ee(0x257)][_0x2475ee(0x1dd)]({'label':_0x9b4605||_0x3f182c}),_0x1c04a8[_0x2475ee(0x20d)](_0x2475ee(0x1f5))['to'](_0x379bff),_0xcc6543[_0x2475ee(0x24f)][_0x2475ee(0x253)](_0x1846e3),_0x1c04a8[_0x2475ee(0x207)][_0x2475ee(0x22b)][_0x2475ee(0x1d2)](_0xcc6543),_0x1ea0f8[_0x2475ee(0x22b)][_0x2475ee(0x1d2)](_0x1c04a8),_0x3e7d19[_0x2475ee(0x24f)][_0x2475ee(0x1d2)](_0x1ea0f8);}),_0x379bff[_0x169c32(0x207)][_0x169c32(0x22b)][_0x169c32(0x1d2)](_0x3e7d19);}[_0x2d9d6a(0x254)]({command:_0x5b9b0a,commands:_0x3e5da5,parentMenuView:_0x3419eb,onExecute:_0x28b886}){const _0x212de9=_0x2d9d6a,_0x3912bb=this[_0x212de9(0x206)],_0x433523=_0x3912bb[_0x212de9(0x1e6)];return U(_0x3912bb,_0x3e5da5)[_0x212de9(0x1d4)](_0x2d05ed=>{const _0x574e07=_0x212de9,_0x5e39e7=new _0x7156dc(_0x433523,_0x3419eb),_0x56cb01=new _0x48159d(_0x433523);return _0x56cb01[_0x574e07(0x1dd)]({'label':_0x2d05ed[_0x574e07(0x24a)]}),_0x56cb01[_0x574e07(0x20d)](_0x574e07(0x1f5))['to'](_0x3419eb),_0x56cb01['on'](_0x574e07(0x1f5),()=>_0x28b886(_0x2d05ed['id'])),_0x56cb01[_0x574e07(0x1cc)](_0x574e07(0x262))['to'](_0x5b9b0a,_0x574e07(0x244),_0x598e17=>_0x598e17[_0x574e07(0x1c2)](_0x2d05ed['id'])),_0x5e39e7[_0x574e07(0x22b)][_0x574e07(0x1d2)](_0x56cb01),_0x5e39e7;});}}function _0x1035(_0x167716,_0x53b3f6){const _0x1c41cb=_0x1c41();return _0x1035=function(_0x103553,_0x48ed21){_0x103553=_0x103553-0x1c0;let _0x2b1da5=_0x1c41cb[_0x103553];return _0x2b1da5;},_0x1035(_0x167716,_0x53b3f6);}function T(_0x5c2b0d,_0x218379){const _0x4cd38e=_0x2d9d6a;return void 0x0!==_0x5c2b0d[_0x4cd38e(0x214)]&&void 0x0===_0x218379[_0x4cd38e(0x214)]?0x1:void 0x0===_0x5c2b0d[_0x4cd38e(0x214)]&&void 0x0!==_0x218379[_0x4cd38e(0x214)]?-0x1:void 0x0!==_0x5c2b0d[_0x4cd38e(0x214)]&&void 0x0!==_0x218379[_0x4cd38e(0x214)]?_0x5c2b0d[_0x4cd38e(0x214)]-_0x218379[_0x4cd38e(0x214)]:0x0;}function U(_0x476b6c,_0x1233ce){const _0x2905fa=_0x2d9d6a;_0x1233ce[_0x2905fa(0x248)](T);const _0x392050={},_0x21bd24=[];for(const _0x4fed8f of _0x1233ce)if(void 0x0!==_0x4fed8f[_0x2905fa(0x214)]){if(_0x4fed8f[_0x2905fa(0x214)]in _0x392050)throw new _0x364de0(_0x2905fa(0x1fe),_0x476b6c,{'conflictingDefinitions':[_0x4fed8f,_0x392050[_0x4fed8f[_0x2905fa(0x214)]]]});_0x392050[_0x4fed8f[_0x2905fa(0x214)]]=_0x4fed8f,_0x21bd24[_0x2905fa(0x213)](_0x4fed8f[_0x2905fa(0x214)],0x0,_0x4fed8f);}else _0x21bd24[_0x2905fa(0x249)](_0x4fed8f);return _0x21bd24;}
|
|
23
|
+
const _0x4c9437=_0x435e;(function(_0x16377c,_0x41de41){const _0x3c6e7a=_0x435e,_0x4948da=_0x16377c();while(!![]){try{const _0x3325d3=-parseInt(_0x3c6e7a(0x218))/0x1+-parseInt(_0x3c6e7a(0x1f0))/0x2*(parseInt(_0x3c6e7a(0x1c1))/0x3)+-parseInt(_0x3c6e7a(0x1e6))/0x4*(parseInt(_0x3c6e7a(0x20a))/0x5)+-parseInt(_0x3c6e7a(0x1c2))/0x6*(-parseInt(_0x3c6e7a(0x1c0))/0x7)+-parseInt(_0x3c6e7a(0x1a7))/0x8+-parseInt(_0x3c6e7a(0x20b))/0x9+-parseInt(_0x3c6e7a(0x1cc))/0xa*(-parseInt(_0x3c6e7a(0x1ff))/0xb);if(_0x3325d3===_0x41de41)break;else _0x4948da['push'](_0x4948da['shift']());}catch(_0x52c9a8){_0x4948da['push'](_0x4948da['shift']());}}}(_0x5633,0x5350a));import{Plugin as _0x15d827}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4a13ec,IconRobotPencil as _0x126579}from'ckeditor5/src/icons.js';import{first as _0x4ef614,CKEditorError as _0xd5bff2}from'ckeditor5/src/utils.js';function _0x435e(_0x29a059,_0xcc932c){const _0x563305=_0x5633();return _0x435e=function(_0x435e92,_0x27ee8d){_0x435e92=_0x435e92-0x190;let _0x5a416a=_0x563305[_0x435e92];return _0x5a416a;},_0x435e(_0x29a059,_0xcc932c);}import{createDropdown as _0xca434c,addMenuToDropdown as _0x41d9a2,ButtonView as _0x287804,MenuBarMenuListItemButtonView as _0x3db5b0,Dialog as _0x1b0e28,DialogViewPosition as _0x50201b,MenuBarMenuView as _0x314092,MenuBarMenuListView as _0x1c9396,MenuBarMenuListItemView as _0x4d21d8}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x386f45,UNGROUPED_COMMANDS_GROUP_ID as _0xf541d3}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5c1922}from'./aiassistantediting.js';import{AIAdapter as _0x3e777a}from'./adapters/aiadapter.js';import{getTranslation as _0x1a04af}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x95a5eb}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x52d46b}from'./ui/aiassistantcontroller.js';function _0x5633(){const _0x10848b=['INSERT','AI\x20Commands','label','custom','isOfficialPlugin','evaluationLimit','AIAssistant','aiCommands','ai.aiAssistant.contentAreaCssClass','destroy','change:isProcessing','ai-commands-config-order-collision','children','domainLimit','queryView','errorView','document','_onExecute','aiLicenseKeyExpired','promptView','groupLabel','getLimitElement','updateView','ai.aiAssistant.commands','licenseKey','trim','getSelectedElement','menuView','AI\x20Assistant','hideFakeVisualSelection','announce','2167040RkjBop','invalid','usageLimit','REPLACE','focus','source','currentContext','_aiAssistantController','init','aiLicenseKeyEvaluationLimit','_initView','polite','ck-ai-commands-dropdown\x20','copy','_initAriaAiStatusChangeAnnouncements','hideUI','locale','tableOfContents','aiLicenseKeyTrialLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','hide','requiresContent','<p>','Generated\x20content:\x20%0','aiLicenseKeyNotAllowed','7WIEESO','6brtmwi','2868858WfFfzU','body','DataTransfer','values','menuitemcheckbox','show','isOn','sort','set','_populateMenuBarMenu','7460Rkazhv','push','plugins','featureNotAllowed','_aiAdapter','_getMenuBarGroupButtons','AI\x20is\x20writing','groupId','_forceMarkersCopy','schema','selection','setSelection','enabledCommandsIds','get','editor','requires','aiLicenseKeyUsageLimit','menuBar:aiCommands','isEnabled','_formView','expired','fieldView','define','showUI','showAIAssistant','editing','4064sukTpV','ck-ai-assistant-ui','panelView','replace','delegate','textAdapter','_dialog','execute','text','wasMoved','455932piEYEQ','pluginName','contentArea','listenTo','from','insertContent','ai.aiAssistant.disabledElements','rawHtml','</p>','menuPanelClass','media','menuBar:aiAssistant','config','_getResolvedCommandsDefinitions','addMany','30140sowUzz','AIAssistantUI','EDITOR_TOP_SIDE','componentFactory','map','change:value','insertContentBelow','getData','\x20ck-ai-assistant-ui_theme','replaceContent','_showLicenseError','1745ozQAEa','5970285FchoAv','getSelectedBlocks','prompt','view','getRanges','ai.useTheme','bind','order','commands','filter','comment','aiLicenseKeyDomainLimit','isCollapsed','436164PVYClp','items','_uiCssClasses','once','_createAIAssistantUIButton','isFlat','render','isPremiumPlugin','trialLimit','change:isError','update','length','change:enabledCommandsIds','includes','forEach','text/html','showFakeVisualSelection','command:','aiAssistant','buttons','aiLicenseKeyValid','updatePosition','aiLicenseKeyInvalid','_commandDefinitions','_licenseKeyCheckInterval','change','model','buttonView','ck-ai-assistant-button\x20','fire','reset','splice','add'];_0x5633=function(){return _0x10848b;};return _0x5633();}import{AIFormView as _0x253e10}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x26e97b}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x4c9437(0x1c4)];import{ClipboardMarkersUtils as _0x13204d}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x260dde,ViewDataTransfer as _0x2f46d0}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x15d827{[_0x4c9437(0x1a0)];[_0x4c9437(0x230)];[_0x4c9437(0x1ec)];[_0x4c9437(0x1df)];[_0x4c9437(0x1d0)];[_0x4c9437(0x1ae)];[_0x4c9437(0x21a)]='';static get[_0x4c9437(0x1f1)](){const _0x27647f=_0x4c9437;return _0x27647f(0x200);}static get[_0x4c9437(0x23d)](){return!0x0;}static get[_0x4c9437(0x21f)](){return!0x0;}static get[_0x4c9437(0x1db)](){return[_0x13204d,_0x5c1922,_0x3e777a,_0x1b0e28];}constructor(_0x58f013){const _0x1dfacb=_0x4c9437;super(_0x58f013),_0x58f013[_0x1dfacb(0x1fc)][_0x1dfacb(0x1e2)](_0x1dfacb(0x1f6),[_0x1dfacb(0x1fa),_0x1dfacb(0x1f7),_0x1dfacb(0x1b8)]),_0x58f013[_0x1dfacb(0x1fc)][_0x1dfacb(0x1e2)](_0x1dfacb(0x190),''),_0x58f013[_0x1dfacb(0x1fc)][_0x1dfacb(0x1e2)](_0x1dfacb(0x210),!0x0),this[_0x1dfacb(0x21a)]=_0x1dfacb(0x1e7)+(_0x58f013[_0x1dfacb(0x1fc)][_0x1dfacb(0x1d9)](_0x1dfacb(0x210))?_0x1dfacb(0x207):'');}[_0x4c9437(0x1af)](){const _0x2f98ec=_0x4c9437,{editor:_0x3bbfc1}=this;this[_0x2f98ec(0x1d0)]=_0x3bbfc1[_0x2f98ec(0x1ce)][_0x2f98ec(0x1d9)](_0x3e777a),this[_0x2f98ec(0x1ec)]=_0x3bbfc1[_0x2f98ec(0x1ce)][_0x2f98ec(0x1d9)](_0x1b0e28),this[_0x2f98ec(0x1df)]=null,this[_0x2f98ec(0x22f)]=this[_0x2f98ec(0x1fd)]();const _0x1d5297=new _0x95a5eb(_0x3bbfc1,Array[_0x2f98ec(0x1f4)](this[_0x2f98ec(0x22f)][_0x2f98ec(0x1c5)]()));_0x3bbfc1[_0x2f98ec(0x213)][_0x2f98ec(0x238)](_0x2f98ec(0x1e4),_0x1d5297),_0x3bbfc1['ui'][_0x2f98ec(0x202)][_0x2f98ec(0x238)](_0x2f98ec(0x240),_0x500804=>{const _0x9094c7=_0x2f98ec,_0x5cd394=_0xca434c(_0x500804);return _0x5cd394[_0x9094c7(0x1ca)]({'class':_0x9094c7(0x1b3)+this[_0x9094c7(0x21a)]}),_0x5cd394[_0x9094c7(0x233)][_0x9094c7(0x1ca)]({'label':_0x1a04af(_0x500804,_0x9094c7(0x23a)),'icon':_0x4a13ec,'tooltip':!0x0}),_0x5cd394['on'](_0x9094c7(0x1ed),_0x420d7a=>this[_0x9094c7(0x199)](_0x420d7a[_0x9094c7(0x1ac)]['id'])),_0x41d9a2(_0x5cd394,_0x3bbfc1['ui'][_0x9094c7(0x20e)][_0x9094c7(0x1c3)],function(_0xd17eeb){const _0x50a40e=_0x9094c7,_0x141b41=_0x386f45(_0xd17eeb[_0x50a40e(0x1fc)][_0x50a40e(0x1d9)](_0x50a40e(0x19f)),_0xd17eeb[_0x50a40e(0x1b7)]),_0x3bb8fd=U(_0xd17eeb,_0x141b41)[_0x50a40e(0x214)](_0x26cc10=>_0x26cc10[_0x50a40e(0x213)][_0x50a40e(0x223)]);if(0x1===_0x3bb8fd[_0x50a40e(0x223)])return U(_0xd17eeb,_0x3bb8fd[0x0][_0x50a40e(0x213)])[_0x50a40e(0x203)](_0x49c767=>({'id':_0x49c767['id'],'label':_0x49c767[_0x50a40e(0x23b)]}));return _0x3bb8fd[_0x50a40e(0x203)](_0x5b3dbf=>{const _0x12899d=_0x50a40e,{groupId:_0x189135,groupLabel:_0x516154,commands:_0x43479e}=_0x5b3dbf,_0xca0861=U(_0xd17eeb,_0x43479e)[_0x12899d(0x203)](_0x398f49=>({'id':_0x398f49['id'],'label':_0x398f49[_0x12899d(0x23b)]}));return{'id':_0x189135,'menu':_0x516154||_0x189135,'children':_0xca0861};});}(_0x3bbfc1),{'ariaLabel':_0x1a04af(_0x500804,_0x9094c7(0x23a))}),_0x5cd394[_0x9094c7(0x1a3)][_0x9094c7(0x1f9)]=_0x9094c7(0x1b3)+this[_0x9094c7(0x21a)],_0x1d5297['on'](_0x9094c7(0x224),_0x9f8c1b),_0x5cd394[_0x9094c7(0x1a3)][_0x9094c7(0x21b)](_0x9094c7(0x21e),_0x9f8c1b),_0x5cd394;function _0x9f8c1b(){const _0x1c7ab4=_0x9094c7;_0x5cd394[_0x1c7ab4(0x1de)]=_0x1d5297[_0x1c7ab4(0x1d8)][_0x1c7ab4(0x223)]>0x0;for(const _0xf81d8c of _0x5cd394[_0x1c7ab4(0x1a3)][_0x1c7ab4(0x22b)])_0xf81d8c[_0x1c7ab4(0x1de)]=_0x1d5297[_0x1c7ab4(0x1d8)][_0x1c7ab4(0x225)](_0xf81d8c['id']);}}),_0x3bbfc1['ui'][_0x2f98ec(0x202)][_0x2f98ec(0x238)](_0x2f98ec(0x1dd),_0x5da15c=>{const _0x4e5940=_0x2f98ec,_0x312582=new _0x314092(_0x5da15c);_0x312582[_0x4e5940(0x233)][_0x4e5940(0x1ca)]({'label':_0x1a04af(_0x5da15c,_0x4e5940(0x23a)),'icon':_0x4a13ec}),_0x312582[_0x4e5940(0x211)](_0x4e5940(0x1de))['to'](_0x1d5297,_0x4e5940(0x1d8),_0x320016=>_0x320016[_0x4e5940(0x223)]>0x0);const _0x21f2be=_0x386f45(_0x3bbfc1[_0x4e5940(0x1fc)][_0x4e5940(0x1d9)](_0x4e5940(0x19f)),_0x5da15c);return this[_0x4e5940(0x1cb)](_0x1d5297,_0x312582,_0x21f2be,_0xd8cc8=>this[_0x4e5940(0x199)](_0xd8cc8)),_0x312582;}),_0x3bbfc1['ui'][_0x2f98ec(0x202)][_0x2f98ec(0x238)](_0x2f98ec(0x22a),()=>{const _0x326dc3=_0x2f98ec,_0x5e99bd=this[_0x326dc3(0x21c)](_0x287804);return _0x5e99bd[_0x326dc3(0x1ca)]({'tooltip':!0x0,'class':_0x326dc3(0x234)+this[_0x326dc3(0x21a)]}),_0x5e99bd;}),_0x3bbfc1['ui'][_0x2f98ec(0x202)][_0x2f98ec(0x238)](_0x2f98ec(0x1fb),()=>{const _0x35d5ad=_0x2f98ec,_0x47ed65=this[_0x35d5ad(0x21c)](_0x3db5b0);return _0x47ed65[_0x35d5ad(0x1ca)]({'role':_0x35d5ad(0x1c6)}),_0x47ed65;}),this[_0x2f98ec(0x1a0)]=this[_0x2f98ec(0x1da)][_0x2f98ec(0x1fc)][_0x2f98ec(0x1d9)](_0x2f98ec(0x1a0));const _0xfc05cb=this[_0x2f98ec(0x1da)];this[_0x2f98ec(0x230)]=setInterval(()=>{const _0x1e7d6e=_0x2f98ec;let _0x110994;for(const _0x5d4474 in _0xfc05cb){const _0x37a0b2=_0x5d4474,_0x392d65=_0xfc05cb[_0x37a0b2];if(_0x1e7d6e(0x22c)==_0x392d65||_0x1e7d6e(0x22e)==_0x392d65||_0x1e7d6e(0x19a)==_0x392d65||_0x1e7d6e(0x216)==_0x392d65||_0x1e7d6e(0x1bf)==_0x392d65||_0x1e7d6e(0x1b0)==_0x392d65||_0x1e7d6e(0x1b9)==_0x392d65||_0x1e7d6e(0x1dc)==_0x392d65){delete _0xfc05cb[_0x37a0b2],_0x110994=_0x392d65,clearInterval(this[_0x1e7d6e(0x230)]),this[_0x1e7d6e(0x230)]=void 0x0;break;}}_0x1e7d6e(0x22e)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x1a8)),_0x1e7d6e(0x19a)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x1e0)),_0x1e7d6e(0x216)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x195)),_0x1e7d6e(0x1bf)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x1cf),_0x1e7d6e(0x23f)),_0x1e7d6e(0x1b0)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x23e)),_0x1e7d6e(0x1b9)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x220)),_0x1e7d6e(0x1dc)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x1a9));},0x3e8);}[_0x4c9437(0x191)](){const _0x4f778d=_0x4c9437;super[_0x4f778d(0x191)](),this[_0x4f778d(0x230)]&&clearInterval(this[_0x4f778d(0x230)]);}[_0x4c9437(0x1e3)](_0x23438a='',_0x6e2c41='',_0x110aec=_0x4c9437(0x23c)){const _0x3346f4=_0x4c9437,_0x1623c6=this[_0x3346f4(0x1da)],_0xe5813e=_0x1623c6[_0x3346f4(0x1e5)][_0x3346f4(0x20e)],_0x12f913=_0x1623c6[_0x3346f4(0x1ce)][_0x3346f4(0x1d9)](_0x5c1922),_0x289a37=_0x1623c6[_0x3346f4(0x1ce)][_0x3346f4(0x1d9)](_0x13204d);_0x12f913[_0x3346f4(0x228)]();const _0x3cc273=new l(),_0x53fb8a=new ClipboardEvent(_0x3346f4(0x1b4),{'clipboardData':_0x3cc273}),_0x231063=new _0x2f46d0(_0x3cc273),_0x4a1c6f=new _0x260dde(_0xe5813e,_0x53fb8a,{'dataTransfer':_0x231063});_0x289a37[_0x3346f4(0x1d4)](_0x3346f4(0x215),()=>{const _0x7d7f7=_0x3346f4;_0xe5813e[_0x7d7f7(0x198)][_0x7d7f7(0x235)](_0x7d7f7(0x1b4),_0x4a1c6f);}),this[_0x3346f4(0x1df)]||(this[_0x3346f4(0x1b1)](),this[_0x3346f4(0x1ae)]=new _0x52d46b(_0x1623c6,this[_0x3346f4(0x1d0)][_0x3346f4(0x1eb)],this[_0x3346f4(0x1df)]));let _0x4c34aa=_0x231063[_0x3346f4(0x206)](_0x3346f4(0x227));const _0x59f9f5=_0x1623c6[_0x3346f4(0x232)][_0x3346f4(0x198)][_0x3346f4(0x1d6)],_0x3edeb9=Array[_0x3346f4(0x1f4)](_0x59f9f5[_0x3346f4(0x20f)]());0x1===_0x3edeb9[_0x3346f4(0x223)]&&_0x3edeb9[0x0][_0x3346f4(0x21d)]&&!_0x59f9f5[_0x3346f4(0x1a2)]()&&''!==_0x4c34aa[_0x3346f4(0x1e9)](/ /g,'')[_0x3346f4(0x1a1)]()&&(_0x4c34aa=_0x3346f4(0x1bd)+_0x4c34aa+_0x3346f4(0x1f8)),this[_0x3346f4(0x1ae)][_0x3346f4(0x19e)]({'actionId':_0x110aec,'query':_0x23438a,'htmlContent':_0x4c34aa,'label':_0x6e2c41,'mainActionLabel':_0x26e97b[_0x1623c6[_0x3346f4(0x232)][_0x3346f4(0x198)][_0x3346f4(0x1d6)][_0x3346f4(0x217)]?_0x3346f4(0x239):_0x3346f4(0x1aa)]}),_0x3346f4(0x22a)!==this[_0x3346f4(0x1ec)]['id']?this[_0x3346f4(0x1ec)][_0x3346f4(0x1c7)]({'id':_0x3346f4(0x22a),'icon':_0x126579,'title':_0x1a04af(this[_0x3346f4(0x1da)][_0x3346f4(0x1b7)],_0x3346f4(0x1a4)),'content':this[_0x3346f4(0x1df)],'position':_0x50201b[_0x3346f4(0x201)],'onShow':()=>{const _0x4be8fc=_0x3346f4;this[_0x4be8fc(0x1df)][_0x4be8fc(0x1ab)]();},'onHide':()=>{const _0x26e5f0=_0x3346f4;this[_0x26e5f0(0x1ae)][_0x26e5f0(0x236)](),_0x12f913[_0x26e5f0(0x1a5)]();}}):this[_0x3346f4(0x1ec)][_0x3346f4(0x20e)][_0x3346f4(0x1ef)]||this[_0x3346f4(0x1ec)][_0x3346f4(0x20e)][_0x3346f4(0x22d)]();}[_0x4c9437(0x1b6)](){const _0x942c84=_0x4c9437;this[_0x942c84(0x1ec)][_0x942c84(0x1bb)]();}[_0x4c9437(0x1fd)](){const _0x26e7b7=_0x4c9437,_0xc12b30=new Map(),_0x2a53d3=_0x386f45(this[_0x26e7b7(0x1da)][_0x26e7b7(0x1fc)][_0x26e7b7(0x1d9)](_0x26e7b7(0x19f)),this[_0x26e7b7(0x1da)][_0x26e7b7(0x1b7)]);for(const _0xf48493 of _0x2a53d3)for(const _0x30fd34 of _0xf48493[_0x26e7b7(0x213)])_0xc12b30[_0x26e7b7(0x1ca)](_0x30fd34['id'],{..._0x30fd34,'groupId':_0xf48493[_0x26e7b7(0x1d3)],'groupLabel':_0xf48493[_0x26e7b7(0x19c)]||_0xf48493[_0x26e7b7(0x1d3)]});return _0xc12b30;}[_0x4c9437(0x21c)](_0xa6e6c5){const _0x14a00f=_0x4c9437,_0x3780e0=this[_0x14a00f(0x1da)],_0x4e6b1e=_0x3780e0[_0x14a00f(0x213)][_0x14a00f(0x1d9)](_0x14a00f(0x1e4)),_0x660e71=new _0xa6e6c5(_0x3780e0[_0x14a00f(0x1b7)]);return _0x660e71[_0x14a00f(0x1ca)]({'label':_0x1a04af(_0x3780e0[_0x14a00f(0x1b7)],_0x14a00f(0x1a4)),'icon':_0x126579,'isToggleable':!0x0}),_0x660e71[_0x14a00f(0x211)](_0x14a00f(0x1de))['to'](_0x4e6b1e),_0x660e71[_0x14a00f(0x211)](_0x14a00f(0x1c8))['to'](this[_0x14a00f(0x1ec)],'id',_0x10a2ea=>_0x14a00f(0x22a)===_0x10a2ea),this[_0x14a00f(0x1f3)](_0x660e71,_0x14a00f(0x1ed),()=>{const _0x347f92=_0x14a00f;_0x660e71[_0x347f92(0x1c8)]?this[_0x347f92(0x1b6)]():_0x4e6b1e[_0x347f92(0x1ed)]();}),_0x660e71;}[_0x4c9437(0x1b1)](){const _0x24bf2a=_0x4c9437,_0x21e7b5=this[_0x24bf2a(0x1da)][_0x24bf2a(0x1ce)][_0x24bf2a(0x1d9)](_0x5c1922);this[_0x24bf2a(0x1df)]=new _0x253e10(this[_0x24bf2a(0x1da)][_0x24bf2a(0x1b7)],this[_0x24bf2a(0x21a)],this[_0x24bf2a(0x1da)][_0x24bf2a(0x1fc)][_0x24bf2a(0x1d9)](_0x24bf2a(0x190))),this[_0x24bf2a(0x1df)]['on'](_0x24bf2a(0x204),()=>{const _0x498bfd=_0x24bf2a;this[_0x498bfd(0x1ec)][_0x498bfd(0x20e)][_0x498bfd(0x1ef)]||this[_0x498bfd(0x1ec)][_0x498bfd(0x20e)][_0x498bfd(0x22d)]();}),this[_0x24bf2a(0x1df)][_0x24bf2a(0x19b)][_0x24bf2a(0x196)][_0x24bf2a(0x1e1)]['on'](_0x24bf2a(0x222),()=>{const _0x5584ec=_0x24bf2a;this[_0x5584ec(0x1ec)][_0x5584ec(0x20e)][_0x5584ec(0x1ef)]||this[_0x5584ec(0x1ec)][_0x5584ec(0x20e)][_0x5584ec(0x22d)]();}),this[_0x24bf2a(0x1f3)](this[_0x24bf2a(0x1df)],_0x24bf2a(0x208),()=>{const _0x3424d5=_0x24bf2a;_0x21e7b5[_0x3424d5(0x1f5)](this[_0x3424d5(0x1ae)][_0x3424d5(0x1ad)]),this[_0x3424d5(0x1b6)]();}),this[_0x24bf2a(0x1f3)](this[_0x24bf2a(0x1df)],_0x24bf2a(0x205),()=>{const _0x3c60c9=_0x24bf2a;_0x21e7b5[_0x3c60c9(0x205)](this[_0x3c60c9(0x1ae)][_0x3c60c9(0x1ad)]),this[_0x3c60c9(0x1b6)]();}),this[_0x24bf2a(0x1b5)]();}[_0x4c9437(0x1b5)](){const _0x39c5bd=_0x4c9437,{locale:_0x15b219,ui:{ariaLiveAnnouncer:_0xaef6c5}}=this[_0x39c5bd(0x1da)];this[_0x39c5bd(0x1df)][_0x39c5bd(0x1f2)]['on'](_0x39c5bd(0x192),(_0x57f1eb,_0xc155a2,_0x5850d9)=>{const _0x4b1849=_0x39c5bd,_0x103e8c=this[_0x4b1849(0x1ae)][_0x4b1849(0x1ad)];_0x5850d9?_0xaef6c5[_0x4b1849(0x1a6)](_0x1a04af(_0x15b219,_0x4b1849(0x1d2))):_0x103e8c&&_0xaef6c5[_0x4b1849(0x1a6)](_0x1a04af(_0x15b219,_0x4b1849(0x1be),_0x103e8c),{'politeness':_0x4b1849(0x1b2),'isUnsafeHTML':!0x0});}),this[_0x39c5bd(0x1df)]['on'](_0x39c5bd(0x221),(_0x16c5d5,_0x9e640e,_0x1580ac)=>{const _0x3d5ee9=_0x39c5bd;if(_0x1580ac){const _0x54c671=this[_0x3d5ee9(0x1df)][_0x3d5ee9(0x197)][_0x3d5ee9(0x1ee)];_0xaef6c5[_0x3d5ee9(0x1a6)](_0x1a04af(_0x15b219,_0x3d5ee9(0x1ba),_0x54c671));}});}[_0x4c9437(0x199)](_0x4e820a){const _0x1e10da=_0x4c9437,_0x4161f6=this[_0x1e10da(0x22f)][_0x1e10da(0x1d9)](_0x4e820a),_0x5d1579=this[_0x1e10da(0x1da)],_0x11f7bb=_0x5d1579[_0x1e10da(0x232)][_0x1e10da(0x198)][_0x1e10da(0x1d6)],_0x168bce=_0x5d1579[_0x1e10da(0x213)][_0x1e10da(0x1d9)](_0x1e10da(0x1e4)),_0x17817a=_0x5d1579[_0x1e10da(0x1ce)][_0x1e10da(0x1d9)](_0x5c1922),_0x20c32b=''+(_0x4161f6[_0x1e10da(0x1d3)]!==_0xf541d3?_0x4161f6[_0x1e10da(0x19c)]+':\x20':'')+_0x4161f6[_0x1e10da(0x23b)];if(!0x1!==_0x4161f6[_0x1e10da(0x1bc)]&&_0x11f7bb[_0x1e10da(0x217)]){const _0xde8f30=_0x4ef614(_0x11f7bb[_0x1e10da(0x20c)]())||_0x5d1579[_0x1e10da(0x232)][_0x1e10da(0x1d5)][_0x1e10da(0x19d)](_0x11f7bb);_0x5d1579[_0x1e10da(0x232)][_0x1e10da(0x231)](_0x26807e=>{const _0xb12f2d=_0x1e10da;_0x26807e[_0xb12f2d(0x1d7)](_0xde8f30,'in');});}_0x17817a[_0x1e10da(0x228)](),_0x168bce[_0x1e10da(0x1ed)](_0x4161f6[_0x1e10da(0x20d)],_0x20c32b,_0x1e10da(0x229)+_0x4e820a);}[_0x4c9437(0x1cb)](_0xb39b1f,_0x55bf61,_0x4c79f1,_0x16ab0e){const _0x40d528=_0x4c9437,_0x525395=this[_0x40d528(0x1da)],_0x3425dc=_0x525395[_0x40d528(0x1b7)],_0x2a96f6=new _0x1c9396(_0x3425dc),_0x4481f3=U(_0x525395,_0x4c79f1)[_0x40d528(0x214)](_0x2f5488=>_0x2f5488[_0x40d528(0x213)][_0x40d528(0x223)]);0x1===_0x4481f3[_0x40d528(0x223)]?this[_0x40d528(0x1d1)]({'command':_0xb39b1f,'commands':_0x4481f3[0x0][_0x40d528(0x213)],'parentMenuView':_0x55bf61,'onExecute':_0x16ab0e})[_0x40d528(0x226)](_0x314ce3=>_0x2a96f6[_0x40d528(0x219)][_0x40d528(0x238)](_0x314ce3)):_0x4481f3[_0x40d528(0x226)](({groupId:_0x45eef3,groupLabel:_0x1248a8,commands:_0x1a6dc6})=>{const _0x4e6b15=_0x40d528,_0x43e54d=new _0x4d21d8(_0x3425dc,_0x55bf61),_0xcb0ffb=new _0x314092(_0x3425dc),_0x198139=new _0x1c9396(_0x3425dc),_0x268fc5=this[_0x4e6b15(0x1d1)]({'command':_0xb39b1f,'commands':_0x1a6dc6,'parentMenuView':_0xcb0ffb,'onExecute':_0x16ab0e});_0xcb0ffb[_0x4e6b15(0x233)][_0x4e6b15(0x1ca)]({'label':_0x1248a8||_0x45eef3}),_0xcb0ffb[_0x4e6b15(0x1ea)](_0x4e6b15(0x1ed))['to'](_0x55bf61),_0x198139[_0x4e6b15(0x219)][_0x4e6b15(0x1fe)](_0x268fc5),_0xcb0ffb[_0x4e6b15(0x1e8)][_0x4e6b15(0x194)][_0x4e6b15(0x238)](_0x198139),_0x43e54d[_0x4e6b15(0x194)][_0x4e6b15(0x238)](_0xcb0ffb),_0x2a96f6[_0x4e6b15(0x219)][_0x4e6b15(0x238)](_0x43e54d);}),_0x55bf61[_0x40d528(0x1e8)][_0x40d528(0x194)][_0x40d528(0x238)](_0x2a96f6);}[_0x4c9437(0x1d1)]({command:_0x188c4b,commands:_0x5455f1,parentMenuView:_0x4b29b9,onExecute:_0x5c91fd}){const _0x50d466=_0x4c9437,_0x347093=this[_0x50d466(0x1da)],_0x42395e=_0x347093[_0x50d466(0x1b7)];return U(_0x347093,_0x5455f1)[_0x50d466(0x203)](_0x4fbbbb=>{const _0x358e70=_0x50d466,_0x15e9d2=new _0x4d21d8(_0x42395e,_0x4b29b9),_0x58e445=new _0x3db5b0(_0x42395e);return _0x58e445[_0x358e70(0x1ca)]({'label':_0x4fbbbb[_0x358e70(0x23b)]}),_0x58e445[_0x358e70(0x1ea)](_0x358e70(0x1ed))['to'](_0x4b29b9),_0x58e445['on'](_0x358e70(0x1ed),()=>_0x5c91fd(_0x4fbbbb['id'])),_0x58e445[_0x358e70(0x211)](_0x358e70(0x1de))['to'](_0x188c4b,_0x358e70(0x1d8),_0x477893=>_0x477893[_0x358e70(0x225)](_0x4fbbbb['id'])),_0x15e9d2[_0x358e70(0x194)][_0x358e70(0x238)](_0x58e445),_0x15e9d2;});}}function T(_0x36cd95,_0x4e2a22){const _0x4f0347=_0x4c9437;return void 0x0!==_0x36cd95[_0x4f0347(0x212)]&&void 0x0===_0x4e2a22[_0x4f0347(0x212)]?0x1:void 0x0===_0x36cd95[_0x4f0347(0x212)]&&void 0x0!==_0x4e2a22[_0x4f0347(0x212)]?-0x1:void 0x0!==_0x36cd95[_0x4f0347(0x212)]&&void 0x0!==_0x4e2a22[_0x4f0347(0x212)]?_0x36cd95[_0x4f0347(0x212)]-_0x4e2a22[_0x4f0347(0x212)]:0x0;}function U(_0x2cbb0a,_0xe23f97){const _0xfc545f=_0x4c9437;_0xe23f97[_0xfc545f(0x1c9)](T);const _0x48863a={},_0x2a163b=[];for(const _0x45b184 of _0xe23f97)if(void 0x0!==_0x45b184[_0xfc545f(0x212)]){if(_0x45b184[_0xfc545f(0x212)]in _0x48863a)throw new _0xd5bff2(_0xfc545f(0x193),_0x2cbb0a,{'conflictingDefinitions':[_0x45b184,_0x48863a[_0x45b184[_0xfc545f(0x212)]]]});_0x48863a[_0x45b184[_0xfc545f(0x212)]]=_0x45b184,_0x2a163b[_0xfc545f(0x237)](_0x45b184[_0xfc545f(0x212)],0x0,_0x45b184);}else _0x2a163b[_0xfc545f(0x1cd)](_0x45b184);return _0x2a163b;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4199ca,_0x56c5c9){var _0x3bf099=_0x1d96,_0x47ddee=_0x4199ca();while(!![]){try{var _0x2699f8=parseInt(_0x3bf099(0x125))/0x1*(parseInt(_0x3bf099(0x128))/0x2)+-parseInt(_0x3bf099(0x127))/0x3+parseInt(_0x3bf099(0x12b))/0x4+parseInt(_0x3bf099(0x12e))/0x5*(parseInt(_0x3bf099(0x12c))/0x6)+-parseInt(_0x3bf099(0x126))/0x7+parseInt(_0x3bf099(0x124))/0x8*(-parseInt(_0x3bf099(0x12d))/0x9)+-parseInt(_0x3bf099(0x12a))/0xa*(-parseInt(_0x3bf099(0x129))/0xb);if(_0x2699f8===_0x56c5c9)break;else _0x47ddee['push'](_0x47ddee['shift']());}catch(_0x3d7b51){_0x47ddee['push'](_0x47ddee['shift']());}}}(_0x1e0e,0x25d33));function _0x1e0e(){var _0x57bb2e=['111365JoPLgL','1253600dHHNGf','1EBmgcZ','1842862eNemOe','742674YaoBxi','188162upINnY','1100CUivvw','48940qcVNPc','599528iDisxz','24KlxCqK','9fEbhvS'];_0x1e0e=function(){return _0x57bb2e;};return _0x1e0e();}export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x1d96(_0x3bd955,_0x5d28a8){var _0x1e0e71=_0x1e0e();return _0x1d96=function(_0x1d9671,_0x1dedbe){_0x1d9671=_0x1d9671-0x124;var _0x29ef81=_0x1e0e71[_0x1d9671];return _0x29ef81;},_0x1d96(_0x3bd955,_0x5d28a8);}export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x243394,_0x5d4eca){var _0x22f94c=_0x4c9c,_0x241fe7=_0x243394();while(!![]){try{var _0x2451a5=-parseInt(_0x22f94c(0x97))/0x1*(-parseInt(_0x22f94c(0x94))/0x2)+parseInt(_0x22f94c(0x96))/0x3*(parseInt(_0x22f94c(0x95))/0x4)+parseInt(_0x22f94c(0x92))/0x5+-parseInt(_0x22f94c(0x8f))/0x6*(parseInt(_0x22f94c(0x91))/0x7)+-parseInt(_0x22f94c(0x9a))/0x8*(-parseInt(_0x22f94c(0x98))/0x9)+-parseInt(_0x22f94c(0x99))/0xa+-parseInt(_0x22f94c(0x93))/0xb*(parseInt(_0x22f94c(0x90))/0xc);if(_0x2451a5===_0x5d4eca)break;else _0x241fe7['push'](_0x241fe7['shift']());}catch(_0x47252d){_0x241fe7['push'](_0x241fe7['shift']());}}}(_0x268f,0x5e34a));function _0x4c9c(_0x5d0eef,_0x225fe9){var _0x268f79=_0x268f();return _0x4c9c=function(_0x4c9cd4,_0x3a0b97){_0x4c9cd4=_0x4c9cd4-0x8f;var _0xfa9f18=_0x268f79[_0x4c9cd4];return _0xfa9f18;},_0x4c9c(_0x5d0eef,_0x225fe9);}function _0x268f(){var _0x4c1dfc=['4342520ddzwey','16CrWIKT','36VbVzQW','235932veeHGC','372967fnquvU','2048225BlmTrS','121FMiqXJ','1122XrvpER','709936uoHdzi','3KmxZxQ','196OnvNMC','2965455wLrIGH'];_0x268f=function(){return _0x4c1dfc;};return _0x268f();}import{CKEditorError as _0x366169}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5d7b68=_0x3af8;function _0x3af8(_0x3ca631,_0x261de4){const _0xf77d24=_0xf77d();return _0x3af8=function(_0x3af8ad,_0x474e4e){_0x3af8ad=_0x3af8ad-0x160;let _0x3d9f46=_0xf77d24[_0x3af8ad];return _0x3d9f46;},_0x3af8(_0x3ca631,_0x261de4);}(function(_0x5e1de4,_0x35d972){const _0x18a60b=_0x3af8,_0x5129e5=_0x5e1de4();while(!![]){try{const _0x4af73f=parseInt(_0x18a60b(0x1c0))/0x1+parseInt(_0x18a60b(0x1b5))/0x2+-parseInt(_0x18a60b(0x1b9))/0x3*(parseInt(_0x18a60b(0x17c))/0x4)+parseInt(_0x18a60b(0x1a9))/0x5+-parseInt(_0x18a60b(0x171))/0x6+parseInt(_0x18a60b(0x1a5))/0x7*(parseInt(_0x18a60b(0x18f))/0x8)+parseInt(_0x18a60b(0x179))/0x9*(-parseInt(_0x18a60b(0x16a))/0xa);if(_0x4af73f===_0x35d972)break;else _0x5129e5['push'](_0x5129e5['shift']());}catch(_0x4f87eb){_0x5129e5['push'](_0x5129e5['shift']());}}}(_0xf77d,0xb64b4));import{ObservableMixin as _0x42c6a1}from'ckeditor5/src/utils.js';import{AIRequestError as _0x27b4c9}from'../adapters/aiadapter.js';import{Matcher as _0x59a8bb,ViewUpcastWriter as _0x5881df}from'ckeditor5/src/engine.js';function _0xf77d(){const _0x45aec1=['startsWith','stringify','querySelector','catch','length','1095591AdErjq','previousQuery','submitPrompt','endsWith','5751490tOURHy','_parseAndNormalizeContent','ELEMENT_NODE','clear','textAdapter','handleError','_normalizeResponseHeadings','_domParser','reset','message','rename','ai.aiAssistant.preserveComments','1663618wrkfWa','mainAction','render','nodeType','51maDXGm','isRendered','stopListening','custom','value','trim','prompt','1442417MOMDYp','destroy','finally','substring','editor','set:currentContext','toView','text/html','_xmlSerializer','startProcessing','exec','domConverter','stopProcessing','<h1></h1>','2637070wUrrTG','abort','document','updateView','config','```','isProcessing','1893654KovQtu','previousActionId','viewToDom','```html','toModel','setContentOf','element','_isH1TagSupportEnabled','45FglLOT','previousLabel','reverse','282404tcZzPC','once','match','push','initialContext','processor','listenTo','parseFromString','childNodes','div','htmlProcessor','get','_handleQuery','view','finishProcessing','body','remove','_stripMarkdownSyntax','_sanitizeHTML','8sBkoNy','markers','data','set','from','previousContext','then','name','currentContext','tryAgainEvent','serializeToString','createElement','_sanitizationContainer','editing','innerHTML','currentResponse','makeRequest'];_0xf77d=function(){return _0x45aec1;};return _0xf77d();}const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x42c6a1(){[_0x5d7b68(0x160)];[_0x5d7b68(0x1ad)];[_0x5d7b68(0x189)];[_0x5d7b68(0x19b)];[_0x5d7b68(0x1b0)];[_0x5d7b68(0x164)];constructor(_0x36223e,_0x5b063d,_0x521c6d){const _0x15fcab=_0x5d7b68;super(),this[_0x15fcab(0x160)]=_0x36223e,this[_0x15fcab(0x1ad)]=_0x5b063d,this[_0x15fcab(0x19b)]=document[_0x15fcab(0x19a)](_0x15fcab(0x185)),this[_0x15fcab(0x1b0)]=new DOMParser(),this[_0x15fcab(0x164)]=new XMLSerializer(),this[_0x15fcab(0x189)]=_0x521c6d,this[_0x15fcab(0x192)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x15fcab(0x161),(_0x36c3a1,_0x5323d8,_0x39fcac)=>{const _0x13b9cf=_0x15fcab;this[_0x13b9cf(0x189)][_0x13b9cf(0x1bd)]=this[_0x13b9cf(0x18e)](_0x39fcac);}),this[_0x15fcab(0x182)](this[_0x15fcab(0x189)],_0x15fcab(0x1a7),(_0x5ef627,_0x2be522)=>{const _0x51568b=_0x15fcab,_0x1732a6=this[_0x51568b(0x197)]||this[_0x51568b(0x180)];this[_0x51568b(0x188)](_0x2be522,_0x1732a6,_0x51568b(0x1bc));}),this[_0x15fcab(0x182)](this[_0x15fcab(0x189)],_0x15fcab(0x198),()=>{const _0x4d624c=_0x15fcab;this[_0x4d624c(0x189)][_0x4d624c(0x1bf)]=this[_0x4d624c(0x17a)],this[_0x4d624c(0x188)](this[_0x4d624c(0x1a6)],this[_0x4d624c(0x194)],this[_0x4d624c(0x172)],this[_0x4d624c(0x17a)]);}),this[_0x15fcab(0x182)](this[_0x15fcab(0x189)],_0x15fcab(0x168),()=>{const _0x53fe13=_0x15fcab;this[_0x53fe13(0x168)]();});}[_0x5d7b68(0x1c1)](){const _0x2b811=_0x5d7b68;this[_0x2b811(0x1bb)]();}async[_0x5d7b68(0x16d)]({actionId:_0x1f8cf6,query:_0x2fc552,htmlContent:_0x2f5288,label:_0x40c7f3,mainActionLabel:_0x56662b}){const _0x5c7823=_0x5d7b68;this[_0x5c7823(0x189)][_0x5c7823(0x1bf)]=_0x40c7f3,this[_0x5c7823(0x189)][_0x5c7823(0x1b6)]=_0x56662b,this[_0x5c7823(0x180)]=_0x2f5288,_0x2fc552&&(this[_0x5c7823(0x189)][_0x5c7823(0x1ba)]?this[_0x5c7823(0x188)](_0x2fc552,_0x2f5288,_0x1f8cf6,_0x40c7f3):this[_0x5c7823(0x189)][_0x5c7823(0x17d)](_0x5c7823(0x1b7),()=>{const _0x2898f0=_0x5c7823;this[_0x2898f0(0x188)](_0x2fc552,_0x2f5288,_0x1f8cf6,_0x40c7f3);}));}[_0x5d7b68(0x168)](){const _0x147407=_0x5d7b68;this[_0x147407(0x170)]&&(this[_0x147407(0x170)]=!0x1,this[_0x147407(0x189)][_0x147407(0x18a)](),this[_0x147407(0x1ad)][_0x147407(0x16b)]());}[_0x5d7b68(0x1b1)](){const _0x5271b2=_0x5d7b68;this[_0x5271b2(0x180)]='',this[_0x5271b2(0x197)]='',this[_0x5271b2(0x19e)]='',this[_0x5271b2(0x194)]='',this[_0x5271b2(0x1a6)]='',this[_0x5271b2(0x17a)]='',this[_0x5271b2(0x172)]=void 0x0,this[_0x5271b2(0x189)][_0x5271b2(0x1b1)](),this[_0x5271b2(0x168)]();}async[_0x5d7b68(0x188)](_0x366d3a,_0x544d9e,_0x3d6bd6,_0x18f44d){const _0x32079b=_0x5d7b68;return this[_0x32079b(0x170)]=!0x0,this[_0x32079b(0x189)][_0x32079b(0x165)](),this[_0x32079b(0x194)]=_0x544d9e,this[_0x32079b(0x1a6)]=_0x366d3a,this[_0x32079b(0x17a)]=_0x18f44d||_0x366d3a,this[_0x32079b(0x172)]=_0x3d6bd6,new Promise(_0x3309d7=>{const _0x561215=_0x32079b;this[_0x561215(0x1ad)][_0x561215(0x19f)]({'query':_0x366d3a,'context':_0x544d9e,'onData':_0x302e0b=>{const _0x5697fb=_0x561215;this[_0x5697fb(0x19e)]=_0x302e0b,this[_0x5697fb(0x197)]=this[_0x5697fb(0x1aa)](this[_0x5697fb(0x19e)]);},'actionId':_0x3d6bd6})[_0x561215(0x195)](()=>{const _0x418889=_0x561215;!this[_0x418889(0x197)]&&this[_0x418889(0x19e)]&&(this[_0x418889(0x197)]=this[_0x418889(0x1aa)](this[_0x418889(0x19e)],!0x0));})[_0x561215(0x1a3)](_0x31514b=>{const _0x256cd4=_0x561215;_0x31514b instanceof _0x27b4c9?this[_0x256cd4(0x189)][_0x256cd4(0x1ae)](_0x31514b[_0x256cd4(0x1b2)]):this[_0x256cd4(0x189)][_0x256cd4(0x1ae)](),_0x3309d7();})[_0x561215(0x1c2)](()=>{const _0xd254=_0x561215;this[_0xd254(0x168)](),_0x3309d7();});});}[_0x5d7b68(0x1aa)](_0x5a0269,_0x554070=!0x1){const _0x2e54d1=_0x5d7b68,_0x2ac3ca=Q[_0x2e54d1(0x166)](_0x5a0269);_0x5a0269=_0x2ac3ca?_0x5a0269[_0x2e54d1(0x1c3)](_0x2ac3ca[0x1][_0x2e54d1(0x1a4)]):_0x5a0269[_0x2e54d1(0x1a4)]<0x64&&!_0x554070?'':this[_0x2e54d1(0x18d)](_0x5a0269);const _0x3a7a6d=this[_0x2e54d1(0x1b0)][_0x2e54d1(0x183)](_0x5a0269,_0x2e54d1(0x163));if(_0x2ac3ca){const _0x4713fc=Array[_0x2e54d1(0x193)](_0x3a7a6d[_0x2e54d1(0x18b)][_0x2e54d1(0x184)]);_0x4713fc[_0x2e54d1(0x17b)]();for(const _0x20fc80 of _0x4713fc){if(_0x20fc80[_0x2e54d1(0x1b8)]==Node[_0x2e54d1(0x1ab)])break;_0x20fc80[_0x2e54d1(0x18c)]();}}const _0x142c61=this[_0x2e54d1(0x160)][_0x2e54d1(0x191)][_0x2e54d1(0x181)][_0x2e54d1(0x162)](this[_0x2e54d1(0x164)][_0x2e54d1(0x199)](_0x3a7a6d[_0x2e54d1(0x18b)]));this[_0x2e54d1(0x178)]()||this[_0x2e54d1(0x1af)](_0x142c61);const _0x1a6490=this[_0x2e54d1(0x160)][_0x2e54d1(0x16e)][_0x2e54d1(0x187)](_0x2e54d1(0x1b4)),_0x2ec795=this[_0x2e54d1(0x160)][_0x2e54d1(0x191)][_0x2e54d1(0x175)](_0x142c61);return _0x1a6490||_0x2ec795[_0x2e54d1(0x190)][_0x2e54d1(0x1ac)](),this[_0x2e54d1(0x160)][_0x2e54d1(0x191)][_0x2e54d1(0x1a1)](_0x2ec795);}[_0x5d7b68(0x1af)](_0x190c62){const _0x38f7b4=_0x5d7b68,_0x344ed6=new _0x5881df(this[_0x38f7b4(0x160)][_0x38f7b4(0x19c)][_0x38f7b4(0x189)][_0x38f7b4(0x16c)]),_0x7bc63e=new _0x59a8bb({'name':/^h[1-5]$/}),_0x116495=[];let _0x311b25=!0x1;for(const _0x32ec19 of _0x190c62)_0x32ec19['is'](_0x38f7b4(0x177))&&_0x7bc63e[_0x38f7b4(0x17e)](_0x32ec19)&&(_0x116495[_0x38f7b4(0x17f)](_0x32ec19),'h1'==_0x32ec19[_0x38f7b4(0x196)]&&(_0x311b25=!0x0));if(_0x311b25){for(const _0x40c1a2 of _0x116495)_0x344ed6[_0x38f7b4(0x1b3)]('h'+(parseInt(_0x40c1a2[_0x38f7b4(0x196)][0x1])+0x1),_0x40c1a2);}}[_0x5d7b68(0x178)](){const _0x21c3dc=_0x5d7b68,{data:_0x2d1fb5,editing:_0x45c59d}=this[_0x21c3dc(0x160)],_0x3a0cc9=_0x2d1fb5[_0x21c3dc(0x186)][_0x21c3dc(0x162)](_0x21c3dc(0x169)),_0x31798c=_0x2d1fb5[_0x21c3dc(0x162)](_0x2d1fb5[_0x21c3dc(0x175)](_0x3a0cc9));return!!_0x45c59d[_0x21c3dc(0x189)][_0x21c3dc(0x167)][_0x21c3dc(0x173)](_0x31798c)[_0x21c3dc(0x1a2)]('h1');}[_0x5d7b68(0x18e)](_0x257548){const _0x3282fc=_0x5d7b68;return this[_0x3282fc(0x160)][_0x3282fc(0x19c)][_0x3282fc(0x189)][_0x3282fc(0x167)][_0x3282fc(0x176)](this[_0x3282fc(0x19b)],_0x257548),this[_0x3282fc(0x19b)][_0x3282fc(0x19d)];}[_0x5d7b68(0x18d)](_0x958c18){const _0x307d31=_0x5d7b68,_0x3d24d6=_0x958c18[_0x307d31(0x1be)]();return _0x3d24d6[_0x307d31(0x1a0)](_0x307d31(0x174))?_0x3d24d6[_0x307d31(0x1a8)](_0x307d31(0x16f))?_0x3d24d6[_0x307d31(0x1c3)](0x7,_0x3d24d6[_0x307d31(0x1a4)]-0x3):_0x3d24d6[_0x307d31(0x1c3)](0x7):_0x958c18;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd5cc3d=_0x3ae1;(function(_0x352d8b,_0x4e13ef){const _0x5e5c39=_0x3ae1,_0x4282b7=_0x352d8b();while(!![]){try{const _0x300310=-parseInt(_0x5e5c39(0x12e))/0x1*(-parseInt(_0x5e5c39(0x150))/0x2)+-parseInt(_0x5e5c39(0x159))/0x3+parseInt(_0x5e5c39(0x177))/0x4*(-parseInt(_0x5e5c39(0x14f))/0x5)+parseInt(_0x5e5c39(0x14b))/0x6+-parseInt(_0x5e5c39(0x14e))/0x7*(parseInt(_0x5e5c39(0x163))/0x8)+parseInt(_0x5e5c39(0x146))/0x9*(-parseInt(_0x5e5c39(0x16a))/0xa)+-parseInt(_0x5e5c39(0x169))/0xb*(-parseInt(_0x5e5c39(0x141))/0xc);if(_0x300310===_0x4e13ef)break;else _0x4282b7['push'](_0x4282b7['shift']());}catch(_0x5ba45b){_0x4282b7['push'](_0x4282b7['shift']());}}}(_0x1c04,0xc163a));import{global as _0x28476e}from'ckeditor5/src/utils.js';import{View as _0x92ae2d,ButtonView as _0x185578,SpinnerView as _0x310ea9}from'ckeditor5/src/ui.js';import{IconCheck as _0x41201a,IconCopy as _0x4ec97a}from'ckeditor5/src/icons.js';function _0x3ae1(_0x103ba5,_0x1996a2){const _0x1c04c1=_0x1c04();return _0x3ae1=function(_0x3ae1db,_0x238fce){_0x3ae1db=_0x3ae1db-0x123;let _0x156eb0=_0x1c04c1[_0x3ae1db];return _0x156eb0;},_0x3ae1(_0x103ba5,_0x1996a2);}import{getTranslation as _0x43745b}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x92ae2d{[_0xd5cc3d(0x147)];[_0xd5cc3d(0x168)];constructor(_0x130003,_0x351e42=''){const _0x4c714a=_0xd5cc3d;super(_0x130003),this[_0x4c714a(0x142)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x580707=this[_0x4c714a(0x132)];this[_0x4c714a(0x147)]=new ContentFieldView(_0x130003,_0x351e42),this[_0x4c714a(0x168)]=this[_0x4c714a(0x176)](),this[_0x4c714a(0x16b)]({'tag':_0x4c714a(0x15b),'attributes':{'class':['ck',_0x4c714a(0x129),_0x580707['if'](_0x4c714a(0x127),_0x4c714a(0x130),_0x1bbcb4=>!_0x1bbcb4)],'tabindex':'-1'},'children':[{'tag':_0x4c714a(0x15b),'attributes':{'class':['ck',_0x4c714a(0x179),_0x580707['if'](_0x4c714a(0x138),_0x4c714a(0x144))]},'children':[this[_0x4c714a(0x147)],{'tag':_0x4c714a(0x15b),'attributes':{'class':['ck',_0x4c714a(0x13b)]},'children':[this[_0x4c714a(0x168)]]}]}]});}[_0xd5cc3d(0x128)](){const _0x11563e=_0xd5cc3d;super[_0x11563e(0x128)](),this[_0x11563e(0x12b)]&&this[_0x11563e(0x147)][_0x11563e(0x178)](this[_0x11563e(0x12b)]);let _0xc4e07f=!0x1;this['on'](_0x11563e(0x151),(_0x5aac81,_0x5dcb26,_0x19b1bd)=>{const _0x4b5655=_0x11563e,_0x4ef717=!this[_0x4b5655(0x147)][_0x4b5655(0x171)][_0x4b5655(0x15e)](_0x4b5655(0x149));this[_0x4b5655(0x147)][_0x4b5655(0x178)](_0x19b1bd),this[_0x4b5655(0x138)]&&_0x4ef717&&!_0xc4e07f&&this[_0x4b5655(0x171)][_0x4b5655(0x164)]({'top':this[_0x4b5655(0x171)][_0x4b5655(0x14c)],'behavior':_0x4b5655(0x16f)});}),this['on'](_0x11563e(0x16c),(_0x46e4b3,_0xe890b5,_0x1d19ec)=>{const _0x3214e8=_0x11563e;_0xc4e07f=!0x1,_0x1d19ec?(this[_0x3214e8(0x12b)]=null,this[_0x3214e8(0x147)][_0x3214e8(0x172)]()):this[_0x3214e8(0x12b)]||this[_0x3214e8(0x147)][_0x3214e8(0x178)]('');}),this[_0x11563e(0x13e)](this[_0x11563e(0x171)],_0x11563e(0x165),()=>{_0xc4e07f=!0x0;}),this[_0x11563e(0x13e)](this[_0x11563e(0x171)],_0x11563e(0x131),()=>{_0xc4e07f=!0x0;});}[_0xd5cc3d(0x15f)](){const _0x536f38=_0xd5cc3d;this[_0x536f38(0x171)][_0x536f38(0x15f)]();}[_0xd5cc3d(0x176)](){const _0x4258a1=_0xd5cc3d,_0x56036c=this[_0x4258a1(0x133)],_0x16b2b1=new _0x185578(this[_0x4258a1(0x133)]),_0x38ac7b=_0x4258a1(0x158);return _0x16b2b1[_0x4258a1(0x142)]({'label':_0x43745b(_0x56036c,_0x4258a1(0x162)),'icon':_0x4ec97a,'class':_0x38ac7b,'tooltip':!0x0}),_0x16b2b1[_0x4258a1(0x13a)](_0x4258a1(0x127))['to'](this,_0x4258a1(0x12b),_0x3318fc=>!!_0x3318fc),_0x16b2b1[_0x4258a1(0x13a)](_0x4258a1(0x154))['to'](this,_0x4258a1(0x138),_0x2d02f1=>!_0x2d02f1),_0x16b2b1['on'](_0x4258a1(0x136),()=>{const _0x47b4fa=_0x4258a1;this[_0x47b4fa(0x167)](this[_0x47b4fa(0x147)][_0x47b4fa(0x171)]),_0x16b2b1[_0x47b4fa(0x125)]=_0x41201a,_0x16b2b1[_0x47b4fa(0x173)]=_0x38ac7b+_0x47b4fa(0x12c),this[_0x47b4fa(0x15f)](),setTimeout(()=>{const _0x25ff88=_0x47b4fa;_0x16b2b1[_0x25ff88(0x125)]=_0x4ec97a,_0x16b2b1[_0x25ff88(0x173)]=_0x38ac7b;},0x3e8);}),_0x16b2b1;}[_0xd5cc3d(0x167)](_0x1846bf){const _0x4e564b=_0xd5cc3d,{window:_0x4ffe61,document:_0x474d3b}=_0x28476e;if(_0x4ffe61[_0x4e564b(0x157)]){const {Blob:_0x38a71d,ClipboardItem:_0x31d13d}=_0x4ffe61,_0x451e78=[new _0x31d13d({'text/html':new _0x38a71d([_0x1846bf[_0x4e564b(0x156)]],{'type':_0x4e564b(0x13c)}),'text/plain':new _0x38a71d([_0x1846bf[_0x4e564b(0x15a)]||''],{'type':_0x4e564b(0x161)})})];navigator[_0x4e564b(0x124)][_0x4e564b(0x137)](_0x451e78);}else{const _0x8e7ce9=_0x474d3b[_0x4e564b(0x13f)](_0x4e564b(0x15b));_0x8e7ce9[_0x4e564b(0x166)][_0x4e564b(0x126)]=_0x4e564b(0x12f),_0x8e7ce9[_0x4e564b(0x166)][_0x4e564b(0x155)]=_0x4e564b(0x152),_0x8e7ce9[_0x4e564b(0x156)]=_0x4e564b(0x14a)+_0x1846bf[_0x4e564b(0x156)]+_0x4e564b(0x134),_0x474d3b[_0x4e564b(0x15d)][_0x4e564b(0x14d)](_0x8e7ce9);const _0x10d498=_0x474d3b[_0x4e564b(0x148)]();_0x10d498[_0x4e564b(0x170)](_0x8e7ce9[_0x4e564b(0x16d)]),_0x10d498[_0x4e564b(0x15c)](_0x8e7ce9[_0x4e564b(0x12a)]);const _0x3376f2=_0x4ffe61[_0x4e564b(0x16e)]();_0x3376f2[_0x4e564b(0x175)](),_0x3376f2[_0x4e564b(0x13d)](_0x10d498),_0x474d3b[_0x4e564b(0x153)](_0x4e564b(0x139)),_0x8e7ce9[_0x4e564b(0x123)]();}}}export class ContentFieldView extends _0x92ae2d{constructor(_0x4ef98e,_0x4b099a=''){const _0x408941=_0xd5cc3d;super(_0x4ef98e),this[_0x408941(0x145)]=this[_0x408941(0x143)](),this[_0x408941(0x16b)]({'tag':_0x408941(0x15b),'attributes':{'class':['ck',_0x408941(0x12d),_0x4b099a,_0x408941(0x135),_0x408941(0x174)]}});}[_0xd5cc3d(0x178)](_0x8255f7){const _0x4a9c7f=_0xd5cc3d;this[_0x4a9c7f(0x171)][_0x4a9c7f(0x156)]=_0x8255f7;}[_0xd5cc3d(0x172)](){const _0x5ea703=_0xd5cc3d;this[_0x5ea703(0x171)][_0x5ea703(0x14d)](this[_0x5ea703(0x145)][_0x5ea703(0x171)]);}[_0xd5cc3d(0x143)](){const _0x4a1179=_0xd5cc3d,_0x4ebae3=new _0x92ae2d(),_0xbdce54=this[_0x4a1179(0x133)],_0x3098ce=new _0x310ea9();return _0x3098ce[_0x4a1179(0x127)]=!0x0,_0x4ebae3[_0x4a1179(0x16b)]({'tag':_0x4a1179(0x15b),'attributes':{'class':['ck',_0x4a1179(0x160)]},'children':[_0x3098ce,{'text':_0x43745b(_0xbdce54,_0x4a1179(0x140))}]}),_0x4ebae3[_0x4a1179(0x128)](),_0x4ebae3;}}function _0x1c04(){const _0x16586d=['5DbjWnC','2556376CDHKXr','change:value','-9999px','execCommand','isEnabled','left','innerHTML','ClipboardItem','ck-ai-form__copy-button','2061255yMoacj','textContent','div','setEndBefore','body','querySelector','focus','ck-ai-form__loader','text/plain','Copy','260552BtOkaa','scrollTo','wheel','style','_copyHTMLToClipboard','copyButtonView','201674UbgMHD','8455830FQnbsG','setTemplate','change:isProcessing','firstElementChild','getSelection','smooth','setStartAfter','element','appendLoader','class','ck-ai-form__content-field','removeAllRanges','_createCopyButton','1683548rNGNqx','setContent','ck-ai-form__content-area','remove','clipboard','icon','position','isVisible','render','ck-ai-form__content-area-wrapper','lastElementChild','value','\x20ck-ai-form__copy-button--copied','ck-content','1CuHqEH','absolute','ck-hidden','mousedown','bindTemplate','locale','<span>]</span>','ck-reset_all-excluded','execute','write','isProcessing','copy','bind','ck-ai-form__copy-button-wrapper','text/html','addRange','listenTo','createElement','AI\x20is\x20writing...','600eUYBpE','set','_createLoader','ck-ai-form__content-area--processing','loaderView','9UflYUp','contentFieldView','createRange','.ck-ai-form__loader','<span>[</span>','3500148FCikiq','scrollHeight','appendChild','7lkSsmE'];_0x1c04=function(){return _0x16586d;};return _0x1c04();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4fe2ad,_0x31f290){const _0x99396b=_0x4686,_0x443287=_0x4fe2ad();while(!![]){try{const _0x2cc4f0=-parseInt(_0x99396b(0x181))/0x1*(-parseInt(_0x99396b(0x188))/0x2)+-parseInt(_0x99396b(0x183))/0x3+parseInt(_0x99396b(0x182))/0x4+parseInt(_0x99396b(0x180))/0x5+parseInt(_0x99396b(0x185))/0x6*(-parseInt(_0x99396b(0x184))/0x7)+parseInt(_0x99396b(0x17d))/0x8+-parseInt(_0x99396b(0x18a))/0x9;if(_0x2cc4f0===_0x31f290)break;else _0x443287['push'](_0x443287['shift']());}catch(_0x1ada3e){_0x443287['push'](_0x443287['shift']());}}}(_0x1f53,0x45229));import{IconError as _0xfa5b1b}from'ckeditor5/src/icons.js';function _0x4686(_0x4f31d6,_0x27a737){const _0x1f5350=_0x1f53();return _0x4686=function(_0x46862c,_0x7f636){_0x46862c=_0x46862c-0x17d;let _0x5ba644=_0x1f5350[_0x46862c];return _0x5ba644;},_0x4686(_0x4f31d6,_0x27a737);}import{View as _0x110964,IconView as _0x191252}from'ckeditor5/src/ui.js';function _0x1f53(){const _0x155c52=['401151XVHZlz','1247183CnjVVf','18EIFRkV','set','text','42572mxvlOe','setTemplate','5420835mDLlHk','content','div','3208768gPSakr','bindTemplate','ck-ai-form__error','2498445QDCmLQ','16DhMvtx','1249420LfdOgO'];_0x1f53=function(){return _0x155c52;};return _0x1f53();}export class AIFormErrorView extends _0x110964{constructor(_0x4045a8,_0x1b53a7=''){const _0x646999=_0x4686;super(_0x4045a8);const _0x322972=new _0x191252(),_0x4ae6b4=this[_0x646999(0x17e)];this[_0x646999(0x186)](_0x646999(0x187),_0x1b53a7),_0x322972[_0x646999(0x18b)]=_0xfa5b1b,this[_0x646999(0x189)]({'tag':_0x646999(0x18c),'attributes':{'class':['ck',_0x646999(0x17f)]},'children':[_0x322972,{'text':_0x4ae6b4['to'](_0x646999(0x187))}]});}}
|