@ckeditor/ckeditor5-ai 46.0.2 → 46.0.3
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/be.js +1 -1
- package/dist/translations/be.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 _0x95ced0=_0x369f;(function(_0x186484,_0x2fdd42){const _0x330363=_0x369f,_0x4e53be=_0x186484();while(!![]){try{const _0x170918=-parseInt(_0x330363(0x13f))/0x1*(-parseInt(_0x330363(0xe6))/0x2)+-parseInt(_0x330363(0x120))/0x3*(-parseInt(_0x330363(0x138))/0x4)+-parseInt(_0x330363(0x117))/0x5*(parseInt(_0x330363(0x132))/0x6)+parseInt(_0x330363(0x13d))/0x7+-parseInt(_0x330363(0x152))/0x8*(parseInt(_0x330363(0x125))/0x9)+parseInt(_0x330363(0xef))/0xa*(-parseInt(_0x330363(0x14e))/0xb)+-parseInt(_0x330363(0xf0))/0xc*(-parseInt(_0x330363(0xf2))/0xd);if(_0x170918===_0x2fdd42)break;else _0x4e53be['push'](_0x4e53be['shift']());}catch(_0x1c4806){_0x4e53be['push'](_0x4e53be['shift']());}}}(_0x3472,0xe9ddd));import{Plugin as _0x2b5af7}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x41a180}from'./aiassistantui.js';function _0x369f(_0x4f5771,_0x3d1536){const _0x3472fc=_0x3472();return _0x369f=function(_0x369fbf,_0x13c07c){_0x369fbf=_0x369fbf-0xe2;let _0x46c0fa=_0x3472fc[_0x369fbf];return _0x46c0fa;},_0x369f(_0x4f5771,_0x3d1536);}function _0x3472(){const _0x2c8d00=['translate','2143801wgacEf','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Improve\x20writing','journalism','80lhauIt','translateGerman','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','locale','Spanish','business','106EZbTth','filter','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Translate\x20the\x20content\x20to\x20French\x20language.','direct','Translate','continue','Translate\x20the\x20content\x20to\x20Hindi\x20language.','professional','90TKfzCa','45684204ZDFiRe','isOfficialPlugin','13POJotO','push','groupId','editOrReview','Business','poetic','Confident','Make\x20longer','get','define','translatePortuguese','English','Direct','Generate\x20from\x20selection','legal','find','summarize','Translate\x20the\x20content\x20to\x20English\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Hindi','Simplify\x20language','set','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','translateHindi','AIAssistant','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','pluginName','isPremiumPlugin','friendly','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','forEach','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Change\x20style','Arabic','includes','4642285GXVAuF','Edit\x20or\x20review','requires','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','ai.aiAssistant.extraCommandGroups','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Change\x20tone','casual','German','3838251USgfBk','Poetic','changeStyle','commands','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','737658ZtaAtC','Continue','ai.aiAssistant.preserveComments','Translate\x20the\x20content\x20to\x20German\x20language.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Legal','ai.aiAssistant.removeCommands','config','changeTone','translateFrench','Journalism','translateChinese','translateSpanish','12yPBcdd','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Professional','Portuguese','confident','improveWriting','4apdMtR','Simplified\x20Chinese','concat','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Friendly','662529uNGVaJ','Summarize','3913sABBmZ','generate','translateEnglish','Make\x20shorter','ai.aiAssistant.commands','simplifyLanguage','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','French','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Casual','translateArabic','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','makeLonger','makeShorter'];_0x3472=function(){return _0x2c8d00;};return _0x3472();}import{AIAssistantEditing as _0x160d09}from'./aiassistantediting.js';import{getTranslation as _0x4423ef}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0xba8f5c}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x2b5af7{static get[_0x95ced0(0x119)](){return[_0x41a180,_0x160d09];}static get[_0x95ced0(0x10d)](){const _0x2ea339=_0x95ced0;return _0x2ea339(0x10a);}static get[_0x95ced0(0xf1)](){return!0x0;}static get[_0x95ced0(0x10e)](){return!0x0;}constructor(_0x38ccbe){const _0x182a78=_0x95ced0;super(_0x38ccbe);const _0x393754=_0x38ccbe[_0x182a78(0x12c)],_0x18ba05=_0x38ccbe[_0x182a78(0xe3)];_0x393754[_0x182a78(0xfb)](_0x182a78(0x127),!0x0),_0x393754[_0x182a78(0xfb)](_0x182a78(0x143),getDefaultAICommands(_0x18ba05)),_0x393754[_0x182a78(0xfb)](_0x182a78(0x11b),[]),_0x393754[_0x182a78(0xfb)](_0x182a78(0x12b),[]);let _0x1c5413=_0xba8f5c(_0x393754[_0x182a78(0xfa)](_0x182a78(0x143)),_0x18ba05);const _0x21841c=_0x393754[_0x182a78(0xfa)](_0x182a78(0x11b)),_0x1f14d4=_0x393754[_0x182a78(0xfa)](_0x182a78(0x12b));_0x21841c[_0x182a78(0x112)](_0x12087c=>{const _0x2164b0=_0x182a78,_0x46ad40=_0x1c5413[_0x2164b0(0x101)](_0x37019d=>_0x37019d[_0x2164b0(0xf4)]===_0x12087c[_0x2164b0(0xf4)]);_0x46ad40?_0x46ad40[_0x2164b0(0x123)]=_0x46ad40[_0x2164b0(0x123)][_0x2164b0(0x13a)](_0x12087c[_0x2164b0(0x123)]):_0x1c5413[_0x2164b0(0xf3)](_0x12087c);}),_0x1c5413=_0x1c5413[_0x182a78(0xe7)](_0x5f0470=>!_0x1f14d4[_0x182a78(0x116)](_0x5f0470[_0x182a78(0xf4)])),_0x1c5413[_0x182a78(0x112)](_0x5791e3=>{const _0x323e1a=_0x182a78;_0x5791e3[_0x323e1a(0x123)]=_0x5791e3[_0x323e1a(0x123)][_0x323e1a(0xe7)](_0x32b551=>!_0x1f14d4[_0x323e1a(0x116)](_0x32b551['id']));}),_0x393754[_0x182a78(0x107)](_0x182a78(0x143),_0x1c5413);}}export function getDefaultAICommands(_0x241886){const _0x5d427a=_0x95ced0;return[{'groupId':_0x5d427a(0xf5),'groupLabel':_0x4423ef(_0x241886,_0x5d427a(0x118)),'commands':[{'id':_0x5d427a(0x137),'label':_0x4423ef(_0x241886,_0x5d427a(0x150)),'prompt':_0x5d427a(0x110)},{'id':_0x5d427a(0x14c),'label':_0x4423ef(_0x241886,_0x5d427a(0x142)),'prompt':_0x5d427a(0x124)},{'id':_0x5d427a(0x14b),'label':_0x4423ef(_0x241886,_0x5d427a(0xf9)),'prompt':_0x5d427a(0x11a)},{'id':_0x5d427a(0x144),'label':_0x4423ef(_0x241886,_0x5d427a(0x106)),'prompt':_0x5d427a(0x108)}]},{'groupId':_0x5d427a(0x140),'groupLabel':_0x4423ef(_0x241886,_0x5d427a(0xff)),'commands':[{'id':_0x5d427a(0x102),'label':_0x4423ef(_0x241886,_0x5d427a(0x13e)),'prompt':_0x5d427a(0x129)},{'id':_0x5d427a(0xec),'label':_0x4423ef(_0x241886,_0x5d427a(0x126)),'prompt':_0x5d427a(0x113)}]},{'groupId':_0x5d427a(0x12d),'groupLabel':_0x4423ef(_0x241886,_0x5d427a(0x11d)),'commands':[{'id':_0x5d427a(0xee),'label':_0x4423ef(_0x241886,_0x5d427a(0x134)),'prompt':_0x5d427a(0x111)},{'id':_0x5d427a(0x11e),'label':_0x4423ef(_0x241886,_0x5d427a(0x148)),'prompt':_0x5d427a(0x14f)},{'id':_0x5d427a(0xea),'label':_0x4423ef(_0x241886,_0x5d427a(0xfe)),'prompt':_0x5d427a(0xe2)},{'id':_0x5d427a(0x136),'label':_0x4423ef(_0x241886,_0x5d427a(0xf8)),'prompt':_0x5d427a(0x10b)},{'id':_0x5d427a(0x10f),'label':_0x4423ef(_0x241886,_0x5d427a(0x13c)),'prompt':_0x5d427a(0x145)}]},{'groupId':_0x5d427a(0x122),'groupLabel':_0x4423ef(_0x241886,_0x5d427a(0x114)),'commands':[{'id':_0x5d427a(0xe5),'label':_0x4423ef(_0x241886,_0x5d427a(0xf6)),'prompt':_0x5d427a(0x14a)},{'id':_0x5d427a(0x100),'label':_0x4423ef(_0x241886,_0x5d427a(0x12a)),'prompt':_0x5d427a(0x13b)},{'id':_0x5d427a(0x151),'label':_0x4423ef(_0x241886,_0x5d427a(0x12f)),'prompt':_0x5d427a(0x133)},{'id':_0x5d427a(0xf7),'label':_0x4423ef(_0x241886,_0x5d427a(0x121)),'prompt':_0x5d427a(0x104)}]},{'groupId':_0x5d427a(0x14d),'groupLabel':_0x4423ef(_0x241886,_0x5d427a(0xeb)),'commands':[{'id':_0x5d427a(0x141),'label':_0x4423ef(_0x241886,_0x5d427a(0xfd)),'prompt':_0x5d427a(0x103)},{'id':_0x5d427a(0x131),'label':_0x4423ef(_0x241886,_0x5d427a(0xe4)),'prompt':_0x5d427a(0xe8)},{'id':_0x5d427a(0xfc),'label':_0x4423ef(_0x241886,_0x5d427a(0x135)),'prompt':_0x5d427a(0x147)},{'id':_0x5d427a(0x153),'label':_0x4423ef(_0x241886,_0x5d427a(0x11f)),'prompt':_0x5d427a(0x128)},{'id':_0x5d427a(0x12e),'label':_0x4423ef(_0x241886,_0x5d427a(0x146)),'prompt':_0x5d427a(0xe9)},{'id':_0x5d427a(0x130),'label':_0x4423ef(_0x241886,_0x5d427a(0x139)),'prompt':_0x5d427a(0x11c)},{'id':_0x5d427a(0x109),'label':_0x4423ef(_0x241886,_0x5d427a(0x105)),'prompt':_0x5d427a(0xed)},{'id':_0x5d427a(0x149),'label':_0x4423ef(_0x241886,_0x5d427a(0x115)),'prompt':_0x5d427a(0x10c)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x99e9b9=_0x39e3;(function(_0x144c56,_0x400b38){const _0x2d66bf=_0x39e3,_0x3a3d39=_0x144c56();while(!![]){try{const _0x2259fe=parseInt(_0x2d66bf(0x1ee))/0x1+-parseInt(_0x2d66bf(0x1cb))/0x2*(parseInt(_0x2d66bf(0x1f5))/0x3)+parseInt(_0x2d66bf(0x1e6))/0x4+parseInt(_0x2d66bf(0x1c0))/0x5*(parseInt(_0x2d66bf(0x1d0))/0x6)+parseInt(_0x2d66bf(0x1ba))/0x7+-parseInt(_0x2d66bf(0x202))/0x8*(parseInt(_0x2d66bf(0x20e))/0x9)+-parseInt(_0x2d66bf(0x200))/0xa;if(_0x2259fe===_0x400b38)break;else _0x3a3d39['push'](_0x3a3d39['shift']());}catch(_0x39ded7){_0x3a3d39['push'](_0x3a3d39['shift']());}}}(_0xefc2,0xddd39));function _0x39e3(_0x2c448c,_0x4ce5eb){const _0xefc234=_0xefc2();return _0x39e3=function(_0x39e39f,_0x2efec0){_0x39e39f=_0x39e39f-0x1b2;let _0xdb2978=_0xefc234[_0x39e39f];return _0xdb2978;},_0x39e3(_0x2c448c,_0x4ce5eb);}import{uid as _0x5e0847}from'ckeditor5/src/utils.js';import{Plugin as _0x2fd2a4}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4d57ab}from'ckeditor5/src/clipboard.js';function _0xefc2(){const _0x3ce205=['getLastMatchingPosition','table','href','updateMarker','schema','13590CQcuDY','change','getRowIndexes','markerToElement','start','off','getSelectedTableCells','3rTQBAj','document','ck-fake-ai-selection_collapsed','config','showFakeVisualSelection','selection','init','fromCharCode','insertRows','_getAISelection','addMarker','6559930RCPqTY','isPremiumPlugin','3947992vGiXXE','pop','end','map','_resetContentOfSelectedTableCells','plugins','markerRange','element','editingDowncast','_prepareTableInsertBelowPosition','getChild','setSelection','9ZNVnjg','removeMarker','contentInsertion','get','for','isOfficialPlugin','getSelectedBlocks','filter','findAncestor','ck-ai-assistant-ui_theme','DataTransfer','createRange','last','insertContentBelow','first','editor','join','getMarkersGroup','from','isCollapsed','ck-fake-ai-selection','resultRange','getChildren','_getDefaultInsertBelowPosition','length','once','5717726zxMnoZ','addClass','deleteContent','ai.useTheme','afterInit','getColumnIndexes','751485MMMmfk','markers','_createEmptyTableRows','getFirstRange','getRanges','getLastPosition','pluginName','createPositionAfter','getRange','text/html','getRows','2992532KbeeXm','AIAssistantEditing','paste','isContent','hideFakeVisualSelection','54Gwmjjw','isAtEnd','createPositionAt','ai-ui','insertContent','data','TableUtils','has','_getTableRowCountFromContent','createUIElement','canEditAt','editing','setData','parse','fire','_pasteHTMLUsingClipboard','lowest','model','push','forEach','span','createSelection','5485112cQpUub','markerToHighlight','conversion'];_0xefc2=function(){return _0x3ce205;};return _0xefc2();}import{ViewDocumentDomEventData as _0x3fc09c,ViewDataTransfer as _0x460c2f}from'ckeditor5/src/engine.js';const l=globalThis[_0x99e9b9(0x218)],w=_0x99e9b9(0x1d3);export class AIAssistantEditing extends _0x2fd2a4{static get[_0x99e9b9(0x1c6)](){const _0x537971=_0x99e9b9;return _0x537971(0x1cc);}static get[_0x99e9b9(0x213)](){return!0x0;}static get[_0x99e9b9(0x201)](){return!0x0;}[_0x99e9b9(0x1fb)](){const _0x302a07=_0x99e9b9,{editor:_0x4f34f1}=this,_0x1b6dcf=[_0x302a07(0x1b4)];_0x4f34f1[_0x302a07(0x1f8)][_0x302a07(0x211)](_0x302a07(0x1bd))&&_0x1b6dcf[_0x302a07(0x1e2)](_0x302a07(0x217)),_0x4f34f1[_0x302a07(0x1e8)][_0x302a07(0x212)](_0x302a07(0x20a))[_0x302a07(0x1e7)]({'model':w,'view':{'classes':_0x1b6dcf,'priority':0xc}}),_0x4f34f1[_0x302a07(0x1e8)][_0x302a07(0x212)](_0x302a07(0x20a))[_0x302a07(0x1f1)]({'model':w,'view':(_0x1d6def,{writer:_0x3e0679})=>{const _0x3c6244=_0x302a07;if(!_0x1d6def[_0x3c6244(0x208)][_0x3c6244(0x1b3)])return null;const _0x2671f4=_0x3e0679[_0x3c6244(0x1d9)](_0x3c6244(0x1e4));return _0x3e0679[_0x3c6244(0x1bb)]([_0x3c6244(0x1b4),_0x3c6244(0x1f7)],_0x2671f4),_0x2671f4;}});}[_0x99e9b9(0x1be)](){!async function(_0x21b405){const _0x420a0a=_0x279e7d([0x66,0x65,0x4b,0x59,0x55,0x32,0x51,0x56,0x30,0x53,0x6b,0x68,0x79,0x62,0x6d,0x54,0x69,0x74,0x48,0x4e,0x43,0x78,0x6f,0x4a,0x41,0x6e,0x4d,0x70,0x6c,0x38,0x36,0x4f,0x7a,0x75,0x52,0x39,0x5a,0x42,0x49,0x76,0x71,0x47,0x64,0x46,0x73,0x6a,0x4c,0x45,0x72,0x44,0x33,0x31,0x67,0x77,0x35,0x58,0x61,0x57,0x34,0x63,0x37,0x50]),_0x469be8=0x33c1dbe7,_0x262163=0x33c6ab0f^_0x469be8,_0x115790=window[_0x279e7d([0x44,0x61,0x74,0x65])][_0x279e7d([0x6e,0x6f,0x77])](),_0x30c7c7=_0x21b405[_0x279e7d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x528889=new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xce945a=>{_0x30c7c7[_0x279e7d([0x6f,0x6e,0x63,0x65])](_0x279e7d([0x72,0x65,0x61,0x64,0x79]),_0xce945a);}),_0x2c0ec5={[_0x279e7d([0x6b,0x74,0x79])]:_0x279e7d([0x45,0x43]),[_0x279e7d([0x75,0x73,0x65])]:_0x279e7d([0x73,0x69,0x67]),[_0x279e7d([0x63,0x72,0x76])]:_0x279e7d([0x50,0x2d,0x32,0x35,0x36]),[_0x279e7d([0x78])]:_0x279e7d([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]),[_0x279e7d([0x79])]:_0x279e7d([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]),[_0x279e7d([0x61,0x6c,0x67])]:_0x279e7d([0x45,0x53,0x32,0x35,0x36])},_0x8a66e3=_0x30c7c7[_0x279e7d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x279e7d([0x67,0x65,0x74])](_0x279e7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a6c52(){let _0x13b0f5,_0x3405ee=null,_0x496b0d=null;try{if(_0x8a66e3==_0x279e7d([0x47,0x50,0x4c]))return _0x279e7d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13b0f5=_0x5c66d5(),!_0x13b0f5)return _0x279e7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13b0f5[_0x279e7d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x496b0d=_0x1dd981(_0x13b0f5[_0x279e7d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13b0f5[_0x279e7d([0x6a,0x74,0x69])])),await _0x7e77ae()?_0x22010b()?_0x17cd07()?_0x279e7d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x483835()?(_0x13b0f5[_0x279e7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x279e7d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3405ee=_0x35a669(_0x279e7d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x13b0f5[_0x279e7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x279e7d([0x74,0x72,0x69,0x61,0x6c])&&(_0x3405ee=_0x35a669(_0x279e7d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x47047b()):_0x279e7d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x279e7d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x279e7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x279e7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x17cd07(){const _0x3dc2ed=[_0x279e7d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x279e7d([0x74,0x72,0x69,0x61,0x6c])][_0x279e7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13b0f5[_0x279e7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x115790/0x3e8:0xe10*_0x262163;return _0x13b0f5[_0x279e7d([0x65,0x78,0x70])]<_0x3dc2ed;}function _0x22010b(){const _0x3db59a=_0x13b0f5[_0x279e7d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3db59a&&(!!_0x3db59a[_0x279e7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x279e7d([0x2a]))||!!_0x3db59a[_0x279e7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x279e7d([0x41,0x49])));}function _0x483835(){const _0x21c9e8=_0x39e3,_0x5ac7b1=_0x13b0f5[_0x279e7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ac7b1||0x0==_0x5ac7b1[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x490e96}=new URL(window[_0x279e7d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x21c9e8(0x1eb)]);if(_0x5ac7b1[_0x279e7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490e96))return!0x0;const _0x4734e9=_0x490e96[_0x279e7d([0x73,0x70,0x6c,0x69,0x74])](_0x279e7d([0x2e]));return _0x5ac7b1[_0x279e7d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x386eaa=>_0x386eaa[_0x279e7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x279e7d([0x2a])))[_0x279e7d([0x6d,0x61,0x70])](_0x25d950=>_0x25d950[_0x279e7d([0x73,0x70,0x6c,0x69,0x74])](_0x279e7d([0x2e])))[_0x279e7d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x104679=>_0x104679[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4734e9[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x279e7d([0x6d,0x61,0x70])](_0x111a31=>Array(_0x4734e9[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x111a31[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x279e7d([0x66,0x69,0x6c,0x6c])](_0x111a31[0x0]===_0x279e7d([0x2a])?_0x279e7d([0x2a]):'')[_0x279e7d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x111a31))[_0x279e7d([0x73,0x6f,0x6d,0x65])](_0x2bef19=>_0x4734e9[_0x279e7d([0x65,0x76,0x65,0x72,0x79])]((_0x4ba091,_0x34a17b)=>_0x2bef19[_0x34a17b]===_0x4ba091||_0x2bef19[_0x34a17b]===_0x279e7d([0x2a])));}function _0x47047b(){return _0x3405ee&&_0x496b0d?new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54d3ab,_0xa9b5b7)=>{_0x3405ee[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x54d3ab,_0xa9b5b7),_0x496b0d[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x4f0969=>{_0x4f0969!=_0x279e7d([0x56,0x61,0x6c,0x69,0x64])&&_0x54d3ab(_0x4f0969);},_0xa9b5b7);}):_0x3405ee||_0x496b0d||_0x279e7d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1dd981(_0x4d0428,_0x54a6fe){return new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a73bf=>{if(_0x2fdfab())return _0x1a73bf(_0x279e7d([0x56,0x61,0x6c,0x69,0x64]));_0x39d652(),_0x30c7c7[_0x279e7d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x279e7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xaf83f8=!0x1;const _0x1233f9=_0x5e0847();function _0x382867(_0xa39d1e){return!!_0xa39d1e&&(typeof _0xa39d1e===_0x279e7d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa39d1e===_0x279e7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa39d1e[_0x279e7d([0x74,0x68,0x65,0x6e])]===_0x279e7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa39d1e[_0x279e7d([0x63,0x61,0x74,0x63,0x68])]===_0x279e7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1fea66(_0x79e58d){_0x4555d1(_0x79e58d)[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x522a10=>{if(!_0x522a10||_0x522a10[_0x279e7d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x279e7d([0x6f,0x6b]))return _0x279e7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31e70e(_0xd9b208(_0x1233f9+_0x54a6fe))!=_0x522a10[_0x279e7d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x279e7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x279e7d([0x56,0x61,0x6c,0x69,0x64]);})[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x287c14=>(_0x18b6b9(),_0x287c14),()=>{const _0x2c79cf=_0x4fbcda();return null==_0x2c79cf?(_0x18b6b9(),_0x279e7d([0x56,0x61,0x6c,0x69,0x64])):_0x279e7d(_0x115790-_0x2c79cf>(0x17cd5fe7^_0x469be8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x1a73bf)[_0x279e7d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a73bf(_0x279e7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfd7b41=0x33f73567^_0x469be8;function _0x18b6b9(){const _0x4d34ff=_0x279e7d([0x6c,0x6c,0x63,0x74,0x2d])+_0x31e70e(_0xd9b208(_0x4d0428)),_0x36b2c5=_0x19c283(_0x31e70e(window[_0x279e7d([0x4d,0x61,0x74,0x68])][_0x279e7d([0x63,0x65,0x69,0x6c])](_0x115790/_0xfd7b41)));window[_0x279e7d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x279e7d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d34ff,_0x36b2c5);}function _0x4fbcda(){const _0x34b4a8=_0x279e7d([0x6c,0x6c,0x63,0x74,0x2d])+_0x31e70e(_0xd9b208(_0x4d0428)),_0x2079ef=window[_0x279e7d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x279e7d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34b4a8);return _0x2079ef?window[_0x279e7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19c283(_0x2079ef),0x10)*_0xfd7b41:null;}function _0x4555d1(_0x1c5788){return new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50b1d5,_0x31ec90)=>{_0x1c5788[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x50b1d5,_0x31ec90),window[_0x279e7d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31ec90,0x33c00f27^_0x469be8);});}}_0x30c7c7[_0x279e7d([0x6f,0x6e])](_0x279e7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x665ba2,_0xbec784)=>{if(_0xbec784[0x0]!=_0x4d0428)return _0x1a73bf(_0x279e7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xbec784[0x1]={..._0xbec784[0x1],[_0x279e7d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1233f9};},{[_0x279e7d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x279e7d([0x68,0x69,0x67,0x68])}),_0x30c7c7[_0x279e7d([0x6f,0x6e])](_0x279e7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x297f01=>{_0x382867(_0x297f01[_0x279e7d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xaf83f8=!0x0,_0x1fea66(_0x297f01[_0x279e7d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x279e7d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x279e7d([0x6c,0x6f,0x77])}),_0x528889[_0x279e7d([0x74,0x68,0x65,0x6e])](()=>{_0xaf83f8||_0x1a73bf(_0x279e7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fdfab(){return _0x30c7c7[_0x279e7d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x279e7d([0x76,0x69,0x65,0x77])][_0x279e7d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x279e7d([0x61,0x75,0x74,0x6f]);}function _0x39d652(){_0x30c7c7[_0x279e7d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x279e7d([0x76,0x69,0x65,0x77])][_0x279e7d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x279e7d([0x61,0x75,0x74,0x6f]);}}function _0x35a669(_0x219a77){const _0x533207=[new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7c3572=>setTimeout(_0x7c3572,0x33c8e52b^_0x469be8)),_0x528889[_0x279e7d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7e993a=>{let _0x486c45=0x0;_0x30c7c7[_0x279e7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x279e7d([0x6f,0x6e])](_0x279e7d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a9007,_0x52296c)=>{_0x52296c[0x0][_0x279e7d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x486c45++,_0x486c45==(0x33c1da1f^_0x469be8)&&(_0x7e993a(),_0x3a9007[_0x279e7d([0x6f,0x66,0x66])]());});}))];return window[_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x279e7d([0x72,0x61,0x63,0x65])](_0x533207)[_0x279e7d([0x74,0x68,0x65,0x6e])](()=>_0x219a77);}async function _0x1da7bd(){await _0x528889,_0x30c7c7[_0x279e7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x279e7d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19c23b,_0x30c7c7[_0x279e7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x279e7d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19c23b,_0x30c7c7[_0x279e7d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x279e7d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13a90f(_0x45929c){const _0x5baee7=_0x574e19();_0x30c7c7[_0x5baee7]=_0x279e7d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45929c,_0x45929c!=_0x279e7d([0x56,0x61,0x6c,0x69,0x64])&&_0x1da7bd();}function _0x574e19(){const _0x3fc029=window[_0x279e7d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x279e7d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x279e7d([0x6e,0x6f,0x77])]())[_0x279e7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x279e7d([0x2e]),'');let _0x11df2a=_0x279e7d([0x66]);for(let _0x4f8375=0x0;_0x4f8375<_0x3fc029[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f8375+=0x2){let _0x1cb5fd=window[_0x279e7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fc029[_0x279e7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f8375,_0x4f8375+0x2));_0x1cb5fd>=_0x420a0a[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1cb5fd-=_0x420a0a[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11df2a+=_0x420a0a[_0x1cb5fd];}return _0x11df2a;}function _0x5c66d5(){const _0x47d63f=_0x8a66e3[_0x279e7d([0x73,0x70,0x6c,0x69,0x74])](_0x279e7d([0x2e]));if(0x3!=_0x47d63f[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5824c0(_0x47d63f[0x1]);function _0x5824c0(_0x478bce){const _0x98de01=_0x6b2f56(_0x478bce);return _0x98de01&&_0x36f3ea()?_0x98de01:null;function _0x36f3ea(){const _0x233182=_0x98de01[_0x279e7d([0x6a,0x74,0x69])],_0x4d4a77=window[_0x279e7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x233182[_0x279e7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x233182[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26346d={..._0x98de01,[_0x279e7d([0x6a,0x74,0x69])]:_0x233182[_0x279e7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x233182[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26346d[_0x279e7d([0x76,0x63])],_0xd9b208(_0x26346d)==_0x4d4a77;}}}async function _0x7e77ae(){let _0x3a7860=!0x0;try{const _0x327ccf=_0x8a66e3[_0x279e7d([0x73,0x70,0x6c,0x69,0x74])](_0x279e7d([0x2e])),[_0x3572d6,_0x334c06,_0x30a536]=_0x327ccf;return _0x408dfd(_0x3572d6),await _0x18c073(_0x3572d6,_0x334c06,_0x30a536),_0x3a7860;}catch{return!0x1;}function _0x408dfd(_0x3d98b8){const _0x4e0712=_0x6b2f56(_0x3d98b8);_0x4e0712&&_0x4e0712[_0x279e7d([0x61,0x6c,0x67])]==_0x279e7d([0x45,0x53,0x32,0x35,0x36])||(_0x3a7860=!0x1);}async function _0x18c073(_0x221605,_0x10cf27,_0x109222){const _0x1e9c7c=window[_0x279e7d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x279e7d([0x66,0x72,0x6f,0x6d])](_0x1972e6(_0x109222),_0x592024=>_0x592024[_0x279e7d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e0d75=new window[(_0x279e7d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x279e7d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x221605+_0x279e7d([0x2e])+_0x10cf27),_0x5e3559=window[_0x279e7d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x279e7d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e3559)return;const _0x3671ef=await _0x5e3559[_0x279e7d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x279e7d([0x6a,0x77,0x6b]),_0x2c0ec5,{[_0x279e7d([0x6e,0x61,0x6d,0x65])]:_0x279e7d([0x45,0x43,0x44,0x53,0x41]),[_0x279e7d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x279e7d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x279e7d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e3559[_0x279e7d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x279e7d([0x6e,0x61,0x6d,0x65])]:_0x279e7d([0x45,0x43,0x44,0x53,0x41]),[_0x279e7d([0x68,0x61,0x73,0x68])]:{[_0x279e7d([0x6e,0x61,0x6d,0x65])]:_0x279e7d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3671ef,_0x1e9c7c,_0x1e0d75)||(_0x3a7860=!0x1);}}function _0x6b2f56(_0xe0bf8e){return _0xe0bf8e[_0x279e7d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x279e7d([0x65,0x79]))?JSON[_0x279e7d([0x70,0x61,0x72,0x73,0x65])](_0x1972e6(_0xe0bf8e)):null;}function _0x1972e6(_0x265d19){return window[_0x279e7d([0x61,0x74,0x6f,0x62])](_0x265d19[_0x279e7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x279e7d([0x2b]))[_0x279e7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x279e7d([0x2f])));}function _0xd9b208(_0x2564be){let _0x4b8497=0x1505;function _0xb89172(_0x20c4f9){for(let _0x580668=0x0;_0x580668<_0x20c4f9[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x580668++){const _0x5bbacd=_0x20c4f9[_0x279e7d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x580668);_0x4b8497=(_0x4b8497<<0x5)+_0x4b8497+_0x5bbacd,_0x4b8497&=_0x4b8497;}}function _0x294c62(_0x43b629){Array[_0x279e7d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43b629)?_0x43b629[_0x279e7d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x294c62):_0x43b629&&typeof _0x43b629==_0x279e7d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x279e7d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43b629)[_0x279e7d([0x73,0x6f,0x72,0x74])]()[_0x279e7d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa42859,_0x4c2195])=>{_0xb89172(_0xa42859),_0x294c62(_0x4c2195);}):_0xb89172(window[_0x279e7d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43b629));}return _0x294c62(_0x2564be),_0x4b8497>>>0x0;}function _0x31e70e(_0x26b320){return _0x26b320[_0x279e7d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x279e7d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x279e7d([0x30]));}function _0x19c283(_0x1bf831){return _0x1bf831[_0x279e7d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x279e7d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x279e7d([0x6a,0x6f,0x69,0x6e])]('');}function _0x19c23b(){}function _0x279e7d(_0x14a2cb){const _0x24e441=_0x39e3;return _0x14a2cb[_0x24e441(0x205)](_0x20026b=>String[_0x24e441(0x1fc)](_0x20026b))[_0x24e441(0x21e)]('');}_0x13a90f(await _0x4a6c52());}(this);}[_0x99e9b9(0x1f9)](){const _0x323611=_0x99e9b9,_0x49ae9b=this[_0x323611(0x21d)][_0x323611(0x1e1)];_0x49ae9b[_0x323611(0x1ef)](_0x4ac31a=>{const _0x22127a=_0x323611,_0x6e0f11=_0x49ae9b[_0x22127a(0x1f6)][_0x22127a(0x1fa)][_0x22127a(0x1c4)]();let _0x1a4d40=0x0;for(const _0x55f71a of _0x6e0f11){const _0x57f809=w+':'+_0x1a4d40;if(_0x49ae9b[_0x22127a(0x1c1)][_0x22127a(0x1d7)](_0x57f809))_0x4ac31a[_0x22127a(0x1ec)](_0x57f809,{'range':_0x55f71a});else{if(_0x55f71a[_0x22127a(0x1f2)][_0x22127a(0x1d1)]){const _0x51ba9e=_0x55f71a[_0x22127a(0x1f2)][_0x22127a(0x1e9)](({item:_0x3f2c75})=>!_0x49ae9b[_0x22127a(0x1ed)][_0x22127a(0x1ce)](_0x3f2c75),{'boundaries':_0x55f71a});_0x4ac31a[_0x22127a(0x1ff)](_0x57f809,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4ac31a[_0x22127a(0x219)](_0x51ba9e,_0x55f71a[_0x22127a(0x204)])});}else _0x4ac31a[_0x22127a(0x1ff)](_0x57f809,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x55f71a});}_0x1a4d40++;}});}[_0x99e9b9(0x1cf)](){const _0x68cdd=_0x99e9b9,_0x5788f2=this[_0x68cdd(0x21d)][_0x68cdd(0x1e1)],_0x4c84b8=Array[_0x68cdd(0x1b2)](this[_0x68cdd(0x21d)][_0x68cdd(0x1e1)][_0x68cdd(0x1c1)][_0x68cdd(0x21f)](w));_0x4c84b8[_0x68cdd(0x1b8)]&&_0x5788f2[_0x68cdd(0x1ef)](_0x15b0c1=>{const _0x5e0733=_0x68cdd;_0x4c84b8[_0x5e0733(0x1e3)](_0x502ef5=>{const _0x376d57=_0x5e0733;_0x15b0c1[_0x376d57(0x20f)](_0x502ef5);});});}[_0x99e9b9(0x1d4)](_0x233919,_0x540c3){const _0x19a007=_0x99e9b9,_0x47cb9a=this[_0x19a007(0x1fe)](),_0x18dc66=_0x540c3||_0x47cb9a[_0x19a007(0x1c3)]();this[_0x19a007(0x21d)][_0x19a007(0x1e1)][_0x19a007(0x1da)](_0x18dc66)&&this[_0x19a007(0x21d)][_0x19a007(0x1e1)][_0x19a007(0x1ef)](_0x56694e=>{const _0x1a6b29=_0x19a007;this[_0x1a6b29(0x1cf)](),_0x540c3||this[_0x1a6b29(0x206)](_0x56694e,_0x47cb9a),this[_0x1a6b29(0x1df)]({'insertAt':_0x18dc66,'writer':_0x56694e,'html':_0x233919});});}[_0x99e9b9(0x21b)](_0x5c0615){const _0x2b5d7b=_0x99e9b9,{model:_0x3d25b4}=this[_0x2b5d7b(0x21d)],_0x278b43=this[_0x2b5d7b(0x1fe)]();_0x3d25b4[_0x2b5d7b(0x1ef)](()=>{const _0x227318=_0x2b5d7b,_0x28750f=this[_0x227318(0x20b)](_0x5c0615,_0x278b43)||this[_0x227318(0x1b7)](_0x278b43);this[_0x227318(0x1d4)](_0x5c0615,_0x28750f);});}[_0x99e9b9(0x1fe)](){const _0x20f8bc=_0x99e9b9,_0x5083a2=this[_0x20f8bc(0x21d)][_0x20f8bc(0x1e1)],_0x460bad=Array[_0x20f8bc(0x1b2)](_0x5083a2[_0x20f8bc(0x1c1)][_0x20f8bc(0x21f)](w))[_0x20f8bc(0x205)](_0x4d3217=>_0x4d3217[_0x20f8bc(0x1c8)]());return _0x5083a2[_0x20f8bc(0x1e5)](_0x460bad);}[_0x99e9b9(0x1df)]({writer:_0x121381,html:_0x241690,insertAt:_0x2e6950}){const _0x1254ad=_0x99e9b9,{view:_0x6de5ad}=this[_0x1254ad(0x21d)][_0x1254ad(0x1db)],_0x13855c=this[_0x1254ad(0x21d)][_0x1254ad(0x207)][_0x1254ad(0x211)](_0x4d57ab),_0x186c72=new l();_0x186c72[_0x1254ad(0x1dc)](_0x1254ad(0x1c9),_0x241690);const _0x287b22=new ClipboardEvent(_0x1254ad(0x1cd),{'clipboardData':_0x186c72}),_0x43cf03=new _0x3fc09c(_0x6de5ad,_0x287b22,{'dataTransfer':new _0x460c2f(_0x186c72)});_0x121381[_0x1254ad(0x20d)](_0x2e6950);const _0x1e7a31=(_0x396032,_0x2f665b)=>{const _0x4cc439=_0x1254ad;_0x2f665b[_0x4cc439(0x1b5)]&&_0x121381[_0x4cc439(0x20d)](_0x2f665b[_0x4cc439(0x1b5)]);};_0x13855c[_0x1254ad(0x1b9)](_0x1254ad(0x210),_0x1e7a31,{'priority':_0x1254ad(0x1e0)}),_0x6de5ad[_0x1254ad(0x1f6)][_0x1254ad(0x1de)](_0x1254ad(0x1cd),_0x43cf03),_0x13855c[_0x1254ad(0x1f3)](_0x1254ad(0x210),_0x1e7a31);}[_0x99e9b9(0x1b7)](_0x331871){const _0x503774=_0x99e9b9,{model:_0x4feea6}=this[_0x503774(0x21d)],_0x5d9f79=Array[_0x503774(0x1b2)](_0x331871[_0x503774(0x214)]());return _0x5d9f79[_0x503774(0x1b8)]?_0x4feea6[_0x503774(0x1c7)](_0x5d9f79[_0x503774(0x203)]()):_0x331871[_0x503774(0x1c5)]();}[_0x99e9b9(0x20b)](_0x10de6c,_0x47571a){const _0x2469f2=_0x99e9b9,{model:_0x9a41cd,plugins:_0x34681f}=this[_0x2469f2(0x21d)];if(_0x34681f[_0x2469f2(0x1d7)](_0x2469f2(0x1d6))){const _0x395615=_0x34681f[_0x2469f2(0x211)](_0x2469f2(0x1d6))[_0x2469f2(0x1f4)](_0x47571a);if(_0x395615[_0x2469f2(0x1b8)]){const _0x48b8ff=this[_0x2469f2(0x1d8)](_0x10de6c),_0xcc682c=this[_0x2469f2(0x1c2)](_0x395615,_0x48b8ff);return _0x9a41cd[_0x2469f2(0x1d2)](_0xcc682c,0x0);}}return null;}[_0x99e9b9(0x1d8)](_0x74463f){const _0x2fa29a=_0x99e9b9,_0x3ced80=this[_0x2fa29a(0x21d)][_0x2fa29a(0x207)][_0x2fa29a(0x211)](_0x2fa29a(0x1d6)),_0x436efd=this[_0x2fa29a(0x21d)][_0x2fa29a(0x1d5)][_0x2fa29a(0x1dd)](_0x74463f),_0x5c0d24=Array[_0x2fa29a(0x1b2)](_0x436efd[_0x2fa29a(0x1b6)]())[_0x2fa29a(0x215)](_0x39c4d2=>_0x39c4d2['is'](_0x2fa29a(0x209),_0x2fa29a(0x1ea)));let _0x43d908=0x0;return _0x5c0d24[_0x2fa29a(0x1e3)](_0x2c6acb=>{const _0x1201fe=_0x2fa29a;_0x43d908+=_0x3ced80[_0x1201fe(0x1ca)](_0x2c6acb);}),_0x43d908;}[_0x99e9b9(0x1c2)](_0x1b7aff,_0x12060b){const _0x2a7f2c=_0x99e9b9,_0x236188=this[_0x2a7f2c(0x21d)][_0x2a7f2c(0x207)][_0x2a7f2c(0x211)](_0x2a7f2c(0x1d6)),_0x39eac6=_0x236188[_0x2a7f2c(0x1f0)](_0x1b7aff),_0x4bd134=_0x236188[_0x2a7f2c(0x1bf)](_0x1b7aff),_0x282743=_0x39eac6[_0x2a7f2c(0x21a)]+0x1,_0xd8e990=_0x4bd134[_0x2a7f2c(0x21c)],_0x2cd34b=_0x1b7aff[0x0][_0x2a7f2c(0x216)](_0x2a7f2c(0x1ea));for(let _0x41976a=0x0;_0x41976a<_0x12060b;_0x41976a++)_0x236188[_0x2a7f2c(0x1fd)](_0x2cd34b,{'at':_0x282743});return _0x2cd34b[_0x2a7f2c(0x20c)](_0x282743)[_0x2a7f2c(0x20c)](_0xd8e990);}[_0x99e9b9(0x206)](_0x2e1ad2,_0x1c0eef){const _0x11f7d0=_0x99e9b9,{plugins:_0x1027f8}=this[_0x11f7d0(0x21d)],{model:_0x2c4f50}=_0x2e1ad2;if(!_0x1027f8[_0x11f7d0(0x1d7)](_0x11f7d0(0x1d6)))return;_0x1027f8[_0x11f7d0(0x211)](_0x11f7d0(0x1d6))[_0x11f7d0(0x1f4)](_0x1c0eef)[_0x11f7d0(0x1b8)]&&_0x2c4f50[_0x11f7d0(0x1bc)](_0x1c0eef);}}
|
|
23
|
+
const _0x411b03=_0x512e;(function(_0x508d98,_0x168bd2){const _0x1fe601=_0x512e,_0x5ada79=_0x508d98();while(!![]){try{const _0xcc7ccf=-parseInt(_0x1fe601(0x173))/0x1+parseInt(_0x1fe601(0x178))/0x2*(-parseInt(_0x1fe601(0x18e))/0x3)+parseInt(_0x1fe601(0x159))/0x4+-parseInt(_0x1fe601(0x16e))/0x5*(parseInt(_0x1fe601(0x154))/0x6)+parseInt(_0x1fe601(0x129))/0x7+parseInt(_0x1fe601(0x130))/0x8+-parseInt(_0x1fe601(0x128))/0x9*(-parseInt(_0x1fe601(0x144))/0xa);if(_0xcc7ccf===_0x168bd2)break;else _0x5ada79['push'](_0x5ada79['shift']());}catch(_0x315a5e){_0x5ada79['push'](_0x5ada79['shift']());}}}(_0x4494,0x5eb5d));import{uid as _0x2939af}from'ckeditor5/src/utils.js';import{Plugin as _0x116afa}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5891b1}from'ckeditor5/src/clipboard.js';function _0x512e(_0x4807ee,_0x1b7f1d){const _0x4494de=_0x4494();return _0x512e=function(_0x512ed2,_0x3691b5){_0x512ed2=_0x512ed2-0x126;let _0x5ab769=_0x4494de[_0x512ed2];return _0x5ab769;},_0x512e(_0x4807ee,_0x1b7f1d);}import{ViewDocumentDomEventData as _0x4bc32e,ViewDataTransfer as _0x35eed1}from'ckeditor5/src/engine.js';const l=globalThis[_0x411b03(0x142)],w=_0x411b03(0x18f);export class AIAssistantEditing extends _0x116afa{static get[_0x411b03(0x182)](){const _0x2645df=_0x411b03;return _0x2645df(0x149);}static get[_0x411b03(0x162)](){return!0x0;}static get[_0x411b03(0x18b)](){return!0x0;}[_0x411b03(0x156)](){const _0x50702c=_0x411b03,{editor:_0x297255}=this,_0x2eff0f=[_0x50702c(0x171)];_0x297255[_0x50702c(0x158)][_0x50702c(0x138)](_0x50702c(0x17e))&&_0x2eff0f[_0x50702c(0x18a)](_0x50702c(0x14c)),_0x297255[_0x50702c(0x170)][_0x50702c(0x167)](_0x50702c(0x175))[_0x50702c(0x146)]({'model':w,'view':{'classes':_0x2eff0f,'priority':0xc}}),_0x297255[_0x50702c(0x170)][_0x50702c(0x167)](_0x50702c(0x175))[_0x50702c(0x153)]({'model':w,'view':(_0x51095e,{writer:_0x1cdec9})=>{const _0x376599=_0x50702c;if(!_0x51095e[_0x376599(0x151)][_0x376599(0x177)])return null;const _0x5610e9=_0x1cdec9[_0x376599(0x147)](_0x376599(0x172));return _0x1cdec9[_0x376599(0x180)]([_0x376599(0x171),_0x376599(0x152)],_0x5610e9),_0x5610e9;}});}[_0x411b03(0x133)](){!async function(_0x3c476c){const _0x585c36=_0x3d2e3a([0x58,0x7a,0x32,0x61,0x55,0x52,0x65,0x4d,0x6c,0x4f,0x63,0x38,0x57,0x6e,0x75,0x6a,0x45,0x67,0x62,0x41,0x49,0x6f,0x47,0x5a,0x33,0x71,0x59,0x48,0x34,0x46,0x76,0x77,0x72,0x31,0x78,0x56,0x39,0x66,0x44,0x4b,0x6b,0x35,0x36,0x37,0x69,0x73,0x53,0x42,0x6d,0x68,0x64,0x43,0x30,0x70,0x74,0x54,0x79,0x51,0x4c,0x4e,0x4a,0x50]),_0xab7ab2=0x63d77ec7,_0x28f72f=0x63d00c97^_0xab7ab2,_0x3f3975=window[_0x3d2e3a([0x44,0x61,0x74,0x65])][_0x3d2e3a([0x6e,0x6f,0x77])](),_0x30cfd6=_0x3c476c[_0x3d2e3a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a22d7=new window[(_0x3d2e3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50ea3b=>{_0x30cfd6[_0x3d2e3a([0x6f,0x6e,0x63,0x65])](_0x3d2e3a([0x72,0x65,0x61,0x64,0x79]),_0x50ea3b);}),_0x44e48c={[_0x3d2e3a([0x6b,0x74,0x79])]:_0x3d2e3a([0x45,0x43]),[_0x3d2e3a([0x75,0x73,0x65])]:_0x3d2e3a([0x73,0x69,0x67]),[_0x3d2e3a([0x63,0x72,0x76])]:_0x3d2e3a([0x50,0x2d,0x32,0x35,0x36]),[_0x3d2e3a([0x78])]:_0x3d2e3a([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]),[_0x3d2e3a([0x79])]:_0x3d2e3a([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]),[_0x3d2e3a([0x61,0x6c,0x67])]:_0x3d2e3a([0x45,0x53,0x32,0x35,0x36])},_0x430fea=_0x30cfd6[_0x3d2e3a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d2e3a([0x67,0x65,0x74])](_0x3d2e3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2bfdec(){let _0x3f87e2,_0x57825b=null,_0x56b2b7=null;try{if(_0x430fea==_0x3d2e3a([0x47,0x50,0x4c]))return _0x3d2e3a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f87e2=_0x1ec1cc(),!_0x3f87e2)return _0x3d2e3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f87e2[_0x3d2e3a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x56b2b7=_0x147b37(_0x3f87e2[_0x3d2e3a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f87e2[_0x3d2e3a([0x6a,0x74,0x69])])),await _0x58c1bc()?_0x162a4a()?_0x17a2d1()?_0x3d2e3a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c847d()?(_0x3f87e2[_0x3d2e3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d2e3a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57825b=_0x2b071c(_0x3d2e3a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f87e2[_0x3d2e3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d2e3a([0x74,0x72,0x69,0x61,0x6c])&&(_0x57825b=_0x2b071c(_0x3d2e3a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ff4a6()):_0x3d2e3a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d2e3a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d2e3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d2e3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x17a2d1(){const _0x1114c9=[_0x3d2e3a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d2e3a([0x74,0x72,0x69,0x61,0x6c])][_0x3d2e3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f87e2[_0x3d2e3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f3975/0x3e8:0xe10*_0x28f72f;return _0x3f87e2[_0x3d2e3a([0x65,0x78,0x70])]<_0x1114c9;}function _0x162a4a(){const _0x2d710f=_0x3f87e2[_0x3d2e3a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d710f&&(!!_0x2d710f[_0x3d2e3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2e3a([0x2a]))||!!_0x2d710f[_0x3d2e3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2e3a([0x41,0x49])));}function _0x4c847d(){const _0x88f7dc=_0x512e,_0x3c3607=_0x3f87e2[_0x3d2e3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c3607||0x0==_0x3c3607[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x398bc9}=new URL(window[_0x3d2e3a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x88f7dc(0x188)]);if(_0x3c3607[_0x3d2e3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398bc9))return!0x0;const _0x187215=_0x398bc9[_0x3d2e3a([0x73,0x70,0x6c,0x69,0x74])](_0x3d2e3a([0x2e]));return _0x3c3607[_0x3d2e3a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51e426=>_0x51e426[_0x3d2e3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2e3a([0x2a])))[_0x3d2e3a([0x6d,0x61,0x70])](_0x355d78=>_0x355d78[_0x3d2e3a([0x73,0x70,0x6c,0x69,0x74])](_0x3d2e3a([0x2e])))[_0x3d2e3a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x102ec9=>_0x102ec9[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x187215[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d2e3a([0x6d,0x61,0x70])](_0x23e848=>Array(_0x187215[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23e848[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d2e3a([0x66,0x69,0x6c,0x6c])](_0x23e848[0x0]===_0x3d2e3a([0x2a])?_0x3d2e3a([0x2a]):'')[_0x3d2e3a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23e848))[_0x3d2e3a([0x73,0x6f,0x6d,0x65])](_0x7cc6e7=>_0x187215[_0x3d2e3a([0x65,0x76,0x65,0x72,0x79])]((_0x56e2bd,_0xa551a8)=>_0x7cc6e7[_0xa551a8]===_0x56e2bd||_0x7cc6e7[_0xa551a8]===_0x3d2e3a([0x2a])));}function _0x4ff4a6(){return _0x57825b&&_0x56b2b7?new window[(_0x3d2e3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56f352,_0x41e9fd)=>{_0x57825b[_0x3d2e3a([0x74,0x68,0x65,0x6e])](_0x56f352,_0x41e9fd),_0x56b2b7[_0x3d2e3a([0x74,0x68,0x65,0x6e])](_0xb7c95f=>{_0xb7c95f!=_0x3d2e3a([0x56,0x61,0x6c,0x69,0x64])&&_0x56f352(_0xb7c95f);},_0x41e9fd);}):_0x57825b||_0x56b2b7||_0x3d2e3a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x147b37(_0x4eca74,_0x407ff4){return new window[(_0x3d2e3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48b394=>{if(_0x425e3f())return _0x48b394(_0x3d2e3a([0x56,0x61,0x6c,0x69,0x64]));_0x20e8e2(),_0x30cfd6[_0x3d2e3a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d2e3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c5c94=!0x1;const _0x350592=_0x2939af();function _0x4d64be(_0x4f1e78){return!!_0x4f1e78&&(typeof _0x4f1e78===_0x3d2e3a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f1e78===_0x3d2e3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f1e78[_0x3d2e3a([0x74,0x68,0x65,0x6e])]===_0x3d2e3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f1e78[_0x3d2e3a([0x63,0x61,0x74,0x63,0x68])]===_0x3d2e3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x503338(_0x136cd3){_0x3cf0b9(_0x136cd3)[_0x3d2e3a([0x74,0x68,0x65,0x6e])](_0x16b0f8=>{if(!_0x16b0f8||_0x16b0f8[_0x3d2e3a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d2e3a([0x6f,0x6b]))return _0x3d2e3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x296525(_0x445b07(_0x350592+_0x407ff4))!=_0x16b0f8[_0x3d2e3a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d2e3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d2e3a([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d2e3a([0x74,0x68,0x65,0x6e])](_0xc2e106=>(_0x48f744(),_0xc2e106),()=>{const _0x27ef9e=_0x4feb4b();return null==_0x27ef9e?(_0x48f744(),_0x3d2e3a([0x56,0x61,0x6c,0x69,0x64])):_0x3d2e3a(_0x3f3975-_0x27ef9e>(0x47dbfac7^_0xab7ab2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d2e3a([0x74,0x68,0x65,0x6e])](_0x48b394)[_0x3d2e3a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48b394(_0x3d2e3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4477fe=0x63e19047^_0xab7ab2;function _0x48f744(){const _0x4c0898=_0x3d2e3a([0x6c,0x6c,0x63,0x74,0x2d])+_0x296525(_0x445b07(_0x4eca74)),_0x45d89a=_0x2c7e63(_0x296525(window[_0x3d2e3a([0x4d,0x61,0x74,0x68])][_0x3d2e3a([0x63,0x65,0x69,0x6c])](_0x3f3975/_0x4477fe)));window[_0x3d2e3a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d2e3a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c0898,_0x45d89a);}function _0x4feb4b(){const _0x4d5b75=_0x3d2e3a([0x6c,0x6c,0x63,0x74,0x2d])+_0x296525(_0x445b07(_0x4eca74)),_0x46e6c5=window[_0x3d2e3a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d2e3a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d5b75);return _0x46e6c5?window[_0x3d2e3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c7e63(_0x46e6c5),0x10)*_0x4477fe:null;}function _0x3cf0b9(_0x59f74a){return new window[(_0x3d2e3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10e0ab,_0x38a466)=>{_0x59f74a[_0x3d2e3a([0x74,0x68,0x65,0x6e])](_0x10e0ab,_0x38a466),window[_0x3d2e3a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38a466,0x63d6aa07^_0xab7ab2);});}}_0x30cfd6[_0x3d2e3a([0x6f,0x6e])](_0x3d2e3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2dcb67,_0x5b04e8)=>{if(_0x5b04e8[0x0]!=_0x4eca74)return _0x48b394(_0x3d2e3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b04e8[0x1]={..._0x5b04e8[0x1],[_0x3d2e3a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x350592};},{[_0x3d2e3a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d2e3a([0x68,0x69,0x67,0x68])}),_0x30cfd6[_0x3d2e3a([0x6f,0x6e])](_0x3d2e3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1690de=>{_0x4d64be(_0x1690de[_0x3d2e3a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c5c94=!0x0,_0x503338(_0x1690de[_0x3d2e3a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d2e3a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d2e3a([0x6c,0x6f,0x77])}),_0x3a22d7[_0x3d2e3a([0x74,0x68,0x65,0x6e])](()=>{_0x1c5c94||_0x48b394(_0x3d2e3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x425e3f(){return _0x30cfd6[_0x3d2e3a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d2e3a([0x76,0x69,0x65,0x77])][_0x3d2e3a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d2e3a([0x61,0x75,0x74,0x6f]);}function _0x20e8e2(){_0x30cfd6[_0x3d2e3a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d2e3a([0x76,0x69,0x65,0x77])][_0x3d2e3a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d2e3a([0x61,0x75,0x74,0x6f]);}}function _0x2b071c(_0x4c54ea){const _0x77a74b=[new window[(_0x3d2e3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d1321=>setTimeout(_0x5d1321,0x63de400b^_0xab7ab2)),_0x3a22d7[_0x3d2e3a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d2e3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1550ba=>{let _0x1316fa=0x0;_0x30cfd6[_0x3d2e3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d2e3a([0x6f,0x6e])](_0x3d2e3a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e5989,_0x2e7945)=>{_0x2e7945[0x0][_0x3d2e3a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1316fa++,_0x1316fa==(0x63d77f3f^_0xab7ab2)&&(_0x1550ba(),_0x4e5989[_0x3d2e3a([0x6f,0x66,0x66])]());});}))];return window[_0x3d2e3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d2e3a([0x72,0x61,0x63,0x65])](_0x77a74b)[_0x3d2e3a([0x74,0x68,0x65,0x6e])](()=>_0x4c54ea);}async function _0x114e38(){await _0x3a22d7,_0x30cfd6[_0x3d2e3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d2e3a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a1607,_0x30cfd6[_0x3d2e3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d2e3a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a1607,_0x30cfd6[_0x3d2e3a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d2e3a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21172b(_0x349fb9){const _0x339331=_0x31904e();_0x30cfd6[_0x339331]=_0x3d2e3a([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x349fb9,_0x349fb9!=_0x3d2e3a([0x56,0x61,0x6c,0x69,0x64])&&_0x114e38();}function _0x31904e(){const _0x4cd049=window[_0x3d2e3a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d2e3a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d2e3a([0x6e,0x6f,0x77])]())[_0x3d2e3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d2e3a([0x2e]),'');let _0x5242e6=_0x3d2e3a([0x58]);for(let _0x2d153c=0x0;_0x2d153c<_0x4cd049[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d153c+=0x2){let _0x35e06b=window[_0x3d2e3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cd049[_0x3d2e3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d153c,_0x2d153c+0x2));_0x35e06b>=_0x585c36[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35e06b-=_0x585c36[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5242e6+=_0x585c36[_0x35e06b];}return _0x5242e6;}function _0x1ec1cc(){const _0x270885=_0x430fea[_0x3d2e3a([0x73,0x70,0x6c,0x69,0x74])](_0x3d2e3a([0x2e]));if(0x3!=_0x270885[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfd2fa0(_0x270885[0x1]);function _0xfd2fa0(_0xacd8f4){const _0xfb8943=_0x48ab45(_0xacd8f4);return _0xfb8943&&_0x2295cb()?_0xfb8943:null;function _0x2295cb(){const _0x5a0d5e=_0xfb8943[_0x3d2e3a([0x6a,0x74,0x69])],_0x17dc7e=window[_0x3d2e3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a0d5e[_0x3d2e3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a0d5e[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x15bcfc={..._0xfb8943,[_0x3d2e3a([0x6a,0x74,0x69])]:_0x5a0d5e[_0x3d2e3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a0d5e[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x15bcfc[_0x3d2e3a([0x76,0x63])],_0x445b07(_0x15bcfc)==_0x17dc7e;}}}async function _0x58c1bc(){let _0x3be15c=!0x0;try{const _0x4e2ade=_0x430fea[_0x3d2e3a([0x73,0x70,0x6c,0x69,0x74])](_0x3d2e3a([0x2e])),[_0x4bc8b6,_0x56b035,_0x1da7d8]=_0x4e2ade;return _0x97ee97(_0x4bc8b6),await _0x418d90(_0x4bc8b6,_0x56b035,_0x1da7d8),_0x3be15c;}catch{return!0x1;}function _0x97ee97(_0x38e3f9){const _0x127e98=_0x48ab45(_0x38e3f9);_0x127e98&&_0x127e98[_0x3d2e3a([0x61,0x6c,0x67])]==_0x3d2e3a([0x45,0x53,0x32,0x35,0x36])||(_0x3be15c=!0x1);}async function _0x418d90(_0x54fc85,_0x59bd1e,_0x27a16a){const _0x23c4d9=window[_0x3d2e3a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d2e3a([0x66,0x72,0x6f,0x6d])](_0x16010f(_0x27a16a),_0x8cb223=>_0x8cb223[_0x3d2e3a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x33b165=new window[(_0x3d2e3a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d2e3a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54fc85+_0x3d2e3a([0x2e])+_0x59bd1e),_0x31e596=window[_0x3d2e3a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d2e3a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31e596)return;const _0x2c2b8f=await _0x31e596[_0x3d2e3a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d2e3a([0x6a,0x77,0x6b]),_0x44e48c,{[_0x3d2e3a([0x6e,0x61,0x6d,0x65])]:_0x3d2e3a([0x45,0x43,0x44,0x53,0x41]),[_0x3d2e3a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d2e3a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d2e3a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31e596[_0x3d2e3a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d2e3a([0x6e,0x61,0x6d,0x65])]:_0x3d2e3a([0x45,0x43,0x44,0x53,0x41]),[_0x3d2e3a([0x68,0x61,0x73,0x68])]:{[_0x3d2e3a([0x6e,0x61,0x6d,0x65])]:_0x3d2e3a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c2b8f,_0x23c4d9,_0x33b165)||(_0x3be15c=!0x1);}}function _0x48ab45(_0x160b27){return _0x160b27[_0x3d2e3a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d2e3a([0x65,0x79]))?JSON[_0x3d2e3a([0x70,0x61,0x72,0x73,0x65])](_0x16010f(_0x160b27)):null;}function _0x16010f(_0x41683c){return window[_0x3d2e3a([0x61,0x74,0x6f,0x62])](_0x41683c[_0x3d2e3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d2e3a([0x2b]))[_0x3d2e3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d2e3a([0x2f])));}function _0x445b07(_0x23144b){let _0x2fdd58=0x1505;function _0x3f63b2(_0x18992b){for(let _0x276360=0x0;_0x276360<_0x18992b[_0x3d2e3a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x276360++){const _0x2256cc=_0x18992b[_0x3d2e3a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x276360);_0x2fdd58=(_0x2fdd58<<0x5)+_0x2fdd58+_0x2256cc,_0x2fdd58&=_0x2fdd58;}}function _0x2dee6c(_0xd9a7b7){Array[_0x3d2e3a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd9a7b7)?_0xd9a7b7[_0x3d2e3a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dee6c):_0xd9a7b7&&typeof _0xd9a7b7==_0x3d2e3a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d2e3a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd9a7b7)[_0x3d2e3a([0x73,0x6f,0x72,0x74])]()[_0x3d2e3a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x49f834,_0x488722])=>{_0x3f63b2(_0x49f834),_0x2dee6c(_0x488722);}):_0x3f63b2(window[_0x3d2e3a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd9a7b7));}return _0x2dee6c(_0x23144b),_0x2fdd58>>>0x0;}function _0x296525(_0x1743a5){return _0x1743a5[_0x3d2e3a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d2e3a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d2e3a([0x30]));}function _0x2c7e63(_0x2efe63){return _0x2efe63[_0x3d2e3a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d2e3a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d2e3a([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a1607(){}function _0x3d2e3a(_0x3da3a6){const _0x1ac5dd=_0x512e;return _0x3da3a6[_0x1ac5dd(0x186)](_0x2310f6=>String[_0x1ac5dd(0x18c)](_0x2310f6))[_0x1ac5dd(0x187)]('');}_0x21172b(await _0x2bfdec());}(this);}[_0x411b03(0x191)](){const _0x1438ee=_0x411b03,_0x19a501=this[_0x1438ee(0x181)][_0x1438ee(0x16c)];_0x19a501[_0x1438ee(0x164)](_0x250c88=>{const _0xef2f47=_0x1438ee,_0x715f99=_0x19a501[_0xef2f47(0x12d)][_0xef2f47(0x136)][_0xef2f47(0x16d)]();let _0x210c01=0x0;for(const _0x1f79a5 of _0x715f99){const _0x4ae0e8=w+':'+_0x210c01;if(_0x19a501[_0xef2f47(0x14a)][_0xef2f47(0x12a)](_0x4ae0e8))_0x250c88[_0xef2f47(0x13a)](_0x4ae0e8,{'range':_0x1f79a5});else{if(_0x1f79a5[_0xef2f47(0x14f)][_0xef2f47(0x15e)]){const _0x51847f=_0x1f79a5[_0xef2f47(0x14f)][_0xef2f47(0x13e)](({item:_0x3b295f})=>!_0x19a501[_0xef2f47(0x155)][_0xef2f47(0x184)](_0x3b295f),{'boundaries':_0x1f79a5});_0x250c88[_0xef2f47(0x15f)](_0x4ae0e8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x250c88[_0xef2f47(0x16f)](_0x51847f,_0x1f79a5[_0xef2f47(0x17c)])});}else _0x250c88[_0xef2f47(0x15f)](_0x4ae0e8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1f79a5});}_0x210c01++;}});}[_0x411b03(0x12e)](){const _0x1ba0aa=_0x411b03,_0x41cdb0=this[_0x1ba0aa(0x181)][_0x1ba0aa(0x16c)],_0x91a26c=Array[_0x1ba0aa(0x18d)](this[_0x1ba0aa(0x181)][_0x1ba0aa(0x16c)][_0x1ba0aa(0x14a)][_0x1ba0aa(0x132)](w));_0x91a26c[_0x1ba0aa(0x13b)]&&_0x41cdb0[_0x1ba0aa(0x164)](_0x2a9878=>{const _0x591909=_0x1ba0aa;_0x91a26c[_0x591909(0x148)](_0x50bb01=>{const _0x2b30ee=_0x591909;_0x2a9878[_0x2b30ee(0x17d)](_0x50bb01);});});}[_0x411b03(0x131)](_0x124112,_0x2c157a){const _0x5f535b=_0x411b03,_0x1a28d8=this[_0x5f535b(0x17f)](),_0x242f56=_0x2c157a||_0x1a28d8[_0x5f535b(0x189)]();this[_0x5f535b(0x181)][_0x5f535b(0x16c)][_0x5f535b(0x12b)](_0x242f56)&&this[_0x5f535b(0x181)][_0x5f535b(0x16c)][_0x5f535b(0x164)](_0x35de63=>{const _0x1af197=_0x5f535b;this[_0x1af197(0x12e)](),_0x2c157a||this[_0x1af197(0x14d)](_0x35de63,_0x1a28d8),this[_0x1af197(0x185)]({'insertAt':_0x242f56,'writer':_0x35de63,'html':_0x124112});});}[_0x411b03(0x15c)](_0x4739a4){const _0x56da4d=_0x411b03,{model:_0x1cef05}=this[_0x56da4d(0x181)],_0x77afa6=this[_0x56da4d(0x17f)]();_0x1cef05[_0x56da4d(0x164)](()=>{const _0x92edd4=_0x56da4d,_0x59a099=this[_0x92edd4(0x17b)](_0x4739a4,_0x77afa6)||this[_0x92edd4(0x12c)](_0x77afa6);this[_0x92edd4(0x131)](_0x4739a4,_0x59a099);});}[_0x411b03(0x17f)](){const _0x265149=_0x411b03,_0x441f02=this[_0x265149(0x181)][_0x265149(0x16c)],_0x5d9ae5=Array[_0x265149(0x18d)](_0x441f02[_0x265149(0x14a)][_0x265149(0x132)](w))[_0x265149(0x186)](_0x35e0e5=>_0x35e0e5[_0x265149(0x13d)]());return _0x441f02[_0x265149(0x15b)](_0x5d9ae5);}[_0x411b03(0x185)]({writer:_0x477095,html:_0x255c58,insertAt:_0x3a73fa}){const _0x4db535=_0x411b03,{view:_0x11c87f}=this[_0x4db535(0x181)][_0x4db535(0x163)],_0x2fca02=this[_0x4db535(0x181)][_0x4db535(0x165)][_0x4db535(0x138)](_0x5891b1),_0x299a5c=new l();_0x299a5c[_0x4db535(0x17a)](_0x4db535(0x135),_0x255c58);const _0x3182c9=new ClipboardEvent(_0x4db535(0x14e),{'clipboardData':_0x299a5c}),_0x2a9d52=new _0x4bc32e(_0x11c87f,_0x3182c9,{'dataTransfer':new _0x35eed1(_0x299a5c)});_0x477095[_0x4db535(0x174)](_0x3a73fa);const _0x976325=(_0xeef61,_0x16ba32)=>{const _0xc1a997=_0x4db535;_0x16ba32[_0xc1a997(0x160)]&&_0x477095[_0xc1a997(0x174)](_0x16ba32[_0xc1a997(0x160)]);};_0x2fca02[_0x4db535(0x127)](_0x4db535(0x161),_0x976325,{'priority':_0x4db535(0x13c)}),_0x11c87f[_0x4db535(0x12d)][_0x4db535(0x134)](_0x4db535(0x14e),_0x2a9d52),_0x2fca02[_0x4db535(0x183)](_0x4db535(0x161),_0x976325);}[_0x411b03(0x12c)](_0x532096){const _0x24ecca=_0x411b03,{model:_0x446c2d}=this[_0x24ecca(0x181)],_0x1f817b=Array[_0x24ecca(0x18d)](_0x532096[_0x24ecca(0x126)]());return _0x1f817b[_0x24ecca(0x13b)]?_0x446c2d[_0x24ecca(0x141)](_0x1f817b[_0x24ecca(0x169)]()):_0x532096[_0x24ecca(0x13f)]();}[_0x411b03(0x17b)](_0x122e0b,_0x3cb76d){const _0x1ab805=_0x411b03,{model:_0x54654d,plugins:_0x4f9b3c}=this[_0x1ab805(0x181)];if(_0x4f9b3c[_0x1ab805(0x12a)](_0x1ab805(0x166))){const _0x4f5127=_0x4f9b3c[_0x1ab805(0x138)](_0x1ab805(0x166))[_0x1ab805(0x140)](_0x3cb76d);if(_0x4f5127[_0x1ab805(0x13b)]){const _0x2212b3=this[_0x1ab805(0x190)](_0x122e0b),_0xef0b5=this[_0x1ab805(0x16b)](_0x4f5127,_0x2212b3);return _0x54654d[_0x1ab805(0x137)](_0xef0b5,0x0);}}return null;}[_0x411b03(0x190)](_0xc6bc13){const _0x50d802=_0x411b03,_0x322538=this[_0x50d802(0x181)][_0x50d802(0x165)][_0x50d802(0x138)](_0x50d802(0x166)),_0x4a480f=this[_0x50d802(0x181)][_0x50d802(0x168)][_0x50d802(0x15d)](_0xc6bc13),_0x37e9c8=Array[_0x50d802(0x18d)](_0x4a480f[_0x50d802(0x192)]())[_0x50d802(0x145)](_0x4ba1c7=>_0x4ba1c7['is'](_0x50d802(0x12f),_0x50d802(0x157)));let _0x334d0e=0x0;return _0x37e9c8[_0x50d802(0x148)](_0x2088cc=>{const _0x540f92=_0x50d802;_0x334d0e+=_0x322538[_0x540f92(0x139)](_0x2088cc);}),_0x334d0e;}[_0x411b03(0x16b)](_0x5d8c8c,_0x177bf0){const _0x5631f8=_0x411b03,_0x197ba3=this[_0x5631f8(0x181)][_0x5631f8(0x165)][_0x5631f8(0x138)](_0x5631f8(0x166)),_0x13a204=_0x197ba3[_0x5631f8(0x179)](_0x5d8c8c),_0x43da57=_0x197ba3[_0x5631f8(0x16a)](_0x5d8c8c),_0x5d8fef=_0x13a204[_0x5631f8(0x143)]+0x1,_0x1f50f2=_0x43da57[_0x5631f8(0x15a)],_0x31e648=_0x5d8c8c[0x0][_0x5631f8(0x193)](_0x5631f8(0x157));for(let _0x1cb294=0x0;_0x1cb294<_0x177bf0;_0x1cb294++)_0x197ba3[_0x5631f8(0x14b)](_0x31e648,{'at':_0x5d8fef});return _0x31e648[_0x5631f8(0x150)](_0x5d8fef)[_0x5631f8(0x150)](_0x1f50f2);}[_0x411b03(0x14d)](_0x548bd9,_0xf90e26){const _0x28d4f0=_0x411b03,{plugins:_0x26b18c}=this[_0x28d4f0(0x181)],{model:_0x5697a7}=_0x548bd9;if(!_0x26b18c[_0x28d4f0(0x12a)](_0x28d4f0(0x166)))return;_0x26b18c[_0x28d4f0(0x138)](_0x28d4f0(0x166))[_0x28d4f0(0x140)](_0xf90e26)[_0x28d4f0(0x13b)]&&_0x5697a7[_0x28d4f0(0x176)](_0xf90e26);}}function _0x4494(){const _0x3b9416=['getColumnIndexes','_createEmptyTableRows','model','getRanges','1767020cVnWZz','createRange','conversion','ck-fake-ai-selection','span','640270Ilwbuv','setSelection','editingDowncast','deleteContent','isCollapsed','15900QZJInj','getRowIndexes','setData','_prepareTableInsertBelowPosition','end','removeMarker','ai.useTheme','_getAISelection','addClass','editor','pluginName','off','isContent','_pasteHTMLUsingClipboard','map','join','href','getFirstRange','push','isPremiumPlugin','fromCharCode','from','291NZHVrr','ai-ui','_getTableRowCountFromContent','showFakeVisualSelection','getChildren','findAncestor','getSelectedBlocks','once','244089msqepQ','4041086seDAiC','has','canEditAt','_getDefaultInsertBelowPosition','document','hideFakeVisualSelection','element','3723032dqIhUO','insertContent','getMarkersGroup','afterInit','fire','text/html','selection','createPositionAt','get','getRows','updateMarker','length','lowest','getRange','getLastMatchingPosition','getLastPosition','getSelectedTableCells','createPositionAfter','DataTransfer','last','310HDFmrL','filter','markerToHighlight','createUIElement','forEach','AIAssistantEditing','markers','insertRows','ck-ai-assistant-ui_theme','_resetContentOfSelectedTableCells','paste','start','getChild','markerRange','ck-fake-ai-selection_collapsed','markerToElement','6ENhTtD','schema','init','table','config','1077316wrDFiG','first','createSelection','insertContentBelow','parse','isAtEnd','addMarker','resultRange','contentInsertion','isOfficialPlugin','editing','change','plugins','TableUtils','for','data','pop'];_0x4494=function(){return _0x3b9416;};return _0x4494();}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4c358e=_0x2abb;(function(_0x1fc610,_0x1099b0){const _0x8099c9=_0x2abb,_0x18bcf7=_0x1fc610();while(!![]){try{const _0x3f95c9=parseInt(_0x8099c9(0x1ac))/0x1*(parseInt(_0x8099c9(0x1c0))/0x2)+parseInt(_0x8099c9(0x1b2))/0x3*(-parseInt(_0x8099c9(0x1a8))/0x4)+-parseInt(_0x8099c9(0x1d4))/0x5*(parseInt(_0x8099c9(0x1e8))/0x6)+-parseInt(_0x8099c9(0x237))/0x7+-parseInt(_0x8099c9(0x1d5))/0x8+parseInt(_0x8099c9(0x1a6))/0x9+parseInt(_0x8099c9(0x1a9))/0xa;if(_0x3f95c9===_0x1099b0)break;else _0x18bcf7['push'](_0x18bcf7['shift']());}catch(_0x58d975){_0x18bcf7['push'](_0x18bcf7['shift']());}}}(_0x1860,0x7a99e));import{Plugin as _0x4a93f1}from'ckeditor5/src/core.js';import{IconMagicWand as _0x288277,IconRobotPencil as _0x492762}from'ckeditor5/src/icons.js';import{first as _0x2caed7,CKEditorError as _0x1adda2}from'ckeditor5/src/utils.js';import{createDropdown as _0x2fc6ab,addMenuToDropdown as _0x55b5ba,ButtonView as _0x2b2b2d,MenuBarMenuListItemButtonView as _0x4f5b9a,Dialog as _0x48c8cc,DialogViewPosition as _0x3eeb0f,MenuBarMenuView as _0x4db90f,MenuBarMenuListView as _0x454659,MenuBarMenuListItemView as _0x59a9c5}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x352b4d,UNGROUPED_COMMANDS_GROUP_ID as _0x946c2e}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x829d22}from'./aiassistantediting.js';import{AIAdapter as _0x491f15}from'./adapters/aiadapter.js';function _0x1860(){const _0x266294=['promptView','aiLicenseKeyExpired','_getResolvedCommandsDefinitions','locale','domainLimit','_getMenuBarGroupButtons','isEnabled','ai-commands-config-order-collision','isFlat','4950Quqlue','selection','children','fire','_initAriaAiStatusChangeAnnouncements','update','ai.aiAssistant.disabledElements','execute','insertContent','trim','Generated\x20content:\x20%0','contentArea','<p>','editor','invalid','wasMoved','_initView','addMany','DataTransfer','aiLicenseKeyTrialLimit','_aiAdapter','source','\x20ck-ai-assistant-ui_theme','enabledCommandsIds','change:value','copy','delegate','hide','requiresContent','showUI','buttons','ai.useTheme','view','order','hideFakeVisualSelection','_uiCssClasses','change','plugins','_createAIAssistantUIButton','REPLACE','getRanges','_aiAssistantController','values','componentFactory','aiLicenseKeyValid','isPremiumPlugin','polite','ck-ai-commands-dropdown\x20','_populateMenuBarMenu','aiLicenseKeyNotAllowed','length','showAIAssistant','evaluationLimit','command:','_onExecute','Error\x20during\x20AI\x20content\x20generation:\x20%0','listenTo','updateView','announce','menuPanelClass','rawHtml','menuBar:aiCommands','getSelectedElement','custom','featureNotAllowed','AI\x20is\x20writing','_licenseKeyCheckInterval','replace','queryView','ck-ai-assistant-button\x20','splice','text/html','config','groupLabel','model','map','aiLicenseKeyEvaluationLimit','comment','body','4932634qaKArj','textAdapter','menuBar:aiAssistant','EDITOR_TOP_SIDE','isCollapsed','forEach','get','change:isProcessing','items','AI\x20Commands','currentContext','push','once','showFakeVisualSelection','licenseKey','setSelection','replaceContent','init','panelView','sort','AIAssistant','tableOfContents','ck-ai-assistant-ui','text','set','pluginName','_dialog','destroy','show','ai.aiAssistant.contentAreaCssClass','insertContentBelow','1520361gcbIVa','trialLimit','2559052KlgpBm','25635300yZprDV','change:isError','from','25uqKftv','define','AI\x20Assistant','aiAssistant','_showLicenseError','ai.aiAssistant.commands','3AIhKdE','filter','prompt','isOfficialPlugin','</p>','schema','_formView','menuView','errorView','change:enabledCommandsIds','reset','includes','media','buttonView','19246rYVCKI','aiCommands','menuitemcheckbox','requires','isOn','aiLicenseKeyUsageLimit','commands','hideUI','getSelectedBlocks','bind','document','aiLicenseKeyDomainLimit','AIAssistantUI','fieldView','expired','_commandDefinitions','groupId','render','editing','INSERT','1730ErOnZV','6727880HjTfwt','updatePosition','_forceMarkersCopy','aiLicenseKeyInvalid','focus','label','add','getLimitElement','usageLimit','getData'];_0x1860=function(){return _0x266294;};return _0x1860();}import{getTranslation as _0x2505c1}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3a6923}from'./ui/showaiassistantcommand.js';function _0x2abb(_0x535c00,_0x27ab23){const _0x1860cb=_0x1860();return _0x2abb=function(_0x2abb12,_0x2705e7){_0x2abb12=_0x2abb12-0x197;let _0x5d45ee=_0x1860cb[_0x2abb12];return _0x5d45ee;},_0x2abb(_0x535c00,_0x27ab23);}import{AIAssistantController as _0x4cfeb9}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3ab367}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4c77f9}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x4c358e(0x1fa)];import{ClipboardMarkersUtils as _0x243f8d}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x58a7c4,ViewDataTransfer as _0x354a3f}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4a93f1{[_0x4c358e(0x245)];[_0x4c358e(0x22a)];[_0x4c358e(0x1a1)];[_0x4c358e(0x1b8)];[_0x4c358e(0x1fc)];[_0x4c358e(0x211)];[_0x4c358e(0x20b)]='';static get[_0x4c358e(0x1a0)](){const _0x287170=_0x4c358e;return _0x287170(0x1cc);}static get[_0x4c358e(0x1b5)](){return!0x0;}static get[_0x4c358e(0x215)](){return!0x0;}static get[_0x4c358e(0x1c3)](){return[_0x243f8d,_0x829d22,_0x491f15,_0x48c8cc];}constructor(_0x16eb8f){const _0x74369b=_0x4c358e;super(_0x16eb8f),_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x1ad)](_0x74369b(0x1ee),[_0x74369b(0x1be),_0x74369b(0x224),_0x74369b(0x19c)]),_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x1ad)](_0x74369b(0x1a4),''),_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x1ad)](_0x74369b(0x207),!0x0),this[_0x74369b(0x20b)]=_0x74369b(0x19d)+(_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x23d)](_0x74369b(0x207))?_0x74369b(0x1fe):'');}[_0x4c358e(0x198)](){const _0x341677=_0x4c358e,{editor:_0x1d50ab}=this;this[_0x341677(0x1fc)]=_0x1d50ab[_0x341677(0x20d)][_0x341677(0x23d)](_0x491f15),this[_0x341677(0x1a1)]=_0x1d50ab[_0x341677(0x20d)][_0x341677(0x23d)](_0x48c8cc),this[_0x341677(0x1b8)]=null,this[_0x341677(0x1cf)]=this[_0x341677(0x1e1)]();const _0x3a58e5=new _0x3a6923(_0x1d50ab,Array[_0x341677(0x1ab)](this[_0x341677(0x1cf)][_0x341677(0x212)]()));_0x1d50ab[_0x341677(0x1c6)][_0x341677(0x1db)](_0x341677(0x21b),_0x3a58e5),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x1c1),_0x27285e=>{const _0x35b4de=_0x341677,_0x1b6a6c=_0x2fc6ab(_0x27285e);return _0x1b6a6c[_0x35b4de(0x19f)]({'class':_0x35b4de(0x217)+this[_0x35b4de(0x20b)]}),_0x1b6a6c[_0x35b4de(0x1bf)][_0x35b4de(0x19f)]({'label':_0x2505c1(_0x27285e,_0x35b4de(0x240)),'icon':_0x288277,'tooltip':!0x0}),_0x1b6a6c['on'](_0x35b4de(0x1ef),_0x5db479=>this[_0x35b4de(0x21e)](_0x5db479[_0x35b4de(0x1fd)]['id'])),_0x55b5ba(_0x1b6a6c,_0x1d50ab['ui'][_0x35b4de(0x208)][_0x35b4de(0x236)],function(_0x64b711){const _0x46eced=_0x35b4de,_0x22b299=_0x352b4d(_0x64b711[_0x46eced(0x230)][_0x46eced(0x23d)](_0x46eced(0x1b1)),_0x64b711[_0x46eced(0x1e2)]),_0x520a98=U(_0x64b711,_0x22b299)[_0x46eced(0x1b3)](_0xb1245c=>_0xb1245c[_0x46eced(0x1c6)][_0x46eced(0x21a)]);if(0x1===_0x520a98[_0x46eced(0x21a)])return U(_0x64b711,_0x520a98[0x0][_0x46eced(0x1c6)])[_0x46eced(0x233)](_0xffaf45=>({'id':_0xffaf45['id'],'label':_0xffaf45[_0x46eced(0x1da)]}));return _0x520a98[_0x46eced(0x233)](_0x35f505=>{const _0x1815a0=_0x46eced,{groupId:_0x57ca90,groupLabel:_0x9d3005,commands:_0x5256a0}=_0x35f505,_0x52ffdf=U(_0x64b711,_0x5256a0)[_0x1815a0(0x233)](_0x3d4a4a=>({'id':_0x3d4a4a['id'],'label':_0x3d4a4a[_0x1815a0(0x1da)]}));return{'id':_0x57ca90,'menu':_0x9d3005||_0x57ca90,'children':_0x52ffdf};});}(_0x1d50ab),{'ariaLabel':_0x2505c1(_0x27285e,_0x35b4de(0x240))}),_0x1b6a6c[_0x35b4de(0x1b9)][_0x35b4de(0x223)]=_0x35b4de(0x217)+this[_0x35b4de(0x20b)],_0x3a58e5['on'](_0x35b4de(0x1bb),_0x253d5a),_0x1b6a6c[_0x35b4de(0x1b9)][_0x35b4de(0x243)](_0x35b4de(0x1d1),_0x253d5a),_0x1b6a6c;function _0x253d5a(){const _0x4036e0=_0x35b4de;_0x1b6a6c[_0x4036e0(0x1e5)]=_0x3a58e5[_0x4036e0(0x1ff)][_0x4036e0(0x21a)]>0x0;for(const _0x2d154c of _0x1b6a6c[_0x4036e0(0x1b9)][_0x4036e0(0x206)])_0x2d154c[_0x4036e0(0x1e5)]=_0x3a58e5[_0x4036e0(0x1ff)][_0x4036e0(0x1bd)](_0x2d154c['id']);}}),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x225),_0x7e545e=>{const _0x48a306=_0x341677,_0x3a0a7f=new _0x4db90f(_0x7e545e);_0x3a0a7f[_0x48a306(0x1bf)][_0x48a306(0x19f)]({'label':_0x2505c1(_0x7e545e,_0x48a306(0x240)),'icon':_0x288277}),_0x3a0a7f[_0x48a306(0x1c9)](_0x48a306(0x1e5))['to'](_0x3a58e5,_0x48a306(0x1ff),_0x239306=>_0x239306[_0x48a306(0x21a)]>0x0);const _0x4a4e68=_0x352b4d(_0x1d50ab[_0x48a306(0x230)][_0x48a306(0x23d)](_0x48a306(0x1b1)),_0x7e545e);return this[_0x48a306(0x218)](_0x3a58e5,_0x3a0a7f,_0x4a4e68,_0x2505a6=>this[_0x48a306(0x21e)](_0x2505a6)),_0x3a0a7f;}),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x1af),()=>{const _0x118f2c=_0x341677,_0x3a94ef=this[_0x118f2c(0x20e)](_0x2b2b2d);return _0x3a94ef[_0x118f2c(0x19f)]({'tooltip':!0x0,'class':_0x118f2c(0x22d)+this[_0x118f2c(0x20b)]}),_0x3a94ef;}),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x239),()=>{const _0x23b765=_0x341677,_0x2dfb83=this[_0x23b765(0x20e)](_0x4f5b9a);return _0x2dfb83[_0x23b765(0x19f)]({'role':_0x23b765(0x1c2)}),_0x2dfb83;}),this[_0x341677(0x245)]=this[_0x341677(0x1f5)][_0x341677(0x230)][_0x341677(0x23d)](_0x341677(0x245));const _0xddf81f=this[_0x341677(0x1f5)];this[_0x341677(0x22a)]=setInterval(()=>{const _0x3c3a5=_0x341677;let _0x34a927;for(const _0x495b68 in _0xddf81f){const _0x27b2a4=_0x495b68,_0x17bbeb=_0xddf81f[_0x27b2a4];if(_0x3c3a5(0x214)==_0x17bbeb||_0x3c3a5(0x1d8)==_0x17bbeb||_0x3c3a5(0x1e0)==_0x17bbeb||_0x3c3a5(0x1cb)==_0x17bbeb||_0x3c3a5(0x219)==_0x17bbeb||_0x3c3a5(0x234)==_0x17bbeb||_0x3c3a5(0x1fb)==_0x17bbeb||_0x3c3a5(0x1c5)==_0x17bbeb){delete _0xddf81f[_0x27b2a4],_0x34a927=_0x17bbeb,clearInterval(this[_0x3c3a5(0x22a)]),this[_0x3c3a5(0x22a)]=void 0x0;break;}}_0x3c3a5(0x1d8)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1f6)),_0x3c3a5(0x1e0)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1ce)),_0x3c3a5(0x1cb)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1e3)),_0x3c3a5(0x219)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x228),_0x3c3a5(0x19b)),_0x3c3a5(0x234)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x21c)),_0x3c3a5(0x1fb)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1a7)),_0x3c3a5(0x1c5)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1dd));},0x3e8);}[_0x4c358e(0x1a2)](){const _0x177991=_0x4c358e;super[_0x177991(0x1a2)](),this[_0x177991(0x22a)]&&clearInterval(this[_0x177991(0x22a)]);}[_0x4c358e(0x205)](_0x4c1111='',_0x42c7e9='',_0x2a297e=_0x4c358e(0x227)){const _0xfe84ff=_0x4c358e,_0x12a3b6=this[_0xfe84ff(0x1f5)],_0x2960ac=_0x12a3b6[_0xfe84ff(0x1d2)][_0xfe84ff(0x208)],_0x14abe8=_0x12a3b6[_0xfe84ff(0x20d)][_0xfe84ff(0x23d)](_0x829d22),_0x50f492=_0x12a3b6[_0xfe84ff(0x20d)][_0xfe84ff(0x23d)](_0x243f8d);_0x14abe8[_0xfe84ff(0x244)]();const _0x582fb9=new l(),_0x4fcc64=new ClipboardEvent(_0xfe84ff(0x201),{'clipboardData':_0x582fb9}),_0x548ef6=new _0x354a3f(_0x582fb9),_0x8e520f=new _0x58a7c4(_0x2960ac,_0x4fcc64,{'dataTransfer':_0x548ef6});_0x50f492[_0xfe84ff(0x1d7)](_0xfe84ff(0x235),()=>{const _0x2ae6bf=_0xfe84ff;_0x2960ac[_0x2ae6bf(0x1ca)][_0x2ae6bf(0x1eb)](_0x2ae6bf(0x201),_0x8e520f);}),this[_0xfe84ff(0x1b8)]||(this[_0xfe84ff(0x1f8)](),this[_0xfe84ff(0x211)]=new _0x4cfeb9(_0x12a3b6,this[_0xfe84ff(0x1fc)][_0xfe84ff(0x238)],this[_0xfe84ff(0x1b8)]));let _0x2adc2b=_0x548ef6[_0xfe84ff(0x1de)](_0xfe84ff(0x22f));const _0x448863=_0x12a3b6[_0xfe84ff(0x232)][_0xfe84ff(0x1ca)][_0xfe84ff(0x1e9)],_0x360ee0=Array[_0xfe84ff(0x1ab)](_0x448863[_0xfe84ff(0x210)]());0x1===_0x360ee0[_0xfe84ff(0x21a)]&&_0x360ee0[0x0][_0xfe84ff(0x1e7)]&&!_0x448863[_0xfe84ff(0x226)]()&&''!==_0x2adc2b[_0xfe84ff(0x22b)](/ /g,'')[_0xfe84ff(0x1f1)]()&&(_0x2adc2b=_0xfe84ff(0x1f4)+_0x2adc2b+_0xfe84ff(0x1b6)),this[_0xfe84ff(0x211)][_0xfe84ff(0x221)]({'actionId':_0x2a297e,'query':_0x4c1111,'htmlContent':_0x2adc2b,'label':_0x42c7e9,'mainActionLabel':_0x4c77f9[_0x12a3b6[_0xfe84ff(0x232)][_0xfe84ff(0x1ca)][_0xfe84ff(0x1e9)][_0xfe84ff(0x23b)]?_0xfe84ff(0x1d3):_0xfe84ff(0x20f)]}),_0xfe84ff(0x1af)!==this[_0xfe84ff(0x1a1)]['id']?this[_0xfe84ff(0x1a1)][_0xfe84ff(0x1a3)]({'id':_0xfe84ff(0x1af),'icon':_0x492762,'title':_0x2505c1(this[_0xfe84ff(0x1f5)][_0xfe84ff(0x1e2)],_0xfe84ff(0x1ae)),'content':this[_0xfe84ff(0x1b8)],'position':_0x3eeb0f[_0xfe84ff(0x23a)],'onShow':()=>{const _0xa2344b=_0xfe84ff;this[_0xa2344b(0x1b8)][_0xa2344b(0x1d9)]();},'onHide':()=>{const _0x14489b=_0xfe84ff;this[_0x14489b(0x211)][_0x14489b(0x1bc)](),_0x14abe8[_0x14489b(0x20a)]();}}):this[_0xfe84ff(0x1a1)][_0xfe84ff(0x208)][_0xfe84ff(0x1f7)]||this[_0xfe84ff(0x1a1)][_0xfe84ff(0x208)][_0xfe84ff(0x1d6)]();}[_0x4c358e(0x1c7)](){const _0x1d8ff4=_0x4c358e;this[_0x1d8ff4(0x1a1)][_0x1d8ff4(0x203)]();}[_0x4c358e(0x1e1)](){const _0x8b1c31=_0x4c358e,_0x574fbc=new Map(),_0x3a34a0=_0x352b4d(this[_0x8b1c31(0x1f5)][_0x8b1c31(0x230)][_0x8b1c31(0x23d)](_0x8b1c31(0x1b1)),this[_0x8b1c31(0x1f5)][_0x8b1c31(0x1e2)]);for(const _0x1f4069 of _0x3a34a0)for(const _0x5525f7 of _0x1f4069[_0x8b1c31(0x1c6)])_0x574fbc[_0x8b1c31(0x19f)](_0x5525f7['id'],{..._0x5525f7,'groupId':_0x1f4069[_0x8b1c31(0x1d0)],'groupLabel':_0x1f4069[_0x8b1c31(0x231)]||_0x1f4069[_0x8b1c31(0x1d0)]});return _0x574fbc;}[_0x4c358e(0x20e)](_0x1616bc){const _0x1b640c=_0x4c358e,_0x30df63=this[_0x1b640c(0x1f5)],_0x40d2ec=_0x30df63[_0x1b640c(0x1c6)][_0x1b640c(0x23d)](_0x1b640c(0x21b)),_0x355388=new _0x1616bc(_0x30df63[_0x1b640c(0x1e2)]);return _0x355388[_0x1b640c(0x19f)]({'label':_0x2505c1(_0x30df63[_0x1b640c(0x1e2)],_0x1b640c(0x1ae)),'icon':_0x492762,'isToggleable':!0x0}),_0x355388[_0x1b640c(0x1c9)](_0x1b640c(0x1e5))['to'](_0x40d2ec),_0x355388[_0x1b640c(0x1c9)](_0x1b640c(0x1c4))['to'](this[_0x1b640c(0x1a1)],'id',_0x267c32=>_0x1b640c(0x1af)===_0x267c32),this[_0x1b640c(0x220)](_0x355388,_0x1b640c(0x1ef),()=>{const _0x3bf16b=_0x1b640c;_0x355388[_0x3bf16b(0x1c4)]?this[_0x3bf16b(0x1c7)]():_0x40d2ec[_0x3bf16b(0x1ef)]();}),_0x355388;}[_0x4c358e(0x1f8)](){const _0xd5aaaf=_0x4c358e,_0x48d4d1=this[_0xd5aaaf(0x1f5)][_0xd5aaaf(0x20d)][_0xd5aaaf(0x23d)](_0x829d22);this[_0xd5aaaf(0x1b8)]=new _0x3ab367(this[_0xd5aaaf(0x1f5)][_0xd5aaaf(0x1e2)],this[_0xd5aaaf(0x20b)],this[_0xd5aaaf(0x1f5)][_0xd5aaaf(0x230)][_0xd5aaaf(0x23d)](_0xd5aaaf(0x1a4))),this[_0xd5aaaf(0x1b8)]['on'](_0xd5aaaf(0x200),()=>{const _0x4bf884=_0xd5aaaf;this[_0x4bf884(0x1a1)][_0x4bf884(0x208)][_0x4bf884(0x1f7)]||this[_0x4bf884(0x1a1)][_0x4bf884(0x208)][_0x4bf884(0x1d6)]();}),this[_0xd5aaaf(0x1b8)][_0xd5aaaf(0x1df)][_0xd5aaaf(0x22c)][_0xd5aaaf(0x1cd)]['on'](_0xd5aaaf(0x1ed),()=>{const _0x167c1f=_0xd5aaaf;this[_0x167c1f(0x1a1)][_0x167c1f(0x208)][_0x167c1f(0x1f7)]||this[_0x167c1f(0x1a1)][_0x167c1f(0x208)][_0x167c1f(0x1d6)]();}),this[_0xd5aaaf(0x220)](this[_0xd5aaaf(0x1b8)],_0xd5aaaf(0x197),()=>{const _0x314842=_0xd5aaaf;_0x48d4d1[_0x314842(0x1f0)](this[_0x314842(0x211)][_0x314842(0x241)]),this[_0x314842(0x1c7)]();}),this[_0xd5aaaf(0x220)](this[_0xd5aaaf(0x1b8)],_0xd5aaaf(0x1a5),()=>{const _0xf8ef1d=_0xd5aaaf;_0x48d4d1[_0xf8ef1d(0x1a5)](this[_0xf8ef1d(0x211)][_0xf8ef1d(0x241)]),this[_0xf8ef1d(0x1c7)]();}),this[_0xd5aaaf(0x1ec)]();}[_0x4c358e(0x1ec)](){const _0x1ede43=_0x4c358e,{locale:_0x398828,ui:{ariaLiveAnnouncer:_0xbc6693}}=this[_0x1ede43(0x1f5)];this[_0x1ede43(0x1b8)][_0x1ede43(0x1f3)]['on'](_0x1ede43(0x23e),(_0x353322,_0x4c19a6,_0x11798b)=>{const _0x2e8dcc=_0x1ede43,_0x2b4314=this[_0x2e8dcc(0x211)][_0x2e8dcc(0x241)];_0x11798b?_0xbc6693[_0x2e8dcc(0x222)](_0x2505c1(_0x398828,_0x2e8dcc(0x229))):_0x2b4314&&_0xbc6693[_0x2e8dcc(0x222)](_0x2505c1(_0x398828,_0x2e8dcc(0x1f2),_0x2b4314),{'politeness':_0x2e8dcc(0x216),'isUnsafeHTML':!0x0});}),this[_0x1ede43(0x1b8)]['on'](_0x1ede43(0x1aa),(_0x1aefae,_0x4bb7ec,_0x438fcb)=>{const _0x3679bb=_0x1ede43;if(_0x438fcb){const _0x1baeb7=this[_0x3679bb(0x1b8)][_0x3679bb(0x1ba)][_0x3679bb(0x19e)];_0xbc6693[_0x3679bb(0x222)](_0x2505c1(_0x398828,_0x3679bb(0x21f),_0x1baeb7));}});}[_0x4c358e(0x21e)](_0x1ee3a2){const _0x580e49=_0x4c358e,_0x290bc2=this[_0x580e49(0x1cf)][_0x580e49(0x23d)](_0x1ee3a2),_0x182a01=this[_0x580e49(0x1f5)],_0x4d647f=_0x182a01[_0x580e49(0x232)][_0x580e49(0x1ca)][_0x580e49(0x1e9)],_0x57829b=_0x182a01[_0x580e49(0x1c6)][_0x580e49(0x23d)](_0x580e49(0x21b)),_0xff3ff7=_0x182a01[_0x580e49(0x20d)][_0x580e49(0x23d)](_0x829d22),_0x3065bf=''+(_0x290bc2[_0x580e49(0x1d0)]!==_0x946c2e?_0x290bc2[_0x580e49(0x231)]+':\x20':'')+_0x290bc2[_0x580e49(0x1da)];if(!0x1!==_0x290bc2[_0x580e49(0x204)]&&_0x4d647f[_0x580e49(0x23b)]){const _0x47bcea=_0x2caed7(_0x4d647f[_0x580e49(0x1c8)]())||_0x182a01[_0x580e49(0x232)][_0x580e49(0x1b7)][_0x580e49(0x1dc)](_0x4d647f);_0x182a01[_0x580e49(0x232)][_0x580e49(0x20c)](_0x332031=>{const _0x75b465=_0x580e49;_0x332031[_0x75b465(0x246)](_0x47bcea,'in');});}_0xff3ff7[_0x580e49(0x244)](),_0x57829b[_0x580e49(0x1ef)](_0x290bc2[_0x580e49(0x1b4)],_0x3065bf,_0x580e49(0x21d)+_0x1ee3a2);}[_0x4c358e(0x218)](_0x5745ab,_0x336de9,_0x5e1798,_0x70b0b6){const _0xaad043=_0x4c358e,_0x4f9d81=this[_0xaad043(0x1f5)],_0x363146=_0x4f9d81[_0xaad043(0x1e2)],_0x126d26=new _0x454659(_0x363146),_0x12278f=U(_0x4f9d81,_0x5e1798)[_0xaad043(0x1b3)](_0x31c6c9=>_0x31c6c9[_0xaad043(0x1c6)][_0xaad043(0x21a)]);0x1===_0x12278f[_0xaad043(0x21a)]?this[_0xaad043(0x1e4)]({'command':_0x5745ab,'commands':_0x12278f[0x0][_0xaad043(0x1c6)],'parentMenuView':_0x336de9,'onExecute':_0x70b0b6})[_0xaad043(0x23c)](_0x1b3d83=>_0x126d26[_0xaad043(0x23f)][_0xaad043(0x1db)](_0x1b3d83)):_0x12278f[_0xaad043(0x23c)](({groupId:_0x4b64cb,groupLabel:_0x3bf80f,commands:_0x29b9c5})=>{const _0x4b4841=_0xaad043,_0x1a1de1=new _0x59a9c5(_0x363146,_0x336de9),_0x390624=new _0x4db90f(_0x363146),_0x54b246=new _0x454659(_0x363146),_0x47281e=this[_0x4b4841(0x1e4)]({'command':_0x5745ab,'commands':_0x29b9c5,'parentMenuView':_0x390624,'onExecute':_0x70b0b6});_0x390624[_0x4b4841(0x1bf)][_0x4b4841(0x19f)]({'label':_0x3bf80f||_0x4b64cb}),_0x390624[_0x4b4841(0x202)](_0x4b4841(0x1ef))['to'](_0x336de9),_0x54b246[_0x4b4841(0x23f)][_0x4b4841(0x1f9)](_0x47281e),_0x390624[_0x4b4841(0x199)][_0x4b4841(0x1ea)][_0x4b4841(0x1db)](_0x54b246),_0x1a1de1[_0x4b4841(0x1ea)][_0x4b4841(0x1db)](_0x390624),_0x126d26[_0x4b4841(0x23f)][_0x4b4841(0x1db)](_0x1a1de1);}),_0x336de9[_0xaad043(0x199)][_0xaad043(0x1ea)][_0xaad043(0x1db)](_0x126d26);}[_0x4c358e(0x1e4)]({command:_0x298436,commands:_0x26ee16,parentMenuView:_0x347c08,onExecute:_0x2dec80}){const _0x4c1d7a=_0x4c358e,_0x4a2427=this[_0x4c1d7a(0x1f5)],_0x13fcb9=_0x4a2427[_0x4c1d7a(0x1e2)];return U(_0x4a2427,_0x26ee16)[_0x4c1d7a(0x233)](_0x564c3a=>{const _0x21eb7a=_0x4c1d7a,_0x292653=new _0x59a9c5(_0x13fcb9,_0x347c08),_0x4ad3bc=new _0x4f5b9a(_0x13fcb9);return _0x4ad3bc[_0x21eb7a(0x19f)]({'label':_0x564c3a[_0x21eb7a(0x1da)]}),_0x4ad3bc[_0x21eb7a(0x202)](_0x21eb7a(0x1ef))['to'](_0x347c08),_0x4ad3bc['on'](_0x21eb7a(0x1ef),()=>_0x2dec80(_0x564c3a['id'])),_0x4ad3bc[_0x21eb7a(0x1c9)](_0x21eb7a(0x1e5))['to'](_0x298436,_0x21eb7a(0x1ff),_0xbe271d=>_0xbe271d[_0x21eb7a(0x1bd)](_0x564c3a['id'])),_0x292653[_0x21eb7a(0x1ea)][_0x21eb7a(0x1db)](_0x4ad3bc),_0x292653;});}}function T(_0x1ef531,_0x11bd74){const _0x4d1efe=_0x4c358e;return void 0x0!==_0x1ef531[_0x4d1efe(0x209)]&&void 0x0===_0x11bd74[_0x4d1efe(0x209)]?0x1:void 0x0===_0x1ef531[_0x4d1efe(0x209)]&&void 0x0!==_0x11bd74[_0x4d1efe(0x209)]?-0x1:void 0x0!==_0x1ef531[_0x4d1efe(0x209)]&&void 0x0!==_0x11bd74[_0x4d1efe(0x209)]?_0x1ef531[_0x4d1efe(0x209)]-_0x11bd74[_0x4d1efe(0x209)]:0x0;}function U(_0x2e760c,_0x40777c){const _0x2fed95=_0x4c358e;_0x40777c[_0x2fed95(0x19a)](T);const _0x18c4d2={},_0x171de4=[];for(const _0xcf731a of _0x40777c)if(void 0x0!==_0xcf731a[_0x2fed95(0x209)]){if(_0xcf731a[_0x2fed95(0x209)]in _0x18c4d2)throw new _0x1adda2(_0x2fed95(0x1e6),_0x2e760c,{'conflictingDefinitions':[_0xcf731a,_0x18c4d2[_0xcf731a[_0x2fed95(0x209)]]]});_0x18c4d2[_0xcf731a[_0x2fed95(0x209)]]=_0xcf731a,_0x171de4[_0x2fed95(0x22e)](_0xcf731a[_0x2fed95(0x209)],0x0,_0xcf731a);}else _0x171de4[_0x2fed95(0x242)](_0xcf731a);return _0x171de4;}
|
|
23
|
+
const _0x25cbe8=_0x24a9;(function(_0x137e47,_0x3f8132){const _0x1134ae=_0x24a9,_0x2e73cf=_0x137e47();while(!![]){try{const _0x3e469d=-parseInt(_0x1134ae(0x196))/0x1*(parseInt(_0x1134ae(0x17e))/0x2)+-parseInt(_0x1134ae(0x1d3))/0x3+parseInt(_0x1134ae(0x18c))/0x4+parseInt(_0x1134ae(0x1df))/0x5+-parseInt(_0x1134ae(0x175))/0x6*(parseInt(_0x1134ae(0x1a0))/0x7)+parseInt(_0x1134ae(0x190))/0x8*(-parseInt(_0x1134ae(0x209))/0x9)+parseInt(_0x1134ae(0x1b4))/0xa;if(_0x3e469d===_0x3f8132)break;else _0x2e73cf['push'](_0x2e73cf['shift']());}catch(_0x2dab7c){_0x2e73cf['push'](_0x2e73cf['shift']());}}}(_0x3612,0x2da95));import{Plugin as _0x49d3ed}from'ckeditor5/src/core.js';import{IconMagicWand as _0x36768e,IconRobotPencil as _0x44db48}from'ckeditor5/src/icons.js';import{first as _0x1b8327,CKEditorError as _0x3e36e1}from'ckeditor5/src/utils.js';import{createDropdown as _0x21e432,addMenuToDropdown as _0x3b0e7c,ButtonView as _0x398c68,MenuBarMenuListItemButtonView as _0x495201,Dialog as _0x1ece55,DialogViewPosition as _0x3fc81b,MenuBarMenuView as _0x1c9bc3,MenuBarMenuListView as _0x83ab03,MenuBarMenuListItemView as _0x3ebcd7}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x2086e2,UNGROUPED_COMMANDS_GROUP_ID as _0x1a43d9}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0xc57dc0}from'./aiassistantediting.js';import{AIAdapter as _0x4d8aeb}from'./adapters/aiadapter.js';import{getTranslation as _0xc1ba9a}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x49e145}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x598d98}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x380b62}from'./ui/form/aiformview.js';function _0x3612(){const _0x2b15af=['addMany','isOfficialPlugin','model','update','ai.aiAssistant.contentAreaCssClass','bind','filter','init','schema','requires','from','once','includes','document','trialLimit','length','\x20ck-ai-assistant-ui_theme','groupLabel','body','aiLicenseKeyInvalid','_showLicenseError','_forceMarkersCopy','replace','evaluationLimit','define','tableOfContents','_initAriaAiStatusChangeAnnouncements','label','_uiCssClasses','hideFakeVisualSelection','9yhVKnU','AI\x20Assistant','forEach','order','set','map','ai.aiAssistant.commands','getData','getSelectedBlocks','wasMoved','isPremiumPlugin','DataTransfer','aiAssistant','componentFactory','Generated\x20content:\x20%0','items','getLimitElement','aiLicenseKeyUsageLimit','promptView','change:value','locale','children','delegate','config','commands','panelView','show','selection','30498qYpZSt','buttons','change:isError','isEnabled','AIAssistant','ai-commands-config-order-collision','text/html','sort','menuBar:aiAssistant','2HKeOjv','ck-ai-assistant-ui','showAIAssistant','AI\x20is\x20writing','media','_licenseKeyCheckInterval','ai.aiAssistant.disabledElements','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiLicenseKeyValid','comment','queryView','ck-ai-assistant-button\x20','EDITOR_TOP_SIDE','fieldView','760396bMPhgs','_createAIAssistantUIButton','aiLicenseKeyTrialLimit','_populateMenuBarMenu','2153464ieBuJm','_initView','announce','_getResolvedCommandsDefinitions','pluginName','change:enabledCommandsIds','93669DmEsvr','licenseKey','replaceContent','usageLimit','destroy','reset','AIAssistantUI','_commandDefinitions','source','plugins','322BprQHz','getSelectedElement','expired','featureNotAllowed','custom','menuitemcheckbox','aiLicenseKeyNotAllowed','buttonView','splice','</p>','push','textAdapter','rawHtml','execute','aiLicenseKeyExpired','currentContext','aiLicenseKeyEvaluationLimit','enabledCommandsIds','fire','_dialog','4209930DoGfSv','requiresContent','ai.useTheme','get','_aiAdapter','editing','copy','domainLimit','getRanges','isOn','editor','errorView','menuPanelClass','insertContent','contentArea','aiCommands','aiLicenseKeyDomainLimit','setSelection','add','_aiAssistantController','menuBar:aiCommands','render','groupId','prompt','updateView','menuView','trim','showUI','isFlat','listenTo','insertContentBelow','312801YMpvfn','hide','ck-ai-commands-dropdown\x20','polite','hideUI','INSERT','focus','AI\x20Commands','REPLACE','change:isProcessing','updatePosition','view','1384370BmajvU','_onExecute','<p>','values','text','command:','_getMenuBarGroupButtons','isCollapsed','showFakeVisualSelection','_formView','invalid','change'];_0x3612=function(){return _0x2b15af;};return _0x3612();}import{AIFormToolbarViewMainActionLabel as _0x5d5533}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x25cbe8(0x164)];import{ClipboardMarkersUtils as _0x477d5d}from'ckeditor5/src/clipboard.js';function _0x24a9(_0x564bbe,_0x3e8ff1){const _0x361208=_0x3612();return _0x24a9=function(_0x24a9b5,_0x2c89f1){_0x24a9b5=_0x24a9b5-0x160;let _0x59f968=_0x361208[_0x24a9b5];return _0x59f968;},_0x24a9(_0x564bbe,_0x3e8ff1);}import{ViewDocumentDomEventData as _0x182e06,ViewDataTransfer as _0x56082f}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x49d3ed{[_0x25cbe8(0x197)];[_0x25cbe8(0x183)];[_0x25cbe8(0x1b3)];[_0x25cbe8(0x1e8)];[_0x25cbe8(0x1b8)];[_0x25cbe8(0x1c7)];[_0x25cbe8(0x207)]='';static get[_0x25cbe8(0x194)](){const _0x135037=_0x25cbe8;return _0x135037(0x19c);}static get[_0x25cbe8(0x1ec)](){return!0x0;}static get[_0x25cbe8(0x163)](){return!0x0;}static get[_0x25cbe8(0x1f4)](){return[_0x477d5d,_0xc57dc0,_0x4d8aeb,_0x1ece55];}constructor(_0x5960cf){const _0x5cf8b7=_0x25cbe8;super(_0x5960cf),_0x5960cf[_0x5cf8b7(0x170)][_0x5cf8b7(0x203)](_0x5cf8b7(0x184),[_0x5cf8b7(0x182),_0x5cf8b7(0x1ac),_0x5cf8b7(0x204)]),_0x5960cf[_0x5cf8b7(0x170)][_0x5cf8b7(0x203)](_0x5cf8b7(0x1ef),''),_0x5960cf[_0x5cf8b7(0x170)][_0x5cf8b7(0x203)](_0x5cf8b7(0x1b6),!0x0),this[_0x5cf8b7(0x207)]=_0x5cf8b7(0x17f)+(_0x5960cf[_0x5cf8b7(0x170)][_0x5cf8b7(0x1b7)](_0x5cf8b7(0x1b6))?_0x5cf8b7(0x1fb):'');}[_0x25cbe8(0x1f2)](){const _0x1ec427=_0x25cbe8,{editor:_0x10869c}=this;this[_0x1ec427(0x1b8)]=_0x10869c[_0x1ec427(0x19f)][_0x1ec427(0x1b7)](_0x4d8aeb),this[_0x1ec427(0x1b3)]=_0x10869c[_0x1ec427(0x19f)][_0x1ec427(0x1b7)](_0x1ece55),this[_0x1ec427(0x1e8)]=null,this[_0x1ec427(0x19d)]=this[_0x1ec427(0x193)]();const _0xee9f9a=new _0x49e145(_0x10869c,Array[_0x1ec427(0x1f5)](this[_0x1ec427(0x19d)][_0x1ec427(0x1e2)]()));_0x10869c[_0x1ec427(0x171)][_0x1ec427(0x1c6)](_0x1ec427(0x180),_0xee9f9a),_0x10869c['ui'][_0x1ec427(0x166)][_0x1ec427(0x1c6)](_0x1ec427(0x1c3),_0x454a8c=>{const _0x5a8f9f=_0x1ec427,_0x50b9a4=_0x21e432(_0x454a8c);return _0x50b9a4[_0x5a8f9f(0x20d)]({'class':_0x5a8f9f(0x1d5)+this[_0x5a8f9f(0x207)]}),_0x50b9a4[_0x5a8f9f(0x1a7)][_0x5a8f9f(0x20d)]({'label':_0xc1ba9a(_0x454a8c,_0x5a8f9f(0x1da)),'icon':_0x36768e,'tooltip':!0x0}),_0x50b9a4['on'](_0x5a8f9f(0x1ad),_0x129bd7=>this[_0x5a8f9f(0x1e0)](_0x129bd7[_0x5a8f9f(0x19e)]['id'])),_0x3b0e7c(_0x50b9a4,_0x10869c['ui'][_0x5a8f9f(0x1de)][_0x5a8f9f(0x1fd)],function(_0xfc216c){const _0x5601b9=_0x5a8f9f,_0x13e37a=_0x2086e2(_0xfc216c[_0x5601b9(0x170)][_0x5601b9(0x1b7)](_0x5601b9(0x20f)),_0xfc216c[_0x5601b9(0x16d)]),_0x572da1=U(_0xfc216c,_0x13e37a)[_0x5601b9(0x1f1)](_0x4b926f=>_0x4b926f[_0x5601b9(0x171)][_0x5601b9(0x1fa)]);if(0x1===_0x572da1[_0x5601b9(0x1fa)])return U(_0xfc216c,_0x572da1[0x0][_0x5601b9(0x171)])[_0x5601b9(0x20e)](_0x2d6df7=>({'id':_0x2d6df7['id'],'label':_0x2d6df7[_0x5601b9(0x206)]}));return _0x572da1[_0x5601b9(0x20e)](_0x17ab58=>{const _0x1f8ed8=_0x5601b9,{groupId:_0x2ecf21,groupLabel:_0x782269,commands:_0x59a6ba}=_0x17ab58,_0x2fe3f3=U(_0xfc216c,_0x59a6ba)[_0x1f8ed8(0x20e)](_0x264192=>({'id':_0x264192['id'],'label':_0x264192[_0x1f8ed8(0x206)]}));return{'id':_0x2ecf21,'menu':_0x782269||_0x2ecf21,'children':_0x2fe3f3};});}(_0x10869c),{'ariaLabel':_0xc1ba9a(_0x454a8c,_0x5a8f9f(0x1da))}),_0x50b9a4[_0x5a8f9f(0x1cd)][_0x5a8f9f(0x1c0)]=_0x5a8f9f(0x1d5)+this[_0x5a8f9f(0x207)],_0xee9f9a['on'](_0x5a8f9f(0x195),_0x5e9442),_0x50b9a4[_0x5a8f9f(0x1cd)][_0x5a8f9f(0x1f6)](_0x5a8f9f(0x1c9),_0x5e9442),_0x50b9a4;function _0x5e9442(){const _0x438940=_0x5a8f9f;_0x50b9a4[_0x438940(0x178)]=_0xee9f9a[_0x438940(0x1b1)][_0x438940(0x1fa)]>0x0;for(const _0x39c2b2 of _0x50b9a4[_0x438940(0x1cd)][_0x438940(0x176)])_0x39c2b2[_0x438940(0x178)]=_0xee9f9a[_0x438940(0x1b1)][_0x438940(0x1f7)](_0x39c2b2['id']);}}),_0x10869c['ui'][_0x1ec427(0x166)][_0x1ec427(0x1c6)](_0x1ec427(0x1c8),_0x189343=>{const _0x41544e=_0x1ec427,_0x31d361=new _0x1c9bc3(_0x189343);_0x31d361[_0x41544e(0x1a7)][_0x41544e(0x20d)]({'label':_0xc1ba9a(_0x189343,_0x41544e(0x1da)),'icon':_0x36768e}),_0x31d361[_0x41544e(0x1f0)](_0x41544e(0x178))['to'](_0xee9f9a,_0x41544e(0x1b1),_0x426f79=>_0x426f79[_0x41544e(0x1fa)]>0x0);const _0x7f1b54=_0x2086e2(_0x10869c[_0x41544e(0x170)][_0x41544e(0x1b7)](_0x41544e(0x20f)),_0x189343);return this[_0x41544e(0x18f)](_0xee9f9a,_0x31d361,_0x7f1b54,_0x1e175b=>this[_0x41544e(0x1e0)](_0x1e175b)),_0x31d361;}),_0x10869c['ui'][_0x1ec427(0x166)][_0x1ec427(0x1c6)](_0x1ec427(0x165),()=>{const _0x3de029=_0x1ec427,_0x1e0d63=this[_0x3de029(0x18d)](_0x398c68);return _0x1e0d63[_0x3de029(0x20d)]({'tooltip':!0x0,'class':_0x3de029(0x189)+this[_0x3de029(0x207)]}),_0x1e0d63;}),_0x10869c['ui'][_0x1ec427(0x166)][_0x1ec427(0x1c6)](_0x1ec427(0x17d),()=>{const _0x13245e=_0x1ec427,_0x47200=this[_0x13245e(0x18d)](_0x495201);return _0x47200[_0x13245e(0x20d)]({'role':_0x13245e(0x1a5)}),_0x47200;}),this[_0x1ec427(0x197)]=this[_0x1ec427(0x1be)][_0x1ec427(0x170)][_0x1ec427(0x1b7)](_0x1ec427(0x197));const _0x5c38fb=this[_0x1ec427(0x1be)];this[_0x1ec427(0x183)]=setInterval(()=>{const _0x3b1f6b=_0x1ec427;let _0x362e9d;for(const _0x39e0ac in _0x5c38fb){const _0xd98425=_0x39e0ac,_0x342862=_0x5c38fb[_0xd98425];if(_0x3b1f6b(0x186)==_0x342862||_0x3b1f6b(0x1fe)==_0x342862||_0x3b1f6b(0x1ae)==_0x342862||_0x3b1f6b(0x1c4)==_0x342862||_0x3b1f6b(0x1a6)==_0x342862||_0x3b1f6b(0x1b0)==_0x342862||_0x3b1f6b(0x18e)==_0x342862||_0x3b1f6b(0x16a)==_0x342862){delete _0x5c38fb[_0xd98425],_0x362e9d=_0x342862,clearInterval(this[_0x3b1f6b(0x183)]),this[_0x3b1f6b(0x183)]=void 0x0;break;}}_0x3b1f6b(0x1fe)==_0x362e9d&&_0x5c38fb[_0x3b1f6b(0x1ff)](_0x3b1f6b(0x1e9)),_0x3b1f6b(0x1ae)==_0x362e9d&&_0x5c38fb[_0x3b1f6b(0x1ff)](_0x3b1f6b(0x1a2)),_0x3b1f6b(0x1c4)==_0x362e9d&&_0x5c38fb[_0x3b1f6b(0x1ff)](_0x3b1f6b(0x1bb)),_0x3b1f6b(0x1a6)==_0x362e9d&&_0x5c38fb[_0x3b1f6b(0x1ff)](_0x3b1f6b(0x1a3),_0x3b1f6b(0x179)),_0x3b1f6b(0x1b0)==_0x362e9d&&_0x5c38fb[_0x3b1f6b(0x1ff)](_0x3b1f6b(0x202)),_0x3b1f6b(0x18e)==_0x362e9d&&_0x5c38fb[_0x3b1f6b(0x1ff)](_0x3b1f6b(0x1f9)),_0x3b1f6b(0x16a)==_0x362e9d&&_0x5c38fb[_0x3b1f6b(0x1ff)](_0x3b1f6b(0x199));},0x3e8);}[_0x25cbe8(0x19a)](){const _0x302683=_0x25cbe8;super[_0x302683(0x19a)](),this[_0x302683(0x183)]&&clearInterval(this[_0x302683(0x183)]);}[_0x25cbe8(0x1cf)](_0x1578f8='',_0x22c84a='',_0x1e2b0f=_0x25cbe8(0x1a4)){const _0x1134f5=_0x25cbe8,_0x202986=this[_0x1134f5(0x1be)],_0x246bde=_0x202986[_0x1134f5(0x1b9)][_0x1134f5(0x1de)],_0x3bccc3=_0x202986[_0x1134f5(0x19f)][_0x1134f5(0x1b7)](_0xc57dc0),_0x2ece4c=_0x202986[_0x1134f5(0x19f)][_0x1134f5(0x1b7)](_0x477d5d);_0x3bccc3[_0x1134f5(0x1e7)]();const _0x5a4c73=new l(),_0x3f6626=new ClipboardEvent(_0x1134f5(0x1ba),{'clipboardData':_0x5a4c73}),_0x4b591e=new _0x56082f(_0x5a4c73),_0x4dd58a=new _0x182e06(_0x246bde,_0x3f6626,{'dataTransfer':_0x4b591e});_0x2ece4c[_0x1134f5(0x200)](_0x1134f5(0x187),()=>{const _0x4265ca=_0x1134f5;_0x246bde[_0x4265ca(0x1f8)][_0x4265ca(0x1b2)](_0x4265ca(0x1ba),_0x4dd58a);}),this[_0x1134f5(0x1e8)]||(this[_0x1134f5(0x191)](),this[_0x1134f5(0x1c7)]=new _0x598d98(_0x202986,this[_0x1134f5(0x1b8)][_0x1134f5(0x1ab)],this[_0x1134f5(0x1e8)]));let _0x2b099f=_0x4b591e[_0x1134f5(0x160)](_0x1134f5(0x17b));const _0xc321a3=_0x202986[_0x1134f5(0x1ed)][_0x1134f5(0x1f8)][_0x1134f5(0x174)],_0x25a144=Array[_0x1134f5(0x1f5)](_0xc321a3[_0x1134f5(0x1bc)]());0x1===_0x25a144[_0x1134f5(0x1fa)]&&_0x25a144[0x0][_0x1134f5(0x1d0)]&&!_0xc321a3[_0x1134f5(0x1a1)]()&&''!==_0x2b099f[_0x1134f5(0x201)](/ /g,'')[_0x1134f5(0x1ce)]()&&(_0x2b099f=_0x1134f5(0x1e1)+_0x2b099f+_0x1134f5(0x1a9)),this[_0x1134f5(0x1c7)][_0x1134f5(0x1cc)]({'actionId':_0x1e2b0f,'query':_0x1578f8,'htmlContent':_0x2b099f,'label':_0x22c84a,'mainActionLabel':_0x5d5533[_0x202986[_0x1134f5(0x1ed)][_0x1134f5(0x1f8)][_0x1134f5(0x174)][_0x1134f5(0x1e6)]?_0x1134f5(0x1d8):_0x1134f5(0x1db)]}),_0x1134f5(0x165)!==this[_0x1134f5(0x1b3)]['id']?this[_0x1134f5(0x1b3)][_0x1134f5(0x173)]({'id':_0x1134f5(0x165),'icon':_0x44db48,'title':_0xc1ba9a(this[_0x1134f5(0x1be)][_0x1134f5(0x16d)],_0x1134f5(0x20a)),'content':this[_0x1134f5(0x1e8)],'position':_0x3fc81b[_0x1134f5(0x18a)],'onShow':()=>{const _0x5d56f2=_0x1134f5;this[_0x5d56f2(0x1e8)][_0x5d56f2(0x1d9)]();},'onHide':()=>{const _0x47a79c=_0x1134f5;this[_0x47a79c(0x1c7)][_0x47a79c(0x19b)](),_0x3bccc3[_0x47a79c(0x208)]();}}):this[_0x1134f5(0x1b3)][_0x1134f5(0x1de)][_0x1134f5(0x162)]||this[_0x1134f5(0x1b3)][_0x1134f5(0x1de)][_0x1134f5(0x1dd)]();}[_0x25cbe8(0x1d7)](){const _0x5b35e0=_0x25cbe8;this[_0x5b35e0(0x1b3)][_0x5b35e0(0x1d4)]();}[_0x25cbe8(0x193)](){const _0x32446d=_0x25cbe8,_0x57492e=new Map(),_0x1b9b0e=_0x2086e2(this[_0x32446d(0x1be)][_0x32446d(0x170)][_0x32446d(0x1b7)](_0x32446d(0x20f)),this[_0x32446d(0x1be)][_0x32446d(0x16d)]);for(const _0x412f5f of _0x1b9b0e)for(const _0x1ccfd5 of _0x412f5f[_0x32446d(0x171)])_0x57492e[_0x32446d(0x20d)](_0x1ccfd5['id'],{..._0x1ccfd5,'groupId':_0x412f5f[_0x32446d(0x1ca)],'groupLabel':_0x412f5f[_0x32446d(0x1fc)]||_0x412f5f[_0x32446d(0x1ca)]});return _0x57492e;}[_0x25cbe8(0x18d)](_0x3c24db){const _0x1d5612=_0x25cbe8,_0x530d8a=this[_0x1d5612(0x1be)],_0x36eff8=_0x530d8a[_0x1d5612(0x171)][_0x1d5612(0x1b7)](_0x1d5612(0x180)),_0x26ed6e=new _0x3c24db(_0x530d8a[_0x1d5612(0x16d)]);return _0x26ed6e[_0x1d5612(0x20d)]({'label':_0xc1ba9a(_0x530d8a[_0x1d5612(0x16d)],_0x1d5612(0x20a)),'icon':_0x44db48,'isToggleable':!0x0}),_0x26ed6e[_0x1d5612(0x1f0)](_0x1d5612(0x178))['to'](_0x36eff8),_0x26ed6e[_0x1d5612(0x1f0)](_0x1d5612(0x1bd))['to'](this[_0x1d5612(0x1b3)],'id',_0x48ac72=>_0x1d5612(0x165)===_0x48ac72),this[_0x1d5612(0x1d1)](_0x26ed6e,_0x1d5612(0x1ad),()=>{const _0xfc5189=_0x1d5612;_0x26ed6e[_0xfc5189(0x1bd)]?this[_0xfc5189(0x1d7)]():_0x36eff8[_0xfc5189(0x1ad)]();}),_0x26ed6e;}[_0x25cbe8(0x191)](){const _0x6b6e7a=_0x25cbe8,_0x44500e=this[_0x6b6e7a(0x1be)][_0x6b6e7a(0x19f)][_0x6b6e7a(0x1b7)](_0xc57dc0);this[_0x6b6e7a(0x1e8)]=new _0x380b62(this[_0x6b6e7a(0x1be)][_0x6b6e7a(0x16d)],this[_0x6b6e7a(0x207)],this[_0x6b6e7a(0x1be)][_0x6b6e7a(0x170)][_0x6b6e7a(0x1b7)](_0x6b6e7a(0x1ef))),this[_0x6b6e7a(0x1e8)]['on'](_0x6b6e7a(0x16c),()=>{const _0x101646=_0x6b6e7a;this[_0x101646(0x1b3)][_0x101646(0x1de)][_0x101646(0x162)]||this[_0x101646(0x1b3)][_0x101646(0x1de)][_0x101646(0x1dd)]();}),this[_0x6b6e7a(0x1e8)][_0x6b6e7a(0x16b)][_0x6b6e7a(0x188)][_0x6b6e7a(0x18b)]['on'](_0x6b6e7a(0x1ee),()=>{const _0x4ba865=_0x6b6e7a;this[_0x4ba865(0x1b3)][_0x4ba865(0x1de)][_0x4ba865(0x162)]||this[_0x4ba865(0x1b3)][_0x4ba865(0x1de)][_0x4ba865(0x1dd)]();}),this[_0x6b6e7a(0x1d1)](this[_0x6b6e7a(0x1e8)],_0x6b6e7a(0x198),()=>{const _0x5f0013=_0x6b6e7a;_0x44500e[_0x5f0013(0x1c1)](this[_0x5f0013(0x1c7)][_0x5f0013(0x1af)]),this[_0x5f0013(0x1d7)]();}),this[_0x6b6e7a(0x1d1)](this[_0x6b6e7a(0x1e8)],_0x6b6e7a(0x1d2),()=>{const _0x30aea4=_0x6b6e7a;_0x44500e[_0x30aea4(0x1d2)](this[_0x30aea4(0x1c7)][_0x30aea4(0x1af)]),this[_0x30aea4(0x1d7)]();}),this[_0x6b6e7a(0x205)]();}[_0x25cbe8(0x205)](){const _0x151b50=_0x25cbe8,{locale:_0x1bf65b,ui:{ariaLiveAnnouncer:_0x3bae8b}}=this[_0x151b50(0x1be)];this[_0x151b50(0x1e8)][_0x151b50(0x1c2)]['on'](_0x151b50(0x1dc),(_0x7f6d98,_0x4cdff7,_0x44aac6)=>{const _0x2f8ad9=_0x151b50,_0x4c32ec=this[_0x2f8ad9(0x1c7)][_0x2f8ad9(0x1af)];_0x44aac6?_0x3bae8b[_0x2f8ad9(0x192)](_0xc1ba9a(_0x1bf65b,_0x2f8ad9(0x181))):_0x4c32ec&&_0x3bae8b[_0x2f8ad9(0x192)](_0xc1ba9a(_0x1bf65b,_0x2f8ad9(0x167),_0x4c32ec),{'politeness':_0x2f8ad9(0x1d6),'isUnsafeHTML':!0x0});}),this[_0x151b50(0x1e8)]['on'](_0x151b50(0x177),(_0x24e6c1,_0x3d0410,_0x564aed)=>{const _0x3a9a3c=_0x151b50;if(_0x564aed){const _0x3366ac=this[_0x3a9a3c(0x1e8)][_0x3a9a3c(0x1bf)][_0x3a9a3c(0x1e3)];_0x3bae8b[_0x3a9a3c(0x192)](_0xc1ba9a(_0x1bf65b,_0x3a9a3c(0x185),_0x3366ac));}});}[_0x25cbe8(0x1e0)](_0x28286e){const _0xb0307c=_0x25cbe8,_0x1427a9=this[_0xb0307c(0x19d)][_0xb0307c(0x1b7)](_0x28286e),_0x5668e1=this[_0xb0307c(0x1be)],_0x5df2c5=_0x5668e1[_0xb0307c(0x1ed)][_0xb0307c(0x1f8)][_0xb0307c(0x174)],_0x20b0a2=_0x5668e1[_0xb0307c(0x171)][_0xb0307c(0x1b7)](_0xb0307c(0x180)),_0x11494e=_0x5668e1[_0xb0307c(0x19f)][_0xb0307c(0x1b7)](_0xc57dc0),_0x5bbe93=''+(_0x1427a9[_0xb0307c(0x1ca)]!==_0x1a43d9?_0x1427a9[_0xb0307c(0x1fc)]+':\x20':'')+_0x1427a9[_0xb0307c(0x206)];if(!0x1!==_0x1427a9[_0xb0307c(0x1b5)]&&_0x5df2c5[_0xb0307c(0x1e6)]){const _0x5be8d0=_0x1b8327(_0x5df2c5[_0xb0307c(0x161)]())||_0x5668e1[_0xb0307c(0x1ed)][_0xb0307c(0x1f3)][_0xb0307c(0x169)](_0x5df2c5);_0x5668e1[_0xb0307c(0x1ed)][_0xb0307c(0x1ea)](_0x37b50c=>{const _0x5622c6=_0xb0307c;_0x37b50c[_0x5622c6(0x1c5)](_0x5be8d0,'in');});}_0x11494e[_0xb0307c(0x1e7)](),_0x20b0a2[_0xb0307c(0x1ad)](_0x1427a9[_0xb0307c(0x1cb)],_0x5bbe93,_0xb0307c(0x1e4)+_0x28286e);}[_0x25cbe8(0x18f)](_0x1aa4ec,_0x48820e,_0x3ca02a,_0x4d4c4b){const _0x21dc6f=_0x25cbe8,_0x4e6595=this[_0x21dc6f(0x1be)],_0x10b374=_0x4e6595[_0x21dc6f(0x16d)],_0x5a3a9d=new _0x83ab03(_0x10b374),_0x446c52=U(_0x4e6595,_0x3ca02a)[_0x21dc6f(0x1f1)](_0x4b96bd=>_0x4b96bd[_0x21dc6f(0x171)][_0x21dc6f(0x1fa)]);0x1===_0x446c52[_0x21dc6f(0x1fa)]?this[_0x21dc6f(0x1e5)]({'command':_0x1aa4ec,'commands':_0x446c52[0x0][_0x21dc6f(0x171)],'parentMenuView':_0x48820e,'onExecute':_0x4d4c4b})[_0x21dc6f(0x20b)](_0x149ce4=>_0x5a3a9d[_0x21dc6f(0x168)][_0x21dc6f(0x1c6)](_0x149ce4)):_0x446c52[_0x21dc6f(0x20b)](({groupId:_0xa4a7c6,groupLabel:_0x390d18,commands:_0x27492e})=>{const _0x2236f8=_0x21dc6f,_0x485f6c=new _0x3ebcd7(_0x10b374,_0x48820e),_0x5c3f60=new _0x1c9bc3(_0x10b374),_0x3f0ff9=new _0x83ab03(_0x10b374),_0x31721b=this[_0x2236f8(0x1e5)]({'command':_0x1aa4ec,'commands':_0x27492e,'parentMenuView':_0x5c3f60,'onExecute':_0x4d4c4b});_0x5c3f60[_0x2236f8(0x1a7)][_0x2236f8(0x20d)]({'label':_0x390d18||_0xa4a7c6}),_0x5c3f60[_0x2236f8(0x16f)](_0x2236f8(0x1ad))['to'](_0x48820e),_0x3f0ff9[_0x2236f8(0x168)][_0x2236f8(0x1eb)](_0x31721b),_0x5c3f60[_0x2236f8(0x172)][_0x2236f8(0x16e)][_0x2236f8(0x1c6)](_0x3f0ff9),_0x485f6c[_0x2236f8(0x16e)][_0x2236f8(0x1c6)](_0x5c3f60),_0x5a3a9d[_0x2236f8(0x168)][_0x2236f8(0x1c6)](_0x485f6c);}),_0x48820e[_0x21dc6f(0x172)][_0x21dc6f(0x16e)][_0x21dc6f(0x1c6)](_0x5a3a9d);}[_0x25cbe8(0x1e5)]({command:_0x4ef214,commands:_0x3605f6,parentMenuView:_0xb2ea5d,onExecute:_0x7d9dc0}){const _0xb9bdda=_0x25cbe8,_0x2160f9=this[_0xb9bdda(0x1be)],_0x4338f3=_0x2160f9[_0xb9bdda(0x16d)];return U(_0x2160f9,_0x3605f6)[_0xb9bdda(0x20e)](_0x89dd42=>{const _0x409c1a=_0xb9bdda,_0x136696=new _0x3ebcd7(_0x4338f3,_0xb2ea5d),_0x105ee7=new _0x495201(_0x4338f3);return _0x105ee7[_0x409c1a(0x20d)]({'label':_0x89dd42[_0x409c1a(0x206)]}),_0x105ee7[_0x409c1a(0x16f)](_0x409c1a(0x1ad))['to'](_0xb2ea5d),_0x105ee7['on'](_0x409c1a(0x1ad),()=>_0x7d9dc0(_0x89dd42['id'])),_0x105ee7[_0x409c1a(0x1f0)](_0x409c1a(0x178))['to'](_0x4ef214,_0x409c1a(0x1b1),_0x39fdea=>_0x39fdea[_0x409c1a(0x1f7)](_0x89dd42['id'])),_0x136696[_0x409c1a(0x16e)][_0x409c1a(0x1c6)](_0x105ee7),_0x136696;});}}function T(_0x3f2171,_0x481c2f){const _0xe53410=_0x25cbe8;return void 0x0!==_0x3f2171[_0xe53410(0x20c)]&&void 0x0===_0x481c2f[_0xe53410(0x20c)]?0x1:void 0x0===_0x3f2171[_0xe53410(0x20c)]&&void 0x0!==_0x481c2f[_0xe53410(0x20c)]?-0x1:void 0x0!==_0x3f2171[_0xe53410(0x20c)]&&void 0x0!==_0x481c2f[_0xe53410(0x20c)]?_0x3f2171[_0xe53410(0x20c)]-_0x481c2f[_0xe53410(0x20c)]:0x0;}function U(_0x5be29a,_0x10bdd6){const _0x3066de=_0x25cbe8;_0x10bdd6[_0x3066de(0x17c)](T);const _0x1400c3={},_0x23ddba=[];for(const _0x13182b of _0x10bdd6)if(void 0x0!==_0x13182b[_0x3066de(0x20c)]){if(_0x13182b[_0x3066de(0x20c)]in _0x1400c3)throw new _0x3e36e1(_0x3066de(0x17a),_0x5be29a,{'conflictingDefinitions':[_0x13182b,_0x1400c3[_0x13182b[_0x3066de(0x20c)]]]});_0x1400c3[_0x13182b[_0x3066de(0x20c)]]=_0x13182b,_0x23ddba[_0x3066de(0x1a8)](_0x13182b[_0x3066de(0x20c)],0x0,_0x13182b);}else _0x23ddba[_0x3066de(0x1aa)](_0x13182b);return _0x23ddba;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3f603c,_0x101b09){var _0x1f863d=_0x5617,_0x36dd5d=_0x3f603c();while(!![]){try{var _0x18767a=parseInt(_0x1f863d(0x1ed))/0x1+parseInt(_0x1f863d(0x1e6))/0x2+parseInt(_0x1f863d(0x1e9))/0x3+parseInt(_0x1f863d(0x1e5))/0x4+parseInt(_0x1f863d(0x1ea))/0x5+parseInt(_0x1f863d(0x1e8))/0x6*(parseInt(_0x1f863d(0x1ec))/0x7)+-parseInt(_0x1f863d(0x1e7))/0x8*(parseInt(_0x1f863d(0x1eb))/0x9);if(_0x18767a===_0x101b09)break;else _0x36dd5d['push'](_0x36dd5d['shift']());}catch(_0x47683b){_0x36dd5d['push'](_0x36dd5d['shift']());}}}(_0x3b77,0x274cf));function _0x5617(_0xda613e,_0x5bca4e){var _0x3b77f5=_0x3b77();return _0x5617=function(_0x5617be,_0x1adb90){_0x5617be=_0x5617be-0x1e5;var _0x1f87b9=_0x3b77f5[_0x5617be];return _0x1f87b9;},_0x5617(_0xda613e,_0x5bca4e);}export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x3b77(){var _0x28cde6=['1606395ymtPAU','126xoyBPc','772849jQVToH','134877nxtmRo','437404MQRjGH','112832VgXeSh','415096LdDxFf','6adsayl','465189QzbbDG'];_0x3b77=function(){return _0x28cde6;};return _0x3b77();}export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x12ea(_0x29c6d1,_0x143233){var _0x519bed=_0x519b();return _0x12ea=function(_0x12ead6,_0x33cc4d){_0x12ead6=_0x12ead6-0x9f;var _0x52c208=_0x519bed[_0x12ead6];return _0x52c208;},_0x12ea(_0x29c6d1,_0x143233);}(function(_0x1f01a9,_0x2bdf42){var _0xf82cf7=_0x12ea,_0x2d36c6=_0x1f01a9();while(!![]){try{var _0x37be06=parseInt(_0xf82cf7(0xa8))/0x1+parseInt(_0xf82cf7(0xa0))/0x2+-parseInt(_0xf82cf7(0xa2))/0x3*(-parseInt(_0xf82cf7(0xa4))/0x4)+-parseInt(_0xf82cf7(0x9f))/0x5+parseInt(_0xf82cf7(0xa3))/0x6+-parseInt(_0xf82cf7(0xa1))/0x7*(parseInt(_0xf82cf7(0xa7))/0x8)+-parseInt(_0xf82cf7(0xa5))/0x9*(parseInt(_0xf82cf7(0xa6))/0xa);if(_0x37be06===_0x2bdf42)break;else _0x2d36c6['push'](_0x2d36c6['shift']());}catch(_0x3aedc8){_0x2d36c6['push'](_0x2d36c6['shift']());}}}(_0x519b,0x855fa));import{CKEditorError as _0x255375}from'ckeditor5/src/utils.js';function _0x519b(){var _0x33b043=['3071028rRJGYL','144pATlCy','27EavkUS','754530QkwTXL','8rFGWRI','336320noSMGp','1697620SmbIWH','209172QxXlUq','2943157SxnPmb','48324POClps'];_0x519b=function(){return _0x33b043;};return _0x519b();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xd8b46b=_0x21fb;function _0x21fb(_0x1cbb87,_0x27f379){const _0x1d5a13=_0x1d5a();return _0x21fb=function(_0x21fb11,_0x550b06){_0x21fb11=_0x21fb11-0xee;let _0x4238f2=_0x1d5a13[_0x21fb11];return _0x4238f2;},_0x21fb(_0x1cbb87,_0x27f379);}(function(_0x3ed803,_0x57ad41){const _0x2c45f0=_0x21fb,_0x3ca7d2=_0x3ed803();while(!![]){try{const _0x44f503=-parseInt(_0x2c45f0(0x112))/0x1*(parseInt(_0x2c45f0(0x13f))/0x2)+-parseInt(_0x2c45f0(0x103))/0x3*(-parseInt(_0x2c45f0(0x12d))/0x4)+-parseInt(_0x2c45f0(0x141))/0x5*(-parseInt(_0x2c45f0(0x118))/0x6)+parseInt(_0x2c45f0(0x107))/0x7*(parseInt(_0x2c45f0(0x122))/0x8)+-parseInt(_0x2c45f0(0x121))/0x9*(-parseInt(_0x2c45f0(0x136))/0xa)+parseInt(_0x2c45f0(0xf1))/0xb*(-parseInt(_0x2c45f0(0x115))/0xc)+parseInt(_0x2c45f0(0x135))/0xd*(-parseInt(_0x2c45f0(0x110))/0xe);if(_0x44f503===_0x57ad41)break;else _0x3ca7d2['push'](_0x3ca7d2['shift']());}catch(_0x4fb489){_0x3ca7d2['push'](_0x3ca7d2['shift']());}}}(_0x1d5a,0x77ac4));import{ObservableMixin as _0x2bd3b3}from'ckeditor5/src/utils.js';import{AIRequestError as _0x371b56}from'../adapters/aiadapter.js';import{Matcher as _0x3056af,ViewUpcastWriter as _0x376d0b}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2bd3b3(){[_0xd8b46b(0xfd)];[_0xd8b46b(0xf4)];[_0xd8b46b(0xf7)];[_0xd8b46b(0x139)];[_0xd8b46b(0x119)];[_0xd8b46b(0xff)];constructor(_0x2476f4,_0x157ff6,_0x5dc363){const _0x1ec3f1=_0xd8b46b;super(),this[_0x1ec3f1(0xfd)]=_0x2476f4,this[_0x1ec3f1(0xf4)]=_0x157ff6,this[_0x1ec3f1(0x139)]=document[_0x1ec3f1(0x128)](_0x1ec3f1(0x129)),this[_0x1ec3f1(0x119)]=new DOMParser(),this[_0x1ec3f1(0xff)]=new XMLSerializer(),this[_0x1ec3f1(0xf7)]=_0x5dc363,this[_0x1ec3f1(0x111)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1ec3f1(0x142),(_0x78b99e,_0x9e32f,_0xfbb3)=>{const _0x5c40e1=_0x1ec3f1;this[_0x5c40e1(0xf7)][_0x5c40e1(0x117)]=this[_0x5c40e1(0x145)](_0xfbb3);}),this[_0x1ec3f1(0x12e)](this[_0x1ec3f1(0xf7)],_0x1ec3f1(0xfb),(_0x27d2e6,_0x26ced9)=>{const _0x6e59cf=_0x1ec3f1,_0x3cee44=this[_0x6e59cf(0x131)]||this[_0x6e59cf(0x10d)];this[_0x6e59cf(0x114)](_0x26ced9,_0x3cee44,_0x6e59cf(0xee));}),this[_0x1ec3f1(0x12e)](this[_0x1ec3f1(0xf7)],_0x1ec3f1(0xef),()=>{const _0x126761=_0x1ec3f1;this[_0x126761(0xf7)][_0x126761(0xf8)]=this[_0x126761(0x147)],this[_0x126761(0x114)](this[_0x126761(0x108)],this[_0x126761(0x11a)],this[_0x126761(0x11b)],this[_0x126761(0x147)]);}),this[_0x1ec3f1(0x12e)](this[_0x1ec3f1(0xf7)],_0x1ec3f1(0x13c),()=>{const _0x623813=_0x1ec3f1;this[_0x623813(0x13c)]();});}[_0xd8b46b(0x146)](){const _0xa197a6=_0xd8b46b;this[_0xa197a6(0xf6)]();}async[_0xd8b46b(0x154)]({actionId:_0x5f3860,query:_0xb6153d,htmlContent:_0x2896cb,label:_0x38eaff,mainActionLabel:_0x386722}){const _0x2301c8=_0xd8b46b;this[_0x2301c8(0xf7)][_0x2301c8(0xf8)]=_0x38eaff,this[_0x2301c8(0xf7)][_0x2301c8(0x10c)]=_0x386722,this[_0x2301c8(0x10d)]=_0x2896cb,_0xb6153d&&(this[_0x2301c8(0xf7)][_0x2301c8(0x143)]?this[_0x2301c8(0x114)](_0xb6153d,_0x2896cb,_0x5f3860,_0x38eaff):this[_0x2301c8(0xf7)][_0x2301c8(0x105)](_0x2301c8(0x138),()=>{const _0x387e10=_0x2301c8;this[_0x387e10(0x114)](_0xb6153d,_0x2896cb,_0x5f3860,_0x38eaff);}));}[_0xd8b46b(0x13c)](){const _0x2d661e=_0xd8b46b;this[_0x2d661e(0x13a)]&&(this[_0x2d661e(0x13a)]=!0x1,this[_0x2d661e(0xf7)][_0x2d661e(0x134)](),this[_0x2d661e(0xf4)][_0x2d661e(0x14d)]());}[_0xd8b46b(0x100)](){const _0x358524=_0xd8b46b;this[_0x358524(0x10d)]='',this[_0x358524(0x131)]='',this[_0x358524(0x13d)]='',this[_0x358524(0x11a)]='',this[_0x358524(0x108)]='',this[_0x358524(0x147)]='',this[_0x358524(0x11b)]=void 0x0,this[_0x358524(0xf7)][_0x358524(0x100)](),this[_0x358524(0x13c)]();}async[_0xd8b46b(0x114)](_0x5d9be3,_0x1f9ca2,_0x3ca939,_0x5a8f9e){const _0x452428=_0xd8b46b;return this[_0x452428(0x13a)]=!0x0,this[_0x452428(0xf7)][_0x452428(0xf3)](),this[_0x452428(0x11a)]=_0x1f9ca2,this[_0x452428(0x108)]=_0x5d9be3,this[_0x452428(0x147)]=_0x5a8f9e||_0x5d9be3,this[_0x452428(0x11b)]=_0x3ca939,new Promise(_0x607543=>{const _0x1a858b=_0x452428;this[_0x1a858b(0xf4)][_0x1a858b(0x10b)]({'query':_0x5d9be3,'context':_0x1f9ca2,'onData':_0x3665f6=>{const _0x5f4fa2=_0x1a858b;this[_0x5f4fa2(0x13d)]=_0x3665f6,this[_0x5f4fa2(0x131)]=this[_0x5f4fa2(0x10e)](this[_0x5f4fa2(0x13d)]);},'actionId':_0x3ca939})[_0x1a858b(0x150)](()=>{const _0x39fb1a=_0x1a858b;!this[_0x39fb1a(0x131)]&&this[_0x39fb1a(0x13d)]&&(this[_0x39fb1a(0x131)]=this[_0x39fb1a(0x10e)](this[_0x39fb1a(0x13d)],!0x0));})[_0x1a858b(0x155)](_0x590aa8=>{const _0x542864=_0x1a858b;_0x590aa8 instanceof _0x371b56?this[_0x542864(0xf7)][_0x542864(0x14e)](_0x590aa8[_0x542864(0x120)]):this[_0x542864(0xf7)][_0x542864(0x14e)](),_0x607543();})[_0x1a858b(0xf0)](()=>{const _0x4ec3ef=_0x1a858b;this[_0x4ec3ef(0x13c)](),_0x607543();});});}[_0xd8b46b(0x10e)](_0x3c9ce4,_0x2ea6f3=!0x1){const _0x29ca1b=_0xd8b46b,_0x422dc3=Q[_0x29ca1b(0x132)](_0x3c9ce4);_0x3c9ce4=_0x422dc3?_0x3c9ce4[_0x29ca1b(0x125)](_0x422dc3[0x1][_0x29ca1b(0x127)]):_0x3c9ce4[_0x29ca1b(0x127)]<0x64&&!_0x2ea6f3?'':this[_0x29ca1b(0x126)](_0x3c9ce4);const _0x41ec98=this[_0x29ca1b(0x119)][_0x29ca1b(0x149)](_0x3c9ce4,_0x29ca1b(0xf9));if(_0x422dc3){const _0x56f463=Array[_0x29ca1b(0xfe)](_0x41ec98[_0x29ca1b(0xf2)][_0x29ca1b(0x12a)]);_0x56f463[_0x29ca1b(0xf5)]();for(const _0x98cc25 of _0x56f463){if(_0x98cc25[_0x29ca1b(0x148)]==Node[_0x29ca1b(0x106)])break;_0x98cc25[_0x29ca1b(0x130)]();}}const _0x1db423=this[_0x29ca1b(0xfd)][_0x29ca1b(0x116)][_0x29ca1b(0x11e)][_0x29ca1b(0x10f)](this[_0x29ca1b(0xff)][_0x29ca1b(0x12b)](_0x41ec98[_0x29ca1b(0xf2)]));this[_0x29ca1b(0xfa)]()||this[_0x29ca1b(0x140)](_0x1db423);const _0x28103b=this[_0x29ca1b(0xfd)][_0x29ca1b(0x104)][_0x29ca1b(0x13e)](_0x29ca1b(0x133)),_0x1c6efd=this[_0x29ca1b(0xfd)][_0x29ca1b(0x116)][_0x29ca1b(0x137)](_0x1db423);return _0x28103b||_0x1c6efd[_0x29ca1b(0x11d)][_0x29ca1b(0x102)](),this[_0x29ca1b(0xfd)][_0x29ca1b(0x116)][_0x29ca1b(0x13b)](_0x1c6efd);}[_0xd8b46b(0x140)](_0x11430b){const _0x19ffb3=_0xd8b46b,_0x3eb2e7=new _0x376d0b(this[_0x19ffb3(0xfd)][_0x19ffb3(0x14c)][_0x19ffb3(0xf7)][_0x19ffb3(0xfc)]),_0x3ef315=new _0x3056af({'name':/^h[1-5]$/}),_0x416346=[];let _0x52be42=!0x1;for(const _0x3890a2 of _0x11430b)_0x3890a2['is'](_0x19ffb3(0x14b))&&_0x3ef315[_0x19ffb3(0x124)](_0x3890a2)&&(_0x416346[_0x19ffb3(0x101)](_0x3890a2),'h1'==_0x3890a2[_0x19ffb3(0x12f)]&&(_0x52be42=!0x0));if(_0x52be42){for(const _0x69218d of _0x416346)_0x3eb2e7[_0x19ffb3(0x144)]('h'+(parseInt(_0x69218d[_0x19ffb3(0x12f)][0x1])+0x1),_0x69218d);}}[_0xd8b46b(0xfa)](){const _0x2ad1f7=_0xd8b46b,{data:_0x17e1ef,editing:_0x29628c}=this[_0x2ad1f7(0xfd)],_0x1a198e=_0x17e1ef[_0x2ad1f7(0x11c)][_0x2ad1f7(0x10f)](_0x2ad1f7(0x12c)),_0x1f888c=_0x17e1ef[_0x2ad1f7(0x10f)](_0x17e1ef[_0x2ad1f7(0x137)](_0x1a198e));return!!_0x29628c[_0x2ad1f7(0xf7)][_0x2ad1f7(0x113)][_0x2ad1f7(0x152)](_0x1f888c)[_0x2ad1f7(0x14f)]('h1');}[_0xd8b46b(0x145)](_0x87528f){const _0x103da7=_0xd8b46b;return this[_0x103da7(0xfd)][_0x103da7(0x14c)][_0x103da7(0xf7)][_0x103da7(0x113)][_0x103da7(0x151)](this[_0x103da7(0x139)],_0x87528f),this[_0x103da7(0x139)][_0x103da7(0x109)];}[_0xd8b46b(0x126)](_0x514e65){const _0x394b94=_0xd8b46b,_0x174563=_0x514e65[_0x394b94(0x11f)]();return _0x174563[_0x394b94(0x153)](_0x394b94(0x123))?_0x174563[_0x394b94(0x10a)](_0x394b94(0x14a))?_0x174563[_0x394b94(0x125)](0x7,_0x174563[_0x394b94(0x127)]-0x3):_0x174563[_0x394b94(0x125)](0x7):_0x514e65;}}function _0x1d5a(){const _0x108aa6=['previousContext','previousActionId','htmlProcessor','markers','processor','trim','message','27NEZGbU','88UxWleE','```html','match','substring','_stripMarkdownSyntax','length','createElement','div','childNodes','serializeToString','<h1></h1>','109024bocZmB','listenTo','name','remove','currentContext','exec','ai.aiAssistant.preserveComments','finishProcessing','52169OxOfkk','3034830mcseDE','toModel','render','_sanitizationContainer','isProcessing','stringify','stopProcessing','currentResponse','get','88898SQcfkO','_normalizeResponseHeadings','1285AyDfIu','set:currentContext','isRendered','rename','_sanitizeHTML','destroy','previousLabel','nodeType','parseFromString','```','element','editing','abort','handleError','querySelector','then','setContentOf','viewToDom','startsWith','updateView','catch','custom','tryAgainEvent','finally','6985OxkkSS','body','startProcessing','textAdapter','reverse','stopListening','view','prompt','text/html','_isH1TagSupportEnabled','submitPrompt','document','editor','from','_xmlSerializer','reset','push','clear','27TagoVK','config','once','ELEMENT_NODE','172144HLIVCl','previousQuery','innerHTML','endsWith','makeRequest','mainAction','initialContext','_parseAndNormalizeContent','toView','3010ElkMdv','set','2Dxqaqf','domConverter','_handleQuery','1740ILDhTe','data','value','2514EKcrNk','_domParser'];_0x1d5a=function(){return _0x108aa6;};return _0x1d5a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ab7cc=_0x3271;(function(_0x474ec3,_0x3a4395){const _0x28aeb8=_0x3271,_0x2cee5e=_0x474ec3();while(!![]){try{const _0x5a0a08=-parseInt(_0x28aeb8(0xbd))/0x1+parseInt(_0x28aeb8(0xba))/0x2+-parseInt(_0x28aeb8(0xe4))/0x3+-parseInt(_0x28aeb8(0x9e))/0x4*(-parseInt(_0x28aeb8(0xd2))/0x5)+-parseInt(_0x28aeb8(0xb5))/0x6*(-parseInt(_0x28aeb8(0xc3))/0x7)+-parseInt(_0x28aeb8(0xa6))/0x8+-parseInt(_0x28aeb8(0xc4))/0x9;if(_0x5a0a08===_0x3a4395)break;else _0x2cee5e['push'](_0x2cee5e['shift']());}catch(_0x372074){_0x2cee5e['push'](_0x2cee5e['shift']());}}}(_0x4bdd,0x35dd3));function _0x4bdd(){const _0x51d53b=['listenTo','set','<span>]</span>','write','ck-ai-form__content-field','ck-ai-form__content-area--processing','671697cbvarx','copy','removeAllRanges','Copy','wheel','ck-ai-form__copy-button-wrapper','ck-hidden','innerHTML','value','left','appendLoader','class','mousedown','isProcessing','1758252bmCwoY','querySelector','render','scrollHeight','setContent','loaderView','isEnabled','AI\x20is\x20writing...','3224600SAKocy','isVisible','change:isProcessing','setTemplate','style','locale','contentFieldView','addRange','\x20ck-ai-form__copy-button--copied','div','remove','_createCopyButton','<span>[</span>','firstElementChild','text/plain','785304niacAH','absolute','_copyHTMLToClipboard','getSelection','bind','430486KWeWDd','clipboard','-9999px','18391XXpJEb','bindTemplate','appendChild','ck-ai-form__copy-button','.ck-ai-form__loader','change:value','14GvpMcS','455238smaYnQ','_createLoader','scrollTo','ClipboardItem','body','smooth','ck-reset_all-excluded','position','element','focus','createElement','textContent','execCommand','icon','5ErImhN','execute','copyButtonView','setStartAfter','createRange','ck-ai-form__loader','ck-content','setEndBefore','text/html','ck-ai-form__content-area','lastElementChild','ck-ai-form__content-area-wrapper'];_0x4bdd=function(){return _0x51d53b;};return _0x4bdd();}import{global as _0x969337}from'ckeditor5/src/utils.js';import{View as _0x3547b5,ButtonView as _0x58bc1a,SpinnerView as _0x3d9d93}from'ckeditor5/src/ui.js';import{IconCheck as _0x45b7e3,IconCopy as _0x416d1c}from'ckeditor5/src/icons.js';import{getTranslation as _0x102c84}from'../../utils/common-translations.js';function _0x3271(_0x2bd550,_0x16e81c){const _0x4bdd05=_0x4bdd();return _0x3271=function(_0x327132,_0x355d3f){_0x327132=_0x327132-0x9a;let _0xab1d39=_0x4bdd05[_0x327132];return _0xab1d39;},_0x3271(_0x2bd550,_0x16e81c);}export class AIFormContentArea extends _0x3547b5{[_0x4ab7cc(0xac)];[_0x4ab7cc(0xd4)];constructor(_0x44ae7c,_0x6cb737=''){const _0x4859fc=_0x4ab7cc;super(_0x44ae7c),this[_0x4859fc(0xdf)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4c0adb=this[_0x4859fc(0xbe)];this[_0x4859fc(0xac)]=new ContentFieldView(_0x44ae7c,_0x6cb737),this[_0x4859fc(0xd4)]=this[_0x4859fc(0xb1)](),this[_0x4859fc(0xa9)]({'tag':_0x4859fc(0xaf),'attributes':{'class':['ck',_0x4859fc(0xdd),_0x4c0adb['if'](_0x4859fc(0xa7),_0x4859fc(0xea),_0x594be8=>!_0x594be8)],'tabindex':'-1'},'children':[{'tag':_0x4859fc(0xaf),'attributes':{'class':['ck',_0x4859fc(0xdb),_0x4c0adb['if'](_0x4859fc(0x9d),_0x4859fc(0xe3))]},'children':[this[_0x4859fc(0xac)],{'tag':_0x4859fc(0xaf),'attributes':{'class':['ck',_0x4859fc(0xe9)]},'children':[this[_0x4859fc(0xd4)]]}]}]});}[_0x4ab7cc(0xa0)](){const _0x46fc33=_0x4ab7cc;super[_0x46fc33(0xa0)](),this[_0x46fc33(0xec)]&&this[_0x46fc33(0xac)][_0x46fc33(0xa2)](this[_0x46fc33(0xec)]);let _0x397a27=!0x1;this['on'](_0x46fc33(0xc2),(_0x50c0ae,_0x320ec7,_0x34eb91)=>{const _0x59346f=_0x46fc33,_0x9b7f54=!this[_0x59346f(0xac)][_0x59346f(0xcc)][_0x59346f(0x9f)](_0x59346f(0xc1));this[_0x59346f(0xac)][_0x59346f(0xa2)](_0x34eb91),this[_0x59346f(0x9d)]&&_0x9b7f54&&!_0x397a27&&this[_0x59346f(0xcc)][_0x59346f(0xc6)]({'top':this[_0x59346f(0xcc)][_0x59346f(0xa1)],'behavior':_0x59346f(0xc9)});}),this['on'](_0x46fc33(0xa8),(_0x9ceb9d,_0xf71d4e,_0x261410)=>{const _0x295635=_0x46fc33;_0x397a27=!0x1,_0x261410?(this[_0x295635(0xec)]=null,this[_0x295635(0xac)][_0x295635(0x9a)]()):this[_0x295635(0xec)]||this[_0x295635(0xac)][_0x295635(0xa2)]('');}),this[_0x46fc33(0xde)](this[_0x46fc33(0xcc)],_0x46fc33(0xe8),()=>{_0x397a27=!0x0;}),this[_0x46fc33(0xde)](this[_0x46fc33(0xcc)],_0x46fc33(0x9c),()=>{_0x397a27=!0x0;});}[_0x4ab7cc(0xcd)](){const _0x2a55c6=_0x4ab7cc;this[_0x2a55c6(0xcc)][_0x2a55c6(0xcd)]();}[_0x4ab7cc(0xb1)](){const _0x48861f=_0x4ab7cc,_0x5e45be=this[_0x48861f(0xab)],_0x35df18=new _0x58bc1a(this[_0x48861f(0xab)]),_0xc935b5=_0x48861f(0xc0);return _0x35df18[_0x48861f(0xdf)]({'label':_0x102c84(_0x5e45be,_0x48861f(0xe7)),'icon':_0x416d1c,'class':_0xc935b5,'tooltip':!0x0}),_0x35df18[_0x48861f(0xb9)](_0x48861f(0xa7))['to'](this,_0x48861f(0xec),_0x421258=>!!_0x421258),_0x35df18[_0x48861f(0xb9)](_0x48861f(0xa4))['to'](this,_0x48861f(0x9d),_0xb93a8d=>!_0xb93a8d),_0x35df18['on'](_0x48861f(0xd3),()=>{const _0x4d4d44=_0x48861f;this[_0x4d4d44(0xb7)](this[_0x4d4d44(0xac)][_0x4d4d44(0xcc)]),_0x35df18[_0x4d4d44(0xd1)]=_0x45b7e3,_0x35df18[_0x4d4d44(0x9b)]=_0xc935b5+_0x4d4d44(0xae),this[_0x4d4d44(0xcd)](),setTimeout(()=>{const _0x2b1087=_0x4d4d44;_0x35df18[_0x2b1087(0xd1)]=_0x416d1c,_0x35df18[_0x2b1087(0x9b)]=_0xc935b5;},0x3e8);}),_0x35df18;}[_0x4ab7cc(0xb7)](_0x34913){const _0x1aeea7=_0x4ab7cc,{window:_0x14cd21,document:_0x2936e8}=_0x969337;if(_0x14cd21[_0x1aeea7(0xc7)]){const {Blob:_0x3d434b,ClipboardItem:_0x1e5b9b}=_0x14cd21,_0x2849e3=[new _0x1e5b9b({'text/html':new _0x3d434b([_0x34913[_0x1aeea7(0xeb)]],{'type':_0x1aeea7(0xda)}),'text/plain':new _0x3d434b([_0x34913[_0x1aeea7(0xcf)]||''],{'type':_0x1aeea7(0xb4)})})];navigator[_0x1aeea7(0xbb)][_0x1aeea7(0xe1)](_0x2849e3);}else{const _0x2a3ae3=_0x2936e8[_0x1aeea7(0xce)](_0x1aeea7(0xaf));_0x2a3ae3[_0x1aeea7(0xaa)][_0x1aeea7(0xcb)]=_0x1aeea7(0xb6),_0x2a3ae3[_0x1aeea7(0xaa)][_0x1aeea7(0xed)]=_0x1aeea7(0xbc),_0x2a3ae3[_0x1aeea7(0xeb)]=_0x1aeea7(0xb2)+_0x34913[_0x1aeea7(0xeb)]+_0x1aeea7(0xe0),_0x2936e8[_0x1aeea7(0xc8)][_0x1aeea7(0xbf)](_0x2a3ae3);const _0x3e63ef=_0x2936e8[_0x1aeea7(0xd6)]();_0x3e63ef[_0x1aeea7(0xd5)](_0x2a3ae3[_0x1aeea7(0xb3)]),_0x3e63ef[_0x1aeea7(0xd9)](_0x2a3ae3[_0x1aeea7(0xdc)]);const _0x557419=_0x14cd21[_0x1aeea7(0xb8)]();_0x557419[_0x1aeea7(0xe6)](),_0x557419[_0x1aeea7(0xad)](_0x3e63ef),_0x2936e8[_0x1aeea7(0xd0)](_0x1aeea7(0xe5)),_0x2a3ae3[_0x1aeea7(0xb0)]();}}}export class ContentFieldView extends _0x3547b5{constructor(_0x43d52e,_0x55066f=''){const _0x39e4eb=_0x4ab7cc;super(_0x43d52e),this[_0x39e4eb(0xa3)]=this[_0x39e4eb(0xc5)](),this[_0x39e4eb(0xa9)]({'tag':_0x39e4eb(0xaf),'attributes':{'class':['ck',_0x39e4eb(0xd8),_0x55066f,_0x39e4eb(0xca),_0x39e4eb(0xe2)]}});}[_0x4ab7cc(0xa2)](_0x2d728b){const _0x43e116=_0x4ab7cc;this[_0x43e116(0xcc)][_0x43e116(0xeb)]=_0x2d728b;}[_0x4ab7cc(0x9a)](){const _0x116fdc=_0x4ab7cc;this[_0x116fdc(0xcc)][_0x116fdc(0xbf)](this[_0x116fdc(0xa3)][_0x116fdc(0xcc)]);}[_0x4ab7cc(0xc5)](){const _0x513798=_0x4ab7cc,_0x22528c=new _0x3547b5(),_0x608c98=this[_0x513798(0xab)],_0xb50e33=new _0x3d9d93();return _0xb50e33[_0x513798(0xa7)]=!0x0,_0x22528c[_0x513798(0xa9)]({'tag':_0x513798(0xaf),'attributes':{'class':['ck',_0x513798(0xd7)]},'children':[_0xb50e33,{'text':_0x102c84(_0x608c98,_0x513798(0xa5))}]}),_0x22528c[_0x513798(0xa0)](),_0x22528c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3b8fd9,_0xe069b2){const _0x15f9fc=_0x116d,_0x3f1a7c=_0x3b8fd9();while(!![]){try{const _0x59352c=-parseInt(_0x15f9fc(0xd2))/0x1+parseInt(_0x15f9fc(0xdc))/0x2+parseInt(_0x15f9fc(0xd7))/0x3+parseInt(_0x15f9fc(0xd6))/0x4*(-parseInt(_0x15f9fc(0xd9))/0x5)+-parseInt(_0x15f9fc(0xe1))/0x6+-parseInt(_0x15f9fc(0xd8))/0x7*(parseInt(_0x15f9fc(0xdf))/0x8)+parseInt(_0x15f9fc(0xde))/0x9*(parseInt(_0x15f9fc(0xe0))/0xa);if(_0x59352c===_0xe069b2)break;else _0x3f1a7c['push'](_0x3f1a7c['shift']());}catch(_0x4c9c74){_0x3f1a7c['push'](_0x3f1a7c['shift']());}}}(_0x4da5,0xc24ba));import{IconError as _0x5495ee}from'ckeditor5/src/icons.js';function _0x116d(_0x421cf4,_0x8dcce1){const _0x4da5a2=_0x4da5();return _0x116d=function(_0x116d7b,_0x3114f8){_0x116d7b=_0x116d7b-0xd1;let _0x421ce5=_0x4da5a2[_0x116d7b];return _0x421ce5;},_0x116d(_0x421cf4,_0x8dcce1);}import{View as _0x33db27,IconView as _0x59c02c}from'ckeditor5/src/ui.js';function _0x4da5(){const _0x5c562f=['div','text','content','5109744nJgahz','4258782iRmIWY','7bSnXUD','5dKDAKW','ck-ai-form__error','bindTemplate','584608uhNlSy','set','4701861zqLmSG','315816dfPDUC','30cYuCUS','4019520cITWhn','setTemplate','496518YKZezc'];_0x4da5=function(){return _0x5c562f;};return _0x4da5();}export class AIFormErrorView extends _0x33db27{constructor(_0x749aa1,_0x5d792a=''){const _0x212828=_0x116d;super(_0x749aa1);const _0x48fb72=new _0x59c02c(),_0x16bd39=this[_0x212828(0xdb)];this[_0x212828(0xdd)](_0x212828(0xd4),_0x5d792a),_0x48fb72[_0x212828(0xd5)]=_0x5495ee,this[_0x212828(0xd1)]({'tag':_0x212828(0xd3),'attributes':{'class':['ck',_0x212828(0xda)]},'children':[_0x48fb72,{'text':_0x16bd39['to'](_0x212828(0xd4))}]});}}
|