@ckeditor/ckeditor5-ai 44.2.0-alpha.9 → 44.2.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e3d5a=_0x567c;(function(_0x121b4e,_0x5c1c74){const _0x522940=_0x567c,_0x5efc74=_0x121b4e();while(!![]){try{const _0x5e0a0e=-parseInt(_0x522940(0x1e6))/0x1*(-parseInt(_0x522940(0x202))/0x2)+parseInt(_0x522940(0x1e8))/0x3+-parseInt(_0x522940(0x1e3))/0x4*(-parseInt(_0x522940(0x222))/0x5)+-parseInt(_0x522940(0x1c8))/0x6+-parseInt(_0x522940(0x21f))/0x7+parseInt(_0x522940(0x1cd))/0x8*(parseInt(_0x522940(0x1e9))/0x9)+parseInt(_0x522940(0x208))/0xa*(-parseInt(_0x522940(0x1be))/0xb);if(_0x5e0a0e===_0x5c1c74)break;else _0x5efc74['push'](_0x5efc74['shift']());}catch(_0x233339){_0x5efc74['push'](_0x5efc74['shift']());}}}(_0x1388,0x6f488));import{Plugin as _0x15735a}from'ckeditor5/src/core.js';import _0x2c7965 from'./aiassistantui.js';import _0x15d271 from'./aiassistantediting.js';function _0x567c(_0x4135aa,_0x9e4a5d){const _0x138812=_0x1388();return _0x567c=function(_0x567c17,_0x524736){_0x567c17=_0x567c17-0x1b6;let _0xbedf35=_0x138812[_0x567c17];return _0xbedf35;},_0x567c(_0x4135aa,_0x9e4a5d);}import{getTranslation as _0x3f41d3}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x5c47e2}from'./utils/normalizecommandsconfig.js';function _0x1388(){const _0x34ab33=['Summarize','translateFrench','Translate\x20the\x20content\x20to\x20German\x20language.','friendly','Translate\x20the\x20content\x20to\x20French\x20language.','Hindi','translateEnglish','business','Edit\x20or\x20review','2781666tOjjDL','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','simplifyLanguage','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','get','55064ERpHsf','confident','filter','Confident','Simplify\x20language','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Direct','Professional','Spanish','AIAssistant','French','find','forEach','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Change\x20style','ai.aiAssistant.commands','makeShorter','direct','professional','includes','translateHindi','2898572ZRYnTn','Friendly','English','7132ipcTzX','Poetic','306606QRSHWK','774loIhEe','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Change\x20tone','editOrReview','Translate\x20the\x20content\x20to\x20Spanish\x20language.','changeStyle','locale','ai.aiAssistant.extraCommandGroups','German','push','concat','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','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.','translate','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Business','Journalism','summarize','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateArabic','legal','isOfficialPlugin','set','252EHLEnl','Legal','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','changeTone','translateSpanish','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','10DvDicX','improveWriting','Translate\x20the\x20content\x20to\x20Arabic\x20language.','journalism','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','continue','requires','isPremiumPlugin','Translate','Continue','translatePortuguese','Generate\x20from\x20selection','generate','Simplified\x20Chinese','Make\x20longer','Improve\x20writing','ai.aiAssistant.removeCommands','ai.aiAssistant.preserveComments','Translate\x20the\x20content\x20to\x20English\x20language.','casual','Make\x20shorter','poetic','translateGerman','5958757mEqCtl','translateChinese','makeLonger','5OgGaBR','pluginName','Translate\x20the\x20content\x20to\x20Hindi\x20language.','commands','groupId','Portuguese','Casual','define','Arabic','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','config','6014107TupeeS'];_0x1388=function(){return _0x34ab33;};return _0x1388();}export default class r extends _0x15735a{static get[_0x1e3d5a(0x20e)](){return[_0x2c7965,_0x15d271];}static get[_0x1e3d5a(0x223)](){const _0x2ad3e9=_0x1e3d5a;return _0x2ad3e9(0x1d6);}static get[_0x1e3d5a(0x200)](){return!0x0;}static get[_0x1e3d5a(0x20f)](){return!0x0;}constructor(_0x2a5f9a){const _0x58bf1c=_0x1e3d5a;super(_0x2a5f9a);const _0x307a2b=_0x2a5f9a[_0x58bf1c(0x1bd)],_0x5b3614=_0x2a5f9a[_0x58bf1c(0x1ef)];_0x307a2b[_0x58bf1c(0x1b9)](_0x58bf1c(0x219),!0x0),_0x307a2b[_0x58bf1c(0x1b9)](_0x58bf1c(0x1dd),getDefaultCommands(_0x5b3614)),_0x307a2b[_0x58bf1c(0x1b9)](_0x58bf1c(0x1f0),[]),_0x307a2b[_0x58bf1c(0x1b9)](_0x58bf1c(0x218),[]);let _0x51db82=_0x5c47e2(_0x307a2b[_0x58bf1c(0x1cc)](_0x58bf1c(0x1dd)),_0x5b3614);const _0x536600=_0x307a2b[_0x58bf1c(0x1cc)](_0x58bf1c(0x1f0)),_0x2d25d0=_0x307a2b[_0x58bf1c(0x1cc)](_0x58bf1c(0x218));_0x536600[_0x58bf1c(0x1d9)](_0x3e3139=>{const _0x52c52e=_0x58bf1c,_0x4a4df8=_0x51db82[_0x52c52e(0x1d8)](_0x33befc=>_0x33befc[_0x52c52e(0x1b6)]===_0x3e3139[_0x52c52e(0x1b6)]);_0x4a4df8?_0x4a4df8[_0x52c52e(0x225)]=_0x4a4df8[_0x52c52e(0x225)][_0x52c52e(0x1f3)](_0x3e3139[_0x52c52e(0x225)]):_0x51db82[_0x52c52e(0x1f2)](_0x3e3139);}),_0x51db82=_0x51db82[_0x58bf1c(0x1cf)](_0x19a06b=>!_0x2d25d0[_0x58bf1c(0x1e1)](_0x19a06b[_0x58bf1c(0x1b6)])),_0x51db82[_0x58bf1c(0x1d9)](_0x2c70da=>{const _0x5c0875=_0x58bf1c;_0x2c70da[_0x5c0875(0x225)]=_0x2c70da[_0x5c0875(0x225)][_0x5c0875(0x1cf)](_0xc8cd8c=>!_0x2d25d0[_0x5c0875(0x1e1)](_0xc8cd8c['id']));}),_0x307a2b[_0x58bf1c(0x201)](_0x58bf1c(0x1dd),_0x51db82);}}export function getDefaultCommands(_0x681d3c){const _0x56b1f0=_0x1e3d5a;return[{'groupId':_0x56b1f0(0x1ec),'groupLabel':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1c7)),'commands':[{'id':_0x56b1f0(0x209),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x217)),'prompt':_0x56b1f0(0x1db)},{'id':_0x56b1f0(0x1de),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x21c)),'prompt':_0x56b1f0(0x1f6)},{'id':_0x56b1f0(0x221),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x216)),'prompt':_0x56b1f0(0x1f5)},{'id':_0x56b1f0(0x1ca),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d1)),'prompt':_0x56b1f0(0x1f8)}]},{'groupId':_0x56b1f0(0x214),'groupLabel':_0x3f41d3(_0x681d3c,_0x56b1f0(0x213)),'commands':[{'id':_0x56b1f0(0x1fc),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1bf)),'prompt':_0x56b1f0(0x1bb)},{'id':_0x56b1f0(0x20d),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x211)),'prompt':_0x56b1f0(0x1c9)}]},{'groupId':_0x56b1f0(0x205),'groupLabel':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1eb)),'commands':[{'id':_0x56b1f0(0x1e0),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d4)),'prompt':_0x56b1f0(0x1da)},{'id':_0x56b1f0(0x21b),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1b8)),'prompt':_0x56b1f0(0x207)},{'id':_0x56b1f0(0x1df),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d3)),'prompt':_0x56b1f0(0x204)},{'id':_0x56b1f0(0x1ce),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d0)),'prompt':_0x56b1f0(0x1fd)},{'id':_0x56b1f0(0x1c2),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1e4)),'prompt':_0x56b1f0(0x1f9)}]},{'groupId':_0x56b1f0(0x1ee),'groupLabel':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1dc)),'commands':[{'id':_0x56b1f0(0x1c6),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1fa)),'prompt':_0x56b1f0(0x1cb)},{'id':_0x56b1f0(0x1ff),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x203)),'prompt':_0x56b1f0(0x20c)},{'id':_0x56b1f0(0x20b),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1fb)),'prompt':_0x56b1f0(0x1d2)},{'id':_0x56b1f0(0x21d),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1e7)),'prompt':_0x56b1f0(0x1bc)}]},{'groupId':_0x56b1f0(0x1f7),'groupLabel':_0x3f41d3(_0x681d3c,_0x56b1f0(0x210)),'commands':[{'id':_0x56b1f0(0x1c5),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1e5)),'prompt':_0x56b1f0(0x21a)},{'id':_0x56b1f0(0x206),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d5)),'prompt':_0x56b1f0(0x1ed)},{'id':_0x56b1f0(0x212),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1b7)),'prompt':_0x56b1f0(0x1f4)},{'id':_0x56b1f0(0x21e),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1f1)),'prompt':_0x56b1f0(0x1c1)},{'id':_0x56b1f0(0x1c0),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d7)),'prompt':_0x56b1f0(0x1c3)},{'id':_0x56b1f0(0x220),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x215)),'prompt':_0x56b1f0(0x1ea)},{'id':_0x56b1f0(0x1e2),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1c4)),'prompt':_0x56b1f0(0x224)},{'id':_0x56b1f0(0x1fe),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1ba)),'prompt':_0x56b1f0(0x20a)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5751e7=_0x8e78;(function(_0x4c9804,_0x3a9e74){const _0x31fff8=_0x8e78,_0x412a92=_0x4c9804();while(!![]){try{const _0x316e9f=parseInt(_0x31fff8(0x192))/0x1+parseInt(_0x31fff8(0x1aa))/0x2+-parseInt(_0x31fff8(0x165))/0x3*(-parseInt(_0x31fff8(0x18f))/0x4)+parseInt(_0x31fff8(0x16f))/0x5+parseInt(_0x31fff8(0x163))/0x6+-parseInt(_0x31fff8(0x190))/0x7*(-parseInt(_0x31fff8(0x160))/0x8)+-parseInt(_0x31fff8(0x168))/0x9;if(_0x316e9f===_0x3a9e74)break;else _0x412a92['push'](_0x412a92['shift']());}catch(_0x1aa9fa){_0x412a92['push'](_0x412a92['shift']());}}}(_0x489f,0xc10bf));function _0x8e78(_0x164bb2,_0x38ae65){const _0x489f45=_0x489f();return _0x8e78=function(_0x8e78b1,_0x3236fb){_0x8e78b1=_0x8e78b1-0x14c;let _0x4e1492=_0x489f45[_0x8e78b1];return _0x4e1492;},_0x8e78(_0x164bb2,_0x38ae65);}import{uid as _0x3a5c54}from'ckeditor5/src/utils.js';import{Plugin as _0x4ca51e}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xffc05a}from'ckeditor5/src/clipboard.js';function _0x489f(){const _0x52b93c=['fire','TableUtils','getSelectedBlocks','plugins','markerToHighlight','_createEmptyTableRows','deleteContent','setSelection','contentInsertion','createPositionAt','markers','4gWCEWP','2152731SjAztK','init','1065158LsaGvM','setData','from','getChildren','conversion','_pasteHTMLUsingClipboard','insertContent','markerRange','config','getLastMatchingPosition','createSelection','updateMarker','getRowIndexes','for','table','resultRange','insertRows','document','afterInit','_getTableRowCountFromContent','isCollapsed','join','model','lowest','416580BGamwL','showFakeVisualSelection','createUIElement','length','change','getChild','off','isAtEnd','removeMarker','text/html','paste','insertContentBelow','filter','has','element','get','getRanges','_resetContentOfSelectedTableCells','ai-ui','_prepareTableInsertBelowPosition','first','ck-ai-assistant-ui_theme','AIAssistantEditing','pluginName','createPositionAfter','markerToElement','href','schema','canEditAt','ai.useTheme','push','ck-fake-ai-selection','getLastPosition','last','getFirstRange','8PFbplR','_getDefaultInsertBelowPosition','fromCharCode','1074762iGbsSd','addMarker','1785642XYJLGY','isPremiumPlugin','editing','26259039aOFIMa','pop','map','data','createRange','getRows','isOfficialPlugin','6765340HlSAfY','getMarkersGroup','isContent','start','parse','addClass','getColumnIndexes','end','hideFakeVisualSelection','forEach','span','editor','editingDowncast','selection','getRange','once','DataTransfer','ck-fake-ai-selection_collapsed','findAncestor','getSelectedTableCells','_getAISelection'];_0x489f=function(){return _0x52b93c;};return _0x489f();}import{DomEventData as _0x1870a7,DataTransfer as _0x2f99ad}from'ckeditor5/src/engine.js';const w=globalThis[_0x5751e7(0x17f)],f=_0x5751e7(0x14f);export default class a extends _0x4ca51e{static get[_0x5751e7(0x154)](){const _0x336969=_0x5751e7;return _0x336969(0x153);}static get[_0x5751e7(0x16e)](){return!0x0;}static get[_0x5751e7(0x166)](){return!0x0;}[_0x5751e7(0x191)](){const _0x581de8=_0x5751e7,{editor:_0x3121b8}=this,_0x3285c6=[_0x581de8(0x15c)];_0x3121b8[_0x581de8(0x19a)][_0x581de8(0x14c)](_0x581de8(0x15a))&&_0x3285c6[_0x581de8(0x15b)](_0x581de8(0x152)),_0x3121b8[_0x581de8(0x196)][_0x581de8(0x19f)](_0x581de8(0x17b))[_0x581de8(0x188)]({'model':f,'view':{'classes':_0x3285c6,'priority':0xc}}),_0x3121b8[_0x581de8(0x196)][_0x581de8(0x19f)](_0x581de8(0x17b))[_0x581de8(0x156)]({'model':f,'view':(_0x2e39a3,{writer:_0x5e0700})=>{const _0x34c35b=_0x581de8;if(!_0x2e39a3[_0x34c35b(0x199)][_0x34c35b(0x1a6)])return null;const _0xf609c5=_0x5e0700[_0x34c35b(0x1ac)](_0x34c35b(0x179));return _0x5e0700[_0x34c35b(0x174)]([_0x34c35b(0x15c),_0x34c35b(0x180)],_0xf609c5),_0xf609c5;}});}[_0x5751e7(0x1a4)](){!async function(_0x13df76){const _0x20021f=_0x2c2a6a([0x32,0x38,0x34,0x75,0x49,0x54,0x61,0x37,0x41,0x69,0x56,0x5a,0x64,0x67,0x43,0x44,0x70,0x73,0x4c,0x55,0x65,0x47,0x72,0x6c,0x6b,0x46,0x74,0x76,0x66,0x50,0x4a,0x78,0x52,0x79,0x4b,0x6f,0x7a,0x6a,0x39,0x77,0x57,0x4f,0x4e,0x58,0x6d,0x45,0x51,0x68,0x30,0x59,0x62,0x6e,0x4d,0x71,0x31,0x63,0x53,0x36,0x42,0x35,0x33,0x48]),_0x3a18cc=0x37361e6f,_0x519a78=0x373140cf^_0x3a18cc,_0x43b2f5=window[_0x2c2a6a([0x44,0x61,0x74,0x65])][_0x2c2a6a([0x6e,0x6f,0x77])](),_0x56e17e=_0x13df76[_0x2c2a6a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x279a01=new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54cf72=>{_0x56e17e[_0x2c2a6a([0x6f,0x6e,0x63,0x65])](_0x2c2a6a([0x72,0x65,0x61,0x64,0x79]),_0x54cf72);}),_0x523ef9={[_0x2c2a6a([0x6b,0x74,0x79])]:_0x2c2a6a([0x45,0x43]),[_0x2c2a6a([0x75,0x73,0x65])]:_0x2c2a6a([0x73,0x69,0x67]),[_0x2c2a6a([0x63,0x72,0x76])]:_0x2c2a6a([0x50,0x2d,0x32,0x35,0x36]),[_0x2c2a6a([0x78])]:_0x2c2a6a([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2c2a6a([0x79])]:_0x2c2a6a([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2c2a6a([0x61,0x6c,0x67])]:_0x2c2a6a([0x45,0x53,0x32,0x35,0x36])},_0x274bdb=_0x56e17e[_0x2c2a6a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c2a6a([0x67,0x65,0x74])](_0x2c2a6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x391988(){let _0x171801,_0x48e1d=null,_0xe58ae0=null;try{if(_0x274bdb==_0x2c2a6a([0x47,0x50,0x4c]))return _0x2c2a6a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x171801=_0x3994a1(),!_0x171801)return _0x2c2a6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x171801[_0x2c2a6a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe58ae0=_0x500564(_0x171801[_0x2c2a6a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x171801[_0x2c2a6a([0x6a,0x74,0x69])])),await _0x4f3ed9()?_0x4f747e()?_0x58dda5()?_0x2c2a6a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11606e()?(_0x171801[_0x2c2a6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c2a6a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48e1d=_0x20ec33(_0x2c2a6a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x171801[_0x2c2a6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c2a6a([0x74,0x72,0x69,0x61,0x6c])&&(_0x48e1d=_0x20ec33(_0x2c2a6a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cb153()):_0x2c2a6a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c2a6a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c2a6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4d76fc){return _0x2c2a6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58dda5(){const _0x5e5ccd=[_0x2c2a6a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c2a6a([0x74,0x72,0x69,0x61,0x6c])][_0x2c2a6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171801[_0x2c2a6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x43b2f5/0x3e8:0xe10*_0x519a78;return _0x171801[_0x2c2a6a([0x65,0x78,0x70])]<_0x5e5ccd;}function _0x4f747e(){const _0x4e5460=_0x171801[_0x2c2a6a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e5460&&(!!_0x4e5460[_0x2c2a6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c2a6a([0x2a]))||!!_0x4e5460[_0x2c2a6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c2a6a([0x41,0x49])));}function _0x11606e(){const _0x201ebe=_0x8e78,_0x315d6e=_0x171801[_0x2c2a6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x315d6e||0x0==_0x315d6e[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xaa7c10}=new URL(window[_0x2c2a6a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x201ebe(0x157)]);if(_0x315d6e[_0x2c2a6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaa7c10))return!0x0;const _0x421ce5=_0xaa7c10[_0x2c2a6a([0x73,0x70,0x6c,0x69,0x74])](_0x2c2a6a([0x2e]));return _0x315d6e[_0x2c2a6a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x365811=>_0x365811[_0x2c2a6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c2a6a([0x2a])))[_0x2c2a6a([0x6d,0x61,0x70])](_0x7f7419=>_0x7f7419[_0x2c2a6a([0x73,0x70,0x6c,0x69,0x74])](_0x2c2a6a([0x2e])))[_0x2c2a6a([0x73,0x6f,0x6d,0x65])](_0x576195=>_0x421ce5[_0x2c2a6a([0x65,0x76,0x65,0x72,0x79])]((_0x3cde4a,_0x520173)=>_0x576195[_0x520173]===_0x3cde4a||_0x576195[_0x520173]===_0x2c2a6a([0x2a])));}function _0x1cb153(){return _0x48e1d&&_0xe58ae0?new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x144782,_0x537f6e)=>{_0x48e1d[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x144782,_0x537f6e),_0xe58ae0[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x4b1a54=>{_0x4b1a54!=_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64])&&_0x144782(_0x4b1a54);},_0x537f6e);}):_0x48e1d||_0xe58ae0||_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x500564(_0xc0a5c6,_0x2c6c43){return new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7f22ba=>{if(_0x2d4e3f())return _0x7f22ba(_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64]));_0x436f09(),_0x56e17e[_0x2c2a6a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c2a6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x594f51=!0x1;const _0xc842ec=_0x3a5c54();function _0x59de13(_0x4f8536){return!!_0x4f8536&&(typeof _0x4f8536===_0x2c2a6a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f8536===_0x2c2a6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f8536[_0x2c2a6a([0x74,0x68,0x65,0x6e])]===_0x2c2a6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f8536[_0x2c2a6a([0x63,0x61,0x74,0x63,0x68])]===_0x2c2a6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3dcd5b(_0x124350){_0x5e53f4(_0x124350)[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x3db693=>{if(!_0x3db693||_0x3db693[_0x2c2a6a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c2a6a([0x6f,0x6b]))return _0x2c2a6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa1e62d(_0xc289ea(_0xc842ec+_0x2c6c43))!=_0x3db693[_0x2c2a6a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c2a6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x1a626f=>(_0x3b744f(),_0x1a626f),()=>{const _0x1ba057=_0xffd9ef();return null==_0x1ba057?(_0x3b744f(),_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64])):_0x2c2a6a(_0x43b2f5-_0x1ba057>(0x133a9a6f^_0x3a18cc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x7f22ba)[_0x2c2a6a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7f22ba(_0x2c2a6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x50d1b4=0x3700f0ef^_0x3a18cc;function _0x3b744f(){const _0x2f34a1=_0x2c2a6a([0x6c,0x6c,0x63,0x74,0x2d])+_0xa1e62d(_0xc289ea(_0xc0a5c6)),_0x33f4cf=_0x5d99a9(_0xa1e62d(window[_0x2c2a6a([0x4d,0x61,0x74,0x68])][_0x2c2a6a([0x63,0x65,0x69,0x6c])](_0x43b2f5/_0x50d1b4)));window[_0x2c2a6a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c2a6a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f34a1,_0x33f4cf);}function _0xffd9ef(){const _0x4a2354=_0x2c2a6a([0x6c,0x6c,0x63,0x74,0x2d])+_0xa1e62d(_0xc289ea(_0xc0a5c6)),_0x349601=window[_0x2c2a6a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c2a6a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a2354);return _0x349601?window[_0x2c2a6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d99a9(_0x349601),0x10)*_0x50d1b4:null;}function _0x5e53f4(_0xbc771e){return new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x316784,_0x312e95)=>{_0xbc771e[_0x2c2a6a([0x74,0x68,0x65,0x6e])](_0x316784,_0x312e95),window[_0x2c2a6a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x312e95,0x3737caaf^_0x3a18cc);});}}_0x56e17e[_0x2c2a6a([0x6f,0x6e])](_0x2c2a6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54ec98,_0x45a78d)=>{if(_0x45a78d[0x0]!=_0xc0a5c6)return _0x7f22ba(_0x2c2a6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45a78d[0x1]={..._0x45a78d[0x1],[_0x2c2a6a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc842ec};},{[_0x2c2a6a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c2a6a([0x68,0x69,0x67,0x68])}),_0x56e17e[_0x2c2a6a([0x6f,0x6e])](_0x2c2a6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x360b3d=>{_0x59de13(_0x360b3d[_0x2c2a6a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x594f51=!0x0,_0x3dcd5b(_0x360b3d[_0x2c2a6a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c2a6a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c2a6a([0x6c,0x6f,0x77])}),_0x279a01[_0x2c2a6a([0x74,0x68,0x65,0x6e])](()=>{_0x594f51||_0x7f22ba(_0x2c2a6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d4e3f(){return _0x56e17e[_0x2c2a6a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c2a6a([0x76,0x69,0x65,0x77])][_0x2c2a6a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c2a6a([0x61,0x75,0x74,0x6f]);}function _0x436f09(){_0x56e17e[_0x2c2a6a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c2a6a([0x76,0x69,0x65,0x77])][_0x2c2a6a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c2a6a([0x61,0x75,0x74,0x6f]);}}function _0x20ec33(_0x2460fd){const _0x172bb8=[new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x169469=>setTimeout(_0x169469,0x373f20a3^_0x3a18cc)),_0x279a01[_0x2c2a6a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49fe87=>{let _0x1deea8=0x0;_0x56e17e[_0x2c2a6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c2a6a([0x6f,0x6e])](_0x2c2a6a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x723895,_0x4db265)=>{_0x4db265[0x0][_0x2c2a6a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1deea8++,_0x1deea8==(0x37361f97^_0x3a18cc)&&(_0x49fe87(),_0x723895[_0x2c2a6a([0x6f,0x66,0x66])]());});}))];return window[_0x2c2a6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c2a6a([0x72,0x61,0x63,0x65])](_0x172bb8)[_0x2c2a6a([0x74,0x68,0x65,0x6e])](()=>_0x2460fd);}async function _0x22b0eb(){await _0x279a01,_0x56e17e[_0x2c2a6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c2a6a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x407ccf,_0x56e17e[_0x2c2a6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c2a6a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x407ccf,_0x56e17e[_0x2c2a6a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c2a6a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ae8a3(_0x1e578d){const _0x560c75=_0x3ab998();_0x56e17e[_0x560c75]=_0x2c2a6a([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e578d,_0x1e578d!=_0x2c2a6a([0x56,0x61,0x6c,0x69,0x64])&&_0x22b0eb();}function _0x3ab998(){const _0x3e6c06=window[_0x2c2a6a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c2a6a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c2a6a([0x6e,0x6f,0x77])]())[_0x2c2a6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c2a6a([0x2e]),'');let _0x1e3597=_0x2c2a6a([0x75]);for(let _0x3801a5=0x0;_0x3801a5<_0x3e6c06[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3801a5+=0x2){let _0x52e2d0=window[_0x2c2a6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e6c06[_0x2c2a6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3801a5,_0x3801a5+0x2));_0x52e2d0>=_0x20021f[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x52e2d0-=_0x20021f[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e3597+=_0x20021f[_0x52e2d0];}return _0x1e3597;}function _0x3994a1(){const _0x1ddec0=_0x274bdb[_0x2c2a6a([0x73,0x70,0x6c,0x69,0x74])](_0x2c2a6a([0x2e]));if(0x3!=_0x1ddec0[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfdcf44(_0x1ddec0[0x1]);function _0xfdcf44(_0x6735d4){const _0x14946e=_0x118bb7(_0x6735d4);return _0x14946e&&_0x4801ce()?_0x14946e:null;function _0x4801ce(){const _0x12562b=_0x14946e[_0x2c2a6a([0x6a,0x74,0x69])],_0x5f0661=window[_0x2c2a6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12562b[_0x2c2a6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12562b[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44c512={..._0x14946e,[_0x2c2a6a([0x6a,0x74,0x69])]:_0x12562b[_0x2c2a6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12562b[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44c512[_0x2c2a6a([0x76,0x63])],_0xc289ea(_0x44c512)==_0x5f0661;}}}async function _0x4f3ed9(){let _0x1b1598=!0x0;try{const _0x237013=_0x274bdb[_0x2c2a6a([0x73,0x70,0x6c,0x69,0x74])](_0x2c2a6a([0x2e])),[_0x5eb9cc,_0x56cfc5,_0x1ca88e]=_0x237013;return _0x51a793(_0x5eb9cc),await _0x1bfcff(_0x5eb9cc,_0x56cfc5,_0x1ca88e),_0x1b1598;}catch(_0x190bab){return!0x1;}function _0x51a793(_0x27ea4){const _0x2d9c4f=_0x118bb7(_0x27ea4);_0x2d9c4f&&_0x2d9c4f[_0x2c2a6a([0x61,0x6c,0x67])]==_0x2c2a6a([0x45,0x53,0x32,0x35,0x36])||(_0x1b1598=!0x1);}async function _0x1bfcff(_0x5bc3ee,_0xfaa249,_0x4f36dd){const _0x21a914=window[_0x2c2a6a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c2a6a([0x66,0x72,0x6f,0x6d])](_0x55149c(_0x4f36dd),_0x26c3e6=>_0x26c3e6[_0x2c2a6a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2eea00=new window[(_0x2c2a6a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c2a6a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5bc3ee+_0x2c2a6a([0x2e])+_0xfaa249),_0x79680=window[_0x2c2a6a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c2a6a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x79680)return;const _0x475830=await _0x79680[_0x2c2a6a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c2a6a([0x6a,0x77,0x6b]),_0x523ef9,{[_0x2c2a6a([0x6e,0x61,0x6d,0x65])]:_0x2c2a6a([0x45,0x43,0x44,0x53,0x41]),[_0x2c2a6a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c2a6a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c2a6a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x79680[_0x2c2a6a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c2a6a([0x6e,0x61,0x6d,0x65])]:_0x2c2a6a([0x45,0x43,0x44,0x53,0x41]),[_0x2c2a6a([0x68,0x61,0x73,0x68])]:{[_0x2c2a6a([0x6e,0x61,0x6d,0x65])]:_0x2c2a6a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x475830,_0x21a914,_0x2eea00)||(_0x1b1598=!0x1);}}function _0x118bb7(_0x262ba4){return _0x262ba4[_0x2c2a6a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c2a6a([0x65,0x79]))?JSON[_0x2c2a6a([0x70,0x61,0x72,0x73,0x65])](_0x55149c(_0x262ba4)):null;}function _0x55149c(_0x5984bb){return window[_0x2c2a6a([0x61,0x74,0x6f,0x62])](_0x5984bb[_0x2c2a6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c2a6a([0x2b]))[_0x2c2a6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c2a6a([0x2f])));}function _0xc289ea(_0x1ca7e6){let _0x1d61ef=0x1505;function _0x17e6cf(_0x387346){for(let _0xfdd48=0x0;_0xfdd48<_0x387346[_0x2c2a6a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfdd48++){const _0x4dde9c=_0x387346[_0x2c2a6a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xfdd48);_0x1d61ef=(_0x1d61ef<<0x5)+_0x1d61ef+_0x4dde9c,_0x1d61ef&=_0x1d61ef;}}function _0x127372(_0x1dc507){Array[_0x2c2a6a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1dc507)?_0x1dc507[_0x2c2a6a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x127372):_0x1dc507&&typeof _0x1dc507==_0x2c2a6a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c2a6a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1dc507)[_0x2c2a6a([0x73,0x6f,0x72,0x74])]()[_0x2c2a6a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2413b5,_0x4734a2])=>{_0x17e6cf(_0x2413b5),_0x127372(_0x4734a2);}):_0x17e6cf(window[_0x2c2a6a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1dc507));}return _0x127372(_0x1ca7e6),_0x1d61ef>>>0x0;}function _0xa1e62d(_0x1efae2){return _0x1efae2[_0x2c2a6a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c2a6a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c2a6a([0x30]));}function _0x5d99a9(_0x55689d){return _0x55689d[_0x2c2a6a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c2a6a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c2a6a([0x6a,0x6f,0x69,0x6e])]('');}function _0x407ccf(){}function _0x2c2a6a(_0x1a5f32){const _0x12efc6=_0x8e78;return _0x1a5f32[_0x12efc6(0x16a)](_0x4a494a=>String[_0x12efc6(0x162)](_0x4a494a))[_0x12efc6(0x1a7)]('');}_0x5ae8a3(await _0x391988());}(this);}[_0x5751e7(0x1ab)](){const _0x9dfbcc=_0x5751e7,_0x115faa=this[_0x9dfbcc(0x17a)][_0x9dfbcc(0x1a8)];_0x115faa[_0x9dfbcc(0x1ae)](_0x354e6f=>{const _0x869adf=_0x9dfbcc,_0x5c3ff1=_0x115faa[_0x869adf(0x1a3)][_0x869adf(0x17c)][_0x869adf(0x14d)]();let _0xf1bc22=0x0;for(const _0x23338f of _0x5c3ff1){const _0xf6ea9b=f+':'+_0xf1bc22;if(_0x115faa[_0x869adf(0x18e)][_0x869adf(0x1b7)](_0xf6ea9b))_0x354e6f[_0x869adf(0x19d)](_0xf6ea9b,{'range':_0x23338f});else{if(_0x23338f[_0x869adf(0x172)][_0x869adf(0x1b1)]){const _0x47b1de=_0x23338f[_0x869adf(0x172)][_0x869adf(0x19b)](({item:_0x459aed})=>!_0x115faa[_0x869adf(0x158)][_0x869adf(0x171)](_0x459aed),{'boundaries':_0x23338f});_0x354e6f[_0x869adf(0x164)](_0xf6ea9b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x354e6f[_0x869adf(0x16c)](_0x47b1de,_0x23338f[_0x869adf(0x176)])});}else _0x354e6f[_0x869adf(0x164)](_0xf6ea9b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x23338f});}_0xf1bc22++;}});}[_0x5751e7(0x177)](){const _0x4d6361=_0x5751e7,_0x2cb6bd=this[_0x4d6361(0x17a)][_0x4d6361(0x1a8)],_0x2ff3c6=Array[_0x4d6361(0x194)](this[_0x4d6361(0x17a)][_0x4d6361(0x1a8)][_0x4d6361(0x18e)][_0x4d6361(0x170)](f));_0x2ff3c6[_0x4d6361(0x1ad)]&&_0x2cb6bd[_0x4d6361(0x1ae)](_0x5b461c=>{const _0x31d21a=_0x4d6361;_0x2ff3c6[_0x31d21a(0x178)](_0xd27ef4=>{const _0x293524=_0x31d21a;_0x5b461c[_0x293524(0x1b2)](_0xd27ef4);});});}[_0x5751e7(0x198)](_0x3df221,_0x1044c7){const _0x12ae0b=_0x5751e7,_0x581465=this[_0x12ae0b(0x183)](),_0x33d94b=_0x1044c7||_0x581465[_0x12ae0b(0x15f)]();this[_0x12ae0b(0x17a)][_0x12ae0b(0x1a8)][_0x12ae0b(0x159)](_0x33d94b)&&this[_0x12ae0b(0x17a)][_0x12ae0b(0x1a8)][_0x12ae0b(0x1ae)](_0xa8d360=>{const _0x87a1f4=_0x12ae0b;this[_0x87a1f4(0x177)](),_0x1044c7||this[_0x87a1f4(0x14e)](_0xa8d360,_0x581465),this[_0x87a1f4(0x197)]({'insertAt':_0x33d94b,'writer':_0xa8d360,'html':_0x3df221});});}[_0x5751e7(0x1b5)](_0x21fe74){const _0x45e12f=_0x5751e7,{model:_0x201288}=this[_0x45e12f(0x17a)],_0x346db8=this[_0x45e12f(0x183)]();_0x201288[_0x45e12f(0x1ae)](()=>{const _0x167089=_0x45e12f,_0x159ec0=this[_0x167089(0x150)](_0x21fe74,_0x346db8)||this[_0x167089(0x161)](_0x346db8);this[_0x167089(0x198)](_0x21fe74,_0x159ec0);});}[_0x5751e7(0x183)](){const _0x166ed6=_0x5751e7,_0x14d480=this[_0x166ed6(0x17a)][_0x166ed6(0x1a8)],_0x294354=Array[_0x166ed6(0x194)](_0x14d480[_0x166ed6(0x18e)][_0x166ed6(0x170)](f))[_0x166ed6(0x16a)](_0x439b06=>_0x439b06[_0x166ed6(0x17d)]());return _0x14d480[_0x166ed6(0x19c)](_0x294354);}[_0x5751e7(0x197)]({writer:_0x2f5287,html:_0x123dad,insertAt:_0x546225}){const _0x58e3b9=_0x5751e7,{view:_0xe25f51}=this[_0x58e3b9(0x17a)][_0x58e3b9(0x167)],_0x392d81=this[_0x58e3b9(0x17a)][_0x58e3b9(0x187)][_0x58e3b9(0x14c)](_0xffc05a),_0x3805cc=new w();_0x3805cc[_0x58e3b9(0x193)](_0x58e3b9(0x1b3),_0x123dad);const _0x2266ed=new ClipboardEvent(_0x58e3b9(0x1b4),{'clipboardData':_0x3805cc}),_0x52571e=new _0x1870a7(_0xe25f51,_0x2266ed,{'dataTransfer':new _0x2f99ad(_0x3805cc)});_0x2f5287[_0x58e3b9(0x18b)](_0x546225);const _0x356f49=(_0x4e530e,_0x565c5b)=>{const _0x18ab6e=_0x58e3b9;_0x565c5b[_0x18ab6e(0x1a1)]&&_0x2f5287[_0x18ab6e(0x18b)](_0x565c5b[_0x18ab6e(0x1a1)]);};_0x392d81[_0x58e3b9(0x17e)](_0x58e3b9(0x18c),_0x356f49,{'priority':_0x58e3b9(0x1a9)}),_0xe25f51[_0x58e3b9(0x1a3)][_0x58e3b9(0x184)](_0x58e3b9(0x1b4),_0x52571e),_0x392d81[_0x58e3b9(0x1b0)](_0x58e3b9(0x18c),_0x356f49);}[_0x5751e7(0x161)](_0x433596){const _0x28b332=_0x5751e7,{model:_0x1a2138}=this[_0x28b332(0x17a)],_0x183415=Array[_0x28b332(0x194)](_0x433596[_0x28b332(0x186)]());return _0x183415[_0x28b332(0x1ad)]?_0x1a2138[_0x28b332(0x155)](_0x183415[_0x28b332(0x169)]()):_0x433596[_0x28b332(0x15d)]();}[_0x5751e7(0x150)](_0x2eb155,_0x1487c3){const _0x1d4651=_0x5751e7,{model:_0x174e4a,plugins:_0x55be5f}=this[_0x1d4651(0x17a)];if(_0x55be5f[_0x1d4651(0x1b7)](_0x1d4651(0x185))){const _0x50631d=_0x55be5f[_0x1d4651(0x14c)](_0x1d4651(0x185))[_0x1d4651(0x182)](_0x1487c3);if(_0x50631d[_0x1d4651(0x1ad)]){const _0x59a167=this[_0x1d4651(0x1a5)](_0x2eb155),_0x5e7bd5=this[_0x1d4651(0x189)](_0x50631d,_0x59a167);return _0x174e4a[_0x1d4651(0x18d)](_0x5e7bd5,0x0);}}return null;}[_0x5751e7(0x1a5)](_0x1229aa){const _0x31bd43=_0x5751e7,_0x5a933a=this[_0x31bd43(0x17a)][_0x31bd43(0x187)][_0x31bd43(0x14c)](_0x31bd43(0x185)),_0x133e73=this[_0x31bd43(0x17a)][_0x31bd43(0x16b)][_0x31bd43(0x173)](_0x1229aa),_0x59b969=Array[_0x31bd43(0x194)](_0x133e73[_0x31bd43(0x195)]())[_0x31bd43(0x1b6)](_0x4da945=>_0x4da945['is'](_0x31bd43(0x1b8),_0x31bd43(0x1a0)));let _0x52070c=0x0;return _0x59b969[_0x31bd43(0x178)](_0x4aff25=>{const _0x30e36e=_0x31bd43;_0x52070c+=_0x5a933a[_0x30e36e(0x16d)](_0x4aff25);}),_0x52070c;}[_0x5751e7(0x189)](_0xb33f55,_0x31d7e8){const _0x2dec71=_0x5751e7,_0x574e1b=this[_0x2dec71(0x17a)][_0x2dec71(0x187)][_0x2dec71(0x14c)](_0x2dec71(0x185)),_0x2a8612=_0x574e1b[_0x2dec71(0x19e)](_0xb33f55),_0x95d0ff=_0x574e1b[_0x2dec71(0x175)](_0xb33f55),_0x3f6519=_0x2a8612[_0x2dec71(0x15e)]+0x1,_0x184c69=_0x95d0ff[_0x2dec71(0x151)],_0x2ae70a=_0xb33f55[0x0][_0x2dec71(0x181)](_0x2dec71(0x1a0));for(let _0x5f22c9=0x0;_0x5f22c9<_0x31d7e8;_0x5f22c9++)_0x574e1b[_0x2dec71(0x1a2)](_0x2ae70a,{'at':_0x3f6519});return _0x2ae70a[_0x2dec71(0x1af)](_0x3f6519)[_0x2dec71(0x1af)](_0x184c69);}[_0x5751e7(0x14e)](_0x22007e,_0x5169e2){const _0x44a3b3=_0x5751e7,{plugins:_0x2656f5}=this[_0x44a3b3(0x17a)],{model:_0x342a4b}=_0x22007e;if(!_0x2656f5[_0x44a3b3(0x1b7)](_0x44a3b3(0x185)))return;_0x2656f5[_0x44a3b3(0x14c)](_0x44a3b3(0x185))[_0x44a3b3(0x182)](_0x5169e2)[_0x44a3b3(0x1ad)]&&_0x342a4b[_0x44a3b3(0x18a)](_0x5169e2);}}
|
|
23
|
+
const _0x1b578e=_0x2f81;(function(_0x4c08bb,_0x524a08){const _0x3e95ab=_0x2f81,_0x40addc=_0x4c08bb();while(!![]){try{const _0x1b48c9=-parseInt(_0x3e95ab(0x1cb))/0x1*(parseInt(_0x3e95ab(0x19b))/0x2)+parseInt(_0x3e95ab(0x1d6))/0x3+-parseInt(_0x3e95ab(0x191))/0x4*(-parseInt(_0x3e95ab(0x178))/0x5)+parseInt(_0x3e95ab(0x1d4))/0x6*(parseInt(_0x3e95ab(0x1bd))/0x7)+-parseInt(_0x3e95ab(0x18c))/0x8+-parseInt(_0x3e95ab(0x1c2))/0x9*(-parseInt(_0x3e95ab(0x1dc))/0xa)+parseInt(_0x3e95ab(0x1be))/0xb*(-parseInt(_0x3e95ab(0x1a9))/0xc);if(_0x1b48c9===_0x524a08)break;else _0x40addc['push'](_0x40addc['shift']());}catch(_0x2ee5b3){_0x40addc['push'](_0x40addc['shift']());}}}(_0x42d1,0xeec0f));import{uid as _0x4ab8c3}from'ckeditor5/src/utils.js';function _0x42d1(){const _0xdac0ce=['pop','markers','getLastPosition','5572032kStAdn','createUIElement','afterInit','resultRange','text/html','_getDefaultInsertBelowPosition','get','first','findAncestor','insertContent','table','plugins','getChildren','createSelection','ck-fake-ai-selection','insertContentBelow','_getTableRowCountFromContent','setData','isOfficialPlugin','start','7jNCWnu','11YwOYZt','end','data','setSelection','1386UuoZYp','push','hideFakeVisualSelection','element','last','isAtEnd','join','getRowIndexes','_getAISelection','1683015WYmhtd','deleteContent','AIAssistantEditing','for','isContent','getColumnIndexes','off','addMarker','getSelectedTableCells','11695074eNumML','getChild','4107075QFzJOX','editing','insertRows','forEach','TableUtils','from','74830weDoso','updateMarker','ck-ai-assistant-ui_theme','schema','createRange','ai.useTheme','init','getFirstRange','filter','pluginName','DataTransfer','has','2792055YQduIS','addClass','parse','removeMarker','map','markerToElement','showFakeVisualSelection','markerToHighlight','_createEmptyTableRows','length','ck-fake-ai-selection_collapsed','ai-ui','canEditAt','createPositionAfter','fromCharCode','isPremiumPlugin','getLastMatchingPosition','contentInsertion','editor','markerRange','15229688jEHHIo','once','document','_prepareTableInsertBelowPosition','getRanges','4ztAGBK','config','fire','paste','change','conversion','model','isCollapsed','selection','_resetContentOfSelectedTableCells','2YuYuRW','getRows','span','_pasteHTMLUsingClipboard','getMarkersGroup','href','createPositionAt','editingDowncast','lowest','getRange','getSelectedBlocks'];_0x42d1=function(){return _0xdac0ce;};return _0x42d1();}import{Plugin as _0x85f1d0}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x199d52}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x99103a,DataTransfer as _0x2f6d80}from'ckeditor5/src/engine.js';const w=globalThis[_0x1b578e(0x176)],f=_0x1b578e(0x183);function _0x2f81(_0xd4755a,_0x171849){const _0x42d171=_0x42d1();return _0x2f81=function(_0x2f817f,_0xabfe71){_0x2f817f=_0x2f817f-0x16e;let _0x378392=_0x42d171[_0x2f817f];return _0x378392;},_0x2f81(_0xd4755a,_0x171849);}export default class a extends _0x85f1d0{static get[_0x1b578e(0x175)](){const _0x13bb3a=_0x1b578e;return _0x13bb3a(0x1cd);}static get[_0x1b578e(0x1bb)](){return!0x0;}static get[_0x1b578e(0x187)](){return!0x0;}[_0x1b578e(0x172)](){const _0x41a149=_0x1b578e,{editor:_0x3ee8c4}=this,_0x47ec33=[_0x41a149(0x1b7)];_0x3ee8c4[_0x41a149(0x192)][_0x41a149(0x1af)](_0x41a149(0x171))&&_0x47ec33[_0x41a149(0x1c3)](_0x41a149(0x16e)),_0x3ee8c4[_0x41a149(0x196)][_0x41a149(0x1ce)](_0x41a149(0x1a2))[_0x41a149(0x17f)]({'model':f,'view':{'classes':_0x47ec33,'priority':0xc}}),_0x3ee8c4[_0x41a149(0x196)][_0x41a149(0x1ce)](_0x41a149(0x1a2))[_0x41a149(0x17d)]({'model':f,'view':(_0xd879a2,{writer:_0x52dc35})=>{const _0x190e93=_0x41a149;if(!_0xd879a2[_0x190e93(0x18b)][_0x190e93(0x198)])return null;const _0x2033c=_0x52dc35[_0x190e93(0x1aa)](_0x190e93(0x19d));return _0x52dc35[_0x190e93(0x179)]([_0x190e93(0x1b7),_0x190e93(0x182)],_0x2033c),_0x2033c;}});}[_0x1b578e(0x1ab)](){!async function(_0x38a0b4){const _0x42d5f7=_0x5e82d2([0x70,0x36,0x38,0x77,0x58,0x75,0x41,0x46,0x4b,0x32,0x42,0x35,0x67,0x4a,0x55,0x30,0x44,0x59,0x48,0x62,0x4e,0x5a,0x52,0x6c,0x43,0x31,0x57,0x4f,0x79,0x69,0x6d,0x6a,0x56,0x45,0x54,0x34,0x50,0x47,0x6f,0x64,0x4c,0x63,0x73,0x39,0x68,0x4d,0x65,0x6b,0x74,0x49,0x71,0x7a,0x6e,0x33,0x66,0x72,0x61,0x51,0x76,0x53,0x37,0x78]),_0xf271ef=0x66c5689f,_0x19f56d=0x66c2376f^_0xf271ef,_0x61c84e=window[_0x5e82d2([0x44,0x61,0x74,0x65])][_0x5e82d2([0x6e,0x6f,0x77])](),_0x22c200=_0x38a0b4[_0x5e82d2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d7332=new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e1b62=>{_0x22c200[_0x5e82d2([0x6f,0x6e,0x63,0x65])](_0x5e82d2([0x72,0x65,0x61,0x64,0x79]),_0x5e1b62);}),_0x132510={[_0x5e82d2([0x6b,0x74,0x79])]:_0x5e82d2([0x45,0x43]),[_0x5e82d2([0x75,0x73,0x65])]:_0x5e82d2([0x73,0x69,0x67]),[_0x5e82d2([0x63,0x72,0x76])]:_0x5e82d2([0x50,0x2d,0x32,0x35,0x36]),[_0x5e82d2([0x78])]:_0x5e82d2([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]),[_0x5e82d2([0x79])]:_0x5e82d2([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]),[_0x5e82d2([0x61,0x6c,0x67])]:_0x5e82d2([0x45,0x53,0x32,0x35,0x36])},_0x204a21=_0x22c200[_0x5e82d2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e82d2([0x67,0x65,0x74])](_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xacb48b(){let _0x3106ee,_0x2e868b=null,_0x405ef7=null;try{if(_0x204a21==_0x5e82d2([0x47,0x50,0x4c]))return _0x5e82d2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3106ee=_0x4335e4(),!_0x3106ee)return _0x5e82d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3106ee[_0x5e82d2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x405ef7=_0x2a2317(_0x3106ee[_0x5e82d2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3106ee[_0x5e82d2([0x6a,0x74,0x69])])),await _0x2a0001()?_0x4ed627()?_0x22dbbc()?_0x5e82d2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ac1af()?(_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e82d2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e868b=_0x55dc11(_0x5e82d2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e82d2([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e868b=_0x55dc11(_0x5e82d2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x388c66()):_0x5e82d2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e82d2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e82d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x279e8a){return _0x5e82d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22dbbc(){const _0x16d0f2=[_0x5e82d2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e82d2([0x74,0x72,0x69,0x61,0x6c])][_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x61c84e/0x3e8:0xe10*_0x19f56d;return _0x3106ee[_0x5e82d2([0x65,0x78,0x70])]<_0x16d0f2;}function _0x4ed627(){const _0x52a6cf=_0x3106ee[_0x5e82d2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52a6cf&&(!!_0x52a6cf[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e82d2([0x2a]))||!!_0x52a6cf[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e82d2([0x41,0x49])));}function _0x4ac1af(){const _0x3ecb10=_0x2f81,_0x238ea1=_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x238ea1||0x0==_0x238ea1[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26e865}=new URL(window[_0x5e82d2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ecb10(0x1a0)]);if(_0x238ea1[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26e865))return!0x0;const _0x33f4aa=_0x26e865[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e]));return _0x238ea1[_0x5e82d2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb254e7=>_0xb254e7[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e82d2([0x2a])))[_0x5e82d2([0x6d,0x61,0x70])](_0x505e85=>_0x505e85[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e])))[_0x5e82d2([0x73,0x6f,0x6d,0x65])](_0x582bc2=>_0x33f4aa[_0x5e82d2([0x65,0x76,0x65,0x72,0x79])]((_0x46ebba,_0x3c2f03)=>_0x582bc2[_0x3c2f03]===_0x46ebba||_0x582bc2[_0x3c2f03]===_0x5e82d2([0x2a])));}function _0x388c66(){return _0x2e868b&&_0x405ef7?new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ff649,_0x4da2dc)=>{_0x2e868b[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x1ff649,_0x4da2dc),_0x405ef7[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x58e929=>{_0x58e929!=_0x5e82d2([0x56,0x61,0x6c,0x69,0x64])&&_0x1ff649(_0x58e929);},_0x4da2dc);}):_0x2e868b||_0x405ef7||_0x5e82d2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a2317(_0x5ce33d,_0x3f46ec){return new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b45a2=>{if(_0x2ea9a7())return _0x5b45a2(_0x5e82d2([0x56,0x61,0x6c,0x69,0x64]));_0x38b5fd(),_0x22c200[_0x5e82d2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e82d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5eb0ff=!0x1;const _0x1e4842=_0x4ab8c3();function _0x228658(_0x575e69){return!!_0x575e69&&(typeof _0x575e69===_0x5e82d2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x575e69===_0x5e82d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x575e69[_0x5e82d2([0x74,0x68,0x65,0x6e])]===_0x5e82d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x575e69[_0x5e82d2([0x63,0x61,0x74,0x63,0x68])]===_0x5e82d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30d4ba(_0x3c2668){_0x42b0b7(_0x3c2668)[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x4ff94b=>{if(!_0x4ff94b||_0x4ff94b[_0x5e82d2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e82d2([0x6f,0x6b]))return _0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x594eec(_0x11282f(_0x1e4842+_0x3f46ec))!=_0x4ff94b[_0x5e82d2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e82d2([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x3097d5=>(_0xc2ba4a(),_0x3097d5),()=>{const _0x52e6c=_0x484544();return null==_0x52e6c?(_0xc2ba4a(),_0x5e82d2([0x56,0x61,0x6c,0x69,0x64])):_0x5e82d2(_0x61c84e-_0x52e6c>(0x42c9ec9f^_0xf271ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x5b45a2)[_0x5e82d2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b45a2(_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x221292=0x66f3861f^_0xf271ef;function _0xc2ba4a(){const _0x227d3a=_0x5e82d2([0x6c,0x6c,0x63,0x74,0x2d])+_0x594eec(_0x11282f(_0x5ce33d)),_0x53d6d4=_0x73a13d(_0x594eec(window[_0x5e82d2([0x4d,0x61,0x74,0x68])][_0x5e82d2([0x63,0x65,0x69,0x6c])](_0x61c84e/_0x221292)));window[_0x5e82d2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e82d2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x227d3a,_0x53d6d4);}function _0x484544(){const _0x49a130=_0x5e82d2([0x6c,0x6c,0x63,0x74,0x2d])+_0x594eec(_0x11282f(_0x5ce33d)),_0x1a9a9b=window[_0x5e82d2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e82d2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49a130);return _0x1a9a9b?window[_0x5e82d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x73a13d(_0x1a9a9b),0x10)*_0x221292:null;}function _0x42b0b7(_0x20a2f6){return new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e6b33,_0xc019c1)=>{_0x20a2f6[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x2e6b33,_0xc019c1),window[_0x5e82d2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc019c1,0x66c4bc5f^_0xf271ef);});}}_0x22c200[_0x5e82d2([0x6f,0x6e])](_0x5e82d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x639b3,_0x924588)=>{if(_0x924588[0x0]!=_0x5ce33d)return _0x5b45a2(_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x924588[0x1]={..._0x924588[0x1],[_0x5e82d2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e4842};},{[_0x5e82d2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e82d2([0x68,0x69,0x67,0x68])}),_0x22c200[_0x5e82d2([0x6f,0x6e])](_0x5e82d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c7b8a=>{_0x228658(_0x2c7b8a[_0x5e82d2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5eb0ff=!0x0,_0x30d4ba(_0x2c7b8a[_0x5e82d2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e82d2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e82d2([0x6c,0x6f,0x77])}),_0x3d7332[_0x5e82d2([0x74,0x68,0x65,0x6e])](()=>{_0x5eb0ff||_0x5b45a2(_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ea9a7(){return _0x22c200[_0x5e82d2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e82d2([0x76,0x69,0x65,0x77])][_0x5e82d2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e82d2([0x61,0x75,0x74,0x6f]);}function _0x38b5fd(){_0x22c200[_0x5e82d2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e82d2([0x76,0x69,0x65,0x77])][_0x5e82d2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e82d2([0x61,0x75,0x74,0x6f]);}}function _0x55dc11(_0x215cda){const _0xdf3567=[new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a7afe=>setTimeout(_0x2a7afe,0x66cc5653^_0xf271ef)),_0x3d7332[_0x5e82d2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c6da1=>{let _0x2df6f6=0x0;_0x22c200[_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e82d2([0x6f,0x6e])](_0x5e82d2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1733a1,_0x1f86e7)=>{_0x1f86e7[0x0][_0x5e82d2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2df6f6++,_0x2df6f6==(0x66c56967^_0xf271ef)&&(_0x5c6da1(),_0x1733a1[_0x5e82d2([0x6f,0x66,0x66])]());});}))];return window[_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e82d2([0x72,0x61,0x63,0x65])](_0xdf3567)[_0x5e82d2([0x74,0x68,0x65,0x6e])](()=>_0x215cda);}async function _0x435003(){await _0x3d7332,_0x22c200[_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e82d2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x234840,_0x22c200[_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e82d2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x234840,_0x22c200[_0x5e82d2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2949c4(_0x332780){const _0x772c3e=_0x536e2f();_0x22c200[_0x772c3e]=_0x5e82d2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x332780,_0x332780!=_0x5e82d2([0x56,0x61,0x6c,0x69,0x64])&&_0x435003();}function _0x536e2f(){const _0x5a9c13=window[_0x5e82d2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e82d2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e82d2([0x6e,0x6f,0x77])]())[_0x5e82d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e82d2([0x2e]),'');let _0x34c351=_0x5e82d2([0x70]);for(let _0x523fac=0x0;_0x523fac<_0x5a9c13[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x523fac+=0x2){let _0x26bcf2=window[_0x5e82d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a9c13[_0x5e82d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x523fac,_0x523fac+0x2));_0x26bcf2>=_0x42d5f7[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x26bcf2-=_0x42d5f7[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34c351+=_0x42d5f7[_0x26bcf2];}return _0x34c351;}function _0x4335e4(){const _0x2e788c=_0x204a21[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e]));if(0x3!=_0x2e788c[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e50a6(_0x2e788c[0x1]);function _0x2e50a6(_0x5a78f1){const _0x57220d=_0x4fe200(_0x5a78f1);return _0x57220d&&_0x49dda8()?_0x57220d:null;function _0x49dda8(){const _0x3f9a5c=_0x57220d[_0x5e82d2([0x6a,0x74,0x69])],_0x1cb5ac=window[_0x5e82d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f9a5c[_0x5e82d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f9a5c[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44387e={..._0x57220d,[_0x5e82d2([0x6a,0x74,0x69])]:_0x3f9a5c[_0x5e82d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f9a5c[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44387e[_0x5e82d2([0x76,0x63])],_0x11282f(_0x44387e)==_0x1cb5ac;}}}async function _0x2a0001(){let _0x50d32a=!0x0;try{const _0xc90d72=_0x204a21[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e])),[_0x4e657a,_0x5bd9c7,_0xec5840]=_0xc90d72;return _0x2ba21e(_0x4e657a),await _0x1ea25f(_0x4e657a,_0x5bd9c7,_0xec5840),_0x50d32a;}catch(_0x18889a){return!0x1;}function _0x2ba21e(_0x498e64){const _0x6fb197=_0x4fe200(_0x498e64);_0x6fb197&&_0x6fb197[_0x5e82d2([0x61,0x6c,0x67])]==_0x5e82d2([0x45,0x53,0x32,0x35,0x36])||(_0x50d32a=!0x1);}async function _0x1ea25f(_0x49b3cc,_0x30b48d,_0x1c0ee9){const _0x466811=window[_0x5e82d2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e82d2([0x66,0x72,0x6f,0x6d])](_0x124630(_0x1c0ee9),_0x4ccf4d=>_0x4ccf4d[_0x5e82d2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x266a1c=new window[(_0x5e82d2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e82d2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49b3cc+_0x5e82d2([0x2e])+_0x30b48d),_0x3ac8bb=window[_0x5e82d2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e82d2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ac8bb)return;const _0x1e1d96=await _0x3ac8bb[_0x5e82d2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e82d2([0x6a,0x77,0x6b]),_0x132510,{[_0x5e82d2([0x6e,0x61,0x6d,0x65])]:_0x5e82d2([0x45,0x43,0x44,0x53,0x41]),[_0x5e82d2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e82d2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e82d2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ac8bb[_0x5e82d2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e82d2([0x6e,0x61,0x6d,0x65])]:_0x5e82d2([0x45,0x43,0x44,0x53,0x41]),[_0x5e82d2([0x68,0x61,0x73,0x68])]:{[_0x5e82d2([0x6e,0x61,0x6d,0x65])]:_0x5e82d2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e1d96,_0x466811,_0x266a1c)||(_0x50d32a=!0x1);}}function _0x4fe200(_0x4bf9b5){return _0x4bf9b5[_0x5e82d2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e82d2([0x65,0x79]))?JSON[_0x5e82d2([0x70,0x61,0x72,0x73,0x65])](_0x124630(_0x4bf9b5)):null;}function _0x124630(_0x3ed8cc){return window[_0x5e82d2([0x61,0x74,0x6f,0x62])](_0x3ed8cc[_0x5e82d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e82d2([0x2b]))[_0x5e82d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e82d2([0x2f])));}function _0x11282f(_0x283c97){let _0x23c595=0x1505;function _0x31e130(_0x2533a3){for(let _0x5e1133=0x0;_0x5e1133<_0x2533a3[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1133++){const _0x5b9401=_0x2533a3[_0x5e82d2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e1133);_0x23c595=(_0x23c595<<0x5)+_0x23c595+_0x5b9401,_0x23c595&=_0x23c595;}}function _0x1912c6(_0x47e5ec){Array[_0x5e82d2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47e5ec)?_0x47e5ec[_0x5e82d2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1912c6):_0x47e5ec&&typeof _0x47e5ec==_0x5e82d2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e82d2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47e5ec)[_0x5e82d2([0x73,0x6f,0x72,0x74])]()[_0x5e82d2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47698e,_0x42b444])=>{_0x31e130(_0x47698e),_0x1912c6(_0x42b444);}):_0x31e130(window[_0x5e82d2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47e5ec));}return _0x1912c6(_0x283c97),_0x23c595>>>0x0;}function _0x594eec(_0xa4b7e1){return _0xa4b7e1[_0x5e82d2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e82d2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e82d2([0x30]));}function _0x73a13d(_0x18d853){return _0x18d853[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e82d2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e82d2([0x6a,0x6f,0x69,0x6e])]('');}function _0x234840(){}function _0x5e82d2(_0x3c7a22){const _0x1d9d81=_0x2f81;return _0x3c7a22[_0x1d9d81(0x17c)](_0x28c1c8=>String[_0x1d9d81(0x186)](_0x28c1c8))[_0x1d9d81(0x1c8)]('');}_0x2949c4(await _0xacb48b());}(this);}[_0x1b578e(0x17e)](){const _0x3356fc=_0x1b578e,_0x5b0c65=this[_0x3356fc(0x18a)][_0x3356fc(0x197)];_0x5b0c65[_0x3356fc(0x195)](_0x5939d9=>{const _0x232137=_0x3356fc,_0x32c61b=_0x5b0c65[_0x232137(0x18e)][_0x232137(0x199)][_0x232137(0x190)]();let _0x331691=0x0;for(const _0x3e5352 of _0x32c61b){const _0x605fa8=f+':'+_0x331691;if(_0x5b0c65[_0x232137(0x1a7)][_0x232137(0x177)](_0x605fa8))_0x5939d9[_0x232137(0x1dd)](_0x605fa8,{'range':_0x3e5352});else{if(_0x3e5352[_0x232137(0x1bc)][_0x232137(0x1c7)]){const _0x5b8e53=_0x3e5352[_0x232137(0x1bc)][_0x232137(0x188)](({item:_0x567bda})=>!_0x5b0c65[_0x232137(0x16f)][_0x232137(0x1cf)](_0x567bda),{'boundaries':_0x3e5352});_0x5939d9[_0x232137(0x1d2)](_0x605fa8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5939d9[_0x232137(0x170)](_0x5b8e53,_0x3e5352[_0x232137(0x1bf)])});}else _0x5939d9[_0x232137(0x1d2)](_0x605fa8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3e5352});}_0x331691++;}});}[_0x1b578e(0x1c4)](){const _0xadb2f0=_0x1b578e,_0x49a419=this[_0xadb2f0(0x18a)][_0xadb2f0(0x197)],_0xa4ce94=Array[_0xadb2f0(0x1db)](this[_0xadb2f0(0x18a)][_0xadb2f0(0x197)][_0xadb2f0(0x1a7)][_0xadb2f0(0x19f)](f));_0xa4ce94[_0xadb2f0(0x181)]&&_0x49a419[_0xadb2f0(0x195)](_0x2ac960=>{const _0x27ca36=_0xadb2f0;_0xa4ce94[_0x27ca36(0x1d9)](_0xacf485=>{const _0x75219a=_0x27ca36;_0x2ac960[_0x75219a(0x17b)](_0xacf485);});});}[_0x1b578e(0x1b2)](_0x3d2381,_0x5c5efd){const _0x3a2710=_0x1b578e,_0x1b3a90=this[_0x3a2710(0x1ca)](),_0x425f84=_0x5c5efd||_0x1b3a90[_0x3a2710(0x173)]();this[_0x3a2710(0x18a)][_0x3a2710(0x197)][_0x3a2710(0x184)](_0x425f84)&&this[_0x3a2710(0x18a)][_0x3a2710(0x197)][_0x3a2710(0x195)](_0x4199c2=>{const _0x13d8d6=_0x3a2710;this[_0x13d8d6(0x1c4)](),_0x5c5efd||this[_0x13d8d6(0x19a)](_0x4199c2,_0x1b3a90),this[_0x13d8d6(0x19e)]({'insertAt':_0x425f84,'writer':_0x4199c2,'html':_0x3d2381});});}[_0x1b578e(0x1b8)](_0x4453e4){const _0x51ce78=_0x1b578e,{model:_0x261304}=this[_0x51ce78(0x18a)],_0x5b9603=this[_0x51ce78(0x1ca)]();_0x261304[_0x51ce78(0x195)](()=>{const _0x26f26e=_0x51ce78,_0x12417b=this[_0x26f26e(0x18f)](_0x4453e4,_0x5b9603)||this[_0x26f26e(0x1ae)](_0x5b9603);this[_0x26f26e(0x1b2)](_0x4453e4,_0x12417b);});}[_0x1b578e(0x1ca)](){const _0x21049b=_0x1b578e,_0x1367e7=this[_0x21049b(0x18a)][_0x21049b(0x197)],_0x39feda=Array[_0x21049b(0x1db)](_0x1367e7[_0x21049b(0x1a7)][_0x21049b(0x19f)](f))[_0x21049b(0x17c)](_0x1d86fc=>_0x1d86fc[_0x21049b(0x1a4)]());return _0x1367e7[_0x21049b(0x1b6)](_0x39feda);}[_0x1b578e(0x19e)]({writer:_0x126a21,html:_0x5f2a60,insertAt:_0x2c4f50}){const _0xc797f3=_0x1b578e,{view:_0x3e986c}=this[_0xc797f3(0x18a)][_0xc797f3(0x1d7)],_0x2e8eaa=this[_0xc797f3(0x18a)][_0xc797f3(0x1b4)][_0xc797f3(0x1af)](_0x199d52),_0x24ba1a=new w();_0x24ba1a[_0xc797f3(0x1ba)](_0xc797f3(0x1ad),_0x5f2a60);const _0x4a98c1=new ClipboardEvent(_0xc797f3(0x194),{'clipboardData':_0x24ba1a}),_0x16a1e9=new _0x99103a(_0x3e986c,_0x4a98c1,{'dataTransfer':new _0x2f6d80(_0x24ba1a)});_0x126a21[_0xc797f3(0x1c1)](_0x2c4f50);const _0x58792c=(_0x4e10c7,_0x46465a)=>{const _0xb0095f=_0xc797f3;_0x46465a[_0xb0095f(0x1ac)]&&_0x126a21[_0xb0095f(0x1c1)](_0x46465a[_0xb0095f(0x1ac)]);};_0x2e8eaa[_0xc797f3(0x18d)](_0xc797f3(0x189),_0x58792c,{'priority':_0xc797f3(0x1a3)}),_0x3e986c[_0xc797f3(0x18e)][_0xc797f3(0x193)](_0xc797f3(0x194),_0x16a1e9),_0x2e8eaa[_0xc797f3(0x1d1)](_0xc797f3(0x189),_0x58792c);}[_0x1b578e(0x1ae)](_0x5abda9){const _0x2ab096=_0x1b578e,{model:_0x41eb85}=this[_0x2ab096(0x18a)],_0x1d52a8=Array[_0x2ab096(0x1db)](_0x5abda9[_0x2ab096(0x1a5)]());return _0x1d52a8[_0x2ab096(0x181)]?_0x41eb85[_0x2ab096(0x185)](_0x1d52a8[_0x2ab096(0x1a6)]()):_0x5abda9[_0x2ab096(0x1a8)]();}[_0x1b578e(0x18f)](_0x4dbc35,_0x5f2c87){const _0x4a9feb=_0x1b578e,{model:_0x17a541,plugins:_0x4f622a}=this[_0x4a9feb(0x18a)];if(_0x4f622a[_0x4a9feb(0x177)](_0x4a9feb(0x1da))){const _0x1e10a7=_0x4f622a[_0x4a9feb(0x1af)](_0x4a9feb(0x1da))[_0x4a9feb(0x1d3)](_0x5f2c87);if(_0x1e10a7[_0x4a9feb(0x181)]){const _0x267263=this[_0x4a9feb(0x1b9)](_0x4dbc35),_0x5b46cd=this[_0x4a9feb(0x180)](_0x1e10a7,_0x267263);return _0x17a541[_0x4a9feb(0x1a1)](_0x5b46cd,0x0);}}return null;}[_0x1b578e(0x1b9)](_0x44ddbc){const _0xc9623e=_0x1b578e,_0x35785b=this[_0xc9623e(0x18a)][_0xc9623e(0x1b4)][_0xc9623e(0x1af)](_0xc9623e(0x1da)),_0x356193=this[_0xc9623e(0x18a)][_0xc9623e(0x1c0)][_0xc9623e(0x17a)](_0x44ddbc),_0x3ca5b5=Array[_0xc9623e(0x1db)](_0x356193[_0xc9623e(0x1b5)]())[_0xc9623e(0x174)](_0x11eef2=>_0x11eef2['is'](_0xc9623e(0x1c5),_0xc9623e(0x1b3)));let _0x599728=0x0;return _0x3ca5b5[_0xc9623e(0x1d9)](_0x36ab7d=>{const _0x4f0c37=_0xc9623e;_0x599728+=_0x35785b[_0x4f0c37(0x19c)](_0x36ab7d);}),_0x599728;}[_0x1b578e(0x180)](_0x35daa4,_0x6b4fd8){const _0x56bc51=_0x1b578e,_0x2fed9b=this[_0x56bc51(0x18a)][_0x56bc51(0x1b4)][_0x56bc51(0x1af)](_0x56bc51(0x1da)),_0x1d02c2=_0x2fed9b[_0x56bc51(0x1c9)](_0x35daa4),_0x26f9c0=_0x2fed9b[_0x56bc51(0x1d0)](_0x35daa4),_0x11eac9=_0x1d02c2[_0x56bc51(0x1c6)]+0x1,_0x4c7528=_0x26f9c0[_0x56bc51(0x1b0)],_0x2dabb2=_0x35daa4[0x0][_0x56bc51(0x1b1)](_0x56bc51(0x1b3));for(let _0x2fb6d0=0x0;_0x2fb6d0<_0x6b4fd8;_0x2fb6d0++)_0x2fed9b[_0x56bc51(0x1d8)](_0x2dabb2,{'at':_0x11eac9});return _0x2dabb2[_0x56bc51(0x1d5)](_0x11eac9)[_0x56bc51(0x1d5)](_0x4c7528);}[_0x1b578e(0x19a)](_0x466120,_0x437de3){const _0x2de685=_0x1b578e,{plugins:_0x29ddc0}=this[_0x2de685(0x18a)],{model:_0x13f310}=_0x466120;if(!_0x29ddc0[_0x2de685(0x177)](_0x2de685(0x1da)))return;_0x29ddc0[_0x2de685(0x1af)](_0x2de685(0x1da))[_0x2de685(0x1d3)](_0x437de3)[_0x2de685(0x181)]&&_0x13f310[_0x2de685(0x1cc)](_0x437de3);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1bd8c4=_0x3c33;(function(_0x5b3973,_0x280009){const _0x5d2df3=_0x3c33,_0x4c3461=_0x5b3973();while(!![]){try{const _0x17c125=-parseInt(_0x5d2df3(0x8c))/0x1*(-parseInt(_0x5d2df3(0x9c))/0x2)+-parseInt(_0x5d2df3(0x11e))/0x3+-parseInt(_0x5d2df3(0xa8))/0x4*(parseInt(_0x5d2df3(0xdf))/0x5)+parseInt(_0x5d2df3(0xe9))/0x6+-parseInt(_0x5d2df3(0xd7))/0x7*(-parseInt(_0x5d2df3(0x8d))/0x8)+-parseInt(_0x5d2df3(0x10c))/0x9+-parseInt(_0x5d2df3(0x87))/0xa*(parseInt(_0x5d2df3(0xbb))/0xb);if(_0x17c125===_0x280009)break;else _0x4c3461['push'](_0x4c3461['shift']());}catch(_0x4e04e6){_0x4c3461['push'](_0x4c3461['shift']());}}}(_0x3b49,0xe48d6));import{Plugin as _0x2195a9}from'ckeditor5/src/core.js';import{first as _0x29cd6f,CKEditorError as _0xb211e}from'ckeditor5/src/utils.js';import{createDropdown as _0x4fb7af,addMenuToDropdown as _0x225fb1,ButtonView as _0x163ea5,MenuBarMenuListItemButtonView as _0x12610d,Dialog as _0x8b8295,DialogViewPosition as _0x440e6c,MenuBarMenuView as _0x4984cf,MenuBarMenuListView as _0x5ee5f7,MenuBarMenuListItemView as _0x32760d}from'ckeditor5/src/ui.js';import{icons as _0x4d7bd2}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x5555c7,UNGROUPED_COMMANDS_GROUP_ID as _0x3486e1}from'./utils/normalizecommandsconfig.js';import _0x24ab40 from'./aiassistantediting.js';import _0x174215 from'./adapters/aiadapter.js';import{getTranslation as _0x2d7301}from'./utils/common-translations.js';import _0x126695 from'./ui/showaiassistantcommand.js';import _0x2e92bf from'./ui/aiassistantcontroller.js';import _0x703e31 from'./ui/form/aiformview.js';function _0x3b49(){const _0x3c8c25=['groupLabel','_aiAssistantController','execute','9252iHMESV','polite','componentFactory','aiAssistant','aiLicenseKeyInvalid','update','editor','wasMoved','map','ck-ai-commands-dropdown\x20','from','ai.useTheme','text','menuBar:aiCommands','aiLicenseKeyDomainLimit','promptView','_populateMenuBarMenu','replace','aiLicenseKeyNotAllowed','8076706PKzthi','setSelection','_dialog','insertContentBelow','AI\x20Assistant','fieldView','hide','groupId','prompt','buttons','plugins','AIAssistantUI','change:enabledCommandsIds','reset','getData','isOfficialPlugin','aiLicenseKeyEvaluationLimit','locale','editing','copy','enabledCommandsIds','custom','selection','push','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:isError','evaluationLimit','_getResolvedCommandsDefinitions','13089965bttchI','comment','panelView','show','getLimitElement','_uiCssClasses','DataTransfer','view','615rLANHc','model','REPLACE','_onExecute','AI\x20Commands','config','items','set','EDITOR_TOP_SIDE','ai.aiAssistant.disabledElements','14364hTZDyr','licenseKey','listenTo','hideUI','ai.aiAssistant.contentAreaCssClass','document','delegate','destroy','expired','render','showFakeVisualSelection','order','once','requires','ai-commands-config-order-collision','getSelectedBlocks','rawHtml','body','insertContent','getRanges','_getMenuBarGroupButtons','isEnabled','domainLimit','change','robotPencil','trim','add','AI\x20is\x20writing','menuBar:aiAssistant','ai.aiAssistant.commands','_initAriaAiStatusChangeAnnouncements','hideFakeVisualSelection','aiLicenseKeyTrialLimit','menuView','get','2754297qDXkgb','aiLicenseKeyValid','change:isProcessing','media','splice','isCollapsed','requiresContent','tableOfContents','errorView','ck-ai-assistant-button\x20','_licenseKeyCheckInterval','filter','</p>','label','aiLicenseKeyExpired','_aiAdapter','source','bind','3223890SKGygi','includes','\x20ck-ai-assistant-ui_theme','aiCommands','menuPanelClass','_forceMarkersCopy','showUI','length','_showLicenseError','trialLimit','invalid','_formView','currentContext','init','_initView','children','updateView','schema','Generated\x20content:\x20%0','menuitemcheckbox','_createAIAssistantUIButton','commands','command:','replaceContent','isOn','define','_commandDefinitions','10uPgQKY','buttonView','values','textAdapter','sort','1463169OAJwtO','8FIIJJG','isPremiumPlugin','queryView','ck-ai-assistant-ui','AIAssistant','announce','focus','<p>','text/html','updatePosition','addMany','aiLicenseKeyUsageLimit','forEach','showAIAssistant','featureNotAllowed','2lMiBBL','usageLimit','change:value','contentArea','getSelectedElement','INSERT','isFlat','pluginName','fire'];_0x3b49=function(){return _0x3c8c25;};return _0x3b49();}import{AIFormToolbarViewMainActionLabel as _0x216d0b}from'./ui/form/aiformtoolbarview.js';import _0x87524d from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x1bd8c4(0xdd)];import{ClipboardMarkersUtils as _0x4ffa91}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x29230c,DataTransfer as _0x35070d}from'ckeditor5/src/engine.js';export default class n extends _0x2195a9{static get[_0x1bd8c4(0xa3)](){const _0x58d51c=_0x1bd8c4;return _0x58d51c(0xc6);}static get[_0x1bd8c4(0xca)](){return!0x0;}static get[_0x1bd8c4(0x8e)](){return!0x0;}static get[_0x1bd8c4(0xf6)](){return[_0x4ffa91,_0x24ab40,_0x174215,_0x8b8295];}constructor(_0xed41e){const _0x431624=_0x1bd8c4;super(_0xed41e),this[_0x431624(0xdc)]='',_0xed41e[_0x431624(0xe4)][_0x431624(0x137)](_0x431624(0xe8),[_0x431624(0x10f),_0x431624(0xf9),_0x431624(0x113)]),_0xed41e[_0x431624(0xe4)][_0x431624(0x137)](_0x431624(0xed),''),_0xed41e[_0x431624(0xe4)][_0x431624(0x137)](_0x431624(0xb3),!0x0),this[_0x431624(0xdc)]=_0x431624(0x90)+(_0xed41e[_0x431624(0xe4)][_0x431624(0x10b)](_0x431624(0xb3))?_0x431624(0x120):'');}[_0x1bd8c4(0x12b)](){const _0x3c7f22=_0x1bd8c4,{editor:_0xc9e99f}=this;this[_0x3c7f22(0x11b)]=_0xc9e99f[_0x3c7f22(0xc5)][_0x3c7f22(0x10b)](_0x174215),this[_0x3c7f22(0xbd)]=_0xc9e99f[_0x3c7f22(0xc5)][_0x3c7f22(0x10b)](_0x8b8295),this[_0x3c7f22(0x129)]=null,this[_0x3c7f22(0x86)]=this[_0x3c7f22(0xd6)]();const _0x5c6f65=new _0x126695(_0xc9e99f,Array[_0x3c7f22(0xb2)](this[_0x3c7f22(0x86)][_0x3c7f22(0x89)]()));_0xc9e99f[_0x3c7f22(0x133)][_0x3c7f22(0x103)](_0x3c7f22(0x9a),_0x5c6f65),_0xc9e99f['ui'][_0x3c7f22(0xaa)][_0x3c7f22(0x103)](_0x3c7f22(0x121),_0x2dc2ab=>{const _0x8b911f=_0x3c7f22,_0x30a881=_0x4fb7af(_0x2dc2ab);return _0x30a881[_0x8b911f(0xe6)]({'class':_0x8b911f(0xb1)+this[_0x8b911f(0xdc)]}),_0x30a881[_0x8b911f(0x88)][_0x8b911f(0xe6)]({'label':_0x2d7301(_0x2dc2ab,_0x8b911f(0xe3)),'icon':_0x87524d,'tooltip':!0x0}),_0x30a881['on'](_0x8b911f(0xa7),_0x944e1d=>this[_0x8b911f(0xe2)](_0x944e1d[_0x8b911f(0x11c)]['id'])),_0x225fb1(_0x30a881,_0xc9e99f['ui'][_0x8b911f(0xde)][_0x8b911f(0xfa)],function(_0xdb3715){const _0x30a7ae=_0x8b911f,_0x3a7240=_0x5555c7(_0xdb3715[_0x30a7ae(0xe4)][_0x30a7ae(0x10b)](_0x30a7ae(0x106)),_0xdb3715[_0x30a7ae(0xcc)]),_0xa1ca9=U(_0xdb3715,_0x3a7240)[_0x30a7ae(0x117)](_0xc65f84=>_0xc65f84[_0x30a7ae(0x133)][_0x30a7ae(0x125)]);if(0x1===_0xa1ca9[_0x30a7ae(0x125)])return U(_0xdb3715,_0xa1ca9[0x0][_0x30a7ae(0x133)])[_0x30a7ae(0xb0)](_0x2bb78f=>({'id':_0x2bb78f['id'],'label':_0x2bb78f[_0x30a7ae(0x119)]}));return _0xa1ca9[_0x30a7ae(0xb0)](_0x20c45f=>{const _0x5262c4=_0x30a7ae,{groupId:_0x4fd798,groupLabel:_0x28f8db,commands:_0x1a4dbf}=_0x20c45f,_0x50bd9c=U(_0xdb3715,_0x1a4dbf)[_0x5262c4(0xb0)](_0x19ada7=>({'id':_0x19ada7['id'],'label':_0x19ada7[_0x5262c4(0x119)]}));return{'id':_0x4fd798,'menu':_0x28f8db||_0x4fd798,'children':_0x50bd9c};});}(_0xc9e99f),{'ariaLabel':_0x2d7301(_0x2dc2ab,_0x8b911f(0xe3))}),_0x30a881[_0x8b911f(0x10a)][_0x8b911f(0x122)]=_0x8b911f(0xb1)+this[_0x8b911f(0xdc)],_0x5c6f65['on'](_0x8b911f(0xc7),_0x888576),_0x30a881[_0x8b911f(0x10a)][_0x8b911f(0xf5)](_0x8b911f(0xf2),_0x888576),_0x30a881;function _0x888576(){const _0x33ee34=_0x8b911f;_0x30a881[_0x33ee34(0xfe)]=_0x5c6f65[_0x33ee34(0xcf)][_0x33ee34(0x125)]>0x0;for(const _0x267922 of _0x30a881[_0x33ee34(0x10a)][_0x33ee34(0xc4)])_0x267922[_0x33ee34(0xfe)]=_0x5c6f65[_0x33ee34(0xcf)][_0x33ee34(0x11f)](_0x267922['id']);}}),_0xc9e99f['ui'][_0x3c7f22(0xaa)][_0x3c7f22(0x103)](_0x3c7f22(0xb5),_0x4f2a79=>{const _0x2598a4=_0x3c7f22,_0x39d47a=new _0x4984cf(_0x4f2a79);_0x39d47a[_0x2598a4(0x88)][_0x2598a4(0xe6)]({'label':_0x2d7301(_0x4f2a79,_0x2598a4(0xe3)),'icon':_0x87524d}),_0x39d47a[_0x2598a4(0x11d)](_0x2598a4(0xfe))['to'](_0x5c6f65,_0x2598a4(0xcf),_0x19561d=>_0x19561d[_0x2598a4(0x125)]>0x0);const _0x4b231f=_0x5555c7(_0xc9e99f[_0x2598a4(0xe4)][_0x2598a4(0x10b)](_0x2598a4(0x106)),_0x4f2a79);return this[_0x2598a4(0xb8)](_0x5c6f65,_0x39d47a,_0x4b231f,_0x1dc8e1=>this[_0x2598a4(0xe2)](_0x1dc8e1)),_0x39d47a;}),_0xc9e99f['ui'][_0x3c7f22(0xaa)][_0x3c7f22(0x103)](_0x3c7f22(0xab),()=>{const _0x1612aa=_0x3c7f22,_0x49d8f9=this[_0x1612aa(0x132)](_0x163ea5);return _0x49d8f9[_0x1612aa(0xe6)]({'tooltip':!0x0,'class':_0x1612aa(0x115)+this[_0x1612aa(0xdc)]}),_0x49d8f9;}),_0xc9e99f['ui'][_0x3c7f22(0xaa)][_0x3c7f22(0x103)](_0x3c7f22(0x105),()=>{const _0x2305b0=_0x3c7f22,_0x33e9a1=this[_0x2305b0(0x132)](_0x12610d);return _0x33e9a1[_0x2305b0(0xe6)]({'role':_0x2305b0(0x131)}),_0x33e9a1;}),this[_0x3c7f22(0xea)]=this[_0x3c7f22(0xae)][_0x3c7f22(0xe4)][_0x3c7f22(0x10b)](_0x3c7f22(0xea));const _0xfd8039=this[_0x3c7f22(0xae)];this[_0x3c7f22(0x116)]=setInterval(()=>{const _0x18a440=_0x3c7f22;let _0x5373e0;for(const _0x26577a in _0xfd8039){const _0x559a66=_0x26577a,_0x1a5697=_0xfd8039[_0x559a66];if(_0x18a440(0x10d)==_0x1a5697||_0x18a440(0xac)==_0x1a5697||_0x18a440(0x11a)==_0x1a5697||_0x18a440(0xb6)==_0x1a5697||_0x18a440(0xba)==_0x1a5697||_0x18a440(0xcb)==_0x1a5697||_0x18a440(0x109)==_0x1a5697||_0x18a440(0x98)==_0x1a5697){delete _0xfd8039[_0x559a66],_0x5373e0=_0x1a5697,clearInterval(this[_0x18a440(0x116)]),this[_0x18a440(0x116)]=void 0x0;break;}}_0x18a440(0xac)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0x128)),_0x18a440(0x11a)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0xf1)),_0x18a440(0xb6)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0xff)),_0x18a440(0xba)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0x9b),_0x18a440(0x91)),_0x18a440(0xcb)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0xd5)),_0x18a440(0x109)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0x127)),_0x18a440(0x98)==_0x5373e0&&_0xfd8039[_0x18a440(0x126)](_0x18a440(0x9d));},0x3e8);}[_0x1bd8c4(0xf0)](){const _0x35f920=_0x1bd8c4;super[_0x35f920(0xf0)](),this[_0x35f920(0x116)]&&clearInterval(this[_0x35f920(0x116)]);}[_0x1bd8c4(0x124)](_0x4bc067='',_0x52d321='',_0x3a0495=_0x1bd8c4(0xd0)){const _0x3856e4=_0x1bd8c4,_0x41a50f=this[_0x3856e4(0xae)],_0x4c5511=_0x41a50f[_0x3856e4(0xcd)][_0x3856e4(0xde)],_0x17e750=_0x41a50f[_0x3856e4(0xc5)][_0x3856e4(0x10b)](_0x24ab40),_0x31b10c=_0x41a50f[_0x3856e4(0xc5)][_0x3856e4(0x10b)](_0x4ffa91);_0x17e750[_0x3856e4(0xf3)]();const _0x3bba25=new w(),_0xe0ca01=new ClipboardEvent(_0x3856e4(0xce),{'clipboardData':_0x3bba25}),_0x374a5e=new _0x35070d(_0x3bba25),_0x32936f=new _0x29230c(_0x4c5511,_0xe0ca01,{'dataTransfer':_0x374a5e});_0x31b10c[_0x3856e4(0x123)](_0x3856e4(0xd8),()=>{const _0x545ecd=_0x3856e4;_0x4c5511[_0x545ecd(0xee)][_0x545ecd(0xa4)](_0x545ecd(0xce),_0x32936f);}),this[_0x3856e4(0x129)]||(this[_0x3856e4(0x12c)](),this[_0x3856e4(0xa6)]=new _0x2e92bf(_0x41a50f,this[_0x3856e4(0x11b)][_0x3856e4(0x8a)],this[_0x3856e4(0x129)]));let _0x23579c=_0x374a5e[_0x3856e4(0xc9)](_0x3856e4(0x95));const _0x4ecba9=_0x41a50f[_0x3856e4(0xe0)][_0x3856e4(0xee)][_0x3856e4(0xd1)],_0x591e2c=Array[_0x3856e4(0xb2)](_0x4ecba9[_0x3856e4(0xfc)]());0x1===_0x591e2c[_0x3856e4(0x125)]&&_0x591e2c[0x0][_0x3856e4(0xa2)]&&!_0x4ecba9[_0x3856e4(0xa0)]()&&''!==_0x23579c[_0x3856e4(0xb9)](/ /g,'')[_0x3856e4(0x102)]()&&(_0x23579c=_0x3856e4(0x94)+_0x23579c+_0x3856e4(0x118)),this[_0x3856e4(0xa6)][_0x3856e4(0x12e)]({'actionId':_0x3a0495,'query':_0x4bc067,'htmlContent':_0x23579c,'label':_0x52d321,'mainActionLabel':_0x216d0b[_0x41a50f[_0x3856e4(0xe0)][_0x3856e4(0xee)][_0x3856e4(0xd1)][_0x3856e4(0x111)]?_0x3856e4(0xa1):_0x3856e4(0xe1)]}),_0x3856e4(0xab)!==this[_0x3856e4(0xbd)]['id']?this[_0x3856e4(0xbd)][_0x3856e4(0xda)]({'id':_0x3856e4(0xab),'icon':_0x4d7bd2[_0x3856e4(0x101)],'title':_0x2d7301(this[_0x3856e4(0xae)][_0x3856e4(0xcc)],_0x3856e4(0xbf)),'content':this[_0x3856e4(0x129)],'position':_0x440e6c[_0x3856e4(0xe7)],'onShow':()=>{const _0x3bbf77=_0x3856e4;this[_0x3bbf77(0x129)][_0x3bbf77(0x93)]();},'onHide':()=>{const _0x42ab71=_0x3856e4;this[_0x42ab71(0xa6)][_0x42ab71(0xc8)](),_0x17e750[_0x42ab71(0x108)]();}}):this[_0x3856e4(0xbd)][_0x3856e4(0xde)][_0x3856e4(0xaf)]||this[_0x3856e4(0xbd)][_0x3856e4(0xde)][_0x3856e4(0x96)]();}[_0x1bd8c4(0xec)](){const _0x31c2e3=_0x1bd8c4;this[_0x31c2e3(0xbd)][_0x31c2e3(0xc1)]();}[_0x1bd8c4(0xd6)](){const _0x4b559d=_0x1bd8c4,_0x5b6fa0=new Map(),_0x592f06=_0x5555c7(this[_0x4b559d(0xae)][_0x4b559d(0xe4)][_0x4b559d(0x10b)](_0x4b559d(0x106)),this[_0x4b559d(0xae)][_0x4b559d(0xcc)]);for(const _0x89f8ba of _0x592f06)for(const _0x2df792 of _0x89f8ba[_0x4b559d(0x133)])_0x5b6fa0[_0x4b559d(0xe6)](_0x2df792['id'],{..._0x2df792,'groupId':_0x89f8ba[_0x4b559d(0xc2)],'groupLabel':_0x89f8ba[_0x4b559d(0xa5)]||_0x89f8ba[_0x4b559d(0xc2)]});return _0x5b6fa0;}[_0x1bd8c4(0x132)](_0x5d1011){const _0x10935b=_0x1bd8c4,_0x3375f5=this[_0x10935b(0xae)],_0x185c09=_0x3375f5[_0x10935b(0x133)][_0x10935b(0x10b)](_0x10935b(0x9a)),_0x52005c=new _0x5d1011(_0x3375f5[_0x10935b(0xcc)]);return _0x52005c[_0x10935b(0xe6)]({'label':_0x2d7301(_0x3375f5[_0x10935b(0xcc)],_0x10935b(0xbf)),'icon':_0x4d7bd2[_0x10935b(0x101)],'isToggleable':!0x0}),_0x52005c[_0x10935b(0x11d)](_0x10935b(0xfe))['to'](_0x185c09),_0x52005c[_0x10935b(0x11d)](_0x10935b(0x136))['to'](this[_0x10935b(0xbd)],'id',_0x44ea5b=>_0x10935b(0xab)===_0x44ea5b),this[_0x10935b(0xeb)](_0x52005c,_0x10935b(0xa7),()=>{const _0x2f48c1=_0x10935b;_0x52005c[_0x2f48c1(0x136)]?this[_0x2f48c1(0xec)]():_0x185c09[_0x2f48c1(0xa7)]();}),_0x52005c;}[_0x1bd8c4(0x12c)](){const _0x4c0fd4=_0x1bd8c4,_0xe77f5e=this[_0x4c0fd4(0xae)][_0x4c0fd4(0xc5)][_0x4c0fd4(0x10b)](_0x24ab40);this[_0x4c0fd4(0x129)]=new _0x703e31(this[_0x4c0fd4(0xae)][_0x4c0fd4(0xcc)],this[_0x4c0fd4(0xdc)],this[_0x4c0fd4(0xae)][_0x4c0fd4(0xe4)][_0x4c0fd4(0x10b)](_0x4c0fd4(0xed))),this[_0x4c0fd4(0x129)]['on'](_0x4c0fd4(0x9e),()=>{const _0x211c6f=_0x4c0fd4;this[_0x211c6f(0xbd)][_0x211c6f(0xde)][_0x211c6f(0xaf)]||this[_0x211c6f(0xbd)][_0x211c6f(0xde)][_0x211c6f(0x96)]();}),this[_0x4c0fd4(0x129)][_0x4c0fd4(0xb7)][_0x4c0fd4(0x8f)][_0x4c0fd4(0xc0)]['on'](_0x4c0fd4(0xad),()=>{const _0x5e39dd=_0x4c0fd4;this[_0x5e39dd(0xbd)][_0x5e39dd(0xde)][_0x5e39dd(0xaf)]||this[_0x5e39dd(0xbd)][_0x5e39dd(0xde)][_0x5e39dd(0x96)]();}),this[_0x4c0fd4(0xeb)](this[_0x4c0fd4(0x129)],_0x4c0fd4(0x135),()=>{const _0x14c5f7=_0x4c0fd4;_0xe77f5e[_0x14c5f7(0xfb)](this[_0x14c5f7(0xa6)][_0x14c5f7(0x12a)]),this[_0x14c5f7(0xec)]();}),this[_0x4c0fd4(0xeb)](this[_0x4c0fd4(0x129)],_0x4c0fd4(0xbe),()=>{const _0x2f381f=_0x4c0fd4;_0xe77f5e[_0x2f381f(0xbe)](this[_0x2f381f(0xa6)][_0x2f381f(0x12a)]),this[_0x2f381f(0xec)]();}),this[_0x4c0fd4(0x107)]();}[_0x1bd8c4(0x107)](){const _0x1d3f81=_0x1bd8c4,{locale:_0xd7af1d,ui:{ariaLiveAnnouncer:_0x378af5}}=this[_0x1d3f81(0xae)];this[_0x1d3f81(0x129)][_0x1d3f81(0x9f)]['on'](_0x1d3f81(0x10e),(_0x2ab47f,_0x1d5d9a,_0x510abf)=>{const _0x5ac0b3=_0x1d3f81,_0x2a15ae=this[_0x5ac0b3(0xa6)][_0x5ac0b3(0x12a)];_0x510abf?_0x378af5[_0x5ac0b3(0x92)](_0x2d7301(_0xd7af1d,_0x5ac0b3(0x104))):_0x2a15ae&&_0x378af5[_0x5ac0b3(0x92)](_0x2d7301(_0xd7af1d,_0x5ac0b3(0x130),_0x2a15ae),{'politeness':_0x5ac0b3(0xa9),'isUnsafeHTML':!0x0});}),this[_0x1d3f81(0x129)]['on'](_0x1d3f81(0xd4),(_0x39b2c8,_0x5430de,_0x1fc60b)=>{const _0x342dd3=_0x1d3f81;if(_0x1fc60b){const _0x1f6b3c=this[_0x342dd3(0x129)][_0x342dd3(0x114)][_0x342dd3(0xb4)];_0x378af5[_0x342dd3(0x92)](_0x2d7301(_0xd7af1d,_0x342dd3(0xd3),_0x1f6b3c));}});}[_0x1bd8c4(0xe2)](_0x20e475){const _0x2b1a23=_0x1bd8c4,_0x453444=this[_0x2b1a23(0x86)][_0x2b1a23(0x10b)](_0x20e475),_0xe9ba6f=this[_0x2b1a23(0xae)],_0x203fa5=_0xe9ba6f[_0x2b1a23(0xe0)][_0x2b1a23(0xee)][_0x2b1a23(0xd1)],_0x2521e1=_0xe9ba6f[_0x2b1a23(0x133)][_0x2b1a23(0x10b)](_0x2b1a23(0x9a)),_0x26342a=_0xe9ba6f[_0x2b1a23(0xc5)][_0x2b1a23(0x10b)](_0x24ab40),_0xb594a6=''+(_0x453444[_0x2b1a23(0xc2)]!==_0x3486e1?_0x453444[_0x2b1a23(0xa5)]+':\x20':'')+_0x453444[_0x2b1a23(0x119)];if(!0x1!==_0x453444[_0x2b1a23(0x112)]&&_0x203fa5[_0x2b1a23(0x111)]){const _0x42e5fa=_0x29cd6f(_0x203fa5[_0x2b1a23(0xf8)]())||_0xe9ba6f[_0x2b1a23(0xe0)][_0x2b1a23(0x12f)][_0x2b1a23(0xdb)](_0x203fa5);_0xe9ba6f[_0x2b1a23(0xe0)][_0x2b1a23(0x100)](_0x23b376=>{const _0x41a632=_0x2b1a23;_0x23b376[_0x41a632(0xbc)](_0x42e5fa,'in');});}_0x26342a[_0x2b1a23(0xf3)](),_0x2521e1[_0x2b1a23(0xa7)](_0x453444[_0x2b1a23(0xc3)],_0xb594a6,_0x2b1a23(0x134)+_0x20e475);}[_0x1bd8c4(0xb8)](_0x7e0d0d,_0x28d850,_0x2b9a3d,_0x4af36c){const _0x5b911b=_0x1bd8c4,_0x51be00=this[_0x5b911b(0xae)],_0x41e0f4=_0x51be00[_0x5b911b(0xcc)],_0x9103c=new _0x5ee5f7(_0x41e0f4),_0x5b1332=U(_0x51be00,_0x2b9a3d)[_0x5b911b(0x117)](_0x1c0ba1=>_0x1c0ba1[_0x5b911b(0x133)][_0x5b911b(0x125)]);0x1===_0x5b1332[_0x5b911b(0x125)]?this[_0x5b911b(0xfd)]({'command':_0x7e0d0d,'commands':_0x5b1332[0x0][_0x5b911b(0x133)],'parentMenuView':_0x28d850,'onExecute':_0x4af36c})[_0x5b911b(0x99)](_0x1c0bf4=>_0x9103c[_0x5b911b(0xe5)][_0x5b911b(0x103)](_0x1c0bf4)):_0x5b1332[_0x5b911b(0x99)](({groupId:_0x31fad1,groupLabel:_0x3dc2c7,commands:_0x45c336})=>{const _0x2f3cd4=_0x5b911b,_0x31f6cf=new _0x32760d(_0x41e0f4,_0x28d850),_0x4effba=new _0x4984cf(_0x41e0f4),_0x4fa65c=new _0x5ee5f7(_0x41e0f4),_0x1b897e=this[_0x2f3cd4(0xfd)]({'command':_0x7e0d0d,'commands':_0x45c336,'parentMenuView':_0x4effba,'onExecute':_0x4af36c});_0x4effba[_0x2f3cd4(0x88)][_0x2f3cd4(0xe6)]({'label':_0x3dc2c7||_0x31fad1}),_0x4effba[_0x2f3cd4(0xef)](_0x2f3cd4(0xa7))['to'](_0x28d850),_0x4fa65c[_0x2f3cd4(0xe5)][_0x2f3cd4(0x97)](_0x1b897e),_0x4effba[_0x2f3cd4(0xd9)][_0x2f3cd4(0x12d)][_0x2f3cd4(0x103)](_0x4fa65c),_0x31f6cf[_0x2f3cd4(0x12d)][_0x2f3cd4(0x103)](_0x4effba),_0x9103c[_0x2f3cd4(0xe5)][_0x2f3cd4(0x103)](_0x31f6cf);}),_0x28d850[_0x5b911b(0xd9)][_0x5b911b(0x12d)][_0x5b911b(0x103)](_0x9103c);}[_0x1bd8c4(0xfd)]({command:_0x4d4de6,commands:_0x65cd2,parentMenuView:_0x51238a,onExecute:_0x39bbb9}){const _0x13a345=_0x1bd8c4,_0x1ab17c=this[_0x13a345(0xae)],_0x20d1e8=_0x1ab17c[_0x13a345(0xcc)];return U(_0x1ab17c,_0x65cd2)[_0x13a345(0xb0)](_0x37741a=>{const _0x5ce946=_0x13a345,_0x217c0a=new _0x32760d(_0x20d1e8,_0x51238a),_0x4574bc=new _0x12610d(_0x20d1e8);return _0x4574bc[_0x5ce946(0xe6)]({'label':_0x37741a[_0x5ce946(0x119)]}),_0x4574bc[_0x5ce946(0xef)](_0x5ce946(0xa7))['to'](_0x51238a),_0x4574bc['on'](_0x5ce946(0xa7),()=>_0x39bbb9(_0x37741a['id'])),_0x4574bc[_0x5ce946(0x11d)](_0x5ce946(0xfe))['to'](_0x4d4de6,_0x5ce946(0xcf),_0x25272d=>_0x25272d[_0x5ce946(0x11f)](_0x37741a['id'])),_0x217c0a[_0x5ce946(0x12d)][_0x5ce946(0x103)](_0x4574bc),_0x217c0a;});}}function B(_0x1e24c4,_0x5174d1){const _0x18dd24=_0x1bd8c4;return void 0x0!==_0x1e24c4[_0x18dd24(0xf4)]&&void 0x0===_0x5174d1[_0x18dd24(0xf4)]?0x1:void 0x0===_0x1e24c4[_0x18dd24(0xf4)]&&void 0x0!==_0x5174d1[_0x18dd24(0xf4)]?-0x1:void 0x0!==_0x1e24c4[_0x18dd24(0xf4)]&&void 0x0!==_0x5174d1[_0x18dd24(0xf4)]?_0x1e24c4[_0x18dd24(0xf4)]-_0x5174d1[_0x18dd24(0xf4)]:0x0;}function _0x3c33(_0x103d38,_0x5caca3){const _0x3b4903=_0x3b49();return _0x3c33=function(_0x3c33db,_0x2276cd){_0x3c33db=_0x3c33db-0x86;let _0x22ee8f=_0x3b4903[_0x3c33db];return _0x22ee8f;},_0x3c33(_0x103d38,_0x5caca3);}function U(_0x1f1905,_0x585f59){const _0x598f01=_0x1bd8c4;_0x585f59[_0x598f01(0x8b)](B);const _0x3f9077={},_0x544b6d=[];for(const _0xbdc032 of _0x585f59)if(void 0x0!==_0xbdc032[_0x598f01(0xf4)]){if(_0xbdc032[_0x598f01(0xf4)]in _0x3f9077)throw new _0xb211e(_0x598f01(0xf7),_0x1f1905,{'conflictingDefinitions':[_0xbdc032,_0x3f9077[_0xbdc032[_0x598f01(0xf4)]]]});_0x3f9077[_0xbdc032[_0x598f01(0xf4)]]=_0xbdc032,_0x544b6d[_0x598f01(0x110)](_0xbdc032[_0x598f01(0xf4)],0x0,_0xbdc032);}else _0x544b6d[_0x598f01(0xd2)](_0xbdc032);return _0x544b6d;}
|
|
23
|
+
const _0x5f38c7=_0x29c7;(function(_0x32a46e,_0x565541){const _0xc4f370=_0x29c7,_0x5bd161=_0x32a46e();while(!![]){try{const _0x48970a=-parseInt(_0xc4f370(0xe3))/0x1+parseInt(_0xc4f370(0x103))/0x2+-parseInt(_0xc4f370(0xfb))/0x3+-parseInt(_0xc4f370(0xee))/0x4*(parseInt(_0xc4f370(0x113))/0x5)+parseInt(_0xc4f370(0x175))/0x6+parseInt(_0xc4f370(0x114))/0x7+-parseInt(_0xc4f370(0x11f))/0x8;if(_0x48970a===_0x565541)break;else _0x5bd161['push'](_0x5bd161['shift']());}catch(_0x5a80e2){_0x5bd161['push'](_0x5bd161['shift']());}}}(_0x304b,0x5d642));import{Plugin as _0x102100}from'ckeditor5/src/core.js';import{first as _0x5b2338,CKEditorError as _0x500462}from'ckeditor5/src/utils.js';import{createDropdown as _0x262e22,addMenuToDropdown as _0x2f3569,ButtonView as _0x176632,MenuBarMenuListItemButtonView as _0x56d81b,Dialog as _0x233307,DialogViewPosition as _0x429982,MenuBarMenuView as _0x3e883e,MenuBarMenuListView as _0x1097a6,MenuBarMenuListItemView as _0x32de77}from'ckeditor5/src/ui.js';import{icons as _0x34ddc7}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x6863ba,UNGROUPED_COMMANDS_GROUP_ID as _0x55a796}from'./utils/normalizecommandsconfig.js';import _0x106d2a from'./aiassistantediting.js';import _0x20d82f from'./adapters/aiadapter.js';function _0x29c7(_0x204d17,_0x4ebadc){const _0x304bd8=_0x304b();return _0x29c7=function(_0x29c7f3,_0x3eea19){_0x29c7f3=_0x29c7f3-0xda;let _0x56a86e=_0x304bd8[_0x29c7f3];return _0x56a86e;},_0x29c7(_0x204d17,_0x4ebadc);}import{getTranslation as _0x1a4968}from'./utils/common-translations.js';import _0x2dc4df from'./ui/showaiassistantcommand.js';import _0x3123a3 from'./ui/aiassistantcontroller.js';import _0x375872 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x447871}from'./ui/form/aiformtoolbarview.js';import _0x26e4d8 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5f38c7(0x127)];import{ClipboardMarkersUtils as _0x32e8ed}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x20b605,DataTransfer as _0x28ddfa}from'ckeditor5/src/engine.js';export default class n extends _0x102100{static get[_0x5f38c7(0x150)](){const _0x213cd6=_0x5f38c7;return _0x213cd6(0x188);}static get[_0x5f38c7(0x142)](){return!0x0;}static get[_0x5f38c7(0x109)](){return!0x0;}static get[_0x5f38c7(0x165)](){return[_0x32e8ed,_0x106d2a,_0x20d82f,_0x233307];}constructor(_0x363baa){const _0x7c440=_0x5f38c7;super(_0x363baa),this[_0x7c440(0x136)]='',_0x363baa[_0x7c440(0x180)][_0x7c440(0x12b)](_0x7c440(0x159),[_0x7c440(0xf7),_0x7c440(0x14b),_0x7c440(0x16b)]),_0x363baa[_0x7c440(0x180)][_0x7c440(0x12b)](_0x7c440(0x11d),''),_0x363baa[_0x7c440(0x180)][_0x7c440(0x12b)](_0x7c440(0x11e),!0x0),this[_0x7c440(0x136)]=_0x7c440(0x130)+(_0x363baa[_0x7c440(0x180)][_0x7c440(0x14a)](_0x7c440(0x11e))?_0x7c440(0x131):'');}[_0x5f38c7(0x13c)](){const _0x46a614=_0x5f38c7,{editor:_0x586880}=this;this[_0x46a614(0x14f)]=_0x586880[_0x46a614(0x108)][_0x46a614(0x14a)](_0x20d82f),this[_0x46a614(0xea)]=_0x586880[_0x46a614(0x108)][_0x46a614(0x14a)](_0x233307),this[_0x46a614(0x187)]=null,this[_0x46a614(0x167)]=this[_0x46a614(0x17d)]();const _0x30d0c0=new _0x2dc4df(_0x586880,Array[_0x46a614(0x15c)](this[_0x46a614(0x167)][_0x46a614(0xde)]()));_0x586880[_0x46a614(0xf6)][_0x46a614(0x186)](_0x46a614(0x183),_0x30d0c0),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0xf0),_0x20b45f=>{const _0x1f4ea5=_0x46a614,_0x12aeb1=_0x262e22(_0x20b45f);return _0x12aeb1[_0x1f4ea5(0x10c)]({'class':_0x1f4ea5(0x14d)+this[_0x1f4ea5(0x136)]}),_0x12aeb1[_0x1f4ea5(0x147)][_0x1f4ea5(0x10c)]({'label':_0x1a4968(_0x20b45f,_0x1f4ea5(0xeb)),'icon':_0x26e4d8,'tooltip':!0x0}),_0x12aeb1['on'](_0x1f4ea5(0x15d),_0x171846=>this[_0x1f4ea5(0xfc)](_0x171846[_0x1f4ea5(0x17f)]['id'])),_0x2f3569(_0x12aeb1,_0x586880['ui'][_0x1f4ea5(0x111)][_0x1f4ea5(0xf8)],function(_0x6b6f4f){const _0x163546=_0x1f4ea5,_0x418d54=_0x6863ba(_0x6b6f4f[_0x163546(0x180)][_0x163546(0x14a)](_0x163546(0x151)),_0x6b6f4f[_0x163546(0x12e)]),_0x506774=U(_0x6b6f4f,_0x418d54)[_0x163546(0x168)](_0x14f2cb=>_0x14f2cb[_0x163546(0xf6)][_0x163546(0x16f)]);if(0x1===_0x506774[_0x163546(0x16f)])return U(_0x6b6f4f,_0x506774[0x0][_0x163546(0xf6)])[_0x163546(0x181)](_0x5c30b7=>({'id':_0x5c30b7['id'],'label':_0x5c30b7[_0x163546(0x163)]}));return _0x506774[_0x163546(0x181)](_0x530261=>{const _0x15a761=_0x163546,{groupId:_0xea2dfe,groupLabel:_0xa85a3d,commands:_0x3d7b91}=_0x530261,_0x30a3b9=U(_0x6b6f4f,_0x3d7b91)[_0x15a761(0x181)](_0x57ff8b=>({'id':_0x57ff8b['id'],'label':_0x57ff8b[_0x15a761(0x163)]}));return{'id':_0xea2dfe,'menu':_0xa85a3d||_0xea2dfe,'children':_0x30a3b9};});}(_0x586880),{'ariaLabel':_0x1a4968(_0x20b45f,_0x1f4ea5(0xeb))}),_0x12aeb1[_0x1f4ea5(0x166)][_0x1f4ea5(0xdc)]=_0x1f4ea5(0x14d)+this[_0x1f4ea5(0x136)],_0x30d0c0['on'](_0x1f4ea5(0x144),_0x30d710),_0x12aeb1[_0x1f4ea5(0x166)][_0x1f4ea5(0x110)](_0x1f4ea5(0x176),_0x30d710),_0x12aeb1;function _0x30d710(){const _0x179c1e=_0x1f4ea5;_0x12aeb1[_0x179c1e(0xdd)]=_0x30d0c0[_0x179c1e(0x155)][_0x179c1e(0x16f)]>0x0;for(const _0x56c125 of _0x12aeb1[_0x179c1e(0x166)][_0x179c1e(0xfe)])_0x56c125[_0x179c1e(0xdd)]=_0x30d0c0[_0x179c1e(0x155)][_0x179c1e(0x129)](_0x56c125['id']);}}),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0x15a),_0x3bb856=>{const _0xcb1e1b=_0x46a614,_0x2662d7=new _0x3e883e(_0x3bb856);_0x2662d7[_0xcb1e1b(0x147)][_0xcb1e1b(0x10c)]({'label':_0x1a4968(_0x3bb856,_0xcb1e1b(0xeb)),'icon':_0x26e4d8}),_0x2662d7[_0xcb1e1b(0x17b)](_0xcb1e1b(0xdd))['to'](_0x30d0c0,_0xcb1e1b(0x155),_0x5c5fd2=>_0x5c5fd2[_0xcb1e1b(0x16f)]>0x0);const _0x10fd60=_0x6863ba(_0x586880[_0xcb1e1b(0x180)][_0xcb1e1b(0x14a)](_0xcb1e1b(0x151)),_0x3bb856);return this[_0xcb1e1b(0xfd)](_0x30d0c0,_0x2662d7,_0x10fd60,_0x1cf366=>this[_0xcb1e1b(0xfc)](_0x1cf366)),_0x2662d7;}),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0x137),()=>{const _0x2754b8=_0x46a614,_0x2dc217=this[_0x2754b8(0xe6)](_0x176632);return _0x2dc217[_0x2754b8(0x10c)]({'tooltip':!0x0,'class':_0x2754b8(0x156)+this[_0x2754b8(0x136)]}),_0x2dc217;}),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0x157),()=>{const _0x43b485=_0x46a614,_0x18d494=this[_0x43b485(0xe6)](_0x56d81b);return _0x18d494[_0x43b485(0x10c)]({'role':_0x43b485(0x171)}),_0x18d494;}),this[_0x46a614(0x178)]=this[_0x46a614(0x123)][_0x46a614(0x180)][_0x46a614(0x14a)](_0x46a614(0x178));const _0x25a360=this[_0x46a614(0x123)];this[_0x46a614(0x133)]=setInterval(()=>{const _0x32008b=_0x46a614;let _0x140979;for(const _0x24032e in _0x25a360){const _0x1cdd8e=_0x24032e,_0x2ff09f=_0x25a360[_0x1cdd8e];if(_0x32008b(0x117)==_0x2ff09f||_0x32008b(0xda)==_0x2ff09f||_0x32008b(0x177)==_0x2ff09f||_0x32008b(0x128)==_0x2ff09f||_0x32008b(0x11a)==_0x2ff09f||_0x32008b(0x10d)==_0x2ff09f||_0x32008b(0x121)==_0x2ff09f||_0x32008b(0x10b)==_0x2ff09f){delete _0x25a360[_0x1cdd8e],_0x140979=_0x2ff09f,clearInterval(this[_0x32008b(0x133)]),this[_0x32008b(0x133)]=void 0x0;break;}}_0x32008b(0xda)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x16e)),_0x32008b(0x177)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x125)),_0x32008b(0x128)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0xe1)),_0x32008b(0x11a)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x102),_0x32008b(0x120)),_0x32008b(0x10d)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x14c)),_0x32008b(0x121)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x107)),_0x32008b(0x10b)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x173));},0x3e8);}[_0x5f38c7(0x158)](){const _0x40d3f4=_0x5f38c7;super[_0x40d3f4(0x158)](),this[_0x40d3f4(0x133)]&&clearInterval(this[_0x40d3f4(0x133)]);}[_0x5f38c7(0x170)](_0x5a9502='',_0x4e0cca='',_0x503953=_0x5f38c7(0x179)){const _0x1c118d=_0x5f38c7,_0x4b5f23=this[_0x1c118d(0x123)],_0x1970ea=_0x4b5f23[_0x1c118d(0x182)][_0x1c118d(0x111)],_0x1f5301=_0x4b5f23[_0x1c118d(0x108)][_0x1c118d(0x14a)](_0x106d2a),_0x3291a1=_0x4b5f23[_0x1c118d(0x108)][_0x1c118d(0x14a)](_0x32e8ed);_0x1f5301[_0x1c118d(0x138)]();const _0x19765c=new w(),_0x5a2b51=new ClipboardEvent(_0x1c118d(0x122),{'clipboardData':_0x19765c}),_0x32e60b=new _0x28ddfa(_0x19765c),_0x333362=new _0x20b605(_0x1970ea,_0x5a2b51,{'dataTransfer':_0x32e60b});_0x3291a1[_0x1c118d(0x140)](_0x1c118d(0x149),()=>{const _0x3af8f6=_0x1c118d;_0x1970ea[_0x3af8f6(0x13f)][_0x3af8f6(0x13e)](_0x3af8f6(0x122),_0x333362);}),this[_0x1c118d(0x187)]||(this[_0x1c118d(0x106)](),this[_0x1c118d(0x153)]=new _0x3123a3(_0x4b5f23,this[_0x1c118d(0x14f)][_0x1c118d(0x15b)],this[_0x1c118d(0x187)]));let _0x4517a5=_0x32e60b[_0x1c118d(0x169)](_0x1c118d(0x16c));const _0x3296fe=_0x4b5f23[_0x1c118d(0x112)][_0x1c118d(0x13f)][_0x1c118d(0x135)],_0xc18911=Array[_0x1c118d(0x15c)](_0x3296fe[_0x1c118d(0x162)]());0x1===_0xc18911[_0x1c118d(0x16f)]&&_0xc18911[0x0][_0x1c118d(0x12c)]&&!_0x3296fe[_0x1c118d(0xff)]()&&''!==_0x4517a5[_0x1c118d(0xf4)](/ /g,'')[_0x1c118d(0x14e)]()&&(_0x4517a5=_0x1c118d(0x13b)+_0x4517a5+_0x1c118d(0x12a)),this[_0x1c118d(0x153)][_0x1c118d(0x119)]({'actionId':_0x503953,'query':_0x5a9502,'htmlContent':_0x4517a5,'label':_0x4e0cca,'mainActionLabel':_0x447871[_0x4b5f23[_0x1c118d(0x112)][_0x1c118d(0x13f)][_0x1c118d(0x135)][_0x1c118d(0x174)]?_0x1c118d(0x10a):_0x1c118d(0x132)]}),_0x1c118d(0x137)!==this[_0x1c118d(0xea)]['id']?this[_0x1c118d(0xea)][_0x1c118d(0x143)]({'id':_0x1c118d(0x137),'icon':_0x34ddc7[_0x1c118d(0x11c)],'title':_0x1a4968(this[_0x1c118d(0x123)][_0x1c118d(0x12e)],_0x1c118d(0x115)),'content':this[_0x1c118d(0x187)],'position':_0x429982[_0x1c118d(0x148)],'onShow':()=>{const _0x302670=_0x1c118d;this[_0x302670(0x187)][_0x302670(0x100)]();},'onHide':()=>{const _0xb7b1be=_0x1c118d;this[_0xb7b1be(0x153)][_0xb7b1be(0x15e)](),_0x1f5301[_0xb7b1be(0x160)]();}}):this[_0x1c118d(0xea)][_0x1c118d(0x111)][_0x1c118d(0x152)]||this[_0x1c118d(0xea)][_0x1c118d(0x111)][_0x1c118d(0x184)]();}[_0x5f38c7(0xe8)](){const _0x2bd8bf=_0x5f38c7;this[_0x2bd8bf(0xea)][_0x2bd8bf(0xe4)]();}[_0x5f38c7(0x17d)](){const _0x4f2a31=_0x5f38c7,_0x23c594=new Map(),_0xf3349a=_0x6863ba(this[_0x4f2a31(0x123)][_0x4f2a31(0x180)][_0x4f2a31(0x14a)](_0x4f2a31(0x151)),this[_0x4f2a31(0x123)][_0x4f2a31(0x12e)]);for(const _0x30c25f of _0xf3349a)for(const _0x23260b of _0x30c25f[_0x4f2a31(0xf6)])_0x23c594[_0x4f2a31(0x10c)](_0x23260b['id'],{..._0x23260b,'groupId':_0x30c25f[_0x4f2a31(0x145)],'groupLabel':_0x30c25f[_0x4f2a31(0xf1)]||_0x30c25f[_0x4f2a31(0x145)]});return _0x23c594;}[_0x5f38c7(0xe6)](_0x505485){const _0x3a4d21=_0x5f38c7,_0x27119c=this[_0x3a4d21(0x123)],_0x69e84e=_0x27119c[_0x3a4d21(0xf6)][_0x3a4d21(0x14a)](_0x3a4d21(0x183)),_0x3c0f37=new _0x505485(_0x27119c[_0x3a4d21(0x12e)]);return _0x3c0f37[_0x3a4d21(0x10c)]({'label':_0x1a4968(_0x27119c[_0x3a4d21(0x12e)],_0x3a4d21(0x115)),'icon':_0x34ddc7[_0x3a4d21(0x11c)],'isToggleable':!0x0}),_0x3c0f37[_0x3a4d21(0x17b)](_0x3a4d21(0xdd))['to'](_0x69e84e),_0x3c0f37[_0x3a4d21(0x17b)](_0x3a4d21(0xdb))['to'](this[_0x3a4d21(0xea)],'id',_0x59b8ef=>_0x3a4d21(0x137)===_0x59b8ef),this[_0x3a4d21(0xfa)](_0x3c0f37,_0x3a4d21(0x15d),()=>{const _0x396afb=_0x3a4d21;_0x3c0f37[_0x396afb(0xdb)]?this[_0x396afb(0xe8)]():_0x69e84e[_0x396afb(0x15d)]();}),_0x3c0f37;}[_0x5f38c7(0x106)](){const _0x1efde1=_0x5f38c7,_0x1b428e=this[_0x1efde1(0x123)][_0x1efde1(0x108)][_0x1efde1(0x14a)](_0x106d2a);this[_0x1efde1(0x187)]=new _0x375872(this[_0x1efde1(0x123)][_0x1efde1(0x12e)],this[_0x1efde1(0x136)],this[_0x1efde1(0x123)][_0x1efde1(0x180)][_0x1efde1(0x14a)](_0x1efde1(0x11d))),this[_0x1efde1(0x187)]['on'](_0x1efde1(0x17c),()=>{const _0x723676=_0x1efde1;this[_0x723676(0xea)][_0x723676(0x111)][_0x723676(0x152)]||this[_0x723676(0xea)][_0x723676(0x111)][_0x723676(0x184)]();}),this[_0x1efde1(0x187)][_0x1efde1(0xdf)][_0x1efde1(0xe5)][_0x1efde1(0xe9)]['on'](_0x1efde1(0x17a),()=>{const _0x445bb1=_0x1efde1;this[_0x445bb1(0xea)][_0x445bb1(0x111)][_0x445bb1(0x152)]||this[_0x445bb1(0xea)][_0x445bb1(0x111)][_0x445bb1(0x184)]();}),this[_0x1efde1(0xfa)](this[_0x1efde1(0x187)],_0x1efde1(0x116),()=>{const _0x35021b=_0x1efde1;_0x1b428e[_0x35021b(0x10f)](this[_0x35021b(0x153)][_0x35021b(0x17e)]),this[_0x35021b(0xe8)]();}),this[_0x1efde1(0xfa)](this[_0x1efde1(0x187)],_0x1efde1(0x16a),()=>{const _0x112331=_0x1efde1;_0x1b428e[_0x112331(0x16a)](this[_0x112331(0x153)][_0x112331(0x17e)]),this[_0x112331(0xe8)]();}),this[_0x1efde1(0x16d)]();}[_0x5f38c7(0x16d)](){const _0x3738d2=_0x5f38c7,{locale:_0x407091,ui:{ariaLiveAnnouncer:_0x2c18cc}}=this[_0x3738d2(0x123)];this[_0x3738d2(0x187)][_0x3738d2(0xed)]['on'](_0x3738d2(0x124),(_0x2a899f,_0x25389f,_0x1373dc)=>{const _0x4cdf37=_0x3738d2,_0x3c74aa=this[_0x4cdf37(0x153)][_0x4cdf37(0x17e)];_0x1373dc?_0x2c18cc[_0x4cdf37(0xf3)](_0x1a4968(_0x407091,_0x4cdf37(0xe2))):_0x3c74aa&&_0x2c18cc[_0x4cdf37(0xf3)](_0x1a4968(_0x407091,_0x4cdf37(0xef),_0x3c74aa),{'politeness':_0x4cdf37(0x154),'isUnsafeHTML':!0x0});}),this[_0x3738d2(0x187)]['on'](_0x3738d2(0xe7),(_0x25f99c,_0x433b9a,_0x5bbd64)=>{const _0x1c27be=_0x3738d2;if(_0x5bbd64){const _0x406e4a=this[_0x1c27be(0x187)][_0x1c27be(0xf9)][_0x1c27be(0x118)];_0x2c18cc[_0x1c27be(0xf3)](_0x1a4968(_0x407091,_0x1c27be(0x134),_0x406e4a));}});}[_0x5f38c7(0xfc)](_0x1bb2c2){const _0xb4f048=_0x5f38c7,_0x49c1d3=this[_0xb4f048(0x167)][_0xb4f048(0x14a)](_0x1bb2c2),_0x307b95=this[_0xb4f048(0x123)],_0x5846f0=_0x307b95[_0xb4f048(0x112)][_0xb4f048(0x13f)][_0xb4f048(0x135)],_0x152788=_0x307b95[_0xb4f048(0xf6)][_0xb4f048(0x14a)](_0xb4f048(0x183)),_0x40ca9e=_0x307b95[_0xb4f048(0x108)][_0xb4f048(0x14a)](_0x106d2a),_0x4c4d82=''+(_0x49c1d3[_0xb4f048(0x145)]!==_0x55a796?_0x49c1d3[_0xb4f048(0xf1)]+':\x20':'')+_0x49c1d3[_0xb4f048(0x163)];if(!0x1!==_0x49c1d3[_0xb4f048(0x146)]&&_0x5846f0[_0xb4f048(0x174)]){const _0x453aed=_0x5b2338(_0x5846f0[_0xb4f048(0x141)]())||_0x307b95[_0xb4f048(0x112)][_0xb4f048(0x10e)][_0xb4f048(0x104)](_0x5846f0);_0x307b95[_0xb4f048(0x112)][_0xb4f048(0x13a)](_0x36eba0=>{const _0x2e2b73=_0xb4f048;_0x36eba0[_0x2e2b73(0x161)](_0x453aed,'in');});}_0x40ca9e[_0xb4f048(0x138)](),_0x152788[_0xb4f048(0x15d)](_0x49c1d3[_0xb4f048(0x126)],_0x4c4d82,_0xb4f048(0x11b)+_0x1bb2c2);}[_0x5f38c7(0xfd)](_0x4d803e,_0x2d171e,_0x152eb5,_0x1aada6){const _0x4c38eb=_0x5f38c7,_0x45c527=this[_0x4c38eb(0x123)],_0x29fbd4=_0x45c527[_0x4c38eb(0x12e)],_0x13f0f4=new _0x1097a6(_0x29fbd4),_0x1b44f8=U(_0x45c527,_0x152eb5)[_0x4c38eb(0x168)](_0x35ea3a=>_0x35ea3a[_0x4c38eb(0xf6)][_0x4c38eb(0x16f)]);0x1===_0x1b44f8[_0x4c38eb(0x16f)]?this[_0x4c38eb(0xec)]({'command':_0x4d803e,'commands':_0x1b44f8[0x0][_0x4c38eb(0xf6)],'parentMenuView':_0x2d171e,'onExecute':_0x1aada6})[_0x4c38eb(0x15f)](_0x1f7346=>_0x13f0f4[_0x4c38eb(0x139)][_0x4c38eb(0x186)](_0x1f7346)):_0x1b44f8[_0x4c38eb(0x15f)](({groupId:_0x183aec,groupLabel:_0x3a8034,commands:_0x702173})=>{const _0x5637d6=_0x4c38eb,_0x3fc7e1=new _0x32de77(_0x29fbd4,_0x2d171e),_0x348aff=new _0x3e883e(_0x29fbd4),_0xe4b76e=new _0x1097a6(_0x29fbd4),_0x34a56f=this[_0x5637d6(0xec)]({'command':_0x4d803e,'commands':_0x702173,'parentMenuView':_0x348aff,'onExecute':_0x1aada6});_0x348aff[_0x5637d6(0x147)][_0x5637d6(0x10c)]({'label':_0x3a8034||_0x183aec}),_0x348aff[_0x5637d6(0x101)](_0x5637d6(0x15d))['to'](_0x2d171e),_0xe4b76e[_0x5637d6(0x139)][_0x5637d6(0xf2)](_0x34a56f),_0x348aff[_0x5637d6(0x164)][_0x5637d6(0xf5)][_0x5637d6(0x186)](_0xe4b76e),_0x3fc7e1[_0x5637d6(0xf5)][_0x5637d6(0x186)](_0x348aff),_0x13f0f4[_0x5637d6(0x139)][_0x5637d6(0x186)](_0x3fc7e1);}),_0x2d171e[_0x4c38eb(0x164)][_0x4c38eb(0xf5)][_0x4c38eb(0x186)](_0x13f0f4);}[_0x5f38c7(0xec)]({command:_0x7f0613,commands:_0x47fb0c,parentMenuView:_0x2420b9,onExecute:_0x451a0c}){const _0x1ae646=_0x5f38c7,_0x4ddfcb=this[_0x1ae646(0x123)],_0x14571f=_0x4ddfcb[_0x1ae646(0x12e)];return U(_0x4ddfcb,_0x47fb0c)[_0x1ae646(0x181)](_0x107ed6=>{const _0x344477=_0x1ae646,_0x5544ec=new _0x32de77(_0x14571f,_0x2420b9),_0x52a9c2=new _0x56d81b(_0x14571f);return _0x52a9c2[_0x344477(0x10c)]({'label':_0x107ed6[_0x344477(0x163)]}),_0x52a9c2[_0x344477(0x101)](_0x344477(0x15d))['to'](_0x2420b9),_0x52a9c2['on'](_0x344477(0x15d),()=>_0x451a0c(_0x107ed6['id'])),_0x52a9c2[_0x344477(0x17b)](_0x344477(0xdd))['to'](_0x7f0613,_0x344477(0x155),_0x49167e=>_0x49167e[_0x344477(0x129)](_0x107ed6['id'])),_0x5544ec[_0x344477(0xf5)][_0x344477(0x186)](_0x52a9c2),_0x5544ec;});}}function _0x304b(){const _0x39cdb5=['model','54255EcFzyv','4657555acgLHo','AI\x20Assistant','replaceContent','aiLicenseKeyValid','text','updateView','aiLicenseKeyNotAllowed','command:','robotPencil','ai.aiAssistant.contentAreaCssClass','ai.useTheme','104104dikcnF','AIAssistant','aiLicenseKeyTrialLimit','copy','editor','change:isProcessing','expired','prompt','DataTransfer','aiLicenseKeyDomainLimit','includes','</p>','define','isFlat','ai-commands-config-order-collision','locale','_showLicenseError','ck-ai-assistant-ui','\x20ck-ai-assistant-ui_theme','REPLACE','_licenseKeyCheckInterval','Error\x20during\x20AI\x20content\x20generation:\x20%0','selection','_uiCssClasses','aiAssistant','showFakeVisualSelection','items','change','<p>','init','push','fire','document','_forceMarkersCopy','getSelectedBlocks','isOfficialPlugin','show','change:enabledCommandsIds','groupId','requiresContent','buttonView','EDITOR_TOP_SIDE','comment','get','rawHtml','evaluationLimit','ck-ai-commands-dropdown\x20','trim','_aiAdapter','pluginName','ai.aiAssistant.commands','wasMoved','_aiAssistantController','polite','enabledCommandsIds','ck-ai-assistant-button\x20','menuBar:aiAssistant','destroy','ai.aiAssistant.disabledElements','menuBar:aiCommands','textAdapter','from','execute','reset','forEach','hideFakeVisualSelection','setSelection','getRanges','label','panelView','requires','menuView','_commandDefinitions','filter','getData','insertContentBelow','tableOfContents','text/html','_initAriaAiStatusChangeAnnouncements','invalid','length','showUI','menuitemcheckbox','componentFactory','usageLimit','isCollapsed','3276744zdOXVm','render','aiLicenseKeyExpired','licenseKey','custom','update','bind','change:value','_getResolvedCommandsDefinitions','currentContext','source','config','map','editing','showAIAssistant','updatePosition','sort','add','_formView','AIAssistantUI','aiLicenseKeyInvalid','isOn','menuPanelClass','isEnabled','values','promptView','order','domainLimit','AI\x20is\x20writing','721743mPsRMG','hide','queryView','_createAIAssistantUIButton','change:isError','hideUI','fieldView','_dialog','AI\x20Commands','_getMenuBarGroupButtons','contentArea','92EEvMQl','Generated\x20content:\x20%0','aiCommands','groupLabel','addMany','announce','replace','children','commands','media','body','errorView','listenTo','1425327WAKSIu','_onExecute','_populateMenuBarMenu','buttons','getSelectedElement','focus','delegate','featureNotAllowed','1260958epuitk','getLimitElement','splice','_initView','trialLimit','plugins','isPremiumPlugin','INSERT','aiLicenseKeyUsageLimit','set','aiLicenseKeyEvaluationLimit','schema','insertContent','once','view'];_0x304b=function(){return _0x39cdb5;};return _0x304b();}function B(_0x52b1a6,_0x21c843){const _0x467800=_0x5f38c7;return void 0x0!==_0x52b1a6[_0x467800(0xe0)]&&void 0x0===_0x21c843[_0x467800(0xe0)]?0x1:void 0x0===_0x52b1a6[_0x467800(0xe0)]&&void 0x0!==_0x21c843[_0x467800(0xe0)]?-0x1:void 0x0!==_0x52b1a6[_0x467800(0xe0)]&&void 0x0!==_0x21c843[_0x467800(0xe0)]?_0x52b1a6[_0x467800(0xe0)]-_0x21c843[_0x467800(0xe0)]:0x0;}function U(_0x480a6b,_0x2c7b19){const _0x3699ed=_0x5f38c7;_0x2c7b19[_0x3699ed(0x185)](B);const _0x147b63={},_0x353f99=[];for(const _0x32f274 of _0x2c7b19)if(void 0x0!==_0x32f274[_0x3699ed(0xe0)]){if(_0x32f274[_0x3699ed(0xe0)]in _0x147b63)throw new _0x500462(_0x3699ed(0x12d),_0x480a6b,{'conflictingDefinitions':[_0x32f274,_0x147b63[_0x32f274[_0x3699ed(0xe0)]]]});_0x147b63[_0x32f274[_0x3699ed(0xe0)]]=_0x32f274,_0x353f99[_0x3699ed(0x105)](_0x32f274[_0x3699ed(0xe0)],0x0,_0x32f274);}else _0x353f99[_0x3699ed(0x13d)](_0x32f274);return _0x353f99;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x143ffa,_0x48a217){var _0x45a499=_0x33be,_0x3f33da=_0x143ffa();while(!![]){try{var _0x1bb13b=-parseInt(_0x45a499(0xb2))/0x1+-parseInt(_0x45a499(0xb5))/0x2+-parseInt(_0x45a499(0xb1))/0x3*(parseInt(_0x45a499(0xb7))/0x4)+-parseInt(_0x45a499(0xb0))/0x5+parseInt(_0x45a499(0xb6))/0x6*(-parseInt(_0x45a499(0xb3))/0x7)+parseInt(_0x45a499(0xb8))/0x8+-parseInt(_0x45a499(0xb9))/0x9*(-parseInt(_0x45a499(0xb4))/0xa);if(_0x1bb13b===_0x48a217)break;else _0x3f33da['push'](_0x3f33da['shift']());}catch(_0x392fef){_0x3f33da['push'](_0x3f33da['shift']());}}}(_0x590f,0x417d2));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x590f(){var _0x2df43b=['14935460TiHBOo','675826AoYFmh','6iqzDzT','4qyChsS','1985280IYtWYg','9GWEnIO','573200OhcMRZ','756291veDedC','299348aWVXcl','3286262gtuzBi'];_0x590f=function(){return _0x2df43b;};return _0x590f();}function _0x33be(_0x5e49e9,_0x3ca64f){var _0x590fa9=_0x590f();return _0x33be=function(_0x33be4e,_0x4b357b){_0x33be4e=_0x33be4e-0xb0;var _0x2c6639=_0x590fa9[_0x33be4e];return _0x2c6639;},_0x33be(_0x5e49e9,_0x3ca64f);}import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4a22(_0x3042fb,_0x13743e){var _0x15998d=_0x1599();return _0x4a22=function(_0x4a220a,_0x3d27c0){_0x4a220a=_0x4a220a-0x1d6;var _0x552b11=_0x15998d[_0x4a220a];return _0x552b11;},_0x4a22(_0x3042fb,_0x13743e);}function _0x1599(){var _0x51d362=['2erhrOb','41574MkGmZM','907992OsHLdb','15015blHZIL','1406818wVBfFA','36lcvmKW','2263851zOImZt','1195296RRCgId','119370MEJQfB'];_0x1599=function(){return _0x51d362;};return _0x1599();}(function(_0x1155da,_0xab93e){var _0x26f6bc=_0x4a22,_0x52f447=_0x1155da();while(!![]){try{var _0xb9866e=parseInt(_0x26f6bc(0x1db))/0x1+-parseInt(_0x26f6bc(0x1dc))/0x2*(-parseInt(_0x26f6bc(0x1dd))/0x3)+-parseInt(_0x26f6bc(0x1da))/0x4+parseInt(_0x26f6bc(0x1d6))/0x5*(-parseInt(_0x26f6bc(0x1d8))/0x6)+parseInt(_0x26f6bc(0x1d7))/0x7+-parseInt(_0x26f6bc(0x1de))/0x8+parseInt(_0x26f6bc(0x1d9))/0x9;if(_0xb9866e===_0xab93e)break;else _0x52f447['push'](_0x52f447['shift']());}catch(_0x5eeab2){_0x52f447['push'](_0x52f447['shift']());}}}(_0x1599,0x25f08));import{CKEditorError as _0x36fa56}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x8580d0=_0x280e;(function(_0x3ed58a,_0xd77426){const _0x28ebcc=_0x280e,_0x319929=_0x3ed58a();while(!![]){try{const _0xf492f7=parseInt(_0x28ebcc(0x1c1))/0x1+parseInt(_0x28ebcc(0x1de))/0x2*(-parseInt(_0x28ebcc(0x1d7))/0x3)+-parseInt(_0x28ebcc(0x205))/0x4+-parseInt(_0x28ebcc(0x1fa))/0x5+-parseInt(_0x28ebcc(0x1c6))/0x6*(parseInt(_0x28ebcc(0x21e))/0x7)+-parseInt(_0x28ebcc(0x202))/0x8+parseInt(_0x28ebcc(0x1e8))/0x9;if(_0xf492f7===_0xd77426)break;else _0x319929['push'](_0x319929['shift']());}catch(_0x4fb6f6){_0x319929['push'](_0x319929['shift']());}}}(_0x1a54,0x90728));import{ObservableMixin as _0xdfff9e}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3887c8}from'../adapters/aiadapter.js';function _0x280e(_0x45df81,_0x35a931){const _0x1a54b4=_0x1a54();return _0x280e=function(_0x280e8f,_0xb9b4f2){_0x280e8f=_0x280e8f-0x1bf;let _0x59ee78=_0x1a54b4[_0x280e8f];return _0x59ee78;},_0x280e(_0x45df81,_0x35a931);}function _0x1a54(){const _0xe39807=['from','textAdapter','2240PZkFdV','isRendered','rename','get','document','startsWith','397867MJIetJ','reset','exec','startProcessing','```','11922YDJRJF','submitPrompt','name','previousActionId','stopListening','_isH1TagSupportEnabled','createElement','_sanitizationContainer','nodeType','body','prompt','reverse','finally','ai.aiAssistant.preserveComments','childNodes','htmlProcessor','value','105FnAbCx','text/html','serializeToString','message','toView','destroy','view','9376EdoPpl','substring','```html','querySelector','previousQuery','previousContext','_domParser','clear','setContentOf','parseFromString','30331188YkaTSM','custom','isProcessing','config','listenTo','set','initialContext','endsWith','data','domConverter','once','processor','finishProcessing','_normalizeResponseHeadings','viewToDom','length','push','_handleQuery','4377985xWRTjf','element','set:currentContext','_parseAndNormalizeContent','markers','previousLabel','editing','editor','7946120QbAGQI','render','div','2030244GpUBtA','_xmlSerializer','_sanitizeHTML','currentContext','innerHTML','stopProcessing','ELEMENT_NODE','updateView','trim','tryAgainEvent','mainAction','currentResponse','makeRequest','_stripMarkdownSyntax','handleError','abort','match','<h1></h1>','then','toModel','catch','remove','stringify'];_0x1a54=function(){return _0xe39807;};return _0x1a54();}import{Matcher as _0xc36305,UpcastWriter as _0x3baf3b}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
|
+
_0xdfff9e(){constructor(_0x37ca7b,_0x373a7c,_0x3dc748){const _0x30e8ed=_0x280e;super(),this[_0x30e8ed(0x201)]=_0x37ca7b,this[_0x30e8ed(0x21d)]=_0x373a7c,this[_0x30e8ed(0x1cd)]=document[_0x30e8ed(0x1cc)](_0x30e8ed(0x204)),this[_0x30e8ed(0x1e4)]=new DOMParser(),this[_0x30e8ed(0x206)]=new XMLSerializer(),this[_0x30e8ed(0x1dd)]=_0x3dc748,this[_0x30e8ed(0x1ed)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x30e8ed(0x1fc),(_0x458c38,_0x4e0cb6,_0x24d47b)=>{const _0x131817=_0x30e8ed;this[_0x131817(0x1dd)][_0x131817(0x1d6)]=this[_0x131817(0x207)](_0x24d47b);}),this[_0x30e8ed(0x1ec)](this[_0x30e8ed(0x1dd)],_0x30e8ed(0x1c7),(_0x6b7651,_0x21b3a5)=>{const _0xabd2ce=_0x30e8ed,_0x578e01=this[_0xabd2ce(0x208)]||this[_0xabd2ce(0x1ee)];this[_0xabd2ce(0x1f9)](_0x21b3a5,_0x578e01,_0xabd2ce(0x1e9));}),this[_0x30e8ed(0x1ec)](this[_0x30e8ed(0x1dd)],_0x30e8ed(0x20e),()=>{const _0x12fe6a=_0x30e8ed;this[_0x12fe6a(0x1dd)][_0x12fe6a(0x1d0)]=this[_0x12fe6a(0x1ff)],this[_0x12fe6a(0x1f9)](this[_0x12fe6a(0x1e2)],this[_0x12fe6a(0x1e3)],this[_0x12fe6a(0x1c9)],this[_0x12fe6a(0x1ff)]);}),this[_0x30e8ed(0x1ec)](this[_0x30e8ed(0x1dd)],_0x30e8ed(0x20a),()=>{const _0x5dd7d0=_0x30e8ed;this[_0x5dd7d0(0x20a)]();});}[_0x8580d0(0x1dc)](){const _0x417c25=_0x8580d0;this[_0x417c25(0x1ca)]();}async[_0x8580d0(0x20c)]({actionId:_0x2a21ca,query:_0x32814f,htmlContent:_0x4debbd,label:_0x16818e,mainActionLabel:_0x4f19a3}){const _0x42e772=_0x8580d0;this[_0x42e772(0x1dd)][_0x42e772(0x1d0)]=_0x16818e,this[_0x42e772(0x1dd)][_0x42e772(0x20f)]=_0x4f19a3,this[_0x42e772(0x1ee)]=_0x4debbd,_0x32814f&&(this[_0x42e772(0x1dd)][_0x42e772(0x21f)]?this[_0x42e772(0x1f9)](_0x32814f,_0x4debbd,_0x2a21ca,_0x16818e):this[_0x42e772(0x1dd)][_0x42e772(0x1f2)](_0x42e772(0x203),()=>{const _0x1acac0=_0x42e772;this[_0x1acac0(0x1f9)](_0x32814f,_0x4debbd,_0x2a21ca,_0x16818e);}));}[_0x8580d0(0x20a)](){const _0x8e23a5=_0x8580d0;this[_0x8e23a5(0x1ea)]&&(this[_0x8e23a5(0x1ea)]=!0x1,this[_0x8e23a5(0x1dd)][_0x8e23a5(0x1f4)](),this[_0x8e23a5(0x21d)][_0x8e23a5(0x214)]());}[_0x8580d0(0x1c2)](){const _0x255917=_0x8580d0;this[_0x255917(0x1ee)]='',this[_0x255917(0x208)]='',this[_0x255917(0x210)]='',this[_0x255917(0x1e3)]='',this[_0x255917(0x1e2)]='',this[_0x255917(0x1ff)]='',this[_0x255917(0x1c9)]=void 0x0,this[_0x255917(0x1dd)][_0x255917(0x1c2)](),this[_0x255917(0x20a)]();}async[_0x8580d0(0x1f9)](_0x455ddf,_0x48617b,_0x37eed6,_0x1dfbc8){const _0x43a84d=_0x8580d0;return this[_0x43a84d(0x1ea)]=!0x0,this[_0x43a84d(0x1dd)][_0x43a84d(0x1c4)](),this[_0x43a84d(0x1e3)]=_0x48617b,this[_0x43a84d(0x1e2)]=_0x455ddf,this[_0x43a84d(0x1ff)]=_0x1dfbc8||_0x455ddf,this[_0x43a84d(0x1c9)]=_0x37eed6,new Promise(_0x5da6b2=>{const _0x4db622=_0x43a84d;this[_0x4db622(0x21d)][_0x4db622(0x211)]({'query':_0x455ddf,'context':_0x48617b,'onData':_0x30efbc=>{const _0x565a34=_0x4db622;this[_0x565a34(0x210)]=_0x30efbc,this[_0x565a34(0x208)]=this[_0x565a34(0x1fd)](this[_0x565a34(0x210)]);},'actionId':_0x37eed6})[_0x4db622(0x217)](()=>{const _0x4dd9a6=_0x4db622;!this[_0x4dd9a6(0x208)]&&this[_0x4dd9a6(0x210)]&&(this[_0x4dd9a6(0x208)]=this[_0x4dd9a6(0x1fd)](this[_0x4dd9a6(0x210)],!0x0));})[_0x4db622(0x219)](_0x4b3dfc=>{const _0x2cb1ac=_0x4db622;_0x4b3dfc instanceof _0x3887c8?this[_0x2cb1ac(0x1dd)][_0x2cb1ac(0x213)](_0x4b3dfc[_0x2cb1ac(0x1da)]):this[_0x2cb1ac(0x1dd)][_0x2cb1ac(0x213)](),_0x5da6b2();})[_0x4db622(0x1d2)](()=>{const _0x3547b8=_0x4db622;this[_0x3547b8(0x20a)](),_0x5da6b2();});});}[_0x8580d0(0x1fd)](_0x52a899,_0x327c74=!0x1){const _0x5d7b90=_0x8580d0,_0x8078fd=Z[_0x5d7b90(0x1c3)](_0x52a899);_0x52a899=_0x8078fd?_0x52a899[_0x5d7b90(0x1df)](_0x8078fd[0x1][_0x5d7b90(0x1f7)]):_0x52a899[_0x5d7b90(0x1f7)]<0x64&&!_0x327c74?'':this[_0x5d7b90(0x212)](_0x52a899);const _0x226f62=this[_0x5d7b90(0x1e4)][_0x5d7b90(0x1e7)](_0x52a899,_0x5d7b90(0x1d8));if(_0x8078fd){const _0x51f0a8=Array[_0x5d7b90(0x21c)](_0x226f62[_0x5d7b90(0x1cf)][_0x5d7b90(0x1d4)]);_0x51f0a8[_0x5d7b90(0x1d1)]();for(const _0x2f38ac of _0x51f0a8){if(_0x2f38ac[_0x5d7b90(0x1ce)]==Node[_0x5d7b90(0x20b)])break;_0x2f38ac[_0x5d7b90(0x21a)]();}}const _0xb9c452=this[_0x5d7b90(0x201)][_0x5d7b90(0x1f0)][_0x5d7b90(0x1f3)][_0x5d7b90(0x1db)](this[_0x5d7b90(0x206)][_0x5d7b90(0x1d9)](_0x226f62[_0x5d7b90(0x1cf)]));this[_0x5d7b90(0x1cb)]()||this[_0x5d7b90(0x1f5)](_0xb9c452);const _0x4348c9=this[_0x5d7b90(0x201)][_0x5d7b90(0x1eb)][_0x5d7b90(0x221)](_0x5d7b90(0x1d3)),_0x294a84=this[_0x5d7b90(0x201)][_0x5d7b90(0x1f0)][_0x5d7b90(0x218)](_0xb9c452);return _0x4348c9||_0x294a84[_0x5d7b90(0x1fe)][_0x5d7b90(0x1e5)](),this[_0x5d7b90(0x201)][_0x5d7b90(0x1f0)][_0x5d7b90(0x21b)](_0x294a84);}[_0x8580d0(0x1f5)](_0x409df5){const _0x47f16a=_0x8580d0,_0x34e4f0=new _0x3baf3b(this[_0x47f16a(0x201)][_0x47f16a(0x200)][_0x47f16a(0x1dd)][_0x47f16a(0x1bf)]),_0x48ab0f=new _0xc36305({'name':/^h[1-5]$/}),_0x2ec917=[];let _0x4ac91e=!0x1;for(const _0x5329e1 of _0x409df5)_0x5329e1['is'](_0x47f16a(0x1fb))&&_0x48ab0f[_0x47f16a(0x215)](_0x5329e1)&&(_0x2ec917[_0x47f16a(0x1f8)](_0x5329e1),'h1'==_0x5329e1[_0x47f16a(0x1c8)]&&(_0x4ac91e=!0x0));if(_0x4ac91e){for(const _0x1d79b5 of _0x2ec917)_0x34e4f0[_0x47f16a(0x220)]('h'+(parseInt(_0x1d79b5[_0x47f16a(0x1c8)][0x1])+0x1),_0x1d79b5);}}[_0x8580d0(0x1cb)](){const _0x5ba3c5=_0x8580d0,{data:_0x529bd0,editing:_0x5ea406}=this[_0x5ba3c5(0x201)],_0x301b98=_0x529bd0[_0x5ba3c5(0x1d5)][_0x5ba3c5(0x1db)](_0x5ba3c5(0x216)),_0x56fc6b=_0x529bd0[_0x5ba3c5(0x1db)](_0x529bd0[_0x5ba3c5(0x218)](_0x301b98));return!!_0x5ea406[_0x5ba3c5(0x1dd)][_0x5ba3c5(0x1f1)][_0x5ba3c5(0x1f6)](_0x56fc6b)[_0x5ba3c5(0x1e1)]('h1');}[_0x8580d0(0x207)](_0x522129){const _0xa023cc=_0x8580d0;return this[_0xa023cc(0x201)][_0xa023cc(0x200)][_0xa023cc(0x1dd)][_0xa023cc(0x1f1)][_0xa023cc(0x1e6)](this[_0xa023cc(0x1cd)],_0x522129),this[_0xa023cc(0x1cd)][_0xa023cc(0x209)];}[_0x8580d0(0x212)](_0x2e5ee1){const _0x6edd04=_0x8580d0,_0x56524e=_0x2e5ee1[_0x6edd04(0x20d)]();return _0x56524e[_0x6edd04(0x1c0)](_0x6edd04(0x1e0))?_0x56524e[_0x6edd04(0x1ef)](_0x6edd04(0x1c5))?_0x56524e[_0x6edd04(0x1df)](0x7,_0x56524e[_0x6edd04(0x1f7)]-0x3):_0x56524e[_0x6edd04(0x1df)](0x7):_0x2e5ee1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1e945e=_0xadca;(function(_0x59c76c,_0x3082cc){const _0x2552da=_0xadca,_0x36ad07=_0x59c76c();while(!![]){try{const _0x418c81=parseInt(_0x2552da(0x1a4))/0x1*(parseInt(_0x2552da(0x1a3))/0x2)+parseInt(_0x2552da(0x16e))/0x3+-parseInt(_0x2552da(0x199))/0x4+-parseInt(_0x2552da(0x186))/0x5*(parseInt(_0x2552da(0x1a5))/0x6)+-parseInt(_0x2552da(0x194))/0x7+-parseInt(_0x2552da(0x16c))/0x8+parseInt(_0x2552da(0x169))/0x9;if(_0x418c81===_0x3082cc)break;else _0x36ad07['push'](_0x36ad07['shift']());}catch(_0x331ed5){_0x36ad07['push'](_0x36ad07['shift']());}}}(_0x1ff9,0xa38da));import{global as _0x3d23ba}from'ckeditor5/src/utils.js';import{View as _0x3d8ddd,ButtonView as _0x3a27d3,SpinnerView as _0x4a6b86}from'ckeditor5/src/ui.js';function _0x1ff9(){const _0x1e3c96=['execCommand','contentFieldView','left','element','copy','text/plain','AI\x20is\x20writing...','locale','firstElementChild','_createLoader','-9999px','change:value','ck-ai-form__loader','querySelector','style','smooth','absolute','position','7520FriKES','removeAllRanges','ck-ai-form__content-area--processing','ck-hidden','getSelection','ck-ai-form__copy-button-wrapper','setStartAfter','text/html','focus','wheel','ck-reset_all-excluded','write','listenTo','scrollHeight','7658021xJGiZS','<span>[</span>','div','textContent','lastElementChild','3711376sjoUBG','change:isProcessing','set','loaderView','createElement','scrollTo','remove','mousedown','<span>]</span>','createRange','531246yFUdTC','1QqAIdj','852REDNEg','bind','value','class','innerHTML','copyButtonView','\x20ck-ai-form__copy-button--copied','_copyHTMLToClipboard','setContent','setEndBefore','execute','setTemplate','_createCopyButton','ck-content','icon','render','ClipboardItem','isVisible','ck-ai-form__content-area','appendLoader','body','.ck-ai-form__loader','addRange','bindTemplate','Copy','18164340tucnUN','isEnabled','ck-ai-form__content-area-wrapper','5472392UQIjHj','ck-ai-form__content-field','3916485eHHYaD','isProcessing','appendChild','ck-ai-form__copy-button','clipboard','check'];_0x1ff9=function(){return _0x1e3c96;};return _0x1ff9();}import _0x34e80e from'../../../theme/icons/copy.svg';function _0xadca(_0xd7b132,_0x4ee193){const _0x1ff9a2=_0x1ff9();return _0xadca=function(_0xadca73,_0x376702){_0xadca73=_0xadca73-0x157;let _0x2e4260=_0x1ff9a2[_0xadca73];return _0x2e4260;},_0xadca(_0xd7b132,_0x4ee193);}import{getTranslation as _0x1cdd16}from'../../utils/common-translations.js';import{icons as _0x3fbbff}from'ckeditor5/src/core.js';export default class X extends _0x3d8ddd{constructor(_0xfc1181,_0x1c12dd=''){const _0x2a011e=_0xadca;super(_0xfc1181),this[_0x2a011e(0x19b)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x32243e=this[_0x2a011e(0x167)];this[_0x2a011e(0x175)]=new ContentFieldView(_0xfc1181,_0x1c12dd),this[_0x2a011e(0x1aa)]=this[_0x2a011e(0x15c)](),this[_0x2a011e(0x15b)]({'tag':_0x2a011e(0x196),'attributes':{'class':['ck',_0x2a011e(0x16b),_0x32243e['if'](_0x2a011e(0x161),_0x2a011e(0x189),_0x2af07a=>!_0x2af07a)],'tabindex':'-1'},'children':[{'tag':_0x2a011e(0x196),'attributes':{'class':['ck',_0x2a011e(0x162),_0x32243e['if'](_0x2a011e(0x16f),_0x2a011e(0x188))]},'children':[this[_0x2a011e(0x175)],{'tag':_0x2a011e(0x196),'attributes':{'class':['ck',_0x2a011e(0x18b)]},'children':[this[_0x2a011e(0x1aa)]]}]}]});}[_0x1e945e(0x15f)](){const _0x459770=_0x1e945e;super[_0x459770(0x15f)](),this[_0x459770(0x1a7)]&&this[_0x459770(0x175)][_0x459770(0x158)](this[_0x459770(0x1a7)]);let _0x220103=!0x1;this['on'](_0x459770(0x17f),(_0x5c86b3,_0x2a168c,_0x352346)=>{const _0x5f47c8=_0x459770,_0x2c8329=!this[_0x5f47c8(0x175)][_0x5f47c8(0x177)][_0x5f47c8(0x181)](_0x5f47c8(0x165));this[_0x5f47c8(0x175)][_0x5f47c8(0x158)](_0x352346),this[_0x5f47c8(0x16f)]&&_0x2c8329&&!_0x220103&&this[_0x5f47c8(0x177)][_0x5f47c8(0x19e)]({'top':this[_0x5f47c8(0x177)][_0x5f47c8(0x193)],'behavior':_0x5f47c8(0x183)});}),this['on'](_0x459770(0x19a),(_0xe035cc,_0x190b4e,_0x327585)=>{const _0x4929a0=_0x459770;_0x220103=!0x1,_0x327585?(this[_0x4929a0(0x1a7)]=null,this[_0x4929a0(0x175)][_0x4929a0(0x163)]()):this[_0x4929a0(0x1a7)]||this[_0x4929a0(0x175)][_0x4929a0(0x158)]('');}),this[_0x459770(0x192)](this[_0x459770(0x177)],_0x459770(0x18f),()=>{_0x220103=!0x0;}),this[_0x459770(0x192)](this[_0x459770(0x177)],_0x459770(0x1a0),()=>{_0x220103=!0x0;});}[_0x1e945e(0x18e)](){const _0x3c932e=_0x1e945e;this[_0x3c932e(0x177)][_0x3c932e(0x18e)]();}[_0x1e945e(0x15c)](){const _0x88fed1=_0x1e945e,_0x4cc9e2=this[_0x88fed1(0x17b)],_0x49e78a=new _0x3a27d3(this[_0x88fed1(0x17b)]),_0x11c7ba=_0x88fed1(0x171);return _0x49e78a[_0x88fed1(0x19b)]({'label':_0x1cdd16(_0x4cc9e2,_0x88fed1(0x168)),'icon':_0x34e80e,'class':_0x11c7ba,'tooltip':!0x0}),_0x49e78a[_0x88fed1(0x1a6)](_0x88fed1(0x161))['to'](this,_0x88fed1(0x1a7),_0x5ab4da=>!!_0x5ab4da),_0x49e78a[_0x88fed1(0x1a6)](_0x88fed1(0x16a))['to'](this,_0x88fed1(0x16f),_0x449cce=>!_0x449cce),_0x49e78a['on'](_0x88fed1(0x15a),()=>{const _0x24af78=_0x88fed1;this[_0x24af78(0x157)](this[_0x24af78(0x175)][_0x24af78(0x177)]),_0x49e78a[_0x24af78(0x15e)]=_0x3fbbff[_0x24af78(0x173)],_0x49e78a[_0x24af78(0x1a8)]=_0x11c7ba+_0x24af78(0x1ab),this[_0x24af78(0x18e)](),setTimeout(()=>{const _0xcbf584=_0x24af78;_0x49e78a[_0xcbf584(0x15e)]=_0x34e80e,_0x49e78a[_0xcbf584(0x1a8)]=_0x11c7ba;},0x3e8);}),_0x49e78a;}[_0x1e945e(0x157)](_0x4c25d4){const _0x5a96fb=_0x1e945e,{window:_0x29b32d,document:_0x9bbf53}=_0x3d23ba;if(_0x29b32d[_0x5a96fb(0x160)]){const {Blob:_0x3b18b7,ClipboardItem:_0x8f7193}=_0x29b32d,_0x16ce09=[new _0x8f7193({'text/html':new _0x3b18b7([_0x4c25d4[_0x5a96fb(0x1a9)]],{'type':_0x5a96fb(0x18d)}),'text/plain':new _0x3b18b7([_0x4c25d4[_0x5a96fb(0x197)]||''],{'type':_0x5a96fb(0x179)})})];navigator[_0x5a96fb(0x172)][_0x5a96fb(0x191)](_0x16ce09);}else{const _0x18e051=_0x9bbf53[_0x5a96fb(0x19d)](_0x5a96fb(0x196));_0x18e051[_0x5a96fb(0x182)][_0x5a96fb(0x185)]=_0x5a96fb(0x184),_0x18e051[_0x5a96fb(0x182)][_0x5a96fb(0x176)]=_0x5a96fb(0x17e),_0x18e051[_0x5a96fb(0x1a9)]=_0x5a96fb(0x195)+_0x4c25d4[_0x5a96fb(0x1a9)]+_0x5a96fb(0x1a1),_0x9bbf53[_0x5a96fb(0x164)][_0x5a96fb(0x170)](_0x18e051);const _0x580020=_0x9bbf53[_0x5a96fb(0x1a2)]();_0x580020[_0x5a96fb(0x18c)](_0x18e051[_0x5a96fb(0x17c)]),_0x580020[_0x5a96fb(0x159)](_0x18e051[_0x5a96fb(0x198)]);const _0x5700f1=_0x29b32d[_0x5a96fb(0x18a)]();_0x5700f1[_0x5a96fb(0x187)](),_0x5700f1[_0x5a96fb(0x166)](_0x580020),_0x9bbf53[_0x5a96fb(0x174)](_0x5a96fb(0x178)),_0x18e051[_0x5a96fb(0x19f)]();}}}export class ContentFieldView extends _0x3d8ddd{constructor(_0x2a610f,_0x298a50=''){const _0x2401db=_0x1e945e;super(_0x2a610f),this[_0x2401db(0x19c)]=this[_0x2401db(0x17d)](),this[_0x2401db(0x15b)]({'tag':_0x2401db(0x196),'attributes':{'class':['ck',_0x2401db(0x15d),_0x298a50,_0x2401db(0x190),_0x2401db(0x16d)]}});}[_0x1e945e(0x158)](_0x2a384e){const _0xaf9b6c=_0x1e945e;this[_0xaf9b6c(0x177)][_0xaf9b6c(0x1a9)]=_0x2a384e;}[_0x1e945e(0x163)](){const _0x3239c5=_0x1e945e;this[_0x3239c5(0x177)][_0x3239c5(0x170)](this[_0x3239c5(0x19c)][_0x3239c5(0x177)]);}[_0x1e945e(0x17d)](){const _0x172dbb=_0x1e945e,_0x378bda=new _0x3d8ddd(),_0x1db553=this[_0x172dbb(0x17b)],_0x526d24=new _0x4a6b86();return _0x526d24[_0x172dbb(0x161)]=!0x0,_0x378bda[_0x172dbb(0x15b)]({'tag':_0x172dbb(0x196),'attributes':{'class':['ck',_0x172dbb(0x180)]},'children':[_0x526d24,{'text':_0x1cdd16(_0x1db553,_0x172dbb(0x17a))}]}),_0x378bda[_0x172dbb(0x15f)](),_0x378bda;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2234b3,_0x1d6afd){const _0xcb876f=_0x570d,_0x552971=_0x2234b3();while(!![]){try{const _0x37f7f8=-parseInt(_0xcb876f(0x1ab))/0x1+-parseInt(_0xcb876f(0x1a4))/0x2*(parseInt(_0xcb876f(0x1ad))/0x3)+-parseInt(_0xcb876f(0x1a5))/0x4*(parseInt(_0xcb876f(0x1a8))/0x5)+parseInt(_0xcb876f(0x1ac))/0x6*(-parseInt(_0xcb876f(0x1a0))/0x7)+parseInt(_0xcb876f(0x19d))/0x8+parseInt(_0xcb876f(0x1a1))/0x9+-parseInt(_0xcb876f(0x1a7))/0xa*(-parseInt(_0xcb876f(0x1a9))/0xb);if(_0x37f7f8===_0x1d6afd)break;else _0x552971['push'](_0x552971['shift']());}catch(_0x26e928){_0x552971['push'](_0x552971['shift']());}}}(_0x7d39,0xbae03));import{View as _0x2bfd34,IconView as _0x7d2952}from'ckeditor5/src/ui.js';function _0x7d39(){const _0x45c17f=['997053mxneQk','12DyBuDr','81AXbcnj','set','897696DaZFJG','text','div','2168621QjRaGR','194229SpZVdp','content','setTemplate','4956BQpiWR','8rBTERy','bindTemplate','36690110KRoOxH','3384490AvdlZB','11TQQzAK','ck-ai-form__error'];_0x7d39=function(){return _0x45c17f;};return _0x7d39();}import _0x32377c from'../../../theme/icons/error.svg';function _0x570d(_0x357f06,_0x1b2b33){const _0x7d394e=_0x7d39();return _0x570d=function(_0x570d43,_0x2960ea){_0x570d43=_0x570d43-0x19d;let _0x201a17=_0x7d394e[_0x570d43];return _0x201a17;},_0x570d(_0x357f06,_0x1b2b33);}export default class rt extends _0x2bfd34{constructor(_0x26819f,_0x338bef=''){const _0x261de3=_0x570d;super(_0x26819f);const _0xe5978=new _0x7d2952(),_0x14c2c7=this[_0x261de3(0x1a6)];this[_0x261de3(0x1ae)](_0x261de3(0x19e),_0x338bef),_0xe5978[_0x261de3(0x1a2)]=_0x32377c,this[_0x261de3(0x1a3)]({'tag':_0x261de3(0x19f),'attributes':{'class':['ck',_0x261de3(0x1aa)]},'children':[_0xe5978,{'text':_0x14c2c7['to'](_0x261de3(0x19e))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4bf6(){const _0x97f84b=['rtl','window','queryView','submitButtonView','focusFirst','value','focus','update','showHistoryButtonView','458276qeCKZz','_createShowHistoryButton','right','width','Submit','focusCycler','History','fieldWrapperChildren','filteredView','isVisible','6EDDZYO','submit','history','focusableChildren','6367617qjJDnx','excludeScrollbarsAndBorders','resultsView','2158628PiGWQJ','execute','isOn','enter','left','_createSubmitButton','bind','328962QNnbqf','fire','element','focusLast','fieldView','uiLanguageDirection','ck-ai-form__submit','requestAnimationFrame','keystrokes','779249fNDzGX','2364550oDcQzm','add','ck-ai-form__toggle-history','14HPSYZj','minRows','isEmpty','isEnabled','locale','maxRows','target','children','style','render','13799752IYbUQK','set'];_0x4bf6=function(){return _0x97f84b;};return _0x4bf6();}function _0x2d0c(_0x3e0092,_0x1abb72){const _0x4bf628=_0x4bf6();return _0x2d0c=function(_0x2d0c36,_0x56c097){_0x2d0c36=_0x2d0c36-0xfd;let _0x3b191b=_0x4bf628[_0x2d0c36];return _0x3b191b;},_0x2d0c(_0x3e0092,_0x1abb72);}const _0x359058=_0x2d0c;(function(_0x6fb971,_0x531b06){const _0x34785c=_0x2d0c,_0x4237eb=_0x6fb971();while(!![]){try{const _0x1c5184=-parseInt(_0x34785c(0x12f))/0x1+-parseInt(_0x34785c(0x10e))/0x2*(-parseInt(_0x34785c(0x118))/0x3)+parseInt(_0x34785c(0x11f))/0x4+-parseInt(_0x34785c(0x130))/0x5+parseInt(_0x34785c(0x126))/0x6*(parseInt(_0x34785c(0x133))/0x7)+parseInt(_0x34785c(0x103))/0x8+-parseInt(_0x34785c(0x11c))/0x9;if(_0x1c5184===_0x531b06)break;else _0x4237eb['push'](_0x4237eb['shift']());}catch(_0x2f6d6d){_0x4237eb['push'](_0x4237eb['shift']());}}}(_0x4bf6,0xd51b4));import{Rect as _0xd89534,global as _0x230665,isVisible as _0x4e7bf2}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1f62b3,ButtonView as _0x4cd571}from'ckeditor5/src/ui.js';import{icons as _0x1c41fe}from'ckeditor5/src/core.js';import{getTranslation as _0x45f418}from'../../utils/common-translations.js';import _0x2474d4 from'../../../theme/icons/submit.svg';export default class ht extends _0x1f62b3{constructor(_0x2d4b11,_0x321608){const _0x31286b=_0x2d0c;super(_0x2d4b11,_0x321608),this[_0x31286b(0x107)][_0x31286b(0x12a)][_0x31286b(0x134)]=0x1,this[_0x31286b(0x107)][_0x31286b(0x12a)][_0x31286b(0xfe)]=0x3,this[_0x31286b(0x108)]=this[_0x31286b(0x124)](),this[_0x31286b(0x10d)]=this[_0x31286b(0x10f)](),this[_0x31286b(0x11b)][_0x31286b(0x131)](this[_0x31286b(0x10d)],0x1),this[_0x31286b(0x11b)][_0x31286b(0x131)](this[_0x31286b(0x108)]);}[_0x359058(0x102)](){const _0x365bc9=_0x359058;super[_0x365bc9(0x102)](),this[_0x365bc9(0x107)][_0x365bc9(0x115)][_0x365bc9(0x131)](this[_0x365bc9(0x10d)]),this[_0x365bc9(0x100)][_0x365bc9(0x131)](this[_0x365bc9(0x108)]),this[_0x365bc9(0x12e)][_0x365bc9(0x104)](_0x365bc9(0x122),(_0x101d5c,_0x562852)=>{const _0x584585=_0x365bc9;_0x101d5c[_0x584585(0xff)]==this[_0x584585(0x107)][_0x584585(0x12a)][_0x584585(0x128)]&&(this[_0x584585(0x119)](),_0x562852());});}[_0x359058(0x124)](){const _0x12f354=_0x359058,_0x140302=new _0x4cd571(this[_0x12f354(0xfd)]),_0x2ea5f0=this[_0x12f354(0xfd)];return _0x140302[_0x12f354(0x104)]({'icon':_0x2474d4,'label':_0x45f418(_0x2ea5f0,_0x12f354(0x112)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x12f354(0x12c)}),_0x140302['on'](_0x12f354(0x120),()=>{const _0x41fe2d=_0x12f354;this[_0x41fe2d(0x119)]();}),_0x140302[_0x12f354(0x125)](_0x12f354(0x136))['to'](this[_0x12f354(0x107)][_0x12f354(0x12a)],_0x12f354(0x135),this,_0x12f354(0x136),(_0x5f3112,_0x1d34ab)=>!_0x5f3112&&_0x1d34ab),_0x140302;}[_0x359058(0x10f)](){const _0x8ee88c=_0x359058,_0x1d9dc5=new _0x4cd571(this[_0x8ee88c(0xfd)]),_0xddc34c=this[_0x8ee88c(0x11e)],_0x4c6427=this[_0x8ee88c(0xfd)];_0x1d9dc5[_0x8ee88c(0x104)]({'label':_0x45f418(_0x4c6427,_0x8ee88c(0x114)),'withText':!0x1,'icon':_0x1c41fe[_0x8ee88c(0x11a)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x8ee88c(0x132)}),_0x1d9dc5[_0x8ee88c(0x125)](_0x8ee88c(0x121))['to'](_0xddc34c,_0x8ee88c(0x117)),_0x1d9dc5[_0x8ee88c(0x125)](_0x8ee88c(0x136))['to'](this,_0x8ee88c(0x136)),_0x1d9dc5['on'](_0x8ee88c(0x120),()=>{const _0x47c704=_0x8ee88c;_0xddc34c[_0x47c704(0x117)]=!_0xddc34c[_0x47c704(0x117)],_0xddc34c[_0x47c704(0x117)]?this[_0x47c704(0x116)][_0x47c704(0x10b)]():this[_0x47c704(0x10b)]();});const _0x2b7973=()=>{const _0xe63f07=_0x8ee88c;_0x230665[_0xe63f07(0x106)][_0xe63f07(0x12d)](()=>{const _0x57f36f=_0xe63f07;if(_0x4e7bf2(this[_0x57f36f(0x128)])){const _0x563da7=new _0xd89534(this[_0x57f36f(0x107)][_0x57f36f(0x12a)][_0x57f36f(0x128)]),_0x314ae0=_0x563da7[_0x57f36f(0x111)],_0x3afa7f=_0x57f36f(0x105)===_0x4c6427[_0x57f36f(0x12b)]?_0x57f36f(0x123):_0x57f36f(0x110);_0x563da7[_0x57f36f(0x11d)](),_0x1d9dc5[_0x57f36f(0x128)][_0x57f36f(0x101)][_0x3afa7f]=_0x314ae0-_0x563da7[_0x57f36f(0x111)]+0x1+'px';}});};return this[_0x8ee88c(0x107)][_0x8ee88c(0x12a)]['on'](_0x8ee88c(0x10c),_0x2b7973),this['on'](_0x8ee88c(0x102),_0x2b7973),_0x1d9dc5;}[_0x359058(0x119)](){const _0x18235c=_0x359058,_0x358e4f=this[_0x18235c(0x107)][_0x18235c(0x12a)][_0x18235c(0x128)][_0x18235c(0x10a)];this[_0x18235c(0x127)](_0x18235c(0x119),_0x358e4f);}[_0x359058(0x10b)](_0x55ec15){const _0x34a77b=_0x359058;-0x1===_0x55ec15?this[_0x34a77b(0x113)][_0x34a77b(0x129)]():this[_0x34a77b(0x113)][_0x34a77b(0x109)]();}}
|