@ckeditor/ckeditor5-ai 44.2.0-alpha.15 → 44.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4282d8=_0x5ca1;(function(_0x591fb5,_0x5d2aa6){const _0x2eadab=_0x5ca1,_0x5e4463=_0x591fb5();while(!![]){try{const _0x28fbdf=parseInt(_0x2eadab(0x1fe))/0x1+parseInt(_0x2eadab(0x201))/0x2+parseInt(_0x2eadab(0x228))/0x3*(-parseInt(_0x2eadab(0x1c1))/0x4)+parseInt(_0x2eadab(0x1c4))/0x5+-parseInt(_0x2eadab(0x203))/0x6*(parseInt(_0x2eadab(0x1f1))/0x7)+parseInt(_0x2eadab(0x20d))/0x8*(-parseInt(_0x2eadab(0x21c))/0x9)+parseInt(_0x2eadab(0x221))/0xa*(parseInt(_0x2eadab(0x217))/0xb);if(_0x28fbdf===_0x5d2aa6)break;else _0x5e4463['push'](_0x5e4463['shift']());}catch(_0x46ca36){_0x5e4463['push'](_0x5e4463['shift']());}}}(_0x25af,0x591ae));import{Plugin as _0x55841a}from'ckeditor5/src/core.js';import _0x1b183c from'./aiassistantui.js';import _0x75f56d from'./aiassistantediting.js';function _0x5ca1(_0x280538,_0x2aa319){const _0x25af8f=_0x25af();return _0x5ca1=function(_0x5ca158,_0x332968){_0x5ca158=_0x5ca158-0x1be;let _0x2dd19b=_0x25af8f[_0x5ca158];return _0x2dd19b;},_0x5ca1(_0x280538,_0x2aa319);}import{getTranslation as _0x21679d}from'./utils/common-translations.js';function _0x25af(){const _0xe0ecab=['changeTone','5570xkXcJK','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Casual','Hindi','Improve\x20writing','AIAssistant','Edit\x20or\x20review','68907GBMGix','isOfficialPlugin','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','makeShorter','translateGerman','direct','ai.aiAssistant.removeCommands','Translate\x20the\x20content\x20to\x20Hindi\x20language.','ai.aiAssistant.commands','120VDbKHz','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','2516065hzxpuK','ai.aiAssistant.extraCommandGroups','translateChinese','includes','professional','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Business','improveWriting','simplifyLanguage','translateFrench','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Change\x20style','locale','translateArabic','get','confident','Translate\x20the\x20content\x20to\x20Arabic\x20language.','summarize','poetic','editOrReview','Friendly','concat','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Spanish','makeLonger','Generate\x20from\x20selection','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','define','Direct','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Legal','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','isPremiumPlugin','Make\x20shorter','casual','translate','Arabic','groupId','Translate\x20the\x20content\x20to\x20English\x20language.','forEach','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','find','German','41587maQeJk','translateHindi','Journalism','translateSpanish','Simplified\x20Chinese','Poetic','ai.aiAssistant.preserveComments','Make\x20longer','Professional','continue','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','set','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','696405TvOuJL','Continue','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','1196202aGqCtI','Simplify\x20language','534mfrecr','Confident','journalism','business','changeStyle','push','Translate\x20the\x20content\x20to\x20French\x20language.','Translate','friendly','config','75856zCYCIc','translatePortuguese','translateEnglish','Change\x20tone','pluginName','Translate\x20the\x20content\x20to\x20Spanish\x20language.','generate','English','filter','commands','2684MtEGbq','requires','Translate\x20the\x20content\x20to\x20German\x20language.','French','legal','333BNFyWH','Portuguese','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Summarize'];_0x25af=function(){return _0xe0ecab;};return _0x25af();}import{normalizeCommandsConfig as _0x20f8d0}from'./utils/normalizecommandsconfig.js';export default class r extends _0x55841a{static get[_0x4282d8(0x218)](){return[_0x1b183c,_0x75f56d];}static get[_0x4282d8(0x211)](){const _0x37b417=_0x4282d8;return _0x37b417(0x226);}static get[_0x4282d8(0x229)](){return!0x0;}static get[_0x4282d8(0x1e6)](){return!0x0;}constructor(_0x5b7f83){const _0x4f2554=_0x4282d8;super(_0x5b7f83);const _0x13a023=_0x5b7f83[_0x4f2554(0x20c)],_0xf5e10c=_0x5b7f83[_0x4f2554(0x1d1)];_0x13a023[_0x4f2554(0x1e1)](_0x4f2554(0x1f7),!0x0),_0x13a023[_0x4f2554(0x1e1)](_0x4f2554(0x1c0),getDefaultCommands(_0xf5e10c)),_0x13a023[_0x4f2554(0x1e1)](_0x4f2554(0x1c5),[]),_0x13a023[_0x4f2554(0x1e1)](_0x4f2554(0x1be),[]);let _0x17c6a6=_0x20f8d0(_0x13a023[_0x4f2554(0x1d3)](_0x4f2554(0x1c0)),_0xf5e10c);const _0x30949=_0x13a023[_0x4f2554(0x1d3)](_0x4f2554(0x1c5)),_0xc66c3c=_0x13a023[_0x4f2554(0x1d3)](_0x4f2554(0x1be));_0x30949[_0x4f2554(0x1ed)](_0x44fcae=>{const _0x22d3e8=_0x4f2554,_0x17a2d4=_0x17c6a6[_0x22d3e8(0x1ef)](_0x5925a7=>_0x5925a7[_0x22d3e8(0x1eb)]===_0x44fcae[_0x22d3e8(0x1eb)]);_0x17a2d4?_0x17a2d4[_0x22d3e8(0x216)]=_0x17a2d4[_0x22d3e8(0x216)][_0x22d3e8(0x1da)](_0x44fcae[_0x22d3e8(0x216)]):_0x17c6a6[_0x22d3e8(0x208)](_0x44fcae);}),_0x17c6a6=_0x17c6a6[_0x4f2554(0x215)](_0x46cfe7=>!_0xc66c3c[_0x4f2554(0x1c7)](_0x46cfe7[_0x4f2554(0x1eb)])),_0x17c6a6[_0x4f2554(0x1ed)](_0x1bb198=>{const _0x4dd295=_0x4f2554;_0x1bb198[_0x4dd295(0x216)]=_0x1bb198[_0x4dd295(0x216)][_0x4dd295(0x215)](_0xc071aa=>!_0xc66c3c[_0x4dd295(0x1c7)](_0xc071aa['id']));}),_0x13a023[_0x4f2554(0x1fc)](_0x4f2554(0x1c0),_0x17c6a6);}}export function getDefaultCommands(_0x5e899e){const _0x52f692=_0x4282d8;return[{'groupId':_0x52f692(0x1d8),'groupLabel':_0x21679d(_0x5e899e,_0x52f692(0x227)),'commands':[{'id':_0x52f692(0x1cb),'label':_0x21679d(_0x5e899e,_0x52f692(0x225)),'prompt':_0x52f692(0x1e3)},{'id':_0x52f692(0x22b),'label':_0x21679d(_0x5e899e,_0x52f692(0x1e7)),'prompt':_0x52f692(0x1cf)},{'id':_0x52f692(0x1de),'label':_0x21679d(_0x5e899e,_0x52f692(0x1f8)),'prompt':_0x52f692(0x1ce)},{'id':_0x52f692(0x1cc),'label':_0x21679d(_0x5e899e,_0x52f692(0x202)),'prompt':_0x52f692(0x1c9)}]},{'groupId':_0x52f692(0x213),'groupLabel':_0x21679d(_0x5e899e,_0x52f692(0x1df)),'commands':[{'id':_0x52f692(0x1d6),'label':_0x21679d(_0x5e899e,_0x52f692(0x21f)),'prompt':_0x52f692(0x21e)},{'id':_0x52f692(0x1fa),'label':_0x21679d(_0x5e899e,_0x52f692(0x1ff)),'prompt':_0x52f692(0x1db)}]},{'groupId':_0x52f692(0x220),'groupLabel':_0x21679d(_0x5e899e,_0x52f692(0x210)),'commands':[{'id':_0x52f692(0x1c8),'label':_0x21679d(_0x5e899e,_0x52f692(0x1f9)),'prompt':_0x52f692(0x1c2)},{'id':_0x52f692(0x1e8),'label':_0x21679d(_0x5e899e,_0x52f692(0x223)),'prompt':_0x52f692(0x1e5)},{'id':_0x52f692(0x22d),'label':_0x21679d(_0x5e899e,_0x52f692(0x1e2)),'prompt':_0x52f692(0x1ee)},{'id':_0x52f692(0x1d4),'label':_0x21679d(_0x5e899e,_0x52f692(0x204)),'prompt':_0x52f692(0x1fb)},{'id':_0x52f692(0x20b),'label':_0x21679d(_0x5e899e,_0x52f692(0x1d9)),'prompt':_0x52f692(0x1c3)}]},{'groupId':_0x52f692(0x207),'groupLabel':_0x21679d(_0x5e899e,_0x52f692(0x1d0)),'commands':[{'id':_0x52f692(0x206),'label':_0x21679d(_0x5e899e,_0x52f692(0x1ca)),'prompt':_0x52f692(0x1e0)},{'id':_0x52f692(0x21b),'label':_0x21679d(_0x5e899e,_0x52f692(0x1e4)),'prompt':_0x52f692(0x1dc)},{'id':_0x52f692(0x205),'label':_0x21679d(_0x5e899e,_0x52f692(0x1f3)),'prompt':_0x52f692(0x200)},{'id':_0x52f692(0x1d7),'label':_0x21679d(_0x5e899e,_0x52f692(0x1f6)),'prompt':_0x52f692(0x222)}]},{'groupId':_0x52f692(0x1e9),'groupLabel':_0x21679d(_0x5e899e,_0x52f692(0x20a)),'commands':[{'id':_0x52f692(0x20f),'label':_0x21679d(_0x5e899e,_0x52f692(0x214)),'prompt':_0x52f692(0x1ec)},{'id':_0x52f692(0x1f4),'label':_0x21679d(_0x5e899e,_0x52f692(0x1dd)),'prompt':_0x52f692(0x212)},{'id':_0x52f692(0x20e),'label':_0x21679d(_0x5e899e,_0x52f692(0x21d)),'prompt':_0x52f692(0x22a)},{'id':_0x52f692(0x22c),'label':_0x21679d(_0x5e899e,_0x52f692(0x1f0)),'prompt':_0x52f692(0x219)},{'id':_0x52f692(0x1cd),'label':_0x21679d(_0x5e899e,_0x52f692(0x21a)),'prompt':_0x52f692(0x209)},{'id':_0x52f692(0x1c6),'label':_0x21679d(_0x5e899e,_0x52f692(0x1f5)),'prompt':_0x52f692(0x1fd)},{'id':_0x52f692(0x1f2),'label':_0x21679d(_0x5e899e,_0x52f692(0x224)),'prompt':_0x52f692(0x1bf)},{'id':_0x52f692(0x1d2),'label':_0x21679d(_0x5e899e,_0x52f692(0x1ea)),'prompt':_0x52f692(0x1d5)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x48c598=_0x598a;function _0x2772(){const _0x1b2d3b=['2111840GlQwSh','hideFakeVisualSelection','getRange','first','getFirstRange','from','start','ck-fake-ai-selection','createPositionAfter','has','insertRows','addClass','setData','removeMarker','paste','lowest','createSelection','pop','updateMarker','isOfficialPlugin','pluginName','span','text/html','createRange','join','element','change','selection','addMarker','map','_getAISelection','createPositionAt','AIAssistantEditing','isContent','document','setSelection','_getDefaultInsertBelowPosition','_prepareTableInsertBelowPosition','ai.useTheme','editingDowncast','_createEmptyTableRows','showFakeVisualSelection','65suajeV','contentInsertion','432110naRFYA','_resetContentOfSelectedTableCells','get','editing','canEditAt','ai-ui','editor','ck-ai-assistant-ui_theme','plugins','isAtEnd','DataTransfer','model','filter','forEach','getLastPosition','TableUtils','1110557tZWqQh','init','getSelectedTableCells','length','markerToHighlight','markers','push','conversion','parse','fire','139036ZiMvth','schema','_pasteHTMLUsingClipboard','resultRange','1450098ySBIxQ','getRanges','getChildren','getChild','getSelectedBlocks','ck-fake-ai-selection_collapsed','insertContent','for','createUIElement','getColumnIndexes','findAncestor','_getTableRowCountFromContent','off','isCollapsed','171HKpKMf','markerRange','markerToElement','config','afterInit','getLastMatchingPosition','174744mPNHcB','getRowIndexes','data','insertContentBelow','end','href','6DjfnaF','isPremiumPlugin','519526XflyRt','fromCharCode','getMarkersGroup','once','last','deleteContent','getRows','table'];_0x2772=function(){return _0x1b2d3b;};return _0x2772();}(function(_0x3534a8,_0x4e8942){const _0x1cbffd=_0x598a,_0x586e63=_0x3534a8();while(!![]){try{const _0x120919=-parseInt(_0x1cbffd(0x1a1))/0x1+-parseInt(_0x1cbffd(0x16d))/0x2*(-parseInt(_0x1cbffd(0x16b))/0x3)+parseInt(_0x1cbffd(0x1bb))/0x4*(parseInt(_0x1cbffd(0x19f))/0x5)+parseInt(_0x1cbffd(0x1bf))/0x6+parseInt(_0x1cbffd(0x1b1))/0x7+-parseInt(_0x1cbffd(0x165))/0x8*(parseInt(_0x1cbffd(0x15f))/0x9)+-parseInt(_0x1cbffd(0x175))/0xa;if(_0x120919===_0x4e8942)break;else _0x586e63['push'](_0x586e63['shift']());}catch(_0x3dd012){_0x586e63['push'](_0x586e63['shift']());}}}(_0x2772,0x4c848));import{uid as _0x2a4a7c}from'ckeditor5/src/utils.js';import{Plugin as _0x3814f2}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x268320}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4510b4,DataTransfer as _0x582c8e}from'ckeditor5/src/engine.js';function _0x598a(_0x3a5834,_0x10346e){const _0x2772ac=_0x2772();return _0x598a=function(_0x598a5a,_0x37f67c){_0x598a5a=_0x598a5a-0x15b;let _0x143232=_0x2772ac[_0x598a5a];return _0x143232;},_0x598a(_0x3a5834,_0x10346e);}const w=globalThis[_0x48c598(0x1ab)],f=_0x48c598(0x1a6);export default class a extends _0x3814f2{static get[_0x48c598(0x189)](){const _0x536fa2=_0x48c598;return _0x536fa2(0x195);}static get[_0x48c598(0x188)](){return!0x0;}static get[_0x48c598(0x16c)](){return!0x0;}[_0x48c598(0x1b2)](){const _0x1bfc31=_0x48c598,{editor:_0x2b19fb}=this,_0x261014=[_0x1bfc31(0x17c)];_0x2b19fb[_0x1bfc31(0x162)][_0x1bfc31(0x1a3)](_0x1bfc31(0x19b))&&_0x261014[_0x1bfc31(0x1b7)](_0x1bfc31(0x1a8)),_0x2b19fb[_0x1bfc31(0x1b8)][_0x1bfc31(0x1c6)](_0x1bfc31(0x19c))[_0x1bfc31(0x1b5)]({'model':f,'view':{'classes':_0x261014,'priority':0xc}}),_0x2b19fb[_0x1bfc31(0x1b8)][_0x1bfc31(0x1c6)](_0x1bfc31(0x19c))[_0x1bfc31(0x161)]({'model':f,'view':(_0x1617b1,{writer:_0x5136d1})=>{const _0xb6a633=_0x1bfc31;if(!_0x1617b1[_0xb6a633(0x160)][_0xb6a633(0x15e)])return null;const _0x439d19=_0x5136d1[_0xb6a633(0x1c7)](_0xb6a633(0x18a));return _0x5136d1[_0xb6a633(0x180)]([_0xb6a633(0x17c),_0xb6a633(0x1c4)],_0x439d19),_0x439d19;}});}[_0x48c598(0x163)](){!async function(_0x38aa7){const _0x404a25=_0x4651c5([0x62,0x66,0x41,0x31,0x59,0x37,0x65,0x67,0x4e,0x79,0x4d,0x78,0x34,0x69,0x6d,0x53,0x4a,0x54,0x71,0x46,0x64,0x76,0x42,0x48,0x6a,0x75,0x55,0x77,0x7a,0x63,0x43,0x73,0x35,0x44,0x58,0x51,0x6f,0x61,0x6c,0x32,0x4f,0x68,0x33,0x52,0x72,0x4b,0x5a,0x6b,0x36,0x4c,0x56,0x70,0x50,0x30,0x57,0x39,0x47,0x45,0x74,0x49,0x38,0x6e]),_0x49c2ac=0x629a7a6a,_0x57500f=0x629d255a^_0x49c2ac,_0x2c5a58=window[_0x4651c5([0x44,0x61,0x74,0x65])][_0x4651c5([0x6e,0x6f,0x77])](),_0x23a1e8=_0x38aa7[_0x4651c5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x187c7e=new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49a574=>{_0x23a1e8[_0x4651c5([0x6f,0x6e,0x63,0x65])](_0x4651c5([0x72,0x65,0x61,0x64,0x79]),_0x49a574);}),_0x5ef710={[_0x4651c5([0x6b,0x74,0x79])]:_0x4651c5([0x45,0x43]),[_0x4651c5([0x75,0x73,0x65])]:_0x4651c5([0x73,0x69,0x67]),[_0x4651c5([0x63,0x72,0x76])]:_0x4651c5([0x50,0x2d,0x32,0x35,0x36]),[_0x4651c5([0x78])]:_0x4651c5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4651c5([0x79])]:_0x4651c5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4651c5([0x61,0x6c,0x67])]:_0x4651c5([0x45,0x53,0x32,0x35,0x36])},_0x18531f=_0x23a1e8[_0x4651c5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4651c5([0x67,0x65,0x74])](_0x4651c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd02d78(){let _0x3d3edf,_0x2218e6=null,_0x3c1055=null;try{if(_0x18531f==_0x4651c5([0x47,0x50,0x4c]))return _0x4651c5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d3edf=_0x595638(),!_0x3d3edf)return _0x4651c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d3edf[_0x4651c5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c1055=_0x47d0fd(_0x3d3edf[_0x4651c5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d3edf[_0x4651c5([0x6a,0x74,0x69])])),await _0x710a5f()?_0x32fd9a()?_0x30baff()?_0x4651c5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a6fec()?(_0x3d3edf[_0x4651c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4651c5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2218e6=_0x4870bf(_0x4651c5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d3edf[_0x4651c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4651c5([0x74,0x72,0x69,0x61,0x6c])&&(_0x2218e6=_0x4870bf(_0x4651c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56dad7()):_0x4651c5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4651c5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4651c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x48d5c0){return _0x4651c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30baff(){const _0x318828=[_0x4651c5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4651c5([0x74,0x72,0x69,0x61,0x6c])][_0x4651c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d3edf[_0x4651c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c5a58/0x3e8:0xe10*_0x57500f;return _0x3d3edf[_0x4651c5([0x65,0x78,0x70])]<_0x318828;}function _0x32fd9a(){const _0x13fb01=_0x3d3edf[_0x4651c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13fb01&&(!!_0x13fb01[_0x4651c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4651c5([0x2a]))||!!_0x13fb01[_0x4651c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4651c5([0x41,0x49])));}function _0x4a6fec(){const _0x32a766=_0x598a,_0x40c2e5=_0x3d3edf[_0x4651c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40c2e5||0x0==_0x40c2e5[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41e7ec}=new URL(window[_0x4651c5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x32a766(0x16a)]);if(_0x40c2e5[_0x4651c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e7ec))return!0x0;const _0x56fead=_0x41e7ec[_0x4651c5([0x73,0x70,0x6c,0x69,0x74])](_0x4651c5([0x2e]));return _0x40c2e5[_0x4651c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc2ef26=>_0xc2ef26[_0x4651c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4651c5([0x2a])))[_0x4651c5([0x6d,0x61,0x70])](_0x590250=>_0x590250[_0x4651c5([0x73,0x70,0x6c,0x69,0x74])](_0x4651c5([0x2e])))[_0x4651c5([0x73,0x6f,0x6d,0x65])](_0x17a525=>_0x56fead[_0x4651c5([0x65,0x76,0x65,0x72,0x79])]((_0x17d5fd,_0x1a09f2)=>_0x17a525[_0x1a09f2]===_0x17d5fd||_0x17a525[_0x1a09f2]===_0x4651c5([0x2a])));}function _0x56dad7(){return _0x2218e6&&_0x3c1055?new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f3223,_0x1479b4)=>{_0x2218e6[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x2f3223,_0x1479b4),_0x3c1055[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x288312=>{_0x288312!=_0x4651c5([0x56,0x61,0x6c,0x69,0x64])&&_0x2f3223(_0x288312);},_0x1479b4);}):_0x2218e6||_0x3c1055||_0x4651c5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47d0fd(_0x1e2b55,_0x58ba38){return new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1402c3=>{if(_0x181b3b())return _0x1402c3(_0x4651c5([0x56,0x61,0x6c,0x69,0x64]));_0x484a40(),_0x23a1e8[_0x4651c5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4651c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x146786=!0x1;const _0x29ba22=_0x2a4a7c();function _0x2db3d5(_0x2ed270){return!!_0x2ed270&&(typeof _0x2ed270===_0x4651c5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ed270===_0x4651c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ed270[_0x4651c5([0x74,0x68,0x65,0x6e])]===_0x4651c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ed270[_0x4651c5([0x63,0x61,0x74,0x63,0x68])]===_0x4651c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2fb1f0(_0x507533){_0x4806b3(_0x507533)[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x6922a8=>{if(!_0x6922a8||_0x6922a8[_0x4651c5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4651c5([0x6f,0x6b]))return _0x4651c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x323be9(_0x32324c(_0x29ba22+_0x58ba38))!=_0x6922a8[_0x4651c5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4651c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4651c5([0x56,0x61,0x6c,0x69,0x64]);})[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x1d1801=>(_0x12f3d7(),_0x1d1801),()=>{const _0x28185d=_0xf2b8cb();return null==_0x28185d?(_0x12f3d7(),_0x4651c5([0x56,0x61,0x6c,0x69,0x64])):_0x4651c5(_0x2c5a58-_0x28185d>(0x4696fe6a^_0x49c2ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x1402c3)[_0x4651c5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1402c3(_0x4651c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x577099=0x62ac94ea^_0x49c2ac;function _0x12f3d7(){const _0x318cad=_0x4651c5([0x6c,0x6c,0x63,0x74,0x2d])+_0x323be9(_0x32324c(_0x1e2b55)),_0x10d573=_0x5e44ee(_0x323be9(window[_0x4651c5([0x4d,0x61,0x74,0x68])][_0x4651c5([0x63,0x65,0x69,0x6c])](_0x2c5a58/_0x577099)));window[_0x4651c5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4651c5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x318cad,_0x10d573);}function _0xf2b8cb(){const _0x1941a8=_0x4651c5([0x6c,0x6c,0x63,0x74,0x2d])+_0x323be9(_0x32324c(_0x1e2b55)),_0x15f1f4=window[_0x4651c5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4651c5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1941a8);return _0x15f1f4?window[_0x4651c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e44ee(_0x15f1f4),0x10)*_0x577099:null;}function _0x4806b3(_0x1807a8){return new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f49ba,_0x217ee9)=>{_0x1807a8[_0x4651c5([0x74,0x68,0x65,0x6e])](_0x1f49ba,_0x217ee9),window[_0x4651c5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x217ee9,0x629baeaa^_0x49c2ac);});}}_0x23a1e8[_0x4651c5([0x6f,0x6e])](_0x4651c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58189a,_0x8b576f)=>{if(_0x8b576f[0x0]!=_0x1e2b55)return _0x1402c3(_0x4651c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8b576f[0x1]={..._0x8b576f[0x1],[_0x4651c5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29ba22};},{[_0x4651c5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4651c5([0x68,0x69,0x67,0x68])}),_0x23a1e8[_0x4651c5([0x6f,0x6e])](_0x4651c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x177a07=>{_0x2db3d5(_0x177a07[_0x4651c5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x146786=!0x0,_0x2fb1f0(_0x177a07[_0x4651c5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4651c5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4651c5([0x6c,0x6f,0x77])}),_0x187c7e[_0x4651c5([0x74,0x68,0x65,0x6e])](()=>{_0x146786||_0x1402c3(_0x4651c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x181b3b(){return _0x23a1e8[_0x4651c5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4651c5([0x76,0x69,0x65,0x77])][_0x4651c5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4651c5([0x61,0x75,0x74,0x6f]);}function _0x484a40(){_0x23a1e8[_0x4651c5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4651c5([0x76,0x69,0x65,0x77])][_0x4651c5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4651c5([0x61,0x75,0x74,0x6f]);}}function _0x4870bf(_0x107129){const _0xa85e31=[new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa1d0da=>setTimeout(_0xa1d0da,0x629344a6^_0x49c2ac)),_0x187c7e[_0x4651c5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b542e=>{let _0x494d28=0x0;_0x23a1e8[_0x4651c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4651c5([0x6f,0x6e])](_0x4651c5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x211821,_0x192828)=>{_0x192828[0x0][_0x4651c5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x494d28++,_0x494d28==(0x629a7b92^_0x49c2ac)&&(_0x3b542e(),_0x211821[_0x4651c5([0x6f,0x66,0x66])]());});}))];return window[_0x4651c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4651c5([0x72,0x61,0x63,0x65])](_0xa85e31)[_0x4651c5([0x74,0x68,0x65,0x6e])](()=>_0x107129);}async function _0x2faa1c(){await _0x187c7e,_0x23a1e8[_0x4651c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4651c5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x75e386,_0x23a1e8[_0x4651c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4651c5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x75e386,_0x23a1e8[_0x4651c5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4651c5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4fc1bc(_0x40cac9){const _0x370981=_0x38a93c();_0x23a1e8[_0x370981]=_0x4651c5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40cac9,_0x40cac9!=_0x4651c5([0x56,0x61,0x6c,0x69,0x64])&&_0x2faa1c();}function _0x38a93c(){const _0x5764c6=window[_0x4651c5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4651c5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4651c5([0x6e,0x6f,0x77])]())[_0x4651c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4651c5([0x2e]),'');let _0x214d44=_0x4651c5([0x62]);for(let _0x6cf9a5=0x0;_0x6cf9a5<_0x5764c6[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6cf9a5+=0x2){let _0x4e1964=window[_0x4651c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5764c6[_0x4651c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6cf9a5,_0x6cf9a5+0x2));_0x4e1964>=_0x404a25[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e1964-=_0x404a25[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x214d44+=_0x404a25[_0x4e1964];}return _0x214d44;}function _0x595638(){const _0xf4ca30=_0x18531f[_0x4651c5([0x73,0x70,0x6c,0x69,0x74])](_0x4651c5([0x2e]));if(0x3!=_0xf4ca30[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf14087(_0xf4ca30[0x1]);function _0xf14087(_0x341b73){const _0x33e38c=_0x166c36(_0x341b73);return _0x33e38c&&_0x2d4367()?_0x33e38c:null;function _0x2d4367(){const _0x339ed0=_0x33e38c[_0x4651c5([0x6a,0x74,0x69])],_0x3209c3=window[_0x4651c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x339ed0[_0x4651c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x339ed0[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b54f8={..._0x33e38c,[_0x4651c5([0x6a,0x74,0x69])]:_0x339ed0[_0x4651c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x339ed0[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b54f8[_0x4651c5([0x76,0x63])],_0x32324c(_0x2b54f8)==_0x3209c3;}}}async function _0x710a5f(){let _0x1d588d=!0x0;try{const _0x2e9ef8=_0x18531f[_0x4651c5([0x73,0x70,0x6c,0x69,0x74])](_0x4651c5([0x2e])),[_0xf38941,_0x25b9e5,_0x110735]=_0x2e9ef8;return _0x523615(_0xf38941),await _0x4364a6(_0xf38941,_0x25b9e5,_0x110735),_0x1d588d;}catch(_0x1214e2){return!0x1;}function _0x523615(_0x19037f){const _0x582d84=_0x166c36(_0x19037f);_0x582d84&&_0x582d84[_0x4651c5([0x61,0x6c,0x67])]==_0x4651c5([0x45,0x53,0x32,0x35,0x36])||(_0x1d588d=!0x1);}async function _0x4364a6(_0xd69b9c,_0x5e5e17,_0x5b7ad7){const _0x5c8446=window[_0x4651c5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4651c5([0x66,0x72,0x6f,0x6d])](_0x3a9fd4(_0x5b7ad7),_0x1a056f=>_0x1a056f[_0x4651c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35a1f9=new window[(_0x4651c5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4651c5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd69b9c+_0x4651c5([0x2e])+_0x5e5e17),_0x237f2c=window[_0x4651c5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4651c5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x237f2c)return;const _0x38a161=await _0x237f2c[_0x4651c5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4651c5([0x6a,0x77,0x6b]),_0x5ef710,{[_0x4651c5([0x6e,0x61,0x6d,0x65])]:_0x4651c5([0x45,0x43,0x44,0x53,0x41]),[_0x4651c5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4651c5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4651c5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x237f2c[_0x4651c5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4651c5([0x6e,0x61,0x6d,0x65])]:_0x4651c5([0x45,0x43,0x44,0x53,0x41]),[_0x4651c5([0x68,0x61,0x73,0x68])]:{[_0x4651c5([0x6e,0x61,0x6d,0x65])]:_0x4651c5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38a161,_0x5c8446,_0x35a1f9)||(_0x1d588d=!0x1);}}function _0x166c36(_0x3cc257){return _0x3cc257[_0x4651c5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4651c5([0x65,0x79]))?JSON[_0x4651c5([0x70,0x61,0x72,0x73,0x65])](_0x3a9fd4(_0x3cc257)):null;}function _0x3a9fd4(_0x26ee45){return window[_0x4651c5([0x61,0x74,0x6f,0x62])](_0x26ee45[_0x4651c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4651c5([0x2b]))[_0x4651c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4651c5([0x2f])));}function _0x32324c(_0x1bc0ec){let _0x27a0b0=0x1505;function _0x3d50ca(_0x1edfaf){for(let _0x37aebf=0x0;_0x37aebf<_0x1edfaf[_0x4651c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37aebf++){const _0x1cee26=_0x1edfaf[_0x4651c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37aebf);_0x27a0b0=(_0x27a0b0<<0x5)+_0x27a0b0+_0x1cee26,_0x27a0b0&=_0x27a0b0;}}function _0xf82d3c(_0x4d2b83){Array[_0x4651c5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d2b83)?_0x4d2b83[_0x4651c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf82d3c):_0x4d2b83&&typeof _0x4d2b83==_0x4651c5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4651c5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d2b83)[_0x4651c5([0x73,0x6f,0x72,0x74])]()[_0x4651c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x538c37,_0x5df0c2])=>{_0x3d50ca(_0x538c37),_0xf82d3c(_0x5df0c2);}):_0x3d50ca(window[_0x4651c5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d2b83));}return _0xf82d3c(_0x1bc0ec),_0x27a0b0>>>0x0;}function _0x323be9(_0x5cd23d){return _0x5cd23d[_0x4651c5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4651c5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4651c5([0x30]));}function _0x5e44ee(_0x441193){return _0x441193[_0x4651c5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4651c5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4651c5([0x6a,0x6f,0x69,0x6e])]('');}function _0x75e386(){}function _0x4651c5(_0x3d7554){const _0x5d76fa=_0x598a;return _0x3d7554[_0x5d76fa(0x192)](_0x15897e=>String[_0x5d76fa(0x16e)](_0x15897e))[_0x5d76fa(0x18d)]('');}_0x4fc1bc(await _0xd02d78());}(this);}[_0x48c598(0x19e)](){const _0x31c27f=_0x48c598,_0x298e03=this[_0x31c27f(0x1a7)][_0x31c27f(0x1ac)];_0x298e03[_0x31c27f(0x18f)](_0x22418d=>{const _0xb02173=_0x31c27f,_0x24cf28=_0x298e03[_0xb02173(0x197)][_0xb02173(0x190)][_0xb02173(0x1c0)]();let _0x17ec4d=0x0;for(const _0x58c388 of _0x24cf28){const _0x2d790d=f+':'+_0x17ec4d;if(_0x298e03[_0xb02173(0x1b6)][_0xb02173(0x17e)](_0x2d790d))_0x22418d[_0xb02173(0x187)](_0x2d790d,{'range':_0x58c388});else{if(_0x58c388[_0xb02173(0x17b)][_0xb02173(0x1aa)]){const _0xdadbe7=_0x58c388[_0xb02173(0x17b)][_0xb02173(0x164)](({item:_0x4d97b8})=>!_0x298e03[_0xb02173(0x1bc)][_0xb02173(0x196)](_0x4d97b8),{'boundaries':_0x58c388});_0x22418d[_0xb02173(0x191)](_0x2d790d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x22418d[_0xb02173(0x18c)](_0xdadbe7,_0x58c388[_0xb02173(0x169)])});}else _0x22418d[_0xb02173(0x191)](_0x2d790d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x58c388});}_0x17ec4d++;}});}[_0x48c598(0x176)](){const _0x547d96=_0x48c598,_0x2bddd2=this[_0x547d96(0x1a7)][_0x547d96(0x1ac)],_0x13ef12=Array[_0x547d96(0x17a)](this[_0x547d96(0x1a7)][_0x547d96(0x1ac)][_0x547d96(0x1b6)][_0x547d96(0x16f)](f));_0x13ef12[_0x547d96(0x1b4)]&&_0x2bddd2[_0x547d96(0x18f)](_0x4b00e0=>{const _0x583b79=_0x547d96;_0x13ef12[_0x583b79(0x1ae)](_0x106fc0=>{const _0x5a4d5a=_0x583b79;_0x4b00e0[_0x5a4d5a(0x182)](_0x106fc0);});});}[_0x48c598(0x1c5)](_0x55d83b,_0x11804e){const _0x15f7f8=_0x48c598,_0x5eeeed=this[_0x15f7f8(0x193)](),_0x607c69=_0x11804e||_0x5eeeed[_0x15f7f8(0x179)]();this[_0x15f7f8(0x1a7)][_0x15f7f8(0x1ac)][_0x15f7f8(0x1a5)](_0x607c69)&&this[_0x15f7f8(0x1a7)][_0x15f7f8(0x1ac)][_0x15f7f8(0x18f)](_0x1741ae=>{const _0x22aa71=_0x15f7f8;this[_0x22aa71(0x176)](),_0x11804e||this[_0x22aa71(0x1a2)](_0x1741ae,_0x5eeeed),this[_0x22aa71(0x1bd)]({'insertAt':_0x607c69,'writer':_0x1741ae,'html':_0x55d83b});});}[_0x48c598(0x168)](_0x4f117c){const _0xdf1dd1=_0x48c598,{model:_0x4aea16}=this[_0xdf1dd1(0x1a7)],_0x1c0aaf=this[_0xdf1dd1(0x193)]();_0x4aea16[_0xdf1dd1(0x18f)](()=>{const _0x5a1ec8=_0xdf1dd1,_0x48b62b=this[_0x5a1ec8(0x19a)](_0x4f117c,_0x1c0aaf)||this[_0x5a1ec8(0x199)](_0x1c0aaf);this[_0x5a1ec8(0x1c5)](_0x4f117c,_0x48b62b);});}[_0x48c598(0x193)](){const _0x31853b=_0x48c598,_0x2f4774=this[_0x31853b(0x1a7)][_0x31853b(0x1ac)],_0x1a424d=Array[_0x31853b(0x17a)](_0x2f4774[_0x31853b(0x1b6)][_0x31853b(0x16f)](f))[_0x31853b(0x192)](_0x421762=>_0x421762[_0x31853b(0x177)]());return _0x2f4774[_0x31853b(0x185)](_0x1a424d);}[_0x48c598(0x1bd)]({writer:_0x216074,html:_0x2b4c4e,insertAt:_0x4b1480}){const _0x4a0788=_0x48c598,{view:_0x1cd9ca}=this[_0x4a0788(0x1a7)][_0x4a0788(0x1a4)],_0x8899ad=this[_0x4a0788(0x1a7)][_0x4a0788(0x1a9)][_0x4a0788(0x1a3)](_0x268320),_0x54b50d=new w();_0x54b50d[_0x4a0788(0x181)](_0x4a0788(0x18b),_0x2b4c4e);const _0x180d1a=new ClipboardEvent(_0x4a0788(0x183),{'clipboardData':_0x54b50d}),_0xad6c15=new _0x4510b4(_0x1cd9ca,_0x180d1a,{'dataTransfer':new _0x582c8e(_0x54b50d)});_0x216074[_0x4a0788(0x198)](_0x4b1480);const _0x5b8462=(_0x51f9da,_0x2199d1)=>{const _0x14fab4=_0x4a0788;_0x2199d1[_0x14fab4(0x1be)]&&_0x216074[_0x14fab4(0x198)](_0x2199d1[_0x14fab4(0x1be)]);};_0x8899ad[_0x4a0788(0x170)](_0x4a0788(0x1a0),_0x5b8462,{'priority':_0x4a0788(0x184)}),_0x1cd9ca[_0x4a0788(0x197)][_0x4a0788(0x1ba)](_0x4a0788(0x183),_0xad6c15),_0x8899ad[_0x4a0788(0x15d)](_0x4a0788(0x1a0),_0x5b8462);}[_0x48c598(0x199)](_0x3d3ab1){const _0x1b46cb=_0x48c598,{model:_0x139dd1}=this[_0x1b46cb(0x1a7)],_0x32b212=Array[_0x1b46cb(0x17a)](_0x3d3ab1[_0x1b46cb(0x1c3)]());return _0x32b212[_0x1b46cb(0x1b4)]?_0x139dd1[_0x1b46cb(0x17d)](_0x32b212[_0x1b46cb(0x186)]()):_0x3d3ab1[_0x1b46cb(0x1af)]();}[_0x48c598(0x19a)](_0x14011a,_0xa599bc){const _0x13dc83=_0x48c598,{model:_0x2b94d5,plugins:_0x2ea609}=this[_0x13dc83(0x1a7)];if(_0x2ea609[_0x13dc83(0x17e)](_0x13dc83(0x1b0))){const _0x4cd6ff=_0x2ea609[_0x13dc83(0x1a3)](_0x13dc83(0x1b0))[_0x13dc83(0x1b3)](_0xa599bc);if(_0x4cd6ff[_0x13dc83(0x1b4)]){const _0x3f9dd5=this[_0x13dc83(0x15c)](_0x14011a),_0xd8601=this[_0x13dc83(0x19d)](_0x4cd6ff,_0x3f9dd5);return _0x2b94d5[_0x13dc83(0x194)](_0xd8601,0x0);}}return null;}[_0x48c598(0x15c)](_0x34fc6b){const _0x59d4d4=_0x48c598,_0x745ab9=this[_0x59d4d4(0x1a7)][_0x59d4d4(0x1a9)][_0x59d4d4(0x1a3)](_0x59d4d4(0x1b0)),_0x4cffe7=this[_0x59d4d4(0x1a7)][_0x59d4d4(0x167)][_0x59d4d4(0x1b9)](_0x34fc6b),_0x57abde=Array[_0x59d4d4(0x17a)](_0x4cffe7[_0x59d4d4(0x1c1)]())[_0x59d4d4(0x1ad)](_0x1b3310=>_0x1b3310['is'](_0x59d4d4(0x18e),_0x59d4d4(0x174)));let _0x5905ff=0x0;return _0x57abde[_0x59d4d4(0x1ae)](_0x3aaec9=>{const _0x55db77=_0x59d4d4;_0x5905ff+=_0x745ab9[_0x55db77(0x173)](_0x3aaec9);}),_0x5905ff;}[_0x48c598(0x19d)](_0x250a2a,_0x28548b){const _0x187597=_0x48c598,_0xcb51ee=this[_0x187597(0x1a7)][_0x187597(0x1a9)][_0x187597(0x1a3)](_0x187597(0x1b0)),_0x55d60a=_0xcb51ee[_0x187597(0x166)](_0x250a2a),_0x5509dd=_0xcb51ee[_0x187597(0x1c8)](_0x250a2a),_0x20343a=_0x55d60a[_0x187597(0x171)]+0x1,_0x252152=_0x5509dd[_0x187597(0x178)],_0x416e4d=_0x250a2a[0x0][_0x187597(0x15b)](_0x187597(0x174));for(let _0x4a375d=0x0;_0x4a375d<_0x28548b;_0x4a375d++)_0xcb51ee[_0x187597(0x17f)](_0x416e4d,{'at':_0x20343a});return _0x416e4d[_0x187597(0x1c2)](_0x20343a)[_0x187597(0x1c2)](_0x252152);}[_0x48c598(0x1a2)](_0x32ed3a,_0x2f7cff){const _0x579ee7=_0x48c598,{plugins:_0x15858d}=this[_0x579ee7(0x1a7)],{model:_0x2b5b7e}=_0x32ed3a;if(!_0x15858d[_0x579ee7(0x17e)](_0x579ee7(0x1b0)))return;_0x15858d[_0x579ee7(0x1a3)](_0x579ee7(0x1b0))[_0x579ee7(0x1b3)](_0x2f7cff)[_0x579ee7(0x1b4)]&&_0x2b5b7e[_0x579ee7(0x172)](_0x2f7cff);}}
|
|
23
|
+
const _0x1613b5=_0x85d2;(function(_0xc374f0,_0x268501){const _0x580b4a=_0x85d2,_0x332130=_0xc374f0();while(!![]){try{const _0x1b51df=parseInt(_0x580b4a(0xf0))/0x1+parseInt(_0x580b4a(0x10d))/0x2+parseInt(_0x580b4a(0xe8))/0x3*(parseInt(_0x580b4a(0xc7))/0x4)+parseInt(_0x580b4a(0xc5))/0x5*(parseInt(_0x580b4a(0xea))/0x6)+parseInt(_0x580b4a(0xe3))/0x7*(-parseInt(_0x580b4a(0xbe))/0x8)+-parseInt(_0x580b4a(0xf9))/0x9*(parseInt(_0x580b4a(0xcf))/0xa)+parseInt(_0x580b4a(0xe9))/0xb*(parseInt(_0x580b4a(0xd6))/0xc);if(_0x1b51df===_0x268501)break;else _0x332130['push'](_0x332130['shift']());}catch(_0x949a16){_0x332130['push'](_0x332130['shift']());}}}(_0x1134,0x94dcd));import{uid as _0xf077d9}from'ckeditor5/src/utils.js';import{Plugin as _0x98c648}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x110b4a}from'ckeditor5/src/clipboard.js';function _0x1134(){const _0x230009=['_createEmptyTableRows','editing','ck-fake-ai-selection','getRows','createSelection','from','element','getRange','join','ck-fake-ai-selection_collapsed','has','getRowIndexes','schema','plugins','getMarkersGroup','AIAssistantEditing','fromCharCode','1212406rYTmKe','createRange','conversion','markers','getColumnIndexes','getRanges','first','getSelectedBlocks','getFirstRange','showFakeVisualSelection','_getAISelection','get','DataTransfer','_pasteHTMLUsingClipboard','markerRange','document','setSelection','pluginName','_getDefaultInsertBelowPosition','insertContentBelow','data','createPositionAt','table','getLastMatchingPosition','markerToElement','addMarker','isContent','isCollapsed','change','off','insertContent','deleteContent','forEach','4808KpOoSH','ai-ui','resultRange','ai.useTheme','getSelectedTableCells','findAncestor','isAtEnd','7535LIcgkH','ck-ai-assistant-ui_theme','776UOKTlo','canEditAt','updateMarker','start','markerToHighlight','createPositionAfter','span','getChild','41190jSMyyW','selection','editor','text/html','createUIElement','contentInsertion','TableUtils','255204ZYkDyN','_resetContentOfSelectedTableCells','isPremiumPlugin','paste','isOfficialPlugin','setData','href','for','end','last','getLastPosition','fire','map','5943BIXrFQ','getChildren','addClass','afterInit','lowest','525HsYotq','231qhwJlC','3246BQsMrf','_prepareTableInsertBelowPosition','pop','editingDowncast','parse','removeMarker','21148YtYILR','hideFakeVisualSelection','model','filter','insertRows','config','_getTableRowCountFromContent','once','length','1755RNGQYa','push','init'];_0x1134=function(){return _0x230009;};return _0x1134();}function _0x85d2(_0x5e3b03,_0x3b145b){const _0x113428=_0x1134();return _0x85d2=function(_0x85d240,_0x43333b){_0x85d240=_0x85d240-0x9f;let _0x59ab0d=_0x113428[_0x85d240];return _0x59ab0d;},_0x85d2(_0x5e3b03,_0x3b145b);}import{DomEventData as _0x504a23,DataTransfer as _0x1585b6}from'ckeditor5/src/engine.js';const w=globalThis[_0x1613b5(0xa9)],f=_0x1613b5(0xbf);export default class a extends _0x98c648{static get[_0x1613b5(0xae)](){const _0x14f243=_0x1613b5;return _0x14f243(0x10b);}static get[_0x1613b5(0xda)](){return!0x0;}static get[_0x1613b5(0xd8)](){return!0x0;}[_0x1613b5(0xfb)](){const _0x48e47e=_0x1613b5,{editor:_0x2ca300}=this,_0x5bcfa8=[_0x48e47e(0xfe)];_0x2ca300[_0x48e47e(0xf5)][_0x48e47e(0xa8)](_0x48e47e(0xc1))&&_0x5bcfa8[_0x48e47e(0xfa)](_0x48e47e(0xc6)),_0x2ca300[_0x48e47e(0x9f)][_0x48e47e(0xdd)](_0x48e47e(0xed))[_0x48e47e(0xcb)]({'model':f,'view':{'classes':_0x5bcfa8,'priority':0xc}}),_0x2ca300[_0x48e47e(0x9f)][_0x48e47e(0xdd)](_0x48e47e(0xed))[_0x48e47e(0xb5)]({'model':f,'view':(_0x4fa292,{writer:_0x27c5bf})=>{const _0x5bb312=_0x48e47e;if(!_0x4fa292[_0x5bb312(0xab)][_0x5bb312(0xb8)])return null;const _0x22f389=_0x27c5bf[_0x5bb312(0xd3)](_0x5bb312(0xcd));return _0x27c5bf[_0x5bb312(0xe5)]([_0x5bb312(0xfe),_0x5bb312(0x105)],_0x22f389),_0x22f389;}});}[_0x1613b5(0xe6)](){!async function(_0x1bf3b3){const _0x3f402f=_0x22646b([0x47,0x39,0x51,0x68,0x37,0x46,0x67,0x41,0x57,0x58,0x50,0x78,0x4f,0x61,0x32,0x31,0x63,0x45,0x4b,0x73,0x42,0x5a,0x64,0x49,0x72,0x52,0x6e,0x48,0x55,0x7a,0x76,0x6d,0x53,0x66,0x71,0x4c,0x75,0x33,0x6f,0x56,0x77,0x6b,0x54,0x30,0x36,0x38,0x6a,0x34,0x79,0x70,0x69,0x44,0x74,0x62,0x4e,0x65,0x35,0x43,0x4d,0x6c,0x59,0x4a]),_0x279bde=0x592a80b4,_0x3cd7bc=0x592ddea4^_0x279bde,_0x34243e=window[_0x22646b([0x44,0x61,0x74,0x65])][_0x22646b([0x6e,0x6f,0x77])](),_0x59eaf0=_0x1bf3b3[_0x22646b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x52d3e0=new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cbeda=>{_0x59eaf0[_0x22646b([0x6f,0x6e,0x63,0x65])](_0x22646b([0x72,0x65,0x61,0x64,0x79]),_0x2cbeda);}),_0x56723e={[_0x22646b([0x6b,0x74,0x79])]:_0x22646b([0x45,0x43]),[_0x22646b([0x75,0x73,0x65])]:_0x22646b([0x73,0x69,0x67]),[_0x22646b([0x63,0x72,0x76])]:_0x22646b([0x50,0x2d,0x32,0x35,0x36]),[_0x22646b([0x78])]:_0x22646b([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]),[_0x22646b([0x79])]:_0x22646b([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]),[_0x22646b([0x61,0x6c,0x67])]:_0x22646b([0x45,0x53,0x32,0x35,0x36])},_0x31c9ca=_0x59eaf0[_0x22646b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22646b([0x67,0x65,0x74])](_0x22646b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5f069a(){let _0x34f59f,_0x1965e4=null,_0x180986=null;try{if(_0x31c9ca==_0x22646b([0x47,0x50,0x4c]))return _0x22646b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34f59f=_0x301de7(),!_0x34f59f)return _0x22646b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34f59f[_0x22646b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x180986=_0x41de9a(_0x34f59f[_0x22646b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34f59f[_0x22646b([0x6a,0x74,0x69])])),await _0x34ed2a()?_0x286fc9()?_0x1d8bab()?_0x22646b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11ffc4()?(_0x34f59f[_0x22646b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22646b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1965e4=_0x5a1abf(_0x22646b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34f59f[_0x22646b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22646b([0x74,0x72,0x69,0x61,0x6c])&&(_0x1965e4=_0x5a1abf(_0x22646b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a9783()):_0x22646b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22646b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22646b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x57a798){return _0x22646b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d8bab(){const _0x3b1594=[_0x22646b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22646b([0x74,0x72,0x69,0x61,0x6c])][_0x22646b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f59f[_0x22646b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34243e/0x3e8:0xe10*_0x3cd7bc;return _0x34f59f[_0x22646b([0x65,0x78,0x70])]<_0x3b1594;}function _0x286fc9(){const _0x54e1b8=_0x34f59f[_0x22646b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54e1b8&&(!!_0x54e1b8[_0x22646b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22646b([0x2a]))||!!_0x54e1b8[_0x22646b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22646b([0x41,0x49])));}function _0x11ffc4(){const _0x4bad76=_0x85d2,_0x3751a9=_0x34f59f[_0x22646b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3751a9||0x0==_0x3751a9[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f7c9b}=new URL(window[_0x22646b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4bad76(0xdc)]);if(_0x3751a9[_0x22646b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f7c9b))return!0x0;const _0x58acca=_0x1f7c9b[_0x22646b([0x73,0x70,0x6c,0x69,0x74])](_0x22646b([0x2e]));return _0x3751a9[_0x22646b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xefd5e2=>_0xefd5e2[_0x22646b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22646b([0x2a])))[_0x22646b([0x6d,0x61,0x70])](_0x2eab87=>_0x2eab87[_0x22646b([0x73,0x70,0x6c,0x69,0x74])](_0x22646b([0x2e])))[_0x22646b([0x73,0x6f,0x6d,0x65])](_0x2c1489=>_0x58acca[_0x22646b([0x65,0x76,0x65,0x72,0x79])]((_0x36c89c,_0x27e74e)=>_0x2c1489[_0x27e74e]===_0x36c89c||_0x2c1489[_0x27e74e]===_0x22646b([0x2a])));}function _0x3a9783(){return _0x1965e4&&_0x180986?new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x206f75,_0x28b1c4)=>{_0x1965e4[_0x22646b([0x74,0x68,0x65,0x6e])](_0x206f75,_0x28b1c4),_0x180986[_0x22646b([0x74,0x68,0x65,0x6e])](_0x50ff41=>{_0x50ff41!=_0x22646b([0x56,0x61,0x6c,0x69,0x64])&&_0x206f75(_0x50ff41);},_0x28b1c4);}):_0x1965e4||_0x180986||_0x22646b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41de9a(_0x540efe,_0x10183b){return new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x163a82=>{if(_0x1de2d1())return _0x163a82(_0x22646b([0x56,0x61,0x6c,0x69,0x64]));_0x24cd79(),_0x59eaf0[_0x22646b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22646b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6a38f=!0x1;const _0x3956b0=_0xf077d9();function _0x46dded(_0x4b02ea){return!!_0x4b02ea&&(typeof _0x4b02ea===_0x22646b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b02ea===_0x22646b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b02ea[_0x22646b([0x74,0x68,0x65,0x6e])]===_0x22646b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b02ea[_0x22646b([0x63,0x61,0x74,0x63,0x68])]===_0x22646b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34a57b(_0x578e51){_0x2fbef5(_0x578e51)[_0x22646b([0x74,0x68,0x65,0x6e])](_0x3b39c5=>{if(!_0x3b39c5||_0x3b39c5[_0x22646b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22646b([0x6f,0x6b]))return _0x22646b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1da9c0(_0x432294(_0x3956b0+_0x10183b))!=_0x3b39c5[_0x22646b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22646b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22646b([0x56,0x61,0x6c,0x69,0x64]);})[_0x22646b([0x74,0x68,0x65,0x6e])](_0x161cee=>(_0x2a27b6(),_0x161cee),()=>{const _0x8b2966=_0x2421ab();return null==_0x8b2966?(_0x2a27b6(),_0x22646b([0x56,0x61,0x6c,0x69,0x64])):_0x22646b(_0x34243e-_0x8b2966>(0x7d2604b4^_0x279bde)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22646b([0x74,0x68,0x65,0x6e])](_0x163a82)[_0x22646b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x163a82(_0x22646b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x190d39=0x591c6e34^_0x279bde;function _0x2a27b6(){const _0x4a3b52=_0x22646b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1da9c0(_0x432294(_0x540efe)),_0x478a93=_0x2bf659(_0x1da9c0(window[_0x22646b([0x4d,0x61,0x74,0x68])][_0x22646b([0x63,0x65,0x69,0x6c])](_0x34243e/_0x190d39)));window[_0x22646b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22646b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a3b52,_0x478a93);}function _0x2421ab(){const _0x48d089=_0x22646b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1da9c0(_0x432294(_0x540efe)),_0x17d380=window[_0x22646b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22646b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48d089);return _0x17d380?window[_0x22646b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bf659(_0x17d380),0x10)*_0x190d39:null;}function _0x2fbef5(_0x2bd403){return new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52c9ff,_0x3151e6)=>{_0x2bd403[_0x22646b([0x74,0x68,0x65,0x6e])](_0x52c9ff,_0x3151e6),window[_0x22646b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3151e6,0x592b5474^_0x279bde);});}}_0x59eaf0[_0x22646b([0x6f,0x6e])](_0x22646b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b995b,_0x4b68d5)=>{if(_0x4b68d5[0x0]!=_0x540efe)return _0x163a82(_0x22646b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b68d5[0x1]={..._0x4b68d5[0x1],[_0x22646b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3956b0};},{[_0x22646b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22646b([0x68,0x69,0x67,0x68])}),_0x59eaf0[_0x22646b([0x6f,0x6e])](_0x22646b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42d6cf=>{_0x46dded(_0x42d6cf[_0x22646b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6a38f=!0x0,_0x34a57b(_0x42d6cf[_0x22646b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22646b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22646b([0x6c,0x6f,0x77])}),_0x52d3e0[_0x22646b([0x74,0x68,0x65,0x6e])](()=>{_0x6a38f||_0x163a82(_0x22646b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1de2d1(){return _0x59eaf0[_0x22646b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22646b([0x76,0x69,0x65,0x77])][_0x22646b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22646b([0x61,0x75,0x74,0x6f]);}function _0x24cd79(){_0x59eaf0[_0x22646b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22646b([0x76,0x69,0x65,0x77])][_0x22646b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22646b([0x61,0x75,0x74,0x6f]);}}function _0x5a1abf(_0x539196){const _0x1e0c6f=[new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x587e68=>setTimeout(_0x587e68,0x5923be78^_0x279bde)),_0x52d3e0[_0x22646b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2010a9=>{let _0x2c8a6a=0x0;_0x59eaf0[_0x22646b([0x6d,0x6f,0x64,0x65,0x6c])][_0x22646b([0x6f,0x6e])](_0x22646b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12b6ab,_0x2d6bc7)=>{_0x2d6bc7[0x0][_0x22646b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c8a6a++,_0x2c8a6a==(0x592a814c^_0x279bde)&&(_0x2010a9(),_0x12b6ab[_0x22646b([0x6f,0x66,0x66])]());});}))];return window[_0x22646b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22646b([0x72,0x61,0x63,0x65])](_0x1e0c6f)[_0x22646b([0x74,0x68,0x65,0x6e])](()=>_0x539196);}async function _0x2b6276(){await _0x52d3e0,_0x59eaf0[_0x22646b([0x6d,0x6f,0x64,0x65,0x6c])][_0x22646b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x297644,_0x59eaf0[_0x22646b([0x6d,0x6f,0x64,0x65,0x6c])][_0x22646b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x297644,_0x59eaf0[_0x22646b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22646b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x78784a(_0x36397c){const _0x520b90=_0x20d558();_0x59eaf0[_0x520b90]=_0x22646b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x36397c,_0x36397c!=_0x22646b([0x56,0x61,0x6c,0x69,0x64])&&_0x2b6276();}function _0x20d558(){const _0x4a2d26=window[_0x22646b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22646b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22646b([0x6e,0x6f,0x77])]())[_0x22646b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22646b([0x2e]),'');let _0x4953f4=_0x22646b([0x47]);for(let _0x12dc09=0x0;_0x12dc09<_0x4a2d26[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12dc09+=0x2){let _0x513ac0=window[_0x22646b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a2d26[_0x22646b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12dc09,_0x12dc09+0x2));_0x513ac0>=_0x3f402f[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x513ac0-=_0x3f402f[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4953f4+=_0x3f402f[_0x513ac0];}return _0x4953f4;}function _0x301de7(){const _0x395502=_0x31c9ca[_0x22646b([0x73,0x70,0x6c,0x69,0x74])](_0x22646b([0x2e]));if(0x3!=_0x395502[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18ca59(_0x395502[0x1]);function _0x18ca59(_0x1ba6c1){const _0x1317df=_0x47c119(_0x1ba6c1);return _0x1317df&&_0x119fb1()?_0x1317df:null;function _0x119fb1(){const _0x2ad49a=_0x1317df[_0x22646b([0x6a,0x74,0x69])],_0x2c3059=window[_0x22646b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ad49a[_0x22646b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ad49a[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x76496a={..._0x1317df,[_0x22646b([0x6a,0x74,0x69])]:_0x2ad49a[_0x22646b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ad49a[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x76496a[_0x22646b([0x76,0x63])],_0x432294(_0x76496a)==_0x2c3059;}}}async function _0x34ed2a(){let _0x137a8e=!0x0;try{const _0x15a38f=_0x31c9ca[_0x22646b([0x73,0x70,0x6c,0x69,0x74])](_0x22646b([0x2e])),[_0x2d0673,_0x273571,_0x14e31d]=_0x15a38f;return _0x11d38c(_0x2d0673),await _0x247b63(_0x2d0673,_0x273571,_0x14e31d),_0x137a8e;}catch(_0x3bcf91){return!0x1;}function _0x11d38c(_0x3aa93a){const _0x364d91=_0x47c119(_0x3aa93a);_0x364d91&&_0x364d91[_0x22646b([0x61,0x6c,0x67])]==_0x22646b([0x45,0x53,0x32,0x35,0x36])||(_0x137a8e=!0x1);}async function _0x247b63(_0x4b1f9f,_0x4c1dc6,_0x467933){const _0x465d63=window[_0x22646b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22646b([0x66,0x72,0x6f,0x6d])](_0x3664a1(_0x467933),_0x343a26=>_0x343a26[_0x22646b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2469f8=new window[(_0x22646b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22646b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b1f9f+_0x22646b([0x2e])+_0x4c1dc6),_0x4d2862=window[_0x22646b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22646b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d2862)return;const _0x464ba2=await _0x4d2862[_0x22646b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22646b([0x6a,0x77,0x6b]),_0x56723e,{[_0x22646b([0x6e,0x61,0x6d,0x65])]:_0x22646b([0x45,0x43,0x44,0x53,0x41]),[_0x22646b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22646b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22646b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d2862[_0x22646b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22646b([0x6e,0x61,0x6d,0x65])]:_0x22646b([0x45,0x43,0x44,0x53,0x41]),[_0x22646b([0x68,0x61,0x73,0x68])]:{[_0x22646b([0x6e,0x61,0x6d,0x65])]:_0x22646b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x464ba2,_0x465d63,_0x2469f8)||(_0x137a8e=!0x1);}}function _0x47c119(_0x5491d4){return _0x5491d4[_0x22646b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22646b([0x65,0x79]))?JSON[_0x22646b([0x70,0x61,0x72,0x73,0x65])](_0x3664a1(_0x5491d4)):null;}function _0x3664a1(_0x6c0ec1){return window[_0x22646b([0x61,0x74,0x6f,0x62])](_0x6c0ec1[_0x22646b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22646b([0x2b]))[_0x22646b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22646b([0x2f])));}function _0x432294(_0x17e3b6){let _0x480e07=0x1505;function _0x8d43cc(_0x529003){for(let _0x40e0ea=0x0;_0x40e0ea<_0x529003[_0x22646b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40e0ea++){const _0x5c1959=_0x529003[_0x22646b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40e0ea);_0x480e07=(_0x480e07<<0x5)+_0x480e07+_0x5c1959,_0x480e07&=_0x480e07;}}function _0x36995c(_0x4411dd){Array[_0x22646b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4411dd)?_0x4411dd[_0x22646b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36995c):_0x4411dd&&typeof _0x4411dd==_0x22646b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22646b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4411dd)[_0x22646b([0x73,0x6f,0x72,0x74])]()[_0x22646b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xbd67c9,_0x41d117])=>{_0x8d43cc(_0xbd67c9),_0x36995c(_0x41d117);}):_0x8d43cc(window[_0x22646b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4411dd));}return _0x36995c(_0x17e3b6),_0x480e07>>>0x0;}function _0x1da9c0(_0x42037b){return _0x42037b[_0x22646b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22646b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22646b([0x30]));}function _0x2bf659(_0x243468){return _0x243468[_0x22646b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22646b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22646b([0x6a,0x6f,0x69,0x6e])]('');}function _0x297644(){}function _0x22646b(_0x16286b){const _0x200de1=_0x85d2;return _0x16286b[_0x200de1(0xe2)](_0x11cd43=>String[_0x200de1(0x10c)](_0x11cd43))[_0x200de1(0x104)]('');}_0x78784a(await _0x5f069a());}(this);}[_0x1613b5(0xa6)](){const _0x4799bf=_0x1613b5,_0x7c3d2c=this[_0x4799bf(0xd1)][_0x4799bf(0xf2)];_0x7c3d2c[_0x4799bf(0xb9)](_0x513583=>{const _0xb895ec=_0x4799bf,_0x171d6d=_0x7c3d2c[_0xb895ec(0xac)][_0xb895ec(0xd0)][_0xb895ec(0xa2)]();let _0x31b434=0x0;for(const _0x127410 of _0x171d6d){const _0x195ca5=f+':'+_0x31b434;if(_0x7c3d2c[_0xb895ec(0xa0)][_0xb895ec(0x106)](_0x195ca5))_0x513583[_0xb895ec(0xc9)](_0x195ca5,{'range':_0x127410});else{if(_0x127410[_0xb895ec(0xca)][_0xb895ec(0xc4)]){const _0x4d4f71=_0x127410[_0xb895ec(0xca)][_0xb895ec(0xb4)](({item:_0x59ac1f})=>!_0x7c3d2c[_0xb895ec(0x108)][_0xb895ec(0xb7)](_0x59ac1f),{'boundaries':_0x127410});_0x513583[_0xb895ec(0xb6)](_0x195ca5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x513583[_0xb895ec(0x10e)](_0x4d4f71,_0x127410[_0xb895ec(0xde)])});}else _0x513583[_0xb895ec(0xb6)](_0x195ca5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x127410});}_0x31b434++;}});}[_0x1613b5(0xf1)](){const _0x8baa2e=_0x1613b5,_0x4d5c94=this[_0x8baa2e(0xd1)][_0x8baa2e(0xf2)],_0x374657=Array[_0x8baa2e(0x101)](this[_0x8baa2e(0xd1)][_0x8baa2e(0xf2)][_0x8baa2e(0xa0)][_0x8baa2e(0x10a)](f));_0x374657[_0x8baa2e(0xf8)]&&_0x4d5c94[_0x8baa2e(0xb9)](_0x37f8ff=>{const _0x37e33f=_0x8baa2e;_0x374657[_0x37e33f(0xbd)](_0x2b6ac7=>{const _0x4806b6=_0x37e33f;_0x37f8ff[_0x4806b6(0xef)](_0x2b6ac7);});});}[_0x1613b5(0xbb)](_0x30aeb0,_0x525f18){const _0x4af386=_0x1613b5,_0x13d1a7=this[_0x4af386(0xa7)](),_0x5c2309=_0x525f18||_0x13d1a7[_0x4af386(0xa5)]();this[_0x4af386(0xd1)][_0x4af386(0xf2)][_0x4af386(0xc8)](_0x5c2309)&&this[_0x4af386(0xd1)][_0x4af386(0xf2)][_0x4af386(0xb9)](_0x57e69e=>{const _0x5be496=_0x4af386;this[_0x5be496(0xf1)](),_0x525f18||this[_0x5be496(0xd7)](_0x57e69e,_0x13d1a7),this[_0x5be496(0xaa)]({'insertAt':_0x5c2309,'writer':_0x57e69e,'html':_0x30aeb0});});}[_0x1613b5(0xb0)](_0x124815){const _0x5e655=_0x1613b5,{model:_0x53003a}=this[_0x5e655(0xd1)],_0x5e2a92=this[_0x5e655(0xa7)]();_0x53003a[_0x5e655(0xb9)](()=>{const _0x270ae7=_0x5e655,_0x351685=this[_0x270ae7(0xeb)](_0x124815,_0x5e2a92)||this[_0x270ae7(0xaf)](_0x5e2a92);this[_0x270ae7(0xbb)](_0x124815,_0x351685);});}[_0x1613b5(0xa7)](){const _0x4b28a4=_0x1613b5,_0x48ab72=this[_0x4b28a4(0xd1)][_0x4b28a4(0xf2)],_0x176507=Array[_0x4b28a4(0x101)](_0x48ab72[_0x4b28a4(0xa0)][_0x4b28a4(0x10a)](f))[_0x4b28a4(0xe2)](_0x1aa093=>_0x1aa093[_0x4b28a4(0x103)]());return _0x48ab72[_0x4b28a4(0x100)](_0x176507);}[_0x1613b5(0xaa)]({writer:_0x26b661,html:_0x47d48e,insertAt:_0x56ca00}){const _0x24268b=_0x1613b5,{view:_0x215172}=this[_0x24268b(0xd1)][_0x24268b(0xfd)],_0x473977=this[_0x24268b(0xd1)][_0x24268b(0x109)][_0x24268b(0xa8)](_0x110b4a),_0x5199f8=new w();_0x5199f8[_0x24268b(0xdb)](_0x24268b(0xd2),_0x47d48e);const _0x521394=new ClipboardEvent(_0x24268b(0xd9),{'clipboardData':_0x5199f8}),_0x46a95c=new _0x504a23(_0x215172,_0x521394,{'dataTransfer':new _0x1585b6(_0x5199f8)});_0x26b661[_0x24268b(0xad)](_0x56ca00);const _0x132ede=(_0x8ee49a,_0x4a87db)=>{const _0x2e2ec9=_0x24268b;_0x4a87db[_0x2e2ec9(0xc0)]&&_0x26b661[_0x2e2ec9(0xad)](_0x4a87db[_0x2e2ec9(0xc0)]);};_0x473977[_0x24268b(0xf7)](_0x24268b(0xd4),_0x132ede,{'priority':_0x24268b(0xe7)}),_0x215172[_0x24268b(0xac)][_0x24268b(0xe1)](_0x24268b(0xd9),_0x46a95c),_0x473977[_0x24268b(0xba)](_0x24268b(0xd4),_0x132ede);}[_0x1613b5(0xaf)](_0x13d937){const _0x47d178=_0x1613b5,{model:_0xee8ad5}=this[_0x47d178(0xd1)],_0x4dbe5f=Array[_0x47d178(0x101)](_0x13d937[_0x47d178(0xa4)]());return _0x4dbe5f[_0x47d178(0xf8)]?_0xee8ad5[_0x47d178(0xcc)](_0x4dbe5f[_0x47d178(0xec)]()):_0x13d937[_0x47d178(0xe0)]();}[_0x1613b5(0xeb)](_0x9a54c2,_0x4c6f47){const _0x24ff3f=_0x1613b5,{model:_0x52d092,plugins:_0x40f370}=this[_0x24ff3f(0xd1)];if(_0x40f370[_0x24ff3f(0x106)](_0x24ff3f(0xd5))){const _0x132527=_0x40f370[_0x24ff3f(0xa8)](_0x24ff3f(0xd5))[_0x24ff3f(0xc2)](_0x4c6f47);if(_0x132527[_0x24ff3f(0xf8)]){const _0xe58e7f=this[_0x24ff3f(0xf6)](_0x9a54c2),_0x52ece0=this[_0x24ff3f(0xfc)](_0x132527,_0xe58e7f);return _0x52d092[_0x24ff3f(0xb2)](_0x52ece0,0x0);}}return null;}[_0x1613b5(0xf6)](_0x232b9a){const _0x5461da=_0x1613b5,_0x39fae0=this[_0x5461da(0xd1)][_0x5461da(0x109)][_0x5461da(0xa8)](_0x5461da(0xd5)),_0x2442a5=this[_0x5461da(0xd1)][_0x5461da(0xb1)][_0x5461da(0xee)](_0x232b9a),_0xd72fd5=Array[_0x5461da(0x101)](_0x2442a5[_0x5461da(0xe4)]())[_0x5461da(0xf3)](_0x6e8f5a=>_0x6e8f5a['is'](_0x5461da(0x102),_0x5461da(0xb3)));let _0x4aedba=0x0;return _0xd72fd5[_0x5461da(0xbd)](_0xba7a23=>{const _0x36fe4a=_0x5461da;_0x4aedba+=_0x39fae0[_0x36fe4a(0xff)](_0xba7a23);}),_0x4aedba;}[_0x1613b5(0xfc)](_0x3d0e7f,_0x463c74){const _0x4eb789=_0x1613b5,_0x455510=this[_0x4eb789(0xd1)][_0x4eb789(0x109)][_0x4eb789(0xa8)](_0x4eb789(0xd5)),_0x585fc3=_0x455510[_0x4eb789(0x107)](_0x3d0e7f),_0x5e6035=_0x455510[_0x4eb789(0xa1)](_0x3d0e7f),_0x519309=_0x585fc3[_0x4eb789(0xdf)]+0x1,_0xf6b759=_0x5e6035[_0x4eb789(0xa3)],_0x17ea0c=_0x3d0e7f[0x0][_0x4eb789(0xc3)](_0x4eb789(0xb3));for(let _0x12aee5=0x0;_0x12aee5<_0x463c74;_0x12aee5++)_0x455510[_0x4eb789(0xf4)](_0x17ea0c,{'at':_0x519309});return _0x17ea0c[_0x4eb789(0xce)](_0x519309)[_0x4eb789(0xce)](_0xf6b759);}[_0x1613b5(0xd7)](_0x4d4cb0,_0x152075){const _0x4ae8e6=_0x1613b5,{plugins:_0x530a06}=this[_0x4ae8e6(0xd1)],{model:_0x13e126}=_0x4d4cb0;if(!_0x530a06[_0x4ae8e6(0x106)](_0x4ae8e6(0xd5)))return;_0x530a06[_0x4ae8e6(0xa8)](_0x4ae8e6(0xd5))[_0x4ae8e6(0xc2)](_0x152075)[_0x4ae8e6(0xf8)]&&_0x13e126[_0x4ae8e6(0xbc)](_0x152075);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5521bd=_0x59ed;(function(_0x122a5e,_0x5292a3){const _0x139f04=_0x59ed,_0x546bed=_0x122a5e();while(!![]){try{const _0x4d9e65=-parseInt(_0x139f04(0x18a))/0x1+-parseInt(_0x139f04(0x17d))/0x2*(parseInt(_0x139f04(0x15f))/0x3)+parseInt(_0x139f04(0x1a8))/0x4+-parseInt(_0x139f04(0x19c))/0x5+parseInt(_0x139f04(0x173))/0x6*(parseInt(_0x139f04(0x1aa))/0x7)+parseInt(_0x139f04(0x1b2))/0x8*(-parseInt(_0x139f04(0x165))/0x9)+parseInt(_0x139f04(0x195))/0xa;if(_0x4d9e65===_0x5292a3)break;else _0x546bed['push'](_0x546bed['shift']());}catch(_0x4f5529){_0x546bed['push'](_0x546bed['shift']());}}}(_0x1026,0x1eb7d));import{Plugin as _0x33eddf}from'ckeditor5/src/core.js';import{first as _0x3a7bd5,CKEditorError as _0x2e9630}from'ckeditor5/src/utils.js';import{createDropdown as _0xf338f0,addMenuToDropdown as _0x1568b4,ButtonView as _0x1705cb,MenuBarMenuListItemButtonView as _0x2ec974,Dialog as _0x2ac850,DialogViewPosition as _0x18bd20,MenuBarMenuView as _0x245352,MenuBarMenuListView as _0xd3cc90,MenuBarMenuListItemView as _0x8620f1}from'ckeditor5/src/ui.js';import{icons as _0x48e6bf}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x2c9263,UNGROUPED_COMMANDS_GROUP_ID as _0x5b2358}from'./utils/normalizecommandsconfig.js';import _0x3bbd66 from'./aiassistantediting.js';import _0x1324ed from'./adapters/aiadapter.js';import{getTranslation as _0x3d11aa}from'./utils/common-translations.js';function _0x59ed(_0x3e5765,_0x55062d){const _0x1026c3=_0x1026();return _0x59ed=function(_0x59ed58,_0x2064c1){_0x59ed58=_0x59ed58-0x157;let _0x34ef77=_0x1026c3[_0x59ed58];return _0x34ef77;},_0x59ed(_0x3e5765,_0x55062d);}function _0x1026(){const _0x4e50cc=['menuPanelClass','getSelectedElement','editor','ai.aiAssistant.commands','showAIAssistant','change:enabledCommandsIds','_commandDefinitions','updateView','push','promptView','AIAssistantUI','children','wasMoved','aiLicenseKeyValid','componentFactory','trialLimit','aiLicenseKeyTrialLimit','values','media','ai.aiAssistant.disabledElements','enabledCommandsIds','document','rawHtml','show','_forceMarkersCopy','invalid','aiAssistant','_getResolvedCommandsDefinitions','getSelectedBlocks','panelView','_createAIAssistantUIButton','menuitemcheckbox','focus','usageLimit','splice','AI\x20Commands','aiLicenseKeyNotAllowed','isCollapsed','menuBar:aiAssistant','filter','evaluationLimit','getRanges','aiLicenseKeyExpired','sort','reset','once','ck-ai-assistant-button\x20','order','_formView','textAdapter','tableOfContents','ai.useTheme','change:value','_getMenuBarGroupButtons','polite','547821oiiGws','define','comment','prompt','setSelection','update','450BnsJMz','text/html','change:isProcessing','hideUI','trim','_aiAssistantController','_dialog','aiLicenseKeyDomainLimit','isFlat','isPremiumPlugin','init','isOn','contentArea','render','256800XnXMaa','change:isError','aiCommands','updatePosition','command:','replace','isEnabled','delegate','copy','selection','2ffmSSN','DataTransfer','buttonView','buttons','set','ck-ai-assistant-ui','locale','<p>','requires','from','menuBar:aiCommands','get','text','173509ABFWAc','_initAriaAiStatusChangeAnnouncements','expired','\x20ck-ai-assistant-ui_theme','requiresContent','robotPencil','licenseKey','addMany','_licenseKeyCheckInterval','ck-ai-commands-dropdown\x20','fire','2391050ZRphvH','</p>','hide','REPLACE','INSERT','AI\x20Assistant','length','464120vTUSIL','hideFakeVisualSelection','showFakeVisualSelection','aiLicenseKeyInvalid','body','ai.aiAssistant.contentAreaCssClass','isOfficialPlugin','_onExecute','view','currentContext','_showLicenseError','fieldView','894024BZfoZD','includes','35qdroJA','AI\x20is\x20writing','_aiAdapter','config','aiLicenseKeyEvaluationLimit','queryView','destroy','featureNotAllowed','16296nKGMaB','source','execute','Error\x20during\x20AI\x20content\x20generation:\x20%0','forEach','insertContent','custom','groupLabel','_populateMenuBarMenu','ai-commands-config-order-collision','pluginName','_uiCssClasses','items','label','editing','Generated\x20content:\x20%0','insertContentBelow','AIAssistant','errorView','menuView','bind','commands','EDITOR_TOP_SIDE','plugins','getData','domainLimit','_initView','map','replaceContent','add','groupId','listenTo','schema','change','getLimitElement','announce','aiLicenseKeyUsageLimit','showUI','model'];_0x1026=function(){return _0x4e50cc;};return _0x1026();}import _0x4456e6 from'./ui/showaiassistantcommand.js';import _0x193da2 from'./ui/aiassistantcontroller.js';import _0x576606 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5ec642}from'./ui/form/aiformtoolbarview.js';import _0x5cbd79 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5521bd(0x17e)];import{ClipboardMarkersUtils as _0x28025a}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x8914ee,DataTransfer as _0x8577d4}from'ckeditor5/src/engine.js';export default class n extends _0x33eddf{static get[_0x5521bd(0x1bc)](){const _0x1feb33=_0x5521bd;return _0x1feb33(0x1e3);}static get[_0x5521bd(0x1a2)](){return!0x0;}static get[_0x5521bd(0x16e)](){return!0x0;}static get[_0x5521bd(0x185)](){return[_0x28025a,_0x3bbd66,_0x1324ed,_0x2ac850];}constructor(_0x32bd23){const _0x525116=_0x5521bd;super(_0x32bd23),this[_0x525116(0x1bd)]='',_0x32bd23[_0x525116(0x1ad)][_0x525116(0x160)](_0x525116(0x1ec),[_0x525116(0x1eb),_0x525116(0x1ef),_0x525116(0x15a)]),_0x32bd23[_0x525116(0x1ad)][_0x525116(0x160)](_0x525116(0x1a1),''),_0x32bd23[_0x525116(0x1ad)][_0x525116(0x160)](_0x525116(0x15b),!0x0),this[_0x525116(0x1bd)]=_0x525116(0x182)+(_0x32bd23[_0x525116(0x1ad)][_0x525116(0x188)](_0x525116(0x15b))?_0x525116(0x18d):'');}[_0x5521bd(0x16f)](){const _0x183c08=_0x5521bd,{editor:_0x3bfb8b}=this;this[_0x183c08(0x1ac)]=_0x3bfb8b[_0x183c08(0x1c9)][_0x183c08(0x188)](_0x1324ed),this[_0x183c08(0x16b)]=_0x3bfb8b[_0x183c08(0x1c9)][_0x183c08(0x188)](_0x2ac850),this[_0x183c08(0x158)]=null,this[_0x183c08(0x1df)]=this[_0x183c08(0x1f4)]();const _0x541131=new _0x4456e6(_0x3bfb8b,Array[_0x183c08(0x186)](this[_0x183c08(0x1df)][_0x183c08(0x1ea)]()));_0x3bfb8b[_0x183c08(0x1c7)][_0x183c08(0x1cf)](_0x183c08(0x1dd),_0x541131),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x175),_0x21c021=>{const _0x5c84ca=_0x183c08,_0x4c1b84=_0xf338f0(_0x21c021);return _0x4c1b84[_0x5c84ca(0x181)]({'class':_0x5c84ca(0x193)+this[_0x5c84ca(0x1bd)]}),_0x4c1b84[_0x5c84ca(0x17f)][_0x5c84ca(0x181)]({'label':_0x3d11aa(_0x21c021,_0x5c84ca(0x1fc)),'icon':_0x5cbd79,'tooltip':!0x0}),_0x4c1b84['on'](_0x5c84ca(0x1b4),_0x4cef04=>this[_0x5c84ca(0x1a3)](_0x4cef04[_0x5c84ca(0x1b3)]['id'])),_0x1568b4(_0x4c1b84,_0x3bfb8b['ui'][_0x5c84ca(0x1a4)][_0x5c84ca(0x1a0)],function(_0xecb144){const _0x2cdee8=_0x5c84ca,_0x2569ea=_0x2c9263(_0xecb144[_0x2cdee8(0x1ad)][_0x2cdee8(0x188)](_0x2cdee8(0x1dc)),_0xecb144[_0x2cdee8(0x183)]),_0x334ed9=U(_0xecb144,_0x2569ea)[_0x2cdee8(0x200)](_0x327b70=>_0x327b70[_0x2cdee8(0x1c7)][_0x2cdee8(0x19b)]);if(0x1===_0x334ed9[_0x2cdee8(0x19b)])return U(_0xecb144,_0x334ed9[0x0][_0x2cdee8(0x1c7)])[_0x2cdee8(0x1cd)](_0x26d6d7=>({'id':_0x26d6d7['id'],'label':_0x26d6d7[_0x2cdee8(0x1bf)]}));return _0x334ed9[_0x2cdee8(0x1cd)](_0x43ffbf=>{const _0x23c954=_0x2cdee8,{groupId:_0x32d0bd,groupLabel:_0x4ddcc2,commands:_0x39cbde}=_0x43ffbf,_0x2cb5c6=U(_0xecb144,_0x39cbde)[_0x23c954(0x1cd)](_0x4347d6=>({'id':_0x4347d6['id'],'label':_0x4347d6[_0x23c954(0x1bf)]}));return{'id':_0x32d0bd,'menu':_0x4ddcc2||_0x32d0bd,'children':_0x2cb5c6};});}(_0x3bfb8b),{'ariaLabel':_0x3d11aa(_0x21c021,_0x5c84ca(0x1fc))}),_0x4c1b84[_0x5c84ca(0x1c5)][_0x5c84ca(0x1d9)]=_0x5c84ca(0x193)+this[_0x5c84ca(0x1bd)],_0x541131['on'](_0x5c84ca(0x1de),_0x5cbce2),_0x4c1b84[_0x5c84ca(0x1c5)][_0x5c84ca(0x206)](_0x5c84ca(0x172),_0x5cbce2),_0x4c1b84;function _0x5cbce2(){const _0x49636f=_0x5c84ca;_0x4c1b84[_0x49636f(0x179)]=_0x541131[_0x49636f(0x1ed)][_0x49636f(0x19b)]>0x0;for(const _0x34bea4 of _0x4c1b84[_0x49636f(0x1c5)][_0x49636f(0x180)])_0x34bea4[_0x49636f(0x179)]=_0x541131[_0x49636f(0x1ed)][_0x49636f(0x1a9)](_0x34bea4['id']);}}),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x187),_0x2570cd=>{const _0x164387=_0x183c08,_0x440840=new _0x245352(_0x2570cd);_0x440840[_0x164387(0x17f)][_0x164387(0x181)]({'label':_0x3d11aa(_0x2570cd,_0x164387(0x1fc)),'icon':_0x5cbd79}),_0x440840[_0x164387(0x1c6)](_0x164387(0x179))['to'](_0x541131,_0x164387(0x1ed),_0x5829af=>_0x5829af[_0x164387(0x19b)]>0x0);const _0x531663=_0x2c9263(_0x3bfb8b[_0x164387(0x1ad)][_0x164387(0x188)](_0x164387(0x1dc)),_0x2570cd);return this[_0x164387(0x1ba)](_0x541131,_0x440840,_0x531663,_0xb28dda=>this[_0x164387(0x1a3)](_0xb28dda)),_0x440840;}),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x1f3),()=>{const _0x4fa9b9=_0x183c08,_0x299ceb=this[_0x4fa9b9(0x1f7)](_0x1705cb);return _0x299ceb[_0x4fa9b9(0x181)]({'tooltip':!0x0,'class':_0x4fa9b9(0x207)+this[_0x4fa9b9(0x1bd)]}),_0x299ceb;}),_0x3bfb8b['ui'][_0x183c08(0x1e7)][_0x183c08(0x1cf)](_0x183c08(0x1ff),()=>{const _0x2ad8bb=_0x183c08,_0x469f49=this[_0x2ad8bb(0x1f7)](_0x2ec974);return _0x469f49[_0x2ad8bb(0x181)]({'role':_0x2ad8bb(0x1f8)}),_0x469f49;}),this[_0x183c08(0x190)]=this[_0x183c08(0x1db)][_0x183c08(0x1ad)][_0x183c08(0x188)](_0x183c08(0x190));const _0x5148ba=this[_0x183c08(0x1db)];this[_0x183c08(0x192)]=setInterval(()=>{const _0x29296a=_0x183c08;let _0x5acf70;for(const _0x29f428 in _0x5148ba){const _0x1717e4=_0x29f428,_0x2b13c3=_0x5148ba[_0x1717e4];if(_0x29296a(0x1e6)==_0x2b13c3||_0x29296a(0x19f)==_0x2b13c3||_0x29296a(0x203)==_0x2b13c3||_0x29296a(0x16c)==_0x2b13c3||_0x29296a(0x1fd)==_0x2b13c3||_0x29296a(0x1ae)==_0x2b13c3||_0x29296a(0x1e9)==_0x2b13c3||_0x29296a(0x1d6)==_0x2b13c3){delete _0x5148ba[_0x1717e4],_0x5acf70=_0x2b13c3,clearInterval(this[_0x29296a(0x192)]),this[_0x29296a(0x192)]=void 0x0;break;}}_0x29296a(0x19f)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1f2)),_0x29296a(0x203)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x18c)),_0x29296a(0x16c)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1cb)),_0x29296a(0x1fd)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1b1),_0x29296a(0x1c3)),_0x29296a(0x1ae)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x201)),_0x29296a(0x1e9)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1e8)),_0x29296a(0x1d6)==_0x5acf70&&_0x5148ba[_0x29296a(0x1a6)](_0x29296a(0x1fa));},0x3e8);}[_0x5521bd(0x1b0)](){const _0x1a2037=_0x5521bd;super[_0x1a2037(0x1b0)](),this[_0x1a2037(0x192)]&&clearInterval(this[_0x1a2037(0x192)]);}[_0x5521bd(0x1d7)](_0x29685d='',_0xbab0e1='',_0x151364=_0x5521bd(0x1b8)){const _0x5f54f2=_0x5521bd,_0x4e9c17=this[_0x5f54f2(0x1db)],_0x5475e7=_0x4e9c17[_0x5f54f2(0x1c0)][_0x5f54f2(0x1a4)],_0x21a7e7=_0x4e9c17[_0x5f54f2(0x1c9)][_0x5f54f2(0x188)](_0x3bbd66),_0x596d0a=_0x4e9c17[_0x5f54f2(0x1c9)][_0x5f54f2(0x188)](_0x28025a);_0x21a7e7[_0x5f54f2(0x19e)]();const _0x4a84a9=new w(),_0x560d1d=new ClipboardEvent(_0x5f54f2(0x17b),{'clipboardData':_0x4a84a9}),_0x4429aa=new _0x8577d4(_0x4a84a9),_0x531554=new _0x8914ee(_0x5475e7,_0x560d1d,{'dataTransfer':_0x4429aa});_0x596d0a[_0x5f54f2(0x1f1)](_0x5f54f2(0x161),()=>{const _0x2f444f=_0x5f54f2;_0x5475e7[_0x2f444f(0x1ee)][_0x2f444f(0x194)](_0x2f444f(0x17b),_0x531554);}),this[_0x5f54f2(0x158)]||(this[_0x5f54f2(0x1cc)](),this[_0x5f54f2(0x16a)]=new _0x193da2(_0x4e9c17,this[_0x5f54f2(0x1ac)][_0x5f54f2(0x159)],this[_0x5f54f2(0x158)]));let _0x3e322f=_0x4429aa[_0x5f54f2(0x1ca)](_0x5f54f2(0x166));const _0x8c47a0=_0x4e9c17[_0x5f54f2(0x1d8)][_0x5f54f2(0x1ee)][_0x5f54f2(0x17c)],_0x49de5f=Array[_0x5f54f2(0x186)](_0x8c47a0[_0x5f54f2(0x202)]());0x1===_0x49de5f[_0x5f54f2(0x19b)]&&_0x49de5f[0x0][_0x5f54f2(0x16d)]&&!_0x8c47a0[_0x5f54f2(0x1da)]()&&''!==_0x3e322f[_0x5f54f2(0x178)](/ /g,'')[_0x5f54f2(0x169)]()&&(_0x3e322f=_0x5f54f2(0x184)+_0x3e322f+_0x5f54f2(0x196)),this[_0x5f54f2(0x16a)][_0x5f54f2(0x1e0)]({'actionId':_0x151364,'query':_0x29685d,'htmlContent':_0x3e322f,'label':_0xbab0e1,'mainActionLabel':_0x5ec642[_0x4e9c17[_0x5f54f2(0x1d8)][_0x5f54f2(0x1ee)][_0x5f54f2(0x17c)][_0x5f54f2(0x1fe)]?_0x5f54f2(0x199):_0x5f54f2(0x198)]}),_0x5f54f2(0x1f3)!==this[_0x5f54f2(0x16b)]['id']?this[_0x5f54f2(0x16b)][_0x5f54f2(0x1f0)]({'id':_0x5f54f2(0x1f3),'icon':_0x48e6bf[_0x5f54f2(0x18f)],'title':_0x3d11aa(this[_0x5f54f2(0x1db)][_0x5f54f2(0x183)],_0x5f54f2(0x19a)),'content':this[_0x5f54f2(0x158)],'position':_0x18bd20[_0x5f54f2(0x1c8)],'onShow':()=>{const _0x1dc77d=_0x5f54f2;this[_0x1dc77d(0x158)][_0x1dc77d(0x1f9)]();},'onHide':()=>{const _0x38a4ec=_0x5f54f2;this[_0x38a4ec(0x16a)][_0x38a4ec(0x205)](),_0x21a7e7[_0x38a4ec(0x19d)]();}}):this[_0x5f54f2(0x16b)][_0x5f54f2(0x1a4)][_0x5f54f2(0x1e5)]||this[_0x5f54f2(0x16b)][_0x5f54f2(0x1a4)][_0x5f54f2(0x176)]();}[_0x5521bd(0x168)](){const _0x5ed4c2=_0x5521bd;this[_0x5ed4c2(0x16b)][_0x5ed4c2(0x197)]();}[_0x5521bd(0x1f4)](){const _0x347349=_0x5521bd,_0x4c8e47=new Map(),_0x2ce9ae=_0x2c9263(this[_0x347349(0x1db)][_0x347349(0x1ad)][_0x347349(0x188)](_0x347349(0x1dc)),this[_0x347349(0x1db)][_0x347349(0x183)]);for(const _0x542777 of _0x2ce9ae)for(const _0x3d10a9 of _0x542777[_0x347349(0x1c7)])_0x4c8e47[_0x347349(0x181)](_0x3d10a9['id'],{..._0x3d10a9,'groupId':_0x542777[_0x347349(0x1d0)],'groupLabel':_0x542777[_0x347349(0x1b9)]||_0x542777[_0x347349(0x1d0)]});return _0x4c8e47;}[_0x5521bd(0x1f7)](_0x1104c4){const _0x279965=_0x5521bd,_0x543adf=this[_0x279965(0x1db)],_0x594799=_0x543adf[_0x279965(0x1c7)][_0x279965(0x188)](_0x279965(0x1dd)),_0x39b1fd=new _0x1104c4(_0x543adf[_0x279965(0x183)]);return _0x39b1fd[_0x279965(0x181)]({'label':_0x3d11aa(_0x543adf[_0x279965(0x183)],_0x279965(0x19a)),'icon':_0x48e6bf[_0x279965(0x18f)],'isToggleable':!0x0}),_0x39b1fd[_0x279965(0x1c6)](_0x279965(0x179))['to'](_0x594799),_0x39b1fd[_0x279965(0x1c6)](_0x279965(0x170))['to'](this[_0x279965(0x16b)],'id',_0x4849d2=>_0x279965(0x1f3)===_0x4849d2),this[_0x279965(0x1d1)](_0x39b1fd,_0x279965(0x1b4),()=>{const _0x1c843a=_0x279965;_0x39b1fd[_0x1c843a(0x170)]?this[_0x1c843a(0x168)]():_0x594799[_0x1c843a(0x1b4)]();}),_0x39b1fd;}[_0x5521bd(0x1cc)](){const _0x127e7d=_0x5521bd,_0x102cd7=this[_0x127e7d(0x1db)][_0x127e7d(0x1c9)][_0x127e7d(0x188)](_0x3bbd66);this[_0x127e7d(0x158)]=new _0x576606(this[_0x127e7d(0x1db)][_0x127e7d(0x183)],this[_0x127e7d(0x1bd)],this[_0x127e7d(0x1db)][_0x127e7d(0x1ad)][_0x127e7d(0x188)](_0x127e7d(0x1a1))),this[_0x127e7d(0x158)]['on'](_0x127e7d(0x15c),()=>{const _0x3c1c92=_0x127e7d;this[_0x3c1c92(0x16b)][_0x3c1c92(0x1a4)][_0x3c1c92(0x1e5)]||this[_0x3c1c92(0x16b)][_0x3c1c92(0x1a4)][_0x3c1c92(0x176)]();}),this[_0x127e7d(0x158)][_0x127e7d(0x1e2)][_0x127e7d(0x1af)][_0x127e7d(0x1a7)]['on'](_0x127e7d(0x164),()=>{const _0x290530=_0x127e7d;this[_0x290530(0x16b)][_0x290530(0x1a4)][_0x290530(0x1e5)]||this[_0x290530(0x16b)][_0x290530(0x1a4)][_0x290530(0x176)]();}),this[_0x127e7d(0x1d1)](this[_0x127e7d(0x158)],_0x127e7d(0x1ce),()=>{const _0x352bbc=_0x127e7d;_0x102cd7[_0x352bbc(0x1b7)](this[_0x352bbc(0x16a)][_0x352bbc(0x1a5)]),this[_0x352bbc(0x168)]();}),this[_0x127e7d(0x1d1)](this[_0x127e7d(0x158)],_0x127e7d(0x1c2),()=>{const _0x5747c0=_0x127e7d;_0x102cd7[_0x5747c0(0x1c2)](this[_0x5747c0(0x16a)][_0x5747c0(0x1a5)]),this[_0x5747c0(0x168)]();}),this[_0x127e7d(0x18b)]();}[_0x5521bd(0x18b)](){const _0x331017=_0x5521bd,{locale:_0xedaa57,ui:{ariaLiveAnnouncer:_0x11e736}}=this[_0x331017(0x1db)];this[_0x331017(0x158)][_0x331017(0x171)]['on'](_0x331017(0x167),(_0x498887,_0x512bef,_0x552d6d)=>{const _0x261e86=_0x331017,_0x20751f=this[_0x261e86(0x16a)][_0x261e86(0x1a5)];_0x552d6d?_0x11e736[_0x261e86(0x1d5)](_0x3d11aa(_0xedaa57,_0x261e86(0x1ab))):_0x20751f&&_0x11e736[_0x261e86(0x1d5)](_0x3d11aa(_0xedaa57,_0x261e86(0x1c1),_0x20751f),{'politeness':_0x261e86(0x15e),'isUnsafeHTML':!0x0});}),this[_0x331017(0x158)]['on'](_0x331017(0x174),(_0x339224,_0x1cbfec,_0x147557)=>{const _0x29b464=_0x331017;if(_0x147557){const _0x2516f1=this[_0x29b464(0x158)][_0x29b464(0x1c4)][_0x29b464(0x189)];_0x11e736[_0x29b464(0x1d5)](_0x3d11aa(_0xedaa57,_0x29b464(0x1b5),_0x2516f1));}});}[_0x5521bd(0x1a3)](_0x2bd1cf){const _0x241235=_0x5521bd,_0x55ffd0=this[_0x241235(0x1df)][_0x241235(0x188)](_0x2bd1cf),_0x865c9e=this[_0x241235(0x1db)],_0x18db69=_0x865c9e[_0x241235(0x1d8)][_0x241235(0x1ee)][_0x241235(0x17c)],_0xab80a7=_0x865c9e[_0x241235(0x1c7)][_0x241235(0x188)](_0x241235(0x1dd)),_0x4e2581=_0x865c9e[_0x241235(0x1c9)][_0x241235(0x188)](_0x3bbd66),_0x3a4806=''+(_0x55ffd0[_0x241235(0x1d0)]!==_0x5b2358?_0x55ffd0[_0x241235(0x1b9)]+':\x20':'')+_0x55ffd0[_0x241235(0x1bf)];if(!0x1!==_0x55ffd0[_0x241235(0x18e)]&&_0x18db69[_0x241235(0x1fe)]){const _0x449870=_0x3a7bd5(_0x18db69[_0x241235(0x1f5)]())||_0x865c9e[_0x241235(0x1d8)][_0x241235(0x1d2)][_0x241235(0x1d4)](_0x18db69);_0x865c9e[_0x241235(0x1d8)][_0x241235(0x1d3)](_0x3f9f16=>{const _0x1a09ab=_0x241235;_0x3f9f16[_0x1a09ab(0x163)](_0x449870,'in');});}_0x4e2581[_0x241235(0x19e)](),_0xab80a7[_0x241235(0x1b4)](_0x55ffd0[_0x241235(0x162)],_0x3a4806,_0x241235(0x177)+_0x2bd1cf);}[_0x5521bd(0x1ba)](_0x65e70e,_0x56d5ad,_0x2afe14,_0x141fe6){const _0x4edf1d=_0x5521bd,_0x142e66=this[_0x4edf1d(0x1db)],_0x321bdb=_0x142e66[_0x4edf1d(0x183)],_0x5f1122=new _0xd3cc90(_0x321bdb),_0x2b0180=U(_0x142e66,_0x2afe14)[_0x4edf1d(0x200)](_0x2533e8=>_0x2533e8[_0x4edf1d(0x1c7)][_0x4edf1d(0x19b)]);0x1===_0x2b0180[_0x4edf1d(0x19b)]?this[_0x4edf1d(0x15d)]({'command':_0x65e70e,'commands':_0x2b0180[0x0][_0x4edf1d(0x1c7)],'parentMenuView':_0x56d5ad,'onExecute':_0x141fe6})[_0x4edf1d(0x1b6)](_0x25923a=>_0x5f1122[_0x4edf1d(0x1be)][_0x4edf1d(0x1cf)](_0x25923a)):_0x2b0180[_0x4edf1d(0x1b6)](({groupId:_0x16bb69,groupLabel:_0x5f73d8,commands:_0x14eb4c})=>{const _0x51dfe7=_0x4edf1d,_0x46fb95=new _0x8620f1(_0x321bdb,_0x56d5ad),_0x3cb838=new _0x245352(_0x321bdb),_0x4024fd=new _0xd3cc90(_0x321bdb),_0x426749=this[_0x51dfe7(0x15d)]({'command':_0x65e70e,'commands':_0x14eb4c,'parentMenuView':_0x3cb838,'onExecute':_0x141fe6});_0x3cb838[_0x51dfe7(0x17f)][_0x51dfe7(0x181)]({'label':_0x5f73d8||_0x16bb69}),_0x3cb838[_0x51dfe7(0x17a)](_0x51dfe7(0x1b4))['to'](_0x56d5ad),_0x4024fd[_0x51dfe7(0x1be)][_0x51dfe7(0x191)](_0x426749),_0x3cb838[_0x51dfe7(0x1f6)][_0x51dfe7(0x1e4)][_0x51dfe7(0x1cf)](_0x4024fd),_0x46fb95[_0x51dfe7(0x1e4)][_0x51dfe7(0x1cf)](_0x3cb838),_0x5f1122[_0x51dfe7(0x1be)][_0x51dfe7(0x1cf)](_0x46fb95);}),_0x56d5ad[_0x4edf1d(0x1f6)][_0x4edf1d(0x1e4)][_0x4edf1d(0x1cf)](_0x5f1122);}[_0x5521bd(0x15d)]({command:_0x20e9d1,commands:_0x224a16,parentMenuView:_0x4910de,onExecute:_0x20c969}){const _0x244155=_0x5521bd,_0x586f30=this[_0x244155(0x1db)],_0x45449e=_0x586f30[_0x244155(0x183)];return U(_0x586f30,_0x224a16)[_0x244155(0x1cd)](_0x92d1ff=>{const _0x4b0a9e=_0x244155,_0x53a059=new _0x8620f1(_0x45449e,_0x4910de),_0x330f21=new _0x2ec974(_0x45449e);return _0x330f21[_0x4b0a9e(0x181)]({'label':_0x92d1ff[_0x4b0a9e(0x1bf)]}),_0x330f21[_0x4b0a9e(0x17a)](_0x4b0a9e(0x1b4))['to'](_0x4910de),_0x330f21['on'](_0x4b0a9e(0x1b4),()=>_0x20c969(_0x92d1ff['id'])),_0x330f21[_0x4b0a9e(0x1c6)](_0x4b0a9e(0x179))['to'](_0x20e9d1,_0x4b0a9e(0x1ed),_0xdb362f=>_0xdb362f[_0x4b0a9e(0x1a9)](_0x92d1ff['id'])),_0x53a059[_0x4b0a9e(0x1e4)][_0x4b0a9e(0x1cf)](_0x330f21),_0x53a059;});}}function B(_0x3a21f6,_0x25d7a4){const _0x100991=_0x5521bd;return void 0x0!==_0x3a21f6[_0x100991(0x157)]&&void 0x0===_0x25d7a4[_0x100991(0x157)]?0x1:void 0x0===_0x3a21f6[_0x100991(0x157)]&&void 0x0!==_0x25d7a4[_0x100991(0x157)]?-0x1:void 0x0!==_0x3a21f6[_0x100991(0x157)]&&void 0x0!==_0x25d7a4[_0x100991(0x157)]?_0x3a21f6[_0x100991(0x157)]-_0x25d7a4[_0x100991(0x157)]:0x0;}function U(_0x5611ef,_0x2578f8){const _0x4001f1=_0x5521bd;_0x2578f8[_0x4001f1(0x204)](B);const _0x582b82={},_0x20c230=[];for(const _0x2a95d3 of _0x2578f8)if(void 0x0!==_0x2a95d3[_0x4001f1(0x157)]){if(_0x2a95d3[_0x4001f1(0x157)]in _0x582b82)throw new _0x2e9630(_0x4001f1(0x1bb),_0x5611ef,{'conflictingDefinitions':[_0x2a95d3,_0x582b82[_0x2a95d3[_0x4001f1(0x157)]]]});_0x582b82[_0x2a95d3[_0x4001f1(0x157)]]=_0x2a95d3,_0x20c230[_0x4001f1(0x1fb)](_0x2a95d3[_0x4001f1(0x157)],0x0,_0x2a95d3);}else _0x20c230[_0x4001f1(0x1e1)](_0x2a95d3);return _0x20c230;}
|
|
23
|
+
const _0x54a1ee=_0x3bc6;(function(_0x579927,_0x5eff05){const _0x157974=_0x3bc6,_0x537415=_0x579927();while(!![]){try{const _0x2ddbac=-parseInt(_0x157974(0xea))/0x1+parseInt(_0x157974(0x107))/0x2+-parseInt(_0x157974(0xc5))/0x3*(-parseInt(_0x157974(0xfc))/0x4)+-parseInt(_0x157974(0xb1))/0x5+parseInt(_0x157974(0x10a))/0x6+-parseInt(_0x157974(0xbc))/0x7*(parseInt(_0x157974(0xc4))/0x8)+parseInt(_0x157974(0x12c))/0x9*(parseInt(_0x157974(0xaa))/0xa);if(_0x2ddbac===_0x5eff05)break;else _0x537415['push'](_0x537415['shift']());}catch(_0x54e2c0){_0x537415['push'](_0x537415['shift']());}}}(_0x475d,0x80d9a));import{Plugin as _0x29ecf9}from'ckeditor5/src/core.js';import{first as _0x493a51,CKEditorError as _0x16e26c}from'ckeditor5/src/utils.js';import{createDropdown as _0x502eb2,addMenuToDropdown as _0x464c14,ButtonView as _0x464cc5,MenuBarMenuListItemButtonView as _0x51b228,Dialog as _0x11cdc6,DialogViewPosition as _0x29acda,MenuBarMenuView as _0x2f42f3,MenuBarMenuListView as _0x59e6b6,MenuBarMenuListItemView as _0x41f510}from'ckeditor5/src/ui.js';import{icons as _0x44549e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3bc6(_0x59005d,_0x2e80d9){const _0x475d48=_0x475d();return _0x3bc6=function(_0x3bc691,_0xfec6df){_0x3bc691=_0x3bc691-0x8c;let _0x24a698=_0x475d48[_0x3bc691];return _0x24a698;},_0x3bc6(_0x59005d,_0x2e80d9);}import{normalizeCommandsConfig as _0x116637,UNGROUPED_COMMANDS_GROUP_ID as _0x22a62b}from'./utils/normalizecommandsconfig.js';function _0x475d(){const _0x190bd8=['filter','fire','command:','expired','574776gMnucY','_createAIAssistantUIButton','comment','655698DXuqoE','change:isError','AIAssistant','getLimitElement','aiLicenseKeyUsageLimit','enabledCommandsIds','ck-ai-assistant-ui','push','evaluationLimit','EDITOR_TOP_SIDE','requiresContent','promptView','isOfficialPlugin','getSelectedElement','values','isCollapsed','AI\x20Assistant','includes','_getResolvedCommandsDefinitions','ai.aiAssistant.disabledElements','wasMoved','selection','config','locale','invalid','view','AI\x20is\x20writing','reset','_initAriaAiStatusChangeAnnouncements','editing','from','rawHtml','prompt','_forceMarkersCopy','12117321VVHvbF','hideFakeVisualSelection','_licenseKeyCheckInterval','media','body','ai.aiAssistant.commands','execute','trialLimit','<p>','source','plugins','_uiCssClasses','showFakeVisualSelection','featureNotAllowed','menuBar:aiCommands','robotPencil','define','DataTransfer','menuitemcheckbox','currentContext','aiLicenseKeyEvaluationLimit','menuBar:aiAssistant','getSelectedBlocks','init','aiLicenseKeyExpired','bind','update','change:value','fieldView','get','announce','Error\x20during\x20AI\x20content\x20generation:\x20%0','errorView','copy','_getMenuBarGroupButtons','contentArea','\x20ck-ai-assistant-ui_theme','INSERT','hideUI','ai.aiAssistant.contentAreaCssClass','items','text','updateView','aiAssistant','ai.useTheme','order','text/html','10mCcnfi','_aiAssistantController','AI\x20Commands','aiLicenseKeyTrialLimit','document','menuView','children','988400LjYbfo','_onExecute','showUI','pluginName','replace','custom','insertContentBelow','aiCommands','change:isProcessing','_showLicenseError','ck-ai-assistant-button\x20','14XOrpnv','splice','groupLabel','textAdapter','listenTo','getData','buttons','queryView','2976496fwnuDC','3PrvRzU','_populateMenuBarMenu','licenseKey','aiLicenseKeyDomainLimit','Generated\x20content:\x20%0','map','setSelection','polite','once','tableOfContents','domainLimit','buttonView','isEnabled','_commandDefinitions','change','menuPanelClass','aiLicenseKeyInvalid','destroy','ai-commands-config-order-collision','_dialog','addMany','trim','editor','change:enabledCommandsIds','aiLicenseKeyValid','requires','render','length','</p>','getRanges','_formView','model','add','aiLicenseKeyNotAllowed','REPLACE','ck-ai-commands-dropdown\x20','usageLimit','729101AxtSqf','forEach','schema','sort','isOn','groupId','insertContent','_initView','AIAssistantUI','panelView','commands','focus','hide','set','show','isFlat','isPremiumPlugin','componentFactory','1822540XiJlUz','label','delegate','updatePosition','_aiAdapter','replaceContent','showAIAssistant'];_0x475d=function(){return _0x190bd8;};return _0x475d();}import _0x48c2f2 from'./aiassistantediting.js';import _0x21d38b from'./adapters/aiadapter.js';import{getTranslation as _0xf2dca5}from'./utils/common-translations.js';import _0x4b7b8f from'./ui/showaiassistantcommand.js';import _0x43e316 from'./ui/aiassistantcontroller.js';import _0x1c3195 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3212f4}from'./ui/form/aiformtoolbarview.js';import _0x38e38b from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x54a1ee(0x8c)];import{ClipboardMarkersUtils as _0xea9c71}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3af330,DataTransfer as _0x82bb0a}from'ckeditor5/src/engine.js';export default class n extends _0x29ecf9{static get[_0x54a1ee(0xb4)](){const _0x1e2b03=_0x54a1ee;return _0x1e2b03(0xf2);}static get[_0x54a1ee(0x116)](){return!0x0;}static get[_0x54a1ee(0xfa)](){return!0x0;}static get[_0x54a1ee(0xde)](){return[_0xea9c71,_0x48c2f2,_0x21d38b,_0x11cdc6];}constructor(_0x1dac91){const _0x999142=_0x54a1ee;super(_0x1dac91),this[_0x999142(0x137)]='',_0x1dac91[_0x999142(0x120)][_0x999142(0x13c)](_0x999142(0x11d),[_0x999142(0x12f),_0x999142(0x129),_0x999142(0xce)]),_0x1dac91[_0x999142(0x120)][_0x999142(0x13c)](_0x999142(0xa2),''),_0x1dac91[_0x999142(0x120)][_0x999142(0x13c)](_0x999142(0xa7),!0x0),this[_0x999142(0x137)]=_0x999142(0x110)+(_0x1dac91[_0x999142(0x120)][_0x999142(0x98)](_0x999142(0xa7))?_0x999142(0x9f):'');}[_0x54a1ee(0x92)](){const _0x277190=_0x54a1ee,{editor:_0x7a9076}=this;this[_0x277190(0x100)]=_0x7a9076[_0x277190(0x136)][_0x277190(0x98)](_0x21d38b),this[_0x277190(0xd8)]=_0x7a9076[_0x277190(0x136)][_0x277190(0x98)](_0x11cdc6),this[_0x277190(0xe3)]=null,this[_0x277190(0xd2)]=this[_0x277190(0x11c)]();const _0x1a73a4=new _0x4b7b8f(_0x7a9076,Array[_0x277190(0x128)](this[_0x277190(0xd2)][_0x277190(0x118)]()));_0x7a9076[_0x277190(0xf4)][_0x277190(0xe5)](_0x277190(0x102),_0x1a73a4),_0x7a9076['ui'][_0x277190(0xfb)][_0x277190(0xe5)](_0x277190(0xb8),_0x1b1b25=>{const _0x26b9e6=_0x277190,_0x1ca455=_0x502eb2(_0x1b1b25);return _0x1ca455[_0x26b9e6(0xf7)]({'class':_0x26b9e6(0xe8)+this[_0x26b9e6(0x137)]}),_0x1ca455[_0x26b9e6(0xd0)][_0x26b9e6(0xf7)]({'label':_0xf2dca5(_0x1b1b25,_0x26b9e6(0xac)),'icon':_0x38e38b,'tooltip':!0x0}),_0x1ca455['on'](_0x26b9e6(0x132),_0x32e8e9=>this[_0x26b9e6(0xb2)](_0x32e8e9[_0x26b9e6(0x135)]['id'])),_0x464c14(_0x1ca455,_0x7a9076['ui'][_0x26b9e6(0x123)][_0x26b9e6(0x130)],function(_0x25d30e){const _0x162b92=_0x26b9e6,_0x52721b=_0x116637(_0x25d30e[_0x162b92(0x120)][_0x162b92(0x98)](_0x162b92(0x131)),_0x25d30e[_0x162b92(0x121)]),_0x36b5df=U(_0x25d30e,_0x52721b)[_0x162b92(0x103)](_0x9be22b=>_0x9be22b[_0x162b92(0xf4)][_0x162b92(0xe0)]);if(0x1===_0x36b5df[_0x162b92(0xe0)])return U(_0x25d30e,_0x36b5df[0x0][_0x162b92(0xf4)])[_0x162b92(0xca)](_0x5b9877=>({'id':_0x5b9877['id'],'label':_0x5b9877[_0x162b92(0xfd)]}));return _0x36b5df[_0x162b92(0xca)](_0x5ae0fa=>{const _0x204620=_0x162b92,{groupId:_0x3a94b6,groupLabel:_0x3cb611,commands:_0xa34d52}=_0x5ae0fa,_0x470c54=U(_0x25d30e,_0xa34d52)[_0x204620(0xca)](_0x4a6ca5=>({'id':_0x4a6ca5['id'],'label':_0x4a6ca5[_0x204620(0xfd)]}));return{'id':_0x3a94b6,'menu':_0x3cb611||_0x3a94b6,'children':_0x470c54};});}(_0x7a9076),{'ariaLabel':_0xf2dca5(_0x1b1b25,_0x26b9e6(0xac))}),_0x1ca455[_0x26b9e6(0xaf)][_0x26b9e6(0xd4)]=_0x26b9e6(0xe8)+this[_0x26b9e6(0x137)],_0x1a73a4['on'](_0x26b9e6(0xdc),_0x4b5cb3),_0x1ca455[_0x26b9e6(0xaf)][_0x26b9e6(0xcd)](_0x26b9e6(0xdf),_0x4b5cb3),_0x1ca455;function _0x4b5cb3(){const _0x1f3842=_0x26b9e6;_0x1ca455[_0x1f3842(0xd1)]=_0x1a73a4[_0x1f3842(0x10f)][_0x1f3842(0xe0)]>0x0;for(const _0x286d31 of _0x1ca455[_0x1f3842(0xaf)][_0x1f3842(0xc2)])_0x286d31[_0x1f3842(0xd1)]=_0x1a73a4[_0x1f3842(0x10f)][_0x1f3842(0x11b)](_0x286d31['id']);}}),_0x7a9076['ui'][_0x277190(0xfb)][_0x277190(0xe5)](_0x277190(0x13a),_0x272865=>{const _0x421213=_0x277190,_0xa36ad8=new _0x2f42f3(_0x272865);_0xa36ad8[_0x421213(0xd0)][_0x421213(0xf7)]({'label':_0xf2dca5(_0x272865,_0x421213(0xac)),'icon':_0x38e38b}),_0xa36ad8[_0x421213(0x94)](_0x421213(0xd1))['to'](_0x1a73a4,_0x421213(0x10f),_0x4288e1=>_0x4288e1[_0x421213(0xe0)]>0x0);const _0x3fc8f2=_0x116637(_0x7a9076[_0x421213(0x120)][_0x421213(0x98)](_0x421213(0x131)),_0x272865);return this[_0x421213(0xc6)](_0x1a73a4,_0xa36ad8,_0x3fc8f2,_0x2c69ba=>this[_0x421213(0xb2)](_0x2c69ba)),_0xa36ad8;}),_0x7a9076['ui'][_0x277190(0xfb)][_0x277190(0xe5)](_0x277190(0xa6),()=>{const _0x5e09db=_0x277190,_0x4cf48c=this[_0x5e09db(0x108)](_0x464cc5);return _0x4cf48c[_0x5e09db(0xf7)]({'tooltip':!0x0,'class':_0x5e09db(0xbb)+this[_0x5e09db(0x137)]}),_0x4cf48c;}),_0x7a9076['ui'][_0x277190(0xfb)][_0x277190(0xe5)](_0x277190(0x90),()=>{const _0x27570b=_0x277190,_0x30e07d=this[_0x27570b(0x108)](_0x51b228);return _0x30e07d[_0x27570b(0xf7)]({'role':_0x27570b(0x8d)}),_0x30e07d;}),this[_0x277190(0xc7)]=this[_0x277190(0xdb)][_0x277190(0x120)][_0x277190(0x98)](_0x277190(0xc7));const _0x292914=this[_0x277190(0xdb)];this[_0x277190(0x12e)]=setInterval(()=>{const _0x291f19=_0x277190;let _0x4bd5ba;for(const _0x25eddd in _0x292914){const _0x5a4283=_0x25eddd,_0x191ddc=_0x292914[_0x5a4283];if(_0x291f19(0xdd)==_0x191ddc||_0x291f19(0xd5)==_0x191ddc||_0x291f19(0x93)==_0x191ddc||_0x291f19(0xc8)==_0x191ddc||_0x291f19(0xe6)==_0x191ddc||_0x291f19(0x8f)==_0x191ddc||_0x291f19(0xad)==_0x191ddc||_0x291f19(0x10e)==_0x191ddc){delete _0x292914[_0x5a4283],_0x4bd5ba=_0x191ddc,clearInterval(this[_0x291f19(0x12e)]),this[_0x291f19(0x12e)]=void 0x0;break;}}_0x291f19(0xd5)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0x122)),_0x291f19(0x93)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0x106)),_0x291f19(0xc8)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0xcf)),_0x291f19(0xe6)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0x139),_0x291f19(0x10c)),_0x291f19(0x8f)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0x112)),_0x291f19(0xad)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0x133)),_0x291f19(0x10e)==_0x4bd5ba&&_0x292914[_0x291f19(0xba)](_0x291f19(0xe9));},0x3e8);}[_0x54a1ee(0xd6)](){const _0x32e8d0=_0x54a1ee;super[_0x32e8d0(0xd6)](),this[_0x32e8d0(0x12e)]&&clearInterval(this[_0x32e8d0(0x12e)]);}[_0x54a1ee(0xb3)](_0x57dcd7='',_0x171f1f='',_0x47dc61=_0x54a1ee(0xb6)){const _0x7a261c=_0x54a1ee,_0x3d82b8=this[_0x7a261c(0xdb)],_0x4b13ef=_0x3d82b8[_0x7a261c(0x127)][_0x7a261c(0x123)],_0x49a2d8=_0x3d82b8[_0x7a261c(0x136)][_0x7a261c(0x98)](_0x48c2f2),_0x2a8858=_0x3d82b8[_0x7a261c(0x136)][_0x7a261c(0x98)](_0xea9c71);_0x49a2d8[_0x7a261c(0x138)]();const _0x55f9bc=new w(),_0x2bb53a=new ClipboardEvent(_0x7a261c(0x9c),{'clipboardData':_0x55f9bc}),_0x3fdb13=new _0x82bb0a(_0x55f9bc),_0x1e3be4=new _0x3af330(_0x4b13ef,_0x2bb53a,{'dataTransfer':_0x3fdb13});_0x2a8858[_0x7a261c(0x12b)](_0x7a261c(0x109),()=>{const _0x122898=_0x7a261c;_0x4b13ef[_0x122898(0xae)][_0x122898(0x104)](_0x122898(0x9c),_0x1e3be4);}),this[_0x7a261c(0xe3)]||(this[_0x7a261c(0xf1)](),this[_0x7a261c(0xab)]=new _0x43e316(_0x3d82b8,this[_0x7a261c(0x100)][_0x7a261c(0xbf)],this[_0x7a261c(0xe3)]));let _0x1167bd=_0x3fdb13[_0x7a261c(0xc1)](_0x7a261c(0xa9));const _0x5c0dfd=_0x3d82b8[_0x7a261c(0xe4)][_0x7a261c(0xae)][_0x7a261c(0x11f)],_0x4f76b5=Array[_0x7a261c(0x128)](_0x5c0dfd[_0x7a261c(0xe2)]());0x1===_0x4f76b5[_0x7a261c(0xe0)]&&_0x4f76b5[0x0][_0x7a261c(0xf9)]&&!_0x5c0dfd[_0x7a261c(0x117)]()&&''!==_0x1167bd[_0x7a261c(0xb5)](/ /g,'')[_0x7a261c(0xda)]()&&(_0x1167bd=_0x7a261c(0x134)+_0x1167bd+_0x7a261c(0xe1)),this[_0x7a261c(0xab)][_0x7a261c(0xa5)]({'actionId':_0x47dc61,'query':_0x57dcd7,'htmlContent':_0x1167bd,'label':_0x171f1f,'mainActionLabel':_0x3212f4[_0x3d82b8[_0x7a261c(0xe4)][_0x7a261c(0xae)][_0x7a261c(0x11f)][_0x7a261c(0x119)]?_0x7a261c(0xa0):_0x7a261c(0xe7)]}),_0x7a261c(0xa6)!==this[_0x7a261c(0xd8)]['id']?this[_0x7a261c(0xd8)][_0x7a261c(0xf8)]({'id':_0x7a261c(0xa6),'icon':_0x44549e[_0x7a261c(0x13b)],'title':_0xf2dca5(this[_0x7a261c(0xdb)][_0x7a261c(0x121)],_0x7a261c(0x11a)),'content':this[_0x7a261c(0xe3)],'position':_0x29acda[_0x7a261c(0x113)],'onShow':()=>{const _0x5e56b5=_0x7a261c;this[_0x5e56b5(0xe3)][_0x5e56b5(0xf5)]();},'onHide':()=>{const _0x2c40b0=_0x7a261c;this[_0x2c40b0(0xab)][_0x2c40b0(0x125)](),_0x49a2d8[_0x2c40b0(0x12d)]();}}):this[_0x7a261c(0xd8)][_0x7a261c(0x123)][_0x7a261c(0x11e)]||this[_0x7a261c(0xd8)][_0x7a261c(0x123)][_0x7a261c(0xff)]();}[_0x54a1ee(0xa1)](){const _0x3d524f=_0x54a1ee;this[_0x3d524f(0xd8)][_0x3d524f(0xf6)]();}[_0x54a1ee(0x11c)](){const _0x277da6=_0x54a1ee,_0x500932=new Map(),_0xbcc38f=_0x116637(this[_0x277da6(0xdb)][_0x277da6(0x120)][_0x277da6(0x98)](_0x277da6(0x131)),this[_0x277da6(0xdb)][_0x277da6(0x121)]);for(const _0x23c4a4 of _0xbcc38f)for(const _0x13458f of _0x23c4a4[_0x277da6(0xf4)])_0x500932[_0x277da6(0xf7)](_0x13458f['id'],{..._0x13458f,'groupId':_0x23c4a4[_0x277da6(0xef)],'groupLabel':_0x23c4a4[_0x277da6(0xbe)]||_0x23c4a4[_0x277da6(0xef)]});return _0x500932;}[_0x54a1ee(0x108)](_0x1b9a5b){const _0x48e156=_0x54a1ee,_0x54c6e0=this[_0x48e156(0xdb)],_0x1e6768=_0x54c6e0[_0x48e156(0xf4)][_0x48e156(0x98)](_0x48e156(0x102)),_0x593153=new _0x1b9a5b(_0x54c6e0[_0x48e156(0x121)]);return _0x593153[_0x48e156(0xf7)]({'label':_0xf2dca5(_0x54c6e0[_0x48e156(0x121)],_0x48e156(0x11a)),'icon':_0x44549e[_0x48e156(0x13b)],'isToggleable':!0x0}),_0x593153[_0x48e156(0x94)](_0x48e156(0xd1))['to'](_0x1e6768),_0x593153[_0x48e156(0x94)](_0x48e156(0xee))['to'](this[_0x48e156(0xd8)],'id',_0x50dc01=>_0x48e156(0xa6)===_0x50dc01),this[_0x48e156(0xc0)](_0x593153,_0x48e156(0x132),()=>{const _0x6948b3=_0x48e156;_0x593153[_0x6948b3(0xee)]?this[_0x6948b3(0xa1)]():_0x1e6768[_0x6948b3(0x132)]();}),_0x593153;}[_0x54a1ee(0xf1)](){const _0x1eff1c=_0x54a1ee,_0xebd75d=this[_0x1eff1c(0xdb)][_0x1eff1c(0x136)][_0x1eff1c(0x98)](_0x48c2f2);this[_0x1eff1c(0xe3)]=new _0x1c3195(this[_0x1eff1c(0xdb)][_0x1eff1c(0x121)],this[_0x1eff1c(0x137)],this[_0x1eff1c(0xdb)][_0x1eff1c(0x120)][_0x1eff1c(0x98)](_0x1eff1c(0xa2))),this[_0x1eff1c(0xe3)]['on'](_0x1eff1c(0x96),()=>{const _0xe8bc0b=_0x1eff1c;this[_0xe8bc0b(0xd8)][_0xe8bc0b(0x123)][_0xe8bc0b(0x11e)]||this[_0xe8bc0b(0xd8)][_0xe8bc0b(0x123)][_0xe8bc0b(0xff)]();}),this[_0x1eff1c(0xe3)][_0x1eff1c(0x115)][_0x1eff1c(0xc3)][_0x1eff1c(0x97)]['on'](_0x1eff1c(0x95),()=>{const _0x3ecafe=_0x1eff1c;this[_0x3ecafe(0xd8)][_0x3ecafe(0x123)][_0x3ecafe(0x11e)]||this[_0x3ecafe(0xd8)][_0x3ecafe(0x123)][_0x3ecafe(0xff)]();}),this[_0x1eff1c(0xc0)](this[_0x1eff1c(0xe3)],_0x1eff1c(0x101),()=>{const _0x1796e7=_0x1eff1c;_0xebd75d[_0x1796e7(0xf0)](this[_0x1796e7(0xab)][_0x1796e7(0x8e)]),this[_0x1796e7(0xa1)]();}),this[_0x1eff1c(0xc0)](this[_0x1eff1c(0xe3)],_0x1eff1c(0xb7),()=>{const _0x25eaef=_0x1eff1c;_0xebd75d[_0x25eaef(0xb7)](this[_0x25eaef(0xab)][_0x25eaef(0x8e)]),this[_0x25eaef(0xa1)]();}),this[_0x1eff1c(0x126)]();}[_0x54a1ee(0x126)](){const _0x2939b3=_0x54a1ee,{locale:_0x348fc3,ui:{ariaLiveAnnouncer:_0xff5fb0}}=this[_0x2939b3(0xdb)];this[_0x2939b3(0xe3)][_0x2939b3(0x9e)]['on'](_0x2939b3(0xb9),(_0x1f5dd1,_0x4c8c55,_0xc3ce0c)=>{const _0x26914d=_0x2939b3,_0x14c3d4=this[_0x26914d(0xab)][_0x26914d(0x8e)];_0xc3ce0c?_0xff5fb0[_0x26914d(0x99)](_0xf2dca5(_0x348fc3,_0x26914d(0x124))):_0x14c3d4&&_0xff5fb0[_0x26914d(0x99)](_0xf2dca5(_0x348fc3,_0x26914d(0xc9),_0x14c3d4),{'politeness':_0x26914d(0xcc),'isUnsafeHTML':!0x0});}),this[_0x2939b3(0xe3)]['on'](_0x2939b3(0x10b),(_0x39323f,_0x3d117e,_0x234c12)=>{const _0x2cecd6=_0x2939b3;if(_0x234c12){const _0x17ca9e=this[_0x2cecd6(0xe3)][_0x2cecd6(0x9b)][_0x2cecd6(0xa4)];_0xff5fb0[_0x2cecd6(0x99)](_0xf2dca5(_0x348fc3,_0x2cecd6(0x9a),_0x17ca9e));}});}[_0x54a1ee(0xb2)](_0x2e54e6){const _0x4476e9=_0x54a1ee,_0x3c8c4c=this[_0x4476e9(0xd2)][_0x4476e9(0x98)](_0x2e54e6),_0x5b181b=this[_0x4476e9(0xdb)],_0x128edd=_0x5b181b[_0x4476e9(0xe4)][_0x4476e9(0xae)][_0x4476e9(0x11f)],_0x24c5bc=_0x5b181b[_0x4476e9(0xf4)][_0x4476e9(0x98)](_0x4476e9(0x102)),_0x68849a=_0x5b181b[_0x4476e9(0x136)][_0x4476e9(0x98)](_0x48c2f2),_0x17c20e=''+(_0x3c8c4c[_0x4476e9(0xef)]!==_0x22a62b?_0x3c8c4c[_0x4476e9(0xbe)]+':\x20':'')+_0x3c8c4c[_0x4476e9(0xfd)];if(!0x1!==_0x3c8c4c[_0x4476e9(0x114)]&&_0x128edd[_0x4476e9(0x119)]){const _0x4ced5e=_0x493a51(_0x128edd[_0x4476e9(0x91)]())||_0x5b181b[_0x4476e9(0xe4)][_0x4476e9(0xec)][_0x4476e9(0x10d)](_0x128edd);_0x5b181b[_0x4476e9(0xe4)][_0x4476e9(0xd3)](_0x286e89=>{const _0x5a0e6b=_0x4476e9;_0x286e89[_0x5a0e6b(0xcb)](_0x4ced5e,'in');});}_0x68849a[_0x4476e9(0x138)](),_0x24c5bc[_0x4476e9(0x132)](_0x3c8c4c[_0x4476e9(0x12a)],_0x17c20e,_0x4476e9(0x105)+_0x2e54e6);}[_0x54a1ee(0xc6)](_0xbd4977,_0x51db0e,_0x2f02cf,_0x567d00){const _0x3be17a=_0x54a1ee,_0x2af4eb=this[_0x3be17a(0xdb)],_0x4c1d74=_0x2af4eb[_0x3be17a(0x121)],_0x43fd63=new _0x59e6b6(_0x4c1d74),_0x208fc9=U(_0x2af4eb,_0x2f02cf)[_0x3be17a(0x103)](_0x51bc28=>_0x51bc28[_0x3be17a(0xf4)][_0x3be17a(0xe0)]);0x1===_0x208fc9[_0x3be17a(0xe0)]?this[_0x3be17a(0x9d)]({'command':_0xbd4977,'commands':_0x208fc9[0x0][_0x3be17a(0xf4)],'parentMenuView':_0x51db0e,'onExecute':_0x567d00})[_0x3be17a(0xeb)](_0x1967ae=>_0x43fd63[_0x3be17a(0xa3)][_0x3be17a(0xe5)](_0x1967ae)):_0x208fc9[_0x3be17a(0xeb)](({groupId:_0x1adeac,groupLabel:_0x4fa5b8,commands:_0xfef36b})=>{const _0x1b4510=_0x3be17a,_0x170d80=new _0x41f510(_0x4c1d74,_0x51db0e),_0x28aada=new _0x2f42f3(_0x4c1d74),_0x1f8a48=new _0x59e6b6(_0x4c1d74),_0x1b98fe=this[_0x1b4510(0x9d)]({'command':_0xbd4977,'commands':_0xfef36b,'parentMenuView':_0x28aada,'onExecute':_0x567d00});_0x28aada[_0x1b4510(0xd0)][_0x1b4510(0xf7)]({'label':_0x4fa5b8||_0x1adeac}),_0x28aada[_0x1b4510(0xfe)](_0x1b4510(0x132))['to'](_0x51db0e),_0x1f8a48[_0x1b4510(0xa3)][_0x1b4510(0xd9)](_0x1b98fe),_0x28aada[_0x1b4510(0xf3)][_0x1b4510(0xb0)][_0x1b4510(0xe5)](_0x1f8a48),_0x170d80[_0x1b4510(0xb0)][_0x1b4510(0xe5)](_0x28aada),_0x43fd63[_0x1b4510(0xa3)][_0x1b4510(0xe5)](_0x170d80);}),_0x51db0e[_0x3be17a(0xf3)][_0x3be17a(0xb0)][_0x3be17a(0xe5)](_0x43fd63);}[_0x54a1ee(0x9d)]({command:_0x120005,commands:_0x2a96b1,parentMenuView:_0x48a367,onExecute:_0x2d003e}){const _0x63ca38=_0x54a1ee,_0x18009e=this[_0x63ca38(0xdb)],_0x2d0c4c=_0x18009e[_0x63ca38(0x121)];return U(_0x18009e,_0x2a96b1)[_0x63ca38(0xca)](_0x3c533a=>{const _0x6c8a41=_0x63ca38,_0xcf395b=new _0x41f510(_0x2d0c4c,_0x48a367),_0x4d5265=new _0x51b228(_0x2d0c4c);return _0x4d5265[_0x6c8a41(0xf7)]({'label':_0x3c533a[_0x6c8a41(0xfd)]}),_0x4d5265[_0x6c8a41(0xfe)](_0x6c8a41(0x132))['to'](_0x48a367),_0x4d5265['on'](_0x6c8a41(0x132),()=>_0x2d003e(_0x3c533a['id'])),_0x4d5265[_0x6c8a41(0x94)](_0x6c8a41(0xd1))['to'](_0x120005,_0x6c8a41(0x10f),_0x376892=>_0x376892[_0x6c8a41(0x11b)](_0x3c533a['id'])),_0xcf395b[_0x6c8a41(0xb0)][_0x6c8a41(0xe5)](_0x4d5265),_0xcf395b;});}}function B(_0xf6d3e0,_0x181111){const _0x4d6631=_0x54a1ee;return void 0x0!==_0xf6d3e0[_0x4d6631(0xa8)]&&void 0x0===_0x181111[_0x4d6631(0xa8)]?0x1:void 0x0===_0xf6d3e0[_0x4d6631(0xa8)]&&void 0x0!==_0x181111[_0x4d6631(0xa8)]?-0x1:void 0x0!==_0xf6d3e0[_0x4d6631(0xa8)]&&void 0x0!==_0x181111[_0x4d6631(0xa8)]?_0xf6d3e0[_0x4d6631(0xa8)]-_0x181111[_0x4d6631(0xa8)]:0x0;}function U(_0x166bdc,_0x3affa5){const _0x23dc23=_0x54a1ee;_0x3affa5[_0x23dc23(0xed)](B);const _0x39def3={},_0x16cc6f=[];for(const _0x128d59 of _0x3affa5)if(void 0x0!==_0x128d59[_0x23dc23(0xa8)]){if(_0x128d59[_0x23dc23(0xa8)]in _0x39def3)throw new _0x16e26c(_0x23dc23(0xd7),_0x166bdc,{'conflictingDefinitions':[_0x128d59,_0x39def3[_0x128d59[_0x23dc23(0xa8)]]]});_0x39def3[_0x128d59[_0x23dc23(0xa8)]]=_0x128d59,_0x16cc6f[_0x23dc23(0xbd)](_0x128d59[_0x23dc23(0xa8)],0x0,_0x128d59);}else _0x16cc6f[_0x23dc23(0x111)](_0x128d59);return _0x16cc6f;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4e7a2e,_0x1ef6c0){var _0x216b75=_0x83b0,_0x4f0ea9=_0x4e7a2e();while(!![]){try{var _0x2a903d=parseInt(_0x216b75(0xad))/0x1+parseInt(_0x216b75(0xab))/0x2*(parseInt(_0x216b75(0xb0))/0x3)+-parseInt(_0x216b75(0xb2))/0x4*(-parseInt(_0x216b75(0xac))/0x5)+parseInt(_0x216b75(0xaf))/0x6*(-parseInt(_0x216b75(0xae))/0x7)+-parseInt(_0x216b75(0xa8))/0x8+parseInt(_0x216b75(0xaa))/0x9+parseInt(_0x216b75(0xa9))/0xa*(-parseInt(_0x216b75(0xb1))/0xb);if(_0x2a903d===_0x1ef6c0)break;else _0x4f0ea9['push'](_0x4f0ea9['shift']());}catch(_0x273c87){_0x4f0ea9['push'](_0x4f0ea9['shift']());}}}(_0x3a4f,0x6a31c));function _0x83b0(_0x520187,_0x37a450){var _0x3a4f6c=_0x3a4f();return _0x83b0=function(_0x83b041,_0x3986f7){_0x83b041=_0x83b041-0xa8;var _0x4ea7c2=_0x3a4f6c[_0x83b041];return _0x4ea7c2;},_0x83b0(_0x520187,_0x37a450);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';function _0x3a4f(){var _0xcc658e=['1510135LmQDdk','454420Zkzhaa','2105280LtZkxK','60RAnjYm','6905295WdHhIv','242QsTssa','5WqjQrZ','663988HLziyd','525kEHmhg','56910iqZnFp','17067QSoIPq'];_0x3a4f=function(){return _0xcc658e;};return _0x3a4f();}export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x14dc(_0x4f2ff4,_0x7e1d7c){var _0x4088f3=_0x4088();return _0x14dc=function(_0x14dc41,_0x1092ef){_0x14dc41=_0x14dc41-0xe3;var _0x37ae3c=_0x4088f3[_0x14dc41];return _0x37ae3c;},_0x14dc(_0x4f2ff4,_0x7e1d7c);}function _0x4088(){var _0x231ed7=['8283275lUyRTA','8666NBVILs','2061608JWQWNp','2XReQrv','850136afOzRY','570pBPreY','978945VKhhYp','450258HeKJAt','5etemEt','27btCriD','1701590ApnJdp'];_0x4088=function(){return _0x231ed7;};return _0x4088();}(function(_0x4ac812,_0x5cbb87){var _0x340e11=_0x14dc,_0x482106=_0x4ac812();while(!![]){try{var _0x4b4bad=parseInt(_0x340e11(0xeb))/0x1+parseInt(_0x340e11(0xe7))/0x2*(-parseInt(_0x340e11(0xea))/0x3)+parseInt(_0x340e11(0xe6))/0x4*(parseInt(_0x340e11(0xec))/0x5)+-parseInt(_0x340e11(0xe9))/0x6*(parseInt(_0x340e11(0xe5))/0x7)+parseInt(_0x340e11(0xe8))/0x8+parseInt(_0x340e11(0xed))/0x9*(parseInt(_0x340e11(0xe3))/0xa)+-parseInt(_0x340e11(0xe4))/0xb;if(_0x4b4bad===_0x5cbb87)break;else _0x482106['push'](_0x482106['shift']());}catch(_0x410e7f){_0x482106['push'](_0x482106['shift']());}}}(_0x4088,0x5e1ae));import{CKEditorError as _0x261fde}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x56c139=_0x20f7;(function(_0x3e6624,_0x1ec2a9){const _0x40f88c=_0x20f7,_0x4fdb5d=_0x3e6624();while(!![]){try{const _0x5d3ec8=-parseInt(_0x40f88c(0x1ba))/0x1+parseInt(_0x40f88c(0x1e9))/0x2*(-parseInt(_0x40f88c(0x1a7))/0x3)+parseInt(_0x40f88c(0x199))/0x4*(-parseInt(_0x40f88c(0x198))/0x5)+-parseInt(_0x40f88c(0x1d9))/0x6+parseInt(_0x40f88c(0x1c8))/0x7+parseInt(_0x40f88c(0x1ae))/0x8*(parseInt(_0x40f88c(0x1c4))/0x9)+parseInt(_0x40f88c(0x1d1))/0xa;if(_0x5d3ec8===_0x1ec2a9)break;else _0x4fdb5d['push'](_0x4fdb5d['shift']());}catch(_0x5cdc16){_0x4fdb5d['push'](_0x4fdb5d['shift']());}}}(_0x3aad,0xb8bd4));function _0x20f7(_0x273509,_0x270ee5){const _0x3aad4e=_0x3aad();return _0x20f7=function(_0x20f7a8,_0x2ae6b5){_0x20f7a8=_0x20f7a8-0x195;let _0xd85709=_0x3aad4e[_0x20f7a8];return _0xd85709;},_0x20f7(_0x273509,_0x270ee5);}import{ObservableMixin as _0xc019c6}from'ckeditor5/src/utils.js';import{AIRequestError as _0x122c1f}from'../adapters/aiadapter.js';function _0x3aad(){const _0x17d715=['_stripMarkdownSyntax','from','match','toView','stopProcessing','```html','startsWith','substring','30774980ySeXkj','finishProcessing','<h1></h1>','childNodes','_sanitizeHTML','_isH1TagSupportEnabled','```','stringify','2530680bUIMhG','then','once','createElement','_normalizeResponseHeadings','_handleQuery','toModel','config','custom','currentContext','currentResponse','querySelector','nodeType','destroy','abort','_parseAndNormalizeContent','1258dswYTK','textAdapter','initialContext','ai.aiAssistant.preserveComments','set:currentContext','endsWith','exec','prompt','_xmlSerializer','rename','ELEMENT_NODE','previousContext','get','markers','viewToDom','div','domConverter','mainAction','element','5flmJOX','3684324VVOEwu','previousQuery','data','serializeToString','trim','length','push','htmlProcessor','_sanitizationContainer','remove','handleError','setContentOf','set','makeRequest','2901mHIXDl','document','startProcessing','stopListening','render','editor','body','3744tgEOIg','previousActionId','clear','name','text/html','isProcessing','processor','isRendered','catch','value','updateView','previousLabel','1357468XEWONN','reset','parseFromString','innerHTML','_domParser','listenTo','message','editing','reverse','tryAgainEvent','8028ZuJWyf','finally','view','submitPrompt','3992170MtBTzx'];_0x3aad=function(){return _0x17d715;};return _0x3aad();}import{Matcher as _0x4e9ccd,UpcastWriter as _0x22007d}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
|
+
_0xc019c6(){constructor(_0x4bea78,_0x2593d6,_0x4b3758){const _0x1a1107=_0x20f7;super(),this[_0x1a1107(0x1ac)]=_0x4bea78,this[_0x1a1107(0x1ea)]=_0x2593d6,this[_0x1a1107(0x1a1)]=document[_0x1a1107(0x1dc)](_0x1a1107(0x1f8)),this[_0x1a1107(0x1be)]=new DOMParser(),this[_0x1a1107(0x1f1)]=new XMLSerializer(),this[_0x1a1107(0x1c6)]=_0x4b3758,this[_0x1a1107(0x1a5)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1a1107(0x1ed),(_0x7b3e85,_0x141b5f,_0x4cd219)=>{const _0x4d5582=_0x1a1107;this[_0x4d5582(0x1c6)][_0x4d5582(0x1b7)]=this[_0x4d5582(0x1d5)](_0x4cd219);}),this[_0x1a1107(0x1bf)](this[_0x1a1107(0x1c6)],_0x1a1107(0x1c7),(_0x33f877,_0x2d1e8c)=>{const _0x1adbb9=_0x1a1107,_0x40b42a=this[_0x1adbb9(0x1e2)]||this[_0x1adbb9(0x1eb)];this[_0x1adbb9(0x1de)](_0x2d1e8c,_0x40b42a,_0x1adbb9(0x1e1));}),this[_0x1a1107(0x1bf)](this[_0x1a1107(0x1c6)],_0x1a1107(0x1c3),()=>{const _0x2bed06=_0x1a1107;this[_0x2bed06(0x1c6)][_0x2bed06(0x1f0)]=this[_0x2bed06(0x1b9)],this[_0x2bed06(0x1de)](this[_0x2bed06(0x19a)],this[_0x2bed06(0x1f4)],this[_0x2bed06(0x1af)],this[_0x2bed06(0x1b9)]);}),this[_0x1a1107(0x1bf)](this[_0x1a1107(0x1c6)],_0x1a1107(0x1cd),()=>{const _0xef7f0c=_0x1a1107;this[_0xef7f0c(0x1cd)]();});}[_0x56c139(0x1e6)](){const _0x1122b3=_0x56c139;this[_0x1122b3(0x1aa)]();}async[_0x56c139(0x1b8)]({actionId:_0x33e00f,query:_0x1aa611,htmlContent:_0x3259b1,label:_0x5a0509,mainActionLabel:_0x48469c}){const _0x59d29c=_0x56c139;this[_0x59d29c(0x1c6)][_0x59d29c(0x1f0)]=_0x5a0509,this[_0x59d29c(0x1c6)][_0x59d29c(0x196)]=_0x48469c,this[_0x59d29c(0x1eb)]=_0x3259b1,_0x1aa611&&(this[_0x59d29c(0x1c6)][_0x59d29c(0x1b5)]?this[_0x59d29c(0x1de)](_0x1aa611,_0x3259b1,_0x33e00f,_0x5a0509):this[_0x59d29c(0x1c6)][_0x59d29c(0x1db)](_0x59d29c(0x1ab),()=>{const _0x7e9d3c=_0x59d29c;this[_0x7e9d3c(0x1de)](_0x1aa611,_0x3259b1,_0x33e00f,_0x5a0509);}));}[_0x56c139(0x1cd)](){const _0x167f12=_0x56c139;this[_0x167f12(0x1b3)]&&(this[_0x167f12(0x1b3)]=!0x1,this[_0x167f12(0x1c6)][_0x167f12(0x1d2)](),this[_0x167f12(0x1ea)][_0x167f12(0x1e7)]());}[_0x56c139(0x1bb)](){const _0x3ecee3=_0x56c139;this[_0x3ecee3(0x1eb)]='',this[_0x3ecee3(0x1e2)]='',this[_0x3ecee3(0x1e3)]='',this[_0x3ecee3(0x1f4)]='',this[_0x3ecee3(0x19a)]='',this[_0x3ecee3(0x1b9)]='',this[_0x3ecee3(0x1af)]=void 0x0,this[_0x3ecee3(0x1c6)][_0x3ecee3(0x1bb)](),this[_0x3ecee3(0x1cd)]();}async[_0x56c139(0x1de)](_0x57bf09,_0x4691ba,_0x1fc460,_0x4a0c21){const _0x192fd6=_0x56c139;return this[_0x192fd6(0x1b3)]=!0x0,this[_0x192fd6(0x1c6)][_0x192fd6(0x1a9)](),this[_0x192fd6(0x1f4)]=_0x4691ba,this[_0x192fd6(0x19a)]=_0x57bf09,this[_0x192fd6(0x1b9)]=_0x4a0c21||_0x57bf09,this[_0x192fd6(0x1af)]=_0x1fc460,new Promise(_0xe09e1e=>{const _0x541ee9=_0x192fd6;this[_0x541ee9(0x1ea)][_0x541ee9(0x1a6)]({'query':_0x57bf09,'context':_0x4691ba,'onData':_0x57a6dc=>{const _0x91cc51=_0x541ee9;this[_0x91cc51(0x1e3)]=_0x57a6dc,this[_0x91cc51(0x1e2)]=this[_0x91cc51(0x1e8)](this[_0x91cc51(0x1e3)]);},'actionId':_0x1fc460})[_0x541ee9(0x1da)](()=>{const _0x55b247=_0x541ee9;!this[_0x55b247(0x1e2)]&&this[_0x55b247(0x1e3)]&&(this[_0x55b247(0x1e2)]=this[_0x55b247(0x1e8)](this[_0x55b247(0x1e3)],!0x0));})[_0x541ee9(0x1b6)](_0x45ec14=>{const _0x15e7b6=_0x541ee9;_0x45ec14 instanceof _0x122c1f?this[_0x15e7b6(0x1c6)][_0x15e7b6(0x1a3)](_0x45ec14[_0x15e7b6(0x1c0)]):this[_0x15e7b6(0x1c6)][_0x15e7b6(0x1a3)](),_0xe09e1e();})[_0x541ee9(0x1c5)](()=>{const _0x3e2193=_0x541ee9;this[_0x3e2193(0x1cd)](),_0xe09e1e();});});}[_0x56c139(0x1e8)](_0x3b079e,_0x35ba10=!0x1){const _0x5c84cf=_0x56c139,_0x19aed3=Z[_0x5c84cf(0x1ef)](_0x3b079e);_0x3b079e=_0x19aed3?_0x3b079e[_0x5c84cf(0x1d0)](_0x19aed3[0x1][_0x5c84cf(0x19e)]):_0x3b079e[_0x5c84cf(0x19e)]<0x64&&!_0x35ba10?'':this[_0x5c84cf(0x1c9)](_0x3b079e);const _0x465a59=this[_0x5c84cf(0x1be)][_0x5c84cf(0x1bc)](_0x3b079e,_0x5c84cf(0x1b2));if(_0x19aed3){const _0x18eba2=Array[_0x5c84cf(0x1ca)](_0x465a59[_0x5c84cf(0x1ad)][_0x5c84cf(0x1d4)]);_0x18eba2[_0x5c84cf(0x1c2)]();for(const _0x59b39e of _0x18eba2){if(_0x59b39e[_0x5c84cf(0x1e5)]==Node[_0x5c84cf(0x1f3)])break;_0x59b39e[_0x5c84cf(0x1a2)]();}}const _0x18be22=this[_0x5c84cf(0x1ac)][_0x5c84cf(0x19b)][_0x5c84cf(0x1b4)][_0x5c84cf(0x1cc)](this[_0x5c84cf(0x1f1)][_0x5c84cf(0x19c)](_0x465a59[_0x5c84cf(0x1ad)]));this[_0x5c84cf(0x1d6)]()||this[_0x5c84cf(0x1dd)](_0x18be22);const _0x39eee4=this[_0x5c84cf(0x1ac)][_0x5c84cf(0x1e0)][_0x5c84cf(0x1f5)](_0x5c84cf(0x1ec)),_0xd17bf1=this[_0x5c84cf(0x1ac)][_0x5c84cf(0x19b)][_0x5c84cf(0x1df)](_0x18be22);return _0x39eee4||_0xd17bf1[_0x5c84cf(0x1f6)][_0x5c84cf(0x1b0)](),this[_0x5c84cf(0x1ac)][_0x5c84cf(0x19b)][_0x5c84cf(0x1d8)](_0xd17bf1);}[_0x56c139(0x1dd)](_0x2c8776){const _0x3e7c80=_0x56c139,_0x41e7ec=new _0x22007d(this[_0x3e7c80(0x1ac)][_0x3e7c80(0x1c1)][_0x3e7c80(0x1c6)][_0x3e7c80(0x1a8)]),_0x2869c7=new _0x4e9ccd({'name':/^h[1-5]$/}),_0x51e967=[];let _0x259fdb=!0x1;for(const _0x175971 of _0x2c8776)_0x175971['is'](_0x3e7c80(0x197))&&_0x2869c7[_0x3e7c80(0x1cb)](_0x175971)&&(_0x51e967[_0x3e7c80(0x19f)](_0x175971),'h1'==_0x175971[_0x3e7c80(0x1b1)]&&(_0x259fdb=!0x0));if(_0x259fdb){for(const _0x4a6097 of _0x51e967)_0x41e7ec[_0x3e7c80(0x1f2)]('h'+(parseInt(_0x4a6097[_0x3e7c80(0x1b1)][0x1])+0x1),_0x4a6097);}}[_0x56c139(0x1d6)](){const _0x5044a8=_0x56c139,{data:_0xffe869,editing:_0x67f692}=this[_0x5044a8(0x1ac)],_0x3644b9=_0xffe869[_0x5044a8(0x1a0)][_0x5044a8(0x1cc)](_0x5044a8(0x1d3)),_0x47cf0e=_0xffe869[_0x5044a8(0x1cc)](_0xffe869[_0x5044a8(0x1df)](_0x3644b9));return!!_0x67f692[_0x5044a8(0x1c6)][_0x5044a8(0x195)][_0x5044a8(0x1f7)](_0x47cf0e)[_0x5044a8(0x1e4)]('h1');}[_0x56c139(0x1d5)](_0x47af6c){const _0x2027ea=_0x56c139;return this[_0x2027ea(0x1ac)][_0x2027ea(0x1c1)][_0x2027ea(0x1c6)][_0x2027ea(0x195)][_0x2027ea(0x1a4)](this[_0x2027ea(0x1a1)],_0x47af6c),this[_0x2027ea(0x1a1)][_0x2027ea(0x1bd)];}[_0x56c139(0x1c9)](_0x431352){const _0x2ac2ee=_0x56c139,_0x1f8306=_0x431352[_0x2ac2ee(0x19d)]();return _0x1f8306[_0x2ac2ee(0x1cf)](_0x2ac2ee(0x1ce))?_0x1f8306[_0x2ac2ee(0x1ee)](_0x2ac2ee(0x1d7))?_0x1f8306[_0x2ac2ee(0x1d0)](0x7,_0x1f8306[_0x2ac2ee(0x19e)]-0x3):_0x1f8306[_0x2ac2ee(0x1d0)](0x7):_0x431352;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49b3ec=_0x1bdb;(function(_0x2fec8d,_0x426756){const _0x489fe0=_0x1bdb,_0x1248a2=_0x2fec8d();while(!![]){try{const _0x59fa2b=parseInt(_0x489fe0(0x1c7))/0x1*(-parseInt(_0x489fe0(0x1bb))/0x2)+-parseInt(_0x489fe0(0x1be))/0x3*(-parseInt(_0x489fe0(0x186))/0x4)+parseInt(_0x489fe0(0x172))/0x5*(-parseInt(_0x489fe0(0x176))/0x6)+parseInt(_0x489fe0(0x173))/0x7+-parseInt(_0x489fe0(0x1bd))/0x8+-parseInt(_0x489fe0(0x17a))/0x9*(parseInt(_0x489fe0(0x199))/0xa)+parseInt(_0x489fe0(0x196))/0xb;if(_0x59fa2b===_0x426756)break;else _0x1248a2['push'](_0x1248a2['shift']());}catch(_0x5a059c){_0x1248a2['push'](_0x1248a2['shift']());}}}(_0x458e,0xea813));import{global as _0x476ce3}from'ckeditor5/src/utils.js';import{View as _0x13a470,ButtonView as _0x38ba1b,SpinnerView as _0x4d8a49}from'ckeditor5/src/ui.js';import _0x126a10 from'../../../theme/icons/copy.svg';import{getTranslation as _0x111bf8}from'../../utils/common-translations.js';import{icons as _0x21fbe0}from'ckeditor5/src/core.js';export default class X extends _0x13a470{constructor(_0x1a80e1,_0x541fe0=''){const _0x16ec03=_0x1bdb;super(_0x1a80e1),this[_0x16ec03(0x17e)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x104e84=this[_0x16ec03(0x197)];this[_0x16ec03(0x1a7)]=new ContentFieldView(_0x1a80e1,_0x541fe0),this[_0x16ec03(0x18d)]=this[_0x16ec03(0x1c3)](),this[_0x16ec03(0x19a)]({'tag':_0x16ec03(0x19d),'attributes':{'class':['ck',_0x16ec03(0x1c5),_0x104e84['if'](_0x16ec03(0x1b5),_0x16ec03(0x1c0),_0x811111=>!_0x811111)],'tabindex':'-1'},'children':[{'tag':_0x16ec03(0x19d),'attributes':{'class':['ck',_0x16ec03(0x1b7),_0x104e84['if'](_0x16ec03(0x1aa),_0x16ec03(0x185))]},'children':[this[_0x16ec03(0x1a7)],{'tag':_0x16ec03(0x19d),'attributes':{'class':['ck',_0x16ec03(0x182)]},'children':[this[_0x16ec03(0x18d)]]}]}]});}[_0x49b3ec(0x19b)](){const _0xb7ab5e=_0x49b3ec;super[_0xb7ab5e(0x19b)](),this[_0xb7ab5e(0x1c4)]&&this[_0xb7ab5e(0x1a7)][_0xb7ab5e(0x1a9)](this[_0xb7ab5e(0x1c4)]);let _0x17638e=!0x1;this['on'](_0xb7ab5e(0x1a0),(_0x4ce417,_0x465e3d,_0x1a49a2)=>{const _0x2772d4=_0xb7ab5e,_0x58fc30=!this[_0x2772d4(0x1a7)][_0x2772d4(0x1ba)][_0x2772d4(0x17c)](_0x2772d4(0x17f));this[_0x2772d4(0x1a7)][_0x2772d4(0x1a9)](_0x1a49a2),this[_0x2772d4(0x1aa)]&&_0x58fc30&&!_0x17638e&&this[_0x2772d4(0x1ba)][_0x2772d4(0x1b8)]({'top':this[_0x2772d4(0x1ba)][_0x2772d4(0x1a1)],'behavior':_0x2772d4(0x1a5)});}),this['on'](_0xb7ab5e(0x19c),(_0x52c911,_0x28c306,_0x1974b5)=>{const _0x540a87=_0xb7ab5e;_0x17638e=!0x1,_0x1974b5?(this[_0x540a87(0x1c4)]=null,this[_0x540a87(0x1a7)][_0x540a87(0x1b2)]()):this[_0x540a87(0x1c4)]||this[_0x540a87(0x1a7)][_0x540a87(0x1a9)]('');}),this[_0xb7ab5e(0x184)](this[_0xb7ab5e(0x1ba)],_0xb7ab5e(0x1b9),()=>{_0x17638e=!0x0;}),this[_0xb7ab5e(0x184)](this[_0xb7ab5e(0x1ba)],_0xb7ab5e(0x1bf),()=>{_0x17638e=!0x0;});}[_0x49b3ec(0x19f)](){const _0x3c6034=_0x49b3ec;this[_0x3c6034(0x1ba)][_0x3c6034(0x19f)]();}[_0x49b3ec(0x1c3)](){const _0x55a6b2=_0x49b3ec,_0x7dbab0=this[_0x55a6b2(0x183)],_0x23d1e6=new _0x38ba1b(this[_0x55a6b2(0x183)]),_0x402f56=_0x55a6b2(0x191);return _0x23d1e6[_0x55a6b2(0x17e)]({'label':_0x111bf8(_0x7dbab0,_0x55a6b2(0x193)),'icon':_0x126a10,'class':_0x402f56,'tooltip':!0x0}),_0x23d1e6[_0x55a6b2(0x177)](_0x55a6b2(0x1b5))['to'](this,_0x55a6b2(0x1c4),_0x30343f=>!!_0x30343f),_0x23d1e6[_0x55a6b2(0x177)](_0x55a6b2(0x181))['to'](this,_0x55a6b2(0x1aa),_0x1dce34=>!_0x1dce34),_0x23d1e6['on'](_0x55a6b2(0x192),()=>{const _0x31a519=_0x55a6b2;this[_0x31a519(0x179)](this[_0x31a519(0x1a7)][_0x31a519(0x1ba)]),_0x23d1e6[_0x31a519(0x1c6)]=_0x21fbe0[_0x31a519(0x1a4)],_0x23d1e6[_0x31a519(0x1a2)]=_0x402f56+_0x31a519(0x1c8),this[_0x31a519(0x19f)](),setTimeout(()=>{const _0x165585=_0x31a519;_0x23d1e6[_0x165585(0x1c6)]=_0x126a10,_0x23d1e6[_0x165585(0x1a2)]=_0x402f56;},0x3e8);}),_0x23d1e6;}[_0x49b3ec(0x179)](_0x488737){const _0x3ce5d7=_0x49b3ec,{window:_0x2cae9f,document:_0x28aad2}=_0x476ce3;if(_0x2cae9f[_0x3ce5d7(0x1bc)]){const {Blob:_0x2cf03f,ClipboardItem:_0x1d4d73}=_0x2cae9f,_0xb00b31=[new _0x1d4d73({'text/html':new _0x2cf03f([_0x488737[_0x3ce5d7(0x1ac)]],{'type':_0x3ce5d7(0x195)}),'text/plain':new _0x2cf03f([_0x488737[_0x3ce5d7(0x1ab)]||''],{'type':_0x3ce5d7(0x1b0)})})];navigator[_0x3ce5d7(0x1b6)][_0x3ce5d7(0x198)](_0xb00b31);}else{const _0x436b01=_0x28aad2[_0x3ce5d7(0x180)](_0x3ce5d7(0x19d));_0x436b01[_0x3ce5d7(0x1c2)][_0x3ce5d7(0x1a6)]=_0x3ce5d7(0x19e),_0x436b01[_0x3ce5d7(0x1c2)][_0x3ce5d7(0x18c)]=_0x3ce5d7(0x18e),_0x436b01[_0x3ce5d7(0x1ac)]=_0x3ce5d7(0x18b)+_0x488737[_0x3ce5d7(0x1ac)]+_0x3ce5d7(0x1ae),_0x28aad2[_0x3ce5d7(0x18a)][_0x3ce5d7(0x18f)](_0x436b01);const _0x175777=_0x28aad2[_0x3ce5d7(0x1ad)]();_0x175777[_0x3ce5d7(0x178)](_0x436b01[_0x3ce5d7(0x1b3)]),_0x175777[_0x3ce5d7(0x1af)](_0x436b01[_0x3ce5d7(0x194)]);const _0x49e854=_0x2cae9f[_0x3ce5d7(0x187)]();_0x49e854[_0x3ce5d7(0x189)](),_0x49e854[_0x3ce5d7(0x17d)](_0x175777),_0x28aad2[_0x3ce5d7(0x1b1)](_0x3ce5d7(0x188)),_0x436b01[_0x3ce5d7(0x1a8)]();}}}function _0x458e(){const _0x270b5c=['querySelector','addRange','set','.ck-ai-form__loader','createElement','isEnabled','ck-ai-form__copy-button-wrapper','locale','listenTo','ck-ai-form__content-area--processing','1492ONRyRe','getSelection','copy','removeAllRanges','body','<span>[</span>','left','copyButtonView','-9999px','appendChild','ck-ai-form__loader','ck-ai-form__copy-button','execute','Copy','lastElementChild','text/html','18462213SrAUMw','bindTemplate','write','14890EoRBAQ','setTemplate','render','change:isProcessing','div','absolute','focus','change:value','scrollHeight','class','ck-ai-form__content-field','check','smooth','position','contentFieldView','remove','setContent','isProcessing','textContent','innerHTML','createRange','<span>]</span>','setEndBefore','text/plain','execCommand','appendLoader','firstElementChild','loaderView','isVisible','clipboard','ck-ai-form__content-area','scrollTo','wheel','element','85978ypZJXE','ClipboardItem','12811712aCpYYF','11781LsagGE','mousedown','ck-hidden','ck-content','style','_createCopyButton','value','ck-ai-form__content-area-wrapper','icon','6BaCIeS','\x20ck-ai-form__copy-button--copied','9915kIuoUc','9587837hhFJzu','AI\x20is\x20writing...','_createLoader','198ROXAVA','bind','setStartAfter','_copyHTMLToClipboard','9837xdpues','ck-reset_all-excluded'];_0x458e=function(){return _0x270b5c;};return _0x458e();}function _0x1bdb(_0x57edb8,_0x1d041c){const _0x458e51=_0x458e();return _0x1bdb=function(_0x1bdb3e,_0x47a555){_0x1bdb3e=_0x1bdb3e-0x172;let _0x479686=_0x458e51[_0x1bdb3e];return _0x479686;},_0x1bdb(_0x57edb8,_0x1d041c);}export class ContentFieldView extends _0x13a470{constructor(_0x1d2787,_0x52d6ba=''){const _0x39e16e=_0x49b3ec;super(_0x1d2787),this[_0x39e16e(0x1b4)]=this[_0x39e16e(0x175)](),this[_0x39e16e(0x19a)]({'tag':_0x39e16e(0x19d),'attributes':{'class':['ck',_0x39e16e(0x1c1),_0x52d6ba,_0x39e16e(0x17b),_0x39e16e(0x1a3)]}});}[_0x49b3ec(0x1a9)](_0x2263a3){const _0x4f92d2=_0x49b3ec;this[_0x4f92d2(0x1ba)][_0x4f92d2(0x1ac)]=_0x2263a3;}[_0x49b3ec(0x1b2)](){const _0x15f685=_0x49b3ec;this[_0x15f685(0x1ba)][_0x15f685(0x18f)](this[_0x15f685(0x1b4)][_0x15f685(0x1ba)]);}[_0x49b3ec(0x175)](){const _0x33bfae=_0x49b3ec,_0xad71b2=new _0x13a470(),_0x165926=this[_0x33bfae(0x183)],_0x53476f=new _0x4d8a49();return _0x53476f[_0x33bfae(0x1b5)]=!0x0,_0xad71b2[_0x33bfae(0x19a)]({'tag':_0x33bfae(0x19d),'attributes':{'class':['ck',_0x33bfae(0x190)]},'children':[_0x53476f,{'text':_0x111bf8(_0x165926,_0x33bfae(0x174))}]}),_0xad71b2[_0x33bfae(0x19b)](),_0xad71b2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4e47(){const _0x3ddc8a=['bindTemplate','13lfFmVS','ck-ai-form__error','56OniNvl','4SITRwG','64463MekHll','div','744330SyWuMF','371905tkOuAH','setTemplate','content','text','3063643HvTrxb','set','740154hwUdTV','20338mxjFeP','1720PNjOhu','6759EwKwGQ'];_0x4e47=function(){return _0x3ddc8a;};return _0x4e47();}function _0xeac3(_0x1d97b7,_0x19e5d8){const _0x4e47ed=_0x4e47();return _0xeac3=function(_0xeac3c8,_0x5b979c){_0xeac3c8=_0xeac3c8-0x195;let _0x56e964=_0x4e47ed[_0xeac3c8];return _0x56e964;},_0xeac3(_0x1d97b7,_0x19e5d8);}(function(_0x39a433,_0x3214f9){const _0x20330b=_0xeac3,_0xbd0fde=_0x39a433();while(!![]){try{const _0x1950eb=parseInt(_0x20330b(0x197))/0x1*(parseInt(_0x20330b(0x1a5))/0x2)+-parseInt(_0x20330b(0x1a4))/0x3+parseInt(_0x20330b(0x19a))/0x4*(-parseInt(_0x20330b(0x19e))/0x5)+parseInt(_0x20330b(0x19d))/0x6+parseInt(_0x20330b(0x19b))/0x7*(parseInt(_0x20330b(0x199))/0x8)+parseInt(_0x20330b(0x195))/0x9*(-parseInt(_0x20330b(0x1a6))/0xa)+parseInt(_0x20330b(0x1a2))/0xb;if(_0x1950eb===_0x3214f9)break;else _0xbd0fde['push'](_0xbd0fde['shift']());}catch(_0x5ef8b8){_0xbd0fde['push'](_0xbd0fde['shift']());}}}(_0x4e47,0x245dd));import{View as _0xc4d7c5,IconView as _0x2da0b5}from'ckeditor5/src/ui.js';import _0x258899 from'../../../theme/icons/error.svg';export default class rt extends _0xc4d7c5{constructor(_0x3df62d,_0x21e986=''){const _0x397074=_0xeac3;super(_0x3df62d);const _0x37792f=new _0x2da0b5(),_0x2e1e4f=this[_0x397074(0x196)];this[_0x397074(0x1a3)](_0x397074(0x1a1),_0x21e986),_0x37792f[_0x397074(0x1a0)]=_0x258899,this[_0x397074(0x19f)]({'tag':_0x397074(0x19c),'attributes':{'class':['ck',_0x397074(0x198)]},'children':[_0x37792f,{'text':_0x2e1e4f['to'](_0x397074(0x1a1))}]});}}
|