@ckeditor/ckeditor5-ai 44.0.0-alpha.4 → 44.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- 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 _0x19e8cb=_0x21ba;(function(_0x44b2da,_0x3e8489){const _0xce4f39=_0x21ba,_0x46e28d=_0x44b2da();while(!![]){try{const _0x43024b=-parseInt(_0xce4f39(0xf7))/0x1*(-parseInt(_0xce4f39(0xe9))/0x2)+parseInt(_0xce4f39(0xcd))/0x3*(parseInt(_0xce4f39(0xf4))/0x4)+parseInt(_0xce4f39(0x119))/0x5+-parseInt(_0xce4f39(0x111))/0x6*(-parseInt(_0xce4f39(0xbb))/0x7)+-parseInt(_0xce4f39(0xfb))/0x8*(-parseInt(_0xce4f39(0xed))/0x9)+-parseInt(_0xce4f39(0xde))/0xa+-parseInt(_0xce4f39(0xfa))/0xb*(parseInt(_0xce4f39(0xd1))/0xc);if(_0x43024b===_0x3e8489)break;else _0x46e28d['push'](_0x46e28d['shift']());}catch(_0x984043){_0x46e28d['push'](_0x46e28d['shift']());}}}(_0x4cd1,0x7221b));import{Plugin as _0x5c5af1}from'ckeditor5/src/core.js';import _0x397460 from'./aiassistantui.js';import _0x452ec0 from'./aiassistantediting.js';import{getTranslation as _0x454622}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x538326}from'./utils/normalizecommandsconfig.js';export default class r extends _0x5c5af1{static get[_0x19e8cb(0xb7)](){return[_0x397460,_0x452ec0];}static get[_0x19e8cb(0xe1)](){const _0x3a6384=_0x19e8cb;return _0x3a6384(0xc8);}static get[_0x19e8cb(0x114)](){return!0x0;}static get[_0x19e8cb(0xf8)](){return!0x0;}constructor(_0x276d22){const _0x93ab92=_0x19e8cb;super(_0x276d22);const _0x319d64=_0x276d22[_0x93ab92(0xcc)],_0xa2d377=_0x276d22[_0x93ab92(0xb4)];_0x319d64[_0x93ab92(0x11c)](_0x93ab92(0x10c),getDefaultCommands(_0xa2d377)),_0x319d64[_0x93ab92(0x11c)](_0x93ab92(0xe6),[]),_0x319d64[_0x93ab92(0x11c)](_0x93ab92(0xcb),[]);const _0x4eb8ed=_0x538326(_0x319d64[_0x93ab92(0xc9)](_0x93ab92(0x10c)),_0xa2d377),_0x2fa44a=_0x319d64[_0x93ab92(0xc9)](_0x93ab92(0xe6)),_0x24ea30=_0x319d64[_0x93ab92(0xc9)](_0x93ab92(0xcb));_0x2fa44a[_0x93ab92(0xca)](_0x2fdf6b=>{const _0x3fbfd8=_0x93ab92,_0x33d605=_0x4eb8ed[_0x3fbfd8(0xb1)](_0x2bdc48=>_0x2bdc48[_0x3fbfd8(0xd8)]===_0x2fdf6b[_0x3fbfd8(0xd8)]);_0x33d605?_0x33d605[_0x3fbfd8(0x11a)]=_0x33d605[_0x3fbfd8(0x11a)][_0x3fbfd8(0x105)](_0x2fdf6b[_0x3fbfd8(0x11a)]):_0x4eb8ed[_0x3fbfd8(0xea)](_0x2fdf6b);}),_0x4eb8ed[_0x93ab92(0xca)](_0x187c52=>{const _0x35b1fe=_0x93ab92;_0x187c52[_0x35b1fe(0x11a)]=_0x187c52[_0x35b1fe(0x11a)][_0x35b1fe(0xff)](_0x3c7d0f=>!_0x24ea30[_0x35b1fe(0xc1)](_0x3c7d0f['id']));}),_0x319d64[_0x93ab92(0xda)](_0x93ab92(0x10c),_0x4eb8ed);}}export function getDefaultCommands(_0x42691b){const _0x3ff03d=_0x19e8cb;return[{'groupId':_0x3ff03d(0x110),'groupLabel':_0x454622(_0x42691b,_0x3ff03d(0xb9)),'commands':[{'id':_0x3ff03d(0x10e),'label':_0x454622(_0x42691b,_0x3ff03d(0xb2)),'prompt':_0x3ff03d(0xeb)},{'id':_0x3ff03d(0xf9),'label':_0x454622(_0x42691b,_0x3ff03d(0x11f)),'prompt':_0x3ff03d(0xc5)},{'id':_0x3ff03d(0x108),'label':_0x454622(_0x42691b,_0x3ff03d(0xdc)),'prompt':_0x3ff03d(0xb3)},{'id':_0x3ff03d(0xe2),'label':_0x454622(_0x42691b,_0x3ff03d(0x106)),'prompt':_0x3ff03d(0xbf)}]},{'groupId':_0x3ff03d(0xd4),'groupLabel':_0x454622(_0x42691b,_0x3ff03d(0xfe)),'commands':[{'id':_0x3ff03d(0xd6),'label':_0x454622(_0x42691b,_0x3ff03d(0xd9)),'prompt':_0x3ff03d(0xbc)},{'id':_0x3ff03d(0xc6),'label':_0x454622(_0x42691b,_0x3ff03d(0xba)),'prompt':_0x3ff03d(0xef)}]},{'groupId':_0x3ff03d(0x10f),'groupLabel':_0x454622(_0x42691b,_0x3ff03d(0x104)),'commands':[{'id':_0x3ff03d(0xdf),'label':_0x454622(_0x42691b,_0x3ff03d(0x100)),'prompt':_0x3ff03d(0xf5)},{'id':_0x3ff03d(0x107),'label':_0x454622(_0x42691b,_0x3ff03d(0xc3)),'prompt':_0x3ff03d(0x117)},{'id':_0x3ff03d(0xe3),'label':_0x454622(_0x42691b,_0x3ff03d(0xf3)),'prompt':_0x3ff03d(0xf6)},{'id':_0x3ff03d(0xd5),'label':_0x454622(_0x42691b,_0x3ff03d(0x112)),'prompt':_0x3ff03d(0xf2)},{'id':_0x3ff03d(0xbd),'label':_0x454622(_0x42691b,_0x3ff03d(0xd2)),'prompt':_0x3ff03d(0xc7)}]},{'groupId':_0x3ff03d(0xee),'groupLabel':_0x454622(_0x42691b,_0x3ff03d(0xd0)),'commands':[{'id':_0x3ff03d(0x10d),'label':_0x454622(_0x42691b,_0x3ff03d(0x10b)),'prompt':_0x3ff03d(0x120)},{'id':_0x3ff03d(0x10a),'label':_0x454622(_0x42691b,_0x3ff03d(0xbe)),'prompt':_0x3ff03d(0xe5)},{'id':_0x3ff03d(0x113),'label':_0x454622(_0x42691b,_0x3ff03d(0xb5)),'prompt':_0x3ff03d(0x115)},{'id':_0x3ff03d(0xd3),'label':_0x454622(_0x42691b,_0x3ff03d(0xfd)),'prompt':_0x3ff03d(0xe7)}]},{'groupId':_0x3ff03d(0xdb),'groupLabel':_0x454622(_0x42691b,_0x3ff03d(0xec)),'commands':[{'id':_0x3ff03d(0xe8),'label':_0x454622(_0x42691b,_0x3ff03d(0xce)),'prompt':_0x3ff03d(0x11b)},{'id':_0x3ff03d(0xfc),'label':_0x454622(_0x42691b,_0x3ff03d(0x116)),'prompt':_0x3ff03d(0x101)},{'id':_0x3ff03d(0x103),'label':_0x454622(_0x42691b,_0x3ff03d(0xdd)),'prompt':_0x3ff03d(0xb6)},{'id':_0x3ff03d(0xf0),'label':_0x454622(_0x42691b,_0x3ff03d(0xe4)),'prompt':_0x3ff03d(0x109)},{'id':_0x3ff03d(0x102),'label':_0x454622(_0x42691b,_0x3ff03d(0xcf)),'prompt':_0x3ff03d(0xb8)},{'id':_0x3ff03d(0xe0),'label':_0x454622(_0x42691b,_0x3ff03d(0x11d)),'prompt':_0x3ff03d(0x11e)},{'id':_0x3ff03d(0xd7),'label':_0x454622(_0x42691b,_0x3ff03d(0xc2)),'prompt':_0x3ff03d(0xc0)},{'id':_0x3ff03d(0xf1),'label':_0x454622(_0x42691b,_0x3ff03d(0x118)),'prompt':_0x3ff03d(0xc4)}]}];}function _0x21ba(_0x412c5e,_0x54d857){const _0x4cd1e8=_0x4cd1();return _0x21ba=function(_0x21ba63,_0x10ada5){_0x21ba63=_0x21ba63-0xb1;let _0x48d989=_0x4cd1e8[_0x21ba63];return _0x48d989;},_0x21ba(_0x412c5e,_0x54d857);}function _0x4cd1(){const _0x4e1e9d=['changeTone','editOrReview','810AvcZkX','Confident','journalism','isOfficialPlugin','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Spanish','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Arabic','612920fUbGTi','commands','Translate\x20the\x20content\x20to\x20English\x20language.','define','Simplified\x20Chinese','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Make\x20shorter','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','find','Improve\x20writing','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','locale','Journalism','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','requires','Translate\x20the\x20content\x20to\x20French\x20language.','Edit\x20or\x20review','Continue','24983MWylOg','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','friendly','Legal','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','includes','Hindi','Casual','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','continue','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','AIAssistant','get','forEach','ai.aiAssistant.removeCommands','config','48whJqtv','English','French','Change\x20style','1320NIQMBF','Friendly','poetic','generate','confident','summarize','translateHindi','groupId','Summarize','set','translate','Make\x20longer','Portuguese','6104550Ppeigk','professional','translateChinese','pluginName','simplifyLanguage','direct','German','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','ai.aiAssistant.extraCommandGroups','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translateEnglish','3522lXlkvI','push','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Translate','27036Ydoldt','changeStyle','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','translateGerman','translateArabic','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Direct','192616AuanYX','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','479dwqoWd','isPremiumPlugin','makeShorter','167816JQvcdo','1432MzeiyF','translateSpanish','Poetic','Generate\x20from\x20selection','filter','Professional','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateFrench','translatePortuguese','Change\x20tone','concat','Simplify\x20language','casual','makeLonger','Translate\x20the\x20content\x20to\x20German\x20language.','legal','Business','ai.aiAssistant.commands','business','improveWriting'];_0x4cd1=function(){return _0x4e1e9d;};return _0x4cd1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1bd092=_0x242c;function _0x242c(_0x41ba05,_0x8dc558){const _0x901c17=_0x901c();return _0x242c=function(_0x242cde,_0x458c77){_0x242cde=_0x242cde-0xab;let _0x4a891c=_0x901c17[_0x242cde];return _0x4a891c;},_0x242c(_0x41ba05,_0x8dc558);}(function(_0x20d113,_0x364bda){const _0x13c6f3=_0x242c,_0x587694=_0x20d113();while(!![]){try{const _0x4779e7=-parseInt(_0x13c6f3(0xb0))/0x1*(-parseInt(_0x13c6f3(0xf5))/0x2)+parseInt(_0x13c6f3(0xef))/0x3*(parseInt(_0x13c6f3(0xcb))/0x4)+-parseInt(_0x13c6f3(0xd3))/0x5*(parseInt(_0x13c6f3(0xb4))/0x6)+parseInt(_0x13c6f3(0xbd))/0x7*(-parseInt(_0x13c6f3(0xaf))/0x8)+-parseInt(_0x13c6f3(0xc4))/0x9*(parseInt(_0x13c6f3(0xe8))/0xa)+parseInt(_0x13c6f3(0xcc))/0xb*(-parseInt(_0x13c6f3(0xdc))/0xc)+parseInt(_0x13c6f3(0xdd))/0xd*(parseInt(_0x13c6f3(0xd4))/0xe);if(_0x4779e7===_0x364bda)break;else _0x587694['push'](_0x587694['shift']());}catch(_0x2eb6f4){_0x587694['push'](_0x587694['shift']());}}}(_0x901c,0xe3118));import{uid as _0x191037}from'ckeditor5/src/utils.js';import{Plugin as _0xc4c6d7}from'ckeditor5/src/core.js';const u=_0x1bd092(0xd1);export default class a extends _0xc4c6d7{static get[_0x1bd092(0xf6)](){const _0xf3ffd7=_0x1bd092;return _0xf3ffd7(0xd5);}static get[_0x1bd092(0xe9)](){return!0x0;}static get[_0x1bd092(0xda)](){return!0x0;}[_0x1bd092(0xd8)](){const _0x143f72=_0x1bd092,{editor:_0x2fe0af}=this,_0x16906d=[_0x143f72(0xb6)];_0x2fe0af[_0x143f72(0xe1)][_0x143f72(0xec)](_0x143f72(0xd0))&&_0x16906d[_0x143f72(0xed)](_0x143f72(0xd2)),_0x2fe0af[_0x143f72(0xf2)][_0x143f72(0xe5)](_0x143f72(0xcd))[_0x143f72(0xea)]({'model':u,'view':{'classes':_0x16906d,'priority':0xc}}),_0x2fe0af[_0x143f72(0xf2)][_0x143f72(0xe5)](_0x143f72(0xcd))[_0x143f72(0xd6)]({'model':u,'view':(_0x5746fd,{writer:_0xd1e795})=>{const _0x558ddb=_0x143f72;if(!_0x5746fd[_0x558ddb(0xb8)][_0x558ddb(0xe7)])return null;const _0x59deb5=_0xd1e795[_0x558ddb(0xe3)](_0x558ddb(0xbb));return _0xd1e795[_0x558ddb(0xf4)]([_0x558ddb(0xb6),_0x558ddb(0xe0)],_0x59deb5),_0x59deb5;}});}[_0x1bd092(0xca)](){!async function(_0x1f3ee7){const _0x2c9235=_0x318417([0x4b,0x54,0x62,0x58,0x6c,0x45,0x6f,0x64,0x56,0x33,0x6a,0x59,0x6b,0x78,0x65,0x51,0x6d,0x39,0x4f,0x55,0x71,0x41,0x68,0x53,0x79,0x63,0x69,0x36,0x43,0x72,0x44,0x67,0x35,0x77,0x76,0x74,0x70,0x34,0x46,0x47,0x57,0x66,0x48,0x6e,0x61,0x4d,0x4a,0x50,0x4c,0x73,0x4e,0x5a,0x30,0x37,0x31,0x49,0x75,0x52,0x7a,0x38,0x32,0x42]),_0x115ed0=0x58489c6e,_0x3437c6=0x584fcba6^_0x115ed0,_0xf89e74=window[_0x318417([0x44,0x61,0x74,0x65])][_0x318417([0x6e,0x6f,0x77])](),_0x385c4d=_0x1f3ee7[_0x318417([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a03e0=new window[(_0x318417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x723e03=>{_0x385c4d[_0x318417([0x6f,0x6e,0x63,0x65])](_0x318417([0x72,0x65,0x61,0x64,0x79]),_0x723e03);}),_0xb65949={[_0x318417([0x6b,0x74,0x79])]:_0x318417([0x45,0x43]),[_0x318417([0x75,0x73,0x65])]:_0x318417([0x73,0x69,0x67]),[_0x318417([0x63,0x72,0x76])]:_0x318417([0x50,0x2d,0x32,0x35,0x36]),[_0x318417([0x78])]:_0x318417([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]),[_0x318417([0x79])]:_0x318417([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]),[_0x318417([0x61,0x6c,0x67])]:_0x318417([0x45,0x53,0x32,0x35,0x36])},_0x51df9f=_0x385c4d[_0x318417([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x318417([0x67,0x65,0x74])](_0x318417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x477b20(){let _0x53f8a6,_0xb7b335=null,_0x48db3a=null;try{if(_0x51df9f==_0x318417([0x47,0x50,0x4c]))return _0x318417([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53f8a6=_0x26d29b(),!_0x53f8a6)return _0x318417([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53f8a6[_0x318417([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48db3a=_0x1945f4(_0x53f8a6[_0x318417([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53f8a6[_0x318417([0x6a,0x74,0x69])])),await _0x5097ef()?_0x386a9c()?_0x3eee73()?_0x318417([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x441655()?(_0x53f8a6[_0x318417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x318417([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb7b335=_0x5c1538(_0x318417([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53f8a6[_0x318417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x318417([0x74,0x72,0x69,0x61,0x6c])&&(_0xb7b335=_0x5c1538(_0x318417([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x53f8a6[_0x318417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x318417([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0xb7b335=_0x5c1538(_0x318417([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ddebb()):_0x318417([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x318417([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x318417([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x36f206){return _0x318417([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3eee73(){const _0x418dad=[_0x318417([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x318417([0x74,0x72,0x69,0x61,0x6c])][_0x318417([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53f8a6[_0x318417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf89e74/0x3e8:0xe10*_0x3437c6;return _0x53f8a6[_0x318417([0x65,0x78,0x70])]<_0x418dad;}function _0x386a9c(){const _0x42cec0=_0x53f8a6[_0x318417([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42cec0&&(!!_0x42cec0[_0x318417([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318417([0x2a]))||!!_0x42cec0[_0x318417([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318417([0x41,0x49])));}function _0x441655(){const _0x17e921=_0x242c,_0x1a79df=_0x53f8a6[_0x318417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a79df||0x0==_0x1a79df[_0x318417([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40a458}=new URL(window[_0x318417([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x17e921(0xf1)]);if(_0x1a79df[_0x318417([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a458))return!0x0;const _0x351e3d=_0x40a458[_0x318417([0x73,0x70,0x6c,0x69,0x74])](_0x318417([0x2e]));return _0x1a79df[_0x318417([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x392793=>_0x392793[_0x318417([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318417([0x2a])))[_0x318417([0x6d,0x61,0x70])](_0x36bfba=>_0x36bfba[_0x318417([0x73,0x70,0x6c,0x69,0x74])](_0x318417([0x2e])))[_0x318417([0x73,0x6f,0x6d,0x65])](_0x25db1f=>_0x351e3d[_0x318417([0x65,0x76,0x65,0x72,0x79])]((_0x4096d9,_0x31d2b1)=>_0x25db1f[_0x31d2b1]===_0x4096d9||_0x25db1f[_0x31d2b1]===_0x318417([0x2a])));}function _0x5ddebb(){return _0xb7b335&&_0x48db3a?new window[(_0x318417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b2797,_0xabbbe4)=>{_0xb7b335[_0x318417([0x74,0x68,0x65,0x6e])](_0x3b2797,_0xabbbe4),_0x48db3a[_0x318417([0x74,0x68,0x65,0x6e])](_0x435d40=>{_0x435d40!=_0x318417([0x56,0x61,0x6c,0x69,0x64])&&_0x3b2797(_0x435d40);},_0xabbbe4);}):_0xb7b335||_0x48db3a||_0x318417([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1945f4(_0x4950a0,_0x124e06){return new window[(_0x318417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x412fc5=>{if(_0x3386b6())return _0x412fc5(_0x318417([0x56,0x61,0x6c,0x69,0x64]));_0x105387(),_0x385c4d[_0x318417([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x318417([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ee573=!0x1;const _0x46fa4f=_0x191037();function _0x57a1b6(_0x4835bc){return!!_0x4835bc&&(typeof _0x4835bc===_0x318417([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4835bc===_0x318417([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4835bc[_0x318417([0x74,0x68,0x65,0x6e])]===_0x318417([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4835bc[_0x318417([0x63,0x61,0x74,0x63,0x68])]===_0x318417([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x107ba9(_0x101cc6){_0x46ed1e(_0x101cc6)[_0x318417([0x74,0x68,0x65,0x6e])](_0x34ef3a=>{if(!_0x34ef3a||_0x34ef3a[_0x318417([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x318417([0x6f,0x6b]))return _0x318417([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22df1c(_0x5f3d88(_0x46fa4f+_0x124e06))!=_0x34ef3a[_0x318417([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x318417([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x318417([0x56,0x61,0x6c,0x69,0x64]);})[_0x318417([0x74,0x68,0x65,0x6e])](_0x31be72=>(_0x10130b(),_0x31be72),()=>{const _0x5dcb45=_0xcb7309();return null==_0x5dcb45?(_0x10130b(),_0x318417([0x56,0x61,0x6c,0x69,0x64])):_0x318417(_0xf89e74-_0x5dcb45>(0x7c44186e^_0x115ed0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x318417([0x74,0x68,0x65,0x6e])](_0x412fc5)[_0x318417([0x63,0x61,0x74,0x63,0x68])](()=>{_0x412fc5(_0x318417([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1488f7=0x587e72ee^_0x115ed0;function _0x10130b(){const _0x58ce45=_0x318417([0x6c,0x6c,0x63,0x74,0x2d])+_0x22df1c(_0x5f3d88(_0x4950a0)),_0x52db24=_0x1bc991(_0x22df1c(window[_0x318417([0x4d,0x61,0x74,0x68])][_0x318417([0x63,0x65,0x69,0x6c])](_0xf89e74/_0x1488f7)));window[_0x318417([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x318417([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58ce45,_0x52db24);}function _0xcb7309(){const _0x345917=_0x318417([0x6c,0x6c,0x63,0x74,0x2d])+_0x22df1c(_0x5f3d88(_0x4950a0)),_0x4829fa=window[_0x318417([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x318417([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x345917);return _0x4829fa?window[_0x318417([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bc991(_0x4829fa),0x10)*_0x1488f7:null;}function _0x46ed1e(_0x1b4296){return new window[(_0x318417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6ac45e,_0x5000af)=>{_0x1b4296[_0x318417([0x74,0x68,0x65,0x6e])](_0x6ac45e,_0x5000af),window[_0x318417([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5000af,0x584948ae^_0x115ed0);});}}_0x385c4d[_0x318417([0x6f,0x6e])](_0x318417([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x125317,_0x31b998)=>{if(_0x31b998[0x0]!=_0x4950a0)return _0x412fc5(_0x318417([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31b998[0x1]={..._0x31b998[0x1],[_0x318417([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46fa4f};},{[_0x318417([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x318417([0x68,0x69,0x67,0x68])}),_0x385c4d[_0x318417([0x6f,0x6e])](_0x318417([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2795c9=>{_0x57a1b6(_0x2795c9[_0x318417([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ee573=!0x0,_0x107ba9(_0x2795c9[_0x318417([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x318417([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x318417([0x6c,0x6f,0x77])}),_0x1a03e0[_0x318417([0x74,0x68,0x65,0x6e])](()=>{_0x1ee573||_0x412fc5(_0x318417([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3386b6(){return _0x385c4d[_0x318417([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x318417([0x76,0x69,0x65,0x77])][_0x318417([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x318417([0x61,0x75,0x74,0x6f]);}function _0x105387(){_0x385c4d[_0x318417([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x318417([0x76,0x69,0x65,0x77])][_0x318417([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x318417([0x61,0x75,0x74,0x6f]);}}function _0x5c1538(_0x192adc){const _0x46af27=[new window[(_0x318417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x450947=>setTimeout(_0x450947,0x5841a2a2^_0x115ed0)),_0x1a03e0[_0x318417([0x74,0x68,0x65,0x6e])](()=>new window[(_0x318417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x580ccc=>{let _0xd2798d=0x0;_0x385c4d[_0x318417([0x6d,0x6f,0x64,0x65,0x6c])][_0x318417([0x6f,0x6e])](_0x318417([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x579e87,_0x203634)=>{_0x203634[0x0][_0x318417([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd2798d++,_0xd2798d==(0x58489d96^_0x115ed0)&&(_0x580ccc(),_0x579e87[_0x318417([0x6f,0x66,0x66])]());});}))];return window[_0x318417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x318417([0x72,0x61,0x63,0x65])](_0x46af27)[_0x318417([0x74,0x68,0x65,0x6e])](()=>_0x192adc);}async function _0x2a7f5a(){await _0x1a03e0,_0x385c4d[_0x318417([0x6d,0x6f,0x64,0x65,0x6c])][_0x318417([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x62facd,_0x385c4d[_0x318417([0x6d,0x6f,0x64,0x65,0x6c])][_0x318417([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x62facd,_0x385c4d[_0x318417([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x318417([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2bbf52(_0x20bacf){const _0x5dfc95=_0x1ca97();_0x385c4d[_0x5dfc95]=_0x318417([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20bacf,_0x20bacf!=_0x318417([0x56,0x61,0x6c,0x69,0x64])&&_0x2a7f5a();}function _0x1ca97(){const _0x12ef5f=window[_0x318417([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x318417([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x318417([0x6e,0x6f,0x77])]())[_0x318417([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x318417([0x2e]),'');let _0x53c47b=_0x318417([0x4b]);for(let _0x2331a2=0x0;_0x2331a2<_0x12ef5f[_0x318417([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2331a2+=0x2){let _0x34a523=window[_0x318417([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12ef5f[_0x318417([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2331a2,_0x2331a2+0x2));_0x34a523>=_0x2c9235[_0x318417([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34a523-=_0x2c9235[_0x318417([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53c47b+=_0x2c9235[_0x34a523];}return _0x53c47b;}function _0x26d29b(){const _0x135be3=_0x51df9f[_0x318417([0x73,0x70,0x6c,0x69,0x74])](_0x318417([0x2e]));if(0x3!=_0x135be3[_0x318417([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35abf8(_0x135be3[0x1]);function _0x35abf8(_0x1d55ef){const _0x4a2193=_0x118779(_0x1d55ef);return _0x4a2193&&_0x3c1074()?_0x4a2193:null;function _0x3c1074(){const _0x37b100=_0x4a2193[_0x318417([0x6a,0x74,0x69])],_0x5df79a=window[_0x318417([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37b100[_0x318417([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37b100[_0x318417([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ab5da={..._0x4a2193,[_0x318417([0x6a,0x74,0x69])]:_0x37b100[_0x318417([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37b100[_0x318417([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ab5da[_0x318417([0x76,0x63])],_0x5f3d88(_0x4ab5da)==_0x5df79a;}}}async function _0x5097ef(){let _0x20f4a0=!0x0;try{const _0x1523e1=_0x51df9f[_0x318417([0x73,0x70,0x6c,0x69,0x74])](_0x318417([0x2e])),[_0x1dc020,_0x40974c,_0x395c17]=_0x1523e1;return _0x1ae612(_0x1dc020),await _0x22f1b2(_0x1dc020,_0x40974c,_0x395c17),_0x20f4a0;}catch(_0x17bc7){return!0x1;}function _0x1ae612(_0x5921ed){const _0x35c90d=_0x118779(_0x5921ed);_0x35c90d&&_0x35c90d[_0x318417([0x61,0x6c,0x67])]==_0x318417([0x45,0x53,0x32,0x35,0x36])||(_0x20f4a0=!0x1);}async function _0x22f1b2(_0x327a8f,_0x2e7e40,_0x4ff554){const _0x5b9b29=window[_0x318417([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x318417([0x66,0x72,0x6f,0x6d])](_0x41b058(_0x4ff554),_0x5a2edb=>_0x5a2edb[_0x318417([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ba2f4=new window[(_0x318417([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x318417([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x327a8f+_0x318417([0x2e])+_0x2e7e40),_0x3e83d0=window[_0x318417([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x318417([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e83d0)return;const _0x3da8e6=await _0x3e83d0[_0x318417([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x318417([0x6a,0x77,0x6b]),_0xb65949,{[_0x318417([0x6e,0x61,0x6d,0x65])]:_0x318417([0x45,0x43,0x44,0x53,0x41]),[_0x318417([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x318417([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x318417([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e83d0[_0x318417([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x318417([0x6e,0x61,0x6d,0x65])]:_0x318417([0x45,0x43,0x44,0x53,0x41]),[_0x318417([0x68,0x61,0x73,0x68])]:{[_0x318417([0x6e,0x61,0x6d,0x65])]:_0x318417([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3da8e6,_0x5b9b29,_0x2ba2f4)||(_0x20f4a0=!0x1);}}function _0x118779(_0x36c1b4){return _0x36c1b4[_0x318417([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x318417([0x65,0x79]))?JSON[_0x318417([0x70,0x61,0x72,0x73,0x65])](_0x41b058(_0x36c1b4)):null;}function _0x41b058(_0x2e34fd){return window[_0x318417([0x61,0x74,0x6f,0x62])](_0x2e34fd[_0x318417([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x318417([0x2b]))[_0x318417([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x318417([0x2f])));}function _0x5f3d88(_0x4757b5){let _0x1c15bd=0x1505;function _0x2bdcf7(_0x579cb8){for(let _0x55b0b9=0x0;_0x55b0b9<_0x579cb8[_0x318417([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55b0b9++){const _0x377a46=_0x579cb8[_0x318417([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55b0b9);_0x1c15bd=(_0x1c15bd<<0x5)+_0x1c15bd+_0x377a46,_0x1c15bd&=_0x1c15bd;}}function _0x3a4f6b(_0x5684b4){Array[_0x318417([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5684b4)?_0x5684b4[_0x318417([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a4f6b):_0x5684b4&&typeof _0x5684b4==_0x318417([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x318417([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5684b4)[_0x318417([0x73,0x6f,0x72,0x74])]()[_0x318417([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4592e8,_0x5e7e56])=>{_0x2bdcf7(_0x4592e8),_0x3a4f6b(_0x5e7e56);}):_0x2bdcf7(window[_0x318417([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5684b4));}return _0x3a4f6b(_0x4757b5),_0x1c15bd>>>0x0;}function _0x22df1c(_0x310fd0){return _0x310fd0[_0x318417([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x318417([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x318417([0x30]));}function _0x1bc991(_0x50dba4){return _0x50dba4[_0x318417([0x73,0x70,0x6c,0x69,0x74])]('')[_0x318417([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x318417([0x6a,0x6f,0x69,0x6e])]('');}function _0x62facd(){}function _0x318417(_0x1e324a){const _0x12b7da=_0x242c;return _0x1e324a[_0x12b7da(0xbc)](_0x3ebde2=>String[_0x12b7da(0xf8)](_0x3ebde2))[_0x12b7da(0xad)]('');}_0x2bbf52(await _0x477b20());}(this);}[_0x1bd092(0xf0)](){const _0x129b65=_0x1bd092,_0x279c4a=this[_0x129b65(0xba)][_0x129b65(0xe6)];_0x279c4a[_0x129b65(0xc2)](_0x472b7f=>{const _0x5125df=_0x129b65,_0x59e8bb=_0x279c4a[_0x5125df(0xc5)][_0x5125df(0xdb)][_0x5125df(0xeb)]();if(_0x279c4a[_0x5125df(0xb2)][_0x5125df(0xc9)](u))_0x472b7f[_0x5125df(0xc1)](u,{'range':_0x59e8bb});else{if(_0x59e8bb[_0x5125df(0xc0)][_0x5125df(0xb7)]){const _0x89b8d=_0x59e8bb[_0x5125df(0xc0)][_0x5125df(0xb1)](({item:_0x57e83d})=>!_0x279c4a[_0x5125df(0xb5)][_0x5125df(0xb3)](_0x57e83d),{'boundaries':_0x59e8bb});_0x472b7f[_0x5125df(0xf7)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x472b7f[_0x5125df(0xcf)](_0x89b8d,_0x59e8bb[_0x5125df(0xdf)])});}else _0x472b7f[_0x5125df(0xf7)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x59e8bb});}});}[_0x1bd092(0xf3)](){const _0x2d05cf=_0x1bd092,_0x5b2664=this[_0x2d05cf(0xba)][_0x2d05cf(0xe6)];_0x5b2664[_0x2d05cf(0xb2)][_0x2d05cf(0xc9)](u)&&_0x5b2664[_0x2d05cf(0xc2)](_0x19cfb2=>{const _0x5b1ae0=_0x2d05cf;_0x19cfb2[_0x5b1ae0(0xae)](u);});}[_0x1bd092(0xab)](_0x633743,_0x2f83a7){const _0x52d492=_0x1bd092,_0x26d7a6=_0x2f83a7||this[_0x52d492(0xba)][_0x52d492(0xe6)][_0x52d492(0xb2)][_0x52d492(0xec)](u)[_0x52d492(0xce)]();if(!this[_0x52d492(0xba)][_0x52d492(0xe6)][_0x52d492(0xd7)](_0x26d7a6))return;const _0x53f6da=this[_0x52d492(0xba)][_0x52d492(0xd9)][_0x52d492(0xde)][_0x52d492(0xc3)](_0x633743),_0x357cc5=this[_0x52d492(0xba)][_0x52d492(0xd9)][_0x52d492(0xbe)](_0x53f6da);this[_0x52d492(0xba)][_0x52d492(0xe6)][_0x52d492(0xc2)](_0x10dd8b=>{const _0x2dbacf=_0x52d492;this[_0x2dbacf(0xf3)]();const _0x598bd2=this[_0x2dbacf(0xba)][_0x2dbacf(0xe6)][_0x2dbacf(0xab)](_0x357cc5,_0x26d7a6);_0x598bd2&&_0x10dd8b[_0x2dbacf(0xc8)](_0x598bd2);});}[_0x1bd092(0xac)](_0x230574){const _0x2e374a=_0x1bd092,{model:_0x8e677e}=this[_0x2e374a(0xba)],_0x32cc29=Array[_0x2e374a(0xc7)](_0x8e677e[_0x2e374a(0xe4)](this[_0x2e374a(0xba)][_0x2e374a(0xe6)][_0x2e374a(0xb2)][_0x2e374a(0xec)](u)[_0x2e374a(0xce)]())[_0x2e374a(0xe2)]()),_0x3d3bb3=_0x32cc29[_0x2e374a(0xee)]?_0x8e677e[_0x2e374a(0xbf)](_0x32cc29[_0x2e374a(0xc6)]()):_0x8e677e[_0x2e374a(0xc5)][_0x2e374a(0xdb)][_0x2e374a(0xb9)]();this[_0x2e374a(0xab)](_0x230574,_0x3d3bb3);}}function _0x901c(){const _0x3cc52a=['toModel','createPositionAfter','start','updateMarker','change','toView','1251wTEiOG','document','pop','from','setSelection','has','afterInit','2724ywUVMp','12485dOvMFL','editingDowncast','getRange','createRange','ai.useTheme','ai-ui','ck-ai-assistant-ui_theme','473975mJTTNT','154FQEsdw','AIAssistantEditing','markerToElement','canEditAt','init','data','isPremiumPlugin','selection','12672ePcZyl','4665739vKhEQN','processor','end','ck-fake-ai-selection_collapsed','config','getSelectedBlocks','createUIElement','createSelection','for','model','isCollapsed','35300LyrHNF','isOfficialPlugin','markerToHighlight','getFirstRange','get','push','length','879eJnbZf','showFakeVisualSelection','href','conversion','hideFakeVisualSelection','addClass','8phfcRT','pluginName','addMarker','fromCharCode','insertContent','insertContentBelow','join','removeMarker','6444808ANhKkV','257747miqxxa','getLastMatchingPosition','markers','isContent','60dFRCly','schema','ck-fake-ai-selection','isAtEnd','markerRange','getLastPosition','editor','span','map','14lCNffZ'];_0x901c=function(){return _0x3cc52a;};return _0x901c();}
|
|
23
|
+
const _0x2bd128=_0x44b1;(function(_0x18d389,_0x51b263){const _0x16ee9d=_0x44b1,_0x204bbd=_0x18d389();while(!![]){try{const _0x2b62b6=parseInt(_0x16ee9d(0xb0))/0x1*(-parseInt(_0x16ee9d(0xd3))/0x2)+-parseInt(_0x16ee9d(0xd8))/0x3+-parseInt(_0x16ee9d(0xc9))/0x4+parseInt(_0x16ee9d(0xbe))/0x5+parseInt(_0x16ee9d(0xea))/0x6*(parseInt(_0x16ee9d(0xcf))/0x7)+-parseInt(_0x16ee9d(0xdd))/0x8*(-parseInt(_0x16ee9d(0xe7))/0x9)+-parseInt(_0x16ee9d(0xaa))/0xa;if(_0x2b62b6===_0x51b263)break;else _0x204bbd['push'](_0x204bbd['shift']());}catch(_0x54ee74){_0x204bbd['push'](_0x204bbd['shift']());}}}(_0x4bf0,0x72bdd));import{uid as _0x2436bc}from'ckeditor5/src/utils.js';function _0x44b1(_0x3c4059,_0x2edef3){const _0x4bf0fa=_0x4bf0();return _0x44b1=function(_0x44b154,_0x216c28){_0x44b154=_0x44b154-0xa9;let _0xa09a92=_0x4bf0fa[_0x44b154];return _0xa09a92;},_0x44b1(_0x3c4059,_0x2edef3);}function _0x4bf0(){const _0x169e07=['selection','href','markers','editor','afterInit','length','markerToHighlight','updateMarker','toModel','1448196egfoJg','insertContentBelow','ck-fake-ai-selection_collapsed','removeMarker','model','createUIElement','14JokwnW','pop','ck-fake-ai-selection','conversion','62IYxZZF','from','init','fromCharCode','getSelectedBlocks','751962DfKdas','get','canEditAt','markerToElement','AIAssistantEditing','8tWEsIu','isCollapsed','isContent','for','map','getFirstRange','ck-ai-assistant-ui_theme','hideFakeVisualSelection','createRange','pluginName','6803010mnqoIU','span','toView','2234982RSjeIL','insertContent','config','push','start','getLastPosition','end','addMarker','getLastMatchingPosition','getRange','7010820oItIzW','has','change','showFakeVisualSelection','setSelection','processor','5837efnAIH','editingDowncast','createPositionAfter','markerRange','isOfficialPlugin','isAtEnd','document','schema','join','createSelection','isPremiumPlugin','ai-ui','addClass','ai.useTheme','2319145WtZxjI','data'];_0x4bf0=function(){return _0x169e07;};return _0x4bf0();}import{Plugin as _0x3fdc0c}from'ckeditor5/src/core.js';const u=_0x2bd128(0xbb);export default class a extends _0x3fdc0c{static get[_0x2bd128(0xe6)](){const _0x394514=_0x2bd128;return _0x394514(0xdc);}static get[_0x2bd128(0xb4)](){return!0x0;}static get[_0x2bd128(0xba)](){return!0x0;}[_0x2bd128(0xd5)](){const _0x1e0e4b=_0x2bd128,{editor:_0x3c9414}=this,_0x2a33eb=[_0x1e0e4b(0xd1)];_0x3c9414[_0x1e0e4b(0xec)][_0x1e0e4b(0xd9)](_0x1e0e4b(0xbd))&&_0x2a33eb[_0x1e0e4b(0xed)](_0x1e0e4b(0xe3)),_0x3c9414[_0x1e0e4b(0xd2)][_0x1e0e4b(0xe0)](_0x1e0e4b(0xb1))[_0x1e0e4b(0xc6)]({'model':u,'view':{'classes':_0x2a33eb,'priority':0xc}}),_0x3c9414[_0x1e0e4b(0xd2)][_0x1e0e4b(0xe0)](_0x1e0e4b(0xb1))[_0x1e0e4b(0xdb)]({'model':u,'view':(_0x29a41a,{writer:_0x268d39})=>{const _0x454c1a=_0x1e0e4b;if(!_0x29a41a[_0x454c1a(0xb3)][_0x454c1a(0xde)])return null;const _0x360b89=_0x268d39[_0x454c1a(0xce)](_0x454c1a(0xe8));return _0x268d39[_0x454c1a(0xbc)]([_0x454c1a(0xd1),_0x454c1a(0xcb)],_0x360b89),_0x360b89;}});}[_0x2bd128(0xc4)](){!async function(_0x182bb3){const _0x157d1d=_0x3647db([0x52,0x44,0x4c,0x34,0x77,0x54,0x6f,0x39,0x4f,0x58,0x75,0x63,0x6d,0x49,0x69,0x64,0x76,0x70,0x7a,0x5a,0x57,0x32,0x65,0x67,0x45,0x74,0x4b,0x71,0x35,0x6e,0x62,0x4a,0x4d,0x30,0x51,0x38,0x6b,0x6c,0x66,0x53,0x78,0x48,0x42,0x55,0x68,0x72,0x73,0x37,0x79,0x47,0x33,0x41,0x59,0x56,0x6a,0x50,0x43,0x61,0x31,0x4e,0x36,0x46]),_0x471f84=0x753c239a,_0x1fbbf2=0x753b7462^_0x471f84,_0x466e80=window[_0x3647db([0x44,0x61,0x74,0x65])][_0x3647db([0x6e,0x6f,0x77])](),_0x3b8c7b=_0x182bb3[_0x3647db([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ef13b=new window[(_0x3647db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a8f62=>{_0x3b8c7b[_0x3647db([0x6f,0x6e,0x63,0x65])](_0x3647db([0x72,0x65,0x61,0x64,0x79]),_0x3a8f62);}),_0x360386={[_0x3647db([0x6b,0x74,0x79])]:_0x3647db([0x45,0x43]),[_0x3647db([0x75,0x73,0x65])]:_0x3647db([0x73,0x69,0x67]),[_0x3647db([0x63,0x72,0x76])]:_0x3647db([0x50,0x2d,0x32,0x35,0x36]),[_0x3647db([0x78])]:_0x3647db([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]),[_0x3647db([0x79])]:_0x3647db([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]),[_0x3647db([0x61,0x6c,0x67])]:_0x3647db([0x45,0x53,0x32,0x35,0x36])},_0x33cf6a=_0x3b8c7b[_0x3647db([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3647db([0x67,0x65,0x74])](_0x3647db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x924765(){let _0xc08041,_0x1eda92=null,_0x393063=null;try{if(_0x33cf6a==_0x3647db([0x47,0x50,0x4c]))return _0x3647db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc08041=_0x487d84(),!_0xc08041)return _0x3647db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc08041[_0x3647db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x393063=_0x3cb695(_0xc08041[_0x3647db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc08041[_0x3647db([0x6a,0x74,0x69])])),await _0x5981a4()?_0x5a8e56()?_0x1e5511()?_0x3647db([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d8e39()?(_0xc08041[_0x3647db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3647db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1eda92=_0x41bb56(_0x3647db([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc08041[_0x3647db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3647db([0x74,0x72,0x69,0x61,0x6c])&&(_0x1eda92=_0x41bb56(_0x3647db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0xc08041[_0x3647db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3647db([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x1eda92=_0x41bb56(_0x3647db([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e9799()):_0x3647db([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3647db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3647db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5bfe9f){return _0x3647db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e5511(){const _0x1992d8=[_0x3647db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3647db([0x74,0x72,0x69,0x61,0x6c])][_0x3647db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc08041[_0x3647db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x466e80/0x3e8:0xe10*_0x1fbbf2;return _0xc08041[_0x3647db([0x65,0x78,0x70])]<_0x1992d8;}function _0x5a8e56(){const _0x21b99f=_0xc08041[_0x3647db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21b99f&&(!!_0x21b99f[_0x3647db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3647db([0x2a]))||!!_0x21b99f[_0x3647db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3647db([0x41,0x49])));}function _0x3d8e39(){const _0x4318b1=_0x44b1,_0x138a2c=_0xc08041[_0x3647db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x138a2c||0x0==_0x138a2c[_0x3647db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb3111d}=new URL(window[_0x3647db([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4318b1(0xc1)]);if(_0x138a2c[_0x3647db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb3111d))return!0x0;const _0x372529=_0xb3111d[_0x3647db([0x73,0x70,0x6c,0x69,0x74])](_0x3647db([0x2e]));return _0x138a2c[_0x3647db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x330057=>_0x330057[_0x3647db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3647db([0x2a])))[_0x3647db([0x6d,0x61,0x70])](_0x2d90db=>_0x2d90db[_0x3647db([0x73,0x70,0x6c,0x69,0x74])](_0x3647db([0x2e])))[_0x3647db([0x73,0x6f,0x6d,0x65])](_0x1e584a=>_0x372529[_0x3647db([0x65,0x76,0x65,0x72,0x79])]((_0x2de8e2,_0x4e5119)=>_0x1e584a[_0x4e5119]===_0x2de8e2||_0x1e584a[_0x4e5119]===_0x3647db([0x2a])));}function _0x2e9799(){return _0x1eda92&&_0x393063?new window[(_0x3647db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c3d60,_0x41f8c8)=>{_0x1eda92[_0x3647db([0x74,0x68,0x65,0x6e])](_0x5c3d60,_0x41f8c8),_0x393063[_0x3647db([0x74,0x68,0x65,0x6e])](_0x107656=>{_0x107656!=_0x3647db([0x56,0x61,0x6c,0x69,0x64])&&_0x5c3d60(_0x107656);},_0x41f8c8);}):_0x1eda92||_0x393063||_0x3647db([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cb695(_0x3e42f1,_0x3efe59){return new window[(_0x3647db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x548e44=>{if(_0x305201())return _0x548e44(_0x3647db([0x56,0x61,0x6c,0x69,0x64]));_0x3cf113(),_0x3b8c7b[_0x3647db([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3647db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5a942d=!0x1;const _0x337ac5=_0x2436bc();function _0x1616ce(_0x263fda){return!!_0x263fda&&(typeof _0x263fda===_0x3647db([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x263fda===_0x3647db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x263fda[_0x3647db([0x74,0x68,0x65,0x6e])]===_0x3647db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x263fda[_0x3647db([0x63,0x61,0x74,0x63,0x68])]===_0x3647db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x270785(_0x58a064){_0x34d390(_0x58a064)[_0x3647db([0x74,0x68,0x65,0x6e])](_0x44c8e9=>{if(!_0x44c8e9||_0x44c8e9[_0x3647db([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3647db([0x6f,0x6b]))return _0x3647db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x579ea5(_0xad2de5(_0x337ac5+_0x3efe59))!=_0x44c8e9[_0x3647db([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3647db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3647db([0x56,0x61,0x6c,0x69,0x64]);})[_0x3647db([0x74,0x68,0x65,0x6e])](_0x513fa5=>(_0x468d79(),_0x513fa5),()=>{const _0x1bc0e1=_0x5ee316();return null==_0x1bc0e1?(_0x468d79(),_0x3647db([0x56,0x61,0x6c,0x69,0x64])):_0x3647db(_0x466e80-_0x1bc0e1>(0x5130a79a^_0x471f84)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3647db([0x74,0x68,0x65,0x6e])](_0x548e44)[_0x3647db([0x63,0x61,0x74,0x63,0x68])](()=>{_0x548e44(_0x3647db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ddd5d=0x750acd1a^_0x471f84;function _0x468d79(){const _0x443488=_0x3647db([0x6c,0x6c,0x63,0x74,0x2d])+_0x579ea5(_0xad2de5(_0x3e42f1)),_0x2fcd51=_0x1ad070(_0x579ea5(window[_0x3647db([0x4d,0x61,0x74,0x68])][_0x3647db([0x63,0x65,0x69,0x6c])](_0x466e80/_0x3ddd5d)));window[_0x3647db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3647db([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x443488,_0x2fcd51);}function _0x5ee316(){const _0x5df3e8=_0x3647db([0x6c,0x6c,0x63,0x74,0x2d])+_0x579ea5(_0xad2de5(_0x3e42f1)),_0x41814f=window[_0x3647db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3647db([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5df3e8);return _0x41814f?window[_0x3647db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ad070(_0x41814f),0x10)*_0x3ddd5d:null;}function _0x34d390(_0x25271e){return new window[(_0x3647db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55a494,_0x3843da)=>{_0x25271e[_0x3647db([0x74,0x68,0x65,0x6e])](_0x55a494,_0x3843da),window[_0x3647db([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3843da,0x753df75a^_0x471f84);});}}_0x3b8c7b[_0x3647db([0x6f,0x6e])](_0x3647db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b1ab2,_0xb6f042)=>{if(_0xb6f042[0x0]!=_0x3e42f1)return _0x548e44(_0x3647db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb6f042[0x1]={..._0xb6f042[0x1],[_0x3647db([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x337ac5};},{[_0x3647db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3647db([0x68,0x69,0x67,0x68])}),_0x3b8c7b[_0x3647db([0x6f,0x6e])](_0x3647db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x573780=>{_0x1616ce(_0x573780[_0x3647db([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5a942d=!0x0,_0x270785(_0x573780[_0x3647db([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3647db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3647db([0x6c,0x6f,0x77])}),_0x2ef13b[_0x3647db([0x74,0x68,0x65,0x6e])](()=>{_0x5a942d||_0x548e44(_0x3647db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x305201(){return _0x3b8c7b[_0x3647db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3647db([0x76,0x69,0x65,0x77])][_0x3647db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3647db([0x61,0x75,0x74,0x6f]);}function _0x3cf113(){_0x3b8c7b[_0x3647db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3647db([0x76,0x69,0x65,0x77])][_0x3647db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3647db([0x61,0x75,0x74,0x6f]);}}function _0x41bb56(_0x19075f){const _0x22d23d=[new window[(_0x3647db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44e856=>setTimeout(_0x44e856,0x75351d56^_0x471f84)),_0x2ef13b[_0x3647db([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3647db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e77c9=>{let _0x27fcbc=0x0;_0x3b8c7b[_0x3647db([0x6d,0x6f,0x64,0x65,0x6c])][_0x3647db([0x6f,0x6e])](_0x3647db([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fcac6,_0x24beb1)=>{_0x24beb1[0x0][_0x3647db([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27fcbc++,_0x27fcbc==(0x753c2262^_0x471f84)&&(_0x4e77c9(),_0x4fcac6[_0x3647db([0x6f,0x66,0x66])]());});}))];return window[_0x3647db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3647db([0x72,0x61,0x63,0x65])](_0x22d23d)[_0x3647db([0x74,0x68,0x65,0x6e])](()=>_0x19075f);}async function _0x332697(){await _0x2ef13b,_0x3b8c7b[_0x3647db([0x6d,0x6f,0x64,0x65,0x6c])][_0x3647db([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19f6b3,_0x3b8c7b[_0x3647db([0x6d,0x6f,0x64,0x65,0x6c])][_0x3647db([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19f6b3,_0x3b8c7b[_0x3647db([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3647db([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5befa8(_0x4f9630){const _0x19a414=_0x4e535c();_0x3b8c7b[_0x19a414]=_0x3647db([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f9630,_0x4f9630!=_0x3647db([0x56,0x61,0x6c,0x69,0x64])&&_0x332697();}function _0x4e535c(){const _0x42c61c=window[_0x3647db([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3647db([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3647db([0x6e,0x6f,0x77])]())[_0x3647db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3647db([0x2e]),'');let _0x39d24d=_0x3647db([0x52]);for(let _0x30bc41=0x0;_0x30bc41<_0x42c61c[_0x3647db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30bc41+=0x2){let _0x3d5793=window[_0x3647db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42c61c[_0x3647db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30bc41,_0x30bc41+0x2));_0x3d5793>=_0x157d1d[_0x3647db([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d5793-=_0x157d1d[_0x3647db([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39d24d+=_0x157d1d[_0x3d5793];}return _0x39d24d;}function _0x487d84(){const _0x10d0c3=_0x33cf6a[_0x3647db([0x73,0x70,0x6c,0x69,0x74])](_0x3647db([0x2e]));if(0x3!=_0x10d0c3[_0x3647db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x150fdb(_0x10d0c3[0x1]);function _0x150fdb(_0x2ec053){const _0x17daef=_0xd0ba42(_0x2ec053);return _0x17daef&&_0x458e04()?_0x17daef:null;function _0x458e04(){const _0x1f3855=_0x17daef[_0x3647db([0x6a,0x74,0x69])],_0x2f245b=window[_0x3647db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f3855[_0x3647db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f3855[_0x3647db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e7117={..._0x17daef,[_0x3647db([0x6a,0x74,0x69])]:_0x1f3855[_0x3647db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f3855[_0x3647db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e7117[_0x3647db([0x76,0x63])],_0xad2de5(_0x5e7117)==_0x2f245b;}}}async function _0x5981a4(){let _0x36e40f=!0x0;try{const _0xeaad3b=_0x33cf6a[_0x3647db([0x73,0x70,0x6c,0x69,0x74])](_0x3647db([0x2e])),[_0x13887a,_0x1a5592,_0x36eb13]=_0xeaad3b;return _0x2e8609(_0x13887a),await _0x4689bb(_0x13887a,_0x1a5592,_0x36eb13),_0x36e40f;}catch(_0x28501c){return!0x1;}function _0x2e8609(_0x56658e){const _0x182047=_0xd0ba42(_0x56658e);_0x182047&&_0x182047[_0x3647db([0x61,0x6c,0x67])]==_0x3647db([0x45,0x53,0x32,0x35,0x36])||(_0x36e40f=!0x1);}async function _0x4689bb(_0x585837,_0x3c1082,_0x1f2ce0){const _0x36fa7a=window[_0x3647db([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3647db([0x66,0x72,0x6f,0x6d])](_0x1fc28a(_0x1f2ce0),_0x4b10a6=>_0x4b10a6[_0x3647db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x38829b=new window[(_0x3647db([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3647db([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x585837+_0x3647db([0x2e])+_0x3c1082),_0x3ec3b8=window[_0x3647db([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3647db([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ec3b8)return;const _0x3f101f=await _0x3ec3b8[_0x3647db([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3647db([0x6a,0x77,0x6b]),_0x360386,{[_0x3647db([0x6e,0x61,0x6d,0x65])]:_0x3647db([0x45,0x43,0x44,0x53,0x41]),[_0x3647db([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3647db([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3647db([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ec3b8[_0x3647db([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3647db([0x6e,0x61,0x6d,0x65])]:_0x3647db([0x45,0x43,0x44,0x53,0x41]),[_0x3647db([0x68,0x61,0x73,0x68])]:{[_0x3647db([0x6e,0x61,0x6d,0x65])]:_0x3647db([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f101f,_0x36fa7a,_0x38829b)||(_0x36e40f=!0x1);}}function _0xd0ba42(_0x59441d){return _0x59441d[_0x3647db([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3647db([0x65,0x79]))?JSON[_0x3647db([0x70,0x61,0x72,0x73,0x65])](_0x1fc28a(_0x59441d)):null;}function _0x1fc28a(_0x47f30f){return window[_0x3647db([0x61,0x74,0x6f,0x62])](_0x47f30f[_0x3647db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3647db([0x2b]))[_0x3647db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3647db([0x2f])));}function _0xad2de5(_0x314460){let _0xb577db=0x1505;function _0x3ee94c(_0x44defd){for(let _0x2e0ab3=0x0;_0x2e0ab3<_0x44defd[_0x3647db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e0ab3++){const _0xc1e44a=_0x44defd[_0x3647db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e0ab3);_0xb577db=(_0xb577db<<0x5)+_0xb577db+_0xc1e44a,_0xb577db&=_0xb577db;}}function _0x52dbc1(_0x2556a0){Array[_0x3647db([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2556a0)?_0x2556a0[_0x3647db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52dbc1):_0x2556a0&&typeof _0x2556a0==_0x3647db([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3647db([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2556a0)[_0x3647db([0x73,0x6f,0x72,0x74])]()[_0x3647db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10fcec,_0xb96a80])=>{_0x3ee94c(_0x10fcec),_0x52dbc1(_0xb96a80);}):_0x3ee94c(window[_0x3647db([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2556a0));}return _0x52dbc1(_0x314460),_0xb577db>>>0x0;}function _0x579ea5(_0xd92bc8){return _0xd92bc8[_0x3647db([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3647db([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3647db([0x30]));}function _0x1ad070(_0x3dd069){return _0x3dd069[_0x3647db([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3647db([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3647db([0x6a,0x6f,0x69,0x6e])]('');}function _0x19f6b3(){}function _0x3647db(_0x2efe07){const _0x2cf4d1=_0x44b1;return _0x2efe07[_0x2cf4d1(0xe1)](_0x3f9be9=>String[_0x2cf4d1(0xd6)](_0x3f9be9))[_0x2cf4d1(0xb8)]('');}_0x5befa8(await _0x924765());}(this);}[_0x2bd128(0xad)](){const _0x27513c=_0x2bd128,_0x5cf2ae=this[_0x27513c(0xc3)][_0x27513c(0xcd)];_0x5cf2ae[_0x27513c(0xac)](_0x4dfd2a=>{const _0x18a66c=_0x27513c,_0x4b886f=_0x5cf2ae[_0x18a66c(0xb6)][_0x18a66c(0xc0)][_0x18a66c(0xe2)]();if(_0x5cf2ae[_0x18a66c(0xc2)][_0x18a66c(0xab)](u))_0x4dfd2a[_0x18a66c(0xc7)](u,{'range':_0x4b886f});else{if(_0x4b886f[_0x18a66c(0xee)][_0x18a66c(0xb5)]){const _0x1e8889=_0x4b886f[_0x18a66c(0xee)][_0x18a66c(0xf2)](({item:_0x1f925b})=>!_0x5cf2ae[_0x18a66c(0xb7)][_0x18a66c(0xdf)](_0x1f925b),{'boundaries':_0x4b886f});_0x4dfd2a[_0x18a66c(0xf1)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4dfd2a[_0x18a66c(0xe5)](_0x1e8889,_0x4b886f[_0x18a66c(0xf0)])});}else _0x4dfd2a[_0x18a66c(0xf1)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4b886f});}});}[_0x2bd128(0xe4)](){const _0xd4dda0=_0x2bd128,_0x501b62=this[_0xd4dda0(0xc3)][_0xd4dda0(0xcd)];_0x501b62[_0xd4dda0(0xc2)][_0xd4dda0(0xab)](u)&&_0x501b62[_0xd4dda0(0xac)](_0x19ad9e=>{const _0x7c5e01=_0xd4dda0;_0x19ad9e[_0x7c5e01(0xcc)](u);});}[_0x2bd128(0xeb)](_0x2cdc3a,_0x15a0c2){const _0x3e33a1=_0x2bd128,_0x497be9=_0x15a0c2||this[_0x3e33a1(0xc3)][_0x3e33a1(0xcd)][_0x3e33a1(0xc2)][_0x3e33a1(0xd9)](u)[_0x3e33a1(0xa9)]();if(!this[_0x3e33a1(0xc3)][_0x3e33a1(0xcd)][_0x3e33a1(0xda)](_0x497be9))return;const _0x49201b=this[_0x3e33a1(0xc3)][_0x3e33a1(0xbf)][_0x3e33a1(0xaf)][_0x3e33a1(0xe9)](_0x2cdc3a),_0x2b50f2=this[_0x3e33a1(0xc3)][_0x3e33a1(0xbf)][_0x3e33a1(0xc8)](_0x49201b);this[_0x3e33a1(0xc3)][_0x3e33a1(0xcd)][_0x3e33a1(0xac)](_0x13a78e=>{const _0x144124=_0x3e33a1;this[_0x144124(0xe4)]();const _0x4e804d=this[_0x144124(0xc3)][_0x144124(0xcd)][_0x144124(0xeb)](_0x2b50f2,_0x497be9);_0x4e804d&&_0x13a78e[_0x144124(0xae)](_0x4e804d);});}[_0x2bd128(0xca)](_0xe431ed){const _0x41b447=_0x2bd128,{model:_0x55ad55}=this[_0x41b447(0xc3)],_0x166475=Array[_0x41b447(0xd4)](_0x55ad55[_0x41b447(0xb9)](this[_0x41b447(0xc3)][_0x41b447(0xcd)][_0x41b447(0xc2)][_0x41b447(0xd9)](u)[_0x41b447(0xa9)]())[_0x41b447(0xd7)]()),_0x2858ec=_0x166475[_0x41b447(0xc5)]?_0x55ad55[_0x41b447(0xb2)](_0x166475[_0x41b447(0xd0)]()):_0x55ad55[_0x41b447(0xb6)][_0x41b447(0xc0)][_0x41b447(0xef)]();this[_0x41b447(0xeb)](_0xe431ed,_0x2858ec);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x23d1b6=_0x3ab2;(function(_0x50ed1f,_0x6f47f5){const _0x19db1b=_0x3ab2,_0x4c0761=_0x50ed1f();while(!![]){try{const _0x408405=parseInt(_0x19db1b(0x21e))/0x1+-parseInt(_0x19db1b(0x242))/0x2+parseInt(_0x19db1b(0x1e2))/0x3+parseInt(_0x19db1b(0x1cb))/0x4+parseInt(_0x19db1b(0x266))/0x5+-parseInt(_0x19db1b(0x206))/0x6+-parseInt(_0x19db1b(0x228))/0x7*(parseInt(_0x19db1b(0x1e6))/0x8);if(_0x408405===_0x6f47f5)break;else _0x4c0761['push'](_0x4c0761['shift']());}catch(_0x496dcd){_0x4c0761['push'](_0x4c0761['shift']());}}}(_0x244f,0x1aa55));import{Plugin as _0x5b59eb}from'ckeditor5/src/core.js';import{first as _0x4e1f2d,CKEditorError as _0x1ba946}from'ckeditor5/src/utils.js';import{createDropdown as _0x4f96f0,addMenuToDropdown as _0x14b680,ButtonView as _0x5e6e1f,MenuBarMenuListItemButtonView as _0x1d997e,Dialog as _0x1a2f85,DialogViewPosition as _0x2d3745,MenuBarMenuView as _0xf49b48,MenuBarMenuListView as _0xb0db43,MenuBarMenuListItemView as _0x25c42a}from'ckeditor5/src/ui.js';import{icons as _0x40fdd7}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x127379,UNGROUPED_COMMANDS_GROUP_ID as _0x39e2f5}from'./utils/normalizecommandsconfig.js';import _0x47ad81 from'./aiassistantediting.js';import _0x9bfab1 from'./adapters/aiadapter.js';function _0x3ab2(_0x5de2dd,_0x34669f){const _0x244f03=_0x244f();return _0x3ab2=function(_0x3ab2d8,_0x25cd73){_0x3ab2d8=_0x3ab2d8-0x1c8;let _0x9ac7e8=_0x244f03[_0x3ab2d8];return _0x9ac7e8;},_0x3ab2(_0x5de2dd,_0x34669f);}import{getTranslation as _0x47bd99}from'./utils/common-translations.js';import _0x49aa1a from'./ui/showaiassistantcommand.js';import _0x467940 from'./ui/aiassistantcontroller.js';import _0xddc5b6 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3e3deb}from'./ui/form/aiformtoolbarview.js';import _0xf73185 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x23d1b6(0x1ff)];import{ClipboardMarkersUtils as _0x5a6632}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1a76df,DataTransfer as _0x48acb3}from'ckeditor5/src/engine.js';export default class n extends _0x5b59eb{static get[_0x23d1b6(0x201)](){const _0x3c3d08=_0x23d1b6;return _0x3c3d08(0x226);}static get[_0x23d1b6(0x1f6)](){return!0x0;}static get[_0x23d1b6(0x24a)](){return!0x0;}static get[_0x23d1b6(0x23c)](){return[_0x5a6632,_0x47ad81,_0x9bfab1,_0x1a2f85];}constructor(_0x398485){const _0x1d1154=_0x23d1b6;super(_0x398485),this[_0x1d1154(0x20b)]='',_0x398485[_0x1d1154(0x244)][_0x1d1154(0x23a)](_0x1d1154(0x1c9),[_0x1d1154(0x1f8),_0x1d1154(0x1e9),_0x1d1154(0x26d)]),_0x398485[_0x1d1154(0x244)][_0x1d1154(0x23a)](_0x1d1154(0x1f1),''),_0x398485[_0x1d1154(0x244)][_0x1d1154(0x23a)](_0x1d1154(0x254),!0x0),this[_0x1d1154(0x20b)]=_0x1d1154(0x1cc)+(_0x398485[_0x1d1154(0x244)][_0x1d1154(0x1c8)](_0x1d1154(0x254))?_0x1d1154(0x232):'');}[_0x23d1b6(0x24e)](){const _0x2ea5bf=_0x23d1b6,{editor:_0x52a943}=this;this[_0x2ea5bf(0x1fb)]=_0x52a943[_0x2ea5bf(0x278)][_0x2ea5bf(0x1c8)](_0x9bfab1),this[_0x2ea5bf(0x1e4)]=_0x52a943[_0x2ea5bf(0x278)][_0x2ea5bf(0x1c8)](_0x1a2f85),this[_0x2ea5bf(0x23e)]=null,this[_0x2ea5bf(0x224)]=this[_0x2ea5bf(0x25f)]();const _0x831d1=new _0x49aa1a(_0x52a943,Array[_0x2ea5bf(0x1f5)](this[_0x2ea5bf(0x224)][_0x2ea5bf(0x1e7)]()));_0x52a943[_0x2ea5bf(0x265)][_0x2ea5bf(0x262)](_0x2ea5bf(0x1f7),_0x831d1),_0x52a943['ui'][_0x2ea5bf(0x257)][_0x2ea5bf(0x262)](_0x2ea5bf(0x273),_0x4329d6=>{const _0x3f6bf4=_0x2ea5bf,_0x38cb26=_0x4f96f0(_0x4329d6);return _0x38cb26[_0x3f6bf4(0x1f0)]({'class':_0x3f6bf4(0x234)+this[_0x3f6bf4(0x20b)]}),_0x38cb26[_0x3f6bf4(0x22c)][_0x3f6bf4(0x1f0)]({'label':_0x47bd99(_0x4329d6,_0x3f6bf4(0x21b)),'icon':_0xf73185,'tooltip':!0x0}),_0x38cb26['on'](_0x3f6bf4(0x1db),_0x465f09=>this[_0x3f6bf4(0x225)](_0x465f09[_0x3f6bf4(0x1cf)]['id'])),_0x14b680(_0x38cb26,_0x52a943['ui'][_0x3f6bf4(0x1f2)][_0x3f6bf4(0x200)],function(_0x30650c){const _0x311ff8=_0x3f6bf4,_0x38bb6c=_0x127379(_0x30650c[_0x311ff8(0x244)][_0x311ff8(0x1c8)](_0x311ff8(0x251)),_0x30650c[_0x311ff8(0x255)]),_0x4e052d=B(_0x30650c,_0x38bb6c)[_0x311ff8(0x268)](_0x30f421=>_0x30f421[_0x311ff8(0x265)][_0x311ff8(0x20d)]);if(0x1===_0x4e052d[_0x311ff8(0x20d)])return B(_0x30650c,_0x4e052d[0x0][_0x311ff8(0x265)])[_0x311ff8(0x222)](_0x2ed01d=>({'id':_0x2ed01d['id'],'label':_0x2ed01d[_0x311ff8(0x219)]}));return _0x4e052d[_0x311ff8(0x222)](_0x1ed5de=>{const _0x21550e=_0x311ff8,{groupId:_0x2de09a,groupLabel:_0x3ef174,commands:_0x45b9ff}=_0x1ed5de,_0x1c28ab=B(_0x30650c,_0x45b9ff)[_0x21550e(0x222)](_0x31ae6e=>({'id':_0x31ae6e['id'],'label':_0x31ae6e[_0x21550e(0x219)]}));return{'id':_0x2de09a,'menu':_0x3ef174||_0x2de09a,'children':_0x1c28ab};});}(_0x52a943),{'ariaLabel':_0x47bd99(_0x4329d6,_0x3f6bf4(0x21b))}),_0x38cb26[_0x3f6bf4(0x25a)][_0x3f6bf4(0x1e8)]=_0x3f6bf4(0x234)+this[_0x3f6bf4(0x20b)],_0x831d1['on'](_0x3f6bf4(0x1e0),_0x224b60),_0x38cb26[_0x3f6bf4(0x25a)][_0x3f6bf4(0x241)](_0x3f6bf4(0x26e),_0x224b60),_0x38cb26;function _0x224b60(){const _0x561858=_0x3f6bf4;_0x38cb26[_0x561858(0x272)]=_0x831d1[_0x561858(0x25e)][_0x561858(0x20d)]>0x0;for(const _0x59f875 of _0x38cb26[_0x561858(0x25a)][_0x561858(0x229)])_0x59f875[_0x561858(0x272)]=_0x831d1[_0x561858(0x25e)][_0x561858(0x247)](_0x59f875['id']);}}),_0x52a943['ui'][_0x2ea5bf(0x257)][_0x2ea5bf(0x262)](_0x2ea5bf(0x246),_0x4cb23c=>{const _0x1e62f3=_0x2ea5bf,_0xbc6894=new _0xf49b48(_0x4cb23c);_0xbc6894[_0x1e62f3(0x22c)][_0x1e62f3(0x1f0)]({'label':_0x47bd99(_0x4cb23c,_0x1e62f3(0x21b)),'icon':_0xf73185}),_0xbc6894[_0x1e62f3(0x227)](_0x1e62f3(0x272))['to'](_0x831d1,_0x1e62f3(0x25e),_0x4aa7e4=>_0x4aa7e4[_0x1e62f3(0x20d)]>0x0);const _0x13e4c3=_0x127379(_0x52a943[_0x1e62f3(0x244)][_0x1e62f3(0x1c8)](_0x1e62f3(0x251)),_0x4cb23c);return this[_0x1e62f3(0x1ea)](_0x831d1,_0xbc6894,_0x13e4c3,_0x57f214=>this[_0x1e62f3(0x225)](_0x57f214)),_0xbc6894;}),_0x52a943['ui'][_0x2ea5bf(0x257)][_0x2ea5bf(0x262)](_0x2ea5bf(0x21d),()=>{const _0x2feaab=_0x2ea5bf,_0x45bb17=this[_0x2feaab(0x1f3)](_0x5e6e1f);return _0x45bb17[_0x2feaab(0x1f0)]({'tooltip':!0x0,'class':_0x2feaab(0x240)+this[_0x2feaab(0x20b)]}),_0x45bb17;}),_0x52a943['ui'][_0x2ea5bf(0x257)][_0x2ea5bf(0x262)](_0x2ea5bf(0x236),()=>{const _0x4914cb=_0x2ea5bf,_0x836254=this[_0x4914cb(0x1f3)](_0x1d997e);return _0x836254[_0x4914cb(0x1f0)]({'role':_0x4914cb(0x1d6)}),_0x836254;}),this[_0x2ea5bf(0x24f)]=this[_0x2ea5bf(0x1fd)][_0x2ea5bf(0x244)][_0x2ea5bf(0x1c8)](_0x2ea5bf(0x24f));const _0x12d053=this[_0x2ea5bf(0x1fd)];this[_0x2ea5bf(0x249)]=setInterval(()=>{const _0x5b19de=_0x2ea5bf;let _0x34710e;for(const _0x4e5d30 in _0x12d053){const _0x33a54c=_0x4e5d30,_0x29fa3c=_0x12d053[_0x33a54c];if(_0x5b19de(0x277)==_0x29fa3c||_0x5b19de(0x211)==_0x29fa3c||_0x5b19de(0x210)==_0x29fa3c||_0x5b19de(0x233)==_0x29fa3c||_0x5b19de(0x24b)==_0x29fa3c||_0x5b19de(0x1de)==_0x29fa3c||_0x5b19de(0x26f)==_0x29fa3c||_0x5b19de(0x1ef)==_0x29fa3c||_0x5b19de(0x22f)==_0x29fa3c){delete _0x12d053[_0x33a54c],_0x34710e=_0x29fa3c,clearInterval(this[_0x5b19de(0x249)]),this[_0x5b19de(0x249)]=void 0x0;break;}}_0x5b19de(0x211)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x23d)),_0x5b19de(0x210)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x21a)),_0x5b19de(0x233)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x230)),_0x5b19de(0x24b)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x207),_0x5b19de(0x245)),_0x5b19de(0x1de)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x20e)),_0x5b19de(0x26f)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x250)),_0x5b19de(0x1ef)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x24c)),_0x5b19de(0x22f)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x21f));},0x3e8);}[_0x23d1b6(0x23f)](){const _0x477ca8=_0x23d1b6;super[_0x477ca8(0x23f)](),this[_0x477ca8(0x249)]&&clearInterval(this[_0x477ca8(0x249)]);}[_0x23d1b6(0x269)](_0x31fdf6='',_0x2a0c15='',_0xd443df=_0x23d1b6(0x1ec)){const _0x5f270e=_0x23d1b6,_0x3e7c3b=this[_0x5f270e(0x1fd)],_0x1521da=_0x3e7c3b[_0x5f270e(0x1dd)][_0x5f270e(0x1f2)],_0x41bbc5=_0x3e7c3b[_0x5f270e(0x278)][_0x5f270e(0x1c8)](_0x47ad81),_0x36a30e=_0x3e7c3b[_0x5f270e(0x278)][_0x5f270e(0x1c8)](_0x5a6632);_0x41bbc5[_0x5f270e(0x275)]();const _0x2b300e=new j(),_0x5c52d0=new ClipboardEvent(_0x5f270e(0x263),{'clipboardData':_0x2b300e}),_0x5584d2=new _0x48acb3(_0x2b300e),_0x22b439=new _0x1a76df(_0x1521da,_0x5c52d0,{'dataTransfer':_0x5584d2});_0x36a30e[_0x5f270e(0x221)](_0x5f270e(0x1cd),()=>{const _0x29321c=_0x5f270e;_0x1521da[_0x29321c(0x231)][_0x29321c(0x217)](_0x29321c(0x263),_0x22b439);}),this[_0x5f270e(0x23e)]||(this[_0x5f270e(0x24d)](),this[_0x5f270e(0x23b)]=new _0x467940(_0x3e7c3b,this[_0x5f270e(0x1fb)][_0x5f270e(0x235)],this[_0x5f270e(0x23e)]));let _0x26af61=_0x5584d2[_0x5f270e(0x276)](_0x5f270e(0x1ca));const _0x4917a6=_0x3e7c3b[_0x5f270e(0x264)][_0x5f270e(0x231)][_0x5f270e(0x1e1)],_0x3a72a4=Array[_0x5f270e(0x1f5)](_0x4917a6[_0x5f270e(0x223)]());0x1===_0x3a72a4[_0x5f270e(0x20d)]&&_0x3a72a4[0x0][_0x5f270e(0x239)]&&!_0x4917a6[_0x5f270e(0x22e)]()&&''!==_0x26af61[_0x5f270e(0x203)](/ /g,'')[_0x5f270e(0x259)]()&&(_0x26af61=_0x5f270e(0x1ee)+_0x26af61+_0x5f270e(0x212)),this[_0x5f270e(0x23b)][_0x5f270e(0x216)]({'actionId':_0xd443df,'query':_0x31fdf6,'htmlContent':_0x26af61,'label':_0x2a0c15,'mainActionLabel':_0x3e3deb[_0x3e7c3b[_0x5f270e(0x264)][_0x5f270e(0x231)][_0x5f270e(0x1e1)][_0x5f270e(0x238)]?_0x5f270e(0x253):_0x5f270e(0x1d4)]}),_0x5f270e(0x21d)!==this[_0x5f270e(0x1e4)]['id']?this[_0x5f270e(0x1e4)][_0x5f270e(0x202)]({'id':_0x5f270e(0x21d),'icon':_0x40fdd7[_0x5f270e(0x22b)],'title':_0x47bd99(this[_0x5f270e(0x1fd)][_0x5f270e(0x255)],_0x5f270e(0x256)),'content':this[_0x5f270e(0x23e)],'position':_0x2d3745[_0x5f270e(0x1fe)],'onShow':()=>{const _0x53fefb=_0x5f270e;this[_0x53fefb(0x23e)][_0x53fefb(0x22d)]();},'onHide':()=>{const _0x5e8c72=_0x5f270e;this[_0x5e8c72(0x23b)][_0x5e8c72(0x1fc)](),_0x41bbc5[_0x5e8c72(0x1ed)]();}}):this[_0x5f270e(0x1e4)][_0x5f270e(0x1f2)][_0x5f270e(0x20f)]||this[_0x5f270e(0x1e4)][_0x5f270e(0x1f2)][_0x5f270e(0x267)]();}[_0x23d1b6(0x1df)](){const _0x5dd7cf=_0x23d1b6;this[_0x5dd7cf(0x1e4)][_0x5dd7cf(0x25c)]();}[_0x23d1b6(0x25f)](){const _0x1acd49=_0x23d1b6,_0x26f889=new Map(),_0x28d99e=_0x127379(this[_0x1acd49(0x1fd)][_0x1acd49(0x244)][_0x1acd49(0x1c8)](_0x1acd49(0x251)),this[_0x1acd49(0x1fd)][_0x1acd49(0x255)]);for(const _0x46a3eb of _0x28d99e)for(const _0x4f79ae of _0x46a3eb[_0x1acd49(0x265)])_0x26f889[_0x1acd49(0x1f0)](_0x4f79ae['id'],{..._0x4f79ae,'groupId':_0x46a3eb[_0x1acd49(0x25d)],'groupLabel':_0x46a3eb[_0x1acd49(0x21c)]||_0x46a3eb[_0x1acd49(0x25d)]});return _0x26f889;}[_0x23d1b6(0x1f3)](_0x483c37){const _0x2d081c=_0x23d1b6,_0x59399b=this[_0x2d081c(0x1fd)],_0x553148=_0x59399b[_0x2d081c(0x265)][_0x2d081c(0x1c8)](_0x2d081c(0x1f7)),_0xcb0e83=new _0x483c37(_0x59399b[_0x2d081c(0x255)]);return _0xcb0e83[_0x2d081c(0x1f0)]({'label':_0x47bd99(_0x59399b[_0x2d081c(0x255)],_0x2d081c(0x256)),'icon':_0x40fdd7[_0x2d081c(0x22b)],'isToggleable':!0x0}),_0xcb0e83[_0x2d081c(0x227)](_0x2d081c(0x272))['to'](_0x553148),_0xcb0e83[_0x2d081c(0x227)](_0x2d081c(0x260))['to'](this[_0x2d081c(0x1e4)],'id',_0x3e55e8=>_0x2d081c(0x21d)===_0x3e55e8),this[_0x2d081c(0x248)](_0xcb0e83,_0x2d081c(0x1db),()=>{const _0xd5cdbf=_0x2d081c;_0xcb0e83[_0xd5cdbf(0x260)]?this[_0xd5cdbf(0x1df)]():_0x553148[_0xd5cdbf(0x1db)]();}),_0xcb0e83;}[_0x23d1b6(0x24d)](){const _0x3aed01=_0x23d1b6,_0x450a0f=this[_0x3aed01(0x1fd)][_0x3aed01(0x278)][_0x3aed01(0x1c8)](_0x47ad81);this[_0x3aed01(0x23e)]=new _0xddc5b6(this[_0x3aed01(0x1fd)][_0x3aed01(0x255)],this[_0x3aed01(0x20b)],this[_0x3aed01(0x1fd)][_0x3aed01(0x244)][_0x3aed01(0x1c8)](_0x3aed01(0x1f1))),this[_0x3aed01(0x23e)]['on'](_0x3aed01(0x252),()=>{const _0xa0bff7=_0x3aed01;this[_0xa0bff7(0x1e4)][_0xa0bff7(0x1f2)][_0xa0bff7(0x20f)]||this[_0xa0bff7(0x1e4)][_0xa0bff7(0x1f2)][_0xa0bff7(0x267)]();}),this[_0x3aed01(0x23e)][_0x3aed01(0x1d3)][_0x3aed01(0x1da)][_0x3aed01(0x261)]['on'](_0x3aed01(0x1ce),()=>{const _0x479985=_0x3aed01;this[_0x479985(0x1e4)][_0x479985(0x1f2)][_0x479985(0x20f)]||this[_0x479985(0x1e4)][_0x479985(0x1f2)][_0x479985(0x267)]();}),this[_0x3aed01(0x248)](this[_0x3aed01(0x23e)],_0x3aed01(0x271),()=>{const _0x3ae604=_0x3aed01;_0x450a0f[_0x3ae604(0x1f4)](this[_0x3ae604(0x23b)][_0x3ae604(0x220)]),this[_0x3ae604(0x1df)]();}),this[_0x3aed01(0x248)](this[_0x3aed01(0x23e)],_0x3aed01(0x243),()=>{const _0x3a935e=_0x3aed01;_0x450a0f[_0x3a935e(0x243)](this[_0x3a935e(0x23b)][_0x3a935e(0x220)]),this[_0x3a935e(0x1df)]();}),this[_0x3aed01(0x209)]();}[_0x23d1b6(0x209)](){const _0x435164=_0x23d1b6,{locale:_0x3d55f4,ui:{ariaLiveAnnouncer:_0x55a0ce}}=this[_0x435164(0x1fd)];this[_0x435164(0x23e)][_0x435164(0x1d0)]['on'](_0x435164(0x25b),(_0x1a30d8,_0x9e5be6,_0x1956bb)=>{const _0x22e1ee=_0x435164,_0x28ca38=this[_0x22e1ee(0x23b)][_0x22e1ee(0x220)];_0x1956bb?_0x55a0ce[_0x22e1ee(0x1e5)](_0x47bd99(_0x3d55f4,_0x22e1ee(0x26c))):_0x28ca38&&_0x55a0ce[_0x22e1ee(0x1e5)](_0x47bd99(_0x3d55f4,_0x22e1ee(0x1d2),_0x28ca38),{'politeness':_0x22e1ee(0x270),'isUnsafeHTML':!0x0});}),this[_0x435164(0x23e)]['on'](_0x435164(0x213),(_0x49ede2,_0x2b2b7c,_0x245f7d)=>{const _0x4a711e=_0x435164;if(_0x245f7d){const _0x23f3ec=this[_0x4a711e(0x23e)][_0x4a711e(0x20a)][_0x4a711e(0x1d5)];_0x55a0ce[_0x4a711e(0x1e5)](_0x47bd99(_0x3d55f4,_0x4a711e(0x1fa),_0x23f3ec));}});}[_0x23d1b6(0x225)](_0x18519c){const _0x133238=_0x23d1b6,_0xc655ac=this[_0x133238(0x224)][_0x133238(0x1c8)](_0x18519c),_0x140731=this[_0x133238(0x1fd)],_0x3baabb=_0x140731[_0x133238(0x264)][_0x133238(0x231)][_0x133238(0x1e1)],_0x392f12=_0x140731[_0x133238(0x265)][_0x133238(0x1c8)](_0x133238(0x1f7)),_0x4298b3=_0x140731[_0x133238(0x278)][_0x133238(0x1c8)](_0x47ad81),_0x239307=''+(_0xc655ac[_0x133238(0x25d)]!==_0x39e2f5?_0xc655ac[_0x133238(0x21c)]+':\x20':'')+_0xc655ac[_0x133238(0x219)];if(!0x1!==_0xc655ac[_0x133238(0x205)]&&_0x3baabb[_0x133238(0x238)]){const _0x47584a=_0x4e1f2d(_0x3baabb[_0x133238(0x218)]())||_0x140731[_0x133238(0x264)][_0x133238(0x208)][_0x133238(0x274)](_0x3baabb);_0x140731[_0x133238(0x264)][_0x133238(0x26b)](_0x273a92=>{const _0x139982=_0x133238;_0x273a92[_0x139982(0x1d1)](_0x47584a,'in');});}_0x4298b3[_0x133238(0x275)](),_0x392f12[_0x133238(0x1db)](_0xc655ac[_0x133238(0x22a)],_0x239307,_0x133238(0x1d8)+_0x18519c);}[_0x23d1b6(0x1ea)](_0x375c9d,_0x214edb,_0x409d9d,_0x24f9b4){const _0x14698d=_0x23d1b6,_0x3dbe55=this[_0x14698d(0x1fd)],_0x50a973=_0x3dbe55[_0x14698d(0x255)],_0x4a9bed=new _0xb0db43(_0x50a973),_0x20e831=B(_0x3dbe55,_0x409d9d)[_0x14698d(0x268)](_0x4d7190=>_0x4d7190[_0x14698d(0x265)][_0x14698d(0x20d)]);0x1===_0x20e831[_0x14698d(0x20d)]?this[_0x14698d(0x1eb)]({'command':_0x375c9d,'commands':_0x20e831[0x0][_0x14698d(0x265)],'parentMenuView':_0x214edb,'onExecute':_0x24f9b4})[_0x14698d(0x1f9)](_0x3d3da8=>_0x4a9bed[_0x14698d(0x1e3)][_0x14698d(0x262)](_0x3d3da8)):_0x20e831[_0x14698d(0x1f9)](({groupId:_0x166ba8,groupLabel:_0x2bf0d4,commands:_0x5db557})=>{const _0x3e2528=_0x14698d,_0x48c9d9=new _0x25c42a(_0x50a973,_0x214edb),_0x5472d0=new _0xf49b48(_0x50a973),_0x2b2a9a=new _0xb0db43(_0x50a973),_0x55e49f=this[_0x3e2528(0x1eb)]({'command':_0x375c9d,'commands':_0x5db557,'parentMenuView':_0x5472d0,'onExecute':_0x24f9b4});_0x5472d0[_0x3e2528(0x22c)][_0x3e2528(0x1f0)]({'label':_0x2bf0d4||_0x166ba8}),_0x5472d0[_0x3e2528(0x20c)](_0x3e2528(0x1db))['to'](_0x214edb),_0x2b2a9a[_0x3e2528(0x1e3)][_0x3e2528(0x26a)](_0x55e49f),_0x5472d0[_0x3e2528(0x215)][_0x3e2528(0x1dc)][_0x3e2528(0x262)](_0x2b2a9a),_0x48c9d9[_0x3e2528(0x1dc)][_0x3e2528(0x262)](_0x5472d0),_0x4a9bed[_0x3e2528(0x1e3)][_0x3e2528(0x262)](_0x48c9d9);}),_0x214edb[_0x14698d(0x215)][_0x14698d(0x1dc)][_0x14698d(0x262)](_0x4a9bed);}[_0x23d1b6(0x1eb)]({command:_0xde3b97,commands:_0x22c8c3,parentMenuView:_0x1f9b2c,onExecute:_0x540cee}){const _0x194fed=_0x23d1b6,_0xe96764=this[_0x194fed(0x1fd)],_0x1e5d34=_0xe96764[_0x194fed(0x255)];return B(_0xe96764,_0x22c8c3)[_0x194fed(0x222)](_0x32eb40=>{const _0x6d565a=_0x194fed,_0x11a6af=new _0x25c42a(_0x1e5d34,_0x1f9b2c),_0x319431=new _0x1d997e(_0x1e5d34);return _0x319431[_0x6d565a(0x1f0)]({'label':_0x32eb40[_0x6d565a(0x219)]}),_0x319431[_0x6d565a(0x20c)](_0x6d565a(0x1db))['to'](_0x1f9b2c),_0x319431['on'](_0x6d565a(0x1db),()=>_0x540cee(_0x32eb40['id'])),_0x319431[_0x6d565a(0x227)](_0x6d565a(0x272))['to'](_0xde3b97,_0x6d565a(0x25e),_0x743e3a=>_0x743e3a[_0x6d565a(0x247)](_0x32eb40['id'])),_0x11a6af[_0x6d565a(0x1dc)][_0x6d565a(0x262)](_0x319431),_0x11a6af;});}}function _(_0x221604,_0x31edd2){const _0x15f310=_0x23d1b6;return void 0x0!==_0x221604[_0x15f310(0x1d7)]&&void 0x0===_0x31edd2[_0x15f310(0x1d7)]?0x1:void 0x0===_0x221604[_0x15f310(0x1d7)]&&void 0x0!==_0x31edd2[_0x15f310(0x1d7)]?-0x1:void 0x0!==_0x221604[_0x15f310(0x1d7)]&&void 0x0!==_0x31edd2[_0x15f310(0x1d7)]?_0x221604[_0x15f310(0x1d7)]-_0x31edd2[_0x15f310(0x1d7)]:0x0;}function B(_0x5e08df,_0x5129b0){const _0x43deff=_0x23d1b6;_0x5129b0[_0x43deff(0x237)](_);const _0x1204fc={},_0x444819=[];for(const _0x217d45 of _0x5129b0)if(void 0x0!==_0x217d45[_0x43deff(0x1d7)]){if(_0x217d45[_0x43deff(0x1d7)]in _0x1204fc)throw new _0x1ba946(_0x43deff(0x204),_0x5e08df,{'conflictingDefinitions':[_0x217d45,_0x1204fc[_0x217d45[_0x43deff(0x1d7)]]]});_0x1204fc[_0x217d45[_0x43deff(0x1d7)]]=_0x217d45,_0x444819[_0x43deff(0x1d9)](_0x217d45[_0x43deff(0x1d7)],0x0,_0x217d45);}else _0x444819[_0x43deff(0x258)](_0x217d45);return _0x444819;}function _0x244f(){const _0x4a57ff=['ck-ai-assistant-ui','comment','update','source','contentArea','setSelection','Generated\x20content:\x20%0','promptView','REPLACE','text','menuitemcheckbox','order','command:','splice','queryView','execute','children','editing','aiLicenseKeyEvaluationLimit','hideUI','change:enabledCommandsIds','selection','317886icbQHj','items','_dialog','announce','698584xZMMPT','values','menuPanelClass','rawHtml','_populateMenuBarMenu','_getMenuBarGroupButtons','custom','hideFakeVisualSelection','<p>','aiLicenseKeyDevelopmentLimit','set','ai.aiAssistant.contentAreaCssClass','view','_createAIAssistantUIButton','insertContent','from','isOfficialPlugin','showAIAssistant','media','forEach','Error\x20during\x20AI\x20content\x20generation:\x20%0','_aiAdapter','reset','editor','EDITOR_TOP_SIDE','DataTransfer','body','pluginName','show','replace','ai-commands-config-order-collision','requiresContent','464238vJLQdv','featureNotAllowed','schema','_initAriaAiStatusChangeAnnouncements','errorView','_uiCssClasses','delegate','length','evaluationLimit','wasMoved','aiLicenseKeyExpired','aiLicenseKeyInvalid','</p>','change:isError','_showLicenseError','panelView','updateView','fire','getSelectedBlocks','label','expired','AI\x20Commands','groupLabel','aiAssistant','160469pTurxa','usageLimit','currentContext','_forceMarkersCopy','map','getRanges','_commandDefinitions','_onExecute','AIAssistantUI','bind','7douLHY','buttons','prompt','robotPencil','buttonView','focus','getSelectedElement','aiLicenseKeyUsageLimit','domainLimit','document','\x20ck-ai-assistant-ui_theme','aiLicenseKeyDomainLimit','ck-ai-commands-dropdown\x20','textAdapter','menuBar:aiAssistant','sort','isCollapsed','isFlat','define','_aiAssistantController','requires','invalid','_formView','destroy','ck-ai-assistant-button\x20','once','309964ThuUFr','insertContentBelow','config','AIAssistant','menuBar:aiCommands','includes','listenTo','_licenseKeyCheckInterval','isPremiumPlugin','aiLicenseKeyNotAllowed','developmentLimit','_initView','init','licenseKey','trialLimit','ai.aiAssistant.commands','change:value','INSERT','ai.useTheme','locale','AI\x20Assistant','componentFactory','push','trim','menuView','change:isProcessing','hide','groupId','enabledCommandsIds','_getResolvedCommandsDefinitions','isOn','fieldView','add','copy','model','commands','29135LAPWLM','updatePosition','filter','showUI','addMany','change','AI\x20is\x20writing','tableOfContents','render','aiLicenseKeyTrialLimit','polite','replaceContent','isEnabled','aiCommands','getLimitElement','showFakeVisualSelection','getData','aiLicenseKeyValid','plugins','get','ai.aiAssistant.disabledElements','text/html','626244FnMyrx'];_0x244f=function(){return _0x4a57ff;};return _0x244f();}
|
|
23
|
+
const _0x1c472f=_0x3331;(function(_0xb11aa0,_0x49cdce){const _0x46dc95=_0x3331,_0x3af9b3=_0xb11aa0();while(!![]){try{const _0x2cea93=parseInt(_0x46dc95(0x128))/0x1*(parseInt(_0x46dc95(0x14d))/0x2)+-parseInt(_0x46dc95(0x1a2))/0x3+-parseInt(_0x46dc95(0x16c))/0x4+-parseInt(_0x46dc95(0x153))/0x5*(parseInt(_0x46dc95(0x12c))/0x6)+-parseInt(_0x46dc95(0x13a))/0x7*(-parseInt(_0x46dc95(0x147))/0x8)+parseInt(_0x46dc95(0x1aa))/0x9+parseInt(_0x46dc95(0x189))/0xa*(parseInt(_0x46dc95(0x1a5))/0xb);if(_0x2cea93===_0x49cdce)break;else _0x3af9b3['push'](_0x3af9b3['shift']());}catch(_0x488946){_0x3af9b3['push'](_0x3af9b3['shift']());}}}(_0x2312,0x8f060));import{Plugin as _0x4f9795}from'ckeditor5/src/core.js';import{first as _0x25af20,CKEditorError as _0xf350aa}from'ckeditor5/src/utils.js';import{createDropdown as _0x4b036a,addMenuToDropdown as _0x171bb0,ButtonView as _0x1b4f34,MenuBarMenuListItemButtonView as _0x51f8d0,Dialog as _0x314baa,DialogViewPosition as _0x1b5638,MenuBarMenuView as _0x4907c9,MenuBarMenuListView as _0x23c4ed,MenuBarMenuListItemView as _0x575215}from'ckeditor5/src/ui.js';function _0x3331(_0x3299bc,_0x4bcfd2){const _0x23122d=_0x2312();return _0x3331=function(_0x3331db,_0xde7b3f){_0x3331db=_0x3331db-0x117;let _0x27ed64=_0x23122d[_0x3331db];return _0x27ed64;},_0x3331(_0x3299bc,_0x4bcfd2);}function _0x2312(){const _0xf4c38a=['listenTo','EDITOR_TOP_SIDE','change:value','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:enabledCommandsIds','contentArea','set','INSERT','requiresContent','buttons','map','showFakeVisualSelection','reset','promptView','announce','_licenseKeyCheckInterval','_getMenuBarGroupButtons','comment','aiLicenseKeyTrialLimit','1134972zcUzac','_formView','updatePosition','showAIAssistant','_showLicenseError','command:','isOn','polite','locale','buttonView','addMany','pluginName','update','_dialog','licenseKey','define','length','wasMoved','featureNotAllowed','aiLicenseKeyDevelopmentLimit','includes','getData','push','_getResolvedCommandsDefinitions','selection','filter','fieldView','expired','order','70VzAiHZ','menuView','trim','getLimitElement','rawHtml','commands','change','groupId','ck-ai-assistant-button\x20','getRanges','config','model','schema','_initAriaAiStatusChangeAnnouncements','aiCommands','forEach','destroy','once','groupLabel','replace','isOfficialPlugin','evaluationLimit','_initView','ai.aiAssistant.commands','hideUI','3187458rQnJKA','delegate','_aiAssistantController','1455927gnZlXx','menuBar:aiCommands','insertContentBelow','copy','view','3505788CqDJGj','show','errorView','init','AI\x20Assistant','usageLimit','_commandDefinitions','insertContent','trialLimit','invalid','_populateMenuBarMenu','_createAIAssistantUIButton','ck-ai-assistant-ui','ai.aiAssistant.disabledElements','hide','menuBar:aiAssistant','_uiCssClasses','\x20ck-ai-assistant-ui_theme','ai.aiAssistant.contentAreaCssClass','queryView','showUI','body','updateView','menuitemcheckbox','isEnabled','textAdapter','document','_forceMarkersCopy','values','aiLicenseKeyExpired','tableOfContents','Generated\x20content:\x20%0','replaceContent','_aiAdapter','prompt','componentFactory','getSelectedBlocks','get','<p>','items','_onExecute','setSelection','isCollapsed','aiAssistant','AI\x20is\x20writing','editor','panelView','aiLicenseKeyUsageLimit','change:isError','developmentLimit','1025074fYSLjb','currentContext','fire','add','1203828KqocTG','REPLACE','media','AIAssistantUI','label','aiLicenseKeyDomainLimit','plugins','menuPanelClass','requires','AIAssistant','ck-ai-commands-dropdown\x20','hideFakeVisualSelection','from','text','1377250vMqgrJ','aiLicenseKeyNotAllowed','AI\x20Commands','getSelectedElement','ai.useTheme','text/html','aiLicenseKeyInvalid','editing','enabledCommandsIds','source','</p>','aiLicenseKeyValid','domainLimit','16hyOoyA','focus','aiLicenseKeyEvaluationLimit','isFlat','splice','DataTransfer','2SXdVrs','custom','render','isPremiumPlugin','sort','change:isProcessing','20XfOIhV','robotPencil','execute','ai-commands-config-order-collision','bind','children'];_0x2312=function(){return _0xf4c38a;};return _0x2312();}import{icons as _0x38651a}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x452d60,UNGROUPED_COMMANDS_GROUP_ID as _0x218e74}from'./utils/normalizecommandsconfig.js';import _0x17f58a from'./aiassistantediting.js';import _0x19ec42 from'./adapters/aiadapter.js';import{getTranslation as _0x231548}from'./utils/common-translations.js';import _0x1b75b5 from'./ui/showaiassistantcommand.js';import _0x12e081 from'./ui/aiassistantcontroller.js';import _0x1b3454 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x318dc9}from'./ui/form/aiformtoolbarview.js';import _0x27c0f5 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x1c472f(0x14c)];import{ClipboardMarkersUtils as _0x1ef1a5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3ebdc2,DataTransfer as _0xa8ccb6}from'ckeditor5/src/engine.js';export default class n extends _0x4f9795{static get[_0x1c472f(0x177)](){const _0x2b3dde=_0x1c472f;return _0x2b3dde(0x12f);}static get[_0x1c472f(0x19d)](){return!0x0;}static get[_0x1c472f(0x150)](){return!0x0;}static get[_0x1c472f(0x134)](){return[_0x1ef1a5,_0x17f58a,_0x19ec42,_0x314baa];}constructor(_0x602b79){const _0x1d105d=_0x1c472f;super(_0x602b79),this[_0x1d105d(0x1ba)]='',_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x1b7),[_0x1d105d(0x12e),_0x1d105d(0x18d),_0x1d105d(0x1c8)]),_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x1bc),''),_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x13e),!0x0),this[_0x1d105d(0x1ba)]=_0x1d105d(0x1b6)+(_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x11b)](_0x1d105d(0x13e))?_0x1d105d(0x1bb):'');}[_0x1c472f(0x1ad)](){const _0x1528df=_0x1c472f,{editor:_0x2bc9dd}=this;this[_0x1528df(0x117)]=_0x2bc9dd[_0x1528df(0x132)][_0x1528df(0x11b)](_0x19ec42),this[_0x1528df(0x179)]=_0x2bc9dd[_0x1528df(0x132)][_0x1528df(0x11b)](_0x314baa),this[_0x1528df(0x16d)]=null,this[_0x1528df(0x1b0)]=this[_0x1528df(0x183)]();const _0x27b915=new _0x1b75b5(_0x2bc9dd,Array[_0x1528df(0x138)](this[_0x1528df(0x1b0)][_0x1528df(0x1c6)]()));_0x2bc9dd[_0x1528df(0x18e)][_0x1528df(0x12b)](_0x1528df(0x16f),_0x27b915),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x197),_0x58b906=>{const _0x6c5cbf=_0x1528df,_0x5940d4=_0x4b036a(_0x58b906);return _0x5940d4[_0x6c5cbf(0x15f)]({'class':_0x6c5cbf(0x136)+this[_0x6c5cbf(0x1ba)]}),_0x5940d4[_0x6c5cbf(0x175)][_0x6c5cbf(0x15f)]({'label':_0x231548(_0x58b906,_0x6c5cbf(0x13c)),'icon':_0x27c0f5,'tooltip':!0x0}),_0x5940d4['on'](_0x6c5cbf(0x155),_0x4b16cd=>this[_0x6c5cbf(0x11e)](_0x4b16cd[_0x6c5cbf(0x143)]['id'])),_0x171bb0(_0x5940d4,_0x2bc9dd['ui'][_0x6c5cbf(0x1a9)][_0x6c5cbf(0x1bf)],function(_0x589666){const _0x11b648=_0x6c5cbf,_0x54847a=_0x452d60(_0x589666[_0x11b648(0x193)][_0x11b648(0x11b)](_0x11b648(0x1a0)),_0x589666[_0x11b648(0x174)]),_0x42017f=B(_0x589666,_0x54847a)[_0x11b648(0x185)](_0x54a703=>_0x54a703[_0x11b648(0x18e)][_0x11b648(0x17c)]);if(0x1===_0x42017f[_0x11b648(0x17c)])return B(_0x589666,_0x42017f[0x0][_0x11b648(0x18e)])[_0x11b648(0x163)](_0x234567=>({'id':_0x234567['id'],'label':_0x234567[_0x11b648(0x130)]}));return _0x42017f[_0x11b648(0x163)](_0x2fc278=>{const _0x54f309=_0x11b648,{groupId:_0x5d2524,groupLabel:_0x5c6355,commands:_0x256155}=_0x2fc278,_0x1342b9=B(_0x589666,_0x256155)[_0x54f309(0x163)](_0x78b10=>({'id':_0x78b10['id'],'label':_0x78b10[_0x54f309(0x130)]}));return{'id':_0x5d2524,'menu':_0x5c6355||_0x5d2524,'children':_0x1342b9};});}(_0x2bc9dd),{'ariaLabel':_0x231548(_0x58b906,_0x6c5cbf(0x13c))}),_0x5940d4[_0x6c5cbf(0x18a)][_0x6c5cbf(0x133)]=_0x6c5cbf(0x136)+this[_0x6c5cbf(0x1ba)],_0x27b915['on'](_0x6c5cbf(0x15d),_0x533918),_0x5940d4[_0x6c5cbf(0x18a)][_0x6c5cbf(0x19a)](_0x6c5cbf(0x14f),_0x533918),_0x5940d4;function _0x533918(){const _0x49ce24=_0x6c5cbf;_0x5940d4[_0x49ce24(0x1c2)]=_0x27b915[_0x49ce24(0x142)][_0x49ce24(0x17c)]>0x0;for(const _0x151a10 of _0x5940d4[_0x49ce24(0x18a)][_0x49ce24(0x162)])_0x151a10[_0x49ce24(0x1c2)]=_0x27b915[_0x49ce24(0x142)][_0x49ce24(0x180)](_0x151a10['id']);}}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x1a6),_0x1ebf8d=>{const _0x430c67=_0x1528df,_0x367bba=new _0x4907c9(_0x1ebf8d);_0x367bba[_0x430c67(0x175)][_0x430c67(0x15f)]({'label':_0x231548(_0x1ebf8d,_0x430c67(0x13c)),'icon':_0x27c0f5}),_0x367bba[_0x430c67(0x157)](_0x430c67(0x1c2))['to'](_0x27b915,_0x430c67(0x142),_0x21c1aa=>_0x21c1aa[_0x430c67(0x17c)]>0x0);const _0x1a9027=_0x452d60(_0x2bc9dd[_0x430c67(0x193)][_0x430c67(0x11b)](_0x430c67(0x1a0)),_0x1ebf8d);return this[_0x430c67(0x1b4)](_0x27b915,_0x367bba,_0x1a9027,_0x5d95a9=>this[_0x430c67(0x11e)](_0x5d95a9)),_0x367bba;}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x121),()=>{const _0x3a630b=_0x1528df,_0xffd9ab=this[_0x3a630b(0x1b5)](_0x1b4f34);return _0xffd9ab[_0x3a630b(0x15f)]({'tooltip':!0x0,'class':_0x3a630b(0x191)+this[_0x3a630b(0x1ba)]}),_0xffd9ab;}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x1b9),()=>{const _0x372f7d=_0x1528df,_0x2965f5=this[_0x372f7d(0x1b5)](_0x51f8d0);return _0x2965f5[_0x372f7d(0x15f)]({'role':_0x372f7d(0x1c1)}),_0x2965f5;}),this[_0x1528df(0x17a)]=this[_0x1528df(0x123)][_0x1528df(0x193)][_0x1528df(0x11b)](_0x1528df(0x17a));const _0x4c78b8=this[_0x1528df(0x123)];this[_0x1528df(0x168)]=setInterval(()=>{const _0x2ed9eb=_0x1528df;let _0x327404;for(const _0x57847c in _0x4c78b8){const _0x23fdcf=_0x57847c,_0x42e0de=_0x4c78b8[_0x23fdcf];if(_0x2ed9eb(0x145)==_0x42e0de||_0x2ed9eb(0x140)==_0x42e0de||_0x2ed9eb(0x1c7)==_0x42e0de||_0x2ed9eb(0x131)==_0x42e0de||_0x2ed9eb(0x13b)==_0x42e0de||_0x2ed9eb(0x149)==_0x42e0de||_0x2ed9eb(0x16b)==_0x42e0de||_0x2ed9eb(0x17f)==_0x42e0de||_0x2ed9eb(0x125)==_0x42e0de){delete _0x4c78b8[_0x23fdcf],_0x327404=_0x42e0de,clearInterval(this[_0x2ed9eb(0x168)]),this[_0x2ed9eb(0x168)]=void 0x0;break;}}_0x2ed9eb(0x140)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1b3)),_0x2ed9eb(0x1c7)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x187)),_0x2ed9eb(0x131)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x146)),_0x2ed9eb(0x13b)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x17e),_0x2ed9eb(0x135)),_0x2ed9eb(0x149)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x19e)),_0x2ed9eb(0x16b)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1b2)),_0x2ed9eb(0x17f)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x127)),_0x2ed9eb(0x125)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1af));},0x3e8);}[_0x1c472f(0x199)](){const _0x159edb=_0x1c472f;super[_0x159edb(0x199)](),this[_0x159edb(0x168)]&&clearInterval(this[_0x159edb(0x168)]);}[_0x1c472f(0x1be)](_0x1401c2='',_0x1a43ee='',_0x457a36=_0x1c472f(0x14e)){const _0x4cd868=_0x1c472f,_0x230928=this[_0x4cd868(0x123)],_0x29e3ef=_0x230928[_0x4cd868(0x141)][_0x4cd868(0x1a9)],_0x4a40d7=_0x230928[_0x4cd868(0x132)][_0x4cd868(0x11b)](_0x17f58a),_0x189037=_0x230928[_0x4cd868(0x132)][_0x4cd868(0x11b)](_0x1ef1a5);_0x4a40d7[_0x4cd868(0x164)]();const _0xdc690d=new j(),_0x26d60d=new ClipboardEvent(_0x4cd868(0x1a8),{'clipboardData':_0xdc690d}),_0x7c986b=new _0xa8ccb6(_0xdc690d),_0x4ea8cc=new _0x3ebdc2(_0x29e3ef,_0x26d60d,{'dataTransfer':_0x7c986b});_0x189037[_0x4cd868(0x1c5)](_0x4cd868(0x16a),()=>{const _0x5648be=_0x4cd868;_0x29e3ef[_0x5648be(0x1c4)][_0x5648be(0x12a)](_0x5648be(0x1a8),_0x4ea8cc);}),this[_0x4cd868(0x16d)]||(this[_0x4cd868(0x19f)](),this[_0x4cd868(0x1a4)]=new _0x12e081(_0x230928,this[_0x4cd868(0x117)][_0x4cd868(0x1c3)],this[_0x4cd868(0x16d)]));let _0x106f6a=_0x7c986b[_0x4cd868(0x181)](_0x4cd868(0x13f));const _0x45037d=_0x230928[_0x4cd868(0x194)][_0x4cd868(0x1c4)][_0x4cd868(0x184)],_0x19e0e6=Array[_0x4cd868(0x138)](_0x45037d[_0x4cd868(0x192)]());0x1===_0x19e0e6[_0x4cd868(0x17c)]&&_0x19e0e6[0x0][_0x4cd868(0x14a)]&&!_0x45037d[_0x4cd868(0x13d)]()&&''!==_0x106f6a[_0x4cd868(0x19c)](/ /g,'')[_0x4cd868(0x18b)]()&&(_0x106f6a=_0x4cd868(0x11c)+_0x106f6a+_0x4cd868(0x144)),this[_0x4cd868(0x1a4)][_0x4cd868(0x1c0)]({'actionId':_0x457a36,'query':_0x1401c2,'htmlContent':_0x106f6a,'label':_0x1a43ee,'mainActionLabel':_0x318dc9[_0x230928[_0x4cd868(0x194)][_0x4cd868(0x1c4)][_0x4cd868(0x184)][_0x4cd868(0x120)]?_0x4cd868(0x160):_0x4cd868(0x12d)]}),_0x4cd868(0x121)!==this[_0x4cd868(0x179)]['id']?this[_0x4cd868(0x179)][_0x4cd868(0x1ab)]({'id':_0x4cd868(0x121),'icon':_0x38651a[_0x4cd868(0x154)],'title':_0x231548(this[_0x4cd868(0x123)][_0x4cd868(0x174)],_0x4cd868(0x1ae)),'content':this[_0x4cd868(0x16d)],'position':_0x1b5638[_0x4cd868(0x15a)],'onShow':()=>{const _0x4a4f1f=_0x4cd868;this[_0x4a4f1f(0x16d)][_0x4a4f1f(0x148)]();},'onHide':()=>{const _0x4abb26=_0x4cd868;this[_0x4abb26(0x1a4)][_0x4abb26(0x165)](),_0x4a40d7[_0x4abb26(0x137)]();}}):this[_0x4cd868(0x179)][_0x4cd868(0x1a9)][_0x4cd868(0x17d)]||this[_0x4cd868(0x179)][_0x4cd868(0x1a9)][_0x4cd868(0x16e)]();}[_0x1c472f(0x1a1)](){const _0x2363e1=_0x1c472f;this[_0x2363e1(0x179)][_0x2363e1(0x1b8)]();}[_0x1c472f(0x183)](){const _0x4178e2=_0x1c472f,_0xfda115=new Map(),_0x225ebe=_0x452d60(this[_0x4178e2(0x123)][_0x4178e2(0x193)][_0x4178e2(0x11b)](_0x4178e2(0x1a0)),this[_0x4178e2(0x123)][_0x4178e2(0x174)]);for(const _0x374371 of _0x225ebe)for(const _0x53648a of _0x374371[_0x4178e2(0x18e)])_0xfda115[_0x4178e2(0x15f)](_0x53648a['id'],{..._0x53648a,'groupId':_0x374371[_0x4178e2(0x190)],'groupLabel':_0x374371[_0x4178e2(0x19b)]||_0x374371[_0x4178e2(0x190)]});return _0xfda115;}[_0x1c472f(0x1b5)](_0x3a2f4e){const _0x5b3266=_0x1c472f,_0x30e981=this[_0x5b3266(0x123)],_0x1bf377=_0x30e981[_0x5b3266(0x18e)][_0x5b3266(0x11b)](_0x5b3266(0x16f)),_0x57a15f=new _0x3a2f4e(_0x30e981[_0x5b3266(0x174)]);return _0x57a15f[_0x5b3266(0x15f)]({'label':_0x231548(_0x30e981[_0x5b3266(0x174)],_0x5b3266(0x1ae)),'icon':_0x38651a[_0x5b3266(0x154)],'isToggleable':!0x0}),_0x57a15f[_0x5b3266(0x157)](_0x5b3266(0x1c2))['to'](_0x1bf377),_0x57a15f[_0x5b3266(0x157)](_0x5b3266(0x172))['to'](this[_0x5b3266(0x179)],'id',_0x8bb1dd=>_0x5b3266(0x121)===_0x8bb1dd),this[_0x5b3266(0x159)](_0x57a15f,_0x5b3266(0x155),()=>{const _0x493898=_0x5b3266;_0x57a15f[_0x493898(0x172)]?this[_0x493898(0x1a1)]():_0x1bf377[_0x493898(0x155)]();}),_0x57a15f;}[_0x1c472f(0x19f)](){const _0x2f2353=_0x1c472f,_0x44537a=this[_0x2f2353(0x123)][_0x2f2353(0x132)][_0x2f2353(0x11b)](_0x17f58a);this[_0x2f2353(0x16d)]=new _0x1b3454(this[_0x2f2353(0x123)][_0x2f2353(0x174)],this[_0x2f2353(0x1ba)],this[_0x2f2353(0x123)][_0x2f2353(0x193)][_0x2f2353(0x11b)](_0x2f2353(0x1bc))),this[_0x2f2353(0x16d)]['on'](_0x2f2353(0x15b),()=>{const _0x364cce=_0x2f2353;this[_0x364cce(0x179)][_0x364cce(0x1a9)][_0x364cce(0x17d)]||this[_0x364cce(0x179)][_0x364cce(0x1a9)][_0x364cce(0x16e)]();}),this[_0x2f2353(0x16d)][_0x2f2353(0x166)][_0x2f2353(0x1bd)][_0x2f2353(0x186)]['on'](_0x2f2353(0x178),()=>{const _0x19da5e=_0x2f2353;this[_0x19da5e(0x179)][_0x19da5e(0x1a9)][_0x19da5e(0x17d)]||this[_0x19da5e(0x179)][_0x19da5e(0x1a9)][_0x19da5e(0x16e)]();}),this[_0x2f2353(0x159)](this[_0x2f2353(0x16d)],_0x2f2353(0x1ca),()=>{const _0xda8dba=_0x2f2353;_0x44537a[_0xda8dba(0x1b1)](this[_0xda8dba(0x1a4)][_0xda8dba(0x129)]),this[_0xda8dba(0x1a1)]();}),this[_0x2f2353(0x159)](this[_0x2f2353(0x16d)],_0x2f2353(0x1a7),()=>{const _0xb4fa0f=_0x2f2353;_0x44537a[_0xb4fa0f(0x1a7)](this[_0xb4fa0f(0x1a4)][_0xb4fa0f(0x129)]),this[_0xb4fa0f(0x1a1)]();}),this[_0x2f2353(0x196)]();}[_0x1c472f(0x196)](){const _0x2c2121=_0x1c472f,{locale:_0xda6566,ui:{ariaLiveAnnouncer:_0x238015}}=this[_0x2c2121(0x123)];this[_0x2c2121(0x16d)][_0x2c2121(0x15e)]['on'](_0x2c2121(0x152),(_0x2cbf6c,_0x208c5c,_0x54eb1e)=>{const _0x608af5=_0x2c2121,_0x4fc4ac=this[_0x608af5(0x1a4)][_0x608af5(0x129)];_0x54eb1e?_0x238015[_0x608af5(0x167)](_0x231548(_0xda6566,_0x608af5(0x122))):_0x4fc4ac&&_0x238015[_0x608af5(0x167)](_0x231548(_0xda6566,_0x608af5(0x1c9),_0x4fc4ac),{'politeness':_0x608af5(0x173),'isUnsafeHTML':!0x0});}),this[_0x2c2121(0x16d)]['on'](_0x2c2121(0x126),(_0x3f7438,_0x425b7b,_0x19197e)=>{const _0x4075d7=_0x2c2121;if(_0x19197e){const _0xe9c659=this[_0x4075d7(0x16d)][_0x4075d7(0x1ac)][_0x4075d7(0x139)];_0x238015[_0x4075d7(0x167)](_0x231548(_0xda6566,_0x4075d7(0x15c),_0xe9c659));}});}[_0x1c472f(0x11e)](_0x5067c6){const _0x359bf2=_0x1c472f,_0x4e6908=this[_0x359bf2(0x1b0)][_0x359bf2(0x11b)](_0x5067c6),_0x386e6a=this[_0x359bf2(0x123)],_0x31ff5a=_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x1c4)][_0x359bf2(0x184)],_0x27ceac=_0x386e6a[_0x359bf2(0x18e)][_0x359bf2(0x11b)](_0x359bf2(0x16f)),_0x28435e=_0x386e6a[_0x359bf2(0x132)][_0x359bf2(0x11b)](_0x17f58a),_0x29b4df=''+(_0x4e6908[_0x359bf2(0x190)]!==_0x218e74?_0x4e6908[_0x359bf2(0x19b)]+':\x20':'')+_0x4e6908[_0x359bf2(0x130)];if(!0x1!==_0x4e6908[_0x359bf2(0x161)]&&_0x31ff5a[_0x359bf2(0x120)]){const _0xae3508=_0x25af20(_0x31ff5a[_0x359bf2(0x11a)]())||_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x195)][_0x359bf2(0x18c)](_0x31ff5a);_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x18f)](_0x1d70a8=>{const _0x3ce075=_0x359bf2;_0x1d70a8[_0x3ce075(0x11f)](_0xae3508,'in');});}_0x28435e[_0x359bf2(0x164)](),_0x27ceac[_0x359bf2(0x155)](_0x4e6908[_0x359bf2(0x118)],_0x29b4df,_0x359bf2(0x171)+_0x5067c6);}[_0x1c472f(0x1b4)](_0x3b00cd,_0x38514b,_0x1fa217,_0x449510){const _0x88681d=_0x1c472f,_0xc6ac7f=this[_0x88681d(0x123)],_0x5a28b6=_0xc6ac7f[_0x88681d(0x174)],_0x156729=new _0x23c4ed(_0x5a28b6),_0x4e844c=B(_0xc6ac7f,_0x1fa217)[_0x88681d(0x185)](_0x56af1b=>_0x56af1b[_0x88681d(0x18e)][_0x88681d(0x17c)]);0x1===_0x4e844c[_0x88681d(0x17c)]?this[_0x88681d(0x169)]({'command':_0x3b00cd,'commands':_0x4e844c[0x0][_0x88681d(0x18e)],'parentMenuView':_0x38514b,'onExecute':_0x449510})[_0x88681d(0x198)](_0x2d560c=>_0x156729[_0x88681d(0x11d)][_0x88681d(0x12b)](_0x2d560c)):_0x4e844c[_0x88681d(0x198)](({groupId:_0xe7b9bc,groupLabel:_0x53b948,commands:_0xca4b56})=>{const _0x54fbbb=_0x88681d,_0x1d6a9b=new _0x575215(_0x5a28b6,_0x38514b),_0xfdf65f=new _0x4907c9(_0x5a28b6),_0x199aaa=new _0x23c4ed(_0x5a28b6),_0x5964c8=this[_0x54fbbb(0x169)]({'command':_0x3b00cd,'commands':_0xca4b56,'parentMenuView':_0xfdf65f,'onExecute':_0x449510});_0xfdf65f[_0x54fbbb(0x175)][_0x54fbbb(0x15f)]({'label':_0x53b948||_0xe7b9bc}),_0xfdf65f[_0x54fbbb(0x1a3)](_0x54fbbb(0x155))['to'](_0x38514b),_0x199aaa[_0x54fbbb(0x11d)][_0x54fbbb(0x176)](_0x5964c8),_0xfdf65f[_0x54fbbb(0x124)][_0x54fbbb(0x158)][_0x54fbbb(0x12b)](_0x199aaa),_0x1d6a9b[_0x54fbbb(0x158)][_0x54fbbb(0x12b)](_0xfdf65f),_0x156729[_0x54fbbb(0x11d)][_0x54fbbb(0x12b)](_0x1d6a9b);}),_0x38514b[_0x88681d(0x124)][_0x88681d(0x158)][_0x88681d(0x12b)](_0x156729);}[_0x1c472f(0x169)]({command:_0xfe4e07,commands:_0x2dd7ba,parentMenuView:_0x57b198,onExecute:_0xb16478}){const _0x37760f=_0x1c472f,_0x35eb96=this[_0x37760f(0x123)],_0x3dfe6a=_0x35eb96[_0x37760f(0x174)];return B(_0x35eb96,_0x2dd7ba)[_0x37760f(0x163)](_0x3116fa=>{const _0x2ca8ff=_0x37760f,_0x57ece6=new _0x575215(_0x3dfe6a,_0x57b198),_0x50e2e4=new _0x51f8d0(_0x3dfe6a);return _0x50e2e4[_0x2ca8ff(0x15f)]({'label':_0x3116fa[_0x2ca8ff(0x130)]}),_0x50e2e4[_0x2ca8ff(0x1a3)](_0x2ca8ff(0x155))['to'](_0x57b198),_0x50e2e4['on'](_0x2ca8ff(0x155),()=>_0xb16478(_0x3116fa['id'])),_0x50e2e4[_0x2ca8ff(0x157)](_0x2ca8ff(0x1c2))['to'](_0xfe4e07,_0x2ca8ff(0x142),_0x3c09d6=>_0x3c09d6[_0x2ca8ff(0x180)](_0x3116fa['id'])),_0x57ece6[_0x2ca8ff(0x158)][_0x2ca8ff(0x12b)](_0x50e2e4),_0x57ece6;});}}function _(_0x19f4e9,_0x457e28){const _0x5791e5=_0x1c472f;return void 0x0!==_0x19f4e9[_0x5791e5(0x188)]&&void 0x0===_0x457e28[_0x5791e5(0x188)]?0x1:void 0x0===_0x19f4e9[_0x5791e5(0x188)]&&void 0x0!==_0x457e28[_0x5791e5(0x188)]?-0x1:void 0x0!==_0x19f4e9[_0x5791e5(0x188)]&&void 0x0!==_0x457e28[_0x5791e5(0x188)]?_0x19f4e9[_0x5791e5(0x188)]-_0x457e28[_0x5791e5(0x188)]:0x0;}function B(_0x8be3f3,_0x32d45a){const _0x59fd12=_0x1c472f;_0x32d45a[_0x59fd12(0x151)](_);const _0x259122={},_0x7b9625=[];for(const _0x1eb9fe of _0x32d45a)if(void 0x0!==_0x1eb9fe[_0x59fd12(0x188)]){if(_0x1eb9fe[_0x59fd12(0x188)]in _0x259122)throw new _0xf350aa(_0x59fd12(0x156),_0x8be3f3,{'conflictingDefinitions':[_0x1eb9fe,_0x259122[_0x1eb9fe[_0x59fd12(0x188)]]]});_0x259122[_0x1eb9fe[_0x59fd12(0x188)]]=_0x1eb9fe,_0x7b9625[_0x59fd12(0x14b)](_0x1eb9fe[_0x59fd12(0x188)],0x0,_0x1eb9fe);}else _0x7b9625[_0x59fd12(0x182)](_0x1eb9fe);return _0x7b9625;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2d2b(_0x1870b5,_0xeed7ca){var _0x6a5763=_0x6a57();return _0x2d2b=function(_0x2d2b9f,_0x2ec26b){_0x2d2b9f=_0x2d2b9f-0x123;var _0x364377=_0x6a5763[_0x2d2b9f];return _0x364377;},_0x2d2b(_0x1870b5,_0xeed7ca);}(function(_0x425590,_0x2d0698){var _0x599ef2=_0x2d2b,_0x693426=_0x425590();while(!![]){try{var _0xf6f7b4=parseInt(_0x599ef2(0x12a))/0x1*(-parseInt(_0x599ef2(0x12c))/0x2)+-parseInt(_0x599ef2(0x12b))/0x3*(parseInt(_0x599ef2(0x126))/0x4)+-parseInt(_0x599ef2(0x123))/0x5+parseInt(_0x599ef2(0x127))/0x6*(-parseInt(_0x599ef2(0x129))/0x7)+parseInt(_0x599ef2(0x124))/0x8+-parseInt(_0x599ef2(0x125))/0x9*(-parseInt(_0x599ef2(0x128))/0xa)+-parseInt(_0x599ef2(0x12d))/0xb*(-parseInt(_0x599ef2(0x12e))/0xc);if(_0xf6f7b4===_0x2d0698)break;else _0x693426['push'](_0x693426['shift']());}catch(_0x38a835){_0x693426['push'](_0x693426['shift']());}}}(_0x6a57,0x70af9));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x6a57(){var _0x1fddc3=['276sXwYzR','26675DKmkfN','655024kbRwnp','1650141wlHteQ','1366916hwCnRT','36006RvPWeh','50GtWjVP','371NsySPC','150935cznxmc','3YimqmZ','2jKDHgx','133430eCkoHI'];_0x6a57=function(){return _0x1fddc3;};return _0x6a57();}export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5abe(_0x481eb7,_0x209493){var _0x437f51=_0x437f();return _0x5abe=function(_0x5abe8f,_0x270410){_0x5abe8f=_0x5abe8f-0x1af;var _0x232dda=_0x437f51[_0x5abe8f];return _0x232dda;},_0x5abe(_0x481eb7,_0x209493);}(function(_0x21fa38,_0x39ab81){var _0x98376b=_0x5abe,_0x375bb7=_0x21fa38();while(!![]){try{var _0x49a30c=parseInt(_0x98376b(0x1b5))/0x1+parseInt(_0x98376b(0x1b3))/0x2+-parseInt(_0x98376b(0x1b6))/0x3*(parseInt(_0x98376b(0x1b7))/0x4)+-parseInt(_0x98376b(0x1af))/0x5*(-parseInt(_0x98376b(0x1b1))/0x6)+parseInt(_0x98376b(0x1b4))/0x7+-parseInt(_0x98376b(0x1b2))/0x8*(parseInt(_0x98376b(0x1b0))/0x9)+-parseInt(_0x98376b(0x1b8))/0xa;if(_0x49a30c===_0x39ab81)break;else _0x375bb7['push'](_0x375bb7['shift']());}catch(_0x2cc0e9){_0x375bb7['push'](_0x375bb7['shift']());}}}(_0x437f,0x79a3a));import{CKEditorError as _0x304b2d}from'ckeditor5/src/utils.js';function _0x437f(){var _0x2d85e0=['8097740hzfcIQ','200LExlVQ','1143JCrZxX','74808AOBBzr','30728fiyGea','1457012WUhpcd','4169585lSxMxf','626970HKcYFV','327018xtQcgE','24HxNEOL'];_0x437f=function(){return _0x2d85e0;};return _0x437f();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x5c82(){const _0x27f447=['finally','1433397OIaArg','toView','querySelector','abort','548mLzceL','60635MgJgzV','viewToDom','childNodes','isRendered','makeRequest','_handleQuery','render','reverse','message','custom','processor','domConverter','currentContext','previousContext','setContentOf','catch','data','19206rRlhur','finishProcessing','set:currentContext','editing','endsWith','mainAction','_normalizeResponseHeadings','name','div','stopListening','value','stopProcessing','toModel','exec','length','5240RzhBlK','editor','previousQuery','listenTo','push','_sanitizeHTML','_domParser','text/html','_parseAndNormalizeContent','_sanitizationContainer','innerHTML','view','textAdapter','nodeType','match','serializeToString','249KtPosZ','prompt','8533266hKJrJG','initialContext','_isH1TagSupportEnabled','ELEMENT_NODE','from','3568746CJtvvI','startsWith','startProcessing','```html','document','tryAgainEvent','reset','then','updateView','htmlProcessor','once','_xmlSerializer','parseFromString','submitPrompt','destroy','createElement','previousLabel','remove','handleError','rename','substring','element','currentResponse','stringify','3928832PvTWEY','<h1></h1>','set','_stripMarkdownSyntax','isProcessing','body','trim','previousActionId','30554myrsJq','```'];_0x5c82=function(){return _0x27f447;};return _0x5c82();}const _0xa2c666=_0x4b95;(function(_0x5ebf23,_0x13e7d1){const _0x2f66d1=_0x4b95,_0x406618=_0x5ebf23();while(!![]){try{const _0x57a27d=parseInt(_0x2f66d1(0x1b1))/0x1+parseInt(_0x2f66d1(0x1ae))/0x2*(parseInt(_0x2f66d1(0x187))/0x3)+-parseInt(_0x2f66d1(0x1b5))/0x4*(parseInt(_0x2f66d1(0x1b6))/0x5)+-parseInt(_0x2f66d1(0x18e))/0x6+-parseInt(_0x2f66d1(0x189))/0x7+parseInt(_0x2f66d1(0x1a6))/0x8+-parseInt(_0x2f66d1(0x1c7))/0x9*(-parseInt(_0x2f66d1(0x1d6))/0xa);if(_0x57a27d===_0x13e7d1)break;else _0x406618['push'](_0x406618['shift']());}catch(_0x2c4406){_0x406618['push'](_0x406618['shift']());}}}(_0x5c82,0xcbf98));import{ObservableMixin as _0x49cf25}from'ckeditor5/src/utils.js';function _0x4b95(_0x3c883a,_0x78ca56){const _0x5c82cc=_0x5c82();return _0x4b95=function(_0x4b950e,_0xd89115){_0x4b950e=_0x4b950e-0x180;let _0x3aaaa6=_0x5c82cc[_0x4b950e];return _0x3aaaa6;},_0x4b95(_0x3c883a,_0x78ca56);}import{AIRequestError as _0xe6d4f2}from'../adapters/aiadapter.js';import{Matcher as _0xf1ab03,UpcastWriter as _0x129ddf}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class C extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x49cf25(){constructor(_0x1920bb,_0x453c87,_0x32c5cb){const _0xf79368=_0x4b95;super(),this[_0xf79368(0x1d7)]=_0x1920bb,this[_0xf79368(0x183)]=_0x453c87,this[_0xf79368(0x180)]=document[_0xf79368(0x19d)](_0xf79368(0x1cf)),this[_0xf79368(0x1dc)]=new DOMParser(),this[_0xf79368(0x199)]=new XMLSerializer(),this[_0xf79368(0x182)]=_0x32c5cb,this[_0xf79368(0x1a8)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xf79368(0x1c9),(_0x201c88,_0x2d9baa,_0x470946)=>{const _0x4718df=_0xf79368;this[_0x4718df(0x182)][_0x4718df(0x1d1)]=this[_0x4718df(0x1db)](_0x470946);}),this[_0xf79368(0x1d9)](this[_0xf79368(0x182)],_0xf79368(0x19b),(_0x4ba5a4,_0x615a20)=>{const _0x431d7f=_0xf79368,_0xafd213=this[_0x431d7f(0x1c2)]||this[_0x431d7f(0x18a)];this[_0x431d7f(0x1bb)](_0x615a20,_0xafd213,_0x431d7f(0x1bf));}),this[_0xf79368(0x1d9)](this[_0xf79368(0x182)],_0xf79368(0x193),()=>{const _0xf732d4=_0xf79368;this[_0xf732d4(0x182)][_0xf732d4(0x188)]=this[_0xf732d4(0x19e)],this[_0xf732d4(0x1bb)](this[_0xf732d4(0x1d8)],this[_0xf732d4(0x1c3)],this[_0xf732d4(0x1ad)],this[_0xf732d4(0x19e)]);}),this[_0xf79368(0x1d9)](this[_0xf79368(0x182)],_0xf79368(0x1d2),()=>{const _0x1bfef0=_0xf79368;this[_0x1bfef0(0x1d2)]();});}[_0xa2c666(0x19c)](){const _0x5f3788=_0xa2c666;this[_0x5f3788(0x1d0)]();}async[_0xa2c666(0x196)]({actionId:_0x56f295,query:_0x207826,htmlContent:_0x4e6c99,label:_0x5a2517,mainActionLabel:_0x42b9a0}){const _0x520573=_0xa2c666;this[_0x520573(0x182)][_0x520573(0x188)]=_0x5a2517,this[_0x520573(0x182)][_0x520573(0x1cc)]=_0x42b9a0,this[_0x520573(0x18a)]=_0x4e6c99,_0x207826&&(this[_0x520573(0x182)][_0x520573(0x1b9)]?this[_0x520573(0x1bb)](_0x207826,_0x4e6c99,_0x56f295,_0x5a2517):this[_0x520573(0x182)][_0x520573(0x198)](_0x520573(0x1bc),()=>{const _0x1e2fbb=_0x520573;this[_0x1e2fbb(0x1bb)](_0x207826,_0x4e6c99,_0x56f295,_0x5a2517);}));}[_0xa2c666(0x1d2)](){const _0x5e285d=_0xa2c666;this[_0x5e285d(0x1aa)]&&(this[_0x5e285d(0x1aa)]=!0x1,this[_0x5e285d(0x182)][_0x5e285d(0x1c8)](),this[_0x5e285d(0x183)][_0x5e285d(0x1b4)]());}[_0xa2c666(0x194)](){const _0x45c10b=_0xa2c666;this[_0x45c10b(0x18a)]='',this[_0x45c10b(0x1c2)]='',this[_0x45c10b(0x1a4)]='',this[_0x45c10b(0x1c3)]='',this[_0x45c10b(0x1d8)]='',this[_0x45c10b(0x19e)]='',this[_0x45c10b(0x1ad)]=void 0x0,this[_0x45c10b(0x182)][_0x45c10b(0x194)](),this[_0x45c10b(0x1d2)]();}async[_0xa2c666(0x1bb)](_0x231536,_0x1e4937,_0x2a6e53,_0x48ecd1){const _0x168ba8=_0xa2c666;return this[_0x168ba8(0x1aa)]=!0x0,this[_0x168ba8(0x182)][_0x168ba8(0x190)](),this[_0x168ba8(0x1c3)]=_0x1e4937,this[_0x168ba8(0x1d8)]=_0x231536,this[_0x168ba8(0x19e)]=_0x48ecd1||_0x231536,this[_0x168ba8(0x1ad)]=_0x2a6e53,new Promise(_0x3ddf84=>{const _0x2fbcca=_0x168ba8;this[_0x2fbcca(0x183)][_0x2fbcca(0x1ba)]({'query':_0x231536,'context':_0x1e4937,'onData':_0x54a305=>{const _0x44eb62=_0x2fbcca;this[_0x44eb62(0x1a4)]=_0x54a305,this[_0x44eb62(0x1c2)]=this[_0x44eb62(0x1de)](this[_0x44eb62(0x1a4)]);},'actionId':_0x2a6e53})[_0x2fbcca(0x195)](()=>{const _0x3a4613=_0x2fbcca;!this[_0x3a4613(0x1c2)]&&this[_0x3a4613(0x1a4)]&&(this[_0x3a4613(0x1c2)]=this[_0x3a4613(0x1de)](this[_0x3a4613(0x1a4)],!0x0));})[_0x2fbcca(0x1c5)](_0x3a181f=>{const _0x23a3a6=_0x2fbcca;_0x3a181f instanceof _0xe6d4f2?this[_0x23a3a6(0x182)][_0x23a3a6(0x1a0)](_0x3a181f[_0x23a3a6(0x1be)]):this[_0x23a3a6(0x182)][_0x23a3a6(0x1a0)](),_0x3ddf84();})[_0x2fbcca(0x1b0)](()=>{const _0x2e0a8d=_0x2fbcca;this[_0x2e0a8d(0x1d2)](),_0x3ddf84();});});}[_0xa2c666(0x1de)](_0x4293f6,_0x2c4596=!0x1){const _0x4f0ad8=_0xa2c666,_0xaa08fc=Z[_0x4f0ad8(0x1d4)](_0x4293f6);_0x4293f6=_0xaa08fc?_0x4293f6[_0x4f0ad8(0x1a2)](_0xaa08fc[0x1][_0x4f0ad8(0x1d5)]):_0x4293f6[_0x4f0ad8(0x1d5)]<0x64&&!_0x2c4596?'':this[_0x4f0ad8(0x1a9)](_0x4293f6);const _0x44a177=this[_0x4f0ad8(0x1dc)][_0x4f0ad8(0x19a)](_0x4293f6,_0x4f0ad8(0x1dd));if(_0xaa08fc){const _0xd554be=Array[_0x4f0ad8(0x18d)](_0x44a177[_0x4f0ad8(0x1ab)][_0x4f0ad8(0x1b8)]);_0xd554be[_0x4f0ad8(0x1bd)]();for(const _0x5005a2 of _0xd554be){if(_0x5005a2[_0x4f0ad8(0x184)]==Node[_0x4f0ad8(0x18c)])break;_0x5005a2[_0x4f0ad8(0x19f)]();}}const _0x23248c=this[_0x4f0ad8(0x1d7)][_0x4f0ad8(0x1c6)][_0x4f0ad8(0x1c0)][_0x4f0ad8(0x1b2)](this[_0x4f0ad8(0x199)][_0x4f0ad8(0x186)](_0x44a177[_0x4f0ad8(0x1ab)]));return this[_0x4f0ad8(0x18b)]()||this[_0x4f0ad8(0x1cd)](_0x23248c),this[_0x4f0ad8(0x1d7)][_0x4f0ad8(0x1c6)][_0x4f0ad8(0x1a5)](this[_0x4f0ad8(0x1d7)][_0x4f0ad8(0x1c6)][_0x4f0ad8(0x1d3)](_0x23248c));}[_0xa2c666(0x1cd)](_0x48be59){const _0x4da7a0=_0xa2c666,_0x4bbb3f=new _0x129ddf(this[_0x4da7a0(0x1d7)][_0x4da7a0(0x1ca)][_0x4da7a0(0x182)][_0x4da7a0(0x192)]),_0x3db1e1=new _0xf1ab03({'name':/^h[1-5]$/}),_0x4a5b85=[];let _0x1831b9=!0x1;for(const _0x55f724 of _0x48be59)_0x55f724['is'](_0x4da7a0(0x1a3))&&_0x3db1e1[_0x4da7a0(0x185)](_0x55f724)&&(_0x4a5b85[_0x4da7a0(0x1da)](_0x55f724),'h1'==_0x55f724[_0x4da7a0(0x1ce)]&&(_0x1831b9=!0x0));if(_0x1831b9){for(const _0x202d0c of _0x4a5b85)_0x4bbb3f[_0x4da7a0(0x1a1)]('h'+(parseInt(_0x202d0c[_0x4da7a0(0x1ce)][0x1])+0x1),_0x202d0c);}}[_0xa2c666(0x18b)](){const _0x210f38=_0xa2c666,{data:_0x53f0ad,editing:_0x51d82e}=this[_0x210f38(0x1d7)],_0x538876=_0x53f0ad[_0x210f38(0x197)][_0x210f38(0x1b2)](_0x210f38(0x1a7)),_0x1a744a=_0x53f0ad[_0x210f38(0x1b2)](_0x53f0ad[_0x210f38(0x1d3)](_0x538876));return!!_0x51d82e[_0x210f38(0x182)][_0x210f38(0x1c1)][_0x210f38(0x1b7)](_0x1a744a)[_0x210f38(0x1b3)]('h1');}[_0xa2c666(0x1db)](_0x1108d5){const _0x11084b=_0xa2c666;return this[_0x11084b(0x1d7)][_0x11084b(0x1ca)][_0x11084b(0x182)][_0x11084b(0x1c1)][_0x11084b(0x1c4)](this[_0x11084b(0x180)],_0x1108d5),this[_0x11084b(0x180)][_0x11084b(0x181)];}[_0xa2c666(0x1a9)](_0x1b4214){const _0x5a0457=_0xa2c666,_0x4adda2=_0x1b4214[_0x5a0457(0x1ac)]();return _0x4adda2[_0x5a0457(0x18f)](_0x5a0457(0x191))?_0x4adda2[_0x5a0457(0x1cb)](_0x5a0457(0x1af))?_0x4adda2[_0x5a0457(0x1a2)](0x7,_0x4adda2[_0x5a0457(0x1d5)]-0x3):_0x4adda2[_0x5a0457(0x1a2)](0x7):_0x1b4214;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x474c7e=_0x45bf;(function(_0x4bdb1c,_0x5c2d67){const _0xb4566b=_0x45bf,_0x23d9c3=_0x4bdb1c();while(!![]){try{const _0x45ec5a=parseInt(_0xb4566b(0x113))/0x1+-parseInt(_0xb4566b(0xed))/0x2+-parseInt(_0xb4566b(0xe9))/0x3*(-parseInt(_0xb4566b(0x115))/0x4)+-parseInt(_0xb4566b(0x101))/0x5*(parseInt(_0xb4566b(0x116))/0x6)+parseInt(_0xb4566b(0xe6))/0x7*(-parseInt(_0xb4566b(0x119))/0x8)+-parseInt(_0xb4566b(0xdb))/0x9+parseInt(_0xb4566b(0xd4))/0xa;if(_0x45ec5a===_0x5c2d67)break;else _0x23d9c3['push'](_0x23d9c3['shift']());}catch(_0x31a170){_0x23d9c3['push'](_0x23d9c3['shift']());}}}(_0x53c6,0x3e2a1));import{global as _0x497d38}from'ckeditor5/src/utils.js';import{View as _0x283a83,ButtonView as _0x4620d0,SpinnerView as _0x1f6c42}from'ckeditor5/src/ui.js';import _0x2e1ca0 from'../../../theme/icons/copy.svg';import{getTranslation as _0xbe110e}from'../../utils/common-translations.js';import{icons as _0x5938c3}from'ckeditor5/src/core.js';function _0x45bf(_0x4e9e94,_0x131a74){const _0x53c6b8=_0x53c6();return _0x45bf=function(_0x45bf61,_0x5a7043){_0x45bf61=_0x45bf61-0xd2;let _0x13411b=_0x53c6b8[_0x45bf61];return _0x13411b;},_0x45bf(_0x4e9e94,_0x131a74);}export default class W extends _0x283a83{constructor(_0x5bd3c5,_0x314552=''){const _0x5561f3=_0x45bf;super(_0x5bd3c5),this[_0x5561f3(0x102)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x528da6=this[_0x5561f3(0xd2)];this[_0x5561f3(0x123)]=new ContentFieldView(_0x5bd3c5,_0x314552),this[_0x5561f3(0xd7)]=this[_0x5561f3(0x104)](),this[_0x5561f3(0x103)]({'tag':_0x5561f3(0x122),'attributes':{'class':['ck',_0x5561f3(0x114),_0x528da6['if'](_0x5561f3(0xe5),_0x5561f3(0x126),_0x36dd05=>!_0x36dd05)],'tabindex':'-1'},'children':[{'tag':_0x5561f3(0x122),'attributes':{'class':['ck',_0x5561f3(0xe3),_0x528da6['if'](_0x5561f3(0x10b),_0x5561f3(0xe7))]},'children':[this[_0x5561f3(0x123)],{'tag':_0x5561f3(0x122),'attributes':{'class':['ck',_0x5561f3(0xec)]},'children':[this[_0x5561f3(0xd7)]]}]}]});}[_0x474c7e(0xef)](){const _0x5d6a3d=_0x474c7e;super[_0x5d6a3d(0xef)](),this[_0x5d6a3d(0x109)]&&this[_0x5d6a3d(0x123)][_0x5d6a3d(0x118)](this[_0x5d6a3d(0x109)]);let _0x5c0783=!0x1;this['on'](_0x5d6a3d(0x125),(_0x3d132c,_0x2d3a8a,_0x3e7848)=>{const _0x1d3a0b=_0x5d6a3d,_0x31a843=!this[_0x1d3a0b(0x123)][_0x1d3a0b(0xdc)][_0x1d3a0b(0x106)](_0x1d3a0b(0xf3));this[_0x1d3a0b(0x123)][_0x1d3a0b(0x118)](_0x3e7848),this[_0x1d3a0b(0x10b)]&&_0x31a843&&!_0x5c0783&&this[_0x1d3a0b(0xdc)][_0x1d3a0b(0xd3)]({'top':this[_0x1d3a0b(0xdc)][_0x1d3a0b(0x10c)],'behavior':_0x1d3a0b(0x11f)});}),this['on'](_0x5d6a3d(0xdd),(_0x341d48,_0x2bbbb2,_0x4fada9)=>{const _0x328eb7=_0x5d6a3d;_0x5c0783=!0x1,_0x4fada9?(this[_0x328eb7(0x109)]=null,this[_0x328eb7(0x123)][_0x328eb7(0x105)]()):this[_0x328eb7(0x109)]||this[_0x328eb7(0x123)][_0x328eb7(0x118)]('');}),this[_0x5d6a3d(0xdf)](this[_0x5d6a3d(0xdc)],_0x5d6a3d(0xf0),()=>{_0x5c0783=!0x0;}),this[_0x5d6a3d(0xdf)](this[_0x5d6a3d(0xdc)],_0x5d6a3d(0x121),()=>{_0x5c0783=!0x0;});}[_0x474c7e(0x11b)](){const _0x471987=_0x474c7e;this[_0x471987(0xdc)][_0x471987(0x11b)]();}[_0x474c7e(0x104)](){const _0x46aeac=_0x474c7e,_0x2ddaad=this[_0x46aeac(0xfe)],_0x402e6a=new _0x4620d0(this[_0x46aeac(0xfe)]),_0x1bf560=_0x46aeac(0xfd);return _0x402e6a[_0x46aeac(0x102)]({'label':_0xbe110e(_0x2ddaad,_0x46aeac(0x120)),'icon':_0x2e1ca0,'class':_0x1bf560,'tooltip':!0x0}),_0x402e6a[_0x46aeac(0xf5)](_0x46aeac(0xe5))['to'](this,_0x46aeac(0x109),_0x3d0a0b=>!!_0x3d0a0b),_0x402e6a[_0x46aeac(0xf5)](_0x46aeac(0xf8))['to'](this,_0x46aeac(0x10b),_0x550615=>!_0x550615),_0x402e6a['on'](_0x46aeac(0xe4),()=>{const _0x8fb522=_0x46aeac;this[_0x8fb522(0x11a)](this[_0x8fb522(0x123)][_0x8fb522(0xdc)]),_0x402e6a[_0x8fb522(0xe0)]=_0x5938c3[_0x8fb522(0xde)],_0x402e6a[_0x8fb522(0x107)]=_0x1bf560+_0x8fb522(0xe2),this[_0x8fb522(0x11b)](),setTimeout(()=>{const _0xe7cdaa=_0x8fb522;_0x402e6a[_0xe7cdaa(0xe0)]=_0x2e1ca0,_0x402e6a[_0xe7cdaa(0x107)]=_0x1bf560;},0x3e8);}),_0x402e6a;}[_0x474c7e(0x11a)](_0x1ef7ee){const _0x48bf71=_0x474c7e,{window:_0x284ffc,document:_0x33cade}=_0x497d38;if(_0x284ffc[_0x48bf71(0xfc)]){const {Blob:_0x28a269,ClipboardItem:_0x3cd85f}=_0x284ffc,_0x1b07a4=[new _0x3cd85f({'text/html':new _0x28a269([_0x1ef7ee[_0x48bf71(0x110)]],{'type':_0x48bf71(0x11d)}),'text/plain':new _0x28a269([_0x1ef7ee[_0x48bf71(0x10e)]||''],{'type':_0x48bf71(0x100)})})];navigator[_0x48bf71(0x117)][_0x48bf71(0xee)](_0x1b07a4);}else{const _0x25ac47=_0x33cade[_0x48bf71(0x11c)](_0x48bf71(0x122));_0x25ac47[_0x48bf71(0xf4)][_0x48bf71(0xf2)]=_0x48bf71(0xeb),_0x25ac47[_0x48bf71(0xf4)][_0x48bf71(0x10f)]=_0x48bf71(0xf1),_0x25ac47[_0x48bf71(0x110)]=_0x48bf71(0xf9)+_0x1ef7ee[_0x48bf71(0x110)]+_0x48bf71(0x124),_0x33cade[_0x48bf71(0xda)][_0x48bf71(0xf6)](_0x25ac47);const _0x298fb0=_0x33cade[_0x48bf71(0x112)]();_0x298fb0[_0x48bf71(0x10d)](_0x25ac47[_0x48bf71(0xd6)]),_0x298fb0[_0x48bf71(0xf7)](_0x25ac47[_0x48bf71(0x108)]);const _0x5a2fa1=_0x284ffc[_0x48bf71(0xe1)]();_0x5a2fa1[_0x48bf71(0xff)](),_0x5a2fa1[_0x48bf71(0x10a)](_0x298fb0),_0x33cade[_0x48bf71(0x127)](_0x48bf71(0xea)),_0x25ac47[_0x48bf71(0xfa)]();}}}export class ContentFieldView extends _0x283a83{constructor(_0x25e4c2,_0x12fd7c=''){const _0x3e7e87=_0x474c7e;super(_0x25e4c2),this[_0x3e7e87(0x11e)]=this[_0x3e7e87(0xd9)](),this[_0x3e7e87(0x103)]({'tag':_0x3e7e87(0x122),'attributes':{'class':['ck',_0x3e7e87(0xfb),_0x12fd7c,_0x3e7e87(0xd5),_0x3e7e87(0xd8)]}});}[_0x474c7e(0x118)](_0x1e5eb5){const _0x48a7d2=_0x474c7e;this[_0x48a7d2(0xdc)][_0x48a7d2(0x110)]=_0x1e5eb5;}[_0x474c7e(0x105)](){const _0x234a0a=_0x474c7e;this[_0x234a0a(0xdc)][_0x234a0a(0xf6)](this[_0x234a0a(0x11e)][_0x234a0a(0xdc)]);}[_0x474c7e(0xd9)](){const _0xfe5343=_0x474c7e,_0x1b9abf=new _0x283a83(),_0x444824=this[_0xfe5343(0xfe)],_0x446615=new _0x1f6c42();return _0x446615[_0xfe5343(0xe5)]=!0x0,_0x1b9abf[_0xfe5343(0x103)]({'tag':_0xfe5343(0x122),'attributes':{'class':['ck',_0xfe5343(0x111)]},'children':[_0x446615,{'text':_0xbe110e(_0x444824,_0xfe5343(0xe8))}]}),_0x1b9abf[_0xfe5343(0xef)](),_0x1b9abf;}}function _0x53c6(){const _0x355a90=['.ck-ai-form__loader','style','bind','appendChild','setEndBefore','isEnabled','<span>[</span>','remove','ck-content','ClipboardItem','ck-ai-form__copy-button','locale','removeAllRanges','text/plain','175795oNKUas','set','setTemplate','_createCopyButton','appendLoader','querySelector','class','lastElementChild','value','addRange','isProcessing','scrollHeight','setStartAfter','textContent','left','innerHTML','ck-ai-form__loader','createRange','448457iqKucr','ck-ai-form__content-area-wrapper','4FhqlZT','78FzoVQP','clipboard','setContent','8XNPhpo','_copyHTMLToClipboard','focus','createElement','text/html','loaderView','smooth','Copy','mousedown','div','contentFieldView','<span>]</span>','change:value','ck-hidden','execCommand','bindTemplate','scrollTo','8727460zmnktZ','ck-reset_all-excluded','firstElementChild','copyButtonView','ck-ai-form__content-field','_createLoader','body','3766077FiFyLv','element','change:isProcessing','check','listenTo','icon','getSelection','\x20ck-ai-form__copy-button--copied','ck-ai-form__content-area','execute','isVisible','3299968YhNZCf','ck-ai-form__content-area--processing','AI\x20is\x20writing...','1273803RPppaJ','copy','absolute','ck-ai-form__copy-button-wrapper','288470cViqdW','write','render','wheel','-9999px','position'];_0x53c6=function(){return _0x355a90;};return _0x53c6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1921(){const _0x3d9244=['setTemplate','45tGgdgM','content','3fkTNyd','4LrXZea','bindTemplate','22nXLSQy','12850ZGUIfC','set','509090dvVObx','1947812ZBixXx','div','1329160lAwSMU','3748760xmovXX','ck-ai-form__error','509676fRiBKD','236519Sdgnsk','516gPjurV','text'];_0x1921=function(){return _0x3d9244;};return _0x1921();}function _0x4830(_0x52ddd7,_0x4052bf){const _0x192185=_0x1921();return _0x4830=function(_0x483080,_0x2258c8){_0x483080=_0x483080-0x1c6;let _0x35e416=_0x192185[_0x483080];return _0x35e416;},_0x4830(_0x52ddd7,_0x4052bf);}(function(_0x3a6cc8,_0x332af0){const _0x4d11a8=_0x4830,_0x401b3a=_0x3a6cc8();while(!![]){try{const _0x339827=-parseInt(_0x4d11a8(0x1cd))/0x1*(-parseInt(_0x4d11a8(0x1d4))/0x2)+-parseInt(_0x4d11a8(0x1d3))/0x3*(-parseInt(_0x4d11a8(0x1c7))/0x4)+-parseInt(_0x4d11a8(0x1d7))/0x5*(parseInt(_0x4d11a8(0x1ce))/0x6)+parseInt(_0x4d11a8(0x1c9))/0x7+-parseInt(_0x4d11a8(0x1ca))/0x8+-parseInt(_0x4d11a8(0x1d1))/0x9*(parseInt(_0x4d11a8(0x1c6))/0xa)+-parseInt(_0x4d11a8(0x1d6))/0xb*(-parseInt(_0x4d11a8(0x1cc))/0xc);if(_0x339827===_0x332af0)break;else _0x401b3a['push'](_0x401b3a['shift']());}catch(_0x14685d){_0x401b3a['push'](_0x401b3a['shift']());}}}(_0x1921,0x46f61));import{View as _0x5c85b6,IconView as _0x596fa7}from'ckeditor5/src/ui.js';import _0x2c84c2 from'../../../theme/icons/error.svg';export default class tt extends _0x5c85b6{constructor(_0x2355ea,_0x1697ae=''){const _0x4a9207=_0x4830;super(_0x2355ea);const _0x5e7e41=new _0x596fa7(),_0x2b0cd9=this[_0x4a9207(0x1d5)];this[_0x4a9207(0x1d8)](_0x4a9207(0x1cf),_0x1697ae),_0x5e7e41[_0x4a9207(0x1d2)]=_0x2c84c2,this[_0x4a9207(0x1d0)]({'tag':_0x4a9207(0x1c8),'attributes':{'class':['ck',_0x4a9207(0x1cb)]},'children':[_0x5e7e41,{'text':_0x2b0cd9['to'](_0x4a9207(0x1cf))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24016f=_0x5349;(function(_0x1c9056,_0x3cc60a){const _0x3a9e03=_0x5349,_0xa2c115=_0x1c9056();while(!![]){try{const _0x12ecfe=-parseInt(_0x3a9e03(0xb1))/0x1+-parseInt(_0x3a9e03(0x8c))/0x2*(-parseInt(_0x3a9e03(0x85))/0x3)+parseInt(_0x3a9e03(0x87))/0x4*(parseInt(_0x3a9e03(0x94))/0x5)+-parseInt(_0x3a9e03(0xaf))/0x6*(-parseInt(_0x3a9e03(0x7e))/0x7)+parseInt(_0x3a9e03(0x9d))/0x8+parseInt(_0x3a9e03(0x84))/0x9+-parseInt(_0x3a9e03(0x7d))/0xa;if(_0x12ecfe===_0x3cc60a)break;else _0xa2c115['push'](_0xa2c115['shift']());}catch(_0x2cf4b3){_0xa2c115['push'](_0xa2c115['shift']());}}}(_0x13ec,0xa56f6));function _0x5349(_0x1ee5c5,_0x3659dc){const _0x13ec53=_0x13ec();return _0x5349=function(_0x5349d4,_0x5f0d8a){_0x5349d4=_0x5349d4-0x7c;let _0x1d3980=_0x13ec53[_0x5349d4];return _0x1d3980;},_0x5349(_0x1ee5c5,_0x3659dc);}import{Rect as _0x27e7a4,global as _0x4133a3,isVisible as _0x12103e}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x2fc2f7,ButtonView as _0x28da77}from'ckeditor5/src/ui.js';function _0x13ec(){const _0x46c73a=['focusableChildren','render','90jgMiFM','value','1247155aIMZOQ','right','width','ck-ai-form__submit','window','filteredView','isEnabled','18998640gHkyaP','170366PTyJOE','fire','focus','fieldView','submitButtonView','Submit','11091735gXoOAn','23385HXgyRu','fieldWrapperChildren','28CCyiDO','focusCycler','isOn','add','element','302DbuRKa','target','maxRows','focusLast','minRows','submit','style','left','747855XBoxOv','set','_createShowHistoryButton','children','history','_createSubmitButton','isVisible','resultsView','rtl','24912ZEhqfY','focusFirst','queryView','History','excludeScrollbarsAndBorders','execute','requestAnimationFrame','update','enter','locale','bind','keystrokes','uiLanguageDirection','ck-ai-form__toggle-history','showHistoryButtonView','isEmpty'];_0x13ec=function(){return _0x46c73a;};return _0x13ec();}import{icons as _0x4781af}from'ckeditor5/src/core.js';import{getTranslation as _0x19ffec}from'../../utils/common-translations.js';import _0x1819c9 from'../../../theme/icons/submit.svg';export default class ht extends _0x2fc2f7{constructor(_0x42a216,_0xf91682){const _0x5b60b3=_0x5349;super(_0x42a216,_0xf91682),this[_0x5b60b3(0x9f)][_0x5b60b3(0x81)][_0x5b60b3(0x90)]=0x1,this[_0x5b60b3(0x9f)][_0x5b60b3(0x81)][_0x5b60b3(0x8e)]=0x3,this[_0x5b60b3(0x82)]=this[_0x5b60b3(0x99)](),this[_0x5b60b3(0xab)]=this[_0x5b60b3(0x96)](),this[_0x5b60b3(0xad)][_0x5b60b3(0x8a)](this[_0x5b60b3(0xab)],0x1),this[_0x5b60b3(0xad)][_0x5b60b3(0x8a)](this[_0x5b60b3(0x82)]);}[_0x24016f(0xae)](){const _0x160952=_0x24016f;super[_0x160952(0xae)](),this[_0x160952(0x9f)][_0x160952(0x86)][_0x160952(0x8a)](this[_0x160952(0xab)]),this[_0x160952(0x97)][_0x160952(0x8a)](this[_0x160952(0x82)]),this[_0x160952(0xa8)][_0x160952(0x95)](_0x160952(0xa5),(_0x361c9f,_0x559921)=>{const _0x4790d5=_0x160952;_0x361c9f[_0x4790d5(0x8d)]==this[_0x4790d5(0x9f)][_0x4790d5(0x81)][_0x4790d5(0x8b)]&&(this[_0x4790d5(0x91)](),_0x559921());});}[_0x24016f(0x99)](){const _0x56c656=_0x24016f,_0x897974=new _0x28da77(this[_0x56c656(0xa6)]),_0x5c86ec=this[_0x56c656(0xa6)];return _0x897974[_0x56c656(0x95)]({'icon':_0x1819c9,'label':_0x19ffec(_0x5c86ec,_0x56c656(0x83)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x56c656(0xb4)}),_0x897974['on'](_0x56c656(0xa2),()=>{const _0x558789=_0x56c656;this[_0x558789(0x91)]();}),_0x897974[_0x56c656(0xa7)](_0x56c656(0x7c))['to'](this[_0x56c656(0x9f)][_0x56c656(0x81)],_0x56c656(0xac),this,_0x56c656(0x7c),(_0x3a2155,_0x485617)=>!_0x3a2155&&_0x485617),_0x897974;}[_0x24016f(0x96)](){const _0x5eb2bb=_0x24016f,_0x5f25f3=new _0x28da77(this[_0x5eb2bb(0xa6)]),_0x5626ae=this[_0x5eb2bb(0x9b)],_0x293682=this[_0x5eb2bb(0xa6)];_0x5f25f3[_0x5eb2bb(0x95)]({'label':_0x19ffec(_0x293682,_0x5eb2bb(0xa0)),'withText':!0x1,'icon':_0x4781af[_0x5eb2bb(0x98)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5eb2bb(0xaa)}),_0x5f25f3[_0x5eb2bb(0xa7)](_0x5eb2bb(0x89))['to'](_0x5626ae,_0x5eb2bb(0x9a)),_0x5f25f3[_0x5eb2bb(0xa7)](_0x5eb2bb(0x7c))['to'](this,_0x5eb2bb(0x7c)),_0x5f25f3['on'](_0x5eb2bb(0xa2),()=>{const _0x21ea8f=_0x5eb2bb;_0x5626ae[_0x21ea8f(0x9a)]=!_0x5626ae[_0x21ea8f(0x9a)],_0x5626ae[_0x21ea8f(0x9a)]?this[_0x21ea8f(0xb6)][_0x21ea8f(0x80)]():this[_0x21ea8f(0x80)]();});const _0x44e442=()=>{const _0x570c05=_0x5eb2bb;_0x4133a3[_0x570c05(0xb5)][_0x570c05(0xa3)](()=>{const _0x2795fd=_0x570c05;if(_0x12103e(this[_0x2795fd(0x8b)])){const _0x32ead8=new _0x27e7a4(this[_0x2795fd(0x9f)][_0x2795fd(0x81)][_0x2795fd(0x8b)]),_0x1dca16=_0x32ead8[_0x2795fd(0xb3)],_0x518695=_0x2795fd(0x9c)===_0x293682[_0x2795fd(0xa9)]?_0x2795fd(0x93):_0x2795fd(0xb2);_0x32ead8[_0x2795fd(0xa1)](),_0x5f25f3[_0x2795fd(0x8b)][_0x2795fd(0x92)][_0x518695]=_0x1dca16-_0x32ead8[_0x2795fd(0xb3)]+0x1+'px';}});};return this[_0x5eb2bb(0x9f)][_0x5eb2bb(0x81)]['on'](_0x5eb2bb(0xa4),_0x44e442),this['on'](_0x5eb2bb(0xae),_0x44e442),_0x5f25f3;}[_0x24016f(0x91)](){const _0x457740=_0x24016f,_0x171ee5=this[_0x457740(0x9f)][_0x457740(0x81)][_0x457740(0x8b)][_0x457740(0xb0)];this[_0x457740(0x7f)](_0x457740(0x91),_0x171ee5);}[_0x24016f(0x80)](_0x4a354b){const _0x45d833=_0x24016f;-0x1===_0x4a354b?this[_0x45d833(0x88)][_0x45d833(0x8f)]():this[_0x45d833(0x88)][_0x45d833(0x9e)]();}}
|