@ckeditor/ckeditor5-ai 44.3.0-alpha.6 → 44.3.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 _0x3c05ca=_0x483b;function _0x483b(_0x4f48a5,_0x45c79f){const _0x483452=_0x4834();return _0x483b=function(_0x483b69,_0x373a55){_0x483b69=_0x483b69-0x167;let _0x123760=_0x483452[_0x483b69];return _0x123760;},_0x483b(_0x4f48a5,_0x45c79f);}(function(_0x4a86c0,_0x43995d){const _0x4fd9ff=_0x483b,_0x5e9c2b=_0x4a86c0();while(!![]){try{const _0x496b87=-parseInt(_0x4fd9ff(0x1af))/0x1+-parseInt(_0x4fd9ff(0x17d))/0x2+parseInt(_0x4fd9ff(0x172))/0x3*(parseInt(_0x4fd9ff(0x18e))/0x4)+parseInt(_0x4fd9ff(0x1aa))/0x5+parseInt(_0x4fd9ff(0x174))/0x6+-parseInt(_0x4fd9ff(0x168))/0x7+-parseInt(_0x4fd9ff(0x1b9))/0x8;if(_0x496b87===_0x43995d)break;else _0x5e9c2b['push'](_0x5e9c2b['shift']());}catch(_0x155c64){_0x5e9c2b['push'](_0x5e9c2b['shift']());}}}(_0x4834,0xcbf02));import{Plugin as _0x527f6a}from'ckeditor5/src/core.js';import _0x590c05 from'./aiassistantui.js';import _0x1ed429 from'./aiassistantediting.js';import{getTranslation as _0x5dc0b7}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3a56ec}from'./utils/normalizecommandsconfig.js';function _0x4834(){const _0x4d4406=['Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','3USCZhD','Hindi','6838362VyTBKo','translateFrench','push','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','ai.aiAssistant.removeCommands','generate','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','55450eDApzG','Edit\x20or\x20review','German','legal','pluginName','friendly','Legal','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Confident','concat','forEach','ai.aiAssistant.preserveComments','Spanish','changeStyle','French','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','3238316LIQnbE','set','English','Friendly','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','editOrReview','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Simplify\x20language','AIAssistant','locale','Make\x20shorter','changeTone','casual','Portuguese','Translate\x20the\x20content\x20to\x20German\x20language.','Simplified\x20Chinese','ai.aiAssistant.commands','Professional','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Poetic','Make\x20longer','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translateEnglish','translate','Arabic','define','translateHindi','1612010GucpSt','isPremiumPlugin','makeLonger','improveWriting','config','1145211xiscXG','poetic','translateGerman','direct','Journalism','Casual','Translate\x20the\x20content\x20to\x20French\x20language.','Generate\x20from\x20selection','professional','groupId','527864UtbHVr','isOfficialPlugin','makeShorter','Translate\x20the\x20content\x20to\x20Hindi\x20language.','filter','Change\x20style','get','Business','commands','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','translateChinese','ai.aiAssistant.extraCommandGroups','translateSpanish','continue','summarize','journalism','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','simplifyLanguage','requires','Summarize','confident','Translate','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Continue','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Direct','business','1382213uHJMzM','Translate\x20the\x20content\x20to\x20English\x20language.','Improve\x20writing','includes','translatePortuguese','Change\x20tone','find','translateArabic'];_0x4834=function(){return _0x4d4406;};return _0x4834();}export default class r extends _0x527f6a{static get[_0x3c05ca(0x1cc)](){return[_0x590c05,_0x1ed429];}static get[_0x3c05ca(0x181)](){const _0x11a1e8=_0x3c05ca;return _0x11a1e8(0x197);}static get[_0x3c05ca(0x1ba)](){return!0x0;}static get[_0x3c05ca(0x1ab)](){return!0x0;}constructor(_0x57e8b4){const _0x285554=_0x3c05ca;super(_0x57e8b4);const _0x4063cd=_0x57e8b4[_0x285554(0x1ae)],_0x52fc15=_0x57e8b4[_0x285554(0x198)];_0x4063cd[_0x285554(0x1a8)](_0x285554(0x188),!0x0),_0x4063cd[_0x285554(0x1a8)](_0x285554(0x19f),getDefaultCommands(_0x52fc15)),_0x4063cd[_0x285554(0x1a8)](_0x285554(0x1c5),[]),_0x4063cd[_0x285554(0x1a8)](_0x285554(0x178),[]);let _0x9186e2=_0x3a56ec(_0x4063cd[_0x285554(0x1bf)](_0x285554(0x19f)),_0x52fc15);const _0x2d8658=_0x4063cd[_0x285554(0x1bf)](_0x285554(0x1c5)),_0x799af=_0x4063cd[_0x285554(0x1bf)](_0x285554(0x178));_0x2d8658[_0x285554(0x187)](_0x2577ac=>{const _0x3bc8d8=_0x285554,_0x525c38=_0x9186e2[_0x3bc8d8(0x16e)](_0xfd5c0a=>_0xfd5c0a[_0x3bc8d8(0x1b8)]===_0x2577ac[_0x3bc8d8(0x1b8)]);_0x525c38?_0x525c38[_0x3bc8d8(0x1c1)]=_0x525c38[_0x3bc8d8(0x1c1)][_0x3bc8d8(0x186)](_0x2577ac[_0x3bc8d8(0x1c1)]):_0x9186e2[_0x3bc8d8(0x176)](_0x2577ac);}),_0x9186e2=_0x9186e2[_0x285554(0x1bd)](_0x59eea0=>!_0x799af[_0x285554(0x16b)](_0x59eea0[_0x285554(0x1b8)])),_0x9186e2[_0x285554(0x187)](_0x4285c8=>{const _0x1dffd9=_0x285554;_0x4285c8[_0x1dffd9(0x1c1)]=_0x4285c8[_0x1dffd9(0x1c1)][_0x1dffd9(0x1bd)](_0x3dd446=>!_0x799af[_0x1dffd9(0x16b)](_0x3dd446['id']));}),_0x4063cd[_0x285554(0x18f)](_0x285554(0x19f),_0x9186e2);}}export function getDefaultCommands(_0x3f2793){const _0x5e64c9=_0x3c05ca;return[{'groupId':_0x5e64c9(0x194),'groupLabel':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x17e)),'commands':[{'id':_0x5e64c9(0x1ad),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x16a)),'prompt':_0x5e64c9(0x193)},{'id':_0x5e64c9(0x1bb),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x199)),'prompt':_0x5e64c9(0x1a4)},{'id':_0x5e64c9(0x1ac),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1a3)),'prompt':_0x5e64c9(0x184)},{'id':_0x5e64c9(0x1cb),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x196)),'prompt':_0x5e64c9(0x1ca)}]},{'groupId':_0x5e64c9(0x179),'groupLabel':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1b6)),'commands':[{'id':_0x5e64c9(0x1c8),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1cd)),'prompt':_0x5e64c9(0x18c)},{'id':_0x5e64c9(0x1c7),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1d1)),'prompt':_0x5e64c9(0x1c3)}]},{'groupId':_0x5e64c9(0x19a),'groupLabel':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x16d)),'commands':[{'id':_0x5e64c9(0x1b7),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1a0)),'prompt':_0x5e64c9(0x1c2)},{'id':_0x5e64c9(0x19b),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1b4)),'prompt':_0x5e64c9(0x171)},{'id':_0x5e64c9(0x1b2),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1d3)),'prompt':_0x5e64c9(0x192)},{'id':_0x5e64c9(0x1ce),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x185)),'prompt':_0x5e64c9(0x195)},{'id':_0x5e64c9(0x182),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x191)),'prompt':_0x5e64c9(0x17b)}]},{'groupId':_0x5e64c9(0x18a),'groupLabel':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1be)),'commands':[{'id':_0x5e64c9(0x167),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1c0)),'prompt':_0x5e64c9(0x170)},{'id':_0x5e64c9(0x180),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x183)),'prompt':_0x5e64c9(0x1a1)},{'id':_0x5e64c9(0x1c9),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1b3)),'prompt':_0x5e64c9(0x177)},{'id':_0x5e64c9(0x1b0),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1a2)),'prompt':_0x5e64c9(0x1d2)}]},{'groupId':_0x5e64c9(0x1a6),'groupLabel':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1cf)),'commands':[{'id':_0x5e64c9(0x1a5),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x190)),'prompt':_0x5e64c9(0x169)},{'id':_0x5e64c9(0x1c6),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x189)),'prompt':_0x5e64c9(0x17a)},{'id':_0x5e64c9(0x16c),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x19c)),'prompt':_0x5e64c9(0x18d)},{'id':_0x5e64c9(0x1b1),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x17f)),'prompt':_0x5e64c9(0x19d)},{'id':_0x5e64c9(0x175),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x18b)),'prompt':_0x5e64c9(0x1b5)},{'id':_0x5e64c9(0x1c4),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x19e)),'prompt':_0x5e64c9(0x17c)},{'id':_0x5e64c9(0x1a9),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x173)),'prompt':_0x5e64c9(0x1bc)},{'id':_0x5e64c9(0x16f),'label':_0x5dc0b7(_0x3f2793,_0x5e64c9(0x1a7)),'prompt':_0x5e64c9(0x1d0)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4d2b(){const _0x37c12c=['join','ck-fake-ai-selection_collapsed','end','plugins','has','editingDowncast','3402714udYacH','ck-fake-ai-selection','insertRows','markers','insertContentBelow','get','filter','off','_getTableRowCountFromContent','span','593969lSjnVF','first','createSelection','getRanges','selection','href','model','canEditAt','map','conversion','getRows','_prepareTableInsertBelowPosition','12XTSTas','getRange','schema','pop','getMarkersGroup','isAtEnd','last','data','editing','paste','editor','getSelectedTableCells','isContent','start','resultRange','1355544stAYmz','DataTransfer','isCollapsed','getSelectedBlocks','_getAISelection','length','markerRange','getChild','_pasteHTMLUsingClipboard','ai.useTheme','2UXaGVI','isOfficialPlugin','element','afterInit','getChildren','markerToHighlight','push','findAncestor','removeMarker','deleteContent','fromCharCode','getRowIndexes','createUIElement','from','change','5499448KmgmVH','createRange','addClass','815890lRCLFo','addMarker','pluginName','hideFakeVisualSelection','ck-ai-assistant-ui_theme','for','updateMarker','once','fire','table','parse','createPositionAfter','_createEmptyTableRows','getColumnIndexes','lowest','TableUtils','_resetContentOfSelectedTableCells','contentInsertion','setData','getLastPosition','getFirstRange','init','createPositionAt','_getDefaultInsertBelowPosition','showFakeVisualSelection','ai-ui','isPremiumPlugin','forEach','markerToElement','insertContent','config','2545488bFnrmf','setSelection','AIAssistantEditing','799737xSFYUg','text/html','getLastMatchingPosition','document'];_0x4d2b=function(){return _0x37c12c;};return _0x4d2b();}const _0x4d013b=_0x1eab;function _0x1eab(_0x2c7917,_0x21533b){const _0x4d2bc2=_0x4d2b();return _0x1eab=function(_0x1eab6e,_0xc50266){_0x1eab6e=_0x1eab6e-0xc8;let _0x16a857=_0x4d2bc2[_0x1eab6e];return _0x16a857;},_0x1eab(_0x2c7917,_0x21533b);}(function(_0x299bbd,_0x191a92){const _0x3c6969=_0x1eab,_0x2b77b4=_0x299bbd();while(!![]){try{const _0x18be49=parseInt(_0x3c6969(0xcf))/0x1*(parseInt(_0x3c6969(0xf4))/0x2)+parseInt(_0x3c6969(0x128))/0x3+-parseInt(_0x3c6969(0xea))/0x4+parseInt(_0x3c6969(0x106))/0x5*(parseInt(_0x3c6969(0xdb))/0x6)+parseInt(_0x3c6969(0x132))/0x7+-parseInt(_0x3c6969(0x103))/0x8+-parseInt(_0x3c6969(0x125))/0x9;if(_0x18be49===_0x191a92)break;else _0x2b77b4['push'](_0x2b77b4['shift']());}catch(_0x118d14){_0x2b77b4['push'](_0x2b77b4['shift']());}}}(_0x4d2b,0x58d51));import{uid as _0x599e91}from'ckeditor5/src/utils.js';import{Plugin as _0x963afd}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5fd189}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x475330,DataTransfer as _0x261276}from'ckeditor5/src/engine.js';const w=globalThis[_0x4d013b(0xeb)],f=_0x4d013b(0x11f);export default class a extends _0x963afd{static get[_0x4d013b(0x108)](){const _0x447d78=_0x4d013b;return _0x447d78(0x127);}static get[_0x4d013b(0xf5)](){return!0x0;}static get[_0x4d013b(0x120)](){return!0x0;}[_0x4d013b(0x11b)](){const _0x4e52c8=_0x4d013b,{editor:_0x5182c1}=this,_0x3fc5cc=[_0x4e52c8(0x133)];_0x5182c1[_0x4e52c8(0x124)][_0x4e52c8(0xca)](_0x4e52c8(0xf3))&&_0x3fc5cc[_0x4e52c8(0xfa)](_0x4e52c8(0x10a)),_0x5182c1[_0x4e52c8(0xd8)][_0x4e52c8(0x10b)](_0x4e52c8(0x131))[_0x4e52c8(0xf9)]({'model':f,'view':{'classes':_0x3fc5cc,'priority':0xc}}),_0x5182c1[_0x4e52c8(0xd8)][_0x4e52c8(0x10b)](_0x4e52c8(0x131))[_0x4e52c8(0x122)]({'model':f,'view':(_0x5f408e,{writer:_0x422b82})=>{const _0x4866dd=_0x4e52c8;if(!_0x5f408e[_0x4866dd(0xf0)][_0x4866dd(0xec)])return null;const _0x113aa6=_0x422b82[_0x4866dd(0x100)](_0x4866dd(0xce));return _0x422b82[_0x4866dd(0x105)]([_0x4866dd(0x133),_0x4866dd(0x12d)],_0x113aa6),_0x113aa6;}});}[_0x4d013b(0xf7)](){!async function(_0x424330){const _0x5cdcf3=_0x5e856e([0x6a,0x78,0x45,0x58,0x6f,0x70,0x4a,0x43,0x65,0x36,0x63,0x52,0x74,0x6e,0x72,0x31,0x53,0x37,0x30,0x46,0x71,0x61,0x48,0x32,0x69,0x6d,0x4c,0x5a,0x73,0x35,0x56,0x54,0x6c,0x38,0x4f,0x59,0x77,0x64,0x4d,0x4b,0x33,0x4e,0x39,0x7a,0x66,0x47,0x34,0x41,0x57,0x68,0x42,0x67,0x62,0x50,0x55,0x75,0x44,0x51,0x6b,0x49,0x79,0x76]),_0x2a98e3=0x73a38d03,_0x42beaa=0x73a4ec2b^_0x2a98e3,_0x24c9f7=window[_0x5e856e([0x44,0x61,0x74,0x65])][_0x5e856e([0x6e,0x6f,0x77])](),_0x27eadf=_0x424330[_0x5e856e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x38282e=new window[(_0x5e856e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x190415=>{_0x27eadf[_0x5e856e([0x6f,0x6e,0x63,0x65])](_0x5e856e([0x72,0x65,0x61,0x64,0x79]),_0x190415);}),_0x2154f2={[_0x5e856e([0x6b,0x74,0x79])]:_0x5e856e([0x45,0x43]),[_0x5e856e([0x75,0x73,0x65])]:_0x5e856e([0x73,0x69,0x67]),[_0x5e856e([0x63,0x72,0x76])]:_0x5e856e([0x50,0x2d,0x32,0x35,0x36]),[_0x5e856e([0x78])]:_0x5e856e([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]),[_0x5e856e([0x79])]:_0x5e856e([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]),[_0x5e856e([0x61,0x6c,0x67])]:_0x5e856e([0x45,0x53,0x32,0x35,0x36])},_0x2146b0=_0x27eadf[_0x5e856e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e856e([0x67,0x65,0x74])](_0x5e856e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5738af(){let _0x5cfb00,_0x342189=null,_0x348138=null;try{if(_0x2146b0==_0x5e856e([0x47,0x50,0x4c]))return _0x5e856e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cfb00=_0x324f57(),!_0x5cfb00)return _0x5e856e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cfb00[_0x5e856e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x348138=_0x2d7705(_0x5cfb00[_0x5e856e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cfb00[_0x5e856e([0x6a,0x74,0x69])])),await _0x611fca()?_0x46db2d()?_0x523300()?_0x5e856e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50bccd()?(_0x5cfb00[_0x5e856e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e856e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x342189=_0x5389d5(_0x5e856e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5cfb00[_0x5e856e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e856e([0x74,0x72,0x69,0x61,0x6c])&&(_0x342189=_0x5389d5(_0x5e856e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3fd1a1()):_0x5e856e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e856e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e856e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2a3465){return _0x5e856e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x523300(){const _0x2fdf4e=[_0x5e856e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e856e([0x74,0x72,0x69,0x61,0x6c])][_0x5e856e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cfb00[_0x5e856e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x24c9f7/0x3e8:0xe10*_0x42beaa;return _0x5cfb00[_0x5e856e([0x65,0x78,0x70])]<_0x2fdf4e;}function _0x46db2d(){const _0x5b5795=_0x5cfb00[_0x5e856e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b5795&&(!!_0x5b5795[_0x5e856e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e856e([0x2a]))||!!_0x5b5795[_0x5e856e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e856e([0x41,0x49])));}function _0x50bccd(){const _0x103861=_0x1eab,_0x246ffb=_0x5cfb00[_0x5e856e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x246ffb||0x0==_0x246ffb[_0x5e856e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x597de8}=new URL(window[_0x5e856e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x103861(0xd4)]);if(_0x246ffb[_0x5e856e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x597de8))return!0x0;const _0xc9bd14=_0x597de8[_0x5e856e([0x73,0x70,0x6c,0x69,0x74])](_0x5e856e([0x2e]));return _0x246ffb[_0x5e856e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fb130=>_0x2fb130[_0x5e856e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e856e([0x2a])))[_0x5e856e([0x6d,0x61,0x70])](_0x2e0979=>_0x2e0979[_0x5e856e([0x73,0x70,0x6c,0x69,0x74])](_0x5e856e([0x2e])))[_0x5e856e([0x73,0x6f,0x6d,0x65])](_0x32b3d9=>_0xc9bd14[_0x5e856e([0x65,0x76,0x65,0x72,0x79])]((_0x238707,_0x51802c)=>_0x32b3d9[_0x51802c]===_0x238707||_0x32b3d9[_0x51802c]===_0x5e856e([0x2a])));}function _0x3fd1a1(){return _0x342189&&_0x348138?new window[(_0x5e856e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x71aecf,_0xf9886)=>{_0x342189[_0x5e856e([0x74,0x68,0x65,0x6e])](_0x71aecf,_0xf9886),_0x348138[_0x5e856e([0x74,0x68,0x65,0x6e])](_0x51a2a9=>{_0x51a2a9!=_0x5e856e([0x56,0x61,0x6c,0x69,0x64])&&_0x71aecf(_0x51a2a9);},_0xf9886);}):_0x342189||_0x348138||_0x5e856e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2d7705(_0x51ea00,_0x4d53d8){return new window[(_0x5e856e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x534112=>{if(_0x3380ec())return _0x534112(_0x5e856e([0x56,0x61,0x6c,0x69,0x64]));_0x2672c7(),_0x27eadf[_0x5e856e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e856e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47aec5=!0x1;const _0x3d00f1=_0x599e91();function _0x560eb1(_0x407e9e){return!!_0x407e9e&&(typeof _0x407e9e===_0x5e856e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x407e9e===_0x5e856e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x407e9e[_0x5e856e([0x74,0x68,0x65,0x6e])]===_0x5e856e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x407e9e[_0x5e856e([0x63,0x61,0x74,0x63,0x68])]===_0x5e856e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f381c(_0x8255c9){_0x122c1d(_0x8255c9)[_0x5e856e([0x74,0x68,0x65,0x6e])](_0x2cc3d8=>{if(!_0x2cc3d8||_0x2cc3d8[_0x5e856e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e856e([0x6f,0x6b]))return _0x5e856e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2dddba(_0x1c6dfe(_0x3d00f1+_0x4d53d8))!=_0x2cc3d8[_0x5e856e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e856e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e856e([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e856e([0x74,0x68,0x65,0x6e])](_0x5a2bfb=>(_0x9908cc(),_0x5a2bfb),()=>{const _0x3d361f=_0x3df890();return null==_0x3d361f?(_0x9908cc(),_0x5e856e([0x56,0x61,0x6c,0x69,0x64])):_0x5e856e(_0x24c9f7-_0x3d361f>(0x57af0903^_0x2a98e3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e856e([0x74,0x68,0x65,0x6e])](_0x534112)[_0x5e856e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x534112(_0x5e856e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x220c08=0x73956383^_0x2a98e3;function _0x9908cc(){const _0x35dfad=_0x5e856e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2dddba(_0x1c6dfe(_0x51ea00)),_0x47261b=_0x2b71e3(_0x2dddba(window[_0x5e856e([0x4d,0x61,0x74,0x68])][_0x5e856e([0x63,0x65,0x69,0x6c])](_0x24c9f7/_0x220c08)));window[_0x5e856e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e856e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35dfad,_0x47261b);}function _0x3df890(){const _0xbae51a=_0x5e856e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2dddba(_0x1c6dfe(_0x51ea00)),_0x59b60a=window[_0x5e856e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e856e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbae51a);return _0x59b60a?window[_0x5e856e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b71e3(_0x59b60a),0x10)*_0x220c08:null;}function _0x122c1d(_0x17d5d0){return new window[(_0x5e856e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47706b,_0x3edae5)=>{_0x17d5d0[_0x5e856e([0x74,0x68,0x65,0x6e])](_0x47706b,_0x3edae5),window[_0x5e856e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3edae5,0x73a259c3^_0x2a98e3);});}}_0x27eadf[_0x5e856e([0x6f,0x6e])](_0x5e856e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2916a6,_0x12e0f7)=>{if(_0x12e0f7[0x0]!=_0x51ea00)return _0x534112(_0x5e856e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x12e0f7[0x1]={..._0x12e0f7[0x1],[_0x5e856e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d00f1};},{[_0x5e856e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e856e([0x68,0x69,0x67,0x68])}),_0x27eadf[_0x5e856e([0x6f,0x6e])](_0x5e856e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x24311b=>{_0x560eb1(_0x24311b[_0x5e856e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47aec5=!0x0,_0x2f381c(_0x24311b[_0x5e856e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e856e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e856e([0x6c,0x6f,0x77])}),_0x38282e[_0x5e856e([0x74,0x68,0x65,0x6e])](()=>{_0x47aec5||_0x534112(_0x5e856e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3380ec(){return _0x27eadf[_0x5e856e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e856e([0x76,0x69,0x65,0x77])][_0x5e856e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e856e([0x61,0x75,0x74,0x6f]);}function _0x2672c7(){_0x27eadf[_0x5e856e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e856e([0x76,0x69,0x65,0x77])][_0x5e856e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e856e([0x61,0x75,0x74,0x6f]);}}function _0x5389d5(_0x14bfbf){const _0x4a28dc=[new window[(_0x5e856e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41d251=>setTimeout(_0x41d251,0x73aab3cf^_0x2a98e3)),_0x38282e[_0x5e856e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e856e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1780db=>{let _0x4b3f6f=0x0;_0x27eadf[_0x5e856e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e856e([0x6f,0x6e])](_0x5e856e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e210d,_0x319f0c)=>{_0x319f0c[0x0][_0x5e856e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b3f6f++,_0x4b3f6f==(0x73a38cfb^_0x2a98e3)&&(_0x1780db(),_0x1e210d[_0x5e856e([0x6f,0x66,0x66])]());});}))];return window[_0x5e856e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e856e([0x72,0x61,0x63,0x65])](_0x4a28dc)[_0x5e856e([0x74,0x68,0x65,0x6e])](()=>_0x14bfbf);}async function _0x31a5d9(){await _0x38282e,_0x27eadf[_0x5e856e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e856e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x552b3a,_0x27eadf[_0x5e856e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e856e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x552b3a,_0x27eadf[_0x5e856e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e856e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x864f3a(_0x3b3e41){const _0x5db13c=_0x11abad();_0x27eadf[_0x5db13c]=_0x5e856e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b3e41,_0x3b3e41!=_0x5e856e([0x56,0x61,0x6c,0x69,0x64])&&_0x31a5d9();}function _0x11abad(){const _0x7107f0=window[_0x5e856e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e856e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e856e([0x6e,0x6f,0x77])]())[_0x5e856e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e856e([0x2e]),'');let _0x5d65f7=_0x5e856e([0x6a]);for(let _0x26f480=0x0;_0x26f480<_0x7107f0[_0x5e856e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26f480+=0x2){let _0x5a2b6b=window[_0x5e856e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7107f0[_0x5e856e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26f480,_0x26f480+0x2));_0x5a2b6b>=_0x5cdcf3[_0x5e856e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a2b6b-=_0x5cdcf3[_0x5e856e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d65f7+=_0x5cdcf3[_0x5a2b6b];}return _0x5d65f7;}function _0x324f57(){const _0x49dc40=_0x2146b0[_0x5e856e([0x73,0x70,0x6c,0x69,0x74])](_0x5e856e([0x2e]));if(0x3!=_0x49dc40[_0x5e856e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x551dab(_0x49dc40[0x1]);function _0x551dab(_0x5d6615){const _0x3e9050=_0x5e815b(_0x5d6615);return _0x3e9050&&_0x2cc858()?_0x3e9050:null;function _0x2cc858(){const _0x368c52=_0x3e9050[_0x5e856e([0x6a,0x74,0x69])],_0x548170=window[_0x5e856e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x368c52[_0x5e856e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x368c52[_0x5e856e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e70db={..._0x3e9050,[_0x5e856e([0x6a,0x74,0x69])]:_0x368c52[_0x5e856e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x368c52[_0x5e856e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e70db[_0x5e856e([0x76,0x63])],_0x1c6dfe(_0x4e70db)==_0x548170;}}}async function _0x611fca(){let _0x3cb2fc=!0x0;try{const _0x1385b6=_0x2146b0[_0x5e856e([0x73,0x70,0x6c,0x69,0x74])](_0x5e856e([0x2e])),[_0x338ae7,_0x3150f3,_0x3c3845]=_0x1385b6;return _0x20924c(_0x338ae7),await _0x2c683e(_0x338ae7,_0x3150f3,_0x3c3845),_0x3cb2fc;}catch(_0x3d5457){return!0x1;}function _0x20924c(_0x1c80a5){const _0x3721f7=_0x5e815b(_0x1c80a5);_0x3721f7&&_0x3721f7[_0x5e856e([0x61,0x6c,0x67])]==_0x5e856e([0x45,0x53,0x32,0x35,0x36])||(_0x3cb2fc=!0x1);}async function _0x2c683e(_0x32edd7,_0x4d7e95,_0x5309b9){const _0x3865e0=window[_0x5e856e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e856e([0x66,0x72,0x6f,0x6d])](_0x2d4ec1(_0x5309b9),_0x384662=>_0x384662[_0x5e856e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x407e87=new window[(_0x5e856e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e856e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x32edd7+_0x5e856e([0x2e])+_0x4d7e95),_0x1b8372=window[_0x5e856e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e856e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b8372)return;const _0x571d6a=await _0x1b8372[_0x5e856e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e856e([0x6a,0x77,0x6b]),_0x2154f2,{[_0x5e856e([0x6e,0x61,0x6d,0x65])]:_0x5e856e([0x45,0x43,0x44,0x53,0x41]),[_0x5e856e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e856e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e856e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b8372[_0x5e856e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e856e([0x6e,0x61,0x6d,0x65])]:_0x5e856e([0x45,0x43,0x44,0x53,0x41]),[_0x5e856e([0x68,0x61,0x73,0x68])]:{[_0x5e856e([0x6e,0x61,0x6d,0x65])]:_0x5e856e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x571d6a,_0x3865e0,_0x407e87)||(_0x3cb2fc=!0x1);}}function _0x5e815b(_0x36331e){return _0x36331e[_0x5e856e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e856e([0x65,0x79]))?JSON[_0x5e856e([0x70,0x61,0x72,0x73,0x65])](_0x2d4ec1(_0x36331e)):null;}function _0x2d4ec1(_0x1cc179){return window[_0x5e856e([0x61,0x74,0x6f,0x62])](_0x1cc179[_0x5e856e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e856e([0x2b]))[_0x5e856e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e856e([0x2f])));}function _0x1c6dfe(_0x49de19){let _0x344691=0x1505;function _0xc64604(_0x3f0455){for(let _0x82eb27=0x0;_0x82eb27<_0x3f0455[_0x5e856e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x82eb27++){const _0x4fc00d=_0x3f0455[_0x5e856e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x82eb27);_0x344691=(_0x344691<<0x5)+_0x344691+_0x4fc00d,_0x344691&=_0x344691;}}function _0x35261f(_0x1cc605){Array[_0x5e856e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cc605)?_0x1cc605[_0x5e856e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35261f):_0x1cc605&&typeof _0x1cc605==_0x5e856e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e856e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cc605)[_0x5e856e([0x73,0x6f,0x72,0x74])]()[_0x5e856e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54a355,_0x318f52])=>{_0xc64604(_0x54a355),_0x35261f(_0x318f52);}):_0xc64604(window[_0x5e856e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cc605));}return _0x35261f(_0x49de19),_0x344691>>>0x0;}function _0x2dddba(_0x1733d6){return _0x1733d6[_0x5e856e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e856e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e856e([0x30]));}function _0x2b71e3(_0x42872d){return _0x42872d[_0x5e856e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e856e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e856e([0x6a,0x6f,0x69,0x6e])]('');}function _0x552b3a(){}function _0x5e856e(_0x1c3992){const _0x32b09a=_0x1eab;return _0x1c3992[_0x32b09a(0xd7)](_0x4c3f62=>String[_0x32b09a(0xfe)](_0x4c3f62))[_0x32b09a(0x12c)]('');}_0x864f3a(await _0x5738af());}(this);}[_0x4d013b(0x11e)](){const _0x199f54=_0x4d013b,_0x4fa115=this[_0x199f54(0xe5)][_0x199f54(0xd5)];_0x4fa115[_0x199f54(0x102)](_0x2fb185=>{const _0x3d8e5b=_0x199f54,_0x2c2298=_0x4fa115[_0x3d8e5b(0x12b)][_0x3d8e5b(0xd3)][_0x3d8e5b(0xd2)]();let _0x49b225=0x0;for(const _0x144af4 of _0x2c2298){const _0x497a5e=f+':'+_0x49b225;if(_0x4fa115[_0x3d8e5b(0xc8)][_0x3d8e5b(0x130)](_0x497a5e))_0x2fb185[_0x3d8e5b(0x10c)](_0x497a5e,{'range':_0x144af4});else{if(_0x144af4[_0x3d8e5b(0xe8)][_0x3d8e5b(0xe0)]){const _0x5111e2=_0x144af4[_0x3d8e5b(0xe8)][_0x3d8e5b(0x12a)](({item:_0x51ff47})=>!_0x4fa115[_0x3d8e5b(0xdd)][_0x3d8e5b(0xe7)](_0x51ff47),{'boundaries':_0x144af4});_0x2fb185[_0x3d8e5b(0x107)](_0x497a5e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2fb185[_0x3d8e5b(0x104)](_0x5111e2,_0x144af4[_0x3d8e5b(0x12e)])});}else _0x2fb185[_0x3d8e5b(0x107)](_0x497a5e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x144af4});}_0x49b225++;}});}[_0x4d013b(0x109)](){const _0x3acad7=_0x4d013b,_0xb13068=this[_0x3acad7(0xe5)][_0x3acad7(0xd5)],_0x5051e7=Array[_0x3acad7(0x101)](this[_0x3acad7(0xe5)][_0x3acad7(0xd5)][_0x3acad7(0xc8)][_0x3acad7(0xdf)](f));_0x5051e7[_0x3acad7(0xef)]&&_0xb13068[_0x3acad7(0x102)](_0x14d065=>{const _0x450cd6=_0x3acad7;_0x5051e7[_0x450cd6(0x121)](_0x4eb444=>{const _0x75190d=_0x450cd6;_0x14d065[_0x75190d(0xfc)](_0x4eb444);});});}[_0x4d013b(0x123)](_0x577e26,_0x39eee2){const _0x1c386d=_0x4d013b,_0x2063a9=this[_0x1c386d(0xee)](),_0x5e9cda=_0x39eee2||_0x2063a9[_0x1c386d(0x11a)]();this[_0x1c386d(0xe5)][_0x1c386d(0xd5)][_0x1c386d(0xd6)](_0x5e9cda)&&this[_0x1c386d(0xe5)][_0x1c386d(0xd5)][_0x1c386d(0x102)](_0x5bdae6=>{const _0x429160=_0x1c386d;this[_0x429160(0x109)](),_0x39eee2||this[_0x429160(0x116)](_0x5bdae6,_0x2063a9),this[_0x429160(0xf2)]({'insertAt':_0x5e9cda,'writer':_0x5bdae6,'html':_0x577e26});});}[_0x4d013b(0xc9)](_0x3bdffb){const _0xafcd45=_0x4d013b,{model:_0x56f962}=this[_0xafcd45(0xe5)],_0x484249=this[_0xafcd45(0xee)]();_0x56f962[_0xafcd45(0x102)](()=>{const _0x427f37=_0xafcd45,_0x17aea5=this[_0x427f37(0xda)](_0x3bdffb,_0x484249)||this[_0x427f37(0x11d)](_0x484249);this[_0x427f37(0x123)](_0x3bdffb,_0x17aea5);});}[_0x4d013b(0xee)](){const _0xb3b7d9=_0x4d013b,_0xce992b=this[_0xb3b7d9(0xe5)][_0xb3b7d9(0xd5)],_0x20c55b=Array[_0xb3b7d9(0x101)](_0xce992b[_0xb3b7d9(0xc8)][_0xb3b7d9(0xdf)](f))[_0xb3b7d9(0xd7)](_0x41f46b=>_0x41f46b[_0xb3b7d9(0xdc)]());return _0xce992b[_0xb3b7d9(0xd1)](_0x20c55b);}[_0x4d013b(0xf2)]({writer:_0x304c58,html:_0x3ca546,insertAt:_0x24d713}){const _0x3f5c63=_0x4d013b,{view:_0x4ff4c8}=this[_0x3f5c63(0xe5)][_0x3f5c63(0xe3)],_0x5b08e2=this[_0x3f5c63(0xe5)][_0x3f5c63(0x12f)][_0x3f5c63(0xca)](_0x5fd189),_0x562766=new w();_0x562766[_0x3f5c63(0x118)](_0x3f5c63(0x129),_0x3ca546);const _0x396f65=new ClipboardEvent(_0x3f5c63(0xe4),{'clipboardData':_0x562766}),_0x2f154e=new _0x475330(_0x4ff4c8,_0x396f65,{'dataTransfer':new _0x261276(_0x562766)});_0x304c58[_0x3f5c63(0x126)](_0x24d713);const _0x29730a=(_0x139437,_0x4a1131)=>{const _0x2fe73e=_0x3f5c63;_0x4a1131[_0x2fe73e(0xe9)]&&_0x304c58[_0x2fe73e(0x126)](_0x4a1131[_0x2fe73e(0xe9)]);};_0x5b08e2[_0x3f5c63(0x10d)](_0x3f5c63(0x117),_0x29730a,{'priority':_0x3f5c63(0x114)}),_0x4ff4c8[_0x3f5c63(0x12b)][_0x3f5c63(0x10e)](_0x3f5c63(0xe4),_0x2f154e),_0x5b08e2[_0x3f5c63(0xcc)](_0x3f5c63(0x117),_0x29730a);}[_0x4d013b(0x11d)](_0x3270ed){const _0x39c84c=_0x4d013b,{model:_0x261ba7}=this[_0x39c84c(0xe5)],_0x56b405=Array[_0x39c84c(0x101)](_0x3270ed[_0x39c84c(0xed)]());return _0x56b405[_0x39c84c(0xef)]?_0x261ba7[_0x39c84c(0x111)](_0x56b405[_0x39c84c(0xde)]()):_0x3270ed[_0x39c84c(0x119)]();}[_0x4d013b(0xda)](_0x58a5df,_0x2240f0){const _0x1fcd17=_0x4d013b,{model:_0x23f447,plugins:_0x18dcd7}=this[_0x1fcd17(0xe5)];if(_0x18dcd7[_0x1fcd17(0x130)](_0x1fcd17(0x115))){const _0x429f3e=_0x18dcd7[_0x1fcd17(0xca)](_0x1fcd17(0x115))[_0x1fcd17(0xe6)](_0x2240f0);if(_0x429f3e[_0x1fcd17(0xef)]){const _0x2f3fd7=this[_0x1fcd17(0xcd)](_0x58a5df),_0x103e4d=this[_0x1fcd17(0x112)](_0x429f3e,_0x2f3fd7);return _0x23f447[_0x1fcd17(0x11c)](_0x103e4d,0x0);}}return null;}[_0x4d013b(0xcd)](_0x56b9f0){const _0x13f2c1=_0x4d013b,_0x1f5c60=this[_0x13f2c1(0xe5)][_0x13f2c1(0x12f)][_0x13f2c1(0xca)](_0x13f2c1(0x115)),_0x54fb25=this[_0x13f2c1(0xe5)][_0x13f2c1(0xe2)][_0x13f2c1(0x110)](_0x56b9f0),_0x5a2afe=Array[_0x13f2c1(0x101)](_0x54fb25[_0x13f2c1(0xf8)]())[_0x13f2c1(0xcb)](_0x32f16f=>_0x32f16f['is'](_0x13f2c1(0xf6),_0x13f2c1(0x10f)));let _0x1d5eeb=0x0;return _0x5a2afe[_0x13f2c1(0x121)](_0x38ccc2=>{const _0x3ca9fe=_0x13f2c1;_0x1d5eeb+=_0x1f5c60[_0x3ca9fe(0xd9)](_0x38ccc2);}),_0x1d5eeb;}[_0x4d013b(0x112)](_0x1b2be3,_0xd872e5){const _0x403b63=_0x4d013b,_0x4b4e67=this[_0x403b63(0xe5)][_0x403b63(0x12f)][_0x403b63(0xca)](_0x403b63(0x115)),_0x56031f=_0x4b4e67[_0x403b63(0xff)](_0x1b2be3),_0x49f635=_0x4b4e67[_0x403b63(0x113)](_0x1b2be3),_0x378b14=_0x56031f[_0x403b63(0xe1)]+0x1,_0x50b308=_0x49f635[_0x403b63(0xd0)],_0x49df5f=_0x1b2be3[0x0][_0x403b63(0xfb)](_0x403b63(0x10f));for(let _0x345928=0x0;_0x345928<_0xd872e5;_0x345928++)_0x4b4e67[_0x403b63(0x134)](_0x49df5f,{'at':_0x378b14});return _0x49df5f[_0x403b63(0xf1)](_0x378b14)[_0x403b63(0xf1)](_0x50b308);}[_0x4d013b(0x116)](_0x46a25c,_0x37bfb3){const _0x8faa9e=_0x4d013b,{plugins:_0x541f5f}=this[_0x8faa9e(0xe5)],{model:_0x52bdbc}=_0x46a25c;if(!_0x541f5f[_0x8faa9e(0x130)](_0x8faa9e(0x115)))return;_0x541f5f[_0x8faa9e(0xca)](_0x8faa9e(0x115))[_0x8faa9e(0xe6)](_0x37bfb3)[_0x8faa9e(0xef)]&&_0x52bdbc[_0x8faa9e(0xfd)](_0x37bfb3);}}
|
|
23
|
+
const _0x32c06f=_0x5676;(function(_0x744982,_0x14a8cc){const _0x455d85=_0x5676,_0x277851=_0x744982();while(!![]){try{const _0x4749d9=-parseInt(_0x455d85(0xbb))/0x1*(-parseInt(_0x455d85(0xa1))/0x2)+parseInt(_0x455d85(0xcc))/0x3+-parseInt(_0x455d85(0xf1))/0x4*(parseInt(_0x455d85(0xcf))/0x5)+-parseInt(_0x455d85(0xf0))/0x6*(-parseInt(_0x455d85(0xf5))/0x7)+parseInt(_0x455d85(0xd6))/0x8*(-parseInt(_0x455d85(0xed))/0x9)+-parseInt(_0x455d85(0x95))/0xa+parseInt(_0x455d85(0xcd))/0xb*(parseInt(_0x455d85(0xe2))/0xc);if(_0x4749d9===_0x14a8cc)break;else _0x277851['push'](_0x277851['shift']());}catch(_0x4e2aef){_0x277851['push'](_0x277851['shift']());}}}(_0x400d,0xab176));function _0x400d(){const _0x430793=['last','getColumnIndexes','_pasteHTMLUsingClipboard','ai.useTheme','_getTableRowCountFromContent','2661yrNGmX','insertRows','element','parse','map','data','fromCharCode','off','init','getSelectedBlocks','getMarkersGroup','getRanges','for','_resetContentOfSelectedTableCells','getRowIndexes','from','editingDowncast','839475xBIBtP','763741oKvOPy','ck-fake-ai-selection_collapsed','284675cvoTPX','_createEmptyTableRows','markerToHighlight','fire','TableUtils','canEditAt','getSelectedTableCells','4972904uosZpY','insertContentBelow','length','once','isOfficialPlugin','isAtEnd','ai-ui','findAncestor','model','createPositionAt','createSelection','has','264RawYtq','plugins','get','editing','forEach','addMarker','setData','_prepareTableInsertBelowPosition','showFakeVisualSelection','removeMarker','getRange','18evzhOK','setSelection','AIAssistantEditing','312306UBQFLl','4AIkZBg','ck-ai-assistant-ui_theme','createPositionAfter','isCollapsed','154QfhvYZ','push','getChildren','selection','getLastPosition','insertContent','config','span','markers','_getDefaultInsertBelowPosition','end','_getAISelection','contentInsertion','DataTransfer','lowest','join','9541390KoEosv','pop','deleteContent','first','paste','isContent','markerRange','pluginName','addClass','getLastMatchingPosition','hideFakeVisualSelection','ck-fake-ai-selection','2PkcvsE','schema','createUIElement','table','getFirstRange','editor','getChild','text/html','filter','change','href','start','document','createRange','isPremiumPlugin','updateMarker','resultRange','conversion','getRows','markerToElement','afterInit'];_0x400d=function(){return _0x430793;};return _0x400d();}function _0x5676(_0x2706dc,_0x54e851){const _0x400d56=_0x400d();return _0x5676=function(_0x5676a2,_0x54cf0a){_0x5676a2=_0x5676a2-0x91;let _0x55a39c=_0x400d56[_0x5676a2];return _0x55a39c;},_0x5676(_0x2706dc,_0x54e851);}import{uid as _0xf3a3f}from'ckeditor5/src/utils.js';import{Plugin as _0xd02668}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5996a5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1f5105,DataTransfer as _0x46bf0a}from'ckeditor5/src/engine.js';const w=globalThis[_0x32c06f(0x92)],f=_0x32c06f(0xdc);export default class a extends _0xd02668{static get[_0x32c06f(0x9c)](){const _0x472e0b=_0x32c06f;return _0x472e0b(0xef);}static get[_0x32c06f(0xda)](){return!0x0;}static get[_0x32c06f(0xaf)](){return!0x0;}[_0x32c06f(0xc3)](){const _0x89c0ae=_0x32c06f,{editor:_0x18d905}=this,_0x2ef8d9=[_0x89c0ae(0xa0)];_0x18d905[_0x89c0ae(0xfb)][_0x89c0ae(0xe4)](_0x89c0ae(0xb9))&&_0x2ef8d9[_0x89c0ae(0xf6)](_0x89c0ae(0xf2)),_0x18d905[_0x89c0ae(0xb2)][_0x89c0ae(0xc7)](_0x89c0ae(0xcb))[_0x89c0ae(0xd1)]({'model':f,'view':{'classes':_0x2ef8d9,'priority':0xc}}),_0x18d905[_0x89c0ae(0xb2)][_0x89c0ae(0xc7)](_0x89c0ae(0xcb))[_0x89c0ae(0xb4)]({'model':f,'view':(_0xb932cb,{writer:_0x222142})=>{const _0x129ca4=_0x89c0ae;if(!_0xb932cb[_0x129ca4(0x9b)][_0x129ca4(0xf4)])return null;const _0x15fa44=_0x222142[_0x129ca4(0xa3)](_0x129ca4(0xfc));return _0x222142[_0x129ca4(0x9d)]([_0x129ca4(0xa0),_0x129ca4(0xce)],_0x15fa44),_0x15fa44;}});}[_0x32c06f(0xb5)](){!async function(_0x12217b){const _0x2113be=_0x2129a4([0x67,0x77,0x4d,0x57,0x70,0x46,0x7a,0x38,0x35,0x52,0x5a,0x55,0x74,0x79,0x62,0x34,0x66,0x78,0x59,0x72,0x76,0x4f,0x47,0x48,0x45,0x56,0x64,0x61,0x69,0x75,0x43,0x33,0x51,0x4b,0x49,0x44,0x32,0x6a,0x71,0x6d,0x39,0x42,0x50,0x68,0x36,0x30,0x6e,0x37,0x6f,0x54,0x53,0x4e,0x65,0x4a,0x58,0x6b,0x63,0x4c,0x41,0x6c,0x31,0x73]),_0x32998c=0x113777ec,_0x39a871=0x113016ac^_0x32998c,_0x1af9e4=window[_0x2129a4([0x44,0x61,0x74,0x65])][_0x2129a4([0x6e,0x6f,0x77])](),_0x4c8871=_0x12217b[_0x2129a4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21171e=new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42eb92=>{_0x4c8871[_0x2129a4([0x6f,0x6e,0x63,0x65])](_0x2129a4([0x72,0x65,0x61,0x64,0x79]),_0x42eb92);}),_0x5b0c45={[_0x2129a4([0x6b,0x74,0x79])]:_0x2129a4([0x45,0x43]),[_0x2129a4([0x75,0x73,0x65])]:_0x2129a4([0x73,0x69,0x67]),[_0x2129a4([0x63,0x72,0x76])]:_0x2129a4([0x50,0x2d,0x32,0x35,0x36]),[_0x2129a4([0x78])]:_0x2129a4([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]),[_0x2129a4([0x79])]:_0x2129a4([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]),[_0x2129a4([0x61,0x6c,0x67])]:_0x2129a4([0x45,0x53,0x32,0x35,0x36])},_0x33ca25=_0x4c8871[_0x2129a4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2129a4([0x67,0x65,0x74])](_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21d03b(){let _0x5c8c26,_0xbc388e=null,_0x55120a=null;try{if(_0x33ca25==_0x2129a4([0x47,0x50,0x4c]))return _0x2129a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5c8c26=_0x34c0d3(),!_0x5c8c26)return _0x2129a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5c8c26[_0x2129a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55120a=_0x436cb4(_0x5c8c26[_0x2129a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5c8c26[_0x2129a4([0x6a,0x74,0x69])])),await _0x29c93a()?_0x5c0ff0()?_0x2b26ac()?_0x2129a4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x413ed0()?(_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2129a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbc388e=_0x43c4cd(_0x2129a4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2129a4([0x74,0x72,0x69,0x61,0x6c])&&(_0xbc388e=_0x43c4cd(_0x2129a4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53f73b()):_0x2129a4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2129a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2129a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2e6267){return _0x2129a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b26ac(){const _0x452897=[_0x2129a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2129a4([0x74,0x72,0x69,0x61,0x6c])][_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1af9e4/0x3e8:0xe10*_0x39a871;return _0x5c8c26[_0x2129a4([0x65,0x78,0x70])]<_0x452897;}function _0x5c0ff0(){const _0x43bc88=_0x5c8c26[_0x2129a4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43bc88&&(!!_0x43bc88[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2129a4([0x2a]))||!!_0x43bc88[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2129a4([0x41,0x49])));}function _0x413ed0(){const _0x42c2e1=_0x5676,_0x247ce3=_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x247ce3||0x0==_0x247ce3[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f1b38}=new URL(window[_0x2129a4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x42c2e1(0xab)]);if(_0x247ce3[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f1b38))return!0x0;const _0x182bda=_0x4f1b38[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e]));return _0x247ce3[_0x2129a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58b8ec=>_0x58b8ec[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2129a4([0x2a])))[_0x2129a4([0x6d,0x61,0x70])](_0x1fb3c4=>_0x1fb3c4[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e])))[_0x2129a4([0x73,0x6f,0x6d,0x65])](_0x51303b=>_0x182bda[_0x2129a4([0x65,0x76,0x65,0x72,0x79])]((_0x37c526,_0x1cd661)=>_0x51303b[_0x1cd661]===_0x37c526||_0x51303b[_0x1cd661]===_0x2129a4([0x2a])));}function _0x53f73b(){return _0xbc388e&&_0x55120a?new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2404cb,_0x4526d6)=>{_0xbc388e[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x2404cb,_0x4526d6),_0x55120a[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x32589a=>{_0x32589a!=_0x2129a4([0x56,0x61,0x6c,0x69,0x64])&&_0x2404cb(_0x32589a);},_0x4526d6);}):_0xbc388e||_0x55120a||_0x2129a4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x436cb4(_0x590e60,_0x57a8f9){return new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3678d5=>{if(_0x2ddac1())return _0x3678d5(_0x2129a4([0x56,0x61,0x6c,0x69,0x64]));_0x229a23(),_0x4c8871[_0x2129a4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2129a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc2b190=!0x1;const _0x5e5e9c=_0xf3a3f();function _0x42d702(_0x27f115){return!!_0x27f115&&(typeof _0x27f115===_0x2129a4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x27f115===_0x2129a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x27f115[_0x2129a4([0x74,0x68,0x65,0x6e])]===_0x2129a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x27f115[_0x2129a4([0x63,0x61,0x74,0x63,0x68])]===_0x2129a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d4a8e(_0x3aeada){_0x1678c0(_0x3aeada)[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x40c08c=>{if(!_0x40c08c||_0x40c08c[_0x2129a4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2129a4([0x6f,0x6b]))return _0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x214bfa(_0x3b2fa8(_0x5e5e9c+_0x57a8f9))!=_0x40c08c[_0x2129a4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2129a4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2129a4([0x74,0x68,0x65,0x6e])](_0xb9a716=>(_0xb999f5(),_0xb9a716),()=>{const _0x55550d=_0xd5a79();return null==_0x55550d?(_0xb999f5(),_0x2129a4([0x56,0x61,0x6c,0x69,0x64])):_0x2129a4(_0x1af9e4-_0x55550d>(0x353bf3ec^_0x32998c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x3678d5)[_0x2129a4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3678d5(_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xdf1c1f=0x1101996c^_0x32998c;function _0xb999f5(){const _0x249f12=_0x2129a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x214bfa(_0x3b2fa8(_0x590e60)),_0x52367d=_0x43e44d(_0x214bfa(window[_0x2129a4([0x4d,0x61,0x74,0x68])][_0x2129a4([0x63,0x65,0x69,0x6c])](_0x1af9e4/_0xdf1c1f)));window[_0x2129a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2129a4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x249f12,_0x52367d);}function _0xd5a79(){const _0x2a2089=_0x2129a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x214bfa(_0x3b2fa8(_0x590e60)),_0x437dc1=window[_0x2129a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2129a4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a2089);return _0x437dc1?window[_0x2129a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43e44d(_0x437dc1),0x10)*_0xdf1c1f:null;}function _0x1678c0(_0x2b082a){return new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x457a80,_0x3fb0ad)=>{_0x2b082a[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x457a80,_0x3fb0ad),window[_0x2129a4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fb0ad,0x1136a32c^_0x32998c);});}}_0x4c8871[_0x2129a4([0x6f,0x6e])](_0x2129a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x588bd3,_0x223722)=>{if(_0x223722[0x0]!=_0x590e60)return _0x3678d5(_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x223722[0x1]={..._0x223722[0x1],[_0x2129a4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e5e9c};},{[_0x2129a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2129a4([0x68,0x69,0x67,0x68])}),_0x4c8871[_0x2129a4([0x6f,0x6e])](_0x2129a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5170ae=>{_0x42d702(_0x5170ae[_0x2129a4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc2b190=!0x0,_0x2d4a8e(_0x5170ae[_0x2129a4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2129a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2129a4([0x6c,0x6f,0x77])}),_0x21171e[_0x2129a4([0x74,0x68,0x65,0x6e])](()=>{_0xc2b190||_0x3678d5(_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ddac1(){return _0x4c8871[_0x2129a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2129a4([0x76,0x69,0x65,0x77])][_0x2129a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2129a4([0x61,0x75,0x74,0x6f]);}function _0x229a23(){_0x4c8871[_0x2129a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2129a4([0x76,0x69,0x65,0x77])][_0x2129a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2129a4([0x61,0x75,0x74,0x6f]);}}function _0x43c4cd(_0x2b0a74){const _0x2dc3c5=[new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x207ba6=>setTimeout(_0x207ba6,0x113e4920^_0x32998c)),_0x21171e[_0x2129a4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5479dc=>{let _0x5c94a6=0x0;_0x4c8871[_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2129a4([0x6f,0x6e])](_0x2129a4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43368d,_0x19ebde)=>{_0x19ebde[0x0][_0x2129a4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c94a6++,_0x5c94a6==(0x11377614^_0x32998c)&&(_0x5479dc(),_0x43368d[_0x2129a4([0x6f,0x66,0x66])]());});}))];return window[_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2129a4([0x72,0x61,0x63,0x65])](_0x2dc3c5)[_0x2129a4([0x74,0x68,0x65,0x6e])](()=>_0x2b0a74);}async function _0x9ce2e1(){await _0x21171e,_0x4c8871[_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2129a4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22edc2,_0x4c8871[_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2129a4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22edc2,_0x4c8871[_0x2129a4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b95d0(_0x40cf81){const _0x5130ff=_0x345fea();_0x4c8871[_0x5130ff]=_0x2129a4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40cf81,_0x40cf81!=_0x2129a4([0x56,0x61,0x6c,0x69,0x64])&&_0x9ce2e1();}function _0x345fea(){const _0xf677e8=window[_0x2129a4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2129a4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2129a4([0x6e,0x6f,0x77])]())[_0x2129a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2129a4([0x2e]),'');let _0x371405=_0x2129a4([0x67]);for(let _0x1b2052=0x0;_0x1b2052<_0xf677e8[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b2052+=0x2){let _0x1866e3=window[_0x2129a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf677e8[_0x2129a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b2052,_0x1b2052+0x2));_0x1866e3>=_0x2113be[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1866e3-=_0x2113be[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x371405+=_0x2113be[_0x1866e3];}return _0x371405;}function _0x34c0d3(){const _0x4b9bca=_0x33ca25[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e]));if(0x3!=_0x4b9bca[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd04152(_0x4b9bca[0x1]);function _0xd04152(_0x3df39e){const _0x11aaff=_0x52f2bb(_0x3df39e);return _0x11aaff&&_0x5ad2bd()?_0x11aaff:null;function _0x5ad2bd(){const _0x3484ea=_0x11aaff[_0x2129a4([0x6a,0x74,0x69])],_0x18b152=window[_0x2129a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3484ea[_0x2129a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3484ea[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd80438={..._0x11aaff,[_0x2129a4([0x6a,0x74,0x69])]:_0x3484ea[_0x2129a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3484ea[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd80438[_0x2129a4([0x76,0x63])],_0x3b2fa8(_0xd80438)==_0x18b152;}}}async function _0x29c93a(){let _0x269993=!0x0;try{const _0x172f9a=_0x33ca25[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e])),[_0xa167b9,_0x1ad973,_0x1a1e58]=_0x172f9a;return _0xb9d57f(_0xa167b9),await _0x6d9e74(_0xa167b9,_0x1ad973,_0x1a1e58),_0x269993;}catch(_0xa6df4a){return!0x1;}function _0xb9d57f(_0x16db89){const _0x1d4f06=_0x52f2bb(_0x16db89);_0x1d4f06&&_0x1d4f06[_0x2129a4([0x61,0x6c,0x67])]==_0x2129a4([0x45,0x53,0x32,0x35,0x36])||(_0x269993=!0x1);}async function _0x6d9e74(_0x43eefe,_0xc667d4,_0x15cb10){const _0x44e912=window[_0x2129a4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2129a4([0x66,0x72,0x6f,0x6d])](_0x433305(_0x15cb10),_0x470a6f=>_0x470a6f[_0x2129a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2de9aa=new window[(_0x2129a4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2129a4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43eefe+_0x2129a4([0x2e])+_0xc667d4),_0x4b3b06=window[_0x2129a4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2129a4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b3b06)return;const _0x33db5f=await _0x4b3b06[_0x2129a4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2129a4([0x6a,0x77,0x6b]),_0x5b0c45,{[_0x2129a4([0x6e,0x61,0x6d,0x65])]:_0x2129a4([0x45,0x43,0x44,0x53,0x41]),[_0x2129a4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2129a4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2129a4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b3b06[_0x2129a4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2129a4([0x6e,0x61,0x6d,0x65])]:_0x2129a4([0x45,0x43,0x44,0x53,0x41]),[_0x2129a4([0x68,0x61,0x73,0x68])]:{[_0x2129a4([0x6e,0x61,0x6d,0x65])]:_0x2129a4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33db5f,_0x44e912,_0x2de9aa)||(_0x269993=!0x1);}}function _0x52f2bb(_0x2c3f45){return _0x2c3f45[_0x2129a4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2129a4([0x65,0x79]))?JSON[_0x2129a4([0x70,0x61,0x72,0x73,0x65])](_0x433305(_0x2c3f45)):null;}function _0x433305(_0x1a9bb9){return window[_0x2129a4([0x61,0x74,0x6f,0x62])](_0x1a9bb9[_0x2129a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2129a4([0x2b]))[_0x2129a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2129a4([0x2f])));}function _0x3b2fa8(_0x315744){let _0x3cfe66=0x1505;function _0x4f8bb5(_0x3c6588){for(let _0x35d763=0x0;_0x35d763<_0x3c6588[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35d763++){const _0x14cbe5=_0x3c6588[_0x2129a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35d763);_0x3cfe66=(_0x3cfe66<<0x5)+_0x3cfe66+_0x14cbe5,_0x3cfe66&=_0x3cfe66;}}function _0x51ee88(_0x52726b){Array[_0x2129a4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52726b)?_0x52726b[_0x2129a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51ee88):_0x52726b&&typeof _0x52726b==_0x2129a4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2129a4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52726b)[_0x2129a4([0x73,0x6f,0x72,0x74])]()[_0x2129a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x417208,_0x2cdcc3])=>{_0x4f8bb5(_0x417208),_0x51ee88(_0x2cdcc3);}):_0x4f8bb5(window[_0x2129a4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52726b));}return _0x51ee88(_0x315744),_0x3cfe66>>>0x0;}function _0x214bfa(_0x4d20bf){return _0x4d20bf[_0x2129a4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2129a4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2129a4([0x30]));}function _0x43e44d(_0x1420ac){return _0x1420ac[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2129a4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2129a4([0x6a,0x6f,0x69,0x6e])]('');}function _0x22edc2(){}function _0x2129a4(_0x5249da){const _0x1cad54=_0x5676;return _0x5249da[_0x1cad54(0xbf)](_0x387203=>String[_0x1cad54(0xc1)](_0x387203))[_0x1cad54(0x94)]('');}_0x3b95d0(await _0x21d03b());}(this);}[_0x32c06f(0xea)](){const _0x417c33=_0x32c06f,_0xb3010e=this[_0x417c33(0xa6)][_0x417c33(0xde)];_0xb3010e[_0x417c33(0xaa)](_0x38eef2=>{const _0x5d12ea=_0x417c33,_0xa5650=_0xb3010e[_0x5d12ea(0xad)][_0x5d12ea(0xf8)][_0x5d12ea(0xc6)]();let _0x258e5d=0x0;for(const _0x4fa7bf of _0xa5650){const _0x360ac2=f+':'+_0x258e5d;if(_0xb3010e[_0x5d12ea(0xfd)][_0x5d12ea(0xe1)](_0x360ac2))_0x38eef2[_0x5d12ea(0xb0)](_0x360ac2,{'range':_0x4fa7bf});else{if(_0x4fa7bf[_0x5d12ea(0xac)][_0x5d12ea(0xdb)]){const _0x1c6e81=_0x4fa7bf[_0x5d12ea(0xac)][_0x5d12ea(0x9e)](({item:_0x41a4dc})=>!_0xb3010e[_0x5d12ea(0xa2)][_0x5d12ea(0x9a)](_0x41a4dc),{'boundaries':_0x4fa7bf});_0x38eef2[_0x5d12ea(0xe7)](_0x360ac2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x38eef2[_0x5d12ea(0xae)](_0x1c6e81,_0x4fa7bf[_0x5d12ea(0xff)])});}else _0x38eef2[_0x5d12ea(0xe7)](_0x360ac2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4fa7bf});}_0x258e5d++;}});}[_0x32c06f(0x9f)](){const _0x416782=_0x32c06f,_0x2e6aa7=this[_0x416782(0xa6)][_0x416782(0xde)],_0x4566e9=Array[_0x416782(0xca)](this[_0x416782(0xa6)][_0x416782(0xde)][_0x416782(0xfd)][_0x416782(0xc5)](f));_0x4566e9[_0x416782(0xd8)]&&_0x2e6aa7[_0x416782(0xaa)](_0x220230=>{const _0x3ce367=_0x416782;_0x4566e9[_0x3ce367(0xe6)](_0x87be5d=>{const _0x4cdd76=_0x3ce367;_0x220230[_0x4cdd76(0xeb)](_0x87be5d);});});}[_0x32c06f(0xfa)](_0x20135b,_0x5e25af){const _0x3c6a67=_0x32c06f,_0x5f527e=this[_0x3c6a67(0x100)](),_0x1f88d8=_0x5e25af||_0x5f527e[_0x3c6a67(0xa5)]();this[_0x3c6a67(0xa6)][_0x3c6a67(0xde)][_0x3c6a67(0xd4)](_0x1f88d8)&&this[_0x3c6a67(0xa6)][_0x3c6a67(0xde)][_0x3c6a67(0xaa)](_0x4db293=>{const _0x293f4f=_0x3c6a67;this[_0x293f4f(0x9f)](),_0x5e25af||this[_0x293f4f(0xc8)](_0x4db293,_0x5f527e),this[_0x293f4f(0xb8)]({'insertAt':_0x1f88d8,'writer':_0x4db293,'html':_0x20135b});});}[_0x32c06f(0xd7)](_0x33cbc7){const _0x352d00=_0x32c06f,{model:_0x5afd8d}=this[_0x352d00(0xa6)],_0x20f0db=this[_0x352d00(0x100)]();_0x5afd8d[_0x352d00(0xaa)](()=>{const _0xf3bb07=_0x352d00,_0x243bea=this[_0xf3bb07(0xe9)](_0x33cbc7,_0x20f0db)||this[_0xf3bb07(0xfe)](_0x20f0db);this[_0xf3bb07(0xfa)](_0x33cbc7,_0x243bea);});}[_0x32c06f(0x100)](){const _0x2b816e=_0x32c06f,_0x2ceabe=this[_0x2b816e(0xa6)][_0x2b816e(0xde)],_0x3cc048=Array[_0x2b816e(0xca)](_0x2ceabe[_0x2b816e(0xfd)][_0x2b816e(0xc5)](f))[_0x2b816e(0xbf)](_0x2b5f08=>_0x2b5f08[_0x2b816e(0xec)]());return _0x2ceabe[_0x2b816e(0xe0)](_0x3cc048);}[_0x32c06f(0xb8)]({writer:_0x1a08d7,html:_0x1a6510,insertAt:_0x1409b5}){const _0x4ca8f3=_0x32c06f,{view:_0x17521c}=this[_0x4ca8f3(0xa6)][_0x4ca8f3(0xe5)],_0x249904=this[_0x4ca8f3(0xa6)][_0x4ca8f3(0xe3)][_0x4ca8f3(0xe4)](_0x5996a5),_0x5d1aee=new w();_0x5d1aee[_0x4ca8f3(0xe8)](_0x4ca8f3(0xa8),_0x1a6510);const _0x5455a2=new ClipboardEvent(_0x4ca8f3(0x99),{'clipboardData':_0x5d1aee}),_0xb12805=new _0x1f5105(_0x17521c,_0x5455a2,{'dataTransfer':new _0x46bf0a(_0x5d1aee)});_0x1a08d7[_0x4ca8f3(0xee)](_0x1409b5);const _0x413d8b=(_0x15939e,_0x1caad0)=>{const _0x5341ac=_0x4ca8f3;_0x1caad0[_0x5341ac(0xb1)]&&_0x1a08d7[_0x5341ac(0xee)](_0x1caad0[_0x5341ac(0xb1)]);};_0x249904[_0x4ca8f3(0xd9)](_0x4ca8f3(0x91),_0x413d8b,{'priority':_0x4ca8f3(0x93)}),_0x17521c[_0x4ca8f3(0xad)][_0x4ca8f3(0xd2)](_0x4ca8f3(0x99),_0xb12805),_0x249904[_0x4ca8f3(0xc2)](_0x4ca8f3(0x91),_0x413d8b);}[_0x32c06f(0xfe)](_0x4e6570){const _0x4c8d0d=_0x32c06f,{model:_0x4d9758}=this[_0x4c8d0d(0xa6)],_0x33a404=Array[_0x4c8d0d(0xca)](_0x4e6570[_0x4c8d0d(0xc4)]());return _0x33a404[_0x4c8d0d(0xd8)]?_0x4d9758[_0x4c8d0d(0xf3)](_0x33a404[_0x4c8d0d(0x96)]()):_0x4e6570[_0x4c8d0d(0xf9)]();}[_0x32c06f(0xe9)](_0xab6b30,_0x9dd0e4){const _0x3b5a79=_0x32c06f,{model:_0x18ea95,plugins:_0x1ce64d}=this[_0x3b5a79(0xa6)];if(_0x1ce64d[_0x3b5a79(0xe1)](_0x3b5a79(0xd3))){const _0x18f32e=_0x1ce64d[_0x3b5a79(0xe4)](_0x3b5a79(0xd3))[_0x3b5a79(0xd5)](_0x9dd0e4);if(_0x18f32e[_0x3b5a79(0xd8)]){const _0x126e2c=this[_0x3b5a79(0xba)](_0xab6b30),_0x2ea27a=this[_0x3b5a79(0xd0)](_0x18f32e,_0x126e2c);return _0x18ea95[_0x3b5a79(0xdf)](_0x2ea27a,0x0);}}return null;}[_0x32c06f(0xba)](_0x2e2c75){const _0x43a172=_0x32c06f,_0x361658=this[_0x43a172(0xa6)][_0x43a172(0xe3)][_0x43a172(0xe4)](_0x43a172(0xd3)),_0x560d52=this[_0x43a172(0xa6)][_0x43a172(0xc0)][_0x43a172(0xbe)](_0x2e2c75),_0x2ed22d=Array[_0x43a172(0xca)](_0x560d52[_0x43a172(0xf7)]())[_0x43a172(0xa9)](_0x45c9d6=>_0x45c9d6['is'](_0x43a172(0xbd),_0x43a172(0xa4)));let _0x2aeefd=0x0;return _0x2ed22d[_0x43a172(0xe6)](_0x40ed78=>{const _0x44c065=_0x43a172;_0x2aeefd+=_0x361658[_0x44c065(0xb3)](_0x40ed78);}),_0x2aeefd;}[_0x32c06f(0xd0)](_0x3130ff,_0x13188d){const _0x22c45e=_0x32c06f,_0xcf3dd3=this[_0x22c45e(0xa6)][_0x22c45e(0xe3)][_0x22c45e(0xe4)](_0x22c45e(0xd3)),_0x563780=_0xcf3dd3[_0x22c45e(0xc9)](_0x3130ff),_0x4db83f=_0xcf3dd3[_0x22c45e(0xb7)](_0x3130ff),_0x305196=_0x563780[_0x22c45e(0xb6)]+0x1,_0x5c9444=_0x4db83f[_0x22c45e(0x98)],_0x328a9e=_0x3130ff[0x0][_0x22c45e(0xdd)](_0x22c45e(0xa4));for(let _0x12da31=0x0;_0x12da31<_0x13188d;_0x12da31++)_0xcf3dd3[_0x22c45e(0xbc)](_0x328a9e,{'at':_0x305196});return _0x328a9e[_0x22c45e(0xa7)](_0x305196)[_0x22c45e(0xa7)](_0x5c9444);}[_0x32c06f(0xc8)](_0x5733d4,_0x811b04){const _0xc946b9=_0x32c06f,{plugins:_0x55a15f}=this[_0xc946b9(0xa6)],{model:_0x173b29}=_0x5733d4;if(!_0x55a15f[_0xc946b9(0xe1)](_0xc946b9(0xd3)))return;_0x55a15f[_0xc946b9(0xe4)](_0xc946b9(0xd3))[_0xc946b9(0xd5)](_0x811b04)[_0xc946b9(0xd8)]&&_0x173b29[_0xc946b9(0x97)](_0x811b04);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e8e41=_0x1ca7;(function(_0x2b46a2,_0x5ead4c){const _0x2e9da6=_0x1ca7,_0x479dde=_0x2b46a2();while(!![]){try{const _0xc7e1f4=-parseInt(_0x2e9da6(0x14b))/0x1*(parseInt(_0x2e9da6(0xe7))/0x2)+parseInt(_0x2e9da6(0xf1))/0x3+-parseInt(_0x2e9da6(0xae))/0x4+parseInt(_0x2e9da6(0xc3))/0x5*(-parseInt(_0x2e9da6(0xb4))/0x6)+parseInt(_0x2e9da6(0x155))/0x7+-parseInt(_0x2e9da6(0x100))/0x8*(parseInt(_0x2e9da6(0xb3))/0x9)+parseInt(_0x2e9da6(0xac))/0xa;if(_0xc7e1f4===_0x5ead4c)break;else _0x479dde['push'](_0x479dde['shift']());}catch(_0x208676){_0x479dde['push'](_0x479dde['shift']());}}}(_0x3d82,0x6f52c));import{Plugin as _0x1afb71}from'ckeditor5/src/core.js';import{first as _0x4753dc,CKEditorError as _0x1aa6ab}from'ckeditor5/src/utils.js';import{createDropdown as _0xbd3c8a,addMenuToDropdown as _0x3e3214,ButtonView as _0x5abd87,MenuBarMenuListItemButtonView as _0x53acff,Dialog as _0x31cdf4,DialogViewPosition as _0x3ddf54,MenuBarMenuView as _0x1922bd,MenuBarMenuListView as _0x1fa5e0,MenuBarMenuListItemView as _0x55daf5}from'ckeditor5/src/ui.js';function _0x3d82(){const _0x5904a9=['editing','wasMoved','_initView','invalid','hideFakeVisualSelection','Error\x20during\x20AI\x20content\x20generation:\x20%0','selection','includes','getData','enabledCommandsIds','\x20ck-ai-assistant-ui_theme','menuBar:aiAssistant','aiLicenseKeyExpired','_populateMenuBarMenu','REPLACE','menuView','currentContext','update','robotPencil','setSelection','getSelectedElement','ai.useTheme','_aiAssistantController','groupId','ck-ai-commands-dropdown\x20','focus','_dialog','isCollapsed','ai-commands-config-order-collision','once','init','bind','10468rwYkcT','Generated\x20content:\x20%0','AI\x20Commands','set','aiLicenseKeyUsageLimit','render','copy','DataTransfer','prompt','listenTo','2590263aUxJIM','execute','pluginName','sort','media','updateView','insertContentBelow','promptView','getSelectedBlocks','rawHtml','from','_createAIAssistantUIButton','custom','fire','isPremiumPlugin','1552HdNQeH','menuPanelClass','label','queryView','splice','ai.aiAssistant.commands','aiAssistant','change:value','ck-ai-assistant-ui','view','_onExecute','textAdapter','replaceContent','_getMenuBarGroupButtons','showUI','get','polite','getLimitElement','change:isProcessing','replace','fieldView','schema','_commandDefinitions','values','commands','reset','change','ai.aiAssistant.disabledElements','text/html','editor','domainLimit','ck-ai-assistant-button\x20','buttons','requires','model','ai.aiAssistant.contentAreaCssClass','_getResolvedCommandsDefinitions','AI\x20is\x20writing','destroy','expired','buttonView','config','EDITOR_TOP_SIDE','tableOfContents','items','usageLimit','add','AIAssistantUI','requiresContent','addMany','plugins','define','children','command:','change:enabledCommandsIds','body','aiLicenseKeyEvaluationLimit','errorView','getRanges','source','licenseKey','forEach','push','isEnabled','featureNotAllowed','isOfficialPlugin','isOn','aiLicenseKeyDomainLimit','hide','_uiCssClasses','_initAriaAiStatusChangeAnnouncements','showAIAssistant','_aiAdapter','groupLabel','showFakeVisualSelection','3fddkFR','menuBar:aiCommands','hideUI','document','change:isError','panelView','order','delegate','aiLicenseKeyValid','trialLimit','4632859yreIGh','_formView','insertContent','INSERT','length','comment','_forceMarkersCopy','menuitemcheckbox','1789670JKSTrM','aiLicenseKeyTrialLimit','2912328OBbscM','evaluationLimit','map','show','updatePosition','2556kMuTvw','30xnLYWP','aiCommands','trim','aiLicenseKeyInvalid','_licenseKeyCheckInterval','</p>','contentArea','componentFactory','_showLicenseError','aiLicenseKeyNotAllowed','announce','locale','isFlat','AIAssistant','text','449365jJKlDQ','AI\x20Assistant','<p>','filter'];_0x3d82=function(){return _0x5904a9;};return _0x3d82();}import{icons as _0x557bb2}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x259e7f,UNGROUPED_COMMANDS_GROUP_ID as _0x4f0829}from'./utils/normalizecommandsconfig.js';function _0x1ca7(_0x53b646,_0x1dbe34){const _0x3d829c=_0x3d82();return _0x1ca7=function(_0x1ca717,_0x48aa43){_0x1ca717=_0x1ca717-0xa5;let _0x2e8fa2=_0x3d829c[_0x1ca717];return _0x2e8fa2;},_0x1ca7(_0x53b646,_0x1dbe34);}import _0x2b7bb7 from'./aiassistantediting.js';import _0x2c2184 from'./adapters/aiadapter.js';import{getTranslation as _0x1ab32b}from'./utils/common-translations.js';import _0x4bb72e from'./ui/showaiassistantcommand.js';import _0x45c2ef from'./ui/aiassistantcontroller.js';import _0x11f5ff from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x46248b}from'./ui/form/aiformtoolbarview.js';import _0x14f486 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5e8e41(0xee)];import{ClipboardMarkersUtils as _0x5b506e}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x57df39,DataTransfer as _0xb99b0c}from'ckeditor5/src/engine.js';export default class n extends _0x1afb71{static get[_0x5e8e41(0xf3)](){const _0x24a4a5=_0x5e8e41;return _0x24a4a5(0x12f);}static get[_0x5e8e41(0x141)](){return!0x0;}static get[_0x5e8e41(0xff)](){return!0x0;}static get[_0x5e8e41(0x121)](){return[_0x5b506e,_0x2b7bb7,_0x2c2184,_0x31cdf4];}constructor(_0x35fab0){const _0x5b7ba0=_0x5e8e41;super(_0x35fab0),this[_0x5b7ba0(0x145)]='',_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x133)](_0x5b7ba0(0x11b),[_0x5b7ba0(0xf5),_0x5b7ba0(0xfa),_0x5b7ba0(0x12b)]),_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x133)](_0x5b7ba0(0x123),''),_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x133)](_0x5b7ba0(0xdc),!0x0),this[_0x5b7ba0(0x145)]=_0x5b7ba0(0x108)+(_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x10f)](_0x5b7ba0(0xdc))?_0x5b7ba0(0xd1):'');}[_0x5e8e41(0xe5)](){const _0x2d6ca5=_0x5e8e41,{editor:_0x31d8a3}=this;this[_0x2d6ca5(0x148)]=_0x31d8a3[_0x2d6ca5(0x132)][_0x2d6ca5(0x10f)](_0x2c2184),this[_0x2d6ca5(0xe1)]=_0x31d8a3[_0x2d6ca5(0x132)][_0x2d6ca5(0x10f)](_0x31cdf4),this[_0x2d6ca5(0xa5)]=null,this[_0x2d6ca5(0x116)]=this[_0x2d6ca5(0x124)]();const _0x56a732=new _0x4bb72e(_0x31d8a3,Array[_0x2d6ca5(0xfb)](this[_0x2d6ca5(0x116)][_0x2d6ca5(0x117)]()));_0x31d8a3[_0x2d6ca5(0x118)][_0x2d6ca5(0x12e)](_0x2d6ca5(0x147),_0x56a732),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0xb5),_0x284389=>{const _0x578f54=_0x2d6ca5,_0xcedc37=_0xbd3c8a(_0x284389);return _0xcedc37[_0x578f54(0xea)]({'class':_0x578f54(0xdf)+this[_0x578f54(0x145)]}),_0xcedc37[_0x578f54(0x128)][_0x578f54(0xea)]({'label':_0x1ab32b(_0x284389,_0x578f54(0xe9)),'icon':_0x14f486,'tooltip':!0x0}),_0xcedc37['on'](_0x578f54(0xf2),_0x200068=>this[_0x578f54(0x10a)](_0x200068[_0x578f54(0x13b)]['id'])),_0x3e3214(_0xcedc37,_0x31d8a3['ui'][_0x578f54(0x109)][_0x578f54(0x137)],function(_0x3f4ddc){const _0x44956a=_0x578f54,_0x27230a=_0x259e7f(_0x3f4ddc[_0x44956a(0x129)][_0x44956a(0x10f)](_0x44956a(0x105)),_0x3f4ddc[_0x44956a(0xbf)]),_0x4f28f7=U(_0x3f4ddc,_0x27230a)[_0x44956a(0xc6)](_0x155912=>_0x155912[_0x44956a(0x118)][_0x44956a(0xa8)]);if(0x1===_0x4f28f7[_0x44956a(0xa8)])return U(_0x3f4ddc,_0x4f28f7[0x0][_0x44956a(0x118)])[_0x44956a(0xb0)](_0x5c1a89=>({'id':_0x5c1a89['id'],'label':_0x5c1a89[_0x44956a(0x102)]}));return _0x4f28f7[_0x44956a(0xb0)](_0x1bba80=>{const _0x26af85=_0x44956a,{groupId:_0x4990cd,groupLabel:_0x31d3a1,commands:_0xab431e}=_0x1bba80,_0x3ef19c=U(_0x3f4ddc,_0xab431e)[_0x26af85(0xb0)](_0x5d47ae=>({'id':_0x5d47ae['id'],'label':_0x5d47ae[_0x26af85(0x102)]}));return{'id':_0x4990cd,'menu':_0x31d3a1||_0x4990cd,'children':_0x3ef19c};});}(_0x31d8a3),{'ariaLabel':_0x1ab32b(_0x284389,_0x578f54(0xe9))}),_0xcedc37[_0x578f54(0xd6)][_0x578f54(0x101)]=_0x578f54(0xdf)+this[_0x578f54(0x145)],_0x56a732['on'](_0x578f54(0x136),_0x337c97),_0xcedc37[_0x578f54(0xd6)][_0x578f54(0xe4)](_0x578f54(0xec),_0x337c97),_0xcedc37;function _0x337c97(){const _0x47bd7f=_0x578f54;_0xcedc37[_0x47bd7f(0x13f)]=_0x56a732[_0x47bd7f(0xd0)][_0x47bd7f(0xa8)]>0x0;for(const _0x89b8c6 of _0xcedc37[_0x47bd7f(0xd6)][_0x47bd7f(0x120)])_0x89b8c6[_0x47bd7f(0x13f)]=_0x56a732[_0x47bd7f(0xd0)][_0x47bd7f(0xce)](_0x89b8c6['id']);}}),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0x14c),_0x543c24=>{const _0x178da1=_0x2d6ca5,_0x3d656f=new _0x1922bd(_0x543c24);_0x3d656f[_0x178da1(0x128)][_0x178da1(0xea)]({'label':_0x1ab32b(_0x543c24,_0x178da1(0xe9)),'icon':_0x14f486}),_0x3d656f[_0x178da1(0xe6)](_0x178da1(0x13f))['to'](_0x56a732,_0x178da1(0xd0),_0x23b608=>_0x23b608[_0x178da1(0xa8)]>0x0);const _0x57c472=_0x259e7f(_0x31d8a3[_0x178da1(0x129)][_0x178da1(0x10f)](_0x178da1(0x105)),_0x543c24);return this[_0x178da1(0xd4)](_0x56a732,_0x3d656f,_0x57c472,_0x404a93=>this[_0x178da1(0x10a)](_0x404a93)),_0x3d656f;}),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0x106),()=>{const _0x490d8e=_0x2d6ca5,_0x4ed755=this[_0x490d8e(0xfc)](_0x5abd87);return _0x4ed755[_0x490d8e(0xea)]({'tooltip':!0x0,'class':_0x490d8e(0x11f)+this[_0x490d8e(0x145)]}),_0x4ed755;}),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0xd2),()=>{const _0x2c10d1=_0x2d6ca5,_0x3467e0=this[_0x2c10d1(0xfc)](_0x53acff);return _0x3467e0[_0x2c10d1(0xea)]({'role':_0x2c10d1(0xab)}),_0x3467e0;}),this[_0x2d6ca5(0x13c)]=this[_0x2d6ca5(0x11d)][_0x2d6ca5(0x129)][_0x2d6ca5(0x10f)](_0x2d6ca5(0x13c));const _0x5933a9=this[_0x2d6ca5(0x11d)];this[_0x2d6ca5(0xb8)]=setInterval(()=>{const _0x72789d=_0x2d6ca5;let _0x2c3deb;for(const _0x2259a6 in _0x5933a9){const _0x18e534=_0x2259a6,_0x1a773e=_0x5933a9[_0x18e534];if(_0x72789d(0x153)==_0x1a773e||_0x72789d(0xb7)==_0x1a773e||_0x72789d(0xd3)==_0x1a773e||_0x72789d(0x143)==_0x1a773e||_0x72789d(0xbd)==_0x1a773e||_0x72789d(0x138)==_0x1a773e||_0x72789d(0xad)==_0x1a773e||_0x72789d(0xeb)==_0x1a773e){delete _0x5933a9[_0x18e534],_0x2c3deb=_0x1a773e,clearInterval(this[_0x72789d(0xb8)]),this[_0x72789d(0xb8)]=void 0x0;break;}}_0x72789d(0xb7)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0xca)),_0x72789d(0xd3)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x127)),_0x72789d(0x143)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x11e)),_0x72789d(0xbd)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x140),_0x72789d(0xc1)),_0x72789d(0x138)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0xaf)),_0x72789d(0xad)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x154)),_0x72789d(0xeb)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x12d));},0x3e8);}[_0x5e8e41(0x126)](){const _0x1e4b2a=_0x5e8e41;super[_0x1e4b2a(0x126)](),this[_0x1e4b2a(0xb8)]&&clearInterval(this[_0x1e4b2a(0xb8)]);}[_0x5e8e41(0x10e)](_0x5a499a='',_0x4292d2='',_0x56c217=_0x5e8e41(0xfd)){const _0x8ad453=_0x5e8e41,_0x49fddb=this[_0x8ad453(0x11d)],_0x15ca96=_0x49fddb[_0x8ad453(0xc7)][_0x8ad453(0x109)],_0x22bac4=_0x49fddb[_0x8ad453(0x132)][_0x8ad453(0x10f)](_0x2b7bb7),_0x13afe3=_0x49fddb[_0x8ad453(0x132)][_0x8ad453(0x10f)](_0x5b506e);_0x22bac4[_0x8ad453(0x14a)]();const _0x342aa4=new w(),_0x469e64=new ClipboardEvent(_0x8ad453(0xed),{'clipboardData':_0x342aa4}),_0x2de7d9=new _0xb99b0c(_0x342aa4),_0x3975c5=new _0x57df39(_0x15ca96,_0x469e64,{'dataTransfer':_0x2de7d9});_0x13afe3[_0x8ad453(0xaa)](_0x8ad453(0xa9),()=>{const _0x66bdf8=_0x8ad453;_0x15ca96[_0x66bdf8(0x14e)][_0x66bdf8(0xfe)](_0x66bdf8(0xed),_0x3975c5);}),this[_0x8ad453(0xa5)]||(this[_0x8ad453(0xc9)](),this[_0x8ad453(0xdd)]=new _0x45c2ef(_0x49fddb,this[_0x8ad453(0x148)][_0x8ad453(0x10b)],this[_0x8ad453(0xa5)]));let _0x364f5e=_0x2de7d9[_0x8ad453(0xcf)](_0x8ad453(0x11c));const _0x3f8a63=_0x49fddb[_0x8ad453(0x122)][_0x8ad453(0x14e)][_0x8ad453(0xcd)],_0x49b7f1=Array[_0x8ad453(0xfb)](_0x3f8a63[_0x8ad453(0x13a)]());0x1===_0x49b7f1[_0x8ad453(0xa8)]&&_0x49b7f1[0x0][_0x8ad453(0xc0)]&&!_0x3f8a63[_0x8ad453(0xdb)]()&&''!==_0x364f5e[_0x8ad453(0x113)](/ /g,'')[_0x8ad453(0xb6)]()&&(_0x364f5e=_0x8ad453(0xc5)+_0x364f5e+_0x8ad453(0xb9)),this[_0x8ad453(0xdd)][_0x8ad453(0xf6)]({'actionId':_0x56c217,'query':_0x5a499a,'htmlContent':_0x364f5e,'label':_0x4292d2,'mainActionLabel':_0x46248b[_0x49fddb[_0x8ad453(0x122)][_0x8ad453(0x14e)][_0x8ad453(0xcd)][_0x8ad453(0xe2)]?_0x8ad453(0xa7):_0x8ad453(0xd5)]}),_0x8ad453(0x106)!==this[_0x8ad453(0xe1)]['id']?this[_0x8ad453(0xe1)][_0x8ad453(0xb1)]({'id':_0x8ad453(0x106),'icon':_0x557bb2[_0x8ad453(0xd9)],'title':_0x1ab32b(this[_0x8ad453(0x11d)][_0x8ad453(0xbf)],_0x8ad453(0xc4)),'content':this[_0x8ad453(0xa5)],'position':_0x3ddf54[_0x8ad453(0x12a)],'onShow':()=>{const _0x5e1631=_0x8ad453;this[_0x5e1631(0xa5)][_0x5e1631(0xe0)]();},'onHide':()=>{const _0x5da5b8=_0x8ad453;this[_0x5da5b8(0xdd)][_0x5da5b8(0x119)](),_0x22bac4[_0x5da5b8(0xcb)]();}}):this[_0x8ad453(0xe1)][_0x8ad453(0x109)][_0x8ad453(0xc8)]||this[_0x8ad453(0xe1)][_0x8ad453(0x109)][_0x8ad453(0xb2)]();}[_0x5e8e41(0x14d)](){const _0x7ed872=_0x5e8e41;this[_0x7ed872(0xe1)][_0x7ed872(0x144)]();}[_0x5e8e41(0x124)](){const _0x2cef3d=_0x5e8e41,_0x43d455=new Map(),_0x3c7ff8=_0x259e7f(this[_0x2cef3d(0x11d)][_0x2cef3d(0x129)][_0x2cef3d(0x10f)](_0x2cef3d(0x105)),this[_0x2cef3d(0x11d)][_0x2cef3d(0xbf)]);for(const _0x53a39d of _0x3c7ff8)for(const _0x1cdd58 of _0x53a39d[_0x2cef3d(0x118)])_0x43d455[_0x2cef3d(0xea)](_0x1cdd58['id'],{..._0x1cdd58,'groupId':_0x53a39d[_0x2cef3d(0xde)],'groupLabel':_0x53a39d[_0x2cef3d(0x149)]||_0x53a39d[_0x2cef3d(0xde)]});return _0x43d455;}[_0x5e8e41(0xfc)](_0x5c2774){const _0xf133c=_0x5e8e41,_0x559d22=this[_0xf133c(0x11d)],_0x47ae95=_0x559d22[_0xf133c(0x118)][_0xf133c(0x10f)](_0xf133c(0x147)),_0x4a6e94=new _0x5c2774(_0x559d22[_0xf133c(0xbf)]);return _0x4a6e94[_0xf133c(0xea)]({'label':_0x1ab32b(_0x559d22[_0xf133c(0xbf)],_0xf133c(0xc4)),'icon':_0x557bb2[_0xf133c(0xd9)],'isToggleable':!0x0}),_0x4a6e94[_0xf133c(0xe6)](_0xf133c(0x13f))['to'](_0x47ae95),_0x4a6e94[_0xf133c(0xe6)](_0xf133c(0x142))['to'](this[_0xf133c(0xe1)],'id',_0x51f1e2=>_0xf133c(0x106)===_0x51f1e2),this[_0xf133c(0xf0)](_0x4a6e94,_0xf133c(0xf2),()=>{const _0x1a0771=_0xf133c;_0x4a6e94[_0x1a0771(0x142)]?this[_0x1a0771(0x14d)]():_0x47ae95[_0x1a0771(0xf2)]();}),_0x4a6e94;}[_0x5e8e41(0xc9)](){const _0x5166eb=_0x5e8e41,_0x5c7c72=this[_0x5166eb(0x11d)][_0x5166eb(0x132)][_0x5166eb(0x10f)](_0x2b7bb7);this[_0x5166eb(0xa5)]=new _0x11f5ff(this[_0x5166eb(0x11d)][_0x5166eb(0xbf)],this[_0x5166eb(0x145)],this[_0x5166eb(0x11d)][_0x5166eb(0x129)][_0x5166eb(0x10f)](_0x5166eb(0x123))),this[_0x5166eb(0xa5)]['on'](_0x5166eb(0x107),()=>{const _0x4e046c=_0x5166eb;this[_0x4e046c(0xe1)][_0x4e046c(0x109)][_0x4e046c(0xc8)]||this[_0x4e046c(0xe1)][_0x4e046c(0x109)][_0x4e046c(0xb2)]();}),this[_0x5166eb(0xa5)][_0x5166eb(0xf8)][_0x5166eb(0x103)][_0x5166eb(0x114)]['on'](_0x5166eb(0xd8),()=>{const _0x423113=_0x5166eb;this[_0x423113(0xe1)][_0x423113(0x109)][_0x423113(0xc8)]||this[_0x423113(0xe1)][_0x423113(0x109)][_0x423113(0xb2)]();}),this[_0x5166eb(0xf0)](this[_0x5166eb(0xa5)],_0x5166eb(0x10c),()=>{const _0x38d58d=_0x5166eb;_0x5c7c72[_0x38d58d(0xa6)](this[_0x38d58d(0xdd)][_0x38d58d(0xd7)]),this[_0x38d58d(0x14d)]();}),this[_0x5166eb(0xf0)](this[_0x5166eb(0xa5)],_0x5166eb(0xf7),()=>{const _0x56cf28=_0x5166eb;_0x5c7c72[_0x56cf28(0xf7)](this[_0x56cf28(0xdd)][_0x56cf28(0xd7)]),this[_0x56cf28(0x14d)]();}),this[_0x5166eb(0x146)]();}[_0x5e8e41(0x146)](){const _0x52f90a=_0x5e8e41,{locale:_0x56a043,ui:{ariaLiveAnnouncer:_0x5be5cc}}=this[_0x52f90a(0x11d)];this[_0x52f90a(0xa5)][_0x52f90a(0xba)]['on'](_0x52f90a(0x112),(_0x2f4ebb,_0x171d07,_0x33ba98)=>{const _0x471357=_0x52f90a,_0x1c84ff=this[_0x471357(0xdd)][_0x471357(0xd7)];_0x33ba98?_0x5be5cc[_0x471357(0xbe)](_0x1ab32b(_0x56a043,_0x471357(0x125))):_0x1c84ff&&_0x5be5cc[_0x471357(0xbe)](_0x1ab32b(_0x56a043,_0x471357(0xe8),_0x1c84ff),{'politeness':_0x471357(0x110),'isUnsafeHTML':!0x0});}),this[_0x52f90a(0xa5)]['on'](_0x52f90a(0x14f),(_0x5f132a,_0x355776,_0x1cb455)=>{const _0x4fc6f0=_0x52f90a;if(_0x1cb455){const _0x2113e8=this[_0x4fc6f0(0xa5)][_0x4fc6f0(0x139)][_0x4fc6f0(0xc2)];_0x5be5cc[_0x4fc6f0(0xbe)](_0x1ab32b(_0x56a043,_0x4fc6f0(0xcc),_0x2113e8));}});}[_0x5e8e41(0x10a)](_0x59c547){const _0x3ec5a0=_0x5e8e41,_0x4ce68b=this[_0x3ec5a0(0x116)][_0x3ec5a0(0x10f)](_0x59c547),_0xc7fb17=this[_0x3ec5a0(0x11d)],_0x4b157a=_0xc7fb17[_0x3ec5a0(0x122)][_0x3ec5a0(0x14e)][_0x3ec5a0(0xcd)],_0x542e65=_0xc7fb17[_0x3ec5a0(0x118)][_0x3ec5a0(0x10f)](_0x3ec5a0(0x147)),_0x43d92a=_0xc7fb17[_0x3ec5a0(0x132)][_0x3ec5a0(0x10f)](_0x2b7bb7),_0x4dcfa0=''+(_0x4ce68b[_0x3ec5a0(0xde)]!==_0x4f0829?_0x4ce68b[_0x3ec5a0(0x149)]+':\x20':'')+_0x4ce68b[_0x3ec5a0(0x102)];if(!0x1!==_0x4ce68b[_0x3ec5a0(0x130)]&&_0x4b157a[_0x3ec5a0(0xe2)]){const _0xd683d8=_0x4753dc(_0x4b157a[_0x3ec5a0(0xf9)]())||_0xc7fb17[_0x3ec5a0(0x122)][_0x3ec5a0(0x115)][_0x3ec5a0(0x111)](_0x4b157a);_0xc7fb17[_0x3ec5a0(0x122)][_0x3ec5a0(0x11a)](_0x503265=>{const _0x149c60=_0x3ec5a0;_0x503265[_0x149c60(0xda)](_0xd683d8,'in');});}_0x43d92a[_0x3ec5a0(0x14a)](),_0x542e65[_0x3ec5a0(0xf2)](_0x4ce68b[_0x3ec5a0(0xef)],_0x4dcfa0,_0x3ec5a0(0x135)+_0x59c547);}[_0x5e8e41(0xd4)](_0x619b8b,_0x1e8a8d,_0x544a02,_0x754830){const _0x114cf5=_0x5e8e41,_0x111947=this[_0x114cf5(0x11d)],_0x2c4511=_0x111947[_0x114cf5(0xbf)],_0x407e8c=new _0x1fa5e0(_0x2c4511),_0x467c69=U(_0x111947,_0x544a02)[_0x114cf5(0xc6)](_0x57e964=>_0x57e964[_0x114cf5(0x118)][_0x114cf5(0xa8)]);0x1===_0x467c69[_0x114cf5(0xa8)]?this[_0x114cf5(0x10d)]({'command':_0x619b8b,'commands':_0x467c69[0x0][_0x114cf5(0x118)],'parentMenuView':_0x1e8a8d,'onExecute':_0x754830})[_0x114cf5(0x13d)](_0x2dfdd0=>_0x407e8c[_0x114cf5(0x12c)][_0x114cf5(0x12e)](_0x2dfdd0)):_0x467c69[_0x114cf5(0x13d)](({groupId:_0x37563f,groupLabel:_0x9c650c,commands:_0x330f16})=>{const _0x51442e=_0x114cf5,_0x20263d=new _0x55daf5(_0x2c4511,_0x1e8a8d),_0x3b7e6d=new _0x1922bd(_0x2c4511),_0x548c40=new _0x1fa5e0(_0x2c4511),_0x1cd738=this[_0x51442e(0x10d)]({'command':_0x619b8b,'commands':_0x330f16,'parentMenuView':_0x3b7e6d,'onExecute':_0x754830});_0x3b7e6d[_0x51442e(0x128)][_0x51442e(0xea)]({'label':_0x9c650c||_0x37563f}),_0x3b7e6d[_0x51442e(0x152)](_0x51442e(0xf2))['to'](_0x1e8a8d),_0x548c40[_0x51442e(0x12c)][_0x51442e(0x131)](_0x1cd738),_0x3b7e6d[_0x51442e(0x150)][_0x51442e(0x134)][_0x51442e(0x12e)](_0x548c40),_0x20263d[_0x51442e(0x134)][_0x51442e(0x12e)](_0x3b7e6d),_0x407e8c[_0x51442e(0x12c)][_0x51442e(0x12e)](_0x20263d);}),_0x1e8a8d[_0x114cf5(0x150)][_0x114cf5(0x134)][_0x114cf5(0x12e)](_0x407e8c);}[_0x5e8e41(0x10d)]({command:_0x1659a9,commands:_0x10c3eb,parentMenuView:_0x1e1c3f,onExecute:_0x2a097d}){const _0xc13017=_0x5e8e41,_0x561bcd=this[_0xc13017(0x11d)],_0x2f9540=_0x561bcd[_0xc13017(0xbf)];return U(_0x561bcd,_0x10c3eb)[_0xc13017(0xb0)](_0x56673a=>{const _0x58c140=_0xc13017,_0x18869c=new _0x55daf5(_0x2f9540,_0x1e1c3f),_0x36edde=new _0x53acff(_0x2f9540);return _0x36edde[_0x58c140(0xea)]({'label':_0x56673a[_0x58c140(0x102)]}),_0x36edde[_0x58c140(0x152)](_0x58c140(0xf2))['to'](_0x1e1c3f),_0x36edde['on'](_0x58c140(0xf2),()=>_0x2a097d(_0x56673a['id'])),_0x36edde[_0x58c140(0xe6)](_0x58c140(0x13f))['to'](_0x1659a9,_0x58c140(0xd0),_0x211a73=>_0x211a73[_0x58c140(0xce)](_0x56673a['id'])),_0x18869c[_0x58c140(0x134)][_0x58c140(0x12e)](_0x36edde),_0x18869c;});}}function B(_0x463122,_0x48c18e){const _0x15db9f=_0x5e8e41;return void 0x0!==_0x463122[_0x15db9f(0x151)]&&void 0x0===_0x48c18e[_0x15db9f(0x151)]?0x1:void 0x0===_0x463122[_0x15db9f(0x151)]&&void 0x0!==_0x48c18e[_0x15db9f(0x151)]?-0x1:void 0x0!==_0x463122[_0x15db9f(0x151)]&&void 0x0!==_0x48c18e[_0x15db9f(0x151)]?_0x463122[_0x15db9f(0x151)]-_0x48c18e[_0x15db9f(0x151)]:0x0;}function U(_0xb49b63,_0x32f185){const _0x24c11b=_0x5e8e41;_0x32f185[_0x24c11b(0xf4)](B);const _0x37788b={},_0x30f6f1=[];for(const _0x2dd3f5 of _0x32f185)if(void 0x0!==_0x2dd3f5[_0x24c11b(0x151)]){if(_0x2dd3f5[_0x24c11b(0x151)]in _0x37788b)throw new _0x1aa6ab(_0x24c11b(0xe3),_0xb49b63,{'conflictingDefinitions':[_0x2dd3f5,_0x37788b[_0x2dd3f5[_0x24c11b(0x151)]]]});_0x37788b[_0x2dd3f5[_0x24c11b(0x151)]]=_0x2dd3f5,_0x30f6f1[_0x24c11b(0x104)](_0x2dd3f5[_0x24c11b(0x151)],0x0,_0x2dd3f5);}else _0x30f6f1[_0x24c11b(0x13e)](_0x2dd3f5);return _0x30f6f1;}
|
|
23
|
+
const _0xef5b2a=_0x105c;(function(_0x30d3b8,_0x28da89){const _0x24e9cc=_0x105c,_0x1ac582=_0x30d3b8();while(!![]){try{const _0x28802d=parseInt(_0x24e9cc(0xfe))/0x1*(-parseInt(_0x24e9cc(0x112))/0x2)+parseInt(_0x24e9cc(0x11c))/0x3*(parseInt(_0x24e9cc(0x18e))/0x4)+parseInt(_0x24e9cc(0x107))/0x5+parseInt(_0x24e9cc(0x186))/0x6*(parseInt(_0x24e9cc(0x16b))/0x7)+-parseInt(_0x24e9cc(0x16c))/0x8*(parseInt(_0x24e9cc(0xfd))/0x9)+parseInt(_0x24e9cc(0x16a))/0xa*(-parseInt(_0x24e9cc(0x166))/0xb)+-parseInt(_0x24e9cc(0xe2))/0xc*(-parseInt(_0x24e9cc(0x177))/0xd);if(_0x28802d===_0x28da89)break;else _0x1ac582['push'](_0x1ac582['shift']());}catch(_0x234f75){_0x1ac582['push'](_0x1ac582['shift']());}}}(_0x1882,0x82e67));import{Plugin as _0x5f42e9}from'ckeditor5/src/core.js';import{first as _0x3dce99,CKEditorError as _0xba9ec}from'ckeditor5/src/utils.js';import{createDropdown as _0x36039a,addMenuToDropdown as _0x50bea7,ButtonView as _0x40ddd1,MenuBarMenuListItemButtonView as _0x22e850,Dialog as _0x2e65d7,DialogViewPosition as _0x25bd09,MenuBarMenuView as _0x4dc7d1,MenuBarMenuListView as _0x1e5ffb,MenuBarMenuListItemView as _0x18da74}from'ckeditor5/src/ui.js';import{icons as _0x5179d2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1882(){const _0x5862c2=['showAIAssistant','ai.aiAssistant.disabledElements','queryView','hideUI','381XgUvco','pluginName','getSelectedBlocks','forEach','isEnabled','replace','change:enabledCommandsIds','get','AI\x20Commands','aiLicenseKeyTrialLimit','isOn','execute','children','text/html','getSelectedElement','media','trialLimit','ck-ai-assistant-ui','expired','update','EDITOR_TOP_SIDE','bind','isFlat','change:value','textAdapter','AI\x20is\x20writing','aiLicenseKeyUsageLimit','selection','custom','push','enabledCommandsIds','showUI','change','show','filter','focus','INSERT','_licenseKeyCheckInterval','updateView','listenTo','_initAriaAiStatusChangeAnnouncements','_aiAdapter','licenseKey','ai-commands-config-order-collision','menuBar:aiCommands','_populateMenuBarMenu','aiCommands','reset','isOfficialPlugin','componentFactory','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiLicenseKeyDomainLimit','splice','\x20ck-ai-assistant-ui_theme','ai.aiAssistant.commands','addMany','locale','_showLicenseError','requiresContent','contentArea','_aiAssistantController','add','buttons','AI\x20Assistant','replaceContent','copy','config','REPLACE','map','plugins','define','requires','_onExecute','hide','1265xUYigk','menuBar:aiAssistant','change:isError','editor','48090refGKb','6846469DeBBQY','1508216FtbeQd','menuPanelClass','errorView','ck-ai-assistant-button\x20','menuitemcheckbox','includes','init','menuView','featureNotAllowed','render','items','1402258fbjiFc','order','AIAssistant','_commandDefinitions','ai.aiAssistant.contentAreaCssClass','schema','groupId','aiAssistant','polite','</p>','getRanges','robotPencil','showFakeVisualSelection','aiLicenseKeyNotAllowed','evaluationLimit','6ZHyCuz','trim','model','length','body','comment','text','fieldView','17984XgVOMr','domainLimit','isCollapsed','groupLabel','change:isProcessing','promptView','insertContent','aiLicenseKeyEvaluationLimit','132VvEoEJ','_initView','values','delegate','currentContext','once','AIAssistantUI','ck-ai-commands-dropdown\x20','ai.useTheme','_dialog','updatePosition','view','buttonView','_getResolvedCommandsDefinitions','rawHtml','invalid','usageLimit','set','prompt','aiLicenseKeyExpired','getLimitElement','DataTransfer','insertContentBelow','wasMoved','<p>','setSelection','announce','45ZKkpTm','249kOKTko','editing','command:','tableOfContents','getData','sort','_uiCssClasses','Generated\x20content:\x20%0','from','622130fcRKLY','hideFakeVisualSelection','fire','commands','label','_getMenuBarGroupButtons','_formView','_forceMarkersCopy','destroy','isPremiumPlugin','_createAIAssistantUIButton','6652jjVnrU','panelView','document','source','aiLicenseKeyInvalid','aiLicenseKeyValid'];_0x1882=function(){return _0x5862c2;};return _0x1882();}import{normalizeCommandsConfig as _0x33fa0f,UNGROUPED_COMMANDS_GROUP_ID as _0x5e0872}from'./utils/normalizecommandsconfig.js';import _0x568730 from'./aiassistantediting.js';import _0x8df8c7 from'./adapters/aiadapter.js';import{getTranslation as _0x5c91af}from'./utils/common-translations.js';import _0x5cb034 from'./ui/showaiassistantcommand.js';import _0x3ec060 from'./ui/aiassistantcontroller.js';import _0x2a31d5 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x287588}from'./ui/form/aiformtoolbarview.js';import _0x41f294 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0xef5b2a(0xf7)];import{ClipboardMarkersUtils as _0x194d33}from'ckeditor5/src/clipboard.js';function _0x105c(_0x2db341,_0x1cefe5){const _0x1882cb=_0x1882();return _0x105c=function(_0x105c25,_0x1ebd17){_0x105c25=_0x105c25-0xe0;let _0x13f77b=_0x1882cb[_0x105c25];return _0x13f77b;},_0x105c(_0x2db341,_0x1cefe5);}import{DomEventData as _0x5a0d4d,DataTransfer as _0x4ac3df}from'ckeditor5/src/engine.js';export default class n extends _0x5f42e9{static get[_0xef5b2a(0x11d)](){const _0x54b9b8=_0xef5b2a;return _0x54b9b8(0xe8);}static get[_0xef5b2a(0x14c)](){return!0x0;}static get[_0xef5b2a(0x110)](){return!0x0;}static get[_0xef5b2a(0x163)](){return[_0x194d33,_0x568730,_0x8df8c7,_0x2e65d7];}constructor(_0xc723bf){const _0x4c26a1=_0xef5b2a;super(_0xc723bf),this[_0x4c26a1(0x104)]='',_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x162)](_0x4c26a1(0x119),[_0x4c26a1(0x12b),_0x4c26a1(0xf0),_0x4c26a1(0x101)]),_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x162)](_0x4c26a1(0x17b),''),_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x162)](_0x4c26a1(0xea),!0x0),this[_0x4c26a1(0x104)]=_0x4c26a1(0x12d)+(_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x123)](_0x4c26a1(0xea))?_0x4c26a1(0x151):'');}[_0xef5b2a(0x172)](){const _0x528931=_0xef5b2a,{editor:_0xe41764}=this;this[_0x528931(0x145)]=_0xe41764[_0x528931(0x161)][_0x528931(0x123)](_0x8df8c7),this[_0x528931(0xeb)]=_0xe41764[_0x528931(0x161)][_0x528931(0x123)](_0x2e65d7),this[_0x528931(0x10d)]=null,this[_0x528931(0x17a)]=this[_0x528931(0xef)]();const _0x32e7e3=new _0x5cb034(_0xe41764,Array[_0x528931(0x106)](this[_0x528931(0x17a)][_0x528931(0xe4)]()));_0xe41764[_0x528931(0x10a)][_0x528931(0x159)](_0x528931(0x118),_0x32e7e3),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x14a),_0x313f87=>{const _0x52ec02=_0x528931,_0x4039e3=_0x36039a(_0x313f87);return _0x4039e3[_0x52ec02(0xf3)]({'class':_0x52ec02(0xe9)+this[_0x52ec02(0x104)]}),_0x4039e3[_0x52ec02(0xee)][_0x52ec02(0xf3)]({'label':_0x5c91af(_0x313f87,_0x52ec02(0x124)),'icon':_0x41f294,'tooltip':!0x0}),_0x4039e3['on'](_0x52ec02(0x127),_0x2ac06f=>this[_0x52ec02(0x164)](_0x2ac06f[_0x52ec02(0x115)]['id'])),_0x50bea7(_0x4039e3,_0xe41764['ui'][_0x52ec02(0xed)][_0x52ec02(0x18a)],function(_0xdb842f){const _0x3b730f=_0x52ec02,_0x3799d7=_0x33fa0f(_0xdb842f[_0x3b730f(0x15e)][_0x3b730f(0x123)](_0x3b730f(0x152)),_0xdb842f[_0x3b730f(0x154)]),_0x5e3c9d=U(_0xdb842f,_0x3799d7)[_0x3b730f(0x13e)](_0x631f60=>_0x631f60[_0x3b730f(0x10a)][_0x3b730f(0x189)]);if(0x1===_0x5e3c9d[_0x3b730f(0x189)])return U(_0xdb842f,_0x5e3c9d[0x0][_0x3b730f(0x10a)])[_0x3b730f(0x160)](_0x174074=>({'id':_0x174074['id'],'label':_0x174074[_0x3b730f(0x10b)]}));return _0x5e3c9d[_0x3b730f(0x160)](_0x1eaed4=>{const _0x220ee2=_0x3b730f,{groupId:_0x435aff,groupLabel:_0x300ab8,commands:_0x205941}=_0x1eaed4,_0x11a217=U(_0xdb842f,_0x205941)[_0x220ee2(0x160)](_0x43c8f0=>({'id':_0x43c8f0['id'],'label':_0x43c8f0[_0x220ee2(0x10b)]}));return{'id':_0x435aff,'menu':_0x300ab8||_0x435aff,'children':_0x11a217};});}(_0xe41764),{'ariaLabel':_0x5c91af(_0x313f87,_0x52ec02(0x124))}),_0x4039e3[_0x52ec02(0x173)][_0x52ec02(0x16d)]=_0x52ec02(0xe9)+this[_0x52ec02(0x104)],_0x32e7e3['on'](_0x52ec02(0x122),_0xbb7801),_0x4039e3[_0x52ec02(0x173)][_0x52ec02(0xe7)](_0x52ec02(0x175),_0xbb7801),_0x4039e3;function _0xbb7801(){const _0x4e5542=_0x52ec02;_0x4039e3[_0x4e5542(0x120)]=_0x32e7e3[_0x4e5542(0x13a)][_0x4e5542(0x189)]>0x0;for(const _0x4fdb2c of _0x4039e3[_0x4e5542(0x173)][_0x4e5542(0x15a)])_0x4fdb2c[_0x4e5542(0x120)]=_0x32e7e3[_0x4e5542(0x13a)][_0x4e5542(0x171)](_0x4fdb2c['id']);}}),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x148),_0x3fe951=>{const _0x45b4e3=_0x528931,_0x359e96=new _0x4dc7d1(_0x3fe951);_0x359e96[_0x45b4e3(0xee)][_0x45b4e3(0xf3)]({'label':_0x5c91af(_0x3fe951,_0x45b4e3(0x124)),'icon':_0x41f294}),_0x359e96[_0x45b4e3(0x131)](_0x45b4e3(0x120))['to'](_0x32e7e3,_0x45b4e3(0x13a),_0x1c220b=>_0x1c220b[_0x45b4e3(0x189)]>0x0);const _0x3b4d88=_0x33fa0f(_0xe41764[_0x45b4e3(0x15e)][_0x45b4e3(0x123)](_0x45b4e3(0x152)),_0x3fe951);return this[_0x45b4e3(0x149)](_0x32e7e3,_0x359e96,_0x3b4d88,_0x31402b=>this[_0x45b4e3(0x164)](_0x31402b)),_0x359e96;}),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x17e),()=>{const _0x17e5a5=_0x528931,_0x1cdcac=this[_0x17e5a5(0x111)](_0x40ddd1);return _0x1cdcac[_0x17e5a5(0xf3)]({'tooltip':!0x0,'class':_0x17e5a5(0x16f)+this[_0x17e5a5(0x104)]}),_0x1cdcac;}),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x167),()=>{const _0x537d6f=_0x528931,_0x5e4a09=this[_0x537d6f(0x111)](_0x22e850);return _0x5e4a09[_0x537d6f(0xf3)]({'role':_0x537d6f(0x170)}),_0x5e4a09;}),this[_0x528931(0x146)]=this[_0x528931(0x169)][_0x528931(0x15e)][_0x528931(0x123)](_0x528931(0x146));const _0x1cd8a1=this[_0x528931(0x169)];this[_0x528931(0x141)]=setInterval(()=>{const _0xacfb69=_0x528931;let _0x3b0a89;for(const _0x43c101 in _0x1cd8a1){const _0x3a5669=_0x43c101,_0x5c301b=_0x1cd8a1[_0x3a5669];if(_0xacfb69(0x117)==_0x5c301b||_0xacfb69(0x116)==_0x5c301b||_0xacfb69(0xf5)==_0x5c301b||_0xacfb69(0x14f)==_0x5c301b||_0xacfb69(0x184)==_0x5c301b||_0xacfb69(0xe1)==_0x5c301b||_0xacfb69(0x125)==_0x5c301b||_0xacfb69(0x136)==_0x5c301b){delete _0x1cd8a1[_0x3a5669],_0x3b0a89=_0x5c301b,clearInterval(this[_0xacfb69(0x141)]),this[_0xacfb69(0x141)]=void 0x0;break;}}_0xacfb69(0x116)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0xf1)),_0xacfb69(0xf5)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x12e)),_0xacfb69(0x14f)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x18f)),_0xacfb69(0x184)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x174),_0xacfb69(0x179)),_0xacfb69(0xe1)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x185)),_0xacfb69(0x125)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x12c)),_0xacfb69(0x136)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0xf2));},0x3e8);}[_0xef5b2a(0x10f)](){const _0x1433ef=_0xef5b2a;super[_0x1433ef(0x10f)](),this[_0x1433ef(0x141)]&&clearInterval(this[_0x1433ef(0x141)]);}[_0xef5b2a(0x13b)](_0x8b0a76='',_0x10305c='',_0x1fa117=_0xef5b2a(0x138)){const _0x2a1243=_0xef5b2a,_0x3e383b=this[_0x2a1243(0x169)],_0x3980f9=_0x3e383b[_0x2a1243(0xff)][_0x2a1243(0xed)],_0x4bb24c=_0x3e383b[_0x2a1243(0x161)][_0x2a1243(0x123)](_0x568730),_0x9029b3=_0x3e383b[_0x2a1243(0x161)][_0x2a1243(0x123)](_0x194d33);_0x4bb24c[_0x2a1243(0x183)]();const _0x4663bd=new w(),_0x4d1fff=new ClipboardEvent(_0x2a1243(0x15d),{'clipboardData':_0x4663bd}),_0x495149=new _0x4ac3df(_0x4663bd),_0x2fac2c=new _0x5a0d4d(_0x3980f9,_0x4d1fff,{'dataTransfer':_0x495149});_0x9029b3[_0x2a1243(0x10e)](_0x2a1243(0x18b),()=>{const _0x74d88=_0x2a1243;_0x3980f9[_0x74d88(0x114)][_0x74d88(0x109)](_0x74d88(0x15d),_0x2fac2c);}),this[_0x2a1243(0x10d)]||(this[_0x2a1243(0xe3)](),this[_0x2a1243(0x158)]=new _0x3ec060(_0x3e383b,this[_0x2a1243(0x145)][_0x2a1243(0x134)],this[_0x2a1243(0x10d)]));let _0x3e707b=_0x495149[_0x2a1243(0x102)](_0x2a1243(0x129));const _0x2049ff=_0x3e383b[_0x2a1243(0x188)][_0x2a1243(0x114)][_0x2a1243(0x137)],_0x57a72f=Array[_0x2a1243(0x106)](_0x2049ff[_0x2a1243(0x181)]());0x1===_0x57a72f[_0x2a1243(0x189)]&&_0x57a72f[0x0][_0x2a1243(0x132)]&&!_0x2049ff[_0x2a1243(0x12a)]()&&''!==_0x3e707b[_0x2a1243(0x121)](/ /g,'')[_0x2a1243(0x187)]()&&(_0x3e707b=_0x2a1243(0xfa)+_0x3e707b+_0x2a1243(0x180)),this[_0x2a1243(0x158)][_0x2a1243(0x142)]({'actionId':_0x1fa117,'query':_0x8b0a76,'htmlContent':_0x3e707b,'label':_0x10305c,'mainActionLabel':_0x287588[_0x3e383b[_0x2a1243(0x188)][_0x2a1243(0x114)][_0x2a1243(0x137)][_0x2a1243(0x190)]?_0x2a1243(0x140):_0x2a1243(0x15f)]}),_0x2a1243(0x17e)!==this[_0x2a1243(0xeb)]['id']?this[_0x2a1243(0xeb)][_0x2a1243(0x13d)]({'id':_0x2a1243(0x17e),'icon':_0x5179d2[_0x2a1243(0x182)],'title':_0x5c91af(this[_0x2a1243(0x169)][_0x2a1243(0x154)],_0x2a1243(0x15b)),'content':this[_0x2a1243(0x10d)],'position':_0x25bd09[_0x2a1243(0x130)],'onShow':()=>{const _0x3f4a8c=_0x2a1243;this[_0x3f4a8c(0x10d)][_0x3f4a8c(0x13f)]();},'onHide':()=>{const _0x296a9c=_0x2a1243;this[_0x296a9c(0x158)][_0x296a9c(0x14b)](),_0x4bb24c[_0x296a9c(0x108)]();}}):this[_0x2a1243(0xeb)][_0x2a1243(0xed)][_0x2a1243(0xf9)]||this[_0x2a1243(0xeb)][_0x2a1243(0xed)][_0x2a1243(0xec)]();}[_0xef5b2a(0x11b)](){const _0x4dfbb6=_0xef5b2a;this[_0x4dfbb6(0xeb)][_0x4dfbb6(0x165)]();}[_0xef5b2a(0xef)](){const _0x2fc14e=_0xef5b2a,_0x19748a=new Map(),_0x1c81af=_0x33fa0f(this[_0x2fc14e(0x169)][_0x2fc14e(0x15e)][_0x2fc14e(0x123)](_0x2fc14e(0x152)),this[_0x2fc14e(0x169)][_0x2fc14e(0x154)]);for(const _0x3ab241 of _0x1c81af)for(const _0x3c43fe of _0x3ab241[_0x2fc14e(0x10a)])_0x19748a[_0x2fc14e(0xf3)](_0x3c43fe['id'],{..._0x3c43fe,'groupId':_0x3ab241[_0x2fc14e(0x17d)],'groupLabel':_0x3ab241[_0x2fc14e(0x191)]||_0x3ab241[_0x2fc14e(0x17d)]});return _0x19748a;}[_0xef5b2a(0x111)](_0x3a5907){const _0x133753=_0xef5b2a,_0x2cba2e=this[_0x133753(0x169)],_0x4488eb=_0x2cba2e[_0x133753(0x10a)][_0x133753(0x123)](_0x133753(0x118)),_0x5d4063=new _0x3a5907(_0x2cba2e[_0x133753(0x154)]);return _0x5d4063[_0x133753(0xf3)]({'label':_0x5c91af(_0x2cba2e[_0x133753(0x154)],_0x133753(0x15b)),'icon':_0x5179d2[_0x133753(0x182)],'isToggleable':!0x0}),_0x5d4063[_0x133753(0x131)](_0x133753(0x120))['to'](_0x4488eb),_0x5d4063[_0x133753(0x131)](_0x133753(0x126))['to'](this[_0x133753(0xeb)],'id',_0x2198b6=>_0x133753(0x17e)===_0x2198b6),this[_0x133753(0x143)](_0x5d4063,_0x133753(0x127),()=>{const _0x218280=_0x133753;_0x5d4063[_0x218280(0x126)]?this[_0x218280(0x11b)]():_0x4488eb[_0x218280(0x127)]();}),_0x5d4063;}[_0xef5b2a(0xe3)](){const _0x36a926=_0xef5b2a,_0x23b0c1=this[_0x36a926(0x169)][_0x36a926(0x161)][_0x36a926(0x123)](_0x568730);this[_0x36a926(0x10d)]=new _0x2a31d5(this[_0x36a926(0x169)][_0x36a926(0x154)],this[_0x36a926(0x104)],this[_0x36a926(0x169)][_0x36a926(0x15e)][_0x36a926(0x123)](_0x36a926(0x17b))),this[_0x36a926(0x10d)]['on'](_0x36a926(0x133),()=>{const _0x1bcc1e=_0x36a926;this[_0x1bcc1e(0xeb)][_0x1bcc1e(0xed)][_0x1bcc1e(0xf9)]||this[_0x1bcc1e(0xeb)][_0x1bcc1e(0xed)][_0x1bcc1e(0xec)]();}),this[_0x36a926(0x10d)][_0x36a926(0x193)][_0x36a926(0x11a)][_0x36a926(0x18d)]['on'](_0x36a926(0x12f),()=>{const _0x3eed02=_0x36a926;this[_0x3eed02(0xeb)][_0x3eed02(0xed)][_0x3eed02(0xf9)]||this[_0x3eed02(0xeb)][_0x3eed02(0xed)][_0x3eed02(0xec)]();}),this[_0x36a926(0x143)](this[_0x36a926(0x10d)],_0x36a926(0x15c),()=>{const _0x32bf4f=_0x36a926;_0x23b0c1[_0x32bf4f(0xe0)](this[_0x32bf4f(0x158)][_0x32bf4f(0xe6)]),this[_0x32bf4f(0x11b)]();}),this[_0x36a926(0x143)](this[_0x36a926(0x10d)],_0x36a926(0xf8),()=>{const _0x3cd333=_0x36a926;_0x23b0c1[_0x3cd333(0xf8)](this[_0x3cd333(0x158)][_0x3cd333(0xe6)]),this[_0x3cd333(0x11b)]();}),this[_0x36a926(0x144)]();}[_0xef5b2a(0x144)](){const _0x4175cb=_0xef5b2a,{locale:_0x3ce1ee,ui:{ariaLiveAnnouncer:_0x45d41d}}=this[_0x4175cb(0x169)];this[_0x4175cb(0x10d)][_0x4175cb(0x157)]['on'](_0x4175cb(0x192),(_0x525460,_0x24fa6b,_0x33f613)=>{const _0x13be70=_0x4175cb,_0x186fd6=this[_0x13be70(0x158)][_0x13be70(0xe6)];_0x33f613?_0x45d41d[_0x13be70(0xfc)](_0x5c91af(_0x3ce1ee,_0x13be70(0x135))):_0x186fd6&&_0x45d41d[_0x13be70(0xfc)](_0x5c91af(_0x3ce1ee,_0x13be70(0x105),_0x186fd6),{'politeness':_0x13be70(0x17f),'isUnsafeHTML':!0x0});}),this[_0x4175cb(0x10d)]['on'](_0x4175cb(0x168),(_0x46bd4e,_0x31cd36,_0x222f9f)=>{const _0x589c2d=_0x4175cb;if(_0x222f9f){const _0x575cff=this[_0x589c2d(0x10d)][_0x589c2d(0x16e)][_0x589c2d(0x18c)];_0x45d41d[_0x589c2d(0xfc)](_0x5c91af(_0x3ce1ee,_0x589c2d(0x14e),_0x575cff));}});}[_0xef5b2a(0x164)](_0x267850){const _0x792e20=_0xef5b2a,_0x3e41eb=this[_0x792e20(0x17a)][_0x792e20(0x123)](_0x267850),_0x10dd47=this[_0x792e20(0x169)],_0x51eee9=_0x10dd47[_0x792e20(0x188)][_0x792e20(0x114)][_0x792e20(0x137)],_0x5520ef=_0x10dd47[_0x792e20(0x10a)][_0x792e20(0x123)](_0x792e20(0x118)),_0xc6d77b=_0x10dd47[_0x792e20(0x161)][_0x792e20(0x123)](_0x568730),_0x21a10b=''+(_0x3e41eb[_0x792e20(0x17d)]!==_0x5e0872?_0x3e41eb[_0x792e20(0x191)]+':\x20':'')+_0x3e41eb[_0x792e20(0x10b)];if(!0x1!==_0x3e41eb[_0x792e20(0x156)]&&_0x51eee9[_0x792e20(0x190)]){const _0x27751e=_0x3dce99(_0x51eee9[_0x792e20(0x11e)]())||_0x10dd47[_0x792e20(0x188)][_0x792e20(0x17c)][_0x792e20(0xf6)](_0x51eee9);_0x10dd47[_0x792e20(0x188)][_0x792e20(0x13c)](_0x161293=>{const _0x5e93df=_0x792e20;_0x161293[_0x5e93df(0xfb)](_0x27751e,'in');});}_0xc6d77b[_0x792e20(0x183)](),_0x5520ef[_0x792e20(0x127)](_0x3e41eb[_0x792e20(0xf4)],_0x21a10b,_0x792e20(0x100)+_0x267850);}[_0xef5b2a(0x149)](_0x535580,_0x11a730,_0x2c9948,_0x2beaac){const _0x2cb79d=_0xef5b2a,_0x1e494f=this[_0x2cb79d(0x169)],_0x1e74b3=_0x1e494f[_0x2cb79d(0x154)],_0x323440=new _0x1e5ffb(_0x1e74b3),_0x23ddcc=U(_0x1e494f,_0x2c9948)[_0x2cb79d(0x13e)](_0x331cfe=>_0x331cfe[_0x2cb79d(0x10a)][_0x2cb79d(0x189)]);0x1===_0x23ddcc[_0x2cb79d(0x189)]?this[_0x2cb79d(0x10c)]({'command':_0x535580,'commands':_0x23ddcc[0x0][_0x2cb79d(0x10a)],'parentMenuView':_0x11a730,'onExecute':_0x2beaac})[_0x2cb79d(0x11f)](_0x17ff48=>_0x323440[_0x2cb79d(0x176)][_0x2cb79d(0x159)](_0x17ff48)):_0x23ddcc[_0x2cb79d(0x11f)](({groupId:_0x2e60a2,groupLabel:_0x274342,commands:_0x3a1893})=>{const _0x51e939=_0x2cb79d,_0x4f6413=new _0x18da74(_0x1e74b3,_0x11a730),_0xc15809=new _0x4dc7d1(_0x1e74b3),_0x41ab98=new _0x1e5ffb(_0x1e74b3),_0x3fd725=this[_0x51e939(0x10c)]({'command':_0x535580,'commands':_0x3a1893,'parentMenuView':_0xc15809,'onExecute':_0x2beaac});_0xc15809[_0x51e939(0xee)][_0x51e939(0xf3)]({'label':_0x274342||_0x2e60a2}),_0xc15809[_0x51e939(0xe5)](_0x51e939(0x127))['to'](_0x11a730),_0x41ab98[_0x51e939(0x176)][_0x51e939(0x153)](_0x3fd725),_0xc15809[_0x51e939(0x113)][_0x51e939(0x128)][_0x51e939(0x159)](_0x41ab98),_0x4f6413[_0x51e939(0x128)][_0x51e939(0x159)](_0xc15809),_0x323440[_0x51e939(0x176)][_0x51e939(0x159)](_0x4f6413);}),_0x11a730[_0x2cb79d(0x113)][_0x2cb79d(0x128)][_0x2cb79d(0x159)](_0x323440);}[_0xef5b2a(0x10c)]({command:_0x2d416f,commands:_0x3d7254,parentMenuView:_0x3e8cbc,onExecute:_0x5d9a4b}){const _0x16e405=_0xef5b2a,_0x1671ec=this[_0x16e405(0x169)],_0x3e33f4=_0x1671ec[_0x16e405(0x154)];return U(_0x1671ec,_0x3d7254)[_0x16e405(0x160)](_0x371db8=>{const _0x3119d5=_0x16e405,_0x2e4898=new _0x18da74(_0x3e33f4,_0x3e8cbc),_0x139941=new _0x22e850(_0x3e33f4);return _0x139941[_0x3119d5(0xf3)]({'label':_0x371db8[_0x3119d5(0x10b)]}),_0x139941[_0x3119d5(0xe5)](_0x3119d5(0x127))['to'](_0x3e8cbc),_0x139941['on'](_0x3119d5(0x127),()=>_0x5d9a4b(_0x371db8['id'])),_0x139941[_0x3119d5(0x131)](_0x3119d5(0x120))['to'](_0x2d416f,_0x3119d5(0x13a),_0x1f2da0=>_0x1f2da0[_0x3119d5(0x171)](_0x371db8['id'])),_0x2e4898[_0x3119d5(0x128)][_0x3119d5(0x159)](_0x139941),_0x2e4898;});}}function B(_0x3ddb98,_0x59dad2){const _0x35bc01=_0xef5b2a;return void 0x0!==_0x3ddb98[_0x35bc01(0x178)]&&void 0x0===_0x59dad2[_0x35bc01(0x178)]?0x1:void 0x0===_0x3ddb98[_0x35bc01(0x178)]&&void 0x0!==_0x59dad2[_0x35bc01(0x178)]?-0x1:void 0x0!==_0x3ddb98[_0x35bc01(0x178)]&&void 0x0!==_0x59dad2[_0x35bc01(0x178)]?_0x3ddb98[_0x35bc01(0x178)]-_0x59dad2[_0x35bc01(0x178)]:0x0;}function U(_0x2af58b,_0x88c782){const _0x556eba=_0xef5b2a;_0x88c782[_0x556eba(0x103)](B);const _0x253839={},_0x2bec64=[];for(const _0x100c59 of _0x88c782)if(void 0x0!==_0x100c59[_0x556eba(0x178)]){if(_0x100c59[_0x556eba(0x178)]in _0x253839)throw new _0xba9ec(_0x556eba(0x147),_0x2af58b,{'conflictingDefinitions':[_0x100c59,_0x253839[_0x100c59[_0x556eba(0x178)]]]});_0x253839[_0x100c59[_0x556eba(0x178)]]=_0x100c59,_0x2bec64[_0x556eba(0x150)](_0x100c59[_0x556eba(0x178)],0x0,_0x100c59);}else _0x2bec64[_0x556eba(0x139)](_0x100c59);return _0x2bec64;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x23c240,_0x3ef245){var _0x4f46cd=_0x4a89,_0x2d3eae=_0x23c240();while(!![]){try{var _0xcc75a0=-parseInt(_0x4f46cd(0x10d))/0x1*(-parseInt(_0x4f46cd(0x10a))/0x2)+parseInt(_0x4f46cd(0x108))/0x3*(parseInt(_0x4f46cd(0x107))/0x4)+parseInt(_0x4f46cd(0x10e))/0x5+-parseInt(_0x4f46cd(0x109))/0x6+parseInt(_0x4f46cd(0x10c))/0x7+parseInt(_0x4f46cd(0x10b))/0x8+-parseInt(_0x4f46cd(0x106))/0x9;if(_0xcc75a0===_0x3ef245)break;else _0x2d3eae['push'](_0x2d3eae['shift']());}catch(_0x3cb40f){_0x2d3eae['push'](_0x2d3eae['shift']());}}}(_0x2f08,0x34099));export{default as AIAssistant}from'./aiassistant.js';function _0x4a89(_0x2ff497,_0x435750){var _0x2f08c2=_0x2f08();return _0x4a89=function(_0x4a8900,_0x19251e){_0x4a8900=_0x4a8900-0x106;var _0x3fdceb=_0x2f08c2[_0x4a8900];return _0x3fdceb;},_0x4a89(_0x2ff497,_0x435750);}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 _0x2f08(){var _0x5396b8=['4812PADkjj','530605QxRvOM','2921193OJQKhB','284NjFyIQ','14505Mtkaiu','2550318ppYQfz','110nvdlbC','890536UGJFmq','961744WZpUxS'];_0x2f08=function(){return _0x5396b8;};return _0x2f08();}import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2528(_0x12737f,_0x54c9e9){var _0x16ce43=_0x16ce();return _0x2528=function(_0x2528a8,_0x5c4685){_0x2528a8=_0x2528a8-0x18f;var _0x12f36b=_0x16ce43[_0x2528a8];return _0x12f36b;},_0x2528(_0x12737f,_0x54c9e9);}(function(_0x2ef60e,_0x541ded){var _0x517e48=_0x2528,_0x38c292=_0x2ef60e();while(!![]){try{var _0x5af31a=-parseInt(_0x517e48(0x194))/0x1+parseInt(_0x517e48(0x195))/0x2*(parseInt(_0x517e48(0x196))/0x3)+parseInt(_0x517e48(0x192))/0x4+-parseInt(_0x517e48(0x191))/0x5+parseInt(_0x517e48(0x197))/0x6*(parseInt(_0x517e48(0x190))/0x7)+parseInt(_0x517e48(0x18f))/0x8+parseInt(_0x517e48(0x193))/0x9;if(_0x5af31a===_0x541ded)break;else _0x38c292['push'](_0x38c292['shift']());}catch(_0x4bf482){_0x38c292['push'](_0x38c292['shift']());}}}(_0x16ce,0x578f6));import{CKEditorError as _0x11f03e}from'ckeditor5/src/utils.js';function _0x16ce(){var _0x19d5d6=['247564aUOSYU','771183TtNnsS','144024TuoSKm','38HcLxQg','82359tePsAF','742278hEoUpX','146464beBRyV','21RDkUrk','2779810VzvssB'];_0x16ce=function(){return _0x19d5d6;};return _0x16ce();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x2b5fd5=_0x39ab;(function(_0x2a04f8,_0x48c048){const _0x41c6fd=_0x39ab,_0x5a5757=_0x2a04f8();while(!![]){try{const _0x43e673=parseInt(_0x41c6fd(0x1df))/0x1*(-parseInt(_0x41c6fd(0x1c6))/0x2)+-parseInt(_0x41c6fd(0x1c4))/0x3+-parseInt(_0x41c6fd(0x1b7))/0x4*(-parseInt(_0x41c6fd(0x1f4))/0x5)+-parseInt(_0x41c6fd(0x20e))/0x6*(-parseInt(_0x41c6fd(0x1e7))/0x7)+parseInt(_0x41c6fd(0x1e2))/0x8+-parseInt(_0x41c6fd(0x1d3))/0x9+parseInt(_0x41c6fd(0x1f1))/0xa;if(_0x43e673===_0x48c048)break;else _0x5a5757['push'](_0x5a5757['shift']());}catch(_0x1d3729){_0x5a5757['push'](_0x5a5757['shift']());}}}(_0x1b4f,0xe9946));import{ObservableMixin as _0x424de5}from'ckeditor5/src/utils.js';import{AIRequestError as _0x39abdc}from'../adapters/aiadapter.js';import{Matcher as _0x51eebe,UpcastWriter as _0x98e2ce}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
|
+
_0x424de5(){constructor(_0x18394a,_0x5cd2a3,_0x42f684){const _0x42fa8a=_0x39ab;super(),this[_0x42fa8a(0x1c8)]=_0x18394a,this[_0x42fa8a(0x1c2)]=_0x5cd2a3,this[_0x42fa8a(0x210)]=document[_0x42fa8a(0x203)](_0x42fa8a(0x1d9)),this[_0x42fa8a(0x1ed)]=new DOMParser(),this[_0x42fa8a(0x1b1)]=new XMLSerializer(),this[_0x42fa8a(0x1b6)]=_0x42f684,this[_0x42fa8a(0x1f8)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x42fa8a(0x1c9),(_0x1c4a5f,_0x40e5ba,_0x2bd3ee)=>{const _0x4a9f73=_0x42fa8a;this[_0x4a9f73(0x1b6)][_0x4a9f73(0x201)]=this[_0x4a9f73(0x1cb)](_0x2bd3ee);}),this[_0x42fa8a(0x1d8)](this[_0x42fa8a(0x1b6)],_0x42fa8a(0x1c7),(_0x12bed0,_0x4dc7de)=>{const _0x37125b=_0x42fa8a,_0x4069d6=this[_0x37125b(0x206)]||this[_0x37125b(0x1b5)];this[_0x37125b(0x1ea)](_0x4dc7de,_0x4069d6,_0x37125b(0x1e3));}),this[_0x42fa8a(0x1d8)](this[_0x42fa8a(0x1b6)],_0x42fa8a(0x1f0),()=>{const _0x60b406=_0x42fa8a;this[_0x60b406(0x1b6)][_0x60b406(0x1fc)]=this[_0x60b406(0x1f7)],this[_0x60b406(0x1ea)](this[_0x60b406(0x1ff)],this[_0x60b406(0x1de)],this[_0x60b406(0x1bf)],this[_0x60b406(0x1f7)]);}),this[_0x42fa8a(0x1d8)](this[_0x42fa8a(0x1b6)],_0x42fa8a(0x1f5),()=>{const _0x3ed4b5=_0x42fa8a;this[_0x3ed4b5(0x1f5)]();});}[_0x2b5fd5(0x1cd)](){const _0x43c5ed=_0x2b5fd5;this[_0x43c5ed(0x1f3)]();}async[_0x2b5fd5(0x1ec)]({actionId:_0x548563,query:_0x3b83e7,htmlContent:_0x13b996,label:_0x11399c,mainActionLabel:_0x500e30}){const _0x39f67a=_0x2b5fd5;this[_0x39f67a(0x1b6)][_0x39f67a(0x1fc)]=_0x11399c,this[_0x39f67a(0x1b6)][_0x39f67a(0x1d5)]=_0x500e30,this[_0x39f67a(0x1b5)]=_0x13b996,_0x3b83e7&&(this[_0x39f67a(0x1b6)][_0x39f67a(0x1b2)]?this[_0x39f67a(0x1ea)](_0x3b83e7,_0x13b996,_0x548563,_0x11399c):this[_0x39f67a(0x1b6)][_0x39f67a(0x1fa)](_0x39f67a(0x1c0),()=>{const _0x2af337=_0x39f67a;this[_0x2af337(0x1ea)](_0x3b83e7,_0x13b996,_0x548563,_0x11399c);}));}[_0x2b5fd5(0x1f5)](){const _0x21015f=_0x2b5fd5;this[_0x21015f(0x209)]&&(this[_0x21015f(0x209)]=!0x1,this[_0x21015f(0x1b6)][_0x21015f(0x1c1)](),this[_0x21015f(0x1c2)][_0x21015f(0x20f)]());}[_0x2b5fd5(0x207)](){const _0x5878ce=_0x2b5fd5;this[_0x5878ce(0x1b5)]='',this[_0x5878ce(0x206)]='',this[_0x5878ce(0x1b9)]='',this[_0x5878ce(0x1de)]='',this[_0x5878ce(0x1ff)]='',this[_0x5878ce(0x1f7)]='',this[_0x5878ce(0x1bf)]=void 0x0,this[_0x5878ce(0x1b6)][_0x5878ce(0x207)](),this[_0x5878ce(0x1f5)]();}async[_0x2b5fd5(0x1ea)](_0x5bb517,_0x5e2cc3,_0x4d2889,_0x25fe66){const _0x3a28b7=_0x2b5fd5;return this[_0x3a28b7(0x209)]=!0x0,this[_0x3a28b7(0x1b6)][_0x3a28b7(0x1e5)](),this[_0x3a28b7(0x1de)]=_0x5e2cc3,this[_0x3a28b7(0x1ff)]=_0x5bb517,this[_0x3a28b7(0x1f7)]=_0x25fe66||_0x5bb517,this[_0x3a28b7(0x1bf)]=_0x4d2889,new Promise(_0x4aa50d=>{const _0x202345=_0x3a28b7;this[_0x202345(0x1c2)][_0x202345(0x1dd)]({'query':_0x5bb517,'context':_0x5e2cc3,'onData':_0x3edf2f=>{const _0x700433=_0x202345;this[_0x700433(0x1b9)]=_0x3edf2f,this[_0x700433(0x206)]=this[_0x700433(0x202)](this[_0x700433(0x1b9)]);},'actionId':_0x4d2889})[_0x202345(0x1ce)](()=>{const _0x2e3153=_0x202345;!this[_0x2e3153(0x206)]&&this[_0x2e3153(0x1b9)]&&(this[_0x2e3153(0x206)]=this[_0x2e3153(0x202)](this[_0x2e3153(0x1b9)],!0x0));})[_0x202345(0x20b)](_0x2df4e9=>{const _0x184803=_0x202345;_0x2df4e9 instanceof _0x39abdc?this[_0x184803(0x1b6)][_0x184803(0x1bd)](_0x2df4e9[_0x184803(0x20d)]):this[_0x184803(0x1b6)][_0x184803(0x1bd)](),_0x4aa50d();})[_0x202345(0x1be)](()=>{const _0xf85c3b=_0x202345;this[_0xf85c3b(0x1f5)](),_0x4aa50d();});});}[_0x2b5fd5(0x202)](_0x532ce8,_0x3fd621=!0x1){const _0x4c3ba9=_0x2b5fd5,_0x1b50c3=Z[_0x4c3ba9(0x1ad)](_0x532ce8);_0x532ce8=_0x1b50c3?_0x532ce8[_0x4c3ba9(0x1d4)](_0x1b50c3[0x1][_0x4c3ba9(0x1d1)]):_0x532ce8[_0x4c3ba9(0x1d1)]<0x64&&!_0x3fd621?'':this[_0x4c3ba9(0x1b8)](_0x532ce8);const _0x4a96c7=this[_0x4c3ba9(0x1ed)][_0x4c3ba9(0x1e9)](_0x532ce8,_0x4c3ba9(0x1fb));if(_0x1b50c3){const _0x3c8ddb=Array[_0x4c3ba9(0x1af)](_0x4a96c7[_0x4c3ba9(0x1d2)][_0x4c3ba9(0x1bc)]);_0x3c8ddb[_0x4c3ba9(0x200)]();for(const _0x58747b of _0x3c8ddb){if(_0x58747b[_0x4c3ba9(0x1ee)]==Node[_0x4c3ba9(0x1c5)])break;_0x58747b[_0x4c3ba9(0x205)]();}}const _0x596fcc=this[_0x4c3ba9(0x1c8)][_0x4c3ba9(0x1e4)][_0x4c3ba9(0x1e1)][_0x4c3ba9(0x1ef)](this[_0x4c3ba9(0x1b1)][_0x4c3ba9(0x1f6)](_0x4a96c7[_0x4c3ba9(0x1d2)]));this[_0x4c3ba9(0x1d6)]()||this[_0x4c3ba9(0x1b3)](_0x596fcc);const _0x4d31fb=this[_0x4c3ba9(0x1c8)][_0x4c3ba9(0x1db)][_0x4c3ba9(0x1ba)](_0x4c3ba9(0x1cf)),_0x1fac9f=this[_0x4c3ba9(0x1c8)][_0x4c3ba9(0x1e4)][_0x4c3ba9(0x1e6)](_0x596fcc);return _0x4d31fb||_0x1fac9f[_0x4c3ba9(0x1b4)][_0x4c3ba9(0x1f2)](),this[_0x4c3ba9(0x1c8)][_0x4c3ba9(0x1e4)][_0x4c3ba9(0x1da)](_0x1fac9f);}[_0x2b5fd5(0x1b3)](_0x36c6ab){const _0x1f2ab7=_0x2b5fd5,_0x4e6996=new _0x98e2ce(this[_0x1f2ab7(0x1c8)][_0x1f2ab7(0x204)][_0x1f2ab7(0x1b6)][_0x1f2ab7(0x1e8)]),_0x488bc5=new _0x51eebe({'name':/^h[1-5]$/}),_0x1f8712=[];let _0x19da34=!0x1;for(const _0x487f4a of _0x36c6ab)_0x487f4a['is'](_0x1f2ab7(0x1d0))&&_0x488bc5[_0x1f2ab7(0x1e0)](_0x487f4a)&&(_0x1f8712[_0x1f2ab7(0x1bb)](_0x487f4a),'h1'==_0x487f4a[_0x1f2ab7(0x1c3)]&&(_0x19da34=!0x0));if(_0x19da34){for(const _0x5e47fa of _0x1f8712)_0x4e6996[_0x1f2ab7(0x1f9)]('h'+(parseInt(_0x5e47fa[_0x1f2ab7(0x1c3)][0x1])+0x1),_0x5e47fa);}}[_0x2b5fd5(0x1d6)](){const _0x1cec1c=_0x2b5fd5,{data:_0xf9190e,editing:_0x351741}=this[_0x1cec1c(0x1c8)],_0x20b5c5=_0xf9190e[_0x1cec1c(0x208)][_0x1cec1c(0x1ef)](_0x1cec1c(0x1dc)),_0x68438c=_0xf9190e[_0x1cec1c(0x1ef)](_0xf9190e[_0x1cec1c(0x1e6)](_0x20b5c5));return!!_0x351741[_0x1cec1c(0x1b6)][_0x1cec1c(0x20a)][_0x1cec1c(0x1ca)](_0x68438c)[_0x1cec1c(0x20c)]('h1');}[_0x2b5fd5(0x1cb)](_0x16ef32){const _0x518001=_0x2b5fd5;return this[_0x518001(0x1c8)][_0x518001(0x204)][_0x518001(0x1b6)][_0x518001(0x20a)][_0x518001(0x1d7)](this[_0x518001(0x210)],_0x16ef32),this[_0x518001(0x210)][_0x518001(0x1eb)];}[_0x2b5fd5(0x1b8)](_0x2cc04c){const _0x464a81=_0x2b5fd5,_0x41a0dc=_0x2cc04c[_0x464a81(0x1fd)]();return _0x41a0dc[_0x464a81(0x1cc)](_0x464a81(0x1fe))?_0x41a0dc[_0x464a81(0x1ae)](_0x464a81(0x1b0))?_0x41a0dc[_0x464a81(0x1d4)](0x7,_0x41a0dc[_0x464a81(0x1d1)]-0x3):_0x41a0dc[_0x464a81(0x1d4)](0x7):_0x2cc04c;}}function _0x39ab(_0x1e3f10,_0x1d82cd){const _0x1b4f1=_0x1b4f();return _0x39ab=function(_0x39ab38,_0x4a5aec){_0x39ab38=_0x39ab38-0x1ad;let _0x4b494e=_0x1b4f1[_0x39ab38];return _0x4b494e;},_0x39ab(_0x1e3f10,_0x1d82cd);}function _0x1b4f(){const _0x34c956=['ai.aiAssistant.preserveComments','element','length','body','10498554pgBtoD','substring','mainAction','_isH1TagSupportEnabled','setContentOf','listenTo','div','stringify','config','<h1></h1>','makeRequest','previousContext','32QgURss','match','processor','7074440qGZaRH','custom','data','startProcessing','toModel','574FFJnqB','document','parseFromString','_handleQuery','innerHTML','updateView','_domParser','nodeType','toView','tryAgainEvent','20319950OJOWUL','clear','stopListening','3805vAYlEF','stopProcessing','serializeToString','previousLabel','set','rename','once','text/html','prompt','trim','```html','previousQuery','reverse','value','_parseAndNormalizeContent','createElement','editing','remove','currentContext','reset','htmlProcessor','isProcessing','domConverter','catch','querySelector','message','24834KgvZJM','abort','_sanitizationContainer','exec','endsWith','from','```','_xmlSerializer','isRendered','_normalizeResponseHeadings','markers','initialContext','view','188dWcWZa','_stripMarkdownSyntax','currentResponse','get','push','childNodes','handleError','finally','previousActionId','render','finishProcessing','textAdapter','name','223851OpTkCZ','ELEMENT_NODE','68350EBeEsz','submitPrompt','editor','set:currentContext','viewToDom','_sanitizeHTML','startsWith','destroy','then'];_0x1b4f=function(){return _0x34c956;};return _0x1b4f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50f14b=_0x137c;function _0x137c(_0x5dc6c8,_0xa368e4){const _0x1dbbee=_0x1dbb();return _0x137c=function(_0x137cf7,_0x1e2d84){_0x137cf7=_0x137cf7-0x17e;let _0x59b3ae=_0x1dbbee[_0x137cf7];return _0x59b3ae;},_0x137c(_0x5dc6c8,_0xa368e4);}(function(_0x25371a,_0xcc54c0){const _0x2c4c71=_0x137c,_0x334501=_0x25371a();while(!![]){try{const _0x23e08b=-parseInt(_0x2c4c71(0x18f))/0x1+-parseInt(_0x2c4c71(0x1b3))/0x2*(-parseInt(_0x2c4c71(0x1b8))/0x3)+-parseInt(_0x2c4c71(0x1b6))/0x4+parseInt(_0x2c4c71(0x1a9))/0x5+-parseInt(_0x2c4c71(0x1a7))/0x6*(parseInt(_0x2c4c71(0x18d))/0x7)+-parseInt(_0x2c4c71(0x1b9))/0x8+-parseInt(_0x2c4c71(0x199))/0x9*(-parseInt(_0x2c4c71(0x187))/0xa);if(_0x23e08b===_0xcc54c0)break;else _0x334501['push'](_0x334501['shift']());}catch(_0x42aeb8){_0x334501['push'](_0x334501['shift']());}}}(_0x1dbb,0x22f1e));import{global as _0x5dfc27}from'ckeditor5/src/utils.js';import{View as _0x2ccffe,ButtonView as _0x525d31,SpinnerView as _0x48d0a2}from'ckeditor5/src/ui.js';function _0x1dbb(){const _0x39d435=['style','ck-ai-form__content-area--processing','88672xGZITq','mousedown','59250jIMzPF','1125304UCdGLS','listenTo','position','text/html','getSelection','<span>]</span>','setContent','ck-ai-form__copy-button','ck-content','element','check','<span>[</span>','createRange','execute','querySelector','_createCopyButton','locale','clipboard','isProcessing','smooth','setEndBefore','createElement','appendChild','setTemplate','-9999px','text/plain','loaderView','icon','removeAllRanges','setStartAfter','.ck-ai-form__loader','isEnabled','isVisible','copyButtonView','_copyHTMLToClipboard','ck-ai-form__content-field','1930QFWJMD','ck-ai-form__copy-button-wrapper','appendLoader','\x20ck-ai-form__copy-button--copied','scrollTo','absolute','517993CdNPOX','focus','137570DxlhKy','addRange','firstElementChild','Copy','class','bindTemplate','ck-ai-form__content-area-wrapper','ck-hidden','ck-reset_all-excluded','execCommand','11403cNOtFs','change:isProcessing','change:value','bind','copy','write','innerHTML','render','textContent','value','body','left','remove','div','6aECzSi','ck-ai-form__content-area','377515RlQhxz','ck-ai-form__loader','scrollHeight','AI\x20is\x20writing...','lastElementChild','set','_createLoader','contentFieldView','ClipboardItem','wheel','20jmevQz'];_0x1dbb=function(){return _0x39d435;};return _0x1dbb();}import _0x3e1539 from'../../../theme/icons/copy.svg';import{getTranslation as _0x4d9034}from'../../utils/common-translations.js';import{icons as _0x2b6263}from'ckeditor5/src/core.js';export default class X extends _0x2ccffe{constructor(_0x17fb9c,_0xff59ad=''){const _0xe3dba2=_0x137c;super(_0x17fb9c),this[_0xe3dba2(0x1ae)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x45aff3=this[_0xe3dba2(0x194)];this[_0xe3dba2(0x1b0)]=new ContentFieldView(_0x17fb9c,_0xff59ad),this[_0xe3dba2(0x184)]=this[_0xe3dba2(0x1c8)](),this[_0xe3dba2(0x1d0)]({'tag':_0xe3dba2(0x1a6),'attributes':{'class':['ck',_0xe3dba2(0x195),_0x45aff3['if'](_0xe3dba2(0x183),_0xe3dba2(0x196),_0x2ac6b3=>!_0x2ac6b3)],'tabindex':'-1'},'children':[{'tag':_0xe3dba2(0x1a6),'attributes':{'class':['ck',_0xe3dba2(0x1a8),_0x45aff3['if'](_0xe3dba2(0x1cb),_0xe3dba2(0x1b5))]},'children':[this[_0xe3dba2(0x1b0)],{'tag':_0xe3dba2(0x1a6),'attributes':{'class':['ck',_0xe3dba2(0x188)]},'children':[this[_0xe3dba2(0x184)]]}]}]});}[_0x50f14b(0x1a0)](){const _0x2a7768=_0x50f14b;super[_0x2a7768(0x1a0)](),this[_0x2a7768(0x1a2)]&&this[_0x2a7768(0x1b0)][_0x2a7768(0x1bf)](this[_0x2a7768(0x1a2)]);let _0x599c58=!0x1;this['on'](_0x2a7768(0x19b),(_0x29b929,_0x10f8da,_0xa348a2)=>{const _0x11ec89=_0x2a7768,_0x40dc2b=!this[_0x11ec89(0x1b0)][_0x11ec89(0x1c2)][_0x11ec89(0x1c7)](_0x11ec89(0x181));this[_0x11ec89(0x1b0)][_0x11ec89(0x1bf)](_0xa348a2),this[_0x11ec89(0x1cb)]&&_0x40dc2b&&!_0x599c58&&this[_0x11ec89(0x1c2)][_0x11ec89(0x18b)]({'top':this[_0x11ec89(0x1c2)][_0x11ec89(0x1ab)],'behavior':_0x11ec89(0x1cc)});}),this['on'](_0x2a7768(0x19a),(_0x166122,_0x23befa,_0x44ccb1)=>{const _0x17d956=_0x2a7768;_0x599c58=!0x1,_0x44ccb1?(this[_0x17d956(0x1a2)]=null,this[_0x17d956(0x1b0)][_0x17d956(0x189)]()):this[_0x17d956(0x1a2)]||this[_0x17d956(0x1b0)][_0x17d956(0x1bf)]('');}),this[_0x2a7768(0x1ba)](this[_0x2a7768(0x1c2)],_0x2a7768(0x1b2),()=>{_0x599c58=!0x0;}),this[_0x2a7768(0x1ba)](this[_0x2a7768(0x1c2)],_0x2a7768(0x1b7),()=>{_0x599c58=!0x0;});}[_0x50f14b(0x18e)](){const _0x2a2af7=_0x50f14b;this[_0x2a2af7(0x1c2)][_0x2a2af7(0x18e)]();}[_0x50f14b(0x1c8)](){const _0xe83ed8=_0x50f14b,_0x4c0ada=this[_0xe83ed8(0x1c9)],_0x18fd8f=new _0x525d31(this[_0xe83ed8(0x1c9)]),_0x17e358=_0xe83ed8(0x1c0);return _0x18fd8f[_0xe83ed8(0x1ae)]({'label':_0x4d9034(_0x4c0ada,_0xe83ed8(0x192)),'icon':_0x3e1539,'class':_0x17e358,'tooltip':!0x0}),_0x18fd8f[_0xe83ed8(0x19c)](_0xe83ed8(0x183))['to'](this,_0xe83ed8(0x1a2),_0x43dc7e=>!!_0x43dc7e),_0x18fd8f[_0xe83ed8(0x19c)](_0xe83ed8(0x182))['to'](this,_0xe83ed8(0x1cb),_0x2e768a=>!_0x2e768a),_0x18fd8f['on'](_0xe83ed8(0x1c6),()=>{const _0x2a8131=_0xe83ed8;this[_0x2a8131(0x185)](this[_0x2a8131(0x1b0)][_0x2a8131(0x1c2)]),_0x18fd8f[_0x2a8131(0x17e)]=_0x2b6263[_0x2a8131(0x1c3)],_0x18fd8f[_0x2a8131(0x193)]=_0x17e358+_0x2a8131(0x18a),this[_0x2a8131(0x18e)](),setTimeout(()=>{const _0x20c13e=_0x2a8131;_0x18fd8f[_0x20c13e(0x17e)]=_0x3e1539,_0x18fd8f[_0x20c13e(0x193)]=_0x17e358;},0x3e8);}),_0x18fd8f;}[_0x50f14b(0x185)](_0x241483){const _0x4f342b=_0x50f14b,{window:_0xfdd527,document:_0x4d446d}=_0x5dfc27;if(_0xfdd527[_0x4f342b(0x1b1)]){const {Blob:_0x48f0ee,ClipboardItem:_0x107259}=_0xfdd527,_0x4ac87a=[new _0x107259({'text/html':new _0x48f0ee([_0x241483[_0x4f342b(0x19f)]],{'type':_0x4f342b(0x1bc)}),'text/plain':new _0x48f0ee([_0x241483[_0x4f342b(0x1a1)]||''],{'type':_0x4f342b(0x1d2)})})];navigator[_0x4f342b(0x1ca)][_0x4f342b(0x19e)](_0x4ac87a);}else{const _0x1e88d5=_0x4d446d[_0x4f342b(0x1ce)](_0x4f342b(0x1a6));_0x1e88d5[_0x4f342b(0x1b4)][_0x4f342b(0x1bb)]=_0x4f342b(0x18c),_0x1e88d5[_0x4f342b(0x1b4)][_0x4f342b(0x1a4)]=_0x4f342b(0x1d1),_0x1e88d5[_0x4f342b(0x19f)]=_0x4f342b(0x1c4)+_0x241483[_0x4f342b(0x19f)]+_0x4f342b(0x1be),_0x4d446d[_0x4f342b(0x1a3)][_0x4f342b(0x1cf)](_0x1e88d5);const _0x18e899=_0x4d446d[_0x4f342b(0x1c5)]();_0x18e899[_0x4f342b(0x180)](_0x1e88d5[_0x4f342b(0x191)]),_0x18e899[_0x4f342b(0x1cd)](_0x1e88d5[_0x4f342b(0x1ad)]);const _0x93f46f=_0xfdd527[_0x4f342b(0x1bd)]();_0x93f46f[_0x4f342b(0x17f)](),_0x93f46f[_0x4f342b(0x190)](_0x18e899),_0x4d446d[_0x4f342b(0x198)](_0x4f342b(0x19d)),_0x1e88d5[_0x4f342b(0x1a5)]();}}}export class ContentFieldView extends _0x2ccffe{constructor(_0x406139,_0xf2c1b=''){const _0x4d9cb6=_0x50f14b;super(_0x406139),this[_0x4d9cb6(0x1d3)]=this[_0x4d9cb6(0x1af)](),this[_0x4d9cb6(0x1d0)]({'tag':_0x4d9cb6(0x1a6),'attributes':{'class':['ck',_0x4d9cb6(0x1c1),_0xf2c1b,_0x4d9cb6(0x197),_0x4d9cb6(0x186)]}});}[_0x50f14b(0x1bf)](_0xef75ef){const _0x380ff6=_0x50f14b;this[_0x380ff6(0x1c2)][_0x380ff6(0x19f)]=_0xef75ef;}[_0x50f14b(0x189)](){const _0x371339=_0x50f14b;this[_0x371339(0x1c2)][_0x371339(0x1cf)](this[_0x371339(0x1d3)][_0x371339(0x1c2)]);}[_0x50f14b(0x1af)](){const _0x17f76d=_0x50f14b,_0x11a3e5=new _0x2ccffe(),_0x23f48b=this[_0x17f76d(0x1c9)],_0xcb97f0=new _0x48d0a2();return _0xcb97f0[_0x17f76d(0x183)]=!0x0,_0x11a3e5[_0x17f76d(0x1d0)]({'tag':_0x17f76d(0x1a6),'attributes':{'class':['ck',_0x17f76d(0x1aa)]},'children':[_0xcb97f0,{'text':_0x4d9034(_0x23f48b,_0x17f76d(0x1ac))}]}),_0x11a3e5[_0x17f76d(0x1a0)](),_0x11a3e5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xd148(){const _0xc0172e=['40ptCsyB','934908xSnrDe','1067484ujRFOh','bindTemplate','6340MTwnVL','9WwPvWl','1092470NDWJcc','setTemplate','set','text','content','7WdVdyN','3779560FBMlda','div','ck-ai-form__error','83859Lrgweb','1736364pbHSBr'];_0xd148=function(){return _0xc0172e;};return _0xd148();}(function(_0x44b1a1,_0x1d168c){const _0x37b3fb=_0xb9ba,_0x168536=_0x44b1a1();while(!![]){try{const _0x3dc2c8=-parseInt(_0x37b3fb(0xfe))/0x1+parseInt(_0x37b3fb(0x101))/0x2+-parseInt(_0x37b3fb(0x102))/0x3+parseInt(_0x37b3fb(0x100))/0x4*(-parseInt(_0x37b3fb(0x104))/0x5)+-parseInt(_0x37b3fb(0xff))/0x6+parseInt(_0x37b3fb(0xfa))/0x7*(parseInt(_0x37b3fb(0xfb))/0x8)+parseInt(_0x37b3fb(0x105))/0x9*(parseInt(_0x37b3fb(0x106))/0xa);if(_0x3dc2c8===_0x1d168c)break;else _0x168536['push'](_0x168536['shift']());}catch(_0x3d0094){_0x168536['push'](_0x168536['shift']());}}}(_0xd148,0x4b0b9));import{View as _0x3e27fd,IconView as _0x477ed0}from'ckeditor5/src/ui.js';import _0x2296df from'../../../theme/icons/error.svg';function _0xb9ba(_0x58562a,_0xb7ef7){const _0xd148b9=_0xd148();return _0xb9ba=function(_0xb9ba73,_0x137ac4){_0xb9ba73=_0xb9ba73-0xfa;let _0x5601e8=_0xd148b9[_0xb9ba73];return _0x5601e8;},_0xb9ba(_0x58562a,_0xb7ef7);}export default class rt extends _0x3e27fd{constructor(_0xd886ff,_0x4e48c1=''){const _0x653184=_0xb9ba;super(_0xd886ff);const _0x45706c=new _0x477ed0(),_0x75a3f4=this[_0x653184(0x103)];this[_0x653184(0x108)](_0x653184(0x109),_0x4e48c1),_0x45706c[_0x653184(0x10a)]=_0x2296df,this[_0x653184(0x107)]({'tag':_0x653184(0xfc),'attributes':{'class':['ck',_0x653184(0xfd)]},'children':[_0x45706c,{'text':_0x75a3f4['to'](_0x653184(0x109))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2e2e(){const _0x50e257=['History','excludeScrollbarsAndBorders','14keUOvn','set','filteredView','focus','width','fire','element','requestAnimationFrame','queryView','focusableChildren','isOn','isEmpty','bind','target','showHistoryButtonView','3480ZupnUR','_createSubmitButton','748964irudss','value','_createShowHistoryButton','2683974hYZVSB','isVisible','1838837dGcPPE','right','history','submitButtonView','focusFirst','update','uiLanguageDirection','focusLast','fieldWrapperChildren','2587935MynLha','minRows','5503370UyVVvG','Submit','ck-ai-form__submit','isEnabled','children','window','3UyXRtn','add','81561ikHksm','enter','rtl','keystrokes','ck-ai-form__toggle-history','6570tkkWnn','fieldView','maxRows','execute','locale','focusCycler','resultsView','submit','render','left','style'];_0x2e2e=function(){return _0x50e257;};return _0x2e2e();}const _0x48d4ab=_0x38bf;(function(_0x8827ae,_0x34876b){const _0x5a6f0d=_0x38bf,_0x1d78a4=_0x8827ae();while(!![]){try{const _0xf6906c=parseInt(_0x5a6f0d(0x1ab))/0x1*(-parseInt(_0x5a6f0d(0x1bd))/0x2)+parseInt(_0x5a6f0d(0x1a9))/0x3*(parseInt(_0x5a6f0d(0x193))/0x4)+parseInt(_0x5a6f0d(0x1a1))/0x5+-parseInt(_0x5a6f0d(0x196))/0x6+-parseInt(_0x5a6f0d(0x198))/0x7+-parseInt(_0x5a6f0d(0x191))/0x8*(-parseInt(_0x5a6f0d(0x1b0))/0x9)+parseInt(_0x5a6f0d(0x1a3))/0xa;if(_0xf6906c===_0x34876b)break;else _0x1d78a4['push'](_0x1d78a4['shift']());}catch(_0x54669d){_0x1d78a4['push'](_0x1d78a4['shift']());}}}(_0x2e2e,0x473b8));import{Rect as _0x3806cc,global as _0xc31d1,isVisible as _0x23d235}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x3de568,ButtonView as _0x678995}from'ckeditor5/src/ui.js';import{icons as _0x375eb7}from'ckeditor5/src/core.js';import{getTranslation as _0x599e88}from'../../utils/common-translations.js';import _0x441825 from'../../../theme/icons/submit.svg';function _0x38bf(_0x3ea44a,_0x2f42e4){const _0x2e2e61=_0x2e2e();return _0x38bf=function(_0x38bfbb,_0x583878){_0x38bfbb=_0x38bfbb-0x186;let _0x290a93=_0x2e2e61[_0x38bfbb];return _0x290a93;},_0x38bf(_0x3ea44a,_0x2f42e4);}export default class ht extends _0x3de568{constructor(_0x2e75d2,_0xcb044b){const _0x1c3e34=_0x38bf;super(_0x2e75d2,_0xcb044b),this[_0x1c3e34(0x18a)][_0x1c3e34(0x1b1)][_0x1c3e34(0x1a2)]=0x1,this[_0x1c3e34(0x18a)][_0x1c3e34(0x1b1)][_0x1c3e34(0x1b2)]=0x3,this[_0x1c3e34(0x19b)]=this[_0x1c3e34(0x192)](),this[_0x1c3e34(0x190)]=this[_0x1c3e34(0x195)](),this[_0x1c3e34(0x18b)][_0x1c3e34(0x1aa)](this[_0x1c3e34(0x190)],0x1),this[_0x1c3e34(0x18b)][_0x1c3e34(0x1aa)](this[_0x1c3e34(0x19b)]);}[_0x48d4ab(0x1b8)](){const _0x1d4ecc=_0x48d4ab;super[_0x1d4ecc(0x1b8)](),this[_0x1d4ecc(0x18a)][_0x1d4ecc(0x1a0)][_0x1d4ecc(0x1aa)](this[_0x1d4ecc(0x190)]),this[_0x1d4ecc(0x1a7)][_0x1d4ecc(0x1aa)](this[_0x1d4ecc(0x19b)]),this[_0x1d4ecc(0x1ae)][_0x1d4ecc(0x1be)](_0x1d4ecc(0x1ac),(_0x27e4e6,_0x2ee4a3)=>{const _0x5235af=_0x1d4ecc;_0x27e4e6[_0x5235af(0x18f)]==this[_0x5235af(0x18a)][_0x5235af(0x1b1)][_0x5235af(0x188)]&&(this[_0x5235af(0x1b7)](),_0x2ee4a3());});}[_0x48d4ab(0x192)](){const _0x482908=_0x48d4ab,_0x2096f5=new _0x678995(this[_0x482908(0x1b4)]),_0x24e3cb=this[_0x482908(0x1b4)];return _0x2096f5[_0x482908(0x1be)]({'icon':_0x441825,'label':_0x599e88(_0x24e3cb,_0x482908(0x1a4)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x482908(0x1a5)}),_0x2096f5['on'](_0x482908(0x1b3),()=>{const _0x5f9696=_0x482908;this[_0x5f9696(0x1b7)]();}),_0x2096f5[_0x482908(0x18e)](_0x482908(0x1a6))['to'](this[_0x482908(0x18a)][_0x482908(0x1b1)],_0x482908(0x18d),this,_0x482908(0x1a6),(_0x11bb21,_0x12ff1a)=>!_0x11bb21&&_0x12ff1a),_0x2096f5;}[_0x48d4ab(0x195)](){const _0x482915=_0x48d4ab,_0x340d18=new _0x678995(this[_0x482915(0x1b4)]),_0x23481d=this[_0x482915(0x1b6)],_0x220fca=this[_0x482915(0x1b4)];_0x340d18[_0x482915(0x1be)]({'label':_0x599e88(_0x220fca,_0x482915(0x1bb)),'withText':!0x1,'icon':_0x375eb7[_0x482915(0x19a)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x482915(0x1af)}),_0x340d18[_0x482915(0x18e)](_0x482915(0x18c))['to'](_0x23481d,_0x482915(0x197)),_0x340d18[_0x482915(0x18e)](_0x482915(0x1a6))['to'](this,_0x482915(0x1a6)),_0x340d18['on'](_0x482915(0x1b3),()=>{const _0x326cd3=_0x482915;_0x23481d[_0x326cd3(0x197)]=!_0x23481d[_0x326cd3(0x197)],_0x23481d[_0x326cd3(0x197)]?this[_0x326cd3(0x1bf)][_0x326cd3(0x1c0)]():this[_0x326cd3(0x1c0)]();});const _0x186445=()=>{const _0x4f246c=_0x482915;_0xc31d1[_0x4f246c(0x1a8)][_0x4f246c(0x189)](()=>{const _0x143640=_0x4f246c;if(_0x23d235(this[_0x143640(0x188)])){const _0x249187=new _0x3806cc(this[_0x143640(0x18a)][_0x143640(0x1b1)][_0x143640(0x188)]),_0x3e43cd=_0x249187[_0x143640(0x186)],_0x1a80d8=_0x143640(0x1ad)===_0x220fca[_0x143640(0x19e)]?_0x143640(0x1b9):_0x143640(0x199);_0x249187[_0x143640(0x1bc)](),_0x340d18[_0x143640(0x188)][_0x143640(0x1ba)][_0x1a80d8]=_0x3e43cd-_0x249187[_0x143640(0x186)]+0x1+'px';}});};return this[_0x482915(0x18a)][_0x482915(0x1b1)]['on'](_0x482915(0x19d),_0x186445),this['on'](_0x482915(0x1b8),_0x186445),_0x340d18;}[_0x48d4ab(0x1b7)](){const _0x5e4b20=_0x48d4ab,_0x8d9178=this[_0x5e4b20(0x18a)][_0x5e4b20(0x1b1)][_0x5e4b20(0x188)][_0x5e4b20(0x194)];this[_0x5e4b20(0x187)](_0x5e4b20(0x1b7),_0x8d9178);}[_0x48d4ab(0x1c0)](_0x2a1bcf){const _0x34ec87=_0x48d4ab;-0x1===_0x2a1bcf?this[_0x34ec87(0x1b5)][_0x34ec87(0x19f)]():this[_0x34ec87(0x1b5)][_0x34ec87(0x19c)]();}}
|