@ckeditor/ckeditor5-ai 44.2.0-alpha.0 → 44.2.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xab5751=_0x1451;(function(_0x44ca62,_0x27a4a2){const _0x162aba=_0x1451,_0x3c84c1=_0x44ca62();while(!![]){try{const _0x2acd62=-parseInt(_0x162aba(0x20e))/0x1*(parseInt(_0x162aba(0x219))/0x2)+parseInt(_0x162aba(0x224))/0x3+parseInt(_0x162aba(0x1f7))/0x4+-parseInt(_0x162aba(0x222))/0x5+parseInt(_0x162aba(0x207))/0x6*(-parseInt(_0x162aba(0x1c4))/0x7)+parseInt(_0x162aba(0x1fb))/0x8*(-parseInt(_0x162aba(0x21d))/0x9)+parseInt(_0x162aba(0x1bf))/0xa*(parseInt(_0x162aba(0x210))/0xb);if(_0x2acd62===_0x27a4a2)break;else _0x3c84c1['push'](_0x3c84c1['shift']());}catch(_0x5e3e63){_0x3c84c1['push'](_0x3c84c1['shift']());}}}(_0x1905,0xc94f7));import{Plugin as _0x58cca0}from'ckeditor5/src/core.js';import _0x3ebe9c from'./aiassistantui.js';import _0x54eec7 from'./aiassistantediting.js';import{getTranslation as _0x401134}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x49faa0}from'./utils/normalizecommandsconfig.js';export default class r extends _0x58cca0{static get[_0xab5751(0x215)](){return[_0x3ebe9c,_0x54eec7];}static get[_0xab5751(0x1da)](){const _0x1b2208=_0xab5751;return _0x1b2208(0x1d2);}static get[_0xab5751(0x1bb)](){return!0x0;}static get[_0xab5751(0x1fc)](){return!0x0;}constructor(_0x473a82){const _0x3dc7ea=_0xab5751;super(_0x473a82);const _0x14147d=_0x473a82[_0x3dc7ea(0x1ed)],_0x2aeb0a=_0x473a82[_0x3dc7ea(0x1c1)];_0x14147d[_0x3dc7ea(0x1cb)](_0x3dc7ea(0x225),!0x0),_0x14147d[_0x3dc7ea(0x1cb)](_0x3dc7ea(0x1f9),getDefaultCommands(_0x2aeb0a)),_0x14147d[_0x3dc7ea(0x1cb)](_0x3dc7ea(0x1d3),[]),_0x14147d[_0x3dc7ea(0x1cb)](_0x3dc7ea(0x1c0),[]);let _0x5d7f69=_0x49faa0(_0x14147d[_0x3dc7ea(0x1df)](_0x3dc7ea(0x1f9)),_0x2aeb0a);const _0x46ee1a=_0x14147d[_0x3dc7ea(0x1df)](_0x3dc7ea(0x1d3)),_0x5087d3=_0x14147d[_0x3dc7ea(0x1df)](_0x3dc7ea(0x1c0));_0x46ee1a[_0x3dc7ea(0x1bd)](_0x5861ec=>{const _0x43d0da=_0x3dc7ea,_0x32070e=_0x5d7f69[_0x43d0da(0x201)](_0xd31466=>_0xd31466[_0x43d0da(0x206)]===_0x5861ec[_0x43d0da(0x206)]);_0x32070e?_0x32070e[_0x43d0da(0x1f1)]=_0x32070e[_0x43d0da(0x1f1)][_0x43d0da(0x1eb)](_0x5861ec[_0x43d0da(0x1f1)]):_0x5d7f69[_0x43d0da(0x1e1)](_0x5861ec);}),_0x5d7f69=_0x5d7f69[_0x3dc7ea(0x1ff)](_0x48c2fa=>!_0x5087d3[_0x3dc7ea(0x1c2)](_0x48c2fa[_0x3dc7ea(0x206)])),_0x5d7f69[_0x3dc7ea(0x1bd)](_0x1ed47d=>{const _0x50a121=_0x3dc7ea;_0x1ed47d[_0x50a121(0x1f1)]=_0x1ed47d[_0x50a121(0x1f1)][_0x50a121(0x1ff)](_0x20aa66=>!_0x5087d3[_0x50a121(0x1c2)](_0x20aa66['id']));}),_0x14147d[_0x3dc7ea(0x1ba)](_0x3dc7ea(0x1f9),_0x5d7f69);}}function _0x1451(_0x3cbdc6,_0x422bed){const _0x1905eb=_0x1905();return _0x1451=function(_0x1451a8,_0x39b3a3){_0x1451a8=_0x1451a8-0x1b6;let _0xad13ba=_0x1905eb[_0x1451a8];return _0xad13ba;},_0x1451(_0x3cbdc6,_0x422bed);}export function getDefaultCommands(_0x2914f2){const _0x2998be=_0xab5751;return[{'groupId':_0x2998be(0x1f3),'groupLabel':_0x401134(_0x2914f2,_0x2998be(0x203)),'commands':[{'id':_0x2998be(0x1b7),'label':_0x401134(_0x2914f2,_0x2998be(0x21b)),'prompt':_0x2998be(0x1de)},{'id':_0x2998be(0x1d1),'label':_0x401134(_0x2914f2,_0x2998be(0x212)),'prompt':_0x2998be(0x1d8)},{'id':_0x2998be(0x1e0),'label':_0x401134(_0x2914f2,_0x2998be(0x211)),'prompt':_0x2998be(0x20f)},{'id':_0x2998be(0x1d0),'label':_0x401134(_0x2914f2,_0x2998be(0x1b8)),'prompt':_0x2998be(0x1b6)}]},{'groupId':_0x2998be(0x1d9),'groupLabel':_0x401134(_0x2914f2,_0x2998be(0x21f)),'commands':[{'id':_0x2998be(0x1d5),'label':_0x401134(_0x2914f2,_0x2998be(0x1e7)),'prompt':_0x2998be(0x1e5)},{'id':_0x2998be(0x202),'label':_0x401134(_0x2914f2,_0x2998be(0x1d6)),'prompt':_0x2998be(0x1bc)}]},{'groupId':_0x2998be(0x1ca),'groupLabel':_0x401134(_0x2914f2,_0x2998be(0x21c)),'commands':[{'id':_0x2998be(0x1fe),'label':_0x401134(_0x2914f2,_0x2998be(0x1ce)),'prompt':_0x2998be(0x223)},{'id':_0x2998be(0x1e4),'label':_0x401134(_0x2914f2,_0x2998be(0x1b9)),'prompt':_0x2998be(0x1fd)},{'id':_0x2998be(0x1db),'label':_0x401134(_0x2914f2,_0x2998be(0x1ee)),'prompt':_0x2998be(0x218)},{'id':_0x2998be(0x1e3),'label':_0x401134(_0x2914f2,_0x2998be(0x1c6)),'prompt':_0x2998be(0x1cf)},{'id':_0x2998be(0x20d),'label':_0x401134(_0x2914f2,_0x2998be(0x20a)),'prompt':_0x2998be(0x20c)}]},{'groupId':_0x2998be(0x1d7),'groupLabel':_0x401134(_0x2914f2,_0x2998be(0x1cd)),'commands':[{'id':_0x2998be(0x1c3),'label':_0x401134(_0x2914f2,_0x2998be(0x1e8)),'prompt':_0x2998be(0x1e2)},{'id':_0x2998be(0x20b),'label':_0x401134(_0x2914f2,_0x2998be(0x213)),'prompt':_0x2998be(0x205)},{'id':_0x2998be(0x1f6),'label':_0x401134(_0x2914f2,_0x2998be(0x214)),'prompt':_0x2998be(0x1ea)},{'id':_0x2998be(0x1c8),'label':_0x401134(_0x2914f2,_0x2998be(0x209)),'prompt':_0x2998be(0x216)}]},{'groupId':_0x2998be(0x1c5),'groupLabel':_0x401134(_0x2914f2,_0x2998be(0x1fa)),'commands':[{'id':_0x2998be(0x1c7),'label':_0x401134(_0x2914f2,_0x2998be(0x21a)),'prompt':_0x2998be(0x1c9)},{'id':_0x2998be(0x1f0),'label':_0x401134(_0x2914f2,_0x2998be(0x1cc)),'prompt':_0x2998be(0x204)},{'id':_0x2998be(0x1dc),'label':_0x401134(_0x2914f2,_0x2998be(0x1e9)),'prompt':_0x2998be(0x1d4)},{'id':_0x2998be(0x1f2),'label':_0x401134(_0x2914f2,_0x2998be(0x221)),'prompt':_0x2998be(0x1f8)},{'id':_0x2998be(0x1ec),'label':_0x401134(_0x2914f2,_0x2998be(0x1e6)),'prompt':_0x2998be(0x200)},{'id':_0x2998be(0x217),'label':_0x401134(_0x2914f2,_0x2998be(0x1dd)),'prompt':_0x2998be(0x208)},{'id':_0x2998be(0x1f5),'label':_0x401134(_0x2914f2,_0x2998be(0x1be)),'prompt':_0x2998be(0x1ef)},{'id':_0x2998be(0x1f4),'label':_0x401134(_0x2914f2,_0x2998be(0x220)),'prompt':_0x2998be(0x21e)}]}];}function _0x1905(){const _0x2ba700=['Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translateChinese','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','488jCGwJN','English','Improve\x20writing','Change\x20tone','90oxipXp','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Generate\x20from\x20selection','Arabic','German','3078865IoppBU','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','914694udEuTb','ai.aiAssistant.preserveComments','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','improveWriting','Simplify\x20language','Casual','set','isOfficialPlugin','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','forEach','Hindi','28668020TbaOcd','ai.aiAssistant.removeCommands','locale','includes','business','15155mDrSef','translate','Confident','translateEnglish','poetic','Translate\x20the\x20content\x20to\x20English\x20language.','changeTone','define','Spanish','Change\x20style','Professional','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','simplifyLanguage','makeShorter','AIAssistant','ai.aiAssistant.extraCommandGroups','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','summarize','Continue','changeStyle','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','generate','pluginName','direct','translatePortuguese','Simplified\x20Chinese','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','get','makeLonger','push','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','confident','casual','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','French','Summarize','Business','Portuguese','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','concat','translateFrench','config','Direct','Translate\x20the\x20content\x20to\x20Hindi\x20language.','translateSpanish','commands','translateGerman','editOrReview','translateArabic','translateHindi','journalism','1107372IHccbJ','Translate\x20the\x20content\x20to\x20German\x20language.','ai.aiAssistant.commands','Translate','277328mdLwHM','isPremiumPlugin','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','professional','filter','Translate\x20the\x20content\x20to\x20French\x20language.','find','continue','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','groupId','4458nTwEoV','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Poetic','Friendly','legal','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','friendly','217QzObyF','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','11vsnDoZ','Make\x20longer','Make\x20shorter','Legal','Journalism','requires'];_0x1905=function(){return _0x2ba700;};return _0x1905();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x342f93=_0x23ce;(function(_0x4e98ac,_0x58b588){const _0x488669=_0x23ce,_0x550299=_0x4e98ac();while(!![]){try{const _0x22b8a4=-parseInt(_0x488669(0xe7))/0x1*(-parseInt(_0x488669(0xb8))/0x2)+-parseInt(_0x488669(0x113))/0x3*(-parseInt(_0x488669(0xe2))/0x4)+-parseInt(_0x488669(0xc8))/0x5+parseInt(_0x488669(0xd2))/0x6*(-parseInt(_0x488669(0x10f))/0x7)+parseInt(_0x488669(0x11a))/0x8+-parseInt(_0x488669(0x10a))/0x9*(-parseInt(_0x488669(0xec))/0xa)+-parseInt(_0x488669(0xd6))/0xb;if(_0x22b8a4===_0x58b588)break;else _0x550299['push'](_0x550299['shift']());}catch(_0x552835){_0x550299['push'](_0x550299['shift']());}}}(_0x40b3,0x6384c));import{uid as _0x54bb47}from'ckeditor5/src/utils.js';import{Plugin as _0x2416b9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5c6646}from'ckeditor5/src/clipboard.js';function _0x23ce(_0x1ae770,_0x2efccb){const _0x40b35f=_0x40b3();return _0x23ce=function(_0x23ce40,_0x1ea027){_0x23ce40=_0x23ce40-0xad;let _0x1f44fe=_0x40b35f[_0x23ce40];return _0x1f44fe;},_0x23ce(_0x1ae770,_0x2efccb);}import{DomEventData as _0x5c1903,DataTransfer as _0x4ec866}from'ckeditor5/src/engine.js';const w=globalThis[_0x342f93(0xb9)],f=_0x342f93(0xd7);export default class a extends _0x2416b9{static get[_0x342f93(0xe3)](){const _0x344cee=_0x342f93;return _0x344cee(0xc0);}static get[_0x342f93(0xef)](){return!0x0;}static get[_0x342f93(0xb2)](){return!0x0;}[_0x342f93(0x109)](){const _0x3a2323=_0x342f93,{editor:_0x3a96e5}=this,_0x3795ba=[_0x3a2323(0xfd)];_0x3a96e5[_0x3a2323(0xd5)][_0x3a2323(0xe9)](_0x3a2323(0xde))&&_0x3795ba[_0x3a2323(0xbf)](_0x3a2323(0xee)),_0x3a96e5[_0x3a2323(0x118)][_0x3a2323(0xe1)](_0x3a2323(0x101))[_0x3a2323(0xc2)]({'model':f,'view':{'classes':_0x3795ba,'priority':0xc}}),_0x3a96e5[_0x3a2323(0x118)][_0x3a2323(0xe1)](_0x3a2323(0x101))[_0x3a2323(0xf7)]({'model':f,'view':(_0x5971a0,{writer:_0x16f3c4})=>{const _0x5b8c54=_0x3a2323;if(!_0x5971a0[_0x5b8c54(0xc1)][_0x5b8c54(0x112)])return null;const _0x30f777=_0x16f3c4[_0x5b8c54(0x103)](_0x5b8c54(0xd4));return _0x16f3c4[_0x5b8c54(0x104)]([_0x5b8c54(0xfd),_0x5b8c54(0x10c)],_0x30f777),_0x30f777;}});}[_0x342f93(0xf9)](){!async function(_0x21c22f){const _0x31647c=_0x77a298([0x52,0x48,0x66,0x6c,0x41,0x62,0x6b,0x61,0x42,0x5a,0x63,0x45,0x4b,0x71,0x53,0x78,0x46,0x4e,0x33,0x43,0x6a,0x37,0x56,0x65,0x67,0x69,0x77,0x54,0x44,0x70,0x4f,0x72,0x32,0x49,0x35,0x57,0x7a,0x59,0x36,0x47,0x31,0x6e,0x51,0x39,0x76,0x79,0x6f,0x75,0x58,0x74,0x50,0x4c,0x38,0x64,0x4a,0x34,0x4d,0x30,0x55,0x68,0x6d,0x73]),_0x5af079=0x15e67a3,_0xae56ed=0x1593a5b^_0x5af079,_0x2568e4=window[_0x77a298([0x44,0x61,0x74,0x65])][_0x77a298([0x6e,0x6f,0x77])](),_0x17ef88=_0x21c22f[_0x77a298([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e8994=new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31eafc=>{_0x17ef88[_0x77a298([0x6f,0x6e,0x63,0x65])](_0x77a298([0x72,0x65,0x61,0x64,0x79]),_0x31eafc);}),_0x31e82a={[_0x77a298([0x6b,0x74,0x79])]:_0x77a298([0x45,0x43]),[_0x77a298([0x75,0x73,0x65])]:_0x77a298([0x73,0x69,0x67]),[_0x77a298([0x63,0x72,0x76])]:_0x77a298([0x50,0x2d,0x32,0x35,0x36]),[_0x77a298([0x78])]:_0x77a298([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]),[_0x77a298([0x79])]:_0x77a298([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]),[_0x77a298([0x61,0x6c,0x67])]:_0x77a298([0x45,0x53,0x32,0x35,0x36])},_0x3d91ac=_0x17ef88[_0x77a298([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x77a298([0x67,0x65,0x74])](_0x77a298([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11d87a(){let _0x5a3e59,_0x17891c=null,_0x21fadd=null;try{if(_0x3d91ac==_0x77a298([0x47,0x50,0x4c]))return _0x77a298([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a3e59=_0x593476(),!_0x5a3e59)return _0x77a298([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a3e59[_0x77a298([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21fadd=_0x2566a1(_0x5a3e59[_0x77a298([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a3e59[_0x77a298([0x6a,0x74,0x69])])),await _0x5dfc4a()?_0x1b5e10()?_0x5f43ff()?_0x77a298([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ea8d4()?(_0x5a3e59[_0x77a298([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x77a298([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17891c=_0x3a416c(_0x77a298([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a3e59[_0x77a298([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x77a298([0x74,0x72,0x69,0x61,0x6c])&&(_0x17891c=_0x3a416c(_0x77a298([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e4d38()):_0x77a298([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x77a298([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x77a298([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x15e36b){return _0x77a298([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f43ff(){const _0x3ac1b0=[_0x77a298([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x77a298([0x74,0x72,0x69,0x61,0x6c])][_0x77a298([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3e59[_0x77a298([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2568e4/0x3e8:0xe10*_0xae56ed;return _0x5a3e59[_0x77a298([0x65,0x78,0x70])]<_0x3ac1b0;}function _0x1b5e10(){const _0x579e9e=_0x5a3e59[_0x77a298([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x579e9e&&(!!_0x579e9e[_0x77a298([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77a298([0x2a]))||!!_0x579e9e[_0x77a298([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77a298([0x41,0x49])));}function _0x5ea8d4(){const _0x47a960=_0x23ce,_0xf9fefe=_0x5a3e59[_0x77a298([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf9fefe||0x0==_0xf9fefe[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54e090}=new URL(window[_0x77a298([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x47a960(0xae)]);if(_0xf9fefe[_0x77a298([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54e090))return!0x0;const _0x49837c=_0x54e090[_0x77a298([0x73,0x70,0x6c,0x69,0x74])](_0x77a298([0x2e]));return _0xf9fefe[_0x77a298([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26bb3c=>_0x26bb3c[_0x77a298([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77a298([0x2a])))[_0x77a298([0x6d,0x61,0x70])](_0x123c76=>_0x123c76[_0x77a298([0x73,0x70,0x6c,0x69,0x74])](_0x77a298([0x2e])))[_0x77a298([0x73,0x6f,0x6d,0x65])](_0x2d63a8=>_0x49837c[_0x77a298([0x65,0x76,0x65,0x72,0x79])]((_0x1bb9ff,_0x3df751)=>_0x2d63a8[_0x3df751]===_0x1bb9ff||_0x2d63a8[_0x3df751]===_0x77a298([0x2a])));}function _0x4e4d38(){return _0x17891c&&_0x21fadd?new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14af04,_0x23b058)=>{_0x17891c[_0x77a298([0x74,0x68,0x65,0x6e])](_0x14af04,_0x23b058),_0x21fadd[_0x77a298([0x74,0x68,0x65,0x6e])](_0x22c8b2=>{_0x22c8b2!=_0x77a298([0x56,0x61,0x6c,0x69,0x64])&&_0x14af04(_0x22c8b2);},_0x23b058);}):_0x17891c||_0x21fadd||_0x77a298([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2566a1(_0x46296b,_0x342380){return new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x248943=>{if(_0x2da96d())return _0x248943(_0x77a298([0x56,0x61,0x6c,0x69,0x64]));_0x5ba2b5(),_0x17ef88[_0x77a298([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x77a298([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x539136=!0x1;const _0x3551b1=_0x54bb47();function _0x5785d8(_0x7679ce){return!!_0x7679ce&&(typeof _0x7679ce===_0x77a298([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x7679ce===_0x77a298([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x7679ce[_0x77a298([0x74,0x68,0x65,0x6e])]===_0x77a298([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x7679ce[_0x77a298([0x63,0x61,0x74,0x63,0x68])]===_0x77a298([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x517c74(_0x3d199b){_0x48f32d(_0x3d199b)[_0x77a298([0x74,0x68,0x65,0x6e])](_0x420bd8=>{if(!_0x420bd8||_0x420bd8[_0x77a298([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x77a298([0x6f,0x6b]))return _0x77a298([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11423e(_0x24fb96(_0x3551b1+_0x342380))!=_0x420bd8[_0x77a298([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x77a298([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x77a298([0x56,0x61,0x6c,0x69,0x64]);})[_0x77a298([0x74,0x68,0x65,0x6e])](_0xa8279c=>(_0x39536a(),_0xa8279c),()=>{const _0x16603a=_0x65917d();return null==_0x16603a?(_0x39536a(),_0x77a298([0x56,0x61,0x6c,0x69,0x64])):_0x77a298(_0x2568e4-_0x16603a>(0x2552e3a3^_0x5af079)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x77a298([0x74,0x68,0x65,0x6e])](_0x248943)[_0x77a298([0x63,0x61,0x74,0x63,0x68])](()=>{_0x248943(_0x77a298([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e3a57=0x1688923^_0x5af079;function _0x39536a(){const _0x1fcc57=_0x77a298([0x6c,0x6c,0x63,0x74,0x2d])+_0x11423e(_0x24fb96(_0x46296b)),_0x3618dc=_0x47274a(_0x11423e(window[_0x77a298([0x4d,0x61,0x74,0x68])][_0x77a298([0x63,0x65,0x69,0x6c])](_0x2568e4/_0x5e3a57)));window[_0x77a298([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77a298([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fcc57,_0x3618dc);}function _0x65917d(){const _0x8b0bc2=_0x77a298([0x6c,0x6c,0x63,0x74,0x2d])+_0x11423e(_0x24fb96(_0x46296b)),_0x41a8f8=window[_0x77a298([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77a298([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8b0bc2);return _0x41a8f8?window[_0x77a298([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47274a(_0x41a8f8),0x10)*_0x5e3a57:null;}function _0x48f32d(_0x5e026f){return new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37243c,_0x49e518)=>{_0x5e026f[_0x77a298([0x74,0x68,0x65,0x6e])](_0x37243c,_0x49e518),window[_0x77a298([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49e518,0x15fb363^_0x5af079);});}}_0x17ef88[_0x77a298([0x6f,0x6e])](_0x77a298([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fbead,_0x5702fb)=>{if(_0x5702fb[0x0]!=_0x46296b)return _0x248943(_0x77a298([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5702fb[0x1]={..._0x5702fb[0x1],[_0x77a298([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3551b1};},{[_0x77a298([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77a298([0x68,0x69,0x67,0x68])}),_0x17ef88[_0x77a298([0x6f,0x6e])](_0x77a298([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe4e7=>{_0x5785d8(_0xe4e7[_0x77a298([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x539136=!0x0,_0x517c74(_0xe4e7[_0x77a298([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x77a298([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77a298([0x6c,0x6f,0x77])}),_0x3e8994[_0x77a298([0x74,0x68,0x65,0x6e])](()=>{_0x539136||_0x248943(_0x77a298([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2da96d(){return _0x17ef88[_0x77a298([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77a298([0x76,0x69,0x65,0x77])][_0x77a298([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x77a298([0x61,0x75,0x74,0x6f]);}function _0x5ba2b5(){_0x17ef88[_0x77a298([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77a298([0x76,0x69,0x65,0x77])][_0x77a298([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x77a298([0x61,0x75,0x74,0x6f]);}}function _0x3a416c(_0x42d99f){const _0x18d630=[new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d644=>setTimeout(_0x32d644,0x157596f^_0x5af079)),_0x3e8994[_0x77a298([0x74,0x68,0x65,0x6e])](()=>new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2118b3=>{let _0x65e747=0x0;_0x17ef88[_0x77a298([0x6d,0x6f,0x64,0x65,0x6c])][_0x77a298([0x6f,0x6e])](_0x77a298([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x461197,_0x1a4138)=>{_0x1a4138[0x0][_0x77a298([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x65e747++,_0x65e747==(0x15e665b^_0x5af079)&&(_0x2118b3(),_0x461197[_0x77a298([0x6f,0x66,0x66])]());});}))];return window[_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x77a298([0x72,0x61,0x63,0x65])](_0x18d630)[_0x77a298([0x74,0x68,0x65,0x6e])](()=>_0x42d99f);}async function _0xb91aba(){await _0x3e8994,_0x17ef88[_0x77a298([0x6d,0x6f,0x64,0x65,0x6c])][_0x77a298([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13b6e0,_0x17ef88[_0x77a298([0x6d,0x6f,0x64,0x65,0x6c])][_0x77a298([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13b6e0,_0x17ef88[_0x77a298([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x77a298([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c3576(_0x2c9d8){const _0x2523e2=_0x420516();_0x17ef88[_0x2523e2]=_0x77a298([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c9d8,_0x2c9d8!=_0x77a298([0x56,0x61,0x6c,0x69,0x64])&&_0xb91aba();}function _0x420516(){const _0x394d92=window[_0x77a298([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x77a298([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x77a298([0x6e,0x6f,0x77])]())[_0x77a298([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x77a298([0x2e]),'');let _0x4c7dc3=_0x77a298([0x52]);for(let _0x572128=0x0;_0x572128<_0x394d92[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x572128+=0x2){let _0x5ae694=window[_0x77a298([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x394d92[_0x77a298([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x572128,_0x572128+0x2));_0x5ae694>=_0x31647c[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ae694-=_0x31647c[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c7dc3+=_0x31647c[_0x5ae694];}return _0x4c7dc3;}function _0x593476(){const _0x4a911e=_0x3d91ac[_0x77a298([0x73,0x70,0x6c,0x69,0x74])](_0x77a298([0x2e]));if(0x3!=_0x4a911e[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x129832(_0x4a911e[0x1]);function _0x129832(_0x25dead){const _0x46e497=_0x2796ee(_0x25dead);return _0x46e497&&_0x52c950()?_0x46e497:null;function _0x52c950(){const _0x147bde=_0x46e497[_0x77a298([0x6a,0x74,0x69])],_0x5bdc8c=window[_0x77a298([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x147bde[_0x77a298([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x147bde[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x506a48={..._0x46e497,[_0x77a298([0x6a,0x74,0x69])]:_0x147bde[_0x77a298([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x147bde[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x506a48[_0x77a298([0x76,0x63])],_0x24fb96(_0x506a48)==_0x5bdc8c;}}}async function _0x5dfc4a(){let _0x303433=!0x0;try{const _0x4c7f32=_0x3d91ac[_0x77a298([0x73,0x70,0x6c,0x69,0x74])](_0x77a298([0x2e])),[_0x723468,_0x365394,_0x1d8042]=_0x4c7f32;return _0x72180b(_0x723468),await _0x5312eb(_0x723468,_0x365394,_0x1d8042),_0x303433;}catch(_0x519c71){return!0x1;}function _0x72180b(_0x3b4bbd){const _0x541363=_0x2796ee(_0x3b4bbd);_0x541363&&_0x541363[_0x77a298([0x61,0x6c,0x67])]==_0x77a298([0x45,0x53,0x32,0x35,0x36])||(_0x303433=!0x1);}async function _0x5312eb(_0x2b1cb4,_0x230190,_0x1ce758){const _0x9e3405=window[_0x77a298([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x77a298([0x66,0x72,0x6f,0x6d])](_0x45648e(_0x1ce758),_0x48dc61=>_0x48dc61[_0x77a298([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d1019=new window[(_0x77a298([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x77a298([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b1cb4+_0x77a298([0x2e])+_0x230190),_0x5c774a=window[_0x77a298([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x77a298([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c774a)return;const _0x21cf21=await _0x5c774a[_0x77a298([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x77a298([0x6a,0x77,0x6b]),_0x31e82a,{[_0x77a298([0x6e,0x61,0x6d,0x65])]:_0x77a298([0x45,0x43,0x44,0x53,0x41]),[_0x77a298([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x77a298([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x77a298([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c774a[_0x77a298([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x77a298([0x6e,0x61,0x6d,0x65])]:_0x77a298([0x45,0x43,0x44,0x53,0x41]),[_0x77a298([0x68,0x61,0x73,0x68])]:{[_0x77a298([0x6e,0x61,0x6d,0x65])]:_0x77a298([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21cf21,_0x9e3405,_0x1d1019)||(_0x303433=!0x1);}}function _0x2796ee(_0x349311){return _0x349311[_0x77a298([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x77a298([0x65,0x79]))?JSON[_0x77a298([0x70,0x61,0x72,0x73,0x65])](_0x45648e(_0x349311)):null;}function _0x45648e(_0x1da163){return window[_0x77a298([0x61,0x74,0x6f,0x62])](_0x1da163[_0x77a298([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x77a298([0x2b]))[_0x77a298([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x77a298([0x2f])));}function _0x24fb96(_0x671de4){let _0x3780a3=0x1505;function _0x83ef46(_0x2cd245){for(let _0x4d907c=0x0;_0x4d907c<_0x2cd245[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d907c++){const _0x5d9456=_0x2cd245[_0x77a298([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d907c);_0x3780a3=(_0x3780a3<<0x5)+_0x3780a3+_0x5d9456,_0x3780a3&=_0x3780a3;}}function _0x5a9e39(_0x228d21){Array[_0x77a298([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x228d21)?_0x228d21[_0x77a298([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a9e39):_0x228d21&&typeof _0x228d21==_0x77a298([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x77a298([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x228d21)[_0x77a298([0x73,0x6f,0x72,0x74])]()[_0x77a298([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52f89f,_0x26c9c4])=>{_0x83ef46(_0x52f89f),_0x5a9e39(_0x26c9c4);}):_0x83ef46(window[_0x77a298([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x228d21));}return _0x5a9e39(_0x671de4),_0x3780a3>>>0x0;}function _0x11423e(_0x4b01e2){return _0x4b01e2[_0x77a298([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x77a298([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x77a298([0x30]));}function _0x47274a(_0x177089){return _0x177089[_0x77a298([0x73,0x70,0x6c,0x69,0x74])]('')[_0x77a298([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x77a298([0x6a,0x6f,0x69,0x6e])]('');}function _0x13b6e0(){}function _0x77a298(_0x555cf7){const _0x2f33e1=_0x23ce;return _0x555cf7[_0x2f33e1(0x107)](_0x2459f6=>String[_0x2f33e1(0xaf)](_0x2459f6))[_0x2f33e1(0xcc)]('');}_0x2c3576(await _0x11d87a());}(this);}[_0x342f93(0xd8)](){const _0x25502f=_0x342f93,_0x45f75a=this[_0x25502f(0xc3)][_0x25502f(0xc7)];_0x45f75a[_0x25502f(0xdc)](_0xe26ee=>{const _0x14efde=_0x25502f,_0x1c005c=_0x45f75a[_0x14efde(0xce)][_0x14efde(0xbc)][_0x14efde(0xbe)]();let _0x337236=0x0;for(const _0x429e2d of _0x1c005c){const _0x54ff56=f+':'+_0x337236;if(_0x45f75a[_0x14efde(0xb0)][_0x14efde(0xea)](_0x54ff56))_0xe26ee[_0x14efde(0xe6)](_0x54ff56,{'range':_0x429e2d});else{if(_0x429e2d[_0x14efde(0xf1)][_0x14efde(0xba)]){const _0xcc6b2d=_0x429e2d[_0x14efde(0xf1)][_0x14efde(0x110)](({item:_0x8cd726})=>!_0x45f75a[_0x14efde(0xd0)][_0x14efde(0xca)](_0x8cd726),{'boundaries':_0x429e2d});_0xe26ee[_0x14efde(0x10b)](_0x54ff56,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xe26ee[_0x14efde(0xcb)](_0xcc6b2d,_0x429e2d[_0x14efde(0x10e)])});}else _0xe26ee[_0x14efde(0x10b)](_0x54ff56,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x429e2d});}_0x337236++;}});}[_0x342f93(0xfa)](){const _0xdf09e8=_0x342f93,_0x527464=this[_0xdf09e8(0xc3)][_0xdf09e8(0xc7)],_0x10a79b=Array[_0xdf09e8(0xcd)](this[_0xdf09e8(0xc3)][_0xdf09e8(0xc7)][_0xdf09e8(0xb0)][_0xdf09e8(0xed)](f));_0x10a79b[_0xdf09e8(0xbb)]&&_0x527464[_0xdf09e8(0xdc)](_0x536c1b=>{const _0x148b44=_0xdf09e8;_0x10a79b[_0x148b44(0xd3)](_0x43a372=>{const _0xe631cf=_0x148b44;_0x536c1b[_0xe631cf(0xd1)](_0x43a372);});});}[_0x342f93(0xf5)](_0x3c868e,_0x1ae3dc){const _0x1557ec=_0x342f93,_0x5e1dc5=this[_0x1557ec(0x100)](),_0x5909b6=_0x1ae3dc||_0x5e1dc5[_0x1557ec(0x116)]();this[_0x1557ec(0xc3)][_0x1557ec(0xc7)][_0x1557ec(0xff)](_0x5909b6)&&this[_0x1557ec(0xc3)][_0x1557ec(0xc7)][_0x1557ec(0xdc)](_0x4f2d16=>{const _0x164e76=_0x1557ec;this[_0x164e76(0xfa)](),_0x1ae3dc||this[_0x164e76(0xfb)](_0x4f2d16,_0x5e1dc5),this[_0x164e76(0x114)]({'insertAt':_0x5909b6,'writer':_0x4f2d16,'html':_0x3c868e});});}[_0x342f93(0xb4)](_0x3c9023){const _0x32ed26=_0x342f93,{model:_0x5aa76c}=this[_0x32ed26(0xc3)],_0x4aead4=this[_0x32ed26(0x100)]();_0x5aa76c[_0x32ed26(0xdc)](()=>{const _0x3ff578=_0x32ed26,_0x5af47f=this[_0x3ff578(0xcf)](_0x3c9023,_0x4aead4)||this[_0x3ff578(0x10d)](_0x4aead4);this[_0x3ff578(0xf5)](_0x3c9023,_0x5af47f);});}[_0x342f93(0x100)](){const _0x549b74=_0x342f93,_0x11f888=this[_0x549b74(0xc3)][_0x549b74(0xc7)],_0x2b68f4=Array[_0x549b74(0xcd)](_0x11f888[_0x549b74(0xb0)][_0x549b74(0xed)](f))[_0x549b74(0x107)](_0x2df696=>_0x2df696[_0x549b74(0xf4)]());return _0x11f888[_0x549b74(0xf6)](_0x2b68f4);}[_0x342f93(0x114)]({writer:_0x14b89a,html:_0x573b93,insertAt:_0x24ed3a}){const _0x26924d=_0x342f93,{view:_0x54af07}=this[_0x26924d(0xc3)][_0x26924d(0xdd)],_0xb4a34e=this[_0x26924d(0xc3)][_0x26924d(0xf3)][_0x26924d(0xe9)](_0x5c6646),_0x31d391=new w();_0x31d391[_0x26924d(0xb1)](_0x26924d(0xb6),_0x573b93);const _0x28bb7b=new ClipboardEvent(_0x26924d(0xc6),{'clipboardData':_0x31d391}),_0x883ee7=new _0x5c1903(_0x54af07,_0x28bb7b,{'dataTransfer':new _0x4ec866(_0x31d391)});_0x14b89a[_0x26924d(0xdf)](_0x24ed3a);const _0x23a0dc=(_0x11919d,_0x3203f7)=>{const _0x4eef34=_0x26924d;_0x3203f7[_0x4eef34(0xf2)]&&_0x14b89a[_0x4eef34(0xdf)](_0x3203f7[_0x4eef34(0xf2)]);};_0xb4a34e[_0x26924d(0xf0)](_0x26924d(0xbd),_0x23a0dc,{'priority':_0x26924d(0xb7)}),_0x54af07[_0x26924d(0xce)][_0x26924d(0xf8)](_0x26924d(0xc6),_0x883ee7),_0xb4a34e[_0x26924d(0xc9)](_0x26924d(0xbd),_0x23a0dc);}[_0x342f93(0x10d)](_0x12291b){const _0x2b2b5a=_0x342f93,{model:_0x168671}=this[_0x2b2b5a(0xc3)],_0x5b9c4d=Array[_0x2b2b5a(0xcd)](_0x12291b[_0x2b2b5a(0xe8)]());return _0x5b9c4d[_0x2b2b5a(0xbb)]?_0x168671[_0x2b2b5a(0x105)](_0x5b9c4d[_0x2b2b5a(0xe4)]()):_0x12291b[_0x2b2b5a(0x115)]();}[_0x342f93(0xcf)](_0x5e8335,_0x224ad3){const _0x2f1a69=_0x342f93,{model:_0x4c0308,plugins:_0x564258}=this[_0x2f1a69(0xc3)];if(_0x564258[_0x2f1a69(0xea)](_0x2f1a69(0xdb))){const _0x4b1dff=_0x564258[_0x2f1a69(0xe9)](_0x2f1a69(0xdb))[_0x2f1a69(0xda)](_0x224ad3);if(_0x4b1dff[_0x2f1a69(0xbb)]){const _0x4c9397=this[_0x2f1a69(0x111)](_0x5e8335),_0x4cdb5a=this[_0x2f1a69(0xeb)](_0x4b1dff,_0x4c9397);return _0x4c0308[_0x2f1a69(0xe5)](_0x4cdb5a,0x0);}}return null;}[_0x342f93(0x111)](_0x17d1e4){const _0x544acf=_0x342f93,_0x530421=this[_0x544acf(0xc3)][_0x544acf(0xf3)][_0x544acf(0xe9)](_0x544acf(0xdb)),_0x53444e=this[_0x544acf(0xc3)][_0x544acf(0xb3)][_0x544acf(0x11b)](_0x17d1e4),_0x5ceb71=Array[_0x544acf(0xcd)](_0x53444e[_0x544acf(0x108)]())[_0x544acf(0xc4)](_0x43a456=>_0x43a456['is'](_0x544acf(0xfc),_0x544acf(0xfe)));let _0x53eeab=0x0;return _0x5ceb71[_0x544acf(0xd3)](_0x374381=>{const _0x24b43b=_0x544acf;_0x53eeab+=_0x530421[_0x24b43b(0x106)](_0x374381);}),_0x53eeab;}[_0x342f93(0xeb)](_0xe283b7,_0x51f4ae){const _0xb899a8=_0x342f93,_0x1c6e0c=this[_0xb899a8(0xc3)][_0xb899a8(0xf3)][_0xb899a8(0xe9)](_0xb899a8(0xdb)),_0x255b75=_0x1c6e0c[_0xb899a8(0xc5)](_0xe283b7),_0x10ae85=_0x1c6e0c[_0xb899a8(0xb5)](_0xe283b7),_0x9628f7=_0x255b75[_0xb899a8(0x102)]+0x1,_0x3571ef=_0x10ae85[_0xb899a8(0xad)],_0x1c4d51=_0xe283b7[0x0][_0xb899a8(0xe0)](_0xb899a8(0xfe));for(let _0x4366aa=0x0;_0x4366aa<_0x51f4ae;_0x4366aa++)_0x1c6e0c[_0xb899a8(0xd9)](_0x1c4d51,{'at':_0x9628f7});return _0x1c4d51[_0xb899a8(0x117)](_0x9628f7)[_0xb899a8(0x117)](_0x3571ef);}[_0x342f93(0xfb)](_0x48bf7f,_0x45b793){const _0x3fab02=_0x342f93,{plugins:_0x1b4442}=this[_0x3fab02(0xc3)],{model:_0x88e428}=_0x48bf7f;if(!_0x1b4442[_0x3fab02(0xea)](_0x3fab02(0xdb)))return;_0x1b4442[_0x3fab02(0xe9)](_0x3fab02(0xdb))[_0x3fab02(0xda)](_0x45b793)[_0x3fab02(0xbb)]&&_0x88e428[_0x3fab02(0x119)](_0x45b793);}}function _0x40b3(){const _0x32da85=['getLastMatchingPosition','_getTableRowCountFromContent','isCollapsed','185787hvIcgx','_pasteHTMLUsingClipboard','getLastPosition','getFirstRange','getChild','conversion','deleteContent','476360xThCtF','parse','first','href','fromCharCode','markers','setData','isPremiumPlugin','data','insertContentBelow','getColumnIndexes','text/html','lowest','429140SaVrSe','DataTransfer','isAtEnd','length','selection','contentInsertion','getRanges','push','AIAssistantEditing','markerRange','markerToHighlight','editor','filter','getRowIndexes','paste','model','1523595XeBGXh','off','isContent','createRange','join','from','document','_prepareTableInsertBelowPosition','schema','removeMarker','1782odHObH','forEach','span','config','3457949pkHXNW','ai-ui','showFakeVisualSelection','insertRows','getSelectedTableCells','TableUtils','change','editing','ai.useTheme','setSelection','findAncestor','for','48OEqRKw','pluginName','pop','createPositionAt','updateMarker','3NdLDLW','getSelectedBlocks','get','has','_createEmptyTableRows','3570xrwHon','getMarkersGroup','ck-ai-assistant-ui_theme','isOfficialPlugin','once','start','resultRange','plugins','getRange','insertContent','createSelection','markerToElement','fire','afterInit','hideFakeVisualSelection','_resetContentOfSelectedTableCells','element','ck-fake-ai-selection','table','canEditAt','_getAISelection','editingDowncast','last','createUIElement','addClass','createPositionAfter','getRows','map','getChildren','init','7479wBgxKT','addMarker','ck-fake-ai-selection_collapsed','_getDefaultInsertBelowPosition','end','16884Sznret'];_0x40b3=function(){return _0x32da85;};return _0x40b3();}
|
|
23
|
+
const _0xaebadc=_0x7fee;function _0x7fee(_0x3ae19b,_0x2b5f00){const _0x5844e5=_0x5844();return _0x7fee=function(_0x7fee87,_0x29b002){_0x7fee87=_0x7fee87-0xfb;let _0x29712b=_0x5844e5[_0x7fee87];return _0x29712b;},_0x7fee(_0x3ae19b,_0x2b5f00);}(function(_0x28ecf0,_0x18de9c){const _0x46511f=_0x7fee,_0x42f8b4=_0x28ecf0();while(!![]){try{const _0xa9c741=parseInt(_0x46511f(0x132))/0x1*(parseInt(_0x46511f(0x13b))/0x2)+-parseInt(_0x46511f(0x121))/0x3+parseInt(_0x46511f(0x153))/0x4+-parseInt(_0x46511f(0x11e))/0x5+-parseInt(_0x46511f(0x10e))/0x6+-parseInt(_0x46511f(0x124))/0x7+parseInt(_0x46511f(0xff))/0x8;if(_0xa9c741===_0x18de9c)break;else _0x42f8b4['push'](_0x42f8b4['shift']());}catch(_0x4edb30){_0x42f8b4['push'](_0x42f8b4['shift']());}}}(_0x5844,0x4eb31));import{uid as _0x595bd8}from'ckeditor5/src/utils.js';import{Plugin as _0x3dd7c9}from'ckeditor5/src/core.js';function _0x5844(){const _0x3704b4=['parse','getLastPosition','fromCharCode','2039190WtyMEC','DataTransfer','_pasteHTMLUsingClipboard','getSelectedTableCells','getChildren','map','conversion','has','filter','isOfficialPlugin','last','createPositionAfter','document','markers','_getDefaultInsertBelowPosition','ai.useTheme','525395gKliLz','createRange','end','339792NGpDNH','length','getMarkersGroup','3248000STUCTQ','_prepareTableInsertBelowPosition','model','findAncestor','createSelection','data','createPositionAt','resultRange','text/html','join','setSelection','_getTableRowCountFromContent','start','for','325895jQcfPq','ck-fake-ai-selection','ai-ui','editingDowncast','_createEmptyTableRows','updateMarker','isContent','hideFakeVisualSelection','isAtEnd','2agaKFq','ck-ai-assistant-ui_theme','push','insertContent','element','href','insertContentBelow','getRows','getRowIndexes','AIAssistantEditing','addClass','markerToElement','isCollapsed','markerToHighlight','markerRange','getFirstRange','once','showFakeVisualSelection','deleteContent','pluginName','TableUtils','isPremiumPlugin','getChild','forEach','1792312jYeKQg','init','from','_resetContentOfSelectedTableCells','get','config','insertRows','editor','change','paste','off','schema','first','ck-fake-ai-selection_collapsed','selection','plugins','fire','getRanges','getSelectedBlocks','lowest','createUIElement','removeMarker','table','getLastMatchingPosition','4564704bOUiXF','pop','afterInit','getRange','_getAISelection','addMarker','editing','getColumnIndexes','contentInsertion','span','setData','canEditAt'];_0x5844=function(){return _0x3704b4;};return _0x5844();}import{ClipboardPipeline as _0x6fcfed}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5671d1,DataTransfer as _0x5da2a1}from'ckeditor5/src/engine.js';const w=globalThis[_0xaebadc(0x10f)],f=_0xaebadc(0x134);export default class a extends _0x3dd7c9{static get[_0xaebadc(0x14e)](){const _0x324bfe=_0xaebadc;return _0x324bfe(0x144);}static get[_0xaebadc(0x117)](){return!0x0;}static get[_0xaebadc(0x150)](){return!0x0;}[_0xaebadc(0x154)](){const _0x4c7979=_0xaebadc,{editor:_0x470198}=this,_0x19317b=[_0x4c7979(0x133)];_0x470198[_0x4c7979(0x158)][_0x4c7979(0x157)](_0x4c7979(0x11d))&&_0x19317b[_0x4c7979(0x13d)](_0x4c7979(0x13c)),_0x470198[_0x4c7979(0x114)][_0x4c7979(0x131)](_0x4c7979(0x135))[_0x4c7979(0x148)]({'model':f,'view':{'classes':_0x19317b,'priority':0xc}}),_0x470198[_0x4c7979(0x114)][_0x4c7979(0x131)](_0x4c7979(0x135))[_0x4c7979(0x146)]({'model':f,'view':(_0x5afd89,{writer:_0x57b59e})=>{const _0x37fefe=_0x4c7979;if(!_0x5afd89[_0x37fefe(0x149)][_0x37fefe(0x147)])return null;const _0x3885af=_0x57b59e[_0x37fefe(0xfb)](_0x37fefe(0x108));return _0x57b59e[_0x37fefe(0x145)]([_0x37fefe(0x133),_0x37fefe(0x160)],_0x3885af),_0x3885af;}});}[_0xaebadc(0x101)](){!async function(_0x48911d){const _0x1c25b5=_0x4aa6b8([0x67,0x48,0x6d,0x39,0x6b,0x7a,0x37,0x50,0x6a,0x33,0x45,0x51,0x70,0x63,0x66,0x4f,0x71,0x55,0x5a,0x68,0x65,0x77,0x6c,0x79,0x72,0x57,0x43,0x4b,0x56,0x58,0x53,0x4d,0x4e,0x75,0x30,0x74,0x59,0x44,0x52,0x64,0x31,0x46,0x41,0x61,0x62,0x47,0x38,0x36,0x49,0x54,0x69,0x6f,0x73,0x32,0x78,0x35,0x4c,0x4a,0x34,0x42,0x6e,0x76]),_0x3987de=0x502dc8d7,_0x3b59e8=0x502a966f^_0x3987de,_0x4fe7cc=window[_0x4aa6b8([0x44,0x61,0x74,0x65])][_0x4aa6b8([0x6e,0x6f,0x77])](),_0x4ddc28=_0x48911d[_0x4aa6b8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33b7b4=new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5617f4=>{_0x4ddc28[_0x4aa6b8([0x6f,0x6e,0x63,0x65])](_0x4aa6b8([0x72,0x65,0x61,0x64,0x79]),_0x5617f4);}),_0x22cee0={[_0x4aa6b8([0x6b,0x74,0x79])]:_0x4aa6b8([0x45,0x43]),[_0x4aa6b8([0x75,0x73,0x65])]:_0x4aa6b8([0x73,0x69,0x67]),[_0x4aa6b8([0x63,0x72,0x76])]:_0x4aa6b8([0x50,0x2d,0x32,0x35,0x36]),[_0x4aa6b8([0x78])]:_0x4aa6b8([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]),[_0x4aa6b8([0x79])]:_0x4aa6b8([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]),[_0x4aa6b8([0x61,0x6c,0x67])]:_0x4aa6b8([0x45,0x53,0x32,0x35,0x36])},_0x3ca2c8=_0x4ddc28[_0x4aa6b8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4aa6b8([0x67,0x65,0x74])](_0x4aa6b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x338968(){let _0x5cf1d6,_0xbe35ca=null,_0x6c54e4=null;try{if(_0x3ca2c8==_0x4aa6b8([0x47,0x50,0x4c]))return _0x4aa6b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cf1d6=_0x362135(),!_0x5cf1d6)return _0x4aa6b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cf1d6[_0x4aa6b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6c54e4=_0x56619b(_0x5cf1d6[_0x4aa6b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cf1d6[_0x4aa6b8([0x6a,0x74,0x69])])),await _0x3275e7()?_0x113aae()?_0x44c782()?_0x4aa6b8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xefcf12()?(_0x5cf1d6[_0x4aa6b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4aa6b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbe35ca=_0x351eac(_0x4aa6b8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5cf1d6[_0x4aa6b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4aa6b8([0x74,0x72,0x69,0x61,0x6c])&&(_0xbe35ca=_0x351eac(_0x4aa6b8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x299e07()):_0x4aa6b8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4aa6b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4aa6b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3b2a1e){return _0x4aa6b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44c782(){const _0x3b5587=[_0x4aa6b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4aa6b8([0x74,0x72,0x69,0x61,0x6c])][_0x4aa6b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cf1d6[_0x4aa6b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4fe7cc/0x3e8:0xe10*_0x3b59e8;return _0x5cf1d6[_0x4aa6b8([0x65,0x78,0x70])]<_0x3b5587;}function _0x113aae(){const _0x2fff9d=_0x5cf1d6[_0x4aa6b8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2fff9d&&(!!_0x2fff9d[_0x4aa6b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa6b8([0x2a]))||!!_0x2fff9d[_0x4aa6b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa6b8([0x41,0x49])));}function _0xefcf12(){const _0x14c230=_0x7fee,_0x3f685e=_0x5cf1d6[_0x4aa6b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f685e||0x0==_0x3f685e[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4badeb}=new URL(window[_0x4aa6b8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x14c230(0x140)]);if(_0x3f685e[_0x4aa6b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4badeb))return!0x0;const _0x27e8a4=_0x4badeb[_0x4aa6b8([0x73,0x70,0x6c,0x69,0x74])](_0x4aa6b8([0x2e]));return _0x3f685e[_0x4aa6b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d241e=>_0x4d241e[_0x4aa6b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa6b8([0x2a])))[_0x4aa6b8([0x6d,0x61,0x70])](_0x2d836d=>_0x2d836d[_0x4aa6b8([0x73,0x70,0x6c,0x69,0x74])](_0x4aa6b8([0x2e])))[_0x4aa6b8([0x73,0x6f,0x6d,0x65])](_0x5be2cd=>_0x27e8a4[_0x4aa6b8([0x65,0x76,0x65,0x72,0x79])]((_0x2c55d7,_0x1217e1)=>_0x5be2cd[_0x1217e1]===_0x2c55d7||_0x5be2cd[_0x1217e1]===_0x4aa6b8([0x2a])));}function _0x299e07(){return _0xbe35ca&&_0x6c54e4?new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a02c2,_0x3903c0)=>{_0xbe35ca[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0x4a02c2,_0x3903c0),_0x6c54e4[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0xae968c=>{_0xae968c!=_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64])&&_0x4a02c2(_0xae968c);},_0x3903c0);}):_0xbe35ca||_0x6c54e4||_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56619b(_0x1ed67d,_0x49291b){return new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50e2f0=>{if(_0x3ac474())return _0x50e2f0(_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64]));_0x5aa8a4(),_0x4ddc28[_0x4aa6b8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4aa6b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a1c43=!0x1;const _0x9f351b=_0x595bd8();function _0x5e4617(_0x32d973){return!!_0x32d973&&(typeof _0x32d973===_0x4aa6b8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32d973===_0x4aa6b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32d973[_0x4aa6b8([0x74,0x68,0x65,0x6e])]===_0x4aa6b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32d973[_0x4aa6b8([0x63,0x61,0x74,0x63,0x68])]===_0x4aa6b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d72dc(_0x7bb923){_0x3af52a(_0x7bb923)[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0x359b72=>{if(!_0x359b72||_0x359b72[_0x4aa6b8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4aa6b8([0x6f,0x6b]))return _0x4aa6b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a8dcc(_0x1a2f8f(_0x9f351b+_0x49291b))!=_0x359b72[_0x4aa6b8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4aa6b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0x1de5f4=>(_0x187b96(),_0x1de5f4),()=>{const _0x2bec3f=_0x1b195d();return null==_0x2bec3f?(_0x187b96(),_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64])):_0x4aa6b8(_0x4fe7cc-_0x2bec3f>(0x74214cd7^_0x3987de)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0x50e2f0)[_0x4aa6b8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50e2f0(_0x4aa6b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf6b36=0x501b2657^_0x3987de;function _0x187b96(){const _0x37b683=_0x4aa6b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a8dcc(_0x1a2f8f(_0x1ed67d)),_0x3a1dee=_0x2a7928(_0x5a8dcc(window[_0x4aa6b8([0x4d,0x61,0x74,0x68])][_0x4aa6b8([0x63,0x65,0x69,0x6c])](_0x4fe7cc/_0xf6b36)));window[_0x4aa6b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4aa6b8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37b683,_0x3a1dee);}function _0x1b195d(){const _0x5ca409=_0x4aa6b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a8dcc(_0x1a2f8f(_0x1ed67d)),_0x3d18fa=window[_0x4aa6b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4aa6b8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ca409);return _0x3d18fa?window[_0x4aa6b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a7928(_0x3d18fa),0x10)*_0xf6b36:null;}function _0x3af52a(_0x28ef5e){return new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e8fa,_0x66416d)=>{_0x28ef5e[_0x4aa6b8([0x74,0x68,0x65,0x6e])](_0x53e8fa,_0x66416d),window[_0x4aa6b8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x66416d,0x502c1c17^_0x3987de);});}}_0x4ddc28[_0x4aa6b8([0x6f,0x6e])](_0x4aa6b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x298645,_0x4ea913)=>{if(_0x4ea913[0x0]!=_0x1ed67d)return _0x50e2f0(_0x4aa6b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ea913[0x1]={..._0x4ea913[0x1],[_0x4aa6b8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9f351b};},{[_0x4aa6b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4aa6b8([0x68,0x69,0x67,0x68])}),_0x4ddc28[_0x4aa6b8([0x6f,0x6e])](_0x4aa6b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a22bf=>{_0x5e4617(_0x5a22bf[_0x4aa6b8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a1c43=!0x0,_0x5d72dc(_0x5a22bf[_0x4aa6b8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4aa6b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4aa6b8([0x6c,0x6f,0x77])}),_0x33b7b4[_0x4aa6b8([0x74,0x68,0x65,0x6e])](()=>{_0x1a1c43||_0x50e2f0(_0x4aa6b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ac474(){return _0x4ddc28[_0x4aa6b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4aa6b8([0x76,0x69,0x65,0x77])][_0x4aa6b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4aa6b8([0x61,0x75,0x74,0x6f]);}function _0x5aa8a4(){_0x4ddc28[_0x4aa6b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4aa6b8([0x76,0x69,0x65,0x77])][_0x4aa6b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4aa6b8([0x61,0x75,0x74,0x6f]);}}function _0x351eac(_0x2e1cb1){const _0x57277d=[new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44db71=>setTimeout(_0x44db71,0x5024f61b^_0x3987de)),_0x33b7b4[_0x4aa6b8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b4e35=>{let _0xe9cb8f=0x0;_0x4ddc28[_0x4aa6b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa6b8([0x6f,0x6e])](_0x4aa6b8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x444d62,_0x5f4da4)=>{_0x5f4da4[0x0][_0x4aa6b8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe9cb8f++,_0xe9cb8f==(0x502dc92f^_0x3987de)&&(_0x2b4e35(),_0x444d62[_0x4aa6b8([0x6f,0x66,0x66])]());});}))];return window[_0x4aa6b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4aa6b8([0x72,0x61,0x63,0x65])](_0x57277d)[_0x4aa6b8([0x74,0x68,0x65,0x6e])](()=>_0x2e1cb1);}async function _0x407855(){await _0x33b7b4,_0x4ddc28[_0x4aa6b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa6b8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x371efc,_0x4ddc28[_0x4aa6b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa6b8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x371efc,_0x4ddc28[_0x4aa6b8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4aa6b8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x182aab(_0x2a55d2){const _0x5a1870=_0x39b1c9();_0x4ddc28[_0x5a1870]=_0x4aa6b8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a55d2,_0x2a55d2!=_0x4aa6b8([0x56,0x61,0x6c,0x69,0x64])&&_0x407855();}function _0x39b1c9(){const _0x99e7a9=window[_0x4aa6b8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4aa6b8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4aa6b8([0x6e,0x6f,0x77])]())[_0x4aa6b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4aa6b8([0x2e]),'');let _0x4c1125=_0x4aa6b8([0x67]);for(let _0x7d0eae=0x0;_0x7d0eae<_0x99e7a9[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7d0eae+=0x2){let _0x1fc1d9=window[_0x4aa6b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x99e7a9[_0x4aa6b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7d0eae,_0x7d0eae+0x2));_0x1fc1d9>=_0x1c25b5[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1fc1d9-=_0x1c25b5[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c1125+=_0x1c25b5[_0x1fc1d9];}return _0x4c1125;}function _0x362135(){const _0x43dc11=_0x3ca2c8[_0x4aa6b8([0x73,0x70,0x6c,0x69,0x74])](_0x4aa6b8([0x2e]));if(0x3!=_0x43dc11[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x463337(_0x43dc11[0x1]);function _0x463337(_0xcb29fa){const _0x26350c=_0x3698ec(_0xcb29fa);return _0x26350c&&_0x577ad0()?_0x26350c:null;function _0x577ad0(){const _0x37cdd0=_0x26350c[_0x4aa6b8([0x6a,0x74,0x69])],_0x1a34ed=window[_0x4aa6b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37cdd0[_0x4aa6b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37cdd0[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c2b0d={..._0x26350c,[_0x4aa6b8([0x6a,0x74,0x69])]:_0x37cdd0[_0x4aa6b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37cdd0[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c2b0d[_0x4aa6b8([0x76,0x63])],_0x1a2f8f(_0x4c2b0d)==_0x1a34ed;}}}async function _0x3275e7(){let _0x49f854=!0x0;try{const _0x2d5a00=_0x3ca2c8[_0x4aa6b8([0x73,0x70,0x6c,0x69,0x74])](_0x4aa6b8([0x2e])),[_0x569b39,_0x9bd65d,_0x16ecb0]=_0x2d5a00;return _0x46a9b0(_0x569b39),await _0x5d2eac(_0x569b39,_0x9bd65d,_0x16ecb0),_0x49f854;}catch(_0x5c9ddc){return!0x1;}function _0x46a9b0(_0x129675){const _0x4678ed=_0x3698ec(_0x129675);_0x4678ed&&_0x4678ed[_0x4aa6b8([0x61,0x6c,0x67])]==_0x4aa6b8([0x45,0x53,0x32,0x35,0x36])||(_0x49f854=!0x1);}async function _0x5d2eac(_0x144b92,_0x389563,_0x4ea804){const _0x25ce5a=window[_0x4aa6b8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4aa6b8([0x66,0x72,0x6f,0x6d])](_0x5a7bba(_0x4ea804),_0x45d88a=>_0x45d88a[_0x4aa6b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd177e2=new window[(_0x4aa6b8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4aa6b8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x144b92+_0x4aa6b8([0x2e])+_0x389563),_0x31cba5=window[_0x4aa6b8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4aa6b8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31cba5)return;const _0x59cfe2=await _0x31cba5[_0x4aa6b8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4aa6b8([0x6a,0x77,0x6b]),_0x22cee0,{[_0x4aa6b8([0x6e,0x61,0x6d,0x65])]:_0x4aa6b8([0x45,0x43,0x44,0x53,0x41]),[_0x4aa6b8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4aa6b8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4aa6b8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31cba5[_0x4aa6b8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4aa6b8([0x6e,0x61,0x6d,0x65])]:_0x4aa6b8([0x45,0x43,0x44,0x53,0x41]),[_0x4aa6b8([0x68,0x61,0x73,0x68])]:{[_0x4aa6b8([0x6e,0x61,0x6d,0x65])]:_0x4aa6b8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59cfe2,_0x25ce5a,_0xd177e2)||(_0x49f854=!0x1);}}function _0x3698ec(_0x56b84a){return _0x56b84a[_0x4aa6b8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4aa6b8([0x65,0x79]))?JSON[_0x4aa6b8([0x70,0x61,0x72,0x73,0x65])](_0x5a7bba(_0x56b84a)):null;}function _0x5a7bba(_0x197900){return window[_0x4aa6b8([0x61,0x74,0x6f,0x62])](_0x197900[_0x4aa6b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4aa6b8([0x2b]))[_0x4aa6b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4aa6b8([0x2f])));}function _0x1a2f8f(_0x58f1f3){let _0x16939a=0x1505;function _0x419a8b(_0x21b503){for(let _0x187e9e=0x0;_0x187e9e<_0x21b503[_0x4aa6b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x187e9e++){const _0x41fe81=_0x21b503[_0x4aa6b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x187e9e);_0x16939a=(_0x16939a<<0x5)+_0x16939a+_0x41fe81,_0x16939a&=_0x16939a;}}function _0x4ea52c(_0x5dfb0a){Array[_0x4aa6b8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5dfb0a)?_0x5dfb0a[_0x4aa6b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ea52c):_0x5dfb0a&&typeof _0x5dfb0a==_0x4aa6b8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4aa6b8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5dfb0a)[_0x4aa6b8([0x73,0x6f,0x72,0x74])]()[_0x4aa6b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26b335,_0x24f0d8])=>{_0x419a8b(_0x26b335),_0x4ea52c(_0x24f0d8);}):_0x419a8b(window[_0x4aa6b8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5dfb0a));}return _0x4ea52c(_0x58f1f3),_0x16939a>>>0x0;}function _0x5a8dcc(_0x31a163){return _0x31a163[_0x4aa6b8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4aa6b8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4aa6b8([0x30]));}function _0x2a7928(_0x2e4209){return _0x2e4209[_0x4aa6b8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4aa6b8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4aa6b8([0x6a,0x6f,0x69,0x6e])]('');}function _0x371efc(){}function _0x4aa6b8(_0x58048f){const _0x312803=_0x7fee;return _0x58048f[_0x312803(0x113)](_0x2b6cef=>String[_0x312803(0x10d)](_0x2b6cef))[_0x312803(0x12d)]('');}_0x182aab(await _0x338968());}(this);}[_0xaebadc(0x14c)](){const _0x8a4ebe=_0xaebadc,_0x3d0f2a=this[_0x8a4ebe(0x15a)][_0x8a4ebe(0x126)];_0x3d0f2a[_0x8a4ebe(0x15b)](_0x457a33=>{const _0x51996f=_0x8a4ebe,_0x45b524=_0x3d0f2a[_0x51996f(0x11a)][_0x51996f(0x161)][_0x51996f(0x164)]();let _0x270675=0x0;for(const _0x5e0230 of _0x45b524){const _0x9657b2=f+':'+_0x270675;if(_0x3d0f2a[_0x51996f(0x11b)][_0x51996f(0x115)](_0x9657b2))_0x457a33[_0x51996f(0x137)](_0x9657b2,{'range':_0x5e0230});else{if(_0x5e0230[_0x51996f(0x130)][_0x51996f(0x13a)]){const _0x50fdc1=_0x5e0230[_0x51996f(0x130)][_0x51996f(0xfe)](({item:_0x2ab4d8})=>!_0x3d0f2a[_0x51996f(0x15e)][_0x51996f(0x138)](_0x2ab4d8),{'boundaries':_0x5e0230});_0x457a33[_0x51996f(0x104)](_0x9657b2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x457a33[_0x51996f(0x11f)](_0x50fdc1,_0x5e0230[_0x51996f(0x120)])});}else _0x457a33[_0x51996f(0x104)](_0x9657b2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5e0230});}_0x270675++;}});}[_0xaebadc(0x139)](){const _0x10f98d=_0xaebadc,_0x1356b2=this[_0x10f98d(0x15a)][_0x10f98d(0x126)],_0x58c2e6=Array[_0x10f98d(0x155)](this[_0x10f98d(0x15a)][_0x10f98d(0x126)][_0x10f98d(0x11b)][_0x10f98d(0x123)](f));_0x58c2e6[_0x10f98d(0x122)]&&_0x1356b2[_0x10f98d(0x15b)](_0x4720e2=>{const _0x5b5be8=_0x10f98d;_0x58c2e6[_0x5b5be8(0x152)](_0x2e3aee=>{const _0x15d11d=_0x5b5be8;_0x4720e2[_0x15d11d(0xfc)](_0x2e3aee);});});}[_0xaebadc(0x13e)](_0x5781d5,_0x1272f9){const _0x395349=_0xaebadc,_0x7e983e=this[_0x395349(0x103)](),_0x163b81=_0x1272f9||_0x7e983e[_0x395349(0x14a)]();this[_0x395349(0x15a)][_0x395349(0x126)][_0x395349(0x10a)](_0x163b81)&&this[_0x395349(0x15a)][_0x395349(0x126)][_0x395349(0x15b)](_0x126496=>{const _0x1bde03=_0x395349;this[_0x1bde03(0x139)](),_0x1272f9||this[_0x1bde03(0x156)](_0x126496,_0x7e983e),this[_0x1bde03(0x110)]({'insertAt':_0x163b81,'writer':_0x126496,'html':_0x5781d5});});}[_0xaebadc(0x141)](_0x30ca7d){const _0x2d334b=_0xaebadc,{model:_0x180a7b}=this[_0x2d334b(0x15a)],_0x169e5d=this[_0x2d334b(0x103)]();_0x180a7b[_0x2d334b(0x15b)](()=>{const _0x21a63c=_0x2d334b,_0x433d91=this[_0x21a63c(0x125)](_0x30ca7d,_0x169e5d)||this[_0x21a63c(0x11c)](_0x169e5d);this[_0x21a63c(0x13e)](_0x30ca7d,_0x433d91);});}[_0xaebadc(0x103)](){const _0x45eea0=_0xaebadc,_0x2f885d=this[_0x45eea0(0x15a)][_0x45eea0(0x126)],_0x19ad8b=Array[_0x45eea0(0x155)](_0x2f885d[_0x45eea0(0x11b)][_0x45eea0(0x123)](f))[_0x45eea0(0x113)](_0x1e5bec=>_0x1e5bec[_0x45eea0(0x102)]());return _0x2f885d[_0x45eea0(0x128)](_0x19ad8b);}[_0xaebadc(0x110)]({writer:_0x50da2e,html:_0x5585fe,insertAt:_0x35b7e7}){const _0x31d95c=_0xaebadc,{view:_0x4e9565}=this[_0x31d95c(0x15a)][_0x31d95c(0x105)],_0x3d29be=this[_0x31d95c(0x15a)][_0x31d95c(0x162)][_0x31d95c(0x157)](_0x6fcfed),_0x8e38e=new w();_0x8e38e[_0x31d95c(0x109)](_0x31d95c(0x12c),_0x5585fe);const _0x31cab2=new ClipboardEvent(_0x31d95c(0x15c),{'clipboardData':_0x8e38e}),_0x48a570=new _0x5671d1(_0x4e9565,_0x31cab2,{'dataTransfer':new _0x5da2a1(_0x8e38e)});_0x50da2e[_0x31d95c(0x12e)](_0x35b7e7);const _0x3cd5d9=(_0x30942f,_0x432ce4)=>{const _0x2f9195=_0x31d95c;_0x432ce4[_0x2f9195(0x12b)]&&_0x50da2e[_0x2f9195(0x12e)](_0x432ce4[_0x2f9195(0x12b)]);};_0x3d29be[_0x31d95c(0x14b)](_0x31d95c(0x107),_0x3cd5d9,{'priority':_0x31d95c(0x166)}),_0x4e9565[_0x31d95c(0x11a)][_0x31d95c(0x163)](_0x31d95c(0x15c),_0x48a570),_0x3d29be[_0x31d95c(0x15d)](_0x31d95c(0x107),_0x3cd5d9);}[_0xaebadc(0x11c)](_0x1b9dec){const _0x56bf3a=_0xaebadc,{model:_0x37d62c}=this[_0x56bf3a(0x15a)],_0x515bf5=Array[_0x56bf3a(0x155)](_0x1b9dec[_0x56bf3a(0x165)]());return _0x515bf5[_0x56bf3a(0x122)]?_0x37d62c[_0x56bf3a(0x119)](_0x515bf5[_0x56bf3a(0x100)]()):_0x1b9dec[_0x56bf3a(0x10c)]();}[_0xaebadc(0x125)](_0x94b13d,_0x1bc6d7){const _0x192491=_0xaebadc,{model:_0x215d02,plugins:_0x54fc9d}=this[_0x192491(0x15a)];if(_0x54fc9d[_0x192491(0x115)](_0x192491(0x14f))){const _0x4bd636=_0x54fc9d[_0x192491(0x157)](_0x192491(0x14f))[_0x192491(0x111)](_0x1bc6d7);if(_0x4bd636[_0x192491(0x122)]){const _0x343c02=this[_0x192491(0x12f)](_0x94b13d),_0x2f37ea=this[_0x192491(0x136)](_0x4bd636,_0x343c02);return _0x215d02[_0x192491(0x12a)](_0x2f37ea,0x0);}}return null;}[_0xaebadc(0x12f)](_0x22f460){const _0x15c8a0=_0xaebadc,_0x35d0b1=this[_0x15c8a0(0x15a)][_0x15c8a0(0x162)][_0x15c8a0(0x157)](_0x15c8a0(0x14f)),_0x3b21ae=this[_0x15c8a0(0x15a)][_0x15c8a0(0x129)][_0x15c8a0(0x10b)](_0x22f460),_0xb5e9d2=Array[_0x15c8a0(0x155)](_0x3b21ae[_0x15c8a0(0x112)]())[_0x15c8a0(0x116)](_0x58b453=>_0x58b453['is'](_0x15c8a0(0x13f),_0x15c8a0(0xfd)));let _0x1d1b8f=0x0;return _0xb5e9d2[_0x15c8a0(0x152)](_0x5f2ac3=>{const _0x371b28=_0x15c8a0;_0x1d1b8f+=_0x35d0b1[_0x371b28(0x142)](_0x5f2ac3);}),_0x1d1b8f;}[_0xaebadc(0x136)](_0x164f7d,_0x4d1523){const _0x54cf5b=_0xaebadc,_0x49b072=this[_0x54cf5b(0x15a)][_0x54cf5b(0x162)][_0x54cf5b(0x157)](_0x54cf5b(0x14f)),_0x4d248d=_0x49b072[_0x54cf5b(0x143)](_0x164f7d),_0x141ff7=_0x49b072[_0x54cf5b(0x106)](_0x164f7d),_0x3454c1=_0x4d248d[_0x54cf5b(0x118)]+0x1,_0x51b1f1=_0x141ff7[_0x54cf5b(0x15f)],_0x62049c=_0x164f7d[0x0][_0x54cf5b(0x127)](_0x54cf5b(0xfd));for(let _0x468fe3=0x0;_0x468fe3<_0x4d1523;_0x468fe3++)_0x49b072[_0x54cf5b(0x159)](_0x62049c,{'at':_0x3454c1});return _0x62049c[_0x54cf5b(0x151)](_0x3454c1)[_0x54cf5b(0x151)](_0x51b1f1);}[_0xaebadc(0x156)](_0x3163a0,_0x7f4c8c){const _0x4e0844=_0xaebadc,{plugins:_0x8365c3}=this[_0x4e0844(0x15a)],{model:_0x11f725}=_0x3163a0;if(!_0x8365c3[_0x4e0844(0x115)](_0x4e0844(0x14f)))return;_0x8365c3[_0x4e0844(0x157)](_0x4e0844(0x14f))[_0x4e0844(0x111)](_0x7f4c8c)[_0x4e0844(0x122)]&&_0x11f725[_0x4e0844(0x14d)](_0x7f4c8c);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55a9d3=_0x5bfc;(function(_0x36565d,_0x5eb376){const _0x774cbe=_0x5bfc,_0x2684cf=_0x36565d();while(!![]){try{const _0x3cec8b=parseInt(_0x774cbe(0x176))/0x1*(-parseInt(_0x774cbe(0x16a))/0x2)+-parseInt(_0x774cbe(0x1a0))/0x3+parseInt(_0x774cbe(0x106))/0x4+-parseInt(_0x774cbe(0x187))/0x5+parseInt(_0x774cbe(0x197))/0x6+-parseInt(_0x774cbe(0x120))/0x7*(parseInt(_0x774cbe(0x174))/0x8)+parseInt(_0x774cbe(0x15a))/0x9*(parseInt(_0x774cbe(0x179))/0xa);if(_0x3cec8b===_0x5eb376)break;else _0x2684cf['push'](_0x2684cf['shift']());}catch(_0x96f3ee){_0x2684cf['push'](_0x2684cf['shift']());}}}(_0x59fe,0x2c8d3));import{Plugin as _0x5c2690}from'ckeditor5/src/core.js';function _0x5bfc(_0x555129,_0x2469aa){const _0x59fee4=_0x59fe();return _0x5bfc=function(_0x5bfca6,_0x3805b3){_0x5bfca6=_0x5bfca6-0xfa;let _0x4a0fb2=_0x59fee4[_0x5bfca6];return _0x4a0fb2;},_0x5bfc(_0x555129,_0x2469aa);}import{first as _0x4ff4e2,CKEditorError as _0x5ea249}from'ckeditor5/src/utils.js';import{createDropdown as _0x147db5,addMenuToDropdown as _0x30ce7b,ButtonView as _0x4a0c0c,MenuBarMenuListItemButtonView as _0x515633,Dialog as _0x515215,DialogViewPosition as _0x2c4ce6,MenuBarMenuView as _0x428256,MenuBarMenuListView as _0x75e727,MenuBarMenuListItemView as _0x12f791}from'ckeditor5/src/ui.js';import{icons as _0x275f0a}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x2ed405,UNGROUPED_COMMANDS_GROUP_ID as _0xb228fe}from'./utils/normalizecommandsconfig.js';import _0x271127 from'./aiassistantediting.js';import _0xf90523 from'./adapters/aiadapter.js';import{getTranslation as _0x733d93}from'./utils/common-translations.js';import _0x2b0c72 from'./ui/showaiassistantcommand.js';import _0x42592c from'./ui/aiassistantcontroller.js';import _0x35c75c from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x121547}from'./ui/form/aiformtoolbarview.js';import _0x18e96a from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x55a9d3(0x18f)];import{ClipboardMarkersUtils as _0x2a109}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x23272b,DataTransfer as _0x45011e}from'ckeditor5/src/engine.js';function _0x59fe(){const _0x1533b0=['isEnabled','forEach','ck-ai-commands-dropdown\x20','groupLabel','view','commands','once','enabledCommandsIds','change:isProcessing','change','insertContentBelow','EDITOR_TOP_SIDE','menuPanelClass','menuBar:aiCommands','_dialog','_onExecute','listenTo','<p>','buttonView','focus','contentArea','label','aiLicenseKeyValid','ck-ai-assistant-ui','get','body','INSERT','menuView','editor','aiAssistant','panelView','replaceContent','change:isError','filter','currentContext','textAdapter','domainLimit','aiLicenseKeyUsageLimit','children','media','trim','3797379DNNXaX','AI\x20Assistant','showUI','isOfficialPlugin','destroy','add','usageLimit','featureNotAllowed','menuitemcheckbox','aiLicenseKeyNotAllowed','_showLicenseError','values','bind','AI\x20Commands','groupId','rawHtml','2JxCQhU','comment','componentFactory','_aiAdapter','_getResolvedCommandsDefinitions','expired','init','_commandDefinitions','AIAssistant','ai.aiAssistant.disabledElements','58376DtwLYI','errorView','14617NyVNan','change:enabledCommandsIds','polite','20eRVsNb','Generated\x20content:\x20%0','locale','execute','from','model','buttons','selection','change:value','tableOfContents','trialLimit','addMany','</p>','requiresContent','1329370XxqWoB','evaluationLimit','announce','AI\x20is\x20writing','splice','sort','push','command:','DataTransfer','licenseKey','items','_createAIAssistantUIButton','copy','custom','schema','_initView','42924quUrvV','showFakeVisualSelection','promptView','_licenseKeyCheckInterval','_aiAssistantController','hideFakeVisualSelection','aiLicenseKeyEvaluationLimit','editing','isFlat','893055LUQgvU','source','render','text/html','_populateMenuBarMenu','order','delegate','ck-ai-assistant-button\x20','reset','getRanges','define','show','getData','setSelection','update','ai-commands-config-order-collision','_uiCssClasses','updateView','showAIAssistant','map','updatePosition','document','pluginName','776904nDoyme','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiCommands','getSelectedBlocks','length','_initAriaAiStatusChangeAnnouncements','robotPencil','isOn','getLimitElement','set','isPremiumPlugin','AIAssistantUI','isCollapsed','wasMoved','invalid','getSelectedElement','REPLACE','_formView','replace','includes','fieldView','prompt','aiLicenseKeyInvalid','requires','_getMenuBarGroupButtons','ai.aiAssistant.commands','273RPeXGV','menuBar:aiAssistant','aiLicenseKeyExpired','config','_forceMarkersCopy','hide','hideUI','ai.aiAssistant.contentAreaCssClass','plugins','\x20ck-ai-assistant-ui_theme','ai.useTheme','aiLicenseKeyDomainLimit','queryView','insertContent','text','fire','aiLicenseKeyTrialLimit'];_0x59fe=function(){return _0x1533b0;};return _0x59fe();}export default class n extends _0x5c2690{static get[_0x55a9d3(0x105)](){const _0x3d9bfa=_0x55a9d3;return _0x3d9bfa(0x111);}static get[_0x55a9d3(0x15d)](){return!0x0;}static get[_0x55a9d3(0x110)](){return!0x0;}static get[_0x55a9d3(0x11d)](){return[_0x2a109,_0x271127,_0xf90523,_0x515215];}constructor(_0x2d845c){const _0x57f7f3=_0x55a9d3;super(_0x2d845c),this[_0x57f7f3(0xff)]='',_0x2d845c[_0x57f7f3(0x123)][_0x57f7f3(0x1aa)](_0x57f7f3(0x173),[_0x57f7f3(0x158),_0x57f7f3(0x169),_0x57f7f3(0x182)]),_0x2d845c[_0x57f7f3(0x123)][_0x57f7f3(0x1aa)](_0x57f7f3(0x127),''),_0x2d845c[_0x57f7f3(0x123)][_0x57f7f3(0x1aa)](_0x57f7f3(0x12a),!0x0),this[_0x57f7f3(0xff)]=_0x57f7f3(0x148)+(_0x2d845c[_0x57f7f3(0x123)][_0x57f7f3(0x149)](_0x57f7f3(0x12a))?_0x57f7f3(0x129):'');}[_0x55a9d3(0x170)](){const _0x46e8b5=_0x55a9d3,{editor:_0x586185}=this;this[_0x46e8b5(0x16d)]=_0x586185[_0x46e8b5(0x128)][_0x46e8b5(0x149)](_0xf90523),this[_0x46e8b5(0x13f)]=_0x586185[_0x46e8b5(0x128)][_0x46e8b5(0x149)](_0x515215),this[_0x46e8b5(0x117)]=null,this[_0x46e8b5(0x171)]=this[_0x46e8b5(0x16e)]();const _0x572ba3=new _0x2b0c72(_0x586185,Array[_0x46e8b5(0x17d)](this[_0x46e8b5(0x171)][_0x46e8b5(0x165)]()));_0x586185[_0x46e8b5(0x136)][_0x46e8b5(0x15f)](_0x46e8b5(0x101),_0x572ba3),_0x586185['ui'][_0x46e8b5(0x16c)][_0x46e8b5(0x15f)](_0x46e8b5(0x108),_0x292caa=>{const _0x24d66b=_0x46e8b5,_0x1c404c=_0x147db5(_0x292caa);return _0x1c404c[_0x24d66b(0x10f)]({'class':_0x24d66b(0x133)+this[_0x24d66b(0xff)]}),_0x1c404c[_0x24d66b(0x143)][_0x24d66b(0x10f)]({'label':_0x733d93(_0x292caa,_0x24d66b(0x167)),'icon':_0x18e96a,'tooltip':!0x0}),_0x1c404c['on'](_0x24d66b(0x17c),_0x4e34e1=>this[_0x24d66b(0x140)](_0x4e34e1[_0x24d66b(0x1a1)]['id'])),_0x30ce7b(_0x1c404c,_0x586185['ui'][_0x24d66b(0x135)][_0x24d66b(0x14a)],function(_0x452948){const _0x37a29c=_0x24d66b,_0x4069b9=_0x2ed405(_0x452948[_0x37a29c(0x123)][_0x37a29c(0x149)](_0x37a29c(0x11f)),_0x452948[_0x37a29c(0x17b)]),_0x36a105=U(_0x452948,_0x4069b9)[_0x37a29c(0x152)](_0x3ef082=>_0x3ef082[_0x37a29c(0x136)][_0x37a29c(0x10a)]);if(0x1===_0x36a105[_0x37a29c(0x10a)])return U(_0x452948,_0x36a105[0x0][_0x37a29c(0x136)])[_0x37a29c(0x102)](_0x596317=>({'id':_0x596317['id'],'label':_0x596317[_0x37a29c(0x146)]}));return _0x36a105[_0x37a29c(0x102)](_0x37c334=>{const _0x483588=_0x37a29c,{groupId:_0x22d46a,groupLabel:_0x36d845,commands:_0xd2dab8}=_0x37c334,_0x42669e=U(_0x452948,_0xd2dab8)[_0x483588(0x102)](_0x54b3a6=>({'id':_0x54b3a6['id'],'label':_0x54b3a6[_0x483588(0x146)]}));return{'id':_0x22d46a,'menu':_0x36d845||_0x22d46a,'children':_0x42669e};});}(_0x586185),{'ariaLabel':_0x733d93(_0x292caa,_0x24d66b(0x167))}),_0x1c404c[_0x24d66b(0x14c)][_0x24d66b(0x13d)]=_0x24d66b(0x133)+this[_0x24d66b(0xff)],_0x572ba3['on'](_0x24d66b(0x177),_0x3895bf),_0x1c404c[_0x24d66b(0x14c)][_0x24d66b(0x137)](_0x24d66b(0x1a2),_0x3895bf),_0x1c404c;function _0x3895bf(){const _0x356ed5=_0x24d66b;_0x1c404c[_0x356ed5(0x131)]=_0x572ba3[_0x356ed5(0x138)][_0x356ed5(0x10a)]>0x0;for(const _0x5caac0 of _0x1c404c[_0x356ed5(0x14c)][_0x356ed5(0x17f)])_0x5caac0[_0x356ed5(0x131)]=_0x572ba3[_0x356ed5(0x138)][_0x356ed5(0x119)](_0x5caac0['id']);}}),_0x586185['ui'][_0x46e8b5(0x16c)][_0x46e8b5(0x15f)](_0x46e8b5(0x13e),_0x460755=>{const _0x4c4c85=_0x46e8b5,_0x3b1fde=new _0x428256(_0x460755);_0x3b1fde[_0x4c4c85(0x143)][_0x4c4c85(0x10f)]({'label':_0x733d93(_0x460755,_0x4c4c85(0x167)),'icon':_0x18e96a}),_0x3b1fde[_0x4c4c85(0x166)](_0x4c4c85(0x131))['to'](_0x572ba3,_0x4c4c85(0x138),_0x957118=>_0x957118[_0x4c4c85(0x10a)]>0x0);const _0x2cad76=_0x2ed405(_0x586185[_0x4c4c85(0x123)][_0x4c4c85(0x149)](_0x4c4c85(0x11f)),_0x460755);return this[_0x4c4c85(0x1a4)](_0x572ba3,_0x3b1fde,_0x2cad76,_0x3726f6=>this[_0x4c4c85(0x140)](_0x3726f6)),_0x3b1fde;}),_0x586185['ui'][_0x46e8b5(0x16c)][_0x46e8b5(0x15f)](_0x46e8b5(0x14e),()=>{const _0xe60631=_0x46e8b5,_0x466cae=this[_0xe60631(0x192)](_0x4a0c0c);return _0x466cae[_0xe60631(0x10f)]({'tooltip':!0x0,'class':_0xe60631(0x1a7)+this[_0xe60631(0xff)]}),_0x466cae;}),_0x586185['ui'][_0x46e8b5(0x16c)][_0x46e8b5(0x15f)](_0x46e8b5(0x121),()=>{const _0x498cd6=_0x46e8b5,_0x36b83=this[_0x498cd6(0x192)](_0x515633);return _0x36b83[_0x498cd6(0x10f)]({'role':_0x498cd6(0x162)}),_0x36b83;}),this[_0x46e8b5(0x190)]=this[_0x46e8b5(0x14d)][_0x46e8b5(0x123)][_0x46e8b5(0x149)](_0x46e8b5(0x190));const _0x2a703b=this[_0x46e8b5(0x14d)];this[_0x46e8b5(0x19a)]=setInterval(()=>{const _0x11b352=_0x46e8b5;let _0x1b33ab;for(const _0x63d5fc in _0x2a703b){const _0x29193f=_0x63d5fc,_0x4a29c4=_0x2a703b[_0x29193f];if(_0x11b352(0x147)==_0x4a29c4||_0x11b352(0x11c)==_0x4a29c4||_0x11b352(0x122)==_0x4a29c4||_0x11b352(0x12b)==_0x4a29c4||_0x11b352(0x163)==_0x4a29c4||_0x11b352(0x19d)==_0x4a29c4||_0x11b352(0x130)==_0x4a29c4||_0x11b352(0x156)==_0x4a29c4){delete _0x2a703b[_0x29193f],_0x1b33ab=_0x4a29c4,clearInterval(this[_0x11b352(0x19a)]),this[_0x11b352(0x19a)]=void 0x0;break;}}_0x11b352(0x11c)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x114)),_0x11b352(0x122)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x16f)),_0x11b352(0x12b)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x155)),_0x11b352(0x163)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x161),_0x11b352(0x172)),_0x11b352(0x19d)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x188)),_0x11b352(0x130)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x183)),_0x11b352(0x156)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x160));},0x3e8);}[_0x55a9d3(0x15e)](){const _0x15c6c9=_0x55a9d3;super[_0x15c6c9(0x15e)](),this[_0x15c6c9(0x19a)]&&clearInterval(this[_0x15c6c9(0x19a)]);}[_0x55a9d3(0x15c)](_0x355d92='',_0x5b66aa='',_0x4929c8=_0x55a9d3(0x194)){const _0x14866a=_0x55a9d3,_0x35ee21=this[_0x14866a(0x14d)],_0x487996=_0x35ee21[_0x14866a(0x19e)][_0x14866a(0x135)],_0x3533a8=_0x35ee21[_0x14866a(0x128)][_0x14866a(0x149)](_0x271127),_0x511b20=_0x35ee21[_0x14866a(0x128)][_0x14866a(0x149)](_0x2a109);_0x3533a8[_0x14866a(0x198)]();const _0x20935d=new w(),_0x41a68b=new ClipboardEvent(_0x14866a(0x193),{'clipboardData':_0x20935d}),_0x518f36=new _0x45011e(_0x20935d),_0x232ff1=new _0x23272b(_0x487996,_0x41a68b,{'dataTransfer':_0x518f36});_0x511b20[_0x14866a(0x124)](_0x14866a(0x16b),()=>{const _0x3e70cd=_0x14866a;_0x487996[_0x3e70cd(0x104)][_0x3e70cd(0x12f)](_0x3e70cd(0x193),_0x232ff1);}),this[_0x14866a(0x117)]||(this[_0x14866a(0x196)](),this[_0x14866a(0x19b)]=new _0x42592c(_0x35ee21,this[_0x14866a(0x16d)][_0x14866a(0x154)],this[_0x14866a(0x117)]));let _0x2080b2=_0x518f36[_0x14866a(0xfb)](_0x14866a(0x1a3));const _0x1c3f27=_0x35ee21[_0x14866a(0x17e)][_0x14866a(0x104)][_0x14866a(0x180)],_0x163043=Array[_0x14866a(0x17d)](_0x1c3f27[_0x14866a(0x1a9)]());0x1===_0x163043[_0x14866a(0x10a)]&&_0x163043[0x0][_0x14866a(0x19f)]&&!_0x1c3f27[_0x14866a(0x115)]()&&''!==_0x2080b2[_0x14866a(0x118)](/ /g,'')[_0x14866a(0x159)]()&&(_0x2080b2=_0x14866a(0x142)+_0x2080b2+_0x14866a(0x185)),this[_0x14866a(0x19b)][_0x14866a(0x100)]({'actionId':_0x4929c8,'query':_0x355d92,'htmlContent':_0x2080b2,'label':_0x5b66aa,'mainActionLabel':_0x121547[_0x35ee21[_0x14866a(0x17e)][_0x14866a(0x104)][_0x14866a(0x180)][_0x14866a(0x112)]?_0x14866a(0x14b):_0x14866a(0x116)]}),_0x14866a(0x14e)!==this[_0x14866a(0x13f)]['id']?this[_0x14866a(0x13f)][_0x14866a(0xfa)]({'id':_0x14866a(0x14e),'icon':_0x275f0a[_0x14866a(0x10c)],'title':_0x733d93(this[_0x14866a(0x14d)][_0x14866a(0x17b)],_0x14866a(0x15b)),'content':this[_0x14866a(0x117)],'position':_0x2c4ce6[_0x14866a(0x13c)],'onShow':()=>{const _0x58496b=_0x14866a;this[_0x58496b(0x117)][_0x58496b(0x144)]();},'onHide':()=>{const _0x498b98=_0x14866a;this[_0x498b98(0x19b)][_0x498b98(0x1a8)](),_0x3533a8[_0x498b98(0x19c)]();}}):this[_0x14866a(0x13f)][_0x14866a(0x135)][_0x14866a(0x113)]||this[_0x14866a(0x13f)][_0x14866a(0x135)][_0x14866a(0x103)]();}[_0x55a9d3(0x126)](){const _0x4924c7=_0x55a9d3;this[_0x4924c7(0x13f)][_0x4924c7(0x125)]();}[_0x55a9d3(0x16e)](){const _0x1f8e44=_0x55a9d3,_0x39aa4b=new Map(),_0xb38851=_0x2ed405(this[_0x1f8e44(0x14d)][_0x1f8e44(0x123)][_0x1f8e44(0x149)](_0x1f8e44(0x11f)),this[_0x1f8e44(0x14d)][_0x1f8e44(0x17b)]);for(const _0x132db6 of _0xb38851)for(const _0x1724df of _0x132db6[_0x1f8e44(0x136)])_0x39aa4b[_0x1f8e44(0x10f)](_0x1724df['id'],{..._0x1724df,'groupId':_0x132db6[_0x1f8e44(0x168)],'groupLabel':_0x132db6[_0x1f8e44(0x134)]||_0x132db6[_0x1f8e44(0x168)]});return _0x39aa4b;}[_0x55a9d3(0x192)](_0x2be79d){const _0x488fc7=_0x55a9d3,_0x3454cb=this[_0x488fc7(0x14d)],_0xb2bb12=_0x3454cb[_0x488fc7(0x136)][_0x488fc7(0x149)](_0x488fc7(0x101)),_0x4bc9d7=new _0x2be79d(_0x3454cb[_0x488fc7(0x17b)]);return _0x4bc9d7[_0x488fc7(0x10f)]({'label':_0x733d93(_0x3454cb[_0x488fc7(0x17b)],_0x488fc7(0x15b)),'icon':_0x275f0a[_0x488fc7(0x10c)],'isToggleable':!0x0}),_0x4bc9d7[_0x488fc7(0x166)](_0x488fc7(0x131))['to'](_0xb2bb12),_0x4bc9d7[_0x488fc7(0x166)](_0x488fc7(0x10d))['to'](this[_0x488fc7(0x13f)],'id',_0x2f31e0=>_0x488fc7(0x14e)===_0x2f31e0),this[_0x488fc7(0x141)](_0x4bc9d7,_0x488fc7(0x17c),()=>{const _0xf3a041=_0x488fc7;_0x4bc9d7[_0xf3a041(0x10d)]?this[_0xf3a041(0x126)]():_0xb2bb12[_0xf3a041(0x17c)]();}),_0x4bc9d7;}[_0x55a9d3(0x196)](){const _0x2e16b6=_0x55a9d3,_0x1e5ca3=this[_0x2e16b6(0x14d)][_0x2e16b6(0x128)][_0x2e16b6(0x149)](_0x271127);this[_0x2e16b6(0x117)]=new _0x35c75c(this[_0x2e16b6(0x14d)][_0x2e16b6(0x17b)],this[_0x2e16b6(0xff)],this[_0x2e16b6(0x14d)][_0x2e16b6(0x123)][_0x2e16b6(0x149)](_0x2e16b6(0x127))),this[_0x2e16b6(0x117)]['on'](_0x2e16b6(0x181),()=>{const _0x24191f=_0x2e16b6;this[_0x24191f(0x13f)][_0x24191f(0x135)][_0x24191f(0x113)]||this[_0x24191f(0x13f)][_0x24191f(0x135)][_0x24191f(0x103)]();}),this[_0x2e16b6(0x117)][_0x2e16b6(0x199)][_0x2e16b6(0x12c)][_0x2e16b6(0x11a)]['on'](_0x2e16b6(0xfd),()=>{const _0x5f4a1b=_0x2e16b6;this[_0x5f4a1b(0x13f)][_0x5f4a1b(0x135)][_0x5f4a1b(0x113)]||this[_0x5f4a1b(0x13f)][_0x5f4a1b(0x135)][_0x5f4a1b(0x103)]();}),this[_0x2e16b6(0x141)](this[_0x2e16b6(0x117)],_0x2e16b6(0x150),()=>{const _0x36fe26=_0x2e16b6;_0x1e5ca3[_0x36fe26(0x12d)](this[_0x36fe26(0x19b)][_0x36fe26(0x153)]),this[_0x36fe26(0x126)]();}),this[_0x2e16b6(0x141)](this[_0x2e16b6(0x117)],_0x2e16b6(0x13b),()=>{const _0x39d53a=_0x2e16b6;_0x1e5ca3[_0x39d53a(0x13b)](this[_0x39d53a(0x19b)][_0x39d53a(0x153)]),this[_0x39d53a(0x126)]();}),this[_0x2e16b6(0x10b)]();}[_0x55a9d3(0x10b)](){const _0x4ec1f2=_0x55a9d3,{locale:_0x497372,ui:{ariaLiveAnnouncer:_0x4acece}}=this[_0x4ec1f2(0x14d)];this[_0x4ec1f2(0x117)][_0x4ec1f2(0x145)]['on'](_0x4ec1f2(0x139),(_0x3e9d32,_0x326933,_0x43fd0a)=>{const _0x250582=_0x4ec1f2,_0x5a002d=this[_0x250582(0x19b)][_0x250582(0x153)];_0x43fd0a?_0x4acece[_0x250582(0x189)](_0x733d93(_0x497372,_0x250582(0x18a))):_0x5a002d&&_0x4acece[_0x250582(0x189)](_0x733d93(_0x497372,_0x250582(0x17a),_0x5a002d),{'politeness':_0x250582(0x178),'isUnsafeHTML':!0x0});}),this[_0x4ec1f2(0x117)]['on'](_0x4ec1f2(0x151),(_0x4eddd9,_0x572e13,_0xd89e33)=>{const _0x2d26f3=_0x4ec1f2;if(_0xd89e33){const _0x5b2ca2=this[_0x2d26f3(0x117)][_0x2d26f3(0x175)][_0x2d26f3(0x12e)];_0x4acece[_0x2d26f3(0x189)](_0x733d93(_0x497372,_0x2d26f3(0x107),_0x5b2ca2));}});}[_0x55a9d3(0x140)](_0x598448){const _0x5c7512=_0x55a9d3,_0x32fabf=this[_0x5c7512(0x171)][_0x5c7512(0x149)](_0x598448),_0x4685be=this[_0x5c7512(0x14d)],_0xb7efee=_0x4685be[_0x5c7512(0x17e)][_0x5c7512(0x104)][_0x5c7512(0x180)],_0x1aa6f7=_0x4685be[_0x5c7512(0x136)][_0x5c7512(0x149)](_0x5c7512(0x101)),_0x2506cd=_0x4685be[_0x5c7512(0x128)][_0x5c7512(0x149)](_0x271127),_0x1fc695=''+(_0x32fabf[_0x5c7512(0x168)]!==_0xb228fe?_0x32fabf[_0x5c7512(0x134)]+':\x20':'')+_0x32fabf[_0x5c7512(0x146)];if(!0x1!==_0x32fabf[_0x5c7512(0x186)]&&_0xb7efee[_0x5c7512(0x112)]){const _0x2bf745=_0x4ff4e2(_0xb7efee[_0x5c7512(0x109)]())||_0x4685be[_0x5c7512(0x17e)][_0x5c7512(0x195)][_0x5c7512(0x10e)](_0xb7efee);_0x4685be[_0x5c7512(0x17e)][_0x5c7512(0x13a)](_0x3b7c04=>{const _0xaa8d1e=_0x5c7512;_0x3b7c04[_0xaa8d1e(0xfc)](_0x2bf745,'in');});}_0x2506cd[_0x5c7512(0x198)](),_0x1aa6f7[_0x5c7512(0x17c)](_0x32fabf[_0x5c7512(0x11b)],_0x1fc695,_0x5c7512(0x18e)+_0x598448);}[_0x55a9d3(0x1a4)](_0x1c1e83,_0x36953d,_0x15a906,_0x2f2e49){const _0x46ee34=_0x55a9d3,_0x420241=this[_0x46ee34(0x14d)],_0x15a0ae=_0x420241[_0x46ee34(0x17b)],_0x24e674=new _0x75e727(_0x15a0ae),_0x4c2575=U(_0x420241,_0x15a906)[_0x46ee34(0x152)](_0x5cab5d=>_0x5cab5d[_0x46ee34(0x136)][_0x46ee34(0x10a)]);0x1===_0x4c2575[_0x46ee34(0x10a)]?this[_0x46ee34(0x11e)]({'command':_0x1c1e83,'commands':_0x4c2575[0x0][_0x46ee34(0x136)],'parentMenuView':_0x36953d,'onExecute':_0x2f2e49})[_0x46ee34(0x132)](_0x153992=>_0x24e674[_0x46ee34(0x191)][_0x46ee34(0x15f)](_0x153992)):_0x4c2575[_0x46ee34(0x132)](({groupId:_0x218a9c,groupLabel:_0x1995f2,commands:_0xa6b436})=>{const _0x4b9995=_0x46ee34,_0x5fc99a=new _0x12f791(_0x15a0ae,_0x36953d),_0x6374af=new _0x428256(_0x15a0ae),_0x4755e3=new _0x75e727(_0x15a0ae),_0x2cf986=this[_0x4b9995(0x11e)]({'command':_0x1c1e83,'commands':_0xa6b436,'parentMenuView':_0x6374af,'onExecute':_0x2f2e49});_0x6374af[_0x4b9995(0x143)][_0x4b9995(0x10f)]({'label':_0x1995f2||_0x218a9c}),_0x6374af[_0x4b9995(0x1a6)](_0x4b9995(0x17c))['to'](_0x36953d),_0x4755e3[_0x4b9995(0x191)][_0x4b9995(0x184)](_0x2cf986),_0x6374af[_0x4b9995(0x14f)][_0x4b9995(0x157)][_0x4b9995(0x15f)](_0x4755e3),_0x5fc99a[_0x4b9995(0x157)][_0x4b9995(0x15f)](_0x6374af),_0x24e674[_0x4b9995(0x191)][_0x4b9995(0x15f)](_0x5fc99a);}),_0x36953d[_0x46ee34(0x14f)][_0x46ee34(0x157)][_0x46ee34(0x15f)](_0x24e674);}[_0x55a9d3(0x11e)]({command:_0x5acc28,commands:_0x400034,parentMenuView:_0x1cf598,onExecute:_0xf9434c}){const _0x56cf3f=_0x55a9d3,_0x16bf63=this[_0x56cf3f(0x14d)],_0x3c3506=_0x16bf63[_0x56cf3f(0x17b)];return U(_0x16bf63,_0x400034)[_0x56cf3f(0x102)](_0x46076a=>{const _0x5c5172=_0x56cf3f,_0xe4c24a=new _0x12f791(_0x3c3506,_0x1cf598),_0x2a1598=new _0x515633(_0x3c3506);return _0x2a1598[_0x5c5172(0x10f)]({'label':_0x46076a[_0x5c5172(0x146)]}),_0x2a1598[_0x5c5172(0x1a6)](_0x5c5172(0x17c))['to'](_0x1cf598),_0x2a1598['on'](_0x5c5172(0x17c),()=>_0xf9434c(_0x46076a['id'])),_0x2a1598[_0x5c5172(0x166)](_0x5c5172(0x131))['to'](_0x5acc28,_0x5c5172(0x138),_0x2553c3=>_0x2553c3[_0x5c5172(0x119)](_0x46076a['id'])),_0xe4c24a[_0x5c5172(0x157)][_0x5c5172(0x15f)](_0x2a1598),_0xe4c24a;});}}function B(_0xf1c27f,_0x334736){const _0x2a1b69=_0x55a9d3;return void 0x0!==_0xf1c27f[_0x2a1b69(0x1a5)]&&void 0x0===_0x334736[_0x2a1b69(0x1a5)]?0x1:void 0x0===_0xf1c27f[_0x2a1b69(0x1a5)]&&void 0x0!==_0x334736[_0x2a1b69(0x1a5)]?-0x1:void 0x0!==_0xf1c27f[_0x2a1b69(0x1a5)]&&void 0x0!==_0x334736[_0x2a1b69(0x1a5)]?_0xf1c27f[_0x2a1b69(0x1a5)]-_0x334736[_0x2a1b69(0x1a5)]:0x0;}function U(_0x3756cf,_0x1d11f7){const _0x2f97bd=_0x55a9d3;_0x1d11f7[_0x2f97bd(0x18c)](B);const _0x5463d5={},_0x24573e=[];for(const _0x5b2674 of _0x1d11f7)if(void 0x0!==_0x5b2674[_0x2f97bd(0x1a5)]){if(_0x5b2674[_0x2f97bd(0x1a5)]in _0x5463d5)throw new _0x5ea249(_0x2f97bd(0xfe),_0x3756cf,{'conflictingDefinitions':[_0x5b2674,_0x5463d5[_0x5b2674[_0x2f97bd(0x1a5)]]]});_0x5463d5[_0x5b2674[_0x2f97bd(0x1a5)]]=_0x5b2674,_0x24573e[_0x2f97bd(0x18b)](_0x5b2674[_0x2f97bd(0x1a5)],0x0,_0x5b2674);}else _0x24573e[_0x2f97bd(0x18d)](_0x5b2674);return _0x24573e;}
|
|
23
|
+
const _0x57c040=_0x2b42;(function(_0x2cd3b3,_0x30e805){const _0x339604=_0x2b42,_0x359183=_0x2cd3b3();while(!![]){try{const _0x397b4d=parseInt(_0x339604(0x1e8))/0x1+-parseInt(_0x339604(0x244))/0x2*(-parseInt(_0x339604(0x239))/0x3)+-parseInt(_0x339604(0x1fb))/0x4*(-parseInt(_0x339604(0x228))/0x5)+-parseInt(_0x339604(0x1d5))/0x6*(parseInt(_0x339604(0x1bc))/0x7)+parseInt(_0x339604(0x25d))/0x8*(-parseInt(_0x339604(0x1c0))/0x9)+-parseInt(_0x339604(0x205))/0xa*(parseInt(_0x339604(0x1f9))/0xb)+parseInt(_0x339604(0x20d))/0xc*(parseInt(_0x339604(0x1fc))/0xd);if(_0x397b4d===_0x30e805)break;else _0x359183['push'](_0x359183['shift']());}catch(_0x59d92e){_0x359183['push'](_0x359183['shift']());}}}(_0x1041,0x9fc62));import{Plugin as _0x1bd376}from'ckeditor5/src/core.js';import{first as _0x502324,CKEditorError as _0x27725e}from'ckeditor5/src/utils.js';import{createDropdown as _0x35ec0a,addMenuToDropdown as _0xb8c356,ButtonView as _0x7aaf10,MenuBarMenuListItemButtonView as _0x3a683a,Dialog as _0x34770a,DialogViewPosition as _0x215819,MenuBarMenuView as _0x1616ea,MenuBarMenuListView as _0x21f48e,MenuBarMenuListItemView as _0x5b93fe}from'ckeditor5/src/ui.js';import{icons as _0x9b89c5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2b42(_0x710ca8,_0x3e2b61){const _0x104113=_0x1041();return _0x2b42=function(_0x2b42d6,_0x37d0c2){_0x2b42d6=_0x2b42d6-0x1ad;let _0x174540=_0x104113[_0x2b42d6];return _0x174540;},_0x2b42(_0x710ca8,_0x3e2b61);}import{normalizeCommandsConfig as _0x396fd0,UNGROUPED_COMMANDS_GROUP_ID as _0x5ce5d8}from'./utils/normalizecommandsconfig.js';import _0x319eda from'./aiassistantediting.js';import _0x399396 from'./adapters/aiadapter.js';import{getTranslation as _0x5875a2}from'./utils/common-translations.js';import _0x31e0cd from'./ui/showaiassistantcommand.js';import _0x356f2a from'./ui/aiassistantcontroller.js';import _0x91384d from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x23f4ce}from'./ui/form/aiformtoolbarview.js';import _0x5176bd from'../theme/icons/magic-wand.svg';import'../theme/ai.css';function _0x1041(){const _0x3afda0=['show','splice','aiLicenseKeyNotAllowed','prompt','insertContentBelow','hideUI','3162804kmPdgH','execute','ck-ai-commands-dropdown\x20','queryView','_populateMenuBarMenu','ai-commands-config-order-collision','AIAssistant','featureNotAllowed','INSERT','_getResolvedCommandsDefinitions','enabledCommandsIds','2QRasuN','trim','getSelectedElement','fire','schema','rawHtml','menuBar:aiAssistant','text','delegate','get','polite','includes','reset','DataTransfer','showUI','set','locale','update','order','evaluationLimit','text/html','announce','replace','Generated\x20content:\x20%0','plugins','1240eKbjuq','values','showFakeVisualSelection','expired','aiCommands','getSelectedBlocks','buttonView','isOfficialPlugin','_showLicenseError','_forceMarkersCopy','body','commands','AI\x20is\x20writing','source','menuBar:aiCommands','isEnabled','aiLicenseKeyTrialLimit','ai.useTheme','_formView','147nPvbmp','panelView','EDITOR_TOP_SIDE','AIAssistantUI','13482vWtDSc','isCollapsed','define','label','usageLimit','getRanges','_aiAdapter','media','_initView','focus','_dialog','groupLabel','change','replaceContent','document','listenTo','insertContent','Error\x20during\x20AI\x20content\x20generation:\x20%0','pluginName','aiLicenseKeyUsageLimit','requires','286446rqVJwG','_uiCssClasses','promptView','custom','getData','currentContext','add','setSelection','command:','ai.aiAssistant.commands','requiresContent','componentFactory','sort','editor','_licenseKeyCheckInterval','errorView','tableOfContents','aiAssistant','change:enabledCommandsIds','309772uPIeCb','map','comment','ai.aiAssistant.disabledElements','forEach','_commandDefinitions','_initAriaAiStatusChangeAnnouncements','invalid','_onExecute','isFlat','filter','view','aiLicenseKeyEvaluationLimit','aiLicenseKeyValid','ck-ai-assistant-ui','updateView','aiLicenseKeyExpired','9181414tRkptZ','menuitemcheckbox','3587332QACXhF','26suUnEK','fieldView','addMany','buttons','length','aiLicenseKeyDomainLimit','bind','showAIAssistant','ai.aiAssistant.contentAreaCssClass','10cXTavP','_getMenuBarGroupButtons','robotPencil','licenseKey','items','from','destroy','updatePosition','2777916LhmQZz','AI\x20Commands','groupId','\x20ck-ai-assistant-ui_theme','push','isOn','render','copy','hide','hideFakeVisualSelection','change:isError','config','textAdapter','getLimitElement','children','aiLicenseKeyInvalid','_createAIAssistantUIButton','selection','change:isProcessing','AI\x20Assistant','change:value','once','<p>','model','_aiAssistantController','menuPanelClass','ck-ai-assistant-button\x20','5gWOLEg','contentArea','isPremiumPlugin','REPLACE','</p>','editing','menuView','init','domainLimit','trialLimit','wasMoved'];_0x1041=function(){return _0x3afda0;};return _0x1041();}import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x57c040(0x251)];import{ClipboardMarkersUtils as _0x339bc6}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x10817d,DataTransfer as _0x325c5f}from'ckeditor5/src/engine.js';export default class n extends _0x1bd376{static get[_0x57c040(0x1d2)](){const _0x1cbf7b=_0x57c040;return _0x1cbf7b(0x1bf);}static get[_0x57c040(0x1b0)](){return!0x0;}static get[_0x57c040(0x22a)](){return!0x0;}static get[_0x57c040(0x1d4)](){return[_0x339bc6,_0x319eda,_0x399396,_0x34770a];}constructor(_0x5a9552){const _0x4181cb=_0x57c040;super(_0x5a9552),this[_0x4181cb(0x1d6)]='',_0x5a9552[_0x4181cb(0x218)][_0x4181cb(0x1c2)](_0x4181cb(0x1eb),[_0x4181cb(0x1c7),_0x4181cb(0x249),_0x4181cb(0x1e5)]),_0x5a9552[_0x4181cb(0x218)][_0x4181cb(0x1c2)](_0x4181cb(0x204),''),_0x5a9552[_0x4181cb(0x218)][_0x4181cb(0x1c2)](_0x4181cb(0x1ba),!0x0),this[_0x4181cb(0x1d6)]=_0x4181cb(0x1f6)+(_0x5a9552[_0x4181cb(0x218)][_0x4181cb(0x24d)](_0x4181cb(0x1ba))?_0x4181cb(0x210):'');}[_0x57c040(0x22f)](){const _0x5f1fab=_0x57c040,{editor:_0x255cd4}=this;this[_0x5f1fab(0x1c6)]=_0x255cd4[_0x5f1fab(0x25c)][_0x5f1fab(0x24d)](_0x399396),this[_0x5f1fab(0x1ca)]=_0x255cd4[_0x5f1fab(0x25c)][_0x5f1fab(0x24d)](_0x34770a),this[_0x5f1fab(0x1bb)]=null,this[_0x5f1fab(0x1ed)]=this[_0x5f1fab(0x242)]();const _0x33e361=new _0x31e0cd(_0x255cd4,Array[_0x5f1fab(0x20a)](this[_0x5f1fab(0x1ed)][_0x5f1fab(0x25e)]()));_0x255cd4[_0x5f1fab(0x1b4)][_0x5f1fab(0x1db)](_0x5f1fab(0x203),_0x33e361),_0x255cd4['ui'][_0x5f1fab(0x1e0)][_0x5f1fab(0x1db)](_0x5f1fab(0x1ad),_0x15b1f0=>{const _0x1f4fa5=_0x5f1fab,_0x1b66c1=_0x35ec0a(_0x15b1f0);return _0x1b66c1[_0x1f4fa5(0x253)]({'class':_0x1f4fa5(0x23b)+this[_0x1f4fa5(0x1d6)]}),_0x1b66c1[_0x1f4fa5(0x1af)][_0x1f4fa5(0x253)]({'label':_0x5875a2(_0x15b1f0,_0x1f4fa5(0x20e)),'icon':_0x5176bd,'tooltip':!0x0}),_0x1b66c1['on'](_0x1f4fa5(0x23a),_0x43451e=>this[_0x1f4fa5(0x1f0)](_0x43451e[_0x1f4fa5(0x1b6)]['id'])),_0xb8c356(_0x1b66c1,_0x255cd4['ui'][_0x1f4fa5(0x1f3)][_0x1f4fa5(0x1b3)],function(_0x684cca){const _0x2d0842=_0x1f4fa5,_0x33f7e9=_0x396fd0(_0x684cca[_0x2d0842(0x218)][_0x2d0842(0x24d)](_0x2d0842(0x1de)),_0x684cca[_0x2d0842(0x254)]),_0x5e390a=U(_0x684cca,_0x33f7e9)[_0x2d0842(0x1f2)](_0x253624=>_0x253624[_0x2d0842(0x1b4)][_0x2d0842(0x200)]);if(0x1===_0x5e390a[_0x2d0842(0x200)])return U(_0x684cca,_0x5e390a[0x0][_0x2d0842(0x1b4)])[_0x2d0842(0x1e9)](_0x497b99=>({'id':_0x497b99['id'],'label':_0x497b99[_0x2d0842(0x1c3)]}));return _0x5e390a[_0x2d0842(0x1e9)](_0x24fd06=>{const _0xe5c76b=_0x2d0842,{groupId:_0x523a67,groupLabel:_0x47578f,commands:_0x424c13}=_0x24fd06,_0x2504be=U(_0x684cca,_0x424c13)[_0xe5c76b(0x1e9)](_0x14f7d1=>({'id':_0x14f7d1['id'],'label':_0x14f7d1[_0xe5c76b(0x1c3)]}));return{'id':_0x523a67,'menu':_0x47578f||_0x523a67,'children':_0x2504be};});}(_0x255cd4),{'ariaLabel':_0x5875a2(_0x15b1f0,_0x1f4fa5(0x20e))}),_0x1b66c1[_0x1f4fa5(0x22e)][_0x1f4fa5(0x226)]=_0x1f4fa5(0x23b)+this[_0x1f4fa5(0x1d6)],_0x33e361['on'](_0x1f4fa5(0x1e7),_0x37dc9e),_0x1b66c1[_0x1f4fa5(0x22e)][_0x1f4fa5(0x222)](_0x1f4fa5(0x213),_0x37dc9e),_0x1b66c1;function _0x37dc9e(){const _0xe9af83=_0x1f4fa5;_0x1b66c1[_0xe9af83(0x1b8)]=_0x33e361[_0xe9af83(0x243)][_0xe9af83(0x200)]>0x0;for(const _0x20bcbf of _0x1b66c1[_0xe9af83(0x22e)][_0xe9af83(0x1ff)])_0x20bcbf[_0xe9af83(0x1b8)]=_0x33e361[_0xe9af83(0x243)][_0xe9af83(0x24f)](_0x20bcbf['id']);}}),_0x255cd4['ui'][_0x5f1fab(0x1e0)][_0x5f1fab(0x1db)](_0x5f1fab(0x1b7),_0x2787b8=>{const _0x52ec12=_0x5f1fab,_0xe38a69=new _0x1616ea(_0x2787b8);_0xe38a69[_0x52ec12(0x1af)][_0x52ec12(0x253)]({'label':_0x5875a2(_0x2787b8,_0x52ec12(0x20e)),'icon':_0x5176bd}),_0xe38a69[_0x52ec12(0x202)](_0x52ec12(0x1b8))['to'](_0x33e361,_0x52ec12(0x243),_0xd5dc9a=>_0xd5dc9a[_0x52ec12(0x200)]>0x0);const _0x4cc05f=_0x396fd0(_0x255cd4[_0x52ec12(0x218)][_0x52ec12(0x24d)](_0x52ec12(0x1de)),_0x2787b8);return this[_0x52ec12(0x23d)](_0x33e361,_0xe38a69,_0x4cc05f,_0xf327ca=>this[_0x52ec12(0x1f0)](_0xf327ca)),_0xe38a69;}),_0x255cd4['ui'][_0x5f1fab(0x1e0)][_0x5f1fab(0x1db)](_0x5f1fab(0x1e6),()=>{const _0x1b6aed=_0x5f1fab,_0x2b2015=this[_0x1b6aed(0x21d)](_0x7aaf10);return _0x2b2015[_0x1b6aed(0x253)]({'tooltip':!0x0,'class':_0x1b6aed(0x227)+this[_0x1b6aed(0x1d6)]}),_0x2b2015;}),_0x255cd4['ui'][_0x5f1fab(0x1e0)][_0x5f1fab(0x1db)](_0x5f1fab(0x24a),()=>{const _0x322f3d=_0x5f1fab,_0x3492f4=this[_0x322f3d(0x21d)](_0x3a683a);return _0x3492f4[_0x322f3d(0x253)]({'role':_0x322f3d(0x1fa)}),_0x3492f4;}),this[_0x5f1fab(0x208)]=this[_0x5f1fab(0x1e2)][_0x5f1fab(0x218)][_0x5f1fab(0x24d)](_0x5f1fab(0x208));const _0x16767d=this[_0x5f1fab(0x1e2)];this[_0x5f1fab(0x1e3)]=setInterval(()=>{const _0x1cbe3f=_0x5f1fab;let _0x1e42d4;for(const _0x45be9f in _0x16767d){const _0x34dbcb=_0x45be9f,_0xb4740e=_0x16767d[_0x34dbcb];if(_0x1cbe3f(0x1f5)==_0xb4740e||_0x1cbe3f(0x21c)==_0xb4740e||_0x1cbe3f(0x1f8)==_0xb4740e||_0x1cbe3f(0x201)==_0xb4740e||_0x1cbe3f(0x235)==_0xb4740e||_0x1cbe3f(0x1f4)==_0xb4740e||_0x1cbe3f(0x1b9)==_0xb4740e||_0x1cbe3f(0x1d3)==_0xb4740e){delete _0x16767d[_0x34dbcb],_0x1e42d4=_0xb4740e,clearInterval(this[_0x1cbe3f(0x1e3)]),this[_0x1cbe3f(0x1e3)]=void 0x0;break;}}_0x1cbe3f(0x21c)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x1ef)),_0x1cbe3f(0x1f8)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x260)),_0x1cbe3f(0x201)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x230)),_0x1cbe3f(0x235)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x240),_0x1cbe3f(0x23f)),_0x1cbe3f(0x1f4)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x257)),_0x1cbe3f(0x1b9)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x231)),_0x1cbe3f(0x1d3)==_0x1e42d4&&_0x16767d[_0x1cbe3f(0x1b1)](_0x1cbe3f(0x1c4));},0x3e8);}[_0x57c040(0x20b)](){const _0x2011bc=_0x57c040;super[_0x2011bc(0x20b)](),this[_0x2011bc(0x1e3)]&&clearInterval(this[_0x2011bc(0x1e3)]);}[_0x57c040(0x252)](_0x1db49e='',_0x2d3448='',_0x4cfa7c=_0x57c040(0x1d8)){const _0xfea21f=_0x57c040,_0x117d94=this[_0xfea21f(0x1e2)],_0xd7af17=_0x117d94[_0xfea21f(0x22d)][_0xfea21f(0x1f3)],_0x35b0ce=_0x117d94[_0xfea21f(0x25c)][_0xfea21f(0x24d)](_0x319eda),_0x36ecf1=_0x117d94[_0xfea21f(0x25c)][_0xfea21f(0x24d)](_0x339bc6);_0x35b0ce[_0xfea21f(0x25f)]();const _0xcaf34a=new w(),_0x3da7fc=new ClipboardEvent(_0xfea21f(0x214),{'clipboardData':_0xcaf34a}),_0x241b24=new _0x325c5f(_0xcaf34a),_0x5a4849=new _0x10817d(_0xd7af17,_0x3da7fc,{'dataTransfer':_0x241b24});_0x36ecf1[_0xfea21f(0x1b2)](_0xfea21f(0x1ea),()=>{const _0x29c7df=_0xfea21f;_0xd7af17[_0x29c7df(0x1ce)][_0x29c7df(0x247)](_0x29c7df(0x214),_0x5a4849);}),this[_0xfea21f(0x1bb)]||(this[_0xfea21f(0x1c8)](),this[_0xfea21f(0x225)]=new _0x356f2a(_0x117d94,this[_0xfea21f(0x1c6)][_0xfea21f(0x219)],this[_0xfea21f(0x1bb)]));let _0x121feb=_0x241b24[_0xfea21f(0x1d9)](_0xfea21f(0x258));const _0x5489d4=_0x117d94[_0xfea21f(0x224)][_0xfea21f(0x1ce)][_0xfea21f(0x21e)],_0x103692=Array[_0xfea21f(0x20a)](_0x5489d4[_0xfea21f(0x1c5)]());0x1===_0x103692[_0xfea21f(0x200)]&&_0x103692[0x0][_0xfea21f(0x1f1)]&&!_0x5489d4[_0xfea21f(0x246)]()&&''!==_0x121feb[_0xfea21f(0x25a)](/ /g,'')[_0xfea21f(0x245)]()&&(_0x121feb=_0xfea21f(0x223)+_0x121feb+_0xfea21f(0x22c)),this[_0xfea21f(0x225)][_0xfea21f(0x1f7)]({'actionId':_0x4cfa7c,'query':_0x1db49e,'htmlContent':_0x121feb,'label':_0x2d3448,'mainActionLabel':_0x23f4ce[_0x117d94[_0xfea21f(0x224)][_0xfea21f(0x1ce)][_0xfea21f(0x21e)][_0xfea21f(0x1c1)]?_0xfea21f(0x241):_0xfea21f(0x22b)]}),_0xfea21f(0x1e6)!==this[_0xfea21f(0x1ca)]['id']?this[_0xfea21f(0x1ca)][_0xfea21f(0x233)]({'id':_0xfea21f(0x1e6),'icon':_0x9b89c5[_0xfea21f(0x207)],'title':_0x5875a2(this[_0xfea21f(0x1e2)][_0xfea21f(0x254)],_0xfea21f(0x220)),'content':this[_0xfea21f(0x1bb)],'position':_0x215819[_0xfea21f(0x1be)],'onShow':()=>{const _0x595378=_0xfea21f;this[_0x595378(0x1bb)][_0x595378(0x1c9)]();},'onHide':()=>{const _0x1dae48=_0xfea21f;this[_0x1dae48(0x225)][_0x1dae48(0x250)](),_0x35b0ce[_0x1dae48(0x216)]();}}):this[_0xfea21f(0x1ca)][_0xfea21f(0x1f3)][_0xfea21f(0x232)]||this[_0xfea21f(0x1ca)][_0xfea21f(0x1f3)][_0xfea21f(0x20c)]();}[_0x57c040(0x238)](){const _0x3a14ea=_0x57c040;this[_0x3a14ea(0x1ca)][_0x3a14ea(0x215)]();}[_0x57c040(0x242)](){const _0x17d16d=_0x57c040,_0x1669c7=new Map(),_0x39ed88=_0x396fd0(this[_0x17d16d(0x1e2)][_0x17d16d(0x218)][_0x17d16d(0x24d)](_0x17d16d(0x1de)),this[_0x17d16d(0x1e2)][_0x17d16d(0x254)]);for(const _0x90db84 of _0x39ed88)for(const _0x23cc3e of _0x90db84[_0x17d16d(0x1b4)])_0x1669c7[_0x17d16d(0x253)](_0x23cc3e['id'],{..._0x23cc3e,'groupId':_0x90db84[_0x17d16d(0x20f)],'groupLabel':_0x90db84[_0x17d16d(0x1cb)]||_0x90db84[_0x17d16d(0x20f)]});return _0x1669c7;}[_0x57c040(0x21d)](_0xd81f91){const _0xc60c9b=_0x57c040,_0x51b779=this[_0xc60c9b(0x1e2)],_0x1ada9e=_0x51b779[_0xc60c9b(0x1b4)][_0xc60c9b(0x24d)](_0xc60c9b(0x203)),_0x3b5e3e=new _0xd81f91(_0x51b779[_0xc60c9b(0x254)]);return _0x3b5e3e[_0xc60c9b(0x253)]({'label':_0x5875a2(_0x51b779[_0xc60c9b(0x254)],_0xc60c9b(0x220)),'icon':_0x9b89c5[_0xc60c9b(0x207)],'isToggleable':!0x0}),_0x3b5e3e[_0xc60c9b(0x202)](_0xc60c9b(0x1b8))['to'](_0x1ada9e),_0x3b5e3e[_0xc60c9b(0x202)](_0xc60c9b(0x212))['to'](this[_0xc60c9b(0x1ca)],'id',_0x4366f1=>_0xc60c9b(0x1e6)===_0x4366f1),this[_0xc60c9b(0x1cf)](_0x3b5e3e,_0xc60c9b(0x23a),()=>{const _0x3f9acf=_0xc60c9b;_0x3b5e3e[_0x3f9acf(0x212)]?this[_0x3f9acf(0x238)]():_0x1ada9e[_0x3f9acf(0x23a)]();}),_0x3b5e3e;}[_0x57c040(0x1c8)](){const _0x1887eb=_0x57c040,_0x5a1e02=this[_0x1887eb(0x1e2)][_0x1887eb(0x25c)][_0x1887eb(0x24d)](_0x319eda);this[_0x1887eb(0x1bb)]=new _0x91384d(this[_0x1887eb(0x1e2)][_0x1887eb(0x254)],this[_0x1887eb(0x1d6)],this[_0x1887eb(0x1e2)][_0x1887eb(0x218)][_0x1887eb(0x24d)](_0x1887eb(0x204))),this[_0x1887eb(0x1bb)]['on'](_0x1887eb(0x221),()=>{const _0x18b5af=_0x1887eb;this[_0x18b5af(0x1ca)][_0x18b5af(0x1f3)][_0x18b5af(0x232)]||this[_0x18b5af(0x1ca)][_0x18b5af(0x1f3)][_0x18b5af(0x20c)]();}),this[_0x1887eb(0x1bb)][_0x1887eb(0x1d7)][_0x1887eb(0x23c)][_0x1887eb(0x1fd)]['on'](_0x1887eb(0x255),()=>{const _0x115852=_0x1887eb;this[_0x115852(0x1ca)][_0x115852(0x1f3)][_0x115852(0x232)]||this[_0x115852(0x1ca)][_0x115852(0x1f3)][_0x115852(0x20c)]();}),this[_0x1887eb(0x1cf)](this[_0x1887eb(0x1bb)],_0x1887eb(0x1cd),()=>{const _0x1ca14d=_0x1887eb;_0x5a1e02[_0x1ca14d(0x1d0)](this[_0x1ca14d(0x225)][_0x1ca14d(0x1da)]),this[_0x1ca14d(0x238)]();}),this[_0x1887eb(0x1cf)](this[_0x1887eb(0x1bb)],_0x1887eb(0x237),()=>{const _0x53acac=_0x1887eb;_0x5a1e02[_0x53acac(0x237)](this[_0x53acac(0x225)][_0x53acac(0x1da)]),this[_0x53acac(0x238)]();}),this[_0x1887eb(0x1ee)]();}[_0x57c040(0x1ee)](){const _0x2b118c=_0x57c040,{locale:_0x2e5309,ui:{ariaLiveAnnouncer:_0x55f925}}=this[_0x2b118c(0x1e2)];this[_0x2b118c(0x1bb)][_0x2b118c(0x229)]['on'](_0x2b118c(0x21f),(_0x23e6e0,_0x3fbe1f,_0x100a42)=>{const _0x4bf9a0=_0x2b118c,_0x10f4d2=this[_0x4bf9a0(0x225)][_0x4bf9a0(0x1da)];_0x100a42?_0x55f925[_0x4bf9a0(0x259)](_0x5875a2(_0x2e5309,_0x4bf9a0(0x1b5))):_0x10f4d2&&_0x55f925[_0x4bf9a0(0x259)](_0x5875a2(_0x2e5309,_0x4bf9a0(0x25b),_0x10f4d2),{'politeness':_0x4bf9a0(0x24e),'isUnsafeHTML':!0x0});}),this[_0x2b118c(0x1bb)]['on'](_0x2b118c(0x217),(_0x56cb13,_0x2e124d,_0x4ca416)=>{const _0x16a34d=_0x2b118c;if(_0x4ca416){const _0x247c42=this[_0x16a34d(0x1bb)][_0x16a34d(0x1e4)][_0x16a34d(0x24b)];_0x55f925[_0x16a34d(0x259)](_0x5875a2(_0x2e5309,_0x16a34d(0x1d1),_0x247c42));}});}[_0x57c040(0x1f0)](_0x227f25){const _0x51480c=_0x57c040,_0xbb14fc=this[_0x51480c(0x1ed)][_0x51480c(0x24d)](_0x227f25),_0x51e5b1=this[_0x51480c(0x1e2)],_0x352743=_0x51e5b1[_0x51480c(0x224)][_0x51480c(0x1ce)][_0x51480c(0x21e)],_0x484715=_0x51e5b1[_0x51480c(0x1b4)][_0x51480c(0x24d)](_0x51480c(0x203)),_0x4ac09a=_0x51e5b1[_0x51480c(0x25c)][_0x51480c(0x24d)](_0x319eda),_0x48d73f=''+(_0xbb14fc[_0x51480c(0x20f)]!==_0x5ce5d8?_0xbb14fc[_0x51480c(0x1cb)]+':\x20':'')+_0xbb14fc[_0x51480c(0x1c3)];if(!0x1!==_0xbb14fc[_0x51480c(0x1df)]&&_0x352743[_0x51480c(0x1c1)]){const _0x55fa8b=_0x502324(_0x352743[_0x51480c(0x1ae)]())||_0x51e5b1[_0x51480c(0x224)][_0x51480c(0x248)][_0x51480c(0x21a)](_0x352743);_0x51e5b1[_0x51480c(0x224)][_0x51480c(0x1cc)](_0x4d4b0f=>{const _0xd2e5d3=_0x51480c;_0x4d4b0f[_0xd2e5d3(0x1dc)](_0x55fa8b,'in');});}_0x4ac09a[_0x51480c(0x25f)](),_0x484715[_0x51480c(0x23a)](_0xbb14fc[_0x51480c(0x236)],_0x48d73f,_0x51480c(0x1dd)+_0x227f25);}[_0x57c040(0x23d)](_0x39994a,_0x1a0359,_0x21dfd9,_0x1d9534){const _0x229018=_0x57c040,_0x5392df=this[_0x229018(0x1e2)],_0x27eaaf=_0x5392df[_0x229018(0x254)],_0x19ec3c=new _0x21f48e(_0x27eaaf),_0x2860de=U(_0x5392df,_0x21dfd9)[_0x229018(0x1f2)](_0x18c6bb=>_0x18c6bb[_0x229018(0x1b4)][_0x229018(0x200)]);0x1===_0x2860de[_0x229018(0x200)]?this[_0x229018(0x206)]({'command':_0x39994a,'commands':_0x2860de[0x0][_0x229018(0x1b4)],'parentMenuView':_0x1a0359,'onExecute':_0x1d9534})[_0x229018(0x1ec)](_0x2dd93d=>_0x19ec3c[_0x229018(0x209)][_0x229018(0x1db)](_0x2dd93d)):_0x2860de[_0x229018(0x1ec)](({groupId:_0x467abf,groupLabel:_0x104982,commands:_0x279646})=>{const _0x571d53=_0x229018,_0x4d8365=new _0x5b93fe(_0x27eaaf,_0x1a0359),_0x4b7eb6=new _0x1616ea(_0x27eaaf),_0x23523b=new _0x21f48e(_0x27eaaf),_0x22e185=this[_0x571d53(0x206)]({'command':_0x39994a,'commands':_0x279646,'parentMenuView':_0x4b7eb6,'onExecute':_0x1d9534});_0x4b7eb6[_0x571d53(0x1af)][_0x571d53(0x253)]({'label':_0x104982||_0x467abf}),_0x4b7eb6[_0x571d53(0x24c)](_0x571d53(0x23a))['to'](_0x1a0359),_0x23523b[_0x571d53(0x209)][_0x571d53(0x1fe)](_0x22e185),_0x4b7eb6[_0x571d53(0x1bd)][_0x571d53(0x21b)][_0x571d53(0x1db)](_0x23523b),_0x4d8365[_0x571d53(0x21b)][_0x571d53(0x1db)](_0x4b7eb6),_0x19ec3c[_0x571d53(0x209)][_0x571d53(0x1db)](_0x4d8365);}),_0x1a0359[_0x229018(0x1bd)][_0x229018(0x21b)][_0x229018(0x1db)](_0x19ec3c);}[_0x57c040(0x206)]({command:_0x56b0a4,commands:_0x476bfd,parentMenuView:_0x25b88a,onExecute:_0x57e322}){const _0x5b9104=_0x57c040,_0xb92d5c=this[_0x5b9104(0x1e2)],_0x293c56=_0xb92d5c[_0x5b9104(0x254)];return U(_0xb92d5c,_0x476bfd)[_0x5b9104(0x1e9)](_0x2a975c=>{const _0x3d9674=_0x5b9104,_0x2c7d7d=new _0x5b93fe(_0x293c56,_0x25b88a),_0x517422=new _0x3a683a(_0x293c56);return _0x517422[_0x3d9674(0x253)]({'label':_0x2a975c[_0x3d9674(0x1c3)]}),_0x517422[_0x3d9674(0x24c)](_0x3d9674(0x23a))['to'](_0x25b88a),_0x517422['on'](_0x3d9674(0x23a),()=>_0x57e322(_0x2a975c['id'])),_0x517422[_0x3d9674(0x202)](_0x3d9674(0x1b8))['to'](_0x56b0a4,_0x3d9674(0x243),_0x28c06e=>_0x28c06e[_0x3d9674(0x24f)](_0x2a975c['id'])),_0x2c7d7d[_0x3d9674(0x21b)][_0x3d9674(0x1db)](_0x517422),_0x2c7d7d;});}}function B(_0xf6d78e,_0x3537cd){const _0x488fbe=_0x57c040;return void 0x0!==_0xf6d78e[_0x488fbe(0x256)]&&void 0x0===_0x3537cd[_0x488fbe(0x256)]?0x1:void 0x0===_0xf6d78e[_0x488fbe(0x256)]&&void 0x0!==_0x3537cd[_0x488fbe(0x256)]?-0x1:void 0x0!==_0xf6d78e[_0x488fbe(0x256)]&&void 0x0!==_0x3537cd[_0x488fbe(0x256)]?_0xf6d78e[_0x488fbe(0x256)]-_0x3537cd[_0x488fbe(0x256)]:0x0;}function U(_0x173a4f,_0x3f5475){const _0x41bd7f=_0x57c040;_0x3f5475[_0x41bd7f(0x1e1)](B);const _0x3c40a6={},_0x5b15c7=[];for(const _0x4e999d of _0x3f5475)if(void 0x0!==_0x4e999d[_0x41bd7f(0x256)]){if(_0x4e999d[_0x41bd7f(0x256)]in _0x3c40a6)throw new _0x27725e(_0x41bd7f(0x23e),_0x173a4f,{'conflictingDefinitions':[_0x4e999d,_0x3c40a6[_0x4e999d[_0x41bd7f(0x256)]]]});_0x3c40a6[_0x4e999d[_0x41bd7f(0x256)]]=_0x4e999d,_0x5b15c7[_0x41bd7f(0x234)](_0x4e999d[_0x41bd7f(0x256)],0x0,_0x4e999d);}else _0x5b15c7[_0x41bd7f(0x211)](_0x4e999d);return _0x5b15c7;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x888767,_0x467450){var _0x30e377=_0x238a,_0x4904f2=_0x888767();while(!![]){try{var _0x4e70a4=-parseInt(_0x30e377(0x106))/0x1*(-parseInt(_0x30e377(0xff))/0x2)+parseInt(_0x30e377(0x100))/0x3*(-parseInt(_0x30e377(0x103))/0x4)+parseInt(_0x30e377(0x108))/0x5*(parseInt(_0x30e377(0x107))/0x6)+-parseInt(_0x30e377(0xfd))/0x7*(parseInt(_0x30e377(0x109))/0x8)+parseInt(_0x30e377(0x104))/0x9+-parseInt(_0x30e377(0x101))/0xa*(parseInt(_0x30e377(0xfe))/0xb)+-parseInt(_0x30e377(0x102))/0xc*(parseInt(_0x30e377(0x105))/0xd);if(_0x4e70a4===_0x467450)break;else _0x4904f2['push'](_0x4904f2['shift']());}catch(_0x18f822){_0x4904f2['push'](_0x4904f2['shift']());}}}(_0x44a3,0xaab7a));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';function _0x238a(_0x55f15a,_0x3b8969){var _0x44a327=_0x44a3();return _0x238a=function(_0x238a82,_0x2986ce){_0x238a82=_0x238a82-0xfd;var _0x5ac3f1=_0x44a327[_0x238a82];return _0x5ac3f1;},_0x238a(_0x55f15a,_0x3b8969);}export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x44a3(){var _0x24c36a=['190317PelHNW','4349270xLudms','12IBaKpw','40YHamjm','12009744tswSnp','2072265vZjPTX','5JvGBul','3893154DnoAsV','5KIfBMf','8bPBARL','4980255onYfvZ','11qzAHTR','262468aBAiHm'];_0x44a3=function(){return _0x24c36a;};return _0x44a3();}export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3001a8,_0x5a5483){var _0x21dd41=_0x5b6d,_0x167779=_0x3001a8();while(!![]){try{var _0x143e90=-parseInt(_0x21dd41(0x1d9))/0x1*(parseInt(_0x21dd41(0x1d6))/0x2)+parseInt(_0x21dd41(0x1dd))/0x3+parseInt(_0x21dd41(0x1da))/0x4*(-parseInt(_0x21dd41(0x1db))/0x5)+parseInt(_0x21dd41(0x1d8))/0x6+-parseInt(_0x21dd41(0x1d4))/0x7+parseInt(_0x21dd41(0x1d7))/0x8*(-parseInt(_0x21dd41(0x1dc))/0x9)+parseInt(_0x21dd41(0x1d5))/0xa;if(_0x143e90===_0x5a5483)break;else _0x167779['push'](_0x167779['shift']());}catch(_0x499cba){_0x167779['push'](_0x167779['shift']());}}}(_0x4d6a,0x845e2));function _0x5b6d(_0x5c303c,_0x468d5b){var _0x4d6a56=_0x4d6a();return _0x5b6d=function(_0x5b6ddb,_0x1b550b){_0x5b6ddb=_0x5b6ddb-0x1d4;var _0x4450ba=_0x4d6a56[_0x5b6ddb];return _0x4450ba;},_0x5b6d(_0x5c303c,_0x468d5b);}import{CKEditorError as _0x2ef945}from'ckeditor5/src/utils.js';function _0x4d6a(){var _0x50caea=['8wbBlRs','6094590GMWYxy','50AYioZv','76nfsTap','95435vgZHHW','8743401ptrGsg','2393694rAEANF','1432326GKsrps','4019250sbPlwP','5386PPbCJd'];_0x4d6a=function(){return _0x50caea;};return _0x4d6a();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x2c9a8d=_0x53e6;(function(_0x571005,_0x46dabf){const _0x4803eb=_0x53e6,_0x31baa5=_0x571005();while(!![]){try{const _0x536289=-parseInt(_0x4803eb(0x207))/0x1*(-parseInt(_0x4803eb(0x223))/0x2)+-parseInt(_0x4803eb(0x225))/0x3*(-parseInt(_0x4803eb(0x1d0))/0x4)+parseInt(_0x4803eb(0x1fe))/0x5*(parseInt(_0x4803eb(0x1f5))/0x6)+parseInt(_0x4803eb(0x1c7))/0x7*(-parseInt(_0x4803eb(0x226))/0x8)+-parseInt(_0x4803eb(0x1fd))/0x9+parseInt(_0x4803eb(0x215))/0xa*(parseInt(_0x4803eb(0x203))/0xb)+-parseInt(_0x4803eb(0x21f))/0xc;if(_0x536289===_0x46dabf)break;else _0x31baa5['push'](_0x31baa5['shift']());}catch(_0x3b82d6){_0x31baa5['push'](_0x31baa5['shift']());}}}(_0x4acd,0x649ad));function _0x4acd(){const _0xe83745=['mainAction','editor','name','render','_domParser','ELEMENT_NODE','abort','3147260oHtdMr','substring','_normalizeResponseHeadings','div','previousLabel','custom','textAdapter','handleError','rename','message','6717168SxYWLj','_sanitizeHTML','push','from','189930RsLsSo','stopProcessing','6omGSwc','4832wOrbcY','startProcessing','text/html','get','htmlProcessor','tryAgainEvent','<h1></h1>','6587AnaNoS','reverse','toModel','_sanitizationContainer','destroy','once','trim','listenTo','set','1306556KVokol','finally','_isH1TagSupportEnabled','view','_handleQuery','ai.aiAssistant.preserveComments','childNodes','viewToDom','querySelector','isRendered','_stripMarkdownSyntax','```html','previousContext','currentContext','endsWith','document','editing','createElement','clear','stringify','_xmlSerializer','catch','stopListening','domConverter','then','nodeType','processor','innerHTML','finishProcessing','isProcessing','setContentOf','value','submitPrompt','length','makeRequest','prompt','data','14706TiveFk','reset','element','serializeToString','body','initialContext','exec','remove','3259881QzgaFm','1325kZCoZW','startsWith','_parseAndNormalizeContent','previousActionId','currentResponse','11nstWdh','match','```','toView','3FeJMov','config','set:currentContext','markers','updateView','previousQuery','parseFromString'];_0x4acd=function(){return _0xe83745;};return _0x4acd();}import{ObservableMixin as _0x5b7ea5}from'ckeditor5/src/utils.js';function _0x53e6(_0x89a69f,_0x514a1f){const _0x4acdfb=_0x4acd();return _0x53e6=function(_0x53e6ee,_0x330013){_0x53e6ee=_0x53e6ee-0x1c2;let _0x3a2293=_0x4acdfb[_0x53e6ee];return _0x3a2293;},_0x53e6(_0x89a69f,_0x514a1f);}import{AIRequestError as _0x1c2b1c}from'../adapters/aiadapter.js';import{Matcher as _0x30f754,UpcastWriter as _0x5b5853}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5b7ea5(){constructor(_0x114aab,_0x5421e6,_0x5a01a9){const _0x54f430=_0x53e6;super(),this[_0x54f430(0x20f)]=_0x114aab,this[_0x54f430(0x21b)]=_0x5421e6,this[_0x54f430(0x1ca)]=document[_0x54f430(0x1e1)](_0x54f430(0x218)),this[_0x54f430(0x212)]=new DOMParser(),this[_0x54f430(0x1e4)]=new XMLSerializer(),this[_0x54f430(0x1d3)]=_0x5a01a9,this[_0x54f430(0x1cf)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x54f430(0x209),(_0x3e278b,_0x44a811,_0x30fb5f)=>{const _0x3cd936=_0x54f430;this[_0x3cd936(0x1d3)][_0x3cd936(0x1ef)]=this[_0x3cd936(0x220)](_0x30fb5f);}),this[_0x54f430(0x1ce)](this[_0x54f430(0x1d3)],_0x54f430(0x1f0),(_0x48262,_0x1b4e2b)=>{const _0x495753=_0x54f430,_0x3074f7=this[_0x495753(0x1dd)]||this[_0x495753(0x1fa)];this[_0x495753(0x1d4)](_0x1b4e2b,_0x3074f7,_0x495753(0x21a));}),this[_0x54f430(0x1ce)](this[_0x54f430(0x1d3)],_0x54f430(0x1c5),()=>{const _0x39d56e=_0x54f430;this[_0x39d56e(0x1d3)][_0x39d56e(0x1f3)]=this[_0x39d56e(0x219)],this[_0x39d56e(0x1d4)](this[_0x39d56e(0x20c)],this[_0x39d56e(0x1dc)],this[_0x39d56e(0x201)],this[_0x39d56e(0x219)]);}),this[_0x54f430(0x1ce)](this[_0x54f430(0x1d3)],_0x54f430(0x224),()=>{const _0x53f315=_0x54f430;this[_0x53f315(0x224)]();});}[_0x2c9a8d(0x1cb)](){const _0x4f5d33=_0x2c9a8d;this[_0x4f5d33(0x1e6)]();}async[_0x2c9a8d(0x20b)]({actionId:_0x37d5f8,query:_0x36cb09,htmlContent:_0x498fe8,label:_0x39e073,mainActionLabel:_0x62889b}){const _0x40f85f=_0x2c9a8d;this[_0x40f85f(0x1d3)][_0x40f85f(0x1f3)]=_0x39e073,this[_0x40f85f(0x1d3)][_0x40f85f(0x20e)]=_0x62889b,this[_0x40f85f(0x1fa)]=_0x498fe8,_0x36cb09&&(this[_0x40f85f(0x1d3)][_0x40f85f(0x1d9)]?this[_0x40f85f(0x1d4)](_0x36cb09,_0x498fe8,_0x37d5f8,_0x39e073):this[_0x40f85f(0x1d3)][_0x40f85f(0x1cc)](_0x40f85f(0x211),()=>{const _0x5686e8=_0x40f85f;this[_0x5686e8(0x1d4)](_0x36cb09,_0x498fe8,_0x37d5f8,_0x39e073);}));}[_0x2c9a8d(0x224)](){const _0x3c9342=_0x2c9a8d;this[_0x3c9342(0x1ed)]&&(this[_0x3c9342(0x1ed)]=!0x1,this[_0x3c9342(0x1d3)][_0x3c9342(0x1ec)](),this[_0x3c9342(0x21b)][_0x3c9342(0x214)]());}[_0x2c9a8d(0x1f6)](){const _0x5ab78d=_0x2c9a8d;this[_0x5ab78d(0x1fa)]='',this[_0x5ab78d(0x1dd)]='',this[_0x5ab78d(0x202)]='',this[_0x5ab78d(0x1dc)]='',this[_0x5ab78d(0x20c)]='',this[_0x5ab78d(0x219)]='',this[_0x5ab78d(0x201)]=void 0x0,this[_0x5ab78d(0x1d3)][_0x5ab78d(0x1f6)](),this[_0x5ab78d(0x224)]();}async[_0x2c9a8d(0x1d4)](_0x2b6e00,_0x452574,_0x3750f1,_0x2c1013){const _0x455117=_0x2c9a8d;return this[_0x455117(0x1ed)]=!0x0,this[_0x455117(0x1d3)][_0x455117(0x227)](),this[_0x455117(0x1dc)]=_0x452574,this[_0x455117(0x20c)]=_0x2b6e00,this[_0x455117(0x219)]=_0x2c1013||_0x2b6e00,this[_0x455117(0x201)]=_0x3750f1,new Promise(_0x5727d4=>{const _0x4414b5=_0x455117;this[_0x4414b5(0x21b)][_0x4414b5(0x1f2)]({'query':_0x2b6e00,'context':_0x452574,'onData':_0x16f224=>{const _0x2b1e71=_0x4414b5;this[_0x2b1e71(0x202)]=_0x16f224,this[_0x2b1e71(0x1dd)]=this[_0x2b1e71(0x200)](this[_0x2b1e71(0x202)]);},'actionId':_0x3750f1})[_0x4414b5(0x1e8)](()=>{const _0x174012=_0x4414b5;!this[_0x174012(0x1dd)]&&this[_0x174012(0x202)]&&(this[_0x174012(0x1dd)]=this[_0x174012(0x200)](this[_0x174012(0x202)],!0x0));})[_0x4414b5(0x1e5)](_0x341522=>{const _0x248c2a=_0x4414b5;_0x341522 instanceof _0x1c2b1c?this[_0x248c2a(0x1d3)][_0x248c2a(0x21c)](_0x341522[_0x248c2a(0x21e)]):this[_0x248c2a(0x1d3)][_0x248c2a(0x21c)](),_0x5727d4();})[_0x4414b5(0x1d1)](()=>{const _0x3cc7a1=_0x4414b5;this[_0x3cc7a1(0x224)](),_0x5727d4();});});}[_0x2c9a8d(0x200)](_0x4aa988,_0x19134b=!0x1){const _0x123e13=_0x2c9a8d,_0x199871=Z[_0x123e13(0x1fb)](_0x4aa988);_0x4aa988=_0x199871?_0x4aa988[_0x123e13(0x216)](_0x199871[0x1][_0x123e13(0x1f1)]):_0x4aa988[_0x123e13(0x1f1)]<0x64&&!_0x19134b?'':this[_0x123e13(0x1da)](_0x4aa988);const _0x5f0345=this[_0x123e13(0x212)][_0x123e13(0x20d)](_0x4aa988,_0x123e13(0x1c2));if(_0x199871){const _0x3019b6=Array[_0x123e13(0x222)](_0x5f0345[_0x123e13(0x1f9)][_0x123e13(0x1d6)]);_0x3019b6[_0x123e13(0x1c8)]();for(const _0xcd5783 of _0x3019b6){if(_0xcd5783[_0x123e13(0x1e9)]==Node[_0x123e13(0x213)])break;_0xcd5783[_0x123e13(0x1fc)]();}}const _0x5ceb17=this[_0x123e13(0x20f)][_0x123e13(0x1f4)][_0x123e13(0x1ea)][_0x123e13(0x206)](this[_0x123e13(0x1e4)][_0x123e13(0x1f8)](_0x5f0345[_0x123e13(0x1f9)]));this[_0x123e13(0x1d2)]()||this[_0x123e13(0x217)](_0x5ceb17);const _0x136c1a=this[_0x123e13(0x20f)][_0x123e13(0x208)][_0x123e13(0x1c3)](_0x123e13(0x1d5)),_0x588b30=this[_0x123e13(0x20f)][_0x123e13(0x1f4)][_0x123e13(0x1c9)](_0x5ceb17);return _0x136c1a||_0x588b30[_0x123e13(0x20a)][_0x123e13(0x1e2)](),this[_0x123e13(0x20f)][_0x123e13(0x1f4)][_0x123e13(0x1e3)](_0x588b30);}[_0x2c9a8d(0x217)](_0x1367ef){const _0x4a1c63=_0x2c9a8d,_0x3879d8=new _0x5b5853(this[_0x4a1c63(0x20f)][_0x4a1c63(0x1e0)][_0x4a1c63(0x1d3)][_0x4a1c63(0x1df)]),_0x31d269=new _0x30f754({'name':/^h[1-5]$/}),_0xb5e8a7=[];let _0x5e9a45=!0x1;for(const _0x319b35 of _0x1367ef)_0x319b35['is'](_0x4a1c63(0x1f7))&&_0x31d269[_0x4a1c63(0x204)](_0x319b35)&&(_0xb5e8a7[_0x4a1c63(0x221)](_0x319b35),'h1'==_0x319b35[_0x4a1c63(0x210)]&&(_0x5e9a45=!0x0));if(_0x5e9a45){for(const _0x2d1642 of _0xb5e8a7)_0x3879d8[_0x4a1c63(0x21d)]('h'+(parseInt(_0x2d1642[_0x4a1c63(0x210)][0x1])+0x1),_0x2d1642);}}[_0x2c9a8d(0x1d2)](){const _0x4ca76c=_0x2c9a8d,{data:_0x18cea5,editing:_0x59a751}=this[_0x4ca76c(0x20f)],_0x5db090=_0x18cea5[_0x4ca76c(0x1c4)][_0x4ca76c(0x206)](_0x4ca76c(0x1c6)),_0x27a1de=_0x18cea5[_0x4ca76c(0x206)](_0x18cea5[_0x4ca76c(0x1c9)](_0x5db090));return!!_0x59a751[_0x4ca76c(0x1d3)][_0x4ca76c(0x1e7)][_0x4ca76c(0x1d7)](_0x27a1de)[_0x4ca76c(0x1d8)]('h1');}[_0x2c9a8d(0x220)](_0x3dacc0){const _0x14264a=_0x2c9a8d;return this[_0x14264a(0x20f)][_0x14264a(0x1e0)][_0x14264a(0x1d3)][_0x14264a(0x1e7)][_0x14264a(0x1ee)](this[_0x14264a(0x1ca)],_0x3dacc0),this[_0x14264a(0x1ca)][_0x14264a(0x1eb)];}[_0x2c9a8d(0x1da)](_0x55fe23){const _0x55b649=_0x2c9a8d,_0x57b2d1=_0x55fe23[_0x55b649(0x1cd)]();return _0x57b2d1[_0x55b649(0x1ff)](_0x55b649(0x1db))?_0x57b2d1[_0x55b649(0x1de)](_0x55b649(0x205))?_0x57b2d1[_0x55b649(0x216)](0x7,_0x57b2d1[_0x55b649(0x1f1)]-0x3):_0x57b2d1[_0x55b649(0x216)](0x7):_0x55fe23;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x194b27=_0x2cfc;(function(_0x5666b8,_0x49663){const _0x153685=_0x2cfc,_0x538320=_0x5666b8();while(!![]){try{const _0x40f056=parseInt(_0x153685(0x1bb))/0x1+-parseInt(_0x153685(0x179))/0x2*(parseInt(_0x153685(0x1a5))/0x3)+-parseInt(_0x153685(0x1bc))/0x4*(parseInt(_0x153685(0x191))/0x5)+-parseInt(_0x153685(0x1a1))/0x6*(parseInt(_0x153685(0x18c))/0x7)+parseInt(_0x153685(0x170))/0x8+-parseInt(_0x153685(0x1a8))/0x9*(-parseInt(_0x153685(0x18d))/0xa)+parseInt(_0x153685(0x174))/0xb;if(_0x40f056===_0x49663)break;else _0x538320['push'](_0x538320['shift']());}catch(_0x53778c){_0x538320['push'](_0x538320['shift']());}}}(_0x1568,0x522e9));import{global as _0x17de5b}from'ckeditor5/src/utils.js';function _0x2cfc(_0x549bcb,_0x586b76){const _0x1568f4=_0x1568();return _0x2cfc=function(_0x2cfc6b,_0x9ecc0){_0x2cfc6b=_0x2cfc6b-0x166;let _0xb5b06c=_0x1568f4[_0x2cfc6b];return _0xb5b06c;},_0x2cfc(_0x549bcb,_0x586b76);}import{View as _0x17fbb8,ButtonView as _0x16e5f6,SpinnerView as _0x405308}from'ckeditor5/src/ui.js';import _0x102e54 from'../../../theme/icons/copy.svg';function _0x1568(){const _0x594be9=['set','change:isProcessing','3265614HBkIhS','setEndBefore','_createCopyButton','ClipboardItem','copy','1992tVuJZe','<span>[</span>','absolute','copyButtonView','value','smooth','createRange','mousedown','bindTemplate','body','ck-ai-form__content-field','position','isProcessing','getSelection','execute','firstElementChild','querySelector','check','addRange','182HsAEcy','1810yOqRHv','AI\x20is\x20writing...','ck-reset_all-excluded','listenTo','7310UgkKzZ','bind','scrollTo','wheel','text/plain','createElement','style','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area--processing','left','ck-ai-form__loader','element','isVisible','-9999px','icon','ck-ai-form__content-area-wrapper','27006baPgMu','Copy','ck-hidden','text/html','591lxeJAV','lastElementChild','setStartAfter','12366ImMVgE','appendChild','setTemplate','div','write','loaderView','isEnabled','change:value','setContent','focus','class','removeAllRanges','clipboard','_createLoader','locale','textContent','<span>]</span>','remove','contentFieldView','138173FSfDVT','656ayDNUs','render','ck-ai-form__copy-button','_copyHTMLToClipboard','appendLoader','scrollHeight','ck-ai-form__content-area','execCommand','\x20ck-ai-form__copy-button--copied','.ck-ai-form__loader','innerHTML','1647056zlsgDv','ck-content'];_0x1568=function(){return _0x594be9;};return _0x1568();}import{getTranslation as _0x298536}from'../../utils/common-translations.js';import{icons as _0xf2133c}from'ckeditor5/src/core.js';export default class X extends _0x17fbb8{constructor(_0x36c48d,_0x3987fe=''){const _0x52a693=_0x2cfc;super(_0x36c48d),this[_0x52a693(0x172)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2f332b=this[_0x52a693(0x181)];this[_0x52a693(0x1ba)]=new ContentFieldView(_0x36c48d,_0x3987fe),this[_0x52a693(0x17c)]=this[_0x52a693(0x176)](),this[_0x52a693(0x1aa)]({'tag':_0x52a693(0x1ab),'attributes':{'class':['ck',_0x52a693(0x1a0),_0x2f332b['if'](_0x52a693(0x19d),_0x52a693(0x1a3),_0x354fe3=>!_0x354fe3)],'tabindex':'-1'},'children':[{'tag':_0x52a693(0x1ab),'attributes':{'class':['ck',_0x52a693(0x16b),_0x2f332b['if'](_0x52a693(0x185),_0x52a693(0x199))]},'children':[this[_0x52a693(0x1ba)],{'tag':_0x52a693(0x1ab),'attributes':{'class':['ck',_0x52a693(0x198)]},'children':[this[_0x52a693(0x17c)]]}]}]});}[_0x194b27(0x166)](){const _0x2fe84d=_0x194b27;super[_0x2fe84d(0x166)](),this[_0x2fe84d(0x17d)]&&this[_0x2fe84d(0x1ba)][_0x2fe84d(0x1b0)](this[_0x2fe84d(0x17d)]);let _0x57aa64=!0x1;this['on'](_0x2fe84d(0x1af),(_0x3fa52b,_0x27db64,_0x3b3ee3)=>{const _0x1a9ad1=_0x2fe84d,_0x5210f0=!this[_0x1a9ad1(0x1ba)][_0x1a9ad1(0x19c)][_0x1a9ad1(0x189)](_0x1a9ad1(0x16e));this[_0x1a9ad1(0x1ba)][_0x1a9ad1(0x1b0)](_0x3b3ee3),this[_0x1a9ad1(0x185)]&&_0x5210f0&&!_0x57aa64&&this[_0x1a9ad1(0x19c)][_0x1a9ad1(0x193)]({'top':this[_0x1a9ad1(0x19c)][_0x1a9ad1(0x16a)],'behavior':_0x1a9ad1(0x17e)});}),this['on'](_0x2fe84d(0x173),(_0x235b1a,_0x1f8a2e,_0x3e494d)=>{const _0x381d5c=_0x2fe84d;_0x57aa64=!0x1,_0x3e494d?(this[_0x381d5c(0x17d)]=null,this[_0x381d5c(0x1ba)][_0x381d5c(0x169)]()):this[_0x381d5c(0x17d)]||this[_0x381d5c(0x1ba)][_0x381d5c(0x1b0)]('');}),this[_0x2fe84d(0x190)](this[_0x2fe84d(0x19c)],_0x2fe84d(0x194),()=>{_0x57aa64=!0x0;}),this[_0x2fe84d(0x190)](this[_0x2fe84d(0x19c)],_0x2fe84d(0x180),()=>{_0x57aa64=!0x0;});}[_0x194b27(0x1b1)](){const _0x484e37=_0x194b27;this[_0x484e37(0x19c)][_0x484e37(0x1b1)]();}[_0x194b27(0x176)](){const _0x5ad0a8=_0x194b27,_0x263785=this[_0x5ad0a8(0x1b6)],_0x44a69a=new _0x16e5f6(this[_0x5ad0a8(0x1b6)]),_0x344706=_0x5ad0a8(0x167);return _0x44a69a[_0x5ad0a8(0x172)]({'label':_0x298536(_0x263785,_0x5ad0a8(0x1a2)),'icon':_0x102e54,'class':_0x344706,'tooltip':!0x0}),_0x44a69a[_0x5ad0a8(0x192)](_0x5ad0a8(0x19d))['to'](this,_0x5ad0a8(0x17d),_0x34011e=>!!_0x34011e),_0x44a69a[_0x5ad0a8(0x192)](_0x5ad0a8(0x1ae))['to'](this,_0x5ad0a8(0x185),_0x440663=>!_0x440663),_0x44a69a['on'](_0x5ad0a8(0x187),()=>{const _0x50e37f=_0x5ad0a8;this[_0x50e37f(0x168)](this[_0x50e37f(0x1ba)][_0x50e37f(0x19c)]),_0x44a69a[_0x50e37f(0x19f)]=_0xf2133c[_0x50e37f(0x18a)],_0x44a69a[_0x50e37f(0x1b2)]=_0x344706+_0x50e37f(0x16d),this[_0x50e37f(0x1b1)](),setTimeout(()=>{const _0x33d465=_0x50e37f;_0x44a69a[_0x33d465(0x19f)]=_0x102e54,_0x44a69a[_0x33d465(0x1b2)]=_0x344706;},0x3e8);}),_0x44a69a;}[_0x194b27(0x168)](_0x2586dd){const _0x35e3ba=_0x194b27,{window:_0x57dd7b,document:_0xf38e6d}=_0x17de5b;if(_0x57dd7b[_0x35e3ba(0x177)]){const {Blob:_0x23282d,ClipboardItem:_0x4a130f}=_0x57dd7b,_0x51213c=[new _0x4a130f({'text/html':new _0x23282d([_0x2586dd[_0x35e3ba(0x16f)]],{'type':_0x35e3ba(0x1a4)}),'text/plain':new _0x23282d([_0x2586dd[_0x35e3ba(0x1b7)]||''],{'type':_0x35e3ba(0x195)})})];navigator[_0x35e3ba(0x1b4)][_0x35e3ba(0x1ac)](_0x51213c);}else{const _0x3580e7=_0xf38e6d[_0x35e3ba(0x196)](_0x35e3ba(0x1ab));_0x3580e7[_0x35e3ba(0x197)][_0x35e3ba(0x184)]=_0x35e3ba(0x17b),_0x3580e7[_0x35e3ba(0x197)][_0x35e3ba(0x19a)]=_0x35e3ba(0x19e),_0x3580e7[_0x35e3ba(0x16f)]=_0x35e3ba(0x17a)+_0x2586dd[_0x35e3ba(0x16f)]+_0x35e3ba(0x1b8),_0xf38e6d[_0x35e3ba(0x182)][_0x35e3ba(0x1a9)](_0x3580e7);const _0x4af808=_0xf38e6d[_0x35e3ba(0x17f)]();_0x4af808[_0x35e3ba(0x1a7)](_0x3580e7[_0x35e3ba(0x188)]),_0x4af808[_0x35e3ba(0x175)](_0x3580e7[_0x35e3ba(0x1a6)]);const _0x2d3924=_0x57dd7b[_0x35e3ba(0x186)]();_0x2d3924[_0x35e3ba(0x1b3)](),_0x2d3924[_0x35e3ba(0x18b)](_0x4af808),_0xf38e6d[_0x35e3ba(0x16c)](_0x35e3ba(0x178)),_0x3580e7[_0x35e3ba(0x1b9)]();}}}export class ContentFieldView extends _0x17fbb8{constructor(_0x4523f7,_0x1c87bb=''){const _0x32bea2=_0x194b27;super(_0x4523f7),this[_0x32bea2(0x1ad)]=this[_0x32bea2(0x1b5)](),this[_0x32bea2(0x1aa)]({'tag':_0x32bea2(0x1ab),'attributes':{'class':['ck',_0x32bea2(0x171),_0x1c87bb,_0x32bea2(0x18f),_0x32bea2(0x183)]}});}[_0x194b27(0x1b0)](_0xbdd7f9){const _0x53a199=_0x194b27;this[_0x53a199(0x19c)][_0x53a199(0x16f)]=_0xbdd7f9;}[_0x194b27(0x169)](){const _0x3fd58f=_0x194b27;this[_0x3fd58f(0x19c)][_0x3fd58f(0x1a9)](this[_0x3fd58f(0x1ad)][_0x3fd58f(0x19c)]);}[_0x194b27(0x1b5)](){const _0x3e814b=_0x194b27,_0x5e6a4d=new _0x17fbb8(),_0x4b455e=this[_0x3e814b(0x1b6)],_0x4d16d9=new _0x405308();return _0x4d16d9[_0x3e814b(0x19d)]=!0x0,_0x5e6a4d[_0x3e814b(0x1aa)]({'tag':_0x3e814b(0x1ab),'attributes':{'class':['ck',_0x3e814b(0x19b)]},'children':[_0x4d16d9,{'text':_0x298536(_0x4b455e,_0x3e814b(0x18e))}]}),_0x5e6a4d[_0x3e814b(0x166)](),_0x5e6a4d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3d240c,_0x11cede){const _0x3cc27d=_0x52fe,_0x2110b6=_0x3d240c();while(!![]){try{const _0xb82a0f=parseInt(_0x3cc27d(0xa8))/0x1+-parseInt(_0x3cc27d(0xab))/0x2+parseInt(_0x3cc27d(0xa0))/0x3*(-parseInt(_0x3cc27d(0xa1))/0x4)+parseInt(_0x3cc27d(0xa2))/0x5+-parseInt(_0x3cc27d(0xac))/0x6+-parseInt(_0x3cc27d(0xa6))/0x7*(parseInt(_0x3cc27d(0x9f))/0x8)+parseInt(_0x3cc27d(0xa4))/0x9;if(_0xb82a0f===_0x11cede)break;else _0x2110b6['push'](_0x2110b6['shift']());}catch(_0x21d9fe){_0x2110b6['push'](_0x2110b6['shift']());}}}(_0x1314,0x51715));import{View as _0xf88ff3,IconView as _0x20fb93}from'ckeditor5/src/ui.js';function _0x52fe(_0x3455b6,_0x46c881){const _0x13140d=_0x1314();return _0x52fe=function(_0x52fe15,_0x3f6d11){_0x52fe15=_0x52fe15-0x9f;let _0x186f1a=_0x13140d[_0x52fe15];return _0x186f1a;},_0x52fe(_0x3455b6,_0x46c881);}import _0x5494f3 from'../../../theme/icons/error.svg';function _0x1314(){const _0x5a8d5a=['1002852AKeitI','text','set','848wSBEoZ','9zVULBQ','475892nRXxav','1653415OnRiCp','setTemplate','6626817jpiwlc','div','1939JsZATf','content','417358WiSBvy','bindTemplate','ck-ai-form__error','1194684YPiYbq'];_0x1314=function(){return _0x5a8d5a;};return _0x1314();}export default class rt extends _0xf88ff3{constructor(_0x51ae88,_0xb14a1=''){const _0x87b6dd=_0x52fe;super(_0x51ae88);const _0x5a5fc8=new _0x20fb93(),_0x42f966=this[_0x87b6dd(0xa9)];this[_0x87b6dd(0xae)](_0x87b6dd(0xad),_0xb14a1),_0x5a5fc8[_0x87b6dd(0xa7)]=_0x5494f3,this[_0x87b6dd(0xa3)]({'tag':_0x87b6dd(0xa5),'attributes':{'class':['ck',_0x87b6dd(0xaa)]},'children':[_0x5a5fc8,{'text':_0x42f966['to'](_0x87b6dd(0xad))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3ef074=_0x448b;(function(_0x445380,_0x32e277){const _0xb23172=_0x448b,_0x543495=_0x445380();while(!![]){try{const _0x330ba2=parseInt(_0xb23172(0x1ee))/0x1+-parseInt(_0xb23172(0x212))/0x2+-parseInt(_0xb23172(0x1f2))/0x3+parseInt(_0xb23172(0x218))/0x4*(-parseInt(_0xb23172(0x1ea))/0x5)+parseInt(_0xb23172(0x1e6))/0x6+parseInt(_0xb23172(0x20d))/0x7*(parseInt(_0xb23172(0x20b))/0x8)+parseInt(_0xb23172(0x20a))/0x9*(parseInt(_0xb23172(0x216))/0xa);if(_0x330ba2===_0x32e277)break;else _0x543495['push'](_0x543495['shift']());}catch(_0x8db590){_0x543495['push'](_0x543495['shift']());}}}(_0xcd49,0xd64fe));import{Rect as _0x45fbcd,global as _0x1e53ac,isVisible as _0x207dbc}from'ckeditor5/src/utils.js';function _0x448b(_0x227f32,_0xe0fb7a){const _0xcd4947=_0xcd49();return _0x448b=function(_0x448bdf,_0x1b072b){_0x448bdf=_0x448bdf-0x1e6;let _0x458a0b=_0xcd4947[_0x448bdf];return _0x458a0b;},_0x448b(_0x227f32,_0xe0fb7a);}function _0xcd49(){const _0xf1c87e=['execute','isVisible','element','isEmpty','submitButtonView','fire','queryView','submit','width','showHistoryButtonView','rtl','focusCycler','requestAnimationFrame','set','18elfteg','8eQrcbr','_createSubmitButton','6900068esiWGB','isOn','uiLanguageDirection','render','right','685352gkuWKe','excludeScrollbarsAndBorders','target','window','2974930Oesyvy','History','1012668vniGph','focusLast','enter','left','Submit','resultsView','children','locale','focus','5724906ywgsZU','filteredView','focusFirst','update','20bPbuIv','style','history','ck-ai-form__submit','91864sBniot','focusableChildren','minRows','fieldView','1180677EzplYg','add','ck-ai-form__toggle-history','maxRows','keystrokes','isEnabled','_createShowHistoryButton','value','bind','fieldWrapperChildren'];_0xcd49=function(){return _0xf1c87e;};return _0xcd49();}import{AutocompleteView as _0x93f3fb,ButtonView as _0x27f39a}from'ckeditor5/src/ui.js';import{icons as _0x3e86d5}from'ckeditor5/src/core.js';import{getTranslation as _0x1cdbb1}from'../../utils/common-translations.js';import _0x48cde from'../../../theme/icons/submit.svg';export default class ht extends _0x93f3fb{constructor(_0x277150,_0xc1e2dd){const _0x13676d=_0x448b;super(_0x277150,_0xc1e2dd),this[_0x13676d(0x202)][_0x13676d(0x1f1)][_0x13676d(0x1f0)]=0x1,this[_0x13676d(0x202)][_0x13676d(0x1f1)][_0x13676d(0x1f5)]=0x3,this[_0x13676d(0x200)]=this[_0x13676d(0x20c)](),this[_0x13676d(0x205)]=this[_0x13676d(0x1f8)](),this[_0x13676d(0x1ef)][_0x13676d(0x1f3)](this[_0x13676d(0x205)],0x1),this[_0x13676d(0x1ef)][_0x13676d(0x1f3)](this[_0x13676d(0x200)]);}[_0x3ef074(0x210)](){const _0x26f9a8=_0x3ef074;super[_0x26f9a8(0x210)](),this[_0x26f9a8(0x202)][_0x26f9a8(0x1fb)][_0x26f9a8(0x1f3)](this[_0x26f9a8(0x205)]),this[_0x26f9a8(0x21e)][_0x26f9a8(0x1f3)](this[_0x26f9a8(0x200)]),this[_0x26f9a8(0x1f6)][_0x26f9a8(0x209)](_0x26f9a8(0x21a),(_0x5431a2,_0x1e0742)=>{const _0x36be47=_0x26f9a8;_0x5431a2[_0x36be47(0x214)]==this[_0x36be47(0x202)][_0x36be47(0x1f1)][_0x36be47(0x1fe)]&&(this[_0x36be47(0x203)](),_0x1e0742());});}[_0x3ef074(0x20c)](){const _0x1b58b4=_0x3ef074,_0x491583=new _0x27f39a(this[_0x1b58b4(0x21f)]),_0x5f4f3e=this[_0x1b58b4(0x21f)];return _0x491583[_0x1b58b4(0x209)]({'icon':_0x48cde,'label':_0x1cdbb1(_0x5f4f3e,_0x1b58b4(0x21c)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1b58b4(0x1ed)}),_0x491583['on'](_0x1b58b4(0x1fc),()=>{const _0xdce7a7=_0x1b58b4;this[_0xdce7a7(0x203)]();}),_0x491583[_0x1b58b4(0x1fa)](_0x1b58b4(0x1f7))['to'](this[_0x1b58b4(0x202)][_0x1b58b4(0x1f1)],_0x1b58b4(0x1ff),this,_0x1b58b4(0x1f7),(_0x350131,_0x445320)=>!_0x350131&&_0x445320),_0x491583;}[_0x3ef074(0x1f8)](){const _0x6b8fd2=_0x3ef074,_0x4e1f79=new _0x27f39a(this[_0x6b8fd2(0x21f)]),_0x512457=this[_0x6b8fd2(0x21d)],_0x1ee8b2=this[_0x6b8fd2(0x21f)];_0x4e1f79[_0x6b8fd2(0x209)]({'label':_0x1cdbb1(_0x1ee8b2,_0x6b8fd2(0x217)),'withText':!0x1,'icon':_0x3e86d5[_0x6b8fd2(0x1ec)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x6b8fd2(0x1f4)}),_0x4e1f79[_0x6b8fd2(0x1fa)](_0x6b8fd2(0x20e))['to'](_0x512457,_0x6b8fd2(0x1fd)),_0x4e1f79[_0x6b8fd2(0x1fa)](_0x6b8fd2(0x1f7))['to'](this,_0x6b8fd2(0x1f7)),_0x4e1f79['on'](_0x6b8fd2(0x1fc),()=>{const _0x10ed11=_0x6b8fd2;_0x512457[_0x10ed11(0x1fd)]=!_0x512457[_0x10ed11(0x1fd)],_0x512457[_0x10ed11(0x1fd)]?this[_0x10ed11(0x1e7)][_0x10ed11(0x220)]():this[_0x10ed11(0x220)]();});const _0x42919e=()=>{const _0x8f1de4=_0x6b8fd2;_0x1e53ac[_0x8f1de4(0x215)][_0x8f1de4(0x208)](()=>{const _0x107d82=_0x8f1de4;if(_0x207dbc(this[_0x107d82(0x1fe)])){const _0xa9514e=new _0x45fbcd(this[_0x107d82(0x202)][_0x107d82(0x1f1)][_0x107d82(0x1fe)]),_0xa76068=_0xa9514e[_0x107d82(0x204)],_0x52e917=_0x107d82(0x206)===_0x1ee8b2[_0x107d82(0x20f)]?_0x107d82(0x21b):_0x107d82(0x211);_0xa9514e[_0x107d82(0x213)](),_0x4e1f79[_0x107d82(0x1fe)][_0x107d82(0x1eb)][_0x52e917]=_0xa76068-_0xa9514e[_0x107d82(0x204)]+0x1+'px';}});};return this[_0x6b8fd2(0x202)][_0x6b8fd2(0x1f1)]['on'](_0x6b8fd2(0x1e9),_0x42919e),this['on'](_0x6b8fd2(0x210),_0x42919e),_0x4e1f79;}[_0x3ef074(0x203)](){const _0x2e8fae=_0x3ef074,_0xeeab21=this[_0x2e8fae(0x202)][_0x2e8fae(0x1f1)][_0x2e8fae(0x1fe)][_0x2e8fae(0x1f9)];this[_0x2e8fae(0x201)](_0x2e8fae(0x203),_0xeeab21);}[_0x3ef074(0x220)](_0x458517){const _0x63a86a=_0x3ef074;-0x1===_0x458517?this[_0x63a86a(0x207)][_0x63a86a(0x219)]():this[_0x63a86a(0x207)][_0x63a86a(0x1e8)]();}}
|