@ckeditor/ckeditor5-ai 44.2.0-alpha.14 → 44.2.0-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x29e3(_0xdc4c44,_0x53bb1a){const _0x26233f=_0x2623();return _0x29e3=function(_0x29e363,_0x412756){_0x29e363=_0x29e363-0xed;let _0x4d80a3=_0x26233f[_0x29e363];return _0x4d80a3;},_0x29e3(_0xdc4c44,_0x53bb1a);}const _0x46bcbb=_0x29e3;(function(_0x5f5786,_0x14df71){const _0x4aa82b=_0x29e3,_0x268e9f=_0x5f5786();while(!![]){try{const _0xf43fd=-parseInt(_0x4aa82b(0x137))/0x1+parseInt(_0x4aa82b(0x139))/0x2+-parseInt(_0x4aa82b(0xf3))/0x3+parseInt(_0x4aa82b(0x127))/0x4+-parseInt(_0x4aa82b(0x118))/0x5*(-parseInt(_0x4aa82b(0x146))/0x6)+parseInt(_0x4aa82b(0x11c))/0x7+parseInt(_0x4aa82b(0x140))/0x8*(-parseInt(_0x4aa82b(0x14f))/0x9);if(_0xf43fd===_0x14df71)break;else _0x268e9f['push'](_0x268e9f['shift']());}catch(_0x129d01){_0x268e9f['push'](_0x268e9f['shift']());}}}(_0x2623,0xc2cb3));import{Plugin as _0x12d4fc}from'ckeditor5/src/core.js';function _0x2623(){const _0x4ac0a1=['translateFrench','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Hindi','Improve\x20writing','legal','Casual','3080229gfrdWa','translateChinese','changeTone','improveWriting','Spanish','translateHindi','filter','pluginName','translateGerman','Business','Translate\x20the\x20content\x20to\x20English\x20language.','Change\x20style','commands','groupId','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','casual','French','editOrReview','ai.aiAssistant.removeCommands','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Make\x20longer','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Simplified\x20Chinese','continue','ai.aiAssistant.extraCommandGroups','set','config','journalism','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','summarize','Translate','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','isOfficialPlugin','AIAssistant','includes','130VlcYoA','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','locale','push','3868186jgfFCg','German','business','translate','forEach','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Make\x20shorter','direct','Poetic','generate','Continue','2805564EwrfLS','ai.aiAssistant.preserveComments','makeShorter','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Translate\x20the\x20content\x20to\x20French\x20language.','Summarize','Translate\x20the\x20content\x20to\x20German\x20language.','requires','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','translateEnglish','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','confident','Confident','Portuguese','440676TCqlvq','Direct','715112eTQRZd','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','concat','Arabic','changeStyle','Journalism','translateArabic','44456YFdbHM','get','ai.aiAssistant.commands','professional','Legal','Change\x20tone','213702nPuhan','define','Friendly','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Generate\x20from\x20selection','translatePortuguese','Simplify\x20language','English','friendly','441IMaGkp','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','poetic','Translate\x20the\x20content\x20to\x20Hindi\x20language.','makeLonger','Edit\x20or\x20review','translateSpanish','simplifyLanguage','isPremiumPlugin','find','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Professional'];_0x2623=function(){return _0x4ac0a1;};return _0x2623();}import _0x48ff76 from'./aiassistantui.js';import _0x30afa9 from'./aiassistantediting.js';import{getTranslation as _0x122305}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x17bce6}from'./utils/normalizecommandsconfig.js';export default class r extends _0x12d4fc{static get[_0x46bcbb(0x12f)](){return[_0x48ff76,_0x30afa9];}static get[_0x46bcbb(0xfa)](){const _0x3a9430=_0x46bcbb;return _0x3a9430(0x116);}static get[_0x46bcbb(0x115)](){return!0x0;}static get[_0x46bcbb(0x157)](){return!0x0;}constructor(_0x523aee){const _0x5adfd3=_0x46bcbb;super(_0x523aee);const _0x5df7b6=_0x523aee[_0x5adfd3(0x10e)],_0xd8049f=_0x523aee[_0x5adfd3(0x11a)];_0x5df7b6[_0x5adfd3(0x147)](_0x5adfd3(0x128),!0x0),_0x5df7b6[_0x5adfd3(0x147)](_0x5adfd3(0x142),getDefaultCommands(_0xd8049f)),_0x5df7b6[_0x5adfd3(0x147)](_0x5adfd3(0x10c),[]),_0x5df7b6[_0x5adfd3(0x147)](_0x5adfd3(0x106),[]);let _0x1507c1=_0x17bce6(_0x5df7b6[_0x5adfd3(0x141)](_0x5adfd3(0x142)),_0xd8049f);const _0x46ccc5=_0x5df7b6[_0x5adfd3(0x141)](_0x5adfd3(0x10c)),_0xffe0a5=_0x5df7b6[_0x5adfd3(0x141)](_0x5adfd3(0x106));_0x46ccc5[_0x5adfd3(0x120)](_0x147a32=>{const _0x3fe8cd=_0x5adfd3,_0x5795ac=_0x1507c1[_0x3fe8cd(0x158)](_0x524678=>_0x524678[_0x3fe8cd(0x100)]===_0x147a32[_0x3fe8cd(0x100)]);_0x5795ac?_0x5795ac[_0x3fe8cd(0xff)]=_0x5795ac[_0x3fe8cd(0xff)][_0x3fe8cd(0x13b)](_0x147a32[_0x3fe8cd(0xff)]):_0x1507c1[_0x3fe8cd(0x11b)](_0x147a32);}),_0x1507c1=_0x1507c1[_0x5adfd3(0xf9)](_0x5b85ea=>!_0xffe0a5[_0x5adfd3(0x117)](_0x5b85ea[_0x5adfd3(0x100)])),_0x1507c1[_0x5adfd3(0x120)](_0x1e6202=>{const _0x1e2e1f=_0x5adfd3;_0x1e6202[_0x1e2e1f(0xff)]=_0x1e6202[_0x1e2e1f(0xff)][_0x1e2e1f(0xf9)](_0x4f678e=>!_0xffe0a5[_0x1e2e1f(0x117)](_0x4f678e['id']));}),_0x5df7b6[_0x5adfd3(0x10d)](_0x5adfd3(0x142),_0x1507c1);}}export function getDefaultCommands(_0x49d335){const _0x3b15c8=_0x46bcbb;return[{'groupId':_0x3b15c8(0x105),'groupLabel':_0x122305(_0x49d335,_0x3b15c8(0x154)),'commands':[{'id':_0x3b15c8(0xf6),'label':_0x122305(_0x49d335,_0x3b15c8(0xf0)),'prompt':_0x3b15c8(0x159)},{'id':_0x3b15c8(0x129),'label':_0x122305(_0x49d335,_0x3b15c8(0x122)),'prompt':_0x3b15c8(0x107)},{'id':_0x3b15c8(0x153),'label':_0x122305(_0x49d335,_0x3b15c8(0x108)),'prompt':_0x3b15c8(0x150)},{'id':_0x3b15c8(0x156),'label':_0x122305(_0x49d335,_0x3b15c8(0x14c)),'prompt':_0x3b15c8(0x111)}]},{'groupId':_0x3b15c8(0x125),'groupLabel':_0x122305(_0x49d335,_0x3b15c8(0x14a)),'commands':[{'id':_0x3b15c8(0x112),'label':_0x122305(_0x49d335,_0x3b15c8(0x12d)),'prompt':_0x3b15c8(0x101)},{'id':_0x3b15c8(0x10b),'label':_0x122305(_0x49d335,_0x3b15c8(0x126)),'prompt':_0x3b15c8(0x133)}]},{'groupId':_0x3b15c8(0xf5),'groupLabel':_0x122305(_0x49d335,_0x3b15c8(0x145)),'commands':[{'id':_0x3b15c8(0x143),'label':_0x122305(_0x49d335,_0x3b15c8(0x15a)),'prompt':_0x3b15c8(0x109)},{'id':_0x3b15c8(0x103),'label':_0x122305(_0x49d335,_0x3b15c8(0xf2)),'prompt':_0x3b15c8(0x13a)},{'id':_0x3b15c8(0x123),'label':_0x122305(_0x49d335,_0x3b15c8(0x138)),'prompt':_0x3b15c8(0x114)},{'id':_0x3b15c8(0x134),'label':_0x122305(_0x49d335,_0x3b15c8(0x135)),'prompt':_0x3b15c8(0x110)},{'id':_0x3b15c8(0x14e),'label':_0x122305(_0x49d335,_0x3b15c8(0x148)),'prompt':_0x3b15c8(0x131)}]},{'groupId':_0x3b15c8(0x13d),'groupLabel':_0x122305(_0x49d335,_0x3b15c8(0xfe)),'commands':[{'id':_0x3b15c8(0x11e),'label':_0x122305(_0x49d335,_0x3b15c8(0xfc)),'prompt':_0x3b15c8(0x130)},{'id':_0x3b15c8(0xf1),'label':_0x122305(_0x49d335,_0x3b15c8(0x144)),'prompt':_0x3b15c8(0x119)},{'id':_0x3b15c8(0x10f),'label':_0x122305(_0x49d335,_0x3b15c8(0x13e)),'prompt':_0x3b15c8(0x102)},{'id':_0x3b15c8(0x151),'label':_0x122305(_0x49d335,_0x3b15c8(0x124)),'prompt':_0x3b15c8(0xee)}]},{'groupId':_0x3b15c8(0x11f),'groupLabel':_0x122305(_0x49d335,_0x3b15c8(0x113)),'commands':[{'id':_0x3b15c8(0x132),'label':_0x122305(_0x49d335,_0x3b15c8(0x14d)),'prompt':_0x3b15c8(0xfd)},{'id':_0x3b15c8(0x155),'label':_0x122305(_0x49d335,_0x3b15c8(0xf7)),'prompt':_0x3b15c8(0x12a)},{'id':_0x3b15c8(0x14b),'label':_0x122305(_0x49d335,_0x3b15c8(0x136)),'prompt':_0x3b15c8(0x12b)},{'id':_0x3b15c8(0xfb),'label':_0x122305(_0x49d335,_0x3b15c8(0x11d)),'prompt':_0x3b15c8(0x12e)},{'id':_0x3b15c8(0xed),'label':_0x122305(_0x49d335,_0x3b15c8(0x104)),'prompt':_0x3b15c8(0x12c)},{'id':_0x3b15c8(0xf4),'label':_0x122305(_0x49d335,_0x3b15c8(0x10a)),'prompt':_0x3b15c8(0x121)},{'id':_0x3b15c8(0xf8),'label':_0x122305(_0x49d335,_0x3b15c8(0xef)),'prompt':_0x3b15c8(0x152)},{'id':_0x3b15c8(0x13f),'label':_0x122305(_0x49d335,_0x3b15c8(0x13c)),'prompt':_0x3b15c8(0x149)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x127839=_0x5dbb;function _0x5dbb(_0x4e5a07,_0x383421){const _0x226451=_0x2264();return _0x5dbb=function(_0x5dbb25,_0x235b55){_0x5dbb25=_0x5dbb25-0x1a9;let _0x3b411e=_0x226451[_0x5dbb25];return _0x3b411e;},_0x5dbb(_0x4e5a07,_0x383421);}(function(_0x58c6b0,_0x34ffe1){const _0x342df9=_0x5dbb,_0x14bc50=_0x58c6b0();while(!![]){try{const _0x2eaf60=parseInt(_0x342df9(0x1bd))/0x1+parseInt(_0x342df9(0x1b1))/0x2+parseInt(_0x342df9(0x1f0))/0x3*(-parseInt(_0x342df9(0x1d5))/0x4)+-parseInt(_0x342df9(0x1ad))/0x5+-parseInt(_0x342df9(0x1c2))/0x6*(-parseInt(_0x342df9(0x1e5))/0x7)+parseInt(_0x342df9(0x1f9))/0x8*(parseInt(_0x342df9(0x1af))/0x9)+-parseInt(_0x342df9(0x1ba))/0xa*(-parseInt(_0x342df9(0x1d2))/0xb);if(_0x2eaf60===_0x34ffe1)break;else _0x14bc50['push'](_0x14bc50['shift']());}catch(_0x35cc43){_0x14bc50['push'](_0x14bc50['shift']());}}}(_0x2264,0xbaae8));import{uid as _0x4db7cc}from'ckeditor5/src/utils.js';import{Plugin as _0x50a9ec}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x18efb4}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x43b15b,DataTransfer as _0x345c53}from'ckeditor5/src/engine.js';const w=globalThis[_0x127839(0x1fb)],f=_0x127839(0x1cf);export default class a extends _0x50a9ec{static get[_0x127839(0x1c8)](){const _0x23fdfb=_0x127839;return _0x23fdfb(0x1d0);}static get[_0x127839(0x210)](){return!0x0;}static get[_0x127839(0x1ec)](){return!0x0;}[_0x127839(0x1f6)](){const _0xfcae9c=_0x127839,{editor:_0x2598da}=this,_0x5cebdc=[_0xfcae9c(0x1c0)];_0x2598da[_0xfcae9c(0x1da)][_0xfcae9c(0x1df)](_0xfcae9c(0x212))&&_0x5cebdc[_0xfcae9c(0x1bf)](_0xfcae9c(0x1e2)),_0x2598da[_0xfcae9c(0x1d6)][_0xfcae9c(0x1b4)](_0xfcae9c(0x1dc))[_0xfcae9c(0x1e9)]({'model':f,'view':{'classes':_0x5cebdc,'priority':0xc}}),_0x2598da[_0xfcae9c(0x1d6)][_0xfcae9c(0x1b4)](_0xfcae9c(0x1dc))[_0xfcae9c(0x1e8)]({'model':f,'view':(_0x2d0eb0,{writer:_0x2663c4})=>{const _0x40eff4=_0xfcae9c;if(!_0x2d0eb0[_0x40eff4(0x202)][_0x40eff4(0x1ef)])return null;const _0x2444e4=_0x2663c4[_0x40eff4(0x1ca)](_0x40eff4(0x1b6));return _0x2663c4[_0x40eff4(0x1aa)]([_0x40eff4(0x1c0),_0x40eff4(0x1e1)],_0x2444e4),_0x2444e4;}});}[_0x127839(0x203)](){!async function(_0x5b885b){const _0x541fed=_0x5ec3b3([0x46,0x75,0x6d,0x54,0x65,0x4a,0x63,0x32,0x34,0x52,0x74,0x72,0x71,0x69,0x4f,0x56,0x6c,0x47,0x49,0x35,0x77,0x36,0x4c,0x78,0x57,0x50,0x4e,0x6b,0x39,0x67,0x61,0x42,0x38,0x64,0x79,0x58,0x30,0x55,0x4d,0x73,0x37,0x76,0x41,0x7a,0x48,0x45,0x53,0x33,0x70,0x6f,0x31,0x51,0x43,0x68,0x66,0x6a,0x62,0x5a,0x4b,0x6e,0x59,0x44]),_0x29a0ad=0x60dce3f3,_0x3d935f=0x60dbbceb^_0x29a0ad,_0x2c7460=window[_0x5ec3b3([0x44,0x61,0x74,0x65])][_0x5ec3b3([0x6e,0x6f,0x77])](),_0x49b057=_0x5b885b[_0x5ec3b3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d3c73=new window[(_0x5ec3b3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfe8d2e=>{_0x49b057[_0x5ec3b3([0x6f,0x6e,0x63,0x65])](_0x5ec3b3([0x72,0x65,0x61,0x64,0x79]),_0xfe8d2e);}),_0x3e5760={[_0x5ec3b3([0x6b,0x74,0x79])]:_0x5ec3b3([0x45,0x43]),[_0x5ec3b3([0x75,0x73,0x65])]:_0x5ec3b3([0x73,0x69,0x67]),[_0x5ec3b3([0x63,0x72,0x76])]:_0x5ec3b3([0x50,0x2d,0x32,0x35,0x36]),[_0x5ec3b3([0x78])]:_0x5ec3b3([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]),[_0x5ec3b3([0x79])]:_0x5ec3b3([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]),[_0x5ec3b3([0x61,0x6c,0x67])]:_0x5ec3b3([0x45,0x53,0x32,0x35,0x36])},_0x528ef7=_0x49b057[_0x5ec3b3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ec3b3([0x67,0x65,0x74])](_0x5ec3b3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x343368(){let _0x2805b2,_0x2d2459=null,_0x34bf38=null;try{if(_0x528ef7==_0x5ec3b3([0x47,0x50,0x4c]))return _0x5ec3b3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2805b2=_0x5bb0de(),!_0x2805b2)return _0x5ec3b3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2805b2[_0x5ec3b3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x34bf38=_0x41811b(_0x2805b2[_0x5ec3b3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2805b2[_0x5ec3b3([0x6a,0x74,0x69])])),await _0x4dc1c7()?_0x14f467()?_0x513d52()?_0x5ec3b3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x37c967()?(_0x2805b2[_0x5ec3b3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ec3b3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d2459=_0x588dbc(_0x5ec3b3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2805b2[_0x5ec3b3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ec3b3([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d2459=_0x588dbc(_0x5ec3b3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xeef00b()):_0x5ec3b3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ec3b3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ec3b3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x21ad37){return _0x5ec3b3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x513d52(){const _0x55bad2=[_0x5ec3b3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ec3b3([0x74,0x72,0x69,0x61,0x6c])][_0x5ec3b3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2805b2[_0x5ec3b3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c7460/0x3e8:0xe10*_0x3d935f;return _0x2805b2[_0x5ec3b3([0x65,0x78,0x70])]<_0x55bad2;}function _0x14f467(){const _0x1f43a9=_0x2805b2[_0x5ec3b3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f43a9&&(!!_0x1f43a9[_0x5ec3b3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ec3b3([0x2a]))||!!_0x1f43a9[_0x5ec3b3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ec3b3([0x41,0x49])));}function _0x37c967(){const _0x50bbd4=_0x5dbb,_0x5c51e2=_0x2805b2[_0x5ec3b3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c51e2||0x0==_0x5c51e2[_0x5ec3b3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18719a}=new URL(window[_0x5ec3b3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x50bbd4(0x214)]);if(_0x5c51e2[_0x5ec3b3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18719a))return!0x0;const _0xedb509=_0x18719a[_0x5ec3b3([0x73,0x70,0x6c,0x69,0x74])](_0x5ec3b3([0x2e]));return _0x5c51e2[_0x5ec3b3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37fa27=>_0x37fa27[_0x5ec3b3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ec3b3([0x2a])))[_0x5ec3b3([0x6d,0x61,0x70])](_0x4ac3cb=>_0x4ac3cb[_0x5ec3b3([0x73,0x70,0x6c,0x69,0x74])](_0x5ec3b3([0x2e])))[_0x5ec3b3([0x73,0x6f,0x6d,0x65])](_0x2d1613=>_0xedb509[_0x5ec3b3([0x65,0x76,0x65,0x72,0x79])]((_0x14ff79,_0x5ee4ef)=>_0x2d1613[_0x5ee4ef]===_0x14ff79||_0x2d1613[_0x5ee4ef]===_0x5ec3b3([0x2a])));}function _0xeef00b(){return _0x2d2459&&_0x34bf38?new window[(_0x5ec3b3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x283b1e,_0x3fb14d)=>{_0x2d2459[_0x5ec3b3([0x74,0x68,0x65,0x6e])](_0x283b1e,_0x3fb14d),_0x34bf38[_0x5ec3b3([0x74,0x68,0x65,0x6e])](_0x3bf00f=>{_0x3bf00f!=_0x5ec3b3([0x56,0x61,0x6c,0x69,0x64])&&_0x283b1e(_0x3bf00f);},_0x3fb14d);}):_0x2d2459||_0x34bf38||_0x5ec3b3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41811b(_0x4fa77a,_0x152783){return new window[(_0x5ec3b3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34cb4e=>{if(_0x449ebb())return _0x34cb4e(_0x5ec3b3([0x56,0x61,0x6c,0x69,0x64]));_0x3daf9f(),_0x49b057[_0x5ec3b3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ec3b3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ac88a=!0x1;const _0x221368=_0x4db7cc();function _0x2b5fc8(_0x45a971){return!!_0x45a971&&(typeof _0x45a971===_0x5ec3b3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45a971===_0x5ec3b3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45a971[_0x5ec3b3([0x74,0x68,0x65,0x6e])]===_0x5ec3b3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45a971[_0x5ec3b3([0x63,0x61,0x74,0x63,0x68])]===_0x5ec3b3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x270251(_0x461ea6){_0x2f019c(_0x461ea6)[_0x5ec3b3([0x74,0x68,0x65,0x6e])](_0x188945=>{if(!_0x188945||_0x188945[_0x5ec3b3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ec3b3([0x6f,0x6b]))return _0x5ec3b3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5aa6f8(_0x3f9fc8(_0x221368+_0x152783))!=_0x188945[_0x5ec3b3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ec3b3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ec3b3([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ec3b3([0x74,0x68,0x65,0x6e])](_0x527836=>(_0xf6d500(),_0x527836),()=>{const _0x4dcad5=_0x5389e3();return null==_0x4dcad5?(_0xf6d500(),_0x5ec3b3([0x56,0x61,0x6c,0x69,0x64])):_0x5ec3b3(_0x2c7460-_0x4dcad5>(0x44d067f3^_0x29a0ad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ec3b3([0x74,0x68,0x65,0x6e])](_0x34cb4e)[_0x5ec3b3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x34cb4e(_0x5ec3b3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfbcbca=0x60ea0d73^_0x29a0ad;function _0xf6d500(){const _0x4c55bb=_0x5ec3b3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5aa6f8(_0x3f9fc8(_0x4fa77a)),_0x3da51f=_0x1b99f2(_0x5aa6f8(window[_0x5ec3b3([0x4d,0x61,0x74,0x68])][_0x5ec3b3([0x63,0x65,0x69,0x6c])](_0x2c7460/_0xfbcbca)));window[_0x5ec3b3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ec3b3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c55bb,_0x3da51f);}function _0x5389e3(){const _0x42e9ee=_0x5ec3b3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5aa6f8(_0x3f9fc8(_0x4fa77a)),_0x4717d0=window[_0x5ec3b3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ec3b3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42e9ee);return _0x4717d0?window[_0x5ec3b3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b99f2(_0x4717d0),0x10)*_0xfbcbca:null;}function _0x2f019c(_0x3947a8){return new window[(_0x5ec3b3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bd1b3,_0x949152)=>{_0x3947a8[_0x5ec3b3([0x74,0x68,0x65,0x6e])](_0x1bd1b3,_0x949152),window[_0x5ec3b3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x949152,0x60dd3733^_0x29a0ad);});}}_0x49b057[_0x5ec3b3([0x6f,0x6e])](_0x5ec3b3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fd9b1,_0x12d463)=>{if(_0x12d463[0x0]!=_0x4fa77a)return _0x34cb4e(_0x5ec3b3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x12d463[0x1]={..._0x12d463[0x1],[_0x5ec3b3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x221368};},{[_0x5ec3b3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ec3b3([0x68,0x69,0x67,0x68])}),_0x49b057[_0x5ec3b3([0x6f,0x6e])](_0x5ec3b3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x12e5d3=>{_0x2b5fc8(_0x12e5d3[_0x5ec3b3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ac88a=!0x0,_0x270251(_0x12e5d3[_0x5ec3b3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ec3b3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ec3b3([0x6c,0x6f,0x77])}),_0x1d3c73[_0x5ec3b3([0x74,0x68,0x65,0x6e])](()=>{_0x2ac88a||_0x34cb4e(_0x5ec3b3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x449ebb(){return _0x49b057[_0x5ec3b3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ec3b3([0x76,0x69,0x65,0x77])][_0x5ec3b3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ec3b3([0x61,0x75,0x74,0x6f]);}function _0x3daf9f(){_0x49b057[_0x5ec3b3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ec3b3([0x76,0x69,0x65,0x77])][_0x5ec3b3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ec3b3([0x61,0x75,0x74,0x6f]);}}function _0x588dbc(_0x32af7e){const _0x1da301=[new window[(_0x5ec3b3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18caa4=>setTimeout(_0x18caa4,0x60d5dd3f^_0x29a0ad)),_0x1d3c73[_0x5ec3b3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ec3b3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f52aa=>{let _0x5bc038=0x0;_0x49b057[_0x5ec3b3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ec3b3([0x6f,0x6e])](_0x5ec3b3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x843403,_0x579a9b)=>{_0x579a9b[0x0][_0x5ec3b3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5bc038++,_0x5bc038==(0x60dce20b^_0x29a0ad)&&(_0x4f52aa(),_0x843403[_0x5ec3b3([0x6f,0x66,0x66])]());});}))];return window[_0x5ec3b3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ec3b3([0x72,0x61,0x63,0x65])](_0x1da301)[_0x5ec3b3([0x74,0x68,0x65,0x6e])](()=>_0x32af7e);}async function _0x38b6a4(){await _0x1d3c73,_0x49b057[_0x5ec3b3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ec3b3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x70f3e5,_0x49b057[_0x5ec3b3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ec3b3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x70f3e5,_0x49b057[_0x5ec3b3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ec3b3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19f091(_0x34f42c){const _0x4cd563=_0x23513d();_0x49b057[_0x4cd563]=_0x5ec3b3([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x34f42c,_0x34f42c!=_0x5ec3b3([0x56,0x61,0x6c,0x69,0x64])&&_0x38b6a4();}function _0x23513d(){const _0x2cdd51=window[_0x5ec3b3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ec3b3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ec3b3([0x6e,0x6f,0x77])]())[_0x5ec3b3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ec3b3([0x2e]),'');let _0x1fd1e4=_0x5ec3b3([0x46]);for(let _0x478e4a=0x0;_0x478e4a<_0x2cdd51[_0x5ec3b3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x478e4a+=0x2){let _0x5eb22a=window[_0x5ec3b3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cdd51[_0x5ec3b3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x478e4a,_0x478e4a+0x2));_0x5eb22a>=_0x541fed[_0x5ec3b3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5eb22a-=_0x541fed[_0x5ec3b3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1fd1e4+=_0x541fed[_0x5eb22a];}return _0x1fd1e4;}function _0x5bb0de(){const _0x2381b2=_0x528ef7[_0x5ec3b3([0x73,0x70,0x6c,0x69,0x74])](_0x5ec3b3([0x2e]));if(0x3!=_0x2381b2[_0x5ec3b3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x391979(_0x2381b2[0x1]);function _0x391979(_0x3b3b7f){const _0xf25d65=_0x25fab0(_0x3b3b7f);return _0xf25d65&&_0x46aa69()?_0xf25d65:null;function _0x46aa69(){const _0x44dd6f=_0xf25d65[_0x5ec3b3([0x6a,0x74,0x69])],_0x1c9692=window[_0x5ec3b3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44dd6f[_0x5ec3b3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44dd6f[_0x5ec3b3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x27aad8={..._0xf25d65,[_0x5ec3b3([0x6a,0x74,0x69])]:_0x44dd6f[_0x5ec3b3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x44dd6f[_0x5ec3b3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x27aad8[_0x5ec3b3([0x76,0x63])],_0x3f9fc8(_0x27aad8)==_0x1c9692;}}}async function _0x4dc1c7(){let _0xc40a34=!0x0;try{const _0x330120=_0x528ef7[_0x5ec3b3([0x73,0x70,0x6c,0x69,0x74])](_0x5ec3b3([0x2e])),[_0x54311c,_0x1a05a7,_0x5cbc91]=_0x330120;return _0x128df6(_0x54311c),await _0xb39dfa(_0x54311c,_0x1a05a7,_0x5cbc91),_0xc40a34;}catch(_0x1085c2){return!0x1;}function _0x128df6(_0x715beb){const _0x27ac7e=_0x25fab0(_0x715beb);_0x27ac7e&&_0x27ac7e[_0x5ec3b3([0x61,0x6c,0x67])]==_0x5ec3b3([0x45,0x53,0x32,0x35,0x36])||(_0xc40a34=!0x1);}async function _0xb39dfa(_0x2b40bc,_0x5bd850,_0x43b764){const _0x4212d1=window[_0x5ec3b3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ec3b3([0x66,0x72,0x6f,0x6d])](_0x5ae2cd(_0x43b764),_0xfdc495=>_0xfdc495[_0x5ec3b3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e0786=new window[(_0x5ec3b3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ec3b3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b40bc+_0x5ec3b3([0x2e])+_0x5bd850),_0x17f1c3=window[_0x5ec3b3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ec3b3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17f1c3)return;const _0x25c901=await _0x17f1c3[_0x5ec3b3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ec3b3([0x6a,0x77,0x6b]),_0x3e5760,{[_0x5ec3b3([0x6e,0x61,0x6d,0x65])]:_0x5ec3b3([0x45,0x43,0x44,0x53,0x41]),[_0x5ec3b3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ec3b3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ec3b3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17f1c3[_0x5ec3b3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ec3b3([0x6e,0x61,0x6d,0x65])]:_0x5ec3b3([0x45,0x43,0x44,0x53,0x41]),[_0x5ec3b3([0x68,0x61,0x73,0x68])]:{[_0x5ec3b3([0x6e,0x61,0x6d,0x65])]:_0x5ec3b3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25c901,_0x4212d1,_0x1e0786)||(_0xc40a34=!0x1);}}function _0x25fab0(_0x1374f1){return _0x1374f1[_0x5ec3b3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ec3b3([0x65,0x79]))?JSON[_0x5ec3b3([0x70,0x61,0x72,0x73,0x65])](_0x5ae2cd(_0x1374f1)):null;}function _0x5ae2cd(_0x2ca217){return window[_0x5ec3b3([0x61,0x74,0x6f,0x62])](_0x2ca217[_0x5ec3b3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ec3b3([0x2b]))[_0x5ec3b3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ec3b3([0x2f])));}function _0x3f9fc8(_0x381db7){let _0x1634da=0x1505;function _0x2ac74b(_0x2c59aa){for(let _0x4fc507=0x0;_0x4fc507<_0x2c59aa[_0x5ec3b3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4fc507++){const _0x58326d=_0x2c59aa[_0x5ec3b3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4fc507);_0x1634da=(_0x1634da<<0x5)+_0x1634da+_0x58326d,_0x1634da&=_0x1634da;}}function _0x3e8687(_0x31a66e){Array[_0x5ec3b3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x31a66e)?_0x31a66e[_0x5ec3b3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e8687):_0x31a66e&&typeof _0x31a66e==_0x5ec3b3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ec3b3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x31a66e)[_0x5ec3b3([0x73,0x6f,0x72,0x74])]()[_0x5ec3b3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x380926,_0x4c464e])=>{_0x2ac74b(_0x380926),_0x3e8687(_0x4c464e);}):_0x2ac74b(window[_0x5ec3b3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x31a66e));}return _0x3e8687(_0x381db7),_0x1634da>>>0x0;}function _0x5aa6f8(_0x371be9){return _0x371be9[_0x5ec3b3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ec3b3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ec3b3([0x30]));}function _0x1b99f2(_0x1f544a){return _0x1f544a[_0x5ec3b3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ec3b3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ec3b3([0x6a,0x6f,0x69,0x6e])]('');}function _0x70f3e5(){}function _0x5ec3b3(_0x1f8a67){const _0x201e8a=_0x5dbb;return _0x1f8a67[_0x201e8a(0x1c4)](_0x4c2bd0=>String[_0x201e8a(0x208)](_0x4c2bd0))[_0x201e8a(0x1c6)]('');}_0x19f091(await _0x343368());}(this);}[_0x127839(0x1c1)](){const _0x2bb8f2=_0x127839,_0x2bcb29=this[_0x2bb8f2(0x217)][_0x2bb8f2(0x1ea)];_0x2bcb29[_0x2bb8f2(0x1bc)](_0x1efb23=>{const _0x377384=_0x2bb8f2,_0x5b26ed=_0x2bcb29[_0x377384(0x1b5)][_0x377384(0x1b2)][_0x377384(0x1c5)]();let _0x2f336f=0x0;for(const _0x5e5e51 of _0x5b26ed){const _0x1b7bc7=f+':'+_0x2f336f;if(_0x2bcb29[_0x377384(0x1c7)][_0x377384(0x213)](_0x1b7bc7))_0x1efb23[_0x377384(0x1bb)](_0x1b7bc7,{'range':_0x5e5e51});else{if(_0x5e5e51[_0x377384(0x1fc)][_0x377384(0x200)]){const _0x1e7d18=_0x5e5e51[_0x377384(0x1fc)][_0x377384(0x1e7)](({item:_0x5da8a6})=>!_0x2bcb29[_0x377384(0x1ae)][_0x377384(0x1a9)](_0x5da8a6),{'boundaries':_0x5e5e51});_0x1efb23[_0x377384(0x1d9)](_0x1b7bc7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1efb23[_0x377384(0x1c9)](_0x1e7d18,_0x5e5e51[_0x377384(0x1be)])});}else _0x1efb23[_0x377384(0x1d9)](_0x1b7bc7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5e5e51});}_0x2f336f++;}});}[_0x127839(0x1b3)](){const _0x559380=_0x127839,_0x48d688=this[_0x559380(0x217)][_0x559380(0x1ea)],_0x2b020a=Array[_0x559380(0x20f)](this[_0x559380(0x217)][_0x559380(0x1ea)][_0x559380(0x1c7)][_0x559380(0x20d)](f));_0x2b020a[_0x559380(0x205)]&&_0x48d688[_0x559380(0x1bc)](_0x818764=>{const _0x16202f=_0x559380;_0x2b020a[_0x16202f(0x1d8)](_0x17dfbc=>{const _0xbd3014=_0x16202f;_0x818764[_0xbd3014(0x1b7)](_0x17dfbc);});});}[_0x127839(0x1b9)](_0x45875a,_0x1463c3){const _0x2e85df=_0x127839,_0x87a261=this[_0x2e85df(0x1ff)](),_0x1d1f62=_0x1463c3||_0x87a261[_0x2e85df(0x1e0)]();this[_0x2e85df(0x217)][_0x2e85df(0x1ea)][_0x2e85df(0x1f4)](_0x1d1f62)&&this[_0x2e85df(0x217)][_0x2e85df(0x1ea)][_0x2e85df(0x1bc)](_0x15a679=>{const _0x43e89f=_0x2e85df;this[_0x43e89f(0x1b3)](),_0x1463c3||this[_0x43e89f(0x1f1)](_0x15a679,_0x87a261),this[_0x43e89f(0x209)]({'insertAt':_0x1d1f62,'writer':_0x15a679,'html':_0x45875a});});}[_0x127839(0x1de)](_0x30bbae){const _0x4cbf38=_0x127839,{model:_0x14fbb0}=this[_0x4cbf38(0x217)],_0x549bb2=this[_0x4cbf38(0x1ff)]();_0x14fbb0[_0x4cbf38(0x1bc)](()=>{const _0x3de360=_0x4cbf38,_0x310a10=this[_0x3de360(0x204)](_0x30bbae,_0x549bb2)||this[_0x3de360(0x1ce)](_0x549bb2);this[_0x3de360(0x1b9)](_0x30bbae,_0x310a10);});}[_0x127839(0x1ff)](){const _0x488021=_0x127839,_0x4fdae1=this[_0x488021(0x217)][_0x488021(0x1ea)],_0x284ff8=Array[_0x488021(0x20f)](_0x4fdae1[_0x488021(0x1c7)][_0x488021(0x20d)](f))[_0x488021(0x1c4)](_0x4a84a7=>_0x4a84a7[_0x488021(0x215)]());return _0x4fdae1[_0x488021(0x1b8)](_0x284ff8);}[_0x127839(0x209)]({writer:_0x13c086,html:_0x33bd30,insertAt:_0x2929de}){const _0x2f8c8a=_0x127839,{view:_0x20b2dc}=this[_0x2f8c8a(0x217)][_0x2f8c8a(0x1fe)],_0x154cb3=this[_0x2f8c8a(0x217)][_0x2f8c8a(0x207)][_0x2f8c8a(0x1df)](_0x18efb4),_0x6217f7=new w();_0x6217f7[_0x2f8c8a(0x1e6)](_0x2f8c8a(0x1ed),_0x33bd30);const _0x2521f6=new ClipboardEvent(_0x2f8c8a(0x1f3),{'clipboardData':_0x6217f7}),_0x2dce57=new _0x43b15b(_0x20b2dc,_0x2521f6,{'dataTransfer':new _0x345c53(_0x6217f7)});_0x13c086[_0x2f8c8a(0x20e)](_0x2929de);const _0x388982=(_0x4a7333,_0x5ac8de)=>{const _0x459a93=_0x2f8c8a;_0x5ac8de[_0x459a93(0x20a)]&&_0x13c086[_0x459a93(0x20e)](_0x5ac8de[_0x459a93(0x20a)]);};_0x154cb3[_0x2f8c8a(0x1dd)](_0x2f8c8a(0x20b),_0x388982,{'priority':_0x2f8c8a(0x1d1)}),_0x20b2dc[_0x2f8c8a(0x1b5)][_0x2f8c8a(0x1d3)](_0x2f8c8a(0x1f3),_0x2dce57),_0x154cb3[_0x2f8c8a(0x1cb)](_0x2f8c8a(0x20b),_0x388982);}[_0x127839(0x1ce)](_0x2606ac){const _0x253c4c=_0x127839,{model:_0x40b4b9}=this[_0x253c4c(0x217)],_0x200395=Array[_0x253c4c(0x20f)](_0x2606ac[_0x253c4c(0x1c3)]());return _0x200395[_0x253c4c(0x205)]?_0x40b4b9[_0x253c4c(0x1d4)](_0x200395[_0x253c4c(0x206)]()):_0x2606ac[_0x253c4c(0x1f7)]();}[_0x127839(0x204)](_0x579047,_0x4eeb02){const _0x4fb93f=_0x127839,{model:_0x11adf9,plugins:_0x517a7e}=this[_0x4fb93f(0x217)];if(_0x517a7e[_0x4fb93f(0x213)](_0x4fb93f(0x1b0))){const _0x41aebe=_0x517a7e[_0x4fb93f(0x1df)](_0x4fb93f(0x1b0))[_0x4fb93f(0x1f5)](_0x4eeb02);if(_0x41aebe[_0x4fb93f(0x205)]){const _0x2ec7e5=this[_0x4fb93f(0x1e3)](_0x579047),_0x3da47f=this[_0x4fb93f(0x20c)](_0x41aebe,_0x2ec7e5);return _0x11adf9[_0x4fb93f(0x201)](_0x3da47f,0x0);}}return null;}[_0x127839(0x1e3)](_0x50ad56){const _0x3b3ae7=_0x127839,_0x4b19d9=this[_0x3b3ae7(0x217)][_0x3b3ae7(0x207)][_0x3b3ae7(0x1df)](_0x3b3ae7(0x1b0)),_0xc4165d=this[_0x3b3ae7(0x217)][_0x3b3ae7(0x1eb)][_0x3b3ae7(0x1ac)](_0x50ad56),_0x5c7fe4=Array[_0x3b3ae7(0x20f)](_0xc4165d[_0x3b3ae7(0x211)]())[_0x3b3ae7(0x1ee)](_0x2acb83=>_0x2acb83['is'](_0x3b3ae7(0x1cd),_0x3b3ae7(0x216)));let _0x1aca76=0x0;return _0x5c7fe4[_0x3b3ae7(0x1d8)](_0x515c30=>{const _0x2e5b79=_0x3b3ae7;_0x1aca76+=_0x4b19d9[_0x2e5b79(0x1e4)](_0x515c30);}),_0x1aca76;}[_0x127839(0x20c)](_0x572db1,_0x2dfbf4){const _0x3780fc=_0x127839,_0x1cf20d=this[_0x3780fc(0x217)][_0x3780fc(0x207)][_0x3780fc(0x1df)](_0x3780fc(0x1b0)),_0x291348=_0x1cf20d[_0x3780fc(0x1f2)](_0x572db1),_0xfaedcf=_0x1cf20d[_0x3780fc(0x1db)](_0x572db1),_0x1c4233=_0x291348[_0x3780fc(0x1ab)]+0x1,_0x242f9e=_0xfaedcf[_0x3780fc(0x1f8)],_0x54a46b=_0x572db1[0x0][_0x3780fc(0x1cc)](_0x3780fc(0x216));for(let _0x44eea1=0x0;_0x44eea1<_0x2dfbf4;_0x44eea1++)_0x1cf20d[_0x3780fc(0x1fd)](_0x54a46b,{'at':_0x1c4233});return _0x54a46b[_0x3780fc(0x1d7)](_0x1c4233)[_0x3780fc(0x1d7)](_0x242f9e);}[_0x127839(0x1f1)](_0x2a0ac0,_0x278bc4){const _0x1c885d=_0x127839,{plugins:_0xb9edec}=this[_0x1c885d(0x217)],{model:_0x1ac2a2}=_0x2a0ac0;if(!_0xb9edec[_0x1c885d(0x213)](_0x1c885d(0x1b0)))return;_0xb9edec[_0x1c885d(0x1df)](_0x1c885d(0x1b0))[_0x1c885d(0x1f5)](_0x278bc4)[_0x1c885d(0x205)]&&_0x1ac2a2[_0x1c885d(0x1fa)](_0x278bc4);}}function _0x2264(){const _0x3e2484=['isPremiumPlugin','text/html','filter','isCollapsed','14046ocIHGm','_resetContentOfSelectedTableCells','getRowIndexes','paste','canEditAt','getSelectedTableCells','init','getLastPosition','first','597304SnfSch','deleteContent','DataTransfer','start','insertRows','editing','_getAISelection','isAtEnd','createPositionAt','markerRange','afterInit','_prepareTableInsertBelowPosition','length','pop','plugins','fromCharCode','_pasteHTMLUsingClipboard','resultRange','contentInsertion','_createEmptyTableRows','getMarkersGroup','setSelection','from','isOfficialPlugin','getChildren','ai.useTheme','has','href','getRange','table','editor','isContent','addClass','last','parse','6616895awFPRl','schema','63REcVvH','TableUtils','1678212UoLvCl','selection','hideFakeVisualSelection','for','document','span','removeMarker','createSelection','insertContent','182530KSlATH','updateMarker','change','1061513HpBwrP','end','push','ck-fake-ai-selection','showFakeVisualSelection','27510yFvxug','getSelectedBlocks','map','getRanges','join','markers','pluginName','createRange','createUIElement','off','findAncestor','element','_getDefaultInsertBelowPosition','ai-ui','AIAssistantEditing','lowest','286oEdhPc','fire','createPositionAfter','1252AQCZBa','conversion','getChild','forEach','addMarker','config','getColumnIndexes','editingDowncast','once','insertContentBelow','get','getFirstRange','ck-fake-ai-selection_collapsed','ck-ai-assistant-ui_theme','_getTableRowCountFromContent','getRows','1001FuvTYo','setData','getLastMatchingPosition','markerToElement','markerToHighlight','model','data'];_0x2264=function(){return _0x3e2484;};return _0x2264();}
|
|
23
|
+
const _0x48c598=_0x598a;function _0x2772(){const _0x1b2d3b=['2111840GlQwSh','hideFakeVisualSelection','getRange','first','getFirstRange','from','start','ck-fake-ai-selection','createPositionAfter','has','insertRows','addClass','setData','removeMarker','paste','lowest','createSelection','pop','updateMarker','isOfficialPlugin','pluginName','span','text/html','createRange','join','element','change','selection','addMarker','map','_getAISelection','createPositionAt','AIAssistantEditing','isContent','document','setSelection','_getDefaultInsertBelowPosition','_prepareTableInsertBelowPosition','ai.useTheme','editingDowncast','_createEmptyTableRows','showFakeVisualSelection','65suajeV','contentInsertion','432110naRFYA','_resetContentOfSelectedTableCells','get','editing','canEditAt','ai-ui','editor','ck-ai-assistant-ui_theme','plugins','isAtEnd','DataTransfer','model','filter','forEach','getLastPosition','TableUtils','1110557tZWqQh','init','getSelectedTableCells','length','markerToHighlight','markers','push','conversion','parse','fire','139036ZiMvth','schema','_pasteHTMLUsingClipboard','resultRange','1450098ySBIxQ','getRanges','getChildren','getChild','getSelectedBlocks','ck-fake-ai-selection_collapsed','insertContent','for','createUIElement','getColumnIndexes','findAncestor','_getTableRowCountFromContent','off','isCollapsed','171HKpKMf','markerRange','markerToElement','config','afterInit','getLastMatchingPosition','174744mPNHcB','getRowIndexes','data','insertContentBelow','end','href','6DjfnaF','isPremiumPlugin','519526XflyRt','fromCharCode','getMarkersGroup','once','last','deleteContent','getRows','table'];_0x2772=function(){return _0x1b2d3b;};return _0x2772();}(function(_0x3534a8,_0x4e8942){const _0x1cbffd=_0x598a,_0x586e63=_0x3534a8();while(!![]){try{const _0x120919=-parseInt(_0x1cbffd(0x1a1))/0x1+-parseInt(_0x1cbffd(0x16d))/0x2*(-parseInt(_0x1cbffd(0x16b))/0x3)+parseInt(_0x1cbffd(0x1bb))/0x4*(parseInt(_0x1cbffd(0x19f))/0x5)+parseInt(_0x1cbffd(0x1bf))/0x6+parseInt(_0x1cbffd(0x1b1))/0x7+-parseInt(_0x1cbffd(0x165))/0x8*(parseInt(_0x1cbffd(0x15f))/0x9)+-parseInt(_0x1cbffd(0x175))/0xa;if(_0x120919===_0x4e8942)break;else _0x586e63['push'](_0x586e63['shift']());}catch(_0x3dd012){_0x586e63['push'](_0x586e63['shift']());}}}(_0x2772,0x4c848));import{uid as _0x2a4a7c}from'ckeditor5/src/utils.js';import{Plugin as _0x3814f2}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x268320}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4510b4,DataTransfer as _0x582c8e}from'ckeditor5/src/engine.js';function _0x598a(_0x3a5834,_0x10346e){const _0x2772ac=_0x2772();return _0x598a=function(_0x598a5a,_0x37f67c){_0x598a5a=_0x598a5a-0x15b;let _0x143232=_0x2772ac[_0x598a5a];return _0x143232;},_0x598a(_0x3a5834,_0x10346e);}const w=globalThis[_0x48c598(0x1ab)],f=_0x48c598(0x1a6);export default class a extends _0x3814f2{static get[_0x48c598(0x189)](){const _0x536fa2=_0x48c598;return _0x536fa2(0x195);}static get[_0x48c598(0x188)](){return!0x0;}static get[_0x48c598(0x16c)](){return!0x0;}[_0x48c598(0x1b2)](){const _0x1bfc31=_0x48c598,{editor:_0x2b19fb}=this,_0x261014=[_0x1bfc31(0x17c)];_0x2b19fb[_0x1bfc31(0x162)][_0x1bfc31(0x1a3)](_0x1bfc31(0x19b))&&_0x261014[_0x1bfc31(0x1b7)](_0x1bfc31(0x1a8)),_0x2b19fb[_0x1bfc31(0x1b8)][_0x1bfc31(0x1c6)](_0x1bfc31(0x19c))[_0x1bfc31(0x1b5)]({'model':f,'view':{'classes':_0x261014,'priority':0xc}}),_0x2b19fb[_0x1bfc31(0x1b8)][_0x1bfc31(0x1c6)](_0x1bfc31(0x19c))[_0x1bfc31(0x161)]({'model':f,'view':(_0x1617b1,{writer:_0x5136d1})=>{const _0xb6a633=_0x1bfc31;if(!_0x1617b1[_0xb6a633(0x160)][_0xb6a633(0x15e)])return null;const _0x439d19=_0x5136d1[_0xb6a633(0x1c7)](_0xb6a633(0x18a));return _0x5136d1[_0xb6a633(0x180)]([_0xb6a633(0x17c),_0xb6a633(0x1c4)],_0x439d19),_0x439d19;}});}[_0x48c598(0x163)](){!async function(_0x38aa7){const _0x404a25=_0x4651c5([0x62,0x66,0x41,0x31,0x59,0x37,0x65,0x67,0x4e,0x79,0x4d,0x78,0x34,0x69,0x6d,0x53,0x4a,0x54,0x71,0x46,0x64,0x76,0x42,0x48,0x6a,0x75,0x55,0x77,0x7a,0x63,0x43,0x73,0x35,0x44,0x58,0x51,0x6f,0x61,0x6c,0x32,0x4f,0x68,0x33,0x52,0x72,0x4b,0x5a,0x6b,0x36,0x4c,0x56,0x70,0x50,0x30,0x57,0x39,0x47,0x45,0x74,0x49,0x38,0x6e]),_0x49c2ac=0x629a7a6a,_0x57500f=0x629d255a^_0x49c2ac,_0x2c5a58=window[_0x4651c5([0x44,0x61,0x74,0x65])][_0x4651c5([0x6e,0x6f,0x77])](),_0x23a1e8=_0x38aa7[_0x4651c5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x187c7e=new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49a574=>{_0x23a1e8[_0x4651c5([0x6f,0x6e,0x63,0x65])](_0x4651c5([0x72,0x65,0x61,0x64,0x79]),_0x49a574);}),_0x5ef710={[_0x4651c5([0x6b,0x74,0x79])]:_0x4651c5([0x45,0x43]),[_0x4651c5([0x75,0x73,0x65])]:_0x4651c5([0x73,0x69,0x67]),[_0x4651c5([0x63,0x72,0x76])]:_0x4651c5([0x50,0x2d,0x32,0x35,0x36]),[_0x4651c5([0x78])]:_0x4651c5([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]),[_0x4651c5([0x79])]:_0x4651c5([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]),[_0x4651c5([0x61,0x6c,0x67])]:_0x4651c5([0x45,0x53,0x32,0x35,0x36])},_0x18531f=_0x23a1e8[_0x4651c5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4651c5([0x67,0x65,0x74])](_0x4651c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd02d78(){let _0x3d3edf,_0x2218e6=null,_0x3c1055=null;try{if(_0x18531f==_0x4651c5([0x47,0x50,0x4c]))return _0x4651c5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d3edf=_0x595638(),!_0x3d3edf)return _0x4651c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d3edf[_0x4651c5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c1055=_0x47d0fd(_0x3d3edf[_0x4651c5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d3edf[_0x4651c5([0x6a,0x74,0x69])])),await _0x710a5f()?_0x32fd9a()?_0x30baff()?_0x4651c5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a6fec()?(_0x3d3edf[_0x4651c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4651c5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2218e6=_0x4870bf(_0x4651c5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d3edf[_0x4651c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4651c5([0x74,0x72,0x69,0x61,0x6c])&&(_0x2218e6=_0x4870bf(_0x4651c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56dad7()):_0x4651c5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4651c5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4651c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x48d5c0){return _0x4651c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30baff(){const _0x318828=[_0x4651c5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4651c5([0x74,0x72,0x69,0x61,0x6c])][_0x4651c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d3edf[_0x4651c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c5a58/0x3e8:0xe10*_0x57500f;return _0x3d3edf[_0x4651c5([0x65,0x78,0x70])]<_0x318828;}function _0x32fd9a(){const _0x13fb01=_0x3d3edf[_0x4651c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13fb01&&(!!_0x13fb01[_0x4651c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4651c5([0x2a]))||!!_0x13fb01[_0x4651c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4651c5([0x41,0x49])));}function _0x4a6fec(){const _0x32a766=_0x598a,_0x40c2e5=_0x3d3edf[_0x4651c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40c2e5||0x0==_0x40c2e5[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41e7ec}=new URL(window[_0x4651c5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x32a766(0x16a)]);if(_0x40c2e5[_0x4651c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e7ec))return!0x0;const _0x56fead=_0x41e7ec[_0x4651c5([0x73,0x70,0x6c,0x69,0x74])](_0x4651c5([0x2e]));return _0x40c2e5[_0x4651c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc2ef26=>_0xc2ef26[_0x4651c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4651c5([0x2a])))[_0x4651c5([0x6d,0x61,0x70])](_0x590250=>_0x590250[_0x4651c5([0x73,0x70,0x6c,0x69,0x74])](_0x4651c5([0x2e])))[_0x4651c5([0x73,0x6f,0x6d,0x65])](_0x17a525=>_0x56fead[_0x4651c5([0x65,0x76,0x65,0x72,0x79])]((_0x17d5fd,_0x1a09f2)=>_0x17a525[_0x1a09f2]===_0x17d5fd||_0x17a525[_0x1a09f2]===_0x4651c5([0x2a])));}function _0x56dad7(){return _0x2218e6&&_0x3c1055?new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f3223,_0x1479b4)=>{_0x2218e6[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x2f3223,_0x1479b4),_0x3c1055[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x288312=>{_0x288312!=_0x4651c5([0x56,0x61,0x6c,0x69,0x64])&&_0x2f3223(_0x288312);},_0x1479b4);}):_0x2218e6||_0x3c1055||_0x4651c5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47d0fd(_0x1e2b55,_0x58ba38){return new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1402c3=>{if(_0x181b3b())return _0x1402c3(_0x4651c5([0x56,0x61,0x6c,0x69,0x64]));_0x484a40(),_0x23a1e8[_0x4651c5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4651c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x146786=!0x1;const _0x29ba22=_0x2a4a7c();function _0x2db3d5(_0x2ed270){return!!_0x2ed270&&(typeof _0x2ed270===_0x4651c5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ed270===_0x4651c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ed270[_0x4651c5([0x74,0x68,0x65,0x6e])]===_0x4651c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ed270[_0x4651c5([0x63,0x61,0x74,0x63,0x68])]===_0x4651c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2fb1f0(_0x507533){_0x4806b3(_0x507533)[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x6922a8=>{if(!_0x6922a8||_0x6922a8[_0x4651c5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4651c5([0x6f,0x6b]))return _0x4651c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x323be9(_0x32324c(_0x29ba22+_0x58ba38))!=_0x6922a8[_0x4651c5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4651c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4651c5([0x56,0x61,0x6c,0x69,0x64]);})[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x1d1801=>(_0x12f3d7(),_0x1d1801),()=>{const _0x28185d=_0xf2b8cb();return null==_0x28185d?(_0x12f3d7(),_0x4651c5([0x56,0x61,0x6c,0x69,0x64])):_0x4651c5(_0x2c5a58-_0x28185d>(0x4696fe6a^_0x49c2ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x1402c3)[_0x4651c5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1402c3(_0x4651c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x577099=0x62ac94ea^_0x49c2ac;function _0x12f3d7(){const _0x318cad=_0x4651c5([0x6c,0x6c,0x63,0x74,0x2d])+_0x323be9(_0x32324c(_0x1e2b55)),_0x10d573=_0x5e44ee(_0x323be9(window[_0x4651c5([0x4d,0x61,0x74,0x68])][_0x4651c5([0x63,0x65,0x69,0x6c])](_0x2c5a58/_0x577099)));window[_0x4651c5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4651c5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x318cad,_0x10d573);}function _0xf2b8cb(){const _0x1941a8=_0x4651c5([0x6c,0x6c,0x63,0x74,0x2d])+_0x323be9(_0x32324c(_0x1e2b55)),_0x15f1f4=window[_0x4651c5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4651c5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1941a8);return _0x15f1f4?window[_0x4651c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e44ee(_0x15f1f4),0x10)*_0x577099:null;}function _0x4806b3(_0x1807a8){return new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f49ba,_0x217ee9)=>{_0x1807a8[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x1f49ba,_0x217ee9),window[_0x4651c5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x217ee9,0x629baeaa^_0x49c2ac);});}}_0x23a1e8[_0x4651c5([0x6f,0x6e])](_0x4651c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58189a,_0x8b576f)=>{if(_0x8b576f[0x0]!=_0x1e2b55)return _0x1402c3(_0x4651c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8b576f[0x1]={..._0x8b576f[0x1],[_0x4651c5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29ba22};},{[_0x4651c5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4651c5([0x68,0x69,0x67,0x68])}),_0x23a1e8[_0x4651c5([0x6f,0x6e])](_0x4651c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x177a07=>{_0x2db3d5(_0x177a07[_0x4651c5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x146786=!0x0,_0x2fb1f0(_0x177a07[_0x4651c5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4651c5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4651c5([0x6c,0x6f,0x77])}),_0x187c7e[_0x4651c5([0x74,0x68,0x65,0x6e])](()=>{_0x146786||_0x1402c3(_0x4651c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x181b3b(){return _0x23a1e8[_0x4651c5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4651c5([0x76,0x69,0x65,0x77])][_0x4651c5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4651c5([0x61,0x75,0x74,0x6f]);}function _0x484a40(){_0x23a1e8[_0x4651c5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4651c5([0x76,0x69,0x65,0x77])][_0x4651c5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4651c5([0x61,0x75,0x74,0x6f]);}}function _0x4870bf(_0x107129){const _0xa85e31=[new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa1d0da=>setTimeout(_0xa1d0da,0x629344a6^_0x49c2ac)),_0x187c7e[_0x4651c5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b542e=>{let _0x494d28=0x0;_0x23a1e8[_0x4651c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4651c5([0x6f,0x6e])](_0x4651c5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x211821,_0x192828)=>{_0x192828[0x0][_0x4651c5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x494d28++,_0x494d28==(0x629a7b92^_0x49c2ac)&&(_0x3b542e(),_0x211821[_0x4651c5([0x6f,0x66,0x66])]());});}))];return window[_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4651c5([0x72,0x61,0x63,0x65])](_0xa85e31)[_0x4651c5([0x74,0x68,0x65,0x6e])](()=>_0x107129);}async function _0x2faa1c(){await _0x187c7e,_0x23a1e8[_0x4651c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4651c5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x75e386,_0x23a1e8[_0x4651c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4651c5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x75e386,_0x23a1e8[_0x4651c5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4651c5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4fc1bc(_0x40cac9){const _0x370981=_0x38a93c();_0x23a1e8[_0x370981]=_0x4651c5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40cac9,_0x40cac9!=_0x4651c5([0x56,0x61,0x6c,0x69,0x64])&&_0x2faa1c();}function _0x38a93c(){const _0x5764c6=window[_0x4651c5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4651c5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4651c5([0x6e,0x6f,0x77])]())[_0x4651c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4651c5([0x2e]),'');let _0x214d44=_0x4651c5([0x62]);for(let _0x6cf9a5=0x0;_0x6cf9a5<_0x5764c6[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6cf9a5+=0x2){let _0x4e1964=window[_0x4651c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5764c6[_0x4651c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6cf9a5,_0x6cf9a5+0x2));_0x4e1964>=_0x404a25[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e1964-=_0x404a25[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x214d44+=_0x404a25[_0x4e1964];}return _0x214d44;}function _0x595638(){const _0xf4ca30=_0x18531f[_0x4651c5([0x73,0x70,0x6c,0x69,0x74])](_0x4651c5([0x2e]));if(0x3!=_0xf4ca30[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf14087(_0xf4ca30[0x1]);function _0xf14087(_0x341b73){const _0x33e38c=_0x166c36(_0x341b73);return _0x33e38c&&_0x2d4367()?_0x33e38c:null;function _0x2d4367(){const _0x339ed0=_0x33e38c[_0x4651c5([0x6a,0x74,0x69])],_0x3209c3=window[_0x4651c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x339ed0[_0x4651c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x339ed0[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b54f8={..._0x33e38c,[_0x4651c5([0x6a,0x74,0x69])]:_0x339ed0[_0x4651c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x339ed0[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b54f8[_0x4651c5([0x76,0x63])],_0x32324c(_0x2b54f8)==_0x3209c3;}}}async function _0x710a5f(){let _0x1d588d=!0x0;try{const _0x2e9ef8=_0x18531f[_0x4651c5([0x73,0x70,0x6c,0x69,0x74])](_0x4651c5([0x2e])),[_0xf38941,_0x25b9e5,_0x110735]=_0x2e9ef8;return _0x523615(_0xf38941),await _0x4364a6(_0xf38941,_0x25b9e5,_0x110735),_0x1d588d;}catch(_0x1214e2){return!0x1;}function _0x523615(_0x19037f){const _0x582d84=_0x166c36(_0x19037f);_0x582d84&&_0x582d84[_0x4651c5([0x61,0x6c,0x67])]==_0x4651c5([0x45,0x53,0x32,0x35,0x36])||(_0x1d588d=!0x1);}async function _0x4364a6(_0xd69b9c,_0x5e5e17,_0x5b7ad7){const _0x5c8446=window[_0x4651c5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4651c5([0x66,0x72,0x6f,0x6d])](_0x3a9fd4(_0x5b7ad7),_0x1a056f=>_0x1a056f[_0x4651c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35a1f9=new window[(_0x4651c5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4651c5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd69b9c+_0x4651c5([0x2e])+_0x5e5e17),_0x237f2c=window[_0x4651c5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4651c5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x237f2c)return;const _0x38a161=await _0x237f2c[_0x4651c5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4651c5([0x6a,0x77,0x6b]),_0x5ef710,{[_0x4651c5([0x6e,0x61,0x6d,0x65])]:_0x4651c5([0x45,0x43,0x44,0x53,0x41]),[_0x4651c5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4651c5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4651c5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x237f2c[_0x4651c5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4651c5([0x6e,0x61,0x6d,0x65])]:_0x4651c5([0x45,0x43,0x44,0x53,0x41]),[_0x4651c5([0x68,0x61,0x73,0x68])]:{[_0x4651c5([0x6e,0x61,0x6d,0x65])]:_0x4651c5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38a161,_0x5c8446,_0x35a1f9)||(_0x1d588d=!0x1);}}function _0x166c36(_0x3cc257){return _0x3cc257[_0x4651c5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4651c5([0x65,0x79]))?JSON[_0x4651c5([0x70,0x61,0x72,0x73,0x65])](_0x3a9fd4(_0x3cc257)):null;}function _0x3a9fd4(_0x26ee45){return window[_0x4651c5([0x61,0x74,0x6f,0x62])](_0x26ee45[_0x4651c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4651c5([0x2b]))[_0x4651c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4651c5([0x2f])));}function _0x32324c(_0x1bc0ec){let _0x27a0b0=0x1505;function _0x3d50ca(_0x1edfaf){for(let _0x37aebf=0x0;_0x37aebf<_0x1edfaf[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37aebf++){const _0x1cee26=_0x1edfaf[_0x4651c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37aebf);_0x27a0b0=(_0x27a0b0<<0x5)+_0x27a0b0+_0x1cee26,_0x27a0b0&=_0x27a0b0;}}function _0xf82d3c(_0x4d2b83){Array[_0x4651c5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d2b83)?_0x4d2b83[_0x4651c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf82d3c):_0x4d2b83&&typeof _0x4d2b83==_0x4651c5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4651c5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d2b83)[_0x4651c5([0x73,0x6f,0x72,0x74])]()[_0x4651c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x538c37,_0x5df0c2])=>{_0x3d50ca(_0x538c37),_0xf82d3c(_0x5df0c2);}):_0x3d50ca(window[_0x4651c5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d2b83));}return _0xf82d3c(_0x1bc0ec),_0x27a0b0>>>0x0;}function _0x323be9(_0x5cd23d){return _0x5cd23d[_0x4651c5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4651c5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4651c5([0x30]));}function _0x5e44ee(_0x441193){return _0x441193[_0x4651c5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4651c5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4651c5([0x6a,0x6f,0x69,0x6e])]('');}function _0x75e386(){}function _0x4651c5(_0x3d7554){const _0x5d76fa=_0x598a;return _0x3d7554[_0x5d76fa(0x192)](_0x15897e=>String[_0x5d76fa(0x16e)](_0x15897e))[_0x5d76fa(0x18d)]('');}_0x4fc1bc(await _0xd02d78());}(this);}[_0x48c598(0x19e)](){const _0x31c27f=_0x48c598,_0x298e03=this[_0x31c27f(0x1a7)][_0x31c27f(0x1ac)];_0x298e03[_0x31c27f(0x18f)](_0x22418d=>{const _0xb02173=_0x31c27f,_0x24cf28=_0x298e03[_0xb02173(0x197)][_0xb02173(0x190)][_0xb02173(0x1c0)]();let _0x17ec4d=0x0;for(const _0x58c388 of _0x24cf28){const _0x2d790d=f+':'+_0x17ec4d;if(_0x298e03[_0xb02173(0x1b6)][_0xb02173(0x17e)](_0x2d790d))_0x22418d[_0xb02173(0x187)](_0x2d790d,{'range':_0x58c388});else{if(_0x58c388[_0xb02173(0x17b)][_0xb02173(0x1aa)]){const _0xdadbe7=_0x58c388[_0xb02173(0x17b)][_0xb02173(0x164)](({item:_0x4d97b8})=>!_0x298e03[_0xb02173(0x1bc)][_0xb02173(0x196)](_0x4d97b8),{'boundaries':_0x58c388});_0x22418d[_0xb02173(0x191)](_0x2d790d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x22418d[_0xb02173(0x18c)](_0xdadbe7,_0x58c388[_0xb02173(0x169)])});}else _0x22418d[_0xb02173(0x191)](_0x2d790d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x58c388});}_0x17ec4d++;}});}[_0x48c598(0x176)](){const _0x547d96=_0x48c598,_0x2bddd2=this[_0x547d96(0x1a7)][_0x547d96(0x1ac)],_0x13ef12=Array[_0x547d96(0x17a)](this[_0x547d96(0x1a7)][_0x547d96(0x1ac)][_0x547d96(0x1b6)][_0x547d96(0x16f)](f));_0x13ef12[_0x547d96(0x1b4)]&&_0x2bddd2[_0x547d96(0x18f)](_0x4b00e0=>{const _0x583b79=_0x547d96;_0x13ef12[_0x583b79(0x1ae)](_0x106fc0=>{const _0x5a4d5a=_0x583b79;_0x4b00e0[_0x5a4d5a(0x182)](_0x106fc0);});});}[_0x48c598(0x1c5)](_0x55d83b,_0x11804e){const _0x15f7f8=_0x48c598,_0x5eeeed=this[_0x15f7f8(0x193)](),_0x607c69=_0x11804e||_0x5eeeed[_0x15f7f8(0x179)]();this[_0x15f7f8(0x1a7)][_0x15f7f8(0x1ac)][_0x15f7f8(0x1a5)](_0x607c69)&&this[_0x15f7f8(0x1a7)][_0x15f7f8(0x1ac)][_0x15f7f8(0x18f)](_0x1741ae=>{const _0x22aa71=_0x15f7f8;this[_0x22aa71(0x176)](),_0x11804e||this[_0x22aa71(0x1a2)](_0x1741ae,_0x5eeeed),this[_0x22aa71(0x1bd)]({'insertAt':_0x607c69,'writer':_0x1741ae,'html':_0x55d83b});});}[_0x48c598(0x168)](_0x4f117c){const _0xdf1dd1=_0x48c598,{model:_0x4aea16}=this[_0xdf1dd1(0x1a7)],_0x1c0aaf=this[_0xdf1dd1(0x193)]();_0x4aea16[_0xdf1dd1(0x18f)](()=>{const _0x5a1ec8=_0xdf1dd1,_0x48b62b=this[_0x5a1ec8(0x19a)](_0x4f117c,_0x1c0aaf)||this[_0x5a1ec8(0x199)](_0x1c0aaf);this[_0x5a1ec8(0x1c5)](_0x4f117c,_0x48b62b);});}[_0x48c598(0x193)](){const _0x31853b=_0x48c598,_0x2f4774=this[_0x31853b(0x1a7)][_0x31853b(0x1ac)],_0x1a424d=Array[_0x31853b(0x17a)](_0x2f4774[_0x31853b(0x1b6)][_0x31853b(0x16f)](f))[_0x31853b(0x192)](_0x421762=>_0x421762[_0x31853b(0x177)]());return _0x2f4774[_0x31853b(0x185)](_0x1a424d);}[_0x48c598(0x1bd)]({writer:_0x216074,html:_0x2b4c4e,insertAt:_0x4b1480}){const _0x4a0788=_0x48c598,{view:_0x1cd9ca}=this[_0x4a0788(0x1a7)][_0x4a0788(0x1a4)],_0x8899ad=this[_0x4a0788(0x1a7)][_0x4a0788(0x1a9)][_0x4a0788(0x1a3)](_0x268320),_0x54b50d=new w();_0x54b50d[_0x4a0788(0x181)](_0x4a0788(0x18b),_0x2b4c4e);const _0x180d1a=new ClipboardEvent(_0x4a0788(0x183),{'clipboardData':_0x54b50d}),_0xad6c15=new _0x4510b4(_0x1cd9ca,_0x180d1a,{'dataTransfer':new _0x582c8e(_0x54b50d)});_0x216074[_0x4a0788(0x198)](_0x4b1480);const _0x5b8462=(_0x51f9da,_0x2199d1)=>{const _0x14fab4=_0x4a0788;_0x2199d1[_0x14fab4(0x1be)]&&_0x216074[_0x14fab4(0x198)](_0x2199d1[_0x14fab4(0x1be)]);};_0x8899ad[_0x4a0788(0x170)](_0x4a0788(0x1a0),_0x5b8462,{'priority':_0x4a0788(0x184)}),_0x1cd9ca[_0x4a0788(0x197)][_0x4a0788(0x1ba)](_0x4a0788(0x183),_0xad6c15),_0x8899ad[_0x4a0788(0x15d)](_0x4a0788(0x1a0),_0x5b8462);}[_0x48c598(0x199)](_0x3d3ab1){const _0x1b46cb=_0x48c598,{model:_0x139dd1}=this[_0x1b46cb(0x1a7)],_0x32b212=Array[_0x1b46cb(0x17a)](_0x3d3ab1[_0x1b46cb(0x1c3)]());return _0x32b212[_0x1b46cb(0x1b4)]?_0x139dd1[_0x1b46cb(0x17d)](_0x32b212[_0x1b46cb(0x186)]()):_0x3d3ab1[_0x1b46cb(0x1af)]();}[_0x48c598(0x19a)](_0x14011a,_0xa599bc){const _0x13dc83=_0x48c598,{model:_0x2b94d5,plugins:_0x2ea609}=this[_0x13dc83(0x1a7)];if(_0x2ea609[_0x13dc83(0x17e)](_0x13dc83(0x1b0))){const _0x4cd6ff=_0x2ea609[_0x13dc83(0x1a3)](_0x13dc83(0x1b0))[_0x13dc83(0x1b3)](_0xa599bc);if(_0x4cd6ff[_0x13dc83(0x1b4)]){const _0x3f9dd5=this[_0x13dc83(0x15c)](_0x14011a),_0xd8601=this[_0x13dc83(0x19d)](_0x4cd6ff,_0x3f9dd5);return _0x2b94d5[_0x13dc83(0x194)](_0xd8601,0x0);}}return null;}[_0x48c598(0x15c)](_0x34fc6b){const _0x59d4d4=_0x48c598,_0x745ab9=this[_0x59d4d4(0x1a7)][_0x59d4d4(0x1a9)][_0x59d4d4(0x1a3)](_0x59d4d4(0x1b0)),_0x4cffe7=this[_0x59d4d4(0x1a7)][_0x59d4d4(0x167)][_0x59d4d4(0x1b9)](_0x34fc6b),_0x57abde=Array[_0x59d4d4(0x17a)](_0x4cffe7[_0x59d4d4(0x1c1)]())[_0x59d4d4(0x1ad)](_0x1b3310=>_0x1b3310['is'](_0x59d4d4(0x18e),_0x59d4d4(0x174)));let _0x5905ff=0x0;return _0x57abde[_0x59d4d4(0x1ae)](_0x3aaec9=>{const _0x55db77=_0x59d4d4;_0x5905ff+=_0x745ab9[_0x55db77(0x173)](_0x3aaec9);}),_0x5905ff;}[_0x48c598(0x19d)](_0x250a2a,_0x28548b){const _0x187597=_0x48c598,_0xcb51ee=this[_0x187597(0x1a7)][_0x187597(0x1a9)][_0x187597(0x1a3)](_0x187597(0x1b0)),_0x55d60a=_0xcb51ee[_0x187597(0x166)](_0x250a2a),_0x5509dd=_0xcb51ee[_0x187597(0x1c8)](_0x250a2a),_0x20343a=_0x55d60a[_0x187597(0x171)]+0x1,_0x252152=_0x5509dd[_0x187597(0x178)],_0x416e4d=_0x250a2a[0x0][_0x187597(0x15b)](_0x187597(0x174));for(let _0x4a375d=0x0;_0x4a375d<_0x28548b;_0x4a375d++)_0xcb51ee[_0x187597(0x17f)](_0x416e4d,{'at':_0x20343a});return _0x416e4d[_0x187597(0x1c2)](_0x20343a)[_0x187597(0x1c2)](_0x252152);}[_0x48c598(0x1a2)](_0x32ed3a,_0x2f7cff){const _0x579ee7=_0x48c598,{plugins:_0x15858d}=this[_0x579ee7(0x1a7)],{model:_0x2b5b7e}=_0x32ed3a;if(!_0x15858d[_0x579ee7(0x17e)](_0x579ee7(0x1b0)))return;_0x15858d[_0x579ee7(0x1a3)](_0x579ee7(0x1b0))[_0x579ee7(0x1b3)](_0x2f7cff)[_0x579ee7(0x1b4)]&&_0x2b5b7e[_0x579ee7(0x172)](_0x2f7cff);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4c1fc1=_0x35d7;(function(_0x49e4df,_0x501345){const _0x7a0144=_0x35d7,_0x2068f6=_0x49e4df();while(!![]){try{const _0x124208=-parseInt(_0x7a0144(0x9c))/0x1*(parseInt(_0x7a0144(0x96))/0x2)+parseInt(_0x7a0144(0x116))/0x3*(parseInt(_0x7a0144(0x12c))/0x4)+parseInt(_0x7a0144(0xf5))/0x5+parseInt(_0x7a0144(0xd5))/0x6*(-parseInt(_0x7a0144(0xb0))/0x7)+-parseInt(_0x7a0144(0x95))/0x8+-parseInt(_0x7a0144(0xc9))/0x9+-parseInt(_0x7a0144(0xd1))/0xa*(-parseInt(_0x7a0144(0xfd))/0xb);if(_0x124208===_0x501345)break;else _0x2068f6['push'](_0x2068f6['shift']());}catch(_0x2c4cb4){_0x2068f6['push'](_0x2068f6['shift']());}}}(_0x1ee7,0x35c77));import{Plugin as _0x181b23}from'ckeditor5/src/core.js';import{first as _0x87da0d,CKEditorError as _0x5e0d45}from'ckeditor5/src/utils.js';import{createDropdown as _0x147fad,addMenuToDropdown as _0x3b12ea,ButtonView as _0x994561,MenuBarMenuListItemButtonView as _0x272083,Dialog as _0x98c73c,DialogViewPosition as _0x2c6677,MenuBarMenuView as _0x28239b,MenuBarMenuListView as _0x3e6a5e,MenuBarMenuListItemView as _0x513168}from'ckeditor5/src/ui.js';import{icons as _0xcbb6c6}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x1d40c0,UNGROUPED_COMMANDS_GROUP_ID as _0x14a7b5}from'./utils/normalizecommandsconfig.js';import _0x55324b from'./aiassistantediting.js';import _0x2a3beb from'./adapters/aiadapter.js';import{getTranslation as _0x191930}from'./utils/common-translations.js';import _0x78286d from'./ui/showaiassistantcommand.js';import _0x5ee211 from'./ui/aiassistantcontroller.js';import _0x19279e from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2a7d39}from'./ui/form/aiformtoolbarview.js';function _0x35d7(_0x5377fd,_0x9c50b6){const _0x1ee7b3=_0x1ee7();return _0x35d7=function(_0x35d7ef,_0x579945){_0x35d7ef=_0x35d7ef-0x88;let _0x5b881b=_0x1ee7b3[_0x35d7ef];return _0x5b881b;},_0x35d7(_0x5377fd,_0x9c50b6);}import _0x5a0e5c from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x4c1fc1(0x93)];import{ClipboardMarkersUtils as _0x14ea5f}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x11fee6,DataTransfer as _0x31589e}from'ckeditor5/src/engine.js';export default class n extends _0x181b23{static get[_0x4c1fc1(0xd4)](){const _0x1b4b57=_0x4c1fc1;return _0x1b4b57(0xd9);}static get[_0x4c1fc1(0xe8)](){return!0x0;}static get[_0x4c1fc1(0xa5)](){return!0x0;}static get[_0x4c1fc1(0xf6)](){return[_0x14ea5f,_0x55324b,_0x2a3beb,_0x98c73c];}constructor(_0x23f749){const _0x1a9c8f=_0x4c1fc1;super(_0x23f749),this[_0x1a9c8f(0xd3)]='',_0x23f749[_0x1a9c8f(0xc4)][_0x1a9c8f(0x125)](_0x1a9c8f(0xb9),[_0x1a9c8f(0x106),_0x1a9c8f(0x10e),_0x1a9c8f(0x139)]),_0x23f749[_0x1a9c8f(0xc4)][_0x1a9c8f(0x125)](_0x1a9c8f(0xaa),''),_0x23f749[_0x1a9c8f(0xc4)][_0x1a9c8f(0x125)](_0x1a9c8f(0x88),!0x0),this[_0x1a9c8f(0xd3)]=_0x1a9c8f(0xf1)+(_0x23f749[_0x1a9c8f(0xc4)][_0x1a9c8f(0x98)](_0x1a9c8f(0x88))?_0x1a9c8f(0xd7):'');}[_0x4c1fc1(0x120)](){const _0x558785=_0x4c1fc1,{editor:_0xe455d8}=this;this[_0x558785(0x12b)]=_0xe455d8[_0x558785(0xe3)][_0x558785(0x98)](_0x2a3beb),this[_0x558785(0xfa)]=_0xe455d8[_0x558785(0xe3)][_0x558785(0x98)](_0x98c73c),this[_0x558785(0x99)]=null,this[_0x558785(0x118)]=this[_0x558785(0x113)]();const _0xd8abeb=new _0x78286d(_0xe455d8,Array[_0x558785(0x108)](this[_0x558785(0x118)][_0x558785(0x117)]()));_0xe455d8[_0x558785(0x10d)][_0x558785(0x103)](_0x558785(0x11b),_0xd8abeb),_0xe455d8['ui'][_0x558785(0xee)][_0x558785(0x103)](_0x558785(0xb1),_0x54ac3b=>{const _0x5a3d74=_0x558785,_0x4e4cb1=_0x147fad(_0x54ac3b);return _0x4e4cb1[_0x5a3d74(0xaf)]({'class':_0x5a3d74(0x111)+this[_0x5a3d74(0xd3)]}),_0x4e4cb1[_0x5a3d74(0x11d)][_0x5a3d74(0xaf)]({'label':_0x191930(_0x54ac3b,_0x5a3d74(0x10c)),'icon':_0x5a0e5c,'tooltip':!0x0}),_0x4e4cb1['on'](_0x5a3d74(0xad),_0x398b9d=>this[_0x5a3d74(0x114)](_0x398b9d[_0x5a3d74(0xe9)]['id'])),_0x3b12ea(_0x4e4cb1,_0xe455d8['ui'][_0x5a3d74(0xa9)][_0x5a3d74(0xe7)],function(_0x4e8f33){const _0x811c9f=_0x5a3d74,_0x26fddc=_0x1d40c0(_0x4e8f33[_0x811c9f(0xc4)][_0x811c9f(0x98)](_0x811c9f(0xf7)),_0x4e8f33[_0x811c9f(0xcb)]),_0x1f5671=U(_0x4e8f33,_0x26fddc)[_0x811c9f(0x105)](_0x574230=>_0x574230[_0x811c9f(0x10d)][_0x811c9f(0x109)]);if(0x1===_0x1f5671[_0x811c9f(0x109)])return U(_0x4e8f33,_0x1f5671[0x0][_0x811c9f(0x10d)])[_0x811c9f(0x132)](_0x48de5d=>({'id':_0x48de5d['id'],'label':_0x48de5d[_0x811c9f(0xeb)]}));return _0x1f5671[_0x811c9f(0x132)](_0x10a54d=>{const _0x487ee0=_0x811c9f,{groupId:_0x387980,groupLabel:_0x3b977a,commands:_0x1eda88}=_0x10a54d,_0xbc83f0=U(_0x4e8f33,_0x1eda88)[_0x487ee0(0x132)](_0x107b02=>({'id':_0x107b02['id'],'label':_0x107b02[_0x487ee0(0xeb)]}));return{'id':_0x387980,'menu':_0x3b977a||_0x387980,'children':_0xbc83f0};});}(_0xe455d8),{'ariaLabel':_0x191930(_0x54ac3b,_0x5a3d74(0x10c))}),_0x4e4cb1[_0x5a3d74(0x112)][_0x5a3d74(0xc8)]=_0x5a3d74(0x111)+this[_0x5a3d74(0xd3)],_0xd8abeb['on'](_0x5a3d74(0xda),_0x425f05),_0x4e4cb1[_0x5a3d74(0x112)][_0x5a3d74(0xf0)](_0x5a3d74(0x8b),_0x425f05),_0x4e4cb1;function _0x425f05(){const _0x1c515d=_0x5a3d74;_0x4e4cb1[_0x1c515d(0xe6)]=_0xd8abeb[_0x1c515d(0xb2)][_0x1c515d(0x109)]>0x0;for(const _0x8d2dc1 of _0x4e4cb1[_0x1c515d(0x112)][_0x1c515d(0x100)])_0x8d2dc1[_0x1c515d(0xe6)]=_0xd8abeb[_0x1c515d(0xb2)][_0x1c515d(0x11e)](_0x8d2dc1['id']);}}),_0xe455d8['ui'][_0x558785(0xee)][_0x558785(0x103)](_0x558785(0x11c),_0xb6c25c=>{const _0x1d3fed=_0x558785,_0x3f3755=new _0x28239b(_0xb6c25c);_0x3f3755[_0x1d3fed(0x11d)][_0x1d3fed(0xaf)]({'label':_0x191930(_0xb6c25c,_0x1d3fed(0x10c)),'icon':_0x5a0e5c}),_0x3f3755[_0x1d3fed(0x10f)](_0x1d3fed(0xe6))['to'](_0xd8abeb,_0x1d3fed(0xb2),_0x18e902=>_0x18e902[_0x1d3fed(0x109)]>0x0);const _0x8df98a=_0x1d40c0(_0xe455d8[_0x1d3fed(0xc4)][_0x1d3fed(0x98)](_0x1d3fed(0xf7)),_0xb6c25c);return this[_0x1d3fed(0xa6)](_0xd8abeb,_0x3f3755,_0x8df98a,_0x56c2f9=>this[_0x1d3fed(0x114)](_0x56c2f9)),_0x3f3755;}),_0xe455d8['ui'][_0x558785(0xee)][_0x558785(0x103)](_0x558785(0x128),()=>{const _0x142b5f=_0x558785,_0x266a9c=this[_0x142b5f(0x91)](_0x994561);return _0x266a9c[_0x142b5f(0xaf)]({'tooltip':!0x0,'class':_0x142b5f(0x9b)+this[_0x142b5f(0xd3)]}),_0x266a9c;}),_0xe455d8['ui'][_0x558785(0xee)][_0x558785(0x103)](_0x558785(0xa4),()=>{const _0x2cc7ca=_0x558785,_0x5d97d4=this[_0x2cc7ca(0x91)](_0x272083);return _0x5d97d4[_0x2cc7ca(0xaf)]({'role':_0x2cc7ca(0x110)}),_0x5d97d4;}),this[_0x558785(0x138)]=this[_0x558785(0xb3)][_0x558785(0xc4)][_0x558785(0x98)](_0x558785(0x138));const _0x21dd45=this[_0x558785(0xb3)];this[_0x558785(0xe5)]=setInterval(()=>{const _0x51025d=_0x558785;let _0xd29823;for(const _0x39bfdb in _0x21dd45){const _0x3712aa=_0x39bfdb,_0x4bb4cc=_0x21dd45[_0x3712aa];if(_0x51025d(0xfb)==_0x4bb4cc||_0x51025d(0xc0)==_0x4bb4cc||_0x51025d(0xfc)==_0x4bb4cc||_0x51025d(0xcd)==_0x4bb4cc||_0x51025d(0x8a)==_0x4bb4cc||_0x51025d(0xc1)==_0x4bb4cc||_0x51025d(0xff)==_0x4bb4cc||_0x51025d(0x130)==_0x4bb4cc){delete _0x21dd45[_0x3712aa],_0xd29823=_0x4bb4cc,clearInterval(this[_0x51025d(0xe5)]),this[_0x51025d(0xe5)]=void 0x0;break;}}_0x51025d(0xc0)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0x8f)),_0x51025d(0xfc)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0x101)),_0x51025d(0xcd)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0x8c)),_0x51025d(0x8a)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0x10b),_0x51025d(0xb5)),_0x51025d(0xc1)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0x89)),_0x51025d(0xff)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0xf3)),_0x51025d(0x130)==_0xd29823&&_0x21dd45[_0x51025d(0xdd)](_0x51025d(0xce));},0x3e8);}[_0x4c1fc1(0xac)](){const _0x13adc0=_0x4c1fc1;super[_0x13adc0(0xac)](),this[_0x13adc0(0xe5)]&&clearInterval(this[_0x13adc0(0xe5)]);}[_0x4c1fc1(0xe2)](_0x4f1b8c='',_0x536b0a='',_0x526f79=_0x4c1fc1(0xae)){const _0x36fec7=_0x4c1fc1,_0xea040b=this[_0x36fec7(0xb3)],_0x8f54f9=_0xea040b[_0x36fec7(0x90)][_0x36fec7(0xa9)],_0x432f9b=_0xea040b[_0x36fec7(0xe3)][_0x36fec7(0x98)](_0x55324b),_0x31352b=_0xea040b[_0x36fec7(0xe3)][_0x36fec7(0x98)](_0x14ea5f);_0x432f9b[_0x36fec7(0xa1)]();const _0x7571c5=new w(),_0x558180=new ClipboardEvent(_0x36fec7(0x137),{'clipboardData':_0x7571c5}),_0x28890a=new _0x31589e(_0x7571c5),_0x5f0e28=new _0x11fee6(_0x8f54f9,_0x558180,{'dataTransfer':_0x28890a});_0x31352b[_0x36fec7(0xd0)](_0x36fec7(0xa2),()=>{const _0x3e2144=_0x36fec7;_0x8f54f9[_0x3e2144(0xec)][_0x3e2144(0xe4)](_0x3e2144(0x137),_0x5f0e28);}),this[_0x36fec7(0x99)]||(this[_0x36fec7(0x94)](),this[_0x36fec7(0x131)]=new _0x5ee211(_0xea040b,this[_0x36fec7(0x12b)][_0x36fec7(0xbe)],this[_0x36fec7(0x99)]));let _0xe322a4=_0x28890a[_0x36fec7(0x119)](_0x36fec7(0x92));const _0x255a14=_0xea040b[_0x36fec7(0x124)][_0x36fec7(0xec)][_0x36fec7(0x122)],_0x4dd558=Array[_0x36fec7(0x108)](_0x255a14[_0x36fec7(0x102)]());0x1===_0x4dd558[_0x36fec7(0x109)]&&_0x4dd558[0x0][_0x36fec7(0xfe)]&&!_0x255a14[_0x36fec7(0xd2)]()&&''!==_0xe322a4[_0x36fec7(0x123)](/ /g,'')[_0x36fec7(0xb8)]()&&(_0xe322a4=_0x36fec7(0xa0)+_0xe322a4+_0x36fec7(0x12a)),this[_0x36fec7(0x131)][_0x36fec7(0xf8)]({'actionId':_0x526f79,'query':_0x4f1b8c,'htmlContent':_0xe322a4,'label':_0x536b0a,'mainActionLabel':_0x2a7d39[_0xea040b[_0x36fec7(0x124)][_0x36fec7(0xec)][_0x36fec7(0x122)][_0x36fec7(0xe0)]?_0x36fec7(0xdb):_0x36fec7(0xbc)]}),_0x36fec7(0x128)!==this[_0x36fec7(0xfa)]['id']?this[_0x36fec7(0xfa)][_0x36fec7(0x121)]({'id':_0x36fec7(0x128),'icon':_0xcbb6c6[_0x36fec7(0xd6)],'title':_0x191930(this[_0x36fec7(0xb3)][_0x36fec7(0xcb)],_0x36fec7(0xb6)),'content':this[_0x36fec7(0x99)],'position':_0x2c6677[_0x36fec7(0xc2)],'onShow':()=>{const _0x24b1b8=_0x36fec7;this[_0x24b1b8(0x99)][_0x24b1b8(0x9f)]();},'onHide':()=>{const _0xbc11a7=_0x36fec7;this[_0xbc11a7(0x131)][_0xbc11a7(0xcc)](),_0x432f9b[_0xbc11a7(0xbb)]();}}):this[_0x36fec7(0xfa)][_0x36fec7(0xa9)][_0x36fec7(0x8d)]||this[_0x36fec7(0xfa)][_0x36fec7(0xa9)][_0x36fec7(0xca)]();}[_0x4c1fc1(0xdc)](){const _0x1f578a=_0x4c1fc1;this[_0x1f578a(0xfa)][_0x1f578a(0x107)]();}[_0x4c1fc1(0x113)](){const _0x28ecb7=_0x4c1fc1,_0x2a1a95=new Map(),_0x567ca0=_0x1d40c0(this[_0x28ecb7(0xb3)][_0x28ecb7(0xc4)][_0x28ecb7(0x98)](_0x28ecb7(0xf7)),this[_0x28ecb7(0xb3)][_0x28ecb7(0xcb)]);for(const _0x4c0d5d of _0x567ca0)for(const _0x363d81 of _0x4c0d5d[_0x28ecb7(0x10d)])_0x2a1a95[_0x28ecb7(0xaf)](_0x363d81['id'],{..._0x363d81,'groupId':_0x4c0d5d[_0x28ecb7(0x115)],'groupLabel':_0x4c0d5d[_0x28ecb7(0x135)]||_0x4c0d5d[_0x28ecb7(0x115)]});return _0x2a1a95;}[_0x4c1fc1(0x91)](_0x29fcd3){const _0x417b22=_0x4c1fc1,_0x3d83ad=this[_0x417b22(0xb3)],_0xdd25c3=_0x3d83ad[_0x417b22(0x10d)][_0x417b22(0x98)](_0x417b22(0x11b)),_0x2d0ffb=new _0x29fcd3(_0x3d83ad[_0x417b22(0xcb)]);return _0x2d0ffb[_0x417b22(0xaf)]({'label':_0x191930(_0x3d83ad[_0x417b22(0xcb)],_0x417b22(0xb6)),'icon':_0xcbb6c6[_0x417b22(0xd6)],'isToggleable':!0x0}),_0x2d0ffb[_0x417b22(0x10f)](_0x417b22(0xe6))['to'](_0xdd25c3),_0x2d0ffb[_0x417b22(0x10f)](_0x417b22(0x12e))['to'](this[_0x417b22(0xfa)],'id',_0x467c28=>_0x417b22(0x128)===_0x467c28),this[_0x417b22(0xc5)](_0x2d0ffb,_0x417b22(0xad),()=>{const _0x3523b4=_0x417b22;_0x2d0ffb[_0x3523b4(0x12e)]?this[_0x3523b4(0xdc)]():_0xdd25c3[_0x3523b4(0xad)]();}),_0x2d0ffb;}[_0x4c1fc1(0x94)](){const _0x53a7d9=_0x4c1fc1,_0x57121f=this[_0x53a7d9(0xb3)][_0x53a7d9(0xe3)][_0x53a7d9(0x98)](_0x55324b);this[_0x53a7d9(0x99)]=new _0x19279e(this[_0x53a7d9(0xb3)][_0x53a7d9(0xcb)],this[_0x53a7d9(0xd3)],this[_0x53a7d9(0xb3)][_0x53a7d9(0xc4)][_0x53a7d9(0x98)](_0x53a7d9(0xaa))),this[_0x53a7d9(0x99)]['on'](_0x53a7d9(0x129),()=>{const _0x4843ed=_0x53a7d9;this[_0x4843ed(0xfa)][_0x4843ed(0xa9)][_0x4843ed(0x8d)]||this[_0x4843ed(0xfa)][_0x4843ed(0xa9)][_0x4843ed(0xca)]();}),this[_0x53a7d9(0x99)][_0x53a7d9(0x12f)][_0x53a7d9(0xd8)][_0x53a7d9(0x9a)]['on'](_0x53a7d9(0xea),()=>{const _0x502c16=_0x53a7d9;this[_0x502c16(0xfa)][_0x502c16(0xa9)][_0x502c16(0x8d)]||this[_0x502c16(0xfa)][_0x502c16(0xa9)][_0x502c16(0xca)]();}),this[_0x53a7d9(0xc5)](this[_0x53a7d9(0x99)],_0x53a7d9(0xc7),()=>{const _0x2b0bb7=_0x53a7d9;_0x57121f[_0x2b0bb7(0x134)](this[_0x2b0bb7(0x131)][_0x2b0bb7(0xb4)]),this[_0x2b0bb7(0xdc)]();}),this[_0x53a7d9(0xc5)](this[_0x53a7d9(0x99)],_0x53a7d9(0x11a),()=>{const _0x51938e=_0x53a7d9;_0x57121f[_0x51938e(0x11a)](this[_0x51938e(0x131)][_0x51938e(0xb4)]),this[_0x51938e(0xdc)]();}),this[_0x53a7d9(0x9e)]();}[_0x4c1fc1(0x9e)](){const _0x12b0ed=_0x4c1fc1,{locale:_0x3f9308,ui:{ariaLiveAnnouncer:_0x15a33f}}=this[_0x12b0ed(0xb3)];this[_0x12b0ed(0x99)][_0x12b0ed(0xe1)]['on'](_0x12b0ed(0x136),(_0x2146a6,_0x1319f3,_0x1c820c)=>{const _0xe6a367=_0x12b0ed,_0x10b247=this[_0xe6a367(0x131)][_0xe6a367(0xb4)];_0x1c820c?_0x15a33f[_0xe6a367(0x8e)](_0x191930(_0x3f9308,_0xe6a367(0x10a))):_0x10b247&&_0x15a33f[_0xe6a367(0x8e)](_0x191930(_0x3f9308,_0xe6a367(0xcf),_0x10b247),{'politeness':_0xe6a367(0x133),'isUnsafeHTML':!0x0});}),this[_0x12b0ed(0x99)]['on'](_0x12b0ed(0xb7),(_0x300ffa,_0x5536fc,_0x5be74d)=>{const _0x454b7b=_0x12b0ed;if(_0x5be74d){const _0x4bd1a2=this[_0x454b7b(0x99)][_0x454b7b(0x11f)][_0x454b7b(0xdf)];_0x15a33f[_0x454b7b(0x8e)](_0x191930(_0x3f9308,_0x454b7b(0xef),_0x4bd1a2));}});}[_0x4c1fc1(0x114)](_0x28f7c1){const _0xe4c504=_0x4c1fc1,_0x24e31f=this[_0xe4c504(0x118)][_0xe4c504(0x98)](_0x28f7c1),_0x53858f=this[_0xe4c504(0xb3)],_0x3b85ad=_0x53858f[_0xe4c504(0x124)][_0xe4c504(0xec)][_0xe4c504(0x122)],_0x246f67=_0x53858f[_0xe4c504(0x10d)][_0xe4c504(0x98)](_0xe4c504(0x11b)),_0x4d72eb=_0x53858f[_0xe4c504(0xe3)][_0xe4c504(0x98)](_0x55324b),_0x407f9d=''+(_0x24e31f[_0xe4c504(0x115)]!==_0x14a7b5?_0x24e31f[_0xe4c504(0x135)]+':\x20':'')+_0x24e31f[_0xe4c504(0xeb)];if(!0x1!==_0x24e31f[_0xe4c504(0xbd)]&&_0x3b85ad[_0xe4c504(0xe0)]){const _0x55f0f3=_0x87da0d(_0x3b85ad[_0xe4c504(0x126)]())||_0x53858f[_0xe4c504(0x124)][_0xe4c504(0xf9)][_0xe4c504(0x9d)](_0x3b85ad);_0x53858f[_0xe4c504(0x124)][_0xe4c504(0xa3)](_0x2a9803=>{const _0x159570=_0xe4c504;_0x2a9803[_0x159570(0xbf)](_0x55f0f3,'in');});}_0x4d72eb[_0xe4c504(0xa1)](),_0x246f67[_0xe4c504(0xad)](_0x24e31f[_0xe4c504(0xf2)],_0x407f9d,_0xe4c504(0xde)+_0x28f7c1);}[_0x4c1fc1(0xa6)](_0xe23f92,_0x11373f,_0xcdd7db,_0x3fc937){const _0x3c51e9=_0x4c1fc1,_0x17a30a=this[_0x3c51e9(0xb3)],_0x5c4d23=_0x17a30a[_0x3c51e9(0xcb)],_0x4e5797=new _0x3e6a5e(_0x5c4d23),_0x28739b=U(_0x17a30a,_0xcdd7db)[_0x3c51e9(0x105)](_0x49b9cc=>_0x49b9cc[_0x3c51e9(0x10d)][_0x3c51e9(0x109)]);0x1===_0x28739b[_0x3c51e9(0x109)]?this[_0x3c51e9(0x97)]({'command':_0xe23f92,'commands':_0x28739b[0x0][_0x3c51e9(0x10d)],'parentMenuView':_0x11373f,'onExecute':_0x3fc937})[_0x3c51e9(0xba)](_0x5ab932=>_0x4e5797[_0x3c51e9(0xab)][_0x3c51e9(0x103)](_0x5ab932)):_0x28739b[_0x3c51e9(0xba)](({groupId:_0x41eef2,groupLabel:_0x3493be,commands:_0x56fc10})=>{const _0x59f22f=_0x3c51e9,_0x2d245a=new _0x513168(_0x5c4d23,_0x11373f),_0x13d492=new _0x28239b(_0x5c4d23),_0x15e7e6=new _0x3e6a5e(_0x5c4d23),_0x84c169=this[_0x59f22f(0x97)]({'command':_0xe23f92,'commands':_0x56fc10,'parentMenuView':_0x13d492,'onExecute':_0x3fc937});_0x13d492[_0x59f22f(0x11d)][_0x59f22f(0xaf)]({'label':_0x3493be||_0x41eef2}),_0x13d492[_0x59f22f(0x104)](_0x59f22f(0xad))['to'](_0x11373f),_0x15e7e6[_0x59f22f(0xab)][_0x59f22f(0xa8)](_0x84c169),_0x13d492[_0x59f22f(0xa7)][_0x59f22f(0x12d)][_0x59f22f(0x103)](_0x15e7e6),_0x2d245a[_0x59f22f(0x12d)][_0x59f22f(0x103)](_0x13d492),_0x4e5797[_0x59f22f(0xab)][_0x59f22f(0x103)](_0x2d245a);}),_0x11373f[_0x3c51e9(0xa7)][_0x3c51e9(0x12d)][_0x3c51e9(0x103)](_0x4e5797);}[_0x4c1fc1(0x97)]({command:_0xc4d5ff,commands:_0x313817,parentMenuView:_0x27b232,onExecute:_0x20759e}){const _0x438d57=_0x4c1fc1,_0x10e96f=this[_0x438d57(0xb3)],_0x31d6a5=_0x10e96f[_0x438d57(0xcb)];return U(_0x10e96f,_0x313817)[_0x438d57(0x132)](_0x9c5924=>{const _0x3ee805=_0x438d57,_0x4a5442=new _0x513168(_0x31d6a5,_0x27b232),_0x46f2a1=new _0x272083(_0x31d6a5);return _0x46f2a1[_0x3ee805(0xaf)]({'label':_0x9c5924[_0x3ee805(0xeb)]}),_0x46f2a1[_0x3ee805(0x104)](_0x3ee805(0xad))['to'](_0x27b232),_0x46f2a1['on'](_0x3ee805(0xad),()=>_0x20759e(_0x9c5924['id'])),_0x46f2a1[_0x3ee805(0x10f)](_0x3ee805(0xe6))['to'](_0xc4d5ff,_0x3ee805(0xb2),_0x385db1=>_0x385db1[_0x3ee805(0x11e)](_0x9c5924['id'])),_0x4a5442[_0x3ee805(0x12d)][_0x3ee805(0x103)](_0x46f2a1),_0x4a5442;});}}function B(_0x508b75,_0x209dce){const _0x4a785a=_0x4c1fc1;return void 0x0!==_0x508b75[_0x4a785a(0xc6)]&&void 0x0===_0x209dce[_0x4a785a(0xc6)]?0x1:void 0x0===_0x508b75[_0x4a785a(0xc6)]&&void 0x0!==_0x209dce[_0x4a785a(0xc6)]?-0x1:void 0x0!==_0x508b75[_0x4a785a(0xc6)]&&void 0x0!==_0x209dce[_0x4a785a(0xc6)]?_0x508b75[_0x4a785a(0xc6)]-_0x209dce[_0x4a785a(0xc6)]:0x0;}function U(_0x5e27df,_0x3cff63){const _0x72b6c=_0x4c1fc1;_0x3cff63[_0x72b6c(0x127)](B);const _0x15806d={},_0x256591=[];for(const _0x11fe03 of _0x3cff63)if(void 0x0!==_0x11fe03[_0x72b6c(0xc6)]){if(_0x11fe03[_0x72b6c(0xc6)]in _0x15806d)throw new _0x5e0d45(_0x72b6c(0xed),_0x5e27df,{'conflictingDefinitions':[_0x11fe03,_0x15806d[_0x11fe03[_0x72b6c(0xc6)]]]});_0x15806d[_0x11fe03[_0x72b6c(0xc6)]]=_0x11fe03,_0x256591[_0x72b6c(0xf4)](_0x11fe03[_0x72b6c(0xc6)],0x0,_0x11fe03);}else _0x256591[_0x72b6c(0xc3)](_0x11fe03);return _0x256591;}function _0x1ee7(){const _0x5510a1=['EDITOR_TOP_SIDE','push','config','listenTo','order','replaceContent','menuPanelClass','1561617KkdYVQ','updatePosition','locale','reset','aiLicenseKeyDomainLimit','usageLimit','Generated\x20content:\x20%0','_forceMarkersCopy','330SVKdqw','getSelectedElement','_uiCssClasses','pluginName','106554BwkLQx','robotPencil','\x20ck-ai-assistant-ui_theme','queryView','AIAssistantUI','change:enabledCommandsIds','INSERT','hideUI','_showLicenseError','command:','text','isCollapsed','contentArea','showUI','plugins','fire','_licenseKeyCheckInterval','isEnabled','body','isOfficialPlugin','source','update','label','document','ai-commands-config-order-collision','componentFactory','Error\x20during\x20AI\x20content\x20generation:\x20%0','once','ck-ai-assistant-ui','prompt','trialLimit','splice','2002375ZkonrI','requires','ai.aiAssistant.commands','updateView','schema','_dialog','aiLicenseKeyValid','aiLicenseKeyExpired','228316HqfziS','isFlat','aiLicenseKeyTrialLimit','buttons','expired','getRanges','add','delegate','filter','media','hide','from','length','AI\x20is\x20writing','featureNotAllowed','AI\x20Commands','commands','rawHtml','bind','menuitemcheckbox','ck-ai-commands-dropdown\x20','menuView','_getResolvedCommandsDefinitions','_onExecute','groupId','33caHvXd','values','_commandDefinitions','getData','insertContentBelow','showAIAssistant','menuBar:aiCommands','buttonView','includes','errorView','init','show','selection','replace','model','define','getSelectedBlocks','sort','aiAssistant','change:value','</p>','_aiAdapter','16324hLGDUy','children','isOn','promptView','aiLicenseKeyUsageLimit','_aiAssistantController','map','polite','insertContent','groupLabel','change:isProcessing','copy','licenseKey','tableOfContents','ai.useTheme','evaluationLimit','aiLicenseKeyNotAllowed','render','domainLimit','wasMoved','announce','invalid','editing','_createAIAssistantUIButton','text/html','DataTransfer','_initView','2488240mRBOjb','2xWzHVU','_getMenuBarGroupButtons','get','_formView','fieldView','ck-ai-assistant-button\x20','301179cKbqsw','getLimitElement','_initAriaAiStatusChangeAnnouncements','focus','<p>','showFakeVisualSelection','comment','change','menuBar:aiAssistant','isPremiumPlugin','_populateMenuBarMenu','panelView','addMany','view','ai.aiAssistant.contentAreaCssClass','items','destroy','execute','custom','set','49JDkZcx','aiCommands','enabledCommandsIds','editor','currentContext','AIAssistant','AI\x20Assistant','change:isError','trim','ai.aiAssistant.disabledElements','forEach','hideFakeVisualSelection','REPLACE','requiresContent','textAdapter','setSelection','aiLicenseKeyInvalid','aiLicenseKeyEvaluationLimit'];_0x1ee7=function(){return _0x5510a1;};return _0x1ee7();}
|
|
23
|
+
const _0x5521bd=_0x59ed;(function(_0x122a5e,_0x5292a3){const _0x139f04=_0x59ed,_0x546bed=_0x122a5e();while(!![]){try{const _0x4d9e65=-parseInt(_0x139f04(0x18a))/0x1+-parseInt(_0x139f04(0x17d))/0x2*(parseInt(_0x139f04(0x15f))/0x3)+parseInt(_0x139f04(0x1a8))/0x4+-parseInt(_0x139f04(0x19c))/0x5+parseInt(_0x139f04(0x173))/0x6*(parseInt(_0x139f04(0x1aa))/0x7)+parseInt(_0x139f04(0x1b2))/0x8*(-parseInt(_0x139f04(0x165))/0x9)+parseInt(_0x139f04(0x195))/0xa;if(_0x4d9e65===_0x5292a3)break;else _0x546bed['push'](_0x546bed['shift']());}catch(_0x4f5529){_0x546bed['push'](_0x546bed['shift']());}}}(_0x1026,0x1eb7d));import{Plugin as _0x33eddf}from'ckeditor5/src/core.js';import{first as _0x3a7bd5,CKEditorError as _0x2e9630}from'ckeditor5/src/utils.js';import{createDropdown as _0xf338f0,addMenuToDropdown as _0x1568b4,ButtonView as _0x1705cb,MenuBarMenuListItemButtonView as _0x2ec974,Dialog as _0x2ac850,DialogViewPosition as _0x18bd20,MenuBarMenuView as _0x245352,MenuBarMenuListView as _0xd3cc90,MenuBarMenuListItemView as _0x8620f1}from'ckeditor5/src/ui.js';import{icons as _0x48e6bf}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x2c9263,UNGROUPED_COMMANDS_GROUP_ID as _0x5b2358}from'./utils/normalizecommandsconfig.js';import _0x3bbd66 from'./aiassistantediting.js';import _0x1324ed from'./adapters/aiadapter.js';import{getTranslation as _0x3d11aa}from'./utils/common-translations.js';function _0x59ed(_0x3e5765,_0x55062d){const _0x1026c3=_0x1026();return _0x59ed=function(_0x59ed58,_0x2064c1){_0x59ed58=_0x59ed58-0x157;let _0x34ef77=_0x1026c3[_0x59ed58];return _0x34ef77;},_0x59ed(_0x3e5765,_0x55062d);}function _0x1026(){const _0x4e50cc=['menuPanelClass','getSelectedElement','editor','ai.aiAssistant.commands','showAIAssistant','change:enabledCommandsIds','_commandDefinitions','updateView','push','promptView','AIAssistantUI','children','wasMoved','aiLicenseKeyValid','componentFactory','trialLimit','aiLicenseKeyTrialLimit','values','media','ai.aiAssistant.disabledElements','enabledCommandsIds','document','rawHtml','show','_forceMarkersCopy','invalid','aiAssistant','_getResolvedCommandsDefinitions','getSelectedBlocks','panelView','_createAIAssistantUIButton','menuitemcheckbox','focus','usageLimit','splice','AI\x20Commands','aiLicenseKeyNotAllowed','isCollapsed','menuBar:aiAssistant','filter','evaluationLimit','getRanges','aiLicenseKeyExpired','sort','reset','once','ck-ai-assistant-button\x20','order','_formView','textAdapter','tableOfContents','ai.useTheme','change:value','_getMenuBarGroupButtons','polite','547821oiiGws','define','comment','prompt','setSelection','update','450BnsJMz','text/html','change:isProcessing','hideUI','trim','_aiAssistantController','_dialog','aiLicenseKeyDomainLimit','isFlat','isPremiumPlugin','init','isOn','contentArea','render','256800XnXMaa','change:isError','aiCommands','updatePosition','command:','replace','isEnabled','delegate','copy','selection','2ffmSSN','DataTransfer','buttonView','buttons','set','ck-ai-assistant-ui','locale','<p>','requires','from','menuBar:aiCommands','get','text','173509ABFWAc','_initAriaAiStatusChangeAnnouncements','expired','\x20ck-ai-assistant-ui_theme','requiresContent','robotPencil','licenseKey','addMany','_licenseKeyCheckInterval','ck-ai-commands-dropdown\x20','fire','2391050ZRphvH','</p>','hide','REPLACE','INSERT','AI\x20Assistant','length','464120vTUSIL','hideFakeVisualSelection','showFakeVisualSelection','aiLicenseKeyInvalid','body','ai.aiAssistant.contentAreaCssClass','isOfficialPlugin','_onExecute','view','currentContext','_showLicenseError','fieldView','894024BZfoZD','includes','35qdroJA','AI\x20is\x20writing','_aiAdapter','config','aiLicenseKeyEvaluationLimit','queryView','destroy','featureNotAllowed','16296nKGMaB','source','execute','Error\x20during\x20AI\x20content\x20generation:\x20%0','forEach','insertContent','custom','groupLabel','_populateMenuBarMenu','ai-commands-config-order-collision','pluginName','_uiCssClasses','items','label','editing','Generated\x20content:\x20%0','insertContentBelow','AIAssistant','errorView','menuView','bind','commands','EDITOR_TOP_SIDE','plugins','getData','domainLimit','_initView','map','replaceContent','add','groupId','listenTo','schema','change','getLimitElement','announce','aiLicenseKeyUsageLimit','showUI','model'];_0x1026=function(){return _0x4e50cc;};return _0x1026();}import _0x4456e6 from'./ui/showaiassistantcommand.js';import _0x193da2 from'./ui/aiassistantcontroller.js';import _0x576606 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5ec642}from'./ui/form/aiformtoolbarview.js';import _0x5cbd79 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5521bd(0x17e)];import{ClipboardMarkersUtils as _0x28025a}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x8914ee,DataTransfer as _0x8577d4}from'ckeditor5/src/engine.js';export default class n extends _0x33eddf{static get[_0x5521bd(0x1bc)](){const _0x1feb33=_0x5521bd;return _0x1feb33(0x1e3);}static get[_0x5521bd(0x1a2)](){return!0x0;}static get[_0x5521bd(0x16e)](){return!0x0;}static get[_0x5521bd(0x185)](){return[_0x28025a,_0x3bbd66,_0x1324ed,_0x2ac850];}constructor(_0x32bd23){const _0x525116=_0x5521bd;super(_0x32bd23),this[_0x525116(0x1bd)]='',_0x32bd23[_0x525116(0x1ad)][_0x525116(0x160)](_0x525116(0x1ec),[_0x525116(0x1eb),_0x525116(0x1ef),_0x525116(0x15a)]),_0x32bd23[_0x525116(0x1ad)][_0x525116(0x160)](_0x525116(0x1a1),''),_0x32bd23[_0x525116(0x1ad)][_0x525116(0x160)](_0x525116(0x15b),!0x0),this[_0x525116(0x1bd)]=_0x525116(0x182)+(_0x32bd23[_0x525116(0x1ad)][_0x525116(0x188)](_0x525116(0x15b))?_0x525116(0x18d):'');}[_0x5521bd(0x16f)](){const _0x183c08=_0x5521bd,{editor:_0x3bfb8b}=this;this[_0x183c08(0x1ac)]=_0x3bfb8b[_0x183c08(0x1c9)][_0x183c08(0x188)](_0x1324ed),this[_0x183c08(0x16b)]=_0x3bfb8b[_0x183c08(0x1c9)][_0x183c08(0x188)](_0x2ac850),this[_0x183c08(0x158)]=null,this[_0x183c08(0x1df)]=this[_0x183c08(0x1f4)]();const _0x541131=new _0x4456e6(_0x3bfb8b,Array[_0x183c08(0x186)](this[_0x183c08(0x1df)][_0x183c08(0x1ea)]()));_0x3bfb8b[_0x183c08(0x1c7)][_0x183c08(0x1cf)](_0x183c08(0x1dd),_0x541131),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x175),_0x21c021=>{const _0x5c84ca=_0x183c08,_0x4c1b84=_0xf338f0(_0x21c021);return _0x4c1b84[_0x5c84ca(0x181)]({'class':_0x5c84ca(0x193)+this[_0x5c84ca(0x1bd)]}),_0x4c1b84[_0x5c84ca(0x17f)][_0x5c84ca(0x181)]({'label':_0x3d11aa(_0x21c021,_0x5c84ca(0x1fc)),'icon':_0x5cbd79,'tooltip':!0x0}),_0x4c1b84['on'](_0x5c84ca(0x1b4),_0x4cef04=>this[_0x5c84ca(0x1a3)](_0x4cef04[_0x5c84ca(0x1b3)]['id'])),_0x1568b4(_0x4c1b84,_0x3bfb8b['ui'][_0x5c84ca(0x1a4)][_0x5c84ca(0x1a0)],function(_0xecb144){const _0x2cdee8=_0x5c84ca,_0x2569ea=_0x2c9263(_0xecb144[_0x2cdee8(0x1ad)][_0x2cdee8(0x188)](_0x2cdee8(0x1dc)),_0xecb144[_0x2cdee8(0x183)]),_0x334ed9=U(_0xecb144,_0x2569ea)[_0x2cdee8(0x200)](_0x327b70=>_0x327b70[_0x2cdee8(0x1c7)][_0x2cdee8(0x19b)]);if(0x1===_0x334ed9[_0x2cdee8(0x19b)])return U(_0xecb144,_0x334ed9[0x0][_0x2cdee8(0x1c7)])[_0x2cdee8(0x1cd)](_0x26d6d7=>({'id':_0x26d6d7['id'],'label':_0x26d6d7[_0x2cdee8(0x1bf)]}));return _0x334ed9[_0x2cdee8(0x1cd)](_0x43ffbf=>{const _0x23c954=_0x2cdee8,{groupId:_0x32d0bd,groupLabel:_0x4ddcc2,commands:_0x39cbde}=_0x43ffbf,_0x2cb5c6=U(_0xecb144,_0x39cbde)[_0x23c954(0x1cd)](_0x4347d6=>({'id':_0x4347d6['id'],'label':_0x4347d6[_0x23c954(0x1bf)]}));return{'id':_0x32d0bd,'menu':_0x4ddcc2||_0x32d0bd,'children':_0x2cb5c6};});}(_0x3bfb8b),{'ariaLabel':_0x3d11aa(_0x21c021,_0x5c84ca(0x1fc))}),_0x4c1b84[_0x5c84ca(0x1c5)][_0x5c84ca(0x1d9)]=_0x5c84ca(0x193)+this[_0x5c84ca(0x1bd)],_0x541131['on'](_0x5c84ca(0x1de),_0x5cbce2),_0x4c1b84[_0x5c84ca(0x1c5)][_0x5c84ca(0x206)](_0x5c84ca(0x172),_0x5cbce2),_0x4c1b84;function _0x5cbce2(){const _0x49636f=_0x5c84ca;_0x4c1b84[_0x49636f(0x179)]=_0x541131[_0x49636f(0x1ed)][_0x49636f(0x19b)]>0x0;for(const _0x34bea4 of _0x4c1b84[_0x49636f(0x1c5)][_0x49636f(0x180)])_0x34bea4[_0x49636f(0x179)]=_0x541131[_0x49636f(0x1ed)][_0x49636f(0x1a9)](_0x34bea4['id']);}}),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x187),_0x2570cd=>{const _0x164387=_0x183c08,_0x440840=new _0x245352(_0x2570cd);_0x440840[_0x164387(0x17f)][_0x164387(0x181)]({'label':_0x3d11aa(_0x2570cd,_0x164387(0x1fc)),'icon':_0x5cbd79}),_0x440840[_0x164387(0x1c6)](_0x164387(0x179))['to'](_0x541131,_0x164387(0x1ed),_0x5829af=>_0x5829af[_0x164387(0x19b)]>0x0);const _0x531663=_0x2c9263(_0x3bfb8b[_0x164387(0x1ad)][_0x164387(0x188)](_0x164387(0x1dc)),_0x2570cd);return this[_0x164387(0x1ba)](_0x541131,_0x440840,_0x531663,_0xb28dda=>this[_0x164387(0x1a3)](_0xb28dda)),_0x440840;}),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x1f3),()=>{const _0x4fa9b9=_0x183c08,_0x299ceb=this[_0x4fa9b9(0x1f7)](_0x1705cb);return _0x299ceb[_0x4fa9b9(0x181)]({'tooltip':!0x0,'class':_0x4fa9b9(0x207)+this[_0x4fa9b9(0x1bd)]}),_0x299ceb;}),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x1ff),()=>{const _0x2ad8bb=_0x183c08,_0x469f49=this[_0x2ad8bb(0x1f7)](_0x2ec974);return _0x469f49[_0x2ad8bb(0x181)]({'role':_0x2ad8bb(0x1f8)}),_0x469f49;}),this[_0x183c08(0x190)]=this[_0x183c08(0x1db)][_0x183c08(0x1ad)][_0x183c08(0x188)](_0x183c08(0x190));const _0x5148ba=this[_0x183c08(0x1db)];this[_0x183c08(0x192)]=setInterval(()=>{const _0x29296a=_0x183c08;let _0x5acf70;for(const _0x29f428 in _0x5148ba){const _0x1717e4=_0x29f428,_0x2b13c3=_0x5148ba[_0x1717e4];if(_0x29296a(0x1e6)==_0x2b13c3||_0x29296a(0x19f)==_0x2b13c3||_0x29296a(0x203)==_0x2b13c3||_0x29296a(0x16c)==_0x2b13c3||_0x29296a(0x1fd)==_0x2b13c3||_0x29296a(0x1ae)==_0x2b13c3||_0x29296a(0x1e9)==_0x2b13c3||_0x29296a(0x1d6)==_0x2b13c3){delete _0x5148ba[_0x1717e4],_0x5acf70=_0x2b13c3,clearInterval(this[_0x29296a(0x192)]),this[_0x29296a(0x192)]=void 0x0;break;}}_0x29296a(0x19f)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1f2)),_0x29296a(0x203)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x18c)),_0x29296a(0x16c)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1cb)),_0x29296a(0x1fd)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1b1),_0x29296a(0x1c3)),_0x29296a(0x1ae)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x201)),_0x29296a(0x1e9)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1e8)),_0x29296a(0x1d6)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1fa));},0x3e8);}[_0x5521bd(0x1b0)](){const _0x1a2037=_0x5521bd;super[_0x1a2037(0x1b0)](),this[_0x1a2037(0x192)]&&clearInterval(this[_0x1a2037(0x192)]);}[_0x5521bd(0x1d7)](_0x29685d='',_0xbab0e1='',_0x151364=_0x5521bd(0x1b8)){const _0x5f54f2=_0x5521bd,_0x4e9c17=this[_0x5f54f2(0x1db)],_0x5475e7=_0x4e9c17[_0x5f54f2(0x1c0)][_0x5f54f2(0x1a4)],_0x21a7e7=_0x4e9c17[_0x5f54f2(0x1c9)][_0x5f54f2(0x188)](_0x3bbd66),_0x596d0a=_0x4e9c17[_0x5f54f2(0x1c9)][_0x5f54f2(0x188)](_0x28025a);_0x21a7e7[_0x5f54f2(0x19e)]();const _0x4a84a9=new w(),_0x560d1d=new ClipboardEvent(_0x5f54f2(0x17b),{'clipboardData':_0x4a84a9}),_0x4429aa=new _0x8577d4(_0x4a84a9),_0x531554=new _0x8914ee(_0x5475e7,_0x560d1d,{'dataTransfer':_0x4429aa});_0x596d0a[_0x5f54f2(0x1f1)](_0x5f54f2(0x161),()=>{const _0x2f444f=_0x5f54f2;_0x5475e7[_0x2f444f(0x1ee)][_0x2f444f(0x194)](_0x2f444f(0x17b),_0x531554);}),this[_0x5f54f2(0x158)]||(this[_0x5f54f2(0x1cc)](),this[_0x5f54f2(0x16a)]=new _0x193da2(_0x4e9c17,this[_0x5f54f2(0x1ac)][_0x5f54f2(0x159)],this[_0x5f54f2(0x158)]));let _0x3e322f=_0x4429aa[_0x5f54f2(0x1ca)](_0x5f54f2(0x166));const _0x8c47a0=_0x4e9c17[_0x5f54f2(0x1d8)][_0x5f54f2(0x1ee)][_0x5f54f2(0x17c)],_0x49de5f=Array[_0x5f54f2(0x186)](_0x8c47a0[_0x5f54f2(0x202)]());0x1===_0x49de5f[_0x5f54f2(0x19b)]&&_0x49de5f[0x0][_0x5f54f2(0x16d)]&&!_0x8c47a0[_0x5f54f2(0x1da)]()&&''!==_0x3e322f[_0x5f54f2(0x178)](/ /g,'')[_0x5f54f2(0x169)]()&&(_0x3e322f=_0x5f54f2(0x184)+_0x3e322f+_0x5f54f2(0x196)),this[_0x5f54f2(0x16a)][_0x5f54f2(0x1e0)]({'actionId':_0x151364,'query':_0x29685d,'htmlContent':_0x3e322f,'label':_0xbab0e1,'mainActionLabel':_0x5ec642[_0x4e9c17[_0x5f54f2(0x1d8)][_0x5f54f2(0x1ee)][_0x5f54f2(0x17c)][_0x5f54f2(0x1fe)]?_0x5f54f2(0x199):_0x5f54f2(0x198)]}),_0x5f54f2(0x1f3)!==this[_0x5f54f2(0x16b)]['id']?this[_0x5f54f2(0x16b)][_0x5f54f2(0x1f0)]({'id':_0x5f54f2(0x1f3),'icon':_0x48e6bf[_0x5f54f2(0x18f)],'title':_0x3d11aa(this[_0x5f54f2(0x1db)][_0x5f54f2(0x183)],_0x5f54f2(0x19a)),'content':this[_0x5f54f2(0x158)],'position':_0x18bd20[_0x5f54f2(0x1c8)],'onShow':()=>{const _0x1dc77d=_0x5f54f2;this[_0x1dc77d(0x158)][_0x1dc77d(0x1f9)]();},'onHide':()=>{const _0x38a4ec=_0x5f54f2;this[_0x38a4ec(0x16a)][_0x38a4ec(0x205)](),_0x21a7e7[_0x38a4ec(0x19d)]();}}):this[_0x5f54f2(0x16b)][_0x5f54f2(0x1a4)][_0x5f54f2(0x1e5)]||this[_0x5f54f2(0x16b)][_0x5f54f2(0x1a4)][_0x5f54f2(0x176)]();}[_0x5521bd(0x168)](){const _0x5ed4c2=_0x5521bd;this[_0x5ed4c2(0x16b)][_0x5ed4c2(0x197)]();}[_0x5521bd(0x1f4)](){const _0x347349=_0x5521bd,_0x4c8e47=new Map(),_0x2ce9ae=_0x2c9263(this[_0x347349(0x1db)][_0x347349(0x1ad)][_0x347349(0x188)](_0x347349(0x1dc)),this[_0x347349(0x1db)][_0x347349(0x183)]);for(const _0x542777 of _0x2ce9ae)for(const _0x3d10a9 of _0x542777[_0x347349(0x1c7)])_0x4c8e47[_0x347349(0x181)](_0x3d10a9['id'],{..._0x3d10a9,'groupId':_0x542777[_0x347349(0x1d0)],'groupLabel':_0x542777[_0x347349(0x1b9)]||_0x542777[_0x347349(0x1d0)]});return _0x4c8e47;}[_0x5521bd(0x1f7)](_0x1104c4){const _0x279965=_0x5521bd,_0x543adf=this[_0x279965(0x1db)],_0x594799=_0x543adf[_0x279965(0x1c7)][_0x279965(0x188)](_0x279965(0x1dd)),_0x39b1fd=new _0x1104c4(_0x543adf[_0x279965(0x183)]);return _0x39b1fd[_0x279965(0x181)]({'label':_0x3d11aa(_0x543adf[_0x279965(0x183)],_0x279965(0x19a)),'icon':_0x48e6bf[_0x279965(0x18f)],'isToggleable':!0x0}),_0x39b1fd[_0x279965(0x1c6)](_0x279965(0x179))['to'](_0x594799),_0x39b1fd[_0x279965(0x1c6)](_0x279965(0x170))['to'](this[_0x279965(0x16b)],'id',_0x4849d2=>_0x279965(0x1f3)===_0x4849d2),this[_0x279965(0x1d1)](_0x39b1fd,_0x279965(0x1b4),()=>{const _0x1c843a=_0x279965;_0x39b1fd[_0x1c843a(0x170)]?this[_0x1c843a(0x168)]():_0x594799[_0x1c843a(0x1b4)]();}),_0x39b1fd;}[_0x5521bd(0x1cc)](){const _0x127e7d=_0x5521bd,_0x102cd7=this[_0x127e7d(0x1db)][_0x127e7d(0x1c9)][_0x127e7d(0x188)](_0x3bbd66);this[_0x127e7d(0x158)]=new _0x576606(this[_0x127e7d(0x1db)][_0x127e7d(0x183)],this[_0x127e7d(0x1bd)],this[_0x127e7d(0x1db)][_0x127e7d(0x1ad)][_0x127e7d(0x188)](_0x127e7d(0x1a1))),this[_0x127e7d(0x158)]['on'](_0x127e7d(0x15c),()=>{const _0x3c1c92=_0x127e7d;this[_0x3c1c92(0x16b)][_0x3c1c92(0x1a4)][_0x3c1c92(0x1e5)]||this[_0x3c1c92(0x16b)][_0x3c1c92(0x1a4)][_0x3c1c92(0x176)]();}),this[_0x127e7d(0x158)][_0x127e7d(0x1e2)][_0x127e7d(0x1af)][_0x127e7d(0x1a7)]['on'](_0x127e7d(0x164),()=>{const _0x290530=_0x127e7d;this[_0x290530(0x16b)][_0x290530(0x1a4)][_0x290530(0x1e5)]||this[_0x290530(0x16b)][_0x290530(0x1a4)][_0x290530(0x176)]();}),this[_0x127e7d(0x1d1)](this[_0x127e7d(0x158)],_0x127e7d(0x1ce),()=>{const _0x352bbc=_0x127e7d;_0x102cd7[_0x352bbc(0x1b7)](this[_0x352bbc(0x16a)][_0x352bbc(0x1a5)]),this[_0x352bbc(0x168)]();}),this[_0x127e7d(0x1d1)](this[_0x127e7d(0x158)],_0x127e7d(0x1c2),()=>{const _0x5747c0=_0x127e7d;_0x102cd7[_0x5747c0(0x1c2)](this[_0x5747c0(0x16a)][_0x5747c0(0x1a5)]),this[_0x5747c0(0x168)]();}),this[_0x127e7d(0x18b)]();}[_0x5521bd(0x18b)](){const _0x331017=_0x5521bd,{locale:_0xedaa57,ui:{ariaLiveAnnouncer:_0x11e736}}=this[_0x331017(0x1db)];this[_0x331017(0x158)][_0x331017(0x171)]['on'](_0x331017(0x167),(_0x498887,_0x512bef,_0x552d6d)=>{const _0x261e86=_0x331017,_0x20751f=this[_0x261e86(0x16a)][_0x261e86(0x1a5)];_0x552d6d?_0x11e736[_0x261e86(0x1d5)](_0x3d11aa(_0xedaa57,_0x261e86(0x1ab))):_0x20751f&&_0x11e736[_0x261e86(0x1d5)](_0x3d11aa(_0xedaa57,_0x261e86(0x1c1),_0x20751f),{'politeness':_0x261e86(0x15e),'isUnsafeHTML':!0x0});}),this[_0x331017(0x158)]['on'](_0x331017(0x174),(_0x339224,_0x1cbfec,_0x147557)=>{const _0x29b464=_0x331017;if(_0x147557){const _0x2516f1=this[_0x29b464(0x158)][_0x29b464(0x1c4)][_0x29b464(0x189)];_0x11e736[_0x29b464(0x1d5)](_0x3d11aa(_0xedaa57,_0x29b464(0x1b5),_0x2516f1));}});}[_0x5521bd(0x1a3)](_0x2bd1cf){const _0x241235=_0x5521bd,_0x55ffd0=this[_0x241235(0x1df)][_0x241235(0x188)](_0x2bd1cf),_0x865c9e=this[_0x241235(0x1db)],_0x18db69=_0x865c9e[_0x241235(0x1d8)][_0x241235(0x1ee)][_0x241235(0x17c)],_0xab80a7=_0x865c9e[_0x241235(0x1c7)][_0x241235(0x188)](_0x241235(0x1dd)),_0x4e2581=_0x865c9e[_0x241235(0x1c9)][_0x241235(0x188)](_0x3bbd66),_0x3a4806=''+(_0x55ffd0[_0x241235(0x1d0)]!==_0x5b2358?_0x55ffd0[_0x241235(0x1b9)]+':\x20':'')+_0x55ffd0[_0x241235(0x1bf)];if(!0x1!==_0x55ffd0[_0x241235(0x18e)]&&_0x18db69[_0x241235(0x1fe)]){const _0x449870=_0x3a7bd5(_0x18db69[_0x241235(0x1f5)]())||_0x865c9e[_0x241235(0x1d8)][_0x241235(0x1d2)][_0x241235(0x1d4)](_0x18db69);_0x865c9e[_0x241235(0x1d8)][_0x241235(0x1d3)](_0x3f9f16=>{const _0x1a09ab=_0x241235;_0x3f9f16[_0x1a09ab(0x163)](_0x449870,'in');});}_0x4e2581[_0x241235(0x19e)](),_0xab80a7[_0x241235(0x1b4)](_0x55ffd0[_0x241235(0x162)],_0x3a4806,_0x241235(0x177)+_0x2bd1cf);}[_0x5521bd(0x1ba)](_0x65e70e,_0x56d5ad,_0x2afe14,_0x141fe6){const _0x4edf1d=_0x5521bd,_0x142e66=this[_0x4edf1d(0x1db)],_0x321bdb=_0x142e66[_0x4edf1d(0x183)],_0x5f1122=new _0xd3cc90(_0x321bdb),_0x2b0180=U(_0x142e66,_0x2afe14)[_0x4edf1d(0x200)](_0x2533e8=>_0x2533e8[_0x4edf1d(0x1c7)][_0x4edf1d(0x19b)]);0x1===_0x2b0180[_0x4edf1d(0x19b)]?this[_0x4edf1d(0x15d)]({'command':_0x65e70e,'commands':_0x2b0180[0x0][_0x4edf1d(0x1c7)],'parentMenuView':_0x56d5ad,'onExecute':_0x141fe6})[_0x4edf1d(0x1b6)](_0x25923a=>_0x5f1122[_0x4edf1d(0x1be)][_0x4edf1d(0x1cf)](_0x25923a)):_0x2b0180[_0x4edf1d(0x1b6)](({groupId:_0x16bb69,groupLabel:_0x5f73d8,commands:_0x14eb4c})=>{const _0x51dfe7=_0x4edf1d,_0x46fb95=new _0x8620f1(_0x321bdb,_0x56d5ad),_0x3cb838=new _0x245352(_0x321bdb),_0x4024fd=new _0xd3cc90(_0x321bdb),_0x426749=this[_0x51dfe7(0x15d)]({'command':_0x65e70e,'commands':_0x14eb4c,'parentMenuView':_0x3cb838,'onExecute':_0x141fe6});_0x3cb838[_0x51dfe7(0x17f)][_0x51dfe7(0x181)]({'label':_0x5f73d8||_0x16bb69}),_0x3cb838[_0x51dfe7(0x17a)](_0x51dfe7(0x1b4))['to'](_0x56d5ad),_0x4024fd[_0x51dfe7(0x1be)][_0x51dfe7(0x191)](_0x426749),_0x3cb838[_0x51dfe7(0x1f6)][_0x51dfe7(0x1e4)][_0x51dfe7(0x1cf)](_0x4024fd),_0x46fb95[_0x51dfe7(0x1e4)][_0x51dfe7(0x1cf)](_0x3cb838),_0x5f1122[_0x51dfe7(0x1be)][_0x51dfe7(0x1cf)](_0x46fb95);}),_0x56d5ad[_0x4edf1d(0x1f6)][_0x4edf1d(0x1e4)][_0x4edf1d(0x1cf)](_0x5f1122);}[_0x5521bd(0x15d)]({command:_0x20e9d1,commands:_0x224a16,parentMenuView:_0x4910de,onExecute:_0x20c969}){const _0x244155=_0x5521bd,_0x586f30=this[_0x244155(0x1db)],_0x45449e=_0x586f30[_0x244155(0x183)];return U(_0x586f30,_0x224a16)[_0x244155(0x1cd)](_0x92d1ff=>{const _0x4b0a9e=_0x244155,_0x53a059=new _0x8620f1(_0x45449e,_0x4910de),_0x330f21=new _0x2ec974(_0x45449e);return _0x330f21[_0x4b0a9e(0x181)]({'label':_0x92d1ff[_0x4b0a9e(0x1bf)]}),_0x330f21[_0x4b0a9e(0x17a)](_0x4b0a9e(0x1b4))['to'](_0x4910de),_0x330f21['on'](_0x4b0a9e(0x1b4),()=>_0x20c969(_0x92d1ff['id'])),_0x330f21[_0x4b0a9e(0x1c6)](_0x4b0a9e(0x179))['to'](_0x20e9d1,_0x4b0a9e(0x1ed),_0xdb362f=>_0xdb362f[_0x4b0a9e(0x1a9)](_0x92d1ff['id'])),_0x53a059[_0x4b0a9e(0x1e4)][_0x4b0a9e(0x1cf)](_0x330f21),_0x53a059;});}}function B(_0x3a21f6,_0x25d7a4){const _0x100991=_0x5521bd;return void 0x0!==_0x3a21f6[_0x100991(0x157)]&&void 0x0===_0x25d7a4[_0x100991(0x157)]?0x1:void 0x0===_0x3a21f6[_0x100991(0x157)]&&void 0x0!==_0x25d7a4[_0x100991(0x157)]?-0x1:void 0x0!==_0x3a21f6[_0x100991(0x157)]&&void 0x0!==_0x25d7a4[_0x100991(0x157)]?_0x3a21f6[_0x100991(0x157)]-_0x25d7a4[_0x100991(0x157)]:0x0;}function U(_0x5611ef,_0x2578f8){const _0x4001f1=_0x5521bd;_0x2578f8[_0x4001f1(0x204)](B);const _0x582b82={},_0x20c230=[];for(const _0x2a95d3 of _0x2578f8)if(void 0x0!==_0x2a95d3[_0x4001f1(0x157)]){if(_0x2a95d3[_0x4001f1(0x157)]in _0x582b82)throw new _0x2e9630(_0x4001f1(0x1bb),_0x5611ef,{'conflictingDefinitions':[_0x2a95d3,_0x582b82[_0x2a95d3[_0x4001f1(0x157)]]]});_0x582b82[_0x2a95d3[_0x4001f1(0x157)]]=_0x2a95d3,_0x20c230[_0x4001f1(0x1fb)](_0x2a95d3[_0x4001f1(0x157)],0x0,_0x2a95d3);}else _0x20c230[_0x4001f1(0x1e1)](_0x2a95d3);return _0x20c230;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5485(){var _0x59ee63=['805967yhmkTS','1323594jCKnhd','1062375mVEdEE','20yhKCqg','799765aNnJbG','902328aEXdHs','7vkDUUT','3681256XrFXoG','2079270qTJlKi','2vHkIYn'];_0x5485=function(){return _0x59ee63;};return _0x5485();}(function(_0x41795a,_0xe065fe){var _0x9facbb=_0x4279,_0x218bbc=_0x41795a();while(!![]){try{var _0x34c67d=parseInt(_0x9facbb(0x1ba))/0x1+parseInt(_0x9facbb(0x1b9))/0x2*(parseInt(_0x9facbb(0x1bc))/0x3)+-parseInt(_0x9facbb(0x1bd))/0x4*(parseInt(_0x9facbb(0x1be))/0x5)+-parseInt(_0x9facbb(0x1b5))/0x6*(-parseInt(_0x9facbb(0x1b6))/0x7)+-parseInt(_0x9facbb(0x1b7))/0x8+parseInt(_0x9facbb(0x1bb))/0x9+parseInt(_0x9facbb(0x1b8))/0xa;if(_0x34c67d===_0xe065fe)break;else _0x218bbc['push'](_0x218bbc['shift']());}catch(_0xd870eb){_0x218bbc['push'](_0x218bbc['shift']());}}}(_0x5485,0x6302f));function _0x4279(_0x5f456d,_0x347c1e){var _0x54855a=_0x5485();return _0x4279=function(_0x42790a,_0x525b2a){_0x42790a=_0x42790a-0x1b5;var _0x36bddf=_0x54855a[_0x42790a];return _0x36bddf;},_0x4279(_0x5f456d,_0x347c1e);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xa33f42,_0x38f2f9){var _0x165316=_0x5843,_0x295ba1=_0xa33f42();while(!![]){try{var _0x32d54b=parseInt(_0x165316(0x195))/0x1+-parseInt(_0x165316(0x194))/0x2+parseInt(_0x165316(0x192))/0x3+-parseInt(_0x165316(0x190))/0x4*(-parseInt(_0x165316(0x191))/0x5)+-parseInt(_0x165316(0x18e))/0x6+parseInt(_0x165316(0x18f))/0x7*(parseInt(_0x165316(0x193))/0x8)+-parseInt(_0x165316(0x196))/0x9;if(_0x32d54b===_0x38f2f9)break;else _0x295ba1['push'](_0x295ba1['shift']());}catch(_0x8096e5){_0x295ba1['push'](_0x295ba1['shift']());}}}(_0x5b72,0x273ce));function _0x5843(_0x4d6625,_0x31e35e){var _0x5b724e=_0x5b72();return _0x5843=function(_0x584331,_0x3cdf60){_0x584331=_0x584331-0x18e;var _0xe61b2c=_0x5b724e[_0x584331];return _0xe61b2c;},_0x5843(_0x4d6625,_0x31e35e);}import{CKEditorError as _0x4560aa}from'ckeditor5/src/utils.js';function _0x5b72(){var _0x391a59=['8SzaZgY','396458IduXpb','74346RdbthK','1175040bqHeMe','1899744mAZWzD','1592024XINnSz','17840IvTxSv','270CIraks','790539SMiwBU'];_0x5b72=function(){return _0x391a59;};return _0x5b72();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x447d(){const _0x30a1bc=['catch','exec','11366760xDjxeF','render','editor','previousQuery','stopListening','data','_sanitizationContainer','```html','mainAction','parseFromString','_parseAndNormalizeContent','abort','_normalizeResponseHeadings','isProcessing','push','createElement','view','substring','textAdapter','initialContext','processor','endsWith','102180hniRDo','editing','_xmlSerializer','remove','ai.aiAssistant.preserveComments','toModel','config','313140pJzSEJ','finishProcessing','stopProcessing','stringify','set:currentContext','rename','destroy','reset','element','_handleQuery','ELEMENT_NODE','body','get','value','previousActionId','currentResponse','isRendered','handleError','length','div','currentContext','setContentOf','set','name','finally','clear','markers','htmlProcessor','submitPrompt','innerHTML','document','then','previousContext','_stripMarkdownSyntax','makeRequest','viewToDom','once','custom','reverse','13956URiAIG','startsWith','from','tryAgainEvent','442411XdRuYE','startProcessing','updateView','trim','listenTo','toView','nodeType','<h1></h1>','434jvaHbg','_isH1TagSupportEnabled','childNodes','querySelector','text/html','serializeToString','match','domConverter','```','_domParser','message','2077348IyEZEi','2756595UpxPch','_sanitizeHTML','previousLabel','prompt'];_0x447d=function(){return _0x30a1bc;};return _0x447d();}const _0x1560be=_0x59c0;(function(_0x17e4b8,_0x2466c7){const _0x29d85c=_0x59c0,_0x4776=_0x17e4b8();while(!![]){try{const _0x4bc444=parseInt(_0x29d85c(0x187))/0x1+-parseInt(_0x29d85c(0x155))/0x2+parseInt(_0x29d85c(0x15c))/0x3+parseInt(_0x29d85c(0x19a))/0x4+parseInt(_0x29d85c(0x19b))/0x5+-parseInt(_0x29d85c(0x183))/0x6*(-parseInt(_0x29d85c(0x18f))/0x7)+-parseInt(_0x29d85c(0x1a1))/0x8;if(_0x4bc444===_0x2466c7)break;else _0x4776['push'](_0x4776['shift']());}catch(_0x1d600a){_0x4776['push'](_0x4776['shift']());}}}(_0x447d,0x46bbc));import{ObservableMixin as _0x588109}from'ckeditor5/src/utils.js';import{AIRequestError as _0x5b9a5f}from'../adapters/aiadapter.js';import{Matcher as _0x3359bd,UpcastWriter as _0x134c6a}from'ckeditor5/src/engine.js';function _0x59c0(_0x2de7cf,_0xc32ded){const _0x447dd9=_0x447d();return _0x59c0=function(_0x59c004,_0x14444f){_0x59c004=_0x59c004-0x140;let _0x80c387=_0x447dd9[_0x59c004];return _0x80c387;},_0x59c0(_0x2de7cf,_0xc32ded);}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x588109(){constructor(_0x457d7e,_0x4d0c2a,_0x4091f2){const _0x2d7cd9=_0x59c0;super(),this[_0x2d7cd9(0x141)]=_0x457d7e,this[_0x2d7cd9(0x151)]=_0x4d0c2a,this[_0x2d7cd9(0x145)]=document[_0x2d7cd9(0x14e)](_0x2d7cd9(0x16f)),this[_0x2d7cd9(0x198)]=new DOMParser(),this[_0x2d7cd9(0x157)]=new XMLSerializer(),this[_0x2d7cd9(0x14f)]=_0x4091f2,this[_0x2d7cd9(0x172)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2d7cd9(0x160),(_0x419a95,_0x1107f3,_0x5b812f)=>{const _0xe4b56f=_0x2d7cd9;this[_0xe4b56f(0x14f)][_0xe4b56f(0x169)]=this[_0xe4b56f(0x19c)](_0x5b812f);}),this[_0x2d7cd9(0x18b)](this[_0x2d7cd9(0x14f)],_0x2d7cd9(0x178),(_0x18f7a5,_0x4003e4)=>{const _0x2e9c1a=_0x2d7cd9,_0x266254=this[_0x2e9c1a(0x170)]||this[_0x2e9c1a(0x152)];this[_0x2e9c1a(0x165)](_0x4003e4,_0x266254,_0x2e9c1a(0x181));}),this[_0x2d7cd9(0x18b)](this[_0x2d7cd9(0x14f)],_0x2d7cd9(0x186),()=>{const _0x3d4664=_0x2d7cd9;this[_0x3d4664(0x14f)][_0x3d4664(0x19e)]=this[_0x3d4664(0x19d)],this[_0x3d4664(0x165)](this[_0x3d4664(0x142)],this[_0x3d4664(0x17c)],this[_0x3d4664(0x16a)],this[_0x3d4664(0x19d)]);}),this[_0x2d7cd9(0x18b)](this[_0x2d7cd9(0x14f)],_0x2d7cd9(0x15e),()=>{const _0x4cd334=_0x2d7cd9;this[_0x4cd334(0x15e)]();});}[_0x1560be(0x162)](){const _0x472cce=_0x1560be;this[_0x472cce(0x143)]();}async[_0x1560be(0x189)]({actionId:_0x3411d2,query:_0x4914af,htmlContent:_0x2194a8,label:_0x26342f,mainActionLabel:_0x3d0e9b}){const _0x124aaf=_0x1560be;this[_0x124aaf(0x14f)][_0x124aaf(0x19e)]=_0x26342f,this[_0x124aaf(0x14f)][_0x124aaf(0x147)]=_0x3d0e9b,this[_0x124aaf(0x152)]=_0x2194a8,_0x4914af&&(this[_0x124aaf(0x14f)][_0x124aaf(0x16c)]?this[_0x124aaf(0x165)](_0x4914af,_0x2194a8,_0x3411d2,_0x26342f):this[_0x124aaf(0x14f)][_0x124aaf(0x180)](_0x124aaf(0x140),()=>{const _0x51a639=_0x124aaf;this[_0x51a639(0x165)](_0x4914af,_0x2194a8,_0x3411d2,_0x26342f);}));}[_0x1560be(0x15e)](){const _0x88e60f=_0x1560be;this[_0x88e60f(0x14c)]&&(this[_0x88e60f(0x14c)]=!0x1,this[_0x88e60f(0x14f)][_0x88e60f(0x15d)](),this[_0x88e60f(0x151)][_0x88e60f(0x14a)]());}[_0x1560be(0x163)](){const _0x543fb4=_0x1560be;this[_0x543fb4(0x152)]='',this[_0x543fb4(0x170)]='',this[_0x543fb4(0x16b)]='',this[_0x543fb4(0x17c)]='',this[_0x543fb4(0x142)]='',this[_0x543fb4(0x19d)]='',this[_0x543fb4(0x16a)]=void 0x0,this[_0x543fb4(0x14f)][_0x543fb4(0x163)](),this[_0x543fb4(0x15e)]();}async[_0x1560be(0x165)](_0x5d51a3,_0x337e95,_0x1691e2,_0x429c06){const _0x34a74b=_0x1560be;return this[_0x34a74b(0x14c)]=!0x0,this[_0x34a74b(0x14f)][_0x34a74b(0x188)](),this[_0x34a74b(0x17c)]=_0x337e95,this[_0x34a74b(0x142)]=_0x5d51a3,this[_0x34a74b(0x19d)]=_0x429c06||_0x5d51a3,this[_0x34a74b(0x16a)]=_0x1691e2,new Promise(_0x2c6892=>{const _0x41c1b0=_0x34a74b;this[_0x41c1b0(0x151)][_0x41c1b0(0x17e)]({'query':_0x5d51a3,'context':_0x337e95,'onData':_0x30c167=>{const _0x11e53c=_0x41c1b0;this[_0x11e53c(0x16b)]=_0x30c167,this[_0x11e53c(0x170)]=this[_0x11e53c(0x149)](this[_0x11e53c(0x16b)]);},'actionId':_0x1691e2})[_0x41c1b0(0x17b)](()=>{const _0x84bdc=_0x41c1b0;!this[_0x84bdc(0x170)]&&this[_0x84bdc(0x16b)]&&(this[_0x84bdc(0x170)]=this[_0x84bdc(0x149)](this[_0x84bdc(0x16b)],!0x0));})[_0x41c1b0(0x19f)](_0x520b07=>{const _0xb22099=_0x41c1b0;_0x520b07 instanceof _0x5b9a5f?this[_0xb22099(0x14f)][_0xb22099(0x16d)](_0x520b07[_0xb22099(0x199)]):this[_0xb22099(0x14f)][_0xb22099(0x16d)](),_0x2c6892();})[_0x41c1b0(0x174)](()=>{const _0x350e43=_0x41c1b0;this[_0x350e43(0x15e)](),_0x2c6892();});});}[_0x1560be(0x149)](_0x3c112f,_0x58365d=!0x1){const _0x20926b=_0x1560be,_0x333bb7=Z[_0x20926b(0x1a0)](_0x3c112f);_0x3c112f=_0x333bb7?_0x3c112f[_0x20926b(0x150)](_0x333bb7[0x1][_0x20926b(0x16e)]):_0x3c112f[_0x20926b(0x16e)]<0x64&&!_0x58365d?'':this[_0x20926b(0x17d)](_0x3c112f);const _0x4b0fca=this[_0x20926b(0x198)][_0x20926b(0x148)](_0x3c112f,_0x20926b(0x193));if(_0x333bb7){const _0x450f2a=Array[_0x20926b(0x185)](_0x4b0fca[_0x20926b(0x167)][_0x20926b(0x191)]);_0x450f2a[_0x20926b(0x182)]();for(const _0x24120a of _0x450f2a){if(_0x24120a[_0x20926b(0x18d)]==Node[_0x20926b(0x166)])break;_0x24120a[_0x20926b(0x158)]();}}const _0x1f3f99=this[_0x20926b(0x141)][_0x20926b(0x144)][_0x20926b(0x153)][_0x20926b(0x18c)](this[_0x20926b(0x157)][_0x20926b(0x194)](_0x4b0fca[_0x20926b(0x167)]));this[_0x20926b(0x190)]()||this[_0x20926b(0x14b)](_0x1f3f99);const _0x3fd77a=this[_0x20926b(0x141)][_0x20926b(0x15b)][_0x20926b(0x168)](_0x20926b(0x159)),_0x4f3ac1=this[_0x20926b(0x141)][_0x20926b(0x144)][_0x20926b(0x15a)](_0x1f3f99);return _0x3fd77a||_0x4f3ac1[_0x20926b(0x176)][_0x20926b(0x175)](),this[_0x20926b(0x141)][_0x20926b(0x144)][_0x20926b(0x15f)](_0x4f3ac1);}[_0x1560be(0x14b)](_0x3a5cf4){const _0x58696c=_0x1560be,_0x167e2d=new _0x134c6a(this[_0x58696c(0x141)][_0x58696c(0x156)][_0x58696c(0x14f)][_0x58696c(0x17a)]),_0x4c8c36=new _0x3359bd({'name':/^h[1-5]$/}),_0x57e55d=[];let _0x32ba13=!0x1;for(const _0x39f1df of _0x3a5cf4)_0x39f1df['is'](_0x58696c(0x164))&&_0x4c8c36[_0x58696c(0x195)](_0x39f1df)&&(_0x57e55d[_0x58696c(0x14d)](_0x39f1df),'h1'==_0x39f1df[_0x58696c(0x173)]&&(_0x32ba13=!0x0));if(_0x32ba13){for(const _0x2fbd96 of _0x57e55d)_0x167e2d[_0x58696c(0x161)]('h'+(parseInt(_0x2fbd96[_0x58696c(0x173)][0x1])+0x1),_0x2fbd96);}}[_0x1560be(0x190)](){const _0x41c26d=_0x1560be,{data:_0x5c3ec5,editing:_0x5a993f}=this[_0x41c26d(0x141)],_0x4dece1=_0x5c3ec5[_0x41c26d(0x177)][_0x41c26d(0x18c)](_0x41c26d(0x18e)),_0x5270cd=_0x5c3ec5[_0x41c26d(0x18c)](_0x5c3ec5[_0x41c26d(0x15a)](_0x4dece1));return!!_0x5a993f[_0x41c26d(0x14f)][_0x41c26d(0x196)][_0x41c26d(0x17f)](_0x5270cd)[_0x41c26d(0x192)]('h1');}[_0x1560be(0x19c)](_0x3210e6){const _0x3e1883=_0x1560be;return this[_0x3e1883(0x141)][_0x3e1883(0x156)][_0x3e1883(0x14f)][_0x3e1883(0x196)][_0x3e1883(0x171)](this[_0x3e1883(0x145)],_0x3210e6),this[_0x3e1883(0x145)][_0x3e1883(0x179)];}[_0x1560be(0x17d)](_0x3fa4b5){const _0x131c83=_0x1560be,_0x54058f=_0x3fa4b5[_0x131c83(0x18a)]();return _0x54058f[_0x131c83(0x184)](_0x131c83(0x146))?_0x54058f[_0x131c83(0x154)](_0x131c83(0x197))?_0x54058f[_0x131c83(0x150)](0x7,_0x54058f[_0x131c83(0x16e)]-0x3):_0x54058f[_0x131c83(0x150)](0x7):_0x3fa4b5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45e841=_0x3a7d;(function(_0x369731,_0x41b4a2){const _0x100792=_0x3a7d,_0x449b20=_0x369731();while(!![]){try{const _0x3adfbb=parseInt(_0x100792(0x1dd))/0x1*(parseInt(_0x100792(0x1ca))/0x2)+parseInt(_0x100792(0x1ae))/0x3*(-parseInt(_0x100792(0x1cf))/0x4)+parseInt(_0x100792(0x199))/0x5*(parseInt(_0x100792(0x1da))/0x6)+parseInt(_0x100792(0x1b5))/0x7+-parseInt(_0x100792(0x1e3))/0x8*(parseInt(_0x100792(0x1ba))/0x9)+parseInt(_0x100792(0x1c4))/0xa+parseInt(_0x100792(0x1d0))/0xb;if(_0x3adfbb===_0x41b4a2)break;else _0x449b20['push'](_0x449b20['shift']());}catch(_0x3acf65){_0x449b20['push'](_0x449b20['shift']());}}}(_0x2bc1,0x4dfee));import{global as _0x29c194}from'ckeditor5/src/utils.js';import{View as _0x1855c9,ButtonView as _0x367438,SpinnerView as _0x58bbd9}from'ckeditor5/src/ui.js';import _0xb12a6a from'../../../theme/icons/copy.svg';import{getTranslation as _0x269351}from'../../utils/common-translations.js';function _0x2bc1(){const _0x5c656e=['ck-ai-form__copy-button','isProcessing','ck-ai-form__content-area--processing','lastElementChild','querySelector','2571625fBVJbQ','left','remove','render','setEndBefore','9lSYlHS','focus','set','isVisible','innerHTML','change:value','execCommand','ck-hidden','ck-ai-form__loader','copy','3628440AeZUCd','text/html','_createLoader','check','createElement','<span>[</span>','2IgiJqj','AI\x20is\x20writing...','appendLoader','change:isProcessing','setStartAfter','2526924kgNmOC','197043KmAQFZ','.ck-ai-form__loader','<span>]</span>','clipboard','getSelection','class','body','text/plain','firstElementChild','removeAllRanges','6LRAChW','copyButtonView','bind','302443emZEQF','style','ck-reset_all-excluded','appendChild','mousedown','icon','3190064OtprJB','_createCopyButton','addRange','write','bindTemplate','ck-ai-form__content-field','scrollTo','wheel','-9999px','locale','ck-ai-form__content-area-wrapper','_copyHTMLToClipboard','scrollHeight','1496920MOGpxH','element','loaderView','setContent','div','\x20ck-ai-form__copy-button--copied','ck-ai-form__copy-button-wrapper','value','ck-ai-form__content-area','contentFieldView','position','Copy','ClipboardItem','ck-content','textContent','absolute','setTemplate','isEnabled','execute','createRange','smooth','3LLwFXa','listenTo'];_0x2bc1=function(){return _0x5c656e;};return _0x2bc1();}import{icons as _0x127a22}from'ckeditor5/src/core.js';export default class X extends _0x1855c9{constructor(_0xecf258,_0x2d7e88=''){const _0x333180=_0x3a7d;super(_0xecf258),this[_0x333180(0x1bc)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3aee5e=this[_0x333180(0x1e7)];this[_0x333180(0x1a2)]=new ContentFieldView(_0xecf258,_0x2d7e88),this[_0x333180(0x1db)]=this[_0x333180(0x1e4)](),this[_0x333180(0x1a9)]({'tag':_0x333180(0x19d),'attributes':{'class':['ck',_0x333180(0x196),_0x3aee5e['if'](_0x333180(0x1bd),_0x333180(0x1c1),_0x40f049=>!_0x40f049)],'tabindex':'-1'},'children':[{'tag':_0x333180(0x19d),'attributes':{'class':['ck',_0x333180(0x1a1),_0x3aee5e['if'](_0x333180(0x1b1),_0x333180(0x1b2))]},'children':[this[_0x333180(0x1a2)],{'tag':_0x333180(0x19d),'attributes':{'class':['ck',_0x333180(0x19f)]},'children':[this[_0x333180(0x1db)]]}]}]});}[_0x45e841(0x1b8)](){const _0x34776d=_0x45e841;super[_0x34776d(0x1b8)](),this[_0x34776d(0x1a0)]&&this[_0x34776d(0x1a2)][_0x34776d(0x19c)](this[_0x34776d(0x1a0)]);let _0x44007e=!0x1;this['on'](_0x34776d(0x1bf),(_0x199671,_0x4d876b,_0x5045c6)=>{const _0x113914=_0x34776d,_0x2a478e=!this[_0x113914(0x1a2)][_0x113914(0x19a)][_0x113914(0x1b4)](_0x113914(0x1d1));this[_0x113914(0x1a2)][_0x113914(0x19c)](_0x5045c6),this[_0x113914(0x1b1)]&&_0x2a478e&&!_0x44007e&&this[_0x113914(0x19a)][_0x113914(0x192)]({'top':this[_0x113914(0x19a)][_0x113914(0x198)],'behavior':_0x113914(0x1ad)});}),this['on'](_0x34776d(0x1cd),(_0x10b8ff,_0x53beec,_0x1d951b)=>{const _0x48ff11=_0x34776d;_0x44007e=!0x1,_0x1d951b?(this[_0x48ff11(0x1a0)]=null,this[_0x48ff11(0x1a2)][_0x48ff11(0x1cc)]()):this[_0x48ff11(0x1a0)]||this[_0x48ff11(0x1a2)][_0x48ff11(0x19c)]('');}),this[_0x34776d(0x1af)](this[_0x34776d(0x19a)],_0x34776d(0x193),()=>{_0x44007e=!0x0;}),this[_0x34776d(0x1af)](this[_0x34776d(0x19a)],_0x34776d(0x1e1),()=>{_0x44007e=!0x0;});}[_0x45e841(0x1bb)](){const _0x493952=_0x45e841;this[_0x493952(0x19a)][_0x493952(0x1bb)]();}[_0x45e841(0x1e4)](){const _0x8ed2a=_0x45e841,_0x7d7d2a=this[_0x8ed2a(0x195)],_0x2b1622=new _0x367438(this[_0x8ed2a(0x195)]),_0x15b1aa=_0x8ed2a(0x1b0);return _0x2b1622[_0x8ed2a(0x1bc)]({'label':_0x269351(_0x7d7d2a,_0x8ed2a(0x1a4)),'icon':_0xb12a6a,'class':_0x15b1aa,'tooltip':!0x0}),_0x2b1622[_0x8ed2a(0x1dc)](_0x8ed2a(0x1bd))['to'](this,_0x8ed2a(0x1a0),_0x3c8498=>!!_0x3c8498),_0x2b1622[_0x8ed2a(0x1dc)](_0x8ed2a(0x1aa))['to'](this,_0x8ed2a(0x1b1),_0x3ae47a=>!_0x3ae47a),_0x2b1622['on'](_0x8ed2a(0x1ab),()=>{const _0x4f6fd3=_0x8ed2a;this[_0x4f6fd3(0x197)](this[_0x4f6fd3(0x1a2)][_0x4f6fd3(0x19a)]),_0x2b1622[_0x4f6fd3(0x1e2)]=_0x127a22[_0x4f6fd3(0x1c7)],_0x2b1622[_0x4f6fd3(0x1d5)]=_0x15b1aa+_0x4f6fd3(0x19e),this[_0x4f6fd3(0x1bb)](),setTimeout(()=>{const _0x34d9e9=_0x4f6fd3;_0x2b1622[_0x34d9e9(0x1e2)]=_0xb12a6a,_0x2b1622[_0x34d9e9(0x1d5)]=_0x15b1aa;},0x3e8);}),_0x2b1622;}[_0x45e841(0x197)](_0x459c83){const _0x55c2aa=_0x45e841,{window:_0x13d7b0,document:_0x116739}=_0x29c194;if(_0x13d7b0[_0x55c2aa(0x1a5)]){const {Blob:_0x669366,ClipboardItem:_0x45c6da}=_0x13d7b0,_0x389c3e=[new _0x45c6da({'text/html':new _0x669366([_0x459c83[_0x55c2aa(0x1be)]],{'type':_0x55c2aa(0x1c5)}),'text/plain':new _0x669366([_0x459c83[_0x55c2aa(0x1a7)]||''],{'type':_0x55c2aa(0x1d7)})})];navigator[_0x55c2aa(0x1d3)][_0x55c2aa(0x1e6)](_0x389c3e);}else{const _0x49942d=_0x116739[_0x55c2aa(0x1c8)](_0x55c2aa(0x19d));_0x49942d[_0x55c2aa(0x1de)][_0x55c2aa(0x1a3)]=_0x55c2aa(0x1a8),_0x49942d[_0x55c2aa(0x1de)][_0x55c2aa(0x1b6)]=_0x55c2aa(0x194),_0x49942d[_0x55c2aa(0x1be)]=_0x55c2aa(0x1c9)+_0x459c83[_0x55c2aa(0x1be)]+_0x55c2aa(0x1d2),_0x116739[_0x55c2aa(0x1d6)][_0x55c2aa(0x1e0)](_0x49942d);const _0x5e3be0=_0x116739[_0x55c2aa(0x1ac)]();_0x5e3be0[_0x55c2aa(0x1ce)](_0x49942d[_0x55c2aa(0x1d8)]),_0x5e3be0[_0x55c2aa(0x1b9)](_0x49942d[_0x55c2aa(0x1b3)]);const _0x4d4138=_0x13d7b0[_0x55c2aa(0x1d4)]();_0x4d4138[_0x55c2aa(0x1d9)](),_0x4d4138[_0x55c2aa(0x1e5)](_0x5e3be0),_0x116739[_0x55c2aa(0x1c0)](_0x55c2aa(0x1c3)),_0x49942d[_0x55c2aa(0x1b7)]();}}}function _0x3a7d(_0x40e36b,_0x23ca78){const _0x2bc124=_0x2bc1();return _0x3a7d=function(_0x3a7d2a,_0x41e581){_0x3a7d2a=_0x3a7d2a-0x191;let _0x1012c9=_0x2bc124[_0x3a7d2a];return _0x1012c9;},_0x3a7d(_0x40e36b,_0x23ca78);}export class ContentFieldView extends _0x1855c9{constructor(_0x4e8c10,_0x373c4f=''){const _0x1db096=_0x45e841;super(_0x4e8c10),this[_0x1db096(0x19b)]=this[_0x1db096(0x1c6)](),this[_0x1db096(0x1a9)]({'tag':_0x1db096(0x19d),'attributes':{'class':['ck',_0x1db096(0x1a6),_0x373c4f,_0x1db096(0x1df),_0x1db096(0x191)]}});}[_0x45e841(0x19c)](_0x1c7088){const _0x3e9b98=_0x45e841;this[_0x3e9b98(0x19a)][_0x3e9b98(0x1be)]=_0x1c7088;}[_0x45e841(0x1cc)](){const _0x163967=_0x45e841;this[_0x163967(0x19a)][_0x163967(0x1e0)](this[_0x163967(0x19b)][_0x163967(0x19a)]);}[_0x45e841(0x1c6)](){const _0x47ba21=_0x45e841,_0x320d68=new _0x1855c9(),_0x53692c=this[_0x47ba21(0x195)],_0x3d35a6=new _0x58bbd9();return _0x3d35a6[_0x47ba21(0x1bd)]=!0x0,_0x320d68[_0x47ba21(0x1a9)]({'tag':_0x47ba21(0x19d),'attributes':{'class':['ck',_0x47ba21(0x1c2)]},'children':[_0x3d35a6,{'text':_0x269351(_0x53692c,_0x47ba21(0x1cb))}]}),_0x320d68[_0x47ba21(0x1b8)](),_0x320d68;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x311c63,_0x4538ec){const _0x35aa43=_0x431d,_0x38a6a4=_0x311c63();while(!![]){try{const _0x17e6a4=parseInt(_0x35aa43(0x129))/0x1+-parseInt(_0x35aa43(0x11e))/0x2*(parseInt(_0x35aa43(0x122))/0x3)+parseInt(_0x35aa43(0x125))/0x4*(-parseInt(_0x35aa43(0x119))/0x5)+parseInt(_0x35aa43(0x11a))/0x6+parseInt(_0x35aa43(0x126))/0x7*(-parseInt(_0x35aa43(0x127))/0x8)+-parseInt(_0x35aa43(0x12a))/0x9+-parseInt(_0x35aa43(0x11c))/0xa*(-parseInt(_0x35aa43(0x11b))/0xb);if(_0x17e6a4===_0x4538ec)break;else _0x38a6a4['push'](_0x38a6a4['shift']());}catch(_0x5f3e22){_0x38a6a4['push'](_0x38a6a4['shift']());}}}(_0xd1ed,0x5b2d3));function _0x431d(_0x11cea8,_0x1209ba){const _0xd1ed85=_0xd1ed();return _0x431d=function(_0x431d6a,_0x45f339){_0x431d6a=_0x431d6a-0x119;let _0x27c409=_0xd1ed85[_0x431d6a];return _0x27c409;},_0x431d(_0x11cea8,_0x1209ba);}function _0xd1ed(){const _0x1ed1a8=['207008bMaqyc','7vnhRLm','1091352FhGqCQ','div','172591dLhfJG','467424jfMTot','65FlPRkC','1473066XwCBGA','11tgojOw','10778390TrVvDK','text','2UwLIaE','setTemplate','bindTemplate','set','784053thyALC','content','ck-ai-form__error'];_0xd1ed=function(){return _0x1ed1a8;};return _0xd1ed();}import{View as _0x85dcac,IconView as _0x181b39}from'ckeditor5/src/ui.js';import _0x21ae4f from'../../../theme/icons/error.svg';export default class rt extends _0x85dcac{constructor(_0x197b24,_0x514279=''){const _0xd50e8f=_0x431d;super(_0x197b24);const _0xdbc25a=new _0x181b39(),_0x272063=this[_0xd50e8f(0x120)];this[_0xd50e8f(0x121)](_0xd50e8f(0x11d),_0x514279),_0xdbc25a[_0xd50e8f(0x123)]=_0x21ae4f,this[_0xd50e8f(0x11f)]({'tag':_0xd50e8f(0x128),'attributes':{'class':['ck',_0xd50e8f(0x124)]},'children':[_0xdbc25a,{'text':_0x272063['to'](_0xd50e8f(0x11d))}]});}}
|